halo-pc 1.0.3 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Article-7pMF1N-k.js +192 -0
- package/dist/ArticleFooter-BAf1rKUX.js +78 -0
- package/dist/Autocomplete-CEjjKXwo.js +27 -0
- package/dist/Autocomplete-DqKo5NiJ.js +49 -0
- package/dist/Autocomplete-K5ipzchR.js +48 -0
- package/dist/CSharp-DatSqpip.js +27 -0
- package/dist/Calender-B1HoFiQg.js +10 -0
- package/dist/Callback-PyCjejiv.js +20 -0
- package/dist/Cascader-B9lLRKjA.js +80 -0
- package/dist/Cascader-BNvlqc5t.js +41 -0
- package/dist/Checkbox-B6IkMrWB.js +27 -0
- package/dist/Checkbox-CYpA0Abh.js +69 -0
- package/dist/Code-BdK547kD.js +4 -0
- package/dist/Code-DfFF-84i.js +36 -0
- package/dist/Code-LFQVJotC.js +54 -0
- package/dist/Code-SZuIImtp.js +28 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-nX113anq.js +59 -0
- package/dist/Color-CfXtJFUo.js +22 -0
- package/dist/Color-Da69pnQg.js +34 -0
- package/dist/Column-DVjYrrr7.js +67 -0
- package/dist/Comment-Do7Mjpjr.js +98 -0
- package/dist/Compare-C_iDn27Q.js +56 -0
- package/dist/Compare-CrX3yfD4.js +26 -0
- package/dist/Copy-_sbdQvHJ.js +43 -0
- package/dist/Custom-DarpQFG8.js +49 -0
- package/dist/DataExport-I9iG4oEo.js +4 -0
- package/dist/DataExport.vue_vue_type_script_setup_true_lang-BgKetUGv.js +108 -0
- package/dist/DataImport-2KtOy-of.js +4 -0
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-DgzKdC2g.js +170 -0
- package/dist/Date-BeHsQ2Ow.js +36 -0
- package/dist/Date-PERpDDy_.js +27 -0
- package/dist/DateRange-BaxHMjcx.js +57 -0
- package/dist/DateRange-DrYK_l0Y.js +19 -0
- package/dist/DateTime-B7gHENiu.js +27 -0
- package/dist/DateTime-BfNjKDfI.js +37 -0
- package/dist/DateTimeRange-yI9Y2qgC.js +61 -0
- package/dist/Daterange-DqvBvK-B.js +57 -0
- package/dist/Decimal-AXwMeqBW.js +27 -0
- package/dist/Decimal-C38-N54B.js +36 -0
- package/dist/Delete-BY3vAVWa.js +55 -0
- package/dist/Detail-aWACqVnM.js +68 -0
- package/dist/Dictionary-DpQuFYQ5.js +55 -0
- package/dist/Email-BKW9GRcH.js +19 -0
- package/dist/Email-ME_MU94C.js +47 -0
- package/dist/File--NsXL6XX.js +155 -0
- package/dist/Image-CuwfJLKW.js +9 -0
- package/dist/Index-BNOFdDjW.js +70 -0
- package/dist/Index-B_a_HzsB.js +4 -0
- package/dist/Index-CQ9S2R9b.js +4 -0
- package/dist/Index-C_HCipwv.js +4 -0
- package/dist/Index-Cewv4-Ik.js +168 -0
- package/dist/Index-Cj79dCuO.js +4 -0
- package/dist/Index-Cx2J_P37.js +4 -0
- package/dist/Index-DA2wAurY.js +4 -0
- package/dist/Index.vue_vue_type_script_setup_true_lang-B-sM48XO.js +36 -0
- package/dist/Index.vue_vue_type_script_setup_true_lang-D6_VOLX-.js +65 -0
- package/dist/Index.vue_vue_type_script_setup_true_lang-DjiARPz7.js +77 -0
- package/dist/Index.vue_vue_type_style_index_0_lang-DApNHvNX.js +109 -0
- package/dist/Install-BWdNbtVx.js +128 -0
- package/dist/Int-B-t8edhd.js +19 -0
- package/dist/Int-C-0RMDmy.js +37 -0
- package/dist/Int-nmVkFRqG.js +41 -0
- package/dist/List-BjdY1rMk.js +72 -0
- package/dist/Maintaince-DzYzyrAc.js +15 -0
- package/dist/Markdown-BzMP3m7o.js +37 -0
- package/dist/Markdown-DD6ufwhM.js +27 -0
- package/dist/Month-B_SzKf02.js +36 -0
- package/dist/Month-BqbTFGgo.js +27 -0
- package/dist/Month-DfemgHac.js +37 -0
- package/dist/Normal-f4HN1ciI.js +252 -0
- package/dist/Paging-BMPtLi8P.js +90 -0
- package/dist/PagingHeader-CBXHiUXR.js +140 -0
- package/dist/PagingRow-tny-wHwu.js +66 -0
- package/dist/Password-DuyYEgzR.js +55 -0
- package/dist/Password-yHtlY-Qa.js +24 -0
- package/dist/Progress-C3D821AQ.js +34 -0
- package/dist/Progress-CKVzMO-W.js +25 -0
- package/dist/QueryApi-CbP5cCyH.js +13 -0
- package/dist/Racebar-Bou-XNCm.js +162 -0
- package/dist/Radio-BmikzeCv.js +27 -0
- package/dist/Radio-DkcBKBvX.js +47 -0
- package/dist/Rate-B7jKTFKT.js +34 -0
- package/dist/Rate-BmC4gw_0.js +34 -0
- package/dist/Register-CgbRZH9W.js +196 -0
- package/dist/RichText-BeK3zZam.js +101 -0
- package/dist/RichText-Bk0Msyhl.js +22 -0
- package/dist/SearchFooter-C4PeAkaR.js +4 -0
- package/dist/SearchFooter.vue_vue_type_style_index_0_lang-BaO7vJ-n.js +55 -0
- package/dist/SearchForm-C7fZiQaW.js +4 -0
- package/dist/SearchForm.vue_vue_type_style_index_0_lang-BumSLQVy.js +145 -0
- package/dist/Select-C1-NVZdG.js +80 -0
- package/dist/Select-DR5fQH0d.js +111 -0
- package/dist/Select-DlbQvxQu.js +27 -0
- package/dist/Single-BLRyJKB-.js +319 -0
- package/dist/Statistic-BOtmYiRA.js +157 -0
- package/dist/Statistic-CTxHNeof.js +76 -0
- package/dist/Stock-BqQ6lM5B.js +28 -0
- package/dist/Stock-Dnwof0R1.js +4 -0
- package/dist/Stock.vue_vue_type_style_index_0_lang-Az2jx3JN.js +298 -0
- package/dist/Switch-DhFaku5L.js +50 -0
- package/dist/Switch-DuMBV0AX.js +27 -0
- package/dist/Table-Be-rPXr_.js +316 -0
- package/dist/Table-RMVT0hlE.js +236 -0
- package/dist/Text-BRRmmXYV.js +52 -0
- package/dist/Text-DKpPIUcY.js +51 -0
- package/dist/Text-DSXRKFPa.js +4 -0
- package/dist/Text.vue_vue_type_style_index_0_lang-CeDusQl6.js +52 -0
- package/dist/TextLink-BZW-y_FS.js +62 -0
- package/dist/Textarea-3ypOGE1S.js +28 -0
- package/dist/Textarea-D9TgF9ig.js +37 -0
- package/dist/Time-BcQzBDX-.js +36 -0
- package/dist/Timeline-CLezCcgQ.js +53 -0
- package/dist/Tree-B6RBRT1y.js +293 -0
- package/dist/Tree-CLpCeirT.js +117 -0
- package/dist/TreeNode-C16N8jqm.js +34 -0
- package/dist/Tree_Old-h__WmqFA.js +11 -0
- package/dist/Update-Dc3Tdkn0.js +63 -0
- package/dist/UpdateChild-B2A3hP6m.js +85 -0
- package/dist/Upload-DvWyjK3a.js +143 -0
- package/dist/Upload-SEu1V1yX.js +67 -0
- package/dist/UploadApi-Bs507D0w.js +13 -0
- package/dist/Year-1ug2_a1g.js +40 -0
- package/dist/Year-DKxOQNyS.js +27 -0
- package/dist/main-QtNG6p7a.js +16673 -0
- package/dist/main.js +116 -0
- package/dist/style.css +1 -0
- package/dist/vendor-@intlify-BISCQg1h.js +2189 -0
- package/dist/vendor-@vue-aVYGocXp.js +93 -0
- package/dist/vendor-clipboard-DjQPoCBJ.js +501 -0
- package/dist/vendor-element-plus-Z7vJFrsh.js +456 -0
- package/dist/vendor-intro.js-DwWqhM1v.js +1695 -0
- package/dist/vendor-pinia-yrN6kSxh.js +861 -0
- package/dist/vendor-vue-demi-CIhrFbpB.js +17 -0
- package/dist/vendor-vue-i18n-C3KH15Qn.js +1670 -0
- package/esm/coms/business/HaCondition.vue.d.ts +18 -0
- package/esm/coms/business/HaCrud.vue.d.ts +29 -0
- package/esm/coms/business/HaDrawer.vue.d.ts +24 -0
- package/esm/coms/business/HaDriver.vue.d.ts +52 -0
- package/esm/coms/business/HaFeedback.vue.d.ts +8 -0
- package/esm/coms/business/HaForm.vue.d.ts +23 -0
- package/esm/coms/business/HaSwitch.vue.d.ts +24 -0
- package/esm/coms/business/HaWelcome.vue.d.ts +8 -0
- package/esm/coms/business/index.d.ts +124 -0
- package/esm/coms/commons/HaCaptcha.vue.d.ts +14 -0
- package/esm/coms/commons/HaDebug.vue.d.ts +9 -0
- package/esm/coms/commons/HaEditable.vue.d.ts +13 -0
- package/esm/coms/commons/HaLoading.vue.d.ts +33 -0
- package/esm/coms/commons/HaMouseContext.vue.d.ts +2 -0
- package/esm/coms/commons/HaParticles.vue.d.ts +2 -0
- package/esm/coms/commons/HaResizer.vue.d.ts +26 -0
- package/esm/coms/commons/HaSpinner.vue.d.ts +20 -0
- package/esm/coms/commons/HaTable.vue.d.ts +34 -0
- package/esm/coms/commons/HaTableColumn.vue.d.ts +31 -0
- package/esm/coms/commons/index.d.ts +32 -0
- package/esm/coms/controls/Autocomplete.vue.d.ts +24 -0
- package/esm/coms/controls/Cascader.vue.d.ts +24 -0
- package/esm/coms/controls/Checkbox.vue.d.ts +22 -0
- package/esm/coms/controls/Code.vue.d.ts +24 -0
- package/esm/coms/controls/Color.vue.d.ts +24 -0
- package/esm/coms/controls/Compare.vue.d.ts +24 -0
- package/esm/coms/controls/Date.vue.d.ts +24 -0
- package/esm/coms/controls/DateRange.vue.d.ts +24 -0
- package/esm/coms/controls/DateTime.vue.d.ts +24 -0
- package/esm/coms/controls/DateTimeRange.vue.d.ts +24 -0
- package/esm/coms/controls/Decimal.vue.d.ts +24 -0
- package/esm/coms/controls/Email.vue.d.ts +24 -0
- package/esm/coms/controls/Image.vue.d.ts +2 -0
- package/esm/coms/controls/Index.vue.d.ts +22 -0
- package/esm/coms/controls/Int.vue.d.ts +24 -0
- package/esm/coms/controls/Markdown.vue.d.ts +24 -0
- package/esm/coms/controls/Month.vue.d.ts +24 -0
- package/esm/coms/controls/Password.vue.d.ts +24 -0
- package/esm/coms/controls/Progress.vue.d.ts +24 -0
- package/esm/coms/controls/Radio.vue.d.ts +24 -0
- package/esm/coms/controls/Rate.vue.d.ts +24 -0
- package/esm/coms/controls/RichText.vue.d.ts +22 -0
- package/esm/coms/controls/Select.vue.d.ts +24 -0
- package/esm/coms/controls/Switch.vue.d.ts +24 -0
- package/esm/coms/controls/Text.vue.d.ts +26 -0
- package/esm/coms/controls/Textarea.vue.d.ts +24 -0
- package/esm/coms/controls/Time.vue.d.ts +24 -0
- package/esm/coms/controls/Upload.vue.d.ts +24 -0
- package/esm/coms/controls/Year.vue.d.ts +24 -0
- package/esm/coms/controls/index.d.ts +26 -0
- package/esm/coms/globals/HaHeaderTab.vue.d.ts +19 -0
- package/esm/coms/globals/HaHeaderTabs.vue.d.ts +17 -0
- package/esm/coms/globals/HaMenu.vue.d.ts +77 -0
- package/esm/coms/globals/HaMenuItem.vue.d.ts +76 -0
- package/esm/coms/globals/HaMissComponent.vue.d.ts +9 -0
- package/esm/coms/globals/HaSideTab.vue.d.ts +21 -0
- package/esm/coms/globals/HaSideTabs.vue.d.ts +17 -0
- package/esm/coms/globals/HaWindow.vue.d.ts +66 -0
- package/esm/coms/globals/index.d.ts +70 -0
- package/esm/coms/headers/Breadcrumb.vue.d.ts +2 -0
- package/esm/coms/headers/Debugger.vue.d.ts +2 -0
- package/esm/coms/headers/Hamburger.vue.d.ts +18 -0
- package/esm/coms/headers/HeaderRight.vue.d.ts +2 -0
- package/esm/coms/headers/Index.vue.d.ts +6 -0
- package/esm/coms/headers/Log.vue.d.ts +2 -0
- package/esm/coms/headers/Logo.vue.d.ts +6 -0
- package/esm/coms/headers/Refresh.vue.d.ts +6 -0
- package/esm/coms/headers/Setting.vue.d.ts +8 -0
- package/esm/coms/headers/index.d.ts +3 -0
- package/esm/coms/index.d.ts +11 -0
- package/esm/coms/layouts/Desktop.vue.d.ts +2 -0
- package/esm/coms/layouts/Index.vue.d.ts +2 -0
- package/esm/coms/layouts/Side.vue.d.ts +2 -0
- package/esm/coms/layouts/Top.vue.d.ts +2 -0
- package/esm/coms/layouts/index.d.ts +7 -0
- package/esm/coms/lists/Calender.vue.d.ts +2 -0
- package/esm/coms/lists/Racebar.vue.d.ts +18 -0
- package/esm/coms/lists/Statistic.vue.d.ts +18 -0
- package/esm/coms/lists/Stock.vue.d.ts +12 -0
- package/esm/coms/lists/Timeline.vue.d.ts +12 -0
- package/esm/coms/lists/Tree.vue.d.ts +26 -0
- package/esm/coms/lists/index.d.ts +15 -0
- package/esm/coms/pages/Column.vue.d.ts +22 -0
- package/esm/coms/pages/Custom.vue.d.ts +25 -0
- package/esm/coms/pages/Delete.vue.d.ts +20 -0
- package/esm/coms/pages/Index.vue.d.ts +2 -0
- package/esm/coms/pages/List.vue.d.ts +24 -0
- package/esm/coms/pages/Paging.vue.d.ts +24 -0
- package/esm/coms/pages/Single.vue.d.ts +28 -0
- package/esm/coms/pages/index.d.ts +146 -0
- package/esm/coms/pagings/Article.vue.d.ts +27 -0
- package/esm/coms/pagings/Code.vue.d.ts +12 -0
- package/esm/coms/pagings/DataExport.vue.d.ts +33 -0
- package/esm/coms/pagings/DataImport.vue.d.ts +18 -0
- package/esm/coms/pagings/File.vue.d.ts +12 -0
- package/esm/coms/pagings/Index.vue.d.ts +33 -0
- package/esm/coms/pagings/SearchFooter.vue.d.ts +122 -0
- package/esm/coms/pagings/SearchForm.vue.d.ts +72 -0
- package/esm/coms/pagings/Table.vue.d.ts +31 -0
- package/esm/coms/pagings/index.d.ts +11 -0
- package/esm/coms/panels/HaGroup.vue.d.ts +9 -0
- package/esm/coms/panels/HaHeader.vue.d.ts +16 -0
- package/esm/coms/panels/HaOperation.vue.d.ts +22 -0
- package/esm/coms/panels/HaPanel.vue.d.ts +30 -0
- package/esm/coms/panels/HaShrink.vue.d.ts +48 -0
- package/esm/coms/panels/index.d.ts +13 -0
- package/esm/coms/partials/ArticleFooter.vue.d.ts +24 -0
- package/esm/coms/partials/Detail.vue.d.ts +20 -0
- package/esm/coms/partials/PagingHeader.vue.d.ts +28 -0
- package/esm/coms/partials/PagingRow.vue.d.ts +24 -0
- package/esm/coms/partials/TreeNode.vue.d.ts +12 -0
- package/esm/coms/partials/Update.vue.d.ts +20 -0
- package/esm/coms/partials/UpdateChild.vue.d.ts +22 -0
- package/esm/coms/partials/index.d.ts +135 -0
- package/esm/coms/searches/Autocomplete.vue.d.ts +24 -0
- package/esm/coms/searches/Daterange.vue.d.ts +22 -0
- package/esm/coms/searches/Index.vue.d.ts +18 -0
- package/esm/coms/searches/Int.vue.d.ts +24 -0
- package/esm/coms/searches/Month.vue.d.ts +24 -0
- package/esm/coms/searches/Select.vue.d.ts +24 -0
- package/esm/coms/searches/Text.vue.d.ts +24 -0
- package/esm/coms/searches/index.d.ts +7 -0
- package/esm/coms/singles/Code.vue.d.ts +18 -0
- package/esm/coms/singles/Comment.vue.d.ts +12 -0
- package/esm/coms/singles/Index.vue.d.ts +25 -0
- package/esm/coms/singles/Normal.vue.d.ts +21 -0
- package/esm/coms/singles/Statistic.vue.d.ts +12 -0
- package/esm/coms/singles/Stock.vue.d.ts +12 -0
- package/esm/coms/singles/Table.vue.d.ts +22 -0
- package/esm/coms/singles/Tree.vue.d.ts +14 -0
- package/esm/coms/singles/Tree_Old.vue.d.ts +2 -0
- package/esm/coms/singles/index.d.ts +15 -0
- package/esm/coms/texts/Autocomplete.vue.d.ts +16 -0
- package/esm/coms/texts/CSharp.vue.d.ts +16 -0
- package/esm/coms/texts/Cascader.vue.d.ts +22 -0
- package/esm/coms/texts/Checkbox.vue.d.ts +16 -0
- package/esm/coms/texts/Code.vue.d.ts +16 -0
- package/esm/coms/texts/Color.vue.d.ts +16 -0
- package/esm/coms/texts/Compare.vue.d.ts +16 -0
- package/esm/coms/texts/Copy.vue.d.ts +24 -0
- package/esm/coms/texts/Date.vue.d.ts +16 -0
- package/esm/coms/texts/DateRange.vue.d.ts +16 -0
- package/esm/coms/texts/DateTime.vue.d.ts +16 -0
- package/esm/coms/texts/Decimal.vue.d.ts +16 -0
- package/esm/coms/texts/Dictionary.vue.d.ts +24 -0
- package/esm/coms/texts/Email.vue.d.ts +16 -0
- package/esm/coms/texts/Index.vue.d.ts +22 -0
- package/esm/coms/texts/Int.vue.d.ts +16 -0
- package/esm/coms/texts/Markdown.vue.d.ts +16 -0
- package/esm/coms/texts/Month.vue.d.ts +16 -0
- package/esm/coms/texts/Password.vue.d.ts +16 -0
- package/esm/coms/texts/Progress.vue.d.ts +16 -0
- package/esm/coms/texts/Radio.vue.d.ts +16 -0
- package/esm/coms/texts/Rate.vue.d.ts +24 -0
- package/esm/coms/texts/RichText.vue.d.ts +16 -0
- package/esm/coms/texts/Select.vue.d.ts +16 -0
- package/esm/coms/texts/Switch.vue.d.ts +16 -0
- package/esm/coms/texts/Text.vue.d.ts +16 -0
- package/esm/coms/texts/TextLink.vue.d.ts +29 -0
- package/esm/coms/texts/Textarea.vue.d.ts +16 -0
- package/esm/coms/texts/Upload.vue.d.ts +16 -0
- package/esm/coms/texts/Year.vue.d.ts +16 -0
- package/esm/main.d.ts +6 -2
- package/esm/plugins/PcMessager.d.ts +35 -0
- package/esm/plugins/index.d.ts +2 -0
- package/esm/services/index.d.ts +1 -2
- package/esm/stores/index.d.ts +2 -1
- package/package.json +2 -1
@@ -0,0 +1,101 @@
|
|
1
|
+
import { defineComponent as E, toRefs as I, ref as a, onUnmounted as U, computed as S, watch as C, resolveComponent as $, openBlock as j, createElementBlock as F, normalizeStyle as w, unref as f, withDirectives as P, createElementVNode as D, vShow as Q, createVNode as G, withCtx as J, nextTick as K, createStaticVNode as W } from "vue";
|
2
|
+
import { q as X, V as Y } from "./main-QtNG6p7a.js";
|
3
|
+
const Z = /* @__PURE__ */ W('<div class="ql-formats"><button class="ql-bold" data-toggle="tooltip" data-placement="bottom" title="Bold"></button><button class="ql-italic" data-toggle="tooltip" data-placement="bottom" title="Italic <ctrl+i>"></button><button class="ql-date" data-toggle="tooltip" data-placement="bottom" title="Date"></button><button class="ql-underline" data-toggle="tooltip" data-placement="bottom" title="Underline"></button><button class="ql-strike" data-toggle="tooltip" data-placement="bottom" title="Strike"></button></div><div class="ql-formats"><button class="ql-list" data-toggle="tooltip" data-placement="bottom" value="ordered"></button><button class="ql-list" data-toggle="tooltip" data-placement="bottom" value="bullet"></button><select class="ql-color"><option selected></option><option value="#e60000"></option><option value="#ff9900"></option><option value="#ffff00"></option><option value="#008a00"></option><option value="#0066cc"></option><option value="#9933ff"></option><option value="#ffffff"></option><option value="#facccc"></option><option value="#ffebcc"></option><option value="#ffffcc"></option><option value="#cce8cc"></option><option value="#cce0f5"></option><option value="#ebd6ff"></option><option value="#bbbbbb"></option><option value="#f06666"></option><option value="#ffc266"></option><option value="#ffff66"></option><option value="#66b966"></option><option value="#66a3e0"></option><option value="#c285ff"></option><option value="#888888"></option><option value="#a10000"></option><option value="#b26b00"></option><option value="#b2b200"></option><option value="#006100"></option><option value="#0047b2"></option><option value="#6b24b2"></option><option value="#444444"></option><option value="#5c0000"></option><option value="#663d00"></option><option value="#666600"></option><option value="#003700"></option><option value="#002966"></option><option value="#3d1466"></option></select><select class="ql-background"><option selected></option><option value="#e60000"></option><option value="#ff9900"></option><option value="#ffff00"></option><option value="#008a00"></option><option value="#0066cc"></option><option value="#9933ff"></option><option value="#ffffff"></option><option value="#facccc"></option><option value="#ffebcc"></option><option value="#ffffcc"></option><option value="#cce8cc"></option><option value="#cce0f5"></option><option value="#ebd6ff"></option><option value="#bbbbbb"></option><option value="#f06666"></option><option value="#ffc266"></option><option value="#ffff66"></option><option value="#66b966"></option><option value="#66a3e0"></option><option value="#c285ff"></option><option value="#888888"></option><option value="#a10000"></option><option value="#b26b00"></option><option value="#b2b200"></option><option value="#006100"></option><option value="#0047b2"></option><option value="#6b24b2"></option><option value="#444444"></option><option value="#5c0000"></option><option value="#663d00"></option><option value="#666600"></option><option value="#003700"></option><option value="#002966"></option><option value="#3d1466"></option></select></div><div class="ql-formats"><button class="ql-code-block" data-toggle="tooltip" data-placement="bottom" title="Code"></button><button class="ql-blockquote" data-toggle="tooltip" data-placement="bottom" title="Block quote"></button><button class="ql-link" data-toggle="tooltip" data-placement="bottom" title="Link"></button></div><div class="ql-formats"><button class="ql-header" data-toggle="tooltip" data-placement="bottom" value="1"></button><button class="ql-header" data-toggle="tooltip" data-placement="bottom" value="2"></button><select class="ql-align"><option selected></option><option value="center"></option><option value="right"></option><option value="justify"></option></select></div><div class="ql-formats"><select class="ql-size"><option value="small"></option><option selected></option><option value="large"></option><option value="huge"></option></select><select class="ql-header"><option value=""></option><option value="1"></option><option value="2"></option><option value="3"></option><option value="4"></option><option value="5"></option><option value="6"></option></select></div><div class="ql-formats"><select class="ql-font"><option selected></option><option value="serif"></option><option value="monospace"></option></select></div><div class="ql-formats"><button class="ql-image" data-toggle="tooltip" data-placement="bottom" title="Image"></button><button class="ql-video" data-toggle="tooltip" data-placement="bottom" title="Video"></button><button class="ql-clean" data-toggle="tooltip" data-placement="bottom" title="Clean"></button></div>', 7), tt = [
|
4
|
+
Z
|
5
|
+
], at = /* @__PURE__ */ E({
|
6
|
+
__name: "RichText",
|
7
|
+
props: {
|
8
|
+
schema: {},
|
9
|
+
table: {},
|
10
|
+
field: {},
|
11
|
+
set: {},
|
12
|
+
row: {},
|
13
|
+
modelValue: {}
|
14
|
+
},
|
15
|
+
emits: ["change", "update:modelValue"],
|
16
|
+
setup(H, { emit: N }) {
|
17
|
+
let _ = N, L = H, { field: i, table: B, set: ot, row: x, modelValue: T } = I(L), s = null, l = null, r = null, b = !1, m = !1, g = a(), h = a(), p = a(), y = a(!1), R = a(), k = a(), M = (t) => {
|
18
|
+
let o = X.getDateString(), e = getSelection(), n = e.getRangeAt(0), c = n.startContainer;
|
19
|
+
if (c.nodeName == "#text")
|
20
|
+
c.insertData(n.startOffset, o), n.setStart(c, n.startOffset + o.length), e.removeAllRanges(), e.addRange(n);
|
21
|
+
else {
|
22
|
+
let q = document.createTextNode(o);
|
23
|
+
c.appendChild(q);
|
24
|
+
let d = document.createRange();
|
25
|
+
d.selectNodeContents(q), d.setStart(q, d.startOffset + o.length), e.removeAllRanges(), e.addRange(d);
|
26
|
+
}
|
27
|
+
}, A = (t) => {
|
28
|
+
if (b || m) {
|
29
|
+
u.value != null && p.value.setScrollTop(u.value), b = !1, m = !1;
|
30
|
+
return;
|
31
|
+
}
|
32
|
+
r = t, x.value[v.value.name] = t.scrollTop;
|
33
|
+
}, O = () => i.value.control.height ? `height: ${i.value.control.height}px` : "min-height: 300px;", z = () => `height: calc(100% - ${Y.getHeight(h.value)}px)`;
|
34
|
+
(() => {
|
35
|
+
R.value = O(), import("quill").then((t) => {
|
36
|
+
let o = t.default;
|
37
|
+
s = new o(g.value, {
|
38
|
+
modules: {
|
39
|
+
toolbar: {
|
40
|
+
container: h.value,
|
41
|
+
handlers: { date: M }
|
42
|
+
}
|
43
|
+
},
|
44
|
+
theme: "snow"
|
45
|
+
}), y.value = !0, K(() => {
|
46
|
+
k.value = z();
|
47
|
+
}), i.value.control.readonly && s.disable(), l = g.value.querySelector(".ql-editor"), l.innerHTML = V.value, p.value.update(), v.value && u.value != null && p.value.setScrollTop(u.value), s.on("text-change", (e, n, c) => {
|
48
|
+
b = !0, V.value = l.innerHTML;
|
49
|
+
}), l.addEventListener("paste", (e) => {
|
50
|
+
m = !0;
|
51
|
+
});
|
52
|
+
});
|
53
|
+
})(), U(() => {
|
54
|
+
s = null;
|
55
|
+
});
|
56
|
+
let v = S(() => i.value.control.scrollTop ? B.value.fields.find((o) => o.name == i.value.control.scrollTop) : null), u = S(() => v.value ? x.value[v.value.name] : null), V = S({
|
57
|
+
get() {
|
58
|
+
return T.value || "";
|
59
|
+
},
|
60
|
+
set(t) {
|
61
|
+
_("update:modelValue", t), _("change", t);
|
62
|
+
}
|
63
|
+
});
|
64
|
+
return C(() => T.value, (t, o) => {
|
65
|
+
l.innerHTML != t && (l.innerHTML = t);
|
66
|
+
}), C(() => u.value, (t, o) => {
|
67
|
+
t != null && (r == null ? void 0 : r.scrollTop) != t && p.value.setScrollTop(t);
|
68
|
+
}), (t, o) => {
|
69
|
+
const e = $("el-scrollbar");
|
70
|
+
return j(), F("div", {
|
71
|
+
class: "control-rich-text",
|
72
|
+
style: w(f(R))
|
73
|
+
}, [
|
74
|
+
P(D("div", {
|
75
|
+
ref_key: "toolbarRef",
|
76
|
+
ref: h
|
77
|
+
}, tt, 512), [
|
78
|
+
[Q, f(y)]
|
79
|
+
]),
|
80
|
+
G(e, {
|
81
|
+
ref_key: "scrollbarRef",
|
82
|
+
ref: p,
|
83
|
+
class: "ql-body",
|
84
|
+
onScroll: f(A),
|
85
|
+
style: w(f(k))
|
86
|
+
}, {
|
87
|
+
default: J(() => [
|
88
|
+
D("div", {
|
89
|
+
ref_key: "editorRef",
|
90
|
+
ref: g
|
91
|
+
}, null, 512)
|
92
|
+
]),
|
93
|
+
_: 1
|
94
|
+
}, 8, ["onScroll", "style"])
|
95
|
+
], 4);
|
96
|
+
};
|
97
|
+
}
|
98
|
+
});
|
99
|
+
export {
|
100
|
+
at as default
|
101
|
+
};
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { defineComponent as l, toRefs as n, openBlock as r, createElementBlock as s, unref as c } from "vue";
|
2
|
+
const a = ["innerHTML"], h = /* @__PURE__ */ l({
|
3
|
+
__name: "RichText",
|
4
|
+
props: {
|
5
|
+
schema: {},
|
6
|
+
table: {},
|
7
|
+
field: {},
|
8
|
+
set: {},
|
9
|
+
row: {},
|
10
|
+
modelValue: {}
|
11
|
+
},
|
12
|
+
setup(e) {
|
13
|
+
let t = e, { table: i, field: m, set: p, row: d, modelValue: o } = n(t);
|
14
|
+
return (f, u) => (r(), s("div", {
|
15
|
+
class: "text-rich-text",
|
16
|
+
innerHTML: c(o)
|
17
|
+
}, null, 8, a));
|
18
|
+
}
|
19
|
+
});
|
20
|
+
export {
|
21
|
+
h as default
|
22
|
+
};
|
@@ -0,0 +1,55 @@
|
|
1
|
+
import { defineComponent as g, toRefs as C, computed as j, openBlock as n, createElementBlock as O, createBlock as q, resolveDynamicComponent as A, unref as e } from "vue";
|
2
|
+
import { e as E } from "./main-QtNG6p7a.js";
|
3
|
+
const k = { class: "search-footer" }, R = /* @__PURE__ */ g({
|
4
|
+
__name: "SearchFooter",
|
5
|
+
props: {
|
6
|
+
schema: { type: Array },
|
7
|
+
table: { type: Object, required: !0 },
|
8
|
+
layout: { type: Object, required: !0 },
|
9
|
+
set: { type: Object, required: !0 },
|
10
|
+
next: { type: Object, required: !0 },
|
11
|
+
selection: { type: Array },
|
12
|
+
searchData: { type: Object }
|
13
|
+
},
|
14
|
+
emits: ["search", "succeed", "add", "remove", "copy", "show-import", "show-export"],
|
15
|
+
setup(a, { emit: c }) {
|
16
|
+
let o = c, s = a, { schema: p, table: r, layout: l, set: m, next: u, selection: d, searchData: B } = C(s), h = E(), i = (t) => {
|
17
|
+
o("search", t);
|
18
|
+
}, y = () => {
|
19
|
+
o("succeed");
|
20
|
+
}, b = (t) => {
|
21
|
+
o("add", t);
|
22
|
+
}, x = (t) => {
|
23
|
+
o("remove", t);
|
24
|
+
}, S = () => {
|
25
|
+
o("copy");
|
26
|
+
}, w = () => {
|
27
|
+
o("show-import");
|
28
|
+
}, _ = () => {
|
29
|
+
o("show-export");
|
30
|
+
}, v = j(() => {
|
31
|
+
let t = `/${r.value.name}/paging-header`;
|
32
|
+
return h.getComponent(t, "partial", "paging-header");
|
33
|
+
});
|
34
|
+
return (t, f) => (n(), O("div", k, [
|
35
|
+
(n(), q(A(e(v)), {
|
36
|
+
schema: e(p),
|
37
|
+
table: e(r),
|
38
|
+
layout: e(l),
|
39
|
+
next: e(u),
|
40
|
+
set: e(m),
|
41
|
+
selection: e(d),
|
42
|
+
onAdd: e(b),
|
43
|
+
onRemove: e(x),
|
44
|
+
onCopy: e(S),
|
45
|
+
onShowImport: e(w),
|
46
|
+
onShowExport: e(_),
|
47
|
+
onSucceed: e(y),
|
48
|
+
onSubmit: e(i)
|
49
|
+
}, null, 40, ["schema", "table", "layout", "next", "set", "selection", "onAdd", "onRemove", "onCopy", "onShowImport", "onShowExport", "onSucceed", "onSubmit"]))
|
50
|
+
]));
|
51
|
+
}
|
52
|
+
});
|
53
|
+
export {
|
54
|
+
R as _
|
55
|
+
};
|
@@ -0,0 +1,145 @@
|
|
1
|
+
import { defineComponent as H, toRefs as I, ref as p, onMounted as J, nextTick as P, computed as j, watch as Q, resolveComponent as m, openBlock as r, createBlock as i, withCtx as n, unref as a, withModifiers as X, createElementBlock as v, Fragment as g, renderList as y, createVNode as x, createTextVNode as B, toDisplayString as Y, createCommentVNode as Z } from "vue";
|
2
|
+
import { K as ee, d as D } from "./main-QtNG6p7a.js";
|
3
|
+
import { _ as te } from "./Index.vue_vue_type_script_setup_true_lang-B-sM48XO.js";
|
4
|
+
const oe = /* @__PURE__ */ H({
|
5
|
+
__name: "SearchForm",
|
6
|
+
props: {
|
7
|
+
schema: { type: Array, required: !0 },
|
8
|
+
table: { type: Object, required: !0 },
|
9
|
+
layout: { type: Object, required: !0 },
|
10
|
+
searchData: { type: Object, required: !0 }
|
11
|
+
},
|
12
|
+
emits: ["change", "submit", "mounted"],
|
13
|
+
setup(M, { expose: N, emit: T }) {
|
14
|
+
let w = T, W = M, { schema: k, table: u, layout: C, searchData: b } = I(W), S = p(), V = p(), E = p(), d = p(), L = (e) => {
|
15
|
+
w("change", e);
|
16
|
+
}, F = (e = null) => {
|
17
|
+
w("submit");
|
18
|
+
}, U = (e, t) => {
|
19
|
+
let l = e == "*" ? null : e;
|
20
|
+
b.value[u.value.name][t.name] = l, F();
|
21
|
+
}, R = () => {
|
22
|
+
S.value && (V.value = S.value.$el.clientWidth);
|
23
|
+
}, $ = (e) => {
|
24
|
+
R();
|
25
|
+
}, q = () => {
|
26
|
+
let e = C.value.tabs;
|
27
|
+
if (e)
|
28
|
+
for (let t = 0; t < e.length; t++) {
|
29
|
+
let l = e[t];
|
30
|
+
d.value[u.value.name][l] || (d.value[u.value.name][l] = "*");
|
31
|
+
}
|
32
|
+
};
|
33
|
+
d.value = ee.clone(b.value), q(), J(() => {
|
34
|
+
R(), P(() => {
|
35
|
+
w("mounted");
|
36
|
+
});
|
37
|
+
});
|
38
|
+
let z = j(() => {
|
39
|
+
if (!V.value)
|
40
|
+
return [];
|
41
|
+
let e = Math.ceil(V.value / 200), t = D.expandSearch(k.value), l = C.value.tabs ?? [], c = t.filter((f) => l.indexOf(f.name) == -1);
|
42
|
+
return D.getLines(c, e, (f) => f, () => 1);
|
43
|
+
}), O = j(() => {
|
44
|
+
let e = [], t = C.value.tabs;
|
45
|
+
return t && t.forEach((l) => {
|
46
|
+
let c = u.value.fields.find((_) => _.name == l);
|
47
|
+
e.push(c);
|
48
|
+
}), e;
|
49
|
+
});
|
50
|
+
return Q(() => b.value, (e, t) => {
|
51
|
+
q();
|
52
|
+
}), N({ resize: $ }), (e, t) => {
|
53
|
+
const l = m("el-radio-button"), c = m("el-radio-group"), _ = m("el-form-item"), f = m("el-col"), A = m("el-row"), K = m("el-form"), G = m("el-scrollbar");
|
54
|
+
return r(), i(G, {
|
55
|
+
"max-height": "200px",
|
56
|
+
class: "search-form"
|
57
|
+
}, {
|
58
|
+
default: n(() => [
|
59
|
+
a(u).search.length > 0 ? (r(), i(K, {
|
60
|
+
key: 0,
|
61
|
+
ref_key: "searchFormRef",
|
62
|
+
ref: S,
|
63
|
+
"label-position": "left",
|
64
|
+
inline: "",
|
65
|
+
onSubmit: t[0] || (t[0] = X(() => {
|
66
|
+
}, ["prevent"]))
|
67
|
+
}, {
|
68
|
+
default: n(() => [
|
69
|
+
(r(!0), v(g, null, y(a(O), (s, h) => (r(), i(_, {
|
70
|
+
class: "search-tab",
|
71
|
+
label: s.label,
|
72
|
+
"label-width": 50
|
73
|
+
}, {
|
74
|
+
default: n(() => [
|
75
|
+
x(c, {
|
76
|
+
ref_for: !0,
|
77
|
+
ref_key: "tabRefs",
|
78
|
+
ref: E,
|
79
|
+
onChange: (o) => a(U)(o, s),
|
80
|
+
modelValue: a(d)[a(u).name][s.name],
|
81
|
+
"onUpdate:modelValue": (o) => a(d)[a(u).name][s.name] = o
|
82
|
+
}, {
|
83
|
+
default: n(() => [
|
84
|
+
x(l, { value: "*" }, {
|
85
|
+
default: n(() => [
|
86
|
+
B("全部")
|
87
|
+
]),
|
88
|
+
_: 1
|
89
|
+
}),
|
90
|
+
(r(!0), v(g, null, y(s.control.data.data, (o) => (r(), i(l, {
|
91
|
+
value: o.value
|
92
|
+
}, {
|
93
|
+
default: n(() => [
|
94
|
+
B(Y(o.text), 1)
|
95
|
+
]),
|
96
|
+
_: 2
|
97
|
+
}, 1032, ["value"]))), 256))
|
98
|
+
]),
|
99
|
+
_: 2
|
100
|
+
}, 1032, ["onChange", "modelValue", "onUpdate:modelValue"])
|
101
|
+
]),
|
102
|
+
_: 2
|
103
|
+
}, 1032, ["label"]))), 256)),
|
104
|
+
(r(!0), v(g, null, y(a(z), (s) => (r(), i(A, {
|
105
|
+
class: "search-row",
|
106
|
+
label: a(O).length ? "其它" : "",
|
107
|
+
"label-width": 50,
|
108
|
+
gutter: 5
|
109
|
+
}, {
|
110
|
+
default: n(() => [
|
111
|
+
(r(!0), v(g, null, y(s, ({ data: h, span: o }, ae) => (r(), i(f, { span: o }, {
|
112
|
+
default: n(() => [
|
113
|
+
x(_, {
|
114
|
+
label: e.t_field(h.table.name, h.name)
|
115
|
+
}, {
|
116
|
+
default: n(() => [
|
117
|
+
x(te, {
|
118
|
+
schema: a(k),
|
119
|
+
table: h.table,
|
120
|
+
field: h,
|
121
|
+
"search-data": a(b),
|
122
|
+
onChange: a(L),
|
123
|
+
onSubmit: a(F)
|
124
|
+
}, null, 8, ["schema", "table", "field", "search-data", "onChange", "onSubmit"])
|
125
|
+
]),
|
126
|
+
_: 2
|
127
|
+
}, 1032, ["label"])
|
128
|
+
]),
|
129
|
+
_: 2
|
130
|
+
}, 1032, ["span"]))), 256))
|
131
|
+
]),
|
132
|
+
_: 2
|
133
|
+
}, 1032, ["label"]))), 256))
|
134
|
+
]),
|
135
|
+
_: 1
|
136
|
+
}, 512)) : Z("", !0)
|
137
|
+
]),
|
138
|
+
_: 1
|
139
|
+
});
|
140
|
+
};
|
141
|
+
}
|
142
|
+
});
|
143
|
+
export {
|
144
|
+
oe as _
|
145
|
+
};
|
@@ -0,0 +1,80 @@
|
|
1
|
+
import { defineComponent as K, toRefs as R, ref as d, computed as S, resolveComponent as c, openBlock as s, createBlock as f, unref as l, withKeys as M, withModifiers as N, isRef as j, withCtx as p, createElementBlock as h, Fragment as F, renderList as L, createElementVNode as U, toDisplayString as v, createCommentVNode as q } from "vue";
|
2
|
+
import { j as z } from "./main-QtNG6p7a.js";
|
3
|
+
const A = { class: "option-text" }, G = {
|
4
|
+
key: 0,
|
5
|
+
class: "option-suffix"
|
6
|
+
}, P = /* @__PURE__ */ K({
|
7
|
+
__name: "Select",
|
8
|
+
props: {
|
9
|
+
schema: {},
|
10
|
+
table: {},
|
11
|
+
field: {},
|
12
|
+
searchData: {},
|
13
|
+
modelValue: { type: [String, Boolean] }
|
14
|
+
},
|
15
|
+
emits: ["change", "submit", "update:modelValue"],
|
16
|
+
setup(_, { emit: x }) {
|
17
|
+
let r = x, b = _, { schema: H, table: g, field: a, searchData: y, modelValue: V } = R(b), k = d(!1), i = d(), m = d(a.value.control.data.data), C = () => {
|
18
|
+
r("submit");
|
19
|
+
}, w = () => {
|
20
|
+
}, B = (t) => {
|
21
|
+
i.value = t, D();
|
22
|
+
}, D = () => {
|
23
|
+
let t = { text: i.value, conditions: [] };
|
24
|
+
a.value.control.data.conditions.forEach((o) => {
|
25
|
+
let u = y.value[o.table][o.field];
|
26
|
+
t.conditions.push({ name: o.name, value: u });
|
27
|
+
}), z.post(a.value.control.data.route, t).then(({ data: o }) => {
|
28
|
+
m.value = o;
|
29
|
+
}).finally(() => {
|
30
|
+
k.value = !1;
|
31
|
+
});
|
32
|
+
}, n = S({
|
33
|
+
get() {
|
34
|
+
return V.value;
|
35
|
+
},
|
36
|
+
set(t) {
|
37
|
+
r("update:modelValue", t), r("change", t);
|
38
|
+
}
|
39
|
+
});
|
40
|
+
return (t, o) => {
|
41
|
+
const u = c("el-option"), E = c("el-select");
|
42
|
+
return s(), f(E, {
|
43
|
+
ref: "selectRef",
|
44
|
+
filterable: "",
|
45
|
+
remote: "",
|
46
|
+
"reserve-keyword": "",
|
47
|
+
clearable: "",
|
48
|
+
"default-first-option": "",
|
49
|
+
"remote-show-suffix": "",
|
50
|
+
placeholder: t.t("common.please_choose") + t.t_field(l(g).name, l(a).name),
|
51
|
+
multiple: l(a).control.multiple,
|
52
|
+
"loading-text": "加载中",
|
53
|
+
"remote-method": l(B),
|
54
|
+
disabled: l(a).control.readonly,
|
55
|
+
onKeyup: M(N(l(C), ["alt"]), ["enter", "native"]),
|
56
|
+
onChange: l(w),
|
57
|
+
modelValue: l(n),
|
58
|
+
"onUpdate:modelValue": o[0] || (o[0] = (e) => j(n) ? n.value = e : n = e)
|
59
|
+
}, {
|
60
|
+
default: p(() => [
|
61
|
+
(s(!0), h(F, null, L(l(m), (e, I) => (s(), f(u, {
|
62
|
+
label: e.text + (e.suffix ? "(" + e.suffix + ")" : ""),
|
63
|
+
value: e.value,
|
64
|
+
key: e.value
|
65
|
+
}, {
|
66
|
+
default: p(() => [
|
67
|
+
U("span", A, v(e.text), 1),
|
68
|
+
e.suffix ? (s(), h("span", G, "(" + v(e.suffix) + ")", 1)) : q("", !0)
|
69
|
+
]),
|
70
|
+
_: 2
|
71
|
+
}, 1032, ["label", "value"]))), 128))
|
72
|
+
]),
|
73
|
+
_: 1
|
74
|
+
}, 8, ["placeholder", "multiple", "remote-method", "disabled", "onKeyup", "onChange", "modelValue"]);
|
75
|
+
};
|
76
|
+
}
|
77
|
+
});
|
78
|
+
export {
|
79
|
+
P as default
|
80
|
+
};
|
@@ -0,0 +1,111 @@
|
|
1
|
+
import { defineComponent as A, toRefs as D, ref as f, computed as L, resolveComponent as _, openBlock as c, createBlock as y, unref as u, withKeys as O, withModifiers as U, isRef as $, withCtx as V, createElementBlock as k, Fragment as q, renderList as z, createElementVNode as G, toDisplayString as w, createCommentVNode as H, nextTick as I } from "vue";
|
2
|
+
import { k as J, a as P, j as Q } from "./main-QtNG6p7a.js";
|
3
|
+
const W = { class: "option-text" }, X = {
|
4
|
+
key: 0,
|
5
|
+
class: "option-suffix"
|
6
|
+
}, ee = /* @__PURE__ */ A({
|
7
|
+
__name: "Select",
|
8
|
+
props: {
|
9
|
+
schema: {},
|
10
|
+
table: {},
|
11
|
+
field: {},
|
12
|
+
set: {},
|
13
|
+
row: {},
|
14
|
+
modelValue: { type: [String, Number, Boolean, Array] }
|
15
|
+
},
|
16
|
+
emits: ["submit", "change", "update:modelValue"],
|
17
|
+
setup(C, { emit: E }) {
|
18
|
+
let s = E, B = C, { schema: S, field: n, table: m, set: h, row: R, modelValue: p } = D(B), x = f(), g = f(), v = f(!1), d = f(n.value.control.data.data), j = (t) => {
|
19
|
+
t == "" && (t = null);
|
20
|
+
let e;
|
21
|
+
if (J.isString(t) && n.value.control.multiple ? e = t.join(",") : e = t, r.value = e, n.value.control.text) {
|
22
|
+
let a = m.value.fields.find((l) => l.name == n.value.control.text), o;
|
23
|
+
e && (o = d.value.find((i) => i.value == e).text);
|
24
|
+
debugger;
|
25
|
+
R.value[a.name] = o;
|
26
|
+
}
|
27
|
+
b(m.value, n.value), s("change", t);
|
28
|
+
}, K = () => {
|
29
|
+
s("submit");
|
30
|
+
}, N = () => {
|
31
|
+
}, F = () => {
|
32
|
+
v.value = !0;
|
33
|
+
let t = { text: g.value, conditions: [] };
|
34
|
+
n.value.control.data.conditions.forEach((e) => {
|
35
|
+
let a = h.value[e.table].filter((l) => l[e.field] != null).map((l) => l[e.field]), o = a.length == 0 ? null : a.join(",");
|
36
|
+
t.conditions.push({ name: e.name, value: o });
|
37
|
+
}), Q.post(n.value.control.data.route, t).then(({ data: e }) => {
|
38
|
+
d.value = e;
|
39
|
+
}).finally(() => {
|
40
|
+
v.value = !1, I(() => {
|
41
|
+
let e = d.value.find((a) => a.value == r.value);
|
42
|
+
x.value.scrollToOption(e);
|
43
|
+
});
|
44
|
+
});
|
45
|
+
}, M = (t) => {
|
46
|
+
g.value = t, F();
|
47
|
+
}, T = (t, e) => {
|
48
|
+
let a = [];
|
49
|
+
return S.value.forEach((o) => {
|
50
|
+
o.fields.forEach((l) => {
|
51
|
+
l.dictionary && l.dictionary.conditions.forEach((i) => {
|
52
|
+
i.table == t.name && i.field == e.name && a.push({ table: o, field: l });
|
53
|
+
});
|
54
|
+
});
|
55
|
+
}), a;
|
56
|
+
}, b = (t, e) => {
|
57
|
+
T(t, e).forEach((o) => {
|
58
|
+
P.setRowsValue(null, h.value, o.table, o.field), b(o.table, o.field);
|
59
|
+
});
|
60
|
+
}, r = L({
|
61
|
+
get() {
|
62
|
+
return n.value.control.multiple ? p.value == null ? [] : p.value.toString().split(",") : p.value;
|
63
|
+
},
|
64
|
+
set(t) {
|
65
|
+
s("update:modelValue", t), s("change", t);
|
66
|
+
}
|
67
|
+
});
|
68
|
+
return (t, e) => {
|
69
|
+
const a = _("el-option"), o = _("el-select");
|
70
|
+
return c(), y(o, {
|
71
|
+
ref_key: "selectRef",
|
72
|
+
ref: x,
|
73
|
+
filterable: "",
|
74
|
+
remote: "",
|
75
|
+
"reserve-keyword": "",
|
76
|
+
"default-first-option": "",
|
77
|
+
"remote-show-suffix": "",
|
78
|
+
"loading-text": "加载中",
|
79
|
+
clearable: "",
|
80
|
+
placeholder: t.t_field_choose_placeholder(u(m).name, u(n).name),
|
81
|
+
multiple: u(n).control.multiple,
|
82
|
+
"remote-method": u(M),
|
83
|
+
loading: u(v),
|
84
|
+
disabled: u(n).control.readonly,
|
85
|
+
onKeyup: O(U(u(K), ["alt"]), ["enter", "native"]),
|
86
|
+
onBlur: u(N),
|
87
|
+
onChange: u(j),
|
88
|
+
modelValue: u(r),
|
89
|
+
"onUpdate:modelValue": e[0] || (e[0] = (l) => $(r) ? r.value = l : r = l)
|
90
|
+
}, {
|
91
|
+
default: V(() => [
|
92
|
+
(c(!0), k(q, null, z(u(d), (l, i) => (c(), y(a, {
|
93
|
+
label: `${l.text}${l.suffix ? "(" + l.suffix + ")" : ""}`,
|
94
|
+
value: l.value,
|
95
|
+
key: l.value
|
96
|
+
}, {
|
97
|
+
default: V(() => [
|
98
|
+
G("span", W, w(l.text), 1),
|
99
|
+
l.suffix ? (c(), k("span", X, "(" + w(l.suffix) + ")", 1)) : H("", !0)
|
100
|
+
]),
|
101
|
+
_: 2
|
102
|
+
}, 1032, ["label", "value"]))), 128))
|
103
|
+
]),
|
104
|
+
_: 1
|
105
|
+
}, 8, ["placeholder", "multiple", "remote-method", "loading", "disabled", "onKeyup", "onBlur", "onChange", "modelValue"]);
|
106
|
+
};
|
107
|
+
}
|
108
|
+
});
|
109
|
+
export {
|
110
|
+
ee as default
|
111
|
+
};
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { defineComponent as u, defineAsyncComponent as f, toRefs as c, openBlock as b, createBlock as V, unref as e, isRef as w } from "vue";
|
2
|
+
const x = /* @__PURE__ */ u({
|
3
|
+
__name: "Select",
|
4
|
+
props: {
|
5
|
+
schema: {},
|
6
|
+
table: {},
|
7
|
+
field: {},
|
8
|
+
set: {},
|
9
|
+
row: {},
|
10
|
+
modelValue: { type: [String, Number, Boolean] }
|
11
|
+
},
|
12
|
+
setup(a) {
|
13
|
+
let r = f(() => import("./Dictionary-DpQuFYQ5.js")), n = a, { schema: m, table: s, field: d, set: i, row: p, modelValue: l } = c(n);
|
14
|
+
return (_, t) => (b(), V(e(r), {
|
15
|
+
schema: e(m),
|
16
|
+
table: e(s),
|
17
|
+
field: e(d),
|
18
|
+
set: e(i),
|
19
|
+
row: e(p),
|
20
|
+
modelValue: e(l),
|
21
|
+
"onUpdate:modelValue": t[0] || (t[0] = (o) => w(l) ? l.value = o : l = o)
|
22
|
+
}, null, 8, ["schema", "table", "field", "set", "row", "modelValue"]));
|
23
|
+
}
|
24
|
+
});
|
25
|
+
export {
|
26
|
+
x as default
|
27
|
+
};
|