halo-pc 1.0.49 → 1.0.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/{@types/CreatePcOptions.d.ts → @type/PcOptions.d.ts} +4 -1
- package/esm/@type/index.d.ts +7 -0
- package/esm/{coms → comp}/business/@types/index.d.ts +0 -1
- package/esm/{coms → comp}/business/Drawer.vue.d.ts +3 -1
- package/esm/comp/business/Feedback.vue.d.ts +98 -0
- package/esm/{coms → comp}/business/index.d.ts +2 -3
- package/esm/{coms/commons → comp/common}/Captcha.vue.d.ts +5 -1
- package/esm/{coms/commons → comp/common}/Table.vue.d.ts +6 -3
- package/esm/comp/common/index.d.ts +4 -0
- package/esm/{coms/controls → comp/control}/Cascader.vue.d.ts +3 -1
- package/esm/{coms/controls → comp/control}/Compare.vue.d.ts +3 -1
- package/esm/{coms/controls → comp/control}/Index.vue.d.ts +3 -1
- package/esm/{coms/controls → comp/control}/RichText.vue.d.ts +1 -1
- package/esm/{coms/controls → comp/control}/Select.vue.d.ts +3 -1
- package/esm/{coms/controls → comp/control}/Upload.vue.d.ts +3 -1
- package/esm/comp/driver/Crud.vue.d.ts +766 -0
- package/esm/comp/driver/Index.vue.d.ts +1438 -0
- package/esm/comp/driver/Picker.vue.d.ts +108 -0
- package/esm/comp/driver/index.d.ts +4 -0
- package/esm/{coms/globals → comp/global}/@types/WindowOptions.d.ts +1 -1
- package/esm/comp/global/HeaderTab.vue.d.ts +17 -0
- package/esm/comp/global/Menu.vue.d.ts +336 -0
- package/esm/comp/global/MenuItem.vue.d.ts +259 -0
- package/esm/comp/global/Window.vue.d.ts +32 -0
- package/esm/comp/global/index.d.ts +7 -0
- package/esm/{coms/headers → comp/header}/@types/ChangeProps.d.ts +1 -1
- package/esm/{coms/headers → comp/header}/@types/HeaderProps.d.ts +0 -1
- package/esm/{coms/headers → comp/header}/@types/index.d.ts +0 -1
- package/esm/comp/header/HeaderRight.vue.d.ts +28 -0
- package/esm/comp/index.d.ts +12 -0
- package/esm/comp/layout/@types/DesktopDialog.d.ts +48 -0
- package/esm/comp/layout/@types/index.d.ts +2 -0
- package/esm/comp/layout/Desktop.vue.d.ts +111 -0
- package/esm/comp/layout/Index.vue.d.ts +491 -0
- package/esm/comp/layout/Side.vue.d.ts +25 -0
- package/esm/comp/layout/Top.vue.d.ts +358 -0
- package/esm/{coms/lists → comp/list}/@types/ListProps.d.ts +1 -1
- package/esm/comp/list/Racebar.vue.d.ts +39 -0
- package/esm/comp/list/Statistic.vue.d.ts +39 -0
- package/esm/{coms/lists → comp/list}/Stock.vue.d.ts +3 -1
- package/esm/{coms/lists → comp/list}/Tree.vue.d.ts +11 -4
- package/esm/{coms/pages → comp/page}/Column.vue.d.ts +1 -1
- package/esm/{coms/pages → comp/page}/Custom.vue.d.ts +5 -5
- package/esm/{coms/pages → comp/page}/List.vue.d.ts +7 -5
- package/esm/comp/page/Paging.vue.d.ts +63 -0
- package/esm/{coms/pages → comp/page}/Single.vue.d.ts +4 -4
- package/esm/{coms/pagings → comp/paging}/@types/PagingProps.d.ts +1 -1
- package/esm/{coms/pagings → comp/paging}/@types/SearchHeaderProps.d.ts +1 -1
- package/esm/comp/paging/Article.vue.d.ts +50 -0
- package/esm/{coms/pagings → comp/paging}/DataExport.vue.d.ts +3 -1
- package/esm/{coms/pagings → comp/paging}/Index.vue.d.ts +6 -4
- package/esm/{coms/pagings → comp/paging}/SearchForm.vue.d.ts +5 -2
- package/esm/{coms/pagings → comp/paging}/SearchHeader.vue.d.ts +7 -2
- package/esm/comp/paging/Table.vue.d.ts +584 -0
- package/esm/{coms/panels → comp/panel}/Operation.vue.d.ts +3 -1
- package/esm/{coms/panels → comp/panel}/Panel.vue.d.ts +1 -1
- package/esm/{coms/partials → comp/partial}/@types/PagingHeaderProps.d.ts +1 -1
- package/esm/{coms/searches → comp/search}/Select.vue.d.ts +3 -1
- package/esm/comp/single/@types/SingleEmit.d.ts +13 -0
- package/esm/{coms/singles → comp/single}/@types/SingleProps.d.ts +1 -1
- package/esm/{coms/singles → comp/single}/@types/index.d.ts +1 -0
- package/esm/{coms/singles → comp/single}/Index.vue.d.ts +4 -2
- package/esm/{coms/singles → comp/single}/Normal.vue.d.ts +5 -2
- package/esm/comp/single/Table.vue.d.ts +505 -0
- package/esm/{coms/singles → comp/single}/Tree.vue.d.ts +5 -2
- package/esm/{coms/texts → comp/text}/Autocomplete.vue.d.ts +1 -1
- package/esm/{coms/texts → comp/text}/CSharp.vue.d.ts +1 -1
- package/esm/{coms/texts → comp/text}/Cascader.vue.d.ts +1 -1
- package/esm/{coms/texts → comp/text}/Checkbox.vue.d.ts +1 -1
- package/esm/{coms/texts → comp/text}/Code.vue.d.ts +1 -1
- package/esm/{coms/texts → comp/text}/Color.vue.d.ts +1 -1
- package/esm/{coms/texts → comp/text}/Compare.vue.d.ts +1 -1
- package/esm/{coms/texts → comp/text}/Copy.vue.d.ts +1 -1
- package/esm/{coms/texts → comp/text}/Date.vue.d.ts +1 -1
- package/esm/{coms/texts → comp/text}/DateRange.vue.d.ts +1 -1
- package/esm/{coms/texts → comp/text}/DateTime.vue.d.ts +1 -1
- package/esm/{coms/texts → comp/text}/Decimal.vue.d.ts +1 -1
- package/esm/{coms/texts → comp/text}/Dictionary.vue.d.ts +1 -1
- package/esm/{coms/texts → comp/text}/Email.vue.d.ts +1 -1
- package/esm/{coms/texts → comp/text}/Index.vue.d.ts +1 -1
- package/esm/{coms/texts → comp/text}/Int.vue.d.ts +1 -1
- package/esm/{coms/texts → comp/text}/Markdown.vue.d.ts +1 -1
- package/esm/{coms/texts → comp/text}/Month.vue.d.ts +1 -1
- package/esm/{coms/texts → comp/text}/Password.vue.d.ts +1 -1
- package/esm/{coms/texts → comp/text}/Progress.vue.d.ts +1 -1
- package/esm/{coms/texts → comp/text}/Radio.vue.d.ts +1 -1
- package/esm/comp/text/Rate.vue.d.ts +14 -0
- package/esm/{coms/texts → comp/text}/RichText.vue.d.ts +1 -1
- package/esm/{coms/texts → comp/text}/Select.vue.d.ts +1 -1
- package/esm/{coms/texts → comp/text}/Switch.vue.d.ts +1 -1
- package/esm/{coms/texts → comp/text}/Text.vue.d.ts +4 -2
- package/esm/{coms/texts → comp/text}/TextLink.vue.d.ts +1 -1
- package/esm/{coms/texts → comp/text}/Textarea.vue.d.ts +1 -1
- package/esm/{coms/texts → comp/text}/Upload.vue.d.ts +1 -1
- package/esm/{coms/texts → comp/text}/Year.vue.d.ts +1 -1
- package/esm/{drivers → driver}/index.d.ts +1 -1
- package/esm/{drivers/messengers → driver/messenger}/PcMessenger.d.ts +2 -2
- 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 +46 -0
- package/esm/factory/Utilities.d.ts +3 -0
- package/esm/factory/Utils.d.ts +6 -0
- package/esm/factory/index.d.ts +7 -0
- package/esm/main.d.ts +3 -7
- package/esm/{api/UploadApi.d.ts → repo/UploadRepo.d.ts} +2 -2
- package/esm/repo/index.d.ts +1 -0
- package/esm/{svcs → svc}/ComponentSvc.d.ts +1 -1
- package/esm/{svcs → svc}/ControlSvc.d.ts +1 -1
- package/esm/{svcs → svc}/ModuleSvc.d.ts +1 -1
- package/esm/{svcs → svc}/PageSvc.d.ts +1 -1
- package/esm/{svcs → svc}/RouterSvc.d.ts +1 -1
- package/esm/svc/index.d.ts +8 -0
- package/esm/{views/helps → view/help}/Install.vue.d.ts +3 -1
- package/esm/{views/logins → view/sso}/Index.vue.d.ts +5 -1
- package/esm/view/sso/Register.vue.d.ts +34 -0
- package/package.json +17 -17
- package/dist/Article-B4W1yDus.js +0 -200
- package/dist/ArticleFooter-BZmGzE4z.js +0 -85
- package/dist/Autocomplete-B691jOqv.js +0 -55
- package/dist/Autocomplete-CLYzsHIy.js +0 -54
- package/dist/Autocomplete-DXKXgbu8.js +0 -27
- package/dist/CSharp-Bu5b_AQ5.js +0 -27
- package/dist/Calender-Df0eBgXW.js +0 -10
- package/dist/Callback-Bk7xDeWh.js +0 -26
- package/dist/Cascader-Bn5tdkyk.js +0 -47
- package/dist/Cascader-CCv6R_xq.js +0 -87
- package/dist/Checkbox-DJTNEds9.js +0 -27
- package/dist/Checkbox-l-dw3I-D.js +0 -76
- package/dist/Code-BIJ8L9XB.js +0 -4
- package/dist/Code-CC0_bYUf.js +0 -60
- package/dist/Code-DSskK7CQ.js +0 -42
- package/dist/Code-DzZ4UNYj.js +0 -30
- package/dist/Code.vue_vue_type_style_index_0_lang-B69Ar-BV.js +0 -65
- package/dist/Color-CfXtJFUo.js +0 -22
- package/dist/Color-Da69pnQg.js +0 -34
- package/dist/Column-Ct-WeomE.js +0 -75
- package/dist/Comment-WXfnUXm0.js +0 -106
- package/dist/Compare-C7wrM-XA.js +0 -43
- package/dist/Compare-slAZvFE_.js +0 -63
- package/dist/Copy-Djf4freJ.js +0 -49
- package/dist/Custom-D-E5y5Vg.js +0 -55
- package/dist/DataExport-TrGLjcqQ.js +0 -4
- package/dist/DataExport.vue_vue_type_script_setup_true_lang-BRI71FyH.js +0 -114
- package/dist/DataImport-rcDmGVKS.js +0 -4
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-BajrFerF.js +0 -178
- package/dist/Date-7EWMEODI.js +0 -27
- package/dist/Date-Dc2vK9Yv.js +0 -43
- package/dist/DateRange-DrYK_l0Y.js +0 -19
- package/dist/DateRange-Uli5eOZ5.js +0 -63
- package/dist/DateTime-C-XhFPb0.js +0 -27
- package/dist/DateTime-DfUXtsBX.js +0 -44
- package/dist/DateTimeRange-CnITxfZ9.js +0 -67
- package/dist/Daterange-CPJSBRvr.js +0 -63
- package/dist/Decimal-BtQpSIJR.js +0 -27
- package/dist/Decimal-C38-N54B.js +0 -36
- package/dist/Delete-r-qTGBEE.js +0 -62
- package/dist/Detail-D77pFe-2.js +0 -75
- package/dist/Dictionary-ICeLwv7E.js +0 -61
- package/dist/Email-BKW9GRcH.js +0 -19
- package/dist/Email-BanDj216.js +0 -54
- package/dist/File-BrXieip7.js +0 -164
- package/dist/Image-D_5kTXKm.js +0 -9
- package/dist/Index-BMBm5j5X.js +0 -4
- package/dist/Index-BQmAD1mw.js +0 -4
- package/dist/Index-Bov1OTEP.js +0 -4
- package/dist/Index-Ceu5HCjk.js +0 -4
- package/dist/Index-CsxTOaw6.js +0 -76
- package/dist/Index-Ddz9mcly.js +0 -4
- package/dist/Index-DhShUw_y.js +0 -4
- package/dist/Index-wHW-zG4G.js +0 -179
- package/dist/Index.vue_vue_type_script_setup_true_lang-BlpCvZBC.js +0 -86
- package/dist/Index.vue_vue_type_script_setup_true_lang-C_KWQFHN.js +0 -72
- package/dist/Install-DhWWbGRi.js +0 -135
- package/dist/Int-B-t8edhd.js +0 -19
- package/dist/Int-BELzPmec.js +0 -47
- package/dist/Int-BZkW-0JA.js +0 -44
- package/dist/List-9r5PDoSS.js +0 -77
- package/dist/Maintaince-CMitKNaf.js +0 -20
- package/dist/Markdown-BzMP3m7o.js +0 -37
- package/dist/Markdown-C8urG88V.js +0 -27
- package/dist/Month-BNp70T17.js +0 -44
- package/dist/Month-CK5GNwwH.js +0 -27
- package/dist/Month-D4gy17OL.js +0 -43
- package/dist/Normal-Cvx8228I.js +0 -266
- package/dist/Paging-B3l_nJHf.js +0 -100
- package/dist/PagingHeader-CYOKAeGS.js +0 -149
- package/dist/PagingRow-vv6z6G0t.js +0 -73
- package/dist/Password-DuyYEgzR.js +0 -55
- package/dist/Password-yHtlY-Qa.js +0 -24
- package/dist/Progress-C3D821AQ.js +0 -34
- package/dist/Progress-CKVzMO-W.js +0 -25
- package/dist/Racebar-B4Q4oVfM.js +0 -170
- package/dist/Radio-DA8B5Rlh.js +0 -27
- package/dist/Radio-DkcBKBvX.js +0 -47
- package/dist/Rate-B7jKTFKT.js +0 -34
- package/dist/Rate-BmC4gw_0.js +0 -34
- package/dist/Register-BaFqs8vX.js +0 -202
- package/dist/RichText-Bk0Msyhl.js +0 -22
- package/dist/RichText-TV3ZnykX.js +0 -47
- package/dist/SearchForm-zVUHuxiR.js +0 -4
- package/dist/SearchForm.vue_vue_type_style_index_0_lang-BvwtZSIf.js +0 -148
- package/dist/SearchHeader-Dqr5IKuO.js +0 -4
- package/dist/SearchHeader.vue_vue_type_style_index_0_lang-DjpC03Al.js +0 -60
- package/dist/Select-51pxexYZ.js +0 -27
- package/dist/Select-BvRI4zbF.js +0 -123
- package/dist/Select-CUvvvGNn.js +0 -86
- package/dist/Single-BtAJSJLK.js +0 -325
- package/dist/Statistic-CQ2oA1vm.js +0 -159
- package/dist/Statistic-Dxa-CZ8G.js +0 -78
- package/dist/Stock-DF5yBa1X.js +0 -4
- package/dist/Stock-DylT7df9.js +0 -30
- package/dist/Stock.vue_vue_type_style_index_0_lang-BpgVbCj-.js +0 -304
- package/dist/Switch-CGcPpvTj.js +0 -27
- package/dist/Switch-DhFaku5L.js +0 -50
- package/dist/Table-1R7b4wsF.js +0 -247
- package/dist/Table-BlciJJMu.js +0 -323
- package/dist/Text-Bx46Fcln.js +0 -58
- package/dist/Text-CA8i8QjK.js +0 -4
- package/dist/Text-Dv_w46l8.js +0 -54
- package/dist/Text.vue_vue_type_style_index_0_lang-CfmQxBpy.js +0 -59
- package/dist/TextLink-CQj0ytVR.js +0 -65
- package/dist/Textarea-D6VcTq4G.js +0 -28
- package/dist/Textarea-D9TgF9ig.js +0 -37
- package/dist/Time-WN0VMSgh.js +0 -43
- package/dist/Timeline-DckHQQHw.js +0 -61
- package/dist/Tree-BWxBxlZN.js +0 -125
- package/dist/Tree-DHwhhXMP.js +0 -298
- package/dist/TreeNode-CeXU-uB1.js +0 -43
- package/dist/Tree_Old-h__WmqFA.js +0 -11
- package/dist/Update-Ct44IN2J.js +0 -70
- package/dist/UpdateChild-Bo6yZ12Y.js +0 -92
- package/dist/Upload-CfRc8s-c.js +0 -71
- package/dist/Upload-Dui004Aq.js +0 -150
- package/dist/Year-CgsNE-M5.js +0 -27
- package/dist/Year-oJxibej6.js +0 -47
- package/dist/assets/clipboard-DjQPoCBJ.js +0 -501
- package/dist/assets/clone-BZn0cTAu.js +0 -134
- package/dist/assets/element-plus-CT-3dawQ.js +0 -497
- package/dist/assets/file-saver-CwlpTZSc.js +0 -74
- package/dist/assets/intro.js-Cg1adLK7.js +0 -1142
- package/dist/assets/liquidjs-BfOWWjtJ.js +0 -2907
- 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/main-BJRpvr2g.js +0 -10974
- package/dist/main.js +0 -166
- package/dist/style.css +0 -1
- package/esm/@types/index.d.ts +0 -1
- package/esm/api/QueryApi.d.ts +0 -10
- package/esm/api/index.d.ts +0 -3
- package/esm/coms/business/@types/CrudProps.d.ts +0 -22
- package/esm/coms/business/@types/DriverProps.d.ts +0 -58
- package/esm/coms/business/@types/FormProps.d.ts +0 -5
- package/esm/coms/business/Crud.vue.d.ts +0 -22
- package/esm/coms/business/Driver.vue.d.ts +0 -38
- package/esm/coms/business/Feedback.vue.d.ts +0 -8
- package/esm/coms/business/Form.vue.d.ts +0 -18
- package/esm/coms/business/Welcome.vue.d.ts +0 -8
- package/esm/coms/business/types/CrudProps.d.ts +0 -22
- package/esm/coms/business/types/DrawerProps.d.ts +0 -14
- package/esm/coms/business/types/DriverProps.d.ts +0 -63
- package/esm/coms/business/types/FormProps.d.ts +0 -18
- package/esm/coms/business/types/index.d.ts +0 -5
- package/esm/coms/commons/@types/TableProps.d.ts +0 -21
- package/esm/coms/commons/@types/index.d.ts +0 -1
- package/esm/coms/commons/Spinner.vue.d.ts +0 -20
- package/esm/coms/commons/index.d.ts +0 -7
- package/esm/coms/commons/types/TableProps.d.ts +0 -22
- package/esm/coms/commons/types/index.d.ts +0 -2
- package/esm/coms/controls/types/ControlProps.d.ts +0 -26
- package/esm/coms/controls/types/index.d.ts +0 -2
- package/esm/coms/drivers/@types/CrudProps.d.ts +0 -21
- package/esm/coms/drivers/@types/DriverBaseProps.d.ts +0 -13
- package/esm/coms/drivers/@types/DriverEmit.d.ts +0 -17
- package/esm/coms/drivers/@types/DriverFormProps.d.ts +0 -14
- package/esm/coms/drivers/@types/DriverKindEmit.d.ts +0 -17
- package/esm/coms/drivers/@types/DriverProps.d.ts +0 -28
- package/esm/coms/drivers/@types/KindFormProps.d.ts +0 -16
- package/esm/coms/drivers/@types/KindProps.d.ts +0 -20
- package/esm/coms/drivers/@types/index.d.ts +0 -5
- package/esm/coms/drivers/Crud.vue.d.ts +0 -30
- package/esm/coms/drivers/Index.vue.d.ts +0 -115
- package/esm/coms/drivers/Kind.vue.d.ts +0 -34
- package/esm/coms/drivers/index.d.ts +0 -5
- package/esm/coms/globals/HeaderTab.vue.d.ts +0 -27
- package/esm/coms/globals/HeaderTabs.vue.d.ts +0 -24
- package/esm/coms/globals/Menu.vue.d.ts +0 -77
- package/esm/coms/globals/MenuItem.vue.d.ts +0 -76
- package/esm/coms/globals/SideTabs.vue.d.ts +0 -25
- package/esm/coms/globals/Window.vue.d.ts +0 -68
- package/esm/coms/globals/index.d.ts +0 -9
- package/esm/coms/globals/types/WindowOptions.d.ts +0 -38
- package/esm/coms/globals/types/WindowProps.d.ts +0 -27
- package/esm/coms/globals/types/index.d.ts +0 -3
- package/esm/coms/headers/@types/TipsProps.d.ts +0 -10
- package/esm/coms/headers/Debugger.vue.d.ts +0 -2
- package/esm/coms/headers/HeaderRight.vue.d.ts +0 -8
- package/esm/coms/headers/Tips.vue.d.ts +0 -3
- package/esm/coms/index.d.ts +0 -12
- package/esm/coms/layouts/@types/index.d.ts +0 -1
- package/esm/coms/layouts/Desktop.vue.d.ts +0 -2
- package/esm/coms/layouts/Index.vue.d.ts +0 -28
- package/esm/coms/layouts/Side.vue.d.ts +0 -23
- package/esm/coms/layouts/Top.vue.d.ts +0 -5
- package/esm/coms/layouts/types/ITaskBar.d.ts +0 -6
- package/esm/coms/layouts/types/index.d.ts +0 -2
- package/esm/coms/lists/Racebar.vue.d.ts +0 -9
- package/esm/coms/lists/Statistic.vue.d.ts +0 -9
- package/esm/coms/lists/types/ListProps.d.ts +0 -15
- package/esm/coms/lists/types/index.d.ts +0 -2
- package/esm/coms/pages/@types/KeyboardType.d.ts +0 -8
- package/esm/coms/pages/Paging.vue.d.ts +0 -17
- package/esm/coms/pages/types/ColumnPageProps.d.ts +0 -11
- package/esm/coms/pages/types/CustomPageProps.d.ts +0 -11
- package/esm/coms/pages/types/DeletePageProps.d.ts +0 -15
- package/esm/coms/pages/types/KeyboardType.d.ts +0 -8
- package/esm/coms/pages/types/ListPageProps.d.ts +0 -15
- package/esm/coms/pages/types/PageEmit.d.ts +0 -22
- package/esm/coms/pages/types/PageProps.d.ts +0 -14
- package/esm/coms/pages/types/PagingPageProps.d.ts +0 -15
- package/esm/coms/pages/types/SchemaProps.d.ts +0 -30
- package/esm/coms/pages/types/SinglePageProps.d.ts +0 -15
- package/esm/coms/pages/types/index.d.ts +0 -11
- package/esm/coms/pagings/@types/SearchFooterProps.d.ts +0 -10
- package/esm/coms/pagings/Article.vue.d.ts +0 -19
- package/esm/coms/pagings/SearchFooter.vue.d.ts +0 -19
- package/esm/coms/pagings/Table.vue.d.ts +0 -24
- package/esm/coms/pagings/types/PagingProps.d.ts +0 -11
- package/esm/coms/pagings/types/index.d.ts +0 -2
- package/esm/coms/panels/types/OperationProps.d.ts +0 -10
- package/esm/coms/panels/types/index.d.ts +0 -2
- package/esm/coms/partials/types/ArticleFooterEmit.d.ts +0 -26
- package/esm/coms/partials/types/DetailEmit.d.ts +0 -18
- package/esm/coms/partials/types/DetailProps.d.ts +0 -22
- package/esm/coms/partials/types/PagingHeaderEmit.d.ts +0 -34
- package/esm/coms/partials/types/PagingHeaderProps.d.ts +0 -30
- package/esm/coms/partials/types/PagingRowEmit.d.ts +0 -26
- package/esm/coms/partials/types/PagingRowProps.d.ts +0 -22
- package/esm/coms/partials/types/TreeNodeProps.d.ts +0 -22
- package/esm/coms/partials/types/UpdateChildEmit.d.ts +0 -22
- package/esm/coms/partials/types/UpdateChildProps.d.ts +0 -22
- package/esm/coms/partials/types/UpdateEmit.d.ts +0 -14
- package/esm/coms/partials/types/UpdateProps.d.ts +0 -22
- package/esm/coms/partials/types/index.d.ts +0 -13
- package/esm/coms/searches/types/SearchProps.d.ts +0 -10
- package/esm/coms/searches/types/index.d.ts +0 -2
- package/esm/coms/singles/Table.vue.d.ts +0 -13
- package/esm/coms/singles/types/SingleProps.d.ts +0 -15
- package/esm/coms/singles/types/index.d.ts +0 -2
- package/esm/coms/texts/Rate.vue.d.ts +0 -14
- package/esm/plugins/PcMessenger.d.ts +0 -35
- package/esm/plugins/index.d.ts +0 -4
- package/esm/repos/QueryApi.d.ts +0 -10
- package/esm/repos/UploadApi.d.ts +0 -9
- package/esm/repos/index.d.ts +0 -1
- package/esm/svcs/PcI18nSvc.d.ts +0 -15
- package/esm/svcs/StandardSvc.d.ts +0 -40
- package/esm/svcs/Svcs.d.ts +0 -11
- package/esm/svcs/WindowSvc.d.ts +0 -26
- package/esm/svcs/index.d.ts +0 -24
- package/esm/types/CreatePcOptions.d.ts +0 -15
- package/esm/types/index.d.ts +0 -2
- package/esm/views/logins/Register.vue.d.ts +0 -2
- package/esm/views/sso/Callback.vue.d.ts +0 -2
- package/esm/views/sso/Index.vue.d.ts +0 -2
- package/esm/views/sso/Register.vue.d.ts +0 -2
- /package/esm/{coms → comp}/business/@types/DrawerProps.d.ts +0 -0
- /package/esm/{coms → comp}/business/Condition.vue.d.ts +0 -0
- /package/esm/{coms → comp}/business/Switch.vue.d.ts +0 -0
- /package/esm/{coms/commons → comp/common}/Debug.vue.d.ts +0 -0
- /package/esm/{coms/commons → comp/common}/Editable.vue.d.ts +0 -0
- /package/esm/{coms/commons → comp/common}/Loading.vue.d.ts +0 -0
- /package/esm/{coms/commons → comp/common}/MouseContext.vue.d.ts +0 -0
- /package/esm/{coms/commons → comp/common}/Particles.vue.d.ts +0 -0
- /package/esm/{coms/commons → comp/common}/Resizer.vue.d.ts +0 -0
- /package/esm/{coms/commons → comp/common}/TableColumn.vue.d.ts +0 -0
- /package/esm/{coms/controls → comp/control}/@types/ControlProps.d.ts +0 -0
- /package/esm/{coms/controls → comp/control}/@types/index.d.ts +0 -0
- /package/esm/{coms/controls → comp/control}/Autocomplete.vue.d.ts +0 -0
- /package/esm/{coms/controls → comp/control}/Checkbox.vue.d.ts +0 -0
- /package/esm/{coms/controls → comp/control}/Code.vue.d.ts +0 -0
- /package/esm/{coms/controls → comp/control}/Color.vue.d.ts +0 -0
- /package/esm/{coms/controls → comp/control}/Date.vue.d.ts +0 -0
- /package/esm/{coms/controls → comp/control}/DateRange.vue.d.ts +0 -0
- /package/esm/{coms/controls → comp/control}/DateTime.vue.d.ts +0 -0
- /package/esm/{coms/controls → comp/control}/DateTimeRange.vue.d.ts +0 -0
- /package/esm/{coms/controls → comp/control}/Decimal.vue.d.ts +0 -0
- /package/esm/{coms/controls → comp/control}/Email.vue.d.ts +0 -0
- /package/esm/{coms/controls → comp/control}/Image.vue.d.ts +0 -0
- /package/esm/{coms/controls → comp/control}/Int.vue.d.ts +0 -0
- /package/esm/{coms/controls → comp/control}/Markdown.vue.d.ts +0 -0
- /package/esm/{coms/controls → comp/control}/Month.vue.d.ts +0 -0
- /package/esm/{coms/controls → comp/control}/Password.vue.d.ts +0 -0
- /package/esm/{coms/controls → comp/control}/Progress.vue.d.ts +0 -0
- /package/esm/{coms/controls → comp/control}/Radio.vue.d.ts +0 -0
- /package/esm/{coms/controls → comp/control}/Rate.vue.d.ts +0 -0
- /package/esm/{coms/controls → comp/control}/Switch.vue.d.ts +0 -0
- /package/esm/{coms/controls → comp/control}/Text.vue.d.ts +0 -0
- /package/esm/{coms/controls → comp/control}/Textarea.vue.d.ts +0 -0
- /package/esm/{coms/controls → comp/control}/Time.vue.d.ts +0 -0
- /package/esm/{coms/controls → comp/control}/Year.vue.d.ts +0 -0
- /package/esm/{coms/controls → comp/control}/index.d.ts +0 -0
- /package/esm/{coms/globals → comp/global}/@types/WindowEmit.d.ts +0 -0
- /package/esm/{coms/globals → comp/global}/@types/WindowProps.d.ts +0 -0
- /package/esm/{coms/globals → comp/global}/@types/index.d.ts +0 -0
- /package/esm/{coms/globals → comp/global}/MissComponent.vue.d.ts +0 -0
- /package/esm/{coms/globals → comp/global}/SideTab.vue.d.ts +0 -0
- /package/esm/{coms/headers → comp/header}/Breadcrumb.vue.d.ts +0 -0
- /package/esm/{coms/headers → comp/header}/Changes.vue.d.ts +0 -0
- /package/esm/{coms/headers → comp/header}/Hamburger.vue.d.ts +0 -0
- /package/esm/{coms/headers → comp/header}/Index.vue.d.ts +0 -0
- /package/esm/{coms/headers → comp/header}/Log.vue.d.ts +0 -0
- /package/esm/{coms/headers → comp/header}/Logo.vue.d.ts +0 -0
- /package/esm/{coms/headers → comp/header}/Refresh.vue.d.ts +0 -0
- /package/esm/{coms/headers → comp/header}/Setting.vue.d.ts +0 -0
- /package/esm/{coms/headers → comp/header}/index.d.ts +0 -0
- /package/esm/{coms/layouts → comp/layout}/@types/ITaskBar.d.ts +0 -0
- /package/esm/{coms/layouts → comp/layout}/index.d.ts +0 -0
- /package/esm/{coms/lists → comp/list}/@types/index.d.ts +0 -0
- /package/esm/{coms/lists → comp/list}/Calender.vue.d.ts +0 -0
- /package/esm/{coms/lists → comp/list}/Timeline.vue.d.ts +0 -0
- /package/esm/{coms/lists → comp/list}/index.d.ts +0 -0
- /package/esm/{coms/pages → comp/page}/@types/ColumnPageProps.d.ts +0 -0
- /package/esm/{coms/pages → comp/page}/@types/CustomPageProps.d.ts +0 -0
- /package/esm/{coms/pages → comp/page}/@types/DeletePageProps.d.ts +0 -0
- /package/esm/{coms/pages → comp/page}/@types/ListPageProps.d.ts +0 -0
- /package/esm/{coms/pages → comp/page}/@types/PageEmit.d.ts +0 -0
- /package/esm/{coms/pages → comp/page}/@types/PageProps.d.ts +0 -0
- /package/esm/{coms/pages → comp/page}/@types/PagingPageProps.d.ts +0 -0
- /package/esm/{coms/pages → comp/page}/@types/SchemaProps.d.ts +0 -0
- /package/esm/{coms/pages → comp/page}/@types/SinglePageProps.d.ts +0 -0
- /package/esm/{coms/pages → comp/page}/@types/index.d.ts +0 -0
- /package/esm/{coms/pages → comp/page}/Delete.vue.d.ts +0 -0
- /package/esm/{coms/pages → comp/page}/Index.vue.d.ts +0 -0
- /package/esm/{coms/pages → comp/page}/index.d.ts +0 -0
- /package/esm/{coms/pagings → comp/paging}/@types/SearchFormProps.d.ts +0 -0
- /package/esm/{coms/pagings → comp/paging}/@types/index.d.ts +0 -0
- /package/esm/{coms/pagings → comp/paging}/Code.vue.d.ts +0 -0
- /package/esm/{coms/pagings → comp/paging}/DataImport.vue.d.ts +0 -0
- /package/esm/{coms/pagings → comp/paging}/File.vue.d.ts +0 -0
- /package/esm/{coms/pagings → comp/paging}/index.d.ts +0 -0
- /package/esm/{coms/panels → comp/panel}/@types/OperationProps.d.ts +0 -0
- /package/esm/{coms/panels → comp/panel}/@types/index.d.ts +0 -0
- /package/esm/{coms/panels → comp/panel}/Group.vue.d.ts +0 -0
- /package/esm/{coms/panels → comp/panel}/Header.vue.d.ts +0 -0
- /package/esm/{coms/panels → comp/panel}/Shrink.vue.d.ts +0 -0
- /package/esm/{coms/panels → comp/panel}/index.d.ts +0 -0
- /package/esm/{coms/partials → comp/partial}/@types/ArticleFooterEmit.d.ts +0 -0
- /package/esm/{coms/partials → comp/partial}/@types/DetailEmit.d.ts +0 -0
- /package/esm/{coms/partials → comp/partial}/@types/DetailProps.d.ts +0 -0
- /package/esm/{coms/partials → comp/partial}/@types/PagingHeaderEmit.d.ts +0 -0
- /package/esm/{coms/partials → comp/partial}/@types/PagingRowEmit.d.ts +0 -0
- /package/esm/{coms/partials → comp/partial}/@types/PagingRowProps.d.ts +0 -0
- /package/esm/{coms/partials → comp/partial}/@types/TreeNodeProps.d.ts +0 -0
- /package/esm/{coms/partials → comp/partial}/@types/UpdateChildEmit.d.ts +0 -0
- /package/esm/{coms/partials → comp/partial}/@types/UpdateChildProps.d.ts +0 -0
- /package/esm/{coms/partials → comp/partial}/@types/UpdateEmit.d.ts +0 -0
- /package/esm/{coms/partials → comp/partial}/@types/UpdateProps.d.ts +0 -0
- /package/esm/{coms/partials → comp/partial}/@types/index.d.ts +0 -0
- /package/esm/{coms/partials → comp/partial}/ArticleFooter.vue.d.ts +0 -0
- /package/esm/{coms/partials → comp/partial}/Detail.vue.d.ts +0 -0
- /package/esm/{coms/partials → comp/partial}/PagingHeader.vue.d.ts +0 -0
- /package/esm/{coms/partials → comp/partial}/PagingRow.vue.d.ts +0 -0
- /package/esm/{coms/partials → comp/partial}/TreeNode.vue.d.ts +0 -0
- /package/esm/{coms/partials → comp/partial}/Update.vue.d.ts +0 -0
- /package/esm/{coms/partials → comp/partial}/UpdateChild.vue.d.ts +0 -0
- /package/esm/{coms/partials → comp/partial}/index.d.ts +0 -0
- /package/esm/{coms/searches → comp/search}/@types/SearchProps.d.ts +0 -0
- /package/esm/{coms/searches → comp/search}/@types/index.d.ts +0 -0
- /package/esm/{coms/searches → comp/search}/Autocomplete.vue.d.ts +0 -0
- /package/esm/{coms/searches → comp/search}/Daterange.vue.d.ts +0 -0
- /package/esm/{coms/searches → comp/search}/Index.vue.d.ts +0 -0
- /package/esm/{coms/searches → comp/search}/Int.vue.d.ts +0 -0
- /package/esm/{coms/searches → comp/search}/Month.vue.d.ts +0 -0
- /package/esm/{coms/searches → comp/search}/Text.vue.d.ts +0 -0
- /package/esm/{coms/searches → comp/search}/index.d.ts +0 -0
- /package/esm/{coms/singles → comp/single}/Code.vue.d.ts +0 -0
- /package/esm/{coms/singles → comp/single}/Comment.vue.d.ts +0 -0
- /package/esm/{coms/singles → comp/single}/Statistic.vue.d.ts +0 -0
- /package/esm/{coms/singles → comp/single}/Stock.vue.d.ts +0 -0
- /package/esm/{coms/singles → comp/single}/Tree_Old.vue.d.ts +0 -0
- /package/esm/{coms/singles → comp/single}/index.d.ts +0 -0
- /package/esm/{drivers/messengers → driver/messenger}/index.d.ts +0 -0
- /package/esm/{svcs → svc}/AppSvc.d.ts +0 -0
- /package/esm/{svcs → svc}/LayoutSvc.d.ts +0 -0
- /package/esm/{svcs → svc}/UploadSvc.d.ts +0 -0
- /package/esm/{views/helps → view/help}/401.vue.d.ts +0 -0
- /package/esm/{views/helps → view/help}/404.vue.d.ts +0 -0
- /package/esm/{views/helps → view/help}/Maintaince.vue.d.ts +0 -0
- /package/esm/{views/helps → view/help}/Upgrade.vue.d.ts +0 -0
- /package/esm/{views/logins → view/sso}/Callback.vue.d.ts +0 -0
@@ -1,61 +0,0 @@
|
|
1
|
-
import { defineComponent as h, toRefs as y, resolveComponent as m, openBlock as t, createBlock as n, unref as e, withCtx as o, createElementVNode as a, createElementBlock as c, Fragment as k, renderList as x, createCommentVNode as v } from "vue";
|
2
|
-
import { _ as g, U as C } 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 B = { class: "timeline-layout" }, H = ["innerHTML"], L = {
|
10
|
-
key: 0,
|
11
|
-
class: "timeline-detail"
|
12
|
-
}, q = /* @__PURE__ */ h({
|
13
|
-
__name: "Timeline",
|
14
|
-
props: {
|
15
|
-
searchData: {},
|
16
|
-
route: {},
|
17
|
-
module: {},
|
18
|
-
schema: {},
|
19
|
-
table: {},
|
20
|
-
layout: {},
|
21
|
-
next: {},
|
22
|
-
set: {},
|
23
|
-
url: {},
|
24
|
-
win: {}
|
25
|
-
},
|
26
|
-
setup(_) {
|
27
|
-
let p = _, { module: T, schema: b, table: l, layout: i, next: E, set: s } = y(p);
|
28
|
-
return (M, N) => {
|
29
|
-
const u = m("el-timeline-item"), d = m("el-timeline"), f = m("el-empty");
|
30
|
-
return t(), n(e(g), { class: "timeline" }, {
|
31
|
-
default: o(() => [
|
32
|
-
a("div", B, [
|
33
|
-
e(s)[e(l).name].length > 0 ? (t(), n(d, {
|
34
|
-
key: 0,
|
35
|
-
reverse: !1
|
36
|
-
}, {
|
37
|
-
default: o(() => [
|
38
|
-
(t(!0), c(k, null, x(e(s)[e(l).name], (r) => (t(), n(u, {
|
39
|
-
timestamp: r[e(i).time]
|
40
|
-
}, {
|
41
|
-
default: o(() => [
|
42
|
-
a("div", {
|
43
|
-
innerHTML: e(C).html.getHtml(r[e(i).text])
|
44
|
-
}, null, 8, H)
|
45
|
-
]),
|
46
|
-
_: 2
|
47
|
-
}, 1032, ["timestamp"]))), 256))
|
48
|
-
]),
|
49
|
-
_: 1
|
50
|
-
})) : (t(), n(f, { key: 1 }))
|
51
|
-
]),
|
52
|
-
e(l).length > 0 ? (t(), c("div", L, " 时间线节点详情 ")) : v("", !0)
|
53
|
-
]),
|
54
|
-
_: 1
|
55
|
-
});
|
56
|
-
};
|
57
|
-
}
|
58
|
-
});
|
59
|
-
export {
|
60
|
-
q as default
|
61
|
-
};
|
package/dist/Tree-BWxBxlZN.js
DELETED
@@ -1,125 +0,0 @@
|
|
1
|
-
import { defineComponent as J, toRefs as O, ref as k, onMounted as Q, watch as X, nextTick as K, resolveComponent as N, openBlock as _, createElementBlock as C, unref as d, Fragment as L, renderList as B, createBlock as M, withCtx as b, createVNode as Y, createElementVNode as Z, toDisplayString as T, createCommentVNode as F } from "vue";
|
2
|
-
import { U as f, m as P } 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 ee = { class: "option-text" }, le = {
|
10
|
-
key: 0,
|
11
|
-
class: "option-suffix"
|
12
|
-
}, ce = /* @__PURE__ */ J({
|
13
|
-
__name: "Tree",
|
14
|
-
props: {
|
15
|
-
route: {},
|
16
|
-
validateErrors: {},
|
17
|
-
module: {},
|
18
|
-
schema: {},
|
19
|
-
table: {},
|
20
|
-
layout: {},
|
21
|
-
next: {},
|
22
|
-
set: {},
|
23
|
-
url: {},
|
24
|
-
win: {}
|
25
|
-
},
|
26
|
-
setup(S, { expose: U }) {
|
27
|
-
let $ = S, { module: z, schema: te, table: s, layout: l, set: p } = O($), E = k(), V = k([]), x = k(), w = k(0), g = k([]), R = k(!0), D = (e, r, o) => {
|
28
|
-
let a = p.value[s.value.name].find((n) => n.PermissionId == e[l.value.id]);
|
29
|
-
a && (a[l.value.expand] = !0);
|
30
|
-
}, W = (e, r, o) => {
|
31
|
-
let a = p.value[s.value.name].find((n) => n.PermissionId == e[l.value.id]);
|
32
|
-
a && (a[l.value.expand] = !1);
|
33
|
-
}, j = (e, r, o) => {
|
34
|
-
let a = r.checkedKeys, n = e[l.value.id], i = f.array.contains(a, n), c = [], u = [], h = f.tree.getChildren(e, "Children").map((t) => t[l.value.id]), m = p.value[s.value.name].map((t) => t[l.value.checked]), v = f.array.intersect(h, m);
|
35
|
-
if (i) {
|
36
|
-
c.push(e[l.value.id]);
|
37
|
-
let t = f.array.except(h, v);
|
38
|
-
t.length && (a.push(...t), c.push(...t));
|
39
|
-
} else
|
40
|
-
u.push(n), v.length == h.length && (u.push(...h), f.array.remove(a, h));
|
41
|
-
c.length && q(c), u.length && A(u);
|
42
|
-
}, q = (e) => {
|
43
|
-
for (let r = 0; r < e.length; r++) {
|
44
|
-
let o = P.getDefaultRow(s.value);
|
45
|
-
o[l.value.checked] = e[r], p.value[s.value.name].push(o);
|
46
|
-
}
|
47
|
-
}, A = (e) => {
|
48
|
-
let r = p.value[s.value.name];
|
49
|
-
for (let o = 0; o < e.length; o++) {
|
50
|
-
let a = r.find((n) => n[l.value.checked] == e[o]);
|
51
|
-
f.array.remove(r, a);
|
52
|
-
}
|
53
|
-
}, G = (e) => {
|
54
|
-
x.value = e.contentRect.width, w.value = Math.ceil(x.value / 300), I(s.value, l.value, p.value);
|
55
|
-
}, I = (e, r, o) => {
|
56
|
-
g.value = P.getLines(r.data, w.value, (a) => [a], () => 1), K(() => {
|
57
|
-
let a = o[e.name].map((i) => i[r.checked]), n = 0;
|
58
|
-
for (let i = 0; i < g.value.length; i++) {
|
59
|
-
let c = g.value[i];
|
60
|
-
for (let u = 0; u < c.length; u++) {
|
61
|
-
let y = V.value[n], h = c[u].data, m = f.tree.getFlat(h, "Children").map((t) => t[r.id]), v = f.array.intersect(m, a);
|
62
|
-
if (!(v.length == 1 && m.length > 1)) for (let t = 0; t < v.length; t++) {
|
63
|
-
let H = v[t];
|
64
|
-
y.setChecked(H, !0, !1);
|
65
|
-
}
|
66
|
-
n++;
|
67
|
-
}
|
68
|
-
}
|
69
|
-
});
|
70
|
-
};
|
71
|
-
return Q(() => {
|
72
|
-
x.value = f.dom.getWidth(E.value), w.value = Math.ceil(x.value / 300), I(s.value, l.value, p.value);
|
73
|
-
}), X(() => s.value, (e, r) => {
|
74
|
-
R.value = !1, K(() => {
|
75
|
-
R.value = !0, I(e, l.value, p.value);
|
76
|
-
});
|
77
|
-
}), U({ onResize: G }), (e, r) => {
|
78
|
-
const o = N("el-tree"), a = N("el-col"), n = N("el-row");
|
79
|
-
return _(), C("div", {
|
80
|
-
ref_key: "layoutRef",
|
81
|
-
ref: E,
|
82
|
-
class: "ha-tree-layout"
|
83
|
-
}, [
|
84
|
-
d(R) ? (_(!0), C(L, { key: 0 }, B(d(g), (i, c) => (_(), M(n, null, {
|
85
|
-
default: b(() => [
|
86
|
-
(_(!0), C(L, null, B(i, ({ data: u, span: y, index: h }, m) => (_(), M(a, {
|
87
|
-
span: y,
|
88
|
-
key: `${c}.${m}`
|
89
|
-
}, {
|
90
|
-
default: b(() => [
|
91
|
-
Y(o, {
|
92
|
-
ref_for: !0,
|
93
|
-
ref_key: "treeRefs",
|
94
|
-
ref: V,
|
95
|
-
"show-checkbox": "",
|
96
|
-
"highlight-current": "",
|
97
|
-
"default-expand-all": !1,
|
98
|
-
"expand-on-click-node": !1,
|
99
|
-
"node-key": d(l).id,
|
100
|
-
data: u,
|
101
|
-
props: { children: "Children", label: d(l).text },
|
102
|
-
disabled: d(z).type == "Detail",
|
103
|
-
onNodeExpand: d(D),
|
104
|
-
onNodeCollapse: d(W),
|
105
|
-
onCheck: (v, t) => d(j)(v, t, h)
|
106
|
-
}, {
|
107
|
-
default: b(({ node: v, data: t }) => [
|
108
|
-
Z("div", ee, T(t[d(l).text]), 1),
|
109
|
-
d(l).suffix ? (_(), C("div", le, T(t[d(l).suffix]), 1)) : F("", !0)
|
110
|
-
]),
|
111
|
-
_: 2
|
112
|
-
}, 1032, ["node-key", "data", "props", "disabled", "onNodeExpand", "onNodeCollapse", "onCheck"])
|
113
|
-
]),
|
114
|
-
_: 2
|
115
|
-
}, 1032, ["span"]))), 128))
|
116
|
-
]),
|
117
|
-
_: 2
|
118
|
-
}, 1024))), 256)) : F("", !0)
|
119
|
-
], 512);
|
120
|
-
};
|
121
|
-
}
|
122
|
-
});
|
123
|
-
export {
|
124
|
-
ce as default
|
125
|
-
};
|
package/dist/Tree-DHwhhXMP.js
DELETED
@@ -1,298 +0,0 @@
|
|
1
|
-
import { defineComponent as be, toRefs as ke, ref as v, onMounted as xe, onUnmounted as ge, computed as B, watch as Ce, resolveComponent as I, openBlock as i, createBlock as g, unref as e, withCtx as m, createElementVNode as c, createElementBlock as h, createVNode as b, Fragment as _e, renderList as we, withDirectives as Ne, resolveDynamicComponent as Ke, createCommentVNode as C, createTextVNode as _, toDisplayString as k, vShow as Re, nextTick as A } from "vue";
|
2
|
-
import { D as w, c as Se, h as G, l as $e, k as De, n as Ie, I as f, a as H, U as N, R as Ue, M as Te } 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
|
-
import "vue-router";
|
10
|
-
import "./assets/intro.js-Cg1adLK7.js";
|
11
|
-
const Ve = { class: "tree-left" }, qe = {
|
12
|
-
key: 2,
|
13
|
-
class: "ha-empty"
|
14
|
-
}, Le = {
|
15
|
-
key: 3,
|
16
|
-
class: "tree-add"
|
17
|
-
}, Je = /* @__PURE__ */ be({
|
18
|
-
__name: "Tree",
|
19
|
-
props: {
|
20
|
-
searchData: {},
|
21
|
-
route: {},
|
22
|
-
module: {},
|
23
|
-
schema: {},
|
24
|
-
table: {},
|
25
|
-
layout: {},
|
26
|
-
next: {},
|
27
|
-
set: {},
|
28
|
-
url: {},
|
29
|
-
win: {}
|
30
|
-
},
|
31
|
-
emits: ["refresh", "succeed", "search", "navigate"],
|
32
|
-
setup(J, { expose: Q, emit: W }) {
|
33
|
-
let x = W, X = J, { route: K, module: z, schema: Y, table: p, layout: o, next: y, set: Be, searchData: Z } = ke(X), R = v(), E = v(), U = v(), S = v(), M = v(), ee = v(), d = v({ type: null, name: null, url: null, visible: !1 }), $ = v(), T = null, r = v({ width: 250, currentNode: null, currentKey: null, expandedKeys: [], scrollTop: 0, visible: !1 }), O = () => {
|
34
|
-
if (!R.value)
|
35
|
-
return;
|
36
|
-
let t = R.value.$el.querySelector(".is-context");
|
37
|
-
t && t.classList.remove("is-context");
|
38
|
-
}, le = (t, l, a, n) => {
|
39
|
-
O(), n.vnode.el.classList.add("is-context"), r.value.currentNode = l, T.show(t);
|
40
|
-
}, D = (t) => {
|
41
|
-
let l = o.value.parentId, a = { [l]: null };
|
42
|
-
t == "sibling" ? a[l] = r.value.currentNode[l] : t == "child" && (a[l] = r.value.currentNode[o.value.id]);
|
43
|
-
let n = w.base64.encode(a), u;
|
44
|
-
t == "copy" ? u = `${y.value.copy.route}?id=${r.value.currentNode[o.value.id]}&` : u = `${y.value.insert.route}?`, u += `default=${n}`, d.value.url = u, d.value.visible = !0;
|
45
|
-
}, P = () => {
|
46
|
-
let t = r.value.currentNode[o.value.id], l = r.value.currentNode[o.value.text], a = f.t("common.confirm_delete", l);
|
47
|
-
w.messenger.confirm(f.t("common.tips"), a, { type: "warning" }).then(() => {
|
48
|
-
te(t);
|
49
|
-
});
|
50
|
-
}, te = (t) => {
|
51
|
-
let l = o.value.id, a = o.value.data, n = N.tree.getNextById(t, l, a, "Children");
|
52
|
-
w.http.post(y.value.delete.route, [t]).then(() => {
|
53
|
-
N.tree.removeById(t, l, a, "Children");
|
54
|
-
let u = null;
|
55
|
-
n && (u = n[l], r.value.currentKey = u, r.value.expandedKeys.push(u)), x("succeed", () => {
|
56
|
-
V(r.value.scrollTop);
|
57
|
-
});
|
58
|
-
});
|
59
|
-
}, re = (t) => {
|
60
|
-
r.value.scrollTop = t.scrollTop;
|
61
|
-
}, V = (t = null, l = null) => {
|
62
|
-
r.value.visible = !1, A(() => {
|
63
|
-
r.value.visible = !0, A(() => {
|
64
|
-
if (t == null) {
|
65
|
-
let a = R.value.$el.querySelector(".el-tree-node.is-current");
|
66
|
-
a && a.scrollIntoView({ block: "center", behavior: "smooth" });
|
67
|
-
} else
|
68
|
-
S.value.setScrollTop(t);
|
69
|
-
l && l();
|
70
|
-
});
|
71
|
-
});
|
72
|
-
}, oe = () => {
|
73
|
-
d.value.visible = !1, x("succeed", () => {
|
74
|
-
V(r.value.scrollTop);
|
75
|
-
});
|
76
|
-
}, ae = (t) => {
|
77
|
-
d.value.type = t.module.type, d.value.name = t.module.name;
|
78
|
-
}, ne = () => {
|
79
|
-
d.value.visible = !1;
|
80
|
-
}, ue = (t, l, a) => {
|
81
|
-
O();
|
82
|
-
let n = t[o.value.id];
|
83
|
-
if (N.array.pushIfNotExist(r.value.expandedKeys, n), n == r.value.currentKey)
|
84
|
-
U.value.refresh();
|
85
|
-
else {
|
86
|
-
r.value.currentKey = n, $.value = q();
|
87
|
-
let u = N.url.getUrl(K.value.fullPath, { id: n });
|
88
|
-
x("navigate", u);
|
89
|
-
}
|
90
|
-
}, se = (t, l, a) => {
|
91
|
-
N.array.remove(r.value.expandedKeys, t[o.value.id]);
|
92
|
-
}, de = (t, l, a, n) => {
|
93
|
-
let u = {
|
94
|
-
table: o.value.table,
|
95
|
-
id: t.data[o.value.id],
|
96
|
-
targetId: l.data[o.value.id],
|
97
|
-
position: a
|
98
|
-
};
|
99
|
-
w.http.post(o.value.operation.route, u).then((F) => {
|
100
|
-
});
|
101
|
-
}, ie = (t) => {
|
102
|
-
x("search", t);
|
103
|
-
}, ce = (t) => {
|
104
|
-
}, ve = (t, l) => t ? l[p.value.text].indexOf(t) !== -1 : !0, fe = () => {
|
105
|
-
x("refresh");
|
106
|
-
}, me = (t, l) => {
|
107
|
-
Ue.module.triggerKeyboard(U.value, t, l);
|
108
|
-
}, pe = () => {
|
109
|
-
S.value.update();
|
110
|
-
}, q = () => {
|
111
|
-
let t = y.value[o.value.page.toLowerCase()].route;
|
112
|
-
return r.value.currentKey && (t += "?id=" + r.value.currentKey), t;
|
113
|
-
}, ye = () => {
|
114
|
-
let t = K.value.query.id, l;
|
115
|
-
t == null ? l = o.value.updateKey : l = G.convert(t, j.value.type), l && (r.value.currentKey = l, r.value.expandedKeys = [l], $.value = q()), V(null, () => {
|
116
|
-
T = new Te(E.value, [S.value.$el, M.value]);
|
117
|
-
});
|
118
|
-
};
|
119
|
-
xe(() => {
|
120
|
-
ye();
|
121
|
-
}), ge(() => {
|
122
|
-
T.dispose();
|
123
|
-
}), B(() => {
|
124
|
-
let t = { [o.value.parentId]: K.value.query.id };
|
125
|
-
return w.base64.encode(t);
|
126
|
-
});
|
127
|
-
let he = B(() => {
|
128
|
-
let t = `/${p.value.name}/tree-node`;
|
129
|
-
return Se.getComponent(t, "partial", "tree-node");
|
130
|
-
}), j = B(() => p.value.fields.find((l) => l.name == o.value.id));
|
131
|
-
return Ce(() => K.value, (t, l) => {
|
132
|
-
r.value.currentKey = G.convert(t.query.id, j.value.type), $.value = q();
|
133
|
-
}), Q({ onRefresh: fe, onKeyboard: me, onResize: pe }), (t, l) => {
|
134
|
-
const a = I("el-scrollbar"), n = I("el-tree"), u = I("el-button"), F = I("el-drawer");
|
135
|
-
return i(), g(e($e), {
|
136
|
-
class: "tree",
|
137
|
-
width: e(r).width,
|
138
|
-
onResize: l[5] || (l[5] = (s) => e(r).width = s)
|
139
|
-
}, {
|
140
|
-
left: m(() => [
|
141
|
-
c("div", Ve, [
|
142
|
-
e(p).search.length ? (i(), h("div", {
|
143
|
-
key: 0,
|
144
|
-
ref_key: "searchRef",
|
145
|
-
ref: ee,
|
146
|
-
class: "tree-search"
|
147
|
-
}, [
|
148
|
-
b(a, null, {
|
149
|
-
default: m(() => [
|
150
|
-
(i(!0), h(_e, null, we(e(p).search, (s, L) => (i(), h("div", {
|
151
|
-
class: "search-field",
|
152
|
-
key: L
|
153
|
-
}, [
|
154
|
-
b(e(De), {
|
155
|
-
schema: e(Y),
|
156
|
-
table: e(p),
|
157
|
-
field: s,
|
158
|
-
"search-data": e(Z),
|
159
|
-
onChange: e(ce),
|
160
|
-
onSubmit: e(ie)
|
161
|
-
}, null, 8, ["schema", "table", "field", "search-data", "onChange", "onSubmit"])
|
162
|
-
]))), 128))
|
163
|
-
]),
|
164
|
-
_: 1
|
165
|
-
})
|
166
|
-
], 512)) : (i(), g(e(Ie), {
|
167
|
-
key: 1,
|
168
|
-
title: e(f).module(e(z).type, e(z).name)
|
169
|
-
}, null, 8, ["title"])),
|
170
|
-
Ne(b(a, {
|
171
|
-
ref_key: "scrollbarRef",
|
172
|
-
ref: S,
|
173
|
-
class: "tree-content",
|
174
|
-
onScroll: e(re)
|
175
|
-
}, {
|
176
|
-
default: m(() => [
|
177
|
-
e(r).visible ? (i(), g(n, {
|
178
|
-
key: 0,
|
179
|
-
ref_key: "treeRef",
|
180
|
-
ref: R,
|
181
|
-
"highlight-current": "",
|
182
|
-
"show-checkbox": e(o).checkbox,
|
183
|
-
"expand-on-click-node": !1,
|
184
|
-
draggable: !!e(o).operation,
|
185
|
-
data: e(o).data,
|
186
|
-
"node-key": e(o).id,
|
187
|
-
"current-node-key": e(r).currentKey,
|
188
|
-
props: { children: "Children", label: e(o).text },
|
189
|
-
"filter-node-method": e(ve),
|
190
|
-
"default-expanded-keys": e(r).expandedKeys,
|
191
|
-
onNodeClick: e(ue),
|
192
|
-
onNodeContextmenu: e(le),
|
193
|
-
onNodeCollapse: e(se),
|
194
|
-
onNodeDrop: e(de)
|
195
|
-
}, {
|
196
|
-
default: m(({ node: s, data: L }) => [
|
197
|
-
(i(), g(Ke(e(he)), {
|
198
|
-
table: e(p),
|
199
|
-
layout: e(o),
|
200
|
-
row: L,
|
201
|
-
node: s
|
202
|
-
}, null, 8, ["table", "layout", "row", "node"]))
|
203
|
-
]),
|
204
|
-
_: 1
|
205
|
-
}, 8, ["show-checkbox", "draggable", "data", "node-key", "current-node-key", "props", "filter-node-method", "default-expanded-keys", "onNodeClick", "onNodeContextmenu", "onNodeCollapse", "onNodeDrop"])) : C("", !0),
|
206
|
-
c("ul", {
|
207
|
-
ref_key: "menuRef",
|
208
|
-
ref: E,
|
209
|
-
class: "mouse-context"
|
210
|
-
}, [
|
211
|
-
c("li", {
|
212
|
-
onClick: l[0] || (l[0] = (s) => e(D)("child"))
|
213
|
-
}, [
|
214
|
-
l[6] || (l[6] = c("i", { class: "fa fa-plus" }, null, -1)),
|
215
|
-
_(k(e(f).t("tree.add_sub_item")), 1)
|
216
|
-
]),
|
217
|
-
c("li", {
|
218
|
-
onClick: l[1] || (l[1] = (s) => e(D)("sibling"))
|
219
|
-
}, [
|
220
|
-
l[7] || (l[7] = c("i", { class: "fa fa-plus" }, null, -1)),
|
221
|
-
_(k(e(f).t("tree.add_same_grade")), 1)
|
222
|
-
]),
|
223
|
-
c("li", {
|
224
|
-
onClick: l[2] || (l[2] = (s) => e(D)("copy"))
|
225
|
-
}, [
|
226
|
-
l[8] || (l[8] = c("i", { class: "fa fa-copy" }, null, -1)),
|
227
|
-
_(k(e(f).t("common.copy")), 1)
|
228
|
-
]),
|
229
|
-
e(y).delete ? (i(), h("li", {
|
230
|
-
key: 0,
|
231
|
-
onClick: l[3] || (l[3] = //@ts-ignore
|
232
|
-
(...s) => e(P) && e(P)(...s))
|
233
|
-
}, [
|
234
|
-
l[9] || (l[9] = c("i", { class: "fa fa-trash" }, null, -1)),
|
235
|
-
_(k(e(f).t("common.delete")), 1)
|
236
|
-
])) : C("", !0)
|
237
|
-
], 512)
|
238
|
-
]),
|
239
|
-
_: 1
|
240
|
-
}, 8, ["onScroll"]), [
|
241
|
-
[Re, e(o).data.length]
|
242
|
-
]),
|
243
|
-
e(o).data.length ? C("", !0) : (i(), h("div", qe, k(e(f).t("common.no_data")), 1)),
|
244
|
-
!e(o).data.length && e(y).insert ? (i(), h("div", Le, [
|
245
|
-
b(u, {
|
246
|
-
type: "primary",
|
247
|
-
onClick: e(D)
|
248
|
-
}, {
|
249
|
-
icon: m(() => l[10] || (l[10] = [
|
250
|
-
c("i", { class: "fa fa-plus" }, null, -1)
|
251
|
-
])),
|
252
|
-
default: m(() => [
|
253
|
-
_(" " + k(e(y).insert.title), 1)
|
254
|
-
]),
|
255
|
-
_: 1
|
256
|
-
}, 8, ["onClick"])
|
257
|
-
])) : C("", !0)
|
258
|
-
])
|
259
|
-
]),
|
260
|
-
default: m(() => [
|
261
|
-
c("div", {
|
262
|
-
ref_key: "detailRef",
|
263
|
-
ref: M,
|
264
|
-
class: "tree-detail"
|
265
|
-
}, [
|
266
|
-
e(r).currentKey ? (i(), g(e(H), {
|
267
|
-
key: 0,
|
268
|
-
ref_key: "singleRef",
|
269
|
-
ref: U,
|
270
|
-
url: e($)
|
271
|
-
}, null, 8, ["url"])) : C("", !0)
|
272
|
-
], 512),
|
273
|
-
b(F, {
|
274
|
-
size: "60%",
|
275
|
-
"destroy-on-close": "",
|
276
|
-
title: e(f).module(e(d).type, e(d).name),
|
277
|
-
modelValue: e(d).visible,
|
278
|
-
"onUpdate:modelValue": l[4] || (l[4] = (s) => e(d).visible = s)
|
279
|
-
}, {
|
280
|
-
default: m(() => [
|
281
|
-
b(e(H), {
|
282
|
-
url: e(d).url,
|
283
|
-
onLoaded: e(ae),
|
284
|
-
onSucceed: e(oe),
|
285
|
-
onClose: e(ne)
|
286
|
-
}, null, 8, ["url", "onLoaded", "onSucceed", "onClose"])
|
287
|
-
]),
|
288
|
-
_: 1
|
289
|
-
}, 8, ["title", "modelValue"])
|
290
|
-
]),
|
291
|
-
_: 1
|
292
|
-
}, 8, ["width"]);
|
293
|
-
};
|
294
|
-
}
|
295
|
-
});
|
296
|
-
export {
|
297
|
-
Je as default
|
298
|
-
};
|
@@ -1,43 +0,0 @@
|
|
1
|
-
import { defineComponent as x, toRefs as h, computed as C, openBlock as a, createElementBlock as s, unref as e, createElementVNode as N, toDisplayString as i, createTextVNode as b, createCommentVNode as d } from "vue";
|
2
|
-
import { I as g, U as y } 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 k = ["title"], v = { class: "number" }, V = {
|
10
|
-
key: 0,
|
11
|
-
class: "option-suffix"
|
12
|
-
}, B = {
|
13
|
-
key: 1,
|
14
|
-
class: "count"
|
15
|
-
}, L = /* @__PURE__ */ x({
|
16
|
-
__name: "TreeNode",
|
17
|
-
props: {
|
18
|
-
table: {},
|
19
|
-
layout: {},
|
20
|
-
row: {},
|
21
|
-
node: {}
|
22
|
-
},
|
23
|
-
setup(p) {
|
24
|
-
let u = p, { table: m, layout: r, row: t, node: c } = h(u), f = (o, l) => {
|
25
|
-
let n = (o.parent.data.Children ? o.parent.data.Children.indexOf(l) : o.parent.data.indexOf(l)) + 1;
|
26
|
-
return y.string.padLeft(n, 2, "0");
|
27
|
-
}, _ = C(() => m.value.fields.find((n) => n.name == r.value.text).control.i18N);
|
28
|
-
return (o, l) => {
|
29
|
-
var n;
|
30
|
-
return a(), s("div", {
|
31
|
-
title: e(t)[e(r).title]
|
32
|
-
}, [
|
33
|
-
N("span", v, i(e(f)(e(c), e(t))), 1),
|
34
|
-
b(" " + i((n = e(_)) != null && n.value ? e(g).t(e(t)[e(r).text]) : e(t)[e(r).text]) + " ", 1),
|
35
|
-
e(r).suffix ? (a(), s("span", V, i(e(t)[e(r).suffix]), 1)) : d("", !0),
|
36
|
-
e(t).Children && e(t).Children.length > 0 ? (a(), s("span", B, "(" + i(e(t).Children.length) + ")", 1)) : d("", !0)
|
37
|
-
], 8, k);
|
38
|
-
};
|
39
|
-
}
|
40
|
-
});
|
41
|
-
export {
|
42
|
-
L as default
|
43
|
-
};
|
package/dist/Update-Ct44IN2J.js
DELETED
@@ -1,70 +0,0 @@
|
|
1
|
-
import { defineComponent as b, toRefs as C, ref as x, resolveComponent as g, openBlock as v, createBlock as y, unref as t, withCtx as o, createVNode as m, createSlots as N, createTextVNode as a, toDisplayString as p, createElementVNode as c } 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 { p as V, I as u } from "./main-BJRpvr2g.js";
|
9
|
-
import "element-plus";
|
10
|
-
import "vue-router";
|
11
|
-
import "./assets/intro.js-Cg1adLK7.js";
|
12
|
-
const q = /* @__PURE__ */ b({
|
13
|
-
__name: "Update",
|
14
|
-
props: {
|
15
|
-
table: {},
|
16
|
-
layout: {},
|
17
|
-
next: {},
|
18
|
-
set: {}
|
19
|
-
},
|
20
|
-
emits: ["submit", "close"],
|
21
|
-
setup(f, { expose: d, emit: _ }) {
|
22
|
-
let l = _;
|
23
|
-
C(f);
|
24
|
-
let n = x(!1), i = (r) => {
|
25
|
-
n.value = !0, l("submit", r, null, (e) => {
|
26
|
-
n.value = !1;
|
27
|
-
});
|
28
|
-
}, k = () => {
|
29
|
-
l("close");
|
30
|
-
};
|
31
|
-
return d({ submit: i }), (r, e) => {
|
32
|
-
const s = g("el-button");
|
33
|
-
return v(), y(t(V), { padding: 5 }, {
|
34
|
-
default: o(() => [
|
35
|
-
m(s, {
|
36
|
-
type: "primary",
|
37
|
-
loading: t(n),
|
38
|
-
onClick: t(i)
|
39
|
-
}, N({
|
40
|
-
default: o(() => [
|
41
|
-
a(" " + p(t(u).t("common.confirm")), 1)
|
42
|
-
]),
|
43
|
-
_: 2
|
44
|
-
}, [
|
45
|
-
t(n) ? void 0 : {
|
46
|
-
name: "icon",
|
47
|
-
fn: o(() => [
|
48
|
-
e[0] || (e[0] = c("i", { class: "fa fa-check" }, null, -1))
|
49
|
-
]),
|
50
|
-
key: "0"
|
51
|
-
}
|
52
|
-
]), 1032, ["loading", "onClick"]),
|
53
|
-
m(s, { onClick: t(k) }, {
|
54
|
-
icon: o(() => e[1] || (e[1] = [
|
55
|
-
c("i", { class: "fa fa-chevron-left" }, null, -1)
|
56
|
-
])),
|
57
|
-
default: o(() => [
|
58
|
-
a(" " + p(t(u).t("common.back")), 1)
|
59
|
-
]),
|
60
|
-
_: 1
|
61
|
-
}, 8, ["onClick"])
|
62
|
-
]),
|
63
|
-
_: 1
|
64
|
-
});
|
65
|
-
};
|
66
|
-
}
|
67
|
-
});
|
68
|
-
export {
|
69
|
-
q as default
|
70
|
-
};
|