@defaultusr/dai-ui 1.1.12 → 1.1.13

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.
@@ -19,8 +19,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
19
19
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
20
20
  "onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
21
21
  }>, {
22
- color: "primary" | "secondary" | "success" | "warning" | "danger" | "info";
23
22
  showValidationError: boolean;
23
+ color: "primary" | "secondary" | "success" | "warning" | "danger" | "info";
24
24
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
25
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
26
26
  export default _default;
@@ -9,7 +9,9 @@ declare const meta: {
9
9
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
10
10
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
11
  "update:modelValue": (value: any) => any;
12
- }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
12
+ }, import("vue").PublicProps, {
13
+ validators: import("vue-composable-ui").Validator[];
14
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
13
15
  P: {};
14
16
  B: {};
15
17
  D: {};
@@ -20,7 +22,9 @@ declare const meta: {
20
22
  modelValue?: any;
21
23
  }> & Readonly<{
22
24
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
23
- }>, {}, {}, {}, {}, {}>;
25
+ }>, {}, {}, {}, {}, {
26
+ validators: import("vue-composable-ui").Validator[];
27
+ }>;
24
28
  __isFragment?: never;
25
29
  __isTeleport?: never;
26
30
  __isSuspense?: never;
@@ -30,7 +34,9 @@ declare const meta: {
30
34
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
31
35
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
32
36
  "update:modelValue": (value: any) => any;
33
- }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
37
+ }, string, {
38
+ validators: import("vue-composable-ui").Validator[];
39
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
34
40
  $slots: {
35
41
  default?: (props: {}) => any;
36
42
  };
@@ -117,7 +123,9 @@ declare const meta: {
117
123
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
118
124
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
119
125
  "update:modelValue": (value: any) => any;
120
- }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
126
+ }, import("vue").PublicProps, {
127
+ validators: import("vue-composable-ui").Validator[];
128
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
121
129
  P: {};
122
130
  B: {};
123
131
  D: {};
@@ -128,7 +136,9 @@ declare const meta: {
128
136
  modelValue?: any;
129
137
  }> & Readonly<{
130
138
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
131
- }>, {}, {}, {}, {}, {}>;
139
+ }>, {}, {}, {}, {}, {
140
+ validators: import("vue-composable-ui").Validator[];
141
+ }>;
132
142
  __isFragment?: never;
133
143
  __isTeleport?: never;
134
144
  __isSuspense?: never;
@@ -138,7 +148,9 @@ declare const meta: {
138
148
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
139
149
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
140
150
  "update:modelValue": (value: any) => any;
141
- }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
151
+ }, string, {
152
+ validators: import("vue-composable-ui").Validator[];
153
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
142
154
  $slots: {
143
155
  default?: (props: {}) => any;
144
156
  };
@@ -151,7 +163,9 @@ declare const meta: {
151
163
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
152
164
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
153
165
  "update:modelValue": (value: any) => any;
154
- }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
166
+ }, import("vue").PublicProps, {
167
+ validators: import("vue-composable-ui").Validator[];
168
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
155
169
  P: {};
156
170
  B: {};
157
171
  D: {};
@@ -162,7 +176,9 @@ declare const meta: {
162
176
  modelValue?: any;
163
177
  }> & Readonly<{
164
178
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
165
- }>, {}, {}, {}, {}, {}>;
179
+ }>, {}, {}, {}, {}, {
180
+ validators: import("vue-composable-ui").Validator[];
181
+ }>;
166
182
  __isFragment?: never;
167
183
  __isTeleport?: never;
168
184
  __isSuspense?: never;
@@ -172,7 +188,9 @@ declare const meta: {
172
188
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
173
189
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
174
190
  "update:modelValue": (value: any) => any;
175
- }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
191
+ }, string, {
192
+ validators: import("vue-composable-ui").Validator[];
193
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
176
194
  $slots: {
177
195
  default?: (props: {}) => any;
178
196
  };
@@ -246,7 +264,9 @@ declare const meta: {
246
264
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
247
265
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
248
266
  "update:modelValue": (value: any) => any;
249
- }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
267
+ }, import("vue").PublicProps, {
268
+ validators: import("vue-composable-ui").Validator[];
269
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
250
270
  P: {};
251
271
  B: {};
252
272
  D: {};
@@ -257,7 +277,9 @@ declare const meta: {
257
277
  modelValue?: any;
258
278
  }> & Readonly<{
259
279
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
260
- }>, {}, {}, {}, {}, {}>;
280
+ }>, {}, {}, {}, {}, {
281
+ validators: import("vue-composable-ui").Validator[];
282
+ }>;
261
283
  __isFragment?: never;
262
284
  __isTeleport?: never;
263
285
  __isSuspense?: never;
@@ -267,7 +289,9 @@ declare const meta: {
267
289
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
268
290
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
269
291
  "update:modelValue": (value: any) => any;
270
- }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
292
+ }, string, {
293
+ validators: import("vue-composable-ui").Validator[];
294
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
271
295
  $slots: {
272
296
  default?: (props: {}) => any;
273
297
  };
@@ -1,6 +1,9 @@
1
+ import { type Validator } from "vue-composable-ui";
1
2
  import { IFormControlProps } from "../common/formControl.vue";
2
3
  export interface IComboboxProps extends IFormControlProps {
3
4
  id?: string;
5
+ validators?: Validator[];
6
+ showValidationError?: boolean;
4
7
  }
5
8
  type __VLS_Props = IComboboxProps;
6
9
  type __VLS_PublicProps = __VLS_Props & {
@@ -14,7 +17,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
14
17
  "update:modelValue": (value: any) => any;
15
18
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
19
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
17
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ }>, {
21
+ validators: Validator[];
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
23
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
24
  export default _default;
20
25
  type __VLS_WithSlots<T, S> = T & {
@@ -23,8 +23,8 @@ declare const meta: {
23
23
  "update:files": (value: FileList | null | undefined) => any;
24
24
  }, import("vue").PublicProps, {
25
25
  type: "text" | "number" | "email" | "tel" | "password" | "date" | "datetime-local" | "time" | "color" | "url" | "file";
26
- autocomplete: string | boolean;
27
26
  showValidationError: boolean;
27
+ autocomplete: string | boolean;
28
28
  }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
29
29
  P: {};
30
30
  B: {};
@@ -50,8 +50,8 @@ declare const meta: {
50
50
  "onUpdate:files"?: ((value: FileList | null | undefined) => any) | undefined;
51
51
  }>, {}, {}, {}, {}, {
52
52
  type: "text" | "number" | "email" | "tel" | "password" | "date" | "datetime-local" | "time" | "color" | "url" | "file";
53
- autocomplete: string | boolean;
54
53
  showValidationError: boolean;
54
+ autocomplete: string | boolean;
55
55
  }>;
56
56
  __isFragment?: never;
57
57
  __isTeleport?: never;
@@ -77,8 +77,8 @@ declare const meta: {
77
77
  "update:files": (value: FileList | null | undefined) => any;
78
78
  }, string, {
79
79
  type: "text" | "number" | "email" | "tel" | "password" | "date" | "datetime-local" | "time" | "color" | "url" | "file";
80
- autocomplete: string | boolean;
81
80
  showValidationError: boolean;
81
+ autocomplete: string | boolean;
82
82
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
83
83
  $slots: {
84
84
  prepend?: (props: {}) => any;
@@ -29,8 +29,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
29
29
  "onUpdate:files"?: ((value: FileList | null | undefined) => any) | undefined;
30
30
  }>, {
31
31
  type: "text" | "number" | "email" | "tel" | "password" | "date" | "datetime-local" | "time" | "color" | "url" | "file";
32
- autocomplete: string | boolean;
33
32
  showValidationError: boolean;
33
+ autocomplete: string | boolean;
34
34
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
36
36
  export default _default;
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {},
14
14
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
15
15
  "onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
16
16
  }>, {
17
- color: "primary" | "secondary" | "success" | "warning" | "danger" | "info";
18
17
  showValidationError: boolean;
18
+ color: "primary" | "secondary" | "success" | "warning" | "danger" | "info";
19
19
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
20
  export default _default;
@@ -29,6 +29,8 @@ declare const meta: {
29
29
  optionValue?: keyof I | undefined;
30
30
  placeholder?: string | undefined;
31
31
  id?: string | undefined;
32
+ validators?: import("vue-composable-ui").Validator[] | undefined;
33
+ showValidationError?: boolean | undefined;
32
34
  labelPosition?: "above" | "inline" | "inside" | undefined;
33
35
  hint?: string | undefined;
34
36
  validationMessage?: string | undefined;
@@ -67,6 +69,8 @@ declare const meta: {
67
69
  optionValue?: keyof I | undefined;
68
70
  placeholder?: string | undefined;
69
71
  id?: string | undefined;
72
+ validators?: import("vue-composable-ui").Validator[] | undefined;
73
+ showValidationError?: boolean | undefined;
70
74
  labelPosition?: "above" | "inline" | "inside" | undefined;
71
75
  hint?: string | undefined;
72
76
  validationMessage?: string | undefined;
@@ -106,6 +110,8 @@ declare const meta: {
106
110
  optionValue?: keyof I | undefined;
107
111
  placeholder?: string | undefined;
108
112
  id?: string | undefined;
113
+ validators?: import("vue-composable-ui").Validator[] | undefined;
114
+ showValidationError?: boolean | undefined;
109
115
  labelPosition?: "above" | "inline" | "inside" | undefined;
110
116
  hint?: string | undefined;
111
117
  validationMessage?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defaultusr/dai-ui",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -75,6 +75,6 @@
75
75
  "dependencies": {
76
76
  "@unocss/preset-wind4": "^66.4.0",
77
77
  "imask": "^7.6.1",
78
- "vue-composable-ui": "^1.0.6"
78
+ "vue-composable-ui": "^1.1.1"
79
79
  }
80
80
  }