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
@@ -1,13 +1,9 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import "./
|
3
|
-
|
4
|
-
import "xlsx-js-style";
|
5
|
-
import { l as ze, y as De, P as J, C as K, j as B, D as y, r as I, z as Q, A as M, O as We, x as Be } from "./main-B8RC13GR.js";
|
6
|
-
import "./vendor-crypto-js-ftX_aBC-.js";
|
7
|
-
const Ie = {
|
1
|
+
import { defineComponent as we, defineAsyncComponent as be, toRefs as xe, ref as c, onMounted as Ce, computed as L, watch as Se, resolveComponent as b, openBlock as f, createElementBlock as $, Fragment as U, createVNode as S, unref as e, withCtx as v, createTextVNode as Re, toDisplayString as W, createBlock as z, createCommentVNode as F, renderList as ke, createElementVNode as x, normalizeStyle as $e, resolveDynamicComponent as ze, nextTick as P } from "vue";
|
2
|
+
import { E as Fe, c as De, p as J, f as K, s as q, q as y, F as B, G as Q, x as E, a as He, S as We } from "./main-CsvsIylY.js";
|
3
|
+
const qe = {
|
8
4
|
key: 0,
|
9
5
|
class: "required"
|
10
|
-
},
|
6
|
+
}, Be = ["onMouseenter"], Ee = /* @__PURE__ */ x("i", { class: "fa fa-question-circle icon-question" }, null, -1), Ie = { class: "footer-left" }, Te = { class: "footer-right" }, Ae = /* @__PURE__ */ we({
|
11
7
|
__name: "Table",
|
12
8
|
props: {
|
13
9
|
route: {},
|
@@ -21,119 +17,119 @@ const Ie = {
|
|
21
17
|
},
|
22
18
|
emits: ["submit", "change", "row-edit"],
|
23
19
|
setup(X, { expose: Y, emit: Z }) {
|
24
|
-
let ee =
|
25
|
-
|
26
|
-
},
|
27
|
-
|
28
|
-
},
|
20
|
+
let ee = be(() => import("./Index-BVv4l4ck.js")), D = Z, te = X, { schema: I, table: a, layout: m, set: i, next: Me, route: T, module: R, validateErrors: M } = xe(te), _ = c({ page: 1 }), p = c([]), le = c(!0), k = c(), N = c(), V = c(), A = c(), g = c({ layout: "prev, pager, next", count: 5 }), ae = (t, o, n) => {
|
21
|
+
D("row-edit", t, a.value, n);
|
22
|
+
}, oe = (t) => {
|
23
|
+
D("submit", t);
|
24
|
+
}, ne = (t, o) => {
|
29
25
|
let n = a.value.show[o];
|
30
26
|
return n._headerWidth ? (t.column.realWidth || t.column.width) > n._headerWidth + 20 : !0;
|
31
|
-
},
|
27
|
+
}, re = (t, o) => {
|
32
28
|
let n = t.target.children[0].offsetWidth, u = a.value.show[o];
|
33
29
|
u._headerWidth = n;
|
34
|
-
},
|
35
|
-
|
36
|
-
},
|
30
|
+
}, ue = (t, o, n, u, l) => {
|
31
|
+
D("change", t, o, n, u, l);
|
32
|
+
}, O = (t) => i.value[a.value.name].indexOf(t), ie = (t) => {
|
37
33
|
p.value = t;
|
38
|
-
},
|
34
|
+
}, se = (t, o, n, u, l) => {
|
39
35
|
J.setColumnWidth(T.value, l.name, n.property, t);
|
40
|
-
},
|
41
|
-
j(t.contentRect.width),
|
42
|
-
|
36
|
+
}, de = (t) => {
|
37
|
+
j(t.contentRect.width), P(() => {
|
38
|
+
G(t.contentRect.height);
|
43
39
|
});
|
44
40
|
}, j = (t = null) => {
|
45
41
|
let o = y.parentUntil(k.value.$el, ".ha-main-form");
|
46
42
|
t == null && (t = y.getWidth(o)), t <= 690 ? g.value.count = 5 : g.value.count = 7, t <= 300 ? g.value.layout = "pager" : t <= 620 ? g.value.layout = "prev, pager, next" : g.value.layout = "total, prev, pager, next, jumper";
|
47
|
-
},
|
43
|
+
}, G = (t = null) => {
|
48
44
|
let o = y.parentUntil(k.value.$el, ".ha-main-form");
|
49
45
|
t || (t = y.getHeight(o));
|
50
|
-
let n = y.getHeight(
|
51
|
-
|
52
|
-
},
|
53
|
-
let t = i.value[a.value.name].length, o =
|
46
|
+
let n = y.getHeight(N.value), u = y.find(o, ".main-footer"), l = y.getHeight(u), s = t - n - l;
|
47
|
+
A.value = `${s}px`;
|
48
|
+
}, me = async () => {
|
49
|
+
let t = i.value[a.value.name].length, o = q.getDefaultRow(a.value);
|
54
50
|
i.value[a.value.name].push(o);
|
55
51
|
let n = a.value.fields.filter((l) => l.feature != null);
|
56
52
|
for (let l = 0; l < n.length; l++) {
|
57
53
|
let s = n[l];
|
58
|
-
|
54
|
+
(await B.create(s.feature.type)).add(a.value, s, i.value, o);
|
59
55
|
}
|
60
|
-
|
56
|
+
H(t);
|
61
57
|
let u = Q.isBottom(".tree-detail");
|
62
|
-
|
58
|
+
P(() => {
|
63
59
|
u && Q.scrollToBottom(".tree-detail");
|
64
60
|
});
|
65
|
-
},
|
66
|
-
let t = p.value[0], o =
|
61
|
+
}, pe = async () => {
|
62
|
+
let t = p.value[0], o = q.getDefaultRow(a.value), n = E.insert(i.value[a.value.name], t, o), u = a.value.fields.filter((l) => l.feature != null);
|
67
63
|
for (let l = 0; l < u.length; l++) {
|
68
64
|
let s = u[l];
|
69
|
-
|
65
|
+
(await B.create(s.feature.type)).insert(a.value, s, i.value, t, o);
|
70
66
|
}
|
71
|
-
|
72
|
-
},
|
73
|
-
let t = a.value.key.name, o =
|
67
|
+
H(n);
|
68
|
+
}, ce = async () => {
|
69
|
+
let t = a.value.key.name, o = He.clone(p.value, (l) => {
|
74
70
|
l[t] = null, l[`Old_${t}`] = null;
|
75
71
|
}), n = i.value[a.value.name].indexOf(p.value[0]);
|
76
72
|
for (let l = 0; l < p.value.length; l++) {
|
77
73
|
let s = p.value[l], w = o[l];
|
78
|
-
|
74
|
+
E.append(i.value[a.value.name], s, w);
|
79
75
|
}
|
80
76
|
let u = a.value.fields.filter((l) => l.feature != null);
|
81
77
|
for (let l = 0; l < u.length; l++) {
|
82
78
|
let s = u[l];
|
83
|
-
|
79
|
+
(await B.create(s.feature.type)).copy(a.value, s, i.value);
|
84
80
|
}
|
85
|
-
|
81
|
+
H(n);
|
86
82
|
}, fe = () => {
|
87
|
-
|
88
|
-
},
|
89
|
-
let o =
|
83
|
+
E.remove(i.value[a.value.name], p.value), p.value = [];
|
84
|
+
}, H = (t) => {
|
85
|
+
let o = We.pageCount(t + 1, m.value.pageSize);
|
90
86
|
_.value.page = o;
|
91
|
-
},
|
87
|
+
}, ve = (t) => {
|
92
88
|
_.value.page = t;
|
93
|
-
},
|
89
|
+
}, ge = () => {
|
94
90
|
k.value.$el.querySelector("tbody");
|
95
91
|
};
|
96
|
-
|
97
|
-
|
98
|
-
|
92
|
+
Ce(() => {
|
93
|
+
ge(), j(), Fe.detectLoaded(V, () => {
|
94
|
+
G();
|
99
95
|
});
|
100
96
|
});
|
101
|
-
let
|
97
|
+
let he = L(() => {
|
102
98
|
let t = (_.value.page - 1) * m.value.pageSize, o = _.value.page * m.value.pageSize - 1;
|
103
99
|
return i.value[a.value.name].filter((u, l) => l >= t && l <= o);
|
104
|
-
}),
|
105
|
-
let t = a.value.main ? `/${a.value.name}` : `/${
|
106
|
-
return
|
100
|
+
}), ye = L(() => {
|
101
|
+
let t = a.value.main ? `/${a.value.name}` : `/${I.value[0].name}/${a.value.name}`;
|
102
|
+
return De.getComponent(`${t}/update-child`, "partial", "update-child");
|
107
103
|
});
|
108
|
-
return
|
104
|
+
return Se(M, (t, o) => {
|
109
105
|
let n = t.find((u) => u.table == a.value.name);
|
110
106
|
n != null && (_.value.page = Math.ceil((n.index + 1) / m.value.pageSize));
|
111
|
-
}), Y({ resize:
|
112
|
-
const n = b("el-table-column"), u = b("el-tooltip"), l = b("el-popover"), s = b("el-form-item"), w = b("el-table"),
|
113
|
-
return
|
107
|
+
}), Y({ resize: de }), (t, o) => {
|
108
|
+
const n = b("el-table-column"), u = b("el-tooltip"), l = b("el-popover"), s = b("el-form-item"), w = b("el-table"), _e = b("el-pagination");
|
109
|
+
return f(), $(U, null, [
|
114
110
|
S(w, {
|
115
111
|
ref_key: "tableRef",
|
116
112
|
ref: k,
|
117
113
|
class: "ha-table-layout table-default",
|
118
114
|
size: "small",
|
119
115
|
border: "",
|
120
|
-
"max-height": e(
|
121
|
-
data: e(
|
122
|
-
onRowClick: o[0] || (o[0] = (r, h, d) => e(
|
123
|
-
onSelectionChange: e(
|
124
|
-
onHeaderDragend: o[1] || (o[1] = (r, h, d, C) => e(
|
116
|
+
"max-height": e(A),
|
117
|
+
data: e(he),
|
118
|
+
onRowClick: o[0] || (o[0] = (r, h, d) => e(ae)(r, h, d)),
|
119
|
+
onSelectionChange: e(ie),
|
120
|
+
onHeaderDragend: o[1] || (o[1] = (r, h, d, C) => e(se)(r, h, d, C, e(a)))
|
125
121
|
}, {
|
126
|
-
empty:
|
127
|
-
|
122
|
+
empty: v(() => [
|
123
|
+
Re(W(t.t("common.no_data")), 1)
|
128
124
|
]),
|
129
|
-
default:
|
130
|
-
e(
|
125
|
+
default: v(() => [
|
126
|
+
e(le) ? (f(), z(n, {
|
131
127
|
key: 0,
|
132
128
|
type: "selection",
|
133
129
|
width: "40",
|
134
130
|
fixed: ""
|
135
|
-
})) :
|
136
|
-
(
|
131
|
+
})) : F("", !0),
|
132
|
+
(f(!0), $(U, null, ke(e(a).show, (r, h) => (f(), z(n, {
|
137
133
|
key: r.name,
|
138
134
|
"show-overflow-tooltip": "",
|
139
135
|
prop: r.name,
|
@@ -141,54 +137,54 @@ const Ie = {
|
|
141
137
|
"min-width": e(J).getColumnWidth(e(T), e(a).name, r),
|
142
138
|
fixed: e(m).fixed.length > 0 ? e(m).fixed.indexOf(r.name) > -1 : h == 0
|
143
139
|
}, {
|
144
|
-
header:
|
145
|
-
e(R).type != "Detail" && r.control.required ? (
|
140
|
+
header: v((d) => [
|
141
|
+
e(R).type != "Detail" && r.control.required ? (f(), $("i", qe, "*")) : F("", !0),
|
146
142
|
S(u, {
|
147
143
|
placement: "top",
|
148
144
|
content: r.label,
|
149
|
-
disabled: e(
|
145
|
+
disabled: e(ne)(d, h)
|
150
146
|
}, {
|
151
|
-
default:
|
147
|
+
default: v(() => [
|
152
148
|
x("span", {
|
153
|
-
onMouseenter: (C) => e(
|
149
|
+
onMouseenter: (C) => e(re)(C, h)
|
154
150
|
}, [
|
155
151
|
x("span", null, W(t.t_field(e(a).table, r.name)), 1)
|
156
|
-
], 40,
|
152
|
+
], 40, Be)
|
157
153
|
]),
|
158
154
|
_: 2
|
159
155
|
}, 1032, ["content", "disabled"]),
|
160
|
-
r.control.tooltip ? (
|
156
|
+
r.control.tooltip ? (f(), z(l, {
|
161
157
|
key: 1,
|
162
158
|
trigger: "hover",
|
163
159
|
placement: "top",
|
164
160
|
width: "auto",
|
165
161
|
title: r.control.tooltip.title
|
166
162
|
}, {
|
167
|
-
reference:
|
168
|
-
|
163
|
+
reference: v(() => [
|
164
|
+
Ee
|
169
165
|
]),
|
170
|
-
default:
|
166
|
+
default: v(() => [
|
171
167
|
x("pre", null, W(r.control.tooltip.content), 1)
|
172
168
|
]),
|
173
169
|
_: 2
|
174
|
-
}, 1032, ["title"])) :
|
170
|
+
}, 1032, ["title"])) : F("", !0)
|
175
171
|
]),
|
176
|
-
default:
|
172
|
+
default: v((d) => [
|
177
173
|
S(s, {
|
178
|
-
style:
|
179
|
-
rules: e(
|
180
|
-
prop: `[${e(a).name}][${e(
|
174
|
+
style: $e(e(K).getStyle(r, e(R).type, e(m).type)),
|
175
|
+
rules: e(q).getRules(e(M), e(a), r, d.$index),
|
176
|
+
prop: `[${e(a).name}][${e(O)(d.row)}][${r.name}]`
|
181
177
|
}, {
|
182
|
-
default:
|
178
|
+
default: v(() => [
|
183
179
|
S(e(ee), {
|
184
|
-
schema: e(
|
180
|
+
schema: e(I),
|
185
181
|
table: e(a),
|
186
182
|
field: r,
|
187
183
|
set: e(i),
|
188
184
|
row: d.row,
|
189
185
|
config: e(K).getConfig(r, e(R).type, e(m).type),
|
190
|
-
onSubmit: e(
|
191
|
-
onChange: (C) => e(
|
186
|
+
onSubmit: e(oe),
|
187
|
+
onChange: (C) => e(ue)(C, e(i), e(a), r, e(O)(d.row))
|
192
188
|
}, null, 8, ["schema", "table", "field", "set", "row", "config", "onSubmit", "onChange"])
|
193
189
|
]),
|
194
190
|
_: 2
|
@@ -199,35 +195,35 @@ const Ie = {
|
|
199
195
|
]),
|
200
196
|
_: 1
|
201
197
|
}, 8, ["max-height", "data", "onSelectionChange"]),
|
202
|
-
e(a).main ?
|
198
|
+
e(a).main ? F("", !0) : (f(), $("div", {
|
203
199
|
key: 0,
|
204
200
|
ref_key: "footerRef",
|
205
|
-
ref:
|
201
|
+
ref: N,
|
206
202
|
class: "table-footer"
|
207
203
|
}, [
|
208
|
-
x("div",
|
209
|
-
(
|
204
|
+
x("div", Ie, [
|
205
|
+
(f(), z(ze(e(ye)), {
|
210
206
|
ref_key: "operationRef",
|
211
|
-
ref:
|
207
|
+
ref: V,
|
212
208
|
module: e(R),
|
213
209
|
table: e(a),
|
214
210
|
set: e(i),
|
215
211
|
selection: e(p),
|
216
|
-
onAdd: e(
|
217
|
-
onInsert: e(
|
218
|
-
onCopy: e(
|
212
|
+
onAdd: e(me),
|
213
|
+
onInsert: e(pe),
|
214
|
+
onCopy: e(ce),
|
219
215
|
onRemove: e(fe)
|
220
216
|
}, null, 40, ["module", "table", "set", "selection", "onAdd", "onInsert", "onCopy", "onRemove"]))
|
221
217
|
]),
|
222
|
-
x("div",
|
223
|
-
S(
|
218
|
+
x("div", Te, [
|
219
|
+
S(_e, {
|
224
220
|
background: "",
|
225
221
|
layout: e(g).layout,
|
226
222
|
"current-page": e(_).page,
|
227
223
|
"page-size": e(m).pageSize,
|
228
224
|
"pager-count": e(g).count,
|
229
225
|
total: e(i)[e(a).name].length,
|
230
|
-
onCurrentChange: e(
|
226
|
+
onCurrentChange: e(ve)
|
231
227
|
}, null, 8, ["layout", "current-page", "page-size", "pager-count", "total", "onCurrentChange"])
|
232
228
|
])
|
233
229
|
], 512))
|
@@ -236,5 +232,5 @@ const Ie = {
|
|
236
232
|
}
|
237
233
|
});
|
238
234
|
export {
|
239
|
-
|
235
|
+
Ae as default
|
240
236
|
};
|
@@ -0,0 +1,52 @@
|
|
1
|
+
import { defineComponent as x, toRefs as v, ref as f, computed as V, resolveComponent as y, openBlock as r, createElementBlock as s, Fragment as B, unref as l, createBlock as C, isRef as d, createCommentVNode as R, nextTick as T, createElementVNode as g } from "vue";
|
2
|
+
import { m as H } from "./main-CsvsIylY.js";
|
3
|
+
const L = ["innerHTML"], b = /* @__PURE__ */ g("i", { class: "fa fa-edit" }, null, -1), w = [
|
4
|
+
b
|
5
|
+
], h = /* @__PURE__ */ x({
|
6
|
+
__name: "Text",
|
7
|
+
props: {
|
8
|
+
schema: {},
|
9
|
+
table: {},
|
10
|
+
field: {},
|
11
|
+
set: {},
|
12
|
+
row: {},
|
13
|
+
modelValue: {}
|
14
|
+
},
|
15
|
+
setup(p) {
|
16
|
+
let c = p, { table: E, field: u, set: M, row: N, modelValue: _ } = v(c), t = f(!1), a = f(), i = () => {
|
17
|
+
t.value = !0, T(() => {
|
18
|
+
a.value.focus();
|
19
|
+
});
|
20
|
+
}, o = V(() => {
|
21
|
+
let m = H.getHtml(_.value);
|
22
|
+
return (u.value.control.prefix || "") + (m || "") + (u.value.control.suffix || "");
|
23
|
+
});
|
24
|
+
return (m, e) => {
|
25
|
+
const k = y("el-input");
|
26
|
+
return r(), s(B, null, [
|
27
|
+
l(t) ? (r(), C(k, {
|
28
|
+
key: 1,
|
29
|
+
ref_key: "editRef",
|
30
|
+
ref: a,
|
31
|
+
type: "text",
|
32
|
+
onBlur: e[0] || (e[0] = (n) => d(t) ? t.value = !1 : t = !1),
|
33
|
+
modelValue: l(o),
|
34
|
+
"onUpdate:modelValue": e[1] || (e[1] = (n) => d(o) ? o.value = n : o = n)
|
35
|
+
}, null, 8, ["modelValue"])) : (r(), s("span", {
|
36
|
+
key: 0,
|
37
|
+
class: "text-text",
|
38
|
+
innerHTML: l(o)
|
39
|
+
}, null, 8, L)),
|
40
|
+
l(t) ? R("", !0) : (r(), s("span", {
|
41
|
+
key: 2,
|
42
|
+
class: "edit-inline",
|
43
|
+
onClick: e[2] || (e[2] = //@ts-ignore
|
44
|
+
(...n) => l(i) && l(i)(...n))
|
45
|
+
}, w))
|
46
|
+
], 64);
|
47
|
+
};
|
48
|
+
}
|
49
|
+
});
|
50
|
+
export {
|
51
|
+
h as _
|
52
|
+
};
|
@@ -0,0 +1,59 @@
|
|
1
|
+
import { defineComponent as g, toRefs as $, ref as E, computed as s, resolveComponent as w, unref as o, openBlock as u, createElementBlock as d, renderSlot as i, createBlock as x, withCtx as y } from "vue";
|
2
|
+
import { $ as m, A as B } from "./main-CsvsIylY.js";
|
3
|
+
const C = { key: 0 }, R = ["href", "target"], S = /* @__PURE__ */ g({
|
4
|
+
__name: "TextLink",
|
5
|
+
props: {
|
6
|
+
schema: {},
|
7
|
+
table: {},
|
8
|
+
field: {},
|
9
|
+
set: {},
|
10
|
+
row: {}
|
11
|
+
},
|
12
|
+
emits: ["submit", "change", "update:modelValue"],
|
13
|
+
setup(h, { emit: A }) {
|
14
|
+
let k = h, { table: L, field: t, set: O, row: c } = $(k), p = E(), a = s(() => {
|
15
|
+
let e = t.value.link.href;
|
16
|
+
return t.value.link.values.forEach((r) => {
|
17
|
+
e = e.replace(`{${r}}`, c.value[r]);
|
18
|
+
}), e;
|
19
|
+
}), _ = s(() => m.httpOrHttps(a.value)), v = s(() => {
|
20
|
+
let e = a.value;
|
21
|
+
if (t.value.link.tables.length > 0) {
|
22
|
+
let l = {};
|
23
|
+
t.value.link.tables.forEach((n) => {
|
24
|
+
l[n.name] = {}, n.search.forEach((f) => {
|
25
|
+
l[n.name][f.name] = c.value[f.value];
|
26
|
+
});
|
27
|
+
});
|
28
|
+
let b = B.encode(l);
|
29
|
+
e += "&condition=" + b;
|
30
|
+
}
|
31
|
+
return m.getToRoute(e);
|
32
|
+
});
|
33
|
+
return (e, r) => {
|
34
|
+
const l = w("router-link");
|
35
|
+
return o(p) ? (u(), d("div", C, [
|
36
|
+
i(e.$slots, "default")
|
37
|
+
])) : o(_) ? (u(), d("a", {
|
38
|
+
key: 1,
|
39
|
+
class: "text-link",
|
40
|
+
href: o(a),
|
41
|
+
target: o(t).link.target
|
42
|
+
}, [
|
43
|
+
i(e.$slots, "default")
|
44
|
+
], 8, R)) : (u(), x(l, {
|
45
|
+
key: 2,
|
46
|
+
class: "text-link",
|
47
|
+
to: o(v)
|
48
|
+
}, {
|
49
|
+
default: y(() => [
|
50
|
+
i(e.$slots, "default")
|
51
|
+
]),
|
52
|
+
_: 3
|
53
|
+
}, 8, ["to"]));
|
54
|
+
};
|
55
|
+
}
|
56
|
+
});
|
57
|
+
export {
|
58
|
+
S as default
|
59
|
+
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as u, toRefs as p, openBlock as i, createBlock as c, unref as e, isRef as _ } from "vue";
|
2
|
-
import { _ as V } from "./Text.vue_vue_type_style_index_0_lang-
|
2
|
+
import { _ as V } from "./Text.vue_vue_type_style_index_0_lang-D3BX2I3_.js";
|
3
3
|
const x = /* @__PURE__ */ u({
|
4
4
|
__name: "Textarea",
|
5
5
|
props: {
|
@@ -1,13 +1,9 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import "./
|
3
|
-
|
4
|
-
import "xlsx-js-style";
|
5
|
-
import { k as v, H as g } from "./main-B8RC13GR.js";
|
6
|
-
import "./vendor-crypto-js-ftX_aBC-.js";
|
7
|
-
const C = { class: "timeline-layout" }, B = ["innerHTML"], L = {
|
1
|
+
import { defineComponent as f, toRefs as y, resolveComponent as m, openBlock as t, createBlock as n, unref as e, withCtx as o, createElementVNode as r, createElementBlock as c, Fragment as k, renderList as x, createCommentVNode as v } from "vue";
|
2
|
+
import { h as g, m as C } from "./main-CsvsIylY.js";
|
3
|
+
const L = { class: "timeline-layout" }, B = ["innerHTML"], H = {
|
8
4
|
key: 0,
|
9
5
|
class: "timeline-detail"
|
10
|
-
},
|
6
|
+
}, F = /* @__PURE__ */ f({
|
11
7
|
__name: "Timeline",
|
12
8
|
props: {
|
13
9
|
searchData: {},
|
@@ -20,32 +16,32 @@ const C = { class: "timeline-layout" }, B = ["innerHTML"], L = {
|
|
20
16
|
set: {}
|
21
17
|
},
|
22
18
|
setup(_) {
|
23
|
-
let
|
19
|
+
let u = _, { module: T, schema: b, table: l, layout: i, next: E, set: s } = y(u);
|
24
20
|
return (M, N) => {
|
25
|
-
const
|
26
|
-
return t(), n(e(
|
21
|
+
const p = m("el-timeline-item"), d = m("el-timeline"), h = m("el-empty");
|
22
|
+
return t(), n(e(g), { class: "timeline" }, {
|
27
23
|
default: o(() => [
|
28
|
-
r("div",
|
24
|
+
r("div", L, [
|
29
25
|
e(s)[e(l).name].length > 0 ? (t(), n(d, {
|
30
26
|
key: 0,
|
31
27
|
reverse: !1
|
32
28
|
}, {
|
33
29
|
default: o(() => [
|
34
|
-
(t(!0), c(k, null, x(e(s)[e(l).name], (a) => (t(), n(
|
30
|
+
(t(!0), c(k, null, x(e(s)[e(l).name], (a) => (t(), n(p, {
|
35
31
|
timestamp: a[e(i).time]
|
36
32
|
}, {
|
37
33
|
default: o(() => [
|
38
34
|
r("div", {
|
39
|
-
innerHTML: e(
|
35
|
+
innerHTML: e(C).getHtml(a[e(i).text])
|
40
36
|
}, null, 8, B)
|
41
37
|
]),
|
42
38
|
_: 2
|
43
39
|
}, 1032, ["timestamp"]))), 256))
|
44
40
|
]),
|
45
41
|
_: 1
|
46
|
-
})) : (t(), n(
|
42
|
+
})) : (t(), n(h, { key: 1 }))
|
47
43
|
]),
|
48
|
-
e(l).length > 0 ? (t(), c("div",
|
44
|
+
e(l).length > 0 ? (t(), c("div", H, " 时间线节点详情 ")) : v("", !0)
|
49
45
|
]),
|
50
46
|
_: 1
|
51
47
|
});
|
@@ -53,5 +49,5 @@ const C = { class: "timeline-layout" }, B = ["innerHTML"], L = {
|
|
53
49
|
}
|
54
50
|
});
|
55
51
|
export {
|
56
|
-
|
52
|
+
F as default
|
57
53
|
};
|
@@ -0,0 +1,117 @@
|
|
1
|
+
import { defineComponent as Q, toRefs as U, ref as m, onMounted as X, watch as Y, nextTick as K, resolveComponent as b, openBlock as k, createElementBlock as w, unref as d, Fragment as L, renderList as B, createBlock as M, withCtx as N, createVNode as Z, createElementVNode as ee, toDisplayString as T, createCommentVNode as $ } from "vue";
|
2
|
+
import { q as le, x, b as F, s as P } from "./main-CsvsIylY.js";
|
3
|
+
const te = { class: "option-text" }, ae = {
|
4
|
+
key: 0,
|
5
|
+
class: "option-suffix"
|
6
|
+
}, de = /* @__PURE__ */ Q({
|
7
|
+
__name: "Tree",
|
8
|
+
props: {
|
9
|
+
route: {},
|
10
|
+
validateErrors: {},
|
11
|
+
module: {},
|
12
|
+
schema: {},
|
13
|
+
table: {},
|
14
|
+
layout: {},
|
15
|
+
next: {},
|
16
|
+
set: {}
|
17
|
+
},
|
18
|
+
setup(S, { expose: q }) {
|
19
|
+
let z = S, { module: D, schema: ne, table: u, layout: l, set: f } = U(z), E = m(), V = m([]), _ = m(), y = m(0), g = m([]), R = m(!0), W = (e, n, o) => {
|
20
|
+
let a = f.value[u.value.name].find((r) => r.PermissionId == e[l.value.id]);
|
21
|
+
a && (a[l.value.expand] = !0);
|
22
|
+
}, j = (e, n, o) => {
|
23
|
+
let a = f.value[u.value.name].find((r) => r.PermissionId == e[l.value.id]);
|
24
|
+
a && (a[l.value.expand] = !1);
|
25
|
+
}, A = (e, n, o) => {
|
26
|
+
let a = n.checkedKeys, r = e[l.value.id], i = x.contains(a, r), c = [], s = [], h = F.getChildren(e, "Children").map((t) => t[l.value.id]), p = f.value[u.value.name].map((t) => t[l.value.checked]), v = x.intersect(h, p);
|
27
|
+
if (i) {
|
28
|
+
c.push(e[l.value.id]);
|
29
|
+
let t = x.except(h, v);
|
30
|
+
t.length && (a.push(...t), c.push(...t));
|
31
|
+
} else
|
32
|
+
s.push(r), v.length == h.length && (s.push(...h), x.remove(a, h));
|
33
|
+
c.length && G(c), s.length && H(s);
|
34
|
+
}, G = (e) => {
|
35
|
+
for (let n = 0; n < e.length; n++) {
|
36
|
+
let o = P.getDefaultRow(u.value);
|
37
|
+
o[l.value.checked] = e[n], f.value[u.value.name].push(o);
|
38
|
+
}
|
39
|
+
}, H = (e) => {
|
40
|
+
let n = f.value[u.value.name];
|
41
|
+
for (let o = 0; o < e.length; o++) {
|
42
|
+
let a = n.find((r) => r[l.value.checked] == e[o]);
|
43
|
+
x.remove(n, a);
|
44
|
+
}
|
45
|
+
}, J = (e) => {
|
46
|
+
_.value = e.contentRect.width, y.value = Math.ceil(_.value / 300), I(u.value, l.value, f.value);
|
47
|
+
}, I = (e, n, o) => {
|
48
|
+
g.value = P.getLines(n.data, y.value, (a) => [a], () => 1), K(() => {
|
49
|
+
let a = o[e.name].map((i) => i[n.checked]), r = 0;
|
50
|
+
for (let i = 0; i < g.value.length; i++) {
|
51
|
+
let c = g.value[i];
|
52
|
+
for (let s = 0; s < c.length; s++) {
|
53
|
+
let C = V.value[r], h = c[s].data, p = F.getFlat(h, "Children").map((t) => t[n.id]), v = x.intersect(p, a);
|
54
|
+
if (!(v.length == 1 && p.length > 1)) for (let t = 0; t < v.length; t++) {
|
55
|
+
let O = v[t];
|
56
|
+
C.setChecked(O, !0, !1);
|
57
|
+
}
|
58
|
+
r++;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
});
|
62
|
+
};
|
63
|
+
return X(() => {
|
64
|
+
_.value = le.getWidth(E.value), y.value = Math.ceil(_.value / 300), I(u.value, l.value, f.value);
|
65
|
+
}), Y(() => u.value, (e, n) => {
|
66
|
+
R.value = !1, K(() => {
|
67
|
+
R.value = !0, I(e, l.value, f.value);
|
68
|
+
});
|
69
|
+
}), q({ resize: J }), (e, n) => {
|
70
|
+
const o = b("el-tree"), a = b("el-col"), r = b("el-row");
|
71
|
+
return k(), w("div", {
|
72
|
+
ref_key: "layoutRef",
|
73
|
+
ref: E,
|
74
|
+
class: "ha-tree-layout"
|
75
|
+
}, [
|
76
|
+
d(R) ? (k(!0), w(L, { key: 0 }, B(d(g), (i, c) => (k(), M(r, null, {
|
77
|
+
default: N(() => [
|
78
|
+
(k(!0), w(L, null, B(i, ({ data: s, span: C, index: h }, p) => (k(), M(a, {
|
79
|
+
span: C,
|
80
|
+
key: `${c}.${p}`
|
81
|
+
}, {
|
82
|
+
default: N(() => [
|
83
|
+
Z(o, {
|
84
|
+
ref_for: !0,
|
85
|
+
ref_key: "treeRefs",
|
86
|
+
ref: V,
|
87
|
+
"show-checkbox": "",
|
88
|
+
"highlight-current": "",
|
89
|
+
"default-expand-all": !1,
|
90
|
+
"expand-on-click-node": !1,
|
91
|
+
"node-key": d(l).id,
|
92
|
+
data: s,
|
93
|
+
props: { children: "Children", label: d(l).text },
|
94
|
+
disabled: d(D).type == "Detail",
|
95
|
+
onNodeExpand: d(W),
|
96
|
+
onNodeCollapse: d(j),
|
97
|
+
onCheck: (v, t) => d(A)(v, t, h)
|
98
|
+
}, {
|
99
|
+
default: N(({ node: v, data: t }) => [
|
100
|
+
ee("div", te, T(t[d(l).text]), 1),
|
101
|
+
d(l).suffix ? (k(), w("div", ae, T(t[d(l).suffix]), 1)) : $("", !0)
|
102
|
+
]),
|
103
|
+
_: 2
|
104
|
+
}, 1032, ["node-key", "data", "props", "disabled", "onNodeExpand", "onNodeCollapse", "onCheck"])
|
105
|
+
]),
|
106
|
+
_: 2
|
107
|
+
}, 1032, ["span"]))), 128))
|
108
|
+
]),
|
109
|
+
_: 2
|
110
|
+
}, 1024))), 256)) : $("", !0)
|
111
|
+
], 512);
|
112
|
+
};
|
113
|
+
}
|
114
|
+
});
|
115
|
+
export {
|
116
|
+
de as default
|
117
|
+
};
|