@volverjs/ui-vue 0.0.10-beta.8 → 0.0.10

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 (1165) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +150 -54
  3. package/bin/icons.cjs +1 -1
  4. package/bin/icons.js +26 -22
  5. package/dist/Volver.d.ts +24 -12
  6. package/dist/components/VvAccordion/VvAccordion.es.js +150 -270
  7. package/dist/components/VvAccordion/VvAccordion.umd.js +1 -1
  8. package/dist/components/VvAccordion/VvAccordion.vue.d.ts +35 -15
  9. package/dist/components/VvAccordion/index.d.ts +8 -9
  10. package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +406 -350
  11. package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
  12. package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +66 -19
  13. package/dist/components/VvAccordionGroup/index.d.ts +16 -8
  14. package/dist/components/VvAction/VvAction.es.js +74 -146
  15. package/dist/components/VvAction/VvAction.umd.js +1 -1
  16. package/dist/components/VvAction/VvAction.vue.d.ts +63 -30
  17. package/dist/components/VvAction/index.d.ts +26 -10
  18. package/dist/components/VvAlert/VvAlert.es.js +260 -449
  19. package/dist/components/VvAlert/VvAlert.umd.js +1 -1
  20. package/dist/components/VvAlert/VvAlert.vue.d.ts +40 -26
  21. package/dist/components/VvAlert/index.d.ts +20 -11
  22. package/dist/components/VvAlertGroup/VvAlertGroup.es.js +263 -442
  23. package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
  24. package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +28 -21
  25. package/dist/components/VvAlertGroup/index.d.ts +10 -18
  26. package/dist/components/VvAvatar/VvAvatar.es.js +33 -195
  27. package/dist/components/VvAvatar/VvAvatar.umd.js +1 -1
  28. package/dist/components/VvAvatar/VvAvatar.vue.d.ts +15 -7
  29. package/dist/components/VvAvatar/index.d.ts +4 -1
  30. package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +64 -222
  31. package/dist/components/VvAvatarGroup/VvAvatarGroup.umd.js +1 -1
  32. package/dist/components/VvAvatarGroup/VvAvatarGroup.vue.d.ts +19 -12
  33. package/dist/components/VvAvatarGroup/index.d.ts +6 -3
  34. package/dist/components/VvBadge/VvBadge.es.js +30 -196
  35. package/dist/components/VvBadge/VvBadge.umd.js +1 -1
  36. package/dist/components/VvBadge/VvBadge.vue.d.ts +15 -7
  37. package/dist/components/VvBadge/index.d.ts +4 -1
  38. package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +234 -167
  39. package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -1
  40. package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +31 -11
  41. package/dist/components/VvBreadcrumb/index.d.ts +6 -10
  42. package/dist/components/VvButton/VvButton.es.js +436 -554
  43. package/dist/components/VvButton/VvButton.umd.js +1 -1
  44. package/dist/components/VvButton/VvButton.vue.d.ts +107 -57
  45. package/dist/components/VvButton/index.d.ts +52 -30
  46. package/dist/components/VvButtonGroup/VvButtonGroup.es.js +56 -203
  47. package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -1
  48. package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +38 -19
  49. package/dist/components/VvButtonGroup/index.d.ts +13 -4
  50. package/dist/components/VvCard/VvCard.es.js +29 -194
  51. package/dist/components/VvCard/VvCard.umd.js +1 -1
  52. package/dist/components/VvCard/VvCard.vue.d.ts +21 -10
  53. package/dist/components/VvCard/index.d.ts +4 -1
  54. package/dist/components/VvCheckbox/VvCheckbox.es.js +149 -299
  55. package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
  56. package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +119 -45
  57. package/dist/components/VvCheckbox/index.d.ts +52 -19
  58. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +318 -440
  59. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
  60. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +126 -44
  61. package/dist/components/VvCheckboxGroup/index.d.ts +49 -12
  62. package/dist/components/VvCombobox/VvCombobox.es.js +2404 -2126
  63. package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
  64. package/dist/components/VvCombobox/VvCombobox.vue.d.ts +292 -672
  65. package/dist/components/VvCombobox/index.d.ts +467 -138
  66. package/dist/components/VvDialog/VvDialog.es.js +139 -478
  67. package/dist/components/VvDialog/VvDialog.umd.js +1 -1
  68. package/dist/components/VvDialog/VvDialog.vue.d.ts +29 -11
  69. package/dist/components/VvDialog/index.d.ts +12 -0
  70. package/dist/components/VvDropdown/VvDropdown.es.js +127 -161
  71. package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
  72. package/dist/components/VvDropdown/VvDropdown.vue.d.ts +119 -332
  73. package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +73 -29
  74. package/dist/components/VvDropdown/VvDropdownItem.vue.d.ts +15 -3
  75. package/dist/components/VvDropdown/VvDropdownOptgroup.vue.d.ts +13 -5
  76. package/dist/components/VvDropdown/VvDropdownOption.vue.d.ts +43 -14
  77. package/dist/components/VvDropdown/index.d.ts +52 -118
  78. package/dist/components/VvDropdownAction/VvDropdownAction.es.js +108 -164
  79. package/dist/components/VvDropdownAction/VvDropdownAction.umd.js +1 -1
  80. package/dist/components/VvDropdownItem/VvDropdownItem.es.js +90 -4
  81. package/dist/components/VvDropdownItem/VvDropdownItem.umd.js +1 -1
  82. package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js +28 -182
  83. package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.umd.js +1 -1
  84. package/dist/components/VvDropdownOption/VvDropdownOption.es.js +123 -243
  85. package/dist/components/VvDropdownOption/VvDropdownOption.umd.js +1 -1
  86. package/dist/components/VvIcon/VvIcon.es.js +34 -113
  87. package/dist/components/VvIcon/VvIcon.umd.js +1 -1
  88. package/dist/components/VvIcon/VvIcon.vue.d.ts +4 -68
  89. package/dist/components/VvIcon/index.d.ts +34 -49
  90. package/dist/components/VvInputFile/VvInputFile.es.js +1704 -0
  91. package/dist/components/VvInputFile/VvInputFile.umd.js +1 -0
  92. package/dist/components/VvInputFile/VvInputFile.vue.d.ts +330 -0
  93. package/dist/components/VvInputFile/index.d.ts +197 -0
  94. package/dist/components/VvInputText/VvInputText.es.js +1629 -634
  95. package/dist/components/VvInputText/VvInputText.umd.js +1 -1
  96. package/dist/components/VvInputText/VvInputText.vue.d.ts +255 -90
  97. package/dist/components/VvInputText/VvInputTextActions.d.ts +4 -3
  98. package/dist/components/VvInputText/index.d.ts +113 -35
  99. package/dist/components/VvNav/VvNav.es.js +113 -175
  100. package/dist/components/VvNav/VvNav.umd.js +1 -1
  101. package/dist/components/VvNav/VvNav.vue.d.ts +35 -13
  102. package/dist/components/VvNav/VvNavItem.vue.d.ts +7 -3
  103. package/dist/components/VvNav/VvNavSeparator.vue.d.ts +1 -1
  104. package/dist/components/VvNav/index.d.ts +5 -2
  105. package/dist/components/VvNavItem/VvNavItem.es.js +81 -148
  106. package/dist/components/VvNavItem/VvNavItem.umd.js +1 -1
  107. package/dist/components/VvNavSeparator/VvNavSeparator.es.js +1 -1
  108. package/dist/components/VvNavSeparator/VvNavSeparator.umd.js +1 -1
  109. package/dist/components/VvProgress/VvProgress.es.js +31 -191
  110. package/dist/components/VvProgress/VvProgress.umd.js +1 -1
  111. package/dist/components/VvProgress/VvProgress.vue.d.ts +13 -6
  112. package/dist/components/VvProgress/index.d.ts +4 -1
  113. package/dist/components/VvRadio/VvRadio.es.js +147 -298
  114. package/dist/components/VvRadio/VvRadio.umd.js +1 -1
  115. package/dist/components/VvRadio/VvRadio.vue.d.ts +117 -43
  116. package/dist/components/VvRadio/index.d.ts +50 -17
  117. package/dist/components/VvRadioGroup/VvRadioGroup.es.js +316 -439
  118. package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
  119. package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +126 -44
  120. package/dist/components/VvRadioGroup/index.d.ts +49 -12
  121. package/dist/components/VvSelect/VvSelect.es.js +645 -690
  122. package/dist/components/VvSelect/VvSelect.umd.js +1 -1
  123. package/dist/components/VvSelect/VvSelect.vue.d.ts +117 -199
  124. package/dist/components/VvSelect/index.d.ts +221 -16
  125. package/dist/components/VvTab/VvTab.es.js +144 -198
  126. package/dist/components/VvTab/VvTab.umd.js +1 -1
  127. package/dist/components/VvTab/VvTab.vue.d.ts +37 -13
  128. package/dist/components/VvTab/index.d.ts +6 -3
  129. package/dist/components/VvTextarea/VvTextarea.es.js +1406 -582
  130. package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
  131. package/dist/components/VvTextarea/VvTextarea.vue.d.ts +230 -66
  132. package/dist/components/VvTextarea/index.d.ts +105 -20
  133. package/dist/components/VvTooltip/VvTooltip.es.js +33 -190
  134. package/dist/components/VvTooltip/VvTooltip.umd.js +1 -1
  135. package/dist/components/VvTooltip/VvTooltip.vue.d.ts +18 -11
  136. package/dist/components/VvTooltip/index.d.ts +5 -2
  137. package/dist/components/common/HintSlot.d.ts +8 -9
  138. package/dist/components/common/VvInputClearAction.d.ts +52 -0
  139. package/dist/components/common/VvInputPasswordAction.d.ts +71 -0
  140. package/dist/components/common/VvInputStepAction.d.ts +50 -0
  141. package/dist/components/index.d.ts +10 -0
  142. package/dist/components/index.es.js +3874 -1890
  143. package/dist/components/index.umd.js +1 -1
  144. package/dist/composables/alert/useAlerInject.d.ts +4 -0
  145. package/dist/composables/alert/useAlert.d.ts +71 -6
  146. package/dist/composables/alert/{useProvideAlert.d.ts → useAlertProvide.d.ts} +1 -1
  147. package/dist/composables/dropdown/useDropdownContextmenu.d.ts +18 -0
  148. package/dist/composables/dropdown/useDropdownInject.d.ts +12 -0
  149. package/dist/composables/dropdown/{useProvideDropdown.d.ts → useDropdownProvide.d.ts} +8 -8
  150. package/dist/composables/dropdown/useDropdownVirtualElement.d.ts +17 -0
  151. package/dist/composables/group/useGroupStateInject.d.ts +9 -0
  152. package/dist/composables/group/useGroupStateProvide.d.ts +6 -0
  153. package/dist/composables/index.d.ts +3 -0
  154. package/dist/composables/index.es.js +175 -9
  155. package/dist/composables/index.umd.js +1 -1
  156. package/dist/composables/useBlurhash.d.ts +7 -0
  157. package/dist/composables/useComponentFocus.d.ts +2 -2
  158. package/dist/composables/useComponentIcon.d.ts +9 -8
  159. package/dist/composables/useOptions.d.ts +5 -5
  160. package/dist/composables/usePersistence.d.ts +3 -0
  161. package/dist/composables/useUniqueId.d.ts +1 -1
  162. package/dist/composables/useVolver.d.ts +3 -0
  163. package/dist/constants.d.ts +35 -33
  164. package/dist/directives/index.d.ts +3 -3
  165. package/dist/directives/index.es.js +171 -228
  166. package/dist/directives/index.umd.js +1 -1
  167. package/dist/directives/v-contextmenu.es.js +131 -31
  168. package/dist/directives/v-contextmenu.umd.js +1 -1
  169. package/dist/directives/v-tooltip.d.ts +1 -1
  170. package/dist/directives/v-tooltip.es.js +34 -191
  171. package/dist/directives/v-tooltip.umd.js +1 -1
  172. package/dist/icons.d.ts +17 -17
  173. package/dist/icons.es.js +14 -1884
  174. package/dist/icons.umd.js +1 -1
  175. package/dist/index.d.ts +1 -1
  176. package/dist/index.es.js +89 -16
  177. package/dist/index.umd.js +1 -1
  178. package/dist/props/index.d.ts +321 -200
  179. package/dist/resolvers/unplugin.d.ts +7 -2
  180. package/dist/resolvers/unplugin.es.js +91 -14
  181. package/dist/resolvers/unplugin.umd.js +1 -1
  182. package/dist/stories/Accordion/Accordion.settings.d.ts +2 -57
  183. package/dist/stories/Accordion/Accordion.stories.d.ts +1 -1
  184. package/dist/stories/Accordion/AccordionSlots.stories.d.ts +1 -1
  185. package/dist/stories/AccordionGroup/AccordionGroup.settings.d.ts +2 -66
  186. package/dist/stories/AccordionGroup/AccordionGroup.stories.d.ts +3 -163
  187. package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +1648 -788
  188. package/dist/stories/Alert/Alert.settings.d.ts +2 -109
  189. package/dist/stories/Alert/Alert.stories.d.ts +1 -1
  190. package/dist/stories/Alert/AlertModifiers.stories.d.ts +2 -2
  191. package/dist/stories/Alert/AlertSlots.stories.d.ts +2 -2
  192. package/dist/stories/AlertGroup/AlertGroup.settings.d.ts +2 -85
  193. package/dist/stories/AlertGroup/AlertGroup.stories.d.ts +1 -1
  194. package/dist/stories/AlertGroup/AlertGroupPosition.stories.d.ts +2 -2
  195. package/dist/stories/AlertGroup/AlertGroupSlots.stories.d.ts +2 -2
  196. package/dist/stories/AlertGroup/AlertGroupWithComposable.stories.d.ts +3 -3
  197. package/dist/stories/Avatar/Avatar.settings.d.ts +1 -1
  198. package/dist/stories/Avatar/Avatar.stories.d.ts +1 -1
  199. package/dist/stories/Avatar/AvatarBadge.stories.d.ts +1 -1
  200. package/dist/stories/Avatar/AvatarModifiers.stories.d.ts +1 -1
  201. package/dist/stories/Avatar/AvatarSlots.stories.d.ts +1 -1
  202. package/dist/stories/AvatarGroup/AvatarGroup.settings.d.ts +2 -38
  203. package/dist/stories/AvatarGroup/AvatarGroup.stories.d.ts +1 -1
  204. package/dist/stories/AvatarGroup/AvatarGroupModifiers.stories.d.ts +1 -1
  205. package/dist/stories/AvatarGroup/AvatarGroupSlotDefault.stories.d.ts +1 -1
  206. package/dist/stories/Badge/Badge.settings.d.ts +2 -26
  207. package/dist/stories/Badge/Badge.stories.d.ts +1 -1
  208. package/dist/stories/Badge/Badge.test.d.ts +1 -1
  209. package/dist/stories/Badge/BadgeSlots.stories.d.ts +1 -1
  210. package/dist/stories/Blurhash/BlurhashComposable.stories.d.ts +4 -0
  211. package/dist/stories/Breadcrumb/Breadcrumb.settings.d.ts +2 -18
  212. package/dist/stories/Breadcrumb/Breadcrumb.stories.d.ts +1 -1
  213. package/dist/stories/Breadcrumb/Breadcrumb.test.d.ts +1 -1
  214. package/dist/stories/Breadcrumb/BreadcrumbSlots.stories.d.ts +1 -1
  215. package/dist/stories/Button/Button.settings.d.ts +2 -194
  216. package/dist/stories/Button/Button.stories.d.ts +1 -1
  217. package/dist/stories/Button/ButtonIcon.stories.d.ts +1 -1
  218. package/dist/stories/Button/ButtonLink.stories.d.ts +1 -1
  219. package/dist/stories/Button/ButtonLoading.stories.d.ts +1 -1
  220. package/dist/stories/Button/ButtonModifiers.stories.d.ts +1 -1
  221. package/dist/stories/Button/ButtonSlots.stories.d.ts +1 -1
  222. package/dist/stories/Button/ButtonState.stories.d.ts +1 -1
  223. package/dist/stories/Button/ButtonToggle.stories.d.ts +1 -1
  224. package/dist/stories/ButtonGroup/ButtonGroup.settings.d.ts +2 -40
  225. package/dist/stories/ButtonGroup/ButtonGroup.stories.d.ts +1 -1
  226. package/dist/stories/ButtonGroup/ButtonGroupModifiers.stories.d.ts +1 -1
  227. package/dist/stories/ButtonGroup/ButtonGroupSlots.stories.d.ts +1 -1
  228. package/dist/stories/ButtonGroup/ButtonGroupToggle.stories.d.ts +1 -1
  229. package/dist/stories/Card/Card.settings.d.ts +2 -63
  230. package/dist/stories/Card/Card.stories.d.ts +1 -1
  231. package/dist/stories/Card/Card.test.d.ts +1 -1
  232. package/dist/stories/Card/CardSlots.stories.d.ts +1 -1
  233. package/dist/stories/Checkbox/Checkbox.settings.d.ts +2 -132
  234. package/dist/stories/Checkbox/Checkbox.stories.d.ts +1 -1
  235. package/dist/stories/Checkbox/CheckboxBinary.stories.d.ts +1 -1
  236. package/dist/stories/Checkbox/CheckboxSlots.stories.d.ts +1 -1
  237. package/dist/stories/CheckboxGroup/CheckboxGroup.settings.d.ts +1 -141
  238. package/dist/stories/CheckboxGroup/CheckboxGroup.stories.d.ts +1 -1
  239. package/dist/stories/CheckboxGroup/CheckboxGroupOptions.stories.d.ts +1 -1
  240. package/dist/stories/CheckboxGroup/CheckboxGroupSlots.stories.d.ts +1 -1
  241. package/dist/stories/Combobox/Combobox.settings.d.ts +2 -617
  242. package/dist/stories/Combobox/Combobox.stories.d.ts +4 -1
  243. package/dist/stories/Combobox/ComboboxIconPosition.stories.d.ts +1 -1
  244. package/dist/stories/Combobox/ComboboxMultiple.stories.d.ts +2 -1
  245. package/dist/stories/Combobox/ComboboxOptions.stories.d.ts +1 -1
  246. package/dist/stories/Combobox/ComboboxSlots.stories.d.ts +1 -1
  247. package/dist/stories/Dialog/Dialog.settings.d.ts +2 -47
  248. package/dist/stories/Dialog/Dialog.stories.d.ts +1 -1
  249. package/dist/stories/Dialog/DialogModifiers.stories.d.ts +8 -0
  250. package/dist/stories/Dialog/DialogSlots.stories.d.ts +1 -1
  251. package/dist/stories/Dropdown/Dropdown.settings.d.ts +2 -205
  252. package/dist/stories/Dropdown/Dropdown.stories.d.ts +1 -1
  253. package/dist/stories/Dropdown/DropdownContextmenuDirective.stories.d.ts +1 -1
  254. package/dist/stories/Dropdown/DropdownMultilevel.stories.d.ts +1 -1
  255. package/dist/stories/Dropdown/DropdownSlots.stories.d.ts +1 -1
  256. package/dist/stories/Icon/Icon.settings.d.ts +3 -68
  257. package/dist/stories/Icon/Icon.stories.d.ts +1 -1
  258. package/dist/stories/Icon/IconsCollection.stories.d.ts +1 -1
  259. package/dist/stories/InputFile/InputFile.settings.d.ts +6 -0
  260. package/dist/stories/InputFile/InputFile.stories.d.ts +13 -0
  261. package/dist/stories/InputFile/InputFileDropArea.stories.d.ts +9 -0
  262. package/dist/stories/InputFile/InputFileIconPosition.stories.d.ts +8 -0
  263. package/dist/stories/InputFile/InputFileSlots.stories.d.ts +7 -0
  264. package/dist/stories/InputText/InputText.settings.d.ts +2 -438
  265. package/dist/stories/InputText/InputText.stories.d.ts +3 -1
  266. package/dist/stories/InputText/InputText.test.d.ts +3 -0
  267. package/dist/stories/InputText/InputTextIconPosition.stories.d.ts +1 -1
  268. package/dist/stories/InputText/InputTextIso.stories.d.ts +10 -0
  269. package/dist/stories/InputText/InputTextLength.stories.d.ts +1 -1
  270. package/dist/stories/InputText/InputTextMask.stories.d.ts +1 -1
  271. package/dist/stories/InputText/InputTextMinMax.stories.d.ts +1 -1
  272. package/dist/stories/InputText/InputTextSlots.stories.d.ts +1 -1
  273. package/dist/stories/InputText/InputTextType.stories.d.ts +1 -1
  274. package/dist/stories/Nav/Nav.settings.d.ts +2 -10
  275. package/dist/stories/Nav/Nav.stories.d.ts +1 -1
  276. package/dist/stories/Nav/NavModifiers.stories.d.ts +1 -1
  277. package/dist/stories/Progress/Progress.settings.d.ts +2 -27
  278. package/dist/stories/Progress/Progress.stories.d.ts +1 -1
  279. package/dist/stories/Radio/Radio.settings.d.ts +1 -110
  280. package/dist/stories/Radio/Radio.stories.d.ts +1 -1
  281. package/dist/stories/Radio/RadioSlots.stories.d.ts +1 -1
  282. package/dist/stories/RadioGroup/RadioGroup.settings.d.ts +1 -141
  283. package/dist/stories/RadioGroup/RadioGroup.stories.d.ts +1 -1
  284. package/dist/stories/RadioGroup/RadioGroupOptions.stories.d.ts +1 -1
  285. package/dist/stories/RadioGroup/RadioGroupSlots.stories.d.ts +1 -1
  286. package/dist/stories/Select/Select.settings.d.ts +2 -246
  287. package/dist/stories/Select/Select.stories.d.ts +2 -1
  288. package/dist/stories/Select/SelectIconPosition.stories.d.ts +1 -1
  289. package/dist/stories/Select/SelectOptions.stories.d.ts +1 -1
  290. package/dist/stories/Select/SelectSlots.stories.d.ts +1 -1
  291. package/dist/stories/Tab/Tab.settings.d.ts +1 -1
  292. package/dist/stories/Tab/Tab.stories.d.ts +1 -1
  293. package/dist/stories/Textarea/Textarea.settings.d.ts +2 -287
  294. package/dist/stories/Textarea/Textarea.stories.d.ts +1 -1
  295. package/dist/stories/Textarea/TextareaLength.stories.d.ts +1 -1
  296. package/dist/stories/Textarea/TextareaSlots.stories.d.ts +1 -1
  297. package/dist/stories/Textarea/TextareatIconPosition.stories.d.ts +1 -1
  298. package/dist/stories/Tooltip/Tooltip.settings.d.ts +1 -1
  299. package/dist/stories/Tooltip/Tooltip.stories.d.ts +1 -1
  300. package/dist/stories/Tooltip/TooltipDirective.stories.d.ts +1 -1
  301. package/dist/stories/argTypes.d.ts +27 -866
  302. package/dist/test/expect.d.ts +1 -2
  303. package/dist/test/options.d.ts +1 -1
  304. package/dist/test/sleep.d.ts +1 -1
  305. package/dist/types/alert.d.ts +9 -7
  306. package/dist/types/blurhash.d.ts +12 -0
  307. package/dist/types/floating-ui.d.ts +1 -1
  308. package/dist/types/group.d.ts +37 -15
  309. package/dist/types/index.d.ts +2 -0
  310. package/dist/types/input-file.d.ts +9 -0
  311. package/dist/types/nav.d.ts +2 -2
  312. package/dist/utils/DateUtilities.d.ts +31 -0
  313. package/dist/utils/DomUtilities.d.ts +1 -0
  314. package/dist/utils/FileUtilities.d.ts +14 -0
  315. package/dist/utils/ObjectUtilities.d.ts +8 -9
  316. package/dist/workers/blurhash.d.ts +1 -0
  317. package/package.json +360 -379
  318. package/auto-imports.d.ts +0 -316
  319. package/dist/components/VvInputText/VvInputClearAction.d.ts +0 -36
  320. package/dist/components/VvInputText/VvInputPasswordAction.d.ts +0 -56
  321. package/dist/components/VvInputText/VvInputStepAction.d.ts +0 -37
  322. package/dist/composables/alert/useInjectAlert.d.ts +0 -9
  323. package/dist/composables/dropdown/useInjectDropdown.d.ts +0 -32
  324. package/dist/composables/group/useInjectedGroupState.d.ts +0 -10
  325. package/dist/composables/group/useProvideGroupState.d.ts +0 -6
  326. package/env.d.ts +0 -1
  327. package/src/Volver.ts +0 -295
  328. package/src/assets/icons/detailed/add-circle.svg +0 -12
  329. package/src/assets/icons/detailed/add.svg +0 -8
  330. package/src/assets/icons/detailed/align-center.svg +0 -12
  331. package/src/assets/icons/detailed/align-justify.svg +0 -12
  332. package/src/assets/icons/detailed/align-left.svg +0 -12
  333. package/src/assets/icons/detailed/align-right.svg +0 -12
  334. package/src/assets/icons/detailed/analysis-2.svg +0 -20
  335. package/src/assets/icons/detailed/analysis-3.svg +0 -8
  336. package/src/assets/icons/detailed/analysis.svg +0 -16
  337. package/src/assets/icons/detailed/apple.svg +0 -16
  338. package/src/assets/icons/detailed/arrow-down.svg +0 -8
  339. package/src/assets/icons/detailed/arrow-left.svg +0 -8
  340. package/src/assets/icons/detailed/arrow-right.svg +0 -8
  341. package/src/assets/icons/detailed/arrow-up.svg +0 -8
  342. package/src/assets/icons/detailed/attachment.svg +0 -8
  343. package/src/assets/icons/detailed/back-to-front.svg +0 -17
  344. package/src/assets/icons/detailed/bell-active.svg +0 -14
  345. package/src/assets/icons/detailed/bell.svg +0 -14
  346. package/src/assets/icons/detailed/bold.svg +0 -8
  347. package/src/assets/icons/detailed/bookmark-active.svg +0 -12
  348. package/src/assets/icons/detailed/bookmark.svg +0 -12
  349. package/src/assets/icons/detailed/building.svg +0 -26
  350. package/src/assets/icons/detailed/bullet-list.svg +0 -22
  351. package/src/assets/icons/detailed/calendar.svg +0 -26
  352. package/src/assets/icons/detailed/camera-off.svg +0 -12
  353. package/src/assets/icons/detailed/camera-on.svg +0 -17
  354. package/src/assets/icons/detailed/catalog.svg +0 -15
  355. package/src/assets/icons/detailed/certificate.svg +0 -10
  356. package/src/assets/icons/detailed/chat.svg +0 -6
  357. package/src/assets/icons/detailed/check-badge.svg +0 -9
  358. package/src/assets/icons/detailed/check-circle.svg +0 -10
  359. package/src/assets/icons/detailed/check.svg +0 -6
  360. package/src/assets/icons/detailed/checkbox.svg +0 -8
  361. package/src/assets/icons/detailed/chevron-down-circle.svg +0 -10
  362. package/src/assets/icons/detailed/chevron-down.svg +0 -6
  363. package/src/assets/icons/detailed/chevron-left-circle.svg +0 -10
  364. package/src/assets/icons/detailed/chevron-left.svg +0 -6
  365. package/src/assets/icons/detailed/chevron-right-circle.svg +0 -7
  366. package/src/assets/icons/detailed/chevron-up-circle.svg +0 -10
  367. package/src/assets/icons/detailed/chevron-up.svg +0 -6
  368. package/src/assets/icons/detailed/circle.svg +0 -8
  369. package/src/assets/icons/detailed/classroom.svg +0 -38
  370. package/src/assets/icons/detailed/clear-field.svg +0 -14
  371. package/src/assets/icons/detailed/clear-style.svg +0 -9
  372. package/src/assets/icons/detailed/close-circle.svg +0 -14
  373. package/src/assets/icons/detailed/close-loader.svg +0 -6
  374. package/src/assets/icons/detailed/close.svg +0 -8
  375. package/src/assets/icons/detailed/coffee.svg +0 -21
  376. package/src/assets/icons/detailed/color.svg +0 -20
  377. package/src/assets/icons/detailed/contact-us.svg +0 -27
  378. package/src/assets/icons/detailed/copy.svg +0 -10
  379. package/src/assets/icons/detailed/courses.svg +0 -22
  380. package/src/assets/icons/detailed/dashboard.svg +0 -20
  381. package/src/assets/icons/detailed/download.svg +0 -10
  382. package/src/assets/icons/detailed/drag.svg +0 -10
  383. package/src/assets/icons/detailed/duplicate.svg +0 -23
  384. package/src/assets/icons/detailed/edit.svg +0 -16
  385. package/src/assets/icons/detailed/elearning.svg +0 -13
  386. package/src/assets/icons/detailed/email.svg +0 -11
  387. package/src/assets/icons/detailed/error-2.svg +0 -8
  388. package/src/assets/icons/detailed/error.svg +0 -12
  389. package/src/assets/icons/detailed/exercise.svg +0 -26
  390. package/src/assets/icons/detailed/external-link.svg +0 -11
  391. package/src/assets/icons/detailed/extract.svg +0 -20
  392. package/src/assets/icons/detailed/eye-off.svg +0 -15
  393. package/src/assets/icons/detailed/eye-on.svg +0 -8
  394. package/src/assets/icons/detailed/fail.svg +0 -11
  395. package/src/assets/icons/detailed/fast-back.svg +0 -20
  396. package/src/assets/icons/detailed/fast-forward.svg +0 -20
  397. package/src/assets/icons/detailed/file-add.svg +0 -19
  398. package/src/assets/icons/detailed/file-duplicate.svg +0 -16
  399. package/src/assets/icons/detailed/file-remove.svg +0 -17
  400. package/src/assets/icons/detailed/file-required.svg +0 -23
  401. package/src/assets/icons/detailed/file.svg +0 -13
  402. package/src/assets/icons/detailed/filter-2.svg +0 -22
  403. package/src/assets/icons/detailed/filter-active.svg +0 -12
  404. package/src/assets/icons/detailed/filter.svg +0 -12
  405. package/src/assets/icons/detailed/flag.svg +0 -11
  406. package/src/assets/icons/detailed/folder.svg +0 -14
  407. package/src/assets/icons/detailed/full-width.svg +0 -11
  408. package/src/assets/icons/detailed/go-to-back.svg +0 -19
  409. package/src/assets/icons/detailed/grid.svg +0 -20
  410. package/src/assets/icons/detailed/group-add.svg +0 -24
  411. package/src/assets/icons/detailed/group.svg +0 -16
  412. package/src/assets/icons/detailed/heart-active.svg +0 -12
  413. package/src/assets/icons/detailed/heart.svg +0 -12
  414. package/src/assets/icons/detailed/highlighter.svg +0 -10
  415. package/src/assets/icons/detailed/home.svg +0 -12
  416. package/src/assets/icons/detailed/hourglass.svg +0 -12
  417. package/src/assets/icons/detailed/image.svg +0 -15
  418. package/src/assets/icons/detailed/info-badge.svg +0 -9
  419. package/src/assets/icons/detailed/information.svg +0 -12
  420. package/src/assets/icons/detailed/italic.svg +0 -10
  421. package/src/assets/icons/detailed/key.svg +0 -5
  422. package/src/assets/icons/detailed/language.svg +0 -14
  423. package/src/assets/icons/detailed/learning-path.svg +0 -7
  424. package/src/assets/icons/detailed/light-off.svg +0 -10
  425. package/src/assets/icons/detailed/light-on.svg +0 -18
  426. package/src/assets/icons/detailed/link.svg +0 -12
  427. package/src/assets/icons/detailed/lock.svg +0 -13
  428. package/src/assets/icons/detailed/login.svg +0 -11
  429. package/src/assets/icons/detailed/logout.svg +0 -11
  430. package/src/assets/icons/detailed/maximaze.svg +0 -12
  431. package/src/assets/icons/detailed/menu.svg +0 -9
  432. package/src/assets/icons/detailed/merge.svg +0 -20
  433. package/src/assets/icons/detailed/minimize.svg +0 -14
  434. package/src/assets/icons/detailed/mixed-class.svg +0 -40
  435. package/src/assets/icons/detailed/more-horizontal.svg +0 -7
  436. package/src/assets/icons/detailed/more-vertical.svg +0 -7
  437. package/src/assets/icons/detailed/news.svg +0 -12
  438. package/src/assets/icons/detailed/no-prerequisites.svg +0 -13
  439. package/src/assets/icons/detailed/notes.svg +0 -14
  440. package/src/assets/icons/detailed/number-code.svg +0 -34
  441. package/src/assets/icons/detailed/numbered-list.svg +0 -18
  442. package/src/assets/icons/detailed/on-site.svg +0 -22
  443. package/src/assets/icons/detailed/order-down.svg +0 -12
  444. package/src/assets/icons/detailed/order-up.svg +0 -12
  445. package/src/assets/icons/detailed/paste.svg +0 -14
  446. package/src/assets/icons/detailed/pausa.svg +0 -8
  447. package/src/assets/icons/detailed/pdf.svg +0 -12
  448. package/src/assets/icons/detailed/phone.svg +0 -10
  449. package/src/assets/icons/detailed/pin-map.svg +0 -12
  450. package/src/assets/icons/detailed/pin.svg +0 -15
  451. package/src/assets/icons/detailed/pizza.svg +0 -17
  452. package/src/assets/icons/detailed/play.svg +0 -11
  453. package/src/assets/icons/detailed/plug-in.svg +0 -10
  454. package/src/assets/icons/detailed/pointer.svg +0 -12
  455. package/src/assets/icons/detailed/printer.svg +0 -26
  456. package/src/assets/icons/detailed/profile-add.svg +0 -20
  457. package/src/assets/icons/detailed/profile.svg +0 -10
  458. package/src/assets/icons/detailed/push-pin-off.svg +0 -11
  459. package/src/assets/icons/detailed/push-pin-on.svg +0 -9
  460. package/src/assets/icons/detailed/qrcode.svg +0 -28
  461. package/src/assets/icons/detailed/question-badge.svg +0 -10
  462. package/src/assets/icons/detailed/radio.svg +0 -8
  463. package/src/assets/icons/detailed/redo.svg +0 -9
  464. package/src/assets/icons/detailed/relations.svg +0 -32
  465. package/src/assets/icons/detailed/reload.svg +0 -13
  466. package/src/assets/icons/detailed/remove-circle.svg +0 -10
  467. package/src/assets/icons/detailed/remove.svg +0 -5
  468. package/src/assets/icons/detailed/reorder.svg +0 -12
  469. package/src/assets/icons/detailed/repeat.svg +0 -12
  470. package/src/assets/icons/detailed/repository.svg +0 -18
  471. package/src/assets/icons/detailed/request-form.svg +0 -18
  472. package/src/assets/icons/detailed/resize-100%.svg +0 -15
  473. package/src/assets/icons/detailed/resize-height.svg +0 -12
  474. package/src/assets/icons/detailed/resize-width.svg +0 -12
  475. package/src/assets/icons/detailed/search.svg +0 -12
  476. package/src/assets/icons/detailed/sequential-prerequisites.svg +0 -20
  477. package/src/assets/icons/detailed/settings.svg +0 -14
  478. package/src/assets/icons/detailed/share.svg +0 -20
  479. package/src/assets/icons/detailed/sketch.svg +0 -12
  480. package/src/assets/icons/detailed/skills.svg +0 -20
  481. package/src/assets/icons/detailed/skip-back.svg +0 -12
  482. package/src/assets/icons/detailed/skip-forward.svg +0 -13
  483. package/src/assets/icons/detailed/sms.svg +0 -18
  484. package/src/assets/icons/detailed/sso-access.svg +0 -18
  485. package/src/assets/icons/detailed/star-active.svg +0 -6
  486. package/src/assets/icons/detailed/star.svg +0 -6
  487. package/src/assets/icons/detailed/success.svg +0 -10
  488. package/src/assets/icons/detailed/sun.svg +0 -24
  489. package/src/assets/icons/detailed/sunrise.svg +0 -18
  490. package/src/assets/icons/detailed/support.svg +0 -18
  491. package/src/assets/icons/detailed/survey.svg +0 -24
  492. package/src/assets/icons/detailed/table.svg +0 -11
  493. package/src/assets/icons/detailed/tematic-channels.svg +0 -12
  494. package/src/assets/icons/detailed/test.svg +0 -14
  495. package/src/assets/icons/detailed/text-body.svg +0 -8
  496. package/src/assets/icons/detailed/text-edit.svg +0 -11
  497. package/src/assets/icons/detailed/text-style.svg +0 -10
  498. package/src/assets/icons/detailed/time.svg +0 -10
  499. package/src/assets/icons/detailed/toilet-piper.svg +0 -15
  500. package/src/assets/icons/detailed/training-points.svg +0 -16
  501. package/src/assets/icons/detailed/trash.svg +0 -19
  502. package/src/assets/icons/detailed/underline.svg +0 -8
  503. package/src/assets/icons/detailed/undo.svg +0 -9
  504. package/src/assets/icons/detailed/unlock.svg +0 -13
  505. package/src/assets/icons/detailed/upload.svg +0 -10
  506. package/src/assets/icons/detailed/user-add.svg +0 -16
  507. package/src/assets/icons/detailed/user-badge.svg +0 -11
  508. package/src/assets/icons/detailed/user.svg +0 -8
  509. package/src/assets/icons/detailed/video-off.svg +0 -17
  510. package/src/assets/icons/detailed/video-on.svg +0 -16
  511. package/src/assets/icons/detailed/video-rec.svg +0 -19
  512. package/src/assets/icons/detailed/view-card.svg +0 -12
  513. package/src/assets/icons/detailed/view-list.svg +0 -20
  514. package/src/assets/icons/detailed/view.svg +0 -7
  515. package/src/assets/icons/detailed/voice-off.svg +0 -14
  516. package/src/assets/icons/detailed/voice-on.svg +0 -16
  517. package/src/assets/icons/detailed/volume-down.svg +0 -14
  518. package/src/assets/icons/detailed/volume-off.svg +0 -19
  519. package/src/assets/icons/detailed/volume-up.svg +0 -16
  520. package/src/assets/icons/detailed/warning.svg +0 -16
  521. package/src/assets/icons/detailed/webinar.svg +0 -57
  522. package/src/assets/icons/detailed/whiteboard.svg +0 -16
  523. package/src/assets/icons/detailed/wine.svg +0 -22
  524. package/src/assets/icons/detailed/zip.svg +0 -17
  525. package/src/assets/icons/detailed/zoom-in.svg +0 -18
  526. package/src/assets/icons/detailed/zoom-out.svg +0 -16
  527. package/src/assets/icons/detailed.json +0 -1
  528. package/src/assets/icons/normal/add-circle.svg +0 -12
  529. package/src/assets/icons/normal/add.svg +0 -4
  530. package/src/assets/icons/normal/align-center.svg +0 -11
  531. package/src/assets/icons/normal/align-justify.svg +0 -11
  532. package/src/assets/icons/normal/align-left.svg +0 -11
  533. package/src/assets/icons/normal/align-right.svg +0 -11
  534. package/src/assets/icons/normal/analysis-2.svg +0 -18
  535. package/src/assets/icons/normal/analysis-3.svg +0 -8
  536. package/src/assets/icons/normal/analysis.svg +0 -14
  537. package/src/assets/icons/normal/apple.svg +0 -16
  538. package/src/assets/icons/normal/arrow-down.svg +0 -8
  539. package/src/assets/icons/normal/arrow-left.svg +0 -8
  540. package/src/assets/icons/normal/arrow-right.svg +0 -8
  541. package/src/assets/icons/normal/arrow-up.svg +0 -8
  542. package/src/assets/icons/normal/attachment.svg +0 -6
  543. package/src/assets/icons/normal/back-to-front.svg +0 -15
  544. package/src/assets/icons/normal/bell-active.svg +0 -14
  545. package/src/assets/icons/normal/bell.svg +0 -14
  546. package/src/assets/icons/normal/bold.svg +0 -8
  547. package/src/assets/icons/normal/bookmark active.svg +0 -12
  548. package/src/assets/icons/normal/bookmark.svg +0 -10
  549. package/src/assets/icons/normal/building.svg +0 -21
  550. package/src/assets/icons/normal/bulleted-list.svg +0 -23
  551. package/src/assets/icons/normal/calendar.svg +0 -20
  552. package/src/assets/icons/normal/camera-off.svg +0 -17
  553. package/src/assets/icons/normal/camera-on.svg +0 -16
  554. package/src/assets/icons/normal/catalog.svg +0 -13
  555. package/src/assets/icons/normal/certificate.svg +0 -12
  556. package/src/assets/icons/normal/chat.svg +0 -6
  557. package/src/assets/icons/normal/check-badge.svg +0 -9
  558. package/src/assets/icons/normal/check-circle.svg +0 -10
  559. package/src/assets/icons/normal/check.svg +0 -4
  560. package/src/assets/icons/normal/checkbox.svg +0 -8
  561. package/src/assets/icons/normal/chevron-down-circle.svg +0 -10
  562. package/src/assets/icons/normal/chevron-down.svg +0 -6
  563. package/src/assets/icons/normal/chevron-left-circle.svg +0 -10
  564. package/src/assets/icons/normal/chevron-left.svg +0 -6
  565. package/src/assets/icons/normal/chevron-right-circle.svg +0 -10
  566. package/src/assets/icons/normal/chevron-right.svg +0 -7
  567. package/src/assets/icons/normal/chevron-up-circle.svg +0 -10
  568. package/src/assets/icons/normal/chevron-up.svg +0 -6
  569. package/src/assets/icons/normal/circle.svg +0 -8
  570. package/src/assets/icons/normal/classroom.svg +0 -36
  571. package/src/assets/icons/normal/clear-field.svg +0 -14
  572. package/src/assets/icons/normal/clear-style.svg +0 -18
  573. package/src/assets/icons/normal/close-circle.svg +0 -14
  574. package/src/assets/icons/normal/close-loader.svg +0 -6
  575. package/src/assets/icons/normal/close.svg +0 -8
  576. package/src/assets/icons/normal/coffee.svg +0 -26
  577. package/src/assets/icons/normal/color.svg +0 -18
  578. package/src/assets/icons/normal/contact-us.svg +0 -29
  579. package/src/assets/icons/normal/copy.svg +0 -10
  580. package/src/assets/icons/normal/courses.svg +0 -22
  581. package/src/assets/icons/normal/dashboard.svg +0 -18
  582. package/src/assets/icons/normal/download.svg +0 -10
  583. package/src/assets/icons/normal/drag.svg +0 -5
  584. package/src/assets/icons/normal/dulicate.svg +0 -22
  585. package/src/assets/icons/normal/edit.svg +0 -16
  586. package/src/assets/icons/normal/elearning.svg +0 -16
  587. package/src/assets/icons/normal/email.svg +0 -11
  588. package/src/assets/icons/normal/error-2.svg +0 -8
  589. package/src/assets/icons/normal/error.svg +0 -12
  590. package/src/assets/icons/normal/exercise.svg +0 -26
  591. package/src/assets/icons/normal/external-link.svg +0 -11
  592. package/src/assets/icons/normal/extract.svg +0 -14
  593. package/src/assets/icons/normal/eye-off.svg +0 -14
  594. package/src/assets/icons/normal/eye-on.svg +0 -16
  595. package/src/assets/icons/normal/fail.svg +0 -11
  596. package/src/assets/icons/normal/fast-back.svg +0 -19
  597. package/src/assets/icons/normal/fast-forward.svg +0 -17
  598. package/src/assets/icons/normal/file-add.svg +0 -16
  599. package/src/assets/icons/normal/file-duplicate.svg +0 -22
  600. package/src/assets/icons/normal/file-remove.svg +0 -14
  601. package/src/assets/icons/normal/file-required.svg +0 -24
  602. package/src/assets/icons/normal/file.svg +0 -13
  603. package/src/assets/icons/normal/filter-2.svg +0 -20
  604. package/src/assets/icons/normal/filter-active.svg +0 -12
  605. package/src/assets/icons/normal/filter.svg +0 -12
  606. package/src/assets/icons/normal/flag.svg +0 -10
  607. package/src/assets/icons/normal/folder.svg +0 -12
  608. package/src/assets/icons/normal/full-width.svg +0 -9
  609. package/src/assets/icons/normal/go-to-back.svg +0 -19
  610. package/src/assets/icons/normal/grid.svg +0 -20
  611. package/src/assets/icons/normal/group-add.svg +0 -18
  612. package/src/assets/icons/normal/group.svg +0 -14
  613. package/src/assets/icons/normal/heart-active.svg +0 -10
  614. package/src/assets/icons/normal/heart.svg +0 -10
  615. package/src/assets/icons/normal/highlighter.svg +0 -11
  616. package/src/assets/icons/normal/home.svg +0 -12
  617. package/src/assets/icons/normal/hourglass.svg +0 -8
  618. package/src/assets/icons/normal/image.svg +0 -15
  619. package/src/assets/icons/normal/info-badge.svg +0 -9
  620. package/src/assets/icons/normal/information.svg +0 -12
  621. package/src/assets/icons/normal/italic.svg +0 -10
  622. package/src/assets/icons/normal/key.svg +0 -8
  623. package/src/assets/icons/normal/language.svg +0 -14
  624. package/src/assets/icons/normal/learning-path.svg +0 -7
  625. package/src/assets/icons/normal/light-off.svg +0 -10
  626. package/src/assets/icons/normal/light-on.svg +0 -17
  627. package/src/assets/icons/normal/link.svg +0 -12
  628. package/src/assets/icons/normal/lock.svg +0 -12
  629. package/src/assets/icons/normal/login.svg +0 -10
  630. package/src/assets/icons/normal/logout.svg +0 -10
  631. package/src/assets/icons/normal/maximize.svg +0 -10
  632. package/src/assets/icons/normal/menu.svg +0 -8
  633. package/src/assets/icons/normal/merge.svg +0 -20
  634. package/src/assets/icons/normal/minimize.svg +0 -12
  635. package/src/assets/icons/normal/mixed-class.svg +0 -36
  636. package/src/assets/icons/normal/more-horizontal.svg +0 -7
  637. package/src/assets/icons/normal/more-vertical.svg +0 -7
  638. package/src/assets/icons/normal/news.svg +0 -9
  639. package/src/assets/icons/normal/no-prerequisites.svg +0 -12
  640. package/src/assets/icons/normal/notes.svg +0 -15
  641. package/src/assets/icons/normal/number-code.svg +0 -34
  642. package/src/assets/icons/normal/numbered-list.svg +0 -19
  643. package/src/assets/icons/normal/on-site.svg +0 -18
  644. package/src/assets/icons/normal/order-down.svg +0 -12
  645. package/src/assets/icons/normal/order-up.svg +0 -11
  646. package/src/assets/icons/normal/paste.svg +0 -14
  647. package/src/assets/icons/normal/pausa.svg +0 -7
  648. package/src/assets/icons/normal/pdf.svg +0 -12
  649. package/src/assets/icons/normal/phone.svg +0 -10
  650. package/src/assets/icons/normal/pin-map.svg +0 -10
  651. package/src/assets/icons/normal/pin.svg +0 -12
  652. package/src/assets/icons/normal/pizza.svg +0 -17
  653. package/src/assets/icons/normal/play.svg +0 -9
  654. package/src/assets/icons/normal/plug-in.svg +0 -10
  655. package/src/assets/icons/normal/pointer.svg +0 -12
  656. package/src/assets/icons/normal/printer.svg +0 -28
  657. package/src/assets/icons/normal/profile-add.svg +0 -28
  658. package/src/assets/icons/normal/profile.svg +0 -15
  659. package/src/assets/icons/normal/push pin on.svg +0 -9
  660. package/src/assets/icons/normal/push-pin-off.svg +0 -23
  661. package/src/assets/icons/normal/qrcode.svg +0 -26
  662. package/src/assets/icons/normal/question-badge.svg +0 -10
  663. package/src/assets/icons/normal/radio.svg +0 -8
  664. package/src/assets/icons/normal/redo.svg +0 -9
  665. package/src/assets/icons/normal/relations.svg +0 -28
  666. package/src/assets/icons/normal/reload.svg +0 -12
  667. package/src/assets/icons/normal/remove-circle.svg +0 -10
  668. package/src/assets/icons/normal/remove.svg +0 -4
  669. package/src/assets/icons/normal/reorder.svg +0 -12
  670. package/src/assets/icons/normal/repeat.svg +0 -12
  671. package/src/assets/icons/normal/repository.svg +0 -18
  672. package/src/assets/icons/normal/request-form.svg +0 -18
  673. package/src/assets/icons/normal/resize-100%.svg +0 -17
  674. package/src/assets/icons/normal/resize-height.svg +0 -12
  675. package/src/assets/icons/normal/resize-width.svg +0 -12
  676. package/src/assets/icons/normal/search.svg +0 -10
  677. package/src/assets/icons/normal/sequential-prerequisites.svg +0 -20
  678. package/src/assets/icons/normal/settings.svg +0 -14
  679. package/src/assets/icons/normal/share.svg +0 -20
  680. package/src/assets/icons/normal/sketch.svg +0 -11
  681. package/src/assets/icons/normal/skills.svg +0 -16
  682. package/src/assets/icons/normal/skip-back.svg +0 -12
  683. package/src/assets/icons/normal/skip-forward.svg +0 -13
  684. package/src/assets/icons/normal/sms.svg +0 -20
  685. package/src/assets/icons/normal/sso-access.svg +0 -20
  686. package/src/assets/icons/normal/star-active.svg +0 -4
  687. package/src/assets/icons/normal/star.svg +0 -4
  688. package/src/assets/icons/normal/success.svg +0 -10
  689. package/src/assets/icons/normal/sun.svg +0 -24
  690. package/src/assets/icons/normal/sunrise.svg +0 -18
  691. package/src/assets/icons/normal/support.svg +0 -18
  692. package/src/assets/icons/normal/survey.svg +0 -24
  693. package/src/assets/icons/normal/table.svg +0 -11
  694. package/src/assets/icons/normal/tematic-channels.svg +0 -10
  695. package/src/assets/icons/normal/test.svg +0 -15
  696. package/src/assets/icons/normal/text-body.svg +0 -8
  697. package/src/assets/icons/normal/text-edit.svg +0 -11
  698. package/src/assets/icons/normal/text-style.svg +0 -10
  699. package/src/assets/icons/normal/time.svg +0 -10
  700. package/src/assets/icons/normal/toilet-paper.svg +0 -15
  701. package/src/assets/icons/normal/training-points.svg +0 -16
  702. package/src/assets/icons/normal/trash.svg +0 -19
  703. package/src/assets/icons/normal/underline.svg +0 -8
  704. package/src/assets/icons/normal/undo.svg +0 -9
  705. package/src/assets/icons/normal/unlock.svg +0 -13
  706. package/src/assets/icons/normal/upload.svg +0 -10
  707. package/src/assets/icons/normal/user-add.svg +0 -14
  708. package/src/assets/icons/normal/user-badge.svg +0 -11
  709. package/src/assets/icons/normal/user.svg +0 -5
  710. package/src/assets/icons/normal/video-off.svg +0 -11
  711. package/src/assets/icons/normal/video-on.svg +0 -20
  712. package/src/assets/icons/normal/video-rec.svg +0 -23
  713. package/src/assets/icons/normal/view-card.svg +0 -10
  714. package/src/assets/icons/normal/view-list.svg +0 -18
  715. package/src/assets/icons/normal/view.svg +0 -8
  716. package/src/assets/icons/normal/voice-off.svg +0 -18
  717. package/src/assets/icons/normal/voice-on.svg +0 -15
  718. package/src/assets/icons/normal/volume-down.svg +0 -14
  719. package/src/assets/icons/normal/volume-off.svg +0 -18
  720. package/src/assets/icons/normal/volume-up.svg +0 -16
  721. package/src/assets/icons/normal/warning.svg +0 -16
  722. package/src/assets/icons/normal/webinar.svg +0 -36
  723. package/src/assets/icons/normal/whiteboard.svg +0 -17
  724. package/src/assets/icons/normal/wine.svg +0 -22
  725. package/src/assets/icons/normal/zip.svg +0 -19
  726. package/src/assets/icons/normal/zoom-in.svg +0 -16
  727. package/src/assets/icons/normal/zoom-out.svg +0 -14
  728. package/src/assets/icons/normal.json +0 -1
  729. package/src/assets/icons/simple/add-circle.svg +0 -12
  730. package/src/assets/icons/simple/add.svg +0 -8
  731. package/src/assets/icons/simple/align-center.svg +0 -12
  732. package/src/assets/icons/simple/align-justify.svg +0 -12
  733. package/src/assets/icons/simple/align-left.svg +0 -12
  734. package/src/assets/icons/simple/align-right.svg +0 -12
  735. package/src/assets/icons/simple/analysis-2.svg +0 -21
  736. package/src/assets/icons/simple/analysis-3.svg +0 -8
  737. package/src/assets/icons/simple/analysis.svg +0 -16
  738. package/src/assets/icons/simple/apple.svg +0 -18
  739. package/src/assets/icons/simple/arrow-down.svg +0 -8
  740. package/src/assets/icons/simple/arrow-left.svg +0 -8
  741. package/src/assets/icons/simple/arrow-right.svg +0 -8
  742. package/src/assets/icons/simple/arrow-up.svg +0 -8
  743. package/src/assets/icons/simple/attachment.svg +0 -10
  744. package/src/assets/icons/simple/bck-to-front.svg +0 -19
  745. package/src/assets/icons/simple/bell-active.svg +0 -14
  746. package/src/assets/icons/simple/bell.svg +0 -14
  747. package/src/assets/icons/simple/bold.svg +0 -8
  748. package/src/assets/icons/simple/bookmark-active.svg +0 -12
  749. package/src/assets/icons/simple/bookmark.svg +0 -12
  750. package/src/assets/icons/simple/building.svg +0 -25
  751. package/src/assets/icons/simple/bulleted-list.svg +0 -22
  752. package/src/assets/icons/simple/calendar.svg +0 -22
  753. package/src/assets/icons/simple/camera-off.svg +0 -12
  754. package/src/assets/icons/simple/camera-on.svg +0 -16
  755. package/src/assets/icons/simple/catalog.svg +0 -14
  756. package/src/assets/icons/simple/certificate.svg +0 -15
  757. package/src/assets/icons/simple/chat.svg +0 -9
  758. package/src/assets/icons/simple/check-badge.svg +0 -9
  759. package/src/assets/icons/simple/check-circle.svg +0 -10
  760. package/src/assets/icons/simple/check.svg +0 -6
  761. package/src/assets/icons/simple/checkbox.svg +0 -6
  762. package/src/assets/icons/simple/chevron-down-circle.svg +0 -10
  763. package/src/assets/icons/simple/chevron-down.svg +0 -6
  764. package/src/assets/icons/simple/chevron-left-circle.svg +0 -10
  765. package/src/assets/icons/simple/chevron-left.svg +0 -6
  766. package/src/assets/icons/simple/chevron-right-circle.svg +0 -10
  767. package/src/assets/icons/simple/chevron-right.svg +0 -7
  768. package/src/assets/icons/simple/chevron-up-circle.svg +0 -10
  769. package/src/assets/icons/simple/chevron-up.svg +0 -6
  770. package/src/assets/icons/simple/circle.svg +0 -8
  771. package/src/assets/icons/simple/classroom.svg +0 -38
  772. package/src/assets/icons/simple/clear-field.svg +0 -11
  773. package/src/assets/icons/simple/clear-style.svg +0 -15
  774. package/src/assets/icons/simple/close-circle.svg +0 -14
  775. package/src/assets/icons/simple/close-loader.svg +0 -6
  776. package/src/assets/icons/simple/close.svg +0 -10
  777. package/src/assets/icons/simple/coffee.svg +0 -28
  778. package/src/assets/icons/simple/color.svg +0 -20
  779. package/src/assets/icons/simple/contact-us.svg +0 -26
  780. package/src/assets/icons/simple/copy.svg +0 -10
  781. package/src/assets/icons/simple/courses.svg +0 -21
  782. package/src/assets/icons/simple/dashboard.svg +0 -20
  783. package/src/assets/icons/simple/download.svg +0 -10
  784. package/src/assets/icons/simple/drag.svg +0 -10
  785. package/src/assets/icons/simple/duplicate.svg +0 -24
  786. package/src/assets/icons/simple/edit.svg +0 -17
  787. package/src/assets/icons/simple/elearning.svg +0 -17
  788. package/src/assets/icons/simple/email.svg +0 -11
  789. package/src/assets/icons/simple/error-2.svg +0 -8
  790. package/src/assets/icons/simple/error.svg +0 -12
  791. package/src/assets/icons/simple/exercise.svg +0 -30
  792. package/src/assets/icons/simple/external-link.svg +0 -13
  793. package/src/assets/icons/simple/extract.svg +0 -17
  794. package/src/assets/icons/simple/eye-off.svg +0 -13
  795. package/src/assets/icons/simple/eye-on.svg +0 -11
  796. package/src/assets/icons/simple/fail.svg +0 -11
  797. package/src/assets/icons/simple/fast-back.svg +0 -20
  798. package/src/assets/icons/simple/fast-forward.svg +0 -19
  799. package/src/assets/icons/simple/file-add.svg +0 -20
  800. package/src/assets/icons/simple/file-duplicate.svg +0 -22
  801. package/src/assets/icons/simple/file-remove.svg +0 -18
  802. package/src/assets/icons/simple/file-required.svg +0 -24
  803. package/src/assets/icons/simple/file.svg +0 -14
  804. package/src/assets/icons/simple/filter-2.svg +0 -24
  805. package/src/assets/icons/simple/filter-active.svg +0 -13
  806. package/src/assets/icons/simple/filter.svg +0 -12
  807. package/src/assets/icons/simple/flag.svg +0 -12
  808. package/src/assets/icons/simple/folder.svg +0 -14
  809. package/src/assets/icons/simple/full-width.svg +0 -11
  810. package/src/assets/icons/simple/go-to-back.svg +0 -18
  811. package/src/assets/icons/simple/grid.svg +0 -20
  812. package/src/assets/icons/simple/group-add.svg +0 -24
  813. package/src/assets/icons/simple/group.svg +0 -18
  814. package/src/assets/icons/simple/heart-active.svg +0 -12
  815. package/src/assets/icons/simple/heart.svg +0 -12
  816. package/src/assets/icons/simple/highlighter.svg +0 -12
  817. package/src/assets/icons/simple/home.svg +0 -13
  818. package/src/assets/icons/simple/hourglass.svg +0 -11
  819. package/src/assets/icons/simple/image.svg +0 -15
  820. package/src/assets/icons/simple/info-badge.svg +0 -9
  821. package/src/assets/icons/simple/information.svg +0 -12
  822. package/src/assets/icons/simple/italic.svg +0 -12
  823. package/src/assets/icons/simple/key.svg +0 -11
  824. package/src/assets/icons/simple/language.svg +0 -12
  825. package/src/assets/icons/simple/learning-path.svg +0 -9
  826. package/src/assets/icons/simple/light-off.svg +0 -7
  827. package/src/assets/icons/simple/light-on.svg +0 -18
  828. package/src/assets/icons/simple/link.svg +0 -14
  829. package/src/assets/icons/simple/lock.svg +0 -13
  830. package/src/assets/icons/simple/login.svg +0 -11
  831. package/src/assets/icons/simple/logout.svg +0 -11
  832. package/src/assets/icons/simple/maximaze.svg +0 -12
  833. package/src/assets/icons/simple/menu.svg +0 -10
  834. package/src/assets/icons/simple/merge.svg +0 -20
  835. package/src/assets/icons/simple/minimaze.svg +0 -12
  836. package/src/assets/icons/simple/mixed-class.svg +0 -40
  837. package/src/assets/icons/simple/more-horizontal.svg +0 -8
  838. package/src/assets/icons/simple/more-vertical.svg +0 -8
  839. package/src/assets/icons/simple/news.svg +0 -12
  840. package/src/assets/icons/simple/no-prerequisites.svg +0 -17
  841. package/src/assets/icons/simple/notes.svg +0 -14
  842. package/src/assets/icons/simple/number-code.svg +0 -29
  843. package/src/assets/icons/simple/numbered-list.svg +0 -18
  844. package/src/assets/icons/simple/on-site.svg +0 -18
  845. package/src/assets/icons/simple/order-down.svg +0 -12
  846. package/src/assets/icons/simple/order-up.svg +0 -12
  847. package/src/assets/icons/simple/paste.svg +0 -14
  848. package/src/assets/icons/simple/pausa.svg +0 -8
  849. package/src/assets/icons/simple/pdf.svg +0 -12
  850. package/src/assets/icons/simple/phone.svg +0 -10
  851. package/src/assets/icons/simple/pin-map.svg +0 -13
  852. package/src/assets/icons/simple/pin.svg +0 -14
  853. package/src/assets/icons/simple/pizza.svg +0 -17
  854. package/src/assets/icons/simple/play.svg +0 -10
  855. package/src/assets/icons/simple/plug-in.svg +0 -10
  856. package/src/assets/icons/simple/pointer.svg +0 -6
  857. package/src/assets/icons/simple/printer.svg +0 -28
  858. package/src/assets/icons/simple/profile-add.svg +0 -28
  859. package/src/assets/icons/simple/profile.svg +0 -13
  860. package/src/assets/icons/simple/push-pin-off.svg +0 -11
  861. package/src/assets/icons/simple/push-pin-on.svg +0 -12
  862. package/src/assets/icons/simple/qrcode.svg +0 -26
  863. package/src/assets/icons/simple/question-badge.svg +0 -10
  864. package/src/assets/icons/simple/radio.svg +0 -8
  865. package/src/assets/icons/simple/redo.svg +0 -9
  866. package/src/assets/icons/simple/relations.svg +0 -28
  867. package/src/assets/icons/simple/reload.svg +0 -12
  868. package/src/assets/icons/simple/remove-circle.svg +0 -10
  869. package/src/assets/icons/simple/remove.svg +0 -6
  870. package/src/assets/icons/simple/repeart.svg +0 -14
  871. package/src/assets/icons/simple/repository.svg +0 -18
  872. package/src/assets/icons/simple/request-form.svg +0 -20
  873. package/src/assets/icons/simple/resize-100%.svg +0 -15
  874. package/src/assets/icons/simple/resize-height.svg +0 -12
  875. package/src/assets/icons/simple/resize-width.svg +0 -14
  876. package/src/assets/icons/simple/search.svg +0 -10
  877. package/src/assets/icons/simple/sequential-prerequisites.svg +0 -22
  878. package/src/assets/icons/simple/settings.svg +0 -17
  879. package/src/assets/icons/simple/share.svg +0 -21
  880. package/src/assets/icons/simple/sketch.svg +0 -13
  881. package/src/assets/icons/simple/skills.svg +0 -17
  882. package/src/assets/icons/simple/skip-back.svg +0 -14
  883. package/src/assets/icons/simple/skip-forward.svg +0 -14
  884. package/src/assets/icons/simple/sms.svg +0 -22
  885. package/src/assets/icons/simple/sso-access.svg +0 -20
  886. package/src/assets/icons/simple/star-active.svg +0 -6
  887. package/src/assets/icons/simple/star.svg +0 -6
  888. package/src/assets/icons/simple/success.svg +0 -12
  889. package/src/assets/icons/simple/sun.svg +0 -22
  890. package/src/assets/icons/simple/sunrise.svg +0 -18
  891. package/src/assets/icons/simple/support.svg +0 -18
  892. package/src/assets/icons/simple/survey.svg +0 -32
  893. package/src/assets/icons/simple/table.svg +0 -11
  894. package/src/assets/icons/simple/tematic-channels.svg +0 -15
  895. package/src/assets/icons/simple/test.svg +0 -23
  896. package/src/assets/icons/simple/text-body.svg +0 -7
  897. package/src/assets/icons/simple/text-edit.svg +0 -11
  898. package/src/assets/icons/simple/text-style.svg +0 -10
  899. package/src/assets/icons/simple/time.svg +0 -10
  900. package/src/assets/icons/simple/toilet-paper.svg +0 -17
  901. package/src/assets/icons/simple/training-points.svg +0 -18
  902. package/src/assets/icons/simple/trash.svg +0 -20
  903. package/src/assets/icons/simple/underline.svg +0 -9
  904. package/src/assets/icons/simple/undo.svg +0 -9
  905. package/src/assets/icons/simple/unlock.svg +0 -15
  906. package/src/assets/icons/simple/upload.svg +0 -10
  907. package/src/assets/icons/simple/user-add.svg +0 -18
  908. package/src/assets/icons/simple/user-badge.svg +0 -12
  909. package/src/assets/icons/simple/user.svg +0 -8
  910. package/src/assets/icons/simple/video-off.svg +0 -17
  911. package/src/assets/icons/simple/video-on.svg +0 -17
  912. package/src/assets/icons/simple/video-rec.svg +0 -20
  913. package/src/assets/icons/simple/view-card.svg +0 -12
  914. package/src/assets/icons/simple/view-list.svg +0 -20
  915. package/src/assets/icons/simple/view.svg +0 -17
  916. package/src/assets/icons/simple/voice-off.svg +0 -16
  917. package/src/assets/icons/simple/voice-on.svg +0 -16
  918. package/src/assets/icons/simple/volume-down.svg +0 -15
  919. package/src/assets/icons/simple/volume-off.svg +0 -16
  920. package/src/assets/icons/simple/volume-up.svg +0 -16
  921. package/src/assets/icons/simple/warning.svg +0 -14
  922. package/src/assets/icons/simple/webinar.svg +0 -19
  923. package/src/assets/icons/simple/whiteboard.svg +0 -16
  924. package/src/assets/icons/simple/wine.svg +0 -24
  925. package/src/assets/icons/simple/zip.svg +0 -22
  926. package/src/assets/icons/simple/zoom-in.svg +0 -18
  927. package/src/assets/icons/simple/zoom-out.svg +0 -17
  928. package/src/assets/icons/simple.json +0 -1
  929. package/src/components/VvAccordion/VvAccordion.vue +0 -109
  930. package/src/components/VvAccordion/index.ts +0 -96
  931. package/src/components/VvAccordionGroup/VvAccordionGroup.vue +0 -115
  932. package/src/components/VvAccordionGroup/index.ts +0 -50
  933. package/src/components/VvAction/VvAction.vue +0 -146
  934. package/src/components/VvAction/index.ts +0 -5
  935. package/src/components/VvAlert/VvAlert.vue +0 -76
  936. package/src/components/VvAlert/index.ts +0 -162
  937. package/src/components/VvAlertGroup/VvAlertGroup.vue +0 -64
  938. package/src/components/VvAlertGroup/index.ts +0 -132
  939. package/src/components/VvAvatar/VvAvatar.vue +0 -21
  940. package/src/components/VvAvatar/index.ts +0 -9
  941. package/src/components/VvAvatarGroup/VvAvatarGroup.vue +0 -65
  942. package/src/components/VvAvatarGroup/index.ts +0 -28
  943. package/src/components/VvBadge/VvBadge.vue +0 -20
  944. package/src/components/VvBadge/index.ts +0 -6
  945. package/src/components/VvBreadcrumb/VvBreadcrumb.vue +0 -54
  946. package/src/components/VvBreadcrumb/index.ts +0 -13
  947. package/src/components/VvButton/VvButton.vue +0 -164
  948. package/src/components/VvButton/index.ts +0 -132
  949. package/src/components/VvButtonGroup/VvButtonGroup.vue +0 -74
  950. package/src/components/VvButtonGroup/index.ts +0 -28
  951. package/src/components/VvCard/VvCard.vue +0 -37
  952. package/src/components/VvCard/index.ts +0 -6
  953. package/src/components/VvCheckbox/VvCheckbox.vue +0 -198
  954. package/src/components/VvCheckbox/index.ts +0 -65
  955. package/src/components/VvCheckboxGroup/VvCheckboxGroup.vue +0 -99
  956. package/src/components/VvCheckboxGroup/index.ts +0 -5
  957. package/src/components/VvCombobox/VvCombobox.vue +0 -629
  958. package/src/components/VvCombobox/index.ts +0 -179
  959. package/src/components/VvDialog/VvDialog.vue +0 -144
  960. package/src/components/VvDialog/index.ts +0 -42
  961. package/src/components/VvDropdown/VvDropdown.vue +0 -475
  962. package/src/components/VvDropdown/VvDropdownAction.vue +0 -46
  963. package/src/components/VvDropdown/VvDropdownItem.vue +0 -32
  964. package/src/components/VvDropdown/VvDropdownOptgroup.vue +0 -18
  965. package/src/components/VvDropdown/VvDropdownOption.vue +0 -72
  966. package/src/components/VvDropdown/index.ts +0 -32
  967. package/src/components/VvIcon/README.md +0 -64
  968. package/src/components/VvIcon/VvIcon.vue +0 -139
  969. package/src/components/VvIcon/index.ts +0 -103
  970. package/src/components/VvInputText/VvInputClearAction.ts +0 -52
  971. package/src/components/VvInputText/VvInputPasswordAction.ts +0 -68
  972. package/src/components/VvInputText/VvInputStepAction.ts +0 -49
  973. package/src/components/VvInputText/VvInputText.vue +0 -547
  974. package/src/components/VvInputText/VvInputTextActions.ts +0 -97
  975. package/src/components/VvInputText/index.ts +0 -199
  976. package/src/components/VvNav/VvNav.vue +0 -44
  977. package/src/components/VvNav/VvNavItem.vue +0 -18
  978. package/src/components/VvNav/VvNavSeparator.vue +0 -11
  979. package/src/components/VvNav/index.ts +0 -8
  980. package/src/components/VvProgress/VvProgress.vue +0 -34
  981. package/src/components/VvProgress/index.ts +0 -32
  982. package/src/components/VvRadio/VvRadio.vue +0 -124
  983. package/src/components/VvRadio/index.ts +0 -46
  984. package/src/components/VvRadioGroup/VvRadioGroup.vue +0 -103
  985. package/src/components/VvRadioGroup/index.ts +0 -5
  986. package/src/components/VvSelect/VvSelect.vue +0 -247
  987. package/src/components/VvSelect/index.ts +0 -69
  988. package/src/components/VvTab/VvTab.vue +0 -77
  989. package/src/components/VvTab/index.ts +0 -19
  990. package/src/components/VvTextarea/VvTextarea.vue +0 -225
  991. package/src/components/VvTextarea/index.ts +0 -50
  992. package/src/components/VvTooltip/VvTooltip.vue +0 -23
  993. package/src/components/VvTooltip/index.ts +0 -18
  994. package/src/components/common/HintSlot.ts +0 -175
  995. package/src/components/index.ts +0 -24
  996. package/src/composables/alert/useAlert.ts +0 -103
  997. package/src/composables/alert/useInjectAlert.ts +0 -8
  998. package/src/composables/alert/useProvideAlert.ts +0 -23
  999. package/src/composables/dropdown/useInjectDropdown.ts +0 -26
  1000. package/src/composables/dropdown/useProvideDropdown.ts +0 -94
  1001. package/src/composables/group/useInjectedGroupState.ts +0 -51
  1002. package/src/composables/group/useProvideGroupState.ts +0 -20
  1003. package/src/composables/index.ts +0 -1
  1004. package/src/composables/useComponentFocus.ts +0 -16
  1005. package/src/composables/useComponentIcon.ts +0 -41
  1006. package/src/composables/useDebouncedInput.ts +0 -32
  1007. package/src/composables/useDefaults.ts +0 -89
  1008. package/src/composables/useModifiers.ts +0 -36
  1009. package/src/composables/useOptions.ts +0 -47
  1010. package/src/composables/useTextCount.ts +0 -57
  1011. package/src/composables/useUniqueId.ts +0 -5
  1012. package/src/composables/useVolver.ts +0 -5
  1013. package/src/constants.ts +0 -138
  1014. package/src/directives/index.ts +0 -4
  1015. package/src/directives/v-contextmenu.ts +0 -40
  1016. package/src/directives/v-tooltip.ts +0 -24
  1017. package/src/icons.ts +0 -7
  1018. package/src/index.ts +0 -14
  1019. package/src/props/index.ts +0 -479
  1020. package/src/resolvers/unplugin.ts +0 -169
  1021. package/src/shims.d.ts +0 -13
  1022. package/src/stories/Accordion/Accordion.settings.ts +0 -57
  1023. package/src/stories/Accordion/Accordion.stories.ts +0 -45
  1024. package/src/stories/Accordion/Accordion.test.ts +0 -67
  1025. package/src/stories/Accordion/AccordionSlots.stories.ts +0 -29
  1026. package/src/stories/AccordionGroup/AccordionGroup.settings.ts +0 -77
  1027. package/src/stories/AccordionGroup/AccordionGroup.stories.ts +0 -62
  1028. package/src/stories/AccordionGroup/AccordionGroup.test.ts +0 -56
  1029. package/src/stories/AccordionGroup/AccordionGroupSlots.stories.ts +0 -53
  1030. package/src/stories/Alert/Alert.settings.ts +0 -122
  1031. package/src/stories/Alert/Alert.stories.ts +0 -60
  1032. package/src/stories/Alert/Alert.test.ts +0 -99
  1033. package/src/stories/Alert/AlertModifiers.stories.ts +0 -77
  1034. package/src/stories/Alert/AlertSlots.stories.ts +0 -74
  1035. package/src/stories/AlertGroup/AlertGroup.settings.ts +0 -110
  1036. package/src/stories/AlertGroup/AlertGroup.stories.ts +0 -50
  1037. package/src/stories/AlertGroup/AlertGroup.test.ts +0 -89
  1038. package/src/stories/AlertGroup/AlertGroupPosition.stories.ts +0 -103
  1039. package/src/stories/AlertGroup/AlertGroupSlots.stories.ts +0 -67
  1040. package/src/stories/AlertGroup/AlertGroupWithComposable.stories.ts +0 -118
  1041. package/src/stories/Avatar/Avatar.settings.ts +0 -37
  1042. package/src/stories/Avatar/Avatar.stories.ts +0 -42
  1043. package/src/stories/Avatar/Avatar.test.ts +0 -34
  1044. package/src/stories/Avatar/AvatarBadge.stories.ts +0 -36
  1045. package/src/stories/Avatar/AvatarModifiers.stories.ts +0 -100
  1046. package/src/stories/Avatar/AvatarSlots.stories.ts +0 -34
  1047. package/src/stories/AvatarGroup/AvatarGroup.settings.ts +0 -60
  1048. package/src/stories/AvatarGroup/AvatarGroup.stories.ts +0 -35
  1049. package/src/stories/AvatarGroup/AvatarGroup.test.ts +0 -36
  1050. package/src/stories/AvatarGroup/AvatarGroupModifiers.stories.ts +0 -31
  1051. package/src/stories/AvatarGroup/AvatarGroupSlotDefault.stories.ts +0 -39
  1052. package/src/stories/Badge/Badge.settings.ts +0 -26
  1053. package/src/stories/Badge/Badge.stories.ts +0 -43
  1054. package/src/stories/Badge/Badge.test.ts +0 -12
  1055. package/src/stories/Badge/BadgeSlots.stories.ts +0 -23
  1056. package/src/stories/Breadcrumb/Breadcrumb.settings.ts +0 -40
  1057. package/src/stories/Breadcrumb/Breadcrumb.stories.ts +0 -41
  1058. package/src/stories/Breadcrumb/Breadcrumb.test.ts +0 -52
  1059. package/src/stories/Breadcrumb/BreadcrumbSlots.stories.ts +0 -37
  1060. package/src/stories/Button/Button.settings.ts +0 -159
  1061. package/src/stories/Button/Button.stories.ts +0 -38
  1062. package/src/stories/Button/Button.test.ts +0 -48
  1063. package/src/stories/Button/ButtonIcon.stories.ts +0 -67
  1064. package/src/stories/Button/ButtonLink.stories.ts +0 -40
  1065. package/src/stories/Button/ButtonLoading.stories.ts +0 -41
  1066. package/src/stories/Button/ButtonModifiers.stories.ts +0 -148
  1067. package/src/stories/Button/ButtonSlots.stories.ts +0 -87
  1068. package/src/stories/Button/ButtonState.stories.ts +0 -42
  1069. package/src/stories/Button/ButtonToggle.stories.ts +0 -52
  1070. package/src/stories/ButtonGroup/ButtonGroup.settings.ts +0 -32
  1071. package/src/stories/ButtonGroup/ButtonGroup.stories.ts +0 -39
  1072. package/src/stories/ButtonGroup/ButtonGroup.test.ts +0 -35
  1073. package/src/stories/ButtonGroup/ButtonGroupModifiers.stories.ts +0 -39
  1074. package/src/stories/ButtonGroup/ButtonGroupSlots.stories.ts +0 -38
  1075. package/src/stories/ButtonGroup/ButtonGroupToggle.stories.ts +0 -41
  1076. package/src/stories/Card/Card.settings.ts +0 -55
  1077. package/src/stories/Card/Card.stories.ts +0 -46
  1078. package/src/stories/Card/Card.test.ts +0 -23
  1079. package/src/stories/Card/CardSlots.stories.ts +0 -81
  1080. package/src/stories/Checkbox/Checkbox.settings.ts +0 -41
  1081. package/src/stories/Checkbox/Checkbox.stories.ts +0 -97
  1082. package/src/stories/Checkbox/Checkbox.test.ts +0 -81
  1083. package/src/stories/Checkbox/CheckboxBinary.stories.ts +0 -33
  1084. package/src/stories/Checkbox/CheckboxSlots.stories.ts +0 -31
  1085. package/src/stories/CheckboxGroup/CheckboxGroup.settings.ts +0 -15
  1086. package/src/stories/CheckboxGroup/CheckboxGroup.stories.ts +0 -87
  1087. package/src/stories/CheckboxGroup/CheckboxGroup.test.ts +0 -83
  1088. package/src/stories/CheckboxGroup/CheckboxGroupOptions.stories.ts +0 -53
  1089. package/src/stories/CheckboxGroup/CheckboxGroupSlots.stories.ts +0 -47
  1090. package/src/stories/Combobox/Combobox.settings.ts +0 -403
  1091. package/src/stories/Combobox/Combobox.stories.ts +0 -176
  1092. package/src/stories/Combobox/Combobox.test.ts +0 -110
  1093. package/src/stories/Combobox/ComboboxIconPosition.stories.ts +0 -43
  1094. package/src/stories/Combobox/ComboboxMultiple.stories.ts +0 -41
  1095. package/src/stories/Combobox/ComboboxOptions.stories.ts +0 -114
  1096. package/src/stories/Combobox/ComboboxSlots.stories.ts +0 -104
  1097. package/src/stories/Dialog/Dialog.settings.ts +0 -45
  1098. package/src/stories/Dialog/Dialog.stories.ts +0 -51
  1099. package/src/stories/Dialog/Dialog.test.ts +0 -69
  1100. package/src/stories/Dialog/DialogSlots.stories.ts +0 -39
  1101. package/src/stories/Dropdown/Dropdown.settings.ts +0 -69
  1102. package/src/stories/Dropdown/Dropdown.stories.ts +0 -107
  1103. package/src/stories/Dropdown/Dropdown.test.ts +0 -21
  1104. package/src/stories/Dropdown/DropdownContextmenuDirective.stories.ts +0 -49
  1105. package/src/stories/Dropdown/DropdownMultilevel.stories.ts +0 -61
  1106. package/src/stories/Dropdown/DropdownSlots.stories.ts +0 -95
  1107. package/src/stories/Icon/Icon.settings.ts +0 -72
  1108. package/src/stories/Icon/Icon.stories.ts +0 -48
  1109. package/src/stories/Icon/IconsCollection.stories.ts +0 -53
  1110. package/src/stories/InputText/InputText.settings.ts +0 -259
  1111. package/src/stories/InputText/InputText.stories.ts +0 -113
  1112. package/src/stories/InputText/InputText.test.ts +0 -144
  1113. package/src/stories/InputText/InputTextIconPosition.stories.ts +0 -43
  1114. package/src/stories/InputText/InputTextLength.stories.ts +0 -58
  1115. package/src/stories/InputText/InputTextMask.stories.ts +0 -122
  1116. package/src/stories/InputText/InputTextMinMax.stories.ts +0 -51
  1117. package/src/stories/InputText/InputTextSlots.stories.ts +0 -39
  1118. package/src/stories/InputText/InputTextType.stories.ts +0 -119
  1119. package/src/stories/Nav/Nav.settings.ts +0 -35
  1120. package/src/stories/Nav/Nav.stories.ts +0 -33
  1121. package/src/stories/Nav/Nav.test.ts +0 -21
  1122. package/src/stories/Nav/NavModifiers.stories.ts +0 -47
  1123. package/src/stories/Progress/Progress.settings.ts +0 -30
  1124. package/src/stories/Progress/Progress.stories.ts +0 -41
  1125. package/src/stories/Progress/Progress.test.ts +0 -9
  1126. package/src/stories/Radio/Radio.settings.ts +0 -15
  1127. package/src/stories/Radio/Radio.stories.ts +0 -81
  1128. package/src/stories/Radio/Radio.test.ts +0 -70
  1129. package/src/stories/Radio/RadioSlots.stories.ts +0 -31
  1130. package/src/stories/RadioGroup/RadioGroup.settings.ts +0 -15
  1131. package/src/stories/RadioGroup/RadioGroup.stories.ts +0 -88
  1132. package/src/stories/RadioGroup/RadioGroup.test.ts +0 -83
  1133. package/src/stories/RadioGroup/RadioGroupOptions.stories.ts +0 -53
  1134. package/src/stories/RadioGroup/RadioGroupSlots.stories.ts +0 -47
  1135. package/src/stories/Select/Select.settings.ts +0 -80
  1136. package/src/stories/Select/Select.stories.ts +0 -113
  1137. package/src/stories/Select/Select.test.ts +0 -85
  1138. package/src/stories/Select/SelectIconPosition.stories.ts +0 -43
  1139. package/src/stories/Select/SelectOptions.stories.ts +0 -77
  1140. package/src/stories/Select/SelectSlots.stories.ts +0 -39
  1141. package/src/stories/Tab/Tab.settings.ts +0 -41
  1142. package/src/stories/Tab/Tab.stories.ts +0 -70
  1143. package/src/stories/Tab/Tab.test.ts +0 -29
  1144. package/src/stories/Textarea/Textarea.settings.ts +0 -88
  1145. package/src/stories/Textarea/Textarea.stories.ts +0 -107
  1146. package/src/stories/Textarea/Textarea.test.ts +0 -90
  1147. package/src/stories/Textarea/TextareaLength.stories.ts +0 -58
  1148. package/src/stories/Textarea/TextareaSlots.stories.ts +0 -39
  1149. package/src/stories/Textarea/TextareatIconPosition.stories.ts +0 -43
  1150. package/src/stories/Tooltip/Tooltip.settings.ts +0 -25
  1151. package/src/stories/Tooltip/Tooltip.stories.ts +0 -40
  1152. package/src/stories/Tooltip/Tooltip.test.ts +0 -60
  1153. package/src/stories/Tooltip/TooltipDirective.stories.ts +0 -68
  1154. package/src/stories/argTypes.ts +0 -562
  1155. package/src/test/expect.ts +0 -88
  1156. package/src/test/options.ts +0 -17
  1157. package/src/test/sleep.ts +0 -2
  1158. package/src/test/types.d.ts +0 -17
  1159. package/src/types/alert.ts +0 -20
  1160. package/src/types/floating-ui.ts +0 -7
  1161. package/src/types/generic.ts +0 -6
  1162. package/src/types/group.ts +0 -44
  1163. package/src/types/index.ts +0 -5
  1164. package/src/types/nav.ts +0 -19
  1165. package/src/utils/ObjectUtilities.ts +0 -288
@@ -1,271 +1,336 @@
1
- import { inject, computed, unref, defineComponent, ref, toRefs, openBlock, createBlock, mergeProps, createCommentVNode, isRef, h, watch, useSlots, createElementBlock, normalizeClass, toDisplayString, createElementVNode, renderSlot, normalizeProps, guardReactiveProps, withDirectives, Fragment, renderList, vModelSelect, createVNode, createSlots, withCtx } from "vue";
2
- import { iconExists, Icon, addIcon } from "@iconify/vue";
3
- import { uid } from "uid";
1
+ import { computed, isRef, defineComponent, h, inject, unref, mergeDefaults, ref, toRefs, createBlock, createCommentVNode, openBlock, mergeProps, watch, useId, useSlots, createElementBlock, normalizeClass, createElementVNode, createVNode, toDisplayString, renderSlot, normalizeProps, guardReactiveProps, withDirectives, Fragment, renderList, vModelSelect, createSlots, withCtx } from "vue";
2
+ import { iconLoaded, Icon, addIcon } from "@iconify/vue";
4
3
  import { useFocus, useElementVisibility } from "@vueuse/core";
5
- import { get } from "ts-dot-prop";
6
- const VvIconProps = {
4
+ import { getProperty } from "dot-prop";
5
+ const ACTION_ICONS = {
6
+ clear: "close"
7
+ };
8
+ const VvIconPropsDefaults = {
9
+ prefix: "normal"
10
+ /* normal */
11
+ };
12
+ var StorageType = /* @__PURE__ */ ((StorageType2) => {
13
+ StorageType2["local"] = "local";
14
+ StorageType2["session"] = "session";
15
+ return StorageType2;
16
+ })(StorageType || {});
17
+ var Side = /* @__PURE__ */ ((Side2) => {
18
+ Side2["left"] = "left";
19
+ Side2["right"] = "right";
20
+ Side2["top"] = "top";
21
+ Side2["bottom"] = "bottom";
22
+ return Side2;
23
+ })(Side || {});
24
+ var Position = /* @__PURE__ */ ((Position2) => {
25
+ Position2["before"] = "before";
26
+ Position2["after"] = "after";
27
+ return Position2;
28
+ })(Position || {});
29
+ var ButtonType = /* @__PURE__ */ ((ButtonType2) => {
30
+ ButtonType2["button"] = "button";
31
+ ButtonType2["submit"] = "submit";
32
+ ButtonType2["reset"] = "reset";
33
+ return ButtonType2;
34
+ })(ButtonType || {});
35
+ var ActionTag = /* @__PURE__ */ ((ActionTag2) => {
36
+ ActionTag2["nuxtLink"] = "nuxt-link";
37
+ ActionTag2["routerLink"] = "router-link";
38
+ ActionTag2["a"] = "a";
39
+ ActionTag2["button"] = "button";
40
+ return ActionTag2;
41
+ })(ActionTag || {});
42
+ const INJECTION_KEY_VOLVER = Symbol.for("volver");
43
+ const ValidProps = {
7
44
  /**
8
- * Color
45
+ * Valid status
9
46
  */
10
- color: String,
47
+ valid: { type: Boolean, default: false },
11
48
  /**
12
- * Width
49
+ * Valid label
13
50
  */
14
- width: {
15
- type: [String, Number]
51
+ validLabel: { type: [String, Array], default: void 0 }
52
+ };
53
+ const InvalidProps = {
54
+ /**
55
+ * Invalid status
56
+ */
57
+ invalid: {
58
+ type: Boolean,
59
+ default: false
16
60
  },
17
61
  /**
18
- * Height
62
+ * Invalid label
19
63
  */
20
- height: {
21
- type: [String, Number]
64
+ invalidLabel: { type: [String, Array], default: void 0 }
65
+ };
66
+ const LoadingProps = {
67
+ /**
68
+ * Loading status
69
+ */
70
+ loading: {
71
+ type: Boolean,
72
+ default: false
22
73
  },
23
74
  /**
24
- * Icon name
25
- * Can be the full composition of iconify name "@{provider}:{prefix}:{name}" or "{prefix}:{name}" or "{name}"
26
- * https://docs.iconify.design/api/providers.html#provider-in-icon-name
75
+ * Loading label
27
76
  */
28
- name: {
77
+ loadingLabel: {
29
78
  type: String,
30
- required: true
79
+ default: "Loading..."
80
+ }
81
+ };
82
+ const DisabledProps = {
83
+ /**
84
+ * Whether the form control is disabled
85
+ */
86
+ disabled: {
87
+ type: Boolean,
88
+ default: false
89
+ }
90
+ };
91
+ const ClearProps = {
92
+ /**
93
+ * If true, the clear button will be shown
94
+ */
95
+ showClearAction: {
96
+ type: Boolean,
97
+ default: false
31
98
  },
32
99
  /**
33
- * By default 'vv'
34
- * If custom collection is not added with "addCollection" DS class method, this prop could not be used
35
- * Icon provider: https://docs.iconify.design/api/providers.html#provider-in-icon-name
100
+ * VvIcon name for clear button
101
+ * @see VvIcon
36
102
  */
37
- provider: {
38
- type: String
103
+ iconClear: {
104
+ type: [String, Object],
105
+ default: ACTION_ICONS.clear
39
106
  },
40
107
  /**
41
- * The name of icon set.
42
- * Icon default options prefix: simple | normal | detailed
108
+ * Label for clear button
43
109
  */
44
- prefix: {
110
+ labelClear: {
45
111
  type: String,
46
- default: "normal"
112
+ default: "Clear"
113
+ }
114
+ };
115
+ const LabelProps = {
116
+ /**
117
+ * The item label
118
+ */
119
+ label: {
120
+ type: [String, Number],
121
+ default: void 0
122
+ }
123
+ };
124
+ const ReadonlyProps = {
125
+ /**
126
+ * The value is not editable
127
+ */
128
+ readonly: {
129
+ type: Boolean,
130
+ default: false
131
+ }
132
+ };
133
+ const ModifiersProps = {
134
+ /**
135
+ * Component BEM modifiers
136
+ */
137
+ modifiers: {
138
+ type: [String, Array],
139
+ default: void 0
140
+ }
141
+ };
142
+ const HintProps = {
143
+ hintLabel: { type: String, default: "" }
144
+ };
145
+ const OptionsProps = {
146
+ /**
147
+ * List of options, can be string[] or object[]
148
+ */
149
+ options: {
150
+ type: Array,
151
+ default: () => []
47
152
  },
48
153
  /**
49
- * Url remote SVG icon
154
+ * Used when options are objects: key to use for option label
50
155
  */
51
- src: String,
156
+ labelKey: { type: [String, Function], default: "label" },
52
157
  /**
53
- * Horizontal flip
158
+ * Used when options are objects: key to use for option label
54
159
  */
55
- horizontalFlip: Boolean,
160
+ valueKey: { type: [String, Function], default: "value" },
56
161
  /**
57
- * Vertical flip
162
+ * Used when options are objects: key to use for option disabled
58
163
  */
59
- verticalFlip: Boolean,
164
+ disabledKey: { type: [String, Function], default: "disabled" }
165
+ };
166
+ const IconProps = {
60
167
  /**
61
- * String alternative to "horizontalFlip" and "verticalFlip".
62
- * Example: https://docs.iconify.design/icon-components/vue/transform.html
168
+ * VvIcon name or props
169
+ * @see VvIcon
63
170
  */
64
- flip: String,
171
+ icon: {
172
+ type: [String, Object],
173
+ default: void 0
174
+ },
65
175
  /**
66
- * Icon render mode
67
- * 'style' = 'bg' or 'mask', depending on icon content
68
- * 'bg' = span with style using `background`
69
- * 'mask' = span with style using `mask`
70
- * 'svg' = svg
71
- * Iconify doc: https://docs.iconify.design/iconify-icon/modes.html
176
+ * VvIcon position
72
177
  */
73
- mode: String,
178
+ iconPosition: {
179
+ type: String,
180
+ default: Position.before,
181
+ validation: (value) => Object.values(Position).includes(value)
182
+ }
183
+ };
184
+ const TabindexProps = {
74
185
  /**
75
- * Toggles inline or block mode
76
- * Example https://docs.iconify.design/icon-components/vue/inline.html
186
+ * Global attribute tabindex
187
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex
77
188
  */
78
- inline: Boolean,
189
+ tabindex: { type: [String, Number], default: 0 }
190
+ };
191
+ const FloatingLabelProps = {
79
192
  /**
80
- * rotates icon
81
- * Example https://docs.iconify.design/icon-components/vue/transform.html
193
+ * If true the label will be floating
82
194
  */
83
- rotate: [Number, String],
195
+ floating: {
196
+ type: Boolean,
197
+ default: false
198
+ }
199
+ };
200
+ const UnselectableProps = {
84
201
  /**
85
- * A callback that is called when icon data has been loaded
202
+ * If true the input will be unselectable
86
203
  */
87
- onLoad: Function,
204
+ unselectable: { type: Boolean, default: true }
205
+ };
206
+ const IdProps = {
88
207
  /**
89
- * SVG icon string
208
+ * Global attribute id
209
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
90
210
  */
91
- svg: String,
211
+ id: [String, Number]
212
+ };
213
+ ({
92
214
  /**
93
- * Icon modifiers: vv-icon css helper classes, value/s are concatened with prefix 'vv-icon--'
94
- * @values string | string[]
215
+ * Dropdown placement
95
216
  */
96
- modifiers: {
97
- type: [String, Array]
217
+ placement: {
218
+ default: Side.bottom
98
219
  }
220
+ });
221
+ const IdNameProps = {
222
+ ...IdProps,
223
+ /**
224
+ * Input / Textarea name
225
+ * Name of the form control. Submitted with the form as part of a name/value pair
226
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name
227
+ */
228
+ name: { type: String, required: true }
99
229
  };
100
- var Strategy = /* @__PURE__ */ ((Strategy2) => {
101
- Strategy2["absolute"] = "absolute";
102
- Strategy2["fixed"] = "fixed";
103
- return Strategy2;
104
- })(Strategy || {});
105
- var Side = /* @__PURE__ */ ((Side2) => {
106
- Side2["left"] = "left";
107
- Side2["right"] = "right";
108
- Side2["top"] = "top";
109
- Side2["bottom"] = "bottom";
110
- return Side2;
111
- })(Side || {});
112
- var Placement = /* @__PURE__ */ ((Placement2) => {
113
- Placement2["topStart"] = "top-start";
114
- Placement2["topEnd"] = "top-end";
115
- Placement2["bottomStart"] = "bottom-start";
116
- Placement2["bottomEnd"] = "bottom-end";
117
- Placement2["leftStart"] = "left-start";
118
- Placement2["leftEnd"] = "left-end";
119
- Placement2["rightStart"] = "right-start";
120
- Placement2["rightEnd"] = "right-end";
121
- return Placement2;
122
- })(Placement || {});
123
- var Position = /* @__PURE__ */ ((Position2) => {
124
- Position2["before"] = "before";
125
- Position2["after"] = "after";
126
- return Position2;
127
- })(Position || {});
128
- var ButtonType = /* @__PURE__ */ ((ButtonType2) => {
129
- ButtonType2["button"] = "button";
130
- ButtonType2["submit"] = "submit";
131
- ButtonType2["reset"] = "reset";
132
- return ButtonType2;
133
- })(ButtonType || {});
134
- var AnchorTarget = /* @__PURE__ */ ((AnchorTarget2) => {
135
- AnchorTarget2["_blank"] = "_blank";
136
- AnchorTarget2["_self"] = "_self";
137
- AnchorTarget2["_parent"] = "_parent";
138
- AnchorTarget2["_top"] = "_top";
139
- return AnchorTarget2;
140
- })(AnchorTarget || {});
141
- const INJECTION_KEY_VOLVER = Symbol.for("volver");
142
- function useVolver() {
143
- return inject(INJECTION_KEY_VOLVER);
144
- }
145
- function useModifiers(prefix, modifiers, others) {
146
- return computed(() => {
147
- const toReturn = {
148
- [prefix]: true
149
- };
150
- const modifiersArray = typeof (modifiers == null ? void 0 : modifiers.value) === "string" ? modifiers.value.split(" ") : modifiers == null ? void 0 : modifiers.value;
151
- if (modifiersArray) {
152
- if (Array.isArray(modifiersArray)) {
153
- modifiersArray.forEach((modifier) => {
154
- if (modifier) {
155
- toReturn[`${prefix}--${modifier}`] = true;
156
- }
157
- });
158
- }
159
- }
160
- if (others) {
161
- Object.keys(others.value).forEach((key) => {
162
- toReturn[`${prefix}--${key}`] = unref(others.value[key]);
163
- });
164
- }
165
- return toReturn;
166
- });
167
- }
168
- const __default__$1 = {
169
- name: "VvIcon"
230
+ const AutofocusProps = {
231
+ /**
232
+ * Global attribute autofocus
233
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus
234
+ */
235
+ autofocus: {
236
+ type: Boolean,
237
+ default: false
238
+ }
170
239
  };
171
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
172
- ...__default__$1,
173
- props: VvIconProps,
174
- setup(__props) {
175
- const props = __props;
176
- const hasRotate = computed(() => {
177
- if (typeof props.rotate === "string") {
178
- return parseFloat(props.rotate);
179
- }
180
- return props.rotate;
181
- });
182
- const show = ref(true);
183
- const volver = useVolver();
184
- const { modifiers } = toRefs(props);
185
- const bemCssClasses = useModifiers("vv-icon", modifiers);
186
- const provider = computed(() => {
187
- return props.provider || (volver == null ? void 0 : volver.iconsProvider);
188
- });
189
- const icon = computed(() => {
190
- const name = props.name ?? "";
191
- const iconName = `@${provider.value}:${props.prefix}:${name}`;
192
- if (iconExists(iconName)) {
193
- return iconName;
194
- }
195
- const iconsCollection = volver == null ? void 0 : volver.iconsCollections.find(
196
- (iconsCollection2) => {
197
- const icon2 = `@${provider.value}:${iconsCollection2.prefix}:${name}`;
198
- return iconExists(icon2);
199
- }
200
- );
201
- if (iconsCollection) {
202
- return `@${provider.value}:${iconsCollection.prefix}:${name}`;
203
- }
204
- return name;
205
- });
206
- function getSvgContent(svg) {
207
- let dom;
208
- if (typeof window === "undefined") {
209
- const { JSDOM } = require("jsdom");
210
- dom = new JSDOM().window;
211
- }
212
- const domParser = dom ? new dom.DOMParser() : new window.DOMParser();
213
- const svgDomString = domParser.parseFromString(svg, "text/html");
214
- const svgEl = svgDomString.querySelector("svg");
215
- return svgEl;
216
- }
217
- function addIconFromSvg(svg) {
218
- const svgContentEl = getSvgContent(svg);
219
- const svgContent = (svgContentEl == null ? void 0 : svgContentEl.innerHTML.trim()) || "";
220
- if (svgContentEl && svgContent) {
221
- addIcon(`@${provider.value}:${props.prefix}:${props.name}`, {
222
- body: svgContent,
223
- // Set height and width from svg content
224
- height: svgContentEl.viewBox.baseVal.height,
225
- width: svgContentEl.viewBox.baseVal.width
226
- });
227
- }
228
- }
229
- if (volver) {
230
- if (props.src && !iconExists(`@${provider.value}:${props.prefix}:${props.name}`)) {
231
- show.value = false;
232
- volver.fetchIcon(props.src).then((svg) => {
233
- if (svg) {
234
- addIconFromSvg(svg);
235
- show.value = true;
236
- }
237
- }).catch((e) => {
238
- throw new Error(`Error during fetch icon: ${e == null ? void 0 : e.message}`);
239
- });
240
- }
241
- }
242
- if (props.svg) {
243
- addIconFromSvg(props.svg);
240
+ const AutocompleteProps = {
241
+ /**
242
+ * Global attribute autocomplete
243
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
244
+ */
245
+ autocomplete: { type: String, default: "off" }
246
+ };
247
+ ({
248
+ /**
249
+ * Button type
250
+ */
251
+ type: {
252
+ default: ButtonType.button
253
+ },
254
+ /**
255
+ * Default tag for the action
256
+ */
257
+ defaultTag: {
258
+ default: ActionTag.button
259
+ }
260
+ });
261
+ ({
262
+ storageType: {
263
+ default: StorageType.local
264
+ }
265
+ });
266
+ const VvSelectProps = {
267
+ ...IdNameProps,
268
+ ...AutofocusProps,
269
+ ...AutocompleteProps,
270
+ ...TabindexProps,
271
+ ...ValidProps,
272
+ ...InvalidProps,
273
+ ...HintProps,
274
+ ...LoadingProps,
275
+ ...DisabledProps,
276
+ ...ReadonlyProps,
277
+ ...ModifiersProps,
278
+ ...OptionsProps,
279
+ ...IconProps,
280
+ ...FloatingLabelProps,
281
+ ...UnselectableProps,
282
+ ...LabelProps,
283
+ ...ClearProps,
284
+ /**
285
+ * This Boolean attribute indicates that multiple options can be selected in the list.
286
+ * If it is not specified, then only one option can be selected at a time.
287
+ * When multiple is specified, most browsers will show a scrolling list box instead of a single line dropdown.
288
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-multiple
289
+ */
290
+ multiple: Boolean,
291
+ /**
292
+ * A Boolean attribute indicating that an option with a non-empty string value must be selected.
293
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-required
294
+ */
295
+ required: Boolean,
296
+ /**
297
+ * If the control is presented as a scrolling list box (e.g. when multiple is specified),
298
+ * this attribute represents the number of rows in the list that should be visible at one time.
299
+ * Browsers are not required to present a select element as a scrolled list box. The default value is 0.
300
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-size
301
+ */
302
+ size: [String, Number],
303
+ /**
304
+ * modelValue can be a string, number, boolean, object or array of string, number, boolean, object
305
+ */
306
+ modelValue: {
307
+ type: [String, Number, Boolean, Object, Array],
308
+ default: void 0
309
+ },
310
+ /**
311
+ * Select first option automatically
312
+ */
313
+ autoselectFirst: {
314
+ type: Boolean,
315
+ default: false
316
+ },
317
+ /**
318
+ * Select placeholder
319
+ */
320
+ placeholder: String
321
+ };
322
+ function useVvSelectProps() {
323
+ return {
324
+ ...VvSelectProps,
325
+ options: {
326
+ ...VvSelectProps.options,
327
+ type: Array,
328
+ default: () => []
244
329
  }
245
- return (_ctx, _cache) => {
246
- return unref(show) ? (openBlock(), createBlock(unref(Icon), mergeProps({
247
- key: 0,
248
- class: unref(bemCssClasses)
249
- }, {
250
- inline: _ctx.inline,
251
- width: _ctx.width,
252
- height: _ctx.height,
253
- horizontalFlip: _ctx.horizontalFlip,
254
- verticalFlip: _ctx.verticalFlip,
255
- flip: _ctx.flip,
256
- rotate: unref(hasRotate),
257
- color: _ctx.color,
258
- onLoad: _ctx.onLoad,
259
- icon: unref(icon)
260
- }), null, 16, ["class"])) : createCommentVNode("v-if", true);
261
- };
262
- }
263
- });
264
- function isEmpty(value) {
265
- return ((value2) => value2 === null || value2 === void 0 || value2 === "" || Array.isArray(value2) && value2.length === 0 || !(value2 instanceof Date) && typeof value2 === "object" && Object.keys(value2).length === 0)(unref(value));
330
+ };
266
331
  }
267
332
  function isString(value) {
268
- return typeof value === "string" || value instanceof String;
333
+ return typeof value === "string";
269
334
  }
270
335
  function joinLines(items) {
271
336
  if (Array.isArray(items)) {
@@ -329,7 +394,6 @@ function HintSlotFactory(propsOrRef, slots) {
329
394
  };
330
395
  },
331
396
  render() {
332
- var _a, _b, _c, _d, _e, _f, _g, _h;
333
397
  if (this.isVisible) {
334
398
  let role;
335
399
  if (this.hasInvalidLabelOrSlot) {
@@ -344,7 +408,7 @@ function HintSlotFactory(propsOrRef, slots) {
344
408
  {
345
409
  role
346
410
  },
347
- ((_b = (_a = this.$slots).loading) == null ? void 0 : _b.call(_a)) ?? this.loadingLabel
411
+ this.$slots.loading?.() ?? this.loadingLabel
348
412
  );
349
413
  }
350
414
  if (this.hasInvalidLabelOrSlot) {
@@ -353,7 +417,7 @@ function HintSlotFactory(propsOrRef, slots) {
353
417
  {
354
418
  role
355
419
  },
356
- ((_d = (_c = this.$slots).invalid) == null ? void 0 : _d.call(_c)) ?? this.$slots.invalid ?? this.invalidLabel
420
+ this.$slots.invalid?.() ?? this.$slots.invalid ?? this.invalidLabel
357
421
  );
358
422
  }
359
423
  if (this.hasValidLabelOrSlot) {
@@ -362,7 +426,7 @@ function HintSlotFactory(propsOrRef, slots) {
362
426
  {
363
427
  role
364
428
  },
365
- ((_f = (_e = this.$slots).valid) == null ? void 0 : _f.call(_e)) ?? this.validLabel
429
+ this.$slots.valid?.() ?? this.validLabel
366
430
  );
367
431
  }
368
432
  return h(
@@ -370,7 +434,7 @@ function HintSlotFactory(propsOrRef, slots) {
370
434
  {
371
435
  role
372
436
  },
373
- ((_h = (_g = this.$slots).hint) == null ? void 0 : _h.call(_g)) ?? this.$slots.hint ?? this.hintLabel
437
+ this.$slots.hint?.() ?? this.$slots.hint ?? this.hintLabel
374
438
  );
375
439
  }
376
440
  return null;
@@ -385,365 +449,237 @@ function HintSlotFactory(propsOrRef, slots) {
385
449
  HintSlot
386
450
  };
387
451
  }
388
- const LinkProps = {
389
- /**
390
- * The router-link/nuxt-link property, if it is defined the button is rendered as a ruouter-link or nuxt-link.
391
- * @see Documentation of [router-link](https://router.vuejs.org/api/#router-link) and [nuxt-link](https://nuxtjs.org/api/components-nuxt-link/)
392
- */
393
- to: {
394
- type: [String, Object]
395
- },
396
- /**
397
- * Anchor href
398
- */
399
- href: String,
400
- /**
401
- * Anchor target
402
- */
403
- target: {
404
- type: String,
405
- validator: (value) => Object.values(AnchorTarget).includes(value)
406
- },
407
- /**
408
- * Anchor rel
409
- */
410
- rel: {
411
- type: String,
412
- default: "noopener noreferrer"
413
- }
414
- };
415
- const ValidProps = {
416
- /**
417
- * Valid status
418
- */
419
- valid: Boolean,
420
- /**
421
- * Valid label
422
- */
423
- validLabel: [String, Array]
424
- };
425
- const InvalidProps = {
426
- /**
427
- * Invalid status
428
- */
429
- invalid: Boolean,
430
- /**
431
- * Invalid label
432
- */
433
- invalidLabel: [String, Array]
434
- };
435
- const LoadingProps = {
436
- /**
437
- * Loading status
438
- */
439
- loading: Boolean,
440
- /**
441
- * Loading label
442
- */
443
- loadingLabel: {
444
- type: String,
445
- default: "Loading..."
446
- }
447
- };
448
- const DisabledProps = {
449
- /**
450
- * Whether the form control is disabled
451
- */
452
- disabled: Boolean
453
- };
454
- const ActiveProps = {
455
- /**
456
- * Whether the item is active
457
- */
458
- active: Boolean
459
- };
460
- const CurrentProps = {
461
- /**
462
- * Whether the item is current
463
- */
464
- current: Boolean
465
- };
466
- const PressedProps = {
467
- /**
468
- * Whether the item is pressed
469
- */
470
- pressed: Boolean
471
- };
472
- const LabelProps = {
473
- /**
474
- * The item label
475
- */
476
- label: [String, Number]
477
- };
478
- const ReadonlyProps = {
479
- /**
480
- * The value is not editable
481
- */
482
- readonly: Boolean
483
- };
484
- const ModifiersProps = {
485
- /**
486
- * Component BEM modifiers
487
- */
488
- modifiers: [String, Array]
489
- };
490
- const HintProps = {
491
- hintLabel: { type: String, default: "" }
492
- };
493
- const OptionsProps = {
494
- /**
495
- * List of options, can be string[] or object[]
496
- */
497
- options: {
498
- type: Array,
499
- default: () => []
500
- },
501
- /**
502
- * Used when options are objects: key to use for option label
503
- */
504
- labelKey: { type: [String, Function], default: "label" },
505
- /**
506
- * Used when options are objects: key to use for option label
507
- */
508
- valueKey: { type: [String, Function], default: "value" },
509
- /**
510
- * Used when options are objects: key to use for option disabled
511
- */
512
- disabledKey: { type: [String, Function], default: "disabled" }
513
- };
514
- const IconProps = {
515
- /**
516
- * VvIcon name or props
517
- * @see VVIcon
518
- */
519
- icon: { type: [String, Object] },
520
- /**
521
- * VvIcon position
522
- */
523
- iconPosition: {
524
- type: String,
525
- default: Position.before,
526
- validation: (value) => Object.values(Position).includes(value)
527
- }
528
- };
529
- const TabindexProps = {
530
- /**
531
- * Global attribute tabindex
532
- * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex
533
- */
534
- tabindex: { type: [String, Number], default: 0 }
535
- };
536
- const FloatingLabelProps = {
537
- /**
538
- * If true the label will be floating
539
- */
540
- floating: Boolean
541
- };
542
- const UnselectableProps = {
543
- /**
544
- * If true the input will be unselectable
545
- */
546
- unselectable: { type: Boolean, default: true }
547
- };
548
- const IdProps = {
549
- /**
550
- * Global attribute id
551
- * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
552
- */
553
- id: [String, Number]
452
+ function useVolver() {
453
+ return inject(INJECTION_KEY_VOLVER, void 0);
454
+ }
455
+ function useModifiers(prefix, modifiers, others) {
456
+ return computed(() => {
457
+ const toReturn = {
458
+ [prefix]: true
459
+ };
460
+ const modifiersArray = typeof modifiers?.value === "string" ? modifiers.value.split(" ") : modifiers?.value;
461
+ if (modifiersArray) {
462
+ if (Array.isArray(modifiersArray)) {
463
+ modifiersArray.forEach((modifier) => {
464
+ if (modifier) {
465
+ toReturn[`${prefix}--${modifier}`] = true;
466
+ }
467
+ });
468
+ }
469
+ }
470
+ if (others) {
471
+ Object.keys(others.value).forEach((key) => {
472
+ toReturn[`${prefix}--${key}`] = unref(others.value[key]);
473
+ });
474
+ }
475
+ return toReturn;
476
+ });
477
+ }
478
+ const __default__$1 = {
479
+ name: "VvIcon"
554
480
  };
555
- ({
556
- /**
557
- * Dropdown placement
558
- */
559
- placement: {
560
- type: String,
561
- default: Side.bottom,
562
- validator: (value) => Object.values(Side).includes(value) || Object.values(Placement).includes(value)
563
- },
564
- /**
565
- * Dropdown strategy
566
- */
567
- strategy: {
568
- type: String,
569
- default: void 0,
570
- validator: (value) => Object.values(Strategy).includes(value)
571
- },
572
- /**
573
- * Dropdown show / hide transition name
574
- */
575
- transitionName: {
576
- type: String
577
- },
578
- /**
579
- * Offset of the dropdown from the trigger
580
- * @see https://floating-ui.com/docs/offset
581
- */
582
- offset: {
583
- type: [Number, String, Object],
584
- default: 0
585
- },
586
- /**
587
- * Move dropdown to the side if there is no space in the default position
588
- * @see https://floating-ui.com/docs/shift
589
- */
590
- shift: {
591
- type: [Boolean, Object],
592
- default: false
593
- },
594
- /**
595
- * Flip dropdown position if there is no space in the default position
596
- * @see https://floating-ui.com/docs/flip
597
- */
598
- flip: {
599
- type: [Boolean, Object],
600
- default: true
601
- },
602
- /**
603
- * Size of the dropdown
604
- * @see https://floating-ui.com/docs/size
605
- */
606
- size: {
607
- type: [Boolean, Object],
608
- default: () => ({ padding: 10 })
609
- },
610
- /**
611
- * Automatically change the position of the dropdown
612
- * @see https://floating-ui.com/docs/autoPlacement
613
- */
614
- autoPlacement: {
615
- type: [Boolean, Object],
616
- default: false
617
- },
618
- /**
619
- * Add arrow to the dropdown
620
- * @see https://floating-ui.com/docs/arrow
621
- */
622
- arrow: {
623
- type: Boolean,
624
- default: false
625
- },
626
- /**
627
- * Keep open dropdown on click outside
628
- */
629
- keepOpen: {
630
- type: Boolean,
631
- default: false
632
- },
633
- /**
634
- * Autofocus first item on dropdown open
635
- */
636
- autofocusFirst: {
637
- type: Boolean,
638
- default: true
639
- },
640
- /**
641
- * Set dropdown width to the same as the trigger
642
- */
643
- triggerWidth: {
644
- type: Boolean
481
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
482
+ ...__default__$1,
483
+ props: /* @__PURE__ */ mergeDefaults({
484
+ name: {},
485
+ color: {},
486
+ width: {},
487
+ height: {},
488
+ provider: {},
489
+ prefix: {},
490
+ src: {},
491
+ horizontalFlip: { type: Boolean },
492
+ verticalFlip: { type: Boolean },
493
+ flip: {},
494
+ mode: {},
495
+ inline: { type: Boolean },
496
+ rotate: {},
497
+ onLoad: { type: Function },
498
+ svg: {},
499
+ modifiers: {}
500
+ }, VvIconPropsDefaults),
501
+ setup(__props) {
502
+ const props = __props;
503
+ const hasRotate = computed(() => {
504
+ if (typeof props.rotate === "string") {
505
+ return Number.parseFloat(props.rotate);
506
+ }
507
+ return props.rotate;
508
+ });
509
+ const show = ref(true);
510
+ const volver = useVolver();
511
+ const { modifiers } = toRefs(props);
512
+ const bemCssClasses = useModifiers("vv-icon", modifiers);
513
+ const provider = computed(() => {
514
+ return props.provider || volver?.iconsProvider;
515
+ });
516
+ const icon = computed(() => {
517
+ const name = props.name ?? "";
518
+ const iconName = `@${provider.value}:${props.prefix}:${name}`;
519
+ if (iconLoaded(iconName)) {
520
+ return iconName;
521
+ }
522
+ const iconsCollection = volver?.iconsCollections.find(
523
+ (iconsCollection2) => {
524
+ const icon2 = `@${provider.value}:${iconsCollection2.prefix}:${name}`;
525
+ return iconLoaded(icon2);
526
+ }
527
+ );
528
+ if (iconsCollection) {
529
+ return `@${provider.value}:${iconsCollection.prefix}:${name}`;
530
+ }
531
+ return name;
532
+ });
533
+ function getSvgContent(svg) {
534
+ let dom;
535
+ if (typeof window === "undefined") {
536
+ const { JSDOM } = require("jsdom");
537
+ dom = new JSDOM().window;
538
+ }
539
+ const domParser = dom ? new dom.DOMParser() : new window.DOMParser();
540
+ const svgDomString = domParser.parseFromString(svg, "text/html");
541
+ const svgEl = svgDomString.querySelector("svg");
542
+ return svgEl;
543
+ }
544
+ function addIconFromSvg(svg) {
545
+ const svgContentEl = getSvgContent(svg);
546
+ const svgContent = svgContentEl?.innerHTML.trim() || "";
547
+ if (svgContentEl && svgContent) {
548
+ addIcon(`@${provider.value}:${props.prefix}:${props.name}`, {
549
+ body: svgContent,
550
+ // Set height and width from svg content
551
+ height: svgContentEl.viewBox.baseVal.height,
552
+ width: svgContentEl.viewBox.baseVal.width
553
+ });
554
+ }
555
+ }
556
+ if (volver) {
557
+ if (props.src && !iconLoaded(`@${provider.value}:${props.prefix}:${props.name}`)) {
558
+ show.value = false;
559
+ volver.fetchIcon(props.src).then((svg) => {
560
+ if (svg) {
561
+ addIconFromSvg(svg);
562
+ show.value = true;
563
+ }
564
+ }).catch((e) => {
565
+ throw new Error(`Error during fetch icon: ${e?.message}`);
566
+ });
567
+ }
568
+ }
569
+ if (props.svg) {
570
+ addIconFromSvg(props.svg);
571
+ }
572
+ return (_ctx, _cache) => {
573
+ return unref(show) ? (openBlock(), createBlock(unref(Icon), mergeProps({
574
+ key: 0,
575
+ class: unref(bemCssClasses)
576
+ }, {
577
+ inline: _ctx.inline,
578
+ width: _ctx.width,
579
+ height: _ctx.height,
580
+ horizontalFlip: _ctx.horizontalFlip,
581
+ verticalFlip: _ctx.verticalFlip,
582
+ flip: _ctx.flip,
583
+ rotate: unref(hasRotate),
584
+ color: _ctx.color,
585
+ icon: unref(icon)
586
+ }, { onLoad: _ctx.onLoad }), null, 16, ["class", "onLoad"])) : createCommentVNode("v-if", true);
587
+ };
645
588
  }
646
589
  });
647
- const IdNameProps = {
648
- ...IdProps,
649
- /**
650
- * Input / Textarea name
651
- * Name of the form control. Submitted with the form as part of a name/value pair
652
- * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name
653
- */
654
- name: { type: String, required: true }
655
- };
656
- const AutofocusProps = {
657
- /**
658
- * Global attribute autofocus
659
- * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus
660
- */
661
- autofocus: Boolean
662
- };
663
- const AutocompleteProps = {
664
- /**
665
- * Global attribute autocomplete
666
- * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
667
- */
668
- autocomplete: { type: String, default: "off" }
669
- };
670
- ({
671
- ...DisabledProps,
672
- ...LabelProps,
673
- ...PressedProps,
674
- ...ActiveProps,
675
- ...CurrentProps,
676
- ...LinkProps,
677
- /**
678
- * Button type
679
- */
680
- type: {
681
- type: String,
682
- default: ButtonType.button,
683
- validator: (value) => Object.values(ButtonType).includes(value)
590
+ function useComponentIcon(icon, iconPosition) {
591
+ const hasIcon = computed(() => {
592
+ if (typeof icon?.value === "string") {
593
+ return { name: icon?.value };
594
+ }
595
+ return icon?.value;
596
+ });
597
+ const hasIconBefore = computed(
598
+ () => iconPosition?.value === Position.before ? hasIcon.value : void 0
599
+ );
600
+ const hasIconAfter = computed(
601
+ () => iconPosition?.value === Position.after ? hasIcon.value : void 0
602
+ );
603
+ const hasIconLeft = computed(
604
+ () => iconPosition?.value === Side.left ? hasIcon.value : void 0
605
+ );
606
+ const hasIconRight = computed(
607
+ () => iconPosition?.value === Side.right ? hasIcon.value : void 0
608
+ );
609
+ const hasIconTop = computed(
610
+ () => iconPosition?.value === Side.top ? hasIcon.value : void 0
611
+ );
612
+ const hasIconBottom = computed(
613
+ () => iconPosition?.value === Side.bottom ? hasIcon.value : void 0
614
+ );
615
+ return {
616
+ hasIcon,
617
+ hasIconLeft,
618
+ hasIconRight,
619
+ hasIconTop,
620
+ hasIconBottom,
621
+ hasIconBefore,
622
+ hasIconAfter
623
+ };
624
+ }
625
+ const VvInputClearAction = defineComponent({
626
+ components: {
627
+ VvIcon: _sfc_main$1
684
628
  },
685
- /**
686
- * Button aria-label
687
- */
688
- ariaLabel: {
689
- type: String,
690
- default: void 0
629
+ props: {
630
+ inputType: {
631
+ type: String,
632
+ default: "input-text"
633
+ },
634
+ disabled: {
635
+ type: Boolean,
636
+ default: false
637
+ },
638
+ label: {
639
+ type: String,
640
+ default: "Clear"
641
+ },
642
+ icon: {
643
+ type: [String, Object],
644
+ default: "close"
645
+ }
646
+ },
647
+ emits: ["clear"],
648
+ setup(props, { emit }) {
649
+ const { hasIcon } = useComponentIcon(computed(() => props.icon));
650
+ function onClick(e) {
651
+ e?.stopPropagation();
652
+ if (!props.disabled) {
653
+ emit("clear");
654
+ }
655
+ }
656
+ return {
657
+ hasIcon,
658
+ onClick
659
+ };
660
+ },
661
+ render() {
662
+ const icon = this.hasIcon ? h(_sfc_main$1, {
663
+ ...this.hasIcon,
664
+ class: `vv-${this.inputType}__icon`
665
+ }) : void 0;
666
+ return h(
667
+ "button",
668
+ {
669
+ disabled: this.disabled,
670
+ class: `vv-${this.inputType}__action`,
671
+ ariaLabel: this.label,
672
+ type: "button",
673
+ onClick: this.onClick
674
+ },
675
+ icon
676
+ );
691
677
  }
692
678
  });
693
- const VvSelectProps = {
694
- ...IdNameProps,
695
- ...AutofocusProps,
696
- ...AutocompleteProps,
697
- ...TabindexProps,
698
- ...ValidProps,
699
- ...InvalidProps,
700
- ...HintProps,
701
- ...LoadingProps,
702
- ...DisabledProps,
703
- ...ReadonlyProps,
704
- ...ModifiersProps,
705
- ...OptionsProps,
706
- ...IconProps,
707
- ...FloatingLabelProps,
708
- ...UnselectableProps,
709
- ...LabelProps,
710
- /**
711
- * This Boolean attribute indicates that multiple options can be selected in the list.
712
- * If it is not specified, then only one option can be selected at a time.
713
- * When multiple is specified, most browsers will show a scrolling list box instead of a single line dropdown.
714
- * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-multiple
715
- */
716
- multiple: Boolean,
717
- /**
718
- * A Boolean attribute indicating that an option with a non-empty string value must be selected.
719
- * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-required
720
- */
721
- required: Boolean,
722
- /**
723
- * If the control is presented as a scrolling list box (e.g. when multiple is specified),
724
- * this attribute represents the number of rows in the list that should be visible at one time.
725
- * Browsers are not required to present a select element as a scrolled list box. The default value is 0.
726
- * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-size
727
- */
728
- size: [String, Number],
729
- /**
730
- * modelValue can be a string, number, boolean, object or array of string, number, boolean, object
731
- */
732
- modelValue: {
733
- type: [String, Number, Boolean, Object, Array],
734
- default: void 0
735
- },
736
- /**
737
- * Select placeholder
738
- */
739
- placeholder: String
740
- };
741
- const VvSelectEmits = ["update:modelValue", "focus", "blur"];
742
679
  function useDefaults(componentName, propsDefinition, props) {
743
680
  const volver = useVolver();
744
681
  const volverComponentDefaults = computed(() => {
745
- var _a;
746
- if (!volver || !((_a = volver.defaults.value) == null ? void 0 : _a[componentName])) {
682
+ if (!volver || !volver.defaults.value?.[componentName]) {
747
683
  return void 0;
748
684
  }
749
685
  return volver.defaults.value[componentName];
@@ -792,7 +728,6 @@ function useDefaults(componentName, propsDefinition, props) {
792
728
  }, {});
793
729
  });
794
730
  }
795
- const useUniqueId = (id) => computed(() => String((id == null ? void 0 : id.value) || uid()));
796
731
  function useComponentFocus(inputTemplateRef, emit) {
797
732
  const { focused } = useFocus(inputTemplateRef);
798
733
  watch(focused, (newValue) => {
@@ -802,64 +737,48 @@ function useComponentFocus(inputTemplateRef, emit) {
802
737
  focused
803
738
  };
804
739
  }
805
- function useComponentIcon(icon, iconPosition) {
806
- const hasIconBefore = computed(
807
- () => Boolean((icon == null ? void 0 : icon.value) && iconPosition.value === Position.before)
808
- );
809
- const hasIconAfter = computed(
810
- () => Boolean((icon == null ? void 0 : icon.value) && iconPosition.value === Position.after)
811
- );
812
- const hasIconLeft = computed(
813
- () => Boolean((icon == null ? void 0 : icon.value) && iconPosition.value === Side.left)
814
- );
815
- const hasIconRight = computed(
816
- () => Boolean((icon == null ? void 0 : icon.value) && iconPosition.value === Side.right)
817
- );
818
- const hasIconTop = computed(
819
- () => Boolean((icon == null ? void 0 : icon.value) && iconPosition.value === Side.top)
820
- );
821
- const hasIconBottom = computed(
822
- () => Boolean((icon == null ? void 0 : icon.value) && iconPosition.value === Side.bottom)
823
- );
824
- const hasIcon = computed(() => {
825
- if (typeof (icon == null ? void 0 : icon.value) === "string") {
826
- return { name: icon == null ? void 0 : icon.value };
827
- }
828
- return icon == null ? void 0 : icon.value;
829
- });
830
- return {
831
- hasIcon,
832
- hasIconLeft,
833
- hasIconRight,
834
- hasIconTop,
835
- hasIconBottom,
836
- hasIconBefore,
837
- hasIconAfter
838
- };
740
+ function useUniqueId(id) {
741
+ return computed(() => String(id?.value || useId()));
839
742
  }
840
743
  function useOptions(props) {
841
744
  const { options, labelKey, valueKey, disabledKey } = toRefs(props);
842
745
  const getOptionLabel = (option) => {
843
- if (typeof option !== "object" && option !== null)
746
+ if (typeof option === "string") {
844
747
  return option;
748
+ }
749
+ if (typeof labelKey.value === "function") {
750
+ return labelKey.value(option);
751
+ }
845
752
  return String(
846
- typeof labelKey.value === "function" ? labelKey.value(option) : get(option, labelKey.value)
753
+ labelKey.value ? getProperty(option, labelKey.value) : option
847
754
  );
848
755
  };
849
756
  const getOptionValue = (option) => {
850
- if (typeof option !== "object" && option !== null)
757
+ if (typeof option === "string") {
851
758
  return option;
852
- return typeof valueKey.value === "function" ? valueKey.value(option) : get(option, valueKey.value);
759
+ }
760
+ if (typeof valueKey.value === "function") {
761
+ return valueKey.value(option);
762
+ }
763
+ return valueKey.value ? getProperty(option, valueKey.value) : option;
853
764
  };
854
765
  const isOptionDisabled = (option) => {
855
- if (typeof option !== "object" && option !== null)
766
+ if (typeof option === "string") {
856
767
  return false;
857
- return typeof disabledKey.value === "function" ? disabledKey.value(option) : get(option, disabledKey.value);
768
+ }
769
+ if (typeof disabledKey.value === "function") {
770
+ return disabledKey.value(option);
771
+ }
772
+ return disabledKey.value ? Boolean(getProperty(option, disabledKey.value)) : false;
858
773
  };
859
774
  const getOptionGrouped = (option) => {
860
- if (typeof option !== "object" && option !== null)
775
+ if (typeof option == "string") {
861
776
  return [];
862
- return option.options || [];
777
+ }
778
+ if (typeof option === "object" && option && "options" in option) {
779
+ return option.options;
780
+ }
781
+ return [];
863
782
  };
864
783
  return {
865
784
  options,
@@ -882,7 +801,7 @@ const _hoisted_7 = ["disabled", "value"];
882
801
  const _hoisted_8 = ["disabled", "label"];
883
802
  const _hoisted_9 = ["disabled", "value"];
884
803
  const _hoisted_10 = {
885
- key: 1,
804
+ key: 2,
886
805
  class: "vv-select__input-after"
887
806
  };
888
807
  const __default__ = {
@@ -890,23 +809,32 @@ const __default__ = {
890
809
  };
891
810
  const _sfc_main = /* @__PURE__ */ defineComponent({
892
811
  ...__default__,
893
- props: VvSelectProps,
894
- emits: VvSelectEmits,
895
- setup(__props, { emit }) {
812
+ props: useVvSelectProps(),
813
+ emits: ["update:modelValue", "focus", "blur", "clear"],
814
+ setup(__props, { emit: __emit }) {
896
815
  const props = __props;
816
+ const emit = __emit;
897
817
  const slots = useSlots();
818
+ const VvSelectProps2 = useVvSelectProps();
898
819
  const propsDefaults = useDefaults(
899
820
  "VvSelect",
900
- VvSelectProps,
821
+ VvSelectProps2,
901
822
  props
902
823
  );
903
- const select = ref();
824
+ const selectEl = ref();
904
825
  const {
905
826
  HintSlot,
906
827
  hasHintLabelOrSlot,
907
828
  hasInvalidLabelOrSlot,
908
829
  hintSlotScope
909
830
  } = HintSlotFactory(propsDefaults, slots);
831
+ const { focused } = useComponentFocus(selectEl, emit);
832
+ function isGroup(option) {
833
+ if (typeof option === "string") {
834
+ return false;
835
+ }
836
+ return option.options?.length;
837
+ }
910
838
  const {
911
839
  id,
912
840
  modifiers,
@@ -922,22 +850,44 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
922
850
  } = toRefs(props);
923
851
  const hasId = useUniqueId(id);
924
852
  const hasHintId = computed(() => `${hasId.value}-hint`);
925
- const { focused } = useComponentFocus(select, emit);
926
- const isVisible = useElementVisibility(select);
853
+ const isDisabledOrReadonly = computed(() => props.disabled || props.readonly);
854
+ const hasTabindex = computed(() => {
855
+ return isDisabledOrReadonly.value ? -1 : props.tabindex;
856
+ });
857
+ const localModelValue = computed({
858
+ get: () => {
859
+ return props.modelValue;
860
+ },
861
+ set: (newValue) => {
862
+ if (Array.isArray(newValue)) {
863
+ newValue = newValue.filter((item) => item !== void 0);
864
+ if (newValue.length === 0 && !props.unselectable && selectEl.value) {
865
+ selectEl.value.value = String(props.modelValue);
866
+ return;
867
+ }
868
+ }
869
+ emit("update:modelValue", newValue);
870
+ }
871
+ });
872
+ const isDirty = computed(() => {
873
+ if (Array.isArray(localModelValue.value)) {
874
+ return localModelValue.value.length > 0;
875
+ }
876
+ return localModelValue.value !== void 0 && localModelValue.value !== null;
877
+ });
878
+ const isUnselectable = computed(() => {
879
+ if (isDisabledOrReadonly.value) {
880
+ return false;
881
+ }
882
+ return props.unselectable;
883
+ });
884
+ const isVisible = useElementVisibility(selectEl);
927
885
  watch(isVisible, (newValue) => {
928
886
  if (newValue && props.autofocus) {
929
887
  focused.value = true;
930
888
  }
931
889
  });
932
- const { hasIcon, hasIconBefore, hasIconAfter } = useComponentIcon(
933
- icon,
934
- iconPosition
935
- );
936
- const isDirty = computed(() => !isEmpty(props.modelValue));
937
- const isDisabled = computed(() => props.disabled || props.readonly);
938
- const hasTabindex = computed(() => {
939
- return isDisabled.value ? -1 : props.tabindex;
940
- });
890
+ const { hasIconBefore, hasIconAfter } = useComponentIcon(icon, iconPosition);
941
891
  const isInvalid = computed(() => {
942
892
  if (props.invalid === true) {
943
893
  return true;
@@ -951,28 +901,52 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
951
901
  "vv-select",
952
902
  modifiers,
953
903
  computed(() => ({
954
- valid: valid.value,
955
- invalid: invalid.value,
956
- loading: loading.value,
957
- disabled: disabled.value,
958
- readonly: readonly.value,
959
- "icon-before": hasIconBefore.value,
960
- "icon-after": hasIconAfter.value,
961
- dirty: isDirty.value,
962
- focus: focused.value,
963
- floating: floating.value,
964
- multiple: multiple.value
904
+ "valid": valid.value,
905
+ "invalid": invalid.value,
906
+ "loading": loading.value,
907
+ "disabled": disabled.value,
908
+ "readonly": readonly.value,
909
+ "icon-before": hasIconBefore.value !== void 0,
910
+ "icon-after": hasIconAfter.value !== void 0,
911
+ "dirty": isDirty.value,
912
+ "focus": focused.value && !isDisabledOrReadonly.value,
913
+ "floating": floating.value,
914
+ "multiple": multiple.value
965
915
  }))
966
916
  );
917
+ const {
918
+ getOptionLabel,
919
+ getOptionValue,
920
+ isOptionDisabled,
921
+ getOptionGrouped
922
+ } = useOptions(props);
923
+ watch(
924
+ () => props.options,
925
+ (newValue) => {
926
+ if (newValue?.length && props.autoselectFirst && !isDirty.value) {
927
+ const firstOptionValue = getOptionValue(newValue[0]);
928
+ localModelValue.value = props.multiple ? [firstOptionValue] : firstOptionValue;
929
+ }
930
+ },
931
+ { immediate: true }
932
+ );
933
+ function onClear() {
934
+ if (Array.isArray(localModelValue.value)) {
935
+ localModelValue.value = [];
936
+ } else {
937
+ localModelValue.value = void 0;
938
+ }
939
+ emit("clear");
940
+ }
967
941
  const hasAttrs = computed(() => {
968
942
  return {
969
- name: props.name,
970
- tabindex: hasTabindex.value,
971
- disabled: isDisabled.value,
972
- required: props.required,
973
- size: props.size,
974
- autocomplete: props.autocomplete,
975
- multiple: props.multiple,
943
+ "name": props.name,
944
+ "tabindex": hasTabindex.value,
945
+ "disabled": isDisabledOrReadonly.value,
946
+ "required": props.required,
947
+ "size": props.size,
948
+ "autocomplete": props.autocomplete,
949
+ "multiple": props.multiple,
976
950
  "aria-invalid": isInvalid.value,
977
951
  "aria-describedby": hasHintLabelOrSlot.value ? hasHintId.value : void 0,
978
952
  "aria-errormessage": hasInvalidLabelOrSlot.value ? hasHintId.value : void 0
@@ -983,28 +957,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
983
957
  invalid: props.invalid,
984
958
  modelValue: props.modelValue
985
959
  }));
986
- const {
987
- getOptionLabel,
988
- getOptionValue,
989
- isOptionDisabled,
990
- getOptionGrouped
991
- } = useOptions(props);
992
- const localModelValue = computed({
993
- get: () => {
994
- return props.modelValue;
995
- },
996
- set: (newValue) => {
997
- if (Array.isArray(newValue)) {
998
- newValue = newValue.filter((item) => item !== void 0);
999
- }
1000
- emit("update:modelValue", newValue);
1001
- }
1002
- });
1003
- const isGroup = (option) => {
1004
- if (typeof option === "string")
1005
- return false;
1006
- return option && option.options && option.options.length > 0;
1007
- };
1008
960
  return (_ctx, _cache) => {
1009
961
  return openBlock(), createElementBlock(
1010
962
  "div",
@@ -1023,25 +975,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1023
975
  createElementVNode("div", _hoisted_4, [
1024
976
  unref(hasIconBefore) ? (openBlock(), createBlock(
1025
977
  _sfc_main$1,
1026
- mergeProps({
1027
- key: 0,
1028
- class: "vv-select__icon"
1029
- }, unref(hasIcon)),
978
+ mergeProps({ key: 0 }, unref(hasIconBefore), { class: "vv-select__icon" }),
1030
979
  null,
1031
980
  16
1032
981
  /* FULL_PROPS */
1033
982
  )) : createCommentVNode("v-if", true),
1034
983
  withDirectives(createElementVNode("select", mergeProps({
1035
984
  id: unref(hasId),
1036
- ref_key: "select",
1037
- ref: select,
985
+ ref_key: "selectEl",
986
+ ref: selectEl
987
+ }, unref(hasAttrs), {
1038
988
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(localModelValue) ? localModelValue.value = $event : null)
1039
- }, unref(hasAttrs)), [
989
+ }), [
1040
990
  _ctx.placeholder ? (openBlock(), createElementBlock("option", {
1041
991
  key: 0,
1042
992
  value: void 0,
1043
- disabled: !_ctx.unselectable,
1044
- hidden: !_ctx.unselectable
993
+ disabled: !unref(isUnselectable),
994
+ hidden: !unref(isUnselectable)
1045
995
  }, toDisplayString(_ctx.placeholder), 9, _hoisted_6)) : createCommentVNode("v-if", true),
1046
996
  (openBlock(true), createElementBlock(
1047
997
  Fragment,
@@ -1087,15 +1037,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1087
1037
  ]),
1088
1038
  unref(hasIconAfter) ? (openBlock(), createBlock(
1089
1039
  _sfc_main$1,
1090
- mergeProps({
1091
- key: 1,
1092
- class: "vv-select__icon vv-select__icon-after"
1093
- }, unref(hasIcon)),
1040
+ mergeProps({ key: 1 }, unref(hasIconAfter), { class: "vv-select__icon vv-select__icon-after" }),
1094
1041
  null,
1095
1042
  16
1096
1043
  /* FULL_PROPS */
1097
1044
  )) : createCommentVNode("v-if", true)
1098
1045
  ]),
1046
+ unref(isUnselectable) && unref(propsDefaults).showClearAction ? (openBlock(), createBlock(unref(VvInputClearAction), {
1047
+ key: 1,
1048
+ "input-type": "select",
1049
+ label: _ctx.labelClear,
1050
+ icon: _ctx.iconClear,
1051
+ disabled: !unref(isDirty),
1052
+ onClear
1053
+ }, null, 8, ["label", "icon", "disabled"])) : createCommentVNode("v-if", true),
1099
1054
  _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_10, [
1100
1055
  renderSlot(_ctx.$slots, "after", normalizeProps(guardReactiveProps(unref(slotProps))))
1101
1056
  ])) : createCommentVNode("v-if", true)