@mantine-vue/core 2.3.1 → 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.
Files changed (84) hide show
  1. package/cjs/index.cjs +1718 -292
  2. package/cjs/index.cjs.map +1 -1
  3. package/esm/index.mjs +1713 -293
  4. package/esm/index.mjs.map +1 -1
  5. package/lib/components/Accordion/Accordion.d.ts +24 -4
  6. package/lib/components/Accordion/index.d.ts +1 -1
  7. package/lib/components/AngleSlider/AngleSlider.d.ts +15 -2
  8. package/lib/components/Autocomplete/Autocomplete.d.ts +3 -1
  9. package/lib/components/Cascader/Cascader.d.ts +315 -0
  10. package/lib/components/Cascader/cascader-utils.d.ts +11 -0
  11. package/lib/components/Cascader/index.d.ts +4 -0
  12. package/lib/components/Checkbox/Checkbox.d.ts +91 -9
  13. package/lib/components/Checkbox/CheckboxCard/CheckboxCard.d.ts +15 -2
  14. package/lib/components/Checkbox/CheckboxGroup/CheckboxGroup.d.ts +14 -2
  15. package/lib/components/Chip/Chip.d.ts +46 -7
  16. package/lib/components/Chip/ChipGroup/ChipGroup.d.ts +14 -2
  17. package/lib/components/ColorInput/ColorInput.d.ts +9 -3
  18. package/lib/components/ColorInput/index.d.ts +1 -1
  19. package/lib/components/ColorPicker/AlphaSlider/AlphaSlider.d.ts +26 -4
  20. package/lib/components/ColorPicker/ColorPicker.d.ts +14 -2
  21. package/lib/components/ColorPicker/ColorSlider/ColorSlider.d.ts +26 -4
  22. package/lib/components/ColorPicker/HueSlider/HueSlider.d.ts +26 -4
  23. package/lib/components/Combobox/Combobox.d.ts +64 -4
  24. package/lib/components/Combobox/OptionsDropdown/OptionsDropdown.d.ts +1 -0
  25. package/lib/components/ComboboxPopover/ComboboxPopover.d.ts +49 -7
  26. package/lib/components/Drawer/Drawer.d.ts +33 -0
  27. package/lib/components/FileButton/FileButton.d.ts +17 -4
  28. package/lib/components/FileInput/FileInput.d.ts +14 -2
  29. package/lib/components/FloatingWindow/FloatingWindow.context.d.ts +23 -0
  30. package/lib/components/FloatingWindow/FloatingWindow.d.ts +37 -0
  31. package/lib/components/FloatingWindow/FloatingWindowResizeHandle.d.ts +27 -0
  32. package/lib/components/FloatingWindow/index.d.ts +2 -0
  33. package/lib/components/Input/Input.d.ts +74 -5
  34. package/lib/components/InputBase/InputBase.d.ts +41 -2
  35. package/lib/components/InputBase/index.d.ts +1 -1
  36. package/lib/components/JsonInput/JsonInput.d.ts +14 -2
  37. package/lib/components/MaskInput/MaskInput.d.ts +45 -2
  38. package/lib/components/Menu/Menu.context.d.ts +1 -0
  39. package/lib/components/Menu/Menu.d.ts +82 -4
  40. package/lib/components/Modal/Modal.d.ts +33 -0
  41. package/lib/components/MultiSelect/MultiSelect.d.ts +9 -1
  42. package/lib/components/MultiSelect/index.d.ts +1 -1
  43. package/lib/components/NativeSelect/NativeSelect.d.ts +19 -6
  44. package/lib/components/NumberInput/NumberInput.d.ts +14 -2
  45. package/lib/components/PasswordInput/PasswordInput.d.ts +45 -2
  46. package/lib/components/PasswordInput/index.d.ts +1 -1
  47. package/lib/components/PillsInput/PillsInput.d.ts +41 -2
  48. package/lib/components/PillsInput/PillsInputField/PillsInputField.d.ts +41 -2
  49. package/lib/components/PinInput/PinInput.d.ts +15 -2
  50. package/lib/components/Radio/Radio.d.ts +124 -9
  51. package/lib/components/Radio/RadioCard/RadioCard.d.ts +33 -2
  52. package/lib/components/Radio/RadioGroup/RadioGroup.d.ts +14 -2
  53. package/lib/components/Rating/Rating.d.ts +14 -2
  54. package/lib/components/ScrollArea/ScrollArea.d.ts +25 -0
  55. package/lib/components/Scroller/Scroller.d.ts +9 -2
  56. package/lib/components/Scroller/index.d.ts +1 -1
  57. package/lib/components/SegmentedControl/SegmentedControl.d.ts +14 -2
  58. package/lib/components/Select/Select.d.ts +4 -2
  59. package/lib/components/Select/index.d.ts +1 -1
  60. package/lib/components/Slider/RangeSlider/RangeSlider.d.ts +14 -2
  61. package/lib/components/Slider/Slider/Slider.d.ts +14 -2
  62. package/lib/components/Slider/index.d.ts +2 -1
  63. package/lib/components/Splitter/Splitter.d.ts +8 -3
  64. package/lib/components/Splitter/index.d.ts +1 -1
  65. package/lib/components/Stepper/Stepper.d.ts +2 -1
  66. package/lib/components/Switch/Switch.d.ts +67 -13
  67. package/lib/components/Switch/SwitchGroup/SwitchGroup.d.ts +15 -3
  68. package/lib/components/Tabs/Tabs.context.d.ts +0 -1
  69. package/lib/components/Tabs/Tabs.d.ts +0 -15
  70. package/lib/components/TagsInput/TagsInput.d.ts +9 -1
  71. package/lib/components/TagsInput/index.d.ts +1 -1
  72. package/lib/components/TextInput/TextInput.d.ts +36 -2
  73. package/lib/components/Textarea/Textarea.d.ts +39 -4
  74. package/lib/components/Textarea/index.d.ts +1 -0
  75. package/lib/components/Timeline/Timeline.d.ts +19 -1
  76. package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +20 -1
  77. package/lib/components/Tree/Tree.d.ts +7 -2
  78. package/lib/components/Tree/index.d.ts +1 -1
  79. package/lib/components/TreeSelect/TreeSelect.d.ts +5 -2
  80. package/lib/components/TreeSelect/index.d.ts +1 -1
  81. package/lib/components/index.d.ts +1 -0
  82. package/package.json +3 -3
  83. package/styles.css +471 -129
  84. package/styles.layer.css +471 -129
@@ -0,0 +1,23 @@
1
+ import type { Ref } from 'vue';
2
+ export interface FloatingWindowDimensions {
3
+ initialWidth?: number;
4
+ minWidth?: number;
5
+ maxWidth?: number;
6
+ initialHeight?: number;
7
+ minHeight?: number;
8
+ maxHeight?: number;
9
+ }
10
+ export interface FloatingWindowSize {
11
+ width: number;
12
+ height: number;
13
+ }
14
+ export interface FloatingWindowContextValue {
15
+ rootRef: Ref<HTMLDivElement | null>;
16
+ dimensions?: FloatingWindowDimensions;
17
+ constrainToViewport?: boolean;
18
+ constrainOffset?: number;
19
+ onResizeStart?: () => void;
20
+ onResizeEnd?: () => void;
21
+ onSizeChange?: (size: FloatingWindowSize) => void;
22
+ }
23
+ export declare const provideFloatingWindowContext: (value: FloatingWindowContextValue) => void, useFloatingWindowContext: () => FloatingWindowContextValue;
@@ -1,5 +1,6 @@
1
1
  import { type PropType, type Ref } from 'vue';
2
2
  import { type FloatingWindowPosition, type FloatingWindowPositionConfig, type SetFloatingWindowPosition } from '@mantine-vue/hooks';
3
+ import { type FloatingWindowDimensions, type FloatingWindowSize } from './FloatingWindow.context';
3
4
  export type FloatingWindowStylesNames = 'root';
4
5
  export declare const FloatingWindow: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
6
  enabled: {
@@ -58,6 +59,22 @@ export declare const FloatingWindow: import("vue").DefineComponent<import("vue")
58
59
  type: PropType<string | number>;
59
60
  default: undefined;
60
61
  };
62
+ dimensions: {
63
+ type: PropType<FloatingWindowDimensions>;
64
+ default: undefined;
65
+ };
66
+ onSizeChange: {
67
+ type: PropType<(size: FloatingWindowSize) => void>;
68
+ default: undefined;
69
+ };
70
+ onResizeStart: {
71
+ type: PropType<() => void>;
72
+ default: undefined;
73
+ };
74
+ onResizeEnd: {
75
+ type: PropType<() => void>;
76
+ default: undefined;
77
+ };
61
78
  shadow: {
62
79
  type: StringConstructor;
63
80
  default: undefined;
@@ -149,6 +166,22 @@ export declare const FloatingWindow: import("vue").DefineComponent<import("vue")
149
166
  type: PropType<string | number>;
150
167
  default: undefined;
151
168
  };
169
+ dimensions: {
170
+ type: PropType<FloatingWindowDimensions>;
171
+ default: undefined;
172
+ };
173
+ onSizeChange: {
174
+ type: PropType<(size: FloatingWindowSize) => void>;
175
+ default: undefined;
176
+ };
177
+ onResizeStart: {
178
+ type: PropType<() => void>;
179
+ default: undefined;
180
+ };
181
+ onResizeEnd: {
182
+ type: PropType<() => void>;
183
+ default: undefined;
184
+ };
152
185
  shadow: {
153
186
  type: StringConstructor;
154
187
  default: undefined;
@@ -190,6 +223,9 @@ export declare const FloatingWindow: import("vue").DefineComponent<import("vue")
190
223
  mod: any;
191
224
  enabled: boolean;
192
225
  zIndex: string | number;
226
+ onSizeChange: (size: FloatingWindowSize) => void;
227
+ onResizeStart: () => void;
228
+ onResizeEnd: () => void;
193
229
  vars: Function | Record<string, any>;
194
230
  unstyled: boolean;
195
231
  withinPortal: boolean;
@@ -204,4 +240,5 @@ export declare const FloatingWindow: import("vue").DefineComponent<import("vue")
204
240
  onDragStart: () => void;
205
241
  onDragEnd: () => void;
206
242
  setPositionRef: Ref<SetFloatingWindowPosition | null, SetFloatingWindowPosition | null>;
243
+ dimensions: FloatingWindowDimensions;
207
244
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,27 @@
1
+ import { type PropType } from 'vue';
2
+ export declare const FloatingWindowResizeHandle: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ ariaLabel: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ };
7
+ tabindex: {
8
+ type: NumberConstructor;
9
+ default: number;
10
+ };
11
+ onKeydown: PropType<(event: KeyboardEvent) => void>;
12
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
13
+ [key: string]: any;
14
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
+ ariaLabel: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ tabindex: {
20
+ type: NumberConstructor;
21
+ default: number;
22
+ };
23
+ onKeydown: PropType<(event: KeyboardEvent) => void>;
24
+ }>> & Readonly<{}>, {
25
+ tabindex: number;
26
+ ariaLabel: string;
27
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
@@ -1,2 +1,4 @@
1
1
  export { FloatingWindow } from './FloatingWindow';
2
2
  export type { FloatingWindowStylesNames } from './FloatingWindow';
3
+ export type { FloatingWindowDimensions, FloatingWindowSize } from './FloatingWindow.context';
4
+ export { FloatingWindowResizeHandle } from './FloatingWindowResizeHandle';
@@ -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<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
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, {}, import("vue").PublicProps, {
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<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
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<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
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, {}, string, {
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, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
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,2 +1,2 @@
1
1
  export { InputBase } from './InputBase';
2
- export type { InputBaseStylesNames } from './InputBase';
2
+ export type { InputBaseSlots, InputBaseStylesNames } from './InputBase';
@@ -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, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
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, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
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>;
@@ -1,6 +1,7 @@
1
1
  export interface MenuContextValue {
2
2
  opened: boolean;
3
3
  hasSearch: boolean;
4
+ withInitialFocusPlaceholder: boolean;
4
5
  registerSearch: () => () => void;
5
6
  setSearchExitClear: (callback: (() => void) | null) => void;
6
7
  toggleDropdown: () => void;
@@ -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, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
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, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
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: {