iv-npm 1.1.0 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/packages/shared/dist/utils/index.d.ts +6 -2
- package/packages/shared/dist/utils/index.mjs +2 -0
- package/packages/ui/dist/api/api.config.d.ts +14 -0
- package/packages/ui/dist/business-ui/index.d.ts +3 -0
- package/packages/ui/dist/business-ui/type.d.ts +10 -0
- package/packages/ui/dist/function-ui/index.d.ts +2 -0
- package/packages/ui/dist/index.cjs.js +2 -3
- package/packages/ui/dist/index.d.ts +8 -0
- package/packages/ui/dist/index.esm.js +1 -3
- package/packages/ui/dist/index.umd.js +8 -3
- package/packages/ui/dist/index.umd.js.map +1 -1
- package/packages/ui/package.json +1 -0
package/package.json
CHANGED
|
@@ -21,7 +21,11 @@ declare function findTree<T extends {
|
|
|
21
21
|
/**
|
|
22
22
|
* 检查对象是否为普通对象(使用“{}”或“new Object”创建)
|
|
23
23
|
* */
|
|
24
|
-
declare function isPlainObject(obj: object): boolean;
|
|
24
|
+
declare function isPlainObject(obj: object): boolean;
|
|
25
|
+
/**
|
|
26
|
+
* 是否是一个对象
|
|
27
|
+
* */
|
|
28
|
+
declare const isObject: (val: unknown) => val is Record<any, any>;
|
|
25
29
|
|
|
26
30
|
declare const assign: {
|
|
27
31
|
<T extends {}, U>(target: T, source: U): T & U;
|
|
@@ -30,4 +34,4 @@ declare const assign: {
|
|
|
30
34
|
(target: object, ...sources: any[]): any;
|
|
31
35
|
};
|
|
32
36
|
|
|
33
|
-
export { arrToTree, assign, findTree, isPlainObject, tranListToTreeData };
|
|
37
|
+
export { arrToTree, assign, findTree, isObject, isPlainObject, tranListToTreeData };
|
|
@@ -58,6 +58,7 @@ function isPlainObject(obj) {
|
|
|
58
58
|
Ctor = {}.hasOwnProperty.call(proto, "constructor") && proto.constructor;
|
|
59
59
|
return typeof Ctor === "function" && {}.hasOwnProperty.toString.call(Ctor) === {}.hasOwnProperty.toString.call(Object);
|
|
60
60
|
}
|
|
61
|
+
var isObject = (val) => val !== null && typeof val === "object";
|
|
61
62
|
|
|
62
63
|
// utils/obj/cache.ts
|
|
63
64
|
var assign = Object.assign;
|
|
@@ -65,6 +66,7 @@ export {
|
|
|
65
66
|
arrToTree,
|
|
66
67
|
assign,
|
|
67
68
|
findTree,
|
|
69
|
+
isObject,
|
|
68
70
|
isPlainObject,
|
|
69
71
|
tranListToTreeData
|
|
70
72
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const BASE_URL = "https://basis.nacho.cn";
|
|
2
|
+
declare const API_OPTION: {
|
|
3
|
+
getIVMrpOrgDropdown: {
|
|
4
|
+
url: string;
|
|
5
|
+
option: any;
|
|
6
|
+
};
|
|
7
|
+
getIVMrpProdBaseDropdown: {
|
|
8
|
+
url: string;
|
|
9
|
+
option: any;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export declare const formatHTTP: (fetch: any) => Promise<any>;
|
|
13
|
+
export declare const formatUrl: (base: string, api: string, params: object) => string;
|
|
14
|
+
export { BASE_URL, API_OPTION };
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
a=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",u=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof f?t:f,a=Object.create(o.prototype),i=new E(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return _()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var u=x(i,r);if(u){if(u===p)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===p)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var p={};function f(){}function d(){}function h(){}var v={};c(v,o,(function(){return this}));var m=Object.getPrototypeOf,y=m&&m(m(P([])));y&&y!==t&&r.call(y,o)&&(v=y);var g=h.prototype=f.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,a,i,u){var c=s(e[o],e,a);if("throw"!==c.type){var l=c.arg,p=l.value;return p&&"object"==typeof p&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){n("next",e,i,u)}),(function(e){n("throw",e,i,u)})):t.resolve(p).then((function(e){l.value=e,i(l)}),(function(e){return n("throw",e,i,u)}))}u(c.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function x(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method))return p;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,p;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function P(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:_}}function _(){return{value:void 0,done:!0}}return d.prototype=h,c(g,"constructor",h),c(h,"constructor",d),d.displayName=c(h,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,c(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(b.prototype),c(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new b(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},w(g),c(g,u,"Generator"),c(g,o,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=P,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(j),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,p):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),j(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},e}function i(e,t,r,n,o,a,i){try{var u=e[a](i),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function u(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function u(e){i(a,n,o,u,c,"next",e)}function c(e){i(a,n,o,u,c,"throw",e)}u(void 0)}))}}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.__file="src/function-ui/component/IVMrpModal.vue";var l="https://basis.nacho.cn",s={headers:{"Content-Type":"application/json;charset=UTF-8","Accept-Language":"zh-Hans",authorization:localStorage.getItem("token")?"Bearer "+localStorage.getItem("token"):null},cache:"no-cache",credentials:"include",responseType:"JSON",mode:"cors"},p={getIVMrpOrgDropdown:{url:"/api/identity/users/allOrganizationByUser",option:o({method:"GET"},s)},getIVMrpProdBaseDropdown:{url:"/api/basis-management/production-base/all",option:o({method:"GET"},s)}},f=function(e){return new Promise((function(t,r){e.then((function(e){e.json().then((function(e){return t(e)})).catch((function(e){return r(e)}))})).catch((function(e){return r(e)}))}))},d=function(e,t,r){if(0===Object.keys(r).length)return e+t;var n=[];for(var o in r)n.push("".concat(o,"=").concat(r[o]));return e+t+"?"+n.join("&")};function h(e,t){var r=t.filter((function(t){return t.parentId==e.id}));if(r.length)return e.children=r,e.children.forEach((function(e){h(e,t)})),e}function v(e){var t=e.filter((function(e){return null==e.parentId}));return t.forEach((function(t){return h(t,e)})),t}var m=Object.assign,y=e.createElementVNode("div",{class:"text-[#0000006D] text-[14px]"},"所属组织",-1),g=e.defineComponent({__name:"IVMrpOrgDropdown",props:{value:{type:null,required:!0},params:{type:Object,required:!1},data:{type:Object,required:!1},replaceFields:{type:Object,required:!1}},emits:["update:value"],setup:function(t,r){var n,o=r.emit,i=t,c=e.ref(),s=function(){var e=u(a().mark((function e(){var t,r,n,o,i=arguments;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:{},e.next=3,f(fetch(d(l,p.getIVMrpOrgDropdown.url,t.params),m({data:null!==(r=t.data)&&void 0!==r?r:null},p.getIVMrpOrgDropdown.option)));case 3:n=e.sent,o=n.items,c.value=v(o);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),h=e.ref(null!==(n=i.replaceFields)&&void 0!==n?n:{children:"children",label:"displayName",key:"id",value:"id"}),g=e.computed({get:function(){return i.value},set:function(e){o("update:value",e)}});return e.watchEffect(u(a().mark((function e(){var t,r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:s({params:m(null!==(t=i.params)&&void 0!==t?t:{},{type:1}),data:null!==(r=i.data)&&void 0!==r?r:null});case 1:case"end":return e.stop()}}),e)})))),function(t,r){var n=e.resolveComponent("a-tree-select"),o=e.resolveComponent("a-form-item");return e.openBlock(),e.createBlock(o,{name:"organizationId",rules:[{required:!0,message:"请选择所属组织"}]},{label:e.withCtx((function(){return[y]})),default:e.withCtx((function(){return[e.createVNode(n,e.mergeProps(t.$attrs,{value:e.unref(g),"onUpdate:value":r[0]||(r[0]=function(t){return e.isRef(g)?g.value=t:null}),"tree-data":c.value,getPopupContainer:function(e){return e.parentNode},placeholder:"请选择",showArrow:"",treeDefaultExpandAll:"",style:{width:"300px"},replaceFields:h.value}),null,16,["value","tree-data","getPopupContainer","replaceFields"])]})),_:1})}}});g.__file="src/business-ui/component/IVMrpOrgDropdown.vue";var w=e.createElementVNode("div",{class:"text-[#0000006D] text-[14px]"},"所属基地",-1),b=e.defineComponent({__name:"IVMrpProdBaseDropdown",props:{value:{type:null,required:!0},params:{type:Object,required:!1},data:{type:Object,required:!1},fieldNames:{type:Object,required:!1}},emits:["update:value"],setup:function(t,r){var n,o=r.emit,i=t,c=e.ref(),s=function(){var e=u(a().mark((function e(){var t,r,n=arguments;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,f(fetch(d(l,p.getIVMrpProdBaseDropdown.url,t.params),m({data:null!==(r=t.data)&&void 0!==r?r:null},p.getIVMrpProdBaseDropdown.option)));case 3:c.value=e.sent;case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),h=e.ref(null!==(n=i.fieldNames)&&void 0!==n?n:{label:"name",value:"id"}),v=e.computed({get:function(){return i.value},set:function(e){o("update:value",e)}});return e.watchEffect(u(a().mark((function e(){var t,r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:s({params:null!==(t=i.params)&&void 0!==t?t:null,data:null!==(r=i.data)&&void 0!==r?r:null});case 1:case"end":return e.stop()}}),e)})))),function(t,r){var n=e.resolveComponent("a-select"),o=e.resolveComponent("a-form-item");return e.openBlock(),e.createBlock(o,{name:"organizationIds","wrapper-col":{span:8},rules:[{required:!0,message:"请选择所属基地"}]},{label:e.withCtx((function(){return[w]})),default:e.withCtx((function(){return[e.createVNode(n,e.mergeProps(t.$attrs,{getPopupContainer:function(e){return e.parentNode},value:e.unref(v),"onUpdate:value":r[0]||(r[0]=function(t){return e.isRef(v)?v.value=t:null}),mode:"multiple",style:{width:"100%"},placeholder:"请选择",options:c.value,fieldNames:h.value}),null,16,["getPopupContainer","value","options","fieldNames"])]})),_:1})}}});b.__file="src/business-ui/component/IVMrpProdBaseDropdown.vue";var x=[r,g,b];x.forEach((function(e){e.install=function(t){t.component(e.name,e)}}));var O={install:function(e){x.forEach((function(t){e.component(t.name,t)}))}};exports.IVMrpModal=r,exports.IVMrpOrgDropdown=g,exports.IVMrpProdBaseDropdown=b,exports.default=O;
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IVMrpModal } from "./function-ui/index";
|
|
2
|
+
import { IVMrpOrgDropdown, IVMrpProdBaseDropdown } from "./business-ui/index";
|
|
3
|
+
import "./index.css";
|
|
4
|
+
declare const cAll: {
|
|
5
|
+
install: (app: any) => void;
|
|
6
|
+
};
|
|
7
|
+
export { IVMrpModal, IVMrpOrgDropdown, IVMrpProdBaseDropdown };
|
|
8
|
+
export default cAll;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
|
|
2
|
-
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
3
|
-
w=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var o=e&&e.prototype instanceof p?e:p,a=Object.create(o.prototype),i=new E(n||[]);return a._invoke=function(t,e,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return _()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var u=O(i,r);if(u){if(u===s)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=l(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===s)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(t,r,i),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var s={};function p(){}function f(){}function d(){}var h={};u(h,o,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,o)&&(h=m);var y=d.prototype=p.prototype=Object.create(h);function g(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function n(o,a,i,u){var c=l(t[o],t,a);if("throw"!==c.type){var s=c.arg,p=s.value;return p&&"object"==typeof p&&r.call(p,"__await")?e.resolve(p.__await).then((function(t){n("next",t,i,u)}),(function(t){n("throw",t,i,u)})):e.resolve(p).then((function(t){s.value=t,i(s)}),(function(t){return n("throw",t,i,u)}))}u(c.arg)}var o;this._invoke=function(t,r){function a(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(a,a):a()}}function O(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,O(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=l(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,s;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function P(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return a.next=a}}return{next:_}}function _(){return{value:void 0,done:!0}}return f.prototype=d,u(y,"constructor",d),u(d,"constructor",f),f.displayName=u(d,i,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,u(t,i,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},g(b.prototype),u(b.prototype,a,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new b(c(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},g(y),u(y,i,"Generator"),u(y,o,(function(){return this})),u(y,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=P,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(j),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,s):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}function b(t,e,r,n,o,a,i){try{var u=t[a](i),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function O(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){b(a,n,o,i,u,"next",t)}function u(t){b(a,n,o,i,u,"throw",t)}i(void 0)}))}}function x(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}m.__file="src/function-ui/component/IVMrpModal.vue";var j="https://basis.nacho.cn",E={headers:{"Content-Type":"application/json;charset=UTF-8","Accept-Language":"zh-Hans",authorization:localStorage.getItem("token")?"Bearer "+localStorage.getItem("token"):null},cache:"no-cache",credentials:"include",responseType:"JSON",mode:"cors"},P={getIVMrpOrgDropdown:{url:"/api/identity/users/allOrganizationByUser",option:g({method:"GET"},E)},getIVMrpProdBaseDropdown:{url:"/api/basis-management/production-base/all",option:g({method:"GET"},E)}},_=function(t){return new Promise((function(e,r){t.then((function(t){t.json().then((function(t){return e(t)})).catch((function(t){return r(t)}))})).catch((function(t){return r(t)}))}))},L=function(t,e,r){if(0===Object.keys(r).length)return t+e;var n=[];for(var o in r)n.push("".concat(o,"=").concat(r[o]));return t+e+"?"+n.join("&")};function I(t,e){var r=e.filter((function(e){return e.parentId==t.id}));if(r.length)return t.children=r,t.children.forEach((function(t){I(t,e)})),t}function D(t){var e=t.filter((function(t){return null==t.parentId}));return e.forEach((function(e){return I(e,t)})),e}var M=Object.assign,N=h("div",{class:"text-[#0000006D] text-[14px]"},"所属组织",-1),k=t({__name:"IVMrpOrgDropdown",props:{value:{type:null,required:!0},params:{type:Object,required:!1},data:{type:Object,required:!1},replaceFields:{type:Object,required:!1}},emits:["update:value"],setup:function(t,i){var c,h=i.emit,v=t,m=e(),y=function(){var t=O(w().mark((function t(){var e,r,n,o,a=arguments;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:{},t.next=3,_(fetch(L(j,P.getIVMrpOrgDropdown.url,e.params),M({data:null!==(r=e.data)&&void 0!==r?r:null},P.getIVMrpOrgDropdown.option)));case 3:n=t.sent,o=n.items,m.value=D(o);case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),g=e(null!==(c=v.replaceFields)&&void 0!==c?c:{children:"children",label:"displayName",key:"id",value:"id"}),b=l({get:function(){return v.value},set:function(t){h("update:value",t)}});return s(O(w().mark((function t(){var e,r;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:y({params:M(null!==(e=v.params)&&void 0!==e?e:{},{type:1}),data:null!==(r=v.data)&&void 0!==r?r:null});case 1:case"end":return t.stop()}}),t)})))),function(t,e){var i=r("a-tree-select"),c=r("a-form-item");return n(),o(c,{name:"organizationId",rules:[{required:!0,message:"请选择所属组织"}]},{label:a((function(){return[N]})),default:a((function(){return[u(i,p(t.$attrs,{value:f(b),"onUpdate:value":e[0]||(e[0]=function(t){return d(b)?b.value=t:null}),"tree-data":m.value,getPopupContainer:function(t){return t.parentNode},placeholder:"请选择",showArrow:"",treeDefaultExpandAll:"",style:{width:"300px"},replaceFields:g.value}),null,16,["value","tree-data","getPopupContainer","replaceFields"])]})),_:1})}}});k.__file="src/business-ui/component/IVMrpOrgDropdown.vue";var V=h("div",{class:"text-[#0000006D] text-[14px]"},"所属基地",-1),S=t({__name:"IVMrpProdBaseDropdown",props:{value:{type:null,required:!0},params:{type:Object,required:!1},data:{type:Object,required:!1},fieldNames:{type:Object,required:!1}},emits:["update:value"],setup:function(t,i){var c,h=i.emit,v=t,m=e(),y=function(){var t=O(w().mark((function t(){var e,r,n=arguments;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:{},t.next=3,_(fetch(L(j,P.getIVMrpProdBaseDropdown.url,e.params),M({data:null!==(r=e.data)&&void 0!==r?r:null},P.getIVMrpProdBaseDropdown.option)));case 3:m.value=t.sent;case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),g=e(null!==(c=v.fieldNames)&&void 0!==c?c:{label:"name",value:"id"}),b=l({get:function(){return v.value},set:function(t){h("update:value",t)}});return s(O(w().mark((function t(){var e,r;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:y({params:null!==(e=v.params)&&void 0!==e?e:null,data:null!==(r=v.data)&&void 0!==r?r:null});case 1:case"end":return t.stop()}}),t)})))),function(t,e){var i=r("a-select"),c=r("a-form-item");return n(),o(c,{name:"organizationIds","wrapper-col":{span:8},rules:[{required:!0,message:"请选择所属基地"}]},{label:a((function(){return[V]})),default:a((function(){return[u(i,p(t.$attrs,{getPopupContainer:function(t){return t.parentNode},value:f(b),"onUpdate:value":e[0]||(e[0]=function(t){return d(b)?b.value=t:null}),mode:"multiple",style:{width:"100%"},placeholder:"请选择",options:m.value,fieldNames:g.value}),null,16,["getPopupContainer","value","options","fieldNames"])]})),_:1})}}});S.__file="src/business-ui/component/IVMrpProdBaseDropdown.vue";var q=[m,k,S];q.forEach((function(t){t.install=function(e){e.component(t.name,t)}}));var B={install:function(t){q.forEach((function(e){t.component(e.name,e)}))}};export{m as IVMrpModal,k as IVMrpOrgDropdown,S as IVMrpProdBaseDropdown,B as default};
|
|
1
|
+
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
i=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",u=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof f?t:f,a=Object.create(o.prototype),i=new E(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return _()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var u=x(i,r);if(u){if(u===p)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===p)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var p={};function f(){}function d(){}function h(){}var v={};c(v,o,(function(){return this}));var m=Object.getPrototypeOf,y=m&&m(m(P([])));y&&y!==t&&r.call(y,o)&&(v=y);var g=h.prototype=f.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(o,a,i,u){var c=s(e[o],e,a);if("throw"!==c.type){var l=c.arg,p=l.value;return p&&"object"==typeof p&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){n("next",e,i,u)}),(function(e){n("throw",e,i,u)})):t.resolve(p).then((function(e){l.value=e,i(l)}),(function(e){return n("throw",e,i,u)}))}u(c.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function x(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method))return p;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,p;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function P(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:_}}function _(){return{value:void 0,done:!0}}return d.prototype=h,c(g,"constructor",h),c(h,"constructor",d),d.displayName=c(h,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,c(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(b.prototype),c(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new b(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},w(g),c(g,u,"Generator"),c(g,o,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=P,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(j),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,p):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),j(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},e}function u(e,t,r,n,o,a,i){try{var u=e[a](i),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}function c(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){u(a,n,o,i,c,"next",e)}function c(e){u(a,n,o,i,c,"throw",e)}i(void 0)}))}}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}n.__file="src/function-ui/component/IVMrpModal.vue";var s="https://basis.nacho.cn",p={headers:{"Content-Type":"application/json;charset=UTF-8","Accept-Language":"zh-Hans",authorization:localStorage.getItem("token")?"Bearer "+localStorage.getItem("token"):null},cache:"no-cache",credentials:"include",responseType:"JSON",mode:"cors"},f={getIVMrpOrgDropdown:{url:"/api/identity/users/allOrganizationByUser",option:a({method:"GET"},p)},getIVMrpProdBaseDropdown:{url:"/api/basis-management/production-base/all",option:a({method:"GET"},p)}},d=function(e){return new Promise((function(t,r){e.then((function(e){e.json().then((function(e){return t(e)})).catch((function(e){return r(e)}))})).catch((function(e){return r(e)}))}))},h=function(e,t,r){if(0===Object.keys(r).length)return e+t;var n=[];for(var o in r)n.push("".concat(o,"=").concat(r[o]));return e+t+"?"+n.join("&")};function v(e,t){var r=t.filter((function(t){return t.parentId==e.id}));if(r.length)return e.children=r,e.children.forEach((function(e){v(e,t)})),e}function m(e){var t=e.filter((function(e){return null==e.parentId}));return t.forEach((function(t){return v(t,e)})),t}var y=Object.assign,g=t.createElementVNode("div",{class:"text-[#0000006D] text-[14px]"},"所属组织",-1),w=t.defineComponent({__name:"IVMrpOrgDropdown",props:{value:{type:null,required:!0},params:{type:Object,required:!1},data:{type:Object,required:!1},replaceFields:{type:Object,required:!1}},emits:["update:value"],setup:function(e,r){var n,o=r.emit,a=e,u=t.ref(),l=function(){var e=c(i().mark((function e(){var t,r,n,o,a=arguments;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:{},e.next=3,d(fetch(h(s,f.getIVMrpOrgDropdown.url,t.params),y({data:null!==(r=t.data)&&void 0!==r?r:null},f.getIVMrpOrgDropdown.option)));case 3:n=e.sent,o=n.items,u.value=m(o);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),p=t.ref(null!==(n=a.replaceFields)&&void 0!==n?n:{children:"children",label:"displayName",key:"id",value:"id"}),v=t.computed({get:function(){return a.value},set:function(e){o("update:value",e)}});return t.watchEffect(c(i().mark((function e(){var t,r;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:l({params:y(null!==(t=a.params)&&void 0!==t?t:{},{type:1}),data:null!==(r=a.data)&&void 0!==r?r:null});case 1:case"end":return e.stop()}}),e)})))),function(e,r){var n=t.resolveComponent("a-tree-select"),o=t.resolveComponent("a-form-item");return t.openBlock(),t.createBlock(o,{name:"organizationId",rules:[{required:!0,message:"请选择所属组织"}]},{label:t.withCtx((function(){return[g]})),default:t.withCtx((function(){return[t.createVNode(n,t.mergeProps(e.$attrs,{value:t.unref(v),"onUpdate:value":r[0]||(r[0]=function(e){return t.isRef(v)?v.value=e:null}),"tree-data":u.value,getPopupContainer:function(e){return e.parentNode},placeholder:"请选择",showArrow:"",treeDefaultExpandAll:"",style:{width:"300px"},replaceFields:p.value}),null,16,["value","tree-data","getPopupContainer","replaceFields"])]})),_:1})}}});w.__file="src/business-ui/component/IVMrpOrgDropdown.vue";var b=t.createElementVNode("div",{class:"text-[#0000006D] text-[14px]"},"所属基地",-1),x=t.defineComponent({__name:"IVMrpProdBaseDropdown",props:{value:{type:null,required:!0},params:{type:Object,required:!1},data:{type:Object,required:!1},fieldNames:{type:Object,required:!1}},emits:["update:value"],setup:function(e,r){var n,o=r.emit,a=e,u=t.ref(),l=function(){var e=c(i().mark((function e(){var t,r,n=arguments;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,d(fetch(h(s,f.getIVMrpProdBaseDropdown.url,t.params),y({data:null!==(r=t.data)&&void 0!==r?r:null},f.getIVMrpProdBaseDropdown.option)));case 3:u.value=e.sent;case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),p=t.ref(null!==(n=a.fieldNames)&&void 0!==n?n:{label:"name",value:"id"}),v=t.computed({get:function(){return a.value},set:function(e){o("update:value",e)}});return t.watchEffect(c(i().mark((function e(){var t,r;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:l({params:null!==(t=a.params)&&void 0!==t?t:null,data:null!==(r=a.data)&&void 0!==r?r:null});case 1:case"end":return e.stop()}}),e)})))),function(e,r){var n=t.resolveComponent("a-select"),o=t.resolveComponent("a-form-item");return t.openBlock(),t.createBlock(o,{name:"organizationIds","wrapper-col":{span:8},rules:[{required:!0,message:"请选择所属基地"}]},{label:t.withCtx((function(){return[b]})),default:t.withCtx((function(){return[t.createVNode(n,t.mergeProps(e.$attrs,{getPopupContainer:function(e){return e.parentNode},value:t.unref(v),"onUpdate:value":r[0]||(r[0]=function(e){return t.isRef(v)?v.value=e:null}),mode:"multiple",style:{width:"100%"},placeholder:"请选择",options:u.value,fieldNames:p.value}),null,16,["getPopupContainer","value","options","fieldNames"])]})),_:1})}}});x.__file="src/business-ui/component/IVMrpProdBaseDropdown.vue";var O=[n,w,x];O.forEach((function(e){e.install=function(t){t.component(e.name,e)}}));var j={install:function(e){O.forEach((function(t){e.component(t.name,t)}))}};e.IVMrpModal=n,e.IVMrpOrgDropdown=w,e.IVMrpProdBaseDropdown=x,e.default=j,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
1
|
+
(function (factory) {
|
|
2
|
+
typeof define === 'function' && define.amd ? define(factory) :
|
|
3
|
+
factory();
|
|
4
|
+
})((function () { 'use strict';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
}));
|
|
4
9
|
//# sourceMappingURL=index.umd.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.umd.js","sources":[
|
|
1
|
+
{"version":3,"file":"index.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
|