jplan-pack 0.6.51 → 0.6.53

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,4 +1,4 @@
1
- import { defineComponent as Te, resolveComponent as Un, unref as ie, openBlock as L, createElementBlock as re, createVNode as I, withCtx as k, normalizeStyle as Ka, createCommentVNode as fe, Fragment as it, createBlock as Q, resolveDynamicComponent as za, createTextVNode as $, toDisplayString as _e, useSlots as QR, mergeProps as qt, renderSlot as Se, effectScope as Lv, ref as ee, markRaw as bo, toRaw as Ri, watch as xi, hasInjectionContext as XR, inject as Uv, getCurrentInstance as Va, reactive as ZR, isRef as Oo, isReactive as uh, toRef as Gu, nextTick as Pd, computed as Ot, getCurrentScope as ek, onScopeDispose as tk, toRefs as Gm, onUnmounted as dh, onMounted as Hv, normalizeClass as Oa, createElementVNode as te, toHandlers as nk, withModifiers as Fv, TransitionGroup as rk, renderList as oo, provide as ok, createApp as ik, normalizeProps as ak, guardReactiveProps as sk, mergeModels as Rc, useModel as Po, createSlots as ck, h as _a, withKeys as lk, withDirectives as jm, vShow as Ym, useAttrs as uk, onBeforeMount as dk } from "vue";
1
+ import { defineComponent as Te, resolveComponent as Un, unref as ie, openBlock as L, createElementBlock as re, createVNode as I, withCtx as k, normalizeStyle as Ka, createCommentVNode as ge, Fragment as it, createBlock as Q, resolveDynamicComponent as za, createTextVNode as $, toDisplayString as _e, useSlots as QR, mergeProps as qt, renderSlot as Se, effectScope as Lv, ref as ee, markRaw as bo, toRaw as Ri, watch as xi, hasInjectionContext as XR, inject as Uv, getCurrentInstance as Va, reactive as ZR, isRef as Oo, isReactive as uh, toRef as Gu, nextTick as Pd, computed as Ot, getCurrentScope as ek, onScopeDispose as tk, toRefs as Gm, onUnmounted as dh, onMounted as Hv, normalizeClass as Oa, createElementVNode as te, toHandlers as nk, withModifiers as Fv, TransitionGroup as rk, renderList as oo, provide as ok, createApp as ik, normalizeProps as ak, guardReactiveProps as sk, mergeModels as Rc, useModel as Po, createSlots as ck, h as _a, withKeys as lk, withDirectives as jm, vShow as Ym, useAttrs as uk, onBeforeMount as dk } from "vue";
2
2
  import * as hk from "@vueuse/core";
3
3
  import { useClipboard as fk } from "@vueuse/core";
4
4
  import { VBtn as je } from "vuetify/lib/components/VBtn/index.mjs";
@@ -48,7 +48,7 @@ const Ik = { key: 0 }, Rk = { key: 1 }, fh = /* @__PURE__ */ Te({
48
48
  key: 0,
49
49
  style: Ka({ fontSize: typeof e.size == "number" ? e.size - 4 + "px" : void 0 }),
50
50
  class: "ms-1"
51
- }, " Copied ", 4)) : fe("", !0)
51
+ }, " Copied ", 4)) : ge("", !0)
52
52
  ])) : (L(), re("p", Rk, "Your browser does not support Clipboard API"));
53
53
  };
54
54
  }
@@ -69,7 +69,7 @@ const Ik = { key: 0 }, Rk = { key: 1 }, fh = /* @__PURE__ */ Te({
69
69
  size: e.size,
70
70
  "stroke-width": e.stroke,
71
71
  color: e.color
72
- }, null, 8, ["size", "stroke-width", "color"])) : fe("", !0),
72
+ }, null, 8, ["size", "stroke-width", "color"])) : ge("", !0),
73
73
  typeof e.item == "string" ? (L(), Q(kc, {
74
74
  key: 1,
75
75
  color: e.color,
@@ -79,7 +79,7 @@ const Ik = { key: 0 }, Rk = { key: 1 }, fh = /* @__PURE__ */ Te({
79
79
  $(_e(e.item), 1)
80
80
  ]),
81
81
  _: 1
82
- }, 8, ["color", "size"])) : fe("", !0)
82
+ }, 8, ["color", "size"])) : ge("", !0)
83
83
  ], 64));
84
84
  }
85
85
  }), kk = /* @__PURE__ */ Te({
@@ -112,7 +112,7 @@ const Ik = { key: 0 }, Rk = { key: 1 }, fh = /* @__PURE__ */ Te({
112
112
  key: 0,
113
113
  item: s.icon,
114
114
  size: s.size
115
- }, null, 8, ["item", "size"])) : fe("", !0),
115
+ }, null, 8, ["item", "size"])) : ge("", !0),
116
116
  Se(n.$slots, "default")
117
117
  ]),
118
118
  _: 2
@@ -132,7 +132,7 @@ const Ik = { key: 0 }, Rk = { key: 1 }, fh = /* @__PURE__ */ Te({
132
132
  key: 0,
133
133
  item: e.icon,
134
134
  size: e.size
135
- }, null, 8, ["item", "size"])) : fe("", !0),
135
+ }, null, 8, ["item", "size"])) : ge("", !0),
136
136
  Se(n.$slots, "default")
137
137
  ]),
138
138
  _: 3
@@ -1159,7 +1159,7 @@ const WH = /* @__PURE__ */ iO({
1159
1159
  openDialog: t,
1160
1160
  closeDialog: n
1161
1161
  };
1162
- }, ge = ee(!1);
1162
+ }, fe = ee(!1);
1163
1163
  var aO = Object.defineProperty, rp = Object.getOwnPropertySymbols, sO = Object.prototype.hasOwnProperty, cO = Object.prototype.propertyIsEnumerable, op = (r, e, t) => e in r ? aO(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, ay = (r, e) => {
1164
1164
  for (var t in e || (e = {}))
1165
1165
  sO.call(e, t) && op(r, t, e[t]);
@@ -1670,7 +1670,7 @@ function GO(r, e) {
1670
1670
  key: 0,
1671
1671
  "custom-icon": r.icon,
1672
1672
  type: r.type
1673
- }, null, 8, ["custom-icon", "type"])) : fe("v-if", !0),
1673
+ }, null, 8, ["custom-icon", "type"])) : ge("v-if", !0),
1674
1674
  te("div", {
1675
1675
  role: r.accessibility.toastRole || "alert",
1676
1676
  class: Oa(r.bodyClasses)
@@ -1689,14 +1689,14 @@ function GO(r, e) {
1689
1689
  "show-on-hover": r.showCloseButtonOnHover,
1690
1690
  "aria-label": r.accessibility.closeButtonLabel,
1691
1691
  onClick: Fv(r.closeToast, ["stop"])
1692
- }, null, 8, ["component", "class-names", "show-on-hover", "aria-label", "onClick"])) : fe("v-if", !0),
1692
+ }, null, 8, ["component", "class-names", "show-on-hover", "aria-label", "onClick"])) : ge("v-if", !0),
1693
1693
  r.timeout ? (L(), Q(i, {
1694
1694
  key: 2,
1695
1695
  "is-running": r.isRunning,
1696
1696
  "hide-progress-bar": r.hideProgressBar,
1697
1697
  timeout: r.timeout,
1698
1698
  onCloseToast: r.timeoutHandler
1699
- }, null, 8, ["is-running", "hide-progress-bar", "timeout", "onCloseToast"])) : fe("v-if", !0)
1699
+ }, null, 8, ["is-running", "hide-progress-bar", "timeout", "onCloseToast"])) : ge("v-if", !0)
1700
1700
  ], 38);
1701
1701
  }
1702
1702
  Cy.render = GO;
@@ -1951,7 +1951,7 @@ const n0 = { class: "d-flex align-center" }, r0 = { key: 1 }, o0 = { class: "ms-
1951
1951
  ]),
1952
1952
  _: 3
1953
1953
  })
1954
- ], 64)) : fe("", !0),
1954
+ ], 64)) : ge("", !0),
1955
1955
  t.buttons ? (L(), re(it, { key: 1 }, [
1956
1956
  I(Mo, { class: "mx-5 mt-2" }),
1957
1957
  I(Ca, null, {
@@ -1965,7 +1965,7 @@ const n0 = { class: "d-flex align-center" }, r0 = { key: 1 }, o0 = { class: "ms-
1965
1965
  Se(f.$slots, "metadata")
1966
1966
  ]),
1967
1967
  _: 3
1968
- })) : fe("", !0),
1968
+ })) : ge("", !0),
1969
1969
  I(Da),
1970
1970
  I(je, {
1971
1971
  class: "j-btn-form",
@@ -1993,13 +1993,13 @@ const n0 = { class: "d-flex align-center" }, r0 = { key: 1 }, o0 = { class: "ms-
1993
1993
  ]),
1994
1994
  _: 3
1995
1995
  })
1996
- ], 64)) : fe("", !0)
1996
+ ], 64)) : ge("", !0)
1997
1997
  ]),
1998
1998
  _: 3
1999
1999
  }, 8, ["loading"])
2000
2000
  ]),
2001
2001
  _: 3
2002
- }, 8, ["scrim", "width", "modelValue"])) : fe("", !0),
2002
+ }, 8, ["scrim", "width", "modelValue"])) : ge("", !0),
2003
2003
  f.variant === "confirm" ? (L(), Q(uc, {
2004
2004
  key: 1,
2005
2005
  scrim: "background",
@@ -2065,7 +2065,7 @@ const n0 = { class: "d-flex align-center" }, r0 = { key: 1 }, o0 = { class: "ms-
2065
2065
  }, 8, ["loading", "title"])
2066
2066
  ]),
2067
2067
  _: 1
2068
- }, 8, ["width", "modelValue"])) : fe("", !0),
2068
+ }, 8, ["width", "modelValue"])) : ge("", !0),
2069
2069
  f.variant === "empty" ? (L(), Q(uc, {
2070
2070
  key: 2,
2071
2071
  scrim: t.scrim,
@@ -2078,7 +2078,7 @@ const n0 = { class: "d-flex align-center" }, r0 = { key: 1 }, o0 = { class: "ms-
2078
2078
  Se(f.$slots, "default")
2079
2079
  ]),
2080
2080
  _: 3
2081
- }, 8, ["scrim", "width", "modelValue"])) : fe("", !0)
2081
+ }, 8, ["scrim", "width", "modelValue"])) : ge("", !0)
2082
2082
  ], 64);
2083
2083
  };
2084
2084
  }
@@ -2516,7 +2516,7 @@ const h0 = /* @__PURE__ */ Te({
2516
2516
  I(ie(mk), null, {
2517
2517
  default: k(() => [
2518
2518
  (L(!0), re(it, null, oo(e.options, (i, s) => (L(), re(it, { key: s }, [
2519
- i.title ? (L(), re("div", f0, _e(i.title), 1)) : fe("", !0),
2519
+ i.title ? (L(), re("div", f0, _e(i.title), 1)) : ge("", !0),
2520
2520
  i.action ? (L(), Q(ie(pk), {
2521
2521
  key: 1,
2522
2522
  class: "cursor-pointer",
@@ -2531,11 +2531,11 @@ const h0 = /* @__PURE__ */ Te({
2531
2531
  }, 1024)
2532
2532
  ]),
2533
2533
  _: 2
2534
- }, 1032, ["onClick"])) : fe("", !0),
2534
+ }, 1032, ["onClick"])) : ge("", !0),
2535
2535
  i.divider ? (L(), Q(ie(yk), {
2536
2536
  key: 2,
2537
2537
  class: "mt-2"
2538
- })) : fe("", !0)
2538
+ })) : ge("", !0)
2539
2539
  ], 64))), 128))
2540
2540
  ]),
2541
2541
  _: 1
@@ -2567,7 +2567,7 @@ const h0 = /* @__PURE__ */ Te({
2567
2567
  $(_e(e.title), 1)
2568
2568
  ]),
2569
2569
  _: 1
2570
- })) : fe("", !0),
2570
+ })) : ge("", !0),
2571
2571
  Se(t.$slots, "default")
2572
2572
  ]),
2573
2573
  _: 3
@@ -2821,7 +2821,7 @@ const h0 = /* @__PURE__ */ Te({
2821
2821
  "no-data": k(() => [
2822
2822
  !i.loading && i.items.length === 0 ? (L(), re(it, { key: 0 }, [
2823
2823
  $(" This table is empty.")
2824
- ], 64)) : fe("", !0)
2824
+ ], 64)) : ge("", !0)
2825
2825
  ]),
2826
2826
  _: 3
2827
2827
  }, 8, ["modelValue", "headers", "items", "items-length", "loading", "sort-by"]));
@@ -5377,7 +5377,7 @@ const uM = { class: "d-inline-flex" }, dM = { class: "d-inline-flex" }, hM = { c
5377
5377
  "no-data": k(() => [
5378
5378
  !f.loading && f.items.length === 0 ? (L(), re(it, { key: 0 }, [
5379
5379
  $("No records found.")
5380
- ], 64)) : fe("", !0)
5380
+ ], 64)) : ge("", !0)
5381
5381
  ]),
5382
5382
  _: 2
5383
5383
  }, [
@@ -5539,7 +5539,7 @@ const uM = { class: "d-inline-flex" }, dM = { class: "d-inline-flex" }, hM = { c
5539
5539
  ie(h) ? (L(), Q(ie(Ay), {
5540
5540
  key: 0,
5541
5541
  onRemoveAll: y[3] || (y[3] = (C) => t("remove"))
5542
- })) : fe("", !0),
5542
+ })) : ge("", !0),
5543
5543
  Se(p.$slots, "left-append", {}, void 0, !0)
5544
5544
  ]),
5545
5545
  _: 3
@@ -5621,7 +5621,7 @@ const uM = { class: "d-inline-flex" }, dM = { class: "d-inline-flex" }, hM = { c
5621
5621
  ], 64);
5622
5622
  };
5623
5623
  }
5624
- }), _M = /* @__PURE__ */ qa(yM, [["__scopeId", "data-v-8188268e"]]);
5624
+ }), _M = /* @__PURE__ */ qa(yM, [["__scopeId", "data-v-ecaf75ac"]]);
5625
5625
  /*!
5626
5626
  * vue-draggable-next v2.2.0
5627
5627
  * (c) 2023 Anish George
@@ -7221,7 +7221,7 @@ const oN = {
7221
7221
  $(_e(u.icon), 1)
7222
7222
  ]),
7223
7223
  _: 2
7224
- }, 1024)) : fe("", !0)
7224
+ }, 1024)) : ge("", !0)
7225
7225
  ])
7226
7226
  ]),
7227
7227
  _: 2
@@ -7300,22 +7300,22 @@ const oN = {
7300
7300
  height: i.size,
7301
7301
  width: i.size,
7302
7302
  alt: ""
7303
- }, null, 8, sN)) : fe("", !0)
7303
+ }, null, 8, sN)) : ge("", !0)
7304
7304
  ]),
7305
7305
  _: 1
7306
7306
  })
7307
7307
  ]),
7308
7308
  _: 1
7309
7309
  }),
7310
- t() ? (L(), re("div", cN, _e(i.item[t()]), 1)) : fe("", !0),
7311
- n() ? (L(), re("div", lN, _e(i.item[n()]), 1)) : fe("", !0),
7310
+ t() ? (L(), re("div", cN, _e(i.item[t()]), 1)) : ge("", !0),
7311
+ n() ? (L(), re("div", lN, _e(i.item[n()]), 1)) : ge("", !0),
7312
7312
  I(Mo, { class: "ma-3" }),
7313
7313
  I(Na, { class: "d-flex flex-column align-center pa-4 pt-1" }, {
7314
7314
  default: k(() => [
7315
7315
  (L(!0), re(it, null, oo(i.columns, (c) => (L(), re(it, {
7316
7316
  key: c.key
7317
7317
  }, [
7318
- i.item[c.key] && !c.isHeader && !c.isSubtitle ? (L(), re("div", uN, _e(c.title) + ": " + _e(i.item[c.key]), 1)) : fe("", !0)
7318
+ i.item[c.key] && !c.isHeader && !c.isSubtitle ? (L(), re("div", uN, _e(c.title) + ": " + _e(i.item[c.key]), 1)) : ge("", !0)
7319
7319
  ], 64))), 128)),
7320
7320
  te("div", dN, [
7321
7321
  i.tags ? (L(!0), re(it, { key: 0 }, oo(i.tags, (c) => (L(), Q(Ak, {
@@ -7326,7 +7326,7 @@ const oN = {
7326
7326
  $(_e(c), 1)
7327
7327
  ]),
7328
7328
  _: 2
7329
- }, 1024))), 128)) : fe("", !0)
7329
+ }, 1024))), 128)) : ge("", !0)
7330
7330
  ])
7331
7331
  ]),
7332
7332
  _: 1
@@ -7341,12 +7341,10 @@ const oN = {
7341
7341
  data: {},
7342
7342
  columns: {},
7343
7343
  size: {},
7344
- view: {},
7345
7344
  itemKey: {}
7346
7345
  },
7347
7346
  setup(r) {
7348
- return (e, t) => e.view === "card" ? (L(), Q(hr, {
7349
- key: 0,
7347
+ return (e, t) => (L(), Q(hr, {
7350
7348
  class: "mt-5 border tb-cards-h",
7351
7349
  wrap: ""
7352
7350
  }, {
@@ -7375,9 +7373,9 @@ const oN = {
7375
7373
  }, 1024))), 128))
7376
7374
  ]),
7377
7375
  _: 3
7378
- })) : fe("", !0);
7376
+ }));
7379
7377
  }
7380
- }), fN = /* @__PURE__ */ qa(hN, [["__scopeId", "data-v-22d1c8f9"]]), gN = { class: "j-field px-4 py-3 rounded-sm bg-containerBg" }, Gy = /* @__PURE__ */ Te({
7378
+ }), fN = /* @__PURE__ */ qa(hN, [["__scopeId", "data-v-e1a4ccbc"]]), gN = { class: "j-field px-4 py-3 rounded-sm bg-containerBg" }, Gy = /* @__PURE__ */ Te({
7381
7379
  __name: "ReadOnlyField",
7382
7380
  props: {
7383
7381
  value: {}
@@ -7403,7 +7401,7 @@ const oN = {
7403
7401
  setup(r, { emit: e }) {
7404
7402
  const t = r, n = e, i = Ot(() => t.readonly ? "solo" : "solo-filled");
7405
7403
  return (s, c) => (L(), re("div", null, [
7406
- s.name ? (L(), re("p", mN, _e(s.name), 1)) : fe("", !0),
7404
+ s.name ? (L(), re("p", mN, _e(s.name), 1)) : ge("", !0),
7407
7405
  s.label ? (L(), Q(xa, {
7408
7406
  key: 1,
7409
7407
  class: "text-subtitle-1 text-high-emphasis mb-2"
@@ -7412,8 +7410,8 @@ const oN = {
7412
7410
  $(_e(s.label), 1)
7413
7411
  ]),
7414
7412
  _: 1
7415
- })) : fe("", !0),
7416
- s.readonly ? fe("", !0) : (L(), Q(ie(_k), {
7413
+ })) : ge("", !0),
7414
+ s.readonly ? ge("", !0) : (L(), Q(ie(_k), {
7417
7415
  key: 2,
7418
7416
  variant: i.value,
7419
7417
  color: "secondary",
@@ -7430,7 +7428,7 @@ const oN = {
7430
7428
  s.readonly ? (L(), Q(Gy, {
7431
7429
  key: 3,
7432
7430
  value: s.modelValue
7433
- }, null, 8, ["value"])) : fe("", !0)
7431
+ }, null, 8, ["value"])) : ge("", !0)
7434
7432
  ]));
7435
7433
  }
7436
7434
  }), vN = { class: "text-faded mt-7" }, yN = { class: "d-flex align-baseline mb-1" }, _N = { class: "me-1" }, CN = { class: "max-w-_form-metadataJ" }, wN = {
@@ -7477,7 +7475,7 @@ const oN = {
7477
7475
  ])
7478
7476
  ]),
7479
7477
  _: 1
7480
- })) : fe("", !0),
7478
+ })) : ge("", !0),
7481
7479
  I(kt, {
7482
7480
  cols: "auto",
7483
7481
  class: "d-flex flex-column align-baseline px-2 mt-1"
@@ -7535,7 +7533,7 @@ const oN = {
7535
7533
  n("update:modelValue", u);
7536
7534
  };
7537
7535
  return (u, h) => (L(), re(it, null, [
7538
- u.name ? (L(), re("p", AN, _e(u.name), 1)) : fe("", !0),
7536
+ u.name ? (L(), re("p", AN, _e(u.name), 1)) : ge("", !0),
7539
7537
  u.label ? (L(), Q(xa, {
7540
7538
  key: 1,
7541
7539
  class: "text-subtitle-1 text-high-emphasis mb-2"
@@ -7544,7 +7542,7 @@ const oN = {
7544
7542
  $(_e(u.label), 1)
7545
7543
  ]),
7546
7544
  _: 1
7547
- })) : fe("", !0),
7545
+ })) : ge("", !0),
7548
7546
  u.readonly ? (L(), Q(Gy, {
7549
7547
  key: 3,
7550
7548
  value: s.value
@@ -7589,7 +7587,7 @@ const oN = {
7589
7587
  setup(r, { emit: e }) {
7590
7588
  const t = r, n = e, i = Ot(() => t.readonly ? "solo" : "solo-filled");
7591
7589
  return (s, c) => (L(), re(it, null, [
7592
- s.name ? (L(), re("p", SN, _e(s.name), 1)) : fe("", !0),
7590
+ s.name ? (L(), re("p", SN, _e(s.name), 1)) : ge("", !0),
7593
7591
  s.label ? (L(), Q(xa, {
7594
7592
  key: 1,
7595
7593
  class: "text-subtitle-1 text-high-emphasis mb-2"
@@ -7598,8 +7596,8 @@ const oN = {
7598
7596
  $(_e(s.label), 1)
7599
7597
  ]),
7600
7598
  _: 1
7601
- })) : fe("", !0),
7602
- s.readonly ? fe("", !0) : (L(), Q(bk, {
7599
+ })) : ge("", !0),
7600
+ s.readonly ? ge("", !0) : (L(), Q(bk, {
7603
7601
  key: 2,
7604
7602
  variant: i.value,
7605
7603
  "bg-color": "containerBg",
@@ -7610,7 +7608,7 @@ const oN = {
7610
7608
  "onUpdate:modelValue": c[0] || (c[0] = (u) => n("update:modelValue", u)),
7611
7609
  "no-resize": ""
7612
7610
  }, null, 8, ["variant", "rows", "hideDetails", "value"])),
7613
- s.readonly ? (L(), re("div", IN, _e(s.modelValue), 1)) : fe("", !0)
7611
+ s.readonly ? (L(), re("div", IN, _e(s.modelValue), 1)) : ge("", !0)
7614
7612
  ], 64));
7615
7613
  }
7616
7614
  }), jy = /* @__PURE__ */ Te({
@@ -7676,7 +7674,7 @@ const oN = {
7676
7674
  class: "d-flex flex-column ma-0"
7677
7675
  }, {
7678
7676
  default: k(() => [
7679
- n.title ? (L(), Q(Mo, { key: 0 })) : fe("", !0),
7677
+ n.title ? (L(), Q(Mo, { key: 0 })) : ge("", !0),
7680
7678
  te("div", kN, [
7681
7679
  Se(n.$slots, "default")
7682
7680
  ]),
@@ -7752,7 +7750,7 @@ const oN = {
7752
7750
  "content-to-copy": g.id,
7753
7751
  size: 20
7754
7752
  }, null, 8, ["content-to-copy"])
7755
- ])) : fe("", !0),
7753
+ ])) : ge("", !0),
7756
7754
  I(Da),
7757
7755
  te("div", DN, [
7758
7756
  I(je, {
@@ -7764,7 +7762,7 @@ const oN = {
7764
7762
  key: 0,
7765
7763
  size: "11",
7766
7764
  class: "me-2"
7767
- })) : fe("", !0),
7765
+ })) : ge("", !0),
7768
7766
  I(kc, { class: "me-2" }, {
7769
7767
  default: k(() => p[1] || (p[1] = [
7770
7768
  $("mdi-delete-outline")
@@ -7855,7 +7853,7 @@ const oN = {
7855
7853
  ]),
7856
7854
  _: 1
7857
7855
  }),
7858
- i.readonly ? fe("", !0) : (L(), Q(kt, {
7856
+ i.readonly ? ge("", !0) : (L(), Q(kt, {
7859
7857
  key: 0,
7860
7858
  class: "d-flex align-end",
7861
7859
  cols: "auto"
@@ -7865,11 +7863,11 @@ const oN = {
7865
7863
  key: 0,
7866
7864
  title: "Back",
7867
7865
  onCancel: s[0] || (s[0] = (c) => t("onCancel"))
7868
- })) : fe("", !0),
7866
+ })) : ge("", !0),
7869
7867
  "onSave" in ie(n) ? (L(), Q(Yy, {
7870
7868
  key: 1,
7871
7869
  onOnSave: s[1] || (s[1] = (c) => t("onSave"))
7872
- })) : fe("", !0)
7870
+ })) : ge("", !0)
7873
7871
  ]),
7874
7872
  _: 1
7875
7873
  }))
@@ -23566,11 +23564,11 @@ function print() { __p += __j.call(arguments, '') }
23566
23564
  var Bi = J2();
23567
23565
  const Ic = /* @__PURE__ */ j2(Bi), Q2 = {
23568
23566
  path: "/_/dashboard",
23569
- component: () => import("./AuthRoute-CTRdlqNE.mjs"),
23567
+ component: () => import("./AuthRoute-DopltMJG.mjs"),
23570
23568
  meta: { requiresAuth: !1 }
23571
23569
  }, X2 = {
23572
23570
  path: "/jplan-auth-fail",
23573
- component: () => import("./AuthFailRoute-0bH5unkO.mjs"),
23571
+ component: () => import("./AuthFailRoute-CMnn-7X2.mjs"),
23574
23572
  meta: { requiresAuth: !1 }
23575
23573
  }, { isAuthenticated: kv, handleRedirect: Z2 } = HC(), eH = mf();
23576
23574
  function GH(r, e) {
@@ -23581,13 +23579,13 @@ function GH(r, e) {
23581
23579
  if (!s(t))
23582
23580
  return i();
23583
23581
  if (!kv.value) {
23584
- ge.value = !0;
23582
+ fe.value = !0;
23585
23583
  try {
23586
23584
  await Z2(e), await eH.__init__();
23587
23585
  } catch (u) {
23588
23586
  console.error("Fail to authenticate", u), await r.push("/jplan-auth-fail");
23589
23587
  }
23590
- ge.value = !1;
23588
+ fe.value = !1;
23591
23589
  }
23592
23590
  kv.value && i();
23593
23591
  });
@@ -23963,16 +23961,16 @@ const Ed = ee(!1), Rn = ee([]), Pv = ee([]), nt = ee(null), di = ee([]), hi = ee
23963
23961
  return C != null && C.data.created_at && (r.success("Organization created."), cc && Rn.value.push(C.data)), C == null ? void 0 : C.data;
23964
23962
  }
23965
23963
  }, h = async () => {
23966
- if (ge.value = !0, nt.value && nt.value.__id) {
23964
+ if (fe.value = !0, nt.value && nt.value.__id) {
23967
23965
  const C = await Eo.updateOrg(nt.value);
23968
23966
  if (cc && (C != null && C.data.__id)) {
23969
23967
  const A = Rn.value.findIndex((O) => O.__id === C.data.__id);
23970
- return A !== -1 ? (Rn.value[A] = C.data, r.success("Organization updated.")) : r.error("Unable to update item"), ge.value = !1, C.data;
23968
+ return A !== -1 ? (Rn.value[A] = C.data, r.success("Organization updated.")) : r.error("Unable to update item"), fe.value = !1, C.data;
23971
23969
  }
23972
23970
  } else
23973
- ge.value = !1, r.error("Unable to update item");
23971
+ fe.value = !1, r.error("Unable to update item");
23974
23972
  }, f = async () => {
23975
- if (ge.value = !0, nt.value && nt.value.created_at) {
23973
+ if (fe.value = !0, nt.value && nt.value.created_at) {
23976
23974
  if (await Eo.deactivateOrg(nt.value.__id), cc) {
23977
23975
  const C = Rn.value.findIndex((A) => {
23978
23976
  var O;
@@ -23982,16 +23980,16 @@ const Ed = ee(!1), Rn = ee([]), Pv = ee([]), nt = ee(null), di = ee([]), hi = ee
23982
23980
  return Rn.value.splice(C, 1), nt.value;
23983
23981
  r.error("Unable to deactivate organization");
23984
23982
  }
23985
- ge.value = !1;
23983
+ fe.value = !1;
23986
23984
  }
23987
23985
  };
23988
23986
  async function g(C) {
23989
- ge.value = !0;
23987
+ fe.value = !0;
23990
23988
  try {
23991
23989
  if (nt.value && nt.value.__id) {
23992
23990
  const A = { ...C, organization: nt.value.__id };
23993
23991
  if (!await Ao.updateBranch(A)) {
23994
- ge.value = !1;
23992
+ fe.value = !1;
23995
23993
  return;
23996
23994
  }
23997
23995
  if (di.value.findIndex((K) => K.__id === C.__id) === -1)
@@ -24001,30 +23999,30 @@ const Ed = ee(!1), Rn = ee([]), Pv = ee([]), nt = ee(null), di = ee([]), hi = ee
24001
23999
  } catch (A) {
24002
24000
  console.error(A);
24003
24001
  } finally {
24004
- ge.value = !1;
24002
+ fe.value = !1;
24005
24003
  }
24006
24004
  }
24007
24005
  async function p(C) {
24008
- if (ge.value = !0, nt.value && nt.value.__id) {
24006
+ if (fe.value = !0, nt.value && nt.value.__id) {
24009
24007
  const A = { ...C, organization: null };
24010
24008
  if (!await Ao.updateBranch(A)) {
24011
- ge.value = !1;
24009
+ fe.value = !1;
24012
24010
  return;
24013
24011
  }
24014
24012
  const W = di.value.findIndex((K) => K.__id === C.__id);
24015
24013
  if (W !== -1)
24016
- return di.value.splice(W, 1), ge.value = !1, di.value;
24014
+ return di.value.splice(W, 1), fe.value = !1, di.value;
24017
24015
  throw new Error("Item not found to remove");
24018
24016
  }
24019
- ge.value = !1;
24017
+ fe.value = !1;
24020
24018
  }
24021
24019
  async function y(C) {
24022
- ge.value = !0;
24020
+ fe.value = !0;
24023
24021
  try {
24024
24022
  if (nt.value && nt.value.__id) {
24025
24023
  const A = { ...C, organization: nt.value.__id };
24026
24024
  if (!await Ln.updateTeam(A)) {
24027
- ge.value = !1;
24025
+ fe.value = !1;
24028
24026
  return;
24029
24027
  }
24030
24028
  if (hi.value.findIndex((K) => K.__id === C.__id) === -1)
@@ -24034,22 +24032,22 @@ const Ed = ee(!1), Rn = ee([]), Pv = ee([]), nt = ee(null), di = ee([]), hi = ee
24034
24032
  } catch (A) {
24035
24033
  console.error(A);
24036
24034
  } finally {
24037
- ge.value = !1;
24035
+ fe.value = !1;
24038
24036
  }
24039
24037
  }
24040
24038
  async function E(C) {
24041
- if (ge.value = !0, nt.value && nt.value.__id) {
24039
+ if (fe.value = !0, nt.value && nt.value.__id) {
24042
24040
  const A = { ...C, organization: null };
24043
24041
  if (!await Ln.updateTeam(A)) {
24044
- ge.value = !1;
24042
+ fe.value = !1;
24045
24043
  return;
24046
24044
  }
24047
24045
  const W = hi.value.findIndex((K) => K.__id === C.__id);
24048
24046
  if (W !== -1)
24049
- return hi.value.splice(W, 1), ge.value = !1, hi.value;
24047
+ return hi.value.splice(W, 1), fe.value = !1, hi.value;
24050
24048
  throw new Error("Item not found to remove");
24051
24049
  }
24052
- ge.value = !1;
24050
+ fe.value = !1;
24053
24051
  }
24054
24052
  return {
24055
24053
  data: Rn,
@@ -24096,7 +24094,7 @@ const kn = ee([]), Mv = ee([]), pt = ee(null), Ad = ee(!1), fi = ee([]), cH = ()
24096
24094
  return y != null && y.data.created_at && (r.success("Team created."), lc && kn.value.push(y.data)), y == null ? void 0 : y.data;
24097
24095
  }
24098
24096
  }, h = async () => {
24099
- if (ge.value = !0, pt.value && pt.value.__id) {
24097
+ if (fe.value = !0, pt.value && pt.value.__id) {
24100
24098
  const y = await Ln.updateTeam(pt.value);
24101
24099
  if (lc && (y != null && y.data.__id)) {
24102
24100
  const E = kn.value.findIndex((C) => C.__id === y.data.__id);
@@ -24117,7 +24115,7 @@ const kn = ee([]), Mv = ee([]), pt = ee(null), Ad = ee(!1), fi = ee([]), cH = ()
24117
24115
  };
24118
24116
  async function g(y) {
24119
24117
  var E;
24120
- if (ge.value = !0, (E = pt.value) != null && E.__id)
24118
+ if (fe.value = !0, (E = pt.value) != null && E.__id)
24121
24119
  if (fi.value.findIndex((A) => A.__id === y.__id) === -1)
24122
24120
  try {
24123
24121
  const A = await Ln.linkManageUser(pt.value.__id, {
@@ -24131,22 +24129,22 @@ const kn = ee([]), Mv = ee([]), pt = ee(null), Ad = ee(!1), fi = ee([]), cH = ()
24131
24129
  } catch (A) {
24132
24130
  console.error(A), r.error("Unable to add User.");
24133
24131
  } finally {
24134
- ge.value = !1;
24132
+ fe.value = !1;
24135
24133
  }
24136
24134
  else
24137
24135
  r.info("User already added.");
24138
24136
  else
24139
24137
  console.warn("No item selected or item ID is missing."), r.info("Please select a valid item.");
24140
- ge.value = !1;
24138
+ fe.value = !1;
24141
24139
  }
24142
24140
  async function p(y) {
24143
- if (ge.value = !0, pt.value && pt.value.__id) {
24141
+ if (fe.value = !0, pt.value && pt.value.__id) {
24144
24142
  const E = fi.value.findIndex((C) => C.__id === y);
24145
24143
  if (E !== -1)
24146
- return await Ln.unlinkManageUser(pt.value.__id, y), fi.value.splice(E, 1), ge.value = !1, fi.value;
24144
+ return await Ln.unlinkManageUser(pt.value.__id, y), fi.value.splice(E, 1), fe.value = !1, fi.value;
24147
24145
  throw new Error("Item not found to remove");
24148
24146
  }
24149
- ge.value = !1;
24147
+ fe.value = !1;
24150
24148
  }
24151
24149
  return {
24152
24150
  data: kn,
@@ -24425,7 +24423,7 @@ const fH = /* @__PURE__ */ qa(uH, [["render", hH], ["__scopeId", "data-v-00d7a69
24425
24423
  }, mH = /* @__PURE__ */ Te({
24426
24424
  __name: "GlobalSpinner",
24427
24425
  setup(r) {
24428
- return (e, t) => ie(ge) ? (L(), re("div", gH, t[0] || (t[0] = [
24426
+ return (e, t) => ie(fe) ? (L(), re("div", gH, t[0] || (t[0] = [
24429
24427
  te("div", { class: "j-double-ring-spinner-container" }, [
24430
24428
  te("div", { class: "j-global-spinner-loading" }, [
24431
24429
  te("div"),
@@ -24438,7 +24436,7 @@ const fH = /* @__PURE__ */ qa(uH, [["render", hH], ["__scopeId", "data-v-00d7a69
24438
24436
  ])
24439
24437
  ])
24440
24438
  ], -1)
24441
- ]))) : fe("", !0);
24439
+ ]))) : ge("", !0);
24442
24440
  }
24443
24441
  }), pH = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
24444
24442
  __proto__: null,
@@ -24520,7 +24518,7 @@ const Sd = ee(!1), On = ee([]), Nv = ee([]), bt = ee(null), gi = ee([]), YH = ()
24520
24518
  }
24521
24519
  };
24522
24520
  async function g(y) {
24523
- ge.value = !0;
24521
+ fe.value = !0;
24524
24522
  try {
24525
24523
  if (bt.value && bt.value.__id) {
24526
24524
  const E = { ...y, branch: bt.value.__id };
@@ -24536,20 +24534,20 @@ const Sd = ee(!1), On = ee([]), Nv = ee([]), bt = ee(null), gi = ee([]), YH = ()
24536
24534
  } catch (E) {
24537
24535
  console.error(E);
24538
24536
  } finally {
24539
- ge.value = !1;
24537
+ fe.value = !1;
24540
24538
  }
24541
24539
  }
24542
24540
  async function p(y) {
24543
- if (ge.value = !0, bt.value && bt.value.__id) {
24541
+ if (fe.value = !0, bt.value && bt.value.__id) {
24544
24542
  const E = { ...y, branch: null };
24545
24543
  if (!await Ln.updateTeam(E))
24546
24544
  return;
24547
24545
  const A = gi.value.findIndex((O) => O.__id === y.__id);
24548
24546
  if (A !== -1)
24549
- return gi.value.splice(A, 1), ge.value = !1, gi.value;
24547
+ return gi.value.splice(A, 1), fe.value = !1, gi.value;
24550
24548
  throw new Error("Item not found to remove");
24551
24549
  }
24552
- ge.value = !1;
24550
+ fe.value = !1;
24553
24551
  }
24554
24552
  return {
24555
24553
  data: On,
@@ -24661,16 +24659,16 @@ const Rd = ee(!1), Pn = ee([]), Dv = ee([]), St = ee(null), mi = ee([]), JH = ()
24661
24659
  return y != null && y.data.created_at && (r.success("Division created."), Id && Pn.value.push(y.data)), y == null ? void 0 : y.data;
24662
24660
  }
24663
24661
  }, h = async () => {
24664
- if (ge.value = !0, St.value && St.value.__id) {
24662
+ if (fe.value = !0, St.value && St.value.__id) {
24665
24663
  const y = await da.updateDivision(St.value);
24666
24664
  if (Id && (y != null && y.data.__id)) {
24667
24665
  const E = Pn.value.findIndex((C) => C.__id === y.data.__id);
24668
- return E !== -1 ? (Pn.value[E] = y.data, r.success("Updated Division.")) : r.error("Unable to update item"), ge.value = !1, y;
24666
+ return E !== -1 ? (Pn.value[E] = y.data, r.success("Updated Division.")) : r.error("Unable to update item"), fe.value = !1, y;
24669
24667
  }
24670
24668
  } else
24671
- ge.value = !1, r.error("Unable to update item");
24669
+ fe.value = !1, r.error("Unable to update item");
24672
24670
  }, f = async () => {
24673
- if (ge.value = !0, St.value && St.value.created_at) {
24671
+ if (fe.value = !0, St.value && St.value.created_at) {
24674
24672
  await da.deactivateDivision(St.value.__id);
24675
24673
  const y = Pn.value.findIndex((E) => {
24676
24674
  var C;
@@ -24680,10 +24678,10 @@ const Rd = ee(!1), Pn = ee([]), Dv = ee([]), St = ee(null), mi = ee([]), JH = ()
24680
24678
  return Pn.value.splice(y, 1), St.value;
24681
24679
  r.error("Unable to deactivate Division");
24682
24680
  }
24683
- ge.value = !1;
24681
+ fe.value = !1;
24684
24682
  };
24685
24683
  async function g(y) {
24686
- ge.value = !0;
24684
+ fe.value = !0;
24687
24685
  try {
24688
24686
  if (St.value && St.value.__id) {
24689
24687
  const E = { ...y, division: St.value.__id };
@@ -24693,11 +24691,11 @@ const Rd = ee(!1), Pn = ee([]), Dv = ee([]), St = ee(null), mi = ee([]), JH = ()
24693
24691
  } catch (E) {
24694
24692
  console.error(E);
24695
24693
  } finally {
24696
- ge.value = !1;
24694
+ fe.value = !1;
24697
24695
  }
24698
24696
  }
24699
24697
  async function p(y) {
24700
- if (ge.value = !0, St.value && St.value.__id) {
24698
+ if (fe.value = !0, St.value && St.value.__id) {
24701
24699
  const E = { ...y, division: null };
24702
24700
  if (!await Eo.updateOrg(E))
24703
24701
  return;
@@ -24708,7 +24706,7 @@ const Rd = ee(!1), Pn = ee([]), Dv = ee([]), St = ee(null), mi = ee([]), JH = ()
24708
24706
  throw new Error("Item não encontrado para remoção");
24709
24707
  } else
24710
24708
  throw new Error("Item não está definido");
24711
- return ge.value = !1, mi.value;
24709
+ return fe.value = !1, mi.value;
24712
24710
  }
24713
24711
  return {
24714
24712
  data: Pn,
@@ -24833,7 +24831,7 @@ const Mn = ee([]), xv = ee([]), Nn = ee(null), wH = ee(null), TH = ee([]), QH =
24833
24831
  }
24834
24832
  },
24835
24833
  updateItem: async () => {
24836
- if (ge.value = !0, Nn.value && Nn.value.created_at) {
24834
+ if (fe.value = !0, Nn.value && Nn.value.created_at) {
24837
24835
  const g = await ha.updateManageUser(Nn.value);
24838
24836
  if (kd && (g != null && g.data)) {
24839
24837
  const p = Mn.value.findIndex((y) => y.__id === (g == null ? void 0 : g.data.__id));
@@ -24842,7 +24840,7 @@ const Mn = ee([]), xv = ee([]), Nn = ee(null), wH = ee(null), TH = ee([]), QH =
24842
24840
  else
24843
24841
  throw new Error("Unable to find item after update");
24844
24842
  }
24845
- return ge.value = !1, g == null ? void 0 : g.data;
24843
+ return fe.value = !1, g == null ? void 0 : g.data;
24846
24844
  }
24847
24845
  },
24848
24846
  removeItem: async () => {
@@ -24883,7 +24881,7 @@ export {
24883
24881
  WH as H,
24884
24882
  Xc as I,
24885
24883
  _r as J,
24886
- ge as K,
24884
+ fe as K,
24887
24885
  jH as L,
24888
24886
  ts as M,
24889
24887
  lM as N,