@vc-shell/framework 1.0.95 → 1.0.96
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/ui/components/organisms/vc-dynamic-property/index.d.ts +4 -4
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts +4 -4
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts.map +1 -1
- package/package.json +3 -3
- package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## [1.0.96](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.94...v1.0.96) (2023-08-28)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* controls for multilang properties ([b07940d](https://github.com/VirtoCommerce/vc-shell/commit/b07940d02f97387929c0081b033f87185fa375b9))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
1
10
|
## [1.0.94](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.92...v1.0.94) (2023-08-04)
|
|
2
11
|
|
|
3
12
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const VcDynamicProperty: <T>(__VLS_props: {
|
|
2
2
|
property: T;
|
|
3
3
|
modelValue: any;
|
|
4
|
-
optionsGetter: (property: T, keyword?: string, locale?: string) =>
|
|
4
|
+
optionsGetter: (property: T, keyword?: string, locale?: string) => any[] | Promise<any[]>;
|
|
5
5
|
required: boolean;
|
|
6
6
|
multivalue?: boolean;
|
|
7
7
|
multilanguage?: boolean;
|
|
@@ -26,7 +26,7 @@ export declare const VcDynamicProperty: <T>(__VLS_props: {
|
|
|
26
26
|
props: {
|
|
27
27
|
property: T;
|
|
28
28
|
modelValue: any;
|
|
29
|
-
optionsGetter: (property: T, keyword?: string, locale?: string) =>
|
|
29
|
+
optionsGetter: (property: T, keyword?: string, locale?: string) => any[] | Promise<any[]>;
|
|
30
30
|
required: boolean;
|
|
31
31
|
multivalue?: boolean;
|
|
32
32
|
multilanguage?: boolean;
|
|
@@ -63,7 +63,7 @@ export declare const VcDynamicProperty: <T>(__VLS_props: {
|
|
|
63
63
|
props: {
|
|
64
64
|
property: T;
|
|
65
65
|
modelValue: any;
|
|
66
|
-
optionsGetter: (property: T, keyword?: string, locale?: string) =>
|
|
66
|
+
optionsGetter: (property: T, keyword?: string, locale?: string) => any[] | Promise<any[]>;
|
|
67
67
|
required: boolean;
|
|
68
68
|
multivalue?: boolean;
|
|
69
69
|
multilanguage?: boolean;
|
|
@@ -103,7 +103,7 @@ export declare const VcDynamicProperty: <T>(__VLS_props: {
|
|
|
103
103
|
props: {
|
|
104
104
|
property: T;
|
|
105
105
|
modelValue: any;
|
|
106
|
-
optionsGetter: (property: T, keyword?: string, locale?: string) =>
|
|
106
|
+
optionsGetter: (property: T, keyword?: string, locale?: string) => any[] | Promise<any[]>;
|
|
107
107
|
required: boolean;
|
|
108
108
|
multivalue?: boolean;
|
|
109
109
|
multilanguage?: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: <T>(__VLS_props: {
|
|
2
2
|
property: T;
|
|
3
3
|
modelValue: any;
|
|
4
|
-
optionsGetter: (property: T, keyword?: string, locale?: string) => Promise<
|
|
4
|
+
optionsGetter: (property: T, keyword?: string, locale?: string) => Promise<any[]> | any[];
|
|
5
5
|
required: boolean;
|
|
6
6
|
multivalue?: boolean;
|
|
7
7
|
multilanguage?: boolean;
|
|
@@ -26,7 +26,7 @@ declare const _default: <T>(__VLS_props: {
|
|
|
26
26
|
props: {
|
|
27
27
|
property: T;
|
|
28
28
|
modelValue: any;
|
|
29
|
-
optionsGetter: (property: T, keyword?: string, locale?: string) => Promise<
|
|
29
|
+
optionsGetter: (property: T, keyword?: string, locale?: string) => Promise<any[]> | any[];
|
|
30
30
|
required: boolean;
|
|
31
31
|
multivalue?: boolean;
|
|
32
32
|
multilanguage?: boolean;
|
|
@@ -63,7 +63,7 @@ declare const _default: <T>(__VLS_props: {
|
|
|
63
63
|
props: {
|
|
64
64
|
property: T;
|
|
65
65
|
modelValue: any;
|
|
66
|
-
optionsGetter: (property: T, keyword?: string, locale?: string) => Promise<
|
|
66
|
+
optionsGetter: (property: T, keyword?: string, locale?: string) => Promise<any[]> | any[];
|
|
67
67
|
required: boolean;
|
|
68
68
|
multivalue?: boolean;
|
|
69
69
|
multilanguage?: boolean;
|
|
@@ -103,7 +103,7 @@ declare const _default: <T>(__VLS_props: {
|
|
|
103
103
|
props: {
|
|
104
104
|
property: T;
|
|
105
105
|
modelValue: any;
|
|
106
|
-
optionsGetter: (property: T, keyword?: string, locale?: string) => Promise<
|
|
106
|
+
optionsGetter: (property: T, keyword?: string, locale?: string) => Promise<any[]> | any[];
|
|
107
107
|
required: boolean;
|
|
108
108
|
multivalue?: boolean;
|
|
109
109
|
multilanguage?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-dynamic-property.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.ts"],"names":[],"mappings":";;gBAgfgB,GAAG;2CACwB,MAAM,WAAW,MAAM,KAAK,QAAQ,
|
|
1
|
+
{"version":3,"file":"vc-dynamic-property.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.ts"],"names":[],"mappings":";;gBAgfgB,GAAG;2CACwB,MAAM,WAAW,MAAM,KAAK,QAAQ,GAAG,EAAE,CAAC,GAAG,GAAG,EAAE;cAC/E,OAAO;iBACJ,OAAO;oBACJ,OAAO;sBACL,MAAM;eACb,MAAM;iBACJ,OAAO;UACd,MAAM;mBACG,MAAM;mBACN,MAAM;mBACN;QACb,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB,EAAE;YACK;QAC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,OAAO;4BACJ,OAAO;8BACL,MAAM;uBACb,MAAM;yBACJ,OAAO;kBACd,MAAM;2BACG,MAAM;2BACN,MAAM;2BACN;gBACb,IAAI,CAAC,EAAE,MAAM,CAAC;gBACd,YAAY,CAAC,EAAE,MAAM,CAAC;aACvB,EAAE;oBACK;gBACN,GAAG,EAAE,MAAM,CAAC;gBACZ,GAAG,EAAE,MAAM,CAAC;gBACZ,KAAK,EAAE,MAAM,CAAC;aACf;uBACU,OAAO;0BACJ,MAAM;;6BASe,IAAI;eACpC,GAAG;;;;;gCANwC,GAAG;sCAAwB,GAAG,EAAE;kCAAoB,MAAM;;;;;AAlgB5G,wBA4gBkE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vc-shell/framework",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.96",
|
|
4
4
|
"main": "./dist/framework.mjs",
|
|
5
5
|
"module": "./dist/framework.mjs",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"whatwg-fetch": "^3.6.2"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@vc-shell/api-client-generator": "^1.0.
|
|
59
|
-
"@vc-shell/config-generator": "^1.0.
|
|
58
|
+
"@vc-shell/api-client-generator": "^1.0.96",
|
|
59
|
+
"@vc-shell/config-generator": "^1.0.96",
|
|
60
60
|
"@vitejs/plugin-vue": "^4.2.3",
|
|
61
61
|
"sass": "^1.62.1",
|
|
62
62
|
"typescript": "~5.0.4",
|
|
@@ -272,7 +272,7 @@ const props = withDefaults(
|
|
|
272
272
|
defineProps<{
|
|
273
273
|
property: T;
|
|
274
274
|
modelValue: any;
|
|
275
|
-
optionsGetter: (property: T, keyword?: string, locale?: string) => Promise<
|
|
275
|
+
optionsGetter: (property: T, keyword?: string, locale?: string) => Promise<any[]> | any[];
|
|
276
276
|
required: boolean;
|
|
277
277
|
multivalue?: boolean;
|
|
278
278
|
multilanguage?: boolean;
|