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,76 @@
|
|
1
|
+
import { defineComponent as h, toRefs as f, onMounted as x, resolveComponent as v, openBlock as _, createElementBlock as g, createVNode as y, unref as A } from "vue";
|
2
|
+
const b = { class: "ho-statistic-layout" }, k = /* @__PURE__ */ h({
|
3
|
+
__name: "Statistic",
|
4
|
+
props: {
|
5
|
+
route: {},
|
6
|
+
validateErrors: {},
|
7
|
+
module: {},
|
8
|
+
schema: {},
|
9
|
+
table: {},
|
10
|
+
layout: {},
|
11
|
+
next: {},
|
12
|
+
set: {}
|
13
|
+
},
|
14
|
+
setup(p) {
|
15
|
+
let c = p, { schema: E, table: a, layout: l, set: n } = f(c), t = {
|
16
|
+
plotOptions: {
|
17
|
+
series: { animation: !1 }
|
18
|
+
//禁用载入动画
|
19
|
+
},
|
20
|
+
chart: {
|
21
|
+
type: "spline",
|
22
|
+
marginRight: 10
|
23
|
+
},
|
24
|
+
title: {
|
25
|
+
text: null
|
26
|
+
},
|
27
|
+
xAxis: {
|
28
|
+
name: null,
|
29
|
+
categories: []
|
30
|
+
},
|
31
|
+
yAxis: {
|
32
|
+
title: {
|
33
|
+
text: null
|
34
|
+
}
|
35
|
+
},
|
36
|
+
tooltip: {
|
37
|
+
shared: !0
|
38
|
+
},
|
39
|
+
series: []
|
40
|
+
}, m = () => {
|
41
|
+
let s = l.value.fields.find((e) => e.group);
|
42
|
+
t.xAxis.name = s.name, t.xAxis.categories = n.value[a.value.name].map((e) => e[s.name]);
|
43
|
+
let o = [];
|
44
|
+
l.value.fields.forEach((e) => {
|
45
|
+
if (!e.group) {
|
46
|
+
let r = a.value.fields.find((i) => i.name == e.name), u = {
|
47
|
+
name: r.label,
|
48
|
+
tooltip: {
|
49
|
+
valueSuffix: " ms"
|
50
|
+
},
|
51
|
+
data: []
|
52
|
+
};
|
53
|
+
n.value[a.value.name].forEach((i) => {
|
54
|
+
u.data.push(parseFloat(i[r.name]));
|
55
|
+
}), o.push(u);
|
56
|
+
}
|
57
|
+
}), t.series = o, t.yAxis.title.text = l.value.value;
|
58
|
+
}, d = () => {
|
59
|
+
m();
|
60
|
+
};
|
61
|
+
return x(() => {
|
62
|
+
d();
|
63
|
+
}), (s, o) => {
|
64
|
+
const e = v("Highcharts");
|
65
|
+
return _(), g("div", b, [
|
66
|
+
y(e, {
|
67
|
+
class: "chart",
|
68
|
+
options: A(t)
|
69
|
+
}, null, 8, ["options"])
|
70
|
+
]);
|
71
|
+
};
|
72
|
+
}
|
73
|
+
});
|
74
|
+
export {
|
75
|
+
k as default
|
76
|
+
};
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { defineComponent as c, toRefs as m, openBlock as u, createBlock as p, unref as e } from "vue";
|
2
|
+
import { _ } from "./Stock.vue_vue_type_style_index_0_lang-BZ0BHU-F.js";
|
3
|
+
const b = /* @__PURE__ */ c({
|
4
|
+
__name: "Stock",
|
5
|
+
props: {
|
6
|
+
route: {},
|
7
|
+
validateErrors: {},
|
8
|
+
module: {},
|
9
|
+
schema: {},
|
10
|
+
table: {},
|
11
|
+
layout: {},
|
12
|
+
next: {},
|
13
|
+
set: {}
|
14
|
+
},
|
15
|
+
setup(t) {
|
16
|
+
let a = t, { schema: o, table: s, layout: l, next: r, set: n } = m(a);
|
17
|
+
return (f, i) => (u(), p(_, {
|
18
|
+
schema: e(o),
|
19
|
+
table: e(s),
|
20
|
+
layout: e(l),
|
21
|
+
next: e(r),
|
22
|
+
set: e(n)
|
23
|
+
}, null, 8, ["schema", "table", "layout", "next", "set"]));
|
24
|
+
}
|
25
|
+
});
|
26
|
+
export {
|
27
|
+
b as default
|
28
|
+
};
|
@@ -0,0 +1,301 @@
|
|
1
|
+
import { defineComponent as F, toRefs as R, ref as T, onMounted as B, openBlock as G, createBlock as P, unref as h, withCtx as V, createElementVNode as A, createTextVNode as E, toDisplayString as b } from "vue";
|
2
|
+
import { h as O, j, A as K } 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 N = /* @__PURE__ */ A("div", { class: "ho-empty" }, "暂无行情数据", -1), z = [
|
7
|
+
N
|
8
|
+
], Y = /* @__PURE__ */ F({
|
9
|
+
__name: "Stock",
|
10
|
+
props: {
|
11
|
+
searchData: {},
|
12
|
+
route: {},
|
13
|
+
module: {},
|
14
|
+
schema: {},
|
15
|
+
table: {},
|
16
|
+
layout: {},
|
17
|
+
next: {},
|
18
|
+
set: {}
|
19
|
+
},
|
20
|
+
setup(k) {
|
21
|
+
let L = k, { module: H, schema: W, table: v, layout: n, next: $, set: f } = R(L), p = null, d = null, w = O(), y = "#04aa4e", x = "#ff5945", S = T(), u = { history: null, week: null, month: null }, _ = (t) => {
|
22
|
+
let o = K.orderBy(t, (i) => i[n.value.time], !1), e = [], l = [], r = [];
|
23
|
+
for (let i = 0; i < o.length; i++) {
|
24
|
+
let a = o[i];
|
25
|
+
e.push(a[n.value.time]);
|
26
|
+
let c = parseFloat(a[n.value.open]), s = parseFloat(a[n.value.close]);
|
27
|
+
l.push([c, s, parseFloat(a[n.value.low]), parseFloat(a[n.value.high])]);
|
28
|
+
let C = {
|
29
|
+
value: parseFloat(a[n.value.volumn]),
|
30
|
+
itemStyle: { color: s > c ? y : x }
|
31
|
+
};
|
32
|
+
r.push(C);
|
33
|
+
}
|
34
|
+
return { times: e, values: l, volumes: r };
|
35
|
+
}, m = (t, o) => {
|
36
|
+
let e = [];
|
37
|
+
for (let l = 0, r = t.values.length; l < r; l++) {
|
38
|
+
if (l < o) {
|
39
|
+
e.push("-");
|
40
|
+
continue;
|
41
|
+
}
|
42
|
+
let i = 0;
|
43
|
+
for (let a = 0; a < o; a++)
|
44
|
+
i += t.values[l - a][1];
|
45
|
+
e.push(i / o);
|
46
|
+
}
|
47
|
+
return e;
|
48
|
+
}, M = (t) => {
|
49
|
+
let o = n.value.trade, e = {
|
50
|
+
animation: !1,
|
51
|
+
//关闭动画,提升性能
|
52
|
+
// title: {text: this.table.title, left: 'left', textStyle: {}},//标题
|
53
|
+
tooltip: {
|
54
|
+
trigger: "axis",
|
55
|
+
backgroundColor: "rgba(255, 255, 255, 0.8)",
|
56
|
+
textStyle: { color: "#666" },
|
57
|
+
borderColor: "#ddd",
|
58
|
+
borderWidth: 1,
|
59
|
+
axisPointer: { type: "cross" }
|
60
|
+
},
|
61
|
+
//提示
|
62
|
+
title: { textStyle: { color: null } },
|
63
|
+
axisPointer: { link: { xAxisIndex: "all" } },
|
64
|
+
//连接多个坐标轴的提示器
|
65
|
+
grid: [
|
66
|
+
{ left: "2%", right: "3%", height: "60%", containLabel: !0 },
|
67
|
+
//k线图占据网格配置
|
68
|
+
{ left: "4%", right: "3%", top: "76%", containLabel: !0 }
|
69
|
+
//交易量图的网格
|
70
|
+
],
|
71
|
+
dataZoom: [
|
72
|
+
{ type: "inside", start: 0, end: 100, xAxisIndex: [0, 1] },
|
73
|
+
//K线图 和 交易量 控件联动;控制默认滑块的选择范围
|
74
|
+
{ show: !0, type: "slider", top: "91%", start: 50, end: 100 }
|
75
|
+
//不显示底部滑块
|
76
|
+
],
|
77
|
+
toolbox: { left: "2%", feature: { dataZoom: { yAxisIndex: "none" }, restore: {}, saveAsImage: {} } },
|
78
|
+
xAxis: [
|
79
|
+
{
|
80
|
+
//主图
|
81
|
+
type: "category",
|
82
|
+
scale: !0,
|
83
|
+
data: t.times,
|
84
|
+
//X坐标轴
|
85
|
+
boundaryGap: !0,
|
86
|
+
//保留边界,当图标数据过多时,可以看的更完整
|
87
|
+
axisTick: { show: !1 },
|
88
|
+
//不显示坐标轴刻度
|
89
|
+
axisLabel: { show: !1 },
|
90
|
+
//不显示x坐标轴标签
|
91
|
+
axisLine: { onZero: !1, show: !1 }
|
92
|
+
//隐藏x坐标轴线
|
93
|
+
},
|
94
|
+
{
|
95
|
+
//交易量图
|
96
|
+
type: "category",
|
97
|
+
gridIndex: 1,
|
98
|
+
data: t.times,
|
99
|
+
boundaryGap: !0,
|
100
|
+
//保留边界,当图标数据过多时,可以看的更完整
|
101
|
+
axisTick: { show: !1 },
|
102
|
+
//不显示x坐标轴刻度
|
103
|
+
axisLabel: { color: "#9b9da9" },
|
104
|
+
//label文字设置
|
105
|
+
axisLine: { onZero: !1, show: !1 }
|
106
|
+
//隐藏x坐标轴线
|
107
|
+
}
|
108
|
+
],
|
109
|
+
yAxis: [
|
110
|
+
{
|
111
|
+
//k线图
|
112
|
+
type: null,
|
113
|
+
scale: !0,
|
114
|
+
axisTick: { show: !1 },
|
115
|
+
//不显示y坐标轴刻度
|
116
|
+
splitArea: { show: !1 },
|
117
|
+
//不显示间隔块
|
118
|
+
splitLine: { lineStyle: { color: "#eee" } },
|
119
|
+
//分割线颜色
|
120
|
+
axisLabel: { color: "#777" },
|
121
|
+
//y轴标签颜色
|
122
|
+
axisLine: { show: !1 }
|
123
|
+
//隐藏y坐标轴线
|
124
|
+
},
|
125
|
+
{
|
126
|
+
//交易量图
|
127
|
+
show: !1,
|
128
|
+
gridIndex: 1,
|
129
|
+
position: "left",
|
130
|
+
//刻度数值的位置
|
131
|
+
axisLine: { show: !1 },
|
132
|
+
//不显示y坐标轴
|
133
|
+
axisTick: { show: !1 },
|
134
|
+
splitLine: { onZero: !0, show: !1 },
|
135
|
+
//y轴分割线
|
136
|
+
axisLabel: { color: "#c7c7c7", inside: !0, fontSize: 8 }
|
137
|
+
//label文字朝内对齐
|
138
|
+
}
|
139
|
+
],
|
140
|
+
series: [],
|
141
|
+
legend: null
|
142
|
+
};
|
143
|
+
if (f.value[v.value.name][0][n.value.open])
|
144
|
+
e.legend = { data: ["日K", "MA5", "MA10", "MA20", "MA30"], right: "2%" }, e.series = [
|
145
|
+
{
|
146
|
+
name: "日K",
|
147
|
+
type: "candlestick",
|
148
|
+
//k线图
|
149
|
+
gridIndex: 1,
|
150
|
+
//网格索引,表示使用第2个网格的配置
|
151
|
+
data: t.values,
|
152
|
+
itemStyle: {
|
153
|
+
color: y,
|
154
|
+
color0: x,
|
155
|
+
borderColor: y,
|
156
|
+
borderColor0: x
|
157
|
+
},
|
158
|
+
markPoint: {
|
159
|
+
//图标标注
|
160
|
+
symbol: "pin",
|
161
|
+
//标记的图形
|
162
|
+
label: {
|
163
|
+
normal: {
|
164
|
+
formatter: function(l) {
|
165
|
+
return l != null ? l.value : "";
|
166
|
+
}
|
167
|
+
}
|
168
|
+
},
|
169
|
+
data: [{ type: "max" }],
|
170
|
+
tooltip: {
|
171
|
+
formatter: function(l) {
|
172
|
+
debugger;
|
173
|
+
return l.name + "<br>" + (l.data.coord || "");
|
174
|
+
}
|
175
|
+
}
|
176
|
+
}
|
177
|
+
},
|
178
|
+
{
|
179
|
+
name: "成交量",
|
180
|
+
type: "bar",
|
181
|
+
data: t.volumes,
|
182
|
+
xAxisIndex: 1,
|
183
|
+
//绑定对应的x坐标轴配置
|
184
|
+
yAxisIndex: 1
|
185
|
+
//绑定对应的y坐标轴配置
|
186
|
+
},
|
187
|
+
{
|
188
|
+
name: "MA5",
|
189
|
+
type: "line",
|
190
|
+
data: m(t, 5),
|
191
|
+
smooth: !0,
|
192
|
+
lineStyle: { width: 1 },
|
193
|
+
itemStyle: { opacity: 0 }
|
194
|
+
//点样式
|
195
|
+
},
|
196
|
+
{
|
197
|
+
name: "MA10",
|
198
|
+
type: "line",
|
199
|
+
data: m(t, 10),
|
200
|
+
smooth: !0,
|
201
|
+
lineStyle: { width: 1 },
|
202
|
+
itemStyle: { opacity: 0 }
|
203
|
+
//点样式
|
204
|
+
},
|
205
|
+
{
|
206
|
+
name: "MA20",
|
207
|
+
type: "line",
|
208
|
+
data: m(t, 20),
|
209
|
+
smooth: !0,
|
210
|
+
lineStyle: { width: 1 },
|
211
|
+
itemStyle: { opacity: 0 }
|
212
|
+
//点样式
|
213
|
+
},
|
214
|
+
{
|
215
|
+
name: "MA30",
|
216
|
+
type: "line",
|
217
|
+
data: m(t, 30),
|
218
|
+
smooth: !0,
|
219
|
+
lineStyle: { width: 1 },
|
220
|
+
itemStyle: { opacity: 0 }
|
221
|
+
//点样式
|
222
|
+
}
|
223
|
+
];
|
224
|
+
else {
|
225
|
+
e.legend = { data: ["净值"], right: "2%", textStyle: {} }, e.yAxis[0].type = "value", e.series = [], w.theme == "dark" && (e.title.textStyle.color = "rgba(255,255,255,0.8)", e.legend.textStyle.color = "rgba(255,255,255,.72)", e.xAxis[0].axisLabel.color = "rgba(255,255,255,.72)", e.yAxis[0].splitLine.lineStyle.color = "rgba(110,117,130,0.2)", e.yAxis[0].axisLabel.color = "rgba(255,255,255,.72)");
|
226
|
+
let l = "#62bfff", r = {
|
227
|
+
name: "净值",
|
228
|
+
type: "line",
|
229
|
+
lineStyle: { color: l, width: 1 },
|
230
|
+
itemStyle: { color: l },
|
231
|
+
//点样式
|
232
|
+
smooth: !0,
|
233
|
+
data: [],
|
234
|
+
areaStyle: {
|
235
|
+
color: new d.graphic.LinearGradient(0, 0, 0, 1, [{
|
236
|
+
offset: 0,
|
237
|
+
color: l
|
238
|
+
}, {
|
239
|
+
offset: 1,
|
240
|
+
color: "#fff"
|
241
|
+
}])
|
242
|
+
}
|
243
|
+
};
|
244
|
+
w.theme == "dark" && (r.areaStyle.color = new d.graphic.LinearGradient(
|
245
|
+
0,
|
246
|
+
0,
|
247
|
+
0,
|
248
|
+
1,
|
249
|
+
[
|
250
|
+
{ offset: 0, color: l },
|
251
|
+
{ offset: 1, color: "#354052" }
|
252
|
+
]
|
253
|
+
)), e.xAxis[0].data.push(...t.times);
|
254
|
+
let i = t.values.map((a) => a[1]);
|
255
|
+
r.data.push(...i), e.series.push(r);
|
256
|
+
}
|
257
|
+
return o && f.value[o.table].forEach((r) => {
|
258
|
+
let i = r[o.time], a = t.times.indexOf(i), c = t.values[a], s = {
|
259
|
+
coord: [i],
|
260
|
+
itemStyle: { color: null },
|
261
|
+
label: { position: null, offset: null },
|
262
|
+
value: null,
|
263
|
+
symbolRotate: null
|
264
|
+
};
|
265
|
+
r[o.direction] == 1 ? (s.coord.push(c[2] * 0.99), s.value = "买", s.itemStyle.color = "#00c805", s.symbolRotate = 180, s.label.position = "insideBottom", s.label.offset = [0, -5]) : (s.coord.push(c[3] * 1.01), s.value = "卖", s.itemStyle.color = "#ff5000"), e.series[0].markPoint.data.push(s);
|
266
|
+
}), e;
|
267
|
+
}, g = (t) => {
|
268
|
+
let o = 0;
|
269
|
+
return t.forEach((e) => {
|
270
|
+
let r = Math.max(e[0] - e[2], e[3] - e[0]) / e[0];
|
271
|
+
o += r;
|
272
|
+
}), o / t.length * 100;
|
273
|
+
}, I = (t) => {
|
274
|
+
let o = M(t);
|
275
|
+
p || (p = d.init(S.value)), p.setOption(o);
|
276
|
+
let e = t.values, l = e.reverse();
|
277
|
+
u.history = g(e), u.week = g(l.slice(0, 7)), u.month = g(l.slice(0, 30));
|
278
|
+
}, Z = () => {
|
279
|
+
let t = f.value[v.value.name];
|
280
|
+
t.length > 0 && I(_(t));
|
281
|
+
};
|
282
|
+
return B(() => {
|
283
|
+
import("echarts").then((t) => {
|
284
|
+
d = t, Z();
|
285
|
+
});
|
286
|
+
}), (t, o) => (G(), P(h(j), null, {
|
287
|
+
default: V(() => [
|
288
|
+
A("div", {
|
289
|
+
ref_key: "chartRef",
|
290
|
+
ref: S,
|
291
|
+
class: "chart"
|
292
|
+
}, z, 512),
|
293
|
+
E(" 30日开盘振幅:" + b(h(u).month) + "% 7日开盘振幅:" + b(h(u).week) + "% 历史开盘振幅:" + b(h(u).history) + "% ", 1)
|
294
|
+
]),
|
295
|
+
_: 1
|
296
|
+
}));
|
297
|
+
}
|
298
|
+
});
|
299
|
+
export {
|
300
|
+
Y as _
|
301
|
+
};
|
@@ -0,0 +1,50 @@
|
|
1
|
+
import { defineComponent as V, toRefs as h, computed as _, resolveComponent as b, openBlock as m, createElementBlock as i, createVNode as g, unref as l, isRef as C, createCommentVNode as w } from "vue";
|
2
|
+
const k = { class: "control-switch" }, x = /* @__PURE__ */ V({
|
3
|
+
__name: "Switch",
|
4
|
+
props: {
|
5
|
+
schema: {},
|
6
|
+
table: {},
|
7
|
+
field: {},
|
8
|
+
set: {},
|
9
|
+
row: {},
|
10
|
+
modelValue: { type: [Boolean, Number] }
|
11
|
+
},
|
12
|
+
emits: ["submit", "change", "update:modelValue"],
|
13
|
+
setup(c, { emit: p }) {
|
14
|
+
let d = p, f = c, { table: y, field: n, set: B, modelValue: s } = h(f), r = () => {
|
15
|
+
e.value = null;
|
16
|
+
}, v = (o) => {
|
17
|
+
let t = n.value.control.data.data.find((u) => u.value == o);
|
18
|
+
e.value = t.value;
|
19
|
+
}, e = _({
|
20
|
+
get() {
|
21
|
+
if (s.value != null)
|
22
|
+
return s.value == !0;
|
23
|
+
},
|
24
|
+
set(o) {
|
25
|
+
d("update:modelValue", o), d("change", o);
|
26
|
+
}
|
27
|
+
});
|
28
|
+
return (o, t) => {
|
29
|
+
const u = b("el-switch");
|
30
|
+
return m(), i("span", k, [
|
31
|
+
g(u, {
|
32
|
+
small: "",
|
33
|
+
disabled: l(n).control.readonly,
|
34
|
+
onChange: l(v),
|
35
|
+
modelValue: l(e),
|
36
|
+
"onUpdate:modelValue": t[0] || (t[0] = (a) => C(e) ? e.value = a : e = a)
|
37
|
+
}, null, 8, ["disabled", "onChange", "modelValue"]),
|
38
|
+
!l(n).required && l(e) != null ? (m(), i("i", {
|
39
|
+
key: 0,
|
40
|
+
class: "fa fa-times",
|
41
|
+
onClick: t[1] || (t[1] = //@ts-ignore
|
42
|
+
(...a) => l(r) && l(r)(...a))
|
43
|
+
})) : w("", !0)
|
44
|
+
]);
|
45
|
+
};
|
46
|
+
}
|
47
|
+
});
|
48
|
+
export {
|
49
|
+
x as default
|
50
|
+
};
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { defineComponent as u, defineAsyncComponent as f, toRefs as c, openBlock as b, createBlock as w, unref as e, isRef as V } from "vue";
|
2
|
+
const x = /* @__PURE__ */ u({
|
3
|
+
__name: "Switch",
|
4
|
+
props: {
|
5
|
+
schema: {},
|
6
|
+
table: {},
|
7
|
+
field: {},
|
8
|
+
set: {},
|
9
|
+
row: {},
|
10
|
+
modelValue: { type: [String, Number, Boolean] }
|
11
|
+
},
|
12
|
+
setup(a) {
|
13
|
+
let r = f(() => import("./Dictionary-Bf5W_pJM.js")), n = a, { schema: m, table: s, field: i, set: d, row: p, modelValue: t } = c(n);
|
14
|
+
return (h, l) => (b(), w(e(r), {
|
15
|
+
schema: e(m),
|
16
|
+
table: e(s),
|
17
|
+
field: e(i),
|
18
|
+
set: e(d),
|
19
|
+
row: e(p),
|
20
|
+
modelValue: e(t),
|
21
|
+
"onUpdate:modelValue": l[0] || (l[0] = (o) => V(t) ? t.value = o : t = o)
|
22
|
+
}, null, 8, ["schema", "table", "field", "set", "row", "modelValue"]));
|
23
|
+
}
|
24
|
+
});
|
25
|
+
export {
|
26
|
+
x as default
|
27
|
+
};
|