bt-core-app 2.2.6 → 2.2.7
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/bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs +10 -11
- package/dist/components/BT-Background-Task.vue.mjs +44 -46
- package/dist/components/BT-Blade-Item.vue.mjs +64 -63
- package/dist/components/BT-Blade-Items.vue.mjs +2 -2
- package/dist/components/BT-Blade-Items.vue2.mjs +239 -238
- package/dist/components/BT-Blade-Steps.vue.mjs +2 -2
- package/dist/components/BT-Blade-Steps.vue2.mjs +457 -456
- package/dist/components/BT-Blade.vue.mjs +187 -189
- package/dist/components/BT-Camera-Overlay.vue.mjs +139 -141
- package/dist/components/BT-Cron.vue.mjs +127 -126
- package/dist/components/BT-Dialog-Select.vue.mjs +91 -90
- package/dist/components/BT-Drag-Counter.vue.mjs +2 -2
- package/dist/components/BT-Drag-Counter.vue2.mjs +87 -89
- package/dist/components/BT-Entity.vue.mjs +79 -81
- package/dist/components/BT-Error.vue.mjs +23 -25
- package/dist/components/BT-Form-Builder.vue.mjs +221 -220
- package/dist/components/BT-Form-Field.vue.mjs +67 -66
- package/dist/components/BT-Form.vue.mjs +192 -191
- package/dist/components/BT-Header-Option.vue.mjs +21 -20
- package/dist/components/BT-Numpad.vue.mjs +143 -145
- package/dist/components/BT-Select-List-Box.vue.mjs +270 -272
- package/dist/components/BT-Signature-Overlay.vue.mjs +107 -109
- package/dist/components/BT-Signature.vue.mjs +91 -93
- package/dist/components/BT-Slider.vue.mjs +91 -93
- package/dist/components/BT-Square-Check.vue.mjs +66 -68
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { isLengthyArray as
|
|
3
|
-
import { useAuth as
|
|
4
|
-
import { useList as
|
|
5
|
-
import { useNavigation as
|
|
6
|
-
import { usePresets as
|
|
7
|
-
import { useRoute as
|
|
8
|
-
import { useHeights as
|
|
9
|
-
import { useDisplay as
|
|
10
|
-
import { registerSteps as
|
|
11
|
-
import { useTracker as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
1
|
+
import { defineComponent as et, computed as g, ref as j, provide as tt, watch as Z, onMounted as lt, onUnmounted as at, resolveComponent as Ae, openBlock as o, createBlock as u, unref as e, withCtx as s, renderSlot as h, createCommentVNode as v, createVNode as r, mergeProps as le, createElementBlock as c, Fragment as T, renderList as E, withKeys as Te, withModifiers as P, createTextVNode as me, toDisplayString as ae, createElementVNode as R, normalizeStyle as W, normalizeClass as J, createSlots as Ie, nextTick as nt } from "vue";
|
|
2
|
+
import { isLengthyArray as G, isNullOrEmpty as ne, copyDeep as he, capitalizeWords as Ee } from "../composables/helpers.mjs";
|
|
3
|
+
import { useAuth as ot } from "../composables/auth.mjs";
|
|
4
|
+
import { useList as it } from "../composables/list.mjs";
|
|
5
|
+
import { useNavigation as st } from "../composables/navigation.mjs";
|
|
6
|
+
import { usePresets as rt } from "../composables/presets.mjs";
|
|
7
|
+
import { useRoute as ut, useRouter as Pe } from "vue-router";
|
|
8
|
+
import { useHeights as dt } from "../composables/heights.mjs";
|
|
9
|
+
import { useDisplay as vt } from "vuetify";
|
|
10
|
+
import { registerSteps as ct, unregisterSteps as pt } from "../composables/steps.mjs";
|
|
11
|
+
import { useTracker as yt } from "../composables/track.mjs";
|
|
12
|
+
import { VSlideYTransition as mt, VSlideXTransition as x, VFadeTransition as Ve, VSlideYReverseTransition as fe, VSlideXReverseTransition as ht } from "../bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs";
|
|
13
|
+
import { VWindow as ft } from "../bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindow.mjs";
|
|
14
|
+
import { VWindowItem as De } from "../bt-core/core/node_modules/vuetify/lib/components/VWindow/VWindowItem.mjs";
|
|
14
15
|
import { VBtn as p } from "../bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs";
|
|
15
|
-
import { VMenu as
|
|
16
|
-
import { VList as
|
|
17
|
-
import { VListItem as
|
|
18
|
-
import { VTextField as
|
|
19
|
-
import { VSpacer as
|
|
20
|
-
import { VIcon as
|
|
21
|
-
import { VRow as
|
|
16
|
+
import { VMenu as oe } from "../bt-core/core/node_modules/vuetify/lib/components/VMenu/VMenu.mjs";
|
|
17
|
+
import { VList as _ } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs";
|
|
18
|
+
import { VListItem as K } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VListItem.mjs";
|
|
19
|
+
import { VTextField as Ne } from "../bt-core/core/node_modules/vuetify/lib/components/VTextField/VTextField.mjs";
|
|
20
|
+
import { VSpacer as ie } from "../bt-core/core/node_modules/vuetify/lib/components/VGrid/VSpacer.mjs";
|
|
21
|
+
import { VIcon as Me } from "../bt-core/core/node_modules/vuetify/lib/components/VIcon/VIcon.mjs";
|
|
22
|
+
import { VRow as Fe } from "../bt-core/core/node_modules/vuetify/lib/components/VGrid/VRow.mjs";
|
|
22
23
|
import { VDivider as gt } from "../bt-core/core/node_modules/vuetify/lib/components/VDivider/VDivider.mjs";
|
|
23
24
|
import { VTable as St } from "../bt-core/core/node_modules/vuetify/lib/components/VTable/VTable.mjs";
|
|
24
25
|
import { VCard as kt } from "../bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs";
|
|
@@ -38,13 +39,13 @@ const bt = {
|
|
|
38
39
|
}, Bt = { class: "text-h6 ml-3" }, wt = { key: "0" }, At = {
|
|
39
40
|
class: "d-flex",
|
|
40
41
|
key: "a1"
|
|
41
|
-
},
|
|
42
|
+
}, Tt = {
|
|
42
43
|
key: "itemActions",
|
|
43
44
|
class: "text-right"
|
|
44
|
-
},
|
|
45
|
+
}, It = ["onClick"], Et = { key: "0" }, Pt = {
|
|
45
46
|
class: "d-flex",
|
|
46
47
|
key: "a1"
|
|
47
|
-
}, Vt = { key: 0 },
|
|
48
|
+
}, Vt = { key: 0 }, ol = /* @__PURE__ */ et({
|
|
48
49
|
__name: "BT-Blade-Steps",
|
|
49
50
|
props: {
|
|
50
51
|
actionButtonSize: { default: "x-small" },
|
|
@@ -184,123 +185,123 @@ const bt = {
|
|
|
184
185
|
variant: { default: "page" }
|
|
185
186
|
},
|
|
186
187
|
emits: ["change", "deleted", "fetched", "input", "select", "confirm", "mouse-over-item", "saved"],
|
|
187
|
-
setup(
|
|
188
|
-
const
|
|
188
|
+
setup(He, { emit: Ue }) {
|
|
189
|
+
const ge = Ue, i = He, M = g(() => i.steps ?? []), Se = j(null), ke = j(null), { xs: Le } = vt(), I = ut(), X = rt(i.preset), F = Pe(), { findDisplay: Oe, findSingleDisplay: qe } = st(), L = ot(), $e = dt(), l = it(i, ge, {
|
|
189
190
|
hideActions: !0,
|
|
190
191
|
onError: (t) => {
|
|
191
192
|
if (console.log(t), t.code == 401)
|
|
192
|
-
|
|
193
|
+
L.logout(), L.login(location.pathname);
|
|
193
194
|
else
|
|
194
195
|
return t;
|
|
195
196
|
},
|
|
196
197
|
onFinishedAsync: async (t) => {
|
|
197
|
-
if (i.defaultNew === !0 && !
|
|
198
|
-
|
|
198
|
+
if (i.defaultNew === !0 && !G(t))
|
|
199
|
+
O();
|
|
199
200
|
else if (l.id.value != null) {
|
|
200
201
|
if (l.id.value == "new")
|
|
201
|
-
|
|
202
|
+
O();
|
|
202
203
|
else if (t != null) {
|
|
203
204
|
var a = t.find((m) => m.id == l.id.value);
|
|
204
|
-
a != null && (await
|
|
205
|
+
a != null && (await Q(a), ee(), w());
|
|
205
206
|
}
|
|
206
207
|
}
|
|
207
208
|
},
|
|
208
|
-
router:
|
|
209
|
+
router: Pe(),
|
|
209
210
|
route: I
|
|
210
|
-
}),
|
|
211
|
-
function
|
|
211
|
+
}), V = j([]), y = j(0), se = j(0);
|
|
212
|
+
function Ge(t) {
|
|
212
213
|
console.log(`window updated to: ${t.toString()}`);
|
|
213
214
|
}
|
|
214
|
-
const
|
|
215
|
+
const k = g(() => y.value > 0 ? M.value[y.value - 1] : void 0), Ke = g(() => y.value > 0), re = g(() => {
|
|
215
216
|
var t;
|
|
216
|
-
return !(y.value >=
|
|
217
|
-
isChanged:
|
|
218
|
-
item:
|
|
219
|
-
meta:
|
|
217
|
+
return !(y.value >= M.value.length || ((t = k.value) == null ? void 0 : t.onCanMoveNext) != null && k.value.onCanMoveNext({
|
|
218
|
+
isChanged: D.value,
|
|
219
|
+
item: S.value,
|
|
220
|
+
meta: z.value,
|
|
220
221
|
mode: l.mode.value
|
|
221
222
|
}) !== !0);
|
|
222
|
-
}), Ye =
|
|
223
|
+
}), Ye = g(() => y.value > 0), ue = g(() => {
|
|
223
224
|
var t;
|
|
224
|
-
return ((t =
|
|
225
|
-
isChanged:
|
|
226
|
-
item:
|
|
227
|
-
meta:
|
|
225
|
+
return ((t = k.value) == null ? void 0 : t.onCanSave) != null ? k.value.onCanSave({
|
|
226
|
+
isChanged: D.value,
|
|
227
|
+
item: S.value,
|
|
228
|
+
meta: z.value,
|
|
228
229
|
mode: l.mode.value
|
|
229
|
-
}) &&
|
|
230
|
-
}),
|
|
230
|
+
}) && D.value : !!(i.canSave && y.value >= M.value.length && D.value);
|
|
231
|
+
}), We = g(() => {
|
|
231
232
|
var t;
|
|
232
|
-
return !!(((t =
|
|
233
|
-
isChanged:
|
|
234
|
-
item:
|
|
235
|
-
meta:
|
|
233
|
+
return !!(((t = k.value) == null ? void 0 : t.onCanSave) != null && k.value.onCanSave({
|
|
234
|
+
isChanged: D.value,
|
|
235
|
+
item: S.value,
|
|
236
|
+
meta: z.value,
|
|
236
237
|
mode: l.mode.value
|
|
237
|
-
}) && !
|
|
238
|
-
}),
|
|
238
|
+
}) && !D.value || y.value >= M.value.length && !D.value);
|
|
239
|
+
}), be = g(() => {
|
|
239
240
|
var t;
|
|
240
|
-
return !!(((t =
|
|
241
|
-
isChanged:
|
|
242
|
-
item:
|
|
243
|
-
meta:
|
|
241
|
+
return !!(((t = k.value) == null ? void 0 : t.onCanSkip) != null && k.value.onCanSkip({
|
|
242
|
+
isChanged: D.value,
|
|
243
|
+
item: S.value,
|
|
244
|
+
meta: z.value,
|
|
244
245
|
mode: l.mode.value
|
|
245
246
|
}));
|
|
246
|
-
}),
|
|
247
|
-
|
|
248
|
-
const
|
|
247
|
+
}), Xe = g(() => i.nav != null && !L.canEdit(i.nav) ? !1 : l.isEditing.value);
|
|
248
|
+
tt("isEditing", Xe);
|
|
249
|
+
const B = g(() => i.actionButtonSize ?? i.size), Qe = g(() => X.canAdd ?? i.canAdd), Ce = g(() => {
|
|
249
250
|
const t = X.fadingActions ?? i.fadingActions;
|
|
250
|
-
return l.currentExternalParty.value == null && (t ?? !
|
|
251
|
-
}),
|
|
252
|
-
var a, m,
|
|
253
|
-
let t = i.label ?? (i.variant == "page" ? (a = I == null ? void 0 : I.meta) == null ? void 0 : a.displayName : void 0) ??
|
|
254
|
-
return i.showCount == !0 && ((m = l.filteredItems.value) == null ? void 0 : m.length) != null && ((
|
|
255
|
-
}),
|
|
251
|
+
return l.currentExternalParty.value == null && (t ?? !Le.value);
|
|
252
|
+
}), je = g(() => X.hideColumns ?? i.hideColumns), Je = g(() => X.hideFilters ?? i.hideFilters), de = g(() => (X.hideIntegrations ?? i.hideIntegrations) || l.proxyID.value != null), Ze = g(() => X.hideRefresh ?? i.hideRefresh), ze = g(() => !!i.hideSubtoolbar || i.variant == "inline"), Re = g(() => {
|
|
253
|
+
var a, m, $;
|
|
254
|
+
let t = i.label ?? (i.variant == "page" ? (a = I == null ? void 0 : I.meta) == null ? void 0 : a.displayName : void 0) ?? Oe(i.nav);
|
|
255
|
+
return i.showCount == !0 && ((m = l.filteredItems.value) == null ? void 0 : m.length) != null && (($ = l.asyncItems.value) == null ? void 0 : $.length) != null && (t = `${t} (${l.filteredItems.value.length} of ${l.asyncItems.value.length})`), t;
|
|
256
|
+
}), Be = g(() => {
|
|
256
257
|
var t, a;
|
|
257
|
-
return ((t =
|
|
258
|
-
item:
|
|
259
|
-
meta:
|
|
260
|
-
}) : i.getLabel != null ? i.getLabel(
|
|
261
|
-
}),
|
|
258
|
+
return ((t = k.value) == null ? void 0 : t.label) != null ? k.value.label : ((a = k.value) == null ? void 0 : a.getLabel) != null ? k.value.getLabel({
|
|
259
|
+
item: S.value,
|
|
260
|
+
meta: z.value
|
|
261
|
+
}) : i.getLabel != null ? i.getLabel(S.value, k.value) : qe(i.nav);
|
|
262
|
+
}), ve = g(() => i.variant == "inline" && (i.canSearch || G(i.searchProps))), Y = g(() => {
|
|
262
263
|
if (i.actualHeight != null)
|
|
263
264
|
return `${i.heightStrat == "upto" ? "max-height" : "height"}: calc(${i.actualHeight})`;
|
|
264
265
|
if (i.actualUsedHeight != null)
|
|
265
|
-
return `${i.heightStrat == "upto" ? "max-height" : "height"}: calc(100vh - ${
|
|
266
|
+
return `${i.heightStrat == "upto" ? "max-height" : "height"}: calc(100vh - ${$e.getUsedHeight(i.actualUsedHeight)}px)`;
|
|
266
267
|
{
|
|
267
268
|
let t = 154;
|
|
268
|
-
return y.value > 0 ? t -= 48 : i.variant == "pure" && (t -= 96), i.bordered ? t += 26 : i.variant == "page" && (t += 16),
|
|
269
|
+
return y.value > 0 ? t -= 48 : i.variant == "pure" && (t -= 96), i.bordered ? t += 26 : i.variant == "page" && (t += 16), ze.value && y.value == 0 && (t -= 48), i.hideToolbar == !0 && (t -= 48), (ne(i.paginate) || y.value > 0) && (t -= 58), `${i.heightStrat == "upto" ? "max-height" : "height"}: calc(100vh - ${$e.getUsedHeight(t)}px)`;
|
|
269
270
|
}
|
|
270
271
|
});
|
|
271
|
-
function
|
|
272
|
-
|
|
272
|
+
function we() {
|
|
273
|
+
nt(() => {
|
|
273
274
|
var a, m;
|
|
274
275
|
let t;
|
|
275
|
-
|
|
276
|
+
ve.value ? t = (a = ke.value) == null ? void 0 : a.$el.querySelector("input:not([type=hidden]),textarea:not([type=hidden])") : l.showSearch.value && (t = (m = Se.value) == null ? void 0 : m.$el.querySelector("input:not([type=hidden]),textarea:not([type=hidden])")), t == null || t.focus();
|
|
276
277
|
});
|
|
277
278
|
}
|
|
278
|
-
const
|
|
279
|
+
const z = j(), { asyncItem: S, isChanged: D, restartTracker: ee } = yt(void 0, {
|
|
279
280
|
useTracker: i.trackChanges,
|
|
280
281
|
propsToIgnore: i.trackIgnoreProps,
|
|
281
282
|
propsToTrack: i.trackProps
|
|
282
283
|
});
|
|
283
|
-
async function
|
|
284
|
+
async function Q(t, a) {
|
|
284
285
|
var m;
|
|
285
|
-
if (
|
|
286
|
-
let
|
|
287
|
-
l.proxyID.value != null && (
|
|
288
|
-
let
|
|
286
|
+
if (S.value = i.onSelectAsync != null ? await i.onSelectAsync(he(t), t) : he(t), z.value = {}, ((m = S.value) == null ? void 0 : m.id) != null) {
|
|
287
|
+
let $ = {};
|
|
288
|
+
l.proxyID.value != null && ($.proxyID = l.proxyID.value);
|
|
289
|
+
let d = {
|
|
289
290
|
...I,
|
|
290
291
|
params: {
|
|
291
292
|
...I.params,
|
|
292
|
-
id:
|
|
293
|
+
id: S.value.id
|
|
293
294
|
},
|
|
294
|
-
query:
|
|
295
|
+
query: $,
|
|
295
296
|
replace: !0
|
|
296
297
|
};
|
|
297
|
-
|
|
298
|
+
F == null || F.replace(d);
|
|
298
299
|
}
|
|
299
|
-
|
|
300
|
+
ee(), a == null ? w() : typeof a == "string" ? q(a) : typeof a == "number" && C(a);
|
|
300
301
|
}
|
|
301
|
-
async function
|
|
302
|
+
async function O() {
|
|
302
303
|
var t = i.onGetNewAsync ?? (async () => ({}));
|
|
303
|
-
l.mode.value = "new",
|
|
304
|
+
l.mode.value = "new", S.value = await t(), z.value = {};
|
|
304
305
|
let a = {};
|
|
305
306
|
l.proxyID.value != null && (a.proxyID = l.proxyID.value);
|
|
306
307
|
const m = {
|
|
@@ -312,27 +313,27 @@ const bt = {
|
|
|
312
313
|
query: a,
|
|
313
314
|
replace: !0
|
|
314
315
|
};
|
|
315
|
-
|
|
316
|
+
F == null || F.replace(m), w();
|
|
316
317
|
}
|
|
317
|
-
function
|
|
318
|
-
(i.canSearch !== !1 ||
|
|
318
|
+
function xe() {
|
|
319
|
+
(i.canSearch !== !1 || G(i.searchProps)) && !l.showSearch.value && l.toggleSearch();
|
|
319
320
|
}
|
|
320
|
-
function
|
|
321
|
-
var
|
|
321
|
+
function w() {
|
|
322
|
+
var $, d;
|
|
322
323
|
var t = y.value + 1;
|
|
323
|
-
if (((
|
|
324
|
-
var a = (
|
|
325
|
-
item:
|
|
326
|
-
meta:
|
|
324
|
+
if ((($ = k.value) == null ? void 0 : $.onMoveNext) != null) {
|
|
325
|
+
var a = (d = k.value) == null ? void 0 : d.onMoveNext({
|
|
326
|
+
item: S.value,
|
|
327
|
+
meta: z.value,
|
|
327
328
|
mode: l.mode.value,
|
|
328
329
|
next: t
|
|
329
330
|
});
|
|
330
331
|
if (a == null)
|
|
331
332
|
return;
|
|
332
333
|
if (typeof a == "string") {
|
|
333
|
-
if (a ==
|
|
334
|
+
if (a == k.value.name)
|
|
334
335
|
return;
|
|
335
|
-
var m =
|
|
336
|
+
var m = M.value.findIndex((b) => b.name == a);
|
|
336
337
|
if (m == null)
|
|
337
338
|
return;
|
|
338
339
|
m >= 0 && (t = m + 1);
|
|
@@ -342,96 +343,96 @@ const bt = {
|
|
|
342
343
|
t = a;
|
|
343
344
|
}
|
|
344
345
|
}
|
|
345
|
-
t <=
|
|
346
|
+
t <= M.value.length && C(t);
|
|
346
347
|
}
|
|
347
|
-
function
|
|
348
|
-
|
|
348
|
+
function ce() {
|
|
349
|
+
V.value.pop(), pe();
|
|
349
350
|
}
|
|
350
|
-
function
|
|
351
|
-
if (console.log(`from: ${y.value} (other: ${
|
|
351
|
+
function C(t) {
|
|
352
|
+
if (console.log(`from: ${y.value} (other: ${se.value}) | to: ${t}`), t != 0) {
|
|
352
353
|
var a = t - 1;
|
|
353
|
-
if (a <
|
|
354
|
-
var m =
|
|
354
|
+
if (a < M.value.length) {
|
|
355
|
+
var m = M.value[a];
|
|
355
356
|
if (m.onMoveInto != null) {
|
|
356
|
-
var
|
|
357
|
-
item:
|
|
358
|
-
meta:
|
|
357
|
+
var $ = m.onMoveInto({
|
|
358
|
+
item: S.value,
|
|
359
|
+
meta: z.value,
|
|
359
360
|
mode: l.mode.value,
|
|
360
361
|
from: y.value,
|
|
361
362
|
thisStep: t
|
|
362
363
|
});
|
|
363
|
-
if (console.log(`returned: ${
|
|
364
|
+
if (console.log(`returned: ${$}`), $ == null)
|
|
364
365
|
return;
|
|
365
|
-
if (typeof
|
|
366
|
-
var
|
|
367
|
-
|
|
366
|
+
if (typeof $ == "string") {
|
|
367
|
+
var d = M.value.findIndex((b) => b.name == $) ?? -1;
|
|
368
|
+
d >= 0 && (t = d + 1);
|
|
368
369
|
} else
|
|
369
|
-
typeof
|
|
370
|
+
typeof $ == "number" && (t = $);
|
|
370
371
|
}
|
|
371
372
|
}
|
|
372
373
|
}
|
|
373
|
-
if (t == 0 ? (
|
|
374
|
-
let
|
|
375
|
-
l.proxyID.value != null && (
|
|
376
|
-
const
|
|
374
|
+
if (t == 0 ? (V.value = [t], pe(), console.log(`zero: ${y.value}`)) : y.value !== t ? (V.value.length == 0 && V.value.push(0), V.value.push(t), pe()) : console.log(`same same: ${t}`), t == 0) {
|
|
375
|
+
let b = {};
|
|
376
|
+
l.proxyID.value != null && (b.proxyID = l.proxyID.value);
|
|
377
|
+
const n = {
|
|
377
378
|
...I,
|
|
378
379
|
params: {},
|
|
379
|
-
query:
|
|
380
|
+
query: b,
|
|
380
381
|
replace: !0
|
|
381
382
|
};
|
|
382
|
-
|
|
383
|
+
F == null || F.replace(n), i.startEditing == !0 ? l.mode.value = "edit" : l.mode.value = "view";
|
|
383
384
|
}
|
|
384
385
|
}
|
|
385
|
-
|
|
386
|
+
Z(y, (t) => {
|
|
386
387
|
console.log(`changed to: ${t}`);
|
|
387
388
|
});
|
|
388
|
-
function
|
|
389
|
-
|
|
389
|
+
function pe() {
|
|
390
|
+
se.value = V.value.length > 0 ? V.value[V.value.length - 1] : 0, y.value = V.value.length > 0 ? V.value[V.value.length - 1] : 0;
|
|
390
391
|
}
|
|
391
|
-
function
|
|
392
|
+
function q(t) {
|
|
392
393
|
if (t != null) {
|
|
393
|
-
var a =
|
|
394
|
-
a >= 0 &&
|
|
394
|
+
var a = M.value.findIndex((m) => m.name == t);
|
|
395
|
+
a >= 0 && C(a + 1);
|
|
395
396
|
}
|
|
396
397
|
}
|
|
397
|
-
function
|
|
398
|
+
function _e() {
|
|
398
399
|
console.log("skip not implemented yet");
|
|
399
400
|
}
|
|
400
|
-
async function
|
|
401
|
+
async function te() {
|
|
401
402
|
var m;
|
|
402
|
-
if (
|
|
403
|
-
var t = await l.saveItem(
|
|
403
|
+
if (S.value != null) {
|
|
404
|
+
var t = await l.saveItem(S.value);
|
|
404
405
|
if (t != null) {
|
|
405
|
-
|
|
406
|
-
var a = ((m =
|
|
407
|
-
typeof a == "number" ?
|
|
406
|
+
S.value = he(t), ee();
|
|
407
|
+
var a = ((m = k.value) == null ? void 0 : m.onSaveMoveNext) ?? 0;
|
|
408
|
+
typeof a == "number" ? C(a) : typeof a == "boolean" && a == !0 && w();
|
|
408
409
|
}
|
|
409
410
|
}
|
|
410
411
|
}
|
|
411
|
-
return
|
|
412
|
-
|
|
413
|
-
}),
|
|
414
|
-
|
|
415
|
-
}),
|
|
416
|
-
|
|
417
|
-
}),
|
|
418
|
-
|
|
419
|
-
}),
|
|
412
|
+
return Z(y, (t) => {
|
|
413
|
+
ge("change", t);
|
|
414
|
+
}), Z(l.showSearch, () => {
|
|
415
|
+
we();
|
|
416
|
+
}), Z(() => i.resetTrackerToggle, () => {
|
|
417
|
+
ee();
|
|
418
|
+
}), Z(() => i.resetSlidesToggle, () => {
|
|
419
|
+
C(0);
|
|
420
|
+
}), lt(() => {
|
|
420
421
|
var a;
|
|
421
|
-
console.log("mounted"),
|
|
422
|
+
console.log("mounted"), we();
|
|
422
423
|
var t = (a = I == null ? void 0 : I.query) == null ? void 0 : a.step;
|
|
423
|
-
t != null ?
|
|
424
|
-
navBack:
|
|
425
|
-
navTo:
|
|
426
|
-
navToName:
|
|
427
|
-
nextStep:
|
|
424
|
+
t != null ? q(t) : (console.log("mm"), C(0)), ne(i.stepsID) || ct(i.stepsID, {
|
|
425
|
+
navBack: ce,
|
|
426
|
+
navTo: C,
|
|
427
|
+
navToName: q,
|
|
428
|
+
nextStep: w
|
|
428
429
|
});
|
|
429
|
-
}),
|
|
430
|
-
console.log("unmounte"),
|
|
430
|
+
}), at(() => {
|
|
431
|
+
console.log("unmounte"), ne(i.stepsID) || pt(i.stepsID);
|
|
431
432
|
}), (t, a) => {
|
|
432
|
-
const m =
|
|
433
|
-
return o(), u(
|
|
434
|
-
onTitled:
|
|
433
|
+
const m = Ae("bt-header-option"), $ = Ae("bt-blade");
|
|
434
|
+
return o(), u($, {
|
|
435
|
+
onTitled: xe,
|
|
435
436
|
bladeBasic: "",
|
|
436
437
|
bladeName: t.bladeName,
|
|
437
438
|
bladeStartShowing: t.bladeStartShowing,
|
|
@@ -439,19 +440,19 @@ const bt = {
|
|
|
439
440
|
density: t.density,
|
|
440
441
|
flat: t.flat,
|
|
441
442
|
errorMsg: e(l).errorMsg.value,
|
|
442
|
-
hideSubtoolbar: t.useStepHeader != !1 || y.value !== 0 ||
|
|
443
|
+
hideSubtoolbar: t.useStepHeader != !1 || y.value !== 0 || ze.value,
|
|
443
444
|
hideToolbar: t.useStepHeader != !1 || y.value !== 0 || t.hideToolbar,
|
|
444
|
-
label:
|
|
445
|
+
label: Re.value,
|
|
445
446
|
loadingMsg: e(l).loadingMsg.value,
|
|
446
447
|
preset: t.preset,
|
|
447
|
-
showOnlyTitleLeft:
|
|
448
|
+
showOnlyTitleLeft: ve.value && e(l).showSearch.value,
|
|
448
449
|
size: t.size,
|
|
449
450
|
transparent: t.transparent,
|
|
450
451
|
variant: t.variant
|
|
451
452
|
}, {
|
|
452
453
|
"blade-toolbar": s(() => [
|
|
453
|
-
|
|
454
|
-
newItem:
|
|
454
|
+
h(t.$slots, "blade-toolbar", {
|
|
455
|
+
newItem: O,
|
|
455
456
|
refresh: e(l).refresh,
|
|
456
457
|
searchString: e(l).searchString,
|
|
457
458
|
showSearch: e(l).showSearch,
|
|
@@ -460,70 +461,70 @@ const bt = {
|
|
|
460
461
|
}, void 0, !0)
|
|
461
462
|
]),
|
|
462
463
|
"blade-toolbar-left": s(() => [
|
|
463
|
-
|
|
464
|
+
h(t.$slots, "toolbar-left", { ui: e(l) }, void 0, !0)
|
|
464
465
|
]),
|
|
465
466
|
"blade-toolbar-right": s(() => [
|
|
466
|
-
|
|
467
|
-
newItem:
|
|
467
|
+
h(t.$slots, "toolbar-right", {
|
|
468
|
+
newItem: O,
|
|
468
469
|
ui: e(l)
|
|
469
470
|
}, void 0, !0),
|
|
470
|
-
|
|
471
|
+
Ze.value ? v("", !0) : (o(), u(e(p), {
|
|
471
472
|
key: 0,
|
|
472
473
|
icon: "$refresh",
|
|
473
|
-
onClick: a[0] || (a[0] = (
|
|
474
|
+
onClick: a[0] || (a[0] = (d) => e(l).refresh({ deepRefresh: !0 })),
|
|
474
475
|
size: t.size,
|
|
475
476
|
title: "Refresh",
|
|
476
477
|
variant: "text"
|
|
477
478
|
}, null, 8, ["size"])),
|
|
478
|
-
|
|
479
|
+
Qe.value ? (o(), u(e(p), {
|
|
479
480
|
key: 1,
|
|
480
481
|
icon: "$plus",
|
|
481
|
-
onClick:
|
|
482
|
+
onClick: O,
|
|
482
483
|
size: t.size,
|
|
483
|
-
disabled: !e(
|
|
484
|
+
disabled: !e(L).canEdit(t.nav),
|
|
484
485
|
title: "Add",
|
|
485
486
|
variant: "text"
|
|
486
|
-
}, null, 8, ["size", "disabled"])) :
|
|
487
|
+
}, null, 8, ["size", "disabled"])) : v("", !0)
|
|
487
488
|
]),
|
|
488
489
|
subtoolbar: s(() => [
|
|
489
|
-
|
|
490
|
-
t.hideSubtoolbarSettings ?
|
|
490
|
+
h(t.$slots, "subtoolbar", {}, () => [
|
|
491
|
+
t.hideSubtoolbarSettings ? v("", !0) : (o(), u(e(oe), {
|
|
491
492
|
key: 0,
|
|
492
493
|
"close-on-content-click": !1,
|
|
493
494
|
density: t.density
|
|
494
495
|
}, {
|
|
495
|
-
activator: s(({ props:
|
|
496
|
-
r(e(p),
|
|
496
|
+
activator: s(({ props: d }) => [
|
|
497
|
+
r(e(p), le({
|
|
497
498
|
icon: "$cog",
|
|
498
499
|
size: t.size
|
|
499
|
-
},
|
|
500
|
+
}, d, { variant: "text" }), null, 16, ["size"])
|
|
500
501
|
]),
|
|
501
502
|
default: s(() => [
|
|
502
|
-
r(e(
|
|
503
|
+
r(e(_), {
|
|
503
504
|
density: t.density,
|
|
504
505
|
"min-width": "300"
|
|
505
506
|
}, {
|
|
506
507
|
default: s(() => [
|
|
507
|
-
|
|
508
|
+
je.value ? v("", !0) : (o(), u(e(oe), {
|
|
508
509
|
key: 0,
|
|
509
510
|
"close-on-content-click": !1,
|
|
510
511
|
density: t.density,
|
|
511
512
|
location: "end"
|
|
512
513
|
}, {
|
|
513
|
-
activator: s(({ props:
|
|
514
|
-
r(e(
|
|
514
|
+
activator: s(({ props: d }) => [
|
|
515
|
+
r(e(K), le(d, {
|
|
515
516
|
"prepend-icon": "$view-column",
|
|
516
517
|
subtitle: "Columns"
|
|
517
518
|
}), null, 16)
|
|
518
519
|
]),
|
|
519
520
|
default: s(() => [
|
|
520
|
-
r(e(
|
|
521
|
+
r(e(_), null, {
|
|
521
522
|
default: s(() => [
|
|
522
|
-
(o(!0), c(
|
|
523
|
-
key:
|
|
524
|
-
"prepend-icon":
|
|
525
|
-
subtitle:
|
|
526
|
-
onClick: (n) =>
|
|
523
|
+
(o(!0), c(T, null, E(e(l).headerOptions.value, (d, b) => (o(), u(e(K), {
|
|
524
|
+
key: b,
|
|
525
|
+
"prepend-icon": d.hide === !0 ? "mdi" : "$check",
|
|
526
|
+
subtitle: d.title,
|
|
527
|
+
onClick: (n) => d.hide = !d.hide
|
|
527
528
|
}, null, 8, ["prepend-icon", "subtitle", "onClick"]))), 128))
|
|
528
529
|
]),
|
|
529
530
|
_: 1
|
|
@@ -531,28 +532,28 @@ const bt = {
|
|
|
531
532
|
]),
|
|
532
533
|
_: 1
|
|
533
534
|
}, 8, ["density"])),
|
|
534
|
-
t.archiveBladeName != null ? (o(), u(e(
|
|
535
|
+
t.archiveBladeName != null ? (o(), u(e(K), {
|
|
535
536
|
key: 1,
|
|
536
537
|
density: t.density,
|
|
537
538
|
"prepend-icon": "$archive-outline",
|
|
538
539
|
subtitle: "Archives",
|
|
539
540
|
to: { name: t.archiveBladeName }
|
|
540
|
-
}, null, 8, ["density", "to"])) :
|
|
541
|
-
t.canShowInactive ? (o(), u(e(
|
|
541
|
+
}, null, 8, ["density", "to"])) : v("", !0),
|
|
542
|
+
t.canShowInactive ? (o(), u(e(K), {
|
|
542
543
|
key: 2,
|
|
543
544
|
density: t.density,
|
|
544
545
|
"prepend-icon": "$eraser",
|
|
545
546
|
subtitle: e(l).showInactive.value ? "Hide Inactive" : "Show Inactive",
|
|
546
|
-
onClick: a[1] || (a[1] = (
|
|
547
|
-
}, null, 8, ["density", "subtitle"])) :
|
|
548
|
-
t.canExportCSV ? (o(), u(e(
|
|
547
|
+
onClick: a[1] || (a[1] = (d) => e(l).showInactive.value = !e(l).showInactive.value)
|
|
548
|
+
}, null, 8, ["density", "subtitle"])) : v("", !0),
|
|
549
|
+
t.canExportCSV ? (o(), u(e(K), {
|
|
549
550
|
key: 3,
|
|
550
551
|
density: t.density,
|
|
551
552
|
"prepend-icon": "$file-delimited-outline",
|
|
552
553
|
subtitle: "Export To CSV",
|
|
553
554
|
onClick: e(l).exportToCSV
|
|
554
|
-
}, null, 8, ["density", "onClick"])) :
|
|
555
|
-
|
|
555
|
+
}, null, 8, ["density", "onClick"])) : v("", !0),
|
|
556
|
+
h(t.$slots, "settings", {
|
|
556
557
|
items: e(l).filteredItems.value,
|
|
557
558
|
allItems: e(l).asyncItems.value,
|
|
558
559
|
size: t.size
|
|
@@ -563,81 +564,81 @@ const bt = {
|
|
|
563
564
|
]),
|
|
564
565
|
_: 3
|
|
565
566
|
}, 8, ["density"])),
|
|
566
|
-
r(
|
|
567
|
+
r(e(mt), {
|
|
567
568
|
group: "",
|
|
568
569
|
"hide-on-leave": ""
|
|
569
570
|
}, {
|
|
570
571
|
default: s(() => [
|
|
571
|
-
(t.canSearch !== !1 || e(
|
|
572
|
+
(t.canSearch !== !1 || e(G)(t.searchProps)) && !e(l).showSearch.value ? (o(), u(e(p), {
|
|
572
573
|
icon: "$magnify",
|
|
573
574
|
key: "11",
|
|
574
575
|
size: t.size,
|
|
575
576
|
onClick: e(l).toggleSearch
|
|
576
|
-
}, null, 8, ["size", "onClick"])) :
|
|
577
|
-
(t.canSearch !== !1 || e(
|
|
577
|
+
}, null, 8, ["size", "onClick"])) : v("", !0),
|
|
578
|
+
(t.canSearch !== !1 || e(G)(t.searchProps)) && e(l).showSearch.value ? (o(), u(e(Ne), {
|
|
578
579
|
"onClick:appendInner": a[2] || (a[2] = () => e(l).refresh({ deepRefresh: !0 })),
|
|
579
580
|
"onClick:prependInner": a[3] || (a[3] = () => e(l).toggleSearch()),
|
|
580
|
-
onKeyup: a[4] || (a[4] =
|
|
581
|
+
onKeyup: a[4] || (a[4] = Te(P(() => e(l).refresh({ deepRefresh: !0 }), ["stop"]), ["native", "enter"])),
|
|
581
582
|
"append-inner-icon": "$magnify",
|
|
582
583
|
"prepend-inner-icon": "$close",
|
|
583
584
|
density: t.density,
|
|
584
585
|
flat: "",
|
|
585
586
|
"hide-details": "",
|
|
586
587
|
ref_key: "searchEl",
|
|
587
|
-
ref:
|
|
588
|
+
ref: Se,
|
|
588
589
|
key: "12",
|
|
589
590
|
placeholder: "Find",
|
|
590
591
|
variant: "outlined",
|
|
591
592
|
modelValue: e(l).searchString.value,
|
|
592
|
-
"onUpdate:modelValue": a[5] || (a[5] = (
|
|
593
|
-
}, null, 8, ["density", "modelValue"])) :
|
|
593
|
+
"onUpdate:modelValue": a[5] || (a[5] = (d) => e(l).searchString.value = d)
|
|
594
|
+
}, null, 8, ["density", "modelValue"])) : v("", !0)
|
|
594
595
|
]),
|
|
595
596
|
_: 1
|
|
596
597
|
}),
|
|
597
|
-
|
|
598
|
+
h(t.$slots, "actions", {
|
|
598
599
|
allItems: e(l).asyncItems.value,
|
|
599
600
|
size: t.size,
|
|
600
|
-
last:
|
|
601
|
-
navToName:
|
|
601
|
+
last: se.value,
|
|
602
|
+
navToName: q
|
|
602
603
|
}, void 0, !0),
|
|
603
|
-
t.variant != "inline" ? (o(), u(e(
|
|
604
|
-
|
|
604
|
+
t.variant != "inline" ? (o(), u(e(ie), { key: 1 })) : v("", !0),
|
|
605
|
+
h(t.$slots, "actions-right", {
|
|
605
606
|
allItems: e(l).asyncItems.value,
|
|
606
607
|
size: t.size
|
|
607
608
|
}, void 0, !0),
|
|
608
|
-
!
|
|
609
|
+
!Je.value && e(G)(e(l).filters.value) ? (o(), u(e(oe), {
|
|
609
610
|
key: 2,
|
|
610
611
|
"close-on-content-click": !1,
|
|
611
612
|
density: t.density,
|
|
612
613
|
location: "start"
|
|
613
614
|
}, {
|
|
614
|
-
activator: s(({ props:
|
|
615
|
-
r(e(p),
|
|
615
|
+
activator: s(({ props: d }) => [
|
|
616
|
+
r(e(p), le({
|
|
616
617
|
icon: "$filter",
|
|
617
618
|
size: t.size
|
|
618
|
-
},
|
|
619
|
+
}, d, { variant: "text" }), null, 16, ["size"])
|
|
619
620
|
]),
|
|
620
621
|
default: s(() => [
|
|
621
|
-
r(e(
|
|
622
|
+
r(e(_), {
|
|
622
623
|
class: "pa-0",
|
|
623
624
|
density: t.density,
|
|
624
625
|
"open-strategy": "multiple",
|
|
625
626
|
"select-strategy": "classic",
|
|
626
627
|
selected: e(l).selectedFilters.value,
|
|
627
|
-
"onUpdate:selected": a[6] || (a[6] = (
|
|
628
|
+
"onUpdate:selected": a[6] || (a[6] = (d) => e(l).selectedFilters.value = d)
|
|
628
629
|
}, {
|
|
629
630
|
default: s(() => [
|
|
630
|
-
(o(!0), c(
|
|
631
|
-
key:
|
|
632
|
-
subtitle:
|
|
633
|
-
value:
|
|
631
|
+
(o(!0), c(T, null, E(e(l).filters.value, (d, b) => (o(), u(e(K), {
|
|
632
|
+
key: b,
|
|
633
|
+
subtitle: d,
|
|
634
|
+
value: b
|
|
634
635
|
}, {
|
|
635
636
|
prepend: s(({ isActive: n }) => [
|
|
636
|
-
r(
|
|
637
|
+
r(e(x), null, {
|
|
637
638
|
default: s(() => [
|
|
638
|
-
r(e(
|
|
639
|
+
r(e(Me), { size: t.size }, {
|
|
639
640
|
default: s(() => [
|
|
640
|
-
|
|
641
|
+
me(ae(n ? "$check" : ""), 1)
|
|
641
642
|
]),
|
|
642
643
|
_: 2
|
|
643
644
|
}, 1032, ["size"])
|
|
@@ -647,7 +648,7 @@ const bt = {
|
|
|
647
648
|
]),
|
|
648
649
|
_: 2
|
|
649
650
|
}, 1032, ["subtitle", "value"]))), 128)),
|
|
650
|
-
r(
|
|
651
|
+
r(e(Ve), {
|
|
651
652
|
"hide-on-leave": "",
|
|
652
653
|
group: ""
|
|
653
654
|
}, {
|
|
@@ -659,19 +660,19 @@ const bt = {
|
|
|
659
660
|
size: t.size
|
|
660
661
|
}, {
|
|
661
662
|
default: s(() => [
|
|
662
|
-
r(e(
|
|
663
|
+
r(e(Me), {
|
|
663
664
|
start: "",
|
|
664
665
|
size: t.size
|
|
665
666
|
}, {
|
|
666
667
|
default: s(() => a[17] || (a[17] = [
|
|
667
|
-
|
|
668
|
+
me("$filter")
|
|
668
669
|
])),
|
|
669
670
|
_: 1
|
|
670
671
|
}, 8, ["size"]),
|
|
671
|
-
a[18] || (a[18] =
|
|
672
|
+
a[18] || (a[18] = me("Apply "))
|
|
672
673
|
]),
|
|
673
674
|
_: 1
|
|
674
|
-
}, 8, ["onClick", "size"])) :
|
|
675
|
+
}, 8, ["onClick", "size"])) : v("", !0)
|
|
675
676
|
]),
|
|
676
677
|
_: 1
|
|
677
678
|
})
|
|
@@ -680,27 +681,27 @@ const bt = {
|
|
|
680
681
|
}, 8, ["density", "selected"])
|
|
681
682
|
]),
|
|
682
683
|
_: 1
|
|
683
|
-
}, 8, ["density"])) :
|
|
684
|
-
!
|
|
684
|
+
}, 8, ["density"])) : v("", !0),
|
|
685
|
+
!de.value && e(G)(e(l).externalParties.value) ? (o(), u(e(oe), {
|
|
685
686
|
key: 3,
|
|
686
687
|
"close-on-content-click": !1,
|
|
687
688
|
density: t.density,
|
|
688
689
|
location: "bottom"
|
|
689
690
|
}, {
|
|
690
|
-
activator: s(({ props:
|
|
691
|
-
r(
|
|
691
|
+
activator: s(({ props: d }) => [
|
|
692
|
+
r(e(fe), { "hide-on-leave": "" }, {
|
|
692
693
|
default: s(() => [
|
|
693
694
|
e(l).currentExternalParty.value != null ? (o(), c("div", bt, [
|
|
694
695
|
r(e(p), {
|
|
695
696
|
icon: "$close",
|
|
696
|
-
onClick: a[7] || (a[7] = (
|
|
697
|
+
onClick: a[7] || (a[7] = (b) => e(l).selectExternalParty(void 0))
|
|
697
698
|
}),
|
|
698
|
-
|
|
699
|
-
])) : (o(), u(e(p),
|
|
699
|
+
R("span", null, "Sync: " + ae(e(Ee)(e(l).currentExternalParty.value.party)), 1)
|
|
700
|
+
])) : (o(), u(e(p), le({
|
|
700
701
|
key: 1,
|
|
701
702
|
icon: "$cloud-sync",
|
|
702
703
|
size: t.size
|
|
703
|
-
},
|
|
704
|
+
}, d, {
|
|
704
705
|
title: "Open sync options",
|
|
705
706
|
variant: "text"
|
|
706
707
|
}), null, 16, ["size"]))
|
|
@@ -709,50 +710,50 @@ const bt = {
|
|
|
709
710
|
}, 1024)
|
|
710
711
|
]),
|
|
711
712
|
default: s(() => [
|
|
712
|
-
r(e(
|
|
713
|
+
r(e(_), {
|
|
713
714
|
density: t.density,
|
|
714
715
|
"min-width": "150"
|
|
715
716
|
}, {
|
|
716
717
|
default: s(() => [
|
|
717
|
-
(o(!0), c(
|
|
718
|
-
onClick: (n) => e(l).selectExternalParty(
|
|
719
|
-
key: (
|
|
720
|
-
title: e(
|
|
718
|
+
(o(!0), c(T, null, E(e(l).externalParties.value, (d, b) => (o(), u(e(K), {
|
|
719
|
+
onClick: (n) => e(l).selectExternalParty(d),
|
|
720
|
+
key: (d.party ?? "") + b,
|
|
721
|
+
title: e(Ee)(d.party)
|
|
721
722
|
}, null, 8, ["onClick", "title"]))), 128))
|
|
722
723
|
]),
|
|
723
724
|
_: 1
|
|
724
725
|
}, 8, ["density"])
|
|
725
726
|
]),
|
|
726
727
|
_: 1
|
|
727
|
-
}, 8, ["density"])) :
|
|
728
|
+
}, 8, ["density"])) : v("", !0)
|
|
728
729
|
], !0)
|
|
729
730
|
]),
|
|
730
|
-
content: s(({ bladeData:
|
|
731
|
-
|
|
732
|
-
bladeData:
|
|
731
|
+
content: s(({ bladeData: d, isMobile: b }) => [
|
|
732
|
+
h(t.$slots, "body", {
|
|
733
|
+
bladeData: d,
|
|
733
734
|
items: e(l).filteredItems.value,
|
|
734
735
|
allItems: e(l).asyncItems.value,
|
|
735
736
|
refresh: e(l).refresh,
|
|
736
737
|
searchString: e(l).searchString,
|
|
737
|
-
selectItem:
|
|
738
|
+
selectItem: Q,
|
|
738
739
|
showSearch: e(l).showSearch,
|
|
739
740
|
size: t.size,
|
|
740
|
-
style:
|
|
741
|
+
style: W(Y.value),
|
|
741
742
|
toggleSearch: e(l).toggleSearch
|
|
742
743
|
}, () => [
|
|
743
|
-
|
|
744
|
+
ve.value ? (o(), c("div", Ct, [
|
|
744
745
|
r(e(p), {
|
|
745
746
|
icon: e(l).showSearch.value ? "$close" : "$magnify",
|
|
746
747
|
size: t.size,
|
|
747
748
|
onClick: e(l).toggleSearch,
|
|
748
749
|
variant: "text"
|
|
749
750
|
}, null, 8, ["icon", "size", "onClick"]),
|
|
750
|
-
r(
|
|
751
|
+
r(e(ht), null, {
|
|
751
752
|
default: s(() => [
|
|
752
|
-
e(l).showSearch.value ? (o(), u(e(
|
|
753
|
+
e(l).showSearch.value ? (o(), u(e(Ne), {
|
|
753
754
|
key: 0,
|
|
754
755
|
"onClick:appendInner": a[8] || (a[8] = () => e(l).refresh()),
|
|
755
|
-
onKeyup: a[9] || (a[9] =
|
|
756
|
+
onKeyup: a[9] || (a[9] = Te(P(() => e(l).refresh(), ["stop"]), ["native", "enter"])),
|
|
756
757
|
"append-inner-icon": "$magnify",
|
|
757
758
|
autofocus: "",
|
|
758
759
|
density: t.density,
|
|
@@ -760,18 +761,18 @@ const bt = {
|
|
|
760
761
|
"hide-details": "",
|
|
761
762
|
placeholder: "Find",
|
|
762
763
|
ref_key: "inlineSearchEl",
|
|
763
|
-
ref:
|
|
764
|
+
ref: ke,
|
|
764
765
|
variant: "solo",
|
|
765
766
|
modelValue: e(l).searchString.value,
|
|
766
767
|
"onUpdate:modelValue": a[10] || (a[10] = (n) => e(l).searchString.value = n)
|
|
767
|
-
}, null, 8, ["density", "modelValue"])) :
|
|
768
|
+
}, null, 8, ["density", "modelValue"])) : v("", !0)
|
|
768
769
|
]),
|
|
769
770
|
_: 1
|
|
770
771
|
})
|
|
771
|
-
])) :
|
|
772
|
-
|
|
772
|
+
])) : v("", !0),
|
|
773
|
+
h(t.$slots, "top", {
|
|
773
774
|
mode: e(l).mode.value,
|
|
774
|
-
newItem:
|
|
775
|
+
newItem: O,
|
|
775
776
|
refresh: e(l).refresh,
|
|
776
777
|
searchString: e(l).searchString,
|
|
777
778
|
showSearch: e(l).showSearch,
|
|
@@ -780,142 +781,142 @@ const bt = {
|
|
|
780
781
|
allItems: e(l).asyncItems.value,
|
|
781
782
|
items: e(l).filteredItems.value
|
|
782
783
|
}, void 0, !0),
|
|
783
|
-
r(
|
|
784
|
+
r(e(x), { "hide-on-leave": "" }, {
|
|
784
785
|
default: s(() => [
|
|
785
786
|
t.useStepHeader != !1 || y.value != 0 ? (o(), c("div", zt, [
|
|
786
|
-
|
|
787
|
-
back: () =>
|
|
788
|
-
item: e(
|
|
789
|
-
meta:
|
|
790
|
-
navTo:
|
|
791
|
-
nextStep:
|
|
792
|
-
title:
|
|
787
|
+
h(t.$slots, "step-toolbar", {
|
|
788
|
+
back: () => ce(),
|
|
789
|
+
item: e(S),
|
|
790
|
+
meta: z.value,
|
|
791
|
+
navTo: C,
|
|
792
|
+
nextStep: w,
|
|
793
|
+
title: Be.value
|
|
793
794
|
}, () => [
|
|
794
795
|
r(e(p), {
|
|
795
796
|
icon: "$chevron-left",
|
|
796
|
-
onClick:
|
|
797
|
-
disabled: !
|
|
797
|
+
onClick: ce,
|
|
798
|
+
disabled: !Ke.value,
|
|
798
799
|
variant: "text"
|
|
799
800
|
}, null, 8, ["disabled"]),
|
|
800
801
|
r(e(p), {
|
|
801
802
|
icon: "$chevron-right",
|
|
802
|
-
onClick:
|
|
803
|
-
disabled: !
|
|
803
|
+
onClick: w,
|
|
804
|
+
disabled: !re.value,
|
|
804
805
|
variant: "text"
|
|
805
806
|
}, null, 8, ["disabled"]),
|
|
806
807
|
r(e(p), {
|
|
807
808
|
icon: "$restart",
|
|
808
|
-
onClick: a[11] || (a[11] = (n) =>
|
|
809
|
+
onClick: a[11] || (a[11] = (n) => C(0)),
|
|
809
810
|
disabled: !Ye.value,
|
|
810
811
|
variant: "text",
|
|
811
812
|
size: "small"
|
|
812
813
|
}, null, 8, ["disabled"]),
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
item: e(
|
|
816
|
-
meta:
|
|
814
|
+
R("div", Bt, ae(Be.value), 1),
|
|
815
|
+
h(t.$slots, "step-label", {
|
|
816
|
+
item: e(S),
|
|
817
|
+
meta: z.value,
|
|
817
818
|
mode: e(l).mode.value,
|
|
818
|
-
navTo:
|
|
819
|
-
navToName:
|
|
820
|
-
nextStep:
|
|
819
|
+
navTo: C,
|
|
820
|
+
navToName: q,
|
|
821
|
+
nextStep: w
|
|
821
822
|
}, void 0, !0),
|
|
822
|
-
r(e(
|
|
823
|
-
|
|
823
|
+
r(e(ie)),
|
|
824
|
+
be.value ? (o(), u(e(p), {
|
|
824
825
|
key: 0,
|
|
825
826
|
icon: "$debug-step-over",
|
|
826
|
-
onClick:
|
|
827
|
+
onClick: _e,
|
|
827
828
|
variant: "text",
|
|
828
829
|
text: "Skip"
|
|
829
|
-
})) :
|
|
830
|
-
|
|
830
|
+
})) : v("", !0),
|
|
831
|
+
ue.value ? (o(), u(e(p), {
|
|
831
832
|
key: 1,
|
|
832
833
|
"prepend-icon": "$content-save",
|
|
833
834
|
class: "mr-2",
|
|
834
|
-
onClick:
|
|
835
|
+
onClick: te,
|
|
835
836
|
text: "Save"
|
|
836
|
-
})) :
|
|
837
|
+
})) : v("", !0)
|
|
837
838
|
], !0)
|
|
838
|
-
])) :
|
|
839
|
+
])) : v("", !0)
|
|
839
840
|
]),
|
|
840
841
|
_: 3
|
|
841
842
|
}),
|
|
842
|
-
r(e(
|
|
843
|
+
r(e(ft), {
|
|
843
844
|
modelValue: y.value,
|
|
844
845
|
"onUpdate:modelValue": [
|
|
845
846
|
a[15] || (a[15] = (n) => y.value = n),
|
|
846
|
-
|
|
847
|
+
Ge
|
|
847
848
|
],
|
|
848
849
|
class: "ma-0 pa-0"
|
|
849
850
|
}, {
|
|
850
851
|
default: s(() => [
|
|
851
|
-
r(e(
|
|
852
|
+
r(e(De), null, {
|
|
852
853
|
default: s(() => [
|
|
853
|
-
|
|
854
|
+
h(t.$slots, "firstStep", {
|
|
854
855
|
allItems: e(l).asyncItems.value,
|
|
855
|
-
bladeData:
|
|
856
|
+
bladeData: d,
|
|
856
857
|
items: e(l).filteredItems.value,
|
|
857
|
-
meta:
|
|
858
|
+
meta: z.value,
|
|
858
859
|
mode: e(l).mode.value,
|
|
859
|
-
navTo:
|
|
860
|
-
navToName:
|
|
861
|
-
nextStep:
|
|
860
|
+
navTo: C,
|
|
861
|
+
navToName: q,
|
|
862
|
+
nextStep: w,
|
|
862
863
|
refresh: e(l).refresh,
|
|
863
864
|
searchString: e(l).searchString,
|
|
864
|
-
selectItem:
|
|
865
|
+
selectItem: Q,
|
|
865
866
|
showSearch: e(l).showSearch,
|
|
866
867
|
size: t.size,
|
|
867
|
-
style:
|
|
868
|
+
style: W(Y.value),
|
|
868
869
|
toggleSearch: e(l).toggleSearch,
|
|
869
870
|
ui: e(l)
|
|
870
871
|
}, () => [
|
|
871
|
-
e(
|
|
872
|
+
e(G)(e(l).asyncItems.value) ? t.showListOnly || b ? (o(), u(e(_), {
|
|
872
873
|
key: 1,
|
|
873
874
|
"active-class": t.activeClass,
|
|
874
|
-
class:
|
|
875
|
+
class: J(["pt-0", t.scrollY ? "overflow-y-auto" : ""]),
|
|
875
876
|
"bg-color": t.transparent ? "transparent" : void 0,
|
|
876
877
|
flat: "",
|
|
877
878
|
density: t.density,
|
|
878
879
|
lines: t.lines,
|
|
879
|
-
style:
|
|
880
|
+
style: W(Y.value)
|
|
880
881
|
}, {
|
|
881
882
|
default: s(() => [
|
|
882
|
-
r(
|
|
883
|
+
r(e(x), {
|
|
883
884
|
group: "",
|
|
884
885
|
"hide-on-leave": ""
|
|
885
886
|
}, {
|
|
886
887
|
default: s(() => [
|
|
887
|
-
(o(!0), c(
|
|
888
|
-
key: `${n != null && (n == null ? void 0 : n.id) != null ? n.id :
|
|
888
|
+
(o(!0), c(T, null, E(e(l).filteredItems.value, (n, A) => (o(), c(T, {
|
|
889
|
+
key: `${n != null && (n == null ? void 0 : n.id) != null ? n.id : A}-table-list-item`
|
|
889
890
|
}, [
|
|
890
|
-
|
|
891
|
-
bladeData:
|
|
891
|
+
h(t.$slots, "listItem", {
|
|
892
|
+
bladeData: d,
|
|
892
893
|
deleteItem: () => e(l).deleteItem(n),
|
|
893
894
|
item: n,
|
|
894
|
-
index:
|
|
895
|
+
index: A,
|
|
895
896
|
size: t.size,
|
|
896
|
-
select: () =>
|
|
897
|
+
select: () => Q(n)
|
|
897
898
|
}, () => [
|
|
898
|
-
r(e(
|
|
899
|
+
r(e(K), {
|
|
899
900
|
class: "mouse-item",
|
|
900
901
|
density: t.density,
|
|
901
902
|
ripple: t.ripple,
|
|
902
903
|
value: n,
|
|
903
|
-
onClick: (
|
|
904
|
-
},
|
|
904
|
+
onClick: (f) => Q(n)
|
|
905
|
+
}, Ie({
|
|
905
906
|
title: s(() => [
|
|
906
|
-
|
|
907
|
+
h(t.$slots, "itemTitle", {
|
|
907
908
|
item: n,
|
|
908
|
-
index:
|
|
909
|
+
index: A,
|
|
909
910
|
size: t.size
|
|
910
911
|
}, () => [
|
|
911
|
-
(o(!0), c(
|
|
912
|
-
(o(!0), c(
|
|
913
|
-
key:
|
|
912
|
+
(o(!0), c(T, null, E(e(l).titleOptions.value, (f, H) => (o(), c("span", { key: H }, [
|
|
913
|
+
(o(!0), c(T, null, E(f.values, (N, U) => h(t.$slots, N.value, {
|
|
914
|
+
key: U,
|
|
914
915
|
item: n,
|
|
915
916
|
class: "mr-1"
|
|
916
917
|
}, () => [
|
|
917
|
-
r(
|
|
918
|
-
option:
|
|
918
|
+
r(m, {
|
|
919
|
+
option: N,
|
|
919
920
|
data: n
|
|
920
921
|
}, null, 8, ["option", "data"])
|
|
921
922
|
], !0)), 128))
|
|
@@ -923,19 +924,19 @@ const bt = {
|
|
|
923
924
|
], !0)
|
|
924
925
|
]),
|
|
925
926
|
subtitle: s(() => [
|
|
926
|
-
|
|
927
|
+
h(t.$slots, "itemSubtitle", {
|
|
927
928
|
item: n,
|
|
928
|
-
index:
|
|
929
|
+
index: A,
|
|
929
930
|
size: t.size
|
|
930
931
|
}, () => [
|
|
931
|
-
(o(!0), c(
|
|
932
|
-
(o(!0), c(
|
|
933
|
-
key:
|
|
932
|
+
(o(!0), c(T, null, E(e(l).subtitleOptions.value, (f, H) => (o(), c("span", { key: H }, [
|
|
933
|
+
(o(!0), c(T, null, E(f.values, (N, U) => h(t.$slots, N.value, {
|
|
934
|
+
key: U,
|
|
934
935
|
item: n,
|
|
935
936
|
class: "mr-1"
|
|
936
937
|
}, () => [
|
|
937
|
-
r(
|
|
938
|
-
option:
|
|
938
|
+
r(m, {
|
|
939
|
+
option: N,
|
|
939
940
|
data: n
|
|
940
941
|
}, null, 8, ["option", "data"])
|
|
941
942
|
], !0)), 128))
|
|
@@ -943,9 +944,9 @@ const bt = {
|
|
|
943
944
|
], !0)
|
|
944
945
|
]),
|
|
945
946
|
prepend: s(() => [
|
|
946
|
-
|
|
947
|
+
h(t.$slots, "itemPrepend", {
|
|
947
948
|
item: n,
|
|
948
|
-
index:
|
|
949
|
+
index: A,
|
|
949
950
|
size: t.size
|
|
950
951
|
}, void 0, !0)
|
|
951
952
|
]),
|
|
@@ -954,87 +955,87 @@ const bt = {
|
|
|
954
955
|
t.hideActions ? void 0 : {
|
|
955
956
|
name: "append",
|
|
956
957
|
fn: s(() => [
|
|
957
|
-
r(e(
|
|
958
|
+
r(e(Fe), {
|
|
958
959
|
"no-gutters": "",
|
|
959
|
-
class:
|
|
960
|
+
class: J(Ce.value ? "actionButtons" : null)
|
|
960
961
|
}, {
|
|
961
962
|
default: s(() => [
|
|
962
|
-
|
|
963
|
+
h(t.$slots, "itemActions", {
|
|
963
964
|
item: n,
|
|
964
|
-
index:
|
|
965
|
+
index: A,
|
|
965
966
|
items: e(l).asyncItems.value,
|
|
966
|
-
size:
|
|
967
|
+
size: B.value,
|
|
967
968
|
density: t.density,
|
|
968
969
|
ui: e(l)
|
|
969
970
|
}, void 0, !0),
|
|
970
|
-
r(
|
|
971
|
+
r(e(x), {
|
|
971
972
|
group: "",
|
|
972
973
|
"hide-on-leave": ""
|
|
973
974
|
}, {
|
|
974
975
|
default: s(() => [
|
|
975
|
-
!
|
|
976
|
-
r(
|
|
976
|
+
!de.value && e(l).isIntegratable.value(n) ? (o(), c("div", wt, [
|
|
977
|
+
r(e(fe), { "hide-on-leave": "" }, {
|
|
977
978
|
default: s(() => {
|
|
978
|
-
var
|
|
979
|
+
var f, H, N, U;
|
|
979
980
|
return [
|
|
980
981
|
e(l).isIntegrated.value(n) ? (o(), c("div", At, [
|
|
981
982
|
r(e(p), {
|
|
982
983
|
class: "text-success",
|
|
983
984
|
icon: "$cloud-check",
|
|
984
|
-
size:
|
|
985
|
-
title: `Synced with ${(
|
|
985
|
+
size: B.value,
|
|
986
|
+
title: `Synced with ${(f = e(l).currentExternalParty.value) == null ? void 0 : f.party}`,
|
|
986
987
|
variant: "text"
|
|
987
988
|
}, null, 8, ["size", "title"]),
|
|
988
|
-
(
|
|
989
|
+
(H = e(l).currentExternalParty.value) != null && H.canUnlink ? (o(), u(e(p), {
|
|
989
990
|
key: 0,
|
|
990
|
-
onClick: P((
|
|
991
|
+
onClick: P((ye) => e(l).unlinkFromExternalParty(n), ["stop"]),
|
|
991
992
|
class: "text-error",
|
|
992
993
|
icon: "$cloud-remove",
|
|
993
|
-
size:
|
|
994
|
-
title: `Unlink from ${(
|
|
994
|
+
size: B.value,
|
|
995
|
+
title: `Unlink from ${(N = e(l).currentExternalParty.value) == null ? void 0 : N.party}`,
|
|
995
996
|
variant: "text"
|
|
996
|
-
}, null, 8, ["onClick", "size", "title"])) :
|
|
997
|
+
}, null, 8, ["onClick", "size", "title"])) : v("", !0)
|
|
997
998
|
])) : (o(), u(e(p), {
|
|
998
|
-
onClick: P((
|
|
999
|
+
onClick: P((ye) => e(l).pushToExternalParty(n), ["stop"]),
|
|
999
1000
|
icon: "$cloud-upload",
|
|
1000
1001
|
key: "a2",
|
|
1001
|
-
size:
|
|
1002
|
-
title: `Send to ${(
|
|
1002
|
+
size: B.value,
|
|
1003
|
+
title: `Send to ${(U = e(l).currentExternalParty.value) == null ? void 0 : U.party}`,
|
|
1003
1004
|
variant: "text"
|
|
1004
1005
|
}, null, 8, ["onClick", "size", "title"]))
|
|
1005
1006
|
];
|
|
1006
1007
|
}),
|
|
1007
1008
|
_: 2
|
|
1008
1009
|
}, 1024)
|
|
1009
|
-
])) :
|
|
1010
|
+
])) : v("", !0),
|
|
1010
1011
|
n.errorMsg != null ? (o(), u(e(p), {
|
|
1011
1012
|
onClick: a[12] || (a[12] = P(() => {
|
|
1012
1013
|
}, ["stop"])),
|
|
1013
1014
|
class: "text-warning",
|
|
1014
1015
|
icon: "$alert-circle",
|
|
1015
1016
|
key: "1",
|
|
1016
|
-
size:
|
|
1017
|
+
size: B.value,
|
|
1017
1018
|
title: n.errorMsg
|
|
1018
|
-
}, null, 8, ["size", "title"])) :
|
|
1019
|
+
}, null, 8, ["size", "title"])) : v("", !0),
|
|
1019
1020
|
t.canDelete && e(l).isDeletable.value(n) ? (o(), u(e(p), {
|
|
1020
|
-
onClick: P((
|
|
1021
|
+
onClick: P((f) => e(l).deleteItem(n), ["stop"]),
|
|
1021
1022
|
class: "text-error",
|
|
1022
|
-
disabled: !e(
|
|
1023
|
+
disabled: !e(L).canEdit(t.nav),
|
|
1023
1024
|
icon: "$delete",
|
|
1024
1025
|
key: "2",
|
|
1025
1026
|
loading: n.loadingCount > 0,
|
|
1026
|
-
size:
|
|
1027
|
+
size: B.value,
|
|
1027
1028
|
variant: "text"
|
|
1028
|
-
}, null, 8, ["onClick", "disabled", "loading", "size"])) :
|
|
1029
|
+
}, null, 8, ["onClick", "disabled", "loading", "size"])) : v("", !0),
|
|
1029
1030
|
t.canRestore && e(l).isRestorable.value(n) ? (o(), u(e(p), {
|
|
1030
|
-
onClick: P((
|
|
1031
|
-
disabled: !e(
|
|
1031
|
+
onClick: P((f) => e(l).restoreItem(n), ["stop"]),
|
|
1032
|
+
disabled: !e(L).canEdit(t.nav),
|
|
1032
1033
|
key: "3",
|
|
1033
1034
|
icon: "$eraser-variant",
|
|
1034
1035
|
loading: n.loadingCount > 0,
|
|
1035
|
-
size:
|
|
1036
|
+
size: B.value,
|
|
1036
1037
|
variant: "text"
|
|
1037
|
-
}, null, 8, ["onClick", "disabled", "loading", "size"])) :
|
|
1038
|
+
}, null, 8, ["onClick", "disabled", "loading", "size"])) : v("", !0)
|
|
1038
1039
|
]),
|
|
1039
1040
|
_: 2
|
|
1040
1041
|
}, 1024)
|
|
@@ -1047,136 +1048,136 @@ const bt = {
|
|
|
1047
1048
|
]), 1032, ["density", "ripple", "value", "onClick"])
|
|
1048
1049
|
], !0),
|
|
1049
1050
|
t.dividers ? (o(), u(e(gt), {
|
|
1050
|
-
key: "d" +
|
|
1051
|
-
})) :
|
|
1051
|
+
key: "d" + A.toString()
|
|
1052
|
+
})) : v("", !0)
|
|
1052
1053
|
], 64))), 128))
|
|
1053
1054
|
]),
|
|
1054
1055
|
_: 2
|
|
1055
1056
|
}, 1024)
|
|
1056
1057
|
]),
|
|
1057
1058
|
_: 2
|
|
1058
|
-
}, 1032, ["active-class", "class", "bg-color", "density", "lines", "style"])) : t.showTableOnly === !0 || !
|
|
1059
|
+
}, 1032, ["active-class", "class", "bg-color", "density", "lines", "style"])) : t.showTableOnly === !0 || !b ? (o(), u(e(St), {
|
|
1059
1060
|
key: 2,
|
|
1060
1061
|
class: "text-body-2 overflow-y-auto",
|
|
1061
1062
|
density: t.density,
|
|
1062
1063
|
"fixed-header": t.fixedHeader,
|
|
1063
1064
|
hover: "",
|
|
1064
|
-
style:
|
|
1065
|
+
style: W(Y.value)
|
|
1065
1066
|
}, {
|
|
1066
1067
|
default: s(() => [
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
(o(!0), c(
|
|
1068
|
+
R("thead", null, [
|
|
1069
|
+
R("tr", null, [
|
|
1070
|
+
(o(!0), c(T, null, E(e(l).tableHeaders.value, (n) => (o(), c("th", {
|
|
1070
1071
|
key: n.value,
|
|
1071
|
-
class:
|
|
1072
|
-
},
|
|
1073
|
-
t.hideActions ?
|
|
1072
|
+
class: J(`d-none d-${n.showSize ?? "sm"}-table-cell`)
|
|
1073
|
+
}, ae(n.title), 3))), 128)),
|
|
1074
|
+
t.hideActions ? v("", !0) : (o(), c("th", Tt, " Actions "))
|
|
1074
1075
|
])
|
|
1075
1076
|
]),
|
|
1076
|
-
|
|
1077
|
-
r(
|
|
1077
|
+
R("tbody", null, [
|
|
1078
|
+
r(e(x), {
|
|
1078
1079
|
group: "",
|
|
1079
1080
|
"hide-on-leave": ""
|
|
1080
1081
|
}, {
|
|
1081
1082
|
default: s(() => [
|
|
1082
|
-
(o(!0), c(
|
|
1083
|
-
key: `${n.id}${
|
|
1084
|
-
onClick: (
|
|
1083
|
+
(o(!0), c(T, null, E(e(l).filteredItems.value, (n, A) => (o(), c("tr", {
|
|
1084
|
+
key: `${n.id}${A}`,
|
|
1085
|
+
onClick: (f) => Q(n)
|
|
1085
1086
|
}, [
|
|
1086
|
-
(o(!0), c(
|
|
1087
|
-
key: "1" +
|
|
1088
|
-
class:
|
|
1087
|
+
(o(!0), c(T, null, E(e(l).tableHeaders.value, (f) => (o(), c("td", {
|
|
1088
|
+
key: "1" + f.value,
|
|
1089
|
+
class: J(`d-none d-${f.showSize ?? "sm"}-table-cell`)
|
|
1089
1090
|
}, [
|
|
1090
|
-
|
|
1091
|
+
h(t.$slots, f.value, {
|
|
1091
1092
|
item: n,
|
|
1092
|
-
options:
|
|
1093
|
+
options: f
|
|
1093
1094
|
}, () => [
|
|
1094
|
-
r(
|
|
1095
|
-
option:
|
|
1095
|
+
r(m, {
|
|
1096
|
+
option: f,
|
|
1096
1097
|
data: n
|
|
1097
1098
|
}, null, 8, ["option", "data"])
|
|
1098
1099
|
], !0)
|
|
1099
1100
|
], 2))), 128)),
|
|
1100
|
-
t.hideActions ?
|
|
1101
|
+
t.hideActions ? v("", !0) : (o(), c("td", {
|
|
1101
1102
|
key: "itemActions" + n.id,
|
|
1102
1103
|
class: "text-right"
|
|
1103
1104
|
}, [
|
|
1104
|
-
r(
|
|
1105
|
+
r(e(Ve), { "hide-on-leave": "" }, {
|
|
1105
1106
|
default: s(() => [
|
|
1106
|
-
r(e(
|
|
1107
|
+
r(e(Fe), {
|
|
1107
1108
|
"no-gutters": "",
|
|
1108
|
-
class:
|
|
1109
|
+
class: J([Ce.value ? "actionButtons" : null, "flex-nowrap"])
|
|
1109
1110
|
}, {
|
|
1110
1111
|
default: s(() => [
|
|
1111
|
-
r(e(
|
|
1112
|
-
|
|
1112
|
+
r(e(ie)),
|
|
1113
|
+
h(t.$slots, "itemActions", {
|
|
1113
1114
|
item: n,
|
|
1114
1115
|
allItems: e(l).asyncItems.value,
|
|
1115
1116
|
items: e(l).filteredItems.value,
|
|
1116
|
-
size:
|
|
1117
|
+
size: B.value,
|
|
1117
1118
|
density: t.density
|
|
1118
1119
|
}, void 0, !0),
|
|
1119
|
-
!
|
|
1120
|
-
r(
|
|
1120
|
+
!de.value && e(l).isIntegratable.value(n) ? (o(), c("div", Et, [
|
|
1121
|
+
r(e(fe), { "hide-on-leave": "" }, {
|
|
1121
1122
|
default: s(() => {
|
|
1122
|
-
var
|
|
1123
|
+
var f, H, N, U;
|
|
1123
1124
|
return [
|
|
1124
|
-
e(l).isIntegrated.value(n) ? (o(), c("div",
|
|
1125
|
+
e(l).isIntegrated.value(n) ? (o(), c("div", Pt, [
|
|
1125
1126
|
r(e(p), {
|
|
1126
1127
|
class: "text-success",
|
|
1127
1128
|
icon: "$cloud-check",
|
|
1128
|
-
size:
|
|
1129
|
-
title: `Synced with ${(
|
|
1129
|
+
size: B.value,
|
|
1130
|
+
title: `Synced with ${(f = e(l).currentExternalParty.value) == null ? void 0 : f.party}`,
|
|
1130
1131
|
variant: "text"
|
|
1131
1132
|
}, null, 8, ["size", "title"]),
|
|
1132
|
-
(
|
|
1133
|
+
(H = e(l).currentExternalParty.value) != null && H.canUnlink ? (o(), u(e(p), {
|
|
1133
1134
|
key: 0,
|
|
1134
|
-
onClick: P((
|
|
1135
|
+
onClick: P((ye) => e(l).unlinkFromExternalParty(n), ["stop"]),
|
|
1135
1136
|
class: "text-error",
|
|
1136
1137
|
icon: "$cloud-remove",
|
|
1137
|
-
size:
|
|
1138
|
-
title: `Unlink from ${(
|
|
1138
|
+
size: B.value,
|
|
1139
|
+
title: `Unlink from ${(N = e(l).currentExternalParty.value) == null ? void 0 : N.party}`,
|
|
1139
1140
|
variant: "text"
|
|
1140
|
-
}, null, 8, ["onClick", "size", "title"])) :
|
|
1141
|
+
}, null, 8, ["onClick", "size", "title"])) : v("", !0)
|
|
1141
1142
|
])) : (o(), u(e(p), {
|
|
1142
|
-
onClick: P((
|
|
1143
|
+
onClick: P((ye) => e(l).pushToExternalParty(n), ["stop"]),
|
|
1143
1144
|
icon: "$cloud-upload",
|
|
1144
1145
|
key: "a2",
|
|
1145
|
-
size:
|
|
1146
|
-
title: `Send to ${(
|
|
1146
|
+
size: B.value,
|
|
1147
|
+
title: `Send to ${(U = e(l).currentExternalParty.value) == null ? void 0 : U.party}`,
|
|
1147
1148
|
variant: "text"
|
|
1148
1149
|
}, null, 8, ["onClick", "size", "title"]))
|
|
1149
1150
|
];
|
|
1150
1151
|
}),
|
|
1151
1152
|
_: 2
|
|
1152
1153
|
}, 1024)
|
|
1153
|
-
])) :
|
|
1154
|
+
])) : v("", !0),
|
|
1154
1155
|
n.errorMsg != null ? (o(), u(e(p), {
|
|
1155
1156
|
onClick: a[13] || (a[13] = P(() => {
|
|
1156
1157
|
}, ["stop"])),
|
|
1157
1158
|
class: "text-warning",
|
|
1158
1159
|
icon: "$alert-circle",
|
|
1159
1160
|
key: "1",
|
|
1160
|
-
size:
|
|
1161
|
+
size: B.value,
|
|
1161
1162
|
title: n.errorMsg
|
|
1162
|
-
}, null, 8, ["size", "title"])) :
|
|
1163
|
+
}, null, 8, ["size", "title"])) : v("", !0),
|
|
1163
1164
|
t.canDelete && e(l).isDeletable.value(n) ? (o(), u(e(p), {
|
|
1164
|
-
onClick: P((
|
|
1165
|
+
onClick: P((f) => e(l).deleteItem(n), ["stop"]),
|
|
1165
1166
|
class: "text-error",
|
|
1166
|
-
disabled: !e(
|
|
1167
|
+
disabled: !e(L).canEdit(t.nav),
|
|
1167
1168
|
icon: "$delete",
|
|
1168
1169
|
key: "2",
|
|
1169
|
-
size:
|
|
1170
|
+
size: B.value,
|
|
1170
1171
|
variant: "text"
|
|
1171
|
-
}, null, 8, ["onClick", "disabled", "size"])) :
|
|
1172
|
+
}, null, 8, ["onClick", "disabled", "size"])) : v("", !0),
|
|
1172
1173
|
t.canRestore && e(l).isRestorable.value(n) ? (o(), u(e(p), {
|
|
1173
|
-
onClick: P((
|
|
1174
|
-
disabled: !e(
|
|
1174
|
+
onClick: P((f) => e(l).restoreItem(n), ["stop"]),
|
|
1175
|
+
disabled: !e(L).canEdit(t.nav),
|
|
1175
1176
|
key: "3",
|
|
1176
1177
|
icon: "$eraser-variant",
|
|
1177
|
-
size:
|
|
1178
|
+
size: B.value,
|
|
1178
1179
|
variant: "text"
|
|
1179
|
-
}, null, 8, ["onClick", "disabled", "size"])) :
|
|
1180
|
+
}, null, 8, ["onClick", "disabled", "size"])) : v("", !0)
|
|
1180
1181
|
]),
|
|
1181
1182
|
_: 2
|
|
1182
1183
|
}, 1032, ["class"])
|
|
@@ -1184,23 +1185,23 @@ const bt = {
|
|
|
1184
1185
|
_: 2
|
|
1185
1186
|
}, 1024)
|
|
1186
1187
|
]))
|
|
1187
|
-
], 8,
|
|
1188
|
+
], 8, It))), 128))
|
|
1188
1189
|
]),
|
|
1189
1190
|
_: 3
|
|
1190
1191
|
})
|
|
1191
1192
|
])
|
|
1192
1193
|
]),
|
|
1193
1194
|
_: 3
|
|
1194
|
-
}, 8, ["density", "fixed-header", "style"])) :
|
|
1195
|
+
}, 8, ["density", "fixed-header", "style"])) : v("", !0) : (o(), c("div", {
|
|
1195
1196
|
key: 0,
|
|
1196
|
-
class:
|
|
1197
|
-
style:
|
|
1197
|
+
class: J(t.scrollY ? "overflow-y-auto" : ""),
|
|
1198
|
+
style: W(Y.value)
|
|
1198
1199
|
}, [
|
|
1199
|
-
|
|
1200
|
-
bladeData:
|
|
1201
|
-
create:
|
|
1202
|
-
navTo:
|
|
1203
|
-
nextStep:
|
|
1200
|
+
h(t.$slots, "notFound", {
|
|
1201
|
+
bladeData: d,
|
|
1202
|
+
create: O,
|
|
1203
|
+
navTo: C,
|
|
1204
|
+
nextStep: w,
|
|
1204
1205
|
refresh: e(l).refresh,
|
|
1205
1206
|
size: t.size
|
|
1206
1207
|
}, void 0, !0)
|
|
@@ -1209,38 +1210,38 @@ const bt = {
|
|
|
1209
1210
|
]),
|
|
1210
1211
|
_: 2
|
|
1211
1212
|
}, 1024),
|
|
1212
|
-
(o(!0), c(
|
|
1213
|
-
key:
|
|
1213
|
+
(o(!0), c(T, null, E(t.steps, (n, A) => (o(), u(e(De), {
|
|
1214
|
+
key: A,
|
|
1214
1215
|
class: "ma-0 pa-0"
|
|
1215
1216
|
}, {
|
|
1216
1217
|
default: s(() => [
|
|
1217
|
-
|
|
1218
|
-
isChanged: e(
|
|
1219
|
-
isShowing:
|
|
1220
|
-
item: e(
|
|
1221
|
-
meta:
|
|
1218
|
+
h(t.$slots, `${n.name}-top`, {
|
|
1219
|
+
isChanged: e(D),
|
|
1220
|
+
isShowing: A == y.value - 1,
|
|
1221
|
+
item: e(S),
|
|
1222
|
+
meta: z.value,
|
|
1222
1223
|
mode: e(l).mode.value,
|
|
1223
|
-
navTo:
|
|
1224
|
-
navToName:
|
|
1225
|
-
nextStep:
|
|
1224
|
+
navTo: C,
|
|
1225
|
+
navToName: q,
|
|
1226
|
+
nextStep: w,
|
|
1226
1227
|
ui: e(l)
|
|
1227
1228
|
}, void 0, !0),
|
|
1228
1229
|
r(e(kt), {
|
|
1229
|
-
style:
|
|
1230
|
+
style: W(Y.value),
|
|
1230
1231
|
class: "overflow-y-auto"
|
|
1231
|
-
},
|
|
1232
|
+
}, Ie({
|
|
1232
1233
|
default: s(() => [
|
|
1233
|
-
|
|
1234
|
-
meta:
|
|
1234
|
+
h(t.$slots, `${n.name}`, {
|
|
1235
|
+
meta: z.value,
|
|
1235
1236
|
mode: e(l).mode.value,
|
|
1236
|
-
isChanged: e(
|
|
1237
|
-
isShowing:
|
|
1238
|
-
item: e(
|
|
1239
|
-
navTo:
|
|
1240
|
-
navToName:
|
|
1241
|
-
nextStep:
|
|
1242
|
-
save:
|
|
1243
|
-
style:
|
|
1237
|
+
isChanged: e(D),
|
|
1238
|
+
isShowing: A == y.value - 1,
|
|
1239
|
+
item: e(S),
|
|
1240
|
+
navTo: C,
|
|
1241
|
+
navToName: q,
|
|
1242
|
+
nextStep: w,
|
|
1243
|
+
save: te,
|
|
1244
|
+
style: W(Y.value),
|
|
1244
1245
|
ui: e(l)
|
|
1245
1246
|
}, void 0, !0)
|
|
1246
1247
|
]),
|
|
@@ -1249,38 +1250,38 @@ const bt = {
|
|
|
1249
1250
|
n.hideActions !== !0 ? {
|
|
1250
1251
|
name: "actions",
|
|
1251
1252
|
fn: s(() => [
|
|
1252
|
-
|
|
1253
|
-
meta:
|
|
1253
|
+
h(t.$slots, `${n.name}-actions`, {
|
|
1254
|
+
meta: z.value,
|
|
1254
1255
|
mode: e(l).mode.value,
|
|
1255
|
-
isChanged: e(
|
|
1256
|
-
isShowing:
|
|
1257
|
-
item: e(
|
|
1258
|
-
canMoveNext:
|
|
1259
|
-
canSave:
|
|
1260
|
-
canSkip:
|
|
1261
|
-
navTo:
|
|
1262
|
-
nextStep:
|
|
1263
|
-
save:
|
|
1256
|
+
isChanged: e(D),
|
|
1257
|
+
isShowing: A == y.value - 1,
|
|
1258
|
+
item: e(S),
|
|
1259
|
+
canMoveNext: re.value,
|
|
1260
|
+
canSave: ue.value,
|
|
1261
|
+
canSkip: be.value,
|
|
1262
|
+
navTo: C,
|
|
1263
|
+
nextStep: w,
|
|
1264
|
+
save: te,
|
|
1264
1265
|
ui: e(l)
|
|
1265
1266
|
}, () => [
|
|
1266
|
-
r(e(
|
|
1267
|
-
|
|
1267
|
+
r(e(ie)),
|
|
1268
|
+
ue.value ? (o(), u(e(p), {
|
|
1268
1269
|
key: 0,
|
|
1269
1270
|
"prepend-icon": "$content-save",
|
|
1270
|
-
onClick:
|
|
1271
|
+
onClick: te,
|
|
1271
1272
|
text: "Save"
|
|
1272
|
-
})) :
|
|
1273
|
-
|
|
1273
|
+
})) : v("", !0),
|
|
1274
|
+
We.value ? (o(), u(e(p), {
|
|
1274
1275
|
key: 1,
|
|
1275
1276
|
"prepend-icon": "$check",
|
|
1276
|
-
onClick: a[14] || (a[14] = (
|
|
1277
|
+
onClick: a[14] || (a[14] = (f) => C(0)),
|
|
1277
1278
|
text: "Done"
|
|
1278
|
-
})) :
|
|
1279
|
-
|
|
1279
|
+
})) : v("", !0),
|
|
1280
|
+
re.value ? (o(), u(e(p), {
|
|
1280
1281
|
key: 2,
|
|
1281
|
-
onClick:
|
|
1282
|
+
onClick: w,
|
|
1282
1283
|
text: "Next"
|
|
1283
|
-
})) :
|
|
1284
|
+
})) : v("", !0)
|
|
1284
1285
|
], !0)
|
|
1285
1286
|
]),
|
|
1286
1287
|
key: "0"
|
|
@@ -1292,22 +1293,22 @@ const bt = {
|
|
|
1292
1293
|
]),
|
|
1293
1294
|
_: 2
|
|
1294
1295
|
}, 1032, ["modelValue"]),
|
|
1295
|
-
|
|
1296
|
+
h(t.$slots, "bottom", {
|
|
1296
1297
|
mode: e(l).mode.value,
|
|
1297
|
-
newItem:
|
|
1298
|
+
newItem: O,
|
|
1298
1299
|
size: t.size,
|
|
1299
1300
|
allItems: e(l).asyncItems.value,
|
|
1300
1301
|
items: e(l).filteredItems.value,
|
|
1301
1302
|
ui: e(l)
|
|
1302
1303
|
}, void 0, !0)
|
|
1303
1304
|
], !0),
|
|
1304
|
-
y.value == 0 && !e(
|
|
1305
|
+
y.value == 0 && !e(ne)(t.paginate) ? (o(), c("div", Vt, [
|
|
1305
1306
|
r(e($t), {
|
|
1306
1307
|
modelValue: e(l).currentPage.value,
|
|
1307
1308
|
"onUpdate:modelValue": a[16] || (a[16] = (n) => e(l).currentPage.value = n),
|
|
1308
1309
|
length: e(l).totalPages.value
|
|
1309
1310
|
}, null, 8, ["modelValue", "length"])
|
|
1310
|
-
])) :
|
|
1311
|
+
])) : v("", !0)
|
|
1311
1312
|
]),
|
|
1312
1313
|
_: 3
|
|
1313
1314
|
}, 8, ["bladeName", "bladeStartShowing", "bordered", "density", "flat", "errorMsg", "hideSubtoolbar", "hideToolbar", "label", "loadingMsg", "preset", "showOnlyTitleLeft", "size", "transparent", "variant"]);
|
|
@@ -1315,5 +1316,5 @@ const bt = {
|
|
|
1315
1316
|
}
|
|
1316
1317
|
});
|
|
1317
1318
|
export {
|
|
1318
|
-
|
|
1319
|
+
ol as default
|
|
1319
1320
|
};
|