cloud-ui-cqw 0.0.9 → 0.0.10
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/dist/cloud-ui-cqw.es.js
CHANGED
|
@@ -2780,6 +2780,7 @@ const yr = /* @__PURE__ */ N({
|
|
|
2780
2780
|
}, null), l("span", null, [e.name])]);
|
|
2781
2781
|
}
|
|
2782
2782
|
}), mr = /* @__PURE__ */ N({
|
|
2783
|
+
name: "search",
|
|
2783
2784
|
components: {
|
|
2784
2785
|
DoubleRightOutlined: xe,
|
|
2785
2786
|
DoubleLeftOutlined: Se
|
|
@@ -3110,6 +3111,7 @@ const mt = [{
|
|
|
3110
3111
|
text: "编辑",
|
|
3111
3112
|
isShow: !0
|
|
3112
3113
|
}], It = /* @__PURE__ */ N({
|
|
3114
|
+
name: "CloudTable",
|
|
3113
3115
|
props: ["props"],
|
|
3114
3116
|
setup(e, {
|
|
3115
3117
|
emit: n
|
package/dist/cloud-ui-cqw.umd.js
CHANGED
|
@@ -54,4 +54,4 @@
|
|
|
54
54
|
}
|
|
55
55
|
`;function it(e){return e&&e.getRootNode&&e.getRootNode()}function tr(e){return Pe()?it(e)instanceof ShadowRoot:!1}function rr(e){return tr(e)?it(e):null}var nr=function(){var r=Ke(),t=r.prefixCls,o=r.csp,l=n.getCurrentInstance(),s=er;t&&(s=s.replace(/anticon/g,t.value)),n.nextTick(function(){if(Pe()){var d=l.vnode.el,c=rr(d);Xt(s,"@ant-design-vue-icons",{prepend:!0,csp:o.value,attachTo:c})}})},or=["icon","primaryColor","secondaryColor"];function ar(e,r){if(e==null)return{};var t=lr(e,r),o,l;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(l=0;l<s.length;l++)o=s[l],!(r.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(t[o]=e[o])}return t}function lr(e,r){if(e==null)return{};var t={},o=Object.keys(e),l,s;for(s=0;s<o.length;s++)l=o[s],!(r.indexOf(l)>=0)&&(t[l]=e[l]);return t}function ge(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?Object(arguments[r]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),o.forEach(function(l){sr(e,l,t[l])})}return e}function sr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var re=n.reactive({primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1});function ir(e){var r=e.primaryColor,t=e.secondaryColor;re.primaryColor=r,re.secondaryColor=t||lt(r),re.calculated=!!t}function cr(){return ge({},re)}var J=function(r,t){var o=ge({},r,t.attrs),l=o.icon,s=o.primaryColor,d=o.secondaryColor,c=ar(o,or),p=re;if(s&&(p={primaryColor:s,secondaryColor:d||lt(s)}),Kt(at(l),"icon should be icon definiton, but got ".concat(l)),!at(l))return null;var f=l;return f&&typeof f.icon=="function"&&(f=ge({},f,{icon:f.icon(p.primaryColor,p.secondaryColor)})),Me(f.icon,"svg-".concat(f.name),ge({},c,{"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"}))};J.props={icon:Object,primaryColor:String,secondaryColor:String,focusable:String},J.inheritAttrs=!1,J.displayName="IconBase",J.getTwoToneColors=cr,J.setTwoToneColors=ir;function pr(e,r){return hr(e)||fr(e,r)||ur(e,r)||dr()}function dr(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
56
56
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ur(e,r){if(e){if(typeof e=="string")return ct(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return ct(e,r)}}function ct(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,o=new Array(r);t<r;t++)o[t]=e[t];return o}function fr(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var o=[],l=!0,s=!1,d,c;try{for(t=t.call(e);!(l=(d=t.next()).done)&&(o.push(d.value),!(r&&o.length===r));l=!0);}catch(p){s=!0,c=p}finally{try{!l&&t.return!=null&&t.return()}finally{if(s)throw c}}return o}}function hr(e){if(Array.isArray(e))return e}function pt(e){var r=st(e),t=pr(r,2),o=t[0],l=t[1];return J.setTwoToneColors({primaryColor:o,secondaryColor:l})}function gr(){var e=J.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var br=n.defineComponent({name:"InsertStyles",setup:function(){return nr(),function(){return null}}}),mr=["class","icon","spin","rotate","tabindex","twoToneColor","onClick"];function yr(e,r){return Vr(e)||Nr(e,r)||wr(e,r)||Cr()}function Cr(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
57
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wr(e,r){if(e){if(typeof e=="string")return dt(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return dt(e,r)}}function dt(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,o=new Array(r);t<r;t++)o[t]=e[t];return o}function Nr(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var o=[],l=!0,s=!1,d,c;try{for(t=t.call(e);!(l=(d=t.next()).done)&&(o.push(d.value),!(r&&o.length===r));l=!0);}catch(p){s=!0,c=p}finally{try{!l&&t.return!=null&&t.return()}finally{if(s)throw c}}return o}}function Vr(e){if(Array.isArray(e))return e}function ut(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?Object(arguments[r]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),o.forEach(function(l){ne(e,l,t[l])})}return e}function ne(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Or(e,r){if(e==null)return{};var t=Sr(e,r),o,l;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(l=0;l<s.length;l++)o=s[l],!(r.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(t[o]=e[o])}return t}function Sr(e,r){if(e==null)return{};var t={},o=Object.keys(e),l,s;for(s=0;s<o.length;s++)l=o[s],!(r.indexOf(l)>=0)&&(t[l]=e[l]);return t}pt(Bt.primary);var E=function(r,t){var o,l=ut({},r,t.attrs),s=l.class,d=l.icon,c=l.spin,p=l.rotate,f=l.tabindex,a=l.twoToneColor,b=l.onClick,O=Or(l,mr),i=Ke(),C=i.prefixCls,k=i.rootClassName,T=(o={},ne(o,k.value,!!k.value),ne(o,C.value,!0),ne(o,"".concat(C.value,"-").concat(d.name),!!d.name),ne(o,"".concat(C.value,"-spin"),!!c||d.name==="loading"),o),D=f;D===void 0&&b&&(D=-1);var A=p?{msTransform:"rotate(".concat(p,"deg)"),transform:"rotate(".concat(p,"deg)")}:void 0,y=st(a),x=yr(y,2),P=x[0],$=x[1];return n.createVNode("span",ut({role:"img","aria-label":d.name},O,{onClick:b,class:[T,s],tabindex:D}),[n.createVNode(J,{icon:d,primaryColor:P,secondaryColor:$,style:A},null),n.createVNode(br,null,null)])};E.props={spin:Boolean,rotate:Number,icon:Object,twoToneColor:[String,Array]},E.displayName="AntdIcon",E.inheritAttrs=!1,E.getTwoToneColor=gr,E.setTwoToneColor=pt;var xr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};function ft(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?Object(arguments[r]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),o.forEach(function(l){vr(e,l,t[l])})}return e}function vr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var be=function(r,t){var o=ft({},r,t.attrs);return n.createVNode(E,ft({},o,{icon:xr}),null)};be.displayName="DoubleLeftOutlined",be.inheritAttrs=!1;var $r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};function ht(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?Object(arguments[r]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),o.forEach(function(l){kr(e,l,t[l])})}return e}function kr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var me=function(r,t){var o=ht({},r,t.attrs);return n.createVNode(E,ht({},o,{icon:$r}),null)};me.displayName="DoubleRightOutlined",me.inheritAttrs=!1;var Pr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};function gt(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?Object(arguments[r]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),o.forEach(function(l){Tr(e,l,t[l])})}return e}function Tr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var De=function(r,t){var o=gt({},r,t.attrs);return n.createVNode(E,gt({},o,{icon:Pr}),null)};De.displayName="DownOutlined",De.inheritAttrs=!1;var Lr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};function bt(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?Object(arguments[r]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),o.forEach(function(l){Mr(e,l,t[l])})}return e}function Mr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var Ae=function(r,t){var o=bt({},r,t.attrs);return n.createVNode(E,bt({},o,{icon:Lr}),null)};Ae.displayName="PlusOutlined",Ae.inheritAttrs=!1;var Dr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"};function mt(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?Object(arguments[r]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),o.forEach(function(l){Ar(e,l,t[l])})}return e}function Ar(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var je=function(r,t){var o=mt({},r,t.attrs);return n.createVNode(E,mt({},o,{icon:Dr}),null)};je.displayName="RedoOutlined",je.inheritAttrs=!1;var jr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M793 242H366v-74c0-6.7-7.7-10.4-12.9-6.3l-142 112a8 8 0 000 12.6l142 112c5.2 4.1 12.9.4 12.9-6.3v-74h415v470H175c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h618c35.3 0 64-28.7 64-64V306c0-35.3-28.7-64-64-64z"}}]},name:"rollback",theme:"outlined"};function yt(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?Object(arguments[r]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),o.forEach(function(l){_r(e,l,t[l])})}return e}function _r(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var oe=function(r,t){var o=yt({},r,t.attrs);return n.createVNode(E,yt({},o,{icon:jr}),null)};oe.displayName="RollbackOutlined",oe.inheritAttrs=!1;var Fr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"};function Ct(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?Object(arguments[r]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),o.forEach(function(l){zr(e,l,t[l])})}return e}function zr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var _e=function(r,t){var o=Ct({},r,t.attrs);return n.createVNode(E,Ct({},o,{icon:Fr}),null)};_e.displayName="SettingOutlined",_e.inheritAttrs=!1;var Ir={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};function wt(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?Object(arguments[r]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),o.forEach(function(l){Wr(e,l,t[l])})}return e}function Wr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var Fe=function(r,t){var o=wt({},r,t.attrs);return n.createVNode(E,wt({},o,{icon:Ir}),null)};Fe.displayName="UpOutlined",Fe.inheritAttrs=!1;const Rr=n.defineComponent({props:["props"],components:{DownOutlined:De,UpOutlined:Fe},data(){return{showIcon:!1,isOpen:!1,clientWidth:"",setfun:null}},mounted(){},methods:{toggle(){this.isOpen=!this.isOpen}},setup(){return{}},render(){const{text:e,className:r,value:t,label:o,item:l}=this.props;return n.withDirectives(n.createVNode("div",{ref:"text",class:`${r}${this.showIcon?" bpy-formitem-ellipsis":""} bpy-formitem-text-box bpy-formitem-text-ellipsis-box`},[n.createVNode("div",{class:"bpy-formitem-text"},[o,n.createTextVNode(" :"),t]),this.showIcon?n.createVNode(n.resolveComponent("a-popover"),{placement:"bottomRight",trigger:"click",visible:this.isOpen,"onUpdate:visible":s=>this.isOpen=s,content:n.createVNode("div",{class:"bpy-formitem-text-pop-box"},[n.createVNode(n.resolveComponent("a-tag"),{class:"themeTagColor"},{default:()=>[this.props.label]}),n.createVNode("div",{class:"bpy-formitem-text-pop-content"},[this.props.value])]),getPopupContainer:s=>document.getElementsByClassName("bpy-formitem-content")[0]},{default:()=>[n.createVNode(n.resolveComponent("a-button"),{type:"link",onClick:()=>this.toggle()},{default:()=>[this.isOpen?n.createVNode(n.Fragment,null,[n.createTextVNode("折叠"),n.createVNode(n.resolveComponent("up-outlined"),null,null)]):n.createVNode(n.Fragment,null,[n.createTextVNode("展开"),n.createVNode(n.resolveComponent("down-outlined"),null,null)])]})]}):""]),[[n.resolveDirective("resize"),({width:s,height:d})=>{const c=d,p=s;if(c>24){this.showIcon=!0,this.clientWidth=p;return}if(this.clientWidth&&p!=this.clientWidth){p>this.clientWidth?(this.showIcon=!1,this.clientWidth=p,this.setfun&&clearTimeout(this.setfun),this.setfun=setTimeout(()=>{this.$refs.text.clientHeight>22?this.showIcon=!0:(this.showIcon=!1,this.isOpen=!1)})):(this.clientWidth=p,this.$refs.text.clientHeight>22?this.showIcon=!0:(this.showIcon=!1,this.isOpen=!1));return}}]])}}),Er=n.defineComponent({props:["props"],setup(e,r){const t=n.ref(null),o=n.ref(null),l=n.reactive({descriptionsColumn:3,fieldList:[],otherContentWidth:null,otherList:[],labelWidth:null}),s=n.computed(()=>{let b=[];const O=e.props.fieldList.filter(i=>(i.content?.type?.name=="WeUpload"||i.span)&&i.isShow!=!1);return e.props.isSpecial||O.forEach(i=>{const C=e.props.fieldList.findIndex(k=>k.label==i.label);e.props.fieldList.splice(C,1)}),b=e.props.fieldList.filter(i=>i.isShow!=!1).filter(i=>!i.span),c(),[b,O]}),d=()=>{var b=document.body.clientWidth;b>=1920&&(l.descriptionsColumn=3),b<1920&&(l.descriptionsColumn=2),b<950&&(l.descriptionsColumn=1)},c=()=>{n.nextTick(()=>{t.value.querySelectorAll(".ant-descriptions-item-label").forEach(O=>{l.labelWidth=l.labelWidth<O.offsetWidth?O.offsetWidth:l.labelWidth})})};n.onMounted(()=>{d(),window.addEventListener("resize",d),p()}),n.onUnmounted(()=>{window.removeEventListener("resize",d)});const p=()=>{const b=new ResizeObserver(i=>{i.forEach(C=>{const k=C.target,{width:T,height:D}=k.getBoundingClientRect(),A=l.labelWidth>200?200:l.labelWidth;l.otherContentWidth=l.descriptionsColumn==3?`${Math.floor(T/3)-A}px`:null})}),O=document.querySelector(".defaultDescriptions");O&&b.observe(O)},f=b=>{if(l.descriptionsColumn==3)return b%3==0;if(l.descriptionsColumn==2||l.descriptionsColumn==1)return null},a=b=>{if(b.length%3!=0)return b.length%3};return()=>n.createVNode("div",{class:"WeFromView",ref:t},[n.createVNode(n.resolveComponent("a-descriptions"),{ref:o,colon:!1,bordered:!0,column:l.descriptionsColumn,class:"defaultDescriptions"},{default:()=>[s.value?.[0].map((b,O,i)=>n.createVNode(n.resolveComponent("a-descriptions-item"),{labelStyle:{minWidth:`${l.labelWidth}px`},contentStyle:{minWidth:f(O)&&a(s.value?.[0])==2?l.otherContentWidth:null,maxWidth:f(O)&&a(s.value?.[0])==2?l.otherContentWidth:null},label:b.label},{default:()=>[b?.content||e.props.form[b?.prop]||"-"]}))]}),!!s.value?.[1].length&&n.createVNode(n.resolveComponent("a-descriptions"),{class:"imageDescriptions",colon:!1,bordered:!0,column:l.descriptionsColumn},{default:()=>[s.value?.[1].map(b=>n.createVNode(n.resolveComponent("a-descriptions-item"),{labelStyle:{minWidth:`${l.labelWidth}px`},span:3,label:b.label},{default:()=>[b?.content||e.props.form[b?.prop]||"-"]}))]})])}}),Br=n.defineComponent({props:{data:Object,item:Object,popupContainer:String},components:{RollbackOutlined:oe},data(){return{showInput:!1,openSelect:!1}},watch:{selectOptions:{handler(e,r){this.data[this.item?.prop]==-999999?this.showInput=!0:this.data[this.item?.prop]&&(this.selectOptions.find(o=>o[this.item?.fieldNames?.value||this.item?.optVal||"value"]==this.data[this.item?.prop])?this.showInput=!1:this.showInput=!0)},immediate:!0},selectId:{handler(e,r){this.data[this.item?.prop]==-999999?this.showInput=!0:this.data[this.item?.prop]&&(this.selectOptions.find(o=>o[this.item?.fieldNames?.value||this.item?.optVal||"value"]==this.data[this.item?.prop])?this.showInput=!1:this.showInput=!0)},immediate:!0}},computed:{selectId:{set(e){this.data[this.item?.prop]=e},get(){return this.data[this.item?.prop]}},selectOptions(){return[...this.item.options||[],{[this.item?.fieldNames?.value||this.item?.optVal||"value"]:-999999,[this.item?.fieldNames?.label||this.item?.optLabel||"label"]:"其它"}]}},mounted(){},methods:{renderSelect(e,r){const t=this.popupContainer==="body"?document.body:document.getElementsByClassName(this.popupContainer)?.[0];return n.createVNode(n.resolveComponent("a-select"),n.mergeProps({ref:"selectRef",value:this.selectId,"onUpdate:value":o=>this.selectId=o,placeholder:r.placeholder,type:r?.type,maxTagCount:1,showArrow:!0,style:r?.style,size:r?.size?r?.size:this.size,mode:r?.mode?r.mode:"combobox",showSearch:"showSearch"in r?r.showSearch:!0,optionFilterProp:r?.fieldNames&&r.fieldNames?.label||(r?.optLabel?r.optLabel:"label"),allowClear:r?.allowClear?r?.allowClear:!0},r,{defaultOpen:this.openSelect,options:this.selectOptions,onChange:o=>{o==-999999&&(e[r?.prop]=void 0,this.showInput=!0,setTimeout(()=>{this.$refs.inputRef?.focus(),this.openSelect=!1},0)),r.onChange?.(o)},fieldNames:r?.fieldNames?r?.fieldNames:{options:"children",label:r?.optLabel?r.optLabel:"label",value:r?.optVal?r.optVal:"value"},getPopupContainer:o=>this.popupContainer?t:o.offsetParent}),r.slots)},renderInput(e,r){return n.createVNode(n.resolveComponent("a-input"),n.mergeProps({value:e[r.prop],"onUpdate:value":t=>e[r.prop]=t,ref:"inputRef",colon:!0,type:r?.type,style:r?.style,maxlength:50},r,{placeholder:"请输入"+r.label,suffix:n.createVNode(n.resolveComponent("a-tooltip"),{placement:"topLeft",title:"点击重新选择"},{default:()=>[n.createVNode(oe,{onClick:()=>{e[r?.prop]=void 0,this.openSelect=!0,this.showInput=!1,r.onChange?.()}},null)]})}),null)}},setup(){return{}},render(){return this.showInput?this.renderInput(this.data,this.item):this.renderSelect(this.data,this.item)}}),Yr=n.defineComponent({props:{data:Object,item:Object,className:String,popupContainer:String},data(){return{showInput:!1}},computed:{selectId:{set(e){this.data[this.item?.prop]=e},get(){return this.data[this.item?.prop]}},selectOptions(){return[...this.item.options,{[this.item?.fieldNames?.value||this.item?.optVal||"value"]:-999999,[this.item?.fieldNames?.label||this.item?.optLabel||"label"]:"其它"}]}},mounted(){},methods:{renderSelect(e,r){const t=this.popupContainer==="body"?document.body:document.getElementsByClassName(this.popupContainer)?.[0];return n.createVNode(n.resolveComponent("a-form-item"),{colon:!0,class:this.className,label:r?.label,name:r?.name||r?.prop,extra:r?.extra,rules:r.rules},{default:()=>[n.createVNode(n.resolveComponent("a-select"),n.mergeProps({value:this.selectId,"onUpdate:value":o=>this.selectId=o,placeholder:r.placeholder,type:r?.type,maxTagCount:1,showArrow:!0,style:r?.style,size:r?.size?r?.size:this.size,mode:r?.mode?r.mode:"combobox",showSearch:"showSearch"in r?r.showSearch:!0,optionFilterProp:r?.fieldNames&&r.fieldNames?.label||(r?.optLabel?r.optLabel:"label"),allowClear:r?.allowClear?r?.allowClear:!0},r,{options:this.selectOptions,onChange:o=>{o==-999999?this.showInput=!0:(this.showInput=!1,e[r?.inputProp??r.prop+"_name"]=void 0),r.onChange?.(o)},fieldNames:r?.fieldNames?r?.fieldNames:{options:"children",label:r?.optLabel?r.optLabel:"label",value:r?.optVal?r.optVal:"value"},getPopupContainer:o=>this.popupContainer?t:o.offsetParent}),r.slots)]})},renderInput(e,r){return n.createVNode(n.resolveComponent("a-form-item"),{name:r?.inputProp??r.prop+"_name",label:this.item?.label,extra:r?.extra,rules:r.rules,class:this.className},{default:()=>[n.createVNode(n.resolveComponent("a-input"),n.mergeProps({value:e[r?.inputProp??r.prop+"_name"],"onUpdate:value":t=>e[r?.inputProp??r.prop+"_name"]=t,placeholder:r.placeholder,colon:!0,style:r?.style,maxlength:50},r),null)]})}},setup(){return{}},render(){return n.createVNode(n.Fragment,null,[this.renderSelect(this.data,this.item),this.showInput?this.renderInput(this.data,this.item):""])}}),Ur=n.defineComponent({props:{data:Object,item:Object,popupContainer:String},components:{RollbackOutlined:oe},data(){return{showInput:!1,otherOption:""}},computed:{selectId:{set(e){this.data[this.item?.prop]=e},get(){return this.data[this.item?.prop]}},selectOptions(){return this.data[this.item?.prop]&&!this.item.options.find(r=>r[this.item?.fieldNames?.value||this.item?.optVal||"value"]==this.data[this.item?.prop])?[...this.item.options,{[this.item?.fieldNames?.value||this.item?.optVal||"value"]:this.data[this.item?.prop],[this.item?.fieldNames?.label||this.item?.optLabel||"label"]:this.data[this.item?.prop]}]:this.item.options}},mounted(){},methods:{renderSelect(e,r){const t=this.popupContainer==="body"?document.body:document.getElementsByClassName(this.popupContainer)?.[0];return n.createVNode(n.resolveComponent("a-select"),n.mergeProps({value:this.selectId,"onUpdate:value":o=>this.selectId=o,placeholder:r.placeholder,type:r?.type,showArrow:!0,style:r?.style,size:r?.size?r?.size:this.size,mode:r?.mode?r.mode:"combobox",optionFilterProp:r?.fieldNames&&r.fieldNames?.label||(r?.optLabel?r.optLabel:"label"),allowClear:r?.allowClear?r?.allowClear:!0},r,{options:this.selectOptions,onChange:o=>{r.onChange?.(o)},showSearch:!1,fieldNames:r?.fieldNames?r?.fieldNames:{options:"children",label:r?.optLabel?r.optLabel:"label",value:r?.optVal?r.optVal:"value"},dropdownRender:({menuNode:o})=>n.createVNode(n.Fragment,null,[o,n.createVNode(n.resolveComponent("a-divider"),{style:"margin: 4px 0"},null),n.createVNode("div",{onClick:l=>(l.stopPropagation(),!1),style:"display:flex"},[n.createVNode(n.resolveComponent("a-space"),{style:"padding: 4px 8px"},{default:()=>[n.createVNode(n.resolveComponent("a-input"),{ref:"inputRef",value:this.otherOption,"onUpdate:value":l=>this.otherOption=l,placeholder:"请输入其他字段"},null),n.createVNode(n.resolveComponent("a-button"),{type:"text",onClick:this.addItem},{default:()=>[n.createTextVNode("新增")]})]})])]),getPopupContainer:o=>this.popupContainer?t:o.offsetParent}),r.slots)},addItem(e){e.preventDefault(),this.item.options.push({[this.item?.fieldNames?.value||this.item?.optVal||"value"]:this.otherOption,[this.item?.fieldNames?.label||this.item?.optLabel||"label"]:this.otherOption}),this.otherOption="",setTimeout(()=>{this.$refs.inputRef?.focus()},0)}},setup(){return{}},render(){return this.renderSelect(this.data,this.item)}});function Hr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ye={exports:{}},qr=ye.exports,Nt;function Gr(){return Nt||(Nt=1,(function(e,r){(function(t,o){e.exports=o()})(qr,(function(){var t=1e3,o=6e4,l=36e5,s="millisecond",d="second",c="minute",p="hour",f="day",a="week",b="month",O="quarter",i="year",C="date",k="Invalid Date",T=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,D=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,A={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(w){var g=["th","st","nd","rd"],u=w%100;return"["+w+(g[(u-20)%10]||g[u]||g[0])+"]"}},y=function(w,g,u){var m=String(w);return!m||m.length>=g?w:""+Array(g+1-m.length).join(u)+w},x={s:y,z:function(w){var g=-w.utcOffset(),u=Math.abs(g),m=Math.floor(u/60),h=u%60;return(g<=0?"+":"-")+y(m,2,"0")+":"+y(h,2,"0")},m:function w(g,u){if(g.date()<u.date())return-w(u,g);var m=12*(u.year()-g.year())+(u.month()-g.month()),h=g.clone().add(m,b),N=u-h<0,V=g.clone().add(m+(N?-1:1),b);return+(-(m+(u-h)/(N?h-V:V-h))||0)},a:function(w){return w<0?Math.ceil(w)||0:Math.floor(w)},p:function(w){return{M:b,y:i,w:a,d:f,D:C,h:p,m:c,s:d,ms:s,Q:O}[w]||String(w||"").toLowerCase().replace(/s$/,"")},u:function(w){return w===void 0}},P="en",$={};$[P]=A;var _="$isDayjsObject",I=function(w){return w instanceof we||!(!w||!w[_])},X=function w(g,u,m){var h;if(!g)return P;if(typeof g=="string"){var N=g.toLowerCase();$[N]&&(h=N),u&&($[N]=u,h=N);var V=g.split("-");if(!h&&V.length>1)return w(V[0])}else{var v=g.name;$[v]=g,h=v}return!m&&h&&(P=h),h||!m&&P},L=function(w,g){if(I(w))return w.clone();var u=typeof g=="object"?g:{};return u.date=w,u.args=arguments,new we(u)},S=x;S.l=X,S.i=I,S.w=function(w,g){return L(w,{locale:g.$L,utc:g.$u,x:g.$x,$offset:g.$offset})};var we=(function(){function w(u){this.$L=X(u.locale,null,!0),this.parse(u),this.$x=this.$x||u.x||{},this[_]=!0}var g=w.prototype;return g.parse=function(u){this.$d=(function(m){var h=m.date,N=m.utc;if(h===null)return new Date(NaN);if(S.u(h))return new Date;if(h instanceof Date)return new Date(h);if(typeof h=="string"&&!/Z$/i.test(h)){var V=h.match(T);if(V){var v=V[2]-1||0,M=(V[7]||"0").substring(0,3);return N?new Date(Date.UTC(V[1],v,V[3]||1,V[4]||0,V[5]||0,V[6]||0,M)):new Date(V[1],v,V[3]||1,V[4]||0,V[5]||0,V[6]||0,M)}}return new Date(h)})(u),this.init()},g.init=function(){var u=this.$d;this.$y=u.getFullYear(),this.$M=u.getMonth(),this.$D=u.getDate(),this.$W=u.getDay(),this.$H=u.getHours(),this.$m=u.getMinutes(),this.$s=u.getSeconds(),this.$ms=u.getMilliseconds()},g.$utils=function(){return S},g.isValid=function(){return this.$d.toString()!==k},g.isSame=function(u,m){var h=L(u);return this.startOf(m)<=h&&h<=this.endOf(m)},g.isAfter=function(u,m){return L(u)<this.startOf(m)},g.isBefore=function(u,m){return this.endOf(m)<L(u)},g.$g=function(u,m,h){return S.u(u)?this[m]:this.set(h,u)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(u,m){var h=this,N=!!S.u(m)||m,V=S.p(u),v=function(K,W){var Z=S.w(h.$u?Date.UTC(h.$y,W,K):new Date(h.$y,W,K),h);return N?Z:Z.endOf(f)},M=function(K,W){return S.w(h.toDate()[K].apply(h.toDate("s"),(N?[0,0,0,0]:[23,59,59,999]).slice(W)),h)},j=this.$W,F=this.$M,Y=this.$D,ee="set"+(this.$u?"UTC":"");switch(V){case i:return N?v(1,0):v(31,11);case b:return N?v(1,F):v(0,F+1);case a:var Q=this.$locale().weekStart||0,le=(j<Q?j+7:j)-Q;return v(N?Y-le:Y+(6-le),F);case f:case C:return M(ee+"Hours",0);case p:return M(ee+"Minutes",1);case c:return M(ee+"Seconds",2);case d:return M(ee+"Milliseconds",3);default:return this.clone()}},g.endOf=function(u){return this.startOf(u,!1)},g.$set=function(u,m){var h,N=S.p(u),V="set"+(this.$u?"UTC":""),v=(h={},h[f]=V+"Date",h[C]=V+"Date",h[b]=V+"Month",h[i]=V+"FullYear",h[p]=V+"Hours",h[c]=V+"Minutes",h[d]=V+"Seconds",h[s]=V+"Milliseconds",h)[N],M=N===f?this.$D+(m-this.$W):m;if(N===b||N===i){var j=this.clone().set(C,1);j.$d[v](M),j.init(),this.$d=j.set(C,Math.min(this.$D,j.daysInMonth())).$d}else v&&this.$d[v](M);return this.init(),this},g.set=function(u,m){return this.clone().$set(u,m)},g.get=function(u){return this[S.p(u)]()},g.add=function(u,m){var h,N=this;u=Number(u);var V=S.p(m),v=function(F){var Y=L(N);return S.w(Y.date(Y.date()+Math.round(F*u)),N)};if(V===b)return this.set(b,this.$M+u);if(V===i)return this.set(i,this.$y+u);if(V===f)return v(1);if(V===a)return v(7);var M=(h={},h[c]=o,h[p]=l,h[d]=t,h)[V]||1,j=this.$d.getTime()+u*M;return S.w(j,this)},g.subtract=function(u,m){return this.add(-1*u,m)},g.format=function(u){var m=this,h=this.$locale();if(!this.isValid())return h.invalidDate||k;var N=u||"YYYY-MM-DDTHH:mm:ssZ",V=S.z(this),v=this.$H,M=this.$m,j=this.$M,F=h.weekdays,Y=h.months,ee=h.meridiem,Q=function(W,Z,se,Ne){return W&&(W[Z]||W(m,N))||se[Z].slice(0,Ne)},le=function(W){return S.s(v%12||12,W,"0")},K=ee||function(W,Z,se){var Ne=W<12?"AM":"PM";return se?Ne.toLowerCase():Ne};return N.replace(D,(function(W,Z){return Z||(function(se){switch(se){case"YY":return String(m.$y).slice(-2);case"YYYY":return S.s(m.$y,4,"0");case"M":return j+1;case"MM":return S.s(j+1,2,"0");case"MMM":return Q(h.monthsShort,j,Y,3);case"MMMM":return Q(Y,j);case"D":return m.$D;case"DD":return S.s(m.$D,2,"0");case"d":return String(m.$W);case"dd":return Q(h.weekdaysMin,m.$W,F,2);case"ddd":return Q(h.weekdaysShort,m.$W,F,3);case"dddd":return F[m.$W];case"H":return String(v);case"HH":return S.s(v,2,"0");case"h":return le(1);case"hh":return le(2);case"a":return K(v,M,!0);case"A":return K(v,M,!1);case"m":return String(M);case"mm":return S.s(M,2,"0");case"s":return String(m.$s);case"ss":return S.s(m.$s,2,"0");case"SSS":return S.s(m.$ms,3,"0");case"Z":return V}return null})(W)||V.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(u,m,h){var N,V=this,v=S.p(m),M=L(u),j=(M.utcOffset()-this.utcOffset())*o,F=this-M,Y=function(){return S.m(V,M)};switch(v){case i:N=Y()/12;break;case b:N=Y();break;case O:N=Y()/3;break;case a:N=(F-j)/6048e5;break;case f:N=(F-j)/864e5;break;case p:N=F/l;break;case c:N=F/o;break;case d:N=F/t;break;default:N=F}return h?N:S.a(N)},g.daysInMonth=function(){return this.endOf(b).$D},g.$locale=function(){return $[this.$L]},g.locale=function(u,m){if(!u)return this.$L;var h=this.clone(),N=X(u,m,!0);return N&&(h.$L=N),h},g.clone=function(){return S.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},w})(),vt=we.prototype;return L.prototype=vt,[["$ms",s],["$s",d],["$m",c],["$H",p],["$W",f],["$M",b],["$y",i],["$D",C]].forEach((function(w){vt[w[1]]=function(g){return this.$g(g,w[0],w[1])}})),L.extend=function(w,g){return w.$i||(w(g,we,L),w.$i=!0),L},L.locale=X,L.isDayjs=I,L.unix=function(w){return L(1e3*w)},L.en=$[P],L.Ls=$,L.p={},L}))})(ye)),ye.exports}var Jr=Gr();const q=Hr(Jr),Ce=e=>Array.from(Array.from({length:e}).keys()),Xr=(e,r)=>{const t=e.subtract(1,"month").format("YYYY-MM"),o=e.subtract(1,"month").endOf("month").date();return Ce(r).map((l,s)=>t+"-"+(o-(r-s-1)))},Zr=e=>Ce(e.length/7).map(r=>{const t=r*7;return e.slice(t,t+7)}),Vt=["一","二","三","四","五","六","日"];function Qr(e){const r=[...Vt.slice(e.firstDayOfWeek-1),...Vt.slice(0,e.firstDayOfWeek-1)],t=n.ref(e.month||q().format("YYYY-MM")),o=n.ref([]),l=e.firstDayOfWeek||1,s=p=>{let f=q(p).startOf("month").format("YYYY-MM-DD"),a=q(f).day(),b=[];const O=Xr(q(p+"01"),(a-l+7)%7).map(A=>({date:A,type:"prev"})),C=(A=>{const y=A.daysInMonth();return Ce(y).map((x,P)=>P+1)})(q(p+"01")).map(A=>({date:p+"-"+String(A).padStart(2,"0"),type:"current"}));b=[...O,...C];const k=7-(b.length%7||7);let T=q(f).add(1,"month").format("YYYY-MM");const D=Ce(k).map((A,y)=>({date:T+"-"+String(y+1).padStart(2,"0"),type:"next"}));return b=b.concat(D),Zr(b)};return n.watch(t,p=>{o.value=s(p)},{immediate:!0}),{WEEK_DAYS:r,month:t,days:o,selectMonth:(p,f,a)=>{const b=f==="prev"?"subtract":"add";t.value=q(t.value)[b](1,a).format("YYYY-MM")},clickWeek:p=>{const f=p[0],a=p.at(-1);return{start:f.date,end:a.date}}}}const Kr=n.defineComponent({emits:["change","update:sel"],props:["sel","firstDayOfWeek","selValue"],setup(e,{emit:r}){const{WEEK_DAYS:t,month:o,days:l,selectMonth:s,clickWeek:d}=Qr({firstDayOfWeek:e.firstDayOfWeek}),c=n.ref([]),p=(i,C)=>{let k=d(i);r("change",k),r("update:sel",!1)};n.watch(()=>e.selValue,i=>{if(!i)return;const C=l.value.findIndex(T=>T[0].date===i[0]&&T[6].date===i[1]),k=i[0].slice(0,7);c.value=[k,C]},{immediate:!0});const f=n.computed(()=>i=>c.value[0]===o.value&&c.value[1]===i),a=n.ref(null),b=i=>{!a.value.contains(i.target)&&r("update:sel",!1)},O=i=>{document.body[i]("click",b)};return n.watch(()=>e.sel,i=>{const C=i?"addEventListener":"removeEventListener";setTimeout(()=>{O(C)})},{immediate:!0}),()=>n.createVNode("div",{class:"ant-picker-week-panel",ref:a,style:"width: 100%;"},[n.createVNode("div",{class:"ant-picker-header"},[n.createVNode("button",{class:"ant-picker-header-super-prev-btn",onClick:i=>s(i,"prev","year")},[n.createVNode("span",{class:"ant-picker-super-prev-icon"},null)]),n.createVNode("button",{class:"ant-picker-header-prev-btn",onClick:i=>s(i,"prev","month")},[n.createVNode("span",{class:"ant-picker-prev-icon"},null)]),n.createVNode("div",{class:"ant-picker-header-view cal-month"},[q(o.value).format("YYYY年M月")]),n.createVNode("button",{class:"ant-picker-header-next-btn",onClick:i=>s(i,"next","month")},[n.createVNode("span",{class:"ant-picker-next-icon"},null)]),n.createVNode("button",{class:"ant-picker-header-super-next-btn",onClick:i=>s(i,"next","year")},[n.createVNode("span",{class:"ant-picker-super-next-icon"},null)])]),n.createVNode("div",{class:"ant-picker-body cal-box"},[n.createVNode("table",{class:"ant-picker-content"},[n.createVNode("thead",null,[n.createVNode("tr",null,[t.map((i,C)=>n.createVNode("th",{key:"week"+C},[i]))])]),n.createVNode("tbody",null,[l.value.map((i,C)=>n.createVNode("tr",{key:"row"+C,class:["ant-picker-week-panel-row",f.value(C)&&"ant-picker-week-panel-row-selected"]},[i.map(k=>n.createVNode("td",{key:"day"+k.date,class:["ant-picker-cell ant-picker-cell-in-view",f.value(C)&&"ant-picker-cell-selected"],onClick:()=>p(i)},[n.createVNode("div",{class:["ant-picker-cell-inner","cell-inner-sty",k.type!=="current"&&"out-month"]},[q(k.date).format("D")])]))]))])])])])}}),en=n.defineComponent({emits:["update:modelValue"],props:["modelValue","firstDayOfWeek","placeholder","size","getPopupContainer"],setup(e,{emit:r,attrs:t}){const o=n.ref(null),l=c=>{let{start:p,end:f}=c;o.value=[p,f],r("update:modelValue",o.value)},s=n.computed(()=>o.value?`${o.value[0]} ~ ${o.value[1]}`:null);n.watch(()=>e.modelValue,c=>{c&&(o.value=c)},{immediate:!0});const d=n.ref(!1);return()=>n.createVNode(n.resolveComponent("a-select"),n.mergeProps({value:s.value,open:d.value,placeholder:e.placeholder,onClick:()=>{d.value=!0}},t),{dropdownRender:()=>n.createVNode(Kr,{sel:d.value,"onUpdate:sel":c=>d.value=c,selValue:o.value,firstDayOfWeek:e.firstDayOfWeek,onChange:l},null)})}}),Ot=(e,r)=>{e=JSON.parse(JSON.stringify(e));let t=[];for(let o of e)o.path=o.pid==0?[o.id??o.value]:r.concat([o.id??o.value]),t.push(o),o.children?.length&&(t=t.concat(Ot(o.children,o.path)));return t},ae=n.defineComponent({name:"CloudFormItem",props:["props"],data(){return{specialGrid:"bpy-col-md-16 bpy-col-xl-12",newfieldList:[]}},mounted(){this.watchResize(),this.getnewfieldList(),window.addEventListener("resize",()=>this.watchResize(),!1);const{hideMargin:e=!0}=this.props;this.$refs.viewformcontent?this.$refs.viewformcontent.offsetParent.style.cssText=e?"margin-bottom:-8px !important":"margin-bottom:0px !important":setTimeout(()=>{this.$refs.viewformcontent&&(this.$refs.viewformcontent.offsetParent.style.cssText=e?"margin-bottom:-8px !important":"margin-bottom:0px !important")})},watch:{"props.fieldList"(e){this.getnewfieldList()},"props.form"(e){this.getnewfieldList()}},methods:{watchResize(){let e=window.screenWidth||document.body.clientWidth;e<1200?this.specialGrid="bpy-col-xs-24 bpy-col-sm-24":this.specialGrid="bpy-col-md-16",e<1200&&(this.screenWidth>1200||this.screenWidth<767)?(this.screenWidth=e,this.getnewfieldList()):e<767&&this.screenWidth>=767?(this.screenWidth=e,this.getnewfieldList()):e>=1200&&this.screenWidth<1200&&(this.screenWidth=e,this.getnewfieldList()),this.screenWidth=e},getnewfieldList(){if(this.props.type!="view")this.newfieldList=this.props.fieldList||[];else{let{column:e=3}=this.props;this.screenWidth<767?e=1:this.screenWidth<1200&&(e=2);const r=[];this.props.fieldList?.filter(t=>t.label&&t.isShow!==!1).map((t,o)=>{r[o%e]?r[o%e].push(t):r[o%e]=[t]}),this.newfieldList=r}},formatCascader(e,r){if((r?.type==="cascader"||r.type=="cascaderPeople")&&r.options?.length&&e[r.prop]){if(r.changeOnSelect){const l=(c,p)=>{c=JSON.parse(JSON.stringify(c));let f=[];for(let a of c)a.path=a.pid==0?[a.id??a.value]:p.concat([a.id??a.value]),f.push(a),a.children?.length&&(f=f.concat(l(a.children,a.path)));return f};l(r.options,[]).map(c=>(c.path=c.path.join(","),c.path)).includes(e[r.prop].join(","))||(e[r.prop]=null);return}const o=Ot(r.options,[]).map(l=>(l.path=l.path.join(","),l.path));if(r.multiple){e[r.prop]?.forEach((l,s)=>{const d=l.join(",");o.includes(d)||(e[r.prop]=e[r.prop].filter(c=>c.join(",")!=d))});return}o.includes(e[r.prop].join(","))||(e[r.prop]=null)}},renderForm(e,r){const{form:t,column:o=3,formRules:l=!1,type:s="",hasGrid:d=!0,offset:c="",popupContainer:p}=this.props,f=p==="body"?document.body:document.getElementsByClassName(p)?.[0];return n.createVNode(n.Fragment,null,[e?.length>0&&e.map((a,b)=>{if(s==="view"&&(a.type="text",a.rules=!1),a?.isShow!=!1){const O=a?.column?a?.column:o;if(s=="view"){let i=a?.content||t[a?.prop],C=null;return i===null||i===""||Array.isArray(i)&&i.length===0?C="-":C=a?.content||t[a?.prop],a.isText===!1?n.createVNode("div",{class:d?`${a?.type==="text"?"bpy-form-text bpy-formitem":""} bpy-col bpy-col-24 ${r[O-2]} ${r[O-1]} ${r[O]} ${c}`:"bpy-col bpy-col-24"},[n.createVNode("div",{class:"bpy-formitem-label"},[a.label+" :"]),n.createVNode("div",{class:"bpy-formitem-value"},[a.valType=="number"&&(a?.content||t[a?.prop])*1?n.createVNode(n.resolveComponent("a-statistic"),{precision:2,value:a?.content||t[a?.prop]},null):C])]):n.createVNode("div",{class:d?`bpy-col bpy-col-24 ${r[o-2]} ${r[o-1]} ${r[o]} ${c}`:"bpy-col bpy-col-24"},[n.createVNode(Rr,{props:{className:"bpy-form-text",isPage:f,label:a.label,data:t,item:a,value:a.valType=="number"&&(a?.content||t[a?.prop])*1+1?n.createVNode(n.resolveComponent("a-statistic"),{precision:2,value:a?.content||t[a?.prop]},null):C}},null)])}if(this.formatCascader(t,a),a.type==="select"&&a.hasOwnProperty("selectType")&&a?.selectType==="user"&&a?.options?.length&&t[a.prop]){let i=a?.options.map(C=>C.id);a?.mode==="multiple"&&t[a?.prop]?.forEach((C,k)=>{if(!i.includes(C)){const T=t[a?.prop].findIndex(D=>D==C);t[a?.prop].splice(T,1)}}),a.hasOwnProperty("mode")||i.includes(t[a?.prop])||(t[a?.prop]=null)}else if(a.type==="inpSelect")return n.createVNode(Yr,{item:{...a,placeholder:a.placeholder||this.getPlaceholder(a)},data:t,popupContainer:p,className:d?`${a?.type==="text"?"bpy-form-text":""} bpy-col bpy-col-24 ${r[O-2]} ${r[O-1]} ${r[O]} ${c} ${a.column==2?"bpy-col-xl-12":""}`:"bpy-col bpy-col-24"},null);return n.createVNode(n.resolveComponent("a-form-item"),{colon:a?.type==="text",ref:"formItem",class:d?`${a?.type==="text"?"bpy-form-text":""} bpy-col bpy-col-24 ${r[O-2]} ${r[O-1]} ${r[O]} ${c} ${a.column==2?"bpy-col-xl-12":""}`:"bpy-col bpy-col-24",label:a?.label,name:a?.name||a?.prop,extra:a?.extra,rules:l?!1:a.rules,style:a?.type=="textarea"&&a.block!==!1?{display:"block!important"}:{}},{default:()=>[a?.type==="text"?a.valType=="number"&&(a?.content||t[a?.prop])*1?n.createVNode(n.resolveComponent("a-statistic"),{precision:2,value:a?.content||t[a?.prop]},null):a?.content||(t[a?.prop]===null||t[a?.prop]===""?"-":t[a?.prop]):"",a?.type==="input"&&n.createVNode(n.resolveComponent("a-input"),n.mergeProps({value:t[a?.prop],"onUpdate:value":i=>t[a?.prop]=i,placeholder:a.placeholder||this.getPlaceholder(a),colon:!0,type:a?.type,style:a?.style,maxlength:50},a),null),a?.type==="inputSearch"&&n.createVNode(n.resolveComponent("a-input-search"),n.mergeProps({value:t[a?.prop],"onUpdate:value":i=>t[a?.prop]=i,placeholder:a.placeholder||this.getPlaceholder(a)},a,{style:a?.style,"enter-button":a?.enterButton,enterButton:a?.custEnterButton}),null),a?.type==="password"&&n.createVNode(n.resolveComponent("a-input-password"),n.mergeProps({value:t[a?.prop],"onUpdate:value":i=>t[a?.prop]=i,placeholder:a.placeholder||this.getPlaceholder(a)},a),null),a?.type==="inputNumber"&&n.createVNode(n.resolveComponent("a-input-number"),n.mergeProps({value:t[a?.prop],"onUpdate:value":i=>t[a?.prop]=i},a,{style:{width:"100%",...a?.style},placeholder:a.placeholder||this.getPlaceholder(a),"string-mode":a?.stringMode?a?.stringMode:!1}),null),a?.type==="textarea"&&n.createVNode(n.Fragment,null,[n.createVNode(n.resolveComponent("a-textarea"),n.mergeProps({value:t[a?.prop],"onUpdate:value":i=>t[a?.prop]=i,placeholder:a.placeholder||this.getPlaceholder(a),maxlength:200,showCount:!0},a,{style:a?.style,size:a?.size?a?.size:this.size}),null),a?.areaExtra]),a?.type==="select"&&n.createVNode(n.resolveComponent("a-select"),n.mergeProps({value:t[a?.prop],"onUpdate:value":i=>t[a?.prop]=i,placeholder:a.placeholder||this.getPlaceholder(a),type:a?.type,maxTagCount:1,showArrow:!0,style:a?.style,size:a?.size?a?.size:this.size,mode:a?.mode?a.mode:"combobox",showSearch:"showSearch"in a?a.showSearch:!0,optionFilterProp:a?.fieldNames&&a.fieldNames?.label||(a?.optLabel?a.optLabel:"label"),allowClear:a?.allowClear?a?.allowClear:!0},a,{fieldNames:a?.fieldNames?a?.fieldNames:{options:"children",label:a?.optLabel?a.optLabel:"label",value:a?.optVal?a.optVal:"value"},getPopupContainer:i=>p?f:i.offsetParent}),a.slots),a?.type==="otherSelect"&&n.createVNode(Br,{item:{...a,placeholder:a.placeholder||this.getPlaceholder(a)},data:t,popupContainer:p},null),a?.type==="addSelect"&&n.createVNode(Ur,{item:{...a,placeholder:a.placeholder||this.getPlaceholder(a)},data:t,popupContainer:p},null),a?.type==="switch"&&n.createVNode(n.resolveComponent("a-switch"),n.mergeProps({checked:t[a?.prop],"onUpdate:checked":i=>t[a?.prop]=i,size:a?.size?a?.size:this.size,style:a?.style},a),null),a?.type==="radio"&&n.createVNode(n.resolveComponent("a-radio-group"),n.mergeProps({value:t[a?.prop],"onUpdate:value":i=>t[a?.prop]=i,style:a?.style},a,{buttonStyle:a?.buttonStyle?a?.buttonStyle:"outline",size:a?.size?a?.size:this.size}),{default:()=>[a?.options.map((i,C)=>a?.optType?n.createVNode(n.resolveComponent("a-radio-button"),{key:C,value:a?.optVal?i[a.optVal]:i.id,disabled:i?.disabled},{default:()=>[a?.optLabel?i[a.optLabel]:i.value]}):n.createVNode(n.resolveComponent("a-radio"),{key:C,value:a?.optVal?i[a.optVal]:i.id,disabled:i?.disabled},{default:()=>[a?.optLabel?i[a.optLabel]:i.value]}))]}),a?.type==="checkbox"&&n.createVNode(n.resolveComponent("a-checkbox-group"),n.mergeProps({value:t[a?.prop],"onUpdate:value":i=>t[a?.prop]=i,style:a?.style},a),{default:()=>[a?.options.map((i,C)=>n.createVNode(n.resolveComponent("a-checkbox"),{key:C,value:a?.optVal?i[a.optVal]:i.id,disabled:i?.disabled,indeterminate:i?.indeterminate},{default:()=>[a?.optLabel?i[a.optLabel]:i.value]}))]}),a?.type==="treeSelect"&&n.createVNode(n.resolveComponent("a-tree-select"),n.mergeProps({value:t[a?.prop],"onUpdate:value":i=>t[a?.prop]=i,maxTagCount:1},a,{style:a?.style,placeholder:a.placeholder||this.getPlaceholder(a),fieldNames:a?.fieldNames?a?.fieldNames:{children:"children",label:"title",value:"key"},treeDefaultExpandAll:a?.treeDefaultExpandAll?a?.treeDefaultExpandAll:!0,treeData:a?.options,getPopupContainer:i=>p?f:i.offsetParent}),null),a?.type==="datePicker"&&n.createVNode(n.resolveComponent("a-date-picker"),n.mergeProps({value:t[a?.prop],"onUpdate:value":i=>t[a?.prop]=i},a,{style:{width:"100%",...a?.style},format:a?.format?a?.format:"YYYY-MM-DD",placeholder:a.placeholder||this.getPlaceholder(a),size:a?.size?a?.size:this.size,valueFormat:a?.valueFormat?a?.valueFormat:"YYYY-MM-DD",getPopupContainer:i=>p?f:i.offsetParent}),null),a?.type==="aloneDate"&&n.createVNode(en,n.mergeProps({modelValue:t[a?.prop],"onUpdate:modelValue":i=>t[a?.prop]=i},a,{style:{width:"100%",...a?.style},placeholder:a.placeholder||this.getPlaceholder(a),size:a?.size?a?.size:this.size,firstDayOfWeek:a.firstDayOfWeek}),null),a?.type==="rangePicker"&&n.createVNode(n.resolveComponent("a-range-picker"),n.mergeProps({value:t[a?.prop],"onUpdate:value":i=>t[a?.prop]=i},a,{style:{...a?.style,width:"100%"},format:a?.format?a?.format:"YYYY-MM-DD",placeholder:a.placeholder||this.getPlaceholder(a),valueFormat:a?.valueFormat?a?.valueFormat:"YYYY-MM-DD",getPopupContainer:i=>p?f:i.offsetParent}),null),a?.type==="cascader"&&n.createVNode(n.resolveComponent("a-cascader"),n.mergeProps({showArrow:!0,value:t[a?.prop],"onUpdate:value":i=>t[a?.prop]=i,getPopupContainer:i=>p?f:i.offsetParent},a,{style:{...a?.style},placeholder:a.placeholder||this.getPlaceholder(a)}),null),a?.type==="cascaderPeople"&&n.createVNode(n.Fragment,null,[n.createVNode(n.resolveComponent("a-cascader"),n.mergeProps({value:t[a?.prop],"onUpdate:value":i=>t[a?.prop]=i},a,{style:{...a?.style},open:!1,multiple:a?.multiple===!1?a.multiple:!0,showCheckedStrategy:"SHOW_CHILD",showArrow:!0,showSearch:!0,placeholder:a.placeholder||this.getPlaceholder(a),getPopupContainer:i=>p?f:i.offsetParent,onDropdownVisibleChange:i=>{a?.openCascader?.(),this.$refs[`wePeopleRef_${b}`].selectVal=t[a?.prop],this.$refs[`wePeopleRef_${b}`].modal.visible=i}}),null),n.createVNode(pe,{ref:`wePeopleRef_${b}`,props:{treeList:a?.pelOptions||a?.options,fieldNames:a?.fieldNames,multiple:a?.multiple===!1?a.multiple:!0,title:a.title,labelText:a.labelText,labelWidth:a.labelWidth,...a},onClose:i=>{a?.cascaderClose?.(),this.$refs[`wePeopleRef_${b}`].modal.visible=!1},onSure:(i,C)=>{a?.cascaderSuccess?.(),t[a?.prop]=i,this.$refs[`wePeopleRef_${b}`].modal.visible=!1,a?.classify||a.onChange(i,C)}},null)]),a?.type==="other"&&a?.content]})}})])},renderSpecialLog(e,r){const{form:t}=this.props;return n.createVNode(n.Fragment,null,[e.length>0&&e.map((o,l)=>n.createVNode("div",{class:"bpy-form-text bpy-formitem-text-box bpy-special-log-box"},[n.createVNode("div",{class:"bpy-formitem-text bpy-special-log"},[n.createVNode("div",{class:"bpy-special-log-header"},[n.createVNode("span",{class:"bpy-special-log-icon"},null),n.createVNode("span",{class:"bpy-special-log-title"},[o?.label])]),n.createVNode("div",{class:"bpy-special-log-content"},[n.createVNode("div",{class:"bpy-special-log-text"},[t[o?.prop]])])])]))])}},setup({props:e}){return{getPlaceholder:({label:o,type:l,selfPlaceholder:s,prop:d})=>{let c,p=["input","inputSearch","textarea","password","inputNumber"],f=["date","datePicker"],a=["select","treeSelect","cascader","cascaderPeople"];return e?.viewType==="view"?l==="rangePicker"?c=["无","无"]:c="无":s?c=s:p.includes(l)?c="请输入"+o:f.includes(l)?c="请选择"+o:a.includes(l)?c="请选择或输入搜索":l==="rangePicker"?c=["开始日期","结束日期"]:c=o,c},size:"default"}},render(){const{fieldList:e=[],form:r,column:t=3,formRules:o=!1,type:l="",hasGrid:s=!0,offset:d="",popupContainer:c,showType:p="default"}=this.props,f={1:"bpy-col-xs-24 bpy-col-sm-24",2:t===3?this.specialGrid:"bpy-col-md-12",3:"bpy-col-lg-8 bpy-col-xl-6 bpy-col-md-12"};return c==="body"?document.body:document.getElementsByClassName(c)?.[0],e?.length>0&&l!="view"?this.renderForm(e,f):l=="view"?n.createVNode(Er,{props:this.props},null):l=="view"?n.createVNode("div",{class:"bpy-formitem-content",ref:"viewformcontent"},[p==="default"&&this.renderForm(e?.filter(a=>a.label&&a.isShow!=!1),f),p==="specialLog"&&this.newfieldList.map((a,b)=>n.createVNode("div",{class:s?`bpy-col bpy-col-24 ${f[t-2]} ${f[t-1]} ${f[t]} ${d}`:"bpy-col bpy-col-24"},[this.renderSpecialLog(a,f)]))]):""}}),ze=n.defineComponent({name:"CloudForm",props:["props"],setup({props:e}){const r=n.ref();let t=n.reactive({rules:{}});const o=()=>{t.rules=e?.fieldList.reduce((l,s)=>(s.type==="select"&&s.rules&&s.rules.length>0?(s.rules=[{...s.rules[0],message:"请选择或输入搜索"}],l[s.prop]=s.rules):s.rules&&s.rules.length>0&&(s.selfRules=[{...s.rules[0],message:"selfLabel"in s?s.rules[0].message+s.selfLabel:s.rules[0].message+s.label}],l[s.prop]=s.selfRules),l),{})};return n.watch(e.fieldList,()=>o),o(),{weForm:r,getRules:o,formRules:t}},render(){const{type:e,form:r,layout:t="horizontal",labelAlign:o="right",labelWrap:l=!1,wrapperCol:s,showBtn:d=!1,formRules:c=!0}=this.props,{rules:p}=this.formRules,f={style:{width:`${this.props?.labelWidth}px`,textAlign:o}};return n.createVNode(n.resolveComponent("a-form"),{ref:"weForm",model:r,rules:p,layout:t,labelCol:f,labelWrap:l,wrapperCol:s,onFinish:this.onFinish,onFinishFailed:this.onFinishFailed},{default:()=>[n.createVNode(ae,{props:{...this.props,formRules:c}},null)]})}}),Ie=n.defineComponent({name:"CloudFooterToolbar",data(){return{}},props:["props"],mounted(){},methods:{},setup(){return{}},render(){const{props:e}=this;return n.createVNode(n.resolveComponent("a-card"),n.mergeProps({class:"bpy-toolbar",bodyStyle:e?.card?.bodyStyle||{padding:"8px 8px"}},e?.card?.restProps),{default:()=>[n.createVNode("div",{class:"bpy-toolbar-flex-end"},[n.createVNode(n.resolveComponent("a-space"),null,{default:()=>[n.createVNode(n.resolveComponent("a-button"),{onClick:()=>{if(e?.selfClose){e?.selfClose();return}e?.onClose?e?.onClose():window.close()}},{default:()=>[e?.cancelText||"取消"]}),n.createVNode(n.Fragment,null,[e?.onFinish&&e?.routeType!=="view"&&n.createVNode(n.resolveComponent("a-button"),{type:e?.saveType||"default",loading:e?.saveLoading||!1,onClick:()=>{e?.onFinish(),setTimeout(()=>{document.querySelectorAll(".ant-form-item-has-error")?.[0]?.scrollIntoView({block:"center",behavior:"smooth"})})}},{default:()=>[e?.saveText||"暂存"]}),e?.onSubmit&&e?.routeType!=="view"&&n.createVNode(n.resolveComponent("a-button"),{type:e?.submitType||"primary",loading:e?.submitLoading,onClick:()=>{e?.onSubmit(),setTimeout(()=>{document.querySelectorAll(".ant-form-item-has-error")?.[0]?.scrollIntoView({block:"center",behavior:"smooth"})})}},{default:()=>[e?.submitText||"提交"]})])]})])]})}}),We=n.defineComponent({name:"CloudLoading",render(){return n.createVNode("div",{class:"bpy-data-loading"},[n.createVNode("div",{class:"bpy-data-loading-dot"},[n.createVNode("div",null,null),n.createVNode("div",null,null),n.createVNode("div",null,null),n.createVNode("div",null,null),n.createVNode("div",null,null)]),n.createVNode("div",{class:"bpy-data-loading-msg"},[n.createTextVNode("努力加载中")])])}}),Re=n.defineComponent({name:"CloudLights",props:{type:{default:"success",type:String,validator:e=>["success","info","primary","warning","danger"].includes(e)},size:{type:String,default:"small"},name:{default:"",type:String},color:{default:"",type:String}},setup(e){return()=>n.createVNode("div",{class:"bpy-lights"},[n.createVNode("span",{class:[e.type,"light"],style:{background:e.color,width:e.size,height:e.size}},null),n.createVNode("span",null,[e.name])])}}),tn=n.defineComponent({components:{DoubleRightOutlined:me,DoubleLeftOutlined:be},props:["props"],data(){return{isOpen:void 0,hasToggle:!1,screenWidth:document.body.clientWidth,fieldListLength:0,formData:{},stop:null,searchRef:null,noAnimation:!0}},mounted(){this.searchRef=this.$refs.search,window.addEventListener("resize",()=>this.watchResize(),!1),this.observerHeight()},beforeUpdate(){this.noAnimation=!0},methods:{uuid(e="-"){const r=[],t="0123456789abcdef";for(let o=0;o<36;o++)r[o]=t.substr(Math.floor(Math.random()*16),1);return r[14]="4",r[19]=t.substr(r[19]&3|8,1),r[8]=r[13]=r[18]=r[23]=e,r.join("")},toggle(){this.isOpen=!this.isOpen,this.noAnimation=!1},watchResize(){this.$refs.search?.clientHeight>48?this.hasToggle=!0:this.$refs.search&&(this.hasToggle=!1)},observerHeight(){const e=this.searchRef;window&&"ResizeObserver"in window&&e&&(this.stop=new ResizeObserver(r=>{for(const t of r)t.target.clientHeight>48?this.hasToggle=!0:this.hasToggle=!1}),this.stop?.observe(e))}},unmounted(){this.stop?.unobserve(this.searchRef)},render(){const e={style:{width:`${this.props?.labelWidth}px`}},r={style:{marginLeft:`${this.props?.labelWidth}px`}},t=this.$slots.part()[0];return t.props.props.popupContainer||(t.props.props.popupContainer="body"),t.props.props&&t.props.props.fieldList.forEach(o=>{o.type==="select"&&(o.placeholder="请选择或输入搜索")}),this.$slots.part&&n.createVNode("div",{class:"search-wrapper"},[n.createVNode(n.resolveComponent("a-form"),{labelCol:e,wrapperCol:r,name:this.uuid()},{default:()=>[n.createVNode("div",{class:`search-input ${this.noAnimation?"noAnimation":""} ${this.isOpen?"search-collapse":this.isOpen===!1?"search-line":"default-search"}`},[n.createVNode("div",{class:"search-form-box",ref:"search"},[t])]),n.createVNode("div",{class:"search-button"},[n.createVNode(n.resolveComponent("a-button"),{onClick:()=>this.props?.reset()},{default:()=>[n.createTextVNode("重置")]}),n.createVNode(n.resolveComponent("a-button"),{onClick:()=>this.props?.search()},{default:()=>[this.props.searchText?this.props.searchText:"搜索"]}),n.createVNode(n.resolveComponent("a-button"),{type:"link",onClick:this.toggle,style:{display:this.hasToggle?"inline-block":"none"}},{default:()=>[this.isOpen?n.createVNode(n.Fragment,null,[n.createVNode("span",{style:{fontSize:"13px"}},[n.createTextVNode("折叠")]),n.createVNode(me,{style:"transform: rotate(-90deg);margin-top: -2px;"},null)]):n.createVNode(n.Fragment,null,[n.createVNode("span",{style:{fontSize:"13px"}},[n.createTextVNode("展开")]),n.createVNode(be,{style:"transform: rotate(-90deg);margin-top: -2px;"},null)])]})])]})])}}),rn=n.defineComponent({name:"TagsSelect",data(){return{}},props:["props"],methods:{},setup({props:e},r){const t=n.ref(!1),o=n.ref([]),l=(s,d)=>{if(e?.multiple){let c=d?[...o.value,s]:o.value.filter(p=>p!==s);o.value=c,e.changeTags(c)}else o.value=[],o.value=[s],e.changeTags([s])};return n.onMounted(()=>{e?.tagsVal&&(o.value=e?.tagsVal)}),{handleChange:l,checked:t,selectedTags:o}},render(){return n.createVNode("div",{class:"bpy-unit-list"},[n.createVNode("div",{class:"bpy-unit-list-label"},[this.props?.tagsLabel,n.createTextVNode(":")]),n.createVNode("div",{class:"bpy-unit-list-value"},[this.props?.tagsList.map(e=>{let r=this.selectedTags?.indexOf(e.id)>-1;return n.createVNode(n.Fragment,null,[n.createVNode(n.resolveComponent("a-checkable-tag"),{key:e.id,class:r?"ant-tag-checkable-after":"ant-tag-checkable-before",checked:r,"onUpdate:checked":t=>r=t,onChange:t=>this.handleChange(e.id,t)},{default:()=>[e.name]})])})]),n.createVNode("div",{class:"bpy-unit-list-control"},null)])}}),nn=[{id:"import",text:"导入",type:"default"},{id:"export",text:"导出",type:"default"},{id:"upload",text:"上传",type:"default"},{id:"download",text:"下载",type:"default"},{id:"template",text:"模板",type:"default"},{id:"add",text:"新增",type:"primary",icon:n.createVNode(Ae,null,null)}],Ee=(e,r="")=>{let t=[];return e.forEach(o=>{if(o.children&&o.children.length){const l=r?`${r}-`:"";t=t.concat(Ee(o.children,`${l}${o.title}`))}else{const l=r?`${r}-${o.title}`:o.selfTitle||o.title,s=r?`${r} > ${o.title}`:o.selfTitle||o.title;t.push({value:l,label:s,disabled:o.disabled,dataIndex:o.dataIndex,originCol:o,parentTitle:r})}}),t},St=(e,r,t="")=>e.filter(o=>{const l=t?`${t}-${o.title}`:o.selfTitle||o.title;if(o.children&&o.children.length){const s=St(o.children,r,l);return s.length>0?(o.children=s,!0):!1}return r.has(l)}),on=n.defineComponent({name:"TopButton",props:["props","onChangeColumns"],emits:["BtnClick"],data(){return{checkAll:!0,indeterminate:!1,options:[],checkedList:[]}},inject:["parent"],mounted(){this.options=Ee(this.props.columns||[]),this.checkedList=this.options.map(e=>e.value)},watch:{checkedList(e){this.indeterminate=!!e.length&&e.length<this.options.length,this.checkAll=e.length===this.options.length;const r=new Set(e),t=St(this.props.columns||[],r);this.$emit("changeColumns",t)},"props.columns":{handler(e){const r=Ee(e||[]);JSON.stringify(this.options.map(t=>t.value))!==JSON.stringify(r.map(t=>t.value))&&(this.options=r,this.checkedList=r.map(t=>t.value))},deep:!0,immediate:!0}},methods:{onCheckAllChange(e){this.checkedList=e.target.checked?this.options.map(r=>r.value):this.options.filter(r=>r.disabled).map(r=>r.value)||[],this.indeterminate=!1},setBtnClick(e){this.$emit("BtnClick",e)},getBtn(e){return n.createVNode(n.resolveComponent("a-button"),{style:{marginLeft:"8px"},type:e.type,disabled:e.disabled,onClick:()=>this.setBtnClick(e.id)},{default:()=>[e.text],icon:e.icon?()=>e.icon:null})}},render(){const{isShowColumnsSetting:e=!0,isShowRefresh:r=!0}=this.props;return n.createVNode(n.Fragment,null,[this.props.btnGroupBefore?.map(t=>{if(!(t.isShow??!0))return null;const o=nn.find(s=>s.id===t.id),l=o?{...o,...t}:t;return this.getBtn(l)}),r&&n.createVNode(n.resolveComponent("a-tooltip"),{title:"刷新"},{default:()=>[n.createVNode("span",{class:"bpy-operate-icon",onClick:()=>this.setBtnClick("refresh")},[n.createVNode(je,null,null)])]}),e&&n.createVNode(n.resolveComponent("a-popover"),{overlayClassName:"bpy-column-operate",getPopupContainer:t=>t.offsetParent||document.body,title:n.createVNode("div",null,[n.createVNode(n.resolveComponent("a-checkbox"),{checked:this.checkAll,indeterminate:this.indeterminate,onChange:t=>this.onCheckAllChange(t)},{default:()=>[n.createTextVNode("列展示")]})]),content:n.createVNode(n.resolveComponent("a-checkbox-group"),{options:this.options,value:this.checkedList,onChange:t=>this.checkedList=t},null),placement:"bottomRight",trigger:"click"},{default:()=>[n.createVNode(n.resolveComponent("a-tooltip"),{title:"列设置"},{default:()=>[n.createVNode("span",{class:"bpy-operate-icon"},[n.createVNode(_e,null,null)])]})]}),this.$slots.btnGroupAfter?.()])}}),an=e=>{const r={};for(let t in e)if(t.includes("date")){const o=t.replace("date","");r[`${o}start_date`]=e[t]?.[0],r[`${o}end_date`]=e[t]?.[1]}else if(Array.isArray(e[t])){const o=e[t]?.join(",");e[t]=o||null}return{...e,...r}};function ln(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!n.isVNode(e)}const xt=[{id:"view",text:"查看",isShow:!0},{id:"delete",text:"删除",isShow:!0},{id:"edit",text:"编辑",isShow:!0}],Be=n.defineComponent({props:["props"],setup(e,{emit:r}){const t=e.props,o=n.reactive({searchForm:{},activeKey:t.tabsConfig?.activeKey||0,tagsVal:t.tagsSelect?.tagValue||[],columns:null}),l=n.reactive({loading:!1,pagination:{total:0,pageSize:2,current:1},dataSource:[]}),s=n.ref(t.rowSelection?.selectedRowKeys||[]),d=()=>n.createVNode(ae,{props:{fieldList:t.fieldList,form:o.searchForm}},null),c=()=>n.createVNode("div",{class:"bpy-table-tabs",style:"position: relative !important; background: #fff"},[n.createVNode(n.resolveComponent("a-tabs"),{activeKey:o.activeKey,"onUpdate:activeKey":y=>o.activeKey=y,onChange:y=>o.activeKey=y},{default:()=>[t.tabsConfig?.panes.map(y=>n.createVNode(n.resolveComponent("a-tab-pane"),{key:y.key,tab:y.title},null))]})]),p=()=>n.createVNode(rn,{props:{tagsLabel:t.tagsSelect?.label,tagsList:t.tagsSelect?.options,tagsVal:o.tagsVal,multiple:t.tagsSelect?.multiple,changeTags:y=>{console.log("标签变化:",y)}}},null),f=()=>n.createVNode(on,{onChangeColumns:y=>o.columns=y,onBtnClick:y=>a(y,{}),props:t},{btnGroupAfter:t?.btnGroupAfter}),a=(y,x)=>{switch(y){case"refresh":D();break;default:r("Command",{command:y,row:x});break}},b=(y,x)=>{let P;if(y.customRender)return y.customRender(x);const $=()=>y.text?y.text:xt.find(I=>I.id===y.id)?.text||"未知操作";return n.createVNode(n.resolveComponent("a-button"),{type:"text",onClick:()=>a(y.id,x)},ln(P=$())?P:{default:()=>[P]})},O=y=>{const x=[...xt,...t.recordBtns||[]],P=[],$=new Set;for(let _=x.length-1;_>=0;_--){const I=x[_];$.has(I.id)||($.add(I.id),P.unshift(I))}return n.createVNode("div",null,[P.map(_=>(typeof _.isShow=="function"?_.isShow(y):_.isShow??!0)?b(_,y):null)])},i=y=>(l.pagination.current-1)*l.pagination.pageSize+y+1,C=({text:y,record:x,index:P,column:$})=>$?$.customRender?$.customRender({text:y,record:x,index:P,column:$}):$.title==="序号"?i(P):$.title==="操作"?O(x):y:null,k=()=>{l.pagination.current=1,D()},T=()=>{o.searchForm={},l.pagination.current=1,l.dataSource=[],D()},D=async y=>{try{if(!t.servicesApi?.list){console.warn("缺少列表接口配置");return}l.loading=!0;const{current:x,pageSize:P}=l.pagination,$=an(o.searchForm),{code:_,data:I,rows:X,total:L}=await t.servicesApi.list({page:x,pageSize:P,...$,...t.otherParams,...y});_===200&&(l.dataSource=I||X,l.pagination.total=L)}catch(x){throw console.error("列表请求失败:",x),x}finally{l.loading=!1}},A=(y,x)=>{s.value=y,t.rowSelection?.onChange?.(y,x)};return n.onMounted(()=>{D()}),()=>n.createVNode("div",{class:"bpy-table-box"},[n.createVNode("div",{class:["bpy-table-header"]},[t.tabsConfig?.panes?.length&&c(),t?.tagsSelect&&p(),n.createVNode(tn,{props:{...t,search:k,reset:T}},{part:d()})]),n.createVNode("div",{class:["we-table"]},[n.createVNode("div",{class:"bpy-title"},[t.name?n.createVNode("div",{style:"",class:"bpy-table-title-left"},[n.createVNode("div",{class:{"bpy-table-title":typeof t.name=="string"}},[t.name]),n.createVNode("div",null,[f()])]):f()]),n.createVNode("div",null,[n.createVNode(n.resolveComponent("a-table"),n.mergeProps({rowKey:t.rowKey,loading:l.loading,dataSource:l.dataSource,columns:o.columns||t.columns,pagination:!1,scroll:t.scroll},t,{rowSelection:t.rowSelection?{columnWidth:48,...t.rowSelection,selectedRowKeys:s.value,onChange:A}:null}),{bodyCell:t.bodyCell||C}),l.pagination.total>0&&n.createVNode("div",{class:"bpy-table-footer"},[n.createVNode("div",null,null),n.createVNode("div",{class:"bpy-table-pagination"},[n.createVNode(n.resolveComponent("a-pagination"),{showSizeChanger:!0,showQuickJumper:!0,pageSizeOptions:["10","20","50","100"],total:l.pagination.total,pageSize:l.pagination.pageSize,current:l.pagination.current,onChange:(y,x)=>{l.pagination.current=y,l.pagination.pageSize=x,D()}},null)])])])])])}}),sn=[ze,ae,pe,ce,Ie,We,Re,Be],cn={install:function(e){sn.forEach(r=>{e.component(r.name,r)})},CloudForm:ze,CloudFormItem:ae,CloudPeople:pe,CloudModal:ce,CloudFooterToolbar:Ie,CloudLoading:We,CloudLights:Re,CloudTable:Be};z.CloudFooterToolbar=Ie,z.CloudForm=ze,z.CloudFormItem=ae,z.CloudLights=Re,z.CloudLoading=We,z.CloudModal=ce,z.CloudPeople=pe,z.CloudTable=Be,z.default=cn,Object.defineProperties(z,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|
|
57
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wr(e,r){if(e){if(typeof e=="string")return dt(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return dt(e,r)}}function dt(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,o=new Array(r);t<r;t++)o[t]=e[t];return o}function Nr(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var o=[],l=!0,s=!1,d,c;try{for(t=t.call(e);!(l=(d=t.next()).done)&&(o.push(d.value),!(r&&o.length===r));l=!0);}catch(p){s=!0,c=p}finally{try{!l&&t.return!=null&&t.return()}finally{if(s)throw c}}return o}}function Vr(e){if(Array.isArray(e))return e}function ut(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?Object(arguments[r]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),o.forEach(function(l){ne(e,l,t[l])})}return e}function ne(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Or(e,r){if(e==null)return{};var t=Sr(e,r),o,l;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(l=0;l<s.length;l++)o=s[l],!(r.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(t[o]=e[o])}return t}function Sr(e,r){if(e==null)return{};var t={},o=Object.keys(e),l,s;for(s=0;s<o.length;s++)l=o[s],!(r.indexOf(l)>=0)&&(t[l]=e[l]);return t}pt(Bt.primary);var E=function(r,t){var o,l=ut({},r,t.attrs),s=l.class,d=l.icon,c=l.spin,p=l.rotate,f=l.tabindex,a=l.twoToneColor,b=l.onClick,O=Or(l,mr),i=Ke(),C=i.prefixCls,k=i.rootClassName,T=(o={},ne(o,k.value,!!k.value),ne(o,C.value,!0),ne(o,"".concat(C.value,"-").concat(d.name),!!d.name),ne(o,"".concat(C.value,"-spin"),!!c||d.name==="loading"),o),D=f;D===void 0&&b&&(D=-1);var A=p?{msTransform:"rotate(".concat(p,"deg)"),transform:"rotate(".concat(p,"deg)")}:void 0,y=st(a),x=yr(y,2),P=x[0],$=x[1];return n.createVNode("span",ut({role:"img","aria-label":d.name},O,{onClick:b,class:[T,s],tabindex:D}),[n.createVNode(J,{icon:d,primaryColor:P,secondaryColor:$,style:A},null),n.createVNode(br,null,null)])};E.props={spin:Boolean,rotate:Number,icon:Object,twoToneColor:[String,Array]},E.displayName="AntdIcon",E.inheritAttrs=!1,E.getTwoToneColor=gr,E.setTwoToneColor=pt;var xr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};function ft(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?Object(arguments[r]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),o.forEach(function(l){vr(e,l,t[l])})}return e}function vr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var be=function(r,t){var o=ft({},r,t.attrs);return n.createVNode(E,ft({},o,{icon:xr}),null)};be.displayName="DoubleLeftOutlined",be.inheritAttrs=!1;var $r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};function ht(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?Object(arguments[r]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),o.forEach(function(l){kr(e,l,t[l])})}return e}function kr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var me=function(r,t){var o=ht({},r,t.attrs);return n.createVNode(E,ht({},o,{icon:$r}),null)};me.displayName="DoubleRightOutlined",me.inheritAttrs=!1;var Pr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};function gt(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?Object(arguments[r]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),o.forEach(function(l){Tr(e,l,t[l])})}return e}function Tr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var De=function(r,t){var o=gt({},r,t.attrs);return n.createVNode(E,gt({},o,{icon:Pr}),null)};De.displayName="DownOutlined",De.inheritAttrs=!1;var Lr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};function bt(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?Object(arguments[r]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),o.forEach(function(l){Mr(e,l,t[l])})}return e}function Mr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var Ae=function(r,t){var o=bt({},r,t.attrs);return n.createVNode(E,bt({},o,{icon:Lr}),null)};Ae.displayName="PlusOutlined",Ae.inheritAttrs=!1;var Dr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"};function mt(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?Object(arguments[r]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),o.forEach(function(l){Ar(e,l,t[l])})}return e}function Ar(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var je=function(r,t){var o=mt({},r,t.attrs);return n.createVNode(E,mt({},o,{icon:Dr}),null)};je.displayName="RedoOutlined",je.inheritAttrs=!1;var jr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M793 242H366v-74c0-6.7-7.7-10.4-12.9-6.3l-142 112a8 8 0 000 12.6l142 112c5.2 4.1 12.9.4 12.9-6.3v-74h415v470H175c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h618c35.3 0 64-28.7 64-64V306c0-35.3-28.7-64-64-64z"}}]},name:"rollback",theme:"outlined"};function yt(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?Object(arguments[r]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),o.forEach(function(l){_r(e,l,t[l])})}return e}function _r(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var oe=function(r,t){var o=yt({},r,t.attrs);return n.createVNode(E,yt({},o,{icon:jr}),null)};oe.displayName="RollbackOutlined",oe.inheritAttrs=!1;var Fr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"};function Ct(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?Object(arguments[r]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),o.forEach(function(l){zr(e,l,t[l])})}return e}function zr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var _e=function(r,t){var o=Ct({},r,t.attrs);return n.createVNode(E,Ct({},o,{icon:Fr}),null)};_e.displayName="SettingOutlined",_e.inheritAttrs=!1;var Ir={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};function wt(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?Object(arguments[r]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),o.forEach(function(l){Wr(e,l,t[l])})}return e}function Wr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var Fe=function(r,t){var o=wt({},r,t.attrs);return n.createVNode(E,wt({},o,{icon:Ir}),null)};Fe.displayName="UpOutlined",Fe.inheritAttrs=!1;const Rr=n.defineComponent({props:["props"],components:{DownOutlined:De,UpOutlined:Fe},data(){return{showIcon:!1,isOpen:!1,clientWidth:"",setfun:null}},mounted(){},methods:{toggle(){this.isOpen=!this.isOpen}},setup(){return{}},render(){const{text:e,className:r,value:t,label:o,item:l}=this.props;return n.withDirectives(n.createVNode("div",{ref:"text",class:`${r}${this.showIcon?" bpy-formitem-ellipsis":""} bpy-formitem-text-box bpy-formitem-text-ellipsis-box`},[n.createVNode("div",{class:"bpy-formitem-text"},[o,n.createTextVNode(" :"),t]),this.showIcon?n.createVNode(n.resolveComponent("a-popover"),{placement:"bottomRight",trigger:"click",visible:this.isOpen,"onUpdate:visible":s=>this.isOpen=s,content:n.createVNode("div",{class:"bpy-formitem-text-pop-box"},[n.createVNode(n.resolveComponent("a-tag"),{class:"themeTagColor"},{default:()=>[this.props.label]}),n.createVNode("div",{class:"bpy-formitem-text-pop-content"},[this.props.value])]),getPopupContainer:s=>document.getElementsByClassName("bpy-formitem-content")[0]},{default:()=>[n.createVNode(n.resolveComponent("a-button"),{type:"link",onClick:()=>this.toggle()},{default:()=>[this.isOpen?n.createVNode(n.Fragment,null,[n.createTextVNode("折叠"),n.createVNode(n.resolveComponent("up-outlined"),null,null)]):n.createVNode(n.Fragment,null,[n.createTextVNode("展开"),n.createVNode(n.resolveComponent("down-outlined"),null,null)])]})]}):""]),[[n.resolveDirective("resize"),({width:s,height:d})=>{const c=d,p=s;if(c>24){this.showIcon=!0,this.clientWidth=p;return}if(this.clientWidth&&p!=this.clientWidth){p>this.clientWidth?(this.showIcon=!1,this.clientWidth=p,this.setfun&&clearTimeout(this.setfun),this.setfun=setTimeout(()=>{this.$refs.text.clientHeight>22?this.showIcon=!0:(this.showIcon=!1,this.isOpen=!1)})):(this.clientWidth=p,this.$refs.text.clientHeight>22?this.showIcon=!0:(this.showIcon=!1,this.isOpen=!1));return}}]])}}),Er=n.defineComponent({props:["props"],setup(e,r){const t=n.ref(null),o=n.ref(null),l=n.reactive({descriptionsColumn:3,fieldList:[],otherContentWidth:null,otherList:[],labelWidth:null}),s=n.computed(()=>{let b=[];const O=e.props.fieldList.filter(i=>(i.content?.type?.name=="WeUpload"||i.span)&&i.isShow!=!1);return e.props.isSpecial||O.forEach(i=>{const C=e.props.fieldList.findIndex(k=>k.label==i.label);e.props.fieldList.splice(C,1)}),b=e.props.fieldList.filter(i=>i.isShow!=!1).filter(i=>!i.span),c(),[b,O]}),d=()=>{var b=document.body.clientWidth;b>=1920&&(l.descriptionsColumn=3),b<1920&&(l.descriptionsColumn=2),b<950&&(l.descriptionsColumn=1)},c=()=>{n.nextTick(()=>{t.value.querySelectorAll(".ant-descriptions-item-label").forEach(O=>{l.labelWidth=l.labelWidth<O.offsetWidth?O.offsetWidth:l.labelWidth})})};n.onMounted(()=>{d(),window.addEventListener("resize",d),p()}),n.onUnmounted(()=>{window.removeEventListener("resize",d)});const p=()=>{const b=new ResizeObserver(i=>{i.forEach(C=>{const k=C.target,{width:T,height:D}=k.getBoundingClientRect(),A=l.labelWidth>200?200:l.labelWidth;l.otherContentWidth=l.descriptionsColumn==3?`${Math.floor(T/3)-A}px`:null})}),O=document.querySelector(".defaultDescriptions");O&&b.observe(O)},f=b=>{if(l.descriptionsColumn==3)return b%3==0;if(l.descriptionsColumn==2||l.descriptionsColumn==1)return null},a=b=>{if(b.length%3!=0)return b.length%3};return()=>n.createVNode("div",{class:"WeFromView",ref:t},[n.createVNode(n.resolveComponent("a-descriptions"),{ref:o,colon:!1,bordered:!0,column:l.descriptionsColumn,class:"defaultDescriptions"},{default:()=>[s.value?.[0].map((b,O,i)=>n.createVNode(n.resolveComponent("a-descriptions-item"),{labelStyle:{minWidth:`${l.labelWidth}px`},contentStyle:{minWidth:f(O)&&a(s.value?.[0])==2?l.otherContentWidth:null,maxWidth:f(O)&&a(s.value?.[0])==2?l.otherContentWidth:null},label:b.label},{default:()=>[b?.content||e.props.form[b?.prop]||"-"]}))]}),!!s.value?.[1].length&&n.createVNode(n.resolveComponent("a-descriptions"),{class:"imageDescriptions",colon:!1,bordered:!0,column:l.descriptionsColumn},{default:()=>[s.value?.[1].map(b=>n.createVNode(n.resolveComponent("a-descriptions-item"),{labelStyle:{minWidth:`${l.labelWidth}px`},span:3,label:b.label},{default:()=>[b?.content||e.props.form[b?.prop]||"-"]}))]})])}}),Br=n.defineComponent({props:{data:Object,item:Object,popupContainer:String},components:{RollbackOutlined:oe},data(){return{showInput:!1,openSelect:!1}},watch:{selectOptions:{handler(e,r){this.data[this.item?.prop]==-999999?this.showInput=!0:this.data[this.item?.prop]&&(this.selectOptions.find(o=>o[this.item?.fieldNames?.value||this.item?.optVal||"value"]==this.data[this.item?.prop])?this.showInput=!1:this.showInput=!0)},immediate:!0},selectId:{handler(e,r){this.data[this.item?.prop]==-999999?this.showInput=!0:this.data[this.item?.prop]&&(this.selectOptions.find(o=>o[this.item?.fieldNames?.value||this.item?.optVal||"value"]==this.data[this.item?.prop])?this.showInput=!1:this.showInput=!0)},immediate:!0}},computed:{selectId:{set(e){this.data[this.item?.prop]=e},get(){return this.data[this.item?.prop]}},selectOptions(){return[...this.item.options||[],{[this.item?.fieldNames?.value||this.item?.optVal||"value"]:-999999,[this.item?.fieldNames?.label||this.item?.optLabel||"label"]:"其它"}]}},mounted(){},methods:{renderSelect(e,r){const t=this.popupContainer==="body"?document.body:document.getElementsByClassName(this.popupContainer)?.[0];return n.createVNode(n.resolveComponent("a-select"),n.mergeProps({ref:"selectRef",value:this.selectId,"onUpdate:value":o=>this.selectId=o,placeholder:r.placeholder,type:r?.type,maxTagCount:1,showArrow:!0,style:r?.style,size:r?.size?r?.size:this.size,mode:r?.mode?r.mode:"combobox",showSearch:"showSearch"in r?r.showSearch:!0,optionFilterProp:r?.fieldNames&&r.fieldNames?.label||(r?.optLabel?r.optLabel:"label"),allowClear:r?.allowClear?r?.allowClear:!0},r,{defaultOpen:this.openSelect,options:this.selectOptions,onChange:o=>{o==-999999&&(e[r?.prop]=void 0,this.showInput=!0,setTimeout(()=>{this.$refs.inputRef?.focus(),this.openSelect=!1},0)),r.onChange?.(o)},fieldNames:r?.fieldNames?r?.fieldNames:{options:"children",label:r?.optLabel?r.optLabel:"label",value:r?.optVal?r.optVal:"value"},getPopupContainer:o=>this.popupContainer?t:o.offsetParent}),r.slots)},renderInput(e,r){return n.createVNode(n.resolveComponent("a-input"),n.mergeProps({value:e[r.prop],"onUpdate:value":t=>e[r.prop]=t,ref:"inputRef",colon:!0,type:r?.type,style:r?.style,maxlength:50},r,{placeholder:"请输入"+r.label,suffix:n.createVNode(n.resolveComponent("a-tooltip"),{placement:"topLeft",title:"点击重新选择"},{default:()=>[n.createVNode(oe,{onClick:()=>{e[r?.prop]=void 0,this.openSelect=!0,this.showInput=!1,r.onChange?.()}},null)]})}),null)}},setup(){return{}},render(){return this.showInput?this.renderInput(this.data,this.item):this.renderSelect(this.data,this.item)}}),Yr=n.defineComponent({props:{data:Object,item:Object,className:String,popupContainer:String},data(){return{showInput:!1}},computed:{selectId:{set(e){this.data[this.item?.prop]=e},get(){return this.data[this.item?.prop]}},selectOptions(){return[...this.item.options,{[this.item?.fieldNames?.value||this.item?.optVal||"value"]:-999999,[this.item?.fieldNames?.label||this.item?.optLabel||"label"]:"其它"}]}},mounted(){},methods:{renderSelect(e,r){const t=this.popupContainer==="body"?document.body:document.getElementsByClassName(this.popupContainer)?.[0];return n.createVNode(n.resolveComponent("a-form-item"),{colon:!0,class:this.className,label:r?.label,name:r?.name||r?.prop,extra:r?.extra,rules:r.rules},{default:()=>[n.createVNode(n.resolveComponent("a-select"),n.mergeProps({value:this.selectId,"onUpdate:value":o=>this.selectId=o,placeholder:r.placeholder,type:r?.type,maxTagCount:1,showArrow:!0,style:r?.style,size:r?.size?r?.size:this.size,mode:r?.mode?r.mode:"combobox",showSearch:"showSearch"in r?r.showSearch:!0,optionFilterProp:r?.fieldNames&&r.fieldNames?.label||(r?.optLabel?r.optLabel:"label"),allowClear:r?.allowClear?r?.allowClear:!0},r,{options:this.selectOptions,onChange:o=>{o==-999999?this.showInput=!0:(this.showInput=!1,e[r?.inputProp??r.prop+"_name"]=void 0),r.onChange?.(o)},fieldNames:r?.fieldNames?r?.fieldNames:{options:"children",label:r?.optLabel?r.optLabel:"label",value:r?.optVal?r.optVal:"value"},getPopupContainer:o=>this.popupContainer?t:o.offsetParent}),r.slots)]})},renderInput(e,r){return n.createVNode(n.resolveComponent("a-form-item"),{name:r?.inputProp??r.prop+"_name",label:this.item?.label,extra:r?.extra,rules:r.rules,class:this.className},{default:()=>[n.createVNode(n.resolveComponent("a-input"),n.mergeProps({value:e[r?.inputProp??r.prop+"_name"],"onUpdate:value":t=>e[r?.inputProp??r.prop+"_name"]=t,placeholder:r.placeholder,colon:!0,style:r?.style,maxlength:50},r),null)]})}},setup(){return{}},render(){return n.createVNode(n.Fragment,null,[this.renderSelect(this.data,this.item),this.showInput?this.renderInput(this.data,this.item):""])}}),Ur=n.defineComponent({props:{data:Object,item:Object,popupContainer:String},components:{RollbackOutlined:oe},data(){return{showInput:!1,otherOption:""}},computed:{selectId:{set(e){this.data[this.item?.prop]=e},get(){return this.data[this.item?.prop]}},selectOptions(){return this.data[this.item?.prop]&&!this.item.options.find(r=>r[this.item?.fieldNames?.value||this.item?.optVal||"value"]==this.data[this.item?.prop])?[...this.item.options,{[this.item?.fieldNames?.value||this.item?.optVal||"value"]:this.data[this.item?.prop],[this.item?.fieldNames?.label||this.item?.optLabel||"label"]:this.data[this.item?.prop]}]:this.item.options}},mounted(){},methods:{renderSelect(e,r){const t=this.popupContainer==="body"?document.body:document.getElementsByClassName(this.popupContainer)?.[0];return n.createVNode(n.resolveComponent("a-select"),n.mergeProps({value:this.selectId,"onUpdate:value":o=>this.selectId=o,placeholder:r.placeholder,type:r?.type,showArrow:!0,style:r?.style,size:r?.size?r?.size:this.size,mode:r?.mode?r.mode:"combobox",optionFilterProp:r?.fieldNames&&r.fieldNames?.label||(r?.optLabel?r.optLabel:"label"),allowClear:r?.allowClear?r?.allowClear:!0},r,{options:this.selectOptions,onChange:o=>{r.onChange?.(o)},showSearch:!1,fieldNames:r?.fieldNames?r?.fieldNames:{options:"children",label:r?.optLabel?r.optLabel:"label",value:r?.optVal?r.optVal:"value"},dropdownRender:({menuNode:o})=>n.createVNode(n.Fragment,null,[o,n.createVNode(n.resolveComponent("a-divider"),{style:"margin: 4px 0"},null),n.createVNode("div",{onClick:l=>(l.stopPropagation(),!1),style:"display:flex"},[n.createVNode(n.resolveComponent("a-space"),{style:"padding: 4px 8px"},{default:()=>[n.createVNode(n.resolveComponent("a-input"),{ref:"inputRef",value:this.otherOption,"onUpdate:value":l=>this.otherOption=l,placeholder:"请输入其他字段"},null),n.createVNode(n.resolveComponent("a-button"),{type:"text",onClick:this.addItem},{default:()=>[n.createTextVNode("新增")]})]})])]),getPopupContainer:o=>this.popupContainer?t:o.offsetParent}),r.slots)},addItem(e){e.preventDefault(),this.item.options.push({[this.item?.fieldNames?.value||this.item?.optVal||"value"]:this.otherOption,[this.item?.fieldNames?.label||this.item?.optLabel||"label"]:this.otherOption}),this.otherOption="",setTimeout(()=>{this.$refs.inputRef?.focus()},0)}},setup(){return{}},render(){return this.renderSelect(this.data,this.item)}});function Hr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ye={exports:{}},qr=ye.exports,Nt;function Gr(){return Nt||(Nt=1,(function(e,r){(function(t,o){e.exports=o()})(qr,(function(){var t=1e3,o=6e4,l=36e5,s="millisecond",d="second",c="minute",p="hour",f="day",a="week",b="month",O="quarter",i="year",C="date",k="Invalid Date",T=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,D=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,A={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(w){var g=["th","st","nd","rd"],u=w%100;return"["+w+(g[(u-20)%10]||g[u]||g[0])+"]"}},y=function(w,g,u){var m=String(w);return!m||m.length>=g?w:""+Array(g+1-m.length).join(u)+w},x={s:y,z:function(w){var g=-w.utcOffset(),u=Math.abs(g),m=Math.floor(u/60),h=u%60;return(g<=0?"+":"-")+y(m,2,"0")+":"+y(h,2,"0")},m:function w(g,u){if(g.date()<u.date())return-w(u,g);var m=12*(u.year()-g.year())+(u.month()-g.month()),h=g.clone().add(m,b),N=u-h<0,V=g.clone().add(m+(N?-1:1),b);return+(-(m+(u-h)/(N?h-V:V-h))||0)},a:function(w){return w<0?Math.ceil(w)||0:Math.floor(w)},p:function(w){return{M:b,y:i,w:a,d:f,D:C,h:p,m:c,s:d,ms:s,Q:O}[w]||String(w||"").toLowerCase().replace(/s$/,"")},u:function(w){return w===void 0}},P="en",$={};$[P]=A;var _="$isDayjsObject",I=function(w){return w instanceof we||!(!w||!w[_])},X=function w(g,u,m){var h;if(!g)return P;if(typeof g=="string"){var N=g.toLowerCase();$[N]&&(h=N),u&&($[N]=u,h=N);var V=g.split("-");if(!h&&V.length>1)return w(V[0])}else{var v=g.name;$[v]=g,h=v}return!m&&h&&(P=h),h||!m&&P},L=function(w,g){if(I(w))return w.clone();var u=typeof g=="object"?g:{};return u.date=w,u.args=arguments,new we(u)},S=x;S.l=X,S.i=I,S.w=function(w,g){return L(w,{locale:g.$L,utc:g.$u,x:g.$x,$offset:g.$offset})};var we=(function(){function w(u){this.$L=X(u.locale,null,!0),this.parse(u),this.$x=this.$x||u.x||{},this[_]=!0}var g=w.prototype;return g.parse=function(u){this.$d=(function(m){var h=m.date,N=m.utc;if(h===null)return new Date(NaN);if(S.u(h))return new Date;if(h instanceof Date)return new Date(h);if(typeof h=="string"&&!/Z$/i.test(h)){var V=h.match(T);if(V){var v=V[2]-1||0,M=(V[7]||"0").substring(0,3);return N?new Date(Date.UTC(V[1],v,V[3]||1,V[4]||0,V[5]||0,V[6]||0,M)):new Date(V[1],v,V[3]||1,V[4]||0,V[5]||0,V[6]||0,M)}}return new Date(h)})(u),this.init()},g.init=function(){var u=this.$d;this.$y=u.getFullYear(),this.$M=u.getMonth(),this.$D=u.getDate(),this.$W=u.getDay(),this.$H=u.getHours(),this.$m=u.getMinutes(),this.$s=u.getSeconds(),this.$ms=u.getMilliseconds()},g.$utils=function(){return S},g.isValid=function(){return this.$d.toString()!==k},g.isSame=function(u,m){var h=L(u);return this.startOf(m)<=h&&h<=this.endOf(m)},g.isAfter=function(u,m){return L(u)<this.startOf(m)},g.isBefore=function(u,m){return this.endOf(m)<L(u)},g.$g=function(u,m,h){return S.u(u)?this[m]:this.set(h,u)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(u,m){var h=this,N=!!S.u(m)||m,V=S.p(u),v=function(K,W){var Z=S.w(h.$u?Date.UTC(h.$y,W,K):new Date(h.$y,W,K),h);return N?Z:Z.endOf(f)},M=function(K,W){return S.w(h.toDate()[K].apply(h.toDate("s"),(N?[0,0,0,0]:[23,59,59,999]).slice(W)),h)},j=this.$W,F=this.$M,Y=this.$D,ee="set"+(this.$u?"UTC":"");switch(V){case i:return N?v(1,0):v(31,11);case b:return N?v(1,F):v(0,F+1);case a:var Q=this.$locale().weekStart||0,le=(j<Q?j+7:j)-Q;return v(N?Y-le:Y+(6-le),F);case f:case C:return M(ee+"Hours",0);case p:return M(ee+"Minutes",1);case c:return M(ee+"Seconds",2);case d:return M(ee+"Milliseconds",3);default:return this.clone()}},g.endOf=function(u){return this.startOf(u,!1)},g.$set=function(u,m){var h,N=S.p(u),V="set"+(this.$u?"UTC":""),v=(h={},h[f]=V+"Date",h[C]=V+"Date",h[b]=V+"Month",h[i]=V+"FullYear",h[p]=V+"Hours",h[c]=V+"Minutes",h[d]=V+"Seconds",h[s]=V+"Milliseconds",h)[N],M=N===f?this.$D+(m-this.$W):m;if(N===b||N===i){var j=this.clone().set(C,1);j.$d[v](M),j.init(),this.$d=j.set(C,Math.min(this.$D,j.daysInMonth())).$d}else v&&this.$d[v](M);return this.init(),this},g.set=function(u,m){return this.clone().$set(u,m)},g.get=function(u){return this[S.p(u)]()},g.add=function(u,m){var h,N=this;u=Number(u);var V=S.p(m),v=function(F){var Y=L(N);return S.w(Y.date(Y.date()+Math.round(F*u)),N)};if(V===b)return this.set(b,this.$M+u);if(V===i)return this.set(i,this.$y+u);if(V===f)return v(1);if(V===a)return v(7);var M=(h={},h[c]=o,h[p]=l,h[d]=t,h)[V]||1,j=this.$d.getTime()+u*M;return S.w(j,this)},g.subtract=function(u,m){return this.add(-1*u,m)},g.format=function(u){var m=this,h=this.$locale();if(!this.isValid())return h.invalidDate||k;var N=u||"YYYY-MM-DDTHH:mm:ssZ",V=S.z(this),v=this.$H,M=this.$m,j=this.$M,F=h.weekdays,Y=h.months,ee=h.meridiem,Q=function(W,Z,se,Ne){return W&&(W[Z]||W(m,N))||se[Z].slice(0,Ne)},le=function(W){return S.s(v%12||12,W,"0")},K=ee||function(W,Z,se){var Ne=W<12?"AM":"PM";return se?Ne.toLowerCase():Ne};return N.replace(D,(function(W,Z){return Z||(function(se){switch(se){case"YY":return String(m.$y).slice(-2);case"YYYY":return S.s(m.$y,4,"0");case"M":return j+1;case"MM":return S.s(j+1,2,"0");case"MMM":return Q(h.monthsShort,j,Y,3);case"MMMM":return Q(Y,j);case"D":return m.$D;case"DD":return S.s(m.$D,2,"0");case"d":return String(m.$W);case"dd":return Q(h.weekdaysMin,m.$W,F,2);case"ddd":return Q(h.weekdaysShort,m.$W,F,3);case"dddd":return F[m.$W];case"H":return String(v);case"HH":return S.s(v,2,"0");case"h":return le(1);case"hh":return le(2);case"a":return K(v,M,!0);case"A":return K(v,M,!1);case"m":return String(M);case"mm":return S.s(M,2,"0");case"s":return String(m.$s);case"ss":return S.s(m.$s,2,"0");case"SSS":return S.s(m.$ms,3,"0");case"Z":return V}return null})(W)||V.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(u,m,h){var N,V=this,v=S.p(m),M=L(u),j=(M.utcOffset()-this.utcOffset())*o,F=this-M,Y=function(){return S.m(V,M)};switch(v){case i:N=Y()/12;break;case b:N=Y();break;case O:N=Y()/3;break;case a:N=(F-j)/6048e5;break;case f:N=(F-j)/864e5;break;case p:N=F/l;break;case c:N=F/o;break;case d:N=F/t;break;default:N=F}return h?N:S.a(N)},g.daysInMonth=function(){return this.endOf(b).$D},g.$locale=function(){return $[this.$L]},g.locale=function(u,m){if(!u)return this.$L;var h=this.clone(),N=X(u,m,!0);return N&&(h.$L=N),h},g.clone=function(){return S.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},w})(),vt=we.prototype;return L.prototype=vt,[["$ms",s],["$s",d],["$m",c],["$H",p],["$W",f],["$M",b],["$y",i],["$D",C]].forEach((function(w){vt[w[1]]=function(g){return this.$g(g,w[0],w[1])}})),L.extend=function(w,g){return w.$i||(w(g,we,L),w.$i=!0),L},L.locale=X,L.isDayjs=I,L.unix=function(w){return L(1e3*w)},L.en=$[P],L.Ls=$,L.p={},L}))})(ye)),ye.exports}var Jr=Gr();const q=Hr(Jr),Ce=e=>Array.from(Array.from({length:e}).keys()),Xr=(e,r)=>{const t=e.subtract(1,"month").format("YYYY-MM"),o=e.subtract(1,"month").endOf("month").date();return Ce(r).map((l,s)=>t+"-"+(o-(r-s-1)))},Zr=e=>Ce(e.length/7).map(r=>{const t=r*7;return e.slice(t,t+7)}),Vt=["一","二","三","四","五","六","日"];function Qr(e){const r=[...Vt.slice(e.firstDayOfWeek-1),...Vt.slice(0,e.firstDayOfWeek-1)],t=n.ref(e.month||q().format("YYYY-MM")),o=n.ref([]),l=e.firstDayOfWeek||1,s=p=>{let f=q(p).startOf("month").format("YYYY-MM-DD"),a=q(f).day(),b=[];const O=Xr(q(p+"01"),(a-l+7)%7).map(A=>({date:A,type:"prev"})),C=(A=>{const y=A.daysInMonth();return Ce(y).map((x,P)=>P+1)})(q(p+"01")).map(A=>({date:p+"-"+String(A).padStart(2,"0"),type:"current"}));b=[...O,...C];const k=7-(b.length%7||7);let T=q(f).add(1,"month").format("YYYY-MM");const D=Ce(k).map((A,y)=>({date:T+"-"+String(y+1).padStart(2,"0"),type:"next"}));return b=b.concat(D),Zr(b)};return n.watch(t,p=>{o.value=s(p)},{immediate:!0}),{WEEK_DAYS:r,month:t,days:o,selectMonth:(p,f,a)=>{const b=f==="prev"?"subtract":"add";t.value=q(t.value)[b](1,a).format("YYYY-MM")},clickWeek:p=>{const f=p[0],a=p.at(-1);return{start:f.date,end:a.date}}}}const Kr=n.defineComponent({emits:["change","update:sel"],props:["sel","firstDayOfWeek","selValue"],setup(e,{emit:r}){const{WEEK_DAYS:t,month:o,days:l,selectMonth:s,clickWeek:d}=Qr({firstDayOfWeek:e.firstDayOfWeek}),c=n.ref([]),p=(i,C)=>{let k=d(i);r("change",k),r("update:sel",!1)};n.watch(()=>e.selValue,i=>{if(!i)return;const C=l.value.findIndex(T=>T[0].date===i[0]&&T[6].date===i[1]),k=i[0].slice(0,7);c.value=[k,C]},{immediate:!0});const f=n.computed(()=>i=>c.value[0]===o.value&&c.value[1]===i),a=n.ref(null),b=i=>{!a.value.contains(i.target)&&r("update:sel",!1)},O=i=>{document.body[i]("click",b)};return n.watch(()=>e.sel,i=>{const C=i?"addEventListener":"removeEventListener";setTimeout(()=>{O(C)})},{immediate:!0}),()=>n.createVNode("div",{class:"ant-picker-week-panel",ref:a,style:"width: 100%;"},[n.createVNode("div",{class:"ant-picker-header"},[n.createVNode("button",{class:"ant-picker-header-super-prev-btn",onClick:i=>s(i,"prev","year")},[n.createVNode("span",{class:"ant-picker-super-prev-icon"},null)]),n.createVNode("button",{class:"ant-picker-header-prev-btn",onClick:i=>s(i,"prev","month")},[n.createVNode("span",{class:"ant-picker-prev-icon"},null)]),n.createVNode("div",{class:"ant-picker-header-view cal-month"},[q(o.value).format("YYYY年M月")]),n.createVNode("button",{class:"ant-picker-header-next-btn",onClick:i=>s(i,"next","month")},[n.createVNode("span",{class:"ant-picker-next-icon"},null)]),n.createVNode("button",{class:"ant-picker-header-super-next-btn",onClick:i=>s(i,"next","year")},[n.createVNode("span",{class:"ant-picker-super-next-icon"},null)])]),n.createVNode("div",{class:"ant-picker-body cal-box"},[n.createVNode("table",{class:"ant-picker-content"},[n.createVNode("thead",null,[n.createVNode("tr",null,[t.map((i,C)=>n.createVNode("th",{key:"week"+C},[i]))])]),n.createVNode("tbody",null,[l.value.map((i,C)=>n.createVNode("tr",{key:"row"+C,class:["ant-picker-week-panel-row",f.value(C)&&"ant-picker-week-panel-row-selected"]},[i.map(k=>n.createVNode("td",{key:"day"+k.date,class:["ant-picker-cell ant-picker-cell-in-view",f.value(C)&&"ant-picker-cell-selected"],onClick:()=>p(i)},[n.createVNode("div",{class:["ant-picker-cell-inner","cell-inner-sty",k.type!=="current"&&"out-month"]},[q(k.date).format("D")])]))]))])])])])}}),en=n.defineComponent({emits:["update:modelValue"],props:["modelValue","firstDayOfWeek","placeholder","size","getPopupContainer"],setup(e,{emit:r,attrs:t}){const o=n.ref(null),l=c=>{let{start:p,end:f}=c;o.value=[p,f],r("update:modelValue",o.value)},s=n.computed(()=>o.value?`${o.value[0]} ~ ${o.value[1]}`:null);n.watch(()=>e.modelValue,c=>{c&&(o.value=c)},{immediate:!0});const d=n.ref(!1);return()=>n.createVNode(n.resolveComponent("a-select"),n.mergeProps({value:s.value,open:d.value,placeholder:e.placeholder,onClick:()=>{d.value=!0}},t),{dropdownRender:()=>n.createVNode(Kr,{sel:d.value,"onUpdate:sel":c=>d.value=c,selValue:o.value,firstDayOfWeek:e.firstDayOfWeek,onChange:l},null)})}}),Ot=(e,r)=>{e=JSON.parse(JSON.stringify(e));let t=[];for(let o of e)o.path=o.pid==0?[o.id??o.value]:r.concat([o.id??o.value]),t.push(o),o.children?.length&&(t=t.concat(Ot(o.children,o.path)));return t},ae=n.defineComponent({name:"CloudFormItem",props:["props"],data(){return{specialGrid:"bpy-col-md-16 bpy-col-xl-12",newfieldList:[]}},mounted(){this.watchResize(),this.getnewfieldList(),window.addEventListener("resize",()=>this.watchResize(),!1);const{hideMargin:e=!0}=this.props;this.$refs.viewformcontent?this.$refs.viewformcontent.offsetParent.style.cssText=e?"margin-bottom:-8px !important":"margin-bottom:0px !important":setTimeout(()=>{this.$refs.viewformcontent&&(this.$refs.viewformcontent.offsetParent.style.cssText=e?"margin-bottom:-8px !important":"margin-bottom:0px !important")})},watch:{"props.fieldList"(e){this.getnewfieldList()},"props.form"(e){this.getnewfieldList()}},methods:{watchResize(){let e=window.screenWidth||document.body.clientWidth;e<1200?this.specialGrid="bpy-col-xs-24 bpy-col-sm-24":this.specialGrid="bpy-col-md-16",e<1200&&(this.screenWidth>1200||this.screenWidth<767)?(this.screenWidth=e,this.getnewfieldList()):e<767&&this.screenWidth>=767?(this.screenWidth=e,this.getnewfieldList()):e>=1200&&this.screenWidth<1200&&(this.screenWidth=e,this.getnewfieldList()),this.screenWidth=e},getnewfieldList(){if(this.props.type!="view")this.newfieldList=this.props.fieldList||[];else{let{column:e=3}=this.props;this.screenWidth<767?e=1:this.screenWidth<1200&&(e=2);const r=[];this.props.fieldList?.filter(t=>t.label&&t.isShow!==!1).map((t,o)=>{r[o%e]?r[o%e].push(t):r[o%e]=[t]}),this.newfieldList=r}},formatCascader(e,r){if((r?.type==="cascader"||r.type=="cascaderPeople")&&r.options?.length&&e[r.prop]){if(r.changeOnSelect){const l=(c,p)=>{c=JSON.parse(JSON.stringify(c));let f=[];for(let a of c)a.path=a.pid==0?[a.id??a.value]:p.concat([a.id??a.value]),f.push(a),a.children?.length&&(f=f.concat(l(a.children,a.path)));return f};l(r.options,[]).map(c=>(c.path=c.path.join(","),c.path)).includes(e[r.prop].join(","))||(e[r.prop]=null);return}const o=Ot(r.options,[]).map(l=>(l.path=l.path.join(","),l.path));if(r.multiple){e[r.prop]?.forEach((l,s)=>{const d=l.join(",");o.includes(d)||(e[r.prop]=e[r.prop].filter(c=>c.join(",")!=d))});return}o.includes(e[r.prop].join(","))||(e[r.prop]=null)}},renderForm(e,r){const{form:t,column:o=3,formRules:l=!1,type:s="",hasGrid:d=!0,offset:c="",popupContainer:p}=this.props,f=p==="body"?document.body:document.getElementsByClassName(p)?.[0];return n.createVNode(n.Fragment,null,[e?.length>0&&e.map((a,b)=>{if(s==="view"&&(a.type="text",a.rules=!1),a?.isShow!=!1){const O=a?.column?a?.column:o;if(s=="view"){let i=a?.content||t[a?.prop],C=null;return i===null||i===""||Array.isArray(i)&&i.length===0?C="-":C=a?.content||t[a?.prop],a.isText===!1?n.createVNode("div",{class:d?`${a?.type==="text"?"bpy-form-text bpy-formitem":""} bpy-col bpy-col-24 ${r[O-2]} ${r[O-1]} ${r[O]} ${c}`:"bpy-col bpy-col-24"},[n.createVNode("div",{class:"bpy-formitem-label"},[a.label+" :"]),n.createVNode("div",{class:"bpy-formitem-value"},[a.valType=="number"&&(a?.content||t[a?.prop])*1?n.createVNode(n.resolveComponent("a-statistic"),{precision:2,value:a?.content||t[a?.prop]},null):C])]):n.createVNode("div",{class:d?`bpy-col bpy-col-24 ${r[o-2]} ${r[o-1]} ${r[o]} ${c}`:"bpy-col bpy-col-24"},[n.createVNode(Rr,{props:{className:"bpy-form-text",isPage:f,label:a.label,data:t,item:a,value:a.valType=="number"&&(a?.content||t[a?.prop])*1+1?n.createVNode(n.resolveComponent("a-statistic"),{precision:2,value:a?.content||t[a?.prop]},null):C}},null)])}if(this.formatCascader(t,a),a.type==="select"&&a.hasOwnProperty("selectType")&&a?.selectType==="user"&&a?.options?.length&&t[a.prop]){let i=a?.options.map(C=>C.id);a?.mode==="multiple"&&t[a?.prop]?.forEach((C,k)=>{if(!i.includes(C)){const T=t[a?.prop].findIndex(D=>D==C);t[a?.prop].splice(T,1)}}),a.hasOwnProperty("mode")||i.includes(t[a?.prop])||(t[a?.prop]=null)}else if(a.type==="inpSelect")return n.createVNode(Yr,{item:{...a,placeholder:a.placeholder||this.getPlaceholder(a)},data:t,popupContainer:p,className:d?`${a?.type==="text"?"bpy-form-text":""} bpy-col bpy-col-24 ${r[O-2]} ${r[O-1]} ${r[O]} ${c} ${a.column==2?"bpy-col-xl-12":""}`:"bpy-col bpy-col-24"},null);return n.createVNode(n.resolveComponent("a-form-item"),{colon:a?.type==="text",ref:"formItem",class:d?`${a?.type==="text"?"bpy-form-text":""} bpy-col bpy-col-24 ${r[O-2]} ${r[O-1]} ${r[O]} ${c} ${a.column==2?"bpy-col-xl-12":""}`:"bpy-col bpy-col-24",label:a?.label,name:a?.name||a?.prop,extra:a?.extra,rules:l?!1:a.rules,style:a?.type=="textarea"&&a.block!==!1?{display:"block!important"}:{}},{default:()=>[a?.type==="text"?a.valType=="number"&&(a?.content||t[a?.prop])*1?n.createVNode(n.resolveComponent("a-statistic"),{precision:2,value:a?.content||t[a?.prop]},null):a?.content||(t[a?.prop]===null||t[a?.prop]===""?"-":t[a?.prop]):"",a?.type==="input"&&n.createVNode(n.resolveComponent("a-input"),n.mergeProps({value:t[a?.prop],"onUpdate:value":i=>t[a?.prop]=i,placeholder:a.placeholder||this.getPlaceholder(a),colon:!0,type:a?.type,style:a?.style,maxlength:50},a),null),a?.type==="inputSearch"&&n.createVNode(n.resolveComponent("a-input-search"),n.mergeProps({value:t[a?.prop],"onUpdate:value":i=>t[a?.prop]=i,placeholder:a.placeholder||this.getPlaceholder(a)},a,{style:a?.style,"enter-button":a?.enterButton,enterButton:a?.custEnterButton}),null),a?.type==="password"&&n.createVNode(n.resolveComponent("a-input-password"),n.mergeProps({value:t[a?.prop],"onUpdate:value":i=>t[a?.prop]=i,placeholder:a.placeholder||this.getPlaceholder(a)},a),null),a?.type==="inputNumber"&&n.createVNode(n.resolveComponent("a-input-number"),n.mergeProps({value:t[a?.prop],"onUpdate:value":i=>t[a?.prop]=i},a,{style:{width:"100%",...a?.style},placeholder:a.placeholder||this.getPlaceholder(a),"string-mode":a?.stringMode?a?.stringMode:!1}),null),a?.type==="textarea"&&n.createVNode(n.Fragment,null,[n.createVNode(n.resolveComponent("a-textarea"),n.mergeProps({value:t[a?.prop],"onUpdate:value":i=>t[a?.prop]=i,placeholder:a.placeholder||this.getPlaceholder(a),maxlength:200,showCount:!0},a,{style:a?.style,size:a?.size?a?.size:this.size}),null),a?.areaExtra]),a?.type==="select"&&n.createVNode(n.resolveComponent("a-select"),n.mergeProps({value:t[a?.prop],"onUpdate:value":i=>t[a?.prop]=i,placeholder:a.placeholder||this.getPlaceholder(a),type:a?.type,maxTagCount:1,showArrow:!0,style:a?.style,size:a?.size?a?.size:this.size,mode:a?.mode?a.mode:"combobox",showSearch:"showSearch"in a?a.showSearch:!0,optionFilterProp:a?.fieldNames&&a.fieldNames?.label||(a?.optLabel?a.optLabel:"label"),allowClear:a?.allowClear?a?.allowClear:!0},a,{fieldNames:a?.fieldNames?a?.fieldNames:{options:"children",label:a?.optLabel?a.optLabel:"label",value:a?.optVal?a.optVal:"value"},getPopupContainer:i=>p?f:i.offsetParent}),a.slots),a?.type==="otherSelect"&&n.createVNode(Br,{item:{...a,placeholder:a.placeholder||this.getPlaceholder(a)},data:t,popupContainer:p},null),a?.type==="addSelect"&&n.createVNode(Ur,{item:{...a,placeholder:a.placeholder||this.getPlaceholder(a)},data:t,popupContainer:p},null),a?.type==="switch"&&n.createVNode(n.resolveComponent("a-switch"),n.mergeProps({checked:t[a?.prop],"onUpdate:checked":i=>t[a?.prop]=i,size:a?.size?a?.size:this.size,style:a?.style},a),null),a?.type==="radio"&&n.createVNode(n.resolveComponent("a-radio-group"),n.mergeProps({value:t[a?.prop],"onUpdate:value":i=>t[a?.prop]=i,style:a?.style},a,{buttonStyle:a?.buttonStyle?a?.buttonStyle:"outline",size:a?.size?a?.size:this.size}),{default:()=>[a?.options.map((i,C)=>a?.optType?n.createVNode(n.resolveComponent("a-radio-button"),{key:C,value:a?.optVal?i[a.optVal]:i.id,disabled:i?.disabled},{default:()=>[a?.optLabel?i[a.optLabel]:i.value]}):n.createVNode(n.resolveComponent("a-radio"),{key:C,value:a?.optVal?i[a.optVal]:i.id,disabled:i?.disabled},{default:()=>[a?.optLabel?i[a.optLabel]:i.value]}))]}),a?.type==="checkbox"&&n.createVNode(n.resolveComponent("a-checkbox-group"),n.mergeProps({value:t[a?.prop],"onUpdate:value":i=>t[a?.prop]=i,style:a?.style},a),{default:()=>[a?.options.map((i,C)=>n.createVNode(n.resolveComponent("a-checkbox"),{key:C,value:a?.optVal?i[a.optVal]:i.id,disabled:i?.disabled,indeterminate:i?.indeterminate},{default:()=>[a?.optLabel?i[a.optLabel]:i.value]}))]}),a?.type==="treeSelect"&&n.createVNode(n.resolveComponent("a-tree-select"),n.mergeProps({value:t[a?.prop],"onUpdate:value":i=>t[a?.prop]=i,maxTagCount:1},a,{style:a?.style,placeholder:a.placeholder||this.getPlaceholder(a),fieldNames:a?.fieldNames?a?.fieldNames:{children:"children",label:"title",value:"key"},treeDefaultExpandAll:a?.treeDefaultExpandAll?a?.treeDefaultExpandAll:!0,treeData:a?.options,getPopupContainer:i=>p?f:i.offsetParent}),null),a?.type==="datePicker"&&n.createVNode(n.resolveComponent("a-date-picker"),n.mergeProps({value:t[a?.prop],"onUpdate:value":i=>t[a?.prop]=i},a,{style:{width:"100%",...a?.style},format:a?.format?a?.format:"YYYY-MM-DD",placeholder:a.placeholder||this.getPlaceholder(a),size:a?.size?a?.size:this.size,valueFormat:a?.valueFormat?a?.valueFormat:"YYYY-MM-DD",getPopupContainer:i=>p?f:i.offsetParent}),null),a?.type==="aloneDate"&&n.createVNode(en,n.mergeProps({modelValue:t[a?.prop],"onUpdate:modelValue":i=>t[a?.prop]=i},a,{style:{width:"100%",...a?.style},placeholder:a.placeholder||this.getPlaceholder(a),size:a?.size?a?.size:this.size,firstDayOfWeek:a.firstDayOfWeek}),null),a?.type==="rangePicker"&&n.createVNode(n.resolveComponent("a-range-picker"),n.mergeProps({value:t[a?.prop],"onUpdate:value":i=>t[a?.prop]=i},a,{style:{...a?.style,width:"100%"},format:a?.format?a?.format:"YYYY-MM-DD",placeholder:a.placeholder||this.getPlaceholder(a),valueFormat:a?.valueFormat?a?.valueFormat:"YYYY-MM-DD",getPopupContainer:i=>p?f:i.offsetParent}),null),a?.type==="cascader"&&n.createVNode(n.resolveComponent("a-cascader"),n.mergeProps({showArrow:!0,value:t[a?.prop],"onUpdate:value":i=>t[a?.prop]=i,getPopupContainer:i=>p?f:i.offsetParent},a,{style:{...a?.style},placeholder:a.placeholder||this.getPlaceholder(a)}),null),a?.type==="cascaderPeople"&&n.createVNode(n.Fragment,null,[n.createVNode(n.resolveComponent("a-cascader"),n.mergeProps({value:t[a?.prop],"onUpdate:value":i=>t[a?.prop]=i},a,{style:{...a?.style},open:!1,multiple:a?.multiple===!1?a.multiple:!0,showCheckedStrategy:"SHOW_CHILD",showArrow:!0,showSearch:!0,placeholder:a.placeholder||this.getPlaceholder(a),getPopupContainer:i=>p?f:i.offsetParent,onDropdownVisibleChange:i=>{a?.openCascader?.(),this.$refs[`wePeopleRef_${b}`].selectVal=t[a?.prop],this.$refs[`wePeopleRef_${b}`].modal.visible=i}}),null),n.createVNode(pe,{ref:`wePeopleRef_${b}`,props:{treeList:a?.pelOptions||a?.options,fieldNames:a?.fieldNames,multiple:a?.multiple===!1?a.multiple:!0,title:a.title,labelText:a.labelText,labelWidth:a.labelWidth,...a},onClose:i=>{a?.cascaderClose?.(),this.$refs[`wePeopleRef_${b}`].modal.visible=!1},onSure:(i,C)=>{a?.cascaderSuccess?.(),t[a?.prop]=i,this.$refs[`wePeopleRef_${b}`].modal.visible=!1,a?.classify||a.onChange(i,C)}},null)]),a?.type==="other"&&a?.content]})}})])},renderSpecialLog(e,r){const{form:t}=this.props;return n.createVNode(n.Fragment,null,[e.length>0&&e.map((o,l)=>n.createVNode("div",{class:"bpy-form-text bpy-formitem-text-box bpy-special-log-box"},[n.createVNode("div",{class:"bpy-formitem-text bpy-special-log"},[n.createVNode("div",{class:"bpy-special-log-header"},[n.createVNode("span",{class:"bpy-special-log-icon"},null),n.createVNode("span",{class:"bpy-special-log-title"},[o?.label])]),n.createVNode("div",{class:"bpy-special-log-content"},[n.createVNode("div",{class:"bpy-special-log-text"},[t[o?.prop]])])])]))])}},setup({props:e}){return{getPlaceholder:({label:o,type:l,selfPlaceholder:s,prop:d})=>{let c,p=["input","inputSearch","textarea","password","inputNumber"],f=["date","datePicker"],a=["select","treeSelect","cascader","cascaderPeople"];return e?.viewType==="view"?l==="rangePicker"?c=["无","无"]:c="无":s?c=s:p.includes(l)?c="请输入"+o:f.includes(l)?c="请选择"+o:a.includes(l)?c="请选择或输入搜索":l==="rangePicker"?c=["开始日期","结束日期"]:c=o,c},size:"default"}},render(){const{fieldList:e=[],form:r,column:t=3,formRules:o=!1,type:l="",hasGrid:s=!0,offset:d="",popupContainer:c,showType:p="default"}=this.props,f={1:"bpy-col-xs-24 bpy-col-sm-24",2:t===3?this.specialGrid:"bpy-col-md-12",3:"bpy-col-lg-8 bpy-col-xl-6 bpy-col-md-12"};return c==="body"?document.body:document.getElementsByClassName(c)?.[0],e?.length>0&&l!="view"?this.renderForm(e,f):l=="view"?n.createVNode(Er,{props:this.props},null):l=="view"?n.createVNode("div",{class:"bpy-formitem-content",ref:"viewformcontent"},[p==="default"&&this.renderForm(e?.filter(a=>a.label&&a.isShow!=!1),f),p==="specialLog"&&this.newfieldList.map((a,b)=>n.createVNode("div",{class:s?`bpy-col bpy-col-24 ${f[t-2]} ${f[t-1]} ${f[t]} ${d}`:"bpy-col bpy-col-24"},[this.renderSpecialLog(a,f)]))]):""}}),ze=n.defineComponent({name:"CloudForm",props:["props"],setup({props:e}){const r=n.ref();let t=n.reactive({rules:{}});const o=()=>{t.rules=e?.fieldList.reduce((l,s)=>(s.type==="select"&&s.rules&&s.rules.length>0?(s.rules=[{...s.rules[0],message:"请选择或输入搜索"}],l[s.prop]=s.rules):s.rules&&s.rules.length>0&&(s.selfRules=[{...s.rules[0],message:"selfLabel"in s?s.rules[0].message+s.selfLabel:s.rules[0].message+s.label}],l[s.prop]=s.selfRules),l),{})};return n.watch(e.fieldList,()=>o),o(),{weForm:r,getRules:o,formRules:t}},render(){const{type:e,form:r,layout:t="horizontal",labelAlign:o="right",labelWrap:l=!1,wrapperCol:s,showBtn:d=!1,formRules:c=!0}=this.props,{rules:p}=this.formRules,f={style:{width:`${this.props?.labelWidth}px`,textAlign:o}};return n.createVNode(n.resolveComponent("a-form"),{ref:"weForm",model:r,rules:p,layout:t,labelCol:f,labelWrap:l,wrapperCol:s,onFinish:this.onFinish,onFinishFailed:this.onFinishFailed},{default:()=>[n.createVNode(ae,{props:{...this.props,formRules:c}},null)]})}}),Ie=n.defineComponent({name:"CloudFooterToolbar",data(){return{}},props:["props"],mounted(){},methods:{},setup(){return{}},render(){const{props:e}=this;return n.createVNode(n.resolveComponent("a-card"),n.mergeProps({class:"bpy-toolbar",bodyStyle:e?.card?.bodyStyle||{padding:"8px 8px"}},e?.card?.restProps),{default:()=>[n.createVNode("div",{class:"bpy-toolbar-flex-end"},[n.createVNode(n.resolveComponent("a-space"),null,{default:()=>[n.createVNode(n.resolveComponent("a-button"),{onClick:()=>{if(e?.selfClose){e?.selfClose();return}e?.onClose?e?.onClose():window.close()}},{default:()=>[e?.cancelText||"取消"]}),n.createVNode(n.Fragment,null,[e?.onFinish&&e?.routeType!=="view"&&n.createVNode(n.resolveComponent("a-button"),{type:e?.saveType||"default",loading:e?.saveLoading||!1,onClick:()=>{e?.onFinish(),setTimeout(()=>{document.querySelectorAll(".ant-form-item-has-error")?.[0]?.scrollIntoView({block:"center",behavior:"smooth"})})}},{default:()=>[e?.saveText||"暂存"]}),e?.onSubmit&&e?.routeType!=="view"&&n.createVNode(n.resolveComponent("a-button"),{type:e?.submitType||"primary",loading:e?.submitLoading,onClick:()=>{e?.onSubmit(),setTimeout(()=>{document.querySelectorAll(".ant-form-item-has-error")?.[0]?.scrollIntoView({block:"center",behavior:"smooth"})})}},{default:()=>[e?.submitText||"提交"]})])]})])]})}}),We=n.defineComponent({name:"CloudLoading",render(){return n.createVNode("div",{class:"bpy-data-loading"},[n.createVNode("div",{class:"bpy-data-loading-dot"},[n.createVNode("div",null,null),n.createVNode("div",null,null),n.createVNode("div",null,null),n.createVNode("div",null,null),n.createVNode("div",null,null)]),n.createVNode("div",{class:"bpy-data-loading-msg"},[n.createTextVNode("努力加载中")])])}}),Re=n.defineComponent({name:"CloudLights",props:{type:{default:"success",type:String,validator:e=>["success","info","primary","warning","danger"].includes(e)},size:{type:String,default:"small"},name:{default:"",type:String},color:{default:"",type:String}},setup(e){return()=>n.createVNode("div",{class:"bpy-lights"},[n.createVNode("span",{class:[e.type,"light"],style:{background:e.color,width:e.size,height:e.size}},null),n.createVNode("span",null,[e.name])])}}),tn=n.defineComponent({name:"search",components:{DoubleRightOutlined:me,DoubleLeftOutlined:be},props:["props"],data(){return{isOpen:void 0,hasToggle:!1,screenWidth:document.body.clientWidth,fieldListLength:0,formData:{},stop:null,searchRef:null,noAnimation:!0}},mounted(){this.searchRef=this.$refs.search,window.addEventListener("resize",()=>this.watchResize(),!1),this.observerHeight()},beforeUpdate(){this.noAnimation=!0},methods:{uuid(e="-"){const r=[],t="0123456789abcdef";for(let o=0;o<36;o++)r[o]=t.substr(Math.floor(Math.random()*16),1);return r[14]="4",r[19]=t.substr(r[19]&3|8,1),r[8]=r[13]=r[18]=r[23]=e,r.join("")},toggle(){this.isOpen=!this.isOpen,this.noAnimation=!1},watchResize(){this.$refs.search?.clientHeight>48?this.hasToggle=!0:this.$refs.search&&(this.hasToggle=!1)},observerHeight(){const e=this.searchRef;window&&"ResizeObserver"in window&&e&&(this.stop=new ResizeObserver(r=>{for(const t of r)t.target.clientHeight>48?this.hasToggle=!0:this.hasToggle=!1}),this.stop?.observe(e))}},unmounted(){this.stop?.unobserve(this.searchRef)},render(){const e={style:{width:`${this.props?.labelWidth}px`}},r={style:{marginLeft:`${this.props?.labelWidth}px`}},t=this.$slots.part()[0];return t.props.props.popupContainer||(t.props.props.popupContainer="body"),t.props.props&&t.props.props.fieldList.forEach(o=>{o.type==="select"&&(o.placeholder="请选择或输入搜索")}),this.$slots.part&&n.createVNode("div",{class:"search-wrapper"},[n.createVNode(n.resolveComponent("a-form"),{labelCol:e,wrapperCol:r,name:this.uuid()},{default:()=>[n.createVNode("div",{class:`search-input ${this.noAnimation?"noAnimation":""} ${this.isOpen?"search-collapse":this.isOpen===!1?"search-line":"default-search"}`},[n.createVNode("div",{class:"search-form-box",ref:"search"},[t])]),n.createVNode("div",{class:"search-button"},[n.createVNode(n.resolveComponent("a-button"),{onClick:()=>this.props?.reset()},{default:()=>[n.createTextVNode("重置")]}),n.createVNode(n.resolveComponent("a-button"),{onClick:()=>this.props?.search()},{default:()=>[this.props.searchText?this.props.searchText:"搜索"]}),n.createVNode(n.resolveComponent("a-button"),{type:"link",onClick:this.toggle,style:{display:this.hasToggle?"inline-block":"none"}},{default:()=>[this.isOpen?n.createVNode(n.Fragment,null,[n.createVNode("span",{style:{fontSize:"13px"}},[n.createTextVNode("折叠")]),n.createVNode(me,{style:"transform: rotate(-90deg);margin-top: -2px;"},null)]):n.createVNode(n.Fragment,null,[n.createVNode("span",{style:{fontSize:"13px"}},[n.createTextVNode("展开")]),n.createVNode(be,{style:"transform: rotate(-90deg);margin-top: -2px;"},null)])]})])]})])}}),rn=n.defineComponent({name:"TagsSelect",data(){return{}},props:["props"],methods:{},setup({props:e},r){const t=n.ref(!1),o=n.ref([]),l=(s,d)=>{if(e?.multiple){let c=d?[...o.value,s]:o.value.filter(p=>p!==s);o.value=c,e.changeTags(c)}else o.value=[],o.value=[s],e.changeTags([s])};return n.onMounted(()=>{e?.tagsVal&&(o.value=e?.tagsVal)}),{handleChange:l,checked:t,selectedTags:o}},render(){return n.createVNode("div",{class:"bpy-unit-list"},[n.createVNode("div",{class:"bpy-unit-list-label"},[this.props?.tagsLabel,n.createTextVNode(":")]),n.createVNode("div",{class:"bpy-unit-list-value"},[this.props?.tagsList.map(e=>{let r=this.selectedTags?.indexOf(e.id)>-1;return n.createVNode(n.Fragment,null,[n.createVNode(n.resolveComponent("a-checkable-tag"),{key:e.id,class:r?"ant-tag-checkable-after":"ant-tag-checkable-before",checked:r,"onUpdate:checked":t=>r=t,onChange:t=>this.handleChange(e.id,t)},{default:()=>[e.name]})])})]),n.createVNode("div",{class:"bpy-unit-list-control"},null)])}}),nn=[{id:"import",text:"导入",type:"default"},{id:"export",text:"导出",type:"default"},{id:"upload",text:"上传",type:"default"},{id:"download",text:"下载",type:"default"},{id:"template",text:"模板",type:"default"},{id:"add",text:"新增",type:"primary",icon:n.createVNode(Ae,null,null)}],Ee=(e,r="")=>{let t=[];return e.forEach(o=>{if(o.children&&o.children.length){const l=r?`${r}-`:"";t=t.concat(Ee(o.children,`${l}${o.title}`))}else{const l=r?`${r}-${o.title}`:o.selfTitle||o.title,s=r?`${r} > ${o.title}`:o.selfTitle||o.title;t.push({value:l,label:s,disabled:o.disabled,dataIndex:o.dataIndex,originCol:o,parentTitle:r})}}),t},St=(e,r,t="")=>e.filter(o=>{const l=t?`${t}-${o.title}`:o.selfTitle||o.title;if(o.children&&o.children.length){const s=St(o.children,r,l);return s.length>0?(o.children=s,!0):!1}return r.has(l)}),on=n.defineComponent({name:"TopButton",props:["props","onChangeColumns"],emits:["BtnClick"],data(){return{checkAll:!0,indeterminate:!1,options:[],checkedList:[]}},inject:["parent"],mounted(){this.options=Ee(this.props.columns||[]),this.checkedList=this.options.map(e=>e.value)},watch:{checkedList(e){this.indeterminate=!!e.length&&e.length<this.options.length,this.checkAll=e.length===this.options.length;const r=new Set(e),t=St(this.props.columns||[],r);this.$emit("changeColumns",t)},"props.columns":{handler(e){const r=Ee(e||[]);JSON.stringify(this.options.map(t=>t.value))!==JSON.stringify(r.map(t=>t.value))&&(this.options=r,this.checkedList=r.map(t=>t.value))},deep:!0,immediate:!0}},methods:{onCheckAllChange(e){this.checkedList=e.target.checked?this.options.map(r=>r.value):this.options.filter(r=>r.disabled).map(r=>r.value)||[],this.indeterminate=!1},setBtnClick(e){this.$emit("BtnClick",e)},getBtn(e){return n.createVNode(n.resolveComponent("a-button"),{style:{marginLeft:"8px"},type:e.type,disabled:e.disabled,onClick:()=>this.setBtnClick(e.id)},{default:()=>[e.text],icon:e.icon?()=>e.icon:null})}},render(){const{isShowColumnsSetting:e=!0,isShowRefresh:r=!0}=this.props;return n.createVNode(n.Fragment,null,[this.props.btnGroupBefore?.map(t=>{if(!(t.isShow??!0))return null;const o=nn.find(s=>s.id===t.id),l=o?{...o,...t}:t;return this.getBtn(l)}),r&&n.createVNode(n.resolveComponent("a-tooltip"),{title:"刷新"},{default:()=>[n.createVNode("span",{class:"bpy-operate-icon",onClick:()=>this.setBtnClick("refresh")},[n.createVNode(je,null,null)])]}),e&&n.createVNode(n.resolveComponent("a-popover"),{overlayClassName:"bpy-column-operate",getPopupContainer:t=>t.offsetParent||document.body,title:n.createVNode("div",null,[n.createVNode(n.resolveComponent("a-checkbox"),{checked:this.checkAll,indeterminate:this.indeterminate,onChange:t=>this.onCheckAllChange(t)},{default:()=>[n.createTextVNode("列展示")]})]),content:n.createVNode(n.resolveComponent("a-checkbox-group"),{options:this.options,value:this.checkedList,onChange:t=>this.checkedList=t},null),placement:"bottomRight",trigger:"click"},{default:()=>[n.createVNode(n.resolveComponent("a-tooltip"),{title:"列设置"},{default:()=>[n.createVNode("span",{class:"bpy-operate-icon"},[n.createVNode(_e,null,null)])]})]}),this.$slots.btnGroupAfter?.()])}}),an=e=>{const r={};for(let t in e)if(t.includes("date")){const o=t.replace("date","");r[`${o}start_date`]=e[t]?.[0],r[`${o}end_date`]=e[t]?.[1]}else if(Array.isArray(e[t])){const o=e[t]?.join(",");e[t]=o||null}return{...e,...r}};function ln(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!n.isVNode(e)}const xt=[{id:"view",text:"查看",isShow:!0},{id:"delete",text:"删除",isShow:!0},{id:"edit",text:"编辑",isShow:!0}],Be=n.defineComponent({name:"CloudTable",props:["props"],setup(e,{emit:r}){const t=e.props,o=n.reactive({searchForm:{},activeKey:t.tabsConfig?.activeKey||0,tagsVal:t.tagsSelect?.tagValue||[],columns:null}),l=n.reactive({loading:!1,pagination:{total:0,pageSize:2,current:1},dataSource:[]}),s=n.ref(t.rowSelection?.selectedRowKeys||[]),d=()=>n.createVNode(ae,{props:{fieldList:t.fieldList,form:o.searchForm}},null),c=()=>n.createVNode("div",{class:"bpy-table-tabs",style:"position: relative !important; background: #fff"},[n.createVNode(n.resolveComponent("a-tabs"),{activeKey:o.activeKey,"onUpdate:activeKey":y=>o.activeKey=y,onChange:y=>o.activeKey=y},{default:()=>[t.tabsConfig?.panes.map(y=>n.createVNode(n.resolveComponent("a-tab-pane"),{key:y.key,tab:y.title},null))]})]),p=()=>n.createVNode(rn,{props:{tagsLabel:t.tagsSelect?.label,tagsList:t.tagsSelect?.options,tagsVal:o.tagsVal,multiple:t.tagsSelect?.multiple,changeTags:y=>{console.log("标签变化:",y)}}},null),f=()=>n.createVNode(on,{onChangeColumns:y=>o.columns=y,onBtnClick:y=>a(y,{}),props:t},{btnGroupAfter:t?.btnGroupAfter}),a=(y,x)=>{switch(y){case"refresh":D();break;default:r("Command",{command:y,row:x});break}},b=(y,x)=>{let P;if(y.customRender)return y.customRender(x);const $=()=>y.text?y.text:xt.find(I=>I.id===y.id)?.text||"未知操作";return n.createVNode(n.resolveComponent("a-button"),{type:"text",onClick:()=>a(y.id,x)},ln(P=$())?P:{default:()=>[P]})},O=y=>{const x=[...xt,...t.recordBtns||[]],P=[],$=new Set;for(let _=x.length-1;_>=0;_--){const I=x[_];$.has(I.id)||($.add(I.id),P.unshift(I))}return n.createVNode("div",null,[P.map(_=>(typeof _.isShow=="function"?_.isShow(y):_.isShow??!0)?b(_,y):null)])},i=y=>(l.pagination.current-1)*l.pagination.pageSize+y+1,C=({text:y,record:x,index:P,column:$})=>$?$.customRender?$.customRender({text:y,record:x,index:P,column:$}):$.title==="序号"?i(P):$.title==="操作"?O(x):y:null,k=()=>{l.pagination.current=1,D()},T=()=>{o.searchForm={},l.pagination.current=1,l.dataSource=[],D()},D=async y=>{try{if(!t.servicesApi?.list){console.warn("缺少列表接口配置");return}l.loading=!0;const{current:x,pageSize:P}=l.pagination,$=an(o.searchForm),{code:_,data:I,rows:X,total:L}=await t.servicesApi.list({page:x,pageSize:P,...$,...t.otherParams,...y});_===200&&(l.dataSource=I||X,l.pagination.total=L)}catch(x){throw console.error("列表请求失败:",x),x}finally{l.loading=!1}},A=(y,x)=>{s.value=y,t.rowSelection?.onChange?.(y,x)};return n.onMounted(()=>{D()}),()=>n.createVNode("div",{class:"bpy-table-box"},[n.createVNode("div",{class:["bpy-table-header"]},[t.tabsConfig?.panes?.length&&c(),t?.tagsSelect&&p(),n.createVNode(tn,{props:{...t,search:k,reset:T}},{part:d()})]),n.createVNode("div",{class:["we-table"]},[n.createVNode("div",{class:"bpy-title"},[t.name?n.createVNode("div",{style:"",class:"bpy-table-title-left"},[n.createVNode("div",{class:{"bpy-table-title":typeof t.name=="string"}},[t.name]),n.createVNode("div",null,[f()])]):f()]),n.createVNode("div",null,[n.createVNode(n.resolveComponent("a-table"),n.mergeProps({rowKey:t.rowKey,loading:l.loading,dataSource:l.dataSource,columns:o.columns||t.columns,pagination:!1,scroll:t.scroll},t,{rowSelection:t.rowSelection?{columnWidth:48,...t.rowSelection,selectedRowKeys:s.value,onChange:A}:null}),{bodyCell:t.bodyCell||C}),l.pagination.total>0&&n.createVNode("div",{class:"bpy-table-footer"},[n.createVNode("div",null,null),n.createVNode("div",{class:"bpy-table-pagination"},[n.createVNode(n.resolveComponent("a-pagination"),{showSizeChanger:!0,showQuickJumper:!0,pageSizeOptions:["10","20","50","100"],total:l.pagination.total,pageSize:l.pagination.pageSize,current:l.pagination.current,onChange:(y,x)=>{l.pagination.current=y,l.pagination.pageSize=x,D()}},null)])])])])])}}),sn=[ze,ae,pe,ce,Ie,We,Re,Be],cn={install:function(e){sn.forEach(r=>{e.component(r.name,r)})},CloudForm:ze,CloudFormItem:ae,CloudPeople:pe,CloudModal:ce,CloudFooterToolbar:Ie,CloudLoading:We,CloudLights:Re,CloudTable:Be};z.CloudFooterToolbar=Ie,z.CloudForm=ze,z.CloudFormItem=ae,z.CloudLights=Re,z.CloudLoading=We,z.CloudModal=ce,z.CloudPeople=pe,z.CloudTable=Be,z.default=cn,Object.defineProperties(z,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|