halo-pc 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +46 -0
- package/dist/Article-lRUJ_OJd.js +195 -0
- package/dist/ArticleFooter-BAf1rKUX.js +78 -0
- package/dist/Autocomplete-BZC6nm8e.js +51 -0
- package/dist/Autocomplete-Bi_l7zwo.js +52 -0
- package/dist/Autocomplete-zUWf79cr.js +27 -0
- package/dist/CSharp-DE5nh_O4.js +27 -0
- package/dist/Calender-BySvLRJq.js +10 -0
- package/dist/Callback-DPPWZw_u.js +20 -0
- package/dist/Cascader-BsPUAtBL.js +83 -0
- package/dist/Cascader-CHVgZRdk.js +44 -0
- package/dist/Checkbox-BKx6xpIx.js +27 -0
- package/dist/Checkbox-D928Sp6S.js +69 -0
- package/dist/Code-Chrbr4KP.js +39 -0
- package/dist/Code-De2Uv1Px.js +4 -0
- package/dist/Code-GhBd93wc.js +28 -0
- package/dist/Code-qQK_4OZ6.js +57 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-B5F-OmjA.js +62 -0
- package/dist/Color-CfXtJFUo.js +22 -0
- package/dist/Color-Da69pnQg.js +34 -0
- package/dist/Column-DW9n0ein.js +68 -0
- package/dist/Comment-Cod3CMDP.js +101 -0
- package/dist/Compare-7rmSR2Vp.js +57 -0
- package/dist/Compare-D-WXTccH.js +27 -0
- package/dist/Copy-PYxtclV3.js +43 -0
- package/dist/Custom-RoQe4kW_.js +52 -0
- package/dist/DataExport-DzADLzN4.js +4 -0
- package/dist/DataExport.vue_vue_type_script_setup_true_lang-B0DjFKm0.js +111 -0
- package/dist/DataImport-CgdY4oAg.js +4 -0
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-BOpao8ja.js +172 -0
- package/dist/Date-B9tmMFuT.js +36 -0
- package/dist/Date-Dr80JkYm.js +27 -0
- package/dist/DateRange-CxGZSLKj.js +60 -0
- package/dist/DateRange-DrYK_l0Y.js +19 -0
- package/dist/DateTime-BzjTeOtg.js +27 -0
- package/dist/DateTime-Ce1NnyqQ.js +37 -0
- package/dist/DateTimeRange-Cr_pV6VX.js +61 -0
- package/dist/Daterange-BW8avRzM.js +60 -0
- package/dist/Decimal-C38-N54B.js +36 -0
- package/dist/Decimal-CnaJfnyD.js +27 -0
- package/dist/Delete-D6JpsqZ1.js +55 -0
- package/dist/Detail-DPV7avRs.js +69 -0
- package/dist/Dictionary-Bf5W_pJM.js +58 -0
- package/dist/Email-BGc1mV9s.js +47 -0
- package/dist/Email-BKW9GRcH.js +19 -0
- package/dist/File-KSe9LUnT.js +157 -0
- package/dist/HoSwitch.vue_vue_type_style_index_0_lang-F1qgXnFx.js +46 -0
- package/dist/Image-Cz3sAz75.js +9 -0
- package/dist/Index-5i8NweBu.js +4 -0
- package/dist/Index-9AheG9bs.js +4 -0
- package/dist/Index-BAdLGn2X.js +4 -0
- package/dist/Index-BSQve4ig.js +4 -0
- package/dist/Index-CFsJEcLx.js +170 -0
- package/dist/Index-CLJ35fvo.js +73 -0
- package/dist/Index-DXnaWCq-.js +4 -0
- package/dist/Index-DaGrzGG9.js +4 -0
- package/dist/Index.vue_vue_type_script_setup_true_lang-Crvp7013.js +63 -0
- package/dist/Index.vue_vue_type_script_setup_true_lang-DaRdnMqk.js +75 -0
- package/dist/Index.vue_vue_type_script_setup_true_lang-gv23r-9D.js +36 -0
- package/dist/Index.vue_vue_type_style_index_0_lang-Cdczm43D.js +112 -0
- package/dist/Install-Dx1MoGVW.js +129 -0
- package/dist/Int-AE2e9jyG.js +37 -0
- package/dist/Int-B-t8edhd.js +19 -0
- package/dist/Int-CfvU-cuR.js +44 -0
- package/dist/List-BBpYGaUx.js +75 -0
- package/dist/Maintaince-Bs1_cOam.js +15 -0
- package/dist/Markdown-BzMP3m7o.js +37 -0
- package/dist/Markdown-DnPCfzFD.js +27 -0
- package/dist/Month-BVKakHhk.js +36 -0
- package/dist/Month-BbbcEZef.js +27 -0
- package/dist/Month-D9r3wt_e.js +37 -0
- package/dist/Normal-DglkJvhE.js +253 -0
- package/dist/Paging-C3ntgZx5.js +93 -0
- package/dist/PagingHeader-CBXHiUXR.js +140 -0
- package/dist/PagingRow-tny-wHwu.js +66 -0
- package/dist/Password-DuyYEgzR.js +55 -0
- package/dist/Password-yHtlY-Qa.js +24 -0
- package/dist/Progress-C3D821AQ.js +34 -0
- package/dist/Progress-CKVzMO-W.js +25 -0
- package/dist/QueryApi-CPyNgIKy.js +13 -0
- package/dist/Racebar-Cseghx3Z.js +165 -0
- package/dist/Radio-BrSONLbo.js +27 -0
- package/dist/Radio-DkcBKBvX.js +47 -0
- package/dist/Rate-B7jKTFKT.js +34 -0
- package/dist/Rate-BmC4gw_0.js +34 -0
- package/dist/Register-D7gvuJiE.js +201 -0
- package/dist/RichText-Bk0Msyhl.js +22 -0
- package/dist/RichText-DQvrv6V7.js +104 -0
- package/dist/SearchFooter-DzxrSako.js +4 -0
- package/dist/SearchFooter.vue_vue_type_style_index_0_lang-h-wf1D-o.js +55 -0
- package/dist/SearchForm-Bo0nk2o4.js +4 -0
- package/dist/SearchForm.vue_vue_type_style_index_0_lang-37Paf-X_.js +148 -0
- package/dist/Select-CIWL2QB_.js +27 -0
- package/dist/Select-DAIbIG11.js +114 -0
- package/dist/Select-Dqw7DP-6.js +80 -0
- package/dist/Single-CfmqNmeA.js +322 -0
- package/dist/Statistic--Bow2CyV.js +160 -0
- package/dist/Statistic-B_mgjlnr.js +76 -0
- package/dist/Stock-Bjygq6ei.js +4 -0
- package/dist/Stock-U6JTFd2R.js +28 -0
- package/dist/Stock.vue_vue_type_style_index_0_lang-BZ0BHU-F.js +301 -0
- package/dist/Switch-DhFaku5L.js +50 -0
- package/dist/Switch-qLwHUFTL.js +27 -0
- package/dist/Table-DZH3tqZj.js +238 -0
- package/dist/Table-mDlEBMBs.js +317 -0
- package/dist/Text-CLMVbFyi.js +52 -0
- package/dist/Text-DJbk5I_4.js +4 -0
- package/dist/Text-EQNK15_K.js +51 -0
- package/dist/Text.vue_vue_type_style_index_0_lang-DBJbK62d.js +55 -0
- package/dist/TextLink-B6X1_Ltd.js +65 -0
- package/dist/Textarea-CnS6jb4O.js +28 -0
- package/dist/Textarea-D9TgF9ig.js +37 -0
- package/dist/Time-CRVru-6c.js +36 -0
- package/dist/Timeline-D5mZs0I9.js +56 -0
- package/dist/Tree-NDzpgIjQ.js +294 -0
- package/dist/Tree-V2yFzSQf.js +120 -0
- package/dist/TreeNode-CrdOVIey.js +37 -0
- package/dist/Tree_Old-h__WmqFA.js +11 -0
- package/dist/Update-BGhgeWpg.js +64 -0
- package/dist/UpdateChild-CA0P17tZ.js +85 -0
- package/dist/Upload-BRAVjqfB.js +146 -0
- package/dist/Upload-DG8svROr.js +70 -0
- package/dist/UploadApi-DsqrvBXQ.js +17 -0
- package/dist/Year-DBuvSBYN.js +40 -0
- package/dist/Year-De0vEkgD.js +27 -0
- package/dist/main-_4re--C1.js +5981 -0
- package/dist/main.js +90 -0
- package/dist/style.css +1 -0
- package/dist/vendor-@intlify-BISCQg1h.js +2189 -0
- package/dist/vendor-@monaco-editor-DKC4UNw_.js +258 -0
- package/dist/vendor-@vue-aVYGocXp.js +93 -0
- package/dist/vendor-axios-ud9O0vdJ.js +1670 -0
- package/dist/vendor-clipboard-BqjesuiY.js +521 -0
- package/dist/vendor-clone-BPtCWdXG.js +134 -0
- package/dist/vendor-crypto-js-ftX_aBC-.js +4995 -0
- package/dist/vendor-element-plus-Z7vJFrsh.js +456 -0
- package/dist/vendor-file-saver-CytTIJ-3.js +74 -0
- package/dist/vendor-intro.js-CZkClzQO.js +1695 -0
- package/dist/vendor-moment-h96o7c8I.js +2578 -0
- package/dist/vendor-pinia-yrN6kSxh.js +861 -0
- package/dist/vendor-sprintf-js-BPTdvBYM.js +148 -0
- package/dist/vendor-state-local-CEworIRt.js +131 -0
- package/dist/vendor-underscore-DVTek3G4.js +1070 -0
- package/dist/vendor-underscore.string-BEHfJwHl.js +425 -0
- package/dist/vendor-util-deprecate-DzpNkCzj.js +28 -0
- package/dist/vendor-vue-demi-CIhrFbpB.js +17 -0
- package/dist/vendor-vue-i18n-C3KH15Qn.js +1670 -0
- package/esm/App.vue.d.ts +2 -0
- package/esm/api/QueryApi.d.ts +10 -0
- package/esm/api/UploadApi.d.ts +10 -0
- package/esm/api/index.d.ts +3 -0
- package/esm/components/business/HoCondition.vue.d.ts +18 -0
- package/esm/components/business/HoCrud.vue.d.ts +29 -0
- package/esm/components/business/HoDrawer.vue.d.ts +24 -0
- package/esm/components/business/HoDriver.vue.d.ts +52 -0
- package/esm/components/business/HoFeedback.vue.d.ts +8 -0
- package/esm/components/business/HoForm.vue.d.ts +23 -0
- package/esm/components/business/HoSwitch.vue.d.ts +24 -0
- package/esm/components/business/HoWelcome.vue.d.ts +8 -0
- package/esm/components/business/index.d.ts +123 -0
- package/esm/components/controls/Autocomplete.vue.d.ts +24 -0
- package/esm/components/controls/Cascader.vue.d.ts +24 -0
- package/esm/components/controls/Checkbox.vue.d.ts +22 -0
- package/esm/components/controls/Code.vue.d.ts +24 -0
- package/esm/components/controls/Color.vue.d.ts +24 -0
- package/esm/components/controls/Compare.vue.d.ts +24 -0
- package/esm/components/controls/Date.vue.d.ts +24 -0
- package/esm/components/controls/DateRange.vue.d.ts +24 -0
- package/esm/components/controls/DateTime.vue.d.ts +24 -0
- package/esm/components/controls/DateTimeRange.vue.d.ts +24 -0
- package/esm/components/controls/Decimal.vue.d.ts +24 -0
- package/esm/components/controls/Email.vue.d.ts +24 -0
- package/esm/components/controls/Image.vue.d.ts +2 -0
- package/esm/components/controls/Index.vue.d.ts +22 -0
- package/esm/components/controls/Int.vue.d.ts +24 -0
- package/esm/components/controls/Markdown.vue.d.ts +24 -0
- package/esm/components/controls/Month.vue.d.ts +24 -0
- package/esm/components/controls/Password.vue.d.ts +24 -0
- package/esm/components/controls/Progress.vue.d.ts +24 -0
- package/esm/components/controls/Radio.vue.d.ts +24 -0
- package/esm/components/controls/Rate.vue.d.ts +24 -0
- package/esm/components/controls/RichText.vue.d.ts +22 -0
- package/esm/components/controls/Select.vue.d.ts +24 -0
- package/esm/components/controls/Switch.vue.d.ts +24 -0
- package/esm/components/controls/Text.vue.d.ts +26 -0
- package/esm/components/controls/Textarea.vue.d.ts +24 -0
- package/esm/components/controls/Time.vue.d.ts +24 -0
- package/esm/components/controls/Upload.vue.d.ts +24 -0
- package/esm/components/controls/Year.vue.d.ts +24 -0
- package/esm/components/controls/index.d.ts +26 -0
- package/esm/components/headers/Breadcrumb.vue.d.ts +2 -0
- package/esm/components/headers/Debugger.vue.d.ts +2 -0
- package/esm/components/headers/Hamburger.vue.d.ts +18 -0
- package/esm/components/headers/HeaderRight.vue.d.ts +2 -0
- package/esm/components/headers/Index.vue.d.ts +6 -0
- package/esm/components/headers/Log.vue.d.ts +2 -0
- package/esm/components/headers/Logo.vue.d.ts +6 -0
- package/esm/components/headers/Refresh.vue.d.ts +6 -0
- package/esm/components/headers/Setting.vue.d.ts +8 -0
- package/esm/components/headers/index.d.ts +3 -0
- package/esm/components/index.d.ts +8 -0
- package/esm/components/layouts/Desktop.vue.d.ts +2 -0
- package/esm/components/layouts/Index.vue.d.ts +2 -0
- package/esm/components/layouts/Side.vue.d.ts +2 -0
- package/esm/components/layouts/Top.vue.d.ts +2 -0
- package/esm/components/layouts/index.d.ts +7 -0
- package/esm/components/lists/Calender.vue.d.ts +2 -0
- package/esm/components/lists/Racebar.vue.d.ts +18 -0
- package/esm/components/lists/Statistic.vue.d.ts +18 -0
- package/esm/components/lists/Stock.vue.d.ts +12 -0
- package/esm/components/lists/Timeline.vue.d.ts +12 -0
- package/esm/components/lists/Tree.vue.d.ts +26 -0
- package/esm/components/lists/index.d.ts +15 -0
- package/esm/components/pages/Column.vue.d.ts +22 -0
- package/esm/components/pages/Custom.vue.d.ts +25 -0
- package/esm/components/pages/Delete.vue.d.ts +20 -0
- package/esm/components/pages/Index.vue.d.ts +2 -0
- package/esm/components/pages/List.vue.d.ts +24 -0
- package/esm/components/pages/Paging.vue.d.ts +24 -0
- package/esm/components/pages/Single.vue.d.ts +28 -0
- package/esm/components/pages/index.d.ts +146 -0
- package/esm/components/pagings/Article.vue.d.ts +27 -0
- package/esm/components/pagings/Code.vue.d.ts +12 -0
- package/esm/components/pagings/DataExport.vue.d.ts +33 -0
- package/esm/components/pagings/DataImport.vue.d.ts +18 -0
- package/esm/components/pagings/File.vue.d.ts +12 -0
- package/esm/components/pagings/Index.vue.d.ts +33 -0
- package/esm/components/pagings/SearchFooter.vue.d.ts +122 -0
- package/esm/components/pagings/SearchForm.vue.d.ts +72 -0
- package/esm/components/pagings/Table.vue.d.ts +31 -0
- package/esm/components/pagings/index.d.ts +11 -0
- package/esm/components/partials/ArticleFooter.vue.d.ts +24 -0
- package/esm/components/partials/Detail.vue.d.ts +20 -0
- package/esm/components/partials/PagingHeader.vue.d.ts +28 -0
- package/esm/components/partials/PagingRow.vue.d.ts +24 -0
- package/esm/components/partials/TreeNode.vue.d.ts +12 -0
- package/esm/components/partials/Update.vue.d.ts +20 -0
- package/esm/components/partials/UpdateChild.vue.d.ts +22 -0
- package/esm/components/partials/index.d.ts +135 -0
- package/esm/components/searches/Autocomplete.vue.d.ts +24 -0
- package/esm/components/searches/Daterange.vue.d.ts +22 -0
- package/esm/components/searches/Index.vue.d.ts +18 -0
- package/esm/components/searches/Int.vue.d.ts +24 -0
- package/esm/components/searches/Month.vue.d.ts +24 -0
- package/esm/components/searches/Select.vue.d.ts +24 -0
- package/esm/components/searches/Text.vue.d.ts +24 -0
- package/esm/components/searches/index.d.ts +7 -0
- package/esm/components/singles/Code.vue.d.ts +18 -0
- package/esm/components/singles/Comment.vue.d.ts +12 -0
- package/esm/components/singles/Index.vue.d.ts +25 -0
- package/esm/components/singles/Normal.vue.d.ts +21 -0
- package/esm/components/singles/Statistic.vue.d.ts +12 -0
- package/esm/components/singles/Stock.vue.d.ts +12 -0
- package/esm/components/singles/Table.vue.d.ts +22 -0
- package/esm/components/singles/Tree.vue.d.ts +14 -0
- package/esm/components/singles/Tree_Old.vue.d.ts +2 -0
- package/esm/components/singles/index.d.ts +15 -0
- package/esm/components/texts/Autocomplete.vue.d.ts +16 -0
- package/esm/components/texts/CSharp.vue.d.ts +16 -0
- package/esm/components/texts/Cascader.vue.d.ts +22 -0
- package/esm/components/texts/Checkbox.vue.d.ts +16 -0
- package/esm/components/texts/Code.vue.d.ts +16 -0
- package/esm/components/texts/Color.vue.d.ts +16 -0
- package/esm/components/texts/Compare.vue.d.ts +16 -0
- package/esm/components/texts/Copy.vue.d.ts +24 -0
- package/esm/components/texts/Date.vue.d.ts +16 -0
- package/esm/components/texts/DateRange.vue.d.ts +16 -0
- package/esm/components/texts/DateTime.vue.d.ts +16 -0
- package/esm/components/texts/Decimal.vue.d.ts +16 -0
- package/esm/components/texts/Dictionary.vue.d.ts +24 -0
- package/esm/components/texts/Email.vue.d.ts +16 -0
- package/esm/components/texts/Index.vue.d.ts +22 -0
- package/esm/components/texts/Int.vue.d.ts +16 -0
- package/esm/components/texts/Markdown.vue.d.ts +16 -0
- package/esm/components/texts/Month.vue.d.ts +16 -0
- package/esm/components/texts/Password.vue.d.ts +16 -0
- package/esm/components/texts/Progress.vue.d.ts +16 -0
- package/esm/components/texts/Radio.vue.d.ts +16 -0
- package/esm/components/texts/Rate.vue.d.ts +24 -0
- package/esm/components/texts/RichText.vue.d.ts +16 -0
- package/esm/components/texts/Select.vue.d.ts +16 -0
- package/esm/components/texts/Switch.vue.d.ts +16 -0
- package/esm/components/texts/Text.vue.d.ts +16 -0
- package/esm/components/texts/TextLink.vue.d.ts +29 -0
- package/esm/components/texts/Textarea.vue.d.ts +16 -0
- package/esm/components/texts/Upload.vue.d.ts +16 -0
- package/esm/components/texts/Year.vue.d.ts +16 -0
- package/esm/drivers/IDriver.d.ts +10 -0
- package/esm/drivers/cdns/Cdn.d.ts +13 -0
- package/esm/drivers/cdns/CdnFactory.d.ts +11 -0
- package/esm/drivers/cdns/ICdn.d.ts +30 -0
- package/esm/drivers/cdns/implements/BootCdn.d.ts +8 -0
- package/esm/drivers/cdns/implements/JsdelivrCdn.d.ts +11 -0
- package/esm/drivers/cdns/implements/LocalCdn.d.ts +8 -0
- package/esm/drivers/cdns/implements/StaticFileCdn.d.ts +8 -0
- package/esm/drivers/cdns/implements/UnpkgCdn.d.ts +8 -0
- package/esm/drivers/driver-helper.d.ts +36 -0
- package/esm/drivers/excels/ExcelFactory.d.ts +11 -0
- package/esm/drivers/excels/IExcel.d.ts +18 -0
- package/esm/drivers/excels/implements/XlsxExcel.d.ts +10 -0
- package/esm/drivers/explainers/Explainer.d.ts +4 -0
- package/esm/drivers/explainers/ExplainerFactory.d.ts +1 -0
- package/esm/drivers/explainers/IExplainer.d.ts +3 -0
- package/esm/drivers/explainers/implement/JsonExplainer.d.ts +4 -0
- package/esm/drivers/features/FeatureFactory.d.ts +11 -0
- package/esm/drivers/features/IFeature.d.ts +23 -0
- package/esm/drivers/features/implements/ExpressionFeature.d.ts +12 -0
- package/esm/drivers/features/implements/I18NFeature.d.ts +12 -0
- package/esm/drivers/features/implements/SortFeature.d.ts +13 -0
- package/esm/drivers/index.d.ts +7 -0
- package/esm/drivers/providers/IProvider.d.ts +43 -0
- package/esm/drivers/providers/ProviderFactory.d.ts +11 -0
- package/esm/drivers/providers/implements/IndexedDbProvider.d.ts +55 -0
- package/esm/drivers/requesters/IRequester.d.ts +17 -0
- package/esm/drivers/requesters/Requester.d.ts +8 -0
- package/esm/drivers/requesters/RequesterFactory.d.ts +11 -0
- package/esm/drivers/requesters/entities/HttpRequest.d.ts +22 -0
- package/esm/drivers/requesters/entities/HttpResponse.d.ts +19 -0
- package/esm/drivers/requesters/implements/DefaultRequester.d.ts +7 -0
- package/esm/drivers/signers/ISigner.d.ts +33 -0
- package/esm/drivers/signers/SignerFactory.d.ts +11 -0
- package/esm/drivers/signers/implements/DefaultSigner.d.ts +16 -0
- package/esm/drivers/ssos/ISso.d.ts +41 -0
- package/esm/drivers/ssos/SsoFactory.d.ts +11 -0
- package/esm/drivers/ssos/implements/AnonymousSso.d.ts +18 -0
- package/esm/drivers/ssos/implements/BearerSso.d.ts +22 -0
- package/esm/drivers/ssos/implements/NioSso.d.ts +23 -0
- package/esm/drivers/ssos/implements/SecretSso.d.ts +18 -0
- package/esm/drivers/ssos/implements/WeiXinSso.d.ts +20 -0
- package/esm/main.d.ts +7 -0
- package/esm/router/index.d.ts +10 -0
- package/esm/sdks/commons/HoCaptcha.vue.d.ts +14 -0
- package/esm/sdks/commons/HoCode.vue.d.ts +39 -0
- package/esm/sdks/commons/HoCol.vue.d.ts +9 -0
- package/esm/sdks/commons/HoCompare.vue.d.ts +40 -0
- package/esm/sdks/commons/HoContainer.vue.d.ts +21 -0
- package/esm/sdks/commons/HoDebug.vue.d.ts +9 -0
- package/esm/sdks/commons/HoEditable.vue.d.ts +13 -0
- package/esm/sdks/commons/HoEmpty.vue.d.ts +24 -0
- package/esm/sdks/commons/HoLoading.vue.d.ts +33 -0
- package/esm/sdks/commons/HoMouseContext.vue.d.ts +2 -0
- package/esm/sdks/commons/HoParticles.vue.d.ts +2 -0
- package/esm/sdks/commons/HoProgress.vue.d.ts +8 -0
- package/esm/sdks/commons/HoResizer.vue.d.ts +26 -0
- package/esm/sdks/commons/HoRow.vue.d.ts +19 -0
- package/esm/sdks/commons/HoSpinner.vue.d.ts +20 -0
- package/esm/sdks/commons/HoTable.vue.d.ts +34 -0
- package/esm/sdks/commons/HoTableColumn.vue.d.ts +31 -0
- package/esm/sdks/commons/index.d.ts +90 -0
- package/esm/sdks/globals/HoHeaderTab.vue.d.ts +19 -0
- package/esm/sdks/globals/HoHeaderTabs.vue.d.ts +17 -0
- package/esm/sdks/globals/HoMenu.vue.d.ts +77 -0
- package/esm/sdks/globals/HoMenuItem.vue.d.ts +76 -0
- package/esm/sdks/globals/HoMissComponent.vue.d.ts +9 -0
- package/esm/sdks/globals/HoSideTab.vue.d.ts +21 -0
- package/esm/sdks/globals/HoSideTabs.vue.d.ts +17 -0
- package/esm/sdks/globals/HoWindow.vue.d.ts +66 -0
- package/esm/sdks/globals/index.d.ts +66 -0
- package/esm/sdks/helpers/array-helper.d.ts +97 -0
- package/esm/sdks/helpers/component-helper.d.ts +10 -0
- package/esm/sdks/helpers/cookie-helper.d.ts +6 -0
- package/esm/sdks/helpers/dom-helper.d.ts +74 -0
- package/esm/sdks/helpers/encrypt-helper.d.ts +18 -0
- package/esm/sdks/helpers/event-helper.d.ts +30 -0
- package/esm/sdks/helpers/file-helper.d.ts +22 -0
- package/esm/sdks/helpers/html-helper.d.ts +10 -0
- package/esm/sdks/helpers/i18n-helper.d.ts +14 -0
- package/esm/sdks/helpers/image-helper.d.ts +10 -0
- package/esm/sdks/helpers/index.d.ts +25 -0
- package/esm/sdks/helpers/json-helper.d.ts +27 -0
- package/esm/sdks/helpers/math-helper.d.ts +42 -0
- package/esm/sdks/helpers/micro-helper.d.ts +10 -0
- package/esm/sdks/helpers/mount-helper.d.ts +14 -0
- package/esm/sdks/helpers/object-helper.d.ts +34 -0
- package/esm/sdks/helpers/script-helper.d.ts +31 -0
- package/esm/sdks/helpers/scroll-helper.d.ts +14 -0
- package/esm/sdks/helpers/storage-helper.d.ts +34 -0
- package/esm/sdks/helpers/string-helper.d.ts +94 -0
- package/esm/sdks/helpers/task-helper.d.ts +26 -0
- package/esm/sdks/helpers/time-helper.d.ts +62 -0
- package/esm/sdks/helpers/tree-helper.d.ts +54 -0
- package/esm/sdks/helpers/type-helper.d.ts +26 -0
- package/esm/sdks/helpers/url-helper.d.ts +92 -0
- package/esm/sdks/index.d.ts +7 -0
- package/esm/sdks/panels/HoGroup.vue.d.ts +9 -0
- package/esm/sdks/panels/HoHeader.vue.d.ts +16 -0
- package/esm/sdks/panels/HoOperation.vue.d.ts +22 -0
- package/esm/sdks/panels/HoPanel.vue.d.ts +30 -0
- package/esm/sdks/panels/HoShrink.vue.d.ts +48 -0
- package/esm/sdks/panels/index.d.ts +13 -0
- package/esm/sdks/stores/index.d.ts +2 -0
- package/esm/sdks/stores/window.d.ts +25 -0
- package/esm/sdks/thirds/index.d.ts +8 -0
- package/esm/sdks/utilities/AffixUtility.d.ts +9 -0
- package/esm/sdks/utilities/EventUtility.d.ts +30 -0
- package/esm/sdks/utilities/KeyboardUtility.d.ts +73 -0
- package/esm/sdks/utilities/MouseUtility.d.ts +24 -0
- package/esm/sdks/utilities/index.d.ts +4 -0
- package/esm/services/ComponentService.d.ts +18 -0
- package/esm/services/ControlService.d.ts +42 -0
- package/esm/services/HttpService.d.ts +22 -0
- package/esm/services/MessageService.d.ts +34 -0
- package/esm/services/PageService.d.ts +38 -0
- package/esm/services/SettingService.d.ts +5 -0
- package/esm/services/StandardService.d.ts +34 -0
- package/esm/services/UploadService.d.ts +10 -0
- package/esm/services/index.d.ts +9 -0
- package/esm/stores/app.d.ts +44 -0
- package/esm/stores/component.d.ts +30 -0
- package/esm/stores/config.d.ts +55 -0
- package/esm/stores/driver.d.ts +37 -0
- package/esm/stores/i18n.d.ts +67 -0
- package/esm/stores/index.d.ts +12 -0
- package/esm/stores/layout.d.ts +13 -0
- package/esm/stores/log.d.ts +20 -0
- package/esm/stores/router.d.ts +20 -0
- package/esm/stores/setting.d.ts +43 -0
- package/esm/stores/socket.d.ts +27 -0
- package/esm/stores/user.d.ts +40 -0
- package/esm/views/helps/401.vue.d.ts +2 -0
- package/esm/views/helps/404.vue.d.ts +2 -0
- package/esm/views/helps/Install.vue.d.ts +2 -0
- package/esm/views/helps/Maintaince.vue.d.ts +2 -0
- package/esm/views/helps/Upgrade.vue.d.ts +2 -0
- package/esm/views/logins/Callback.vue.d.ts +2 -0
- package/esm/views/logins/Index.vue.d.ts +2 -0
- package/esm/views/logins/Register.vue.d.ts +2 -0
- package/esm/vite.config.d.ts +6 -0
- package/package.json +58 -0
@@ -0,0 +1,55 @@
|
|
1
|
+
import { defineComponent as x, toRefs as v, ref as p, computed as V, resolveComponent as y, openBlock as r, createElementBlock as s, Fragment as H, unref as l, createBlock as B, isRef as f, createCommentVNode as C, nextTick as R, createElementVNode as T } from "vue";
|
2
|
+
import { k as g } from "./main-_4re--C1.js";
|
3
|
+
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
4
|
+
import "./vendor-moment-h96o7c8I.js";
|
5
|
+
import "xlsx-js-style";
|
6
|
+
const b = ["innerHTML"], w = /* @__PURE__ */ T("i", { class: "fa fa-edit" }, null, -1), E = [
|
7
|
+
w
|
8
|
+
], z = /* @__PURE__ */ x({
|
9
|
+
__name: "Text",
|
10
|
+
props: {
|
11
|
+
schema: {},
|
12
|
+
table: {},
|
13
|
+
field: {},
|
14
|
+
set: {},
|
15
|
+
row: {},
|
16
|
+
modelValue: {}
|
17
|
+
},
|
18
|
+
setup(d) {
|
19
|
+
let c = d, { table: L, field: i, set: M, row: N, modelValue: _ } = v(c), t = p(!1), u = p(), a = () => {
|
20
|
+
t.value = !0, R(() => {
|
21
|
+
u.value.focus();
|
22
|
+
});
|
23
|
+
}, o = V(() => {
|
24
|
+
let m = g.getHtml(_.value);
|
25
|
+
return (i.value.control.prefix || "") + (m || "") + (i.value.control.suffix || "");
|
26
|
+
});
|
27
|
+
return (m, e) => {
|
28
|
+
const k = y("el-input");
|
29
|
+
return r(), s(H, null, [
|
30
|
+
l(t) ? (r(), B(k, {
|
31
|
+
key: 1,
|
32
|
+
ref_key: "editRef",
|
33
|
+
ref: u,
|
34
|
+
type: "text",
|
35
|
+
onBlur: e[0] || (e[0] = (n) => f(t) ? t.value = !1 : t = !1),
|
36
|
+
modelValue: l(o),
|
37
|
+
"onUpdate:modelValue": e[1] || (e[1] = (n) => f(o) ? o.value = n : o = n)
|
38
|
+
}, null, 8, ["modelValue"])) : (r(), s("span", {
|
39
|
+
key: 0,
|
40
|
+
class: "text-text",
|
41
|
+
innerHTML: l(o)
|
42
|
+
}, null, 8, b)),
|
43
|
+
l(t) ? C("", !0) : (r(), s("span", {
|
44
|
+
key: 2,
|
45
|
+
class: "edit-inline",
|
46
|
+
onClick: e[2] || (e[2] = //@ts-ignore
|
47
|
+
(...n) => l(a) && l(a)(...n))
|
48
|
+
}, E))
|
49
|
+
], 64);
|
50
|
+
};
|
51
|
+
}
|
52
|
+
});
|
53
|
+
export {
|
54
|
+
z as _
|
55
|
+
};
|
@@ -0,0 +1,65 @@
|
|
1
|
+
import { defineComponent as b, toRefs as E, ref as y, computed as s, resolveComponent as R, unref as r, openBlock as i, createElementBlock as m, renderSlot as u, createBlock as $, withCtx as w } from "vue";
|
2
|
+
import { useRoute as x } from "vue-router";
|
3
|
+
import { g as p, E as B } from "./main-_4re--C1.js";
|
4
|
+
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
5
|
+
import "./vendor-moment-h96o7c8I.js";
|
6
|
+
import "xlsx-js-style";
|
7
|
+
const C = { key: 0 }, H = ["href", "target"], q = /* @__PURE__ */ b({
|
8
|
+
__name: "TextLink",
|
9
|
+
props: {
|
10
|
+
schema: {},
|
11
|
+
table: {},
|
12
|
+
field: {},
|
13
|
+
set: {},
|
14
|
+
row: {}
|
15
|
+
},
|
16
|
+
emits: ["submit", "change", "update:modelValue"],
|
17
|
+
setup(d, { emit: O }) {
|
18
|
+
let h = d, { table: L, field: t, set: S, row: c } = E(h);
|
19
|
+
x();
|
20
|
+
let k = y(), a = s(() => {
|
21
|
+
let e = t.value.link.href;
|
22
|
+
return t.value.link.values.forEach((o) => {
|
23
|
+
e = e.replace(`{${o}}`, c.value[o]);
|
24
|
+
}), e;
|
25
|
+
}), _ = s(() => p.httpOrHttps(a.value)), v = s(() => {
|
26
|
+
let e = a.value;
|
27
|
+
if (t.value.link.tables.length > 0) {
|
28
|
+
let l = {};
|
29
|
+
t.value.link.tables.forEach((n) => {
|
30
|
+
l[n.name] = {}, n.search.forEach((f) => {
|
31
|
+
l[n.name][f.name] = c.value[f.value];
|
32
|
+
});
|
33
|
+
});
|
34
|
+
let g = B.base64Encode(JSON.stringify(l));
|
35
|
+
e += "&condition=" + g;
|
36
|
+
}
|
37
|
+
return p.getToRoute(e);
|
38
|
+
});
|
39
|
+
return (e, o) => {
|
40
|
+
const l = R("router-link");
|
41
|
+
return r(k) ? (i(), m("div", C, [
|
42
|
+
u(e.$slots, "default")
|
43
|
+
])) : r(_) ? (i(), m("a", {
|
44
|
+
key: 1,
|
45
|
+
class: "text-link",
|
46
|
+
href: r(a),
|
47
|
+
target: r(t).link.target
|
48
|
+
}, [
|
49
|
+
u(e.$slots, "default")
|
50
|
+
], 8, H)) : (i(), $(l, {
|
51
|
+
key: 2,
|
52
|
+
class: "text-link",
|
53
|
+
to: r(v)
|
54
|
+
}, {
|
55
|
+
default: w(() => [
|
56
|
+
u(e.$slots, "default")
|
57
|
+
]),
|
58
|
+
_: 3
|
59
|
+
}, 8, ["to"]));
|
60
|
+
};
|
61
|
+
}
|
62
|
+
});
|
63
|
+
export {
|
64
|
+
q as default
|
65
|
+
};
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { defineComponent as u, toRefs as p, openBlock as i, createBlock as c, unref as e, isRef as _ } from "vue";
|
2
|
+
import { _ as V } from "./Text.vue_vue_type_style_index_0_lang-DBJbK62d.js";
|
3
|
+
const x = /* @__PURE__ */ u({
|
4
|
+
__name: "Textarea",
|
5
|
+
props: {
|
6
|
+
schema: {},
|
7
|
+
table: {},
|
8
|
+
field: {},
|
9
|
+
set: {},
|
10
|
+
row: {},
|
11
|
+
modelValue: {}
|
12
|
+
},
|
13
|
+
setup(t) {
|
14
|
+
let r = t, { schema: s, table: m, field: f, set: d, row: n, modelValue: l } = p(r);
|
15
|
+
return (b, o) => (i(), c(V, {
|
16
|
+
schema: e(s),
|
17
|
+
table: e(m),
|
18
|
+
field: e(f),
|
19
|
+
row: e(n),
|
20
|
+
set: e(d),
|
21
|
+
modelValue: e(l),
|
22
|
+
"onUpdate:modelValue": o[0] || (o[0] = (a) => _(l) ? l.value = a : l = a)
|
23
|
+
}, null, 8, ["schema", "table", "field", "row", "set", "modelValue"]));
|
24
|
+
}
|
25
|
+
});
|
26
|
+
export {
|
27
|
+
x as default
|
28
|
+
};
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import { defineComponent as i, toRefs as c, computed as f, resolveComponent as V, openBlock as _, createBlock as b, unref as t, isRef as w } from "vue";
|
2
|
+
const k = /* @__PURE__ */ i({
|
3
|
+
__name: "Textarea",
|
4
|
+
props: {
|
5
|
+
schema: {},
|
6
|
+
table: {},
|
7
|
+
field: {},
|
8
|
+
set: {},
|
9
|
+
row: {},
|
10
|
+
modelValue: {}
|
11
|
+
},
|
12
|
+
emits: ["submit", "change", "update:modelValue"],
|
13
|
+
setup(n, { emit: r }) {
|
14
|
+
let a = r, m = n, { schema: x, table: g, field: o, set: h, row: z, modelValue: d } = c(m), e = f({
|
15
|
+
get() {
|
16
|
+
return d.value;
|
17
|
+
},
|
18
|
+
set(l) {
|
19
|
+
a("update:modelValue", l), a("change", l);
|
20
|
+
}
|
21
|
+
});
|
22
|
+
return (l, s) => {
|
23
|
+
const p = V("el-input");
|
24
|
+
return _(), b(p, {
|
25
|
+
type: "textarea",
|
26
|
+
disabled: t(o).readonly,
|
27
|
+
rows: t(o).control.rows,
|
28
|
+
autosize: t(o).control.autoResize,
|
29
|
+
modelValue: t(e),
|
30
|
+
"onUpdate:modelValue": s[0] || (s[0] = (u) => w(e) ? e.value = u : e = u)
|
31
|
+
}, null, 8, ["disabled", "rows", "autosize", "modelValue"]);
|
32
|
+
};
|
33
|
+
}
|
34
|
+
});
|
35
|
+
export {
|
36
|
+
k as default
|
37
|
+
};
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import { defineComponent as c, toRefs as f, computed as _, resolveComponent as V, openBlock as h, createBlock as b, unref as t, isRef as g } from "vue";
|
2
|
+
const B = /* @__PURE__ */ c({
|
3
|
+
__name: "Time",
|
4
|
+
props: {
|
5
|
+
schema: {},
|
6
|
+
table: {},
|
7
|
+
field: {},
|
8
|
+
set: {},
|
9
|
+
row: {},
|
10
|
+
modelValue: {}
|
11
|
+
},
|
12
|
+
emits: ["submit", "change", "update:modelValue"],
|
13
|
+
setup(n, { emit: s }) {
|
14
|
+
let o = s, r = n, { table: u, field: a, set: k, modelValue: p } = f(r), e = _({
|
15
|
+
get() {
|
16
|
+
return p.value;
|
17
|
+
},
|
18
|
+
set(l) {
|
19
|
+
o("update:modelValue", l), o("change", l);
|
20
|
+
}
|
21
|
+
});
|
22
|
+
return (l, m) => {
|
23
|
+
const i = V("el-time-select");
|
24
|
+
return h(), b(i, {
|
25
|
+
type: "time",
|
26
|
+
placeholder: l.$t_field_choose_placeholder(t(u).name, t(a).name),
|
27
|
+
disabled: t(a).control.readonly,
|
28
|
+
modelValue: t(e),
|
29
|
+
"onUpdate:modelValue": m[0] || (m[0] = (d) => g(e) ? e.value = d : e = d)
|
30
|
+
}, null, 8, ["placeholder", "disabled", "modelValue"]);
|
31
|
+
};
|
32
|
+
}
|
33
|
+
});
|
34
|
+
export {
|
35
|
+
B as default
|
36
|
+
};
|
@@ -0,0 +1,56 @@
|
|
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 r, createElementBlock as c, Fragment as k, renderList as x, createCommentVNode as v } from "vue";
|
2
|
+
import { j as H, k as g } from "./main-_4re--C1.js";
|
3
|
+
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
4
|
+
import "./vendor-moment-h96o7c8I.js";
|
5
|
+
import "xlsx-js-style";
|
6
|
+
const C = { class: "timeline-layout" }, B = ["innerHTML"], L = {
|
7
|
+
key: 0,
|
8
|
+
class: "timeline-detail"
|
9
|
+
}, $ = /* @__PURE__ */ h({
|
10
|
+
__name: "Timeline",
|
11
|
+
props: {
|
12
|
+
searchData: {},
|
13
|
+
route: {},
|
14
|
+
module: {},
|
15
|
+
schema: {},
|
16
|
+
table: {},
|
17
|
+
layout: {},
|
18
|
+
next: {},
|
19
|
+
set: {}
|
20
|
+
},
|
21
|
+
setup(_) {
|
22
|
+
let p = _, { module: T, schema: b, table: l, layout: i, next: E, set: s } = y(p);
|
23
|
+
return (M, N) => {
|
24
|
+
const u = m("el-timeline-item"), d = m("el-timeline"), f = m("el-empty");
|
25
|
+
return t(), n(e(H), { class: "timeline" }, {
|
26
|
+
default: o(() => [
|
27
|
+
r("div", C, [
|
28
|
+
e(s)[e(l).name].length > 0 ? (t(), n(d, {
|
29
|
+
key: 0,
|
30
|
+
reverse: !1
|
31
|
+
}, {
|
32
|
+
default: o(() => [
|
33
|
+
(t(!0), c(k, null, x(e(s)[e(l).name], (a) => (t(), n(u, {
|
34
|
+
timestamp: a[e(i).time]
|
35
|
+
}, {
|
36
|
+
default: o(() => [
|
37
|
+
r("div", {
|
38
|
+
innerHTML: e(g).getHtml(a[e(i).text])
|
39
|
+
}, null, 8, B)
|
40
|
+
]),
|
41
|
+
_: 2
|
42
|
+
}, 1032, ["timestamp"]))), 256))
|
43
|
+
]),
|
44
|
+
_: 1
|
45
|
+
})) : (t(), n(f, { key: 1 }))
|
46
|
+
]),
|
47
|
+
e(l).length > 0 ? (t(), c("div", L, " 时间线节点详情 ")) : v("", !0)
|
48
|
+
]),
|
49
|
+
_: 1
|
50
|
+
});
|
51
|
+
};
|
52
|
+
}
|
53
|
+
});
|
54
|
+
export {
|
55
|
+
$ as default
|
56
|
+
};
|
@@ -0,0 +1,294 @@
|
|
1
|
+
import { defineComponent as ge, toRefs as xe, ref as v, onMounted as we, onUnmounted as Ne, computed as V, watch as Se, resolveComponent as R, openBlock as i, createBlock as C, unref as e, withCtx as f, createElementVNode as c, createElementBlock as y, createVNode as h, Fragment as $e, renderList as Ke, withDirectives as Re, resolveDynamicComponent as Te, createCommentVNode as g, createTextVNode as x, toDisplayString as _, vShow as Ie, nextTick as j } from "vue";
|
2
|
+
import { u as De, l as Ue, g as q, C as F, m as Ve, n as qe, o as G, M as Le, T as J, H as Q, A as W, p as Be } from "./main-_4re--C1.js";
|
3
|
+
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
4
|
+
import "./vendor-moment-h96o7c8I.js";
|
5
|
+
import "xlsx-js-style";
|
6
|
+
import { _ as He } from "./Index.vue_vue_type_script_setup_true_lang-gv23r-9D.js";
|
7
|
+
const Ee = { class: "tree-left" }, Me = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), ze = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), Ae = /* @__PURE__ */ c("i", { class: "fa fa-copy" }, null, -1), Oe = /* @__PURE__ */ c("i", { class: "fa fa-trash" }, null, -1), Pe = {
|
8
|
+
key: 2,
|
9
|
+
class: "ho-empty"
|
10
|
+
}, je = {
|
11
|
+
key: 3,
|
12
|
+
class: "tree-add"
|
13
|
+
}, Fe = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), el = /* @__PURE__ */ ge({
|
14
|
+
__name: "Tree",
|
15
|
+
props: {
|
16
|
+
searchData: {},
|
17
|
+
route: {},
|
18
|
+
module: {},
|
19
|
+
schema: {},
|
20
|
+
table: {},
|
21
|
+
layout: {},
|
22
|
+
next: {},
|
23
|
+
set: {}
|
24
|
+
},
|
25
|
+
emits: ["refresh", "succeed", "search", "navigate"],
|
26
|
+
setup(X, { expose: Y, emit: Z }) {
|
27
|
+
let b = Z, ee = X, { route: w, module: L, schema: le, table: m, layout: a, next: p, set: Ge, searchData: te } = xe(ee), N = v(), B = v(), k = v(), S = v(), H = v(), re = v(), { $t: E, $t_module: M } = De(), ae = Ue(), 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 }), z = () => {
|
28
|
+
if (!N.value)
|
29
|
+
return;
|
30
|
+
let l = N.value.$el.querySelector(".is-context");
|
31
|
+
l && l.classList.remove("is-context");
|
32
|
+
}, oe = (l, t, o, n) => {
|
33
|
+
z(), n.vnode.el.classList.add("is-context"), r.value.currentNode = t, T.show(l);
|
34
|
+
}, K = (l) => {
|
35
|
+
let t = a.value.parentId, o = { [t]: null };
|
36
|
+
l == "sibling" ? o[t] = r.value.currentNode[t] : l == "child" && (o[t] = r.value.currentNode[a.value.id]);
|
37
|
+
let n = q.base64(o), u = `${p.value.insert.route}?default=${n}`;
|
38
|
+
l == "copy" && (u += "&id=" + r.value.currentNode[a.value.id]), d.value.url = u, d.value.visible = !0;
|
39
|
+
}, A = () => {
|
40
|
+
let l = r.value.currentNode[a.value.id];
|
41
|
+
Le.confirm(E("common.tips"), E("common.confirm_delete"), { type: "warning" }).then(() => {
|
42
|
+
ne(l);
|
43
|
+
});
|
44
|
+
}, ne = (l) => {
|
45
|
+
let t = a.value.id, o = a.value.data, n = J.getNextById(l, t, o, "Children");
|
46
|
+
Q.post(p.value.delete.route, [l]).then(() => {
|
47
|
+
J.removeById(l, t, o, "Children");
|
48
|
+
let u = null;
|
49
|
+
n && (u = n[t], r.value.currentKey = u, r.value.expandedKeys.push(u)), b("succeed", () => {
|
50
|
+
I(r.value.scrollTop);
|
51
|
+
});
|
52
|
+
});
|
53
|
+
}, ue = (l) => {
|
54
|
+
r.value.scrollTop = l.scrollTop;
|
55
|
+
}, I = (l = null, t = null) => {
|
56
|
+
r.value.visible = !1, j(() => {
|
57
|
+
r.value.visible = !0, j(() => {
|
58
|
+
if (l == null) {
|
59
|
+
let o = N.value.$el.querySelector(".el-tree-node.is-current");
|
60
|
+
o && o.scrollIntoView({ block: "center", behavior: "smooth" });
|
61
|
+
} else
|
62
|
+
S.value.setScrollTop(l);
|
63
|
+
t && t();
|
64
|
+
});
|
65
|
+
});
|
66
|
+
}, se = () => {
|
67
|
+
d.value.visible = !1, b("succeed", () => {
|
68
|
+
I(r.value.scrollTop);
|
69
|
+
});
|
70
|
+
}, de = (l) => {
|
71
|
+
d.value.type = l.module.type, d.value.name = l.module.name;
|
72
|
+
}, ie = () => {
|
73
|
+
d.value.visible = !1;
|
74
|
+
}, ce = (l, t, o) => {
|
75
|
+
z();
|
76
|
+
let n = l[a.value.id];
|
77
|
+
if (W.pushIfNotExist(r.value.expandedKeys, n), n == r.value.currentKey)
|
78
|
+
k.value.refresh();
|
79
|
+
else {
|
80
|
+
r.value.currentKey = n, $.value = D();
|
81
|
+
let u = q.getUrl(w.value.fullPath, { id: n });
|
82
|
+
b("navigate", u);
|
83
|
+
}
|
84
|
+
}, ve = (l, t, o) => {
|
85
|
+
W.remove(r.value.expandedKeys, l[a.value.id]);
|
86
|
+
}, fe = (l, t, o, n) => {
|
87
|
+
let u = {
|
88
|
+
table: a.value.table,
|
89
|
+
id: l.data[a.value.id],
|
90
|
+
targetId: t.data[a.value.id],
|
91
|
+
position: o
|
92
|
+
};
|
93
|
+
Q.post(a.value.operation.route, u).then((P) => {
|
94
|
+
});
|
95
|
+
}, me = (l) => {
|
96
|
+
b("search", l);
|
97
|
+
}, pe = (l) => {
|
98
|
+
}, ye = (l, t) => l ? t[m.value.text].indexOf(l) !== -1 : !0, he = () => {
|
99
|
+
b("refresh");
|
100
|
+
}, _e = (l, t) => {
|
101
|
+
if (!k.value || !k.value.keyboard)
|
102
|
+
return !1;
|
103
|
+
k.value.keyboard(l, t);
|
104
|
+
}, be = () => {
|
105
|
+
S.value.update();
|
106
|
+
}, D = () => {
|
107
|
+
let l = p.value[a.value.page.toLowerCase()].route;
|
108
|
+
return r.value.currentKey && (l += "?id=" + r.value.currentKey), l;
|
109
|
+
}, ke = () => {
|
110
|
+
let l = w.value.query.id, t;
|
111
|
+
l == null ? t = a.value.updateKey : t = F.convert(l, O.value.type), t && (r.value.currentKey = t, r.value.expandedKeys = [t], $.value = D()), I(null, () => {
|
112
|
+
T = new Be(B.value, [S.value.$el, H.value]);
|
113
|
+
});
|
114
|
+
};
|
115
|
+
we(() => {
|
116
|
+
ke();
|
117
|
+
}), Ne(() => {
|
118
|
+
T.dispose();
|
119
|
+
}), V(() => {
|
120
|
+
let l = { [a.value.parentId]: w.value.query.id };
|
121
|
+
return q.base64(l);
|
122
|
+
});
|
123
|
+
let Ce = V(() => {
|
124
|
+
let l = `/${m.value.name}/tree-node`;
|
125
|
+
return ae.getComponent(l, "partial", "tree-node");
|
126
|
+
}), O = V(() => m.value.fields.find((t) => t.name == a.value.id));
|
127
|
+
return Se(() => w.value, (l, t) => {
|
128
|
+
r.value.currentKey = F.convert(l.query.id, O.value.type), $.value = D();
|
129
|
+
}), Y({ refresh: he, keyboard: _e, resize: be }), (l, t) => {
|
130
|
+
const o = R("el-scrollbar"), n = R("el-tree"), u = R("el-button"), P = R("el-drawer");
|
131
|
+
return i(), C(e(Ve), {
|
132
|
+
class: "tree",
|
133
|
+
width: e(r).width,
|
134
|
+
onResize: t[5] || (t[5] = (s) => e(r).width = s)
|
135
|
+
}, {
|
136
|
+
left: f(() => [
|
137
|
+
c("div", Ee, [
|
138
|
+
e(m).search.length ? (i(), y("div", {
|
139
|
+
key: 0,
|
140
|
+
ref_key: "searchRef",
|
141
|
+
ref: re,
|
142
|
+
class: "tree-search"
|
143
|
+
}, [
|
144
|
+
h(o, null, {
|
145
|
+
default: f(() => [
|
146
|
+
(i(!0), y($e, null, Ke(e(m).search, (s, U) => (i(), y("div", {
|
147
|
+
class: "search-field",
|
148
|
+
key: U
|
149
|
+
}, [
|
150
|
+
h(He, {
|
151
|
+
schema: e(le),
|
152
|
+
table: e(m),
|
153
|
+
field: s,
|
154
|
+
"search-data": e(te),
|
155
|
+
onChange: e(pe),
|
156
|
+
onSubmit: e(me)
|
157
|
+
}, null, 8, ["schema", "table", "field", "search-data", "onChange", "onSubmit"])
|
158
|
+
]))), 128))
|
159
|
+
]),
|
160
|
+
_: 1
|
161
|
+
})
|
162
|
+
], 512)) : (i(), C(e(qe), {
|
163
|
+
key: 1,
|
164
|
+
title: e(M)(e(L).type, e(L).name)
|
165
|
+
}, null, 8, ["title"])),
|
166
|
+
Re(h(o, {
|
167
|
+
ref_key: "scrollbarRef",
|
168
|
+
ref: S,
|
169
|
+
class: "tree-content",
|
170
|
+
onScroll: e(ue)
|
171
|
+
}, {
|
172
|
+
default: f(() => [
|
173
|
+
e(r).visible ? (i(), C(n, {
|
174
|
+
key: 0,
|
175
|
+
ref_key: "treeRef",
|
176
|
+
ref: N,
|
177
|
+
"highlight-current": "",
|
178
|
+
"show-checkbox": e(a).checkbox,
|
179
|
+
"expand-on-click-node": !1,
|
180
|
+
draggable: !!e(a).operation,
|
181
|
+
data: e(a).data,
|
182
|
+
"node-key": e(a).id,
|
183
|
+
"current-node-key": e(r).currentKey,
|
184
|
+
props: { children: "Children", label: e(a).text },
|
185
|
+
"filter-node-method": e(ye),
|
186
|
+
"default-expanded-keys": e(r).expandedKeys,
|
187
|
+
onNodeClick: e(ce),
|
188
|
+
onNodeContextmenu: e(oe),
|
189
|
+
onNodeCollapse: e(ve),
|
190
|
+
onNodeDrop: e(fe)
|
191
|
+
}, {
|
192
|
+
default: f(({ node: s, data: U }) => [
|
193
|
+
(i(), C(Te(e(Ce)), {
|
194
|
+
table: e(m),
|
195
|
+
layout: e(a),
|
196
|
+
row: U,
|
197
|
+
node: s
|
198
|
+
}, null, 8, ["table", "layout", "row", "node"]))
|
199
|
+
]),
|
200
|
+
_: 1
|
201
|
+
}, 8, ["show-checkbox", "draggable", "data", "node-key", "current-node-key", "props", "filter-node-method", "default-expanded-keys", "onNodeClick", "onNodeContextmenu", "onNodeCollapse", "onNodeDrop"])) : g("", !0),
|
202
|
+
c("ul", {
|
203
|
+
ref_key: "menuRef",
|
204
|
+
ref: B,
|
205
|
+
class: "mouse-context"
|
206
|
+
}, [
|
207
|
+
c("li", {
|
208
|
+
onClick: t[0] || (t[0] = (s) => e(K)("child"))
|
209
|
+
}, [
|
210
|
+
Me,
|
211
|
+
x(_(l.$t("tree.add_sub_item")), 1)
|
212
|
+
]),
|
213
|
+
c("li", {
|
214
|
+
onClick: t[1] || (t[1] = (s) => e(K)("sibling"))
|
215
|
+
}, [
|
216
|
+
ze,
|
217
|
+
x(_(l.$t("tree.add_same_grade")), 1)
|
218
|
+
]),
|
219
|
+
c("li", {
|
220
|
+
onClick: t[2] || (t[2] = (s) => e(K)("copy"))
|
221
|
+
}, [
|
222
|
+
Ae,
|
223
|
+
x(_(l.$t("common.copy")), 1)
|
224
|
+
]),
|
225
|
+
e(p).delete ? (i(), y("li", {
|
226
|
+
key: 0,
|
227
|
+
onClick: t[3] || (t[3] = //@ts-ignore
|
228
|
+
(...s) => e(A) && e(A)(...s))
|
229
|
+
}, [
|
230
|
+
Oe,
|
231
|
+
x(_(l.$t("common.delete")), 1)
|
232
|
+
])) : g("", !0)
|
233
|
+
], 512)
|
234
|
+
]),
|
235
|
+
_: 1
|
236
|
+
}, 8, ["onScroll"]), [
|
237
|
+
[Ie, e(a).data.length]
|
238
|
+
]),
|
239
|
+
e(a).data.length ? g("", !0) : (i(), y("div", Pe, _(l.$t("common.no_data")), 1)),
|
240
|
+
!e(a).data.length && e(p).insert ? (i(), y("div", je, [
|
241
|
+
h(u, {
|
242
|
+
type: "primary",
|
243
|
+
onClick: e(K)
|
244
|
+
}, {
|
245
|
+
icon: f(() => [
|
246
|
+
Fe
|
247
|
+
]),
|
248
|
+
default: f(() => [
|
249
|
+
x(" " + _(e(p).insert.title), 1)
|
250
|
+
]),
|
251
|
+
_: 1
|
252
|
+
}, 8, ["onClick"])
|
253
|
+
])) : g("", !0)
|
254
|
+
])
|
255
|
+
]),
|
256
|
+
default: f(() => [
|
257
|
+
c("div", {
|
258
|
+
ref_key: "detailRef",
|
259
|
+
ref: H,
|
260
|
+
class: "tree-detail"
|
261
|
+
}, [
|
262
|
+
e(r).currentKey ? (i(), C(e(G), {
|
263
|
+
key: 0,
|
264
|
+
ref_key: "singleRef",
|
265
|
+
ref: k,
|
266
|
+
url: e($)
|
267
|
+
}, null, 8, ["url"])) : g("", !0)
|
268
|
+
], 512),
|
269
|
+
h(P, {
|
270
|
+
size: "60%",
|
271
|
+
"destroy-on-close": "",
|
272
|
+
title: e(M)(e(d).type, e(d).name),
|
273
|
+
modelValue: e(d).visible,
|
274
|
+
"onUpdate:modelValue": t[4] || (t[4] = (s) => e(d).visible = s)
|
275
|
+
}, {
|
276
|
+
default: f(() => [
|
277
|
+
h(e(G), {
|
278
|
+
url: e(d).url,
|
279
|
+
onLoaded: e(de),
|
280
|
+
onSucceed: e(se),
|
281
|
+
onClose: e(ie)
|
282
|
+
}, null, 8, ["url", "onLoaded", "onSucceed", "onClose"])
|
283
|
+
]),
|
284
|
+
_: 1
|
285
|
+
}, 8, ["title", "modelValue"])
|
286
|
+
]),
|
287
|
+
_: 1
|
288
|
+
}, 8, ["width"]);
|
289
|
+
};
|
290
|
+
}
|
291
|
+
});
|
292
|
+
export {
|
293
|
+
el as default
|
294
|
+
};
|