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
@@ -10,7 +10,7 @@ const h = /* @__PURE__ */ u({
|
|
10
10
|
modelValue: {}
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let r = i(() => import("./Text-
|
13
|
+
let r = i(() => import("./Text-DXGGbFhr.js")), s = a, { schema: m, table: n, field: d, set: f, row: p, modelValue: l } = c(s);
|
14
14
|
return (x, o) => (w(), V(e(r), {
|
15
15
|
schema: e(m),
|
16
16
|
table: e(n),
|
@@ -4,9 +4,9 @@ import "./assets/underscore.string-DVXD2SZo.js";
|
|
4
4
|
import "./assets/clone-BZn0cTAu.js";
|
5
5
|
import "./assets/file-saver-CwlpTZSc.js";
|
6
6
|
import "./assets/moment-h96o7c8I.js";
|
7
|
-
import {
|
7
|
+
import { k as Y } from "./main--j4fHmql.js";
|
8
8
|
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
-
const
|
9
|
+
const U = /* @__PURE__ */ c({
|
10
10
|
__name: "Month",
|
11
11
|
props: {
|
12
12
|
schema: {},
|
@@ -40,5 +40,5 @@ const w = /* @__PURE__ */ c({
|
|
40
40
|
}
|
41
41
|
});
|
42
42
|
export {
|
43
|
-
|
43
|
+
U as default
|
44
44
|
};
|
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ u({
|
|
10
10
|
modelValue: {}
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let s = i(() => import("./Text-
|
13
|
+
let s = i(() => import("./Text-DXGGbFhr.js")), m = a, { schema: n, table: r, field: d, set: f, row: p, modelValue: l } = c(m);
|
14
14
|
return (w, t) => (V(), b(e(s), {
|
15
15
|
schema: e(n),
|
16
16
|
table: e(r),
|
@@ -4,9 +4,9 @@ import "./assets/underscore.string-DVXD2SZo.js";
|
|
4
4
|
import "./assets/clone-BZn0cTAu.js";
|
5
5
|
import "./assets/file-saver-CwlpTZSc.js";
|
6
6
|
import "./assets/moment-h96o7c8I.js";
|
7
|
-
import {
|
7
|
+
import { k as Y } from "./main--j4fHmql.js";
|
8
8
|
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
-
const
|
9
|
+
const U = /* @__PURE__ */ c({
|
10
10
|
__name: "Month",
|
11
11
|
props: {
|
12
12
|
schema: {},
|
@@ -39,5 +39,5 @@ const j = /* @__PURE__ */ c({
|
|
39
39
|
}
|
40
40
|
});
|
41
41
|
export {
|
42
|
-
|
42
|
+
U as default
|
43
43
|
};
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { defineComponent as de, toRefs as he, ref as
|
2
|
-
import {
|
1
|
+
import { defineComponent as de, toRefs as he, ref as S, onMounted as fe, computed as E, watch as M, resolveComponent as _, openBlock as n, createElementBlock as d, normalizeClass as J, unref as e, createBlock as g, withCtx as m, Fragment as w, renderList as R, createVNode as C, createCommentVNode as V, toDisplayString as q, createElementVNode as B, normalizeStyle as ge, createTextVNode as _e, resolveDynamicComponent as be } from "vue";
|
2
|
+
import { x as K, s as N, d as ye, P as Ce, g as Q, t as ke, f as xe, N as Se, A as we } from "./main--j4fHmql.js";
|
3
3
|
import "./assets/underscore.string-DVXD2SZo.js";
|
4
4
|
import "./assets/clone-BZn0cTAu.js";
|
5
5
|
import "./assets/file-saver-CwlpTZSc.js";
|
@@ -7,7 +7,6 @@ import "./assets/moment-h96o7c8I.js";
|
|
7
7
|
import "./assets/liquidjs-C-LVcoaY.js";
|
8
8
|
import "vue-router";
|
9
9
|
import "./assets/intro.js-DxWjEdp_.js";
|
10
|
-
import { _ as K } from "./Index.vue_vue_type_style_index_0_lang-CTTyswoD.js";
|
11
10
|
const Re = {
|
12
11
|
key: 1,
|
13
12
|
class: "ha-empty"
|
@@ -18,7 +17,7 @@ const Re = {
|
|
18
17
|
}, ze = {
|
19
18
|
key: 0,
|
20
19
|
class: "normal-selection"
|
21
|
-
}, Ee = { class: "normal-content" }, Ve = /* @__PURE__ */ B("i", { class: "fa fa-question-circle icon-question" }, null, -1),
|
20
|
+
}, Ee = { class: "normal-content" }, Ve = /* @__PURE__ */ B("i", { class: "fa fa-question-circle icon-question" }, null, -1), Oe = /* @__PURE__ */ de({
|
22
21
|
__name: "Normal",
|
23
22
|
props: {
|
24
23
|
route: {},
|
@@ -31,29 +30,29 @@ const Re = {
|
|
31
30
|
set: {}
|
32
31
|
},
|
33
32
|
emits: ["change", "submit"],
|
34
|
-
setup(
|
35
|
-
let I =
|
33
|
+
setup(U, { expose: X, emit: Y }) {
|
34
|
+
let I = Y, Z = U, { module: L, set: c, schema: A, table: t, layout: i, validateErrors: O } = he(Z), p = S({ page: 1, count: c.value[t.value.name].length }), k = S([]), b = S(), H = S([]), T = S(), ee = (l) => {
|
36
35
|
H.value.push(l);
|
37
|
-
}, ee = () => {
|
38
|
-
p.value.page = 1;
|
39
36
|
}, le = () => {
|
37
|
+
p.value.page = 1;
|
38
|
+
}, te = () => {
|
40
39
|
b.value = P(t.value);
|
41
|
-
let l =
|
40
|
+
let l = N.getDefaultRow(t.value);
|
42
41
|
c.value[t.value.name].push(l);
|
43
|
-
},
|
42
|
+
}, ae = () => {
|
44
43
|
let l = c.value[t.value.name];
|
45
44
|
k.value.forEach((a) => {
|
46
45
|
l.splice(l.indexOf(a), 1);
|
47
46
|
}), k.value = [], H.value.forEach((a) => {
|
48
47
|
a.model && (a.model = !1);
|
49
48
|
});
|
50
|
-
},
|
51
|
-
I("change", l, a, o, r,
|
52
|
-
},
|
53
|
-
l ? k.value.push(a) :
|
54
|
-
},
|
49
|
+
}, j = (l) => c.value[t.value.name].indexOf(l), ne = (l, a, o, r, v) => {
|
50
|
+
N.updateTooltip(o, r, v), I("change", l, a, o, r, v);
|
51
|
+
}, oe = (l, a) => {
|
52
|
+
l ? k.value.push(a) : we.remove(k.value, a);
|
53
|
+
}, re = (l) => {
|
55
54
|
I("submit", l);
|
56
|
-
},
|
55
|
+
}, ue = (l, a = null) => {
|
57
56
|
p.value.page = l;
|
58
57
|
}, P = (l) => {
|
59
58
|
if (l.main || l.search.length == 0)
|
@@ -64,28 +63,28 @@ const Re = {
|
|
64
63
|
});
|
65
64
|
let o = {};
|
66
65
|
return o[l.name] = a, o;
|
67
|
-
},
|
66
|
+
}, W = (l) => {
|
68
67
|
b.value = P(l);
|
69
|
-
},
|
70
|
-
|
71
|
-
},
|
72
|
-
|
73
|
-
},
|
74
|
-
let l =
|
68
|
+
}, se = () => {
|
69
|
+
D();
|
70
|
+
}, me = (l) => {
|
71
|
+
W(l.schema[0]);
|
72
|
+
}, D = () => {
|
73
|
+
let l = T.value.clientWidth;
|
75
74
|
i.value.column = Math.ceil(l / 500);
|
76
|
-
},
|
77
|
-
|
75
|
+
}, ce = () => {
|
76
|
+
D(), W(t.value);
|
78
77
|
};
|
79
78
|
fe(() => {
|
80
|
-
|
79
|
+
ce();
|
81
80
|
});
|
82
|
-
let
|
81
|
+
let ie = E(() => K.splitRows(t.value.search, i.value.column)), G = E(() => {
|
83
82
|
if (!b.value)
|
84
83
|
return c.value[t.value.name];
|
85
84
|
let l = b.value[t.value.name], a = (p.value.page - 1) * i.value.pageSize, o = p.value.page * i.value.pageSize - 1, r = c.value[t.value.name].filter(($) => {
|
86
85
|
let f = !0;
|
87
|
-
for (let
|
88
|
-
let y = t.value.search[
|
86
|
+
for (let x = 0; x < t.value.search.length; x++) {
|
87
|
+
let y = t.value.search[x], s = $[y.name], h = l[y.name];
|
89
88
|
if (h) {
|
90
89
|
if (y.search == "Equals") {
|
91
90
|
if (s !== h) {
|
@@ -101,50 +100,50 @@ const Re = {
|
|
101
100
|
return f;
|
102
101
|
});
|
103
102
|
return p.value.count = r.length, r.filter(($, f) => f >= a && f <= o);
|
104
|
-
}),
|
105
|
-
let l = t.value.main ? `/${t.value.name}` : `/${
|
103
|
+
}), pe = E(() => N.getLines(t.value.show, i.value.column, (a) => a, (a) => a.colspan)), ve = E(() => {
|
104
|
+
let l = t.value.main ? `/${t.value.name}` : `/${A.value[0].name}/${t.value.name}`;
|
106
105
|
return ye.getComponent(`${l}/update-child`, "partial", "update-child");
|
107
106
|
});
|
108
|
-
return
|
109
|
-
let o = l.length, r = a.length,
|
110
|
-
(o > r || o < r && p.value.page >
|
111
|
-
}, { deep: !0 }),
|
107
|
+
return M(() => c.value[t.value.name], (l, a) => {
|
108
|
+
let o = l.length, r = a.length, v = Ce.pageCount(c.value[t.value.name].length, i.value.pageSize);
|
109
|
+
(o > r || o < r && p.value.page > v) && (p.value.page = v);
|
110
|
+
}, { deep: !0 }), M(O, (l, a) => {
|
112
111
|
let o = l.find((r) => r.table == t.value.name);
|
113
112
|
o != null && (p.value.page = Math.ceil((o.index + 1) / i.value.pageSize));
|
114
|
-
}),
|
115
|
-
|
116
|
-
}),
|
117
|
-
const o = _("el-form-item"), r = _("el-col"),
|
118
|
-
return n(),
|
113
|
+
}), M(t, (l, a) => {
|
114
|
+
D();
|
115
|
+
}), X({ resize: se, update: me }), (l, a) => {
|
116
|
+
const o = _("el-form-item"), r = _("el-col"), v = _("el-row"), $ = _("el-form"), f = _("el-checkbox"), x = _("el-popover"), y = _("el-pagination");
|
117
|
+
return n(), d("div", {
|
119
118
|
ref_key: "normalRef",
|
120
|
-
ref:
|
121
|
-
class:
|
119
|
+
ref: T,
|
120
|
+
class: J(["ha-normal-layout", { draggable: e(i).sort }])
|
122
121
|
}, [
|
123
122
|
e(b) ? (n(), g($, {
|
124
123
|
key: 0,
|
125
124
|
class: "search-form"
|
126
125
|
}, {
|
127
126
|
default: m(() => [
|
128
|
-
(n(!0),
|
127
|
+
(n(!0), d(w, null, R(e(ie), (s, h) => (n(), g(v, {
|
129
128
|
gutter: 5,
|
130
129
|
key: h
|
131
130
|
}, {
|
132
131
|
default: m(() => [
|
133
|
-
(n(!0),
|
132
|
+
(n(!0), d(w, null, R(s, (u, F) => (n(), g(r, {
|
134
133
|
span: 24 / e(i).column,
|
135
|
-
key:
|
134
|
+
key: F
|
136
135
|
}, {
|
137
136
|
default: m(() => [
|
138
137
|
C(o, {
|
139
138
|
label: u.label
|
140
139
|
}, {
|
141
140
|
default: m(() => [
|
142
|
-
C(
|
143
|
-
schema: e(
|
141
|
+
C(e(Q), {
|
142
|
+
schema: e(A),
|
144
143
|
table: e(t),
|
145
144
|
field: u,
|
146
145
|
set: e(b),
|
147
|
-
onSubmit: e(
|
146
|
+
onSubmit: e(le)
|
148
147
|
}, null, 8, ["schema", "table", "field", "set", "onSubmit"])
|
149
148
|
]),
|
150
149
|
_: 2
|
@@ -157,62 +156,65 @@ const Re = {
|
|
157
156
|
}, 1024))), 128))
|
158
157
|
]),
|
159
158
|
_: 1
|
160
|
-
})) :
|
161
|
-
e(
|
162
|
-
(n(!0),
|
163
|
-
class:
|
159
|
+
})) : V("", !0),
|
160
|
+
e(G).length ? (n(), d("div", $e, [
|
161
|
+
(n(!0), d(w, null, R(e(G), (s) => (n(), d("div", {
|
162
|
+
class: J(["normal-row", { main: e(t).main }])
|
164
163
|
}, [
|
165
|
-
e(t).main ?
|
164
|
+
e(t).main ? V("", !0) : (n(), d("div", ze, [
|
166
165
|
C(f, {
|
167
166
|
ref_for: !0,
|
168
|
-
ref: e(
|
167
|
+
ref: e(ee),
|
169
168
|
class: "normal-checkbox",
|
170
169
|
row: s,
|
171
|
-
onChange: (h) => e(
|
170
|
+
onChange: (h) => e(oe)(h, s)
|
172
171
|
}, null, 8, ["row", "onChange"])
|
173
172
|
])),
|
174
173
|
B("div", Ee, [
|
175
|
-
(n(!0),
|
174
|
+
(n(!0), d(w, null, R(e(pe), (h) => (n(), g(v, null, {
|
176
175
|
default: m(() => [
|
177
|
-
(n(!0),
|
178
|
-
span:
|
176
|
+
(n(!0), d(w, null, R(h, ({ data: u, span: F }) => (n(), g(r, {
|
177
|
+
span: F,
|
179
178
|
key: `${e(t).name}.${u.name}`
|
180
179
|
}, {
|
181
180
|
default: m(() => [
|
182
181
|
C(o, {
|
183
|
-
style: ge(e(
|
182
|
+
style: ge(e(K).getStyle(u, e(L).type, e(i).type)),
|
184
183
|
label: u.label,
|
185
|
-
rules: e(
|
186
|
-
prop: `[${e(t).name}][${e(
|
184
|
+
rules: e(N).getRules(e(O), e(t), u, e(j)(s)),
|
185
|
+
prop: `[${e(t).name}][${e(j)(s)}][${u.name}]`
|
187
186
|
}, {
|
188
|
-
label: m(() =>
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
187
|
+
label: m(() => {
|
188
|
+
var z;
|
189
|
+
return [
|
190
|
+
_e(q(e(xe)(e(t).name, u.name)) + " ", 1),
|
191
|
+
(z = u.control.tooltip) != null && z.content ? (n(), g(x, {
|
192
|
+
key: 0,
|
193
|
+
trigger: "hover",
|
194
|
+
placement: "top",
|
195
|
+
width: "auto",
|
196
|
+
title: u.control.tooltip.title
|
197
|
+
}, {
|
198
|
+
reference: m(() => [
|
199
|
+
Ve
|
200
|
+
]),
|
201
|
+
default: m(() => [
|
202
|
+
B("pre", null, q(u.control.tooltip.content), 1)
|
203
|
+
]),
|
204
|
+
_: 2
|
205
|
+
}, 1032, ["title"])) : V("", !0)
|
206
|
+
];
|
207
|
+
}),
|
206
208
|
default: m(() => [
|
207
|
-
C(
|
208
|
-
schema: e(
|
209
|
-
table: e(t),
|
210
|
-
field: u,
|
209
|
+
C(e(Q), {
|
210
|
+
schema: e(A),
|
211
211
|
set: e(c),
|
212
|
+
table: e(t),
|
212
213
|
row: s,
|
213
|
-
|
214
|
-
|
215
|
-
|
214
|
+
field: u,
|
215
|
+
onSubmit: e(re),
|
216
|
+
onChange: (z) => e(ne)(z, e(c), e(t), s, u)
|
217
|
+
}, null, 8, ["schema", "set", "table", "row", "field", "onSubmit", "onChange"])
|
216
218
|
]),
|
217
219
|
_: 2
|
218
220
|
}, 1032, ["style", "label", "rules", "prop"])
|
@@ -224,16 +226,16 @@ const Re = {
|
|
224
226
|
}, 1024))), 256))
|
225
227
|
])
|
226
228
|
], 2))), 256))
|
227
|
-
], 512)) : (n(),
|
228
|
-
e(t).main ?
|
229
|
+
], 512)) : (n(), d("div", Re, q(e(ke)("common.no_data")), 1)),
|
230
|
+
e(t).main ? V("", !0) : (n(), g(e(Se), { key: 3 }, {
|
229
231
|
left: m(() => [
|
230
|
-
(n(), g(be(e(
|
232
|
+
(n(), g(be(e(ve)), {
|
231
233
|
module: e(L),
|
232
234
|
set: e(c),
|
233
235
|
table: e(t),
|
234
236
|
selection: e(k),
|
235
|
-
onAdd: e(
|
236
|
-
onRemove: e(
|
237
|
+
onAdd: e(te),
|
238
|
+
onRemove: e(ae)
|
237
239
|
}, null, 40, ["module", "set", "table", "selection", "onAdd", "onRemove"]))
|
238
240
|
]),
|
239
241
|
default: m(() => [
|
@@ -243,7 +245,7 @@ const Re = {
|
|
243
245
|
"current-page": e(p).page,
|
244
246
|
"page-size": e(i).pageSize,
|
245
247
|
total: e(p).count,
|
246
|
-
onCurrentChange: a[0] || (a[0] = (s) => e(
|
248
|
+
onCurrentChange: a[0] || (a[0] = (s) => e(ue)(s, e(t)))
|
247
249
|
}, null, 8, ["current-page", "page-size", "total"])
|
248
250
|
]),
|
249
251
|
_: 1
|
@@ -253,5 +255,5 @@ const Re = {
|
|
253
255
|
}
|
254
256
|
});
|
255
257
|
export {
|
256
|
-
|
258
|
+
Oe as default
|
257
259
|
};
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import { defineComponent as V, toRefs as $, ref as r, onMounted as A, watch as E, unref as
|
1
|
+
import { defineComponent as V, toRefs as $, ref as r, onMounted as A, watch as E, unref as a, openBlock as G, createBlock as I, createCommentVNode as K } from "vue";
|
2
2
|
import "./assets/underscore-B0BCaBxV.js";
|
3
3
|
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
-
import { U as s, b as Q, i as W, s as h, O as X, c as b } from "./main
|
4
|
+
import { U as s, b as Q, i as W, s as h, O as X, c as b } from "./main--j4fHmql.js";
|
5
5
|
import "./assets/file-saver-CwlpTZSc.js";
|
6
6
|
import "./assets/moment-h96o7c8I.js";
|
7
7
|
import "./assets/liquidjs-C-LVcoaY.js";
|
8
|
-
import { _ as Y } from "./Index.vue_vue_type_script_setup_true_lang-
|
8
|
+
import { _ as Y } from "./Index.vue_vue_type_script_setup_true_lang-Cx8eXCsw.js";
|
9
9
|
const oe = /* @__PURE__ */ V({
|
10
10
|
__name: "Paging",
|
11
11
|
props: {
|
@@ -17,80 +17,80 @@ const oe = /* @__PURE__ */ V({
|
|
17
17
|
emits: ["navigate", "load"],
|
18
18
|
setup(q, { expose: k, emit: z }) {
|
19
19
|
let g = z, P = q, { url: d, base: y, route: u } = $(P), f = r(), v = r(), c = r(), m = r(), x = r(), C = r(), p = r(), o = r(), N = (e) => !0, L = (e) => {
|
20
|
-
let
|
21
|
-
return
|
20
|
+
let l = s.getPath(d.value), t = s.getPath(e);
|
21
|
+
return l != t;
|
22
22
|
}, O = (e = null) => {
|
23
23
|
_(e);
|
24
24
|
}, R = () => {
|
25
25
|
}, S = (e) => {
|
26
|
-
var
|
27
|
-
let
|
28
|
-
W.setTitle(
|
29
|
-
}, U = (e = null,
|
30
|
-
let
|
26
|
+
var t;
|
27
|
+
let l = Q(e.module.type, e.module.name);
|
28
|
+
W.setTitle(l, e.module.env), f.value = e.module, x.value = e.next, C.value = h.expandSet(e.schema, e.set), v.value = h.expandSchema(e.schema, e.set), c.value = (t = v.value) == null ? void 0 : t[0], m.value = c.value.layouts[0], p.value = h.getConditionForm(v.value, u.value.query.condition);
|
29
|
+
}, U = (e = null, l = null) => {
|
30
|
+
let t = e ?? u.value.query, n = s.getUrl(u.value.path, t);
|
31
31
|
g("load", n, !1, (T) => {
|
32
|
-
|
32
|
+
l && l(T);
|
33
33
|
});
|
34
|
-
}, i = (e,
|
35
|
-
g("navigate", e,
|
34
|
+
}, i = (e, l) => {
|
35
|
+
g("navigate", e, l);
|
36
36
|
}, w = async (e) => {
|
37
|
-
let a = u.value.query;
|
38
|
-
a.page = 1;
|
39
|
-
let l = X.pure(p.value);
|
40
|
-
a.condition = b.encode(l);
|
41
|
-
let n = s.getUrl(u.value.path, a);
|
42
|
-
n == d.value ? U(a, e) : i(n, e);
|
43
|
-
}, B = (e, a) => {
|
44
37
|
let l = u.value.query;
|
45
|
-
l.
|
38
|
+
l.page = 1;
|
39
|
+
let t = X.pure(p.value);
|
40
|
+
l.condition = b.encode(t);
|
46
41
|
let n = s.getUrl(u.value.path, l);
|
47
|
-
i(n,
|
48
|
-
},
|
49
|
-
let
|
50
|
-
|
51
|
-
let n = s.getUrl(u.value.path,
|
52
|
-
i(n,
|
53
|
-
},
|
54
|
-
let
|
55
|
-
|
56
|
-
let n = s.getUrl(u.value.path,
|
57
|
-
i(n,
|
42
|
+
n == d.value ? U(l, e) : i(n, e);
|
43
|
+
}, B = (e, l) => {
|
44
|
+
let t = u.value.query;
|
45
|
+
t.order_by = b.encode(JSON.stringify(e));
|
46
|
+
let n = s.getUrl(u.value.path, t);
|
47
|
+
i(n, l);
|
48
|
+
}, D = (e, l = null) => {
|
49
|
+
let t = u.value.query;
|
50
|
+
t.page = e;
|
51
|
+
let n = s.getUrl(u.value.path, t);
|
52
|
+
i(n, l);
|
53
|
+
}, H = (e, l = null) => {
|
54
|
+
let t = u.value.query;
|
55
|
+
t.size = e;
|
56
|
+
let n = s.getUrl(u.value.path, t);
|
57
|
+
i(n, l);
|
58
58
|
}, j = (e) => {
|
59
|
-
m.value = c.value.layouts.find((
|
59
|
+
m.value = c.value.layouts.find((l) => l.type == e);
|
60
60
|
}, F = () => {
|
61
61
|
S(y.value.data);
|
62
62
|
}, _ = (e = null) => U(null, e), J = (e) => {
|
63
63
|
if (!o.value || !o.value.resize)
|
64
64
|
return !1;
|
65
65
|
o.value.resize(e);
|
66
|
-
}, M = (e,
|
66
|
+
}, M = (e, l) => {
|
67
67
|
if (!o.value || !o.value.keyboard)
|
68
68
|
return !1;
|
69
|
-
o.value.keyboard(e,
|
69
|
+
o.value.keyboard(e, l);
|
70
70
|
};
|
71
71
|
return A(async () => {
|
72
72
|
F();
|
73
73
|
}), E(() => y.value, (e) => {
|
74
74
|
S(e.data);
|
75
|
-
}), k({ shouldLoad: N, shouldSpin: L, refresh: _, keyboard: M, resize: J }), (e,
|
75
|
+
}), k({ shouldLoad: N, shouldSpin: L, refresh: _, keyboard: M, resize: J }), (e, l) => a(m) ? (G(), I(Y, {
|
76
76
|
key: 0,
|
77
77
|
ref_key: "pagingRef",
|
78
78
|
ref: o,
|
79
|
-
module:
|
80
|
-
next:
|
81
|
-
set:
|
82
|
-
schema:
|
83
|
-
table:
|
84
|
-
layout:
|
85
|
-
"search-data":
|
86
|
-
onNavigate:
|
87
|
-
onSort:
|
88
|
-
onSearch:
|
89
|
-
onPageChange:
|
90
|
-
onSizeChange:
|
91
|
-
onLayoutChange:
|
92
|
-
onSucceed:
|
93
|
-
onClose:
|
79
|
+
module: a(f),
|
80
|
+
next: a(x),
|
81
|
+
set: a(C),
|
82
|
+
schema: a(v),
|
83
|
+
table: a(c),
|
84
|
+
layout: a(m),
|
85
|
+
"search-data": a(p),
|
86
|
+
onNavigate: a(i),
|
87
|
+
onSort: a(B),
|
88
|
+
onSearch: a(w),
|
89
|
+
onPageChange: a(D),
|
90
|
+
onSizeChange: a(H),
|
91
|
+
onLayoutChange: a(j),
|
92
|
+
onSucceed: a(O),
|
93
|
+
onClose: a(R)
|
94
94
|
}, null, 8, ["module", "next", "set", "schema", "table", "layout", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onLayoutChange", "onSucceed", "onClose"])) : K("", !0);
|
95
95
|
}
|
96
96
|
});
|
@@ -4,7 +4,7 @@ import "./assets/underscore.string-DVXD2SZo.js";
|
|
4
4
|
import "./assets/clone-BZn0cTAu.js";
|
5
5
|
import "./assets/file-saver-CwlpTZSc.js";
|
6
6
|
import "./assets/moment-h96o7c8I.js";
|
7
|
-
import { t as o } from "./main
|
7
|
+
import { t as o } from "./main--j4fHmql.js";
|
8
8
|
import "./assets/liquidjs-C-LVcoaY.js";
|
9
9
|
const T = { class: "search-title" }, $ = /* @__PURE__ */ l("i", { class: "fa fa-plus" }, null, -1), j = /* @__PURE__ */ l("i", { class: "fa fa-copy" }, null, -1), z = /* @__PURE__ */ l("i", { class: "fa fa-trash-alt" }, null, -1), A = { class: "search-operation" }, G = /* @__PURE__ */ l("i", { class: "fa fa-search" }, null, -1), J = /* @__PURE__ */ l("i", { class: "fa fa-file-upload" }, null, -1), K = /* @__PURE__ */ l("i", { class: "fa fa-share-square" }, null, -1), oe = /* @__PURE__ */ D({
|
10
10
|
__name: "PagingHeader",
|
@@ -4,7 +4,7 @@ import "./assets/underscore.string-DVXD2SZo.js";
|
|
4
4
|
import "./assets/clone-BZn0cTAu.js";
|
5
5
|
import "./assets/file-saver-CwlpTZSc.js";
|
6
6
|
import "./assets/moment-h96o7c8I.js";
|
7
|
-
import { t as a } from "./main
|
7
|
+
import { t as a } from "./main--j4fHmql.js";
|
8
8
|
import "./assets/liquidjs-C-LVcoaY.js";
|
9
9
|
const E = { class: "paging-row" }, H = /* @__PURE__ */ x({
|
10
10
|
__name: "PagingRow",
|
@@ -4,7 +4,7 @@ import "./assets/underscore.string-DVXD2SZo.js";
|
|
4
4
|
import "./assets/clone-BZn0cTAu.js";
|
5
5
|
import "./assets/file-saver-CwlpTZSc.js";
|
6
6
|
import "./assets/moment-h96o7c8I.js";
|
7
|
-
import { h as r } from "./main
|
7
|
+
import { h as r } from "./main--j4fHmql.js";
|
8
8
|
import "./assets/liquidjs-C-LVcoaY.js";
|
9
9
|
class o {
|
10
10
|
/**
|