halo-pc 1.0.23 → 1.0.25
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-4S7jNdlM.js → Article-B85JcyzM.js} +10 -10
- package/dist/{ArticleFooter-DQs1A7g2.js → ArticleFooter-BCHVxIWa.js} +1 -1
- package/dist/{Autocomplete-B9SJNrNq.js → Autocomplete-BA0pEA9T.js} +2 -2
- package/dist/{Autocomplete-BZNDoWFj.js → Autocomplete-C1MC46ef.js} +3 -3
- package/dist/{Autocomplete-BXwtzACg.js → Autocomplete-DUmzcj_9.js} +1 -1
- package/dist/{CSharp-aXdVWxPS.js → CSharp-CLKgbbVS.js} +1 -1
- package/dist/{Calender-DSckLCh-.js → Calender-DIjZoC1-.js} +4 -4
- package/dist/{Callback-xlj8oj2-.js → Callback-DmCRycGX.js} +3 -3
- package/dist/{Cascader-Cwi5mukb.js → Cascader-CQqLPpEF.js} +10 -10
- package/dist/{Cascader-D1RbjsMs.js → Cascader-DcM0THgE.js} +1 -1
- package/dist/{Checkbox-DtNMPsX4.js → Checkbox-BJjYhPvp.js} +1 -1
- package/dist/{Checkbox-DFnVivE9.js → Checkbox-CLGuZoor.js} +1 -1
- package/dist/{Code-B2jpV8ek.js → Code-C5fE_bvq.js} +1 -1
- package/dist/{Code-CTmcyEEu.js → Code-CVyrDYHh.js} +4 -4
- package/dist/{Code-DEOvcbgy.js → Code-CfODGNBF.js} +1 -1
- package/dist/{Code-CEafFSlR.js → Code-D7kMH044.js} +1 -1
- package/dist/{Code.vue_vue_type_style_index_0_lang-Cf1QzL0C.js → Code.vue_vue_type_style_index_0_lang-CGIHkYJn.js} +5 -5
- package/dist/{Column-zAYqqGgI.js → Column-4XWgmnKg.js} +13 -12
- package/dist/{Comment-BZTVtxyP.js → Comment-CNvy-1Iq.js} +1 -1
- package/dist/{Compare-DMDVEK_Q.js → Compare-DICZHIEn.js} +1 -1
- package/dist/{Compare-Dy_YDKN2.js → Compare-wgk3D3EX.js} +13 -12
- package/dist/{Copy-KA_-9J5g.js → Copy-C_EBpWht.js} +1 -1
- package/dist/{Custom-BpQzSpoK.js → Custom-OUdFT-Z9.js} +1 -1
- package/dist/{DataExport-CU9MMI6C.js → DataExport-f8caAI4D.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-DdczhsmD.js → DataExport.vue_vue_type_script_setup_true_lang-CbiPENFw.js} +1 -1
- package/dist/{DataImport-Dzq9P4hO.js → DataImport-CZaVBfZq.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-BdDLixcQ.js → DataImport.vue_vue_type_script_setup_true_lang-DIrLf0yN.js} +6 -6
- package/dist/{Date-yqT5zILQ.js → Date-B1jUMPdx.js} +3 -3
- package/dist/{Date-BD5syhZL.js → Date-DtHzdllB.js} +1 -1
- package/dist/{DateRange-CUQsaLxD.js → DateRange-CXUIVfwU.js} +1 -1
- package/dist/{DateTime-DcerQByM.js → DateTime-6lhPVe1O.js} +1 -1
- package/dist/{DateTime-hLc--zka.js → DateTime-G4F8DiCI.js} +1 -1
- package/dist/{DateTimeRange-CSRaF4s1.js → DateTimeRange-CG9K8X5b.js} +5 -5
- package/dist/{Daterange-DY2i3jwP.js → Daterange-DbhWv06V.js} +1 -1
- package/dist/{Decimal-DY34o2Nh.js → Decimal-iKOftOtx.js} +1 -1
- package/dist/{Delete-CXnvlNw9.js → Delete-BU-TdXZR.js} +1 -1
- package/dist/{Detail-BYlDGKVP.js → Detail-syloerEZ.js} +12 -11
- package/dist/{Dictionary-DtXqTf_k.js → Dictionary-DYPWj-d0.js} +7 -7
- package/dist/{Email-ofMPw09E.js → Email-BTKIb--f.js} +1 -1
- package/dist/{File-czipSVR0.js → File-IQG0slBy.js} +15 -14
- package/dist/Image-BRH98A7N.js +9 -0
- package/dist/{Index-j9BffBys.js → Index-BJWMiDrx.js} +25 -25
- package/dist/{Index-CK25oTiA.js → Index-BqseRji6.js} +1 -1
- package/dist/Index-C8CUkTm5.js +4 -0
- package/dist/Index-CBAGTH43.js +4 -0
- package/dist/{Index-BSZ_tPMy.js → Index-CnqiNw5R.js} +1 -1
- package/dist/{Index-DIUPLGQ4.js → Index-CttpoRk-.js} +2 -2
- package/dist/Index-D3WQg1HZ.js +4 -0
- package/dist/Index-KxibedJH.js +4 -0
- package/dist/{Index.vue_vue_type_script_setup_true_lang-DtZPmPAC.js → Index.vue_vue_type_script_setup_true_lang-C0QNQ1MJ.js} +4 -3
- package/dist/{Index.vue_vue_type_script_setup_true_lang-Bp4JjtSz.js → Index.vue_vue_type_script_setup_true_lang-Cx8eXCsw.js} +7 -6
- package/dist/{Install-qFVqjd7y.js → Install-BEeQqQzM.js} +4 -3
- package/dist/{Int-BWcRpPzt.js → Int-Ae-gJbt5.js} +1 -1
- package/dist/{Int-BYyavcrM.js → Int-BqZ6sIcn.js} +3 -3
- package/dist/{List-BejoBArm.js → List-D8C_gyVz.js} +2 -2
- package/dist/{Maintaince-Dlh2ICnO.js → Maintaince-DdS89Bbv.js} +3 -3
- package/dist/{Markdown-DymmFy2X.js → Markdown-DR4rlU3-.js} +1 -1
- package/dist/{Month-DaYaF2WK.js → Month-BECDFWum.js} +3 -3
- package/dist/{Month-C5_ANmVr.js → Month-BRuj2vZ-.js} +1 -1
- package/dist/{Month-Cf8e0cin.js → Month-CnScc0mu.js} +3 -3
- package/dist/{Normal-NYkjZ2aA.js → Normal-B6h5U5-c.js} +95 -93
- package/dist/{Paging-DoQ_cXwj.js → Paging-CdUnYWJ1.js} +51 -51
- package/dist/{PagingHeader-BhwoSfFl.js → PagingHeader-BEfi7NBv.js} +1 -1
- package/dist/{PagingRow-BF6pUhoJ.js → PagingRow-C-l9v-bo.js} +1 -1
- package/dist/{QueryApi-CPQ67lb4.js → QueryApi-CwNeSXIs.js} +1 -1
- package/dist/{Racebar-BNPXg9aN.js → Racebar-BdLTF_ZH.js} +27 -27
- package/dist/{Radio-wHwEjg6V.js → Radio-DVmzOE7P.js} +1 -1
- package/dist/{Register-B4Bc8s-2.js → Register-CQSkhKvF.js} +24 -24
- package/dist/{RichText-Cj5QP79L.js → RichText-D-AaPwkx.js} +8 -8
- package/dist/{SearchFooter-zNYx9YkN.js → SearchFooter-CKOh4Fzz.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-CVxX9q-U.js → SearchFooter.vue_vue_type_style_index_0_lang-D6xp89r9.js} +1 -1
- package/dist/{SearchForm-CJ3ru63a.js → SearchForm-WtocjgIQ.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-DDH5N323.js → SearchForm.vue_vue_type_style_index_0_lang-DFqj7f23.js} +8 -8
- package/dist/{Select-BDaDhqW7.js → Select-CGC68XKI.js} +1 -1
- package/dist/{Select-DFLY8nGY.js → Select-DuHwIGlP.js} +1 -1
- package/dist/{Select-WXibWkE0.js → Select-RG1Hkpw4.js} +17 -17
- package/dist/{Single-CmQgQl_u.js → Single-PROE_P9A.js} +22 -23
- package/dist/{Statistic-BuU_GxqZ.js → Statistic-R1oy4jve.js} +25 -27
- package/dist/{Stock-CDJ-AVw-.js → Stock-Dzlxs_TK.js} +1 -1
- package/dist/{Stock-B7NgfM19.js → Stock-zGPixaHC.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-pZYnIJLp.js → Stock.vue_vue_type_style_index_0_lang-DAlvmXf0.js} +10 -10
- package/dist/{Switch-DHf-0HZD.js → Switch-y8TGQEHX.js} +1 -1
- package/dist/{Table-7P4KXMsy.js → Table-D--KFpz3.js} +107 -108
- package/dist/{Table-CN-KYO1R.js → Table-NDlPEOwH.js} +77 -77
- package/dist/{Text-Da3ROjFC.js → Text-BkKR1LPU.js} +4 -4
- package/dist/Text-DXGGbFhr.js +4 -0
- package/dist/{Text-C05EoDxO.js → Text-DXGzwZnW.js} +5 -5
- package/dist/{Text.vue_vue_type_style_index_0_lang-DKX9_aI4.js → Text.vue_vue_type_style_index_0_lang-CeWH48Pu.js} +1 -1
- package/dist/{TextLink-CQ_46bry.js → TextLink-DYisoDVn.js} +1 -1
- package/dist/{Textarea-B91EwIdj.js → Textarea-C4PlCQXP.js} +1 -1
- package/dist/{Time-DxyveGcA.js → Time-DxojKVPC.js} +3 -3
- package/dist/{Timeline-C1xOEcU4.js → Timeline-hBk2KUsH.js} +1 -1
- package/dist/{Tree-BK6p6Ake.js → Tree-Dsrpy8UN.js} +9 -9
- package/dist/{Tree-DxJKaqc6.js → Tree-DzfCEHVR.js} +19 -19
- package/dist/{TreeNode-C84IoqkK.js → TreeNode-BAZbs0jL.js} +1 -1
- package/dist/{Update-D5cXmHyf.js → Update-BzPazrMP.js} +4 -3
- package/dist/{UpdateChild-DvrF1nBA.js → UpdateChild-BvIiamkv.js} +1 -1
- package/dist/{Upload-CK-ALAKV.js → Upload-Dt2pNqjv.js} +16 -16
- package/dist/{Upload-CRpCHz3m.js → Upload-fnKNelcS.js} +14 -14
- package/dist/{UploadApi-B-7WPVHD.js → UploadApi-D_HwEoQY.js} +1 -1
- package/dist/{Year-BOL9ynRU.js → Year-BUO5CKKv.js} +4 -4
- package/dist/{Year-CwaPwkLN.js → Year-DJPzJlot.js} +1 -1
- package/dist/{main-CnPQ_RYM.js → main--j4fHmql.js} +2983 -2847
- package/dist/main.js +130 -128
- package/dist/style.css +1 -1
- package/esm/coms/controls/index.d.ts +2 -0
- package/esm/coms/headers/Index.vue.d.ts +21 -2
- package/esm/svcs/AppSvc.d.ts +4 -36
- package/esm/svcs/ControlSvc.d.ts +8 -8
- package/esm/svcs/PageSvc.d.ts +0 -12
- package/esm/svcs/StandardSvc.d.ts +13 -3
- package/esm/svcs/index.d.ts +1 -6
- package/package.json +2 -2
- package/dist/Image-BwJO-IEo.js +0 -9
- package/dist/Index-Bwy9Q7qy.js +0 -4
- package/dist/Index-Ch5_Jqsf.js +0 -4
- package/dist/Index-DnNVMYOZ.js +0 -4
- package/dist/Index-qOyfJhdG.js +0 -4
- package/dist/Index.vue_vue_type_style_index_0_lang-CTTyswoD.js +0 -122
- package/dist/Text-DqapEwUL.js +0 -4
- package/dist/assets/@intlify-BISCQg1h.js +0 -2189
- package/dist/assets/@vue-aVYGocXp.js +0 -93
- package/dist/assets/vue-i18n-CLr3brPz.js +0 -1670
@@ -1,22 +1,21 @@
|
|
1
|
-
import { defineComponent as
|
1
|
+
import { defineComponent as He, toRefs as Be, ref as i, onMounted as Ue, nextTick as j, computed as ae, resolveComponent as R, openBlock as f, createElementBlock as U, createVNode as v, unref as e, isRef as w, normalizeClass as De, withCtx as h, createTextVNode as le, toDisplayString as k, Fragment as Te, renderList as Ee, createBlock as S, createCommentVNode as z, createElementVNode as D, resolveDynamicComponent as Ne } from "vue";
|
2
2
|
import "./assets/underscore-B0BCaBxV.js";
|
3
|
-
import {
|
3
|
+
import { E as $, d as Le, L as Me, t as q, f as Pe, g as je, x as qe, N as Ae, P as Ke, Q as oe, U as Oe, a as Fe, R as Ie, h as Qe, m as Ge, b as Je } from "./main--j4fHmql.js";
|
4
4
|
import "./assets/underscore.string-DVXD2SZo.js";
|
5
5
|
import "./assets/file-saver-CwlpTZSc.js";
|
6
6
|
import "./assets/clone-BZn0cTAu.js";
|
7
7
|
import "./assets/moment-h96o7c8I.js";
|
8
8
|
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
-
import { _ as
|
10
|
-
import { _ as
|
11
|
-
import { _ as
|
12
|
-
import { _ as Xe } from "./Index.vue_vue_type_style_index_0_lang-CTTyswoD.js";
|
9
|
+
import { _ as Xe } from "./SearchForm.vue_vue_type_style_index_0_lang-DFqj7f23.js";
|
10
|
+
import { _ as Ye } from "./DataImport.vue_vue_type_script_setup_true_lang-DIrLf0yN.js";
|
11
|
+
import { _ as Ze } from "./DataExport.vue_vue_type_script_setup_true_lang-CbiPENFw.js";
|
13
12
|
import "vue-router";
|
14
13
|
import "./assets/intro.js-DxWjEdp_.js";
|
15
|
-
import { _ as
|
16
|
-
const
|
14
|
+
import { _ as et } from "./SearchFooter.vue_vue_type_style_index_0_lang-D6xp89r9.js";
|
15
|
+
const tt = {
|
17
16
|
key: 0,
|
18
17
|
class: "required"
|
19
|
-
},
|
18
|
+
}, at = ["onMouseenter"], lt = { class: "el-drawer__title" }, ot = { key: 0 }, nt = ["href"], _t = /* @__PURE__ */ He({
|
20
19
|
__name: "Table",
|
21
20
|
props: {
|
22
21
|
searchData: {},
|
@@ -29,194 +28,194 @@ const Ze = {
|
|
29
28
|
},
|
30
29
|
emits: ["search", "navigate", "sort", "page-change", "size-change", "succeed", "close"],
|
31
30
|
setup(ne, { expose: re, emit: se }) {
|
32
|
-
let b = se, ie = ne, { module: ue, schema:
|
31
|
+
let b = se, ie = ne, { module: ue, schema: T, table: r, layout: u, next: p, set: _, searchData: A } = Be(ie), E = i([]), V = i(), N = i(), L = i(), K = i(), O = i(), W = i(), m = i(!1), g = i(!1), F = i(), I = i("120px"), Q = i({}), y = i({ layout: "prev, pager, next", count: 5, sizes: [20, 50, 200, 500, 2e3] }), H = i(), n = i({ title: null, env: null, page: null, url: null, row: null, visible: !1, appendToBody: !1 }), de = new Ie(), pe = (t) => {
|
33
32
|
x("insert", null, t);
|
34
|
-
}, pe = (t, a) => {
|
35
|
-
x("detail", t, a);
|
36
33
|
}, me = (t, a) => {
|
37
|
-
x("
|
34
|
+
x("detail", t, a);
|
38
35
|
}, ge = (t, a) => {
|
39
|
-
x("
|
36
|
+
x("update", t, a);
|
40
37
|
}, ce = (t, a) => {
|
38
|
+
x("copy", t, a);
|
39
|
+
}, ve = (t, a) => {
|
41
40
|
x("delete", t, a);
|
42
|
-
},
|
41
|
+
}, G = (t) => {
|
43
42
|
let a = t.map((o) => o[r.value.key.name]);
|
44
|
-
|
45
|
-
|
43
|
+
Qe.post(p.value.delete.route, a).then((o) => {
|
44
|
+
Ge.success(o.message), M();
|
46
45
|
});
|
47
46
|
}, x = (t, a, o) => {
|
48
|
-
let s =
|
47
|
+
let s = fe(t, a);
|
49
48
|
o.ctrlKey ? (n.value.row = null, b("navigate", s)) : (n.value.appendToBody = o.altKey, n.value.page = t, n.value.url = s, n.value.row = a, n.value.visible = !0);
|
50
|
-
},
|
49
|
+
}, fe = (t, a = null) => {
|
51
50
|
let o = `${p.value[t].route}`;
|
52
51
|
if (a != null) {
|
53
52
|
let s = a[r.value.key.name];
|
54
53
|
o += `?id=${s}`;
|
55
54
|
}
|
56
55
|
return o;
|
57
|
-
},
|
56
|
+
}, he = () => {
|
58
57
|
n.value.visible = !1, b("close");
|
59
|
-
},
|
60
|
-
n.value.title =
|
58
|
+
}, ye = (t) => {
|
59
|
+
n.value.title = Je(t.module.type, t.module.name), n.value.env = t.module.env;
|
61
60
|
}, M = () => {
|
62
61
|
n.value.visible = !1;
|
63
|
-
let t =
|
62
|
+
let t = E.value;
|
64
63
|
b("succeed", (a) => {
|
65
64
|
let o = a.data.set[r.value.name];
|
66
65
|
if (!o.length)
|
67
66
|
return;
|
68
67
|
let s = r.value.key;
|
69
|
-
|
68
|
+
j(() => {
|
70
69
|
let c = n.value.row;
|
71
70
|
if (c) {
|
72
71
|
let d = o.find((C) => C[s.name] == c[s.name]);
|
73
|
-
d &&
|
72
|
+
d && N.value.setCurrentRow(d);
|
74
73
|
}
|
75
74
|
if (t.length > 0)
|
76
75
|
for (let d of t) {
|
77
76
|
let C = o.find((l) => l[s.name] == d[s.name]);
|
78
|
-
|
77
|
+
N.value.toggleRowSelection(C, !0);
|
79
78
|
}
|
80
79
|
});
|
81
80
|
});
|
82
|
-
},
|
81
|
+
}, J = (t) => {
|
83
82
|
b("search", t);
|
84
|
-
}, ye = (t) => {
|
85
|
-
b("page-change", t);
|
86
83
|
}, be = (t) => {
|
84
|
+
b("page-change", t);
|
85
|
+
}, we = (t) => {
|
87
86
|
b("size-change", t);
|
88
|
-
},
|
87
|
+
}, _e = (t, a) => {
|
89
88
|
let o = { [a.name]: { [t.prop]: t.order != "descending" ? "asc" : "desc" } };
|
90
89
|
b("sort", o);
|
91
|
-
},
|
92
|
-
},
|
93
|
-
|
94
|
-
},
|
95
|
-
|
90
|
+
}, xe = (t, a, o, s, c) => {
|
91
|
+
}, Ce = (t) => {
|
92
|
+
I.value = t;
|
93
|
+
}, Re = (t, a) => {
|
94
|
+
E.value = t;
|
96
95
|
}, ke = (t, a, o) => {
|
97
96
|
let s = t.target.children[0], c = $.getWidth(s) + 16 + 14, d = a.realWidth || a.width;
|
98
97
|
o._headerTooltip = c > d;
|
99
|
-
},
|
100
|
-
await
|
101
|
-
},
|
98
|
+
}, Se = async (t, a, o, s) => {
|
99
|
+
await oe.setColumnWidth(p.value.paging.route, r.value.name, o.property, t);
|
100
|
+
}, X = () => {
|
102
101
|
var s, c, d;
|
103
|
-
let t = $.getHeight(V.value), a = $.getHeight([(s = L.value) == null ? void 0 : s.$el, (c =
|
104
|
-
|
105
|
-
},
|
102
|
+
let t = $.getHeight(V.value), a = $.getHeight([(s = L.value) == null ? void 0 : s.$el, (c = K.value) == null ? void 0 : c.$el, (d = O.value) == null ? void 0 : d.$el]), o = t - a;
|
103
|
+
F.value = `${o}px`;
|
104
|
+
}, Y = () => {
|
106
105
|
let t = H.value;
|
107
106
|
t <= 690 ? y.value.count = 5 : y.value.count = 7, t <= 300 ? y.value.layout = "pager" : t <= 620 ? y.value.layout = "prev, pager, next" : y.value.layout = "sizes, total, prev, pager, next, jumper";
|
108
|
-
},
|
107
|
+
}, ze = (t, a) => {
|
109
108
|
if (!W.value || !W.value.keyboard)
|
110
109
|
return !1;
|
111
110
|
W.value.keyboard(t, a);
|
112
|
-
},
|
113
|
-
L.value.resize(t), H.value = $.getWidth(V.value),
|
114
|
-
|
111
|
+
}, $e = (t) => {
|
112
|
+
L.value.resize(t), H.value = $.getWidth(V.value), Y(), j(() => {
|
113
|
+
X();
|
115
114
|
});
|
116
115
|
};
|
117
|
-
|
118
|
-
|
119
|
-
|
116
|
+
Ue(async () => {
|
117
|
+
await de.open(Q.value, "sys", "page"), H.value = $.getWidth(V.value), Y(), j(() => {
|
118
|
+
X();
|
120
119
|
});
|
121
120
|
});
|
122
|
-
let
|
121
|
+
let Ve = ae(() => {
|
123
122
|
let a = Object.keys(u.value.orderBys)[0], o = u.value.orderBys[a];
|
124
123
|
return { prop: a, order: o ? "ascending" : "descending" };
|
125
|
-
}),
|
124
|
+
}), We = ae(() => {
|
126
125
|
let t = `/${r.value.name}/paging-row`;
|
127
|
-
return
|
126
|
+
return Le.getComponent(t, "partial", "paging-row");
|
128
127
|
});
|
129
|
-
return re({ keyboard:
|
130
|
-
const o =
|
131
|
-
return f(),
|
128
|
+
return re({ keyboard: ze, resize: $e }), (t, a) => {
|
129
|
+
const o = R("el-table-column"), s = R("el-tooltip"), c = R("el-table"), d = R("el-pagination"), C = R("el-drawer");
|
130
|
+
return f(), U("div", {
|
132
131
|
ref_key: "pagingRef",
|
133
132
|
ref: V,
|
134
133
|
class: "paging-table"
|
135
134
|
}, [
|
136
|
-
v(
|
135
|
+
v(Xe, {
|
137
136
|
ref_key: "searchRef",
|
138
137
|
ref: L,
|
139
|
-
schema: e(
|
138
|
+
schema: e(T),
|
140
139
|
table: e(r),
|
141
140
|
layout: e(u),
|
142
141
|
"search-data": e(A),
|
143
|
-
onSubmit: e(
|
142
|
+
onSubmit: e(J)
|
144
143
|
}, null, 8, ["schema", "table", "layout", "search-data", "onSubmit"]),
|
145
|
-
v(
|
144
|
+
v(et, {
|
146
145
|
ref_key: "headerRef",
|
147
|
-
ref:
|
148
|
-
schema: e(
|
146
|
+
ref: K,
|
147
|
+
schema: e(T),
|
149
148
|
table: e(r),
|
150
149
|
layout: e(u),
|
151
150
|
set: e(_),
|
152
151
|
next: e(p),
|
153
|
-
selection: e(
|
152
|
+
selection: e(E),
|
154
153
|
"search-data": e(A),
|
155
|
-
onAdd: e(
|
156
|
-
onRemove: e(
|
154
|
+
onAdd: e(pe),
|
155
|
+
onRemove: e(G),
|
157
156
|
onShowImport: a[0] || (a[0] = (l) => w(m) ? m.value = !0 : m = !0),
|
158
157
|
onShowExport: a[1] || (a[1] = (l) => w(g) ? g.value = !0 : g = !0),
|
159
|
-
onSearch: e(
|
158
|
+
onSearch: e(J)
|
160
159
|
}, null, 8, ["schema", "table", "layout", "set", "next", "selection", "search-data", "onAdd", "onRemove", "onSearch"]),
|
161
160
|
v(c, {
|
162
161
|
ref_key: "tableRef",
|
163
|
-
ref:
|
164
|
-
class: De([{ "hide-nav": e(
|
162
|
+
ref: N,
|
163
|
+
class: De([{ "hide-nav": e(Me).hideNav }, "table-default table-paging"]),
|
165
164
|
size: "small",
|
166
165
|
border: "",
|
167
166
|
"highlight-current-row": "",
|
168
|
-
"max-height": e(
|
167
|
+
"max-height": e(F),
|
169
168
|
data: e(_)[e(r).name],
|
170
|
-
"default-sort": e(
|
171
|
-
onSelectionChange: a[2] || (a[2] = (l) => e(
|
172
|
-
onSortChange: a[3] || (a[3] = (l) => e(
|
173
|
-
onHeaderDragend: e(
|
169
|
+
"default-sort": e(Ve),
|
170
|
+
onSelectionChange: a[2] || (a[2] = (l) => e(Re)(l, e(r))),
|
171
|
+
onSortChange: a[3] || (a[3] = (l) => e(_e)(l, e(r))),
|
172
|
+
onHeaderDragend: e(Se)
|
174
173
|
}, {
|
175
174
|
empty: h(() => [
|
176
|
-
|
175
|
+
le(k(e(q)("common.no_data")), 1)
|
177
176
|
]),
|
178
177
|
default: h(() => [
|
179
178
|
v(o, {
|
180
179
|
type: "selection",
|
181
180
|
width: "30"
|
182
181
|
}),
|
183
|
-
(f(!0),
|
184
|
-
var ee, te
|
182
|
+
(f(!0), U(Te, null, Ee(e(r).show, (l, rt) => {
|
183
|
+
var Z, ee, te;
|
185
184
|
return f(), S(o, {
|
186
185
|
sortable: e(r) ? "custom" : !1,
|
187
186
|
prop: l.name,
|
188
187
|
"sort-orders": ["descending", "ascending"],
|
189
188
|
fixed: e(u).fixed.indexOf(l.name) > -1,
|
190
|
-
"min-width": ((
|
189
|
+
"min-width": ((te = (ee = (Z = e(Q)) == null ? void 0 : Z[e(p).paging.route]) == null ? void 0 : ee[e(r).name]) == null ? void 0 : te[l.name]) ?? l.control.width,
|
191
190
|
label: `${l.label}${l.control.prefix || l.suffix ? "(" + (l.control.prefix || l.suffix) + ")" : ""}`,
|
192
191
|
key: `${e(r).name}.${l.name}`
|
193
192
|
}, {
|
194
193
|
header: h((B) => [
|
195
|
-
l.control.required && l.control.editable ? (f(),
|
194
|
+
l.control.required && l.control.editable ? (f(), U("i", tt)) : z("", !0),
|
196
195
|
v(s, {
|
197
196
|
placement: "top",
|
198
197
|
content: l.label,
|
199
198
|
disabled: !l._headerTooltip
|
200
199
|
}, {
|
201
200
|
default: h(() => [
|
202
|
-
|
201
|
+
D("span", {
|
203
202
|
onMouseenter: (P) => e(ke)(P, B.column, l)
|
204
203
|
}, [
|
205
|
-
|
206
|
-
], 40,
|
204
|
+
D("span", null, k(e(Pe)(e(r).name, l.name)), 1)
|
205
|
+
], 40, at)
|
207
206
|
]),
|
208
207
|
_: 2
|
209
208
|
}, 1032, ["content", "disabled"])
|
210
209
|
]),
|
211
210
|
default: h((B) => [
|
212
|
-
v(
|
213
|
-
schema: e(
|
211
|
+
v(je, {
|
212
|
+
schema: e(T),
|
214
213
|
table: e(r),
|
215
214
|
field: l,
|
216
215
|
set: e(_),
|
217
216
|
row: B.row,
|
218
|
-
config: e(
|
219
|
-
onChange: (P) => e(
|
217
|
+
config: e(qe).getConfig(l, e(ue).type, e(u).type),
|
218
|
+
onChange: (P) => e(xe)(P, e(r), l, e(_), B.row)
|
220
219
|
}, null, 8, ["schema", "table", "field", "set", "row", "config", "onChange"])
|
221
220
|
]),
|
222
221
|
_: 2
|
@@ -226,20 +225,20 @@ const Ze = {
|
|
226
225
|
label: e(q)("common.operation"),
|
227
226
|
fixed: "right",
|
228
227
|
"show-overflow-tooltip": "",
|
229
|
-
"min-width": e(
|
228
|
+
"min-width": e(I)
|
230
229
|
}, {
|
231
230
|
default: h((l) => [
|
232
|
-
(f(), S(Ne(e(
|
231
|
+
(f(), S(Ne(e(We)), {
|
233
232
|
table: e(r),
|
234
233
|
next: e(p),
|
235
234
|
set: e(_),
|
236
235
|
row: l.row,
|
237
|
-
onPreview: e(
|
238
|
-
onEdit: e(
|
239
|
-
onCopy: e(
|
240
|
-
onBeforeRemove: e(
|
241
|
-
onRemove: e(
|
242
|
-
onChangeWidth: e(
|
236
|
+
onPreview: e(me),
|
237
|
+
onEdit: e(ge),
|
238
|
+
onCopy: e(ce),
|
239
|
+
onBeforeRemove: e(ve),
|
240
|
+
onRemove: e(G),
|
241
|
+
onChangeWidth: e(Ce)
|
243
242
|
}, null, 40, ["table", "next", "set", "row", "onPreview", "onEdit", "onCopy", "onBeforeRemove", "onRemove", "onChangeWidth"]))
|
244
243
|
]),
|
245
244
|
_: 1
|
@@ -247,7 +246,7 @@ const Ze = {
|
|
247
246
|
]),
|
248
247
|
_: 1
|
249
248
|
}, 8, ["class", "max-height", "data", "default-sort", "onHeaderDragend"]),
|
250
|
-
v(e(
|
249
|
+
v(e(Ae), {
|
251
250
|
ref_key: "footerRef",
|
252
251
|
ref: O,
|
253
252
|
class: "list-toolbar"
|
@@ -260,15 +259,15 @@ const Ze = {
|
|
260
259
|
"pager-count": e(y).count,
|
261
260
|
total: e(u).count,
|
262
261
|
"page-sizes": e(y).sizes,
|
263
|
-
onCurrentChange: e(
|
264
|
-
onSizeChange: e(
|
262
|
+
onCurrentChange: e(be),
|
263
|
+
onSizeChange: e(we),
|
265
264
|
"page-size": e(u).pageSize,
|
266
265
|
"onUpdate:pageSize": a[4] || (a[4] = (l) => e(u).pageSize = l)
|
267
266
|
}, null, 8, ["layout", "current-page", "pager-count", "total", "page-sizes", "onCurrentChange", "onSizeChange", "page-size"])
|
268
267
|
]),
|
269
268
|
_: 1
|
270
269
|
}, 512),
|
271
|
-
e(p).import ? (f(), S(
|
270
|
+
e(p).import ? (f(), S(Ye, {
|
272
271
|
key: 0,
|
273
272
|
next: e(p),
|
274
273
|
onClose: a[5] || (a[5] = (l) => w(m) ? m.value = !1 : m = !1),
|
@@ -276,10 +275,10 @@ const Ze = {
|
|
276
275
|
modelValue: e(m),
|
277
276
|
"onUpdate:modelValue": a[6] || (a[6] = (l) => w(m) ? m.value = l : m = l)
|
278
277
|
}, null, 8, ["next", "onSucceed", "modelValue"])) : z("", !0),
|
279
|
-
e(p).export ? (f(), S(
|
278
|
+
e(p).export ? (f(), S(Ze, {
|
280
279
|
key: 1,
|
281
280
|
route: e(p).export.route,
|
282
|
-
"page-count": e(
|
281
|
+
"page-count": e(Ke).pageCount(e(u).count, e(u).pageSize),
|
283
282
|
onClose: a[7] || (a[7] = (l) => w(g) ? g.value = !1 : g = !1),
|
284
283
|
modelValue: e(g),
|
285
284
|
"onUpdate:modelValue": a[8] || (a[8] = (l) => w(g) ? g.value = l : g = l)
|
@@ -288,28 +287,28 @@ const Ze = {
|
|
288
287
|
key: 2,
|
289
288
|
"destroy-on-close": "",
|
290
289
|
"append-to-body": e(n).appendToBody,
|
291
|
-
size: e(
|
290
|
+
size: e(oe).getDrawerWidth(e(H)),
|
292
291
|
modelValue: e(n).visible,
|
293
292
|
"onUpdate:modelValue": a[9] || (a[9] = (l) => e(n).visible = l)
|
294
293
|
}, {
|
295
294
|
header: h(() => [
|
296
|
-
|
297
|
-
|
298
|
-
e(n).env ? (f(),
|
299
|
-
|
295
|
+
D("div", lt, [
|
296
|
+
le(k(e(n).title) + " ", 1),
|
297
|
+
e(n).env ? (f(), U("span", ot, "[" + k(e(n).env) + "]", 1)) : z("", !0),
|
298
|
+
D("a", {
|
300
299
|
class: "drawer-copy",
|
301
|
-
href: e(
|
302
|
-
},
|
300
|
+
href: e(Oe).getToUrl(e(n).url)
|
301
|
+
}, k(e(q)("common.link")), 9, nt)
|
303
302
|
])
|
304
303
|
]),
|
305
304
|
default: h(() => [
|
306
|
-
v(e(
|
305
|
+
v(e(Fe), {
|
307
306
|
ref_key: "pageRef",
|
308
307
|
ref: W,
|
309
308
|
url: e(n).url,
|
310
|
-
onLoaded: e(
|
309
|
+
onLoaded: e(ye),
|
311
310
|
onSucceed: e(M),
|
312
|
-
onClose: e(
|
311
|
+
onClose: e(he)
|
313
312
|
}, null, 8, ["url", "onLoaded", "onSucceed", "onClose"])
|
314
313
|
]),
|
315
314
|
_: 1
|
@@ -319,5 +318,5 @@ const Ze = {
|
|
319
318
|
}
|
320
319
|
});
|
321
320
|
export {
|
322
|
-
|
321
|
+
_t as default
|
323
322
|
};
|