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
@@ -1,34 +1,35 @@
|
|
1
|
+
import { IMessager } from "halo-fe";
|
1
2
|
/**
|
2
3
|
* 消息服务
|
3
4
|
*/
|
4
|
-
declare class MessageService {
|
5
|
+
declare class MessageService implements IMessager {
|
5
6
|
/**
|
6
7
|
* 显示全局成功消息
|
7
8
|
*/
|
8
|
-
|
9
|
+
success: (message: string) => void;
|
9
10
|
/**
|
10
11
|
* 显示全局警告消息
|
11
12
|
*/
|
12
|
-
|
13
|
+
warning: (message: string) => void;
|
13
14
|
/**
|
14
15
|
* 显示全局信息消息
|
15
16
|
*/
|
16
|
-
|
17
|
+
info: (message: string) => void;
|
17
18
|
/**
|
18
19
|
* 显示全局错误消息
|
19
20
|
*/
|
20
|
-
|
21
|
+
error: (message: string) => void;
|
21
22
|
/**
|
22
23
|
* 显示全局错误消息
|
23
24
|
*/
|
24
|
-
|
25
|
+
confirm: (title: string, message: string, options?: any) => Promise<import("element-plus").MessageBoxData>;
|
25
26
|
/**
|
26
27
|
* 显示警告框
|
27
28
|
*/
|
28
|
-
|
29
|
+
alert: (title: string, message: string, options?: any) => Promise<import("element-plus").MessageBoxData>;
|
29
30
|
/**
|
30
31
|
* 通知
|
31
32
|
*/
|
32
|
-
|
33
|
+
notify: (title: string, message: string, type: string) => import("element-plus").NotificationHandle;
|
33
34
|
}
|
34
35
|
export default MessageService;
|
package/esm/services/index.d.ts
CHANGED
@@ -1,9 +1,7 @@
|
|
1
|
-
import HttpService from "./HttpService";
|
2
1
|
import PageService from "./PageService";
|
3
2
|
import ControlService from "./ControlService";
|
4
3
|
import ComponentService from "./ComponentService";
|
5
4
|
import StandardService from "./StandardService";
|
6
|
-
import SettingService from "./SettingService";
|
7
5
|
import UploadService from "./UploadService";
|
8
6
|
import MessageService from "./MessageService";
|
9
|
-
export {
|
7
|
+
export { PageService, ControlService, ComponentService, StandardService, UploadService, MessageService, };
|
package/esm/stores/index.d.ts
CHANGED
@@ -1,12 +1,6 @@
|
|
1
1
|
import useAppStore from "./app";
|
2
2
|
import useComponentStore from "./component";
|
3
|
-
import useSettingStore from "./setting";
|
4
|
-
import useUserStore from "./user";
|
5
|
-
import useConfigStore from "./config";
|
6
3
|
import useLayoutStore from "./layout";
|
7
|
-
import useLogStore from "./log";
|
8
4
|
import useI18nStore from "./i18n";
|
9
|
-
import useSocketStore from "./socket";
|
10
5
|
import useRouterStore from "./router";
|
11
|
-
|
12
|
-
export { useAppStore, useComponentStore, useSettingStore, useUserStore, useLayoutStore, useLogStore, useI18nStore, useSocketStore, useConfigStore, useRouterStore, useDriverStore };
|
6
|
+
export { useAppStore, useComponentStore, useLayoutStore, useI18nStore, useRouterStore };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "halo-pc",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.3",
|
4
4
|
"description": "Halo pc framework",
|
5
5
|
"scripts": {
|
6
6
|
"halo-pc:tsc": "vue-tsc",
|
@@ -26,33 +26,29 @@
|
|
26
26
|
"publishConfig": {
|
27
27
|
"registry": "https://registry.npmjs.org"
|
28
28
|
},
|
29
|
-
"
|
29
|
+
"dependencies": {
|
30
30
|
"@monaco-editor/loader": "1.4.0",
|
31
|
-
"@types/node": "20.14.2",
|
32
|
-
"@vitejs/plugin-vue": "5.0.5",
|
33
|
-
"@vitejs/plugin-vue-jsx": "4.0.0",
|
34
31
|
"axios": "1.7.2",
|
35
32
|
"clipboard": "2.0.11",
|
36
|
-
"
|
37
|
-
"
|
38
|
-
"echarts": "5.5.0",
|
39
|
-
"element-plus": "2.7.5",
|
33
|
+
"echarts": "5.5.1",
|
34
|
+
"element-plus": "2.7.6",
|
40
35
|
"intro.js": "7.2.0",
|
41
|
-
"
|
42
|
-
"
|
43
|
-
"monaco-editor": "0.49.0",
|
36
|
+
"halo-fe": "1.0.4",
|
37
|
+
"monaco-editor": "0.50.0",
|
44
38
|
"pinia": "2.1.7",
|
45
39
|
"quill": "2.0.2",
|
46
|
-
"sass": "1.77.5",
|
47
40
|
"sortablejs": "1.15.2",
|
48
|
-
"
|
49
|
-
"underscore.string": "3.3.6",
|
50
|
-
"vite": "5.3.1",
|
51
|
-
"vue": "3.4.28",
|
41
|
+
"vue": "3.4.31",
|
52
42
|
"vue-canvas-nest": "2.0.0",
|
53
|
-
"vue-router": "4.
|
54
|
-
"vue-i18n": "9.13.1"
|
55
|
-
|
56
|
-
|
43
|
+
"vue-router": "4.4.0",
|
44
|
+
"vue-i18n": "9.13.1"
|
45
|
+
},
|
46
|
+
"devDependencies": {
|
47
|
+
"@types/node": "20.14.10",
|
48
|
+
"@vitejs/plugin-vue": "5.0.5",
|
49
|
+
"@vitejs/plugin-vue-jsx": "4.0.0",
|
50
|
+
"sass": "1.77.6",
|
51
|
+
"vite": "5.3.3",
|
52
|
+
"vue-tsc": "2.0.26"
|
57
53
|
}
|
58
54
|
}
|
package/dist/Article-D4qXG55i.js
DELETED
@@ -1,195 +0,0 @@
|
|
1
|
-
import { defineComponent as ae, toRefs as re, ref as c, onMounted as ne, computed as se, resolveComponent as y, openBlock as u, createElementBlock as f, unref as e, createBlock as k, createCommentVNode as _, createVNode as b, normalizeStyle as ie, withCtx as C, createElementVNode as i, Fragment as ue, renderList as ce, withModifiers as V, toDisplayString as d, resolveDynamicComponent as de, createTextVNode as D } from "vue";
|
2
|
-
import { l as pe, S as M, g as me, o as ve, H as ge, M as fe, D 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
|
-
import { _ as he } from "./SearchForm.vue_vue_type_style_index_0_lang-U5f9oExf.js";
|
7
|
-
const _e = { class: "article-layout" }, ye = ["href", "onClick"], ke = ["src"], be = { class: "article-title" }, Ce = {
|
8
|
-
key: 0,
|
9
|
-
class: "article-content"
|
10
|
-
}, we = { class: "article-time" }, Re = {
|
11
|
-
key: 1,
|
12
|
-
class: "article-view-count"
|
13
|
-
}, xe = ["href"], He = /* @__PURE__ */ i("i", { class: "fa fa-plus" }, null, -1), Se = { class: "el-drawer__title" }, $e = ["href"], Ee = /* @__PURE__ */ ae({
|
14
|
-
__name: "Article",
|
15
|
-
props: {
|
16
|
-
searchData: {},
|
17
|
-
module: {},
|
18
|
-
schema: {},
|
19
|
-
table: {},
|
20
|
-
layout: {},
|
21
|
-
next: {},
|
22
|
-
set: {}
|
23
|
-
},
|
24
|
-
emits: ["page-change", "navigate", "search", "succeed", "close"],
|
25
|
-
setup(E, { expose: F, emit: N }) {
|
26
|
-
let p = N, K = E, { module: P, schema: j, table: r, layout: n, next: m, set: w, searchData: A } = re(K), R = c(), x = c(), H = c(), S = c(), h = c(), L = pe();
|
27
|
-
c({ layout: "prev, pager, next", count: 5 });
|
28
|
-
let o = c({ page: null, url: null, row: null, visible: !1, appendToBody: !1 }), $ = (t) => {
|
29
|
-
g("insert", null, t);
|
30
|
-
}, q = (t, l) => {
|
31
|
-
g("detail", t, l);
|
32
|
-
}, G = (t, l) => {
|
33
|
-
g("update", t, l);
|
34
|
-
}, I = (t, l) => {
|
35
|
-
g("copy", t, l);
|
36
|
-
}, J = (t, l) => {
|
37
|
-
g("delete", t, l);
|
38
|
-
}, O = (t) => {
|
39
|
-
let l = t.map((s) => s[r.value.key.name]);
|
40
|
-
ge.post(m.value.delete.route, l).then((s) => {
|
41
|
-
fe.success(s.message), z();
|
42
|
-
});
|
43
|
-
}, g = (t, l, s) => {
|
44
|
-
let v = B(t, l);
|
45
|
-
s.ctrlKey ? (o.value.row = null, p("navigate", v)) : (o.value.appendToBody = s.altKey, o.value.page = t, o.value.url = v, o.value.row = l, o.value.visible = !0);
|
46
|
-
}, B = (t, l = null) => {
|
47
|
-
let s = `${m.value[t].route}`;
|
48
|
-
if (l != null) {
|
49
|
-
let v = l[r.value.key.name];
|
50
|
-
s += `?id=${v}`;
|
51
|
-
}
|
52
|
-
return s;
|
53
|
-
}, Q = () => {
|
54
|
-
o.value.visible = !1, p("close");
|
55
|
-
}, z = (t) => {
|
56
|
-
o.value.visible = !1, p("succeed", t);
|
57
|
-
}, W = (t) => {
|
58
|
-
p("page-change", t);
|
59
|
-
}, X = (t) => {
|
60
|
-
p("navigate", t);
|
61
|
-
}, Y = () => {
|
62
|
-
p("search");
|
63
|
-
}, Z = () => {
|
64
|
-
T();
|
65
|
-
}, ee = (t, l) => {
|
66
|
-
if (!h.value || !h.value.keyboard)
|
67
|
-
return !1;
|
68
|
-
h.value.keyboard(t, l);
|
69
|
-
}, te = (t) => {
|
70
|
-
T();
|
71
|
-
}, T = () => {
|
72
|
-
let t = U.getHeight(R.value), l = U.getHeight([x.value.$el, H.value]);
|
73
|
-
S.value = t - l;
|
74
|
-
};
|
75
|
-
ne(() => {
|
76
|
-
});
|
77
|
-
let le = se(() => {
|
78
|
-
let t = `/${r.value.name}/article-footer`;
|
79
|
-
return L.getComponent(t, "partial", "article-footer");
|
80
|
-
});
|
81
|
-
return F({ keyboard: ee, resize: te }), (t, l) => {
|
82
|
-
const s = y("el-scrollbar"), v = y("el-pagination"), oe = y("el-drawer");
|
83
|
-
return u(), f("div", {
|
84
|
-
ref_key: "pagingRef",
|
85
|
-
ref: R,
|
86
|
-
class: "paging-article"
|
87
|
-
}, [
|
88
|
-
e(r).search.length > 0 ? (u(), k(he, {
|
89
|
-
key: 0,
|
90
|
-
ref_key: "searchRef",
|
91
|
-
ref: x,
|
92
|
-
schema: e(j),
|
93
|
-
table: e(r),
|
94
|
-
layout: e(n),
|
95
|
-
"search-data": e(A),
|
96
|
-
onSubmit: e(Y),
|
97
|
-
onMounted: e(Z)
|
98
|
-
}, null, 8, ["schema", "table", "layout", "search-data", "onSubmit", "onMounted"])) : _("", !0),
|
99
|
-
b(s, {
|
100
|
-
class: "article-scroller",
|
101
|
-
style: ie({ height: e(S) + "px" })
|
102
|
-
}, {
|
103
|
-
default: C(() => [
|
104
|
-
i("div", _e, [
|
105
|
-
(u(!0), f(ue, null, ce(e(w)[e(r).name], (a) => (u(), f("a", {
|
106
|
-
class: "article",
|
107
|
-
href: `${e(m).detail.route}?id=${a[e(r).key.name]}`,
|
108
|
-
onClick: V((Be) => e(X)(`${e(m).detail.route}?id=${a[e(r).key.name]}`), ["prevent"]),
|
109
|
-
key: a[e(r).key.name]
|
110
|
-
}, [
|
111
|
-
i("img", {
|
112
|
-
class: "article-image",
|
113
|
-
src: a[e(n).image]
|
114
|
-
}, null, 8, ke),
|
115
|
-
i("div", be, d(a[e(n).title]), 1),
|
116
|
-
e(M).getTextFromHtml(a[e(n).content]) ? (u(), f("div", Ce, d(e(M).getTextFromHtml(a[e(n).content])), 1)) : _("", !0),
|
117
|
-
i("div", we, d(a[e(n).time]), 1),
|
118
|
-
a[e(n).viewCount] ? (u(), f("div", Re, d(a[e(n).viewCount]), 1)) : _("", !0),
|
119
|
-
(u(), k(de(e(le)), {
|
120
|
-
table: e(r),
|
121
|
-
next: e(m),
|
122
|
-
set: e(w),
|
123
|
-
row: a,
|
124
|
-
onPreview: e(q),
|
125
|
-
onEdit: e(G),
|
126
|
-
onCopy: e(I),
|
127
|
-
onBeforeRemove: e(J),
|
128
|
-
onRemove: e(O)
|
129
|
-
}, null, 40, ["table", "next", "set", "row", "onPreview", "onEdit", "onCopy", "onBeforeRemove", "onRemove"]))
|
130
|
-
], 8, ye))), 128)),
|
131
|
-
i("a", {
|
132
|
-
href: e(B)("insert"),
|
133
|
-
class: "article-add",
|
134
|
-
onClick: l[0] || (l[0] = V(
|
135
|
-
//@ts-ignore
|
136
|
-
(...a) => e($) && e($)(...a),
|
137
|
-
["prevent"]
|
138
|
-
))
|
139
|
-
}, [
|
140
|
-
He,
|
141
|
-
D(" 添加新" + d(e(r).title), 1)
|
142
|
-
], 8, xe)
|
143
|
-
])
|
144
|
-
]),
|
145
|
-
_: 1
|
146
|
-
}, 8, ["style"]),
|
147
|
-
i("div", {
|
148
|
-
ref_key: "footerRef",
|
149
|
-
ref: H,
|
150
|
-
class: "article-bottom"
|
151
|
-
}, [
|
152
|
-
b(v, {
|
153
|
-
background: "",
|
154
|
-
layout: "total, prev, pager, next, jumper",
|
155
|
-
"current-page": e(n).page,
|
156
|
-
"page-size": e(n).pageSize,
|
157
|
-
total: e(n).count,
|
158
|
-
onCurrentChange: e(W)
|
159
|
-
}, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
|
160
|
-
], 512),
|
161
|
-
e(o).page ? (u(), k(oe, {
|
162
|
-
key: 1,
|
163
|
-
"destroy-on-close": "",
|
164
|
-
"append-to-body": e(o).appendToBody,
|
165
|
-
size: `${e(P).width ?? "60%"}`,
|
166
|
-
modelValue: e(o).visible,
|
167
|
-
"onUpdate:modelValue": l[1] || (l[1] = (a) => e(o).visible = a)
|
168
|
-
}, {
|
169
|
-
header: C(() => [
|
170
|
-
i("div", Se, [
|
171
|
-
D(d(e(m)[e(o).page].title) + " ", 1),
|
172
|
-
i("a", {
|
173
|
-
class: "drawer-copy",
|
174
|
-
href: e(me).getToUrl(e(o).url)
|
175
|
-
}, d(t.$t("common.link")), 9, $e)
|
176
|
-
])
|
177
|
-
]),
|
178
|
-
default: C(() => [
|
179
|
-
b(e(ve), {
|
180
|
-
ref_key: "pageRef",
|
181
|
-
ref: h,
|
182
|
-
url: e(o).url,
|
183
|
-
onSucceed: e(z),
|
184
|
-
onClose: e(Q)
|
185
|
-
}, null, 8, ["url", "onSucceed", "onClose"])
|
186
|
-
]),
|
187
|
-
_: 1
|
188
|
-
}, 8, ["append-to-body", "size", "modelValue"])) : _("", !0)
|
189
|
-
], 512);
|
190
|
-
};
|
191
|
-
}
|
192
|
-
});
|
193
|
-
export {
|
194
|
-
Ee as default
|
195
|
-
};
|
@@ -1,78 +0,0 @@
|
|
1
|
-
import { defineComponent as w, toRefs as x, resolveComponent as B, openBlock as r, createElementBlock as p, unref as e, withModifiers as m, createCommentVNode as s, createBlock as E, withCtx as N, createElementVNode as R } from "vue";
|
2
|
-
const V = { class: "article-footer" }, M = /* @__PURE__ */ w({
|
3
|
-
__name: "ArticleFooter",
|
4
|
-
props: {
|
5
|
-
table: {},
|
6
|
-
next: {},
|
7
|
-
set: {},
|
8
|
-
row: {}
|
9
|
-
},
|
10
|
-
emits: ["preview", "edit", "copy", "before-remove", "remove"],
|
11
|
-
setup(d, { emit: b }) {
|
12
|
-
let i = b, k = d, { table: _, next: l, set: A, row: c } = x(k), a = (t) => {
|
13
|
-
i("preview", c.value, t);
|
14
|
-
}, f = (t) => {
|
15
|
-
i("edit", c.value, t);
|
16
|
-
}, u = (t) => {
|
17
|
-
i("copy", c.value, t);
|
18
|
-
}, v = (t) => {
|
19
|
-
}, C = () => {
|
20
|
-
i("remove", [c.value]);
|
21
|
-
};
|
22
|
-
return (t, o) => {
|
23
|
-
const y = B("el-popconfirm");
|
24
|
-
return r(), p("div", V, [
|
25
|
-
e(l).detail ? (r(), p("i", {
|
26
|
-
key: 0,
|
27
|
-
class: "fa fa-search-plus btn-icon",
|
28
|
-
onClick: o[0] || (o[0] = m(
|
29
|
-
//@ts-ignore
|
30
|
-
(...n) => e(a) && e(a)(...n),
|
31
|
-
["prevent", "stop"]
|
32
|
-
))
|
33
|
-
})) : s("", !0),
|
34
|
-
e(l).update ? (r(), p("i", {
|
35
|
-
key: 1,
|
36
|
-
class: "fa fa-pencil btn-icon",
|
37
|
-
onClick: o[1] || (o[1] = m(
|
38
|
-
//@ts-ignore
|
39
|
-
(...n) => e(f) && e(f)(...n),
|
40
|
-
["prevent", "stop"]
|
41
|
-
))
|
42
|
-
})) : s("", !0),
|
43
|
-
e(l).copy ? (r(), p("i", {
|
44
|
-
key: 2,
|
45
|
-
class: "fa fa-copy btn-icon",
|
46
|
-
onClick: o[2] || (o[2] = m(
|
47
|
-
//@ts-ignore
|
48
|
-
(...n) => e(u) && e(u)(...n),
|
49
|
-
["prevent", "stop"]
|
50
|
-
))
|
51
|
-
})) : s("", !0),
|
52
|
-
e(l).delete ? (r(), E(y, {
|
53
|
-
key: 3,
|
54
|
-
width: 180,
|
55
|
-
title: t.t("common.confirm_delete"),
|
56
|
-
"confirm-button-text": t.t("common.confirm"),
|
57
|
-
"cancel-button-text": t.t("common.cancel"),
|
58
|
-
onConfirm: e(C)
|
59
|
-
}, {
|
60
|
-
reference: N(() => [
|
61
|
-
R("i", {
|
62
|
-
class: "fa fa-trash-alt btn-icon",
|
63
|
-
onClick: o[3] || (o[3] = m(
|
64
|
-
//@ts-ignore
|
65
|
-
(...n) => e(v) && e(v)(...n),
|
66
|
-
["prevent", "stop"]
|
67
|
-
))
|
68
|
-
})
|
69
|
-
]),
|
70
|
-
_: 1
|
71
|
-
}, 8, ["title", "confirm-button-text", "cancel-button-text", "onConfirm"])) : s("", !0)
|
72
|
-
]);
|
73
|
-
};
|
74
|
-
}
|
75
|
-
});
|
76
|
-
export {
|
77
|
-
M as default
|
78
|
-
};
|
@@ -1,51 +0,0 @@
|
|
1
|
-
import { defineComponent as v, toRefs as _, ref as V, computed as S, resolveComponent as x, openBlock as C, createBlock as H, unref as n, isRef as b } from "vue";
|
2
|
-
import { S as k, H as B } from "./main-iF34LtMW.js";
|
3
|
-
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
4
|
-
import "./vendor-moment-h96o7c8I.js";
|
5
|
-
import "xlsx-js-style";
|
6
|
-
const q = /* @__PURE__ */ v({
|
7
|
-
__name: "Autocomplete",
|
8
|
-
props: {
|
9
|
-
schema: {},
|
10
|
-
table: {},
|
11
|
-
field: {},
|
12
|
-
searchData: {},
|
13
|
-
modelValue: {}
|
14
|
-
},
|
15
|
-
emits: ["submit", "change", "update:modelValue"],
|
16
|
-
setup(p, { emit: i }) {
|
17
|
-
let m = i, d = p, { table: c, field: s, searchData: D, modelValue: f } = _(d), o = V([]), g = null, h = (e, t) => {
|
18
|
-
if (o.value.length) {
|
19
|
-
let l = o.value.filter((u) => k.containsIgnoreCase(e, u.value));
|
20
|
-
t(l);
|
21
|
-
return;
|
22
|
-
}
|
23
|
-
let r = { text: g, conditions: [] };
|
24
|
-
B.post(s.value.control.data.route, r).then(({ data: l }) => {
|
25
|
-
o.value = l.map((u) => ({ value: u.text })), t(o.value);
|
26
|
-
}).catch(() => {
|
27
|
-
t([]);
|
28
|
-
});
|
29
|
-
}, a = S({
|
30
|
-
get() {
|
31
|
-
return f.value;
|
32
|
-
},
|
33
|
-
set(e) {
|
34
|
-
m("update:modelValue", e), m("change", e);
|
35
|
-
}
|
36
|
-
});
|
37
|
-
return (e, t) => {
|
38
|
-
const r = x("el-autocomplete");
|
39
|
-
return C(), H(r, {
|
40
|
-
clearable: "",
|
41
|
-
placeholder: e.$t_field_placeholder(n(c).name, n(s).name),
|
42
|
-
"fetch-suggestions": n(h),
|
43
|
-
modelValue: n(a),
|
44
|
-
"onUpdate:modelValue": t[0] || (t[0] = (l) => b(a) ? a.value = l : a = l)
|
45
|
-
}, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
|
46
|
-
};
|
47
|
-
}
|
48
|
-
});
|
49
|
-
export {
|
50
|
-
q as default
|
51
|
-
};
|
@@ -1,27 +0,0 @@
|
|
1
|
-
import { defineComponent as f, defineAsyncComponent as i, toRefs as c, openBlock as V, createBlock as b, unref as e, isRef as w } from "vue";
|
2
|
-
const x = /* @__PURE__ */ f({
|
3
|
-
__name: "Autocomplete",
|
4
|
-
props: {
|
5
|
-
schema: {},
|
6
|
-
table: {},
|
7
|
-
field: {},
|
8
|
-
set: {},
|
9
|
-
row: {},
|
10
|
-
modelValue: {}
|
11
|
-
},
|
12
|
-
setup(a) {
|
13
|
-
let m = i(() => import("./Text-DgINICKw.js")), s = a, { table: r, field: n, set: d, row: p, modelValue: l } = c(s);
|
14
|
-
return (u, o) => (V(), b(e(m), {
|
15
|
-
schema: u.schema,
|
16
|
-
table: e(r),
|
17
|
-
field: e(n),
|
18
|
-
row: e(p),
|
19
|
-
set: e(d),
|
20
|
-
modelValue: e(l),
|
21
|
-
"onUpdate:modelValue": o[0] || (o[0] = (t) => w(l) ? l.value = t : l = t)
|
22
|
-
}, null, 8, ["schema", "table", "field", "row", "set", "modelValue"]));
|
23
|
-
}
|
24
|
-
});
|
25
|
-
export {
|
26
|
-
x as default
|
27
|
-
};
|
@@ -1,52 +0,0 @@
|
|
1
|
-
import { defineComponent as v, toRefs as _, ref as V, computed as S, resolveComponent as x, openBlock as C, createBlock as H, unref as n, isRef as b } from "vue";
|
2
|
-
import { S as k, H as B } from "./main-iF34LtMW.js";
|
3
|
-
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
4
|
-
import "./vendor-moment-h96o7c8I.js";
|
5
|
-
import "xlsx-js-style";
|
6
|
-
const q = /* @__PURE__ */ v({
|
7
|
-
__name: "Autocomplete",
|
8
|
-
props: {
|
9
|
-
schema: {},
|
10
|
-
table: {},
|
11
|
-
field: {},
|
12
|
-
set: {},
|
13
|
-
row: {},
|
14
|
-
modelValue: {}
|
15
|
-
},
|
16
|
-
emits: ["submit", "change", "update:modelValue"],
|
17
|
-
setup(p, { emit: i }) {
|
18
|
-
let m = i, d = p, { table: c, field: s, set: R, modelValue: f } = _(d), o = V([]), g = null, h = (e, t) => {
|
19
|
-
if (o.value.length) {
|
20
|
-
let l = o.value.filter((r) => k.containsIgnoreCase(e, r.value));
|
21
|
-
t(l);
|
22
|
-
return;
|
23
|
-
}
|
24
|
-
let u = { text: g, conditions: [] };
|
25
|
-
B.post(s.value.control.data.route, u).then(({ data: l }) => {
|
26
|
-
o.value = l.map((r) => ({ value: r.text })), t(o.value);
|
27
|
-
}).catch(() => {
|
28
|
-
t([]);
|
29
|
-
});
|
30
|
-
}, a = S({
|
31
|
-
get() {
|
32
|
-
return f.value;
|
33
|
-
},
|
34
|
-
set(e) {
|
35
|
-
m("update:modelValue", e), m("change", e);
|
36
|
-
}
|
37
|
-
});
|
38
|
-
return (e, t) => {
|
39
|
-
const u = x("el-autocomplete");
|
40
|
-
return C(), H(u, {
|
41
|
-
clearable: "",
|
42
|
-
placeholder: e.$t_field_placeholder(n(c).name, n(s).name),
|
43
|
-
"fetch-suggestions": n(h),
|
44
|
-
modelValue: n(a),
|
45
|
-
"onUpdate:modelValue": t[0] || (t[0] = (l) => b(a) ? a.value = l : a = l)
|
46
|
-
}, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
|
47
|
-
};
|
48
|
-
}
|
49
|
-
});
|
50
|
-
export {
|
51
|
-
q as default
|
52
|
-
};
|
package/dist/CSharp-D_fhmKNi.js
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
import { defineComponent as u, defineAsyncComponent as i, toRefs as c, openBlock as V, createBlock as b, unref as e, isRef as h } from "vue";
|
2
|
-
const _ = /* @__PURE__ */ u({
|
3
|
-
__name: "CSharp",
|
4
|
-
props: {
|
5
|
-
schema: {},
|
6
|
-
table: {},
|
7
|
-
field: {},
|
8
|
-
set: {},
|
9
|
-
row: {},
|
10
|
-
modelValue: {}
|
11
|
-
},
|
12
|
-
setup(a) {
|
13
|
-
let r = i(() => import("./Code-3c6-02U1.js")), s = a, { schema: m, table: n, field: d, set: p, row: f, modelValue: l } = c(s);
|
14
|
-
return (w, o) => (V(), b(e(r), {
|
15
|
-
schema: e(m),
|
16
|
-
table: e(n),
|
17
|
-
field: e(d),
|
18
|
-
row: e(f),
|
19
|
-
set: e(p),
|
20
|
-
modelValue: e(l),
|
21
|
-
"onUpdate:modelValue": o[0] || (o[0] = (t) => h(l) ? l.value = t : l = t)
|
22
|
-
}, null, 8, ["schema", "table", "field", "row", "set", "modelValue"]));
|
23
|
-
}
|
24
|
-
});
|
25
|
-
export {
|
26
|
-
_ as default
|
27
|
-
};
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { openBlock as e, createElementBlock as r } from "vue";
|
2
|
-
import { b as c } from "./main-iF34LtMW.js";
|
3
|
-
const n = {};
|
4
|
-
function o(t, _) {
|
5
|
-
return e(), r("div", null, "日历");
|
6
|
-
}
|
7
|
-
const l = /* @__PURE__ */ c(n, [["render", o]]);
|
8
|
-
export {
|
9
|
-
l as default
|
10
|
-
};
|
@@ -1,20 +0,0 @@
|
|
1
|
-
import { defineComponent as o } from "vue";
|
2
|
-
import { useRouter as i, useRoute as n } from "vue-router";
|
3
|
-
import { M as s, q as u } from "./main-iF34LtMW.js";
|
4
|
-
const f = /* @__PURE__ */ o({
|
5
|
-
__name: "Callback",
|
6
|
-
setup(p) {
|
7
|
-
let r = i(), e = n().query;
|
8
|
-
return (() => {
|
9
|
-
if (!e.type) {
|
10
|
-
s.error("缺失type参数");
|
11
|
-
return;
|
12
|
-
}
|
13
|
-
let t = u.getSso(e.type.toString());
|
14
|
-
e.identity = JSON.parse(e.identity.toString()), t.login(e), r.push(e.return_url.toString());
|
15
|
-
})(), (t, l) => " 登录完毕,处理回调中... ";
|
16
|
-
}
|
17
|
-
});
|
18
|
-
export {
|
19
|
-
f as default
|
20
|
-
};
|
@@ -1,44 +0,0 @@
|
|
1
|
-
import { defineComponent as y, toRefs as k, computed as p, openBlock as e, createElementBlock as t, Fragment as m, renderList as d, unref as f, normalizeStyle as x, toDisplayString as h, createCommentVNode as b } from "vue";
|
2
|
-
import { T as B } from "./main-iF34LtMW.js";
|
3
|
-
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
4
|
-
import "./vendor-moment-h96o7c8I.js";
|
5
|
-
import "xlsx-js-style";
|
6
|
-
const C = { class: "text-cascader" }, S = {
|
7
|
-
key: 0,
|
8
|
-
class: "cascader-seperator"
|
9
|
-
}, L = /* @__PURE__ */ y({
|
10
|
-
__name: "Cascader",
|
11
|
-
props: {
|
12
|
-
schema: {},
|
13
|
-
table: {},
|
14
|
-
field: {},
|
15
|
-
set: {},
|
16
|
-
row: {},
|
17
|
-
modelValue: {}
|
18
|
-
},
|
19
|
-
emits: ["submit", "change"],
|
20
|
-
setup(_, { emit: V }) {
|
21
|
-
let v = _, { table: w, field: s, set: E, row: T, modelValue: a } = k(v), u = p(() => s.value.control.multiple ? a.value ? a.value.toString().split(",") : [] : a.value), c = p(() => {
|
22
|
-
if (u.value.length > 0) {
|
23
|
-
let i = s.value.control.data.data, o = [];
|
24
|
-
return u.value.forEach((r) => {
|
25
|
-
let l = B.getParentsById(r, "value", i, "children", !0);
|
26
|
-
l.length > 0 && o.push(l);
|
27
|
-
}), o;
|
28
|
-
}
|
29
|
-
return [];
|
30
|
-
});
|
31
|
-
return (i, o) => (e(), t("div", C, [
|
32
|
-
(e(!0), t(m, null, d(f(c), (r, l) => (e(), t("span", null, [
|
33
|
-
(e(!0), t(m, null, d(r, (n, g) => (e(), t("span", {
|
34
|
-
style: x({ color: n.color }),
|
35
|
-
key: n.value
|
36
|
-
}, h(n.text) + h(g == r.length - 1 ? "" : " / "), 5))), 128)),
|
37
|
-
l != f(c).length - 1 ? (e(), t("span", S, ",")) : b("", !0)
|
38
|
-
]))), 256))
|
39
|
-
]));
|
40
|
-
}
|
41
|
-
});
|
42
|
-
export {
|
43
|
-
L as default
|
44
|
-
};
|