engine4single.js 11.5 KB
!function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("mobxReact"),require("React"),require("mobx"),require("ReactDOM"),require("ReactRouter"),require("History"),require("weaHrmAttendanceEngine")):"function"===typeof define&&define.amd?define(["mobxReact","React","mobx","ReactDOM","ReactRouter","History","weaHrmAttendanceEngine"],e):"object"===typeof exports?exports.weaHrmAttendanceEngine=e(require("mobxReact"),require("React"),require("mobx"),require("ReactDOM"),require("ReactRouter"),require("History"),require("weaHrmAttendanceEngine")):t.weaHrmAttendanceEngine=e(t.mobxReact,t.React,t.mobx,t.ReactDOM,t.ReactRouter,t.History,t.weaHrmAttendanceEngine)}(this,function(t,e,n,r,o,i,u){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/spa/hrm/staticAttendance4engine/",e(e.s=600)}({100:function(t,e,n){var r=n(54),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},106:function(t,e,n){n(107),t.exports=n(16).Object.assign},107:function(t,e,n){var r=n(24);r(r.S+r.F,"Object",{assign:n(108)})},108:function(t,e,n){"use strict";var r=n(42),o=n(71),i=n(48),u=n(43),c=n(56),a=Object.assign;t.exports=!a||n(34)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=a({},t)[n]||Object.keys(a({},e)).join("")!=r})?function(t,e){for(var n=u(t),a=arguments.length,f=1,s=o.f,l=i.f;a>f;)for(var p,d=c(arguments[f++]),y=s?r(d).concat(s(d)):r(d),v=y.length,b=0;v>b;)l.call(d,p=y[b++])&&(n[p]=d[p]);return n}:a},11:function(t,e){t.exports=n},12:function(t,e,n){t.exports={default:n(106),__esModule:!0}},16:function(t,e){var n=t.exports={version:"2.5.6"};"number"==typeof __e&&(__e=n)},20:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},24:function(t,e,n){var r=n(20),o=n(16),i=n(32),u=n(38),c=n(39),a=function(t,e,n){var f,s,l,p=t&a.F,d=t&a.G,y=t&a.S,v=t&a.P,b=t&a.B,h=t&a.W,x=d?o:o[e]||(o[e]={}),g=x.prototype,m=d?r:y?r[e]:(r[e]||{}).prototype;d&&(n=e);for(f in n)(s=!p&&m&&void 0!==m[f])&&c(x,f)||(l=s?m[f]:n[f],x[f]=d&&"function"!=typeof m[f]?n[f]:b&&s?i(l,r):h&&m[f]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):v&&"function"==typeof l?i(Function.call,l):l,v&&((x.virtual||(x.virtual={}))[f]=l,t&a.R&&g&&!g[f]&&u(g,f,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},27:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},28:function(t,e,n){t.exports=!n(34)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e,n){var r=n(33),o=n(81),i=n(64),u=Object.defineProperty;e.f=n(28)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},32:function(t,e,n){var r=n(45);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},33:function(t,e,n){var r=n(27);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},34:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},35:function(t,e,n){var r=n(56),o=n(55);t.exports=function(t){return r(o(t))}},38:function(t,e,n){var r=n(30),o=n(46);t.exports=n(28)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},39:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},42:function(t,e,n){var r=n(83),o=n(68);t.exports=Object.keys||function(t){return r(t,o)}},43:function(t,e,n){var r=n(55);t.exports=function(t){return Object(r(t))}},44:function(t,e){t.exports=!0},45:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},46:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},47:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},48:function(t,e){e.f={}.propertyIsEnumerable},54:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},55:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},56:function(t,e,n){var r=n(47);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},57:function(t,e,n){var r=n(54),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},58:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},6:function(e,n){e.exports=t},600:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var o=n(7),i=r(o),u=n(9),c=r(u),a=n(78),f=r(a),s=n(601),l=n(95),p=n(602),d=n(6),y=n(603),v=r(y),b=new p.RouterStore,h=(0,i.default)({routing:b},v.default.store),x=v.default.Route,g=(0,l.useRouterHistory)(s.createHashHistory)({queryKey:"_key",basename:"/"}),m=(0,p.syncHistoryWithStore)(g,h.routing),O=function(t){return t.children},_=function(){return c.default.createElement(d.Provider,h,c.default.createElement(l.Router,{history:m},c.default.createElement(l.Route,{name:"main",breadcrumbName:"入口",path:"",component:O},x)))};f.default.render(c.default.createElement(_,null),document.getElementById("container"))},601:function(t,e){t.exports=i},602:function(t,e,n){!function(e,r){t.exports=r(n(11))}(0,function(t){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,e,n){Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=4)}([function(e,n){e.exports=t},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(2);Object.keys(r).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return r[t]}})});var o=n(3);Object.keys(o).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}})})},function(t,e,n){"use strict";function r(t,e,n,r){n&&Object.defineProperty(t,e,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e,n,r,o){var i={};return Object.keys(r).forEach(function(t){i[t]=r[t]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(n,r){return r(t,e,n)||n},i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(t,e,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.RouterStore=void 0;var u,c,a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),f=n(0);e.RouterStore=(u=function(){function t(){o(this,t),r(this,"location",c,this),this.history=null,this.push=this.push.bind(this),this.replace=this.replace.bind(this),this.go=this.go.bind(this),this.goBack=this.goBack.bind(this),this.goForward=this.goForward.bind(this)}return a(t,[{key:"_updateLocation",value:function(t){this.location=t}},{key:"push",value:function(t){this.history.push(t)}},{key:"replace",value:function(t){this.history.replace(t)}},{key:"go",value:function(t){this.history.go(t)}},{key:"goBack",value:function(){this.history.goBack()}},{key:"goForward",value:function(){this.history.goForward()}}]),t}(),c=i(u.prototype,"location",[f.observable],{enumerable:!0,initializer:function(){return null}}),i(u.prototype,"_updateLocation",[f.action],Object.getOwnPropertyDescriptor(u.prototype,"_updateLocation"),u.prototype),u)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.syncHistoryWithStore=void 0;var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=n(0);e.syncHistoryWithStore=function(t,e){e.history=t;var n=function(t){e._updateLocation(t)},i=t.listen(n);return n(t.getCurrentLocation()),r({},t,{listen:function(t){var n=function(n){t(e.location)},r=(0,o.observe)(e,"location",n);return t(e.location),function(){r()}},unsubscribe:function(){i()}})}},function(t,e,n){t.exports=n(1)}])})},603:function(t,e){t.exports=u},63:function(t,e,n){var r=n(27),o=n(20).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},64:function(t,e,n){var r=n(27);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},66:function(t,e,n){var r=n(67)("keys"),o=n(58);t.exports=function(t){return r[t]||(r[t]=o(t))}},67:function(t,e,n){var r=n(16),o=n(20),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(44)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},68:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},7:function(t,e,n){"use strict";e.__esModule=!0;var r=n(12),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},71:function(t,e){e.f=Object.getOwnPropertySymbols},78:function(t,e){t.exports=r},81:function(t,e,n){t.exports=!n(28)&&!n(34)(function(){return 7!=Object.defineProperty(n(63)("div"),"a",{get:function(){return 7}}).a})},83:function(t,e,n){var r=n(39),o=n(35),i=n(99)(!1),u=n(66)("IE_PROTO");t.exports=function(t,e){var n,c=o(t),a=0,f=[];for(n in c)n!=u&&r(c,n)&&f.push(n);for(;e.length>a;)r(c,n=e[a++])&&(~i(f,n)||f.push(n));return f}},9:function(t,n){t.exports=e},95:function(t,e){t.exports=o},99:function(t,e,n){var r=n(35),o=n(57),i=n(100);t.exports=function(t){return function(e,n,u){var c,a=r(e),f=o(a.length),s=i(u,f);if(t&&n!=n){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===n)return t||s||0;return!t&&-1}}}})});
//# sourceMappingURL=engine4single.js.map?v=2261bfc1