halo-pc 1.0.39 → 1.0.41
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-DZlstqWL.js → Article-BMW_FzdK.js} +23 -21
- package/dist/{ArticleFooter-BkduiKh8.js → ArticleFooter-7iPkMQaX.js} +1 -1
- package/dist/{Autocomplete-bc-9LfGa.js → Autocomplete-B6Mwp9rT.js} +1 -1
- package/dist/{Autocomplete-DMKnFezN.js → Autocomplete-C-El55Lz.js} +1 -1
- package/dist/{Autocomplete-0Yf6lJQ7.js → Autocomplete-PZTjEBIx.js} +1 -1
- package/dist/{CSharp-q8eOBm4y.js → CSharp-BQUrQwua.js} +1 -1
- package/dist/{Calender-CseGNCuW.js → Calender-CJXR7uhM.js} +1 -1
- package/dist/{Callback-D_dFJlfv.js → Callback-CyDW9WU2.js} +1 -1
- package/dist/{Cascader-BG5ev35M.js → Cascader-CFc_8QSm.js} +1 -1
- package/dist/{Cascader-Dzeoz7ss.js → Cascader-DMQjalNv.js} +2 -2
- package/dist/{Checkbox-dw8RNAGt.js → Checkbox-aU8e779g.js} +1 -1
- package/dist/{Checkbox-CsCA6iQb.js → Checkbox-pV01os-T.js} +1 -1
- package/dist/Code-C0Kxulod.js +4 -0
- package/dist/{Code-C5QfTMNw.js → Code-C4pIa8BE.js} +2 -2
- package/dist/{Code-BRe68AIa.js → Code-CCJx9RSm.js} +2 -2
- package/dist/{Code-BE8YLGaE.js → Code-kDBbVC1W.js} +10 -8
- package/dist/{Code.vue_vue_type_style_index_0_lang-D2hJ7lYF.js → Code.vue_vue_type_style_index_0_lang-36NN7tgP.js} +12 -10
- package/dist/{Column-C-NHhT2v.js → Column-BebDf5Z9.js} +9 -9
- package/dist/{Comment-kTmfTlbF.js → Comment-BgfD9WtL.js} +5 -3
- package/dist/{Compare-DVWaiCUC.js → Compare-BZucuvFP.js} +1 -1
- package/dist/{Compare-DlyQBCat.js → Compare-D-Byn_Gq.js} +1 -1
- package/dist/{Copy-DQFJy3uX.js → Copy-DW4jSNQi.js} +1 -1
- package/dist/Custom-DIF-RYi3.js +55 -0
- package/dist/{DataExport-Um1wXyRe.js → DataExport-CyQy2xjO.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-2YoqwEmA.js → DataExport.vue_vue_type_script_setup_true_lang-C4n6xWcP.js} +1 -1
- package/dist/{DataImport-CPMLup4P.js → DataImport-BVF83UsQ.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-DsCp0vWo.js → DataImport.vue_vue_type_script_setup_true_lang-BZhFLOqB.js} +1 -1
- package/dist/{Date-Cj9lCW_Y.js → Date-CqpFvbYZ.js} +1 -1
- package/dist/{Date-BhZ8ltgp.js → Date-g1XKWU4b.js} +1 -1
- package/dist/{DateRange-Bw_Oyawz.js → DateRange-B2afkdbT.js} +1 -1
- package/dist/{DateTime-BU6JaBPk.js → DateTime-D_x_wBZR.js} +1 -1
- package/dist/{DateTime-Cv-SRE88.js → DateTime-Zi3vtH77.js} +1 -1
- package/dist/{DateTimeRange-B4Ah6LQY.js → DateTimeRange-BFWM_U7H.js} +1 -1
- package/dist/{Daterange-CSZe4XGO.js → Daterange-tXA0b0Ak.js} +1 -1
- package/dist/{Decimal-DSDuwW9Z.js → Decimal-DKQ38XS_.js} +1 -1
- package/dist/{Delete-CjPgg-5G.js → Delete-BOkBpAGN.js} +1 -1
- package/dist/{Detail-gj--ICe8.js → Detail-SWgERqKG.js} +1 -1
- package/dist/{Dictionary-Ck_02mWa.js → Dictionary-Xsj_Qorw.js} +2 -2
- package/dist/{Email-BSQbDvh1.js → Email-DILPnLkb.js} +1 -1
- package/dist/{File-FW4usX43.js → File-BDUTK7hV.js} +12 -10
- package/dist/{Image-DiAw_6jM.js → Image-Yx3ZHHJK.js} +1 -1
- package/dist/{Index-hgTZyQps.js → Index-BTa4YIN9.js} +1 -1
- package/dist/Index-BWukqxQl.js +4 -0
- package/dist/Index-BahY1OIJ.js +4 -0
- package/dist/Index-C9ffFYsl.js +4 -0
- package/dist/{Index-MUgqP8jJ.js → Index-CiQQmYeA.js} +1 -1
- package/dist/Index-DG7Hovsx.js +4 -0
- package/dist/{Index-BibWDRoP.js → Index-DeYqTT9Q.js} +1 -1
- package/dist/{Index-Dq5Vp-ts.js → Index-WVLyjyqt.js} +2 -2
- package/dist/{Index.vue_vue_type_script_setup_true_lang-CiBvC9Cu.js → Index.vue_vue_type_script_setup_true_lang-42C0EEto.js} +21 -21
- package/dist/Index.vue_vue_type_script_setup_true_lang-DWMiv0dC.js +86 -0
- package/dist/{Install-Cpp3BDCS.js → Install-DW5uDsXF.js} +1 -1
- package/dist/{Int-DcQsipaO.js → Int-BM4sbZvh.js} +1 -1
- package/dist/{Int-Ck1SvK7R.js → Int-BrFE_Hmm.js} +1 -1
- package/dist/List-DWjTqrJR.js +72 -0
- package/dist/{Maintaince-l-Tdveur.js → Maintaince-DF3nu9Jd.js} +2 -2
- package/dist/{Markdown-BEUz4VZ7.js → Markdown-BC8l7O_U.js} +1 -1
- package/dist/{Month-DmUiyF1G.js → Month-DRa9o-WC.js} +1 -1
- package/dist/{Month-DJGGGrZr.js → Month-QG6OiiLU.js} +1 -1
- package/dist/{Month-DkafiRHq.js → Month-Y0kLXgV7.js} +1 -1
- package/dist/{Normal-ACcTHsXb.js → Normal-CSy3DFPH.js} +13 -11
- package/dist/Paging-BYccIXmC.js +95 -0
- package/dist/{PagingHeader-DDkmqv98.js → PagingHeader-U-oJ1TQE.js} +4 -2
- package/dist/{PagingRow-B4Nfa2Vk.js → PagingRow-BmokRXX3.js} +1 -1
- package/dist/{Racebar-LfnPLNOY.js → Racebar-BvFHNGb8.js} +24 -22
- package/dist/{Radio-DcEZI4m7.js → Radio-CjfXrTOE.js} +1 -1
- package/dist/{Register-B4x_zgyH.js → Register-BG-3_Q2E.js} +6 -6
- package/dist/{RichText-B1Iogpgr.js → RichText-C88f59ao.js} +2 -2
- package/dist/{SearchForm-DU5QLTbe.js → SearchForm-C0zqD7UP.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BHZrYG6_.js → SearchForm.vue_vue_type_style_index_0_lang-Bv1_VqSl.js} +8 -8
- package/dist/SearchHeader-e2LOidgU.js +4 -0
- package/dist/SearchHeader.vue_vue_type_style_index_0_lang-DebuWiG6.js +60 -0
- package/dist/{Select-DrDDVJtz.js → Select-CfIvGDPS.js} +1 -1
- package/dist/{Select-CMxubJIV.js → Select-CvP_zGxM.js} +1 -1
- package/dist/{Select-C3gUeHmu.js → Select-Cz6MPDCC.js} +1 -1
- package/dist/Single-p-8OfzhQ.js +318 -0
- package/dist/{Statistic-SvjQ7uGI.js → Statistic-BIKfbZCI.js} +29 -27
- package/dist/{Statistic-CTxHNeof.js → Statistic-Dxa-CZ8G.js} +10 -8
- package/dist/{Stock-XZkBSQw1.js → Stock-B7RP-SuF.js} +1 -1
- package/dist/{Stock-C2b9p3-N.js → Stock-BhOP8J0c.js} +8 -6
- package/dist/{Stock.vue_vue_type_style_index_0_lang-DwxyyM7p.js → Stock.vue_vue_type_style_index_0_lang-Dpw8BlLu.js} +4 -2
- package/dist/{Switch-PJT-5dDt.js → Switch-BcDhe4_E.js} +1 -1
- package/dist/{Table-Dy1H2IHN.js → Table-Cy7FarYr.js} +128 -121
- package/dist/{Table-CkoZ8OjZ.js → Table-DK-TaejU.js} +6 -4
- package/dist/{Text-Bt5jL_KV.js → Text-B580p9od.js} +1 -1
- package/dist/Text-D89aQLxL.js +4 -0
- package/dist/{Text-CytgR_l_.js → Text-YNB0It4-.js} +1 -1
- package/dist/{Text.vue_vue_type_style_index_0_lang-CgxtY5ch.js → Text.vue_vue_type_style_index_0_lang-Dokzd_qM.js} +2 -2
- package/dist/{TextLink-DINdFWzs.js → TextLink-CI-AIgdm.js} +1 -1
- package/dist/{Textarea-DakZXfN6.js → Textarea-86C9lCtg.js} +1 -1
- package/dist/{Time-Bn1Av2wo.js → Time-BgArfSc6.js} +1 -1
- package/dist/{Timeline-B32cUvwI.js → Timeline-O_jWjdxT.js} +17 -15
- package/dist/{Tree-BItAXuSC.js → Tree-BfFRW-xZ.js} +6 -4
- package/dist/{Tree-BGfHm4k_.js → Tree-DayADkaC.js} +21 -19
- package/dist/{TreeNode-DmiM_a2n.js → TreeNode-BZp8w6M5.js} +1 -1
- package/dist/{Update-DSTmaeT8.js → Update-Bcdz87R4.js} +1 -1
- package/dist/{UpdateChild-BgBJJwT3.js → UpdateChild-YzPMnj_r.js} +1 -1
- package/dist/{Upload-DMqlcxCt.js → Upload-DU5VOqXj.js} +1 -1
- package/dist/{Upload-DpQu3z1T.js → Upload-Dj5nSsug.js} +2 -2
- package/dist/{Year-Cv92J5pF.js → Year-B3E0kOiA.js} +1 -1
- package/dist/{Year-DckBNPK_.js → Year-CcbzIuwy.js} +1 -1
- package/dist/assets/{liquidjs-C2HVw1Ra.js → liquidjs-BfOWWjtJ.js} +119 -113
- package/dist/{main-KNkwb0pq.js → main-DxH9UW19.js} +3580 -3372
- package/dist/main.js +155 -152
- package/dist/style.css +1 -1
- package/esm/coms/commons/Table.vue.d.ts +1 -1
- package/esm/coms/drivers/@types/CrudProps.d.ts +2 -2
- package/esm/coms/drivers/Index.vue.d.ts +2 -2
- package/esm/coms/globals/Menu.vue.d.ts +1 -1
- package/esm/coms/globals/MenuItem.vue.d.ts +1 -1
- package/esm/coms/headers/@types/HeaderProps.d.ts +1 -1
- package/esm/coms/headers/Index.vue.d.ts +1 -1
- package/esm/coms/layouts/Index.vue.d.ts +3 -3
- package/esm/coms/layouts/Side.vue.d.ts +2 -2
- package/esm/coms/layouts/Top.vue.d.ts +1 -1
- package/esm/coms/lists/Racebar.vue.d.ts +1 -1
- package/esm/coms/lists/Statistic.vue.d.ts +1 -1
- package/esm/coms/lists/Tree.vue.d.ts +3 -3
- package/esm/coms/pages/@types/SchemaProps.d.ts +2 -1
- package/esm/coms/pages/Column.vue.d.ts +1 -1
- package/esm/coms/pages/Custom.vue.d.ts +6 -6
- package/esm/coms/pages/List.vue.d.ts +5 -3
- package/esm/coms/pages/Paging.vue.d.ts +5 -3
- package/esm/coms/pages/Single.vue.d.ts +3 -3
- package/esm/coms/pagings/@types/SearchHeaderProps.d.ts +9 -0
- package/esm/coms/pagings/@types/index.d.ts +2 -2
- package/esm/coms/pagings/Article.vue.d.ts +2 -2
- package/esm/coms/pagings/Index.vue.d.ts +4 -2
- package/esm/coms/pagings/SearchForm.vue.d.ts +1 -1
- package/esm/coms/pagings/SearchHeader.vue.d.ts +19 -0
- package/esm/coms/pagings/Table.vue.d.ts +4 -2
- package/esm/coms/partials/@types/PagingHeaderProps.d.ts +2 -1
- package/esm/coms/singles/Index.vue.d.ts +1 -1
- package/esm/coms/singles/Normal.vue.d.ts +1 -1
- package/esm/coms/singles/Table.vue.d.ts +1 -1
- package/esm/coms/singles/Tree.vue.d.ts +1 -1
- package/package.json +6 -6
- package/dist/Code-_XoN6vQE.js +0 -4
- package/dist/Custom-D5HoD0nQ.js +0 -59
- package/dist/Index-B_5hshjJ.js +0 -4
- package/dist/Index-BtlD6ocN.js +0 -4
- package/dist/Index-C3f38zw0.js +0 -4
- package/dist/Index-CB_TnEaw.js +0 -4
- package/dist/Index.vue_vue_type_script_setup_true_lang-BzPCaYCg.js +0 -82
- package/dist/List-hWB41wF_.js +0 -72
- package/dist/Paging-Vfz2RDBo.js +0 -93
- package/dist/SearchFooter-CmM8qnxP.js +0 -4
- package/dist/SearchFooter.vue_vue_type_style_index_0_lang-fRS96yRX.js +0 -55
- package/dist/Single-De-YyuVk.js +0 -318
- package/dist/Text-vHouxGHU.js +0 -4
package/dist/Single-De-YyuVk.js
DELETED
@@ -1,318 +0,0 @@
|
|
1
|
-
import { defineComponent as Ue, toRefs as $e, ref as u, computed as Y, watch as Be, resolveComponent as p, openBlock as d, createElementBlock as H, normalizeClass as De, unref as e, createElementVNode as m, createVNode as g, withCtx as s, withModifiers as Ke, createBlock as h, isRef as Z, Fragment as ee, renderList as le, toDisplayString as k, createCommentVNode as B, resolveDynamicComponent as Le, normalizeStyle as Ne, createTextVNode as te, nextTick as ae } from "vue";
|
2
|
-
import { f as Pe, g as je, t as oe, j as qe, k as Fe, U as D, b as He, h as Me, m as ue, c as Oe, i as Ae, d as re, K as Ge, a as Ie } from "./main-KNkwb0pq.js";
|
3
|
-
import "./assets/moment-h96o7c8I.js";
|
4
|
-
import { _ as ne } from "./Index.vue_vue_type_script_setup_true_lang-CiBvC9Cu.js";
|
5
|
-
const Je = { class: "ha-main-form" }, Qe = { class: "row-header" }, We = { class: "row-title" }, Xe = { class: "el-drawer__title" }, Ye = ["href"], ol = /* @__PURE__ */ Ue({
|
6
|
-
__name: "Single",
|
7
|
-
props: {
|
8
|
-
base: {},
|
9
|
-
route: {},
|
10
|
-
url: {},
|
11
|
-
win: {}
|
12
|
-
},
|
13
|
-
emits: ["navigate", "load", "succeed", "close"],
|
14
|
-
setup(se, { expose: ie, emit: de }) {
|
15
|
-
let K = de, me = se, { url: ve, base: M, route: z } = $e(me), c = u(), b = u(), v = u(), r = u(), y = u(), L = u(), f = u({ table: null, layout: null }), w = u(), N = u([]), fe = u(), E = u(), R = u(), j = u(), C = u(), O = u(), i = u({ page: null, url: null, visible: !1, appendToBody: !1 }), x = u(!1), q = u(), S = u(), pe = (l) => !0, ce = (l) => {
|
16
|
-
let t = D.url.getPath(ve.value), a = D.url.getPath(l);
|
17
|
-
return t != a;
|
18
|
-
}, be = () => {
|
19
|
-
Ve();
|
20
|
-
}, ye = (l, t) => {
|
21
|
-
A("copy", l, t);
|
22
|
-
}, _e = (l, t) => {
|
23
|
-
A("update", l, t);
|
24
|
-
}, ge = () => {
|
25
|
-
i.value.visible = !1;
|
26
|
-
}, A = (l, t, a) => {
|
27
|
-
let n = he(l, t);
|
28
|
-
a.ctrlKey ? K("navigate", n) : (i.value.appendToBody = a.altKey, i.value.page = l, i.value.url = n, i.value.visible = !0);
|
29
|
-
}, he = (l, t = null) => {
|
30
|
-
let a = `${b.value[l].route}`;
|
31
|
-
if (t != null) {
|
32
|
-
let n = t[y.value.key.name];
|
33
|
-
a += `?id=${n}`;
|
34
|
-
}
|
35
|
-
return a;
|
36
|
-
}, we = (l, t, a) => {
|
37
|
-
(a.ctrlKey || x.value) && (q.value = l, S.value = D.object.clone(t), x.value = !0, S.value.fields.forEach((n) => {
|
38
|
-
n.control.textualize = !1;
|
39
|
-
}));
|
40
|
-
}, G = (l) => {
|
41
|
-
i.value.visible = !1, K("succeed", W.value, l);
|
42
|
-
}, Ce = () => {
|
43
|
-
K("close");
|
44
|
-
}, I = (l, t, a, n, T) => {
|
45
|
-
}, J = (l, t) => {
|
46
|
-
if (t) {
|
47
|
-
L.value = y.value.layouts.find((a) => a.type == l);
|
48
|
-
return;
|
49
|
-
}
|
50
|
-
f.value.layout = f.value.table.layouts.find((a) => a.type == l);
|
51
|
-
}, xe = (l) => {
|
52
|
-
let t = r.value.find((a) => a.name == l);
|
53
|
-
f.value.table = t, f.value.layout = t.layouts[0];
|
54
|
-
}, ke = (l) => {
|
55
|
-
let t = Object.keys(l)[0], a = t.substring(1, t.indexOf("]"));
|
56
|
-
r.value.find((T) => T.name == a).main || (w.value = a);
|
57
|
-
}, Re = (l, t = null, a = null) => {
|
58
|
-
ae(() => {
|
59
|
-
E.value.validate((n, T) => {
|
60
|
-
if (!n)
|
61
|
-
return ke(T), a && a(!1), !1;
|
62
|
-
let U = c.value.type == "Update" ? b.value.update.route : b.value.insert.route;
|
63
|
-
t && t(U, v.value), Me.post(U, v.value).then(({ data: $, message: V }) => {
|
64
|
-
E.value.clearValidate(), ue.success(V), G(v.value);
|
65
|
-
}).catch(({ code: $, data: V, message: X }) => {
|
66
|
-
if ($ != "ValidateError")
|
67
|
-
return;
|
68
|
-
N.value = V;
|
69
|
-
let P = V.find((_) => _.table !== y.value.name);
|
70
|
-
if (P) {
|
71
|
-
let _ = r.value.find((o) => o.name == P.table);
|
72
|
-
_ && (w.value = _.name);
|
73
|
-
}
|
74
|
-
ae(() => {
|
75
|
-
E.value.clearValidate(), E.value.validate((_, o) => {
|
76
|
-
_ || (a && a(!1), N.value = []);
|
77
|
-
});
|
78
|
-
});
|
79
|
-
}).finally(() => {
|
80
|
-
a && a();
|
81
|
-
});
|
82
|
-
});
|
83
|
-
});
|
84
|
-
}, Q = (l) => {
|
85
|
-
var a, n;
|
86
|
-
let t = Oe(l.module.type, l.module.name);
|
87
|
-
Ae.setTitle(t, l.module.env), c.value = l.module, b.value = l.next, v.value = re.expandSet(l.schema, l.set), r.value = re.expandSchema(l.schema, l.set), y.value = (a = r.value) == null ? void 0 : a[0], L.value = y.value.layouts[0], ((n = r.value) == null ? void 0 : n.length) > 1 && (w.value = r.value[1].name, f.value.table = r.value[1], f.value.layout = r.value[1].layouts[0]);
|
88
|
-
}, Se = (l) => {
|
89
|
-
R.value && R.value.resize && R.value.resize(l), C.value && C.value.resize && C.value.resize(l);
|
90
|
-
}, Te = (l, t) => {
|
91
|
-
if (l == Ge.ctrlS) {
|
92
|
-
if (c.value.type == "Detail") {
|
93
|
-
Ie.triggerKeyboardHandler(O.value, l, t);
|
94
|
-
return;
|
95
|
-
}
|
96
|
-
F(t);
|
97
|
-
}
|
98
|
-
}, Ve = () => {
|
99
|
-
let l = D.url.getUrl(z.value.path, z.value.query);
|
100
|
-
K("load", l, !1, (t) => {
|
101
|
-
});
|
102
|
-
};
|
103
|
-
(() => {
|
104
|
-
Q(M.value.data);
|
105
|
-
})();
|
106
|
-
let F = (l) => {
|
107
|
-
if (!j.value.submit) {
|
108
|
-
ue.notify("提示", "请在子组件暴露submit方法来实现快捷提交", "warning");
|
109
|
-
return;
|
110
|
-
}
|
111
|
-
j.value.submit(l);
|
112
|
-
}, ze = Y(() => {
|
113
|
-
let l = `/${y.value.name}/update`, t = c.value.type == "Detail" ? "detail" : "update";
|
114
|
-
return Pe.getComponent(l, "partial", t);
|
115
|
-
}), W = Y(() => c.value.type.toLowerCase());
|
116
|
-
return Be(() => M.value, (l) => {
|
117
|
-
Q(l.data), R.value.update && R.value.update(l.data), C.value && C.value.update && C.value.update(l.data);
|
118
|
-
}), ie({ shouldLoad: pe, shouldSpin: ce, keyboardHandler: Te, refresh: be, resize: Se }), (l, t) => {
|
119
|
-
const a = p("el-tooltip"), n = p("el-tab-pane"), T = p("el-tabs"), U = p("el-form"), $ = p("el-scrollbar"), V = p("el-popover"), X = p("el-form-item"), P = p("el-card"), _ = p("el-drawer");
|
120
|
-
return d(), H("div", {
|
121
|
-
ref_key: "singleRef",
|
122
|
-
ref: fe,
|
123
|
-
class: De(["ha-single-page", { [e(W) + "-page"]: !0, editing: e(x) }])
|
124
|
-
}, [
|
125
|
-
m("div", Je, [
|
126
|
-
g($, { class: "main-scroller" }, {
|
127
|
-
default: s(() => [
|
128
|
-
g(U, {
|
129
|
-
ref_key: "formRef",
|
130
|
-
ref: E,
|
131
|
-
model: e(v),
|
132
|
-
onSubmit: t[3] || (t[3] = Ke(() => {
|
133
|
-
}, ["prevent"]))
|
134
|
-
}, {
|
135
|
-
default: s(() => [
|
136
|
-
g(ne, {
|
137
|
-
ref_key: "mainRef",
|
138
|
-
ref: R,
|
139
|
-
module: e(c),
|
140
|
-
schema: e(r),
|
141
|
-
table: e(y),
|
142
|
-
layout: e(L),
|
143
|
-
next: e(b),
|
144
|
-
set: e(v),
|
145
|
-
route: e(z),
|
146
|
-
"validate-errors": e(N),
|
147
|
-
onChange: e(I),
|
148
|
-
onLayoutChange: t[0] || (t[0] = (o) => e(J)(o, !0)),
|
149
|
-
onSubmit: e(F)
|
150
|
-
}, null, 8, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onChange", "onSubmit"]),
|
151
|
-
e(r).length > 1 ? (d(), h(T, {
|
152
|
-
key: 0,
|
153
|
-
type: "border-card",
|
154
|
-
onTabChange: e(xe),
|
155
|
-
modelValue: e(w),
|
156
|
-
"onUpdate:modelValue": t[1] || (t[1] = (o) => Z(w) ? w.value = o : w = o)
|
157
|
-
}, {
|
158
|
-
default: s(() => [
|
159
|
-
(d(!0), H(ee, null, le(e(r).filter((o, Ee) => Ee > 0), (o) => (d(), h(n, {
|
160
|
-
name: o.name,
|
161
|
-
key: o.name
|
162
|
-
}, {
|
163
|
-
label: s(() => [
|
164
|
-
g(a, {
|
165
|
-
placement: "top",
|
166
|
-
content: o.tooltip,
|
167
|
-
disabled: !o.tooltip
|
168
|
-
}, {
|
169
|
-
default: s(() => [
|
170
|
-
m("div", null, k(e(je)(o.table)), 1)
|
171
|
-
]),
|
172
|
-
_: 2
|
173
|
-
}, 1032, ["content", "disabled"])
|
174
|
-
]),
|
175
|
-
_: 2
|
176
|
-
}, 1032, ["name"]))), 128))
|
177
|
-
]),
|
178
|
-
_: 1
|
179
|
-
}, 8, ["onTabChange", "modelValue"])) : B("", !0),
|
180
|
-
e(f).table ? (d(), h(ne, {
|
181
|
-
key: 1,
|
182
|
-
ref_key: "childRef",
|
183
|
-
ref: C,
|
184
|
-
module: e(c),
|
185
|
-
schema: e(r),
|
186
|
-
table: e(f).table,
|
187
|
-
layout: e(f).layout,
|
188
|
-
next: e(b),
|
189
|
-
set: e(v),
|
190
|
-
route: e(z),
|
191
|
-
"validate-errors": e(N),
|
192
|
-
onRowEdit: e(we),
|
193
|
-
onChange: e(I),
|
194
|
-
onLayoutChange: t[2] || (t[2] = (o) => e(J)(o, !1)),
|
195
|
-
onSubmit: e(F)
|
196
|
-
}, null, 8, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onRowEdit", "onChange", "onSubmit"])) : B("", !0)
|
197
|
-
]),
|
198
|
-
_: 1
|
199
|
-
}, 8, ["model"])
|
200
|
-
]),
|
201
|
-
_: 1
|
202
|
-
}),
|
203
|
-
(d(), h(Le(e(ze)), {
|
204
|
-
ref_key: "updateRef",
|
205
|
-
ref: j,
|
206
|
-
class: "main-footer",
|
207
|
-
schema: e(r),
|
208
|
-
table: e(y),
|
209
|
-
layout: e(L),
|
210
|
-
next: e(b),
|
211
|
-
set: e(v),
|
212
|
-
route: e(z),
|
213
|
-
onCopy: e(ye),
|
214
|
-
onEdit: e(_e),
|
215
|
-
onSubmit: e(Re),
|
216
|
-
onClose: e(Ce)
|
217
|
-
}, null, 40, ["schema", "table", "layout", "next", "set", "route", "onCopy", "onEdit", "onSubmit", "onClose"]))
|
218
|
-
]),
|
219
|
-
e(x) ? (d(), h(P, {
|
220
|
-
key: 0,
|
221
|
-
class: "side-form"
|
222
|
-
}, {
|
223
|
-
header: s(() => [
|
224
|
-
m("div", Qe, [
|
225
|
-
m("div", We, k(e(oe)("common.modify")) + " " + k(e(q)[e(S).show[0].name]), 1),
|
226
|
-
m("div", {
|
227
|
-
class: "row-close",
|
228
|
-
onClick: t[4] || (t[4] = (o) => Z(x) ? x.value = !1 : x = !1)
|
229
|
-
}, t[6] || (t[6] = [
|
230
|
-
m("i", { class: "fa fa-close" }, null, -1)
|
231
|
-
]))
|
232
|
-
])
|
233
|
-
]),
|
234
|
-
default: s(() => [
|
235
|
-
g($, null, {
|
236
|
-
default: s(() => [
|
237
|
-
g(U, {
|
238
|
-
size: "small",
|
239
|
-
"label-width": "80px"
|
240
|
-
}, {
|
241
|
-
default: s(() => [
|
242
|
-
(d(!0), H(ee, null, le(e(S).show, (o) => (d(), h(X, {
|
243
|
-
style: Ne(o.control.height ? `height: ${o.control.height}px;` : ""),
|
244
|
-
rules: o.rules
|
245
|
-
}, {
|
246
|
-
label: s(() => [
|
247
|
-
te(k(e(qe)(e(S).name, o.name)) + " ", 1),
|
248
|
-
o.control.tooltip ? (d(), h(V, {
|
249
|
-
key: 0,
|
250
|
-
trigger: "hover",
|
251
|
-
placement: "top",
|
252
|
-
width: "auto",
|
253
|
-
title: o.control.tooltip.title
|
254
|
-
}, {
|
255
|
-
reference: s(() => t[7] || (t[7] = [
|
256
|
-
m("i", { class: "fa fa-question-circle icon-question" }, null, -1)
|
257
|
-
])),
|
258
|
-
default: s(() => [
|
259
|
-
m("pre", null, k(o.control.tooltip.content), 1)
|
260
|
-
]),
|
261
|
-
_: 2
|
262
|
-
}, 1032, ["title"])) : B("", !0)
|
263
|
-
]),
|
264
|
-
default: s(() => [
|
265
|
-
g(Fe, {
|
266
|
-
schema: e(r),
|
267
|
-
table: e(S),
|
268
|
-
field: o,
|
269
|
-
set: e(v),
|
270
|
-
row: e(q)
|
271
|
-
}, null, 8, ["schema", "table", "field", "set", "row"])
|
272
|
-
]),
|
273
|
-
_: 2
|
274
|
-
}, 1032, ["style", "rules"]))), 256))
|
275
|
-
]),
|
276
|
-
_: 1
|
277
|
-
})
|
278
|
-
]),
|
279
|
-
_: 1
|
280
|
-
})
|
281
|
-
]),
|
282
|
-
_: 1
|
283
|
-
})) : B("", !0),
|
284
|
-
e(i).page ? (d(), h(_, {
|
285
|
-
key: 1,
|
286
|
-
"destroy-on-close": "",
|
287
|
-
"append-to-body": e(i).appendToBody,
|
288
|
-
size: `${e(c).width ?? "60%"}`,
|
289
|
-
modelValue: e(i).visible,
|
290
|
-
"onUpdate:modelValue": t[5] || (t[5] = (o) => e(i).visible = o)
|
291
|
-
}, {
|
292
|
-
header: s(() => [
|
293
|
-
m("div", Xe, [
|
294
|
-
te(k(e(b)[e(i).page].title) + " ", 1),
|
295
|
-
m("a", {
|
296
|
-
class: "drawer-copy",
|
297
|
-
href: `${e(D).url.getToUrl(e(i).url)}`
|
298
|
-
}, k(e(oe)("common.link")), 9, Ye)
|
299
|
-
])
|
300
|
-
]),
|
301
|
-
default: s(() => [
|
302
|
-
g(e(He), {
|
303
|
-
ref_key: "pageRef",
|
304
|
-
ref: O,
|
305
|
-
url: e(i).url,
|
306
|
-
onSucceed: e(G),
|
307
|
-
onClose: e(ge)
|
308
|
-
}, null, 8, ["url", "onSucceed", "onClose"])
|
309
|
-
]),
|
310
|
-
_: 1
|
311
|
-
}, 8, ["append-to-body", "size", "modelValue"])) : B("", !0)
|
312
|
-
], 2);
|
313
|
-
};
|
314
|
-
}
|
315
|
-
});
|
316
|
-
export {
|
317
|
-
ol as default
|
318
|
-
};
|
package/dist/Text-vHouxGHU.js
DELETED