@vc-shell/framework 1.0.322 → 1.0.324

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 (31) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/core/plugins/modularity/index.ts +1 -1
  3. package/core/plugins/modularity/loader.ts +52 -37
  4. package/dist/{azuread-BhAhqR2s.js → azuread-Bg158N88.js} +2 -2
  5. package/dist/core/plugins/modularity/index.d.ts +1 -1
  6. package/dist/core/plugins/modularity/index.d.ts.map +1 -1
  7. package/dist/core/plugins/modularity/loader.d.ts.map +1 -1
  8. package/dist/{external-provider-CKRKv1EO.js → external-provider-kkhJ5la8.js} +1 -1
  9. package/dist/{external-provider.vue_vue_type_script_setup_true_lang-pVwhlqSS.js → external-provider.vue_vue_type_script_setup_true_lang-W0dfYjBn.js} +1 -1
  10. package/dist/external-providers-Dsrytoru.js +4 -0
  11. package/dist/framework.js +1 -1
  12. package/dist/{index-bZ0IrgAu.js → index-BGaxKbp7.js} +1 -1
  13. package/dist/{index-1iQcKZcz.js → index-BNwYTehR.js} +1 -1
  14. package/dist/{index-CWRP_8OR.js → index-BaImQrMe.js} +1 -1
  15. package/dist/{index-DfABrHB_.js → index-BdWiIKgo.js} +56 -44
  16. package/dist/{index-2VvztI5V.js → index-BekPWdT9.js} +1 -1
  17. package/dist/{index-jSMgkZQV.js → index-Bgz9JztI.js} +1 -1
  18. package/dist/{index-CecSOxnk.js → index-Bvgpw5Qo.js} +1 -1
  19. package/dist/{index-BscDURbV.js → index-CEZRb4kJ.js} +1 -1
  20. package/dist/{index-CbVaCsap.js → index-CM0LuO7L.js} +1 -1
  21. package/dist/{index-BqFdtq0j.js → index-CPYqDzaH.js} +1 -1
  22. package/dist/{index-fuILXn_w.js → index-DO1cRnjY.js} +1 -1
  23. package/dist/{index-h2e4Cdwh.js → index-Dly8Mno7.js} +1 -1
  24. package/dist/{index-D6rLpqm5.js → index-jFvS8LTt.js} +1 -1
  25. package/dist/{index-osebbY9y.js → index-jmDrgliY.js} +1 -1
  26. package/dist/{index-BpeR8MpE.js → index-kFRaLmem.js} +1 -1
  27. package/dist/{index-C280JcJo.js → index-vBvkMASN.js} +1 -1
  28. package/dist/{index-CkzHOg6W.js → index-xw0bYDp6.js} +1 -1
  29. package/dist/tsconfig.tsbuildinfo +1 -1
  30. package/package.json +4 -4
  31. package/dist/external-providers-BuwRmZS6.js +0 -4
package/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ ## [1.0.324](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.323...v1.0.324) (2024-11-06)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **core:** dynamic loader fix ([503408c](https://github.com/VirtoCommerce/vc-shell/commit/503408c68852d2660b6ecaf06f0b818ece474d69))
7
+
8
+
9
+
10
+ ## [1.0.323](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.322...v1.0.323) (2024-11-05)
11
+
12
+
13
+
1
14
  ## [1.0.322](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.321...v1.0.322) (2024-11-05)
2
15
 
3
16
 
@@ -35,7 +35,7 @@ export const createModule = (components: { [key: string]: BladeInstanceConstruct
35
35
  export const createAppModule = (
36
36
  pages: { [key: string]: BladeInstanceConstructor },
37
37
  locales?: { [key: string]: object },
38
- notificationTemplates?: { [key: string]: Component & { notifyType: string } },
38
+ notificationTemplates?: { [key: string]: Component & { notifyType?: string } },
39
39
  moduleComponents?: { [key: string]: Component },
40
40
  ) => {
41
41
  return {
@@ -50,47 +50,62 @@ export function useDynamicModules(app: App, { router, appName }: { router: Route
50
50
  }
51
51
 
52
52
  for (const module of appModules) {
53
- const moduleUrl = module.url.replace(/^([^/])/, "/$1").replace(/([^/])$/, "$1/");
54
- const manifestResponse = await fetch(moduleUrl + "manifest.json");
55
-
56
- if (!manifestResponse.ok) {
57
- throw new Error(`Failed to load manifest: ${manifestResponse.statusText}`);
58
- }
59
-
60
- const manifest: Manifest = await manifestResponse.json();
61
-
62
- // Find entry point
63
- const entry = Object.values(manifest).find((file) => (file as ModuleManifest).isEntry);
64
-
65
- if (!entry) {
66
- throw new Error("Entry file not found");
53
+ try {
54
+ const moduleUrl = module.url.replace(/^([^/])/, "/$1").replace(/([^/])$/, "$1/");
55
+ const manifestResponse = await fetch(moduleUrl + "manifest.json");
56
+
57
+ if (!manifestResponse.ok) {
58
+ console.error(`Failed to load manifest for module ${module.id}:`, manifestResponse.statusText);
59
+ continue;
60
+ }
61
+
62
+ const manifest: Manifest = await manifestResponse.json();
63
+
64
+ // Find entry point
65
+ const entry = Object.values(manifest).find((file) => (file as ModuleManifest).isEntry);
66
+
67
+ if (!entry) {
68
+ console.error(`Entry file not found for module ${module.id}`);
69
+ continue;
70
+ }
71
+
72
+ // Load CSS files
73
+ await Promise.all(
74
+ Object.values(manifest)
75
+ .filter((file) => file.file.endsWith(".css"))
76
+ .map((file) => loadCSS(moduleUrl + `${file.file}`)),
77
+ ).catch((error) => {
78
+ console.error(`Failed to load styles for module ${module.id}:`, error);
79
+ });
80
+
81
+ // Load module
82
+ await import(/* @vite-ignore */ moduleUrl + entry.file).catch((error) => {
83
+ console.error(`Failed to load module ${module.id}:`, error);
84
+ return; // Skip to next module
85
+ });
86
+
87
+ // Register plugins
88
+ Object.values(window.VcShellDynamicModules).forEach((mod) => {
89
+ try {
90
+ app.use((mod as Record<"default", Plugin>)?.default, { router });
91
+ } catch (error) {
92
+ console.error(`Failed to register plugin for module ${module.id}:`, error);
93
+ }
94
+ });
95
+
96
+ app.config.globalProperties.$dynamicModules = {
97
+ ...(app.config.globalProperties.$dynamicModules || {}),
98
+ ...window.VcShellDynamicModules,
99
+ };
100
+ app.provide("$dynamicModules", app.config.globalProperties.$dynamicModules);
101
+ } catch (error) {
102
+ console.error(`Failed to process module ${module.id}:`, error);
103
+ continue; // Skip to next module
67
104
  }
68
-
69
- await Promise.all(
70
- Object.values(manifest)
71
- .filter((file) => file.file.endsWith(".css"))
72
- .map((file) => loadCSS(moduleUrl + `${file.file}`)),
73
- ).catch((error) => {
74
- console.error("Failed to load styles", error);
75
- });
76
-
77
- await import(/* @vite-ignore */ moduleUrl + entry.file).catch((error) => {
78
- console.error("Failed to load module", error);
79
- });
80
-
81
- Object.values(window.VcShellDynamicModules).forEach((mod) => {
82
- app.use((mod as Record<"default", Plugin>)?.default, { router });
83
- });
84
-
85
- app.config.globalProperties.$dynamicModules = {
86
- ...(app.config.globalProperties.$dynamicModules || {}),
87
- ...window.VcShellDynamicModules,
88
- };
89
- app.provide("$dynamicModules", app.config.globalProperties.$dynamicModules);
90
105
  }
91
106
  }
92
107
  } catch (error) {
93
- console.error("Failed to load modules", error);
108
+ console.error("Failed to load modules:", error);
94
109
  }
95
110
  }
96
111
 
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as a, openBlock as i, createBlock as r, unref as t } from "vue";
2
- import { _ as p } from "./external-provider.vue_vue_type_script_setup_true_lang-pVwhlqSS.js";
3
- import { u as s } from "./index-DfABrHB_.js";
2
+ import { _ as p } from "./external-provider.vue_vue_type_script_setup_true_lang-W0dfYjBn.js";
3
+ import { u as s } from "./index-BdWiIKgo.js";
4
4
  const g = /* @__PURE__ */ a({
5
5
  __name: "azuread",
6
6
  props: {
@@ -12,7 +12,7 @@ export declare const createAppModule: (pages: {
12
12
  [key: string]: object;
13
13
  } | undefined, notificationTemplates?: {
14
14
  [key: string]: Component & {
15
- notifyType: string;
15
+ notifyType?: string | undefined;
16
16
  };
17
17
  } | undefined, moduleComponents?: {
18
18
  [key: string]: Component;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/plugins/modularity/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAY,MAAM,KAAK,CAAC;AAE/C,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,wBAAwB,EAAc,MAAM,qDAAqD,CAAC;AAM3G,eAAO,MAAM,YAAY;;aAAuE,OAAO;iBACxF,GAAG,GAAG,IAAI;CAsBvB,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;oBAGyC,MAAM;;;;;iBAI1D,GAAG,YAAY;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;CA8MxD,CAAC;AAEF,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/plugins/modularity/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAY,MAAM,KAAK,CAAC;AAE/C,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,wBAAwB,EAAc,MAAM,qDAAqD,CAAC;AAM3G,eAAO,MAAM,YAAY;;aAAuE,OAAO;iBACxF,GAAG,GAAG,IAAI;CAsBvB,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;iBAOX,GAAG,YAAY;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;CA8MxD,CAAC;AAEF,cAAc,UAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"loader.d.ts","sourceRoot":"","sources":["../../../../core/plugins/modularity/loader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAU,MAAM,KAAK,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAmCpC,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE;;EA+DnG"}
1
+ {"version":3,"file":"loader.d.ts","sourceRoot":"","sources":["../../../../core/plugins/modularity/loader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAU,MAAM,KAAK,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAmCpC,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE;;EA8EnG"}
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./external-provider.vue_vue_type_script_setup_true_lang-pVwhlqSS.js";
1
+ import { _ as f } from "./external-provider.vue_vue_type_script_setup_true_lang-W0dfYjBn.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, openBlock as s, createBlock as n, unref as o, withCtx as i, createElementVNode as a, createVNode as l, createTextVNode as p, toDisplayString as c } from "vue";
2
- import { _ as m, a as _ } from "./index-DfABrHB_.js";
2
+ import { _ as m, a as _ } from "./index-BdWiIKgo.js";
3
3
  import "vee-validate";
4
4
  import "vue-router";
5
5
  const d = { class: "tw-flex tw-flex-row tw-items-center tw-gap-2" }, N = /* @__PURE__ */ r({
@@ -0,0 +1,4 @@
1
+ import { b as f } from "./index-BdWiIKgo.js";
2
+ export {
3
+ f as default
4
+ };
package/dist/framework.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "vue-router";
2
- import { cj as i, cX as c, a$ as n, b0 as o, b1 as r, aP as l, cs as u, cr as p, cu as b, ct as d, aN as y, aQ as g, ca as V, aR as m, b2 as S, b3 as P, cS as C, d1 as h, b4 as D, b5 as A, b6 as R, b7 as I, b8 as L, b9 as f, ba as M, aS as T, bb as B, cA as E, cz as N, bc as O, cb as w, aT as U, bd as v, be as F, bf as k, bg as q, bh as x, bi as z, bj as j, cd as J, bk as K, bl as H, bm as W, cc as G, bn as Q, cM as X, b as Y, aO as Z, bo as _, bp as $, bq as aa, c_ as sa, br as ea, aU as ta, bs as ia, ce as ca, bt as na, bu as oa, cT as ra, bv as la, bw as ua, bx as pa, by as ba, aV as da, bz as ya, c$ as ga, bA as Va, bB as ma, bC as Sa, bD as Pa, bE as Ca, bF as ha, aW as Da, cI as Aa, cV as Ra, cW as Ia, bG as La, bH as fa, aX as Ma, bI as Ta, cf as Ba, bJ as Ea, bK as Na, bL as Oa, cg as wa, bM as Ua, bN as va, bO as Fa, bP as ka, ch as qa, bQ as xa, aY as za, bR as ja, bS as Ja, d0 as Ka, bT as Ha, bU as Wa, bV as Ga, bW as Qa, aZ as Xa, bX as Ya, bY as Za, a_ as _a, bZ as $a, cq as as, cY as ss, b_ as es, b$ as ts, c0 as is, ci as cs, c1 as ns, c2 as os, cZ as rs, c3 as ls, c4 as us, cU as ps, c5 as bs, c6 as ds, c7 as ys, c8 as gs, ab as Vs, cC as ms, cB as Ss, A as Ps, ac as Cs, cG as hs, cF as Ds, W as As, _ as Rs, V as Is, aa as Ls, B as fs, D as Ms, ad as Ts, X as Bs, a8 as Es, Z as Ns, Y as Os, ae as ws, F as Us, G as vs, a as Fs, $ as ks, a0 as qs, H as xs, J as zs, K as js, af as Js, a7 as Ks, a1 as Hs, a2 as Ws, ag as Gs, cP as Qs, cO as Xs, M as Ys, a9 as Zs, a3 as _s, O as $s, a4 as ae, a5 as se, P as ee, Q as te, R as ie, ah as ce, a6 as ne, U as oe, S as re, T as le, c9 as ue, aF as pe, ay as be, aE as de, aG as ye, cE as ge, ck as Ve, cn as me, aI as Se, cv as Pe, aH as Ce, z as he, aD as De, co as Ae, cR as Re, aB as Ie, cl as Le, cm as fe, cp as Me, az as Te, aC as Be, aA as Ee, cL as Ne, aM as Oe, cN as we, aL as Ue, aK as ve, av as Fe, an as ke, cD as qe, ai as xe, au as ze, ak as je, cH as Je, am as Ke, cJ as He, cx as We, aJ as Ge, cw as Qe, ax as Xe, ap as Ye, cK as Ze, al as _e, cy as $e, aw as at, aj as st, ar as et, at as tt, cQ as it, as as ct, ao as nt, aq as ot } from "./index-DfABrHB_.js";
2
+ import { cj as i, cX as c, a$ as n, b0 as o, b1 as r, aP as l, cs as u, cr as p, cu as b, ct as d, aN as y, aQ as g, ca as V, aR as m, b2 as S, b3 as P, cS as C, d1 as h, b4 as D, b5 as A, b6 as R, b7 as I, b8 as L, b9 as f, ba as M, aS as T, bb as B, cA as E, cz as N, bc as O, cb as w, aT as U, bd as v, be as F, bf as k, bg as q, bh as x, bi as z, bj as j, cd as J, bk as K, bl as H, bm as W, cc as G, bn as Q, cM as X, b as Y, aO as Z, bo as _, bp as $, bq as aa, c_ as sa, br as ea, aU as ta, bs as ia, ce as ca, bt as na, bu as oa, cT as ra, bv as la, bw as ua, bx as pa, by as ba, aV as da, bz as ya, c$ as ga, bA as Va, bB as ma, bC as Sa, bD as Pa, bE as Ca, bF as ha, aW as Da, cI as Aa, cV as Ra, cW as Ia, bG as La, bH as fa, aX as Ma, bI as Ta, cf as Ba, bJ as Ea, bK as Na, bL as Oa, cg as wa, bM as Ua, bN as va, bO as Fa, bP as ka, ch as qa, bQ as xa, aY as za, bR as ja, bS as Ja, d0 as Ka, bT as Ha, bU as Wa, bV as Ga, bW as Qa, aZ as Xa, bX as Ya, bY as Za, a_ as _a, bZ as $a, cq as as, cY as ss, b_ as es, b$ as ts, c0 as is, ci as cs, c1 as ns, c2 as os, cZ as rs, c3 as ls, c4 as us, cU as ps, c5 as bs, c6 as ds, c7 as ys, c8 as gs, ab as Vs, cC as ms, cB as Ss, A as Ps, ac as Cs, cG as hs, cF as Ds, W as As, _ as Rs, V as Is, aa as Ls, B as fs, D as Ms, ad as Ts, X as Bs, a8 as Es, Z as Ns, Y as Os, ae as ws, F as Us, G as vs, a as Fs, $ as ks, a0 as qs, H as xs, J as zs, K as js, af as Js, a7 as Ks, a1 as Hs, a2 as Ws, ag as Gs, cP as Qs, cO as Xs, M as Ys, a9 as Zs, a3 as _s, O as $s, a4 as ae, a5 as se, P as ee, Q as te, R as ie, ah as ce, a6 as ne, U as oe, S as re, T as le, c9 as ue, aF as pe, ay as be, aE as de, aG as ye, cE as ge, ck as Ve, cn as me, aI as Se, cv as Pe, aH as Ce, z as he, aD as De, co as Ae, cR as Re, aB as Ie, cl as Le, cm as fe, cp as Me, az as Te, aC as Be, aA as Ee, cL as Ne, aM as Oe, cN as we, aL as Ue, aK as ve, av as Fe, an as ke, cD as qe, ai as xe, au as ze, ak as je, cH as Je, am as Ke, cJ as He, cx as We, aJ as Ge, cw as Qe, ax as Xe, ap as Ye, cK as Ze, al as _e, cy as $e, aw as at, aj as st, ar as et, at as tt, cQ as it, as as ct, ao as nt, aq as ot } from "./index-BdWiIKgo.js";
3
3
  import "vue";
4
4
  export {
5
5
  i as ApiException,
@@ -1,4 +1,4 @@
1
- import { s, t as r, e as n, L as o, i as P, c as a, f as Q, m as i, d as c } from "./index-DfABrHB_.js";
1
+ import { s, t as r, e as n, L as o, i as P, c as a, f as Q, m as i, d as c } from "./index-BdWiIKgo.js";
2
2
  const g = s({
3
3
  String: r.string,
4
4
  Number: r.number,
@@ -1,4 +1,4 @@
1
- import { C as B, E as i, s as W, t, e as U, L as C, i as u, l as v, f as E, m as M, d as b, w as N } from "./index-DfABrHB_.js";
1
+ import { C as B, E as i, s as W, t, e as U, L as C, i as u, l as v, f as E, m as M, d as b, w as N } from "./index-BdWiIKgo.js";
2
2
  const c = 63, D = 64, j = 1, A = 2, y = 3, H = 4, Z = 5, F = 6, I = 7, z = 65, K = 66, J = 8, OO = 9, eO = 10, aO = 11, rO = 12, V = 13, nO = 19, tO = 20, oO = 29, PO = 33, QO = 34, sO = 47, lO = 0, T = 1, g = 2, d = 3, m = 4;
3
3
  class s {
4
4
  constructor(e, a, r) {
@@ -1,4 +1,4 @@
1
- import { L as O, i as r, l as b, f as s, m as a, s as t, t as e, d as P, e as n } from "./index-DfABrHB_.js";
1
+ import { L as O, i as r, l as b, f as s, m as a, s as t, t as e, d as P, e as n } from "./index-BdWiIKgo.js";
2
2
  const S = { __proto__: null, anyref: 34, dataref: 34, eqref: 34, externref: 34, i31ref: 34, funcref: 34, i8: 34, i16: 34, i32: 34, i64: 34, f32: 34, f64: 34 }, Q = /* @__PURE__ */ n.deserialize({
3
3
  version: 14,
4
4
  states: "!^Q]QPOOOqQPO'#CbOOQO'#Cd'#CdOOQO'#Cl'#ClOOQO'#Ch'#ChQ]QPOOOOQO,58|,58|OxQPO,58|OOQO-E6f-E6fOOQO1G.h1G.h",
@@ -26754,7 +26754,7 @@ function dt(t) {
26754
26754
  return new tb(X6.define(t));
26755
26755
  }
26756
26756
  function _d(t) {
26757
- return import("./index-fuILXn_w.js").then((e) => e.sql({ dialect: e[t] }));
26757
+ return import("./index-DO1cRnjY.js").then((e) => e.sql({ dialect: e[t] }));
26758
26758
  }
26759
26759
  const G$e = [
26760
26760
  // New-style language modes
@@ -26762,7 +26762,7 @@ const G$e = [
26762
26762
  name: "C",
26763
26763
  extensions: ["c", "h", "ino"],
26764
26764
  load() {
26765
- return import("./index-BqFdtq0j.js").then((t) => t.cpp());
26765
+ return import("./index-CPYqDzaH.js").then((t) => t.cpp());
26766
26766
  }
26767
26767
  }),
26768
26768
  /* @__PURE__ */ je.of({
@@ -26770,7 +26770,7 @@ const G$e = [
26770
26770
  alias: ["cpp"],
26771
26771
  extensions: ["cpp", "c++", "cc", "cxx", "hpp", "h++", "hh", "hxx"],
26772
26772
  load() {
26773
- return import("./index-BqFdtq0j.js").then((t) => t.cpp());
26773
+ return import("./index-CPYqDzaH.js").then((t) => t.cpp());
26774
26774
  }
26775
26775
  }),
26776
26776
  /* @__PURE__ */ je.of({
@@ -26792,7 +26792,7 @@ const G$e = [
26792
26792
  name: "Go",
26793
26793
  extensions: ["go"],
26794
26794
  load() {
26795
- return import("./index-2VvztI5V.js").then((t) => t.go());
26795
+ return import("./index-BekPWdT9.js").then((t) => t.go());
26796
26796
  }
26797
26797
  }),
26798
26798
  /* @__PURE__ */ je.of({
@@ -26807,7 +26807,7 @@ const G$e = [
26807
26807
  name: "Java",
26808
26808
  extensions: ["java"],
26809
26809
  load() {
26810
- return import("./index-osebbY9y.js").then((t) => t.java());
26810
+ return import("./index-jmDrgliY.js").then((t) => t.java());
26811
26811
  }
26812
26812
  }),
26813
26813
  /* @__PURE__ */ je.of({
@@ -26823,7 +26823,7 @@ const G$e = [
26823
26823
  alias: ["json5"],
26824
26824
  extensions: ["json", "map"],
26825
26825
  load() {
26826
- return import("./index-bZ0IrgAu.js").then((t) => t.json());
26826
+ return import("./index-BGaxKbp7.js").then((t) => t.json());
26827
26827
  }
26828
26828
  }),
26829
26829
  /* @__PURE__ */ je.of({
@@ -26837,14 +26837,14 @@ const G$e = [
26837
26837
  name: "LESS",
26838
26838
  extensions: ["less"],
26839
26839
  load() {
26840
- return import("./index-BpeR8MpE.js").then((t) => t.less());
26840
+ return import("./index-kFRaLmem.js").then((t) => t.less());
26841
26841
  }
26842
26842
  }),
26843
26843
  /* @__PURE__ */ je.of({
26844
26844
  name: "Liquid",
26845
26845
  extensions: ["liquid"],
26846
26846
  load() {
26847
- return import("./index-C280JcJo.js").then((t) => t.liquid());
26847
+ return import("./index-vBvkMASN.js").then((t) => t.liquid());
26848
26848
  }
26849
26849
  }),
26850
26850
  /* @__PURE__ */ je.of({
@@ -26876,7 +26876,7 @@ const G$e = [
26876
26876
  name: "PHP",
26877
26877
  extensions: ["php", "php3", "php4", "php5", "php7", "phtml"],
26878
26878
  load() {
26879
- return import("./index-BscDURbV.js").then((t) => t.php());
26879
+ return import("./index-CEZRb4kJ.js").then((t) => t.php());
26880
26880
  }
26881
26881
  }),
26882
26882
  /* @__PURE__ */ je.of({
@@ -26897,28 +26897,28 @@ const G$e = [
26897
26897
  extensions: ["BUILD", "bzl", "py", "pyw"],
26898
26898
  filename: /^(BUCK|BUILD)$/,
26899
26899
  load() {
26900
- return import("./index-h2e4Cdwh.js").then((t) => t.python());
26900
+ return import("./index-Dly8Mno7.js").then((t) => t.python());
26901
26901
  }
26902
26902
  }),
26903
26903
  /* @__PURE__ */ je.of({
26904
26904
  name: "Rust",
26905
26905
  extensions: ["rs"],
26906
26906
  load() {
26907
- return import("./index-CecSOxnk.js").then((t) => t.rust());
26907
+ return import("./index-Bvgpw5Qo.js").then((t) => t.rust());
26908
26908
  }
26909
26909
  }),
26910
26910
  /* @__PURE__ */ je.of({
26911
26911
  name: "Sass",
26912
26912
  extensions: ["sass"],
26913
26913
  load() {
26914
- return import("./index-jSMgkZQV.js").then((t) => t.sass({ indented: !0 }));
26914
+ return import("./index-Bgz9JztI.js").then((t) => t.sass({ indented: !0 }));
26915
26915
  }
26916
26916
  }),
26917
26917
  /* @__PURE__ */ je.of({
26918
26918
  name: "SCSS",
26919
26919
  extensions: ["scss"],
26920
26920
  load() {
26921
- return import("./index-jSMgkZQV.js").then((t) => t.sass());
26921
+ return import("./index-Bgz9JztI.js").then((t) => t.sass());
26922
26922
  }
26923
26923
  }),
26924
26924
  /* @__PURE__ */ je.of({
@@ -26953,7 +26953,7 @@ const G$e = [
26953
26953
  name: "WebAssembly",
26954
26954
  extensions: ["wat", "wast"],
26955
26955
  load() {
26956
- return import("./index-CWRP_8OR.js").then((t) => t.wast());
26956
+ return import("./index-BaImQrMe.js").then((t) => t.wast());
26957
26957
  }
26958
26958
  }),
26959
26959
  /* @__PURE__ */ je.of({
@@ -26961,7 +26961,7 @@ const G$e = [
26961
26961
  alias: ["rss", "wsdl", "xsd"],
26962
26962
  extensions: ["xml", "xsl", "xsd", "svg"],
26963
26963
  load() {
26964
- return import("./index-D6rLpqm5.js").then((t) => t.xml());
26964
+ return import("./index-jFvS8LTt.js").then((t) => t.xml());
26965
26965
  }
26966
26966
  }),
26967
26967
  /* @__PURE__ */ je.of({
@@ -26969,7 +26969,7 @@ const G$e = [
26969
26969
  alias: ["yml"],
26970
26970
  extensions: ["yaml", "yml"],
26971
26971
  load() {
26972
- return import("./index-1iQcKZcz.js").then((t) => t.yaml());
26972
+ return import("./index-BNwYTehR.js").then((t) => t.yaml());
26973
26973
  }
26974
26974
  }),
26975
26975
  // Legacy modes ported from CodeMirror 5
@@ -27765,13 +27765,13 @@ const G$e = [
27765
27765
  name: "Vue",
27766
27766
  extensions: ["vue"],
27767
27767
  load() {
27768
- return import("./index-CbVaCsap.js").then((t) => t.vue());
27768
+ return import("./index-CM0LuO7L.js").then((t) => t.vue());
27769
27769
  }
27770
27770
  }),
27771
27771
  /* @__PURE__ */ je.of({
27772
27772
  name: "Angular Template",
27773
27773
  load() {
27774
- return import("./index-CkzHOg6W.js").then((t) => t.angular());
27774
+ return import("./index-xw0bYDp6.js").then((t) => t.angular());
27775
27775
  }
27776
27776
  })
27777
27777
  ];
@@ -83104,32 +83104,44 @@ function Sut(t, { router: e, appName: n }) {
83104
83104
  const o = a[n]?.modules;
83105
83105
  if (!(o && o.length))
83106
83106
  throw new Error("Modules not found");
83107
- for (const l of o) {
83108
- const u = l.url.replace(/^([^/])/, "/$1").replace(/([^/])$/, "$1/"), c = await fetch(u + "manifest.json");
83109
- if (!c.ok)
83110
- throw new Error(`Failed to load manifest: ${c.statusText}`);
83111
- const f = await c.json(), d = Object.values(f).find((h) => h.isEntry);
83112
- if (!d)
83113
- throw new Error("Entry file not found");
83114
- await Promise.all(
83115
- Object.values(f).filter((h) => h.file.endsWith(".css")).map((h) => _ut(u + `${h.file}`))
83116
- ).catch((h) => {
83117
- console.error("Failed to load styles", h);
83118
- }), await import(
83119
- /* @vite-ignore */
83120
- u + d.file
83121
- ).catch((h) => {
83122
- console.error("Failed to load module", h);
83123
- }), Object.values(window.VcShellDynamicModules).forEach((h) => {
83124
- t.use(h?.default, { router: e });
83125
- }), t.config.globalProperties.$dynamicModules = {
83126
- ...t.config.globalProperties.$dynamicModules || {},
83127
- ...window.VcShellDynamicModules
83128
- }, t.provide("$dynamicModules", t.config.globalProperties.$dynamicModules);
83129
- }
83107
+ for (const l of o)
83108
+ try {
83109
+ const u = l.url.replace(/^([^/])/, "/$1").replace(/([^/])$/, "$1/"), c = await fetch(u + "manifest.json");
83110
+ if (!c.ok) {
83111
+ console.error(`Failed to load manifest for module ${l.id}:`, c.statusText);
83112
+ continue;
83113
+ }
83114
+ const f = await c.json(), d = Object.values(f).find((h) => h.isEntry);
83115
+ if (!d) {
83116
+ console.error(`Entry file not found for module ${l.id}`);
83117
+ continue;
83118
+ }
83119
+ await Promise.all(
83120
+ Object.values(f).filter((h) => h.file.endsWith(".css")).map((h) => _ut(u + `${h.file}`))
83121
+ ).catch((h) => {
83122
+ console.error(`Failed to load styles for module ${l.id}:`, h);
83123
+ }), await import(
83124
+ /* @vite-ignore */
83125
+ u + d.file
83126
+ ).catch((h) => {
83127
+ console.error(`Failed to load module ${l.id}:`, h);
83128
+ }), Object.values(window.VcShellDynamicModules).forEach((h) => {
83129
+ try {
83130
+ t.use(h?.default, { router: e });
83131
+ } catch (m) {
83132
+ console.error(`Failed to register plugin for module ${l.id}:`, m);
83133
+ }
83134
+ }), t.config.globalProperties.$dynamicModules = {
83135
+ ...t.config.globalProperties.$dynamicModules || {},
83136
+ ...window.VcShellDynamicModules
83137
+ }, t.provide("$dynamicModules", t.config.globalProperties.$dynamicModules);
83138
+ } catch (u) {
83139
+ console.error(`Failed to process module ${l.id}:`, u);
83140
+ continue;
83141
+ }
83130
83142
  }
83131
83143
  } catch (i) {
83132
- console.error("Failed to load modules", i);
83144
+ console.error("Failed to load modules:", i);
83133
83145
  }
83134
83146
  }
83135
83147
  return {
@@ -89870,7 +89882,7 @@ const K0t = {
89870
89882
  providers: {}
89871
89883
  },
89872
89884
  setup(t) {
89873
- const e = /* @__PURE__ */ Object.assign({ "./azuread.vue": () => import("./azuread-BhAhqR2s.js"), "./external-provider.vue": () => import("./external-provider-CKRKv1EO.js"), "./external-providers.vue": () => import("./external-providers-BuwRmZS6.js") }), n = (r) => {
89885
+ const e = /* @__PURE__ */ Object.assign({ "./azuread.vue": () => import("./azuread-Bg158N88.js"), "./external-provider.vue": () => import("./external-provider-kkhJ5la8.js"), "./external-providers.vue": () => import("./external-providers-Dsrytoru.js") }), n = (r) => {
89874
89886
  const i = `./${r.toLowerCase()}.vue`, s = e[i];
89875
89887
  return s !== void 0 ? M1e({
89876
89888
  loader: s,
@@ -111066,7 +111078,7 @@ typeof window < "u" && (window.VcShellFramework = {
111066
111078
  ...Out,
111067
111079
  ...Fbt,
111068
111080
  ...nme
111069
- }, window.Vue = wR, window.VueRouter = T1e, window.moment = xt, window.VueI18n = t9e, window._ = MAt, window.VueUseCore = lTe);
111081
+ }, window.Vue = wR, window.VueRouter = T1e, window.moment = xt, window.VueI18n = t9e, window._ = MAt, window.VueUse = lTe);
111070
111082
  const oCt = {
111071
111083
  install(t, e) {
111072
111084
  X8().register(["light", "dark"]), window.fetch = AAt(e.router), e.i18n?.locale && (ai.global.locale.value = e.i18n.locale), e.i18n?.fallbackLocale && (ai.global.fallbackLocale.value = e.i18n.fallbackLocale), t.use(ai);
@@ -1,4 +1,4 @@
1
- import { E as s, C as R, s as Y, t as O, e as x, n as w, o as X, j as d, L as k, i as h, c as l, k as f, l as u, f as y, m as g, d as j, g as U, h as G, I as b, N as Z } from "./index-DfABrHB_.js";
1
+ import { E as s, C as R, s as Y, t as O, e as x, n as w, o as X, j as d, L as k, i as h, c as l, k as f, l as u, f as y, m as g, d as j, g as U, h as G, I as b, N as Z } from "./index-BdWiIKgo.js";
2
2
  const _ = 177, q = 179, E = 184, v = 12, C = 13, D = 17, z = 20, F = 25, B = 53, N = 95, I = 142, L = 144, A = 145, J = 148, M = 10, H = 13, K = 32, OO = 9, $ = 47, QO = 41, eO = 125, aO = new s((Q, e) => {
3
3
  for (let n = 0, a = Q.next; (e.context && (a < 0 || a == M || a == H || a == $ && Q.peek(n + 1) == $) || a == QO || a == eO) && Q.acceptToken(_), !(a != K && a != OO); )
4
4
  a = Q.peek(++n);
@@ -1,4 +1,4 @@
1
- import { E as i, C as G, s as u, t as $, e as w, L as v, f as g, m as V, i as U, c as b, p as q, d as E } from "./index-DfABrHB_.js";
1
+ import { E as i, C as G, s as u, t as $, e as w, L as v, f as g, m as V, i as U, c as b, p as q, d as E } from "./index-BdWiIKgo.js";
2
2
  const z = 154, X = 155, C = 156, N = 1, D = 2, f = 3, I = 157, F = 158, Z = 4, K = 5, L = 159, p = 160, W = 161, s = 162, T = 6, h = 7, A = 8, B = 9, c = 0, R = [
3
3
  9,
4
4
  10,
@@ -1,4 +1,4 @@
1
- import { E as a, s as o, t as Q, e as Z, L as _, i as q, c as r, f as l, m as w, d as V } from "./index-DfABrHB_.js";
1
+ import { E as a, s as o, t as Q, e as Z, L as _, i as q, c as r, f as l, m as w, d as V } from "./index-BdWiIKgo.js";
2
2
  const R = 1, g = 2, b = 3, y = 4, T = 5, s = 98, c = 101, v = 102, t = 114, p = 69, X = 48, W = 46, d = 43, f = 45, Y = 35, z = 34, x = 124, U = 60, h = 62;
3
3
  function n(O) {
4
4
  return O >= 48 && O <= 57;
@@ -1,4 +1,4 @@
1
- import { E as S, s as o, t as $, e as t, L as l, i as x, c as W, l as R, f as V, m as r, v as U, d as v, w as u } from "./index-DfABrHB_.js";
1
+ import { E as S, s as o, t as $, e as t, L as l, i as x, c as W, l as R, f as V, m as r, v as U, d as v, w as u } from "./index-BdWiIKgo.js";
2
2
  const b = 1, m = 2, p = 263, k = 3, c = 264, s = 265, Y = 266, Z = 4, w = 5, _ = 6, h = 7, X = 8, j = 9, f = 10, G = 11, g = 12, E = 13, I = 14, N = 15, F = 16, C = 17, L = 18, A = 19, H = 20, K = 21, D = 22, B = 23, M = 24, J = 25, OO = 26, $O = 27, QO = 28, iO = 29, yO = 30, aO = 31, zO = 32, SO = 33, PO = 34, WO = 35, eO = 36, TO = 37, sO = 38, XO = 39, dO = 40, nO = 41, qO = 42, oO = 43, tO = 44, lO = 45, xO = 46, RO = 47, VO = 48, rO = 49, UO = 50, vO = 51, uO = 52, bO = 53, mO = 54, pO = 55, kO = 56, cO = 57, YO = 58, ZO = 59, wO = 60, _O = 61, e = 62, hO = 63, jO = 64, fO = 65, GO = {
3
3
  abstract: Z,
4
4
  and: w,
@@ -1,4 +1,4 @@
1
- import { s as p, t, L as u, d as l, e as m, n as r, v as b, w as n, y as S } from "./index-DfABrHB_.js";
1
+ import { s as p, t, L as u, d as l, e as m, n as r, v as b, w as n, y as S } from "./index-BdWiIKgo.js";
2
2
  const c = /* @__PURE__ */ m.deserialize({
3
3
  version: 14,
4
4
  states: "%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",
@@ -1,4 +1,4 @@
1
- import { E as Y, s as S, t as Q, e as l, L as o, i as n, c as i, k as s, l as W, f as c, m as f, d as x } from "./index-DfABrHB_.js";
1
+ import { E as Y, s as S, t as Q, e as l, L as o, i as n, c as i, k as s, l as W, f as c, m as f, d as x } from "./index-BdWiIKgo.js";
2
2
  const r = 1, Z = 2, V = 3, u = 82, p = 76, w = 117, q = 85, T = 97, y = 122, z = 65, b = 90, j = 95, a = 48, P = 34, v = 40, U = 41, d = 32, t = 62, _ = new Y((O) => {
3
3
  if (O.next == p || O.next == q ? O.advance() : O.next == w && (O.advance(), O.next == a + 8 && O.advance()), O.next != u || (O.advance(), O.next != P)) return;
4
4
  O.advance();
@@ -1,4 +1,4 @@
1
- import { i as te, c as ae, f as re, s as ne, t as i, L as ie, d as se, E as oe, e as le, g as ce, h as de, j as me } from "./index-DfABrHB_.js";
1
+ import { i as te, c as ae, f as re, s as ne, t as i, L as ie, d as se, E as oe, e as le, g as ce, h as de, j as me } from "./index-BdWiIKgo.js";
2
2
  const ue = 36, X = 1, fe = 2, b = 3, C = 4, pe = 5, ge = 6, he = 7, _e = 8, be = 9, ve = 10, ye = 11, ke = 12, xe = 13, Oe = 14, we = 15, Qe = 16, Ce = 17, I = 18, Se = 19, A = 20, E = 21, R = 22, Pe = 23, qe = 24;
3
3
  function P(t) {
4
4
  return t >= 65 && t <= 90 || t >= 97 && t <= 122 || t >= 48 && t <= 57;
@@ -1,4 +1,4 @@
1
- import { E as h, C as N, s as D, t as n, e as L, j as H, g as B, L as K, i as M, l as X, f as OO, m as iO, d as eO, I as aO, h as nO, N as rO, o as d } from "./index-DfABrHB_.js";
1
+ import { E as h, C as N, s as D, t as n, e as L, j as H, g as B, L as K, i as M, l as X, f as OO, m as iO, d as eO, I as aO, h as nO, N as rO, o as d } from "./index-BdWiIKgo.js";
2
2
  const QO = 1, w = 194, Z = 195, tO = 196, _ = 197, oO = 198, dO = 199, sO = 200, lO = 2, E = 3, k = 201, TO = 24, SO = 25, pO = 49, qO = 50, gO = 55, PO = 56, mO = 57, $O = 59, hO = 60, cO = 61, XO = 62, fO = 63, yO = 65, WO = 238, zO = 71, RO = 241, vO = 242, _O = 243, kO = 244, xO = 245, UO = 246, uO = 247, VO = 248, j = 72, bO = 249, GO = 250, wO = 251, ZO = 252, EO = 253, jO = 254, YO = 255, FO = 256, CO = 73, JO = 77, AO = 263, IO = 112, NO = 130, DO = 151, LO = 152, HO = 155, p = 10, q = 13, R = 32, c = 9, v = 35, BO = 40, KO = 46, z = 123, x = 125, Y = 39, F = 34, MO = 92, Oi = 111, ii = 120, ei = 78, ai = 117, ni = 85, ri = /* @__PURE__ */ new Set([
3
3
  SO,
4
4
  pO,
@@ -1,4 +1,4 @@
1
- import { C as A, E as k, s as Y, t as S, e as I, L as j, i as U, f as z, x as q, d as D, q as M, j as Z, r as B } from "./index-DfABrHB_.js";
1
+ import { C as A, E as k, s as Y, t as S, e as I, L as j, i as U, f as z, x as q, d as D, q as M, j as Z, r as B } from "./index-BdWiIKgo.js";
2
2
  const _ = 1, F = 2, J = 3, H = 4, L = 5, K = 35, ee = 36, te = 37, ne = 11, Oe = 13;
3
3
  function ae(e) {
4
4
  return e == 45 || e == 46 || e == 58 || e >= 65 && e <= 90 || e == 95 || e >= 97 && e <= 122 || e >= 161;
@@ -1,4 +1,4 @@
1
- import { s as r, t as O, e, L as s, i as X, c as $, k as l, l as Y, f as S, m as o, d as t } from "./index-DfABrHB_.js";
1
+ import { s as r, t as O, e, L as s, i as X, c as $, k as l, l as Y, f as S, m as o, d as t } from "./index-BdWiIKgo.js";
2
2
  const Z = r({
3
3
  null: O.null,
4
4
  instanceof: O.operatorKeyword,
@@ -1,4 +1,4 @@
1
- import { s as r, t as O, L as i, i as n, c as $, f as y, m as P, p as X, d as m, e as c, E as S } from "./index-DfABrHB_.js";
1
+ import { s as r, t as O, L as i, i as n, c as $, f as y, m as P, p as X, d as m, e as c, E as S } from "./index-BdWiIKgo.js";
2
2
  const s = 110, l = 1, f = 2, t = [
3
3
  9,
4
4
  10,
@@ -1,4 +1,4 @@
1
- import { q as W, r as u, L as T, s as b, t, i as y, l as v, f as k, d as _, e as R, j as Y, v as w, w as U, E as d } from "./index-DfABrHB_.js";
1
+ import { q as W, r as u, L as T, s as b, t, i as y, l as v, f as k, d as _, e as R, j as Y, v as w, w as U, E as d } from "./index-BdWiIKgo.js";
2
2
  const G = 1, X = 2, S = 3, z = 180, j = 4, h = 181, Z = 5, E = 182;
3
3
  function x(O) {
4
4
  return O >= 65 && O <= 90 || O >= 97 && O <= 122;
@@ -1,4 +1,4 @@
1
- import { s as P, t as r, y as i, L as q, d as g, e as c, v as R, w as l, E as p } from "./index-DfABrHB_.js";
1
+ import { s as P, t as r, y as i, L as q, d as g, e as c, v as R, w as l, E as p } from "./index-BdWiIKgo.js";
2
2
  const b = 1, $ = 33, m = 34, v = 35, x = 36, d = /* @__PURE__ */ new p((O) => {
3
3
  let e = O.pos;
4
4
  for (; ; ) {