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
package/dist/Custom-D-E5y5Vg.js
DELETED
@@ -1,55 +0,0 @@
|
|
1
|
-
import { defineComponent as L, toRefs as S, ref as u, openBlock as a, createBlock as s, KeepAlive as b, resolveDynamicComponent as z, unref as l } from "vue";
|
2
|
-
import { R as r, U as B } from "./main-BJRpvr2g.js";
|
3
|
-
import "./assets/liquidjs-BfOWWjtJ.js";
|
4
|
-
import "./assets/underscore-B0BCaBxV.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import "./assets/clone-BZn0cTAu.js";
|
7
|
-
import "./assets/underscore.string-DVXD2SZo.js";
|
8
|
-
import "./assets/moment-h96o7c8I.js";
|
9
|
-
const G = /* @__PURE__ */ L({
|
10
|
-
__name: "Custom",
|
11
|
-
props: {
|
12
|
-
view: {},
|
13
|
-
url: {},
|
14
|
-
win: {}
|
15
|
-
},
|
16
|
-
emits: ["loaded", "navigate"],
|
17
|
-
setup(m, { expose: d, emit: p }) {
|
18
|
-
let i = p, c = m, { url: n, win: f, view: v } = S(c), t = u(), g = u({}), R = (e) => {
|
19
|
-
r.module.triggerClose(t.value, e);
|
20
|
-
}, h = (e) => {
|
21
|
-
r.module.triggerResize(t.value, e);
|
22
|
-
}, w = (e) => !0, C = (e) => !0, _ = () => {
|
23
|
-
r.module.triggerRefresh(t.value);
|
24
|
-
}, x = (e, o) => {
|
25
|
-
r.module.triggerKeyboard(t.value, e, o);
|
26
|
-
}, k = (e) => {
|
27
|
-
r.module.triggerSocket(t.value, e);
|
28
|
-
}, y = (e) => {
|
29
|
-
if (e == null)
|
30
|
-
return;
|
31
|
-
let o = g.value;
|
32
|
-
if (o[n.value] != null) {
|
33
|
-
t.value = o[n.value];
|
34
|
-
return;
|
35
|
-
}
|
36
|
-
B.dictionary.containsValue(o, e) || (o[n.value] = e, t.value = e);
|
37
|
-
}, U = (e) => {
|
38
|
-
i("loaded", e);
|
39
|
-
}, K = (e) => {
|
40
|
-
i("navigate", e);
|
41
|
-
};
|
42
|
-
return d({ shouldLoad: w, shouldSpin: C, onRefresh: _, onClose: R, onKeyboard: x, onResize: h, onSocket: k }), (e, o) => (a(), s(b, null, [
|
43
|
-
(a(), s(z(l(v)), {
|
44
|
-
ref: l(y),
|
45
|
-
url: l(n),
|
46
|
-
win: l(f),
|
47
|
-
onLoaded: l(U),
|
48
|
-
onNavigate: l(K)
|
49
|
-
}, null, 40, ["url", "win", "onLoaded", "onNavigate"]))
|
50
|
-
], 1024));
|
51
|
-
}
|
52
|
-
});
|
53
|
-
export {
|
54
|
-
G as default
|
55
|
-
};
|
package/dist/Index-BQmAD1mw.js
DELETED
package/dist/Index-Ceu5HCjk.js
DELETED
package/dist/Index-Ddz9mcly.js
DELETED
package/dist/Index-DhShUw_y.js
DELETED
@@ -1,47 +0,0 @@
|
|
1
|
-
import { defineComponent as g, mergeModels as x, toRefs as S, useModel as M, ref as d, onMounted as _, computed as c, watch as f, openBlock as w, createBlock as R, unref as r, normalizeStyle as b, isRef as k } 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 { f as B } from "./main-BJRpvr2g.js";
|
9
|
-
const D = /* @__PURE__ */ g({
|
10
|
-
__name: "RichText",
|
11
|
-
props: /* @__PURE__ */ x({
|
12
|
-
schema: {},
|
13
|
-
table: {},
|
14
|
-
field: {},
|
15
|
-
set: {},
|
16
|
-
row: {}
|
17
|
-
}, {
|
18
|
-
modelValue: {},
|
19
|
-
modelModifiers: {}
|
20
|
-
}),
|
21
|
-
emits: ["update:modelValue"],
|
22
|
-
setup(n) {
|
23
|
-
let v = n, { field: e, table: h, set: C, row: i } = S(v), u = M(n, "modelValue"), t = d({ readonly: !1, scrollTop: 0 }), s = d(), y = (l) => {
|
24
|
-
a.value != null && (i.value[a.value.name] = l.scrollTop);
|
25
|
-
}, T = () => e.value.control.height ? `height: ${e.value.control.height}px` : "min-height: 300px;", V = () => {
|
26
|
-
t.value.readonly = e.value.control.readonly, t.value.scrollTop = m.value, s.value = T();
|
27
|
-
};
|
28
|
-
_(() => {
|
29
|
-
V();
|
30
|
-
});
|
31
|
-
let m = c(() => a.value ? i.value[a.value.name] : null), a = c(() => e.value.control.scrollTop ? h.value.fields.find((o) => o.name == e.value.control.scrollTop) : null);
|
32
|
-
return f(() => m.value, (l, o) => {
|
33
|
-
t.value.scrollTop = l;
|
34
|
-
}), f(() => e.value.control.readonly, (l, o) => {
|
35
|
-
t.value.readonly = l;
|
36
|
-
}), (l, o) => (w(), R(r(B), {
|
37
|
-
style: b(r(s)),
|
38
|
-
options: r(t),
|
39
|
-
onScroll: r(y),
|
40
|
-
modelValue: r(u),
|
41
|
-
"onUpdate:modelValue": o[0] || (o[0] = (p) => k(u) ? u.value = p : u = p)
|
42
|
-
}, null, 8, ["style", "options", "onScroll", "modelValue"]));
|
43
|
-
}
|
44
|
-
});
|
45
|
-
export {
|
46
|
-
D as default
|
47
|
-
};
|
package/dist/Table-1R7b4wsF.js
DELETED
@@ -1,247 +0,0 @@
|
|
1
|
-
import { defineComponent as Ce, defineAsyncComponent as Re, toRefs as ke, ref as c, onMounted as Se, computed as K, watch as $e, resolveComponent as b, openBlock as v, createElementBlock as F, Fragment as Q, createVNode as R, unref as e, withCtx as h, createTextVNode as Fe, toDisplayString as B, createBlock as z, createCommentVNode as D, renderList as ze, createElementVNode as C, normalizeStyle as De, resolveDynamicComponent as He, nextTick as X } from "vue";
|
2
|
-
import { U as m, c as Ie, I as Y, h as Z, m as T, s as qe, q as Be, F as U } from "./main-BJRpvr2g.js";
|
3
|
-
import "./assets/liquidjs-BfOWWjtJ.js";
|
4
|
-
import "./assets/underscore-B0BCaBxV.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import "./assets/clone-BZn0cTAu.js";
|
7
|
-
import "./assets/underscore.string-DVXD2SZo.js";
|
8
|
-
import "./assets/moment-h96o7c8I.js";
|
9
|
-
const Te = {
|
10
|
-
key: 0,
|
11
|
-
class: "required"
|
12
|
-
}, Ue = ["onMouseenter"], We = { class: "footer-left" }, Ae = { class: "footer-right" }, Je = /* @__PURE__ */ Ce({
|
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(ee, { expose: te, emit: le }) {
|
28
|
-
let ae = Re(() => import("./Index-Ddz9mcly.js")), H = le, oe = ee, { schema: W, table: l, layout: d, set: s, next: Ee, route: A, module: k, validateErrors: E } = ke(oe), w = c({ page: 1 }), M = c({}), p = c([]), ne = c(!0), S = c(), N = c(), V = c(), O = c(), g = c({ layout: "prev, pager, next", count: 5 }), re = new qe(), ue = (t, a, n) => {
|
29
|
-
H("row-edit", t, l.value, n);
|
30
|
-
}, ie = (t) => {
|
31
|
-
H("submit", t);
|
32
|
-
}, se = (t, a) => {
|
33
|
-
let n = l.value.show[a];
|
34
|
-
return n._headerWidth ? (t.column.realWidth || t.column.width) > n._headerWidth + 20 : !0;
|
35
|
-
}, me = (t, a) => {
|
36
|
-
let n = t.target.children[0].offsetWidth, u = l.value.show[a];
|
37
|
-
u._headerWidth = n;
|
38
|
-
}, de = (t, a, n, u, o) => {
|
39
|
-
H("change", t, a, n, u, o);
|
40
|
-
}, j = (t) => s.value[l.value.name].indexOf(t), pe = (t) => {
|
41
|
-
p.value = t;
|
42
|
-
}, ce = async (t, a, n, u, o) => {
|
43
|
-
await Be.setColumnWidth(A.value, o.name, n.property, t);
|
44
|
-
}, fe = (t) => {
|
45
|
-
L(t.contentRect.width), X(() => {
|
46
|
-
P(t.contentRect.height);
|
47
|
-
});
|
48
|
-
}, L = (t = null) => {
|
49
|
-
let a = m.dom.parentUntil(S.value.$el, ".ha-main-form");
|
50
|
-
t == null && (t = m.dom.getWidth(a)), t <= 690 ? g.value.count = 5 : g.value.count = 7, t <= 300 ? g.value.layout = "pager" : t <= 620 ? g.value.layout = "prev, pager, next" : g.value.layout = "total, prev, pager, next, jumper";
|
51
|
-
}, P = (t = null) => {
|
52
|
-
let a = m.dom.parentUntil(S.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
|
-
}, ve = async () => {
|
57
|
-
let t = s.value[l.value.name].length, a = T.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
|
-
I(t);
|
65
|
-
let u = m.scroll.isBottom(".tree-detail");
|
66
|
-
await X(() => {
|
67
|
-
u && m.scroll.scrollToBottom(".tree-detail");
|
68
|
-
});
|
69
|
-
}, he = async (t = null) => {
|
70
|
-
let a = p.value[0], n = T.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
|
-
I(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
|
-
I(n);
|
90
|
-
}, ye = () => {
|
91
|
-
m.array.remove(s.value[l.value.name], p.value), p.value = [];
|
92
|
-
}, I = (t) => {
|
93
|
-
let a = m.math.pageCount(t + 1, d.value.size);
|
94
|
-
w.value.page = a;
|
95
|
-
}, we = (t) => {
|
96
|
-
w.value.page = t;
|
97
|
-
}, _e = () => {
|
98
|
-
S.value.$el.querySelector("tbody");
|
99
|
-
};
|
100
|
-
Se(async () => {
|
101
|
-
await re.openAsync("sys", "page", M.value), _e(), L(), m.component.detectLoaded(V, () => {
|
102
|
-
P();
|
103
|
-
});
|
104
|
-
});
|
105
|
-
let xe = K(() => {
|
106
|
-
let t = (w.value.page - 1) * d.value.size, a = w.value.page * d.value.size - 1;
|
107
|
-
return s.value[l.value.name].filter((u, o) => o >= t && o <= a);
|
108
|
-
}), be = K(() => {
|
109
|
-
let t = l.value.main ? `/${l.value.name}` : `/${W.value[0].name}/${l.value.name}`;
|
110
|
-
return Ie.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 && (w.value.page = Math.ceil((n.index + 1) / d.value.size));
|
115
|
-
}), te({ onResize: fe }), (t, a) => {
|
116
|
-
const n = b("el-table-column"), u = b("el-tooltip"), o = b("el-popover"), i = b("el-form-item"), f = b("el-table"), G = b("el-pagination");
|
117
|
-
return v(), F(Q, null, [
|
118
|
-
R(f, {
|
119
|
-
ref_key: "tableRef",
|
120
|
-
ref: S,
|
121
|
-
class: "ha-table-layout table-default",
|
122
|
-
size: "small",
|
123
|
-
border: "",
|
124
|
-
"max-height": e(O),
|
125
|
-
data: e(xe),
|
126
|
-
onRowClick: a[0] || (a[0] = (r, y, _) => e(ue)(r, y, _)),
|
127
|
-
onSelectionChange: e(pe),
|
128
|
-
onHeaderDragend: a[1] || (a[1] = (r, y, _, $) => e(ce)(r, y, _, $, e(l)))
|
129
|
-
}, {
|
130
|
-
empty: h(() => [
|
131
|
-
Fe(B(e(Y).t("common.no_data")), 1)
|
132
|
-
]),
|
133
|
-
default: h(() => [
|
134
|
-
e(ne) ? (v(), z(n, {
|
135
|
-
key: 0,
|
136
|
-
type: "selection",
|
137
|
-
width: "40",
|
138
|
-
fixed: ""
|
139
|
-
})) : D("", !0),
|
140
|
-
(v(!0), F(Q, null, ze(e(l).show, (r, y) => {
|
141
|
-
var _, $, J;
|
142
|
-
return v(), z(n, {
|
143
|
-
key: r.name,
|
144
|
-
"show-overflow-tooltip": "",
|
145
|
-
prop: r.name,
|
146
|
-
label: r.label,
|
147
|
-
"min-width": ((J = ($ = (_ = e(M)) == null ? void 0 : _[e(A)]) == null ? void 0 : $[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: h((x) => [
|
151
|
-
e(k).type != "Detail" && r.control.required ? (v(), F("i", Te, "*")) : D("", !0),
|
152
|
-
R(u, {
|
153
|
-
placement: "top",
|
154
|
-
content: r.label,
|
155
|
-
disabled: e(se)(x, y)
|
156
|
-
}, {
|
157
|
-
default: h(() => [
|
158
|
-
C("span", {
|
159
|
-
onMouseenter: (q) => e(me)(q, y)
|
160
|
-
}, [
|
161
|
-
C("span", null, B(e(Y).field(e(l).table, r.name)), 1)
|
162
|
-
], 40, Ue)
|
163
|
-
]),
|
164
|
-
_: 2
|
165
|
-
}, 1032, ["content", "disabled"]),
|
166
|
-
r.control.tooltip ? (v(), z(o, {
|
167
|
-
key: 1,
|
168
|
-
trigger: "hover",
|
169
|
-
placement: "top",
|
170
|
-
width: "auto",
|
171
|
-
title: r.control.tooltip.title
|
172
|
-
}, {
|
173
|
-
reference: h(() => a[2] || (a[2] = [
|
174
|
-
C("i", { class: "fa fa-question-circle icon-question" }, null, -1)
|
175
|
-
])),
|
176
|
-
default: h(() => [
|
177
|
-
C("pre", null, B(r.control.tooltip.content), 1)
|
178
|
-
]),
|
179
|
-
_: 2
|
180
|
-
}, 1032, ["title"])) : D("", !0)
|
181
|
-
]),
|
182
|
-
default: h((x) => [
|
183
|
-
R(i, {
|
184
|
-
style: De(e(Z).getStyle(r, e(k).type, e(d).type)),
|
185
|
-
rules: e(T).getRules(e(E), e(l), r, x.$index),
|
186
|
-
prop: `[${e(l).name}][${e(j)(x.row)}][${r.name}]`
|
187
|
-
}, {
|
188
|
-
default: h(() => [
|
189
|
-
R(e(ae), {
|
190
|
-
schema: e(W),
|
191
|
-
table: e(l),
|
192
|
-
field: r,
|
193
|
-
set: e(s),
|
194
|
-
row: x.row,
|
195
|
-
config: e(Z).getConfig(r, e(k).type, e(d).type),
|
196
|
-
onSubmit: e(ie),
|
197
|
-
onChange: (q) => e(de)(q, e(s), e(l), r, e(j)(x.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 ? D("", !0) : (v(), F("div", {
|
210
|
-
key: 0,
|
211
|
-
ref_key: "footerRef",
|
212
|
-
ref: N,
|
213
|
-
class: "table-footer"
|
214
|
-
}, [
|
215
|
-
C("div", We, [
|
216
|
-
(v(), z(He(e(be)), {
|
217
|
-
ref_key: "operationRef",
|
218
|
-
ref: V,
|
219
|
-
module: e(k),
|
220
|
-
table: e(l),
|
221
|
-
set: e(s),
|
222
|
-
selection: e(p),
|
223
|
-
onAdd: e(ve),
|
224
|
-
onInsert: e(he),
|
225
|
-
onCopy: e(ge),
|
226
|
-
onRemove: e(ye)
|
227
|
-
}, null, 40, ["module", "table", "set", "selection", "onAdd", "onInsert", "onCopy", "onRemove"]))
|
228
|
-
]),
|
229
|
-
C("div", Ae, [
|
230
|
-
R(G, {
|
231
|
-
background: "",
|
232
|
-
layout: e(g).layout,
|
233
|
-
"current-page": e(w).page,
|
234
|
-
"page-size": e(d).size,
|
235
|
-
"pager-count": e(g).count,
|
236
|
-
total: e(s)[e(l).name].length,
|
237
|
-
onCurrentChange: e(we)
|
238
|
-
}, null, 8, ["layout", "current-page", "page-size", "pager-count", "total", "onCurrentChange"])
|
239
|
-
])
|
240
|
-
], 512))
|
241
|
-
], 64);
|
242
|
-
};
|
243
|
-
}
|
244
|
-
});
|
245
|
-
export {
|
246
|
-
Je as default
|
247
|
-
};
|
package/dist/Text-CA8i8QjK.js
DELETED
package/dist/Upload-Dui004Aq.js
DELETED
@@ -1,150 +0,0 @@
|
|
1
|
-
import { defineComponent as Q, toRefs as X, ref as p, onMounted as Y, computed as k, watch as Z, resolveComponent as I, openBlock as R, createElementBlock as T, normalizeClass as ee, unref as a, createVNode as A, withCtx as U, createBlock as le, createTextVNode as te, toDisplayString as ae, isRef as oe, createElementVNode as re } from "vue";
|
2
|
-
import { I as ne, R as j, i as ie, D as g, U as u, h as B, S as F, u as C, j as ue } from "./main-BJRpvr2g.js";
|
3
|
-
import "./assets/liquidjs-BfOWWjtJ.js";
|
4
|
-
import "./assets/underscore-B0BCaBxV.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import "./assets/clone-BZn0cTAu.js";
|
7
|
-
import "./assets/underscore.string-DVXD2SZo.js";
|
8
|
-
import "./assets/moment-h96o7c8I.js";
|
9
|
-
const se = {
|
10
|
-
key: 0,
|
11
|
-
class: "fa fa-upload"
|
12
|
-
}, de = ["src"], _e = /* @__PURE__ */ Q({
|
13
|
-
__name: "Upload",
|
14
|
-
props: {
|
15
|
-
schema: {},
|
16
|
-
table: {},
|
17
|
-
field: {},
|
18
|
-
set: {},
|
19
|
-
row: {},
|
20
|
-
modelValue: {}
|
21
|
-
},
|
22
|
-
emits: ["submit", "change", "update:modelValue"],
|
23
|
-
setup($, { emit: z }) {
|
24
|
-
let h = z, D = $, { table: d, field: n, row: y, set: pe, modelValue: E } = X(D), m = p(!1), P = p({}), c = p([]), S = p(), L = p(), f = !0, b = p({ action: "", data: null }), O = (e) => {
|
25
|
-
let l = ue.getUploadToken();
|
26
|
-
e.forEach((o) => {
|
27
|
-
let t = `${F.setting.upload.address}/api/objects/download?slug=${o[0]}&token=${l}`;
|
28
|
-
c.value.push({ name: o[1], url: t });
|
29
|
-
});
|
30
|
-
}, q = async (e) => {
|
31
|
-
f = !1;
|
32
|
-
let l = `/upload?table=${d.value.name}&field=${n.value.name}`;
|
33
|
-
b.value.action = j.setting.api.url + l;
|
34
|
-
let o = new ie();
|
35
|
-
o.path = l, o.method = "POST", await g.http.prepareAsync(o);
|
36
|
-
let t = o.getHeader("Authorization");
|
37
|
-
return P.value.Authorization = t, n.value.control.fileType == "Image" ? e.type.indexOf("image") == 0 ? Promise.resolve() : (g.messenger.error("请上传正确的图片文件"), Promise.reject()) : Promise.resolve();
|
38
|
-
}, H = (e, l) => {
|
39
|
-
f = !1;
|
40
|
-
let t = [e.name.replace(j.setting.api.url, "")];
|
41
|
-
return g.http.post("/upload/delete", { files: t }).then(({ data: r }) => {
|
42
|
-
let i = l.indexOf(e), _ = u.array.removeIndex(s.value, i, ",");
|
43
|
-
if (h("update:modelValue", _), n.value.control.name) {
|
44
|
-
let v = d.value.fields.find((x) => x.name == n.value.control.name), V = B.getValue(r.value, i, d.value, v), w = u.array.removeIndex(V, i, ",");
|
45
|
-
B.setValue(w, r.value, d.value, i, v);
|
46
|
-
}
|
47
|
-
return Promise.resolve();
|
48
|
-
}).catch(() => Promise.reject());
|
49
|
-
}, M = (e) => {
|
50
|
-
m.value = !0, S.value = e.url;
|
51
|
-
}, W = (e, l, o) => {
|
52
|
-
}, G = (e, l) => {
|
53
|
-
g.http.handleResponseBody(e).then((o) => {
|
54
|
-
let { name: t, url: r } = o.data[0];
|
55
|
-
F.setting.upload.method == "box" || u.file.isImage(r) || (l.url = C.getFileIcon(r));
|
56
|
-
let _ = u.array.split(s.value, ",", r).join(",");
|
57
|
-
if (s.value = _, n.value.control.name) {
|
58
|
-
let v = d.value.fields.find((x) => x.name == n.value.control.name), V = y.value[v.value], w = u.array.split(V, ",", t);
|
59
|
-
y.value[v.value] = w.join(",");
|
60
|
-
}
|
61
|
-
}).catch(() => {
|
62
|
-
c.value = [];
|
63
|
-
}).finally(() => {
|
64
|
-
f = !0;
|
65
|
-
});
|
66
|
-
}, N = () => {
|
67
|
-
if (c.value = [], !s.value)
|
68
|
-
return;
|
69
|
-
let e = u.array.split(s.value, ","), l = [];
|
70
|
-
if (n.value.control.name) {
|
71
|
-
let t = d.value.fields.find((i) => i.name == n.value.control.name), r = y.value[t.name];
|
72
|
-
l = u.array.split(r, ",");
|
73
|
-
}
|
74
|
-
let o = u.array.combine(e, l);
|
75
|
-
if (F.setting.upload.method == "box")
|
76
|
-
O(o);
|
77
|
-
else {
|
78
|
-
let t = u.url.isWebUrl(s.value) ? s.value : j.setting.api.url + s.value, r = { name: t, url: null };
|
79
|
-
u.file.isImage(t) ? r.url = t : r.url = C.getFileIcon(t), c.value.push(r);
|
80
|
-
}
|
81
|
-
};
|
82
|
-
Y(() => {
|
83
|
-
N();
|
84
|
-
});
|
85
|
-
let s = k({
|
86
|
-
get() {
|
87
|
-
return E.value;
|
88
|
-
},
|
89
|
-
set(e) {
|
90
|
-
h("update:modelValue", e), h("change", e);
|
91
|
-
}
|
92
|
-
}), J = k(() => n.value.control.preview ? "picture-card" : null), K = k(() => K);
|
93
|
-
return Z(() => s.value, (e, l) => {
|
94
|
-
f && N();
|
95
|
-
}), (e, l) => {
|
96
|
-
const o = I("el-button"), t = I("el-upload"), r = I("el-dialog");
|
97
|
-
return R(), T("div", {
|
98
|
-
class: ee(a(n).control.preview ? "control-file-preview" : "control-file")
|
99
|
-
}, [
|
100
|
-
A(t, {
|
101
|
-
ref_key: "uploadRef",
|
102
|
-
ref: L,
|
103
|
-
"list-type": a(J),
|
104
|
-
action: a(b).action,
|
105
|
-
headers: a(P),
|
106
|
-
data: a(b).data,
|
107
|
-
"file-list": a(c),
|
108
|
-
"before-upload": a(q),
|
109
|
-
"before-remove": a(H),
|
110
|
-
"on-preview": a(M),
|
111
|
-
"on-success": a(G),
|
112
|
-
"on-progress": a(W),
|
113
|
-
disabled: a(n).readonly
|
114
|
-
}, {
|
115
|
-
default: U(() => [
|
116
|
-
a(n).control.preview ? (R(), T("i", se)) : (R(), le(o, {
|
117
|
-
key: 1,
|
118
|
-
icon: "el-icon-upload",
|
119
|
-
type: "primary"
|
120
|
-
}, {
|
121
|
-
default: U(() => [
|
122
|
-
te(ae(a(ne).t("common.click_upload")), 1)
|
123
|
-
]),
|
124
|
-
_: 1
|
125
|
-
}))
|
126
|
-
]),
|
127
|
-
_: 1
|
128
|
-
}, 8, ["list-type", "action", "headers", "data", "file-list", "before-upload", "before-remove", "on-preview", "on-success", "on-progress", "disabled"]),
|
129
|
-
A(r, {
|
130
|
-
draggable: "",
|
131
|
-
"append-to-body": "",
|
132
|
-
modelValue: a(m),
|
133
|
-
"onUpdate:modelValue": l[0] || (l[0] = (i) => oe(m) ? m.value = i : m = i)
|
134
|
-
}, {
|
135
|
-
default: U(() => [
|
136
|
-
re("img", {
|
137
|
-
width: "100%",
|
138
|
-
src: a(S),
|
139
|
-
alt: ""
|
140
|
-
}, null, 8, de)
|
141
|
-
]),
|
142
|
-
_: 1
|
143
|
-
}, 8, ["modelValue"])
|
144
|
-
], 2);
|
145
|
-
};
|
146
|
-
}
|
147
|
-
});
|
148
|
-
export {
|
149
|
-
_e as default
|
150
|
-
};
|