@vc-shell/framework 1.0.216 → 1.0.217
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 +9 -0
- package/dist/framework.js +2640 -2640
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-switch/vc-switch.stories.d.ts +2 -2
- package/dist/ui/components/atoms/vc-switch/vc-switch.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-switch/vc-switch.vue.d.ts.map +1 -1
- package/package.json +4 -4
- package/shared/modules/dynamic/pages/dynamic-blade-form.vue +3 -2
- package/ui/components/atoms/vc-switch/vc-switch.vue +1 -1
|
@@ -10,7 +10,7 @@ declare const _default: {
|
|
|
10
10
|
type: import("vue").PropType<string>;
|
|
11
11
|
};
|
|
12
12
|
modelValue: {
|
|
13
|
-
type: import("vue").PropType<boolean>;
|
|
13
|
+
type: import("vue").PropType<boolean | undefined>;
|
|
14
14
|
required: true;
|
|
15
15
|
};
|
|
16
16
|
tooltip: {
|
|
@@ -37,7 +37,7 @@ declare const _default: {
|
|
|
37
37
|
type: import("vue").PropType<string>;
|
|
38
38
|
};
|
|
39
39
|
modelValue: {
|
|
40
|
-
type: import("vue").PropType<boolean>;
|
|
40
|
+
type: import("vue").PropType<boolean | undefined>;
|
|
41
41
|
required: true;
|
|
42
42
|
};
|
|
43
43
|
tooltip: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-switch.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-switch/vc-switch.vue.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,KAAK;IACpB,UAAU,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"vc-switch.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-switch/vc-switch.vue.ts"],"names":[],"mappings":"AAGA,MA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,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vc-shell/framework",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.217",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/framework.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@types/dompurify": "^3.0.5",
|
|
62
62
|
"@types/quill": "^2.0.14",
|
|
63
|
-
"@vc-shell/api-client-generator": "^1.0.
|
|
64
|
-
"@vc-shell/config-generator": "^1.0.
|
|
65
|
-
"@vc-shell/ts-config": "^1.0.
|
|
63
|
+
"@vc-shell/api-client-generator": "^1.0.217",
|
|
64
|
+
"@vc-shell/config-generator": "^1.0.217",
|
|
65
|
+
"@vc-shell/ts-config": "^1.0.217",
|
|
66
66
|
"@vitejs/plugin-vue": "^5.0.3",
|
|
67
67
|
"sass": "^1.69.6",
|
|
68
68
|
"shx": "^0.3.4",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
:width="settings?.width || '50%'"
|
|
8
8
|
:toolbar-items="toolbarComputed"
|
|
9
9
|
:title="title"
|
|
10
|
-
:modified="
|
|
10
|
+
:modified="isBladeEditable ? isFormModified : undefined"
|
|
11
11
|
@close="$emit('close:blade')"
|
|
12
12
|
@expand="$emit('expand:blade')"
|
|
13
13
|
@collapse="$emit('collapse:blade')"
|
|
@@ -156,6 +156,7 @@ const { onBeforeClose } = useBladeNavigation();
|
|
|
156
156
|
const title = ref();
|
|
157
157
|
const isReady = ref(false);
|
|
158
158
|
const activeWidgetExposed = ref<CoreBladeExposed>();
|
|
159
|
+
const isBladeEditable = computed(() => refDefault(toRef(toValue(scope ?? {}), "isBladeEditable"), true).value);
|
|
159
160
|
const settings = computed(() => props.model?.settings);
|
|
160
161
|
|
|
161
162
|
const { moduleNotifications, markAsRead } = useNotifications(settings.value?.pushNotificationType);
|
|
@@ -357,7 +358,7 @@ onBeforeClose(async () => {
|
|
|
357
358
|
});
|
|
358
359
|
|
|
359
360
|
provide("bladeContext", toReactive(bladeContext));
|
|
360
|
-
provide("isBladeEditable",
|
|
361
|
+
provide("isBladeEditable", isBladeEditable);
|
|
361
362
|
|
|
362
363
|
defineExpose({
|
|
363
364
|
title: bladeTitle ?? "",
|