halo-pc 1.0.49 → 1.0.50
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-B4W1yDus.js → Article-BEEbCcan.js} +9 -9
- package/dist/{ArticleFooter-BZmGzE4z.js → ArticleFooter-UYaCmcM9.js} +1 -1
- package/dist/{Autocomplete-B691jOqv.js → Autocomplete-CzS19Eoe.js} +1 -1
- package/dist/{Autocomplete-CLYzsHIy.js → Autocomplete-Ds2NCinL.js} +1 -1
- package/dist/{Autocomplete-DXKXgbu8.js → Autocomplete-SVH1vEdt.js} +1 -1
- package/dist/{CSharp-Bu5b_AQ5.js → CSharp-Dxl87Pb2.js} +1 -1
- package/dist/{Calender-Df0eBgXW.js → Calender-C3vfcPKA.js} +1 -1
- package/dist/{Callback-Bk7xDeWh.js → Callback-DbIAQj91.js} +3 -3
- package/dist/{Cascader-Bn5tdkyk.js → Cascader-BhSFI66x.js} +4 -4
- package/dist/{Cascader-CCv6R_xq.js → Cascader-CST_yBZT.js} +1 -1
- package/dist/{Checkbox-l-dw3I-D.js → Checkbox-BRtrlSkN.js} +1 -1
- package/dist/{Checkbox-DJTNEds9.js → Checkbox-CJmBTdEv.js} +1 -1
- package/dist/{Code-DzZ4UNYj.js → Code-7QW5e6O-.js} +1 -1
- package/dist/{Code-BIJ8L9XB.js → Code-BuNX1som.js} +1 -1
- package/dist/{Code-CC0_bYUf.js → Code-BudCt-zN.js} +3 -3
- package/dist/{Code-DSskK7CQ.js → Code-D8zpj4OD.js} +4 -4
- package/dist/{Code.vue_vue_type_style_index_0_lang-B69Ar-BV.js → Code.vue_vue_type_style_index_0_lang-BWX6kSZ5.js} +10 -10
- package/dist/{Column-Ct-WeomE.js → Column-rtfDHffV.js} +20 -21
- package/dist/{Comment-WXfnUXm0.js → Comment-1A6XjktT.js} +13 -13
- package/dist/{Compare-C7wrM-XA.js → Compare-Chly4i3M.js} +2 -2
- package/dist/{Compare-slAZvFE_.js → Compare-IuhkDErD.js} +8 -8
- package/dist/{Copy-Djf4freJ.js → Copy-D2vThHoj.js} +1 -1
- package/dist/Custom-DQJJ0gJR.js +55 -0
- package/dist/{DataExport-TrGLjcqQ.js → DataExport-CpWmh2mq.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-BRI71FyH.js → DataExport.vue_vue_type_script_setup_true_lang-DU4nMq3w.js} +1 -1
- package/dist/{DataImport-rcDmGVKS.js → DataImport-BiZIKMoR.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-BajrFerF.js → DataImport.vue_vue_type_script_setup_true_lang-DOAWmiVj.js} +9 -9
- package/dist/{Date-7EWMEODI.js → Date-CxfUK1ym.js} +1 -1
- package/dist/{Date-Dc2vK9Yv.js → Date-DL1kALTH.js} +1 -1
- package/dist/{DateRange-Uli5eOZ5.js → DateRange-DKbhbd5c.js} +1 -1
- package/dist/{DateTime-DfUXtsBX.js → DateTime-H7x-zFQo.js} +1 -1
- package/dist/{DateTime-C-XhFPb0.js → DateTime-ml-2u_GU.js} +1 -1
- package/dist/{DateTimeRange-CnITxfZ9.js → DateTimeRange-B_2X8eCp.js} +1 -1
- package/dist/{Daterange-CPJSBRvr.js → Daterange-D8N6hKkT.js} +1 -1
- package/dist/{Decimal-BtQpSIJR.js → Decimal-CQbvxP2i.js} +1 -1
- package/dist/{Delete-r-qTGBEE.js → Delete-Bx-_P8Nf.js} +13 -13
- package/dist/{Detail-D77pFe-2.js → Detail-x5vjBlYQ.js} +3 -4
- package/dist/{Dictionary-ICeLwv7E.js → Dictionary-BQ8Ux8WZ.js} +5 -5
- package/dist/{Email-BanDj216.js → Email-CvFDHYtk.js} +1 -1
- package/dist/{File-BrXieip7.js → File-CMPzmJQA.js} +9 -10
- package/dist/{Image-D_5kTXKm.js → Image-BgRTdHZ5.js} +1 -1
- package/dist/{Index-CsxTOaw6.js → Index-3X9fX7wI.js} +2 -2
- package/dist/{Index-wHW-zG4G.js → Index-B0knd7CS.js} +52 -52
- package/dist/{Index-Bov1OTEP.js → Index-BCdXwUZY.js} +1 -1
- package/dist/Index-BZsMeVSW.js +4 -0
- package/dist/{Index-BMBm5j5X.js → Index-BmW54zgc.js} +1 -1
- package/dist/Index-C_qeJnt_.js +4 -0
- package/dist/Index-DTzsugzT.js +4 -0
- package/dist/Index-x8ZKhKBE.js +4 -0
- package/dist/{Index.vue_vue_type_script_setup_true_lang-BlpCvZBC.js → Index.vue_vue_type_script_setup_true_lang-aBAkc5KV.js} +31 -32
- package/dist/{Index.vue_vue_type_script_setup_true_lang-C_KWQFHN.js → Index.vue_vue_type_script_setup_true_lang-u4m3R9mx.js} +11 -12
- package/dist/{Install-DhWWbGRi.js → Install-EU_RfFJM.js} +17 -18
- package/dist/{Int-BZkW-0JA.js → Int-DFm6kqN_.js} +1 -1
- package/dist/{Int-BELzPmec.js → Int-zqTQ2gd5.js} +1 -1
- package/dist/{List-9r5PDoSS.js → List-BrGpPTYL.js} +24 -24
- package/dist/{Maintaince-CMitKNaf.js → Maintaince-CVCdxqLV.js} +1 -1
- package/dist/{Markdown-C8urG88V.js → Markdown-zmxLFYmZ.js} +1 -1
- package/dist/{Month-CK5GNwwH.js → Month-Bn8SgwG2.js} +1 -1
- package/dist/{Month-BNp70T17.js → Month-Cwpa-FDk.js} +1 -1
- package/dist/{Month-D4gy17OL.js → Month-CzJyH7am.js} +1 -1
- package/dist/{Normal-Cvx8228I.js → Normal-BM7O5JkS.js} +88 -88
- package/dist/{Paging-B3l_nJHf.js → Paging-CMmDRntT.js} +33 -33
- package/dist/{PagingHeader-CYOKAeGS.js → PagingHeader-DAmb3OZ6.js} +1 -1
- package/dist/{PagingRow-vv6z6G0t.js → PagingRow-DsvpEoCr.js} +1 -1
- package/dist/{Racebar-B4Q4oVfM.js → Racebar-BlFI-9Q6.js} +16 -16
- package/dist/{Radio-DA8B5Rlh.js → Radio-D-mO7LLy.js} +1 -1
- package/dist/{Register-BaFqs8vX.js → Register-B3gojp5n.js} +9 -9
- package/dist/RichText-CQWuw5fN.js +122 -0
- package/dist/{SearchForm-zVUHuxiR.js → SearchForm-C4lfVsXQ.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BvwtZSIf.js → SearchForm.vue_vue_type_style_index_0_lang-C74tp38C.js} +51 -51
- package/dist/{SearchHeader-Dqr5IKuO.js → SearchHeader-yuS7txP4.js} +1 -1
- package/dist/{SearchHeader.vue_vue_type_style_index_0_lang-DjpC03Al.js → SearchHeader.vue_vue_type_style_index_0_lang-VHaC_JOk.js} +21 -15
- package/dist/{Select-BvRI4zbF.js → Select-BShzoR6m.js} +2 -2
- package/dist/{Select-CUvvvGNn.js → Select-Bd0xR7k-.js} +1 -1
- package/dist/{Select-51pxexYZ.js → Select-DAl1xRPt.js} +1 -1
- package/dist/{Single-BtAJSJLK.js → Single-v7aOinV0.js} +105 -105
- package/dist/{Statistic-CQ2oA1vm.js → Statistic-DydCtGPc.js} +40 -40
- package/dist/{Stock-DF5yBa1X.js → Stock-DOqk5wDb.js} +1 -1
- package/dist/{Stock-DylT7df9.js → Stock-qEAIVhSd.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-BpgVbCj-.js → Stock.vue_vue_type_style_index_0_lang-DCLTN0G_.js} +5 -5
- package/dist/{Switch-CGcPpvTj.js → Switch-f28JwTlZ.js} +1 -1
- package/dist/Table-BNO-gdXV.js +247 -0
- package/dist/{Table-BlciJJMu.js → Table-Dwv3OcNy.js} +105 -105
- package/dist/{Text-Dv_w46l8.js → Text-BPcINDeu.js} +1 -1
- package/dist/{Text-Bx46Fcln.js → Text-DSB9hHwt.js} +1 -1
- package/dist/Text-qIKm-GZH.js +4 -0
- package/dist/{Text.vue_vue_type_style_index_0_lang-CfmQxBpy.js → Text.vue_vue_type_style_index_0_lang-BPHS89Zg.js} +5 -5
- package/dist/{TextLink-CQj0ytVR.js → TextLink-almyUYjN.js} +4 -4
- package/dist/{Textarea-D6VcTq4G.js → Textarea-K8kLteuw.js} +1 -1
- package/dist/{Time-WN0VMSgh.js → Time-BfTkorWT.js} +1 -1
- package/dist/{Timeline-DckHQQHw.js → Timeline-CKOLU9MZ.js} +7 -7
- package/dist/{Tree-DHwhhXMP.js → Tree-C1zf__Xp.js} +57 -58
- package/dist/{Tree-BWxBxlZN.js → Tree-zS1sINoF.js} +9 -9
- package/dist/{TreeNode-CeXU-uB1.js → TreeNode-ChAS5sC0.js} +1 -1
- package/dist/{Update-Ct44IN2J.js → Update-l-ZpDg8X.js} +18 -19
- package/dist/{UpdateChild-Bo6yZ12Y.js → UpdateChild-Qjsmhk6Y.js} +1 -1
- package/dist/{Upload-CfRc8s-c.js → Upload-tMC28k4n.js} +21 -21
- package/dist/Upload-yC7lEuBD.js +150 -0
- package/dist/{Year-oJxibej6.js → Year-3KWQTdWY.js} +1 -1
- package/dist/{Year-CgsNE-M5.js → Year-DzfJcwOJ.js} +1 -1
- package/dist/main-GSKw_Blq.js +11271 -0
- package/dist/main.js +51 -164
- package/dist/style.css +1 -1
- package/esm/@types/PcOptions.d.ts +17 -0
- package/esm/@types/index.d.ts +5 -1
- package/esm/comps/business/@types/DrawerProps.d.ts +13 -0
- package/esm/comps/business/@types/FormProps.d.ts +5 -0
- package/esm/comps/business/@types/index.d.ts +2 -0
- package/esm/comps/business/Condition.vue.d.ts +9 -0
- package/esm/comps/business/Drawer.vue.d.ts +15 -0
- package/esm/comps/business/Feedback.vue.d.ts +8 -0
- package/esm/comps/business/Form.vue.d.ts +18 -0
- package/esm/comps/business/Switch.vue.d.ts +24 -0
- package/esm/comps/business/index.d.ts +10 -0
- package/esm/comps/commons/@types/TableProps.d.ts +21 -0
- package/esm/comps/commons/@types/index.d.ts +1 -0
- package/esm/comps/commons/Captcha.vue.d.ts +14 -0
- package/esm/comps/commons/Debug.vue.d.ts +17 -0
- package/esm/comps/commons/Editable.vue.d.ts +21 -0
- package/esm/comps/commons/Loading.vue.d.ts +41 -0
- package/esm/comps/commons/MouseContext.vue.d.ts +2 -0
- package/esm/comps/commons/Particles.vue.d.ts +2 -0
- package/esm/comps/commons/Resizer.vue.d.ts +34 -0
- package/esm/comps/commons/Table.vue.d.ts +48 -0
- package/esm/comps/commons/TableColumn.vue.d.ts +39 -0
- package/esm/comps/commons/index.d.ts +4 -0
- package/esm/comps/controls/@types/ControlProps.d.ts +25 -0
- package/esm/comps/controls/@types/index.d.ts +1 -0
- package/esm/comps/controls/Autocomplete.vue.d.ts +14 -0
- package/esm/comps/controls/Cascader.vue.d.ts +14 -0
- package/esm/comps/controls/Checkbox.vue.d.ts +12 -0
- package/esm/comps/controls/Code.vue.d.ts +14 -0
- package/esm/comps/controls/Color.vue.d.ts +14 -0
- package/esm/comps/controls/Compare.vue.d.ts +14 -0
- package/esm/comps/controls/Date.vue.d.ts +14 -0
- package/esm/comps/controls/DateRange.vue.d.ts +14 -0
- package/esm/comps/controls/DateTime.vue.d.ts +14 -0
- package/esm/comps/controls/DateTimeRange.vue.d.ts +14 -0
- package/esm/comps/controls/Decimal.vue.d.ts +14 -0
- package/esm/comps/controls/Email.vue.d.ts +14 -0
- package/esm/comps/controls/Image.vue.d.ts +2 -0
- package/esm/comps/controls/Index.vue.d.ts +12 -0
- package/esm/comps/controls/Int.vue.d.ts +14 -0
- package/esm/comps/controls/Markdown.vue.d.ts +14 -0
- package/esm/comps/controls/Month.vue.d.ts +14 -0
- package/esm/comps/controls/Password.vue.d.ts +14 -0
- package/esm/comps/controls/Progress.vue.d.ts +14 -0
- package/esm/comps/controls/Radio.vue.d.ts +14 -0
- package/esm/comps/controls/Rate.vue.d.ts +14 -0
- package/esm/comps/controls/RichText.vue.d.ts +11 -0
- package/esm/comps/controls/Select.vue.d.ts +14 -0
- package/esm/comps/controls/Switch.vue.d.ts +14 -0
- package/esm/comps/controls/Text.vue.d.ts +16 -0
- package/esm/comps/controls/Textarea.vue.d.ts +14 -0
- package/esm/comps/controls/Time.vue.d.ts +14 -0
- package/esm/comps/controls/Upload.vue.d.ts +14 -0
- package/esm/comps/controls/Year.vue.d.ts +14 -0
- package/esm/comps/controls/index.d.ts +3 -0
- package/esm/comps/drivers/@types/CrudProps.d.ts +21 -0
- package/esm/comps/drivers/@types/DriverBaseProps.d.ts +13 -0
- package/esm/comps/drivers/@types/DriverEmit.d.ts +17 -0
- package/esm/comps/drivers/@types/DriverFormProps.d.ts +14 -0
- package/esm/comps/drivers/@types/DriverKindEmit.d.ts +17 -0
- package/esm/comps/drivers/@types/DriverProps.d.ts +28 -0
- package/esm/comps/drivers/@types/KindFormProps.d.ts +16 -0
- package/esm/comps/drivers/@types/KindProps.d.ts +20 -0
- package/esm/comps/drivers/@types/index.d.ts +5 -0
- package/esm/comps/drivers/Crud.vue.d.ts +30 -0
- package/esm/comps/drivers/Index.vue.d.ts +115 -0
- package/esm/comps/drivers/Kind.vue.d.ts +34 -0
- package/esm/comps/drivers/index.d.ts +5 -0
- package/esm/comps/globals/@types/WindowEmit.d.ts +13 -0
- package/esm/comps/globals/@types/WindowOptions.d.ts +37 -0
- package/esm/comps/globals/@types/WindowProps.d.ts +26 -0
- package/esm/comps/globals/@types/index.d.ts +3 -0
- package/esm/comps/globals/HeaderTab.vue.d.ts +27 -0
- package/esm/comps/globals/HeaderTabs.vue.d.ts +24 -0
- package/esm/comps/globals/Menu.vue.d.ts +77 -0
- package/esm/comps/globals/MenuItem.vue.d.ts +76 -0
- package/esm/comps/globals/MissComponent.vue.d.ts +17 -0
- package/esm/comps/globals/SideTab.vue.d.ts +29 -0
- package/esm/comps/globals/SideTabs.vue.d.ts +25 -0
- package/esm/comps/globals/Window.vue.d.ts +68 -0
- package/esm/comps/globals/index.d.ts +9 -0
- package/esm/comps/headers/@types/ChangeProps.d.ts +7 -0
- package/esm/comps/headers/@types/HeaderProps.d.ts +3 -0
- package/esm/comps/headers/@types/TipsProps.d.ts +10 -0
- package/esm/comps/headers/@types/index.d.ts +3 -0
- package/esm/comps/headers/Breadcrumb.vue.d.ts +2 -0
- package/esm/comps/headers/Changes.vue.d.ts +3 -0
- package/esm/comps/headers/Debugger.vue.d.ts +2 -0
- package/esm/comps/headers/Hamburger.vue.d.ts +18 -0
- package/esm/comps/headers/HeaderRight.vue.d.ts +8 -0
- package/esm/comps/headers/Index.vue.d.ts +18 -0
- package/esm/comps/headers/Log.vue.d.ts +2 -0
- package/esm/comps/headers/Logo.vue.d.ts +6 -0
- package/esm/comps/headers/Refresh.vue.d.ts +6 -0
- package/esm/comps/headers/Setting.vue.d.ts +8 -0
- package/esm/comps/headers/Tips.vue.d.ts +3 -0
- package/esm/comps/headers/index.d.ts +3 -0
- package/esm/comps/index.d.ts +12 -0
- package/esm/comps/layouts/@types/ITaskBar.d.ts +5 -0
- package/esm/comps/layouts/@types/index.d.ts +1 -0
- package/esm/comps/layouts/Desktop.vue.d.ts +2 -0
- package/esm/comps/layouts/Index.vue.d.ts +28 -0
- package/esm/comps/layouts/Side.vue.d.ts +23 -0
- package/esm/comps/layouts/Top.vue.d.ts +5 -0
- package/esm/comps/layouts/index.d.ts +3 -0
- package/esm/comps/lists/@types/ListProps.d.ts +14 -0
- package/esm/comps/lists/@types/index.d.ts +1 -0
- package/esm/comps/lists/Calender.vue.d.ts +2 -0
- package/esm/comps/lists/Racebar.vue.d.ts +9 -0
- package/esm/comps/lists/Statistic.vue.d.ts +9 -0
- package/esm/comps/lists/Stock.vue.d.ts +3 -0
- package/esm/comps/lists/Timeline.vue.d.ts +3 -0
- package/esm/comps/lists/Tree.vue.d.ts +18 -0
- package/esm/comps/lists/index.d.ts +2 -0
- package/esm/comps/pages/@types/ColumnPageProps.d.ts +10 -0
- package/esm/comps/pages/@types/CustomPageProps.d.ts +10 -0
- package/esm/comps/pages/@types/DeletePageProps.d.ts +14 -0
- package/esm/comps/pages/@types/ListPageProps.d.ts +14 -0
- package/esm/comps/pages/@types/PageEmit.d.ts +21 -0
- package/esm/comps/pages/@types/PageProps.d.ts +13 -0
- package/esm/comps/pages/@types/PagingPageProps.d.ts +14 -0
- package/esm/comps/pages/@types/SchemaProps.d.ts +30 -0
- package/esm/comps/pages/@types/SinglePageProps.d.ts +14 -0
- package/esm/comps/pages/@types/index.d.ts +9 -0
- package/esm/comps/pages/Column.vue.d.ts +13 -0
- package/esm/comps/pages/Custom.vue.d.ts +18 -0
- package/esm/comps/pages/Delete.vue.d.ts +11 -0
- package/esm/comps/pages/Index.vue.d.ts +2 -0
- package/esm/comps/pages/List.vue.d.ts +17 -0
- package/esm/comps/pages/Paging.vue.d.ts +17 -0
- package/esm/comps/pages/Single.vue.d.ts +20 -0
- package/esm/comps/pages/index.d.ts +3 -0
- package/esm/comps/pagings/@types/PagingProps.d.ts +10 -0
- package/esm/comps/pagings/@types/SearchFormProps.d.ts +6 -0
- package/esm/comps/pagings/@types/SearchHeaderProps.d.ts +8 -0
- package/esm/comps/pagings/@types/index.d.ts +3 -0
- package/esm/comps/pagings/Article.vue.d.ts +19 -0
- package/esm/comps/pagings/Code.vue.d.ts +3 -0
- package/esm/comps/pagings/DataExport.vue.d.ts +33 -0
- package/esm/comps/pagings/DataImport.vue.d.ts +18 -0
- package/esm/comps/pagings/File.vue.d.ts +3 -0
- package/esm/comps/pagings/Index.vue.d.ts +26 -0
- package/esm/comps/pagings/SearchForm.vue.d.ts +13 -0
- package/esm/comps/pagings/SearchHeader.vue.d.ts +19 -0
- package/esm/comps/pagings/Table.vue.d.ts +24 -0
- package/esm/comps/pagings/index.d.ts +2 -0
- package/esm/comps/panels/@types/OperationProps.d.ts +9 -0
- package/esm/comps/panels/@types/index.d.ts +1 -0
- package/esm/comps/panels/Group.vue.d.ts +17 -0
- package/esm/comps/panels/Header.vue.d.ts +16 -0
- package/esm/comps/panels/Operation.vue.d.ts +23 -0
- package/esm/comps/panels/Panel.vue.d.ts +38 -0
- package/esm/comps/panels/Shrink.vue.d.ts +56 -0
- package/esm/comps/panels/index.d.ts +5 -0
- package/esm/comps/partials/@types/ArticleFooterEmit.d.ts +25 -0
- package/esm/comps/partials/@types/DetailEmit.d.ts +17 -0
- package/esm/comps/partials/@types/DetailProps.d.ts +21 -0
- package/esm/comps/partials/@types/PagingHeaderEmit.d.ts +33 -0
- package/esm/comps/partials/@types/PagingHeaderProps.d.ts +30 -0
- package/esm/comps/partials/@types/PagingRowEmit.d.ts +25 -0
- package/esm/comps/partials/@types/PagingRowProps.d.ts +21 -0
- package/esm/comps/partials/@types/TreeNodeProps.d.ts +21 -0
- package/esm/comps/partials/@types/UpdateChildEmit.d.ts +21 -0
- package/esm/comps/partials/@types/UpdateChildProps.d.ts +21 -0
- package/esm/comps/partials/@types/UpdateEmit.d.ts +13 -0
- package/esm/comps/partials/@types/UpdateProps.d.ts +21 -0
- package/esm/comps/partials/@types/index.d.ts +12 -0
- package/esm/comps/partials/ArticleFooter.vue.d.ts +15 -0
- package/esm/comps/partials/Detail.vue.d.ts +11 -0
- package/esm/comps/partials/PagingHeader.vue.d.ts +19 -0
- package/esm/comps/partials/PagingRow.vue.d.ts +15 -0
- package/esm/comps/partials/TreeNode.vue.d.ts +3 -0
- package/esm/comps/partials/Update.vue.d.ts +11 -0
- package/esm/comps/partials/UpdateChild.vue.d.ts +13 -0
- package/esm/comps/partials/index.d.ts +1 -0
- package/esm/comps/searches/@types/SearchProps.d.ts +9 -0
- package/esm/comps/searches/@types/index.d.ts +1 -0
- package/esm/comps/searches/Autocomplete.vue.d.ts +14 -0
- package/esm/comps/searches/Daterange.vue.d.ts +12 -0
- package/esm/comps/searches/Index.vue.d.ts +9 -0
- package/esm/comps/searches/Int.vue.d.ts +14 -0
- package/esm/comps/searches/Month.vue.d.ts +14 -0
- package/esm/comps/searches/Select.vue.d.ts +14 -0
- package/esm/comps/searches/Text.vue.d.ts +15 -0
- package/esm/comps/searches/index.d.ts +3 -0
- package/esm/comps/singles/@types/SingleProps.d.ts +14 -0
- package/esm/comps/singles/@types/index.d.ts +1 -0
- package/esm/comps/singles/Code.vue.d.ts +9 -0
- package/esm/comps/singles/Comment.vue.d.ts +3 -0
- package/esm/comps/singles/Index.vue.d.ts +16 -0
- package/esm/comps/singles/Normal.vue.d.ts +12 -0
- package/esm/comps/singles/Statistic.vue.d.ts +3 -0
- package/esm/comps/singles/Stock.vue.d.ts +3 -0
- package/esm/comps/singles/Table.vue.d.ts +13 -0
- package/esm/comps/singles/Tree.vue.d.ts +5 -0
- package/esm/comps/singles/Tree_Old.vue.d.ts +2 -0
- package/esm/comps/singles/index.d.ts +2 -0
- package/esm/comps/texts/Autocomplete.vue.d.ts +6 -0
- package/esm/comps/texts/CSharp.vue.d.ts +6 -0
- package/esm/comps/texts/Cascader.vue.d.ts +12 -0
- package/esm/comps/texts/Checkbox.vue.d.ts +6 -0
- package/esm/comps/texts/Code.vue.d.ts +6 -0
- package/esm/comps/texts/Color.vue.d.ts +6 -0
- package/esm/comps/texts/Compare.vue.d.ts +6 -0
- package/esm/comps/texts/Copy.vue.d.ts +22 -0
- package/esm/comps/texts/Date.vue.d.ts +6 -0
- package/esm/comps/texts/DateRange.vue.d.ts +6 -0
- package/esm/comps/texts/DateTime.vue.d.ts +6 -0
- package/esm/comps/texts/Decimal.vue.d.ts +6 -0
- package/esm/comps/texts/Dictionary.vue.d.ts +14 -0
- package/esm/comps/texts/Email.vue.d.ts +6 -0
- package/esm/comps/texts/Index.vue.d.ts +12 -0
- package/esm/comps/texts/Int.vue.d.ts +6 -0
- package/esm/comps/texts/Markdown.vue.d.ts +6 -0
- package/esm/comps/texts/Month.vue.d.ts +6 -0
- package/esm/comps/texts/Password.vue.d.ts +6 -0
- package/esm/comps/texts/Progress.vue.d.ts +6 -0
- package/esm/comps/texts/Radio.vue.d.ts +6 -0
- package/esm/comps/texts/Rate.vue.d.ts +14 -0
- package/esm/comps/texts/RichText.vue.d.ts +6 -0
- package/esm/comps/texts/Select.vue.d.ts +6 -0
- package/esm/comps/texts/Switch.vue.d.ts +6 -0
- package/esm/comps/texts/Text.vue.d.ts +6 -0
- package/esm/comps/texts/TextLink.vue.d.ts +28 -0
- package/esm/comps/texts/Textarea.vue.d.ts +6 -0
- package/esm/comps/texts/Upload.vue.d.ts +6 -0
- package/esm/comps/texts/Year.vue.d.ts +6 -0
- package/esm/factory/Drivers.d.ts +6 -0
- package/esm/factory/Factories.d.ts +6 -0
- package/esm/factory/I18ns.d.ts +6 -0
- package/esm/factory/Repos.d.ts +11 -0
- package/esm/factory/Svcs.d.ts +50 -0
- package/esm/factory/Utils.d.ts +6 -0
- package/esm/factory/index.d.ts +6 -0
- package/esm/main.d.ts +4 -6
- package/esm/repos/UploadRepo.d.ts +10 -0
- package/esm/repos/index.d.ts +1 -1
- package/esm/svcs/ComponentSvc.d.ts +1 -1
- package/esm/svcs/ControlSvc.d.ts +1 -1
- package/esm/svcs/ModuleSvc.d.ts +1 -1
- package/esm/svcs/PageSvc.d.ts +1 -1
- package/esm/svcs/RouterSvc.d.ts +1 -1
- package/esm/svcs/WindowSvc.d.ts +1 -1
- package/esm/svcs/index.d.ts +9 -24
- package/package.json +1 -1
- package/dist/Custom-D-E5y5Vg.js +0 -55
- package/dist/Index-BQmAD1mw.js +0 -4
- package/dist/Index-Ceu5HCjk.js +0 -4
- package/dist/Index-Ddz9mcly.js +0 -4
- package/dist/Index-DhShUw_y.js +0 -4
- package/dist/RichText-TV3ZnykX.js +0 -47
- package/dist/Table-1R7b4wsF.js +0 -247
- package/dist/Text-CA8i8QjK.js +0 -4
- package/dist/Upload-Dui004Aq.js +0 -150
- package/dist/main-BJRpvr2g.js +0 -10974
@@ -0,0 +1,247 @@
|
|
1
|
+
import { defineComponent as be, defineAsyncComponent as Ce, toRefs as Re, ref as c, onMounted as ke, computed as K, watch as $e, resolveComponent as C, openBlock as v, createElementBlock as z, Fragment as Q, createVNode as k, unref as e, withCtx as g, createTextVNode as Fe, toDisplayString as T, createBlock as D, createCommentVNode as H, renderList as Se, createElementVNode as R, normalizeStyle as ze, resolveDynamicComponent as De, nextTick as X } from "vue";
|
2
|
+
import "./assets/liquidjs-BfOWWjtJ.js";
|
3
|
+
import "./assets/underscore-B0BCaBxV.js";
|
4
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
5
|
+
import "./assets/clone-BZn0cTAu.js";
|
6
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
7
|
+
import "./assets/moment-h96o7c8I.js";
|
8
|
+
import { U as m, b as w, I as Y, q as He, F as U } from "./main-GSKw_Blq.js";
|
9
|
+
const Ie = {
|
10
|
+
key: 0,
|
11
|
+
class: "required"
|
12
|
+
}, qe = ["onMouseenter"], Be = { class: "footer-left" }, Te = { class: "footer-right" }, Le = /* @__PURE__ */ be({
|
13
|
+
__name: "Table",
|
14
|
+
props: {
|
15
|
+
route: {},
|
16
|
+
validateErrors: {},
|
17
|
+
module: {},
|
18
|
+
schema: {},
|
19
|
+
table: {},
|
20
|
+
layout: {},
|
21
|
+
next: {},
|
22
|
+
set: {},
|
23
|
+
url: {},
|
24
|
+
win: {}
|
25
|
+
},
|
26
|
+
emits: ["submit", "change", "row-edit"],
|
27
|
+
setup(Z, { expose: ee, emit: te }) {
|
28
|
+
let le = Ce(() => import("./Index-C_qeJnt_.js")), I = te, ae = Z, { schema: W, table: l, layout: d, set: s, next: Ue, route: A, module: $, validateErrors: E } = Re(ae), _ = c({ page: 1 }), M = c({}), p = c([]), oe = c(!0), F = c(), N = c(), V = c(), O = c(), h = c({ layout: "prev, pager, next", count: 5 }), ne = new He(), re = (t, a, n) => {
|
29
|
+
I("row-edit", t, l.value, n);
|
30
|
+
}, ue = (t) => {
|
31
|
+
I("submit", t);
|
32
|
+
}, ie = (t, a) => {
|
33
|
+
let n = l.value.show[a];
|
34
|
+
return n._headerWidth ? (t.column.realWidth || t.column.width) > n._headerWidth + 20 : !0;
|
35
|
+
}, se = (t, a) => {
|
36
|
+
let n = t.target.children[0].offsetWidth, u = l.value.show[a];
|
37
|
+
u._headerWidth = n;
|
38
|
+
}, me = (t, a, n, u, o) => {
|
39
|
+
I("change", t, a, n, u, o);
|
40
|
+
}, j = (t) => s.value[l.value.name].indexOf(t), de = (t) => {
|
41
|
+
p.value = t;
|
42
|
+
}, pe = async (t, a, n, u, o) => {
|
43
|
+
await w.page.setColumnWidth(A.value, o.name, n.property, t);
|
44
|
+
}, ce = (t) => {
|
45
|
+
L(t.contentRect.width), X(() => {
|
46
|
+
P(t.contentRect.height);
|
47
|
+
});
|
48
|
+
}, L = (t = null) => {
|
49
|
+
let a = m.dom.parentUntil(F.value.$el, ".ha-main-form");
|
50
|
+
t == null && (t = m.dom.getWidth(a)), t <= 690 ? h.value.count = 5 : h.value.count = 7, t <= 300 ? h.value.layout = "pager" : t <= 620 ? h.value.layout = "prev, pager, next" : h.value.layout = "total, prev, pager, next, jumper";
|
51
|
+
}, P = (t = null) => {
|
52
|
+
let a = m.dom.parentUntil(F.value.$el, ".ha-main-form");
|
53
|
+
t || (t = m.dom.getHeight(a));
|
54
|
+
let n = m.dom.getHeight(N.value), u = m.dom.find(a, ".main-footer"), o = m.dom.getHeight(u), i = t - n - o;
|
55
|
+
O.value = `${i}px`;
|
56
|
+
}, fe = async () => {
|
57
|
+
let t = s.value[l.value.name].length, a = w.module.getDefaultRow(l.value);
|
58
|
+
s.value[l.value.name].push(a);
|
59
|
+
let n = l.value.fields.filter((o) => o.feature != null);
|
60
|
+
for (let o = 0; o < n.length; o++) {
|
61
|
+
let i = n[o];
|
62
|
+
(await U.feature.createAsync(i.feature.type)).add(l.value, i, s.value, a);
|
63
|
+
}
|
64
|
+
q(t);
|
65
|
+
let u = m.scroll.isBottom(".tree-detail");
|
66
|
+
await X(() => {
|
67
|
+
u && m.scroll.scrollToBottom(".tree-detail");
|
68
|
+
});
|
69
|
+
}, ve = async (t = null) => {
|
70
|
+
let a = p.value[0], n = w.module.getDefaultRow(l.value), u = m.array.insert(s.value[l.value.name], a, n), o = l.value.fields.filter((i) => i.feature != null);
|
71
|
+
for (let i = 0; i < o.length; i++) {
|
72
|
+
let f = o[i];
|
73
|
+
(await U.feature.create(f.feature.type)).insert(l.value, f, s.value, a, n);
|
74
|
+
}
|
75
|
+
q(u), t == null || t(u);
|
76
|
+
}, ge = async () => {
|
77
|
+
let t = l.value.key.name, a = m.object.clone(p.value, (o) => {
|
78
|
+
o[t] = null, o[`Old_${t}`] = null;
|
79
|
+
}), n = s.value[l.value.name].indexOf(p.value[0]);
|
80
|
+
for (let o = 0; o < p.value.length; o++) {
|
81
|
+
let i = p.value[o], f = a[o];
|
82
|
+
m.array.append(s.value[l.value.name], i, f);
|
83
|
+
}
|
84
|
+
let u = l.value.fields.filter((o) => o.feature != null);
|
85
|
+
for (let o = 0; o < u.length; o++) {
|
86
|
+
let i = u[o];
|
87
|
+
(await U.feature.create(i.feature.type)).copy(l.value, i, s.value);
|
88
|
+
}
|
89
|
+
q(n);
|
90
|
+
}, he = () => {
|
91
|
+
m.array.remove(s.value[l.value.name], p.value), p.value = [];
|
92
|
+
}, q = (t) => {
|
93
|
+
let a = m.math.pageCount(t + 1, d.value.size);
|
94
|
+
_.value.page = a;
|
95
|
+
}, ye = (t) => {
|
96
|
+
_.value.page = t;
|
97
|
+
}, we = () => {
|
98
|
+
F.value.$el.querySelector("tbody");
|
99
|
+
};
|
100
|
+
ke(async () => {
|
101
|
+
await ne.openAsync("sys", "page", M.value), we(), L(), m.component.detectLoaded(V, () => {
|
102
|
+
P();
|
103
|
+
});
|
104
|
+
});
|
105
|
+
let _e = K(() => {
|
106
|
+
let t = (_.value.page - 1) * d.value.size, a = _.value.page * d.value.size - 1;
|
107
|
+
return s.value[l.value.name].filter((u, o) => o >= t && o <= a);
|
108
|
+
}), xe = K(() => {
|
109
|
+
let t = l.value.main ? `/${l.value.name}` : `/${W.value[0].name}/${l.value.name}`;
|
110
|
+
return w.component.getComponent(`${t}/update-child`, "partial", "update-child");
|
111
|
+
});
|
112
|
+
return $e(E, (t, a) => {
|
113
|
+
let n = t.find((u) => u.table == l.value.name);
|
114
|
+
n != null && (_.value.page = Math.ceil((n.index + 1) / d.value.size));
|
115
|
+
}), ee({ resize: ce }), (t, a) => {
|
116
|
+
const n = C("el-table-column"), u = C("el-tooltip"), o = C("el-popover"), i = C("el-form-item"), f = C("el-table"), G = C("el-pagination");
|
117
|
+
return v(), z(Q, null, [
|
118
|
+
k(f, {
|
119
|
+
ref_key: "tableRef",
|
120
|
+
ref: F,
|
121
|
+
class: "ha-table-layout table-default",
|
122
|
+
size: "small",
|
123
|
+
border: "",
|
124
|
+
"max-height": e(O),
|
125
|
+
data: e(_e),
|
126
|
+
onRowClick: a[0] || (a[0] = (r, y, x) => e(re)(r, y, x)),
|
127
|
+
onSelectionChange: e(de),
|
128
|
+
onHeaderDragend: a[1] || (a[1] = (r, y, x, S) => e(pe)(r, y, x, S, e(l)))
|
129
|
+
}, {
|
130
|
+
empty: g(() => [
|
131
|
+
Fe(T(e(Y).t("common.no_data")), 1)
|
132
|
+
]),
|
133
|
+
default: g(() => [
|
134
|
+
e(oe) ? (v(), D(n, {
|
135
|
+
key: 0,
|
136
|
+
type: "selection",
|
137
|
+
width: "40",
|
138
|
+
fixed: ""
|
139
|
+
})) : H("", !0),
|
140
|
+
(v(!0), z(Q, null, Se(e(l).show, (r, y) => {
|
141
|
+
var x, S, J;
|
142
|
+
return v(), D(n, {
|
143
|
+
key: r.name,
|
144
|
+
"show-overflow-tooltip": "",
|
145
|
+
prop: r.name,
|
146
|
+
label: r.label,
|
147
|
+
"min-width": ((J = (S = (x = e(M)) == null ? void 0 : x[e(A)]) == null ? void 0 : S[e(l).name]) == null ? void 0 : J[r.name]) ?? r.control.width,
|
148
|
+
fixed: e(d).fixed.length > 0 ? e(d).fixed.indexOf(r.name) > -1 : y == 0
|
149
|
+
}, {
|
150
|
+
header: g((b) => [
|
151
|
+
e($).type != "Detail" && r.control.required ? (v(), z("i", Ie, "*")) : H("", !0),
|
152
|
+
k(u, {
|
153
|
+
placement: "top",
|
154
|
+
content: r.label,
|
155
|
+
disabled: e(ie)(b, y)
|
156
|
+
}, {
|
157
|
+
default: g(() => [
|
158
|
+
R("span", {
|
159
|
+
onMouseenter: (B) => e(se)(B, y)
|
160
|
+
}, [
|
161
|
+
R("span", null, T(e(Y).field(e(l).table, r.name)), 1)
|
162
|
+
], 40, qe)
|
163
|
+
]),
|
164
|
+
_: 2
|
165
|
+
}, 1032, ["content", "disabled"]),
|
166
|
+
r.control.tooltip ? (v(), D(o, {
|
167
|
+
key: 1,
|
168
|
+
trigger: "hover",
|
169
|
+
placement: "top",
|
170
|
+
width: "auto",
|
171
|
+
title: r.control.tooltip.title
|
172
|
+
}, {
|
173
|
+
reference: g(() => a[2] || (a[2] = [
|
174
|
+
R("i", { class: "fa fa-question-circle icon-question" }, null, -1)
|
175
|
+
])),
|
176
|
+
default: g(() => [
|
177
|
+
R("pre", null, T(r.control.tooltip.content), 1)
|
178
|
+
]),
|
179
|
+
_: 2
|
180
|
+
}, 1032, ["title"])) : H("", !0)
|
181
|
+
]),
|
182
|
+
default: g((b) => [
|
183
|
+
k(i, {
|
184
|
+
style: ze(e(w).control.getStyle(r, e($).type, e(d).type)),
|
185
|
+
rules: e(w).module.getRules(e(E), e(l), r, b.$index),
|
186
|
+
prop: `[${e(l).name}][${e(j)(b.row)}][${r.name}]`
|
187
|
+
}, {
|
188
|
+
default: g(() => [
|
189
|
+
k(e(le), {
|
190
|
+
schema: e(W),
|
191
|
+
table: e(l),
|
192
|
+
field: r,
|
193
|
+
set: e(s),
|
194
|
+
row: b.row,
|
195
|
+
config: e(w).control.getConfig(r, e($).type, e(d).type),
|
196
|
+
onSubmit: e(ue),
|
197
|
+
onChange: (B) => e(me)(B, e(s), e(l), r, e(j)(b.row))
|
198
|
+
}, null, 8, ["schema", "table", "field", "set", "row", "config", "onSubmit", "onChange"])
|
199
|
+
]),
|
200
|
+
_: 2
|
201
|
+
}, 1032, ["style", "rules", "prop"])
|
202
|
+
]),
|
203
|
+
_: 2
|
204
|
+
}, 1032, ["prop", "label", "min-width", "fixed"]);
|
205
|
+
}), 128))
|
206
|
+
]),
|
207
|
+
_: 1
|
208
|
+
}, 8, ["max-height", "data", "onSelectionChange"]),
|
209
|
+
e(l).main ? H("", !0) : (v(), z("div", {
|
210
|
+
key: 0,
|
211
|
+
ref_key: "footerRef",
|
212
|
+
ref: N,
|
213
|
+
class: "table-footer"
|
214
|
+
}, [
|
215
|
+
R("div", Be, [
|
216
|
+
(v(), D(De(e(xe)), {
|
217
|
+
ref_key: "operationRef",
|
218
|
+
ref: V,
|
219
|
+
module: e($),
|
220
|
+
table: e(l),
|
221
|
+
set: e(s),
|
222
|
+
selection: e(p),
|
223
|
+
onAdd: e(fe),
|
224
|
+
onInsert: e(ve),
|
225
|
+
onCopy: e(ge),
|
226
|
+
onRemove: e(he)
|
227
|
+
}, null, 40, ["module", "table", "set", "selection", "onAdd", "onInsert", "onCopy", "onRemove"]))
|
228
|
+
]),
|
229
|
+
R("div", Te, [
|
230
|
+
k(G, {
|
231
|
+
background: "",
|
232
|
+
layout: e(h).layout,
|
233
|
+
"current-page": e(_).page,
|
234
|
+
"page-size": e(d).size,
|
235
|
+
"pager-count": e(h).count,
|
236
|
+
total: e(s)[e(l).name].length,
|
237
|
+
onCurrentChange: e(ye)
|
238
|
+
}, null, 8, ["layout", "current-page", "page-size", "pager-count", "total", "onCurrentChange"])
|
239
|
+
])
|
240
|
+
], 512))
|
241
|
+
], 64);
|
242
|
+
};
|
243
|
+
}
|
244
|
+
});
|
245
|
+
export {
|
246
|
+
Le as default
|
247
|
+
};
|
@@ -1,21 +1,21 @@
|
|
1
|
-
import { defineComponent as Ee, toRefs as Ne, ref as i, onMounted as
|
2
|
-
import { U as b, c as Ie, o as Pe, I as V, b as je, h as Oe, p as Fe, q as re, a as Ge, s as Je, D as se, R as I } from "./main-BJRpvr2g.js";
|
1
|
+
import { defineComponent as Ee, toRefs as Ne, ref as i, onMounted as Le, nextTick as K, computed as ne, resolveComponent as k, openBlock as f, createElementBlock as T, createVNode as v, unref as e, isRef as x, normalizeClass as Me, withCtx as h, createTextVNode as re, toDisplayString as z, Fragment as qe, renderList as Ae, createBlock as S, createCommentVNode as $, createElementVNode as H, resolveDynamicComponent as Ie } from "vue";
|
3
2
|
import "./assets/liquidjs-BfOWWjtJ.js";
|
4
3
|
import "./assets/underscore-B0BCaBxV.js";
|
5
4
|
import "./assets/file-saver-CwlpTZSc.js";
|
6
5
|
import "./assets/clone-BZn0cTAu.js";
|
7
6
|
import "./assets/underscore.string-DVXD2SZo.js";
|
8
7
|
import "./assets/moment-h96o7c8I.js";
|
9
|
-
import {
|
10
|
-
import { _ as
|
11
|
-
import { _ as
|
8
|
+
import { U as b, b as V, I as W, e as Ke, p as Pe, c as je, q as Oe, D as se, R as P } from "./main-GSKw_Blq.js";
|
9
|
+
import { _ as Fe } from "./SearchForm.vue_vue_type_style_index_0_lang-C74tp38C.js";
|
10
|
+
import { _ as Ge } from "./DataImport.vue_vue_type_script_setup_true_lang-DOAWmiVj.js";
|
11
|
+
import { _ as Je } from "./DataExport.vue_vue_type_script_setup_true_lang-DU4nMq3w.js";
|
12
12
|
import "vue-router";
|
13
13
|
import "./assets/intro.js-Cg1adLK7.js";
|
14
|
-
import { _ as
|
15
|
-
const
|
14
|
+
import { _ as Qe } from "./SearchHeader.vue_vue_type_style_index_0_lang-VHaC_JOk.js";
|
15
|
+
const Xe = {
|
16
16
|
key: 0,
|
17
17
|
class: "required"
|
18
|
-
},
|
18
|
+
}, Ye = ["onMouseenter"], Ze = { class: "el-drawer__title" }, et = { key: 0 }, tt = ["href"], ht = /* @__PURE__ */ Ee({
|
19
19
|
__name: "Table",
|
20
20
|
props: {
|
21
21
|
searchData: {},
|
@@ -30,20 +30,20 @@ const et = {
|
|
30
30
|
},
|
31
31
|
emits: ["search", "navigate", "sort", "page-change", "size-change", "succeed", "close"],
|
32
32
|
setup(ie, { expose: ue, emit: de }) {
|
33
|
-
let w = de, pe = ie, { url: me, win: ge, module:
|
33
|
+
let w = de, pe = ie, { url: me, win: ge, module: j, schema: E, table: r, layout: u, next: p, set: C, searchData: O } = Ne(pe), N = i([]), B = i(), L = i(), M = i(), q = i(), F = i(), G = i(), m = i(!1), g = i(!1), J = i(), Q = i("120px"), X = i({}), y = i({ layout: "prev, pager, next", count: 5, sizes: [20, 50, 200, 500, 2e3] }), D = i(), n = i({ title: null, env: null, page: null, url: null, row: null, visible: !1, appendToBody: !1 }), ce = new Oe(), ve = (t) => {
|
34
34
|
R("insert", null, t);
|
35
|
-
}, he = (t, a) => {
|
36
|
-
R("detail", t, a);
|
37
35
|
}, fe = (t, a) => {
|
36
|
+
R("detail", t, a);
|
37
|
+
}, he = (t, a) => {
|
38
38
|
R("update", t, a);
|
39
39
|
}, ye = (t, a) => {
|
40
40
|
R("copy", t, a);
|
41
41
|
}, we = (t, a) => {
|
42
42
|
R("delete", t, a);
|
43
|
-
},
|
43
|
+
}, Y = async (t) => {
|
44
44
|
let a = t.map((o) => o[r.value.key.name]);
|
45
45
|
await se.http.post(p.value.delete.route, a).then((o) => {
|
46
|
-
se.messenger.success(o.message),
|
46
|
+
se.messenger.success(o.message), A();
|
47
47
|
});
|
48
48
|
}, R = (t, a, o) => {
|
49
49
|
let s = be(t, a);
|
@@ -58,27 +58,27 @@ const et = {
|
|
58
58
|
}, _e = () => {
|
59
59
|
n.value.visible = !1, w("close");
|
60
60
|
}, xe = (t) => {
|
61
|
-
n.value.title =
|
62
|
-
},
|
61
|
+
n.value.title = W.module(t.module.type, t.module.name), n.value.env = t.module.env;
|
62
|
+
}, A = () => {
|
63
63
|
n.value.visible = !1;
|
64
|
-
let t =
|
64
|
+
let t = N.value;
|
65
65
|
w("succeed", async (a) => {
|
66
66
|
let o = a.data.set[r.value.name];
|
67
67
|
if (!o.length)
|
68
68
|
return;
|
69
|
-
await
|
69
|
+
await K();
|
70
70
|
let s = r.value.key, c = n.value.row;
|
71
71
|
if (c != null) {
|
72
72
|
let d = o.find((_) => _[s.name] == c[s.name]);
|
73
|
-
d &&
|
73
|
+
d && L.value.setCurrentRow(d);
|
74
74
|
}
|
75
75
|
if (t.length > 0)
|
76
76
|
for (let d of t) {
|
77
77
|
let _ = o.find((l) => l[s.name] == d[s.name]);
|
78
|
-
_ != null &&
|
78
|
+
_ != null && L.value.toggleRowSelection(_, !0);
|
79
79
|
}
|
80
80
|
});
|
81
|
-
},
|
81
|
+
}, Z = (t) => {
|
82
82
|
w("search", t);
|
83
83
|
}, Ce = (t) => {
|
84
84
|
w("page-change", t);
|
@@ -87,159 +87,159 @@ const et = {
|
|
87
87
|
}, ke = (t, a) => {
|
88
88
|
let o = { [a.name]: { [t.prop]: t.order != "descending" ? "asc" : "desc" } };
|
89
89
|
w("sort", o);
|
90
|
-
},
|
91
|
-
},
|
92
|
-
|
90
|
+
}, ze = (t, a, o, s, c) => {
|
91
|
+
}, Se = (t) => {
|
92
|
+
Q.value = t;
|
93
93
|
}, $e = (t, a) => {
|
94
|
-
|
94
|
+
N.value = t;
|
95
95
|
}, Ve = (t, a, o) => {
|
96
96
|
let s = t.target.children[0], c = b.dom.getWidth(s) + 16 + 14, d = a.realWidth || a.width;
|
97
97
|
o._headerTooltip = c > d;
|
98
98
|
}, We = async (t, a, o, s) => {
|
99
|
-
await
|
100
|
-
}, Z = () => {
|
101
|
-
var s, c, d;
|
102
|
-
let t = b.dom.getHeight(W.value), a = b.dom.getHeight([(s = K.value) == null ? void 0 : s.$el, (c = L.value) == null ? void 0 : c.$el, (d = O.value) == null ? void 0 : d.$el]), o = t - a;
|
103
|
-
G.value = `${o}px`;
|
99
|
+
await V.page.setColumnWidth(p.value.paging.route, r.value.name, o.property, t);
|
104
100
|
}, ee = () => {
|
105
|
-
|
101
|
+
var s, c, d;
|
102
|
+
let t = b.dom.getHeight(B.value), a = b.dom.getHeight([(s = M.value) == null ? void 0 : s.$el, (c = q.value) == null ? void 0 : c.$el, (d = F.value) == null ? void 0 : d.$el]), o = t - a;
|
103
|
+
J.value = `${o}px`;
|
104
|
+
}, te = () => {
|
105
|
+
let t = D.value;
|
106
106
|
t <= 690 ? y.value.count = 5 : y.value.count = 7, t <= 300 ? y.value.layout = "pager" : t <= 620 ? y.value.layout = "prev, pager, next" : y.value.layout = "sizes, total, prev, pager, next, jumper";
|
107
107
|
}, Be = (t, a) => {
|
108
|
-
|
108
|
+
P.module.invokeKeyboard(G.value, t, a);
|
109
109
|
}, De = (t) => {
|
110
|
-
|
110
|
+
P.module.invokeSocket(q.value, t);
|
111
111
|
}, Ue = (t) => {
|
112
|
-
|
113
|
-
|
112
|
+
P.module.invokeResize(M.value, t), D.value = b.dom.getWidth(B.value), te(), K(() => {
|
113
|
+
ee();
|
114
114
|
});
|
115
115
|
};
|
116
|
-
|
117
|
-
await ce.openAsync("sys", "page",
|
116
|
+
Le(async () => {
|
117
|
+
await ce.openAsync("sys", "page", X.value), D.value = b.dom.getWidth(B.value), te(), await K(), ee();
|
118
118
|
});
|
119
|
-
let Te =
|
119
|
+
let Te = ne(() => {
|
120
120
|
let a = Object.keys(u.value.orderBys)[0], o = u.value.orderBys[a];
|
121
121
|
return { prop: a, order: o ? "ascending" : "descending" };
|
122
|
-
}), He =
|
122
|
+
}), He = ne(() => {
|
123
123
|
let t = `/${r.value.name}/paging-row`;
|
124
|
-
return
|
124
|
+
return V.component.getComponent(t, "partial", "paging-row");
|
125
125
|
});
|
126
|
-
return ue({
|
126
|
+
return ue({ keyboard: Be, socket: De, resize: Ue }), (t, a) => {
|
127
127
|
const o = k("el-table-column"), s = k("el-tooltip"), c = k("el-table"), d = k("el-pagination"), _ = k("el-drawer");
|
128
|
-
return
|
128
|
+
return f(), T("div", {
|
129
129
|
ref_key: "pagingRef",
|
130
|
-
ref:
|
130
|
+
ref: B,
|
131
131
|
class: "paging-table"
|
132
132
|
}, [
|
133
|
-
v(
|
133
|
+
v(Fe, {
|
134
134
|
ref_key: "searchRef",
|
135
|
-
ref:
|
136
|
-
schema: e(
|
135
|
+
ref: M,
|
136
|
+
schema: e(E),
|
137
137
|
table: e(r),
|
138
138
|
layout: e(u),
|
139
|
-
"search-data": e(
|
140
|
-
onSubmit: e(
|
139
|
+
"search-data": e(O),
|
140
|
+
onSubmit: e(Z)
|
141
141
|
}, null, 8, ["schema", "table", "layout", "search-data", "onSubmit"]),
|
142
|
-
v(
|
142
|
+
v(Qe, {
|
143
143
|
ref_key: "headerRef",
|
144
|
-
ref:
|
144
|
+
ref: q,
|
145
145
|
url: e(me),
|
146
146
|
win: e(ge),
|
147
|
-
module: e(
|
148
|
-
schema: e(
|
147
|
+
module: e(j),
|
148
|
+
schema: e(E),
|
149
149
|
table: e(r),
|
150
150
|
layout: e(u),
|
151
151
|
set: e(C),
|
152
152
|
next: e(p),
|
153
|
-
selection: e(
|
154
|
-
"search-data": e(
|
153
|
+
selection: e(N),
|
154
|
+
"search-data": e(O),
|
155
155
|
onAdd: e(ve),
|
156
|
-
onRemove: e(
|
156
|
+
onRemove: e(Y),
|
157
157
|
onShowImport: a[0] || (a[0] = (l) => x(m) ? m.value = !0 : m = !0),
|
158
158
|
onShowExport: a[1] || (a[1] = (l) => x(g) ? g.value = !0 : g = !0),
|
159
|
-
onSearch: e(
|
159
|
+
onSearch: e(Z)
|
160
160
|
}, null, 8, ["url", "win", "module", "schema", "table", "layout", "set", "next", "selection", "search-data", "onAdd", "onRemove", "onSearch"]),
|
161
161
|
v(c, {
|
162
162
|
ref_key: "tableRef",
|
163
|
-
ref:
|
164
|
-
class:
|
163
|
+
ref: L,
|
164
|
+
class: Me([{ "hide-nav": e(V).app.hideNav }, "table-default table-paging"]),
|
165
165
|
size: "small",
|
166
166
|
border: "",
|
167
167
|
"highlight-current-row": "",
|
168
|
-
"max-height": e(
|
168
|
+
"max-height": e(J),
|
169
169
|
data: e(C)[e(r).name],
|
170
170
|
"default-sort": e(Te),
|
171
171
|
onSelectionChange: a[2] || (a[2] = (l) => e($e)(l, e(r))),
|
172
172
|
onSortChange: a[3] || (a[3] = (l) => e(ke)(l, e(r))),
|
173
173
|
onHeaderDragend: e(We)
|
174
174
|
}, {
|
175
|
-
empty:
|
176
|
-
|
175
|
+
empty: h(() => [
|
176
|
+
re(z(e(W).t("common.no_data")), 1)
|
177
177
|
]),
|
178
|
-
default:
|
178
|
+
default: h(() => [
|
179
179
|
v(o, {
|
180
180
|
type: "selection",
|
181
181
|
width: "30"
|
182
182
|
}),
|
183
|
-
(
|
184
|
-
var
|
185
|
-
return
|
183
|
+
(f(!0), T(qe, null, Ae(e(r).show, (l, at) => {
|
184
|
+
var ae, le, oe;
|
185
|
+
return f(), S(o, {
|
186
186
|
sortable: e(r) ? "custom" : !1,
|
187
187
|
prop: l.name,
|
188
188
|
"sort-orders": ["descending", "ascending"],
|
189
189
|
fixed: e(u).fixed.indexOf(l.name) > -1,
|
190
|
-
"min-width": ((
|
190
|
+
"min-width": ((oe = (le = (ae = e(X)) == null ? void 0 : ae[e(p).paging.route]) == null ? void 0 : le[e(r).name]) == null ? void 0 : oe[l.name]) ?? l.control.width,
|
191
191
|
label: `${l.label}${l.control.prefix || l.suffix ? "(" + (l.control.prefix || l.suffix) + ")" : ""}`,
|
192
192
|
key: `${e(r).name}.${l.name}`
|
193
193
|
}, {
|
194
|
-
header:
|
195
|
-
l.control.required && l.control.editable ? (
|
194
|
+
header: h((U) => [
|
195
|
+
l.control.required && l.control.editable ? (f(), T("i", Xe)) : $("", !0),
|
196
196
|
v(s, {
|
197
197
|
placement: "top",
|
198
198
|
content: l.label,
|
199
199
|
disabled: !l._headerTooltip
|
200
200
|
}, {
|
201
|
-
default:
|
202
|
-
|
203
|
-
onMouseenter: (
|
201
|
+
default: h(() => [
|
202
|
+
H("span", {
|
203
|
+
onMouseenter: (I) => e(Ve)(I, U.column, l)
|
204
204
|
}, [
|
205
|
-
|
206
|
-
], 40,
|
205
|
+
H("span", null, z(e(W).field(e(r).name, l.name)), 1)
|
206
|
+
], 40, Ye)
|
207
207
|
]),
|
208
208
|
_: 2
|
209
209
|
}, 1032, ["content", "disabled"])
|
210
210
|
]),
|
211
|
-
default:
|
212
|
-
v(
|
213
|
-
schema: e(
|
211
|
+
default: h((U) => [
|
212
|
+
v(Ke, {
|
213
|
+
schema: e(E),
|
214
214
|
table: e(r),
|
215
215
|
field: l,
|
216
216
|
set: e(C),
|
217
|
-
row:
|
218
|
-
config: e(
|
219
|
-
onChange: (
|
217
|
+
row: U.row,
|
218
|
+
config: e(V).control.getConfig(l, e(j).type, e(u).type),
|
219
|
+
onChange: (I) => e(ze)(I, e(r), l, e(C), U.row)
|
220
220
|
}, null, 8, ["schema", "table", "field", "set", "row", "config", "onChange"])
|
221
221
|
]),
|
222
222
|
_: 2
|
223
223
|
}, 1032, ["sortable", "prop", "fixed", "min-width", "label"]);
|
224
224
|
}), 128)),
|
225
225
|
v(o, {
|
226
|
-
label: e(
|
226
|
+
label: e(W).t("common.operation"),
|
227
227
|
fixed: "right",
|
228
228
|
"show-overflow-tooltip": "",
|
229
|
-
"min-width": e(
|
229
|
+
"min-width": e(Q)
|
230
230
|
}, {
|
231
|
-
default:
|
232
|
-
(
|
231
|
+
default: h((l) => [
|
232
|
+
(f(), S(Ie(e(He)), {
|
233
233
|
table: e(r),
|
234
234
|
next: e(p),
|
235
235
|
set: e(C),
|
236
236
|
row: l.row,
|
237
|
-
onPreview: e(
|
238
|
-
onEdit: e(
|
237
|
+
onPreview: e(fe),
|
238
|
+
onEdit: e(he),
|
239
239
|
onCopy: e(ye),
|
240
240
|
onBeforeRemove: e(we),
|
241
|
-
onRemove: e(
|
242
|
-
onChangeWidth: e(
|
241
|
+
onRemove: e(Y),
|
242
|
+
onChangeWidth: e(Se)
|
243
243
|
}, null, 40, ["table", "next", "set", "row", "onPreview", "onEdit", "onCopy", "onBeforeRemove", "onRemove", "onChangeWidth"]))
|
244
244
|
]),
|
245
245
|
_: 1
|
@@ -247,12 +247,12 @@ const et = {
|
|
247
247
|
]),
|
248
248
|
_: 1
|
249
249
|
}, 8, ["class", "max-height", "data", "default-sort", "onHeaderDragend"]),
|
250
|
-
v(e(
|
250
|
+
v(e(Pe), {
|
251
251
|
ref_key: "footerRef",
|
252
|
-
ref:
|
252
|
+
ref: F,
|
253
253
|
class: "list-toolbar"
|
254
254
|
}, {
|
255
|
-
default:
|
255
|
+
default: h(() => [
|
256
256
|
v(d, {
|
257
257
|
background: "",
|
258
258
|
layout: e(y).layout,
|
@@ -268,15 +268,15 @@ const et = {
|
|
268
268
|
]),
|
269
269
|
_: 1
|
270
270
|
}, 512),
|
271
|
-
e(p).import ? (
|
271
|
+
e(p).import ? (f(), S(Ge, {
|
272
272
|
key: 0,
|
273
273
|
next: e(p),
|
274
274
|
onClose: a[5] || (a[5] = (l) => x(m) ? m.value = !1 : m = !1),
|
275
|
-
onSucceed: e(
|
275
|
+
onSucceed: e(A),
|
276
276
|
modelValue: e(m),
|
277
277
|
"onUpdate:modelValue": a[6] || (a[6] = (l) => x(m) ? m.value = l : m = l)
|
278
278
|
}, null, 8, ["next", "onSucceed", "modelValue"])) : $("", !0),
|
279
|
-
e(p).export ? (
|
279
|
+
e(p).export ? (f(), S(Je, {
|
280
280
|
key: 1,
|
281
281
|
route: e(p).export.route,
|
282
282
|
"page-count": e(b).math.pageCount(e(u).count, e(u).size),
|
@@ -284,31 +284,31 @@ const et = {
|
|
284
284
|
modelValue: e(g),
|
285
285
|
"onUpdate:modelValue": a[8] || (a[8] = (l) => x(g) ? g.value = l : g = l)
|
286
286
|
}, null, 8, ["route", "page-count", "modelValue"])) : $("", !0),
|
287
|
-
e(n).page ? (
|
287
|
+
e(n).page ? (f(), S(_, {
|
288
288
|
key: 2,
|
289
289
|
"destroy-on-close": "",
|
290
290
|
"append-to-body": e(n).appendToBody,
|
291
|
-
size: e(
|
291
|
+
size: e(V).page.getDrawerWidth(e(D)),
|
292
292
|
modelValue: e(n).visible,
|
293
293
|
"onUpdate:modelValue": a[9] || (a[9] = (l) => e(n).visible = l)
|
294
294
|
}, {
|
295
|
-
header:
|
296
|
-
|
297
|
-
|
298
|
-
e(n).env ? (
|
299
|
-
|
295
|
+
header: h(() => [
|
296
|
+
H("div", Ze, [
|
297
|
+
re(z(e(n).title) + " ", 1),
|
298
|
+
e(n).env ? (f(), T("span", et, "[" + z(e(n).env) + "]", 1)) : $("", !0),
|
299
|
+
H("a", {
|
300
300
|
class: "drawer-copy",
|
301
301
|
href: e(b).url.getToUrl(e(n).url)
|
302
|
-
},
|
302
|
+
}, z(e(W).t("common.link")), 9, tt)
|
303
303
|
])
|
304
304
|
]),
|
305
|
-
default:
|
306
|
-
v(e(
|
305
|
+
default: h(() => [
|
306
|
+
v(e(je), {
|
307
307
|
ref_key: "pageRef",
|
308
|
-
ref:
|
308
|
+
ref: G,
|
309
309
|
url: e(n).url,
|
310
310
|
onLoaded: e(xe),
|
311
|
-
onSucceed: e(
|
311
|
+
onSucceed: e(A),
|
312
312
|
onClose: e(_e)
|
313
313
|
}, null, 8, ["url", "onLoaded", "onSucceed", "onClose"])
|
314
314
|
]),
|
@@ -319,5 +319,5 @@ const et = {
|
|
319
319
|
}
|
320
320
|
});
|
321
321
|
export {
|
322
|
-
|
322
|
+
ht as default
|
323
323
|
};
|
@@ -5,7 +5,7 @@ import "./assets/file-saver-CwlpTZSc.js";
|
|
5
5
|
import "./assets/clone-BZn0cTAu.js";
|
6
6
|
import "./assets/underscore.string-DVXD2SZo.js";
|
7
7
|
import "./assets/moment-h96o7c8I.js";
|
8
|
-
import { I as w } from "./main-
|
8
|
+
import { I as w } from "./main-GSKw_Blq.js";
|
9
9
|
const z = /* @__PURE__ */ x({
|
10
10
|
__name: "Text",
|
11
11
|
props: /* @__PURE__ */ p({
|