halo-pc 1.0.6 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Article-CiVdO1Ui.js +192 -0
- package/dist/Autocomplete-DSE7qXaY.js +48 -0
- package/dist/{Autocomplete-A0m1RW7z.js → Autocomplete-TVE3ZXGj.js} +1 -1
- package/dist/Autocomplete-gwIpU0Ap.js +49 -0
- package/dist/{CSharp-Bwl97exE.js → CSharp-ZvsrI2tS.js} +1 -1
- package/dist/{Calender-C3vbVYIN.js → Calender-BN1Qici-.js} +2 -2
- package/dist/Callback-C5vXOse3.js +20 -0
- package/dist/Cascader-DIwiaPq_.js +80 -0
- package/dist/Cascader-DhcIQmz0.js +41 -0
- package/dist/{Checkbox-BJS0a1NT.js → Checkbox-DPVFKvtd.js} +1 -1
- package/dist/{Code-9I77CMRV.js → Code-C-Xxwb29.js} +1 -1
- package/dist/{Code-B2DrYXDa.js → Code-EMhF8em7.js} +18 -22
- package/dist/Code-MpN64VDz.js +4 -0
- package/dist/Code-rSRVyC9T.js +36 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-P0TnGKPx.js +59 -0
- package/dist/Column-CjVMWBjC.js +67 -0
- package/dist/Comment-CakkgoNi.js +98 -0
- package/dist/Compare-C7v4kOpE.js +26 -0
- package/dist/Compare-fM9jPPuu.js +56 -0
- package/dist/Copy-CYEJ22tk.js +43 -0
- package/dist/Custom-Cig2xWvf.js +47 -0
- package/dist/{DataExport-BHh7NvbT.js → DataExport-D6d04miG.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-C9t5j7Gi.js → DataExport.vue_vue_type_script_setup_true_lang-B0lK_clm.js} +35 -39
- package/dist/{DataImport-CtBsCyNb.js → DataImport-CceWCzes.js} +1 -1
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-5qkPOt4L.js +172 -0
- package/dist/{Date-IV1FwqTW.js → Date-Ddu6Um1a.js} +1 -1
- package/dist/{DateRange-IWmDLSuy.js → DateRange-DLCMlMSG.js} +10 -14
- package/dist/{DateTime-Di6sr-tq.js → DateTime-Bdvr9_wj.js} +1 -1
- package/dist/{DateTimeRange-BNUGYgWf.js → DateTimeRange-DPWqS1Es.js} +10 -14
- package/dist/{Daterange-rrlMT4tD.js → Daterange-D_JOuZ8Z.js} +14 -18
- package/dist/{Decimal-D9TVQqyS.js → Decimal-D4atkIK7.js} +1 -1
- package/dist/Delete-gFaS3kE9.js +55 -0
- package/dist/{Detail-HAblGKTY.js → Detail-B5FvVxu9.js} +16 -20
- package/dist/Dictionary-Ce3GwIP_.js +55 -0
- package/dist/{File-MF1QgEQX.js → File-B2lndVjU.js} +55 -59
- package/dist/Image-CrvP5qms.js +9 -0
- package/dist/{Index-XBFHPLbK.js → Index-BQHiLvTh.js} +1 -1
- package/dist/Index-BRmnOaBf.js +4 -0
- package/dist/{Index-C_mfWEwr.js → Index-BaLKJJ75.js} +1 -1
- package/dist/Index-BbbIu4pT.js +168 -0
- package/dist/{Index-7cTFT9Xb.js → Index-CNiNRbjO.js} +15 -19
- package/dist/Index-DMei5mlA.js +4 -0
- package/dist/{Index-hgpg_5ma.js → Index-DNZBSOK6.js} +1 -1
- package/dist/{Index.vue_vue_type_script_setup_true_lang-yOf2ubuo.js → Index.vue_vue_type_script_setup_true_lang-BYIvYRlg.js} +14 -18
- package/dist/{Index.vue_vue_type_script_setup_true_lang-C1Bw7evJ.js → Index.vue_vue_type_script_setup_true_lang-uoFDX1Of.js} +13 -17
- package/dist/{Index.vue_vue_type_style_index_0_lang-DBERwM_v.js → Index.vue_vue_type_style_index_0_lang-DiU6tUKL.js} +27 -31
- package/dist/{Install-A9qs4Vg-.js → Install-D1bxQmez.js} +17 -21
- package/dist/{Int-B3L54Gcc.js → Int-BaGIs_nk.js} +12 -16
- package/dist/List-BjQi_wnf.js +72 -0
- package/dist/Maintaince-fou9nONX.js +14 -0
- package/dist/{Markdown-wcGRlabe.js → Markdown-Ceg9Ms5R.js} +1 -1
- package/dist/{Month-C1tCQKvO.js → Month-CfB3ZFt4.js} +1 -1
- package/dist/{Normal-HoU_elKy.js → Normal-DaCn1qBW.js} +81 -85
- package/dist/Paging-C5q8jJUU.js +93 -0
- package/dist/QueryApi-DjT4dEyX.js +13 -0
- package/dist/{Racebar-BXuP1N9F.js → Racebar-DBFWFMO-.js} +40 -44
- package/dist/{Radio-D6W9guyM.js → Radio-CJyl__ew.js} +1 -1
- package/dist/Register-IVPcpL6f.js +196 -0
- package/dist/RichText-D_JQUWM1.js +41 -0
- package/dist/{SearchFooter-D3-9GTr1.js → SearchFooter-DEoLMe9k.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-DP32ZjvQ.js → SearchFooter.vue_vue_type_style_index_0_lang-D1PYRAiE.js} +20 -20
- package/dist/{SearchForm-rWozLa4B.js → SearchForm-BHHmYaCS.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-F2we6KP-.js → SearchForm.vue_vue_type_style_index_0_lang-BtNkB6f0.js} +26 -30
- package/dist/{Select-qCdhL7vC.js → Select-C2FBbD52.js} +1 -1
- package/dist/{Select-64nQiHNA.js → Select-Cz2uCsb-.js} +17 -21
- package/dist/{Select-CAmBUDp3.js → Select-DM1c8XBr.js} +32 -36
- package/dist/{Single-Bnrt5Hxb.js → Single-B63Zrug-.js} +110 -114
- package/dist/{Statistic-BTbwlH9l.js → Statistic-0yl1BOUE.js} +42 -46
- package/dist/{Stock-Br_02hsI.js → Stock-4iCvNHGj.js} +1 -1
- package/dist/{Stock-DbExd680.js → Stock-DcJZ8DgI.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-MTvhmHlz.js → Stock.vue_vue_type_style_index_0_lang-4d1EpJnq.js} +31 -35
- package/dist/{Switch-J2GIv4Wa.js → Switch-N3gJPSk8.js} +1 -1
- package/dist/{Table-DjBx2UGm.js → Table-Cs56tnaN.js} +107 -113
- package/dist/{Table-X4vTHlpm.js → Table-J3e4-OH2.js} +91 -95
- package/dist/Text-DheLweEH.js +4 -0
- package/dist/Text.vue_vue_type_style_index_0_lang-uMGpVMDs.js +52 -0
- package/dist/TextLink-CSaLrd5t.js +59 -0
- package/dist/{Textarea-Dw_qLc3Y.js → Textarea-B5AXrlWa.js} +1 -1
- package/dist/Timeline-BhPZJNP4.js +53 -0
- package/dist/Tree-BdW8K2i6.js +293 -0
- package/dist/{Tree-CDD2Nd6q.js → Tree-Ctq_fSOd.js} +40 -44
- package/dist/TreeNode-CDItFlDT.js +34 -0
- package/dist/{Update-PffbXMXH.js → Update-K3FS-dz-.js} +13 -17
- package/dist/Upload-C73uEqps.js +67 -0
- package/dist/Upload-DGz1o9dx.js +146 -0
- package/dist/{UploadApi-D2W_aGKA.js → UploadApi-Dy7aGZWx.js} +3 -8
- package/dist/{Year-Dr5ST0Pk.js → Year-CMlo3zsG.js} +1 -1
- package/dist/main-CVY9fyTk.js +28912 -0
- package/dist/main.js +98 -111
- package/dist/style.css +1 -1
- package/dist/{vendor-clipboard-BqjesuiY.js → vendor-clipboard-DjQPoCBJ.js} +110 -130
- package/dist/{vendor-intro.js-CZkClzQO.js → vendor-intro.js-DwWqhM1v.js} +1 -1
- package/esm/components/business/HoCondition.vue.d.ts +18 -0
- package/esm/components/business/HoCrud.vue.d.ts +29 -0
- package/esm/components/business/HoDrawer.vue.d.ts +24 -0
- package/esm/components/business/HoDriver.vue.d.ts +52 -0
- package/esm/components/business/HoFeedback.vue.d.ts +8 -0
- package/esm/components/business/HoForm.vue.d.ts +23 -0
- package/esm/components/business/HoSwitch.vue.d.ts +24 -0
- package/esm/components/business/HoWelcome.vue.d.ts +8 -0
- package/esm/components/business/index.d.ts +8 -8
- package/esm/components/controls/Text.vue.d.ts +1 -1
- package/esm/components/index.d.ts +8 -8
- package/esm/components/lists/Tree.vue.d.ts +1 -1
- package/esm/components/lists/index.d.ts +1 -1
- package/esm/components/pages/Single.vue.d.ts +1 -1
- package/esm/components/pagings/Article.vue.d.ts +1 -1
- package/esm/components/pagings/DataExport.vue.d.ts +1 -1
- package/esm/components/pagings/DataImport.vue.d.ts +1 -1
- package/esm/components/pagings/Index.vue.d.ts +4 -4
- package/esm/components/pagings/SearchFooter.vue.d.ts +1 -1
- package/esm/components/pagings/Table.vue.d.ts +3 -3
- package/esm/components/pagings/index.d.ts +1 -1
- package/esm/components/partials/Detail.vue.d.ts +1 -1
- package/esm/components/partials/Update.vue.d.ts +1 -1
- package/esm/components/singles/index.d.ts +1 -1
- package/esm/components/texts/Autocomplete.vue.d.ts +1 -1
- package/esm/components/texts/CSharp.vue.d.ts +1 -1
- package/esm/components/texts/Cascader.vue.d.ts +1 -1
- package/esm/components/texts/Checkbox.vue.d.ts +1 -1
- package/esm/components/texts/Code.vue.d.ts +1 -1
- package/esm/components/texts/Color.vue.d.ts +1 -1
- package/esm/components/texts/Compare.vue.d.ts +1 -1
- package/esm/components/texts/Copy.vue.d.ts +1 -1
- package/esm/components/texts/Date.vue.d.ts +1 -1
- package/esm/components/texts/DateRange.vue.d.ts +1 -1
- package/esm/components/texts/DateTime.vue.d.ts +1 -1
- package/esm/components/texts/Decimal.vue.d.ts +1 -1
- package/esm/components/texts/Dictionary.vue.d.ts +1 -1
- package/esm/components/texts/Email.vue.d.ts +1 -1
- package/esm/components/texts/Index.vue.d.ts +1 -1
- package/esm/components/texts/Int.vue.d.ts +1 -1
- package/esm/components/texts/Markdown.vue.d.ts +1 -1
- package/esm/components/texts/Month.vue.d.ts +1 -1
- package/esm/components/texts/Password.vue.d.ts +1 -1
- package/esm/components/texts/Progress.vue.d.ts +1 -1
- package/esm/components/texts/Radio.vue.d.ts +1 -1
- package/esm/components/texts/Rate.vue.d.ts +1 -1
- package/esm/components/texts/RichText.vue.d.ts +1 -1
- package/esm/components/texts/Select.vue.d.ts +1 -1
- package/esm/components/texts/Switch.vue.d.ts +1 -1
- package/esm/components/texts/Text.vue.d.ts +1 -1
- package/esm/components/texts/TextLink.vue.d.ts +1 -1
- package/esm/components/texts/Textarea.vue.d.ts +1 -1
- package/esm/components/texts/Upload.vue.d.ts +1 -1
- package/esm/components/texts/Year.vue.d.ts +1 -1
- package/esm/coms/business/HaCrud.vue.d.ts +7 -5
- package/esm/coms/business/HaDrawer.vue.d.ts +1 -1
- package/esm/coms/business/HaDriver.vue.d.ts +10 -8
- package/esm/coms/business/HaForm.vue.d.ts +7 -5
- package/esm/coms/commons/HaDebug.vue.d.ts +4 -2
- package/esm/coms/commons/HaEditable.vue.d.ts +6 -4
- package/esm/coms/commons/HaLoading.vue.d.ts +6 -4
- package/esm/coms/commons/HaResizer.vue.d.ts +7 -5
- package/esm/coms/commons/HaTable.vue.d.ts +9 -7
- package/esm/coms/commons/HaTableColumn.vue.d.ts +8 -6
- package/esm/coms/controls/Autocomplete.vue.d.ts +1 -1
- package/esm/coms/controls/Cascader.vue.d.ts +1 -1
- package/esm/coms/controls/Checkbox.vue.d.ts +1 -1
- package/esm/coms/controls/Code.vue.d.ts +1 -1
- package/esm/coms/controls/RichText.vue.d.ts +7 -9
- package/esm/coms/controls/Switch.vue.d.ts +2 -2
- package/esm/coms/globals/HaHeaderTab.vue.d.ts +6 -4
- package/esm/coms/globals/HaHeaderTabs.vue.d.ts +6 -4
- package/esm/coms/globals/HaMenu.vue.d.ts +8 -8
- package/esm/coms/globals/HaMenuItem.vue.d.ts +8 -8
- package/esm/coms/globals/HaMissComponent.vue.d.ts +4 -2
- package/esm/coms/globals/HaSideTab.vue.d.ts +6 -4
- package/esm/coms/globals/HaSideTabs.vue.d.ts +6 -4
- package/esm/coms/globals/HaWindow.vue.d.ts +12 -10
- package/esm/coms/lists/Racebar.vue.d.ts +1 -1
- package/esm/coms/lists/Statistic.vue.d.ts +1 -1
- package/esm/coms/lists/Stock.vue.d.ts +1 -1
- package/esm/coms/lists/Timeline.vue.d.ts +1 -1
- package/esm/coms/lists/Tree.vue.d.ts +1 -1
- package/esm/coms/pages/Column.vue.d.ts +1 -1
- package/esm/coms/pages/Custom.vue.d.ts +1 -1
- package/esm/coms/pages/Delete.vue.d.ts +1 -1
- package/esm/coms/pages/List.vue.d.ts +1 -1
- package/esm/coms/pages/Paging.vue.d.ts +1 -1
- package/esm/coms/pages/Single.vue.d.ts +1 -1
- package/esm/coms/pagings/Article.vue.d.ts +1 -1
- package/esm/coms/pagings/Code.vue.d.ts +1 -1
- package/esm/coms/pagings/File.vue.d.ts +1 -1
- package/esm/coms/pagings/Index.vue.d.ts +1 -1
- package/esm/coms/pagings/SearchFooter.vue.d.ts +16 -16
- package/esm/coms/pagings/SearchForm.vue.d.ts +8 -8
- package/esm/coms/pagings/Table.vue.d.ts +1 -1
- package/esm/coms/panels/HaGroup.vue.d.ts +4 -2
- package/esm/coms/panels/HaOperation.vue.d.ts +7 -5
- package/esm/coms/panels/HaPanel.vue.d.ts +9 -7
- package/esm/coms/panels/HaShrink.vue.d.ts +6 -4
- package/esm/coms/singles/Code.vue.d.ts +1 -1
- package/esm/coms/singles/Comment.vue.d.ts +1 -1
- package/esm/coms/singles/Index.vue.d.ts +1 -1
- package/esm/coms/singles/Normal.vue.d.ts +1 -1
- package/esm/coms/singles/Statistic.vue.d.ts +1 -1
- package/esm/coms/singles/Stock.vue.d.ts +1 -1
- package/esm/coms/singles/Table.vue.d.ts +1 -1
- package/esm/coms/singles/Tree.vue.d.ts +1 -1
- package/esm/coms/texts/Copy.vue.d.ts +7 -5
- package/esm/coms/texts/TextLink.vue.d.ts +8 -6
- package/esm/drivers/IDriver.d.ts +10 -0
- package/esm/drivers/cdns/Cdn.d.ts +14 -0
- package/esm/drivers/cdns/CdnFactory.d.ts +11 -0
- package/esm/drivers/cdns/ICdn.d.ts +34 -0
- package/esm/drivers/cdns/implements/BootCdn.d.ts +12 -0
- package/esm/drivers/cdns/implements/JsdelivrCdn.d.ts +13 -0
- package/esm/drivers/cdns/implements/LocalCdn.d.ts +12 -0
- package/esm/drivers/cdns/implements/StaticFileCdn.d.ts +16 -0
- package/esm/drivers/cdns/implements/UnpkgCdn.d.ts +10 -0
- package/esm/drivers/cdns/index.d.ts +0 -0
- package/esm/drivers/driver-helper.d.ts +46 -0
- package/esm/drivers/encoders/Encoder.d.ts +11 -0
- package/esm/drivers/encoders/EncoderFactory.d.ts +16 -0
- package/esm/drivers/encoders/IEncoder.d.ts +22 -0
- package/esm/drivers/encoders/implement/Base64Encoder.d.ts +11 -0
- package/esm/drivers/encoders/index.d.ts +0 -0
- package/esm/drivers/excels/ExcelFactory.d.ts +11 -0
- package/esm/drivers/excels/IExcel.d.ts +18 -0
- package/esm/drivers/excels/implements/XlsxExcel.d.ts +10 -0
- package/esm/drivers/excels/index.d.ts +2 -0
- package/esm/drivers/explainers/Explainer.d.ts +4 -0
- package/esm/drivers/explainers/ExplainerFactory.d.ts +1 -0
- package/esm/drivers/explainers/IExplainer.d.ts +3 -0
- package/esm/drivers/explainers/implement/JsonExplainer.d.ts +4 -0
- package/esm/drivers/explainers/index.d.ts +0 -0
- package/esm/drivers/features/FeatureFactory.d.ts +11 -0
- package/esm/drivers/features/IFeature.d.ts +23 -0
- package/esm/drivers/features/implements/ExpressionFeature.d.ts +12 -0
- package/esm/drivers/features/implements/I18NFeature.d.ts +12 -0
- package/esm/drivers/features/implements/SortFeature.d.ts +13 -0
- package/esm/drivers/features/index.d.ts +2 -0
- package/esm/drivers/hashers/Hasher.d.ts +10 -0
- package/esm/drivers/hashers/HasherFactory.d.ts +13 -0
- package/esm/drivers/hashers/IHasher.d.ts +19 -0
- package/esm/drivers/hashers/implement/Md5Hasher.d.ts +10 -0
- package/esm/drivers/hashers/implement/Sha256Hasher.d.ts +10 -0
- package/esm/drivers/hashers/index.d.ts +2 -0
- package/esm/drivers/index.d.ts +9 -0
- package/esm/drivers/providers/IProvider.d.ts +47 -0
- package/esm/drivers/providers/ProviderFactory.d.ts +11 -0
- package/esm/drivers/providers/implements/IndexedDbProvider.d.ts +55 -0
- package/esm/drivers/providers/index.d.ts +2 -0
- package/esm/drivers/requesters/IRequester.d.ts +20 -0
- package/esm/drivers/requesters/Requester.d.ts +12 -0
- package/esm/drivers/requesters/RequesterFactory.d.ts +18 -0
- package/esm/drivers/requesters/entities/HttpRequest.d.ts +34 -0
- package/esm/drivers/requesters/entities/HttpResponse.d.ts +19 -0
- package/esm/drivers/requesters/implements/DefaultRequester.d.ts +12 -0
- package/esm/drivers/requesters/implements/MkRequester.d.ts +40 -0
- package/esm/drivers/requesters/index.d.ts +5 -0
- package/esm/drivers/signers/ISigner.d.ts +33 -0
- package/esm/drivers/signers/SignerFactory.d.ts +11 -0
- package/esm/drivers/signers/implements/DefaultSigner.d.ts +18 -0
- package/esm/drivers/signers/index.d.ts +2 -0
- package/esm/drivers/ssos/ISso.d.ts +41 -0
- package/esm/drivers/ssos/SsoFactory.d.ts +11 -0
- package/esm/drivers/ssos/implements/AnonymousSso.d.ts +18 -0
- package/esm/drivers/ssos/implements/BearerSso.d.ts +22 -0
- package/esm/drivers/ssos/implements/NioSso.d.ts +23 -0
- package/esm/drivers/ssos/implements/SecretSso.d.ts +18 -0
- package/esm/drivers/ssos/implements/WeiXinSso.d.ts +20 -0
- package/esm/drivers/ssos/index.d.ts +2 -0
- package/esm/main.d.ts +5 -4
- package/esm/plugins/PcMessenger.d.ts +35 -0
- package/esm/plugins/index.d.ts +2 -2
- package/esm/repos/index.d.ts +1 -0
- package/esm/sdks/commons/HaCode.vue.d.ts +40 -0
- package/esm/sdks/commons/HaCol.vue.d.ts +9 -0
- package/esm/sdks/commons/HaCompare.vue.d.ts +40 -0
- package/esm/sdks/commons/HaContainer.vue.d.ts +21 -0
- package/esm/sdks/commons/HaEmpty.vue.d.ts +24 -0
- package/esm/sdks/commons/HaProgress.vue.d.ts +8 -0
- package/esm/sdks/commons/HaRow.vue.d.ts +19 -0
- package/esm/sdks/commons/HaTable.vue.d.ts +1 -1
- package/esm/sdks/commons/HoCaptcha.vue.d.ts +14 -0
- package/esm/sdks/commons/HoCode.vue.d.ts +39 -0
- package/esm/sdks/commons/HoCol.vue.d.ts +9 -0
- package/esm/sdks/commons/HoCompare.vue.d.ts +40 -0
- package/esm/sdks/commons/HoContainer.vue.d.ts +21 -0
- package/esm/sdks/commons/HoDebug.vue.d.ts +9 -0
- package/esm/sdks/commons/HoEditable.vue.d.ts +13 -0
- package/esm/sdks/commons/HoEmpty.vue.d.ts +24 -0
- package/esm/sdks/commons/HoLoading.vue.d.ts +33 -0
- package/esm/sdks/commons/HoMouseContext.vue.d.ts +2 -0
- package/esm/sdks/commons/HoParticles.vue.d.ts +2 -0
- package/esm/sdks/commons/HoProgress.vue.d.ts +8 -0
- package/esm/sdks/commons/HoResizer.vue.d.ts +26 -0
- package/esm/sdks/commons/HoRow.vue.d.ts +19 -0
- package/esm/sdks/commons/HoSpinner.vue.d.ts +20 -0
- package/esm/sdks/commons/HoTable.vue.d.ts +34 -0
- package/esm/sdks/commons/HoTableColumn.vue.d.ts +31 -0
- package/esm/sdks/commons/index.d.ts +59 -1
- package/esm/sdks/globals/HaWindow.vue.d.ts +4 -4
- package/esm/sdks/globals/HoHeaderTab.vue.d.ts +19 -0
- package/esm/sdks/globals/HoHeaderTabs.vue.d.ts +17 -0
- package/esm/sdks/globals/HoMenu.vue.d.ts +77 -0
- package/esm/sdks/globals/HoMenuItem.vue.d.ts +76 -0
- package/esm/sdks/globals/HoMissComponent.vue.d.ts +9 -0
- package/esm/sdks/globals/HoSideTab.vue.d.ts +21 -0
- package/esm/sdks/globals/HoSideTabs.vue.d.ts +17 -0
- package/esm/sdks/globals/HoWindow.vue.d.ts +66 -0
- package/esm/sdks/globals/index.d.ts +0 -4
- package/esm/sdks/helpers/array-helper.d.ts +97 -0
- package/esm/sdks/helpers/component-helper.d.ts +10 -0
- package/esm/sdks/helpers/cookie-helper.d.ts +6 -0
- package/esm/sdks/helpers/dictionary-helper.d.ts +18 -0
- package/esm/sdks/helpers/dom-helper.d.ts +74 -0
- package/esm/sdks/helpers/encrypt-helper.d.ts +18 -0
- package/esm/sdks/helpers/event-helper.d.ts +30 -0
- package/esm/sdks/helpers/file-helper.d.ts +22 -0
- package/esm/sdks/helpers/html-helper.d.ts +10 -0
- package/esm/sdks/helpers/i18n-helper.d.ts +14 -0
- package/esm/sdks/helpers/image-helper.d.ts +10 -0
- package/esm/sdks/helpers/index.d.ts +26 -0
- package/esm/sdks/helpers/json-helper.d.ts +31 -0
- package/esm/sdks/helpers/math-helper.d.ts +42 -0
- package/esm/sdks/helpers/micro-helper.d.ts +10 -0
- package/esm/sdks/helpers/mount-helper.d.ts +14 -0
- package/esm/sdks/helpers/object-helper.d.ts +34 -0
- package/esm/sdks/helpers/script-helper.d.ts +31 -0
- package/esm/sdks/helpers/scroll-helper.d.ts +14 -0
- package/esm/sdks/helpers/sign-helper.d.ts +14 -0
- package/esm/sdks/helpers/storage-helper.d.ts +34 -0
- package/esm/sdks/helpers/string-helper.d.ts +94 -0
- package/esm/sdks/helpers/task-helper.d.ts +26 -0
- package/esm/sdks/helpers/time-helper.d.ts +62 -0
- package/esm/sdks/helpers/tree-helper.d.ts +54 -0
- package/esm/sdks/helpers/type-helper.d.ts +26 -0
- package/esm/sdks/helpers/url-helper.d.ts +96 -0
- package/esm/sdks/index.d.ts +7 -4
- package/esm/sdks/panels/HoGroup.vue.d.ts +9 -0
- package/esm/sdks/panels/HoHeader.vue.d.ts +16 -0
- package/esm/sdks/panels/HoOperation.vue.d.ts +22 -0
- package/esm/sdks/panels/HoPanel.vue.d.ts +30 -0
- package/esm/sdks/panels/HoShrink.vue.d.ts +48 -0
- package/esm/sdks/stores/window.d.ts +25 -0
- package/esm/sdks/thirds/index.d.ts +8 -0
- package/esm/sdks/utilities/AffixUtility.d.ts +9 -0
- package/esm/sdks/utilities/EventUtility.d.ts +30 -0
- package/esm/sdks/utilities/KeyboardUtility.d.ts +73 -0
- package/esm/sdks/utilities/MouseUtility.d.ts +24 -0
- package/esm/sdks/utilities/index.d.ts +4 -0
- package/esm/services/HttpService.d.ts +22 -0
- package/esm/services/MessageService.d.ts +8 -9
- package/esm/services/SettingService.d.ts +5 -0
- package/esm/services/index.d.ts +4 -1
- package/esm/servs/AppServ.d.ts +36 -0
- package/esm/servs/ComponentServ.d.ts +35 -0
- package/esm/servs/ControlServ.d.ts +42 -0
- package/esm/servs/I18nServ.d.ts +79 -0
- package/esm/servs/LayoutServ.d.ts +18 -0
- package/esm/servs/PageServ.d.ts +38 -0
- package/esm/servs/RouterServ.d.ts +23 -0
- package/esm/servs/StandardServ.d.ts +34 -0
- package/esm/servs/UploadServ.d.ts +10 -0
- package/esm/servs/WindowServ.d.ts +27 -0
- package/esm/servs/index.d.ts +17 -0
- package/esm/stores/app.d.ts +44 -0
- package/esm/stores/component.d.ts +30 -0
- package/esm/stores/config.d.ts +55 -0
- package/esm/stores/driver.d.ts +37 -0
- package/esm/stores/i18n.d.ts +67 -0
- package/esm/stores/index.d.ts +7 -2
- package/esm/stores/layout.d.ts +13 -0
- package/esm/stores/log.d.ts +20 -0
- package/esm/stores/router.d.ts +20 -0
- package/esm/stores/setting.d.ts +43 -0
- package/esm/stores/socket.d.ts +27 -0
- package/esm/stores/user.d.ts +40 -0
- package/esm/svcs/AppSvc.d.ts +46 -0
- package/esm/svcs/ComponentSvc.d.ts +35 -0
- package/esm/svcs/ControlSvc.d.ts +42 -0
- package/esm/svcs/I18nSvc.d.ts +79 -0
- package/esm/svcs/LayoutSvc.d.ts +18 -0
- package/esm/svcs/PageSvc.d.ts +38 -0
- package/esm/svcs/RouterSvc.d.ts +23 -0
- package/esm/svcs/StandardSvc.d.ts +34 -0
- package/esm/svcs/UploadSvc.d.ts +10 -0
- package/esm/svcs/WindowSvc.d.ts +27 -0
- package/esm/svcs/index.d.ts +21 -0
- package/package.json +18 -15
- package/dist/Article-BbJTCOkX.js +0 -196
- package/dist/Autocomplete-C3d_yunJ.js +0 -52
- package/dist/Autocomplete-H0_xgWsN.js +0 -53
- package/dist/Callback-oU2ap8v9.js +0 -24
- package/dist/Cascader-ClSabtOx.js +0 -45
- package/dist/Cascader-DRErYyH6.js +0 -84
- package/dist/Code-BgqGTky1.js +0 -40
- package/dist/Code-Cv1pm18C.js +0 -4
- package/dist/Code.vue_vue_type_style_index_0_lang-IHZepbsi.js +0 -63
- package/dist/Column-Dgs0SdWX.js +0 -71
- package/dist/Comment-Cy6lpmqk.js +0 -102
- package/dist/Compare-5cTiHEdo.js +0 -30
- package/dist/Compare-CWeuLw9n.js +0 -60
- package/dist/Copy-C6WEtRhC.js +0 -47
- package/dist/Custom-QDHQJoxC.js +0 -53
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-bI0HP38b.js +0 -174
- package/dist/Delete-B-k4PTWk.js +0 -59
- package/dist/Dictionary-BUmany6B.js +0 -59
- package/dist/Image-Dps_vfcZ.js +0 -9
- package/dist/Index-Cgets8DK.js +0 -4
- package/dist/Index-DGnHsBz4.js +0 -4
- package/dist/Index-DupYRMRj.js +0 -172
- package/dist/List-Om6OdbbR.js +0 -76
- package/dist/Maintaince-CrfEX-5B.js +0 -19
- package/dist/Paging-C_StoYuZ.js +0 -94
- package/dist/QueryApi-BrYyIwqV.js +0 -18
- package/dist/Register-DGhIjRDD.js +0 -200
- package/dist/RichText-B3Br1uzj.js +0 -105
- package/dist/Text-BFZc81F2.js +0 -4
- package/dist/Text.vue_vue_type_style_index_0_lang-Cw7QQbFk.js +0 -56
- package/dist/TextLink-C_lFWaZv.js +0 -66
- package/dist/Timeline-DaaRGmGd.js +0 -57
- package/dist/Tree-Cmp10DWw.js +0 -297
- package/dist/TreeNode-BM8-GyIc.js +0 -38
- package/dist/Upload-F6HXe76H.js +0 -71
- package/dist/Upload-kwwpaDe6.js +0 -147
- package/dist/main-B8RC13GR.js +0 -6528
- package/dist/vendor-@monaco-editor-DKC4UNw_.js +0 -258
- package/dist/vendor-clone-BPtCWdXG.js +0 -134
- package/dist/vendor-crypto-js-ftX_aBC-.js +0 -4995
- package/dist/vendor-file-saver-CytTIJ-3.js +0 -74
- package/dist/vendor-moment-h96o7c8I.js +0 -2578
- package/dist/vendor-sprintf-js-BPTdvBYM.js +0 -148
- package/dist/vendor-state-local-CEworIRt.js +0 -131
- package/dist/vendor-underscore-DVTek3G4.js +0 -1070
- package/dist/vendor-underscore.string-BEHfJwHl.js +0 -425
- package/dist/vendor-util-deprecate-DzpNkCzj.js +0 -28
- package/esm/services/ServiceFactory.d.ts +0 -3
- package/esm/types/PcOptions.d.ts +0 -18
- package/esm/types/index.d.ts +0 -2
@@ -0,0 +1,67 @@
|
|
1
|
+
import { defineComponent as M, toRefs as b, onMounted as D, computed as h, openBlock as l, createBlock as f, unref as e, withCtx as k, createElementBlock as o, Fragment as E, renderList as H, normalizeClass as L, createCommentVNode as u, createElementVNode as a, toDisplayString as i, resolveDynamicComponent as S, createVNode as $, createTextVNode as s } from "vue";
|
2
|
+
import { x as z, $ as x, s as F, H as P } from "./main-CVY9fyTk.js";
|
3
|
+
import "vue-router";
|
4
|
+
import "./vendor-intro.js-DwWqhM1v.js";
|
5
|
+
const R = {
|
6
|
+
key: 0,
|
7
|
+
class: "menus"
|
8
|
+
}, T = ["onClick"], j = { class: "title" }, q = {
|
9
|
+
key: 1,
|
10
|
+
class: "column-empty"
|
11
|
+
}, A = /* @__PURE__ */ a("br", null, null, -1), G = /* @__PURE__ */ a("br", null, null, -1), W = /* @__PURE__ */ M({
|
12
|
+
__name: "Column",
|
13
|
+
props: {
|
14
|
+
url: {},
|
15
|
+
view: {}
|
16
|
+
},
|
17
|
+
emits: ["loaded", "navigate"],
|
18
|
+
setup(C, { expose: y, emit: g }) {
|
19
|
+
let c = g, w = C, { url: m, view: d } = b(w), B = (t) => !0, N = (t) => !0, U = () => {
|
20
|
+
p();
|
21
|
+
}, p = () => {
|
22
|
+
c("loaded", n.value.title);
|
23
|
+
}, V = (t) => {
|
24
|
+
let v = x.getUrl(t.url, { m: t.id });
|
25
|
+
c("navigate", v);
|
26
|
+
};
|
27
|
+
D(() => {
|
28
|
+
p();
|
29
|
+
});
|
30
|
+
let n = h(() => z.getMenuByUrl(m.value)), _ = h(() => x.getPath(m.value));
|
31
|
+
return y({ shouldLoad: B, shouldSpin: N, refresh: U }), (t, v) => (l(), f(e(F), null, {
|
32
|
+
default: k(() => [
|
33
|
+
e(n) ? (l(), o("div", R, [
|
34
|
+
(l(!0), o(E, null, H(e(n).children, (r) => (l(), o("div", {
|
35
|
+
class: "menu",
|
36
|
+
key: r.id,
|
37
|
+
onClick: (I) => e(V)(r)
|
38
|
+
}, [
|
39
|
+
r.icon ? (l(), o("i", {
|
40
|
+
key: 0,
|
41
|
+
class: L(r.icon)
|
42
|
+
}, null, 2)) : u("", !0),
|
43
|
+
a("div", j, i(r.title), 1)
|
44
|
+
], 8, T))), 128))
|
45
|
+
])) : u("", !0),
|
46
|
+
(l(), f(S(e(d)))),
|
47
|
+
(!e(n) || e(n).children == 0) && !e(d) ? (l(), o("div", q, [
|
48
|
+
$(e(P), null, {
|
49
|
+
default: k(() => [
|
50
|
+
s(" 此栏目页不存在子菜单或自定义部分视图,无内容可展示 ")
|
51
|
+
]),
|
52
|
+
_: 1
|
53
|
+
}),
|
54
|
+
s(" 可考虑以下任一选项:"),
|
55
|
+
A,
|
56
|
+
s(" 1. 在 src/views 中实现自定义页面:" + i(e(_)), 1),
|
57
|
+
G,
|
58
|
+
s(" 2. 在 src/components/partials 中实现自定义首页部分视图:" + i(e(_)), 1)
|
59
|
+
])) : u("", !0)
|
60
|
+
]),
|
61
|
+
_: 1
|
62
|
+
}));
|
63
|
+
}
|
64
|
+
});
|
65
|
+
export {
|
66
|
+
W as default
|
67
|
+
};
|
@@ -0,0 +1,98 @@
|
|
1
|
+
import { defineComponent as E, toRefs as N, ref as S, computed as y, resolveComponent as u, openBlock as m, createElementBlock as p, createElementVNode as t, createVNode as v, createTextVNode as a, toDisplayString as l, unref as e, withCtx as b, Fragment as j, renderList as B, createBlock as T, createCommentVNode as $ } from "vue";
|
2
|
+
import { $ as q } from "./main-CVY9fyTk.js";
|
3
|
+
const D = { class: "ha-comment-layout" }, F = { class: "comment-add" }, L = { class: "add-footer" }, M = { class: "footer-title" }, R = /* @__PURE__ */ t("i", { class: "el-icon-s-comment" }, null, -1), U = { class: "comment-user" }, A = { class: "avatar" }, G = /* @__PURE__ */ t("img", {
|
4
|
+
src: "https://upload.jianshu.io/users/upload_avatars/2859365/cce8943353eb.jpeg?imageMogr2/auto-orient/strip|imageView2/1/w/80/h/80/format/webp",
|
5
|
+
alt: ""
|
6
|
+
}, null, -1), H = { class: "comment-body" }, J = { class: "comment-time" }, K = { class: "comment-content" }, O = /* @__PURE__ */ t("div", { class: "content-footer" }, [
|
7
|
+
/* @__PURE__ */ t("span", null, [
|
8
|
+
/* @__PURE__ */ t("i", { class: "fa fa-thumbs-up" }),
|
9
|
+
/* @__PURE__ */ a("20")
|
10
|
+
]),
|
11
|
+
/* @__PURE__ */ t("span", null, [
|
12
|
+
/* @__PURE__ */ t("i", { class: "el-icon-s-comment" }),
|
13
|
+
/* @__PURE__ */ a("回复")
|
14
|
+
])
|
15
|
+
], -1), P = { class: "comment-footer" }, Z = /* @__PURE__ */ E({
|
16
|
+
__name: "Comment",
|
17
|
+
props: {
|
18
|
+
route: {},
|
19
|
+
validateErrors: {},
|
20
|
+
module: {},
|
21
|
+
schema: {},
|
22
|
+
table: {},
|
23
|
+
layout: {},
|
24
|
+
next: {},
|
25
|
+
set: {}
|
26
|
+
},
|
27
|
+
setup(C) {
|
28
|
+
let x = C, { schema: Q, table: r, layout: o, set: _, validateErrors: W } = N(x), c = S(1), k = (n) => {
|
29
|
+
c.value = n;
|
30
|
+
}, w = y(() => {
|
31
|
+
let n = (c.value - 1) * o.value.pageSize, i = c.value * o.value.pageSize - 1;
|
32
|
+
return _.value[r.value.name].filter((f, d) => d >= n && d <= i);
|
33
|
+
}), h = y(() => r.value.fields.find((i) => i.name == o.value.userId));
|
34
|
+
return (n, i) => {
|
35
|
+
const g = u("el-input"), f = u("el-button"), d = u("router-link"), I = u("el-pagination");
|
36
|
+
return m(), p("div", D, [
|
37
|
+
t("div", F, [
|
38
|
+
v(g, { type: "textarea" }),
|
39
|
+
t("div", L, [
|
40
|
+
t("div", M, [
|
41
|
+
R,
|
42
|
+
a("全部评论 (" + l(e(_)[e(r).name].length) + ")", 1)
|
43
|
+
]),
|
44
|
+
v(f, {
|
45
|
+
type: "primary",
|
46
|
+
class: "btn-comment",
|
47
|
+
icon: "el-icon-s-promotion"
|
48
|
+
}, {
|
49
|
+
default: b(() => [
|
50
|
+
a("评论")
|
51
|
+
]),
|
52
|
+
_: 1
|
53
|
+
})
|
54
|
+
])
|
55
|
+
]),
|
56
|
+
(m(!0), p(j, null, B(e(w), (s, z) => (m(), p("div", {
|
57
|
+
class: "comment",
|
58
|
+
key: z
|
59
|
+
}, [
|
60
|
+
t("div", U, [
|
61
|
+
t("div", A, [
|
62
|
+
G,
|
63
|
+
a(" " + l(s[e(o).avatar]), 1)
|
64
|
+
])
|
65
|
+
]),
|
66
|
+
t("div", H, [
|
67
|
+
e(h) ? (m(), T(d, {
|
68
|
+
key: 0,
|
69
|
+
class: "comment-name",
|
70
|
+
to: e(q).getUrl("/sys_user/detail", { id: s[e(o).userId], m: n.$route.query.m })
|
71
|
+
}, {
|
72
|
+
default: b(() => [
|
73
|
+
a(l(e(h).control.data.data.find((V) => V.value == s[e(o).userId]).text), 1)
|
74
|
+
]),
|
75
|
+
_: 2
|
76
|
+
}, 1032, ["to"])) : $("", !0),
|
77
|
+
t("div", J, l(s[e(o).commentTime]), 1),
|
78
|
+
t("div", K, l(s[e(o).content]), 1),
|
79
|
+
O
|
80
|
+
])
|
81
|
+
]))), 128)),
|
82
|
+
t("div", P, [
|
83
|
+
v(I, {
|
84
|
+
background: "",
|
85
|
+
layout: "total, prev, pager, next, jumper",
|
86
|
+
"current-page": e(c),
|
87
|
+
"page-size": e(o).pageSize,
|
88
|
+
total: e(_)[e(r).name].length,
|
89
|
+
onCurrentChange: e(k)
|
90
|
+
}, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
|
91
|
+
])
|
92
|
+
]);
|
93
|
+
};
|
94
|
+
}
|
95
|
+
});
|
96
|
+
export {
|
97
|
+
Z as default
|
98
|
+
};
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { defineComponent as d, toRefs as i, computed as l, unref as a, openBlock as f, createElementBlock as v, normalizeClass as _, createCommentVNode as C } from "vue";
|
2
|
+
import { J as x } from "./main-CVY9fyTk.js";
|
3
|
+
const V = /* @__PURE__ */ d({
|
4
|
+
__name: "Compare",
|
5
|
+
props: {
|
6
|
+
schema: {},
|
7
|
+
table: {},
|
8
|
+
field: {},
|
9
|
+
set: {},
|
10
|
+
row: {},
|
11
|
+
modelValue: {}
|
12
|
+
},
|
13
|
+
setup(o) {
|
14
|
+
let r = o, { table: e, field: t, set: m, row: n, modelValue: u } = i(r), s = e.value.name + "-" + t.value.name + "-" + m.value[e.value.name].indexOf(n.value);
|
15
|
+
x.init().then((p) => {
|
16
|
+
});
|
17
|
+
let c = l(() => u || "");
|
18
|
+
return l(() => t.value.control.type.toLowerCase()), (p, h) => a(c) ? (f(), v("div", {
|
19
|
+
key: 0,
|
20
|
+
class: _(`text-compare ${a(s)}`)
|
21
|
+
}, null, 2)) : C("", !0);
|
22
|
+
}
|
23
|
+
});
|
24
|
+
export {
|
25
|
+
V as default
|
26
|
+
};
|
@@ -0,0 +1,56 @@
|
|
1
|
+
import { defineComponent as b, toRefs as k, ref as h, computed as S, watch as v, openBlock as w, createElementBlock as B, normalizeStyle as D, unref as R, nextTick as W } from "vue";
|
2
|
+
import { J as z } from "./main-CVY9fyTk.js";
|
3
|
+
const T = /* @__PURE__ */ b({
|
4
|
+
__name: "Compare",
|
5
|
+
props: {
|
6
|
+
schema: {},
|
7
|
+
table: {},
|
8
|
+
field: {},
|
9
|
+
set: {},
|
10
|
+
row: {},
|
11
|
+
modelValue: {}
|
12
|
+
},
|
13
|
+
emits: ["submit", "change", "update:modelValue"],
|
14
|
+
setup(V, { emit: E }) {
|
15
|
+
let m = E, M = V, { table: y, field: o, set: J, row: n, modelValue: c } = k(M), r = null, f = null, g = null, l = null, t = null, p = h(), s = h(), _ = (e) => {
|
16
|
+
s.value = C(), W(() => {
|
17
|
+
let a = n.value[d.value.name], i = o.value.control.language;
|
18
|
+
f = e.editor.createModel(c.value, i), g = e.editor.createModel(a, i), r = e.editor.createDiffEditor(p.value, {
|
19
|
+
originalEditable: !0,
|
20
|
+
automaticLayout: !0,
|
21
|
+
renderSideBySide: !o.value.control.inline
|
22
|
+
//是否启用行内模式
|
23
|
+
}), r.setModel({ original: f, modified: g }), l = r.getOriginalEditor(), l.onDidChangeModelContent((x) => {
|
24
|
+
let u = l.getValue();
|
25
|
+
m("update:modelValue", u), m("change", u);
|
26
|
+
}), t = r.getModifiedEditor(), t.onDidChangeModelContent((x) => {
|
27
|
+
let u = t.getValue();
|
28
|
+
n.value[d.value.name] = u;
|
29
|
+
});
|
30
|
+
});
|
31
|
+
}, C = () => o.value.control.height ? `height: ${o.value.control.height}px` : "min-height: 200px;";
|
32
|
+
z.init().then((e) => {
|
33
|
+
_(e);
|
34
|
+
});
|
35
|
+
let d = S(() => y.value.fields.find((a) => a.name == o.value.control.compareWith));
|
36
|
+
return v(() => c.value, (e, a) => {
|
37
|
+
if (!l)
|
38
|
+
return;
|
39
|
+
let i = l.getValue();
|
40
|
+
e != i && l.setValue(e ?? "");
|
41
|
+
}), v(() => n.value[d.value.name], (e, a) => {
|
42
|
+
if (!t)
|
43
|
+
return;
|
44
|
+
let i = t.getValue();
|
45
|
+
e != i && t.setValue(e ?? "");
|
46
|
+
}), (e, a) => (w(), B("div", {
|
47
|
+
ref_key: "compareRef",
|
48
|
+
ref: p,
|
49
|
+
class: "control-compare",
|
50
|
+
style: D(R(s))
|
51
|
+
}, null, 4));
|
52
|
+
}
|
53
|
+
});
|
54
|
+
export {
|
55
|
+
T as default
|
56
|
+
};
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import { defineComponent as y, toRefs as _, computed as g, unref as l, renderSlot as n, openBlock as v, createElementBlock as b, createElementVNode as c } from "vue";
|
2
|
+
import { w as a } from "./main-CVY9fyTk.js";
|
3
|
+
import { C } from "./vendor-clipboard-DjQPoCBJ.js";
|
4
|
+
const k = {
|
5
|
+
key: 1,
|
6
|
+
class: "copy-container"
|
7
|
+
}, w = /* @__PURE__ */ c("img", {
|
8
|
+
src: "/default/images/clippy.svg",
|
9
|
+
alt: "复制文本"
|
10
|
+
}, null, -1), J = [
|
11
|
+
w
|
12
|
+
], E = /* @__PURE__ */ y({
|
13
|
+
__name: "Copy",
|
14
|
+
props: {
|
15
|
+
schema: {},
|
16
|
+
table: {},
|
17
|
+
field: {},
|
18
|
+
set: {},
|
19
|
+
row: {},
|
20
|
+
modelValue: {}
|
21
|
+
},
|
22
|
+
setup(p) {
|
23
|
+
let u = p, { table: h, field: r, set: N, row: S, modelValue: i } = _(u), d = (e) => JSON.stringify(JSON.parse(e), null, 2), f = () => o.value && r.value.control.type == "Json" ? d(o.value).replace(/"/g, "'") : o.value, s = () => {
|
24
|
+
let e = new C(".btn-copy", { text: () => f() });
|
25
|
+
e.on("success", function(t) {
|
26
|
+
a.success("复制成功"), e.destroy();
|
27
|
+
}), e.on("error", function(t) {
|
28
|
+
a.error("复制失败"), e.destroy();
|
29
|
+
});
|
30
|
+
}, o = g(() => i.value);
|
31
|
+
return (e, t) => l(r).control.copy ? (v(), b("div", k, [
|
32
|
+
c("i", {
|
33
|
+
class: "btn-copy",
|
34
|
+
onClick: t[0] || (t[0] = //@ts-ignore
|
35
|
+
(...m) => l(s) && l(s)(...m))
|
36
|
+
}, J),
|
37
|
+
n(e.$slots, "default")
|
38
|
+
])) : n(e.$slots, "default", { key: 0 });
|
39
|
+
}
|
40
|
+
});
|
41
|
+
export {
|
42
|
+
E as default
|
43
|
+
};
|
@@ -0,0 +1,47 @@
|
|
1
|
+
import { defineComponent as w, toRefs as x, ref as z, openBlock as n, createBlock as i, KeepAlive as L, resolveDynamicComponent as R, unref as o } from "vue";
|
2
|
+
import { $ as B, w as N, i as S } from "./main-CVY9fyTk.js";
|
3
|
+
const A = /* @__PURE__ */ w({
|
4
|
+
__name: "Custom",
|
5
|
+
props: {
|
6
|
+
url: {},
|
7
|
+
view: {}
|
8
|
+
},
|
9
|
+
emits: ["loaded", "navigate"],
|
10
|
+
setup(s, { expose: u, emit: f }) {
|
11
|
+
let a = f, v = s, { url: d, view: m } = x(v), t = z(), { t: p } = S, c = (e, r) => {
|
12
|
+
if (!t.value || !t.value.keyboard)
|
13
|
+
return !1;
|
14
|
+
t.value.keyboard(e, r);
|
15
|
+
}, h = (e) => !0, g = (e) => !0, _ = () => {
|
16
|
+
var r;
|
17
|
+
let e = (r = t.value) == null ? void 0 : r.refresh;
|
18
|
+
if (!e) {
|
19
|
+
let l = B.getPath(d.value);
|
20
|
+
N.notify(p("common.tips"), `要实现自定义刷新功能,请在组件 ${l} 内部定义并暴露refresh方法即可`, "warning");
|
21
|
+
return;
|
22
|
+
}
|
23
|
+
e();
|
24
|
+
}, b = (e) => {
|
25
|
+
var l;
|
26
|
+
let r = (l = t.value) == null ? void 0 : l.beforeClose;
|
27
|
+
r && r(e);
|
28
|
+
}, k = (e) => {
|
29
|
+
t.value && t.value.resize && t.value.resize(e);
|
30
|
+
}, y = (e) => {
|
31
|
+
a("loaded", e);
|
32
|
+
}, C = (e) => {
|
33
|
+
a("navigate", e);
|
34
|
+
};
|
35
|
+
return u({ shouldLoad: h, shouldSpin: g, refresh: _, beforeClose: b, keyboard: c, resize: k }), (e, r) => (n(), i(L, null, [
|
36
|
+
(n(), i(R(o(m)), {
|
37
|
+
ref_key: "customRef",
|
38
|
+
ref: t,
|
39
|
+
onLoaded: o(y),
|
40
|
+
onNavigate: o(C)
|
41
|
+
}, null, 40, ["onLoaded", "onNavigate"]))
|
42
|
+
], 1024));
|
43
|
+
}
|
44
|
+
});
|
45
|
+
export {
|
46
|
+
A as default
|
47
|
+
};
|
@@ -1,10 +1,6 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import "./
|
3
|
-
|
4
|
-
import { h as S, F as H, m as T } from "./main-B8RC13GR.js";
|
5
|
-
import "xlsx-js-style";
|
6
|
-
import "./vendor-crypto-js-ftX_aBC-.js";
|
7
|
-
const j = { class: "footer-content" }, L = /* @__PURE__ */ U({
|
1
|
+
import { defineComponent as B, toRefs as h, ref as g, resolveComponent as r, openBlock as D, createBlock as R, unref as e, isRef as S, withCtx as s, createElementVNode as f, toDisplayString as _, createVNode as a, createTextVNode as c } from "vue";
|
2
|
+
import { q as T, U as j, w as z } from "./main-CVY9fyTk.js";
|
3
|
+
const A = { class: "footer-content" }, H = /* @__PURE__ */ B({
|
8
4
|
__name: "DataExport",
|
9
5
|
props: {
|
10
6
|
route: { type: String },
|
@@ -13,61 +9,61 @@ const j = { class: "footer-content" }, L = /* @__PURE__ */ U({
|
|
13
9
|
},
|
14
10
|
emits: ["close", "update:modelValue"],
|
15
11
|
setup(v, { emit: V }) {
|
16
|
-
let x = V, C = v, { route: y, pageCount:
|
17
|
-
o.value.end < o.value.start ?
|
18
|
-
},
|
12
|
+
let x = V, C = v, { route: y, pageCount: d, modelValue: u } = h(C), p = g(!1), o = g({ start: 1, end: 100 }), b = (l, t, i) => {
|
13
|
+
o.value.end < o.value.start ? i(new Error("结束页不能小于起始页")) : i();
|
14
|
+
}, w = () => {
|
19
15
|
x("update:modelValue", !1);
|
20
|
-
},
|
21
|
-
|
22
|
-
|
16
|
+
}, E = () => {
|
17
|
+
p.value = !0, T.get(y.value, o.value).then(({ data: l, message: t }) => {
|
18
|
+
j.save(l.content, l.name), z.success(t);
|
23
19
|
}).finally(() => {
|
24
|
-
|
20
|
+
p.value = !1;
|
25
21
|
});
|
26
22
|
};
|
27
23
|
return (l, t) => {
|
28
|
-
const
|
29
|
-
return D(),
|
24
|
+
const i = r("el-input-number"), m = r("el-form-item"), U = r("el-form"), k = r("el-divider"), N = r("el-button"), q = r("el-dialog");
|
25
|
+
return D(), R(q, {
|
30
26
|
class: "data-export",
|
31
27
|
draggable: "",
|
32
28
|
"destroy-on-close": "",
|
33
29
|
title: l.t("paging.data_export"),
|
34
30
|
width: "350px",
|
35
|
-
onClose: e(
|
36
|
-
modelValue: e(
|
37
|
-
"onUpdate:modelValue": t[3] || (t[3] = (n) =>
|
31
|
+
onClose: e(w),
|
32
|
+
modelValue: e(u),
|
33
|
+
"onUpdate:modelValue": t[3] || (t[3] = (n) => S(u) ? u.value = n : u = n)
|
38
34
|
}, {
|
39
|
-
footer:
|
35
|
+
footer: s(() => [
|
40
36
|
f("div", {
|
41
37
|
class: "footer-operation",
|
42
|
-
onClick: t[2] || (t[2] = (n) => e(o).end = e(
|
43
|
-
}, _(l.t("paging.total_page", [e(
|
44
|
-
f("div",
|
45
|
-
|
38
|
+
onClick: t[2] || (t[2] = (n) => e(o).end = e(d))
|
39
|
+
}, _(l.t("paging.total_page", [e(d)])), 1),
|
40
|
+
f("div", A, [
|
41
|
+
a(N, {
|
46
42
|
type: "primary",
|
47
43
|
plain: "",
|
48
|
-
loading: e(
|
49
|
-
onClick: e(
|
44
|
+
loading: e(p),
|
45
|
+
onClick: e(E)
|
50
46
|
}, {
|
51
|
-
default:
|
47
|
+
default: s(() => [
|
52
48
|
c(_(l.t("paging.export")), 1)
|
53
49
|
]),
|
54
50
|
_: 1
|
55
51
|
}, 8, ["loading", "onClick"])
|
56
52
|
])
|
57
53
|
]),
|
58
|
-
default:
|
59
|
-
|
54
|
+
default: s(() => [
|
55
|
+
a(U, {
|
60
56
|
ref: "export",
|
61
57
|
inline: "",
|
62
58
|
model: e(o)
|
63
59
|
}, {
|
64
|
-
default:
|
65
|
-
|
60
|
+
default: s(() => [
|
61
|
+
a(m, {
|
66
62
|
prop: "start",
|
67
63
|
rules: [{ required: !0, message: "起始页不能为空", trigger: "change" }]
|
68
64
|
}, {
|
69
|
-
default:
|
70
|
-
|
65
|
+
default: s(() => [
|
66
|
+
a(i, {
|
71
67
|
"controls-position": "right",
|
72
68
|
min: 1,
|
73
69
|
step: 100,
|
@@ -78,18 +74,18 @@ const j = { class: "footer-content" }, L = /* @__PURE__ */ U({
|
|
78
74
|
_: 1
|
79
75
|
}),
|
80
76
|
c(" - "),
|
81
|
-
|
77
|
+
a(m, {
|
82
78
|
prop: "end",
|
83
79
|
rules: [
|
84
80
|
{ required: !0, message: "结束页不能为空", trigger: "change" },
|
85
81
|
{ validator: e(b), trigger: "change" }
|
86
82
|
]
|
87
83
|
}, {
|
88
|
-
default:
|
89
|
-
|
84
|
+
default: s(() => [
|
85
|
+
a(i, {
|
90
86
|
"controls-position": "right",
|
91
87
|
min: e(o).start,
|
92
|
-
max: e(
|
88
|
+
max: e(d),
|
93
89
|
step: 100,
|
94
90
|
modelValue: e(o).end,
|
95
91
|
"onUpdate:modelValue": t[1] || (t[1] = (n) => e(o).end = n)
|
@@ -100,7 +96,7 @@ const j = { class: "footer-content" }, L = /* @__PURE__ */ U({
|
|
100
96
|
]),
|
101
97
|
_: 1
|
102
98
|
}, 8, ["model"]),
|
103
|
-
|
99
|
+
a(k)
|
104
100
|
]),
|
105
101
|
_: 1
|
106
102
|
}, 8, ["title", "onClose", "modelValue"]);
|
@@ -108,5 +104,5 @@ const j = { class: "footer-content" }, L = /* @__PURE__ */ U({
|
|
108
104
|
}
|
109
105
|
});
|
110
106
|
export {
|
111
|
-
|
107
|
+
H as _
|
112
108
|
};
|
@@ -0,0 +1,172 @@
|
|
1
|
+
import { defineComponent as W, toRefs as X, ref as i, resolveComponent as s, openBlock as h, createBlock as y, unref as e, isRef as R, withCtx as a, createElementVNode as v, createVNode as r, createTextVNode as m, toDisplayString as u, createCommentVNode as Y, createElementBlock as Z, Fragment as $, renderList as ee } from "vue";
|
2
|
+
import { l as le, n as oe, q as k, U as F, w as C, m as te } from "./main-CVY9fyTk.js";
|
3
|
+
const ae = /* @__PURE__ */ v("i", { class: "fa fa-upload" }, null, -1), ne = { style: { color: "red" } }, re = { class: "footer-operation" }, se = { class: "footer-content" }, ue = /* @__PURE__ */ v("i", { class: "fa fa-download" }, null, -1), ce = /* @__PURE__ */ W({
|
4
|
+
__name: "DataImport",
|
5
|
+
props: {
|
6
|
+
next: Object,
|
7
|
+
modelValue: Boolean
|
8
|
+
},
|
9
|
+
emits: ["close", "succeed", "update:modelValue"],
|
10
|
+
setup(N, { emit: P }) {
|
11
|
+
let x = P, T = N, { next: B, modelValue: g } = X(T), b = i(!1), U = i(), E = {}, w = i([]), d = i([]), c = i(), _ = i(), V = i({ clear: !1 }), q = () => {
|
12
|
+
x("close");
|
13
|
+
}, A = async (l) => {
|
14
|
+
let o = B.value.import.route;
|
15
|
+
U.value = le.api.url + o;
|
16
|
+
let n = new oe();
|
17
|
+
n.path = o, n.method = "POST", await k.onRequest(n);
|
18
|
+
let p = n.getHeader("Authorization");
|
19
|
+
return E.Authorization = p, F.isExcel(l.name) ? Promise.resolve() : (C.error("请上传正确的Excel文件"), Promise.reject());
|
20
|
+
}, L = (l, o) => !0, j = (l) => {
|
21
|
+
}, z = (l, o, n) => {
|
22
|
+
w.value = [o], k.handleResponseBody(l, !0).then((p) => {
|
23
|
+
p.code == "ValidateError" ? (d.value = te.groupByArray(p.data, (f) => f.table), _.value = d.value[0], c.value = d.value[0].key) : (d.value = [], _.value = null, c.value = null);
|
24
|
+
}).catch(() => {
|
25
|
+
w.value = [];
|
26
|
+
});
|
27
|
+
}, D = (l, o, n) => (C.error(l.message), Promise.resolve()), O = (l) => {
|
28
|
+
_.value = d.value[l];
|
29
|
+
}, S = () => {
|
30
|
+
b.value = !0, k.get(B.value.import.route).then(({ data: l, message: o }) => {
|
31
|
+
F.save(l.content, l.name), C.success(o);
|
32
|
+
}).finally(() => {
|
33
|
+
b.value = !1;
|
34
|
+
});
|
35
|
+
}, G = () => {
|
36
|
+
x("update:modelValue", !1);
|
37
|
+
};
|
38
|
+
return (l, o) => {
|
39
|
+
const n = s("el-button"), p = s("el-upload"), f = s("el-table-column"), H = s("el-table"), I = s("el-radio"), J = s("el-radio-group"), K = s("el-divider"), M = s("el-checkbox"), Q = s("el-dialog");
|
40
|
+
return h(), y(Q, {
|
41
|
+
draggable: "",
|
42
|
+
"destroy-on-close": "",
|
43
|
+
title: l.t("paging.data_import"),
|
44
|
+
onClose: e(q),
|
45
|
+
modelValue: e(g),
|
46
|
+
"onUpdate:modelValue": o[2] || (o[2] = (t) => R(g) ? g.value = t : g = t)
|
47
|
+
}, {
|
48
|
+
footer: a(() => [
|
49
|
+
v("div", re, [
|
50
|
+
r(M, {
|
51
|
+
modelValue: e(V).clear,
|
52
|
+
"onUpdate:modelValue": o[1] || (o[1] = (t) => e(V).clear = t)
|
53
|
+
}, {
|
54
|
+
default: a(() => [
|
55
|
+
m(u(l.t("paging.cover_existing_data")), 1)
|
56
|
+
]),
|
57
|
+
_: 1
|
58
|
+
}, 8, ["modelValue"])
|
59
|
+
]),
|
60
|
+
v("div", se, [
|
61
|
+
r(n, {
|
62
|
+
onClick: e(S),
|
63
|
+
loading: e(b)
|
64
|
+
}, {
|
65
|
+
icon: a(() => [
|
66
|
+
ue
|
67
|
+
]),
|
68
|
+
default: a(() => [
|
69
|
+
m(" " + u(l.t("paging.template")), 1)
|
70
|
+
]),
|
71
|
+
_: 1
|
72
|
+
}, 8, ["onClick", "loading"]),
|
73
|
+
r(n, {
|
74
|
+
type: "primary",
|
75
|
+
plain: "",
|
76
|
+
onClick: e(G)
|
77
|
+
}, {
|
78
|
+
default: a(() => [
|
79
|
+
m(u(l.t("common.complete")), 1)
|
80
|
+
]),
|
81
|
+
_: 1
|
82
|
+
}, 8, ["onClick"])
|
83
|
+
])
|
84
|
+
]),
|
85
|
+
default: a(() => [
|
86
|
+
r(p, {
|
87
|
+
action: e(U),
|
88
|
+
headers: e(E),
|
89
|
+
data: e(V),
|
90
|
+
"file-list": e(w),
|
91
|
+
"before-upload": e(A),
|
92
|
+
"before-remove": e(L),
|
93
|
+
"on-preview": e(j),
|
94
|
+
"on-success": e(z),
|
95
|
+
"on-error": e(D)
|
96
|
+
}, {
|
97
|
+
default: a(() => [
|
98
|
+
r(n, null, {
|
99
|
+
icon: a(() => [
|
100
|
+
ae
|
101
|
+
]),
|
102
|
+
default: a(() => [
|
103
|
+
m(" " + u(l.t("paging.click_upload")), 1)
|
104
|
+
]),
|
105
|
+
_: 1
|
106
|
+
})
|
107
|
+
]),
|
108
|
+
_: 1
|
109
|
+
}, 8, ["action", "headers", "data", "file-list", "before-upload", "before-remove", "on-preview", "on-success", "on-error"]),
|
110
|
+
e(_) ? (h(), y(H, {
|
111
|
+
key: 0,
|
112
|
+
data: e(_).value,
|
113
|
+
"show-overflow-tooltip": "",
|
114
|
+
"max-height": "400",
|
115
|
+
style: { width: "100%" }
|
116
|
+
}, {
|
117
|
+
default: a(() => [
|
118
|
+
r(f, {
|
119
|
+
prop: "index",
|
120
|
+
label: "行号",
|
121
|
+
width: "100"
|
122
|
+
}, {
|
123
|
+
default: a((t) => [
|
124
|
+
m(" 第" + u(t.row.index + 1) + "行 ", 1)
|
125
|
+
]),
|
126
|
+
_: 1
|
127
|
+
}),
|
128
|
+
r(f, {
|
129
|
+
prop: "field",
|
130
|
+
label: "字段",
|
131
|
+
width: "150"
|
132
|
+
}),
|
133
|
+
r(f, {
|
134
|
+
prop: "message",
|
135
|
+
label: "错误消息"
|
136
|
+
}, {
|
137
|
+
default: a((t) => [
|
138
|
+
v("span", ne, u(t.row.message), 1)
|
139
|
+
]),
|
140
|
+
_: 1
|
141
|
+
})
|
142
|
+
]),
|
143
|
+
_: 1
|
144
|
+
}, 8, ["data"])) : Y("", !0),
|
145
|
+
r(J, {
|
146
|
+
onChange: e(O),
|
147
|
+
modelValue: e(c),
|
148
|
+
"onUpdate:modelValue": o[0] || (o[0] = (t) => R(c) ? c.value = t : c = t),
|
149
|
+
style: { "margin-top": "10px" }
|
150
|
+
}, {
|
151
|
+
default: a(() => [
|
152
|
+
(h(!0), Z($, null, ee(e(d), (t) => (h(), y(I, {
|
153
|
+
value: t.key
|
154
|
+
}, {
|
155
|
+
default: a(() => [
|
156
|
+
m(u(t.key) + "(" + u(t.value.length) + ")", 1)
|
157
|
+
]),
|
158
|
+
_: 2
|
159
|
+
}, 1032, ["value"]))), 256))
|
160
|
+
]),
|
161
|
+
_: 1
|
162
|
+
}, 8, ["onChange", "modelValue"]),
|
163
|
+
r(K)
|
164
|
+
]),
|
165
|
+
_: 1
|
166
|
+
}, 8, ["title", "onClose", "modelValue"]);
|
167
|
+
};
|
168
|
+
}
|
169
|
+
});
|
170
|
+
export {
|
171
|
+
ce as _
|
172
|
+
};
|