@vc-shell/framework 1.0.292 → 1.0.293

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,7 @@
1
+ ## [1.0.293](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.290...v1.0.293) (2024-09-23)
2
+
3
+
4
+
1
5
  ## [1.0.292](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.291...v1.0.292) (2024-09-23)
2
6
 
3
7
 
package/dist/framework.js CHANGED
@@ -65218,6 +65218,7 @@ const YCe = (t) => function() {
65218
65218
  images: n.images,
65219
65219
  index: f.value
65220
65220
  }
65221
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
65221
65222
  }))
65222
65223
  );
65223
65224
  ot(
@@ -65313,7 +65314,7 @@ const YCe = (t) => function() {
65313
65314
  key: "0"
65314
65315
  } : void 0
65315
65316
  ]), 1032, ["required"])) : ue("", !0),
65316
- s.value && s.value.length || !w.disabled ? (F(), X("div", m2e, [
65317
+ ze(s.value) && ze(s.value).length || !w.disabled ? (F(), X("div", m2e, [
65317
65318
  re("div", {
65318
65319
  ref_key: "galleryRef",
65319
65320
  ref: c,
@@ -5,72 +5,12 @@ declare const _default: import("vue").DefineComponent<{
5
5
  context: {
6
6
  settings: import("../types").SettingsSchema;
7
7
  load: import("../../../../core/composables").AsyncAction<import("../factories/types").ItemId>;
8
- saveChanges: import("../../../../core/composables").AsyncAction<Record<string, any>, void | Record<string, any>>;
9
- remove?: import("../../../../core/composables").AsyncAction<Record<string, any> | import("../factories/types").ItemId> | undefined;
8
+ saveChanges: import("../../../../core/composables").AsyncAction<any, any>;
9
+ remove?: import("../../../../core/composables").AsyncAction<any> | undefined;
10
10
  loading: boolean;
11
- item: Record<string, any> | undefined;
12
- validationState: import("../factories/types").IValidationState<Record<string, any>>;
13
- scope?: {
14
- [x: string]: any;
15
- disabled?: boolean | undefined;
16
- multilanguage?: {
17
- loading: boolean;
18
- currentLocale: string;
19
- languages: string[];
20
- setLocale: (locale: string) => void;
21
- localesOptions: {
22
- label: string | undefined;
23
- value: string;
24
- }[];
25
- getLanguages: import("../../../../core/composables").AsyncAction<void, void>;
26
- } | undefined;
27
- dynamicProperties?: {
28
- loading: boolean;
29
- loadDictionaries: (propertyId: string, keyword?: string | undefined, locale?: string | undefined) => Promise<Record<string, any>[] | undefined>;
30
- getPropertyValue: (property: Record<string, any>, locale: string) => any;
31
- setPropertyValue: (data: {
32
- property: Record<string, any>;
33
- value: string | Record<string, any>[];
34
- dictionary?: Record<string, any>[] | undefined;
35
- locale?: string | undefined;
36
- }) => void;
37
- } | undefined;
38
- assetsHandler?: {
39
- assets?: {
40
- noRemoveConfirmation?: boolean | undefined;
41
- loading?: boolean | undefined;
42
- upload?: ((files: FileList, startingSortOrder?: number | undefined) => Promise<import("../../../..").ICommonAsset[]>) | undefined;
43
- edit?: ((files: import("../../../..").ICommonAsset[]) => import("../../../..").ICommonAsset[]) | undefined;
44
- remove?: ((files: import("../../../..").ICommonAsset[]) => import("../../../..").ICommonAsset[]) | undefined;
45
- } | undefined;
46
- images?: {
47
- noRemoveConfirmation?: boolean | undefined;
48
- loading?: boolean | undefined;
49
- upload?: ((files: FileList, startingSortOrder?: number | undefined) => Promise<import("../../../..").ICommonAsset[]>) | undefined;
50
- edit?: ((files: import("../../../..").ICommonAsset[]) => import("../../../..").ICommonAsset[]) | undefined;
51
- remove?: ((files: import("../../../..").ICommonAsset[]) => import("../../../..").ICommonAsset[]) | undefined;
52
- } | undefined;
53
- } | undefined;
54
- selection?: Record<string, any>[] | undefined;
55
- toolbarOverrides?: import("../../../..").IBladeToolbar[] | {
56
- id?: string | undefined;
57
- icon?: string | (() => string) | undefined;
58
- disabled?: boolean | undefined;
59
- dropdownItems?: {
60
- id: string;
61
- title: string;
62
- icon?: string | undefined;
63
- clickHandler?: (() => void) | undefined;
64
- }[] | undefined;
65
- title?: string | undefined;
66
- isVisible?: boolean | undefined;
67
- clickHandler?: ((app?: Record<string, any> | import("../../..").CoreBladeExposed | null | undefined) => void) | undefined;
68
- separator?: "right" | "left" | "both" | undefined;
69
- permissions?: string | string[] | undefined;
70
- }[] | {
71
- [x: string]: import("vue").MaybeRef<import("../../../..").IBladeToolbar[]> | import("vue").MaybeRef<import("../../../..").IBladeToolbar>;
72
- } | ((...args: any[]) => any) | undefined;
73
- } | undefined;
11
+ item: any;
12
+ validationState: import("../factories/types").IValidationState<any>;
13
+ scope?: any;
74
14
  bladeTitle?: string | undefined;
75
15
  };
76
16
  currentLocale: string;
@@ -82,72 +22,12 @@ declare const _default: import("vue").DefineComponent<{
82
22
  context: {
83
23
  settings: import("../types").SettingsSchema;
84
24
  load: import("../../../../core/composables").AsyncAction<import("../factories/types").ItemId>;
85
- saveChanges: import("../../../../core/composables").AsyncAction<Record<string, any>, void | Record<string, any>>;
86
- remove?: import("../../../../core/composables").AsyncAction<Record<string, any> | import("../factories/types").ItemId> | undefined;
25
+ saveChanges: import("../../../../core/composables").AsyncAction<any, any>;
26
+ remove?: import("../../../../core/composables").AsyncAction<any> | undefined;
87
27
  loading: boolean;
88
- item: Record<string, any> | undefined;
89
- validationState: import("../factories/types").IValidationState<Record<string, any>>;
90
- scope?: {
91
- [x: string]: any;
92
- disabled?: boolean | undefined;
93
- multilanguage?: {
94
- loading: boolean;
95
- currentLocale: string;
96
- languages: string[];
97
- setLocale: (locale: string) => void;
98
- localesOptions: {
99
- label: string | undefined;
100
- value: string;
101
- }[];
102
- getLanguages: import("../../../../core/composables").AsyncAction<void, void>;
103
- } | undefined;
104
- dynamicProperties?: {
105
- loading: boolean;
106
- loadDictionaries: (propertyId: string, keyword?: string | undefined, locale?: string | undefined) => Promise<Record<string, any>[] | undefined>;
107
- getPropertyValue: (property: Record<string, any>, locale: string) => any;
108
- setPropertyValue: (data: {
109
- property: Record<string, any>;
110
- value: string | Record<string, any>[];
111
- dictionary?: Record<string, any>[] | undefined;
112
- locale?: string | undefined;
113
- }) => void;
114
- } | undefined;
115
- assetsHandler?: {
116
- assets?: {
117
- noRemoveConfirmation?: boolean | undefined;
118
- loading?: boolean | undefined;
119
- upload?: ((files: FileList, startingSortOrder?: number | undefined) => Promise<import("../../../..").ICommonAsset[]>) | undefined;
120
- edit?: ((files: import("../../../..").ICommonAsset[]) => import("../../../..").ICommonAsset[]) | undefined;
121
- remove?: ((files: import("../../../..").ICommonAsset[]) => import("../../../..").ICommonAsset[]) | undefined;
122
- } | undefined;
123
- images?: {
124
- noRemoveConfirmation?: boolean | undefined;
125
- loading?: boolean | undefined;
126
- upload?: ((files: FileList, startingSortOrder?: number | undefined) => Promise<import("../../../..").ICommonAsset[]>) | undefined;
127
- edit?: ((files: import("../../../..").ICommonAsset[]) => import("../../../..").ICommonAsset[]) | undefined;
128
- remove?: ((files: import("../../../..").ICommonAsset[]) => import("../../../..").ICommonAsset[]) | undefined;
129
- } | undefined;
130
- } | undefined;
131
- selection?: Record<string, any>[] | undefined;
132
- toolbarOverrides?: import("../../../..").IBladeToolbar[] | {
133
- id?: string | undefined;
134
- icon?: string | (() => string) | undefined;
135
- disabled?: boolean | undefined;
136
- dropdownItems?: {
137
- id: string;
138
- title: string;
139
- icon?: string | undefined;
140
- clickHandler?: (() => void) | undefined;
141
- }[] | undefined;
142
- title?: string | undefined;
143
- isVisible?: boolean | undefined;
144
- clickHandler?: ((app?: Record<string, any> | import("../../..").CoreBladeExposed | null | undefined) => void) | undefined;
145
- separator?: "right" | "left" | "both" | undefined;
146
- permissions?: string | string[] | undefined;
147
- }[] | {
148
- [x: string]: import("vue").MaybeRef<import("../../../..").IBladeToolbar[]> | import("vue").MaybeRef<import("../../../..").IBladeToolbar>;
149
- } | ((...args: any[]) => any) | undefined;
150
- } | undefined;
28
+ item: any;
29
+ validationState: import("../factories/types").IValidationState<any>;
30
+ scope?: any;
151
31
  bladeTitle?: string | undefined;
152
32
  };
153
33
  currentLocale: string;
@@ -159,72 +39,12 @@ declare const _default: import("vue").DefineComponent<{
159
39
  context: {
160
40
  settings: import("../types").SettingsSchema;
161
41
  load: import("../../../../core/composables").AsyncAction<import("../factories/types").ItemId>;
162
- saveChanges: import("../../../../core/composables").AsyncAction<Record<string, any>, void | Record<string, any>>;
163
- remove?: import("../../../../core/composables").AsyncAction<Record<string, any> | import("../factories/types").ItemId> | undefined;
42
+ saveChanges: import("../../../../core/composables").AsyncAction<any, any>;
43
+ remove?: import("../../../../core/composables").AsyncAction<any> | undefined;
164
44
  loading: boolean;
165
- item: Record<string, any> | undefined;
166
- validationState: import("../factories/types").IValidationState<Record<string, any>>;
167
- scope?: {
168
- [x: string]: any;
169
- disabled?: boolean | undefined;
170
- multilanguage?: {
171
- loading: boolean;
172
- currentLocale: string;
173
- languages: string[];
174
- setLocale: (locale: string) => void;
175
- localesOptions: {
176
- label: string | undefined;
177
- value: string;
178
- }[];
179
- getLanguages: import("../../../../core/composables").AsyncAction<void, void>;
180
- } | undefined;
181
- dynamicProperties?: {
182
- loading: boolean;
183
- loadDictionaries: (propertyId: string, keyword?: string | undefined, locale?: string | undefined) => Promise<Record<string, any>[] | undefined>;
184
- getPropertyValue: (property: Record<string, any>, locale: string) => any;
185
- setPropertyValue: (data: {
186
- property: Record<string, any>;
187
- value: string | Record<string, any>[];
188
- dictionary?: Record<string, any>[] | undefined;
189
- locale?: string | undefined;
190
- }) => void;
191
- } | undefined;
192
- assetsHandler?: {
193
- assets?: {
194
- noRemoveConfirmation?: boolean | undefined;
195
- loading?: boolean | undefined;
196
- upload?: ((files: FileList, startingSortOrder?: number | undefined) => Promise<import("../../../..").ICommonAsset[]>) | undefined;
197
- edit?: ((files: import("../../../..").ICommonAsset[]) => import("../../../..").ICommonAsset[]) | undefined;
198
- remove?: ((files: import("../../../..").ICommonAsset[]) => import("../../../..").ICommonAsset[]) | undefined;
199
- } | undefined;
200
- images?: {
201
- noRemoveConfirmation?: boolean | undefined;
202
- loading?: boolean | undefined;
203
- upload?: ((files: FileList, startingSortOrder?: number | undefined) => Promise<import("../../../..").ICommonAsset[]>) | undefined;
204
- edit?: ((files: import("../../../..").ICommonAsset[]) => import("../../../..").ICommonAsset[]) | undefined;
205
- remove?: ((files: import("../../../..").ICommonAsset[]) => import("../../../..").ICommonAsset[]) | undefined;
206
- } | undefined;
207
- } | undefined;
208
- selection?: Record<string, any>[] | undefined;
209
- toolbarOverrides?: import("../../../..").IBladeToolbar[] | {
210
- id?: string | undefined;
211
- icon?: string | (() => string) | undefined;
212
- disabled?: boolean | undefined;
213
- dropdownItems?: {
214
- id: string;
215
- title: string;
216
- icon?: string | undefined;
217
- clickHandler?: (() => void) | undefined;
218
- }[] | undefined;
219
- title?: string | undefined;
220
- isVisible?: boolean | undefined;
221
- clickHandler?: ((app?: Record<string, any> | import("../../..").CoreBladeExposed | null | undefined) => void) | undefined;
222
- separator?: "right" | "left" | "both" | undefined;
223
- permissions?: string | string[] | undefined;
224
- }[] | {
225
- [x: string]: import("vue").MaybeRef<import("../../../..").IBladeToolbar[]> | import("vue").MaybeRef<import("../../../..").IBladeToolbar>;
226
- } | ((...args: any[]) => any) | undefined;
227
- } | undefined;
45
+ item: any;
46
+ validationState: import("../factories/types").IValidationState<any>;
47
+ scope?: any;
228
48
  bladeTitle?: string | undefined;
229
49
  };
230
50
  currentLocale: string;
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaRender.d.ts","sourceRoot":"","sources":["../../../../../shared/modules/dynamic/components/SchemaRender.ts"],"names":[],"mappings":"AACA,OAAO,EAOL,KAAK,EAIN,MAAM,KAAK,CAAC;AACb,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BzC,wBAyDG"}
1
+ {"version":3,"file":"SchemaRender.d.ts","sourceRoot":"","sources":["../../../../../shared/modules/dynamic/components/SchemaRender.ts"],"names":[],"mappings":"AACA,OAAO,EAOL,KAAK,EAIN,MAAM,KAAK,CAAC;AACb,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BzC,wBAyDG"}