bt-core-app 2.2.50 → 2.2.51

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