@vc-shell/framework 1.1.83 → 1.1.84
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 +18 -0
- package/core/plugins/modularity/index.ts +0 -1
- package/core/plugins/modularity/loader.ts +1 -13
- package/dist/core/plugins/modularity/index.d.ts +0 -1
- package/dist/core/plugins/modularity/index.d.ts.map +1 -1
- package/dist/core/plugins/modularity/loader.d.ts +0 -1
- package/dist/core/plugins/modularity/loader.d.ts.map +1 -1
- package/dist/framework.js +5684 -5744
- package/dist/shared/composables/useMenuExpanded.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
- package/package.json +4 -4
- package/shared/composables/useMenuExpanded.ts +13 -2
- package/ui/components/molecules/vc-select/vc-select.vue +28 -2
- package/core/plugins/modularity/extensions-helper.ts +0 -209
- package/dist/core/plugins/modularity/extensions-helper.d.ts +0 -43
- package/dist/core/plugins/modularity/extensions-helper.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## [1.1.84](https://github.com/VirtoCommerce/vc-shell/compare/v1.1.84-alpha.0...v1.1.84) (2025-09-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **vc-select:** enhance option value retrieval to support primitive types and improve label filtering ([90c9530](https://github.com/VirtoCommerce/vc-shell/commit/90c9530c66e31df7216db9b873fba275c566d8f7))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## [1.1.84-alpha.0](https://github.com/VirtoCommerce/vc-shell/compare/v1.1.83...v1.1.84-alpha.0) (2025-09-30)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **vc-select:** add fallback visibility check for iframe support in dropdown component ([dd3fc7d](https://github.com/VirtoCommerce/vc-shell/commit/dd3fc7d498c1a0d694804332c3fac3513bb4e78f))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
1
19
|
## [1.1.83](https://github.com/VirtoCommerce/vc-shell/compare/v1.1.83-alpha.0...v1.1.83) (2025-09-30)
|
|
2
20
|
|
|
3
21
|
|
|
@@ -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
|
|
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
|
}
|
|
@@ -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,EAAE,MAAM,GAAG,wBAAwB,CAAA;CAAE,EAClD,OAAO,CAAC,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG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@ -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;
|
|
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"}
|