@feugene/granularity 0.1.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 (527) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +79 -0
  3. package/dist/assets/granularity-2oOxNk_f.css +2 -0
  4. package/dist/chunks/DsAlert-r_Ed-JrB.js +129 -0
  5. package/dist/chunks/DsAvatar-cyMI8jUi.js +32 -0
  6. package/dist/chunks/DsBadge-Dnd7_I-K.js +27 -0
  7. package/dist/chunks/DsBadgeWrap-UgP-TMdA.js +26 -0
  8. package/dist/chunks/DsBottomNav-Dze5cFVz.js +21 -0
  9. package/dist/chunks/DsButton-CA18Fha-.js +67 -0
  10. package/dist/chunks/DsButtonGroup-Ceat9ADe.js +16 -0
  11. package/dist/chunks/DsCard-GtapCsjq.js +10 -0
  12. package/dist/chunks/DsCheckbox-Afg94qUm.js +101 -0
  13. package/dist/chunks/DsCollapse-DWfip4gp.js +144 -0
  14. package/dist/chunks/DsConfirmDialog-DdUrG-DW.js +87 -0
  15. package/dist/chunks/DsDataTable-DgBkEgDK.js +91 -0
  16. package/dist/chunks/DsDialog-BAGAa9DN.js +178 -0
  17. package/dist/chunks/DsDrawer-gmVF_0I0.js +112 -0
  18. package/dist/chunks/DsDropdown-BcFjxaMe.js +106 -0
  19. package/dist/chunks/DsDropdownMenu-CA7259h5.js +218 -0
  20. package/dist/chunks/DsEmptyState-BdLoQ0-z.js +46 -0
  21. package/dist/chunks/DsFileUpload-IwtpKocj.js +282 -0
  22. package/dist/chunks/DsFormField-XVZK7YVU.js +28 -0
  23. package/dist/chunks/DsFormFile-C5ldcCAs.js +219 -0
  24. package/dist/chunks/DsFormSection-DmIDIQg7.js +18 -0
  25. package/dist/chunks/DsIcon-Q-KQGAQU.js +25 -0
  26. package/dist/chunks/DsImageViewer-C9NZ42St.js +313 -0
  27. package/dist/chunks/DsInput-DeoAkT6R.js +159 -0
  28. package/dist/chunks/DsInputTag-DWip_-Cr.js +201 -0
  29. package/dist/chunks/DsLink-CWpVQ0ij.js +56 -0
  30. package/dist/chunks/DsList-XI8AAk9b.js +31 -0
  31. package/dist/chunks/DsLoading-ogfmbPE4.js +53 -0
  32. package/dist/chunks/DsModal-Bl9r6v33.js +75 -0
  33. package/dist/chunks/DsNavbar-DJ4bv_MR.js +54 -0
  34. package/dist/chunks/DsNumberInput-D-m5QoQJ.js +301 -0
  35. package/dist/chunks/DsPagination-B28ms0hc.js +81 -0
  36. package/dist/chunks/DsProgressBar-Bkuqudkg.js +27 -0
  37. package/dist/chunks/DsPromptDialog-DdSca52S.js +133 -0
  38. package/dist/chunks/DsRadio-x2vmEUCv.js +141 -0
  39. package/dist/chunks/DsRadioGroup-CzlzJF2E.js +63 -0
  40. package/dist/chunks/DsSegmented-BwQ8VnOZ.js +250 -0
  41. package/dist/chunks/DsSelect-DEHGeICn.js +304 -0
  42. package/dist/chunks/DsSidebar-BNLaBCYD.js +18 -0
  43. package/dist/chunks/DsSkeleton-BcXabaQ7.js +25 -0
  44. package/dist/chunks/DsSwitch-DBdjltGz.js +60 -0
  45. package/dist/chunks/DsTable-apqrsbxV.js +10 -0
  46. package/dist/chunks/DsTabs-B1kkklFS.js +47 -0
  47. package/dist/chunks/DsTextarea-DVSsoqi3.js +56 -0
  48. package/dist/chunks/DsToaster-B9u2x_Ii.js +48 -0
  49. package/dist/chunks/DsTooltip-BqNVJw2f.js +27 -0
  50. package/dist/chunks/DsTree-Bz37FcIb.js +602 -0
  51. package/dist/chunks/DsTreeSelect-CU0aC9Mz.js +319 -0
  52. package/dist/chunks/_plugin-vue_export-helper-DOgycIVc.js +8 -0
  53. package/dist/chunks/adapter-BKKNB3Ii.js +4 -0
  54. package/dist/chunks/arrow-up-B4OlmAKz.js +23 -0
  55. package/dist/chunks/classTokens-CT1tqF2j.js +6 -0
  56. package/dist/chunks/componentConfig-CQndJxd1.js +14 -0
  57. package/dist/chunks/config-4vrmi-D0.js +9 -0
  58. package/dist/chunks/config-ANT_Zf3l.js +18 -0
  59. package/dist/chunks/config-B-tMv4PT.js +66 -0
  60. package/dist/chunks/config-B75oSW74.js +18 -0
  61. package/dist/chunks/config-B7HAOCA1.js +33 -0
  62. package/dist/chunks/config-B7yrZO9u.js +18 -0
  63. package/dist/chunks/config-B98-jCfY.js +9 -0
  64. package/dist/chunks/config-BDJ2JaFs.js +9 -0
  65. package/dist/chunks/config-BEzNFZ_R.js +10 -0
  66. package/dist/chunks/config-BKpHj94n.js +13 -0
  67. package/dist/chunks/config-BLYxW-WQ.js +9 -0
  68. package/dist/chunks/config-BS0vLD_L.js +41 -0
  69. package/dist/chunks/config-BXlW2GSa.js +33 -0
  70. package/dist/chunks/config-BY6edpDp.js +9 -0
  71. package/dist/chunks/config-BZDKypuQ.js +8 -0
  72. package/dist/chunks/config-BeJEy8yN.js +9 -0
  73. package/dist/chunks/config-BnryTLnh.js +47 -0
  74. package/dist/chunks/config-BqaCteFh2.js +9 -0
  75. package/dist/chunks/config-BrwOndwO.js +9 -0
  76. package/dist/chunks/config-BusLdkqX.js +8 -0
  77. package/dist/chunks/config-CBo4aVMV.js +8 -0
  78. package/dist/chunks/config-CLyDbB2M.js +14 -0
  79. package/dist/chunks/config-CML-WrGM.js +10 -0
  80. package/dist/chunks/config-CMuBf0u72.js +33 -0
  81. package/dist/chunks/config-CTGjkM7q.js +140 -0
  82. package/dist/chunks/config-CVEwIRRR.js +30 -0
  83. package/dist/chunks/config-Ch0TH9wN.js +42 -0
  84. package/dist/chunks/config-ClPYX-LP.js +24 -0
  85. package/dist/chunks/config-DA3cYUSo.js +8 -0
  86. package/dist/chunks/config-DAiP4yeJ.js +8 -0
  87. package/dist/chunks/config-DG_de8vE.js +15 -0
  88. package/dist/chunks/config-DIgvSIEs.js +9 -0
  89. package/dist/chunks/config-DJ7xDo-q.js +16 -0
  90. package/dist/chunks/config-DSFnRpu82.js +19 -0
  91. package/dist/chunks/config-DVHe_id-.js +22 -0
  92. package/dist/chunks/config-DoT3gzx7.js +9 -0
  93. package/dist/chunks/config-DuaBaVyF.js +34 -0
  94. package/dist/chunks/config-F4Bb6hVJ.js +30 -0
  95. package/dist/chunks/config-G7h6ftb62.js +39 -0
  96. package/dist/chunks/config-aUoIf7kK.js +28 -0
  97. package/dist/chunks/config-cKk87ycz2.js +14 -0
  98. package/dist/chunks/config-kfb3OyGZ.js +24 -0
  99. package/dist/chunks/config-oDjY8ZrP2.js +8 -0
  100. package/dist/chunks/config-panSV6Wo.js +9 -0
  101. package/dist/chunks/config-qlwX-rLq.js +42 -0
  102. package/dist/chunks/config-tQBoBLph.js +26 -0
  103. package/dist/chunks/dsBadgeStyles-yLd1GFUa.js +52 -0
  104. package/dist/chunks/dsButtonStyles-C1c_j958.js +207 -0
  105. package/dist/chunks/dsDialogStyles-C7QOvzmt.js +11 -0
  106. package/dist/chunks/dsDropdownStyles-DXGN-A-d.js +37 -0
  107. package/dist/chunks/dsFormFieldStyles-DspgXEqY.js +9 -0
  108. package/dist/chunks/dsLoadingStyles-B2ScgHwn.js +16 -0
  109. package/dist/chunks/dsModalStyles-C7E5kJ1o.js +54 -0
  110. package/dist/chunks/dsSelectStyles-Bym0uW4f.js +82 -0
  111. package/dist/chunks/en-CKkdzd7q.js +39 -0
  112. package/dist/chunks/es-CPXSlGMa.js +39 -0
  113. package/dist/chunks/fileValidation-gR8aUBMZ.js +193 -0
  114. package/dist/chunks/granularityI18n-DBuOHekC.js +24 -0
  115. package/dist/chunks/info-CmLOtVnO.js +26 -0
  116. package/dist/chunks/loader-circle-DtXjkqR7.js +23 -0
  117. package/dist/chunks/preset-DBXBjf5u.js +2235 -0
  118. package/dist/chunks/ru-D7AyvUyA.js +39 -0
  119. package/dist/chunks/transition-CT9vsWnT.js +1617 -0
  120. package/dist/chunks/x-circle-BZnfL2nz.js +61 -0
  121. package/dist/chunks/x-dGjszOU2.js +23 -0
  122. package/dist/components/DsAlert/index.js +3 -0
  123. package/dist/components/DsAlert/styles.css +386 -0
  124. package/dist/components/DsAvatar/index.js +3 -0
  125. package/dist/components/DsAvatar/styles.css +373 -0
  126. package/dist/components/DsBadge/index.js +4 -0
  127. package/dist/components/DsBadge/styles.css +422 -0
  128. package/dist/components/DsBadgeWrap/index.js +3 -0
  129. package/dist/components/DsBadgeWrap/styles.css +378 -0
  130. package/dist/components/DsBottomNav/index.js +3 -0
  131. package/dist/components/DsBottomNav/styles.css +388 -0
  132. package/dist/components/DsButton/index.js +4 -0
  133. package/dist/components/DsButton/styles.css +633 -0
  134. package/dist/components/DsButton/tokens.css +96 -0
  135. package/dist/components/DsButtonGroup/index.js +3 -0
  136. package/dist/components/DsButtonGroup/styles.css +23 -0
  137. package/dist/components/DsCard/index.js +3 -0
  138. package/dist/components/DsCard/styles.css +365 -0
  139. package/dist/components/DsCheckbox/index.js +3 -0
  140. package/dist/components/DsCheckbox/styles.css +394 -0
  141. package/dist/components/DsCollapse/index.js +3 -0
  142. package/dist/components/DsCollapse/styles.css +399 -0
  143. package/dist/components/DsConfirmDialog/index.js +3 -0
  144. package/dist/components/DsConfirmDialog/styles.css +595 -0
  145. package/dist/components/DsDataTable/index.js +3 -0
  146. package/dist/components/DsDataTable/styles.css +387 -0
  147. package/dist/components/DsDialog/index.js +3 -0
  148. package/dist/components/DsDialog/styles.css +592 -0
  149. package/dist/components/DsDrawer/index.js +3 -0
  150. package/dist/components/DsDrawer/styles.css +579 -0
  151. package/dist/components/DsDropdown/index.js +4 -0
  152. package/dist/components/DsDropdown/styles.css +392 -0
  153. package/dist/components/DsDropdownMenu/index.js +3 -0
  154. package/dist/components/DsDropdownMenu/styles.css +430 -0
  155. package/dist/components/DsEmptyState/index.js +3 -0
  156. package/dist/components/DsEmptyState/styles.css +380 -0
  157. package/dist/components/DsFileUpload/index.js +4 -0
  158. package/dist/components/DsFileUpload/styles.css +403 -0
  159. package/dist/components/DsFormField/index.js +3 -0
  160. package/dist/components/DsFormField/styles.css +365 -0
  161. package/dist/components/DsFormFile/index.js +3 -0
  162. package/dist/components/DsFormFile/styles.css +555 -0
  163. package/dist/components/DsFormSection/index.js +3 -0
  164. package/dist/components/DsFormSection/styles.css +365 -0
  165. package/dist/components/DsIcon/index.js +3 -0
  166. package/dist/components/DsIcon/styles.css +20 -0
  167. package/dist/components/DsIcon/tokens.css +3 -0
  168. package/dist/components/DsImageViewer/index.js +3 -0
  169. package/dist/components/DsImageViewer/styles.css +465 -0
  170. package/dist/components/DsInput/index.js +3 -0
  171. package/dist/components/DsInput/styles.css +416 -0
  172. package/dist/components/DsInputTag/index.js +3 -0
  173. package/dist/components/DsInputTag/styles.css +498 -0
  174. package/dist/components/DsLink/index.js +3 -0
  175. package/dist/components/DsLink/styles.css +390 -0
  176. package/dist/components/DsList/index.js +3 -0
  177. package/dist/components/DsList/styles.css +376 -0
  178. package/dist/components/DsLoading/index.js +4 -0
  179. package/dist/components/DsLoading/styles.css +381 -0
  180. package/dist/components/DsModal/index.js +4 -0
  181. package/dist/components/DsModal/styles.css +404 -0
  182. package/dist/components/DsNavbar/index.js +3 -0
  183. package/dist/components/DsNavbar/styles.css +549 -0
  184. package/dist/components/DsNumberInput/index.js +3 -0
  185. package/dist/components/DsNumberInput/styles.css +428 -0
  186. package/dist/components/DsPagination/index.js +3 -0
  187. package/dist/components/DsPagination/styles.css +637 -0
  188. package/dist/components/DsProgressBar/index.js +3 -0
  189. package/dist/components/DsProgressBar/styles.css +398 -0
  190. package/dist/components/DsProgressBar/tokens.css +23 -0
  191. package/dist/components/DsPromptDialog/index.js +3 -0
  192. package/dist/components/DsPromptDialog/styles.css +622 -0
  193. package/dist/components/DsRadio/index.js +3 -0
  194. package/dist/components/DsRadio/styles.css +558 -0
  195. package/dist/components/DsRadioGroup/index.js +3 -0
  196. package/dist/components/DsRadioGroup/styles.css +560 -0
  197. package/dist/components/DsSegmented/index.js +3 -0
  198. package/dist/components/DsSegmented/styles.css +422 -0
  199. package/dist/components/DsSegmented/tokens.css +9 -0
  200. package/dist/components/DsSelect/index.js +4 -0
  201. package/dist/components/DsSelect/styles.css +483 -0
  202. package/dist/components/DsSidebar/index.js +3 -0
  203. package/dist/components/DsSidebar/styles.css +370 -0
  204. package/dist/components/DsSkeleton/index.js +3 -0
  205. package/dist/components/DsSkeleton/styles.css +363 -0
  206. package/dist/components/DsSwitch/index.js +3 -0
  207. package/dist/components/DsSwitch/styles.css +393 -0
  208. package/dist/components/DsTable/index.js +3 -0
  209. package/dist/components/DsTable/styles.css +369 -0
  210. package/dist/components/DsTabs/index.js +3 -0
  211. package/dist/components/DsTabs/styles.css +390 -0
  212. package/dist/components/DsTextarea/index.js +3 -0
  213. package/dist/components/DsTextarea/styles.css +382 -0
  214. package/dist/components/DsToaster/index.js +3 -0
  215. package/dist/components/DsToaster/styles.css +558 -0
  216. package/dist/components/DsTooltip/index.js +3 -0
  217. package/dist/components/DsTooltip/styles.css +388 -0
  218. package/dist/components/DsTree/index.js +3 -0
  219. package/dist/components/DsTree/styles.css +375 -0
  220. package/dist/components/DsTreeSelect/index.js +3 -0
  221. package/dist/components/DsTreeSelect/styles.css +466 -0
  222. package/dist/composables/useTheme.js +44 -0
  223. package/dist/composables/useToast.js +37 -0
  224. package/dist/directives/autofocus.js +46 -0
  225. package/dist/directives/autosize.js +62 -0
  226. package/dist/directives/clickOutside.js +82 -0
  227. package/dist/directives/dropzone.js +110 -0
  228. package/dist/directives/globalDirectives.js +0 -0
  229. package/dist/directives/hotkey.js +104 -0
  230. package/dist/directives/loading.js +125 -0
  231. package/dist/directives.js +7 -0
  232. package/dist/fileValidation.js +2 -0
  233. package/dist/foundation.css +358 -0
  234. package/dist/i18n.js +9 -0
  235. package/dist/index.js +124 -0
  236. package/dist/package.json +293 -0
  237. package/dist/styles/base.css +33 -0
  238. package/dist/styles/themes/dark.css +102 -0
  239. package/dist/styles/themes/light.css +98 -0
  240. package/dist/styles/tokens.css +118 -0
  241. package/dist/styles.css +1134 -0
  242. package/dist/types/src/components/DsAlert/DsAlert.vue.d.ts +70 -0
  243. package/dist/types/src/components/DsAlert/config.d.ts +1 -0
  244. package/dist/types/src/components/DsAlert/index.d.ts +5 -0
  245. package/dist/types/src/components/DsAlert/safelist.d.ts +1 -0
  246. package/dist/types/src/components/DsAvatar/DsAvatar.vue.d.ts +53 -0
  247. package/dist/types/src/components/DsAvatar/config.d.ts +1 -0
  248. package/dist/types/src/components/DsAvatar/dsAvatarStyles.d.ts +6 -0
  249. package/dist/types/src/components/DsAvatar/index.d.ts +5 -0
  250. package/dist/types/src/components/DsAvatar/safelist.d.ts +1 -0
  251. package/dist/types/src/components/DsBadge/DsBadge.vue.d.ts +54 -0
  252. package/dist/types/src/components/DsBadge/config.d.ts +1 -0
  253. package/dist/types/src/components/DsBadge/dsBadgeStyles.d.ts +10 -0
  254. package/dist/types/src/components/DsBadge/index.d.ts +5 -0
  255. package/dist/types/src/components/DsBadge/safelist.d.ts +1 -0
  256. package/dist/types/src/components/DsBadgeWrap/DsBadgeWrap.vue.d.ts +44 -0
  257. package/dist/types/src/components/DsBadgeWrap/config.d.ts +1 -0
  258. package/dist/types/src/components/DsBadgeWrap/index.d.ts +4 -0
  259. package/dist/types/src/components/DsBadgeWrap/safelist.d.ts +1 -0
  260. package/dist/types/src/components/DsBottomNav/DsBottomNav.vue.d.ts +23 -0
  261. package/dist/types/src/components/DsBottomNav/config.d.ts +1 -0
  262. package/dist/types/src/components/DsBottomNav/index.d.ts +5 -0
  263. package/dist/types/src/components/DsBottomNav/safelist.d.ts +1 -0
  264. package/dist/types/src/components/DsButton/DsButton.vue.d.ts +70 -0
  265. package/dist/types/src/components/DsButton/config.d.ts +1 -0
  266. package/dist/types/src/components/DsButton/dsButtonStyles.d.ts +20 -0
  267. package/dist/types/src/components/DsButton/index.d.ts +5 -0
  268. package/dist/types/src/components/DsButton/safelist.d.ts +1 -0
  269. package/dist/types/src/components/DsButton/styles.css.d.ts +4 -0
  270. package/dist/types/src/components/DsButtonGroup/DsButtonGroup.vue.d.ts +40 -0
  271. package/dist/types/src/components/DsButtonGroup/config.d.ts +1 -0
  272. package/dist/types/src/components/DsButtonGroup/index.d.ts +4 -0
  273. package/dist/types/src/components/DsButtonGroup/safelist.d.ts +1 -0
  274. package/dist/types/src/components/DsButtonGroup/styles.css.d.ts +3 -0
  275. package/dist/types/src/components/DsCard/DsCard.vue.d.ts +13 -0
  276. package/dist/types/src/components/DsCard/config.d.ts +1 -0
  277. package/dist/types/src/components/DsCard/index.d.ts +4 -0
  278. package/dist/types/src/components/DsCard/safelist.d.ts +1 -0
  279. package/dist/types/src/components/DsCheckbox/DsCheckbox.vue.d.ts +64 -0
  280. package/dist/types/src/components/DsCheckbox/config.d.ts +1 -0
  281. package/dist/types/src/components/DsCheckbox/index.d.ts +4 -0
  282. package/dist/types/src/components/DsCheckbox/safelist.d.ts +1 -0
  283. package/dist/types/src/components/DsCollapse/DsCollapse.vue.d.ts +59 -0
  284. package/dist/types/src/components/DsCollapse/DsCollapseItem.vue.d.ts +51 -0
  285. package/dist/types/src/components/DsCollapse/config.d.ts +1 -0
  286. package/dist/types/src/components/DsCollapse/dsCollapseContext.d.ts +10 -0
  287. package/dist/types/src/components/DsCollapse/index.d.ts +7 -0
  288. package/dist/types/src/components/DsCollapse/safelist.d.ts +1 -0
  289. package/dist/types/src/components/DsConfirmDialog/DsConfirmDialog.vue.d.ts +93 -0
  290. package/dist/types/src/components/DsConfirmDialog/config.d.ts +1 -0
  291. package/dist/types/src/components/DsConfirmDialog/index.d.ts +4 -0
  292. package/dist/types/src/components/DsConfirmDialog/safelist.d.ts +1 -0
  293. package/dist/types/src/components/DsDataTable/DsDataTable.vue.d.ts +58 -0
  294. package/dist/types/src/components/DsDataTable/config.d.ts +1 -0
  295. package/dist/types/src/components/DsDataTable/index.d.ts +5 -0
  296. package/dist/types/src/components/DsDataTable/safelist.d.ts +1 -0
  297. package/dist/types/src/components/DsDialog/DsDialog.vue.d.ts +76 -0
  298. package/dist/types/src/components/DsDialog/DsDialogCloseButton.vue.d.ts +7 -0
  299. package/dist/types/src/components/DsDialog/DsDialogFooter.vue.d.ts +41 -0
  300. package/dist/types/src/components/DsDialog/DsDialogHeader.vue.d.ts +54 -0
  301. package/dist/types/src/components/DsDialog/config.d.ts +1 -0
  302. package/dist/types/src/components/DsDialog/dialogShared.d.ts +10 -0
  303. package/dist/types/src/components/DsDialog/dsDialogStyles.d.ts +1 -0
  304. package/dist/types/src/components/DsDialog/index.d.ts +4 -0
  305. package/dist/types/src/components/DsDrawer/DsDrawer.vue.d.ts +61 -0
  306. package/dist/types/src/components/DsDrawer/config.d.ts +1 -0
  307. package/dist/types/src/components/DsDrawer/dsDrawerStyles.d.ts +21 -0
  308. package/dist/types/src/components/DsDrawer/index.d.ts +4 -0
  309. package/dist/types/src/components/DsDrawer/safelist.d.ts +1 -0
  310. package/dist/types/src/components/DsDropdown/DsDropdown.vue.d.ts +67 -0
  311. package/dist/types/src/components/DsDropdown/config.d.ts +1 -0
  312. package/dist/types/src/components/DsDropdown/dsDropdownStyles.d.ts +6 -0
  313. package/dist/types/src/components/DsDropdown/index.d.ts +4 -0
  314. package/dist/types/src/components/DsDropdown/safelist.d.ts +1 -0
  315. package/dist/types/src/components/DsDropdownMenu/DsDropdownMenu.vue.d.ts +78 -0
  316. package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuColumn.vue.d.ts +40 -0
  317. package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuColumns.vue.d.ts +40 -0
  318. package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuDivider.vue.d.ts +30 -0
  319. package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuGroup.vue.d.ts +53 -0
  320. package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuHeader.vue.d.ts +49 -0
  321. package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuItem.vue.d.ts +55 -0
  322. package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuList.vue.d.ts +48 -0
  323. package/dist/types/src/components/DsDropdownMenu/config.d.ts +1 -0
  324. package/dist/types/src/components/DsDropdownMenu/index.d.ts +14 -0
  325. package/dist/types/src/components/DsDropdownMenu/safelist.d.ts +1 -0
  326. package/dist/types/src/components/DsEmptyState/DsEmptyState.vue.d.ts +41 -0
  327. package/dist/types/src/components/DsEmptyState/config.d.ts +1 -0
  328. package/dist/types/src/components/DsEmptyState/index.d.ts +4 -0
  329. package/dist/types/src/components/DsEmptyState/safelist.d.ts +1 -0
  330. package/dist/types/src/components/DsFileUpload/DsFileUpload.vue.d.ts +136 -0
  331. package/dist/types/src/components/DsFileUpload/FileValidationError.d.ts +1 -0
  332. package/dist/types/src/components/DsFileUpload/acceptValidator.d.ts +1 -0
  333. package/dist/types/src/components/DsFileUpload/config.d.ts +1 -0
  334. package/dist/types/src/components/DsFileUpload/index.d.ts +5 -0
  335. package/dist/types/src/components/DsFileUpload/matchAccept.d.ts +1 -0
  336. package/dist/types/src/components/DsFileUpload/maxSizeMbValidator.d.ts +1 -0
  337. package/dist/types/src/components/DsFileUpload/runFileValidators.d.ts +2 -0
  338. package/dist/types/src/components/DsFileUpload/safelist.d.ts +1 -0
  339. package/dist/types/src/components/DsFileUpload/types.d.ts +1 -0
  340. package/dist/types/src/components/DsFormField/DsFormField.vue.d.ts +53 -0
  341. package/dist/types/src/components/DsFormField/config.d.ts +1 -0
  342. package/dist/types/src/components/DsFormField/dsFormFieldStyles.d.ts +1 -0
  343. package/dist/types/src/components/DsFormField/index.d.ts +3 -0
  344. package/dist/types/src/components/DsFormFile/DsFormFile.vue.d.ts +102 -0
  345. package/dist/types/src/components/DsFormFile/config.d.ts +1 -0
  346. package/dist/types/src/components/DsFormFile/index.d.ts +5 -0
  347. package/dist/types/src/components/DsFormFile/safelist.d.ts +1 -0
  348. package/dist/types/src/components/DsFormSection/DsFormSection.vue.d.ts +41 -0
  349. package/dist/types/src/components/DsFormSection/config.d.ts +1 -0
  350. package/dist/types/src/components/DsFormSection/index.d.ts +4 -0
  351. package/dist/types/src/components/DsFormSection/safelist.d.ts +1 -0
  352. package/dist/types/src/components/DsIcon/DsIcon.vue.d.ts +26 -0
  353. package/dist/types/src/components/DsIcon/config.d.ts +1 -0
  354. package/dist/types/src/components/DsIcon/dsIconStyles.d.ts +2 -0
  355. package/dist/types/src/components/DsIcon/index.d.ts +5 -0
  356. package/dist/types/src/components/DsIcon/styles.css.d.ts +5 -0
  357. package/dist/types/src/components/DsImageViewer/DsImageViewer.vue.d.ts +121 -0
  358. package/dist/types/src/components/DsImageViewer/config.d.ts +1 -0
  359. package/dist/types/src/components/DsImageViewer/index.d.ts +4 -0
  360. package/dist/types/src/components/DsImageViewer/safelist.d.ts +1 -0
  361. package/dist/types/src/components/DsInput/DsInput.vue.d.ts +109 -0
  362. package/dist/types/src/components/DsInput/config.d.ts +1 -0
  363. package/dist/types/src/components/DsInput/dsInputStyles.d.ts +1 -0
  364. package/dist/types/src/components/DsInput/index.d.ts +5 -0
  365. package/dist/types/src/components/DsInputTag/DsInputTag.vue.d.ts +123 -0
  366. package/dist/types/src/components/DsInputTag/config.d.ts +1 -0
  367. package/dist/types/src/components/DsInputTag/dsInputTagStyles.d.ts +11 -0
  368. package/dist/types/src/components/DsInputTag/index.d.ts +5 -0
  369. package/dist/types/src/components/DsInputTag/safelist.d.ts +1 -0
  370. package/dist/types/src/components/DsLink/DsLink.vue.d.ts +76 -0
  371. package/dist/types/src/components/DsLink/config.d.ts +1 -0
  372. package/dist/types/src/components/DsLink/dsLinkStyles.d.ts +10 -0
  373. package/dist/types/src/components/DsLink/index.d.ts +5 -0
  374. package/dist/types/src/components/DsLink/safelist.d.ts +1 -0
  375. package/dist/types/src/components/DsList/DsList.vue.d.ts +40 -0
  376. package/dist/types/src/components/DsList/DsListItem.vue.d.ts +25 -0
  377. package/dist/types/src/components/DsList/config.d.ts +1 -0
  378. package/dist/types/src/components/DsList/index.d.ts +5 -0
  379. package/dist/types/src/components/DsList/safelist.d.ts +1 -0
  380. package/dist/types/src/components/DsLoading/DsLoading.vue.d.ts +59 -0
  381. package/dist/types/src/components/DsLoading/config.d.ts +1 -0
  382. package/dist/types/src/components/DsLoading/dsLoadingStyles.d.ts +6 -0
  383. package/dist/types/src/components/DsLoading/index.d.ts +4 -0
  384. package/dist/types/src/components/DsLoading/safelist.d.ts +1 -0
  385. package/dist/types/src/components/DsModal/DsModal.vue.d.ts +51 -0
  386. package/dist/types/src/components/DsModal/config.d.ts +1 -0
  387. package/dist/types/src/components/DsModal/dsModalStyles.d.ts +17 -0
  388. package/dist/types/src/components/DsModal/index.d.ts +5 -0
  389. package/dist/types/src/components/DsModal/safelist.d.ts +1 -0
  390. package/dist/types/src/components/DsModal/styles.css.d.ts +3 -0
  391. package/dist/types/src/components/DsNavbar/DsNavbar.vue.d.ts +52 -0
  392. package/dist/types/src/components/DsNavbar/config.d.ts +1 -0
  393. package/dist/types/src/components/DsNavbar/index.d.ts +4 -0
  394. package/dist/types/src/components/DsNavbar/safelist.d.ts +1 -0
  395. package/dist/types/src/components/DsNumberInput/DsNumberInput.vue.d.ts +135 -0
  396. package/dist/types/src/components/DsNumberInput/config.d.ts +1 -0
  397. package/dist/types/src/components/DsNumberInput/dsNumberInputStyles.d.ts +15 -0
  398. package/dist/types/src/components/DsNumberInput/index.d.ts +5 -0
  399. package/dist/types/src/components/DsNumberInput/safelist.d.ts +1 -0
  400. package/dist/types/src/components/DsPagination/DsPagination.vue.d.ts +39 -0
  401. package/dist/types/src/components/DsPagination/config.d.ts +1 -0
  402. package/dist/types/src/components/DsPagination/index.d.ts +4 -0
  403. package/dist/types/src/components/DsPagination/safelist.d.ts +1 -0
  404. package/dist/types/src/components/DsProgressBar/DsProgressBar.vue.d.ts +36 -0
  405. package/dist/types/src/components/DsProgressBar/config.d.ts +1 -0
  406. package/dist/types/src/components/DsProgressBar/dsStyle.d.ts +6 -0
  407. package/dist/types/src/components/DsProgressBar/index.d.ts +4 -0
  408. package/dist/types/src/components/DsProgressBar/safelist.d.ts +1 -0
  409. package/dist/types/src/components/DsPromptDialog/DsPromptDialog.vue.d.ts +108 -0
  410. package/dist/types/src/components/DsPromptDialog/config.d.ts +1 -0
  411. package/dist/types/src/components/DsPromptDialog/index.d.ts +4 -0
  412. package/dist/types/src/components/DsPromptDialog/safelist.d.ts +1 -0
  413. package/dist/types/src/components/DsPromptDialog/styles.css.d.ts +1 -0
  414. package/dist/types/src/components/DsRadio/DsRadio.vue.d.ts +94 -0
  415. package/dist/types/src/components/DsRadio/config.d.ts +1 -0
  416. package/dist/types/src/components/DsRadio/dsRadioGroupContext.d.ts +10 -0
  417. package/dist/types/src/components/DsRadio/dsRadioStyles.d.ts +16 -0
  418. package/dist/types/src/components/DsRadio/index.d.ts +7 -0
  419. package/dist/types/src/components/DsRadio/safelist.d.ts +1 -0
  420. package/dist/types/src/components/DsRadioGroup/DsRadioGroup.vue.d.ts +69 -0
  421. package/dist/types/src/components/DsRadioGroup/config.d.ts +1 -0
  422. package/dist/types/src/components/DsRadioGroup/index.d.ts +5 -0
  423. package/dist/types/src/components/DsRadioGroup/safelist.d.ts +1 -0
  424. package/dist/types/src/components/DsSegmented/DsSegmented.vue.d.ts +77 -0
  425. package/dist/types/src/components/DsSegmented/config.d.ts +1 -0
  426. package/dist/types/src/components/DsSegmented/dsSegmentedStyles.d.ts +45 -0
  427. package/dist/types/src/components/DsSegmented/index.d.ts +5 -0
  428. package/dist/types/src/components/DsSegmented/safelist.d.ts +1 -0
  429. package/dist/types/src/components/DsSelect/DsSelect.vue.d.ts +132 -0
  430. package/dist/types/src/components/DsSelect/config.d.ts +1 -0
  431. package/dist/types/src/components/DsSelect/dsSelectStyles.d.ts +35 -0
  432. package/dist/types/src/components/DsSelect/index.d.ts +5 -0
  433. package/dist/types/src/components/DsSelect/safelist.d.ts +1 -0
  434. package/dist/types/src/components/DsSelect/styles.css.d.ts +1 -0
  435. package/dist/types/src/components/DsSidebar/DsSidebar.vue.d.ts +41 -0
  436. package/dist/types/src/components/DsSidebar/config.d.ts +1 -0
  437. package/dist/types/src/components/DsSidebar/index.d.ts +4 -0
  438. package/dist/types/src/components/DsSidebar/safelist.d.ts +1 -0
  439. package/dist/types/src/components/DsSkeleton/DsSkeleton.vue.d.ts +38 -0
  440. package/dist/types/src/components/DsSkeleton/config.d.ts +1 -0
  441. package/dist/types/src/components/DsSkeleton/index.d.ts +4 -0
  442. package/dist/types/src/components/DsSkeleton/safelist.d.ts +1 -0
  443. package/dist/types/src/components/DsSwitch/DsSwitch.vue.d.ts +63 -0
  444. package/dist/types/src/components/DsSwitch/config.d.ts +1 -0
  445. package/dist/types/src/components/DsSwitch/dsSwitchStyles.d.ts +19 -0
  446. package/dist/types/src/components/DsSwitch/index.d.ts +5 -0
  447. package/dist/types/src/components/DsSwitch/safelist.d.ts +1 -0
  448. package/dist/types/src/components/DsTable/DsTable.vue.d.ts +15 -0
  449. package/dist/types/src/components/DsTable/config.d.ts +1 -0
  450. package/dist/types/src/components/DsTable/index.d.ts +4 -0
  451. package/dist/types/src/components/DsTable/safelist.d.ts +1 -0
  452. package/dist/types/src/components/DsTabs/DsTabs.vue.d.ts +24 -0
  453. package/dist/types/src/components/DsTabs/config.d.ts +1 -0
  454. package/dist/types/src/components/DsTabs/index.d.ts +5 -0
  455. package/dist/types/src/components/DsTabs/safelist.d.ts +1 -0
  456. package/dist/types/src/components/DsTextarea/DsTextarea.vue.d.ts +65 -0
  457. package/dist/types/src/components/DsTextarea/config.d.ts +1 -0
  458. package/dist/types/src/components/DsTextarea/dsTextareaStyles.d.ts +6 -0
  459. package/dist/types/src/components/DsTextarea/index.d.ts +5 -0
  460. package/dist/types/src/components/DsTextarea/safelist.d.ts +1 -0
  461. package/dist/types/src/components/DsToaster/DsToaster.vue.d.ts +3 -0
  462. package/dist/types/src/components/DsToaster/config.d.ts +1 -0
  463. package/dist/types/src/components/DsToaster/index.d.ts +4 -0
  464. package/dist/types/src/components/DsToaster/safelist.d.ts +1 -0
  465. package/dist/types/src/components/DsTooltip/DsTooltip.vue.d.ts +41 -0
  466. package/dist/types/src/components/DsTooltip/config.d.ts +1 -0
  467. package/dist/types/src/components/DsTooltip/index.d.ts +4 -0
  468. package/dist/types/src/components/DsTooltip/safelist.d.ts +1 -0
  469. package/dist/types/src/components/DsTree/DsTree.vue.d.ts +35 -0
  470. package/dist/types/src/components/DsTree/config.d.ts +1 -0
  471. package/dist/types/src/components/DsTree/dsTreeDataAdapter.d.ts +14 -0
  472. package/dist/types/src/components/DsTree/dsTreeInteractionContext.d.ts +31 -0
  473. package/dist/types/src/components/DsTree/dsTreeProps.d.ts +57 -0
  474. package/dist/types/src/components/DsTree/dsTreeStore.d.ts +45 -0
  475. package/dist/types/src/components/DsTree/dsTreeTypes.d.ts +24 -0
  476. package/dist/types/src/components/DsTree/index.d.ts +6 -0
  477. package/dist/types/src/components/DsTree/safelist.d.ts +1 -0
  478. package/dist/types/src/components/DsTreeSelect/DsTreeSelect.vue.d.ts +72 -0
  479. package/dist/types/src/components/DsTreeSelect/config.d.ts +1 -0
  480. package/dist/types/src/components/DsTreeSelect/dsTreeSelectStyles.d.ts +9 -0
  481. package/dist/types/src/components/DsTreeSelect/dsTreeSelectTypes.d.ts +3 -0
  482. package/dist/types/src/components/DsTreeSelect/index.d.ts +5 -0
  483. package/dist/types/src/components/DsTreeSelect/safelist.d.ts +1 -0
  484. package/dist/types/src/components/shared/classTokens.d.ts +1 -0
  485. package/dist/types/src/composables/useTheme.d.ts +24 -0
  486. package/dist/types/src/composables/useToast.d.ts +19 -0
  487. package/dist/types/src/directives/autofocus.d.ts +11 -0
  488. package/dist/types/src/directives/autosize.d.ts +13 -0
  489. package/dist/types/src/directives/clickOutside.d.ts +18 -0
  490. package/dist/types/src/directives/dropzone.d.ts +30 -0
  491. package/dist/types/src/directives/globalDirectives.d.ts +18 -0
  492. package/dist/types/src/directives/hotkey.d.ts +25 -0
  493. package/dist/types/src/directives/index.d.ts +13 -0
  494. package/dist/types/src/directives/loading.d.ts +38 -0
  495. package/dist/types/src/fileValidation/FileValidationError.d.ts +7 -0
  496. package/dist/types/src/fileValidation/acceptValidator.d.ts +2 -0
  497. package/dist/types/src/fileValidation/allowedExtensionsValidator.d.ts +2 -0
  498. package/dist/types/src/fileValidation/allowedMimeTypesValidator.d.ts +9 -0
  499. package/dist/types/src/fileValidation/index.d.ts +11 -0
  500. package/dist/types/src/fileValidation/matchAccept.d.ts +1 -0
  501. package/dist/types/src/fileValidation/maxFileSizeBytesValidator.d.ts +2 -0
  502. package/dist/types/src/fileValidation/maxSizeMbValidator.d.ts +2 -0
  503. package/dist/types/src/fileValidation/maxTotalSizeBytesValidator.d.ts +2 -0
  504. package/dist/types/src/fileValidation/runFileValidators.d.ts +7 -0
  505. package/dist/types/src/fileValidation/types.d.ts +27 -0
  506. package/dist/types/src/i18n/adapter.d.ts +8 -0
  507. package/dist/types/src/i18n/index.d.ts +2 -0
  508. package/dist/types/src/i18n/messages.d.ts +268 -0
  509. package/dist/types/src/index.d.ts +59 -0
  510. package/dist/types/src/internal/granularityI18n.d.ts +8 -0
  511. package/dist/types/src/registry/componentConfig.d.ts +17 -0
  512. package/dist/types/src/registry/componentCss.d.ts +3 -0
  513. package/dist/types/src/registry/componentCss.node.d.ts +5 -0
  514. package/dist/types/src/registry/components.d.ts +56 -0
  515. package/dist/types/src/registry/safelist.d.ts +11 -0
  516. package/dist/types/src/theming/themeRegistry.d.ts +19 -0
  517. package/dist/types/src/theming/themeRegistry.node.d.ts +14 -0
  518. package/dist/types/src/unocss/preset.d.ts +18 -0
  519. package/dist/types/src/unocss/preset.node.d.ts +15 -0
  520. package/dist/types/src/unocss/rules/animation.d.ts +3 -0
  521. package/dist/types/src/unocss/rules/colorOpacity.d.ts +2 -0
  522. package/dist/types/src/unocss/rules/filters.d.ts +8 -0
  523. package/dist/types/src/unocss/rules/spacing.d.ts +8 -0
  524. package/dist/uno-node.js +103 -0
  525. package/dist/uno.js +2 -0
  526. package/package.json +367 -0
  527. package/web-types.json +100 -0
@@ -0,0 +1,136 @@
1
+ import type { FileValidator, FileValidatorSource } from '../../fileValidation';
2
+ export type DsFileUploadExtraDataValue = string | Blob;
3
+ export type DsFileUploadExtraData = Record<string, DsFileUploadExtraDataValue | DsFileUploadExtraDataValue[]>;
4
+ export type DsFileUploadRequestCtx = {
5
+ signal: AbortSignal;
6
+ extraData?: DsFileUploadExtraData;
7
+ };
8
+ export type DsFileUploadRequest = (files: File[], ctx: DsFileUploadRequestCtx) => Promise<any>;
9
+ type __VLS_Props = {
10
+ action?: string;
11
+ request?: DsFileUploadRequest;
12
+ name?: string;
13
+ multiple?: boolean;
14
+ limit?: number;
15
+ onExceed?: (files: File[], limit: number) => void;
16
+ beforeUpload?: (file: File) => boolean | Promise<unknown>;
17
+ validators?: FileValidator[];
18
+ disabled?: boolean;
19
+ headers?: Record<string, string>;
20
+ withCredentials?: boolean;
21
+ showFileList?: boolean;
22
+ uploadExtraData?: (files: File[]) => DsFileUploadExtraData | undefined;
23
+ };
24
+ declare function openDialog(): void;
25
+ declare function abort(): void;
26
+ declare function handleFiles(files: File[], source?: FileValidatorSource): Promise<void>;
27
+ declare var __VLS_1: {
28
+ openDialog: typeof openDialog;
29
+ abort: typeof abort;
30
+ disabled: boolean;
31
+ files: {
32
+ readonly lastModified: number;
33
+ readonly name: string;
34
+ readonly webkitRelativePath: string;
35
+ readonly size: number;
36
+ readonly type: string;
37
+ arrayBuffer: () => Promise<ArrayBuffer>;
38
+ bytes: () => Promise<Uint8Array<ArrayBuffer>>;
39
+ slice: (start?: number, end?: number, contentType?: string) => Blob;
40
+ stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
41
+ text: () => Promise<string>;
42
+ }[];
43
+ isOver: boolean;
44
+ }, __VLS_8: {}, __VLS_10: {}, __VLS_12: {};
45
+ type __VLS_Slots = {} & {
46
+ default?: (props: typeof __VLS_1) => any;
47
+ } & {
48
+ label?: (props: typeof __VLS_8) => any;
49
+ } & {
50
+ default?: (props: typeof __VLS_10) => any;
51
+ } & {
52
+ tip?: (props: typeof __VLS_12) => any;
53
+ };
54
+ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
55
+ action: undefined;
56
+ request: undefined;
57
+ name: string;
58
+ multiple: boolean;
59
+ limit: undefined;
60
+ onExceed: undefined;
61
+ beforeUpload: undefined;
62
+ validators: undefined;
63
+ disabled: boolean;
64
+ headers: undefined;
65
+ withCredentials: boolean;
66
+ showFileList: boolean;
67
+ uploadExtraData: undefined;
68
+ }>>, {
69
+ uploadFiles: typeof handleFiles;
70
+ abort: typeof abort;
71
+ openDialog: typeof openDialog;
72
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
73
+ success: (payload: any) => void;
74
+ error: (error: unknown) => void;
75
+ progress: (percent: number) => void;
76
+ change: (files: File[]) => void;
77
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
78
+ action: undefined;
79
+ request: undefined;
80
+ name: string;
81
+ multiple: boolean;
82
+ limit: undefined;
83
+ onExceed: undefined;
84
+ beforeUpload: undefined;
85
+ validators: undefined;
86
+ disabled: boolean;
87
+ headers: undefined;
88
+ withCredentials: boolean;
89
+ showFileList: boolean;
90
+ uploadExtraData: undefined;
91
+ }>>> & Readonly<{
92
+ onSuccess?: ((payload: any) => any) | undefined;
93
+ onProgress?: ((percent: number) => any) | undefined;
94
+ onChange?: ((files: File[]) => any) | undefined;
95
+ onError?: ((error: unknown) => any) | undefined;
96
+ }>, {
97
+ disabled: boolean;
98
+ name: string;
99
+ action: string;
100
+ request: DsFileUploadRequest;
101
+ multiple: boolean;
102
+ limit: number;
103
+ onExceed: (files: File[], limit: number) => void;
104
+ beforeUpload: (file: File) => boolean | Promise<unknown>;
105
+ validators: FileValidator[];
106
+ headers: Record<string, string>;
107
+ withCredentials: boolean;
108
+ showFileList: boolean;
109
+ uploadExtraData: (files: File[]) => DsFileUploadExtraData | undefined;
110
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
111
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
112
+ declare const _default: typeof __VLS_export;
113
+ export default _default;
114
+ type __VLS_TypePropsToOption<T> = {
115
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
116
+ type: import('vue').PropType<Required<T>[K]>;
117
+ } : {
118
+ type: import('vue').PropType<T[K]>;
119
+ required: true;
120
+ };
121
+ };
122
+ type __VLS_WithDefaults<P, D> = {
123
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
124
+ default: D[K];
125
+ }> : P[K];
126
+ };
127
+ type __VLS_WithSlots<T, S> = T & {
128
+ new (): {
129
+ $slots: S;
130
+ };
131
+ };
132
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
133
+ [K in keyof T]: T[K];
134
+ } : {
135
+ [K in keyof T as K]: T[K];
136
+ }) & {};
@@ -0,0 +1 @@
1
+ export { FileValidationError } from '../../fileValidation';
@@ -0,0 +1 @@
1
+ export { acceptValidator } from '../../fileValidation';
@@ -0,0 +1 @@
1
+ export declare const dsFileUploadConfig: import("../../registry/componentConfig").GranularityComponentConfig<"DsFileUpload">;
@@ -0,0 +1,5 @@
1
+ export { default } from './DsFileUpload.vue';
2
+ export { default as DsFileUpload } from './DsFileUpload.vue';
3
+ export { dsFileUploadConfig } from './config';
4
+ export { dsFileUploadSafelist } from './safelist';
5
+ export * from '../../fileValidation';
@@ -0,0 +1 @@
1
+ export { matchAccept } from '../../fileValidation';
@@ -0,0 +1 @@
1
+ export { maxSizeMbValidator } from '../../fileValidation';
@@ -0,0 +1,2 @@
1
+ export { normalizeFiles, runFileValidators } from '../../fileValidation';
2
+ export type { RunFileValidatorsResult } from '../../fileValidation/runFileValidators';
@@ -0,0 +1 @@
1
+ export declare const dsFileUploadSafelist: string[];
@@ -0,0 +1 @@
1
+ export type * from '../../fileValidation';
@@ -0,0 +1,53 @@
1
+ type LabelClass = string | string[] | Record<string, boolean>;
2
+ type __VLS_Props = {
3
+ label?: string;
4
+ forId?: string;
5
+ error?: string;
6
+ labelClass?: LabelClass;
7
+ };
8
+ declare var __VLS_1: {};
9
+ type __VLS_Slots = {} & {
10
+ default?: (props: typeof __VLS_1) => any;
11
+ };
12
+ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
13
+ label: undefined;
14
+ forId: undefined;
15
+ error: undefined;
16
+ labelClass: undefined;
17
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
18
+ label: undefined;
19
+ forId: undefined;
20
+ error: undefined;
21
+ labelClass: undefined;
22
+ }>>> & Readonly<{}>, {
23
+ label: string;
24
+ error: string;
25
+ forId: string;
26
+ labelClass: LabelClass;
27
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
28
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
+ declare const _default: typeof __VLS_export;
30
+ export default _default;
31
+ type __VLS_TypePropsToOption<T> = {
32
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
33
+ type: import('vue').PropType<Required<T>[K]>;
34
+ } : {
35
+ type: import('vue').PropType<T[K]>;
36
+ required: true;
37
+ };
38
+ };
39
+ type __VLS_WithDefaults<P, D> = {
40
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
41
+ default: D[K];
42
+ }> : P[K];
43
+ };
44
+ type __VLS_WithSlots<T, S> = T & {
45
+ new (): {
46
+ $slots: S;
47
+ };
48
+ };
49
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
50
+ [K in keyof T]: T[K];
51
+ } : {
52
+ [K in keyof T as K]: T[K];
53
+ }) & {};
@@ -0,0 +1 @@
1
+ export declare const dsFormFieldConfig: import("../../registry/componentConfig").GranularityComponentConfig<"DsFormField">;
@@ -0,0 +1 @@
1
+ export declare const dsFormFieldSafelist: string[];
@@ -0,0 +1,3 @@
1
+ export { default } from './DsFormField.vue';
2
+ export { default as DsFormField } from './DsFormField.vue';
3
+ export { dsFormFieldSafelist } from './dsFormFieldStyles';
@@ -0,0 +1,102 @@
1
+ import type { FileValidationIssue, FileValidator } from '../../fileValidation';
2
+ export type DsFormFileError = FileValidationIssue;
3
+ type __VLS_Props = {
4
+ modelValue: File | File[] | null;
5
+ multiple?: boolean;
6
+ disabled?: boolean;
7
+ /** W3C `accept` для `<input type="file">` + sugar к `acceptValidator(...)`. */
8
+ accept?: string;
9
+ validators?: FileValidator[];
10
+ uploadText?: string;
11
+ changeText?: string;
12
+ removeText?: string;
13
+ clearAllText?: string;
14
+ placeholder?: string;
15
+ /** Дополнительная (кастомная) валидация на стороне потребителя. */
16
+ validate?: (files: File[]) => DsFormFileError[] | Promise<DsFormFileError[]>;
17
+ };
18
+ declare var __VLS_25: {
19
+ errors: {
20
+ fileName?: string | undefined;
21
+ code: import("../../fileValidation").FileValidationIssueCode;
22
+ message: string;
23
+ meta?: Record<string, unknown> | undefined;
24
+ i18nKey?: string | undefined;
25
+ i18nParams?: Record<string, unknown> | undefined;
26
+ }[];
27
+ };
28
+ type __VLS_Slots = {} & {
29
+ errors?: (props: typeof __VLS_25) => any;
30
+ };
31
+ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
32
+ multiple: boolean;
33
+ disabled: boolean;
34
+ accept: undefined;
35
+ uploadText: string;
36
+ changeText: string;
37
+ removeText: string;
38
+ clearAllText: string;
39
+ placeholder: string;
40
+ validators: undefined;
41
+ validate: undefined;
42
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
43
+ "update:modelValue": (value: File | File[] | null) => void;
44
+ change: (value: File | File[] | null) => void;
45
+ clear: () => void;
46
+ validation: (errors: FileValidationIssue[]) => void;
47
+ "update:errors": (errors: FileValidationIssue[]) => void;
48
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
49
+ multiple: boolean;
50
+ disabled: boolean;
51
+ accept: undefined;
52
+ uploadText: string;
53
+ changeText: string;
54
+ removeText: string;
55
+ clearAllText: string;
56
+ placeholder: string;
57
+ validators: undefined;
58
+ validate: undefined;
59
+ }>>> & Readonly<{
60
+ "onUpdate:modelValue"?: ((value: File | File[] | null) => any) | undefined;
61
+ onChange?: ((value: File | File[] | null) => any) | undefined;
62
+ onClear?: (() => any) | undefined;
63
+ onValidation?: ((errors: FileValidationIssue[]) => any) | undefined;
64
+ "onUpdate:errors"?: ((errors: FileValidationIssue[]) => any) | undefined;
65
+ }>, {
66
+ disabled: boolean;
67
+ accept: string;
68
+ multiple: boolean;
69
+ validators: FileValidator[];
70
+ uploadText: string;
71
+ changeText: string;
72
+ removeText: string;
73
+ clearAllText: string;
74
+ placeholder: string;
75
+ validate: (files: File[]) => DsFormFileError[] | Promise<DsFormFileError[]>;
76
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
77
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
78
+ declare const _default: typeof __VLS_export;
79
+ export default _default;
80
+ type __VLS_TypePropsToOption<T> = {
81
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
82
+ type: import('vue').PropType<Required<T>[K]>;
83
+ } : {
84
+ type: import('vue').PropType<T[K]>;
85
+ required: true;
86
+ };
87
+ };
88
+ type __VLS_WithDefaults<P, D> = {
89
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
90
+ default: D[K];
91
+ }> : P[K];
92
+ };
93
+ type __VLS_WithSlots<T, S> = T & {
94
+ new (): {
95
+ $slots: S;
96
+ };
97
+ };
98
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
99
+ [K in keyof T]: T[K];
100
+ } : {
101
+ [K in keyof T as K]: T[K];
102
+ }) & {};
@@ -0,0 +1 @@
1
+ export declare const dsFormFileConfig: import("../../registry/componentConfig").GranularityComponentConfig<"DsFormFile">;
@@ -0,0 +1,5 @@
1
+ export { default } from './DsFormFile.vue';
2
+ export { default as DsFormFile } from './DsFormFile.vue';
3
+ export { dsFormFileConfig } from './config';
4
+ export { dsFormFileSafelist } from './safelist';
5
+ export type { DsFormFileError } from './DsFormFile.vue';
@@ -0,0 +1 @@
1
+ export declare const dsFormFileSafelist: readonly ["rounded-[var(--ds-radius-md)]", "opacity-60", "cursor-not-allowed", "absolute", "opacity-0", "w-px", "h-px", "pointer-events-none", "flex", "flex-col", "gap-2", "flex-wrap", "items-center", "gap-3", "i-lucide-upload", "ml-2", "i-lucide-x", "text-sm", "text-[var(--muted-fg)]", "truncate", "max-w-[240px]", "text-xs", "hover:text-[var(--fg)]", "text-[var(--ds-danger)]"];
@@ -0,0 +1,41 @@
1
+ type __VLS_Props = {
2
+ title: string;
3
+ description?: string;
4
+ };
5
+ declare var __VLS_1: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_1) => any;
8
+ };
9
+ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
10
+ description: undefined;
11
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
12
+ description: undefined;
13
+ }>>> & Readonly<{}>, {
14
+ description: string;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
19
+ type __VLS_TypePropsToOption<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<Required<T>[K]>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
27
+ type __VLS_WithDefaults<P, D> = {
28
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
29
+ default: D[K];
30
+ }> : P[K];
31
+ };
32
+ type __VLS_WithSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
37
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
38
+ [K in keyof T]: T[K];
39
+ } : {
40
+ [K in keyof T as K]: T[K];
41
+ }) & {};
@@ -0,0 +1 @@
1
+ export declare const dsFormSectionConfig: import("../../registry/componentConfig").GranularityComponentConfig<"DsFormSection">;
@@ -0,0 +1,4 @@
1
+ export { default } from './DsFormSection.vue';
2
+ export { default as DsFormSection } from './DsFormSection.vue';
3
+ export { dsFormSectionConfig } from './config';
4
+ export { dsFormSectionSafelist } from './safelist';
@@ -0,0 +1 @@
1
+ export declare const dsFormSectionSafelist: readonly ["grid", "gap-4", "text-[14px]", "font-700", "mt-1", "text-[13px]", "ds-muted"];
@@ -0,0 +1,26 @@
1
+ export type { DsIconSize } from './dsIconStyles';
2
+ import { type DsIconSize } from './dsIconStyles';
3
+ type __VLS_Props = {
4
+ size?: DsIconSize | number;
5
+ };
6
+ declare var __VLS_1: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_1) => any;
9
+ };
10
+ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
14
+ type __VLS_TypePropsToOption<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<Required<T>[K]>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
22
+ type __VLS_WithSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1 @@
1
+ export declare const dsIconConfig: import("../../registry/componentConfig").GranularityComponentConfig<"DsIcon">;
@@ -0,0 +1,2 @@
1
+ export type DsIconSize = 'sm' | 'md' | 'lg';
2
+ export declare function resolveDsIconSizePx(size: DsIconSize | number): number;
@@ -0,0 +1,5 @@
1
+ export { default } from './DsIcon.vue';
2
+ export { default as DsIcon } from './DsIcon.vue';
3
+ export { dsIconConfig } from './config';
4
+ export type { DsIconSize } from './dsIconStyles';
5
+ export { resolveDsIconSizePx } from './dsIconStyles';
@@ -0,0 +1,5 @@
1
+ import './DsIcon.vue';
2
+ import './dsIconStyles';
3
+ import './styles.css';
4
+ import './tokens.css';
5
+ export {};
@@ -0,0 +1,121 @@
1
+ /**
2
+ * Usage:
3
+ *
4
+ * <DsImageViewer
5
+ * v-model="open"
6
+ * :url-list="images"
7
+ * :initial-index="0"
8
+ * show-progress
9
+ * hide-on-click-modal
10
+ * />
11
+ */
12
+ type __VLS_Props = {
13
+ modelValue: boolean;
14
+ urlList: string[];
15
+ initialIndex?: number;
16
+ zoomRate?: number;
17
+ minScale?: number;
18
+ maxScale?: number;
19
+ hideOnClickModal?: boolean;
20
+ closeOnPressEscape?: boolean;
21
+ showProgress?: boolean;
22
+ showZoomValue?: boolean;
23
+ zIndex?: number;
24
+ };
25
+ type DsImageViewerToolbarActions = {
26
+ close: () => void;
27
+ prev: () => void;
28
+ next: () => void;
29
+ zoomIn: () => void;
30
+ zoomOut: () => void;
31
+ reset: () => void;
32
+ rotateLeft: () => void;
33
+ rotateRight: () => void;
34
+ };
35
+ declare var __VLS_40: {
36
+ index: number;
37
+ displayIndex: number;
38
+ total: number;
39
+ scale: number;
40
+ rotation: number;
41
+ actions: DsImageViewerToolbarActions;
42
+ }, __VLS_42: {
43
+ index: number;
44
+ displayIndex: number;
45
+ total: number;
46
+ scale: number;
47
+ rotation: number;
48
+ actions: DsImageViewerToolbarActions;
49
+ };
50
+ type __VLS_Slots = {} & {
51
+ toolbar?: (props: typeof __VLS_40) => any;
52
+ } & {
53
+ 'toolbar-actions'?: (props: typeof __VLS_42) => any;
54
+ };
55
+ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
56
+ initialIndex: number;
57
+ zoomRate: number;
58
+ minScale: number;
59
+ maxScale: number;
60
+ hideOnClickModal: boolean;
61
+ closeOnPressEscape: boolean;
62
+ showProgress: boolean;
63
+ showZoomValue: boolean;
64
+ zIndex: undefined;
65
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
66
+ "update:modelValue": (value: boolean) => void;
67
+ close: () => void;
68
+ switch: (newIndex: number) => void;
69
+ rotate: (deg: number) => void;
70
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
71
+ initialIndex: number;
72
+ zoomRate: number;
73
+ minScale: number;
74
+ maxScale: number;
75
+ hideOnClickModal: boolean;
76
+ closeOnPressEscape: boolean;
77
+ showProgress: boolean;
78
+ showZoomValue: boolean;
79
+ zIndex: undefined;
80
+ }>>> & Readonly<{
81
+ onClose?: (() => any) | undefined;
82
+ onSwitch?: ((newIndex: number) => any) | undefined;
83
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
84
+ onRotate?: ((deg: number) => any) | undefined;
85
+ }>, {
86
+ zIndex: number;
87
+ initialIndex: number;
88
+ zoomRate: number;
89
+ minScale: number;
90
+ maxScale: number;
91
+ hideOnClickModal: boolean;
92
+ closeOnPressEscape: boolean;
93
+ showProgress: boolean;
94
+ showZoomValue: boolean;
95
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
96
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
97
+ declare const _default: typeof __VLS_export;
98
+ export default _default;
99
+ type __VLS_TypePropsToOption<T> = {
100
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
101
+ type: import('vue').PropType<Required<T>[K]>;
102
+ } : {
103
+ type: import('vue').PropType<T[K]>;
104
+ required: true;
105
+ };
106
+ };
107
+ type __VLS_WithDefaults<P, D> = {
108
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
109
+ default: D[K];
110
+ }> : P[K];
111
+ };
112
+ type __VLS_WithSlots<T, S> = T & {
113
+ new (): {
114
+ $slots: S;
115
+ };
116
+ };
117
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
118
+ [K in keyof T]: T[K];
119
+ } : {
120
+ [K in keyof T as K]: T[K];
121
+ }) & {};
@@ -0,0 +1 @@
1
+ export declare const dsImageViewerConfig: import("../../registry/componentConfig").GranularityComponentConfig<"DsImageViewer">;
@@ -0,0 +1,4 @@
1
+ export { default } from './DsImageViewer.vue';
2
+ export { default as DsImageViewer } from './DsImageViewer.vue';
3
+ export { dsImageViewerConfig } from './config';
4
+ export { dsImageViewerSafelist } from './safelist';
@@ -0,0 +1 @@
1
+ export declare const dsImageViewerSafelist: readonly ["fixed", "inset-0", "overflow-hidden", "duration-120", "duration-130", "duration-150", "duration-180", "ease-in", "ease-out", "opacity-0", "opacity-100", "scale-98", "scale-100", "absolute", "bg-black/60", "backdrop-blur-sm", "relative", "z-10", "h-full", "w-full", "outline-none", "pointer-events-none", "inset-x-0", "top-0", "z-30", "px-3", "py-3", "sm:px-6", "pointer-events-auto", "flex", "items-center", "justify-between", "justify-center", "gap-1", "gap-2", "gap-3", "rounded-full", "bg-black/35", "py-1", "text-xs", "font-600", "text-white/95", "sm:text-sm", "font-700", "h-11", "w-11", "border", "border-white/20", "text-white", "transition-colors", "hover:bg-black/55", "focus-visible:outline-none", "focus-visible:ring-2", "focus-visible:ring-white/80", "text-lg", "leading-none", "px-16", "py-16", "sm:px-24", "sm:py-20", "left-3", "top-1/2", "z-20", "h-12", "w-12", "-translate-y-1/2", "sm:left-6", "text-xl", "right-3", "sm:right-6", "max-h-full", "max-w-full", "select-none", "object-contain", "will-change-transform", "transition-transform", "rounded-[var(--ds-radius-xl)]", "bg-black/25", "px-4", "text-sm", "text-white/80", "bottom-0", "pb-3", "sm:pb-6", "mx-auto", "max-w-max", "p-1", "min-w-11", "px-2", "hover:bg-white/10", "mx-1", "h-6", "w-px", "bg-white/25"];