@cnamts/synapse 0.0.15-alpha → 1.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 (133) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +39 -0
  2. package/dist/components/Accordion/config.d.ts +9 -0
  3. package/dist/components/ChipList/ChipList.d.ts +1 -1
  4. package/dist/components/CookiesSelection/CookiesSelection.d.ts +26 -26
  5. package/dist/components/CopyBtn/CopyBtn.d.ts +2 -0
  6. package/dist/components/Customs/SyInputSelect/SyInputSelect.d.ts +12 -0
  7. package/dist/components/Customs/SySelect/SySelect.d.ts +43 -16
  8. package/dist/components/Customs/SyTextField/SyTextField.d.ts +1391 -1
  9. package/dist/components/DatePicker/DatePicker.d.ts +2810 -16
  10. package/dist/components/DatePicker/DateTextInput.d.ts +1401 -4
  11. package/dist/components/DiacriticPicker/DiacriticPicker.d.ts +27 -0
  12. package/dist/components/DiacriticPicker/config.d.ts +14 -0
  13. package/dist/components/DiacriticPicker/locales.d.ts +6 -0
  14. package/dist/components/DownloadBtn/DownloadBtn.d.ts +1 -1
  15. package/dist/components/FooterBar/FooterBar.d.ts +1 -1
  16. package/dist/components/LangBtn/LangBtn.d.ts +4 -4
  17. package/dist/components/NirField/NirField.d.ts +2796 -4
  18. package/dist/components/NotificationBar/NotificationBar.d.ts +1 -1
  19. package/dist/components/PasswordField/PasswordField.d.ts +1 -1
  20. package/dist/components/PeriodField/PeriodField.d.ts +5636 -48
  21. package/dist/components/PhoneField/PhoneField.d.ts +1 -0
  22. package/dist/components/PhoneField/tests/types.d.ts +18 -0
  23. package/dist/components/SyAlert/SyAlert.d.ts +72 -1
  24. package/dist/components/SyTextArea/SyTextArea.d.ts +900 -0
  25. package/dist/components/SyTextArea/locales.d.ts +3 -0
  26. package/dist/components/SyTextArea/trimStartOnUpdate.d.ts +1 -0
  27. package/dist/components/SyTextArea/useTextActions.d.ts +13 -0
  28. package/dist/components/SyTextArea/wrapText.d.ts +1 -0
  29. package/dist/components/TableToolbar/TableToolbar.d.ts +10 -4
  30. package/dist/components/TableToolbar/config.d.ts +3 -2
  31. package/dist/components/UploadWorkflow/UploadWorkflow.d.ts +26 -26
  32. package/dist/components/index.d.ts +4 -0
  33. package/dist/composables/date/useDateFormat.d.ts +2 -2
  34. package/dist/composables/date/useDateFormatDayjs.d.ts +23 -0
  35. package/dist/composables/date/useDateInitializationDayjs.d.ts +18 -0
  36. package/dist/composables/date/useHolidayDay.d.ts +36 -0
  37. package/dist/design-system-v3.js +5106 -4208
  38. package/dist/design-system-v3.umd.cjs +4 -1
  39. package/dist/designTokens/tokens/pa/paLightTheme.d.ts +1 -32
  40. package/dist/style.css +1 -1
  41. package/dist/utils/rules/index.d.ts +1 -0
  42. package/dist/utils/rules/isHolidayDay/index.d.ts +11 -0
  43. package/dist/utils/rules/isHolidayDay/locales.d.ts +2 -0
  44. package/package.json +3 -2
  45. package/src/assets/settings.scss +12 -0
  46. package/src/components/Accordion/Accordion.mdx +69 -0
  47. package/src/components/Accordion/Accordion.stories.ts +262 -0
  48. package/src/components/Accordion/Accordion.vue +319 -0
  49. package/src/components/Accordion/config.ts +9 -0
  50. package/src/components/Accordion/tests/__snapshots__/accordion.spec.ts.snap +155 -0
  51. package/src/components/Accordion/tests/accordion.spec.ts +492 -0
  52. package/src/components/CopyBtn/CopyBtn.stories.ts +189 -0
  53. package/src/components/CopyBtn/CopyBtn.vue +29 -1
  54. package/src/components/CopyBtn/tests/CopyBtn.spec.ts +102 -0
  55. package/src/components/Customs/SyInputSelect/SyInputSelect.stories.ts +155 -1
  56. package/src/components/Customs/SyInputSelect/SyInputSelect.vue +97 -14
  57. package/src/components/Customs/SyInputSelect/tests/SyInputSelect.spec.ts +386 -106
  58. package/src/components/Customs/SySelect/SySelect.stories.ts +121 -2
  59. package/src/components/Customs/SySelect/SySelect.vue +33 -8
  60. package/src/components/Customs/SySelect/tests/SySelect.spec.ts +290 -1
  61. package/src/components/Customs/SyTextField/Accessibilite.stories.ts +7 -0
  62. package/src/components/Customs/SyTextField/SyTextField.stories.ts +13 -0
  63. package/src/components/Customs/SyTextField/SyTextField.vue +87 -20
  64. package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.vue +795 -0
  65. package/src/components/DatePicker/DatePicker.stories.ts +432 -1
  66. package/src/components/DatePicker/DatePicker.vue +82 -27
  67. package/src/components/DatePicker/DatePickerValidation.stories.ts +9 -1
  68. package/src/components/DatePicker/DateTextInput.vue +101 -138
  69. package/src/components/DatePicker/docExamples/DatePickerBidirectionalValidation.vue +282 -0
  70. package/src/components/DatePicker/examples/DatePickerHolidayRule.vue +130 -0
  71. package/src/components/DatePicker/tests/DatePicker.spec.ts +33 -32
  72. package/src/components/DatePicker/tests/DateTextInput.spec.ts +81 -33
  73. package/src/components/DiacriticPicker/DiacriticPicker.mdx +104 -0
  74. package/src/components/DiacriticPicker/DiacriticPicker.stories.ts +447 -0
  75. package/src/components/DiacriticPicker/DiacriticPicker.vue +262 -0
  76. package/src/components/DiacriticPicker/config.ts +15 -0
  77. package/src/components/DiacriticPicker/locales.ts +6 -0
  78. package/src/components/DiacriticPicker/tests/DiatriticPicker.spec.ts +132 -0
  79. package/src/components/DialogBox/DialogBox.vue +1 -3
  80. package/src/components/NirField/NirField.stories.ts +172 -0
  81. package/src/components/NirField/NirField.vue +15 -7
  82. package/src/components/NotificationBar/Accessibilite.stories.ts +1 -1
  83. package/src/components/NotificationBar/NotificationBar.stories.ts +14 -0
  84. package/src/components/NotificationBar/NotificationBar.vue +26 -3
  85. package/src/components/NotificationBar/{options.ts → config.ts} +0 -1
  86. package/src/components/PaginatedTable/PaginatedTable.vue +0 -11
  87. package/src/components/PasswordField/PasswordField.stories.ts +4 -3
  88. package/src/components/PasswordField/PasswordField.vue +26 -18
  89. package/src/components/PasswordField/tests/PasswordField.spec.ts +1 -10
  90. package/src/components/PhoneField/PhoneField.stories.ts +143 -0
  91. package/src/components/PhoneField/PhoneField.vue +88 -30
  92. package/src/components/PhoneField/tests/PhoneField.additional.spec.ts +266 -0
  93. package/src/components/PhoneField/tests/PhoneField.spec.ts +248 -28
  94. package/src/components/PhoneField/tests/types.d.ts +19 -0
  95. package/src/components/SyAlert/Accessibilite.stories.ts +4 -0
  96. package/src/components/SyAlert/SyAlert.mdx +3 -7
  97. package/src/components/SyAlert/SyAlert.stories.ts +19 -12
  98. package/src/components/SyAlert/SyAlert.vue +88 -51
  99. package/src/components/SyAlert/tests/SyAlert.spec.ts +20 -2
  100. package/src/components/SyAlert/tests/__snapshots__/SyAlert.spec.ts.snap +83 -75
  101. package/src/components/SyTextArea/SyTextArea.mdx +17 -0
  102. package/src/components/SyTextArea/SyTextArea.stories.ts +322 -0
  103. package/src/components/SyTextArea/SyTextArea.vue +113 -0
  104. package/src/components/SyTextArea/locales.ts +3 -0
  105. package/src/components/SyTextArea/tests/SyTextArea.spec.ts +194 -0
  106. package/src/components/SyTextArea/trimStartOnUpdate.ts +12 -0
  107. package/src/components/SyTextArea/useTextActions.ts +52 -0
  108. package/src/components/SyTextArea/wrapText.ts +42 -0
  109. package/src/components/TableToolbar/TableToolbar.mdx +86 -1
  110. package/src/components/TableToolbar/TableToolbar.stories.ts +422 -74
  111. package/src/components/TableToolbar/TableToolbar.vue +25 -8
  112. package/src/components/TableToolbar/config.ts +3 -2
  113. package/src/components/TableToolbar/tests/__snapshots__/TableToolbar.spec.ts.snap +35 -12
  114. package/src/components/index.ts +4 -0
  115. package/src/composables/date/useDateFormat.ts +17 -1
  116. package/src/composables/date/useDateFormatDayjs.ts +84 -0
  117. package/src/composables/date/useDateInitializationDayjs.ts +133 -0
  118. package/src/composables/date/useHolidayDay.ts +98 -0
  119. package/src/composables/rules/useFieldValidation.ts +16 -3
  120. package/src/composables/validation/useValidation.ts +2 -1
  121. package/src/designTokens/tokens/pa/paLightTheme.ts +10 -41
  122. package/src/stories/Accessibilite/Avancement/Avancement.mdx +12 -0
  123. package/src/stories/Accessibilite/Avancement/Avancement.stories.ts +134 -0
  124. package/src/stories/Accessibilite/Introduction.mdx +5 -2
  125. package/src/stories/DesignTokens/colors.stories.ts +100 -41
  126. package/src/utils/rules/index.ts +1 -0
  127. package/src/utils/rules/isHolidayDay/IsHolidayDay.mdx +52 -0
  128. package/src/utils/rules/isHolidayDay/IsHolidayDay.stories.ts +129 -0
  129. package/src/utils/rules/isHolidayDay/index.ts +36 -0
  130. package/src/utils/rules/isHolidayDay/locales.ts +5 -0
  131. package/src/utils/rules/isHolidayDay/tests/isHolidayDay.spec.ts +35 -0
  132. /package/dist/components/NotificationBar/{options.d.ts → config.d.ts} +0 -0
  133. /package/src/components/DatePicker/{DatePickerValidationExamples.vue → docExamples/DatePickerValidationExamples.vue} +0 -0
@@ -0,0 +1,39 @@
1
+ import { CustomizableOptions } from '../../composables/useCustomizableOptions';
2
+ interface ContentObject {
3
+ title: string;
4
+ content: string;
5
+ }
6
+ interface AccordionItem {
7
+ id: string;
8
+ title: string;
9
+ content: string | ContentObject;
10
+ headingLevel?: number;
11
+ }
12
+ interface Props extends CustomizableOptions {
13
+ items: AccordionItem[];
14
+ headingLevel?: number;
15
+ groupId?: string;
16
+ vuetifyOptions?: {
17
+ accordion?: {
18
+ backgroundColor?: string;
19
+ titleColor?: string;
20
+ hoverColor?: string;
21
+ focusColor?: string;
22
+ activeColor?: string;
23
+ };
24
+ };
25
+ }
26
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
27
+ headingLevel: number;
28
+ groupId: string;
29
+ vuetifyOptions: {
30
+ accordion?: {
31
+ backgroundColor?: string | undefined;
32
+ titleColor?: string | undefined;
33
+ hoverColor?: string | undefined;
34
+ focusColor?: string | undefined;
35
+ activeColor?: string | undefined;
36
+ } | undefined;
37
+ };
38
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
39
+ export default _default;
@@ -0,0 +1,9 @@
1
+ export declare const config: {
2
+ accordion: {
3
+ backgroundColor: string;
4
+ titleColor: string;
5
+ hoverColor: string;
6
+ focusColor: string;
7
+ activeColor: string;
8
+ };
9
+ };
@@ -26,6 +26,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
26
26
  onRemove?: ((item: ChipItem) => any) | undefined;
27
27
  }>, {
28
28
  readonly: boolean;
29
+ items: ChipItem[];
29
30
  vuetifyOptions: {
30
31
  chip?: {
31
32
  color?: string | undefined;
@@ -37,7 +38,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
37
38
  [x: string]: unknown;
38
39
  };
39
40
  };
40
- items: ChipItem[];
41
41
  overflowLimit: number;
42
42
  resetText: string;
43
43
  displayPrependStateIcon: boolean;
@@ -26,8 +26,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
26
26
  id: string | number;
27
27
  errorMessages: string[];
28
28
  }[]>;
29
- isDisabled: import('vue').ComputedRef<boolean>;
30
- isReadonly: import('vue').ComputedRef<boolean>;
29
+ isDisabled: Readonly<import('vue').Ref<boolean, boolean>>;
30
+ isReadonly: Readonly<import('vue').Ref<boolean, boolean>>;
31
31
  isValidating: import('vue').ShallowRef<boolean, boolean>;
32
32
  isValid: import('vue').Ref<boolean | null, boolean | null> & {
33
33
  readonly externalValue: boolean | null;
@@ -67,8 +67,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
67
67
  id: string | number;
68
68
  errorMessages: string[];
69
69
  }[]>;
70
- isDisabled: import('vue').ComputedRef<boolean>;
71
- isReadonly: import('vue').ComputedRef<boolean>;
70
+ isDisabled: Readonly<import('vue').Ref<boolean, boolean>>;
71
+ isReadonly: Readonly<import('vue').Ref<boolean, boolean>>;
72
72
  isValidating: import('vue').ShallowRef<boolean, boolean>;
73
73
  isValid: import('vue').Ref<boolean | null, boolean | null> & {
74
74
  readonly externalValue: boolean | null;
@@ -109,8 +109,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
109
109
  id: string | number;
110
110
  errorMessages: string[];
111
111
  }[]>;
112
- isDisabled: import('vue').ComputedRef<boolean>;
113
- isReadonly: import('vue').ComputedRef<boolean>;
112
+ isDisabled: Readonly<import('vue').Ref<boolean, boolean>>;
113
+ isReadonly: Readonly<import('vue').Ref<boolean, boolean>>;
114
114
  isValidating: import('vue').ShallowRef<boolean, boolean>;
115
115
  isValid: import('vue').Ref<boolean | null, boolean | null> & {
116
116
  readonly externalValue: boolean | null;
@@ -152,8 +152,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
152
152
  id: string | number;
153
153
  errorMessages: string[];
154
154
  }[]>;
155
- isDisabled: import('vue').ComputedRef<boolean>;
156
- isReadonly: import('vue').ComputedRef<boolean>;
155
+ isDisabled: Readonly<import('vue').Ref<boolean, boolean>>;
156
+ isReadonly: Readonly<import('vue').Ref<boolean, boolean>>;
157
157
  isValidating: import('vue').ShallowRef<boolean, boolean>;
158
158
  isValid: import('vue').Ref<boolean | null, boolean | null> & {
159
159
  readonly externalValue: boolean | null;
@@ -196,8 +196,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
196
196
  id: string | number;
197
197
  errorMessages: string[];
198
198
  }[]>;
199
- isDisabled: import('vue').ComputedRef<boolean>;
200
- isReadonly: import('vue').ComputedRef<boolean>;
199
+ isDisabled: Readonly<import('vue').Ref<boolean, boolean>>;
200
+ isReadonly: Readonly<import('vue').Ref<boolean, boolean>>;
201
201
  isValidating: import('vue').ShallowRef<boolean, boolean>;
202
202
  isValid: import('vue').Ref<boolean | null, boolean | null> & {
203
203
  readonly externalValue: boolean | null;
@@ -237,8 +237,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
237
237
  id: string | number;
238
238
  errorMessages: string[];
239
239
  }[]>;
240
- isDisabled: import('vue').ComputedRef<boolean>;
241
- isReadonly: import('vue').ComputedRef<boolean>;
240
+ isDisabled: Readonly<import('vue').Ref<boolean, boolean>>;
241
+ isReadonly: Readonly<import('vue').Ref<boolean, boolean>>;
242
242
  isValidating: import('vue').ShallowRef<boolean, boolean>;
243
243
  isValid: import('vue').Ref<boolean | null, boolean | null> & {
244
244
  readonly externalValue: boolean | null;
@@ -289,8 +289,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
289
289
  id: string | number;
290
290
  errorMessages: string[];
291
291
  }[]>;
292
- isDisabled: import('vue').ComputedRef<boolean>;
293
- isReadonly: import('vue').ComputedRef<boolean>;
292
+ isDisabled: Readonly<import('vue').Ref<boolean, boolean>>;
293
+ isReadonly: Readonly<import('vue').Ref<boolean, boolean>>;
294
294
  isValidating: import('vue').ShallowRef<boolean, boolean>;
295
295
  isValid: import('vue').Ref<boolean | null, boolean | null> & {
296
296
  readonly externalValue: boolean | null;
@@ -350,8 +350,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
350
350
  id: string | number;
351
351
  errorMessages: string[];
352
352
  }[]>;
353
- isDisabled: import('vue').ComputedRef<boolean>;
354
- isReadonly: import('vue').ComputedRef<boolean>;
353
+ isDisabled: Readonly<import('vue').Ref<boolean, boolean>>;
354
+ isReadonly: Readonly<import('vue').Ref<boolean, boolean>>;
355
355
  isValidating: import('vue').ShallowRef<boolean, boolean>;
356
356
  isValid: import('vue').Ref<boolean | null, boolean | null> & {
357
357
  readonly externalValue: boolean | null;
@@ -391,8 +391,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
391
391
  id: string | number;
392
392
  errorMessages: string[];
393
393
  }[]>;
394
- isDisabled: import('vue').ComputedRef<boolean>;
395
- isReadonly: import('vue').ComputedRef<boolean>;
394
+ isDisabled: Readonly<import('vue').Ref<boolean, boolean>>;
395
+ isReadonly: Readonly<import('vue').Ref<boolean, boolean>>;
396
396
  isValidating: import('vue').ShallowRef<boolean, boolean>;
397
397
  isValid: import('vue').Ref<boolean | null, boolean | null> & {
398
398
  readonly externalValue: boolean | null;
@@ -433,8 +433,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
433
433
  id: string | number;
434
434
  errorMessages: string[];
435
435
  }[]>;
436
- isDisabled: import('vue').ComputedRef<boolean>;
437
- isReadonly: import('vue').ComputedRef<boolean>;
436
+ isDisabled: Readonly<import('vue').Ref<boolean, boolean>>;
437
+ isReadonly: Readonly<import('vue').Ref<boolean, boolean>>;
438
438
  isValidating: import('vue').ShallowRef<boolean, boolean>;
439
439
  isValid: import('vue').Ref<boolean | null, boolean | null> & {
440
440
  readonly externalValue: boolean | null;
@@ -476,8 +476,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
476
476
  id: string | number;
477
477
  errorMessages: string[];
478
478
  }[]>;
479
- isDisabled: import('vue').ComputedRef<boolean>;
480
- isReadonly: import('vue').ComputedRef<boolean>;
479
+ isDisabled: Readonly<import('vue').Ref<boolean, boolean>>;
480
+ isReadonly: Readonly<import('vue').Ref<boolean, boolean>>;
481
481
  isValidating: import('vue').ShallowRef<boolean, boolean>;
482
482
  isValid: import('vue').Ref<boolean | null, boolean | null> & {
483
483
  readonly externalValue: boolean | null;
@@ -520,8 +520,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
520
520
  id: string | number;
521
521
  errorMessages: string[];
522
522
  }[]>;
523
- isDisabled: import('vue').ComputedRef<boolean>;
524
- isReadonly: import('vue').ComputedRef<boolean>;
523
+ isDisabled: Readonly<import('vue').Ref<boolean, boolean>>;
524
+ isReadonly: Readonly<import('vue').Ref<boolean, boolean>>;
525
525
  isValidating: import('vue').ShallowRef<boolean, boolean>;
526
526
  isValid: import('vue').Ref<boolean | null, boolean | null> & {
527
527
  readonly externalValue: boolean | null;
@@ -561,8 +561,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
561
561
  id: string | number;
562
562
  errorMessages: string[];
563
563
  }[]>;
564
- isDisabled: import('vue').ComputedRef<boolean>;
565
- isReadonly: import('vue').ComputedRef<boolean>;
564
+ isDisabled: Readonly<import('vue').Ref<boolean, boolean>>;
565
+ isReadonly: Readonly<import('vue').Ref<boolean, boolean>>;
566
566
  isValidating: import('vue').ShallowRef<boolean, boolean>;
567
567
  isValid: import('vue').Ref<boolean | null, boolean | null> & {
568
568
  readonly externalValue: boolean | null;
@@ -5,6 +5,7 @@ type __VLS_Props = CustomizableOptions & {
5
5
  textToCopy: (() => string) | string;
6
6
  hideTooltip?: boolean;
7
7
  tooltipDuration?: number;
8
+ separatorsToRemove?: string | string[];
8
9
  };
9
10
  declare function copy(): void;
10
11
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_Props, {
@@ -16,6 +17,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
16
17
  textToCopy: string | (() => string);
17
18
  hideTooltip: boolean;
18
19
  tooltipDuration: number;
20
+ separatorsToRemove: string | string[];
19
21
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
20
22
  icon?(_: {}): any;
21
23
  tooltip?(_: {}): any;
@@ -1,4 +1,5 @@
1
1
  import { CustomizableOptions } from '../../../composables/useCustomizableOptions';
2
+ import { ValidationRule } from '../../../composables/validation/useValidation';
2
3
  type __VLS_Props = CustomizableOptions & {
3
4
  modelValue?: Record<string, unknown> | string | null;
4
5
  items?: Record<string, unknown>[] | string[];
@@ -11,6 +12,9 @@ type __VLS_Props = CustomizableOptions & {
11
12
  isHeaderToolbar?: boolean;
12
13
  displayAsterisk?: boolean;
13
14
  readonly?: boolean;
15
+ clearable?: boolean;
16
+ customRules?: ValidationRule[];
17
+ disableErrorHandling?: boolean;
14
18
  };
15
19
  declare const _default: import('vue').DefineComponent<__VLS_Props, {
16
20
  isOpen: import('vue').Ref<boolean, boolean>;
@@ -18,10 +22,15 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
18
22
  selectItem: (item: any) => void;
19
23
  selectedItem: import('vue').Ref<string | Record<string, unknown> | null, string | Record<string, unknown> | null>;
20
24
  getItemText: (item: unknown) => any;
25
+ validateOnSubmit: () => boolean;
26
+ validateField: (value: unknown) => boolean;
27
+ checkForErrors: () => boolean;
21
28
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
29
  "update:modelValue": (...args: any[]) => void;
30
+ "update:errorMessages": (...args: any[]) => void;
23
31
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
24
32
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
33
+ "onUpdate:errorMessages"?: ((...args: any[]) => any) | undefined;
25
34
  }>, {
26
35
  required: boolean;
27
36
  outlined: boolean;
@@ -30,6 +39,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
30
39
  errorMessages: string | string[];
31
40
  readonly: boolean;
32
41
  displayAsterisk: boolean;
42
+ customRules: ValidationRule[];
43
+ disableErrorHandling: boolean;
44
+ clearable: boolean;
33
45
  items: string[] | Record<string, unknown>[];
34
46
  textKey: string;
35
47
  valueKey: string;
@@ -55,6 +55,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
55
55
  type: BooleanConstructor;
56
56
  default: boolean;
57
57
  };
58
+ density: {
59
+ type: PropType<"default" | "comfortable" | "compact" | undefined>;
60
+ default: string;
61
+ };
58
62
  bgColor: {
59
63
  type: StringConstructor;
60
64
  default: undefined;
@@ -67,6 +71,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
67
71
  type: BooleanConstructor;
68
72
  default: boolean;
69
73
  };
74
+ hideMessages: {
75
+ type: BooleanConstructor;
76
+ default: boolean;
77
+ };
78
+ width: {
79
+ type: StringConstructor;
80
+ default: string;
81
+ };
70
82
  }>, {
71
83
  isOpen: import('vue').Ref<boolean, boolean>;
72
84
  closeList: () => void;
@@ -125,6 +137,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
125
137
  type: BooleanConstructor;
126
138
  default: boolean;
127
139
  };
140
+ density: {
141
+ type: PropType<"default" | "comfortable" | "compact" | undefined>;
142
+ default: string;
143
+ };
128
144
  bgColor: {
129
145
  type: StringConstructor;
130
146
  default: undefined;
@@ -137,6 +153,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
137
153
  type: BooleanConstructor;
138
154
  default: boolean;
139
155
  };
156
+ hideMessages: {
157
+ type: BooleanConstructor;
158
+ default: boolean;
159
+ };
160
+ width: {
161
+ type: StringConstructor;
162
+ default: string;
163
+ };
140
164
  }>> & Readonly<{
141
165
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
142
166
  }>, {
@@ -147,7 +171,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
147
171
  errorMessages: string | readonly string[];
148
172
  readonly: boolean;
149
173
  bgColor: string;
174
+ density: "default" | "comfortable" | "compact" | undefined;
150
175
  disabled: boolean;
176
+ width: string;
151
177
  displayAsterisk: boolean;
152
178
  disableErrorHandling: boolean;
153
179
  clearable: boolean;
@@ -156,6 +182,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
156
182
  textKey: string;
157
183
  valueKey: string;
158
184
  returnObject: boolean;
185
+ hideMessages: boolean;
159
186
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
160
187
  input: import('vue').CreateComponentPublicInstanceWithMixins<{
161
188
  flat: boolean;
@@ -170,7 +197,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
170
197
  disabled: boolean;
171
198
  readonly: boolean | null;
172
199
  messages: string | readonly string[];
173
- rules: readonly import('vuetify/lib/types.mjs').ValidationRule[];
200
+ rules: readonly (string | boolean | PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult> | [string, any, (string | undefined)?] | ((value: any) => import('vuetify/lib/composables/validation.mjs').ValidationResult) | ((value: any) => PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult>))[];
174
201
  focused: boolean;
175
202
  errorMessages: string | readonly string[] | null;
176
203
  maxErrors: string | number;
@@ -293,7 +320,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
293
320
  disabled: boolean | null;
294
321
  readonly: boolean | null;
295
322
  messages: string | readonly string[];
296
- rules: readonly import('vuetify/lib/types.mjs').ValidationRule[];
323
+ rules: readonly (string | boolean | PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult> | [string, any, (string | undefined)?] | ((value: any) => import('vuetify/lib/composables/validation.mjs').ValidationResult) | ((value: any) => PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult>))[];
297
324
  focused: boolean;
298
325
  errorMessages: string | readonly string[] | null;
299
326
  maxErrors: string | number;
@@ -309,7 +336,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
309
336
  disabled: boolean | null;
310
337
  readonly: boolean | null;
311
338
  messages: string | readonly string[];
312
- rules: readonly import('vuetify/lib/types.mjs').ValidationRule[];
339
+ rules: readonly (string | boolean | PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult> | [string, any, (string | undefined)?] | ((value: any) => import('vuetify/lib/composables/validation.mjs').ValidationResult) | ((value: any) => PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult>))[];
313
340
  focused: boolean;
314
341
  errorMessages: string | readonly string[] | null;
315
342
  maxErrors: string | number;
@@ -374,7 +401,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
374
401
  disabled: boolean | null;
375
402
  readonly: boolean | null;
376
403
  messages: string | readonly string[];
377
- rules: readonly import('vuetify/lib/types.mjs').ValidationRule[];
404
+ rules: readonly (string | boolean | PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult> | [string, any, (string | undefined)?] | ((value: any) => import('vuetify/lib/composables/validation.mjs').ValidationResult) | ((value: any) => PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult>))[];
378
405
  focused: boolean;
379
406
  errorMessages: string | readonly string[] | null;
380
407
  maxErrors: string | number;
@@ -419,7 +446,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
419
446
  disabled: boolean | null;
420
447
  readonly: boolean | null;
421
448
  messages: string | readonly string[];
422
- rules: readonly import('vuetify/lib/types.mjs').ValidationRule[];
449
+ rules: readonly (string | boolean | PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult> | [string, any, (string | undefined)?] | ((value: any) => import('vuetify/lib/composables/validation.mjs').ValidationResult) | ((value: any) => PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult>))[];
423
450
  focused: boolean;
424
451
  errorMessages: string | readonly string[] | null;
425
452
  maxErrors: string | number;
@@ -471,7 +498,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
471
498
  disabled: boolean | null;
472
499
  readonly: boolean | null;
473
500
  messages: string | readonly string[];
474
- rules: readonly import('vuetify/lib/types.mjs').ValidationRule[];
501
+ rules: readonly (string | boolean | PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult> | [string, any, (string | undefined)?] | ((value: any) => import('vuetify/lib/composables/validation.mjs').ValidationResult) | ((value: any) => PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult>))[];
475
502
  focused: boolean;
476
503
  errorMessages: string | readonly string[] | null;
477
504
  maxErrors: string | number;
@@ -487,7 +514,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
487
514
  disabled: boolean | null;
488
515
  readonly: boolean | null;
489
516
  messages: string | readonly string[];
490
- rules: readonly import('vuetify/lib/types.mjs').ValidationRule[];
517
+ rules: readonly (string | boolean | PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult> | [string, any, (string | undefined)?] | ((value: any) => import('vuetify/lib/composables/validation.mjs').ValidationResult) | ((value: any) => PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult>))[];
491
518
  focused: boolean;
492
519
  errorMessages: string | readonly string[] | null;
493
520
  maxErrors: string | number;
@@ -810,7 +837,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
810
837
  disabled: boolean;
811
838
  readonly: boolean | null;
812
839
  messages: string | readonly string[];
813
- rules: readonly import('vuetify/lib/types.mjs').ValidationRule[];
840
+ rules: readonly (string | boolean | PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult> | [string, any, (string | undefined)?] | ((value: any) => import('vuetify/lib/composables/validation.mjs').ValidationResult) | ((value: any) => PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult>))[];
814
841
  focused: boolean;
815
842
  errorMessages: string | readonly string[] | null;
816
843
  maxErrors: string | number;
@@ -887,7 +914,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
887
914
  disabled: boolean;
888
915
  readonly: boolean | null;
889
916
  messages: string | readonly string[];
890
- rules: readonly import('vuetify/lib/types.mjs').ValidationRule[];
917
+ rules: readonly (string | boolean | PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult> | [string, any, (string | undefined)?] | ((value: any) => import('vuetify/lib/composables/validation.mjs').ValidationResult) | ((value: any) => PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult>))[];
891
918
  focused: boolean;
892
919
  errorMessages: string | readonly string[] | null;
893
920
  maxErrors: string | number;
@@ -1010,7 +1037,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1010
1037
  disabled: boolean | null;
1011
1038
  readonly: boolean | null;
1012
1039
  messages: string | readonly string[];
1013
- rules: readonly import('vuetify/lib/types.mjs').ValidationRule[];
1040
+ rules: readonly (string | boolean | PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult> | [string, any, (string | undefined)?] | ((value: any) => import('vuetify/lib/composables/validation.mjs').ValidationResult) | ((value: any) => PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult>))[];
1014
1041
  focused: boolean;
1015
1042
  errorMessages: string | readonly string[] | null;
1016
1043
  maxErrors: string | number;
@@ -1026,7 +1053,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1026
1053
  disabled: boolean | null;
1027
1054
  readonly: boolean | null;
1028
1055
  messages: string | readonly string[];
1029
- rules: readonly import('vuetify/lib/types.mjs').ValidationRule[];
1056
+ rules: readonly (string | boolean | PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult> | [string, any, (string | undefined)?] | ((value: any) => import('vuetify/lib/composables/validation.mjs').ValidationResult) | ((value: any) => PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult>))[];
1030
1057
  focused: boolean;
1031
1058
  errorMessages: string | readonly string[] | null;
1032
1059
  maxErrors: string | number;
@@ -1091,7 +1118,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1091
1118
  disabled: boolean | null;
1092
1119
  readonly: boolean | null;
1093
1120
  messages: string | readonly string[];
1094
- rules: readonly import('vuetify/lib/types.mjs').ValidationRule[];
1121
+ rules: readonly (string | boolean | PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult> | [string, any, (string | undefined)?] | ((value: any) => import('vuetify/lib/composables/validation.mjs').ValidationResult) | ((value: any) => PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult>))[];
1095
1122
  focused: boolean;
1096
1123
  errorMessages: string | readonly string[] | null;
1097
1124
  maxErrors: string | number;
@@ -1136,7 +1163,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1136
1163
  disabled: boolean | null;
1137
1164
  readonly: boolean | null;
1138
1165
  messages: string | readonly string[];
1139
- rules: readonly import('vuetify/lib/types.mjs').ValidationRule[];
1166
+ rules: readonly (string | boolean | PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult> | [string, any, (string | undefined)?] | ((value: any) => import('vuetify/lib/composables/validation.mjs').ValidationResult) | ((value: any) => PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult>))[];
1140
1167
  focused: boolean;
1141
1168
  errorMessages: string | readonly string[] | null;
1142
1169
  maxErrors: string | number;
@@ -1188,7 +1215,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1188
1215
  disabled: boolean | null;
1189
1216
  readonly: boolean | null;
1190
1217
  messages: string | readonly string[];
1191
- rules: readonly import('vuetify/lib/types.mjs').ValidationRule[];
1218
+ rules: readonly (string | boolean | PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult> | [string, any, (string | undefined)?] | ((value: any) => import('vuetify/lib/composables/validation.mjs').ValidationResult) | ((value: any) => PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult>))[];
1192
1219
  focused: boolean;
1193
1220
  errorMessages: string | readonly string[] | null;
1194
1221
  maxErrors: string | number;
@@ -1204,7 +1231,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1204
1231
  disabled: boolean | null;
1205
1232
  readonly: boolean | null;
1206
1233
  messages: string | readonly string[];
1207
- rules: readonly import('vuetify/lib/types.mjs').ValidationRule[];
1234
+ rules: readonly (string | boolean | PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult> | [string, any, (string | undefined)?] | ((value: any) => import('vuetify/lib/composables/validation.mjs').ValidationResult) | ((value: any) => PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult>))[];
1208
1235
  focused: boolean;
1209
1236
  errorMessages: string | readonly string[] | null;
1210
1237
  maxErrors: string | number;
@@ -1522,7 +1549,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1522
1549
  disabled: boolean;
1523
1550
  readonly: boolean | null;
1524
1551
  messages: string | readonly string[];
1525
- rules: readonly import('vuetify/lib/types.mjs').ValidationRule[];
1552
+ rules: readonly (string | boolean | PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult> | [string, any, (string | undefined)?] | ((value: any) => import('vuetify/lib/composables/validation.mjs').ValidationResult) | ((value: any) => PromiseLike<import('vuetify/lib/composables/validation.mjs').ValidationResult>))[];
1526
1553
  focused: boolean;
1527
1554
  errorMessages: string | readonly string[] | null;
1528
1555
  maxErrors: string | number;