halo-pc 1.0.1 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- 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/layouts/index.d.ts +2 -2
- 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/Article-D4qXG55i.js +0 -195
- package/dist/ArticleFooter-BAf1rKUX.js +0 -78
- package/dist/Autocomplete-BOxOjTFs.js +0 -51
- package/dist/Autocomplete-BdKldPfG.js +0 -27
- package/dist/Autocomplete-CV4D7693.js +0 -52
- package/dist/CSharp-D_fhmKNi.js +0 -27
- package/dist/Calender-B1bjnNK5.js +0 -10
- package/dist/Callback-DjHhgx-q.js +0 -20
- package/dist/Cascader-B6OhUHVe.js +0 -44
- package/dist/Cascader-K4fh1YbW.js +0 -83
- package/dist/Checkbox-CkfHA52y.js +0 -27
- package/dist/Checkbox-D928Sp6S.js +0 -69
- package/dist/Code-3c6-02U1.js +0 -39
- package/dist/Code-BTDq_0B6.js +0 -57
- package/dist/Code-C4HjQm82.js +0 -28
- package/dist/Code-RAklwsI8.js +0 -4
- package/dist/Code.vue_vue_type_style_index_0_lang-zfBqeJue.js +0 -62
- package/dist/Color-CfXtJFUo.js +0 -22
- package/dist/Color-Da69pnQg.js +0 -34
- package/dist/Column-D9Kx2OQ2.js +0 -68
- package/dist/Comment-DCArar0n.js +0 -101
- package/dist/Compare-7rmSR2Vp.js +0 -57
- package/dist/Compare-D-WXTccH.js +0 -27
- package/dist/Copy-DkFCsKxT.js +0 -43
- package/dist/Custom-a5LNK1fz.js +0 -52
- package/dist/DataExport-CNacxrr6.js +0 -4
- package/dist/DataExport.vue_vue_type_script_setup_true_lang-Dnt8MHYd.js +0 -111
- package/dist/DataImport-Dm86g3rr.js +0 -4
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-DieNCc_-.js +0 -172
- package/dist/Date-2zsvAlTg.js +0 -27
- package/dist/Date-B9tmMFuT.js +0 -36
- package/dist/DateRange-DM7_QCBw.js +0 -60
- package/dist/DateRange-DrYK_l0Y.js +0 -19
- package/dist/DateTime-Ce1NnyqQ.js +0 -37
- package/dist/DateTime-DMECNCs4.js +0 -27
- package/dist/DateTimeRange-Cr_pV6VX.js +0 -61
- package/dist/Daterange-b5lnauDR.js +0 -60
- package/dist/Decimal-C38-N54B.js +0 -36
- package/dist/Decimal-DtTHo5uv.js +0 -27
- package/dist/Delete-CJYIlwyA.js +0 -55
- package/dist/Detail-vOrhBm_q.js +0 -69
- package/dist/Dictionary-B9oe1_S6.js +0 -58
- package/dist/Email-BGc1mV9s.js +0 -47
- package/dist/Email-BKW9GRcH.js +0 -19
- package/dist/File-Bmnp2oNs.js +0 -157
- package/dist/Image-8u9oIiGp.js +0 -9
- package/dist/Index-9AheG9bs.js +0 -4
- package/dist/Index-BNXlbQ4E.js +0 -4
- package/dist/Index-B_P8rY63.js +0 -4
- package/dist/Index-CS11p-lU.js +0 -73
- package/dist/Index-CSqSf17l.js +0 -4
- package/dist/Index-DiMWhBFC.js +0 -4
- package/dist/Index-DtM8VZwV.js +0 -170
- package/dist/Index-ujUgBmOq.js +0 -4
- package/dist/Index.vue_vue_type_script_setup_true_lang-BPj8s6sN.js +0 -68
- package/dist/Index.vue_vue_type_script_setup_true_lang-CKE6hz5m.js +0 -75
- package/dist/Index.vue_vue_type_script_setup_true_lang-gv23r-9D.js +0 -36
- package/dist/Index.vue_vue_type_style_index_0_lang-CqDJToNR.js +0 -112
- package/dist/Install-DU27ycRi.js +0 -129
- package/dist/Int-AE2e9jyG.js +0 -37
- package/dist/Int-B-t8edhd.js +0 -19
- package/dist/Int-BuRUWpC5.js +0 -44
- package/dist/List-DmUA_Qjf.js +0 -75
- package/dist/Maintaince-BxK8vEL8.js +0 -15
- package/dist/Markdown-BzMP3m7o.js +0 -37
- package/dist/Markdown-DuJREXXg.js +0 -27
- package/dist/Month-BVKakHhk.js +0 -36
- package/dist/Month-D366v-0Q.js +0 -27
- package/dist/Month-D9r3wt_e.js +0 -37
- package/dist/Normal-CPn8hp3t.js +0 -253
- package/dist/Paging-D1DvQER2.js +0 -93
- package/dist/PagingHeader-CBXHiUXR.js +0 -140
- package/dist/PagingRow-tny-wHwu.js +0 -66
- package/dist/Password-DuyYEgzR.js +0 -55
- package/dist/Password-yHtlY-Qa.js +0 -24
- package/dist/Progress-C3D821AQ.js +0 -34
- package/dist/Progress-CKVzMO-W.js +0 -25
- package/dist/QueryApi-B7_jCs5e.js +0 -13
- package/dist/Racebar-ng-7K86M.js +0 -165
- package/dist/Radio-DW7t0gUT.js +0 -27
- package/dist/Radio-DkcBKBvX.js +0 -47
- package/dist/Rate-B7jKTFKT.js +0 -34
- package/dist/Rate-BmC4gw_0.js +0 -34
- package/dist/Register-oG9MMCqJ.js +0 -201
- package/dist/RichText-Bk0Msyhl.js +0 -22
- package/dist/RichText-Bpw54w7L.js +0 -104
- package/dist/SearchFooter-TOtn9psJ.js +0 -4
- package/dist/SearchFooter.vue_vue_type_style_index_0_lang-aQwf-Jl6.js +0 -55
- package/dist/SearchForm-tCH9rcrw.js +0 -4
- package/dist/SearchForm.vue_vue_type_style_index_0_lang-U5f9oExf.js +0 -148
- package/dist/Select-CGOTSJVh.js +0 -114
- package/dist/Select-DhpaFdqx.js +0 -27
- package/dist/Select-Dz8akTqG.js +0 -80
- package/dist/Single-BETJuNyR.js +0 -322
- package/dist/Statistic-B_mgjlnr.js +0 -76
- package/dist/Statistic-DzF-1c5_.js +0 -160
- package/dist/Stock-9Ja_G9Dg.js +0 -28
- package/dist/Stock-CfI244Nf.js +0 -4
- package/dist/Stock.vue_vue_type_style_index_0_lang-DbTd0pjx.js +0 -301
- package/dist/Switch-DhFaku5L.js +0 -50
- package/dist/Switch-HAej2klZ.js +0 -27
- package/dist/Table-Bes5hPBu.js +0 -238
- package/dist/Table-Q1QCTkqH.js +0 -317
- package/dist/Text-CLMVbFyi.js +0 -52
- package/dist/Text-DgINICKw.js +0 -4
- package/dist/Text-EQNK15_K.js +0 -51
- package/dist/Text.vue_vue_type_style_index_0_lang-Bw2lRC5n.js +0 -55
- package/dist/TextLink-o-e-724y.js +0 -65
- package/dist/Textarea-2hZMIygc.js +0 -28
- package/dist/Textarea-D9TgF9ig.js +0 -37
- package/dist/Time-CRVru-6c.js +0 -36
- package/dist/Timeline-B2unIcOQ.js +0 -56
- package/dist/Tree-Bt7FIc2Z.js +0 -120
- package/dist/Tree-DO2eaZZT.js +0 -294
- package/dist/TreeNode-k4qKfs3W.js +0 -37
- package/dist/Tree_Old-h__WmqFA.js +0 -11
- package/dist/Update-BH1SivST.js +0 -64
- package/dist/UpdateChild-CA0P17tZ.js +0 -85
- package/dist/Upload-Bhp3QMff.js +0 -70
- package/dist/Upload-Cw7Ln3cd.js +0 -146
- package/dist/UploadApi-DdQy8bcl.js +0 -17
- package/dist/Year-DBuvSBYN.js +0 -40
- package/dist/Year-Q2Y-HAuh.js +0 -27
- package/dist/main-iF34LtMW.js +0 -6023
- package/dist/main.js +0 -91
- package/dist/style.css +0 -1
- package/dist/vendor-@intlify-BISCQg1h.js +0 -2189
- package/dist/vendor-@monaco-editor-DKC4UNw_.js +0 -258
- package/dist/vendor-@vue-aVYGocXp.js +0 -93
- package/dist/vendor-axios-ud9O0vdJ.js +0 -1670
- package/dist/vendor-clipboard-BqjesuiY.js +0 -521
- package/dist/vendor-clone-BPtCWdXG.js +0 -134
- package/dist/vendor-crypto-js-ftX_aBC-.js +0 -4995
- package/dist/vendor-element-plus-Z7vJFrsh.js +0 -456
- package/dist/vendor-file-saver-CytTIJ-3.js +0 -74
- package/dist/vendor-intro.js-CZkClzQO.js +0 -1695
- package/dist/vendor-moment-h96o7c8I.js +0 -2578
- package/dist/vendor-pinia-yrN6kSxh.js +0 -861
- 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/dist/vendor-vue-demi-CIhrFbpB.js +0 -17
- package/dist/vendor-vue-i18n-C3KH15Qn.js +0 -1670
- 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 -13
- package/esm/drivers/cdns/CdnFactory.d.ts +0 -11
- package/esm/drivers/cdns/ICdn.d.ts +0 -30
- package/esm/drivers/cdns/implements/BootCdn.d.ts +0 -8
- package/esm/drivers/cdns/implements/JsdelivrCdn.d.ts +0 -11
- package/esm/drivers/cdns/implements/LocalCdn.d.ts +0 -8
- package/esm/drivers/cdns/implements/StaticFileCdn.d.ts +0 -8
- package/esm/drivers/cdns/implements/UnpkgCdn.d.ts +0 -8
- package/esm/drivers/driver-helper.d.ts +0 -36
- 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/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 -8
- package/esm/drivers/requesters/RequesterFactory.d.ts +0 -11
- 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/signers/ISigner.d.ts +0 -33
- package/esm/drivers/signers/SignerFactory.d.ts +0 -11
- package/esm/drivers/signers/implements/DefaultSigner.d.ts +0 -16
- 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/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 -25
- package/esm/sdks/helpers/json-helper.d.ts +0 -27
- 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/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
package/dist/Index-CS11p-lU.js
DELETED
@@ -1,73 +0,0 @@
|
|
1
|
-
import { defineComponent as x, defineAsyncComponent as C, toRefs as D, computed as p, 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-iF34LtMW.js";
|
3
|
-
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
4
|
-
import "./vendor-moment-h96o7c8I.js";
|
5
|
-
import "xlsx-js-style";
|
6
|
-
const E = /* @__PURE__ */ x({
|
7
|
-
__name: "Index",
|
8
|
-
props: {
|
9
|
-
schema: {},
|
10
|
-
table: {},
|
11
|
-
field: {},
|
12
|
-
set: {},
|
13
|
-
row: {},
|
14
|
-
config: {}
|
15
|
-
},
|
16
|
-
emits: ["submit", "change"],
|
17
|
-
setup(g, { emit: S }) {
|
18
|
-
let V = C(() => import("./TextLink-o-e-724y.js")), k = g, { schema: u, table: s, field: o, set: i, row: a, config: m } = D(k), d = p(() => {
|
19
|
-
let l = o.value.control.type;
|
20
|
-
return m.value && m.value.control && m.value.control.type ? m.value.control.type : l;
|
21
|
-
}), y = p(() => `text-${N.getDashName(d.value)}`), t = p({
|
22
|
-
get() {
|
23
|
-
return a.value[o.value.name];
|
24
|
-
},
|
25
|
-
set(l) {
|
26
|
-
a.value[o.value.name] = l;
|
27
|
-
}
|
28
|
-
});
|
29
|
-
return (l, r) => e(o).link ? (c(), f(e(V), {
|
30
|
-
key: 0,
|
31
|
-
schema: e(u),
|
32
|
-
table: e(s),
|
33
|
-
field: e(o),
|
34
|
-
set: e(i),
|
35
|
-
row: e(a)
|
36
|
-
}, {
|
37
|
-
default: v(() => [
|
38
|
-
(c(), f(b(e(y)), {
|
39
|
-
schema: e(u),
|
40
|
-
table: e(s),
|
41
|
-
field: e(o),
|
42
|
-
set: e(i),
|
43
|
-
row: e(a),
|
44
|
-
modelValue: e(t),
|
45
|
-
"onUpdate:modelValue": r[0] || (r[0] = (n) => w(t) ? t.value = n : t = n)
|
46
|
-
}, {
|
47
|
-
default: v(() => [
|
48
|
-
_("div", null, h(l.$t("common.unsupported_text_control", [e(d)])), 1)
|
49
|
-
]),
|
50
|
-
_: 1
|
51
|
-
}, 8, ["schema", "table", "field", "set", "row", "modelValue"]))
|
52
|
-
]),
|
53
|
-
_: 1
|
54
|
-
}, 8, ["schema", "table", "field", "set", "row"])) : (c(), f(b(e(y)), {
|
55
|
-
key: 1,
|
56
|
-
schema: e(u),
|
57
|
-
table: e(s),
|
58
|
-
field: e(o),
|
59
|
-
set: e(i),
|
60
|
-
row: e(a),
|
61
|
-
modelValue: e(t),
|
62
|
-
"onUpdate:modelValue": r[1] || (r[1] = (n) => w(t) ? t.value = n : t = n)
|
63
|
-
}, {
|
64
|
-
default: v(() => [
|
65
|
-
_("div", null, h(l.$t("common.unsupported_text_control", [e(d)])), 1)
|
66
|
-
]),
|
67
|
-
_: 1
|
68
|
-
}, 8, ["schema", "table", "field", "set", "row", "modelValue"]));
|
69
|
-
}
|
70
|
-
});
|
71
|
-
export {
|
72
|
-
E as default
|
73
|
-
};
|
package/dist/Index-CSqSf17l.js
DELETED
package/dist/Index-DiMWhBFC.js
DELETED
package/dist/Index-DtM8VZwV.js
DELETED
@@ -1,170 +0,0 @@
|
|
1
|
-
import { defineComponent as P, ref as u, onMounted as D, computed as j, watch as Q, resolveComponent as f, openBlock as d, createElementBlock as b, createVNode as y, unref as t, withCtx as m, createElementVNode as n, toDisplayString as k, createBlock as v, createCommentVNode as h, isRef as $, withKeys as L, normalizeClass as Z, withModifiers as G, createTextVNode as T, Fragment as J, renderList as W, nextTick as H } from "vue";
|
2
|
-
import { useRoute as X } from "vue-router";
|
3
|
-
import { d as Y, u as ee, z as te, P as oe, S as le, q as K, g as re, f as se } from "./main-iF34LtMW.js";
|
4
|
-
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
5
|
-
import "./vendor-moment-h96o7c8I.js";
|
6
|
-
const ne = { class: "login-container" }, ae = { class: "title-container" }, ie = { class: "title" }, ue = /* @__PURE__ */ n("span", { class: "svg-container" }, [
|
7
|
-
/* @__PURE__ */ n("i", { class: "fa fa-user" })
|
8
|
-
], -1), de = /* @__PURE__ */ n("span", { class: "svg-container" }, [
|
9
|
-
/* @__PURE__ */ n("i", { class: "fa fa-key" })
|
10
|
-
], -1), pe = { class: "btn-others" }, fe = ["href"], me = ["innerHTML"], we = /* @__PURE__ */ P({
|
11
|
-
__name: "Index",
|
12
|
-
setup(ce) {
|
13
|
-
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(), F = {
|
14
|
-
id: [{
|
15
|
-
required: !0,
|
16
|
-
trigger: "blur",
|
17
|
-
validator: (o, e, r) => {
|
18
|
-
e ? e.indexOf("@") > -1 ? le.isEmail(e) ? r() : r(new Error("邮箱格式不正确")) : r() : r(new Error(i("common.username_or_email") + " " + i("common.should_not_null")));
|
19
|
-
}
|
20
|
-
}]
|
21
|
-
// secret: [{required: true, trigger: 'blur', validator: validateSecret}]
|
22
|
-
}, I = (o) => {
|
23
|
-
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
|
-
}, x = () => {
|
25
|
-
p.value == "password" ? p.value = "" : p.value = "password", H(() => {
|
26
|
-
w.value.focus();
|
27
|
-
});
|
28
|
-
}, B = (o) => {
|
29
|
-
_.value = !0, C.value.validate((e) => {
|
30
|
-
if (!e)
|
31
|
-
return _.value = !1, !1;
|
32
|
-
K.getSso(o).login(a.value).then(({ data: c }) => {
|
33
|
-
re.getBackUrl() ? U.toBackUrl() : U.to("/");
|
34
|
-
}).finally(() => {
|
35
|
-
H(() => {
|
36
|
-
_.value = !1;
|
37
|
-
});
|
38
|
-
});
|
39
|
-
});
|
40
|
-
}, M = (o) => {
|
41
|
-
let e = K.getSso(o), r = V.query.return_url, c = `${window.location.origin}/sso/callback?type=${o.toLowerCase()}&return_url=${r}`;
|
42
|
-
return e.loginUrl(se.api.url + `/user/login?type=${o.toLowerCase()}&callback_url=` + encodeURIComponent(c));
|
43
|
-
}, N = (o) => Object.keys(o).reduce((e, r) => (e[r] = o[r], e), {});
|
44
|
-
D(() => {
|
45
|
-
oe.setI18nTitle("common.login"), g.value != null && (a.value.id == "" ? R.value.focus() : a.value.secret == "" && w.value.focus());
|
46
|
-
});
|
47
|
-
let g = j(() => S.ssos.find((e) => e.type.toUpperCase() == "BEARER"));
|
48
|
-
return Q(() => V, (o) => {
|
49
|
-
debugger;
|
50
|
-
const e = o.query;
|
51
|
-
e && N(e);
|
52
|
-
}), (o, e) => {
|
53
|
-
const r = f("el-input"), c = f("el-form-item"), E = f("el-tooltip"), O = f("el-button"), z = f("router-link"), A = f("el-form");
|
54
|
-
return d(), b("div", ne, [
|
55
|
-
y(A, {
|
56
|
-
ref_key: "loginFormRef",
|
57
|
-
ref: C,
|
58
|
-
autocomplete: "on",
|
59
|
-
"label-position": "left",
|
60
|
-
model: t(a),
|
61
|
-
rules: t(F)
|
62
|
-
}, {
|
63
|
-
default: m(() => [
|
64
|
-
n("div", ae, [
|
65
|
-
n("h3", ie, k(t(q)("title")), 1)
|
66
|
-
]),
|
67
|
-
t(g) ? (d(), v(c, {
|
68
|
-
key: 0,
|
69
|
-
prop: "id"
|
70
|
-
}, {
|
71
|
-
default: m(() => [
|
72
|
-
ue,
|
73
|
-
y(r, {
|
74
|
-
ref_key: "idRef",
|
75
|
-
ref: R,
|
76
|
-
placeholder: t(i)("common.username_or_email"),
|
77
|
-
name: "id",
|
78
|
-
type: "text",
|
79
|
-
tabindex: "1",
|
80
|
-
autocomplete: "on",
|
81
|
-
modelValue: t(a).id,
|
82
|
-
"onUpdate:modelValue": e[0] || (e[0] = (l) => t(a).id = l)
|
83
|
-
}, null, 8, ["placeholder", "modelValue"])
|
84
|
-
]),
|
85
|
-
_: 1
|
86
|
-
})) : h("", !0),
|
87
|
-
t(g) ? (d(), v(E, {
|
88
|
-
key: 1,
|
89
|
-
content: "Caps lock is On",
|
90
|
-
placement: "right",
|
91
|
-
manual: "",
|
92
|
-
modelValue: t(s),
|
93
|
-
"onUpdate:modelValue": e[5] || (e[5] = (l) => $(s) ? s.value = l : s = l)
|
94
|
-
}, {
|
95
|
-
default: m(() => [
|
96
|
-
y(c, { prop: "secret" }, {
|
97
|
-
default: m(() => [
|
98
|
-
de,
|
99
|
-
(d(), v(r, {
|
100
|
-
ref_key: "secretRef",
|
101
|
-
ref: w,
|
102
|
-
key: t(p),
|
103
|
-
type: t(p),
|
104
|
-
placeholder: t(i)("common.password"),
|
105
|
-
name: "secret",
|
106
|
-
tabindex: "2",
|
107
|
-
autocomplete: "on",
|
108
|
-
onKeyup: [
|
109
|
-
L(t(I), ["native"]),
|
110
|
-
e[2] || (e[2] = L((l) => t(B)("Bearer"), ["enter", "native"]))
|
111
|
-
],
|
112
|
-
onBlur: e[1] || (e[1] = (l) => $(s) ? s.value = !1 : s = !1),
|
113
|
-
modelValue: t(a).secret,
|
114
|
-
"onUpdate:modelValue": e[3] || (e[3] = (l) => t(a).secret = l)
|
115
|
-
}, null, 8, ["type", "placeholder", "onKeyup", "modelValue"])),
|
116
|
-
n("span", {
|
117
|
-
class: "btn-pwd",
|
118
|
-
onClick: e[4] || (e[4] = //@ts-ignore
|
119
|
-
(...l) => t(x) && t(x)(...l))
|
120
|
-
}, [
|
121
|
-
n("i", {
|
122
|
-
class: Z(t(p) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
|
123
|
-
}, null, 2)
|
124
|
-
])
|
125
|
-
]),
|
126
|
-
_: 1
|
127
|
-
})
|
128
|
-
]),
|
129
|
-
_: 1
|
130
|
-
}, 8, ["modelValue"])) : h("", !0),
|
131
|
-
t(g) ? (d(), v(O, {
|
132
|
-
key: 2,
|
133
|
-
type: "primary",
|
134
|
-
class: "btn-login",
|
135
|
-
loading: t(_),
|
136
|
-
onClick: e[6] || (e[6] = G((l) => t(B)("Bearer"), ["prevent"]))
|
137
|
-
}, {
|
138
|
-
default: m(() => [
|
139
|
-
T(k(t(i)("common.login")), 1)
|
140
|
-
]),
|
141
|
-
_: 1
|
142
|
-
}, 8, ["loading"])) : h("", !0),
|
143
|
-
n("div", pe, [
|
144
|
-
(d(!0), b(J, null, W(t(S).ssos.filter((l) => l.type.toUpperCase() != "BEARER"), (l) => (d(), b("a", {
|
145
|
-
href: t(M)(l.type)
|
146
|
-
}, k(t(i)(l.text)), 9, fe))), 256)),
|
147
|
-
y(z, {
|
148
|
-
class: "btn-register",
|
149
|
-
to: "/register"
|
150
|
-
}, {
|
151
|
-
default: m(() => [
|
152
|
-
T(k(t(i)("common.register")), 1)
|
153
|
-
]),
|
154
|
-
_: 1
|
155
|
-
})
|
156
|
-
])
|
157
|
-
]),
|
158
|
-
_: 1
|
159
|
-
}, 8, ["model", "rules"]),
|
160
|
-
n("div", {
|
161
|
-
class: "powered-by",
|
162
|
-
innerHTML: t(i)("sys.powered_by")
|
163
|
-
}, null, 8, me)
|
164
|
-
]);
|
165
|
-
};
|
166
|
-
}
|
167
|
-
});
|
168
|
-
export {
|
169
|
-
we as default
|
170
|
-
};
|
package/dist/Index-ujUgBmOq.js
DELETED
@@ -1,68 +0,0 @@
|
|
1
|
-
import { defineComponent as E, toRefs as x, ref as R, onMounted as k, openBlock as u, createElementBlock as z, Fragment as B, createVNode as L, unref as e, createBlock as S, resolveDynamicComponent as $, withCtx as D, createElementVNode as N, toDisplayString as V } from "vue";
|
2
|
-
import { r as F } from "./main-iF34LtMW.js";
|
3
|
-
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
4
|
-
import "./vendor-moment-h96o7c8I.js";
|
5
|
-
import "xlsx-js-style";
|
6
|
-
import "vue-router";
|
7
|
-
import "./vendor-intro.js-CZkClzQO.js";
|
8
|
-
const I = { class: "not-support" }, K = /* @__PURE__ */ E({
|
9
|
-
__name: "Index",
|
10
|
-
props: {
|
11
|
-
route: {},
|
12
|
-
validateErrors: {},
|
13
|
-
module: {},
|
14
|
-
schema: {},
|
15
|
-
table: {},
|
16
|
-
layout: {},
|
17
|
-
next: {},
|
18
|
-
set: {}
|
19
|
-
},
|
20
|
-
emits: ["layout-change", "row-edit", "change", "submit"],
|
21
|
-
setup(s, { expose: i, emit: m }) {
|
22
|
-
let o = m, p = s, { module: d, schema: c, table: l, layout: a, next: y, set: h } = x(p), r = R(), f = (t) => {
|
23
|
-
o("layout-change", t);
|
24
|
-
}, g = (t, n, w) => {
|
25
|
-
o("row-edit", t, n, w);
|
26
|
-
}, _ = () => {
|
27
|
-
o("change");
|
28
|
-
}, b = (t) => {
|
29
|
-
o("submit", t);
|
30
|
-
}, v = (t) => {
|
31
|
-
}, C = (t) => {
|
32
|
-
if (!r.value || !r.value.resize)
|
33
|
-
return !1;
|
34
|
-
r.value.resize(t);
|
35
|
-
};
|
36
|
-
return k(() => {
|
37
|
-
}), i({ update: v, resize: C }), (t, n) => (u(), z(B, null, [
|
38
|
-
L(e(F), {
|
39
|
-
layout: e(a),
|
40
|
-
table: e(l),
|
41
|
-
onLayoutChange: e(f)
|
42
|
-
}, null, 8, ["layout", "table", "onLayoutChange"]),
|
43
|
-
(u(), S($(`update-${e(a).type.toLowerCase()}`), {
|
44
|
-
ref_key: "layoutRef",
|
45
|
-
ref: r,
|
46
|
-
module: e(d),
|
47
|
-
schema: e(c),
|
48
|
-
table: e(l),
|
49
|
-
layout: e(a),
|
50
|
-
next: e(y),
|
51
|
-
set: e(h),
|
52
|
-
route: t.route,
|
53
|
-
"validate-errors": t.validateErrors,
|
54
|
-
onRowEdit: e(g),
|
55
|
-
onChange: e(_),
|
56
|
-
onSubmit: e(b)
|
57
|
-
}, {
|
58
|
-
default: D(() => [
|
59
|
-
N("div", I, V(t.$t("single.not_supported_layout", e(a).type)), 1)
|
60
|
-
]),
|
61
|
-
_: 1
|
62
|
-
}, 40, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onRowEdit", "onChange", "onSubmit"]))
|
63
|
-
], 64));
|
64
|
-
}
|
65
|
-
});
|
66
|
-
export {
|
67
|
-
K as _
|
68
|
-
};
|
@@ -1,75 +0,0 @@
|
|
1
|
-
import { defineComponent as k, toRefs as D, ref as N, openBlock as r, createElementBlock as B, Fragment as L, createVNode as R, unref as e, createBlock as w, resolveDynamicComponent as E, withCtx as P, createElementVNode as V, toDisplayString as $ } from "vue";
|
2
|
-
import { r as F } from "./main-iF34LtMW.js";
|
3
|
-
const I = { class: "not-support" }, H = /* @__PURE__ */ k({
|
4
|
-
__name: "Index",
|
5
|
-
props: {
|
6
|
-
searchData: {},
|
7
|
-
module: {},
|
8
|
-
schema: {},
|
9
|
-
table: {},
|
10
|
-
layout: {},
|
11
|
-
next: {},
|
12
|
-
set: {}
|
13
|
-
},
|
14
|
-
emits: ["navigate", "sort", "search", "page-change", "size-change", "succeed", "close", "layout-change"],
|
15
|
-
setup(c, { expose: u, emit: g }) {
|
16
|
-
let o = g, i = c, { module: h, schema: m, table: s, layout: l, next: p, set: d, searchData: y } = D(i), n = N(), f = (a, t) => {
|
17
|
-
o("navigate", a, t);
|
18
|
-
}, C = (a, t) => {
|
19
|
-
o("sort", a, t);
|
20
|
-
}, v = (a) => {
|
21
|
-
o("search", a);
|
22
|
-
}, _ = (a, t = null) => {
|
23
|
-
o("page-change", a, t);
|
24
|
-
}, b = (a, t = null) => {
|
25
|
-
o("size-change", a, t);
|
26
|
-
}, x = (a = null) => {
|
27
|
-
o("succeed", a);
|
28
|
-
}, z = () => {
|
29
|
-
o("close");
|
30
|
-
}, S = (a) => {
|
31
|
-
o("layout-change", a);
|
32
|
-
};
|
33
|
-
return u({ resize: (a) => {
|
34
|
-
if (!n.value || !n.value.resize)
|
35
|
-
return !1;
|
36
|
-
n.value.resize(a);
|
37
|
-
}, keyboard: (a, t) => {
|
38
|
-
if (!n.value || !n.value.keyboard)
|
39
|
-
return !1;
|
40
|
-
n.value.keyboard(a, t);
|
41
|
-
} }), (a, t) => (r(), B(L, null, [
|
42
|
-
R(F, {
|
43
|
-
layout: e(l),
|
44
|
-
table: e(s),
|
45
|
-
onLayoutChange: e(S)
|
46
|
-
}, null, 8, ["layout", "table", "onLayoutChange"]),
|
47
|
-
(r(), w(E(`paging-${e(l).type.toLowerCase()}`), {
|
48
|
-
ref_key: "pagingRef",
|
49
|
-
ref: n,
|
50
|
-
module: e(h),
|
51
|
-
schema: e(m),
|
52
|
-
table: e(s),
|
53
|
-
layout: e(l),
|
54
|
-
next: e(p),
|
55
|
-
set: e(d),
|
56
|
-
"search-data": e(y),
|
57
|
-
onNavigate: e(f),
|
58
|
-
onSort: e(C),
|
59
|
-
onSearch: e(v),
|
60
|
-
onPageChange: e(_),
|
61
|
-
onSizeChange: e(b),
|
62
|
-
onSucceed: e(x),
|
63
|
-
onClose: e(z)
|
64
|
-
}, {
|
65
|
-
default: P(() => [
|
66
|
-
V("div", I, "未支持的分页布局方式:" + $(e(l).type), 1)
|
67
|
-
]),
|
68
|
-
_: 1
|
69
|
-
}, 40, ["module", "schema", "table", "layout", "next", "set", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onSucceed", "onClose"]))
|
70
|
-
], 64));
|
71
|
-
}
|
72
|
-
});
|
73
|
-
export {
|
74
|
-
H as _
|
75
|
-
};
|
@@ -1,36 +0,0 @@
|
|
1
|
-
import { defineComponent as u, toRefs as f, openBlock as _, createBlock as b, resolveDynamicComponent as g, unref as e, withCtx as C, createElementVNode as D, toDisplayString as V } from "vue";
|
2
|
-
const x = { class: "not-support" }, k = /* @__PURE__ */ u({
|
3
|
-
__name: "Index",
|
4
|
-
props: {
|
5
|
-
schema: {},
|
6
|
-
table: {},
|
7
|
-
field: {},
|
8
|
-
searchData: {}
|
9
|
-
},
|
10
|
-
emits: ["change", "submit"],
|
11
|
-
setup(m, { emit: r }) {
|
12
|
-
let s = r, c = m, { schema: i, table: a, field: t, searchData: n } = f(c), h = (o) => {
|
13
|
-
s("change", o);
|
14
|
-
}, d = () => {
|
15
|
-
s("submit");
|
16
|
-
};
|
17
|
-
return (o, l) => (_(), b(g(`search-${e(t).search.control.toLowerCase()}`), {
|
18
|
-
schema: e(i),
|
19
|
-
table: e(a),
|
20
|
-
field: e(t),
|
21
|
-
"search-data": e(n),
|
22
|
-
onChange: e(h),
|
23
|
-
onSubmit: e(d),
|
24
|
-
modelValue: e(n)[e(a).name][e(t).name],
|
25
|
-
"onUpdate:modelValue": l[0] || (l[0] = (p) => e(n)[e(a).name][e(t).name] = p)
|
26
|
-
}, {
|
27
|
-
default: C(() => [
|
28
|
-
D("div", x, V(o.$t("paging.not_implemented_search_control", [e(t).search.control])), 1)
|
29
|
-
]),
|
30
|
-
_: 1
|
31
|
-
}, 40, ["schema", "table", "field", "search-data", "onChange", "onSubmit", "modelValue"]));
|
32
|
-
}
|
33
|
-
});
|
34
|
-
export {
|
35
|
-
k as _
|
36
|
-
};
|
@@ -1,112 +0,0 @@
|
|
1
|
-
import { defineComponent as E, defineAsyncComponent as I, toRefs as $, ref as z, computed as h, resolveComponent as v, openBlock as n, createElementBlock as u, Fragment as b, unref as e, createBlock as d, withCtx as s, createElementVNode as g, createVNode as _, resolveDynamicComponent as A, toDisplayString as k, createTextVNode as F, createCommentVNode as H } from "vue";
|
2
|
-
import { S as U } from "./main-iF34LtMW.js";
|
3
|
-
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
4
|
-
import "./vendor-moment-h96o7c8I.js";
|
5
|
-
import "xlsx-js-style";
|
6
|
-
const j = { class: "text-popover" }, q = {
|
7
|
-
key: 2,
|
8
|
-
class: "control-operation"
|
9
|
-
}, O = /* @__PURE__ */ E({
|
10
|
-
__name: "Index",
|
11
|
-
props: {
|
12
|
-
schema: {},
|
13
|
-
table: {},
|
14
|
-
field: {},
|
15
|
-
set: {},
|
16
|
-
row: {},
|
17
|
-
config: {}
|
18
|
-
},
|
19
|
-
emits: ["submit", "change"],
|
20
|
-
setup(w, { emit: x }) {
|
21
|
-
let p = I(() => import("./Index-CS11p-lU.js")), C = x, V = w, { schema: a, table: c, field: t, set: i, row: l, config: o } = $(V), m = z(), N = () => {
|
22
|
-
}, R = (r) => {
|
23
|
-
C("submit", r);
|
24
|
-
}, y = h(() => {
|
25
|
-
let r = t.value.control.type;
|
26
|
-
return o.value && o.value.control && o.value.control.type ? o.value.control.type : r;
|
27
|
-
}), S = h(() => `control-${U.getDashName(y.value)}`);
|
28
|
-
return (r, f) => {
|
29
|
-
const B = v("el-popover"), D = v("el-link");
|
30
|
-
return n(), u(b, null, [
|
31
|
-
e(t).control.textualize ? (n(), u(b, { key: 0 }, [
|
32
|
-
e(t).control.popover ? (n(), d(B, {
|
33
|
-
key: 0,
|
34
|
-
trigger: "hover",
|
35
|
-
placement: "top",
|
36
|
-
width: e(t).control.popover.width
|
37
|
-
}, {
|
38
|
-
reference: s(() => [
|
39
|
-
g("div", j, [
|
40
|
-
_(e(p), {
|
41
|
-
ref_key: "controlRef",
|
42
|
-
ref: m,
|
43
|
-
schema: e(a),
|
44
|
-
table: e(c),
|
45
|
-
field: e(t),
|
46
|
-
set: e(i),
|
47
|
-
row: e(l),
|
48
|
-
config: e(o)
|
49
|
-
}, null, 8, ["schema", "table", "field", "set", "row", "config"])
|
50
|
-
])
|
51
|
-
]),
|
52
|
-
default: s(() => [
|
53
|
-
_(e(p), {
|
54
|
-
ref_key: "controlRef",
|
55
|
-
ref: m,
|
56
|
-
schema: e(a),
|
57
|
-
table: e(c),
|
58
|
-
field: e(t),
|
59
|
-
set: e(i),
|
60
|
-
row: e(l),
|
61
|
-
config: e(o)
|
62
|
-
}, null, 8, ["schema", "table", "field", "set", "row", "config"])
|
63
|
-
]),
|
64
|
-
_: 1
|
65
|
-
}, 8, ["width"])) : (n(), d(e(p), {
|
66
|
-
key: 1,
|
67
|
-
ref_key: "controlRef",
|
68
|
-
ref: m,
|
69
|
-
schema: e(a),
|
70
|
-
table: e(c),
|
71
|
-
field: e(t),
|
72
|
-
set: e(i),
|
73
|
-
row: e(l),
|
74
|
-
config: e(o)
|
75
|
-
}, null, 8, ["schema", "table", "field", "set", "row", "config"]))
|
76
|
-
], 64)) : (n(), d(A(e(S)), {
|
77
|
-
key: 1,
|
78
|
-
ref_key: "controlRef",
|
79
|
-
ref: m,
|
80
|
-
schema: e(a),
|
81
|
-
table: e(c),
|
82
|
-
field: e(t),
|
83
|
-
set: e(i),
|
84
|
-
row: e(l),
|
85
|
-
onSubmit: e(R),
|
86
|
-
onClear: e(N),
|
87
|
-
modelValue: e(l)[e(t).name],
|
88
|
-
"onUpdate:modelValue": f[0] || (f[0] = (T) => e(l)[e(t).name] = T)
|
89
|
-
}, {
|
90
|
-
default: s(() => [
|
91
|
-
g("div", null, k(r.$t("common.unsupported_control", [e(y)])), 1)
|
92
|
-
]),
|
93
|
-
_: 1
|
94
|
-
}, 40, ["schema", "table", "field", "set", "row", "onSubmit", "onClear", "modelValue"])),
|
95
|
-
e(t).operation ? (n(), u("div", q, [
|
96
|
-
_(D, {
|
97
|
-
type: "primary",
|
98
|
-
underline: !1
|
99
|
-
}, {
|
100
|
-
default: s(() => [
|
101
|
-
F(k(e(t).operation.name), 1)
|
102
|
-
]),
|
103
|
-
_: 1
|
104
|
-
})
|
105
|
-
])) : H("", !0)
|
106
|
-
], 64);
|
107
|
-
};
|
108
|
-
}
|
109
|
-
});
|
110
|
-
export {
|
111
|
-
O as _
|
112
|
-
};
|
package/dist/Install-DU27ycRi.js
DELETED
@@ -1,129 +0,0 @@
|
|
1
|
-
import { defineComponent as k, ref as m, onMounted as C, resolveComponent as r, openBlock as d, createBlock as f, unref as l, withCtx as t, createTextVNode as c, createVNode as a, createElementBlock as v, Fragment as M, renderList as N, createElementVNode as B, toDisplayString as x, createCommentVNode as T } from "vue";
|
2
|
-
import { n as U, H as w } from "./main-iF34LtMW.js";
|
3
|
-
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
4
|
-
import "./vendor-moment-h96o7c8I.js";
|
5
|
-
import "xlsx-js-style";
|
6
|
-
const E = { class: "option-text" }, H = {
|
7
|
-
key: 0,
|
8
|
-
class: "option-suffix"
|
9
|
-
}, I = /* @__PURE__ */ k({
|
10
|
-
__name: "Install",
|
11
|
-
setup(O) {
|
12
|
-
let o = m({ name: null, type: "SqlServer", conn: null }), u = m(!1), i = m(), y = m([
|
13
|
-
{ value: "SqlServer", text: "SqlServer" },
|
14
|
-
{ value: "MySql", text: "MySql" },
|
15
|
-
{ value: "Mongo", text: "Mongo" },
|
16
|
-
{ value: "Sqlite", text: "Sqlite" },
|
17
|
-
{ value: "Oracle", text: "Oracle" },
|
18
|
-
{ value: "Trino", text: "Trino" }
|
19
|
-
]), V = () => {
|
20
|
-
u.value = !0, i.value.validate((_, n) => {
|
21
|
-
if (!_)
|
22
|
-
return u.value = !1, !1;
|
23
|
-
w.post("/app/install", o.value).then(({ data: p }) => {
|
24
|
-
}).finally(() => {
|
25
|
-
u.value = !1;
|
26
|
-
});
|
27
|
-
});
|
28
|
-
};
|
29
|
-
return C(() => {
|
30
|
-
}), (_, n) => {
|
31
|
-
const p = r("el-input"), s = r("el-form-item"), S = r("el-option"), g = r("el-select"), q = r("el-button"), b = r("el-form");
|
32
|
-
return d(), f(l(U), {
|
33
|
-
class: "ho-install",
|
34
|
-
title: "数据库信息"
|
35
|
-
}, {
|
36
|
-
operation: t(() => [
|
37
|
-
c("开启您的心动之旅")
|
38
|
-
]),
|
39
|
-
default: t(() => [
|
40
|
-
a(b, {
|
41
|
-
ref_key: "formRef",
|
42
|
-
ref: i,
|
43
|
-
model: l(o),
|
44
|
-
"label-width": "80px"
|
45
|
-
}, {
|
46
|
-
default: t(() => [
|
47
|
-
a(s, {
|
48
|
-
label: "名称",
|
49
|
-
prop: "name",
|
50
|
-
rules: [{ required: !0, message: "数据库名不能为空" }]
|
51
|
-
}, {
|
52
|
-
default: t(() => [
|
53
|
-
a(p, {
|
54
|
-
type: "text",
|
55
|
-
modelValue: l(o).name,
|
56
|
-
"onUpdate:modelValue": n[0] || (n[0] = (e) => l(o).name = e)
|
57
|
-
}, null, 8, ["modelValue"])
|
58
|
-
]),
|
59
|
-
_: 1
|
60
|
-
}),
|
61
|
-
a(s, {
|
62
|
-
label: "类型",
|
63
|
-
prop: "type",
|
64
|
-
rules: [{ required: !0, message: "数据库类型不能为空" }]
|
65
|
-
}, {
|
66
|
-
default: t(() => [
|
67
|
-
a(g, {
|
68
|
-
modelValue: l(o).type,
|
69
|
-
"onUpdate:modelValue": n[1] || (n[1] = (e) => l(o).type = e)
|
70
|
-
}, {
|
71
|
-
default: t(() => [
|
72
|
-
(d(!0), v(M, null, N(l(y), (e) => (d(), f(S, {
|
73
|
-
value: e.value,
|
74
|
-
label: e.text + (e.value ? "(" + e.value + ")" : ""),
|
75
|
-
key: `${e.value}`
|
76
|
-
}, {
|
77
|
-
default: t(() => [
|
78
|
-
B("span", E, x(e.text), 1),
|
79
|
-
e.value ? (d(), v("span", H, "(" + x(e.value) + ")", 1)) : T("", !0)
|
80
|
-
]),
|
81
|
-
_: 2
|
82
|
-
}, 1032, ["value", "label"]))), 128))
|
83
|
-
]),
|
84
|
-
_: 1
|
85
|
-
}, 8, ["modelValue"])
|
86
|
-
]),
|
87
|
-
_: 1
|
88
|
-
}),
|
89
|
-
a(s, {
|
90
|
-
label: "连接串",
|
91
|
-
prop: "conn",
|
92
|
-
rules: [{ required: !0, message: "数据库连接串不能为空" }]
|
93
|
-
}, {
|
94
|
-
default: t(() => [
|
95
|
-
a(p, {
|
96
|
-
type: "textarea",
|
97
|
-
modelValue: l(o).conn,
|
98
|
-
"onUpdate:modelValue": n[2] || (n[2] = (e) => l(o).conn = e)
|
99
|
-
}, null, 8, ["modelValue"])
|
100
|
-
]),
|
101
|
-
_: 1
|
102
|
-
}),
|
103
|
-
a(s, null, {
|
104
|
-
default: t(() => [
|
105
|
-
a(q, {
|
106
|
-
type: "primary",
|
107
|
-
loading: l(u),
|
108
|
-
onClick: l(V)
|
109
|
-
}, {
|
110
|
-
default: t(() => [
|
111
|
-
c("立即安装")
|
112
|
-
]),
|
113
|
-
_: 1
|
114
|
-
}, 8, ["loading", "onClick"])
|
115
|
-
]),
|
116
|
-
_: 1
|
117
|
-
})
|
118
|
-
]),
|
119
|
-
_: 1
|
120
|
-
}, 8, ["model"])
|
121
|
-
]),
|
122
|
-
_: 1
|
123
|
-
});
|
124
|
-
};
|
125
|
-
}
|
126
|
-
});
|
127
|
-
export {
|
128
|
-
I as default
|
129
|
-
};
|