@vc-shell/framework 1.1.83 → 1.1.84-alpha.0

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [1.1.84-alpha.0](https://github.com/VirtoCommerce/vc-shell/compare/v1.1.83...v1.1.84-alpha.0) (2025-09-30)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **vc-select:** add fallback visibility check for iframe support in dropdown component ([dd3fc7d](https://github.com/VirtoCommerce/vc-shell/commit/dd3fc7d498c1a0d694804332c3fac3513bb4e78f))
7
+
8
+
9
+
1
10
  ## [1.1.83](https://github.com/VirtoCommerce/vc-shell/compare/v1.1.83-alpha.0...v1.1.83) (2025-09-30)
2
11
 
3
12
 
@@ -196,4 +196,3 @@ export function createAppModule(
196
196
  }
197
197
 
198
198
  export * from "./loader";
199
- export * from "./extensions-helper";
@@ -1,6 +1,5 @@
1
1
  import { App, Plugin } from "vue";
2
2
  import { Router } from "vue-router";
3
- import { ExtensionRegistry, createExtensionsHelper, registerModuleExtensions } from "./extensions-helper";
4
3
  import { DynamicModulesKey } from "../../../injection-keys";
5
4
  import * as semver from "semver";
6
5
  import { notification } from "../../../shared";
@@ -51,19 +50,15 @@ interface Apps {
51
50
  interface ModuleWithDefaultExport {
52
51
  default: {
53
52
  install: Plugin;
54
- extensions?: ExtensionRegistry;
55
53
  version?: VersionInfo;
56
54
  };
57
55
  }
58
56
 
59
57
  interface ModuleWithNamedExport {
60
58
  install: Plugin;
61
- extensions?: ExtensionRegistry;
62
59
  version?: VersionInfo;
63
60
  }
64
61
 
65
- type ModuleExports = ModuleWithDefaultExport | ModuleWithNamedExport;
66
-
67
62
  class VersionCompatibilityError extends Error {
68
63
  moduleId: string;
69
64
  details: {
@@ -201,7 +196,7 @@ function checkVersionCompatibility(
201
196
  * @returns The sub-module containing the 'install' function, or null if not found.
202
197
  */
203
198
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
204
- function getModuleInstall(module: any): { install: Plugin; extensions?: ExtensionRegistry } | null {
199
+ function getModuleInstall(module: any): { install: Plugin } | null {
205
200
  if (!module) {
206
201
  return null;
207
202
  }
@@ -245,7 +240,6 @@ export function useDynamicModules(
245
240
 
246
241
  const loadedModules = new Set<string>();
247
242
  const loadedModulesWithVersions = new Map<string, string>();
248
- const extensionsHelper = createExtensionsHelper(app);
249
243
 
250
244
  async function load() {
251
245
  try {
@@ -500,11 +494,6 @@ export function useDynamicModules(
500
494
  moduleVersion: moduleVersionInfo?.version,
501
495
  });
502
496
 
503
- // Register extensions if they exist
504
- if (mainModule.extensions) {
505
- registerModuleExtensions(app, moduleName, mainModule.extensions);
506
- }
507
-
508
497
  // Install the module plugin
509
498
  app.use(mainModule.install, { router });
510
499
 
@@ -550,7 +539,6 @@ export function useDynamicModules(
550
539
 
551
540
  return {
552
541
  load,
553
- extensionsHelper,
554
542
  getLoadedModulesWithVersions: () => new Map(loadedModulesWithVersions),
555
543
  };
556
544
  }
@@ -22,5 +22,4 @@ export declare function createAppModule(pages: {
22
22
  }): void;
23
23
  };
24
24
  export * from "./loader";
25
- export * from "./extensions-helper";
26
25
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/plugins/modularity/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAsC,MAAM,KAAK,CAAC;AAEzE,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,wBAAwB,EAAc,MAAM,qDAAqD,CAAC;AAO3G,wBAAgB,YAAY,CAAC,UAAU,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,wBAAwB,CAAA;CAAE,EAAE,OAAO,CAAC,EAAE,OAAO;iBAEtF,GAAG,GAAG,IAAI;EAuB1B;AAED,wBAAgB,eAAe,CAC7B,KAAK,EAAE;IAAE,CAAC,GAAG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CAAA;CAAE;iBAGhC,GAAG,YAAY;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;EAuJxD;AAED,cAAc,UAAU,CAAC"}
@@ -12,7 +12,6 @@ export declare function useDynamicModules(app: App, { router, appName }: {
12
12
  appName: string;
13
13
  }, config?: Partial<ModuleConfig>): {
14
14
  load: () => Promise<void>;
15
- extensionsHelper: import("./extensions-helper").ExtensionsHelper;
16
15
  getLoadedModulesWithVersions: () => Map<string, string>;
17
16
  };
18
17
  export {};
@@ -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;AA4HpC,UAAU,YAAY;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAqGD,wBAAgB,iBAAiB,CAC/B,GAAG,EAAE,GAAG,EACR,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,EACxD,MAAM,GAAE,OAAO,CAAC,YAAY,CAAM;;;;EAgUnC"}
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;AAuHpC,UAAU,YAAY;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAqGD,wBAAgB,iBAAiB,CAC/B,GAAG,EAAE,GAAG,EACR,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,EACxD,MAAM,GAAE,OAAO,CAAC,YAAY,CAAM;;;EAyTnC"}