@vc-shell/framework 1.1.83-alpha.0 → 1.1.83
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 +17 -0
- package/core/api/virtocommerce.platform.ts +10457 -0
- package/core/plugins/extension-points/ExtensionSlot.vue +23 -23
- package/core/plugins/modularity/loader.ts +2 -2
- package/dist/core/api/virtocommerce.platform.d.ts +2442 -0
- package/dist/core/api/virtocommerce.platform.d.ts.map +1 -0
- package/dist/core/plugins/extension-points/ExtensionSlot.vue.d.ts.map +1 -1
- package/dist/framework.js +3420 -3411
- package/dist/locales/de.json +1 -0
- package/dist/locales/en.json +1 -0
- package/dist/shared/components/notification-template/notification-template.vue.d.ts +8 -1
- package/dist/shared/components/notification-template/notification-template.vue.d.ts.map +1 -1
- package/dist/shared/pages/LoginPage/components/login/Login.vue.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/molecules/vc-form/vc-form.vue.d.ts +5 -1
- package/dist/ui/components/molecules/vc-form/vc-form.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +10 -5
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
- package/package.json +5 -7
- package/shared/components/notification-template/notification-template.vue +5 -1
- package/shared/pages/LoginPage/components/login/Login.vue +29 -23
- package/ui/components/molecules/vc-form/vc-form.vue +11 -3
- package/ui/components/molecules/vc-select/vc-select.vue +1 -2
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<template
|
|
3
|
-
v-for="extension in components"
|
|
4
|
-
:key="extension.id"
|
|
5
|
-
>
|
|
6
|
-
<component
|
|
7
|
-
:is="extension.component"
|
|
8
|
-
v-bind="extension.props || {}"
|
|
9
|
-
/>
|
|
10
|
-
</template>
|
|
11
|
-
</template>
|
|
12
|
-
|
|
13
|
-
<script setup lang="ts">
|
|
14
|
-
import { useExtensionSlot } from './simple-extensions';
|
|
15
|
-
|
|
16
|
-
interface Props {
|
|
17
|
-
name: string;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
const props = defineProps<Props>();
|
|
21
|
-
|
|
22
|
-
const { components } = useExtensionSlot(props.name);
|
|
23
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<template
|
|
3
|
+
v-for="extension in components"
|
|
4
|
+
:key="extension.id"
|
|
5
|
+
>
|
|
6
|
+
<component
|
|
7
|
+
:is="extension.component"
|
|
8
|
+
v-bind="extension.props || {}"
|
|
9
|
+
/>
|
|
10
|
+
</template>
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<script setup lang="ts">
|
|
14
|
+
import { useExtensionSlot } from './simple-extensions';
|
|
15
|
+
|
|
16
|
+
interface Props {
|
|
17
|
+
name: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const props = defineProps<Props>();
|
|
21
|
+
|
|
22
|
+
const { components } = useExtensionSlot(props.name);
|
|
23
|
+
</script>
|
|
@@ -148,7 +148,7 @@ function checkVersionCompatibility(
|
|
|
148
148
|
|
|
149
149
|
if (
|
|
150
150
|
moduleVersion.compatibleWith.framework &&
|
|
151
|
-
!semver.satisfies(frameworkVersion, moduleVersion.compatibleWith.framework)
|
|
151
|
+
!semver.satisfies(frameworkVersion, moduleVersion.compatibleWith.framework, { includePrerelease: true })
|
|
152
152
|
) {
|
|
153
153
|
console.error(
|
|
154
154
|
`Module ${moduleId} requires framework version ${moduleVersion.compatibleWith.framework}, but current framework version is ${frameworkVersion}.`,
|
|
@@ -172,7 +172,7 @@ function checkVersionCompatibility(
|
|
|
172
172
|
continue;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
if (!semver.satisfies(loadedDepVersion, versionRange)) {
|
|
175
|
+
if (!semver.satisfies(loadedDepVersion, versionRange, { includePrerelease: true })) {
|
|
176
176
|
console.error(
|
|
177
177
|
`Module ${moduleId} requires ${depModuleId} version ${versionRange}, but loaded version is ${loadedDepVersion}.`,
|
|
178
178
|
);
|