@knime/kds-components 1.1.2 → 1.1.4

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 (245) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/index.css +1223 -1224
  3. package/dist/index.js +10930 -10879
  4. package/dist/index.js.map +1 -1
  5. package/dist/src/accessories/ProgressBar/types.d.ts +0 -2
  6. package/dist/src/accessories/ProgressBar/types.d.ts.map +1 -1
  7. package/dist/src/buttons/ActionButton/ActionButton.vue.d.ts.map +1 -1
  8. package/dist/src/buttons/ActionButton/types.d.ts +2 -0
  9. package/dist/src/buttons/ActionButton/types.d.ts.map +1 -1
  10. package/dist/src/buttons/BaseButton.vue.d.ts +10 -2
  11. package/dist/src/buttons/BaseButton.vue.d.ts.map +1 -1
  12. package/dist/src/buttons/KdsButton/KdsButton.vue.d.ts.map +1 -1
  13. package/dist/src/buttons/KdsButton/types.d.ts +4 -0
  14. package/dist/src/buttons/KdsButton/types.d.ts.map +1 -1
  15. package/dist/src/buttons/KdsMenuButton/KdsMenuButton.vue.d.ts +28 -2
  16. package/dist/src/buttons/KdsMenuButton/KdsMenuButton.vue.d.ts.map +1 -1
  17. package/dist/src/buttons/KdsMenuButton/types.d.ts +13 -3
  18. package/dist/src/buttons/KdsMenuButton/types.d.ts.map +1 -1
  19. package/dist/src/buttons/KdsProgressButton/KdsProgressButton.vue.d.ts +8 -0
  20. package/dist/src/buttons/KdsProgressButton/KdsProgressButton.vue.d.ts.map +1 -1
  21. package/dist/src/buttons/KdsProgressButton/types.d.ts +24 -2
  22. package/dist/src/buttons/KdsProgressButton/types.d.ts.map +1 -1
  23. package/dist/src/buttons/KdsSplitButton/KdsSplitButton.vue.d.ts +8 -2
  24. package/dist/src/buttons/KdsSplitButton/KdsSplitButton.vue.d.ts.map +1 -1
  25. package/dist/src/buttons/KdsSplitButton/types.d.ts +7 -4
  26. package/dist/src/buttons/KdsSplitButton/types.d.ts.map +1 -1
  27. package/dist/src/buttons/KdsToggleButton/KdsToggleButton.vue.d.ts +8 -0
  28. package/dist/src/buttons/KdsToggleButton/KdsToggleButton.vue.d.ts.map +1 -1
  29. package/dist/src/buttons/KdsToggleButton/types.d.ts +7 -1
  30. package/dist/src/buttons/KdsToggleButton/types.d.ts.map +1 -1
  31. package/dist/src/buttons/ResponsiveButtonGroup/KdsResponsiveButtonGroup.vue.d.ts +36 -2
  32. package/dist/src/buttons/ResponsiveButtonGroup/KdsResponsiveButtonGroup.vue.d.ts.map +1 -1
  33. package/dist/src/buttons/ResponsiveButtonGroup/mapping.d.ts +2 -0
  34. package/dist/src/buttons/ResponsiveButtonGroup/mapping.d.ts.map +1 -1
  35. package/dist/src/buttons/ResponsiveButtonGroup/types.d.ts +0 -4
  36. package/dist/src/buttons/ResponsiveButtonGroup/types.d.ts.map +1 -1
  37. package/dist/src/buttons/links/KdsLink/KdsLink.vue.d.ts.map +1 -1
  38. package/dist/src/buttons/links/KdsLink/types.d.ts +4 -1
  39. package/dist/src/buttons/links/KdsLink/types.d.ts.map +1 -1
  40. package/dist/src/buttons/links/KdsLinkButton/KdsLinkButton.vue.d.ts.map +1 -1
  41. package/dist/src/buttons/links/KdsLinkButton/types.d.ts +4 -0
  42. package/dist/src/buttons/links/KdsLinkButton/types.d.ts.map +1 -1
  43. package/dist/src/buttons/types.d.ts +9 -0
  44. package/dist/src/buttons/types.d.ts.map +1 -1
  45. package/dist/src/containers/ContextMenu/KdsContextMenu.vue.d.ts.map +1 -1
  46. package/dist/src/containers/ContextMenu/types.d.ts +15 -5
  47. package/dist/src/containers/ContextMenu/types.d.ts.map +1 -1
  48. package/dist/src/containers/FileExplorer/FileExplorerItem.vue.d.ts +54 -15
  49. package/dist/src/containers/FileExplorer/FileExplorerItem.vue.d.ts.map +1 -1
  50. package/dist/src/containers/FileExplorer/KdsFileExplorer.vue.d.ts +92 -30
  51. package/dist/src/containers/FileExplorer/KdsFileExplorer.vue.d.ts.map +1 -1
  52. package/dist/src/containers/FileExplorer/types.d.ts +21 -10
  53. package/dist/src/containers/FileExplorer/types.d.ts.map +1 -1
  54. package/dist/src/containers/ListContainer/KdsListContainer.vue.d.ts.map +1 -1
  55. package/dist/src/containers/ListContainer/types.d.ts +7 -4
  56. package/dist/src/containers/ListContainer/types.d.ts.map +1 -1
  57. package/dist/src/containers/ListItem/KdsListItem/KdsListItem.vue.d.ts.map +1 -1
  58. package/dist/src/containers/ListItem/KdsListItem/types.d.ts +5 -0
  59. package/dist/src/containers/ListItem/KdsListItem/types.d.ts.map +1 -1
  60. package/dist/src/containers/ListItem/KdsListItemButton/KdsListItemButton.vue.d.ts.map +1 -1
  61. package/dist/src/containers/ListItem/KdsListItemButton/types.d.ts +4 -0
  62. package/dist/src/containers/ListItem/KdsListItemButton/types.d.ts.map +1 -1
  63. package/dist/src/containers/Menu/KdsMenu.vue.d.ts +16 -4
  64. package/dist/src/containers/Menu/KdsMenu.vue.d.ts.map +1 -1
  65. package/dist/src/containers/Menu/types.d.ts +8 -4
  66. package/dist/src/containers/Menu/types.d.ts.map +1 -1
  67. package/dist/src/containers/MenuContainer/KdsMenuContainer.vue.d.ts.map +1 -1
  68. package/dist/src/containers/MenuContainer/KdsMenuItem.vue.d.ts +16 -3
  69. package/dist/src/containers/MenuContainer/KdsMenuItem.vue.d.ts.map +1 -1
  70. package/dist/src/containers/MenuContainer/types.d.ts +14 -4
  71. package/dist/src/containers/MenuContainer/types.d.ts.map +1 -1
  72. package/dist/src/containers/PreviewList/KdsPreviewList/types.d.ts +6 -4
  73. package/dist/src/containers/PreviewList/KdsPreviewList/types.d.ts.map +1 -1
  74. package/dist/src/forms/Checkbox/KdsCheckbox.vue.d.ts +8 -0
  75. package/dist/src/forms/Checkbox/KdsCheckbox.vue.d.ts.map +1 -1
  76. package/dist/src/forms/Checkbox/types.d.ts +22 -1
  77. package/dist/src/forms/Checkbox/types.d.ts.map +1 -1
  78. package/dist/src/forms/RadioButton/KdsValueSwitch.vue.d.ts +4 -2
  79. package/dist/src/forms/RadioButton/KdsValueSwitch.vue.d.ts.map +1 -1
  80. package/dist/src/forms/RadioButton/types.d.ts +40 -0
  81. package/dist/src/forms/RadioButton/types.d.ts.map +1 -1
  82. package/dist/src/forms/ToggleSwitch/KdsToggleSwitch.vue.d.ts +8 -0
  83. package/dist/src/forms/ToggleSwitch/KdsToggleSwitch.vue.d.ts.map +1 -1
  84. package/dist/src/forms/ToggleSwitch/types.d.ts +12 -1
  85. package/dist/src/forms/ToggleSwitch/types.d.ts.map +1 -1
  86. package/dist/src/forms/_helper/BaseFieldsetWrapper.vue.d.ts +10 -2
  87. package/dist/src/forms/_helper/BaseFieldsetWrapper.vue.d.ts.map +1 -1
  88. package/dist/src/forms/_helper/BaseFormFieldWrapper.vue.d.ts +18 -4
  89. package/dist/src/forms/_helper/BaseFormFieldWrapper.vue.d.ts.map +1 -1
  90. package/dist/src/forms/_helper/InfoPopover/InfoPopover.vue.d.ts +10 -5
  91. package/dist/src/forms/_helper/InfoPopover/InfoPopover.vue.d.ts.map +1 -1
  92. package/dist/src/forms/_helper/InfoPopover/KdsInfoToggleButton.vue.d.ts +26 -9
  93. package/dist/src/forms/_helper/InfoPopover/KdsInfoToggleButton.vue.d.ts.map +1 -1
  94. package/dist/src/forms/_helper/InfoPopover/types.d.ts +4 -0
  95. package/dist/src/forms/_helper/InfoPopover/types.d.ts.map +1 -1
  96. package/dist/src/forms/_helper/VariablePopover/KdsVariableToggleButton.vue.d.ts +57 -40
  97. package/dist/src/forms/_helper/VariablePopover/KdsVariableToggleButton.vue.d.ts.map +1 -1
  98. package/dist/src/forms/_helper/VariablePopover/VariablePopover.vue.d.ts +10 -5
  99. package/dist/src/forms/_helper/VariablePopover/VariablePopover.vue.d.ts.map +1 -1
  100. package/dist/src/forms/inputs/BaseInput.vue.d.ts +18 -3
  101. package/dist/src/forms/inputs/BaseInput.vue.d.ts.map +1 -1
  102. package/dist/src/forms/inputs/ColorInput/ColorPicker/ColorPicker.vue.d.ts +3 -1
  103. package/dist/src/forms/inputs/ColorInput/ColorPicker/ColorPicker.vue.d.ts.map +1 -1
  104. package/dist/src/forms/inputs/ColorInput/ColorPicker/types.d.ts +7 -0
  105. package/dist/src/forms/inputs/ColorInput/ColorPicker/types.d.ts.map +1 -1
  106. package/dist/src/forms/inputs/ColorInput/KdsColorInput.vue.d.ts +16 -2
  107. package/dist/src/forms/inputs/ColorInput/KdsColorInput.vue.d.ts.map +1 -1
  108. package/dist/src/forms/inputs/ColorInput/types.d.ts +7 -1
  109. package/dist/src/forms/inputs/ColorInput/types.d.ts.map +1 -1
  110. package/dist/src/forms/inputs/DateInput/KdsDateInput.vue.d.ts +14 -5
  111. package/dist/src/forms/inputs/DateInput/KdsDateInput.vue.d.ts.map +1 -1
  112. package/dist/src/forms/inputs/DateInput/_helper/types.d.ts +11 -0
  113. package/dist/src/forms/inputs/DateInput/_helper/types.d.ts.map +1 -1
  114. package/dist/src/forms/inputs/DateInput/types.d.ts +10 -0
  115. package/dist/src/forms/inputs/DateInput/types.d.ts.map +1 -1
  116. package/dist/src/forms/inputs/DateTimeFormatInput/DateTimeFormatPopover.vue.d.ts +1 -5
  117. package/dist/src/forms/inputs/DateTimeFormatInput/DateTimeFormatPopover.vue.d.ts.map +1 -1
  118. package/dist/src/forms/inputs/DateTimeFormatInput/KdsDateTimeFormatInput.vue.d.ts +12 -2
  119. package/dist/src/forms/inputs/DateTimeFormatInput/KdsDateTimeFormatInput.vue.d.ts.map +1 -1
  120. package/dist/src/forms/inputs/DateTimeFormatInput/types.d.ts +25 -0
  121. package/dist/src/forms/inputs/DateTimeFormatInput/types.d.ts.map +1 -1
  122. package/dist/src/forms/inputs/DateTimeInput/KdsDateTimeInput.vue.d.ts +66 -25
  123. package/dist/src/forms/inputs/DateTimeInput/KdsDateTimeInput.vue.d.ts.map +1 -1
  124. package/dist/src/forms/inputs/DateTimeInput/types.d.ts +15 -1
  125. package/dist/src/forms/inputs/DateTimeInput/types.d.ts.map +1 -1
  126. package/dist/src/forms/inputs/IntervalInput/KdsIntervalInput.vue.d.ts +18 -5
  127. package/dist/src/forms/inputs/IntervalInput/KdsIntervalInput.vue.d.ts.map +1 -1
  128. package/dist/src/forms/inputs/IntervalInput/types.d.ts +14 -0
  129. package/dist/src/forms/inputs/IntervalInput/types.d.ts.map +1 -1
  130. package/dist/src/forms/inputs/NumberInput/KdsNumberInput.vue.d.ts +10 -3
  131. package/dist/src/forms/inputs/NumberInput/KdsNumberInput.vue.d.ts.map +1 -1
  132. package/dist/src/forms/inputs/NumberInput/types.d.ts +5 -0
  133. package/dist/src/forms/inputs/NumberInput/types.d.ts.map +1 -1
  134. package/dist/src/forms/inputs/PasswordInput/KdsPasswordInput.vue.d.ts +6 -3
  135. package/dist/src/forms/inputs/PasswordInput/KdsPasswordInput.vue.d.ts.map +1 -1
  136. package/dist/src/forms/inputs/PasswordInput/types.d.ts +5 -0
  137. package/dist/src/forms/inputs/PasswordInput/types.d.ts.map +1 -1
  138. package/dist/src/forms/inputs/PatternInput/KdsPatternInput.vue.d.ts +26 -3
  139. package/dist/src/forms/inputs/PatternInput/KdsPatternInput.vue.d.ts.map +1 -1
  140. package/dist/src/forms/inputs/PatternInput/types.d.ts +28 -1
  141. package/dist/src/forms/inputs/PatternInput/types.d.ts.map +1 -1
  142. package/dist/src/forms/inputs/SearchInput/KdsSearchInput.vue.d.ts +35 -22
  143. package/dist/src/forms/inputs/SearchInput/KdsSearchInput.vue.d.ts.map +1 -1
  144. package/dist/src/forms/inputs/SearchInput/types.d.ts +17 -0
  145. package/dist/src/forms/inputs/SearchInput/types.d.ts.map +1 -1
  146. package/dist/src/forms/inputs/TextInput/KdsTextInput.vue.d.ts +18 -5
  147. package/dist/src/forms/inputs/TextInput/KdsTextInput.vue.d.ts.map +1 -1
  148. package/dist/src/forms/inputs/TextInput/types.d.ts +5 -0
  149. package/dist/src/forms/inputs/TextInput/types.d.ts.map +1 -1
  150. package/dist/src/forms/inputs/Textarea/KdsTextarea.vue.d.ts +4 -0
  151. package/dist/src/forms/inputs/Textarea/KdsTextarea.vue.d.ts.map +1 -1
  152. package/dist/src/forms/inputs/Textarea/types.d.ts +5 -0
  153. package/dist/src/forms/inputs/Textarea/types.d.ts.map +1 -1
  154. package/dist/src/forms/inputs/TimeInput/KdsTimeInput.vue.d.ts +46 -20
  155. package/dist/src/forms/inputs/TimeInput/KdsTimeInput.vue.d.ts.map +1 -1
  156. package/dist/src/forms/inputs/TimeInput/TimePicker.vue.d.ts +32 -13
  157. package/dist/src/forms/inputs/TimeInput/TimePicker.vue.d.ts.map +1 -1
  158. package/dist/src/forms/inputs/TimeInput/types.d.ts +28 -2
  159. package/dist/src/forms/inputs/TimeInput/types.d.ts.map +1 -1
  160. package/dist/src/forms/inputs/UsernameInput/KdsUsernameInput.vue.d.ts +6 -3
  161. package/dist/src/forms/inputs/UsernameInput/KdsUsernameInput.vue.d.ts.map +1 -1
  162. package/dist/src/forms/inputs/UsernameInput/types.d.ts +6 -0
  163. package/dist/src/forms/inputs/UsernameInput/types.d.ts.map +1 -1
  164. package/dist/src/forms/inputs/ZonedDateTimeInput/KdsZonedDateTimeInput.vue.d.ts +66 -25
  165. package/dist/src/forms/inputs/ZonedDateTimeInput/KdsZonedDateTimeInput.vue.d.ts.map +1 -1
  166. package/dist/src/forms/inputs/ZonedDateTimeInput/types.d.ts +16 -2
  167. package/dist/src/forms/inputs/ZonedDateTimeInput/types.d.ts.map +1 -1
  168. package/dist/src/forms/selects/Dropdown/DropdownContainer.vue.d.ts +6 -3
  169. package/dist/src/forms/selects/Dropdown/DropdownContainer.vue.d.ts.map +1 -1
  170. package/dist/src/forms/selects/Dropdown/KdsDropdown.vue.d.ts +22 -5
  171. package/dist/src/forms/selects/Dropdown/KdsDropdown.vue.d.ts.map +1 -1
  172. package/dist/src/forms/selects/Dropdown/KdsMultiSelectDropdown.vue.d.ts +18 -5
  173. package/dist/src/forms/selects/Dropdown/KdsMultiSelectDropdown.vue.d.ts.map +1 -1
  174. package/dist/src/forms/selects/Dropdown/MultiSelectDropdownContainer.vue.d.ts +6 -3
  175. package/dist/src/forms/selects/Dropdown/MultiSelectDropdownContainer.vue.d.ts.map +1 -1
  176. package/dist/src/forms/selects/Dropdown/types.d.ts +15 -2
  177. package/dist/src/forms/selects/Dropdown/types.d.ts.map +1 -1
  178. package/dist/src/forms/selects/MultiSelectListBox/KdsMultiSelectListBox.vue.d.ts +4 -0
  179. package/dist/src/forms/selects/MultiSelectListBox/KdsMultiSelectListBox.vue.d.ts.map +1 -1
  180. package/dist/src/forms/selects/MultiSelectListBox/types.d.ts +17 -0
  181. package/dist/src/forms/selects/MultiSelectListBox/types.d.ts.map +1 -1
  182. package/dist/src/forms/selects/SortableListBox/KdsSortableListBox.vue.d.ts +8 -0
  183. package/dist/src/forms/selects/SortableListBox/KdsSortableListBox.vue.d.ts.map +1 -1
  184. package/dist/src/forms/selects/SortableListBox/types.d.ts +3 -1
  185. package/dist/src/forms/selects/SortableListBox/types.d.ts.map +1 -1
  186. package/dist/src/forms/selects/TwinList/KdsTwinList.vue.d.ts +36 -0
  187. package/dist/src/forms/selects/TwinList/KdsTwinList.vue.d.ts.map +1 -1
  188. package/dist/src/forms/selects/TwinList/types.d.ts +52 -1
  189. package/dist/src/forms/selects/TwinList/types.d.ts.map +1 -1
  190. package/dist/src/layouts/Accordion/KdsAccordion.vue.d.ts +9 -3
  191. package/dist/src/layouts/Accordion/KdsAccordion.vue.d.ts.map +1 -1
  192. package/dist/src/layouts/Accordion/types.d.ts +4 -0
  193. package/dist/src/layouts/Accordion/types.d.ts.map +1 -1
  194. package/dist/src/layouts/Card/BaseCard.vue.d.ts +34 -5
  195. package/dist/src/layouts/Card/BaseCard.vue.d.ts.map +1 -1
  196. package/dist/src/layouts/Card/CardHeader.vue.d.ts +18 -3
  197. package/dist/src/layouts/Card/CardHeader.vue.d.ts.map +1 -1
  198. package/dist/src/layouts/Card/KdsCard.vue.d.ts +26 -4
  199. package/dist/src/layouts/Card/KdsCard.vue.d.ts.map +1 -1
  200. package/dist/src/layouts/Card/KdsClickableCard.vue.d.ts +26 -4
  201. package/dist/src/layouts/Card/KdsClickableCard.vue.d.ts.map +1 -1
  202. package/dist/src/layouts/Card/KdsLinkCard.vue.d.ts +26 -4
  203. package/dist/src/layouts/Card/KdsLinkCard.vue.d.ts.map +1 -1
  204. package/dist/src/layouts/Card/KdsSelectableCard.vue.d.ts +34 -4
  205. package/dist/src/layouts/Card/KdsSelectableCard.vue.d.ts.map +1 -1
  206. package/dist/src/layouts/Card/types.d.ts +13 -4
  207. package/dist/src/layouts/Card/types.d.ts.map +1 -1
  208. package/dist/src/layouts/EmptyState/KdsEmptyState.vue.d.ts.map +1 -1
  209. package/dist/src/layouts/EmptyState/types.d.ts +14 -0
  210. package/dist/src/layouts/EmptyState/types.d.ts.map +1 -1
  211. package/dist/src/layouts/LoadingSkeleton/KdsLoadingSkeleton.vue.d.ts +10 -2
  212. package/dist/src/layouts/LoadingSkeleton/KdsLoadingSkeleton.vue.d.ts.map +1 -1
  213. package/dist/src/layouts/Navigation/KdsNavItem/KdsNavItem.vue.d.ts.map +1 -1
  214. package/dist/src/layouts/Navigation/KdsNavItem/types.d.ts +6 -0
  215. package/dist/src/layouts/Navigation/KdsNavItem/types.d.ts.map +1 -1
  216. package/dist/src/layouts/Navigation/KdsNavigation.vue.d.ts.map +1 -1
  217. package/dist/src/layouts/Navigation/types.d.ts +7 -1
  218. package/dist/src/layouts/Navigation/types.d.ts.map +1 -1
  219. package/dist/src/layouts/Panel/types.d.ts +0 -3
  220. package/dist/src/layouts/Panel/types.d.ts.map +1 -1
  221. package/dist/src/layouts/ResizeContainer/KdsResizeContainer.vue.d.ts +13 -3
  222. package/dist/src/layouts/ResizeContainer/KdsResizeContainer.vue.d.ts.map +1 -1
  223. package/dist/src/layouts/ResizeContainer/ResizeHandle/types.d.ts +0 -2
  224. package/dist/src/layouts/ResizeContainer/ResizeHandle/types.d.ts.map +1 -1
  225. package/dist/src/layouts/ResizeContainer/types.d.ts +0 -4
  226. package/dist/src/layouts/ResizeContainer/types.d.ts.map +1 -1
  227. package/dist/src/layouts/TabBar/types.d.ts +7 -3
  228. package/dist/src/layouts/TabBar/types.d.ts.map +1 -1
  229. package/dist/src/overlays/Modal/KdsModal.vue.d.ts +38 -9
  230. package/dist/src/overlays/Modal/KdsModal.vue.d.ts.map +1 -1
  231. package/dist/src/overlays/Modal/KdsModalLayout.vue.d.ts +18 -3
  232. package/dist/src/overlays/Modal/KdsModalLayout.vue.d.ts.map +1 -1
  233. package/dist/src/overlays/Modal/types.d.ts +9 -9
  234. package/dist/src/overlays/Modal/types.d.ts.map +1 -1
  235. package/dist/src/overlays/Popover/KdsPopover.vue.d.ts +14 -2
  236. package/dist/src/overlays/Popover/KdsPopover.vue.d.ts.map +1 -1
  237. package/dist/src/overlays/Popover/types.d.ts +4 -6
  238. package/dist/src/overlays/Popover/types.d.ts.map +1 -1
  239. package/dist/src/overlays/SideDrawer/KdsSideDrawer.vue.d.ts +10 -2
  240. package/dist/src/overlays/SideDrawer/KdsSideDrawer.vue.d.ts.map +1 -1
  241. package/dist/src/overlays/SideDrawer/types.d.ts +0 -2
  242. package/dist/src/overlays/SideDrawer/types.d.ts.map +1 -1
  243. package/package.json +2 -2
  244. package/dist/src/containers/FileExplorer/utils/filterSlotsForDynamicColumns.d.ts +0 -3
  245. package/dist/src/containers/FileExplorer/utils/filterSlotsForDynamicColumns.d.ts.map +0 -1
@@ -91,6 +91,7 @@ declare function __VLS_template(): {
91
91
  $options: import('vue').ComponentOptionsBase<Readonly<({
92
92
  modelValue?: boolean;
93
93
  } & {
94
+ modelValue?: boolean;
94
95
  role?: import('../..').KdsPopoverRole;
95
96
  popoverType?: import('../..').KdsPopoverType;
96
97
  fullWidth?: boolean;
@@ -102,6 +103,7 @@ declare function __VLS_template(): {
102
103
  }) | ({
103
104
  modelValue?: boolean;
104
105
  } & {
106
+ modelValue?: boolean;
105
107
  role?: import('../..').KdsPopoverRole;
106
108
  popoverType?: import('../..').KdsPopoverType;
107
109
  fullWidth?: boolean;
@@ -143,6 +145,7 @@ declare function __VLS_template(): {
143
145
  } & Readonly<{}> & Omit<{} & (Readonly<({
144
146
  modelValue?: boolean;
145
147
  } & {
148
+ modelValue?: boolean;
146
149
  role?: import('../..').KdsPopoverRole;
147
150
  popoverType?: import('../..').KdsPopoverType;
148
151
  fullWidth?: boolean;
@@ -154,6 +157,7 @@ declare function __VLS_template(): {
154
157
  }) | ({
155
158
  modelValue?: boolean;
156
159
  } & {
160
+ modelValue?: boolean;
157
161
  role?: import('../..').KdsPopoverRole;
158
162
  popoverType?: import('../..').KdsPopoverType;
159
163
  fullWidth?: boolean;
@@ -171,8 +175,10 @@ declare function __VLS_template(): {
171
175
  anchorStyle: Record<string, string>;
172
176
  popoverId: string;
173
177
  } & {} & import('vue').ComponentCustomProperties & {} & {
174
- $slots: {
175
- default?(_: {}): any;
178
+ $slots: Readonly<{
179
+ default(): unknown;
180
+ }> & {
181
+ default(): unknown;
176
182
  };
177
183
  }) | null;
178
184
  menuContainer: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../MenuContainer').KdsMenuContainerProps> & Readonly<{
@@ -248,6 +254,7 @@ declare const __VLS_component: import('vue').DefineComponent<KdsMenuProps, {}, {
248
254
  $options: import('vue').ComponentOptionsBase<Readonly<({
249
255
  modelValue?: boolean;
250
256
  } & {
257
+ modelValue?: boolean;
251
258
  role?: import('../..').KdsPopoverRole;
252
259
  popoverType?: import('../..').KdsPopoverType;
253
260
  fullWidth?: boolean;
@@ -259,6 +266,7 @@ declare const __VLS_component: import('vue').DefineComponent<KdsMenuProps, {}, {
259
266
  }) | ({
260
267
  modelValue?: boolean;
261
268
  } & {
269
+ modelValue?: boolean;
262
270
  role?: import('../..').KdsPopoverRole;
263
271
  popoverType?: import('../..').KdsPopoverType;
264
272
  fullWidth?: boolean;
@@ -300,6 +308,7 @@ declare const __VLS_component: import('vue').DefineComponent<KdsMenuProps, {}, {
300
308
  } & Readonly<{}> & Omit<{} & (Readonly<({
301
309
  modelValue?: boolean;
302
310
  } & {
311
+ modelValue?: boolean;
303
312
  role?: import('../..').KdsPopoverRole;
304
313
  popoverType?: import('../..').KdsPopoverType;
305
314
  fullWidth?: boolean;
@@ -311,6 +320,7 @@ declare const __VLS_component: import('vue').DefineComponent<KdsMenuProps, {}, {
311
320
  }) | ({
312
321
  modelValue?: boolean;
313
322
  } & {
323
+ modelValue?: boolean;
314
324
  role?: import('../..').KdsPopoverRole;
315
325
  popoverType?: import('../..').KdsPopoverType;
316
326
  fullWidth?: boolean;
@@ -328,8 +338,10 @@ declare const __VLS_component: import('vue').DefineComponent<KdsMenuProps, {}, {
328
338
  anchorStyle: Record<string, string>;
329
339
  popoverId: string;
330
340
  } & {} & import('vue').ComponentCustomProperties & {} & {
331
- $slots: {
332
- default?(_: {}): any;
341
+ $slots: Readonly<{
342
+ default(): unknown;
343
+ }> & {
344
+ default(): unknown;
333
345
  };
334
346
  }) | null;
335
347
  menuContainer: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../MenuContainer').KdsMenuContainerProps> & Readonly<{
@@ -1 +1 @@
1
- {"version":3,"file":"KdsMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/containers/Menu/KdsMenu.vue"],"names":[],"mappings":"AAgJA,OAAO,EACL,KAAK,SAAS,EAMf,MAAM,KAAK,CAAC;AAOb,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAgD5C,QAAA,MAAM,kBAAkB,oCAAmC,CAAC;AAE5D,QAAA,MAAM,IAAI,YAET,CAAC;AAEF,QAAA,MAAM,KAAK,YAEV,CAAC;AAEF,QAAA,MAAM,MAAM,YAEX,CAAC;AAEF,QAAA,MAAM,KAAK;;;;;;;;;EAeT,CAAC;AAEH,KAAK,aAAa,GAAG;IACnB,KAAK,EAAE,SAAS,CAAC,OAAO,KAAK,CAAC,CAAC;IAC/B,MAAM,EAAE,SAAS,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC7C,IAA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wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,11 +1,15 @@
1
1
  import { KdsListItemVariant } from '../ListItem/KdsListItem';
2
- import { KdsMenuItem } from '../MenuContainer/types';
2
+ import { KdsMenuItem } from '../MenuContainer';
3
+ export type KdsMenuEmits = {
4
+ /** Emitted when item is clicked. */
5
+ itemClick: [id: string];
6
+ };
3
7
  export type KdsMenuProps = {
4
- /** Menu items rendered in the list */
8
+ /** Menu items rendered in the list. */
5
9
  items: KdsMenuItem[];
6
- /** Limits the height of the menu container */
10
+ /** Limits the height of the menu container. */
7
11
  menuMaxHeight?: string;
8
- /** Size variant for all the items in this container */
12
+ /** Size variant for all the items in this container. */
9
13
  variant?: KdsListItemVariant;
10
14
  /** Accessible label for the menu. Defaults to "Menu". */
11
15
  ariaLabel?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/containers/Menu/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE1D,MAAM,MAAM,YAAY,GAAG;IACzB,sCAAsC;IACtC,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,8CAA8C;IAC9C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,uDAAuD;IACvD,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/containers/Menu/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,MAAM,YAAY,GAAG;IACzB,oCAAoC;IACpC,SAAS,EAAE,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,uCAAuC;IACvC,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,+CAA+C;IAC/C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wDAAwD;IACxD,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"KdsMenuContainer.vue.d.ts","sourceRoot":"","sources":["../../../../src/containers/MenuContainer/KdsMenuContainer.vue"],"names":[],"mappings":"AA6YA,OAAO,KAAK,EAEV,qBAAqB,EAGtB,MAAM,SAAS,CAAC;;;;;;;;;;AAyZjB,wBAUG"}
1
+ {"version":3,"file":"KdsMenuContainer.vue.d.ts","sourceRoot":"","sources":["../../../../src/containers/MenuContainer/KdsMenuContainer.vue"],"names":[],"mappings":"AAyYA,OAAO,KAAK,EAGV,qBAAqB,EAGtB,MAAM,SAAS,CAAC;;;;;;;;;;AAoZjB,wBAUG"}
@@ -7,13 +7,26 @@ type __VLS_Props = {
7
7
  };
8
8
  declare function __VLS_template(): {
9
9
  attrs: Partial<{}>;
10
- slots: {
11
- children?(_: {
10
+ slots: Readonly<{
11
+ /**
12
+ * Submenu content rendered when the item has children.
13
+ */
14
+ children(props: {
12
15
  anchor: {
13
16
  id: string;
14
17
  name: string;
15
18
  };
16
- }): any;
19
+ }): unknown;
20
+ }> & {
21
+ /**
22
+ * Submenu content rendered when the item has children.
23
+ */
24
+ children(props: {
25
+ anchor: {
26
+ id: string;
27
+ name: string;
28
+ };
29
+ }): unknown;
17
30
  };
18
31
  refs: {
19
32
  linkEl: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"KdsMenuItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/containers/MenuContainer/KdsMenuItem.vue"],"names":[],"mappings":"AAkPA,OAAO,KAAK,EACV,qBAAqB,EACrB,WAAW,EAEZ,MAAM,SAAS,CAAC;AAEjB,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,WAAW,CAAC;IAClB,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,qBAAqB,CAAC,SAAS,CAAC,CAAC;CAC5C,CAAC;AAiGF,iBAAS,cAAc;WAmPT,OAAO,IAA6B;;;;;;;YAZnB,GAAG;;;;;;EAiBjC;AAuBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;OASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"KdsMenuItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/containers/MenuContainer/KdsMenuItem.vue"],"names":[],"mappings":"AAuPA,OAAO,KAAK,EACV,qBAAqB,EACrB,WAAW,EAGZ,MAAM,SAAS,CAAC;AAEjB,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,WAAW,CAAC;IAClB,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,qBAAqB,CAAC,SAAS,CAAC,CAAC;CAC5C,CAAC;AAqGF,iBAAS,cAAc;WAgPT,OAAO,IAA6B;;QAxPhD;;WAEG;wBACa;YAAE,MAAM,EAAE;gBAAE,EAAE,EAAE,MAAM,CAAC;gBAAC,IAAI,EAAE,MAAM,CAAA;aAAE,CAAA;SAAE,GAAG,OAAO;;QAHlE;;WAEG;wBACa;YAAE,MAAM,EAAE;gBAAE,EAAE,EAAE,MAAM,CAAC;gBAAC,IAAI,EAAE,MAAM,CAAA;aAAE,CAAA;SAAE,GAAG,OAAO;;;;;;EA0PnE;AAuBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;OASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -106,20 +106,30 @@ export type KdsMenuItemWithChildren = KdsMenuItemBase & {
106
106
  * rendered anchor, action items invoke the callback.
107
107
  */
108
108
  export type KdsMenuItem = KdsMenuSectionHeadlineItem | KdsMenuActionItem | KdsMenuLinkItem | KdsMenuItemWithChildren;
109
+ /** Events emitted by a menu item. */
110
+ export type KdsMenuItemEmits = {
111
+ /** Emitted when the menu item is clicked. */
112
+ click: [event: MouseEvent];
113
+ /** Emitted when the mouse enters the menu item. */
114
+ mouseenter: [event: MouseEvent];
115
+ };
116
+ export type KdsMenuContainerEmits = {
117
+ /** Emitted event when any item rendered by the menu is clicked. */
118
+ itemClick: [id: string];
119
+ };
109
120
  export type KdsMenuContainerProps = {
110
- /** id of the menu to be linked via aria-controls */
121
+ /** id of the menu to be linked via aria-controls. */
111
122
  id: string;
112
- /** Accessible label for the menu */
123
+ /** Accessible label for the menu. */
113
124
  ariaLabel?: string;
114
125
  /** Menu items rendered in the list */
115
126
  items: KdsMenuItem[];
116
127
  /** Limits the height of the menu container */
117
128
  menuMaxHeight?: string;
118
- /** Size variant for all the items in this container */
129
+ /** Size variant for all the items in this container. */
119
130
  variant?: KdsListItemVariant;
120
131
  /**
121
132
  * How to set the active state for the child items when the container receives focus
122
- * @default noop
123
133
  */
124
134
  itemFocusStrategy?: ItemFocusStrategy;
125
135
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/containers/MenuContainer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACtE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AACzE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EACV,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACvB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,KAAK,oBAAoB,GACrB,gBAAgB,GAChB,sBAAsB,GACtB,kBAAkB,CAAC;AAEvB,gDAAgD;AAChD,KAAK,eAAe,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,oCAAoC;IACpC,IAAI,EAAE,MAAM,CAAC;IAEb,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,0FAA0F;IAC1F,SAAS,CAAC,EAAE,oBAAoB,CAAC;IAEjC,uEAAuE;IACvE,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,yHAAyH;IACzH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC;IAE3B;;OAEG;IACH,KAAK,CAAC,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,eAAe,CAAC;KA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,KAAK,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;IAC3B,mDAAmD;IACnD,UAAU,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,mEAAmE;IACnE,SAAS,EAAE,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,qDAAqD;IACrD,EAAE,EAAE,MAAM,CAAC;IACX,qCAAqC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,8CAA8C;IAC9C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wDAAwD;IACxD,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B;;OAEG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,mCAAmC;IACnC,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;;;OAIG;IACH,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC"}
@@ -8,6 +8,11 @@ import { KdsListItemProps } from '../../ListItem/KdsListItem';
8
8
  */
9
9
  export type KdsPreviewListItem = Pick<KdsListItemProps, "id" | "text" | "accessory">;
10
10
  export type KdsPreviewListProps = {
11
+ /** Whether the list body is expanded or collapsed.
12
+ * @default true
13
+ */
14
+ expanded?: boolean;
15
+ } & {
11
16
  /** Headline shown in the header row. */
12
17
  headline: string;
13
18
  /**
@@ -15,8 +20,7 @@ export type KdsPreviewListProps = {
15
20
  * Hidden when collapsed and `loading` is `true` (replaced by a loading spinner).
16
21
  */
17
22
  leadingIcon?: KdsIconName;
18
- /**
19
- * When `true`, the body shows a loading state instead of items / empty state.
23
+ /** When `true`, the body shows a loading state instead of items / empty state.
20
24
  * When the list is collapsed, the leading icon in the header is replaced by
21
25
  * a loading spinner so loading remains visible.
22
26
  */
@@ -35,13 +39,11 @@ export type KdsPreviewListProps = {
35
39
  items: KdsPreviewListItem[];
36
40
  /**
37
41
  * Headline shown in the empty state when `items` is empty.
38
- * @default "No entries"
39
42
  */
40
43
  emptyStateHeadline?: string;
41
44
  /**
42
45
  * Maximum number of items visible in the expanded list before vertical
43
46
  * scrolling kicks in. Values below `1` are clamped to `1`.
44
- * @default 6
45
47
  */
46
48
  maxVisibleItems?: number;
47
49
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/containers/PreviewList/KdsPreviewList/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAEnE;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG,IAAI,CACnC,gBAAgB,EAChB,IAAI,GAAG,MAAM,GAAG,WAAW,CAC5B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,wCAAwC;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC,GAAG;QAC1D,mEAAmE;QACnE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;KACvC,CAAC;IACF,wCAAwC;IACxC,KAAK,EAAE,kBAAkB,EAAE,CAAC;IAC5B;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/containers/PreviewList/KdsPreviewList/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAEnE;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG,IAAI,CACnC,gBAAgB,EAChB,IAAI,GAAG,MAAM,GAAG,WAAW,CAC5B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG;IACF,wCAAwC;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC,GAAG;QAC1D,mEAAmE;QACnE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;KACvC,CAAC;IACF,wCAAwC;IACxC,KAAK,EAAE,kBAAkB,EAAE,CAAC;IAC5B;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC"}
@@ -9,6 +9,8 @@ declare const _default: import('vue').DefineComponent<({
9
9
  } & {
10
10
  label: string;
11
11
  title?: never;
12
+ } & {
13
+ modelValue?: KdsCheckboxValue;
12
14
  }) | ({
13
15
  modelValue?: KdsCheckboxValue;
14
16
  } & {
@@ -19,6 +21,8 @@ declare const _default: import('vue').DefineComponent<({
19
21
  } & {
20
22
  label?: never;
21
23
  title: string;
24
+ } & {
25
+ modelValue?: KdsCheckboxValue;
22
26
  }), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
23
27
  "update:modelValue": (value: KdsCheckboxValue) => any;
24
28
  }, string, import('vue').PublicProps, Readonly<({
@@ -31,6 +35,8 @@ declare const _default: import('vue').DefineComponent<({
31
35
  } & {
32
36
  label: string;
33
37
  title?: never;
38
+ } & {
39
+ modelValue?: KdsCheckboxValue;
34
40
  }) | ({
35
41
  modelValue?: KdsCheckboxValue;
36
42
  } & {
@@ -41,6 +47,8 @@ declare const _default: import('vue').DefineComponent<({
41
47
  } & {
42
48
  label?: never;
43
49
  title: string;
50
+ } & {
51
+ modelValue?: KdsCheckboxValue;
44
52
  })> & Readonly<{
45
53
  "onUpdate:modelValue"?: ((value: KdsCheckboxValue) => any) | undefined;
46
54
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -1 +1 @@
1
- {"version":3,"file":"KdsCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/Checkbox/KdsCheckbox.vue"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAoB,gBAAgB,EAAE,MAAM,SAAS,CAAC;;iBAkBrD,gBAAgB;;;;;;;;;;iBAAhB,gBAAgB;;;;;;;;;;;;iBAAhB,gBAAgB;;;;;;;;;;iBAAhB,gBAAgB;;;;;;;;;;;;AA2D7B,wBAQG"}
1
+ {"version":3,"file":"KdsCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/Checkbox/KdsCheckbox.vue"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAoB,gBAAgB,EAAE,MAAM,SAAS,CAAC;;iBAkBrD,gBAAgB;;;;;;;;;;;;iBAAhB,gBAAgB;;;;;;;;;;;;;;iBAAhB,gBAAgB;;;;;;;;;;;;iBAAhB,gBAAgB;;;;;;;;;;;;;;AA2D7B,wBAQG"}
@@ -37,20 +37,41 @@ export type BaseCheckboxProps = BaseProps & LabelOrTitle & {
37
37
  */
38
38
  helperText?: string;
39
39
  };
40
- export type KdsCheckboxProps = BaseProps & LabelOrTitle;
40
+ export type KdsCheckboxProps = BaseProps & LabelOrTitle & {
41
+ /**
42
+ * The checked state of the checkbox.
43
+ * @default false
44
+ */
45
+ modelValue?: KdsCheckboxValue;
46
+ };
41
47
  export type KdsCheckboxGroupOption = {
48
+ /** Label text for the option. */
42
49
  text: string;
50
+ /** Unique identifier for the option. */
43
51
  id: string;
52
+ /** Whether the option is disabled. */
44
53
  disabled?: boolean;
54
+ /** Helper text displayed below the option label. */
45
55
  helperText?: string;
56
+ /** Whether the option is in an error state. */
46
57
  error?: boolean;
47
58
  };
59
+ /** Alignment of checkbox group options. */
48
60
  export type KdsCheckboxGroupAlignment = (typeof kdsCheckboxGroupAlignment)[keyof typeof kdsCheckboxGroupAlignment];
49
61
  export type KdsCheckboxGroupProps = {
62
+ /** Fieldset id. */
50
63
  id?: string;
64
+ /** Legend text displayed above the checkbox group. */
51
65
  label?: string;
66
+ /** Available options — strings are used as both id and text. */
52
67
  possibleValues: Array<string | KdsCheckboxGroupOption>;
68
+ /** Layout alignment of the options. */
53
69
  alignment?: KdsCheckboxGroupAlignment;
70
+ /**
71
+ * Array of selected option ids.
72
+ * @default []
73
+ */
74
+ modelValue?: string[];
54
75
  } & BaseProps;
55
76
  export {};
56
77
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/forms/Checkbox/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEtE,MAAM,MAAM,gBAAgB,GAC1B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D,KAAK,SAAS,GAAG;IACf;;OAEG;IACH,QAAQ,CAAC,EA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MAAM,CAAC;IACZ,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gEAAgE;IAChE,cAAc,EAAE,KAAK,CAAC,MAAM,GAAG,sBAAsB,CAAC,CAAC;IACvD,uCAAuC;IACvC,SAAS,CAAC,EAAE,yBAAyB,CAAC;IACtC;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB,GAAG,SAAS,CAAC"}
@@ -55,8 +55,10 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
55
55
  $nextTick: typeof import('vue').nextTick;
56
56
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
57
57
  } & Readonly<{}> & Omit<Readonly<import('../types').KdsFieldsetProps> & Readonly<{}>, never> & {} & import('vue').ComponentCustomProperties & {} & {
58
- $slots: {
59
- default?(_: {}): any;
58
+ $slots: Readonly<{
59
+ default(): unknown;
60
+ }> & {
61
+ default(): unknown;
60
62
  };
61
63
  }) | null;
62
64
  optionContainer: HTMLDivElement;
@@ -1 +1 @@
1
- {"version":3,"file":"KdsValueSwitch.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/RadioButton/KdsValueSwitch.vue"],"names":[],"mappings":"AA2HA,OAAO,KAAK,EAAwB,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAIzE,KAAK,WAAW,GAAG,mBAAmB,CAAC;AAuCvC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA2J+kgB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;AAjBrtgB,wBASG"}
1
+ {"version":3,"file":"KdsValueSwitch.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/RadioButton/KdsValueSwitch.vue"],"names":[],"mappings":"AA2HA,OAAO,KAAK,EAAwB,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAIzE,KAAK,WAAW,GAAG,mBAAmB,CAAC;AAuCvC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA2J+kgB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;AAjBrtgB,wBASG"}
@@ -1,26 +1,51 @@
1
1
  import { KdsIconName } from '../../accessories';
2
2
  import { kdsRadioButtonGroupAlignment, kdsValueSwitchSize, kdsValueSwitchVariant } from './enums';
3
3
  export type KdsRadioButtonProps = {
4
+ /**
5
+ * Whether the radio button is selected.
6
+ * @default false
7
+ */
8
+ modelValue?: boolean;
9
+ /** Label text displayed next to the radio control. */
4
10
  text: string;
11
+ /** Helper text displayed below the label. */
5
12
  helperText?: string;
13
+ /** Whether the radio button is disabled. */
6
14
  disabled?: boolean;
15
+ /** Whether the radio button is in an error state. */
7
16
  error?: boolean;
8
17
  };
9
18
  export type KdsRadioButtonGroupAlignment = (typeof kdsRadioButtonGroupAlignment)[keyof typeof kdsRadioButtonGroupAlignment];
10
19
  export type KdsRadioButtonGroupOption = {
20
+ /** Label text displayed next to the radio control. */
11
21
  text: string;
22
+ /** Unique identifier for the option. */
12
23
  id: string;
24
+ /** Whether the option is disabled. */
13
25
  disabled?: boolean;
26
+ /** Helper text displayed below the option label. */
14
27
  helperText?: string;
28
+ /** Whether the option is in an error state. */
15
29
  error?: boolean;
16
30
  };
17
31
  export type KdsRadioButtonGroupProps = {
32
+ /**
33
+ * The currently selected option id.
34
+ */
35
+ modelValue?: string;
36
+ /** Fieldset id. */
18
37
  id?: string;
38
+ /** Legend text displayed above the radio group. */
19
39
  label?: string;
40
+ /** Available options — strings are used as both id and text. */
20
41
  possibleValues: (string | KdsRadioButtonGroupOption)[];
42
+ /** Layout alignment of the options. */
21
43
  alignment?: KdsRadioButtonGroupAlignment;
44
+ /** Whether all options are disabled. */
22
45
  disabled?: boolean;
46
+ /** Subtext providing additional context or error messages. */
23
47
  subText?: string;
48
+ /** Reserve space for subtext to prevent layout shifts. */
24
49
  preserveSubTextSpace?: boolean;
25
50
  };
26
51
  export type KdsValueSwitchSize = (typeof kdsValueSwitchSize)[keyof typeof kdsValueSwitchSize];
@@ -48,23 +73,38 @@ type KdsValueSwitchItemContent = {
48
73
  trailingIcon?: never;
49
74
  };
50
75
  export type KdsValueSwitchOption = {
76
+ /** Unique identifier for the option. */
51
77
  id: string;
78
+ /** Whether the option is disabled. */
52
79
  disabled?: boolean;
53
80
  } & KdsValueSwitchItemContent;
54
81
  export type KdsValueSwitchProps = {
82
+ /**
83
+ * The currently selected option id.
84
+ */
85
+ modelValue?: string;
86
+ /** Fieldset id. */
55
87
  id?: string;
88
+ /** Legend text displayed above the value switch. */
56
89
  label?: string;
57
90
  /**
58
91
  * Accessible label used when no visible `label` is rendered (e.g. when
59
92
  * the value switch is used standalone in a panel header).
60
93
  */
61
94
  ariaLabel?: string;
95
+ /** Available options — strings are used as both id and text. */
62
96
  possibleValues: (string | KdsValueSwitchOption)[];
97
+ /** Size of the value switch items. */
63
98
  size?: KdsValueSwitchSize;
99
+ /** Visual variant of the value switch. */
64
100
  variant?: KdsValueSwitchVariant;
101
+ /** Whether all options are disabled. */
65
102
  disabled?: boolean;
103
+ /** Subtext providing additional context or error messages. */
66
104
  subText?: string;
105
+ /** Whether the value switch is in an error state. */
67
106
  error?: boolean;
107
+ /** Reserve space for subtext to prevent layout shifts. */
68
108
  preserveSubTextSpace?: boolean;
69
109
  };
70
110
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/forms/RadioButton/types.ts"],"names":[],"m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AgE;IAChE,cAAc,EAAE,CAAC,MAAM,GAAG,oBAAoB,CAAC,EAAE,CAAC;IAClD,sCAAsC;IACtC,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B,0CAA0C;IAC1C,OAAO,CAAC,EAAE,qBAAqB,CAAC;IAChC,wCAAwC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8DAA8D;IAC9D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qDAAqD;IACrD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,0DAA0D;IAC1D,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC"}
@@ -7,6 +7,8 @@ declare const _default: import('vue').DefineComponent<({
7
7
  } & {
8
8
  label: string;
9
9
  ariaLabel?: never;
10
+ } & {
11
+ modelValue?: boolean;
10
12
  }) | ({
11
13
  modelValue?: boolean;
12
14
  } & {
@@ -16,6 +18,8 @@ declare const _default: import('vue').DefineComponent<({
16
18
  } & {
17
19
  label?: never;
18
20
  ariaLabel: string;
21
+ } & {
22
+ modelValue?: boolean;
19
23
  }), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
24
  "update:modelValue": (value: boolean) => any;
21
25
  }, string, import('vue').PublicProps, Readonly<({
@@ -27,6 +31,8 @@ declare const _default: import('vue').DefineComponent<({
27
31
  } & {
28
32
  label: string;
29
33
  ariaLabel?: never;
34
+ } & {
35
+ modelValue?: boolean;
30
36
  }) | ({
31
37
  modelValue?: boolean;
32
38
  } & {
@@ -36,6 +42,8 @@ declare const _default: import('vue').DefineComponent<({
36
42
  } & {
37
43
  label?: never;
38
44
  ariaLabel: string;
45
+ } & {
46
+ modelValue?: boolean;
39
47
  })> & Readonly<{
40
48
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
41
49
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
@@ -1 +1 @@
1
- {"version":3,"file":"KdsToggleSwitch.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/ToggleSwitch/KdsToggleSwitch.vue"],"names":[],"mappings":";iBA4Pa,OAAO;;;;;;;;;iBAAP,OAAO;;;;;;;;;;;iBAAP,OAAO;;;;;;;;;iBAAP,OAAO;;;;;;;;;;;AAkGpB,wBAQG"}
1
+ {"version":3,"file":"KdsToggleSwitch.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/ToggleSwitch/KdsToggleSwitch.vue"],"names":[],"mappings":";iBA4Pa,OAAO;;;;;;;;;;;iBAAP,OAAO;;;;;;;;;;;;;iBAAP,OAAO;;;;;;;;;;;iBAAP,OAAO;;;;;;;;;;;;;AAkGpB,wBAQG"}
@@ -2,17 +2,28 @@ import { kdsToggleSwitchLabelPosition, kdsToggleSwitchSize } from './enums';
2
2
  export type KdsToggleSwitchSize = (typeof kdsToggleSwitchSize)[keyof typeof kdsToggleSwitchSize];
3
3
  export type KdsToggleSwitchLabelPosition = (typeof kdsToggleSwitchLabelPosition)[keyof typeof kdsToggleSwitchLabelPosition];
4
4
  type BaseProps = {
5
+ /** Whether the toggle switch is disabled. */
5
6
  disabled?: boolean;
7
+ /** Size of the toggle switch. */
6
8
  size?: KdsToggleSwitchSize;
9
+ /** Position of the label relative to the toggle switch. */
7
10
  labelPosition?: KdsToggleSwitchLabelPosition;
8
11
  };
9
12
  type LabelOrAriaLabel = {
13
+ /** Visible label text. */
10
14
  label: string;
11
15
  ariaLabel?: never;
12
16
  } | {
13
17
  label?: never;
18
+ /** Accessible label required when no visible label is present. */
14
19
  ariaLabel: string;
15
20
  };
16
- export type KdsToggleSwitchProps = BaseProps & LabelOrAriaLabel;
21
+ export type KdsToggleSwitchProps = BaseProps & LabelOrAriaLabel & {
22
+ /**
23
+ * Whether the toggle switch is on.
24
+ * @default false
25
+ */
26
+ modelValue?: boolean;
27
+ };
17
28
  export {};
18
29
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/forms/ToggleSwitch/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE5E,MAAM,MAAM,mBAAmB,GAC7B,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEjE,MAAM,MAAM,4BAA4B,GACtC,CAAC,OAAO,4BAA4B,CAAC,CAAC,MAAM,OAAO,4BAA4B,CAAC,CAAC;AAEnF,KAAK,SAAS,GAAG;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,aAAa,CAAC,EAAE,4BAA4B,CAAC;CAC9C,CAAC;AAEF,KAAK,gBAAgB,GACjB;IACE,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,KAAK,CAAC;CACnB,GACD;IACE,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEN,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAAG,gBAAgB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/forms/ToggleSwitch/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE5E,MAAM,MAAM,mBAAmB,GAC7B,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEjE,MAAM,MAAM,4BAA4B,GACtC,CAAC,OAAO,4BAA4B,CAAC,CAAC,MAAM,OAAO,4BAA4B,CAAC,CAAC;AAEnF,KAAK,SAAS,GAAG;IACf,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iCAAiC;IACjC,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,2DAA2D;IAC3D,aAAa,CAAC,EAAE,4BAA4B,CAAC;CAC9C,CAAC;AAEF,KAAK,gBAAgB,GACjB;IACE,0BAA0B;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,KAAK,CAAC;CACnB,GACD;IACE,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,kEAAkE;IAClE,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEN,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAC1C,gBAAgB,GAAG;IACjB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC"}
@@ -1,8 +1,16 @@
1
1
  import { KdsFieldsetProps } from '../types';
2
2
  declare function __VLS_template(): {
3
3
  attrs: Partial<{}>;
4
- slots: {
5
- default?(_: {}): any;
4
+ slots: Readonly<{
5
+ /**
6
+ * Content of the fieldset (e.g. checkboxes, radio buttons).
7
+ */
8
+ default(): unknown;
9
+ }> & {
10
+ /**
11
+ * Content of the fieldset (e.g. checkboxes, radio buttons).
12
+ */
13
+ default(): unknown;
6
14
  };
7
15
  refs: {};
8
16
  rootEl: HTMLFieldSetElement;
@@ -1 +1 @@
1
- {"version":3,"file":"BaseFieldsetWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/_helper/BaseFieldsetWrapper.vue"],"names":[],"mappings":"AAkGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAoBjD,iBAAS,cAAc;WAqFT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,4TAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"BaseFieldsetWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/_helper/BaseFieldsetWrapper.vue"],"names":[],"mappings":"AAyGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AA2BjD,iBAAS,cAAc;WAkFT,OAAO,IAA6B;;QA1FhD;;WAEG;mBACQ,OAAO;;QAHlB;;WAEG;mBACQ,OAAO;;;;EA4FnB;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,4TAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -20,14 +20,28 @@ type KdsFormFieldProps = {
20
20
  } & Omit<KdsSubTextProps, "id">;
21
21
  declare function __VLS_template(): {
22
22
  attrs: Partial<{}>;
23
- slots: {
24
- default?(_: {
23
+ slots: Readonly<{
24
+ /**
25
+ * Form input element.
26
+ */
27
+ default(props: {
25
28
  id: string;
26
29
  ariaLabelledby: string | undefined;
27
30
  ariaDescribedby: string | undefined;
28
31
  ariaLabel: string | undefined;
29
- ariaInvalid: boolean;
30
- }): any;
32
+ ariaInvalid: boolean | undefined;
33
+ }): unknown;
34
+ }> & {
35
+ /**
36
+ * Form input element.
37
+ */
38
+ default(props: {
39
+ id: string;
40
+ ariaLabelledby: string | undefined;
41
+ ariaDescribedby: string | undefined;
42
+ ariaLabel: string | undefined;
43
+ ariaInvalid: boolean | undefined;
44
+ }): unknown;
31
45
  };
32
46
  refs: {};
33
47
  rootEl: HTMLDivElement;
@@ -1 +1 @@
1
- {"version":3,"file":"BaseFormFieldWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/_helper/BaseFormFieldWrapper.vue"],"names":[],"mappings":"AA+EA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAKhD,KAAK,iBAAiB,GAAG;IACvB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC;AAchC,iBAAS,cAAc;WA0ET,OAAO,IAA6B;;;;;;;;YAVrB,GAAG;;;;EAe/B;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,yTAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"BaseFormFieldWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/_helper/BaseFormFieldWrapper.vue"],"names":[],"mappings":"AA4FA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAKhD,KAAK,iBAAiB,GAAG;IACvB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC;AA2BhC,iBA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