halo-pc 1.0.5 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-7pMF1N-k.js → Article-Cr0paCOd.js} +74 -74
- package/dist/{Autocomplete-K5ipzchR.js → Autocomplete-BissS2A3.js} +8 -8
- package/dist/{Autocomplete-CEjjKXwo.js → Autocomplete-BomWDDWr.js} +1 -1
- package/dist/{Autocomplete-DqKo5NiJ.js → Autocomplete-_O3g7SYt.js} +9 -9
- package/dist/{CSharp-DatSqpip.js → CSharp-Chv8lll5.js} +1 -1
- package/dist/{Calender-B1HoFiQg.js → Calender-CcXM5xUM.js} +1 -1
- package/dist/{Callback-PyCjejiv.js → Callback-D-HauKTc.js} +5 -5
- package/dist/{Cascader-B9lLRKjA.js → Cascader-C_YYvlMe.js} +8 -8
- package/dist/{Cascader-BNvlqc5t.js → Cascader-Cjin8BPz.js} +6 -6
- package/dist/{Checkbox-B6IkMrWB.js → Checkbox-DGJtHqmU.js} +1 -1
- package/dist/Code-B-kH_AEs.js +4 -0
- package/dist/{Code-LFQVJotC.js → Code-CXhbCjHw.js} +15 -15
- package/dist/{Code-DfFF-84i.js → Code-DD8gAydz.js} +5 -5
- package/dist/{Code-SZuIImtp.js → Code-UnNJwSVi.js} +1 -1
- package/dist/{Code.vue_vue_type_style_index_0_lang-nX113anq.js → Code.vue_vue_type_style_index_0_lang-C1J-SoAM.js} +9 -9
- package/dist/Column-Ba3n9lah.js +67 -0
- package/dist/{Comment-Do7Mjpjr.js → Comment-DulAeabk.js} +11 -11
- package/dist/{Compare-C_iDn27Q.js → Compare-CmlD1ECo.js} +1 -1
- package/dist/{Compare-CrX3yfD4.js → Compare-PyNusYx3.js} +1 -1
- package/dist/{Copy-_sbdQvHJ.js → Copy-DtwoucC7.js} +9 -9
- package/dist/{Custom-DarpQFG8.js → Custom-BV_EaF7f.js} +10 -12
- package/dist/{DataExport-I9iG4oEo.js → DataExport-p-XTQ4Bo.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-BgKetUGv.js → DataExport.vue_vue_type_script_setup_true_lang-DYlu1ZpK.js} +19 -19
- package/dist/{DataImport-2KtOy-of.js → DataImport-CiRRckYq.js} +1 -1
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-CVb_SvzU.js +172 -0
- package/dist/{Date-PERpDDy_.js → Date-DhXOp3UZ.js} +1 -1
- package/dist/{DateRange-BaxHMjcx.js → DateRange-Dk12_9EG.js} +6 -6
- package/dist/{DateTime-B7gHENiu.js → DateTime-Cfp17-qg.js} +1 -1
- package/dist/{DateTimeRange-yI9Y2qgC.js → DateTimeRange-DyL2IsZP.js} +3 -3
- package/dist/{Daterange-DqvBvK-B.js → Daterange-BDtHZQMV.js} +8 -8
- package/dist/{Decimal-AXwMeqBW.js → Decimal-BaFrJUjb.js} +1 -1
- package/dist/Delete-thdB3rVm.js +55 -0
- package/dist/{Detail-aWACqVnM.js → Detail-rwzyud9y.js} +10 -10
- package/dist/{Dictionary-DpQuFYQ5.js → Dictionary-BgfQMBi8.js} +13 -13
- package/dist/{File--NsXL6XX.js → File-Dv9NexiC.js} +45 -45
- package/dist/{Image-CuwfJLKW.js → Image-fiCxDDah.js} +1 -1
- package/dist/{Index-CQ9S2R9b.js → Index-BVv4l4ck.js} +1 -1
- package/dist/{Index-Cewv4-Ik.js → Index-BgoXQ1Wl.js} +58 -58
- package/dist/{Index-BNOFdDjW.js → Index-C6T9VjbG.js} +5 -5
- package/dist/Index-Ch9KV-2J.js +4 -0
- package/dist/{Index-DA2wAurY.js → Index-DCPI1-65.js} +1 -1
- package/dist/Index-auePVeWT.js +4 -0
- package/dist/{Index-Cj79dCuO.js → Index-iBPC-KXy.js} +1 -1
- package/dist/{Index.vue_vue_type_script_setup_true_lang-DjiARPz7.js → Index.vue_vue_type_script_setup_true_lang-D0QapFN1.js} +2 -2
- package/dist/{Index.vue_vue_type_script_setup_true_lang-D6_VOLX-.js → Index.vue_vue_type_script_setup_true_lang-DMLN7fuC.js} +2 -2
- package/dist/{Index.vue_vue_type_style_index_0_lang-DApNHvNX.js → Index.vue_vue_type_style_index_0_lang-QhW1-B80.js} +11 -11
- package/dist/{Install-BWdNbtVx.js → Install-B7lphLHl.js} +7 -7
- package/dist/{Int-nmVkFRqG.js → Int-B_GYg_-a.js} +3 -3
- package/dist/List-BMEZrjDr.js +72 -0
- package/dist/Maintaince-aqCw0DHb.js +14 -0
- package/dist/{Markdown-DD6ufwhM.js → Markdown-B9rSQoSk.js} +1 -1
- package/dist/{Month-BqbTFGgo.js → Month-QXiAbCWq.js} +1 -1
- package/dist/{Normal-f4HN1ciI.js → Normal-BkJ7zUcf.js} +61 -61
- package/dist/Paging-C17Ky2Ym.js +93 -0
- package/dist/{QueryApi-CbP5cCyH.js → QueryApi-rH-MUOz4.js} +1 -1
- package/dist/{Racebar-Bou-XNCm.js → Racebar-B64iqDpa.js} +34 -34
- package/dist/{Radio-BmikzeCv.js → Radio-DT6DYkMm.js} +1 -1
- package/dist/{Register-CgbRZH9W.js → Register-Br4Ho5_h.js} +67 -67
- package/dist/RichText-B7mZvV3h.js +41 -0
- package/dist/{SearchFooter-C4PeAkaR.js → SearchFooter-CJhcsVwS.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-BaO7vJ-n.js → SearchFooter.vue_vue_type_style_index_0_lang-4pj5BIPU.js} +20 -20
- package/dist/{SearchForm-C7fZiQaW.js → SearchForm-B0Mhg7mY.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BumSLQVy.js → SearchForm.vue_vue_type_style_index_0_lang-Cpk8lxSg.js} +16 -16
- package/dist/{Select-DR5fQH0d.js → Select-BqGycr7D.js} +12 -12
- package/dist/{Select-C1-NVZdG.js → Select-C6waLN_p.js} +8 -8
- package/dist/{Select-DlbQvxQu.js → Select-DOv6YMyd.js} +1 -1
- package/dist/{Single-BLRyJKB-.js → Single-BsVcYImb.js} +83 -83
- package/dist/{Statistic-BOtmYiRA.js → Statistic-cTv7XwZm.js} +37 -37
- package/dist/{Stock-Dnwof0R1.js → Stock-4ne0C_6C.js} +1 -1
- package/dist/{Stock-BqQ6lM5B.js → Stock-BmagKP2Z.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-Az2jx3JN.js → Stock.vue_vue_type_style_index_0_lang-7J7U50Do.js} +24 -24
- package/dist/{Switch-DuMBV0AX.js → Switch-D2U2T-VY.js} +1 -1
- package/dist/{Table-Be-rPXr_.js → Table-ByVJNMIs.js} +98 -100
- package/dist/{Table-RMVT0hlE.js → Table-DpGjoJJ8.js} +94 -94
- package/dist/Text-D7hTUYqZ.js +4 -0
- package/dist/{Text.vue_vue_type_style_index_0_lang-CeDusQl6.js → Text.vue_vue_type_style_index_0_lang-D3BX2I3_.js} +8 -8
- package/dist/{TextLink-BZW-y_FS.js → TextLink-BVdiz7C8.js} +16 -19
- package/dist/{Textarea-3ypOGE1S.js → Textarea-DqfHJ-pT.js} +1 -1
- package/dist/{Timeline-CLezCcgQ.js → Timeline-BdFiDkbs.js} +15 -15
- package/dist/Tree-CqO-oS4J.js +117 -0
- package/dist/{Tree-B6RBRT1y.js → Tree-IdYR7KBj.js} +104 -104
- package/dist/{TreeNode-C16N8jqm.js → TreeNode-DtiaVE46.js} +3 -3
- package/dist/{Update-Dc3Tdkn0.js → Update-BLUslZO8.js} +2 -2
- package/dist/Upload-BLKrxNpk.js +2519 -0
- package/dist/Upload-Dy80NqjS.js +67 -0
- package/dist/{UploadApi-Bs507D0w.js → UploadApi-Cjo168Xz.js} +3 -3
- package/dist/{Year-DKxOQNyS.js → Year-DxuRORBQ.js} +1 -1
- package/dist/main-CsvsIylY.js +28890 -0
- package/dist/main.js +110 -104
- package/dist/style.css +1 -1
- package/dist/vendor-@monaco-editor-B50UdwzE.js +92 -0
- package/dist/{vendor-clipboard-DjQPoCBJ.js → vendor-clipboard-BqjesuiY.js} +130 -110
- package/dist/vendor-clone-BPtCWdXG.js +134 -0
- package/dist/vendor-crypto-js-YOeWQTUw.js +4997 -0
- package/dist/vendor-file-saver-CytTIJ-3.js +74 -0
- package/dist/{vendor-intro.js-DwWqhM1v.js → vendor-intro.js-CZkClzQO.js} +1 -1
- package/dist/vendor-moment-h96o7c8I.js +2578 -0
- package/dist/vendor-sprintf-js-BPTdvBYM.js +148 -0
- package/dist/vendor-state-local-CEworIRt.js +131 -0
- package/dist/vendor-underscore-D6LmOFb9.js +1067 -0
- package/dist/vendor-underscore.string-BEHfJwHl.js +425 -0
- package/dist/vendor-util-deprecate-DzpNkCzj.js +28 -0
- 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/controls/Text.vue.d.ts +1 -1
- package/esm/coms/globals/HaMenu.vue.d.ts +1 -1
- package/esm/coms/globals/HaWindow.vue.d.ts +1 -1
- 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 +3 -3
- 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 +3 -3
- package/esm/coms/pagings/Article.vue.d.ts +3 -3
- package/esm/coms/pagings/Code.vue.d.ts +1 -1
- package/esm/coms/pagings/DataExport.vue.d.ts +2 -2
- package/esm/coms/pagings/DataImport.vue.d.ts +2 -2
- package/esm/coms/pagings/File.vue.d.ts +1 -1
- package/esm/coms/pagings/Index.vue.d.ts +3 -3
- package/esm/coms/pagings/SearchFooter.vue.d.ts +1 -1
- package/esm/coms/pagings/Table.vue.d.ts +3 -3
- 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 +7 -5
- 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 +6 -8
- package/dist/Code-BdK547kD.js +0 -4
- package/dist/Column-DVjYrrr7.js +0 -67
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-DgzKdC2g.js +0 -170
- package/dist/Delete-BY3vAVWa.js +0 -55
- package/dist/Index-B_a_HzsB.js +0 -4
- package/dist/Index-Cx2J_P37.js +0 -4
- package/dist/List-BjdY1rMk.js +0 -72
- package/dist/Maintaince-DzYzyrAc.js +0 -15
- package/dist/Paging-BMPtLi8P.js +0 -90
- package/dist/RichText-BeK3zZam.js +0 -101
- package/dist/Text-DSXRKFPa.js +0 -4
- package/dist/Tree-CLpCeirT.js +0 -117
- package/dist/Upload-DvWyjK3a.js +0 -143
- package/dist/Upload-SEu1V1yX.js +0 -67
- package/dist/main-QtNG6p7a.js +0 -16673
- package/dist/vendor-pinia-yrN6kSxh.js +0 -861
- package/dist/vendor-vue-demi-CIhrFbpB.js +0 -17
@@ -1,7 +1,7 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import {
|
1
|
+
import { defineComponent as I, toRefs as J, ref as p, onMounted as K, nextTick as P, computed as j, watch as Q, resolveComponent as m, openBlock as r, createBlock as i, withCtx as n, unref as a, withModifiers as X, createElementBlock as v, Fragment as g, renderList as y, createVNode as x, createTextVNode as B, toDisplayString as Y, createCommentVNode as Z } from "vue";
|
2
|
+
import { a as ee, s as D } from "./main-CsvsIylY.js";
|
3
3
|
import { _ as te } from "./Index.vue_vue_type_script_setup_true_lang-B-sM48XO.js";
|
4
|
-
const oe = /* @__PURE__ */
|
4
|
+
const oe = /* @__PURE__ */ I({
|
5
5
|
__name: "SearchForm",
|
6
6
|
props: {
|
7
7
|
schema: { type: Array, required: !0 },
|
@@ -11,15 +11,15 @@ const oe = /* @__PURE__ */ H({
|
|
11
11
|
},
|
12
12
|
emits: ["change", "submit", "mounted"],
|
13
13
|
setup(M, { expose: N, emit: T }) {
|
14
|
-
let w = T, W = M, { schema:
|
14
|
+
let w = T, W = M, { schema: F, table: u, layout: C, searchData: b } = J(W), V = p(), k = p(), E = p(), d = p(), L = (e) => {
|
15
15
|
w("change", e);
|
16
|
-
},
|
16
|
+
}, S = (e = null) => {
|
17
17
|
w("submit");
|
18
18
|
}, U = (e, t) => {
|
19
19
|
let l = e == "*" ? null : e;
|
20
|
-
b.value[u.value.name][t.name] = l,
|
20
|
+
b.value[u.value.name][t.name] = l, S();
|
21
21
|
}, R = () => {
|
22
|
-
|
22
|
+
V.value && (k.value = V.value.$el.clientWidth);
|
23
23
|
}, $ = (e) => {
|
24
24
|
R();
|
25
25
|
}, q = () => {
|
@@ -30,15 +30,15 @@ const oe = /* @__PURE__ */ H({
|
|
30
30
|
d.value[u.value.name][l] || (d.value[u.value.name][l] = "*");
|
31
31
|
}
|
32
32
|
};
|
33
|
-
d.value = ee.clone(b.value), q(),
|
33
|
+
d.value = ee.clone(b.value), q(), K(() => {
|
34
34
|
R(), P(() => {
|
35
35
|
w("mounted");
|
36
36
|
});
|
37
37
|
});
|
38
38
|
let z = j(() => {
|
39
|
-
if (!
|
39
|
+
if (!k.value)
|
40
40
|
return [];
|
41
|
-
let e = Math.ceil(
|
41
|
+
let e = Math.ceil(k.value / 200), t = D.expandSearch(F.value), l = C.value.tabs ?? [], c = t.filter((f) => l.indexOf(f.name) == -1);
|
42
42
|
return D.getLines(c, e, (f) => f, () => 1);
|
43
43
|
}), O = j(() => {
|
44
44
|
let e = [], t = C.value.tabs;
|
@@ -50,16 +50,16 @@ const oe = /* @__PURE__ */ H({
|
|
50
50
|
return Q(() => b.value, (e, t) => {
|
51
51
|
q();
|
52
52
|
}), N({ resize: $ }), (e, t) => {
|
53
|
-
const l = m("el-radio-button"), c = m("el-radio-group"), _ = m("el-form-item"), f = m("el-col"), A = m("el-row"),
|
54
|
-
return r(), i(
|
53
|
+
const l = m("el-radio-button"), c = m("el-radio-group"), _ = m("el-form-item"), f = m("el-col"), A = m("el-row"), G = m("el-form"), H = m("el-scrollbar");
|
54
|
+
return r(), i(H, {
|
55
55
|
"max-height": "200px",
|
56
56
|
class: "search-form"
|
57
57
|
}, {
|
58
58
|
default: n(() => [
|
59
|
-
a(u).search.length > 0 ? (r(), i(
|
59
|
+
a(u).search.length > 0 ? (r(), i(G, {
|
60
60
|
key: 0,
|
61
61
|
ref_key: "searchFormRef",
|
62
|
-
ref:
|
62
|
+
ref: V,
|
63
63
|
"label-position": "left",
|
64
64
|
inline: "",
|
65
65
|
onSubmit: t[0] || (t[0] = X(() => {
|
@@ -115,12 +115,12 @@ const oe = /* @__PURE__ */ H({
|
|
115
115
|
}, {
|
116
116
|
default: n(() => [
|
117
117
|
x(te, {
|
118
|
-
schema: a(
|
118
|
+
schema: a(F),
|
119
119
|
table: h.table,
|
120
120
|
field: h,
|
121
121
|
"search-data": a(b),
|
122
122
|
onChange: a(L),
|
123
|
-
onSubmit: a(
|
123
|
+
onSubmit: a(S)
|
124
124
|
}, null, 8, ["schema", "table", "field", "search-data", "onChange", "onSubmit"])
|
125
125
|
]),
|
126
126
|
_: 2
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import {
|
1
|
+
import { defineComponent as T, toRefs as A, ref as f, computed as D, resolveComponent as _, openBlock as c, createBlock as y, unref as u, withKeys as O, withModifiers as U, isRef as $, withCtx as V, createElementBlock as k, Fragment as q, renderList as z, createElementVNode as G, toDisplayString as w, createCommentVNode as H, nextTick as I } from "vue";
|
2
|
+
import { L as J, f as P, N as Q } from "./main-CsvsIylY.js";
|
3
3
|
const W = { class: "option-text" }, X = {
|
4
4
|
key: 0,
|
5
5
|
class: "option-suffix"
|
6
|
-
}, ee = /* @__PURE__ */
|
6
|
+
}, ee = /* @__PURE__ */ T({
|
7
7
|
__name: "Select",
|
8
8
|
props: {
|
9
9
|
schema: {},
|
@@ -15,7 +15,7 @@ const W = { class: "option-text" }, X = {
|
|
15
15
|
},
|
16
16
|
emits: ["submit", "change", "update:modelValue"],
|
17
17
|
setup(C, { emit: E }) {
|
18
|
-
let s = E, B = C, { schema: S, field: n, table: m, set: h, row: R, modelValue: p } =
|
18
|
+
let s = E, B = C, { schema: S, field: n, table: m, set: h, row: R, modelValue: p } = A(B), x = f(), g = f(), v = f(!1), d = f(n.value.control.data.data), N = (t) => {
|
19
19
|
t == "" && (t = null);
|
20
20
|
let e;
|
21
21
|
if (J.isString(t) && n.value.control.multiple ? e = t.join(",") : e = t, r.value = e, n.value.control.text) {
|
@@ -27,7 +27,7 @@ const W = { class: "option-text" }, X = {
|
|
27
27
|
b(m.value, n.value), s("change", t);
|
28
28
|
}, K = () => {
|
29
29
|
s("submit");
|
30
|
-
},
|
30
|
+
}, j = () => {
|
31
31
|
}, F = () => {
|
32
32
|
v.value = !0;
|
33
33
|
let t = { text: g.value, conditions: [] };
|
@@ -42,9 +42,9 @@ const W = { class: "option-text" }, X = {
|
|
42
42
|
x.value.scrollToOption(e);
|
43
43
|
});
|
44
44
|
});
|
45
|
-
},
|
45
|
+
}, L = (t) => {
|
46
46
|
g.value = t, F();
|
47
|
-
},
|
47
|
+
}, M = (t, e) => {
|
48
48
|
let a = [];
|
49
49
|
return S.value.forEach((o) => {
|
50
50
|
o.fields.forEach((l) => {
|
@@ -54,10 +54,10 @@ const W = { class: "option-text" }, X = {
|
|
54
54
|
});
|
55
55
|
}), a;
|
56
56
|
}, b = (t, e) => {
|
57
|
-
|
57
|
+
M(t, e).forEach((o) => {
|
58
58
|
P.setRowsValue(null, h.value, o.table, o.field), b(o.table, o.field);
|
59
59
|
});
|
60
|
-
}, r =
|
60
|
+
}, r = D({
|
61
61
|
get() {
|
62
62
|
return n.value.control.multiple ? p.value == null ? [] : p.value.toString().split(",") : p.value;
|
63
63
|
},
|
@@ -79,12 +79,12 @@ const W = { class: "option-text" }, X = {
|
|
79
79
|
clearable: "",
|
80
80
|
placeholder: t.t_field_choose_placeholder(u(m).name, u(n).name),
|
81
81
|
multiple: u(n).control.multiple,
|
82
|
-
"remote-method": u(
|
82
|
+
"remote-method": u(L),
|
83
83
|
loading: u(v),
|
84
84
|
disabled: u(n).control.readonly,
|
85
85
|
onKeyup: O(U(u(K), ["alt"]), ["enter", "native"]),
|
86
|
-
onBlur: u(
|
87
|
-
onChange: u(
|
86
|
+
onBlur: u(j),
|
87
|
+
onChange: u(N),
|
88
88
|
modelValue: u(r),
|
89
89
|
"onUpdate:modelValue": e[0] || (e[0] = (l) => $(r) ? r.value = l : r = l)
|
90
90
|
}, {
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { defineComponent as K, toRefs as
|
2
|
-
import {
|
1
|
+
import { defineComponent as K, toRefs as N, ref as d, computed as R, resolveComponent as c, openBlock as s, createBlock as f, unref as l, withKeys as S, withModifiers as M, isRef as F, withCtx as p, createElementBlock as h, Fragment as L, renderList as U, createElementVNode as j, toDisplayString as v, createCommentVNode as q } from "vue";
|
2
|
+
import { N as z } from "./main-CsvsIylY.js";
|
3
3
|
const A = { class: "option-text" }, G = {
|
4
4
|
key: 0,
|
5
5
|
class: "option-suffix"
|
@@ -14,7 +14,7 @@ const A = { class: "option-text" }, G = {
|
|
14
14
|
},
|
15
15
|
emits: ["change", "submit", "update:modelValue"],
|
16
16
|
setup(_, { emit: x }) {
|
17
|
-
let r = x, b = _, { schema: H, table: g, field: a, searchData: y, modelValue: V } =
|
17
|
+
let r = x, b = _, { schema: H, table: g, field: a, searchData: y, modelValue: V } = N(b), k = d(!1), i = d(), m = d(a.value.control.data.data), C = () => {
|
18
18
|
r("submit");
|
19
19
|
}, w = () => {
|
20
20
|
}, B = (t) => {
|
@@ -29,7 +29,7 @@ const A = { class: "option-text" }, G = {
|
|
29
29
|
}).finally(() => {
|
30
30
|
k.value = !1;
|
31
31
|
});
|
32
|
-
}, n =
|
32
|
+
}, n = R({
|
33
33
|
get() {
|
34
34
|
return V.value;
|
35
35
|
},
|
@@ -52,19 +52,19 @@ const A = { class: "option-text" }, G = {
|
|
52
52
|
"loading-text": "加载中",
|
53
53
|
"remote-method": l(B),
|
54
54
|
disabled: l(a).control.readonly,
|
55
|
-
onKeyup: M(
|
55
|
+
onKeyup: S(M(l(C), ["alt"]), ["enter", "native"]),
|
56
56
|
onChange: l(w),
|
57
57
|
modelValue: l(n),
|
58
|
-
"onUpdate:modelValue": o[0] || (o[0] = (e) =>
|
58
|
+
"onUpdate:modelValue": o[0] || (o[0] = (e) => F(n) ? n.value = e : n = e)
|
59
59
|
}, {
|
60
60
|
default: p(() => [
|
61
|
-
(s(!0), h(
|
61
|
+
(s(!0), h(L, null, U(l(m), (e, I) => (s(), f(u, {
|
62
62
|
label: e.text + (e.suffix ? "(" + e.suffix + ")" : ""),
|
63
63
|
value: e.value,
|
64
64
|
key: e.value
|
65
65
|
}, {
|
66
66
|
default: p(() => [
|
67
|
-
|
67
|
+
j("span", A, v(e.text), 1),
|
68
68
|
e.suffix ? (s(), h("span", G, "(" + v(e.suffix) + ")", 1)) : q("", !0)
|
69
69
|
]),
|
70
70
|
_: 2
|
@@ -10,7 +10,7 @@ const x = /* @__PURE__ */ u({
|
|
10
10
|
modelValue: { type: [String, Number, Boolean] }
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let r = f(() => import("./Dictionary-
|
13
|
+
let r = f(() => import("./Dictionary-BgfQMBi8.js")), n = a, { schema: m, table: s, field: d, set: i, row: p, modelValue: l } = c(n);
|
14
14
|
return (_, t) => (b(), V(e(r), {
|
15
15
|
schema: e(m),
|
16
16
|
table: e(s),
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import {
|
3
|
-
import { _ as Ge } from "./Index.vue_vue_type_style_index_0_lang-
|
4
|
-
import { _ as re } from "./Index.vue_vue_type_script_setup_true_lang-
|
5
|
-
const He = { class: "ha-main-form" },
|
6
|
-
|
7
|
-
],
|
1
|
+
import { defineComponent as Ue, toRefs as Be, ref as u, computed as Y, watch as De, resolveComponent as f, openBlock as d, createElementBlock as j, normalizeClass as Le, unref as e, createElementVNode as m, createVNode as h, withCtx as s, withModifiers as Ne, createBlock as g, isRef as Z, Fragment as ee, renderList as le, toDisplayString as S, createCommentVNode as B, resolveDynamicComponent as Pe, normalizeStyle as qe, createTextVNode as te, nextTick as ae } from "vue";
|
2
|
+
import { c as Ke, $ as K, _ as Fe, i as Me, a as Oe, N as je, w as oe, p as Ae, s as ue } from "./main-CsvsIylY.js";
|
3
|
+
import { _ as Ge } from "./Index.vue_vue_type_style_index_0_lang-QhW1-B80.js";
|
4
|
+
import { _ as re } from "./Index.vue_vue_type_script_setup_true_lang-DMLN7fuC.js";
|
5
|
+
const He = { class: "ha-main-form" }, Ie = { class: "row-header" }, Je = { class: "row-title" }, Qe = /* @__PURE__ */ m("i", { class: "fa fa-close" }, null, -1), We = [
|
6
|
+
Qe
|
7
|
+
], Xe = /* @__PURE__ */ m("i", { class: "fa fa-question-circle icon-question" }, null, -1), Ye = { class: "el-drawer__title" }, Ze = ["href"], ul = /* @__PURE__ */ Ue({
|
8
8
|
__name: "Single",
|
9
9
|
props: {
|
10
10
|
base: {},
|
@@ -13,68 +13,68 @@ const He = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
|
|
13
13
|
},
|
14
14
|
emits: ["navigate", "load", "succeed", "close"],
|
15
15
|
setup(ne, { expose: se, emit: ie }) {
|
16
|
-
let D = ie, de = ne, { url: me, base:
|
17
|
-
let t =
|
16
|
+
let D = ie, de = ne, { url: me, base: A, route: z } = Be(de), p = u(), b = u(), v = u(), r = u(), y = u(), L = u(), c = u({ table: null, layout: null }), w = u(), N = u([]), ve = u(), E = u(), x = u(), F = u(), C = u(), P = u(), { t_module: ce, t_table: fe } = Me, i = u({ page: null, url: null, visible: !1, appendToBody: !1 }), k = u(!1), M = u(), R = u(), pe = (l) => !0, be = (l) => {
|
17
|
+
let t = K.getPath(me.value), a = K.getPath(l);
|
18
18
|
return t != a;
|
19
|
-
},
|
20
|
-
|
19
|
+
}, ye = () => {
|
20
|
+
ze();
|
21
|
+
}, _e = (l, t) => {
|
22
|
+
G("copy", l, t);
|
21
23
|
}, he = (l, t) => {
|
22
|
-
|
23
|
-
}, ge = (
|
24
|
-
A("update", l, t);
|
25
|
-
}, we = () => {
|
24
|
+
G("update", l, t);
|
25
|
+
}, ge = () => {
|
26
26
|
i.value.visible = !1;
|
27
|
-
},
|
28
|
-
let n =
|
27
|
+
}, G = (l, t, a) => {
|
28
|
+
let n = we(l, t);
|
29
29
|
a.ctrlKey ? D("navigate", n) : (i.value.appendToBody = a.altKey, i.value.page = l, i.value.url = n, i.value.visible = !0);
|
30
|
-
},
|
30
|
+
}, we = (l, t = null) => {
|
31
31
|
let a = `${b.value[l].route}`;
|
32
32
|
if (t != null) {
|
33
33
|
let n = t[y.value.key.name];
|
34
34
|
a += `?id=${n}`;
|
35
35
|
}
|
36
36
|
return a;
|
37
|
-
},
|
38
|
-
(a.ctrlKey || k.value) && (
|
37
|
+
}, Ce = (l, t, a) => {
|
38
|
+
(a.ctrlKey || k.value) && (M.value = l, R.value = Oe.clone(t), k.value = !0, R.value.fields.forEach((n) => {
|
39
39
|
n.control.textualize = !1;
|
40
40
|
}));
|
41
|
-
},
|
41
|
+
}, H = (l) => {
|
42
42
|
i.value.visible = !1, D("succeed", W.value, l);
|
43
|
-
},
|
43
|
+
}, ke = () => {
|
44
44
|
D("close");
|
45
|
-
},
|
45
|
+
}, I = (l, t, a, n, T) => {
|
46
46
|
}, J = (l, t) => {
|
47
47
|
if (t) {
|
48
48
|
L.value = y.value.layouts.find((a) => a.type == l);
|
49
49
|
return;
|
50
50
|
}
|
51
51
|
c.value.layout = c.value.table.layouts.find((a) => a.type == l);
|
52
|
-
},
|
52
|
+
}, Se = (l) => {
|
53
53
|
let t = r.value.find((a) => a.name == l);
|
54
54
|
c.value.table = t, c.value.layout = t.layouts[0];
|
55
|
-
},
|
55
|
+
}, xe = (l) => {
|
56
56
|
let t = Object.keys(l)[0], a = t.substring(1, t.indexOf("]"));
|
57
57
|
r.value.find((T) => T.name == a).main || (w.value = a);
|
58
|
-
},
|
58
|
+
}, Re = (l, t = null, a = null) => {
|
59
59
|
ae(() => {
|
60
60
|
E.value.validate((n, T) => {
|
61
61
|
if (!n)
|
62
|
-
return
|
62
|
+
return xe(T), a && a(!1), !1;
|
63
63
|
let $ = p.value.type == "Update" ? b.value.update.route : b.value.insert.route;
|
64
|
-
t && t($, v.value),
|
65
|
-
E.value.clearValidate(), oe.success(V),
|
64
|
+
t && t($, v.value), je.post($, v.value).then(({ data: U, message: V }) => {
|
65
|
+
E.value.clearValidate(), oe.success(V), H(v.value);
|
66
66
|
}).catch(({ code: U, data: V, message: X }) => {
|
67
67
|
if (U != "ValidateError")
|
68
68
|
return;
|
69
|
-
|
70
|
-
let
|
71
|
-
if (
|
72
|
-
let _ = r.value.find((o) => o.name ==
|
69
|
+
N.value = V;
|
70
|
+
let q = V.find((_) => _.table !== y.value.name);
|
71
|
+
if (q) {
|
72
|
+
let _ = r.value.find((o) => o.name == q.table);
|
73
73
|
_ && (w.value = _.name);
|
74
74
|
}
|
75
75
|
ae(() => {
|
76
76
|
E.value.clearValidate(), E.value.validate((_, o) => {
|
77
|
-
_ || (a && a(!1),
|
77
|
+
_ || (a && a(!1), N.value = []);
|
78
78
|
});
|
79
79
|
});
|
80
80
|
}).finally(() => {
|
@@ -86,44 +86,44 @@ const He = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
|
|
86
86
|
var a, n;
|
87
87
|
let t = ce(l.module.type, l.module.name);
|
88
88
|
Ae.setTitle(t, l.module.env), p.value = l.module, b.value = l.next, v.value = ue.expandSet(l.schema, l.set), r.value = ue.expandSchema(l.schema), y.value = (a = r.value) == null ? void 0 : a[0], L.value = y.value.layouts[0], ((n = r.value) == null ? void 0 : n.length) > 1 && (w.value = r.value[1].name, c.value.table = r.value[1], c.value.layout = r.value[1].layouts[0]);
|
89
|
-
},
|
89
|
+
}, Te = (l) => {
|
90
90
|
x.value && x.value.resize && x.value.resize(l), C.value && C.value.resize && C.value.resize(l);
|
91
|
-
},
|
91
|
+
}, Ve = (l, t) => {
|
92
92
|
if (l == "ctrlS") {
|
93
93
|
if (p.value.type == "Detail") {
|
94
|
-
if (!
|
94
|
+
if (!P.value || !P.value.keyboard)
|
95
95
|
return !1;
|
96
|
-
|
96
|
+
P.value.keyboard(l, t);
|
97
97
|
return;
|
98
98
|
}
|
99
|
-
|
99
|
+
O(t);
|
100
100
|
}
|
101
|
-
},
|
102
|
-
let l =
|
101
|
+
}, ze = () => {
|
102
|
+
let l = K.getUrl(z.value.path, z.value.query);
|
103
103
|
D("load", l, !1, (t) => {
|
104
104
|
});
|
105
105
|
};
|
106
106
|
(() => {
|
107
|
-
Q(
|
107
|
+
Q(A.value.data);
|
108
108
|
})();
|
109
|
-
let
|
110
|
-
if (!
|
109
|
+
let O = (l) => {
|
110
|
+
if (!F.value.submit) {
|
111
111
|
oe.notify("提示", "请在子组件暴露submit方法来实现快捷提交", "warning");
|
112
112
|
return;
|
113
113
|
}
|
114
|
-
|
115
|
-
},
|
114
|
+
F.value.submit(l);
|
115
|
+
}, Ee = Y(() => {
|
116
116
|
let l = `/${y.value.name}/update`, t = p.value.type == "Detail" ? "detail" : "update";
|
117
|
-
return
|
117
|
+
return Ke.getComponent(l, "partial", t);
|
118
118
|
}), W = Y(() => p.value.type.toLowerCase());
|
119
|
-
return
|
119
|
+
return De(() => A.value, (l) => {
|
120
120
|
Q(l.data), x.value.update && x.value.update(l.data), C.value && C.value.update && C.value.update(l.data);
|
121
|
-
}), se({ shouldLoad:
|
122
|
-
const a = f("el-tooltip"), n = f("el-tab-pane"), T = f("el-tabs"), $ = f("el-form"), U = f("el-scrollbar"), V = f("el-popover"), X = f("el-form-item"),
|
123
|
-
return d(),
|
121
|
+
}), se({ shouldLoad: pe, shouldSpin: be, keyboard: Ve, refresh: ye, resize: Te }), (l, t) => {
|
122
|
+
const a = f("el-tooltip"), n = f("el-tab-pane"), T = f("el-tabs"), $ = f("el-form"), U = f("el-scrollbar"), V = f("el-popover"), X = f("el-form-item"), q = f("el-card"), _ = f("el-drawer");
|
123
|
+
return d(), j("div", {
|
124
124
|
ref_key: "singleRef",
|
125
125
|
ref: ve,
|
126
|
-
class:
|
126
|
+
class: Le(["ha-single-page", { [e(W) + "-page"]: !0, editing: e(k) }])
|
127
127
|
}, [
|
128
128
|
m("div", He, [
|
129
129
|
h(U, { class: "main-scroller" }, {
|
@@ -132,7 +132,7 @@ const He = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
|
|
132
132
|
ref_key: "formRef",
|
133
133
|
ref: E,
|
134
134
|
model: e(v),
|
135
|
-
onSubmit: t[3] || (t[3] =
|
135
|
+
onSubmit: t[3] || (t[3] = Ne(() => {
|
136
136
|
}, ["prevent"]))
|
137
137
|
}, {
|
138
138
|
default: s(() => [
|
@@ -146,20 +146,20 @@ const He = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
|
|
146
146
|
next: e(b),
|
147
147
|
set: e(v),
|
148
148
|
route: e(z),
|
149
|
-
"validate-errors": e(
|
150
|
-
onChange: e(
|
149
|
+
"validate-errors": e(N),
|
150
|
+
onChange: e(I),
|
151
151
|
onLayoutChange: t[0] || (t[0] = (o) => e(J)(o, !0)),
|
152
|
-
onSubmit: e(
|
152
|
+
onSubmit: e(O)
|
153
153
|
}, null, 8, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onChange", "onSubmit"]),
|
154
154
|
e(r).length > 1 ? (d(), g(T, {
|
155
155
|
key: 0,
|
156
156
|
type: "border-card",
|
157
|
-
onTabChange: e(
|
157
|
+
onTabChange: e(Se),
|
158
158
|
modelValue: e(w),
|
159
159
|
"onUpdate:modelValue": t[1] || (t[1] = (o) => Z(w) ? w.value = o : w = o)
|
160
160
|
}, {
|
161
161
|
default: s(() => [
|
162
|
-
(d(!0),
|
162
|
+
(d(!0), j(ee, null, le(e(r).filter((o, $e) => $e > 0), (o) => (d(), g(n, {
|
163
163
|
name: o.name,
|
164
164
|
key: o.name
|
165
165
|
}, {
|
@@ -191,11 +191,11 @@ const He = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
|
|
191
191
|
next: e(b),
|
192
192
|
set: e(v),
|
193
193
|
route: e(z),
|
194
|
-
"validate-errors": e(
|
195
|
-
onRowEdit: e(
|
196
|
-
onChange: e(
|
194
|
+
"validate-errors": e(N),
|
195
|
+
onRowEdit: e(Ce),
|
196
|
+
onChange: e(I),
|
197
197
|
onLayoutChange: t[2] || (t[2] = (o) => e(J)(o, !1)),
|
198
|
-
onSubmit: e(
|
198
|
+
onSubmit: e(O)
|
199
199
|
}, null, 8, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onRowEdit", "onChange", "onSubmit"])) : B("", !0)
|
200
200
|
]),
|
201
201
|
_: 1
|
@@ -203,9 +203,9 @@ const He = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
|
|
203
203
|
]),
|
204
204
|
_: 1
|
205
205
|
}),
|
206
|
-
(d(), g(
|
206
|
+
(d(), g(Pe(e(Ee)), {
|
207
207
|
ref_key: "updateRef",
|
208
|
-
ref:
|
208
|
+
ref: F,
|
209
209
|
class: "main-footer",
|
210
210
|
schema: e(r),
|
211
211
|
table: e(y),
|
@@ -213,23 +213,23 @@ const He = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
|
|
213
213
|
next: e(b),
|
214
214
|
set: e(v),
|
215
215
|
route: e(z),
|
216
|
-
onCopy: e(
|
217
|
-
onEdit: e(
|
218
|
-
onSubmit: e(
|
219
|
-
onClose: e(
|
216
|
+
onCopy: e(_e),
|
217
|
+
onEdit: e(he),
|
218
|
+
onSubmit: e(Re),
|
219
|
+
onClose: e(ke)
|
220
220
|
}, null, 40, ["schema", "table", "layout", "next", "set", "route", "onCopy", "onEdit", "onSubmit", "onClose"]))
|
221
221
|
]),
|
222
|
-
e(k) ? (d(), g(
|
222
|
+
e(k) ? (d(), g(q, {
|
223
223
|
key: 0,
|
224
224
|
class: "side-form"
|
225
225
|
}, {
|
226
226
|
header: s(() => [
|
227
|
-
m("div",
|
228
|
-
m("div",
|
227
|
+
m("div", Ie, [
|
228
|
+
m("div", Je, S(l.t("common.modify")) + " " + S(e(M)[e(R).show[0].name]), 1),
|
229
229
|
m("div", {
|
230
230
|
class: "row-close",
|
231
231
|
onClick: t[4] || (t[4] = (o) => Z(k) ? k.value = !1 : k = !1)
|
232
|
-
},
|
232
|
+
}, We)
|
233
233
|
])
|
234
234
|
]),
|
235
235
|
default: s(() => [
|
@@ -240,7 +240,7 @@ const He = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
|
|
240
240
|
"label-width": "80px"
|
241
241
|
}, {
|
242
242
|
default: s(() => [
|
243
|
-
(d(!0),
|
243
|
+
(d(!0), j(ee, null, le(e(R).show, (o) => (d(), g(X, {
|
244
244
|
style: qe(o.control.height ? `height: ${o.control.height}px;` : ""),
|
245
245
|
rules: o.rules
|
246
246
|
}, {
|
@@ -254,7 +254,7 @@ const He = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
|
|
254
254
|
title: o.control.tooltip.title
|
255
255
|
}, {
|
256
256
|
reference: s(() => [
|
257
|
-
|
257
|
+
Xe
|
258
258
|
]),
|
259
259
|
default: s(() => [
|
260
260
|
m("pre", null, S(o.control.tooltip.content), 1)
|
@@ -268,7 +268,7 @@ const He = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
|
|
268
268
|
table: e(R),
|
269
269
|
field: o,
|
270
270
|
set: e(v),
|
271
|
-
row: e(
|
271
|
+
row: e(M)
|
272
272
|
}, null, 8, ["schema", "table", "field", "set", "row"])
|
273
273
|
]),
|
274
274
|
_: 2
|
@@ -291,21 +291,21 @@ const He = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
|
|
291
291
|
"onUpdate:modelValue": t[5] || (t[5] = (o) => e(i).visible = o)
|
292
292
|
}, {
|
293
293
|
header: s(() => [
|
294
|
-
m("div",
|
294
|
+
m("div", Ye, [
|
295
295
|
te(S(e(b)[e(i).page].title) + " ", 1),
|
296
296
|
m("a", {
|
297
297
|
class: "drawer-copy",
|
298
|
-
href: `${e(
|
299
|
-
}, S(l.t("common.link")), 9,
|
298
|
+
href: `${e(K).getToUrl(e(i).url)}`
|
299
|
+
}, S(l.t("common.link")), 9, Ze)
|
300
300
|
])
|
301
301
|
]),
|
302
302
|
default: s(() => [
|
303
|
-
h(e(
|
303
|
+
h(e(Fe), {
|
304
304
|
ref_key: "pageRef",
|
305
|
-
ref:
|
305
|
+
ref: P,
|
306
306
|
url: e(i).url,
|
307
|
-
onSucceed: e(
|
308
|
-
onClose: e(
|
307
|
+
onSucceed: e(H),
|
308
|
+
onClose: e(ge)
|
309
309
|
}, null, 8, ["url", "onSucceed", "onClose"])
|
310
310
|
]),
|
311
311
|
_: 1
|
@@ -315,5 +315,5 @@ const He = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
|
|
315
315
|
}
|
316
316
|
});
|
317
317
|
export {
|
318
|
-
|
318
|
+
ul as default
|
319
319
|
};
|