@volverjs/ui-vue 0.0.1-beta.8 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (561) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +108 -56
  3. package/bin/icons.cjs +73 -0
  4. package/bin/icons.js +75 -0
  5. package/dist/{DesignSystem.d.ts → Volver.d.ts} +22 -18
  6. package/dist/components/VvAccordion/VvAccordion.es.js +165 -0
  7. package/dist/components/VvAccordion/VvAccordion.umd.js +1 -0
  8. package/dist/components/VvAccordion/VvAccordion.vue.d.ts +32 -97
  9. package/dist/components/VvAccordion/index.d.ts +46 -0
  10. package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +243 -0
  11. package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -0
  12. package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +77 -151
  13. package/dist/components/VvAccordionGroup/{VvAccordionGroup.d.ts → index.d.ts} +30 -13
  14. package/dist/components/VvBadge/VvBadge.es.js +62 -0
  15. package/dist/components/VvBadge/VvBadge.umd.js +1 -0
  16. package/dist/components/VvBadge/VvBadge.vue.d.ts +13 -54
  17. package/dist/components/VvBadge/{VvBadge.d.ts → index.d.ts} +1 -1
  18. package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +93 -0
  19. package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -0
  20. package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +33 -107
  21. package/dist/components/VvBreadcrumb/{VvBreadcrumb.d.ts → index.d.ts} +2 -3
  22. package/dist/components/VvButton/VvButton.es.js +439 -0
  23. package/dist/components/VvButton/VvButton.umd.js +1 -0
  24. package/dist/components/VvButton/VvButton.vue.d.ts +100 -199
  25. package/dist/components/VvButton/index.d.ts +132 -0
  26. package/dist/components/VvButtonGroup/VvButtonGroup.es.js +107 -0
  27. package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -0
  28. package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +92 -186
  29. package/dist/components/VvButtonGroup/index.d.ts +54 -0
  30. package/dist/components/VvCard/VvCard.es.js +77 -0
  31. package/dist/components/VvCard/VvCard.umd.js +1 -0
  32. package/dist/components/VvCard/VvCard.vue.d.ts +16 -61
  33. package/dist/components/VvCard/{VvCard.d.ts → index.d.ts} +1 -1
  34. package/dist/components/VvCheckbox/VvCheckbox.es.js +357 -0
  35. package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -0
  36. package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +74 -0
  37. package/dist/components/VvCheckbox/index.d.ts +54 -0
  38. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +435 -0
  39. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -0
  40. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +82 -0
  41. package/dist/components/VvCheckboxGroup/index.d.ts +32 -0
  42. package/dist/components/VvCombobox/VvCombobox.es.js +775 -0
  43. package/dist/components/VvCombobox/VvCombobox.umd.js +1 -0
  44. package/dist/components/VvCombobox/VvCombobox.vue.d.ts +175 -0
  45. package/dist/components/VvCombobox/index.d.ts +108 -0
  46. package/dist/components/VvDialog/VvDialog.es.js +200 -0
  47. package/dist/components/VvDialog/VvDialog.umd.js +1 -0
  48. package/dist/components/VvDialog/VvDialog.vue.d.ts +28 -132
  49. package/dist/components/VvDialog/{VvDialog.d.ts → index.d.ts} +2 -6
  50. package/dist/components/VvDropdown/VvDropdown.es.js +227 -0
  51. package/dist/components/VvDropdown/VvDropdown.umd.js +1 -0
  52. package/dist/components/VvDropdown/VvDropdown.vue.d.ts +59 -146
  53. package/dist/components/VvDropdown/index.d.ts +49 -0
  54. package/dist/components/VvIcon/VvIcon.es.js +124 -0
  55. package/dist/components/VvIcon/VvIcon.umd.js +1 -0
  56. package/dist/components/VvIcon/VvIcon.vue.d.ts +36 -150
  57. package/dist/components/VvIcon/{VvIcon.d.ts → index.d.ts} +9 -0
  58. package/dist/components/VvInputText/VvInputClearAction.d.ts +36 -0
  59. package/dist/components/VvInputText/VvInputPasswordAction.d.ts +56 -0
  60. package/dist/components/VvInputText/VvInputStepAction.d.ts +37 -0
  61. package/dist/components/VvInputText/VvInputText.es.js +772 -0
  62. package/dist/components/VvInputText/VvInputText.umd.js +1 -0
  63. package/dist/components/VvInputText/VvInputText.vue.d.ts +211 -288
  64. package/dist/components/VvInputText/VvInputTextActions.d.ts +1 -1
  65. package/dist/components/VvInputText/index.d.ts +182 -0
  66. package/dist/components/VvProgress/VvProgress.es.js +71 -0
  67. package/dist/components/VvProgress/VvProgress.umd.js +1 -0
  68. package/dist/components/VvProgress/VvProgress.vue.d.ts +20 -107
  69. package/dist/components/VvProgress/index.d.ts +30 -0
  70. package/dist/components/VvRadio/VvRadio.es.js +320 -0
  71. package/dist/components/VvRadio/VvRadio.umd.js +1 -0
  72. package/dist/components/VvRadio/VvRadio.vue.d.ts +55 -125
  73. package/dist/components/VvRadio/index.d.ts +40 -0
  74. package/dist/components/VvRadioGroup/VvRadioGroup.es.js +398 -0
  75. package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -0
  76. package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +56 -238
  77. package/dist/components/VvRadioGroup/index.d.ts +32 -0
  78. package/dist/components/VvSelect/VvSelect.es.js +434 -0
  79. package/dist/components/VvSelect/VvSelect.umd.js +1 -0
  80. package/dist/components/VvSelect/VvSelect.vue.d.ts +125 -263
  81. package/dist/components/VvSelect/index.d.ts +89 -0
  82. package/dist/components/VvTextarea/VvTextarea.es.js +471 -0
  83. package/dist/components/VvTextarea/VvTextarea.umd.js +1 -0
  84. package/dist/components/VvTextarea/VvTextarea.vue.d.ts +140 -321
  85. package/dist/components/VvTextarea/index.d.ts +102 -0
  86. package/dist/components/common/HintSlot.d.ts +12 -6
  87. package/dist/components/index.d.ts +19 -12
  88. package/dist/components/index.es.js +2379 -0
  89. package/dist/components/index.umd.js +1 -0
  90. package/dist/composables/group/types/IAccordionGroupState.d.ts +3 -4
  91. package/dist/composables/group/types/IButtonGroupState.d.ts +5 -11
  92. package/dist/composables/group/types/IGroupState.d.ts +3 -6
  93. package/dist/composables/group/types/IInputGroup.d.ts +1 -4
  94. package/dist/composables/group/useInjectedGroupState.d.ts +4 -4
  95. package/dist/composables/group/useProvideGroupState.d.ts +2 -2
  96. package/dist/composables/useComponentFocus.d.ts +4 -0
  97. package/dist/composables/{icons/useComponentIcons.d.ts → useComponentIcons.d.ts} +3 -2
  98. package/dist/composables/useDebouncedInput.d.ts +2 -0
  99. package/dist/composables/useOptions.d.ts +6 -0
  100. package/dist/composables/useTextCount.d.ts +10 -0
  101. package/dist/constants.d.ts +4 -4
  102. package/dist/icons.d.ts +1881 -0
  103. package/dist/icons.es.js +12 -14
  104. package/dist/icons.umd.js +1 -1
  105. package/dist/index.d.ts +9 -4
  106. package/dist/index.es.js +2420 -0
  107. package/dist/index.umd.js +1 -0
  108. package/dist/props/index.d.ts +328 -30
  109. package/dist/resolvers/unplugin.d.ts +27 -0
  110. package/dist/resolvers/unplugin.es.js +42 -0
  111. package/dist/resolvers/unplugin.umd.js +1 -0
  112. package/dist/stories/Accordion/Accordion.settings.d.ts +63 -0
  113. package/dist/stories/Accordion/Accordion.test.d.ts +2 -0
  114. package/dist/stories/AccordionGroup/AccordionGroup.settings.d.ts +58 -0
  115. package/dist/stories/AccordionGroup/AccordionGroup.test.d.ts +2 -0
  116. package/dist/stories/Badge/Badge.settings.d.ts +32 -0
  117. package/dist/stories/Badge/Badge.test.d.ts +2 -0
  118. package/dist/stories/Breadcrumb/Breadcrumb.settings.d.ts +29 -0
  119. package/dist/stories/Breadcrumb/Breadcrumb.test.d.ts +2 -0
  120. package/dist/stories/Button/Button.settings.d.ts +198 -0
  121. package/dist/stories/Button/Button.test.d.ts +1 -10
  122. package/dist/stories/ButtonGroup/ButtonGroup.settings.d.ts +47 -0
  123. package/dist/stories/ButtonGroup/ButtonGroup.test.d.ts +2 -0
  124. package/dist/stories/Card/Card.settings.d.ts +70 -0
  125. package/dist/stories/Card/Card.test.d.ts +2 -0
  126. package/dist/stories/Checkbox/Checkbox.settings.d.ts +165 -0
  127. package/dist/stories/Checkbox/Checkbox.test.d.ts +2 -0
  128. package/dist/stories/CheckboxGroup/CheckboxGroup.settings.d.ts +164 -0
  129. package/dist/stories/CheckboxGroup/CheckboxGroup.test.d.ts +2 -0
  130. package/dist/stories/Combobox/Combobox.settings.d.ts +286 -0
  131. package/dist/stories/Combobox/Combobox.test.d.ts +2 -0
  132. package/dist/stories/Dialog/Dialog.settings.d.ts +55 -0
  133. package/dist/stories/Dialog/Dialog.test.d.ts +2 -0
  134. package/dist/stories/Dropdown/Dropdown.settings.d.ts +85 -0
  135. package/dist/stories/Dropdown/Dropdown.test.d.ts +2 -0
  136. package/dist/stories/Icon/Icon.settings.d.ts +74 -0
  137. package/dist/stories/InputText/InputText.settings.d.ts +445 -0
  138. package/dist/stories/InputText/InputText.test.d.ts +2 -0
  139. package/dist/stories/Progress/Progress.settings.d.ts +38 -0
  140. package/dist/stories/Progress/Progress.test.d.ts +2 -0
  141. package/dist/stories/Radio/Radio.settings.d.ts +139 -0
  142. package/dist/stories/Radio/Radio.test.d.ts +2 -0
  143. package/dist/stories/RadioGroup/RadioGroup.settings.d.ts +164 -0
  144. package/dist/stories/RadioGroup/RadioGroup.test.d.ts +2 -0
  145. package/dist/stories/Select/Select.settings.d.ts +284 -0
  146. package/dist/stories/Select/Select.test.d.ts +2 -0
  147. package/dist/stories/Textarea/Textarea.settings.d.ts +336 -0
  148. package/dist/stories/Textarea/Textarea.test.d.ts +2 -0
  149. package/dist/stories/argTypes.d.ts +842 -0
  150. package/dist/test/expect.d.ts +3 -0
  151. package/dist/test/options.d.ts +1 -0
  152. package/dist/test/sleep.d.ts +1 -0
  153. package/dist/utils/ObjectUtilities.d.ts +82 -95
  154. package/env.d.ts +1 -0
  155. package/package.json +199 -126
  156. package/src/{DesignSystem.ts → Volver.ts} +57 -29
  157. package/src/assets/icons/detailed.json +1 -1
  158. package/src/assets/icons/normal.json +1 -1
  159. package/src/assets/icons/simple.json +1 -1
  160. package/src/components/VvAccordion/VvAccordion.vue +94 -78
  161. package/src/components/VvAccordion/index.ts +72 -0
  162. package/src/components/VvAccordionGroup/VvAccordionGroup.vue +93 -53
  163. package/src/components/VvAccordionGroup/{VvAccordionGroup.ts → index.ts} +18 -14
  164. package/src/components/VvBadge/VvBadge.vue +17 -8
  165. package/src/components/VvBadge/index.ts +6 -0
  166. package/src/components/VvBreadcrumb/VvBreadcrumb.vue +26 -24
  167. package/src/components/VvBreadcrumb/{VvBreadcrumb.ts → index.ts} +1 -2
  168. package/src/components/VvButton/VvButton.vue +174 -153
  169. package/src/components/VvButton/index.ts +189 -0
  170. package/src/components/VvButtonGroup/VvButtonGroup.vue +76 -48
  171. package/src/components/VvButtonGroup/index.ts +16 -0
  172. package/src/components/VvCard/VvCard.vue +20 -22
  173. package/src/components/VvCard/{VvCard.ts → index.ts} +1 -1
  174. package/src/components/VvCheckbox/VvCheckbox.vue +172 -0
  175. package/src/components/VvCheckbox/index.ts +60 -0
  176. package/src/components/VvCheckboxGroup/VvCheckboxGroup.vue +85 -0
  177. package/src/components/VvCheckboxGroup/index.ts +5 -0
  178. package/src/components/VvCombobox/VvCombobox.vue +261 -0
  179. package/src/components/VvCombobox/index.ts +88 -0
  180. package/src/components/VvDialog/VvDialog.vue +69 -67
  181. package/src/components/VvDialog/index.ts +10 -0
  182. package/src/components/VvDropdown/VvDropdown.vue +115 -114
  183. package/src/components/VvDropdown/index.ts +35 -0
  184. package/src/components/VvIcon/README.md +64 -0
  185. package/src/components/VvIcon/VvIcon.vue +122 -107
  186. package/src/components/VvIcon/{VvIcon.ts → index.ts} +17 -8
  187. package/src/components/VvInputText/VvInputClearAction.ts +53 -0
  188. package/src/components/VvInputText/VvInputPasswordAction.ts +70 -0
  189. package/src/components/VvInputText/VvInputStepAction.ts +49 -0
  190. package/src/components/VvInputText/VvInputText.vue +307 -238
  191. package/src/components/VvInputText/VvInputTextActions.ts +63 -114
  192. package/src/components/VvInputText/index.ts +140 -0
  193. package/src/components/VvProgress/VvProgress.vue +29 -29
  194. package/src/components/VvProgress/index.ts +32 -0
  195. package/src/components/VvRadio/VvRadio.vue +90 -119
  196. package/src/components/VvRadio/index.ts +40 -0
  197. package/src/components/VvRadioGroup/VvRadioGroup.vue +76 -69
  198. package/src/components/VvRadioGroup/index.ts +5 -0
  199. package/src/components/VvSelect/VvSelect.vue +187 -186
  200. package/src/components/VvSelect/index.ts +71 -0
  201. package/src/components/VvTextarea/VvTextarea.vue +188 -174
  202. package/src/components/VvTextarea/index.ts +50 -0
  203. package/src/components/common/HintSlot.ts +167 -137
  204. package/src/components/index.ts +19 -12
  205. package/src/composables/group/types/IAccordionGroupState.ts +3 -4
  206. package/src/composables/group/types/IButtonGroupState.ts +5 -11
  207. package/src/composables/group/types/IGroupState.ts +4 -6
  208. package/src/composables/group/types/IInputGroup.ts +1 -4
  209. package/src/composables/group/useInjectedGroupState.ts +23 -35
  210. package/src/composables/group/useProvideGroupState.ts +5 -7
  211. package/src/composables/useComponentFocus.ts +17 -0
  212. package/src/composables/{icons/useComponentIcons.ts → useComponentIcons.ts} +29 -20
  213. package/src/composables/useDebouncedInput.ts +25 -0
  214. package/src/composables/useModifiers.ts +18 -20
  215. package/src/composables/useOptions.ts +31 -0
  216. package/src/composables/useTextCount.ts +57 -0
  217. package/src/constants.ts +5 -7
  218. package/src/directives/{.README → .gitkeep} +0 -0
  219. package/src/icons.ts +7 -0
  220. package/src/index.ts +12 -5
  221. package/src/props/index.ts +204 -36
  222. package/src/resolvers/unplugin.ts +112 -0
  223. package/src/shims.d.ts +13 -0
  224. package/src/stories/Accordion/Accordion.settings.ts +46 -0
  225. package/src/stories/Accordion/Accordion.stories.mdx +21 -21
  226. package/src/stories/Accordion/Accordion.test.ts +61 -0
  227. package/src/stories/Accordion/AccordionSlots.stories.mdx +46 -70
  228. package/src/stories/AccordionGroup/AccordionGroup.settings.ts +55 -0
  229. package/src/stories/AccordionGroup/AccordionGroup.stories.mdx +24 -27
  230. package/src/stories/AccordionGroup/AccordionGroup.test.ts +50 -0
  231. package/src/stories/AccordionGroup/AccordionGroupSlots.stories.mdx +56 -0
  232. package/src/stories/Badge/Badge.settings.ts +26 -0
  233. package/src/stories/Badge/Badge.stories.mdx +36 -24
  234. package/src/stories/Badge/Badge.test.ts +12 -0
  235. package/src/stories/Badge/BadgeSlots.stories.mdx +20 -0
  236. package/src/stories/Breadcrumb/Breadcrumb.settings.ts +41 -0
  237. package/src/stories/Breadcrumb/Breadcrumb.stories.mdx +32 -29
  238. package/src/stories/Breadcrumb/Breadcrumb.test.ts +50 -0
  239. package/src/stories/Breadcrumb/BreadcrumbSlots.stories.mdx +43 -0
  240. package/src/stories/Button/Button.settings.ts +145 -0
  241. package/src/stories/Button/Button.stories.mdx +20 -54
  242. package/src/stories/Button/Button.test.ts +35 -46
  243. package/src/stories/Button/ButtonIcon.stories.mdx +139 -29
  244. package/src/stories/Button/ButtonLink.stories.mdx +58 -111
  245. package/src/stories/Button/ButtonLoading.stories.mdx +89 -62
  246. package/src/stories/Button/ButtonModifiers.stories.mdx +198 -121
  247. package/src/stories/Button/ButtonSlots.stories.mdx +83 -95
  248. package/src/stories/Button/ButtonState.stories.mdx +75 -0
  249. package/src/stories/Button/ButtonToggle.stories.mdx +50 -0
  250. package/src/stories/ButtonGroup/ButtonGroup.settings.ts +33 -0
  251. package/src/stories/ButtonGroup/ButtonGroup.stories.mdx +16 -18
  252. package/src/stories/ButtonGroup/ButtonGroup.test.ts +35 -0
  253. package/src/stories/ButtonGroup/ButtonGroupModifiers.stories.mdx +52 -0
  254. package/src/stories/ButtonGroup/ButtonGroupSlots.stories.mdx +37 -0
  255. package/src/stories/ButtonGroup/ButtonGroupToggle.stories.mdx +52 -110
  256. package/src/stories/Card/Card.settings.ts +55 -0
  257. package/src/stories/Card/Card.stories.mdx +27 -11
  258. package/src/stories/Card/Card.test.ts +23 -0
  259. package/src/stories/Card/CardSlots.stories.mdx +80 -24
  260. package/src/stories/Checkbox/Checkbox.settings.ts +43 -0
  261. package/src/stories/Checkbox/Checkbox.stories.mdx +163 -0
  262. package/src/stories/Checkbox/Checkbox.test.ts +81 -0
  263. package/src/stories/Checkbox/CheckboxBinary.stories.mdx +68 -0
  264. package/src/stories/Checkbox/CheckboxSlots.stories.mdx +46 -0
  265. package/src/stories/CheckboxGroup/CheckboxGroup.settings.ts +15 -0
  266. package/src/stories/CheckboxGroup/CheckboxGroup.stories.mdx +134 -0
  267. package/src/stories/CheckboxGroup/CheckboxGroup.test.ts +83 -0
  268. package/src/stories/CheckboxGroup/CheckboxGroupOptions.stories.mdx +100 -0
  269. package/src/stories/CheckboxGroup/CheckboxGroupSlots.stories.mdx +67 -0
  270. package/src/stories/Combobox/Combobox.settings.ts +127 -0
  271. package/src/stories/Combobox/Combobox.stories.mdx +204 -0
  272. package/src/stories/Combobox/Combobox.test.ts +103 -0
  273. package/src/stories/Combobox/ComboboxMultiple.stories.mdx +74 -0
  274. package/src/stories/Combobox/ComboboxOptions.stories.mdx +100 -0
  275. package/src/stories/Combobox/ComboboxSlots.stories.mdx +48 -0
  276. package/src/stories/Dialog/Dialog.settings.ts +45 -0
  277. package/src/stories/Dialog/Dialog.stories.mdx +42 -16
  278. package/src/stories/Dialog/Dialog.test.ts +69 -0
  279. package/src/stories/Dialog/DialogSlots.stories.mdx +63 -0
  280. package/src/stories/Dropdown/Dropdown.settings.ts +51 -0
  281. package/src/stories/Dropdown/Dropdown.stories.mdx +102 -29
  282. package/src/stories/Dropdown/Dropdown.test.ts +43 -0
  283. package/src/stories/Dropdown/DropdownOptions.stories.mdx +87 -67
  284. package/src/stories/Icon/Icon.settings.ts +72 -0
  285. package/src/stories/Icon/Icon.stories.mdx +76 -59
  286. package/src/stories/Icon/IconsCollection.stories.mdx +68 -0
  287. package/src/stories/InputText/InputText.settings.ts +221 -0
  288. package/src/stories/InputText/InputText.stories.mdx +142 -69
  289. package/src/stories/InputText/InputText.test.ts +125 -0
  290. package/src/stories/InputText/InputTextIconPosition.stories.mdx +63 -16
  291. package/src/stories/InputText/InputTextLength.stories.mdx +110 -0
  292. package/src/stories/InputText/InputTextMinMax.stories.mdx +112 -0
  293. package/src/stories/InputText/InputTextSlots.stories.mdx +61 -22
  294. package/src/stories/InputText/InputTextType.stories.mdx +207 -29
  295. package/src/stories/Progress/Progress.settings.ts +33 -0
  296. package/src/stories/Progress/Progress.stories.mdx +12 -14
  297. package/src/stories/Progress/Progress.test.ts +9 -0
  298. package/src/stories/Radio/Radio.settings.ts +15 -0
  299. package/src/stories/Radio/Radio.stories.mdx +102 -42
  300. package/src/stories/Radio/Radio.test.ts +70 -0
  301. package/src/stories/Radio/RadioSlots.stories.mdx +39 -22
  302. package/src/stories/RadioGroup/RadioGroup.settings.ts +15 -0
  303. package/src/stories/RadioGroup/RadioGroup.stories.mdx +115 -54
  304. package/src/stories/RadioGroup/RadioGroup.test.ts +83 -0
  305. package/src/stories/RadioGroup/RadioGroupOptions.stories.mdx +83 -41
  306. package/src/stories/RadioGroup/RadioGroupSlots.stories.mdx +49 -144
  307. package/src/stories/Select/Select.settings.ts +86 -0
  308. package/src/stories/Select/Select.stories.mdx +173 -33
  309. package/src/stories/Select/Select.test.ts +82 -0
  310. package/src/stories/Select/SelectOptions.stories.mdx +91 -69
  311. package/src/stories/Select/SelectSlots.stories.mdx +48 -0
  312. package/src/stories/Textarea/Textarea.settings.ts +96 -0
  313. package/src/stories/Textarea/Textarea.stories.mdx +167 -47
  314. package/src/stories/Textarea/Textarea.test.ts +90 -0
  315. package/src/stories/Textarea/TextareaLength.stories.mdx +110 -0
  316. package/src/stories/Textarea/TextareaSlots.stories.mdx +61 -23
  317. package/src/stories/Textarea/TextareatIconPosition.stories.mdx +78 -0
  318. package/src/stories/argTypes.ts +457 -0
  319. package/src/test/expect.ts +27 -6
  320. package/src/test/options.ts +17 -0
  321. package/src/test/sleep.ts +2 -0
  322. package/src/test/types.d.ts +14 -0
  323. package/src/types/generic.d.ts +5 -0
  324. package/src/utils/ObjectUtilities.ts +253 -244
  325. package/dist/components/VvAccordion/VvAccordion.d.ts +0 -32
  326. package/dist/components/VvAccordion/useAccordionProps.d.ts +0 -16
  327. package/dist/components/VvAccordion/vv-accordion.es.js +0 -262
  328. package/dist/components/VvAccordion/vv-accordion.umd.js +0 -1
  329. package/dist/components/VvAccordionGroup/vv-accordion-group.es.js +0 -315
  330. package/dist/components/VvAccordionGroup/vv-accordion-group.umd.js +0 -1
  331. package/dist/components/VvBadge/vv-badge.es.js +0 -18
  332. package/dist/components/VvBadge/vv-badge.umd.js +0 -1
  333. package/dist/components/VvBreadcrumb/vv-breadcrumb.es.js +0 -206
  334. package/dist/components/VvBreadcrumb/vv-breadcrumb.umd.js +0 -1
  335. package/dist/components/VvButton/VvButton.d.ts +0 -115
  336. package/dist/components/VvButton/useButtonGroupProps.d.ts +0 -23
  337. package/dist/components/VvButton/vv-button.es.js +0 -422
  338. package/dist/components/VvButton/vv-button.umd.js +0 -1
  339. package/dist/components/VvButtonGroup/VvButtonGroup.d.ts +0 -57
  340. package/dist/components/VvButtonGroup/vv-button-group.es.js +0 -210
  341. package/dist/components/VvButtonGroup/vv-button-group.umd.js +0 -1
  342. package/dist/components/VvCard/vv-card.es.js +0 -188
  343. package/dist/components/VvCard/vv-card.umd.js +0 -1
  344. package/dist/components/VvCheck/VvCheck.d.ts +0 -47
  345. package/dist/components/VvCheck/VvCheck.vue.d.ts +0 -165
  346. package/dist/components/VvCheck/useCheckProps.d.ts +0 -16
  347. package/dist/components/VvCheck/vv-check.es.js +0 -321
  348. package/dist/components/VvCheck/vv-check.umd.js +0 -1
  349. package/dist/components/VvCheckGroup/VvCheckGroup.d.ts +0 -65
  350. package/dist/components/VvCheckGroup/VvCheckGroup.vue.d.ts +0 -272
  351. package/dist/components/VvCheckGroup/vv-check-group.es.js +0 -452
  352. package/dist/components/VvCheckGroup/vv-check-group.umd.js +0 -2
  353. package/dist/components/VvDialog/constants.d.ts +0 -5
  354. package/dist/components/VvDialog/vv-dialog.es.js +0 -315
  355. package/dist/components/VvDialog/vv-dialog.umd.js +0 -1
  356. package/dist/components/VvDropdown/VvDropdown.d.ts +0 -52
  357. package/dist/components/VvDropdown/vv-dropdown.es.js +0 -236
  358. package/dist/components/VvDropdown/vv-dropdown.umd.js +0 -1
  359. package/dist/components/VvIcon/vv-icon.es.js +0 -229
  360. package/dist/components/VvIcon/vv-icon.umd.js +0 -1
  361. package/dist/components/VvInputText/VvInputText.d.ts +0 -73
  362. package/dist/components/VvInputText/constants.d.ts +0 -55
  363. package/dist/components/VvInputText/vv-input-text.es.js +0 -725
  364. package/dist/components/VvInputText/vv-input-text.umd.js +0 -2
  365. package/dist/components/VvNativeSelect/VvNativeSelect.d.ts +0 -70
  366. package/dist/components/VvNativeSelect/VvNativeSelect.vue.d.ts +0 -228
  367. package/dist/components/VvNativeSelect/vv-native-select.es.js +0 -414
  368. package/dist/components/VvNativeSelect/vv-native-select.umd.js +0 -2
  369. package/dist/components/VvProgress/VvProgress.d.ts +0 -29
  370. package/dist/components/VvProgress/vv-progress.es.js +0 -185
  371. package/dist/components/VvProgress/vv-progress.umd.js +0 -1
  372. package/dist/components/VvRadio/VvRadio.d.ts +0 -22
  373. package/dist/components/VvRadio/useRadioProps.d.ts +0 -15
  374. package/dist/components/VvRadio/vv-radio.es.js +0 -309
  375. package/dist/components/VvRadio/vv-radio.umd.js +0 -1
  376. package/dist/components/VvRadioGroup/VvRadioGroup.d.ts +0 -54
  377. package/dist/components/VvRadioGroup/vv-radio-group.es.js +0 -441
  378. package/dist/components/VvRadioGroup/vv-radio-group.umd.js +0 -2
  379. package/dist/components/VvSelect/VvSelect.d.ts +0 -99
  380. package/dist/components/VvSelect/vv-select.es.js +0 -445
  381. package/dist/components/VvSelect/vv-select.umd.js +0 -2
  382. package/dist/components/VvTextarea/VvTextarea.d.ts +0 -88
  383. package/dist/components/VvTextarea/constants.d.ts +0 -19
  384. package/dist/components/VvTextarea/vv-textarea.es.js +0 -548
  385. package/dist/components/VvTextarea/vv-textarea.umd.js +0 -2
  386. package/dist/composables/debouncedInput/useDebouncedInput.d.ts +0 -2
  387. package/dist/composables/focus/useComponentFocus.d.ts +0 -7
  388. package/dist/composables/options/useOptions.d.ts +0 -5
  389. package/dist/composables/textLimit/useTextLimit.d.ts +0 -14
  390. package/dist/stories/Icon/IconList.vue.d.ts +0 -44
  391. package/dist/stories/utils.d.ts +0 -5
  392. package/dist/ui-vue.es.js +0 -3001
  393. package/dist/ui-vue.umd.js +0 -2
  394. package/src/assets/icons/index.js +0 -7
  395. package/src/components/VvAccordion/VvAccordion.ts +0 -34
  396. package/src/components/VvAccordion/useAccordionProps.ts +0 -45
  397. package/src/components/VvBadge/VvBadge.ts +0 -4
  398. package/src/components/VvButton/VvButton.ts +0 -117
  399. package/src/components/VvButton/useButtonGroupProps.ts +0 -51
  400. package/src/components/VvButtonGroup/VvButtonGroup.ts +0 -37
  401. package/src/components/VvCheck/VvCheck.ts +0 -48
  402. package/src/components/VvCheck/VvCheck.vue +0 -149
  403. package/src/components/VvCheck/useCheckProps.ts +0 -41
  404. package/src/components/VvCheckGroup/VvCheckGroup.ts +0 -34
  405. package/src/components/VvCheckGroup/VvCheckGroup.vue +0 -84
  406. package/src/components/VvDialog/VvDialog.ts +0 -17
  407. package/src/components/VvDialog/constants.ts +0 -5
  408. package/src/components/VvDropdown/VvDropdown.ts +0 -46
  409. package/src/components/VvInputText/VvInputText.ts +0 -66
  410. package/src/components/VvInputText/constants.ts +0 -34
  411. package/src/components/VvNativeSelect/VvNativeSelect.ts +0 -70
  412. package/src/components/VvNativeSelect/VvNativeSelect.vue +0 -106
  413. package/src/components/VvProgress/VvProgress.ts +0 -28
  414. package/src/components/VvRadio/VvRadio.ts +0 -25
  415. package/src/components/VvRadio/useRadioProps.ts +0 -40
  416. package/src/components/VvRadioGroup/VvRadioGroup.ts +0 -25
  417. package/src/components/VvSelect/VvSelect.ts +0 -91
  418. package/src/components/VvTextarea/VvTextarea.ts +0 -64
  419. package/src/components/VvTextarea/constants.ts +0 -14
  420. package/src/composables/debouncedInput/useDebouncedInput.ts +0 -19
  421. package/src/composables/focus/useComponentFocus.ts +0 -22
  422. package/src/composables/options/useOptions.ts +0 -27
  423. package/src/composables/textLimit/useTextLimit.ts +0 -44
  424. package/src/stories/Accordion/AccordionBordered.stories.mdx +0 -26
  425. package/src/stories/Accordion/AccordionIconRight.stories.mdx +0 -32
  426. package/src/stories/Accordion/accordionTest.js +0 -36
  427. package/src/stories/AccordionGroup/Accordion.stories.mdx +0 -42
  428. package/src/stories/AccordionGroup/AccordionItems.stories.mdx +0 -51
  429. package/src/stories/AccordionGroup/accordionGroupTest.js +0 -51
  430. package/src/stories/Badge/BadgeColor.stories.mdx +0 -54
  431. package/src/stories/Badge/BadgeDot.stories.mdx +0 -20
  432. package/src/stories/Badge/BadgeTest.js +0 -21
  433. package/src/stories/Breadcrumb/BreadcrumbMultiline.stories.mdx +0 -41
  434. package/src/stories/Button/ButtonBadge.stories.mdx +0 -34
  435. package/src/stories/Button/ButtonIconPosition.stories.mdx +0 -106
  436. package/src/stories/Button/ButtonVariant.stories.mdx +0 -205
  437. package/src/stories/Button/test.js +0 -41
  438. package/src/stories/ButtonGroup/ButtonGroupAction.stories.mdx +0 -83
  439. package/src/stories/ButtonGroup/ButtonGroupActionQuiet.stories.mdx +0 -50
  440. package/src/stories/ButtonGroup/ButtonGroupBlock.stories.mdx +0 -40
  441. package/src/stories/ButtonGroup/ButtonGroupCompact.stories.mdx +0 -38
  442. package/src/stories/ButtonGroup/ButtonGroupRounded.stories.mdx +0 -77
  443. package/src/stories/ButtonGroup/ButtonGroupTest.js +0 -61
  444. package/src/stories/ButtonGroup/ButtonGroupVertical.stories.mdx +0 -38
  445. package/src/stories/Card/CardVariant.stories.mdx +0 -37
  446. package/src/stories/Check/Check.stories.mdx +0 -62
  447. package/src/stories/Check/CheckBinary.stories.mdx +0 -80
  448. package/src/stories/Check/CheckDisabled.stories.mdx +0 -30
  449. package/src/stories/Check/CheckError.stories.mdx +0 -64
  450. package/src/stories/Check/CheckErrorTests.js +0 -72
  451. package/src/stories/Check/CheckHintLabel.stories.mdx +0 -30
  452. package/src/stories/Check/CheckPropertyTest.js +0 -101
  453. package/src/stories/Check/CheckReadonly.stories.mdx +0 -30
  454. package/src/stories/Check/CheckSlots.stories.mdx +0 -51
  455. package/src/stories/Check/CheckSwitch.stories.mdx +0 -30
  456. package/src/stories/CheckGroup/CheckGroup.stories.mdx +0 -69
  457. package/src/stories/CheckGroup/CheckGroupDisabled.stories.mdx +0 -26
  458. package/src/stories/CheckGroup/CheckGroupError.stories.mdx +0 -28
  459. package/src/stories/CheckGroup/CheckGroupHintLabel.stories.mdx +0 -27
  460. package/src/stories/CheckGroup/CheckGroupLabel.stories.mdx +0 -26
  461. package/src/stories/CheckGroup/CheckGroupOptionLabel.stories.mdx +0 -48
  462. package/src/stories/CheckGroup/CheckGroupOptionValue.stories.mdx +0 -48
  463. package/src/stories/CheckGroup/CheckGroupOptions.stories.mdx +0 -40
  464. package/src/stories/CheckGroup/CheckGroupReadonly.stories.mdx +0 -26
  465. package/src/stories/CheckGroup/CheckGroupSlots.stories.mdx +0 -152
  466. package/src/stories/CheckGroup/CheckGroupValid.stories.mdx +0 -28
  467. package/src/stories/CheckGroup/CheckGroupVertical.stories.mdx +0 -26
  468. package/src/stories/Dialog/DialogAutoClose.stories.mdx +0 -18
  469. package/src/stories/Dialog/DialogSize.stories.mdx +0 -36
  470. package/src/stories/Dropdown/DropdownDisabled.stories.mdx +0 -25
  471. package/src/stories/Dropdown/DropdownLabelNoResults.stories.mdx +0 -25
  472. package/src/stories/Dropdown/DropdownMaxValues.stories.mdx +0 -26
  473. package/src/stories/Dropdown/DropdownMultiple.stories.mdx +0 -56
  474. package/src/stories/Dropdown/DropdownUseObject.stories.mdx +0 -58
  475. package/src/stories/Icon/IconList.vue +0 -34
  476. package/src/stories/Icon/IconPrefix.stories.mdx +0 -79
  477. package/src/stories/Icon/IconRemote.stories.mdx +0 -39
  478. package/src/stories/Icon/IconTest.js +0 -27
  479. package/src/stories/Icon/IconsList.stories.mdx +0 -35
  480. package/src/stories/InputText/InputTextAutocomplete.stories.mdx +0 -15
  481. package/src/stories/InputText/InputTextAutofocus.stories.mdx +0 -20
  482. package/src/stories/InputText/InputTextDisabled.stories.mdx +0 -19
  483. package/src/stories/InputText/InputTextError.stories.mdx +0 -19
  484. package/src/stories/InputText/InputTextFloating.stories.mdx +0 -20
  485. package/src/stories/InputText/InputTextHintLabel.stories.mdx +0 -18
  486. package/src/stories/InputText/InputTextIcon.stories.mdx +0 -18
  487. package/src/stories/InputText/InputTextLabel.stories.mdx +0 -15
  488. package/src/stories/InputText/InputTextLoading.stories.mdx +0 -19
  489. package/src/stories/InputText/InputTextMax.stories.mdx +0 -31
  490. package/src/stories/InputText/InputTextMaxLength.stories.mdx +0 -36
  491. package/src/stories/InputText/InputTextMin.stories.mdx +0 -31
  492. package/src/stories/InputText/InputTextMinLength.stories.mdx +0 -15
  493. package/src/stories/InputText/InputTextPlaceholder.stories.mdx +0 -15
  494. package/src/stories/InputText/InputTextReadonly.stories.mdx +0 -19
  495. package/src/stories/InputText/InputTextStep.stories.mdx +0 -31
  496. package/src/stories/InputText/InputTextValid.stories.mdx +0 -19
  497. package/src/stories/NativeSelect/NativeSelect.stories.mdx +0 -53
  498. package/src/stories/NativeSelect/NativeSelectDisabled.stories.mdx +0 -32
  499. package/src/stories/NativeSelect/NativeSelectError.stories.mdx +0 -36
  500. package/src/stories/NativeSelect/NativeSelectHintLabel.stories.mdx +0 -34
  501. package/src/stories/NativeSelect/NativeSelectIconLeftRight.stories.mdx +0 -42
  502. package/src/stories/NativeSelect/NativeSelectLoading.stories.mdx +0 -27
  503. package/src/stories/NativeSelect/NativeSelectOptions.stories.mdx +0 -78
  504. package/src/stories/NativeSelect/NativeSelectReadonly.stories.mdx +0 -34
  505. package/src/stories/NativeSelect/NativeSelectUseObject.stories.mdx +0 -66
  506. package/src/stories/NativeSelect/NativeSelectValid.stories.mdx +0 -36
  507. package/src/stories/NativeSelect/NativeSelectValueKey.stories.mdx +0 -66
  508. package/src/stories/Progress/ProgressDeterminate.stories.mdx +0 -19
  509. package/src/stories/Radio/RadioDisabled.stories.mdx +0 -30
  510. package/src/stories/Radio/RadioError.stories.mdx +0 -64
  511. package/src/stories/Radio/RadioHintLabel.stories.mdx +0 -30
  512. package/src/stories/Radio/RadioTest.js +0 -89
  513. package/src/stories/RadioGroup/RadioGroupDisabled.stories.mdx +0 -29
  514. package/src/stories/RadioGroup/RadioGroupError.stories.mdx +0 -31
  515. package/src/stories/RadioGroup/RadioGroupHintLabel.stories.mdx +0 -28
  516. package/src/stories/RadioGroup/RadioGroupLabel.stories.mdx +0 -29
  517. package/src/stories/RadioGroup/RadioGroupOptionLabel.stories.mdx +0 -65
  518. package/src/stories/RadioGroup/RadioGroupOptionValue.stories.mdx +0 -65
  519. package/src/stories/RadioGroup/RadioGroupReadonly.stories.mdx +0 -29
  520. package/src/stories/RadioGroup/RadioGroupValid.stories.mdx +0 -31
  521. package/src/stories/RadioGroup/RadioGroupVertical.stories.mdx +0 -29
  522. package/src/stories/RadioGroup/RadioOptionsTest.js +0 -78
  523. package/src/stories/RadioGroup/RadioPropertyTest.js +0 -131
  524. package/src/stories/RadioGroup/RadioSlotsTest.js +0 -20
  525. package/src/stories/Select/SelectDisabled.stories.mdx +0 -32
  526. package/src/stories/Select/SelectMaxValues.stories.mdx +0 -33
  527. package/src/stories/Select/SelectMultiple.stories.mdx +0 -64
  528. package/src/stories/Select/SelectSearchable.stories.mdx +0 -80
  529. package/src/stories/Select/SelectSeparator.stories.mdx +0 -64
  530. package/src/stories/Select/SelectUseObject.stories.mdx +0 -66
  531. package/src/stories/Textarea/TextareaAutoclear.stories.mdx +0 -23
  532. package/src/stories/Textarea/TextareaAutocomplete.stories.mdx +0 -23
  533. package/src/stories/Textarea/TextareaAutofocus.stories.mdx +0 -24
  534. package/src/stories/Textarea/TextareaDebounce.stories.mdx +0 -23
  535. package/src/stories/Textarea/TextareaDisabled.stories.mdx +0 -23
  536. package/src/stories/Textarea/TextareaError.stories.mdx +0 -22
  537. package/src/stories/Textarea/TextareaErrorLabel.stories.mdx +0 -37
  538. package/src/stories/Textarea/TextareaFloating.stories.mdx +0 -25
  539. package/src/stories/Textarea/TextareaHintLabel.stories.mdx +0 -22
  540. package/src/stories/Textarea/TextareaIcon.stories.mdx +0 -22
  541. package/src/stories/Textarea/TextareaIconPosition.stories.mdx +0 -39
  542. package/src/stories/Textarea/TextareaId.stories.mdx +0 -19
  543. package/src/stories/Textarea/TextareaLabel.stories.mdx +0 -19
  544. package/src/stories/Textarea/TextareaLimit.stories.mdx +0 -50
  545. package/src/stories/Textarea/TextareaLoading.stories.mdx +0 -22
  546. package/src/stories/Textarea/TextareaLoadingLabel.stories.mdx +0 -23
  547. package/src/stories/Textarea/TextareaMaxLength.stories.mdx +0 -19
  548. package/src/stories/Textarea/TextareaMinLength.stories.mdx +0 -19
  549. package/src/stories/Textarea/TextareaModifiers.stories.mdx +0 -24
  550. package/src/stories/Textarea/TextareaName.stories.mdx +0 -23
  551. package/src/stories/Textarea/TextareaPlaceholder.stories.mdx +0 -19
  552. package/src/stories/Textarea/TextareaReadonly.stories.mdx +0 -23
  553. package/src/stories/Textarea/TextareaRequired.stories.mdx +0 -22
  554. package/src/stories/Textarea/TextareaResizable.stories.mdx +0 -22
  555. package/src/stories/Textarea/TextareaRowsCols.stories.mdx +0 -39
  556. package/src/stories/Textarea/TextareaValid.stories.mdx +0 -22
  557. package/src/stories/Textarea/TextareaValidLabel.stories.mdx +0 -35
  558. package/src/stories/stories.scss +0 -35
  559. package/src/stories/utils.ts +0 -12
  560. package/src/stories/volver-ui-vue.stories.mdx +0 -77
  561. package/src/types/.README +0 -0
@@ -0,0 +1,775 @@
1
+ import { unref as a, computed as c, toRefs as T, watch as ie, defineComponent as Y, openBlock as y, createElementBlock as I, normalizeClass as ue, createElementVNode as B, toDisplayString as N, createCommentVNode as w, Fragment as de, renderList as $e, withModifiers as Te, createTextVNode as Ie, ref as j, inject as Ee, createBlock as F, mergeProps as P, h as Ke, useSlots as ke, renderSlot as J, normalizeProps as he, withDirectives as Ae, isRef as xe, vModelSelect as He, createVNode as ae, withKeys as ye, vModelText as Me } from "vue";
2
+ import { nanoid as ce } from "nanoid";
3
+ import { useFocus as ze, toReactive as qe, useElementVisibility as Ue, refDebounced as Ze, onClickOutside as Ge } from "@vueuse/core";
4
+ import { iconExists as U, Icon as Je, addIcon as Xe } from "@iconify/vue";
5
+ function X(n, t, e) {
6
+ return e ? Q(n, e) === Q(t, e) : se(n, t);
7
+ }
8
+ function se(n, t) {
9
+ if (n === t)
10
+ return !0;
11
+ if (n && t && typeof n == "object" && typeof t == "object") {
12
+ const e = Array.isArray(n), i = Array.isArray(t);
13
+ let r, u, l;
14
+ if (e && i) {
15
+ if (u = n.length, u != t.length)
16
+ return !1;
17
+ for (r = u; r-- !== 0; )
18
+ if (!se(n[r], t[r]))
19
+ return !1;
20
+ return !0;
21
+ }
22
+ if (e != i)
23
+ return !1;
24
+ const b = n instanceof Date, m = t instanceof Date;
25
+ if (b != m)
26
+ return !1;
27
+ if (b && m)
28
+ return n.getTime() == t.getTime();
29
+ const p = n instanceof RegExp, o = t instanceof RegExp;
30
+ if (p != o)
31
+ return !1;
32
+ if (p && o)
33
+ return n.toString() == t.toString();
34
+ const s = Object.keys(n);
35
+ if (u = s.length, u !== Object.keys(t).length)
36
+ return !1;
37
+ for (r = u; r-- !== 0; )
38
+ if (!Object.prototype.hasOwnProperty.call(t, s[r]))
39
+ return !1;
40
+ for (r = u; r-- !== 0; )
41
+ if (l = s[r], !se(n[l], t[l]))
42
+ return !1;
43
+ return !0;
44
+ }
45
+ return n !== n && t !== t;
46
+ }
47
+ function Q(n, t) {
48
+ if (n && Object.keys(n).length && t) {
49
+ if (t.indexOf(".") === -1)
50
+ return n[t];
51
+ {
52
+ const e = t.split(".");
53
+ let i = n;
54
+ for (let r = 0, u = e.length; r < u; ++r) {
55
+ if (n == null)
56
+ return null;
57
+ i = i[e[r]];
58
+ }
59
+ return i;
60
+ }
61
+ } else
62
+ return null;
63
+ }
64
+ function Qe(n, t) {
65
+ let e = -1;
66
+ if (t) {
67
+ for (let i = 0; i < t.length; i++)
68
+ if (X(t[i], n)) {
69
+ e = i;
70
+ break;
71
+ }
72
+ }
73
+ return e;
74
+ }
75
+ function Z(n, t) {
76
+ if (n != null && t && t.length) {
77
+ for (const e of t)
78
+ if (X(n, e))
79
+ return !0;
80
+ }
81
+ return !1;
82
+ }
83
+ function fe(n) {
84
+ return ((t) => t == null || t === "" || Array.isArray(t) && t.length === 0 || !(t instanceof Date) && typeof t == "object" && Object.keys(t).length === 0)(a(n));
85
+ }
86
+ function We(n, t) {
87
+ const e = Qe(n, t);
88
+ return e > -1 ? t.filter((i, r) => r !== e) : t;
89
+ }
90
+ function Ye(n) {
91
+ return typeof n == "string" || n instanceof String;
92
+ }
93
+ function Ve(n) {
94
+ var t, e;
95
+ if (n)
96
+ return (e = (t = n.match(
97
+ /[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g
98
+ )) == null ? void 0 : t.join("-")) == null ? void 0 : e.toLowerCase();
99
+ }
100
+ function ee(n, t) {
101
+ const e = { [`${n}`]: !0 };
102
+ return {
103
+ bemCssClasses: c(() => Object.keys(t).reduce((r, u) => {
104
+ const l = a(t[u]) || !1;
105
+ if (!l)
106
+ return r;
107
+ if (u === "modifiers") {
108
+ const b = Array.isArray(l) ? l : l.split(" ");
109
+ return {
110
+ ...r,
111
+ ...b.reduce(
112
+ (m, p) => ({
113
+ ...m,
114
+ [`${n}--${Ve(p)}`]: !0
115
+ }),
116
+ {}
117
+ )
118
+ };
119
+ } else
120
+ return {
121
+ ...r,
122
+ [`${n}--${Ve(u)}`]: l
123
+ };
124
+ }, e) || {})
125
+ };
126
+ }
127
+ function Oe(n, t, e) {
128
+ const i = c(
129
+ () => !!(n != null && n.value && t.value === "left" || e != null && e.iconLeft)
130
+ ), r = c(
131
+ () => !!(n != null && n.value && t.value === "right" || e != null && e.iconRight)
132
+ ), u = c(
133
+ () => !!(n != null && n.value && t.value === "top" || e != null && e.iconTop)
134
+ ), l = c(
135
+ () => !!(n != null && n.value && t.value === "bottom" || e != null && e.iconBottom)
136
+ );
137
+ return {
138
+ hasIcon: c(() => typeof (n == null ? void 0 : n.value) == "string" ? { name: n == null ? void 0 : n.value } : n == null ? void 0 : n.value),
139
+ hasIconLeft: i,
140
+ hasIconRight: r,
141
+ hasIconTop: u,
142
+ hasIconBottom: l
143
+ };
144
+ }
145
+ function pe(n) {
146
+ const { options: t, labelKey: e, valueKey: i } = T(n);
147
+ return {
148
+ options: t,
149
+ getOptionLabel: (l) => typeof l != "object" && l !== null ? l : typeof e.value == "function" ? e.value(l) : l[e.value],
150
+ getOptionValue: (l) => typeof l != "object" && l !== null ? l : typeof i.value == "function" ? i.value(l) : l[i.value]
151
+ };
152
+ }
153
+ function we(n, t) {
154
+ const { focused: e } = ze(n);
155
+ return ie(e, (i) => {
156
+ t(i ? "focus" : "blur", a(n));
157
+ }), {
158
+ focused: e
159
+ };
160
+ }
161
+ const Ce = {
162
+ valid: Boolean,
163
+ validLabel: [String, Array]
164
+ }, _e = {
165
+ invalid: Boolean,
166
+ invalidLabel: [String, Array]
167
+ }, Pe = {
168
+ loading: Boolean,
169
+ loadingLabel: String
170
+ }, ve = {
171
+ disabled: Boolean
172
+ }, Be = {
173
+ readonly: Boolean
174
+ }, me = {
175
+ modifiers: [String, Array]
176
+ }, Ne = {
177
+ hintLabel: { type: String, default: "" }
178
+ }, ge = {
179
+ options: {
180
+ type: Array,
181
+ default: () => []
182
+ },
183
+ labelKey: { type: [String, Function], default: "label" },
184
+ valueKey: { type: [String, Function], default: "value" }
185
+ }, Se = {
186
+ LEFT: "left",
187
+ RIGHT: "right"
188
+ }, De = {
189
+ icon: { type: [String, Object] },
190
+ iconPosition: {
191
+ type: String,
192
+ validation: (n) => Object.values(Se).includes(n),
193
+ default: Se.RIGHT
194
+ }
195
+ }, Le = {
196
+ tabindex: { type: [String, Number], default: 0 }
197
+ }, Re = {
198
+ floating: Boolean
199
+ }, je = {
200
+ unselectable: { type: Boolean, default: !0 }
201
+ }, be = {
202
+ id: [String, Number],
203
+ name: { type: String, required: !0 }
204
+ }, et = {
205
+ autofocus: Boolean
206
+ }, tt = {
207
+ autocomplete: { type: String, default: "off" }
208
+ }, nt = {
209
+ ...be,
210
+ ...ge,
211
+ ...ve,
212
+ ...me,
213
+ modelValue: {
214
+ type: [String, Number, Boolean, Object, Array]
215
+ },
216
+ labelNoResults: { type: String, default: "No results" },
217
+ multiple: Boolean,
218
+ maxValues: [Number, String],
219
+ unselectable: { type: Boolean, default: !0 }
220
+ }, lt = ["id"], rt = {
221
+ key: 0,
222
+ role: "option"
223
+ }, ot = ["aria-selected"], at = ["for", "onClick"], st = ["id", "type", "value", "checked", "disabled", "name"], it = {
224
+ name: "VvDropdown"
225
+ }, ut = /* @__PURE__ */ Y({
226
+ ...it,
227
+ props: nt,
228
+ emits: ["update:modelValue"],
229
+ setup(n, { emit: t }) {
230
+ const e = n, i = c(() => String(e.id || ce())), { modifiers: r, disabled: u } = T(e), { getOptionLabel: l, getOptionValue: b } = pe(e), { bemCssClasses: m } = ee("vv-dropdown", {
231
+ modifiers: r,
232
+ disabled: u
233
+ });
234
+ function p(d) {
235
+ return Array.isArray(e.modelValue) ? Z(d, e.modelValue) || Z(b(d), e.modelValue) : X(d, e.modelValue) || X(b(d), e.modelValue);
236
+ }
237
+ function o(d) {
238
+ return typeof d == "string" || d.disabled === void 0 ? u.value : d.disabled;
239
+ }
240
+ function s(d) {
241
+ var V;
242
+ if (e.disabled)
243
+ return;
244
+ let v = d;
245
+ if (e.multiple)
246
+ if (Array.isArray(e.modelValue)) {
247
+ if (e.maxValues !== void 0 && e.maxValues >= 0 && ((V = e.modelValue) == null ? void 0 : V.length) >= e.maxValues && !Z(d, e.modelValue))
248
+ return;
249
+ v = Z(d, e.modelValue) ? We(d, e.modelValue) : [...e.modelValue, d];
250
+ } else
251
+ v = [d];
252
+ else
253
+ e.unselectable && d === e.modelValue && (v = void 0);
254
+ t("update:modelValue", v);
255
+ }
256
+ return (d, v) => {
257
+ var V;
258
+ return y(), I("ul", {
259
+ id: a(i),
260
+ class: ue(a(m)),
261
+ role: "listbox"
262
+ }, [
263
+ (V = d.options) != null && V.length ? w("", !0) : (y(), I("li", rt, [
264
+ B("label", null, N(d.labelNoResults), 1)
265
+ ])),
266
+ (y(!0), I(de, null, $e(d.options, (h, $) => (y(), I("li", {
267
+ key: $,
268
+ role: "option",
269
+ "aria-selected": p(h)
270
+ }, [
271
+ B("label", {
272
+ for: `dropdown-${$}-${a(i)}`,
273
+ onClick: Te((A) => s(a(b)(h)), ["prevent"])
274
+ }, [
275
+ B("input", {
276
+ id: `dropdown-${$}-${a(i)}`,
277
+ type: d.multiple ? "checkbox" : "radio",
278
+ value: a(b)(h),
279
+ checked: p(h),
280
+ disabled: o(h),
281
+ name: d.name,
282
+ tabindex: "-1",
283
+ "aria-hidden": "true"
284
+ }, null, 8, st),
285
+ Ie(" " + N(a(l)(h)), 1)
286
+ ], 8, at)
287
+ ], 8, ot))), 128))
288
+ ], 10, lt);
289
+ };
290
+ }
291
+ }), dt = "ds", ct = {
292
+ color: String,
293
+ width: {
294
+ type: [String, Number]
295
+ },
296
+ height: {
297
+ type: [String, Number]
298
+ },
299
+ name: {
300
+ type: String,
301
+ required: !0
302
+ },
303
+ provider: {
304
+ type: String
305
+ },
306
+ prefix: {
307
+ type: String,
308
+ default: "normal"
309
+ },
310
+ src: String,
311
+ horizontalFlip: Boolean,
312
+ verticalFlip: Boolean,
313
+ flip: String,
314
+ mode: String,
315
+ inline: Boolean,
316
+ rotate: [Number, String],
317
+ onLoad: Function,
318
+ svg: String,
319
+ modifiers: {
320
+ type: [String, Array]
321
+ }
322
+ }, ft = {
323
+ name: "VvIcon"
324
+ }, W = /* @__PURE__ */ Y({
325
+ ...ft,
326
+ props: ct,
327
+ setup(n) {
328
+ const t = n, e = j(!0), { modifiers: i } = T(t), r = Ee(dt), { bemCssClasses: u } = ee("vv-icon", {
329
+ modifiers: i
330
+ }), l = c(() => t.provider || (r == null ? void 0 : r.provider)), b = c(() => {
331
+ const o = t.name ?? "", s = `@${l.value}:${t.prefix}:${t.name}`;
332
+ return U(o) ? o : U(s) ? s : (r == null ? void 0 : r.iconsCollections.find((d) => {
333
+ const v = `@${l.value}:${d.prefix}:${o}`;
334
+ if (U(v))
335
+ return v;
336
+ })) || o;
337
+ });
338
+ function m(o) {
339
+ let s = null;
340
+ if (typeof window > "u") {
341
+ const { JSDOM: h } = require("jsdom");
342
+ s = new h().window;
343
+ }
344
+ return (s ? new s.DOMParser() : new window.DOMParser()).parseFromString(o, "text/html").querySelector("svg");
345
+ }
346
+ function p(o) {
347
+ const s = m(o), d = (s == null ? void 0 : s.innerHTML.trim()) || "";
348
+ s && d && Xe(`@${l.value}:${t.prefix}:${t.name}`, {
349
+ body: d,
350
+ height: s.viewBox.baseVal.height,
351
+ width: s.viewBox.baseVal.width
352
+ });
353
+ }
354
+ return r && (t.src && !U(`@${l.value}:${t.prefix}:${t.name}`) ? (e.value = !1, r.fetchIcon(t.src).then((o) => {
355
+ o && (p(o), e.value = !0);
356
+ }).catch((o) => {
357
+ throw new Error(`During fetch icon: ${o == null ? void 0 : o.message}`);
358
+ })) : t.svg && p(t.svg)), (o, s) => e.value ? (y(), F(a(Je), P({
359
+ key: 0,
360
+ class: a(u)
361
+ }, {
362
+ inline: o.inline,
363
+ width: o.width,
364
+ height: o.height,
365
+ horizontalFlip: o.horizontalFlip,
366
+ verticalFlip: o.verticalFlip,
367
+ flip: o.flip,
368
+ rotate: o.rotate,
369
+ color: o.color,
370
+ onLoad: o.onLoad,
371
+ icon: a(b)
372
+ }), null, 16, ["class"])) : w("", !0);
373
+ }
374
+ });
375
+ function G(n) {
376
+ return Array.isArray(n) ? n.filter((t) => Ye(t)).join(" ") : n;
377
+ }
378
+ function Fe(n, t) {
379
+ const {
380
+ invalid: e,
381
+ valid: i,
382
+ hint: r,
383
+ loading: u
384
+ } = t, {
385
+ hintLabel: l,
386
+ modelValue: b,
387
+ valid: m,
388
+ validLabel: p,
389
+ invalid: o,
390
+ invalidLabel: s,
391
+ ...d
392
+ } = T(n), v = Q(d, "loading"), V = Q(d, "loadingLabel"), h = c(() => o.value ? !!(o.value && e || s != null && s.value && Array.isArray(s.value) && s.value.length > 0 || s != null && s.value && !fe(s)) : !1), $ = c(
393
+ () => !!(l && l.value || r)
394
+ ), A = c(
395
+ () => !!(p && p.value || i)
396
+ ), O = c(
397
+ () => !!(v != null && v.value && u || v != null && v.value && (V != null && V.value))
398
+ ), C = c(
399
+ () => $.value || A.value || h.value || O.value
400
+ );
401
+ return {
402
+ hasInvalid: h,
403
+ hasHint: $,
404
+ hasValid: A,
405
+ hasLoading: O,
406
+ HintSlot: {
407
+ name: "HintSlot",
408
+ props: {
409
+ params: {
410
+ type: Object,
411
+ default: () => ({})
412
+ }
413
+ },
414
+ setup(D) {
415
+ const L = c(() => {
416
+ const k = qe({
417
+ hintLabel: l,
418
+ modelValue: b,
419
+ valid: m,
420
+ validLabel: p,
421
+ invalid: o,
422
+ invalidLabel: s,
423
+ loading: v,
424
+ loadingLabel: V,
425
+ ...D.params
426
+ });
427
+ return o != null && o.value ? (e == null ? void 0 : e(k)) || G(s == null ? void 0 : s.value) || (l == null ? void 0 : l.value) : m != null && m.value ? (i == null ? void 0 : i(k)) || G(p == null ? void 0 : p.value) || (l == null ? void 0 : l.value) : v != null && v.value ? (u == null ? void 0 : u(k)) || G(V == null ? void 0 : V.value) || (l == null ? void 0 : l.value) : (r == null ? void 0 : r(k)) || G(l == null ? void 0 : l.value) || (l == null ? void 0 : l.value);
428
+ });
429
+ return {
430
+ isVisible: C,
431
+ hasInvalid: h,
432
+ hasValid: A,
433
+ hintContent: L
434
+ };
435
+ },
436
+ render() {
437
+ if (this.isVisible)
438
+ return Ke(
439
+ "small",
440
+ {
441
+ role: this.hasInvalid || this.hasValid ? "alert" : void 0
442
+ },
443
+ this.hintContent
444
+ );
445
+ }
446
+ }
447
+ };
448
+ }
449
+ const pt = {
450
+ ...be,
451
+ ...et,
452
+ ...tt,
453
+ ...Le,
454
+ ...Ce,
455
+ ..._e,
456
+ ...Ne,
457
+ ...Pe,
458
+ ...ve,
459
+ ...Be,
460
+ ...me,
461
+ ...ge,
462
+ ...De,
463
+ ...Re,
464
+ ...je,
465
+ multiple: Boolean,
466
+ required: Boolean,
467
+ size: [String, Number],
468
+ modelValue: {
469
+ type: [String, Number, Boolean, Object, Array],
470
+ default: void 0
471
+ },
472
+ label: String,
473
+ placeholder: String
474
+ }, vt = ["update:modelValue", "focus", "blur"], mt = ["for"], gt = { class: "vv-select__wrapper" }, bt = ["id"], ht = ["disabled", "hidden"], yt = ["disabled", "value"], Vt = {
475
+ name: "VvSelect"
476
+ }, St = /* @__PURE__ */ Y({
477
+ ...Vt,
478
+ props: pt,
479
+ emits: vt,
480
+ setup(n, { emit: t }) {
481
+ const e = n, i = ke(), r = j(), { HintSlot: u, hasHint: l, hasInvalid: b } = Fe(e, i), {
482
+ modifiers: m,
483
+ disabled: p,
484
+ readonly: o,
485
+ loading: s,
486
+ icon: d,
487
+ iconPosition: v,
488
+ invalid: V,
489
+ valid: h,
490
+ floating: $,
491
+ multiple: A
492
+ } = T(e), O = c(() => String(e.id || ce())), C = c(() => `${O.value}-hint`), { focused: D } = we(r, t), L = Ue(r);
493
+ ie(L, (g) => {
494
+ g && e.autofocus && (D.value = !0);
495
+ });
496
+ const { hasIcon: k, hasIconLeft: E, hasIconRight: x } = Oe(
497
+ d,
498
+ v
499
+ ), H = c(() => !fe(e.modelValue)), M = c(() => e.disabled || e.readonly), z = c(() => M.value ? -1 : e.tabindex), q = c(() => {
500
+ if (e.invalid === !0)
501
+ return !0;
502
+ if (e.valid === !0)
503
+ return !1;
504
+ }), { bemCssClasses: te } = ee("vv-select", {
505
+ modifiers: m,
506
+ valid: h,
507
+ invalid: V,
508
+ loading: s,
509
+ disabled: p,
510
+ readonly: o,
511
+ iconLeft: E,
512
+ iconRight: x,
513
+ dirty: H,
514
+ focus: D,
515
+ floating: $,
516
+ multiple: A
517
+ }), ne = c(() => ({
518
+ name: e.name,
519
+ tabindex: z.value,
520
+ disabled: M.value,
521
+ required: e.required,
522
+ size: e.size,
523
+ autocomplete: e.autocomplete,
524
+ multiple: e.multiple,
525
+ "aria-invalid": q.value,
526
+ "aria-describedby": !b.value && l.value ? C.value : void 0,
527
+ "aria-errormessage": b.value ? C.value : void 0
528
+ })), { getOptionLabel: le, getOptionValue: re } = pe(e);
529
+ function oe(g) {
530
+ return typeof g == "string" || g.disabled === void 0 ? p.value : g.disabled;
531
+ }
532
+ const K = c({
533
+ get: () => e.modelValue,
534
+ set: (g) => {
535
+ Array.isArray(g) && (g = g.filter((R) => R !== void 0)), t("update:modelValue", g);
536
+ }
537
+ });
538
+ return (g, R) => (y(), I("div", {
539
+ class: ue(a(te))
540
+ }, [
541
+ g.label ? (y(), I("label", {
542
+ key: 0,
543
+ for: a(O)
544
+ }, N(g.label), 9, mt)) : w("", !0),
545
+ B("div", gt, [
546
+ J(g.$slots, "before", {}, () => [
547
+ a(E) ? (y(), F(W, he(P({ key: 0 }, a(k))), null, 16)) : w("", !0)
548
+ ]),
549
+ Ae(B("select", P({
550
+ id: a(O),
551
+ ref_key: "select",
552
+ ref: r,
553
+ "onUpdate:modelValue": R[0] || (R[0] = (f) => xe(K) ? K.value = f : null)
554
+ }, a(ne)), [
555
+ g.placeholder ? (y(), I("option", {
556
+ key: 0,
557
+ value: void 0,
558
+ disabled: !g.unselectable,
559
+ hidden: !g.unselectable
560
+ }, N(g.placeholder), 9, ht)) : w("", !0),
561
+ (y(!0), I(de, null, $e(g.options, (f, S) => (y(), I("option", {
562
+ key: S,
563
+ disabled: oe(f),
564
+ value: a(re)(f)
565
+ }, N(a(le)(f)), 9, yt))), 128))
566
+ ], 16, bt), [
567
+ [He, a(K)]
568
+ ]),
569
+ J(g.$slots, "after", {}, () => [
570
+ a(x) ? (y(), F(W, he(P({ key: 0 }, a(k))), null, 16)) : w("", !0)
571
+ ])
572
+ ]),
573
+ ae(a(u), {
574
+ id: a(C),
575
+ class: "vv-select__hint"
576
+ }, null, 8, ["id"])
577
+ ], 2));
578
+ }
579
+ }), $t = [
580
+ "update:modelValue",
581
+ "change:search",
582
+ "focus",
583
+ "blur"
584
+ ], It = {
585
+ ...be,
586
+ ...Le,
587
+ ...Ce,
588
+ ..._e,
589
+ ...Ne,
590
+ ...Pe,
591
+ ...ve,
592
+ ...Be,
593
+ ...me,
594
+ ...ge,
595
+ ...De,
596
+ ...Re,
597
+ ...je,
598
+ modelValue: {
599
+ type: [String, Number, Boolean, Object, Array],
600
+ default: void 0
601
+ },
602
+ label: String,
603
+ labelNoResults: { type: String, default: "No results" },
604
+ placeholder: String,
605
+ searchable: Boolean,
606
+ searchPlaceholder: String,
607
+ debounceSearch: {
608
+ type: [Number, String],
609
+ default: 0
610
+ },
611
+ multiple: Boolean,
612
+ maxValues: [Number, String],
613
+ separator: { type: String, default: ", " },
614
+ native: Boolean
615
+ }, kt = ["id"], At = ["id", "for"], Ot = ["tabindex"], wt = ["id", "placeholder"], Ct = {
616
+ name: "VvCombobox"
617
+ }, Dt = /* @__PURE__ */ Y({
618
+ ...Ct,
619
+ props: It,
620
+ emits: $t,
621
+ setup(n, { emit: t }) {
622
+ const e = n, i = ke(), { HintSlot: r } = Fe(e, i), u = j(), l = j(), { focused: b } = we(u, t), m = c(() => String(e.id || ce())), p = j(""), o = Ze(
623
+ p,
624
+ Number(e.debounceSearch)
625
+ ), s = j(!1), {
626
+ icon: d,
627
+ iconPosition: v,
628
+ modifiers: V,
629
+ disabled: h,
630
+ readonly: $,
631
+ loading: A,
632
+ valid: O,
633
+ invalid: C,
634
+ floating: D
635
+ } = T(e);
636
+ ie(
637
+ o,
638
+ () => t("change:search", o.value)
639
+ );
640
+ const { hasIcon: L, hasIconLeft: k, hasIconRight: E } = Oe(
641
+ d,
642
+ v
643
+ ), x = c(() => !fe(e.modelValue)), H = c(() => h.value || $.value ? -1 : e.tabindex), { bemCssClasses: M } = ee("vv-select", {
644
+ modifiers: V,
645
+ disabled: h,
646
+ loading: A,
647
+ readonly: $,
648
+ iconLeft: k,
649
+ iconRight: E,
650
+ valid: O,
651
+ invalid: C,
652
+ dirty: x,
653
+ focus: b,
654
+ floating: D
655
+ }), z = c(
656
+ () => e.searchable ? ne.value : e.options
657
+ ), { getOptionLabel: q, getOptionValue: te } = pe(e), ne = c(() => {
658
+ var f;
659
+ return (f = e.options) == null ? void 0 : f.filter((S) => q(S).toLowerCase().includes(o.value.toLowerCase().trim()));
660
+ }), le = c(() => {
661
+ let f = [];
662
+ return Array.isArray(e.modelValue) ? f = e.modelValue : e.modelValue && (f = [e.modelValue]), e.options.filter(
663
+ (S) => f.includes(te(S))
664
+ );
665
+ }), re = c(() => le.value.map((f) => q(f)).join(e.separator));
666
+ Ge(u, () => {
667
+ u.value.open = !1;
668
+ });
669
+ function oe(f) {
670
+ const S = f.target;
671
+ s.value = S.open;
672
+ }
673
+ function K(f) {
674
+ u.value && !e.multiple && (u.value.open = !1), t("update:modelValue", f);
675
+ }
676
+ const g = c(() => ({
677
+ name: e.name,
678
+ options: z.value,
679
+ labelKey: e.labelKey,
680
+ valueKey: e.valueKey,
681
+ disabled: e.disabled,
682
+ labelNoResults: e.labelNoResults,
683
+ multiple: e.multiple,
684
+ maxValues: e.maxValues,
685
+ modelValue: e.modelValue,
686
+ unselectable: e.unselectable
687
+ })), R = c(() => ({
688
+ id: m.value,
689
+ name: e.name,
690
+ tabindex: H.value,
691
+ valid: O.value,
692
+ validLabel: e.validLabel,
693
+ invalid: C.value,
694
+ invalidLabel: e.invalidLabel,
695
+ hintLabel: e.hintLabel,
696
+ loading: A.value,
697
+ loadingLabel: e.loadingLabel,
698
+ disabled: h.value,
699
+ readonly: $.value,
700
+ modifiers: e.modifiers,
701
+ options: z.value,
702
+ labelKey: e.labelKey,
703
+ valueKey: e.valueKey,
704
+ icon: e.icon,
705
+ iconPosition: e.iconPosition,
706
+ floating: e.floating,
707
+ unselectable: e.unselectable,
708
+ multiple: e.multiple,
709
+ label: e.label,
710
+ placeholder: e.placeholder,
711
+ modelValue: e.modelValue
712
+ }));
713
+ return (f, S) => f.native ? (y(), F(St, P({ key: 1 }, a(R), {
714
+ "onUpdate:modelValue": S[4] || (S[4] = (_) => t("update:modelValue", _))
715
+ }), null, 16)) : (y(), I("div", {
716
+ key: 0,
717
+ id: a(m),
718
+ class: ue(a(M))
719
+ }, [
720
+ f.label ? (y(), I("label", {
721
+ key: 0,
722
+ id: `${a(m)}-label`,
723
+ for: f.searchable && s.value ? `${a(m)}-input` : void 0
724
+ }, N(f.label), 9, At)) : w("", !0),
725
+ B("details", {
726
+ ref_key: "dropdown",
727
+ ref: u,
728
+ class: "vv-select__wrapper",
729
+ onClick: S[2] || (S[2] = (_) => a(h) || a($) ? _.preventDefault() : null),
730
+ onKeyup: S[3] || (S[3] = ye((_) => u.value.open = !1, ["esc"])),
731
+ onToggle: oe
732
+ }, [
733
+ B("summary", {
734
+ class: "vv-select__input",
735
+ tabindex: a(H),
736
+ onKeyup: S[1] || (S[1] = ye((_) => f.searchable ? _.preventDefault() : null, ["space"]))
737
+ }, [
738
+ J(f.$slots, "before", {}, () => [
739
+ a(k) ? (y(), F(W, P({
740
+ key: 0,
741
+ class: "vv-select__icon-left"
742
+ }, a(L)), null, 16)) : w("", !0)
743
+ ]),
744
+ f.searchable && s.value ? Ae((y(), I("input", {
745
+ key: 0,
746
+ id: `${a(m)}-input`,
747
+ ref_key: "inputSearch",
748
+ ref: l,
749
+ "onUpdate:modelValue": S[0] || (S[0] = (_) => p.value = _),
750
+ role: "combobox",
751
+ type: "search",
752
+ placeholder: f.searchPlaceholder
753
+ }, null, 8, wt)), [
754
+ [Me, p.value]
755
+ ]) : (y(), I(de, { key: 1 }, [
756
+ Ie(N(a(re) || f.placeholder), 1)
757
+ ], 64)),
758
+ J(f.$slots, "after", {}, () => [
759
+ a(E) ? (y(), F(W, P({
760
+ key: 0,
761
+ class: "vv-select__icon-right"
762
+ }, a(L)), null, 16)) : w("", !0)
763
+ ])
764
+ ], 40, Ot),
765
+ ae(ut, P({
766
+ id: `${a(m)}-dropdown`
767
+ }, a(g), { "onUpdate:modelValue": K }), null, 16, ["id"])
768
+ ], 544),
769
+ ae(a(r), { class: "vv-select__hint" })
770
+ ], 10, kt));
771
+ }
772
+ });
773
+ export {
774
+ Dt as default
775
+ };