halo-pc 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Article-Cr0paCOd.js +192 -0
- package/dist/Autocomplete-BissS2A3.js +48 -0
- package/dist/{Autocomplete-A0m1RW7z.js → Autocomplete-BomWDDWr.js} +1 -1
- package/dist/Autocomplete-_O3g7SYt.js +49 -0
- package/dist/{CSharp-Bwl97exE.js → CSharp-Chv8lll5.js} +1 -1
- package/dist/{Calender-C3vbVYIN.js → Calender-CcXM5xUM.js} +1 -1
- package/dist/Callback-D-HauKTc.js +20 -0
- package/dist/Cascader-C_YYvlMe.js +80 -0
- package/dist/Cascader-Cjin8BPz.js +41 -0
- package/dist/{Checkbox-BJS0a1NT.js → Checkbox-DGJtHqmU.js} +1 -1
- package/dist/Code-B-kH_AEs.js +4 -0
- package/dist/Code-CXhbCjHw.js +54 -0
- package/dist/Code-DD8gAydz.js +36 -0
- package/dist/{Code-9I77CMRV.js → Code-UnNJwSVi.js} +1 -1
- package/dist/Code.vue_vue_type_style_index_0_lang-C1J-SoAM.js +59 -0
- package/dist/Column-Ba3n9lah.js +67 -0
- package/dist/Comment-DulAeabk.js +98 -0
- package/dist/Compare-CmlD1ECo.js +56 -0
- package/dist/Compare-PyNusYx3.js +26 -0
- package/dist/Copy-DtwoucC7.js +43 -0
- package/dist/Custom-BV_EaF7f.js +47 -0
- package/dist/{DataExport-BHh7NvbT.js → DataExport-p-XTQ4Bo.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-C9t5j7Gi.js → DataExport.vue_vue_type_script_setup_true_lang-DYlu1ZpK.js} +35 -39
- package/dist/{DataImport-CtBsCyNb.js → DataImport-CiRRckYq.js} +1 -1
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-CVb_SvzU.js +172 -0
- package/dist/{Date-IV1FwqTW.js → Date-DhXOp3UZ.js} +1 -1
- package/dist/{DateRange-IWmDLSuy.js → DateRange-Dk12_9EG.js} +10 -14
- package/dist/{DateTime-Di6sr-tq.js → DateTime-Cfp17-qg.js} +1 -1
- package/dist/{DateTimeRange-BNUGYgWf.js → DateTimeRange-DyL2IsZP.js} +10 -14
- package/dist/{Daterange-rrlMT4tD.js → Daterange-BDtHZQMV.js} +14 -18
- package/dist/{Decimal-D9TVQqyS.js → Decimal-BaFrJUjb.js} +1 -1
- package/dist/Delete-thdB3rVm.js +55 -0
- package/dist/{Detail-HAblGKTY.js → Detail-rwzyud9y.js} +18 -22
- package/dist/Dictionary-BgfQMBi8.js +55 -0
- package/dist/{File-MF1QgEQX.js → File-Dv9NexiC.js} +51 -55
- package/dist/{Image-Dps_vfcZ.js → Image-fiCxDDah.js} +1 -1
- package/dist/{Index-C_mfWEwr.js → Index-BVv4l4ck.js} +1 -1
- package/dist/{Index-DupYRMRj.js → Index-BgoXQ1Wl.js} +52 -56
- package/dist/{Index-7cTFT9Xb.js → Index-C6T9VjbG.js} +15 -19
- package/dist/Index-Ch9KV-2J.js +4 -0
- package/dist/{Index-XBFHPLbK.js → Index-DCPI1-65.js} +1 -1
- package/dist/Index-auePVeWT.js +4 -0
- package/dist/{Index-hgpg_5ma.js → Index-iBPC-KXy.js} +1 -1
- package/dist/{Index.vue_vue_type_script_setup_true_lang-yOf2ubuo.js → Index.vue_vue_type_script_setup_true_lang-D0QapFN1.js} +11 -15
- package/dist/{Index.vue_vue_type_script_setup_true_lang-C1Bw7evJ.js → Index.vue_vue_type_script_setup_true_lang-DMLN7fuC.js} +10 -14
- package/dist/{Index.vue_vue_type_style_index_0_lang-DBERwM_v.js → Index.vue_vue_type_style_index_0_lang-QhW1-B80.js} +24 -28
- package/dist/{Install-A9qs4Vg-.js → Install-B7lphLHl.js} +14 -18
- package/dist/{Int-B3L54Gcc.js → Int-B_GYg_-a.js} +12 -16
- package/dist/List-BMEZrjDr.js +72 -0
- package/dist/Maintaince-aqCw0DHb.js +14 -0
- package/dist/{Markdown-wcGRlabe.js → Markdown-B9rSQoSk.js} +1 -1
- package/dist/{Month-C1tCQKvO.js → Month-QXiAbCWq.js} +1 -1
- package/dist/{Normal-HoU_elKy.js → Normal-BkJ7zUcf.js} +81 -85
- package/dist/Paging-C17Ky2Ym.js +93 -0
- package/dist/QueryApi-rH-MUOz4.js +13 -0
- package/dist/{Racebar-BXuP1N9F.js → Racebar-B64iqDpa.js} +40 -44
- package/dist/{Radio-D6W9guyM.js → Radio-DT6DYkMm.js} +1 -1
- package/dist/Register-Br4Ho5_h.js +196 -0
- package/dist/RichText-B7mZvV3h.js +41 -0
- package/dist/{SearchFooter-D3-9GTr1.js → SearchFooter-CJhcsVwS.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-DP32ZjvQ.js → SearchFooter.vue_vue_type_style_index_0_lang-4pj5BIPU.js} +20 -20
- package/dist/{SearchForm-rWozLa4B.js → SearchForm-B0Mhg7mY.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-F2we6KP-.js → SearchForm.vue_vue_type_style_index_0_lang-Cpk8lxSg.js} +33 -37
- package/dist/{Select-CAmBUDp3.js → Select-BqGycr7D.js} +33 -37
- package/dist/{Select-64nQiHNA.js → Select-C6waLN_p.js} +17 -21
- package/dist/{Select-qCdhL7vC.js → Select-DOv6YMyd.js} +1 -1
- package/dist/{Single-Bnrt5Hxb.js → Single-BsVcYImb.js} +112 -116
- package/dist/{Statistic-BTbwlH9l.js → Statistic-cTv7XwZm.js} +46 -50
- package/dist/{Stock-Br_02hsI.js → Stock-4ne0C_6C.js} +1 -1
- package/dist/{Stock-DbExd680.js → Stock-BmagKP2Z.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-MTvhmHlz.js → Stock.vue_vue_type_style_index_0_lang-7J7U50Do.js} +36 -40
- package/dist/{Switch-J2GIv4Wa.js → Switch-D2U2T-VY.js} +1 -1
- package/dist/{Table-DjBx2UGm.js → Table-ByVJNMIs.js} +106 -112
- package/dist/{Table-X4vTHlpm.js → Table-DpGjoJJ8.js} +92 -96
- package/dist/Text-D7hTUYqZ.js +4 -0
- package/dist/Text.vue_vue_type_style_index_0_lang-D3BX2I3_.js +52 -0
- package/dist/TextLink-BVdiz7C8.js +59 -0
- package/dist/{Textarea-Dw_qLc3Y.js → Textarea-DqfHJ-pT.js} +1 -1
- package/dist/{Timeline-DaaRGmGd.js → Timeline-BdFiDkbs.js} +13 -17
- package/dist/Tree-CqO-oS4J.js +117 -0
- package/dist/Tree-IdYR7KBj.js +293 -0
- package/dist/TreeNode-DtiaVE46.js +34 -0
- package/dist/{Update-PffbXMXH.js → Update-BLUslZO8.js} +12 -16
- package/dist/Upload-BLKrxNpk.js +2519 -0
- package/dist/Upload-Dy80NqjS.js +67 -0
- package/dist/{UploadApi-D2W_aGKA.js → UploadApi-Cjo168Xz.js} +3 -8
- package/dist/{Year-Dr5ST0Pk.js → Year-DxuRORBQ.js} +1 -1
- package/dist/main-CsvsIylY.js +28890 -0
- package/dist/main.js +117 -111
- package/dist/style.css +1 -1
- package/dist/vendor-@monaco-editor-B50UdwzE.js +92 -0
- package/dist/{vendor-crypto-js-ftX_aBC-.js → vendor-crypto-js-YOeWQTUw.js} +3 -1
- package/dist/{vendor-underscore-DVTek3G4.js → vendor-underscore-D6LmOFb9.js} +0 -3
- package/dist/vendor-xlsx-js-style-DIFxrP6P.js +11862 -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 +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 +1 -1
- package/esm/coms/business/HaDrawer.vue.d.ts +1 -1
- package/esm/coms/business/HaDriver.vue.d.ts +1 -1
- package/esm/coms/business/HaForm.vue.d.ts +1 -1
- package/esm/coms/commons/HaTable.vue.d.ts +1 -1
- 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/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/Table.vue.d.ts +1 -1
- package/esm/coms/panels/HaOperation.vue.d.ts +1 -1
- 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/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 +5 -7
- 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-B2DrYXDa.js +0 -58
- 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/Index-Cgets8DK.js +0 -4
- package/dist/Index-DGnHsBz4.js +0 -4
- 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/Tree-CDD2Nd6q.js +0 -121
- 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/esm/services/ServiceFactory.d.ts +0 -3
- package/esm/types/PcOptions.d.ts +0 -18
- package/esm/types/index.d.ts +0 -2
package/dist/Tree-Cmp10DWw.js
DELETED
@@ -1,297 +0,0 @@
|
|
1
|
-
import { defineComponent as Ce, toRefs as ge, ref as v, onMounted as we, onUnmounted as Ne, computed as q, watch as Ke, resolveComponent as T, openBlock as i, createBlock as C, unref as e, withCtx as f, createElementVNode as c, createElementBlock as h, createVNode as _, Fragment as Se, renderList as Re, withDirectives as $e, resolveDynamicComponent as Te, createCommentVNode as g, createTextVNode as w, toDisplayString as b, vShow as Ie, nextTick as j } from "vue";
|
2
|
-
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
3
|
-
import "./vendor-moment-h96o7c8I.js";
|
4
|
-
import { u as De, l as Ue, g as L, C as F, n as Ve, o as qe, p as G, m as Le, T as J, h as Q, A as W, M as Be } from "./main-B8RC13GR.js";
|
5
|
-
import "xlsx-js-style";
|
6
|
-
import "./vendor-crypto-js-ftX_aBC-.js";
|
7
|
-
import "vue-router";
|
8
|
-
import "./vendor-intro.js-CZkClzQO.js";
|
9
|
-
import { _ as Ee } from "./Index.vue_vue_type_script_setup_true_lang-B-sM48XO.js";
|
10
|
-
const ze = { class: "tree-left" }, He = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), Me = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), Ae = /* @__PURE__ */ c("i", { class: "fa fa-copy" }, null, -1), Oe = /* @__PURE__ */ c("i", { class: "fa fa-trash" }, null, -1), Pe = {
|
11
|
-
key: 2,
|
12
|
-
class: "ha-empty"
|
13
|
-
}, je = {
|
14
|
-
key: 3,
|
15
|
-
class: "tree-add"
|
16
|
-
}, Fe = /* @__PURE__ */ c("i", { class: "fa fa-plus" }, null, -1), rl = /* @__PURE__ */ Ce({
|
17
|
-
__name: "Tree",
|
18
|
-
props: {
|
19
|
-
searchData: {},
|
20
|
-
route: {},
|
21
|
-
module: {},
|
22
|
-
schema: {},
|
23
|
-
table: {},
|
24
|
-
layout: {},
|
25
|
-
next: {},
|
26
|
-
set: {}
|
27
|
-
},
|
28
|
-
emits: ["refresh", "succeed", "search", "navigate"],
|
29
|
-
setup(X, { expose: Y, emit: Z }) {
|
30
|
-
let k = Z, ee = X, { route: N, module: B, schema: le, table: m, layout: a, next: y, set: Ge, searchData: te } = ge(ee), K = v(), E = v(), x = v(), S = v(), z = v(), re = v(), { t: p, t_module: H } = De(), ae = Ue(), d = v({ type: null, name: null, url: null, visible: !1 }), R = v(), I = null, r = v({ width: 250, currentNode: null, currentKey: null, expandedKeys: [], scrollTop: 0, visible: !1 }), M = () => {
|
31
|
-
if (!K.value)
|
32
|
-
return;
|
33
|
-
let l = K.value.$el.querySelector(".is-context");
|
34
|
-
l && l.classList.remove("is-context");
|
35
|
-
}, oe = (l, t, o, n) => {
|
36
|
-
M(), n.vnode.el.classList.add("is-context"), r.value.currentNode = t, I.show(l);
|
37
|
-
}, $ = (l) => {
|
38
|
-
let t = a.value.parentId, o = { [t]: null };
|
39
|
-
l == "sibling" ? o[t] = r.value.currentNode[t] : l == "child" && (o[t] = r.value.currentNode[a.value.id]);
|
40
|
-
let n = L.base64(o), u = `${y.value.insert.route}?default=${n}`;
|
41
|
-
l == "copy" && (u += "&id=" + r.value.currentNode[a.value.id]), d.value.url = u, d.value.visible = !0;
|
42
|
-
}, A = () => {
|
43
|
-
let l = r.value.currentNode[a.value.id], t = r.value.currentNode[a.value.text], o = p("common.confirm_delete", t);
|
44
|
-
Le.confirm(p("common.tips"), o, { type: "warning" }).then(() => {
|
45
|
-
ne(l);
|
46
|
-
});
|
47
|
-
}, ne = (l) => {
|
48
|
-
let t = a.value.id, o = a.value.data, n = J.getNextById(l, t, o, "Children");
|
49
|
-
Q.post(y.value.delete.route, [l]).then(() => {
|
50
|
-
J.removeById(l, t, o, "Children");
|
51
|
-
let u = null;
|
52
|
-
n && (u = n[t], r.value.currentKey = u, r.value.expandedKeys.push(u)), k("succeed", () => {
|
53
|
-
D(r.value.scrollTop);
|
54
|
-
});
|
55
|
-
});
|
56
|
-
}, ue = (l) => {
|
57
|
-
r.value.scrollTop = l.scrollTop;
|
58
|
-
}, D = (l = null, t = null) => {
|
59
|
-
r.value.visible = !1, j(() => {
|
60
|
-
r.value.visible = !0, j(() => {
|
61
|
-
if (l == null) {
|
62
|
-
let o = K.value.$el.querySelector(".el-tree-node.is-current");
|
63
|
-
o && o.scrollIntoView({ block: "center", behavior: "smooth" });
|
64
|
-
} else
|
65
|
-
S.value.setScrollTop(l);
|
66
|
-
t && t();
|
67
|
-
});
|
68
|
-
});
|
69
|
-
}, se = () => {
|
70
|
-
d.value.visible = !1, k("succeed", () => {
|
71
|
-
D(r.value.scrollTop);
|
72
|
-
});
|
73
|
-
}, de = (l) => {
|
74
|
-
d.value.type = l.module.type, d.value.name = l.module.name;
|
75
|
-
}, ie = () => {
|
76
|
-
d.value.visible = !1;
|
77
|
-
}, ce = (l, t, o) => {
|
78
|
-
M();
|
79
|
-
let n = l[a.value.id];
|
80
|
-
if (W.pushIfNotExist(r.value.expandedKeys, n), n == r.value.currentKey)
|
81
|
-
x.value.refresh();
|
82
|
-
else {
|
83
|
-
r.value.currentKey = n, R.value = U();
|
84
|
-
let u = L.getUrl(N.value.fullPath, { id: n });
|
85
|
-
k("navigate", u);
|
86
|
-
}
|
87
|
-
}, ve = (l, t, o) => {
|
88
|
-
W.remove(r.value.expandedKeys, l[a.value.id]);
|
89
|
-
}, fe = (l, t, o, n) => {
|
90
|
-
let u = {
|
91
|
-
table: a.value.table,
|
92
|
-
id: l.data[a.value.id],
|
93
|
-
targetId: t.data[a.value.id],
|
94
|
-
position: o
|
95
|
-
};
|
96
|
-
Q.post(a.value.operation.route, u).then((P) => {
|
97
|
-
});
|
98
|
-
}, me = (l) => {
|
99
|
-
k("search", l);
|
100
|
-
}, pe = (l) => {
|
101
|
-
}, ye = (l, t) => l ? t[m.value.text].indexOf(l) !== -1 : !0, he = () => {
|
102
|
-
k("refresh");
|
103
|
-
}, _e = (l, t) => {
|
104
|
-
if (!x.value || !x.value.keyboard)
|
105
|
-
return !1;
|
106
|
-
x.value.keyboard(l, t);
|
107
|
-
}, be = () => {
|
108
|
-
S.value.update();
|
109
|
-
}, U = () => {
|
110
|
-
let l = y.value[a.value.page.toLowerCase()].route;
|
111
|
-
return r.value.currentKey && (l += "?id=" + r.value.currentKey), l;
|
112
|
-
}, ke = () => {
|
113
|
-
let l = N.value.query.id, t;
|
114
|
-
l == null ? t = a.value.updateKey : t = F.convert(l, O.value.type), t && (r.value.currentKey = t, r.value.expandedKeys = [t], R.value = U()), D(null, () => {
|
115
|
-
I = new Be(E.value, [S.value.$el, z.value]);
|
116
|
-
});
|
117
|
-
};
|
118
|
-
we(() => {
|
119
|
-
ke();
|
120
|
-
}), Ne(() => {
|
121
|
-
I.dispose();
|
122
|
-
}), q(() => {
|
123
|
-
let l = { [a.value.parentId]: N.value.query.id };
|
124
|
-
return L.base64(l);
|
125
|
-
});
|
126
|
-
let xe = q(() => {
|
127
|
-
let l = `/${m.value.name}/tree-node`;
|
128
|
-
return ae.getComponent(l, "partial", "tree-node");
|
129
|
-
}), O = q(() => m.value.fields.find((t) => t.name == a.value.id));
|
130
|
-
return Ke(() => N.value, (l, t) => {
|
131
|
-
r.value.currentKey = F.convert(l.query.id, O.value.type), R.value = U();
|
132
|
-
}), Y({ refresh: he, keyboard: _e, resize: be }), (l, t) => {
|
133
|
-
const o = T("el-scrollbar"), n = T("el-tree"), u = T("el-button"), P = T("el-drawer");
|
134
|
-
return i(), C(e(Ve), {
|
135
|
-
class: "tree",
|
136
|
-
width: e(r).width,
|
137
|
-
onResize: t[5] || (t[5] = (s) => e(r).width = s)
|
138
|
-
}, {
|
139
|
-
left: f(() => [
|
140
|
-
c("div", ze, [
|
141
|
-
e(m).search.length ? (i(), h("div", {
|
142
|
-
key: 0,
|
143
|
-
ref_key: "searchRef",
|
144
|
-
ref: re,
|
145
|
-
class: "tree-search"
|
146
|
-
}, [
|
147
|
-
_(o, null, {
|
148
|
-
default: f(() => [
|
149
|
-
(i(!0), h(Se, null, Re(e(m).search, (s, V) => (i(), h("div", {
|
150
|
-
class: "search-field",
|
151
|
-
key: V
|
152
|
-
}, [
|
153
|
-
_(Ee, {
|
154
|
-
schema: e(le),
|
155
|
-
table: e(m),
|
156
|
-
field: s,
|
157
|
-
"search-data": e(te),
|
158
|
-
onChange: e(pe),
|
159
|
-
onSubmit: e(me)
|
160
|
-
}, null, 8, ["schema", "table", "field", "search-data", "onChange", "onSubmit"])
|
161
|
-
]))), 128))
|
162
|
-
]),
|
163
|
-
_: 1
|
164
|
-
})
|
165
|
-
], 512)) : (i(), C(e(qe), {
|
166
|
-
key: 1,
|
167
|
-
title: e(H)(e(B).type, e(B).name)
|
168
|
-
}, null, 8, ["title"])),
|
169
|
-
$e(_(o, {
|
170
|
-
ref_key: "scrollbarRef",
|
171
|
-
ref: S,
|
172
|
-
class: "tree-content",
|
173
|
-
onScroll: e(ue)
|
174
|
-
}, {
|
175
|
-
default: f(() => [
|
176
|
-
e(r).visible ? (i(), C(n, {
|
177
|
-
key: 0,
|
178
|
-
ref_key: "treeRef",
|
179
|
-
ref: K,
|
180
|
-
"highlight-current": "",
|
181
|
-
"show-checkbox": e(a).checkbox,
|
182
|
-
"expand-on-click-node": !1,
|
183
|
-
draggable: !!e(a).operation,
|
184
|
-
data: e(a).data,
|
185
|
-
"node-key": e(a).id,
|
186
|
-
"current-node-key": e(r).currentKey,
|
187
|
-
props: { children: "Children", label: e(a).text },
|
188
|
-
"filter-node-method": e(ye),
|
189
|
-
"default-expanded-keys": e(r).expandedKeys,
|
190
|
-
onNodeClick: e(ce),
|
191
|
-
onNodeContextmenu: e(oe),
|
192
|
-
onNodeCollapse: e(ve),
|
193
|
-
onNodeDrop: e(fe)
|
194
|
-
}, {
|
195
|
-
default: f(({ node: s, data: V }) => [
|
196
|
-
(i(), C(Te(e(xe)), {
|
197
|
-
table: e(m),
|
198
|
-
layout: e(a),
|
199
|
-
row: V,
|
200
|
-
node: s
|
201
|
-
}, null, 8, ["table", "layout", "row", "node"]))
|
202
|
-
]),
|
203
|
-
_: 1
|
204
|
-
}, 8, ["show-checkbox", "draggable", "data", "node-key", "current-node-key", "props", "filter-node-method", "default-expanded-keys", "onNodeClick", "onNodeContextmenu", "onNodeCollapse", "onNodeDrop"])) : g("", !0),
|
205
|
-
c("ul", {
|
206
|
-
ref_key: "menuRef",
|
207
|
-
ref: E,
|
208
|
-
class: "mouse-context"
|
209
|
-
}, [
|
210
|
-
c("li", {
|
211
|
-
onClick: t[0] || (t[0] = (s) => e($)("child"))
|
212
|
-
}, [
|
213
|
-
He,
|
214
|
-
w(b(e(p)("tree.add_sub_item")), 1)
|
215
|
-
]),
|
216
|
-
c("li", {
|
217
|
-
onClick: t[1] || (t[1] = (s) => e($)("sibling"))
|
218
|
-
}, [
|
219
|
-
Me,
|
220
|
-
w(b(e(p)("tree.add_same_grade")), 1)
|
221
|
-
]),
|
222
|
-
c("li", {
|
223
|
-
onClick: t[2] || (t[2] = (s) => e($)("copy"))
|
224
|
-
}, [
|
225
|
-
Ae,
|
226
|
-
w(b(e(p)("common.copy")), 1)
|
227
|
-
]),
|
228
|
-
e(y).delete ? (i(), h("li", {
|
229
|
-
key: 0,
|
230
|
-
onClick: t[3] || (t[3] = //@ts-ignore
|
231
|
-
(...s) => e(A) && e(A)(...s))
|
232
|
-
}, [
|
233
|
-
Oe,
|
234
|
-
w(b(e(p)("common.delete")), 1)
|
235
|
-
])) : g("", !0)
|
236
|
-
], 512)
|
237
|
-
]),
|
238
|
-
_: 1
|
239
|
-
}, 8, ["onScroll"]), [
|
240
|
-
[Ie, e(a).data.length]
|
241
|
-
]),
|
242
|
-
e(a).data.length ? g("", !0) : (i(), h("div", Pe, b(e(p)("common.no_data")), 1)),
|
243
|
-
!e(a).data.length && e(y).insert ? (i(), h("div", je, [
|
244
|
-
_(u, {
|
245
|
-
type: "primary",
|
246
|
-
onClick: e($)
|
247
|
-
}, {
|
248
|
-
icon: f(() => [
|
249
|
-
Fe
|
250
|
-
]),
|
251
|
-
default: f(() => [
|
252
|
-
w(" " + b(e(y).insert.title), 1)
|
253
|
-
]),
|
254
|
-
_: 1
|
255
|
-
}, 8, ["onClick"])
|
256
|
-
])) : g("", !0)
|
257
|
-
])
|
258
|
-
]),
|
259
|
-
default: f(() => [
|
260
|
-
c("div", {
|
261
|
-
ref_key: "detailRef",
|
262
|
-
ref: z,
|
263
|
-
class: "tree-detail"
|
264
|
-
}, [
|
265
|
-
e(r).currentKey ? (i(), C(e(G), {
|
266
|
-
key: 0,
|
267
|
-
ref_key: "singleRef",
|
268
|
-
ref: x,
|
269
|
-
url: e(R)
|
270
|
-
}, null, 8, ["url"])) : g("", !0)
|
271
|
-
], 512),
|
272
|
-
_(P, {
|
273
|
-
size: "60%",
|
274
|
-
"destroy-on-close": "",
|
275
|
-
title: e(H)(e(d).type, e(d).name),
|
276
|
-
modelValue: e(d).visible,
|
277
|
-
"onUpdate:modelValue": t[4] || (t[4] = (s) => e(d).visible = s)
|
278
|
-
}, {
|
279
|
-
default: f(() => [
|
280
|
-
_(e(G), {
|
281
|
-
url: e(d).url,
|
282
|
-
onLoaded: e(de),
|
283
|
-
onSucceed: e(se),
|
284
|
-
onClose: e(ie)
|
285
|
-
}, null, 8, ["url", "onLoaded", "onSucceed", "onClose"])
|
286
|
-
]),
|
287
|
-
_: 1
|
288
|
-
}, 8, ["title", "modelValue"])
|
289
|
-
]),
|
290
|
-
_: 1
|
291
|
-
}, 8, ["width"]);
|
292
|
-
};
|
293
|
-
}
|
294
|
-
});
|
295
|
-
export {
|
296
|
-
rl as default
|
297
|
-
};
|
@@ -1,38 +0,0 @@
|
|
1
|
-
import { defineComponent as h, toRefs as x, computed as C, openBlock as l, createElementBlock as a, unref as e, createElementVNode as N, toDisplayString as i, createTextVNode as b, createCommentVNode as s } from "vue";
|
2
|
-
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
3
|
-
import "./vendor-moment-h96o7c8I.js";
|
4
|
-
import "xlsx-js-style";
|
5
|
-
import { S as g } from "./main-B8RC13GR.js";
|
6
|
-
import "./vendor-crypto-js-ftX_aBC-.js";
|
7
|
-
const y = ["title"], k = { class: "number" }, v = {
|
8
|
-
key: 0,
|
9
|
-
class: "option-suffix"
|
10
|
-
}, S = {
|
11
|
-
key: 1,
|
12
|
-
class: "count"
|
13
|
-
}, w = /* @__PURE__ */ h({
|
14
|
-
__name: "TreeNode",
|
15
|
-
props: {
|
16
|
-
table: {},
|
17
|
-
layout: {},
|
18
|
-
row: {},
|
19
|
-
node: {}
|
20
|
-
},
|
21
|
-
setup(d) {
|
22
|
-
let p = d, { table: u, layout: n, row: t, node: c } = x(p), m = (r, o) => {
|
23
|
-
let _ = (r.parent.data.Children ? r.parent.data.Children.indexOf(o) : r.parent.data.indexOf(o)) + 1;
|
24
|
-
return g.padLeft(_, 2, "0");
|
25
|
-
}, f = C(() => u.value.fields.find((o) => o.name == n.value.text).control.i18N);
|
26
|
-
return (r, o) => (l(), a("div", {
|
27
|
-
title: e(t)[e(n).title]
|
28
|
-
}, [
|
29
|
-
N("span", k, i(e(m)(e(c), e(t))), 1),
|
30
|
-
b(" " + i(e(f) ? r.t(e(t)[e(n).text]) : e(t)[e(n).text]) + " ", 1),
|
31
|
-
e(n).suffix ? (l(), a("span", v, i(e(t)[e(n).suffix]), 1)) : s("", !0),
|
32
|
-
e(t).Children && e(t).Children.length > 0 ? (l(), a("span", S, "(" + i(e(t).Children.length) + ")", 1)) : s("", !0)
|
33
|
-
], 8, y));
|
34
|
-
}
|
35
|
-
});
|
36
|
-
export {
|
37
|
-
w as default
|
38
|
-
};
|
package/dist/Upload-F6HXe76H.js
DELETED
@@ -1,71 +0,0 @@
|
|
1
|
-
import { defineComponent as V, toRefs as b, ref as r, onMounted as k, computed as w, resolveComponent as S, openBlock as n, createElementBlock as u, Fragment as x, renderList as C, unref as s, createVNode as F, isRef as E, withCtx as H, createElementVNode as $ } from "vue";
|
2
|
-
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
3
|
-
import "./vendor-moment-h96o7c8I.js";
|
4
|
-
import "xlsx-js-style";
|
5
|
-
import { d as y, g as B, f as I, F as N, U as R } from "./main-B8RC13GR.js";
|
6
|
-
import "./vendor-crypto-js-ftX_aBC-.js";
|
7
|
-
import "./QueryApi-BrYyIwqV.js";
|
8
|
-
import { U as j } from "./UploadApi-D2W_aGKA.js";
|
9
|
-
const A = { class: "text-upload" }, L = ["src", "onClick", "alt"], M = ["src"], Z = /* @__PURE__ */ V({
|
10
|
-
__name: "Upload",
|
11
|
-
props: {
|
12
|
-
schema: {},
|
13
|
-
table: {},
|
14
|
-
field: {},
|
15
|
-
set: {},
|
16
|
-
row: {},
|
17
|
-
modelValue: {}
|
18
|
-
},
|
19
|
-
setup(g) {
|
20
|
-
let v = g, { table: O, field: T, set: q, row: z, modelValue: f } = b(v), d = y(), p = r(), t = r(!1), m = r([]), c = r(), _ = (e) => {
|
21
|
-
t.value = !0, c.value = e.url;
|
22
|
-
}, h = () => {
|
23
|
-
if (o.value)
|
24
|
-
if (d.upload.method == "box")
|
25
|
-
j.getUploadToken().then((e) => {
|
26
|
-
o.value.split(",").forEach((a) => {
|
27
|
-
let l = `${d.upload.address}/api/objects/download?slug=${a}&token=${e}`;
|
28
|
-
m.value.push({ name: a, url: l });
|
29
|
-
});
|
30
|
-
});
|
31
|
-
else {
|
32
|
-
let e = B.httpOrHttps(o.value) ? o.value : I.api.url + o.value;
|
33
|
-
N.isImage(e) ? p.value = e : p.value = R.getFileIcon(e);
|
34
|
-
}
|
35
|
-
};
|
36
|
-
k(() => {
|
37
|
-
h();
|
38
|
-
});
|
39
|
-
let o = w(() => f.value);
|
40
|
-
return (e, i) => {
|
41
|
-
const a = S("el-dialog");
|
42
|
-
return n(), u("div", A, [
|
43
|
-
(n(!0), u(x, null, C(s(m), (l, U) => (n(), u("img", {
|
44
|
-
class: "detail-image",
|
45
|
-
src: l.url,
|
46
|
-
onClick: (D) => s(_)(l),
|
47
|
-
alt: l.name,
|
48
|
-
key: U
|
49
|
-
}, null, 8, L))), 128)),
|
50
|
-
F(a, {
|
51
|
-
draggable: "",
|
52
|
-
"append-to-body": "",
|
53
|
-
top: "5vh",
|
54
|
-
modelValue: s(t),
|
55
|
-
"onUpdate:modelValue": i[0] || (i[0] = (l) => E(t) ? t.value = l : t = l)
|
56
|
-
}, {
|
57
|
-
default: H(() => [
|
58
|
-
$("img", {
|
59
|
-
width: "100%",
|
60
|
-
src: s(c)
|
61
|
-
}, null, 8, M)
|
62
|
-
]),
|
63
|
-
_: 1
|
64
|
-
}, 8, ["modelValue"])
|
65
|
-
]);
|
66
|
-
};
|
67
|
-
}
|
68
|
-
});
|
69
|
-
export {
|
70
|
-
Z as default
|
71
|
-
};
|
package/dist/Upload-kwwpaDe6.js
DELETED
@@ -1,147 +0,0 @@
|
|
1
|
-
import { defineComponent as Y, toRefs as Z, ref as p, onMounted as ee, computed as x, watch as le, resolveComponent as S, openBlock as k, createElementBlock as A, normalizeClass as te, unref as t, createVNode as N, withCtx as F, createBlock as ae, createTextVNode as oe, toDisplayString as re, isRef as ue, createElementVNode as ie } from "vue";
|
2
|
-
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
3
|
-
import "./vendor-moment-h96o7c8I.js";
|
4
|
-
import { d as ne, e as se, f as I, m as de, h as P, A as s, C as B, F as H, U as T, g as pe } from "./main-B8RC13GR.js";
|
5
|
-
import "xlsx-js-style";
|
6
|
-
import "./vendor-crypto-js-ftX_aBC-.js";
|
7
|
-
import "./QueryApi-BrYyIwqV.js";
|
8
|
-
import { U as me } from "./UploadApi-D2W_aGKA.js";
|
9
|
-
const ce = {
|
10
|
-
key: 0,
|
11
|
-
class: "fa fa-upload"
|
12
|
-
}, ve = ["src"], xe = /* @__PURE__ */ Y({
|
13
|
-
__name: "Upload",
|
14
|
-
props: {
|
15
|
-
schema: {},
|
16
|
-
table: {},
|
17
|
-
field: {},
|
18
|
-
set: {},
|
19
|
-
row: {},
|
20
|
-
modelValue: {}
|
21
|
-
},
|
22
|
-
emits: ["submit", "change", "update:modelValue"],
|
23
|
-
setup($, { emit: z }) {
|
24
|
-
let g = z, E = $, { table: d, field: r, row: h, set: fe, modelValue: L } = Z(E), b = ne(), O = se(), m = p(!1), C = p({}), c = p([]), R = p(), D = p(), f = !0, _ = p({ action: "", data: null }), M = (e) => {
|
25
|
-
me.getUploadToken().then((l) => {
|
26
|
-
e.forEach((u) => {
|
27
|
-
let a = `${b.upload.address}/api/objects/download?slug=${u[0]}&token=${l}`;
|
28
|
-
c.value.push({ name: u[1], url: a });
|
29
|
-
});
|
30
|
-
});
|
31
|
-
}, q = async (e) => {
|
32
|
-
f = !1;
|
33
|
-
let l = `/upload?table=${d.value.name}&field=${r.value.name}`;
|
34
|
-
return _.value.action = I.api.url + l, C.value.Authorization = await O.getAuthorization(l), r.value.control.fileType == "Image" ? e.type.indexOf("image") == 0 ? Promise.resolve() : (de.error("请上传正确的图片文件"), Promise.reject()) : Promise.resolve();
|
35
|
-
}, G = (e, l) => {
|
36
|
-
f = !1;
|
37
|
-
let a = [e.name.replace(I.api.url, "")];
|
38
|
-
return P.post("/upload/delete", { files: a }).then(({ data: o }) => {
|
39
|
-
let i = l.indexOf(e), V = s.removeIndex(n.value, i, ",");
|
40
|
-
if (g("update:modelValue", V), r.value.control.name) {
|
41
|
-
let v = d.value.fields.find((U) => U.name == r.value.control.name), y = B.getValue(o.value, i, d.value, v), w = s.removeIndex(y, i, ",");
|
42
|
-
B.setValue(w, o.value, d.value, i, v);
|
43
|
-
}
|
44
|
-
return Promise.resolve();
|
45
|
-
}).catch(() => Promise.reject());
|
46
|
-
}, J = (e) => {
|
47
|
-
m.value = !0, R.value = e.url;
|
48
|
-
}, K = (e, l, u) => {
|
49
|
-
}, Q = (e, l) => {
|
50
|
-
P.handleResponseBody(e).then((u) => {
|
51
|
-
let { name: a, url: o } = u.data[0];
|
52
|
-
b.upload.method == "box" || H.isImage(o) || (l.url = T.getFileIcon(o));
|
53
|
-
let V = s.split(n.value, ",", o).join(",");
|
54
|
-
if (n.value = V, r.value.control.name) {
|
55
|
-
let v = d.value.fields.find((U) => U.name == r.value.control.name), y = h.value[v.value], w = s.split(y, ",", a);
|
56
|
-
h.value[v.value] = w.join(",");
|
57
|
-
}
|
58
|
-
}).catch(() => {
|
59
|
-
c.value = [];
|
60
|
-
}).finally(() => {
|
61
|
-
f = !0;
|
62
|
-
});
|
63
|
-
}, j = () => {
|
64
|
-
if (c.value = [], !n.value)
|
65
|
-
return;
|
66
|
-
let e = s.split(n.value, ","), l = [];
|
67
|
-
if (r.value.control.name) {
|
68
|
-
let a = d.value.fields.find((i) => i.name == r.value.control.name), o = h.value[a.name];
|
69
|
-
l = s.split(o, ",");
|
70
|
-
}
|
71
|
-
let u = s.combine(e, l);
|
72
|
-
if (b.upload.method == "box")
|
73
|
-
M(u);
|
74
|
-
else {
|
75
|
-
let a = pe.httpOrHttps(n.value) ? n.value : I.api.url + n.value, o = { name: a, url: null };
|
76
|
-
H.isImage(a) ? o.url = a : o.url = T.getFileIcon(a), c.value.push(o);
|
77
|
-
}
|
78
|
-
};
|
79
|
-
ee(() => {
|
80
|
-
j();
|
81
|
-
});
|
82
|
-
let n = x({
|
83
|
-
get() {
|
84
|
-
return L.value;
|
85
|
-
},
|
86
|
-
set(e) {
|
87
|
-
g("update:modelValue", e), g("change", e);
|
88
|
-
}
|
89
|
-
}), W = x(() => r.value.control.preview ? "picture-card" : null), X = x(() => X);
|
90
|
-
return le(() => n.value, (e, l) => {
|
91
|
-
f && j();
|
92
|
-
}), (e, l) => {
|
93
|
-
const u = S("el-button"), a = S("el-upload"), o = S("el-dialog");
|
94
|
-
return k(), A("div", {
|
95
|
-
class: te(t(r).control.preview ? "control-file-preview" : "control-file")
|
96
|
-
}, [
|
97
|
-
N(a, {
|
98
|
-
ref_key: "uploadRef",
|
99
|
-
ref: D,
|
100
|
-
"list-type": t(W),
|
101
|
-
action: t(_).action,
|
102
|
-
headers: t(C),
|
103
|
-
data: t(_).data,
|
104
|
-
"file-list": t(c),
|
105
|
-
"before-upload": t(q),
|
106
|
-
"before-remove": t(G),
|
107
|
-
"on-preview": t(J),
|
108
|
-
"on-success": t(Q),
|
109
|
-
"on-progress": t(K),
|
110
|
-
disabled: t(r).readonly
|
111
|
-
}, {
|
112
|
-
default: F(() => [
|
113
|
-
t(r).control.preview ? (k(), A("i", ce)) : (k(), ae(u, {
|
114
|
-
key: 1,
|
115
|
-
icon: "el-icon-upload",
|
116
|
-
type: "primary"
|
117
|
-
}, {
|
118
|
-
default: F(() => [
|
119
|
-
oe(re(e.t("common.click_upload")), 1)
|
120
|
-
]),
|
121
|
-
_: 1
|
122
|
-
}))
|
123
|
-
]),
|
124
|
-
_: 1
|
125
|
-
}, 8, ["list-type", "action", "headers", "data", "file-list", "before-upload", "before-remove", "on-preview", "on-success", "on-progress", "disabled"]),
|
126
|
-
N(o, {
|
127
|
-
draggable: "",
|
128
|
-
"append-to-body": "",
|
129
|
-
modelValue: t(m),
|
130
|
-
"onUpdate:modelValue": l[0] || (l[0] = (i) => ue(m) ? m.value = i : m = i)
|
131
|
-
}, {
|
132
|
-
default: F(() => [
|
133
|
-
ie("img", {
|
134
|
-
width: "100%",
|
135
|
-
src: t(R),
|
136
|
-
alt: ""
|
137
|
-
}, null, 8, ve)
|
138
|
-
]),
|
139
|
-
_: 1
|
140
|
-
}, 8, ["modelValue"])
|
141
|
-
], 2);
|
142
|
-
};
|
143
|
-
}
|
144
|
-
});
|
145
|
-
export {
|
146
|
-
xe as default
|
147
|
-
};
|