@vc-shell/framework 2.2.0-pr261.11c6306 → 2.2.0-pr261.35d2c12

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.
Files changed (29) hide show
  1. package/dist/ai-agent/index.js +3 -3
  2. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_script_setup_true_lang-qC6yOtWU.js → VcAiAgentPanel.vue_vue_type_script_setup_true_lang-Cm_izaFs.js} +1 -1
  3. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_script_setup_true_lang-qC6yOtWU.js.map → VcAiAgentPanel.vue_vue_type_script_setup_true_lang-Cm_izaFs.js.map} +1 -1
  4. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-BneMFPUI.js → VcAiAgentPanel.vue_vue_type_style_index_0_lang-DrGobYkj.js} +169 -156
  5. package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-DrGobYkj.js.map +1 -0
  6. package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-ChAZE3ab.js → VcScheduler.vue_vue_type_script_setup_true_lang-BHufGxno.js} +3 -3
  7. package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-ChAZE3ab.js.map → VcScheduler.vue_vue_type_script_setup_true_lang-BHufGxno.js.map} +1 -1
  8. package/dist/chunks/{VcScheduler.vue_vue_type_style_index_0_lang-DGx3smxP.js → VcScheduler.vue_vue_type_style_index_0_lang-Iu3FiU-0.js} +413 -408
  9. package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-Iu3FiU-0.js.map +1 -0
  10. package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-Vlgchlib.js → dashboard-feed-row.vue_vue_type_script_setup_true_lang-DlE4KIvq.js} +2 -2
  11. package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-Vlgchlib.js.map → dashboard-feed-row.vue_vue_type_script_setup_true_lang-DlE4KIvq.js.map} +1 -1
  12. package/dist/chunks/{index-BuToNK4r.js → index-C-SEYj46.js} +2 -2
  13. package/dist/chunks/{index-BuToNK4r.js.map → index-C-SEYj46.js.map} +1 -1
  14. package/dist/core/composables/useAsync/index.d.ts.map +1 -1
  15. package/dist/core/composables/useUser/index.d.ts.map +1 -1
  16. package/dist/core/interceptors/index.d.ts.map +1 -1
  17. package/dist/core/utilities/sessionExpiration.d.ts +30 -0
  18. package/dist/core/utilities/sessionExpiration.d.ts.map +1 -0
  19. package/dist/dashboard/index.js +1 -1
  20. package/dist/framework.js +787 -787
  21. package/dist/framework.js.map +1 -1
  22. package/dist/index.css +1 -1
  23. package/dist/shell/components/error-interceptor/interceptor.d.ts.map +1 -1
  24. package/dist/tsconfig.tsbuildinfo +1 -1
  25. package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts.map +1 -1
  26. package/dist/ui/index.js +3 -3
  27. package/package.json +4 -4
  28. package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-BneMFPUI.js.map +0 -1
  29. package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-DGx3smxP.js.map +0 -1
@@ -1,12 +1,12 @@
1
- import { ref as S, computed as u, defineComponent as P, onMounted as G, openBlock as g, createElementBlock as y, normalizeStyle as R, normalizeClass as T, toDisplayString as H, markRaw as q, createBlock as N, resolveDynamicComponent as F, createElementVNode as M, mergeProps as $, createCommentVNode as D, resolveComponent as k, inject as Y, toValue as X, useId as Z, onBeforeUnmount as Q, withKeys as ee, renderSlot as L, Teleport as te, unref as re, createVNode as ne, Transition as se, withCtx as ae } from "vue";
2
- import { a as ie } from "./vendor-vueuse-core-BFa9je5E.js";
3
- import { j as oe } from "./vendor-vueuse-shared-kZH3-Km1.js";
4
- import { L as le } from "./vendor-lucide-vue-next-CwUrzD6N.js";
5
- import { a as ue, u as he } from "./vendor-floating-ui-vue-sCrhit51.js";
6
- import { o as ce, f as de, s as fe, b as pe } from "./vendor-floating-ui-dom-BvVXFZ4B.js";
7
- const me = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?$/;
8
- function ve(i, e) {
9
- if (typeof e == "string" && me.test(e)) {
1
+ import { ref as S, computed as u, defineComponent as P, onMounted as G, openBlock as g, createElementBlock as y, normalizeStyle as R, normalizeClass as T, toDisplayString as Y, markRaw as H, createBlock as N, resolveDynamicComponent as F, createElementVNode as M, mergeProps as $, createCommentVNode as D, resolveComponent as k, inject as X, toValue as Z, useId as Q, onBeforeUnmount as ee, withKeys as te, renderSlot as K, Teleport as re, unref as ne, createVNode as se, Transition as ae, withCtx as ie } from "vue";
2
+ import { a as oe } from "./vendor-vueuse-core-BFa9je5E.js";
3
+ import { j as le } from "./vendor-vueuse-shared-kZH3-Km1.js";
4
+ import { L as ue } from "./vendor-lucide-vue-next-CwUrzD6N.js";
5
+ import { a as he, u as ce } from "./vendor-floating-ui-vue-sCrhit51.js";
6
+ import { o as de, f as fe, s as pe, b as me } from "./vendor-floating-ui-dom-BvVXFZ4B.js";
7
+ const ve = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?$/;
8
+ function be(i, e) {
9
+ if (typeof e == "string" && ve.test(e)) {
10
10
  const t = new Date(e);
11
11
  if (!isNaN(t.getTime()))
12
12
  return t;
@@ -20,7 +20,7 @@ class x {
20
20
  * Subclasses use this when parsing API responses.
21
21
  * The dateReviver function is defined in File.Header.liquid template.
22
22
  */
23
- jsonParseReviver = ve;
23
+ jsonParseReviver = be;
24
24
  constructor() {
25
25
  }
26
26
  // Enforce always return empty string as baseUrl
@@ -34,7 +34,7 @@ class x {
34
34
  return this.authToken && (e.headers.authorization = `Bearer ${this.authToken}`), Promise.resolve(e);
35
35
  }
36
36
  }
37
- class be extends x {
37
+ class xe extends x {
38
38
  http;
39
39
  baseUrl;
40
40
  constructor(e, t) {
@@ -141,7 +141,7 @@ class be extends x {
141
141
  }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
142
142
  }
143
143
  }
144
- class Ye extends x {
144
+ class Ze extends x {
145
145
  http;
146
146
  baseUrl;
147
147
  constructor(e, t) {
@@ -210,7 +210,7 @@ class Ye extends x {
210
210
  }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
211
211
  }
212
212
  }
213
- class Xe extends x {
213
+ class Qe extends x {
214
214
  http;
215
215
  baseUrl;
216
216
  constructor(e, t) {
@@ -240,7 +240,7 @@ class Xe extends x {
240
240
  }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
241
241
  }
242
242
  }
243
- class Ze extends x {
243
+ class et extends x {
244
244
  http;
245
245
  baseUrl;
246
246
  constructor(e, t) {
@@ -382,7 +382,7 @@ class Ze extends x {
382
382
  }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
383
383
  }
384
384
  }
385
- class Qe extends x {
385
+ class tt extends x {
386
386
  http;
387
387
  baseUrl;
388
388
  constructor(e, t) {
@@ -583,7 +583,7 @@ class Qe extends x {
583
583
  }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
584
584
  }
585
585
  }
586
- class et extends x {
586
+ class rt extends x {
587
587
  http;
588
588
  baseUrl;
589
589
  constructor(e, t) {
@@ -612,7 +612,7 @@ class et extends x {
612
612
  }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
613
613
  }
614
614
  }
615
- class tt extends x {
615
+ class nt extends x {
616
616
  http;
617
617
  baseUrl;
618
618
  constructor(e, t) {
@@ -664,7 +664,7 @@ class tt extends x {
664
664
  }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
665
665
  }
666
666
  }
667
- class rt extends x {
667
+ class st extends x {
668
668
  http;
669
669
  baseUrl;
670
670
  constructor(e, t) {
@@ -939,7 +939,7 @@ class rt extends x {
939
939
  }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
940
940
  }
941
941
  }
942
- class nt extends x {
942
+ class at extends x {
943
943
  http;
944
944
  baseUrl;
945
945
  constructor(e, t) {
@@ -972,7 +972,7 @@ class nt extends x {
972
972
  }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
973
973
  }
974
974
  }
975
- class st extends x {
975
+ class it extends x {
976
976
  http;
977
977
  baseUrl;
978
978
  constructor(e, t) {
@@ -1076,7 +1076,7 @@ class st extends x {
1076
1076
  }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1077
1077
  }
1078
1078
  }
1079
- class at extends x {
1079
+ class ot extends x {
1080
1080
  http;
1081
1081
  baseUrl;
1082
1082
  constructor(e, t) {
@@ -1532,7 +1532,7 @@ class at extends x {
1532
1532
  }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1533
1533
  }
1534
1534
  }
1535
- class it extends x {
1535
+ class lt extends x {
1536
1536
  http;
1537
1537
  baseUrl;
1538
1538
  constructor(e, t) {
@@ -1634,7 +1634,7 @@ class it extends x {
1634
1634
  }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1635
1635
  }
1636
1636
  }
1637
- class ot extends x {
1637
+ class ut extends x {
1638
1638
  http;
1639
1639
  baseUrl;
1640
1640
  constructor(e, t) {
@@ -1690,7 +1690,7 @@ class ot extends x {
1690
1690
  }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1691
1691
  }
1692
1692
  }
1693
- class xe extends x {
1693
+ class ge extends x {
1694
1694
  http;
1695
1695
  baseUrl;
1696
1696
  constructor(e, t) {
@@ -2827,7 +2827,7 @@ class xe extends x {
2827
2827
  }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2828
2828
  }
2829
2829
  }
2830
- class lt extends x {
2830
+ class ht extends x {
2831
2831
  http;
2832
2832
  baseUrl;
2833
2833
  constructor(e, t) {
@@ -2955,7 +2955,7 @@ class lt extends x {
2955
2955
  }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2956
2956
  }
2957
2957
  }
2958
- class ut extends x {
2958
+ class ct extends x {
2959
2959
  http;
2960
2960
  baseUrl;
2961
2961
  constructor(e, t) {
@@ -3224,8 +3224,8 @@ class ut extends x {
3224
3224
  }) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
3225
3225
  }
3226
3226
  }
3227
- var ge = /* @__PURE__ */ ((i) => (i.AppMenu = "AppMenu", i.MainMenu = "MainMenu", i.Hidden = "Hidden", i))(ge || {}), Ee = /* @__PURE__ */ ((i) => (i.Undefined = "Undefined", i.ShortText = "ShortText", i.LongText = "LongText", i.Integer = "Integer", i.Decimal = "Decimal", i.DateTime = "DateTime", i.Boolean = "Boolean", i.Html = "Html", i.Image = "Image", i))(Ee || {}), Ue = /* @__PURE__ */ ((i) => (i.Detached = "Detached", i.Unchanged = "Unchanged", i.Added = "Added", i.Deleted = "Deleted", i.Modified = "Modified", i))(Ue || {}), ye = /* @__PURE__ */ ((i) => (i.Undefined = "Undefined", i.Object = "Object", i.Array = "Array", i.String = "String", i.Number = "Number", i.True = "True", i.False = "False", i.Null = "Null", i))(ye || {}), Se = /* @__PURE__ */ ((i) => (i.Info = "Info", i.Warning = "Warning", i.Debug = "Debug", i.Error = "Error", i))(Se || {}), Te = /* @__PURE__ */ ((i) => (i.ShortText = "ShortText", i.LongText = "LongText", i.Integer = "Integer", i.Decimal = "Decimal", i.DateTime = "DateTime", i.Boolean = "Boolean", i.SecureString = "SecureString", i.Json = "Json", i.PositiveInteger = "PositiveInteger", i))(Te || {}), _e = /* @__PURE__ */ ((i) => (i.Ascending = "Ascending", i.Descending = "Descending", i))(_e || {});
3228
- class Pe extends Error {
3227
+ var Ee = /* @__PURE__ */ ((i) => (i.AppMenu = "AppMenu", i.MainMenu = "MainMenu", i.Hidden = "Hidden", i))(Ee || {}), Ue = /* @__PURE__ */ ((i) => (i.Undefined = "Undefined", i.ShortText = "ShortText", i.LongText = "LongText", i.Integer = "Integer", i.Decimal = "Decimal", i.DateTime = "DateTime", i.Boolean = "Boolean", i.Html = "Html", i.Image = "Image", i))(Ue || {}), ye = /* @__PURE__ */ ((i) => (i.Detached = "Detached", i.Unchanged = "Unchanged", i.Added = "Added", i.Deleted = "Deleted", i.Modified = "Modified", i))(ye || {}), Se = /* @__PURE__ */ ((i) => (i.Undefined = "Undefined", i.Object = "Object", i.Array = "Array", i.String = "String", i.Number = "Number", i.True = "True", i.False = "False", i.Null = "Null", i))(Se || {}), Te = /* @__PURE__ */ ((i) => (i.Info = "Info", i.Warning = "Warning", i.Debug = "Debug", i.Error = "Error", i))(Te || {}), _e = /* @__PURE__ */ ((i) => (i.ShortText = "ShortText", i.LongText = "LongText", i.Integer = "Integer", i.Decimal = "Decimal", i.DateTime = "DateTime", i.Boolean = "Boolean", i.SecureString = "SecureString", i.Json = "Json", i.PositiveInteger = "PositiveInteger", i))(_e || {}), Pe = /* @__PURE__ */ ((i) => (i.Ascending = "Ascending", i.Descending = "Descending", i))(Pe || {});
3228
+ class we extends Error {
3229
3229
  message;
3230
3230
  status;
3231
3231
  response;
@@ -3240,21 +3240,21 @@ class Pe extends Error {
3240
3240
  }
3241
3241
  }
3242
3242
  function a(i, e, t, n, r) {
3243
- throw r ?? new Pe(i, e, t, n, null);
3243
+ throw r ?? new we(i, e, t, n, null);
3244
3244
  }
3245
- const K = {
3245
+ const W = {
3246
3246
  debug: 0,
3247
3247
  info: 1,
3248
3248
  warn: 2,
3249
3249
  error: 3,
3250
3250
  none: 4
3251
- }, we = {
3251
+ }, Oe = {
3252
3252
  level: "warn",
3253
3253
  prefix: "@vc-shell/framework",
3254
3254
  enabled: !0
3255
3255
  };
3256
3256
  function E(i) {
3257
- const e = { ...we }, t = i ? `[${e.prefix}#${i}]` : `[${e.prefix}]`, n = (r) => e.enabled ? K[r] >= K[e.level] : !1;
3257
+ const e = { ...Oe }, t = i ? `[${e.prefix}#${i}]` : `[${e.prefix}]`, n = (r) => e.enabled ? W[r] >= W[e.level] : !1;
3258
3258
  return {
3259
3259
  /**
3260
3260
  * Log debug messages (only in development)
@@ -3298,16 +3298,16 @@ function E(i) {
3298
3298
  }
3299
3299
  };
3300
3300
  }
3301
- const ht = E(), ct = {
3301
+ const dt = E(), ft = {
3302
3302
  core: E("core"),
3303
3303
  ui: E("ui"),
3304
3304
  shared: E("shared"),
3305
3305
  plugins: E("plugins"),
3306
3306
  services: E("services"),
3307
3307
  composables: E("composables")
3308
- }, J = E("use-external-provider"), Oe = "externalSignIn", Ae = () => {
3309
- const i = new be(), e = ie(
3310
- Oe,
3308
+ }, J = E("use-external-provider"), Ae = "externalSignIn", je = () => {
3309
+ const i = new xe(), e = oe(
3310
+ Ae,
3311
3311
  {},
3312
3312
  {
3313
3313
  listenToStorageChanges: !0,
@@ -3352,10 +3352,21 @@ const ht = E(), ct = {
3352
3352
  signOut: r,
3353
3353
  getProviders: s
3354
3354
  };
3355
- }, B = "vc_auth_data", m = E("use-user");
3356
- function je() {
3355
+ };
3356
+ let B = !1;
3357
+ function pt() {
3358
+ B = !0;
3359
+ }
3360
+ function mt() {
3361
+ return B;
3362
+ }
3363
+ function Re() {
3364
+ B = !1;
3365
+ }
3366
+ const L = "vc_auth_data", m = E("use-user");
3367
+ function Ce() {
3357
3368
  try {
3358
- const i = localStorage.getItem(B);
3369
+ const i = localStorage.getItem(L);
3359
3370
  if (i)
3360
3371
  return JSON.parse(i);
3361
3372
  } catch (i) {
@@ -3363,21 +3374,21 @@ function je() {
3363
3374
  }
3364
3375
  return null;
3365
3376
  }
3366
- function W(i) {
3377
+ function V(i) {
3367
3378
  try {
3368
- m.debug("storeAuthData - Saving:", i), localStorage.setItem(B, JSON.stringify(i)), m.debug("storeAuthData - Saved successfully");
3379
+ m.debug("storeAuthData - Saving:", i), localStorage.setItem(L, JSON.stringify(i)), m.debug("storeAuthData - Saved successfully");
3369
3380
  } catch (e) {
3370
3381
  m.error("Failed to store auth data:", e);
3371
3382
  }
3372
3383
  }
3373
- function Re() {
3384
+ function Ie() {
3374
3385
  try {
3375
- localStorage.removeItem(B);
3386
+ localStorage.removeItem(L);
3376
3387
  } catch (i) {
3377
3388
  m.error("Failed to clear auth data:", i);
3378
3389
  }
3379
3390
  }
3380
- async function V(i) {
3391
+ async function q(i) {
3381
3392
  try {
3382
3393
  const e = new URLSearchParams(i).toString(), t = await fetch("/connect/token", {
3383
3394
  method: "POST",
@@ -3406,8 +3417,8 @@ async function V(i) {
3406
3417
  return m.error("fetchToken - Exception:", e), null;
3407
3418
  }
3408
3419
  }
3409
- function Ce() {
3410
- const i = S(!1), e = S(), t = S(null), { storage: n, signOut: r } = Ae(), s = new xe(), o = u(() => e.value?.userName != null);
3420
+ function ze() {
3421
+ const i = S(!1), e = S(), t = S(null), { storage: n, signOut: r } = je(), s = new ge(), o = u(() => e.value?.userName != null);
3411
3422
  async function l(c, d) {
3412
3423
  let p = !1;
3413
3424
  try {
@@ -3432,18 +3443,18 @@ function Ce() {
3432
3443
  async function C(c, d) {
3433
3444
  m.debug("signIn - Entry point");
3434
3445
  try {
3435
- i.value = !0;
3446
+ i.value = !0, Re();
3436
3447
  const p = await s.login({ userName: c, password: d });
3437
3448
  if (m.debug("signIn - Cookie login completed:", p), !p.succeeded)
3438
3449
  return p;
3439
3450
  m.debug("signIn - Requesting token...");
3440
- const v = await V({
3451
+ const v = await q({
3441
3452
  grant_type: "password",
3442
3453
  username: c,
3443
3454
  password: d,
3444
3455
  scope: "offline_access"
3445
3456
  });
3446
- v && (t.value = v, W(t.value), m.debug("signIn - Token saved:", t.value));
3457
+ v && (t.value = v, V(t.value), m.debug("signIn - Token saved:", t.value));
3447
3458
  const j = await s.getCurrentUser();
3448
3459
  if (j)
3449
3460
  return e.value = j, p;
@@ -3463,7 +3474,7 @@ function Ce() {
3463
3474
  }
3464
3475
  }
3465
3476
  async function w() {
3466
- m.debug("signOut - Entry point"), e.value = void 0, Re(), t.value = null, n.value?.providerType ? await r(n.value.providerType) : s.logout();
3477
+ m.debug("signOut - Entry point"), e.value = void 0, Ie(), t.value = null, n.value?.providerType ? await r(n.value.providerType) : s.logout();
3467
3478
  }
3468
3479
  let U = null;
3469
3480
  async function O() {
@@ -3517,7 +3528,7 @@ function Ce() {
3517
3528
  }
3518
3529
  const z = 60 * 1e3;
3519
3530
  async function f() {
3520
- if (m.debug("getAccessToken - Entry point"), t.value || (t.value = je()), !t.value)
3531
+ if (m.debug("getAccessToken - Entry point"), t.value || (t.value = Ce()), !t.value)
3521
3532
  return m.debug("getAccessToken - No auth data available"), null;
3522
3533
  const c = Date.now(), d = t.value.expires_at, p = d ? c >= d - z : !1;
3523
3534
  if (m.debug("getAccessToken - Token status:", {
@@ -3528,12 +3539,12 @@ function Ce() {
3528
3539
  hasRefreshToken: !!t.value.refresh_token
3529
3540
  }), p && t.value.refresh_token) {
3530
3541
  m.debug("getAccessToken - Token expired or expiring soon, attempting refresh");
3531
- const v = await V({
3542
+ const v = await q({
3532
3543
  grant_type: "refresh_token",
3533
3544
  refresh_token: t.value.refresh_token,
3534
3545
  scope: "offline_access"
3535
3546
  });
3536
- v ? (v.refresh_token = v.refresh_token ?? t.value.refresh_token, t.value = v, W(t.value), m.debug("getAccessToken - Token refreshed successfully, new expiry:", {
3547
+ v ? (v.refresh_token = v.refresh_token ?? t.value.refresh_token, t.value = v, V(t.value), m.debug("getAccessToken - Token refreshed successfully, new expiry:", {
3537
3548
  expiresAt: v.expires_at ? new Date(v.expires_at).toISOString() : "not set"
3538
3549
  })) : m.warn("getAccessToken - Failed to refresh token, returning existing token");
3539
3550
  }
@@ -3556,8 +3567,8 @@ function Ce() {
3556
3567
  getAccessToken: f
3557
3568
  };
3558
3569
  }
3559
- const Ie = oe(Ce), dt = () => {
3560
- const i = Ie();
3570
+ const $e = le(ze), vt = () => {
3571
+ const i = $e();
3561
3572
  return {
3562
3573
  user: i.user,
3563
3574
  loading: i.loading,
@@ -3567,7 +3578,7 @@ const Ie = oe(Ce), dt = () => {
3567
3578
  signOut: i.signOut,
3568
3579
  getAccessToken: i.getAccessToken
3569
3580
  };
3570
- }, ft = Symbol("BladeStack"), pt = Symbol("BladeMessaging"), mt = Symbol("BladeDescriptor"), vt = Symbol("BladeMaximized"), bt = Symbol("BladeRenderingState"), xt = Symbol("BladeData"), gt = Symbol("BladeBanners"), Et = Symbol("BladeBackButton"), Ut = Symbol("NotificationStore"), yt = Symbol("WidgetService"), St = Symbol("DashboardService"), Tt = Symbol("MenuService"), _t = Symbol("SettingsMenuService"), Pt = Symbol("AppBarWidgetService"), wt = Symbol("AppBarMobileButtonsService"), Ot = Symbol("LanguageService"), At = Symbol("ToolbarService"), jt = Symbol("DynamicModules"), Rt = Symbol("ModulesReady"), Ct = Symbol("ModulesLoadError"), ze = Symbol("AppRootElement"), It = Symbol("EmbeddedMode"), zt = Symbol("ShellIndicators"), $t = Symbol("AiAgentService"), Nt = Symbol("IsMobile"), Gt = Symbol("IsDesktop"), kt = Symbol("IsPhone"), Jt = Symbol("IsTablet"), Ft = Symbol("IsTouch"), Mt = Symbol("BladeRoutes"), Dt = Symbol("InternalRoutes"), Bt = Symbol("CloseSettingsMenu"), Lt = Symbol("BladeContext"), Kt = Symbol("WidgetScope"), Wt = Symbol("BladeForm"), Vt = Symbol("BladeLoading"), $e = /* @__PURE__ */ P({
3581
+ }, bt = Symbol("BladeStack"), xt = Symbol("BladeMessaging"), gt = Symbol("BladeDescriptor"), Et = Symbol("BladeMaximized"), Ut = Symbol("BladeRenderingState"), yt = Symbol("BladeData"), St = Symbol("BladeBanners"), Tt = Symbol("BladeBackButton"), _t = Symbol("NotificationStore"), Pt = Symbol("WidgetService"), wt = Symbol("DashboardService"), Ot = Symbol("MenuService"), At = Symbol("SettingsMenuService"), jt = Symbol("AppBarWidgetService"), Rt = Symbol("AppBarMobileButtonsService"), Ct = Symbol("LanguageService"), It = Symbol("ToolbarService"), zt = Symbol("DynamicModules"), $t = Symbol("ModulesReady"), Nt = Symbol("ModulesLoadError"), Ne = Symbol("AppRootElement"), Gt = Symbol("EmbeddedMode"), kt = Symbol("ShellIndicators"), Jt = Symbol("AiAgentService"), Ft = Symbol("IsMobile"), Mt = Symbol("IsDesktop"), Dt = Symbol("IsPhone"), Bt = Symbol("IsTablet"), Lt = Symbol("IsTouch"), Kt = Symbol("BladeRoutes"), Wt = Symbol("InternalRoutes"), Vt = Symbol("CloseSettingsMenu"), qt = Symbol("BladeContext"), Ht = Symbol("WidgetScope"), Yt = Symbol("BladeForm"), Xt = Symbol("BladeLoading"), Ge = /* @__PURE__ */ P({
3571
3582
  __name: "vc-material-icon",
3572
3583
  props: {
3573
3584
  icon: {},
@@ -3588,9 +3599,9 @@ const Ie = oe(Ce), dt = () => {
3588
3599
  ]),
3589
3600
  style: R(n.value),
3590
3601
  "aria-hidden": "true"
3591
- }, H(i.icon), 7));
3602
+ }, Y(i.icon), 7));
3592
3603
  }
3593
- }), Ne = /* @__PURE__ */ P({
3604
+ }), ke = /* @__PURE__ */ P({
3594
3605
  __name: "vc-bootstrap-icon",
3595
3606
  props: {
3596
3607
  icon: {},
@@ -3614,7 +3625,7 @@ const Ie = oe(Ce), dt = () => {
3614
3625
  "aria-hidden": "true"
3615
3626
  }, null, 6));
3616
3627
  }
3617
- }), Ge = /* @__PURE__ */ P({
3628
+ }), Je = /* @__PURE__ */ P({
3618
3629
  __name: "vc-lucide-icon",
3619
3630
  props: {
3620
3631
  icon: {},
@@ -3629,8 +3640,8 @@ const Ie = oe(Ce), dt = () => {
3629
3640
  let l = t.icon;
3630
3641
  return l.startsWith("lucide-") && (l = l.substring(7)), l.toLowerCase().endsWith("icon") && (l = l.slice(0, -4)), l.includes("-") && (l = l.split("-").map((h) => h.charAt(0).toUpperCase() + h.slice(1)).join("")), l.charAt(0).toUpperCase() + l.slice(1) + "Icon";
3631
3642
  }), s = u(() => {
3632
- const l = r.value, h = le[l];
3633
- return !h || typeof h != "object" && typeof h != "function" ? (e.warn(`Lucide icon not found: ${l}`), null) : q(h);
3643
+ const l = r.value, h = ue[l];
3644
+ return !h || typeof h != "object" && typeof h != "function" ? (e.warn(`Lucide icon not found: ${l}`), null) : H(h);
3634
3645
  }), o = u(() => n.value && t.customSize ? {
3635
3646
  width: `${t.customSize}px`,
3636
3647
  height: `${t.customSize}px`
@@ -3652,7 +3663,7 @@ const Ie = oe(Ce), dt = () => {
3652
3663
  M("i", { class: "vc-lucide-icon__fallback" }, null, -1)
3653
3664
  ])], 2));
3654
3665
  }
3655
- }), ke = /* @__PURE__ */ P({
3666
+ }), Fe = /* @__PURE__ */ P({
3656
3667
  __name: "vc-fontawesome-icon",
3657
3668
  props: {
3658
3669
  icon: {},
@@ -3676,7 +3687,7 @@ const Ie = oe(Ce), dt = () => {
3676
3687
  "aria-hidden": "true"
3677
3688
  }, null, 6));
3678
3689
  }
3679
- }), Je = ["xlink:href"], Fe = /* @__PURE__ */ P({
3690
+ }), Me = ["xlink:href"], De = /* @__PURE__ */ P({
3680
3691
  inheritAttrs: !1,
3681
3692
  __name: "vc-svg-icon",
3682
3693
  props: {
@@ -3709,10 +3720,10 @@ const Ie = oe(Ce), dt = () => {
3709
3720
  n.value ? (g(), y("use", {
3710
3721
  key: 0,
3711
3722
  "xlink:href": n.value
3712
- }, null, 8, Je)) : D("", !0)
3723
+ }, null, 8, Me)) : D("", !0)
3713
3724
  ], 16));
3714
3725
  }
3715
- }), Me = ["aria-hidden", "aria-label", "role"], qt = /* @__PURE__ */ P({
3726
+ }), Be = ["aria-hidden", "aria-label", "role"], Zt = /* @__PURE__ */ P({
3716
3727
  __name: "vc-icon",
3717
3728
  props: {
3718
3729
  icon: { default: "lucide-square" },
@@ -3764,7 +3775,7 @@ const Ie = oe(Ce), dt = () => {
3764
3775
  }
3765
3776
  }), C = u(() => {
3766
3777
  if (typeof e.icon != "string")
3767
- return q(e.icon);
3778
+ return H(e.icon);
3768
3779
  if (["fontawesome", "bootstrap", "material"].includes(n.value))
3769
3780
  return "i";
3770
3781
  try {
@@ -3773,7 +3784,7 @@ const Ie = oe(Ce), dt = () => {
3773
3784
  } catch {
3774
3785
  return "i";
3775
3786
  }
3776
- }), w = u(() => s.value ? $e : o.value ? Ne : l.value ? Ge : h.value ? ke : _.value ? Fe : b.value ? C.value : "i"), U = u(() => e.customSize ? e.customSize : t[e.size]), O = u(() => {
3787
+ }), w = u(() => s.value ? Ge : o.value ? ke : l.value ? Je : h.value ? Fe : _.value ? De : b.value ? C.value : "i"), U = u(() => e.customSize ? e.customSize : t[e.size]), O = u(() => {
3777
3788
  const f = {};
3778
3789
  return b.value && e.customSize && (f.width = `${e.customSize}px`, f.height = `${e.customSize}px`), f;
3779
3790
  }), I = u(() => e.customSize ? {
@@ -3836,7 +3847,7 @@ const Ie = oe(Ce), dt = () => {
3836
3847
  ],
3837
3848
  style: O.value
3838
3849
  }, A.value), null, 16, ["class", "style"]))
3839
- ], 16, Me)) : (g(), N(F(w.value), $({
3850
+ ], 16, Be)) : (g(), N(F(w.value), $({
3840
3851
  key: 1,
3841
3852
  class: [
3842
3853
  "vc-icon",
@@ -3851,11 +3862,11 @@ const Ie = oe(Ce), dt = () => {
3851
3862
  }, { ...A.value, ...f.$attrs }), null, 16, ["class", "style", "aria-hidden", "aria-label", "role"]));
3852
3863
  }
3853
3864
  });
3854
- function De(i = {}) {
3855
- const e = Y(ze, void 0);
3865
+ function Le(i = {}) {
3866
+ const e = X(Ne, void 0);
3856
3867
  return {
3857
3868
  teleportTarget: u(() => {
3858
- const n = i.to ? X(i.to) : void 0;
3869
+ const n = i.to ? Z(i.to) : void 0;
3859
3870
  if (n)
3860
3871
  return n;
3861
3872
  if (e?.value)
@@ -3865,7 +3876,7 @@ function De(i = {}) {
3865
3876
  })
3866
3877
  };
3867
3878
  }
3868
- const Be = ["aria-describedby"], Ht = /* @__PURE__ */ P({
3879
+ const Ke = ["aria-describedby"], Qt = /* @__PURE__ */ P({
3869
3880
  __name: "vc-tooltip",
3870
3881
  props: {
3871
3882
  placement: { default: "bottom" },
@@ -3880,25 +3891,25 @@ const Be = ["aria-describedby"], Ht = /* @__PURE__ */ P({
3880
3891
  disabled: { type: Boolean, default: !1 }
3881
3892
  },
3882
3893
  setup(i) {
3883
- const e = i, t = `vc-tooltip-${Z()}`, n = S(!1), r = S(null), s = S(null), o = S(null), l = S(null);
3894
+ const e = i, t = `vc-tooltip-${Q()}`, n = S(!1), r = S(null), s = S(null), o = S(null), l = S(null);
3884
3895
  let h = null;
3885
- const { teleportTarget: b } = De(), C = u(() => {
3896
+ const { teleportTarget: b } = Le(), C = u(() => {
3886
3897
  const d = [
3887
- ce({
3898
+ de({
3888
3899
  mainAxis: e.offset?.mainAxis ?? 8,
3889
3900
  crossAxis: e.offset?.crossAxis ?? 0
3890
3901
  }),
3891
- de({ padding: 8 }),
3892
- fe({ padding: 8 })
3902
+ fe({ padding: 8 }),
3903
+ pe({ padding: 8 })
3893
3904
  ];
3894
- return e.arrow && d.push(ue({ element: o, padding: 4 })), d;
3905
+ return e.arrow && d.push(he({ element: o, padding: 4 })), d;
3895
3906
  }), {
3896
3907
  floatingStyles: w,
3897
3908
  placement: U,
3898
3909
  middlewareData: O
3899
- } = he(r, s, {
3910
+ } = ce(r, s, {
3900
3911
  placement: u(() => e.placement),
3901
- whileElementsMounted: pe,
3912
+ whileElementsMounted: me,
3902
3913
  middleware: C
3903
3914
  }), I = u(() => typeof e.maxWidth == "number" ? `${e.maxWidth}px` : e.maxWidth), A = u(() => ({
3904
3915
  ...w.value,
@@ -3917,7 +3928,7 @@ const Be = ["aria-describedby"], Ht = /* @__PURE__ */ P({
3917
3928
  }, c = () => {
3918
3929
  h && (clearTimeout(h), h = null), n.value = !1;
3919
3930
  };
3920
- return Q(() => {
3931
+ return ee(() => {
3921
3932
  h && (clearTimeout(h), h = null);
3922
3933
  }), (d, p) => (g(), y("div", {
3923
3934
  ref_key: "target",
@@ -3927,7 +3938,7 @@ const Be = ["aria-describedby"], Ht = /* @__PURE__ */ P({
3927
3938
  onMouseleave: c,
3928
3939
  onFocusin: f,
3929
3940
  onFocusout: c,
3930
- onKeydown: ee(c, ["escape"])
3941
+ onKeydown: te(c, ["escape"])
3931
3942
  }, [
3932
3943
  M("div", {
3933
3944
  ref_key: "tooltipCompRef",
@@ -3935,11 +3946,11 @@ const Be = ["aria-describedby"], Ht = /* @__PURE__ */ P({
3935
3946
  class: "vc-tooltip__trigger",
3936
3947
  "aria-describedby": n.value ? t : void 0
3937
3948
  }, [
3938
- L(d.$slots, "default")
3939
- ], 8, Be),
3940
- (g(), N(te, { to: re(b) }, [
3941
- ne(se, { name: "vc-tooltip-fade" }, {
3942
- default: ae(() => [
3949
+ K(d.$slots, "default")
3950
+ ], 8, Ke),
3951
+ (g(), N(re, { to: ne(b) }, [
3952
+ se(ae, { name: "vc-tooltip-fade" }, {
3953
+ default: ie(() => [
3943
3954
  n.value && !i.disabled && d.$slots.tooltip ? (g(), y("div", {
3944
3955
  key: 0,
3945
3956
  id: t,
@@ -3959,7 +3970,7 @@ const Be = ["aria-describedby"], Ht = /* @__PURE__ */ P({
3959
3970
  M("div", {
3960
3971
  class: T(["vc-tooltip__body", `vc-tooltip__body--${i.variant}`])
3961
3972
  }, [
3962
- L(d.$slots, "tooltip")
3973
+ K(d.$slots, "tooltip")
3963
3974
  ], 2)
3964
3975
  ], 6)) : D("", !0)
3965
3976
  ]),
@@ -3970,75 +3981,77 @@ const Be = ["aria-describedby"], Ht = /* @__PURE__ */ P({
3970
3981
  }
3971
3982
  });
3972
3983
  export {
3973
- Dt as $,
3974
- $t as A,
3975
- mt as B,
3976
- x as C,
3977
- Ze as D,
3978
- It as E,
3979
- Et as F,
3980
- Vt as G,
3981
- vt as H,
3982
- kt as I,
3983
- bt as J,
3984
- Qe as K,
3985
- Ot as L,
3986
- Rt as M,
3987
- Ut as N,
3988
- Bt as O,
3989
- St as P,
3990
- et as Q,
3991
- tt as R,
3992
- lt as S,
3993
- At as T,
3994
- jt as U,
3995
- rt as V,
3996
- yt as W,
3997
- Ee as X,
3998
- Ue as Y,
3999
- be as Z,
4000
- qt as _,
4001
- Ht as a,
4002
- nt as a0,
4003
- ye as a1,
4004
- st as a2,
4005
- at as a3,
4006
- Ct as a4,
4007
- it as a5,
4008
- Se as a6,
4009
- ot as a7,
4010
- xe as a8,
4011
- Te as a9,
4012
- ut as aa,
4013
- zt as ab,
4014
- _e as ac,
4015
- Ce as ad,
4016
- Ie as ae,
4017
- ht as af,
4018
- ct as ag,
4019
- ft as b,
3984
+ ye as $,
3985
+ Jt as A,
3986
+ gt as B,
3987
+ Ne as C,
3988
+ Qe as D,
3989
+ Gt as E,
3990
+ x as F,
3991
+ et as G,
3992
+ Tt as H,
3993
+ Dt as I,
3994
+ Xt as J,
3995
+ Et as K,
3996
+ Ct as L,
3997
+ $t as M,
3998
+ _t as N,
3999
+ Ut as O,
4000
+ tt as P,
4001
+ Vt as Q,
4002
+ wt as R,
4003
+ ht as S,
4004
+ It as T,
4005
+ rt as U,
4006
+ nt as V,
4007
+ Pt as W,
4008
+ zt as X,
4009
+ st as Y,
4010
+ Ue as Z,
4011
+ Zt as _,
4012
+ Qt as a,
4013
+ xe as a0,
4014
+ Wt as a1,
4015
+ at as a2,
4016
+ Se as a3,
4017
+ it as a4,
4018
+ ot as a5,
4019
+ Nt as a6,
4020
+ lt as a7,
4021
+ Te as a8,
4022
+ ut as a9,
4023
+ ge as aa,
4024
+ _e as ab,
4025
+ ct as ac,
4026
+ kt as ad,
4027
+ Pe as ae,
4028
+ ze as af,
4029
+ $e as ag,
4030
+ dt as ah,
4031
+ ft as ai,
4032
+ bt as b,
4020
4033
  E as c,
4021
- pt as d,
4022
- gt as e,
4023
- xt as f,
4024
- dt as g,
4025
- Kt as h,
4026
- Lt as i,
4027
- Ae as j,
4028
- Wt as k,
4029
- Jt as l,
4030
- Nt as m,
4031
- Gt as n,
4034
+ xt as d,
4035
+ St as e,
4036
+ yt as f,
4037
+ vt as g,
4038
+ Ht as h,
4039
+ mt as i,
4040
+ qt as j,
4041
+ je as k,
4042
+ Yt as l,
4043
+ pt as m,
4044
+ Bt as n,
4032
4045
  Ft as o,
4033
4046
  Mt as p,
4034
- Pt as q,
4035
- Tt as r,
4036
- _t as s,
4037
- Pe as t,
4038
- De as u,
4039
- wt as v,
4040
- Ye as w,
4041
- ge as x,
4042
- ze as y,
4043
- Xe as z
4047
+ Lt as q,
4048
+ Kt as r,
4049
+ jt as s,
4050
+ Ot as t,
4051
+ Le as u,
4052
+ At as v,
4053
+ we as w,
4054
+ Rt as x,
4055
+ Ze as y,
4056
+ Ee as z
4044
4057
  };