halo-pc 1.0.6 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Article-CiVdO1Ui.js +192 -0
- package/dist/Autocomplete-DSE7qXaY.js +48 -0
- package/dist/{Autocomplete-A0m1RW7z.js → Autocomplete-TVE3ZXGj.js} +1 -1
- package/dist/Autocomplete-gwIpU0Ap.js +49 -0
- package/dist/{CSharp-Bwl97exE.js → CSharp-ZvsrI2tS.js} +1 -1
- package/dist/{Calender-C3vbVYIN.js → Calender-BN1Qici-.js} +2 -2
- package/dist/Callback-C5vXOse3.js +20 -0
- package/dist/Cascader-DIwiaPq_.js +80 -0
- package/dist/Cascader-DhcIQmz0.js +41 -0
- package/dist/{Checkbox-BJS0a1NT.js → Checkbox-DPVFKvtd.js} +1 -1
- package/dist/{Code-9I77CMRV.js → Code-C-Xxwb29.js} +1 -1
- package/dist/{Code-B2DrYXDa.js → Code-EMhF8em7.js} +18 -22
- package/dist/Code-MpN64VDz.js +4 -0
- package/dist/Code-rSRVyC9T.js +36 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-P0TnGKPx.js +59 -0
- package/dist/Column-CjVMWBjC.js +67 -0
- package/dist/Comment-CakkgoNi.js +98 -0
- package/dist/Compare-C7v4kOpE.js +26 -0
- package/dist/Compare-fM9jPPuu.js +56 -0
- package/dist/Copy-CYEJ22tk.js +43 -0
- package/dist/Custom-Cig2xWvf.js +47 -0
- package/dist/{DataExport-BHh7NvbT.js → DataExport-D6d04miG.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-C9t5j7Gi.js → DataExport.vue_vue_type_script_setup_true_lang-B0lK_clm.js} +35 -39
- package/dist/{DataImport-CtBsCyNb.js → DataImport-CceWCzes.js} +1 -1
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-5qkPOt4L.js +172 -0
- package/dist/{Date-IV1FwqTW.js → Date-Ddu6Um1a.js} +1 -1
- package/dist/{DateRange-IWmDLSuy.js → DateRange-DLCMlMSG.js} +10 -14
- package/dist/{DateTime-Di6sr-tq.js → DateTime-Bdvr9_wj.js} +1 -1
- package/dist/{DateTimeRange-BNUGYgWf.js → DateTimeRange-DPWqS1Es.js} +10 -14
- package/dist/{Daterange-rrlMT4tD.js → Daterange-D_JOuZ8Z.js} +14 -18
- package/dist/{Decimal-D9TVQqyS.js → Decimal-D4atkIK7.js} +1 -1
- package/dist/Delete-gFaS3kE9.js +55 -0
- package/dist/{Detail-HAblGKTY.js → Detail-B5FvVxu9.js} +16 -20
- package/dist/Dictionary-Ce3GwIP_.js +55 -0
- package/dist/{File-MF1QgEQX.js → File-B2lndVjU.js} +55 -59
- package/dist/Image-CrvP5qms.js +9 -0
- package/dist/{Index-XBFHPLbK.js → Index-BQHiLvTh.js} +1 -1
- package/dist/Index-BRmnOaBf.js +4 -0
- package/dist/{Index-C_mfWEwr.js → Index-BaLKJJ75.js} +1 -1
- package/dist/Index-BbbIu4pT.js +168 -0
- package/dist/{Index-7cTFT9Xb.js → Index-CNiNRbjO.js} +15 -19
- package/dist/Index-DMei5mlA.js +4 -0
- package/dist/{Index-hgpg_5ma.js → Index-DNZBSOK6.js} +1 -1
- package/dist/{Index.vue_vue_type_script_setup_true_lang-yOf2ubuo.js → Index.vue_vue_type_script_setup_true_lang-BYIvYRlg.js} +14 -18
- package/dist/{Index.vue_vue_type_script_setup_true_lang-C1Bw7evJ.js → Index.vue_vue_type_script_setup_true_lang-uoFDX1Of.js} +13 -17
- package/dist/{Index.vue_vue_type_style_index_0_lang-DBERwM_v.js → Index.vue_vue_type_style_index_0_lang-DiU6tUKL.js} +27 -31
- package/dist/{Install-A9qs4Vg-.js → Install-D1bxQmez.js} +17 -21
- package/dist/{Int-B3L54Gcc.js → Int-BaGIs_nk.js} +12 -16
- package/dist/List-BjQi_wnf.js +72 -0
- package/dist/Maintaince-fou9nONX.js +14 -0
- package/dist/{Markdown-wcGRlabe.js → Markdown-Ceg9Ms5R.js} +1 -1
- package/dist/{Month-C1tCQKvO.js → Month-CfB3ZFt4.js} +1 -1
- package/dist/{Normal-HoU_elKy.js → Normal-DaCn1qBW.js} +81 -85
- package/dist/Paging-C5q8jJUU.js +93 -0
- package/dist/QueryApi-DjT4dEyX.js +13 -0
- package/dist/{Racebar-BXuP1N9F.js → Racebar-DBFWFMO-.js} +40 -44
- package/dist/{Radio-D6W9guyM.js → Radio-CJyl__ew.js} +1 -1
- package/dist/Register-IVPcpL6f.js +196 -0
- package/dist/RichText-D_JQUWM1.js +41 -0
- package/dist/{SearchFooter-D3-9GTr1.js → SearchFooter-DEoLMe9k.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-DP32ZjvQ.js → SearchFooter.vue_vue_type_style_index_0_lang-D1PYRAiE.js} +20 -20
- package/dist/{SearchForm-rWozLa4B.js → SearchForm-BHHmYaCS.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-F2we6KP-.js → SearchForm.vue_vue_type_style_index_0_lang-BtNkB6f0.js} +26 -30
- package/dist/{Select-qCdhL7vC.js → Select-C2FBbD52.js} +1 -1
- package/dist/{Select-64nQiHNA.js → Select-Cz2uCsb-.js} +17 -21
- package/dist/{Select-CAmBUDp3.js → Select-DM1c8XBr.js} +32 -36
- package/dist/{Single-Bnrt5Hxb.js → Single-B63Zrug-.js} +110 -114
- package/dist/{Statistic-BTbwlH9l.js → Statistic-0yl1BOUE.js} +42 -46
- package/dist/{Stock-Br_02hsI.js → Stock-4iCvNHGj.js} +1 -1
- package/dist/{Stock-DbExd680.js → Stock-DcJZ8DgI.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-MTvhmHlz.js → Stock.vue_vue_type_style_index_0_lang-4d1EpJnq.js} +31 -35
- package/dist/{Switch-J2GIv4Wa.js → Switch-N3gJPSk8.js} +1 -1
- package/dist/{Table-DjBx2UGm.js → Table-Cs56tnaN.js} +107 -113
- package/dist/{Table-X4vTHlpm.js → Table-J3e4-OH2.js} +91 -95
- package/dist/Text-DheLweEH.js +4 -0
- package/dist/Text.vue_vue_type_style_index_0_lang-uMGpVMDs.js +52 -0
- package/dist/TextLink-CSaLrd5t.js +59 -0
- package/dist/{Textarea-Dw_qLc3Y.js → Textarea-B5AXrlWa.js} +1 -1
- package/dist/Timeline-BhPZJNP4.js +53 -0
- package/dist/Tree-BdW8K2i6.js +293 -0
- package/dist/{Tree-CDD2Nd6q.js → Tree-Ctq_fSOd.js} +40 -44
- package/dist/TreeNode-CDItFlDT.js +34 -0
- package/dist/{Update-PffbXMXH.js → Update-K3FS-dz-.js} +13 -17
- package/dist/Upload-C73uEqps.js +67 -0
- package/dist/Upload-DGz1o9dx.js +146 -0
- package/dist/{UploadApi-D2W_aGKA.js → UploadApi-Dy7aGZWx.js} +3 -8
- package/dist/{Year-Dr5ST0Pk.js → Year-CMlo3zsG.js} +1 -1
- package/dist/main-CVY9fyTk.js +28912 -0
- package/dist/main.js +98 -111
- package/dist/style.css +1 -1
- package/dist/{vendor-clipboard-BqjesuiY.js → vendor-clipboard-DjQPoCBJ.js} +110 -130
- package/dist/{vendor-intro.js-CZkClzQO.js → vendor-intro.js-DwWqhM1v.js} +1 -1
- 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 +8 -8
- package/esm/components/controls/Text.vue.d.ts +1 -1
- package/esm/components/index.d.ts +8 -8
- package/esm/components/lists/Tree.vue.d.ts +1 -1
- package/esm/components/lists/index.d.ts +1 -1
- package/esm/components/pages/Single.vue.d.ts +1 -1
- package/esm/components/pagings/Article.vue.d.ts +1 -1
- package/esm/components/pagings/DataExport.vue.d.ts +1 -1
- package/esm/components/pagings/DataImport.vue.d.ts +1 -1
- package/esm/components/pagings/Index.vue.d.ts +4 -4
- package/esm/components/pagings/SearchFooter.vue.d.ts +1 -1
- package/esm/components/pagings/Table.vue.d.ts +3 -3
- package/esm/components/pagings/index.d.ts +1 -1
- package/esm/components/partials/Detail.vue.d.ts +1 -1
- package/esm/components/partials/Update.vue.d.ts +1 -1
- package/esm/components/singles/index.d.ts +1 -1
- package/esm/components/texts/Autocomplete.vue.d.ts +1 -1
- package/esm/components/texts/CSharp.vue.d.ts +1 -1
- package/esm/components/texts/Cascader.vue.d.ts +1 -1
- package/esm/components/texts/Checkbox.vue.d.ts +1 -1
- package/esm/components/texts/Code.vue.d.ts +1 -1
- package/esm/components/texts/Color.vue.d.ts +1 -1
- package/esm/components/texts/Compare.vue.d.ts +1 -1
- package/esm/components/texts/Copy.vue.d.ts +1 -1
- package/esm/components/texts/Date.vue.d.ts +1 -1
- package/esm/components/texts/DateRange.vue.d.ts +1 -1
- package/esm/components/texts/DateTime.vue.d.ts +1 -1
- package/esm/components/texts/Decimal.vue.d.ts +1 -1
- package/esm/components/texts/Dictionary.vue.d.ts +1 -1
- package/esm/components/texts/Email.vue.d.ts +1 -1
- package/esm/components/texts/Index.vue.d.ts +1 -1
- package/esm/components/texts/Int.vue.d.ts +1 -1
- package/esm/components/texts/Markdown.vue.d.ts +1 -1
- package/esm/components/texts/Month.vue.d.ts +1 -1
- package/esm/components/texts/Password.vue.d.ts +1 -1
- package/esm/components/texts/Progress.vue.d.ts +1 -1
- package/esm/components/texts/Radio.vue.d.ts +1 -1
- package/esm/components/texts/Rate.vue.d.ts +1 -1
- package/esm/components/texts/RichText.vue.d.ts +1 -1
- package/esm/components/texts/Select.vue.d.ts +1 -1
- package/esm/components/texts/Switch.vue.d.ts +1 -1
- package/esm/components/texts/Text.vue.d.ts +1 -1
- package/esm/components/texts/TextLink.vue.d.ts +1 -1
- package/esm/components/texts/Textarea.vue.d.ts +1 -1
- package/esm/components/texts/Upload.vue.d.ts +1 -1
- package/esm/components/texts/Year.vue.d.ts +1 -1
- package/esm/coms/business/HaCrud.vue.d.ts +7 -5
- package/esm/coms/business/HaDrawer.vue.d.ts +1 -1
- package/esm/coms/business/HaDriver.vue.d.ts +10 -8
- package/esm/coms/business/HaForm.vue.d.ts +7 -5
- package/esm/coms/commons/HaDebug.vue.d.ts +4 -2
- package/esm/coms/commons/HaEditable.vue.d.ts +6 -4
- package/esm/coms/commons/HaLoading.vue.d.ts +6 -4
- package/esm/coms/commons/HaResizer.vue.d.ts +7 -5
- package/esm/coms/commons/HaTable.vue.d.ts +9 -7
- package/esm/coms/commons/HaTableColumn.vue.d.ts +8 -6
- package/esm/coms/controls/Autocomplete.vue.d.ts +1 -1
- package/esm/coms/controls/Cascader.vue.d.ts +1 -1
- package/esm/coms/controls/Checkbox.vue.d.ts +1 -1
- package/esm/coms/controls/Code.vue.d.ts +1 -1
- package/esm/coms/controls/RichText.vue.d.ts +7 -9
- package/esm/coms/controls/Switch.vue.d.ts +2 -2
- package/esm/coms/globals/HaHeaderTab.vue.d.ts +6 -4
- package/esm/coms/globals/HaHeaderTabs.vue.d.ts +6 -4
- package/esm/coms/globals/HaMenu.vue.d.ts +8 -8
- package/esm/coms/globals/HaMenuItem.vue.d.ts +8 -8
- package/esm/coms/globals/HaMissComponent.vue.d.ts +4 -2
- package/esm/coms/globals/HaSideTab.vue.d.ts +6 -4
- package/esm/coms/globals/HaSideTabs.vue.d.ts +6 -4
- package/esm/coms/globals/HaWindow.vue.d.ts +12 -10
- package/esm/coms/lists/Racebar.vue.d.ts +1 -1
- package/esm/coms/lists/Statistic.vue.d.ts +1 -1
- package/esm/coms/lists/Stock.vue.d.ts +1 -1
- package/esm/coms/lists/Timeline.vue.d.ts +1 -1
- package/esm/coms/lists/Tree.vue.d.ts +1 -1
- package/esm/coms/pages/Column.vue.d.ts +1 -1
- package/esm/coms/pages/Custom.vue.d.ts +1 -1
- package/esm/coms/pages/Delete.vue.d.ts +1 -1
- package/esm/coms/pages/List.vue.d.ts +1 -1
- package/esm/coms/pages/Paging.vue.d.ts +1 -1
- package/esm/coms/pages/Single.vue.d.ts +1 -1
- package/esm/coms/pagings/Article.vue.d.ts +1 -1
- package/esm/coms/pagings/Code.vue.d.ts +1 -1
- package/esm/coms/pagings/File.vue.d.ts +1 -1
- package/esm/coms/pagings/Index.vue.d.ts +1 -1
- package/esm/coms/pagings/SearchFooter.vue.d.ts +16 -16
- package/esm/coms/pagings/SearchForm.vue.d.ts +8 -8
- package/esm/coms/pagings/Table.vue.d.ts +1 -1
- package/esm/coms/panels/HaGroup.vue.d.ts +4 -2
- package/esm/coms/panels/HaOperation.vue.d.ts +7 -5
- package/esm/coms/panels/HaPanel.vue.d.ts +9 -7
- package/esm/coms/panels/HaShrink.vue.d.ts +6 -4
- package/esm/coms/singles/Code.vue.d.ts +1 -1
- package/esm/coms/singles/Comment.vue.d.ts +1 -1
- package/esm/coms/singles/Index.vue.d.ts +1 -1
- package/esm/coms/singles/Normal.vue.d.ts +1 -1
- package/esm/coms/singles/Statistic.vue.d.ts +1 -1
- package/esm/coms/singles/Stock.vue.d.ts +1 -1
- package/esm/coms/singles/Table.vue.d.ts +1 -1
- package/esm/coms/singles/Tree.vue.d.ts +1 -1
- package/esm/coms/texts/Copy.vue.d.ts +7 -5
- package/esm/coms/texts/TextLink.vue.d.ts +8 -6
- package/esm/drivers/IDriver.d.ts +10 -0
- package/esm/drivers/cdns/Cdn.d.ts +14 -0
- package/esm/drivers/cdns/CdnFactory.d.ts +11 -0
- package/esm/drivers/cdns/ICdn.d.ts +34 -0
- package/esm/drivers/cdns/implements/BootCdn.d.ts +12 -0
- package/esm/drivers/cdns/implements/JsdelivrCdn.d.ts +13 -0
- package/esm/drivers/cdns/implements/LocalCdn.d.ts +12 -0
- package/esm/drivers/cdns/implements/StaticFileCdn.d.ts +16 -0
- package/esm/drivers/cdns/implements/UnpkgCdn.d.ts +10 -0
- package/esm/drivers/cdns/index.d.ts +0 -0
- package/esm/drivers/driver-helper.d.ts +46 -0
- package/esm/drivers/encoders/Encoder.d.ts +11 -0
- package/esm/drivers/encoders/EncoderFactory.d.ts +16 -0
- package/esm/drivers/encoders/IEncoder.d.ts +22 -0
- package/esm/drivers/encoders/implement/Base64Encoder.d.ts +11 -0
- package/esm/drivers/encoders/index.d.ts +0 -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/excels/index.d.ts +2 -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/explainers/index.d.ts +0 -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/features/index.d.ts +2 -0
- package/esm/drivers/hashers/Hasher.d.ts +10 -0
- package/esm/drivers/hashers/HasherFactory.d.ts +13 -0
- package/esm/drivers/hashers/IHasher.d.ts +19 -0
- package/esm/drivers/hashers/implement/Md5Hasher.d.ts +10 -0
- package/esm/drivers/hashers/implement/Sha256Hasher.d.ts +10 -0
- package/esm/drivers/hashers/index.d.ts +2 -0
- package/esm/drivers/index.d.ts +9 -0
- package/esm/drivers/providers/IProvider.d.ts +47 -0
- package/esm/drivers/providers/ProviderFactory.d.ts +11 -0
- package/esm/drivers/providers/implements/IndexedDbProvider.d.ts +55 -0
- package/esm/drivers/providers/index.d.ts +2 -0
- package/esm/drivers/requesters/IRequester.d.ts +20 -0
- package/esm/drivers/requesters/Requester.d.ts +12 -0
- package/esm/drivers/requesters/RequesterFactory.d.ts +18 -0
- package/esm/drivers/requesters/entities/HttpRequest.d.ts +34 -0
- package/esm/drivers/requesters/entities/HttpResponse.d.ts +19 -0
- package/esm/drivers/requesters/implements/DefaultRequester.d.ts +12 -0
- package/esm/drivers/requesters/implements/MkRequester.d.ts +40 -0
- package/esm/drivers/requesters/index.d.ts +5 -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 +18 -0
- package/esm/drivers/signers/index.d.ts +2 -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/drivers/ssos/index.d.ts +2 -0
- package/esm/main.d.ts +5 -4
- package/esm/plugins/PcMessenger.d.ts +35 -0
- package/esm/plugins/index.d.ts +2 -2
- package/esm/repos/index.d.ts +1 -0
- package/esm/sdks/commons/HaCode.vue.d.ts +40 -0
- package/esm/sdks/commons/HaCol.vue.d.ts +9 -0
- package/esm/sdks/commons/HaCompare.vue.d.ts +40 -0
- package/esm/sdks/commons/HaContainer.vue.d.ts +21 -0
- package/esm/sdks/commons/HaEmpty.vue.d.ts +24 -0
- package/esm/sdks/commons/HaProgress.vue.d.ts +8 -0
- package/esm/sdks/commons/HaRow.vue.d.ts +19 -0
- package/esm/sdks/commons/HaTable.vue.d.ts +1 -1
- 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 +59 -1
- package/esm/sdks/globals/HaWindow.vue.d.ts +4 -4
- 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 +0 -4
- 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/dictionary-helper.d.ts +18 -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 +26 -0
- package/esm/sdks/helpers/json-helper.d.ts +31 -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/sign-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 +96 -0
- package/esm/sdks/index.d.ts +7 -4
- 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/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/HttpService.d.ts +22 -0
- package/esm/services/MessageService.d.ts +8 -9
- package/esm/services/SettingService.d.ts +5 -0
- package/esm/services/index.d.ts +4 -1
- package/esm/servs/AppServ.d.ts +36 -0
- package/esm/servs/ComponentServ.d.ts +35 -0
- package/esm/servs/ControlServ.d.ts +42 -0
- package/esm/servs/I18nServ.d.ts +79 -0
- package/esm/servs/LayoutServ.d.ts +18 -0
- package/esm/servs/PageServ.d.ts +38 -0
- package/esm/servs/RouterServ.d.ts +23 -0
- package/esm/servs/StandardServ.d.ts +34 -0
- package/esm/servs/UploadServ.d.ts +10 -0
- package/esm/servs/WindowServ.d.ts +27 -0
- package/esm/servs/index.d.ts +17 -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 +7 -2
- 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/svcs/AppSvc.d.ts +46 -0
- package/esm/svcs/ComponentSvc.d.ts +35 -0
- package/esm/svcs/ControlSvc.d.ts +42 -0
- package/esm/svcs/I18nSvc.d.ts +79 -0
- package/esm/svcs/LayoutSvc.d.ts +18 -0
- package/esm/svcs/PageSvc.d.ts +38 -0
- package/esm/svcs/RouterSvc.d.ts +23 -0
- package/esm/svcs/StandardSvc.d.ts +34 -0
- package/esm/svcs/UploadSvc.d.ts +10 -0
- package/esm/svcs/WindowSvc.d.ts +27 -0
- package/esm/svcs/index.d.ts +21 -0
- package/package.json +18 -15
- package/dist/Article-BbJTCOkX.js +0 -196
- package/dist/Autocomplete-C3d_yunJ.js +0 -52
- package/dist/Autocomplete-H0_xgWsN.js +0 -53
- package/dist/Callback-oU2ap8v9.js +0 -24
- package/dist/Cascader-ClSabtOx.js +0 -45
- package/dist/Cascader-DRErYyH6.js +0 -84
- package/dist/Code-BgqGTky1.js +0 -40
- package/dist/Code-Cv1pm18C.js +0 -4
- package/dist/Code.vue_vue_type_style_index_0_lang-IHZepbsi.js +0 -63
- package/dist/Column-Dgs0SdWX.js +0 -71
- package/dist/Comment-Cy6lpmqk.js +0 -102
- package/dist/Compare-5cTiHEdo.js +0 -30
- package/dist/Compare-CWeuLw9n.js +0 -60
- package/dist/Copy-C6WEtRhC.js +0 -47
- package/dist/Custom-QDHQJoxC.js +0 -53
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-bI0HP38b.js +0 -174
- package/dist/Delete-B-k4PTWk.js +0 -59
- package/dist/Dictionary-BUmany6B.js +0 -59
- package/dist/Image-Dps_vfcZ.js +0 -9
- package/dist/Index-Cgets8DK.js +0 -4
- package/dist/Index-DGnHsBz4.js +0 -4
- package/dist/Index-DupYRMRj.js +0 -172
- package/dist/List-Om6OdbbR.js +0 -76
- package/dist/Maintaince-CrfEX-5B.js +0 -19
- package/dist/Paging-C_StoYuZ.js +0 -94
- package/dist/QueryApi-BrYyIwqV.js +0 -18
- package/dist/Register-DGhIjRDD.js +0 -200
- package/dist/RichText-B3Br1uzj.js +0 -105
- package/dist/Text-BFZc81F2.js +0 -4
- package/dist/Text.vue_vue_type_style_index_0_lang-Cw7QQbFk.js +0 -56
- package/dist/TextLink-C_lFWaZv.js +0 -66
- package/dist/Timeline-DaaRGmGd.js +0 -57
- package/dist/Tree-Cmp10DWw.js +0 -297
- package/dist/TreeNode-BM8-GyIc.js +0 -38
- package/dist/Upload-F6HXe76H.js +0 -71
- package/dist/Upload-kwwpaDe6.js +0 -147
- package/dist/main-B8RC13GR.js +0 -6528
- package/dist/vendor-@monaco-editor-DKC4UNw_.js +0 -258
- package/dist/vendor-clone-BPtCWdXG.js +0 -134
- package/dist/vendor-crypto-js-ftX_aBC-.js +0 -4995
- package/dist/vendor-file-saver-CytTIJ-3.js +0 -74
- package/dist/vendor-moment-h96o7c8I.js +0 -2578
- package/dist/vendor-sprintf-js-BPTdvBYM.js +0 -148
- package/dist/vendor-state-local-CEworIRt.js +0 -131
- package/dist/vendor-underscore-DVTek3G4.js +0 -1070
- package/dist/vendor-underscore.string-BEHfJwHl.js +0 -425
- package/dist/vendor-util-deprecate-DzpNkCzj.js +0 -28
- package/esm/services/ServiceFactory.d.ts +0 -3
- package/esm/types/PcOptions.d.ts +0 -18
- package/esm/types/index.d.ts +0 -2
@@ -0,0 +1,42 @@
|
|
1
|
+
/**
|
2
|
+
* 数学帮助类
|
3
|
+
*/
|
4
|
+
declare class MathHelper {
|
5
|
+
/**
|
6
|
+
* 过滤某一页数据
|
7
|
+
*/
|
8
|
+
static filterPage: (rows: any[], page: number, size: number) => any[];
|
9
|
+
/**
|
10
|
+
* 总页数
|
11
|
+
*/
|
12
|
+
static pageCount: (count: number, size: number) => number;
|
13
|
+
/**
|
14
|
+
* 四舍五入
|
15
|
+
*/
|
16
|
+
static round: (value: number, digits: number) => string;
|
17
|
+
/**
|
18
|
+
* 天花板函数
|
19
|
+
*/
|
20
|
+
static ceil: (value: number) => number;
|
21
|
+
/**
|
22
|
+
* 获取百分比
|
23
|
+
*/
|
24
|
+
static getPercentage: (current: number, total: number) => number;
|
25
|
+
/**
|
26
|
+
* 获取百分比,保留2位小数
|
27
|
+
*/
|
28
|
+
static getPercentageText: (current: number, total: number) => string;
|
29
|
+
/**
|
30
|
+
* 获取进度文本
|
31
|
+
*/
|
32
|
+
static getProgressText: (current: number, total: number) => string;
|
33
|
+
/**
|
34
|
+
* 获取大小
|
35
|
+
*/
|
36
|
+
static size: (bytes: number) => string;
|
37
|
+
/**
|
38
|
+
* 生成指定范围内的随机数
|
39
|
+
*/
|
40
|
+
static random(start: number, end: number): number;
|
41
|
+
}
|
42
|
+
export default MathHelper;
|
@@ -0,0 +1,34 @@
|
|
1
|
+
/**
|
2
|
+
* 对象帮助类
|
3
|
+
*/
|
4
|
+
declare class ObjectHelper {
|
5
|
+
/**
|
6
|
+
* 净化对象,返回不带默认属性的对象
|
7
|
+
*/
|
8
|
+
static pure(input: object): {};
|
9
|
+
/**
|
10
|
+
* 过滤key,并输出新对象
|
11
|
+
*/
|
12
|
+
static filter(input: object, filter: (n: any) => boolean, valueHandler: (n: any) => {}): any[];
|
13
|
+
/**
|
14
|
+
* 把数组转换成对象
|
15
|
+
*/
|
16
|
+
static toObject(array: any[], keySelector: (n: any) => string, valueSelector: (n: any) => string): {};
|
17
|
+
/**
|
18
|
+
* 手动复制,并对字段执行指定自定义处理
|
19
|
+
*/
|
20
|
+
static copy: (obj: any, handler?: {}) => any[] | any;
|
21
|
+
/**
|
22
|
+
* 对对象进行深度克隆,同时可以移除Proxy对象
|
23
|
+
*/
|
24
|
+
static clone: (obj: any, handler?: (n: any) => void) => any;
|
25
|
+
/**
|
26
|
+
* 合并来源对象到目标对象上
|
27
|
+
*/
|
28
|
+
static mergeTo: (target: any, from: any) => any;
|
29
|
+
/**
|
30
|
+
* 给对象添加属性集合,并赋值
|
31
|
+
*/
|
32
|
+
static addProperties: (obj: object, keys: string[], value: string) => void;
|
33
|
+
}
|
34
|
+
export default ObjectHelper;
|
@@ -0,0 +1,31 @@
|
|
1
|
+
/**
|
2
|
+
* 脚本帮助类
|
3
|
+
*/
|
4
|
+
declare class ScriptHelper {
|
5
|
+
/**
|
6
|
+
* 异步加载脚本/样式内容,把内容处理为行内html
|
7
|
+
* 这种方式,依赖的内部资源,会从当前站点加载
|
8
|
+
*/
|
9
|
+
static loadContentAsync: (src: string | string[]) => Promise<void[]>;
|
10
|
+
/**
|
11
|
+
* 异步加载单个路径下的多个文件
|
12
|
+
*/
|
13
|
+
static loadPathAsync: (path: string, files: string[]) => Promise<void>;
|
14
|
+
/**
|
15
|
+
* 通过注入DOM标签异步加载脚本或样式表
|
16
|
+
*/
|
17
|
+
static loadAsync: (src: string | string[]) => Promise<void>;
|
18
|
+
/**
|
19
|
+
* 注意:箭头函数没有参数
|
20
|
+
*/
|
21
|
+
static loadAll: (...args: any[]) => Promise<any[]>;
|
22
|
+
/**
|
23
|
+
* 根据路径获取标签(无src)
|
24
|
+
*/
|
25
|
+
static getInnerTagByUrl: (url: string) => HTMLStyleElement | HTMLScriptElement;
|
26
|
+
/**
|
27
|
+
* 根据路径获取待加载的元素,同时包含Url
|
28
|
+
*/
|
29
|
+
static getOuterTagByUrl: (url: string) => HTMLLinkElement | HTMLScriptElement;
|
30
|
+
}
|
31
|
+
export default ScriptHelper;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* 滚动帮助类
|
3
|
+
*/
|
4
|
+
declare class ScrollHelper {
|
5
|
+
/**
|
6
|
+
* 判断指定元素滚动条位置,是否到了页面底部
|
7
|
+
*/
|
8
|
+
static isBottom: (selector: any) => boolean;
|
9
|
+
/**
|
10
|
+
* 滚动指定元素的滚动条到页面底部
|
11
|
+
*/
|
12
|
+
static scrollToBottom: (selector: any) => void;
|
13
|
+
}
|
14
|
+
export default ScrollHelper;
|
@@ -0,0 +1,34 @@
|
|
1
|
+
/**
|
2
|
+
* 存储帮助类
|
3
|
+
*/
|
4
|
+
declare class StorageHelper {
|
5
|
+
/**
|
6
|
+
* 获取本地存储
|
7
|
+
*/
|
8
|
+
static get: (key: string, value?: any) => any;
|
9
|
+
/**
|
10
|
+
* 设置本地存储
|
11
|
+
*/
|
12
|
+
static set: (key: string, value: string) => void;
|
13
|
+
/**
|
14
|
+
* 获取本地存储
|
15
|
+
*/
|
16
|
+
static getObject: (key: string) => any;
|
17
|
+
/**
|
18
|
+
* 设置本地存储
|
19
|
+
*/
|
20
|
+
static setObject: (key: string, value: any) => void;
|
21
|
+
/**
|
22
|
+
* 移除存储数据
|
23
|
+
*/
|
24
|
+
static remove: (key: string) => void;
|
25
|
+
/**
|
26
|
+
* 以5M为基准,获取剩余可用容量(KB)
|
27
|
+
*/
|
28
|
+
static getLeftStorage: () => number;
|
29
|
+
/**
|
30
|
+
* 判断指定值是否能够存储到storage中
|
31
|
+
*/
|
32
|
+
static canStorage: (value: object) => boolean;
|
33
|
+
}
|
34
|
+
export default StorageHelper;
|
@@ -0,0 +1,94 @@
|
|
1
|
+
/**
|
2
|
+
* 字符串帮助类
|
3
|
+
*/
|
4
|
+
declare class StringHelper {
|
5
|
+
/**
|
6
|
+
* 生成唯一字符串
|
7
|
+
*/
|
8
|
+
static getUniqueId: () => string;
|
9
|
+
/**
|
10
|
+
* 填充字符串到指定长度,使用pad填充
|
11
|
+
*/
|
12
|
+
static padLeft: (value: string, length: number, pad: string) => any;
|
13
|
+
/**
|
14
|
+
* 去掉头部字符串
|
15
|
+
*/
|
16
|
+
static trimStart: (value: string, trim: string) => string;
|
17
|
+
/**
|
18
|
+
* 去掉尾部字符串
|
19
|
+
*/
|
20
|
+
static trimEnd: (value: string, trim: string) => string;
|
21
|
+
/**
|
22
|
+
* 去掉头尾字符串
|
23
|
+
*/
|
24
|
+
static trim: (value: string, start: string, end: string) => string;
|
25
|
+
/**
|
26
|
+
* 获取中划线命名法
|
27
|
+
*/
|
28
|
+
static getDashName: (value: string) => string;
|
29
|
+
/**
|
30
|
+
* 忽略大小写包含判断,支持从数组中搜索关键词
|
31
|
+
*/
|
32
|
+
static containsIgnoreCase: (keywords: string, value: string | string[]) => boolean;
|
33
|
+
/**
|
34
|
+
* 从html中提取纯文本
|
35
|
+
*/
|
36
|
+
static getTextFromHtml: (html: string) => string;
|
37
|
+
/**
|
38
|
+
* 判断是否是数字类型,这样支持0
|
39
|
+
*/
|
40
|
+
static isNumber: (value: any) => boolean;
|
41
|
+
/**
|
42
|
+
* 验证是否是邮箱格式
|
43
|
+
*/
|
44
|
+
static isEmail: (email: string) => boolean;
|
45
|
+
/**
|
46
|
+
* 判断是否是json
|
47
|
+
*/
|
48
|
+
static isJson: (value: string) => boolean;
|
49
|
+
/**
|
50
|
+
* 判断是否是isJsonp
|
51
|
+
*/
|
52
|
+
static isJsonp: (value: string) => boolean;
|
53
|
+
/**
|
54
|
+
* 判断是否是html
|
55
|
+
*/
|
56
|
+
static isHtml: (value: string) => boolean;
|
57
|
+
/**
|
58
|
+
* 获取内容类型
|
59
|
+
*/
|
60
|
+
static getContentType: (value: string) => "json" | "html" | "text";
|
61
|
+
/**
|
62
|
+
* 判断字符串是否为空或空串
|
63
|
+
*/
|
64
|
+
static isNullOrEmpty: (value: string) => boolean;
|
65
|
+
/**
|
66
|
+
* 判断字符串是否为空或空串
|
67
|
+
*/
|
68
|
+
static isEmpty: (value: string) => boolean;
|
69
|
+
/**
|
70
|
+
* 判断是否符合密码要求
|
71
|
+
*/
|
72
|
+
static isPassword: (value: string) => boolean;
|
73
|
+
/**
|
74
|
+
* 获取数据值或者空
|
75
|
+
*/
|
76
|
+
static getNumberOrNull: (value: any) => number;
|
77
|
+
/**
|
78
|
+
* 格式化成留指定位数的小数
|
79
|
+
*/
|
80
|
+
static format: (value: string, digits: number) => any;
|
81
|
+
/**
|
82
|
+
* 获取两个字符串之间的字符串
|
83
|
+
*/
|
84
|
+
static getBetween: (value: string, start: string, end: string) => string;
|
85
|
+
/**
|
86
|
+
* 根据字符串或数组,自动返回数组
|
87
|
+
*/
|
88
|
+
static getArray(name: string | string[]): string[];
|
89
|
+
/**
|
90
|
+
* 忽略大小写比较
|
91
|
+
*/
|
92
|
+
static equalsIgnoreCase(value: any, valueCompare: string): boolean;
|
93
|
+
}
|
94
|
+
export default StringHelper;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
/**
|
2
|
+
* 任务执行帮助类
|
3
|
+
*/
|
4
|
+
declare class TaskHelper {
|
5
|
+
/**
|
6
|
+
* 延时指定ms后执行指定任务
|
7
|
+
*/
|
8
|
+
static delay: (fun: Function, ms: number) => number;
|
9
|
+
/**
|
10
|
+
* 在执行指定延时后,每隔指定ms执行指定任务
|
11
|
+
*/
|
12
|
+
static execute: (fun: Function, ms: number, delay: number) => Promise<unknown>;
|
13
|
+
/**
|
14
|
+
* 清空定时器
|
15
|
+
*/
|
16
|
+
static clearInterval: (id: number) => void;
|
17
|
+
/**
|
18
|
+
* 防抖(指定时间内只触发一次)
|
19
|
+
*/
|
20
|
+
static debounce: (fun: Function, delay: number) => (e: any) => void;
|
21
|
+
/**
|
22
|
+
* 节流:https://segmentfault.com/a/1190000018428170
|
23
|
+
*/
|
24
|
+
static throttle: (fun: Function, delay: number) => (e: any) => boolean;
|
25
|
+
}
|
26
|
+
export default TaskHelper;
|
@@ -0,0 +1,62 @@
|
|
1
|
+
/**
|
2
|
+
* 时间帮助类
|
3
|
+
*/
|
4
|
+
declare class TimeHelper {
|
5
|
+
/**
|
6
|
+
* 获取相对于1970年1月1日的时间戳(ms),不同时区结果相同
|
7
|
+
*/
|
8
|
+
static getTimestamp: (value?: any) => number;
|
9
|
+
/**
|
10
|
+
* 根据字符串获取可对比的时间
|
11
|
+
*/
|
12
|
+
static getTime: (value?: any) => Date;
|
13
|
+
/**
|
14
|
+
* 格式化时间
|
15
|
+
*/
|
16
|
+
static format: (value: string, format: string) => string;
|
17
|
+
/**
|
18
|
+
* 获取当前日期时间的字符串
|
19
|
+
*/
|
20
|
+
static getDateTimeString: () => string;
|
21
|
+
/**
|
22
|
+
* 获取当前时间的字符串
|
23
|
+
*/
|
24
|
+
static getDateString: () => string;
|
25
|
+
/**
|
26
|
+
* 获取当前时间的字符串
|
27
|
+
*/
|
28
|
+
static getTimeString: () => string;
|
29
|
+
/**
|
30
|
+
* 对时间值进行时间格式化
|
31
|
+
*/
|
32
|
+
static formatSecondTime: (value: any) => string;
|
33
|
+
/**
|
34
|
+
* 对时间值进行时间格式化
|
35
|
+
*/
|
36
|
+
static formatMillisecondTime: (value: string) => string;
|
37
|
+
/**
|
38
|
+
* 格式化成24小时时间格式
|
39
|
+
*/
|
40
|
+
static formatTime: (value: any) => string;
|
41
|
+
/**
|
42
|
+
* 对时间值进行日期格式化
|
43
|
+
*/
|
44
|
+
static formatDate: (value: any) => string;
|
45
|
+
/**
|
46
|
+
* 添加天数
|
47
|
+
*/
|
48
|
+
static addDays: (value: any, days: number) => string;
|
49
|
+
/**
|
50
|
+
* 添加月份
|
51
|
+
*/
|
52
|
+
static addMonths: (value: any, months: number) => string;
|
53
|
+
/**
|
54
|
+
* 判断指定时间是否是周末
|
55
|
+
*/
|
56
|
+
static isWeekend: (value: any) => boolean;
|
57
|
+
/**
|
58
|
+
* 把中国时间,转换为当地时间
|
59
|
+
*/
|
60
|
+
static localeTime: (time: any) => string;
|
61
|
+
}
|
62
|
+
export default TimeHelper;
|
@@ -0,0 +1,54 @@
|
|
1
|
+
/**
|
2
|
+
* 树帮助类
|
3
|
+
*/
|
4
|
+
declare class TreeHelper {
|
5
|
+
/**
|
6
|
+
* 从树结构数据中,递归获取指定主键的对象
|
7
|
+
*/
|
8
|
+
static getById: (id: any, idProp: string, tree: any[], childProp: string) => any;
|
9
|
+
/**
|
10
|
+
* 树节点
|
11
|
+
*/
|
12
|
+
static getByIds: (ids: any[], idProp: string, tree: any[], childProp: string) => any[];
|
13
|
+
/**
|
14
|
+
* 找出指定层级集合中,指定对象的下一个对象
|
15
|
+
*/
|
16
|
+
static getNextById: (id: any, idProp: string, tree: any[], childProp: string) => any;
|
17
|
+
/**
|
18
|
+
* 获取兄弟节点
|
19
|
+
*/
|
20
|
+
static getSiblingsById: (id: any, idProp: string, tree: any[], childProp: string) => any;
|
21
|
+
/**
|
22
|
+
* 获取父节点
|
23
|
+
*/
|
24
|
+
static getParentById: (id: any, idProp: string, tree: any[], childProp: string) => any;
|
25
|
+
/**
|
26
|
+
* 从树结构数据中,递归获取指定主键的父元素集合
|
27
|
+
*/
|
28
|
+
static getParentsById: (id: any, idProp: string, tree: any[], childProp: string, hasSelf?: boolean) => any[];
|
29
|
+
/**
|
30
|
+
* 获取当前节点的所有孩子节点的集合
|
31
|
+
*/
|
32
|
+
static getChildrenById: (id: any, idProp: string, tree: any[], childProp: string, hasSelf?: boolean) => any[];
|
33
|
+
/**
|
34
|
+
* 获取当前节点的所有孩子节点的集合
|
35
|
+
*/
|
36
|
+
static getChildren: (element: any, childProp: string, hasSelf?: boolean) => any[];
|
37
|
+
/**
|
38
|
+
* 搜索指定文本的树结构
|
39
|
+
*/
|
40
|
+
static searchTree: (keywords: string, tree: any[], childProp: string, searchProps: any) => any[];
|
41
|
+
/**
|
42
|
+
* 删除指定子元素
|
43
|
+
*/
|
44
|
+
static removeById: (id: any, idProp: string, tree: any[], childProp: string) => void;
|
45
|
+
/**
|
46
|
+
* 获取树结构扁平化后的节点信息
|
47
|
+
*/
|
48
|
+
static getFlat: (tree: any[], childProp: string) => any[];
|
49
|
+
/**
|
50
|
+
* 对树结点的数据进行重新映射,映射得到新的Tree数组
|
51
|
+
*/
|
52
|
+
static map: (tree: any[], prevChildProp: string, childProp: string, fun: Function) => any[];
|
53
|
+
}
|
54
|
+
export default TreeHelper;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
/**
|
2
|
+
* 类型帮助类
|
3
|
+
*/
|
4
|
+
declare class TypeHelper {
|
5
|
+
/**
|
6
|
+
* 判断输入类型是否是字符串类型 null -> false
|
7
|
+
*/
|
8
|
+
static isString: (input: any) => boolean;
|
9
|
+
/**
|
10
|
+
* 判断输入类型是否是Object类型
|
11
|
+
*/
|
12
|
+
static isObject: (input: any) => boolean;
|
13
|
+
/**
|
14
|
+
* 判断输入类型是否是Array类型
|
15
|
+
*/
|
16
|
+
static isArray: (input: any) => boolean;
|
17
|
+
/**
|
18
|
+
* 判断输入类型是否是Number类型,null -> false
|
19
|
+
*/
|
20
|
+
static isNumber: (input: any) => boolean;
|
21
|
+
/**
|
22
|
+
* 判断输入类型是否是isBoolean类型
|
23
|
+
*/
|
24
|
+
static isBoolean: (input: any) => boolean;
|
25
|
+
}
|
26
|
+
export default TypeHelper;
|
@@ -0,0 +1,96 @@
|
|
1
|
+
/**
|
2
|
+
* Url帮助类
|
3
|
+
*/
|
4
|
+
declare class UrlHelper {
|
5
|
+
/**
|
6
|
+
* 获取指定地址路由对象
|
7
|
+
*/
|
8
|
+
static getToRoute(url: string, withReturnUrl?: boolean): any;
|
9
|
+
/**
|
10
|
+
* 获取要跳转的Url地址信息,自动涵盖后退地址
|
11
|
+
*/
|
12
|
+
static getToUrl(url: string, withReturnUrl?: boolean): string;
|
13
|
+
/**
|
14
|
+
* 获取菜单参数
|
15
|
+
*/
|
16
|
+
static getM(url: string): any;
|
17
|
+
/**
|
18
|
+
* 获取后退地址路由
|
19
|
+
*/
|
20
|
+
static getBackRoute(): any;
|
21
|
+
/**
|
22
|
+
* 获取要后退的地址URL
|
23
|
+
*/
|
24
|
+
static getBackUrl(): string;
|
25
|
+
/**
|
26
|
+
* 获取指定地址的路由对象,自动合并qs,并解码
|
27
|
+
*/
|
28
|
+
static getRoute(url: string, queryObj?: object): any;
|
29
|
+
/**
|
30
|
+
* 处理实体,得到url query参数形式
|
31
|
+
* 如:app=Tool&compare[language]=json&compare[sql]=App%3D%27Tool%27+and+[Table]+like+%27Ctl_%25%27+order+by+[Table],+Name
|
32
|
+
*/
|
33
|
+
static getQuery(value: any): string;
|
34
|
+
/**
|
35
|
+
* 处理键值对的值
|
36
|
+
*/
|
37
|
+
private static handleQueryValue;
|
38
|
+
/**
|
39
|
+
* 自动根据后面路径,决定是否要合并Url
|
40
|
+
*/
|
41
|
+
static concatUrl: (url: string, path: string) => string;
|
42
|
+
/**
|
43
|
+
* 合并路径和查询对象(自动编码,并支持覆盖现有参数),得到完整URL地址,并会省略默认值
|
44
|
+
* ? 对url参数不编码,只对 queryObj 参数编码,防止用户的参数被改成编码形式
|
45
|
+
* ? 目前,对Url参数对象和目标对象都编码,因为源对象属性是经过解码的
|
46
|
+
*/
|
47
|
+
static getUrl: (url: string, params?: any) => string;
|
48
|
+
/**
|
49
|
+
* 获取超链接配置对象
|
50
|
+
*/
|
51
|
+
static getAnchor: (url: string, params?: any) => {
|
52
|
+
href: any;
|
53
|
+
target: any;
|
54
|
+
};
|
55
|
+
/**
|
56
|
+
* 从Url中提取路径
|
57
|
+
*/
|
58
|
+
static getPath(url: string): string;
|
59
|
+
/**
|
60
|
+
* 获取path中最后一个片段信息
|
61
|
+
*/
|
62
|
+
static getLastSegment(url: string): string;
|
63
|
+
/**
|
64
|
+
* 获取地址中的查询参数
|
65
|
+
*/
|
66
|
+
static getQueryParam(url: string, key: string): string;
|
67
|
+
/**
|
68
|
+
* 从Url中提取查询对象
|
69
|
+
*/
|
70
|
+
static deserialize(url: string): object;
|
71
|
+
/**
|
72
|
+
* 把查询字符串转换成对象(自动解码成源数据)
|
73
|
+
*/
|
74
|
+
static deserializeQs(qs: string, decode?: boolean): any;
|
75
|
+
/**
|
76
|
+
* 把对象转换成查询字符串,自动编码
|
77
|
+
*/
|
78
|
+
static serialize(obj: object, encoding?: boolean): string;
|
79
|
+
/**
|
80
|
+
* URL编码
|
81
|
+
*/
|
82
|
+
static encode(val: string): string;
|
83
|
+
/**
|
84
|
+
* 把指定对象转换成base64字符串
|
85
|
+
*/
|
86
|
+
static base64(obj: object): string;
|
87
|
+
/**
|
88
|
+
* 把指定base64字符串解析为原对象
|
89
|
+
*/
|
90
|
+
static base64Decode(val: string): any;
|
91
|
+
/**
|
92
|
+
* 是否是http或https开头的地址
|
93
|
+
*/
|
94
|
+
static httpOrHttps(url: string): boolean;
|
95
|
+
}
|
96
|
+
export default UrlHelper;
|
package/esm/sdks/index.d.ts
CHANGED
@@ -1,4 +1,7 @@
|
|
1
|
-
export * from "./commons";
|
2
|
-
export * from "./globals";
|
3
|
-
export * from "./panels";
|
4
|
-
export * from "./
|
1
|
+
export * from "./commons/index";
|
2
|
+
export * from "./globals/index";
|
3
|
+
export * from "./panels/index";
|
4
|
+
export * from "./helpers/index";
|
5
|
+
export * from "./stores/index";
|
6
|
+
export * from "./thirds/index";
|
7
|
+
export * from "./utilities/index";
|
@@ -0,0 +1,9 @@
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
2
|
+
default?(_: {}): any;
|
3
|
+
}>;
|
4
|
+
export default _default;
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
6
|
+
new (): {
|
7
|
+
$slots: S;
|
8
|
+
};
|
9
|
+
};
|
@@ -0,0 +1,16 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
title: {
|
3
|
+
type: StringConstructor;
|
4
|
+
};
|
5
|
+
theme: {
|
6
|
+
type: StringConstructor;
|
7
|
+
};
|
8
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
9
|
+
title: {
|
10
|
+
type: StringConstructor;
|
11
|
+
};
|
12
|
+
theme: {
|
13
|
+
type: StringConstructor;
|
14
|
+
};
|
15
|
+
}>>, {}, {}>;
|
16
|
+
export default _default;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { OperationProps } from "./index";
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<OperationProps>, {
|
3
|
+
ref: import("vue").Ref<any>;
|
4
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<OperationProps>>>, {}, {}>, {
|
5
|
+
left?(_: {}): any;
|
6
|
+
default?(_: {}): any;
|
7
|
+
}>;
|
8
|
+
export default _default;
|
9
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
10
|
+
new (): {
|
11
|
+
$slots: S;
|
12
|
+
};
|
13
|
+
};
|
14
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
15
|
+
type __VLS_TypePropsToOption<T> = {
|
16
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
17
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
18
|
+
} : {
|
19
|
+
type: import('vue').PropType<T[K]>;
|
20
|
+
required: true;
|
21
|
+
};
|
22
|
+
};
|
@@ -0,0 +1,30 @@
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
2
|
+
title: {
|
3
|
+
type: StringConstructor;
|
4
|
+
};
|
5
|
+
dark: {
|
6
|
+
type: BooleanConstructor;
|
7
|
+
default: boolean;
|
8
|
+
};
|
9
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
10
|
+
title: {
|
11
|
+
type: StringConstructor;
|
12
|
+
};
|
13
|
+
dark: {
|
14
|
+
type: BooleanConstructor;
|
15
|
+
default: boolean;
|
16
|
+
};
|
17
|
+
}>>, {
|
18
|
+
dark: boolean;
|
19
|
+
}, {}>, {
|
20
|
+
title?(_: {}): any;
|
21
|
+
operation?(_: {}): any;
|
22
|
+
default?(_: {}): any;
|
23
|
+
"panel-footer"?(_: {}): any;
|
24
|
+
}>;
|
25
|
+
export default _default;
|
26
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
27
|
+
new (): {
|
28
|
+
$slots: S;
|
29
|
+
};
|
30
|
+
};
|