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
package/README.md
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
## 介绍
|
2
|
+
|
3
|
+
Halo PC端框架,依赖halo-api提供数据后,即可快速构建系统页面。
|
4
|
+
|
5
|
+
## 安装教程
|
6
|
+
|
7
|
+
````
|
8
|
+
git clone git@github.com:halo-app/halo-startup.git
|
9
|
+
````
|
10
|
+
|
11
|
+
## 启动教程
|
12
|
+
|
13
|
+
````
|
14
|
+
依赖项:需先启动后端服务,教程参见:/api/README.md
|
15
|
+
````
|
16
|
+
|
17
|
+
````
|
18
|
+
cd pc
|
19
|
+
pnpm install(或:npm install)
|
20
|
+
npm run dev
|
21
|
+
````
|
22
|
+
|
23
|
+
# 目录介绍
|
24
|
+
|
25
|
+
src/components
|
26
|
+
|
27
|
+
` controls ` 存放自定义表单控件
|
28
|
+
|
29
|
+
` lists ` 存放自定义列表布局视图
|
30
|
+
|
31
|
+
` pagings ` 存放自定义分页布局视图
|
32
|
+
|
33
|
+
` partials ` 存放自定义局部视图
|
34
|
+
|
35
|
+
` singles ` 存放自定义单页布局视图
|
36
|
+
|
37
|
+
` texts ` 存放自定义文本控件视图
|
38
|
+
|
39
|
+
src/views
|
40
|
+
|
41
|
+
` */* ` 放置自定义视图(视图路径决定路由路径)
|
42
|
+
|
43
|
+
# 特性
|
44
|
+
|
45
|
+
1. 支持智能提示
|
46
|
+
2. 入口文件引用优先级从低到高:main -> browser -> module -> exports[import]
|
@@ -0,0 +1,195 @@
|
|
1
|
+
import { defineComponent as ae, toRefs as re, ref as c, onMounted as ne, computed as se, resolveComponent as y, openBlock as u, createElementBlock as f, unref as e, createBlock as k, createCommentVNode as _, createVNode as b, normalizeStyle as ie, withCtx as C, createElementVNode as i, Fragment as ue, renderList as ce, withModifiers as V, toDisplayString as d, resolveDynamicComponent as de, createTextVNode as D } from "vue";
|
2
|
+
import { l as pe, S as M, g as me, o as ve, H as ge, M as fe, D as U } 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 "./SearchForm.vue_vue_type_style_index_0_lang-37Paf-X_.js";
|
7
|
+
const _e = { class: "article-layout" }, ye = ["href", "onClick"], ke = ["src"], be = { class: "article-title" }, Ce = {
|
8
|
+
key: 0,
|
9
|
+
class: "article-content"
|
10
|
+
}, we = { class: "article-time" }, Re = {
|
11
|
+
key: 1,
|
12
|
+
class: "article-view-count"
|
13
|
+
}, xe = ["href"], He = /* @__PURE__ */ i("i", { class: "fa fa-plus" }, null, -1), Se = { class: "el-drawer__title" }, $e = ["href"], Ee = /* @__PURE__ */ ae({
|
14
|
+
__name: "Article",
|
15
|
+
props: {
|
16
|
+
searchData: {},
|
17
|
+
module: {},
|
18
|
+
schema: {},
|
19
|
+
table: {},
|
20
|
+
layout: {},
|
21
|
+
next: {},
|
22
|
+
set: {}
|
23
|
+
},
|
24
|
+
emits: ["page-change", "navigate", "search", "succeed", "close"],
|
25
|
+
setup(E, { expose: F, emit: N }) {
|
26
|
+
let p = N, K = E, { module: P, schema: j, table: r, layout: n, next: m, set: w, searchData: A } = re(K), R = c(), x = c(), H = c(), S = c(), h = c(), L = pe();
|
27
|
+
c({ layout: "prev, pager, next", count: 5 });
|
28
|
+
let o = c({ page: null, url: null, row: null, visible: !1, appendToBody: !1 }), $ = (t) => {
|
29
|
+
g("insert", null, t);
|
30
|
+
}, q = (t, l) => {
|
31
|
+
g("detail", t, l);
|
32
|
+
}, G = (t, l) => {
|
33
|
+
g("update", t, l);
|
34
|
+
}, I = (t, l) => {
|
35
|
+
g("copy", t, l);
|
36
|
+
}, J = (t, l) => {
|
37
|
+
g("delete", t, l);
|
38
|
+
}, O = (t) => {
|
39
|
+
let l = t.map((s) => s[r.value.key.name]);
|
40
|
+
ge.post(m.value.delete.route, l).then((s) => {
|
41
|
+
fe.success(s.message), z();
|
42
|
+
});
|
43
|
+
}, g = (t, l, s) => {
|
44
|
+
let v = B(t, l);
|
45
|
+
s.ctrlKey ? (o.value.row = null, p("navigate", v)) : (o.value.appendToBody = s.altKey, o.value.page = t, o.value.url = v, o.value.row = l, o.value.visible = !0);
|
46
|
+
}, B = (t, l = null) => {
|
47
|
+
let s = `${m.value[t].route}`;
|
48
|
+
if (l != null) {
|
49
|
+
let v = l[r.value.key.name];
|
50
|
+
s += `?id=${v}`;
|
51
|
+
}
|
52
|
+
return s;
|
53
|
+
}, Q = () => {
|
54
|
+
o.value.visible = !1, p("close");
|
55
|
+
}, z = (t) => {
|
56
|
+
o.value.visible = !1, p("succeed", t);
|
57
|
+
}, W = (t) => {
|
58
|
+
p("page-change", t);
|
59
|
+
}, X = (t) => {
|
60
|
+
p("navigate", t);
|
61
|
+
}, Y = () => {
|
62
|
+
p("search");
|
63
|
+
}, Z = () => {
|
64
|
+
T();
|
65
|
+
}, ee = (t, l) => {
|
66
|
+
if (!h.value || !h.value.keyboard)
|
67
|
+
return !1;
|
68
|
+
h.value.keyboard(t, l);
|
69
|
+
}, te = (t) => {
|
70
|
+
T();
|
71
|
+
}, T = () => {
|
72
|
+
let t = U.getHeight(R.value), l = U.getHeight([x.value.$el, H.value]);
|
73
|
+
S.value = t - l;
|
74
|
+
};
|
75
|
+
ne(() => {
|
76
|
+
});
|
77
|
+
let le = se(() => {
|
78
|
+
let t = `/${r.value.name}/article-footer`;
|
79
|
+
return L.getComponent(t, "partial", "article-footer");
|
80
|
+
});
|
81
|
+
return F({ keyboard: ee, resize: te }), (t, l) => {
|
82
|
+
const s = y("el-scrollbar"), v = y("el-pagination"), oe = y("el-drawer");
|
83
|
+
return u(), f("div", {
|
84
|
+
ref_key: "pagingRef",
|
85
|
+
ref: R,
|
86
|
+
class: "paging-article"
|
87
|
+
}, [
|
88
|
+
e(r).search.length > 0 ? (u(), k(he, {
|
89
|
+
key: 0,
|
90
|
+
ref_key: "searchRef",
|
91
|
+
ref: x,
|
92
|
+
schema: e(j),
|
93
|
+
table: e(r),
|
94
|
+
layout: e(n),
|
95
|
+
"search-data": e(A),
|
96
|
+
onSubmit: e(Y),
|
97
|
+
onMounted: e(Z)
|
98
|
+
}, null, 8, ["schema", "table", "layout", "search-data", "onSubmit", "onMounted"])) : _("", !0),
|
99
|
+
b(s, {
|
100
|
+
class: "article-scroller",
|
101
|
+
style: ie({ height: e(S) + "px" })
|
102
|
+
}, {
|
103
|
+
default: C(() => [
|
104
|
+
i("div", _e, [
|
105
|
+
(u(!0), f(ue, null, ce(e(w)[e(r).name], (a) => (u(), f("a", {
|
106
|
+
class: "article",
|
107
|
+
href: `${e(m).detail.route}?id=${a[e(r).key.name]}`,
|
108
|
+
onClick: V((Be) => e(X)(`${e(m).detail.route}?id=${a[e(r).key.name]}`), ["prevent"]),
|
109
|
+
key: a[e(r).key.name]
|
110
|
+
}, [
|
111
|
+
i("img", {
|
112
|
+
class: "article-image",
|
113
|
+
src: a[e(n).image]
|
114
|
+
}, null, 8, ke),
|
115
|
+
i("div", be, d(a[e(n).title]), 1),
|
116
|
+
e(M).getTextFromHtml(a[e(n).content]) ? (u(), f("div", Ce, d(e(M).getTextFromHtml(a[e(n).content])), 1)) : _("", !0),
|
117
|
+
i("div", we, d(a[e(n).time]), 1),
|
118
|
+
a[e(n).viewCount] ? (u(), f("div", Re, d(a[e(n).viewCount]), 1)) : _("", !0),
|
119
|
+
(u(), k(de(e(le)), {
|
120
|
+
table: e(r),
|
121
|
+
next: e(m),
|
122
|
+
set: e(w),
|
123
|
+
row: a,
|
124
|
+
onPreview: e(q),
|
125
|
+
onEdit: e(G),
|
126
|
+
onCopy: e(I),
|
127
|
+
onBeforeRemove: e(J),
|
128
|
+
onRemove: e(O)
|
129
|
+
}, null, 40, ["table", "next", "set", "row", "onPreview", "onEdit", "onCopy", "onBeforeRemove", "onRemove"]))
|
130
|
+
], 8, ye))), 128)),
|
131
|
+
i("a", {
|
132
|
+
href: e(B)("insert"),
|
133
|
+
class: "article-add",
|
134
|
+
onClick: l[0] || (l[0] = V(
|
135
|
+
//@ts-ignore
|
136
|
+
(...a) => e($) && e($)(...a),
|
137
|
+
["prevent"]
|
138
|
+
))
|
139
|
+
}, [
|
140
|
+
He,
|
141
|
+
D(" 添加新" + d(e(r).title), 1)
|
142
|
+
], 8, xe)
|
143
|
+
])
|
144
|
+
]),
|
145
|
+
_: 1
|
146
|
+
}, 8, ["style"]),
|
147
|
+
i("div", {
|
148
|
+
ref_key: "footerRef",
|
149
|
+
ref: H,
|
150
|
+
class: "article-bottom"
|
151
|
+
}, [
|
152
|
+
b(v, {
|
153
|
+
background: "",
|
154
|
+
layout: "total, prev, pager, next, jumper",
|
155
|
+
"current-page": e(n).page,
|
156
|
+
"page-size": e(n).pageSize,
|
157
|
+
total: e(n).count,
|
158
|
+
onCurrentChange: e(W)
|
159
|
+
}, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
|
160
|
+
], 512),
|
161
|
+
e(o).page ? (u(), k(oe, {
|
162
|
+
key: 1,
|
163
|
+
"destroy-on-close": "",
|
164
|
+
"append-to-body": e(o).appendToBody,
|
165
|
+
size: `${e(P).width ?? "60%"}`,
|
166
|
+
modelValue: e(o).visible,
|
167
|
+
"onUpdate:modelValue": l[1] || (l[1] = (a) => e(o).visible = a)
|
168
|
+
}, {
|
169
|
+
header: C(() => [
|
170
|
+
i("div", Se, [
|
171
|
+
D(d(e(m)[e(o).page].title) + " ", 1),
|
172
|
+
i("a", {
|
173
|
+
class: "drawer-copy",
|
174
|
+
href: e(me).getToUrl(e(o).url)
|
175
|
+
}, d(t.$t("common.link")), 9, $e)
|
176
|
+
])
|
177
|
+
]),
|
178
|
+
default: C(() => [
|
179
|
+
b(e(ve), {
|
180
|
+
ref_key: "pageRef",
|
181
|
+
ref: h,
|
182
|
+
url: e(o).url,
|
183
|
+
onSucceed: e(z),
|
184
|
+
onClose: e(Q)
|
185
|
+
}, null, 8, ["url", "onSucceed", "onClose"])
|
186
|
+
]),
|
187
|
+
_: 1
|
188
|
+
}, 8, ["append-to-body", "size", "modelValue"])) : _("", !0)
|
189
|
+
], 512);
|
190
|
+
};
|
191
|
+
}
|
192
|
+
});
|
193
|
+
export {
|
194
|
+
Ee as default
|
195
|
+
};
|
@@ -0,0 +1,78 @@
|
|
1
|
+
import { defineComponent as w, toRefs as x, resolveComponent as B, openBlock as r, createElementBlock as p, unref as e, withModifiers as m, createCommentVNode as s, createBlock as E, withCtx as N, createElementVNode as R } from "vue";
|
2
|
+
const V = { class: "article-footer" }, M = /* @__PURE__ */ w({
|
3
|
+
__name: "ArticleFooter",
|
4
|
+
props: {
|
5
|
+
table: {},
|
6
|
+
next: {},
|
7
|
+
set: {},
|
8
|
+
row: {}
|
9
|
+
},
|
10
|
+
emits: ["preview", "edit", "copy", "before-remove", "remove"],
|
11
|
+
setup(d, { emit: b }) {
|
12
|
+
let i = b, k = d, { table: _, next: l, set: A, row: c } = x(k), a = (t) => {
|
13
|
+
i("preview", c.value, t);
|
14
|
+
}, f = (t) => {
|
15
|
+
i("edit", c.value, t);
|
16
|
+
}, u = (t) => {
|
17
|
+
i("copy", c.value, t);
|
18
|
+
}, v = (t) => {
|
19
|
+
}, C = () => {
|
20
|
+
i("remove", [c.value]);
|
21
|
+
};
|
22
|
+
return (t, o) => {
|
23
|
+
const y = B("el-popconfirm");
|
24
|
+
return r(), p("div", V, [
|
25
|
+
e(l).detail ? (r(), p("i", {
|
26
|
+
key: 0,
|
27
|
+
class: "fa fa-search-plus btn-icon",
|
28
|
+
onClick: o[0] || (o[0] = m(
|
29
|
+
//@ts-ignore
|
30
|
+
(...n) => e(a) && e(a)(...n),
|
31
|
+
["prevent", "stop"]
|
32
|
+
))
|
33
|
+
})) : s("", !0),
|
34
|
+
e(l).update ? (r(), p("i", {
|
35
|
+
key: 1,
|
36
|
+
class: "fa fa-pencil btn-icon",
|
37
|
+
onClick: o[1] || (o[1] = m(
|
38
|
+
//@ts-ignore
|
39
|
+
(...n) => e(f) && e(f)(...n),
|
40
|
+
["prevent", "stop"]
|
41
|
+
))
|
42
|
+
})) : s("", !0),
|
43
|
+
e(l).copy ? (r(), p("i", {
|
44
|
+
key: 2,
|
45
|
+
class: "fa fa-copy btn-icon",
|
46
|
+
onClick: o[2] || (o[2] = m(
|
47
|
+
//@ts-ignore
|
48
|
+
(...n) => e(u) && e(u)(...n),
|
49
|
+
["prevent", "stop"]
|
50
|
+
))
|
51
|
+
})) : s("", !0),
|
52
|
+
e(l).delete ? (r(), E(y, {
|
53
|
+
key: 3,
|
54
|
+
width: 180,
|
55
|
+
title: t.t("common.confirm_delete"),
|
56
|
+
"confirm-button-text": t.t("common.confirm"),
|
57
|
+
"cancel-button-text": t.t("common.cancel"),
|
58
|
+
onConfirm: e(C)
|
59
|
+
}, {
|
60
|
+
reference: N(() => [
|
61
|
+
R("i", {
|
62
|
+
class: "fa fa-trash-alt btn-icon",
|
63
|
+
onClick: o[3] || (o[3] = m(
|
64
|
+
//@ts-ignore
|
65
|
+
(...n) => e(v) && e(v)(...n),
|
66
|
+
["prevent", "stop"]
|
67
|
+
))
|
68
|
+
})
|
69
|
+
]),
|
70
|
+
_: 1
|
71
|
+
}, 8, ["title", "confirm-button-text", "cancel-button-text", "onConfirm"])) : s("", !0)
|
72
|
+
]);
|
73
|
+
};
|
74
|
+
}
|
75
|
+
});
|
76
|
+
export {
|
77
|
+
M as default
|
78
|
+
};
|
@@ -0,0 +1,51 @@
|
|
1
|
+
import { defineComponent as v, toRefs as _, ref as V, computed as S, resolveComponent as x, openBlock as C, createBlock as H, unref as n, isRef as b } from "vue";
|
2
|
+
import { S as k, H as B } 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 q = /* @__PURE__ */ v({
|
7
|
+
__name: "Autocomplete",
|
8
|
+
props: {
|
9
|
+
schema: {},
|
10
|
+
table: {},
|
11
|
+
field: {},
|
12
|
+
searchData: {},
|
13
|
+
modelValue: {}
|
14
|
+
},
|
15
|
+
emits: ["submit", "change", "update:modelValue"],
|
16
|
+
setup(p, { emit: i }) {
|
17
|
+
let m = i, d = p, { table: c, field: s, searchData: D, modelValue: f } = _(d), o = V([]), g = null, h = (e, t) => {
|
18
|
+
if (o.value.length) {
|
19
|
+
let l = o.value.filter((u) => k.containsIgnoreCase(e, u.value));
|
20
|
+
t(l);
|
21
|
+
return;
|
22
|
+
}
|
23
|
+
let r = { text: g, conditions: [] };
|
24
|
+
B.post(s.value.control.data.route, r).then(({ data: l }) => {
|
25
|
+
o.value = l.map((u) => ({ value: u.text })), t(o.value);
|
26
|
+
}).catch(() => {
|
27
|
+
t([]);
|
28
|
+
});
|
29
|
+
}, a = S({
|
30
|
+
get() {
|
31
|
+
return f.value;
|
32
|
+
},
|
33
|
+
set(e) {
|
34
|
+
m("update:modelValue", e), m("change", e);
|
35
|
+
}
|
36
|
+
});
|
37
|
+
return (e, t) => {
|
38
|
+
const r = x("el-autocomplete");
|
39
|
+
return C(), H(r, {
|
40
|
+
clearable: "",
|
41
|
+
placeholder: e.$t_field_placeholder(n(c).name, n(s).name),
|
42
|
+
"fetch-suggestions": n(h),
|
43
|
+
modelValue: n(a),
|
44
|
+
"onUpdate:modelValue": t[0] || (t[0] = (l) => b(a) ? a.value = l : a = l)
|
45
|
+
}, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
|
46
|
+
};
|
47
|
+
}
|
48
|
+
});
|
49
|
+
export {
|
50
|
+
q as default
|
51
|
+
};
|
@@ -0,0 +1,52 @@
|
|
1
|
+
import { defineComponent as v, toRefs as _, ref as V, computed as S, resolveComponent as x, openBlock as C, createBlock as H, unref as n, isRef as b } from "vue";
|
2
|
+
import { S as k, H as B } 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 q = /* @__PURE__ */ v({
|
7
|
+
__name: "Autocomplete",
|
8
|
+
props: {
|
9
|
+
schema: {},
|
10
|
+
table: {},
|
11
|
+
field: {},
|
12
|
+
set: {},
|
13
|
+
row: {},
|
14
|
+
modelValue: {}
|
15
|
+
},
|
16
|
+
emits: ["submit", "change", "update:modelValue"],
|
17
|
+
setup(p, { emit: i }) {
|
18
|
+
let m = i, d = p, { table: c, field: s, set: R, modelValue: f } = _(d), o = V([]), g = null, h = (e, t) => {
|
19
|
+
if (o.value.length) {
|
20
|
+
let l = o.value.filter((r) => k.containsIgnoreCase(e, r.value));
|
21
|
+
t(l);
|
22
|
+
return;
|
23
|
+
}
|
24
|
+
let u = { text: g, conditions: [] };
|
25
|
+
B.post(s.value.control.data.route, u).then(({ data: l }) => {
|
26
|
+
o.value = l.map((r) => ({ value: r.text })), t(o.value);
|
27
|
+
}).catch(() => {
|
28
|
+
t([]);
|
29
|
+
});
|
30
|
+
}, a = S({
|
31
|
+
get() {
|
32
|
+
return f.value;
|
33
|
+
},
|
34
|
+
set(e) {
|
35
|
+
m("update:modelValue", e), m("change", e);
|
36
|
+
}
|
37
|
+
});
|
38
|
+
return (e, t) => {
|
39
|
+
const u = x("el-autocomplete");
|
40
|
+
return C(), H(u, {
|
41
|
+
clearable: "",
|
42
|
+
placeholder: e.$t_field_placeholder(n(c).name, n(s).name),
|
43
|
+
"fetch-suggestions": n(h),
|
44
|
+
modelValue: n(a),
|
45
|
+
"onUpdate:modelValue": t[0] || (t[0] = (l) => b(a) ? a.value = l : a = l)
|
46
|
+
}, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
|
47
|
+
};
|
48
|
+
}
|
49
|
+
});
|
50
|
+
export {
|
51
|
+
q as default
|
52
|
+
};
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { defineComponent as f, defineAsyncComponent as i, toRefs as c, openBlock as V, createBlock as b, unref as e, isRef as w } from "vue";
|
2
|
+
const x = /* @__PURE__ */ f({
|
3
|
+
__name: "Autocomplete",
|
4
|
+
props: {
|
5
|
+
schema: {},
|
6
|
+
table: {},
|
7
|
+
field: {},
|
8
|
+
set: {},
|
9
|
+
row: {},
|
10
|
+
modelValue: {}
|
11
|
+
},
|
12
|
+
setup(a) {
|
13
|
+
let m = i(() => import("./Text-DJbk5I_4.js")), s = a, { table: r, field: n, set: d, row: p, modelValue: l } = c(s);
|
14
|
+
return (u, o) => (V(), b(e(m), {
|
15
|
+
schema: u.schema,
|
16
|
+
table: e(r),
|
17
|
+
field: e(n),
|
18
|
+
row: e(p),
|
19
|
+
set: e(d),
|
20
|
+
modelValue: e(l),
|
21
|
+
"onUpdate:modelValue": o[0] || (o[0] = (t) => w(l) ? l.value = t : l = t)
|
22
|
+
}, null, 8, ["schema", "table", "field", "row", "set", "modelValue"]));
|
23
|
+
}
|
24
|
+
});
|
25
|
+
export {
|
26
|
+
x as default
|
27
|
+
};
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { defineComponent as u, defineAsyncComponent as i, toRefs as c, openBlock as V, createBlock as b, unref as e, isRef as h } from "vue";
|
2
|
+
const _ = /* @__PURE__ */ u({
|
3
|
+
__name: "CSharp",
|
4
|
+
props: {
|
5
|
+
schema: {},
|
6
|
+
table: {},
|
7
|
+
field: {},
|
8
|
+
set: {},
|
9
|
+
row: {},
|
10
|
+
modelValue: {}
|
11
|
+
},
|
12
|
+
setup(a) {
|
13
|
+
let r = i(() => import("./Code-Chrbr4KP.js")), s = a, { schema: m, table: n, field: d, set: p, row: f, modelValue: l } = c(s);
|
14
|
+
return (w, o) => (V(), b(e(r), {
|
15
|
+
schema: e(m),
|
16
|
+
table: e(n),
|
17
|
+
field: e(d),
|
18
|
+
row: e(f),
|
19
|
+
set: e(p),
|
20
|
+
modelValue: e(l),
|
21
|
+
"onUpdate:modelValue": o[0] || (o[0] = (t) => h(l) ? l.value = t : l = t)
|
22
|
+
}, null, 8, ["schema", "table", "field", "row", "set", "modelValue"]));
|
23
|
+
}
|
24
|
+
});
|
25
|
+
export {
|
26
|
+
_ as default
|
27
|
+
};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { openBlock as e, createElementBlock as r } from "vue";
|
2
|
+
import { b as c } from "./main-_4re--C1.js";
|
3
|
+
const n = {};
|
4
|
+
function o(t, _) {
|
5
|
+
return e(), r("div", null, "日历");
|
6
|
+
}
|
7
|
+
const l = /* @__PURE__ */ c(n, [["render", o]]);
|
8
|
+
export {
|
9
|
+
l as default
|
10
|
+
};
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { defineComponent as o } from "vue";
|
2
|
+
import { useRouter as i, useRoute as n } from "vue-router";
|
3
|
+
import { M as s, q as u } from "./main-_4re--C1.js";
|
4
|
+
const f = /* @__PURE__ */ o({
|
5
|
+
__name: "Callback",
|
6
|
+
setup(p) {
|
7
|
+
let r = i(), e = n().query;
|
8
|
+
return (() => {
|
9
|
+
if (!e.type) {
|
10
|
+
s.error("缺失type参数");
|
11
|
+
return;
|
12
|
+
}
|
13
|
+
let t = u.getSso(e.type.toString());
|
14
|
+
e.identity = JSON.parse(e.identity.toString()), t.login(e), r.push(e.return_url.toString());
|
15
|
+
})(), (t, l) => " 登录完毕,处理回调中... ";
|
16
|
+
}
|
17
|
+
});
|
18
|
+
export {
|
19
|
+
f as default
|
20
|
+
};
|
@@ -0,0 +1,83 @@
|
|
1
|
+
import { defineComponent as B, toRefs as E, ref as S, computed as w, resolveComponent as H, openBlock as i, createBlock as N, unref as n, isRef as R, withCtx as T, createElementVNode as D, createTextVNode as I, toDisplayString as c, createElementBlock as m, createCommentVNode as f } from "vue";
|
2
|
+
import { T as h, H as P } 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 j = {
|
7
|
+
key: 0,
|
8
|
+
class: "cascader-suffix"
|
9
|
+
}, q = {
|
10
|
+
key: 0,
|
11
|
+
class: "cascader-length"
|
12
|
+
}, M = /* @__PURE__ */ B({
|
13
|
+
__name: "Cascader",
|
14
|
+
props: {
|
15
|
+
schema: {},
|
16
|
+
table: {},
|
17
|
+
field: {},
|
18
|
+
set: {},
|
19
|
+
row: {},
|
20
|
+
modelValue: {}
|
21
|
+
},
|
22
|
+
emits: ["submit", "change", "update:modelValue"],
|
23
|
+
setup(v, { emit: g }) {
|
24
|
+
let p = g, V = v, { table: U, field: t, set: z, row: A, modelValue: b } = E(V), r = S(), d = null, _ = () => {
|
25
|
+
r.value || (r.value = t.value.control.data.data);
|
26
|
+
let e = b.value, l = [];
|
27
|
+
return t.value.control.multiple ? (e ? e.toString().split(",") : [e]).forEach((o) => {
|
28
|
+
let a = h.getParentsById(o, "value", r.value, "children", !0);
|
29
|
+
a.length > 0 && l.push(a.map((k) => k.value));
|
30
|
+
}) : h.getParentsById(e, "value", r.value, "children", !0).forEach((o) => {
|
31
|
+
l.push(o.value);
|
32
|
+
}), l;
|
33
|
+
}, x = (e) => {
|
34
|
+
let l;
|
35
|
+
t.value.control.multiple ? l = e.map((s) => s[s.length - 1]).join(",") : l = e[e.length - 1], p("update:modelValue", l), p("change", l);
|
36
|
+
}, C = (e) => {
|
37
|
+
e && (d = null, y());
|
38
|
+
}, y = () => {
|
39
|
+
let e = { text: d, conditions: [] };
|
40
|
+
t.value.control.data.conditions.forEach((l) => {
|
41
|
+
e.conditions.push({ name: l.name, value: null });
|
42
|
+
}), P.post(t.value.control.data.route, e).then(({ data: l }) => {
|
43
|
+
r.value = l;
|
44
|
+
});
|
45
|
+
}, u = w({
|
46
|
+
get() {
|
47
|
+
return _();
|
48
|
+
},
|
49
|
+
set(e) {
|
50
|
+
x(e);
|
51
|
+
}
|
52
|
+
});
|
53
|
+
return (e, l) => {
|
54
|
+
const s = H("el-cascader");
|
55
|
+
return i(), N(s, {
|
56
|
+
ref: "cascaderRef",
|
57
|
+
filterable: "",
|
58
|
+
"collapse-tags": "",
|
59
|
+
"collapse-tags-tooltip": "",
|
60
|
+
"max-collapse-tags": 6,
|
61
|
+
options: n(r),
|
62
|
+
disabled: n(t).readonly,
|
63
|
+
props: { label: "text", checkStrictly: !0, multiple: n(t).control.multiple },
|
64
|
+
clearable: !n(t).control.required,
|
65
|
+
onVisibleChange: n(C),
|
66
|
+
modelValue: n(u),
|
67
|
+
"onUpdate:modelValue": l[0] || (l[0] = (o) => R(u) ? u.value = o : u = o)
|
68
|
+
}, {
|
69
|
+
default: T(({ node: o, data: a }) => [
|
70
|
+
D("span", null, [
|
71
|
+
I(c(a.text), 1),
|
72
|
+
a.suffix ? (i(), m("span", j, "(" + c(a.suffix) + ")", 1)) : f("", !0)
|
73
|
+
]),
|
74
|
+
a.children ? (i(), m("span", q, c(a.children.length), 1)) : f("", !0)
|
75
|
+
]),
|
76
|
+
_: 1
|
77
|
+
}, 8, ["options", "disabled", "props", "clearable", "onVisibleChange", "modelValue"]);
|
78
|
+
};
|
79
|
+
}
|
80
|
+
});
|
81
|
+
export {
|
82
|
+
M as default
|
83
|
+
};
|
@@ -0,0 +1,44 @@
|
|
1
|
+
import { defineComponent as y, toRefs as k, computed as p, openBlock as e, createElementBlock as t, Fragment as m, renderList as d, unref as f, normalizeStyle as x, toDisplayString as h, createCommentVNode as b } from "vue";
|
2
|
+
import { T as B } 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: "text-cascader" }, S = {
|
7
|
+
key: 0,
|
8
|
+
class: "cascader-seperator"
|
9
|
+
}, L = /* @__PURE__ */ y({
|
10
|
+
__name: "Cascader",
|
11
|
+
props: {
|
12
|
+
schema: {},
|
13
|
+
table: {},
|
14
|
+
field: {},
|
15
|
+
set: {},
|
16
|
+
row: {},
|
17
|
+
modelValue: {}
|
18
|
+
},
|
19
|
+
emits: ["submit", "change"],
|
20
|
+
setup(_, { emit: V }) {
|
21
|
+
let v = _, { table: w, field: s, set: E, row: T, modelValue: a } = k(v), u = p(() => s.value.control.multiple ? a.value ? a.value.toString().split(",") : [] : a.value), c = p(() => {
|
22
|
+
if (u.value.length > 0) {
|
23
|
+
let i = s.value.control.data.data, o = [];
|
24
|
+
return u.value.forEach((r) => {
|
25
|
+
let l = B.getParentsById(r, "value", i, "children", !0);
|
26
|
+
l.length > 0 && o.push(l);
|
27
|
+
}), o;
|
28
|
+
}
|
29
|
+
return [];
|
30
|
+
});
|
31
|
+
return (i, o) => (e(), t("div", C, [
|
32
|
+
(e(!0), t(m, null, d(f(c), (r, l) => (e(), t("span", null, [
|
33
|
+
(e(!0), t(m, null, d(r, (n, g) => (e(), t("span", {
|
34
|
+
style: x({ color: n.color }),
|
35
|
+
key: n.value
|
36
|
+
}, h(n.text) + h(g == r.length - 1 ? "" : " / "), 5))), 128)),
|
37
|
+
l != f(c).length - 1 ? (e(), t("span", S, ",")) : b("", !0)
|
38
|
+
]))), 256))
|
39
|
+
]));
|
40
|
+
}
|
41
|
+
});
|
42
|
+
export {
|
43
|
+
L as default
|
44
|
+
};
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { defineComponent as p, defineAsyncComponent as u, toRefs as c, openBlock as b, createBlock as V, unref as e, isRef as h } from "vue";
|
2
|
+
const _ = /* @__PURE__ */ p({
|
3
|
+
__name: "Checkbox",
|
4
|
+
props: {
|
5
|
+
schema: {},
|
6
|
+
table: {},
|
7
|
+
field: {},
|
8
|
+
set: {},
|
9
|
+
row: {},
|
10
|
+
modelValue: {}
|
11
|
+
},
|
12
|
+
setup(a) {
|
13
|
+
let r = u(() => import("./Dictionary-Bf5W_pJM.js")), s = a, { schema: m, table: n, field: d, set: f, row: i, modelValue: l } = c(s);
|
14
|
+
return (w, o) => (b(), V(e(r), {
|
15
|
+
schema: e(m),
|
16
|
+
table: e(n),
|
17
|
+
field: e(d),
|
18
|
+
row: e(i),
|
19
|
+
set: e(f),
|
20
|
+
modelValue: e(l),
|
21
|
+
"onUpdate:modelValue": o[0] || (o[0] = (t) => h(l) ? l.value = t : l = t)
|
22
|
+
}, null, 8, ["schema", "table", "field", "row", "set", "modelValue"]));
|
23
|
+
}
|
24
|
+
});
|
25
|
+
export {
|
26
|
+
_ as default
|
27
|
+
};
|