From 8d4fad3877dddc870be847323eb8306396e6dc9e Mon Sep 17 00:00:00 2001 From: AlbertLin0923 Date: Wed, 22 Nov 2023 13:52:25 +0000 Subject: [PATCH] deploy: 897bc038cc835d2d4eddb397f4fcb69b13361bf3 --- 302.461122fb.async.js | 9 +++++++++ 302.b9638152.async.js | 9 --------- 404.html | 2 +- MangoFormPassword__demos.b5005651.async.js | 1 + MangoFormPassword__demos.fd7554b9.async.js | 1 - MangoProTable__demos.a7f8f92b.async.js | 1 - MangoProTable__demos.ae6c7e55.async.js | 1 + build-manifest.json | 8 ++++---- components/LoadableButton/index.html | 4 ++-- components/LoadableSwitch/index.html | 4 ++-- components/MangoFormNumber/index.html | 4 ++-- components/MangoFormPassword/index.html | 4 ++-- components/MangoFormRadio/index.html | 4 ++-- components/MangoProTable/index.html | 4 ++-- components/SvgIcon/index.html | 4 ++-- components/index.html | 4 ++-- ...dumi__theme__ContextWrapper.8a9c677e.async.js | 2 +- index.html | 4 ++-- umi.4c5c497d.js => umi.55517b3a.js | 16 ++++++++++------ utils/index.html | 4 ++-- ~demos/:id/index.html | 2 +- ~demos/loadablebutton-demo-demo/index.html | 2 +- ~demos/loadableswitch-demo-demo/index.html | 2 +- ~demos/mangoformnumber-demo-demo/index.html | 2 +- ~demos/mangoformpassword-demo-demo/index.html | 2 +- ~demos/mangoformradio-demo-demo/index.html | 2 +- ~demos/mangoprotable-demo-demo/index.html | 2 +- 27 files changed, 54 insertions(+), 50 deletions(-) create mode 100644 302.461122fb.async.js delete mode 100644 302.b9638152.async.js create mode 100644 MangoFormPassword__demos.b5005651.async.js delete mode 100644 MangoFormPassword__demos.fd7554b9.async.js delete mode 100644 MangoProTable__demos.a7f8f92b.async.js create mode 100644 MangoProTable__demos.ae6c7e55.async.js rename dumi__tmp-production__dumi__theme__ContextWrapper.15fcae50.async.js => dumi__tmp-production__dumi__theme__ContextWrapper.8a9c677e.async.js (69%) rename umi.4c5c497d.js => umi.55517b3a.js (99%) diff --git a/302.461122fb.async.js b/302.461122fb.async.js new file mode 100644 index 0000000..1ac763c --- /dev/null +++ b/302.461122fb.async.js @@ -0,0 +1,9 @@ +"use strict";(self.webpackChunkmango_kit_monorepo=self.webpackChunkmango_kit_monorepo||[]).push([[302],{15302:function(Kn,Pe,$){$.d(Pe,{Lv:function(){return We},m7:function(){return or},PI:function(){return kr},fu:function(){return Yr},R_:function(){return zt},XZ:function(){return Bn}});var j=$(11527);function ht(e){"@babel/helpers - typeof";return ht=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ht(e)}var Se=["iconClass","className"];function Mt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),o.push.apply(o,i)}return o}function _t(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}function Ce(e,t){if(e==null)return{};var o={},i=Object.keys(e),s,f;for(f=0;f=0)&&(o[s]=e[s]);return o}var Ne=function(t){var o=t.iconClass,i=t.className,s=Te(t,Se);return(0,j.jsx)("svg",_t(_t({"aria-hidden":"true",className:i?"mango-svg-icon "+i:"mango-svg-icon"},s),{},{children:(0,j.jsx)("use",{href:"#icon-".concat(o)})}))},z=$(50959),ct=$(92819);function rt(e){"@babel/helpers - typeof";return rt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rt(e)}var Ae=["onClick"];function Gt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),o.push.apply(o,i)}return o}function Rt(e){for(var t=1;t=0;--c){var l=this.tryEntries[c],y=l.completion;if(l.tryLoc==="root")return u("end");if(l.tryLoc<=this.prev){var g=i.call(l,"catchLoc"),v=i.call(l,"finallyLoc");if(g&&v){if(this.prev=0;--u){var c=this.tryEntries[u];if(c.tryLoc<=this.prev&&i.call(c,"finallyLoc")&&this.prev=0;--n){var u=this.tryEntries[n];if(u.finallyLoc===r)return this.complete(u.completion,u.afterLoc),R(u),w}},catch:function(r){for(var n=this.tryEntries.length-1;n>=0;--n){var u=this.tryEntries[n];if(u.tryLoc===r){var c=u.completion;if(c.type==="throw"){var l=c.arg;R(u)}return l}}throw new Error("illegal catch attempt")},delegateYield:function(r,n,u){return this.delegate={iterator:Z(r),resultName:n,nextLoc:u},this.method==="next"&&(this.arg=e),w}},t}function $t(e,t,o,i,s,f,d){try{var m=e[f](d),h=m.value}catch(p){o(p);return}m.done?t(h):Promise.resolve(h).then(i,s)}function _e(e){return function(){var t=this,o=arguments;return new Promise(function(i,s){var f=e.apply(t,o);function d(h){$t(f,i,s,d,m,"next",h)}function m(h){$t(f,i,s,d,m,"throw",h)}d(void 0)})}}function Ge(e,t){return De(e)||Ze(e,t)||$e(e,t)||Re()}function Re(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $e(e,t){if(e){if(typeof e=="string")return Zt(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);if(o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set")return Array.from(e);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return Zt(e,t)}}function Zt(e,t){(t==null||t>e.length)&&(t=e.length);for(var o=0,i=new Array(t);o=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}function Be(e,t){if(e==null)return{};var o={},i=Object.keys(e),s,f;for(f=0;f=0)&&(o[s]=e[s]);return o}var We=function(t){var o=t.onClick,i=Qe(t,Ae),s=(0,z.useState)(!1),f=Ge(s,2),d=f[0],m=f[1];return(0,j.jsx)(ct.ZP,Rt(Rt({},i),{},{loading:d,onClick:function(){var h=_e(wt().mark(function p(b){return wt().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(m(!0),E.prev=1,E.t0=o,!E.t0){E.next=6;break}return E.next=6,o(b);case 6:E.next=11;break;case 8:E.prev=8,E.t1=E.catch(1),console.error(E.t1);case 11:m(!1);case 12:case"end":return E.stop()}},p,null,[[1,8]])}));return function(p){return h.apply(this,arguments)}}()}))},Ke=$(6666);function nt(e){"@babel/helpers - typeof";return nt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nt(e)}var Ve=["onChange"];function Dt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),o.push.apply(o,i)}return o}function Qt(e){for(var t=1;t=0;--c){var l=this.tryEntries[c],y=l.completion;if(l.tryLoc==="root")return u("end");if(l.tryLoc<=this.prev){var g=i.call(l,"catchLoc"),v=i.call(l,"finallyLoc");if(g&&v){if(this.prev=0;--u){var c=this.tryEntries[u];if(c.tryLoc<=this.prev&&i.call(c,"finallyLoc")&&this.prev=0;--n){var u=this.tryEntries[n];if(u.finallyLoc===r)return this.complete(u.completion,u.afterLoc),R(u),w}},catch:function(r){for(var n=this.tryEntries.length-1;n>=0;--n){var u=this.tryEntries[n];if(u.tryLoc===r){var c=u.completion;if(c.type==="throw"){var l=c.arg;R(u)}return l}}throw new Error("illegal catch attempt")},delegateYield:function(r,n,u){return this.delegate={iterator:Z(r),resultName:n,nextLoc:u},this.method==="next"&&(this.arg=e),w}},t}function Bt(e,t,o,i,s,f,d){try{var m=e[f](d),h=m.value}catch(p){o(p);return}m.done?t(h):Promise.resolve(h).then(i,s)}function Ue(e){return function(){var t=this,o=arguments;return new Promise(function(i,s){var f=e.apply(t,o);function d(h){Bt(f,i,s,d,m,"next",h)}function m(h){Bt(f,i,s,d,m,"throw",h)}d(void 0)})}}function Je(e,t){return er(e)||tr(e,t)||qe(e,t)||Xe()}function Xe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qe(e,t){if(e){if(typeof e=="string")return Wt(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);if(o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set")return Array.from(e);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return Wt(e,t)}}function Wt(e,t){(t==null||t>e.length)&&(t=e.length);for(var o=0,i=new Array(t);o=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}function nr(e,t){if(e==null)return{};var o={},i=Object.keys(e),s,f;for(f=0;f=0)&&(o[s]=e[s]);return o}var or=function(t){var o=t.onChange,i=rr(t,Ve),s=(0,z.useState)(!1),f=Je(s,2),d=f[0],m=f[1];return(0,j.jsx)(Ke.Z,Qt(Qt({},i),{},{loading:d,onChange:function(){var h=Ue(jt().mark(function p(b,O){return jt().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:if(m(!0),S.prev=1,S.t0=o,!S.t0){S.next=6;break}return S.next=6,o(b,O);case 6:S.next=11;break;case 8:S.prev=8,S.t1=S.catch(1),console.error(S.t1);case 11:m(!1);case 12:case"end":return S.stop()}},p,null,[[1,8]])}));return function(p,b){return h.apply(this,arguments)}}()}))},Ot=$(23993),U=$(80789),ar=$(84875),ot=$.n(ar);function at(e){"@babel/helpers - typeof";return at=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},at(e)}var ir=["options","onChange","beforeChange","containerClassName","itemClassName","itemSelectedClassName","tagClassName","itemWidth","itemHeight","theme","extraRender","extraFormFieldProps","extraRawFieldProps"];function ur(e,t){if(e==null)return{};var o=lr(e,t),i,s;if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(e);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}function lr(e,t){if(e==null)return{};var o={},i=Object.keys(e),s,f;for(f=0;f=0)&&(o[s]=e[s]);return o}function Kt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),o.push.apply(o,i)}return o}function dt(e){for(var t=1;t=0;--c){var l=this.tryEntries[c],y=l.completion;if(l.tryLoc==="root")return u("end");if(l.tryLoc<=this.prev){var g=i.call(l,"catchLoc"),v=i.call(l,"finallyLoc");if(g&&v){if(this.prev=0;--u){var c=this.tryEntries[u];if(c.tryLoc<=this.prev&&i.call(c,"finallyLoc")&&this.prev=0;--n){var u=this.tryEntries[n];if(u.finallyLoc===r)return this.complete(u.completion,u.afterLoc),R(u),w}},catch:function(r){for(var n=this.tryEntries.length-1;n>=0;--n){var u=this.tryEntries[n];if(u.tryLoc===r){var c=u.completion;if(c.type==="throw"){var l=c.arg;R(u)}return l}}throw new Error("illegal catch attempt")},delegateYield:function(r,n,u){return this.delegate={iterator:Z(r),resultName:n,nextLoc:u},this.method==="next"&&(this.arg=e),w}},t}function Vt(e,t,o,i,s,f,d){try{var m=e[f](d),h=m.value}catch(p){o(p);return}m.done?t(h):Promise.resolve(h).then(i,s)}function hr(e){return function(){var t=this,o=arguments;return new Promise(function(i,s){var f=e.apply(t,o);function d(h){Vt(f,i,s,d,m,"next",h)}function m(h){Vt(f,i,s,d,m,"throw",h)}d(void 0)})}}function dr(e,t){return vr(e)||mr(e,t)||pr(e,t)||yr()}function yr(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pr(e,t){if(e){if(typeof e=="string")return Yt(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);if(o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set")return Array.from(e);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return Yt(e,t)}}function Yt(e,t){(t==null||t>e.length)&&(t=e.length);for(var o=0,i=new Array(t);o=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}function Er(e,t){if(e==null)return{};var o={},i=Object.keys(e),s,f;for(f=0;f=0)&&(o[s]=e[s]);return o}function yt(){"use strict";yt=function(){return t};var e,t={},o=Object.prototype,i=o.hasOwnProperty,s=Object.defineProperty||function(a,r,n){a[r]=n.value},f=typeof Symbol=="function"?Symbol:{},d=f.iterator||"@@iterator",m=f.asyncIterator||"@@asyncIterator",h=f.toStringTag||"@@toStringTag";function p(a,r,n){return Object.defineProperty(a,r,{value:n,enumerable:!0,configurable:!0,writable:!0}),a[r]}try{p({},"")}catch(a){p=function(n,u,c){return n[u]=c}}function b(a,r,n,u){var c=r&&r.prototype instanceof A?r:A,l=Object.create(c.prototype),y=new D(u||[]);return s(l,"_invoke",{value:W(a,n,y)}),l}function O(a,r,n){try{return{type:"normal",arg:a.call(r,n)}}catch(u){return{type:"throw",arg:u}}}t.wrap=b;var E="suspendedStart",S="suspendedYield",L="executing",N="completed",w={};function A(){}function F(){}function x(){}var _={};p(_,d,function(){return this});var k=Object.getPrototypeOf,M=k&&k(k(Z([])));M&&M!==o&&i.call(M,d)&&(_=M);var P=x.prototype=A.prototype=Object.create(_);function B(a){["next","throw","return"].forEach(function(r){p(a,r,function(n){return this._invoke(r,n)})})}function G(a,r){function n(c,l,y,g){var v=O(a[c],a,l);if(v.type!=="throw"){var I=v.arg,T=I.value;return T&&it(T)=="object"&&i.call(T,"__await")?r.resolve(T.__await).then(function(C){n("next",C,y,g)},function(C){n("throw",C,y,g)}):r.resolve(T).then(function(C){I.value=C,y(I)},function(C){return n("throw",C,y,g)})}g(v.arg)}var u;s(this,"_invoke",{value:function(l,y){function g(){return new r(function(v,I){n(l,y,v,I)})}return u=u?u.then(g,g):g()}})}function W(a,r,n){var u=E;return function(c,l){if(u===L)throw new Error("Generator is already running");if(u===N){if(c==="throw")throw l;return{value:e,done:!0}}for(n.method=c,n.arg=l;;){var y=n.delegate;if(y){var g=K(y,n);if(g){if(g===w)continue;return g}}if(n.method==="next")n.sent=n._sent=n.arg;else if(n.method==="throw"){if(u===E)throw u=N,n.arg;n.dispatchException(n.arg)}else n.method==="return"&&n.abrupt("return",n.arg);u=L;var v=O(a,r,n);if(v.type==="normal"){if(u=n.done?N:S,v.arg===w)continue;return{value:v.arg,done:n.done}}v.type==="throw"&&(u=N,n.method="throw",n.arg=v.arg)}}}function K(a,r){var n=r.method,u=a.iterator[n];if(u===e)return r.delegate=null,n==="throw"&&a.iterator.return&&(r.method="return",r.arg=e,K(a,r),r.method==="throw")||n!=="return"&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),w;var c=O(u,a.iterator,r.arg);if(c.type==="throw")return r.method="throw",r.arg=c.arg,r.delegate=null,w;var l=c.arg;return l?l.done?(r[a.resultName]=l.value,r.next=a.nextLoc,r.method!=="return"&&(r.method="next",r.arg=e),r.delegate=null,w):l:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,w)}function Q(a){var r={tryLoc:a[0]};1 in a&&(r.catchLoc=a[1]),2 in a&&(r.finallyLoc=a[2],r.afterLoc=a[3]),this.tryEntries.push(r)}function R(a){var r=a.completion||{};r.type="normal",delete r.arg,a.completion=r}function D(a){this.tryEntries=[{tryLoc:"root"}],a.forEach(Q,this),this.reset(!0)}function Z(a){if(a||a===""){var r=a[d];if(r)return r.call(a);if(typeof a.next=="function")return a;if(!isNaN(a.length)){var n=-1,u=function c(){for(;++n=0;--c){var l=this.tryEntries[c],y=l.completion;if(l.tryLoc==="root")return u("end");if(l.tryLoc<=this.prev){var g=i.call(l,"catchLoc"),v=i.call(l,"finallyLoc");if(g&&v){if(this.prev=0;--u){var c=this.tryEntries[u];if(c.tryLoc<=this.prev&&i.call(c,"finallyLoc")&&this.prev=0;--n){var u=this.tryEntries[n];if(u.finallyLoc===r)return this.complete(u.completion,u.afterLoc),R(u),w}},catch:function(r){for(var n=this.tryEntries.length-1;n>=0;--n){var u=this.tryEntries[n];if(u.tryLoc===r){var c=u.completion;if(c.type==="throw"){var l=c.arg;R(u)}return l}}throw new Error("illegal catch attempt")},delegateYield:function(r,n,u){return this.delegate={iterator:Z(r),resultName:n,nextLoc:u},this.method==="next"&&(this.arg=e),w}},t}function Xt(e,t,o,i,s,f,d){try{var m=e[f](d),h=m.value}catch(p){o(p);return}m.done?t(h):Promise.resolve(h).then(i,s)}function qt(e){return function(){var t=this,o=arguments;return new Promise(function(i,s){var f=e.apply(t,o);function d(h){Xt(f,i,s,d,m,"next",h)}function m(h){Xt(f,i,s,d,m,"throw",h)}d(void 0)})}}function Fr(e,t){return Ar(e)||Nr(e,t)||Cr(e,t)||Tr()}function Tr(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Cr(e,t){if(e){if(typeof e=="string")return te(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);if(o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set")return Array.from(e);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return te(e,t)}}function te(e,t){(t==null||t>e.length)&&(t=e.length);for(var o=0,i=new Array(t);oh?k=h:(0,Ht.Z)(m)&&Number(S)e.length)&&(t=e.length);for(var o=0,i=new Array(t);o=0},optionFilterProp:"children",placeholder:t.placeholder,style:{width:"200px"},allowClear:!0,showSearch:!0},t==null?void 0:t.extraRawFieldProps),{},{children:d==null?void 0:d.map(function(b){return(0,j.jsx)(ue.Z.Option,{value:b.value,children:b.label},b.value)})}))}))}case"date-picker":return(0,j.jsx)(U.Z.Item,H(H({getValueFromEvent:function(O){return O&&O.valueOf()},getValueProps:function(O){return{value:O&&J()(Number(O))}},label:t.label,name:t.name},t==null?void 0:t.extraFormFieldProps),{},{children:(0,j.jsx)(le.Z,H({picker:t.picker,placeholder:t.placeholder,presets:[{label:"\u6628\u5929",value:J()().add(-1,"d")},{label:"\u4E0A\u5468",value:J()().add(-7,"d")},{label:"\u4E0A\u6708",value:J()().add(-1,"month")}],allowClear:!0},t==null?void 0:t.extraRawFieldProps))}));case"date-range-picker":return(0,j.jsx)(U.Z.Item,H(H({getValueFromEvent:function(O){return O&&[O[0].valueOf(),O[1].valueOf()]},getValueProps:function(O){return{value:O&&[J()(Number(O[0])),J()(Number(O[1]))]}},label:t.label,name:t.name},t==null?void 0:t.extraFormFieldProps),{},{children:(0,j.jsx)(le.Z.RangePicker,H({picker:t.picker,placeholder:t.placeholder,presets:[{label:"\u4ECA\u5929",value:[J()().startOf("day"),J()().endOf("day")]},{label:"\u672C\u5468",value:[J()().startOf("week"),J()().endOf("week")]},{label:"\u672C\u6708",value:[J()().startOf("month"),J()().endOf("month")]}],allowClear:!0},t==null?void 0:t.extraRawFieldProps))}));case"radio":{var m,h=t.optionFilter,p=(0,Lt.Z)(h)?h(o==null?void 0:o.data):o==null||(m=o.data)===null||m===void 0?void 0:m[h];return(0,j.jsx)(zt,{extraFormFieldProps:t==null?void 0:t.extraFormFieldProps,extraRawFieldProps:t==null?void 0:t.extraRawFieldProps,label:t.label,name:t.name,options:p!=null?p:[],theme:"nav"})}case"text":return(0,j.jsx)(U.Z.Item,H(H({label:t.label,shouldUpdate:function(O,E){return(O==null?void 0:O[t.name])!==(E==null?void 0:E[t.name])}},t==null?void 0:t.extraFormFieldProps),{},{children:function(){var O=i.getFieldsValue(!0);return(0,j.jsx)(ce.Z.Text,H(H({},t==null?void 0:t.extraRawFieldProps),{},{children:O[t.name]}))}}),t.name);default:return null}};function ut(e){"@babel/helpers - typeof";return ut=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ut(e)}function Et(){"use strict";Et=function(){return t};var e,t={},o=Object.prototype,i=o.hasOwnProperty,s=Object.defineProperty||function(a,r,n){a[r]=n.value},f=typeof Symbol=="function"?Symbol:{},d=f.iterator||"@@iterator",m=f.asyncIterator||"@@asyncIterator",h=f.toStringTag||"@@toStringTag";function p(a,r,n){return Object.defineProperty(a,r,{value:n,enumerable:!0,configurable:!0,writable:!0}),a[r]}try{p({},"")}catch(a){p=function(n,u,c){return n[u]=c}}function b(a,r,n,u){var c=r&&r.prototype instanceof A?r:A,l=Object.create(c.prototype),y=new D(u||[]);return s(l,"_invoke",{value:W(a,n,y)}),l}function O(a,r,n){try{return{type:"normal",arg:a.call(r,n)}}catch(u){return{type:"throw",arg:u}}}t.wrap=b;var E="suspendedStart",S="suspendedYield",L="executing",N="completed",w={};function A(){}function F(){}function x(){}var _={};p(_,d,function(){return this});var k=Object.getPrototypeOf,M=k&&k(k(Z([])));M&&M!==o&&i.call(M,d)&&(_=M);var P=x.prototype=A.prototype=Object.create(_);function B(a){["next","throw","return"].forEach(function(r){p(a,r,function(n){return this._invoke(r,n)})})}function G(a,r){function n(c,l,y,g){var v=O(a[c],a,l);if(v.type!=="throw"){var I=v.arg,T=I.value;return T&&ut(T)=="object"&&i.call(T,"__await")?r.resolve(T.__await).then(function(C){n("next",C,y,g)},function(C){n("throw",C,y,g)}):r.resolve(T).then(function(C){I.value=C,y(I)},function(C){return n("throw",C,y,g)})}g(v.arg)}var u;s(this,"_invoke",{value:function(l,y){function g(){return new r(function(v,I){n(l,y,v,I)})}return u=u?u.then(g,g):g()}})}function W(a,r,n){var u=E;return function(c,l){if(u===L)throw new Error("Generator is already running");if(u===N){if(c==="throw")throw l;return{value:e,done:!0}}for(n.method=c,n.arg=l;;){var y=n.delegate;if(y){var g=K(y,n);if(g){if(g===w)continue;return g}}if(n.method==="next")n.sent=n._sent=n.arg;else if(n.method==="throw"){if(u===E)throw u=N,n.arg;n.dispatchException(n.arg)}else n.method==="return"&&n.abrupt("return",n.arg);u=L;var v=O(a,r,n);if(v.type==="normal"){if(u=n.done?N:S,v.arg===w)continue;return{value:v.arg,done:n.done}}v.type==="throw"&&(u=N,n.method="throw",n.arg=v.arg)}}}function K(a,r){var n=r.method,u=a.iterator[n];if(u===e)return r.delegate=null,n==="throw"&&a.iterator.return&&(r.method="return",r.arg=e,K(a,r),r.method==="throw")||n!=="return"&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),w;var c=O(u,a.iterator,r.arg);if(c.type==="throw")return r.method="throw",r.arg=c.arg,r.delegate=null,w;var l=c.arg;return l?l.done?(r[a.resultName]=l.value,r.next=a.nextLoc,r.method!=="return"&&(r.method="next",r.arg=e),r.delegate=null,w):l:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,w)}function Q(a){var r={tryLoc:a[0]};1 in a&&(r.catchLoc=a[1]),2 in a&&(r.finallyLoc=a[2],r.afterLoc=a[3]),this.tryEntries.push(r)}function R(a){var r=a.completion||{};r.type="normal",delete r.arg,a.completion=r}function D(a){this.tryEntries=[{tryLoc:"root"}],a.forEach(Q,this),this.reset(!0)}function Z(a){if(a||a===""){var r=a[d];if(r)return r.call(a);if(typeof a.next=="function")return a;if(!isNaN(a.length)){var n=-1,u=function c(){for(;++n=0;--c){var l=this.tryEntries[c],y=l.completion;if(l.tryLoc==="root")return u("end");if(l.tryLoc<=this.prev){var g=i.call(l,"catchLoc"),v=i.call(l,"finallyLoc");if(g&&v){if(this.prev=0;--u){var c=this.tryEntries[u];if(c.tryLoc<=this.prev&&i.call(c,"finallyLoc")&&this.prev=0;--n){var u=this.tryEntries[n];if(u.finallyLoc===r)return this.complete(u.completion,u.afterLoc),R(u),w}},catch:function(r){for(var n=this.tryEntries.length-1;n>=0;--n){var u=this.tryEntries[n];if(u.tryLoc===r){var c=u.completion;if(c.type==="throw"){var l=c.arg;R(u)}return l}}throw new Error("illegal catch attempt")},delegateYield:function(r,n,u){return this.delegate={iterator:Z(r),resultName:n,nextLoc:u},this.method==="next"&&(this.arg=e),w}},t}function he(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),o.push.apply(o,i)}return o}function nn(e){for(var t=1;te.length)&&(t=e.length);for(var o=0,i=new Array(t);o-1&&b!==null&&b!==void 0&&b.already){var F;s(m.getFieldsValue(!0),(F=b==null?void 0:b.data)!==null&&F!==void 0?F:[],!0)}},N=function(){var w=ln(Et().mark(function A(){var F,x,_,k,M,P,B;return Et().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:if(!(i!=null&&i.getQuery&&i!==null&&i!==void 0&&(F=i.getQuery)!==null&&F!==void 0&&F.api)){W.next=9;break}return W.next=3,i.getQuery.api(nn({},(x=i==null||(_=i.getQuery)===null||_===void 0?void 0:_.appendParams)!==null&&x!==void 0?x:{}));case 3:k=W.sent,M=k.success,P=k.data,M&&P&&(O(function(){return{data:P,already:!0}}),s(m.getFieldsValue(!0),P,!0)),W.next=10;break;case 9:s(m.getFieldsValue(!0),(B=b==null?void 0:b.data)!==null&&B!==void 0?B:[],!0);case 10:case"end":return W.stop()}},A)}));return function(){return w.apply(this,arguments)}}();return(0,z.useEffect)(function(){N()},[]),b!=null&&b.already?(0,j.jsx)(U.Z,{className:"mango-pro-table-query-form",form:m,initialValues:E,labelAlign:"left",name:"form",onFinish:function(){var A;s(m.getFieldsValue(!0),(A=b==null?void 0:b.data)!==null&&A!==void 0?A:[],!0)},onValuesChange:L,children:dn(o)&&o.map(function(w,A){return A!==o.length-1?(0,j.jsx)(ie.Z,{gutter:64,children:w.map(function(F){return(0,j.jsx)(St.Z,{children:fe(F,b,m)},F.name)})},A):(0,j.jsxs)(ie.Z,{gutter:64,children:[w.map(function(F){return(0,j.jsx)(St.Z,{children:fe(F,b,m)},F.name)}),(0,j.jsx)(St.Z,{children:(0,j.jsx)(U.Z.Item,{children:(0,j.jsxs)(Ot.Z,{children:[(0,j.jsx)(ct.ZP,{htmlType:"submit",type:"primary",children:"\u67E5\u8BE2"}),(0,j.jsx)(ct.ZP,{onClick:function(){m.resetFields(),s(E,b==null?void 0:b.data,!0)},children:"\u91CD\u7F6E"})]})})})]},A)})}):null},mn=pn,st=$(91498),vn=$(56052),gn=$(83873),bn=function(t){var o=t.value,i=t.map;return(0,j.jsxs)("div",{className:"mango-status-node",children:[(0,j.jsx)("span",{className:"mango-status-dot",style:{backgroundColor:(0,st.Lq)(o,i)}}),(0,j.jsx)("span",{className:"mango-status-node-text",children:(0,st.id)(o,i)})]})},wn=bn;function vt(e){"@babel/helpers - typeof";return vt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vt(e)}var jn=["title","dataIndex","align","width","ellipsis","copyable","fixed","render","valueType","valueEnum"];function me(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),o.push.apply(o,i)}return o}function On(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}function En(e,t){if(e==null)return{};var o={},i=Object.keys(e),s,f;for(f=0;f=0)&&(o[s]=e[s]);return o}function Fn(e){return An(e)||Nn(e)||Cn(e)||Tn()}function Tn(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Cn(e,t){if(e){if(typeof e=="string")return Ft(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);if(o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set")return Array.from(e);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return Ft(e,t)}}function Nn(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function An(e){if(Array.isArray(e))return Ft(e)}function Ft(e,t){(t==null||t>e.length)&&(t=e.length);for(var o=0,i=new Array(t);o=0;--c){var l=this.tryEntries[c],y=l.completion;if(l.tryLoc==="root")return u("end");if(l.tryLoc<=this.prev){var g=i.call(l,"catchLoc"),v=i.call(l,"finallyLoc");if(g&&v){if(this.prev=0;--u){var c=this.tryEntries[u];if(c.tryLoc<=this.prev&&i.call(c,"finallyLoc")&&this.prev=0;--n){var u=this.tryEntries[n];if(u.finallyLoc===r)return this.complete(u.completion,u.afterLoc),R(u),w}},catch:function(r){for(var n=this.tryEntries.length-1;n>=0;--n){var u=this.tryEntries[n];if(u.tryLoc===r){var c=u.completion;if(c.type==="throw"){var l=c.arg;R(u)}return l}}throw new Error("illegal catch attempt")},delegateYield:function(r,n,u){return this.delegate={iterator:Z(r),resultName:n,nextLoc:u},this.method==="next"&&(this.arg=e),w}},t}function ve(e,t,o,i,s,f,d){try{var m=e[f](d),h=m.value}catch(p){o(p);return}m.done?t(h):Promise.resolve(h).then(i,s)}function ge(e){return function(){var t=this,o=arguments;return new Promise(function(i,s){var f=e.apply(t,o);function d(h){ve(f,i,s,d,m,"next",h)}function m(h){ve(f,i,s,d,m,"throw",h)}d(void 0)})}}function be(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),o.push.apply(o,i)}return o}function q(e){for(var t=1;te.length)&&(t=e.length);for(var o=0,i=new Array(t);o0?(0,j.jsx)("div",{className:"mango-pro-table-content",children:a==null||(i=a.list)===null||i===void 0?void 0:i.map(function(X){return F&&F(X)})}):(0,j.jsx)("div",{className:"mango-pro-table-empty-table-content",children:_?_():(0,j.jsx)(ae.Z,{image:ae.Z.PRESENTED_IMAGE_SIMPLE})})}):null})}),x&&x({tableData:a,getList:function(V){return C(V)}})]})})}}]); diff --git a/302.b9638152.async.js b/302.b9638152.async.js deleted file mode 100644 index f0ee9c2..0000000 --- a/302.b9638152.async.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict";(self.webpackChunkmango_kit_monorepo=self.webpackChunkmango_kit_monorepo||[]).push([[302],{15302:function(Tn,ge,$){$.d(ge,{Lv:function(){return Re},m7:function(){return Xe},PI:function(){return Fr},fu:function(){return Rr},R_:function(){return Yt},XZ:function(){return En}});var j=$(11527);function ft(e){"@babel/helpers - typeof";return ft=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ft(e)}var be=["iconClass","className"];function It(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),a.push.apply(a,i)}return a}function kt(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(a[i]=e[i])}return a}function Pe(e,t){if(e==null)return{};var a={},i=Object.keys(e),s,f;for(f=0;f=0)&&(a[s]=e[s]);return a}var Se=function(t){var a=t.iconClass,i=t.className,s=Oe(t,be);return(0,j.jsx)("svg",kt(kt({"aria-hidden":"true",className:i?"mango-svg-icon "+i:"mango-svg-icon"},s),{},{children:(0,j.jsx)("use",{href:"#icon-".concat(a)})}))},K=$(50959),lt=$(92819);function et(e){"@babel/helpers - typeof";return et=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},et(e)}var Le=["onClick"];function Mt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),a.push.apply(a,i)}return a}function _t(e){for(var t=1;t=0;--c){var l=this.tryEntries[c],p=l.completion;if(l.tryLoc==="root")return u("end");if(l.tryLoc<=this.prev){var g=i.call(l,"catchLoc"),v=i.call(l,"finallyLoc");if(g&&v){if(this.prev=0;--u){var c=this.tryEntries[u];if(c.tryLoc<=this.prev&&i.call(c,"finallyLoc")&&this.prev=0;--n){var u=this.tryEntries[n];if(u.finallyLoc===r)return this.complete(u.completion,u.afterLoc),R(u),x}},catch:function(r){for(var n=this.tryEntries.length-1;n>=0;--n){var u=this.tryEntries[n];if(u.tryLoc===r){var c=u.completion;if(c.type==="throw"){var l=c.arg;R(u)}return l}}throw new Error("illegal catch attempt")},delegateYield:function(r,n,u){return this.delegate={iterator:Z(r),resultName:n,nextLoc:u},this.method==="next"&&(this.arg=e),x}},t}function Gt(e,t,a,i,s,f,d){try{var m=e[f](d),h=m.value}catch(y){a(y);return}m.done?t(h):Promise.resolve(h).then(i,s)}function Ne(e){return function(){var t=this,a=arguments;return new Promise(function(i,s){var f=e.apply(t,a);function d(h){Gt(f,i,s,d,m,"next",h)}function m(h){Gt(f,i,s,d,m,"throw",h)}d(void 0)})}}function Ce(e,t){return Me(e)||ke(e,t)||Ie(e,t)||Ae()}function Ae(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ie(e,t){if(e){if(typeof e=="string")return Rt(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Rt(e,t)}}function Rt(e,t){(t==null||t>e.length)&&(t=e.length);for(var a=0,i=new Array(t);a=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(a[i]=e[i])}return a}function Ge(e,t){if(e==null)return{};var a={},i=Object.keys(e),s,f;for(f=0;f=0)&&(a[s]=e[s]);return a}var Re=function(t){var a=t.onClick,i=_e(t,Le),s=(0,K.useState)(!1),f=Ce(s,2),d=f[0],m=f[1];return(0,j.jsx)(lt.ZP,_t(_t({},i),{},{loading:d,onClick:function(){var h=Ne(vt().mark(function y(b){return vt().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:if(m(!0),O.prev=1,O.t0=a,!O.t0){O.next=6;break}return O.next=6,a(b);case 6:O.next=11;break;case 8:O.prev=8,O.t1=O.catch(1),console.error(O.t1);case 11:m(!1);case 12:case"end":return O.stop()}},y,null,[[1,8]])}));return function(y){return h.apply(this,arguments)}}()}))},$e=$(6666);function rt(e){"@babel/helpers - typeof";return rt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rt(e)}var Ze=["onChange"];function $t(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),a.push.apply(a,i)}return a}function Zt(e){for(var t=1;t=0;--c){var l=this.tryEntries[c],p=l.completion;if(l.tryLoc==="root")return u("end");if(l.tryLoc<=this.prev){var g=i.call(l,"catchLoc"),v=i.call(l,"finallyLoc");if(g&&v){if(this.prev=0;--u){var c=this.tryEntries[u];if(c.tryLoc<=this.prev&&i.call(c,"finallyLoc")&&this.prev=0;--n){var u=this.tryEntries[n];if(u.finallyLoc===r)return this.complete(u.completion,u.afterLoc),R(u),x}},catch:function(r){for(var n=this.tryEntries.length-1;n>=0;--n){var u=this.tryEntries[n];if(u.tryLoc===r){var c=u.completion;if(c.type==="throw"){var l=c.arg;R(u)}return l}}throw new Error("illegal catch attempt")},delegateYield:function(r,n,u){return this.delegate={iterator:Z(r),resultName:n,nextLoc:u},this.method==="next"&&(this.arg=e),x}},t}function Dt(e,t,a,i,s,f,d){try{var m=e[f](d),h=m.value}catch(y){a(y);return}m.done?t(h):Promise.resolve(h).then(i,s)}function We(e){return function(){var t=this,a=arguments;return new Promise(function(i,s){var f=e.apply(t,a);function d(h){Dt(f,i,s,d,m,"next",h)}function m(h){Dt(f,i,s,d,m,"throw",h)}d(void 0)})}}function Ve(e,t){return He(e)||Ke(e,t)||ze(e,t)||Ye()}function Ye(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ze(e,t){if(e){if(typeof e=="string")return Qt(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Qt(e,t)}}function Qt(e,t){(t==null||t>e.length)&&(t=e.length);for(var a=0,i=new Array(t);a=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(a[i]=e[i])}return a}function Je(e,t){if(e==null)return{};var a={},i=Object.keys(e),s,f;for(f=0;f=0)&&(a[s]=e[s]);return a}var Xe=function(t){var a=t.onChange,i=Ue(t,Ze),s=(0,K.useState)(!1),f=Ve(s,2),d=f[0],m=f[1];return(0,j.jsx)($e.Z,Zt(Zt({},i),{},{loading:d,onChange:function(){var h=We(gt().mark(function y(b,w){return gt().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(m(!0),E.prev=1,E.t0=a,!E.t0){E.next=6;break}return E.next=6,a(b,w);case 6:E.next=11;break;case 8:E.prev=8,E.t1=E.catch(1),console.error(E.t1);case 11:m(!1);case 12:case"end":return E.stop()}},y,null,[[1,8]])}));return function(y,b){return h.apply(this,arguments)}}()}))},bt=$(23993),U=$(80789),qe=$(84875),nt=$.n(qe);function ot(e){"@babel/helpers - typeof";return ot=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ot(e)}var tr=["options","onChange","beforeChange","containerClassName","itemClassName","itemSelectedClassName","tagClassName","itemWidth","itemHeight","theme","extraRender","extraFormFieldProps","extraRawFieldProps"];function er(e,t){if(e==null)return{};var a=rr(e,t),i,s;if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(e);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(a[i]=e[i])}return a}function rr(e,t){if(e==null)return{};var a={},i=Object.keys(e),s,f;for(f=0;f=0)&&(a[s]=e[s]);return a}function Bt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),a.push.apply(a,i)}return a}function ht(e){for(var t=1;t=0;--c){var l=this.tryEntries[c],p=l.completion;if(l.tryLoc==="root")return u("end");if(l.tryLoc<=this.prev){var g=i.call(l,"catchLoc"),v=i.call(l,"finallyLoc");if(g&&v){if(this.prev=0;--u){var c=this.tryEntries[u];if(c.tryLoc<=this.prev&&i.call(c,"finallyLoc")&&this.prev=0;--n){var u=this.tryEntries[n];if(u.finallyLoc===r)return this.complete(u.completion,u.afterLoc),R(u),x}},catch:function(r){for(var n=this.tryEntries.length-1;n>=0;--n){var u=this.tryEntries[n];if(u.tryLoc===r){var c=u.completion;if(c.type==="throw"){var l=c.arg;R(u)}return l}}throw new Error("illegal catch attempt")},delegateYield:function(r,n,u){return this.delegate={iterator:Z(r),resultName:n,nextLoc:u},this.method==="next"&&(this.arg=e),x}},t}function Wt(e,t,a,i,s,f,d){try{var m=e[f](d),h=m.value}catch(y){a(y);return}m.done?t(h):Promise.resolve(h).then(i,s)}function ir(e){return function(){var t=this,a=arguments;return new Promise(function(i,s){var f=e.apply(t,a);function d(h){Wt(f,i,s,d,m,"next",h)}function m(h){Wt(f,i,s,d,m,"throw",h)}d(void 0)})}}function ur(e,t){return fr(e)||sr(e,t)||cr(e,t)||lr()}function lr(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cr(e,t){if(e){if(typeof e=="string")return Vt(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Vt(e,t)}}function Vt(e,t){(t==null||t>e.length)&&(t=e.length);for(var a=0,i=new Array(t);a=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(a[i]=e[i])}return a}function xr(e,t){if(e==null)return{};var a={},i=Object.keys(e),s,f;for(f=0;f=0)&&(a[s]=e[s]);return a}function dt(){"use strict";dt=function(){return t};var e,t={},a=Object.prototype,i=a.hasOwnProperty,s=Object.defineProperty||function(o,r,n){o[r]=n.value},f=typeof Symbol=="function"?Symbol:{},d=f.iterator||"@@iterator",m=f.asyncIterator||"@@asyncIterator",h=f.toStringTag||"@@toStringTag";function y(o,r,n){return Object.defineProperty(o,r,{value:n,enumerable:!0,configurable:!0,writable:!0}),o[r]}try{y({},"")}catch(o){y=function(n,u,c){return n[u]=c}}function b(o,r,n,u){var c=r&&r.prototype instanceof A?r:A,l=Object.create(c.prototype),p=new D(u||[]);return s(l,"_invoke",{value:W(o,n,p)}),l}function w(o,r,n){try{return{type:"normal",arg:o.call(r,n)}}catch(u){return{type:"throw",arg:u}}}t.wrap=b;var O="suspendedStart",E="suspendedYield",N="executing",k="completed",x={};function A(){}function L(){}function P(){}var _={};y(_,d,function(){return this});var I=Object.getPrototypeOf,M=I&&I(I(Z([])));M&&M!==a&&i.call(M,d)&&(_=M);var S=P.prototype=A.prototype=Object.create(_);function B(o){["next","throw","return"].forEach(function(r){y(o,r,function(n){return this._invoke(r,n)})})}function G(o,r){function n(c,l,p,g){var v=w(o[c],o,l);if(v.type!=="throw"){var C=v.arg,F=C.value;return F&&at(F)=="object"&&i.call(F,"__await")?r.resolve(F.__await).then(function(T){n("next",T,p,g)},function(T){n("throw",T,p,g)}):r.resolve(F).then(function(T){C.value=T,p(C)},function(T){return n("throw",T,p,g)})}g(v.arg)}var u;s(this,"_invoke",{value:function(l,p){function g(){return new r(function(v,C){n(l,p,v,C)})}return u=u?u.then(g,g):g()}})}function W(o,r,n){var u=O;return function(c,l){if(u===N)throw new Error("Generator is already running");if(u===k){if(c==="throw")throw l;return{value:e,done:!0}}for(n.method=c,n.arg=l;;){var p=n.delegate;if(p){var g=V(p,n);if(g){if(g===x)continue;return g}}if(n.method==="next")n.sent=n._sent=n.arg;else if(n.method==="throw"){if(u===O)throw u=k,n.arg;n.dispatchException(n.arg)}else n.method==="return"&&n.abrupt("return",n.arg);u=N;var v=w(o,r,n);if(v.type==="normal"){if(u=n.done?k:E,v.arg===x)continue;return{value:v.arg,done:n.done}}v.type==="throw"&&(u=k,n.method="throw",n.arg=v.arg)}}}function V(o,r){var n=r.method,u=o.iterator[n];if(u===e)return r.delegate=null,n==="throw"&&o.iterator.return&&(r.method="return",r.arg=e,V(o,r),r.method==="throw")||n!=="return"&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),x;var c=w(u,o.iterator,r.arg);if(c.type==="throw")return r.method="throw",r.arg=c.arg,r.delegate=null,x;var l=c.arg;return l?l.done?(r[o.resultName]=l.value,r.next=o.nextLoc,r.method!=="return"&&(r.method="next",r.arg=e),r.delegate=null,x):l:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,x)}function Q(o){var r={tryLoc:o[0]};1 in o&&(r.catchLoc=o[1]),2 in o&&(r.finallyLoc=o[2],r.afterLoc=o[3]),this.tryEntries.push(r)}function R(o){var r=o.completion||{};r.type="normal",delete r.arg,o.completion=r}function D(o){this.tryEntries=[{tryLoc:"root"}],o.forEach(Q,this),this.reset(!0)}function Z(o){if(o||o===""){var r=o[d];if(r)return r.call(o);if(typeof o.next=="function")return o;if(!isNaN(o.length)){var n=-1,u=function c(){for(;++n=0;--c){var l=this.tryEntries[c],p=l.completion;if(l.tryLoc==="root")return u("end");if(l.tryLoc<=this.prev){var g=i.call(l,"catchLoc"),v=i.call(l,"finallyLoc");if(g&&v){if(this.prev=0;--u){var c=this.tryEntries[u];if(c.tryLoc<=this.prev&&i.call(c,"finallyLoc")&&this.prev=0;--n){var u=this.tryEntries[n];if(u.finallyLoc===r)return this.complete(u.completion,u.afterLoc),R(u),x}},catch:function(r){for(var n=this.tryEntries.length-1;n>=0;--n){var u=this.tryEntries[n];if(u.tryLoc===r){var c=u.completion;if(c.type==="throw"){var l=c.arg;R(u)}return l}}throw new Error("illegal catch attempt")},delegateYield:function(r,n,u){return this.delegate={iterator:Z(r),resultName:n,nextLoc:u},this.method==="next"&&(this.arg=e),x}},t}function Ut(e,t,a,i,s,f,d){try{var m=e[f](d),h=m.value}catch(y){a(y);return}m.done?t(h):Promise.resolve(h).then(i,s)}function Jt(e){return function(){var t=this,a=arguments;return new Promise(function(i,s){var f=e.apply(t,a);function d(h){Ut(f,i,s,d,m,"next",h)}function m(h){Ut(f,i,s,d,m,"throw",h)}d(void 0)})}}function jr(e,t){return Lr(e)||Sr(e,t)||Pr(e,t)||Or()}function Or(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pr(e,t){if(e){if(typeof e=="string")return Xt(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Xt(e,t)}}function Xt(e,t){(t==null||t>e.length)&&(t=e.length);for(var a=0,i=new Array(t);ah?I=h:(0,zt.Z)(m)&&Number(E)e.length)&&(t=e.length);for(var a=0,i=new Array(t);a=0},optionFilterProp:"children",placeholder:t.placeholder,style:{width:"200px"},allowClear:!0,showSearch:!0},t==null?void 0:t.extraRawFieldProps),{},{children:d==null?void 0:d.map(function(b){return(0,j.jsx)(re.Z.Option,{value:b.value,children:b.label},b.value)})}))}))}case"date-picker":return(0,j.jsx)(U.Z.Item,H(H({getValueFromEvent:function(w){return w&&w.valueOf()},getValueProps:function(w){return{value:w&&Pt()(Number(w))}},label:t.label,name:t.name},t==null?void 0:t.extraFormFieldProps),{},{children:(0,j.jsx)(ne.Z,H({picker:t.picker,placeholder:t.placeholder,allowClear:!0},t==null?void 0:t.extraRawFieldProps))}));case"date-range-picker":return(0,j.jsx)(U.Z.Item,H(H({getValueFromEvent:function(w){return w&&[w[0].valueOf(),w[1].valueOf()]},getValueProps:function(w){return{value:w&&[Pt()(Number(w[0])),Pt()(Number(w[1]))]}},label:t.label,name:t.name},t==null?void 0:t.extraFormFieldProps),{},{children:(0,j.jsx)(ne.Z.RangePicker,H({picker:t.picker,placeholder:t.placeholder,allowClear:!0},t==null?void 0:t.extraRawFieldProps))}));case"radio":{var m,h=t.optionFilter,y=(0,Ot.Z)(h)?h(a==null?void 0:a.data):a==null||(m=a.data)===null||m===void 0?void 0:m[h];return(0,j.jsx)(Yt,{extraFormFieldProps:t==null?void 0:t.extraFormFieldProps,extraRawFieldProps:t==null?void 0:t.extraRawFieldProps,label:t.label,name:t.name,options:y!=null?y:[],style:{width:"200px"},theme:"nav"})}case"text":return(0,j.jsx)(U.Z.Item,H(H({label:t.label,shouldUpdate:function(w,O){return(w==null?void 0:w[t.name])!==(O==null?void 0:O[t.name])}},t==null?void 0:t.extraFormFieldProps),{},{children:function(){var w=i.getFieldsValue(!0);return(0,j.jsx)(oe.Z.Text,H(H({},t==null?void 0:t.extraRawFieldProps),{},{children:w[t.name]}))}}),t.name);default:return null}};function it(e){"@babel/helpers - typeof";return it=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},it(e)}function St(){"use strict";St=function(){return t};var e,t={},a=Object.prototype,i=a.hasOwnProperty,s=Object.defineProperty||function(o,r,n){o[r]=n.value},f=typeof Symbol=="function"?Symbol:{},d=f.iterator||"@@iterator",m=f.asyncIterator||"@@asyncIterator",h=f.toStringTag||"@@toStringTag";function y(o,r,n){return Object.defineProperty(o,r,{value:n,enumerable:!0,configurable:!0,writable:!0}),o[r]}try{y({},"")}catch(o){y=function(n,u,c){return n[u]=c}}function b(o,r,n,u){var c=r&&r.prototype instanceof A?r:A,l=Object.create(c.prototype),p=new D(u||[]);return s(l,"_invoke",{value:W(o,n,p)}),l}function w(o,r,n){try{return{type:"normal",arg:o.call(r,n)}}catch(u){return{type:"throw",arg:u}}}t.wrap=b;var O="suspendedStart",E="suspendedYield",N="executing",k="completed",x={};function A(){}function L(){}function P(){}var _={};y(_,d,function(){return this});var I=Object.getPrototypeOf,M=I&&I(I(Z([])));M&&M!==a&&i.call(M,d)&&(_=M);var S=P.prototype=A.prototype=Object.create(_);function B(o){["next","throw","return"].forEach(function(r){y(o,r,function(n){return this._invoke(r,n)})})}function G(o,r){function n(c,l,p,g){var v=w(o[c],o,l);if(v.type!=="throw"){var C=v.arg,F=C.value;return F&&it(F)=="object"&&i.call(F,"__await")?r.resolve(F.__await).then(function(T){n("next",T,p,g)},function(T){n("throw",T,p,g)}):r.resolve(F).then(function(T){C.value=T,p(C)},function(T){return n("throw",T,p,g)})}g(v.arg)}var u;s(this,"_invoke",{value:function(l,p){function g(){return new r(function(v,C){n(l,p,v,C)})}return u=u?u.then(g,g):g()}})}function W(o,r,n){var u=O;return function(c,l){if(u===N)throw new Error("Generator is already running");if(u===k){if(c==="throw")throw l;return{value:e,done:!0}}for(n.method=c,n.arg=l;;){var p=n.delegate;if(p){var g=V(p,n);if(g){if(g===x)continue;return g}}if(n.method==="next")n.sent=n._sent=n.arg;else if(n.method==="throw"){if(u===O)throw u=k,n.arg;n.dispatchException(n.arg)}else n.method==="return"&&n.abrupt("return",n.arg);u=N;var v=w(o,r,n);if(v.type==="normal"){if(u=n.done?k:E,v.arg===x)continue;return{value:v.arg,done:n.done}}v.type==="throw"&&(u=k,n.method="throw",n.arg=v.arg)}}}function V(o,r){var n=r.method,u=o.iterator[n];if(u===e)return r.delegate=null,n==="throw"&&o.iterator.return&&(r.method="return",r.arg=e,V(o,r),r.method==="throw")||n!=="return"&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),x;var c=w(u,o.iterator,r.arg);if(c.type==="throw")return r.method="throw",r.arg=c.arg,r.delegate=null,x;var l=c.arg;return l?l.done?(r[o.resultName]=l.value,r.next=o.nextLoc,r.method!=="return"&&(r.method="next",r.arg=e),r.delegate=null,x):l:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,x)}function Q(o){var r={tryLoc:o[0]};1 in o&&(r.catchLoc=o[1]),2 in o&&(r.finallyLoc=o[2],r.afterLoc=o[3]),this.tryEntries.push(r)}function R(o){var r=o.completion||{};r.type="normal",delete r.arg,o.completion=r}function D(o){this.tryEntries=[{tryLoc:"root"}],o.forEach(Q,this),this.reset(!0)}function Z(o){if(o||o===""){var r=o[d];if(r)return r.call(o);if(typeof o.next=="function")return o;if(!isNaN(o.length)){var n=-1,u=function c(){for(;++n=0;--c){var l=this.tryEntries[c],p=l.completion;if(l.tryLoc==="root")return u("end");if(l.tryLoc<=this.prev){var g=i.call(l,"catchLoc"),v=i.call(l,"finallyLoc");if(g&&v){if(this.prev=0;--u){var c=this.tryEntries[u];if(c.tryLoc<=this.prev&&i.call(c,"finallyLoc")&&this.prev=0;--n){var u=this.tryEntries[n];if(u.finallyLoc===r)return this.complete(u.completion,u.afterLoc),R(u),x}},catch:function(r){for(var n=this.tryEntries.length-1;n>=0;--n){var u=this.tryEntries[n];if(u.tryLoc===r){var c=u.completion;if(c.type==="throw"){var l=c.arg;R(u)}return l}}throw new Error("illegal catch attempt")},delegateYield:function(r,n,u){return this.delegate={iterator:Z(r),resultName:n,nextLoc:u},this.method==="next"&&(this.arg=e),x}},t}function ue(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),a.push.apply(a,i)}return a}function Kr(e){for(var t=1;te.length)&&(t=e.length);for(var a=0,i=new Array(t);a-1&&b!==null&&b!==void 0&&b.already){var L;s(m.getFieldsValue(!0),(L=b==null?void 0:b.data)!==null&&L!==void 0?L:[],!0)}},k=function(){var x=Xr(St().mark(function A(){var L,P,_,I,M,S,B;return St().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:if(!(i!=null&&i.getQuery&&i!==null&&i!==void 0&&(L=i.getQuery)!==null&&L!==void 0&&L.api)){W.next=9;break}return W.next=3,i.getQuery.api(Kr({},(P=i==null||(_=i.getQuery)===null||_===void 0?void 0:_.appendParams)!==null&&P!==void 0?P:{}));case 3:I=W.sent,M=I.success,S=I.data,M&&S&&(w(function(){return{data:S,already:!0}}),s(m.getFieldsValue(!0),S,!0)),W.next=10;break;case 9:s(m.getFieldsValue(!0),(B=b==null?void 0:b.data)!==null&&B!==void 0?B:[],!0);case 10:case"end":return W.stop()}},A)}));return function(){return x.apply(this,arguments)}}();return(0,K.useEffect)(function(){k()},[]),b!=null&&b.already?(0,j.jsx)(U.Z,{className:"mango-pro-table-query-form",form:m,initialValues:O,labelAlign:"left",name:"form",onFinish:function(){var A;s(m.getFieldsValue(!0),(A=b==null?void 0:b.data)!==null&&A!==void 0?A:[],!0)},onValuesChange:N,children:nn(a)&&a.map(function(x,A){return A!==a.length-1?(0,j.jsx)(ee.Z,{gutter:64,children:x.map(function(L){return(0,j.jsx)(jt.Z,{children:ie(L,b,m)},L.name)})},A):(0,j.jsxs)(ee.Z,{gutter:64,children:[x.map(function(L){return(0,j.jsx)(jt.Z,{children:ie(L,b,m)},L.name)}),(0,j.jsx)(jt.Z,{children:(0,j.jsx)(U.Z.Item,{children:(0,j.jsxs)(bt.Z,{children:[(0,j.jsx)(lt.ZP,{htmlType:"submit",type:"primary",children:"\u67E5\u8BE2"}),(0,j.jsx)(lt.ZP,{onClick:function(){m.resetFields(),s(O,b==null?void 0:b.data,!0)},children:"\u91CD\u7F6E"})]})})})]},A)})}):null},un=an,ct=$(91498),ln=$(56052),cn=$(83873),sn=function(t){var a=t.value,i=t.map;return(0,j.jsxs)("div",{className:"mango-status-node",children:[(0,j.jsx)("span",{className:"mango-status-dot",style:{backgroundColor:(0,ct.Lq)(a,i)}}),(0,j.jsx)("span",{className:"mango-status-node-text",children:(0,ct.id)(a,i)})]})},fn=sn;function hn(e){return mn(e)||pn(e)||yn(e)||dn()}function dn(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yn(e,t){if(e){if(typeof e=="string")return Lt(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Lt(e,t)}}function pn(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function mn(e){if(Array.isArray(e))return Lt(e)}function Lt(e,t){(t==null||t>e.length)&&(t=e.length);for(var a=0,i=new Array(t);a=0;--c){var l=this.tryEntries[c],p=l.completion;if(l.tryLoc==="root")return u("end");if(l.tryLoc<=this.prev){var g=i.call(l,"catchLoc"),v=i.call(l,"finallyLoc");if(g&&v){if(this.prev=0;--u){var c=this.tryEntries[u];if(c.tryLoc<=this.prev&&i.call(c,"finallyLoc")&&this.prev=0;--n){var u=this.tryEntries[n];if(u.finallyLoc===r)return this.complete(u.completion,u.afterLoc),R(u),x}},catch:function(r){for(var n=this.tryEntries.length-1;n>=0;--n){var u=this.tryEntries[n];if(u.tryLoc===r){var c=u.completion;if(c.type==="throw"){var l=c.arg;R(u)}return l}}throw new Error("illegal catch attempt")},delegateYield:function(r,n,u){return this.delegate={iterator:Z(r),resultName:n,nextLoc:u},this.method==="next"&&(this.arg=e),x}},t}function fe(e,t,a,i,s,f,d){try{var m=e[f](d),h=m.value}catch(y){a(y);return}m.done?t(h):Promise.resolve(h).then(i,s)}function he(e){return function(){var t=this,a=arguments;return new Promise(function(i,s){var f=e.apply(t,a);function d(h){fe(f,i,s,d,m,"next",h)}function m(h){fe(f,i,s,d,m,"throw",h)}d(void 0)})}}function de(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),a.push.apply(a,i)}return a}function X(e){for(var t=1;te.length)&&(t=e.length);for(var a=0,i=new Array(t);a0?(0,j.jsx)("div",{className:"mango-pro-table-content",children:o==null||(i=o.list)===null||i===void 0?void 0:i.map(function(J){return L&&L(J)})}):(0,j.jsx)("div",{className:"mango-pro-table-empty-table-content",children:_?_():(0,j.jsx)(te.Z,{image:te.Z.PRESENTED_IMAGE_SIMPLE})})}):null})}),P&&P({tableData:o,getList:function(Y){return T(Y)}})]})})}}]); diff --git a/404.html b/404.html index 71b224b..6546503 100644 --- a/404.html +++ b/404.html @@ -9,6 +9,6 @@
- + \ No newline at end of file diff --git a/MangoFormPassword__demos.b5005651.async.js b/MangoFormPassword__demos.b5005651.async.js new file mode 100644 index 0000000..df3bff8 --- /dev/null +++ b/MangoFormPassword__demos.b5005651.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmango_kit_monorepo=self.webpackChunkmango_kit_monorepo||[]).push([[752],{20230:function(E,o,_){_.r(o);var m=_(28152),r=_.n(m),s=_(15302),d=_(72404),n=_(80789),e=_(11527),t=function(){var a=n.Z.useForm(),l=r()(a,1),u=l[0];return(0,e.jsx)(n.Z,{form:u,onFinish:function(i){console.log(i)},children:(0,e.jsx)(s.fu,{label:["\u65B0\u5BC6\u7801","\u786E\u8BA4\u5BC6\u7801"],popoverProps:{placement:"top"},widthLabel:!0})})};o.default=t}}]); diff --git a/MangoFormPassword__demos.fd7554b9.async.js b/MangoFormPassword__demos.fd7554b9.async.js deleted file mode 100644 index cc4a618..0000000 --- a/MangoFormPassword__demos.fd7554b9.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmango_kit_monorepo=self.webpackChunkmango_kit_monorepo||[]).push([[752],{20230:function(E,o,_){_.r(o);var e=_(28152),s=_.n(e),r=_(15302),d=_(72404),n=_(80789),m=_(11527),t=function(){var a=n.Z.useForm(),u=s()(a,1),l=u[0];return(0,m.jsx)(n.Z,{form:l,onFinish:function(i){console.log(i)},children:(0,m.jsx)(r.fu,{})})};o.default=t}}]); diff --git a/MangoProTable__demos.a7f8f92b.async.js b/MangoProTable__demos.a7f8f92b.async.js deleted file mode 100644 index 99bdf86..0000000 --- a/MangoProTable__demos.a7f8f92b.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmango_kit_monorepo=self.webpackChunkmango_kit_monorepo||[]).push([[864],{67815:function(L,v,t){t.r(v);var P=t(13448),u=t.n(P),M=t(74815),m=t.n(M),D=t(50959),C=t(15302),E=t(91498),k=t(72404),T=t(54187),A=t(23815),R=t(23993),g=t(92819),B=t(21262),y=t(90674),c=t.n(y),l=t(11527),_=[{label:"\u5F85\u5904\u7406",value:1,color:"#FA8C16"},{label:"\u5904\u7406\u4E2D",value:2,color:"#2492FF"},{label:"\u5DF2\u5904\u7406",value:3,color:"#52C41A"}],f=[{label:"\u5929\u732B",value:1,color:"#FA8C16"},{label:"\u6DD8\u5B9D",value:2,color:"#2492FF"},{label:"\u5C0F\u7A0B\u5E8F",value:3,color:"#52C41A"},{label:"\u8FD9\u662F\u4E00\u4E2A\u8D85\u957F\u7684text\uFF0C\u8FD9\u662F\u4E00\u4E2A\u8D85\u957F\u7684text\uFF0C\u8FD9\u662F\u4E00\u4E2A\u8D85\u957F\u7684text\uFF0C\u8FD9\u662F\u4E00\u4E2A\u8D85\u957F\u7684text\uFF0C\u8FD9\u662F\u4E00\u4E2A\u8D85\u957F\u7684text\uFF0C\u8FD9\u662F\u4E00\u4E2A\u8D85\u957F\u7684text\uFF0C\u8FD9\u662F\u4E00\u4E2A\u8D85\u957F\u7684text\uFF0C\u8FD9\u662F\u4E00\u4E2A\u8D85\u957F\u7684text\uFF0C\u8FD9\u662F\u4E00\u4E2A\u8D85\u957F\u7684text",value:4,color:"#52C41A"}],h={getQuery:function(){var s=m()(u()().mark(function r(){return u()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,E._v)(1e3);case 2:return n.abrupt("return",{success:!0,data:{statusMap:_,orderOriginMap:f},msg:"\u8BF7\u6C42\u6210\u529F"});case 3:case"end":return n.stop()}},r)}));function a(){return s.apply(this,arguments)}return a}(),getList:function(){var s=m()(u()().mark(function r(e){var n,o,d;return u()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,E._v)(1e3);case 2:return o=e.pageSize,d=e.page,console.log(o,d),i.abrupt("return",{success:!0,data:c().mock({"list|5":[{orderNo:c().Random.id(),status:(n=_[0])===null||n===void 0?void 0:n.value,orderOrigin:function(){return f[0].value},createTime:c().Random.datetime()}],total:100}),msg:"\u8BF7\u6C42\u6210\u529F"});case 5:case"end":return i.stop()}},r)}));function a(r){return s.apply(this,arguments)}return a}()},b=function(){var a=(0,D.useRef)(null);return(0,l.jsx)(T.ZP,{locale:B.Z,children:(0,l.jsx)(A.Z,{children:(0,l.jsx)(C.XZ,{columnActions:{width:120,showAliasConfig:{key:"status",map:_},list:[{title:"\u53BB\u5904\u7406",action:function(e,n){var o;a==null||(o=a.current)===null||o===void 0||(o=o.modal)===null||o===void 0||o.confirm({title:"\u5F55\u5165\u65B0\u8BA2\u5355",content:"\u8BF7\u586B\u5199\u8BA2\u5355\u4FE1\u606F",onOk:function(){var d=m()(u()().mark(function i(){return u()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:a.current.refresh();case 1:case"end":return p.stop()}},i)}));function O(){return d.apply(this,arguments)}return O}()})},show:["\u5F85\u5904\u7406"]},{title:"\u67E5\u770B\u8BE6\u60C5",action:function(e,n){n("/detail?id=".concat(e.id,"pageType=view"))},show:["\u5904\u7406\u4E2D","\u5DF2\u5904\u7406"]}]},columns:[{title:"\u8BA2\u5355\u7F16\u53F7",dataIndex:"orderNo",width:220,copyable:!0},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createTime",width:200},{title:"\u8BA2\u5355\u6765\u6E90",dataIndex:"orderOrigin",width:120,valueType:"map",ellipsis:!0,valueEnum:function(e){return e==null?void 0:e.orderOriginMap}},{title:"\u8BA2\u5355\u5904\u7406\u8FDB\u5EA6",dataIndex:"status",width:120,fixed:"right",valueType:"status",valueEnum:_}],pageTips:{type:"info",message:(0,l.jsx)("div",{children:"\u8BF7\u5728\u8BE5\u9875\u9762\u67E5\u8BE2\u60A8\u7684\u5F85\u5904\u7406\u8BA2\u5355"}),showIcon:!0,closable:!0},pageType:"table",queryFormFields:[[{name:"status",label:"\u5904\u7406\u8FDB\u5EA6",type:"mango-form-radio",initialValue:1,optionFilter:function(e){return e==null?void 0:e.statusMap},immediate:!0}],[{name:"orderNo",label:"\u8BA2\u5355\u7F16\u53F7",type:"input",maxLength:50,initialValue:void 0,placeholder:"\u8BF7\u8F93\u5165\u8BA2\u5355\u7F16\u53F7"},{name:"orderOrigin",label:"\u8BA2\u5355\u6765\u6E90",type:"select",initialValue:void 0,placeholder:"\u8BF7\u9009\u62E9\u8BA2\u5355\u6765\u6E90",optionFilter:function(e){return e==null?void 0:e.orderOriginMap},extraFormFieldProps:{tooltip:"\u4E0B\u5355\u7684\u5E73\u53F0"}},{name:"orderCreateTime",label:"\u8BA2\u5355\u521B\u5EFA\u65F6\u95F4",type:"date-range-picker",picker:"date",initialValue:void 0,extraRawFieldProps:{showTime:!0}}]],ref:a,request:{getQuery:{api:h.getQuery,appendParams:{type:1}},getList:{api:h.getList}},rowKey:"orderNo",toolBarRender:function(){return(0,l.jsxs)(R.Z,{children:[(0,l.jsx)(g.ZP,{type:"primary",onClick:function(){},children:"\u65B0\u5EFA\u8BA2\u5355"},"button"),(0,l.jsx)(g.ZP,{onClick:function(){},children:"\u6279\u91CF\u4E0B\u8F7D\u6570\u636E"},"button")]})}})})})};v.default=b}}]); diff --git a/MangoProTable__demos.ae6c7e55.async.js b/MangoProTable__demos.ae6c7e55.async.js new file mode 100644 index 0000000..227fd02 --- /dev/null +++ b/MangoProTable__demos.ae6c7e55.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmango_kit_monorepo=self.webpackChunkmango_kit_monorepo||[]).push([[864],{67815:function(L,E,t){t.r(E);var M=t(13448),u=t.n(M),D=t(74815),c=t.n(D),C=t(50959),T=t(15302),g=t(91498),k=t(72404),A=t(54187),R=t(23815),B=t(23993),f=t(92819),y=t(21262),b=t(90674),p=t.n(b),l=t(11527),_=[{label:"\u5F85\u5904\u7406",value:1,color:"#FA8C16"},{label:"\u5904\u7406\u4E2D",value:2,color:"#2492FF"},{label:"\u5DF2\u5904\u7406",value:3,color:"#52C41A"}],h=[{label:"\u5929\u732B",value:1,color:"#FA8C16"},{label:"\u6DD8\u5B9D",value:2,color:"#2492FF"},{label:"\u5C0F\u7A0B\u5E8F",value:3,color:"#52C41A"},{label:"\u8FD9\u662F\u4E00\u4E2A\u8D85\u957F\u7684text\uFF0C\u8FD9\u662F\u4E00\u4E2A\u8D85\u957F\u7684text\uFF0C\u8FD9\u662F\u4E00\u4E2A\u8D85\u957F\u7684text\uFF0C\u8FD9\u662F\u4E00\u4E2A\u8D85\u957F\u7684text\uFF0C\u8FD9\u662F\u4E00\u4E2A\u8D85\u957F\u7684text\uFF0C\u8FD9\u662F\u4E00\u4E2A\u8D85\u957F\u7684text\uFF0C\u8FD9\u662F\u4E00\u4E2A\u8D85\u957F\u7684text\uFF0C\u8FD9\u662F\u4E00\u4E2A\u8D85\u957F\u7684text\uFF0C\u8FD9\u662F\u4E00\u4E2A\u8D85\u957F\u7684text",value:4,color:"#52C41A"}],P={getQuery:function(){var s=c()(u()().mark(function a(){return u()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,g._v)(1e3);case 2:return n.abrupt("return",{success:!0,data:{statusMap:_,orderOriginMap:h},msg:"\u8BF7\u6C42\u6210\u529F"});case 3:case"end":return n.stop()}},a)}));function r(){return s.apply(this,arguments)}return r}(),getList:function(){var s=c()(u()().mark(function a(e){var n,o,d;return u()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,g._v)(1e3);case 2:return o=e.pageSize,d=e.page,console.log(o,d),i.abrupt("return",{success:!0,data:p().mock({"list|5":[{orderNo:p().Random.id(),status:(n=_[0])===null||n===void 0?void 0:n.value,orderOrigin:function(){return h[0].value},createTime:p().Random.datetime()}],total:100}),msg:"\u8BF7\u6C42\u6210\u529F"});case 5:case"end":return i.stop()}},a)}));function r(a){return s.apply(this,arguments)}return r}()},I=function(){var r=(0,C.useRef)(null);return(0,l.jsx)(A.ZP,{locale:y.Z,children:(0,l.jsx)(R.Z,{children:(0,l.jsx)(T.XZ,{columnActions:{width:120,showAliasConfig:{key:"status",map:_},list:[{title:"\u53BB\u5904\u7406",action:function(e,n){var o;r==null||(o=r.current)===null||o===void 0||(o=o.modal)===null||o===void 0||o.confirm({title:"\u5F55\u5165\u65B0\u8BA2\u5355",content:"\u8BF7\u586B\u5199\u8BA2\u5355\u4FE1\u606F",onOk:function(){var d=c()(u()().mark(function i(){var m;return u()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:r==null||(m=r.current)===null||m===void 0||m.refresh();case 1:case"end":return v.stop()}},i)}));function O(){return d.apply(this,arguments)}return O}()})},show:["\u5F85\u5904\u7406"]},{title:"\u67E5\u770B\u8BE6\u60C5",action:function(e,n){n("/detail?id=".concat(e.id,"pageType=view"))},show:["\u5904\u7406\u4E2D","\u5DF2\u5904\u7406"]}]},columns:[{title:"\u8BA2\u5355\u7F16\u53F7",dataIndex:"orderNo",width:220,copyable:!0},{title:"\u8BA2\u5355\u521B\u5EFA\u65F6\u95F4",dataIndex:"createTime",width:200},{title:"\u8BA2\u5355\u6765\u6E90",dataIndex:"orderOrigin",width:120,valueType:"map",ellipsis:!0,valueEnum:function(e){return e==null?void 0:e.orderOriginMap}},{title:"\u8BA2\u5355\u5904\u7406\u8FDB\u5EA6",dataIndex:"status",width:120,fixed:"right",valueType:"status",valueEnum:_}],pageTips:{type:"info",message:(0,l.jsx)("div",{children:"\u8BF7\u5728\u8BE5\u9875\u9762\u67E5\u8BE2\u60A8\u7684\u5F85\u5904\u7406\u8BA2\u5355"}),showIcon:!0,closable:!0},pageType:"table",queryFormFields:[[{name:"status",label:"\u5904\u7406\u8FDB\u5EA6",type:"radio",initialValue:1,optionFilter:function(e){return e==null?void 0:e.statusMap},immediate:!0}],[{name:"orderNo",label:"\u8BA2\u5355\u7F16\u53F7",type:"input",maxLength:50,initialValue:void 0,placeholder:"\u8BF7\u8F93\u5165\u8BA2\u5355\u7F16\u53F7"},{name:"orderOrigin",label:"\u8BA2\u5355\u6765\u6E90",type:"select",initialValue:void 0,placeholder:"\u8BF7\u9009\u62E9\u8BA2\u5355\u6765\u6E90",optionFilter:function(e){return e==null?void 0:e.orderOriginMap},extraFormFieldProps:{tooltip:"\u4E0B\u5355\u7684\u5E73\u53F0"}},{name:"orderCreateTime",label:"\u8BA2\u5355\u521B\u5EFA\u65F6\u95F4",type:"date-range-picker",picker:"date",initialValue:void 0,extraRawFieldProps:{showTime:!0}}]],ref:r,request:{getQuery:{api:P.getQuery,appendParams:{type:1}},getList:{api:P.getList}},rowKey:"orderNo",toolBarRender:function(){return(0,l.jsxs)(B.Z,{children:[(0,l.jsx)(f.ZP,{type:"primary",onClick:function(){},children:"\u65B0\u5EFA\u8BA2\u5355"},"button"),(0,l.jsx)(f.ZP,{onClick:function(){},children:"\u6279\u91CF\u4E0B\u8F7D\u6570\u636E"},"button")]})}})})})};E.default=I}}]); diff --git a/build-manifest.json b/build-manifest.json index 5de01eb..6eb7de4 100644 --- a/build-manifest.json +++ b/build-manifest.json @@ -5,15 +5,15 @@ "public/logo.png": "/mango-kit/logo.png", "public/logo.svg": "/mango-kit/logo.svg", "umi.css": "/mango-kit/umi.f264dec0.css", - "umi.js": "/mango-kit/umi.4c5c497d.js", + "umi.js": "/mango-kit/umi.55517b3a.js", "LoadableButton__demos.js": "/mango-kit/LoadableButton__demos.c53455f2.async.js", "LoadableSwitch__demos.js": "/mango-kit/LoadableSwitch__demos.c55c2254.async.js", "MangoFormNumber__demos.js": "/mango-kit/MangoFormNumber__demos.f5cffda0.async.js", - "MangoFormPassword__demos.js": "/mango-kit/MangoFormPassword__demos.fd7554b9.async.js", + "MangoFormPassword__demos.js": "/mango-kit/MangoFormPassword__demos.b5005651.async.js", "MangoFormRadio__demos.js": "/mango-kit/MangoFormRadio__demos.944390aa.async.js", - "MangoProTable__demos.js": "/mango-kit/MangoProTable__demos.a7f8f92b.async.js", + "MangoProTable__demos.js": "/mango-kit/MangoProTable__demos.ae6c7e55.async.js", "nm__dumi__dist__client__pages__404.js": "/mango-kit/nm__dumi__dist__client__pages__404.f06c8189.async.js", - "dumi__tmp-production__dumi__theme__ContextWrapper.js": "/mango-kit/dumi__tmp-production__dumi__theme__ContextWrapper.15fcae50.async.js", + "dumi__tmp-production__dumi__theme__ContextWrapper.js": "/mango-kit/dumi__tmp-production__dumi__theme__ContextWrapper.8a9c677e.async.js", "nm__dumi__theme-default__layouts__DocLayout__index.js": "/mango-kit/nm__dumi__theme-default__layouts__DocLayout__index.e444a068.async.js", "docs__components__index.md.js": "/mango-kit/docs__components__index.md.2faf4d97.async.js", "docs__utils__index.md.js": "/mango-kit/docs__utils__index.md.e540bcd2.async.js", diff --git a/components/LoadableButton/index.html b/components/LoadableButton/index.html index 924f102..150ae8f 100644 --- a/components/LoadableButton/index.html +++ b/components/LoadableButton/index.html @@ -10,6 +10,6 @@
- + - \ No newline at end of file + \ No newline at end of file diff --git a/components/LoadableSwitch/index.html b/components/LoadableSwitch/index.html index f893a24..567c40d 100644 --- a/components/LoadableSwitch/index.html +++ b/components/LoadableSwitch/index.html @@ -10,6 +10,6 @@
- + - \ No newline at end of file + \ No newline at end of file diff --git a/components/MangoFormNumber/index.html b/components/MangoFormNumber/index.html index 79054d4..4454496 100644 --- a/components/MangoFormNumber/index.html +++ b/components/MangoFormNumber/index.html @@ -10,6 +10,6 @@
- + - \ No newline at end of file + \ No newline at end of file diff --git a/components/MangoFormPassword/index.html b/components/MangoFormPassword/index.html index 35edd85..d575a49 100644 --- a/components/MangoFormPassword/index.html +++ b/components/MangoFormPassword/index.html @@ -10,6 +10,6 @@
- + - \ No newline at end of file + \ No newline at end of file diff --git a/components/MangoFormRadio/index.html b/components/MangoFormRadio/index.html index 830d21d..0d88349 100644 --- a/components/MangoFormRadio/index.html +++ b/components/MangoFormRadio/index.html @@ -10,6 +10,6 @@
- + - \ No newline at end of file + \ No newline at end of file diff --git a/components/MangoProTable/index.html b/components/MangoProTable/index.html index 6b5aa03..4c7f756 100644 --- a/components/MangoProTable/index.html +++ b/components/MangoProTable/index.html @@ -10,6 +10,6 @@
- + - \ No newline at end of file + \ No newline at end of file diff --git a/components/SvgIcon/index.html b/components/SvgIcon/index.html index ae1aac0..7111552 100644 --- a/components/SvgIcon/index.html +++ b/components/SvgIcon/index.html @@ -10,7 +10,7 @@
- + -