@vc-shell/framework 2.2.0-pr262.1eb3cac → 2.2.0-pr263.f4e6550

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-IxvmIZ32.js → VcAiAgentPanel.vue_vue_type_script_setup_true_lang-Cx8_DCu_.js} +1 -1
  3. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_script_setup_true_lang-IxvmIZ32.js.map → VcAiAgentPanel.vue_vue_type_script_setup_true_lang-Cx8_DCu_.js.map} +1 -1
  4. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-CcI_W_Vm.js → VcAiAgentPanel.vue_vue_type_style_index_0_lang-D2KmNhhl.js} +134 -147
  5. package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-D2KmNhhl.js.map +1 -0
  6. package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-Ch_TVK_C.js → VcScheduler.vue_vue_type_script_setup_true_lang-DmHoLXKj.js} +3 -3
  7. package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-Ch_TVK_C.js.map → VcScheduler.vue_vue_type_script_setup_true_lang-DmHoLXKj.js.map} +1 -1
  8. package/dist/chunks/{VcScheduler.vue_vue_type_style_index_0_lang-CL468dK2.js → VcScheduler.vue_vue_type_style_index_0_lang-DR8wrtyB.js} +441 -446
  9. package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-DR8wrtyB.js.map +1 -0
  10. package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-YOlFZMoP.js → dashboard-feed-row.vue_vue_type_script_setup_true_lang-DvM1DXj8.js} +2 -2
  11. package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-YOlFZMoP.js.map → dashboard-feed-row.vue_vue_type_script_setup_true_lang-DvM1DXj8.js.map} +1 -1
  12. package/dist/chunks/{index-CI1U6XgH.js → index-CvSe3hjU.js} +2 -2
  13. package/dist/chunks/{index-CI1U6XgH.js.map → index-CvSe3hjU.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/dashboard/index.js +1 -1
  18. package/dist/framework.js +750 -750
  19. package/dist/framework.js.map +1 -1
  20. package/dist/index.css +1 -1
  21. package/dist/shell/components/error-interceptor/interceptor.d.ts.map +1 -1
  22. package/dist/tsconfig.tsbuildinfo +1 -1
  23. package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts.map +1 -1
  24. package/dist/ui/index.js +3 -3
  25. package/package.json +4 -4
  26. package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-CcI_W_Vm.js.map +0 -1
  27. package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-CL468dK2.js.map +0 -1
  28. package/dist/core/utilities/sessionExpiration.d.ts +0 -30
  29. package/dist/core/utilities/sessionExpiration.d.ts.map +0 -1
@@ -1,10 +1,10 @@
1
- import { ref as N, computed as u, defineComponent as T, onMounted as R, openBlock as E, createElementBlock as S, normalizeStyle as C, normalizeClass as P, toDisplayString as V, markRaw as W, createBlock as J, resolveDynamicComponent as F, createElementVNode as q, mergeProps as j, createCommentVNode as H, resolveComponent as G } from "vue";
2
- import { u as Y } from "./vendor-vueuse-core-BYWoPpF_.js";
3
- import { j as X } from "./vendor-vueuse-shared-BlCOXw5g.js";
4
- import { L as Z } from "./vendor-lucide-vue-next-CwUrzD6N.js";
5
- const Q = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?$/;
6
- function ee(i, e) {
7
- if (typeof e == "string" && Q.test(e)) {
1
+ import { ref as N, computed as u, defineComponent as T, onMounted as R, openBlock as E, createElementBlock as S, normalizeStyle as C, normalizeClass as P, toDisplayString as W, markRaw as K, createBlock as J, resolveDynamicComponent as F, createElementVNode as V, mergeProps as j, createCommentVNode as q, resolveComponent as G } from "vue";
2
+ import { u as H } from "./vendor-vueuse-core-BYWoPpF_.js";
3
+ import { j as Y } from "./vendor-vueuse-shared-BlCOXw5g.js";
4
+ import { L as X } from "./vendor-lucide-vue-next-CwUrzD6N.js";
5
+ const Z = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?$/;
6
+ function Q(i, e) {
7
+ if (typeof e == "string" && Z.test(e)) {
8
8
  const t = new Date(e);
9
9
  if (!isNaN(t.getTime()))
10
10
  return t;
@@ -18,7 +18,7 @@ class b {
18
18
  * Subclasses use this when parsing API responses.
19
19
  * The dateReviver function is defined in File.Header.liquid template.
20
20
  */
21
- jsonParseReviver = ee;
21
+ jsonParseReviver = Q;
22
22
  constructor() {
23
23
  }
24
24
  // Enforce always return empty string as baseUrl
@@ -32,7 +32,7 @@ class b {
32
32
  return this.authToken && (e.headers.authorization = `Bearer ${this.authToken}`), Promise.resolve(e);
33
33
  }
34
34
  }
35
- class te extends b {
35
+ class ee extends b {
36
36
  http;
37
37
  baseUrl;
38
38
  constructor(e, t) {
@@ -139,7 +139,7 @@ class te extends b {
139
139
  }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
140
140
  }
141
141
  }
142
- class je extends b {
142
+ class we extends b {
143
143
  http;
144
144
  baseUrl;
145
145
  constructor(e, t) {
@@ -208,7 +208,7 @@ class je extends b {
208
208
  }) : 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);
209
209
  }
210
210
  }
211
- class Re extends b {
211
+ class Ae extends b {
212
212
  http;
213
213
  baseUrl;
214
214
  constructor(e, t) {
@@ -238,7 +238,7 @@ class Re extends b {
238
238
  }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
239
239
  }
240
240
  }
241
- class Ce extends b {
241
+ class je extends b {
242
242
  http;
243
243
  baseUrl;
244
244
  constructor(e, t) {
@@ -380,7 +380,7 @@ class Ce extends b {
380
380
  }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
381
381
  }
382
382
  }
383
- class Ie extends b {
383
+ class Re extends b {
384
384
  http;
385
385
  baseUrl;
386
386
  constructor(e, t) {
@@ -581,7 +581,7 @@ class Ie extends b {
581
581
  }) : 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);
582
582
  }
583
583
  }
584
- class ze extends b {
584
+ class Ce extends b {
585
585
  http;
586
586
  baseUrl;
587
587
  constructor(e, t) {
@@ -610,7 +610,7 @@ class ze extends b {
610
610
  }) : 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);
611
611
  }
612
612
  }
613
- class $e extends b {
613
+ class Ie extends b {
614
614
  http;
615
615
  baseUrl;
616
616
  constructor(e, t) {
@@ -662,7 +662,7 @@ class $e extends b {
662
662
  }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
663
663
  }
664
664
  }
665
- class Ne extends b {
665
+ class ze extends b {
666
666
  http;
667
667
  baseUrl;
668
668
  constructor(e, t) {
@@ -937,7 +937,7 @@ class Ne extends b {
937
937
  }) : 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);
938
938
  }
939
939
  }
940
- class Ge extends b {
940
+ class $e extends b {
941
941
  http;
942
942
  baseUrl;
943
943
  constructor(e, t) {
@@ -970,7 +970,7 @@ class Ge extends b {
970
970
  }) : 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);
971
971
  }
972
972
  }
973
- class ke extends b {
973
+ class Ne extends b {
974
974
  http;
975
975
  baseUrl;
976
976
  constructor(e, t) {
@@ -1074,7 +1074,7 @@ class ke extends b {
1074
1074
  }) : 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);
1075
1075
  }
1076
1076
  }
1077
- class Je extends b {
1077
+ class Ge extends b {
1078
1078
  http;
1079
1079
  baseUrl;
1080
1080
  constructor(e, t) {
@@ -1530,7 +1530,7 @@ class Je extends b {
1530
1530
  }) : 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);
1531
1531
  }
1532
1532
  }
1533
- class Fe extends b {
1533
+ class ke extends b {
1534
1534
  http;
1535
1535
  baseUrl;
1536
1536
  constructor(e, t) {
@@ -1632,7 +1632,7 @@ class Fe extends b {
1632
1632
  }) : 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);
1633
1633
  }
1634
1634
  }
1635
- class Me extends b {
1635
+ class Je extends b {
1636
1636
  http;
1637
1637
  baseUrl;
1638
1638
  constructor(e, t) {
@@ -1688,7 +1688,7 @@ class Me extends b {
1688
1688
  }) : 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);
1689
1689
  }
1690
1690
  }
1691
- class re extends b {
1691
+ class te extends b {
1692
1692
  http;
1693
1693
  baseUrl;
1694
1694
  constructor(e, t) {
@@ -2825,7 +2825,7 @@ class re extends b {
2825
2825
  }) : 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);
2826
2826
  }
2827
2827
  }
2828
- class De extends b {
2828
+ class Fe extends b {
2829
2829
  http;
2830
2830
  baseUrl;
2831
2831
  constructor(e, t) {
@@ -2953,7 +2953,7 @@ class De extends b {
2953
2953
  }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2954
2954
  }
2955
2955
  }
2956
- class Be extends b {
2956
+ class Me extends b {
2957
2957
  http;
2958
2958
  baseUrl;
2959
2959
  constructor(e, t) {
@@ -3222,8 +3222,8 @@ class Be extends b {
3222
3222
  }) : 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);
3223
3223
  }
3224
3224
  }
3225
- var ne = /* @__PURE__ */ ((i) => (i.AppMenu = "AppMenu", i.MainMenu = "MainMenu", i.Hidden = "Hidden", i))(ne || {}), se = /* @__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))(se || {}), ae = /* @__PURE__ */ ((i) => (i.Detached = "Detached", i.Unchanged = "Unchanged", i.Added = "Added", i.Deleted = "Deleted", i.Modified = "Modified", i))(ae || {}), ie = /* @__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))(ie || {}), oe = /* @__PURE__ */ ((i) => (i.Info = "Info", i.Warning = "Warning", i.Debug = "Debug", i.Error = "Error", i))(oe || {}), le = /* @__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))(le || {}), ue = /* @__PURE__ */ ((i) => (i.Ascending = "Ascending", i.Descending = "Descending", i))(ue || {});
3226
- class he extends Error {
3225
+ var re = /* @__PURE__ */ ((i) => (i.AppMenu = "AppMenu", i.MainMenu = "MainMenu", i.Hidden = "Hidden", i))(re || {}), ne = /* @__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))(ne || {}), se = /* @__PURE__ */ ((i) => (i.Detached = "Detached", i.Unchanged = "Unchanged", i.Added = "Added", i.Deleted = "Deleted", i.Modified = "Modified", i))(se || {}), ae = /* @__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))(ae || {}), ie = /* @__PURE__ */ ((i) => (i.Info = "Info", i.Warning = "Warning", i.Debug = "Debug", i.Error = "Error", i))(ie || {}), oe = /* @__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))(oe || {}), le = /* @__PURE__ */ ((i) => (i.Ascending = "Ascending", i.Descending = "Descending", i))(le || {});
3226
+ class ue extends Error {
3227
3227
  message;
3228
3228
  status;
3229
3229
  response;
@@ -3238,21 +3238,21 @@ class he extends Error {
3238
3238
  }
3239
3239
  }
3240
3240
  function a(i, e, t, n, r) {
3241
- throw r ?? new he(i, e, t, n, null);
3241
+ throw r ?? new ue(i, e, t, n, null);
3242
3242
  }
3243
- const B = {
3243
+ const D = {
3244
3244
  debug: 0,
3245
3245
  info: 1,
3246
3246
  warn: 2,
3247
3247
  error: 3,
3248
3248
  none: 4
3249
- }, ce = {
3249
+ }, he = {
3250
3250
  level: "warn",
3251
3251
  prefix: "@vc-shell/framework",
3252
3252
  enabled: !0
3253
3253
  };
3254
3254
  function g(i) {
3255
- const e = { ...ce }, t = i ? `[${e.prefix}#${i}]` : `[${e.prefix}]`, n = (r) => e.enabled ? B[r] >= B[e.level] : !1;
3255
+ const e = { ...he }, t = i ? `[${e.prefix}#${i}]` : `[${e.prefix}]`, n = (r) => e.enabled ? D[r] >= D[e.level] : !1;
3256
3256
  return {
3257
3257
  /**
3258
3258
  * Log debug messages (only in development)
@@ -3296,16 +3296,16 @@ function g(i) {
3296
3296
  }
3297
3297
  };
3298
3298
  }
3299
- const Le = g(), Ke = {
3299
+ const De = g(), Be = {
3300
3300
  core: g("core"),
3301
3301
  ui: g("ui"),
3302
3302
  shared: g("shared"),
3303
3303
  plugins: g("plugins"),
3304
3304
  services: g("services"),
3305
3305
  composables: g("composables")
3306
- }, k = g("use-external-provider"), de = "externalSignIn", fe = () => {
3307
- const i = new te(), e = Y(
3308
- de,
3306
+ }, k = g("use-external-provider"), ce = "externalSignIn", de = () => {
3307
+ const i = new ee(), e = H(
3308
+ ce,
3309
3309
  {},
3310
3310
  {
3311
3311
  listenToStorageChanges: !0,
@@ -3350,21 +3350,10 @@ const Le = g(), Ke = {
3350
3350
  signOut: r,
3351
3351
  getProviders: s
3352
3352
  };
3353
- };
3354
- let M = !1;
3355
- function We() {
3356
- M = !0;
3357
- }
3358
- function Ve() {
3359
- return M;
3360
- }
3361
- function pe() {
3362
- M = !1;
3363
- }
3364
- const D = "vc_auth_data", f = g("use-user");
3365
- function me() {
3353
+ }, M = "vc_auth_data", f = g("use-user");
3354
+ function fe() {
3366
3355
  try {
3367
- const i = localStorage.getItem(D);
3356
+ const i = localStorage.getItem(M);
3368
3357
  if (i)
3369
3358
  return JSON.parse(i);
3370
3359
  } catch (i) {
@@ -3372,21 +3361,21 @@ function me() {
3372
3361
  }
3373
3362
  return null;
3374
3363
  }
3375
- function L(i) {
3364
+ function B(i) {
3376
3365
  try {
3377
- f.debug("storeAuthData - Saving:", i), localStorage.setItem(D, JSON.stringify(i)), f.debug("storeAuthData - Saved successfully");
3366
+ f.debug("storeAuthData - Saving:", i), localStorage.setItem(M, JSON.stringify(i)), f.debug("storeAuthData - Saved successfully");
3378
3367
  } catch (e) {
3379
3368
  f.error("Failed to store auth data:", e);
3380
3369
  }
3381
3370
  }
3382
- function ve() {
3371
+ function pe() {
3383
3372
  try {
3384
- localStorage.removeItem(D);
3373
+ localStorage.removeItem(M);
3385
3374
  } catch (i) {
3386
3375
  f.error("Failed to clear auth data:", i);
3387
3376
  }
3388
3377
  }
3389
- async function K(i) {
3378
+ async function L(i) {
3390
3379
  try {
3391
3380
  const e = new URLSearchParams(i).toString(), t = await fetch("/connect/token", {
3392
3381
  method: "POST",
@@ -3415,8 +3404,8 @@ async function K(i) {
3415
3404
  return f.error("fetchToken - Exception:", e), null;
3416
3405
  }
3417
3406
  }
3418
- function be() {
3419
- const i = N(!1), e = N(), t = N(null), { storage: n, signOut: r } = fe(), s = new re(), o = u(() => e.value?.userName != null);
3407
+ function me() {
3408
+ const i = N(!1), e = N(), t = N(null), { storage: n, signOut: r } = de(), s = new te(), o = u(() => e.value?.userName != null);
3420
3409
  async function l(c, m) {
3421
3410
  let p = !1;
3422
3411
  try {
@@ -3441,18 +3430,18 @@ function be() {
3441
3430
  async function I(c, m) {
3442
3431
  f.debug("signIn - Entry point");
3443
3432
  try {
3444
- i.value = !0, pe();
3433
+ i.value = !0;
3445
3434
  const p = await s.login({ userName: c, password: m });
3446
3435
  if (f.debug("signIn - Cookie login completed:", p), !p.succeeded)
3447
3436
  return p;
3448
3437
  f.debug("signIn - Requesting token...");
3449
- const v = await K({
3438
+ const v = await L({
3450
3439
  grant_type: "password",
3451
3440
  username: c,
3452
3441
  password: m,
3453
3442
  scope: "offline_access"
3454
3443
  });
3455
- v && (t.value = v, L(t.value), f.debug("signIn - Token saved:", t.value));
3444
+ v && (t.value = v, B(t.value), f.debug("signIn - Token saved:", t.value));
3456
3445
  const y = await s.getCurrentUser();
3457
3446
  if (y)
3458
3447
  return e.value = y, p;
@@ -3472,7 +3461,7 @@ function be() {
3472
3461
  }
3473
3462
  }
3474
3463
  async function O() {
3475
- f.debug("signOut - Entry point"), e.value = void 0, ve(), t.value = null, n.value?.providerType ? await r(n.value.providerType) : s.logout();
3464
+ f.debug("signOut - Entry point"), e.value = void 0, pe(), t.value = null, n.value?.providerType ? await r(n.value.providerType) : s.logout();
3476
3465
  }
3477
3466
  let U = null;
3478
3467
  async function w() {
@@ -3526,7 +3515,7 @@ function be() {
3526
3515
  }
3527
3516
  const $ = 60 * 1e3;
3528
3517
  async function d() {
3529
- if (f.debug("getAccessToken - Entry point"), t.value || (t.value = me()), !t.value)
3518
+ if (f.debug("getAccessToken - Entry point"), t.value || (t.value = fe()), !t.value)
3530
3519
  return f.debug("getAccessToken - No auth data available"), null;
3531
3520
  const c = Date.now(), m = t.value.expires_at, p = m ? c >= m - $ : !1;
3532
3521
  if (f.debug("getAccessToken - Token status:", {
@@ -3537,12 +3526,12 @@ function be() {
3537
3526
  hasRefreshToken: !!t.value.refresh_token
3538
3527
  }), p && t.value.refresh_token) {
3539
3528
  f.debug("getAccessToken - Token expired or expiring soon, attempting refresh");
3540
- const v = await K({
3529
+ const v = await L({
3541
3530
  grant_type: "refresh_token",
3542
3531
  refresh_token: t.value.refresh_token,
3543
3532
  scope: "offline_access"
3544
3533
  });
3545
- v ? (v.refresh_token = v.refresh_token ?? t.value.refresh_token, t.value = v, L(t.value), f.debug("getAccessToken - Token refreshed successfully, new expiry:", {
3534
+ v ? (v.refresh_token = v.refresh_token ?? t.value.refresh_token, t.value = v, B(t.value), f.debug("getAccessToken - Token refreshed successfully, new expiry:", {
3546
3535
  expiresAt: v.expires_at ? new Date(v.expires_at).toISOString() : "not set"
3547
3536
  })) : f.warn("getAccessToken - Failed to refresh token, returning existing token");
3548
3537
  }
@@ -3565,8 +3554,8 @@ function be() {
3565
3554
  getAccessToken: d
3566
3555
  };
3567
3556
  }
3568
- const xe = X(be), qe = () => {
3569
- const i = xe();
3557
+ const ve = Y(me), Le = () => {
3558
+ const i = ve();
3570
3559
  return {
3571
3560
  user: i.user,
3572
3561
  loading: i.loading,
@@ -3576,7 +3565,7 @@ const xe = X(be), qe = () => {
3576
3565
  signOut: i.signOut,
3577
3566
  getAccessToken: i.getAccessToken
3578
3567
  };
3579
- }, He = Symbol("BladeStack"), Ye = Symbol("BladeMessaging"), Xe = Symbol("BladeDescriptor"), Ze = Symbol("BladeMaximized"), Qe = Symbol("BladeRenderingState"), et = Symbol("BladeData"), tt = Symbol("BladeBanners"), rt = Symbol("BladeBackButton"), nt = Symbol("NotificationStore"), st = Symbol("WidgetService"), at = Symbol("DashboardService"), it = Symbol("MenuService"), ot = Symbol("SettingsMenuService"), lt = Symbol("AppBarWidgetService"), ut = Symbol("AppBarMobileButtonsService"), ht = Symbol("LanguageService"), ct = Symbol("ToolbarService"), dt = Symbol("DynamicModules"), ft = Symbol("ModulesReady"), pt = Symbol("ModulesLoadError"), mt = Symbol("AppRootElement"), vt = Symbol("EmbeddedMode"), bt = Symbol("ShellIndicators"), xt = Symbol("AiAgentService"), gt = Symbol("IsMobile"), Et = Symbol("IsDesktop"), Ut = Symbol("IsPhone"), St = Symbol("IsTablet"), yt = Symbol("IsTouch"), Tt = Symbol("BladeRoutes"), _t = Symbol("InternalRoutes"), Pt = Symbol("CloseSettingsMenu"), Ot = Symbol("BladeContext"), wt = Symbol("WidgetScope"), At = Symbol("BladeForm"), jt = Symbol("BladeLoading"), ge = /* @__PURE__ */ T({
3568
+ }, Ke = Symbol("BladeStack"), We = Symbol("BladeMessaging"), Ve = Symbol("BladeDescriptor"), qe = Symbol("BladeMaximized"), He = Symbol("BladeRenderingState"), Ye = Symbol("BladeData"), Xe = Symbol("BladeBanners"), Ze = Symbol("BladeBackButton"), Qe = Symbol("NotificationStore"), et = Symbol("WidgetService"), tt = Symbol("DashboardService"), rt = Symbol("MenuService"), nt = Symbol("SettingsMenuService"), st = Symbol("AppBarWidgetService"), at = Symbol("AppBarMobileButtonsService"), it = Symbol("LanguageService"), ot = Symbol("ToolbarService"), lt = Symbol("DynamicModules"), ut = Symbol("ModulesReady"), ht = Symbol("ModulesLoadError"), ct = Symbol("AppRootElement"), dt = Symbol("EmbeddedMode"), ft = Symbol("ShellIndicators"), pt = Symbol("AiAgentService"), mt = Symbol("IsMobile"), vt = Symbol("IsDesktop"), bt = Symbol("IsPhone"), xt = Symbol("IsTablet"), gt = Symbol("IsTouch"), Et = Symbol("BladeRoutes"), Ut = Symbol("InternalRoutes"), St = Symbol("CloseSettingsMenu"), yt = Symbol("BladeContext"), Tt = Symbol("WidgetScope"), _t = Symbol("BladeForm"), Pt = Symbol("BladeLoading"), be = /* @__PURE__ */ T({
3580
3569
  __name: "vc-material-icon",
3581
3570
  props: {
3582
3571
  icon: {},
@@ -3597,9 +3586,9 @@ const xe = X(be), qe = () => {
3597
3586
  ]),
3598
3587
  style: C(n.value),
3599
3588
  "aria-hidden": "true"
3600
- }, V(i.icon), 7));
3589
+ }, W(i.icon), 7));
3601
3590
  }
3602
- }), Ee = /* @__PURE__ */ T({
3591
+ }), xe = /* @__PURE__ */ T({
3603
3592
  __name: "vc-bootstrap-icon",
3604
3593
  props: {
3605
3594
  icon: {},
@@ -3623,7 +3612,7 @@ const xe = X(be), qe = () => {
3623
3612
  "aria-hidden": "true"
3624
3613
  }, null, 6));
3625
3614
  }
3626
- }), Ue = /* @__PURE__ */ T({
3615
+ }), ge = /* @__PURE__ */ T({
3627
3616
  __name: "vc-lucide-icon",
3628
3617
  props: {
3629
3618
  icon: {},
@@ -3638,8 +3627,8 @@ const xe = X(be), qe = () => {
3638
3627
  let l = t.icon;
3639
3628
  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";
3640
3629
  }), s = u(() => {
3641
- const l = r.value, h = Z[l];
3642
- return !h || typeof h != "object" && typeof h != "function" ? (e.warn(`Lucide icon not found: ${l}`), null) : W(h);
3630
+ const l = r.value, h = X[l];
3631
+ return !h || typeof h != "object" && typeof h != "function" ? (e.warn(`Lucide icon not found: ${l}`), null) : K(h);
3643
3632
  }), o = u(() => n.value && t.customSize ? {
3644
3633
  width: `${t.customSize}px`,
3645
3634
  height: `${t.customSize}px`
@@ -3658,10 +3647,10 @@ const xe = X(be), qe = () => {
3658
3647
  key: 1,
3659
3648
  class: P(["vc-lucide-icon", !n.value && `vc-lucide-icon--${i.size}`])
3660
3649
  }, [...h[0] || (h[0] = [
3661
- q("i", { class: "vc-lucide-icon__fallback" }, null, -1)
3650
+ V("i", { class: "vc-lucide-icon__fallback" }, null, -1)
3662
3651
  ])], 2));
3663
3652
  }
3664
- }), Se = /* @__PURE__ */ T({
3653
+ }), Ee = /* @__PURE__ */ T({
3665
3654
  __name: "vc-fontawesome-icon",
3666
3655
  props: {
3667
3656
  icon: {},
@@ -3685,7 +3674,7 @@ const xe = X(be), qe = () => {
3685
3674
  "aria-hidden": "true"
3686
3675
  }, null, 6));
3687
3676
  }
3688
- }), ye = ["xlink:href"], Te = /* @__PURE__ */ T({
3677
+ }), Ue = ["xlink:href"], Se = /* @__PURE__ */ T({
3689
3678
  inheritAttrs: !1,
3690
3679
  __name: "vc-svg-icon",
3691
3680
  props: {
@@ -3718,10 +3707,10 @@ const xe = X(be), qe = () => {
3718
3707
  n.value ? (E(), S("use", {
3719
3708
  key: 0,
3720
3709
  "xlink:href": n.value
3721
- }, null, 8, ye)) : H("", !0)
3710
+ }, null, 8, Ue)) : q("", !0)
3722
3711
  ], 16));
3723
3712
  }
3724
- }), _e = ["aria-hidden", "aria-label", "role"], Rt = /* @__PURE__ */ T({
3713
+ }), ye = ["aria-hidden", "aria-label", "role"], Ot = /* @__PURE__ */ T({
3725
3714
  __name: "vc-icon",
3726
3715
  props: {
3727
3716
  icon: { default: "lucide-square" },
@@ -3773,7 +3762,7 @@ const xe = X(be), qe = () => {
3773
3762
  }
3774
3763
  }), I = u(() => {
3775
3764
  if (typeof e.icon != "string")
3776
- return W(e.icon);
3765
+ return K(e.icon);
3777
3766
  if (["fontawesome", "bootstrap", "material"].includes(n.value))
3778
3767
  return "i";
3779
3768
  try {
@@ -3782,7 +3771,7 @@ const xe = X(be), qe = () => {
3782
3771
  } catch {
3783
3772
  return "i";
3784
3773
  }
3785
- }), O = u(() => s.value ? ge : o.value ? Ee : l.value ? Ue : h.value ? Se : _.value ? Te : x.value ? I.value : "i"), U = u(() => e.customSize ? e.customSize : t[e.size]), w = u(() => {
3774
+ }), O = u(() => s.value ? be : o.value ? xe : l.value ? ge : h.value ? Ee : _.value ? Se : x.value ? I.value : "i"), U = u(() => e.customSize ? e.customSize : t[e.size]), w = u(() => {
3786
3775
  const d = {};
3787
3776
  return x.value && e.customSize && (d.width = `${e.customSize}px`, d.height = `${e.customSize}px`), d;
3788
3777
  }), z = u(() => e.customSize ? {
@@ -3845,7 +3834,7 @@ const xe = X(be), qe = () => {
3845
3834
  ],
3846
3835
  style: w.value
3847
3836
  }, A.value), null, 16, ["class", "style"]))
3848
- ], 16, _e)) : (E(), J(F(O.value), j({
3837
+ ], 16, ye)) : (E(), J(F(O.value), j({
3849
3838
  key: 1,
3850
3839
  class: [
3851
3840
  "vc-icon",
@@ -3861,75 +3850,73 @@ const xe = X(be), qe = () => {
3861
3850
  }
3862
3851
  });
3863
3852
  export {
3864
- _t as $,
3865
- xt as A,
3866
- Xe as B,
3867
- b as C,
3868
- Ce as D,
3869
- vt as E,
3870
- rt as F,
3871
- jt as G,
3872
- Ze as H,
3873
- Ut as I,
3874
- Qe as J,
3875
- Ie as K,
3876
- ht as L,
3877
- ft as M,
3878
- nt as N,
3879
- Pt as O,
3880
- at as P,
3881
- ze as Q,
3882
- $e as R,
3883
- De as S,
3884
- ct as T,
3885
- dt as U,
3886
- Ne as V,
3887
- st as W,
3888
- se as X,
3889
- ae as Y,
3890
- te as Z,
3891
- Rt as _,
3892
- He as a,
3893
- Ge as a0,
3894
- ie as a1,
3895
- ke as a2,
3896
- Je as a3,
3897
- pt as a4,
3898
- Fe as a5,
3899
- oe as a6,
3900
- Me as a7,
3901
- re as a8,
3902
- le as a9,
3903
- Be as aa,
3904
- bt as ab,
3905
- ue as ac,
3906
- be as ad,
3907
- xe as ae,
3908
- Le as af,
3909
- Ke as ag,
3910
- Ye as b,
3853
+ ae as $,
3854
+ pt as A,
3855
+ Ve as B,
3856
+ Ze as C,
3857
+ Pt as D,
3858
+ dt as E,
3859
+ qe as F,
3860
+ He as G,
3861
+ Re as H,
3862
+ bt as I,
3863
+ St as J,
3864
+ tt as K,
3865
+ it as L,
3866
+ ut as M,
3867
+ Qe as N,
3868
+ Ce as O,
3869
+ Ie as P,
3870
+ lt as Q,
3871
+ ze as R,
3872
+ Fe as S,
3873
+ ot as T,
3874
+ ne as U,
3875
+ se as V,
3876
+ et as W,
3877
+ ee as X,
3878
+ Ut as Y,
3879
+ $e as Z,
3880
+ Ot as _,
3881
+ Ke as a,
3882
+ Ne as a0,
3883
+ Ge as a1,
3884
+ ht as a2,
3885
+ ke as a3,
3886
+ ie as a4,
3887
+ Je as a5,
3888
+ te as a6,
3889
+ oe as a7,
3890
+ Me as a8,
3891
+ ft as a9,
3892
+ le as aa,
3893
+ me as ab,
3894
+ ve as ac,
3895
+ De as ad,
3896
+ Be as ae,
3897
+ We as b,
3911
3898
  g as c,
3912
- tt as d,
3913
- et as e,
3914
- wt as f,
3915
- Ot as g,
3916
- fe as h,
3917
- Ve as i,
3918
- At as j,
3919
- St as k,
3920
- gt as l,
3921
- We as m,
3899
+ Xe as d,
3900
+ Ye as e,
3901
+ Tt as f,
3902
+ yt as g,
3903
+ de as h,
3904
+ _t as i,
3905
+ xt as j,
3906
+ mt as k,
3907
+ vt as l,
3908
+ gt as m,
3922
3909
  Et as n,
3923
- yt as o,
3924
- Tt as p,
3925
- lt as q,
3926
- it as r,
3927
- ot as s,
3928
- he as t,
3929
- qe as u,
3930
- ut as v,
3931
- je as w,
3932
- ne as x,
3933
- mt as y,
3934
- Re as z
3910
+ st as o,
3911
+ rt as p,
3912
+ nt as q,
3913
+ ue as r,
3914
+ at as s,
3915
+ we as t,
3916
+ Le as u,
3917
+ re as v,
3918
+ ct as w,
3919
+ Ae as x,
3920
+ b as y,
3921
+ je as z
3935
3922
  };