@feugene/granularity 0.18.0 → 0.20.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 (1070) hide show
  1. package/README.md +8 -0
  2. package/dist/chunks/chevron-left-D8AUBAM7.js +23 -0
  3. package/dist/chunks/chevron-left-D8AUBAM7.js.map +1 -0
  4. package/dist/chunks/chevron-right-C6Z01h0X.js +23 -0
  5. package/dist/chunks/chevron-right-C6Z01h0X.js.map +1 -0
  6. package/dist/chunks/config-9PYRZlKE.js +84 -0
  7. package/dist/chunks/config-9PYRZlKE.js.map +1 -0
  8. package/dist/chunks/config-B4w5gBD0.js +89 -0
  9. package/dist/chunks/config-B4w5gBD0.js.map +1 -0
  10. package/dist/chunks/config-BE6n20np.js.map +1 -0
  11. package/dist/chunks/config-BEVBsvni.js +197 -0
  12. package/dist/chunks/config-BEVBsvni.js.map +1 -0
  13. package/dist/chunks/config-BJ7Bv_G2.js +148 -0
  14. package/dist/chunks/config-BJ7Bv_G2.js.map +1 -0
  15. package/dist/chunks/config-BTCOJO5z.js +37 -0
  16. package/dist/chunks/config-BTCOJO5z.js.map +1 -0
  17. package/dist/chunks/config-Be9k9bOf.js +97 -0
  18. package/dist/chunks/config-Be9k9bOf.js.map +1 -0
  19. package/dist/chunks/config-BfsBepkH2.js +83 -0
  20. package/dist/chunks/config-BfsBepkH2.js.map +1 -0
  21. package/dist/chunks/config-Bsh948nP.js +85 -0
  22. package/dist/chunks/config-Bsh948nP.js.map +1 -0
  23. package/dist/chunks/config-CDat1wXf.js +11 -0
  24. package/dist/chunks/config-CDat1wXf.js.map +1 -0
  25. package/dist/chunks/config-COpuWGr_2.js.map +1 -0
  26. package/dist/chunks/config-DAX8Deh12.js +68 -0
  27. package/dist/chunks/config-DAX8Deh12.js.map +1 -0
  28. package/dist/chunks/config-DCFvmHEv.js.map +1 -0
  29. package/dist/chunks/config-DKdlqXiY.js.map +1 -1
  30. package/dist/chunks/config-DWN4x6_e.js +159 -0
  31. package/dist/chunks/config-DWN4x6_e.js.map +1 -0
  32. package/dist/chunks/config-Dgj1Q6JY.js +26 -0
  33. package/dist/chunks/config-Dgj1Q6JY.js.map +1 -0
  34. package/dist/chunks/config-Dguto_6o.js +108 -0
  35. package/dist/chunks/config-Dguto_6o.js.map +1 -0
  36. package/dist/chunks/config-WTNhdh6T.js.map +1 -0
  37. package/dist/chunks/config-eXB87DOi2.js.map +1 -0
  38. package/dist/chunks/config-vSji8w90.js +85 -0
  39. package/dist/chunks/config-vSji8w90.js.map +1 -0
  40. package/dist/chunks/context-CTbuwcYs.js +133 -0
  41. package/dist/chunks/context-CTbuwcYs.js.map +1 -0
  42. package/dist/chunks/generated-BRkbhyxk.js +3270 -0
  43. package/dist/chunks/generated-BRkbhyxk.js.map +1 -0
  44. package/dist/chunks/grRadioStyles-BTjGNhtU.js +96 -0
  45. package/dist/chunks/grRadioStyles-BTjGNhtU.js.map +1 -0
  46. package/dist/chunks/granular-provider-CZYm70Pm.js +195 -0
  47. package/dist/chunks/granular-provider-CZYm70Pm.js.map +1 -0
  48. package/dist/chunks/grip-vertical-lRha2S7q.js +16 -0
  49. package/dist/chunks/grip-vertical-lRha2S7q.js.map +1 -0
  50. package/dist/chunks/icon-Dag2tIMs.js +21 -0
  51. package/dist/chunks/icon-Dag2tIMs.js.map +1 -0
  52. package/dist/chunks/portalRoot-CVhCgdG6.js +44 -0
  53. package/dist/chunks/portalRoot-CVhCgdG6.js.map +1 -0
  54. package/dist/chunks/useModalOverlay-Cv5hF63W.js +212 -0
  55. package/dist/chunks/useModalOverlay-Cv5hF63W.js.map +1 -0
  56. package/dist/chunks/usePortalTarget-C0p-mhaM.js +77 -0
  57. package/dist/chunks/usePortalTarget-C0p-mhaM.js.map +1 -0
  58. package/dist/chunks/validation-DauXRIkL.js +178 -0
  59. package/dist/chunks/validation-DauXRIkL.js.map +1 -0
  60. package/dist/components/GrAlert/chunks/GrAlert-B21QGele.js +258 -0
  61. package/dist/components/GrAlert/chunks/GrAlert-B21QGele.js.map +1 -0
  62. package/dist/components/GrAlert/index.js +2 -2
  63. package/dist/components/GrAutocomplete/chunks/GrAutocomplete-DsevPtiS.js +860 -0
  64. package/dist/components/GrAutocomplete/chunks/GrAutocomplete-DsevPtiS.js.map +1 -0
  65. package/dist/components/GrAutocomplete/index.js +1 -1
  66. package/dist/components/GrAutocomplete/styles.css +1 -1
  67. package/dist/components/GrAvatar/chunks/GrAvatar-BbdKRX8i.js +222 -0
  68. package/dist/components/GrAvatar/chunks/GrAvatar-BbdKRX8i.js.map +1 -0
  69. package/dist/components/GrAvatar/index.js +3 -3
  70. package/dist/components/GrBadge/chunks/GrBadge-u2ZdS7CN.js +40 -0
  71. package/dist/components/GrBadge/chunks/GrBadge-u2ZdS7CN.js.map +1 -0
  72. package/dist/components/GrBadge/index.js +1 -1
  73. package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-DDoFQscR.js +97 -0
  74. package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-DDoFQscR.js.map +1 -0
  75. package/dist/components/GrBadgeWrap/index.js +3 -3
  76. package/dist/components/GrBottomNav/chunks/GrBottomNav-JUu4ylYv.js +117 -0
  77. package/dist/components/GrBottomNav/chunks/GrBottomNav-JUu4ylYv.js.map +1 -0
  78. package/dist/components/GrBottomNav/index.js +3 -3
  79. package/dist/components/GrBreadcrumbs/chunks/GrBreadcrumbs-CQ44iU2o.js +267 -0
  80. package/dist/components/GrBreadcrumbs/chunks/GrBreadcrumbs-CQ44iU2o.js.map +1 -0
  81. package/dist/components/GrBreadcrumbs/index.js +1 -1
  82. package/dist/components/GrButton/chunks/GrButton-Bw2AH4uX.js +153 -0
  83. package/dist/components/GrButton/chunks/GrButton-Bw2AH4uX.js.map +1 -0
  84. package/dist/components/GrButton/index.js +2 -3
  85. package/dist/components/GrCard/chunks/GrCard-DfIZOP5N.js +89 -0
  86. package/dist/components/GrCard/chunks/GrCard-DfIZOP5N.js.map +1 -0
  87. package/dist/components/GrCard/index.js +1 -1
  88. package/dist/components/GrCheckbox/chunks/GrCheckbox-CEcHIsXM.js +262 -0
  89. package/dist/components/GrCheckbox/chunks/GrCheckbox-CEcHIsXM.js.map +1 -0
  90. package/dist/components/GrCheckbox/index.js +2 -2
  91. package/dist/components/GrCheckboxGroup/chunks/GrCheckboxGroup-BOwrVcFr.js +140 -0
  92. package/dist/components/GrCheckboxGroup/chunks/GrCheckboxGroup-BOwrVcFr.js.map +1 -0
  93. package/dist/components/GrCheckboxGroup/index.js +1 -1
  94. package/dist/components/GrCollapse/chunks/GrCollapse-KFcrji1L.js +294 -0
  95. package/dist/components/GrCollapse/chunks/GrCollapse-KFcrji1L.js.map +1 -0
  96. package/dist/components/GrCollapse/index.js +2 -2
  97. package/dist/components/GrColorPicker/chunks/GrColorPicker-qQdoEPHF.js +584 -0
  98. package/dist/components/GrColorPicker/chunks/GrColorPicker-qQdoEPHF.js.map +1 -0
  99. package/dist/components/GrColorPicker/index.js +2 -2
  100. package/dist/components/GrCommandPalette/chunks/GrCommandPalette-BFcMf4Pn.js +591 -0
  101. package/dist/components/GrCommandPalette/chunks/GrCommandPalette-BFcMf4Pn.js.map +1 -0
  102. package/dist/components/GrCommandPalette/index.js +3 -3
  103. package/dist/components/GrCommandPalette/styles.css +1 -1
  104. package/dist/components/GrConfigProvider/chunks/GrConfigProvider-UP-EaoAf.js +144 -0
  105. package/dist/components/GrConfigProvider/chunks/GrConfigProvider-UP-EaoAf.js.map +1 -0
  106. package/dist/components/GrConfigProvider/index.js +3 -3
  107. package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-rRtMScJX.js +200 -0
  108. package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-rRtMScJX.js.map +1 -0
  109. package/dist/components/GrConfirmDialog/index.js +1 -1
  110. package/dist/components/GrDataTable/chunks/GrDataTable-CNvZg2HZ.js +1055 -0
  111. package/dist/components/GrDataTable/chunks/GrDataTable-CNvZg2HZ.js.map +1 -0
  112. package/dist/components/GrDataTable/index.js +3 -3
  113. package/dist/components/GrDialog/chunks/GrDialog-D0U5iRqV.js +255 -0
  114. package/dist/components/GrDialog/chunks/GrDialog-D0U5iRqV.js.map +1 -0
  115. package/dist/components/GrDialog/index.js +2 -3
  116. package/dist/components/GrDialogService/chunks/GrDialogService-CrwA4aJq.js +656 -0
  117. package/dist/components/GrDialogService/chunks/GrDialogService-CrwA4aJq.js.map +1 -0
  118. package/dist/components/GrDialogService/index.js +2 -2
  119. package/dist/components/GrDivider/chunks/GrDivider-CAhm9jbE.js +109 -0
  120. package/dist/components/GrDivider/chunks/GrDivider-CAhm9jbE.js.map +1 -0
  121. package/dist/components/GrDivider/index.js +1 -1
  122. package/dist/components/GrDrawer/chunks/GrDrawer-C3zAg2tG.js +251 -0
  123. package/dist/components/GrDrawer/chunks/GrDrawer-C3zAg2tG.js.map +1 -0
  124. package/dist/components/GrDrawer/index.js +1 -1
  125. package/dist/components/GrDropdown/chunks/GrDropdown-BSfFOcDx.js +300 -0
  126. package/dist/components/GrDropdown/chunks/GrDropdown-BSfFOcDx.js.map +1 -0
  127. package/dist/components/GrDropdown/index.js +1 -1
  128. package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-LOaFSCyd.js +421 -0
  129. package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-LOaFSCyd.js.map +1 -0
  130. package/dist/components/GrDropdownMenu/index.js +2 -2
  131. package/dist/components/GrEmptyState/chunks/GrEmptyState-CS9do8eM.js +86 -0
  132. package/dist/components/GrEmptyState/chunks/GrEmptyState-CS9do8eM.js.map +1 -0
  133. package/dist/components/GrEmptyState/index.js +3 -3
  134. package/dist/components/GrFileUpload/chunks/GrFileUpload-D3-vC-ap.js +1080 -0
  135. package/dist/components/GrFileUpload/chunks/GrFileUpload-D3-vC-ap.js.map +1 -0
  136. package/dist/components/GrFileUpload/index.js +3 -3
  137. package/dist/components/GrForm/chunks/GrForm-DdJw23Pz.js +326 -0
  138. package/dist/components/GrForm/chunks/GrForm-DdJw23Pz.js.map +1 -0
  139. package/dist/components/GrForm/index.js +4 -4
  140. package/dist/components/GrFormField/chunks/GrFormField-kqfVY30N.js +190 -0
  141. package/dist/components/GrFormField/chunks/GrFormField-kqfVY30N.js.map +1 -0
  142. package/dist/components/GrFormField/index.js +3 -3
  143. package/dist/components/GrFormFile/chunks/GrFormFile-D722xHn8.js +452 -0
  144. package/dist/components/GrFormFile/chunks/GrFormFile-D722xHn8.js.map +1 -0
  145. package/dist/components/GrFormFile/index.js +1 -1
  146. package/dist/components/GrFormSection/chunks/GrFormSection-CdGWvzXO.js +63 -0
  147. package/dist/components/GrFormSection/chunks/GrFormSection-CdGWvzXO.js.map +1 -0
  148. package/dist/components/GrFormSection/index.js +3 -3
  149. package/dist/components/GrIcon/chunks/GrIcon-bQwtZtYT.js +57 -0
  150. package/dist/components/GrIcon/chunks/GrIcon-bQwtZtYT.js.map +1 -0
  151. package/dist/components/GrIcon/index.js +1 -1
  152. package/dist/components/GrImageViewer/chunks/GrImageViewer-CMO10TS7.js +1128 -0
  153. package/dist/components/GrImageViewer/chunks/GrImageViewer-CMO10TS7.js.map +1 -0
  154. package/dist/components/GrImageViewer/index.js +1 -1
  155. package/dist/components/GrInput/chunks/GrInput-Bb_pxqpT.js +348 -0
  156. package/dist/components/GrInput/chunks/GrInput-Bb_pxqpT.js.map +1 -0
  157. package/dist/components/GrInput/index.js +1 -1
  158. package/dist/components/GrInputTag/chunks/GrInputTag-Dghhg03-.js +512 -0
  159. package/dist/components/GrInputTag/chunks/GrInputTag-Dghhg03-.js.map +1 -0
  160. package/dist/components/GrInputTag/index.js +1 -1
  161. package/dist/components/GrKbd/chunks/GrKbd-BXbhsH0M.js +358 -0
  162. package/dist/components/GrKbd/chunks/GrKbd-BXbhsH0M.js.map +1 -0
  163. package/dist/components/GrKbd/index.js +1 -1
  164. package/dist/components/GrLink/chunks/GrLink-BQb7U4so.js +163 -0
  165. package/dist/components/GrLink/chunks/GrLink-BQb7U4so.js.map +1 -0
  166. package/dist/components/GrLink/index.js +1 -1
  167. package/dist/components/GrList/chunks/GrList-CHibO0xA.js +277 -0
  168. package/dist/components/GrList/chunks/GrList-CHibO0xA.js.map +1 -0
  169. package/dist/components/GrList/index.js +1 -1
  170. package/dist/components/GrLoading/chunks/GrLoading-C3DZSSuh.js +101 -0
  171. package/dist/components/GrLoading/chunks/GrLoading-C3DZSSuh.js.map +1 -0
  172. package/dist/components/GrLoading/index.js +1 -1
  173. package/dist/components/GrModal/chunks/GrModal-CPz7SWD_.js +313 -0
  174. package/dist/components/GrModal/chunks/GrModal-CPz7SWD_.js.map +1 -0
  175. package/dist/components/GrModal/index.js +1 -1
  176. package/dist/components/GrNavbar/chunks/GrNavbar-DWaaoV7n.js +104 -0
  177. package/dist/components/GrNavbar/chunks/GrNavbar-DWaaoV7n.js.map +1 -0
  178. package/dist/components/GrNavbar/index.js +1 -1
  179. package/dist/components/GrNumberInput/chunks/GrNumberInput-BotnzW77.js +659 -0
  180. package/dist/components/GrNumberInput/chunks/GrNumberInput-BotnzW77.js.map +1 -0
  181. package/dist/components/GrNumberInput/index.js +1 -1
  182. package/dist/components/GrPagination/chunks/GrPagination-GtGtSMJG.js +283 -0
  183. package/dist/components/GrPagination/chunks/GrPagination-GtGtSMJG.js.map +1 -0
  184. package/dist/components/GrPagination/index.js +1 -1
  185. package/dist/components/GrPopover/chunks/GrPopover-b70bIlQ9.js +216 -0
  186. package/dist/components/GrPopover/chunks/GrPopover-b70bIlQ9.js.map +1 -0
  187. package/dist/components/GrPopover/index.js +1 -1
  188. package/dist/components/GrProgressBar/chunks/GrProgressBar-hszUOC8f.js +90 -0
  189. package/dist/components/GrProgressBar/chunks/GrProgressBar-hszUOC8f.js.map +1 -0
  190. package/dist/components/GrProgressBar/index.js +1 -1
  191. package/dist/components/GrProgressCircle/chunks/GrProgressCircle-BeUx1g1f.js +202 -0
  192. package/dist/components/GrProgressCircle/chunks/GrProgressCircle-BeUx1g1f.js.map +1 -0
  193. package/dist/components/GrProgressCircle/index.js +2 -2
  194. package/dist/components/GrPromptDialog/chunks/GrPromptDialog-CEI8bf-t.js +348 -0
  195. package/dist/components/GrPromptDialog/chunks/GrPromptDialog-CEI8bf-t.js.map +1 -0
  196. package/dist/components/GrPromptDialog/index.js +1 -1
  197. package/dist/components/GrRadio/chunks/GrRadio-BdhknbO8.js +253 -0
  198. package/dist/components/GrRadio/chunks/GrRadio-BdhknbO8.js.map +1 -0
  199. package/dist/components/GrRadio/index.js +3 -3
  200. package/dist/components/GrRadioGroup/chunks/GrRadioGroup-BVmjKXcv.js +196 -0
  201. package/dist/components/GrRadioGroup/chunks/GrRadioGroup-BVmjKXcv.js.map +1 -0
  202. package/dist/components/GrRadioGroup/index.js +1 -1
  203. package/dist/components/GrRating/chunks/GrRating-BSEtaibx.js +316 -0
  204. package/dist/components/GrRating/chunks/GrRating-BSEtaibx.js.map +1 -0
  205. package/dist/components/GrRating/index.js +1 -1
  206. package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-CZONq8uT.js +777 -0
  207. package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-CZONq8uT.js.map +1 -0
  208. package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-CgfAwlg3.js +224 -0
  209. package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-CgfAwlg3.js.map +1 -0
  210. package/dist/components/GrResponseErrorBanner/index.js +3 -3
  211. package/dist/components/GrSegmented/chunks/GrSegmented-DP9WMAbm.js +388 -0
  212. package/dist/components/GrSegmented/chunks/GrSegmented-DP9WMAbm.js.map +1 -0
  213. package/dist/components/GrSegmented/index.js +3 -3
  214. package/dist/components/GrSelect/chunks/GrSelect-CaGuyvtb.js +1384 -0
  215. package/dist/components/GrSelect/chunks/GrSelect-CaGuyvtb.js.map +1 -0
  216. package/dist/components/GrSelect/index.js +1 -1
  217. package/dist/components/GrSelect/styles.css +1 -1
  218. package/dist/components/GrSidebar/chunks/GrSidebar-DG_t4aPE.js +258 -0
  219. package/dist/components/GrSidebar/chunks/GrSidebar-DG_t4aPE.js.map +1 -0
  220. package/dist/components/GrSidebar/index.js +3 -3
  221. package/dist/components/GrSkeleton/chunks/GrSkeleton-CgfXxPQ2.js +78 -0
  222. package/dist/components/GrSkeleton/chunks/GrSkeleton-CgfXxPQ2.js.map +1 -0
  223. package/dist/components/GrSkeleton/index.js +2 -2
  224. package/dist/components/GrSlider/chunks/GrSlider-s99yAyz6.js +379 -0
  225. package/dist/components/GrSlider/chunks/GrSlider-s99yAyz6.js.map +1 -0
  226. package/dist/components/GrSlider/index.js +1 -1
  227. package/dist/components/GrSortableList/chunks/GrSortableList-DJFPdUVv.js +277 -0
  228. package/dist/components/GrSortableList/chunks/GrSortableList-DJFPdUVv.js.map +1 -0
  229. package/dist/components/GrSortableList/index.js +2 -2
  230. package/dist/components/GrSplitter/chunks/GrSplitter-B9_JrT7q.js +259 -0
  231. package/dist/components/GrSplitter/chunks/GrSplitter-B9_JrT7q.js.map +1 -0
  232. package/dist/components/GrSplitter/index.js +3 -3
  233. package/dist/components/GrStatistic/chunks/GrStatistic-C3VpykHo.js +366 -0
  234. package/dist/components/GrStatistic/chunks/GrStatistic-C3VpykHo.js.map +1 -0
  235. package/dist/components/GrStatistic/index.js +2 -2
  236. package/dist/components/GrSwitch/chunks/GrSwitch-x_vQQ6ao.js +183 -0
  237. package/dist/components/GrSwitch/chunks/GrSwitch-x_vQQ6ao.js.map +1 -0
  238. package/dist/components/GrSwitch/index.js +1 -1
  239. package/dist/components/GrTabPanels/chunks/GrTabPanels-AJt1w1XC.js +81 -0
  240. package/dist/components/GrTabPanels/chunks/GrTabPanels-AJt1w1XC.js.map +1 -0
  241. package/dist/components/GrTabPanels/index.js +3 -3
  242. package/dist/components/GrTable/chunks/GrTable-f3qCWa99.js +169 -0
  243. package/dist/components/GrTable/chunks/GrTable-f3qCWa99.js.map +1 -0
  244. package/dist/components/GrTable/index.js +2 -2
  245. package/dist/components/GrTabs/chunks/GrTabs-CBHZkOFY.js +262 -0
  246. package/dist/components/GrTabs/chunks/GrTabs-CBHZkOFY.js.map +1 -0
  247. package/dist/components/GrTabs/index.js +3 -3
  248. package/dist/components/GrTextarea/chunks/GrTextarea-CNnkcIG1.js +241 -0
  249. package/dist/components/GrTextarea/chunks/GrTextarea-CNnkcIG1.js.map +1 -0
  250. package/dist/components/GrTextarea/index.js +1 -1
  251. package/dist/components/GrTimeline/chunks/GrTimeline-DlTraRn5.js +274 -0
  252. package/dist/components/GrTimeline/chunks/GrTimeline-DlTraRn5.js.map +1 -0
  253. package/dist/components/GrTimeline/index.js +3 -3
  254. package/dist/components/GrToaster/chunks/GrToaster-Db2NgrXu.js +373 -0
  255. package/dist/components/GrToaster/chunks/GrToaster-Db2NgrXu.js.map +1 -0
  256. package/dist/components/GrToaster/index.js +1 -1
  257. package/dist/components/GrTooltip/chunks/GrTooltip-B6AwE_UX.js +185 -0
  258. package/dist/components/GrTooltip/chunks/GrTooltip-B6AwE_UX.js.map +1 -0
  259. package/dist/components/GrTooltip/index.js +1 -1
  260. package/dist/components/GrTree/chunks/GrTree-BvOeQ3xJ.js +1376 -0
  261. package/dist/components/GrTree/chunks/GrTree-BvOeQ3xJ.js.map +1 -0
  262. package/dist/components/GrTree/index.js +2 -2
  263. package/dist/components/GrTree/styles.css +1 -1
  264. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-_LjTRR7X.js +633 -0
  265. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-_LjTRR7X.js.map +1 -0
  266. package/dist/components/GrTreeSelect/index.js +2 -2
  267. package/dist/composables/useAnnouncer.js +1 -1
  268. package/dist/composables/useGrComponentConfig.js +1 -1
  269. package/dist/composables/usePortalTarget.js +1 -1
  270. package/dist/directives/loading.js +2 -2
  271. package/dist/granular-provider-node.js +1 -1
  272. package/dist/granular-provider.js +1 -1
  273. package/dist/index.js +95 -96
  274. package/dist/styles/themes/dark.css +6 -1
  275. package/dist/testing.js +230 -0
  276. package/dist/testing.js.map +1 -0
  277. package/dist/theme-apply.js +33 -0
  278. package/dist/theme-apply.js.map +1 -0
  279. package/dist/theme.js +501 -0
  280. package/dist/theme.js.map +1 -0
  281. package/dist/tokens.js +1 -3215
  282. package/dist/types/components/GrAlert/index.d.ts +7 -0
  283. package/dist/types/components/GrAvatar/index.d.ts +9 -0
  284. package/dist/types/components/GrBadgeWrap/index.d.ts +7 -0
  285. package/dist/types/components/GrBottomNav/index.d.ts +8 -0
  286. package/dist/types/components/GrBreadcrumbs/grBreadcrumbsStyles.d.ts +89 -0
  287. package/dist/types/components/GrButton/index.d.ts +10 -0
  288. package/dist/types/components/GrCheckbox/index.d.ts +12 -0
  289. package/dist/types/components/GrCollapse/index.d.ts +8 -0
  290. package/dist/types/components/GrColorPicker/index.d.ts +11 -0
  291. package/dist/types/components/GrCommandPalette/GrCommandPalette.vue.d.ts +163 -0
  292. package/dist/types/components/GrCommandPalette/filtering.d.ts +63 -0
  293. package/dist/types/components/GrCommandPalette/index.d.ts +9 -0
  294. package/dist/types/components/GrConfigProvider/index.d.ts +6 -0
  295. package/dist/types/components/GrDataTable/grDataTableStyles.d.ts +67 -0
  296. package/dist/types/components/GrDataTable/index.d.ts +12 -0
  297. package/dist/types/components/GrDialog/index.d.ts +12 -0
  298. package/dist/types/components/GrDialogService/index.d.ts +6 -0
  299. package/dist/types/components/GrDropdownMenu/index.d.ts +21 -0
  300. package/dist/types/components/GrEmptyState/index.d.ts +7 -0
  301. package/dist/types/components/GrFileUpload/index.d.ts +17 -0
  302. package/dist/types/components/GrForm/index.d.ts +10 -0
  303. package/dist/types/components/GrFormField/index.d.ts +8 -0
  304. package/dist/types/components/GrFormSection/index.d.ts +7 -0
  305. package/dist/types/components/GrProgressCircle/index.d.ts +10 -0
  306. package/dist/types/components/GrRadio/index.d.ts +8 -0
  307. package/dist/types/components/GrRating/GrRating.vue.d.ts +178 -0
  308. package/dist/types/components/GrResponseErrorBanner/index.d.ts +15 -0
  309. package/dist/types/components/GrSegmented/index.d.ts +11 -0
  310. package/dist/types/components/GrSelect/GrSelect.vue.d.ts +199 -0
  311. package/dist/types/components/GrSidebar/index.d.ts +9 -0
  312. package/dist/types/components/GrSkeleton/index.d.ts +4 -0
  313. package/dist/types/components/GrSortableList/grSortableListStyles.d.ts +37 -0
  314. package/dist/types/components/GrSplitter/index.d.ts +11 -0
  315. package/dist/types/components/GrStatistic/GrStatistic.vue.d.ts +168 -0
  316. package/dist/types/components/GrStatistic/grStatisticStyles.d.ts +36 -0
  317. package/dist/types/components/GrTabPanels/index.d.ts +7 -0
  318. package/dist/types/components/GrTabs/GrTabs.vue.d.ts +121 -0
  319. package/dist/types/components/GrTabs/index.d.ts +8 -0
  320. package/dist/types/components/GrTimeline/index.d.ts +10 -0
  321. package/dist/types/components/GrTree/grTreeProps.d.ts +119 -0
  322. package/dist/types/components/GrTree/safelist.d.ts +1 -0
  323. package/dist/types/components/GrTreeSelect/GrTreeSelect.vue.d.ts +63 -0
  324. package/dist/types/components/shared/icon.d.ts +13 -0
  325. package/dist/types/testing/announcer.d.ts +10 -0
  326. package/dist/types/testing/context.d.ts +36 -0
  327. package/dist/types/testing/env.d.ts +25 -0
  328. package/dist/types/testing/geometry.d.ts +23 -0
  329. package/dist/types/testing/index.d.ts +13 -0
  330. package/dist/types/testing/keyboard.d.ts +32 -0
  331. package/dist/types/testing/pointer.d.ts +31 -0
  332. package/dist/types/theme/apply.d.ts +27 -0
  333. package/dist/types/theme/color.d.ts +35 -0
  334. package/dist/types/theme/extendTheme.d.ts +63 -0
  335. package/dist/types/theme/index.d.ts +22 -0
  336. package/dist/types/theme/roles.d.ts +16 -0
  337. package/dist/types/theme/tone.d.ts +32 -0
  338. package/dist/types/theme/validate.d.ts +16 -0
  339. package/dist/types/tokens/types.d.ts +62 -0
  340. package/dist/web-types.json +14 -19
  341. package/package.json +122 -104
  342. package/tokens/themes/dark.json +2 -1
  343. package/dist/chunks/chevron-right-BfqMVpbB.js +0 -44
  344. package/dist/chunks/chevron-right-BfqMVpbB.js.map +0 -1
  345. package/dist/chunks/config-06SQjBx0.js +0 -96
  346. package/dist/chunks/config-06SQjBx0.js.map +0 -1
  347. package/dist/chunks/config-B-iNaGdw.js +0 -199
  348. package/dist/chunks/config-B-iNaGdw.js.map +0 -1
  349. package/dist/chunks/config-BE6n20np2.js.map +0 -1
  350. package/dist/chunks/config-BqFjr3tN.js +0 -131
  351. package/dist/chunks/config-BqFjr3tN.js.map +0 -1
  352. package/dist/chunks/config-COpuWGr_.js.map +0 -1
  353. package/dist/chunks/config-D2aNP7Es.js +0 -70
  354. package/dist/chunks/config-D2aNP7Es.js.map +0 -1
  355. package/dist/chunks/config-D3_g2KIn.js +0 -120
  356. package/dist/chunks/config-D3_g2KIn.js.map +0 -1
  357. package/dist/chunks/config-DCFvmHEv2.js.map +0 -1
  358. package/dist/chunks/config-DEvsMTQE.js +0 -150
  359. package/dist/chunks/config-DEvsMTQE.js.map +0 -1
  360. package/dist/chunks/config-DP7eseR1.js +0 -92
  361. package/dist/chunks/config-DP7eseR1.js.map +0 -1
  362. package/dist/chunks/config-DhHbU3zO.js +0 -37
  363. package/dist/chunks/config-DhHbU3zO.js.map +0 -1
  364. package/dist/chunks/config-DpqOnJiz2.js +0 -11
  365. package/dist/chunks/config-DpqOnJiz2.js.map +0 -1
  366. package/dist/chunks/config-DvQIb4kb.js +0 -98
  367. package/dist/chunks/config-DvQIb4kb.js.map +0 -1
  368. package/dist/chunks/config-K0C2tcLB.js +0 -84
  369. package/dist/chunks/config-K0C2tcLB.js.map +0 -1
  370. package/dist/chunks/config-Rw9OyW70.js +0 -87
  371. package/dist/chunks/config-Rw9OyW70.js.map +0 -1
  372. package/dist/chunks/config-WTNhdh6T2.js.map +0 -1
  373. package/dist/chunks/config-_qPUfb6-2.js +0 -165
  374. package/dist/chunks/config-_qPUfb6-2.js.map +0 -1
  375. package/dist/chunks/config-eXB87DOi.js.map +0 -1
  376. package/dist/chunks/config-gvq_hWNM.js +0 -103
  377. package/dist/chunks/config-gvq_hWNM.js.map +0 -1
  378. package/dist/chunks/context-BSYR7RZs.js +0 -152
  379. package/dist/chunks/context-BSYR7RZs.js.map +0 -1
  380. package/dist/chunks/granular-provider-B9nXQCMu.js +0 -195
  381. package/dist/chunks/granular-provider-B9nXQCMu.js.map +0 -1
  382. package/dist/chunks/portalRoot-CWD4zHBm.js +0 -35
  383. package/dist/chunks/portalRoot-CWD4zHBm.js.map +0 -1
  384. package/dist/chunks/useModalOverlay-BTq-0ImG.js +0 -212
  385. package/dist/chunks/useModalOverlay-BTq-0ImG.js.map +0 -1
  386. package/dist/chunks/usePortalTarget-RyzEgNTb.js +0 -77
  387. package/dist/chunks/usePortalTarget-RyzEgNTb.js.map +0 -1
  388. package/dist/chunks/validation-5HhpanPP.js +0 -178
  389. package/dist/chunks/validation-5HhpanPP.js.map +0 -1
  390. package/dist/components/GrAlert/chunks/GrAlert-BC1lplbY.js +0 -272
  391. package/dist/components/GrAlert/chunks/GrAlert-BC1lplbY.js.map +0 -1
  392. package/dist/components/GrAutocomplete/chunks/GrAutocomplete-CPEQxmLZ.js +0 -852
  393. package/dist/components/GrAutocomplete/chunks/GrAutocomplete-CPEQxmLZ.js.map +0 -1
  394. package/dist/components/GrAvatar/chunks/GrAvatar-CVUujLmn.js +0 -222
  395. package/dist/components/GrAvatar/chunks/GrAvatar-CVUujLmn.js.map +0 -1
  396. package/dist/components/GrBadge/chunks/GrBadge-B1tgqfGQ.js +0 -40
  397. package/dist/components/GrBadge/chunks/GrBadge-B1tgqfGQ.js.map +0 -1
  398. package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-C-E9betg.js +0 -97
  399. package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-C-E9betg.js.map +0 -1
  400. package/dist/components/GrBottomNav/chunks/GrBottomNav-9GH7Dd9E.js +0 -117
  401. package/dist/components/GrBottomNav/chunks/GrBottomNav-9GH7Dd9E.js.map +0 -1
  402. package/dist/components/GrBreadcrumbs/chunks/GrBreadcrumbs-BCNGDS6k.js +0 -266
  403. package/dist/components/GrBreadcrumbs/chunks/GrBreadcrumbs-BCNGDS6k.js.map +0 -1
  404. package/dist/components/GrButton/chunks/GrButton-D0m_z0XW.js +0 -153
  405. package/dist/components/GrButton/chunks/GrButton-D0m_z0XW.js.map +0 -1
  406. package/dist/components/GrCard/chunks/GrCard-DOrGHf2x.js +0 -89
  407. package/dist/components/GrCard/chunks/GrCard-DOrGHf2x.js.map +0 -1
  408. package/dist/components/GrCheckbox/chunks/GrCheckbox-BLOp8452.js +0 -262
  409. package/dist/components/GrCheckbox/chunks/GrCheckbox-BLOp8452.js.map +0 -1
  410. package/dist/components/GrCheckboxGroup/chunks/GrCheckboxGroup-CXTx2Z5H.js +0 -140
  411. package/dist/components/GrCheckboxGroup/chunks/GrCheckboxGroup-CXTx2Z5H.js.map +0 -1
  412. package/dist/components/GrCollapse/chunks/GrCollapse-B2Fc6A9r.js +0 -308
  413. package/dist/components/GrCollapse/chunks/GrCollapse-B2Fc6A9r.js.map +0 -1
  414. package/dist/components/GrColorPicker/chunks/GrColorPicker-DAdQ-Gc3.js +0 -584
  415. package/dist/components/GrColorPicker/chunks/GrColorPicker-DAdQ-Gc3.js.map +0 -1
  416. package/dist/components/GrCommandPalette/chunks/GrCommandPalette-DMeSqkEv.js +0 -565
  417. package/dist/components/GrCommandPalette/chunks/GrCommandPalette-DMeSqkEv.js.map +0 -1
  418. package/dist/components/GrConfigProvider/chunks/GrConfigProvider-BA6JO7V6.js +0 -144
  419. package/dist/components/GrConfigProvider/chunks/GrConfigProvider-BA6JO7V6.js.map +0 -1
  420. package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-hUTi-GdJ.js +0 -200
  421. package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-hUTi-GdJ.js.map +0 -1
  422. package/dist/components/GrDataTable/chunks/GrDataTable-DzaGLG3A.js +0 -1053
  423. package/dist/components/GrDataTable/chunks/GrDataTable-DzaGLG3A.js.map +0 -1
  424. package/dist/components/GrDialog/chunks/GrDialog-MD9Fzy9C.js +0 -255
  425. package/dist/components/GrDialog/chunks/GrDialog-MD9Fzy9C.js.map +0 -1
  426. package/dist/components/GrDialogService/chunks/GrDialogService-DtgUijMj.js +0 -656
  427. package/dist/components/GrDialogService/chunks/GrDialogService-DtgUijMj.js.map +0 -1
  428. package/dist/components/GrDivider/chunks/GrDivider-B2Xwc_QO.js +0 -109
  429. package/dist/components/GrDivider/chunks/GrDivider-B2Xwc_QO.js.map +0 -1
  430. package/dist/components/GrDrawer/chunks/GrDrawer-DWHdZZzW.js +0 -251
  431. package/dist/components/GrDrawer/chunks/GrDrawer-DWHdZZzW.js.map +0 -1
  432. package/dist/components/GrDropdown/chunks/GrDropdown-0tJK01Kq.js +0 -300
  433. package/dist/components/GrDropdown/chunks/GrDropdown-0tJK01Kq.js.map +0 -1
  434. package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-VPPrpCoA.js +0 -421
  435. package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-VPPrpCoA.js.map +0 -1
  436. package/dist/components/GrEmptyState/chunks/GrEmptyState-W7Irx3vc.js +0 -86
  437. package/dist/components/GrEmptyState/chunks/GrEmptyState-W7Irx3vc.js.map +0 -1
  438. package/dist/components/GrFileUpload/chunks/GrFileUpload-DuDzC43S.js +0 -1080
  439. package/dist/components/GrFileUpload/chunks/GrFileUpload-DuDzC43S.js.map +0 -1
  440. package/dist/components/GrForm/chunks/GrForm-BCHCfIMv.js +0 -326
  441. package/dist/components/GrForm/chunks/GrForm-BCHCfIMv.js.map +0 -1
  442. package/dist/components/GrFormField/chunks/GrFormField-CL5rcgj6.js +0 -190
  443. package/dist/components/GrFormField/chunks/GrFormField-CL5rcgj6.js.map +0 -1
  444. package/dist/components/GrFormFile/chunks/GrFormFile-BikSD7bg.js +0 -452
  445. package/dist/components/GrFormFile/chunks/GrFormFile-BikSD7bg.js.map +0 -1
  446. package/dist/components/GrFormSection/chunks/GrFormSection-BEh5n4jF.js +0 -63
  447. package/dist/components/GrFormSection/chunks/GrFormSection-BEh5n4jF.js.map +0 -1
  448. package/dist/components/GrIcon/chunks/GrIcon-BvA2ZGXP.js +0 -57
  449. package/dist/components/GrIcon/chunks/GrIcon-BvA2ZGXP.js.map +0 -1
  450. package/dist/components/GrImageViewer/chunks/GrImageViewer-DE7MBbF8.js +0 -1127
  451. package/dist/components/GrImageViewer/chunks/GrImageViewer-DE7MBbF8.js.map +0 -1
  452. package/dist/components/GrInput/chunks/GrInput-2wd7Crs0.js +0 -348
  453. package/dist/components/GrInput/chunks/GrInput-2wd7Crs0.js.map +0 -1
  454. package/dist/components/GrInputTag/chunks/GrInputTag-CyV2eY7Z.js +0 -512
  455. package/dist/components/GrInputTag/chunks/GrInputTag-CyV2eY7Z.js.map +0 -1
  456. package/dist/components/GrKbd/chunks/GrKbd-DU2lBkRV.js +0 -358
  457. package/dist/components/GrKbd/chunks/GrKbd-DU2lBkRV.js.map +0 -1
  458. package/dist/components/GrLink/chunks/GrLink-D-cgUMXW.js +0 -163
  459. package/dist/components/GrLink/chunks/GrLink-D-cgUMXW.js.map +0 -1
  460. package/dist/components/GrList/chunks/GrList-4YU1NZtM.js +0 -277
  461. package/dist/components/GrList/chunks/GrList-4YU1NZtM.js.map +0 -1
  462. package/dist/components/GrLoading/chunks/GrLoading-CH95CFzS.js +0 -101
  463. package/dist/components/GrLoading/chunks/GrLoading-CH95CFzS.js.map +0 -1
  464. package/dist/components/GrModal/chunks/GrModal-BbhcsDQ8.js +0 -313
  465. package/dist/components/GrModal/chunks/GrModal-BbhcsDQ8.js.map +0 -1
  466. package/dist/components/GrNavbar/chunks/GrNavbar-CF0KbM_6.js +0 -104
  467. package/dist/components/GrNavbar/chunks/GrNavbar-CF0KbM_6.js.map +0 -1
  468. package/dist/components/GrNumberInput/chunks/GrNumberInput-CZOyPz4J.js +0 -658
  469. package/dist/components/GrNumberInput/chunks/GrNumberInput-CZOyPz4J.js.map +0 -1
  470. package/dist/components/GrPagination/chunks/GrPagination-waKhxBP7.js +0 -283
  471. package/dist/components/GrPagination/chunks/GrPagination-waKhxBP7.js.map +0 -1
  472. package/dist/components/GrPopover/chunks/GrPopover-DuqeoFaI.js +0 -216
  473. package/dist/components/GrPopover/chunks/GrPopover-DuqeoFaI.js.map +0 -1
  474. package/dist/components/GrProgressBar/chunks/GrProgressBar-xwbNM9QB.js +0 -90
  475. package/dist/components/GrProgressBar/chunks/GrProgressBar-xwbNM9QB.js.map +0 -1
  476. package/dist/components/GrProgressCircle/chunks/GrProgressCircle-B8olXRo5.js +0 -210
  477. package/dist/components/GrProgressCircle/chunks/GrProgressCircle-B8olXRo5.js.map +0 -1
  478. package/dist/components/GrPromptDialog/chunks/GrPromptDialog-JVVqBsPY.js +0 -348
  479. package/dist/components/GrPromptDialog/chunks/GrPromptDialog-JVVqBsPY.js.map +0 -1
  480. package/dist/components/GrRadio/chunks/GrRadio-DWiRaMzt.js +0 -253
  481. package/dist/components/GrRadio/chunks/GrRadio-DWiRaMzt.js.map +0 -1
  482. package/dist/components/GrRadioGroup/chunks/GrRadioGroup-DIuBw0wk.js +0 -196
  483. package/dist/components/GrRadioGroup/chunks/GrRadioGroup-DIuBw0wk.js.map +0 -1
  484. package/dist/components/GrRating/chunks/GrRating-LarIiwJL.js +0 -315
  485. package/dist/components/GrRating/chunks/GrRating-LarIiwJL.js.map +0 -1
  486. package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-C7W9mgYN.js +0 -777
  487. package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-C7W9mgYN.js.map +0 -1
  488. package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-DhX4jjay.js +0 -224
  489. package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-DhX4jjay.js.map +0 -1
  490. package/dist/components/GrSegmented/chunks/GrSegmented-CQw3ijqa.js +0 -388
  491. package/dist/components/GrSegmented/chunks/GrSegmented-CQw3ijqa.js.map +0 -1
  492. package/dist/components/GrSelect/chunks/GrSelect-DAdu044K.js +0 -1373
  493. package/dist/components/GrSelect/chunks/GrSelect-DAdu044K.js.map +0 -1
  494. package/dist/components/GrSidebar/chunks/GrSidebar-DRGnnViw.js +0 -257
  495. package/dist/components/GrSidebar/chunks/GrSidebar-DRGnnViw.js.map +0 -1
  496. package/dist/components/GrSkeleton/chunks/GrSkeleton-DEvNE3bC.js +0 -84
  497. package/dist/components/GrSkeleton/chunks/GrSkeleton-DEvNE3bC.js.map +0 -1
  498. package/dist/components/GrSlider/chunks/GrSlider-CyhVsNKn.js +0 -379
  499. package/dist/components/GrSlider/chunks/GrSlider-CyhVsNKn.js.map +0 -1
  500. package/dist/components/GrSortableList/chunks/GrSortableList-BefVfWKh.js +0 -276
  501. package/dist/components/GrSortableList/chunks/GrSortableList-BefVfWKh.js.map +0 -1
  502. package/dist/components/GrSplitter/chunks/GrSplitter-BzxVQwbY.js +0 -268
  503. package/dist/components/GrSplitter/chunks/GrSplitter-BzxVQwbY.js.map +0 -1
  504. package/dist/components/GrStatistic/chunks/GrStatistic-J4qLs3TH.js +0 -319
  505. package/dist/components/GrStatistic/chunks/GrStatistic-J4qLs3TH.js.map +0 -1
  506. package/dist/components/GrSwitch/chunks/GrSwitch-DpyvVrZG.js +0 -183
  507. package/dist/components/GrSwitch/chunks/GrSwitch-DpyvVrZG.js.map +0 -1
  508. package/dist/components/GrTabPanels/chunks/GrTabPanels-BVe1CZdJ.js +0 -81
  509. package/dist/components/GrTabPanels/chunks/GrTabPanels-BVe1CZdJ.js.map +0 -1
  510. package/dist/components/GrTable/chunks/GrTable-BfqgwETQ.js +0 -169
  511. package/dist/components/GrTable/chunks/GrTable-BfqgwETQ.js.map +0 -1
  512. package/dist/components/GrTabs/chunks/GrTabs-TeXaU5Uh.js +0 -261
  513. package/dist/components/GrTabs/chunks/GrTabs-TeXaU5Uh.js.map +0 -1
  514. package/dist/components/GrTextarea/chunks/GrTextarea-DSvd1nSy.js +0 -241
  515. package/dist/components/GrTextarea/chunks/GrTextarea-DSvd1nSy.js.map +0 -1
  516. package/dist/components/GrTimeline/chunks/GrTimeline-B-h2Yanw.js +0 -285
  517. package/dist/components/GrTimeline/chunks/GrTimeline-B-h2Yanw.js.map +0 -1
  518. package/dist/components/GrToaster/chunks/GrToaster-Ct-39hga.js +0 -373
  519. package/dist/components/GrToaster/chunks/GrToaster-Ct-39hga.js.map +0 -1
  520. package/dist/components/GrTooltip/chunks/GrTooltip-xAcqs0bP.js +0 -185
  521. package/dist/components/GrTooltip/chunks/GrTooltip-xAcqs0bP.js.map +0 -1
  522. package/dist/components/GrTree/chunks/GrTree-CaYK8dGZ.js +0 -1371
  523. package/dist/components/GrTree/chunks/GrTree-CaYK8dGZ.js.map +0 -1
  524. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-DZp7CqqW.js +0 -623
  525. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-DZp7CqqW.js.map +0 -1
  526. package/dist/tokens.js.map +0 -1
  527. package/dist/types/src/components/GrAlert/index.d.ts +0 -8
  528. package/dist/types/src/components/GrAvatar/index.d.ts +0 -10
  529. package/dist/types/src/components/GrBadgeWrap/index.d.ts +0 -7
  530. package/dist/types/src/components/GrBottomNav/index.d.ts +0 -9
  531. package/dist/types/src/components/GrBreadcrumbs/grBreadcrumbsStyles.d.ts +0 -86
  532. package/dist/types/src/components/GrButton/index.d.ts +0 -11
  533. package/dist/types/src/components/GrCheckbox/index.d.ts +0 -13
  534. package/dist/types/src/components/GrCollapse/index.d.ts +0 -9
  535. package/dist/types/src/components/GrColorPicker/index.d.ts +0 -11
  536. package/dist/types/src/components/GrCommandPalette/GrCommandPalette.vue.d.ts +0 -163
  537. package/dist/types/src/components/GrCommandPalette/filtering.d.ts +0 -59
  538. package/dist/types/src/components/GrCommandPalette/index.d.ts +0 -10
  539. package/dist/types/src/components/GrConfigProvider/index.d.ts +0 -6
  540. package/dist/types/src/components/GrDataTable/grDataTableStyles.d.ts +0 -68
  541. package/dist/types/src/components/GrDataTable/index.d.ts +0 -13
  542. package/dist/types/src/components/GrDialog/index.d.ts +0 -12
  543. package/dist/types/src/components/GrDialogService/index.d.ts +0 -6
  544. package/dist/types/src/components/GrDropdownMenu/index.d.ts +0 -22
  545. package/dist/types/src/components/GrEmptyState/index.d.ts +0 -8
  546. package/dist/types/src/components/GrFileUpload/index.d.ts +0 -18
  547. package/dist/types/src/components/GrForm/index.d.ts +0 -10
  548. package/dist/types/src/components/GrFormField/index.d.ts +0 -8
  549. package/dist/types/src/components/GrFormSection/index.d.ts +0 -8
  550. package/dist/types/src/components/GrProgressCircle/index.d.ts +0 -11
  551. package/dist/types/src/components/GrRadio/index.d.ts +0 -9
  552. package/dist/types/src/components/GrRating/GrRating.vue.d.ts +0 -173
  553. package/dist/types/src/components/GrResponseErrorBanner/index.d.ts +0 -16
  554. package/dist/types/src/components/GrSegmented/index.d.ts +0 -11
  555. package/dist/types/src/components/GrSelect/GrSelect.vue.d.ts +0 -205
  556. package/dist/types/src/components/GrSidebar/index.d.ts +0 -10
  557. package/dist/types/src/components/GrSkeleton/index.d.ts +0 -4
  558. package/dist/types/src/components/GrSortableList/grSortableListStyles.d.ts +0 -38
  559. package/dist/types/src/components/GrSplitter/index.d.ts +0 -11
  560. package/dist/types/src/components/GrStatistic/GrStatistic.vue.d.ts +0 -165
  561. package/dist/types/src/components/GrStatistic/grStatisticStyles.d.ts +0 -37
  562. package/dist/types/src/components/GrTabPanels/index.d.ts +0 -8
  563. package/dist/types/src/components/GrTabs/GrTabs.vue.d.ts +0 -117
  564. package/dist/types/src/components/GrTabs/index.d.ts +0 -9
  565. package/dist/types/src/components/GrTimeline/index.d.ts +0 -12
  566. package/dist/types/src/components/GrTree/grTreeProps.d.ts +0 -112
  567. package/dist/types/src/components/GrTree/safelist.d.ts +0 -1
  568. package/dist/types/src/components/GrTreeSelect/GrTreeSelect.vue.d.ts +0 -69
  569. package/dist/types/src/tokens/types.d.ts +0 -54
  570. /package/dist/chunks/{config-BE6n20np2.js → config-BE6n20np.js} +0 -0
  571. /package/dist/chunks/{config-COpuWGr_.js → config-COpuWGr_2.js} +0 -0
  572. /package/dist/chunks/{config-DCFvmHEv2.js → config-DCFvmHEv.js} +0 -0
  573. /package/dist/chunks/{config-WTNhdh6T2.js → config-WTNhdh6T.js} +0 -0
  574. /package/dist/chunks/{config-eXB87DOi.js → config-eXB87DOi2.js} +0 -0
  575. /package/dist/types/{src/components → components}/GrAlert/GrAlert.vue.d.ts +0 -0
  576. /package/dist/types/{src/components → components}/GrAlert/config.d.ts +0 -0
  577. /package/dist/types/{src/components → components}/GrAlert/defaults.d.ts +0 -0
  578. /package/dist/types/{src/components → components}/GrAlert/grAlertStyles.d.ts +0 -0
  579. /package/dist/types/{src/components → components}/GrAutocomplete/GrAutocomplete.vue.d.ts +0 -0
  580. /package/dist/types/{src/components → components}/GrAutocomplete/config.d.ts +0 -0
  581. /package/dist/types/{src/components → components}/GrAutocomplete/defaults.d.ts +0 -0
  582. /package/dist/types/{src/components → components}/GrAutocomplete/grAutocompleteStyles.d.ts +0 -0
  583. /package/dist/types/{src/components → components}/GrAutocomplete/index.d.ts +0 -0
  584. /package/dist/types/{src/components → components}/GrAutocomplete/safelist.d.ts +0 -0
  585. /package/dist/types/{src/components → components}/GrAvatar/GrAvatar.vue.d.ts +0 -0
  586. /package/dist/types/{src/components → components}/GrAvatar/GrAvatarGroup.vue.d.ts +0 -0
  587. /package/dist/types/{src/components → components}/GrAvatar/avatarContext.d.ts +0 -0
  588. /package/dist/types/{src/components → components}/GrAvatar/config.d.ts +0 -0
  589. /package/dist/types/{src/components → components}/GrAvatar/defaults.d.ts +0 -0
  590. /package/dist/types/{src/components → components}/GrAvatar/grAvatarStyles.d.ts +0 -0
  591. /package/dist/types/{src/components → components}/GrAvatar/safelist.d.ts +0 -0
  592. /package/dist/types/{src/components → components}/GrBadge/GrBadge.vue.d.ts +0 -0
  593. /package/dist/types/{src/components → components}/GrBadge/config.d.ts +0 -0
  594. /package/dist/types/{src/components → components}/GrBadge/defaults.d.ts +0 -0
  595. /package/dist/types/{src/components → components}/GrBadge/grBadgeStyles.d.ts +0 -0
  596. /package/dist/types/{src/components → components}/GrBadge/index.d.ts +0 -0
  597. /package/dist/types/{src/components → components}/GrBadge/safelist.d.ts +0 -0
  598. /package/dist/types/{src/components → components}/GrBadgeWrap/GrBadgeWrap.vue.d.ts +0 -0
  599. /package/dist/types/{src/components → components}/GrBadgeWrap/config.d.ts +0 -0
  600. /package/dist/types/{src/components → components}/GrBadgeWrap/grBadgeWrapStyles.d.ts +0 -0
  601. /package/dist/types/{src/components → components}/GrBadgeWrap/safelist.d.ts +0 -0
  602. /package/dist/types/{src/components → components}/GrBottomNav/GrBottomNav.vue.d.ts +0 -0
  603. /package/dist/types/{src/components → components}/GrBottomNav/config.d.ts +0 -0
  604. /package/dist/types/{src/components → components}/GrBottomNav/defaults.d.ts +0 -0
  605. /package/dist/types/{src/components → components}/GrBottomNav/grBottomNavStyles.d.ts +0 -0
  606. /package/dist/types/{src/components → components}/GrBottomNav/safelist.d.ts +0 -0
  607. /package/dist/types/{src/components → components}/GrBreadcrumbs/GrBreadcrumbs.vue.d.ts +0 -0
  608. /package/dist/types/{src/components → components}/GrBreadcrumbs/config.d.ts +0 -0
  609. /package/dist/types/{src/components → components}/GrBreadcrumbs/defaults.d.ts +0 -0
  610. /package/dist/types/{src/components → components}/GrBreadcrumbs/index.d.ts +0 -0
  611. /package/dist/types/{src/components → components}/GrBreadcrumbs/safelist.d.ts +0 -0
  612. /package/dist/types/{src/components → components}/GrButton/GrButton.vue.d.ts +0 -0
  613. /package/dist/types/{src/components → components}/GrButton/config.d.ts +0 -0
  614. /package/dist/types/{src/components → components}/GrButton/defaults.d.ts +0 -0
  615. /package/dist/types/{src/components → components}/GrButton/grButtonStyles.d.ts +0 -0
  616. /package/dist/types/{src/components → components}/GrButton/safelist.d.ts +0 -0
  617. /package/dist/types/{src/components → components}/GrButtonGroup/GrButtonGroup.vue.d.ts +0 -0
  618. /package/dist/types/{src/components → components}/GrButtonGroup/config.d.ts +0 -0
  619. /package/dist/types/{src/components → components}/GrButtonGroup/context.d.ts +0 -0
  620. /package/dist/types/{src/components → components}/GrButtonGroup/index.d.ts +0 -0
  621. /package/dist/types/{src/components → components}/GrCard/GrCard.vue.d.ts +0 -0
  622. /package/dist/types/{src/components → components}/GrCard/config.d.ts +0 -0
  623. /package/dist/types/{src/components → components}/GrCard/defaults.d.ts +0 -0
  624. /package/dist/types/{src/components → components}/GrCard/grCardStyles.d.ts +0 -0
  625. /package/dist/types/{src/components → components}/GrCard/index.d.ts +0 -0
  626. /package/dist/types/{src/components → components}/GrCard/safelist.d.ts +0 -0
  627. /package/dist/types/{src/components → components}/GrCheckbox/GrCheckbox.vue.d.ts +0 -0
  628. /package/dist/types/{src/components → components}/GrCheckbox/config.d.ts +0 -0
  629. /package/dist/types/{src/components → components}/GrCheckbox/defaults.d.ts +0 -0
  630. /package/dist/types/{src/components → components}/GrCheckbox/grCheckboxGroupContext.d.ts +0 -0
  631. /package/dist/types/{src/components → components}/GrCheckbox/grCheckboxStyles.d.ts +0 -0
  632. /package/dist/types/{src/components → components}/GrCheckbox/safelist.d.ts +0 -0
  633. /package/dist/types/{src/components → components}/GrCheckboxGroup/GrCheckboxGroup.vue.d.ts +0 -0
  634. /package/dist/types/{src/components → components}/GrCheckboxGroup/config.d.ts +0 -0
  635. /package/dist/types/{src/components → components}/GrCheckboxGroup/defaults.d.ts +0 -0
  636. /package/dist/types/{src/components → components}/GrCheckboxGroup/index.d.ts +0 -0
  637. /package/dist/types/{src/components → components}/GrCollapse/GrCollapse.vue.d.ts +0 -0
  638. /package/dist/types/{src/components → components}/GrCollapse/GrCollapseItem.vue.d.ts +0 -0
  639. /package/dist/types/{src/components → components}/GrCollapse/config.d.ts +0 -0
  640. /package/dist/types/{src/components → components}/GrCollapse/defaults.d.ts +0 -0
  641. /package/dist/types/{src/components → components}/GrCollapse/grCollapseContext.d.ts +0 -0
  642. /package/dist/types/{src/components → components}/GrCollapse/grCollapseStyles.d.ts +0 -0
  643. /package/dist/types/{src/components → components}/GrCollapse/safelist.d.ts +0 -0
  644. /package/dist/types/{src/components → components}/GrColorPicker/GrColorPicker.vue.d.ts +0 -0
  645. /package/dist/types/{src/components → components}/GrColorPicker/color.d.ts +0 -0
  646. /package/dist/types/{src/components → components}/GrColorPicker/config.d.ts +0 -0
  647. /package/dist/types/{src/components → components}/GrColorPicker/defaults.d.ts +0 -0
  648. /package/dist/types/{src/components → components}/GrColorPicker/grColorPickerStyles.d.ts +0 -0
  649. /package/dist/types/{src/components → components}/GrColorPicker/safelist.d.ts +0 -0
  650. /package/dist/types/{src/components → components}/GrCommandPalette/config.d.ts +0 -0
  651. /package/dist/types/{src/components → components}/GrCommandPalette/defaults.d.ts +0 -0
  652. /package/dist/types/{src/components → components}/GrCommandPalette/grCommandPaletteStyles.d.ts +0 -0
  653. /package/dist/types/{src/components → components}/GrCommandPalette/safelist.d.ts +0 -0
  654. /package/dist/types/{src/components → components}/GrConfigProvider/GrConfigProvider.vue.d.ts +0 -0
  655. /package/dist/types/{src/components → components}/GrConfigProvider/config.d.ts +0 -0
  656. /package/dist/types/{src/components → components}/GrConfigProvider/context.d.ts +0 -0
  657. /package/dist/types/{src/components → components}/GrConfigProvider/zIndexScale.d.ts +0 -0
  658. /package/dist/types/{src/components → components}/GrConfirmDialog/GrConfirmDialog.vue.d.ts +0 -0
  659. /package/dist/types/{src/components → components}/GrConfirmDialog/config.d.ts +0 -0
  660. /package/dist/types/{src/components → components}/GrConfirmDialog/defaults.d.ts +0 -0
  661. /package/dist/types/{src/components → components}/GrConfirmDialog/index.d.ts +0 -0
  662. /package/dist/types/{src/components → components}/GrDataTable/GrDataTable.vue.d.ts +0 -0
  663. /package/dist/types/{src/components → components}/GrDataTable/config.d.ts +0 -0
  664. /package/dist/types/{src/components → components}/GrDataTable/defaults.d.ts +0 -0
  665. /package/dist/types/{src/components → components}/GrDataTable/grDataTableSort.d.ts +0 -0
  666. /package/dist/types/{src/components → components}/GrDataTable/safelist.d.ts +0 -0
  667. /package/dist/types/{src/components → components}/GrDialog/GrDialog.vue.d.ts +0 -0
  668. /package/dist/types/{src/components → components}/GrDialog/GrDialogCloseButton.vue.d.ts +0 -0
  669. /package/dist/types/{src/components → components}/GrDialog/GrDialogFooter.vue.d.ts +0 -0
  670. /package/dist/types/{src/components → components}/GrDialog/GrDialogHeader.vue.d.ts +0 -0
  671. /package/dist/types/{src/components → components}/GrDialog/config.d.ts +0 -0
  672. /package/dist/types/{src/components → components}/GrDialog/defaults.d.ts +0 -0
  673. /package/dist/types/{src/components → components}/GrDialog/dialogShared.d.ts +0 -0
  674. /package/dist/types/{src/components → components}/GrDialog/safelist.d.ts +0 -0
  675. /package/dist/types/{src/components → components}/GrDialogService/GrDialogServiceHost.vue.d.ts +0 -0
  676. /package/dist/types/{src/components → components}/GrDialogService/GrDialogServiceItem.vue.d.ts +0 -0
  677. /package/dist/types/{src/components → components}/GrDialogService/config.d.ts +0 -0
  678. /package/dist/types/{src/components → components}/GrDialogService/store.d.ts +0 -0
  679. /package/dist/types/{src/components → components}/GrDialogService/types.d.ts +0 -0
  680. /package/dist/types/{src/components → components}/GrDialogService/useDialogService.d.ts +0 -0
  681. /package/dist/types/{src/components → components}/GrDivider/GrDivider.vue.d.ts +0 -0
  682. /package/dist/types/{src/components → components}/GrDivider/config.d.ts +0 -0
  683. /package/dist/types/{src/components → components}/GrDivider/defaults.d.ts +0 -0
  684. /package/dist/types/{src/components → components}/GrDivider/grDividerStyles.d.ts +0 -0
  685. /package/dist/types/{src/components → components}/GrDivider/index.d.ts +0 -0
  686. /package/dist/types/{src/components → components}/GrDivider/safelist.d.ts +0 -0
  687. /package/dist/types/{src/components → components}/GrDrawer/GrDrawer.vue.d.ts +0 -0
  688. /package/dist/types/{src/components → components}/GrDrawer/config.d.ts +0 -0
  689. /package/dist/types/{src/components → components}/GrDrawer/defaults.d.ts +0 -0
  690. /package/dist/types/{src/components → components}/GrDrawer/grDrawerStyles.d.ts +0 -0
  691. /package/dist/types/{src/components → components}/GrDrawer/index.d.ts +0 -0
  692. /package/dist/types/{src/components → components}/GrDrawer/safelist.d.ts +0 -0
  693. /package/dist/types/{src/components → components}/GrDropdown/GrDropdown.vue.d.ts +0 -0
  694. /package/dist/types/{src/components → components}/GrDropdown/config.d.ts +0 -0
  695. /package/dist/types/{src/components → components}/GrDropdown/grDropdownStyles.d.ts +0 -0
  696. /package/dist/types/{src/components → components}/GrDropdown/index.d.ts +0 -0
  697. /package/dist/types/{src/components → components}/GrDropdown/safelist.d.ts +0 -0
  698. /package/dist/types/{src/components → components}/GrDropdownMenu/GrDropdownMenu.vue.d.ts +0 -0
  699. /package/dist/types/{src/components → components}/GrDropdownMenu/GrDropdownMenuColumn.vue.d.ts +0 -0
  700. /package/dist/types/{src/components → components}/GrDropdownMenu/GrDropdownMenuColumns.vue.d.ts +0 -0
  701. /package/dist/types/{src/components → components}/GrDropdownMenu/GrDropdownMenuDivider.vue.d.ts +0 -0
  702. /package/dist/types/{src/components → components}/GrDropdownMenu/GrDropdownMenuGroup.vue.d.ts +0 -0
  703. /package/dist/types/{src/components → components}/GrDropdownMenu/GrDropdownMenuHeader.vue.d.ts +0 -0
  704. /package/dist/types/{src/components → components}/GrDropdownMenu/GrDropdownMenuItem.vue.d.ts +0 -0
  705. /package/dist/types/{src/components → components}/GrDropdownMenu/GrDropdownMenuList.vue.d.ts +0 -0
  706. /package/dist/types/{src/components → components}/GrDropdownMenu/config.d.ts +0 -0
  707. /package/dist/types/{src/components → components}/GrDropdownMenu/grDropdownMenuStyles.d.ts +0 -0
  708. /package/dist/types/{src/components → components}/GrDropdownMenu/menuModel.d.ts +0 -0
  709. /package/dist/types/{src/components → components}/GrDropdownMenu/safelist.d.ts +0 -0
  710. /package/dist/types/{src/components → components}/GrEmptyState/GrEmptyState.vue.d.ts +0 -0
  711. /package/dist/types/{src/components → components}/GrEmptyState/config.d.ts +0 -0
  712. /package/dist/types/{src/components → components}/GrEmptyState/defaults.d.ts +0 -0
  713. /package/dist/types/{src/components → components}/GrEmptyState/grEmptyStateStyles.d.ts +0 -0
  714. /package/dist/types/{src/components → components}/GrEmptyState/safelist.d.ts +0 -0
  715. /package/dist/types/{src/components → components}/GrFileUpload/FileValidationError.d.ts +0 -0
  716. /package/dist/types/{src/components → components}/GrFileUpload/GrFileUpload.vue.d.ts +0 -0
  717. /package/dist/types/{src/components → components}/GrFileUpload/acceptValidator.d.ts +0 -0
  718. /package/dist/types/{src/components → components}/GrFileUpload/config.d.ts +0 -0
  719. /package/dist/types/{src/components → components}/GrFileUpload/defaults.d.ts +0 -0
  720. /package/dist/types/{src/components → components}/GrFileUpload/fileEntry.d.ts +0 -0
  721. /package/dist/types/{src/components → components}/GrFileUpload/grFileUploadStyles.d.ts +0 -0
  722. /package/dist/types/{src/components → components}/GrFileUpload/matchAccept.d.ts +0 -0
  723. /package/dist/types/{src/components → components}/GrFileUpload/maxFileSize.d.ts +0 -0
  724. /package/dist/types/{src/components → components}/GrFileUpload/runFileValidators.d.ts +0 -0
  725. /package/dist/types/{src/components → components}/GrFileUpload/safelist.d.ts +0 -0
  726. /package/dist/types/{src/components → components}/GrFileUpload/types.d.ts +0 -0
  727. /package/dist/types/{src/components → components}/GrFileUpload/uploadState.d.ts +0 -0
  728. /package/dist/types/{src/components → components}/GrFileUpload/uploadViaXhr.d.ts +0 -0
  729. /package/dist/types/{src/components → components}/GrFileUpload/useDropZone.d.ts +0 -0
  730. /package/dist/types/{src/components → components}/GrFileUpload/usePerFileUpload.d.ts +0 -0
  731. /package/dist/types/{src/components → components}/GrFileUpload/useUploadState.d.ts +0 -0
  732. /package/dist/types/{src/components → components}/GrForm/GrForm.vue.d.ts +0 -0
  733. /package/dist/types/{src/components → components}/GrForm/config.d.ts +0 -0
  734. /package/dist/types/{src/components → components}/GrForm/context.d.ts +0 -0
  735. /package/dist/types/{src/components → components}/GrForm/fileRule.d.ts +0 -0
  736. /package/dist/types/{src/components → components}/GrForm/modelSnapshot.d.ts +0 -0
  737. /package/dist/types/{src/components → components}/GrForm/validation.d.ts +0 -0
  738. /package/dist/types/{src/components → components}/GrFormField/GrFormField.vue.d.ts +0 -0
  739. /package/dist/types/{src/components → components}/GrFormField/config.d.ts +0 -0
  740. /package/dist/types/{src/components → components}/GrFormField/context.d.ts +0 -0
  741. /package/dist/types/{src/components → components}/GrFormField/defaults.d.ts +0 -0
  742. /package/dist/types/{src/components → components}/GrFormField/grFormFieldStyles.d.ts +0 -0
  743. /package/dist/types/{src/components → components}/GrFormField/safelist.d.ts +0 -0
  744. /package/dist/types/{src/components → components}/GrFormFile/GrFormFile.vue.d.ts +0 -0
  745. /package/dist/types/{src/components → components}/GrFormFile/config.d.ts +0 -0
  746. /package/dist/types/{src/components → components}/GrFormFile/defaults.d.ts +0 -0
  747. /package/dist/types/{src/components → components}/GrFormFile/grFormFileStyles.d.ts +0 -0
  748. /package/dist/types/{src/components → components}/GrFormFile/index.d.ts +0 -0
  749. /package/dist/types/{src/components → components}/GrFormFile/safelist.d.ts +0 -0
  750. /package/dist/types/{src/components → components}/GrFormSection/GrFormSection.vue.d.ts +0 -0
  751. /package/dist/types/{src/components → components}/GrFormSection/config.d.ts +0 -0
  752. /package/dist/types/{src/components → components}/GrFormSection/defaults.d.ts +0 -0
  753. /package/dist/types/{src/components → components}/GrFormSection/grFormSectionStyles.d.ts +0 -0
  754. /package/dist/types/{src/components → components}/GrFormSection/safelist.d.ts +0 -0
  755. /package/dist/types/{src/components → components}/GrIcon/GrIcon.vue.d.ts +0 -0
  756. /package/dist/types/{src/components → components}/GrIcon/config.d.ts +0 -0
  757. /package/dist/types/{src/components → components}/GrIcon/defaults.d.ts +0 -0
  758. /package/dist/types/{src/components → components}/GrIcon/grIconStyles.d.ts +0 -0
  759. /package/dist/types/{src/components → components}/GrIcon/index.d.ts +0 -0
  760. /package/dist/types/{src/components → components}/GrIcon/safelist.d.ts +0 -0
  761. /package/dist/types/{src/components → components}/GrImageViewer/GrImageViewer.vue.d.ts +0 -0
  762. /package/dist/types/{src/components → components}/GrImageViewer/composables/usePointerGestures.d.ts +0 -0
  763. /package/dist/types/{src/components → components}/GrImageViewer/composables/useViewerKeyboard.d.ts +0 -0
  764. /package/dist/types/{src/components → components}/GrImageViewer/composables/useWheelGesture.d.ts +0 -0
  765. /package/dist/types/{src/components → components}/GrImageViewer/composables/useZoomPan.d.ts +0 -0
  766. /package/dist/types/{src/components → components}/GrImageViewer/config.d.ts +0 -0
  767. /package/dist/types/{src/components → components}/GrImageViewer/grImageViewerStyles.d.ts +0 -0
  768. /package/dist/types/{src/components → components}/GrImageViewer/index.d.ts +0 -0
  769. /package/dist/types/{src/components → components}/GrImageViewer/safelist.d.ts +0 -0
  770. /package/dist/types/{src/components → components}/GrInput/GrInput.vue.d.ts +0 -0
  771. /package/dist/types/{src/components → components}/GrInput/config.d.ts +0 -0
  772. /package/dist/types/{src/components → components}/GrInput/defaults.d.ts +0 -0
  773. /package/dist/types/{src/components → components}/GrInput/grInputStyles.d.ts +0 -0
  774. /package/dist/types/{src/components → components}/GrInput/index.d.ts +0 -0
  775. /package/dist/types/{src/components → components}/GrInput/safelist.d.ts +0 -0
  776. /package/dist/types/{src/components → components}/GrInputTag/GrInputTag.vue.d.ts +0 -0
  777. /package/dist/types/{src/components → components}/GrInputTag/config.d.ts +0 -0
  778. /package/dist/types/{src/components → components}/GrInputTag/defaults.d.ts +0 -0
  779. /package/dist/types/{src/components → components}/GrInputTag/grInputTagStyles.d.ts +0 -0
  780. /package/dist/types/{src/components → components}/GrInputTag/index.d.ts +0 -0
  781. /package/dist/types/{src/components → components}/GrInputTag/safelist.d.ts +0 -0
  782. /package/dist/types/{src/components → components}/GrKbd/GrKbd.vue.d.ts +0 -0
  783. /package/dist/types/{src/components → components}/GrKbd/config.d.ts +0 -0
  784. /package/dist/types/{src/components → components}/GrKbd/defaults.d.ts +0 -0
  785. /package/dist/types/{src/components → components}/GrKbd/grKbdStyles.d.ts +0 -0
  786. /package/dist/types/{src/components → components}/GrKbd/index.d.ts +0 -0
  787. /package/dist/types/{src/components → components}/GrKbd/safelist.d.ts +0 -0
  788. /package/dist/types/{src/components → components}/GrLink/GrLink.vue.d.ts +0 -0
  789. /package/dist/types/{src/components → components}/GrLink/config.d.ts +0 -0
  790. /package/dist/types/{src/components → components}/GrLink/defaults.d.ts +0 -0
  791. /package/dist/types/{src/components → components}/GrLink/grLinkStyles.d.ts +0 -0
  792. /package/dist/types/{src/components → components}/GrLink/index.d.ts +0 -0
  793. /package/dist/types/{src/components → components}/GrLink/safelist.d.ts +0 -0
  794. /package/dist/types/{src/components → components}/GrList/GrList.vue.d.ts +0 -0
  795. /package/dist/types/{src/components → components}/GrList/GrListItem.vue.d.ts +0 -0
  796. /package/dist/types/{src/components → components}/GrList/config.d.ts +0 -0
  797. /package/dist/types/{src/components → components}/GrList/grListStyles.d.ts +0 -0
  798. /package/dist/types/{src/components → components}/GrList/index.d.ts +0 -0
  799. /package/dist/types/{src/components → components}/GrList/safelist.d.ts +0 -0
  800. /package/dist/types/{src/components → components}/GrLoading/GrLoading.vue.d.ts +0 -0
  801. /package/dist/types/{src/components → components}/GrLoading/config.d.ts +0 -0
  802. /package/dist/types/{src/components → components}/GrLoading/grLoadingStyles.d.ts +0 -0
  803. /package/dist/types/{src/components → components}/GrLoading/index.d.ts +0 -0
  804. /package/dist/types/{src/components → components}/GrLoading/safelist.d.ts +0 -0
  805. /package/dist/types/{src/components → components}/GrModal/GrModal.vue.d.ts +0 -0
  806. /package/dist/types/{src/components → components}/GrModal/config.d.ts +0 -0
  807. /package/dist/types/{src/components → components}/GrModal/context.d.ts +0 -0
  808. /package/dist/types/{src/components → components}/GrModal/defaults.d.ts +0 -0
  809. /package/dist/types/{src/components → components}/GrModal/grModalStyles.d.ts +0 -0
  810. /package/dist/types/{src/components → components}/GrModal/index.d.ts +0 -0
  811. /package/dist/types/{src/components → components}/GrModal/safelist.d.ts +0 -0
  812. /package/dist/types/{src/components → components}/GrNavbar/GrNavbar.vue.d.ts +0 -0
  813. /package/dist/types/{src/components → components}/GrNavbar/config.d.ts +0 -0
  814. /package/dist/types/{src/components → components}/GrNavbar/grNavbarStyles.d.ts +0 -0
  815. /package/dist/types/{src/components → components}/GrNavbar/index.d.ts +0 -0
  816. /package/dist/types/{src/components → components}/GrNavbar/safelist.d.ts +0 -0
  817. /package/dist/types/{src/components → components}/GrNumberInput/GrNumberInput.vue.d.ts +0 -0
  818. /package/dist/types/{src/components → components}/GrNumberInput/config.d.ts +0 -0
  819. /package/dist/types/{src/components → components}/GrNumberInput/defaults.d.ts +0 -0
  820. /package/dist/types/{src/components → components}/GrNumberInput/grNumberInputStyles.d.ts +0 -0
  821. /package/dist/types/{src/components → components}/GrNumberInput/index.d.ts +0 -0
  822. /package/dist/types/{src/components → components}/GrNumberInput/numberInputMath.d.ts +0 -0
  823. /package/dist/types/{src/components → components}/GrNumberInput/safelist.d.ts +0 -0
  824. /package/dist/types/{src/components → components}/GrPagination/GrPagination.vue.d.ts +0 -0
  825. /package/dist/types/{src/components → components}/GrPagination/config.d.ts +0 -0
  826. /package/dist/types/{src/components → components}/GrPagination/defaults.d.ts +0 -0
  827. /package/dist/types/{src/components → components}/GrPagination/grPaginationStyles.d.ts +0 -0
  828. /package/dist/types/{src/components → components}/GrPagination/index.d.ts +0 -0
  829. /package/dist/types/{src/components → components}/GrPagination/safelist.d.ts +0 -0
  830. /package/dist/types/{src/components → components}/GrPopover/GrPopover.vue.d.ts +0 -0
  831. /package/dist/types/{src/components → components}/GrPopover/config.d.ts +0 -0
  832. /package/dist/types/{src/components → components}/GrPopover/defaults.d.ts +0 -0
  833. /package/dist/types/{src/components → components}/GrPopover/grPopoverStyles.d.ts +0 -0
  834. /package/dist/types/{src/components → components}/GrPopover/index.d.ts +0 -0
  835. /package/dist/types/{src/components → components}/GrPopover/safelist.d.ts +0 -0
  836. /package/dist/types/{src/components → components}/GrProgressBar/GrProgressBar.vue.d.ts +0 -0
  837. /package/dist/types/{src/components → components}/GrProgressBar/config.d.ts +0 -0
  838. /package/dist/types/{src/components → components}/GrProgressBar/defaults.d.ts +0 -0
  839. /package/dist/types/{src/components → components}/GrProgressBar/grStyle.d.ts +0 -0
  840. /package/dist/types/{src/components → components}/GrProgressBar/index.d.ts +0 -0
  841. /package/dist/types/{src/components → components}/GrProgressBar/safelist.d.ts +0 -0
  842. /package/dist/types/{src/components → components}/GrProgressCircle/GrProgressCircle.vue.d.ts +0 -0
  843. /package/dist/types/{src/components → components}/GrProgressCircle/config.d.ts +0 -0
  844. /package/dist/types/{src/components → components}/GrProgressCircle/defaults.d.ts +0 -0
  845. /package/dist/types/{src/components → components}/GrProgressCircle/geometry.d.ts +0 -0
  846. /package/dist/types/{src/components → components}/GrProgressCircle/grProgressCircleStyles.d.ts +0 -0
  847. /package/dist/types/{src/components → components}/GrProgressCircle/safelist.d.ts +0 -0
  848. /package/dist/types/{src/components → components}/GrPromptDialog/GrPromptDialog.vue.d.ts +0 -0
  849. /package/dist/types/{src/components → components}/GrPromptDialog/config.d.ts +0 -0
  850. /package/dist/types/{src/components → components}/GrPromptDialog/defaults.d.ts +0 -0
  851. /package/dist/types/{src/components → components}/GrPromptDialog/index.d.ts +0 -0
  852. /package/dist/types/{src/components → components}/GrRadio/GrRadio.vue.d.ts +0 -0
  853. /package/dist/types/{src/components → components}/GrRadio/config.d.ts +0 -0
  854. /package/dist/types/{src/components → components}/GrRadio/defaults.d.ts +0 -0
  855. /package/dist/types/{src/components → components}/GrRadio/grRadioGroupContext.d.ts +0 -0
  856. /package/dist/types/{src/components → components}/GrRadio/grRadioStyles.d.ts +0 -0
  857. /package/dist/types/{src/components → components}/GrRadio/safelist.d.ts +0 -0
  858. /package/dist/types/{src/components → components}/GrRadioGroup/GrRadioGroup.vue.d.ts +0 -0
  859. /package/dist/types/{src/components → components}/GrRadioGroup/config.d.ts +0 -0
  860. /package/dist/types/{src/components → components}/GrRadioGroup/defaults.d.ts +0 -0
  861. /package/dist/types/{src/components → components}/GrRadioGroup/index.d.ts +0 -0
  862. /package/dist/types/{src/components → components}/GrRating/config.d.ts +0 -0
  863. /package/dist/types/{src/components → components}/GrRating/defaults.d.ts +0 -0
  864. /package/dist/types/{src/components → components}/GrRating/grRatingStyles.d.ts +0 -0
  865. /package/dist/types/{src/components → components}/GrRating/index.d.ts +0 -0
  866. /package/dist/types/{src/components → components}/GrRating/safelist.d.ts +0 -0
  867. /package/dist/types/{src/components → components}/GrResponseErrorBanner/GrFormErrorBanner.vue.d.ts +0 -0
  868. /package/dist/types/{src/components → components}/GrResponseErrorBanner/GrResponseErrorBanner.vue.d.ts +0 -0
  869. /package/dist/types/{src/components → components}/GrResponseErrorBanner/GrUploadErrorBanner.vue.d.ts +0 -0
  870. /package/dist/types/{src/components → components}/GrResponseErrorBanner/config.d.ts +0 -0
  871. /package/dist/types/{src/components → components}/GrResponseErrorBanner/parsers/abortErrorParser.d.ts +0 -0
  872. /package/dist/types/{src/components → components}/GrResponseErrorBanner/parsers/createResponseErrorClassifier.d.ts +0 -0
  873. /package/dist/types/{src/components → components}/GrResponseErrorBanner/parsers/fileValidationParser.d.ts +0 -0
  874. /package/dist/types/{src/components → components}/GrResponseErrorBanner/parsers/httpStatusParser.d.ts +0 -0
  875. /package/dist/types/{src/components → components}/GrResponseErrorBanner/parsers/index.d.ts +0 -0
  876. /package/dist/types/{src/components → components}/GrResponseErrorBanner/parsers/jsonApiErrorParser.d.ts +0 -0
  877. /package/dist/types/{src/components → components}/GrResponseErrorBanner/parsers/laravelValidationParser.d.ts +0 -0
  878. /package/dist/types/{src/components → components}/GrResponseErrorBanner/parsers/networkErrorParser.d.ts +0 -0
  879. /package/dist/types/{src/components → components}/GrResponseErrorBanner/parsers/normalizeError.d.ts +0 -0
  880. /package/dist/types/{src/components → components}/GrResponseErrorBanner/parsers/plainMessageParser.d.ts +0 -0
  881. /package/dist/types/{src/components → components}/GrResponseErrorBanner/parsers/problemDetailsParser.d.ts +0 -0
  882. /package/dist/types/{src/components → components}/GrResponseErrorBanner/responseError.defaults.d.ts +0 -0
  883. /package/dist/types/{src/components → components}/GrResponseErrorBanner/responseError.types.d.ts +0 -0
  884. /package/dist/types/{src/components → components}/GrResponseErrorBanner/useResponseError.d.ts +0 -0
  885. /package/dist/types/{src/components → components}/GrSegmented/GrSegmented.vue.d.ts +0 -0
  886. /package/dist/types/{src/components → components}/GrSegmented/config.d.ts +0 -0
  887. /package/dist/types/{src/components → components}/GrSegmented/defaults.d.ts +0 -0
  888. /package/dist/types/{src/components → components}/GrSegmented/grSegmentedStyles.d.ts +0 -0
  889. /package/dist/types/{src/components → components}/GrSegmented/safelist.d.ts +0 -0
  890. /package/dist/types/{src/components → components}/GrSelect/composables/useSelectNavigation.d.ts +0 -0
  891. /package/dist/types/{src/components → components}/GrSelect/composables/useSelectPanelItems.d.ts +0 -0
  892. /package/dist/types/{src/components → components}/GrSelect/composables/useSelectValues.d.ts +0 -0
  893. /package/dist/types/{src/components → components}/GrSelect/composables/useSelectVirtualization.d.ts +0 -0
  894. /package/dist/types/{src/components → components}/GrSelect/config.d.ts +0 -0
  895. /package/dist/types/{src/components → components}/GrSelect/defaults.d.ts +0 -0
  896. /package/dist/types/{src/components → components}/GrSelect/grSelectStyles.d.ts +0 -0
  897. /package/dist/types/{src/components → components}/GrSelect/index.d.ts +0 -0
  898. /package/dist/types/{src/components → components}/GrSelect/safelist.d.ts +0 -0
  899. /package/dist/types/{src/components → components}/GrSelect/selectValue.d.ts +0 -0
  900. /package/dist/types/{src/components → components}/GrSidebar/GrSidebar.vue.d.ts +0 -0
  901. /package/dist/types/{src/components → components}/GrSidebar/GrSidebarGroup.vue.d.ts +0 -0
  902. /package/dist/types/{src/components → components}/GrSidebar/GrSidebarItem.vue.d.ts +0 -0
  903. /package/dist/types/{src/components → components}/GrSidebar/config.d.ts +0 -0
  904. /package/dist/types/{src/components → components}/GrSidebar/grSidebarStyles.d.ts +0 -0
  905. /package/dist/types/{src/components → components}/GrSidebar/safelist.d.ts +0 -0
  906. /package/dist/types/{src/components → components}/GrSidebar/sidebarContext.d.ts +0 -0
  907. /package/dist/types/{src/components → components}/GrSkeleton/GrSkeleton.vue.d.ts +0 -0
  908. /package/dist/types/{src/components → components}/GrSkeleton/config.d.ts +0 -0
  909. /package/dist/types/{src/components → components}/GrSkeleton/grSkeletonStyles.d.ts +0 -0
  910. /package/dist/types/{src/components → components}/GrSlider/GrSlider.vue.d.ts +0 -0
  911. /package/dist/types/{src/components → components}/GrSlider/config.d.ts +0 -0
  912. /package/dist/types/{src/components → components}/GrSlider/defaults.d.ts +0 -0
  913. /package/dist/types/{src/components → components}/GrSlider/grSliderStyles.d.ts +0 -0
  914. /package/dist/types/{src/components → components}/GrSlider/index.d.ts +0 -0
  915. /package/dist/types/{src/components → components}/GrSlider/safelist.d.ts +0 -0
  916. /package/dist/types/{src/components → components}/GrSortableList/GrSortableList.vue.d.ts +0 -0
  917. /package/dist/types/{src/components → components}/GrSortableList/config.d.ts +0 -0
  918. /package/dist/types/{src/components → components}/GrSortableList/index.d.ts +0 -0
  919. /package/dist/types/{src/components → components}/GrSortableList/safelist.d.ts +0 -0
  920. /package/dist/types/{src/components → components}/GrSplitter/GrSplitter.vue.d.ts +0 -0
  921. /package/dist/types/{src/components → components}/GrSplitter/config.d.ts +0 -0
  922. /package/dist/types/{src/components → components}/GrSplitter/defaults.d.ts +0 -0
  923. /package/dist/types/{src/components → components}/GrSplitter/grSplitterStyles.d.ts +0 -0
  924. /package/dist/types/{src/components → components}/GrSplitter/safelist.d.ts +0 -0
  925. /package/dist/types/{src/components → components}/GrSplitter/splitterGeometry.d.ts +0 -0
  926. /package/dist/types/{src/components → components}/GrStatistic/config.d.ts +0 -0
  927. /package/dist/types/{src/components → components}/GrStatistic/countUp.d.ts +0 -0
  928. /package/dist/types/{src/components → components}/GrStatistic/defaults.d.ts +0 -0
  929. /package/dist/types/{src/components → components}/GrStatistic/formatStatisticValue.d.ts +0 -0
  930. /package/dist/types/{src/components → components}/GrStatistic/index.d.ts +0 -0
  931. /package/dist/types/{src/components → components}/GrStatistic/safelist.d.ts +0 -0
  932. /package/dist/types/{src/components → components}/GrSwitch/GrSwitch.vue.d.ts +0 -0
  933. /package/dist/types/{src/components → components}/GrSwitch/config.d.ts +0 -0
  934. /package/dist/types/{src/components → components}/GrSwitch/defaults.d.ts +0 -0
  935. /package/dist/types/{src/components → components}/GrSwitch/grSwitchStyles.d.ts +0 -0
  936. /package/dist/types/{src/components → components}/GrSwitch/index.d.ts +0 -0
  937. /package/dist/types/{src/components → components}/GrSwitch/safelist.d.ts +0 -0
  938. /package/dist/types/{src/components → components}/GrTabPanels/GrTabPanel.vue.d.ts +0 -0
  939. /package/dist/types/{src/components → components}/GrTabPanels/GrTabPanels.vue.d.ts +0 -0
  940. /package/dist/types/{src/components → components}/GrTabPanels/config.d.ts +0 -0
  941. /package/dist/types/{src/components → components}/GrTabPanels/context.d.ts +0 -0
  942. /package/dist/types/{src/components → components}/GrTable/GrTable.vue.d.ts +0 -0
  943. /package/dist/types/{src/components → components}/GrTable/config.d.ts +0 -0
  944. /package/dist/types/{src/components → components}/GrTable/defaults.d.ts +0 -0
  945. /package/dist/types/{src/components → components}/GrTable/grTableStyles.d.ts +0 -0
  946. /package/dist/types/{src/components → components}/GrTable/index.d.ts +0 -0
  947. /package/dist/types/{src/components → components}/GrTable/safelist.d.ts +0 -0
  948. /package/dist/types/{src/components → components}/GrTabs/config.d.ts +0 -0
  949. /package/dist/types/{src/components → components}/GrTabs/defaults.d.ts +0 -0
  950. /package/dist/types/{src/components → components}/GrTabs/grTabsStyles.d.ts +0 -0
  951. /package/dist/types/{src/components → components}/GrTabs/safelist.d.ts +0 -0
  952. /package/dist/types/{src/components → components}/GrTextarea/GrTextarea.vue.d.ts +0 -0
  953. /package/dist/types/{src/components → components}/GrTextarea/config.d.ts +0 -0
  954. /package/dist/types/{src/components → components}/GrTextarea/defaults.d.ts +0 -0
  955. /package/dist/types/{src/components → components}/GrTextarea/grTextareaStyles.d.ts +0 -0
  956. /package/dist/types/{src/components → components}/GrTextarea/index.d.ts +0 -0
  957. /package/dist/types/{src/components → components}/GrTextarea/safelist.d.ts +0 -0
  958. /package/dist/types/{src/components → components}/GrTimeline/GrTimeline.vue.d.ts +0 -0
  959. /package/dist/types/{src/components → components}/GrTimeline/GrTimelineItem.vue.d.ts +0 -0
  960. /package/dist/types/{src/components → components}/GrTimeline/config.d.ts +0 -0
  961. /package/dist/types/{src/components → components}/GrTimeline/defaults.d.ts +0 -0
  962. /package/dist/types/{src/components → components}/GrTimeline/grTimelineContext.d.ts +0 -0
  963. /package/dist/types/{src/components → components}/GrTimeline/grTimelineStyles.d.ts +0 -0
  964. /package/dist/types/{src/components → components}/GrTimeline/safelist.d.ts +0 -0
  965. /package/dist/types/{src/components → components}/GrTimeline/timelineGroups.d.ts +0 -0
  966. /package/dist/types/{src/components → components}/GrToaster/GrToaster.vue.d.ts +0 -0
  967. /package/dist/types/{src/components → components}/GrToaster/config.d.ts +0 -0
  968. /package/dist/types/{src/components → components}/GrToaster/grToasterStyles.d.ts +0 -0
  969. /package/dist/types/{src/components → components}/GrToaster/index.d.ts +0 -0
  970. /package/dist/types/{src/components → components}/GrToaster/safelist.d.ts +0 -0
  971. /package/dist/types/{src/components → components}/GrTooltip/GrTooltip.vue.d.ts +0 -0
  972. /package/dist/types/{src/components → components}/GrTooltip/config.d.ts +0 -0
  973. /package/dist/types/{src/components → components}/GrTooltip/defaults.d.ts +0 -0
  974. /package/dist/types/{src/components → components}/GrTooltip/grTooltipStyles.d.ts +0 -0
  975. /package/dist/types/{src/components → components}/GrTooltip/index.d.ts +0 -0
  976. /package/dist/types/{src/components → components}/GrTooltip/safelist.d.ts +0 -0
  977. /package/dist/types/{src/components → components}/GrTree/GrTree.vue.d.ts +0 -0
  978. /package/dist/types/{src/components → components}/GrTree/config.d.ts +0 -0
  979. /package/dist/types/{src/components → components}/GrTree/defaults.d.ts +0 -0
  980. /package/dist/types/{src/components → components}/GrTree/grTreeChecking.d.ts +0 -0
  981. /package/dist/types/{src/components → components}/GrTree/grTreeDataAdapter.d.ts +0 -0
  982. /package/dist/types/{src/components → components}/GrTree/grTreeInteractionContext.d.ts +0 -0
  983. /package/dist/types/{src/components → components}/GrTree/grTreeStore.d.ts +0 -0
  984. /package/dist/types/{src/components → components}/GrTree/grTreeStyles.d.ts +0 -0
  985. /package/dist/types/{src/components → components}/GrTree/grTreeTypes.d.ts +0 -0
  986. /package/dist/types/{src/components → components}/GrTree/index.d.ts +0 -0
  987. /package/dist/types/{src/components → components}/GrTreeSelect/config.d.ts +0 -0
  988. /package/dist/types/{src/components → components}/GrTreeSelect/defaults.d.ts +0 -0
  989. /package/dist/types/{src/components → components}/GrTreeSelect/grTreeSelectStyles.d.ts +0 -0
  990. /package/dist/types/{src/components → components}/GrTreeSelect/grTreeSelectTypes.d.ts +0 -0
  991. /package/dist/types/{src/components → components}/GrTreeSelect/index.d.ts +0 -0
  992. /package/dist/types/{src/components → components}/GrTreeSelect/safelist.d.ts +0 -0
  993. /package/dist/types/{src/components → components}/shared/classTokens.d.ts +0 -0
  994. /package/dist/types/{src/components → components}/shared/hotkey.d.ts +0 -0
  995. /package/dist/types/{src/components → components}/shared/hotkeyTokens.d.ts +0 -0
  996. /package/dist/types/{src/components → components}/shared/instance.d.ts +0 -0
  997. /package/dist/types/{src/components → components}/shared/optionFilter.d.ts +0 -0
  998. /package/dist/types/{src/components → components}/shared/sizes.d.ts +0 -0
  999. /package/dist/types/{src/components → components}/shared/slotNodes.d.ts +0 -0
  1000. /package/dist/types/{src/components → components}/shared/tones.d.ts +0 -0
  1001. /package/dist/types/{src/composables → composables}/internal/dragSortGeometry.d.ts +0 -0
  1002. /package/dist/types/{src/composables → composables}/internal/focusables.d.ts +0 -0
  1003. /package/dist/types/{src/composables → composables}/internal/inert.d.ts +0 -0
  1004. /package/dist/types/{src/composables → composables}/internal/overlayStack.d.ts +0 -0
  1005. /package/dist/types/{src/composables → composables}/internal/portalRoot.d.ts +0 -0
  1006. /package/dist/types/{src/composables → composables}/internal/useAddonMeasurement.d.ts +0 -0
  1007. /package/dist/types/{src/composables → composables}/internal/useControlAddons.d.ts +0 -0
  1008. /package/dist/types/{src/composables → composables}/internal/useControlledOpen.d.ts +0 -0
  1009. /package/dist/types/{src/composables → composables}/internal/useFilePreviews.d.ts +0 -0
  1010. /package/dist/types/{src/composables → composables}/internal/useFocusWithin.d.ts +0 -0
  1011. /package/dist/types/{src/composables → composables}/internal/useInertOthers.d.ts +0 -0
  1012. /package/dist/types/{src/composables → composables}/internal/useModalOverlay.d.ts +0 -0
  1013. /package/dist/types/{src/composables → composables}/internal/useOverlayPresence.d.ts +0 -0
  1014. /package/dist/types/{src/composables → composables}/internal/useScrollLock.d.ts +0 -0
  1015. /package/dist/types/{src/composables → composables}/internal/useTeleportEnabled.d.ts +0 -0
  1016. /package/dist/types/{src/composables → composables}/useAnnouncer.d.ts +0 -0
  1017. /package/dist/types/{src/composables → composables}/useComboboxNavigation.d.ts +0 -0
  1018. /package/dist/types/{src/composables → composables}/useDismissible.d.ts +0 -0
  1019. /package/dist/types/{src/composables → composables}/useDragGesture.d.ts +0 -0
  1020. /package/dist/types/{src/composables → composables}/useDragSort.d.ts +0 -0
  1021. /package/dist/types/{src/composables → composables}/useFloating.d.ts +0 -0
  1022. /package/dist/types/{src/composables → composables}/useFocusTrap.d.ts +0 -0
  1023. /package/dist/types/{src/composables → composables}/useGrComponentConfig.d.ts +0 -0
  1024. /package/dist/types/{src/composables → composables}/useGrFormControl.d.ts +0 -0
  1025. /package/dist/types/{src/composables → composables}/useGranularityTranslations.d.ts +0 -0
  1026. /package/dist/types/{src/composables → composables}/useOverlayLayer.d.ts +0 -0
  1027. /package/dist/types/{src/composables → composables}/usePortalTarget.d.ts +0 -0
  1028. /package/dist/types/{src/composables → composables}/useRovingFocus.d.ts +0 -0
  1029. /package/dist/types/{src/composables → composables}/useTheme.d.ts +0 -0
  1030. /package/dist/types/{src/composables → composables}/useToast.d.ts +0 -0
  1031. /package/dist/types/{src/composables → composables}/useVirtualList.d.ts +0 -0
  1032. /package/dist/types/{src/directives → directives}/autofocus.d.ts +0 -0
  1033. /package/dist/types/{src/directives → directives}/autosize.d.ts +0 -0
  1034. /package/dist/types/{src/directives → directives}/clickOutside.d.ts +0 -0
  1035. /package/dist/types/{src/directives → directives}/dropzone.d.ts +0 -0
  1036. /package/dist/types/{src/directives → directives}/globalDirectives.d.ts +0 -0
  1037. /package/dist/types/{src/directives → directives}/hotkey.d.ts +0 -0
  1038. /package/dist/types/{src/directives → directives}/index.d.ts +0 -0
  1039. /package/dist/types/{src/directives → directives}/loading.d.ts +0 -0
  1040. /package/dist/types/{src/fileValidation → fileValidation}/FileValidationError.d.ts +0 -0
  1041. /package/dist/types/{src/fileValidation → fileValidation}/acceptValidator.d.ts +0 -0
  1042. /package/dist/types/{src/fileValidation → fileValidation}/allowedExtensionsValidator.d.ts +0 -0
  1043. /package/dist/types/{src/fileValidation → fileValidation}/allowedMimeTypesValidator.d.ts +0 -0
  1044. /package/dist/types/{src/fileValidation → fileValidation}/i18n.d.ts +0 -0
  1045. /package/dist/types/{src/fileValidation → fileValidation}/index.d.ts +0 -0
  1046. /package/dist/types/{src/fileValidation → fileValidation}/matchAccept.d.ts +0 -0
  1047. /package/dist/types/{src/fileValidation → fileValidation}/maxCountValidator.d.ts +0 -0
  1048. /package/dist/types/{src/fileValidation → fileValidation}/maxFileSize.d.ts +0 -0
  1049. /package/dist/types/{src/fileValidation → fileValidation}/maxTotalSizeBytesValidator.d.ts +0 -0
  1050. /package/dist/types/{src/fileValidation → fileValidation}/runFileValidators.d.ts +0 -0
  1051. /package/dist/types/{src/fileValidation → fileValidation}/types.d.ts +0 -0
  1052. /package/dist/types/{src/granular-provider → granular-provider}/index.d.ts +0 -0
  1053. /package/dist/types/{src/granular-provider → granular-provider}/node.d.ts +0 -0
  1054. /package/dist/types/{src/granular-provider → granular-provider}/shared.d.ts +0 -0
  1055. /package/dist/types/{src/i18n → i18n}/adapter.d.ts +0 -0
  1056. /package/dist/types/{src/i18n → i18n}/all.d.ts +0 -0
  1057. /package/dist/types/{src/i18n → i18n}/index.d.ts +0 -0
  1058. /package/dist/types/{src/i18n → i18n}/messages/const.d.ts +0 -0
  1059. /package/dist/types/{src/i18n → i18n}/messages/en.d.ts +0 -0
  1060. /package/dist/types/{src/i18n → i18n}/messages/es.d.ts +0 -0
  1061. /package/dist/types/{src/i18n → i18n}/messages/index.d.ts +0 -0
  1062. /package/dist/types/{src/i18n → i18n}/messages/ru.d.ts +0 -0
  1063. /package/dist/types/{src/index.d.ts → index.d.ts} +0 -0
  1064. /package/dist/types/{src/internal → internal}/granularityFormat.d.ts +0 -0
  1065. /package/dist/types/{src/internal → internal}/granularityI18n.d.ts +0 -0
  1066. /package/dist/types/{src/internal → internal}/keyboard.d.ts +0 -0
  1067. /package/dist/types/{src/tokens → tokens}/generated.d.ts +0 -0
  1068. /package/dist/types/{src/tokens → tokens}/index.d.ts +0 -0
  1069. /package/dist/types/{src/vue → vue}/index.d.ts +0 -0
  1070. /package/dist/types/{src/vue → vue}/plugin.d.ts +0 -0
@@ -1,1371 +0,0 @@
1
- import { o as useGrComponentSize } from "../../../chunks/context-BSYR7RZs.js";
2
- import { n as useGranularityTranslations } from "../../../chunks/granularityI18n-BC5zsj_d.js";
3
- import { useVirtualList } from "../../../composables/useVirtualList.js";
4
- import { t as _plugin_vue_export_helper_default } from "../../../chunks/_plugin-vue_export-helper-BOaGB7Aw.js";
5
- import { useAnnouncer } from "../../../composables/useAnnouncer.js";
6
- import { t as useDragSort } from "../../../chunks/useDragSort-0l47h4yb.js";
7
- import { useRovingFocus } from "../../../composables/useRovingFocus.js";
8
- import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onUnmounted, openBlock, ref, renderList, renderSlot, shallowRef, toDisplayString, toValue, unref, watch, withModifiers } from "vue";
9
- import '../styles.css';//#region src/components/GrTree/grTreeDataAdapter.ts
10
- var DEFAULT_CHILDREN_KEY = "children";
11
- var DEFAULT_LABEL_KEY = "label";
12
- var DEFAULT_IS_LEAF_KEY = "isLeaf";
13
- function isTreeKey(value) {
14
- return typeof value === "string" || typeof value === "number";
15
- }
16
- function resolveMapValue(map, key, fallback) {
17
- return map?.[key] ?? fallback;
18
- }
19
- function createGrTreeDataAdapter(options) {
20
- function hasNodeKey() {
21
- return options.nodeKey != null;
22
- }
23
- function getChildrenKey() {
24
- return resolveMapValue(options.props, "children", DEFAULT_CHILDREN_KEY);
25
- }
26
- function getLabelKey() {
27
- return resolveMapValue(options.props, "label", DEFAULT_LABEL_KEY);
28
- }
29
- function getLabel(data) {
30
- const value = data[getLabelKey()];
31
- return value == null ? "" : String(value);
32
- }
33
- function getIsLeaf(data) {
34
- const value = data[resolveMapValue(options.props, "isLeaf", DEFAULT_IS_LEAF_KEY)];
35
- return typeof value === "boolean" ? value : void 0;
36
- }
37
- function getChildren(data) {
38
- const value = data[getChildrenKey()];
39
- return Array.isArray(value) ? value : [];
40
- }
41
- function ensureChildren(data) {
42
- const key = getChildrenKey();
43
- const value = data[key];
44
- if (Array.isArray(value)) return value;
45
- data[key] = [];
46
- return data[key];
47
- }
48
- function getExplicitNodeKey(data) {
49
- if (options.nodeKey == null) return void 0;
50
- const value = data[options.nodeKey];
51
- return isTreeKey(value) ? value : void 0;
52
- }
53
- function getNodeKey(data, index, parentKey) {
54
- const explicitKey = getExplicitNodeKey(data);
55
- if (explicitKey != null) return explicitKey;
56
- return parentKey == null ? index : `${String(parentKey)}:${index}`;
57
- }
58
- return {
59
- hasNodeKey,
60
- getChildrenKey,
61
- getLabelKey,
62
- getLabel,
63
- getIsLeaf,
64
- getChildren,
65
- ensureChildren,
66
- getNodeKey,
67
- getExplicitNodeKey
68
- };
69
- }
70
- //#endregion
71
- //#region src/components/GrTree/grTreeInteractionContext.ts
72
- function createGrTreeInteractionContext(options, emitters) {
73
- const hoveredKey = ref(void 0);
74
- const draggingNode = shallowRef(null);
75
- const dropTarget = shallowRef(null);
76
- const nodeEls = /* @__PURE__ */ new Map();
77
- function registerNodeEl(key, el) {
78
- if (el) {
79
- nodeEls.set(key, el);
80
- return;
81
- }
82
- const previous = nodeEls.get(key);
83
- if (previous && !previous.isConnected) nodeEls.delete(key);
84
- }
85
- function canDrag(node) {
86
- if (!options.draggable) return false;
87
- if (options.allowDrag) return options.allowDrag(node);
88
- return true;
89
- }
90
- function canDrop(drag, target, type) {
91
- if (!options.allowDrop) return true;
92
- return options.allowDrop(drag, target, type);
93
- }
94
- function resetDragState() {
95
- draggingNode.value = null;
96
- dropTarget.value = null;
97
- }
98
- return {
99
- hoveredKey,
100
- nodeEls,
101
- registerNodeEl,
102
- draggingNode,
103
- dropTarget,
104
- canDrag,
105
- canDrop,
106
- resetDragState,
107
- ...emitters
108
- };
109
- }
110
- //#endregion
111
- //#region src/components/GrTree/grTreeChecking.ts
112
- /**
113
- * Раскладывает отмеченные ключи по всему дереву: родитель отмечен, когда
114
- * отмечены все дети, и наполовину — когда часть.
115
- *
116
- * Считается от листьев вверх, поэтому `checkedKeys` снаружи может содержать
117
- * только листья (типовой формат ответа сервера) — родители посчитаются сами.
118
- * При `strict` дерево не связывает узлы вовсе: каждый отвечает сам за себя.
119
- */
120
- function resolveCheckStates(roots, checkedKeys, strict) {
121
- const states = /* @__PURE__ */ new Map();
122
- const walk = (node) => {
123
- if (strict || node.childNodes.length === 0) {
124
- const state = checkedKeys.has(node.key) ? "checked" : "unchecked";
125
- if (strict) node.childNodes.forEach(walk);
126
- states.set(node.key, state);
127
- return state;
128
- }
129
- const childStates = node.childNodes.map(walk);
130
- const allChecked = childStates.every((s) => s === "checked");
131
- const someMarked = childStates.some((s) => s !== "unchecked");
132
- const state = allChecked ? "checked" : someMarked || checkedKeys.has(node.key) ? "half" : "unchecked";
133
- states.set(node.key, state);
134
- return state;
135
- };
136
- roots.forEach(walk);
137
- return states;
138
- }
139
- /**
140
- * Новый набор отмеченных ключей после переключения узла.
141
- *
142
- * Каскад идёт вниз (все потомки повторяют решение) и вверх (родитель отмечен,
143
- * только если отмечены все его дети). Возвращается набор с родителями —
144
- * `getCheckedKeys({ leafOnly: true })` при необходимости отбросит их обратно.
145
- */
146
- function toggleCheckedKeys(roots, checkedKeys, node, checked, strict) {
147
- const next = new Set(checkedKeys);
148
- if (strict) {
149
- if (checked) next.add(node.key);
150
- else next.delete(node.key);
151
- return next;
152
- }
153
- const applyDown = (target) => {
154
- if (checked) next.add(target.key);
155
- else next.delete(target.key);
156
- target.childNodes.forEach(applyDown);
157
- };
158
- applyDown(node);
159
- for (let parent = node.parent; parent; parent = parent.parent) if (parent.childNodes.every((child) => next.has(child.key))) next.add(parent.key);
160
- else next.delete(parent.key);
161
- return pruneToTree(roots, next);
162
- }
163
- /** Отбрасывает ключи, которых нет в текущей модели (данные могли смениться). */
164
- function pruneToTree(roots, keys) {
165
- const known = /* @__PURE__ */ new Set();
166
- const walk = (node) => {
167
- known.add(node.key);
168
- node.childNodes.forEach(walk);
169
- };
170
- roots.forEach(walk);
171
- const next = /* @__PURE__ */ new Set();
172
- for (const key of keys) if (known.has(key)) next.add(key);
173
- return next;
174
- }
175
- /** Ключи в состоянии `checked`; `leafOnly` оставляет только листья. */
176
- function collectCheckedKeys(roots, states, leafOnly) {
177
- const out = [];
178
- const walk = (node) => {
179
- const isLeaf = node.childNodes.length === 0;
180
- if (states.get(node.key) === "checked" && (!leafOnly || isLeaf)) out.push(node.key);
181
- node.childNodes.forEach(walk);
182
- };
183
- roots.forEach(walk);
184
- return out;
185
- }
186
- /** Ключи в состоянии `half` — родители с частично отмеченными потомками. */
187
- function collectHalfCheckedKeys(states) {
188
- const out = [];
189
- for (const [key, state] of states) if (state === "half") out.push(key);
190
- return out;
191
- }
192
- //#endregion
193
- //#region src/components/GrTree/grTreeStore.ts
194
- function createGrTreeStore(options) {
195
- const filterValue = ref("");
196
- const expandedKeys = shallowRef(/* @__PURE__ */ new Set());
197
- const checkedKeys = shallowRef(new Set(toValue(options.defaultCheckedKeys) ?? []));
198
- const loadingKeys = shallowRef(/* @__PURE__ */ new Set());
199
- const loadedKeys = shallowRef(/* @__PURE__ */ new Set());
200
- const loadedChildren = shallowRef(/* @__PURE__ */ new Map());
201
- const currentKey = ref(void 0);
202
- const getData = () => toValue(options.data) ?? [];
203
- const getFilterNodeMethod = () => toValue(options.filterNodeMethod);
204
- watch(() => toValue(options.defaultExpandedKeys), (keys) => {
205
- expandedKeys.value = new Set(keys ?? []);
206
- }, { immediate: true });
207
- watch(() => toValue(options.checkedKeys), (keys) => {
208
- if (keys) checkedKeys.value = new Set(keys);
209
- }, { immediate: true });
210
- const treeModel = computed(() => {
211
- const byKey = /* @__PURE__ */ new Map();
212
- const byData = /* @__PURE__ */ new WeakMap();
213
- const build = (items, parent, level) => {
214
- return items.map((item, index) => {
215
- const node = {
216
- key: options.adapter.getNodeKey(item, index, parent?.key),
217
- label: options.adapter.getLabel(item),
218
- data: item,
219
- level,
220
- parent,
221
- childNodes: []
222
- };
223
- byKey.set(node.key, node);
224
- byData.set(item, node);
225
- const ownChildren = options.adapter.getChildren(item);
226
- const lazyChildren = loadedChildren.value.get(node.key) ?? [];
227
- node.childNodes = build([...ownChildren, ...lazyChildren], node, level + 1);
228
- return node;
229
- });
230
- };
231
- return {
232
- roots: build(getData(), void 0, 1),
233
- byKey,
234
- byData
235
- };
236
- });
237
- const autoExpandedKeys = /* @__PURE__ */ new Set();
238
- watch(treeModel, (model) => {
239
- if (!toValue(options.defaultExpandAll)) return;
240
- const next = new Set(expandedKeys.value);
241
- let changed = false;
242
- for (const key of model.byKey.keys()) {
243
- if (autoExpandedKeys.has(key)) continue;
244
- autoExpandedKeys.add(key);
245
- next.add(key);
246
- changed = true;
247
- }
248
- if (changed) expandedKeys.value = next;
249
- }, { immediate: true });
250
- const filterInfo = computed(() => {
251
- const value = filterValue.value;
252
- const isActive = value.trim().length > 0;
253
- const valueLower = value.toLowerCase();
254
- const subtreeHasMatch = /* @__PURE__ */ new Map();
255
- const matchedKeys = /* @__PURE__ */ new Set();
256
- const autoExpandKeys = /* @__PURE__ */ new Set();
257
- if (!isActive) return {
258
- isActive,
259
- subtreeHasMatch,
260
- matchedKeys,
261
- autoExpandKeys
262
- };
263
- const match = (node) => {
264
- const filterNodeMethod = getFilterNodeMethod();
265
- if (filterNodeMethod) return filterNodeMethod(value, node.data, node);
266
- return node.label.toLowerCase().includes(valueLower);
267
- };
268
- const walk = (nodes) => {
269
- let any = false;
270
- for (const node of nodes) {
271
- const self = match(node);
272
- const childAny = walk(node.childNodes);
273
- const has = self || childAny;
274
- subtreeHasMatch.set(node.key, has);
275
- if (self) matchedKeys.add(node.key);
276
- if (childAny) autoExpandKeys.add(node.key);
277
- any ||= has;
278
- }
279
- return any;
280
- };
281
- walk(treeModel.value.roots);
282
- return {
283
- isActive,
284
- subtreeHasMatch,
285
- matchedKeys,
286
- autoExpandKeys
287
- };
288
- });
289
- function getNode(key) {
290
- return treeModel.value.byKey.get(key);
291
- }
292
- function findNodeByData(data) {
293
- return treeModel.value.byData.get(data);
294
- }
295
- function isTreeNode(target) {
296
- return typeof target === "object" && target !== null && "key" in target && "data" in target && "childNodes" in target;
297
- }
298
- function resolveNodeTarget(target) {
299
- if (target == null) return void 0;
300
- if (typeof target === "string" || typeof target === "number") return getNode(target);
301
- if (isTreeNode(target)) return getNode(target.key) ?? target;
302
- const key = options.adapter.getExplicitNodeKey(target);
303
- if (key != null) return getNode(key);
304
- return findNodeByData(target);
305
- }
306
- function getNodeContainer(node) {
307
- const items = node.parent ? options.adapter.ensureChildren(node.parent.data) : getData();
308
- let index = items.findIndex((item) => item === node.data);
309
- if (index >= 0) return {
310
- items,
311
- index
312
- };
313
- const key = options.adapter.getExplicitNodeKey(node.data);
314
- if (key == null) return void 0;
315
- index = items.findIndex((item) => options.adapter.getExplicitNodeKey(item) === key);
316
- if (index < 0) return void 0;
317
- return {
318
- items,
319
- index
320
- };
321
- }
322
- function isDescendantNode(ancestor, node) {
323
- let current = node.parent;
324
- while (current) {
325
- if (current.key === ancestor.key) return true;
326
- current = current.parent;
327
- }
328
- return false;
329
- }
330
- function canMoveNode(node, referenceNode, dropType) {
331
- const sourceNode = resolveNodeTarget(node);
332
- const targetNode = resolveNodeTarget(referenceNode);
333
- if (!sourceNode || !targetNode) return false;
334
- if (sourceNode.key === targetNode.key) return false;
335
- if (isDescendantNode(sourceNode, targetNode)) return false;
336
- if (!getNodeContainer(sourceNode)) return false;
337
- if (dropType === "inner") return true;
338
- return Boolean(getNodeContainer(targetNode));
339
- }
340
- function sanitizeTreeState() {
341
- const byKey = treeModel.value.byKey;
342
- if (currentKey.value != null && !byKey.has(currentKey.value)) currentKey.value = void 0;
343
- const nextExpandedKeys = new Set(Array.from(expandedKeys.value).filter((key) => byKey.has(key)));
344
- if (nextExpandedKeys.size !== expandedKeys.value.size) expandedKeys.value = nextExpandedKeys;
345
- const nextCheckedKeys = new Set(Array.from(checkedKeys.value).filter((key) => byKey.has(key)));
346
- if (nextCheckedKeys.size !== checkedKeys.value.size) checkedKeys.value = nextCheckedKeys;
347
- }
348
- function isExpandedKey(key) {
349
- return expandedKeys.value.has(key);
350
- }
351
- function setExpandedKey(key, expanded) {
352
- const next = new Set(expandedKeys.value);
353
- if (expanded) next.add(key);
354
- else next.delete(key);
355
- expandedKeys.value = next;
356
- }
357
- function toggleExpand(node) {
358
- setExpandedKey(node.key, !isExpandedKey(node.key));
359
- }
360
- function setCurrentKey(key) {
361
- currentKey.value = key;
362
- }
363
- function getCurrentKey() {
364
- return currentKey.value;
365
- }
366
- function getCurrentNode() {
367
- const key = currentKey.value;
368
- return key == null ? void 0 : getNode(key);
369
- }
370
- function setCurrentNode(node) {
371
- if (node == null) {
372
- currentKey.value = void 0;
373
- return true;
374
- }
375
- const targetNode = resolveNodeTarget(node);
376
- if (!targetNode) return false;
377
- currentKey.value = targetNode.key;
378
- return true;
379
- }
380
- function resolveInsertedNode(data) {
381
- const key = options.adapter.getExplicitNodeKey(data);
382
- if (key != null) return getNode(key);
383
- return findNodeByData(data);
384
- }
385
- function moveNode(node, referenceNode, dropType) {
386
- const sourceNode = resolveNodeTarget(node);
387
- const targetNode = resolveNodeTarget(referenceNode);
388
- if (!sourceNode || !targetNode) return void 0;
389
- if (!canMoveNode(sourceNode, targetNode, dropType)) return void 0;
390
- const sourceContainer = getNodeContainer(sourceNode);
391
- if (!sourceContainer) return void 0;
392
- let destinationItems;
393
- let destinationIndex;
394
- if (dropType === "inner") {
395
- destinationItems = options.adapter.ensureChildren(targetNode.data);
396
- destinationIndex = destinationItems.length;
397
- } else {
398
- const targetContainer = getNodeContainer(targetNode);
399
- if (!targetContainer) return void 0;
400
- destinationItems = targetContainer.items;
401
- destinationIndex = dropType === "prev" ? targetContainer.index : targetContainer.index + 1;
402
- }
403
- if (destinationItems === sourceContainer.items && sourceContainer.index < destinationIndex) destinationIndex -= 1;
404
- const [movedData] = sourceContainer.items.splice(sourceContainer.index, 1);
405
- destinationItems.splice(destinationIndex, 0, movedData);
406
- if (dropType === "inner") setExpandedKey(targetNode.key, true);
407
- sanitizeTreeState();
408
- return resolveInsertedNode(movedData);
409
- }
410
- function appendNode(data, parent) {
411
- const parentNode = resolveNodeTarget(parent);
412
- if (!parentNode) return void 0;
413
- options.adapter.ensureChildren(parentNode.data).push(data);
414
- setExpandedKey(parentNode.key, true);
415
- sanitizeTreeState();
416
- return resolveInsertedNode(data);
417
- }
418
- function removeNode(node) {
419
- if (!options.adapter.hasNodeKey()) return false;
420
- const targetNode = resolveNodeTarget(node);
421
- if (!targetNode) return false;
422
- const container = getNodeContainer(targetNode);
423
- if (!container) return false;
424
- container.items.splice(container.index, 1);
425
- sanitizeTreeState();
426
- return true;
427
- }
428
- function insertNodeBefore(data, referenceNode) {
429
- const targetNode = resolveNodeTarget(referenceNode);
430
- if (!targetNode) return void 0;
431
- const container = getNodeContainer(targetNode);
432
- if (!container) return void 0;
433
- container.items.splice(container.index, 0, data);
434
- sanitizeTreeState();
435
- return resolveInsertedNode(data);
436
- }
437
- function insertNodeAfter(data, referenceNode) {
438
- const targetNode = resolveNodeTarget(referenceNode);
439
- if (!targetNode) return void 0;
440
- const container = getNodeContainer(targetNode);
441
- if (!container) return void 0;
442
- container.items.splice(container.index + 1, 0, data);
443
- sanitizeTreeState();
444
- return resolveInsertedNode(data);
445
- }
446
- const checkStates = computed(() => resolveCheckStates(treeModel.value.roots, checkedKeys.value, Boolean(toValue(options.checkStrictly))));
447
- function getCheckState(key) {
448
- return checkStates.value.get(key) ?? "unchecked";
449
- }
450
- function setChecked(node, checked) {
451
- const targetNode = resolveNodeTarget(node);
452
- if (!targetNode) return void 0;
453
- checkedKeys.value = toggleCheckedKeys(treeModel.value.roots, checkedKeys.value, targetNode, checked, Boolean(toValue(options.checkStrictly)));
454
- return targetNode;
455
- }
456
- function toggleChecked(node) {
457
- return setChecked(node, getCheckState(node.key) !== "checked");
458
- }
459
- function getCheckedKeys(opts) {
460
- return collectCheckedKeys(treeModel.value.roots, checkStates.value, Boolean(opts?.leafOnly));
461
- }
462
- function setCheckedKeys(keys) {
463
- checkedKeys.value = pruneToTree(treeModel.value.roots, new Set(keys));
464
- }
465
- function getHalfCheckedKeys() {
466
- return collectHalfCheckedKeys(checkStates.value);
467
- }
468
- function isLeafNode(node) {
469
- if (node.childNodes.length > 0) return false;
470
- if (!toValue(options.lazy)) return true;
471
- const declared = options.adapter.getIsLeaf(node.data);
472
- if (declared !== void 0) return declared;
473
- return loadedKeys.value.has(node.key);
474
- }
475
- function isLoadingKey(key) {
476
- return loadingKeys.value.has(key);
477
- }
478
- function markLoading(key, loading) {
479
- const next = new Set(loadingKeys.value);
480
- if (loading) next.add(key);
481
- else next.delete(key);
482
- loadingKeys.value = next;
483
- }
484
- function ensureLoaded(node) {
485
- const load = toValue(options.load);
486
- if (!toValue(options.lazy) || !load) return;
487
- if (loadedKeys.value.has(node.key) || loadingKeys.value.has(node.key) || isLeafNode(node)) return;
488
- markLoading(node.key, true);
489
- let settled = false;
490
- load(node, (children) => {
491
- if (settled) return;
492
- settled = true;
493
- const next = new Map(loadedChildren.value);
494
- next.set(node.key, [...children ?? []]);
495
- loadedChildren.value = next;
496
- loadedKeys.value = new Set(loadedKeys.value).add(node.key);
497
- markLoading(node.key, false);
498
- });
499
- }
500
- function filter(value) {
501
- filterValue.value = value;
502
- }
503
- return {
504
- filterValue,
505
- expandedKeys,
506
- loadedChildren,
507
- checkedKeys,
508
- checkStates,
509
- loadingKeys,
510
- loadedKeys,
511
- currentKey,
512
- treeModel,
513
- filterInfo,
514
- filter,
515
- isExpandedKey,
516
- setExpandedKey,
517
- toggleExpand,
518
- setCurrentKey,
519
- getCurrentKey,
520
- getCurrentNode,
521
- setCurrentNode,
522
- getNode,
523
- canMoveNode,
524
- moveNode,
525
- appendNode,
526
- removeNode,
527
- insertNodeBefore,
528
- insertNodeAfter,
529
- getCheckState,
530
- setChecked,
531
- toggleChecked,
532
- getCheckedKeys,
533
- setCheckedKeys,
534
- getHalfCheckedKeys,
535
- isLeafNode,
536
- isLoadingKey,
537
- ensureLoaded
538
- };
539
- }
540
- //#endregion
541
- //#region src/components/GrTree/grTreeStyles.ts
542
- var treeSizeVars = {
543
- xs: {
544
- "--gr-tree-row-min-height": "22px",
545
- "--gr-tree-row-px": "4px",
546
- "--gr-tree-row-py": "3px",
547
- "--gr-tree-toggle-size": "18px",
548
- "--gr-tree-drag-handle-size": "18px",
549
- "--gr-tree-icon-size": "12px",
550
- "--gr-tree-content-gap": "4px",
551
- "--gr-tree-font-size": "12px"
552
- },
553
- sm: {
554
- "--gr-tree-row-min-height": "24px",
555
- "--gr-tree-row-px": "6px",
556
- "--gr-tree-row-py": "5px",
557
- "--gr-tree-toggle-size": "20px",
558
- "--gr-tree-drag-handle-size": "20px",
559
- "--gr-tree-icon-size": "14px",
560
- "--gr-tree-content-gap": "6px",
561
- "--gr-tree-font-size": "13px"
562
- },
563
- md: {
564
- "--gr-tree-row-min-height": "28px",
565
- "--gr-tree-row-px": "8px",
566
- "--gr-tree-row-py": "8px",
567
- "--gr-tree-toggle-size": "24px",
568
- "--gr-tree-drag-handle-size": "24px",
569
- "--gr-tree-icon-size": "16px",
570
- "--gr-tree-content-gap": "8px",
571
- "--gr-tree-font-size": "inherit"
572
- },
573
- lg: {
574
- "--gr-tree-row-min-height": "32px",
575
- "--gr-tree-row-px": "10px",
576
- "--gr-tree-row-py": "10px",
577
- "--gr-tree-toggle-size": "28px",
578
- "--gr-tree-drag-handle-size": "28px",
579
- "--gr-tree-icon-size": "20px",
580
- "--gr-tree-content-gap": "10px",
581
- "--gr-tree-font-size": "15px"
582
- }
583
- };
584
- //#endregion
585
- //#region src/components/GrTree/GrTree.vue?vue&type=script&setup=true&lang.ts
586
- var _hoisted_1 = ["data-gr-virtual", "aria-multiselectable"];
587
- var _hoisted_2 = [
588
- "data-gr-tree-node-key",
589
- "aria-level",
590
- "aria-posinset",
591
- "aria-setsize",
592
- "aria-expanded",
593
- "aria-selected",
594
- "aria-checked",
595
- "aria-busy",
596
- "tabindex"
597
- ];
598
- var _hoisted_3 = [
599
- "onClick",
600
- "onContextmenu",
601
- "onMouseenter",
602
- "onMouseleave"
603
- ];
604
- var _hoisted_4 = [
605
- "aria-label",
606
- "aria-disabled",
607
- "onPointerdown"
608
- ];
609
- var _hoisted_5 = ["aria-label", "onClick"];
610
- var _hoisted_6 = {
611
- key: 0,
612
- "data-gr-tree-loading": "",
613
- class: "gr-tree__toggle-icon animate-spin i-lucide-loader-circle"
614
- };
615
- var _hoisted_7 = ["onClick"];
616
- var _hoisted_8 = { class: "gr-tree__label" };
617
- var DEFAULT_BRANCH_LINE_COLOR = "var(--gr-tree-branch-line-default-color, var(--gr-brd))";
618
- /** Стрелки, которые вместе с `Shift` двигают узел, а не фокус. */
619
- var TREE_ROW_GAP = 2;
620
- var TYPEAHEAD_RESET_MS = 600;
621
- //#endregion
622
- //#region src/components/GrTree/GrTree.vue
623
- var GrTree_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
624
- __name: "GrTree",
625
- props: {
626
- data: {},
627
- props: { default: () => ({
628
- children: "children",
629
- label: "label"
630
- }) },
631
- nodeKey: { default: "id" },
632
- defaultExpandedKeys: { default: () => [] },
633
- defaultExpandAll: {
634
- type: Boolean,
635
- default: false
636
- },
637
- filterNodeMethod: {},
638
- lazy: {
639
- type: Boolean,
640
- default: false
641
- },
642
- load: {
643
- type: Function,
644
- default: void 0
645
- },
646
- size: { default: void 0 },
647
- indent: { default: 0 },
648
- virtual: {
649
- type: Boolean,
650
- default: false
651
- },
652
- maxHeight: { default: void 0 },
653
- highlightCurrent: {
654
- type: Boolean,
655
- default: true
656
- },
657
- expandIcon: { default: "i-lucide-chevron-right" },
658
- collapseIcon: { default: "i-lucide-chevron-right" },
659
- toggleIconRotate: {
660
- type: Boolean,
661
- default: true
662
- },
663
- branchLine: {
664
- type: Boolean,
665
- default: false
666
- },
667
- branchLineColor: {
668
- type: [String, Function],
669
- default: void 0
670
- },
671
- branchLineActiveColor: {
672
- type: [String, Function],
673
- default: void 0
674
- },
675
- rowClass: {
676
- type: [
677
- Boolean,
678
- null,
679
- String,
680
- Object,
681
- Array,
682
- Function
683
- ],
684
- default: void 0
685
- },
686
- dragHandleClass: {
687
- type: [
688
- Boolean,
689
- null,
690
- String,
691
- Object,
692
- Array,
693
- Function
694
- ],
695
- default: void 0
696
- },
697
- toggleClass: {
698
- type: [
699
- Boolean,
700
- null,
701
- String,
702
- Object,
703
- Array,
704
- Function
705
- ],
706
- default: void 0
707
- },
708
- toggleIconClass: {
709
- type: [
710
- Boolean,
711
- null,
712
- String,
713
- Object,
714
- Array,
715
- Function
716
- ],
717
- default: void 0
718
- },
719
- toggleSpacerClass: {
720
- type: [
721
- Boolean,
722
- null,
723
- String,
724
- Object,
725
- Array,
726
- Function
727
- ],
728
- default: void 0
729
- },
730
- contentClass: {
731
- type: [
732
- Boolean,
733
- null,
734
- String,
735
- Object,
736
- Array,
737
- Function
738
- ],
739
- default: void 0
740
- },
741
- dragLabel: { default: void 0 },
742
- expandLabel: { default: void 0 },
743
- collapseLabel: { default: void 0 },
744
- showCheckbox: {
745
- type: Boolean,
746
- default: false
747
- },
748
- checkedKeys: { default: void 0 },
749
- defaultCheckedKeys: { default: () => [] },
750
- checkStrictly: {
751
- type: Boolean,
752
- default: false
753
- },
754
- expandOnClickNode: {
755
- type: Boolean,
756
- default: false
757
- },
758
- accordion: {
759
- type: Boolean,
760
- default: false
761
- },
762
- draggable: {
763
- type: Boolean,
764
- default: false
765
- },
766
- dragHandleIcon: { default: "i-lucide-grip-vertical" },
767
- allowDrop: {},
768
- allowDrag: {}
769
- },
770
- emits: [
771
- "nodeClick",
772
- "nodeExpand",
773
- "nodeCollapse",
774
- "nodeDrop",
775
- "nodeContextMenu",
776
- "update:checkedKeys",
777
- "check"
778
- ],
779
- setup(__props, { expose: __expose, emit: __emit }) {
780
- const MOVE_KEYS = /* @__PURE__ */ new Set([
781
- "ArrowUp",
782
- "ArrowDown",
783
- "ArrowLeft",
784
- "ArrowRight"
785
- ]);
786
- const props = __props;
787
- const emit = __emit;
788
- const treeStore = createGrTreeStore({
789
- adapter: createGrTreeDataAdapter(props),
790
- data: () => props.data,
791
- defaultExpandedKeys: () => props.defaultExpandedKeys,
792
- defaultExpandAll: () => props.defaultExpandAll,
793
- filterNodeMethod: () => props.filterNodeMethod,
794
- defaultCheckedKeys: () => props.defaultCheckedKeys,
795
- checkedKeys: () => props.checkedKeys,
796
- checkStrictly: () => props.checkStrictly,
797
- lazy: () => props.lazy,
798
- load: () => props.load
799
- });
800
- const interactionContext = createGrTreeInteractionContext(props, {
801
- emitNodeClick: (data, node) => emit("nodeClick", data, node),
802
- emitNodeExpand: (data, node) => emit("nodeExpand", data, node),
803
- emitNodeCollapse: (data, node) => emit("nodeCollapse", data, node),
804
- emitNodeDrop: (draggingNode, dropNode, dropType) => emit("nodeDrop", draggingNode, dropNode, dropType),
805
- emitNodeContextMenu: (evt, data, node) => emit("nodeContextMenu", evt, data, node)
806
- });
807
- const treeProps = props;
808
- const { t } = useGranularityTranslations();
809
- const { announce } = useAnnouncer();
810
- const dragLabel = computed(() => treeProps.dragLabel ?? t("gr.tree.drag", "Drag"));
811
- const expandLabel = computed(() => treeProps.expandLabel ?? t("gr.tree.expand", "Expand"));
812
- const collapseLabel = computed(() => treeProps.collapseLabel ?? t("gr.tree.collapse", "Collapse"));
813
- const currentKey = treeStore.currentKey;
814
- const hoveredKey = interactionContext.hoveredKey;
815
- const dropTarget = interactionContext.dropTarget;
816
- const treeRootEl = ref(null);
817
- /**
818
- * Видимые строки одним плоским списком в порядке отображения.
819
- *
820
- * Плоско — потому что рекурсивный рендер стоил по инстансу компонента на каждый
821
- * раскрытый узел: дерево на 2 000 видимых строк превращалось в 2 000
822
- * компонентов со своими вычислениями и подписками. Иерархию несут `aria-level`,
823
- * `aria-posinset` и `aria-setsize`, отступ — `padding-left` строки.
824
- */
825
- const visibleRows = computed(() => {
826
- const { roots } = treeStore.treeModel.value;
827
- const { isActive, subtreeHasMatch, matchedKeys, autoExpandKeys } = treeStore.filterInfo.value;
828
- const branch = treeProps.branchLine;
829
- const rows = [];
830
- const walk = (nodes, ancestorColors) => {
831
- const siblings = isActive ? nodes.filter((node) => subtreeHasMatch.get(node.key)) : nodes;
832
- siblings.forEach((node, index) => {
833
- const isLeaf = treeStore.isLeafNode(node);
834
- const isExpanded = treeStore.isExpandedKey(node.key) || isActive && autoExpandKeys.has(node.key);
835
- rows.push({
836
- node,
837
- isExpanded,
838
- isLeaf,
839
- isMatched: matchedKeys.has(node.key),
840
- posInSet: index + 1,
841
- setSize: siblings.length,
842
- isLoading: treeStore.isLoadingKey(node.key),
843
- branchColors: ancestorColors
844
- });
845
- if (isExpanded && node.childNodes.length) walk(node.childNodes, branch ? [...ancestorColors, resolveBranchLineColor(node)] : ancestorColors);
846
- });
847
- };
848
- walk(roots, []);
849
- return rows;
850
- });
851
- /**
852
- * Кольцо roving-фокуса: ровно один `treeitem` на всё дерево держит `tabindex=0`.
853
- *
854
- * Ориентация вертикальная намеренно: влево-вправо в дереве заняты раскрытием
855
- * ветки и переходом к родителю, и примитив их не трогает — это доменная логика,
856
- * она осталась в `onTreeKeydown`.
857
- */
858
- const roving = useRovingFocus({
859
- items: () => visibleRows.value.map((row) => row.node.key),
860
- elementFor: (key) => interactionContext.nodeEls.get(key),
861
- orientation: () => "vertical",
862
- wrap: () => false,
863
- onOverflow: () => true,
864
- initialKey: () => currentKey.value ?? void 0,
865
- beforeFocus: (key) => scrollRowIntoView(key)
866
- });
867
- function onRowClick(node) {
868
- treeStore.setCurrentKey(node.key);
869
- roving.setActive(node.key);
870
- interactionContext.emitNodeClick(node.data, node);
871
- }
872
- function onRowActivate(row) {
873
- onRowClick(row.node);
874
- if (treeProps.expandOnClickNode && !row.isLeaf) toggleExpand(row.node);
875
- }
876
- function onRowContextMenu(evt, node) {
877
- interactionContext.emitNodeContextMenu(evt, node.data, node);
878
- }
879
- function isRovingItem(key) {
880
- return roving.rovingKey.value === key;
881
- }
882
- const resolvedSize = useGrComponentSize(() => props.size, { component: "GrTree" });
883
- const sizeStyle = computed(() => treeSizeVars[resolvedSize.value]);
884
- /**
885
- * Виртуализация: в DOM живёт только окно вокруг вьюпорта.
886
- *
887
- * Корень дерева и есть скроллер — обёрток-распорок между `role="tree"` и
888
- * `role="treeitem"` быть не должно, поэтому срезанное сверху и снизу держат
889
- * отступы самого корня.
890
- */
891
- const rowEstimate = computed(() => Number.parseFloat(sizeStyle.value["--gr-tree-row-min-height"]));
892
- const virtualMaxHeight = computed(() => {
893
- const value = treeProps.maxHeight;
894
- if (value == null) return void 0;
895
- return typeof value === "number" ? `${value}px` : value;
896
- });
897
- const virtualizer = useVirtualList({
898
- container: treeRootEl,
899
- count: () => treeProps.virtual ? visibleRows.value.length : 0,
900
- source: () => visibleRows.value,
901
- itemSize: () => rowEstimate.value,
902
- gap: TREE_ROW_GAP,
903
- viewportSize: () => typeof treeProps.maxHeight === "number" ? treeProps.maxHeight : void 0
904
- });
905
- /** Строки к отрисовке: при выключенной виртуализации — все. */
906
- const renderedRows = computed(() => {
907
- if (!treeProps.virtual) return visibleRows.value;
908
- const { start, end } = virtualizer.range.value;
909
- return visibleRows.value.slice(start, end);
910
- });
911
- /**
912
- * Срезанное сверху и снизу держат псевдоэлементы контейнера.
913
- *
914
- * Ни один из трёх напрашивающихся вариантов не годится:
915
- *
916
- * - `padding` контейнера — `max-height` меряет ту же коробку, и распорка в сто
917
- * тысяч пикселей либо раздувает скроллер до той же сотни тысяч, либо съедает
918
- * всю его высоту;
919
- * - обёртка-распорка внутри — между `role="tree"` и `role="treeitem"` не должно
920
- * быть посторонних узлов, роль потеряла бы обязательных потомков;
921
- * - отступы крайних отрисованных строк — распорка исчезает ровно в тот момент,
922
- * когда строки заменяются целиком (прыжок прокрутки), содержимое схлопывается
923
- * до высоты окна, и браузер обрезает `scrollTop` до почти нуля.
924
- *
925
- * `::before`/`::after` не узлы DOM: их не за что размонтировать, в дереве
926
- * доступности их нет, а высота приезжает переменными в том же патче, что и сами
927
- * строки, — схлопнуться между кадрами нечему.
928
- */
929
- const rootStyle = computed(() => {
930
- if (!treeProps.virtual) return sizeStyle.value;
931
- return {
932
- ...sizeStyle.value,
933
- overflow: "auto",
934
- maxHeight: virtualMaxHeight.value,
935
- ...virtualizer.spacerStyle.value
936
- };
937
- });
938
- /** Абсолютный индекс отрисованной строки: поиск по массиву стоил бы O(n) на строку. */
939
- function absoluteIndex(offsetInWindow) {
940
- return treeProps.virtual ? virtualizer.range.value.start + offsetInWindow : offsetInWindow;
941
- }
942
- /**
943
- * Строка размонтируется: снимаем регистрацию и, если фокус был на ней, уводим
944
- * его на корень — делегированный keydown живёт там, первая же стрелка вернёт
945
- * видимую строку через `focusRow`. Иначе фокус упал бы на `body` и клавиатура
946
- * дерева умерла бы до клика мышью.
947
- *
948
- * Спрашиваем сам элемент, а не `document.activeElement === body`: Vue обнуляет
949
- * function ref ДО удаления узла, поэтому в момент вызова фокус ещё на строке —
950
- * а «фокус на body» означает лишь то, что страницу никто не трогал.
951
- */
952
- let isUnmounting = false;
953
- function releaseNodeEl(key) {
954
- const el = interactionContext.nodeEls.get(key);
955
- const active = typeof document === "undefined" ? null : document.activeElement;
956
- const heldFocus = Boolean(el && active && (el === active || el.contains(active)));
957
- interactionContext.registerNodeEl(key, null);
958
- if (heldFocus && !isUnmounting) treeRootEl.value?.focus({ preventScroll: true });
959
- }
960
- /**
961
- * При виртуализации узла вне окна в DOM нет: `nodeEls.get` вернул бы
962
- * `undefined`, а фокус уехал бы на `body` вместе с размонтированной строкой.
963
- * Поэтому сперва прокрутка, и только следующим тиком — фокус.
964
- */
965
- function scrollRowIntoView(key) {
966
- if (treeProps.virtual) {
967
- const index = visibleRows.value.findIndex((row) => row.node.key === key);
968
- if (index >= 0) virtualizer.scrollToIndex(index);
969
- }
970
- return nextTick();
971
- }
972
- function focusRow(key) {
973
- roving.focusKey(key);
974
- }
975
- /**
976
- * Typeahead паттерна tree: печатные символы копятся в буфер и переводят фокус
977
- * на первый подходящий видимый узел, начиная со следующего за текущим.
978
- */
979
- let typeaheadBuffer = "";
980
- let typeaheadTimer;
981
- function onTypeahead(char, rows, fromIndex) {
982
- clearTimeout(typeaheadTimer);
983
- typeaheadTimer = setTimeout(() => {
984
- typeaheadBuffer = "";
985
- }, TYPEAHEAD_RESET_MS);
986
- typeaheadBuffer = typeaheadBuffer.length === 1 && typeaheadBuffer === char ? char : typeaheadBuffer + char;
987
- const query = typeaheadBuffer.toLowerCase();
988
- const total = rows.length;
989
- for (let step = 1; step <= total; step += 1) {
990
- const row = rows[(fromIndex + step) % total];
991
- if (row.node.label.toLowerCase().startsWith(query)) {
992
- focusRow(row.node.key);
993
- return;
994
- }
995
- }
996
- }
997
- /** `*` — раскрыть всех соседей узла, на котором фокус (уровень целиком). */
998
- function expandSiblings(node) {
999
- const siblings = node.parent ? node.parent.childNodes : treeStore.treeModel.value.roots;
1000
- for (const sibling of siblings) {
1001
- if (sibling.childNodes.length === 0 || treeStore.isExpandedKey(sibling.key)) continue;
1002
- treeStore.setExpandedKey(sibling.key, true);
1003
- interactionContext.emitNodeExpand(sibling.data, sibling);
1004
- }
1005
- }
1006
- function onTreeKeydown(event) {
1007
- const interactive = event.target?.closest("button, a[href], input, select, textarea, [contenteditable]");
1008
- if (interactive && interactive !== event.currentTarget) {
1009
- if (interactive.tabIndex >= 0) return;
1010
- if (event.key === "Enter" || event.key === " ") return;
1011
- }
1012
- const rows = visibleRows.value;
1013
- if (rows.length === 0) return;
1014
- const idx = Math.max(0, rows.findIndex((r) => r.node.key === roving.rovingKey.value));
1015
- const cur = rows[idx];
1016
- if (event.key === "*") {
1017
- event.preventDefault();
1018
- expandSiblings(cur.node);
1019
- return;
1020
- }
1021
- if (event.key.length === 1 && event.key !== " " && !event.ctrlKey && !event.metaKey && !event.altKey) {
1022
- event.preventDefault();
1023
- onTypeahead(event.key, rows, idx);
1024
- return;
1025
- }
1026
- if (event.shiftKey && MOVE_KEYS.has(event.key)) {
1027
- if (!treeProps.draggable) return;
1028
- event.preventDefault();
1029
- onNodeMoveKey(cur.node, event.key);
1030
- return;
1031
- }
1032
- if (roving.handleNavigationKeys(event)) return;
1033
- switch (event.key) {
1034
- case "ArrowRight":
1035
- event.preventDefault();
1036
- if (!cur.isLeaf) {
1037
- if (!cur.isExpanded) toggleExpand(cur.node);
1038
- else if (idx < rows.length - 1) focusRow(rows[idx + 1].node.key);
1039
- }
1040
- break;
1041
- case "ArrowLeft":
1042
- event.preventDefault();
1043
- if (!cur.isLeaf && cur.isExpanded) toggleExpand(cur.node);
1044
- else if (cur.node.parent && rows.some((r) => r.node.key === cur.node.parent.key)) focusRow(cur.node.parent.key);
1045
- break;
1046
- case "Enter":
1047
- event.preventDefault();
1048
- onRowClick(cur.node);
1049
- break;
1050
- case " ":
1051
- event.preventDefault();
1052
- if (treeProps.showCheckbox) toggleChecked(cur.node);
1053
- else onRowClick(cur.node);
1054
- break;
1055
- }
1056
- }
1057
- function onRowMouseEnter(node) {
1058
- hoveredKey.value = node.key;
1059
- }
1060
- function onRowMouseLeave(node) {
1061
- if (hoveredKey.value === node.key) hoveredKey.value = void 0;
1062
- }
1063
- function collapseSiblings(node) {
1064
- const siblings = node.parent ? node.parent.childNodes : treeStore.treeModel.value.roots;
1065
- for (const sibling of siblings) {
1066
- if (sibling.key === node.key || !treeStore.isExpandedKey(sibling.key)) continue;
1067
- treeStore.setExpandedKey(sibling.key, false);
1068
- interactionContext.emitNodeCollapse(sibling.data, sibling);
1069
- }
1070
- }
1071
- function toggleExpand(node) {
1072
- const expanded = !treeStore.isExpandedKey(node.key);
1073
- if (expanded && treeProps.accordion) collapseSiblings(node);
1074
- if (expanded) treeStore.ensureLoaded(node);
1075
- treeStore.toggleExpand(node);
1076
- if (expanded) interactionContext.emitNodeExpand(node.data, node);
1077
- else interactionContext.emitNodeCollapse(node.data, node);
1078
- }
1079
- function checkStateOf(key) {
1080
- return treeStore.getCheckState(key);
1081
- }
1082
- function ariaCheckedOf(row) {
1083
- if (!treeProps.showCheckbox) return void 0;
1084
- const state = checkStateOf(row.node.key);
1085
- return state === "checked" ? "true" : state === "half" ? "mixed" : "false";
1086
- }
1087
- function emitCheck(node) {
1088
- const checkedKeys = treeStore.getCheckedKeys();
1089
- emit("update:checkedKeys", checkedKeys);
1090
- emit("check", node.data, node, {
1091
- checkedKeys,
1092
- halfCheckedKeys: treeStore.getHalfCheckedKeys()
1093
- });
1094
- }
1095
- function toggleChecked(node) {
1096
- if (!treeProps.showCheckbox) return;
1097
- const changed = treeStore.toggleChecked(node);
1098
- if (changed) emitCheck(changed);
1099
- }
1100
- function rowStyle(row) {
1101
- return { "--gr-tree-row-indent": `calc(${treeProps.indent && treeProps.indent > 0 ? `${treeProps.indent}px` : "var(--gr-tree-indent-step)"} * ${row.node.level - 1})` };
1102
- }
1103
- /**
1104
- * Направляющая уровня-предка. Считается от того же шага отступа, что и сам
1105
- * отступ строки, — иначе линия и содержимое разъедутся на вложенных уровнях.
1106
- */
1107
- function branchGuideStyle(row, index) {
1108
- return {
1109
- "left": `calc(${treeProps.indent && treeProps.indent > 0 ? `${treeProps.indent}px` : "var(--gr-tree-indent-step)"} * ${index} + var(--gr-tree-branch-line-offset))`,
1110
- "--gr-tree-branch-line-color": row.branchColors[index]
1111
- };
1112
- }
1113
- function canDrag(node) {
1114
- return interactionContext.canDrag(node);
1115
- }
1116
- function shouldShowDragHandle(node) {
1117
- return canDrag(node) && hoveredKey.value === node.key;
1118
- }
1119
- /**
1120
- * Треть строки сверху — «до», треть снизу — «после», середина — «внутрь».
1121
- * Зоны нарезает компонент: примитив отдаёт только долю вдоль строки.
1122
- */
1123
- function dropTypeFromFraction(fraction) {
1124
- if (fraction < 1 / 3) return "prev";
1125
- if (fraction > 2 / 3) return "next";
1126
- return "inner";
1127
- }
1128
- function canDrop(drag, target, type) {
1129
- return interactionContext.canDrop(drag, target, type);
1130
- }
1131
- /** Перенос состоялся: одна дорога и для указателя, и для клавиатуры. */
1132
- function applyMove(source, targetKey, type) {
1133
- const reference = treeStore.getNode(targetKey);
1134
- if (!reference) return false;
1135
- const movedNode = treeStore.moveNode(source, reference, type);
1136
- if (!movedNode) return false;
1137
- const dropNode = treeStore.getNode(reference.key) ?? reference;
1138
- interactionContext.emitNodeDrop(movedNode, dropNode, type);
1139
- return true;
1140
- }
1141
- const dragSort = useDragSort({
1142
- items: () => visibleRows.value.map((row) => row.node.key),
1143
- elementFor: (key) => interactionContext.nodeEls.get(key) ?? null,
1144
- scroller: () => treeRootEl.value,
1145
- disabled: () => !treeProps.draggable,
1146
- canDrag: (key) => {
1147
- const node = treeStore.getNode(key);
1148
- return node ? canDrag(node) : false;
1149
- },
1150
- resolveTarget: (hit, sourceKey, previous) => {
1151
- const source = treeStore.getNode(sourceKey);
1152
- const node = treeStore.getNode(hit.key);
1153
- if (!source || !node) return null;
1154
- const type = dropTypeFromFraction(hit.fraction);
1155
- const allowed = treeStore.canMoveNode(source, node, type) && canDrop(source, node, type);
1156
- if (previous && previous.key === node.key && previous.type === type && previous.allowed === allowed) return previous;
1157
- return {
1158
- key: node.key,
1159
- type,
1160
- allowed
1161
- };
1162
- },
1163
- onDrop: (sourceKey, target) => {
1164
- const source = treeStore.getNode(sourceKey);
1165
- if (!source || !target.allowed) return;
1166
- applyMove(source, target.key, target.type);
1167
- },
1168
- onUpdate: (sourceKey, target) => {
1169
- interactionContext.draggingNode.value = sourceKey === null ? null : treeStore.getNode(sourceKey) ?? null;
1170
- interactionContext.dropTarget.value = target;
1171
- }
1172
- });
1173
- function onHandlePointerDown(event, node) {
1174
- if (!treeProps.draggable) return;
1175
- dragSort.startFrom(node.key)(event);
1176
- }
1177
- /**
1178
- * Клавиатурный перенос — раскладка аутлайнера: `Shift` со стрелкой сразу
1179
- * двигает узел, без режима «взято». Режим здесь был бы лишним: `Space` в дереве
1180
- * уже отмечает чекбокс, а стрелки водят фокус по веткам.
1181
- */
1182
- function moveByKeyboard(node, key) {
1183
- const siblings = node.parent ? node.parent.childNodes : treeStore.treeModel.value.roots;
1184
- const index = siblings.findIndex((sibling) => sibling.key === node.key);
1185
- if (key === "ArrowUp" && index > 0) return applyMove(node, siblings[index - 1].key, "prev");
1186
- if (key === "ArrowDown" && index >= 0 && index < siblings.length - 1) return applyMove(node, siblings[index + 1].key, "next");
1187
- if (key === "ArrowRight" && index > 0) return applyMove(node, siblings[index - 1].key, "inner");
1188
- if (key === "ArrowLeft" && node.parent) return applyMove(node, node.parent.key, "next");
1189
- return false;
1190
- }
1191
- async function onNodeMoveKey(node, key) {
1192
- if (!treeProps.draggable || !canDrag(node)) return;
1193
- if (!moveByKeyboard(node, key)) return;
1194
- announce(t("gr.tree.moved", "Moved {label}", { label: node.label }));
1195
- await nextTick();
1196
- focusRow(node.key);
1197
- }
1198
- function filter(value) {
1199
- treeStore.filter(value);
1200
- }
1201
- function resolveNodeClass(classValue, row) {
1202
- if (!classValue) return void 0;
1203
- return typeof classValue === "function" ? classValue(row) : classValue;
1204
- }
1205
- function resolveBranchLineColorValue(color, node) {
1206
- if (!color) return void 0;
1207
- return typeof color === "function" ? color(node) ?? void 0 : color;
1208
- }
1209
- function isBranchLineActive(node) {
1210
- const selectedKey = currentKey.value;
1211
- if (selectedKey == null) return false;
1212
- if (node.key === selectedKey) return true;
1213
- return node.childNodes.some((child) => child.key === selectedKey && !treeStore.isExpandedKey(child.key));
1214
- }
1215
- function resolveBranchLineColor(node) {
1216
- const defaultColor = resolveBranchLineColorValue(treeProps.branchLineColor, node) ?? DEFAULT_BRANCH_LINE_COLOR;
1217
- if (!isBranchLineActive(node)) return defaultColor;
1218
- return resolveBranchLineColorValue(treeProps.branchLineActiveColor, node) ?? defaultColor;
1219
- }
1220
- /**
1221
- * Переводит фокус на узел (по умолчанию — на тот, что держит roving tabindex).
1222
- * Нужен снаружи: `GrTreeSelect` открывает панель и обязан отдать клавиатуру
1223
- * дереву, иначе стрелки из триггера никуда не ведут.
1224
- */
1225
- function focus(key) {
1226
- const rows = visibleRows.value;
1227
- if (rows.length === 0) return false;
1228
- focusRow(key != null && rows.some((row) => row.node.key === key) ? key : roving.rovingKey.value ?? rows[0].node.key);
1229
- return true;
1230
- }
1231
- onUnmounted(() => clearTimeout(typeaheadTimer));
1232
- onBeforeUnmount(() => {
1233
- isUnmounting = true;
1234
- });
1235
- __expose({
1236
- appendNode: treeStore.appendNode,
1237
- getCheckedKeys: (options) => treeStore.getCheckedKeys(options),
1238
- setCheckedKeys: (keys) => {
1239
- treeStore.setCheckedKeys(keys);
1240
- emit("update:checkedKeys", treeStore.getCheckedKeys());
1241
- },
1242
- getHalfCheckedKeys: treeStore.getHalfCheckedKeys,
1243
- setChecked: (node, checked) => {
1244
- const changed = treeStore.setChecked(node, checked);
1245
- if (changed) emitCheck(changed);
1246
- return Boolean(changed);
1247
- },
1248
- filter,
1249
- focus,
1250
- getCurrentNode: treeStore.getCurrentNode,
1251
- setCurrentKey: treeStore.setCurrentKey,
1252
- getCurrentKey: treeStore.getCurrentKey,
1253
- getNode: treeStore.getNode,
1254
- insertNodeAfter: treeStore.insertNodeAfter,
1255
- insertNodeBefore: treeStore.insertNodeBefore,
1256
- removeNode: treeStore.removeNode,
1257
- setCurrentNode: treeStore.setCurrentNode
1258
- });
1259
- return (_ctx, _cache) => {
1260
- return openBlock(), createElementBlock("div", {
1261
- ref_key: "treeRootEl",
1262
- ref: treeRootEl,
1263
- "data-gr-tree": "",
1264
- class: "gr-tree",
1265
- tabindex: "-1",
1266
- "data-gr-virtual": unref(treeProps).virtual ? "" : void 0,
1267
- role: "tree",
1268
- "aria-multiselectable": unref(treeProps).showCheckbox ? "true" : void 0,
1269
- style: normalizeStyle(rootStyle.value),
1270
- onKeydown: onTreeKeydown
1271
- }, [(openBlock(true), createElementBlock(Fragment, null, renderList(renderedRows.value, (row, windowIndex) => {
1272
- return openBlock(), createElementBlock("div", {
1273
- key: row.node.key,
1274
- ref_for: true,
1275
- ref: (el) => {
1276
- if (el) unref(interactionContext).registerNodeEl(row.node.key, el);
1277
- else releaseNodeEl(row.node.key);
1278
- if (unref(treeProps).virtual) unref(virtualizer).measure(absoluteIndex(windowIndex), el);
1279
- },
1280
- "data-gr-tree-node": "",
1281
- "data-gr-tree-node-key": row.node.key,
1282
- role: "treeitem",
1283
- "aria-level": row.node.level,
1284
- "aria-posinset": row.posInSet,
1285
- "aria-setsize": row.setSize,
1286
- "aria-expanded": row.isLeaf ? void 0 : row.isExpanded,
1287
- "aria-selected": unref(currentKey) === row.node.key ? "true" : void 0,
1288
- "aria-checked": ariaCheckedOf(row),
1289
- "aria-busy": row.isLoading ? "true" : void 0,
1290
- tabindex: isRovingItem(row.node.key) ? 0 : -1
1291
- }, [createElementVNode("div", {
1292
- "data-gr-tree-row": "",
1293
- class: normalizeClass(["gr-tree__row", [
1294
- unref(treeProps).highlightCurrent && unref(currentKey) === row.node.key ? "gr-tree__row--current" : "",
1295
- row.isMatched ? "gr-tree__row--matched" : "",
1296
- unref(dropTarget)?.key === row.node.key && unref(dropTarget).allowed && unref(dropTarget).type === "inner" ? "gr-tree__row--drop-inner" : "",
1297
- unref(dropTarget)?.key === row.node.key && unref(dropTarget).allowed && unref(dropTarget).type === "prev" ? "gr-tree__row--drop-prev" : "",
1298
- unref(dropTarget)?.key === row.node.key && unref(dropTarget).allowed && unref(dropTarget).type === "next" ? "gr-tree__row--drop-next" : "",
1299
- resolveNodeClass(unref(treeProps).rowClass, row)
1300
- ]]),
1301
- style: normalizeStyle(rowStyle(row)),
1302
- onClick: ($event) => onRowActivate(row),
1303
- onContextmenu: ($event) => onRowContextMenu($event, row.node),
1304
- onDrop: _cache[1] || (_cache[1] = withModifiers(() => {}, ["prevent"])),
1305
- onMouseenter: ($event) => onRowMouseEnter(row.node),
1306
- onMouseleave: ($event) => onRowMouseLeave(row.node)
1307
- }, [
1308
- (openBlock(true), createElementBlock(Fragment, null, renderList(row.branchColors, (color, guideIndex) => {
1309
- return openBlock(), createElementBlock("span", {
1310
- key: guideIndex,
1311
- "data-gr-tree-branch-guide": "",
1312
- class: "gr-tree__branch-guide",
1313
- style: normalizeStyle(branchGuideStyle(row, guideIndex)),
1314
- "aria-hidden": "true"
1315
- }, null, 4);
1316
- }), 128)),
1317
- unref(treeProps).draggable ? (openBlock(), createElementBlock("button", {
1318
- key: 0,
1319
- type: "button",
1320
- tabindex: "-1",
1321
- "data-gr-tree-drag-handle": "",
1322
- class: normalizeClass(["gr-tree__drag-handle", [
1323
- shouldShowDragHandle(row.node) ? "gr-tree__drag-handle--visible" : "",
1324
- canDrag(row.node) ? "" : "gr-tree__drag-handle--disabled",
1325
- resolveNodeClass(unref(treeProps).dragHandleClass, row)
1326
- ]]),
1327
- "aria-label": dragLabel.value,
1328
- "aria-disabled": canDrag(row.node) ? void 0 : "true",
1329
- onClick: _cache[0] || (_cache[0] = withModifiers(() => {}, ["stop"])),
1330
- onPointerdown: ($event) => onHandlePointerDown($event, row.node)
1331
- }, [createElementVNode("span", { class: normalizeClass(["gr-tree__drag-icon", unref(treeProps).dragHandleIcon]) }, null, 2)], 42, _hoisted_4)) : createCommentVNode("", true),
1332
- !row.isLeaf ? (openBlock(), createElementBlock("button", {
1333
- key: 1,
1334
- "data-gr-tree-toggle": "",
1335
- type: "button",
1336
- tabindex: "-1",
1337
- class: normalizeClass(["gr-tree__toggle", resolveNodeClass(unref(treeProps).toggleClass, row)]),
1338
- "aria-label": row.isExpanded ? collapseLabel.value : expandLabel.value,
1339
- onClick: withModifiers(($event) => toggleExpand(row.node), ["stop"])
1340
- }, [row.isLoading ? (openBlock(), createElementBlock("span", _hoisted_6)) : (openBlock(), createElementBlock("span", {
1341
- key: 1,
1342
- class: normalizeClass(["gr-tree__toggle-icon", [
1343
- row.isExpanded ? unref(treeProps).collapseIcon : unref(treeProps).expandIcon,
1344
- row.isExpanded && unref(treeProps).toggleIconRotate ? "gr-tree__toggle-icon--expanded" : "",
1345
- resolveNodeClass(unref(treeProps).toggleIconClass, row)
1346
- ]])
1347
- }, null, 2))], 10, _hoisted_5)) : (openBlock(), createElementBlock("span", {
1348
- key: 2,
1349
- class: normalizeClass(["gr-tree__toggle-spacer", resolveNodeClass(unref(treeProps).toggleSpacerClass, row)])
1350
- }, null, 2)),
1351
- unref(treeProps).showCheckbox ? (openBlock(), createElementBlock("span", {
1352
- key: 3,
1353
- "data-gr-tree-checkbox": "",
1354
- class: normalizeClass(["gr-tree__checkbox", [checkStateOf(row.node.key) === "checked" ? "gr-tree__checkbox--checked" : "", checkStateOf(row.node.key) === "half" ? "gr-tree__checkbox--half" : ""]]),
1355
- "aria-hidden": "true",
1356
- onClick: withModifiers(($event) => toggleChecked(row.node), ["stop"])
1357
- }, [checkStateOf(row.node.key) !== "unchecked" ? (openBlock(), createElementBlock("span", {
1358
- key: 0,
1359
- class: normalizeClass(["gr-tree__checkbox-mark", checkStateOf(row.node.key) === "half" ? "i-lucide-minus" : "i-lucide-check"])
1360
- }, null, 2)) : createCommentVNode("", true)], 10, _hoisted_7)) : createCommentVNode("", true),
1361
- createElementVNode("div", { class: normalizeClass(["gr-tree__content", resolveNodeClass(unref(treeProps).contentClass, row)]) }, [renderSlot(_ctx.$slots, "default", {
1362
- node: row.node,
1363
- data: row.node.data
1364
- }, () => [createElementVNode("span", _hoisted_8, toDisplayString(row.node.label), 1)], true)], 2)
1365
- ], 46, _hoisted_3)], 8, _hoisted_2);
1366
- }), 128))], 44, _hoisted_1);
1367
- };
1368
- }
1369
- }), [["__scopeId", "data-v-d84c923c"]]);
1370
- //#endregion
1371
- export { GrTree_default as t };