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