@weni/unnnic-system 3.9.1-alpha.1 → 3.9.1-alpha.2

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 (95) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/dist/components/Button/Button.vue.d.ts.map +1 -1
  3. package/dist/components/DateFilter/DateFilter.vue.d.ts +3 -82
  4. package/dist/components/Input/BaseInput.vue.d.ts +0 -22
  5. package/dist/components/Input/BaseInput.vue.d.ts.map +1 -1
  6. package/dist/components/Input/Input.vue.d.ts +3 -82
  7. package/dist/components/Input/Input.vue.d.ts.map +1 -1
  8. package/dist/components/Input/TextInput.vue.d.ts +2 -53
  9. package/dist/components/Input/TextInput.vue.d.ts.map +1 -1
  10. package/dist/components/InputDatePicker/InputDatePicker.vue.d.ts +4 -83
  11. package/dist/components/InputNext/InputNext.vue.d.ts +1 -1
  12. package/dist/components/ModalDialog/ModalDialog.vue.d.ts +29 -203
  13. package/dist/components/ModalDialog/ModalDialog.vue.d.ts.map +1 -1
  14. package/dist/components/ModalNext/ModalNext.vue.d.ts +3 -82
  15. package/dist/components/SelectSmart/SelectSmart.vue.d.ts +2 -53
  16. package/dist/components/SelectTime/index.vue.d.ts +2 -53
  17. package/dist/components/Tag/DefaultTag.vue.d.ts.map +1 -1
  18. package/dist/components/index.d.ts +236 -1764
  19. package/dist/components/index.d.ts.map +1 -1
  20. package/dist/{es-de156c12.mjs → es-d456f02a.mjs} +1 -1
  21. package/dist/{index-21cbba5d.mjs → index-120e037a.mjs} +11437 -12248
  22. package/dist/locales/en.json.d.ts +1 -2
  23. package/dist/locales/es.json.d.ts +1 -2
  24. package/dist/locales/pt_br.json.d.ts +1 -2
  25. package/dist/{pt-br-5fa49a3e.mjs → pt-br-b627c074.mjs} +1 -1
  26. package/dist/style.css +1 -1
  27. package/dist/unnnic.mjs +179 -195
  28. package/dist/unnnic.umd.js +34 -41
  29. package/package.json +1 -1
  30. package/src/assets/scss/tailwind.scss +0 -8
  31. package/src/components/Alert/__tests__/__snapshots__/Version1dot1.spec.js.snap +1 -1
  32. package/src/components/Button/Button.vue +0 -1
  33. package/src/components/Input/BaseInput.vue +2 -21
  34. package/src/components/Input/Input.scss +3 -3
  35. package/src/components/Input/Input.vue +1 -19
  36. package/src/components/Input/TextInput.vue +21 -62
  37. package/src/components/ModalDialog/ModalDialog.vue +148 -62
  38. package/src/components/ModalDialog/__tests__/ModalDialog.spec.js +221 -11
  39. package/src/components/ModalDialog/__tests__/__snapshots__/ModalDialog.spec.js.snap +22 -1
  40. package/src/components/Radio/__test__/__snapshots__/Radio.spec.js.snap +1 -0
  41. package/src/components/Tag/DefaultTag.vue +0 -5
  42. package/src/components/index.ts +23 -55
  43. package/src/locales/en.json +1 -2
  44. package/src/locales/es.json +1 -2
  45. package/src/locales/pt_br.json +1 -2
  46. package/src/stories/ModalDialog.mdx +0 -3
  47. package/src/stories/ModalDialog.stories.js +1 -1
  48. package/dist/components/PageHeader/PageHeader.vue.d.ts +0 -28
  49. package/dist/components/PageHeader/PageHeader.vue.d.ts.map +0 -1
  50. package/dist/components/PageHeader/index.d.ts +0 -3
  51. package/dist/components/PageHeader/index.d.ts.map +0 -1
  52. package/dist/components/PageHeader/types.d.ts +0 -9
  53. package/dist/components/PageHeader/types.d.ts.map +0 -1
  54. package/dist/components/ui/dialog/Dialog.vue.d.ts +0 -23
  55. package/dist/components/ui/dialog/Dialog.vue.d.ts.map +0 -1
  56. package/dist/components/ui/dialog/DialogClose.vue.d.ts +0 -19
  57. package/dist/components/ui/dialog/DialogClose.vue.d.ts.map +0 -1
  58. package/dist/components/ui/dialog/DialogContent.vue.d.ts +0 -43
  59. package/dist/components/ui/dialog/DialogContent.vue.d.ts.map +0 -1
  60. package/dist/components/ui/dialog/DialogFooter.vue.d.ts +0 -25
  61. package/dist/components/ui/dialog/DialogFooter.vue.d.ts.map +0 -1
  62. package/dist/components/ui/dialog/DialogHeader.vue.d.ts +0 -29
  63. package/dist/components/ui/dialog/DialogHeader.vue.d.ts.map +0 -1
  64. package/dist/components/ui/dialog/DialogTitle.vue.d.ts +0 -23
  65. package/dist/components/ui/dialog/DialogTitle.vue.d.ts.map +0 -1
  66. package/dist/components/ui/dialog/DialogTrigger.vue.d.ts +0 -19
  67. package/dist/components/ui/dialog/DialogTrigger.vue.d.ts.map +0 -1
  68. package/dist/components/ui/dialog/index.d.ts +0 -8
  69. package/dist/components/ui/dialog/index.d.ts.map +0 -1
  70. package/src/components/Alert/SIMPLE_MIGRATION_GUIDE.md +0 -152
  71. package/src/components/PageHeader/PageHeader.vue +0 -154
  72. package/src/components/PageHeader/index.ts +0 -2
  73. package/src/components/PageHeader/types.ts +0 -10
  74. package/src/components/Popover/__tests__/Popover.spec.js +0 -147
  75. package/src/components/Popover/__tests__/__snapshots__/Popover.spec.js.snap +0 -8
  76. package/src/components/Popover/index.vue +0 -146
  77. package/src/components/Select/SelectOption.vue +0 -65
  78. package/src/components/Select/__tests__/Select.spec.js +0 -412
  79. package/src/components/Select/__tests__/SelectItem.spec.js +0 -330
  80. package/src/components/Select/__tests__/SelectOption.spec.js +0 -174
  81. package/src/components/Select/__tests__/__snapshots__/Select.spec.js.snap +0 -97
  82. package/src/components/Select/__tests__/__snapshots__/SelectItem.spec.js.snap +0 -15
  83. package/src/components/Select/__tests__/__snapshots__/SelectOption.spec.js.snap +0 -25
  84. package/src/components/Select/index.vue +0 -245
  85. package/src/components/ui/dialog/Dialog.vue +0 -15
  86. package/src/components/ui/dialog/DialogClose.vue +0 -25
  87. package/src/components/ui/dialog/DialogContent.vue +0 -133
  88. package/src/components/ui/dialog/DialogFooter.vue +0 -46
  89. package/src/components/ui/dialog/DialogHeader.vue +0 -79
  90. package/src/components/ui/dialog/DialogTitle.vue +0 -34
  91. package/src/components/ui/dialog/DialogTrigger.vue +0 -12
  92. package/src/components/ui/dialog/index.ts +0 -7
  93. package/src/stories/Dialog.stories.js +0 -832
  94. package/src/stories/PageHeader.stories.js +0 -330
  95. package/src/stories/Select.stories.js +0 -158
@@ -155,7 +155,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
155
155
  }>, {
156
156
  type: string;
157
157
  size: string;
158
- next: boolean;
159
158
  minDate: string;
160
159
  maxDate: string;
161
160
  months: unknown[];
@@ -166,6 +165,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
166
165
  iconPosition: string;
167
166
  fillW: boolean;
168
167
  actionText: string;
168
+ next: boolean;
169
169
  format: string;
170
170
  inputFormat: string;
171
171
  position: string;
@@ -248,25 +248,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
248
248
  type: BooleanConstructor;
249
249
  default: boolean;
250
250
  };
251
- readonly: {
252
- type: BooleanConstructor;
253
- default: boolean;
254
- };
255
- forceActiveStatus: {
256
- type: BooleanConstructor;
257
- default: boolean;
258
- };
259
- showClear: {
260
- type: BooleanConstructor;
261
- default: boolean;
262
- };
263
251
  }>, {}, {
264
252
  val: string;
265
253
  }, {
266
254
  computedError(): string | boolean;
267
255
  }, {
268
256
  fullySanitize: typeof import('../../utils/sanitize').fullySanitize;
269
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("clear" | "update:modelValue")[], "clear" | "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
257
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
270
258
  placeholder: {
271
259
  type: StringConstructor;
272
260
  default: string;
@@ -344,21 +332,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
344
332
  type: BooleanConstructor;
345
333
  default: boolean;
346
334
  };
347
- readonly: {
348
- type: BooleanConstructor;
349
- default: boolean;
350
- };
351
- forceActiveStatus: {
352
- type: BooleanConstructor;
353
- default: boolean;
354
- };
355
- showClear: {
356
- type: BooleanConstructor;
357
- default: boolean;
358
- };
359
335
  }>> & Readonly<{
360
336
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
361
- onClear?: ((...args: any[]) => any) | undefined;
362
337
  }>, {
363
338
  type: string;
364
339
  size: string;
@@ -371,14 +346,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
371
346
  modelValue: string;
372
347
  nativeType: string;
373
348
  maxlength: number | null;
374
- readonly: boolean;
375
- forceActiveStatus: boolean;
376
349
  iconLeft: string;
377
350
  iconRight: string;
378
351
  iconLeftClickable: boolean;
379
352
  iconRightClickable: boolean;
380
353
  allowTogglePassword: boolean;
381
- showClear: boolean;
382
354
  errors: string | unknown[];
383
355
  hasCloudyColor: boolean;
384
356
  showMaxlengthCounter: boolean;
@@ -433,34 +405,21 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
433
405
  type: BooleanConstructor;
434
406
  default: boolean;
435
407
  };
436
- readonly: {
437
- type: BooleanConstructor;
438
- default: boolean;
439
- };
440
- forceActiveStatus: {
441
- type: BooleanConstructor;
442
- default: boolean;
443
- };
444
- showClear: {
445
- type: BooleanConstructor;
446
- default: boolean;
447
- };
448
408
  }>, {}, {
449
409
  isFocused: boolean;
450
410
  showPassword: boolean;
451
411
  }, {
452
412
  isDisabled(): {};
453
413
  iconRightSvg(): string;
454
- iconScheme(): "fg-base" | "fg-muted" | "color-gray-700";
414
+ iconScheme(): "fg-base" | "fg-muted";
455
415
  attributes(): any;
456
416
  }, {
457
417
  focus(): void;
458
418
  onFocus(): void;
459
419
  onBlur(): void;
460
420
  onIconLeftClick(): void;
461
- onClearClick(): void;
462
421
  onIconRightClick(): void;
463
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("clear" | "icon-left-click" | "icon-right-click")[], "clear" | "icon-left-click" | "icon-right-click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
422
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("icon-left-click" | "icon-right-click")[], "icon-left-click" | "icon-right-click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
464
423
  placeholder: {
465
424
  type: StringConstructor;
466
425
  default: null;
@@ -510,20 +469,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
510
469
  type: BooleanConstructor;
511
470
  default: boolean;
512
471
  };
513
- readonly: {
514
- type: BooleanConstructor;
515
- default: boolean;
516
- };
517
- forceActiveStatus: {
518
- type: BooleanConstructor;
519
- default: boolean;
520
- };
521
- showClear: {
522
- type: BooleanConstructor;
523
- default: boolean;
524
- };
525
472
  }>> & Readonly<{
526
- onClear?: ((...args: any[]) => any) | undefined;
527
473
  "onIcon-left-click"?: ((...args: any[]) => any) | undefined;
528
474
  "onIcon-right-click"?: ((...args: any[]) => any) | undefined;
529
475
  }>, {
@@ -534,14 +480,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
534
480
  modelValue: string;
535
481
  nativeType: string;
536
482
  maxlength: number;
537
- readonly: boolean;
538
- forceActiveStatus: boolean;
539
483
  iconLeft: string;
540
484
  iconRight: string;
541
485
  iconLeftClickable: boolean;
542
486
  iconRightClickable: boolean;
543
487
  allowTogglePassword: boolean;
544
- showClear: boolean;
545
488
  }, {}, {
546
489
  BaseInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
547
490
  type: {
@@ -567,25 +510,15 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
567
510
  };
568
511
  hasIconLeft: BooleanConstructor;
569
512
  hasIconRight: BooleanConstructor;
570
- hasClearIcon: BooleanConstructor;
571
513
  maxlength: {
572
514
  type: NumberConstructor;
573
515
  default: null;
574
516
  };
575
- readonly: {
576
- type: BooleanConstructor;
577
- default: boolean;
578
- };
579
- forceActiveStatus: {
580
- type: BooleanConstructor;
581
- default: boolean;
582
- };
583
517
  }>, {}, {}, {
584
518
  attributes(): any;
585
519
  classes(): (string | {
586
520
  'input--has-icon-left': boolean;
587
521
  'input--has-icon-right': boolean;
588
- 'input--has-clear-icon': boolean;
589
522
  })[];
590
523
  }, {
591
524
  fullySanitize: typeof import('../../utils/sanitize').fullySanitize;
@@ -613,19 +546,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
613
546
  };
614
547
  hasIconLeft: BooleanConstructor;
615
548
  hasIconRight: BooleanConstructor;
616
- hasClearIcon: BooleanConstructor;
617
549
  maxlength: {
618
550
  type: NumberConstructor;
619
551
  default: null;
620
552
  };
621
- readonly: {
622
- type: BooleanConstructor;
623
- default: boolean;
624
- };
625
- forceActiveStatus: {
626
- type: BooleanConstructor;
627
- default: boolean;
628
- };
629
553
  }>> & Readonly<{
630
554
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
631
555
  }>, {
@@ -634,12 +558,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
634
558
  mask: string | unknown[];
635
559
  hasIconLeft: boolean;
636
560
  hasIconRight: boolean;
637
- hasClearIcon: boolean;
638
561
  modelValue: string;
639
562
  nativeType: string;
640
563
  maxlength: number;
641
- readonly: boolean;
642
- forceActiveStatus: boolean;
643
564
  }, {}, {}, {
644
565
  mask: any;
645
566
  }, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -80,8 +80,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
80
80
  size: string;
81
81
  disabled: boolean;
82
82
  nativeType: string;
83
- readonly: boolean;
84
83
  allowTogglePassword: boolean;
84
+ readonly: boolean;
85
85
  }, {}, {
86
86
  UnnnicIcon: import('vue').DefineComponent<import('../Icon.vue').IconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
87
87
  click: (event: Event) => any;
@@ -57,6 +57,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
57
57
  es: string;
58
58
  };
59
59
  };
60
+ iconsMapper: {
61
+ success: {
62
+ icon: string;
63
+ scheme: string;
64
+ };
65
+ warning: {
66
+ icon: string;
67
+ scheme: string;
68
+ };
69
+ attention: {
70
+ icon: string;
71
+ scheme: string;
72
+ };
73
+ };
60
74
  primaryButtonTypeMapper: {
61
75
  success: string;
62
76
  warning: string;
@@ -65,7 +79,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
65
79
  }, {}, {
66
80
  close(): void;
67
81
  updateBodyOverflow(isHidden: any): void;
68
- persistentHandler(event: any): void;
69
82
  }, {
70
83
  props: {
71
84
  locale: {
@@ -146,6 +159,21 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
146
159
  hideSecondaryButton: boolean;
147
160
  secondaryButtonProps: Record<string, any>;
148
161
  }, {}, {
162
+ UnnnicIcon: import('vue').DefineComponent<import('../Icon.vue').IconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
163
+ click: (event: Event) => any;
164
+ mousedown: (event: Event) => any;
165
+ mouseup: (event: Event) => any;
166
+ }, string, import('vue').PublicProps, Readonly<import('../Icon.vue').IconProps> & Readonly<{
167
+ onClick?: ((event: Event) => any) | undefined;
168
+ onMousedown?: ((event: Event) => any) | undefined;
169
+ onMouseup?: ((event: Event) => any) | undefined;
170
+ }>, {
171
+ size: import('../Icon.vue').IconSize;
172
+ filled: boolean;
173
+ icon: string | null;
174
+ clickable: boolean;
175
+ scheme: import('../Icon.vue').SchemeColor;
176
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
149
177
  UnnnicButton: {
150
178
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../Button/types').ButtonProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
151
179
  text: string;
@@ -196,208 +224,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
196
224
  default?(_: {}): any;
197
225
  };
198
226
  });
199
- UnnnicDialog: {
200
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('reka-ui').DialogRootProps> & Readonly<{
201
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
202
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
203
- "update:open": (value: boolean) => any;
204
- }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
205
- P: {};
206
- B: {};
207
- D: {};
208
- C: {};
209
- M: {};
210
- Defaults: {};
211
- }, Readonly<import('reka-ui').DialogRootProps> & Readonly<{
212
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
213
- }>, {}, {}, {}, {}, {}>;
214
- __isFragment?: never;
215
- __isTeleport?: never;
216
- __isSuspense?: never;
217
- } & import('vue').ComponentOptionsBase<Readonly<import('reka-ui').DialogRootProps> & Readonly<{
218
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
219
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
220
- "update:open": (value: boolean) => any;
221
- }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
222
- $slots: {
223
- default?(_: {}): any;
224
- };
225
- });
226
- UnnnicDialogContent: {
227
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('reka-ui').DialogContentProps & {
228
- parentClass?: import('vue').HTMLAttributes["class"];
229
- class?: import('vue').HTMLAttributes["class"];
230
- size?: "small" | "medium" | "large";
231
- }> & Readonly<{
232
- onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
233
- onPointerDownOutside?: ((event: import('reka-ui').PointerDownOutsideEvent) => any) | undefined;
234
- onFocusOutside?: ((event: import('reka-ui').FocusOutsideEvent) => any) | undefined;
235
- onInteractOutside?: ((event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any) | undefined;
236
- onOpenAutoFocus?: ((event: Event) => any) | undefined;
237
- onCloseAutoFocus?: ((event: Event) => any) | undefined;
238
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
239
- escapeKeyDown: (event: KeyboardEvent) => any;
240
- pointerDownOutside: (event: import('reka-ui').PointerDownOutsideEvent) => any;
241
- focusOutside: (event: import('reka-ui').FocusOutsideEvent) => any;
242
- interactOutside: (event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any;
243
- openAutoFocus: (event: Event) => any;
244
- closeAutoFocus: (event: Event) => any;
245
- }, import('vue').PublicProps, {
246
- size: "small" | "medium" | "large";
247
- class: import('vue').HTMLAttributes["class"];
248
- parentClass: import('vue').HTMLAttributes["class"];
249
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
250
- P: {};
251
- B: {};
252
- D: {};
253
- C: {};
254
- M: {};
255
- Defaults: {};
256
- }, Readonly<import('reka-ui').DialogContentProps & {
257
- parentClass?: import('vue').HTMLAttributes["class"];
258
- class?: import('vue').HTMLAttributes["class"];
259
- size?: "small" | "medium" | "large";
260
- }> & Readonly<{
261
- onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
262
- onPointerDownOutside?: ((event: import('reka-ui').PointerDownOutsideEvent) => any) | undefined;
263
- onFocusOutside?: ((event: import('reka-ui').FocusOutsideEvent) => any) | undefined;
264
- onInteractOutside?: ((event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any) | undefined;
265
- onOpenAutoFocus?: ((event: Event) => any) | undefined;
266
- onCloseAutoFocus?: ((event: Event) => any) | undefined;
267
- }>, {}, {}, {}, {}, {
268
- size: "small" | "medium" | "large";
269
- class: import('vue').HTMLAttributes["class"];
270
- parentClass: import('vue').HTMLAttributes["class"];
271
- }>;
272
- __isFragment?: never;
273
- __isTeleport?: never;
274
- __isSuspense?: never;
275
- } & import('vue').ComponentOptionsBase<Readonly<import('reka-ui').DialogContentProps & {
276
- parentClass?: import('vue').HTMLAttributes["class"];
277
- class?: import('vue').HTMLAttributes["class"];
278
- size?: "small" | "medium" | "large";
279
- }> & Readonly<{
280
- onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
281
- onPointerDownOutside?: ((event: import('reka-ui').PointerDownOutsideEvent) => any) | undefined;
282
- onFocusOutside?: ((event: import('reka-ui').FocusOutsideEvent) => any) | undefined;
283
- onInteractOutside?: ((event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any) | undefined;
284
- onOpenAutoFocus?: ((event: Event) => any) | undefined;
285
- onCloseAutoFocus?: ((event: Event) => any) | undefined;
286
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
287
- escapeKeyDown: (event: KeyboardEvent) => any;
288
- pointerDownOutside: (event: import('reka-ui').PointerDownOutsideEvent) => any;
289
- focusOutside: (event: import('reka-ui').FocusOutsideEvent) => any;
290
- interactOutside: (event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any;
291
- openAutoFocus: (event: Event) => any;
292
- closeAutoFocus: (event: Event) => any;
293
- }, string, {
294
- size: "small" | "medium" | "large";
295
- class: import('vue').HTMLAttributes["class"];
296
- parentClass: import('vue').HTMLAttributes["class"];
297
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
298
- $slots: {
299
- default?(_: {}): any;
300
- };
301
- });
302
- UnnnicDialogHeader: {
303
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
304
- class?: import('vue').HTMLAttributes["class"];
305
- divider?: boolean;
306
- type?: "default" | "success" | "warning" | "attention";
307
- closeButton?: boolean;
308
- }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
309
- type: "default" | "success" | "warning" | "attention";
310
- divider: boolean;
311
- closeButton: boolean;
312
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLElement, import('vue').ComponentProvideOptions, {
313
- P: {};
314
- B: {};
315
- D: {};
316
- C: {};
317
- M: {};
318
- Defaults: {};
319
- }, Readonly<{
320
- class?: import('vue').HTMLAttributes["class"];
321
- divider?: boolean;
322
- type?: "default" | "success" | "warning" | "attention";
323
- closeButton?: boolean;
324
- }> & Readonly<{}>, {}, {}, {}, {}, {
325
- type: "default" | "success" | "warning" | "attention";
326
- divider: boolean;
327
- closeButton: boolean;
328
- }>;
329
- __isFragment?: never;
330
- __isTeleport?: never;
331
- __isSuspense?: never;
332
- } & import('vue').ComponentOptionsBase<Readonly<{
333
- class?: import('vue').HTMLAttributes["class"];
334
- divider?: boolean;
335
- type?: "default" | "success" | "warning" | "attention";
336
- closeButton?: boolean;
337
- }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
338
- type: "default" | "success" | "warning" | "attention";
339
- divider: boolean;
340
- closeButton: boolean;
341
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
342
- $slots: {
343
- default?(_: {}): any;
344
- };
345
- });
346
- UnnnicDialogTitle: {
347
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('reka-ui').DialogTitleProps & {
348
- class?: import('vue').HTMLAttributes["class"];
349
- }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
350
- P: {};
351
- B: {};
352
- D: {};
353
- C: {};
354
- M: {};
355
- Defaults: {};
356
- }, Readonly<import('reka-ui').DialogTitleProps & {
357
- class?: import('vue').HTMLAttributes["class"];
358
- }> & Readonly<{}>, {}, {}, {}, {}, {}>;
359
- __isFragment?: never;
360
- __isTeleport?: never;
361
- __isSuspense?: never;
362
- } & import('vue').ComponentOptionsBase<Readonly<import('reka-ui').DialogTitleProps & {
363
- class?: import('vue').HTMLAttributes["class"];
364
- }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
365
- $slots: {
366
- default?(_: {}): any;
367
- };
368
- });
369
- UnnnicDialogFooter: {
370
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
371
- class?: import('vue').HTMLAttributes["class"];
372
- divider?: boolean;
373
- }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
374
- divider: boolean;
375
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLElement, import('vue').ComponentProvideOptions, {
376
- P: {};
377
- B: {};
378
- D: {};
379
- C: {};
380
- M: {};
381
- Defaults: {};
382
- }, Readonly<{
383
- class?: import('vue').HTMLAttributes["class"];
384
- divider?: boolean;
385
- }> & Readonly<{}>, {}, {}, {}, {}, {
386
- divider: boolean;
387
- }>;
388
- __isFragment?: never;
389
- __isTeleport?: never;
390
- __isSuspense?: never;
391
- } & import('vue').ComponentOptionsBase<Readonly<{
392
- class?: import('vue').HTMLAttributes["class"];
393
- divider?: boolean;
394
- }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
395
- divider: boolean;
396
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
397
- $slots: {
398
- default?(_: {}): any;
399
- };
400
- });
401
227
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
402
228
  export default _default;
403
229
  //# sourceMappingURL=ModalDialog.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ModalDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ModalDialog/ModalDialog.vue"],"names":[],"mappings":"AAmFA;"}
1
+ {"version":3,"file":"ModalDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ModalDialog/ModalDialog.vue"],"names":[],"mappings":"AAmGA;"}
@@ -151,25 +151,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
151
151
  type: BooleanConstructor;
152
152
  default: boolean;
153
153
  };
154
- readonly: {
155
- type: BooleanConstructor;
156
- default: boolean;
157
- };
158
- forceActiveStatus: {
159
- type: BooleanConstructor;
160
- default: boolean;
161
- };
162
- showClear: {
163
- type: BooleanConstructor;
164
- default: boolean;
165
- };
166
154
  }>, {}, {
167
155
  val: string;
168
156
  }, {
169
157
  computedError(): string | boolean;
170
158
  }, {
171
159
  fullySanitize: typeof import('../../utils/sanitize').fullySanitize;
172
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("clear" | "update:modelValue")[], "clear" | "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
160
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
173
161
  placeholder: {
174
162
  type: StringConstructor;
175
163
  default: string;
@@ -247,21 +235,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
247
235
  type: BooleanConstructor;
248
236
  default: boolean;
249
237
  };
250
- readonly: {
251
- type: BooleanConstructor;
252
- default: boolean;
253
- };
254
- forceActiveStatus: {
255
- type: BooleanConstructor;
256
- default: boolean;
257
- };
258
- showClear: {
259
- type: BooleanConstructor;
260
- default: boolean;
261
- };
262
238
  }>> & Readonly<{
263
239
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
264
- onClear?: ((...args: any[]) => any) | undefined;
265
240
  }>, {
266
241
  type: string;
267
242
  size: string;
@@ -274,14 +249,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
274
249
  modelValue: string;
275
250
  nativeType: string;
276
251
  maxlength: number | null;
277
- readonly: boolean;
278
- forceActiveStatus: boolean;
279
252
  iconLeft: string;
280
253
  iconRight: string;
281
254
  iconLeftClickable: boolean;
282
255
  iconRightClickable: boolean;
283
256
  allowTogglePassword: boolean;
284
- showClear: boolean;
285
257
  errors: string | unknown[];
286
258
  hasCloudyColor: boolean;
287
259
  showMaxlengthCounter: boolean;
@@ -336,34 +308,21 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
336
308
  type: BooleanConstructor;
337
309
  default: boolean;
338
310
  };
339
- readonly: {
340
- type: BooleanConstructor;
341
- default: boolean;
342
- };
343
- forceActiveStatus: {
344
- type: BooleanConstructor;
345
- default: boolean;
346
- };
347
- showClear: {
348
- type: BooleanConstructor;
349
- default: boolean;
350
- };
351
311
  }>, {}, {
352
312
  isFocused: boolean;
353
313
  showPassword: boolean;
354
314
  }, {
355
315
  isDisabled(): {};
356
316
  iconRightSvg(): string;
357
- iconScheme(): "fg-base" | "fg-muted" | "color-gray-700";
317
+ iconScheme(): "fg-base" | "fg-muted";
358
318
  attributes(): any;
359
319
  }, {
360
320
  focus(): void;
361
321
  onFocus(): void;
362
322
  onBlur(): void;
363
323
  onIconLeftClick(): void;
364
- onClearClick(): void;
365
324
  onIconRightClick(): void;
366
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("clear" | "icon-left-click" | "icon-right-click")[], "clear" | "icon-left-click" | "icon-right-click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
325
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("icon-left-click" | "icon-right-click")[], "icon-left-click" | "icon-right-click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
367
326
  placeholder: {
368
327
  type: StringConstructor;
369
328
  default: null;
@@ -413,20 +372,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
413
372
  type: BooleanConstructor;
414
373
  default: boolean;
415
374
  };
416
- readonly: {
417
- type: BooleanConstructor;
418
- default: boolean;
419
- };
420
- forceActiveStatus: {
421
- type: BooleanConstructor;
422
- default: boolean;
423
- };
424
- showClear: {
425
- type: BooleanConstructor;
426
- default: boolean;
427
- };
428
375
  }>> & Readonly<{
429
- onClear?: ((...args: any[]) => any) | undefined;
430
376
  "onIcon-left-click"?: ((...args: any[]) => any) | undefined;
431
377
  "onIcon-right-click"?: ((...args: any[]) => any) | undefined;
432
378
  }>, {
@@ -437,14 +383,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
437
383
  modelValue: string;
438
384
  nativeType: string;
439
385
  maxlength: number;
440
- readonly: boolean;
441
- forceActiveStatus: boolean;
442
386
  iconLeft: string;
443
387
  iconRight: string;
444
388
  iconLeftClickable: boolean;
445
389
  iconRightClickable: boolean;
446
390
  allowTogglePassword: boolean;
447
- showClear: boolean;
448
391
  }, {}, {
449
392
  BaseInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
450
393
  type: {
@@ -470,25 +413,15 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
470
413
  };
471
414
  hasIconLeft: BooleanConstructor;
472
415
  hasIconRight: BooleanConstructor;
473
- hasClearIcon: BooleanConstructor;
474
416
  maxlength: {
475
417
  type: NumberConstructor;
476
418
  default: null;
477
419
  };
478
- readonly: {
479
- type: BooleanConstructor;
480
- default: boolean;
481
- };
482
- forceActiveStatus: {
483
- type: BooleanConstructor;
484
- default: boolean;
485
- };
486
420
  }>, {}, {}, {
487
421
  attributes(): any;
488
422
  classes(): (string | {
489
423
  'input--has-icon-left': boolean;
490
424
  'input--has-icon-right': boolean;
491
- 'input--has-clear-icon': boolean;
492
425
  })[];
493
426
  }, {
494
427
  fullySanitize: typeof import('../../utils/sanitize').fullySanitize;
@@ -516,19 +449,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
516
449
  };
517
450
  hasIconLeft: BooleanConstructor;
518
451
  hasIconRight: BooleanConstructor;
519
- hasClearIcon: BooleanConstructor;
520
452
  maxlength: {
521
453
  type: NumberConstructor;
522
454
  default: null;
523
455
  };
524
- readonly: {
525
- type: BooleanConstructor;
526
- default: boolean;
527
- };
528
- forceActiveStatus: {
529
- type: BooleanConstructor;
530
- default: boolean;
531
- };
532
456
  }>> & Readonly<{
533
457
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
534
458
  }>, {
@@ -537,12 +461,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
537
461
  mask: string | unknown[];
538
462
  hasIconLeft: boolean;
539
463
  hasIconRight: boolean;
540
- hasClearIcon: boolean;
541
464
  modelValue: string;
542
465
  nativeType: string;
543
466
  maxlength: number;
544
- readonly: boolean;
545
- forceActiveStatus: boolean;
546
467
  }, {}, {}, {
547
468
  mask: any;
548
469
  }, string, import('vue').ComponentProvideOptions, true, {}, any>;