@volverjs/ui-vue 0.0.3-beta.3 → 0.0.3

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 (830) hide show
  1. package/README.md +4 -3
  2. package/auto-imports.d.ts +10 -6
  3. package/bin/icons.cjs +8 -8
  4. package/bin/icons.js +8 -8
  5. package/dist/Volver.d.ts +39 -13
  6. package/dist/components/VvAccordion/VvAccordion.es.js +68 -41
  7. package/dist/components/VvAccordion/VvAccordion.umd.js +1 -1
  8. package/dist/components/VvAccordion/index.d.ts +2 -2
  9. package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +128 -79
  10. package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
  11. package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +1 -1
  12. package/dist/components/VvBadge/VvBadge.es.js +22 -17
  13. package/dist/components/VvBadge/VvBadge.umd.js +1 -1
  14. package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +48 -57
  15. package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -1
  16. package/dist/components/VvButton/VvButton.es.js +313 -172
  17. package/dist/components/VvButton/VvButton.umd.js +1 -1
  18. package/dist/components/VvButton/VvButton.vue.d.ts +21 -24
  19. package/dist/components/VvButton/index.d.ts +13 -19
  20. package/dist/components/VvButtonGroup/VvButtonGroup.es.js +55 -40
  21. package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -1
  22. package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +1 -1
  23. package/dist/components/VvCard/VvCard.es.js +22 -24
  24. package/dist/components/VvCard/VvCard.umd.js +1 -1
  25. package/dist/components/VvCheckbox/VvCheckbox.es.js +197 -138
  26. package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
  27. package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +5 -3
  28. package/dist/components/VvCheckbox/index.d.ts +5 -9
  29. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +270 -181
  30. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
  31. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +12 -1
  32. package/dist/components/VvCheckboxGroup/index.d.ts +5 -0
  33. package/dist/components/VvCombobox/VvCombobox.es.js +1127 -452
  34. package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
  35. package/dist/components/VvCombobox/VvCombobox.vue.d.ts +254 -21
  36. package/dist/components/VvCombobox/index.d.ts +134 -13
  37. package/dist/components/VvDialog/VvDialog.es.js +169 -78
  38. package/dist/components/VvDialog/VvDialog.umd.js +1 -1
  39. package/dist/components/VvDialog/VvDialog.vue.d.ts +3 -9
  40. package/dist/components/VvDialog/index.d.ts +16 -4
  41. package/dist/components/VvDropdown/VvDropdown.es.js +331 -90
  42. package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
  43. package/dist/components/VvDropdown/VvDropdown.vue.d.ts +184 -51
  44. package/dist/components/VvDropdown/VvDropdownItem.vue.d.ts +9 -0
  45. package/dist/components/VvDropdown/index.d.ts +73 -31
  46. package/dist/components/VvDropdownItem/VvDropdownItem.es.js +23 -0
  47. package/dist/components/VvDropdownItem/VvDropdownItem.umd.js +1 -0
  48. package/dist/components/VvIcon/VvIcon.es.js +82 -19
  49. package/dist/components/VvIcon/VvIcon.umd.js +1 -1
  50. package/dist/components/VvInputText/VvInputText.es.js +509 -294
  51. package/dist/components/VvInputText/VvInputText.umd.js +1 -1
  52. package/dist/components/VvInputText/VvInputText.vue.d.ts +10 -10
  53. package/dist/components/VvInputText/index.d.ts +4 -4
  54. package/dist/components/VvProgress/VvProgress.es.js +43 -19
  55. package/dist/components/VvProgress/VvProgress.umd.js +1 -1
  56. package/dist/components/VvRadio/VvRadio.es.js +159 -114
  57. package/dist/components/VvRadio/VvRadio.umd.js +1 -1
  58. package/dist/components/VvRadio/VvRadio.vue.d.ts +4 -2
  59. package/dist/components/VvRadio/index.d.ts +5 -3
  60. package/dist/components/VvRadioGroup/VvRadioGroup.es.js +233 -158
  61. package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
  62. package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +12 -1
  63. package/dist/components/VvRadioGroup/index.d.ts +5 -0
  64. package/dist/components/VvSelect/VvSelect.es.js +366 -201
  65. package/dist/components/VvSelect/VvSelect.umd.js +1 -1
  66. package/dist/components/VvSelect/VvSelect.vue.d.ts +33 -17
  67. package/dist/components/VvSelect/index.d.ts +8 -4
  68. package/dist/components/VvTextarea/VvTextarea.es.js +381 -202
  69. package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
  70. package/dist/components/VvTextarea/VvTextarea.vue.d.ts +9 -9
  71. package/dist/components/VvTextarea/index.d.ts +8 -5
  72. package/dist/components/VvTooltip/VvTooltip.es.js +34 -14
  73. package/dist/components/VvTooltip/VvTooltip.umd.js +1 -1
  74. package/dist/components/VvTooltip/VvTooltip.vue.d.ts +11 -5
  75. package/dist/components/VvTooltip/index.d.ts +7 -9
  76. package/dist/components/index.es.js +2324 -1339
  77. package/dist/components/index.umd.js +1 -1
  78. package/dist/composables/dropdown/useInjectDropdown.d.ts +31 -0
  79. package/dist/composables/dropdown/useProvideDropdown.d.ts +36 -0
  80. package/dist/composables/group/useInjectedGroupState.d.ts +4 -4
  81. package/dist/composables/group/useProvideGroupState.d.ts +2 -2
  82. package/dist/composables/useComponentIcon.d.ts +10 -0
  83. package/dist/composables/useModifiers.d.ts +1 -9
  84. package/dist/composables/useOptions.d.ts +2 -1
  85. package/dist/composables/useUniqueId.d.ts +2 -0
  86. package/dist/composables/useVolver.d.ts +2 -0
  87. package/dist/constants.d.ts +29 -4
  88. package/dist/directives/index.d.ts +4 -0
  89. package/dist/directives/v-tooltip.d.ts +3 -0
  90. package/dist/icons.d.ts +9 -0
  91. package/dist/icons.es.js +30 -21
  92. package/dist/icons.umd.js +1 -1
  93. package/dist/index.d.ts +1 -1
  94. package/dist/index.es.js +2463 -1393
  95. package/dist/index.umd.js +1 -1
  96. package/dist/props/index.d.ts +149 -23
  97. package/dist/resolvers/unplugin.es.js +20 -20
  98. package/dist/resolvers/unplugin.umd.js +1 -1
  99. package/dist/stories/CheckboxGroup/CheckboxGroup.settings.d.ts +14 -0
  100. package/dist/stories/Combobox/Combobox.settings.d.ts +226 -3
  101. package/dist/stories/Dropdown/Dropdown.settings.d.ts +138 -28
  102. package/dist/stories/Dropdown/Dropdown.test.d.ts +1 -1
  103. package/dist/stories/InputText/InputText.settings.d.ts +24 -24
  104. package/dist/stories/RadioGroup/RadioGroup.settings.d.ts +14 -0
  105. package/dist/stories/Select/Select.settings.d.ts +15 -1
  106. package/dist/stories/Textarea/Textarea.settings.d.ts +24 -24
  107. package/dist/stories/Tooltip/Tooltip.settings.d.ts +1 -1
  108. package/dist/stories/argTypes.d.ts +164 -3
  109. package/package.json +52 -42
  110. package/src/Volver.ts +145 -33
  111. package/src/assets/icons/detailed/add-circle.svg +12 -1
  112. package/src/assets/icons/detailed/add.svg +8 -1
  113. package/src/assets/icons/detailed/align-center.svg +12 -1
  114. package/src/assets/icons/detailed/align-justify.svg +12 -1
  115. package/src/assets/icons/detailed/align-left.svg +12 -1
  116. package/src/assets/icons/detailed/align-right.svg +12 -1
  117. package/src/assets/icons/detailed/analysis-2.svg +20 -1
  118. package/src/assets/icons/detailed/analysis-3.svg +8 -1
  119. package/src/assets/icons/detailed/analysis.svg +16 -1
  120. package/src/assets/icons/detailed/apple.svg +16 -1
  121. package/src/assets/icons/detailed/arrow-down.svg +8 -1
  122. package/src/assets/icons/detailed/arrow-left.svg +8 -1
  123. package/src/assets/icons/detailed/arrow-right.svg +8 -1
  124. package/src/assets/icons/detailed/arrow-up.svg +8 -1
  125. package/src/assets/icons/detailed/attachment.svg +8 -1
  126. package/src/assets/icons/detailed/back-to-front.svg +17 -1
  127. package/src/assets/icons/detailed/bell-active.svg +14 -1
  128. package/src/assets/icons/detailed/bell.svg +14 -1
  129. package/src/assets/icons/detailed/bold.svg +8 -1
  130. package/src/assets/icons/detailed/bookmark-active.svg +12 -1
  131. package/src/assets/icons/detailed/bookmark.svg +12 -1
  132. package/src/assets/icons/detailed/building.svg +26 -1
  133. package/src/assets/icons/detailed/bullet-list.svg +22 -1
  134. package/src/assets/icons/detailed/calendar.svg +26 -1
  135. package/src/assets/icons/detailed/camera-off.svg +12 -1
  136. package/src/assets/icons/detailed/camera-on.svg +17 -1
  137. package/src/assets/icons/detailed/catalog.svg +15 -1
  138. package/src/assets/icons/detailed/certificate.svg +10 -1
  139. package/src/assets/icons/detailed/chat.svg +6 -1
  140. package/src/assets/icons/detailed/check-badge.svg +9 -1
  141. package/src/assets/icons/detailed/check-circle.svg +10 -1
  142. package/src/assets/icons/detailed/check.svg +6 -1
  143. package/src/assets/icons/detailed/checkbox.svg +8 -1
  144. package/src/assets/icons/detailed/chevron-down-circle.svg +10 -1
  145. package/src/assets/icons/detailed/chevron-down.svg +6 -1
  146. package/src/assets/icons/detailed/chevron-left-circle.svg +10 -1
  147. package/src/assets/icons/detailed/chevron-left.svg +6 -1
  148. package/src/assets/icons/detailed/chevron-right-circle.svg +7 -1
  149. package/src/assets/icons/detailed/chevron-up-circle.svg +10 -1
  150. package/src/assets/icons/detailed/chevron-up.svg +6 -1
  151. package/src/assets/icons/detailed/circle.svg +8 -0
  152. package/src/assets/icons/detailed/classroom.svg +38 -1
  153. package/src/assets/icons/detailed/clear-field.svg +14 -1
  154. package/src/assets/icons/detailed/clear-style.svg +9 -1
  155. package/src/assets/icons/detailed/close-circle.svg +14 -1
  156. package/src/assets/icons/detailed/close-loader.svg +6 -1
  157. package/src/assets/icons/detailed/close.svg +8 -1
  158. package/src/assets/icons/detailed/coffee.svg +21 -1
  159. package/src/assets/icons/detailed/color.svg +20 -1
  160. package/src/assets/icons/detailed/contact-us.svg +27 -1
  161. package/src/assets/icons/detailed/copy.svg +10 -1
  162. package/src/assets/icons/detailed/courses.svg +22 -1
  163. package/src/assets/icons/detailed/dashboard.svg +20 -1
  164. package/src/assets/icons/detailed/download.svg +10 -1
  165. package/src/assets/icons/detailed/drag.svg +10 -1
  166. package/src/assets/icons/detailed/duplicate.svg +23 -1
  167. package/src/assets/icons/detailed/edit.svg +16 -1
  168. package/src/assets/icons/detailed/elearning.svg +13 -1
  169. package/src/assets/icons/detailed/email.svg +11 -1
  170. package/src/assets/icons/detailed/error-2.svg +8 -1
  171. package/src/assets/icons/detailed/error.svg +12 -1
  172. package/src/assets/icons/detailed/exercise.svg +26 -1
  173. package/src/assets/icons/detailed/external-link.svg +11 -1
  174. package/src/assets/icons/detailed/extract.svg +20 -1
  175. package/src/assets/icons/detailed/eye-off.svg +15 -1
  176. package/src/assets/icons/detailed/eye-on.svg +8 -1
  177. package/src/assets/icons/detailed/fail.svg +11 -1
  178. package/src/assets/icons/detailed/fast-back.svg +20 -1
  179. package/src/assets/icons/detailed/fast-forward.svg +20 -1
  180. package/src/assets/icons/detailed/file-add.svg +19 -1
  181. package/src/assets/icons/detailed/file-duplicate.svg +16 -1
  182. package/src/assets/icons/detailed/file-remove.svg +17 -1
  183. package/src/assets/icons/detailed/file-required.svg +23 -1
  184. package/src/assets/icons/detailed/file.svg +13 -1
  185. package/src/assets/icons/detailed/filter-2.svg +22 -1
  186. package/src/assets/icons/detailed/filter-active.svg +12 -1
  187. package/src/assets/icons/detailed/filter.svg +12 -1
  188. package/src/assets/icons/detailed/flag.svg +11 -1
  189. package/src/assets/icons/detailed/folder.svg +14 -1
  190. package/src/assets/icons/detailed/full-width.svg +11 -1
  191. package/src/assets/icons/detailed/go-to-back.svg +19 -1
  192. package/src/assets/icons/detailed/grid.svg +20 -1
  193. package/src/assets/icons/detailed/group-add.svg +24 -1
  194. package/src/assets/icons/detailed/group.svg +16 -1
  195. package/src/assets/icons/detailed/heart-active.svg +12 -1
  196. package/src/assets/icons/detailed/heart.svg +12 -1
  197. package/src/assets/icons/detailed/highlighter.svg +10 -1
  198. package/src/assets/icons/detailed/home.svg +12 -1
  199. package/src/assets/icons/detailed/hourglass.svg +12 -1
  200. package/src/assets/icons/detailed/image.svg +15 -1
  201. package/src/assets/icons/detailed/info-badge.svg +9 -1
  202. package/src/assets/icons/detailed/information.svg +12 -1
  203. package/src/assets/icons/detailed/italic.svg +10 -1
  204. package/src/assets/icons/detailed/key.svg +5 -1
  205. package/src/assets/icons/detailed/language.svg +14 -1
  206. package/src/assets/icons/detailed/learning-path.svg +7 -1
  207. package/src/assets/icons/detailed/light-off.svg +10 -1
  208. package/src/assets/icons/detailed/light-on.svg +18 -1
  209. package/src/assets/icons/detailed/link.svg +12 -1
  210. package/src/assets/icons/detailed/lock.svg +13 -1
  211. package/src/assets/icons/detailed/login.svg +11 -1
  212. package/src/assets/icons/detailed/logout.svg +11 -1
  213. package/src/assets/icons/detailed/maximaze.svg +12 -1
  214. package/src/assets/icons/detailed/menu.svg +9 -1
  215. package/src/assets/icons/detailed/merge.svg +20 -1
  216. package/src/assets/icons/detailed/minimize.svg +14 -1
  217. package/src/assets/icons/detailed/mixed-class.svg +40 -1
  218. package/src/assets/icons/detailed/more-horizontal.svg +7 -1
  219. package/src/assets/icons/detailed/more-vertical.svg +7 -1
  220. package/src/assets/icons/detailed/news.svg +12 -1
  221. package/src/assets/icons/detailed/no-prerequisites.svg +13 -1
  222. package/src/assets/icons/detailed/notes.svg +14 -1
  223. package/src/assets/icons/detailed/number-code.svg +34 -1
  224. package/src/assets/icons/detailed/numbered-list.svg +18 -1
  225. package/src/assets/icons/detailed/on-site.svg +22 -1
  226. package/src/assets/icons/detailed/order-down.svg +12 -1
  227. package/src/assets/icons/detailed/order-up.svg +12 -1
  228. package/src/assets/icons/detailed/paste.svg +14 -1
  229. package/src/assets/icons/detailed/pausa.svg +8 -1
  230. package/src/assets/icons/detailed/pdf.svg +12 -1
  231. package/src/assets/icons/detailed/phone.svg +10 -1
  232. package/src/assets/icons/detailed/pin-map.svg +12 -1
  233. package/src/assets/icons/detailed/pin.svg +15 -1
  234. package/src/assets/icons/detailed/pizza.svg +17 -1
  235. package/src/assets/icons/detailed/play.svg +11 -1
  236. package/src/assets/icons/detailed/plug-in.svg +10 -1
  237. package/src/assets/icons/detailed/pointer.svg +12 -1
  238. package/src/assets/icons/detailed/printer.svg +26 -1
  239. package/src/assets/icons/detailed/profile-add.svg +20 -1
  240. package/src/assets/icons/detailed/profile.svg +10 -1
  241. package/src/assets/icons/detailed/push-pin-off.svg +11 -1
  242. package/src/assets/icons/detailed/push-pin-on.svg +9 -1
  243. package/src/assets/icons/detailed/qrcode.svg +28 -1
  244. package/src/assets/icons/detailed/question-badge.svg +10 -1
  245. package/src/assets/icons/detailed/radio.svg +8 -1
  246. package/src/assets/icons/detailed/redo.svg +9 -1
  247. package/src/assets/icons/detailed/relations.svg +32 -1
  248. package/src/assets/icons/detailed/reload.svg +13 -1
  249. package/src/assets/icons/detailed/remove-circle.svg +10 -1
  250. package/src/assets/icons/detailed/remove.svg +5 -1
  251. package/src/assets/icons/detailed/reorder.svg +12 -1
  252. package/src/assets/icons/detailed/repeat.svg +12 -1
  253. package/src/assets/icons/detailed/repository.svg +18 -1
  254. package/src/assets/icons/detailed/request-form.svg +18 -1
  255. package/src/assets/icons/detailed/resize-100%.svg +15 -1
  256. package/src/assets/icons/detailed/resize-height.svg +12 -1
  257. package/src/assets/icons/detailed/resize-width.svg +12 -1
  258. package/src/assets/icons/detailed/search.svg +12 -1
  259. package/src/assets/icons/detailed/sequential-prerequisites.svg +20 -1
  260. package/src/assets/icons/detailed/settings.svg +14 -1
  261. package/src/assets/icons/detailed/share.svg +20 -1
  262. package/src/assets/icons/detailed/sketch.svg +12 -1
  263. package/src/assets/icons/detailed/skills.svg +20 -1
  264. package/src/assets/icons/detailed/skip-back.svg +12 -1
  265. package/src/assets/icons/detailed/skip-forward.svg +13 -1
  266. package/src/assets/icons/detailed/sms.svg +18 -1
  267. package/src/assets/icons/detailed/sso-access.svg +18 -1
  268. package/src/assets/icons/detailed/star-active.svg +6 -1
  269. package/src/assets/icons/detailed/star.svg +6 -1
  270. package/src/assets/icons/detailed/success.svg +10 -1
  271. package/src/assets/icons/detailed/sun.svg +24 -1
  272. package/src/assets/icons/detailed/sunrise.svg +18 -1
  273. package/src/assets/icons/detailed/support.svg +18 -1
  274. package/src/assets/icons/detailed/survey.svg +24 -1
  275. package/src/assets/icons/detailed/table.svg +11 -1
  276. package/src/assets/icons/detailed/tematic-channels.svg +12 -1
  277. package/src/assets/icons/detailed/test.svg +14 -1
  278. package/src/assets/icons/detailed/text-body.svg +8 -1
  279. package/src/assets/icons/detailed/text-edit.svg +11 -1
  280. package/src/assets/icons/detailed/text-style.svg +10 -1
  281. package/src/assets/icons/detailed/time.svg +10 -1
  282. package/src/assets/icons/detailed/toilet-piper.svg +15 -1
  283. package/src/assets/icons/detailed/training-points.svg +16 -1
  284. package/src/assets/icons/detailed/trash.svg +19 -1
  285. package/src/assets/icons/detailed/underline.svg +8 -1
  286. package/src/assets/icons/detailed/undo.svg +9 -1
  287. package/src/assets/icons/detailed/unlock.svg +13 -1
  288. package/src/assets/icons/detailed/upload.svg +10 -1
  289. package/src/assets/icons/detailed/user-add.svg +16 -1
  290. package/src/assets/icons/detailed/user-badge.svg +11 -1
  291. package/src/assets/icons/detailed/user.svg +8 -1
  292. package/src/assets/icons/detailed/video-off.svg +17 -1
  293. package/src/assets/icons/detailed/video-on.svg +16 -1
  294. package/src/assets/icons/detailed/video-rec.svg +19 -1
  295. package/src/assets/icons/detailed/view-card.svg +12 -1
  296. package/src/assets/icons/detailed/view-list.svg +20 -1
  297. package/src/assets/icons/detailed/view.svg +7 -1
  298. package/src/assets/icons/detailed/voice-off.svg +14 -1
  299. package/src/assets/icons/detailed/voice-on.svg +16 -1
  300. package/src/assets/icons/detailed/volume-down.svg +14 -1
  301. package/src/assets/icons/detailed/volume-off.svg +19 -1
  302. package/src/assets/icons/detailed/volume-up.svg +16 -1
  303. package/src/assets/icons/detailed/warning.svg +16 -1
  304. package/src/assets/icons/detailed/webinar.svg +57 -1
  305. package/src/assets/icons/detailed/whiteboard.svg +16 -1
  306. package/src/assets/icons/detailed/wine.svg +22 -1
  307. package/src/assets/icons/detailed/zip.svg +17 -1
  308. package/src/assets/icons/detailed/zoom-in.svg +18 -1
  309. package/src/assets/icons/detailed/zoom-out.svg +16 -1
  310. package/src/assets/icons/detailed.json +1 -1
  311. package/src/assets/icons/normal/add-circle.svg +12 -1
  312. package/src/assets/icons/normal/add.svg +4 -1
  313. package/src/assets/icons/normal/align-center.svg +11 -1
  314. package/src/assets/icons/normal/align-justify.svg +11 -1
  315. package/src/assets/icons/normal/align-left.svg +11 -1
  316. package/src/assets/icons/normal/align-right.svg +11 -1
  317. package/src/assets/icons/normal/analysis-2.svg +18 -1
  318. package/src/assets/icons/normal/analysis-3.svg +8 -1
  319. package/src/assets/icons/normal/analysis.svg +14 -1
  320. package/src/assets/icons/normal/apple.svg +16 -1
  321. package/src/assets/icons/normal/arrow-down.svg +8 -1
  322. package/src/assets/icons/normal/arrow-left.svg +8 -1
  323. package/src/assets/icons/normal/arrow-right.svg +8 -1
  324. package/src/assets/icons/normal/arrow-up.svg +8 -1
  325. package/src/assets/icons/normal/attachment.svg +6 -1
  326. package/src/assets/icons/normal/back-to-front.svg +15 -1
  327. package/src/assets/icons/normal/bell-active.svg +14 -1
  328. package/src/assets/icons/normal/bell.svg +14 -1
  329. package/src/assets/icons/normal/bold.svg +8 -1
  330. package/src/assets/icons/normal/bookmark active.svg +12 -1
  331. package/src/assets/icons/normal/bookmark.svg +10 -1
  332. package/src/assets/icons/normal/building.svg +21 -1
  333. package/src/assets/icons/normal/bulleted-list.svg +23 -1
  334. package/src/assets/icons/normal/calendar.svg +20 -1
  335. package/src/assets/icons/normal/camera-off.svg +17 -1
  336. package/src/assets/icons/normal/camera-on.svg +16 -1
  337. package/src/assets/icons/normal/catalog.svg +13 -1
  338. package/src/assets/icons/normal/certificate.svg +12 -1
  339. package/src/assets/icons/normal/chat.svg +6 -1
  340. package/src/assets/icons/normal/check-badge.svg +9 -1
  341. package/src/assets/icons/normal/check-circle.svg +10 -1
  342. package/src/assets/icons/normal/check.svg +4 -1
  343. package/src/assets/icons/normal/checkbox.svg +8 -1
  344. package/src/assets/icons/normal/chevron-down-circle.svg +10 -1
  345. package/src/assets/icons/normal/chevron-down.svg +6 -1
  346. package/src/assets/icons/normal/chevron-left-circle.svg +10 -1
  347. package/src/assets/icons/normal/chevron-left.svg +6 -1
  348. package/src/assets/icons/normal/chevron-right-circle.svg +10 -1
  349. package/src/assets/icons/normal/chevron-right.svg +7 -1
  350. package/src/assets/icons/normal/chevron-up-circle.svg +10 -1
  351. package/src/assets/icons/normal/chevron-up.svg +6 -1
  352. package/src/assets/icons/normal/circle.svg +8 -0
  353. package/src/assets/icons/normal/classroom.svg +36 -1
  354. package/src/assets/icons/normal/clear-field.svg +14 -1
  355. package/src/assets/icons/normal/clear-style.svg +18 -1
  356. package/src/assets/icons/normal/close-circle.svg +14 -1
  357. package/src/assets/icons/normal/close-loader.svg +6 -1
  358. package/src/assets/icons/normal/close.svg +8 -1
  359. package/src/assets/icons/normal/coffee.svg +26 -1
  360. package/src/assets/icons/normal/color.svg +18 -1
  361. package/src/assets/icons/normal/contact-us.svg +29 -1
  362. package/src/assets/icons/normal/copy.svg +10 -1
  363. package/src/assets/icons/normal/courses.svg +22 -1
  364. package/src/assets/icons/normal/dashboard.svg +18 -1
  365. package/src/assets/icons/normal/download.svg +10 -1
  366. package/src/assets/icons/normal/drag.svg +5 -1
  367. package/src/assets/icons/normal/dulicate.svg +22 -1
  368. package/src/assets/icons/normal/edit.svg +16 -1
  369. package/src/assets/icons/normal/elearning.svg +16 -1
  370. package/src/assets/icons/normal/email.svg +11 -1
  371. package/src/assets/icons/normal/error-2.svg +8 -1
  372. package/src/assets/icons/normal/error.svg +12 -1
  373. package/src/assets/icons/normal/exercise.svg +26 -1
  374. package/src/assets/icons/normal/external-link.svg +11 -1
  375. package/src/assets/icons/normal/extract.svg +14 -1
  376. package/src/assets/icons/normal/eye-off.svg +14 -1
  377. package/src/assets/icons/normal/eye-on.svg +16 -1
  378. package/src/assets/icons/normal/fail.svg +11 -1
  379. package/src/assets/icons/normal/fast-back.svg +19 -1
  380. package/src/assets/icons/normal/fast-forward.svg +17 -1
  381. package/src/assets/icons/normal/file-add.svg +16 -1
  382. package/src/assets/icons/normal/file-duplicate.svg +22 -1
  383. package/src/assets/icons/normal/file-remove.svg +14 -1
  384. package/src/assets/icons/normal/file-required.svg +24 -1
  385. package/src/assets/icons/normal/file.svg +13 -1
  386. package/src/assets/icons/normal/filter-2.svg +20 -1
  387. package/src/assets/icons/normal/filter-active.svg +12 -1
  388. package/src/assets/icons/normal/filter.svg +12 -1
  389. package/src/assets/icons/normal/flag.svg +10 -1
  390. package/src/assets/icons/normal/folder.svg +12 -1
  391. package/src/assets/icons/normal/full-width.svg +9 -1
  392. package/src/assets/icons/normal/go-to-back.svg +19 -1
  393. package/src/assets/icons/normal/grid.svg +20 -1
  394. package/src/assets/icons/normal/group-add.svg +18 -1
  395. package/src/assets/icons/normal/group.svg +14 -1
  396. package/src/assets/icons/normal/heart-active.svg +10 -1
  397. package/src/assets/icons/normal/heart.svg +10 -1
  398. package/src/assets/icons/normal/highlighter.svg +11 -1
  399. package/src/assets/icons/normal/home.svg +12 -1
  400. package/src/assets/icons/normal/hourglass.svg +8 -1
  401. package/src/assets/icons/normal/image.svg +15 -1
  402. package/src/assets/icons/normal/info-badge.svg +9 -1
  403. package/src/assets/icons/normal/information.svg +12 -1
  404. package/src/assets/icons/normal/italic.svg +10 -1
  405. package/src/assets/icons/normal/key.svg +8 -1
  406. package/src/assets/icons/normal/language.svg +14 -1
  407. package/src/assets/icons/normal/learning-path.svg +7 -1
  408. package/src/assets/icons/normal/light-off.svg +10 -1
  409. package/src/assets/icons/normal/light-on.svg +17 -1
  410. package/src/assets/icons/normal/link.svg +12 -1
  411. package/src/assets/icons/normal/lock.svg +12 -1
  412. package/src/assets/icons/normal/login.svg +10 -1
  413. package/src/assets/icons/normal/logout.svg +10 -1
  414. package/src/assets/icons/normal/maximize.svg +10 -1
  415. package/src/assets/icons/normal/menu.svg +8 -1
  416. package/src/assets/icons/normal/merge.svg +20 -1
  417. package/src/assets/icons/normal/minimize.svg +12 -1
  418. package/src/assets/icons/normal/mixed-class.svg +36 -1
  419. package/src/assets/icons/normal/more-horizontal.svg +7 -1
  420. package/src/assets/icons/normal/more-vertical.svg +7 -1
  421. package/src/assets/icons/normal/news.svg +9 -1
  422. package/src/assets/icons/normal/no-prerequisites.svg +12 -1
  423. package/src/assets/icons/normal/notes.svg +15 -1
  424. package/src/assets/icons/normal/number-code.svg +34 -1
  425. package/src/assets/icons/normal/numbered-list.svg +19 -1
  426. package/src/assets/icons/normal/on-site.svg +18 -1
  427. package/src/assets/icons/normal/order-down.svg +12 -1
  428. package/src/assets/icons/normal/order-up.svg +11 -1
  429. package/src/assets/icons/normal/paste.svg +14 -1
  430. package/src/assets/icons/normal/pausa.svg +7 -1
  431. package/src/assets/icons/normal/pdf.svg +12 -1
  432. package/src/assets/icons/normal/phone.svg +10 -1
  433. package/src/assets/icons/normal/pin-map.svg +10 -1
  434. package/src/assets/icons/normal/pin.svg +12 -1
  435. package/src/assets/icons/normal/pizza.svg +17 -1
  436. package/src/assets/icons/normal/play.svg +9 -1
  437. package/src/assets/icons/normal/plug-in.svg +10 -1
  438. package/src/assets/icons/normal/pointer.svg +12 -1
  439. package/src/assets/icons/normal/printer.svg +28 -1
  440. package/src/assets/icons/normal/profile-add.svg +28 -1
  441. package/src/assets/icons/normal/profile.svg +15 -1
  442. package/src/assets/icons/normal/push pin on.svg +9 -1
  443. package/src/assets/icons/normal/push-pin-off.svg +23 -1
  444. package/src/assets/icons/normal/qrcode.svg +26 -1
  445. package/src/assets/icons/normal/question-badge.svg +10 -1
  446. package/src/assets/icons/normal/radio.svg +8 -1
  447. package/src/assets/icons/normal/redo.svg +9 -1
  448. package/src/assets/icons/normal/relations.svg +28 -1
  449. package/src/assets/icons/normal/reload.svg +12 -1
  450. package/src/assets/icons/normal/remove-circle.svg +10 -1
  451. package/src/assets/icons/normal/remove.svg +4 -1
  452. package/src/assets/icons/normal/reorder.svg +12 -1
  453. package/src/assets/icons/normal/repeat.svg +12 -1
  454. package/src/assets/icons/normal/repository.svg +18 -1
  455. package/src/assets/icons/normal/request-form.svg +18 -1
  456. package/src/assets/icons/normal/resize-100%.svg +17 -1
  457. package/src/assets/icons/normal/resize-height.svg +12 -1
  458. package/src/assets/icons/normal/resize-width.svg +12 -1
  459. package/src/assets/icons/normal/search.svg +10 -1
  460. package/src/assets/icons/normal/sequential-prerequisites.svg +20 -1
  461. package/src/assets/icons/normal/settings.svg +14 -1
  462. package/src/assets/icons/normal/share.svg +20 -1
  463. package/src/assets/icons/normal/sketch.svg +11 -1
  464. package/src/assets/icons/normal/skills.svg +16 -1
  465. package/src/assets/icons/normal/skip-back.svg +12 -1
  466. package/src/assets/icons/normal/skip-forward.svg +13 -1
  467. package/src/assets/icons/normal/sms.svg +20 -1
  468. package/src/assets/icons/normal/sso-access.svg +20 -1
  469. package/src/assets/icons/normal/star-active.svg +4 -1
  470. package/src/assets/icons/normal/star.svg +4 -1
  471. package/src/assets/icons/normal/success.svg +10 -1
  472. package/src/assets/icons/normal/sun.svg +24 -1
  473. package/src/assets/icons/normal/sunrise.svg +18 -1
  474. package/src/assets/icons/normal/support.svg +18 -1
  475. package/src/assets/icons/normal/survey.svg +24 -1
  476. package/src/assets/icons/normal/table.svg +11 -1
  477. package/src/assets/icons/normal/tematic-channels.svg +10 -1
  478. package/src/assets/icons/normal/test.svg +15 -1
  479. package/src/assets/icons/normal/text-body.svg +8 -1
  480. package/src/assets/icons/normal/text-edit.svg +11 -1
  481. package/src/assets/icons/normal/text-style.svg +10 -1
  482. package/src/assets/icons/normal/time.svg +10 -1
  483. package/src/assets/icons/normal/toilet-paper.svg +15 -1
  484. package/src/assets/icons/normal/training-points.svg +16 -1
  485. package/src/assets/icons/normal/trash.svg +19 -1
  486. package/src/assets/icons/normal/underline.svg +8 -1
  487. package/src/assets/icons/normal/undo.svg +9 -1
  488. package/src/assets/icons/normal/unlock.svg +13 -1
  489. package/src/assets/icons/normal/upload.svg +10 -1
  490. package/src/assets/icons/normal/user-add.svg +14 -1
  491. package/src/assets/icons/normal/user-badge.svg +11 -1
  492. package/src/assets/icons/normal/user.svg +5 -1
  493. package/src/assets/icons/normal/video-off.svg +11 -1
  494. package/src/assets/icons/normal/video-on.svg +20 -1
  495. package/src/assets/icons/normal/video-rec.svg +23 -1
  496. package/src/assets/icons/normal/view-card.svg +10 -1
  497. package/src/assets/icons/normal/view-list.svg +18 -1
  498. package/src/assets/icons/normal/view.svg +8 -1
  499. package/src/assets/icons/normal/voice-off.svg +18 -1
  500. package/src/assets/icons/normal/voice-on.svg +15 -1
  501. package/src/assets/icons/normal/volume-down.svg +14 -1
  502. package/src/assets/icons/normal/volume-off.svg +18 -1
  503. package/src/assets/icons/normal/volume-up.svg +16 -1
  504. package/src/assets/icons/normal/warning.svg +16 -1
  505. package/src/assets/icons/normal/webinar.svg +36 -1
  506. package/src/assets/icons/normal/whiteboard.svg +17 -1
  507. package/src/assets/icons/normal/wine.svg +22 -1
  508. package/src/assets/icons/normal/zip.svg +19 -1
  509. package/src/assets/icons/normal/zoom-in.svg +16 -1
  510. package/src/assets/icons/normal/zoom-out.svg +14 -1
  511. package/src/assets/icons/normal.json +1 -1
  512. package/src/assets/icons/simple/add-circle.svg +12 -1
  513. package/src/assets/icons/simple/add.svg +8 -1
  514. package/src/assets/icons/simple/align-center.svg +12 -1
  515. package/src/assets/icons/simple/align-justify.svg +12 -1
  516. package/src/assets/icons/simple/align-left.svg +12 -1
  517. package/src/assets/icons/simple/align-right.svg +12 -1
  518. package/src/assets/icons/simple/analysis-2.svg +21 -1
  519. package/src/assets/icons/simple/analysis-3.svg +8 -1
  520. package/src/assets/icons/simple/analysis.svg +16 -1
  521. package/src/assets/icons/simple/apple.svg +18 -1
  522. package/src/assets/icons/simple/arrow-down.svg +8 -1
  523. package/src/assets/icons/simple/arrow-left.svg +8 -1
  524. package/src/assets/icons/simple/arrow-right.svg +8 -1
  525. package/src/assets/icons/simple/arrow-up.svg +8 -1
  526. package/src/assets/icons/simple/attachment.svg +10 -1
  527. package/src/assets/icons/simple/bck-to-front.svg +19 -1
  528. package/src/assets/icons/simple/bell-active.svg +14 -1
  529. package/src/assets/icons/simple/bell.svg +14 -1
  530. package/src/assets/icons/simple/bold.svg +8 -1
  531. package/src/assets/icons/simple/bookmark-active.svg +12 -1
  532. package/src/assets/icons/simple/bookmark.svg +12 -1
  533. package/src/assets/icons/simple/building.svg +25 -1
  534. package/src/assets/icons/simple/bulleted-list.svg +22 -1
  535. package/src/assets/icons/simple/calendar.svg +22 -1
  536. package/src/assets/icons/simple/camera-off.svg +12 -1
  537. package/src/assets/icons/simple/camera-on.svg +16 -1
  538. package/src/assets/icons/simple/catalog.svg +14 -1
  539. package/src/assets/icons/simple/certificate.svg +15 -1
  540. package/src/assets/icons/simple/chat.svg +9 -1
  541. package/src/assets/icons/simple/check-badge.svg +9 -1
  542. package/src/assets/icons/simple/check-circle.svg +10 -1
  543. package/src/assets/icons/simple/check.svg +6 -1
  544. package/src/assets/icons/simple/checkbox.svg +6 -1
  545. package/src/assets/icons/simple/chevron-down-circle.svg +10 -1
  546. package/src/assets/icons/simple/chevron-down.svg +6 -1
  547. package/src/assets/icons/simple/chevron-left-circle.svg +10 -1
  548. package/src/assets/icons/simple/chevron-left.svg +6 -1
  549. package/src/assets/icons/simple/chevron-right-circle.svg +10 -1
  550. package/src/assets/icons/simple/chevron-right.svg +7 -1
  551. package/src/assets/icons/simple/chevron-up-circle.svg +10 -1
  552. package/src/assets/icons/simple/chevron-up.svg +6 -1
  553. package/src/assets/icons/simple/circle.svg +8 -0
  554. package/src/assets/icons/simple/classroom.svg +38 -1
  555. package/src/assets/icons/simple/clear-field.svg +11 -1
  556. package/src/assets/icons/simple/clear-style.svg +15 -1
  557. package/src/assets/icons/simple/close-circle.svg +14 -1
  558. package/src/assets/icons/simple/close-loader.svg +6 -1
  559. package/src/assets/icons/simple/close.svg +10 -1
  560. package/src/assets/icons/simple/coffee.svg +28 -1
  561. package/src/assets/icons/simple/color.svg +20 -1
  562. package/src/assets/icons/simple/contact-us.svg +26 -1
  563. package/src/assets/icons/simple/copy.svg +10 -1
  564. package/src/assets/icons/simple/courses.svg +21 -1
  565. package/src/assets/icons/simple/dashboard.svg +20 -1
  566. package/src/assets/icons/simple/download.svg +10 -1
  567. package/src/assets/icons/simple/drag.svg +10 -1
  568. package/src/assets/icons/simple/duplicate.svg +24 -1
  569. package/src/assets/icons/simple/edit.svg +17 -1
  570. package/src/assets/icons/simple/elearning.svg +17 -1
  571. package/src/assets/icons/simple/email.svg +11 -1
  572. package/src/assets/icons/simple/error-2.svg +8 -1
  573. package/src/assets/icons/simple/error.svg +12 -1
  574. package/src/assets/icons/simple/exercise.svg +30 -1
  575. package/src/assets/icons/simple/external-link.svg +13 -1
  576. package/src/assets/icons/simple/extract.svg +17 -1
  577. package/src/assets/icons/simple/eye-off.svg +13 -1
  578. package/src/assets/icons/simple/eye-on.svg +11 -1
  579. package/src/assets/icons/simple/fail.svg +11 -1
  580. package/src/assets/icons/simple/fast-back.svg +20 -1
  581. package/src/assets/icons/simple/fast-forward.svg +19 -1
  582. package/src/assets/icons/simple/file-add.svg +20 -1
  583. package/src/assets/icons/simple/file-duplicate.svg +22 -1
  584. package/src/assets/icons/simple/file-remove.svg +18 -1
  585. package/src/assets/icons/simple/file-required.svg +24 -1
  586. package/src/assets/icons/simple/file.svg +14 -1
  587. package/src/assets/icons/simple/filter-2.svg +24 -1
  588. package/src/assets/icons/simple/filter-active.svg +13 -1
  589. package/src/assets/icons/simple/filter.svg +12 -1
  590. package/src/assets/icons/simple/flag.svg +12 -1
  591. package/src/assets/icons/simple/folder.svg +14 -1
  592. package/src/assets/icons/simple/full-width.svg +11 -1
  593. package/src/assets/icons/simple/go-to-back.svg +18 -1
  594. package/src/assets/icons/simple/grid.svg +20 -1
  595. package/src/assets/icons/simple/group-add.svg +24 -1
  596. package/src/assets/icons/simple/group.svg +18 -1
  597. package/src/assets/icons/simple/heart-active.svg +12 -1
  598. package/src/assets/icons/simple/heart.svg +12 -1
  599. package/src/assets/icons/simple/highlighter.svg +12 -1
  600. package/src/assets/icons/simple/home.svg +13 -1
  601. package/src/assets/icons/simple/hourglass.svg +11 -1
  602. package/src/assets/icons/simple/image.svg +15 -1
  603. package/src/assets/icons/simple/info-badge.svg +9 -1
  604. package/src/assets/icons/simple/information.svg +12 -1
  605. package/src/assets/icons/simple/italic.svg +12 -1
  606. package/src/assets/icons/simple/key.svg +11 -1
  607. package/src/assets/icons/simple/language.svg +12 -1
  608. package/src/assets/icons/simple/learning-path.svg +9 -1
  609. package/src/assets/icons/simple/light-off.svg +7 -1
  610. package/src/assets/icons/simple/light-on.svg +18 -1
  611. package/src/assets/icons/simple/link.svg +14 -1
  612. package/src/assets/icons/simple/lock.svg +13 -1
  613. package/src/assets/icons/simple/login.svg +11 -1
  614. package/src/assets/icons/simple/logout.svg +11 -1
  615. package/src/assets/icons/simple/maximaze.svg +12 -1
  616. package/src/assets/icons/simple/menu.svg +10 -1
  617. package/src/assets/icons/simple/merge.svg +20 -1
  618. package/src/assets/icons/simple/minimaze.svg +12 -1
  619. package/src/assets/icons/simple/mixed-class.svg +40 -1
  620. package/src/assets/icons/simple/more-horizontal.svg +8 -1
  621. package/src/assets/icons/simple/more-vertical.svg +8 -1
  622. package/src/assets/icons/simple/news.svg +12 -1
  623. package/src/assets/icons/simple/no-prerequisites.svg +17 -1
  624. package/src/assets/icons/simple/notes.svg +14 -1
  625. package/src/assets/icons/simple/number-code.svg +29 -1
  626. package/src/assets/icons/simple/numbered-list.svg +18 -1
  627. package/src/assets/icons/simple/on-site.svg +18 -1
  628. package/src/assets/icons/simple/order-down.svg +12 -1
  629. package/src/assets/icons/simple/order-up.svg +12 -1
  630. package/src/assets/icons/simple/paste.svg +14 -1
  631. package/src/assets/icons/simple/pausa.svg +8 -1
  632. package/src/assets/icons/simple/pdf.svg +12 -1
  633. package/src/assets/icons/simple/phone.svg +10 -1
  634. package/src/assets/icons/simple/pin-map.svg +13 -1
  635. package/src/assets/icons/simple/pin.svg +14 -1
  636. package/src/assets/icons/simple/pizza.svg +17 -1
  637. package/src/assets/icons/simple/play.svg +10 -1
  638. package/src/assets/icons/simple/plug-in.svg +10 -1
  639. package/src/assets/icons/simple/pointer.svg +6 -1
  640. package/src/assets/icons/simple/printer.svg +28 -1
  641. package/src/assets/icons/simple/profile-add.svg +28 -1
  642. package/src/assets/icons/simple/profile.svg +13 -1
  643. package/src/assets/icons/simple/push-pin-off.svg +11 -1
  644. package/src/assets/icons/simple/push-pin-on.svg +12 -1
  645. package/src/assets/icons/simple/qrcode.svg +26 -1
  646. package/src/assets/icons/simple/question-badge.svg +10 -1
  647. package/src/assets/icons/simple/radio.svg +8 -1
  648. package/src/assets/icons/simple/redo.svg +9 -1
  649. package/src/assets/icons/simple/relations.svg +28 -1
  650. package/src/assets/icons/simple/reload.svg +12 -1
  651. package/src/assets/icons/simple/remove-circle.svg +10 -1
  652. package/src/assets/icons/simple/remove.svg +6 -1
  653. package/src/assets/icons/simple/repeart.svg +14 -1
  654. package/src/assets/icons/simple/repository.svg +18 -1
  655. package/src/assets/icons/simple/request-form.svg +20 -1
  656. package/src/assets/icons/simple/resize-100%.svg +15 -1
  657. package/src/assets/icons/simple/resize-height.svg +12 -1
  658. package/src/assets/icons/simple/resize-width.svg +14 -1
  659. package/src/assets/icons/simple/search.svg +10 -1
  660. package/src/assets/icons/simple/sequential-prerequisites.svg +22 -1
  661. package/src/assets/icons/simple/settings.svg +17 -1
  662. package/src/assets/icons/simple/share.svg +21 -1
  663. package/src/assets/icons/simple/sketch.svg +13 -1
  664. package/src/assets/icons/simple/skills.svg +17 -1
  665. package/src/assets/icons/simple/skip-back.svg +14 -1
  666. package/src/assets/icons/simple/skip-forward.svg +14 -1
  667. package/src/assets/icons/simple/sms.svg +22 -1
  668. package/src/assets/icons/simple/sso-access.svg +20 -1
  669. package/src/assets/icons/simple/star-active.svg +6 -1
  670. package/src/assets/icons/simple/star.svg +6 -1
  671. package/src/assets/icons/simple/success.svg +12 -1
  672. package/src/assets/icons/simple/sun.svg +22 -1
  673. package/src/assets/icons/simple/sunrise.svg +18 -1
  674. package/src/assets/icons/simple/support.svg +18 -1
  675. package/src/assets/icons/simple/survey.svg +32 -1
  676. package/src/assets/icons/simple/table.svg +11 -1
  677. package/src/assets/icons/simple/tematic-channels.svg +15 -1
  678. package/src/assets/icons/simple/test.svg +23 -1
  679. package/src/assets/icons/simple/text-body.svg +7 -1
  680. package/src/assets/icons/simple/text-edit.svg +11 -1
  681. package/src/assets/icons/simple/text-style.svg +10 -1
  682. package/src/assets/icons/simple/time.svg +10 -1
  683. package/src/assets/icons/simple/toilet-paper.svg +17 -1
  684. package/src/assets/icons/simple/training-points.svg +18 -1
  685. package/src/assets/icons/simple/trash.svg +20 -1
  686. package/src/assets/icons/simple/underline.svg +9 -1
  687. package/src/assets/icons/simple/undo.svg +9 -1
  688. package/src/assets/icons/simple/unlock.svg +15 -1
  689. package/src/assets/icons/simple/upload.svg +10 -1
  690. package/src/assets/icons/simple/user-add.svg +18 -1
  691. package/src/assets/icons/simple/user-badge.svg +12 -1
  692. package/src/assets/icons/simple/user.svg +8 -1
  693. package/src/assets/icons/simple/video-off.svg +17 -1
  694. package/src/assets/icons/simple/video-on.svg +17 -1
  695. package/src/assets/icons/simple/video-rec.svg +20 -1
  696. package/src/assets/icons/simple/view-card.svg +12 -1
  697. package/src/assets/icons/simple/view-list.svg +20 -1
  698. package/src/assets/icons/simple/view.svg +17 -1
  699. package/src/assets/icons/simple/voice-off.svg +16 -1
  700. package/src/assets/icons/simple/voice-on.svg +16 -1
  701. package/src/assets/icons/simple/volume-down.svg +15 -1
  702. package/src/assets/icons/simple/volume-off.svg +16 -1
  703. package/src/assets/icons/simple/volume-up.svg +16 -1
  704. package/src/assets/icons/simple/warning.svg +14 -1
  705. package/src/assets/icons/simple/webinar.svg +19 -1
  706. package/src/assets/icons/simple/whiteboard.svg +16 -1
  707. package/src/assets/icons/simple/wine.svg +24 -1
  708. package/src/assets/icons/simple/zip.svg +22 -1
  709. package/src/assets/icons/simple/zoom-in.svg +18 -1
  710. package/src/assets/icons/simple/zoom-out.svg +17 -1
  711. package/src/assets/icons/simple.json +1 -1
  712. package/src/components/VvAccordion/VvAccordion.vue +16 -9
  713. package/src/components/VvAccordion/index.ts +5 -3
  714. package/src/components/VvAccordionGroup/VvAccordionGroup.vue +16 -11
  715. package/src/components/VvBadge/VvBadge.vue +3 -3
  716. package/src/components/VvBreadcrumb/VvBreadcrumb.vue +5 -5
  717. package/src/components/VvButton/VvButton.vue +82 -46
  718. package/src/components/VvButton/index.ts +20 -20
  719. package/src/components/VvButtonGroup/VvButtonGroup.vue +7 -10
  720. package/src/components/VvCard/VvCard.vue +6 -3
  721. package/src/components/VvCheckbox/VvCheckbox.vue +17 -12
  722. package/src/components/VvCheckbox/index.ts +7 -5
  723. package/src/components/VvCheckboxGroup/VvCheckboxGroup.vue +21 -19
  724. package/src/components/VvCombobox/VvCombobox.vue +318 -101
  725. package/src/components/VvCombobox/index.ts +59 -5
  726. package/src/components/VvDialog/VvDialog.vue +14 -6
  727. package/src/components/VvDialog/index.ts +18 -1
  728. package/src/components/VvDropdown/VvDropdown.vue +344 -95
  729. package/src/components/VvDropdown/VvDropdownItem.vue +32 -0
  730. package/src/components/VvDropdown/index.ts +25 -23
  731. package/src/components/VvIcon/VvIcon.vue +16 -16
  732. package/src/components/VvInputText/VvInputText.vue +45 -34
  733. package/src/components/VvProgress/VvProgress.vue +7 -5
  734. package/src/components/VvRadio/VvRadio.vue +16 -14
  735. package/src/components/VvRadio/index.ts +6 -3
  736. package/src/components/VvRadioGroup/VvRadioGroup.vue +20 -16
  737. package/src/components/VvSelect/VvSelect.vue +69 -56
  738. package/src/components/VvSelect/index.ts +2 -2
  739. package/src/components/VvTextarea/VvTextarea.vue +46 -33
  740. package/src/components/VvTooltip/VvTooltip.vue +16 -10
  741. package/src/components/VvTooltip/index.ts +8 -11
  742. package/src/components/common/HintSlot.ts +5 -4
  743. package/src/composables/dropdown/useInjectDropdown.ts +51 -0
  744. package/src/composables/dropdown/useProvideDropdown.ts +97 -0
  745. package/src/composables/group/useInjectedGroupState.ts +7 -7
  746. package/src/composables/group/useProvideGroupState.ts +3 -3
  747. package/src/composables/useComponentIcon.ts +41 -0
  748. package/src/composables/useModifiers.ts +31 -91
  749. package/src/composables/useOptions.ts +11 -3
  750. package/src/composables/useUniqueId.ts +5 -0
  751. package/src/composables/useVolver.ts +6 -0
  752. package/src/constants.ts +38 -5
  753. package/src/directives/index.ts +5 -0
  754. package/src/directives/v-tooltip.ts +15 -0
  755. package/src/index.ts +1 -1
  756. package/src/props/index.ts +117 -13
  757. package/src/resolvers/unplugin.ts +4 -1
  758. package/src/shims.d.ts +1 -1
  759. package/src/stories/Accordion/Accordion.stories.mdx +9 -7
  760. package/src/stories/Accordion/Accordion.test.ts +1 -1
  761. package/src/stories/AccordionGroup/AccordionGroup.stories.mdx +6 -4
  762. package/src/stories/AccordionGroup/AccordionGroupSlots.stories.mdx +10 -8
  763. package/src/stories/Badge/Badge.stories.mdx +4 -3
  764. package/src/stories/Breadcrumb/Breadcrumb.stories.mdx +4 -3
  765. package/src/stories/Breadcrumb/Breadcrumb.test.ts +14 -12
  766. package/src/stories/Breadcrumb/BreadcrumbSlots.stories.mdx +8 -8
  767. package/src/stories/Button/Button.stories.mdx +7 -7
  768. package/src/stories/Button/Button.test.ts +6 -6
  769. package/src/stories/Button/ButtonModifiers.stories.mdx +2 -2
  770. package/src/stories/Button/ButtonSlots.stories.mdx +15 -11
  771. package/src/stories/ButtonGroup/ButtonGroup.stories.mdx +2 -2
  772. package/src/stories/ButtonGroup/ButtonGroupSlots.stories.mdx +2 -2
  773. package/src/stories/Card/Card.stories.mdx +2 -2
  774. package/src/stories/Card/Card.test.ts +1 -1
  775. package/src/stories/Card/CardSlots.stories.mdx +2 -2
  776. package/src/stories/Checkbox/Checkbox.stories.mdx +7 -7
  777. package/src/stories/CheckboxGroup/CheckboxGroup.stories.mdx +7 -7
  778. package/src/stories/CheckboxGroup/CheckboxGroupSlots.stories.mdx +9 -9
  779. package/src/stories/Combobox/Combobox.settings.ts +111 -4
  780. package/src/stories/Combobox/Combobox.stories.mdx +85 -4
  781. package/src/stories/Combobox/Combobox.test.ts +2 -2
  782. package/src/stories/Combobox/ComboboxIconPosition.stories.mdx +78 -0
  783. package/src/stories/Combobox/ComboboxMultiple.stories.mdx +1 -2
  784. package/src/stories/Combobox/ComboboxSlots.stories.mdx +107 -2
  785. package/src/stories/Dialog/Dialog.stories.mdx +2 -2
  786. package/src/stories/Dialog/Dialog.test.ts +4 -4
  787. package/src/stories/Dropdown/Dropdown.settings.ts +55 -37
  788. package/src/stories/Dropdown/Dropdown.stories.mdx +57 -58
  789. package/src/stories/Dropdown/Dropdown.test.ts +10 -32
  790. package/src/stories/Dropdown/DropdownSlots.stories.mdx +113 -0
  791. package/src/stories/Icon/Icon.stories.mdx +1 -1
  792. package/src/stories/Icon/IconsCollection.stories.mdx +2 -2
  793. package/src/stories/InputText/InputText.settings.ts +2 -1
  794. package/src/stories/InputText/InputText.stories.mdx +7 -4
  795. package/src/stories/InputText/InputTextIconPosition.stories.mdx +2 -2
  796. package/src/stories/InputText/InputTextSlots.stories.mdx +2 -2
  797. package/src/stories/Progress/Progress.stories.mdx +3 -1
  798. package/src/stories/Progress/Progress.test.ts +1 -1
  799. package/src/stories/Radio/Radio.stories.mdx +1 -1
  800. package/src/stories/RadioGroup/RadioGroup.stories.mdx +7 -7
  801. package/src/stories/RadioGroup/RadioGroupSlots.stories.mdx +9 -9
  802. package/src/stories/Select/Select.settings.ts +2 -2
  803. package/src/stories/Select/Select.stories.mdx +3 -3
  804. package/src/stories/Select/SelectIconPosition.stories.mdx +78 -0
  805. package/src/stories/Select/SelectSlots.stories.mdx +2 -2
  806. package/src/stories/Textarea/Textarea.settings.ts +2 -1
  807. package/src/stories/Textarea/Textarea.stories.mdx +4 -4
  808. package/src/stories/Textarea/TextareaSlots.stories.mdx +2 -2
  809. package/src/stories/Textarea/TextareatIconPosition.stories.mdx +2 -2
  810. package/src/stories/Tooltip/Tooltip.settings.ts +13 -13
  811. package/src/stories/Tooltip/Tooltip.stories.mdx +24 -21
  812. package/src/stories/Tooltip/Tooltip.test.ts +22 -13
  813. package/src/stories/Tooltip/TooltipDirective.stories.mdx +98 -0
  814. package/src/stories/argTypes.ts +153 -4
  815. package/src/types/floating-ui.d.ts +7 -0
  816. package/src/types/generic.d.ts +0 -1
  817. package/src/types/group.d.ts +37 -0
  818. package/src/utils/ObjectUtilities.ts +4 -1
  819. package/dist/composables/group/types/IAccordionGroupState.d.ts +0 -9
  820. package/dist/composables/group/types/IButtonGroupState.d.ts +0 -13
  821. package/dist/composables/group/types/IGroupState.d.ts +0 -8
  822. package/dist/composables/group/types/IInputGroup.d.ts +0 -8
  823. package/dist/composables/useComponentIcons.d.ts +0 -27
  824. package/src/composables/group/types/IAccordionGroupState.ts +0 -10
  825. package/src/composables/group/types/IButtonGroupState.ts +0 -14
  826. package/src/composables/group/types/IGroupState.ts +0 -10
  827. package/src/composables/group/types/IInputGroup.ts +0 -9
  828. package/src/composables/useComponentIcons.ts +0 -96
  829. package/src/directives/.gitkeep +0 -0
  830. package/src/stories/Dropdown/DropdownOptions.stories.mdx +0 -96
@@ -1,37 +1,36 @@
1
- import { defineComponent as se, unref as a, openBlock as y, createBlock as D, mergeProps as M, createCommentVNode as R, createElementBlock as W, normalizeClass as be, toDisplayString as ee, createElementVNode as te, renderSlot as F, normalizeProps as V, guardReactiveProps as j, withDirectives as ge, isRef as ye, vModelDynamic as we, createTextVNode as Ee, createVNode as Ie } from "vue";
2
- import { nanoid as Pe } from "nanoid";
3
- import { iconExists as x, Icon as Te, addIcon as Ae } from "@iconify/vue";
4
- function N(i) {
5
- return Array.isArray(i) ? i.filter((o) => isString(o)).join(" ") : i;
1
+ import { defineComponent as ie, unref as i, openBlock as g, createBlock as C, mergeProps as V, createCommentVNode as _, createElementBlock as O, normalizeClass as Ee, toDisplayString as ne, createElementVNode as W, renderSlot as F, normalizeProps as j, guardReactiveProps as q, withDirectives as Ae, isRef as Ie, vModelDynamic as _e, createTextVNode as De, createVNode as Ce } from "vue";
2
+ import { iconExists as x, Icon as Te, addIcon as Pe } from "@iconify/vue";
3
+ function B(t) {
4
+ return Array.isArray(t) ? t.filter((n) => isString(n)).join(" ") : t;
6
5
  }
7
- function De(i, o) {
6
+ function Oe(t, n) {
8
7
  const {
9
8
  invalid: e,
10
- valid: c,
11
- hint: l,
12
- loading: m
13
- } = o, {
9
+ valid: l,
10
+ hint: d,
11
+ loading: v
12
+ } = n, {
14
13
  hintLabel: u,
15
14
  modelValue: T,
16
- valid: g,
15
+ valid: y,
17
16
  validLabel: f,
18
- invalid: n,
19
- invalidLabel: s,
17
+ invalid: s,
18
+ invalidLabel: a,
20
19
  ...S
21
- } = toRefs(i), d = resolveFieldData(S, "loading"), v = resolveFieldData(S, "loadingLabel"), I = computed(() => n.value ? !!(n.value && e || s != null && s.value && Array.isArray(s.value) && s.value.length > 0 || s != null && s.value && !isEmpty(s)) : !1), b = computed(
22
- () => !!(u && u.value || l)
23
- ), P = computed(
24
- () => !!(f && f.value || c)
25
- ), _ = computed(
26
- () => !!(d != null && d.value && m || d != null && d.value && (v != null && v.value))
27
- ), C = computed(
28
- () => b.value || P.value || I.value || _.value
20
+ } = toRefs(t), c = resolveFieldData(S, "loading"), m = resolveFieldData(S, "loadingLabel"), w = computed(() => s.value ? !!(s.value && e || a != null && a.value && Array.isArray(a.value) && a.value.length > 0 || a != null && a.value && !isEmpty(a)) : !1), H = computed(
21
+ () => !!(u && u.value || d)
22
+ ), b = computed(
23
+ () => !!(f && f.value || l)
24
+ ), D = computed(
25
+ () => !!(c != null && c.value && v || c != null && c.value && (m != null && m.value))
26
+ ), N = computed(
27
+ () => H.value || b.value || w.value || D.value
29
28
  );
30
29
  return {
31
- hasInvalid: I,
32
- hasHint: b,
33
- hasValid: P,
34
- hasLoading: _,
30
+ hasInvalid: w,
31
+ hasHint: H,
32
+ hasValid: b,
33
+ hasLoading: D,
35
34
  HintSlot: {
36
35
  name: "HintSlot",
37
36
  props: {
@@ -40,26 +39,26 @@ function De(i, o) {
40
39
  default: () => ({})
41
40
  }
42
41
  },
43
- setup(H) {
44
- const O = computed(() => {
45
- const A = toReactive({
42
+ setup(P) {
43
+ const R = computed(() => {
44
+ const I = toReactive({
46
45
  hintLabel: u,
47
46
  modelValue: T,
48
- valid: g,
47
+ valid: y,
49
48
  validLabel: f,
50
- invalid: n,
51
- invalidLabel: s,
52
- loading: d,
53
- loadingLabel: v,
54
- ...H.params
49
+ invalid: s,
50
+ invalidLabel: a,
51
+ loading: c,
52
+ loadingLabel: m,
53
+ ...P.params
55
54
  });
56
- return n != null && n.value ? (e == null ? void 0 : e(A)) || N(s == null ? void 0 : s.value) || (u == null ? void 0 : u.value) : g != null && g.value ? (c == null ? void 0 : c(A)) || N(f == null ? void 0 : f.value) || (u == null ? void 0 : u.value) : d != null && d.value ? (m == null ? void 0 : m(A)) || N(v == null ? void 0 : v.value) || (u == null ? void 0 : u.value) : (l == null ? void 0 : l(A)) || N(u == null ? void 0 : u.value) || (u == null ? void 0 : u.value);
55
+ return s != null && s.value ? (e == null ? void 0 : e(I)) || B(a == null ? void 0 : a.value) || (u == null ? void 0 : u.value) : y != null && y.value ? (l == null ? void 0 : l(I)) || B(f == null ? void 0 : f.value) || (u == null ? void 0 : u.value) : c != null && c.value ? (v == null ? void 0 : v(I)) || B(m == null ? void 0 : m.value) || (u == null ? void 0 : u.value) : (d == null ? void 0 : d(I)) || B(u == null ? void 0 : u.value) || (u == null ? void 0 : u.value);
57
56
  });
58
57
  return {
59
- isVisible: C,
60
- hasInvalid: I,
61
- hasValid: P,
62
- hintContent: O
58
+ isVisible: N,
59
+ hasInvalid: w,
60
+ hasValid: b,
61
+ hintContent: R
63
62
  };
64
63
  },
65
64
  render() {
@@ -67,7 +66,7 @@ function De(i, o) {
67
66
  return h(
68
67
  "small",
69
68
  {
70
- role: this.hasInvalid || this.hasValid ? "alert" : void 0
69
+ role: this.hasInvalid ? "alert" : this.hasValid ? "status" : void 0
71
70
  },
72
71
  this.hintContent
73
72
  );
@@ -75,157 +74,296 @@ function De(i, o) {
75
74
  }
76
75
  };
77
76
  }
78
- const Ce = "ds", Re = {
77
+ const He = {
78
+ /**
79
+ * Color
80
+ */
79
81
  color: String,
82
+ /**
83
+ * Width
84
+ */
80
85
  width: {
81
86
  type: [String, Number]
82
87
  },
88
+ /**
89
+ * Height
90
+ */
83
91
  height: {
84
92
  type: [String, Number]
85
93
  },
94
+ /**
95
+ * Icon name
96
+ * Can be the full composition of iconify name "@{provider}:{prefix}:{name}" or "{prefix}:{name}" or "{name}"
97
+ * https://docs.iconify.design/api/providers.html#provider-in-icon-name
98
+ */
86
99
  name: {
87
100
  type: String,
88
101
  required: !0
89
102
  },
103
+ /**
104
+ * By default 'vv'
105
+ * If custom collection is not added with "addCollection" DS class method, this prop could not be used
106
+ * Icon provider: https://docs.iconify.design/api/providers.html#provider-in-icon-name
107
+ */
90
108
  provider: {
91
109
  type: String
92
110
  },
111
+ /**
112
+ * The name of icon set.
113
+ * Icon default options prefix: simple | normal | detailed
114
+ */
93
115
  prefix: {
94
116
  type: String,
95
117
  default: "normal"
96
118
  },
119
+ /**
120
+ * Url remote SVG icon
121
+ */
97
122
  src: String,
123
+ /**
124
+ * Horizontal flip
125
+ */
98
126
  horizontalFlip: Boolean,
127
+ /**
128
+ * Vertical flip
129
+ */
99
130
  verticalFlip: Boolean,
131
+ /**
132
+ * String alternative to "horizontalFlip" and "verticalFlip".
133
+ * Example: https://docs.iconify.design/icon-components/vue/transform.html
134
+ */
100
135
  flip: String,
136
+ /**
137
+ * Icon render mode
138
+ * 'style' = 'bg' or 'mask', depending on icon content
139
+ * 'bg' = span with style using `background`
140
+ * 'mask' = span with style using `mask`
141
+ * 'svg' = svg
142
+ * Iconify doc: https://docs.iconify.design/iconify-icon/modes.html
143
+ */
101
144
  mode: String,
145
+ /**
146
+ * Toggles inline or block mode
147
+ * Example https://docs.iconify.design/icon-components/vue/inline.html
148
+ */
102
149
  inline: Boolean,
150
+ /**
151
+ * rotates icon
152
+ * Example https://docs.iconify.design/icon-components/vue/transform.html
153
+ */
103
154
  rotate: [Number, String],
155
+ /**
156
+ * A callback that is called when icon data has been loaded
157
+ */
104
158
  onLoad: Function,
159
+ /**
160
+ * SVG icon string
161
+ */
105
162
  svg: String,
163
+ /**
164
+ * Icon modifiers: vv-icon css helper classes, value/s are concatened with prefix 'vv-icon--'
165
+ * @values string | Array<string>
166
+ */
106
167
  modifiers: {
107
168
  type: [String, Array]
108
169
  }
109
- }, _e = {
170
+ }, Re = {
110
171
  name: "VvIcon"
111
- }, E = /* @__PURE__ */ se({
112
- ..._e,
113
- props: Re,
114
- setup(i) {
115
- const o = i, e = ref(!0), { modifiers: c } = toRefs(o), l = inject(Ce), { bemCssClasses: m } = useBemModifiers("vv-icon", {
116
- modifiers: c
117
- }), u = computed(() => o.provider || (l == null ? void 0 : l.provider)), T = computed(() => {
118
- const n = o.name ?? "", s = `@${u.value}:${o.prefix}:${o.name}`;
119
- return x(n) ? n : x(s) ? s : (l == null ? void 0 : l.iconsCollections.find((S) => {
120
- const d = `@${u.value}:${S.prefix}:${n}`;
121
- if (x(d))
122
- return d;
123
- })) || n;
172
+ }, A = /* @__PURE__ */ ie({
173
+ ...Re,
174
+ props: He,
175
+ setup(t) {
176
+ const n = t, e = ref(!0), l = useVolver(), { modifiers: d } = toRefs(n), v = useBemModifiers("vv-icon", d), u = computed(() => n.provider || (l == null ? void 0 : l.provider)), T = computed(() => {
177
+ const s = n.name ?? "", a = `@${u.value}:${n.prefix}:${n.name}`;
178
+ return x(s) ? s : x(a) ? a : (l == null ? void 0 : l.iconsCollections.find(
179
+ (S) => {
180
+ const c = `@${u.value}:${S.prefix}:${s}`;
181
+ if (x(c))
182
+ return c;
183
+ }
184
+ )) || s;
124
185
  });
125
- function g(n) {
126
- let s = null;
186
+ function y(s) {
187
+ let a = null;
127
188
  if (typeof window > "u") {
128
- const { JSDOM: I } = require("jsdom");
129
- s = new I().window;
189
+ const { JSDOM: w } = require("jsdom");
190
+ a = new w().window;
130
191
  }
131
- return (s ? new s.DOMParser() : new window.DOMParser()).parseFromString(n, "text/html").querySelector("svg");
192
+ return (a ? new a.DOMParser() : new window.DOMParser()).parseFromString(s, "text/html").querySelector("svg");
132
193
  }
133
- function f(n) {
134
- const s = g(n), S = (s == null ? void 0 : s.innerHTML.trim()) || "";
135
- s && S && Ae(`@${u.value}:${o.prefix}:${o.name}`, {
194
+ function f(s) {
195
+ const a = y(s), S = (a == null ? void 0 : a.innerHTML.trim()) || "";
196
+ a && S && Pe(`@${u.value}:${n.prefix}:${n.name}`, {
136
197
  body: S,
137
- height: s.viewBox.baseVal.height,
138
- width: s.viewBox.baseVal.width
198
+ // Set height and width from svg content
199
+ height: a.viewBox.baseVal.height,
200
+ width: a.viewBox.baseVal.width
139
201
  });
140
202
  }
141
- return l && (o.src && !x(`@${u.value}:${o.prefix}:${o.name}`) ? (e.value = !1, l.fetchIcon(o.src).then((n) => {
142
- n && (f(n), e.value = !0);
143
- }).catch((n) => {
144
- throw new Error(`During fetch icon: ${n == null ? void 0 : n.message}`);
145
- })) : o.svg && f(o.svg)), (n, s) => a(e) ? (y(), D(a(Te), M({
203
+ return l && (n.src && !x(`@${u.value}:${n.prefix}:${n.name}`) ? (e.value = !1, l.fetchIcon(n.src).then((s) => {
204
+ s && (f(s), e.value = !0);
205
+ }).catch((s) => {
206
+ throw new Error(`During fetch icon: ${s == null ? void 0 : s.message}`);
207
+ })) : n.svg && f(n.svg)), (s, a) => i(e) ? (g(), C(i(Te), V({
146
208
  key: 0,
147
- class: a(m)
209
+ class: i(v)
148
210
  }, {
149
- inline: n.inline,
150
- width: n.width,
151
- height: n.height,
152
- horizontalFlip: n.horizontalFlip,
153
- verticalFlip: n.verticalFlip,
154
- flip: n.flip,
155
- rotate: n.rotate,
156
- color: n.color,
157
- onLoad: n.onLoad,
158
- icon: a(T)
159
- }), null, 16, ["class"])) : R("", !0);
211
+ inline: s.inline,
212
+ width: s.width,
213
+ height: s.height,
214
+ horizontalFlip: s.horizontalFlip,
215
+ verticalFlip: s.verticalFlip,
216
+ flip: s.flip,
217
+ rotate: s.rotate,
218
+ color: s.color,
219
+ onLoad: s.onLoad,
220
+ icon: i(T)
221
+ }), null, 16, ["class"])) : _("", !0);
160
222
  }
161
- }), He = {
223
+ });
224
+ var K = /* @__PURE__ */ ((t) => (t.left = "left", t.right = "right", t.top = "top", t.bottom = "bottom", t))(K || {}), le = /* @__PURE__ */ ((t) => (t.topStart = "top-start", t.topEnd = "top-end", t.bottomStart = "bottom-start", t.bottomEnd = "bottom-end", t.leftStart = "left-start", t.leftEnd = "left-end", t.rightStart = "right-start", t.rightEnd = "right-end", t))(le || {}), Y = /* @__PURE__ */ ((t) => (t.before = "before", t.after = "after", t))(Y || {});
225
+ const xe = {
162
226
  valid: Boolean,
163
227
  validLabel: [String, Array]
164
- }, Oe = {
228
+ }, Be = {
165
229
  invalid: Boolean,
166
230
  invalidLabel: [String, Array]
167
231
  }, Ve = {
168
232
  loading: Boolean,
169
233
  loadingLabel: String
170
- }, xe = {
171
- disabled: Boolean
172
234
  }, Ne = {
173
- readonly: Boolean
235
+ /**
236
+ * Whether the form control is disabled
237
+ */
238
+ disabled: Boolean
174
239
  }, Me = {
240
+ /**
241
+ * The value is not editable
242
+ */
243
+ readonly: Boolean
244
+ }, ke = {
245
+ /**
246
+ * Component BEM modifiers
247
+ */
175
248
  modifiers: [String, Array]
176
- }, Be = {
249
+ }, $e = {
177
250
  hintLabel: { type: String, default: "" }
178
- }, ke = {
251
+ }, Le = {
252
+ /**
253
+ * Show character limit
254
+ */
179
255
  count: {
180
256
  type: [Boolean, String],
181
257
  default: !1,
182
- validator: (i) => [!0, !1, "limit", "countdown"].includes(i)
258
+ validator: (t) => [!0, !1, "limit", "countdown"].includes(t)
183
259
  }
184
- }, Le = {
260
+ }, Ue = {
261
+ /**
262
+ * Milliseconds to wait before emitting the input event
263
+ */
185
264
  debounce: [Number, String]
186
- }, oe = {
187
- LEFT: "left",
188
- RIGHT: "right"
189
- }, $e = {
265
+ }, We = {
266
+ /**
267
+ * VvIcon name or props
268
+ * @see VVIcon
269
+ */
190
270
  icon: { type: [String, Object] },
271
+ /**
272
+ * VvIcon position
273
+ */
191
274
  iconPosition: {
192
275
  type: String,
193
- validation: (i) => Object.values(oe).includes(i),
194
- default: oe.RIGHT
276
+ default: Y.before,
277
+ validation: (t) => Object.values(Y).includes(t)
195
278
  }
196
- }, Ue = {
279
+ }, Fe = {
280
+ /**
281
+ * Global attribute tabindex
282
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex
283
+ */
197
284
  tabindex: { type: [String, Number], default: 0 }
198
- }, We = {
285
+ }, je = {
286
+ /**
287
+ * If true the label will be floating
288
+ */
199
289
  floating: Boolean
200
- }, Fe = {
201
- id: [String, Number],
290
+ }, qe = {
291
+ /**
292
+ * Global attribute id
293
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
294
+ */
295
+ id: [String, Number]
296
+ };
297
+ K.bottom;
298
+ const ze = {
299
+ ...qe,
300
+ /**
301
+ * Input / Textarea name
302
+ * Name of the form control. Submitted with the form as part of a name/value pair
303
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name
304
+ */
202
305
  name: { type: String, required: !0 }
203
- }, je = {
306
+ }, Xe = {
307
+ /**
308
+ * Global attribute autofocus
309
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus
310
+ */
204
311
  autofocus: Boolean
205
- }, qe = {
312
+ }, Ke = {
313
+ /**
314
+ * Global attribute autocomplete
315
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
316
+ */
206
317
  autocomplete: { type: String, default: "off" }
207
- }, Xe = {
318
+ }, Ye = {
319
+ ...ze,
320
+ ...Xe,
321
+ ...Ke,
208
322
  ...Fe,
209
- ...je,
210
- ...qe,
211
- ...Ue,
212
- ...xe,
213
323
  ...Ne,
214
- ...He,
215
- ...Oe,
324
+ ...Me,
325
+ ...xe,
216
326
  ...Be,
327
+ ...$e,
217
328
  ...Ve,
218
- ...Me,
219
329
  ...ke,
220
330
  ...Le,
221
- ...$e,
331
+ ...Ue,
222
332
  ...We,
333
+ ...je,
334
+ /**
335
+ * Input / Textarea minlength
336
+ * Minimum length (number of characters) of value
337
+ * Available for input types: text, search, url, tel, email, password
338
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength
339
+ */
223
340
  minlength: Number,
341
+ /**
342
+ * Input / Textarea maxlength
343
+ * Maximum length (number of characters) of value
344
+ * Available for input types: text, search, url, tel, email, password
345
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength
346
+ */
224
347
  maxlength: Number,
348
+ /**
349
+ * Input / Textarea placeholder
350
+ * Text that appears in the form control when it has no value set
351
+ * Available for input types: text, search, url, tel, email, password, number
352
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder
353
+ */
225
354
  placeholder: String,
355
+ /**
356
+ * Input / Textarea required
357
+ * A value is required or must be check for the form to be submittable
358
+ * Available for all input types except color
359
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#required
360
+ */
226
361
  required: Boolean,
362
+ /**
363
+ * <label> value for the Input / Textarea
364
+ */
227
365
  label: String
228
- }, t = {
366
+ }, o = {
229
367
  TEXT: "text",
230
368
  PASSWORD: "password",
231
369
  NUMBER: "number",
@@ -239,61 +377,121 @@ const Ce = "ds", Re = {
239
377
  DATETIME_LOCAL: "datetime-local",
240
378
  MONTH: "month",
241
379
  WEEK: "week"
242
- }, w = {
380
+ }, E = {
243
381
  PASSWORD_SHOW: "eye-on",
244
382
  PASSWORD_HIDE: "eye-off",
245
383
  DATE: "calendar",
246
384
  TIME: "time",
247
385
  COLOR: "color",
248
386
  SEARCH: "close"
249
- }, ze = ["update:modelValue", "focus", "blur", "keyup"], Ke = {
250
- ...Xe,
387
+ }, Je = ["update:modelValue", "focus", "blur", "keyup"], Ge = {
388
+ ...Ye,
389
+ /**
390
+ * Input value
391
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value
392
+ */
251
393
  modelValue: [String, Number],
394
+ /**
395
+ * Type of form control
396
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#type
397
+ */
252
398
  type: {
253
399
  type: String,
254
- default: t.TEXT,
255
- validator: (i) => Object.values(t).includes(i)
400
+ default: o.TEXT,
401
+ validator: (t) => Object.values(o).includes(t)
256
402
  },
403
+ /**
404
+ * Minimum value
405
+ * Available for input types: date, month, week, time, datetime-local, number, range.
406
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min
407
+ */
257
408
  min: [Number, Date, String],
409
+ /**
410
+ * Maximum value
411
+ * Available for input types: date, month, week, time, datetime-local, number, range.
412
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max
413
+ */
258
414
  max: [Number, Date, String],
415
+ /**
416
+ * Incremental values that are valid
417
+ * Available for input types: date, month, week, time, datetime-local and number
418
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#step
419
+ */
259
420
  step: { type: [String, Number], default: 1 },
421
+ /**
422
+ * Pattern the value must match to be valid
423
+ * Available for input types: text, search, url, tel, email and password
424
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#pattern
425
+ */
260
426
  pattern: String,
427
+ /**
428
+ * Whether to allow multiple values
429
+ * Available for input type email
430
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#multiple
431
+ */
261
432
  multiple: Boolean,
433
+ /**
434
+ * VvIcon name for show password button
435
+ * @see VVIcon
436
+ */
262
437
  iconShowPassword: {
263
438
  type: String,
264
- default: w.PASSWORD_SHOW
439
+ default: E.PASSWORD_SHOW
265
440
  },
441
+ /**
442
+ * VvIcon name for hide password button
443
+ * @see VVIcon
444
+ */
266
445
  iconHidePassword: {
267
446
  type: String,
268
- default: w.PASSWORD_HIDE
447
+ default: E.PASSWORD_HIDE
269
448
  },
449
+ /**
450
+ * VvIcon name for clear button
451
+ * @see VVIcon
452
+ */
270
453
  iconClear: {
271
454
  type: String,
272
- default: w.SEARCH
455
+ default: E.SEARCH
273
456
  },
457
+ /**
458
+ * Label for step up button
459
+ */
274
460
  labelStepUp: {
275
461
  type: String,
276
462
  default: "Increase value"
277
463
  },
464
+ /**
465
+ * Label for step down button
466
+ */
278
467
  labelStepDown: {
279
468
  type: String,
280
469
  default: "Decrease value"
281
470
  },
471
+ /**
472
+ * Label for show password button
473
+ */
282
474
  labelShowPassword: {
283
475
  type: String,
284
476
  default: "Show password"
285
477
  },
478
+ /**
479
+ * Label for hide password button
480
+ */
286
481
  labelHidePassword: {
287
482
  type: String,
288
483
  default: "Hide password"
289
484
  },
485
+ /**
486
+ * Label for clear button
487
+ */
290
488
  labelClear: {
291
489
  type: String,
292
490
  default: "Clear"
293
491
  }
294
- }, ne = defineComponent({
492
+ }, se = defineComponent({
295
493
  components: {
296
- VvIcon: E
494
+ VvIcon: A
297
495
  },
298
496
  props: {
299
497
  disabled: {
@@ -310,29 +508,29 @@ const Ce = "ds", Re = {
310
508
  },
311
509
  iconShow: {
312
510
  type: String,
313
- default: w.PASSWORD_SHOW
511
+ default: E.PASSWORD_SHOW
314
512
  },
315
513
  iconHide: {
316
514
  type: String,
317
- default: w.PASSWORD_HIDE
515
+ default: E.PASSWORD_HIDE
318
516
  }
319
517
  },
320
518
  emits: ["toggle-password"],
321
- setup(i, { emit: o }) {
322
- const e = ref(!1), c = computed(
323
- () => e.value ? i.iconHide : i.iconShow
519
+ setup(t, { emit: n }) {
520
+ const e = ref(!1), l = computed(
521
+ () => e.value ? t.iconHide : t.iconShow
324
522
  );
325
- function l(m) {
326
- m == null || m.stopPropagation(), i.disabled || (e.value = !e.value, o("toggle-password", e.value));
523
+ function d(v) {
524
+ v == null || v.stopPropagation(), t.disabled || (e.value = !e.value, n("toggle-password", e.value));
327
525
  }
328
526
  return {
329
527
  active: e,
330
- activeIcon: c,
331
- onClick: l
528
+ activeIcon: l,
529
+ onClick: d
332
530
  };
333
531
  },
334
532
  render() {
335
- const i = h(E, {
533
+ const t = h(A, {
336
534
  name: this.activeIcon,
337
535
  class: "vv-input-text__action-icon"
338
536
  });
@@ -345,12 +543,12 @@ const Ce = "ds", Re = {
345
543
  type: "button",
346
544
  onClick: this.onClick
347
545
  },
348
- i
546
+ t
349
547
  );
350
548
  }
351
- }), q = defineComponent({
549
+ }), z = defineComponent({
352
550
  components: {
353
- VvIcon: E
551
+ VvIcon: A
354
552
  },
355
553
  props: {
356
554
  disabled: {
@@ -362,17 +560,17 @@ const Ce = "ds", Re = {
362
560
  },
363
561
  mode: {
364
562
  type: String,
365
- validator: (i) => ["up", "down"].includes(i),
563
+ validator: (t) => ["up", "down"].includes(t),
366
564
  default: "up"
367
565
  }
368
566
  },
369
567
  emits: ["step-up", "step-down"],
370
- setup(i, { emit: o }) {
371
- const e = computed(() => i.mode === "up");
568
+ setup(t, { emit: n }) {
569
+ const e = computed(() => t.mode === "up");
372
570
  return {
373
571
  isUp: e,
374
- onClick: (l) => {
375
- l == null || l.stopPropagation(), i.disabled || o(e.value ? "step-up" : "step-down");
572
+ onClick: (d) => {
573
+ d == null || d.stopPropagation(), t.disabled || n(e.value ? "step-up" : "step-down");
376
574
  }
377
575
  };
378
576
  },
@@ -387,9 +585,9 @@ const Ce = "ds", Re = {
387
585
  onClick: this.onClick
388
586
  });
389
587
  }
390
- }), ie = defineComponent({
588
+ }), ae = defineComponent({
391
589
  components: {
392
- VvIcon: E
590
+ VvIcon: A
393
591
  },
394
592
  props: {
395
593
  disabled: {
@@ -406,16 +604,16 @@ const Ce = "ds", Re = {
406
604
  }
407
605
  },
408
606
  emits: ["clear"],
409
- setup(i, { emit: o }) {
410
- function e(c) {
411
- c == null || c.stopPropagation(), i.disabled || o("clear");
607
+ setup(t, { emit: n }) {
608
+ function e(l) {
609
+ l == null || l.stopPropagation(), t.disabled || n("clear");
412
610
  }
413
611
  return {
414
612
  onClick: e
415
613
  };
416
614
  },
417
615
  render() {
418
- const i = h(E, {
616
+ const t = h(A, {
419
617
  name: this.icon,
420
618
  class: "vv-input-text__action-icon"
421
619
  });
@@ -428,51 +626,51 @@ const Ce = "ds", Re = {
428
626
  type: "button",
429
627
  onClick: this.onClick
430
628
  },
431
- i
629
+ t
432
630
  );
433
631
  }
434
632
  });
435
- function X(i, o) {
633
+ function X(t, n) {
436
634
  return {
437
635
  name: "VvInputTextActions",
438
636
  components: {
439
- VvIcon: E,
440
- VvInputPasswordAction: ne,
441
- VvInputStepAction: q,
442
- VvInputClearAction: ie
637
+ VvIcon: A,
638
+ VvInputPasswordAction: se,
639
+ VvInputStepAction: z,
640
+ VvInputClearAction: ae
443
641
  },
444
642
  setup() {
445
643
  return {
446
- isDisabled: computed(() => o.disabled || o.readonly),
447
- labelStepUp: o.labelStepUp,
448
- labelStepDown: o.labelStepDown,
449
- labelShowPassword: o.labelShowPassword,
450
- labelHidePassword: o.labelHidePassword,
451
- labelClear: o.labelClear,
452
- iconShowPassword: o.iconShowPassword,
453
- iconHidePassword: o.iconHidePassword
644
+ isDisabled: computed(() => n.disabled || n.readonly),
645
+ labelStepUp: n.labelStepUp,
646
+ labelStepDown: n.labelStepDown,
647
+ labelShowPassword: n.labelShowPassword,
648
+ labelHidePassword: n.labelHidePassword,
649
+ labelClear: n.labelClear,
650
+ iconShowPassword: n.iconShowPassword,
651
+ iconHidePassword: n.iconHidePassword
454
652
  };
455
653
  },
456
654
  render() {
457
655
  let e = null;
458
- switch (i) {
459
- case t.SEARCH: {
460
- const { onClear: c } = this.$attrs;
656
+ switch (t) {
657
+ case o.SEARCH: {
658
+ const { onClear: l } = this.$attrs;
461
659
  e = [
462
- h(ie, {
660
+ h(ae, {
463
661
  disabled: this.isDisabled,
464
662
  label: this.labelShowPassword,
465
- onClear: c
663
+ onClear: l
466
664
  })
467
665
  ];
468
666
  break;
469
667
  }
470
- case t.PASSWORD: {
471
- const { onTogglePassword: c } = this.$attrs;
668
+ case o.PASSWORD: {
669
+ const { onTogglePassword: l } = this.$attrs;
472
670
  e = [
473
- h(ne, {
671
+ h(se, {
474
672
  disabled: this.isDisabled,
475
- onTogglePassword: c,
673
+ onTogglePassword: l,
476
674
  labelShow: this.labelShowPassword,
477
675
  labelHide: this.labelHidePassword,
478
676
  iconShow: this.iconShowPassword,
@@ -481,22 +679,22 @@ function X(i, o) {
481
679
  ];
482
680
  break;
483
681
  }
484
- case t.NUMBER: {
485
- const { onStepUp: c, onStepDown: l } = this.$attrs;
682
+ case o.NUMBER: {
683
+ const { onStepUp: l, onStepDown: d } = this.$attrs;
486
684
  e = [
487
- h(q, {
685
+ h(z, {
488
686
  mode: "up",
489
- disabled: this.isDisabled || o.max !== void 0 && o.modelValue === o.max,
687
+ disabled: this.isDisabled || n.max !== void 0 && n.modelValue === n.max,
490
688
  label: this.labelStepUp,
491
- onStepUp: c,
492
- onStepDown: l
689
+ onStepUp: l,
690
+ onStepDown: d
493
691
  }),
494
- h(q, {
692
+ h(z, {
495
693
  mode: "down",
496
- disabled: this.isDisabled || o.min !== void 0 && o.modelValue === o.min,
694
+ disabled: this.isDisabled || n.min !== void 0 && n.modelValue === n.min,
497
695
  label: this.labelStepDown,
498
- onStepUp: c,
499
- onStepDown: l
696
+ onStepUp: l,
697
+ onStepDown: d
500
698
  })
501
699
  ];
502
700
  break;
@@ -506,164 +704,181 @@ function X(i, o) {
506
704
  }
507
705
  };
508
706
  }
509
- const Ge = ["for"], Ye = { class: "vv-input-text__wrapper" }, Je = ["id"], Qe = {
707
+ const Qe = ["for"], Ze = { class: "vv-input-text__wrapper" }, et = {
510
708
  key: 0,
709
+ class: "vv-input-text__input-before"
710
+ }, tt = { class: "vv-input-text__inner" }, ot = ["id"], nt = {
711
+ key: 1,
712
+ class: "vv-input-text__input-after"
713
+ }, st = {
714
+ key: 2,
511
715
  class: "vv-input-text__limit"
512
- }, Ze = {
716
+ }, at = {
513
717
  name: "VvInputText"
514
- }, nt = /* @__PURE__ */ se({
515
- ...Ze,
516
- props: Ke,
517
- emits: ze,
518
- setup(i, { emit: o }) {
519
- const e = i, c = useSlots(), l = ref(), {
520
- icon: m,
521
- iconPosition: u,
522
- label: T,
523
- modelValue: g,
524
- count: f,
525
- valid: n,
526
- invalid: s,
527
- loading: S
528
- } = toRefs(e), d = computed(() => String(e.id || Pe())), v = computed(() => `${d.value}-hint`), I = computed(
718
+ }, rt = /* @__PURE__ */ ie({
719
+ ...at,
720
+ props: Ge,
721
+ emits: Je,
722
+ setup(t, { emit: n }) {
723
+ const e = t, l = useSlots(), d = ref(), {
724
+ id: v,
725
+ icon: u,
726
+ iconPosition: T,
727
+ label: y,
728
+ modelValue: f,
729
+ count: s,
730
+ valid: a,
731
+ invalid: S,
732
+ loading: c
733
+ } = toRefs(e), m = useUniqueId(v), w = computed(() => `${m.value}-hint`), H = computed(
529
734
  () => e.floating && isEmpty(e.placeholder) ? " " : e.placeholder
530
- ), b = useDebouncedInput(g, o, e.debounce), { focused: P } = useComponentFocus(l, o), _ = useElementVisibility(l);
531
- watch(_, (r) => {
532
- r && e.autofocus && (P.value = !0);
735
+ ), b = useDebouncedInput(f, n, e.debounce), { focused: D } = useComponentFocus(d, n), N = useElementVisibility(d);
736
+ watch(N, (r) => {
737
+ r && e.autofocus && (D.value = !0);
533
738
  });
534
- const C = ref(!1), H = computed(() => e.type === t.PASSWORD), O = () => {
535
- C.value = !C.value;
536
- }, A = computed(
537
- () => e.type === t.TIME || e.type === t.DATETIME_LOCAL || e.type === t.DATE || e.type === t.WEEK || e.type === t.MONTH
538
- ), ae = computed(() => e.type === t.NUMBER), z = () => {
539
- L.value && (l.value.stepUp(), b.value = unref(l).value);
540
- }, K = () => {
541
- L.value && (l.value.stepDown(), b.value = unref(l).value);
542
- }, le = computed(() => e.type === t.SEARCH), G = () => {
739
+ const P = ref(!1), R = computed(() => e.type === o.PASSWORD), I = () => {
740
+ P.value = !P.value;
741
+ }, re = computed(
742
+ () => e.type === o.TIME || e.type === o.DATETIME_LOCAL || e.type === o.DATE || e.type === o.WEEK || e.type === o.MONTH
743
+ ), ue = computed(() => e.type === o.NUMBER), J = () => {
744
+ $.value && (d.value.stepUp(), b.value = unref(d).value);
745
+ }, G = () => {
746
+ $.value && (d.value.stepDown(), b.value = unref(d).value);
747
+ }, de = computed(() => e.type === o.SEARCH), Q = () => {
543
748
  b.value = void 0;
544
- }, { hasIconLeft: Y, hasIconRight: B, hasIcon: J } = useComponentIcon(
545
- m,
546
- u
749
+ }, { hasIcon: Z, hasIconBefore: ee, hasIconAfter: M } = useComponentIcon(
750
+ u,
751
+ T
547
752
  ), k = computed(() => {
548
753
  switch (e.type) {
549
- case t.COLOR:
550
- return { name: w.COLOR };
551
- case t.DATE:
552
- case t.DATETIME_LOCAL:
553
- case t.WEEK:
554
- case t.MONTH:
555
- return { name: w.DATE };
556
- case t.TIME:
557
- return { name: w.TIME };
754
+ case o.COLOR:
755
+ return { name: E.COLOR };
756
+ case o.DATE:
757
+ case o.DATETIME_LOCAL:
758
+ case o.WEEK:
759
+ case o.MONTH:
760
+ return { name: E.DATE };
761
+ case o.TIME:
762
+ return { name: E.TIME };
558
763
  default:
559
764
  return "";
560
765
  }
561
- }), { formatted: re } = useTextCount(b, {
766
+ }), { formatted: ce } = useTextCount(b, {
562
767
  mode: e.count,
563
768
  upperLimit: e.maxlength,
564
769
  lowerLimit: e.minlength
565
- }), L = computed(() => !e.disabled && !e.readonly), ue = computed(
566
- () => L.value ? e.tabindex : -1
567
- ), Q = computed(() => !isEmpty(g)), ce = computed(() => {
568
- if (s.value === !0)
770
+ }), $ = computed(() => !e.disabled && !e.readonly), pe = computed(
771
+ () => $.value ? e.tabindex : -1
772
+ ), te = computed(() => !isEmpty(f)), ve = computed(() => {
773
+ if (S.value === !0)
569
774
  return !0;
570
- if (n.value === !0)
775
+ if (a.value === !0)
571
776
  return !1;
572
- }), { bemCssClasses: de } = useBemModifiers("vv-input-text", {
573
- modifiers: e.modifiers,
574
- valid: n,
575
- invalid: s,
576
- loading: S,
577
- disabled: e.disabled,
578
- readonly: e.readonly,
579
- iconLeft: Y,
580
- iconRight: B.value || !isEmpty(k),
581
- floating: e.floating && !isEmpty(e.label),
582
- dirty: Q,
583
- focus: P
584
- }), pe = computed(() => {
585
- const r = (() => H.value && C.value || A.value && !Q.value && !P.value ? t.TEXT : e.type)(), p = {
777
+ }), { modifiers: fe } = toRefs(e), me = useBemModifiers(
778
+ "vv-input-text",
779
+ fe,
780
+ computed(() => ({
781
+ valid: a.value,
782
+ invalid: S.value,
783
+ loading: c.value,
784
+ disabled: e.disabled,
785
+ readonly: e.readonly,
786
+ "icon-before": ee.value,
787
+ "icon-after": M.value || !isEmpty(k),
788
+ floating: e.floating && !isEmpty(e.label),
789
+ dirty: te.value,
790
+ focus: D.value
791
+ }))
792
+ ), he = computed(() => {
793
+ const r = (() => R.value && P.value || re.value && !te.value && !D.value ? o.TEXT : e.type)(), p = {
586
794
  type: r,
587
795
  name: e.name,
588
- tabindex: ue.value,
796
+ tabindex: pe.value,
589
797
  disabled: e.disabled,
590
798
  readonly: e.readonly,
591
799
  required: e.required,
592
800
  autocomplete: e.autocomplete,
593
- "aria-invalid": ce.value,
594
- "aria-describedby": !Z.value && ve.value ? v.value : void 0,
595
- "aria-errormessage": Z.value ? v.value : void 0
801
+ "aria-invalid": ve.value,
802
+ "aria-describedby": !oe.value && be.value ? w.value : void 0,
803
+ "aria-errormessage": oe.value ? w.value : void 0
596
804
  };
597
- return (r === t.DATE || r === t.MONTH || r === t.WEEK || r === t.TIME || r === t.DATETIME_LOCAL || r === t.NUMBER) && (p.step = e.step, p.max = String(e.max), p.min = String(e.min)), (r === t.TEXT || r === t.SEARCH || r === t.URL || r === t.TEL || r === t.EMAIL || r === t.PASSWORD || r === t.NUMBER) && (p.placeholder = I.value), (r === t.TEXT || r === t.SEARCH || r === t.URL || r === t.TEL || r === t.EMAIL || r === t.PASSWORD) && (p.minlength = e.minlength, p.maxlength = e.maxlength, p.pattern = e.pattern), r === t.EMAIL && (p.multiple = e.multiple), p;
598
- }), $ = computed(() => ({
805
+ return (r === o.DATE || r === o.MONTH || r === o.WEEK || r === o.TIME || r === o.DATETIME_LOCAL || r === o.NUMBER) && (p.step = e.step, p.max = String(e.max), p.min = String(e.min)), (r === o.TEXT || r === o.SEARCH || r === o.URL || r === o.TEL || r === o.EMAIL || r === o.PASSWORD || r === o.NUMBER) && (p.placeholder = H.value), (r === o.TEXT || r === o.SEARCH || r === o.URL || r === o.TEL || r === o.EMAIL || r === o.PASSWORD) && (p.minlength = e.minlength, p.maxlength = e.maxlength, p.pattern = e.pattern), r === o.EMAIL && (p.multiple = e.multiple), p;
806
+ }), L = computed(() => ({
599
807
  valid: e.valid,
600
808
  invalid: e.invalid,
601
809
  modelValue: e.modelValue,
602
- togglePassword: O,
603
- stepUp: z,
604
- stepDown: K,
605
- clear: G
606
- })), { HintSlot: me, hasHint: ve, hasInvalid: Z } = De(e, c), fe = X(
607
- t.PASSWORD,
810
+ togglePassword: I,
811
+ stepUp: J,
812
+ stepDown: G,
813
+ clear: Q
814
+ })), { HintSlot: Se, hasHint: be, hasInvalid: oe } = Oe(e, l), ge = X(
815
+ o.PASSWORD,
608
816
  e
609
- ), Se = X(
610
- t.NUMBER,
817
+ ), ye = X(
818
+ o.NUMBER,
611
819
  e
612
- ), he = X(
613
- t.SEARCH,
820
+ ), we = X(
821
+ o.SEARCH,
614
822
  e
615
823
  );
616
- return (r, p) => (y(), W("div", {
617
- class: be(a(de))
824
+ return (r, p) => (g(), O("div", {
825
+ class: Ee(i(me))
618
826
  }, [
619
- a(T) ? (y(), W("label", {
827
+ i(y) ? (g(), O("label", {
620
828
  key: 0,
621
- for: a(d),
829
+ for: i(m),
622
830
  class: "vv-input-text__label"
623
- }, ee(a(T)), 9, Ge)) : R("", !0),
624
- te("div", Ye, [
625
- F(r.$slots, "before", V(j(a($))), () => [
626
- a(Y) ? (y(), D(E, M({
831
+ }, ne(i(y)), 9, Qe)) : _("", !0),
832
+ W("div", Ze, [
833
+ r.$slots.before ? (g(), O("div", et, [
834
+ F(r.$slots, "before", j(q(i(L))))
835
+ ])) : _("", !0),
836
+ W("div", tt, [
837
+ i(ee) ? (g(), C(A, V({
627
838
  key: 0,
628
- class: "vv-input-text__icon-left"
629
- }, a(J)), null, 16)) : R("", !0)
630
- ]),
631
- ge(te("input", M({
632
- id: a(d),
633
- ref_key: "input",
634
- ref: l,
635
- "onUpdate:modelValue": p[0] || (p[0] = (U) => ye(b) ? b.value = U : null)
636
- }, a(pe), {
637
- onKeyup: p[1] || (p[1] = (U) => o("keyup", U))
638
- }), null, 16, Je), [
639
- [we, a(b)]
640
- ]),
641
- F(r.$slots, "after", V(j(a($))), () => [
642
- a(B) || a(k) ? (y(), D(E, V(M({ key: 0 }, a(B) ? a(J) : a(k))), null, 16)) : a(H) ? (y(), D(a(fe), {
839
+ class: "vv-input-text__icon"
840
+ }, i(Z)), null, 16)) : _("", !0),
841
+ Ae(W("input", V({
842
+ id: i(m),
843
+ ref_key: "input",
844
+ ref: d,
845
+ "onUpdate:modelValue": p[0] || (p[0] = (U) => Ie(b) ? b.value = U : null)
846
+ }, i(he), {
847
+ onKeyup: p[1] || (p[1] = (U) => n("keyup", U))
848
+ }), null, 16, ot), [
849
+ [_e, i(b)]
850
+ ]),
851
+ i(M) || i(k) ? (g(), C(A, V({
643
852
  key: 1,
644
- onTogglePassword: O
645
- })) : a(ae) ? (y(), D(a(Se), {
853
+ class: "vv-input-text__icon vv-input-text__icon-after"
854
+ }, i(M) ? i(Z) : i(k)), null, 16)) : i(R) ? (g(), C(i(ge), {
646
855
  key: 2,
647
- onStepUp: z,
648
- onStepDown: K
649
- })) : a(le) ? (y(), D(a(he), {
856
+ onTogglePassword: I
857
+ })) : i(ue) ? (g(), C(i(ye), {
650
858
  key: 3,
651
- onClear: G
652
- })) : R("", !0)
859
+ onStepUp: J,
860
+ onStepDown: G
861
+ })) : i(de) ? (g(), C(i(we), {
862
+ key: 4,
863
+ onClear: Q
864
+ })) : _("", !0)
653
865
  ]),
654
- a(f) ? (y(), W("span", Qe, [
655
- F(r.$slots, "count", V(j(a($))), () => [
656
- Ee(ee(a(re)), 1)
866
+ r.$slots.after ? (g(), O("div", nt, [
867
+ F(r.$slots, "after", j(q(i(L))))
868
+ ])) : _("", !0),
869
+ i(s) ? (g(), O("span", st, [
870
+ F(r.$slots, "count", j(q(i(L))), () => [
871
+ De(ne(i(ce)), 1)
657
872
  ])
658
- ])) : R("", !0)
873
+ ])) : _("", !0)
659
874
  ]),
660
- Ie(a(me), {
661
- id: a(v),
875
+ Ce(i(Se), {
876
+ id: i(w),
662
877
  class: "vv-input-text__hint"
663
878
  }, null, 8, ["id"])
664
879
  ], 2));
665
880
  }
666
881
  });
667
882
  export {
668
- nt as default
883
+ rt as default
669
884
  };