@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
@@ -31,6 +31,10 @@ export declare const ModalRoot: import("vue").DefineComponent<import("vue").Extr
31
31
  type: PropType<() => void>;
32
32
  required: true;
33
33
  };
34
+ keepMounted: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
34
38
  centered: BooleanConstructor;
35
39
  fullScreen: BooleanConstructor;
36
40
  radius: (NumberConstructor | StringConstructor)[];
@@ -74,6 +78,10 @@ export declare const ModalRoot: import("vue").DefineComponent<import("vue").Extr
74
78
  type: PropType<() => void>;
75
79
  required: true;
76
80
  };
81
+ keepMounted: {
82
+ type: BooleanConstructor;
83
+ default: boolean;
84
+ };
77
85
  centered: BooleanConstructor;
78
86
  fullScreen: BooleanConstructor;
79
87
  radius: (NumberConstructor | StringConstructor)[];
@@ -110,6 +118,7 @@ export declare const ModalRoot: import("vue").DefineComponent<import("vue").Extr
110
118
  size: string | number;
111
119
  classNames: Function | Record<string, any>;
112
120
  styles: Function | Record<string, any>;
121
+ keepMounted: boolean;
113
122
  vars: Function | Record<string, any>;
114
123
  unstyled: boolean;
115
124
  centered: boolean;
@@ -248,6 +257,10 @@ export declare const Modal: {
248
257
  type: PropType<() => void>;
249
258
  required: true;
250
259
  };
260
+ keepMounted: {
261
+ type: BooleanConstructor;
262
+ default: boolean;
263
+ };
251
264
  title: {
252
265
  type: PropType<MantineNode>;
253
266
  default: undefined;
@@ -266,6 +279,7 @@ export declare const Modal: {
266
279
  [key: string]: any;
267
280
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
268
281
  title: MantineNode;
282
+ keepMounted: boolean;
269
283
  withCloseButton: boolean;
270
284
  withOverlay: boolean;
271
285
  }, true, {}, SlotsType<ModalSlots>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
@@ -284,6 +298,10 @@ export declare const Modal: {
284
298
  type: PropType<() => void>;
285
299
  required: true;
286
300
  };
301
+ keepMounted: {
302
+ type: BooleanConstructor;
303
+ default: boolean;
304
+ };
287
305
  title: {
288
306
  type: PropType<MantineNode>;
289
307
  default: undefined;
@@ -302,6 +320,7 @@ export declare const Modal: {
302
320
  [key: string]: any;
303
321
  }>, {}, {}, {}, {
304
322
  title: MantineNode;
323
+ keepMounted: boolean;
305
324
  withCloseButton: boolean;
306
325
  withOverlay: boolean;
307
326
  }>;
@@ -317,6 +336,10 @@ export declare const Modal: {
317
336
  type: PropType<() => void>;
318
337
  required: true;
319
338
  };
339
+ keepMounted: {
340
+ type: BooleanConstructor;
341
+ default: boolean;
342
+ };
320
343
  title: {
321
344
  type: PropType<MantineNode>;
322
345
  default: undefined;
@@ -335,6 +358,7 @@ export declare const Modal: {
335
358
  [key: string]: any;
336
359
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
337
360
  title: MantineNode;
361
+ keepMounted: boolean;
338
362
  withCloseButton: boolean;
339
363
  withOverlay: boolean;
340
364
  }, {}, string, SlotsType<ModalSlots>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
@@ -349,6 +373,10 @@ export declare const Modal: {
349
373
  type: PropType<() => void>;
350
374
  required: true;
351
375
  };
376
+ keepMounted: {
377
+ type: BooleanConstructor;
378
+ default: boolean;
379
+ };
352
380
  centered: BooleanConstructor;
353
381
  fullScreen: BooleanConstructor;
354
382
  radius: (NumberConstructor | StringConstructor)[];
@@ -392,6 +420,10 @@ export declare const Modal: {
392
420
  type: PropType<() => void>;
393
421
  required: true;
394
422
  };
423
+ keepMounted: {
424
+ type: BooleanConstructor;
425
+ default: boolean;
426
+ };
395
427
  centered: BooleanConstructor;
396
428
  fullScreen: BooleanConstructor;
397
429
  radius: (NumberConstructor | StringConstructor)[];
@@ -428,6 +460,7 @@ export declare const Modal: {
428
460
  size: string | number;
429
461
  classNames: Function | Record<string, any>;
430
462
  styles: Function | Record<string, any>;
463
+ keepMounted: boolean;
431
464
  vars: Function | Record<string, any>;
432
465
  unstyled: boolean;
433
466
  centered: boolean;
@@ -11,7 +11,14 @@ export interface MultiSelectSlots {
11
11
  option: any;
12
12
  checked?: boolean;
13
13
  }) => VNodeChild;
14
+ renderPill?: (input: {
15
+ option: any;
16
+ value: Primitive;
17
+ onRemove: () => void;
18
+ disabled: boolean;
19
+ }) => VNodeChild;
14
20
  nothingFound?: () => VNodeChild;
21
+ nothingFoundMessage?: () => VNodeChild;
15
22
  }
16
23
  export interface MultiSelectProps<Value extends Primitive = string> {
17
24
  modelValue?: Value[];
@@ -106,7 +113,7 @@ export declare const MultiSelect: import("vue").DefineComponent<import("vue").Ex
106
113
  selectFirstOptionOnDropdownOpen: BooleanConstructor;
107
114
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
108
115
  [key: string]: any;
109
- }>[], {}, {}, {}, 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<{
110
117
  modelValue: PropType<Primitive[]>;
111
118
  value: PropType<Primitive[]>;
112
119
  defaultValue: {
@@ -178,6 +185,7 @@ export declare const MultiSelect: import("vue").DefineComponent<import("vue").Ex
178
185
  };
179
186
  selectFirstOptionOnDropdownOpen: BooleanConstructor;
180
187
  }>> & Readonly<{
188
+ onChange?: ((...args: any[]) => any) | undefined;
181
189
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
182
190
  "onUpdate:searchValue"?: ((...args: any[]) => any) | undefined;
183
191
  }>, {
@@ -1,2 +1,2 @@
1
1
  export { MultiSelect } from './MultiSelect';
2
- export type { MultiSelectProps } from './MultiSelect';
2
+ export type { MultiSelectProps, MultiSelectSlots } from './MultiSelect';
@@ -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?: (event: Event) => void;
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<(event: Event) => void>;
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, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
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<(event: Event) => void>;
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: (event: Event) => void;
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, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
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;
@@ -6,9 +6,29 @@ export interface PasswordInputSlots {
6
6
  error?: () => VNodeChild;
7
7
  leftSection?: () => VNodeChild;
8
8
  rightSection?: () => VNodeChild;
9
+ /** Custom visibility toggle icon, alternative to the `visibilityToggleIcon` prop */
10
+ visibilityToggleIcon?: (payload: {
11
+ reveal: boolean;
12
+ }) => VNodeChild;
9
13
  }
10
14
  export type PasswordInputStylesNames = 'root' | 'visibilityToggle' | 'innerInput' | 'input' | 'wrapper' | 'section' | 'bottomSection' | 'label' | 'required' | 'description' | 'error';
11
15
  export declare const PasswordInput: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
16
+ modelValue: {
17
+ type: StringConstructor;
18
+ default: undefined;
19
+ };
20
+ value: {
21
+ type: StringConstructor;
22
+ default: undefined;
23
+ };
24
+ defaultValue: {
25
+ type: StringConstructor;
26
+ default: undefined;
27
+ };
28
+ onChange: {
29
+ type: PropType<(value: string) => void>;
30
+ default: undefined;
31
+ };
12
32
  visibilityToggleIcon: {
13
33
  type: PropType<any>;
14
34
  default: undefined;
@@ -147,7 +167,23 @@ export declare const PasswordInput: import("vue").DefineComponent<import("vue").
147
167
  };
148
168
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
149
169
  [key: string]: any;
150
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
170
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
171
+ modelValue: {
172
+ type: StringConstructor;
173
+ default: undefined;
174
+ };
175
+ value: {
176
+ type: StringConstructor;
177
+ default: undefined;
178
+ };
179
+ defaultValue: {
180
+ type: StringConstructor;
181
+ default: undefined;
182
+ };
183
+ onChange: {
184
+ type: PropType<(value: string) => void>;
185
+ default: undefined;
186
+ };
151
187
  visibilityToggleIcon: {
152
188
  type: PropType<any>;
153
189
  default: undefined;
@@ -284,21 +320,28 @@ export declare const PasswordInput: import("vue").DefineComponent<import("vue").
284
320
  type: BooleanConstructor;
285
321
  default: boolean;
286
322
  };
287
- }>> & Readonly<{}>, {
323
+ }>> & Readonly<{
324
+ onChange?: ((...args: any[]) => any) | undefined;
325
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
326
+ }>, {
288
327
  size: number | MantineSize | (string & {});
289
328
  label: MantineNode;
290
329
  radius: MantineRadius;
291
330
  variant: "default" | "filled" | "unstyled";
292
331
  error: MantineNode;
332
+ onChange: (value: string) => void;
333
+ value: string;
293
334
  classNames: Function | Record<string, any>;
294
335
  styles: Function | Record<string, any>;
295
336
  required: boolean;
296
337
  description: MantineNode;
297
338
  visible: boolean;
298
339
  disabled: boolean;
340
+ defaultValue: string;
299
341
  id: string;
300
342
  vars: Function | Record<string, any>;
301
343
  unstyled: boolean;
344
+ modelValue: string;
302
345
  leftSection: MantineNode;
303
346
  rightSection: MantineNode;
304
347
  withAsterisk: boolean;
@@ -1,3 +1,3 @@
1
1
  export { PasswordInput } from './PasswordInput';
2
- export type { PasswordInputStylesNames } from './PasswordInput';
2
+ export type { PasswordInputSlots, PasswordInputStylesNames } from './PasswordInput';
3
3
  export { PasswordToggleIcon } from './PasswordToggleIcon';
@@ -290,6 +290,22 @@ export declare const PillsInput: {
290
290
  }, {}, string, SlotsType<PillsInputSlots>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
291
291
  classes: any;
292
292
  Field: import("../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
293
+ modelValue: {
294
+ type: StringConstructor;
295
+ default: undefined;
296
+ };
297
+ value: {
298
+ type: StringConstructor;
299
+ default: undefined;
300
+ };
301
+ defaultValue: {
302
+ type: StringConstructor;
303
+ default: undefined;
304
+ };
305
+ onChange: {
306
+ type: PropType<(value: string) => void>;
307
+ default: undefined;
308
+ };
293
309
  type: {
294
310
  type: PropType<"auto" | "visible" | "hidden">;
295
311
  default: string;
@@ -332,7 +348,23 @@ export declare const PillsInput: {
332
348
  };
333
349
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
334
350
  [key: string]: any;
335
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
351
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
352
+ modelValue: {
353
+ type: StringConstructor;
354
+ default: undefined;
355
+ };
356
+ value: {
357
+ type: StringConstructor;
358
+ default: undefined;
359
+ };
360
+ defaultValue: {
361
+ type: StringConstructor;
362
+ default: undefined;
363
+ };
364
+ onChange: {
365
+ type: PropType<(value: string) => void>;
366
+ default: undefined;
367
+ };
336
368
  type: {
337
369
  type: PropType<"auto" | "visible" | "hidden">;
338
370
  default: string;
@@ -373,16 +405,23 @@ export declare const PillsInput: {
373
405
  type: BooleanConstructor;
374
406
  default: boolean;
375
407
  };
376
- }>> & Readonly<{}>, {
408
+ }>> & Readonly<{
409
+ onChange?: ((...args: any[]) => any) | undefined;
410
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
411
+ }>, {
377
412
  pointer: boolean;
378
413
  type: "auto" | "hidden" | "visible";
414
+ onChange: (value: string) => void;
415
+ value: string;
379
416
  classNames: Function | Record<string, any>;
380
417
  styles: Function | Record<string, any>;
381
418
  disabled: boolean;
419
+ defaultValue: string;
382
420
  mod: any;
383
421
  id: string;
384
422
  vars: Function | Record<string, any>;
385
423
  unstyled: boolean;
424
+ modelValue: string;
386
425
  inputRef: any;
387
426
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
388
427
  };
@@ -1,6 +1,22 @@
1
1
  import { type PropType } from 'vue';
2
2
  export type PillsInputFieldStylesNames = 'field';
3
3
  export declare const PillsInputField: import("../../..").WithBoxProps<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ modelValue: {
5
+ type: StringConstructor;
6
+ default: undefined;
7
+ };
8
+ value: {
9
+ type: StringConstructor;
10
+ default: undefined;
11
+ };
12
+ defaultValue: {
13
+ type: StringConstructor;
14
+ default: undefined;
15
+ };
16
+ onChange: {
17
+ type: PropType<(value: string) => void>;
18
+ default: undefined;
19
+ };
4
20
  type: {
5
21
  type: PropType<"auto" | "visible" | "hidden">;
6
22
  default: string;
@@ -43,7 +59,23 @@ export declare const PillsInputField: import("../../..").WithBoxProps<import("vu
43
59
  };
44
60
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
45
61
  [key: string]: any;
46
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
62
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
63
+ modelValue: {
64
+ type: StringConstructor;
65
+ default: undefined;
66
+ };
67
+ value: {
68
+ type: StringConstructor;
69
+ default: undefined;
70
+ };
71
+ defaultValue: {
72
+ type: StringConstructor;
73
+ default: undefined;
74
+ };
75
+ onChange: {
76
+ type: PropType<(value: string) => void>;
77
+ default: undefined;
78
+ };
47
79
  type: {
48
80
  type: PropType<"auto" | "visible" | "hidden">;
49
81
  default: string;
@@ -84,15 +116,22 @@ export declare const PillsInputField: import("../../..").WithBoxProps<import("vu
84
116
  type: BooleanConstructor;
85
117
  default: boolean;
86
118
  };
87
- }>> & Readonly<{}>, {
119
+ }>> & Readonly<{
120
+ onChange?: ((...args: any[]) => any) | undefined;
121
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
122
+ }>, {
88
123
  pointer: boolean;
89
124
  type: "auto" | "hidden" | "visible";
125
+ onChange: (value: string) => void;
126
+ value: string;
90
127
  classNames: Function | Record<string, any>;
91
128
  styles: Function | Record<string, any>;
92
129
  disabled: boolean;
130
+ defaultValue: string;
93
131
  mod: any;
94
132
  id: string;
95
133
  vars: Function | Record<string, any>;
96
134
  unstyled: boolean;
135
+ modelValue: string;
97
136
  inputRef: any;
98
137
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
@@ -14,6 +14,7 @@ export interface PinInputProps {
14
14
  radius?: string | number;
15
15
  size?: string | number;
16
16
  autoFocus?: boolean;
17
+ modelValue?: string;
17
18
  value?: string;
18
19
  defaultValue?: string;
19
20
  onChange?: (value: string) => void;
@@ -66,6 +67,10 @@ export declare const PinInput: import("../..").WithBoxProps<import("vue").Define
66
67
  type: BooleanConstructor;
67
68
  default: boolean;
68
69
  };
70
+ modelValue: {
71
+ type: StringConstructor;
72
+ default: undefined;
73
+ };
69
74
  value: {
70
75
  type: StringConstructor;
71
76
  default: undefined;
@@ -172,7 +177,7 @@ export declare const PinInput: import("../..").WithBoxProps<import("vue").Define
172
177
  };
173
178
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
174
179
  [key: string]: any;
175
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
180
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
176
181
  name: {
177
182
  type: StringConstructor;
178
183
  default: undefined;
@@ -197,6 +202,10 @@ export declare const PinInput: import("../..").WithBoxProps<import("vue").Define
197
202
  type: BooleanConstructor;
198
203
  default: boolean;
199
204
  };
205
+ modelValue: {
206
+ type: StringConstructor;
207
+ default: undefined;
208
+ };
200
209
  value: {
201
210
  type: StringConstructor;
202
211
  default: undefined;
@@ -301,7 +310,10 @@ export declare const PinInput: import("../..").WithBoxProps<import("vue").Define
301
310
  type: BooleanConstructor;
302
311
  default: boolean;
303
312
  };
304
- }>> & Readonly<{}>, {
313
+ }>> & Readonly<{
314
+ onChange?: ((...args: any[]) => any) | undefined;
315
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
316
+ }>, {
305
317
  size: MantineSize;
306
318
  length: number;
307
319
  form: string;
@@ -322,6 +334,7 @@ export declare const PinInput: import("../..").WithBoxProps<import("vue").Define
322
334
  onComplete: (value: string) => void;
323
335
  vars: Function | Record<string, any>;
324
336
  unstyled: boolean;
337
+ modelValue: string;
325
338
  hiddenInputProps: Record<string, any>;
326
339
  placeholder: string;
327
340
  inputRef: VueRefTarget<HTMLInputElement>;