jplan-pack 0.5.57 → 0.5.58

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 Re, resolveComponent as sr, unref as Ce, openBlock as F, createElementBlock as ve, createVNode as N, withCtx as L, normalizeStyle as Wc, createCommentVNode as Ee, Fragment as Kt, createBlock as te, resolveDynamicComponent as Ma, createTextVNode as q, toDisplayString as Ie, useSlots as HR, mergeProps as mr, renderSlot as Ct, ref as ie, computed as Qt, onUnmounted as bv, onMounted as Rv, isRef as bi, createElementVNode as se, effectScope as kv, markRaw as Ti, toRaw as Ao, watch as Di, hasInjectionContext as FR, inject as Ov, getCurrentInstance as rh, reactive as BR, isReactive as ih, toRef as Bu, nextTick as Ed, getCurrentScope as $R, onScopeDispose as KR, toRefs as Hm, readonly as zR, normalizeClass as Aa, toHandlers as WR, withModifiers as Pv, TransitionGroup as VR, renderList as vc, createApp as qR, h as ga, normalizeProps as GR, guardReactiveProps as jR, withKeys as YR, withDirectives as Fm, vShow as Bm, useAttrs as JR, onBeforeMount as QR, Teleport as XR } from "vue";
1
+ import { defineComponent as Re, resolveComponent as sr, unref as Ce, openBlock as F, createElementBlock as ve, createVNode as N, withCtx as L, normalizeStyle as Wc, createCommentVNode as Ee, Fragment as Kt, createBlock as te, resolveDynamicComponent as Ma, createTextVNode as q, toDisplayString as Ie, useSlots as HR, mergeProps as mr, renderSlot as Ct, ref as se, computed as Qt, onUnmounted as bv, onMounted as Rv, isRef as bi, createElementVNode as ae, effectScope as kv, markRaw as Ti, toRaw as Ao, watch as Di, hasInjectionContext as FR, inject as Ov, getCurrentInstance as rh, reactive as BR, isReactive as ih, toRef as Bu, nextTick as Ed, getCurrentScope as $R, onScopeDispose as KR, toRefs as Hm, readonly as zR, normalizeClass as Aa, toHandlers as WR, withModifiers as Pv, TransitionGroup as VR, renderList as vc, createApp as qR, h as ga, normalizeProps as GR, guardReactiveProps as jR, withKeys as YR, withDirectives as Fm, vShow as Bm, useAttrs as JR, onBeforeMount as QR, Teleport as XR } from "vue";
2
2
  import * as ZR from "@vueuse/core";
3
3
  import { useClipboard as ek } from "@vueuse/core";
4
4
  import { VBtn as rt } from "vuetify/lib/components/VBtn/index.mjs";
@@ -161,7 +161,7 @@ const gk = { key: 0 }, mk = { key: 1 }, ah = /* @__PURE__ */ Re({
161
161
  _: 3
162
162
  }, 8, ["prepend-icon", "variant", "color", "tooltip"]));
163
163
  }
164
- }), Zi = ie({}), sh = (r) => {
164
+ }), Zi = se({}), sh = (r) => {
165
165
  const e = Qt(() => r ? Zi.value[r] || !1 : Zi.value.default || !1), t = () => {
166
166
  r ? Zi.value[r] = !0 : Zi.value.default = !0;
167
167
  }, n = () => {
@@ -191,7 +191,7 @@ const gk = { key: 0 }, mk = { key: 1 }, ah = /* @__PURE__ */ Re({
191
191
  scrim: { default: "background" }
192
192
  },
193
193
  setup(r) {
194
- const e = r, t = ie(!1), { isDialogActive: n, closeDialog: o } = sh(e.dialogId);
194
+ const e = r, t = se(!1), { isDialogActive: n, closeDialog: o } = sh(e.dialogId);
195
195
  async function s() {
196
196
  e.onCancel && await e.onCancel(), o();
197
197
  }
@@ -217,10 +217,10 @@ const gk = { key: 0 }, mk = { key: 1 }, ah = /* @__PURE__ */ Re({
217
217
  default: L(() => [
218
218
  N(Nv, { class: "mt-2 px-5 d-flex" }, {
219
219
  default: L(() => [
220
- se("div", yk, [
220
+ ae("div", yk, [
221
221
  u.$slots.title ? Ct(u.$slots, "title", { key: 0 }) : (F(), ve("div", _k, Ie(e.title), 1))
222
222
  ]),
223
- se("div", Ck, [
223
+ ae("div", Ck, [
224
224
  Ct(u.$slots, "heading-actions"),
225
225
  N(rt, {
226
226
  class: "ms-auto",
@@ -1031,7 +1031,7 @@ function Wk({ app: r, store: e, options: t }) {
1031
1031
  }
1032
1032
  }
1033
1033
  function Vk() {
1034
- const r = kv(!0), e = r.run(() => ie({}));
1034
+ const r = kv(!0), e = r.run(() => se({}));
1035
1035
  let t = [], n = [];
1036
1036
  const o = Ti({
1037
1037
  install(s) {
@@ -1101,7 +1101,7 @@ function jm(r, e, t, n) {
1101
1101
  !u && (process.env.NODE_ENV === "production" || !n) && (t.state.value[r] = o ? o() : {});
1102
1102
  const m = process.env.NODE_ENV !== "production" && n ? (
1103
1103
  // use ref() to unwrap refs inside state TODO: check if this is still necessary
1104
- Hm(ie(o ? o() : {}).value)
1104
+ Hm(se(o ? o() : {}).value)
1105
1105
  ) : Hm(t.state.value[r]);
1106
1106
  return Pn(m, s, Object.keys(c || {}).reduce((_, y) => (process.env.NODE_ENV !== "production" && y in m && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${y}" in store "${r}".`), _[y] = Ti(Qt(() => {
1107
1107
  Ia(t);
@@ -1121,7 +1121,7 @@ function jk(r, e, t = {}, n, o, s) {
1121
1121
  f ? E = X : f == !1 && !j._hotUpdating && (Array.isArray(E) ? E.push(X) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
1122
1122
  });
1123
1123
  let f, m, _ = [], y = [], E;
1124
- const w = n.state.value[r], I = ie({});
1124
+ const w = n.state.value[r], I = se({});
1125
1125
  let O;
1126
1126
  function V(X) {
1127
1127
  let J;
@@ -1359,7 +1359,7 @@ const fF = /* @__PURE__ */ Yk({
1359
1359
  this.fontTheme = r;
1360
1360
  }
1361
1361
  }
1362
- }), ge = ie(!1), Ym = ie(null);
1362
+ }), ge = se(!1), Ym = se(null);
1363
1363
  function gF() {
1364
1364
  const r = zR(Qt(() => Ym));
1365
1365
  function e(t) {
@@ -1645,7 +1645,7 @@ var gO = oy, ay = {}, mO = {
1645
1645
  role: "img",
1646
1646
  xmlns: "http://www.w3.org/2000/svg",
1647
1647
  viewBox: "0 0 512 512"
1648
- }, pO = /* @__PURE__ */ se("path", {
1648
+ }, pO = /* @__PURE__ */ ae("path", {
1649
1649
  fill: "currentColor",
1650
1650
  d: "M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"
1651
1651
  }, null, -1), vO = [
@@ -1664,7 +1664,7 @@ var _O = ay, sy = {}, CO = {
1664
1664
  role: "img",
1665
1665
  xmlns: "http://www.w3.org/2000/svg",
1666
1666
  viewBox: "0 0 512 512"
1667
- }, wO = /* @__PURE__ */ se("path", {
1667
+ }, wO = /* @__PURE__ */ ae("path", {
1668
1668
  fill: "currentColor",
1669
1669
  d: "M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"
1670
1670
  }, null, -1), TO = [
@@ -1683,7 +1683,7 @@ var ep = sy, cy = {}, AO = {
1683
1683
  role: "img",
1684
1684
  xmlns: "http://www.w3.org/2000/svg",
1685
1685
  viewBox: "0 0 512 512"
1686
- }, SO = /* @__PURE__ */ se("path", {
1686
+ }, SO = /* @__PURE__ */ ae("path", {
1687
1687
  fill: "currentColor",
1688
1688
  d: "M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"
1689
1689
  }, null, -1), IO = [
@@ -1702,7 +1702,7 @@ var RO = cy, ly = {}, kO = {
1702
1702
  role: "img",
1703
1703
  xmlns: "http://www.w3.org/2000/svg",
1704
1704
  viewBox: "0 0 576 512"
1705
- }, OO = /* @__PURE__ */ se("path", {
1705
+ }, OO = /* @__PURE__ */ ae("path", {
1706
1706
  fill: "currentColor",
1707
1707
  d: "M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"
1708
1708
  }, null, -1), PO = [
@@ -1881,7 +1881,7 @@ function UO(r, e) {
1881
1881
  "custom-icon": r.icon,
1882
1882
  type: r.type
1883
1883
  }, null, 8, ["custom-icon", "type"])) : Ee("v-if", !0),
1884
- se("div", {
1884
+ ae("div", {
1885
1885
  role: r.accessibility.toastRole || "alert",
1886
1886
  class: Aa(r.bodyClasses)
1887
1887
  }, [
@@ -2393,15 +2393,15 @@ const ZO = {
2393
2393
  class: "customize-table"
2394
2394
  }, {
2395
2395
  top: L(() => o[0] || (o[0] = [
2396
- se("span", { class: "mt-5" }, null, -1)
2396
+ ae("span", { class: "mt-5" }, null, -1)
2397
2397
  ])),
2398
2398
  "item.avatar": L(({ item: s }) => [
2399
- se("div", tP, [
2399
+ ae("div", tP, [
2400
2400
  Ct(n.$slots, "avatar", { item: s })
2401
2401
  ])
2402
2402
  ]),
2403
2403
  "item.actions": L(({ item: s }) => [
2404
- se("div", nP, [
2404
+ ae("div", nP, [
2405
2405
  Ct(n.$slots, "actions", { item: s })
2406
2406
  ])
2407
2407
  ]),
@@ -3960,7 +3960,7 @@ const KP = {
3960
3960
  onSearch: {}
3961
3961
  },
3962
3962
  setup(r) {
3963
- const e = r, t = ie("");
3963
+ const e = r, t = se("");
3964
3964
  return Di(t, (n) => {
3965
3965
  var o;
3966
3966
  (o = e.onSearch) == null || o.call(e, n);
@@ -4011,7 +4011,7 @@ const KP = {
4011
4011
  class: "pa-0"
4012
4012
  }, {
4013
4013
  default: L(() => [
4014
- se("div", VP, [
4014
+ ae("div", VP, [
4015
4015
  N(n, { class: "mb-2" }),
4016
4016
  N(uk, null, {
4017
4017
  default: L(() => [
@@ -4165,7 +4165,7 @@ const KP = {
4165
4165
  src: {}
4166
4166
  },
4167
4167
  setup(r) {
4168
- const e = new URL("@/assets/profile-placeholder.svg", import.meta.url).href, n = ie(r.src || e);
4168
+ const e = new URL("@/assets/profile-placeholder.svg", import.meta.url).href, n = se(r.src || e);
4169
4169
  function o() {
4170
4170
  n.value = e;
4171
4171
  }
@@ -4189,7 +4189,7 @@ const KP = {
4189
4189
  size: {}
4190
4190
  },
4191
4191
  setup(r) {
4192
- const t = ie(r.img || "/assets/profile-placeholder.svg");
4192
+ const t = se(r.img || "/assets/profile-placeholder.svg");
4193
4193
  function n() {
4194
4194
  t.value = "/assets/profile-placeholder.svg";
4195
4195
  }
@@ -4209,7 +4209,7 @@ const KP = {
4209
4209
  }), JP = /* @__PURE__ */ Re({
4210
4210
  __name: "ContextMenu",
4211
4211
  setup(r) {
4212
- const e = ie(!1), t = ie({ x: 0, y: 0 }), n = (s) => {
4212
+ const e = se(!1), t = se({ x: 0, y: 0 }), n = (s) => {
4213
4213
  s.preventDefault(), t.value = { x: s.clientX, y: s.clientY }, e.value = !0;
4214
4214
  }, o = () => {
4215
4215
  e.value = !1;
@@ -4439,22 +4439,22 @@ const KP = {
4439
4439
  class: "pa-2"
4440
4440
  }, {
4441
4441
  default: L(() => [
4442
- t[1] || (t[1] = se("p", { class: "d-flex align-baseline mb-1" }, [
4443
- se("b", null, " ID: "),
4444
- se("span", { class: "max-w" }, "  -")
4442
+ t[1] || (t[1] = ae("p", { class: "d-flex align-baseline mb-1" }, [
4443
+ ae("b", null, " ID: "),
4444
+ ae("span", { class: "max-w" }, "  -")
4445
4445
  ], -1)),
4446
- se("p", a0, [
4447
- se("b", s0, Ie(e.id.title) + ": ", 1),
4448
- se("span", c0, Ie(e.meta[e.id.key]), 1),
4449
- se("span", null, [
4446
+ ae("p", a0, [
4447
+ ae("b", s0, Ie(e.id.title) + ": ", 1),
4448
+ ae("span", c0, Ie(e.meta[e.id.key]), 1),
4449
+ ae("span", null, [
4450
4450
  N(ah, {
4451
4451
  "content-to-copy": e.meta[e.id.key],
4452
4452
  size: 15
4453
4453
  }, null, 8, ["content-to-copy"])
4454
4454
  ])
4455
4455
  ]),
4456
- se("p", null, [
4457
- t[0] || (t[0] = se("b", null, "Created: ", -1)),
4456
+ ae("p", null, [
4457
+ t[0] || (t[0] = ae("b", null, "Created: ", -1)),
4458
4458
  q(Ie(e.meta.created_at) + " - " + Ie(e.meta.created_by), 1)
4459
4459
  ])
4460
4460
  ]),
@@ -4466,14 +4466,14 @@ const KP = {
4466
4466
  }, {
4467
4467
  default: L(() => [
4468
4468
  e.meta.updated_at && e.meta.updated_by ? (F(), ve("p", l0, [
4469
- t[2] || (t[2] = se("b", null, "Updated:  ", -1)),
4469
+ t[2] || (t[2] = ae("b", null, "Updated:  ", -1)),
4470
4470
  q(Ie(e.meta.updated_at) + " - " + Ie(e.meta.updated_by), 1)
4471
4471
  ])) : (F(), ve("p", u0, [
4472
- t[3] || (t[3] = se("b", null, "Modified:  ", -1)),
4472
+ t[3] || (t[3] = ae("b", null, "Modified:  ", -1)),
4473
4473
  q(Ie(e.meta.modified_at) + " - " + Ie(e.meta.modified_by), 1)
4474
4474
  ])),
4475
- se("p", d0, [
4476
- t[4] || (t[4] = se("b", null, "Delegated: ", -1)),
4475
+ ae("p", d0, [
4476
+ t[4] || (t[4] = ae("b", null, "Delegated: ", -1)),
4477
4477
  q(Ie(e.meta.delegated_at) + " - " + Ie(e.meta.delegated_by), 1)
4478
4478
  ])
4479
4479
  ]),
@@ -4513,7 +4513,7 @@ const KP = {
4513
4513
  },
4514
4514
  emits: ["onSave"],
4515
4515
  setup(r, { emit: e }) {
4516
- const t = e, n = ie(!1);
4516
+ const t = e, n = se(!1);
4517
4517
  async function o() {
4518
4518
  n.value = !0, await t("onSave"), n.value = !1;
4519
4519
  }
@@ -4548,7 +4548,7 @@ const KP = {
4548
4548
  }, {
4549
4549
  default: L(() => [
4550
4550
  n.title ? (F(), te(ma, { key: 0 })) : Ee("", !0),
4551
- se("div", f0, [
4551
+ ae("div", f0, [
4552
4552
  Ct(n.$slots, "default")
4553
4553
  ]),
4554
4554
  N(wc, { class: "pa-0 mx-0 align-content-end" }, {
@@ -4608,7 +4608,7 @@ const KP = {
4608
4608
  emits: ["update:isEdition", "save", "cancel", "delete", "disable"],
4609
4609
  setup(r, { emit: e }) {
4610
4610
  var f;
4611
- const t = r, n = e, o = rh(), s = ((f = o == null ? void 0 : o.vnode.props) == null ? void 0 : f.onDisable) !== void 0, c = ie(t.readonly);
4611
+ const t = r, n = e, o = rh(), s = ((f = o == null ? void 0 : o.vnode.props) == null ? void 0 : f.onDisable) !== void 0, c = se(t.readonly);
4612
4612
  function u() {
4613
4613
  c.value = !c.value, n("update:isEdition", c.value);
4614
4614
  }
@@ -4617,15 +4617,15 @@ const KP = {
4617
4617
  }
4618
4618
  return (m, _) => (F(), ve("div", m0, [
4619
4619
  m.id ? (F(), ve("div", p0, [
4620
- _[0] || (_[0] = se("b", null, "ID:", -1)),
4621
- se("span", v0, Ie(m.id), 1),
4620
+ _[0] || (_[0] = ae("b", null, "ID:", -1)),
4621
+ ae("span", v0, Ie(m.id), 1),
4622
4622
  N(ah, {
4623
4623
  "content-to-copy": m.id,
4624
4624
  size: 20
4625
4625
  }, null, 8, ["content-to-copy"])
4626
4626
  ])) : Ee("", !0),
4627
4627
  N(oh),
4628
- se("div", y0, [
4628
+ ae("div", y0, [
4629
4629
  N(rt, {
4630
4630
  onClick: h,
4631
4631
  variant: "text"
@@ -4646,12 +4646,12 @@ const KP = {
4646
4646
  ]),
4647
4647
  _: 1
4648
4648
  }),
4649
- se("div", _0, [
4649
+ ae("div", _0, [
4650
4650
  N(ma, {
4651
4651
  class: "mx-2 my-1",
4652
4652
  vertical: ""
4653
4653
  }),
4654
- se("div", C0, [
4654
+ ae("div", C0, [
4655
4655
  Fm(N(rt, {
4656
4656
  onClick: u,
4657
4657
  variant: "text",
@@ -4702,12 +4702,12 @@ const KP = {
4702
4702
  const t = e, n = JR();
4703
4703
  return (o, s) => (F(), te(gh, null, {
4704
4704
  default: L(() => [
4705
- se("div", T0, [
4706
- se("div", E0, [
4705
+ ae("div", T0, [
4706
+ ae("div", E0, [
4707
4707
  Ct(o.$slots, "default", {}, void 0, !0)
4708
4708
  ])
4709
4709
  ]),
4710
- se("div", A0, [
4710
+ ae("div", A0, [
4711
4711
  N(Vc, {
4712
4712
  "no-gutters": "",
4713
4713
  justify: "space-between",
@@ -14791,7 +14791,7 @@ const sd = process.env.JPLAN_WEBAPP__APP_PROXY_TENANT_NAME ?? "", Z1 = process.e
14791
14791
  logLevel: We.Warning
14792
14792
  }
14793
14793
  }
14794
- }, pi = new ef(nD), Gp = ie(null);
14794
+ }, pi = new ef(nD), Gp = se(null);
14795
14795
  function _C() {
14796
14796
  async function r(e) {
14797
14797
  var t;
@@ -14824,7 +14824,7 @@ function _C() {
14824
14824
  setJToken: r
14825
14825
  };
14826
14826
  }
14827
- const rD = "https://app-files.jplan.com.br/pub/msal-auth/index.html", kr = ie(null);
14827
+ const rD = "https://app-files.jplan.com.br/pub/msal-auth/index.html", kr = se(null);
14828
14828
  function CC() {
14829
14829
  const { setJToken: r } = _C(), e = Qt(() => !!kr.value), t = Qt(() => kr.value);
14830
14830
  async function n() {
@@ -16656,7 +16656,7 @@ const VC = () => {
16656
16656
  _request: t,
16657
16657
  rawRequest: n
16658
16658
  });
16659
- }, { request: cv } = VC(), lv = ie(null), uv = ie("default"), hd = ie(null), fd = ie({ scope_type: "org" });
16659
+ }, { request: cv } = VC(), lv = se(null), uv = se("default"), hd = se(null), fd = se({ scope_type: "org" });
16660
16660
  function qC() {
16661
16661
  var m, _;
16662
16662
  const { handleRedirect: r, account: e } = CC(), t = (_ = (m = e.value) == null ? void 0 : m.idTokenClaims) == null ? void 0 : _.domain, n = Qt(() => ({
@@ -17380,23 +17380,23 @@ function xx() {
17380
17380
  var i = this.__wrapped__.value(), a = this.__dir__, l = fe(i), d = a < 0, g = l ? i.length : 0, v = dA(0, g, this.__views__), C = v.start, T = v.end, S = T - C, D = d ? T : C - 1, x = this.__iteratees__, U = x.length, W = 0, Z = Ot(S, this.__takeCount__);
17381
17381
  if (!l || !d && g == S && Z == S)
17382
17382
  return Ig(i, this.__actions__);
17383
- var oe = [];
17383
+ var ie = [];
17384
17384
  e:
17385
17385
  for (; S-- && W < Z; ) {
17386
17386
  D += a;
17387
- for (var _e = -1, ae = i[D]; ++_e < U; ) {
17388
- var Ae = x[_e], be = Ae.iteratee, rn = Ae.type, Ft = be(ae);
17387
+ for (var _e = -1, oe = i[D]; ++_e < U; ) {
17388
+ var Ae = x[_e], be = Ae.iteratee, rn = Ae.type, Ft = be(oe);
17389
17389
  if (rn == xn)
17390
- ae = Ft;
17390
+ oe = Ft;
17391
17391
  else if (!Ft) {
17392
17392
  if (rn == Rt)
17393
17393
  continue e;
17394
17394
  break e;
17395
17395
  }
17396
17396
  }
17397
- oe[W++] = ae;
17397
+ ie[W++] = oe;
17398
17398
  }
17399
- return oe;
17399
+ return ie;
17400
17400
  }
17401
17401
  Se.prototype = Gi(fs.prototype), Se.prototype.constructor = Se;
17402
17402
  function si(i) {
@@ -17615,14 +17615,14 @@ function xx() {
17615
17615
  var Z = v.get(i);
17616
17616
  if (Z)
17617
17617
  return Z;
17618
- v.set(i, C), Em(i) ? i.forEach(function(ae) {
17619
- C.add(wn(ae, a, l, ae, i, v));
17620
- }) : wm(i) && i.forEach(function(ae, Ae) {
17621
- C.set(Ae, wn(ae, a, l, Ae, i, v));
17618
+ v.set(i, C), Em(i) ? i.forEach(function(oe) {
17619
+ C.add(wn(oe, a, l, oe, i, v));
17620
+ }) : wm(i) && i.forEach(function(oe, Ae) {
17621
+ C.set(Ae, wn(oe, a, l, Ae, i, v));
17622
17622
  });
17623
- var oe = D ? S ? vu : pu : S ? qt : vt, _e = x ? t : oe(i);
17624
- return yn(_e || i, function(ae, Ae) {
17625
- _e && (Ae = ae, ae = i[Ae]), Jo(C, Ae, wn(ae, a, l, Ae, i, v));
17623
+ var ie = D ? S ? vu : pu : S ? qt : vt, _e = x ? t : ie(i);
17624
+ return yn(_e || i, function(oe, Ae) {
17625
+ _e && (Ae = oe, oe = i[Ae]), Jo(C, Ae, wn(oe, a, l, Ae, i, v));
17626
17626
  }), C;
17627
17627
  }
17628
17628
  function IE(i) {
@@ -17747,14 +17747,14 @@ function xx() {
17747
17747
  var U = -1, W = T[0];
17748
17748
  e:
17749
17749
  for (; ++U < g && D.length < S; ) {
17750
- var Z = x[U], oe = a ? a(Z) : Z;
17751
- if (Z = l || Z !== 0 ? Z : 0, !(W ? Wo(W, oe) : d(D, oe, l))) {
17750
+ var Z = x[U], ie = a ? a(Z) : Z;
17751
+ if (Z = l || Z !== 0 ? Z : 0, !(W ? Wo(W, ie) : d(D, ie, l))) {
17752
17752
  for (C = v; --C; ) {
17753
17753
  var _e = T[C];
17754
- if (!(_e ? Wo(_e, oe) : d(i[C], oe, l)))
17754
+ if (!(_e ? Wo(_e, ie) : d(i[C], ie, l)))
17755
17755
  continue e;
17756
17756
  }
17757
- W && W.push(oe), D.push(Z);
17757
+ W && W.push(ie), D.push(Z);
17758
17758
  }
17759
17759
  }
17760
17760
  return D;
@@ -17793,10 +17793,10 @@ function xx() {
17793
17793
  if (W && !x)
17794
17794
  return v || (v = new Fn()), C || Qi(i) ? Vg(i, a, l, d, g, v) : cA(i, a, S, l, d, g, v);
17795
17795
  if (!(l & w)) {
17796
- var Z = x && Ue.call(i, "__wrapped__"), oe = U && Ue.call(a, "__wrapped__");
17797
- if (Z || oe) {
17798
- var _e = Z ? i.value() : i, ae = oe ? a.value() : a;
17799
- return v || (v = new Fn()), g(_e, ae, l, d, v);
17796
+ var Z = x && Ue.call(i, "__wrapped__"), ie = U && Ue.call(a, "__wrapped__");
17797
+ if (Z || ie) {
17798
+ var _e = Z ? i.value() : i, oe = ie ? a.value() : a;
17799
+ return v || (v = new Fn()), g(_e, oe, l, d, v);
17800
17800
  }
17801
17801
  }
17802
17802
  return W ? (v || (v = new Fn()), lA(i, a, l, d, g, v)) : !1;
@@ -17902,8 +17902,8 @@ function xx() {
17902
17902
  }
17903
17903
  var x = v ? v(T, S, l + "", i, a, C) : t, U = x === t;
17904
17904
  if (U) {
17905
- var W = fe(S), Z = !W && Gr(S), oe = !W && !Z && Qi(S);
17906
- x = S, W || Z || oe ? fe(T) ? x = T : it(T) ? x = Wt(T) : Z ? (U = !1, x = kg(S, !0)) : oe ? (U = !1, x = Og(S, !0)) : x = [] : ia(S) || fi(S) ? (x = T, fi(T) ? x = Im(T) : (!Qe(T) || Ar(T)) && (x = jg(S))) : U = !1;
17905
+ var W = fe(S), Z = !W && Gr(S), ie = !W && !Z && Qi(S);
17906
+ x = S, W || Z || ie ? fe(T) ? x = T : it(T) ? x = Wt(T) : Z ? (U = !1, x = kg(S, !0)) : ie ? (U = !1, x = Og(S, !0)) : x = [] : ia(S) || fi(S) ? (x = T, fi(T) ? x = Im(T) : (!Qe(T) || Ar(T)) && (x = jg(S))) : U = !1;
17907
17907
  }
17908
17908
  U && (C.set(S, x), g(x, S, d, v, C), C.delete(S)), Jl(i, l, x);
17909
17909
  }
@@ -18050,11 +18050,11 @@ function xx() {
18050
18050
  return 0;
18051
18051
  a = l(a);
18052
18052
  for (var C = a !== a, T = a === null, S = nn(a), D = a === t; g < v; ) {
18053
- var x = us((g + v) / 2), U = l(i[x]), W = U !== t, Z = U === null, oe = U === U, _e = nn(U);
18053
+ var x = us((g + v) / 2), U = l(i[x]), W = U !== t, Z = U === null, ie = U === U, _e = nn(U);
18054
18054
  if (C)
18055
- var ae = d || oe;
18056
- else D ? ae = oe && (d || W) : T ? ae = oe && W && (d || !Z) : S ? ae = oe && W && !Z && (d || !_e) : Z || _e ? ae = !1 : ae = d ? U <= a : U < a;
18057
- ae ? g = x + 1 : v = x;
18055
+ var oe = d || ie;
18056
+ else D ? oe = ie && (d || W) : T ? oe = ie && W && (d || !Z) : S ? oe = ie && W && !Z && (d || !_e) : Z || _e ? oe = !1 : oe = d ? U <= a : U < a;
18057
+ oe ? g = x + 1 : v = x;
18058
18058
  }
18059
18059
  return Ot(v, yl);
18060
18060
  }
@@ -18385,19 +18385,19 @@ function xx() {
18385
18385
  });
18386
18386
  }
18387
18387
  function ws(i, a, l, d, g, v, C, T, S, D) {
18388
- var x = a & j, U = a & O, W = a & V, Z = a & (z | G), oe = a & Me, _e = W ? t : ta(i);
18389
- function ae() {
18388
+ var x = a & j, U = a & O, W = a & V, Z = a & (z | G), ie = a & Me, _e = W ? t : ta(i);
18389
+ function oe() {
18390
18390
  for (var Ae = arguments.length, be = R(Ae), rn = Ae; rn--; )
18391
18391
  be[rn] = arguments[rn];
18392
18392
  if (Z)
18393
- var Ft = Ji(ae), on = pT(be, Ft);
18393
+ var Ft = Ji(oe), on = pT(be, Ft);
18394
18394
  if (d && (be = Mg(be, d, g, Z)), v && (be = Ng(be, v, C, Z)), Ae -= on, Z && Ae < D) {
18395
18395
  var ot = $r(be, Ft);
18396
18396
  return $g(
18397
18397
  i,
18398
18398
  a,
18399
18399
  ws,
18400
- ae.placeholder,
18400
+ oe.placeholder,
18401
18401
  l,
18402
18402
  be,
18403
18403
  ot,
@@ -18407,9 +18407,9 @@ function xx() {
18407
18407
  );
18408
18408
  }
18409
18409
  var $n = U ? l : this, Ir = W ? $n[i] : i;
18410
- return Ae = be.length, T ? be = AA(be, T) : oe && Ae > 1 && be.reverse(), x && S < Ae && (be.length = S), this && this !== Tt && this instanceof ae && (Ir = _e || ta(Ir)), Ir.apply($n, be);
18410
+ return Ae = be.length, T ? be = AA(be, T) : ie && Ae > 1 && be.reverse(), x && S < Ae && (be.length = S), this && this !== Tt && this instanceof oe && (Ir = _e || ta(Ir)), Ir.apply($n, be);
18411
18411
  }
18412
- return ae;
18412
+ return oe;
18413
18413
  }
18414
18414
  function Fg(i, a) {
18415
18415
  return function(l, d) {
@@ -18469,7 +18469,7 @@ function xx() {
18469
18469
  };
18470
18470
  }
18471
18471
  function $g(i, a, l, d, g, v, C, T, S, D) {
18472
- var x = a & z, U = x ? C : t, W = x ? t : C, Z = x ? v : t, oe = x ? t : v;
18472
+ var x = a & z, U = x ? C : t, W = x ? t : C, Z = x ? v : t, ie = x ? t : v;
18473
18473
  a |= x ? ee : Pe, a &= ~(x ? Pe : ee), a & K || (a &= ~(O | V));
18474
18474
  var _e = [
18475
18475
  i,
@@ -18477,13 +18477,13 @@ function xx() {
18477
18477
  g,
18478
18478
  Z,
18479
18479
  U,
18480
- oe,
18480
+ ie,
18481
18481
  W,
18482
18482
  T,
18483
18483
  S,
18484
18484
  D
18485
- ], ae = l.apply(t, _e);
18486
- return Tu(i) && Zg(ae, _e), ae.placeholder = d, em(ae, i, a);
18485
+ ], oe = l.apply(t, _e);
18486
+ return Tu(i) && Zg(oe, _e), oe.placeholder = d, em(oe, i, a);
18487
18487
  }
18488
18488
  function mu(i) {
18489
18489
  var a = ht[i];
@@ -18526,10 +18526,10 @@ function xx() {
18526
18526
  T
18527
18527
  ];
18528
18528
  if (W && wA(Z, W), i = Z[0], a = Z[1], l = Z[2], d = Z[3], g = Z[4], T = Z[9] = Z[9] === t ? S ? 0 : i.length : ft(Z[9] - D, 0), !T && a & (z | G) && (a &= ~(z | G)), !a || a == O)
18529
- var oe = rA(i, a, l);
18530
- else a == z || a == G ? oe = iA(i, a, T) : (a == ee || a == (O | ee)) && !g.length ? oe = oA(i, a, l, d) : oe = ws.apply(t, Z);
18529
+ var ie = rA(i, a, l);
18530
+ else a == z || a == G ? ie = iA(i, a, T) : (a == ee || a == (O | ee)) && !g.length ? ie = oA(i, a, l, d) : ie = ws.apply(t, Z);
18531
18531
  var _e = W ? Tg : Zg;
18532
- return em(_e(oe, Z), i, a);
18532
+ return em(_e(ie, Z), i, a);
18533
18533
  }
18534
18534
  function zg(i, a, l, d) {
18535
18535
  return i === t || Bn(i, Wi[l]) && !Ue.call(d, l) ? a : i;
@@ -18549,24 +18549,24 @@ function xx() {
18549
18549
  return D == a && x == i;
18550
18550
  var U = -1, W = !0, Z = l & I ? new ci() : t;
18551
18551
  for (v.set(i, a), v.set(a, i); ++U < T; ) {
18552
- var oe = i[U], _e = a[U];
18552
+ var ie = i[U], _e = a[U];
18553
18553
  if (d)
18554
- var ae = C ? d(_e, oe, U, a, i, v) : d(oe, _e, U, i, a, v);
18555
- if (ae !== t) {
18556
- if (ae)
18554
+ var oe = C ? d(_e, ie, U, a, i, v) : d(ie, _e, U, i, a, v);
18555
+ if (oe !== t) {
18556
+ if (oe)
18557
18557
  continue;
18558
18558
  W = !1;
18559
18559
  break;
18560
18560
  }
18561
18561
  if (Z) {
18562
18562
  if (!Fl(a, function(Ae, be) {
18563
- if (!Wo(Z, be) && (oe === Ae || g(oe, Ae, l, d, v)))
18563
+ if (!Wo(Z, be) && (ie === Ae || g(ie, Ae, l, d, v)))
18564
18564
  return Z.push(be);
18565
18565
  })) {
18566
18566
  W = !1;
18567
18567
  break;
18568
18568
  }
18569
- } else if (!(oe === _e || g(oe, _e, l, d, v))) {
18569
+ } else if (!(ie === _e || g(ie, _e, l, d, v))) {
18570
18570
  W = !1;
18571
18571
  break;
18572
18572
  }
@@ -18617,12 +18617,12 @@ function xx() {
18617
18617
  if (!(C ? W in a : Ue.call(a, W)))
18618
18618
  return !1;
18619
18619
  }
18620
- var Z = v.get(i), oe = v.get(a);
18621
- if (Z && oe)
18622
- return Z == a && oe == i;
18620
+ var Z = v.get(i), ie = v.get(a);
18621
+ if (Z && ie)
18622
+ return Z == a && ie == i;
18623
18623
  var _e = !0;
18624
18624
  v.set(i, a), v.set(a, i);
18625
- for (var ae = C; ++U < S; ) {
18625
+ for (var oe = C; ++U < S; ) {
18626
18626
  W = T[U];
18627
18627
  var Ae = i[W], be = a[W];
18628
18628
  if (d)
@@ -18631,9 +18631,9 @@ function xx() {
18631
18631
  _e = !1;
18632
18632
  break;
18633
18633
  }
18634
- ae || (ae = W == "constructor");
18634
+ oe || (oe = W == "constructor");
18635
18635
  }
18636
- if (_e && !ae) {
18636
+ if (_e && !oe) {
18637
18637
  var Ft = i.constructor, on = a.constructor;
18638
18638
  Ft != on && "constructor" in i && "constructor" in a && !(typeof Ft == "function" && Ft instanceof Ft && typeof on == "function" && on instanceof on) && (_e = !1);
18639
18639
  }
@@ -19450,20 +19450,20 @@ function xx() {
19450
19450
  var $n = d, Ir = g;
19451
19451
  return d = g = t, D = ot, C = i.apply(Ir, $n), C;
19452
19452
  }
19453
- function oe(ot) {
19453
+ function ie(ot) {
19454
19454
  return D = ot, T = ra(Ae, a), x ? Z(ot) : C;
19455
19455
  }
19456
19456
  function _e(ot) {
19457
19457
  var $n = ot - S, Ir = ot - D, Um = a - $n;
19458
19458
  return U ? Ot(Um, v - Ir) : Um;
19459
19459
  }
19460
- function ae(ot) {
19460
+ function oe(ot) {
19461
19461
  var $n = ot - S, Ir = ot - D;
19462
19462
  return S === t || $n >= a || $n < 0 || U && Ir >= v;
19463
19463
  }
19464
19464
  function Ae() {
19465
19465
  var ot = Os();
19466
- if (ae(ot))
19466
+ if (oe(ot))
19467
19467
  return be(ot);
19468
19468
  T = ra(Ae, _e(ot));
19469
19469
  }
@@ -19477,10 +19477,10 @@ function xx() {
19477
19477
  return T === t ? C : be(Os());
19478
19478
  }
19479
19479
  function on() {
19480
- var ot = Os(), $n = ae(ot);
19480
+ var ot = Os(), $n = oe(ot);
19481
19481
  if (d = arguments, g = this, S = ot, $n) {
19482
19482
  if (T === t)
19483
- return oe(S);
19483
+ return ie(S);
19484
19484
  if (U)
19485
19485
  return Rg(T), T = ra(Ae, a), Z(S);
19486
19486
  }
@@ -20030,26 +20030,26 @@ function xx() {
20030
20030
  "g"
20031
20031
  ), Z = "//# sourceURL=" + (Ue.call(a, "sourceURL") ? (a.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++Zw + "]") + `
20032
20032
  `;
20033
- i.replace(W, function(ae, Ae, be, rn, Ft, on) {
20033
+ i.replace(W, function(oe, Ae, be, rn, Ft, on) {
20034
20034
  return be || (be = rn), U += i.slice(D, on).replace(Ow, _T), Ae && (T = !0, U += `' +
20035
20035
  __e(` + Ae + `) +
20036
20036
  '`), Ft && (S = !0, U += `';
20037
20037
  ` + Ft + `;
20038
20038
  __p += '`), be && (U += `' +
20039
20039
  ((__t = (` + be + `)) == null ? '' : __t) +
20040
- '`), D = on + ae.length, ae;
20040
+ '`), D = on + oe.length, oe;
20041
20041
  }), U += `';
20042
20042
  `;
20043
- var oe = Ue.call(a, "variable") && a.variable;
20044
- if (!oe)
20043
+ var ie = Ue.call(a, "variable") && a.variable;
20044
+ if (!ie)
20045
20045
  U = `with (obj) {
20046
20046
  ` + U + `
20047
20047
  }
20048
20048
  `;
20049
- else if (ww.test(oe))
20049
+ else if (ww.test(ie))
20050
20050
  throw new he(u);
20051
- U = (S ? U.replace(ow, "") : U).replace(aw, "$1").replace(sw, "$1;"), U = "function(" + (oe || "obj") + `) {
20052
- ` + (oe ? "" : `obj || (obj = {});
20051
+ U = (S ? U.replace(ow, "") : U).replace(aw, "$1").replace(sw, "$1;"), U = "function(" + (ie || "obj") + `) {
20052
+ ` + (ie ? "" : `obj || (obj = {});
20053
20053
  `) + "var __t, __p = ''" + (T ? ", __e = _.escape" : "") + (S ? `, __j = Array.prototype.join;
20054
20054
  function print() { __p += __j.call(arguments, '') }
20055
20055
  ` : `;
@@ -20358,13 +20358,13 @@ function print() { __p += __j.call(arguments, '') }
20358
20358
  return d && W ? be[0] : be;
20359
20359
  };
20360
20360
  x && l && typeof D == "function" && D.length != 1 && (S = x = !1);
20361
- var W = this.__chain__, Z = !!this.__actions__.length, oe = v && !W, _e = S && !Z;
20361
+ var W = this.__chain__, Z = !!this.__actions__.length, ie = v && !W, _e = S && !Z;
20362
20362
  if (!v && x) {
20363
20363
  C = _e ? C : new Se(this);
20364
- var ae = i.apply(C, T);
20365
- return ae.__actions__.push({ func: Rs, args: [U], thisArg: t }), new Cn(ae, W);
20364
+ var oe = i.apply(C, T);
20365
+ return oe.__actions__.push({ func: Rs, args: [U], thisArg: t }), new Cn(oe, W);
20366
20366
  }
20367
- return oe && _e ? i.apply(this, T) : (ae = this.thru(U), oe ? d ? ae.value()[0] : ae.value() : ae);
20367
+ return ie && _e ? i.apply(this, T) : (oe = this.thru(U), ie ? d ? oe.value()[0] : oe.value() : oe);
20368
20368
  });
20369
20369
  }), yn(["pop", "push", "shift", "sort", "splice", "unshift"], function(i) {
20370
20370
  var a = es[i], l = /^(?:push|sort|unshift)$/.test(i) ? "tap" : "thru", d = /^(?:pop|shift)$/.test(i);
@@ -20398,7 +20398,7 @@ const pc = /* @__PURE__ */ Nx(xo);
20398
20398
  function Ka(r) {
20399
20399
  const e = VC();
20400
20400
  e.defaults.baseURL = r;
20401
- const t = ie({
20401
+ const t = se({
20402
20402
  scope_type: "org"
20403
20403
  });
20404
20404
  async function n(o) {
@@ -23179,7 +23179,7 @@ function pF(r) {
23179
23179
  }
23180
23180
  }
23181
23181
  let Js = !1;
23182
- const gd = ie(!1), Sn = ie([]), Cv = ie([]), et = ie(null), ao = ie([]), so = ie([]), RH = () => {
23182
+ const gd = se(!1), Sn = se([]), Cv = se([]), et = se(null), ao = se([]), so = se([]), RH = () => {
23183
23183
  const r = pr(), e = async (w) => {
23184
23184
  gd.value = !0;
23185
23185
  const I = w ? `_active eq true and ${w}` : "_active eq true", O = await Ci.getOrgList(I);
@@ -23315,7 +23315,7 @@ const gd = ie(!1), Sn = ie([]), Cv = ie([]), et = ie(null), ao = ie([]), so = ie
23315
23315
  };
23316
23316
  };
23317
23317
  let Qs = !1;
23318
- const In = ie([]), wv = ie([]), gt = ie(null), md = ie(!1), co = ie([]), kH = () => {
23318
+ const In = se([]), wv = se([]), gt = se(null), md = se(!1), co = se([]), kH = () => {
23319
23319
  const r = pr(), e = async (y) => {
23320
23320
  md.value = !0;
23321
23321
  const E = y ? `_active eq true and ${y}` : "_active eq true", w = await Nn.getTeamList(E);
@@ -23411,11 +23411,11 @@ const In = ie([]), wv = ie([]), gt = ie(null), md = ie(!1), co = ie([]), kH = ()
23411
23411
  __name: "GlobalScopeFilter",
23412
23412
  setup(r) {
23413
23413
  var O, V, K;
23414
- const { openDialog: e } = sh("global-scope__J-"), { user: t, domain: n, scope: o, session: s, setScope: c } = qC(), { getData: u, data: h } = RH(), { getData: f, data: m } = kH(), _ = ie(!1);
23414
+ const { openDialog: e } = sh("global-scope__J-"), { user: t, domain: n, scope: o, session: s, setScope: c } = qC(), { getData: u, data: h } = RH(), { getData: f, data: m } = kH(), _ = se(!1);
23415
23415
  QR(async () => {
23416
23416
  _.value = !0, await u(), await f(), _.value = !1;
23417
23417
  });
23418
- const y = ie({
23418
+ const y = se({
23419
23419
  scope_type: (O = o.value) == null ? void 0 : O.scope_type,
23420
23420
  organization: ((V = o.value) == null ? void 0 : V.organization) ?? "org",
23421
23421
  team: (K = o.value) == null ? void 0 : K.team
@@ -23468,7 +23468,7 @@ const In = ie([]), wv = ie([]), gt = ie(null), md = ie(!1), co = ie([]), kH = ()
23468
23468
  "on-save": I
23469
23469
  }, {
23470
23470
  default: L(() => [
23471
- se("div", null, [
23471
+ ae("div", null, [
23472
23472
  N(Vc, null, {
23473
23473
  default: L(() => [
23474
23474
  N(cr, {
@@ -23601,7 +23601,7 @@ const In = ie([]), wv = ie([]), gt = ie(null), md = ie(!1), co = ie([]), kH = ()
23601
23601
  ]),
23602
23602
  _: 1
23603
23603
  }, 8, ["modelValue"]),
23604
- se("div", null, [
23604
+ ae("div", null, [
23605
23605
  N(Sa, { class: "text-subtitle-1 text-high-emphasis mb-2" }, {
23606
23606
  default: L(() => G[10] || (G[10] = [
23607
23607
  q("Organization")
@@ -23648,14 +23648,14 @@ const In = ie([]), wv = ie([]), gt = ie(null), md = ie(!1), co = ie([]), kH = ()
23648
23648
  }), PH = {}, MH = { class: "double-ring-spinner-container" };
23649
23649
  function NH(r, e) {
23650
23650
  return F(), ve("div", MH, e[0] || (e[0] = [
23651
- se("div", { class: "spinner-loading" }, [
23652
- se("div"),
23653
- se("div"),
23654
- se("div", null, [
23655
- se("div")
23651
+ ae("div", { class: "spinner-loading" }, [
23652
+ ae("div"),
23653
+ ae("div"),
23654
+ ae("div", null, [
23655
+ ae("div")
23656
23656
  ]),
23657
- se("div", null, [
23658
- se("div")
23657
+ ae("div", null, [
23658
+ ae("div")
23659
23659
  ])
23660
23660
  ], -1)
23661
23661
  ]));
@@ -23697,15 +23697,15 @@ const DH = /* @__PURE__ */ La(PH, [["render", NH], ["__scopeId", "data-v-003f238
23697
23697
  setup(r) {
23698
23698
  return (e, t) => (F(), te(XR, { to: "body" }, [
23699
23699
  Ce(ge) ? (F(), ve("div", HH, t[0] || (t[0] = [
23700
- se("div", { class: "double-ring-spinner-container" }, [
23701
- se("div", { class: "spinner-loading" }, [
23702
- se("div"),
23703
- se("div"),
23704
- se("div", null, [
23705
- se("div")
23700
+ ae("div", { class: "double-ring-spinner-container" }, [
23701
+ ae("div", { class: "spinner-loading" }, [
23702
+ ae("div"),
23703
+ ae("div"),
23704
+ ae("div", null, [
23705
+ ae("div")
23706
23706
  ]),
23707
- se("div", null, [
23708
- se("div")
23707
+ ae("div", null, [
23708
+ ae("div")
23709
23709
  ])
23710
23710
  ])
23711
23711
  ], -1)
@@ -23715,15 +23715,16 @@ const DH = /* @__PURE__ */ La(PH, [["render", NH], ["__scopeId", "data-v-003f238
23715
23715
  }, BH = /* @__PURE__ */ La(FH, [["__scopeId", "data-v-b114d14e"]]), Tv = [
23716
23716
  {
23717
23717
  path: "/authenticating",
23718
- component: () => import("./Authenticating-jsRnKOaQ.mjs"),
23718
+ component: () => import("./Authenticating-Ciit6XMv.mjs"),
23719
23719
  meta: { public: !0 }
23720
23720
  },
23721
23721
  {
23722
23722
  path: "/authfail",
23723
- component: () => import("./AuthFail-DYvV_uLa.mjs"),
23723
+ component: () => import("./AuthFail-CgQcRgtO.mjs"),
23724
23724
  meta: { public: !0 }
23725
23725
  }
23726
- ], { isAuthenticated: Ev, handleRedirect: $H } = CC(), KH = qC(), pd = ie("loading");
23726
+ ], { isAuthenticated: Ev, handleRedirect: $H } = CC(), KH = qC();
23727
+ let pd;
23727
23728
  function vF(r) {
23728
23729
  r.addRoute(Tv[0]), r.addRoute(Tv[1]), r.beforeEach(async (e, t, n) => {
23729
23730
  function o(c) {
@@ -23731,19 +23732,18 @@ function vF(r) {
23731
23732
  }
23732
23733
  if (!o(e))
23733
23734
  return n();
23734
- if (!Ev.value) {
23735
- pd.value = "loading";
23735
+ if (Ev.value)
23736
+ n();
23737
+ else
23736
23738
  try {
23737
- await $H(), await KH.__init__(), pd.value = "success";
23739
+ pd = e, n("/authenticating"), await $H(), await KH.__init__(), Ev.value ? pd ? n(pd) : n() : n("/authfail");
23738
23740
  } catch (c) {
23739
- return console.error("Error in navigation guard:", c), pd.value = "fail", n("/authfail");
23741
+ return console.error("Error in navigation guard:", c), n("/authfail");
23740
23742
  }
23741
- }
23742
- Ev.value && n();
23743
23743
  });
23744
23744
  }
23745
23745
  let vd = !1;
23746
- const yd = ie(!1), bn = ie([]), Av = ie([]), At = ie(null), lo = ie([]), yF = () => {
23746
+ const yd = se(!1), bn = se([]), Av = se([]), At = se(null), lo = se([]), yF = () => {
23747
23747
  const r = pr(), e = async (y) => {
23748
23748
  yd.value = !0;
23749
23749
  const E = y ? `_active eq true and ${y}` : "_active eq true", w = await wi.getBranchList(E);
@@ -23905,7 +23905,7 @@ function zH() {
23905
23905
  }
23906
23906
  const aa = zH();
23907
23907
  let _d = !1;
23908
- const Cd = ie(!1), Rn = ie([]), Sv = ie([]), St = ie(null), uo = ie([]), _F = () => {
23908
+ const Cd = se(!1), Rn = se([]), Sv = se([]), St = se(null), uo = se([]), _F = () => {
23909
23909
  const r = pr(), e = async (y) => {
23910
23910
  Cd.value = !0;
23911
23911
  const E = y ? `_active eq true and ${y}` : "_active eq true", w = await aa.getDivisionList(E);
@@ -24064,8 +24064,8 @@ function WH() {
24064
24064
  };
24065
24065
  }
24066
24066
  const sa = WH();
24067
- let wd = !1, Td = ie(!1);
24068
- const kn = ie([]), Iv = ie([]), On = ie(null), VH = ie(null), qH = ie([]), CF = () => {
24067
+ let wd = !1, Td = se(!1);
24068
+ const kn = se([]), Iv = se([]), On = se(null), VH = se(null), qH = se([]), CF = () => {
24069
24069
  const r = pr(), e = async (m) => {
24070
24070
  Td.value = !0;
24071
24071
  const _ = m ? `_active eq true and ${m}` : "_active eq true", y = await sa.getManageUserList(_);