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,36 @@
|
|
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
|
+
};
|
@@ -0,0 +1,65 @@
|
|
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 D, withCtx as N, createElementVNode as V, toDisplayString as $ } from "vue";
|
2
|
+
import { l as F } from "./main-QtNG6p7a.js";
|
3
|
+
import "vue-router";
|
4
|
+
import "./vendor-intro.js-DwWqhM1v.js";
|
5
|
+
const I = { class: "not-support" }, G = /* @__PURE__ */ E({
|
6
|
+
__name: "Index",
|
7
|
+
props: {
|
8
|
+
route: {},
|
9
|
+
validateErrors: {},
|
10
|
+
module: {},
|
11
|
+
schema: {},
|
12
|
+
table: {},
|
13
|
+
layout: {},
|
14
|
+
next: {},
|
15
|
+
set: {}
|
16
|
+
},
|
17
|
+
emits: ["layout-change", "row-edit", "change", "submit"],
|
18
|
+
setup(s, { expose: i, emit: m }) {
|
19
|
+
let o = m, d = s, { module: p, schema: c, table: r, layout: a, next: y, set: h } = x(d), l = R(), f = (t) => {
|
20
|
+
o("layout-change", t);
|
21
|
+
}, g = (t, n, w) => {
|
22
|
+
o("row-edit", t, n, w);
|
23
|
+
}, _ = () => {
|
24
|
+
o("change");
|
25
|
+
}, b = (t) => {
|
26
|
+
o("submit", t);
|
27
|
+
}, v = (t) => {
|
28
|
+
}, C = (t) => {
|
29
|
+
if (!l.value || !l.value.resize)
|
30
|
+
return !1;
|
31
|
+
l.value.resize(t);
|
32
|
+
};
|
33
|
+
return k(() => {
|
34
|
+
}), i({ update: v, resize: C }), (t, n) => (u(), z(B, null, [
|
35
|
+
L(e(F), {
|
36
|
+
layout: e(a),
|
37
|
+
table: e(r),
|
38
|
+
onLayoutChange: e(f)
|
39
|
+
}, null, 8, ["layout", "table", "onLayoutChange"]),
|
40
|
+
(u(), S(D(`update-${e(a).type.toLowerCase()}`), {
|
41
|
+
ref_key: "layoutRef",
|
42
|
+
ref: l,
|
43
|
+
module: e(p),
|
44
|
+
schema: e(c),
|
45
|
+
table: e(r),
|
46
|
+
layout: e(a),
|
47
|
+
next: e(y),
|
48
|
+
set: e(h),
|
49
|
+
route: t.route,
|
50
|
+
"validate-errors": t.validateErrors,
|
51
|
+
onRowEdit: e(g),
|
52
|
+
onChange: e(_),
|
53
|
+
onSubmit: e(b)
|
54
|
+
}, {
|
55
|
+
default: N(() => [
|
56
|
+
V("div", I, $(t.t("single.not_supported_layout", e(a).type)), 1)
|
57
|
+
]),
|
58
|
+
_: 1
|
59
|
+
}, 40, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onRowEdit", "onChange", "onSubmit"]))
|
60
|
+
], 64));
|
61
|
+
}
|
62
|
+
});
|
63
|
+
export {
|
64
|
+
G as _
|
65
|
+
};
|
@@ -0,0 +1,77 @@
|
|
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 { l as F } from "./main-QtNG6p7a.js";
|
3
|
+
import "vue-router";
|
4
|
+
import "./vendor-intro.js-DwWqhM1v.js";
|
5
|
+
const I = { class: "not-support" }, K = /* @__PURE__ */ k({
|
6
|
+
__name: "Index",
|
7
|
+
props: {
|
8
|
+
searchData: {},
|
9
|
+
module: {},
|
10
|
+
schema: {},
|
11
|
+
table: {},
|
12
|
+
layout: {},
|
13
|
+
next: {},
|
14
|
+
set: {}
|
15
|
+
},
|
16
|
+
emits: ["navigate", "sort", "search", "page-change", "size-change", "succeed", "close", "layout-change"],
|
17
|
+
setup(c, { expose: u, emit: i }) {
|
18
|
+
let o = i, g = c, { module: h, schema: m, table: s, layout: l, next: p, set: d, searchData: y } = D(g), n = N(), f = (a, t) => {
|
19
|
+
o("navigate", a, t);
|
20
|
+
}, C = (a, t) => {
|
21
|
+
o("sort", a, t);
|
22
|
+
}, v = (a) => {
|
23
|
+
o("search", a);
|
24
|
+
}, _ = (a, t = null) => {
|
25
|
+
o("page-change", a, t);
|
26
|
+
}, b = (a, t = null) => {
|
27
|
+
o("size-change", a, t);
|
28
|
+
}, x = (a = null) => {
|
29
|
+
o("succeed", a);
|
30
|
+
}, z = () => {
|
31
|
+
o("close");
|
32
|
+
}, S = (a) => {
|
33
|
+
o("layout-change", a);
|
34
|
+
};
|
35
|
+
return u({ resize: (a) => {
|
36
|
+
if (!n.value || !n.value.resize)
|
37
|
+
return !1;
|
38
|
+
n.value.resize(a);
|
39
|
+
}, keyboard: (a, t) => {
|
40
|
+
if (!n.value || !n.value.keyboard)
|
41
|
+
return !1;
|
42
|
+
n.value.keyboard(a, t);
|
43
|
+
} }), (a, t) => (r(), B(L, null, [
|
44
|
+
R(e(F), {
|
45
|
+
layout: e(l),
|
46
|
+
table: e(s),
|
47
|
+
onLayoutChange: e(S)
|
48
|
+
}, null, 8, ["layout", "table", "onLayoutChange"]),
|
49
|
+
(r(), w(E(`paging-${e(l).type.toLowerCase()}`), {
|
50
|
+
ref_key: "pagingRef",
|
51
|
+
ref: n,
|
52
|
+
module: e(h),
|
53
|
+
schema: e(m),
|
54
|
+
table: e(s),
|
55
|
+
layout: e(l),
|
56
|
+
next: e(p),
|
57
|
+
set: e(d),
|
58
|
+
"search-data": e(y),
|
59
|
+
onNavigate: e(f),
|
60
|
+
onSort: e(C),
|
61
|
+
onSearch: e(v),
|
62
|
+
onPageChange: e(_),
|
63
|
+
onSizeChange: e(b),
|
64
|
+
onSucceed: e(x),
|
65
|
+
onClose: e(z)
|
66
|
+
}, {
|
67
|
+
default: P(() => [
|
68
|
+
V("div", I, "未支持的分页布局方式:" + $(e(l).type), 1)
|
69
|
+
]),
|
70
|
+
_: 1
|
71
|
+
}, 40, ["module", "schema", "table", "layout", "next", "set", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onSucceed", "onClose"]))
|
72
|
+
], 64));
|
73
|
+
}
|
74
|
+
});
|
75
|
+
export {
|
76
|
+
K as _
|
77
|
+
};
|
@@ -0,0 +1,109 @@
|
|
1
|
+
import { defineComponent as E, defineAsyncComponent as I, toRefs as z, ref as A, computed as h, resolveComponent as v, openBlock as r, createElementBlock as u, Fragment as b, unref as e, createBlock as d, withCtx as s, createElementVNode as g, createVNode as _, resolveDynamicComponent as F, toDisplayString as k, createTextVNode as U, createCommentVNode as $ } from "vue";
|
2
|
+
import { B as j } from "./main-QtNG6p7a.js";
|
3
|
+
const q = { class: "text-popover" }, G = {
|
4
|
+
key: 2,
|
5
|
+
class: "control-operation"
|
6
|
+
}, K = /* @__PURE__ */ E({
|
7
|
+
__name: "Index",
|
8
|
+
props: {
|
9
|
+
schema: {},
|
10
|
+
table: {},
|
11
|
+
field: {},
|
12
|
+
set: {},
|
13
|
+
row: {},
|
14
|
+
config: {}
|
15
|
+
},
|
16
|
+
emits: ["submit", "change"],
|
17
|
+
setup(w, { emit: x }) {
|
18
|
+
let f = I(() => import("./Index-BNOFdDjW.js")), C = x, V = w, { schema: a, table: c, field: t, set: i, row: l, config: o } = z(V), m = A(), N = () => {
|
19
|
+
}, R = (n) => {
|
20
|
+
C("submit", n);
|
21
|
+
}, y = h(() => {
|
22
|
+
let n = t.value.control.type;
|
23
|
+
return o.value && o.value.control && o.value.control.type ? o.value.control.type : n;
|
24
|
+
}), B = h(() => `control-${j.getDashName(y.value)}`);
|
25
|
+
return (n, p) => {
|
26
|
+
const D = v("el-popover"), S = v("el-link");
|
27
|
+
return r(), u(b, null, [
|
28
|
+
e(t).control.textualize ? (r(), u(b, { key: 0 }, [
|
29
|
+
e(t).control.popover ? (r(), d(D, {
|
30
|
+
key: 0,
|
31
|
+
trigger: "hover",
|
32
|
+
placement: "top",
|
33
|
+
width: e(t).control.popover.width
|
34
|
+
}, {
|
35
|
+
reference: s(() => [
|
36
|
+
g("div", q, [
|
37
|
+
_(e(f), {
|
38
|
+
ref_key: "controlRef",
|
39
|
+
ref: m,
|
40
|
+
schema: e(a),
|
41
|
+
table: e(c),
|
42
|
+
field: e(t),
|
43
|
+
set: e(i),
|
44
|
+
row: e(l),
|
45
|
+
config: e(o)
|
46
|
+
}, null, 8, ["schema", "table", "field", "set", "row", "config"])
|
47
|
+
])
|
48
|
+
]),
|
49
|
+
default: s(() => [
|
50
|
+
_(e(f), {
|
51
|
+
ref_key: "controlRef",
|
52
|
+
ref: m,
|
53
|
+
schema: e(a),
|
54
|
+
table: e(c),
|
55
|
+
field: e(t),
|
56
|
+
set: e(i),
|
57
|
+
row: e(l),
|
58
|
+
config: e(o)
|
59
|
+
}, null, 8, ["schema", "table", "field", "set", "row", "config"])
|
60
|
+
]),
|
61
|
+
_: 1
|
62
|
+
}, 8, ["width"])) : (r(), d(e(f), {
|
63
|
+
key: 1,
|
64
|
+
ref_key: "controlRef",
|
65
|
+
ref: m,
|
66
|
+
schema: e(a),
|
67
|
+
table: e(c),
|
68
|
+
field: e(t),
|
69
|
+
set: e(i),
|
70
|
+
row: e(l),
|
71
|
+
config: e(o)
|
72
|
+
}, null, 8, ["schema", "table", "field", "set", "row", "config"]))
|
73
|
+
], 64)) : (r(), d(F(e(B)), {
|
74
|
+
key: 1,
|
75
|
+
ref_key: "controlRef",
|
76
|
+
ref: m,
|
77
|
+
schema: e(a),
|
78
|
+
table: e(c),
|
79
|
+
field: e(t),
|
80
|
+
set: e(i),
|
81
|
+
row: e(l),
|
82
|
+
onSubmit: e(R),
|
83
|
+
onClear: e(N),
|
84
|
+
modelValue: e(l)[e(t).name],
|
85
|
+
"onUpdate:modelValue": p[0] || (p[0] = (T) => e(l)[e(t).name] = T)
|
86
|
+
}, {
|
87
|
+
default: s(() => [
|
88
|
+
g("div", null, k(n.t("common.unsupported_control", e(y))), 1)
|
89
|
+
]),
|
90
|
+
_: 1
|
91
|
+
}, 40, ["schema", "table", "field", "set", "row", "onSubmit", "onClear", "modelValue"])),
|
92
|
+
e(t).operation ? (r(), u("div", G, [
|
93
|
+
_(S, {
|
94
|
+
type: "primary",
|
95
|
+
underline: !1
|
96
|
+
}, {
|
97
|
+
default: s(() => [
|
98
|
+
U(k(e(t).operation.name), 1)
|
99
|
+
]),
|
100
|
+
_: 1
|
101
|
+
})
|
102
|
+
])) : $("", !0)
|
103
|
+
], 64);
|
104
|
+
};
|
105
|
+
}
|
106
|
+
});
|
107
|
+
export {
|
108
|
+
K as _
|
109
|
+
};
|
@@ -0,0 +1,128 @@
|
|
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 { g as U, j as w } from "./main-QtNG6p7a.js";
|
3
|
+
import "vue-router";
|
4
|
+
import "./vendor-intro.js-DwWqhM1v.js";
|
5
|
+
const E = { class: "option-text" }, O = {
|
6
|
+
key: 0,
|
7
|
+
class: "option-suffix"
|
8
|
+
}, F = /* @__PURE__ */ k({
|
9
|
+
__name: "Install",
|
10
|
+
setup(R) {
|
11
|
+
let o = m({ name: null, type: "SqlServer", conn: null }), u = m(!1), i = m(), y = m([
|
12
|
+
{ value: "SqlServer", text: "SqlServer" },
|
13
|
+
{ value: "MySql", text: "MySql" },
|
14
|
+
{ value: "Mongo", text: "Mongo" },
|
15
|
+
{ value: "Sqlite", text: "Sqlite" },
|
16
|
+
{ value: "Oracle", text: "Oracle" },
|
17
|
+
{ value: "Trino", text: "Trino" }
|
18
|
+
]), V = () => {
|
19
|
+
u.value = !0, i.value.validate((_, n) => {
|
20
|
+
if (!_)
|
21
|
+
return u.value = !1, !1;
|
22
|
+
w.post("/app/install", o.value).then(({ data: p }) => {
|
23
|
+
}).finally(() => {
|
24
|
+
u.value = !1;
|
25
|
+
});
|
26
|
+
});
|
27
|
+
};
|
28
|
+
return C(() => {
|
29
|
+
}), (_, n) => {
|
30
|
+
const p = r("el-input"), s = r("el-form-item"), g = r("el-option"), S = r("el-select"), q = r("el-button"), b = r("el-form");
|
31
|
+
return d(), f(l(U), {
|
32
|
+
class: "ha-install",
|
33
|
+
title: "数据库信息"
|
34
|
+
}, {
|
35
|
+
operation: t(() => [
|
36
|
+
c("开启您的心动之旅")
|
37
|
+
]),
|
38
|
+
default: t(() => [
|
39
|
+
a(b, {
|
40
|
+
ref_key: "formRef",
|
41
|
+
ref: i,
|
42
|
+
model: l(o),
|
43
|
+
"label-width": "80px"
|
44
|
+
}, {
|
45
|
+
default: t(() => [
|
46
|
+
a(s, {
|
47
|
+
label: "名称",
|
48
|
+
prop: "name",
|
49
|
+
rules: [{ required: !0, message: "数据库名不能为空" }]
|
50
|
+
}, {
|
51
|
+
default: t(() => [
|
52
|
+
a(p, {
|
53
|
+
type: "text",
|
54
|
+
modelValue: l(o).name,
|
55
|
+
"onUpdate:modelValue": n[0] || (n[0] = (e) => l(o).name = e)
|
56
|
+
}, null, 8, ["modelValue"])
|
57
|
+
]),
|
58
|
+
_: 1
|
59
|
+
}),
|
60
|
+
a(s, {
|
61
|
+
label: "类型",
|
62
|
+
prop: "type",
|
63
|
+
rules: [{ required: !0, message: "数据库类型不能为空" }]
|
64
|
+
}, {
|
65
|
+
default: t(() => [
|
66
|
+
a(S, {
|
67
|
+
modelValue: l(o).type,
|
68
|
+
"onUpdate:modelValue": n[1] || (n[1] = (e) => l(o).type = e)
|
69
|
+
}, {
|
70
|
+
default: t(() => [
|
71
|
+
(d(!0), v(M, null, N(l(y), (e) => (d(), f(g, {
|
72
|
+
value: e.value,
|
73
|
+
label: e.text + (e.value ? "(" + e.value + ")" : ""),
|
74
|
+
key: `${e.value}`
|
75
|
+
}, {
|
76
|
+
default: t(() => [
|
77
|
+
B("span", E, x(e.text), 1),
|
78
|
+
e.value ? (d(), v("span", O, "(" + x(e.value) + ")", 1)) : T("", !0)
|
79
|
+
]),
|
80
|
+
_: 2
|
81
|
+
}, 1032, ["value", "label"]))), 128))
|
82
|
+
]),
|
83
|
+
_: 1
|
84
|
+
}, 8, ["modelValue"])
|
85
|
+
]),
|
86
|
+
_: 1
|
87
|
+
}),
|
88
|
+
a(s, {
|
89
|
+
label: "连接串",
|
90
|
+
prop: "conn",
|
91
|
+
rules: [{ required: !0, message: "数据库连接串不能为空" }]
|
92
|
+
}, {
|
93
|
+
default: t(() => [
|
94
|
+
a(p, {
|
95
|
+
type: "textarea",
|
96
|
+
modelValue: l(o).conn,
|
97
|
+
"onUpdate:modelValue": n[2] || (n[2] = (e) => l(o).conn = e)
|
98
|
+
}, null, 8, ["modelValue"])
|
99
|
+
]),
|
100
|
+
_: 1
|
101
|
+
}),
|
102
|
+
a(s, null, {
|
103
|
+
default: t(() => [
|
104
|
+
a(q, {
|
105
|
+
type: "primary",
|
106
|
+
loading: l(u),
|
107
|
+
onClick: l(V)
|
108
|
+
}, {
|
109
|
+
default: t(() => [
|
110
|
+
c("立即安装")
|
111
|
+
]),
|
112
|
+
_: 1
|
113
|
+
}, 8, ["loading", "onClick"])
|
114
|
+
]),
|
115
|
+
_: 1
|
116
|
+
})
|
117
|
+
]),
|
118
|
+
_: 1
|
119
|
+
}, 8, ["model"])
|
120
|
+
]),
|
121
|
+
_: 1
|
122
|
+
});
|
123
|
+
};
|
124
|
+
}
|
125
|
+
});
|
126
|
+
export {
|
127
|
+
F as default
|
128
|
+
};
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { defineComponent as l, toRefs as n, openBlock as s, createElementBlock as a, toDisplayString as r, unref as c } from "vue";
|
2
|
+
const p = { class: "text-int" }, x = /* @__PURE__ */ l({
|
3
|
+
__name: "Int",
|
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: f, row: _, modelValue: o } = n(t);
|
14
|
+
return (d, u) => (s(), a("span", p, r(c(o)), 1));
|
15
|
+
}
|
16
|
+
});
|
17
|
+
export {
|
18
|
+
x as default
|
19
|
+
};
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import { defineComponent as f, toRefs as h, computed as _, resolveComponent as b, openBlock as V, createBlock as g, unref as l, withKeys as y, isRef as K } from "vue";
|
2
|
+
const C = /* @__PURE__ */ f({
|
3
|
+
__name: "Int",
|
4
|
+
props: {
|
5
|
+
schema: {},
|
6
|
+
table: {},
|
7
|
+
field: {},
|
8
|
+
searchData: {},
|
9
|
+
modelValue: {}
|
10
|
+
},
|
11
|
+
emits: ["change", "submit", "update:modelValue"],
|
12
|
+
setup(u, { emit: m }) {
|
13
|
+
let o = m, p = u, { table: i, field: r, searchData: k, modelValue: s } = h(p), d = () => {
|
14
|
+
o("submit");
|
15
|
+
}, t = _({
|
16
|
+
get() {
|
17
|
+
return s.value;
|
18
|
+
},
|
19
|
+
set(e) {
|
20
|
+
isNaN(e) && (e = null), o("update:modelValue", e), o("change", e);
|
21
|
+
}
|
22
|
+
});
|
23
|
+
return (e, n) => {
|
24
|
+
const c = b("el-input-number");
|
25
|
+
return V(), g(c, {
|
26
|
+
placeholder: e.t("common.please_input") + e.t_field(l(i).name, l(r).name),
|
27
|
+
"controls-position": "right",
|
28
|
+
onKeyup: y(l(d), ["enter", "native"]),
|
29
|
+
modelValue: l(t),
|
30
|
+
"onUpdate:modelValue": n[0] || (n[0] = (a) => K(t) ? t.value = a : t = a)
|
31
|
+
}, null, 8, ["placeholder", "onKeyup", "modelValue"]);
|
32
|
+
};
|
33
|
+
}
|
34
|
+
});
|
35
|
+
export {
|
36
|
+
C as default
|
37
|
+
};
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { defineComponent as c, toRefs as f, computed as _, resolveComponent as V, openBlock as h, createBlock as g, unref as e, withKeys as v, isRef as y } from "vue";
|
2
|
+
import { B } from "./main-QtNG6p7a.js";
|
3
|
+
const C = /* @__PURE__ */ c({
|
4
|
+
__name: "Int",
|
5
|
+
props: {
|
6
|
+
schema: {},
|
7
|
+
table: {},
|
8
|
+
field: {},
|
9
|
+
set: {},
|
10
|
+
row: {},
|
11
|
+
modelValue: {}
|
12
|
+
},
|
13
|
+
emits: ["submit", "change", "update:modelValue"],
|
14
|
+
setup(r, { emit: i }) {
|
15
|
+
let o = i, d = r, { table: s, field: n, set: K, modelValue: a } = f(d), p = () => {
|
16
|
+
o("submit");
|
17
|
+
}, t = _({
|
18
|
+
get() {
|
19
|
+
if (B.isNumber(a.value))
|
20
|
+
return a.value;
|
21
|
+
},
|
22
|
+
set(l) {
|
23
|
+
o("update:modelValue", l), o("change", l);
|
24
|
+
}
|
25
|
+
});
|
26
|
+
return (l, u) => {
|
27
|
+
const b = V("el-input-number");
|
28
|
+
return h(), g(b, {
|
29
|
+
"aria-label": l.t_field_placeholder(e(s).name, e(n).name),
|
30
|
+
"controls-position": "right",
|
31
|
+
disabled: e(n).control.readonly,
|
32
|
+
onKeyup: v(e(p), ["enter", "native"]),
|
33
|
+
modelValue: e(t),
|
34
|
+
"onUpdate:modelValue": u[0] || (u[0] = (m) => y(t) ? t.value = m : t = m)
|
35
|
+
}, null, 8, ["aria-label", "disabled", "onKeyup", "modelValue"]);
|
36
|
+
};
|
37
|
+
}
|
38
|
+
});
|
39
|
+
export {
|
40
|
+
C as default
|
41
|
+
};
|
@@ -0,0 +1,72 @@
|
|
1
|
+
import { defineComponent as I, toRefs as E, ref as o, watch as F, openBlock as T, createBlock as U, resolveDynamicComponent as V, unref as t, withCtx as $, createElementVNode as j, toDisplayString as A } from "vue";
|
2
|
+
import { u as G, I as r, o as H, d } from "./main-QtNG6p7a.js";
|
3
|
+
const J = { class: "not-support" }, Q = /* @__PURE__ */ I({
|
4
|
+
__name: "List",
|
5
|
+
props: {
|
6
|
+
base: {},
|
7
|
+
route: {},
|
8
|
+
url: {}
|
9
|
+
},
|
10
|
+
emits: ["load", "navigate"],
|
11
|
+
setup(_, { expose: b, emit: P }) {
|
12
|
+
let h = P, k = _, { url: m, base: p, route: n } = E(k), f = o(), i = o(), s = o(), y = o(), g = o(), u = o(), c = o(), { t_module: q } = G(), C = (e) => {
|
13
|
+
let l = r.getPath(e), a = r.getPath(m.value);
|
14
|
+
return l != a;
|
15
|
+
}, R = (e) => {
|
16
|
+
let l = r.getPath(m.value), a = r.getPath(e);
|
17
|
+
return l != a;
|
18
|
+
}, x = (e) => {
|
19
|
+
var a;
|
20
|
+
let l = q(e.module.type, e.module.name);
|
21
|
+
H.setTitle(l, e.module.env), f.value = e.module, i.value = d.expandSchema(e.schema), s.value = (a = i.value) == null ? void 0 : a[0], y.value = e.next, g.value = d.expandSet(e.schema, e.set), c.value = d.getConditionForm(i.value, n.value.query.condition);
|
22
|
+
}, v = (e = null, l = null) => {
|
23
|
+
let a = e ?? n.value.query, B = r.getUrl(n.value.path, a);
|
24
|
+
h("load", B, !1, l);
|
25
|
+
}, D = (e) => {
|
26
|
+
v(null, e);
|
27
|
+
}, w = (e) => {
|
28
|
+
h("navigate", e);
|
29
|
+
}, z = (e) => {
|
30
|
+
let l = n.value.query;
|
31
|
+
l.condition = r.base64(c.value), v(l, e);
|
32
|
+
}, S = () => {
|
33
|
+
v();
|
34
|
+
}, L = (e, l) => {
|
35
|
+
if (!u.value || !u.value.keyboard)
|
36
|
+
return !1;
|
37
|
+
u.value.keyboard(e, l);
|
38
|
+
}, N = (e) => {
|
39
|
+
if (!u.value || !u.value.resize)
|
40
|
+
return !1;
|
41
|
+
u.value.resize(e);
|
42
|
+
};
|
43
|
+
return (() => {
|
44
|
+
x(p.value.data);
|
45
|
+
})(), F(() => p.value, (e) => {
|
46
|
+
x(e.data);
|
47
|
+
}), b({ shouldLoad: C, shouldSpin: R, refresh: S, keyboard: L, resize: N }), (e, l) => (T(), U(V(`list-${t(s).layouts[0].type.toLowerCase()}`), {
|
48
|
+
ref_key: "listRef",
|
49
|
+
ref: u,
|
50
|
+
route: t(n),
|
51
|
+
module: t(f),
|
52
|
+
schema: t(i),
|
53
|
+
table: t(s),
|
54
|
+
layout: t(s).layouts[0],
|
55
|
+
next: t(y),
|
56
|
+
set: t(g),
|
57
|
+
"search-data": t(c),
|
58
|
+
onSucceed: t(D),
|
59
|
+
onSearch: t(z),
|
60
|
+
onNavigate: t(w),
|
61
|
+
onRefresh: t(S)
|
62
|
+
}, {
|
63
|
+
default: $(() => [
|
64
|
+
j("div", J, "未支持的列表布局方式:" + A(t(s).layouts[0].type), 1)
|
65
|
+
]),
|
66
|
+
_: 1
|
67
|
+
}, 40, ["route", "module", "schema", "table", "layout", "next", "set", "search-data", "onSucceed", "onSearch", "onNavigate", "onRefresh"]));
|
68
|
+
}
|
69
|
+
});
|
70
|
+
export {
|
71
|
+
Q as default
|
72
|
+
};
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { defineComponent as n, openBlock as o, createElementBlock as s, createElementVNode as e, toDisplayString as i, unref as c } from "vue";
|
2
|
+
import { b as a } from "./main-QtNG6p7a.js";
|
3
|
+
const r = { class: "maintenance" }, _ = /* @__PURE__ */ e("div", { class: "title" }, "系统维护中", -1), l = { class: "description" }, h = /* @__PURE__ */ n({
|
4
|
+
__name: "Maintaince",
|
5
|
+
setup(d) {
|
6
|
+
let t = a();
|
7
|
+
return (m, p) => (o(), s("div", r, [
|
8
|
+
_,
|
9
|
+
e("div", l, i(c(t)), 1)
|
10
|
+
]));
|
11
|
+
}
|
12
|
+
});
|
13
|
+
export {
|
14
|
+
h as default
|
15
|
+
};
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import { defineComponent as r, toRefs as s, onMounted as i, computed as c, resolveComponent as f, openBlock as V, createBlock as _, unref as b, isRef as g } from "vue";
|
2
|
+
const B = /* @__PURE__ */ r({
|
3
|
+
__name: "Markdown",
|
4
|
+
props: {
|
5
|
+
schema: {},
|
6
|
+
table: {},
|
7
|
+
field: {},
|
8
|
+
set: {},
|
9
|
+
row: {},
|
10
|
+
modelValue: {}
|
11
|
+
},
|
12
|
+
emits: ["submit", "change", "update:modelValue"],
|
13
|
+
setup(a, { emit: u }) {
|
14
|
+
let l = u, m = a, { table: k, field: x, set: h, modelValue: d } = s(m);
|
15
|
+
i(() => {
|
16
|
+
});
|
17
|
+
let e = c({
|
18
|
+
get() {
|
19
|
+
return d.value;
|
20
|
+
},
|
21
|
+
set(t) {
|
22
|
+
l("update:modelValue", t), l("change", t);
|
23
|
+
}
|
24
|
+
});
|
25
|
+
return (t, o) => {
|
26
|
+
const p = f("el-input");
|
27
|
+
return V(), _(p, {
|
28
|
+
type: "textarea",
|
29
|
+
modelValue: b(e),
|
30
|
+
"onUpdate:modelValue": o[0] || (o[0] = (n) => g(e) ? e.value = n : e = n)
|
31
|
+
}, null, 8, ["modelValue"]);
|
32
|
+
};
|
33
|
+
}
|
34
|
+
});
|
35
|
+
export {
|
36
|
+
B as default
|
37
|
+
};
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { defineComponent as u, defineAsyncComponent as i, toRefs as c, openBlock as w, createBlock as V, unref as e, isRef as b } from "vue";
|
2
|
+
const h = /* @__PURE__ */ u({
|
3
|
+
__name: "Markdown",
|
4
|
+
props: {
|
5
|
+
schema: {},
|
6
|
+
table: {},
|
7
|
+
field: {},
|
8
|
+
set: {},
|
9
|
+
row: {},
|
10
|
+
modelValue: {}
|
11
|
+
},
|
12
|
+
setup(a) {
|
13
|
+
let r = i(() => import("./Text-DSXRKFPa.js")), s = a, { schema: m, table: n, field: d, set: f, row: p, modelValue: l } = c(s);
|
14
|
+
return (x, o) => (w(), V(e(r), {
|
15
|
+
schema: e(m),
|
16
|
+
table: e(n),
|
17
|
+
field: e(d),
|
18
|
+
row: e(p),
|
19
|
+
set: e(f),
|
20
|
+
modelValue: e(l),
|
21
|
+
"onUpdate:modelValue": o[0] || (o[0] = (t) => b(l) ? l.value = t : l = t)
|
22
|
+
}, null, 8, ["schema", "table", "field", "row", "set", "modelValue"]));
|
23
|
+
}
|
24
|
+
});
|
25
|
+
export {
|
26
|
+
h as default
|
27
|
+
};
|