@vc-shell/framework 1.0.92 → 1.0.94

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.
Files changed (46) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/core/utilities/camelize.ts +5 -0
  3. package/core/utilities/generateId.ts +3 -0
  4. package/core/utilities/index.ts +2 -0
  5. package/core/utilities/kebabToCamel.ts +1 -1
  6. package/dist/core/utilities/camelize.d.ts +2 -0
  7. package/dist/core/utilities/camelize.d.ts.map +1 -0
  8. package/dist/core/utilities/generateId.d.ts +2 -0
  9. package/dist/core/utilities/generateId.d.ts.map +1 -0
  10. package/dist/core/utilities/index.d.ts +2 -0
  11. package/dist/core/utilities/index.d.ts.map +1 -1
  12. package/dist/core/utilities/kebabToCamel.d.ts +1 -0
  13. package/dist/core/utilities/kebabToCamel.d.ts.map +1 -1
  14. package/dist/framework.mjs +14119 -13897
  15. package/dist/index.css +1 -1
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/tsconfig.tsbuildinfo +1 -1
  18. package/dist/ui/components/atoms/vc-label/index.d.ts +20 -0
  19. package/dist/ui/components/atoms/vc-label/index.d.ts.map +1 -1
  20. package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts +2 -0
  21. package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts.map +1 -1
  22. package/dist/ui/components/molecules/index.d.ts +1 -0
  23. package/dist/ui/components/molecules/index.d.ts.map +1 -1
  24. package/dist/ui/components/molecules/vc-editor/index.d.ts +10 -0
  25. package/dist/ui/components/molecules/vc-editor/index.d.ts.map +1 -1
  26. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +1 -0
  27. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
  28. package/dist/ui/components/molecules/vc-multivalue/index.d.ts +42 -0
  29. package/dist/ui/components/molecules/vc-multivalue/index.d.ts.map +1 -0
  30. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +66 -0
  31. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts.map +1 -0
  32. package/dist/ui/components/organisms/vc-dynamic-property/index.d.ts +129 -69
  33. package/dist/ui/components/organisms/vc-dynamic-property/index.d.ts.map +1 -1
  34. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts +126 -40
  35. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts.map +1 -1
  36. package/dist/ui/types/index.d.ts +1 -0
  37. package/dist/ui/types/index.d.ts.map +1 -1
  38. package/package.json +3 -3
  39. package/ui/components/atoms/vc-label/vc-label.vue +9 -1
  40. package/ui/components/molecules/index.ts +1 -0
  41. package/ui/components/molecules/vc-editor/vc-editor.vue +34 -13
  42. package/ui/components/molecules/vc-multivalue/index.ts +3 -0
  43. package/ui/components/molecules/vc-multivalue/vc-multivalue.vue +396 -0
  44. package/ui/components/organisms/vc-dynamic-property/index.ts +1 -1
  45. package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +210 -295
  46. package/ui/types/index.ts +1 -0
@@ -6,8 +6,10 @@ export declare const VcLabel: {
6
6
  $props: {
7
7
  tooltipIcon?: string;
8
8
  readonly required?: boolean;
9
+ readonly multilanguage?: boolean;
9
10
  style?: unknown;
10
11
  key?: string | number | symbol;
12
+ readonly currentLanguage?: string;
11
13
  ref?: import("vue").VNodeRef;
12
14
  ref_for?: boolean;
13
15
  ref_key?: string;
@@ -68,10 +70,16 @@ export declare const VcLabel: {
68
70
  required: {
69
71
  type: import("vue").PropType<boolean>;
70
72
  };
73
+ multilanguage: {
74
+ type: import("vue").PropType<boolean>;
75
+ };
71
76
  tooltipIcon: {
72
77
  type: import("vue").PropType<string>;
73
78
  default: string;
74
79
  };
80
+ currentLanguage: {
81
+ type: import("vue").PropType<string>;
82
+ };
75
83
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
76
84
  tooltipIcon: string;
77
85
  }, {}, string, {}> & {
@@ -98,10 +106,16 @@ export declare const VcLabel: {
98
106
  required: {
99
107
  type: import("vue").PropType<boolean>;
100
108
  };
109
+ multilanguage: {
110
+ type: import("vue").PropType<boolean>;
111
+ };
101
112
  tooltipIcon: {
102
113
  type: import("vue").PropType<string>;
103
114
  default: string;
104
115
  };
116
+ currentLanguage: {
117
+ type: import("vue").PropType<string>;
118
+ };
105
119
  }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
106
120
  __isFragment?: never;
107
121
  __isTeleport?: never;
@@ -110,10 +124,16 @@ export declare const VcLabel: {
110
124
  required: {
111
125
  type: import("vue").PropType<boolean>;
112
126
  };
127
+ multilanguage: {
128
+ type: import("vue").PropType<boolean>;
129
+ };
113
130
  tooltipIcon: {
114
131
  type: import("vue").PropType<string>;
115
132
  default: string;
116
133
  };
134
+ currentLanguage: {
135
+ type: import("vue").PropType<string>;
136
+ };
117
137
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
118
138
  tooltipIcon: string;
119
139
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-label/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBACV;IACN,MAAM,EAAE;QACN,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;QACvB,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;KACxB,CAAC;CACH,CACF,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-label/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBACV;IACN,MAAM,EAAE;QACN,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;QACvB,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;KACxB,CAAC;CACH,CACF,CAAC"}
@@ -1,6 +1,8 @@
1
1
  export interface Props {
2
2
  required?: boolean;
3
3
  tooltipIcon?: string;
4
+ multilanguage?: boolean;
5
+ currentLanguage?: string;
4
6
  }
5
7
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
6
8
  tooltipIcon: string;
@@ -1 +1 @@
1
- {"version":3,"file":"vc-label.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-label/vc-label.vue.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,KAAK;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;;;;;;;;;;;AAqJD,wBAA8G;AAE9G,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,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AAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC;AACJ,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -11,4 +11,5 @@ export * from "./vc-rating";
11
11
  export * from "./vc-select";
12
12
  export * from "./vc-slider";
13
13
  export * from "./vc-textarea";
14
+ export * from "./vc-multivalue";
14
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../ui/components/molecules/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../ui/components/molecules/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC"}
@@ -13,6 +13,7 @@ export declare const VcEditor: {
13
13
  key?: string | number | symbol;
14
14
  "onUpdate:modelValue"?: (value: string | number | Date) => any;
15
15
  readonly tooltip?: string;
16
+ readonly currentLanguage?: string;
16
17
  readonly placeholder?: string;
17
18
  readonly assetsFolder: string;
18
19
  ref?: import("vue").VNodeRef;
@@ -92,6 +93,9 @@ export declare const VcEditor: {
92
93
  tooltip: {
93
94
  type: import("vue").PropType<string>;
94
95
  };
96
+ currentLanguage: {
97
+ type: import("vue").PropType<string>;
98
+ };
95
99
  placeholder: {
96
100
  type: import("vue").PropType<string>;
97
101
  };
@@ -147,6 +151,9 @@ export declare const VcEditor: {
147
151
  tooltip: {
148
152
  type: import("vue").PropType<string>;
149
153
  };
154
+ currentLanguage: {
155
+ type: import("vue").PropType<string>;
156
+ };
150
157
  placeholder: {
151
158
  type: import("vue").PropType<string>;
152
159
  };
@@ -181,6 +188,9 @@ export declare const VcEditor: {
181
188
  tooltip: {
182
189
  type: import("vue").PropType<string>;
183
190
  };
191
+ currentLanguage: {
192
+ type: import("vue").PropType<string>;
193
+ };
184
194
  placeholder: {
185
195
  type: import("vue").PropType<string>;
186
196
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-editor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAG5B,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBACX;IACN,MAAM,EAAE;QACN,KAAK,EAAE,MAAM,KAAK,EAAE,CAAC;KACtB,CAAC;CACH,CACF,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-editor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAG5B,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBACX;IACN,MAAM,EAAE;QACN,KAAK,EAAE,MAAM,KAAK,EAAE,CAAC;KACtB,CAAC;CACH,CACF,CAAC"}
@@ -8,6 +8,7 @@ export interface Props {
8
8
  tooltip?: string;
9
9
  errorMessage?: string;
10
10
  assetsFolder: string;
11
+ currentLanguage?: string;
11
12
  }
12
13
  export interface Emits {
13
14
  (event: "update:modelValue", value: string | number | Date | null | undefined): void;
@@ -1 +1 @@
1
- {"version":3,"file":"vc-editor.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-editor/vc-editor.vue.ts"],"names":[],"mappings":"AAGA,OAAO,0CAA0C,CAAC;AAMlD,MAAM,WAAW,KAAK;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,KAAK;IACpB,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,CAAC;CACtF;;;;;;;;;;;;;;;;;AAqOD,wBAA8G;AAE9G,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KA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,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AA6GN,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC;AACJ,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -0,0 +1,42 @@
1
+ export declare const VcMultivalue: <T extends {
2
+ id?: string;
3
+ alias?: string;
4
+ }>(__VLS_props: import("./vc-multivalue.vue").Props<T> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
5
+ props: import("./vc-multivalue.vue").Props<T>;
6
+ expose(exposed: {}): void;
7
+ attrs: any;
8
+ slots: {
9
+ item?(_: {
10
+ item: T;
11
+ }): any;
12
+ error?(_: {}): any;
13
+ };
14
+ emit: import("./vc-multivalue.vue").Emits<T>;
15
+ }, "slots" | "attrs" | "emit">, __VLS_setup?: {
16
+ props: import("./vc-multivalue.vue").Props<T>;
17
+ expose(exposed: {}): void;
18
+ attrs: any;
19
+ slots: {
20
+ item?(_: {
21
+ item: T;
22
+ }): any;
23
+ error?(_: {}): any;
24
+ };
25
+ emit: import("./vc-multivalue.vue").Emits<T>;
26
+ }) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
27
+ [key: string]: any;
28
+ }> & {
29
+ __ctx?: {
30
+ props: import("./vc-multivalue.vue").Props<T>;
31
+ expose(exposed: {}): void;
32
+ attrs: any;
33
+ slots: {
34
+ item?(_: {
35
+ item: T;
36
+ }): any;
37
+ error?(_: {}): any;
38
+ };
39
+ emit: import("./vc-multivalue.vue").Emits<T>;
40
+ };
41
+ };
42
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-multivalue/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoC,CAAC"}
@@ -0,0 +1,66 @@
1
+ export interface Props<T> {
2
+ placeholder?: string;
3
+ modelValue?: T[];
4
+ required?: boolean;
5
+ disabled?: boolean;
6
+ type?: "text" | "number";
7
+ label?: string;
8
+ tooltip?: string;
9
+ name?: string;
10
+ options?: T[];
11
+ optionValue?: string;
12
+ optionLabel?: string;
13
+ emitValue?: string;
14
+ emitLabel?: string;
15
+ multivalue?: boolean;
16
+ error?: boolean;
17
+ errorMessage?: string;
18
+ }
19
+ export interface Emits<T> {
20
+ (event: "update:model-value", value: T[]): void;
21
+ (event: "close"): void;
22
+ (event: "search", value: string): void;
23
+ }
24
+ declare const _default: <T extends {
25
+ id?: string;
26
+ alias?: string;
27
+ }>(__VLS_props: Props<T> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
28
+ props: Props<T>;
29
+ expose(exposed: {}): void;
30
+ attrs: any;
31
+ slots: {
32
+ item?(_: {
33
+ item: T;
34
+ }): any;
35
+ error?(_: {}): any;
36
+ };
37
+ emit: Emits<T>;
38
+ }, "slots" | "attrs" | "emit">, __VLS_setup?: {
39
+ props: Props<T>;
40
+ expose(exposed: {}): void;
41
+ attrs: any;
42
+ slots: {
43
+ item?(_: {
44
+ item: T;
45
+ }): any;
46
+ error?(_: {}): any;
47
+ };
48
+ emit: Emits<T>;
49
+ }) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
50
+ [key: string]: any;
51
+ }> & {
52
+ __ctx?: {
53
+ props: Props<T>;
54
+ expose(exposed: {}): void;
55
+ attrs: any;
56
+ slots: {
57
+ item?(_: {
58
+ item: T;
59
+ }): any;
60
+ error?(_: {}): any;
61
+ };
62
+ emit: Emits<T>;
63
+ };
64
+ };
65
+ export default _default;
66
+ //# sourceMappingURL=vc-multivalue.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vc-multivalue.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-multivalue/vc-multivalue.vue.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,KAAK,CAAC,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,CAAC,EAAE,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,KAAK,CAAC,CAAC;IACtB,CAAC,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,IAAI,CAAC;IAChD,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;IACvB,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACxC;;SAEgC,MAAM;YAAU,MAAM;;;yBAqehB,IAAI;WACpC,GAAG;;;;YAjCiB,GAAG;uBACF,GAAG;;;;;yBA+BQ,IAAI;WACpC,GAAG;;;;YAjCiB,GAAG;uBACF,GAAG;;;;;;;;6BA+BQ,IAAI;eACpC,GAAG;;;;gBAjCiB,GAAG;2BACF,GAAG;;;;;AAtc/B,wBA0ekE"}
@@ -1,70 +1,130 @@
1
- export declare const VcDynamicProperty: import("vue").DefineComponent<{
2
- disabled: {
3
- type: import("vue").PropType<boolean>;
4
- };
5
- culture: {
6
- type: import("vue").PropType<string>;
7
- default: string;
8
- };
9
- property: {
10
- type: import("vue").PropType<any>;
11
- required: true;
12
- };
13
- dictionaries: {
14
- type: import("vue").PropType<Record<string, unknown>>;
15
- };
16
- getter: {
17
- type: import("vue").PropType<(property: Record<string, any>, isDictionary?: boolean) => string | number | boolean | Date | Record<string, any>>;
18
- required: true;
19
- };
20
- optionsGetter: {
21
- type: import("vue").PropType<(property: Record<string, any>, keyword?: string) => any[] | Promise<any[]>>;
22
- required: true;
23
- };
24
- setter: {
25
- type: import("vue").PropType<(property: Record<string, any>, value: string | number | boolean | Record<string, any>, dictionary?: any[]) => void>;
26
- required: true;
27
- };
28
- displayedValueLabel: {
29
- type: import("vue").PropType<{
30
- value: string;
31
- label: string;
32
- }>;
33
- };
34
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
35
- disabled: {
36
- type: import("vue").PropType<boolean>;
37
- };
38
- culture: {
39
- type: import("vue").PropType<string>;
40
- default: string;
41
- };
42
- property: {
43
- type: import("vue").PropType<any>;
44
- required: true;
45
- };
46
- dictionaries: {
47
- type: import("vue").PropType<Record<string, unknown>>;
48
- };
49
- getter: {
50
- type: import("vue").PropType<(property: Record<string, any>, isDictionary?: boolean) => string | number | boolean | Date | Record<string, any>>;
51
- required: true;
52
- };
53
- optionsGetter: {
54
- type: import("vue").PropType<(property: Record<string, any>, keyword?: string) => any[] | Promise<any[]>>;
55
- required: true;
56
- };
57
- setter: {
58
- type: import("vue").PropType<(property: Record<string, any>, value: string | number | boolean | Record<string, any>, dictionary?: any[]) => void>;
59
- required: true;
60
- };
61
- displayedValueLabel: {
62
- type: import("vue").PropType<{
63
- value: string;
64
- label: string;
65
- }>;
66
- };
67
- }>>, {
68
- culture: string;
69
- }, {}>;
1
+ export declare const VcDynamicProperty: <T>(__VLS_props: {
2
+ property: T;
3
+ modelValue: any;
4
+ optionsGetter: (property: T, keyword?: string) => unknown[] | Promise<unknown[]>;
5
+ required: boolean;
6
+ multivalue?: boolean;
7
+ valueType: string;
8
+ dictionary?: boolean;
9
+ name: string;
10
+ optionsValue?: string;
11
+ optionsLabel?: string;
12
+ displayNames?: {
13
+ name?: string;
14
+ languageCode?: string;
15
+ }[];
16
+ rules?: {
17
+ min: number;
18
+ max: number;
19
+ regex: string;
20
+ };
21
+ disabled?: boolean;
22
+ placeholder?: string;
23
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
24
+ props: {
25
+ property: T;
26
+ modelValue: any;
27
+ optionsGetter: (property: T, keyword?: string) => unknown[] | Promise<unknown[]>;
28
+ required: boolean;
29
+ multivalue?: boolean;
30
+ valueType: string;
31
+ dictionary?: boolean;
32
+ name: string;
33
+ optionsValue?: string;
34
+ optionsLabel?: string;
35
+ displayNames?: {
36
+ name?: string;
37
+ languageCode?: string;
38
+ }[];
39
+ rules?: {
40
+ min: number;
41
+ max: number;
42
+ regex: string;
43
+ };
44
+ disabled?: boolean;
45
+ placeholder?: string;
46
+ };
47
+ expose(exposed: {}): void;
48
+ attrs: any;
49
+ slots: {};
50
+ emit: {
51
+ "update:model-value": [data: {
52
+ readonly property: T;
53
+ readonly value: any;
54
+ readonly dictionary?: any[];
55
+ }];
56
+ };
57
+ }, "slots" | "attrs" | "emit">, __VLS_setup?: {
58
+ props: {
59
+ property: T;
60
+ modelValue: any;
61
+ optionsGetter: (property: T, keyword?: string) => unknown[] | Promise<unknown[]>;
62
+ required: boolean;
63
+ multivalue?: boolean;
64
+ valueType: string;
65
+ dictionary?: boolean;
66
+ name: string;
67
+ optionsValue?: string;
68
+ optionsLabel?: string;
69
+ displayNames?: {
70
+ name?: string;
71
+ languageCode?: string;
72
+ }[];
73
+ rules?: {
74
+ min: number;
75
+ max: number;
76
+ regex: string;
77
+ };
78
+ disabled?: boolean;
79
+ placeholder?: string;
80
+ };
81
+ expose(exposed: {}): void;
82
+ attrs: any;
83
+ slots: {};
84
+ emit: {
85
+ "update:model-value": [data: {
86
+ readonly property: T;
87
+ readonly value: any;
88
+ readonly dictionary?: any[];
89
+ }];
90
+ };
91
+ }) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
92
+ [key: string]: any;
93
+ }> & {
94
+ __ctx?: {
95
+ props: {
96
+ property: T;
97
+ modelValue: any;
98
+ optionsGetter: (property: T, keyword?: string) => unknown[] | Promise<unknown[]>;
99
+ required: boolean;
100
+ multivalue?: boolean;
101
+ valueType: string;
102
+ dictionary?: boolean;
103
+ name: string;
104
+ optionsValue?: string;
105
+ optionsLabel?: string;
106
+ displayNames?: {
107
+ name?: string;
108
+ languageCode?: string;
109
+ }[];
110
+ rules?: {
111
+ min: number;
112
+ max: number;
113
+ regex: string;
114
+ };
115
+ disabled?: boolean;
116
+ placeholder?: string;
117
+ };
118
+ expose(exposed: {}): void;
119
+ attrs: any;
120
+ slots: {};
121
+ emit: {
122
+ "update:model-value": [data: {
123
+ readonly property: T;
124
+ readonly value: any;
125
+ readonly dictionary?: any[];
126
+ }];
127
+ };
128
+ };
129
+ };
70
130
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-dynamic-property/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAA8C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-dynamic-property/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmB,CAAC"}
@@ -1,45 +1,131 @@
1
- export interface Props {
2
- property: any;
3
- dictionaries?: Record<string, unknown>;
4
- getter: (property: Record<string, any>, isDictionary?: boolean) => Record<string, any> | string | number | boolean | Date;
5
- optionsGetter: (property: Record<string, any>, keyword?: string) => Promise<any[] | undefined> | any[];
6
- setter: (property: Record<string, any>, value: Record<string, any> | string | number | boolean, dictionary?: any[]) => void | undefined;
7
- culture?: string;
1
+ declare const _default: <T>(__VLS_props: {
2
+ property: T;
3
+ modelValue: any;
4
+ optionsGetter: (property: T, keyword?: string) => Promise<unknown[]> | unknown[];
5
+ required: boolean;
6
+ multivalue?: boolean;
7
+ valueType: string;
8
+ dictionary?: boolean;
9
+ name: string;
10
+ optionsValue?: string;
11
+ optionsLabel?: string;
12
+ displayNames?: {
13
+ name?: string;
14
+ languageCode?: string;
15
+ }[];
16
+ rules?: {
17
+ min: number;
18
+ max: number;
19
+ regex: string;
20
+ };
8
21
  disabled?: boolean;
9
- /**
10
- * @description Used only with multiple selection **only** in rare cases, where we need to display selection with other value-label pair
11
- */
12
- displayedValueLabel?: {
13
- value: string;
14
- label: string;
22
+ placeholder?: string;
23
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
24
+ props: {
25
+ property: T;
26
+ modelValue: any;
27
+ optionsGetter: (property: T, keyword?: string) => Promise<unknown[]> | unknown[];
28
+ required: boolean;
29
+ multivalue?: boolean;
30
+ valueType: string;
31
+ dictionary?: boolean;
32
+ name: string;
33
+ optionsValue?: string;
34
+ optionsLabel?: string;
35
+ displayNames?: {
36
+ name?: string;
37
+ languageCode?: string;
38
+ }[];
39
+ rules?: {
40
+ min: number;
41
+ max: number;
42
+ regex: string;
43
+ };
44
+ disabled?: boolean;
45
+ placeholder?: string;
15
46
  };
16
- }
17
- export interface PropertyItem {
18
- alias: string;
19
- }
20
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
21
- culture: string;
22
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
23
- culture: string;
24
- }>>>, {
25
- culture: string;
26
- }, {}>;
27
- export default _default;
28
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
- type __VLS_TypePropsToRuntimeProps<T> = {
30
- [K in keyof T]-?: {} extends Pick<T, K> ? {
31
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
32
- } : {
33
- type: import('vue').PropType<T[K]>;
34
- required: true;
47
+ expose(exposed: {}): void;
48
+ attrs: any;
49
+ slots: {};
50
+ emit: {
51
+ "update:model-value": [data: {
52
+ readonly property: T;
53
+ readonly value: any;
54
+ readonly dictionary?: any[];
55
+ }];
56
+ };
57
+ }, "slots" | "attrs" | "emit">, __VLS_setup?: {
58
+ props: {
59
+ property: T;
60
+ modelValue: any;
61
+ optionsGetter: (property: T, keyword?: string) => Promise<unknown[]> | unknown[];
62
+ required: boolean;
63
+ multivalue?: boolean;
64
+ valueType: string;
65
+ dictionary?: boolean;
66
+ name: string;
67
+ optionsValue?: string;
68
+ optionsLabel?: string;
69
+ displayNames?: {
70
+ name?: string;
71
+ languageCode?: string;
72
+ }[];
73
+ rules?: {
74
+ min: number;
75
+ max: number;
76
+ regex: string;
77
+ };
78
+ disabled?: boolean;
79
+ placeholder?: string;
80
+ };
81
+ expose(exposed: {}): void;
82
+ attrs: any;
83
+ slots: {};
84
+ emit: {
85
+ "update:model-value": [data: {
86
+ readonly property: T;
87
+ readonly value: any;
88
+ readonly dictionary?: any[];
89
+ }];
90
+ };
91
+ }) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
92
+ [key: string]: any;
93
+ }> & {
94
+ __ctx?: {
95
+ props: {
96
+ property: T;
97
+ modelValue: any;
98
+ optionsGetter: (property: T, keyword?: string) => Promise<unknown[]> | unknown[];
99
+ required: boolean;
100
+ multivalue?: boolean;
101
+ valueType: string;
102
+ dictionary?: boolean;
103
+ name: string;
104
+ optionsValue?: string;
105
+ optionsLabel?: string;
106
+ displayNames?: {
107
+ name?: string;
108
+ languageCode?: string;
109
+ }[];
110
+ rules?: {
111
+ min: number;
112
+ max: number;
113
+ regex: string;
114
+ };
115
+ disabled?: boolean;
116
+ placeholder?: string;
117
+ };
118
+ expose(exposed: {}): void;
119
+ attrs: any;
120
+ slots: {};
121
+ emit: {
122
+ "update:model-value": [data: {
123
+ readonly property: T;
124
+ readonly value: any;
125
+ readonly dictionary?: any[];
126
+ }];
127
+ };
35
128
  };
36
129
  };
37
- type __VLS_WithDefaults<P, D> = {
38
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
39
- default: D[K];
40
- }> : P[K];
41
- };
42
- type __VLS_Prettify<T> = {
43
- [K in keyof T]: T[K];
44
- } & {};
130
+ export default _default;
45
131
  //# sourceMappingURL=vc-dynamic-property.vue.d.ts.map