@anzusystems/common-admin 1.47.0-beta.dev-1771894823 → 1.47.0-beta.dev-1771894830
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-jayVA7bh.mjs → AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-Blst4gx2.mjs} +1679 -1675
- package/dist/{AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-jayVA7bh.mjs.map → AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-Blst4gx2.mjs.map} +1 -1
- package/dist/common-admin.d.ts +156 -155
- package/dist/common-admin.js +1465 -1462
- package/dist/common-admin.js.map +1 -1
- package/dist/labs.d.ts +1 -0
- package/dist/labs.js +306 -300
- package/dist/labs.js.map +1 -1
- package/dist/{webfontloader-jD2Z9E6E.mjs → webfontloader-G0iJC_Zs.mjs} +2 -2
- package/dist/{webfontloader-jD2Z9E6E.mjs.map → webfontloader-G0iJC_Zs.mjs.map} +1 -1
- package/package.json +9 -9
package/dist/labs.js
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { bT as ue, d as B, j
|
|
2
|
-
import { aE as
|
|
3
|
-
import { defineComponent as oe, useModel as
|
|
1
|
+
import { bT as ue, d as B, j, k as Ne, a1 as Ve, h as H, i as Z, aj as de, ak as me, al as pe, am as fe, ag as ee, b0 as ge, aa as ve, ab as be, ac as he, ad as ye, an as Ce, ao as Ae, ae as Pe, af as we, bU as _e, bV as xe, bW as ke, bX as je, as as Te, bY as ae, ap as Le, aq as Re, aU as ze, b4 as Ue, ar as $e, E as Me, a8 as qe, a2 as Je, bZ as Ke, q as He, p as We, x as Qe, a7 as Ye, aI as Ge, m as Xe, b_ as Ze, l as et } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-Blst4gx2.mjs";
|
|
2
|
+
import { aE as ga, b$ as va, c0 as ba, aA as ha, aB as ya, aD as Ca, aF as Aa, aC as Pa, aR as wa, aJ as _a, bd as xa, aG as ka, aH as Ta, ay as Sa, az as Fa, c1 as Ba, c2 as Ea, c3 as Oa, c4 as Da, c5 as Ia, ai as Na, ah as Va, c6 as ja, c7 as La, c8 as Ra } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-Blst4gx2.mjs";
|
|
3
|
+
import { defineComponent as oe, useModel as tt, inject as Se, computed as P, watch as Q, openBlock as F, createElementBlock as L, createElementVNode as T, toDisplayString as w, unref as h, createVNode as C, withCtx as S, createTextVNode as z, Fragment as se, renderList as Fe, createBlock as W, normalizeClass as Be, mergeModels as le, createCommentVNode as Ee, withModifiers as J, ref as $, onMounted as Oe, toRaw as ie, provide as at, resolveComponent as ce, renderSlot as V, mergeProps as ot, withDirectives as st, vShow as nt } from "vue";
|
|
4
4
|
import { useI18n as ne } from "vue-i18n";
|
|
5
|
-
import { VBtn as
|
|
6
|
-
import { VList as
|
|
7
|
-
import { VMenu as
|
|
8
|
-
import { useThrottleFn as Y, useDebounceFn as
|
|
9
|
-
import { VBtnToggle as
|
|
5
|
+
import { VBtn as U } from "vuetify/components/VBtn";
|
|
6
|
+
import { VList as rt, VListItem as lt, VListItemTitle as it } from "vuetify/components/VList";
|
|
7
|
+
import { VMenu as ct } from "vuetify/components/VMenu";
|
|
8
|
+
import { useThrottleFn as Y, useDebounceFn as ut } from "@vueuse/core";
|
|
9
|
+
import { VBtnToggle as dt } from "vuetify/components/VBtnToggle";
|
|
10
10
|
import De from "axios";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
|
|
11
|
+
import { useDisplay as mt } from "vuetify";
|
|
12
|
+
import { VCard as pt } from "vuetify/components/VCard";
|
|
13
|
+
import { VDialog as ft } from "vuetify/components/VDialog";
|
|
14
|
+
import { VSpacer as gt } from "vuetify/components/VGrid";
|
|
15
|
+
import { VIcon as vt } from "vuetify/components/VIcon";
|
|
16
|
+
import { VToolbar as bt } from "vuetify/components/VToolbar";
|
|
17
|
+
import { VTooltip as ht } from "vuetify/components/VTooltip";
|
|
18
|
+
import { Intersect as yt } from "vuetify/directives";
|
|
19
|
+
const Ct = { class: "d-flex align-center justify-center" }, At = { class: "text-body-small mr-1" }, la = /* @__PURE__ */ oe({
|
|
19
20
|
__name: "ADatatableOrdering",
|
|
20
21
|
props: /* @__PURE__ */ le({
|
|
21
22
|
variant: { default: "id" },
|
|
@@ -30,51 +31,51 @@ const bt = { class: "d-flex align-center justify-center" }, ht = { class: "text-
|
|
|
30
31
|
}),
|
|
31
32
|
emits: /* @__PURE__ */ le(["sortByChange"], ["update:modelValue"]),
|
|
32
33
|
setup(n, { emit: m }) {
|
|
33
|
-
const u = n, e = m, l =
|
|
34
|
+
const u = n, e = m, l = tt(n, "modelValue"), i = Se(ue);
|
|
34
35
|
if (B(i))
|
|
35
36
|
throw new Error("Incorrect provide/inject config.");
|
|
36
37
|
const { t: s } = ne(), r = [
|
|
37
38
|
{
|
|
38
39
|
id: 1,
|
|
39
40
|
titleT: "common.system.datatable.ordering.mostRecent",
|
|
40
|
-
sortBy: { key: "createdAt", order:
|
|
41
|
+
sortBy: { key: "createdAt", order: j.Desc }
|
|
41
42
|
},
|
|
42
43
|
{
|
|
43
44
|
id: 2,
|
|
44
45
|
titleT: "common.system.datatable.ordering.oldest",
|
|
45
|
-
sortBy: { key: "createdAt", order:
|
|
46
|
+
sortBy: { key: "createdAt", order: j.Asc }
|
|
46
47
|
}
|
|
47
|
-
],
|
|
48
|
+
], g = [
|
|
48
49
|
{
|
|
49
50
|
id: 1,
|
|
50
51
|
titleT: "common.system.datatable.ordering.mostRecent",
|
|
51
|
-
sortBy: { key: "id", order:
|
|
52
|
+
sortBy: { key: "id", order: j.Desc }
|
|
52
53
|
},
|
|
53
54
|
{
|
|
54
55
|
id: 2,
|
|
55
56
|
titleT: "common.system.datatable.ordering.oldest",
|
|
56
|
-
sortBy: { key: "id", order:
|
|
57
|
+
sortBy: { key: "id", order: j.Asc }
|
|
57
58
|
}
|
|
58
|
-
],
|
|
59
|
+
], p = [
|
|
59
60
|
{
|
|
60
61
|
id: 3,
|
|
61
62
|
titleT: "common.system.datatable.ordering.mostRelevant",
|
|
62
|
-
sortBy: { key: Ne, order:
|
|
63
|
+
sortBy: { key: Ne, order: j.Desc }
|
|
63
64
|
},
|
|
64
65
|
{
|
|
65
66
|
id: 1,
|
|
66
67
|
titleT: "common.system.datatable.ordering.mostRecent",
|
|
67
|
-
sortBy: { key: "createdAt", order:
|
|
68
|
+
sortBy: { key: "createdAt", order: j.Desc }
|
|
68
69
|
},
|
|
69
70
|
{
|
|
70
71
|
id: 2,
|
|
71
72
|
titleT: "common.system.datatable.ordering.oldest",
|
|
72
|
-
sortBy: { key: "createdAt", order:
|
|
73
|
+
sortBy: { key: "createdAt", order: j.Asc }
|
|
73
74
|
}
|
|
74
|
-
],
|
|
75
|
-
const t =
|
|
75
|
+
], _ = P(() => {
|
|
76
|
+
const t = d.value.find((b) => b.id === l.value);
|
|
76
77
|
return t ? s(t.titleT) : "";
|
|
77
|
-
}),
|
|
78
|
+
}), d = P(() => u.customOptions ? u.customOptions : u.variant === "most-relevant" ? p : u.variant === "id" ? g : r), y = (t) => {
|
|
78
79
|
l.value = t.id;
|
|
79
80
|
}, c = (t) => {
|
|
80
81
|
t.sortBy || (i.value = {
|
|
@@ -82,9 +83,9 @@ const bt = { class: "d-flex align-center justify-center" }, ht = { class: "text-
|
|
|
82
83
|
sortBy: null
|
|
83
84
|
}, e("sortByChange", t)), i.value.sortBy = t.sortBy, e("sortByChange", t);
|
|
84
85
|
};
|
|
85
|
-
return Q(l, (t,
|
|
86
|
-
if (t ===
|
|
87
|
-
const a =
|
|
86
|
+
return Q(l, (t, b) => {
|
|
87
|
+
if (t === b) return;
|
|
88
|
+
const a = d.value.find((v) => v.id === t);
|
|
88
89
|
if (!B(a)) {
|
|
89
90
|
if (B(u.paginationUpdateCustomCb)) {
|
|
90
91
|
c(a);
|
|
@@ -94,45 +95,45 @@ const bt = { class: "d-flex align-center justify-center" }, ht = { class: "text-
|
|
|
94
95
|
}
|
|
95
96
|
}), Q(
|
|
96
97
|
i,
|
|
97
|
-
(t,
|
|
98
|
-
if (t.sortBy?.key ===
|
|
98
|
+
(t, b) => {
|
|
99
|
+
if (t.sortBy?.key === b?.sortBy?.key && t.sortBy?.order === b?.sortBy?.order)
|
|
99
100
|
return;
|
|
100
|
-
const a =
|
|
101
|
+
const a = d.value.find((v) => t.sortBy?.key === v.sortBy?.key && t.sortBy?.order === v.sortBy?.order);
|
|
101
102
|
B(a) || (l.value = a.id);
|
|
102
103
|
},
|
|
103
104
|
{ immediate: !0 }
|
|
104
|
-
), (t,
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
), (t, b) => (F(), L("div", Ct, [
|
|
106
|
+
T("div", At, w(h(s)("common.system.datatable.ordering.title")) + ": ", 1),
|
|
107
|
+
C(U, {
|
|
107
108
|
variant: "text",
|
|
108
109
|
rounded: "xl",
|
|
109
110
|
size: "small",
|
|
110
111
|
class: "text-medium-emphasis",
|
|
111
112
|
"append-icon": "mdi-chevron-down"
|
|
112
113
|
}, {
|
|
113
|
-
default:
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
default: S(() => [
|
|
115
|
+
z(w(_.value) + " ", 1),
|
|
116
|
+
C(ct, {
|
|
116
117
|
activator: "parent",
|
|
117
118
|
location: "bottom",
|
|
118
119
|
"close-on-content-click": ""
|
|
119
120
|
}, {
|
|
120
|
-
default:
|
|
121
|
-
|
|
121
|
+
default: S(() => [
|
|
122
|
+
C(rt, {
|
|
122
123
|
density: "compact",
|
|
123
124
|
class: "pa-0"
|
|
124
125
|
}, {
|
|
125
|
-
default:
|
|
126
|
-
(
|
|
126
|
+
default: S(() => [
|
|
127
|
+
(F(!0), L(se, null, Fe(d.value, (a) => (F(), W(lt, {
|
|
127
128
|
key: a.id,
|
|
128
|
-
onClick: (v) =>
|
|
129
|
+
onClick: (v) => y(a)
|
|
129
130
|
}, {
|
|
130
|
-
default:
|
|
131
|
-
|
|
131
|
+
default: S(() => [
|
|
132
|
+
C(it, {
|
|
132
133
|
class: Be({ "font-weight-bold": a.id === l.value })
|
|
133
134
|
}, {
|
|
134
|
-
default:
|
|
135
|
-
|
|
135
|
+
default: S(() => [
|
|
136
|
+
z(w(h(s)(a.titleT)), 1)
|
|
136
137
|
]),
|
|
137
138
|
_: 2
|
|
138
139
|
}, 1032, ["class"])
|
|
@@ -150,10 +151,10 @@ const bt = { class: "d-flex align-center justify-center" }, ht = { class: "text-
|
|
|
150
151
|
})
|
|
151
152
|
]));
|
|
152
153
|
}
|
|
153
|
-
}),
|
|
154
|
+
}), Pt = { class: "anzu-data-footer" }, wt = {
|
|
154
155
|
key: 0,
|
|
155
156
|
class: "anzu-data-footer__page-limit"
|
|
156
|
-
},
|
|
157
|
+
}, _t = { class: "anzu-data-footer__pagination" }, xt = { class: "anzu-data-footer__icons-before" }, kt = { class: "current-page" }, Tt = { class: "anzu-data-footer__icons-after" }, St = /* @__PURE__ */ oe({
|
|
157
158
|
__name: "ADatatablePagination",
|
|
158
159
|
props: {
|
|
159
160
|
itemsPerPageOptions: { default: () => [10, 25, 50] },
|
|
@@ -161,52 +162,52 @@ const bt = { class: "d-flex align-center justify-center" }, ht = { class: "text-
|
|
|
161
162
|
},
|
|
162
163
|
emits: ["change"],
|
|
163
164
|
setup(n, { emit: m }) {
|
|
164
|
-
const u = m, e =
|
|
165
|
+
const u = m, e = Se(ue);
|
|
165
166
|
if (B(e))
|
|
166
167
|
throw new Error("Incorrect provide/inject config.");
|
|
167
|
-
const { t: l } = ne(), { setStoredPage: i } = Ve(), s =
|
|
168
|
+
const { t: l } = ne(), { setStoredPage: i } = Ve(), s = P(() => Math.ceil(e.value.totalCount / e.value.rowsPerPage)), r = P(() => e.value.page * e.value.rowsPerPage - e.value.rowsPerPage + 1), g = P(() => e.value.page * e.value.rowsPerPage - e.value.rowsPerPage + e.value.currentViewCount), p = P(() => e.value.page === 1), _ = P(() => !H(e.value.hasNextPage) || e.value.page === s.value), d = P(() => H(e.value.hasNextPage) && e.value.page === s.value || e.value.hasNextPage === !1), y = P(() => H(e.value.hasNextPage) ? e.value.totalCount : e.value.hasNextPage ? g.value + 1 + "+" : g.value);
|
|
168
169
|
Q(
|
|
169
170
|
() => e.value.rowsPerPage,
|
|
170
|
-
(v,
|
|
171
|
-
v !==
|
|
171
|
+
(v, x) => {
|
|
172
|
+
v !== x && (e.value.page = 1, u("change"));
|
|
172
173
|
}
|
|
173
174
|
), Q(
|
|
174
175
|
() => e.value.page,
|
|
175
|
-
(v,
|
|
176
|
-
v !==
|
|
176
|
+
(v, x) => {
|
|
177
|
+
v !== x && (i(v), u("change"));
|
|
177
178
|
}
|
|
178
179
|
);
|
|
179
180
|
const c = Y(() => {
|
|
180
181
|
e.value.page = 1;
|
|
181
182
|
}, 300), t = Y(() => {
|
|
182
183
|
e.value.page = s.value;
|
|
183
|
-
}, 300),
|
|
184
|
+
}, 300), b = Y(() => {
|
|
184
185
|
e.value.page = e.value.page - 1;
|
|
185
186
|
}, 300), a = Y(() => {
|
|
186
187
|
e.value.page = e.value.page + 1;
|
|
187
188
|
}, 300);
|
|
188
|
-
return (v,
|
|
189
|
-
n.hideRecordsPerPage ? Ee("", !0) : (
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
modelValue:
|
|
193
|
-
"onUpdate:modelValue":
|
|
189
|
+
return (v, x) => (F(), L("div", Pt, [
|
|
190
|
+
n.hideRecordsPerPage ? Ee("", !0) : (F(), L("div", wt, [
|
|
191
|
+
z(w(h(l)("common.system.datatable.itemsPerPage")) + ": ", 1),
|
|
192
|
+
C(dt, {
|
|
193
|
+
modelValue: h(e).rowsPerPage,
|
|
194
|
+
"onUpdate:modelValue": x[0] || (x[0] = (o) => h(e).rowsPerPage = o),
|
|
194
195
|
class: "ml-2",
|
|
195
196
|
density: "compact",
|
|
196
197
|
mandatory: "",
|
|
197
198
|
"data-cy": "table-size"
|
|
198
199
|
}, {
|
|
199
|
-
default:
|
|
200
|
-
(
|
|
200
|
+
default: S(() => [
|
|
201
|
+
(F(!0), L(se, null, Fe(n.itemsPerPageOptions, (o) => (F(), W(U, {
|
|
201
202
|
key: o,
|
|
202
|
-
color: o ===
|
|
203
|
+
color: o === h(e).rowsPerPage ? "secondary" : "",
|
|
203
204
|
value: o,
|
|
204
205
|
density: "compact",
|
|
205
206
|
size: "small",
|
|
206
207
|
variant: "text"
|
|
207
208
|
}, {
|
|
208
|
-
default:
|
|
209
|
-
|
|
209
|
+
default: S(() => [
|
|
210
|
+
z(w(o), 1)
|
|
210
211
|
]),
|
|
211
212
|
_: 2
|
|
212
213
|
}, 1032, ["color", "value"]))), 128))
|
|
@@ -214,48 +215,48 @@ const bt = { class: "d-flex align-center justify-center" }, ht = { class: "text-
|
|
|
214
215
|
_: 1
|
|
215
216
|
}, 8, ["modelValue"])
|
|
216
217
|
])),
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
disabled:
|
|
218
|
+
T("div", _t, w(r.value) + " - " + w(g.value) + " " + w(h(l)("common.system.datatable.from")) + " " + w(y.value), 1),
|
|
219
|
+
T("div", xt, [
|
|
220
|
+
C(U, {
|
|
221
|
+
disabled: p.value,
|
|
221
222
|
icon: "mdi-page-first",
|
|
222
223
|
size: "small",
|
|
223
224
|
variant: "text",
|
|
224
|
-
onClick:
|
|
225
|
+
onClick: J(h(c), ["stop"])
|
|
225
226
|
}, null, 8, ["disabled", "onClick"]),
|
|
226
|
-
|
|
227
|
-
disabled:
|
|
227
|
+
C(U, {
|
|
228
|
+
disabled: p.value,
|
|
228
229
|
icon: "mdi-chevron-left",
|
|
229
230
|
size: "small",
|
|
230
231
|
variant: "text",
|
|
231
|
-
onClick:
|
|
232
|
+
onClick: J(h(b), ["stop"])
|
|
232
233
|
}, null, 8, ["disabled", "onClick"])
|
|
233
234
|
]),
|
|
234
|
-
|
|
235
|
-
|
|
235
|
+
T("div", kt, [
|
|
236
|
+
T("span", null, w(h(e).page), 1)
|
|
236
237
|
]),
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
disabled:
|
|
238
|
+
T("div", Tt, [
|
|
239
|
+
C(U, {
|
|
240
|
+
disabled: d.value,
|
|
240
241
|
icon: "mdi-chevron-right",
|
|
241
242
|
size: "small",
|
|
242
243
|
variant: "text",
|
|
243
|
-
onClick:
|
|
244
|
+
onClick: J(h(a), ["stop"])
|
|
244
245
|
}, null, 8, ["disabled", "onClick"]),
|
|
245
|
-
|
|
246
|
-
disabled:
|
|
246
|
+
C(U, {
|
|
247
|
+
disabled: _.value,
|
|
247
248
|
icon: "mdi-page-last",
|
|
248
249
|
size: "small",
|
|
249
250
|
variant: "text",
|
|
250
|
-
onClick:
|
|
251
|
+
onClick: J(h(t), ["stop"])
|
|
251
252
|
}, null, 8, ["disabled", "onClick"])
|
|
252
253
|
])
|
|
253
254
|
]));
|
|
254
255
|
}
|
|
255
|
-
}),
|
|
256
|
-
const { querySetLimit: e, querySetOffset: l, querySetOrder: i, queryBuild: s, queryAddFilter: r, queryAdd:
|
|
257
|
-
return e(
|
|
258
|
-
},
|
|
256
|
+
}), Ft = (n, m, u = "id") => {
|
|
257
|
+
const { querySetLimit: e, querySetOffset: l, querySetOrder: i, queryBuild: s, queryAddFilter: r, queryAdd: g } = je(), p = n.length;
|
|
258
|
+
return e(p), l(1, p), i(u, !1), m ? g(u, n.join(",")) : r("in", u, n.join(",")), s();
|
|
259
|
+
}, ia = (n) => {
|
|
259
260
|
const {
|
|
260
261
|
client: m,
|
|
261
262
|
system: u,
|
|
@@ -264,19 +265,19 @@ const bt = { class: "d-flex align-center justify-center" }, ht = { class: "text-
|
|
|
264
265
|
urlParams: i,
|
|
265
266
|
options: s = {},
|
|
266
267
|
isSearchApi: r = !1,
|
|
267
|
-
field:
|
|
268
|
+
field: g = "id"
|
|
268
269
|
} = n;
|
|
269
|
-
let
|
|
270
|
+
let p = null;
|
|
270
271
|
return {
|
|
271
|
-
executeFetch: async (
|
|
272
|
-
|
|
273
|
-
const { urlTemplate: t, urlParams:
|
|
272
|
+
executeFetch: async (y, c = {}) => {
|
|
273
|
+
p = new AbortController();
|
|
274
|
+
const { urlTemplate: t, urlParams: b } = c;
|
|
274
275
|
try {
|
|
275
|
-
const a = Z(
|
|
276
|
+
const a = Z(b) ? b : i, v = Z(t) ? t : l;
|
|
276
277
|
if (B(v)) throw new Error("Url template is undefined");
|
|
277
|
-
const
|
|
278
|
+
const x = (B(a) ? v : de(v, a)) + Ft(y, r, g), o = await m().get(x, {
|
|
278
279
|
...s,
|
|
279
|
-
signal:
|
|
280
|
+
signal: p.signal
|
|
280
281
|
});
|
|
281
282
|
if (!me(o.status))
|
|
282
283
|
throw new pe(o.status);
|
|
@@ -290,75 +291,75 @@ const bt = { class: "d-flex align-center justify-center" }, ht = { class: "text-
|
|
|
290
291
|
return [];
|
|
291
292
|
throw ge(a) ? a : ve(a) ? new be(a, a.config?.url) : he(a) ? new ye(a, u, e, a) : Ce(a) ? new Ae(a, u, e, a) : Pe(a) ? new we(a, a) : _e(a) ? new xe(a) : De.isAxiosError(a) ? (console.error("Axios error: " + l, a.cause), new ke(a)) : (console.error("AnzuFatalError: ", a), new ee(a));
|
|
292
293
|
} finally {
|
|
293
|
-
|
|
294
|
+
p = null;
|
|
294
295
|
}
|
|
295
296
|
},
|
|
296
297
|
abortFetch: () => {
|
|
297
|
-
|
|
298
|
+
p && p.abort();
|
|
298
299
|
}
|
|
299
300
|
};
|
|
300
|
-
},
|
|
301
|
+
}, ca = (n) => {
|
|
301
302
|
const { client: m, system: u, entity: e, urlTemplate: l, urlParams: i, options: s = {} } = n;
|
|
302
303
|
let r = null;
|
|
303
304
|
return {
|
|
304
|
-
executeFetch: async (
|
|
305
|
+
executeFetch: async (_, d, y = {}) => {
|
|
305
306
|
r = new AbortController();
|
|
306
307
|
const {
|
|
307
308
|
urlTemplate: c,
|
|
308
309
|
urlParams: t,
|
|
309
|
-
sortBy:
|
|
310
|
+
sortBy: b = "id",
|
|
310
311
|
sortDesc: a = !0,
|
|
311
312
|
batchSize: v = 100,
|
|
312
|
-
forceElastic:
|
|
313
|
-
} =
|
|
313
|
+
forceElastic: x = !1
|
|
314
|
+
} = y;
|
|
314
315
|
try {
|
|
315
|
-
const o =
|
|
316
|
-
if (B(
|
|
317
|
-
const { pagination:
|
|
316
|
+
const o = d.general.elastic || x ? "/search" : "", M = Z(t) ? t : i, R = Z(c) ? c : l;
|
|
317
|
+
if (B(R)) throw new Error("Url template is undefined");
|
|
318
|
+
const { pagination: A } = Te(b, a ? j.Desc : j.Asc, {
|
|
318
319
|
rowsPerPage: v
|
|
319
|
-
}),
|
|
320
|
-
|
|
320
|
+
}), f = (B(M) ? R : de(R, M)) + o, E = [], D = await m().get(
|
|
321
|
+
f + ae(A, _, d),
|
|
321
322
|
{
|
|
322
323
|
...s,
|
|
323
324
|
signal: r.signal
|
|
324
325
|
}
|
|
325
326
|
);
|
|
326
|
-
if (!me(
|
|
327
|
-
throw new pe(
|
|
328
|
-
if (
|
|
329
|
-
const
|
|
330
|
-
if (
|
|
331
|
-
for (
|
|
332
|
-
|
|
327
|
+
if (!me(D.status))
|
|
328
|
+
throw new pe(D.status);
|
|
329
|
+
if (D.data) {
|
|
330
|
+
const I = D.data;
|
|
331
|
+
if (E.push(...I.data), Le(I))
|
|
332
|
+
for (A.value.hasNextPage = I.hasNextPage; A.value.hasNextPage; ) {
|
|
333
|
+
A.value.page++;
|
|
333
334
|
const O = (await m().get(
|
|
334
|
-
|
|
335
|
+
f + ae(A, _, d),
|
|
335
336
|
{
|
|
336
337
|
...s,
|
|
337
338
|
signal: r.signal
|
|
338
339
|
}
|
|
339
340
|
)).data;
|
|
340
|
-
|
|
341
|
+
E.push(...O.data), A.value.hasNextPage = O.hasNextPage;
|
|
341
342
|
}
|
|
342
|
-
else if (
|
|
343
|
-
if (
|
|
344
|
-
return
|
|
345
|
-
const
|
|
346
|
-
for (let
|
|
347
|
-
const
|
|
348
|
-
|
|
349
|
-
m().get(
|
|
343
|
+
else if (Re(I)) {
|
|
344
|
+
if (A.value.totalCount = I.totalCount, A.value.totalCount <= A.value.rowsPerPage)
|
|
345
|
+
return E;
|
|
346
|
+
const N = [], O = Math.ceil(A.value.totalCount / A.value.rowsPerPage);
|
|
347
|
+
for (let k = 1; k < O; k++) {
|
|
348
|
+
const q = { ...A.value, page: k + 1 }, K = $(q);
|
|
349
|
+
N.push(
|
|
350
|
+
m().get(f + ae(K, _, d), {
|
|
350
351
|
...s,
|
|
351
352
|
signal: r.signal
|
|
352
353
|
})
|
|
353
354
|
);
|
|
354
355
|
}
|
|
355
|
-
(await Promise.all(
|
|
356
|
-
|
|
356
|
+
(await Promise.all(N)).forEach((k) => {
|
|
357
|
+
E.push(...k.data.data);
|
|
357
358
|
});
|
|
358
359
|
}
|
|
359
|
-
return
|
|
360
|
+
return E;
|
|
360
361
|
}
|
|
361
|
-
if (
|
|
362
|
+
if (D.status === fe)
|
|
362
363
|
return [];
|
|
363
364
|
throw new ee();
|
|
364
365
|
} catch (o) {
|
|
@@ -374,7 +375,7 @@ const bt = { class: "d-flex align-center justify-center" }, ht = { class: "text-
|
|
|
374
375
|
}
|
|
375
376
|
};
|
|
376
377
|
}, G = "/adm/v1/job", X = "job";
|
|
377
|
-
function
|
|
378
|
+
function ua(n, m) {
|
|
378
379
|
return {
|
|
379
380
|
useFetchJobList: () => qe({ client: n, system: m, entity: X, urlTemplate: G }),
|
|
380
381
|
fetchJob: (s) => Me(n, G + "/:id", { id: s }, m, X),
|
|
@@ -385,126 +386,126 @@ function ra(n, m) {
|
|
|
385
386
|
deleteJob: (s) => ze(n, G + "/:id", { id: s }, m, X)
|
|
386
387
|
};
|
|
387
388
|
}
|
|
388
|
-
const
|
|
389
|
+
const Bt = {
|
|
389
390
|
key: "",
|
|
390
391
|
title: void 0,
|
|
391
392
|
sortable: !1,
|
|
392
393
|
fixed: !1
|
|
393
|
-
},
|
|
394
|
+
}, Et = {
|
|
394
395
|
storeColumnsLocalStorage: !0,
|
|
395
396
|
disableActions: !1,
|
|
396
397
|
customI18n: void 0,
|
|
397
398
|
showExpand: !1
|
|
398
399
|
};
|
|
399
|
-
function
|
|
400
|
-
const i = { ...
|
|
401
|
-
let
|
|
402
|
-
Qe(i.storeColumnsLocalStorage) ?
|
|
403
|
-
const
|
|
404
|
-
const t = { ...
|
|
400
|
+
function Ot(n, m, u, e, l = {}) {
|
|
401
|
+
const i = { ...Et, ...l }, s = i.customI18n ?? Je, { t: r } = s.global || s;
|
|
402
|
+
let g;
|
|
403
|
+
Qe(i.storeColumnsLocalStorage) ? g = i.storeColumnsLocalStorage : Ye(i.storeColumnsLocalStorage) && i.storeColumnsLocalStorage === !0 && (g = "table_" + u + "_" + e);
|
|
404
|
+
const p = n.map((c) => {
|
|
405
|
+
const t = { ...Bt, ...c };
|
|
405
406
|
return B(t.title) && (B(t.title) && Ke.includes(t.key) ? t.title = r("common.model.tracking." + t.key) : B(t.title) && u && e ? t.title = r(u + "." + e + ".model." + t.key) : t.title = ""), t;
|
|
406
|
-
}),
|
|
407
|
+
}), _ = P(() => {
|
|
407
408
|
const c = [];
|
|
408
|
-
return i.showExpand && c.push({ key: "data-table-expand", sortable: !1 }),
|
|
409
|
+
return i.showExpand && c.push({ key: "data-table-expand", sortable: !1 }), p.forEach((t) => {
|
|
409
410
|
m.value.includes(t.key) || c.push(t);
|
|
410
411
|
}), i.disableActions || c.push({ key: "actions", sortable: !1, fixed: "end" }), c;
|
|
411
|
-
}),
|
|
412
|
-
if (!
|
|
413
|
-
const c = localStorage.getItem(
|
|
412
|
+
}), d = () => {
|
|
413
|
+
if (!g || !localStorage) return;
|
|
414
|
+
const c = localStorage.getItem(g);
|
|
414
415
|
if (!c) return;
|
|
415
416
|
const t = JSON.parse(c);
|
|
416
417
|
He(t) && We(t.hidden) && (m.value = t.hidden);
|
|
417
|
-
},
|
|
418
|
-
!
|
|
418
|
+
}, y = (c) => {
|
|
419
|
+
!g || !localStorage || localStorage.setItem(g, JSON.stringify({ hidden: c }));
|
|
419
420
|
};
|
|
420
421
|
return Oe(() => {
|
|
421
|
-
|
|
422
|
+
d();
|
|
422
423
|
}), Q(m, (c) => {
|
|
423
|
-
|
|
424
|
+
y(c);
|
|
424
425
|
}), {
|
|
425
|
-
columnsAll:
|
|
426
|
-
columnsVisible:
|
|
426
|
+
columnsAll: p,
|
|
427
|
+
columnsVisible: _,
|
|
427
428
|
columnsHidden: m
|
|
428
429
|
};
|
|
429
430
|
}
|
|
430
|
-
function
|
|
431
|
-
const
|
|
431
|
+
function da(n, m, u, e, l, i, s, r = null, g = void 0, p = !1) {
|
|
432
|
+
const _ = $(!1), d = $([]), y = $([]), c = $(!1), { pagination: t, setSortBy: b, incrementPage: a } = Te(
|
|
432
433
|
H(r) ? null : r.key,
|
|
433
434
|
r?.order
|
|
434
|
-
), { resetFilter: v, submitFilter:
|
|
435
|
+
), { resetFilter: v, submitFilter: x } = Ge(i, s, {
|
|
435
436
|
storeFiltersLocalStorage: !1,
|
|
436
437
|
populateUrlParams: !1
|
|
437
|
-
}), { showErrorsDefault: o } = Xe(), { columnsVisible:
|
|
438
|
+
}), { showErrorsDefault: o } = Xe(), { columnsVisible: M, columnsAll: R, columnsHidden: A } = Ot(
|
|
438
439
|
n,
|
|
439
440
|
m,
|
|
440
441
|
u,
|
|
441
442
|
e,
|
|
442
|
-
{ storeColumnsLocalStorage: !1, disableActions: !
|
|
443
|
-
),
|
|
444
|
-
|
|
445
|
-
},
|
|
446
|
-
|
|
447
|
-
},
|
|
443
|
+
{ storeColumnsLocalStorage: !1, disableActions: !p }
|
|
444
|
+
), f = () => {
|
|
445
|
+
I(), O();
|
|
446
|
+
}, E = (k) => {
|
|
447
|
+
b(k.sortBy), O();
|
|
448
|
+
}, D = async () => {
|
|
448
449
|
c.value = !0, a();
|
|
449
450
|
try {
|
|
450
|
-
const
|
|
451
|
-
|
|
452
|
-
} catch (
|
|
453
|
-
o(
|
|
451
|
+
const k = await l(t, i, s, g);
|
|
452
|
+
d.value.push(...k);
|
|
453
|
+
} catch (k) {
|
|
454
|
+
o(k);
|
|
454
455
|
} finally {
|
|
455
456
|
c.value = !1;
|
|
456
457
|
}
|
|
457
|
-
},
|
|
458
|
-
|
|
459
|
-
},
|
|
458
|
+
}, I = () => {
|
|
459
|
+
d.value = [], y.value = [];
|
|
460
|
+
}, N = async () => {
|
|
460
461
|
c.value = !0;
|
|
461
462
|
try {
|
|
462
|
-
|
|
463
|
+
d.value = await l(
|
|
463
464
|
t,
|
|
464
465
|
i,
|
|
465
466
|
s,
|
|
466
|
-
|
|
467
|
+
g
|
|
467
468
|
);
|
|
468
|
-
} catch (
|
|
469
|
-
o(
|
|
469
|
+
} catch (k) {
|
|
470
|
+
o(k);
|
|
470
471
|
} finally {
|
|
471
472
|
c.value = !1;
|
|
472
473
|
}
|
|
473
|
-
}, O =
|
|
474
|
-
await
|
|
474
|
+
}, O = ut(async () => {
|
|
475
|
+
await N();
|
|
475
476
|
});
|
|
476
477
|
return {
|
|
477
|
-
items:
|
|
478
|
-
selected:
|
|
478
|
+
items: d,
|
|
479
|
+
selected: y,
|
|
479
480
|
pagination: t,
|
|
480
|
-
columnsVisible:
|
|
481
|
-
columnsHidden:
|
|
482
|
-
columnsAll:
|
|
483
|
-
filterTouched:
|
|
481
|
+
columnsVisible: M,
|
|
482
|
+
columnsHidden: A,
|
|
483
|
+
columnsAll: R,
|
|
484
|
+
filterTouched: _,
|
|
484
485
|
loading: c,
|
|
485
|
-
onRowClick: (
|
|
486
|
-
const
|
|
487
|
-
if (!
|
|
486
|
+
onRowClick: (k) => {
|
|
487
|
+
const q = k.target;
|
|
488
|
+
if (!q || q.tagName === "INPUT" && q.type === "checkbox")
|
|
488
489
|
return;
|
|
489
|
-
const K =
|
|
490
|
+
const K = q.closest(".v-data-table__tr");
|
|
490
491
|
if (!K || !K.classList.contains("v-data-table__tr")) return;
|
|
491
492
|
const te = K.firstElementChild;
|
|
492
493
|
if (!te || !te.classList.contains("v-data-table__td")) return;
|
|
493
494
|
const re = te.querySelector("input");
|
|
494
495
|
re && re.click();
|
|
495
496
|
},
|
|
496
|
-
onFetchNextPage:
|
|
497
|
-
onOpen:
|
|
498
|
-
sortByChange:
|
|
497
|
+
onFetchNextPage: D,
|
|
498
|
+
onOpen: f,
|
|
499
|
+
sortByChange: E,
|
|
499
500
|
getList: O,
|
|
500
501
|
resetFilter: () => v(t, O),
|
|
501
|
-
submitFilter: () =>
|
|
502
|
+
submitFilter: () => x(t, O)
|
|
502
503
|
};
|
|
503
504
|
}
|
|
504
|
-
const
|
|
505
|
+
const Dt = { class: "d-flex flex-column w-100 px-1 align-center" }, It = { class: "d-flex justify-space-between w-100 align-center" }, Nt = { class: "d-flex align-center" }, Vt = { class: "d-flex align-center" }, jt = { class: "subject-select__sidebar system-border-r" }, Lt = { class: "subject-select-filter" }, Rt = { class: "subject-select__content" }, zt = {
|
|
505
506
|
key: 0,
|
|
506
507
|
class: "d-flex w-100 align-center justify-center pa-4"
|
|
507
|
-
},
|
|
508
|
+
}, Ut = { class: "subject-select__actions system-border-t" }, $t = { key: 0 }, Mt = { key: 1 }, ma = /* @__PURE__ */ oe({
|
|
508
509
|
__name: "ASubjectSelect",
|
|
509
510
|
props: {
|
|
510
511
|
selectedItems: {},
|
|
@@ -519,108 +520,113 @@ const Bt = { class: "d-flex flex-column w-100 px-1 align-center" }, Et = { class
|
|
|
519
520
|
},
|
|
520
521
|
emits: ["update:modelValue", "update:pagination", "onOpen", "onPageChange", "onConfirm", "onFetchNextPage"],
|
|
521
522
|
setup(n, { expose: m, emit: u }) {
|
|
522
|
-
const e = n, l = u, i =
|
|
523
|
+
const e = n, l = u, i = $(!1), s = P({
|
|
523
524
|
get() {
|
|
524
525
|
return B(e.modelValue) ? i.value : e.modelValue;
|
|
525
526
|
},
|
|
526
527
|
set(f) {
|
|
527
528
|
i.value = f, l("update:modelValue", f);
|
|
528
529
|
}
|
|
529
|
-
}), r =
|
|
530
|
+
}), r = P({
|
|
530
531
|
get: () => e.pagination,
|
|
531
532
|
set: (f) => {
|
|
532
533
|
l("update:pagination", { ...ie(f) });
|
|
533
534
|
}
|
|
534
|
-
}),
|
|
535
|
-
|
|
536
|
-
}
|
|
535
|
+
}), { mdAndDown: g } = mt(), p = $(!g.value), _ = () => {
|
|
536
|
+
g.value && (p.value = !1);
|
|
537
|
+
};
|
|
538
|
+
at(Ze, _);
|
|
539
|
+
const { t: d } = ne(), y = P(() => e.selectedItems.length), c = P(() => y.value < e.minCount || y.value > e.maxCount), t = () => {
|
|
540
|
+
l("onOpen"), p.value = !g.value, s.value = !0;
|
|
541
|
+
}, b = () => {
|
|
537
542
|
p.value = !p.value;
|
|
538
|
-
},
|
|
543
|
+
}, a = () => {
|
|
539
544
|
s.value = !1;
|
|
540
|
-
},
|
|
545
|
+
}, v = () => {
|
|
541
546
|
l(
|
|
542
547
|
"onConfirm",
|
|
543
548
|
e.selectedItems.map((f) => ie(f))
|
|
544
|
-
),
|
|
545
|
-
},
|
|
549
|
+
), a();
|
|
550
|
+
}, x = () => {
|
|
546
551
|
l("onFetchNextPage");
|
|
547
|
-
},
|
|
552
|
+
}, o = () => {
|
|
548
553
|
l("onPageChange");
|
|
549
|
-
},
|
|
550
|
-
f &&
|
|
554
|
+
}, M = P(() => Math.ceil(r.value.totalCount / r.value.rowsPerPage)), R = P(() => !(H(r.value.hasNextPage) && r.value.page === M.value || r.value.hasNextPage === !1)), A = (f) => {
|
|
555
|
+
f && R.value && !e.loading && x();
|
|
551
556
|
};
|
|
552
557
|
return Oe(() => {
|
|
553
|
-
e.autoOpen &&
|
|
558
|
+
e.autoOpen && t();
|
|
554
559
|
}), m({
|
|
555
|
-
open:
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
560
|
+
open: t,
|
|
561
|
+
closeSidebarOnMobile: _
|
|
562
|
+
}), (f, E) => {
|
|
563
|
+
const D = ce("ABtnSecondary"), I = ce("ABtnPrimary");
|
|
564
|
+
return F(), L(se, null, [
|
|
565
|
+
V(f.$slots, "activator", {
|
|
566
|
+
props: { onClick: J(() => t(), ["stop"]) }
|
|
561
567
|
}),
|
|
562
|
-
|
|
568
|
+
C(ft, ot(f.$attrs, {
|
|
563
569
|
"model-value": s.value,
|
|
564
570
|
fullscreen: "",
|
|
565
571
|
class: "subject-select",
|
|
566
|
-
"onUpdate:modelValue":
|
|
572
|
+
"onUpdate:modelValue": E[1] || (E[1] = (N) => l("update:modelValue", N))
|
|
567
573
|
}), {
|
|
568
|
-
default:
|
|
569
|
-
s.value ? (
|
|
574
|
+
default: S(() => [
|
|
575
|
+
s.value ? (F(), W(pt, {
|
|
570
576
|
key: 0,
|
|
571
577
|
class: "subject-select__card"
|
|
572
578
|
}, {
|
|
573
|
-
default:
|
|
574
|
-
|
|
579
|
+
default: S(() => [
|
|
580
|
+
C(et, {
|
|
575
581
|
class: "subject-select__toolbar system-border-b",
|
|
576
|
-
onOnCancel:
|
|
582
|
+
onOnCancel: a
|
|
577
583
|
}, {
|
|
578
|
-
default:
|
|
579
|
-
|
|
580
|
-
|
|
584
|
+
default: S(() => [
|
|
585
|
+
V(f.$slots, "title", {}, () => [
|
|
586
|
+
z(w(h(d)(n.dialogTitleT)), 1)
|
|
581
587
|
])
|
|
582
588
|
]),
|
|
583
589
|
_: 3
|
|
584
590
|
}),
|
|
585
|
-
|
|
591
|
+
C(bt, {
|
|
586
592
|
density: "compact",
|
|
587
593
|
color: "transparent",
|
|
588
594
|
height: 46,
|
|
589
595
|
elevation: "0",
|
|
590
596
|
class: "system-border-b subject-select__second-bar"
|
|
591
597
|
}, {
|
|
592
|
-
default:
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
+
default: S(() => [
|
|
599
|
+
V(f.$slots, "second-bar", {}, () => [
|
|
600
|
+
T("div", Dt, [
|
|
601
|
+
T("div", It, [
|
|
602
|
+
T("div", Nt, [
|
|
603
|
+
C(U, {
|
|
598
604
|
icon: "",
|
|
599
605
|
width: 30,
|
|
600
606
|
height: 30,
|
|
601
|
-
onClick:
|
|
607
|
+
onClick: b
|
|
602
608
|
}, {
|
|
603
|
-
default:
|
|
604
|
-
|
|
609
|
+
default: S(() => [
|
|
610
|
+
C(vt, {
|
|
605
611
|
icon: "mdi-tune",
|
|
606
612
|
size: 16
|
|
607
613
|
}),
|
|
608
|
-
|
|
614
|
+
C(ht, {
|
|
609
615
|
activator: "parent",
|
|
610
616
|
location: "bottom"
|
|
611
617
|
}, {
|
|
612
|
-
default:
|
|
613
|
-
|
|
618
|
+
default: S(() => [
|
|
619
|
+
z(w(h(d)("common.subjectSelect.filter.toggle")), 1)
|
|
614
620
|
]),
|
|
615
621
|
_: 1
|
|
616
622
|
})
|
|
617
623
|
]),
|
|
618
624
|
_: 1
|
|
619
625
|
}),
|
|
620
|
-
|
|
626
|
+
V(f.$slots, "second-bar-left")
|
|
621
627
|
]),
|
|
622
|
-
|
|
623
|
-
|
|
628
|
+
T("div", Vt, [
|
|
629
|
+
V(f.$slots, "second-bar-right")
|
|
624
630
|
])
|
|
625
631
|
])
|
|
626
632
|
])
|
|
@@ -628,62 +634,62 @@ const Bt = { class: "d-flex flex-column w-100 px-1 align-center" }, Et = { class
|
|
|
628
634
|
]),
|
|
629
635
|
_: 3
|
|
630
636
|
}),
|
|
631
|
-
|
|
637
|
+
T("div", {
|
|
632
638
|
class: Be(["subject-select__main", { "subject-select__main--sidebar-active": p.value }])
|
|
633
639
|
}, [
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
640
|
+
T("div", jt, [
|
|
641
|
+
T("div", Lt, [
|
|
642
|
+
V(f.$slots, "filter")
|
|
637
643
|
])
|
|
638
644
|
]),
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
n.paginationMode === "more" ? (
|
|
642
|
-
|
|
645
|
+
T("div", Rt, [
|
|
646
|
+
V(f.$slots, "content"),
|
|
647
|
+
n.paginationMode === "more" ? (F(), L("div", zt, [
|
|
648
|
+
st((F(), W(D, {
|
|
643
649
|
loading: n.loading,
|
|
644
650
|
size: "small",
|
|
645
|
-
onClick:
|
|
651
|
+
onClick: x
|
|
646
652
|
}, {
|
|
647
|
-
default:
|
|
648
|
-
|
|
649
|
-
|
|
653
|
+
default: S(() => [
|
|
654
|
+
V(f.$slots, "button-confirm-title", {}, () => [
|
|
655
|
+
z(w(h(d)("common.button.loadMore")), 1)
|
|
650
656
|
])
|
|
651
657
|
]),
|
|
652
658
|
_: 3
|
|
653
659
|
}, 8, ["loading"])), [
|
|
654
|
-
[
|
|
660
|
+
[nt, R.value || n.loading],
|
|
655
661
|
[
|
|
656
|
-
|
|
657
|
-
|
|
662
|
+
yt,
|
|
663
|
+
A,
|
|
658
664
|
void 0,
|
|
659
665
|
{ quiet: !0 }
|
|
660
666
|
]
|
|
661
667
|
])
|
|
662
|
-
])) : (
|
|
668
|
+
])) : (F(), W(St, {
|
|
663
669
|
key: 1,
|
|
664
670
|
modelValue: r.value,
|
|
665
|
-
"onUpdate:modelValue":
|
|
666
|
-
onChange:
|
|
671
|
+
"onUpdate:modelValue": E[0] || (E[0] = (N) => r.value = N),
|
|
672
|
+
onChange: o
|
|
667
673
|
}, null, 8, ["modelValue"]))
|
|
668
674
|
])
|
|
669
675
|
], 2),
|
|
670
|
-
|
|
671
|
-
n.minCount === n.maxCount ? (
|
|
676
|
+
T("div", Ut, [
|
|
677
|
+
n.minCount === n.maxCount ? (F(), L("div", $t, w(h(d)("common.subjectSelect.texts.pickExactCount", {
|
|
672
678
|
count: n.minCount,
|
|
673
|
-
selected:
|
|
674
|
-
})), 1)) : (
|
|
679
|
+
selected: y.value
|
|
680
|
+
})), 1)) : (F(), L("div", Mt, w(h(d)("common.subjectSelect.texts.pickRangeCount", {
|
|
675
681
|
minCount: n.minCount,
|
|
676
682
|
maxCount: n.maxCount,
|
|
677
|
-
selected:
|
|
683
|
+
selected: y.value
|
|
678
684
|
})), 1)),
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
disabled:
|
|
682
|
-
onClick:
|
|
685
|
+
C(gt),
|
|
686
|
+
C(I, {
|
|
687
|
+
disabled: c.value,
|
|
688
|
+
onClick: J(v, ["stop"])
|
|
683
689
|
}, {
|
|
684
|
-
default:
|
|
685
|
-
|
|
686
|
-
|
|
690
|
+
default: S(() => [
|
|
691
|
+
V(f.$slots, "button-confirm-title", {}, () => [
|
|
692
|
+
z(w(h(d)("common.button.confirm")), 1)
|
|
687
693
|
])
|
|
688
694
|
]),
|
|
689
695
|
_: 3
|
|
@@ -700,44 +706,44 @@ const Bt = { class: "d-flex flex-column w-100 px-1 align-center" }, Et = { class
|
|
|
700
706
|
}
|
|
701
707
|
});
|
|
702
708
|
export {
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
709
|
+
la as ADatatableOrdering,
|
|
710
|
+
St as ADatatablePagination,
|
|
711
|
+
ga as AFilterBooleanSelect,
|
|
712
|
+
va as AFilterDatetimePicker,
|
|
713
|
+
ba as AFilterInteger,
|
|
714
|
+
ha as AFilterRemoteAutocomplete,
|
|
715
|
+
ya as AFilterRemoteAutocompleteWithMinimal,
|
|
716
|
+
Ca as AFilterString,
|
|
717
|
+
Aa as AFilterTimeInterval,
|
|
718
|
+
Pa as AFilterValueObjectOptionsSelect,
|
|
719
|
+
wa as AFilterWrapper,
|
|
720
|
+
_a as AFilterWrapperSubjectSelect,
|
|
721
|
+
xa as AFormRemoteAutocomplete,
|
|
722
|
+
ma as ASubjectSelect,
|
|
717
723
|
ue as DatatablePaginationKey,
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
724
|
+
ka as FilterConfigKey,
|
|
725
|
+
Ta as FilterDataKey,
|
|
726
|
+
Sa as FilterInnerConfigKey,
|
|
727
|
+
Fa as FilterInnerDataKey,
|
|
728
|
+
Ba as TimeIntervalSpecialOptions,
|
|
729
|
+
Ea as UserAdminConfigLayoutType,
|
|
730
|
+
Oa as UserAdminConfigLayoutTypeDefault,
|
|
731
|
+
Da as UserAdminConfigType,
|
|
732
|
+
Ia as UserAdminConfigTypeDefault,
|
|
733
|
+
Ot as createDatatableColumnsConfig,
|
|
734
|
+
Na as createFilter,
|
|
735
|
+
Va as createFilterStore,
|
|
730
736
|
ae as generateListQuery,
|
|
731
|
-
|
|
737
|
+
ia as useApiFetchByIds,
|
|
732
738
|
qe as useApiFetchList,
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
739
|
+
ca as useApiFetchListBatch,
|
|
740
|
+
je as useApiQueryBuilder,
|
|
741
|
+
ja as useApiRequest,
|
|
736
742
|
Ge as useFilterHelpers,
|
|
737
|
-
|
|
743
|
+
ua as useJobApi,
|
|
738
744
|
Te as usePagination,
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
745
|
+
da as useSubjectSelect,
|
|
746
|
+
La as useUserAdminConfigApi,
|
|
747
|
+
Ra as useUserAdminConfigFactory
|
|
742
748
|
};
|
|
743
749
|
//# sourceMappingURL=labs.js.map
|