halo-pc 1.0.23 → 1.0.26
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-4S7jNdlM.js → Article-BNacU3kR.js} +67 -73
- package/dist/{ArticleFooter-DQs1A7g2.js → ArticleFooter-Ya07aLYn.js} +17 -23
- package/dist/Autocomplete-Bud53PPx.js +48 -0
- package/dist/Autocomplete-CfE5ZKi2.js +49 -0
- package/dist/{Autocomplete-BXwtzACg.js → Autocomplete-CyXE-g54.js} +1 -1
- package/dist/{CSharp-aXdVWxPS.js → CSharp-DQLgcbTQ.js} +1 -1
- package/dist/{Calender-DSckLCh-.js → Calender-YujFxcgS.js} +4 -4
- package/dist/Callback-BaFg5U2u.js +20 -0
- package/dist/Cascader-C1kyNib7.js +41 -0
- package/dist/Cascader-D5PO9zK9.js +81 -0
- package/dist/Checkbox-CUtyT8l7.js +70 -0
- package/dist/{Checkbox-DtNMPsX4.js → Checkbox-Dkqh7eR4.js} +1 -1
- package/dist/Code-C160-nQS.js +54 -0
- package/dist/Code-DXkJ6x5_.js +4 -0
- package/dist/{Code-B2jpV8ek.js → Code-Dszcah6J.js} +1 -1
- package/dist/Code-pe9JMCAj.js +36 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-B1dEEN-z.js +59 -0
- package/dist/Column-C3j98RGT.js +69 -0
- package/dist/Comment-DIrY0RiI.js +98 -0
- package/dist/Compare-5j7MYou6.js +38 -0
- package/dist/{Compare-DMDVEK_Q.js → Compare-DKLN4wT4.js} +18 -24
- package/dist/Copy-Go_1uhB5.js +43 -0
- package/dist/Custom-C00oYEFm.js +51 -0
- package/dist/{DataExport-CU9MMI6C.js → DataExport-CFjE1loi.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-DdczhsmD.js → DataExport.vue_vue_type_script_setup_true_lang-yTe6V3Dn.js} +36 -41
- package/dist/{DataImport-Dzq9P4hO.js → DataImport-BQ0rieu8.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-BdDLixcQ.js → DataImport.vue_vue_type_script_setup_true_lang-LYppKTfv.js} +58 -62
- package/dist/{Date-BD5syhZL.js → Date-C5WCVXDU.js} +1 -1
- package/dist/Date-uHiOL-PD.js +37 -0
- package/dist/DateRange-B-HjKQpJ.js +57 -0
- package/dist/{DateTime-hLc--zka.js → DateTime-BrsWm90_.js} +1 -1
- package/dist/DateTime-D4Ck5hBj.js +38 -0
- package/dist/{DateTimeRange-CSRaF4s1.js → DateTimeRange-DjIp1SAX.js} +11 -17
- package/dist/Daterange-DiZUFL_F.js +57 -0
- package/dist/{Decimal-DY34o2Nh.js → Decimal-_6FobwTd.js} +1 -1
- package/dist/Delete-C46eSfMC.js +56 -0
- package/dist/{Detail-BYlDGKVP.js → Detail-BMbiENm0.js} +16 -21
- package/dist/Dictionary-Dga6kbof.js +55 -0
- package/dist/Email-PVk9gqfn.js +48 -0
- package/dist/{File-czipSVR0.js → File-B9Q2QOa-.js} +29 -34
- package/dist/Image-CzOq81lm.js +9 -0
- package/dist/{Index-CK25oTiA.js → Index-BmVFh23J.js} +1 -1
- package/dist/Index-CfDvQD94.js +4 -0
- package/dist/Index-Cq20wsZC.js +173 -0
- package/dist/Index-DGiRkT-p.js +4 -0
- package/dist/{Index-DIUPLGQ4.js → Index-DJz-eVVd.js} +20 -25
- package/dist/{Index-BSZ_tPMy.js → Index-DvfJmbPU.js} +1 -1
- package/dist/Index-DyK_nYp9.js +4 -0
- package/dist/Index-z5MnS_Wq.js +4 -0
- package/dist/{Index.vue_vue_type_script_setup_true_lang-Bp4JjtSz.js → Index.vue_vue_type_script_setup_true_lang-BpU5b5wU.js} +16 -21
- package/dist/{Index.vue_vue_type_script_setup_true_lang-DtZPmPAC.js → Index.vue_vue_type_script_setup_true_lang-ExArYWR3.js} +15 -20
- package/dist/{Install-qFVqjd7y.js → Install-CXj-qqao.js} +22 -27
- package/dist/Int-BG6MD24t.js +38 -0
- package/dist/Int-Dc7h_7Ga.js +41 -0
- package/dist/List-EDwPH8aL.js +73 -0
- package/dist/Maintaince-BqvMHxH0.js +14 -0
- package/dist/{Markdown-DymmFy2X.js → Markdown-CdP4Uf3M.js} +1 -1
- package/dist/Month-8mDUGsOp.js +37 -0
- package/dist/{Month-C5_ANmVr.js → Month-BUvqsSfA.js} +1 -1
- package/dist/Month-ClGd6IhI.js +38 -0
- package/dist/Normal-DUlWYlcs.js +254 -0
- package/dist/Paging-D_ticCtb.js +94 -0
- package/dist/{PagingHeader-BhwoSfFl.js → PagingHeader-aZb0fGRv.js} +24 -30
- package/dist/{PagingRow-BF6pUhoJ.js → PagingRow-_H7tCWDM.js} +20 -26
- package/dist/QueryApi-S0e3c6l0.js +13 -0
- package/dist/{Racebar-BNPXg9aN.js → Racebar-DESsxoi9.js} +42 -47
- package/dist/{Radio-wHwEjg6V.js → Radio-ChF3_bX0.js} +1 -1
- package/dist/{Register-B4Bc8s-2.js → Register-Du5lRabU.js} +66 -71
- package/dist/RichText-BJVvArGS.js +41 -0
- package/dist/{SearchFooter-zNYx9YkN.js → SearchFooter-HjKH1gD5.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-CVxX9q-U.js → SearchFooter.vue_vue_type_style_index_0_lang-CeQ2BcOI.js} +1 -1
- package/dist/{SearchForm-CJ3ru63a.js → SearchForm-C-o0Orkp.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-DDH5N323.js → SearchForm.vue_vue_type_style_index_0_lang-BijR_gZY.js} +40 -45
- package/dist/{Select-DFLY8nGY.js → Select-CYaWHcWs.js} +20 -26
- package/dist/{Select-WXibWkE0.js → Select-DgKzH1gD.js} +30 -36
- package/dist/{Select-BDaDhqW7.js → Select-DrybbaWb.js} +1 -1
- package/dist/{Single-CmQgQl_u.js → Single-B-253IzX.js} +112 -118
- package/dist/{Statistic-BuU_GxqZ.js → Statistic-B7Tib1eh.js} +36 -43
- package/dist/{Stock-CDJ-AVw-.js → Stock-BBcnzi6G.js} +1 -1
- package/dist/{Stock-B7NgfM19.js → Stock-DuyZiPxv.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-pZYnIJLp.js → Stock.vue_vue_type_style_index_0_lang-B6E5USSu.js} +28 -33
- package/dist/{Switch-DHf-0HZD.js → Switch-DP-_EUOK.js} +1 -1
- package/dist/{Table-7P4KXMsy.js → Table-2jZ0ISz7.js} +117 -124
- package/dist/{Table-CN-KYO1R.js → Table-hHG9kq1I.js} +79 -83
- package/dist/Text-C70dFJLS.js +4 -0
- package/dist/Text-RsldE1sr.js +52 -0
- package/dist/Text-lak-4VnA.js +53 -0
- package/dist/Text.vue_vue_type_style_index_0_lang-BP6k7KJG.js +53 -0
- package/dist/TextLink-C-NU-oVe.js +59 -0
- package/dist/{Textarea-B91EwIdj.js → Textarea-QGa_EKSl.js} +1 -1
- package/dist/Time-BgWPjGd1.js +37 -0
- package/dist/Timeline-CBWcOVdY.js +53 -0
- package/dist/Tree--dJKRJvG.js +117 -0
- package/dist/{Tree-DxJKaqc6.js → Tree-B2fZE9Qf.js} +108 -113
- package/dist/TreeNode-CxTzNQo9.js +37 -0
- package/dist/{Update-D5cXmHyf.js → Update-BqQGp_9h.js} +13 -18
- package/dist/{UpdateChild-DvrF1nBA.js → UpdateChild-DejVqKrE.js} +17 -23
- package/dist/{Upload-CRpCHz3m.js → Upload-9z5VIixQ.js} +58 -62
- package/dist/Upload-tlSQp2Qu.js +67 -0
- package/dist/UploadApi-B2dxOS0T.js +13 -0
- package/dist/{Year-CwaPwkLN.js → Year-CrN8Fl5U.js} +1 -1
- package/dist/Year-DNDyqe5X.js +41 -0
- package/dist/main-D3_7YhaK.js +15700 -0
- package/dist/main.js +130 -129
- package/dist/style.css +1 -1
- package/esm/@types/CreatePcOptions.d.ts +15 -0
- package/esm/@types/index.d.ts +2 -0
- package/esm/coms/business/@types/CrudProps.d.ts +22 -0
- package/esm/coms/business/@types/DrawerProps.d.ts +14 -0
- package/esm/coms/business/@types/DriverProps.d.ts +63 -0
- package/esm/coms/business/@types/FormProps.d.ts +18 -0
- package/esm/coms/business/@types/index.d.ts +5 -0
- package/esm/coms/business/Crud.vue.d.ts +1 -1
- package/esm/coms/business/Drawer.vue.d.ts +1 -1
- package/esm/coms/business/Driver.vue.d.ts +1 -1
- package/esm/coms/business/Form.vue.d.ts +1 -1
- package/esm/coms/business/index.d.ts +1 -1
- package/esm/coms/commons/@types/TableProps.d.ts +22 -0
- package/esm/coms/commons/@types/index.d.ts +2 -0
- package/esm/coms/commons/Table.vue.d.ts +1 -1
- package/esm/coms/commons/index.d.ts +1 -1
- package/esm/coms/controls/@types/ControlProps.d.ts +26 -0
- package/esm/coms/controls/@types/index.d.ts +2 -0
- package/esm/coms/controls/Autocomplete.vue.d.ts +1 -1
- package/esm/coms/controls/Cascader.vue.d.ts +1 -1
- package/esm/coms/controls/Checkbox.vue.d.ts +1 -1
- package/esm/coms/controls/Code.vue.d.ts +1 -1
- package/esm/coms/controls/Color.vue.d.ts +1 -1
- package/esm/coms/controls/Compare.vue.d.ts +1 -1
- package/esm/coms/controls/Date.vue.d.ts +1 -1
- package/esm/coms/controls/DateRange.vue.d.ts +1 -1
- package/esm/coms/controls/DateTime.vue.d.ts +1 -1
- package/esm/coms/controls/DateTimeRange.vue.d.ts +1 -1
- package/esm/coms/controls/Decimal.vue.d.ts +1 -1
- package/esm/coms/controls/Email.vue.d.ts +1 -1
- package/esm/coms/controls/Index.vue.d.ts +1 -1
- package/esm/coms/controls/Int.vue.d.ts +1 -1
- package/esm/coms/controls/Markdown.vue.d.ts +1 -1
- package/esm/coms/controls/Month.vue.d.ts +1 -1
- package/esm/coms/controls/Password.vue.d.ts +1 -1
- package/esm/coms/controls/Progress.vue.d.ts +1 -1
- package/esm/coms/controls/Radio.vue.d.ts +1 -1
- package/esm/coms/controls/Rate.vue.d.ts +1 -1
- package/esm/coms/controls/RichText.vue.d.ts +1 -1
- package/esm/coms/controls/Select.vue.d.ts +1 -1
- package/esm/coms/controls/Switch.vue.d.ts +1 -1
- package/esm/coms/controls/Text.vue.d.ts +1 -1
- package/esm/coms/controls/Textarea.vue.d.ts +1 -1
- package/esm/coms/controls/Time.vue.d.ts +1 -1
- package/esm/coms/controls/Upload.vue.d.ts +1 -1
- package/esm/coms/controls/Year.vue.d.ts +1 -1
- package/esm/coms/controls/index.d.ts +3 -1
- package/esm/coms/globals/@types/WindowOptions.d.ts +38 -0
- package/esm/coms/globals/@types/WindowProps.d.ts +27 -0
- package/esm/coms/globals/@types/index.d.ts +3 -0
- package/esm/coms/globals/Window.vue.d.ts +1 -1
- package/esm/coms/globals/index.d.ts +1 -1
- package/esm/coms/headers/Index.vue.d.ts +21 -2
- package/esm/coms/layouts/@types/ITaskBar.d.ts +6 -0
- package/esm/coms/layouts/@types/index.d.ts +2 -0
- package/esm/coms/layouts/index.d.ts +1 -1
- package/esm/coms/lists/@types/ListProps.d.ts +15 -0
- package/esm/coms/lists/@types/index.d.ts +2 -0
- package/esm/coms/lists/Racebar.vue.d.ts +1 -1
- package/esm/coms/lists/Statistic.vue.d.ts +1 -1
- package/esm/coms/lists/Stock.vue.d.ts +1 -1
- package/esm/coms/lists/Timeline.vue.d.ts +1 -1
- package/esm/coms/lists/Tree.vue.d.ts +1 -1
- package/esm/coms/lists/index.d.ts +1 -1
- package/esm/coms/pages/@types/ColumnPageProps.d.ts +11 -0
- package/esm/coms/pages/@types/CustomPageProps.d.ts +11 -0
- package/esm/coms/pages/@types/DeletePageProps.d.ts +15 -0
- package/esm/coms/pages/@types/KeyboardType.d.ts +8 -0
- package/esm/coms/pages/@types/ListPageProps.d.ts +15 -0
- package/esm/coms/pages/@types/PageEmit.d.ts +22 -0
- package/esm/coms/pages/@types/PageProps.d.ts +14 -0
- package/esm/coms/pages/@types/PagingPageProps.d.ts +15 -0
- package/esm/coms/pages/@types/SchemaProps.d.ts +30 -0
- package/esm/coms/pages/@types/SinglePageProps.d.ts +15 -0
- package/esm/coms/pages/@types/index.d.ts +11 -0
- package/esm/coms/pages/Column.vue.d.ts +1 -1
- package/esm/coms/pages/Custom.vue.d.ts +1 -1
- package/esm/coms/pages/Delete.vue.d.ts +1 -1
- package/esm/coms/pages/List.vue.d.ts +1 -1
- package/esm/coms/pages/Paging.vue.d.ts +1 -1
- package/esm/coms/pages/Single.vue.d.ts +1 -1
- package/esm/coms/pages/index.d.ts +1 -1
- package/esm/coms/pagings/@types/PagingProps.d.ts +11 -0
- package/esm/coms/pagings/@types/index.d.ts +2 -0
- package/esm/coms/pagings/Article.vue.d.ts +1 -1
- package/esm/coms/pagings/Code.vue.d.ts +1 -1
- package/esm/coms/pagings/File.vue.d.ts +1 -1
- package/esm/coms/pagings/Index.vue.d.ts +1 -1
- package/esm/coms/pagings/Table.vue.d.ts +1 -1
- package/esm/coms/pagings/index.d.ts +1 -1
- package/esm/coms/panels/@types/OperationProps.d.ts +10 -0
- package/esm/coms/panels/@types/index.d.ts +2 -0
- package/esm/coms/panels/Operation.vue.d.ts +1 -1
- package/esm/coms/panels/index.d.ts +1 -1
- package/esm/coms/partials/@types/ArticleFooterEmit.d.ts +26 -0
- package/esm/coms/partials/@types/DetailEmit.d.ts +18 -0
- package/esm/coms/partials/@types/DetailProps.d.ts +22 -0
- package/esm/coms/partials/@types/PagingHeaderEmit.d.ts +34 -0
- package/esm/coms/partials/@types/PagingHeaderProps.d.ts +30 -0
- package/esm/coms/partials/@types/PagingRowEmit.d.ts +26 -0
- package/esm/coms/partials/@types/PagingRowProps.d.ts +22 -0
- package/esm/coms/partials/@types/TreeNodeProps.d.ts +22 -0
- package/esm/coms/partials/@types/UpdateChildEmit.d.ts +22 -0
- package/esm/coms/partials/@types/UpdateChildProps.d.ts +22 -0
- package/esm/coms/partials/@types/UpdateEmit.d.ts +14 -0
- package/esm/coms/partials/@types/UpdateProps.d.ts +22 -0
- package/esm/coms/partials/@types/index.d.ts +13 -0
- package/esm/coms/partials/ArticleFooter.vue.d.ts +1 -1
- package/esm/coms/partials/Detail.vue.d.ts +1 -1
- package/esm/coms/partials/PagingHeader.vue.d.ts +1 -1
- package/esm/coms/partials/PagingRow.vue.d.ts +1 -1
- package/esm/coms/partials/TreeNode.vue.d.ts +1 -1
- package/esm/coms/partials/Update.vue.d.ts +1 -1
- package/esm/coms/partials/UpdateChild.vue.d.ts +1 -1
- package/esm/coms/partials/index.d.ts +1 -1
- package/esm/coms/searches/@types/SearchProps.d.ts +10 -0
- package/esm/coms/searches/@types/index.d.ts +2 -0
- package/esm/coms/searches/Autocomplete.vue.d.ts +1 -1
- package/esm/coms/searches/Daterange.vue.d.ts +1 -1
- package/esm/coms/searches/Index.vue.d.ts +1 -1
- package/esm/coms/searches/Int.vue.d.ts +1 -1
- package/esm/coms/searches/Month.vue.d.ts +1 -1
- package/esm/coms/searches/Select.vue.d.ts +1 -1
- package/esm/coms/searches/Text.vue.d.ts +1 -1
- package/esm/coms/searches/index.d.ts +1 -1
- package/esm/coms/singles/@types/SingleProps.d.ts +15 -0
- package/esm/coms/singles/@types/index.d.ts +2 -0
- package/esm/coms/singles/Code.vue.d.ts +1 -1
- package/esm/coms/singles/Comment.vue.d.ts +1 -1
- package/esm/coms/singles/Index.vue.d.ts +1 -1
- package/esm/coms/singles/Normal.vue.d.ts +1 -1
- package/esm/coms/singles/Statistic.vue.d.ts +1 -1
- package/esm/coms/singles/Stock.vue.d.ts +1 -1
- package/esm/coms/singles/Table.vue.d.ts +1 -1
- package/esm/coms/singles/Tree.vue.d.ts +1 -1
- package/esm/coms/singles/index.d.ts +1 -1
- package/esm/coms/texts/Autocomplete.vue.d.ts +1 -1
- package/esm/coms/texts/CSharp.vue.d.ts +1 -1
- package/esm/coms/texts/Cascader.vue.d.ts +1 -1
- package/esm/coms/texts/Checkbox.vue.d.ts +1 -1
- package/esm/coms/texts/Code.vue.d.ts +1 -1
- package/esm/coms/texts/Color.vue.d.ts +1 -1
- package/esm/coms/texts/Compare.vue.d.ts +1 -1
- package/esm/coms/texts/Copy.vue.d.ts +1 -1
- package/esm/coms/texts/Date.vue.d.ts +1 -1
- package/esm/coms/texts/DateRange.vue.d.ts +1 -1
- package/esm/coms/texts/DateTime.vue.d.ts +1 -1
- package/esm/coms/texts/Decimal.vue.d.ts +1 -1
- package/esm/coms/texts/Dictionary.vue.d.ts +1 -1
- package/esm/coms/texts/Email.vue.d.ts +1 -1
- package/esm/coms/texts/Index.vue.d.ts +1 -1
- package/esm/coms/texts/Int.vue.d.ts +1 -1
- package/esm/coms/texts/Markdown.vue.d.ts +1 -1
- package/esm/coms/texts/Month.vue.d.ts +1 -1
- package/esm/coms/texts/Password.vue.d.ts +1 -1
- package/esm/coms/texts/Progress.vue.d.ts +1 -1
- package/esm/coms/texts/Radio.vue.d.ts +1 -1
- package/esm/coms/texts/Rate.vue.d.ts +1 -1
- package/esm/coms/texts/RichText.vue.d.ts +1 -1
- package/esm/coms/texts/Select.vue.d.ts +1 -1
- package/esm/coms/texts/Switch.vue.d.ts +1 -1
- package/esm/coms/texts/Text.vue.d.ts +1 -1
- package/esm/coms/texts/TextLink.vue.d.ts +1 -1
- package/esm/coms/texts/Textarea.vue.d.ts +1 -1
- package/esm/coms/texts/Upload.vue.d.ts +1 -1
- package/esm/coms/texts/Year.vue.d.ts +1 -1
- package/esm/main.d.ts +2 -2
- package/esm/svcs/AppSvc.d.ts +4 -36
- package/esm/svcs/ControlSvc.d.ts +8 -8
- package/esm/svcs/PageSvc.d.ts +0 -12
- package/esm/svcs/StandardSvc.d.ts +13 -3
- package/esm/svcs/index.d.ts +1 -6
- package/package.json +2 -2
- package/dist/Autocomplete-B9SJNrNq.js +0 -53
- package/dist/Autocomplete-BZNDoWFj.js +0 -54
- package/dist/Callback-xlj8oj2-.js +0 -26
- package/dist/Cascader-Cwi5mukb.js +0 -87
- package/dist/Cascader-D1RbjsMs.js +0 -47
- package/dist/Checkbox-DFnVivE9.js +0 -76
- package/dist/Code-CEafFSlR.js +0 -4
- package/dist/Code-CTmcyEEu.js +0 -60
- package/dist/Code-DEOvcbgy.js +0 -42
- package/dist/Code.vue_vue_type_style_index_0_lang-Cf1QzL0C.js +0 -65
- package/dist/Column-zAYqqGgI.js +0 -74
- package/dist/Comment-BZTVtxyP.js +0 -104
- package/dist/Compare-Dy_YDKN2.js +0 -43
- package/dist/Copy-KA_-9J5g.js +0 -49
- package/dist/Custom-BpQzSpoK.js +0 -57
- package/dist/Date-yqT5zILQ.js +0 -43
- package/dist/DateRange-CUQsaLxD.js +0 -63
- package/dist/DateTime-DcerQByM.js +0 -44
- package/dist/Daterange-DY2i3jwP.js +0 -63
- package/dist/Delete-CXnvlNw9.js +0 -62
- package/dist/Dictionary-DtXqTf_k.js +0 -59
- package/dist/Email-ofMPw09E.js +0 -54
- package/dist/Image-BwJO-IEo.js +0 -9
- package/dist/Index-Bwy9Q7qy.js +0 -4
- package/dist/Index-Ch5_Jqsf.js +0 -4
- package/dist/Index-DnNVMYOZ.js +0 -4
- package/dist/Index-j9BffBys.js +0 -178
- package/dist/Index-qOyfJhdG.js +0 -4
- package/dist/Index.vue_vue_type_style_index_0_lang-CTTyswoD.js +0 -122
- package/dist/Int-BWcRpPzt.js +0 -44
- package/dist/Int-BYyavcrM.js +0 -46
- package/dist/List-BejoBArm.js +0 -79
- package/dist/Maintaince-Dlh2ICnO.js +0 -20
- package/dist/Month-Cf8e0cin.js +0 -43
- package/dist/Month-DaYaF2WK.js +0 -44
- package/dist/Normal-NYkjZ2aA.js +0 -257
- package/dist/Paging-DoQ_cXwj.js +0 -99
- package/dist/QueryApi-CPQ67lb4.js +0 -20
- package/dist/RichText-Cj5QP79L.js +0 -47
- package/dist/Text-C05EoDxO.js +0 -59
- package/dist/Text-Da3ROjFC.js +0 -58
- package/dist/Text-DqapEwUL.js +0 -4
- package/dist/Text.vue_vue_type_style_index_0_lang-DKX9_aI4.js +0 -59
- package/dist/TextLink-CQ_46bry.js +0 -65
- package/dist/Time-DxyveGcA.js +0 -43
- package/dist/Timeline-C1xOEcU4.js +0 -59
- package/dist/Tree-BK6p6Ake.js +0 -122
- package/dist/TreeNode-C84IoqkK.js +0 -42
- package/dist/Upload-CK-ALAKV.js +0 -72
- package/dist/UploadApi-B-7WPVHD.js +0 -20
- package/dist/Year-BOL9ynRU.js +0 -47
- package/dist/assets/@intlify-BISCQg1h.js +0 -2189
- package/dist/assets/@vue-aVYGocXp.js +0 -93
- package/dist/assets/clone-BZn0cTAu.js +0 -134
- package/dist/assets/file-saver-CwlpTZSc.js +0 -74
- package/dist/assets/liquidjs-C-LVcoaY.js +0 -2893
- package/dist/assets/moment-h96o7c8I.js +0 -2578
- package/dist/assets/sprintf-js-BPTdvBYM.js +0 -148
- package/dist/assets/underscore-B0BCaBxV.js +0 -1070
- package/dist/assets/underscore.string-DVXD2SZo.js +0 -425
- package/dist/assets/util-deprecate-Dzun97re.js +0 -28
- package/dist/assets/vue-i18n-CLr3brPz.js +0 -1670
- package/dist/main-CnPQ_RYM.js +0 -8948
@@ -0,0 +1,117 @@
|
|
1
|
+
import { defineComponent as Q, toRefs as U, ref as m, onMounted as X, watch as Y, nextTick as K, resolveComponent as N, openBlock as k, createElementBlock as w, unref as d, Fragment as L, renderList as B, createBlock as M, withCtx as b, createVNode as Z, createElementVNode as ee, toDisplayString as T, createCommentVNode as F } from "vue";
|
2
|
+
import { R as le, u as _, O, s as P } from "./main-D3_7YhaK.js";
|
3
|
+
const te = { class: "option-text" }, ae = {
|
4
|
+
key: 0,
|
5
|
+
class: "option-suffix"
|
6
|
+
}, de = /* @__PURE__ */ Q({
|
7
|
+
__name: "Tree",
|
8
|
+
props: {
|
9
|
+
route: {},
|
10
|
+
validateErrors: {},
|
11
|
+
module: {},
|
12
|
+
schema: {},
|
13
|
+
table: {},
|
14
|
+
layout: {},
|
15
|
+
next: {},
|
16
|
+
set: {}
|
17
|
+
},
|
18
|
+
setup(S, { expose: $ }) {
|
19
|
+
let z = S, { module: D, schema: ne, table: s, layout: l, set: f } = U(z), E = m(), V = m([]), x = m(), y = m(0), g = m([]), R = m(!0), W = (e, n, o) => {
|
20
|
+
let a = f.value[s.value.name].find((r) => r.PermissionId == e[l.value.id]);
|
21
|
+
a && (a[l.value.expand] = !0);
|
22
|
+
}, j = (e, n, o) => {
|
23
|
+
let a = f.value[s.value.name].find((r) => r.PermissionId == e[l.value.id]);
|
24
|
+
a && (a[l.value.expand] = !1);
|
25
|
+
}, q = (e, n, o) => {
|
26
|
+
let a = n.checkedKeys, r = e[l.value.id], i = _.contains(a, r), c = [], u = [], h = O.getChildren(e, "Children").map((t) => t[l.value.id]), p = f.value[s.value.name].map((t) => t[l.value.checked]), v = _.intersect(h, p);
|
27
|
+
if (i) {
|
28
|
+
c.push(e[l.value.id]);
|
29
|
+
let t = _.except(h, v);
|
30
|
+
t.length && (a.push(...t), c.push(...t));
|
31
|
+
} else
|
32
|
+
u.push(r), v.length == h.length && (u.push(...h), _.remove(a, h));
|
33
|
+
c.length && A(c), u.length && G(u);
|
34
|
+
}, A = (e) => {
|
35
|
+
for (let n = 0; n < e.length; n++) {
|
36
|
+
let o = P.getDefaultRow(s.value);
|
37
|
+
o[l.value.checked] = e[n], f.value[s.value.name].push(o);
|
38
|
+
}
|
39
|
+
}, G = (e) => {
|
40
|
+
let n = f.value[s.value.name];
|
41
|
+
for (let o = 0; o < e.length; o++) {
|
42
|
+
let a = n.find((r) => r[l.value.checked] == e[o]);
|
43
|
+
_.remove(n, a);
|
44
|
+
}
|
45
|
+
}, H = (e) => {
|
46
|
+
x.value = e.contentRect.width, y.value = Math.ceil(x.value / 300), I(s.value, l.value, f.value);
|
47
|
+
}, I = (e, n, o) => {
|
48
|
+
g.value = P.getLines(n.data, y.value, (a) => [a], () => 1), K(() => {
|
49
|
+
let a = o[e.name].map((i) => i[n.checked]), r = 0;
|
50
|
+
for (let i = 0; i < g.value.length; i++) {
|
51
|
+
let c = g.value[i];
|
52
|
+
for (let u = 0; u < c.length; u++) {
|
53
|
+
let C = V.value[r], h = c[u].data, p = O.getFlat(h, "Children").map((t) => t[n.id]), v = _.intersect(p, a);
|
54
|
+
if (!(v.length == 1 && p.length > 1)) for (let t = 0; t < v.length; t++) {
|
55
|
+
let J = v[t];
|
56
|
+
C.setChecked(J, !0, !1);
|
57
|
+
}
|
58
|
+
r++;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
});
|
62
|
+
};
|
63
|
+
return X(() => {
|
64
|
+
x.value = le.getWidth(E.value), y.value = Math.ceil(x.value / 300), I(s.value, l.value, f.value);
|
65
|
+
}), Y(() => s.value, (e, n) => {
|
66
|
+
R.value = !1, K(() => {
|
67
|
+
R.value = !0, I(e, l.value, f.value);
|
68
|
+
});
|
69
|
+
}), $({ resize: H }), (e, n) => {
|
70
|
+
const o = N("el-tree"), a = N("el-col"), r = N("el-row");
|
71
|
+
return k(), w("div", {
|
72
|
+
ref_key: "layoutRef",
|
73
|
+
ref: E,
|
74
|
+
class: "ha-tree-layout"
|
75
|
+
}, [
|
76
|
+
d(R) ? (k(!0), w(L, { key: 0 }, B(d(g), (i, c) => (k(), M(r, null, {
|
77
|
+
default: b(() => [
|
78
|
+
(k(!0), w(L, null, B(i, ({ data: u, span: C, index: h }, p) => (k(), M(a, {
|
79
|
+
span: C,
|
80
|
+
key: `${c}.${p}`
|
81
|
+
}, {
|
82
|
+
default: b(() => [
|
83
|
+
Z(o, {
|
84
|
+
ref_for: !0,
|
85
|
+
ref_key: "treeRefs",
|
86
|
+
ref: V,
|
87
|
+
"show-checkbox": "",
|
88
|
+
"highlight-current": "",
|
89
|
+
"default-expand-all": !1,
|
90
|
+
"expand-on-click-node": !1,
|
91
|
+
"node-key": d(l).id,
|
92
|
+
data: u,
|
93
|
+
props: { children: "Children", label: d(l).text },
|
94
|
+
disabled: d(D).type == "Detail",
|
95
|
+
onNodeExpand: d(W),
|
96
|
+
onNodeCollapse: d(j),
|
97
|
+
onCheck: (v, t) => d(q)(v, t, h)
|
98
|
+
}, {
|
99
|
+
default: b(({ node: v, data: t }) => [
|
100
|
+
ee("div", te, T(t[d(l).text]), 1),
|
101
|
+
d(l).suffix ? (k(), w("div", ae, T(t[d(l).suffix]), 1)) : F("", !0)
|
102
|
+
]),
|
103
|
+
_: 2
|
104
|
+
}, 1032, ["node-key", "data", "props", "disabled", "onNodeExpand", "onNodeCollapse", "onCheck"])
|
105
|
+
]),
|
106
|
+
_: 2
|
107
|
+
}, 1032, ["span"]))), 128))
|
108
|
+
]),
|
109
|
+
_: 2
|
110
|
+
}, 1024))), 256)) : F("", !0)
|
111
|
+
], 512);
|
112
|
+
};
|
113
|
+
}
|
114
|
+
});
|
115
|
+
export {
|
116
|
+
de as default
|
117
|
+
};
|
@@ -1,19 +1,14 @@
|
|
1
|
-
import { defineComponent as xe, toRefs as
|
2
|
-
import {
|
3
|
-
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
5
|
-
import "./assets/clone-BZn0cTAu.js";
|
6
|
-
import "./assets/moment-h96o7c8I.js";
|
7
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
1
|
+
import { defineComponent as xe, toRefs as Ce, ref as v, onMounted as ge, onUnmounted as we, computed as L, watch as Ne, resolveComponent as T, openBlock as i, createBlock as C, unref as e, withCtx as f, createElementVNode as c, createElementBlock as h, createVNode as _, Fragment as Ke, renderList as Se, withDirectives as Re, resolveDynamicComponent as $e, createCommentVNode as g, createTextVNode as w, toDisplayString as k, vShow as Te, nextTick as A } from "vue";
|
2
|
+
import { a as F, c as De, k as M, A as Ie, z as Ve, B as qe, o as Y, e as p, _ as G, v as Le, O as H, T as J, u as Q, K as Ue, C as Be } from "./main-D3_7YhaK.js";
|
8
3
|
import "vue-router";
|
9
4
|
import "./assets/intro.js-DxWjEdp_.js";
|
10
|
-
const
|
5
|
+
const ze = { class: "tree-left" }, Ee = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), Oe = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), Pe = /* @__PURE__ */ c("i", { class: "fa fa-copy" }, null, -1), je = /* @__PURE__ */ c("i", { class: "fa fa-trash" }, null, -1), Ae = {
|
11
6
|
key: 2,
|
12
7
|
class: "ha-empty"
|
13
|
-
},
|
8
|
+
}, Fe = {
|
14
9
|
key: 3,
|
15
10
|
class: "tree-add"
|
16
|
-
},
|
11
|
+
}, Me = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), We = /* @__PURE__ */ xe({
|
17
12
|
__name: "Tree",
|
18
13
|
props: {
|
19
14
|
searchData: {},
|
@@ -26,131 +21,131 @@ const Ee = { class: "tree-left" }, ze = /* @__PURE__ */ c("i", { class: "fa fa-p
|
|
26
21
|
set: {}
|
27
22
|
},
|
28
23
|
emits: ["refresh", "succeed", "search", "navigate"],
|
29
|
-
setup(
|
30
|
-
let
|
24
|
+
setup(W, { expose: X, emit: Z }) {
|
25
|
+
let b = Z, ee = W, { route: N, module: U, schema: le, table: m, layout: o, next: y, set: Ye, searchData: te } = Ce(ee), K = v(), B = v(), x = v(), S = v(), z = v(), ae = v(), d = v({ type: null, name: null, url: null, visible: !1 }), R = v(), D = null, a = v({ width: 250, currentNode: null, currentKey: null, expandedKeys: [], scrollTop: 0, visible: !1 }), E = () => {
|
31
26
|
if (!K.value)
|
32
27
|
return;
|
33
28
|
let l = K.value.$el.querySelector(".is-context");
|
34
29
|
l && l.classList.remove("is-context");
|
35
|
-
},
|
36
|
-
|
30
|
+
}, oe = (l, t, r, n) => {
|
31
|
+
E(), n.vnode.el.classList.add("is-context"), a.value.currentNode = t, D.show(l);
|
37
32
|
}, $ = (l) => {
|
38
|
-
let t =
|
39
|
-
l == "sibling" ?
|
40
|
-
let n =
|
41
|
-
l == "copy" && (u += "&id=" + a.value.currentNode[
|
42
|
-
},
|
43
|
-
let l = a.value.currentNode[
|
44
|
-
|
45
|
-
|
33
|
+
let t = o.value.parentId, r = { [t]: null };
|
34
|
+
l == "sibling" ? r[t] = a.value.currentNode[t] : l == "child" && (r[t] = a.value.currentNode[o.value.id]);
|
35
|
+
let n = F.encode(r), u = `${y.value.insert.route}?default=${n}`;
|
36
|
+
l == "copy" && (u += "&id=" + a.value.currentNode[o.value.id]), d.value.url = u, d.value.visible = !0;
|
37
|
+
}, O = () => {
|
38
|
+
let l = a.value.currentNode[o.value.id], t = a.value.currentNode[o.value.text], r = p("common.confirm_delete", t);
|
39
|
+
Le.confirm(p("common.tips"), r, { type: "warning" }).then(() => {
|
40
|
+
re(l);
|
46
41
|
});
|
47
|
-
},
|
48
|
-
let t =
|
49
|
-
|
50
|
-
|
42
|
+
}, re = (l) => {
|
43
|
+
let t = o.value.id, r = o.value.data, n = H.getNextById(l, t, r, "Children");
|
44
|
+
J.post(y.value.delete.route, [l]).then(() => {
|
45
|
+
H.removeById(l, t, r, "Children");
|
51
46
|
let u = null;
|
52
|
-
n && (u = n[t], a.value.currentKey = u, a.value.expandedKeys.push(u)),
|
53
|
-
|
47
|
+
n && (u = n[t], a.value.currentKey = u, a.value.expandedKeys.push(u)), b("succeed", () => {
|
48
|
+
I(a.value.scrollTop);
|
54
49
|
});
|
55
50
|
});
|
56
51
|
}, ne = (l) => {
|
57
52
|
a.value.scrollTop = l.scrollTop;
|
58
|
-
},
|
59
|
-
a.value.visible = !1,
|
60
|
-
a.value.visible = !0,
|
53
|
+
}, I = (l = null, t = null) => {
|
54
|
+
a.value.visible = !1, A(() => {
|
55
|
+
a.value.visible = !0, A(() => {
|
61
56
|
if (l == null) {
|
62
|
-
let
|
63
|
-
|
57
|
+
let r = K.value.$el.querySelector(".el-tree-node.is-current");
|
58
|
+
r && r.scrollIntoView({ block: "center", behavior: "smooth" });
|
64
59
|
} else
|
65
60
|
S.value.setScrollTop(l);
|
66
61
|
t && t();
|
67
62
|
});
|
68
63
|
});
|
69
64
|
}, ue = () => {
|
70
|
-
d.value.visible = !1,
|
71
|
-
|
65
|
+
d.value.visible = !1, b("succeed", () => {
|
66
|
+
I(a.value.scrollTop);
|
72
67
|
});
|
73
68
|
}, se = (l) => {
|
74
69
|
d.value.type = l.module.type, d.value.name = l.module.name;
|
75
70
|
}, de = () => {
|
76
71
|
d.value.visible = !1;
|
77
|
-
}, ie = (l, t,
|
78
|
-
|
79
|
-
let n = l[
|
80
|
-
if (
|
72
|
+
}, ie = (l, t, r) => {
|
73
|
+
E();
|
74
|
+
let n = l[o.value.id];
|
75
|
+
if (Q.pushIfNotExist(a.value.expandedKeys, n), n == a.value.currentKey)
|
81
76
|
x.value.refresh();
|
82
77
|
else {
|
83
|
-
a.value.currentKey = n, R.value =
|
84
|
-
let u =
|
85
|
-
|
78
|
+
a.value.currentKey = n, R.value = V();
|
79
|
+
let u = Ue.getUrl(N.value.fullPath, { id: n });
|
80
|
+
b("navigate", u);
|
86
81
|
}
|
87
|
-
}, ce = (l, t,
|
88
|
-
|
89
|
-
}, ve = (l, t,
|
82
|
+
}, ce = (l, t, r) => {
|
83
|
+
Q.remove(a.value.expandedKeys, l[o.value.id]);
|
84
|
+
}, ve = (l, t, r, n) => {
|
90
85
|
let u = {
|
91
|
-
table:
|
92
|
-
id: l.data[
|
93
|
-
targetId: t.data[
|
94
|
-
position:
|
86
|
+
table: o.value.table,
|
87
|
+
id: l.data[o.value.id],
|
88
|
+
targetId: t.data[o.value.id],
|
89
|
+
position: r
|
95
90
|
};
|
96
|
-
|
91
|
+
J.post(o.value.operation.route, u).then((j) => {
|
97
92
|
});
|
98
93
|
}, fe = (l) => {
|
99
|
-
|
94
|
+
b("search", l);
|
100
95
|
}, me = (l) => {
|
101
96
|
}, pe = (l, t) => l ? t[m.value.text].indexOf(l) !== -1 : !0, ye = () => {
|
102
|
-
|
97
|
+
b("refresh");
|
103
98
|
}, he = (l, t) => {
|
104
99
|
if (!x.value || !x.value.keyboard)
|
105
100
|
return !1;
|
106
101
|
x.value.keyboard(l, t);
|
107
102
|
}, _e = () => {
|
108
103
|
S.value.update();
|
109
|
-
},
|
110
|
-
let l = y.value[
|
104
|
+
}, V = () => {
|
105
|
+
let l = y.value[o.value.page.toLowerCase()].route;
|
111
106
|
return a.value.currentKey && (l += "?id=" + a.value.currentKey), l;
|
112
|
-
},
|
107
|
+
}, ke = () => {
|
113
108
|
let l = N.value.query.id, t;
|
114
|
-
l == null ? t =
|
115
|
-
|
109
|
+
l == null ? t = o.value.updateKey : t = M.convert(l, P.value.type), t && (a.value.currentKey = t, a.value.expandedKeys = [t], R.value = V()), I(null, () => {
|
110
|
+
D = new Be(B.value, [S.value.$el, z.value]);
|
116
111
|
});
|
117
112
|
};
|
118
|
-
|
119
|
-
|
113
|
+
ge(() => {
|
114
|
+
ke();
|
120
115
|
}), we(() => {
|
121
|
-
|
122
|
-
}),
|
123
|
-
let l = { [
|
124
|
-
return
|
116
|
+
D.dispose();
|
117
|
+
}), L(() => {
|
118
|
+
let l = { [o.value.parentId]: N.value.query.id };
|
119
|
+
return F.encode(l);
|
125
120
|
});
|
126
|
-
let
|
121
|
+
let be = L(() => {
|
127
122
|
let l = `/${m.value.name}/tree-node`;
|
128
|
-
return
|
129
|
-
}),
|
123
|
+
return De.getComponent(l, "partial", "tree-node");
|
124
|
+
}), P = L(() => m.value.fields.find((t) => t.name == o.value.id));
|
130
125
|
return Ne(() => N.value, (l, t) => {
|
131
|
-
a.value.currentKey =
|
132
|
-
}),
|
133
|
-
const
|
134
|
-
return i(),
|
126
|
+
a.value.currentKey = M.convert(l.query.id, P.value.type), R.value = V();
|
127
|
+
}), X({ refresh: ye, keyboard: he, resize: _e }), (l, t) => {
|
128
|
+
const r = T("el-scrollbar"), n = T("el-tree"), u = T("el-button"), j = T("el-drawer");
|
129
|
+
return i(), C(e(Ie), {
|
135
130
|
class: "tree",
|
136
131
|
width: e(a).width,
|
137
132
|
onResize: t[5] || (t[5] = (s) => e(a).width = s)
|
138
133
|
}, {
|
139
134
|
left: f(() => [
|
140
|
-
c("div",
|
135
|
+
c("div", ze, [
|
141
136
|
e(m).search.length ? (i(), h("div", {
|
142
137
|
key: 0,
|
143
138
|
ref_key: "searchRef",
|
144
139
|
ref: ae,
|
145
140
|
class: "tree-search"
|
146
141
|
}, [
|
147
|
-
_(
|
142
|
+
_(r, null, {
|
148
143
|
default: f(() => [
|
149
|
-
(i(!0), h(Ke, null, Se(e(m).search, (s,
|
144
|
+
(i(!0), h(Ke, null, Se(e(m).search, (s, q) => (i(), h("div", {
|
150
145
|
class: "search-field",
|
151
|
-
key:
|
146
|
+
key: q
|
152
147
|
}, [
|
153
|
-
_(e(
|
148
|
+
_(e(Ve), {
|
154
149
|
schema: e(le),
|
155
150
|
table: e(m),
|
156
151
|
field: s,
|
@@ -162,46 +157,46 @@ const Ee = { class: "tree-left" }, ze = /* @__PURE__ */ c("i", { class: "fa fa-p
|
|
162
157
|
]),
|
163
158
|
_: 1
|
164
159
|
})
|
165
|
-
], 512)) : (i(),
|
160
|
+
], 512)) : (i(), C(e(qe), {
|
166
161
|
key: 1,
|
167
|
-
title: e(
|
162
|
+
title: e(Y)(e(U).type, e(U).name)
|
168
163
|
}, null, 8, ["title"])),
|
169
|
-
Re(_(
|
164
|
+
Re(_(r, {
|
170
165
|
ref_key: "scrollbarRef",
|
171
166
|
ref: S,
|
172
167
|
class: "tree-content",
|
173
168
|
onScroll: e(ne)
|
174
169
|
}, {
|
175
170
|
default: f(() => [
|
176
|
-
e(a).visible ? (i(),
|
171
|
+
e(a).visible ? (i(), C(n, {
|
177
172
|
key: 0,
|
178
173
|
ref_key: "treeRef",
|
179
174
|
ref: K,
|
180
175
|
"highlight-current": "",
|
181
|
-
"show-checkbox": e(
|
176
|
+
"show-checkbox": e(o).checkbox,
|
182
177
|
"expand-on-click-node": !1,
|
183
|
-
draggable: !!e(
|
184
|
-
data: e(
|
185
|
-
"node-key": e(
|
178
|
+
draggable: !!e(o).operation,
|
179
|
+
data: e(o).data,
|
180
|
+
"node-key": e(o).id,
|
186
181
|
"current-node-key": e(a).currentKey,
|
187
|
-
props: { children: "Children", label: e(
|
182
|
+
props: { children: "Children", label: e(o).text },
|
188
183
|
"filter-node-method": e(pe),
|
189
184
|
"default-expanded-keys": e(a).expandedKeys,
|
190
185
|
onNodeClick: e(ie),
|
191
|
-
onNodeContextmenu: e(
|
186
|
+
onNodeContextmenu: e(oe),
|
192
187
|
onNodeCollapse: e(ce),
|
193
188
|
onNodeDrop: e(ve)
|
194
189
|
}, {
|
195
|
-
default: f(({ node: s, data:
|
196
|
-
(i(),
|
190
|
+
default: f(({ node: s, data: q }) => [
|
191
|
+
(i(), C($e(e(be)), {
|
197
192
|
table: e(m),
|
198
|
-
layout: e(
|
199
|
-
row:
|
193
|
+
layout: e(o),
|
194
|
+
row: q,
|
200
195
|
node: s
|
201
196
|
}, null, 8, ["table", "layout", "row", "node"]))
|
202
197
|
]),
|
203
198
|
_: 1
|
204
|
-
}, 8, ["show-checkbox", "draggable", "data", "node-key", "current-node-key", "props", "filter-node-method", "default-expanded-keys", "onNodeClick", "onNodeContextmenu", "onNodeCollapse", "onNodeDrop"])) :
|
199
|
+
}, 8, ["show-checkbox", "draggable", "data", "node-key", "current-node-key", "props", "filter-node-method", "default-expanded-keys", "onNodeClick", "onNodeContextmenu", "onNodeCollapse", "onNodeDrop"])) : g("", !0),
|
205
200
|
c("ul", {
|
206
201
|
ref_key: "menuRef",
|
207
202
|
ref: B,
|
@@ -210,74 +205,74 @@ const Ee = { class: "tree-left" }, ze = /* @__PURE__ */ c("i", { class: "fa fa-p
|
|
210
205
|
c("li", {
|
211
206
|
onClick: t[0] || (t[0] = (s) => e($)("child"))
|
212
207
|
}, [
|
213
|
-
|
214
|
-
w(
|
208
|
+
Ee,
|
209
|
+
w(k(e(p)("tree.add_sub_item")), 1)
|
215
210
|
]),
|
216
211
|
c("li", {
|
217
212
|
onClick: t[1] || (t[1] = (s) => e($)("sibling"))
|
218
213
|
}, [
|
219
|
-
|
220
|
-
w(
|
214
|
+
Oe,
|
215
|
+
w(k(e(p)("tree.add_same_grade")), 1)
|
221
216
|
]),
|
222
217
|
c("li", {
|
223
218
|
onClick: t[2] || (t[2] = (s) => e($)("copy"))
|
224
219
|
}, [
|
225
|
-
|
226
|
-
w(
|
220
|
+
Pe,
|
221
|
+
w(k(e(p)("common.copy")), 1)
|
227
222
|
]),
|
228
223
|
e(y).delete ? (i(), h("li", {
|
229
224
|
key: 0,
|
230
225
|
onClick: t[3] || (t[3] = //@ts-ignore
|
231
|
-
(...s) => e(
|
226
|
+
(...s) => e(O) && e(O)(...s))
|
232
227
|
}, [
|
233
|
-
|
234
|
-
w(
|
235
|
-
])) :
|
228
|
+
je,
|
229
|
+
w(k(e(p)("common.delete")), 1)
|
230
|
+
])) : g("", !0)
|
236
231
|
], 512)
|
237
232
|
]),
|
238
233
|
_: 1
|
239
234
|
}, 8, ["onScroll"]), [
|
240
|
-
[Te, e(
|
235
|
+
[Te, e(o).data.length]
|
241
236
|
]),
|
242
|
-
e(
|
243
|
-
!e(
|
237
|
+
e(o).data.length ? g("", !0) : (i(), h("div", Ae, k(e(p)("common.no_data")), 1)),
|
238
|
+
!e(o).data.length && e(y).insert ? (i(), h("div", Fe, [
|
244
239
|
_(u, {
|
245
240
|
type: "primary",
|
246
241
|
onClick: e($)
|
247
242
|
}, {
|
248
243
|
icon: f(() => [
|
249
|
-
|
244
|
+
Me
|
250
245
|
]),
|
251
246
|
default: f(() => [
|
252
|
-
w(" " +
|
247
|
+
w(" " + k(e(y).insert.title), 1)
|
253
248
|
]),
|
254
249
|
_: 1
|
255
250
|
}, 8, ["onClick"])
|
256
|
-
])) :
|
251
|
+
])) : g("", !0)
|
257
252
|
])
|
258
253
|
]),
|
259
254
|
default: f(() => [
|
260
255
|
c("div", {
|
261
256
|
ref_key: "detailRef",
|
262
|
-
ref:
|
257
|
+
ref: z,
|
263
258
|
class: "tree-detail"
|
264
259
|
}, [
|
265
|
-
e(a).currentKey ? (i(),
|
260
|
+
e(a).currentKey ? (i(), C(e(G), {
|
266
261
|
key: 0,
|
267
262
|
ref_key: "singleRef",
|
268
263
|
ref: x,
|
269
264
|
url: e(R)
|
270
|
-
}, null, 8, ["url"])) :
|
265
|
+
}, null, 8, ["url"])) : g("", !0)
|
271
266
|
], 512),
|
272
|
-
_(
|
267
|
+
_(j, {
|
273
268
|
size: "60%",
|
274
269
|
"destroy-on-close": "",
|
275
|
-
title: e(
|
270
|
+
title: e(Y)(e(d).type, e(d).name),
|
276
271
|
modelValue: e(d).visible,
|
277
272
|
"onUpdate:modelValue": t[4] || (t[4] = (s) => e(d).visible = s)
|
278
273
|
}, {
|
279
274
|
default: f(() => [
|
280
|
-
_(e(
|
275
|
+
_(e(G), {
|
281
276
|
url: e(d).url,
|
282
277
|
onLoaded: e(se),
|
283
278
|
onSucceed: e(ue),
|
@@ -293,5 +288,5 @@ const Ee = { class: "tree-left" }, ze = /* @__PURE__ */ c("i", { class: "fa fa-p
|
|
293
288
|
}
|
294
289
|
});
|
295
290
|
export {
|
296
|
-
|
291
|
+
We as default
|
297
292
|
};
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import { defineComponent as x, toRefs as h, computed as C, openBlock as s, createElementBlock as i, unref as e, createElementVNode as N, toDisplayString as a, createTextVNode as b, createCommentVNode as d } from "vue";
|
2
|
+
import { e as y, W as g } from "./main-D3_7YhaK.js";
|
3
|
+
const k = ["title"], v = { class: "number" }, V = {
|
4
|
+
key: 0,
|
5
|
+
class: "option-suffix"
|
6
|
+
}, B = {
|
7
|
+
key: 1,
|
8
|
+
class: "count"
|
9
|
+
}, O = /* @__PURE__ */ x({
|
10
|
+
__name: "TreeNode",
|
11
|
+
props: {
|
12
|
+
table: {},
|
13
|
+
layout: {},
|
14
|
+
row: {},
|
15
|
+
node: {}
|
16
|
+
},
|
17
|
+
setup(u) {
|
18
|
+
let c = u, { table: p, layout: n, row: t, node: f } = h(c), m = (r, o) => {
|
19
|
+
let l = (r.parent.data.Children ? r.parent.data.Children.indexOf(o) : r.parent.data.indexOf(o)) + 1;
|
20
|
+
return g.padLeft(l, 2, "0");
|
21
|
+
}, _ = C(() => p.value.fields.find((l) => l.name == n.value.text).control.i18N);
|
22
|
+
return (r, o) => {
|
23
|
+
var l;
|
24
|
+
return s(), i("div", {
|
25
|
+
title: e(t)[e(n).title]
|
26
|
+
}, [
|
27
|
+
N("span", v, a(e(m)(e(f), e(t))), 1),
|
28
|
+
b(" " + a((l = e(_)) != null && l.value ? e(y)(e(t)[e(n).text]) : e(t)[e(n).text]) + " ", 1),
|
29
|
+
e(n).suffix ? (s(), i("span", V, a(e(t)[e(n).suffix]), 1)) : d("", !0),
|
30
|
+
e(t).Children && e(t).Children.length > 0 ? (s(), i("span", B, "(" + a(e(t).Children.length) + ")", 1)) : d("", !0)
|
31
|
+
], 8, k);
|
32
|
+
};
|
33
|
+
}
|
34
|
+
});
|
35
|
+
export {
|
36
|
+
O as default
|
37
|
+
};
|
@@ -1,14 +1,9 @@
|
|
1
|
-
import { defineComponent as b, toRefs as C, ref as h, resolveComponent as x, openBlock as g, createBlock as v, unref as e, withCtx as t, createVNode as
|
2
|
-
import "./
|
3
|
-
import "
|
4
|
-
import "./assets/clone-BZn0cTAu.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import "./assets/moment-h96o7c8I.js";
|
7
|
-
import { N, t as m } from "./main-CnPQ_RYM.js";
|
8
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
1
|
+
import { defineComponent as b, toRefs as C, ref as h, resolveComponent as x, openBlock as g, createBlock as v, unref as e, withCtx as t, createVNode as a, createSlots as y, createTextVNode as i, toDisplayString as r, createElementVNode as p } from "vue";
|
2
|
+
import { G as N, e as m } from "./main-D3_7YhaK.js";
|
3
|
+
import "element-plus";
|
9
4
|
import "vue-router";
|
10
5
|
import "./assets/intro.js-DxWjEdp_.js";
|
11
|
-
const V = /* @__PURE__ */ p("i", { class: "fa fa-check" }, null, -1), B = /* @__PURE__ */ p("i", { class: "fa fa-chevron-left" }, null, -1),
|
6
|
+
const V = /* @__PURE__ */ p("i", { class: "fa fa-check" }, null, -1), B = /* @__PURE__ */ p("i", { class: "fa fa-chevron-left" }, null, -1), T = /* @__PURE__ */ b({
|
12
7
|
__name: "Update",
|
13
8
|
props: {
|
14
9
|
table: {},
|
@@ -20,24 +15,24 @@ const V = /* @__PURE__ */ p("i", { class: "fa fa-check" }, null, -1), B = /* @__
|
|
20
15
|
setup(u, { expose: f, emit: _ }) {
|
21
16
|
let n = _;
|
22
17
|
C(u);
|
23
|
-
let o = h(!1),
|
24
|
-
o.value = !0, n("submit",
|
18
|
+
let o = h(!1), l = (s) => {
|
19
|
+
o.value = !0, n("submit", s, null, (k) => {
|
25
20
|
o.value = !1;
|
26
21
|
});
|
27
22
|
}, d = () => {
|
28
23
|
n("close");
|
29
24
|
};
|
30
|
-
return f({ submit:
|
25
|
+
return f({ submit: l }), (s, k) => {
|
31
26
|
const c = x("el-button");
|
32
27
|
return g(), v(e(N), { padding: 5 }, {
|
33
28
|
default: t(() => [
|
34
|
-
|
29
|
+
a(c, {
|
35
30
|
type: "primary",
|
36
31
|
loading: e(o),
|
37
|
-
onClick: e(
|
32
|
+
onClick: e(l)
|
38
33
|
}, y({
|
39
34
|
default: t(() => [
|
40
|
-
|
35
|
+
i(" " + r(e(m)("common.confirm")), 1)
|
41
36
|
]),
|
42
37
|
_: 2
|
43
38
|
}, [
|
@@ -49,12 +44,12 @@ const V = /* @__PURE__ */ p("i", { class: "fa fa-check" }, null, -1), B = /* @__
|
|
49
44
|
key: "0"
|
50
45
|
}
|
51
46
|
]), 1032, ["loading", "onClick"]),
|
52
|
-
|
47
|
+
a(c, { onClick: e(d) }, {
|
53
48
|
icon: t(() => [
|
54
49
|
B
|
55
50
|
]),
|
56
51
|
default: t(() => [
|
57
|
-
|
52
|
+
i(" " + r(e(m)("common.back")), 1)
|
58
53
|
]),
|
59
54
|
_: 1
|
60
55
|
}, 8, ["onClick"])
|
@@ -65,5 +60,5 @@ const V = /* @__PURE__ */ p("i", { class: "fa fa-check" }, null, -1), B = /* @__
|
|
65
60
|
}
|
66
61
|
});
|
67
62
|
export {
|
68
|
-
|
63
|
+
T as default
|
69
64
|
};
|