index4single.js
11.5 KB
!function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("React"),require("mobxReact"),require("mobx"),require("ReactDOM"),require("ReactRouter"),require("History"),require("weaWorkflowForm")):"function"===typeof define&&define.amd?define(["React","mobxReact","mobx","ReactDOM","ReactRouter","History","weaWorkflowForm"],e):"object"===typeof exports?exports.weaWorkflowForm=e(require("React"),require("mobxReact"),require("mobx"),require("ReactDOM"),require("ReactRouter"),require("History"),require("weaWorkflowForm")):t.weaWorkflowForm=e(t.React,t.mobxReact,t.mobx,t.ReactDOM,t.ReactRouter,t.History,t.weaWorkflowForm)}(this,function(t,e,r,n,o,i,u){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/spa/workflow/static4form/",e(e.s=660)}({10:function(t,e,r){"use strict";e.__esModule=!0;var n=r(88),o=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}},100:function(t,e,r){var n=r(38),o=r(35),i=r(125)(!1),u=r(78)("IE_PROTO");t.exports=function(t,e){var r,c=o(t),a=0,f=[];for(r in c)r!=u&&n(c,r)&&f.push(r);for(;e.length>a;)n(c,r=e[a++])&&(~i(f,r)||f.push(r));return f}},12:function(t,e){var r=t.exports={version:"2.5.6"};"number"==typeof __e&&(__e=r)},125:function(t,e,r){var n=r(35),o=r(70),i=r(126);t.exports=function(t){return function(e,r,u){var c,a=n(e),f=o(a.length),s=i(u,f);if(t&&r!=r){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===r)return t||s||0;return!t&&-1}}},126:function(t,e,r){var n=r(68),o=Math.max,i=Math.min;t.exports=function(t,e){return t=n(t),t<0?o(t+e,0):i(t,e)}},138:function(t,e,r){r(139),t.exports=r(12).Object.assign},139:function(t,e,r){var n=r(20);n(n.S+n.F,"Object",{assign:r(140)})},140:function(t,e,r){"use strict";var n=r(47),o=r(86),i=r(55),u=r(46),c=r(69),a=Object.assign;t.exports=!a||r(34)(function(){var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach(function(t){e[t]=t}),7!=a({},t)[r]||Object.keys(a({},e)).join("")!=n})?function(t,e){for(var r=u(t),a=arguments.length,f=1,s=o.f,l=i.f;a>f;)for(var p,y=c(arguments[f++]),v=s?n(y).concat(s(y)):n(y),d=v.length,b=0;d>b;)l.call(y,p=v[b++])&&(r[p]=y[p]);return r}:a},171:function(t,e){t.exports=o},19:function(t,e){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},2:function(e,r){e.exports=t},20:function(t,e,r){var n=r(19),o=r(12),i=r(33),u=r(39),c=r(38),a=function(t,e,r){var f,s,l,p=t&a.F,y=t&a.G,v=t&a.S,d=t&a.P,b=t&a.B,h=t&a.W,x=y?o:o[e]||(o[e]={}),m=x.prototype,g=y?n:v?n[e]:(n[e]||{}).prototype;y&&(r=e);for(f in r)(s=!p&&g&&void 0!==g[f])&&c(x,f)||(l=s?g[f]:r[f],x[f]=y&&"function"!=typeof g[f]?r[f]:b&&s?i(l,n):h&&g[f]==l?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):d&&"function"==typeof l?i(Function.call,l):l,d&&((x.virtual||(x.virtual={}))[f]=l,t&a.R&&m&&!m[f]&&u(m,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},24:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},25:function(t,e,r){t.exports=!r(34)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},28:function(t,e,r){var n=r(29),o=r(98),i=r(81),u=Object.defineProperty;e.f=r(25)?Object.defineProperty:function(t,e,r){if(n(t),e=i(e,!0),n(r),o)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},29:function(t,e,r){var n=r(24);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},33:function(t,e,r){var n=r(51);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},34:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},35:function(t,e,r){var n=r(69),o=r(65);t.exports=function(t){return n(o(t))}},38:function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},39:function(t,e,r){var n=r(28),o=r(52);t.exports=r(25)?function(t,e,r){return n.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},46:function(t,e,r){var n=r(65);t.exports=function(t){return Object(n(t))}},47:function(t,e,r){var n=r(100),o=r(83);t.exports=Object.keys||function(t){return n(t,o)}},50:function(t,e){t.exports=!0},51:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},52:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},54:function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},55:function(t,e){e.f={}.propertyIsEnumerable},63:function(t,e){t.exports=n},65:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},66:function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+n).toString(36))}},660:function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}var o=r(10),i=n(o),u=r(2),c=n(u),a=r(63),f=n(a),s=r(661),l=r(171),p=r(662),y=r(7),v=r(663),d=n(v),b=new p.RouterStore,h=(0,i.default)({routing:b},d.default.store),x=(0,l.useRouterHistory)(s.createHashHistory)({queryKey:"_key",basename:"/"}),m=(0,p.syncHistoryWithStore)(x,h.routing);window.weaWfFormHistory=m;var g=function(t){return t.children},w=function(){return c.default.createElement(y.Provider,h,c.default.createElement(l.Router,{history:m},c.default.createElement(l.Route,{breadcrumbName:"单页入口",path:"/main",component:g},d.default.Route)))};f.default.render(c.default.createElement(w,null),document.getElementById("container"))},661:function(t,e){t.exports=i},662:function(t,e,r){!function(e,n){t.exports=n(r(8))}(0,function(t){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var r={};return e.m=t,e.c=r,e.i=function(t){return t},e.d=function(t,e,r){Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=4)}([function(e,r){e.exports=t},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(2);Object.keys(n).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})});var o=r(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,r){"use strict";function n(t,e,r,n){r&&Object.defineProperty(t,e,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void 0})}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e,r,n,o){var i={};return Object.keys(n).forEach(function(t){i[t]=n[t]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce(function(r,n){return n(t,e,r)||r},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 r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),f=r(0);e.RouterStore=(u=function(){function t(){o(this,t),n(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,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.syncHistoryWithStore=void 0;var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},o=r(0);e.syncHistoryWithStore=function(t,e){e.history=t;var r=function(t){e._updateLocation(t)},i=t.listen(r);return r(t.getCurrentLocation()),n({},t,{listen:function(t){var r=function(r){t(e.location)},n=(0,o.observe)(e,"location",r);return t(e.location),function(){n()}},unsubscribe:function(){i()}})}},function(t,e,r){t.exports=r(1)}])})},663:function(t,e){t.exports=u},68:function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},69:function(t,e,r){var n=r(54);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},7:function(t,r){t.exports=e},70:function(t,e,r){var n=r(68),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},78:function(t,e,r){var n=r(79)("keys"),o=r(66);t.exports=function(t){return n[t]||(n[t]=o(t))}},79:function(t,e,r){var n=r(12),o=r(19),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:n.version,mode:r(50)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},8:function(t,e){t.exports=r},80:function(t,e,r){var n=r(24),o=r(19).document,i=n(o)&&n(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},81:function(t,e,r){var n=r(24);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},83:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},86:function(t,e){e.f=Object.getOwnPropertySymbols},88:function(t,e,r){t.exports={default:r(138),__esModule:!0}},98:function(t,e,r){t.exports=!r(25)&&!r(34)(function(){return 7!=Object.defineProperty(r(80)("div"),"a",{get:function(){return 7}}).a})}})});
//# sourceMappingURL=index4single.js.map?v=2a9fe39e