halo-pc 1.0.2 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-DievbQaS.js → Article-CjlnxF__.js} +30 -30
- package/dist/{Autocomplete-CA9lAfcX.js → Autocomplete-BnQpnnyK.js} +1 -1
- package/dist/{Autocomplete-BC9yw7bd.js → Autocomplete-C2FkoM3g.js} +15 -15
- package/dist/{Autocomplete-9Dw6RZUJ.js → Autocomplete-Da3h7NqJ.js} +14 -14
- package/dist/{CSharp-9TTxxjTd.js → CSharp-Dxc7debp.js} +1 -1
- package/dist/{Calender-Cvt1swho.js → Calender-CZajLEjs.js} +1 -1
- package/dist/Callback-txUuqwa4.js +24 -0
- package/dist/{Cascader-B8DEKaGU.js → Cascader-Bm6ZjZBu.js} +17 -17
- package/dist/{Cascader-DCbx-Xfo.js → Cascader-CWljbVzB.js} +3 -3
- package/dist/{Checkbox-D928Sp6S.js → Checkbox-CYpA0Abh.js} +1 -1
- package/dist/{Checkbox-BPaKVuvv.js → Checkbox-DvjA_jtM.js} +1 -1
- package/dist/Code--QwKtfhx.js +4 -0
- package/dist/{Code-DS9dwk0s.js → Code-BO3eZKLy.js} +3 -3
- package/dist/{Code--ryEmiLJ.js → Code-Dh_cfHCX.js} +3 -3
- package/dist/{Code-DVUf05Qa.js → Code-Dn68YB2V.js} +1 -1
- package/dist/{Code.vue_vue_type_style_index_0_lang-BQQ6Jatk.js → Code.vue_vue_type_style_index_0_lang-DcAjaZOQ.js} +14 -14
- package/dist/{Column-BzM9a1Ai.js → Column-DGnsLHim.js} +11 -11
- package/dist/{Comment-5gH4WF9C.js → Comment--Tr_kWBl.js} +19 -19
- package/dist/{Compare-7rmSR2Vp.js → Compare-C3rlbp4P.js} +23 -20
- package/dist/Compare-DaSyOFIe.js +30 -0
- package/dist/{Copy-DcAUXAJq.js → Copy-C5yEC9dX.js} +1 -1
- package/dist/{Custom-lSjUvIAb.js → Custom-K9vfVRxn.js} +6 -6
- package/dist/{DataExport-Cl2LRmuu.js → DataExport-GCZvxEp5.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-DFuUWnTj.js → DataExport.vue_vue_type_script_setup_true_lang-CqT0RHF6.js} +14 -14
- package/dist/{DataImport-C8MggQON.js → DataImport-BofV1eCR.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-Qgy5ODur.js → DataImport.vue_vue_type_script_setup_true_lang-WCH5ToC7.js} +25 -23
- package/dist/{Date-B9tmMFuT.js → Date-BeHsQ2Ow.js} +1 -1
- package/dist/{Date-BRd0o_ib.js → Date-DgpsRJon.js} +1 -1
- package/dist/{DateRange-Q6osbxfF.js → DateRange-UHosLXP9.js} +4 -4
- package/dist/{DateTime-Ce1NnyqQ.js → DateTime-BfNjKDfI.js} +1 -1
- package/dist/{DateTime-DSUMg60T.js → DateTime-CHn5T-FB.js} +1 -1
- package/dist/{DateTimeRange-Cr_pV6VX.js → DateTimeRange-6TctUiMd.js} +20 -16
- package/dist/{Daterange-0qtKemST.js → Daterange-DISQqOFM.js} +4 -4
- package/dist/{Decimal-BBYZHN-L.js → Decimal-BB2w4V2o.js} +1 -1
- package/dist/Delete-C7gIYWP8.js +59 -0
- package/dist/{Detail-DlJeIF7u.js → Detail-D-6vJTGF.js} +13 -13
- package/dist/{Dictionary-DH3ukOm9.js → Dictionary-DfEacdox.js} +3 -3
- package/dist/{Email-BGc1mV9s.js → Email-ME_MU94C.js} +1 -1
- package/dist/{File-27vOsF_i.js → File-CMCYSg30.js} +22 -22
- package/dist/{Image-BejU08yZ.js → Image-BL458jPH.js} +1 -1
- package/dist/Index-8lbvVECt.js +4 -0
- package/dist/{Index-DEDLWObm.js → Index-B1ZfzgLV.js} +1 -1
- package/dist/{Index-CtQ5rwyH.js → Index-C_HCipwv.js} +1 -1
- package/dist/{Index-ByC6qZPq.js → Index-Ch59SxF3.js} +6 -6
- package/dist/{Index-9AheG9bs.js → Index-CopnEHli.js} +1 -1
- package/dist/{Index-BtK4Riqs.js → Index-Cp7EDm0u.js} +55 -52
- package/dist/{Index-DMdBkj-p.js → Index-DZkeSKKp.js} +1 -1
- package/dist/Index-tbCW5R6_.js +4 -0
- package/dist/{Index.vue_vue_type_script_setup_true_lang-gv23r-9D.js → Index.vue_vue_type_script_setup_true_lang-B-sM48XO.js} +1 -1
- package/dist/{Index.vue_vue_type_script_setup_true_lang-3zk23es9.js → Index.vue_vue_type_script_setup_true_lang-DOibFo1_.js} +13 -12
- package/dist/{Index.vue_vue_type_script_setup_true_lang-CCdCOtFc.js → Index.vue_vue_type_script_setup_true_lang-Dwm5MQ9l.js} +19 -12
- package/dist/{Index.vue_vue_type_style_index_0_lang-DZJCAfOb.js → Index.vue_vue_type_style_index_0_lang-D9Jt6Of_.js} +10 -10
- package/dist/{Install-DzOXL82w.js → Install-CJbpeRw0.js} +12 -12
- package/dist/{Int-AE2e9jyG.js → Int-C-0RMDmy.js} +1 -1
- package/dist/{Int-D3k7ZnH3.js → Int-CkzuFSk2.js} +4 -4
- package/dist/{List-BeoZ2a1r.js → List-V1uPlNfP.js} +9 -8
- package/dist/Maintaince-BM4tthS_.js +19 -0
- package/dist/{Markdown-BVhD-lo1.js → Markdown-Dq7L9EMQ.js} +1 -1
- package/dist/{Month-BVKakHhk.js → Month-B_SzKf02.js} +1 -1
- package/dist/{Month--2hXaJkd.js → Month-CUX-EnU_.js} +1 -1
- package/dist/{Month-D9r3wt_e.js → Month-DfemgHac.js} +1 -1
- package/dist/{Normal-B3Xs7sFU.js → Normal-B2w0Isvm.js} +16 -15
- package/dist/Paging-Bnpq9uSh.js +95 -0
- package/dist/QueryApi-BLc_au6L.js +18 -0
- package/dist/{Racebar-CvsmozFH.js → Racebar-DqWtIQm-.js} +4 -4
- package/dist/{Radio-DMlWrRLV.js → Radio-xLd4l78I.js} +1 -1
- package/dist/{Register-B7KEYSdN.js → Register-Bio0HxyZ.js} +47 -46
- package/dist/{RichText-BX7WZjO-.js → RichText-BYNi_iMx.js} +4 -4
- package/dist/{SearchFooter-BSHxMoTL.js → SearchFooter-BAPlMiuj.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-CgAQfUu-.js → SearchFooter.vue_vue_type_style_index_0_lang-Bp7M7_IY.js} +1 -1
- package/dist/{SearchForm-CH5YWxKr.js → SearchForm-BaPwWOch.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-By2w2biv.js → SearchForm.vue_vue_type_style_index_0_lang-BJeXUISp.js} +15 -14
- package/dist/{Select-Dmr_Q332.js → Select-DMDcHdlD.js} +28 -27
- package/dist/{Select-B7VB4CHX.js → Select-Dlx4Tg2X.js} +1 -1
- package/dist/Select-Doyr8ioF.js +84 -0
- package/dist/{Single-z7YLL5yh.js → Single-B4EEi5Bm.js} +63 -63
- package/dist/{Statistic-SFo_gi_N.js → Statistic-AY1NP5tM.js} +11 -11
- package/dist/{Statistic-B_mgjlnr.js → Statistic-CTxHNeof.js} +1 -1
- package/dist/{Stock-DInt0W2k.js → Stock-CcBqUgOB.js} +1 -1
- package/dist/{Stock-cw7lE17E.js → Stock-Sh2UHojP.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-DKGuyQ08.js → Stock.vue_vue_type_style_index_0_lang-CcHVxdzc.js} +7 -7
- package/dist/{Switch-gkN2GOAQ.js → Switch-BOsRzAW-.js} +1 -1
- package/dist/{Table-BRSX9_5r.js → Table-C9IrdZEj.js} +40 -37
- package/dist/{Table-ByUYlERR.js → Table-CrMo5L6q.js} +10 -10
- package/dist/{Text-CLMVbFyi.js → Text-BRRmmXYV.js} +1 -1
- package/dist/{Text-EQNK15_K.js → Text-DKpPIUcY.js} +1 -1
- package/dist/Text-vz76Xb4X.js +4 -0
- package/dist/{Text.vue_vue_type_style_index_0_lang-Cwyu-GMz.js → Text.vue_vue_type_style_index_0_lang-BMxOYNEI.js} +6 -6
- package/dist/TextLink-DKm6XbeF.js +66 -0
- package/dist/{Textarea-DoE5sGRR.js → Textarea-WPLyT7XC.js} +1 -1
- package/dist/{Time-CRVru-6c.js → Time-BcQzBDX-.js} +1 -1
- package/dist/{Timeline-CTj1FAtR.js → Timeline-Dolubd-b.js} +6 -6
- package/dist/{Tree-DfY_7l-G.js → Tree-Bv5eVC8s.js} +29 -28
- package/dist/Tree-KwP6ais4.js +295 -0
- package/dist/{TreeNode-BV9BiCFt.js → TreeNode-rHeuE2ot.js} +4 -4
- package/dist/{Update-C6EmSv2D.js → Update-C5bPCalk.js} +7 -7
- package/dist/{UpdateChild-CA0P17tZ.js → UpdateChild-B2A3hP6m.js} +14 -14
- package/dist/{Upload-CQo4b32p.js → Upload-BSbIQu56.js} +24 -24
- package/dist/{Upload-z2mEnrlN.js → Upload-heb0FQTh.js} +12 -11
- package/dist/{UploadApi-C0wC0lME.js → UploadApi-vYU0Jda6.js} +3 -3
- package/dist/{Year-DBuvSBYN.js → Year-1ug2_a1g.js} +1 -1
- package/dist/{Year-CEHCOGTW.js → Year-Dlp5PKhI.js} +1 -1
- package/dist/main-Bs5Q5ZLl.js +6535 -0
- package/dist/main.js +102 -84
- package/dist/style.css +1 -1
- package/dist/vendor-pinia-C-_fm-ER.js +1167 -0
- package/dist/vendor-vue-demi-DdR-Jw7p.js +31 -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/main.d.ts +5 -5
- package/esm/plugins/index.d.ts +1 -0
- package/esm/sdks/commons/HaTable.vue.d.ts +1 -1
- package/esm/sdks/commons/index.d.ts +1 -59
- package/esm/sdks/globals/HaWindow.vue.d.ts +4 -4
- package/esm/sdks/globals/index.d.ts +4 -0
- package/esm/sdks/index.d.ts +4 -7
- package/esm/services/MessageService.d.ts +9 -8
- package/esm/services/index.d.ts +1 -3
- package/esm/stores/index.d.ts +1 -7
- package/package.json +17 -21
- package/dist/Callback-3bTaCoQy.js +0 -20
- package/dist/Code-CnU5c_Xk.js +0 -4
- package/dist/Compare-D-WXTccH.js +0 -27
- package/dist/Delete-DkSX4BUu.js +0 -55
- package/dist/Index-BaxI_lNq.js +0 -4
- package/dist/Index-BnNuVSxA.js +0 -4
- package/dist/Maintaince-BMLmBQI9.js +0 -15
- package/dist/Paging-CqpaB0Mn.js +0 -94
- package/dist/QueryApi-BqpLpqXT.js +0 -13
- package/dist/Select-zZ9NAS5C.js +0 -80
- package/dist/Text-CXXJqJ8N.js +0 -4
- package/dist/TextLink-KC_xsgpi.js +0 -66
- package/dist/Tree-B2ILQtRK.js +0 -295
- package/dist/main-CgmRyjET.js +0 -6158
- package/dist/vendor-axios-ud9O0vdJ.js +0 -1670
- package/dist/vendor-pinia-yrN6kSxh.js +0 -861
- package/dist/vendor-vue-demi-CIhrFbpB.js +0 -17
- package/esm/components/business/HoCondition.vue.d.ts +0 -18
- package/esm/components/business/HoCrud.vue.d.ts +0 -29
- package/esm/components/business/HoDrawer.vue.d.ts +0 -24
- package/esm/components/business/HoDriver.vue.d.ts +0 -52
- package/esm/components/business/HoFeedback.vue.d.ts +0 -8
- package/esm/components/business/HoForm.vue.d.ts +0 -23
- package/esm/components/business/HoSwitch.vue.d.ts +0 -24
- package/esm/components/business/HoWelcome.vue.d.ts +0 -8
- package/esm/drivers/IDriver.d.ts +0 -10
- package/esm/drivers/cdns/Cdn.d.ts +0 -14
- package/esm/drivers/cdns/CdnFactory.d.ts +0 -11
- package/esm/drivers/cdns/ICdn.d.ts +0 -34
- package/esm/drivers/cdns/implements/BootCdn.d.ts +0 -12
- package/esm/drivers/cdns/implements/JsdelivrCdn.d.ts +0 -13
- package/esm/drivers/cdns/implements/LocalCdn.d.ts +0 -12
- package/esm/drivers/cdns/implements/StaticFileCdn.d.ts +0 -16
- package/esm/drivers/cdns/implements/UnpkgCdn.d.ts +0 -10
- package/esm/drivers/driver-helper.d.ts +0 -46
- package/esm/drivers/encoders/Encoder.d.ts +0 -11
- package/esm/drivers/encoders/EncoderFactory.d.ts +0 -16
- package/esm/drivers/encoders/IEncoder.d.ts +0 -22
- package/esm/drivers/encoders/implement/Base64Encoder.d.ts +0 -11
- package/esm/drivers/excels/ExcelFactory.d.ts +0 -11
- package/esm/drivers/excels/IExcel.d.ts +0 -18
- package/esm/drivers/excels/implements/XlsxExcel.d.ts +0 -10
- package/esm/drivers/explainers/Explainer.d.ts +0 -4
- package/esm/drivers/explainers/ExplainerFactory.d.ts +0 -1
- package/esm/drivers/explainers/IExplainer.d.ts +0 -3
- package/esm/drivers/explainers/implement/JsonExplainer.d.ts +0 -4
- package/esm/drivers/features/FeatureFactory.d.ts +0 -11
- package/esm/drivers/features/IFeature.d.ts +0 -23
- package/esm/drivers/features/implements/ExpressionFeature.d.ts +0 -12
- package/esm/drivers/features/implements/I18NFeature.d.ts +0 -12
- package/esm/drivers/features/implements/SortFeature.d.ts +0 -13
- package/esm/drivers/hashers/Hasher.d.ts +0 -10
- package/esm/drivers/hashers/HasherFactory.d.ts +0 -13
- package/esm/drivers/hashers/IHasher.d.ts +0 -19
- package/esm/drivers/hashers/implement/Md5Hasher.d.ts +0 -10
- package/esm/drivers/hashers/implement/Sha256Hasher.d.ts +0 -10
- package/esm/drivers/index.d.ts +0 -7
- package/esm/drivers/providers/IProvider.d.ts +0 -43
- package/esm/drivers/providers/ProviderFactory.d.ts +0 -11
- package/esm/drivers/providers/implements/IndexedDbProvider.d.ts +0 -55
- package/esm/drivers/requesters/IRequester.d.ts +0 -17
- package/esm/drivers/requesters/Requester.d.ts +0 -11
- package/esm/drivers/requesters/RequesterFactory.d.ts +0 -17
- package/esm/drivers/requesters/entities/HttpRequest.d.ts +0 -22
- package/esm/drivers/requesters/entities/HttpResponse.d.ts +0 -19
- package/esm/drivers/requesters/implements/DefaultRequester.d.ts +0 -7
- package/esm/drivers/requesters/implements/MkRequester.d.ts +0 -39
- package/esm/drivers/signers/ISigner.d.ts +0 -33
- package/esm/drivers/signers/SignerFactory.d.ts +0 -11
- package/esm/drivers/signers/implements/DefaultSigner.d.ts +0 -18
- package/esm/drivers/ssos/ISso.d.ts +0 -41
- package/esm/drivers/ssos/SsoFactory.d.ts +0 -11
- package/esm/drivers/ssos/implements/AnonymousSso.d.ts +0 -18
- package/esm/drivers/ssos/implements/BearerSso.d.ts +0 -22
- package/esm/drivers/ssos/implements/NioSso.d.ts +0 -23
- package/esm/drivers/ssos/implements/SecretSso.d.ts +0 -18
- package/esm/drivers/ssos/implements/WeiXinSso.d.ts +0 -20
- package/esm/sdks/commons/HaCode.vue.d.ts +0 -39
- package/esm/sdks/commons/HaCol.vue.d.ts +0 -9
- package/esm/sdks/commons/HaCompare.vue.d.ts +0 -40
- package/esm/sdks/commons/HaContainer.vue.d.ts +0 -21
- package/esm/sdks/commons/HaEmpty.vue.d.ts +0 -24
- package/esm/sdks/commons/HaProgress.vue.d.ts +0 -8
- package/esm/sdks/commons/HaRow.vue.d.ts +0 -19
- package/esm/sdks/commons/HoCaptcha.vue.d.ts +0 -14
- package/esm/sdks/commons/HoCode.vue.d.ts +0 -39
- package/esm/sdks/commons/HoCol.vue.d.ts +0 -9
- package/esm/sdks/commons/HoCompare.vue.d.ts +0 -40
- package/esm/sdks/commons/HoContainer.vue.d.ts +0 -21
- package/esm/sdks/commons/HoDebug.vue.d.ts +0 -9
- package/esm/sdks/commons/HoEditable.vue.d.ts +0 -13
- package/esm/sdks/commons/HoEmpty.vue.d.ts +0 -24
- package/esm/sdks/commons/HoLoading.vue.d.ts +0 -33
- package/esm/sdks/commons/HoMouseContext.vue.d.ts +0 -2
- package/esm/sdks/commons/HoParticles.vue.d.ts +0 -2
- package/esm/sdks/commons/HoProgress.vue.d.ts +0 -8
- package/esm/sdks/commons/HoResizer.vue.d.ts +0 -26
- package/esm/sdks/commons/HoRow.vue.d.ts +0 -19
- package/esm/sdks/commons/HoSpinner.vue.d.ts +0 -20
- package/esm/sdks/commons/HoTable.vue.d.ts +0 -34
- package/esm/sdks/commons/HoTableColumn.vue.d.ts +0 -31
- package/esm/sdks/globals/HoHeaderTab.vue.d.ts +0 -19
- package/esm/sdks/globals/HoHeaderTabs.vue.d.ts +0 -17
- package/esm/sdks/globals/HoMenu.vue.d.ts +0 -77
- package/esm/sdks/globals/HoMenuItem.vue.d.ts +0 -76
- package/esm/sdks/globals/HoMissComponent.vue.d.ts +0 -9
- package/esm/sdks/globals/HoSideTab.vue.d.ts +0 -21
- package/esm/sdks/globals/HoSideTabs.vue.d.ts +0 -17
- package/esm/sdks/globals/HoWindow.vue.d.ts +0 -66
- package/esm/sdks/helpers/array-helper.d.ts +0 -97
- package/esm/sdks/helpers/component-helper.d.ts +0 -10
- package/esm/sdks/helpers/cookie-helper.d.ts +0 -6
- package/esm/sdks/helpers/dictionary-helper.d.ts +0 -10
- package/esm/sdks/helpers/dom-helper.d.ts +0 -74
- package/esm/sdks/helpers/encrypt-helper.d.ts +0 -18
- package/esm/sdks/helpers/event-helper.d.ts +0 -30
- package/esm/sdks/helpers/file-helper.d.ts +0 -22
- package/esm/sdks/helpers/html-helper.d.ts +0 -10
- package/esm/sdks/helpers/i18n-helper.d.ts +0 -14
- package/esm/sdks/helpers/image-helper.d.ts +0 -10
- package/esm/sdks/helpers/index.d.ts +0 -26
- package/esm/sdks/helpers/json-helper.d.ts +0 -31
- package/esm/sdks/helpers/math-helper.d.ts +0 -42
- package/esm/sdks/helpers/micro-helper.d.ts +0 -10
- package/esm/sdks/helpers/mount-helper.d.ts +0 -14
- package/esm/sdks/helpers/object-helper.d.ts +0 -34
- package/esm/sdks/helpers/script-helper.d.ts +0 -31
- package/esm/sdks/helpers/scroll-helper.d.ts +0 -14
- package/esm/sdks/helpers/sign-helper.d.ts +0 -14
- package/esm/sdks/helpers/storage-helper.d.ts +0 -34
- package/esm/sdks/helpers/string-helper.d.ts +0 -94
- package/esm/sdks/helpers/task-helper.d.ts +0 -26
- package/esm/sdks/helpers/time-helper.d.ts +0 -62
- package/esm/sdks/helpers/tree-helper.d.ts +0 -54
- package/esm/sdks/helpers/type-helper.d.ts +0 -26
- package/esm/sdks/helpers/url-helper.d.ts +0 -92
- package/esm/sdks/panels/HoGroup.vue.d.ts +0 -9
- package/esm/sdks/panels/HoHeader.vue.d.ts +0 -16
- package/esm/sdks/panels/HoOperation.vue.d.ts +0 -22
- package/esm/sdks/panels/HoPanel.vue.d.ts +0 -30
- package/esm/sdks/panels/HoShrink.vue.d.ts +0 -48
- package/esm/sdks/stores/window.d.ts +0 -25
- package/esm/sdks/thirds/index.d.ts +0 -8
- package/esm/sdks/utilities/AffixUtility.d.ts +0 -9
- package/esm/sdks/utilities/EventUtility.d.ts +0 -30
- package/esm/sdks/utilities/KeyboardUtility.d.ts +0 -73
- package/esm/sdks/utilities/MouseUtility.d.ts +0 -24
- package/esm/sdks/utilities/index.d.ts +0 -4
- package/esm/services/HttpService.d.ts +0 -22
- package/esm/services/SettingService.d.ts +0 -5
- package/esm/stores/app.d.ts +0 -44
- package/esm/stores/component.d.ts +0 -30
- package/esm/stores/config.d.ts +0 -55
- package/esm/stores/driver.d.ts +0 -37
- package/esm/stores/i18n.d.ts +0 -67
- package/esm/stores/layout.d.ts +0 -13
- package/esm/stores/log.d.ts +0 -20
- package/esm/stores/router.d.ts +0 -20
- package/esm/stores/setting.d.ts +0 -43
- package/esm/stores/socket.d.ts +0 -27
- package/esm/stores/user.d.ts +0 -40
@@ -0,0 +1,59 @@
|
|
1
|
+
import { defineComponent as g, toRefs as S, ref as x, resolveComponent as y, openBlock as B, createElementBlock as D, createElementVNode as c, toDisplayString as t, createVNode as r, unref as i, withCtx as a, createTextVNode as m } from "vue";
|
2
|
+
import { z as N, h as V, M as E } from "./main-Bs5Q5ZLl.js";
|
3
|
+
import "xlsx-js-style";
|
4
|
+
import "./vendor-crypto-js-ftX_aBC-.js";
|
5
|
+
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
6
|
+
import "./vendor-moment-h96o7c8I.js";
|
7
|
+
const M = { class: "delete" }, R = { class: "delete-title" }, q = { class: "delete-buttons" }, G = /* @__PURE__ */ g({
|
8
|
+
__name: "Delete",
|
9
|
+
props: {
|
10
|
+
base: {},
|
11
|
+
route: {},
|
12
|
+
url: {}
|
13
|
+
},
|
14
|
+
emits: ["navigate", "succeed", "close"],
|
15
|
+
setup(d, { emit: u }) {
|
16
|
+
let o = u, p = d, { base: _, route: f } = S(p), v = N(), l = x(), h = (e) => {
|
17
|
+
l.value = e.next;
|
18
|
+
};
|
19
|
+
(() => {
|
20
|
+
h(_.value.data);
|
21
|
+
})();
|
22
|
+
let k = () => {
|
23
|
+
let e = [f.value.query.id];
|
24
|
+
V.post(l.value.delete.route, e).then((s) => {
|
25
|
+
E.success(s.message), C();
|
26
|
+
});
|
27
|
+
}, C = () => {
|
28
|
+
v.toBackUrl(), o("succeed", "delete");
|
29
|
+
}, b = () => {
|
30
|
+
o("close");
|
31
|
+
};
|
32
|
+
return (e, s) => {
|
33
|
+
const n = y("el-button");
|
34
|
+
return B(), D("div", M, [
|
35
|
+
c("div", R, t(e.t("common.confirm_delete")), 1),
|
36
|
+
c("div", q, [
|
37
|
+
r(n, {
|
38
|
+
type: "danger",
|
39
|
+
onClick: i(k)
|
40
|
+
}, {
|
41
|
+
default: a(() => [
|
42
|
+
m(t(e.t("common.confirm")), 1)
|
43
|
+
]),
|
44
|
+
_: 1
|
45
|
+
}, 8, ["onClick"]),
|
46
|
+
r(n, { onClick: i(b) }, {
|
47
|
+
default: a(() => [
|
48
|
+
m(t(e.t("common.cancel")), 1)
|
49
|
+
]),
|
50
|
+
_: 1
|
51
|
+
}, 8, ["onClick"])
|
52
|
+
])
|
53
|
+
]);
|
54
|
+
};
|
55
|
+
}
|
56
|
+
});
|
57
|
+
export {
|
58
|
+
G as default
|
59
|
+
};
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { defineComponent as k, toRefs as C, resolveComponent as h, openBlock as v, createBlock as b, unref as o, withCtx as t, createVNode as i, createTextVNode as a, toDisplayString as c, createElementVNode as s } from "vue";
|
2
|
-
import { t as
|
2
|
+
import { t as x } from "./main-Bs5Q5ZLl.js";
|
3
|
+
import "xlsx-js-style";
|
4
|
+
import "./vendor-crypto-js-ftX_aBC-.js";
|
3
5
|
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
4
6
|
import "./vendor-moment-h96o7c8I.js";
|
5
|
-
|
6
|
-
import "xlsx-js-style";
|
7
|
-
const x = /* @__PURE__ */ s("i", { class: "fa fa-edit" }, null, -1), N = /* @__PURE__ */ s("i", { class: "fa fa-copy" }, null, -1), V = /* @__PURE__ */ s("i", { class: "fa fa-chevron-left" }, null, -1), q = /* @__PURE__ */ k({
|
7
|
+
const N = /* @__PURE__ */ s("i", { class: "fa fa-edit" }, null, -1), V = /* @__PURE__ */ s("i", { class: "fa fa-copy" }, null, -1), g = /* @__PURE__ */ s("i", { class: "fa fa-chevron-left" }, null, -1), q = /* @__PURE__ */ k({
|
8
8
|
__name: "Detail",
|
9
9
|
props: {
|
10
10
|
route: {},
|
@@ -14,26 +14,26 @@ const x = /* @__PURE__ */ s("i", { class: "fa fa-edit" }, null, -1), N = /* @__P
|
|
14
14
|
},
|
15
15
|
emits: ["copy", "edit", "close"],
|
16
16
|
setup(p, { emit: f }) {
|
17
|
-
let l = f, u = p, { route:
|
17
|
+
let l = f, u = p, { route: B, table: m, set: r, next: D } = C(u), d = (e) => {
|
18
18
|
l("copy", r.value[m.value.name][0], e);
|
19
19
|
}, _ = (e) => {
|
20
20
|
l("edit", r.value[m.value.name][0], e);
|
21
21
|
}, y = () => {
|
22
22
|
l("close");
|
23
23
|
};
|
24
|
-
return (e,
|
24
|
+
return (e, w) => {
|
25
25
|
const n = h("el-button");
|
26
|
-
return v(), b(o(
|
26
|
+
return v(), b(o(x), { padding: 5 }, {
|
27
27
|
default: t(() => [
|
28
28
|
i(n, {
|
29
29
|
type: "primary",
|
30
30
|
onClick: o(_)
|
31
31
|
}, {
|
32
32
|
icon: t(() => [
|
33
|
-
|
33
|
+
N
|
34
34
|
]),
|
35
35
|
default: t(() => [
|
36
|
-
a(" " + c(e
|
36
|
+
a(" " + c(e.t("common.modify")), 1)
|
37
37
|
]),
|
38
38
|
_: 1
|
39
39
|
}, 8, ["onClick"]),
|
@@ -43,19 +43,19 @@ const x = /* @__PURE__ */ s("i", { class: "fa fa-edit" }, null, -1), N = /* @__P
|
|
43
43
|
onClick: o(d)
|
44
44
|
}, {
|
45
45
|
icon: t(() => [
|
46
|
-
|
46
|
+
V
|
47
47
|
]),
|
48
48
|
default: t(() => [
|
49
|
-
a(" " + c(e
|
49
|
+
a(" " + c(e.t("common.copy")), 1)
|
50
50
|
]),
|
51
51
|
_: 1
|
52
52
|
}, 8, ["onClick"]),
|
53
53
|
i(n, { onClick: o(y) }, {
|
54
54
|
icon: t(() => [
|
55
|
-
|
55
|
+
g
|
56
56
|
]),
|
57
57
|
default: t(() => [
|
58
|
-
a(" " + c(e
|
58
|
+
a(" " + c(e.t("common.back")), 1)
|
59
59
|
]),
|
60
60
|
_: 1
|
61
61
|
}, 8, ["onClick"])
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent as g, toRefs as x, computed as o, resolveComponent as h, openBlock as r, createElementBlock as a, Fragment as V, renderList as S, unref as b, createBlock as k, normalizeStyle as B, withCtx as C, createTextVNode as N, toDisplayString as u, createCommentVNode as H } from "vue";
|
2
|
-
import { c as s, S as w, A } from "./main-
|
2
|
+
import { c as s, S as w, A } from "./main-Bs5Q5ZLl.js";
|
3
|
+
import "xlsx-js-style";
|
4
|
+
import "./vendor-crypto-js-ftX_aBC-.js";
|
3
5
|
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
4
6
|
import "./vendor-moment-h96o7c8I.js";
|
5
|
-
import "./vendor-crypto-js-ftX_aBC-.js";
|
6
|
-
import "xlsx-js-style";
|
7
7
|
const D = { class: "text-dictionary" }, E = {
|
8
8
|
key: 0,
|
9
9
|
class: "suffix"
|
@@ -26,7 +26,7 @@ const R = /* @__PURE__ */ f({
|
|
26
26
|
return h(), y(c, {
|
27
27
|
type: "email",
|
28
28
|
disabled: e(t).control.readonly,
|
29
|
-
placeholder: o
|
29
|
+
placeholder: o.t_field_placeholder(e(p).name, e(t).name),
|
30
30
|
onKeyup: x(e(r), ["enter", "native"]),
|
31
31
|
modelValue: e(l),
|
32
32
|
"onUpdate:modelValue": n[0] || (n[0] = (d) => g(l) ? l.value = d : l = d)
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { useRoute as
|
3
|
-
import {
|
1
|
+
import { defineComponent as O, toRefs as P, ref as T, resolveComponent as p, openBlock as l, createElementBlock as u, createVNode as g, unref as e, withCtx as r, createElementVNode as n, normalizeClass as q, Fragment as L, renderList as w, createBlock as h, toDisplayString as _, createTextVNode as S, createCommentVNode as x } from "vue";
|
2
|
+
import { useRoute as A, useRouter as G } from "vue-router";
|
3
|
+
import { i as F, n as H, h as I, q as K } from "./main-Bs5Q5ZLl.js";
|
4
|
+
import "xlsx-js-style";
|
5
|
+
import "./vendor-crypto-js-ftX_aBC-.js";
|
4
6
|
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
5
7
|
import "./vendor-moment-h96o7c8I.js";
|
6
|
-
import "./
|
7
|
-
import "xlsx-js-style";
|
8
|
-
import { _ as M } from "./SearchForm.vue_vue_type_style_index_0_lang-By2w2biv.js";
|
8
|
+
import { _ as M } from "./SearchForm.vue_vue_type_style_index_0_lang-BJeXUISp.js";
|
9
9
|
const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ */ n("i", { class: "fa fa-list" }, null, -1), X = [
|
10
10
|
W
|
11
11
|
], Y = /* @__PURE__ */ n("i", { class: "fa fa-image" }, null, -1), Z = [
|
@@ -16,7 +16,7 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
|
|
16
16
|
}, te = { class: "file-image" }, oe = ["src"], ae = { class: "file-title" }, le = { class: "file-name" }, ne = ["src", "alt"], se = { class: "file-title" }, re = {
|
17
17
|
key: 2,
|
18
18
|
class: "not-support"
|
19
|
-
}, he = /* @__PURE__ */
|
19
|
+
}, he = /* @__PURE__ */ O({
|
20
20
|
__name: "File",
|
21
21
|
props: {
|
22
22
|
searchData: {},
|
@@ -28,41 +28,41 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
|
|
28
28
|
set: {}
|
29
29
|
},
|
30
30
|
setup(N) {
|
31
|
-
let z = N, { schema: B, table: s, layout: i, next: d, set: b, searchData: ie } =
|
31
|
+
let z = N, { schema: B, table: s, layout: i, next: d, set: b, searchData: ie } = P(z), c = F(), f = A(), v = G(), k = T(), C = (t) => {
|
32
32
|
let a = { type: "fileLayout", value: t };
|
33
33
|
I.post("/user/config", a).then((y) => {
|
34
34
|
F.fileLayout = t;
|
35
35
|
});
|
36
|
-
},
|
36
|
+
}, D = (t) => {
|
37
37
|
let a = { ...f.query };
|
38
38
|
a.page = t, v.push({ path: d.value.paging.route, query: a });
|
39
39
|
}, V = () => {
|
40
40
|
let t = { ...f.query };
|
41
|
-
t.page = "1", t.condition = K.getBase64().encode(JSON.stringify(k.value));
|
41
|
+
t.page = "1", t.condition = K.getEncoder().getBase64().encode(JSON.stringify(k.value));
|
42
42
|
let a = { path: d.value.paging.route, query: t };
|
43
43
|
v.push(a);
|
44
44
|
};
|
45
45
|
return (t, a) => {
|
46
|
-
const y = p("router-link"),
|
46
|
+
const y = p("router-link"), E = p("el-table-column"), R = p("el-table"), j = p("el-button"), J = p("el-pagination");
|
47
47
|
return l(), u("div", Q, [
|
48
|
-
g(e(
|
49
|
-
title: t
|
48
|
+
g(e(H), {
|
49
|
+
title: t.t_module(t.module.type, t.module.name)
|
50
50
|
}, {
|
51
51
|
operation: r(() => [
|
52
52
|
n("div", U, [
|
53
53
|
n("a", {
|
54
|
-
class:
|
54
|
+
class: q({ active: e(c).fileLayout == "list" }),
|
55
55
|
onClick: a[0] || (a[0] = (o) => e(C)("list"))
|
56
56
|
}, X, 2),
|
57
57
|
n("a", {
|
58
|
-
class:
|
58
|
+
class: q({ active: e(c).fileLayout == "image" }),
|
59
59
|
onClick: a[1] || (a[1] = (o) => e(C)("image"))
|
60
60
|
}, Z, 2)
|
61
61
|
])
|
62
62
|
]),
|
63
63
|
append: r(() => [
|
64
64
|
e(c).fileLayout == "image" ? (l(), u("div", ee, [
|
65
|
-
(l(!0), u(
|
65
|
+
(l(!0), u(L, null, w(e(b)[e(s).name], (o, $) => (l(), h(y, {
|
66
66
|
class: "file",
|
67
67
|
to: { path: e(d).detail.route, query: { id: o[e(s).key.name], m: e(f).query.m } },
|
68
68
|
key: $
|
@@ -85,10 +85,10 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
|
|
85
85
|
data: e(b)[e(s).name]
|
86
86
|
}, {
|
87
87
|
empty: r(() => [
|
88
|
-
|
88
|
+
S(_(t.t("common.no_data")), 1)
|
89
89
|
]),
|
90
90
|
default: r(() => [
|
91
|
-
(l(!0), u(
|
91
|
+
(l(!0), u(L, null, w(e(s).show, (o, $) => (l(), h(E, {
|
92
92
|
"show-overflow-tooltip": "",
|
93
93
|
sortable: e(s) ? "custom" : !1,
|
94
94
|
"min-width": "180",
|
@@ -125,7 +125,7 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
|
|
125
125
|
]),
|
126
126
|
_: 1
|
127
127
|
}, 8, ["title"]),
|
128
|
-
g(
|
128
|
+
g(j, {
|
129
129
|
type: "primary",
|
130
130
|
icon: "el-icon-plus"
|
131
131
|
}, {
|
@@ -134,20 +134,20 @@ const Q = { class: "file-layout" }, U = { class: "toolbar" }, W = /* @__PURE__ *
|
|
134
134
|
to: { path: e(d).insert.route, query: { m: e(f).query.m } }
|
135
135
|
}, {
|
136
136
|
default: r(() => [
|
137
|
-
|
137
|
+
S("添加新" + _(e(s).title), 1)
|
138
138
|
]),
|
139
139
|
_: 1
|
140
140
|
}, 8, ["to"])
|
141
141
|
]),
|
142
142
|
_: 1
|
143
143
|
}),
|
144
|
-
g(
|
144
|
+
g(J, {
|
145
145
|
background: "",
|
146
146
|
layout: "total, prev, pager, next, jumper",
|
147
147
|
"current-page": e(i).page,
|
148
148
|
"page-size": e(i).pageSize,
|
149
149
|
total: e(i).count,
|
150
|
-
onCurrentChange: e(
|
150
|
+
onCurrentChange: e(D)
|
151
151
|
}, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
|
152
152
|
]);
|
153
153
|
};
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent as x, defineAsyncComponent as C, toRefs as D, computed as d, unref as e, openBlock as c, createBlock as f, withCtx as v, resolveDynamicComponent as b, isRef as w, createElementVNode as _, toDisplayString as h } from "vue";
|
2
|
-
import { S as N } from "./main-
|
2
|
+
import { S as N } from "./main-Bs5Q5ZLl.js";
|
3
|
+
import "xlsx-js-style";
|
4
|
+
import "./vendor-crypto-js-ftX_aBC-.js";
|
3
5
|
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
4
6
|
import "./vendor-moment-h96o7c8I.js";
|
5
|
-
import "./vendor-crypto-js-ftX_aBC-.js";
|
6
|
-
import "xlsx-js-style";
|
7
7
|
const H = /* @__PURE__ */ x({
|
8
8
|
__name: "Index",
|
9
9
|
props: {
|
@@ -16,7 +16,7 @@ const H = /* @__PURE__ */ x({
|
|
16
16
|
},
|
17
17
|
emits: ["submit", "change"],
|
18
18
|
setup(g, { emit: S }) {
|
19
|
-
let V = C(() => import("./TextLink-
|
19
|
+
let V = C(() => import("./TextLink-DKm6XbeF.js")), k = g, { schema: u, table: s, field: o, set: i, row: a, config: m } = D(k), p = d(() => {
|
20
20
|
let l = o.value.control.type;
|
21
21
|
return m.value && m.value.control && m.value.control.type ? m.value.control.type : l;
|
22
22
|
}), y = d(() => `text-${N.getDashName(p.value)}`), t = d({
|
@@ -46,7 +46,7 @@ const H = /* @__PURE__ */ x({
|
|
46
46
|
"onUpdate:modelValue": r[0] || (r[0] = (n) => w(t) ? t.value = n : t = n)
|
47
47
|
}, {
|
48
48
|
default: v(() => [
|
49
|
-
_("div", null, h(l
|
49
|
+
_("div", null, h(l.t("common.unsupported_text_control", e(p))), 1)
|
50
50
|
]),
|
51
51
|
_: 1
|
52
52
|
}, 8, ["schema", "table", "field", "set", "row", "modelValue"]))
|
@@ -63,7 +63,7 @@ const H = /* @__PURE__ */ x({
|
|
63
63
|
"onUpdate:modelValue": r[1] || (r[1] = (n) => w(t) ? t.value = n : t = n)
|
64
64
|
}, {
|
65
65
|
default: v(() => [
|
66
|
-
_("div", null, h(l
|
66
|
+
_("div", null, h(l.t("common.unsupported_text_control", e(p))), 1)
|
67
67
|
]),
|
68
68
|
_: 1
|
69
69
|
}, 8, ["schema", "table", "field", "set", "row", "modelValue"]));
|
@@ -1,76 +1,79 @@
|
|
1
|
-
import { defineComponent as P, ref as u, onMounted as D, computed as
|
1
|
+
import { defineComponent as P, ref as u, onMounted as D, computed as Q, watch as j, resolveComponent as c, openBlock as d, createElementBlock as h, createVNode as g, unref as t, withCtx as m, createElementVNode as n, toDisplayString as k, createBlock as v, createCommentVNode as b, isRef as T, withKeys as $, normalizeClass as Z, withModifiers as G, createTextVNode as F, Fragment as J, renderList as W, nextTick as K } from "vue";
|
2
2
|
import { useRoute as X } from "vue-router";
|
3
|
-
import { d as Y, u as ee, z as te,
|
3
|
+
import { d as Y, u as ee, z as te, q as oe, P as le, S as re, g as se, f as ne } from "./main-Bs5Q5ZLl.js";
|
4
|
+
import "xlsx-js-style";
|
5
|
+
import "./vendor-crypto-js-ftX_aBC-.js";
|
4
6
|
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
5
7
|
import "./vendor-moment-h96o7c8I.js";
|
6
|
-
|
8
|
+
import "element-plus";
|
9
|
+
const ae = { class: "login-container" }, ie = { class: "title-container" }, ue = { class: "title" }, de = /* @__PURE__ */ n("span", { class: "svg-container" }, [
|
7
10
|
/* @__PURE__ */ n("i", { class: "fa fa-user" })
|
8
|
-
], -1),
|
11
|
+
], -1), pe = /* @__PURE__ */ n("span", { class: "svg-container" }, [
|
9
12
|
/* @__PURE__ */ n("i", { class: "fa fa-key" })
|
10
|
-
], -1),
|
13
|
+
], -1), ce = { class: "btn-others" }, me = ["href"], fe = ["innerHTML"], Re = /* @__PURE__ */ P({
|
11
14
|
__name: "Index",
|
12
|
-
setup(
|
13
|
-
let a = u({ id: "", secret: "" }), p = u("password"), s = u(!1), _ = u(!1), C = u(), R = u(), w = u(), S = Y(), {
|
15
|
+
setup(_e) {
|
16
|
+
let a = u({ id: "", secret: "" }), p = u("password"), s = u(!1), _ = u(!1), C = u(), R = u(), w = u(), S = Y(), { t: i, t_sys: q } = ee(), U = te(), V = X(), x = oe.getSso(), H = {
|
14
17
|
id: [{
|
15
18
|
required: !0,
|
16
19
|
trigger: "blur",
|
17
20
|
validator: (o, e, r) => {
|
18
|
-
e ? e.indexOf("@") > -1 ?
|
21
|
+
e ? e.indexOf("@") > -1 ? re.isEmail(e) ? r() : r(new Error("邮箱格式不正确")) : r() : r(new Error(i("common.username_or_email") + " " + i("common.should_not_null")));
|
19
22
|
}
|
20
23
|
}]
|
21
24
|
// secret: [{required: true, trigger: 'blur', validator: validateSecret}]
|
22
25
|
}, I = (o) => {
|
23
26
|
o.key && o.key.length == 1 && (o.shiftKey && o.key >= "a" && o.key <= "z" || !o.shiftKey && o.key >= "A" && o.key <= "Z" ? s.value = !0 : s.value = !1), o.key == "CapsLock" && s.value == !0 && (s.value = !1);
|
24
|
-
},
|
25
|
-
p.value == "password" ? p.value = "" : p.value = "password",
|
27
|
+
}, B = () => {
|
28
|
+
p.value == "password" ? p.value = "" : p.value = "password", K(() => {
|
26
29
|
w.value.focus();
|
27
30
|
});
|
28
|
-
},
|
29
|
-
_.value = !0, C.value.validate((e) => {
|
31
|
+
}, E = async (o) => {
|
32
|
+
_.value = !0, C.value.validate(async (e) => {
|
30
33
|
if (!e)
|
31
34
|
return _.value = !1, !1;
|
32
|
-
|
33
|
-
|
35
|
+
(await x.create(o)).login(a.value).then(({ data: f }) => {
|
36
|
+
se.getBackUrl() ? U.toBackUrl() : U.to("/");
|
34
37
|
}).finally(() => {
|
35
|
-
|
38
|
+
K(() => {
|
36
39
|
_.value = !1;
|
37
40
|
});
|
38
41
|
});
|
39
42
|
});
|
40
|
-
}, M = (o) => {
|
41
|
-
let e =
|
42
|
-
return e.loginUrl(
|
43
|
+
}, M = async (o) => {
|
44
|
+
let e = await x.create(o), r = V.query.return_url, f = `${window.location.origin}/sso/callback?type=${o.toLowerCase()}&return_url=${r}`;
|
45
|
+
return e.loginUrl(ne.api.url + `/user/login?type=${o.toLowerCase()}&callback_url=` + encodeURIComponent(f));
|
43
46
|
}, N = (o) => Object.keys(o).reduce((e, r) => (e[r] = o[r], e), {});
|
44
47
|
D(() => {
|
45
|
-
|
48
|
+
le.setI18nTitle("common.login"), y.value != null && (a.value.id == "" ? R.value.focus() : a.value.secret == "" && w.value.focus());
|
46
49
|
});
|
47
|
-
let
|
48
|
-
return
|
50
|
+
let y = Q(() => S.ssos.find((e) => e.type.toUpperCase() == "BEARER"));
|
51
|
+
return j(() => V, (o) => {
|
49
52
|
debugger;
|
50
53
|
const e = o.query;
|
51
|
-
e && N(e);
|
54
|
+
e && (otherQuery = N(e));
|
52
55
|
}), (o, e) => {
|
53
|
-
const r =
|
54
|
-
return d(),
|
55
|
-
|
56
|
+
const r = c("el-input"), f = c("el-form-item"), L = c("el-tooltip"), O = c("el-button"), z = c("router-link"), A = c("el-form");
|
57
|
+
return d(), h("div", ae, [
|
58
|
+
g(A, {
|
56
59
|
ref_key: "loginFormRef",
|
57
60
|
ref: C,
|
58
61
|
autocomplete: "on",
|
59
62
|
"label-position": "left",
|
60
63
|
model: t(a),
|
61
|
-
rules: t(
|
64
|
+
rules: t(H)
|
62
65
|
}, {
|
63
66
|
default: m(() => [
|
64
|
-
n("div",
|
65
|
-
n("h3",
|
67
|
+
n("div", ie, [
|
68
|
+
n("h3", ue, k(t(q)("title")), 1)
|
66
69
|
]),
|
67
|
-
t(
|
70
|
+
t(y) ? (d(), v(f, {
|
68
71
|
key: 0,
|
69
72
|
prop: "id"
|
70
73
|
}, {
|
71
74
|
default: m(() => [
|
72
|
-
|
73
|
-
|
75
|
+
de,
|
76
|
+
g(r, {
|
74
77
|
ref_key: "idRef",
|
75
78
|
ref: R,
|
76
79
|
placeholder: t(i)("common.username_or_email"),
|
@@ -83,19 +86,19 @@ const ne = { class: "login-container" }, ae = { class: "title-container" }, ie =
|
|
83
86
|
}, null, 8, ["placeholder", "modelValue"])
|
84
87
|
]),
|
85
88
|
_: 1
|
86
|
-
})) :
|
87
|
-
t(
|
89
|
+
})) : b("", !0),
|
90
|
+
t(y) ? (d(), v(L, {
|
88
91
|
key: 1,
|
89
92
|
content: "Caps lock is On",
|
90
93
|
placement: "right",
|
91
94
|
manual: "",
|
92
95
|
modelValue: t(s),
|
93
|
-
"onUpdate:modelValue": e[5] || (e[5] = (l) =>
|
96
|
+
"onUpdate:modelValue": e[5] || (e[5] = (l) => T(s) ? s.value = l : s = l)
|
94
97
|
}, {
|
95
98
|
default: m(() => [
|
96
|
-
|
99
|
+
g(f, { prop: "secret" }, {
|
97
100
|
default: m(() => [
|
98
|
-
|
101
|
+
pe,
|
99
102
|
(d(), v(r, {
|
100
103
|
ref_key: "secretRef",
|
101
104
|
ref: w,
|
@@ -106,17 +109,17 @@ const ne = { class: "login-container" }, ae = { class: "title-container" }, ie =
|
|
106
109
|
tabindex: "2",
|
107
110
|
autocomplete: "on",
|
108
111
|
onKeyup: [
|
109
|
-
|
110
|
-
e[2] || (e[2] =
|
112
|
+
$(t(I), ["native"]),
|
113
|
+
e[2] || (e[2] = $((l) => t(E)("Bearer"), ["enter", "native"]))
|
111
114
|
],
|
112
|
-
onBlur: e[1] || (e[1] = (l) =>
|
115
|
+
onBlur: e[1] || (e[1] = (l) => T(s) ? s.value = !1 : s = !1),
|
113
116
|
modelValue: t(a).secret,
|
114
117
|
"onUpdate:modelValue": e[3] || (e[3] = (l) => t(a).secret = l)
|
115
118
|
}, null, 8, ["type", "placeholder", "onKeyup", "modelValue"])),
|
116
119
|
n("span", {
|
117
120
|
class: "btn-pwd",
|
118
121
|
onClick: e[4] || (e[4] = //@ts-ignore
|
119
|
-
(...l) => t(
|
122
|
+
(...l) => t(B) && t(B)(...l))
|
120
123
|
}, [
|
121
124
|
n("i", {
|
122
125
|
class: Z(t(p) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
|
@@ -127,29 +130,29 @@ const ne = { class: "login-container" }, ae = { class: "title-container" }, ie =
|
|
127
130
|
})
|
128
131
|
]),
|
129
132
|
_: 1
|
130
|
-
}, 8, ["modelValue"])) :
|
131
|
-
t(
|
133
|
+
}, 8, ["modelValue"])) : b("", !0),
|
134
|
+
t(y) ? (d(), v(O, {
|
132
135
|
key: 2,
|
133
136
|
type: "primary",
|
134
137
|
class: "btn-login",
|
135
138
|
loading: t(_),
|
136
|
-
onClick: e[6] || (e[6] = G((l) => t(
|
139
|
+
onClick: e[6] || (e[6] = G((l) => t(E)("Bearer"), ["prevent"]))
|
137
140
|
}, {
|
138
141
|
default: m(() => [
|
139
|
-
|
142
|
+
F(k(t(i)("common.login")), 1)
|
140
143
|
]),
|
141
144
|
_: 1
|
142
|
-
}, 8, ["loading"])) :
|
143
|
-
n("div",
|
144
|
-
(d(!0),
|
145
|
+
}, 8, ["loading"])) : b("", !0),
|
146
|
+
n("div", ce, [
|
147
|
+
(d(!0), h(J, null, W(t(S).ssos.filter((l) => l.type.toUpperCase() != "BEARER"), (l) => (d(), h("a", {
|
145
148
|
href: t(M)(l.type)
|
146
|
-
}, k(t(i)(l.text)), 9,
|
147
|
-
|
149
|
+
}, k(t(i)(l.text)), 9, me))), 256)),
|
150
|
+
g(z, {
|
148
151
|
class: "btn-register",
|
149
152
|
to: "/register"
|
150
153
|
}, {
|
151
154
|
default: m(() => [
|
152
|
-
|
155
|
+
F(k(t(i)("common.register")), 1)
|
153
156
|
]),
|
154
157
|
_: 1
|
155
158
|
})
|
@@ -160,11 +163,11 @@ const ne = { class: "login-container" }, ae = { class: "title-container" }, ie =
|
|
160
163
|
n("div", {
|
161
164
|
class: "powered-by",
|
162
165
|
innerHTML: t(i)("sys.powered_by")
|
163
|
-
}, null, 8,
|
166
|
+
}, null, 8, fe)
|
164
167
|
]);
|
165
168
|
};
|
166
169
|
}
|
167
170
|
});
|
168
171
|
export {
|
169
|
-
|
172
|
+
Re as default
|
170
173
|
};
|
@@ -25,7 +25,7 @@ const x = { class: "not-support" }, k = /* @__PURE__ */ u({
|
|
25
25
|
"onUpdate:modelValue": l[0] || (l[0] = (p) => e(n)[e(a).name][e(t).name] = p)
|
26
26
|
}, {
|
27
27
|
default: C(() => [
|
28
|
-
D("div", x, V(o
|
28
|
+
D("div", x, V(o.t("paging.not_implemented_search_control", e(t).search.control)), 1)
|
29
29
|
]),
|
30
30
|
_: 1
|
31
31
|
}, 40, ["schema", "table", "field", "search-data", "onChange", "onSubmit", "modelValue"]));
|