cornet-ui 0.1.0-beta.1

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 (383) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +95 -0
  3. package/components/Actions/du-button/du-button.types.ts +14 -0
  4. package/components/Actions/du-button/du-button.vue +149 -0
  5. package/components/Actions/du-dropdown/du-dropdown.types.ts +15 -0
  6. package/components/Actions/du-dropdown/du-dropdown.vue +75 -0
  7. package/components/Actions/du-fab/du-fab.types.ts +28 -0
  8. package/components/Actions/du-fab/du-fab.vue +270 -0
  9. package/components/Actions/du-modal/du-modal.types.ts +10 -0
  10. package/components/Actions/du-modal/du-modal.vue +123 -0
  11. package/components/Actions/du-swap/du-swap.types.ts +3 -0
  12. package/components/Actions/du-swap/du-swap.vue +68 -0
  13. package/components/DataDisplay/du-accordion/du-accordion-item.vue +37 -0
  14. package/components/DataDisplay/du-accordion/du-accordion.types.ts +15 -0
  15. package/components/DataDisplay/du-accordion/du-accordion.vue +73 -0
  16. package/components/DataDisplay/du-avatar/du-avatar.types.ts +59 -0
  17. package/components/DataDisplay/du-avatar/du-avatar.vue +139 -0
  18. package/components/DataDisplay/du-badge/du-badge.types.ts +21 -0
  19. package/components/DataDisplay/du-badge/du-badge.vue +81 -0
  20. package/components/DataDisplay/du-card/du-card.types.ts +18 -0
  21. package/components/DataDisplay/du-card/du-card.vue +86 -0
  22. package/components/DataDisplay/du-carousel/du-carousel-item.vue +11 -0
  23. package/components/DataDisplay/du-carousel/du-carousel.types.ts +15 -0
  24. package/components/DataDisplay/du-carousel/du-carousel.vue +46 -0
  25. package/components/DataDisplay/du-chat/du-chat-item.vue +56 -0
  26. package/components/DataDisplay/du-chat/du-chat.types.ts +31 -0
  27. package/components/DataDisplay/du-chat/du-chat.vue +71 -0
  28. package/components/DataDisplay/du-collapse/du-collapse.types.ts +15 -0
  29. package/components/DataDisplay/du-collapse/du-collapse.vue +59 -0
  30. package/components/DataDisplay/du-countdown/du-countdown-group.vue +88 -0
  31. package/components/DataDisplay/du-countdown/du-countdown.types.ts +15 -0
  32. package/components/DataDisplay/du-countdown/du-countdown.vue +180 -0
  33. package/components/DataDisplay/du-diff/du-diff.types.ts +9 -0
  34. package/components/DataDisplay/du-diff/du-diff.vue +44 -0
  35. package/components/DataDisplay/du-kbd/du-kbd.types.ts +9 -0
  36. package/components/DataDisplay/du-kbd/du-kbd.vue +21 -0
  37. package/components/DataDisplay/du-list/du-list-row.vue +12 -0
  38. package/components/DataDisplay/du-list/du-list.types.ts +3 -0
  39. package/components/DataDisplay/du-list/du-list.vue +11 -0
  40. package/components/DataDisplay/du-stat/du-stat.types.ts +12 -0
  41. package/components/DataDisplay/du-stat/du-stat.vue +28 -0
  42. package/components/DataDisplay/du-stats/du-stats.types.ts +3 -0
  43. package/components/DataDisplay/du-stats/du-stats.vue +91 -0
  44. package/components/DataDisplay/du-status/du-status.types.ts +21 -0
  45. package/components/DataDisplay/du-status/du-status.vue +51 -0
  46. package/components/DataDisplay/du-table/du-table-item.types.ts +6 -0
  47. package/components/DataDisplay/du-table/du-table-item.vue +24 -0
  48. package/components/DataDisplay/du-table/du-table.types.ts +26 -0
  49. package/components/DataDisplay/du-table/du-table.vue +125 -0
  50. package/components/DataDisplay/du-timeline/du-timeline-item.vue +85 -0
  51. package/components/DataDisplay/du-timeline/du-timeline.types.ts +22 -0
  52. package/components/DataDisplay/du-timeline/du-timeline.vue +138 -0
  53. package/components/DataInput/du-checkbox/du-checkbox.types.ts +17 -0
  54. package/components/DataInput/du-checkbox/du-checkbox.vue +40 -0
  55. package/components/DataInput/du-fieldset/du-fieldset.types.ts +4 -0
  56. package/components/DataInput/du-fieldset/du-fieldset.vue +16 -0
  57. package/components/DataInput/du-file-input/du-file-input.types.ts +29 -0
  58. package/components/DataInput/du-file-input/du-file-input.vue +31 -0
  59. package/components/DataInput/du-filter/du-filter.types.ts +30 -0
  60. package/components/DataInput/du-filter/du-filter.vue +47 -0
  61. package/components/DataInput/du-input-field/du-input-field.types.ts +43 -0
  62. package/components/DataInput/du-input-field/du-input-field.vue +47 -0
  63. package/components/DataInput/du-label/du-label.types.ts +3 -0
  64. package/components/DataInput/du-label/du-label.vue +28 -0
  65. package/components/DataInput/du-label-input-validator/du-label-input-validator.types.ts +7 -0
  66. package/components/DataInput/du-label-input-validator/du-label-input-validator.vue +51 -0
  67. package/components/DataInput/du-radio/du-radio.types.ts +15 -0
  68. package/components/DataInput/du-radio/du-radio.vue +27 -0
  69. package/components/DataInput/du-range/du-range.types.ts +18 -0
  70. package/components/DataInput/du-range/du-range.vue +60 -0
  71. package/components/DataInput/du-rating/du-rating-item.vue +65 -0
  72. package/components/DataInput/du-rating/du-rating.types.ts +46 -0
  73. package/components/DataInput/du-rating/du-rating.vue +127 -0
  74. package/components/DataInput/du-search/du-search.types.ts +44 -0
  75. package/components/DataInput/du-search/du-search.vue +425 -0
  76. package/components/DataInput/du-select/du-select.types.ts +31 -0
  77. package/components/DataInput/du-select/du-select.vue +384 -0
  78. package/components/DataInput/du-text-area/du-text-area.types.ts +11 -0
  79. package/components/DataInput/du-text-area/du-text-area.vue +41 -0
  80. package/components/Feedback/du-alert/du-alert.types.ts +16 -0
  81. package/components/Feedback/du-alert/du-alert.vue +113 -0
  82. package/components/Feedback/du-loading/du-loading.types.ts +11 -0
  83. package/components/Feedback/du-loading/du-loading.vue +33 -0
  84. package/components/Feedback/du-progress/du-progress.types.ts +8 -0
  85. package/components/Feedback/du-progress/du-progress.vue +23 -0
  86. package/components/Feedback/du-radial-progress/du-radial-progress.types.ts +9 -0
  87. package/components/Feedback/du-radial-progress/du-radial-progress.vue +64 -0
  88. package/components/Feedback/du-skeleton/du-skeleton.types.ts +3 -0
  89. package/components/Feedback/du-skeleton/du-skeleton.vue +11 -0
  90. package/components/Feedback/du-toast/du-toast.types.ts +11 -0
  91. package/components/Feedback/du-toast/du-toast.vue +54 -0
  92. package/components/Feedback/du-tooltip/du-tooltip.types.ts +12 -0
  93. package/components/Feedback/du-tooltip/du-tooltip.vue +55 -0
  94. package/components/Layout/du-drawer/du-drawer.types.ts +27 -0
  95. package/components/Layout/du-drawer/du-drawer.vue +224 -0
  96. package/components/Layout/du-join/du-join.types.ts +7 -0
  97. package/components/Layout/du-join/du-join.vue +31 -0
  98. package/components/Navigation/du-breadcrumbs/du-breadcrumbs.types.ts +13 -0
  99. package/components/Navigation/du-breadcrumbs/du-breadcrumbs.vue +79 -0
  100. package/components/Navigation/du-button-link/du-button-link.types.ts +17 -0
  101. package/components/Navigation/du-button-link/du-button-link.vue +77 -0
  102. package/components/Navigation/du-dock/du-dock.types.ts +19 -0
  103. package/components/Navigation/du-dock/du-dock.vue +73 -0
  104. package/components/Navigation/du-link/du-link.types.ts +7 -0
  105. package/components/Navigation/du-link/du-link.vue +25 -0
  106. package/components/Navigation/du-menu/du-menu-item.vue +160 -0
  107. package/components/Navigation/du-menu/du-menu.types.ts +33 -0
  108. package/components/Navigation/du-menu/du-menu.vue +87 -0
  109. package/components/Navigation/du-navbar/du-navbar.types.ts +3 -0
  110. package/components/Navigation/du-navbar/du-navbar.vue +21 -0
  111. package/components/Navigation/du-pagination/du-pagination.types.ts +30 -0
  112. package/components/Navigation/du-pagination/du-pagination.vue +186 -0
  113. package/components/Navigation/du-step-item/du-step-item.types.ts +9 -0
  114. package/components/Navigation/du-step-item/du-step-item.vue +46 -0
  115. package/components/Navigation/du-steps/du-steps.types.ts +20 -0
  116. package/components/Navigation/du-steps/du-steps.vue +85 -0
  117. package/components/Navigation/du-tabs/du-tabs.types.ts +25 -0
  118. package/components/Navigation/du-tabs/du-tabs.vue +96 -0
  119. package/composables/useSizeProps.ts +26 -0
  120. package/composables/useVariantProps.ts +18 -0
  121. package/dist/_virtual/_plugin-vue_export-helper.js +8 -0
  122. package/dist/components/Actions/du-button/du-button.js +5 -0
  123. package/dist/components/Actions/du-button/du-button.types.d.ts +4 -0
  124. package/dist/components/Actions/du-button/du-button.vue.d.ts +58 -0
  125. package/dist/components/Actions/du-button/du-button.vue_vue_type_script_setup_true_lang.js +98 -0
  126. package/dist/components/Actions/du-dropdown/du-dropdown.js +5 -0
  127. package/dist/components/Actions/du-dropdown/du-dropdown.types.d.ts +4 -0
  128. package/dist/components/Actions/du-dropdown/du-dropdown.vue.d.ts +33 -0
  129. package/dist/components/Actions/du-dropdown/du-dropdown.vue_vue_type_script_setup_true_lang.js +53 -0
  130. package/dist/components/Actions/du-fab/du-fab.js +5 -0
  131. package/dist/components/Actions/du-fab/du-fab.types.d.ts +24 -0
  132. package/dist/components/Actions/du-fab/du-fab.vue.d.ts +87 -0
  133. package/dist/components/Actions/du-fab/du-fab.vue_vue_type_script_setup_true_lang.js +204 -0
  134. package/dist/components/Actions/du-modal/du-modal.js +5 -0
  135. package/dist/components/Actions/du-modal/du-modal.types.d.ts +2 -0
  136. package/dist/components/Actions/du-modal/du-modal.vue.d.ts +48 -0
  137. package/dist/components/Actions/du-modal/du-modal.vue_vue_type_script_setup_true_lang.js +92 -0
  138. package/dist/components/Actions/du-swap/du-swap.js +5 -0
  139. package/dist/components/Actions/du-swap/du-swap.types.d.ts +2 -0
  140. package/dist/components/Actions/du-swap/du-swap.vue.d.ts +36 -0
  141. package/dist/components/Actions/du-swap/du-swap.vue_vue_type_script_setup_true_lang.js +61 -0
  142. package/dist/components/DataDisplay/du-accordion/du-accordion-item.js +5 -0
  143. package/dist/components/DataDisplay/du-accordion/du-accordion-item.vue.d.ts +24 -0
  144. package/dist/components/DataDisplay/du-accordion/du-accordion-item.vue_vue_type_script_setup_true_lang.js +31 -0
  145. package/dist/components/DataDisplay/du-accordion/du-accordion.js +5 -0
  146. package/dist/components/DataDisplay/du-accordion/du-accordion.types.d.ts +8 -0
  147. package/dist/components/DataDisplay/du-accordion/du-accordion.vue.d.ts +45 -0
  148. package/dist/components/DataDisplay/du-accordion/du-accordion.vue_vue_type_script_setup_true_lang.js +45 -0
  149. package/dist/components/DataDisplay/du-avatar/du-avatar.js +7 -0
  150. package/dist/components/DataDisplay/du-avatar/du-avatar.types.d.ts +12 -0
  151. package/dist/components/DataDisplay/du-avatar/du-avatar.vue.d.ts +38 -0
  152. package/dist/components/DataDisplay/du-avatar/du-avatar.vue_vue_type_script_setup_true_lang.js +57 -0
  153. package/dist/components/DataDisplay/du-avatar/du-avatar.vue_vue_type_style_index_0_scoped_fdc61ebe_lang.css +1 -0
  154. package/dist/components/DataDisplay/du-badge/du-badge.js +5 -0
  155. package/dist/components/DataDisplay/du-badge/du-badge.types.d.ts +4 -0
  156. package/dist/components/DataDisplay/du-badge/du-badge.vue.d.ts +32 -0
  157. package/dist/components/DataDisplay/du-badge/du-badge.vue_vue_type_script_setup_true_lang.js +54 -0
  158. package/dist/components/DataDisplay/du-card/du-card.js +5 -0
  159. package/dist/components/DataDisplay/du-card/du-card.types.d.ts +4 -0
  160. package/dist/components/DataDisplay/du-card/du-card.vue.d.ts +43 -0
  161. package/dist/components/DataDisplay/du-card/du-card.vue_vue_type_script_setup_true_lang.js +61 -0
  162. package/dist/components/DataDisplay/du-carousel/du-carousel-item.js +5 -0
  163. package/dist/components/DataDisplay/du-carousel/du-carousel-item.vue.d.ts +16 -0
  164. package/dist/components/DataDisplay/du-carousel/du-carousel-item.vue_vue_type_script_setup_true_lang.js +14 -0
  165. package/dist/components/DataDisplay/du-carousel/du-carousel.js +5 -0
  166. package/dist/components/DataDisplay/du-carousel/du-carousel.types.d.ts +9 -0
  167. package/dist/components/DataDisplay/du-carousel/du-carousel.vue.d.ts +27 -0
  168. package/dist/components/DataDisplay/du-carousel/du-carousel.vue_vue_type_script_setup_true_lang.js +46 -0
  169. package/dist/components/DataDisplay/du-chat/du-chat-item.js +5 -0
  170. package/dist/components/DataDisplay/du-chat/du-chat-item.vue.d.ts +32 -0
  171. package/dist/components/DataDisplay/du-chat/du-chat-item.vue_vue_type_script_setup_true_lang.js +36 -0
  172. package/dist/components/DataDisplay/du-chat/du-chat.js +5 -0
  173. package/dist/components/DataDisplay/du-chat/du-chat.types.d.ts +18 -0
  174. package/dist/components/DataDisplay/du-chat/du-chat.vue.d.ts +38 -0
  175. package/dist/components/DataDisplay/du-chat/du-chat.vue_vue_type_script_setup_true_lang.js +55 -0
  176. package/dist/components/DataDisplay/du-collapse/du-collapse.js +5 -0
  177. package/dist/components/DataDisplay/du-collapse/du-collapse.types.d.ts +8 -0
  178. package/dist/components/DataDisplay/du-collapse/du-collapse.vue.d.ts +33 -0
  179. package/dist/components/DataDisplay/du-collapse/du-collapse.vue_vue_type_script_setup_true_lang.js +36 -0
  180. package/dist/components/DataDisplay/du-countdown/du-countdown-group.js +5 -0
  181. package/dist/components/DataDisplay/du-countdown/du-countdown-group.vue.d.ts +23 -0
  182. package/dist/components/DataDisplay/du-countdown/du-countdown-group.vue_vue_type_script_setup_true_lang.js +83 -0
  183. package/dist/components/DataDisplay/du-countdown/du-countdown.js +5 -0
  184. package/dist/components/DataDisplay/du-countdown/du-countdown.types.d.ts +8 -0
  185. package/dist/components/DataDisplay/du-countdown/du-countdown.vue.d.ts +27 -0
  186. package/dist/components/DataDisplay/du-countdown/du-countdown.vue_vue_type_script_setup_true_lang.js +67 -0
  187. package/dist/components/DataDisplay/du-diff/du-diff.js +5 -0
  188. package/dist/components/DataDisplay/du-diff/du-diff.types.d.ts +2 -0
  189. package/dist/components/DataDisplay/du-diff/du-diff.vue.d.ts +25 -0
  190. package/dist/components/DataDisplay/du-diff/du-diff.vue_vue_type_script_setup_true_lang.js +33 -0
  191. package/dist/components/DataDisplay/du-kbd/du-kbd.js +5 -0
  192. package/dist/components/DataDisplay/du-kbd/du-kbd.types.d.ts +2 -0
  193. package/dist/components/DataDisplay/du-kbd/du-kbd.vue.d.ts +19 -0
  194. package/dist/components/DataDisplay/du-kbd/du-kbd.vue_vue_type_script_setup_true_lang.js +13 -0
  195. package/dist/components/DataDisplay/du-list/du-list-row.js +5 -0
  196. package/dist/components/DataDisplay/du-list/du-list-row.vue.d.ts +17 -0
  197. package/dist/components/DataDisplay/du-list/du-list-row.vue_vue_type_script_setup_true_lang.js +22 -0
  198. package/dist/components/DataDisplay/du-list/du-list.js +5 -0
  199. package/dist/components/DataDisplay/du-list/du-list.types.d.ts +3 -0
  200. package/dist/components/DataDisplay/du-list/du-list.vue.d.ts +14 -0
  201. package/dist/components/DataDisplay/du-list/du-list.vue_vue_type_script_setup_true_lang.js +12 -0
  202. package/dist/components/DataDisplay/du-stat/du-stat.js +5 -0
  203. package/dist/components/DataDisplay/du-stat/du-stat.types.d.ts +12 -0
  204. package/dist/components/DataDisplay/du-stat/du-stat.vue.d.ts +27 -0
  205. package/dist/components/DataDisplay/du-stat/du-stat.vue_vue_type_script_setup_true_lang.js +37 -0
  206. package/dist/components/DataDisplay/du-stats/du-stats.js +7 -0
  207. package/dist/components/DataDisplay/du-stats/du-stats.types.d.ts +2 -0
  208. package/dist/components/DataDisplay/du-stats/du-stats.vue.d.ts +40 -0
  209. package/dist/components/DataDisplay/du-stats/du-stats.vue_vue_type_script_setup_true_lang.js +67 -0
  210. package/dist/components/DataDisplay/du-stats/du-stats.vue_vue_type_style_index_0_scoped_db955aa9_lang.css +1 -0
  211. package/dist/components/DataDisplay/du-status/du-status.js +5 -0
  212. package/dist/components/DataDisplay/du-status/du-status.types.d.ts +4 -0
  213. package/dist/components/DataDisplay/du-status/du-status.vue.d.ts +16 -0
  214. package/dist/components/DataDisplay/du-status/du-status.vue_vue_type_script_setup_true_lang.js +54 -0
  215. package/dist/components/DataDisplay/du-table/du-table-item.js +5 -0
  216. package/dist/components/DataDisplay/du-table/du-table-item.types.d.ts +6 -0
  217. package/dist/components/DataDisplay/du-table/du-table-item.vue.d.ts +19 -0
  218. package/dist/components/DataDisplay/du-table/du-table-item.vue_vue_type_script_setup_true_lang.js +30 -0
  219. package/dist/components/DataDisplay/du-table/du-table.js +5 -0
  220. package/dist/components/DataDisplay/du-table/du-table.types.d.ts +23 -0
  221. package/dist/components/DataDisplay/du-table/du-table.vue.d.ts +42 -0
  222. package/dist/components/DataDisplay/du-table/du-table.vue_vue_type_script_setup_true_lang.js +75 -0
  223. package/dist/components/DataDisplay/du-timeline/du-timeline-item.js +5 -0
  224. package/dist/components/DataDisplay/du-timeline/du-timeline-item.vue.d.ts +34 -0
  225. package/dist/components/DataDisplay/du-timeline/du-timeline-item.vue_vue_type_script_setup_true_lang.js +51 -0
  226. package/dist/components/DataDisplay/du-timeline/du-timeline.js +5 -0
  227. package/dist/components/DataDisplay/du-timeline/du-timeline.types.d.ts +12 -0
  228. package/dist/components/DataDisplay/du-timeline/du-timeline.vue.d.ts +61 -0
  229. package/dist/components/DataDisplay/du-timeline/du-timeline.vue_vue_type_script_setup_true_lang.js +75 -0
  230. package/dist/components/DataInput/du-checkbox/du-checkbox.js +5 -0
  231. package/dist/components/DataInput/du-checkbox/du-checkbox.types.d.ts +14 -0
  232. package/dist/components/DataInput/du-checkbox/du-checkbox.vue.d.ts +19 -0
  233. package/dist/components/DataInput/du-checkbox/du-checkbox.vue_vue_type_script_setup_true_lang.js +47 -0
  234. package/dist/components/DataInput/du-fieldset/du-fieldset.js +5 -0
  235. package/dist/components/DataInput/du-fieldset/du-fieldset.types.d.ts +4 -0
  236. package/dist/components/DataInput/du-fieldset/du-fieldset.vue.d.ts +14 -0
  237. package/dist/components/DataInput/du-fieldset/du-fieldset.vue_vue_type_script_setup_true_lang.js +21 -0
  238. package/dist/components/DataInput/du-file-input/du-file-input.js +5 -0
  239. package/dist/components/DataInput/du-file-input/du-file-input.types.d.ts +10 -0
  240. package/dist/components/DataInput/du-file-input/du-file-input.vue.d.ts +9 -0
  241. package/dist/components/DataInput/du-file-input/du-file-input.vue_vue_type_script_setup_true_lang.js +34 -0
  242. package/dist/components/DataInput/du-filter/du-filter.js +5 -0
  243. package/dist/components/DataInput/du-filter/du-filter.types.d.ts +27 -0
  244. package/dist/components/DataInput/du-filter/du-filter.vue.d.ts +17 -0
  245. package/dist/components/DataInput/du-filter/du-filter.vue_vue_type_script_setup_true_lang.js +28 -0
  246. package/dist/components/DataInput/du-input-field/du-input-field.js +5 -0
  247. package/dist/components/DataInput/du-input-field/du-input-field.types.d.ts +26 -0
  248. package/dist/components/DataInput/du-input-field/du-input-field.vue.d.ts +21 -0
  249. package/dist/components/DataInput/du-input-field/du-input-field.vue_vue_type_script_setup_true_lang.js +76 -0
  250. package/dist/components/DataInput/du-label/du-label.js +5 -0
  251. package/dist/components/DataInput/du-label/du-label.types.d.ts +3 -0
  252. package/dist/components/DataInput/du-label/du-label.vue.d.ts +14 -0
  253. package/dist/components/DataInput/du-label/du-label.vue_vue_type_script_setup_true_lang.js +19 -0
  254. package/dist/components/DataInput/du-label-input-validator/du-label-input-validator.js +5 -0
  255. package/dist/components/DataInput/du-label-input-validator/du-label-input-validator.types.d.ts +5 -0
  256. package/dist/components/DataInput/du-label-input-validator/du-label-input-validator.vue.d.ts +37 -0
  257. package/dist/components/DataInput/du-label-input-validator/du-label-input-validator.vue_vue_type_script_setup_true_lang.js +90 -0
  258. package/dist/components/DataInput/du-radio/du-radio.js +5 -0
  259. package/dist/components/DataInput/du-radio/du-radio.types.d.ts +12 -0
  260. package/dist/components/DataInput/du-radio/du-radio.vue.d.ts +9 -0
  261. package/dist/components/DataInput/du-radio/du-radio.vue_vue_type_script_setup_true_lang.js +34 -0
  262. package/dist/components/DataInput/du-range/du-range.js +5 -0
  263. package/dist/components/DataInput/du-range/du-range.types.d.ts +15 -0
  264. package/dist/components/DataInput/du-range/du-range.vue.d.ts +20 -0
  265. package/dist/components/DataInput/du-range/du-range.vue_vue_type_script_setup_true_lang.js +52 -0
  266. package/dist/components/DataInput/du-rating/du-rating-item.js +5 -0
  267. package/dist/components/DataInput/du-rating/du-rating-item.vue.d.ts +15 -0
  268. package/dist/components/DataInput/du-rating/du-rating-item.vue_vue_type_script_setup_true_lang.js +57 -0
  269. package/dist/components/DataInput/du-rating/du-rating.js +5 -0
  270. package/dist/components/DataInput/du-rating/du-rating.types.d.ts +38 -0
  271. package/dist/components/DataInput/du-rating/du-rating.vue.d.ts +34 -0
  272. package/dist/components/DataInput/du-rating/du-rating.vue_vue_type_script_setup_true_lang.js +100 -0
  273. package/dist/components/DataInput/du-search/du-search.js +5 -0
  274. package/dist/components/DataInput/du-search/du-search.types.d.ts +40 -0
  275. package/dist/components/DataInput/du-search/du-search.vue.d.ts +52 -0
  276. package/dist/components/DataInput/du-search/du-search.vue_vue_type_script_setup_true_lang.js +270 -0
  277. package/dist/components/DataInput/du-select/du-select.js +7 -0
  278. package/dist/components/DataInput/du-select/du-select.types.d.ts +28 -0
  279. package/dist/components/DataInput/du-select/du-select.vue.d.ts +60 -0
  280. package/dist/components/DataInput/du-select/du-select.vue_vue_type_script_setup_true_lang.js +321 -0
  281. package/dist/components/DataInput/du-select/du-select.vue_vue_type_style_index_0_scoped_2bcf0acd_lang.css +1 -0
  282. package/dist/components/DataInput/du-text-area/du-text-area.js +5 -0
  283. package/dist/components/DataInput/du-text-area/du-text-area.types.d.ts +10 -0
  284. package/dist/components/DataInput/du-text-area/du-text-area.vue.d.ts +15 -0
  285. package/dist/components/DataInput/du-text-area/du-text-area.vue_vue_type_script_setup_true_lang.js +46 -0
  286. package/dist/components/Feedback/du-alert/du-alert.js +5 -0
  287. package/dist/components/Feedback/du-alert/du-alert.types.d.ts +14 -0
  288. package/dist/components/Feedback/du-alert/du-alert.vue.d.ts +25 -0
  289. package/dist/components/Feedback/du-alert/du-alert.vue_vue_type_script_setup_true_lang.js +94 -0
  290. package/dist/components/Feedback/du-loading/du-loading.js +5 -0
  291. package/dist/components/Feedback/du-loading/du-loading.types.d.ts +9 -0
  292. package/dist/components/Feedback/du-loading/du-loading.vue.d.ts +8 -0
  293. package/dist/components/Feedback/du-loading/du-loading.vue_vue_type_script_setup_true_lang.js +30 -0
  294. package/dist/components/Feedback/du-progress/du-progress.js +5 -0
  295. package/dist/components/Feedback/du-progress/du-progress.types.d.ts +7 -0
  296. package/dist/components/Feedback/du-progress/du-progress.vue.d.ts +9 -0
  297. package/dist/components/Feedback/du-progress/du-progress.vue_vue_type_script_setup_true_lang.js +29 -0
  298. package/dist/components/Feedback/du-radial-progress/du-radial-progress.js +7 -0
  299. package/dist/components/Feedback/du-radial-progress/du-radial-progress.types.d.ts +8 -0
  300. package/dist/components/Feedback/du-radial-progress/du-radial-progress.vue.d.ts +19 -0
  301. package/dist/components/Feedback/du-radial-progress/du-radial-progress.vue_vue_type_script_setup_true_lang.js +31 -0
  302. package/dist/components/Feedback/du-radial-progress/du-radial-progress.vue_vue_type_style_index_0_scoped_4d489040_lang.css +1 -0
  303. package/dist/components/Feedback/du-skeleton/du-skeleton.js +5 -0
  304. package/dist/components/Feedback/du-skeleton/du-skeleton.types.d.ts +3 -0
  305. package/dist/components/Feedback/du-skeleton/du-skeleton.vue.d.ts +14 -0
  306. package/dist/components/Feedback/du-skeleton/du-skeleton.vue_vue_type_script_setup_true_lang.js +12 -0
  307. package/dist/components/Feedback/du-toast/du-toast.js +5 -0
  308. package/dist/components/Feedback/du-toast/du-toast.types.d.ts +9 -0
  309. package/dist/components/Feedback/du-toast/du-toast.vue.d.ts +20 -0
  310. package/dist/components/Feedback/du-toast/du-toast.vue_vue_type_script_setup_true_lang.js +45 -0
  311. package/dist/components/Feedback/du-tooltip/du-tooltip.js +5 -0
  312. package/dist/components/Feedback/du-tooltip/du-tooltip.types.d.ts +10 -0
  313. package/dist/components/Feedback/du-tooltip/du-tooltip.vue.d.ts +22 -0
  314. package/dist/components/Feedback/du-tooltip/du-tooltip.vue_vue_type_script_setup_true_lang.js +44 -0
  315. package/dist/components/Layout/du-drawer/du-drawer.js +5 -0
  316. package/dist/components/Layout/du-drawer/du-drawer.types.d.ts +23 -0
  317. package/dist/components/Layout/du-drawer/du-drawer.vue.d.ts +58 -0
  318. package/dist/components/Layout/du-drawer/du-drawer.vue_vue_type_script_setup_true_lang.js +129 -0
  319. package/dist/components/Layout/du-join/du-join.js +5 -0
  320. package/dist/components/Layout/du-join/du-join.types.d.ts +6 -0
  321. package/dist/components/Layout/du-join/du-join.vue.d.ts +17 -0
  322. package/dist/components/Layout/du-join/du-join.vue_vue_type_script_setup_true_lang.js +24 -0
  323. package/dist/components/Navigation/du-breadcrumbs/du-breadcrumbs.js +7 -0
  324. package/dist/components/Navigation/du-breadcrumbs/du-breadcrumbs.types.d.ts +11 -0
  325. package/dist/components/Navigation/du-breadcrumbs/du-breadcrumbs.vue.d.ts +6 -0
  326. package/dist/components/Navigation/du-breadcrumbs/du-breadcrumbs.vue_vue_type_script_setup_true_lang.js +42 -0
  327. package/dist/components/Navigation/du-breadcrumbs/du-breadcrumbs.vue_vue_type_style_index_0_scoped_9364edec_lang.css +1 -0
  328. package/dist/components/Navigation/du-button-link/du-button-link.js +5 -0
  329. package/dist/components/Navigation/du-button-link/du-button-link.types.d.ts +16 -0
  330. package/dist/components/Navigation/du-button-link/du-button-link.vue.d.ts +27 -0
  331. package/dist/components/Navigation/du-button-link/du-button-link.vue_vue_type_script_setup_true_lang.js +71 -0
  332. package/dist/components/Navigation/du-dock/du-dock.js +5 -0
  333. package/dist/components/Navigation/du-dock/du-dock.types.d.ts +16 -0
  334. package/dist/components/Navigation/du-dock/du-dock.vue.d.ts +59 -0
  335. package/dist/components/Navigation/du-dock/du-dock.vue_vue_type_script_setup_true_lang.js +56 -0
  336. package/dist/components/Navigation/du-link/du-link.js +5 -0
  337. package/dist/components/Navigation/du-link/du-link.types.d.ts +6 -0
  338. package/dist/components/Navigation/du-link/du-link.vue.d.ts +18 -0
  339. package/dist/components/Navigation/du-link/du-link.vue_vue_type_script_setup_true_lang.js +28 -0
  340. package/dist/components/Navigation/du-menu/du-menu-item.js +5 -0
  341. package/dist/components/Navigation/du-menu/du-menu-item.vue.d.ts +17 -0
  342. package/dist/components/Navigation/du-menu/du-menu-item.vue_vue_type_script_setup_true_lang.js +186 -0
  343. package/dist/components/Navigation/du-menu/du-menu.js +6 -0
  344. package/dist/components/Navigation/du-menu/du-menu.types.d.ts +29 -0
  345. package/dist/components/Navigation/du-menu/du-menu.vue.d.ts +26 -0
  346. package/dist/components/Navigation/du-menu/du-menu.vue_vue_type_script_setup_true_lang.js +57 -0
  347. package/dist/components/Navigation/du-menu/du-menu.vue_vue_type_style_index_0_lang.css +1 -0
  348. package/dist/components/Navigation/du-navbar/du-navbar.js +5 -0
  349. package/dist/components/Navigation/du-navbar/du-navbar.types.d.ts +2 -0
  350. package/dist/components/Navigation/du-navbar/du-navbar.vue.d.ts +20 -0
  351. package/dist/components/Navigation/du-navbar/du-navbar.vue_vue_type_script_setup_true_lang.js +24 -0
  352. package/dist/components/Navigation/du-pagination/du-pagination.js +7 -0
  353. package/dist/components/Navigation/du-pagination/du-pagination.types.d.ts +29 -0
  354. package/dist/components/Navigation/du-pagination/du-pagination.vue.d.ts +51 -0
  355. package/dist/components/Navigation/du-pagination/du-pagination.vue_vue_type_script_setup_true_lang.js +156 -0
  356. package/dist/components/Navigation/du-pagination/du-pagination.vue_vue_type_style_index_0_scoped_7407b690_lang.css +1 -0
  357. package/dist/components/Navigation/du-step-item/du-step-item.js +5 -0
  358. package/dist/components/Navigation/du-step-item/du-step-item.types.d.ts +8 -0
  359. package/dist/components/Navigation/du-step-item/du-step-item.vue.d.ts +24 -0
  360. package/dist/components/Navigation/du-step-item/du-step-item.vue_vue_type_script_setup_true_lang.js +27 -0
  361. package/dist/components/Navigation/du-steps/du-steps.js +5 -0
  362. package/dist/components/Navigation/du-steps/du-steps.types.d.ts +17 -0
  363. package/dist/components/Navigation/du-steps/du-steps.vue.d.ts +40 -0
  364. package/dist/components/Navigation/du-steps/du-steps.vue_vue_type_script_setup_true_lang.js +44 -0
  365. package/dist/components/Navigation/du-tabs/du-tabs.js +5 -0
  366. package/dist/components/Navigation/du-tabs/du-tabs.types.d.ts +22 -0
  367. package/dist/components/Navigation/du-tabs/du-tabs.vue.d.ts +50 -0
  368. package/dist/components/Navigation/du-tabs/du-tabs.vue_vue_type_script_setup_true_lang.js +76 -0
  369. package/dist/composables/useSizeProps.d.ts +15 -0
  370. package/dist/composables/useSizeProps.js +22 -0
  371. package/dist/composables/useVariantProps.d.ts +14 -0
  372. package/dist/composables/useVariantProps.js +7 -0
  373. package/dist/index.d.ts +66 -0
  374. package/dist/index.js +65 -0
  375. package/dist/plugin-vite.d.ts +64 -0
  376. package/dist/plugin-vite.js +137 -0
  377. package/dist/types/index.d.ts +58 -0
  378. package/index.css +5 -0
  379. package/index.ts +69 -0
  380. package/package.json +99 -0
  381. package/plugin-vite.ts +286 -0
  382. package/types/index.ts +59 -0
  383. package/types/types.sh +80 -0
@@ -0,0 +1,75 @@
1
+ import { useSizeMapping as e } from "../../../composables/useSizeProps.js";
2
+ import { Fragment as t, computed as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, defineComponent as s, normalizeClass as c, openBlock as l, renderList as u, renderSlot as d, toDisplayString as f, unref as p } from "vue";
3
+ //#region components/DataDisplay/du-table/du-table.vue?vue&type=script&setup=true&lang.ts
4
+ var m = { class: "overflow-x-auto" }, h = { key: 0 }, g = { key: 1 }, _ = { key: 1 }, v = { key: 1 }, y = /*@__PURE__*/ s({
5
+ __name: "du-table",
6
+ props: {
7
+ columns: { default: void 0 },
8
+ rows: { default: void 0 },
9
+ zebra: {
10
+ type: Boolean,
11
+ default: !1
12
+ },
13
+ pinRows: {
14
+ type: Boolean,
15
+ default: !1
16
+ },
17
+ pinCols: {
18
+ type: Boolean,
19
+ default: !1
20
+ },
21
+ size: { default: "default" },
22
+ customClass: { default: "" },
23
+ header: {
24
+ type: Boolean,
25
+ default: !0
26
+ },
27
+ footer: {
28
+ type: Boolean,
29
+ default: !1
30
+ }
31
+ },
32
+ setup(s) {
33
+ let y = s, { sizeClass: b } = e(y, "table"), x = n(() => y.zebra ? "table-zebra" : ""), S = n(() => y.pinRows ? "table-pin-rows" : ""), C = n(() => y.pinCols ? "table-pin-cols" : ""), w = n(() => y.customClass || "");
34
+ return (e, n) => (l(), i("div", m, [s.columns && s.rows ? (l(), i("table", {
35
+ key: 0,
36
+ class: c([
37
+ "table",
38
+ p(b),
39
+ x.value,
40
+ S.value,
41
+ C.value,
42
+ w.value
43
+ ])
44
+ }, [
45
+ e.$slots.header || s.header ? (l(), i("thead", h, [e.$slots.header ? d(e.$slots, "header", { key: 0 }) : (l(), i("tr", g, [(l(!0), i(t, null, u(s.columns, (t, n) => (l(), i("th", {
46
+ key: n,
47
+ class: c(t.customClass)
48
+ }, [d(e.$slots, `header-${t.key}`, { column: t }, () => [o(f(t.label), 1)])], 2))), 128))]))])) : r("", !0),
49
+ a("tbody", null, [(l(!0), i(t, null, u(s.rows, (n, r) => (l(), i("tr", {
50
+ key: n.id,
51
+ class: c(n.customClass)
52
+ }, [(l(!0), i(t, null, u(s.columns, (t, a) => (l(), i("td", { key: `${r}-${a}` }, [d(e.$slots, `cell-${t.key}`, {
53
+ row: n,
54
+ column: t,
55
+ value: n[t.key]
56
+ }, () => [o(f(n[t.key]), 1)])]))), 128))], 2))), 128))]),
57
+ e.$slots.footer || s.footer ? (l(), i("tfoot", _, [e.$slots.footer ? d(e.$slots, "footer", { key: 0 }) : (l(), i("tr", v, [(l(!0), i(t, null, u(s.columns, (t, n) => (l(), i("th", {
58
+ key: n,
59
+ class: c(t.customClass)
60
+ }, [d(e.$slots, `footer-${t.key}`, { column: t }, () => [o(f(t.label), 1)])], 2))), 128))]))])) : r("", !0)
61
+ ], 2)) : (l(), i("table", {
62
+ key: 1,
63
+ class: c([
64
+ "table",
65
+ p(b),
66
+ x.value,
67
+ S.value,
68
+ C.value,
69
+ w.value
70
+ ])
71
+ }, [d(e.$slots, "default")], 2))]));
72
+ }
73
+ });
74
+ //#endregion
75
+ export { y as default };
@@ -0,0 +1,5 @@
1
+ import e from "./du-timeline-item.vue_vue_type_script_setup_true_lang.js";
2
+ //#region components/DataDisplay/du-timeline/du-timeline-item.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -0,0 +1,34 @@
1
+ type __VLS_Props = {
2
+ start?: string;
3
+ middle?: string;
4
+ end?: string;
5
+ customClass?: string;
6
+ valid?: boolean | undefined;
7
+ hrClass?: string;
8
+ };
9
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {};
10
+ type __VLS_Slots = {} & {
11
+ start?: (props: typeof __VLS_1) => any;
12
+ } & {
13
+ middle?: (props: typeof __VLS_3) => any;
14
+ } & {
15
+ end?: (props: typeof __VLS_5) => any;
16
+ } & {
17
+ default?: (props: typeof __VLS_7) => any;
18
+ };
19
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
20
+ start: string;
21
+ end: string;
22
+ customClass: string;
23
+ middle: string;
24
+ valid: boolean;
25
+ hrClass: string;
26
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
28
+ declare const _default: typeof __VLS_export;
29
+ export default _default;
30
+ type __VLS_WithSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
@@ -0,0 +1,51 @@
1
+ import { Fragment as e, computed as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, createTextVNode as a, defineComponent as o, normalizeClass as s, openBlock as c, renderSlot as l, toDisplayString as u } from "vue";
2
+ //#region components/DataDisplay/du-timeline/du-timeline-item.vue?vue&type=script&setup=true&lang.ts
3
+ var d = {
4
+ key: 1,
5
+ class: "timeline-start"
6
+ }, f = { class: "timeline-middle" }, p = /*@__PURE__*/ o({
7
+ __name: "du-timeline-item",
8
+ props: {
9
+ start: { default: "" },
10
+ middle: { default: "" },
11
+ end: { default: "" },
12
+ customClass: { default: "" },
13
+ valid: {
14
+ type: Boolean,
15
+ default: void 0
16
+ },
17
+ hrClass: { default: "" }
18
+ },
19
+ setup(o) {
20
+ let p = o, m = t(() => p.hrClass ? p.hrClass : p.valid === !0 ? "bg-primary" : p.valid === !1 ? "bg-error" : "");
21
+ return (t, p) => (c(), r("li", { class: s(o.customClass) }, [
22
+ t.$parent?.$slots?.default ? (c(), r("hr", {
23
+ key: 0,
24
+ class: s(m.value)
25
+ }, null, 2)) : n("", !0),
26
+ o.start || t.$slots.start ? (c(), r("div", d, [l(t.$slots, "start", {}, () => [a(u(o.start), 1)])])) : n("", !0),
27
+ i("div", f, [l(t.$slots, "middle", {}, () => [o.middle ? (c(), r(e, { key: 0 }, [a(u(o.middle), 1)], 64)) : (c(), r("svg", {
28
+ key: 1,
29
+ xmlns: "http://www.w3.org/2000/svg",
30
+ viewBox: "0 0 20 20",
31
+ fill: "currentColor",
32
+ class: s(["w-5 h-5", o.valid === !0 ? "text-primary" : o.valid === !1 ? "text-error" : ""])
33
+ }, [...p[0] ||= [i("path", {
34
+ "fill-rule": "evenodd",
35
+ d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",
36
+ "clip-rule": "evenodd"
37
+ }, null, -1)]], 2))])]),
38
+ o.end || t.$slots.end ? (c(), r("div", {
39
+ key: 2,
40
+ class: s(["timeline-end", { "timeline-box": t.$slots.end || o.end }])
41
+ }, [l(t.$slots, "end", {}, () => [a(u(o.end), 1)])], 2)) : n("", !0),
42
+ t.$slots.default || t.$parent?.$slots?.default ? (c(), r("hr", {
43
+ key: 3,
44
+ class: s(m.value)
45
+ }, null, 2)) : n("", !0),
46
+ l(t.$slots, "default")
47
+ ], 2));
48
+ }
49
+ });
50
+ //#endregion
51
+ export { p as default };
@@ -0,0 +1,5 @@
1
+ import e from "./du-timeline.vue_vue_type_script_setup_true_lang.js";
2
+ //#region components/DataDisplay/du-timeline/du-timeline.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -0,0 +1,12 @@
1
+ export declare const TIMELINE_DIRECTIONS: readonly ["timeline-vertical", "timeline-horizontal"];
2
+ export declare const TIMELINE_MODIFIERS: readonly ["timeline-snap-icon", "timeline-box", "timeline-compact"];
3
+ export type TIMELINEDirection = (typeof TIMELINE_DIRECTIONS)[number];
4
+ export type TIMELINEModifier = (typeof TIMELINE_MODIFIERS)[number];
5
+ export interface TIMELINEItem {
6
+ start?: string;
7
+ middle?: string;
8
+ end?: string;
9
+ customClass?: string;
10
+ valid?: boolean | undefined;
11
+ hrClass?: string;
12
+ }
@@ -0,0 +1,61 @@
1
+ import { type TIMELINEDirection, type TIMELINEModifier, type TIMELINEItem } from './du-timeline.types';
2
+ type __VLS_Props = {
3
+ items?: TIMELINEItem[];
4
+ direction?: TIMELINEDirection;
5
+ modifier?: TIMELINEModifier;
6
+ customClass?: string;
7
+ responsive?: boolean;
8
+ validItems?: (boolean | undefined)[];
9
+ hrClasses?: string[];
10
+ };
11
+ declare var __VLS_2: `start-${number}`, __VLS_3: {
12
+ item: TIMELINEItem;
13
+ index: number;
14
+ }, __VLS_5: {
15
+ item: TIMELINEItem;
16
+ index: number;
17
+ }, __VLS_8: `middle-${number}`, __VLS_9: {
18
+ item: TIMELINEItem;
19
+ index: number;
20
+ }, __VLS_11: {
21
+ item: TIMELINEItem;
22
+ index: number;
23
+ }, __VLS_14: `end-${number}`, __VLS_15: {
24
+ item: TIMELINEItem;
25
+ index: number;
26
+ }, __VLS_17: {
27
+ item: TIMELINEItem;
28
+ index: number;
29
+ }, __VLS_19: {};
30
+ type __VLS_Slots = {} & {
31
+ [K in NonNullable<typeof __VLS_2>]?: (props: typeof __VLS_3) => any;
32
+ } & {
33
+ [K in NonNullable<typeof __VLS_8>]?: (props: typeof __VLS_9) => any;
34
+ } & {
35
+ [K in NonNullable<typeof __VLS_14>]?: (props: typeof __VLS_15) => any;
36
+ } & {
37
+ start?: (props: typeof __VLS_5) => any;
38
+ } & {
39
+ middle?: (props: typeof __VLS_11) => any;
40
+ } & {
41
+ end?: (props: typeof __VLS_17) => any;
42
+ } & {
43
+ default?: (props: typeof __VLS_19) => any;
44
+ };
45
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
46
+ customClass: string;
47
+ responsive: boolean;
48
+ items: TIMELINEItem[];
49
+ modifier: TIMELINEModifier;
50
+ direction: TIMELINEDirection;
51
+ validItems: (boolean | undefined)[];
52
+ hrClasses: string[];
53
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
54
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
55
+ declare const _default: typeof __VLS_export;
56
+ export default _default;
57
+ type __VLS_WithSlots<T, S> = T & {
58
+ new (): {
59
+ $slots: S;
60
+ };
61
+ };
@@ -0,0 +1,75 @@
1
+ import { Fragment as e, computed as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, createTextVNode as a, defineComponent as o, normalizeClass as s, openBlock as c, renderList as l, renderSlot as u, toDisplayString as d } from "vue";
2
+ //#region components/DataDisplay/du-timeline/du-timeline.vue?vue&type=script&setup=true&lang.ts
3
+ var f = {
4
+ key: 1,
5
+ class: "timeline-start"
6
+ }, p = { class: "timeline-middle" }, m = /*@__PURE__*/ o({
7
+ __name: "du-timeline",
8
+ props: {
9
+ items: { default: void 0 },
10
+ direction: { default: "timeline-vertical" },
11
+ modifier: { default: void 0 },
12
+ customClass: { default: "" },
13
+ responsive: {
14
+ type: Boolean,
15
+ default: !1
16
+ },
17
+ validItems: { default: void 0 },
18
+ hrClasses: { default: void 0 }
19
+ },
20
+ setup(o) {
21
+ let m = o, h = t(() => {
22
+ let e = ["timeline", m.direction];
23
+ return m.modifier && e.push(m.modifier), m.customClass && e.push(m.customClass), m.responsive && e.push("lg:timeline-horizontal"), e;
24
+ }), g = (e) => m.items && m.items[e] && m.items[e].hrClass ? m.items[e].hrClass || "" : m.hrClasses && m.hrClasses[e] ? m.hrClasses[e] : m.validItems && m.validItems[e] !== void 0 ? m.validItems[e] === !0 ? "bg-success" : m.validItems[e] === !1 ? "bg-error" : "" : m.items && m.items[e] && m.items[e].valid !== void 0 ? m.items[e].valid === !0 ? "bg-success" : m.items[e].valid === !1 ? "bg-error" : "" : "";
25
+ return (t, m) => (c(), r("ul", { class: s(h.value) }, [o.items ? (c(!0), r(e, { key: 0 }, l(o.items, (l, h) => (c(), r("li", {
26
+ key: h,
27
+ class: s(l.customClass)
28
+ }, [
29
+ h == 0 ? n("", !0) : (c(), r("hr", {
30
+ key: 0,
31
+ class: s(g(h - 1))
32
+ }, null, 2)),
33
+ l.start || t.$slots[`start-${h}`] ? (c(), r("div", f, [u(t.$slots, `start-${h}`, {
34
+ item: l,
35
+ index: h
36
+ }, () => [u(t.$slots, "start", {
37
+ item: l,
38
+ index: h
39
+ }, () => [a(d(l.start), 1)])])])) : n("", !0),
40
+ i("div", p, [u(t.$slots, `middle-${h}`, {
41
+ item: l,
42
+ index: h
43
+ }, () => [u(t.$slots, "middle", {
44
+ item: l,
45
+ index: h
46
+ }, () => [l.middle ? (c(), r(e, { key: 0 }, [a(d(l.middle), 1)], 64)) : (c(), r("svg", {
47
+ key: 1,
48
+ xmlns: "http://www.w3.org/2000/svg",
49
+ viewBox: "0 0 20 20",
50
+ fill: "currentColor",
51
+ class: s(["w-5 h-5", l.valid === !0 ? "text-success" : l.valid === !1 ? "text-error" : o.validItems && o.validItems[h] === !0 ? "text-success" : o.validItems && o.validItems[h] === !1 ? "text-error" : ""])
52
+ }, [...m[0] ||= [i("path", {
53
+ "fill-rule": "evenodd",
54
+ d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",
55
+ "clip-rule": "evenodd"
56
+ }, null, -1)]], 2))])])]),
57
+ l.end || t.$slots[`end-${h}`] ? (c(), r("div", {
58
+ key: 2,
59
+ class: s(["timeline-end", { "timeline-box": o.modifier === "timeline-box" || !0 }])
60
+ }, [u(t.$slots, `end-${h}`, {
61
+ item: l,
62
+ index: h
63
+ }, () => [u(t.$slots, "end", {
64
+ item: l,
65
+ index: h
66
+ }, () => [a(d(l.end), 1)])])], 2)) : n("", !0),
67
+ h < o.items.length - 1 ? (c(), r("hr", {
68
+ key: 3,
69
+ class: s(g(h))
70
+ }, null, 2)) : n("", !0)
71
+ ], 2))), 128)) : u(t.$slots, "default", { key: 1 })], 2));
72
+ }
73
+ });
74
+ //#endregion
75
+ export { m as default };
@@ -0,0 +1,5 @@
1
+ import e from "./du-checkbox.vue_vue_type_script_setup_true_lang.js";
2
+ //#region components/DataInput/du-checkbox/du-checkbox.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -0,0 +1,14 @@
1
+ import { type Variant } from "../../../composables/useVariantProps";
2
+ import { type Size } from "../../../composables/useSizeProps";
3
+ export declare const CHECKBOX_VARIANTS: readonly ["default", "checkbox-primary", "checkbox-secondary", "checkbox-accent", "checkbox-info", "checkbox-success", "checkbox-warning", "checkbox-error"];
4
+ export declare const CHECKBOX_SIZES: readonly ["default", "checkbox-xs", "checkbox-sm", "checkbox-md", "checkbox-lg", "checkbox-xl"];
5
+ export type CHECKBOXVariant = (typeof CHECKBOX_VARIANTS)[number];
6
+ export type CHECKBOXSize = (typeof CHECKBOX_SIZES)[number];
7
+ export interface CHECKBOXProps {
8
+ modelValue?: boolean;
9
+ checked?: boolean;
10
+ disabled?: boolean;
11
+ indeterminate?: boolean;
12
+ variant?: Variant;
13
+ size?: Size;
14
+ }
@@ -0,0 +1,19 @@
1
+ import { type CHECKBOXProps } from './du-checkbox.types';
2
+ type __VLS_Props = CHECKBOXProps;
3
+ type __VLS_ModelProps = {
4
+ modelValue?: any;
5
+ };
6
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
7
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ "update:modelValue": (value: any) => any;
9
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
10
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
11
+ }>, {
12
+ size: import("../../..").Size;
13
+ variant: import("../../..").Variant;
14
+ disabled: boolean;
15
+ checked: boolean;
16
+ indeterminate: boolean;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
@@ -0,0 +1,47 @@
1
+ import { useSizeMapping as e } from "../../../composables/useSizeProps.js";
2
+ import { useVariantMapping as t } from "../../../composables/useVariantProps.js";
3
+ import { createElementBlock as n, defineComponent as r, mergeModels as i, normalizeClass as a, onMounted as o, openBlock as s, ref as c, unref as l, useModel as u, vModelCheckbox as d, withDirectives as f } from "vue";
4
+ //#region components/DataInput/du-checkbox/du-checkbox.vue?vue&type=script&setup=true&lang.ts
5
+ var p = ["disabled"], m = /*@__PURE__*/ r({
6
+ __name: "du-checkbox",
7
+ props: /*@__PURE__*/ i({
8
+ modelValue: { type: Boolean },
9
+ checked: {
10
+ type: Boolean,
11
+ default: !1
12
+ },
13
+ disabled: {
14
+ type: Boolean,
15
+ default: !1
16
+ },
17
+ indeterminate: {
18
+ type: Boolean,
19
+ default: !1
20
+ },
21
+ variant: { default: "default" },
22
+ size: { default: "default" }
23
+ }, {
24
+ modelValue: {},
25
+ modelModifiers: {}
26
+ }),
27
+ emits: ["update:modelValue"],
28
+ setup(r) {
29
+ let i = u(r, "modelValue"), m = r, h = c(), { colorClass: g } = t(m, "checkbox"), { sizeClass: _ } = e(m, "checkbox");
30
+ return o(() => {
31
+ m.indeterminate && (h.value.indeterminate = !0);
32
+ }), (e, t) => f((s(), n("input", {
33
+ ref_key: "currentCheckbox",
34
+ ref: h,
35
+ type: "checkbox",
36
+ "onUpdate:modelValue": t[0] ||= (e) => i.value = e,
37
+ disabled: r.disabled,
38
+ class: a([
39
+ "checkbox",
40
+ l(g),
41
+ l(_)
42
+ ])
43
+ }, null, 10, p)), [[d, i.value]]);
44
+ }
45
+ });
46
+ //#endregion
47
+ export { m as default };
@@ -0,0 +1,5 @@
1
+ import e from "./du-fieldset.vue_vue_type_script_setup_true_lang.js";
2
+ //#region components/DataInput/du-fieldset/du-fieldset.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -0,0 +1,4 @@
1
+ export interface FIELDSETProps {
2
+ legend?: string;
3
+ label?: string;
4
+ }
@@ -0,0 +1,14 @@
1
+ import { type FIELDSETProps } from './du-fieldset.types';
2
+ declare var __VLS_1: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ };
6
+ declare const __VLS_base: import("vue").DefineComponent<FIELDSETProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FIELDSETProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
8
+ declare const _default: typeof __VLS_export;
9
+ export default _default;
10
+ type __VLS_WithSlots<T, S> = T & {
11
+ new (): {
12
+ $slots: S;
13
+ };
14
+ };
@@ -0,0 +1,21 @@
1
+ import { createCommentVNode as e, createElementBlock as t, createElementVNode as n, defineComponent as r, openBlock as i, renderSlot as a, toDisplayString as o } from "vue";
2
+ //#region components/DataInput/du-fieldset/du-fieldset.vue?vue&type=script&setup=true&lang.ts
3
+ var s = { class: "fieldset" }, c = { class: "fieldset-legend" }, l = {
4
+ key: 0,
5
+ class: "fieldset-label"
6
+ }, u = /*@__PURE__*/ r({
7
+ __name: "du-fieldset",
8
+ props: {
9
+ legend: {},
10
+ label: {}
11
+ },
12
+ setup(r) {
13
+ return (u, d) => (i(), t("fieldset", s, [
14
+ n("legend", c, o(r.legend), 1),
15
+ a(u.$slots, "default"),
16
+ r.label ? (i(), t("p", l, o(r.label), 1)) : e("", !0)
17
+ ]));
18
+ }
19
+ });
20
+ //#endregion
21
+ export { u as default };
@@ -0,0 +1,5 @@
1
+ import e from "./du-file-input.vue_vue_type_script_setup_true_lang.js";
2
+ //#region components/DataInput/du-file-input/du-file-input.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -0,0 +1,10 @@
1
+ import { type Variant } from "../../../composables/useVariantProps";
2
+ import { type Size } from "../../../composables/useSizeProps";
3
+ export interface FILEINPUTProps {
4
+ disabled?: boolean;
5
+ variant?: Variant;
6
+ size?: Size;
7
+ ghost?: boolean;
8
+ }
9
+ export declare const FILEINPUT_SIZES: readonly ["file-input-xs", "file-input-sm", "file-input-md", "file-input-lg", "file-input-xl"];
10
+ export declare const FILEINPUT_VARIANTS: readonly ["file-input-primary", "file-input-secondary", "file-input-accent", "file-input-neutral", "file-input-info", "file-input-success", "file-input-warning", "file-input-error"];
@@ -0,0 +1,9 @@
1
+ import { type FILEINPUTProps } from './du-file-input.types';
2
+ declare const __VLS_export: import("vue").DefineComponent<FILEINPUTProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FILEINPUTProps> & Readonly<{}>, {
3
+ size: import("../../..").Size;
4
+ ghost: boolean;
5
+ variant: import("../../..").Variant;
6
+ disabled: boolean;
7
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const _default: typeof __VLS_export;
9
+ export default _default;
@@ -0,0 +1,34 @@
1
+ import { useSizeMapping as e } from "../../../composables/useSizeProps.js";
2
+ import { useVariantMapping as t } from "../../../composables/useVariantProps.js";
3
+ import { computed as n, createElementBlock as r, defineComponent as i, normalizeClass as a, openBlock as o, unref as s } from "vue";
4
+ //#region components/DataInput/du-file-input/du-file-input.vue?vue&type=script&setup=true&lang.ts
5
+ var c = ["disabled"], l = /*@__PURE__*/ i({
6
+ __name: "du-file-input",
7
+ props: {
8
+ disabled: {
9
+ type: Boolean,
10
+ default: !1
11
+ },
12
+ variant: { default: "default" },
13
+ size: { default: "default" },
14
+ ghost: {
15
+ type: Boolean,
16
+ default: !1
17
+ }
18
+ },
19
+ setup(i) {
20
+ let l = i, u = n(() => l.ghost ? "file-input-ghost" : ""), { colorClass: d } = t(l, "file-input"), { sizeClass: f } = e(l, "file-input");
21
+ return (e, t) => (o(), r("input", {
22
+ type: "file",
23
+ disabled: i.disabled,
24
+ class: a([
25
+ "file-input",
26
+ s(d),
27
+ s(f),
28
+ u.value
29
+ ])
30
+ }, null, 10, c));
31
+ }
32
+ });
33
+ //#endregion
34
+ export { l as default };
@@ -0,0 +1,5 @@
1
+ import e from "./du-filter.vue_vue_type_script_setup_true_lang.js";
2
+ //#region components/DataInput/du-filter/du-filter.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -0,0 +1,27 @@
1
+ import { type Variant } from "../../../composables/useVariantProps";
2
+ import { type Size } from "../../../composables/useSizeProps";
3
+ export interface FilterButtonArgs {
4
+ variant?: Variant;
5
+ size?: Size;
6
+ outline?: boolean;
7
+ soft?: boolean;
8
+ dash?: boolean;
9
+ active?: boolean;
10
+ ghost?: boolean;
11
+ link?: boolean;
12
+ wide?: boolean;
13
+ disabled?: boolean;
14
+ square?: boolean;
15
+ circle?: boolean;
16
+ }
17
+ export interface FilterItem {
18
+ title?: string;
19
+ checked?: boolean;
20
+ customClass?: string;
21
+ buttonsArgs?: FilterButtonArgs;
22
+ }
23
+ export interface FilterProps {
24
+ items?: FilterItem[];
25
+ name?: string;
26
+ buttonsArgs?: FilterButtonArgs;
27
+ }
@@ -0,0 +1,17 @@
1
+ import { type FilterProps } from "./du-filter.types";
2
+ declare var __VLS_11: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_11) => any;
5
+ };
6
+ declare const __VLS_base: import("vue").DefineComponent<FilterProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FilterProps> & Readonly<{}>, {
7
+ name: string;
8
+ items: import("./du-filter.types").FilterItem[];
9
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,28 @@
1
+ import e from "../../Actions/du-button/du-button.js";
2
+ import { Fragment as t, computed as n, createBlock as r, createElementBlock as i, createVNode as a, defineComponent as o, mergeProps as s, openBlock as c, provide as l, renderList as u, renderSlot as d } from "vue";
3
+ //#region components/DataInput/du-filter/du-filter.vue?vue&type=script&setup=true&lang.ts
4
+ var f = { class: "filter" }, p = /*@__PURE__*/ o({
5
+ __name: "du-filter",
6
+ props: {
7
+ items: { default: void 0 },
8
+ name: { default: void 0 },
9
+ buttonsArgs: {}
10
+ },
11
+ setup(o) {
12
+ let p = o;
13
+ return l("filterName", n(() => p.name || `filter-${Math.random().toString(36).substring(2, 9)}`)), (n, l) => (c(), i("div", f, [a(e, s({ customClass: "btn filter-reset" }, p.buttonsArgs, {
14
+ checked: !0,
15
+ label: "×"
16
+ }), null, 16), o.items ? (c(!0), i(t, { key: 0 }, u(o.items, (t, n) => (c(), r(e, s({ key: n }, { ref_for: !0 }, p.buttonsArgs || t.buttonsArgs, {
17
+ class: [t.customClass],
18
+ checked: t.checked,
19
+ "aria-label": t.title
20
+ }), null, 16, [
21
+ "class",
22
+ "checked",
23
+ "aria-label"
24
+ ]))), 128)) : d(n.$slots, "default", { key: 1 })]));
25
+ }
26
+ });
27
+ //#endregion
28
+ export { p as default };
@@ -0,0 +1,5 @@
1
+ import e from "./du-input-field.vue_vue_type_script_setup_true_lang.js";
2
+ //#region components/DataInput/du-input-field/du-input-field.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -0,0 +1,26 @@
1
+ import { type Size } from "../../../composables/useSizeProps";
2
+ import { type Variant } from "../../../composables/useVariantProps";
3
+ export declare const INPUTFIELD_VARIANTS: readonly ["default", "input-primary", "input-secondary", "input-accent", "input-info", "input-success", "input-warning", "input-error"];
4
+ export declare const INPUTFIELD_SIZES: readonly ["default", "input-xs", "input-sm", "input-md", "input-lg", "input-xl"];
5
+ export type INPUTFIELDVariant = (typeof INPUTFIELD_VARIANTS)[number];
6
+ export type INPUTFIELDSize = (typeof INPUTFIELD_SIZES)[number];
7
+ export type INPUTFIELDType = "text" | "password" | "email" | "number" | "date" | "datetime-local" | "week" | "month" | "tel" | "url" | "search" | "time";
8
+ export type INPUTFIELDValidatorProps = {
9
+ pattern?: string;
10
+ minlength?: number;
11
+ maxlength?: number;
12
+ title?: string;
13
+ };
14
+ export type INPUTFIELDProps = {
15
+ type?: INPUTFIELDType;
16
+ placeholder?: string;
17
+ size?: Size;
18
+ ghost?: boolean;
19
+ invalid?: boolean;
20
+ variant?: Variant;
21
+ disabled?: boolean;
22
+ suggestionName?: string;
23
+ suggestionList?: string[];
24
+ required?: boolean;
25
+ class?: string;
26
+ } & INPUTFIELDValidatorProps;