@lingshugroup/web-plus 1.7.8 → 1.7.9
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/lib/cmaps/78-EUC-H.bcmap +0 -0
- package/lib/cmaps/78-EUC-V.bcmap +0 -0
- package/lib/cmaps/78-H.bcmap +0 -0
- package/lib/cmaps/78-RKSJ-H.bcmap +0 -0
- package/lib/cmaps/78-RKSJ-V.bcmap +0 -0
- package/lib/cmaps/78-V.bcmap +0 -0
- package/lib/cmaps/78ms-RKSJ-H.bcmap +0 -0
- package/lib/cmaps/78ms-RKSJ-V.bcmap +0 -0
- package/lib/cmaps/83pv-RKSJ-H.bcmap +0 -0
- package/lib/cmaps/90ms-RKSJ-H.bcmap +0 -0
- package/lib/cmaps/90ms-RKSJ-V.bcmap +0 -0
- package/lib/cmaps/90msp-RKSJ-H.bcmap +0 -0
- package/lib/cmaps/90msp-RKSJ-V.bcmap +0 -0
- package/lib/cmaps/90pv-RKSJ-H.bcmap +0 -0
- package/lib/cmaps/90pv-RKSJ-V.bcmap +0 -0
- package/lib/cmaps/Add-H.bcmap +0 -0
- package/lib/cmaps/Add-RKSJ-H.bcmap +0 -0
- package/lib/cmaps/Add-RKSJ-V.bcmap +0 -0
- package/lib/cmaps/Add-V.bcmap +0 -0
- package/lib/cmaps/Adobe-CNS1-0.bcmap +0 -0
- package/lib/cmaps/Adobe-CNS1-1.bcmap +0 -0
- package/lib/cmaps/Adobe-CNS1-2.bcmap +0 -0
- package/lib/cmaps/Adobe-CNS1-3.bcmap +0 -0
- package/lib/cmaps/Adobe-CNS1-4.bcmap +0 -0
- package/lib/cmaps/Adobe-CNS1-5.bcmap +0 -0
- package/lib/cmaps/Adobe-CNS1-6.bcmap +0 -0
- package/lib/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
- package/lib/cmaps/Adobe-GB1-0.bcmap +0 -0
- package/lib/cmaps/Adobe-GB1-1.bcmap +0 -0
- package/lib/cmaps/Adobe-GB1-2.bcmap +0 -0
- package/lib/cmaps/Adobe-GB1-3.bcmap +0 -0
- package/lib/cmaps/Adobe-GB1-4.bcmap +0 -0
- package/lib/cmaps/Adobe-GB1-5.bcmap +0 -0
- package/lib/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
- package/lib/cmaps/Adobe-Japan1-0.bcmap +0 -0
- package/lib/cmaps/Adobe-Japan1-1.bcmap +0 -0
- package/lib/cmaps/Adobe-Japan1-2.bcmap +0 -0
- package/lib/cmaps/Adobe-Japan1-3.bcmap +0 -0
- package/lib/cmaps/Adobe-Japan1-4.bcmap +0 -0
- package/lib/cmaps/Adobe-Japan1-5.bcmap +0 -0
- package/lib/cmaps/Adobe-Japan1-6.bcmap +0 -0
- package/lib/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
- package/lib/cmaps/Adobe-Korea1-0.bcmap +0 -0
- package/lib/cmaps/Adobe-Korea1-1.bcmap +0 -0
- package/lib/cmaps/Adobe-Korea1-2.bcmap +0 -0
- package/lib/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
- package/lib/cmaps/B5-H.bcmap +0 -0
- package/lib/cmaps/B5-V.bcmap +0 -0
- package/lib/cmaps/B5pc-H.bcmap +0 -0
- package/lib/cmaps/B5pc-V.bcmap +0 -0
- package/lib/cmaps/CNS-EUC-H.bcmap +0 -0
- package/lib/cmaps/CNS-EUC-V.bcmap +0 -0
- package/lib/cmaps/CNS1-H.bcmap +0 -0
- package/lib/cmaps/CNS1-V.bcmap +0 -0
- package/lib/cmaps/CNS2-H.bcmap +0 -0
- package/lib/cmaps/CNS2-V.bcmap +3 -0
- package/lib/cmaps/ETHK-B5-H.bcmap +0 -0
- package/lib/cmaps/ETHK-B5-V.bcmap +0 -0
- package/lib/cmaps/ETen-B5-H.bcmap +0 -0
- package/lib/cmaps/ETen-B5-V.bcmap +0 -0
- package/lib/cmaps/ETenms-B5-H.bcmap +3 -0
- package/lib/cmaps/ETenms-B5-V.bcmap +0 -0
- package/lib/cmaps/EUC-H.bcmap +0 -0
- package/lib/cmaps/EUC-V.bcmap +0 -0
- package/lib/cmaps/Ext-H.bcmap +0 -0
- package/lib/cmaps/Ext-RKSJ-H.bcmap +0 -0
- package/lib/cmaps/Ext-RKSJ-V.bcmap +0 -0
- package/lib/cmaps/Ext-V.bcmap +0 -0
- package/lib/cmaps/GB-EUC-H.bcmap +0 -0
- package/lib/cmaps/GB-EUC-V.bcmap +0 -0
- package/lib/cmaps/GB-H.bcmap +4 -0
- package/lib/cmaps/GB-V.bcmap +0 -0
- package/lib/cmaps/GBK-EUC-H.bcmap +0 -0
- package/lib/cmaps/GBK-EUC-V.bcmap +0 -0
- package/lib/cmaps/GBK2K-H.bcmap +0 -0
- package/lib/cmaps/GBK2K-V.bcmap +0 -0
- package/lib/cmaps/GBKp-EUC-H.bcmap +0 -0
- package/lib/cmaps/GBKp-EUC-V.bcmap +0 -0
- package/lib/cmaps/GBT-EUC-H.bcmap +0 -0
- package/lib/cmaps/GBT-EUC-V.bcmap +0 -0
- package/lib/cmaps/GBT-H.bcmap +0 -0
- package/lib/cmaps/GBT-V.bcmap +0 -0
- package/lib/cmaps/GBTpc-EUC-H.bcmap +0 -0
- package/lib/cmaps/GBTpc-EUC-V.bcmap +0 -0
- package/lib/cmaps/GBpc-EUC-H.bcmap +0 -0
- package/lib/cmaps/GBpc-EUC-V.bcmap +0 -0
- package/lib/cmaps/H.bcmap +0 -0
- package/lib/cmaps/HKdla-B5-H.bcmap +0 -0
- package/lib/cmaps/HKdla-B5-V.bcmap +0 -0
- package/lib/cmaps/HKdlb-B5-H.bcmap +0 -0
- package/lib/cmaps/HKdlb-B5-V.bcmap +0 -0
- package/lib/cmaps/HKgccs-B5-H.bcmap +0 -0
- package/lib/cmaps/HKgccs-B5-V.bcmap +0 -0
- package/lib/cmaps/HKm314-B5-H.bcmap +0 -0
- package/lib/cmaps/HKm314-B5-V.bcmap +0 -0
- package/lib/cmaps/HKm471-B5-H.bcmap +0 -0
- package/lib/cmaps/HKm471-B5-V.bcmap +0 -0
- package/lib/cmaps/HKscs-B5-H.bcmap +0 -0
- package/lib/cmaps/HKscs-B5-V.bcmap +0 -0
- package/lib/cmaps/Hankaku.bcmap +0 -0
- package/lib/cmaps/Hiragana.bcmap +0 -0
- package/lib/cmaps/KSC-EUC-H.bcmap +0 -0
- package/lib/cmaps/KSC-EUC-V.bcmap +0 -0
- package/lib/cmaps/KSC-H.bcmap +0 -0
- package/lib/cmaps/KSC-Johab-H.bcmap +0 -0
- package/lib/cmaps/KSC-Johab-V.bcmap +0 -0
- package/lib/cmaps/KSC-V.bcmap +0 -0
- package/lib/cmaps/KSCms-UHC-H.bcmap +0 -0
- package/lib/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
- package/lib/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
- package/lib/cmaps/KSCms-UHC-V.bcmap +0 -0
- package/lib/cmaps/KSCpc-EUC-H.bcmap +0 -0
- package/lib/cmaps/KSCpc-EUC-V.bcmap +0 -0
- package/lib/cmaps/Katakana.bcmap +0 -0
- package/lib/cmaps/LICENSE +36 -0
- package/lib/cmaps/NWP-H.bcmap +0 -0
- package/lib/cmaps/NWP-V.bcmap +0 -0
- package/lib/cmaps/RKSJ-H.bcmap +0 -0
- package/lib/cmaps/RKSJ-V.bcmap +0 -0
- package/lib/cmaps/Roman.bcmap +0 -0
- package/lib/cmaps/UniCNS-UCS2-H.bcmap +0 -0
- package/lib/cmaps/UniCNS-UCS2-V.bcmap +0 -0
- package/lib/cmaps/UniCNS-UTF16-H.bcmap +0 -0
- package/lib/cmaps/UniCNS-UTF16-V.bcmap +0 -0
- package/lib/cmaps/UniCNS-UTF32-H.bcmap +0 -0
- package/lib/cmaps/UniCNS-UTF32-V.bcmap +0 -0
- package/lib/cmaps/UniCNS-UTF8-H.bcmap +0 -0
- package/lib/cmaps/UniCNS-UTF8-V.bcmap +0 -0
- package/lib/cmaps/UniGB-UCS2-H.bcmap +0 -0
- package/lib/cmaps/UniGB-UCS2-V.bcmap +0 -0
- package/lib/cmaps/UniGB-UTF16-H.bcmap +0 -0
- package/lib/cmaps/UniGB-UTF16-V.bcmap +0 -0
- package/lib/cmaps/UniGB-UTF32-H.bcmap +0 -0
- package/lib/cmaps/UniGB-UTF32-V.bcmap +0 -0
- package/lib/cmaps/UniGB-UTF8-H.bcmap +0 -0
- package/lib/cmaps/UniGB-UTF8-V.bcmap +0 -0
- package/lib/cmaps/UniJIS-UCS2-H.bcmap +0 -0
- package/lib/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
- package/lib/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
- package/lib/cmaps/UniJIS-UCS2-V.bcmap +0 -0
- package/lib/cmaps/UniJIS-UTF16-H.bcmap +0 -0
- package/lib/cmaps/UniJIS-UTF16-V.bcmap +0 -0
- package/lib/cmaps/UniJIS-UTF32-H.bcmap +0 -0
- package/lib/cmaps/UniJIS-UTF32-V.bcmap +0 -0
- package/lib/cmaps/UniJIS-UTF8-H.bcmap +0 -0
- package/lib/cmaps/UniJIS-UTF8-V.bcmap +0 -0
- package/lib/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
- package/lib/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
- package/lib/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
- package/lib/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
- package/lib/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
- package/lib/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
- package/lib/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
- package/lib/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
- package/lib/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
- package/lib/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
- package/lib/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
- package/lib/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
- package/lib/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
- package/lib/cmaps/UniKS-UCS2-H.bcmap +0 -0
- package/lib/cmaps/UniKS-UCS2-V.bcmap +0 -0
- package/lib/cmaps/UniKS-UTF16-H.bcmap +0 -0
- package/lib/cmaps/UniKS-UTF16-V.bcmap +0 -0
- package/lib/cmaps/UniKS-UTF32-H.bcmap +0 -0
- package/lib/cmaps/UniKS-UTF32-V.bcmap +0 -0
- package/lib/cmaps/UniKS-UTF8-H.bcmap +0 -0
- package/lib/cmaps/UniKS-UTF8-V.bcmap +0 -0
- package/lib/cmaps/V.bcmap +0 -0
- package/lib/cmaps/WP-Symbol.bcmap +0 -0
- package/lib/index.css +1 -1
- package/lib/index.css.br +0 -0
- package/lib/index.css.gz +0 -0
- package/lib/packages/ls-components/components/form/Form.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/form/Form.vue/index.js +2 -2
- package/lib/packages/ls-components/components/form/Form.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/form/Form.vue/index2.js +71 -68
- package/lib/packages/ls-components/components/form/Form.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/form/Form.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/form/FormItem.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/form/FormItem.vue/index.js +2 -2
- package/lib/packages/ls-components/components/form/FormItem.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/form/FormItem.vue/index2.js +296 -269
- package/lib/packages/ls-components/components/form/FormItem.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/form/FormItem.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/list/List.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/list/List.vue/index.js +1 -1
- package/lib/packages/ls-components/components/list/List.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/list/List.vue/index2.js +188 -148
- package/lib/packages/ls-components/components/list/List.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/list/List.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/list/types/index.cjs +1 -1
- package/lib/packages/ls-components/components/list/types/index.js +6 -6
- package/lib/packages/ls-components/components/list/types/index.js.br +0 -0
- package/lib/packages/ls-components/components/list/types/index.js.gz +0 -0
- package/lib/packages/ls-components/components/menu/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/menu/Index.vue/index.js +2 -2
- package/lib/packages/ls-components/components/menu/Index.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/menu/Index.vue/index2.js +10 -10
- package/lib/packages/ls-components/components/menu/Index.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/menu/Index.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_pdf/composable/index.cjs +1 -1
- package/lib/packages/ls-components/components/preview_pdf/composable/index.js +33 -29
- package/lib/packages/ls-components/components/preview_pdf/composable/index.js.br +0 -0
- package/lib/packages/ls-components/components/preview_pdf/composable/index.js.gz +0 -0
- package/lib/types/components/form/Form.vue.d.ts +1 -0
- package/lib/types/components/form/FormItem.vue.d.ts +96 -0
- package/lib/types/components/form/index.d.ts +97 -0
- package/lib/types/components/list/List.vue.d.ts +13 -12
- package/lib/types/components/list/index.d.ts +24 -24
- package/lib/types/components/list/types.d.ts +4 -4
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=;/* empty css */;/* empty css */const t=,/* empty css */u=t.default(e.default,[["__scopeId","data-v-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=;/* empty css */;/* empty css */const t=,/* empty css */u=t.default(e.default,[["__scopeId","data-v-b8377605"]]);exports.default=u;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./index2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../../_virtual/_plugin-vue_export-helper/index.js";
|
|
4
|
-
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b8377605"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var ee=Object.defineProperty;var n=(w,g)=>ee(w,"name",{value:g,configurable:!0});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});;/* empty css */;/* empty css */;/* empty css */;/* empty css */;/* empty css */;/* empty css */;/* empty css */;/* empty css */;/* empty css */;/* empty css */const e=require("vue"),te=,/* empty css */r=require("element-plus"),le=,/* empty css */ae=,/* empty css */oe=,/* empty css */ne=,/* empty css */ie=,/* empty css */re=,/* empty css */se=,/* empty css */de={key:0,class:"animate_fadeIn transition-all-300 ls-list-wrap"},ue={class:"flex items-center"},fe=e.defineComponent({name:"LSList"}),ce=e.defineComponent({...fe,props:le.lsListProps,emits:["submitForm","handleLoading","handleCurrentPage","handlePageSize"],setup(w,{expose:g,emit:N}){const{jumpRouteCom:T,currentRouter:D}=ne.default(),t=w,h=N,C=e.useSlots(),v=e.ref(),P=e.ref(),z=e.computed(()=>Object.keys(C).filter(l=>l.toString().endsWith("-form-slot"))),A=e.computed(()=>Object.keys(C).filter(l=>l.toString().endsWith("-table-slot")));function E(l,o=!1){if(l){const i=l.toString().lastIndexOf(`${o?"-form-slot":"-table-slot"}`);return i!==-1?l.toString().slice(0,i):l}return""}n(E,"getSlotName");const{isFirst:B,loading:f,tableData:R,total:$,pageSize:c,currentPage:b,handleReset:q,loadData:p,handleCurrentPageChange:F,handleSizeChange:L}=te.default(t.listApi,t.formData,{dealData:t==null?void 0:t.dealData,dealParams:t==null?void 0:t.dealParams,...t==null?void 0:t.listHookConfig});e.watch(f,l=>{h("handleLoading",l)}),e.watch(b,l=>{h("handleCurrentPage",l)}),e.watch(c,l=>{h("handlePageSize",l)});function O(l){F(1),h("submitForm",l),t!=null&&t.queryFn?t.queryFn(l):p()}n(O,"submitForm");function K(l){console.warn("resetForm",l),q()}n(K,"resetForm");const y=e.computed(()=>D?D.value.path:"");function H(){t!=null&&t.addFn?t.addFn():T({path:t!=null&&t.addRoutePath?t.addRoutePath:`${y.value}/add`},1)}n(H,"onAdd");function I(l,o){t!=null&&t.tableDetailFn?t.tableDetailFn(o):T({path:`${t!=null&&t.detailRoutePath?t.detailRoutePath:`${y.value}/detail`}/${l}`},1)}n(I,"onDetail");function M(l,o){t!=null&&t.tableEditFn?t.tableEditFn(o):T({path:`${t!=null&&t.editRoutePath?t.editRoutePath:`${y.value}/edit`}/${l}`},1)}n(M,"onEdit");const k=e.ref(void 0),m=e.ref(!1);function U(l,o){if(t.delApi){k.value=l,m.value=!0;let i=l;t!=null&&t.dealDelParams&&(i=t.dealDelParams(o)),t.delApi(i).then(()=>{r.ElMessage.success("删除成功"),p()}).catch(d=>{console.warn(d)}).finally(()=>{m.value=!1})}}n(U,"onDel");const V=e.ref(),S=e.ref(!1);function j(l,o,i){V.value=l;const d=n((u,a)=>{if(t.switchApi){S.value=!0;let s=l;t!=null&&t.dealSwitchParams&&(s=t.dealSwitchParams(i)),t.switchApi(s).then(()=>{p(!1),u(!0)}).catch(()=>{a(new Error("Error"))}).finally(()=>{S.value=!1})}else a(new Error("Error"))},"onSwitch");return new Promise((u,a)=>{o?r.ElMessageBox.confirm('<strong class="text-14px">请问是否关闭?</strong>',{confirmButtonText:"确定",cancelButtonText:"取消",dangerouslyUseHTMLString:!0,customStyle:{width:"240px"}}).then(()=>{d(u,a)}).catch(()=>{a(new Error("Error"))}):d(u,a)})}n(j,"switchBeforeChange");function W(l){let o=!1;return t!=null&&t.disabledTableSwitch&&(typeof t.disabledTableSwitch=="boolean"?o=t.disabledTableSwitch:typeof t.disabledTableSwitch=="function"&&(o=t.disabledTableSwitch(l))),!!o}n(W,"disabledTableSwitch");function x(l){let o=!1;return t!=null&&t.showTableDetail&&(typeof t.showTableDetail=="boolean"?o=t.showTableDetail:typeof t.showTableDetail=="function"&&(o=t.showTableDetail(l))),!!o}n(x,"showTableDetail");function G(l){let o=!1;return t!=null&&t.disabledTableDetail&&(typeof t.disabledTableDetail=="boolean"?o=t.disabledTableDetail:typeof t.disabledTableDetail=="function"&&(o=t.disabledTableDetail(l))),!!o}n(G,"disabledTableDetail");function J(l){let o=!1;return t!=null&&t.showTableEdit&&(typeof t.showTableEdit=="boolean"?o=t.showTableEdit:typeof t.showTableEdit=="function"&&(o=t.showTableEdit(l))),!!o}n(J,"showTableEdit");function Q(l){let o=!1;return t!=null&&t.disabledTableEdit&&(typeof t.disabledTableEdit=="boolean"?o=t.disabledTableEdit:typeof t.disabledTableEdit=="function"&&(o=t.disabledTableEdit(l))),!!o}n(Q,"disabledTableEdit");function X(l){let o=!1;return t!=null&&t.showTableDel&&(typeof t.showTableDel=="boolean"?o=t.showTableDel:typeof t.showTableDel=="function"&&(o=t.showTableDel(l))),!!o}n(X,"showTableDel");function Y(l){let o=!1;return t!=null&&t.disabledTableDel&&(typeof t.disabledTableDel=="boolean"?o=t.disabledTableDel:typeof t.disabledTableDel=="function"&&(o=t.disabledTableDel(l))),!!o}n(Y,"disabledTableDel");const Z=e.h(r.ElDivider,{direction:"vertical"}),_=e.computed(()=>t.showSkeleton?!B.value:!0);return g({loadData:p,handleReset:q,setCurrentPage:F,setPageSize:L,isFirst:B,loading:f,currentPage:b,pageSize:c,total:$,FormRef:v,TableRef:P}),(l,o)=>{const i=ie.ElTableColumn,d=re.ElPopconfirm,u=se.ElSkeleton;return e.unref(_)?(e.openBlock(),e.createElementBlock("div",de,[l.showForm?(e.openBlock(),e.createBlock(ae.default,e.mergeProps({key:0,ref_key:"FormRef",ref:v,class:["mb-6px ls-form-cpo",l.formClass],"label-position":"top","show-btn-loading":!1,colon:!1,inline:!0,"form-data":l.formData,"form-items":l.formItems,loading:e.unref(f),"confirm-text":"查询"},l.formAttrs,{onSubmit:O,onReset:K}),e.createSlots({default:e.withCtx(a=>[e.renderSlot(l.$slots,"form-append",e.normalizeProps(e.guardReactiveProps(a)),void 0,!0)]),_:2},[e.renderList(e.unref(z),a=>({name:E(a,!0),fn:e.withCtx(s=>[e.renderSlot(l.$slots,a,e.normalizeProps(e.guardReactiveProps(s)),void 0,!0)])}))]),1040,["class","form-data","form-items","loading"])):e.createCommentVNode("",!0),l.showOperate?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[l.$slots.operate?e.renderSlot(l.$slots,"operate",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[l.showOperateDivider?(e.openBlock(),e.createBlock(e.unref(r.ElDivider),{key:0,"border-style":"dashed"})):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["mt-24px flex items-center justify-start",l.operateClass])},[e.renderSlot(l.$slots,"operate-prepend",{},void 0,!0),l.showAdd?(e.openBlock(),e.createBlock(e.unref(r.ElButton),e.mergeProps({key:0,type:"primary",disabled:e.unref(f)||l.disabledAddBtn},l.addBtnAttrs,{onClick:H}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.addBtnText),1)]),_:1},16,["disabled"])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"operate-append",{},void 0,!0)],2)],64))],64)):e.createCommentVNode("",!0),e.createVNode(oe.default,e.mergeProps({ref_key:"TableRef",ref:P,class:["ls-table-cpo",[l.showOperate?"mt-16px":"mt-24px"]],"show-overflow-tooltip":!0,loading:e.unref(f),total:e.unref($),"table-data":e.unref(R),"table-column":l.tableColumn,"current-page":e.unref(b),"onUpdate:currentPage":o[0]||(o[0]=a=>e.isRef(b)?b.value=a:null),"page-size":e.unref(c),"onUpdate:pageSize":o[1]||(o[1]=a=>e.isRef(c)?c.value=a:null)},l.tableAttrs,e.toHandlers(l.tableListeners||{})),e.createSlots({default:e.withCtx(()=>[l.showTableSwitch?(e.openBlock(),e.createBlock(i,e.mergeProps({key:0,prop:l.switchProp,label:"是否开启",width:"100"},l.tableSwitchColumn),{default:e.withCtx(({row:a})=>[e.createVNode(e.unref(r.ElSwitch),{class:"ls-list-table__switch","model-value":a[l.switchProp]?1:0,"active-value":1,"inactive-value":0,loading:e.unref(S)&&a[l.tableRowKey]===e.unref(V),"before-change":n(()=>j(a[l.tableRowKey],a[l.switchProp],a),"before-change"),disabled:W(a)},null,8,["model-value","loading","before-change","disabled"])]),_:1},16,["prop"])):e.createCommentVNode("",!0),l.showTableOperate?(e.openBlock(),e.createBlock(i,e.mergeProps({key:1,fixed:"right",prop:"operate",label:"操作","show-overflow-tooltip":!1},l.tableOperateColumn),{default:e.withCtx(({row:a})=>[e.createElementVNode("div",ue,[e.createVNode(e.unref(r.ElSpace),{size:0,spacer:e.unref(Z)},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"table-operate-prepend",{row:a},void 0,!0),x(a)?(e.openBlock(),e.createBlock(e.unref(r.ElButton),{key:0,disabled:G(a),link:"",type:"primary",onClick:n(s=>I(a[l.tableRowKey],a),"onClick")},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.tableDetailText||"查看"),1)]),_:2},1032,["disabled","onClick"])):e.createCommentVNode("",!0),J(a)?(e.openBlock(),e.createBlock(e.unref(r.ElButton),{key:1,disabled:Q(a),link:"",type:"primary",onClick:n(s=>M(a[l.tableRowKey],a),"onClick")},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.tableEditText||"编辑"),1)]),_:2},1032,["disabled","onClick"])):e.createCommentVNode("",!0),X(a)?(e.openBlock(),e.createBlock(d,{key:2,"hide-icon":"",placement:"top",width:"180","confirm-button-text":"确认","cancel-button-text":"取消",title:a.popconfirmTxt||l.popconfirmTxt||`是否${l.tableDelText||"删除"}当前行数据?`,onConfirm:n(s=>U(a[l.tableRowKey],a),"onConfirm")},{reference:e.withCtx(()=>[e.createVNode(e.unref(r.ElButton),{link:"",type:"danger",disabled:e.unref(m)||Y(a),loading:e.unref(m)&&e.unref(k)===a[l.tableRowKey]},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(m)&&e.unref(k)===a[l.tableRowKey]?"":l.tableDelText||"删除"),1)]),_:2},1032,["disabled","loading"])]),_:2},1032,["title","onConfirm"])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"table-operate-append",{row:a},void 0,!0)]),_:2},1032,["spacer"])])]),_:3},16)):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"table-append",{tableData:e.unref(R)},void 0,!0)]),_:2},[e.renderList(e.unref(A),a=>({name:E(a,!1),fn:e.withCtx(s=>[e.renderSlot(l.$slots,a,e.normalizeProps(e.guardReactiveProps(s)),void 0,!0)])}))]),1040,["class","loading","total","table-data","table-column","current-page","page-size"])])):(e.openBlock(),e.createBlock(u,e.mergeProps({key:1,rows:5,animated:""},l.skeletonAttrs),null,16))}}});exports.default=ce;
|
|
1
|
+
"use strict";var ne=Object.defineProperty;var o=(g,p)=>ne(g,"name",{value:p,configurable:!0});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});;/* empty css */;/* empty css */;/* empty css */;/* empty css */;/* empty css */;/* empty css */;/* empty css */;/* empty css */;/* empty css */;/* empty css */const e=require("vue"),oe=,/* empty css */r=require("element-plus"),ie=,/* empty css */re=,/* empty css */se=,/* empty css */de=,/* empty css */ue=,/* empty css */fe=,/* empty css */ce=,/* empty css */be={key:0,class:"animate_fadeIn transition-all-300 ls-list-wrap"},me={class:"flex items-center"},he=e.defineComponent({name:"LSList"}),Te=e.defineComponent({...he,props:ie.lsListProps,emits:["submitForm","handleLoading","handleCurrentPage","handlePageSize"],setup(g,{expose:p,emit:N}){const{jumpRouteCom:y,currentRouter:S}=de.default(),t=g,h=N,C=e.useSlots(),E=e.ref(),v=e.ref(),z=e.computed(()=>Object.keys(C).filter(l=>l.toString().endsWith("-form-slot"))),A=e.computed(()=>Object.keys(C).filter(l=>l.toString().endsWith("-table-slot")));function P(l,n=!1){if(l){const i=l.toString().lastIndexOf(`${n?"-form-slot":"-table-slot"}`);return i!==-1?l.toString().slice(0,i):l}return""}o(P,"getSlotName");const{isFirst:B,loading:f,tableData:x,total:R,pageSize:c,currentPage:b,handleReset:$,loadData:T,handleCurrentPageChange:q,handleSizeChange:L}=oe.default(t.listApi,t.formData,{dealData:t==null?void 0:t.dealData,dealParams:t==null?void 0:t.dealParams,...t==null?void 0:t.listHookConfig});e.watch(f,l=>{h("handleLoading",l)}),e.watch(b,l=>{h("handleCurrentPage",l)}),e.watch(c,l=>{h("handlePageSize",l)});function O(l){q(1),h("submitForm",l),t!=null&&t.queryFn?t.queryFn(l):T()}o(O,"submitForm");function K(l){console.warn("resetForm",l),$()}o(K,"resetForm");const w=e.computed(()=>S?S.value.path:"");function H(){t!=null&&t.addFn?t.addFn():y({path:t!=null&&t.addRoutePath?t.addRoutePath:`${w.value}/add`},1)}o(H,"onAdd");function I(l,n){t!=null&&t.tableDetailFn?t.tableDetailFn(n):y({path:`${t!=null&&t.detailRoutePath?t.detailRoutePath:`${w.value}/detail`}/${l}`},1)}o(I,"onDetail");function M(l,n){t!=null&&t.tableEditFn?t.tableEditFn(n):y({path:`${t!=null&&t.editRoutePath?t.editRoutePath:`${w.value}/edit`}/${l}`},1)}o(M,"onEdit");const D=e.ref(void 0),m=e.ref(!1);function U(l,n){if(t.delApi){D.value=l,m.value=!0;let i=l;t!=null&&t.dealDelParams&&(i=t.dealDelParams(n)),t.delApi(i).then(()=>{r.ElMessage.success("删除成功"),T()}).catch(d=>{console.warn(d)}).finally(()=>{m.value=!1})}}o(U,"onDel");const F=e.ref(),k=e.ref(!1);function j(l,n,i){F.value=l;const d=o((u,a)=>{if(t.switchApi){k.value=!0;let s=l;t!=null&&t.dealSwitchParams&&(s=t.dealSwitchParams(i)),t.switchApi(s).then(()=>{T(!1),u(!0)}).catch(()=>{a(new Error("Error"))}).finally(()=>{k.value=!1})}else a(new Error("Error"))},"onSwitch");return new Promise((u,a)=>{n?r.ElMessageBox.confirm('<strong class="text-14px">请问是否关闭?</strong>',{confirmButtonText:"确定",cancelButtonText:"取消",dangerouslyUseHTMLString:!0,customStyle:{width:"240px"}}).then(()=>{d(u,a)}).catch(()=>{a(new Error("Error"))}):d(u,a)})}o(j,"switchBeforeChange");function W(l){let n=!1;return t!=null&&t.disabledTableSwitch&&(typeof t.disabledTableSwitch=="boolean"?n=t.disabledTableSwitch:typeof t.disabledTableSwitch=="function"&&(n=t.disabledTableSwitch(l))),!!n}o(W,"disabledTableSwitch");function G(l){if(t!=null&&t.tableDetailText){if(typeof t.tableDetailText=="string")return t.tableDetailText;if(typeof t.tableDetailText=="function")return t.tableDetailText(l)}return"查看"}o(G,"getTableDetailText");function J(l){let n=!1;return t!=null&&t.showTableDetail&&(typeof t.showTableDetail=="boolean"?n=t.showTableDetail:typeof t.showTableDetail=="function"&&(n=t.showTableDetail(l))),!!n}o(J,"showTableDetail");function Q(l){let n=!1;return t!=null&&t.disabledTableDetail&&(typeof t.disabledTableDetail=="boolean"?n=t.disabledTableDetail:typeof t.disabledTableDetail=="function"&&(n=t.disabledTableDetail(l))),!!n}o(Q,"disabledTableDetail");function X(l){if(t!=null&&t.tableEditText){if(typeof t.tableEditText=="string")return t.tableEditText;if(typeof t.tableEditText=="function")return t.tableEditText(l)}return"编辑"}o(X,"getTableEditText");function Y(l){let n=!1;return t!=null&&t.showTableEdit&&(typeof t.showTableEdit=="boolean"?n=t.showTableEdit:typeof t.showTableEdit=="function"&&(n=t.showTableEdit(l))),!!n}o(Y,"showTableEdit");function Z(l){let n=!1;return t!=null&&t.disabledTableEdit&&(typeof t.disabledTableEdit=="boolean"?n=t.disabledTableEdit:typeof t.disabledTableEdit=="function"&&(n=t.disabledTableEdit(l))),!!n}o(Z,"disabledTableEdit");function V(l){if(t!=null&&t.tableDelText){if(typeof t.tableDelText=="string")return t.tableDelText;if(typeof t.tableDelText=="function")return t.tableDelText(l)}return"删除"}o(V,"getTableDelText");function _(l){let n=!1;return t!=null&&t.showTableDel&&(typeof t.showTableDel=="boolean"?n=t.showTableDel:typeof t.showTableDel=="function"&&(n=t.showTableDel(l))),!!n}o(_,"showTableDel");function ee(l){let n=!1;return t!=null&&t.disabledTableDel&&(typeof t.disabledTableDel=="boolean"?n=t.disabledTableDel:typeof t.disabledTableDel=="function"&&(n=t.disabledTableDel(l))),!!n}o(ee,"disabledTableDel");function te(l){if(t!=null&&t.popconfirmTxt){if(typeof t.popconfirmTxt=="string")return t.popconfirmTxt;if(typeof t.popconfirmTxt=="function")return t.popconfirmTxt(l)}return`是否${V(l)}当前行数据?`}o(te,"getPopconfirmTxt");const le=e.h(r.ElDivider,{direction:"vertical"}),ae=e.computed(()=>t.showSkeleton?!B.value:!0);return p({loadData:T,handleReset:$,setCurrentPage:q,setPageSize:L,isFirst:B,loading:f,currentPage:b,pageSize:c,total:R,FormRef:E,TableRef:v}),(l,n)=>{const i=ue.ElTableColumn,d=fe.ElPopconfirm,u=ce.ElSkeleton;return e.unref(ae)?(e.openBlock(),e.createElementBlock("div",be,[l.showForm?(e.openBlock(),e.createBlock(re.default,e.mergeProps({key:0,ref_key:"FormRef",ref:E,class:["mb-6px ls-form-cpo",l.formClass],"label-position":"top","show-btn-loading":!1,colon:!1,inline:!0,"form-data":l.formData,"form-items":l.formItems,loading:e.unref(f),"confirm-text":"查询"},l.formAttrs,{onSubmit:O,onReset:K}),e.createSlots({default:e.withCtx(a=>[e.renderSlot(l.$slots,"form-append",e.normalizeProps(e.guardReactiveProps(a)),void 0,!0)]),_:2},[e.renderList(e.unref(z),a=>({name:P(a,!0),fn:e.withCtx(s=>[e.renderSlot(l.$slots,a,e.normalizeProps(e.guardReactiveProps(s)),void 0,!0)])}))]),1040,["class","form-data","form-items","loading"])):e.createCommentVNode("",!0),l.showOperate?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[l.$slots.operate?e.renderSlot(l.$slots,"operate",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[l.showOperateDivider?(e.openBlock(),e.createBlock(e.unref(r.ElDivider),{key:0,"border-style":"dashed"})):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["mt-24px flex items-center justify-start",l.operateClass])},[e.renderSlot(l.$slots,"operate-prepend",{},void 0,!0),l.showAdd?(e.openBlock(),e.createBlock(e.unref(r.ElButton),e.mergeProps({key:0,type:"primary",disabled:e.unref(f)||l.disabledAddBtn},l.addBtnAttrs,{onClick:H}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.addBtnText),1)]),_:1},16,["disabled"])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"operate-append",{},void 0,!0)],2)],64))],64)):e.createCommentVNode("",!0),e.createVNode(se.default,e.mergeProps({ref_key:"TableRef",ref:v,class:["ls-table-cpo",[l.showOperate?"mt-16px":"mt-24px"]],"show-overflow-tooltip":!0,loading:e.unref(f),total:e.unref(R),"table-data":e.unref(x),"table-column":l.tableColumn,"current-page":e.unref(b),"onUpdate:currentPage":n[0]||(n[0]=a=>e.isRef(b)?b.value=a:null),"page-size":e.unref(c),"onUpdate:pageSize":n[1]||(n[1]=a=>e.isRef(c)?c.value=a:null)},l.tableAttrs,e.toHandlers(l.tableListeners||{})),e.createSlots({default:e.withCtx(()=>[l.showTableSwitch?(e.openBlock(),e.createBlock(i,e.mergeProps({key:0,prop:l.switchProp,label:"是否开启",width:"100"},l.tableSwitchColumn),{default:e.withCtx(({row:a})=>[e.createVNode(e.unref(r.ElSwitch),{class:"ls-list-table__switch","model-value":a[l.switchProp]?1:0,"active-value":1,"inactive-value":0,loading:e.unref(k)&&a[l.tableRowKey]===e.unref(F),"before-change":o(()=>j(a[l.tableRowKey],a[l.switchProp],a),"before-change"),disabled:W(a)},null,8,["model-value","loading","before-change","disabled"])]),_:1},16,["prop"])):e.createCommentVNode("",!0),l.showTableOperate?(e.openBlock(),e.createBlock(i,e.mergeProps({key:1,fixed:"right",prop:"operate",label:"操作","show-overflow-tooltip":!1},l.tableOperateColumn),{default:e.withCtx(({row:a})=>[e.createElementVNode("div",me,[e.createVNode(e.unref(r.ElSpace),{size:0,spacer:e.unref(le)},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"table-operate-prepend",{row:a},void 0,!0),J(a)?(e.openBlock(),e.createBlock(e.unref(r.ElButton),{key:0,disabled:Q(a),link:"",type:"primary",onClick:o(s=>I(a[l.tableRowKey],a),"onClick")},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.tableDetailText||G(a)),1)]),_:2},1032,["disabled","onClick"])):e.createCommentVNode("",!0),Y(a)?(e.openBlock(),e.createBlock(e.unref(r.ElButton),{key:1,disabled:Z(a),link:"",type:"primary",onClick:o(s=>M(a[l.tableRowKey],a),"onClick")},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.tableEditText||X(a)),1)]),_:2},1032,["disabled","onClick"])):e.createCommentVNode("",!0),_(a)?(e.openBlock(),e.createBlock(d,{key:2,"hide-icon":"",placement:"top",width:"180","confirm-button-text":"确认","cancel-button-text":"取消",title:a.popconfirmTxt||te(a),onConfirm:o(s=>U(a[l.tableRowKey],a),"onConfirm")},{reference:e.withCtx(()=>[e.createVNode(e.unref(r.ElButton),{link:"",type:"danger",disabled:e.unref(m)||ee(a),loading:e.unref(m)&&e.unref(D)===a[l.tableRowKey]},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(m)&&e.unref(D)===a[l.tableRowKey]?"":a.tableDelText||V(a)),1)]),_:2},1032,["disabled","loading"])]),_:2},1032,["title","onConfirm"])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"table-operate-append",{row:a},void 0,!0)]),_:2},1032,["spacer"])])]),_:3},16)):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"table-append",{tableData:e.unref(x)},void 0,!0)]),_:2},[e.renderList(e.unref(A),a=>({name:P(a,!1),fn:e.withCtx(s=>[e.renderSlot(l.$slots,a,e.normalizeProps(e.guardReactiveProps(s)),void 0,!0)])}))]),1040,["class","loading","total","table-data","table-column","current-page","page-size"])])):(e.openBlock(),e.createBlock(u,e.mergeProps({key:1,rows:5,animated:""},l.skeletonAttrs),null,16))}}});exports.default=Te;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
var
|
|
2
|
-
var o = (R, $) =>
|
|
1
|
+
var Pe = Object.defineProperty;
|
|
2
|
+
var o = (R, $) => Pe(R, "name", { value: $, configurable: !0 });
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
@@ -10,67 +10,67 @@ var o = (R, $) => ve(R, "name", { value: $, configurable: !0 });
|
|
|
10
10
|
/* empty css */
|
|
11
11
|
/* empty css */
|
|
12
12
|
/* empty css */
|
|
13
|
-
import { defineComponent as
|
|
14
|
-
import
|
|
15
|
-
import { ElDivider as
|
|
16
|
-
import { lsListProps as
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import { ElTableColumn as
|
|
21
|
-
import { ElPopconfirm as
|
|
22
|
-
import { ElSkeleton as
|
|
23
|
-
const
|
|
13
|
+
import { defineComponent as le, useSlots as Ce, ref as h, computed as E, watch as z, h as Re, unref as i, openBlock as n, createElementBlock as B, createBlock as f, mergeProps as T, createSlots as X, withCtx as s, renderSlot as u, normalizeProps as O, guardReactiveProps as K, renderList as Y, createCommentVNode as b, Fragment as Z, createElementVNode as _, normalizeClass as $e, createTextVNode as S, toDisplayString as k, createVNode as P, isRef as ee, toHandlers as Fe } from "vue";
|
|
14
|
+
import Le from "../../_hooks/useTableListHook/index.js";
|
|
15
|
+
import { ElDivider as te, ElButton as C, ElSwitch as Ae, ElSpace as xe, ElMessage as ze, ElMessageBox as Be } from "element-plus";
|
|
16
|
+
import { lsListProps as Oe } from "../types/index.js";
|
|
17
|
+
import Ke from "../../form/Form.vue/index.js";
|
|
18
|
+
import He from "../../table/Table.vue/index.js";
|
|
19
|
+
import Ie from "../../_hooks/useRouterHook/index.js";
|
|
20
|
+
import { ElTableColumn as Ve } from "../../../../../node_modules/.pnpm/element-plus@2.8.1_vue@3.5.13_typescript@5.5.4_/node_modules/element-plus/es/components/table/index/index.js";
|
|
21
|
+
import { ElPopconfirm as Me } from "../../../../../node_modules/.pnpm/element-plus@2.8.1_vue@3.5.13_typescript@5.5.4_/node_modules/element-plus/es/components/popconfirm/index/index.js";
|
|
22
|
+
import { ElSkeleton as Ue } from "../../../../../node_modules/.pnpm/element-plus@2.8.1_vue@3.5.13_typescript@5.5.4_/node_modules/element-plus/es/components/skeleton/index/index.js";
|
|
23
|
+
const qe = {
|
|
24
24
|
key: 0,
|
|
25
25
|
class: "animate_fadeIn transition-all-300 ls-list-wrap"
|
|
26
|
-
},
|
|
26
|
+
}, We = { class: "flex items-center" }, je = le({
|
|
27
27
|
name: "LSList"
|
|
28
|
-
}),
|
|
29
|
-
...
|
|
30
|
-
props:
|
|
28
|
+
}), mt = /* @__PURE__ */ le({
|
|
29
|
+
...je,
|
|
30
|
+
props: Oe,
|
|
31
31
|
emits: ["submitForm", "handleLoading", "handleCurrentPage", "handlePageSize"],
|
|
32
|
-
setup(R, { expose: $, emit:
|
|
33
|
-
const { jumpRouteCom: F, currentRouter:
|
|
34
|
-
function
|
|
32
|
+
setup(R, { expose: $, emit: ae }) {
|
|
33
|
+
const { jumpRouteCom: F, currentRouter: H } = Ie(), e = R, w = ae, I = Ce(), V = h(), M = h(), ie = E(() => Object.keys(I).filter((t) => t.toString().endsWith("-form-slot"))), oe = E(() => Object.keys(I).filter((t) => t.toString().endsWith("-table-slot")));
|
|
34
|
+
function U(t, a = !1) {
|
|
35
35
|
if (t) {
|
|
36
|
-
const
|
|
37
|
-
return
|
|
36
|
+
const r = t.toString().lastIndexOf(`${a ? "-form-slot" : "-table-slot"}`);
|
|
37
|
+
return r !== -1 ? t.toString().slice(0, r) : t;
|
|
38
38
|
}
|
|
39
39
|
return "";
|
|
40
40
|
}
|
|
41
|
-
o(
|
|
41
|
+
o(U, "getSlotName");
|
|
42
42
|
const {
|
|
43
|
-
isFirst:
|
|
44
|
-
loading:
|
|
45
|
-
tableData:
|
|
46
|
-
total:
|
|
47
|
-
pageSize:
|
|
48
|
-
currentPage:
|
|
49
|
-
handleReset:
|
|
43
|
+
isFirst: q,
|
|
44
|
+
loading: p,
|
|
45
|
+
tableData: W,
|
|
46
|
+
total: j,
|
|
47
|
+
pageSize: y,
|
|
48
|
+
currentPage: g,
|
|
49
|
+
handleReset: G,
|
|
50
50
|
loadData: v,
|
|
51
|
-
handleCurrentPageChange:
|
|
52
|
-
handleSizeChange:
|
|
53
|
-
} =
|
|
51
|
+
handleCurrentPageChange: J,
|
|
52
|
+
handleSizeChange: ne
|
|
53
|
+
} = Le(e.listApi, e.formData, {
|
|
54
54
|
dealData: e == null ? void 0 : e.dealData,
|
|
55
55
|
dealParams: e == null ? void 0 : e.dealParams,
|
|
56
56
|
...e == null ? void 0 : e.listHookConfig
|
|
57
57
|
});
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}),
|
|
61
|
-
|
|
62
|
-
}),
|
|
63
|
-
|
|
58
|
+
z(p, (t) => {
|
|
59
|
+
w("handleLoading", t);
|
|
60
|
+
}), z(g, (t) => {
|
|
61
|
+
w("handleCurrentPage", t);
|
|
62
|
+
}), z(y, (t) => {
|
|
63
|
+
w("handlePageSize", t);
|
|
64
64
|
});
|
|
65
|
-
function ne(t) {
|
|
66
|
-
N(1), D("submitForm", t), e != null && e.queryFn ? e.queryFn(t) : v();
|
|
67
|
-
}
|
|
68
|
-
o(ne, "submitForm");
|
|
69
65
|
function se(t) {
|
|
70
|
-
|
|
66
|
+
J(1), w("submitForm", t), e != null && e.queryFn ? e.queryFn(t) : v();
|
|
67
|
+
}
|
|
68
|
+
o(se, "submitForm");
|
|
69
|
+
function re(t) {
|
|
70
|
+
console.warn("resetForm", t), G();
|
|
71
71
|
}
|
|
72
|
-
o(
|
|
73
|
-
const L =
|
|
72
|
+
o(re, "resetForm");
|
|
73
|
+
const L = E(() => H ? H.value.path : "");
|
|
74
74
|
function de() {
|
|
75
75
|
e != null && e.addFn ? e.addFn() : F(
|
|
76
76
|
{
|
|
@@ -80,7 +80,7 @@ const Ve = {
|
|
|
80
80
|
);
|
|
81
81
|
}
|
|
82
82
|
o(de, "onAdd");
|
|
83
|
-
function
|
|
83
|
+
function fe(t, a) {
|
|
84
84
|
e != null && e.tableDetailFn ? e.tableDetailFn(a) : F(
|
|
85
85
|
{
|
|
86
86
|
path: `${e != null && e.detailRoutePath ? e.detailRoutePath : `${L.value}/detail`}/${t}`
|
|
@@ -88,8 +88,8 @@ const Ve = {
|
|
|
88
88
|
1
|
|
89
89
|
);
|
|
90
90
|
}
|
|
91
|
-
o(
|
|
92
|
-
function
|
|
91
|
+
o(fe, "onDetail");
|
|
92
|
+
function ue(t, a) {
|
|
93
93
|
e != null && e.tableEditFn ? e.tableEditFn(a) : F(
|
|
94
94
|
{
|
|
95
95
|
path: `${e != null && e.editRoutePath ? e.editRoutePath : `${L.value}/edit`}/${t}`
|
|
@@ -97,41 +97,41 @@ const Ve = {
|
|
|
97
97
|
1
|
|
98
98
|
);
|
|
99
99
|
}
|
|
100
|
-
o(
|
|
101
|
-
const A = h(void 0),
|
|
102
|
-
function
|
|
100
|
+
o(ue, "onEdit");
|
|
101
|
+
const A = h(void 0), D = h(!1);
|
|
102
|
+
function be(t, a) {
|
|
103
103
|
if (e.delApi) {
|
|
104
|
-
A.value = t,
|
|
105
|
-
let
|
|
106
|
-
e != null && e.dealDelParams && (
|
|
107
|
-
|
|
104
|
+
A.value = t, D.value = !0;
|
|
105
|
+
let r = t;
|
|
106
|
+
e != null && e.dealDelParams && (r = e.dealDelParams(a)), e.delApi(r).then(() => {
|
|
107
|
+
ze.success("删除成功"), v();
|
|
108
108
|
}).catch((m) => {
|
|
109
109
|
console.warn(m);
|
|
110
110
|
}).finally(() => {
|
|
111
|
-
|
|
111
|
+
D.value = !1;
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
o(
|
|
116
|
-
const
|
|
117
|
-
function
|
|
118
|
-
|
|
115
|
+
o(be, "onDel");
|
|
116
|
+
const N = h(), x = h(!1);
|
|
117
|
+
function me(t, a, r) {
|
|
118
|
+
N.value = t;
|
|
119
119
|
const m = /* @__PURE__ */ o((c, l) => {
|
|
120
120
|
if (e.switchApi) {
|
|
121
|
-
|
|
122
|
-
let
|
|
123
|
-
e != null && e.dealSwitchParams && (
|
|
121
|
+
x.value = !0;
|
|
122
|
+
let d = t;
|
|
123
|
+
e != null && e.dealSwitchParams && (d = e.dealSwitchParams(r)), e.switchApi(d).then(() => {
|
|
124
124
|
v(!1), c(!0);
|
|
125
125
|
}).catch(() => {
|
|
126
126
|
l(new Error("Error"));
|
|
127
127
|
}).finally(() => {
|
|
128
|
-
|
|
128
|
+
x.value = !1;
|
|
129
129
|
});
|
|
130
130
|
} else
|
|
131
131
|
l(new Error("Error"));
|
|
132
132
|
}, "onSwitch");
|
|
133
133
|
return new Promise((c, l) => {
|
|
134
|
-
a ?
|
|
134
|
+
a ? Be.confirm('<strong class="text-14px">请问是否关闭?</strong>', {
|
|
135
135
|
confirmButtonText: "确定",
|
|
136
136
|
cancelButtonText: "取消",
|
|
137
137
|
dangerouslyUseHTMLString: !0,
|
|
@@ -145,62 +145,102 @@ const Ve = {
|
|
|
145
145
|
}) : m(c, l);
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
|
-
o(
|
|
149
|
-
function
|
|
148
|
+
o(me, "switchBeforeChange");
|
|
149
|
+
function ce(t) {
|
|
150
150
|
let a = !1;
|
|
151
151
|
return e != null && e.disabledTableSwitch && (typeof e.disabledTableSwitch == "boolean" ? a = e.disabledTableSwitch : typeof e.disabledTableSwitch == "function" && (a = e.disabledTableSwitch(t))), !!a;
|
|
152
152
|
}
|
|
153
|
-
o(
|
|
154
|
-
function
|
|
153
|
+
o(ce, "disabledTableSwitch");
|
|
154
|
+
function he(t) {
|
|
155
|
+
if (e != null && e.tableDetailText) {
|
|
156
|
+
if (typeof e.tableDetailText == "string")
|
|
157
|
+
return e.tableDetailText;
|
|
158
|
+
if (typeof e.tableDetailText == "function")
|
|
159
|
+
return e.tableDetailText(t);
|
|
160
|
+
}
|
|
161
|
+
return "查看";
|
|
162
|
+
}
|
|
163
|
+
o(he, "getTableDetailText");
|
|
164
|
+
function Te(t) {
|
|
155
165
|
let a = !1;
|
|
156
166
|
return e != null && e.showTableDetail && (typeof e.showTableDetail == "boolean" ? a = e.showTableDetail : typeof e.showTableDetail == "function" && (a = e.showTableDetail(t))), !!a;
|
|
157
167
|
}
|
|
158
|
-
o(
|
|
159
|
-
function
|
|
168
|
+
o(Te, "showTableDetail");
|
|
169
|
+
function pe(t) {
|
|
160
170
|
let a = !1;
|
|
161
171
|
return e != null && e.disabledTableDetail && (typeof e.disabledTableDetail == "boolean" ? a = e.disabledTableDetail : typeof e.disabledTableDetail == "function" && (a = e.disabledTableDetail(t))), !!a;
|
|
162
172
|
}
|
|
163
|
-
o(
|
|
164
|
-
function
|
|
173
|
+
o(pe, "disabledTableDetail");
|
|
174
|
+
function ye(t) {
|
|
175
|
+
if (e != null && e.tableEditText) {
|
|
176
|
+
if (typeof e.tableEditText == "string")
|
|
177
|
+
return e.tableEditText;
|
|
178
|
+
if (typeof e.tableEditText == "function")
|
|
179
|
+
return e.tableEditText(t);
|
|
180
|
+
}
|
|
181
|
+
return "编辑";
|
|
182
|
+
}
|
|
183
|
+
o(ye, "getTableEditText");
|
|
184
|
+
function ge(t) {
|
|
165
185
|
let a = !1;
|
|
166
186
|
return e != null && e.showTableEdit && (typeof e.showTableEdit == "boolean" ? a = e.showTableEdit : typeof e.showTableEdit == "function" && (a = e.showTableEdit(t))), !!a;
|
|
167
187
|
}
|
|
168
|
-
o(
|
|
169
|
-
function
|
|
188
|
+
o(ge, "showTableEdit");
|
|
189
|
+
function De(t) {
|
|
170
190
|
let a = !1;
|
|
171
191
|
return e != null && e.disabledTableEdit && (typeof e.disabledTableEdit == "boolean" ? a = e.disabledTableEdit : typeof e.disabledTableEdit == "function" && (a = e.disabledTableEdit(t))), !!a;
|
|
172
192
|
}
|
|
173
|
-
o(
|
|
193
|
+
o(De, "disabledTableEdit");
|
|
194
|
+
function Q(t) {
|
|
195
|
+
if (e != null && e.tableDelText) {
|
|
196
|
+
if (typeof e.tableDelText == "string")
|
|
197
|
+
return e.tableDelText;
|
|
198
|
+
if (typeof e.tableDelText == "function")
|
|
199
|
+
return e.tableDelText(t);
|
|
200
|
+
}
|
|
201
|
+
return "删除";
|
|
202
|
+
}
|
|
203
|
+
o(Q, "getTableDelText");
|
|
174
204
|
function we(t) {
|
|
175
205
|
let a = !1;
|
|
176
206
|
return e != null && e.showTableDel && (typeof e.showTableDel == "boolean" ? a = e.showTableDel : typeof e.showTableDel == "function" && (a = e.showTableDel(t))), !!a;
|
|
177
207
|
}
|
|
178
208
|
o(we, "showTableDel");
|
|
179
|
-
function
|
|
209
|
+
function ve(t) {
|
|
180
210
|
let a = !1;
|
|
181
211
|
return e != null && e.disabledTableDel && (typeof e.disabledTableDel == "boolean" ? a = e.disabledTableDel : typeof e.disabledTableDel == "function" && (a = e.disabledTableDel(t))), !!a;
|
|
182
212
|
}
|
|
183
|
-
o(
|
|
184
|
-
|
|
213
|
+
o(ve, "disabledTableDel");
|
|
214
|
+
function Ee(t) {
|
|
215
|
+
if (e != null && e.popconfirmTxt) {
|
|
216
|
+
if (typeof e.popconfirmTxt == "string")
|
|
217
|
+
return e.popconfirmTxt;
|
|
218
|
+
if (typeof e.popconfirmTxt == "function")
|
|
219
|
+
return e.popconfirmTxt(t);
|
|
220
|
+
}
|
|
221
|
+
return `是否${Q(t)}当前行数据?`;
|
|
222
|
+
}
|
|
223
|
+
o(Ee, "getPopconfirmTxt");
|
|
224
|
+
const Se = Re(te, { direction: "vertical" }), ke = E(() => e.showSkeleton ? !q.value : !0);
|
|
185
225
|
return $({
|
|
186
226
|
loadData: v,
|
|
187
|
-
handleReset:
|
|
188
|
-
setCurrentPage:
|
|
189
|
-
setPageSize:
|
|
190
|
-
isFirst:
|
|
191
|
-
loading:
|
|
192
|
-
currentPage:
|
|
193
|
-
pageSize:
|
|
194
|
-
total:
|
|
195
|
-
FormRef:
|
|
196
|
-
TableRef:
|
|
227
|
+
handleReset: G,
|
|
228
|
+
setCurrentPage: J,
|
|
229
|
+
setPageSize: ne,
|
|
230
|
+
isFirst: q,
|
|
231
|
+
loading: p,
|
|
232
|
+
currentPage: g,
|
|
233
|
+
pageSize: y,
|
|
234
|
+
total: j,
|
|
235
|
+
FormRef: V,
|
|
236
|
+
TableRef: M
|
|
197
237
|
}), (t, a) => {
|
|
198
|
-
const
|
|
199
|
-
return i(
|
|
200
|
-
t.showForm ? (n(), f(
|
|
238
|
+
const r = Ve, m = Me, c = Ue;
|
|
239
|
+
return i(ke) ? (n(), B("div", qe, [
|
|
240
|
+
t.showForm ? (n(), f(Ke, T({
|
|
201
241
|
key: 0,
|
|
202
242
|
ref_key: "FormRef",
|
|
203
|
-
ref:
|
|
243
|
+
ref: V,
|
|
204
244
|
class: ["mb-6px ls-form-cpo", t.formClass],
|
|
205
245
|
"label-position": "top",
|
|
206
246
|
"show-btn-loading": !1,
|
|
@@ -208,41 +248,41 @@ const Ve = {
|
|
|
208
248
|
inline: !0,
|
|
209
249
|
"form-data": t.formData,
|
|
210
250
|
"form-items": t.formItems,
|
|
211
|
-
loading: i(
|
|
251
|
+
loading: i(p),
|
|
212
252
|
"confirm-text": "查询"
|
|
213
253
|
}, t.formAttrs, {
|
|
214
|
-
onSubmit:
|
|
215
|
-
onReset:
|
|
254
|
+
onSubmit: se,
|
|
255
|
+
onReset: re
|
|
216
256
|
}), X({
|
|
217
257
|
default: s((l) => [
|
|
218
|
-
u(t.$slots, "form-append", K(
|
|
258
|
+
u(t.$slots, "form-append", O(K(l)), void 0, !0)
|
|
219
259
|
]),
|
|
220
260
|
_: 2
|
|
221
261
|
}, [
|
|
222
|
-
Y(i(
|
|
223
|
-
name:
|
|
224
|
-
fn: s((
|
|
225
|
-
u(t.$slots, l, K(
|
|
262
|
+
Y(i(ie), (l) => ({
|
|
263
|
+
name: U(l, !0),
|
|
264
|
+
fn: s((d) => [
|
|
265
|
+
u(t.$slots, l, O(K(d)), void 0, !0)
|
|
226
266
|
])
|
|
227
267
|
}))
|
|
228
268
|
]), 1040, ["class", "form-data", "form-items", "loading"])) : b("", !0),
|
|
229
|
-
t.showOperate ? (n(),
|
|
230
|
-
t.$slots.operate ? u(t.$slots, "operate", { key: 0 }, void 0, !0) : (n(),
|
|
231
|
-
t.showOperateDivider ? (n(), f(i(
|
|
269
|
+
t.showOperate ? (n(), B(Z, { key: 1 }, [
|
|
270
|
+
t.$slots.operate ? u(t.$slots, "operate", { key: 0 }, void 0, !0) : (n(), B(Z, { key: 1 }, [
|
|
271
|
+
t.showOperateDivider ? (n(), f(i(te), {
|
|
232
272
|
key: 0,
|
|
233
273
|
"border-style": "dashed"
|
|
234
274
|
})) : b("", !0),
|
|
235
275
|
_("div", {
|
|
236
|
-
class:
|
|
276
|
+
class: $e(["mt-24px flex items-center justify-start", t.operateClass])
|
|
237
277
|
}, [
|
|
238
278
|
u(t.$slots, "operate-prepend", {}, void 0, !0),
|
|
239
|
-
t.showAdd ? (n(), f(i(C),
|
|
279
|
+
t.showAdd ? (n(), f(i(C), T({
|
|
240
280
|
key: 0,
|
|
241
281
|
type: "primary",
|
|
242
|
-
disabled: i(
|
|
282
|
+
disabled: i(p) || t.disabledAddBtn
|
|
243
283
|
}, t.addBtnAttrs, { onClick: de }), {
|
|
244
284
|
default: s(() => [
|
|
245
|
-
k(
|
|
285
|
+
S(k(t.addBtnText), 1)
|
|
246
286
|
]),
|
|
247
287
|
_: 1
|
|
248
288
|
}, 16, ["disabled"])) : b("", !0),
|
|
@@ -250,41 +290,41 @@ const Ve = {
|
|
|
250
290
|
], 2)
|
|
251
291
|
], 64))
|
|
252
292
|
], 64)) : b("", !0),
|
|
253
|
-
P(
|
|
293
|
+
P(He, T({
|
|
254
294
|
ref_key: "TableRef",
|
|
255
|
-
ref:
|
|
295
|
+
ref: M,
|
|
256
296
|
class: ["ls-table-cpo", [t.showOperate ? "mt-16px" : "mt-24px"]],
|
|
257
297
|
"show-overflow-tooltip": !0,
|
|
258
|
-
loading: i(
|
|
259
|
-
total: i(
|
|
260
|
-
"table-data": i(
|
|
298
|
+
loading: i(p),
|
|
299
|
+
total: i(j),
|
|
300
|
+
"table-data": i(W),
|
|
261
301
|
"table-column": t.tableColumn,
|
|
262
|
-
"current-page": i(
|
|
263
|
-
"onUpdate:currentPage": a[0] || (a[0] = (l) =>
|
|
264
|
-
"page-size": i(
|
|
265
|
-
"onUpdate:pageSize": a[1] || (a[1] = (l) =>
|
|
266
|
-
}, t.tableAttrs,
|
|
302
|
+
"current-page": i(g),
|
|
303
|
+
"onUpdate:currentPage": a[0] || (a[0] = (l) => ee(g) ? g.value = l : null),
|
|
304
|
+
"page-size": i(y),
|
|
305
|
+
"onUpdate:pageSize": a[1] || (a[1] = (l) => ee(y) ? y.value = l : null)
|
|
306
|
+
}, t.tableAttrs, Fe(t.tableListeners || {})), X({
|
|
267
307
|
default: s(() => [
|
|
268
|
-
t.showTableSwitch ? (n(), f(
|
|
308
|
+
t.showTableSwitch ? (n(), f(r, T({
|
|
269
309
|
key: 0,
|
|
270
310
|
prop: t.switchProp,
|
|
271
311
|
label: "是否开启",
|
|
272
312
|
width: "100"
|
|
273
313
|
}, t.tableSwitchColumn), {
|
|
274
314
|
default: s(({ row: l }) => [
|
|
275
|
-
P(i(
|
|
315
|
+
P(i(Ae), {
|
|
276
316
|
class: "ls-list-table__switch",
|
|
277
317
|
"model-value": l[t.switchProp] ? 1 : 0,
|
|
278
318
|
"active-value": 1,
|
|
279
319
|
"inactive-value": 0,
|
|
280
|
-
loading: i(
|
|
281
|
-
"before-change": /* @__PURE__ */ o(() =>
|
|
282
|
-
disabled:
|
|
320
|
+
loading: i(x) && l[t.tableRowKey] === i(N),
|
|
321
|
+
"before-change": /* @__PURE__ */ o(() => me(l[t.tableRowKey], l[t.switchProp], l), "before-change"),
|
|
322
|
+
disabled: ce(l)
|
|
283
323
|
}, null, 8, ["model-value", "loading", "before-change", "disabled"])
|
|
284
324
|
]),
|
|
285
325
|
_: 1
|
|
286
326
|
}, 16, ["prop"])) : b("", !0),
|
|
287
|
-
t.showTableOperate ? (n(), f(
|
|
327
|
+
t.showTableOperate ? (n(), f(r, T({
|
|
288
328
|
key: 1,
|
|
289
329
|
fixed: "right",
|
|
290
330
|
prop: "operate",
|
|
@@ -292,34 +332,34 @@ const Ve = {
|
|
|
292
332
|
"show-overflow-tooltip": !1
|
|
293
333
|
}, t.tableOperateColumn), {
|
|
294
334
|
default: s(({ row: l }) => [
|
|
295
|
-
_("div",
|
|
296
|
-
P(i(
|
|
335
|
+
_("div", We, [
|
|
336
|
+
P(i(xe), {
|
|
297
337
|
size: 0,
|
|
298
|
-
spacer: i(
|
|
338
|
+
spacer: i(Se)
|
|
299
339
|
}, {
|
|
300
340
|
default: s(() => [
|
|
301
341
|
u(t.$slots, "table-operate-prepend", { row: l }, void 0, !0),
|
|
302
|
-
|
|
342
|
+
Te(l) ? (n(), f(i(C), {
|
|
303
343
|
key: 0,
|
|
304
|
-
disabled:
|
|
344
|
+
disabled: pe(l),
|
|
305
345
|
link: "",
|
|
306
346
|
type: "primary",
|
|
307
|
-
onClick: /* @__PURE__ */ o((
|
|
347
|
+
onClick: /* @__PURE__ */ o((d) => fe(l[t.tableRowKey], l), "onClick")
|
|
308
348
|
}, {
|
|
309
349
|
default: s(() => [
|
|
310
|
-
k(
|
|
350
|
+
S(k(l.tableDetailText || he(l)), 1)
|
|
311
351
|
]),
|
|
312
352
|
_: 2
|
|
313
353
|
}, 1032, ["disabled", "onClick"])) : b("", !0),
|
|
314
|
-
|
|
354
|
+
ge(l) ? (n(), f(i(C), {
|
|
315
355
|
key: 1,
|
|
316
|
-
disabled:
|
|
356
|
+
disabled: De(l),
|
|
317
357
|
link: "",
|
|
318
358
|
type: "primary",
|
|
319
|
-
onClick: /* @__PURE__ */ o((
|
|
359
|
+
onClick: /* @__PURE__ */ o((d) => ue(l[t.tableRowKey], l), "onClick")
|
|
320
360
|
}, {
|
|
321
361
|
default: s(() => [
|
|
322
|
-
k(
|
|
362
|
+
S(k(l.tableEditText || ye(l)), 1)
|
|
323
363
|
]),
|
|
324
364
|
_: 2
|
|
325
365
|
}, 1032, ["disabled", "onClick"])) : b("", !0),
|
|
@@ -330,18 +370,18 @@ const Ve = {
|
|
|
330
370
|
width: "180",
|
|
331
371
|
"confirm-button-text": "确认",
|
|
332
372
|
"cancel-button-text": "取消",
|
|
333
|
-
title: l.popconfirmTxt ||
|
|
334
|
-
onConfirm: /* @__PURE__ */ o((
|
|
373
|
+
title: l.popconfirmTxt || Ee(l),
|
|
374
|
+
onConfirm: /* @__PURE__ */ o((d) => be(l[t.tableRowKey], l), "onConfirm")
|
|
335
375
|
}, {
|
|
336
376
|
reference: s(() => [
|
|
337
377
|
P(i(C), {
|
|
338
378
|
link: "",
|
|
339
379
|
type: "danger",
|
|
340
|
-
disabled: i(
|
|
341
|
-
loading: i(
|
|
380
|
+
disabled: i(D) || ve(l),
|
|
381
|
+
loading: i(D) && i(A) === l[t.tableRowKey]
|
|
342
382
|
}, {
|
|
343
383
|
default: s(() => [
|
|
344
|
-
k(
|
|
384
|
+
S(k(i(D) && i(A) === l[t.tableRowKey] ? "" : l.tableDelText || Q(l)), 1)
|
|
345
385
|
]),
|
|
346
386
|
_: 2
|
|
347
387
|
}, 1032, ["disabled", "loading"])
|
|
@@ -356,18 +396,18 @@ const Ve = {
|
|
|
356
396
|
]),
|
|
357
397
|
_: 3
|
|
358
398
|
}, 16)) : b("", !0),
|
|
359
|
-
u(t.$slots, "table-append", { tableData: i(
|
|
399
|
+
u(t.$slots, "table-append", { tableData: i(W) }, void 0, !0)
|
|
360
400
|
]),
|
|
361
401
|
_: 2
|
|
362
402
|
}, [
|
|
363
|
-
Y(i(
|
|
364
|
-
name:
|
|
365
|
-
fn: s((
|
|
366
|
-
u(t.$slots, l, K(
|
|
403
|
+
Y(i(oe), (l) => ({
|
|
404
|
+
name: U(l, !1),
|
|
405
|
+
fn: s((d) => [
|
|
406
|
+
u(t.$slots, l, O(K(d)), void 0, !0)
|
|
367
407
|
])
|
|
368
408
|
}))
|
|
369
409
|
]), 1040, ["class", "loading", "total", "table-data", "table-column", "current-page", "page-size"])
|
|
370
|
-
])) : (n(), f(c,
|
|
410
|
+
])) : (n(), f(c, T({
|
|
371
411
|
key: 1,
|
|
372
412
|
rows: 5,
|
|
373
413
|
animated: ""
|
|
@@ -376,5 +416,5 @@ const Ve = {
|
|
|
376
416
|
}
|
|
377
417
|
});
|
|
378
418
|
export {
|
|
379
|
-
|
|
419
|
+
mt as default
|
|
380
420
|
};
|
|
Binary file
|
|
Binary file
|