@mantine-vue/core 2.4.0 → 3.0.0
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/cjs/index.cjs +732 -165
- package/cjs/index.cjs.map +1 -1
- package/esm/index.mjs +732 -165
- package/esm/index.mjs.map +1 -1
- package/lib/components/AngleSlider/AngleSlider.d.ts +15 -2
- package/lib/components/Autocomplete/Autocomplete.d.ts +3 -1
- package/lib/components/Cascader/Cascader.d.ts +2 -1
- package/lib/components/Checkbox/Checkbox.d.ts +91 -9
- package/lib/components/Checkbox/CheckboxCard/CheckboxCard.d.ts +15 -2
- package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.d.ts +14 -2
- package/lib/components/Chip/Chip.d.ts +46 -7
- package/lib/components/Chip/ChipGroup/ChipGroup.d.ts +14 -2
- package/lib/components/ColorInput/ColorInput.d.ts +2 -1
- package/lib/components/ColorPicker/AlphaSlider/AlphaSlider.d.ts +26 -4
- package/lib/components/ColorPicker/ColorPicker.d.ts +14 -2
- package/lib/components/ColorPicker/ColorSlider/ColorSlider.d.ts +26 -4
- package/lib/components/ColorPicker/HueSlider/HueSlider.d.ts +26 -4
- package/lib/components/Combobox/Combobox.d.ts +64 -4
- package/lib/components/ComboboxPopover/ComboboxPopover.d.ts +45 -7
- package/lib/components/FileButton/FileButton.d.ts +17 -4
- package/lib/components/FileInput/FileInput.d.ts +14 -2
- package/lib/components/Input/Input.d.ts +74 -5
- package/lib/components/InputBase/InputBase.d.ts +41 -2
- package/lib/components/JsonInput/JsonInput.d.ts +14 -2
- package/lib/components/MaskInput/MaskInput.d.ts +45 -2
- package/lib/components/Menu/Menu.d.ts +82 -4
- package/lib/components/MultiSelect/MultiSelect.d.ts +2 -1
- package/lib/components/NativeSelect/NativeSelect.d.ts +19 -6
- package/lib/components/NumberInput/NumberInput.d.ts +14 -2
- package/lib/components/PasswordInput/PasswordInput.d.ts +41 -2
- package/lib/components/PillsInput/PillsInput.d.ts +41 -2
- package/lib/components/PillsInput/PillsInputField/PillsInputField.d.ts +41 -2
- package/lib/components/PinInput/PinInput.d.ts +15 -2
- package/lib/components/Radio/Radio.d.ts +124 -9
- package/lib/components/Radio/RadioCard/RadioCard.d.ts +33 -2
- package/lib/components/Radio/RadioGroup/RadioGroup.d.ts +14 -2
- package/lib/components/Rating/Rating.d.ts +14 -2
- package/lib/components/SegmentedControl/SegmentedControl.d.ts +14 -2
- package/lib/components/Select/Select.d.ts +3 -2
- package/lib/components/Slider/RangeSlider/RangeSlider.d.ts +14 -2
- package/lib/components/Slider/Slider/Slider.d.ts +14 -2
- package/lib/components/Switch/Switch.d.ts +67 -13
- package/lib/components/Switch/SwitchGroup/SwitchGroup.d.ts +15 -3
- package/lib/components/TagsInput/TagsInput.d.ts +2 -1
- package/lib/components/TextInput/TextInput.d.ts +36 -2
- package/lib/components/Textarea/Textarea.d.ts +32 -2
- package/lib/components/TreeSelect/TreeSelect.d.ts +3 -2
- package/package.json +3 -3
|
@@ -19,6 +19,22 @@ export declare const Input: import("../..").WithBoxProps<{
|
|
|
19
19
|
type: PropType<any>;
|
|
20
20
|
default: string;
|
|
21
21
|
};
|
|
22
|
+
modelValue: {
|
|
23
|
+
type: PropType<any>;
|
|
24
|
+
default: undefined;
|
|
25
|
+
};
|
|
26
|
+
value: {
|
|
27
|
+
type: PropType<any>;
|
|
28
|
+
default: undefined;
|
|
29
|
+
};
|
|
30
|
+
defaultValue: {
|
|
31
|
+
type: PropType<any>;
|
|
32
|
+
default: undefined;
|
|
33
|
+
};
|
|
34
|
+
onChange: {
|
|
35
|
+
type: PropType<(value: any) => void>;
|
|
36
|
+
default: undefined;
|
|
37
|
+
};
|
|
22
38
|
__staticSelector: {
|
|
23
39
|
type: StringConstructor;
|
|
24
40
|
default: undefined;
|
|
@@ -167,25 +183,32 @@ export declare const Input: import("../..").WithBoxProps<{
|
|
|
167
183
|
type: BooleanConstructor;
|
|
168
184
|
default: boolean;
|
|
169
185
|
};
|
|
170
|
-
}>> & Readonly<{
|
|
186
|
+
}>> & Readonly<{
|
|
187
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
188
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
189
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
171
190
|
[key: string]: any;
|
|
172
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
191
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], import("vue").PublicProps, {
|
|
173
192
|
size: number | MantineSize | (string & {});
|
|
174
193
|
radius: MantineRadius;
|
|
175
194
|
pointer: boolean;
|
|
176
195
|
variant: InputVariant;
|
|
177
196
|
error: any;
|
|
197
|
+
onChange: (value: any) => void;
|
|
198
|
+
value: any;
|
|
178
199
|
classNames: Function | Record<string, any>;
|
|
179
200
|
styles: Function | Record<string, any>;
|
|
180
201
|
required: boolean;
|
|
181
202
|
multiline: boolean;
|
|
182
203
|
disabled: boolean;
|
|
204
|
+
defaultValue: any;
|
|
183
205
|
mod: any;
|
|
184
206
|
id: string;
|
|
185
207
|
component: any;
|
|
186
208
|
vars: Function | Record<string, any>;
|
|
187
209
|
unstyled: boolean;
|
|
188
210
|
__staticSelector: string;
|
|
211
|
+
modelValue: any;
|
|
189
212
|
leftSection: MantineNode;
|
|
190
213
|
rightSection: MantineNode;
|
|
191
214
|
loading: boolean;
|
|
@@ -220,6 +243,22 @@ export declare const Input: import("../..").WithBoxProps<{
|
|
|
220
243
|
type: PropType<any>;
|
|
221
244
|
default: string;
|
|
222
245
|
};
|
|
246
|
+
modelValue: {
|
|
247
|
+
type: PropType<any>;
|
|
248
|
+
default: undefined;
|
|
249
|
+
};
|
|
250
|
+
value: {
|
|
251
|
+
type: PropType<any>;
|
|
252
|
+
default: undefined;
|
|
253
|
+
};
|
|
254
|
+
defaultValue: {
|
|
255
|
+
type: PropType<any>;
|
|
256
|
+
default: undefined;
|
|
257
|
+
};
|
|
258
|
+
onChange: {
|
|
259
|
+
type: PropType<(value: any) => void>;
|
|
260
|
+
default: undefined;
|
|
261
|
+
};
|
|
223
262
|
__staticSelector: {
|
|
224
263
|
type: StringConstructor;
|
|
225
264
|
default: undefined;
|
|
@@ -368,7 +407,10 @@ export declare const Input: import("../..").WithBoxProps<{
|
|
|
368
407
|
type: BooleanConstructor;
|
|
369
408
|
default: boolean;
|
|
370
409
|
};
|
|
371
|
-
}>> & Readonly<{
|
|
410
|
+
}>> & Readonly<{
|
|
411
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
412
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
413
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
372
414
|
[key: string]: any;
|
|
373
415
|
}>, {}, {}, {}, {
|
|
374
416
|
size: number | MantineSize | (string & {});
|
|
@@ -376,17 +418,21 @@ export declare const Input: import("../..").WithBoxProps<{
|
|
|
376
418
|
pointer: boolean;
|
|
377
419
|
variant: InputVariant;
|
|
378
420
|
error: any;
|
|
421
|
+
onChange: (value: any) => void;
|
|
422
|
+
value: any;
|
|
379
423
|
classNames: Function | Record<string, any>;
|
|
380
424
|
styles: Function | Record<string, any>;
|
|
381
425
|
required: boolean;
|
|
382
426
|
multiline: boolean;
|
|
383
427
|
disabled: boolean;
|
|
428
|
+
defaultValue: any;
|
|
384
429
|
mod: any;
|
|
385
430
|
id: string;
|
|
386
431
|
component: any;
|
|
387
432
|
vars: Function | Record<string, any>;
|
|
388
433
|
unstyled: boolean;
|
|
389
434
|
__staticSelector: string;
|
|
435
|
+
modelValue: any;
|
|
390
436
|
leftSection: MantineNode;
|
|
391
437
|
rightSection: MantineNode;
|
|
392
438
|
loading: boolean;
|
|
@@ -418,6 +464,22 @@ export declare const Input: import("../..").WithBoxProps<{
|
|
|
418
464
|
type: PropType<any>;
|
|
419
465
|
default: string;
|
|
420
466
|
};
|
|
467
|
+
modelValue: {
|
|
468
|
+
type: PropType<any>;
|
|
469
|
+
default: undefined;
|
|
470
|
+
};
|
|
471
|
+
value: {
|
|
472
|
+
type: PropType<any>;
|
|
473
|
+
default: undefined;
|
|
474
|
+
};
|
|
475
|
+
defaultValue: {
|
|
476
|
+
type: PropType<any>;
|
|
477
|
+
default: undefined;
|
|
478
|
+
};
|
|
479
|
+
onChange: {
|
|
480
|
+
type: PropType<(value: any) => void>;
|
|
481
|
+
default: undefined;
|
|
482
|
+
};
|
|
421
483
|
__staticSelector: {
|
|
422
484
|
type: StringConstructor;
|
|
423
485
|
default: undefined;
|
|
@@ -566,25 +628,32 @@ export declare const Input: import("../..").WithBoxProps<{
|
|
|
566
628
|
type: BooleanConstructor;
|
|
567
629
|
default: boolean;
|
|
568
630
|
};
|
|
569
|
-
}>> & Readonly<{
|
|
631
|
+
}>> & Readonly<{
|
|
632
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
633
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
634
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
570
635
|
[key: string]: any;
|
|
571
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
636
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", {
|
|
572
637
|
size: number | MantineSize | (string & {});
|
|
573
638
|
radius: MantineRadius;
|
|
574
639
|
pointer: boolean;
|
|
575
640
|
variant: InputVariant;
|
|
576
641
|
error: any;
|
|
642
|
+
onChange: (value: any) => void;
|
|
643
|
+
value: any;
|
|
577
644
|
classNames: Function | Record<string, any>;
|
|
578
645
|
styles: Function | Record<string, any>;
|
|
579
646
|
required: boolean;
|
|
580
647
|
multiline: boolean;
|
|
581
648
|
disabled: boolean;
|
|
649
|
+
defaultValue: any;
|
|
582
650
|
mod: any;
|
|
583
651
|
id: string;
|
|
584
652
|
component: any;
|
|
585
653
|
vars: Function | Record<string, any>;
|
|
586
654
|
unstyled: boolean;
|
|
587
655
|
__staticSelector: string;
|
|
656
|
+
modelValue: any;
|
|
588
657
|
leftSection: MantineNode;
|
|
589
658
|
rightSection: MantineNode;
|
|
590
659
|
loading: boolean;
|
|
@@ -13,6 +13,22 @@ export declare const InputBase: import("../..").WithBoxProps<import("vue").Defin
|
|
|
13
13
|
type: PropType<any>;
|
|
14
14
|
default: string;
|
|
15
15
|
};
|
|
16
|
+
modelValue: {
|
|
17
|
+
type: PropType<any>;
|
|
18
|
+
default: undefined;
|
|
19
|
+
};
|
|
20
|
+
value: {
|
|
21
|
+
type: PropType<any>;
|
|
22
|
+
default: undefined;
|
|
23
|
+
};
|
|
24
|
+
defaultValue: {
|
|
25
|
+
type: PropType<any>;
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
28
|
+
onChange: {
|
|
29
|
+
type: PropType<(value: any) => void>;
|
|
30
|
+
default: undefined;
|
|
31
|
+
};
|
|
16
32
|
__staticSelector: {
|
|
17
33
|
type: StringConstructor;
|
|
18
34
|
default: string;
|
|
@@ -199,11 +215,27 @@ export declare const InputBase: import("../..").WithBoxProps<import("vue").Defin
|
|
|
199
215
|
};
|
|
200
216
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
201
217
|
[key: string]: any;
|
|
202
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
218
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
203
219
|
component: {
|
|
204
220
|
type: PropType<any>;
|
|
205
221
|
default: string;
|
|
206
222
|
};
|
|
223
|
+
modelValue: {
|
|
224
|
+
type: PropType<any>;
|
|
225
|
+
default: undefined;
|
|
226
|
+
};
|
|
227
|
+
value: {
|
|
228
|
+
type: PropType<any>;
|
|
229
|
+
default: undefined;
|
|
230
|
+
};
|
|
231
|
+
defaultValue: {
|
|
232
|
+
type: PropType<any>;
|
|
233
|
+
default: undefined;
|
|
234
|
+
};
|
|
235
|
+
onChange: {
|
|
236
|
+
type: PropType<(value: any) => void>;
|
|
237
|
+
default: undefined;
|
|
238
|
+
};
|
|
207
239
|
__staticSelector: {
|
|
208
240
|
type: StringConstructor;
|
|
209
241
|
default: string;
|
|
@@ -388,25 +420,32 @@ export declare const InputBase: import("../..").WithBoxProps<import("vue").Defin
|
|
|
388
420
|
type: PropType<any>;
|
|
389
421
|
default: undefined;
|
|
390
422
|
};
|
|
391
|
-
}>> & Readonly<{
|
|
423
|
+
}>> & Readonly<{
|
|
424
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
425
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
426
|
+
}>, {
|
|
392
427
|
size: number | MantineSize | (string & {});
|
|
393
428
|
label: MantineNode;
|
|
394
429
|
radius: MantineRadius;
|
|
395
430
|
pointer: boolean;
|
|
396
431
|
variant: "default" | "filled" | "unstyled";
|
|
397
432
|
error: MantineNode;
|
|
433
|
+
onChange: (value: any) => void;
|
|
434
|
+
value: any;
|
|
398
435
|
classNames: Function | Record<string, any>;
|
|
399
436
|
styles: Function | Record<string, any>;
|
|
400
437
|
required: boolean;
|
|
401
438
|
description: MantineNode;
|
|
402
439
|
multiline: boolean;
|
|
403
440
|
disabled: boolean;
|
|
441
|
+
defaultValue: any;
|
|
404
442
|
mod: any;
|
|
405
443
|
id: string;
|
|
406
444
|
component: any;
|
|
407
445
|
vars: Function | Record<string, any>;
|
|
408
446
|
unstyled: boolean;
|
|
409
447
|
__staticSelector: string;
|
|
448
|
+
modelValue: any;
|
|
410
449
|
leftSection: any;
|
|
411
450
|
rightSection: MantineNode;
|
|
412
451
|
loading: boolean;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
2
|
export declare const JsonInput: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: undefined;
|
|
6
|
+
};
|
|
3
7
|
value: {
|
|
4
8
|
type: StringConstructor;
|
|
5
9
|
default: undefined;
|
|
@@ -45,7 +49,11 @@ export declare const JsonInput: import("vue").DefineComponent<import("vue").Extr
|
|
|
45
49
|
};
|
|
46
50
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
47
51
|
[key: string]: any;
|
|
48
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
52
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
53
|
+
modelValue: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
default: undefined;
|
|
56
|
+
};
|
|
49
57
|
value: {
|
|
50
58
|
type: StringConstructor;
|
|
51
59
|
default: undefined;
|
|
@@ -89,7 +97,10 @@ export declare const JsonInput: import("vue").DefineComponent<import("vue").Extr
|
|
|
89
97
|
type: PropType<any>;
|
|
90
98
|
default: undefined;
|
|
91
99
|
};
|
|
92
|
-
}>> & Readonly<{
|
|
100
|
+
}>> & Readonly<{
|
|
101
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
102
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
103
|
+
}>, {
|
|
93
104
|
error: any;
|
|
94
105
|
onChange: (value: string) => void;
|
|
95
106
|
value: string;
|
|
@@ -99,6 +110,7 @@ export declare const JsonInput: import("vue").DefineComponent<import("vue").Extr
|
|
|
99
110
|
(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
|
|
100
111
|
(value: any, replacer?: (number | string)[] | null, space?: string | number): string;
|
|
101
112
|
};
|
|
113
|
+
modelValue: string;
|
|
102
114
|
readOnly: boolean;
|
|
103
115
|
formatOnBlur: boolean;
|
|
104
116
|
validationError: any;
|
|
@@ -2,6 +2,10 @@ import { type PropType } from 'vue';
|
|
|
2
2
|
import { type MaskInputMask, type MaskInputState } from './use-mask-input';
|
|
3
3
|
export interface MaskInputProps {
|
|
4
4
|
mask: MaskInputMask;
|
|
5
|
+
modelValue?: string;
|
|
6
|
+
value?: string;
|
|
7
|
+
defaultValue?: string;
|
|
8
|
+
onChange?: (value: string) => void;
|
|
5
9
|
tokens?: Record<string, RegExp>;
|
|
6
10
|
modify?: (value: string) => Partial<Pick<MaskInputProps, 'mask' | 'tokens' | 'slotChar' | 'separate'>> | undefined;
|
|
7
11
|
separate?: boolean;
|
|
@@ -24,6 +28,22 @@ export declare const MaskInput: import("vue").DefineComponent<import("vue").Extr
|
|
|
24
28
|
type: PropType<MaskInputMask>;
|
|
25
29
|
required: true;
|
|
26
30
|
};
|
|
31
|
+
modelValue: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: undefined;
|
|
34
|
+
};
|
|
35
|
+
value: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: undefined;
|
|
38
|
+
};
|
|
39
|
+
defaultValue: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: undefined;
|
|
42
|
+
};
|
|
43
|
+
onChange: {
|
|
44
|
+
type: PropType<(value: string) => void>;
|
|
45
|
+
default: undefined;
|
|
46
|
+
};
|
|
27
47
|
tokens: {
|
|
28
48
|
type: PropType<Record<string, RegExp>>;
|
|
29
49
|
default: undefined;
|
|
@@ -74,11 +94,27 @@ export declare const MaskInput: import("vue").DefineComponent<import("vue").Extr
|
|
|
74
94
|
};
|
|
75
95
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
76
96
|
[key: string]: any;
|
|
77
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
97
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
78
98
|
mask: {
|
|
79
99
|
type: PropType<MaskInputMask>;
|
|
80
100
|
required: true;
|
|
81
101
|
};
|
|
102
|
+
modelValue: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
default: undefined;
|
|
105
|
+
};
|
|
106
|
+
value: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
default: undefined;
|
|
109
|
+
};
|
|
110
|
+
defaultValue: {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
default: undefined;
|
|
113
|
+
};
|
|
114
|
+
onChange: {
|
|
115
|
+
type: PropType<(value: string) => void>;
|
|
116
|
+
default: undefined;
|
|
117
|
+
};
|
|
82
118
|
tokens: {
|
|
83
119
|
type: PropType<Record<string, RegExp>>;
|
|
84
120
|
default: undefined;
|
|
@@ -127,7 +163,13 @@ export declare const MaskInput: import("vue").DefineComponent<import("vue").Extr
|
|
|
127
163
|
type: PropType<any>;
|
|
128
164
|
default: undefined;
|
|
129
165
|
};
|
|
130
|
-
}>> & Readonly<{
|
|
166
|
+
}>> & Readonly<{
|
|
167
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
168
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
169
|
+
}>, {
|
|
170
|
+
onChange: (value: string) => void;
|
|
171
|
+
value: string;
|
|
172
|
+
defaultValue: string;
|
|
131
173
|
separate: boolean;
|
|
132
174
|
transform: (char: string) => string;
|
|
133
175
|
tokens: Record<string, RegExp>;
|
|
@@ -143,5 +185,6 @@ export declare const MaskInput: import("vue").DefineComponent<import("vue").Extr
|
|
|
143
185
|
currentState: MaskInputState;
|
|
144
186
|
nextState: MaskInputState;
|
|
145
187
|
}) => MaskInputState) | undefined;
|
|
188
|
+
modelValue: string;
|
|
146
189
|
resetRef: any;
|
|
147
190
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -98,18 +98,57 @@ export declare const MenuDivider: import("vue").DefineComponent<{}, () => import
|
|
|
98
98
|
[key: string]: any;
|
|
99
99
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
100
100
|
export declare const MenuSearch: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
101
|
+
modelValue: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
default: undefined;
|
|
104
|
+
};
|
|
105
|
+
value: {
|
|
106
|
+
type: StringConstructor;
|
|
107
|
+
default: undefined;
|
|
108
|
+
};
|
|
109
|
+
defaultValue: {
|
|
110
|
+
type: StringConstructor;
|
|
111
|
+
default: undefined;
|
|
112
|
+
};
|
|
113
|
+
onChange: {
|
|
114
|
+
type: PropType<(value: string) => void>;
|
|
115
|
+
default: undefined;
|
|
116
|
+
};
|
|
101
117
|
clearSearchOnClose: {
|
|
102
118
|
type: BooleanConstructor;
|
|
103
119
|
default: boolean;
|
|
104
120
|
};
|
|
105
121
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
106
122
|
[key: string]: any;
|
|
107
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
123
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
124
|
+
modelValue: {
|
|
125
|
+
type: StringConstructor;
|
|
126
|
+
default: undefined;
|
|
127
|
+
};
|
|
128
|
+
value: {
|
|
129
|
+
type: StringConstructor;
|
|
130
|
+
default: undefined;
|
|
131
|
+
};
|
|
132
|
+
defaultValue: {
|
|
133
|
+
type: StringConstructor;
|
|
134
|
+
default: undefined;
|
|
135
|
+
};
|
|
136
|
+
onChange: {
|
|
137
|
+
type: PropType<(value: string) => void>;
|
|
138
|
+
default: undefined;
|
|
139
|
+
};
|
|
108
140
|
clearSearchOnClose: {
|
|
109
141
|
type: BooleanConstructor;
|
|
110
142
|
default: boolean;
|
|
111
143
|
};
|
|
112
|
-
}>> & Readonly<{
|
|
144
|
+
}>> & Readonly<{
|
|
145
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
146
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
147
|
+
}>, {
|
|
148
|
+
onChange: (value: string) => void;
|
|
149
|
+
value: string;
|
|
150
|
+
defaultValue: string;
|
|
151
|
+
modelValue: string;
|
|
113
152
|
clearSearchOnClose: boolean;
|
|
114
153
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
115
154
|
export declare const MenuCheckboxGroup: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -784,18 +823,57 @@ export declare const Menu: {
|
|
|
784
823
|
[key: string]: any;
|
|
785
824
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
786
825
|
Search: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
826
|
+
modelValue: {
|
|
827
|
+
type: StringConstructor;
|
|
828
|
+
default: undefined;
|
|
829
|
+
};
|
|
830
|
+
value: {
|
|
831
|
+
type: StringConstructor;
|
|
832
|
+
default: undefined;
|
|
833
|
+
};
|
|
834
|
+
defaultValue: {
|
|
835
|
+
type: StringConstructor;
|
|
836
|
+
default: undefined;
|
|
837
|
+
};
|
|
838
|
+
onChange: {
|
|
839
|
+
type: PropType<(value: string) => void>;
|
|
840
|
+
default: undefined;
|
|
841
|
+
};
|
|
787
842
|
clearSearchOnClose: {
|
|
788
843
|
type: BooleanConstructor;
|
|
789
844
|
default: boolean;
|
|
790
845
|
};
|
|
791
846
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
792
847
|
[key: string]: any;
|
|
793
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
848
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
849
|
+
modelValue: {
|
|
850
|
+
type: StringConstructor;
|
|
851
|
+
default: undefined;
|
|
852
|
+
};
|
|
853
|
+
value: {
|
|
854
|
+
type: StringConstructor;
|
|
855
|
+
default: undefined;
|
|
856
|
+
};
|
|
857
|
+
defaultValue: {
|
|
858
|
+
type: StringConstructor;
|
|
859
|
+
default: undefined;
|
|
860
|
+
};
|
|
861
|
+
onChange: {
|
|
862
|
+
type: PropType<(value: string) => void>;
|
|
863
|
+
default: undefined;
|
|
864
|
+
};
|
|
794
865
|
clearSearchOnClose: {
|
|
795
866
|
type: BooleanConstructor;
|
|
796
867
|
default: boolean;
|
|
797
868
|
};
|
|
798
|
-
}>> & Readonly<{
|
|
869
|
+
}>> & Readonly<{
|
|
870
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
871
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
872
|
+
}>, {
|
|
873
|
+
onChange: (value: string) => void;
|
|
874
|
+
value: string;
|
|
875
|
+
defaultValue: string;
|
|
876
|
+
modelValue: string;
|
|
799
877
|
clearSearchOnClose: boolean;
|
|
800
878
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
801
879
|
Sub: {
|
|
@@ -113,7 +113,7 @@ export declare const MultiSelect: import("vue").DefineComponent<import("vue").Ex
|
|
|
113
113
|
selectFirstOptionOnDropdownOpen: BooleanConstructor;
|
|
114
114
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
115
115
|
[key: string]: any;
|
|
116
|
-
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:searchValue")[], "update:modelValue" | "update:searchValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
116
|
+
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:searchValue")[], "change" | "update:modelValue" | "update:searchValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
117
117
|
modelValue: PropType<Primitive[]>;
|
|
118
118
|
value: PropType<Primitive[]>;
|
|
119
119
|
defaultValue: {
|
|
@@ -185,6 +185,7 @@ export declare const MultiSelect: import("vue").DefineComponent<import("vue").Ex
|
|
|
185
185
|
};
|
|
186
186
|
selectFirstOptionOnDropdownOpen: BooleanConstructor;
|
|
187
187
|
}>> & Readonly<{
|
|
188
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
188
189
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
189
190
|
"onUpdate:searchValue"?: ((...args: any[]) => any) | undefined;
|
|
190
191
|
}>, {
|
|
@@ -22,9 +22,10 @@ export interface NativeSelectProps {
|
|
|
22
22
|
id?: string;
|
|
23
23
|
name?: string;
|
|
24
24
|
form?: string;
|
|
25
|
+
modelValue?: string;
|
|
25
26
|
value?: string;
|
|
26
27
|
defaultValue?: string;
|
|
27
|
-
onChange?: (
|
|
28
|
+
onChange?: (value: string) => void;
|
|
28
29
|
variant?: 'default' | 'filled' | 'unstyled';
|
|
29
30
|
radius?: string | number;
|
|
30
31
|
classNames?: Record<string, string> | ((theme: any, props: any) => Record<string, string>);
|
|
@@ -81,6 +82,10 @@ export declare const NativeSelect: import("vue").DefineComponent<import("vue").E
|
|
|
81
82
|
type: StringConstructor;
|
|
82
83
|
default: undefined;
|
|
83
84
|
};
|
|
85
|
+
modelValue: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: undefined;
|
|
88
|
+
};
|
|
84
89
|
value: {
|
|
85
90
|
type: StringConstructor;
|
|
86
91
|
default: undefined;
|
|
@@ -90,7 +95,7 @@ export declare const NativeSelect: import("vue").DefineComponent<import("vue").E
|
|
|
90
95
|
default: undefined;
|
|
91
96
|
};
|
|
92
97
|
onChange: {
|
|
93
|
-
type: PropType<(
|
|
98
|
+
type: PropType<(value: string) => void>;
|
|
94
99
|
default: undefined;
|
|
95
100
|
};
|
|
96
101
|
variant: {
|
|
@@ -119,7 +124,7 @@ export declare const NativeSelect: import("vue").DefineComponent<import("vue").E
|
|
|
119
124
|
};
|
|
120
125
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
121
126
|
[key: string]: any;
|
|
122
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
127
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
123
128
|
data: {
|
|
124
129
|
type: PropType<NativeSelectData<any>>;
|
|
125
130
|
default: undefined;
|
|
@@ -168,6 +173,10 @@ export declare const NativeSelect: import("vue").DefineComponent<import("vue").E
|
|
|
168
173
|
type: StringConstructor;
|
|
169
174
|
default: undefined;
|
|
170
175
|
};
|
|
176
|
+
modelValue: {
|
|
177
|
+
type: StringConstructor;
|
|
178
|
+
default: undefined;
|
|
179
|
+
};
|
|
171
180
|
value: {
|
|
172
181
|
type: StringConstructor;
|
|
173
182
|
default: undefined;
|
|
@@ -177,7 +186,7 @@ export declare const NativeSelect: import("vue").DefineComponent<import("vue").E
|
|
|
177
186
|
default: undefined;
|
|
178
187
|
};
|
|
179
188
|
onChange: {
|
|
180
|
-
type: PropType<(
|
|
189
|
+
type: PropType<(value: string) => void>;
|
|
181
190
|
default: undefined;
|
|
182
191
|
};
|
|
183
192
|
variant: {
|
|
@@ -204,7 +213,10 @@ export declare const NativeSelect: import("vue").DefineComponent<import("vue").E
|
|
|
204
213
|
type: BooleanConstructor;
|
|
205
214
|
default: boolean;
|
|
206
215
|
};
|
|
207
|
-
}>> & Readonly<{
|
|
216
|
+
}>> & Readonly<{
|
|
217
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
218
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
219
|
+
}>, {
|
|
208
220
|
size: number | MantineSize | (string & {});
|
|
209
221
|
data: NativeSelectData<any>;
|
|
210
222
|
form: string;
|
|
@@ -213,7 +225,7 @@ export declare const NativeSelect: import("vue").DefineComponent<import("vue").E
|
|
|
213
225
|
name: string;
|
|
214
226
|
variant: "default" | "filled" | "unstyled";
|
|
215
227
|
error: MantineNode;
|
|
216
|
-
onChange: (
|
|
228
|
+
onChange: (value: string) => void;
|
|
217
229
|
value: string;
|
|
218
230
|
classNames: Function | Record<string, any>;
|
|
219
231
|
styles: Function | Record<string, any>;
|
|
@@ -224,6 +236,7 @@ export declare const NativeSelect: import("vue").DefineComponent<import("vue").E
|
|
|
224
236
|
id: string;
|
|
225
237
|
vars: Function | Record<string, any>;
|
|
226
238
|
unstyled: boolean;
|
|
239
|
+
modelValue: string;
|
|
227
240
|
rightSection: MantineNode;
|
|
228
241
|
rightSectionPointerEvents: string;
|
|
229
242
|
}, SlotsType<NativeSelectSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -15,6 +15,10 @@ export interface NumberInputHandlers {
|
|
|
15
15
|
export type NumberInputValue = number | string | bigint;
|
|
16
16
|
export type NumberInputStylesNames = 'controls' | 'control' | 'input' | 'wrapper' | 'section' | 'bottomSection' | 'root';
|
|
17
17
|
export declare const NumberInput: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
18
|
+
modelValue: {
|
|
19
|
+
type: PropType<NumberInputValue | undefined>;
|
|
20
|
+
default: undefined;
|
|
21
|
+
};
|
|
18
22
|
value: {
|
|
19
23
|
type: PropType<NumberInputValue | undefined>;
|
|
20
24
|
default: undefined;
|
|
@@ -203,7 +207,11 @@ export declare const NumberInput: import("vue").DefineComponent<import("vue").Ex
|
|
|
203
207
|
};
|
|
204
208
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
205
209
|
[key: string]: any;
|
|
206
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
210
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
211
|
+
modelValue: {
|
|
212
|
+
type: PropType<NumberInputValue | undefined>;
|
|
213
|
+
default: undefined;
|
|
214
|
+
};
|
|
207
215
|
value: {
|
|
208
216
|
type: PropType<NumberInputValue | undefined>;
|
|
209
217
|
default: undefined;
|
|
@@ -390,7 +398,10 @@ export declare const NumberInput: import("vue").DefineComponent<import("vue").Ex
|
|
|
390
398
|
type: BooleanConstructor;
|
|
391
399
|
default: boolean;
|
|
392
400
|
};
|
|
393
|
-
}>> & Readonly<{
|
|
401
|
+
}>> & Readonly<{
|
|
402
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
403
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
404
|
+
}>, {
|
|
394
405
|
size: number | MantineSize | (string & {});
|
|
395
406
|
max: number | bigint | undefined;
|
|
396
407
|
label: MantineNode;
|
|
@@ -407,6 +418,7 @@ export declare const NumberInput: import("vue").DefineComponent<import("vue").Ex
|
|
|
407
418
|
step: number | bigint;
|
|
408
419
|
vars: Function | Record<string, any>;
|
|
409
420
|
unstyled: boolean;
|
|
421
|
+
modelValue: NumberInputValue | undefined;
|
|
410
422
|
rightSection: MantineNode;
|
|
411
423
|
min: number | bigint | undefined;
|
|
412
424
|
decimalScale: number;
|