@vc-shell/framework 1.0.200 → 1.0.201
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 +5 -3
- package/dist/shared/modules/dynamic/components/SchemaRender.d.ts +3 -3
- package/dist/shared/modules/dynamic/components/fields/Button.d.ts +1 -1
- package/dist/shared/modules/dynamic/components/fields/Card.d.ts +1 -1
- package/dist/shared/modules/dynamic/components/fields/Checkbox.d.ts +1 -1
- package/dist/shared/modules/dynamic/components/fields/ContentField.d.ts +1 -1
- package/dist/shared/modules/dynamic/components/fields/CustomComponent.d.ts +1 -1
- package/dist/shared/modules/dynamic/components/fields/DynamicProperty.d.ts +1 -1
- package/dist/shared/modules/dynamic/components/fields/EditorField.d.ts +1 -1
- package/dist/shared/modules/dynamic/components/fields/Fieldset.d.ts +1 -1
- package/dist/shared/modules/dynamic/components/fields/GalleryField.d.ts +1 -1
- package/dist/shared/modules/dynamic/components/fields/ImageField.d.ts +1 -1
- package/dist/shared/modules/dynamic/components/fields/InputCurrency.d.ts +1 -1
- package/dist/shared/modules/dynamic/components/fields/InputCurrency.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/InputField.d.ts +1 -1
- package/dist/shared/modules/dynamic/components/fields/MultivalueField.d.ts +1 -1
- package/dist/shared/modules/dynamic/components/fields/RatingField.d.ts +1 -1
- package/dist/shared/modules/dynamic/components/fields/SelectField.d.ts +1 -1
- package/dist/shared/modules/dynamic/components/fields/StatusField.d.ts +1 -1
- package/dist/shared/modules/dynamic/components/fields/SwitchField.d.ts +1 -1
- package/dist/shared/modules/dynamic/components/fields/Table.d.ts +1 -1
- package/dist/shared/modules/dynamic/components/fields/TextareaField.d.ts +1 -1
- package/dist/shared/modules/dynamic/components/fields/VideoField.d.ts +1 -1
- package/dist/shared/modules/dynamic/components/fields/props.d.ts +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/Button.stories.d.ts +3 -3
- package/dist/shared/modules/dynamic/components/fields/storybook/Card.stories.d.ts +3 -3
- package/dist/shared/modules/dynamic/components/fields/storybook/Checkbox.stories.d.ts +3 -3
- package/dist/shared/modules/dynamic/components/fields/storybook/ContentField.stories.d.ts +3 -3
- package/dist/shared/modules/dynamic/components/fields/storybook/EditorField.stories.d.ts +3 -3
- package/dist/shared/modules/dynamic/components/fields/storybook/Fieldset.stories.d.ts +3 -3
- package/dist/shared/modules/dynamic/components/fields/storybook/GalleryField.stories.d.ts +3 -3
- package/dist/shared/modules/dynamic/components/fields/storybook/ImageField.stories.d.ts +3 -3
- package/dist/shared/modules/dynamic/components/fields/storybook/InputCurrency.stories.d.ts +3 -3
- package/dist/shared/modules/dynamic/components/fields/storybook/InputField.stories.d.ts +3 -3
- package/dist/shared/modules/dynamic/components/fields/storybook/MultivalueField.stories.d.ts +3 -3
- package/dist/shared/modules/dynamic/components/fields/storybook/RatingField.stories.d.ts +3 -3
- package/dist/shared/modules/dynamic/components/fields/storybook/SelectField.stories.d.ts +3 -3
- package/dist/shared/modules/dynamic/components/fields/storybook/StatusField.stories.d.ts +3 -3
- package/dist/shared/modules/dynamic/components/fields/storybook/TextareaField.stories.d.ts +3 -3
- package/dist/shared/modules/dynamic/components/fields/storybook/VideoField.stories.d.ts +3 -3
- package/dist/shared/modules/dynamic/components/fields/storybook/pages/DynamicRender.d.ts +3 -3
- package/dist/shared/modules/dynamic/factories/base/useDetailsFactory.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/factories/types/index.d.ts +1 -1
- package/dist/shared/modules/dynamic/factories/types/index.d.ts.map +1 -1
- package/package.json +4 -4
- package/shared/modules/dynamic/components/fields/InputCurrency.ts +0 -1
- package/shared/modules/dynamic/components/fields/storybook/InputField.stories.ts +2 -2
- package/shared/modules/dynamic/components/fields/storybook/MultivalueField.stories.ts +2 -2
- package/shared/modules/dynamic/factories/base/useDetailsFactory.ts +4 -3
- package/shared/modules/dynamic/factories/types/index.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## [1.0.201](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.200...v1.0.201) (2024-04-23)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **dynamic:** saveChanges response ([9d3f909](https://github.com/VirtoCommerce/vc-shell/commit/9d3f9091e15dad0498c680f7835a96c3e0fb5cac))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
1
10
|
## [1.0.200](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.199...v1.0.200) (2024-04-23)
|
|
2
11
|
|
|
3
12
|
|
package/dist/framework.js
CHANGED
|
@@ -39638,9 +39638,11 @@ const qae = (t) => function() {
|
|
|
39638
39638
|
const h = se(() => !f.value || !d.value), { loading: g, action: m } = Ia(async (O) => {
|
|
39639
39639
|
l.value = await t.load(O), l.value && N(l.value);
|
|
39640
39640
|
}), { loading: b, action: v } = Ia(async (O) => {
|
|
39641
|
-
if (w.value.valid)
|
|
39642
|
-
await t.saveChanges?.(O)
|
|
39643
|
-
|
|
39641
|
+
if (w.value.valid) {
|
|
39642
|
+
const S = await t.saveChanges?.(O);
|
|
39643
|
+
if (c.value = !1, f = z(!1), S)
|
|
39644
|
+
return S;
|
|
39645
|
+
} else
|
|
39644
39646
|
throw new Error("Form is not valid");
|
|
39645
39647
|
}), { loading: p, action: E } = Ia(async (O) => {
|
|
39646
39648
|
await t.remove?.(O);
|
|
@@ -6,7 +6,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6
6
|
type: PropType<{
|
|
7
7
|
settings: import("../types").SettingsSchema;
|
|
8
8
|
load: import("../../../..").AsyncAction<import("../factories/types").ItemId>;
|
|
9
|
-
saveChanges: import("../../../..").AsyncAction<Record<string, any>>;
|
|
9
|
+
saveChanges: import("../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
10
10
|
remove?: import("../../../..").AsyncAction<import("../factories/types").ItemId> | undefined;
|
|
11
11
|
loading: boolean;
|
|
12
12
|
item: Record<string, any> | undefined;
|
|
@@ -92,7 +92,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
92
92
|
type: PropType<{
|
|
93
93
|
settings: import("../types").SettingsSchema;
|
|
94
94
|
load: import("../../../..").AsyncAction<import("../factories/types").ItemId>;
|
|
95
|
-
saveChanges: import("../../../..").AsyncAction<Record<string, any>>;
|
|
95
|
+
saveChanges: import("../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
96
96
|
remove?: import("../../../..").AsyncAction<import("../factories/types").ItemId> | undefined;
|
|
97
97
|
loading: boolean;
|
|
98
98
|
item: Record<string, any> | undefined;
|
|
@@ -178,7 +178,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
178
178
|
context: {
|
|
179
179
|
settings: import("../types").SettingsSchema;
|
|
180
180
|
load: import("../../../..").AsyncAction<import("../factories/types").ItemId>;
|
|
181
|
-
saveChanges: import("../../../..").AsyncAction<Record<string, any>>;
|
|
181
|
+
saveChanges: import("../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
182
182
|
remove?: import("../../../..").AsyncAction<import("../factories/types").ItemId> | undefined;
|
|
183
183
|
loading: boolean;
|
|
184
184
|
item: Record<string, any> | undefined;
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
type: import("vue").PropType<{
|
|
17
17
|
settings: import("../../types").SettingsSchema;
|
|
18
18
|
load: import("../../../../..").AsyncAction<import("../..").ItemId>;
|
|
19
|
-
saveChanges: import("../../../../..").AsyncAction<Record<string, any>>;
|
|
19
|
+
saveChanges: import("../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
20
20
|
remove?: import("../../../../..").AsyncAction<import("../..").ItemId> | undefined;
|
|
21
21
|
loading: boolean;
|
|
22
22
|
item: Record<string, any> | undefined;
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
type: import("vue").PropType<{
|
|
17
17
|
settings: import("../../types").SettingsSchema;
|
|
18
18
|
load: import("../../../../..").AsyncAction<import("../..").ItemId>;
|
|
19
|
-
saveChanges: import("../../../../..").AsyncAction<Record<string, any>>;
|
|
19
|
+
saveChanges: import("../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
20
20
|
remove?: import("../../../../..").AsyncAction<import("../..").ItemId> | undefined;
|
|
21
21
|
loading: boolean;
|
|
22
22
|
item: Record<string, any> | undefined;
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
type: import("vue").PropType<{
|
|
17
17
|
settings: import("../../types").SettingsSchema;
|
|
18
18
|
load: import("../../../../..").AsyncAction<import("../..").ItemId>;
|
|
19
|
-
saveChanges: import("../../../../..").AsyncAction<Record<string, any>>;
|
|
19
|
+
saveChanges: import("../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
20
20
|
remove?: import("../../../../..").AsyncAction<import("../..").ItemId> | undefined;
|
|
21
21
|
loading: boolean;
|
|
22
22
|
item: Record<string, any> | undefined;
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
type: import("vue").PropType<{
|
|
17
17
|
settings: import("../../types").SettingsSchema;
|
|
18
18
|
load: import("../../../../..").AsyncAction<import("../..").ItemId>;
|
|
19
|
-
saveChanges: import("../../../../..").AsyncAction<Record<string, any>>;
|
|
19
|
+
saveChanges: import("../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
20
20
|
remove?: import("../../../../..").AsyncAction<import("../..").ItemId> | undefined;
|
|
21
21
|
loading: boolean;
|
|
22
22
|
item: Record<string, any> | undefined;
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
type: import("vue").PropType<{
|
|
17
17
|
settings: import("./../../types").SettingsSchema;
|
|
18
18
|
load: import("../../../../..").AsyncAction<import("../..").ItemId>;
|
|
19
|
-
saveChanges: import("../../../../..").AsyncAction<Record<string, any>>;
|
|
19
|
+
saveChanges: import("../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
20
20
|
remove?: import("../../../../..").AsyncAction<import("../..").ItemId> | undefined;
|
|
21
21
|
loading: boolean;
|
|
22
22
|
item: Record<string, any> | undefined;
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
type: import("vue").PropType<{
|
|
17
17
|
settings: import("../../types").SettingsSchema;
|
|
18
18
|
load: import("../../../../..").AsyncAction<import("../..").ItemId>;
|
|
19
|
-
saveChanges: import("../../../../..").AsyncAction<Record<string, any>>;
|
|
19
|
+
saveChanges: import("../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
20
20
|
remove?: import("../../../../..").AsyncAction<import("../..").ItemId> | undefined;
|
|
21
21
|
loading: boolean;
|
|
22
22
|
item: Record<string, any> | undefined;
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
type: import("vue").PropType<{
|
|
17
17
|
settings: import("../..").SettingsSchema;
|
|
18
18
|
load: import("../../../../..").AsyncAction<import("../..").ItemId>;
|
|
19
|
-
saveChanges: import("../../../../..").AsyncAction<Record<string, any>>;
|
|
19
|
+
saveChanges: import("../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
20
20
|
remove?: import("../../../../..").AsyncAction<import("../..").ItemId> | undefined;
|
|
21
21
|
loading: boolean;
|
|
22
22
|
item: Record<string, any> | undefined;
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
type: import("vue").PropType<{
|
|
17
17
|
settings: import("../../types").SettingsSchema;
|
|
18
18
|
load: import("../../../../..").AsyncAction<import("../..").ItemId>;
|
|
19
|
-
saveChanges: import("../../../../..").AsyncAction<Record<string, any>>;
|
|
19
|
+
saveChanges: import("../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
20
20
|
remove?: import("../../../../..").AsyncAction<import("../..").ItemId> | undefined;
|
|
21
21
|
loading: boolean;
|
|
22
22
|
item: Record<string, any> | undefined;
|
|
@@ -17,7 +17,7 @@ declare const _default: {
|
|
|
17
17
|
type: import("vue").PropType<{
|
|
18
18
|
settings: import("../../types").SettingsSchema;
|
|
19
19
|
load: import("../../../../..").AsyncAction<import("../..").ItemId>;
|
|
20
|
-
saveChanges: import("../../../../..").AsyncAction<Record<string, any>>;
|
|
20
|
+
saveChanges: import("../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
21
21
|
remove?: import("../../../../..").AsyncAction<import("../..").ItemId> | undefined;
|
|
22
22
|
loading: boolean;
|
|
23
23
|
item: Record<string, any> | undefined;
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
type: import("vue").PropType<{
|
|
17
17
|
settings: import("../../types").SettingsSchema;
|
|
18
18
|
load: import("../../../../..").AsyncAction<import("../..").ItemId>;
|
|
19
|
-
saveChanges: import("../../../../..").AsyncAction<Record<string, any>>;
|
|
19
|
+
saveChanges: import("../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
20
20
|
remove?: import("../../../../..").AsyncAction<import("../..").ItemId> | undefined;
|
|
21
21
|
loading: boolean;
|
|
22
22
|
item: Record<string, any> | undefined;
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
type: import("vue").PropType<{
|
|
17
17
|
settings: import("../../types").SettingsSchema;
|
|
18
18
|
load: import("../../../../..").AsyncAction<import("../..").ItemId>;
|
|
19
|
-
saveChanges: import("../../../../..").AsyncAction<Record<string, any>>;
|
|
19
|
+
saveChanges: import("../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
20
20
|
remove?: import("../../../../..").AsyncAction<import("../..").ItemId> | undefined;
|
|
21
21
|
loading: boolean;
|
|
22
22
|
item: Record<string, any> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputCurrency.d.ts","sourceRoot":"","sources":["../../../../../../shared/modules/dynamic/components/fields/InputCurrency.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,gBAAgB,EAAY,MAAM,KAAK,CAAC;AAE5D,OAAO,cAAc,MAAM,SAAS,CAAC;AAIrC,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"InputCurrency.d.ts","sourceRoot":"","sources":["../../../../../../shared/modules/dynamic/components/fields/InputCurrency.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,gBAAgB,EAAY,MAAM,KAAK,CAAC;AAE5D,OAAO,cAAc,MAAM,SAAS,CAAC;AAIrC,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOnC,iBAAiB,qBAAqB,CAAC,GAAG;QAAE,OAAO,EAAE,mBAAmB,CAAA;KAAE;;;;AAHzF,wBA+CE"}
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
type: import("vue").PropType<{
|
|
17
17
|
settings: import("../../types").SettingsSchema;
|
|
18
18
|
load: import("../../../../..").AsyncAction<import("../..").ItemId>;
|
|
19
|
-
saveChanges: import("../../../../..").AsyncAction<Record<string, any>>;
|
|
19
|
+
saveChanges: import("../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
20
20
|
remove?: import("../../../../..").AsyncAction<import("../..").ItemId> | undefined;
|
|
21
21
|
loading: boolean;
|
|
22
22
|
item: Record<string, any> | undefined;
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
type: import("vue").PropType<{
|
|
17
17
|
settings: import("../../types").SettingsSchema;
|
|
18
18
|
load: import("../../../../..").AsyncAction<import("../..").ItemId>;
|
|
19
|
-
saveChanges: import("../../../../..").AsyncAction<Record<string, any>>;
|
|
19
|
+
saveChanges: import("../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
20
20
|
remove?: import("../../../../..").AsyncAction<import("../..").ItemId> | undefined;
|
|
21
21
|
loading: boolean;
|
|
22
22
|
item: Record<string, any> | undefined;
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
type: import("vue").PropType<{
|
|
17
17
|
settings: import("../../types").SettingsSchema;
|
|
18
18
|
load: import("../../../../..").AsyncAction<import("../..").ItemId>;
|
|
19
|
-
saveChanges: import("../../../../..").AsyncAction<Record<string, any>>;
|
|
19
|
+
saveChanges: import("../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
20
20
|
remove?: import("../../../../..").AsyncAction<import("../..").ItemId> | undefined;
|
|
21
21
|
loading: boolean;
|
|
22
22
|
item: Record<string, any> | undefined;
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
type: import("vue").PropType<{
|
|
17
17
|
settings: import("../../types").SettingsSchema;
|
|
18
18
|
load: import("../../../../..").AsyncAction<import("../..").ItemId>;
|
|
19
|
-
saveChanges: import("../../../../..").AsyncAction<Record<string, any>>;
|
|
19
|
+
saveChanges: import("../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
20
20
|
remove?: import("../../../../..").AsyncAction<import("../..").ItemId> | undefined;
|
|
21
21
|
loading: boolean;
|
|
22
22
|
item: Record<string, any> | undefined;
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
type: import("vue").PropType<{
|
|
17
17
|
settings: import("../../types").SettingsSchema;
|
|
18
18
|
load: import("../../../../..").AsyncAction<import("../..").ItemId>;
|
|
19
|
-
saveChanges: import("../../../../..").AsyncAction<Record<string, any>>;
|
|
19
|
+
saveChanges: import("../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
20
20
|
remove?: import("../../../../..").AsyncAction<import("../..").ItemId> | undefined;
|
|
21
21
|
loading: boolean;
|
|
22
22
|
item: Record<string, any> | undefined;
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
type: import("vue").PropType<{
|
|
17
17
|
settings: import("../../types").SettingsSchema;
|
|
18
18
|
load: import("../../../../..").AsyncAction<import("../..").ItemId>;
|
|
19
|
-
saveChanges: import("../../../../..").AsyncAction<Record<string, any>>;
|
|
19
|
+
saveChanges: import("../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
20
20
|
remove?: import("../../../../..").AsyncAction<import("../..").ItemId> | undefined;
|
|
21
21
|
loading: boolean;
|
|
22
22
|
item: Record<string, any> | undefined;
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
type: import("vue").PropType<{
|
|
17
17
|
settings: import("../../types").SettingsSchema;
|
|
18
18
|
load: import("../../../../..").AsyncAction<import("../..").ItemId>;
|
|
19
|
-
saveChanges: import("../../../../..").AsyncAction<Record<string, any>>;
|
|
19
|
+
saveChanges: import("../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
20
20
|
remove?: import("../../../../..").AsyncAction<import("../..").ItemId> | undefined;
|
|
21
21
|
loading: boolean;
|
|
22
22
|
item: Record<string, any> | undefined;
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
type: import("vue").PropType<{
|
|
17
17
|
settings: import("./../../types/index").SettingsSchema;
|
|
18
18
|
load: import("../../../../..").AsyncAction<import("../..").ItemId>;
|
|
19
|
-
saveChanges: import("../../../../..").AsyncAction<Record<string, any>>;
|
|
19
|
+
saveChanges: import("../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
20
20
|
remove?: import("../../../../..").AsyncAction<import("../..").ItemId> | undefined;
|
|
21
21
|
loading: boolean;
|
|
22
22
|
item: Record<string, any> | undefined;
|
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
type: import("vue").PropType<{
|
|
17
17
|
settings: import("../../types").SettingsSchema;
|
|
18
18
|
load: import("../../../../..").AsyncAction<import("../..").ItemId>;
|
|
19
|
-
saveChanges: import("../../../../..").AsyncAction<Record<string, any>>;
|
|
19
|
+
saveChanges: import("../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
20
20
|
remove?: import("../../../../..").AsyncAction<import("../..").ItemId> | undefined;
|
|
21
21
|
loading: boolean;
|
|
22
22
|
item: Record<string, any> | undefined;
|
|
@@ -15,7 +15,7 @@ declare const _default: {
|
|
|
15
15
|
type: PropType<{
|
|
16
16
|
settings: import("../../types").SettingsSchema;
|
|
17
17
|
load: import("../../../../..").AsyncAction<import("../../factories").ItemId>;
|
|
18
|
-
saveChanges: import("../../../../..").AsyncAction<Record<string, any>>;
|
|
18
|
+
saveChanges: import("../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
19
19
|
remove?: import("../../../../..").AsyncAction<import("../../factories").ItemId> | undefined;
|
|
20
20
|
loading: boolean;
|
|
21
21
|
item: Record<string, any> | undefined;
|
|
@@ -7,7 +7,7 @@ declare const _default: {
|
|
|
7
7
|
type: import("vue").PropType<{
|
|
8
8
|
settings: import("../../..").SettingsSchema;
|
|
9
9
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
10
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
10
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
11
11
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
12
12
|
loading: boolean;
|
|
13
13
|
item: Record<string, any> | undefined;
|
|
@@ -88,7 +88,7 @@ declare const _default: {
|
|
|
88
88
|
type: import("vue").PropType<{
|
|
89
89
|
settings: import("../../..").SettingsSchema;
|
|
90
90
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
91
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
91
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
92
92
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
93
93
|
loading: boolean;
|
|
94
94
|
item: Record<string, any> | undefined;
|
|
@@ -168,7 +168,7 @@ declare const _default: {
|
|
|
168
168
|
context: {
|
|
169
169
|
settings: import("../../..").SettingsSchema;
|
|
170
170
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
171
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
171
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
172
172
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
173
173
|
loading: boolean;
|
|
174
174
|
item: Record<string, any> | undefined;
|
|
@@ -7,7 +7,7 @@ declare const _default: {
|
|
|
7
7
|
type: import("vue").PropType<{
|
|
8
8
|
settings: import("../../..").SettingsSchema;
|
|
9
9
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
10
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
10
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
11
11
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
12
12
|
loading: boolean;
|
|
13
13
|
item: Record<string, any> | undefined;
|
|
@@ -88,7 +88,7 @@ declare const _default: {
|
|
|
88
88
|
type: import("vue").PropType<{
|
|
89
89
|
settings: import("../../..").SettingsSchema;
|
|
90
90
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
91
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
91
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
92
92
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
93
93
|
loading: boolean;
|
|
94
94
|
item: Record<string, any> | undefined;
|
|
@@ -168,7 +168,7 @@ declare const _default: {
|
|
|
168
168
|
context: {
|
|
169
169
|
settings: import("../../..").SettingsSchema;
|
|
170
170
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
171
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
171
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
172
172
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
173
173
|
loading: boolean;
|
|
174
174
|
item: Record<string, any> | undefined;
|
|
@@ -7,7 +7,7 @@ declare const _default: {
|
|
|
7
7
|
type: import("vue").PropType<{
|
|
8
8
|
settings: import("../../..").SettingsSchema;
|
|
9
9
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
10
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
10
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
11
11
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
12
12
|
loading: boolean;
|
|
13
13
|
item: Record<string, any> | undefined;
|
|
@@ -88,7 +88,7 @@ declare const _default: {
|
|
|
88
88
|
type: import("vue").PropType<{
|
|
89
89
|
settings: import("../../..").SettingsSchema;
|
|
90
90
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
91
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
91
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
92
92
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
93
93
|
loading: boolean;
|
|
94
94
|
item: Record<string, any> | undefined;
|
|
@@ -168,7 +168,7 @@ declare const _default: {
|
|
|
168
168
|
context: {
|
|
169
169
|
settings: import("../../..").SettingsSchema;
|
|
170
170
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
171
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
171
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
172
172
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
173
173
|
loading: boolean;
|
|
174
174
|
item: Record<string, any> | undefined;
|
|
@@ -7,7 +7,7 @@ declare const _default: {
|
|
|
7
7
|
type: import("vue").PropType<{
|
|
8
8
|
settings: import("../../..").SettingsSchema;
|
|
9
9
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
10
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
10
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
11
11
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
12
12
|
loading: boolean;
|
|
13
13
|
item: Record<string, any> | undefined;
|
|
@@ -88,7 +88,7 @@ declare const _default: {
|
|
|
88
88
|
type: import("vue").PropType<{
|
|
89
89
|
settings: import("../../..").SettingsSchema;
|
|
90
90
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
91
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
91
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
92
92
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
93
93
|
loading: boolean;
|
|
94
94
|
item: Record<string, any> | undefined;
|
|
@@ -168,7 +168,7 @@ declare const _default: {
|
|
|
168
168
|
context: {
|
|
169
169
|
settings: import("../../..").SettingsSchema;
|
|
170
170
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
171
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
171
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
172
172
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
173
173
|
loading: boolean;
|
|
174
174
|
item: Record<string, any> | undefined;
|
|
@@ -7,7 +7,7 @@ declare const _default: {
|
|
|
7
7
|
type: import("vue").PropType<{
|
|
8
8
|
settings: import("../../..").SettingsSchema;
|
|
9
9
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
10
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
10
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
11
11
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
12
12
|
loading: boolean;
|
|
13
13
|
item: Record<string, any> | undefined;
|
|
@@ -88,7 +88,7 @@ declare const _default: {
|
|
|
88
88
|
type: import("vue").PropType<{
|
|
89
89
|
settings: import("../../..").SettingsSchema;
|
|
90
90
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
91
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
91
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
92
92
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
93
93
|
loading: boolean;
|
|
94
94
|
item: Record<string, any> | undefined;
|
|
@@ -168,7 +168,7 @@ declare const _default: {
|
|
|
168
168
|
context: {
|
|
169
169
|
settings: import("../../..").SettingsSchema;
|
|
170
170
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
171
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
171
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
172
172
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
173
173
|
loading: boolean;
|
|
174
174
|
item: Record<string, any> | undefined;
|
|
@@ -7,7 +7,7 @@ declare const _default: {
|
|
|
7
7
|
type: import("vue").PropType<{
|
|
8
8
|
settings: import("../../../types").SettingsSchema;
|
|
9
9
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
10
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
10
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
11
11
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
12
12
|
loading: boolean;
|
|
13
13
|
item: Record<string, any> | undefined;
|
|
@@ -88,7 +88,7 @@ declare const _default: {
|
|
|
88
88
|
type: import("vue").PropType<{
|
|
89
89
|
settings: import("../../../types").SettingsSchema;
|
|
90
90
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
91
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
91
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
92
92
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
93
93
|
loading: boolean;
|
|
94
94
|
item: Record<string, any> | undefined;
|
|
@@ -168,7 +168,7 @@ declare const _default: {
|
|
|
168
168
|
context: {
|
|
169
169
|
settings: import("../../../types").SettingsSchema;
|
|
170
170
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
171
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
171
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
172
172
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
173
173
|
loading: boolean;
|
|
174
174
|
item: Record<string, any> | undefined;
|
|
@@ -8,7 +8,7 @@ declare const _default: {
|
|
|
8
8
|
type: import("vue").PropType<{
|
|
9
9
|
settings: import("../../..").SettingsSchema;
|
|
10
10
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
11
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
11
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
12
12
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
13
13
|
loading: boolean;
|
|
14
14
|
item: Record<string, any> | undefined;
|
|
@@ -89,7 +89,7 @@ declare const _default: {
|
|
|
89
89
|
type: import("vue").PropType<{
|
|
90
90
|
settings: import("../../..").SettingsSchema;
|
|
91
91
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
92
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
92
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
93
93
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
94
94
|
loading: boolean;
|
|
95
95
|
item: Record<string, any> | undefined;
|
|
@@ -169,7 +169,7 @@ declare const _default: {
|
|
|
169
169
|
context: {
|
|
170
170
|
settings: import("../../..").SettingsSchema;
|
|
171
171
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
172
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
172
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
173
173
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
174
174
|
loading: boolean;
|
|
175
175
|
item: Record<string, any> | undefined;
|
|
@@ -7,7 +7,7 @@ declare const _default: {
|
|
|
7
7
|
type: import("vue").PropType<{
|
|
8
8
|
settings: import("../../..").SettingsSchema;
|
|
9
9
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
10
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
10
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
11
11
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
12
12
|
loading: boolean;
|
|
13
13
|
item: Record<string, any> | undefined;
|
|
@@ -88,7 +88,7 @@ declare const _default: {
|
|
|
88
88
|
type: import("vue").PropType<{
|
|
89
89
|
settings: import("../../..").SettingsSchema;
|
|
90
90
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
91
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
91
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
92
92
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
93
93
|
loading: boolean;
|
|
94
94
|
item: Record<string, any> | undefined;
|
|
@@ -168,7 +168,7 @@ declare const _default: {
|
|
|
168
168
|
context: {
|
|
169
169
|
settings: import("../../..").SettingsSchema;
|
|
170
170
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
171
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
171
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
172
172
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
173
173
|
loading: boolean;
|
|
174
174
|
item: Record<string, any> | undefined;
|
|
@@ -7,7 +7,7 @@ declare const _default: {
|
|
|
7
7
|
type: import("vue").PropType<{
|
|
8
8
|
settings: import("../../..").SettingsSchema;
|
|
9
9
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
10
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
10
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
11
11
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
12
12
|
loading: boolean;
|
|
13
13
|
item: Record<string, any> | undefined;
|
|
@@ -88,7 +88,7 @@ declare const _default: {
|
|
|
88
88
|
type: import("vue").PropType<{
|
|
89
89
|
settings: import("../../..").SettingsSchema;
|
|
90
90
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
91
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
91
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
92
92
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
93
93
|
loading: boolean;
|
|
94
94
|
item: Record<string, any> | undefined;
|
|
@@ -168,7 +168,7 @@ declare const _default: {
|
|
|
168
168
|
context: {
|
|
169
169
|
settings: import("../../..").SettingsSchema;
|
|
170
170
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
171
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
171
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
172
172
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
173
173
|
loading: boolean;
|
|
174
174
|
item: Record<string, any> | undefined;
|
|
@@ -7,7 +7,7 @@ declare const _default: {
|
|
|
7
7
|
type: import("vue").PropType<{
|
|
8
8
|
settings: import("../../..").SettingsSchema;
|
|
9
9
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
10
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
10
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
11
11
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
12
12
|
loading: boolean;
|
|
13
13
|
item: Record<string, any> | undefined;
|
|
@@ -88,7 +88,7 @@ declare const _default: {
|
|
|
88
88
|
type: import("vue").PropType<{
|
|
89
89
|
settings: import("../../..").SettingsSchema;
|
|
90
90
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
91
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
91
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
92
92
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
93
93
|
loading: boolean;
|
|
94
94
|
item: Record<string, any> | undefined;
|
|
@@ -168,7 +168,7 @@ declare const _default: {
|
|
|
168
168
|
context: {
|
|
169
169
|
settings: import("../../..").SettingsSchema;
|
|
170
170
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
171
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
171
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
172
172
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
173
173
|
loading: boolean;
|
|
174
174
|
item: Record<string, any> | undefined;
|
package/dist/shared/modules/dynamic/components/fields/storybook/MultivalueField.stories.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ declare const _default: {
|
|
|
7
7
|
type: import("vue").PropType<{
|
|
8
8
|
settings: import("../../..").SettingsSchema;
|
|
9
9
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
10
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
10
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
11
11
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
12
12
|
loading: boolean;
|
|
13
13
|
item: Record<string, any> | undefined;
|
|
@@ -88,7 +88,7 @@ declare const _default: {
|
|
|
88
88
|
type: import("vue").PropType<{
|
|
89
89
|
settings: import("../../..").SettingsSchema;
|
|
90
90
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
91
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
91
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
92
92
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
93
93
|
loading: boolean;
|
|
94
94
|
item: Record<string, any> | undefined;
|
|
@@ -168,7 +168,7 @@ declare const _default: {
|
|
|
168
168
|
context: {
|
|
169
169
|
settings: import("../../..").SettingsSchema;
|
|
170
170
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
171
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
171
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
172
172
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
173
173
|
loading: boolean;
|
|
174
174
|
item: Record<string, any> | undefined;
|
|
@@ -7,7 +7,7 @@ declare const _default: {
|
|
|
7
7
|
type: import("vue").PropType<{
|
|
8
8
|
settings: import("../../..").SettingsSchema;
|
|
9
9
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
10
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
10
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
11
11
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
12
12
|
loading: boolean;
|
|
13
13
|
item: Record<string, any> | undefined;
|
|
@@ -88,7 +88,7 @@ declare const _default: {
|
|
|
88
88
|
type: import("vue").PropType<{
|
|
89
89
|
settings: import("../../..").SettingsSchema;
|
|
90
90
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
91
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
91
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
92
92
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
93
93
|
loading: boolean;
|
|
94
94
|
item: Record<string, any> | undefined;
|
|
@@ -168,7 +168,7 @@ declare const _default: {
|
|
|
168
168
|
context: {
|
|
169
169
|
settings: import("../../..").SettingsSchema;
|
|
170
170
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
171
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
171
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
172
172
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
173
173
|
loading: boolean;
|
|
174
174
|
item: Record<string, any> | undefined;
|
|
@@ -7,7 +7,7 @@ declare const _default: {
|
|
|
7
7
|
type: import("vue").PropType<{
|
|
8
8
|
settings: import("../../..").SettingsSchema;
|
|
9
9
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
10
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
10
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
11
11
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
12
12
|
loading: boolean;
|
|
13
13
|
item: Record<string, any> | undefined;
|
|
@@ -88,7 +88,7 @@ declare const _default: {
|
|
|
88
88
|
type: import("vue").PropType<{
|
|
89
89
|
settings: import("../../..").SettingsSchema;
|
|
90
90
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
91
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
91
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
92
92
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
93
93
|
loading: boolean;
|
|
94
94
|
item: Record<string, any> | undefined;
|
|
@@ -168,7 +168,7 @@ declare const _default: {
|
|
|
168
168
|
context: {
|
|
169
169
|
settings: import("../../..").SettingsSchema;
|
|
170
170
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
171
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
171
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
172
172
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
173
173
|
loading: boolean;
|
|
174
174
|
item: Record<string, any> | undefined;
|
|
@@ -7,7 +7,7 @@ declare const _default: {
|
|
|
7
7
|
type: import("vue").PropType<{
|
|
8
8
|
settings: import("../../..").SettingsSchema;
|
|
9
9
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
10
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
10
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
11
11
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
12
12
|
loading: boolean;
|
|
13
13
|
item: Record<string, any> | undefined;
|
|
@@ -88,7 +88,7 @@ declare const _default: {
|
|
|
88
88
|
type: import("vue").PropType<{
|
|
89
89
|
settings: import("../../..").SettingsSchema;
|
|
90
90
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
91
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
91
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
92
92
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
93
93
|
loading: boolean;
|
|
94
94
|
item: Record<string, any> | undefined;
|
|
@@ -168,7 +168,7 @@ declare const _default: {
|
|
|
168
168
|
context: {
|
|
169
169
|
settings: import("../../..").SettingsSchema;
|
|
170
170
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
171
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
171
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
172
172
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
173
173
|
loading: boolean;
|
|
174
174
|
item: Record<string, any> | undefined;
|
|
@@ -7,7 +7,7 @@ declare const _default: {
|
|
|
7
7
|
type: import("vue").PropType<{
|
|
8
8
|
settings: import("../../..").SettingsSchema;
|
|
9
9
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
10
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
10
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
11
11
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
12
12
|
loading: boolean;
|
|
13
13
|
item: Record<string, any> | undefined;
|
|
@@ -88,7 +88,7 @@ declare const _default: {
|
|
|
88
88
|
type: import("vue").PropType<{
|
|
89
89
|
settings: import("../../..").SettingsSchema;
|
|
90
90
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
91
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
91
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
92
92
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
93
93
|
loading: boolean;
|
|
94
94
|
item: Record<string, any> | undefined;
|
|
@@ -168,7 +168,7 @@ declare const _default: {
|
|
|
168
168
|
context: {
|
|
169
169
|
settings: import("../../..").SettingsSchema;
|
|
170
170
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
171
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
171
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
172
172
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
173
173
|
loading: boolean;
|
|
174
174
|
item: Record<string, any> | undefined;
|
|
@@ -7,7 +7,7 @@ declare const _default: {
|
|
|
7
7
|
type: import("vue").PropType<{
|
|
8
8
|
settings: import("../../..").SettingsSchema;
|
|
9
9
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
10
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
10
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
11
11
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
12
12
|
loading: boolean;
|
|
13
13
|
item: Record<string, any> | undefined;
|
|
@@ -88,7 +88,7 @@ declare const _default: {
|
|
|
88
88
|
type: import("vue").PropType<{
|
|
89
89
|
settings: import("../../..").SettingsSchema;
|
|
90
90
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
91
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
91
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
92
92
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
93
93
|
loading: boolean;
|
|
94
94
|
item: Record<string, any> | undefined;
|
|
@@ -168,7 +168,7 @@ declare const _default: {
|
|
|
168
168
|
context: {
|
|
169
169
|
settings: import("../../..").SettingsSchema;
|
|
170
170
|
load: import("../../../../../..").AsyncAction<import("../../..").ItemId>;
|
|
171
|
-
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>>;
|
|
171
|
+
saveChanges: import("../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
172
172
|
remove?: import("../../../../../..").AsyncAction<import("../../..").ItemId> | undefined;
|
|
173
173
|
loading: boolean;
|
|
174
174
|
item: Record<string, any> | undefined;
|
|
@@ -5,7 +5,7 @@ declare const _default: DefineComponent<{
|
|
|
5
5
|
type: PropType<{
|
|
6
6
|
settings: import("../../../..").SettingsSchema;
|
|
7
7
|
load: import("../../../../../../..").AsyncAction<import("../../../..").ItemId>;
|
|
8
|
-
saveChanges: import("../../../../../../..").AsyncAction<Record<string, any>>;
|
|
8
|
+
saveChanges: import("../../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
9
9
|
remove?: import("../../../../../../..").AsyncAction<import("../../../..").ItemId> | undefined;
|
|
10
10
|
loading: boolean;
|
|
11
11
|
item: Record<string, any> | undefined;
|
|
@@ -86,7 +86,7 @@ declare const _default: DefineComponent<{
|
|
|
86
86
|
type: PropType<{
|
|
87
87
|
settings: import("../../../..").SettingsSchema;
|
|
88
88
|
load: import("../../../../../../..").AsyncAction<import("../../../..").ItemId>;
|
|
89
|
-
saveChanges: import("../../../../../../..").AsyncAction<Record<string, any>>;
|
|
89
|
+
saveChanges: import("../../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
90
90
|
remove?: import("../../../../../../..").AsyncAction<import("../../../..").ItemId> | undefined;
|
|
91
91
|
loading: boolean;
|
|
92
92
|
item: Record<string, any> | undefined;
|
|
@@ -166,7 +166,7 @@ declare const _default: DefineComponent<{
|
|
|
166
166
|
context: {
|
|
167
167
|
settings: import("../../../..").SettingsSchema;
|
|
168
168
|
load: import("../../../../../../..").AsyncAction<import("../../../..").ItemId>;
|
|
169
|
-
saveChanges: import("../../../../../../..").AsyncAction<Record<string, any>>;
|
|
169
|
+
saveChanges: import("../../../../../../..").AsyncAction<Record<string, any>, void | Record<string, any>>;
|
|
170
170
|
remove?: import("../../../../../../..").AsyncAction<import("../../../..").ItemId> | undefined;
|
|
171
171
|
loading: boolean;
|
|
172
172
|
item: Record<string, any> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDetailsFactory.d.ts","sourceRoot":"","sources":["../../../../../../shared/modules/dynamic/factories/base/useDetailsFactory.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAoB,UAAU,EAAE,MAAM,UAAU,CAAC;AAGrE,MAAM,WAAW,uBAAuB,CAAC,IAAI;IAC3C,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,GAAG,SAAS,CAAC,CAAC;IACnD,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,KAAK,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC;IACtD,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1C;AAED,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"useDetailsFactory.d.ts","sourceRoot":"","sources":["../../../../../../shared/modules/dynamic/factories/base/useDetailsFactory.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAoB,UAAU,EAAE,MAAM,UAAU,CAAC;AAGrE,MAAM,WAAW,uBAAuB,CAAC,IAAI;IAC3C,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,GAAG,SAAS,CAAC,CAAC;IACnD,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,KAAK,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC;IACtD,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1C;AAED,eAAO,MAAM,iBAAiB,0HA4E7B,CAAC"}
|
|
@@ -35,7 +35,7 @@ export type CustomQuery = {
|
|
|
35
35
|
};
|
|
36
36
|
export interface UseDetails<Item, Scope extends DetailsBaseBladeScope = DetailsBaseBladeScope> {
|
|
37
37
|
load: AsyncAction<ItemId>;
|
|
38
|
-
saveChanges: AsyncAction<Item>;
|
|
38
|
+
saveChanges: AsyncAction<Item, Item | void>;
|
|
39
39
|
remove?: AsyncAction<ItemId>;
|
|
40
40
|
loading: ComputedRef<boolean>;
|
|
41
41
|
item: Ref<Item | undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../shared/modules/dynamic/factories/types/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAC;AACnE,OAAO,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ACpC;AAED,MAAM,WAAW,gBAAgB;IAC/B,uBAAuB,EAAE,MAAM,IAAI,CAAC;IACpC,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;CAClC;AAED,MAAM,MAAM,gBAAgB,CAAC,KAAK,SAAS,kBAAkB,IAAI,gBAAgB,GAAG;IAClF,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,CAAC;IAC/B,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,CAAC,QAAQ,EAAE,YAAY,CAAC;CACjC,GAAG,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAE5B,MAAM,MAAM,mBAAmB,CAAC,KAAK,SAAS,qBAAqB,IAAI,gBAAgB,GAAG;IACxF,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAAC;CACpC,GAAG,gBAAgB,CAAC,KAAK,CAAC,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.201",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/framework.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -59,9 +59,9 @@
|
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/dompurify": "^3.0.5",
|
|
61
61
|
"@types/quill": "^2.0.14",
|
|
62
|
-
"@vc-shell/api-client-generator": "^1.0.
|
|
63
|
-
"@vc-shell/config-generator": "^1.0.
|
|
64
|
-
"@vc-shell/ts-config": "^1.0.
|
|
62
|
+
"@vc-shell/api-client-generator": "^1.0.201",
|
|
63
|
+
"@vc-shell/config-generator": "^1.0.201",
|
|
64
|
+
"@vc-shell/ts-config": "^1.0.201",
|
|
65
65
|
"@vitejs/plugin-vue": "^5.0.3",
|
|
66
66
|
"sass": "^1.69.6",
|
|
67
67
|
"shx": "^0.3.4",
|
|
@@ -8,7 +8,6 @@ import { InputCurrencySchema } from "../../types";
|
|
|
8
8
|
import { unrefNested } from "../../helpers/unrefNested";
|
|
9
9
|
import { toValue } from "@vueuse/core";
|
|
10
10
|
|
|
11
|
-
// TODO fix disabling when blades is disabled
|
|
12
11
|
export default {
|
|
13
12
|
name: "InputCurrency",
|
|
14
13
|
props: componentProps,
|
|
@@ -34,10 +34,10 @@ export default {
|
|
|
34
34
|
variant: {
|
|
35
35
|
description: "Field variant.",
|
|
36
36
|
control: "radio",
|
|
37
|
-
options: ["number", "text", "password", "email", "tel", "url", "time", "date", "datetime-local"],
|
|
37
|
+
options: ["number", "integer", "text", "password", "email", "tel", "url", "time", "date", "datetime-local"],
|
|
38
38
|
table: {
|
|
39
39
|
type: {
|
|
40
|
-
summary: "number | text | password | email | tel | url | time | date | datetime-local",
|
|
40
|
+
summary: "number | integer | text | password | email | tel | url | time | date | datetime-local",
|
|
41
41
|
},
|
|
42
42
|
defaultValue: {
|
|
43
43
|
summary: "text",
|
|
@@ -106,10 +106,10 @@ export default {
|
|
|
106
106
|
variant: {
|
|
107
107
|
description: "Multivalue type",
|
|
108
108
|
control: "radio",
|
|
109
|
-
options: ["number", "text"],
|
|
109
|
+
options: ["number", "integer", "text"],
|
|
110
110
|
table: {
|
|
111
111
|
type: {
|
|
112
|
-
summary: "number | text",
|
|
112
|
+
summary: "number | integer | text",
|
|
113
113
|
},
|
|
114
114
|
defaultValue: {
|
|
115
115
|
summary: "text",
|
|
@@ -28,12 +28,13 @@ export const useDetailsFactory = <Item>(factoryParams: UseDetailsFactoryParams<I
|
|
|
28
28
|
item.value && resetModified(item.value);
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
const { loading: manageLoading, action: saveChanges } = useAsync<Item>(async (item) => {
|
|
31
|
+
const { loading: manageLoading, action: saveChanges } = useAsync<Item, Item | undefined>(async (item) => {
|
|
32
32
|
if (validationState.value.valid) {
|
|
33
|
-
await factoryParams.saveChanges?.(item as Item);
|
|
33
|
+
const res = await factoryParams.saveChanges?.(item as Item);
|
|
34
34
|
isModified.value = false;
|
|
35
35
|
isDirty = ref(false);
|
|
36
|
-
|
|
36
|
+
|
|
37
|
+
if (res) return res;
|
|
37
38
|
} else throw new Error("Form is not valid");
|
|
38
39
|
});
|
|
39
40
|
|
|
@@ -39,7 +39,7 @@ export type CustomQuery = { ids: string[] | null; allSelected?: boolean };
|
|
|
39
39
|
|
|
40
40
|
export interface UseDetails<Item, Scope extends DetailsBaseBladeScope = DetailsBaseBladeScope> {
|
|
41
41
|
load: AsyncAction<ItemId>;
|
|
42
|
-
saveChanges: AsyncAction<Item>;
|
|
42
|
+
saveChanges: AsyncAction<Item, Item | void>;
|
|
43
43
|
remove?: AsyncAction<ItemId>;
|
|
44
44
|
loading: ComputedRef<boolean>;
|
|
45
45
|
item: Ref<Item | undefined>;
|