@feugene/granularity 0.2.0 → 0.3.0

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 (562) hide show
  1. package/dist/DsButtonGroup.css +1 -0
  2. package/dist/DsFormFile.css +1 -0
  3. package/dist/DsIcon.css +1 -0
  4. package/dist/DsLoading.css +1 -0
  5. package/dist/DsSkeleton.css +1 -0
  6. package/dist/DsTree.css +1 -0
  7. package/dist/chunks/config-B36QoWkx2.js +8 -0
  8. package/dist/chunks/config-BG-m3THf.js +17 -0
  9. package/dist/chunks/config-BNQb1Tdk.js +9 -0
  10. package/dist/chunks/config-BPuskn3r.js +8 -0
  11. package/dist/chunks/config-BWJ22IjI2.js +9 -0
  12. package/dist/chunks/config-BYoxgIeM.js +18 -0
  13. package/dist/chunks/{config-tQBoBLph.js → config-Bb8NpnGF.js} +14 -6
  14. package/dist/chunks/config-Bo4SoxQg.js +27 -0
  15. package/dist/chunks/{config-B-tMv4PT.js → config-BscZj6l42.js} +26 -26
  16. package/dist/chunks/{config-qlwX-rLq.js → config-C0CVsc4Y.js} +16 -10
  17. package/dist/chunks/config-C2wd640N.js +9 -0
  18. package/dist/chunks/{config-CMuBf0u72.js → config-C7KNHOmN.js} +7 -7
  19. package/dist/chunks/config-CLG4pCF9.js +9 -0
  20. package/dist/chunks/config-COfLMM02.js +8 -0
  21. package/dist/chunks/config-C_CXjTfh2.js +9 -0
  22. package/dist/chunks/config-C_bF_fTb.js +8 -0
  23. package/dist/chunks/config-CcqnIunr.js +9 -0
  24. package/dist/chunks/config-Cibru2a2.js +9 -0
  25. package/dist/chunks/config-CnClbuiL.js +9 -0
  26. package/dist/chunks/config-CtI_S-zH.js +8 -0
  27. package/dist/chunks/config-CtgK8aLQ.js +37 -0
  28. package/dist/chunks/config-CvuvJeih.js +9 -0
  29. package/dist/chunks/{config-B75oSW74.js → config-CzEeKJ6F2.js} +6 -4
  30. package/dist/chunks/{config-CTGjkM7q.js → config-D-soL_Ul.js} +45 -36
  31. package/dist/chunks/config-D3ihNj1i.js +14 -0
  32. package/dist/chunks/config-D9kbijTN.js +9 -0
  33. package/dist/chunks/config-DGGgsQ-8.js +47 -0
  34. package/dist/chunks/{config-G7h6ftb62.js → config-DJxFkysW.js} +10 -9
  35. package/dist/chunks/config-DN1-oywd.js +13 -0
  36. package/dist/chunks/config-DO9E5iXl2.js +8 -0
  37. package/dist/chunks/config-DQdLgKLJ.js +8 -0
  38. package/dist/chunks/config-DThxz0fj.js +8 -0
  39. package/dist/chunks/config-DU-WqEnv.js +9 -0
  40. package/dist/chunks/config-DeL48aIt.js +8 -0
  41. package/dist/chunks/config-DfTEy9G3.js +14 -0
  42. package/dist/chunks/config-DoJaEy4X.js +21 -0
  43. package/dist/chunks/config-DopZCwNe.js +10 -0
  44. package/dist/chunks/{config-BrwOndwO.js → config-DpluHp1i.js} +2 -3
  45. package/dist/chunks/config-DrTFt1re.js +8 -0
  46. package/dist/chunks/config-DwsSjSb4.js +15 -0
  47. package/dist/chunks/config-E9sOdSx6.js +8 -0
  48. package/dist/chunks/config-EhfVxSIR.js +9 -0
  49. package/dist/chunks/config-J_2KglMu.js +8 -0
  50. package/dist/chunks/config-YyVxx9dW.js +8 -0
  51. package/dist/chunks/config-Zksyb5FX.js +35 -0
  52. package/dist/chunks/config-ltfe9Xvy.js +47 -0
  53. package/dist/chunks/config-udLUeY_k.js +9 -0
  54. package/dist/chunks/dialogShared-B7Ruf0mn.js +26 -0
  55. package/dist/chunks/directives-K8Vo0VhP.js +530 -0
  56. package/dist/chunks/{dsBadgeStyles-yLd1GFUa.js → dsBadgeStyles-2fcy07ls.js} +13 -22
  57. package/dist/chunks/{dsButtonStyles-C1c_j958.js → dsButtonStyles-xdMl54zJ.js} +46 -70
  58. package/dist/chunks/{dsDropdownStyles-DXGN-A-d.js → dsDropdownStyles-_XO6eeSE.js} +6 -12
  59. package/dist/chunks/dsLoadingStyles-lw20OWhs.js +15 -0
  60. package/dist/chunks/dsModalStyles-DovGcwjh.js +38 -0
  61. package/dist/chunks/dsSelectStyles-BCrj5Fty.js +40 -0
  62. package/dist/chunks/{en-CKkdzd7q.js → en-BkL6iabg.js} +3 -1
  63. package/dist/chunks/{es-CPXSlGMa.js → es-Dh_K9iry.js} +3 -1
  64. package/dist/chunks/{fileValidation-gR8aUBMZ.js → fileValidation-LFD-vwil.js} +1 -1
  65. package/dist/chunks/{granularityI18n-DBuOHekC.js → granularityI18n-DYNnonoE.js} +1 -1
  66. package/dist/chunks/{ru-D7AyvUyA.js → ru-kTbw8Tku.js} +3 -1
  67. package/dist/chunks/safelist-CQOSs_yj.js +13 -0
  68. package/dist/chunks/safelist-Gujf4bDO.js +22 -0
  69. package/dist/chunks/shared-DGhcuSCh.js +124 -0
  70. package/dist/chunks/{transition-CT9vsWnT.js → transition-BJXMi52x.js} +218 -218
  71. package/dist/{chunks/DsAlert-r_Ed-JrB.js → components/DsAlert/chunks/DsAlert-2ItscoqG.js} +3 -3
  72. package/dist/components/DsAlert/index.js +3 -3
  73. package/dist/{chunks/DsAvatar-cyMI8jUi.js → components/DsAvatar/chunks/DsAvatar-D7tQ9wfl.js} +1 -1
  74. package/dist/components/DsAvatar/index.js +2 -2
  75. package/dist/{chunks/DsBadge-Dnd7_I-K.js → components/DsBadge/chunks/DsBadge-B9aZxvZb.js} +1 -1
  76. package/dist/components/DsBadge/index.js +3 -4
  77. package/dist/components/DsBadgeWrap/index.js +3 -3
  78. package/dist/components/DsBottomNav/index.js +3 -3
  79. package/dist/{chunks/DsButton-CA18Fha-.js → components/DsButton/chunks/DsButton-9cB_fHZt.js} +6 -6
  80. package/dist/components/DsButton/index.js +5 -4
  81. package/dist/{chunks/DsButtonGroup-Ceat9ADe.js → components/DsButtonGroup/chunks/DsButtonGroup-DPK1W3Hk.js} +1 -1
  82. package/dist/components/DsButtonGroup/index.js +3 -3
  83. package/dist/{chunks/DsCard-GtapCsjq.js → components/DsCard/chunks/DsCard-Bnelx1JF.js} +1 -1
  84. package/dist/components/DsCard/index.js +3 -3
  85. package/dist/components/DsCheckbox/chunks/DsCheckbox-B3YN7RYo.js +111 -0
  86. package/dist/components/DsCheckbox/index.js +3 -3
  87. package/dist/components/DsCollapse/chunks/DsCollapse-7D6FTuFJ.js +150 -0
  88. package/dist/components/DsCollapse/index.js +3 -3
  89. package/dist/components/DsConfirmDialog/chunks/DsConfirmDialog-NkhfmD4Y.js +111 -0
  90. package/dist/components/DsConfirmDialog/index.js +3 -3
  91. package/dist/components/DsDataTable/chunks/DsDataTable-nK4XgT1y.js +142 -0
  92. package/dist/components/DsDataTable/index.js +3 -3
  93. package/dist/components/DsDialog/chunks/DsDialog-BH23MSq-.js +169 -0
  94. package/dist/components/DsDialog/index.js +4 -3
  95. package/dist/components/DsDrawer/chunks/DsDrawer-GW4JyPf_.js +135 -0
  96. package/dist/components/DsDrawer/index.js +2 -2
  97. package/dist/{chunks/DsDropdown-BcFjxaMe.js → components/DsDropdown/chunks/DsDropdown-DmR1NWyV.js} +54 -50
  98. package/dist/components/DsDropdown/index.js +3 -4
  99. package/dist/{chunks/DsDropdownMenu-CA7259h5.js → components/DsDropdownMenu/chunks/DsDropdownMenu-BlpO8mUO.js} +45 -30
  100. package/dist/components/DsDropdownMenu/index.js +3 -3
  101. package/dist/components/DsEmptyState/chunks/DsEmptyState-tKYwSiP1.js +49 -0
  102. package/dist/components/DsEmptyState/index.js +3 -3
  103. package/dist/components/DsFileUpload/chunks/DsFileUpload-Dya9vyG0.js +294 -0
  104. package/dist/components/DsFileUpload/index.js +4 -4
  105. package/dist/components/DsFormField/index.js +3 -3
  106. package/dist/components/DsFormFile/chunks/DsFormFile-BFfRuM1G.js +248 -0
  107. package/dist/components/DsFormFile/index.js +3 -3
  108. package/dist/components/DsFormSection/chunks/DsFormSection-Dzspqv9R.js +27 -0
  109. package/dist/components/DsFormSection/index.js +3 -3
  110. package/dist/components/DsIcon/chunks/DsIcon-Bk6qc4Kh.js +25 -0
  111. package/dist/components/DsIcon/index.js +3 -3
  112. package/dist/{chunks/DsImageViewer-C9NZ42St.js → components/DsImageViewer/chunks/DsImageViewer-_LWdAHAd.js} +109 -100
  113. package/dist/components/DsImageViewer/index.js +3 -3
  114. package/dist/{chunks/DsInput-DeoAkT6R.js → components/DsInput/chunks/DsInput-B8RhHkKQ.js} +52 -53
  115. package/dist/components/DsInput/index.js +2 -2
  116. package/dist/components/DsInputTag/chunks/DsInputTag-DVmvJ0A_.js +214 -0
  117. package/dist/components/DsInputTag/index.js +2 -2
  118. package/dist/components/DsLink/chunks/DsLink-DXClMbuX.js +59 -0
  119. package/dist/components/DsLink/index.js +2 -2
  120. package/dist/components/DsList/chunks/DsList-BEuPowc2.js +55 -0
  121. package/dist/components/DsList/index.js +3 -3
  122. package/dist/{chunks/DsLoading-ogfmbPE4.js → components/DsLoading/chunks/DsLoading-uYpDF-nK.js} +14 -14
  123. package/dist/components/DsLoading/index.js +3 -4
  124. package/dist/components/DsModal/chunks/DsModal-B2DLXV7F.js +136 -0
  125. package/dist/components/DsModal/index.js +4 -4
  126. package/dist/components/DsNavbar/chunks/DsNavbar-O-ud_du_.js +62 -0
  127. package/dist/components/DsNavbar/index.js +3 -3
  128. package/dist/{chunks/DsNumberInput-D-m5QoQJ.js → components/DsNumberInput/chunks/DsNumberInput-BJTpcTRc.js} +70 -56
  129. package/dist/components/DsNumberInput/index.js +2 -2
  130. package/dist/{chunks/DsPagination-B28ms0hc.js → components/DsPagination/chunks/DsPagination-hw_-VMRK.js} +33 -21
  131. package/dist/components/DsPagination/index.js +3 -3
  132. package/dist/{chunks/DsProgressBar-Bkuqudkg.js → components/DsProgressBar/chunks/DsProgressBar-CgIQj39W.js} +4 -2
  133. package/dist/components/DsProgressBar/index.js +2 -2
  134. package/dist/{chunks/DsPromptDialog-DdSca52S.js → components/DsPromptDialog/chunks/DsPromptDialog-_8v3Puaj.js} +42 -17
  135. package/dist/components/DsPromptDialog/index.js +3 -3
  136. package/dist/{chunks/DsRadio-x2vmEUCv.js → components/DsRadio/chunks/DsRadio-DKbrUFUZ.js} +21 -15
  137. package/dist/components/DsRadio/index.js +2 -2
  138. package/dist/{chunks/DsRadioGroup-CzlzJF2E.js → components/DsRadioGroup/chunks/DsRadioGroup-BQo7Nc5-.js} +13 -10
  139. package/dist/components/DsRadioGroup/index.js +3 -3
  140. package/dist/components/DsSegmented/chunks/DsSegmented-SbqzdCNX.js +250 -0
  141. package/dist/components/DsSegmented/index.js +2 -2
  142. package/dist/components/DsSelect/chunks/DsSelect-DN-vZIEG.js +314 -0
  143. package/dist/components/DsSelect/index.js +3 -4
  144. package/dist/components/DsSidebar/chunks/DsSidebar-DdofI1lo.js +29 -0
  145. package/dist/components/DsSidebar/index.js +3 -3
  146. package/dist/{chunks/DsSkeleton-BcXabaQ7.js → components/DsSkeleton/chunks/DsSkeleton-DJSQ4gGR.js} +9 -9
  147. package/dist/components/DsSkeleton/index.js +3 -3
  148. package/dist/{chunks/DsSwitch-DBdjltGz.js → components/DsSwitch/chunks/DsSwitch-Dh4_bd6e.js} +8 -4
  149. package/dist/components/DsSwitch/index.js +2 -2
  150. package/dist/components/DsTable/chunks/DsTable-C27_FR_h.js +44 -0
  151. package/dist/components/DsTable/index.js +3 -3
  152. package/dist/components/DsTabs/chunks/DsTabs-FLWaGtbo.js +98 -0
  153. package/dist/components/DsTabs/index.js +3 -3
  154. package/dist/{chunks/DsTextarea-DVSsoqi3.js → components/DsTextarea/chunks/DsTextarea-D61wwTwK.js} +10 -9
  155. package/dist/components/DsTextarea/index.js +2 -2
  156. package/dist/components/DsToaster/chunks/DsToaster-KO8wZChw.js +159 -0
  157. package/dist/components/DsToaster/index.js +2 -2
  158. package/dist/components/DsTooltip/chunks/DsTooltip-BNkQOtpm.js +37 -0
  159. package/dist/components/DsTooltip/index.js +3 -3
  160. package/dist/{chunks/DsTree-Bz37FcIb.js → components/DsTree/chunks/DsTree-DK0aOkKS.js} +19 -7
  161. package/dist/components/DsTree/index.js +2 -2
  162. package/dist/components/DsTreeSelect/chunks/DsTreeSelect-BnG-oplE.js +353 -0
  163. package/dist/components/DsTreeSelect/index.js +2 -2
  164. package/dist/directives/index.js +2 -0
  165. package/dist/{fileValidation.js → fileValidation/index.js} +1 -1
  166. package/dist/granular-provider-node.js +23 -0
  167. package/dist/granular-provider.js +5 -0
  168. package/dist/i18n/index.js +9 -0
  169. package/dist/index.js +147 -115
  170. package/dist/types/src/components/DsAlert/config.d.ts +1 -1
  171. package/dist/types/src/components/DsAlert/index.d.ts +0 -1
  172. package/dist/types/src/components/DsAvatar/config.d.ts +1 -1
  173. package/dist/types/src/components/DsAvatar/dsAvatarStyles.d.ts +1 -4
  174. package/dist/types/src/components/DsAvatar/safelist.d.ts +4 -1
  175. package/dist/types/src/components/DsBadge/config.d.ts +1 -1
  176. package/dist/types/src/components/DsBadge/dsBadgeStyles.d.ts +4 -1
  177. package/dist/types/src/components/DsBadge/safelist.d.ts +1 -1
  178. package/dist/types/src/components/DsBadgeWrap/config.d.ts +1 -1
  179. package/dist/types/src/components/DsBadgeWrap/index.d.ts +0 -1
  180. package/dist/types/src/components/DsBottomNav/config.d.ts +1 -1
  181. package/dist/types/src/components/DsBottomNav/index.d.ts +0 -1
  182. package/dist/types/src/components/DsButton/config.d.ts +1 -1
  183. package/dist/types/src/components/DsButton/config.node.d.ts +1 -0
  184. package/dist/types/src/components/DsButton/dsButtonStyles.d.ts +20 -10
  185. package/dist/types/src/components/DsButton/index.d.ts +2 -1
  186. package/dist/types/src/components/DsButton/safelist.d.ts +7 -1
  187. package/dist/types/src/components/DsButtonGroup/config.d.ts +1 -1
  188. package/dist/types/src/components/DsButtonGroup/index.d.ts +0 -1
  189. package/dist/types/src/components/DsCard/config.d.ts +1 -1
  190. package/dist/types/src/components/DsCard/index.d.ts +0 -1
  191. package/dist/types/src/components/DsCheckbox/DsCheckbox.vue.d.ts +9 -4
  192. package/dist/types/src/components/DsCheckbox/config.d.ts +1 -1
  193. package/dist/types/src/components/DsCheckbox/index.d.ts +1 -1
  194. package/dist/types/src/components/DsCollapse/DsCollapse.vue.d.ts +12 -4
  195. package/dist/types/src/components/DsCollapse/DsCollapseItem.vue.d.ts +13 -6
  196. package/dist/types/src/components/DsCollapse/config.d.ts +1 -1
  197. package/dist/types/src/components/DsCollapse/index.d.ts +2 -3
  198. package/dist/types/src/components/DsConfirmDialog/DsConfirmDialog.vue.d.ts +32 -11
  199. package/dist/types/src/components/DsConfirmDialog/config.d.ts +1 -1
  200. package/dist/types/src/components/DsConfirmDialog/index.d.ts +1 -1
  201. package/dist/types/src/components/DsDataTable/DsDataTable.vue.d.ts +35 -42
  202. package/dist/types/src/components/DsDataTable/config.d.ts +1 -1
  203. package/dist/types/src/components/DsDataTable/index.d.ts +1 -2
  204. package/dist/types/src/components/DsDialog/DsDialog.vue.d.ts +24 -14
  205. package/dist/types/src/components/DsDialog/DsDialogFooter.vue.d.ts +4 -4
  206. package/dist/types/src/components/DsDialog/DsDialogHeader.vue.d.ts +9 -4
  207. package/dist/types/src/components/DsDialog/config.d.ts +1 -1
  208. package/dist/types/src/components/DsDialog/dialogShared.d.ts +6 -1
  209. package/dist/types/src/components/DsDialog/index.d.ts +6 -3
  210. package/dist/types/src/components/DsDrawer/DsDrawer.vue.d.ts +27 -11
  211. package/dist/types/src/components/DsDrawer/config.d.ts +1 -1
  212. package/dist/types/src/components/DsDrawer/dsDrawerStyles.d.ts +8 -19
  213. package/dist/types/src/components/DsDrawer/index.d.ts +2 -0
  214. package/dist/types/src/components/DsDrawer/safelist.d.ts +1 -1
  215. package/dist/types/src/components/DsDropdown/DsDropdown.vue.d.ts +9 -4
  216. package/dist/types/src/components/DsDropdown/config.d.ts +1 -1
  217. package/dist/types/src/components/DsDropdown/dsDropdownStyles.d.ts +2 -1
  218. package/dist/types/src/components/DsDropdown/index.d.ts +2 -0
  219. package/dist/types/src/components/DsDropdown/safelist.d.ts +1 -1
  220. package/dist/types/src/components/DsDropdownMenu/DsDropdownMenu.vue.d.ts +12 -4
  221. package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuColumn.vue.d.ts +7 -6
  222. package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuColumns.vue.d.ts +4 -4
  223. package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuDivider.vue.d.ts +4 -4
  224. package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuGroup.vue.d.ts +4 -4
  225. package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuHeader.vue.d.ts +4 -4
  226. package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuItem.vue.d.ts +4 -4
  227. package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuList.vue.d.ts +4 -4
  228. package/dist/types/src/components/DsDropdownMenu/config.d.ts +1 -1
  229. package/dist/types/src/components/DsDropdownMenu/index.d.ts +8 -4
  230. package/dist/types/src/components/DsEmptyState/DsEmptyState.vue.d.ts +15 -6
  231. package/dist/types/src/components/DsEmptyState/config.d.ts +1 -1
  232. package/dist/types/src/components/DsEmptyState/index.d.ts +1 -1
  233. package/dist/types/src/components/DsFileUpload/DsFileUpload.vue.d.ts +21 -8
  234. package/dist/types/src/components/DsFileUpload/config.d.ts +1 -1
  235. package/dist/types/src/components/DsFileUpload/index.d.ts +1 -1
  236. package/dist/types/src/components/DsFormField/config.d.ts +1 -1
  237. package/dist/types/src/components/DsFormField/index.d.ts +1 -1
  238. package/dist/types/src/components/DsFormFile/DsFormFile.vue.d.ts +13 -7
  239. package/dist/types/src/components/DsFormFile/config.d.ts +1 -1
  240. package/dist/types/src/components/DsFormFile/index.d.ts +1 -2
  241. package/dist/types/src/components/DsFormSection/DsFormSection.vue.d.ts +10 -4
  242. package/dist/types/src/components/DsFormSection/config.d.ts +1 -1
  243. package/dist/types/src/components/DsFormSection/index.d.ts +1 -1
  244. package/dist/types/src/components/DsIcon/DsIcon.vue.d.ts +1 -2
  245. package/dist/types/src/components/DsIcon/config.d.ts +1 -1
  246. package/dist/types/src/components/DsIcon/index.d.ts +0 -2
  247. package/dist/types/src/components/DsImageViewer/DsImageViewer.vue.d.ts +45 -0
  248. package/dist/types/src/components/DsImageViewer/config.d.ts +1 -1
  249. package/dist/types/src/components/DsImageViewer/index.d.ts +0 -1
  250. package/dist/types/src/components/DsInput/config.d.ts +1 -1
  251. package/dist/types/src/components/DsInput/dsInputStyles.d.ts +17 -1
  252. package/dist/types/src/components/DsInput/index.d.ts +1 -1
  253. package/dist/types/src/components/DsInput/safelist.d.ts +1 -0
  254. package/dist/types/src/components/DsInputTag/DsInputTag.vue.d.ts +15 -5
  255. package/dist/types/src/components/DsInputTag/config.d.ts +1 -1
  256. package/dist/types/src/components/DsInputTag/dsInputTagStyles.d.ts +3 -1
  257. package/dist/types/src/components/DsInputTag/index.d.ts +1 -0
  258. package/dist/types/src/components/DsInputTag/safelist.d.ts +1 -1
  259. package/dist/types/src/components/DsLink/DsLink.vue.d.ts +0 -1
  260. package/dist/types/src/components/DsLink/config.d.ts +1 -1
  261. package/dist/types/src/components/DsLink/dsLinkStyles.d.ts +6 -1
  262. package/dist/types/src/components/DsLink/safelist.d.ts +1 -1
  263. package/dist/types/src/components/DsList/DsList.vue.d.ts +8 -5
  264. package/dist/types/src/components/DsList/DsListItem.vue.d.ts +39 -6
  265. package/dist/types/src/components/DsList/config.d.ts +1 -1
  266. package/dist/types/src/components/DsList/index.d.ts +2 -1
  267. package/dist/types/src/components/DsLoading/DsLoading.vue.d.ts +18 -5
  268. package/dist/types/src/components/DsLoading/config.d.ts +1 -1
  269. package/dist/types/src/components/DsLoading/dsLoadingStyles.d.ts +6 -1
  270. package/dist/types/src/components/DsLoading/index.d.ts +1 -0
  271. package/dist/types/src/components/DsLoading/safelist.d.ts +1 -1
  272. package/dist/types/src/components/DsModal/DsModal.vue.d.ts +17 -10
  273. package/dist/types/src/components/DsModal/config.d.ts +1 -1
  274. package/dist/types/src/components/DsModal/dsModalStyles.d.ts +25 -16
  275. package/dist/types/src/components/DsModal/index.d.ts +4 -2
  276. package/dist/types/src/components/DsModal/safelist.d.ts +15 -1
  277. package/dist/types/src/components/DsNavbar/DsNavbar.vue.d.ts +15 -7
  278. package/dist/types/src/components/DsNavbar/config.d.ts +1 -1
  279. package/dist/types/src/components/DsNavbar/index.d.ts +1 -1
  280. package/dist/types/src/components/DsNumberInput/DsNumberInput.vue.d.ts +17 -5
  281. package/dist/types/src/components/DsNumberInput/config.d.ts +1 -1
  282. package/dist/types/src/components/DsNumberInput/dsNumberInputStyles.d.ts +5 -1
  283. package/dist/types/src/components/DsNumberInput/index.d.ts +2 -1
  284. package/dist/types/src/components/DsNumberInput/safelist.d.ts +1 -1
  285. package/dist/types/src/components/DsPagination/DsPagination.vue.d.ts +10 -4
  286. package/dist/types/src/components/DsPagination/config.d.ts +1 -1
  287. package/dist/types/src/components/DsPagination/index.d.ts +1 -2
  288. package/dist/types/src/components/DsProgressBar/DsProgressBar.vue.d.ts +11 -4
  289. package/dist/types/src/components/DsProgressBar/config.d.ts +1 -1
  290. package/dist/types/src/components/DsProgressBar/config.node.d.ts +1 -0
  291. package/dist/types/src/components/DsProgressBar/dsStyle.d.ts +0 -4
  292. package/dist/types/src/components/DsProgressBar/index.d.ts +2 -1
  293. package/dist/types/src/components/DsProgressBar/safelist.d.ts +4 -1
  294. package/dist/types/src/components/DsPromptDialog/DsPromptDialog.vue.d.ts +33 -7
  295. package/dist/types/src/components/DsPromptDialog/config.d.ts +1 -1
  296. package/dist/types/src/components/DsPromptDialog/index.d.ts +1 -1
  297. package/dist/types/src/components/DsRadio/DsRadio.vue.d.ts +18 -6
  298. package/dist/types/src/components/DsRadio/config.d.ts +1 -1
  299. package/dist/types/src/components/DsRadio/dsRadioStyles.d.ts +9 -2
  300. package/dist/types/src/components/DsRadio/index.d.ts +1 -1
  301. package/dist/types/src/components/DsRadio/safelist.d.ts +1 -1
  302. package/dist/types/src/components/DsRadioGroup/DsRadioGroup.vue.d.ts +16 -6
  303. package/dist/types/src/components/DsRadioGroup/config.d.ts +1 -1
  304. package/dist/types/src/components/DsRadioGroup/index.d.ts +1 -2
  305. package/dist/types/src/components/DsSegmented/DsSegmented.vue.d.ts +10 -4
  306. package/dist/types/src/components/DsSegmented/config.d.ts +1 -1
  307. package/dist/types/src/components/DsSegmented/dsSegmentedStyles.d.ts +13 -17
  308. package/dist/types/src/components/DsSegmented/index.d.ts +1 -0
  309. package/dist/types/src/components/DsSegmented/safelist.d.ts +17 -1
  310. package/dist/types/src/components/DsSelect/DsSelect.vue.d.ts +13 -5
  311. package/dist/types/src/components/DsSelect/config.d.ts +1 -1
  312. package/dist/types/src/components/DsSelect/dsSelectStyles.d.ts +5 -1
  313. package/dist/types/src/components/DsSelect/index.d.ts +1 -1
  314. package/dist/types/src/components/DsSelect/safelist.d.ts +1 -1
  315. package/dist/types/src/components/DsSidebar/DsSidebar.vue.d.ts +20 -7
  316. package/dist/types/src/components/DsSidebar/config.d.ts +1 -1
  317. package/dist/types/src/components/DsSidebar/index.d.ts +1 -2
  318. package/dist/types/src/components/DsSkeleton/DsSkeleton.vue.d.ts +10 -4
  319. package/dist/types/src/components/DsSkeleton/config.d.ts +1 -1
  320. package/dist/types/src/components/DsSkeleton/index.d.ts +1 -2
  321. package/dist/types/src/components/DsSwitch/DsSwitch.vue.d.ts +10 -5
  322. package/dist/types/src/components/DsSwitch/config.d.ts +1 -1
  323. package/dist/types/src/components/DsSwitch/dsSwitchStyles.d.ts +10 -10
  324. package/dist/types/src/components/DsSwitch/index.d.ts +1 -1
  325. package/dist/types/src/components/DsSwitch/safelist.d.ts +10 -1
  326. package/dist/types/src/components/DsTable/DsTable.vue.d.ts +67 -4
  327. package/dist/types/src/components/DsTable/config.d.ts +1 -1
  328. package/dist/types/src/components/DsTable/index.d.ts +1 -1
  329. package/dist/types/src/components/DsTabs/DsTabs.vue.d.ts +4 -3
  330. package/dist/types/src/components/DsTabs/config.d.ts +1 -1
  331. package/dist/types/src/components/DsTabs/index.d.ts +1 -2
  332. package/dist/types/src/components/DsTextarea/DsTextarea.vue.d.ts +16 -1
  333. package/dist/types/src/components/DsTextarea/config.d.ts +1 -1
  334. package/dist/types/src/components/DsTextarea/dsTextareaStyles.d.ts +1 -1
  335. package/dist/types/src/components/DsTextarea/index.d.ts +1 -0
  336. package/dist/types/src/components/DsTextarea/safelist.d.ts +1 -1
  337. package/dist/types/src/components/DsToaster/DsToaster.vue.d.ts +41 -1
  338. package/dist/types/src/components/DsToaster/config.d.ts +1 -1
  339. package/dist/types/src/components/DsToaster/dsToasterStyles.d.ts +2 -0
  340. package/dist/types/src/components/DsToaster/index.d.ts +2 -0
  341. package/dist/types/src/components/DsToaster/safelist.d.ts +1 -1
  342. package/dist/types/src/components/DsTooltip/DsTooltip.vue.d.ts +5 -4
  343. package/dist/types/src/components/DsTooltip/config.d.ts +1 -1
  344. package/dist/types/src/components/DsTooltip/index.d.ts +1 -1
  345. package/dist/types/src/components/DsTree/config.d.ts +1 -1
  346. package/dist/types/src/components/DsTree/dsTreeProps.d.ts +6 -0
  347. package/dist/types/src/components/DsTree/safelist.d.ts +1 -1
  348. package/dist/types/src/components/DsTreeSelect/DsTreeSelect.vue.d.ts +3 -27
  349. package/dist/types/src/components/DsTreeSelect/config.d.ts +1 -1
  350. package/dist/types/src/components/DsTreeSelect/dsTreeSelectStyles.d.ts +2 -1
  351. package/dist/types/src/components/DsTreeSelect/dsTreeSelectTypes.d.ts +31 -1
  352. package/dist/types/src/components/DsTreeSelect/index.d.ts +1 -1
  353. package/dist/types/src/components/DsTreeSelect/safelist.d.ts +1 -1
  354. package/dist/types/src/composables/useToast.d.ts +4 -0
  355. package/dist/types/src/directives/globalDirectives.d.ts +1 -1
  356. package/dist/types/src/granular-provider/index.d.ts +3 -0
  357. package/dist/types/src/granular-provider/node.d.ts +3 -0
  358. package/dist/types/src/granular-provider/shared.d.ts +85 -0
  359. package/dist/types/src/i18n/messages.d.ts +12 -0
  360. package/dist/types/src/index.d.ts +11 -16
  361. package/dist/{vue.js → vue/index.js} +6 -2
  362. package/package.json +72 -142
  363. package/dist/assets/granularity-2oOxNk_f.css +0 -2
  364. package/dist/chunks/DsCheckbox-Afg94qUm.js +0 -101
  365. package/dist/chunks/DsCollapse-DWfip4gp.js +0 -144
  366. package/dist/chunks/DsConfirmDialog-DdUrG-DW.js +0 -87
  367. package/dist/chunks/DsDataTable-DgBkEgDK.js +0 -91
  368. package/dist/chunks/DsDialog-BAGAa9DN.js +0 -178
  369. package/dist/chunks/DsDrawer-gmVF_0I0.js +0 -112
  370. package/dist/chunks/DsEmptyState-BdLoQ0-z.js +0 -46
  371. package/dist/chunks/DsFileUpload-IwtpKocj.js +0 -282
  372. package/dist/chunks/DsFormFile-C5ldcCAs.js +0 -219
  373. package/dist/chunks/DsFormSection-DmIDIQg7.js +0 -18
  374. package/dist/chunks/DsIcon-Q-KQGAQU.js +0 -25
  375. package/dist/chunks/DsInputTag-DWip_-Cr.js +0 -201
  376. package/dist/chunks/DsLink-CWpVQ0ij.js +0 -56
  377. package/dist/chunks/DsList-XI8AAk9b.js +0 -31
  378. package/dist/chunks/DsModal-Bl9r6v33.js +0 -75
  379. package/dist/chunks/DsNavbar-DJ4bv_MR.js +0 -54
  380. package/dist/chunks/DsSegmented-BwQ8VnOZ.js +0 -250
  381. package/dist/chunks/DsSelect-DEHGeICn.js +0 -304
  382. package/dist/chunks/DsSidebar-BNLaBCYD.js +0 -18
  383. package/dist/chunks/DsTable-apqrsbxV.js +0 -10
  384. package/dist/chunks/DsTabs-B1kkklFS.js +0 -47
  385. package/dist/chunks/DsToaster-B9u2x_Ii.js +0 -48
  386. package/dist/chunks/DsTooltip-BqNVJw2f.js +0 -27
  387. package/dist/chunks/DsTreeSelect-CU0aC9Mz.js +0 -319
  388. package/dist/chunks/componentConfig-CQndJxd1.js +0 -14
  389. package/dist/chunks/config-4vrmi-D0.js +0 -9
  390. package/dist/chunks/config-ANT_Zf3l.js +0 -18
  391. package/dist/chunks/config-B7HAOCA1.js +0 -33
  392. package/dist/chunks/config-B7yrZO9u.js +0 -18
  393. package/dist/chunks/config-B98-jCfY.js +0 -9
  394. package/dist/chunks/config-BDJ2JaFs.js +0 -9
  395. package/dist/chunks/config-BEzNFZ_R.js +0 -10
  396. package/dist/chunks/config-BKpHj94n.js +0 -13
  397. package/dist/chunks/config-BLYxW-WQ.js +0 -9
  398. package/dist/chunks/config-BS0vLD_L.js +0 -41
  399. package/dist/chunks/config-BXlW2GSa.js +0 -33
  400. package/dist/chunks/config-BY6edpDp.js +0 -9
  401. package/dist/chunks/config-BZDKypuQ.js +0 -8
  402. package/dist/chunks/config-BeJEy8yN.js +0 -9
  403. package/dist/chunks/config-BnryTLnh.js +0 -47
  404. package/dist/chunks/config-BqaCteFh2.js +0 -9
  405. package/dist/chunks/config-BusLdkqX.js +0 -8
  406. package/dist/chunks/config-CBo4aVMV.js +0 -8
  407. package/dist/chunks/config-CLyDbB2M.js +0 -14
  408. package/dist/chunks/config-CML-WrGM.js +0 -10
  409. package/dist/chunks/config-CVEwIRRR.js +0 -30
  410. package/dist/chunks/config-Ch0TH9wN.js +0 -42
  411. package/dist/chunks/config-ClPYX-LP.js +0 -24
  412. package/dist/chunks/config-DA3cYUSo.js +0 -8
  413. package/dist/chunks/config-DAiP4yeJ.js +0 -8
  414. package/dist/chunks/config-DG_de8vE.js +0 -15
  415. package/dist/chunks/config-DIgvSIEs.js +0 -9
  416. package/dist/chunks/config-DJ7xDo-q.js +0 -16
  417. package/dist/chunks/config-DSFnRpu82.js +0 -19
  418. package/dist/chunks/config-DVHe_id-.js +0 -22
  419. package/dist/chunks/config-DoT3gzx7.js +0 -9
  420. package/dist/chunks/config-DuaBaVyF.js +0 -34
  421. package/dist/chunks/config-F4Bb6hVJ.js +0 -30
  422. package/dist/chunks/config-aUoIf7kK.js +0 -28
  423. package/dist/chunks/config-cKk87ycz2.js +0 -14
  424. package/dist/chunks/config-kfb3OyGZ.js +0 -24
  425. package/dist/chunks/config-oDjY8ZrP2.js +0 -8
  426. package/dist/chunks/config-panSV6Wo.js +0 -9
  427. package/dist/chunks/dsDialogStyles-C7QOvzmt.js +0 -11
  428. package/dist/chunks/dsFormFieldStyles-DspgXEqY.js +0 -9
  429. package/dist/chunks/dsLoadingStyles-B2ScgHwn.js +0 -16
  430. package/dist/chunks/dsModalStyles-C7E5kJ1o.js +0 -54
  431. package/dist/chunks/dsSelectStyles-Bym0uW4f.js +0 -82
  432. package/dist/chunks/preset-DBXBjf5u.js +0 -2235
  433. package/dist/components/DsAlert/styles.css +0 -386
  434. package/dist/components/DsAvatar/styles.css +0 -373
  435. package/dist/components/DsBadge/styles.css +0 -422
  436. package/dist/components/DsBadgeWrap/styles.css +0 -378
  437. package/dist/components/DsBottomNav/styles.css +0 -388
  438. package/dist/components/DsButton/styles.css +0 -633
  439. package/dist/components/DsButton/tokens.css +0 -96
  440. package/dist/components/DsButtonGroup/styles.css +0 -23
  441. package/dist/components/DsCard/styles.css +0 -365
  442. package/dist/components/DsCheckbox/styles.css +0 -394
  443. package/dist/components/DsCollapse/styles.css +0 -399
  444. package/dist/components/DsConfirmDialog/styles.css +0 -595
  445. package/dist/components/DsDataTable/styles.css +0 -387
  446. package/dist/components/DsDialog/styles.css +0 -592
  447. package/dist/components/DsDrawer/styles.css +0 -579
  448. package/dist/components/DsDropdown/styles.css +0 -392
  449. package/dist/components/DsDropdownMenu/styles.css +0 -430
  450. package/dist/components/DsEmptyState/styles.css +0 -380
  451. package/dist/components/DsFileUpload/styles.css +0 -403
  452. package/dist/components/DsFormField/styles.css +0 -365
  453. package/dist/components/DsFormFile/styles.css +0 -555
  454. package/dist/components/DsFormSection/styles.css +0 -365
  455. package/dist/components/DsIcon/styles.css +0 -20
  456. package/dist/components/DsIcon/tokens.css +0 -3
  457. package/dist/components/DsImageViewer/styles.css +0 -465
  458. package/dist/components/DsInput/styles.css +0 -416
  459. package/dist/components/DsInputTag/styles.css +0 -498
  460. package/dist/components/DsLink/styles.css +0 -390
  461. package/dist/components/DsList/styles.css +0 -376
  462. package/dist/components/DsLoading/styles.css +0 -381
  463. package/dist/components/DsModal/styles.css +0 -404
  464. package/dist/components/DsNavbar/styles.css +0 -549
  465. package/dist/components/DsNumberInput/styles.css +0 -428
  466. package/dist/components/DsPagination/styles.css +0 -637
  467. package/dist/components/DsProgressBar/styles.css +0 -398
  468. package/dist/components/DsProgressBar/tokens.css +0 -23
  469. package/dist/components/DsPromptDialog/styles.css +0 -622
  470. package/dist/components/DsRadio/styles.css +0 -558
  471. package/dist/components/DsRadioGroup/styles.css +0 -560
  472. package/dist/components/DsSegmented/styles.css +0 -422
  473. package/dist/components/DsSegmented/tokens.css +0 -9
  474. package/dist/components/DsSelect/styles.css +0 -483
  475. package/dist/components/DsSidebar/styles.css +0 -370
  476. package/dist/components/DsSkeleton/styles.css +0 -363
  477. package/dist/components/DsSwitch/styles.css +0 -393
  478. package/dist/components/DsTable/styles.css +0 -369
  479. package/dist/components/DsTabs/styles.css +0 -390
  480. package/dist/components/DsTextarea/styles.css +0 -382
  481. package/dist/components/DsToaster/styles.css +0 -558
  482. package/dist/components/DsTooltip/styles.css +0 -388
  483. package/dist/components/DsTree/styles.css +0 -375
  484. package/dist/components/DsTreeSelect/styles.css +0 -466
  485. package/dist/composables/useTheme.js +0 -44
  486. package/dist/composables/useToast.js +0 -37
  487. package/dist/directives/autofocus.js +0 -46
  488. package/dist/directives/autosize.js +0 -62
  489. package/dist/directives/clickOutside.js +0 -82
  490. package/dist/directives/dropzone.js +0 -110
  491. package/dist/directives/globalDirectives.js +0 -0
  492. package/dist/directives/hotkey.js +0 -104
  493. package/dist/directives/loading.js +0 -125
  494. package/dist/directives.js +0 -7
  495. package/dist/foundation.css +0 -358
  496. package/dist/i18n.js +0 -9
  497. package/dist/package.json +0 -297
  498. package/dist/styles/base.css +0 -33
  499. package/dist/styles/themes/dark.css +0 -102
  500. package/dist/styles/themes/light.css +0 -98
  501. package/dist/styles/tokens.css +0 -118
  502. package/dist/styles.css +0 -1134
  503. package/dist/types/src/components/DsAlert/safelist.d.ts +0 -1
  504. package/dist/types/src/components/DsBadgeWrap/safelist.d.ts +0 -1
  505. package/dist/types/src/components/DsBottomNav/safelist.d.ts +0 -1
  506. package/dist/types/src/components/DsButton/styles.css.d.ts +0 -4
  507. package/dist/types/src/components/DsButtonGroup/safelist.d.ts +0 -1
  508. package/dist/types/src/components/DsButtonGroup/styles.css.d.ts +0 -3
  509. package/dist/types/src/components/DsCard/safelist.d.ts +0 -1
  510. package/dist/types/src/components/DsCheckbox/safelist.d.ts +0 -1
  511. package/dist/types/src/components/DsCollapse/safelist.d.ts +0 -1
  512. package/dist/types/src/components/DsConfirmDialog/safelist.d.ts +0 -1
  513. package/dist/types/src/components/DsDataTable/safelist.d.ts +0 -1
  514. package/dist/types/src/components/DsDropdownMenu/safelist.d.ts +0 -1
  515. package/dist/types/src/components/DsEmptyState/safelist.d.ts +0 -1
  516. package/dist/types/src/components/DsFileUpload/safelist.d.ts +0 -1
  517. package/dist/types/src/components/DsFormField/dsFormFieldStyles.d.ts +0 -1
  518. package/dist/types/src/components/DsFormFile/safelist.d.ts +0 -1
  519. package/dist/types/src/components/DsFormSection/safelist.d.ts +0 -1
  520. package/dist/types/src/components/DsIcon/dsIconStyles.d.ts +0 -2
  521. package/dist/types/src/components/DsIcon/styles.css.d.ts +0 -5
  522. package/dist/types/src/components/DsImageViewer/safelist.d.ts +0 -1
  523. package/dist/types/src/components/DsList/safelist.d.ts +0 -1
  524. package/dist/types/src/components/DsModal/styles.css.d.ts +0 -3
  525. package/dist/types/src/components/DsNavbar/safelist.d.ts +0 -1
  526. package/dist/types/src/components/DsPagination/safelist.d.ts +0 -1
  527. package/dist/types/src/components/DsPromptDialog/safelist.d.ts +0 -1
  528. package/dist/types/src/components/DsPromptDialog/styles.css.d.ts +0 -1
  529. package/dist/types/src/components/DsRadioGroup/safelist.d.ts +0 -1
  530. package/dist/types/src/components/DsSelect/styles.css.d.ts +0 -1
  531. package/dist/types/src/components/DsSidebar/safelist.d.ts +0 -1
  532. package/dist/types/src/components/DsSkeleton/safelist.d.ts +0 -1
  533. package/dist/types/src/components/DsTable/safelist.d.ts +0 -1
  534. package/dist/types/src/components/DsTabs/safelist.d.ts +0 -1
  535. package/dist/types/src/components/DsTooltip/safelist.d.ts +0 -1
  536. package/dist/types/src/registry/componentConfig.d.ts +0 -17
  537. package/dist/types/src/registry/componentCss.d.ts +0 -3
  538. package/dist/types/src/registry/componentCss.node.d.ts +0 -5
  539. package/dist/types/src/registry/components.d.ts +0 -56
  540. package/dist/types/src/registry/safelist.d.ts +0 -11
  541. package/dist/types/src/theming/themeRegistry.d.ts +0 -19
  542. package/dist/types/src/theming/themeRegistry.node.d.ts +0 -14
  543. package/dist/types/src/unocss/preset.d.ts +0 -18
  544. package/dist/types/src/unocss/preset.node.d.ts +0 -15
  545. package/dist/types/src/unocss/rules/animation.d.ts +0 -3
  546. package/dist/types/src/unocss/rules/colorOpacity.d.ts +0 -2
  547. package/dist/types/src/unocss/rules/filters.d.ts +0 -8
  548. package/dist/types/src/unocss/rules/spacing.d.ts +0 -8
  549. package/dist/uno-node.js +0 -103
  550. package/dist/uno.js +0 -2
  551. package/web-types.json +0 -100
  552. /package/dist/chunks/{_plugin-vue_export-helper-DOgycIVc.js → _plugin-vue_export-helper-CHO2XVys.js} +0 -0
  553. /package/dist/chunks/{adapter-BKKNB3Ii.js → adapter-veOBOjv3.js} +0 -0
  554. /package/dist/chunks/{arrow-up-B4OlmAKz.js → arrow-up-Dv3dC3hu.js} +0 -0
  555. /package/dist/chunks/{info-CmLOtVnO.js → info-CNJnuTYC.js} +0 -0
  556. /package/dist/chunks/{loader-circle-DtXjkqR7.js → loader-circle-C5vCCMfB.js} +0 -0
  557. /package/dist/chunks/{x-dGjszOU2.js → x--kxrj3ez.js} +0 -0
  558. /package/dist/chunks/{x-circle-BZnfL2nz.js → x-circle-ChJ87u1v.js} +0 -0
  559. /package/dist/{chunks/DsBadgeWrap-UgP-TMdA.js → components/DsBadgeWrap/chunks/DsBadgeWrap-DO8TjFYg.js} +0 -0
  560. /package/dist/{chunks/DsBottomNav-Dze5cFVz.js → components/DsBottomNav/chunks/DsBottomNav-NRtHfcmQ.js} +0 -0
  561. /package/dist/{chunks/DsFormField-XVZK7YVU.js → components/DsFormField/chunks/DsFormField-QvWyAReX.js} +0 -0
  562. /package/dist/types/src/components/DsDialog/{dsDialogStyles.d.ts → safelist.d.ts} +0 -0
@@ -1,25 +0,0 @@
1
- import { computed as e, createElementBlock as t, defineComponent as n, mergeProps as r, openBlock as i, renderSlot as a } from "vue";
2
- //#region src/components/DsIcon/dsIconStyles.ts
3
- function o(e) {
4
- return typeof e == "number" ? e : {
5
- sm: 16,
6
- md: 18,
7
- lg: 20
8
- }[e];
9
- }
10
- //#endregion
11
- //#region src/components/DsIcon/DsIcon.vue
12
- var s = /* @__PURE__ */ n({
13
- __name: "DsIcon",
14
- props: { size: {} },
15
- setup(n) {
16
- let s = n, c = e(() => s.size ?? "md"), l = e(() => ({ "--ds-icon-size": `${o(c.value)}px` }));
17
- return (e, n) => (i(), t("span", r({
18
- "data-ds-icon": "",
19
- class: "ds-icon inline-flex items-center justify-center align-middle",
20
- style: l.value
21
- }, e.$attrs), [a(e.$slots, "default")], 16));
22
- }
23
- });
24
- //#endregion
25
- export { o as n, s as t };
@@ -1,201 +0,0 @@
1
- import { t as e } from "./x-dGjszOU2.js";
2
- import { t } from "./DsBadge-Dnd7_I-K.js";
3
- import { i as n, n as r } from "./config-qlwX-rLq.js";
4
- import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createVNode as u, defineComponent as d, normalizeClass as f, openBlock as p, ref as m, renderList as h, renderSlot as g, toDisplayString as _, unref as v, withCtx as y, withModifiers as b } from "vue";
5
- //#region src/components/DsInputTag/DsInputTag.vue?vue&type=script&setup=true&lang.ts
6
- var x = { class: "truncate max-w-[18rem]" }, S = ["data-index", "onClick"], C = [
7
- "value",
8
- "disabled",
9
- "readonly",
10
- "placeholder",
11
- "aria-invalid"
12
- ], w = /* @__PURE__ */ d({
13
- __name: "DsInputTag",
14
- props: {
15
- modelValue: {},
16
- placeholder: { default: void 0 },
17
- disabled: {
18
- type: Boolean,
19
- default: !1
20
- },
21
- readonly: {
22
- type: Boolean,
23
- default: !1
24
- },
25
- invalid: {
26
- type: Boolean,
27
- default: !1
28
- },
29
- state: { default: "default" },
30
- size: { default: "md" },
31
- separators: { default: () => [","] },
32
- allowDuplicates: {
33
- type: Boolean,
34
- default: !1
35
- },
36
- trim: {
37
- type: Boolean,
38
- default: !0
39
- },
40
- max: { default: void 0 },
41
- addOnBlur: {
42
- type: Boolean,
43
- default: !1
44
- },
45
- clearInputOnAdd: {
46
- type: Boolean,
47
- default: !0
48
- },
49
- tagTone: { default: "neutral" },
50
- tagDark: {
51
- type: Boolean,
52
- default: !1
53
- },
54
- tagSize: { default: "md" },
55
- tagRadius: { default: "round" },
56
- tagClosable: {
57
- type: Boolean,
58
- default: !0
59
- }
60
- },
61
- emits: [
62
- "update:modelValue",
63
- "add",
64
- "remove"
65
- ],
66
- setup(d, { expose: w, emit: T }) {
67
- let E = /[.*+?^${}()|[\]\\]/g, D = d, O = T, k = m(""), A = m(null);
68
- function j() {
69
- A.value?.focus();
70
- }
71
- w({ focus: j });
72
- let M = a(() => D.max !== void 0 && D.modelValue.length >= D.max), N = a(() => !D.disabled && !D.readonly), P = a(() => D.tagClosable && N.value);
73
- function F(e) {
74
- return e.replace(E, "\\$&");
75
- }
76
- let I = a(() => {
77
- let e = (D.separators ?? []).filter(Boolean).map((e) => e[0]), t = [...new Set([
78
- ...e,
79
- "\n",
80
- "\r",
81
- " "
82
- ])].map(F).join("");
83
- return RegExp(`[${t}]+`, "g");
84
- });
85
- function L(e) {
86
- return D.trim ? e.trim() : e;
87
- }
88
- function R(e) {
89
- return e.split(I.value).map((e) => L(e)).filter(Boolean);
90
- }
91
- function z(e) {
92
- if (!N.value || M.value) return !1;
93
- let t = D.modelValue.slice(), n = !1;
94
- for (let r of e) {
95
- let e = L(r);
96
- if (e && !(!D.allowDuplicates && t.includes(e))) {
97
- if (D.max !== void 0 && t.length >= D.max) break;
98
- t.push(e), n = !0, O("add", e);
99
- }
100
- }
101
- return n ? (O("update:modelValue", t), !0) : !1;
102
- }
103
- function B() {
104
- if (!N.value || M.value || !k.value) return;
105
- let e = R(k.value);
106
- e.length && z(e) && D.clearInputOnAdd && (k.value = "");
107
- }
108
- function V(e) {
109
- if (!N.value) return;
110
- let t = D.modelValue.slice(), n = t[e];
111
- n !== void 0 && (t.splice(e, 1), O("update:modelValue", t), O("remove", n, e));
112
- }
113
- function H(e) {
114
- k.value = e.target.value;
115
- }
116
- function U(e) {
117
- if (N.value) {
118
- if (e.key === "Enter") {
119
- e.preventDefault(), B();
120
- return;
121
- }
122
- if ((D.separators ?? []).includes(e.key)) {
123
- e.preventDefault(), B();
124
- return;
125
- }
126
- e.key === "Backspace" && k.value.length === 0 && D.modelValue.length > 0 && (e.preventDefault(), V(D.modelValue.length - 1));
127
- }
128
- }
129
- function W() {
130
- D.addOnBlur && B();
131
- }
132
- function G(e) {
133
- if (!N.value || M.value) return;
134
- let t = e.clipboardData?.getData("text");
135
- if (!t) return;
136
- let n = R(t);
137
- n.length <= 1 || (e.preventDefault(), z(n));
138
- }
139
- let K = a(() => n({
140
- size: D.size,
141
- state: D.state,
142
- invalid: D.invalid,
143
- disabled: D.disabled
144
- })), q = a(() => r(D.size)), J = a(() => D.modelValue.length > 0 ? void 0 : D.placeholder);
145
- return (n, r) => (p(), c("div", {
146
- "data-testid": "ds-input-tag",
147
- class: f(["w-full flex flex-wrap items-center rounded-md border bg-[var(--bg)] text-[var(--fg)] transition-colors duration-150 focus-within:ring-2 focus-within:ring-[var(--ring)]", K.value]),
148
- onClick: j
149
- }, [(p(!0), c(i, null, h(D.modelValue, (i, a) => (p(), o(t, {
150
- key: `${i}-${a}`,
151
- tone: D.tagTone,
152
- dark: D.tagDark,
153
- size: D.tagSize,
154
- radius: D.tagRadius,
155
- class: "gap-1",
156
- "data-testid": "ds-input-tag-item",
157
- "data-index": a
158
- }, {
159
- default: y(() => [g(n.$slots, "tag", {
160
- tag: i,
161
- index: a,
162
- remove: () => V(a)
163
- }, () => [l("span", x, _(i), 1)]), P.value ? (p(), c("button", {
164
- key: 0,
165
- type: "button",
166
- class: "-mr-0.5 inline-flex items-center justify-center rounded-[6px] p-0.5 opacity-70 hover:opacity-100 focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
167
- "aria-label": "Remove tag",
168
- "data-testid": "ds-input-tag-remove",
169
- "data-index": a,
170
- onMousedown: r[0] ||= b(() => {}, ["prevent", "stop"]),
171
- onClick: b((e) => V(a), ["stop"])
172
- }, [u(v(e), {
173
- class: "h-3.5 w-3.5",
174
- "aria-hidden": "true"
175
- })], 40, S)) : s("", !0)]),
176
- _: 2
177
- }, 1032, [
178
- "tone",
179
- "dark",
180
- "size",
181
- "radius",
182
- "data-index"
183
- ]))), 128)), l("input", {
184
- ref_key: "inputEl",
185
- ref: A,
186
- "data-testid": "ds-input-tag-input",
187
- value: k.value,
188
- disabled: D.disabled || M.value,
189
- readonly: D.readonly,
190
- placeholder: J.value,
191
- "aria-invalid": D.invalid ? "true" : void 0,
192
- class: f(["flex-1 min-w-[120px] bg-transparent border-none outline-none placeholder:text-[var(--muted-fg)]", q.value]),
193
- onInput: H,
194
- onKeydown: U,
195
- onBlur: W,
196
- onPaste: G
197
- }, null, 42, C)], 2));
198
- }
199
- });
200
- //#endregion
201
- export { w as t };
@@ -1,56 +0,0 @@
1
- import { n as e } from "./config-Ch0TH9wN.js";
2
- import { computed as t, createElementBlock as n, defineComponent as r, mergeProps as i, openBlock as a, renderSlot as o, unref as s, useAttrs as c } from "vue";
3
- //#region src/components/DsLink/DsLink.vue?vue&type=script&setup=true&lang.ts
4
- var l = [
5
- "href",
6
- "target",
7
- "rel",
8
- "aria-label"
9
- ], u = ["aria-label", "aria-disabled"], d = /* @__PURE__ */ r({
10
- inheritAttrs: !1,
11
- __name: "DsLink",
12
- props: {
13
- href: { default: void 0 },
14
- external: {
15
- type: Boolean,
16
- default: !1
17
- },
18
- target: { default: void 0 },
19
- rel: { default: void 0 },
20
- disabled: {
21
- type: Boolean,
22
- default: !1
23
- },
24
- ariaLabel: { default: void 0 },
25
- variant: { default: "primary" },
26
- underline: { default: "auto" },
27
- size: { default: "sm" }
28
- },
29
- setup(r) {
30
- let d = r, f = c(), p = t(() => !!d.href && !d.disabled), m = t(() => {
31
- if (d.target) return d.target;
32
- if (d.external) return "_blank";
33
- }), h = t(() => {
34
- if (d.rel) return d.rel;
35
- if (d.external) return "noopener noreferrer";
36
- }), g = t(() => e({
37
- size: d.size,
38
- underline: d.underline,
39
- variant: d.variant,
40
- disabled: d.disabled
41
- }));
42
- return (e, t) => p.value ? (a(), n("a", i({ key: 0 }, s(f), {
43
- href: d.href,
44
- target: m.value,
45
- rel: h.value,
46
- "aria-label": d.ariaLabel,
47
- class: ["inline-flex items-center gap-1 rounded-[6px] transition-colors duration-150 focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]", g.value]
48
- }), [o(e.$slots, "default")], 16, l)) : (a(), n("span", i({ key: 1 }, s(f), {
49
- "aria-label": d.ariaLabel,
50
- "aria-disabled": d.disabled ? "true" : void 0,
51
- class: ["inline-flex items-center gap-1 rounded-[6px] transition-colors duration-150 focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]", g.value]
52
- }), [o(e.$slots, "default")], 16, u));
53
- }
54
- });
55
- //#endregion
56
- export { d as t };
@@ -1,31 +0,0 @@
1
- import { t as e } from "./DsCard-GtapCsjq.js";
2
- import { createBlock as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, defineComponent as a, normalizeClass as o, openBlock as s, renderSlot as c, toDisplayString as l, unref as u, withCtx as d } from "vue";
3
- //#endregion
4
- //#region src/components/DsList/DsList.vue
5
- var f = /* @__PURE__ */ a({
6
- __name: "DsList",
7
- props: { divided: {
8
- type: Boolean,
9
- default: !0
10
- } },
11
- setup(n) {
12
- return (r, a) => (s(), t(u(e), null, {
13
- default: d(() => [i("div", { class: o(n.divided ? "divide-y divide-[var(--brd)]" : "") }, [c(r.$slots, "default")], 2)]),
14
- _: 3
15
- }));
16
- }
17
- }), p = { class: "px-4 py-3 flex items-start justify-between gap-4" }, m = { class: "min-w-0" }, h = { class: "text-[13px] font-700" }, g = {
18
- key: 0,
19
- class: "text-[13px] ds-muted mt-0.5"
20
- }, _ = { class: "shrink-0" }, v = /* @__PURE__ */ a({
21
- __name: "DsListItem",
22
- props: {
23
- title: {},
24
- description: {}
25
- },
26
- setup(e) {
27
- return (t, a) => (s(), r("div", p, [i("div", m, [i("div", h, l(e.title), 1), e.description ? (s(), r("div", g, l(e.description), 1)) : n("", !0)]), i("div", _, [c(t.$slots, "default")])]));
28
- }
29
- });
30
- //#endregion
31
- export { f as n, v as t };
@@ -1,75 +0,0 @@
1
- import { a as e, n as t, r as n, t as r } from "./transition-CT9vsWnT.js";
2
- import { r as i } from "./dsModalStyles-C7E5kJ1o.js";
3
- import { Teleport as a, computed as o, createBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, openBlock as f, renderSlot as p, unref as m, withCtx as h, withKeys as g, withModifiers as _ } from "vue";
4
- //#region src/components/DsModal/DsModal.vue?vue&type=script&setup=true&lang.ts
5
- var v = { class: "fixed inset-0 overflow-y-auto p-4 sm:p-6" }, y = { class: "min-h-full flex items-center justify-center" }, b = /* @__PURE__ */ u({
6
- __name: "DsModal",
7
- props: {
8
- modelValue: { type: Boolean },
9
- closeOnBackdrop: {
10
- type: Boolean,
11
- default: !0
12
- },
13
- size: { default: "md" }
14
- },
15
- emits: ["update:modelValue"],
16
- setup(u, { emit: b }) {
17
- let x = u, S = b, C = o(() => x.modelValue), w = o(() => i(x.size));
18
- function T() {
19
- S("update:modelValue", !1);
20
- }
21
- function E() {
22
- x.closeOnBackdrop && T();
23
- }
24
- return (i, o) => (f(), s(a, { to: "body" }, [l(m(r), {
25
- show: C.value,
26
- as: "template"
27
- }, {
28
- default: h(() => [l(m(e), {
29
- as: "div",
30
- class: "fixed inset-0 z-50",
31
- onClose: E,
32
- onKeydown: g(_(T, ["stop", "prevent"]), ["esc"])
33
- }, {
34
- default: h(() => [c("div", v, [c("div", y, [l(m(t), {
35
- as: "template",
36
- enter: "duration-200 ease-out",
37
- "enter-from": "opacity-0",
38
- "enter-to": "opacity-100",
39
- leave: "duration-150 ease-in",
40
- "leave-from": "opacity-100",
41
- "leave-to": "opacity-0"
42
- }, {
43
- default: h(() => [...o[0] ||= [c("div", {
44
- "data-ds-modal-overlay": "",
45
- class: "fixed inset-0 z-0 bg-black/40",
46
- "aria-hidden": "true"
47
- }, null, -1)]]),
48
- _: 1
49
- }), l(m(t), {
50
- as: "template",
51
- enter: "duration-200 ease-out",
52
- "enter-from": "opacity-0 translate-y-2 sm:translate-y-0 sm:scale-95",
53
- "enter-to": "opacity-100 translate-y-0 sm:scale-100",
54
- leave: "duration-150 ease-in",
55
- "leave-from": "opacity-100 translate-y-0 sm:scale-100",
56
- "leave-to": "opacity-0 translate-y-2 sm:translate-y-0 sm:scale-95"
57
- }, {
58
- default: h(() => [l(m(n), {
59
- "data-ds-modal-panel": "",
60
- tabindex: "-1",
61
- class: d(w.value)
62
- }, {
63
- default: h(() => [p(i.$slots, "default")]),
64
- _: 3
65
- }, 8, ["class"])]),
66
- _: 3
67
- })])])]),
68
- _: 3
69
- }, 8, ["onKeydown"])]),
70
- _: 3
71
- }, 8, ["show"])]));
72
- }
73
- });
74
- //#endregion
75
- export { b as t };
@@ -1,54 +0,0 @@
1
- import { t as e } from "./DsButton-CA18Fha-.js";
2
- import { t } from "./granularityI18n-DBuOHekC.js";
3
- import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, markRaw as u, normalizeClass as d, openBlock as f, renderSlot as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
4
- //#region ~icons/lucide/menu
5
- var _ = {
6
- viewBox: "0 0 24 24",
7
- width: "1.2em",
8
- height: "1.2em"
9
- };
10
- function v(e, t) {
11
- return f(), a("svg", _, [...t[0] ||= [o("path", {
12
- fill: "none",
13
- stroke: "currentColor",
14
- "stroke-linecap": "round",
15
- "stroke-linejoin": "round",
16
- "stroke-width": "2",
17
- d: "M4 5h16M4 12h16M4 19h16"
18
- }, null, -1)]]);
19
- }
20
- var y = u({
21
- name: "lucide-menu",
22
- render: v
23
- }), b = { class: "h-[56px] border-b border-[var(--brd)] bg-[var(--bg)] flex items-center justify-between px-4 sm:px-6" }, x = { class: "flex items-center gap-3" }, S = { class: "text-[14px] font-700" }, C = { class: "flex items-center gap-3" }, w = /* @__PURE__ */ l({
24
- __name: "DsNavbar",
25
- props: {
26
- title: {},
27
- showMenuButton: {
28
- type: Boolean,
29
- default: !1
30
- },
31
- menuButtonClass: { default: "" }
32
- },
33
- emits: ["menu"],
34
- setup(l, { emit: u }) {
35
- let { t: _ } = t(), v = u, w = n(() => _("ds.navbar.openMenu", "Open menu"));
36
- return (t, n) => (f(), a("header", b, [o("div", x, [l.showMenuButton ? (f(), r(e, {
37
- key: 0,
38
- variant: "ghost",
39
- size: "sm",
40
- square: "",
41
- "aria-label": w.value,
42
- class: d(l.menuButtonClass),
43
- onClick: n[0] ||= (e) => v("menu")
44
- }, {
45
- default: g(() => [c(h(y), {
46
- class: "h-4 w-4",
47
- "aria-hidden": "true"
48
- })]),
49
- _: 1
50
- }, 8, ["aria-label", "class"])) : i("", !0), o("div", S, [p(t.$slots, "title", {}, () => [s(m(l.title), 1)])])]), o("div", C, [p(t.$slots, "default")])]));
51
- }
52
- });
53
- //#endregion
54
- export { w as t };
@@ -1,250 +0,0 @@
1
- import { a as e, i as t, n, o as r, r as i, s as a } from "./config-CTGjkM7q.js";
2
- import { Fragment as o, computed as s, createBlock as ee, createCommentVNode as c, createElementBlock as l, createElementVNode as te, defineComponent as u, getCurrentInstance as d, nextTick as f, normalizeClass as p, normalizeStyle as m, onBeforeUnmount as ne, onMounted as re, openBlock as h, ref as g, renderList as _, renderSlot as v, resolveDynamicComponent as y, toDisplayString as b, unref as x, watch as S } from "vue";
3
- //#region src/components/DsSegmented/DsSegmented.vue?vue&type=script&setup=true&lang.ts
4
- var C = [
5
- "data-variant",
6
- "aria-label",
7
- "aria-disabled"
8
- ], ie = [
9
- "data-value",
10
- "aria-checked",
11
- "aria-disabled",
12
- "disabled",
13
- "tabindex",
14
- "onClick",
15
- "onKeydown"
16
- ], ae = [
17
- "name",
18
- "value",
19
- "checked",
20
- "disabled"
21
- ], w = /* @__PURE__ */ u({
22
- __name: "DsSegmented",
23
- props: {
24
- modelValue: {},
25
- options: {},
26
- variant: { default: "pills" },
27
- size: { default: "md" },
28
- indicatorDuration: { default: 300 },
29
- block: {
30
- type: Boolean,
31
- default: !1
32
- },
33
- disabled: {
34
- type: Boolean,
35
- default: !1
36
- },
37
- name: { default: void 0 },
38
- ariaLabel: { default: void 0 }
39
- },
40
- emits: ["update:modelValue", "change"],
41
- setup(u, { emit: w }) {
42
- let T = {
43
- position: "absolute",
44
- opacity: "0",
45
- width: "0",
46
- height: "0",
47
- pointerEvents: "none"
48
- }, E = u, D = w, O = `ds-segmented-${d()?.uid ?? Math.random()}`, k = g(null), A = g(/* @__PURE__ */ new Map()), j = g(null), M = g(!1), N = null, P = null, F = null, I = !1, L = s(() => E.options.findIndex((e) => e.value === E.modelValue)), R = s(() => E.options[L.value] ?? null), z = s(() => E.options.filter((e) => !J(e))), B = s(() => Math.max(0, Math.round(E.indicatorDuration))), V = s(() => r({
49
- variant: E.variant,
50
- block: E.block,
51
- disabled: E.disabled
52
- })), H = s(() => ({
53
- ...a({
54
- variant: E.variant,
55
- size: E.size
56
- }),
57
- gridTemplateColumns: E.options.length > 0 ? E.options.map(() => E.block ? "minmax(0,1fr)" : "minmax(0,max-content)").join(" ") : "none"
58
- })), U = s(() => n(E.variant)), W = s(() => E.name ?? O), G = s(() => L.value !== -1 && j.value !== null), K = s(() => {
59
- let e = j.value;
60
- return e ? {
61
- opacity: M.value ? "1" : "0",
62
- width: `${e.width}px`,
63
- height: `${e.height}px`,
64
- transitionDuration: `${B.value}ms`,
65
- transform: `translate3d(${e.x}px, ${e.y}px, 0)`
66
- } : {
67
- opacity: "0",
68
- width: "0px",
69
- height: "0px",
70
- transitionDuration: `${B.value}ms`,
71
- transform: "translate3d(0px, 0px, 0px)"
72
- };
73
- });
74
- function q(e) {
75
- return String(e);
76
- }
77
- function J(e) {
78
- return E.disabled || !!e.disabled;
79
- }
80
- function Y(e) {
81
- return e.value === E.modelValue;
82
- }
83
- function oe(e) {
84
- return !!e.icon && !e.label;
85
- }
86
- function se(e, t) {
87
- return J(e) ? !1 : Y(e) ? !0 : L.value === -1 ? z.value[0]?.value === E.options[t]?.value : !1;
88
- }
89
- function ce(e, t) {
90
- let n = q(e);
91
- if (!(t instanceof HTMLElement)) {
92
- A.value.delete(n);
93
- return;
94
- }
95
- A.value.set(n, t);
96
- }
97
- function le(e, t) {
98
- return e === t ? !0 : !e || !t ? !1 : e.width === t.width && e.height === t.height && e.x === t.x && e.y === t.y;
99
- }
100
- function ue() {
101
- let e = k.value, t = R.value;
102
- if (!e || !t) {
103
- j.value !== null && (j.value = null), M.value &&= !1;
104
- return;
105
- }
106
- let n = A.value.get(q(t.value));
107
- if (!n) return;
108
- let r = e.getBoundingClientRect(), i = n.getBoundingClientRect(), a = {
109
- width: Math.max(Math.round(i.width), 0),
110
- height: Math.max(Math.round(i.height), 0),
111
- x: Math.round(i.left - r.left),
112
- y: Math.max(Math.round(i.top - r.top) - 1, 0)
113
- };
114
- le(j.value, a) || (j.value = a);
115
- let o = a.width > 0 && a.height > 0;
116
- M.value !== o && (M.value = o);
117
- }
118
- function de() {
119
- if (typeof ResizeObserver > "u") return;
120
- let e = k.value, t = R.value, n = t ? A.value.get(q(t.value)) ?? null : null;
121
- if (N ||= new ResizeObserver(() => X()), !e) {
122
- N.disconnect(), P = null, F = null;
123
- return;
124
- }
125
- P === e && F === n || (N.disconnect(), N.observe(e), n && N.observe(n), P = e, F = n);
126
- }
127
- function X() {
128
- I || (I = !0, f(() => {
129
- I = !1, ue(), de();
130
- }));
131
- }
132
- function Z(e) {
133
- J(e) || e.value === E.modelValue || (D("update:modelValue", e.value), D("change", e.value, e));
134
- }
135
- function Q(e, t) {
136
- if (E.options.length === 0) return -1;
137
- let n = e;
138
- for (let e = 0; e < E.options.length; e += 1) {
139
- n = (n + t + E.options.length) % E.options.length;
140
- let e = E.options[n];
141
- if (e && !J(e)) return n;
142
- }
143
- return -1;
144
- }
145
- function $(e) {
146
- let t = E.options[e];
147
- t && A.value.get(q(t.value))?.focus();
148
- }
149
- function fe(e, t) {
150
- if (!E.disabled) {
151
- if (e.key === "ArrowRight" || e.key === "ArrowDown") {
152
- e.preventDefault();
153
- let n = Q(t, 1);
154
- if (n === -1) return;
155
- let r = E.options[n];
156
- r && (Z(r), $(n));
157
- return;
158
- }
159
- if (e.key === "ArrowLeft" || e.key === "ArrowUp") {
160
- e.preventDefault();
161
- let n = Q(t, -1);
162
- if (n === -1) return;
163
- let r = E.options[n];
164
- r && (Z(r), $(n));
165
- return;
166
- }
167
- if (e.key === "Home") {
168
- e.preventDefault();
169
- let t = z.value[0];
170
- if (!t) return;
171
- Z(t), $(E.options.findIndex((e) => e.value === t.value));
172
- return;
173
- }
174
- if (e.key === "End") {
175
- e.preventDefault();
176
- let t = z.value.at(-1);
177
- if (!t) return;
178
- Z(t), $(E.options.findIndex((e) => e.value === t.value));
179
- return;
180
- }
181
- if (e.key === " " || e.key === "Enter") {
182
- e.preventDefault();
183
- let n = E.options[t];
184
- n && Z(n);
185
- }
186
- }
187
- }
188
- return S(() => E.modelValue, () => X()), S(() => E.options, () => X(), { deep: !0 }), S(() => E.variant, () => X()), S(() => E.size, () => X()), S(() => E.block, () => X()), re(() => X()), ne(() => {
189
- N?.disconnect(), P = null, F = null;
190
- }), (n, r) => (h(), l("div", {
191
- ref_key: "rootRef",
192
- ref: k,
193
- "data-ds-segmented": "",
194
- "data-variant": E.variant,
195
- role: "radiogroup",
196
- "aria-label": E.ariaLabel,
197
- "aria-disabled": E.disabled ? "true" : void 0,
198
- class: p(V.value),
199
- style: m(H.value)
200
- }, [G.value ? (h(), l("span", {
201
- key: 0,
202
- "data-ds-segmented-indicator": "",
203
- "aria-hidden": "true",
204
- class: p(U.value),
205
- style: m(K.value)
206
- }, null, 6)) : c("", !0), (h(!0), l(o, null, _(E.options, (r, a) => (h(), l("button", {
207
- key: r.value,
208
- ref_for: !0,
209
- ref: (e) => ce(r.value, e),
210
- "data-ds-segmented-item": "",
211
- "data-value": String(r.value),
212
- type: "button",
213
- role: "radio",
214
- "aria-checked": Y(r) ? "true" : "false",
215
- "aria-disabled": J(r) ? "true" : void 0,
216
- disabled: J(r),
217
- tabindex: se(r, a) ? 0 : -1,
218
- class: p(x(i)({
219
- variant: E.variant,
220
- selected: Y(r),
221
- disabled: J(r),
222
- iconOnly: oe(r)
223
- })),
224
- onClick: (e) => Z(r),
225
- onKeydown: (e) => fe(e, a)
226
- }, [te("input", {
227
- type: "radio",
228
- tabindex: "-1",
229
- "aria-hidden": "true",
230
- name: W.value,
231
- value: r.value,
232
- checked: Y(r),
233
- disabled: J(r),
234
- style: T
235
- }, null, 8, ae), v(n.$slots, "default", {
236
- option: r,
237
- selected: Y(r),
238
- disabled: J(r)
239
- }, () => [r.icon ? (h(), ee(y(r.icon), {
240
- key: 0,
241
- "aria-hidden": "true",
242
- class: p(x(t))
243
- }, null, 8, ["class"])) : c("", !0), r.label ? (h(), l("span", {
244
- key: 1,
245
- class: p(x(e))
246
- }, b(r.label), 3)) : c("", !0)])], 42, ie))), 128))], 14, C));
247
- }
248
- });
249
- //#endregion
250
- export { w as t };