@feugene/granularity 0.13.0 → 0.18.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 (1266) hide show
  1. package/README.md +14 -1
  2. package/dist/chunks/adapter-CAOxmn2G.js.map +1 -1
  3. package/dist/chunks/check-BZI24Qs4.js +23 -0
  4. package/dist/chunks/check-BZI24Qs4.js.map +1 -0
  5. package/dist/chunks/chevron-down-CQS2OG_s.js +23 -0
  6. package/dist/chunks/chevron-down-CQS2OG_s.js.map +1 -0
  7. package/dist/chunks/chevron-right-BfqMVpbB.js +44 -0
  8. package/dist/chunks/chevron-right-BfqMVpbB.js.map +1 -0
  9. package/dist/chunks/config-06SQjBx0.js +96 -0
  10. package/dist/chunks/config-06SQjBx0.js.map +1 -0
  11. package/dist/chunks/config-A-bBiotF.js +12 -0
  12. package/dist/chunks/config-A-bBiotF.js.map +1 -0
  13. package/dist/chunks/config-B-iNaGdw.js +199 -0
  14. package/dist/chunks/config-B-iNaGdw.js.map +1 -0
  15. package/dist/chunks/config-B84z1aos.js +19 -0
  16. package/dist/chunks/config-B84z1aos.js.map +1 -0
  17. package/dist/chunks/config-BDfTXHo12.js +23 -0
  18. package/dist/chunks/config-BDfTXHo12.js.map +1 -0
  19. package/dist/chunks/config-BE6n20np2.js +27 -0
  20. package/dist/chunks/config-BE6n20np2.js.map +1 -0
  21. package/dist/chunks/config-BKvX0q10.js +89 -0
  22. package/dist/chunks/config-BKvX0q10.js.map +1 -0
  23. package/dist/chunks/config-BN4sXYXn.js +77 -0
  24. package/dist/chunks/config-BN4sXYXn.js.map +1 -0
  25. package/dist/chunks/config-BNu8lFQB.js.map +1 -1
  26. package/dist/chunks/config-BSyiFlbi.js +17 -0
  27. package/dist/chunks/config-BSyiFlbi.js.map +1 -0
  28. package/dist/chunks/config-BViooYNv.js +13 -0
  29. package/dist/chunks/config-BViooYNv.js.map +1 -0
  30. package/dist/chunks/config-Baj7Wvx-.js +72 -0
  31. package/dist/chunks/config-Baj7Wvx-.js.map +1 -0
  32. package/dist/chunks/config-BbY2SKGE.js +90 -0
  33. package/dist/chunks/config-BbY2SKGE.js.map +1 -0
  34. package/dist/chunks/config-BeZRuonp.js +54 -0
  35. package/dist/chunks/config-BeZRuonp.js.map +1 -0
  36. package/dist/chunks/config-BoNR7_PD2.js +140 -0
  37. package/dist/chunks/config-BoNR7_PD2.js.map +1 -0
  38. package/dist/chunks/config-Bpt9Xbxm.js +49 -0
  39. package/dist/chunks/config-Bpt9Xbxm.js.map +1 -0
  40. package/dist/chunks/config-BqFjr3tN.js +131 -0
  41. package/dist/chunks/config-BqFjr3tN.js.map +1 -0
  42. package/dist/chunks/config-BsPDQ0dS.js +97 -0
  43. package/dist/chunks/config-BsPDQ0dS.js.map +1 -0
  44. package/dist/chunks/config-BsuDM3Hb.js +55 -0
  45. package/dist/chunks/config-BsuDM3Hb.js.map +1 -0
  46. package/dist/chunks/config-BtXRpAtq.js +48 -0
  47. package/dist/chunks/config-BtXRpAtq.js.map +1 -0
  48. package/dist/chunks/config-BuGlNPE9.js +8 -0
  49. package/dist/chunks/config-BuGlNPE9.js.map +1 -0
  50. package/dist/chunks/config-C0Ea9ePP.js +15 -0
  51. package/dist/chunks/config-C0Ea9ePP.js.map +1 -0
  52. package/dist/chunks/config-CN2ULSQL.js +36 -0
  53. package/dist/chunks/config-CN2ULSQL.js.map +1 -0
  54. package/dist/chunks/config-CN970ZcJ.js +113 -0
  55. package/dist/chunks/config-CN970ZcJ.js.map +1 -0
  56. package/dist/chunks/config-COpuWGr_.js +72 -0
  57. package/dist/chunks/config-COpuWGr_.js.map +1 -0
  58. package/dist/chunks/config-COvrUfhR.js +83 -0
  59. package/dist/chunks/config-COvrUfhR.js.map +1 -0
  60. package/dist/chunks/config-CQzGyi1C.js +54 -0
  61. package/dist/chunks/config-CQzGyi1C.js.map +1 -0
  62. package/dist/chunks/config-CY0_6cMi.js +51 -0
  63. package/dist/chunks/config-CY0_6cMi.js.map +1 -0
  64. package/dist/chunks/config-CjXjhphs.js +12 -0
  65. package/dist/chunks/config-CjXjhphs.js.map +1 -0
  66. package/dist/chunks/config-CjnbevbD.js +13 -0
  67. package/dist/chunks/config-CjnbevbD.js.map +1 -0
  68. package/dist/chunks/config-Cl4ST6Qd.js +21 -0
  69. package/dist/chunks/config-Cl4ST6Qd.js.map +1 -0
  70. package/dist/chunks/config-Cp0DE0GH.js +12 -0
  71. package/dist/chunks/config-Cp0DE0GH.js.map +1 -0
  72. package/dist/chunks/config-Cwd3yjRw.js +41 -0
  73. package/dist/chunks/config-Cwd3yjRw.js.map +1 -0
  74. package/dist/chunks/config-D2aNP7Es.js +70 -0
  75. package/dist/chunks/config-D2aNP7Es.js.map +1 -0
  76. package/dist/chunks/config-D3_g2KIn.js +120 -0
  77. package/dist/chunks/config-D3_g2KIn.js.map +1 -0
  78. package/dist/chunks/config-D6W1rnlp.js +26 -0
  79. package/dist/chunks/config-D6W1rnlp.js.map +1 -0
  80. package/dist/chunks/config-D94Z9po5.js +126 -0
  81. package/dist/chunks/config-D94Z9po5.js.map +1 -0
  82. package/dist/chunks/config-DA6SnEoy.js +22 -0
  83. package/dist/chunks/config-DA6SnEoy.js.map +1 -0
  84. package/dist/chunks/config-DBmdgoVf.js.map +1 -1
  85. package/dist/chunks/config-DCFvmHEv2.js +76 -0
  86. package/dist/chunks/config-DCFvmHEv2.js.map +1 -0
  87. package/dist/chunks/config-DEvsMTQE.js +150 -0
  88. package/dist/chunks/config-DEvsMTQE.js.map +1 -0
  89. package/dist/chunks/config-DKdlqXiY.js +109 -0
  90. package/dist/chunks/config-DKdlqXiY.js.map +1 -0
  91. package/dist/chunks/config-DP7eseR1.js +92 -0
  92. package/dist/chunks/config-DP7eseR1.js.map +1 -0
  93. package/dist/chunks/config-DSJY6aEl.js +80 -0
  94. package/dist/chunks/config-DSJY6aEl.js.map +1 -0
  95. package/dist/chunks/config-DU2DNSRx2.js +116 -0
  96. package/dist/chunks/config-DU2DNSRx2.js.map +1 -0
  97. package/dist/chunks/config-DhHbU3zO.js +37 -0
  98. package/dist/chunks/config-DhHbU3zO.js.map +1 -0
  99. package/dist/chunks/config-DpeQchsV.js +21 -0
  100. package/dist/chunks/config-DpeQchsV.js.map +1 -0
  101. package/dist/chunks/config-DpqOnJiz2.js.map +1 -0
  102. package/dist/chunks/config-DvQIb4kb.js +98 -0
  103. package/dist/chunks/config-DvQIb4kb.js.map +1 -0
  104. package/dist/chunks/config-K0C2tcLB.js +84 -0
  105. package/dist/chunks/config-K0C2tcLB.js.map +1 -0
  106. package/dist/chunks/config-MRvhUl-O.js +81 -0
  107. package/dist/chunks/config-MRvhUl-O.js.map +1 -0
  108. package/dist/chunks/config-QaIc_gRa.js.map +1 -0
  109. package/dist/chunks/config-Rw9OyW70.js +87 -0
  110. package/dist/chunks/config-Rw9OyW70.js.map +1 -0
  111. package/dist/chunks/config-ScuvHw6k2.js +42 -0
  112. package/dist/chunks/config-ScuvHw6k2.js.map +1 -0
  113. package/dist/chunks/config-T3qdQBgU2.js +40 -0
  114. package/dist/chunks/config-T3qdQBgU2.js.map +1 -0
  115. package/dist/chunks/config-WTNhdh6T2.js +20 -0
  116. package/dist/chunks/config-WTNhdh6T2.js.map +1 -0
  117. package/dist/chunks/config-_qPUfb6-2.js +165 -0
  118. package/dist/chunks/config-_qPUfb6-2.js.map +1 -0
  119. package/dist/chunks/config-esdviAPL.js +41 -0
  120. package/dist/chunks/config-esdviAPL.js.map +1 -0
  121. package/dist/chunks/config-gvq_hWNM.js +103 -0
  122. package/dist/chunks/config-gvq_hWNM.js.map +1 -0
  123. package/dist/chunks/config-gwro_7yn.js +55 -0
  124. package/dist/chunks/config-gwro_7yn.js.map +1 -0
  125. package/dist/chunks/config-qVg3Zz_A.js +30 -0
  126. package/dist/chunks/config-qVg3Zz_A.js.map +1 -0
  127. package/dist/chunks/config-zjeAJ4ho.js +64 -0
  128. package/dist/chunks/config-zjeAJ4ho.js.map +1 -0
  129. package/dist/chunks/context-BSYR7RZs.js +152 -0
  130. package/dist/chunks/context-BSYR7RZs.js.map +1 -0
  131. package/dist/chunks/context-BfIQv7m1.js +18 -0
  132. package/dist/chunks/context-BfIQv7m1.js.map +1 -0
  133. package/dist/chunks/context-Bfrgsluh.js.map +1 -1
  134. package/dist/chunks/context-DdNIxa1w.js.map +1 -1
  135. package/dist/chunks/dialogShared-CxW62PQE.js.map +1 -1
  136. package/dist/chunks/en-COdzxgAX.js +352 -0
  137. package/dist/chunks/en-COdzxgAX.js.map +1 -0
  138. package/dist/chunks/es-ClqJ-4hr.js +354 -0
  139. package/dist/chunks/es-ClqJ-4hr.js.map +1 -0
  140. package/dist/chunks/es-DGMHwknJ.js +20 -0
  141. package/dist/chunks/es-DGMHwknJ.js.map +1 -0
  142. package/dist/chunks/fileValidation-D5TFBhbv.js +296 -0
  143. package/dist/chunks/fileValidation-D5TFBhbv.js.map +1 -0
  144. package/dist/chunks/focusables-BkzK42SQ.js +87 -0
  145. package/dist/chunks/focusables-BkzK42SQ.js.map +1 -0
  146. package/dist/chunks/grBadgeStyles-C2wLlkjF.js +61 -0
  147. package/dist/chunks/grBadgeStyles-C2wLlkjF.js.map +1 -0
  148. package/dist/chunks/grButtonStyles-B_-YRE__.js +221 -0
  149. package/dist/chunks/grButtonStyles-B_-YRE__.js.map +1 -0
  150. package/dist/chunks/grCheckboxStyles-hOAgURZG.js +82 -0
  151. package/dist/chunks/grCheckboxStyles-hOAgURZG.js.map +1 -0
  152. package/dist/chunks/grDropdownStyles-V7TRiCXn.js +24 -0
  153. package/dist/chunks/grDropdownStyles-V7TRiCXn.js.map +1 -0
  154. package/dist/chunks/grFormFieldStyles-BkeZHIw0.js +32 -0
  155. package/dist/chunks/grFormFieldStyles-BkeZHIw0.js.map +1 -0
  156. package/dist/chunks/grIconStyles-BwJrml2L.js +44 -0
  157. package/dist/chunks/grIconStyles-BwJrml2L.js.map +1 -0
  158. package/dist/chunks/grInputStyles-CJeMhUe5.js +66 -0
  159. package/dist/chunks/grInputStyles-CJeMhUe5.js.map +1 -0
  160. package/dist/chunks/grKbdStyles-CeZhGQHr.js +43 -0
  161. package/dist/chunks/grKbdStyles-CeZhGQHr.js.map +1 -0
  162. package/dist/chunks/grLinkStyles-BoL8QYcV.js +84 -0
  163. package/dist/chunks/grLinkStyles-BoL8QYcV.js.map +1 -0
  164. package/dist/chunks/grLoadingStyles-DEmji2wv.js +30 -0
  165. package/dist/chunks/grLoadingStyles-DEmji2wv.js.map +1 -0
  166. package/dist/chunks/grModalStyles-EZfuEiw_.js +77 -0
  167. package/dist/chunks/grModalStyles-EZfuEiw_.js.map +1 -0
  168. package/dist/chunks/grPopoverStyles-Rz_Z5nLW.js +46 -0
  169. package/dist/chunks/grPopoverStyles-Rz_Z5nLW.js.map +1 -0
  170. package/dist/chunks/grSelectStyles-eTz4uPMP.js +147 -0
  171. package/dist/chunks/grSelectStyles-eTz4uPMP.js.map +1 -0
  172. package/dist/chunks/grSliderStyles-B5uNxNJq.js +133 -0
  173. package/dist/chunks/grSliderStyles-B5uNxNJq.js.map +1 -0
  174. package/dist/chunks/grStyle-CrgLQKKf.js +46 -0
  175. package/dist/chunks/grStyle-CrgLQKKf.js.map +1 -0
  176. package/dist/chunks/grTableStyles-C-iaqQUN.js +26 -0
  177. package/dist/chunks/grTableStyles-C-iaqQUN.js.map +1 -0
  178. package/dist/chunks/grTextareaStyles-iOcHuVMM.js +50 -0
  179. package/dist/chunks/grTextareaStyles-iOcHuVMM.js.map +1 -0
  180. package/dist/chunks/granular-provider-B9nXQCMu.js +195 -0
  181. package/dist/chunks/granular-provider-B9nXQCMu.js.map +1 -0
  182. package/dist/chunks/granularityI18n-BC5zsj_d.js +68 -0
  183. package/dist/chunks/granularityI18n-BC5zsj_d.js.map +1 -0
  184. package/dist/chunks/inert-DIHCCn_1.js +78 -0
  185. package/dist/chunks/inert-DIHCCn_1.js.map +1 -0
  186. package/dist/chunks/keyboard-DE2yhz_b.js +70 -0
  187. package/dist/chunks/keyboard-DE2yhz_b.js.map +1 -0
  188. package/dist/chunks/loader-2-B1fdsdWW.js +23 -0
  189. package/dist/chunks/loader-2-B1fdsdWW.js.map +1 -0
  190. package/dist/chunks/minus-oxdbHF33.js +23 -0
  191. package/dist/chunks/minus-oxdbHF33.js.map +1 -0
  192. package/dist/chunks/optionFilter-DYw9XPPx.js +79 -0
  193. package/dist/chunks/optionFilter-DYw9XPPx.js.map +1 -0
  194. package/dist/chunks/overlayStack-C8cfsqXa.js +99 -0
  195. package/dist/chunks/overlayStack-C8cfsqXa.js.map +1 -0
  196. package/dist/chunks/portalRoot-CWD4zHBm.js +35 -0
  197. package/dist/chunks/portalRoot-CWD4zHBm.js.map +1 -0
  198. package/dist/chunks/ru-9z8ix45c.js +356 -0
  199. package/dist/chunks/ru-9z8ix45c.js.map +1 -0
  200. package/dist/chunks/safelist-CudBLyAD.js +26 -0
  201. package/dist/chunks/safelist-CudBLyAD.js.map +1 -0
  202. package/dist/chunks/slotNodes-DxNXpC7v.js +39 -0
  203. package/dist/chunks/slotNodes-DxNXpC7v.js.map +1 -0
  204. package/dist/chunks/useControlAddons-asUr10Pf.js +128 -0
  205. package/dist/chunks/useControlAddons-asUr10Pf.js.map +1 -0
  206. package/dist/chunks/useControlledOpen-DV3SqLTP.js +27 -0
  207. package/dist/chunks/useControlledOpen-DV3SqLTP.js.map +1 -0
  208. package/dist/chunks/useDragSort-0l47h4yb.js +265 -0
  209. package/dist/chunks/useDragSort-0l47h4yb.js.map +1 -0
  210. package/dist/chunks/useFilePreviews-DnwgdyBs.js +53 -0
  211. package/dist/chunks/useFilePreviews-DnwgdyBs.js.map +1 -0
  212. package/dist/chunks/useFocusWithin-BwHE0rzm.js +33 -0
  213. package/dist/chunks/useFocusWithin-BwHE0rzm.js.map +1 -0
  214. package/dist/chunks/useModalOverlay-BTq-0ImG.js +212 -0
  215. package/dist/chunks/useModalOverlay-BTq-0ImG.js.map +1 -0
  216. package/dist/chunks/usePortalTarget-RyzEgNTb.js +77 -0
  217. package/dist/chunks/usePortalTarget-RyzEgNTb.js.map +1 -0
  218. package/dist/chunks/validation-5HhpanPP.js +178 -0
  219. package/dist/chunks/validation-5HhpanPP.js.map +1 -0
  220. package/dist/components/GrAlert/chunks/GrAlert-BC1lplbY.js +272 -0
  221. package/dist/components/GrAlert/chunks/GrAlert-BC1lplbY.js.map +1 -0
  222. package/dist/components/GrAlert/index.js +2 -2
  223. package/dist/components/GrAutocomplete/chunks/GrAutocomplete-CPEQxmLZ.js +852 -0
  224. package/dist/components/GrAutocomplete/chunks/GrAutocomplete-CPEQxmLZ.js.map +1 -0
  225. package/dist/components/GrAutocomplete/index.js +2 -2
  226. package/dist/components/GrAutocomplete/styles.css +1 -0
  227. package/dist/components/GrAvatar/chunks/GrAvatar-CVUujLmn.js +222 -0
  228. package/dist/components/GrAvatar/chunks/GrAvatar-CVUujLmn.js.map +1 -0
  229. package/dist/components/GrAvatar/index.js +3 -3
  230. package/dist/components/GrBadge/chunks/GrBadge-B1tgqfGQ.js +40 -0
  231. package/dist/components/GrBadge/chunks/GrBadge-B1tgqfGQ.js.map +1 -0
  232. package/dist/components/GrBadge/index.js +2 -2
  233. package/dist/components/GrBadge/styles.css +1 -0
  234. package/dist/components/GrBadge/themes/dark.css +19 -0
  235. package/dist/components/GrBadge/themes/light.css +18 -0
  236. package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-C-E9betg.js +97 -0
  237. package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-C-E9betg.js.map +1 -0
  238. package/dist/components/GrBadgeWrap/index.js +3 -3
  239. package/dist/components/GrBadgeWrap/styles.css +1 -0
  240. package/dist/components/GrBottomNav/chunks/GrBottomNav-9GH7Dd9E.js +117 -0
  241. package/dist/components/GrBottomNav/chunks/GrBottomNav-9GH7Dd9E.js.map +1 -0
  242. package/dist/components/GrBottomNav/index.js +3 -3
  243. package/dist/components/GrBreadcrumbs/chunks/GrBreadcrumbs-BCNGDS6k.js +266 -0
  244. package/dist/components/GrBreadcrumbs/chunks/GrBreadcrumbs-BCNGDS6k.js.map +1 -0
  245. package/dist/components/GrBreadcrumbs/index.js +3 -0
  246. package/dist/components/GrButton/chunks/GrButton-D0m_z0XW.js +153 -0
  247. package/dist/components/GrButton/chunks/GrButton-D0m_z0XW.js.map +1 -0
  248. package/dist/components/GrButton/index.js +5 -5
  249. package/dist/components/GrButton/themes/dark.css +46 -0
  250. package/dist/components/GrButton/themes/light.css +82 -0
  251. package/dist/components/GrButtonGroup/chunks/GrButtonGroup-CKyiAV8K.js +44 -0
  252. package/dist/components/GrButtonGroup/chunks/GrButtonGroup-CKyiAV8K.js.map +1 -0
  253. package/dist/components/GrButtonGroup/index.js +3 -2
  254. package/dist/components/GrButtonGroup/styles.css +1 -0
  255. package/dist/components/GrCard/chunks/GrCard-DOrGHf2x.js +89 -0
  256. package/dist/components/GrCard/chunks/GrCard-DOrGHf2x.js.map +1 -0
  257. package/dist/components/GrCard/index.js +3 -3
  258. package/dist/components/GrCheckbox/chunks/GrCheckbox-BLOp8452.js +262 -0
  259. package/dist/components/GrCheckbox/chunks/GrCheckbox-BLOp8452.js.map +1 -0
  260. package/dist/components/GrCheckbox/index.js +3 -3
  261. package/dist/components/GrCheckboxGroup/chunks/GrCheckboxGroup-CXTx2Z5H.js +140 -0
  262. package/dist/components/GrCheckboxGroup/chunks/GrCheckboxGroup-CXTx2Z5H.js.map +1 -0
  263. package/dist/components/GrCheckboxGroup/index.js +3 -0
  264. package/dist/components/GrCollapse/chunks/GrCollapse-B2Fc6A9r.js +308 -0
  265. package/dist/components/GrCollapse/chunks/GrCollapse-B2Fc6A9r.js.map +1 -0
  266. package/dist/components/GrCollapse/index.js +3 -3
  267. package/dist/components/GrColorPicker/chunks/GrColorPicker-DAdQ-Gc3.js +584 -0
  268. package/dist/components/GrColorPicker/chunks/GrColorPicker-DAdQ-Gc3.js.map +1 -0
  269. package/dist/components/GrColorPicker/index.js +3 -0
  270. package/dist/components/GrColorPicker/styles.css +1 -0
  271. package/dist/components/GrCommandPalette/chunks/GrCommandPalette-DMeSqkEv.js +565 -0
  272. package/dist/components/GrCommandPalette/chunks/GrCommandPalette-DMeSqkEv.js.map +1 -0
  273. package/dist/components/GrCommandPalette/index.js +2 -2
  274. package/dist/components/GrCommandPalette/styles.css +1 -0
  275. package/dist/components/GrConfigProvider/chunks/GrConfigProvider-BA6JO7V6.js +144 -0
  276. package/dist/components/GrConfigProvider/chunks/GrConfigProvider-BA6JO7V6.js.map +1 -0
  277. package/dist/components/GrConfigProvider/index.js +3 -3
  278. package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-hUTi-GdJ.js +200 -0
  279. package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-hUTi-GdJ.js.map +1 -0
  280. package/dist/components/GrConfirmDialog/index.js +2 -2
  281. package/dist/components/GrDataTable/chunks/GrDataTable-DzaGLG3A.js +1053 -0
  282. package/dist/components/GrDataTable/chunks/GrDataTable-DzaGLG3A.js.map +1 -0
  283. package/dist/components/GrDataTable/index.js +3 -3
  284. package/dist/components/GrDialog/chunks/GrDialog-MD9Fzy9C.js +255 -0
  285. package/dist/components/GrDialog/chunks/GrDialog-MD9Fzy9C.js.map +1 -0
  286. package/dist/components/GrDialog/index.js +1 -1
  287. package/dist/components/GrDialogService/chunks/GrDialogService-DtgUijMj.js +656 -0
  288. package/dist/components/GrDialogService/chunks/GrDialogService-DtgUijMj.js.map +1 -0
  289. package/dist/components/GrDialogService/index.js +3 -3
  290. package/dist/components/GrDivider/chunks/GrDivider-B2Xwc_QO.js +109 -0
  291. package/dist/components/GrDivider/chunks/GrDivider-B2Xwc_QO.js.map +1 -0
  292. package/dist/components/GrDivider/index.js +3 -3
  293. package/dist/components/GrDrawer/chunks/GrDrawer-DWHdZZzW.js +251 -0
  294. package/dist/components/GrDrawer/chunks/GrDrawer-DWHdZZzW.js.map +1 -0
  295. package/dist/components/GrDrawer/index.js +2 -2
  296. package/dist/components/GrDropdown/chunks/GrDropdown-0tJK01Kq.js +300 -0
  297. package/dist/components/GrDropdown/chunks/GrDropdown-0tJK01Kq.js.map +1 -0
  298. package/dist/components/GrDropdown/index.js +2 -2
  299. package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-VPPrpCoA.js +421 -0
  300. package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-VPPrpCoA.js.map +1 -0
  301. package/dist/components/GrDropdownMenu/index.js +3 -3
  302. package/dist/components/GrEmptyState/chunks/GrEmptyState-W7Irx3vc.js +86 -0
  303. package/dist/components/GrEmptyState/chunks/GrEmptyState-W7Irx3vc.js.map +1 -0
  304. package/dist/components/GrEmptyState/index.js +3 -3
  305. package/dist/components/GrFileUpload/chunks/GrFileUpload-DuDzC43S.js +1080 -0
  306. package/dist/components/GrFileUpload/chunks/GrFileUpload-DuDzC43S.js.map +1 -0
  307. package/dist/components/GrFileUpload/index.js +4 -4
  308. package/dist/components/GrForm/chunks/GrForm-BCHCfIMv.js +326 -0
  309. package/dist/components/GrForm/chunks/GrForm-BCHCfIMv.js.map +1 -0
  310. package/dist/components/GrForm/index.js +3 -2
  311. package/dist/components/GrFormField/chunks/GrFormField-CL5rcgj6.js +190 -0
  312. package/dist/components/GrFormField/chunks/GrFormField-CL5rcgj6.js.map +1 -0
  313. package/dist/components/GrFormField/index.js +3 -3
  314. package/dist/components/GrFormFile/chunks/GrFormFile-BikSD7bg.js +452 -0
  315. package/dist/components/GrFormFile/chunks/GrFormFile-BikSD7bg.js.map +1 -0
  316. package/dist/components/GrFormFile/index.js +3 -3
  317. package/dist/components/GrFormFile/styles.css +1 -0
  318. package/dist/components/GrFormSection/chunks/GrFormSection-BEh5n4jF.js +63 -0
  319. package/dist/components/GrFormSection/chunks/GrFormSection-BEh5n4jF.js.map +1 -0
  320. package/dist/components/GrFormSection/index.js +3 -3
  321. package/dist/components/GrIcon/chunks/GrIcon-BvA2ZGXP.js +57 -0
  322. package/dist/components/GrIcon/chunks/GrIcon-BvA2ZGXP.js.map +1 -0
  323. package/dist/components/GrIcon/index.js +3 -3
  324. package/dist/components/GrIcon/styles.css +1 -0
  325. package/dist/components/GrImageViewer/chunks/GrImageViewer-DE7MBbF8.js +1127 -0
  326. package/dist/components/GrImageViewer/chunks/GrImageViewer-DE7MBbF8.js.map +1 -0
  327. package/dist/components/GrImageViewer/index.js +3 -3
  328. package/dist/components/GrImageViewer/themes/dark.css +17 -0
  329. package/dist/components/GrImageViewer/themes/light.css +16 -0
  330. package/dist/components/GrInput/chunks/GrInput-2wd7Crs0.js +348 -0
  331. package/dist/components/GrInput/chunks/GrInput-2wd7Crs0.js.map +1 -0
  332. package/dist/components/GrInput/index.js +2 -2
  333. package/dist/components/GrInputTag/chunks/GrInputTag-CyV2eY7Z.js +512 -0
  334. package/dist/components/GrInputTag/chunks/GrInputTag-CyV2eY7Z.js.map +1 -0
  335. package/dist/components/GrInputTag/index.js +2 -2
  336. package/dist/components/GrKbd/chunks/GrKbd-DU2lBkRV.js +358 -0
  337. package/dist/components/GrKbd/chunks/GrKbd-DU2lBkRV.js.map +1 -0
  338. package/dist/components/GrKbd/index.js +3 -3
  339. package/dist/components/GrLink/chunks/GrLink-D-cgUMXW.js +163 -0
  340. package/dist/components/GrLink/chunks/GrLink-D-cgUMXW.js.map +1 -0
  341. package/dist/components/GrLink/index.js +2 -2
  342. package/dist/components/GrList/chunks/GrList-4YU1NZtM.js +277 -0
  343. package/dist/components/GrList/chunks/GrList-4YU1NZtM.js.map +1 -0
  344. package/dist/components/GrList/index.js +3 -3
  345. package/dist/components/GrList/styles.css +1 -0
  346. package/dist/components/GrLoading/chunks/GrLoading-CH95CFzS.js +101 -0
  347. package/dist/components/GrLoading/chunks/GrLoading-CH95CFzS.js.map +1 -0
  348. package/dist/components/GrLoading/index.js +2 -2
  349. package/dist/components/GrModal/chunks/GrModal-BbhcsDQ8.js +313 -0
  350. package/dist/components/GrModal/chunks/GrModal-BbhcsDQ8.js.map +1 -0
  351. package/dist/components/GrModal/index.js +3 -4
  352. package/dist/components/GrNavbar/chunks/GrNavbar-CF0KbM_6.js +104 -0
  353. package/dist/components/GrNavbar/chunks/GrNavbar-CF0KbM_6.js.map +1 -0
  354. package/dist/components/GrNavbar/index.js +3 -3
  355. package/dist/components/GrNumberInput/chunks/GrNumberInput-CZOyPz4J.js +658 -0
  356. package/dist/components/GrNumberInput/chunks/GrNumberInput-CZOyPz4J.js.map +1 -0
  357. package/dist/components/GrNumberInput/index.js +2 -2
  358. package/dist/components/GrPagination/chunks/GrPagination-waKhxBP7.js +283 -0
  359. package/dist/components/GrPagination/chunks/GrPagination-waKhxBP7.js.map +1 -0
  360. package/dist/components/GrPagination/index.js +3 -3
  361. package/dist/components/GrPopover/chunks/GrPopover-DuqeoFaI.js +216 -0
  362. package/dist/components/GrPopover/chunks/GrPopover-DuqeoFaI.js.map +1 -0
  363. package/dist/components/GrPopover/index.js +3 -0
  364. package/dist/components/GrProgressBar/chunks/GrProgressBar-xwbNM9QB.js +90 -0
  365. package/dist/components/GrProgressBar/chunks/GrProgressBar-xwbNM9QB.js.map +1 -0
  366. package/dist/components/GrProgressBar/index.js +2 -2
  367. package/dist/components/GrProgressBar/styles.css +1 -0
  368. package/dist/components/GrProgressBar/themes/dark.css +13 -0
  369. package/dist/components/GrProgressBar/themes/light.css +12 -0
  370. package/dist/components/GrProgressCircle/chunks/GrProgressCircle-B8olXRo5.js +210 -0
  371. package/dist/components/GrProgressCircle/chunks/GrProgressCircle-B8olXRo5.js.map +1 -0
  372. package/dist/components/GrProgressCircle/index.js +3 -0
  373. package/dist/components/GrProgressCircle/styles.css +1 -0
  374. package/dist/components/GrPromptDialog/chunks/GrPromptDialog-JVVqBsPY.js +348 -0
  375. package/dist/components/GrPromptDialog/chunks/GrPromptDialog-JVVqBsPY.js.map +1 -0
  376. package/dist/components/GrPromptDialog/index.js +2 -2
  377. package/dist/components/GrRadio/chunks/GrRadio-DWiRaMzt.js +253 -0
  378. package/dist/components/GrRadio/chunks/GrRadio-DWiRaMzt.js.map +1 -0
  379. package/dist/components/GrRadio/index.js +2 -2
  380. package/dist/components/GrRadioGroup/chunks/GrRadioGroup-DIuBw0wk.js +196 -0
  381. package/dist/components/GrRadioGroup/chunks/GrRadioGroup-DIuBw0wk.js.map +1 -0
  382. package/dist/components/GrRadioGroup/index.js +2 -2
  383. package/dist/components/GrRating/chunks/GrRating-LarIiwJL.js +315 -0
  384. package/dist/components/GrRating/chunks/GrRating-LarIiwJL.js.map +1 -0
  385. package/dist/components/GrRating/index.js +2 -2
  386. package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-C7W9mgYN.js +777 -0
  387. package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-C7W9mgYN.js.map +1 -0
  388. package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-DhX4jjay.js +224 -0
  389. package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-DhX4jjay.js.map +1 -0
  390. package/dist/components/GrResponseErrorBanner/index.js +2 -2
  391. package/dist/components/GrSegmented/chunks/GrSegmented-CQw3ijqa.js +388 -0
  392. package/dist/components/GrSegmented/chunks/GrSegmented-CQw3ijqa.js.map +1 -0
  393. package/dist/components/GrSegmented/index.js +3 -3
  394. package/dist/components/GrSelect/chunks/GrSelect-DAdu044K.js +1373 -0
  395. package/dist/components/GrSelect/chunks/GrSelect-DAdu044K.js.map +1 -0
  396. package/dist/components/GrSelect/index.js +2 -2
  397. package/dist/components/GrSelect/styles.css +1 -0
  398. package/dist/components/GrSidebar/chunks/GrSidebar-DRGnnViw.js +257 -0
  399. package/dist/components/GrSidebar/chunks/GrSidebar-DRGnnViw.js.map +1 -0
  400. package/dist/components/GrSidebar/index.js +3 -3
  401. package/dist/components/GrSkeleton/chunks/GrSkeleton-DEvNE3bC.js +84 -0
  402. package/dist/components/GrSkeleton/chunks/GrSkeleton-DEvNE3bC.js.map +1 -0
  403. package/dist/components/GrSkeleton/index.js +2 -2
  404. package/dist/components/GrSlider/chunks/GrSlider-CyhVsNKn.js +379 -0
  405. package/dist/components/GrSlider/chunks/GrSlider-CyhVsNKn.js.map +1 -0
  406. package/dist/components/GrSlider/index.js +2 -2
  407. package/dist/components/GrSortableList/chunks/GrSortableList-BefVfWKh.js +276 -0
  408. package/dist/components/GrSortableList/chunks/GrSortableList-BefVfWKh.js.map +1 -0
  409. package/dist/components/GrSortableList/index.js +3 -0
  410. package/dist/components/GrSplitter/chunks/GrSplitter-BzxVQwbY.js +268 -0
  411. package/dist/components/GrSplitter/chunks/GrSplitter-BzxVQwbY.js.map +1 -0
  412. package/dist/components/GrSplitter/index.js +3 -0
  413. package/dist/components/GrSplitter/styles.css +1 -0
  414. package/dist/components/GrStatistic/chunks/GrStatistic-J4qLs3TH.js +319 -0
  415. package/dist/components/GrStatistic/chunks/GrStatistic-J4qLs3TH.js.map +1 -0
  416. package/dist/components/GrStatistic/index.js +2 -2
  417. package/dist/components/GrSwitch/chunks/GrSwitch-DpyvVrZG.js +183 -0
  418. package/dist/components/GrSwitch/chunks/GrSwitch-DpyvVrZG.js.map +1 -0
  419. package/dist/components/GrSwitch/index.js +2 -2
  420. package/dist/components/GrTabPanels/chunks/GrTabPanels-BVe1CZdJ.js +81 -0
  421. package/dist/components/GrTabPanels/chunks/GrTabPanels-BVe1CZdJ.js.map +1 -0
  422. package/dist/components/GrTabPanels/index.js +1 -1
  423. package/dist/components/GrTable/chunks/GrTable-BfqgwETQ.js +169 -0
  424. package/dist/components/GrTable/chunks/GrTable-BfqgwETQ.js.map +1 -0
  425. package/dist/components/GrTable/index.js +3 -3
  426. package/dist/components/GrTabs/chunks/GrTabs-TeXaU5Uh.js +261 -0
  427. package/dist/components/GrTabs/chunks/GrTabs-TeXaU5Uh.js.map +1 -0
  428. package/dist/components/GrTabs/index.js +3 -3
  429. package/dist/components/GrTextarea/chunks/GrTextarea-DSvd1nSy.js +241 -0
  430. package/dist/components/GrTextarea/chunks/GrTextarea-DSvd1nSy.js.map +1 -0
  431. package/dist/components/GrTextarea/index.js +2 -2
  432. package/dist/components/GrTimeline/chunks/GrTimeline-B-h2Yanw.js +285 -0
  433. package/dist/components/GrTimeline/chunks/GrTimeline-B-h2Yanw.js.map +1 -0
  434. package/dist/components/GrTimeline/index.js +3 -0
  435. package/dist/components/GrTimeline/styles.css +1 -0
  436. package/dist/components/GrToaster/chunks/GrToaster-Ct-39hga.js +373 -0
  437. package/dist/components/GrToaster/chunks/GrToaster-Ct-39hga.js.map +1 -0
  438. package/dist/components/GrToaster/index.js +2 -2
  439. package/dist/components/GrToaster/styles.css +1 -0
  440. package/dist/components/GrTooltip/chunks/GrTooltip-xAcqs0bP.js +185 -0
  441. package/dist/components/GrTooltip/chunks/GrTooltip-xAcqs0bP.js.map +1 -0
  442. package/dist/components/GrTooltip/index.js +3 -3
  443. package/dist/components/GrTree/chunks/GrTree-CaYK8dGZ.js +1371 -0
  444. package/dist/components/GrTree/chunks/GrTree-CaYK8dGZ.js.map +1 -0
  445. package/dist/components/GrTree/index.js +2 -2
  446. package/dist/components/GrTree/styles.css +1 -0
  447. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-DZp7CqqW.js +623 -0
  448. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-DZp7CqqW.js.map +1 -0
  449. package/dist/components/GrTreeSelect/index.js +2 -2
  450. package/dist/composables/useAnnouncer.js +114 -0
  451. package/dist/composables/useAnnouncer.js.map +1 -0
  452. package/dist/composables/useComboboxNavigation.js +71 -0
  453. package/dist/composables/useComboboxNavigation.js.map +1 -0
  454. package/dist/composables/useDismissible.js +31 -0
  455. package/dist/composables/useDismissible.js.map +1 -0
  456. package/dist/composables/useDragGesture.js +55 -0
  457. package/dist/composables/useDragGesture.js.map +1 -0
  458. package/dist/composables/useDragSort.js +2 -0
  459. package/dist/composables/useFloating.js +133 -0
  460. package/dist/composables/useFloating.js.map +1 -0
  461. package/dist/composables/useFocusTrap.js +124 -0
  462. package/dist/composables/useFocusTrap.js.map +1 -0
  463. package/dist/composables/useGrComponentConfig.js +2 -0
  464. package/dist/composables/useGrFormControl.js +24 -0
  465. package/dist/composables/useGrFormControl.js.map +1 -0
  466. package/dist/composables/useGranularityTranslations.js +2 -0
  467. package/dist/composables/useOverlayLayer.js +65 -0
  468. package/dist/composables/useOverlayLayer.js.map +1 -0
  469. package/dist/composables/usePortalTarget.js +2 -0
  470. package/dist/composables/useRovingFocus.js +150 -0
  471. package/dist/composables/useRovingFocus.js.map +1 -0
  472. package/dist/composables/useTheme.js +106 -36
  473. package/dist/composables/useTheme.js.map +1 -1
  474. package/dist/composables/useToast.js +123 -7
  475. package/dist/composables/useToast.js.map +1 -1
  476. package/dist/composables/useVirtualList.js +244 -0
  477. package/dist/composables/useVirtualList.js.map +1 -0
  478. package/dist/directives/dropzone.js +1 -1
  479. package/dist/directives/hotkey.js +18 -18
  480. package/dist/directives/hotkey.js.map +1 -1
  481. package/dist/directives/loading.js +43 -7
  482. package/dist/directives/loading.js.map +1 -1
  483. package/dist/fileValidation/index.js +2 -2
  484. package/dist/granular-provider-node.js +1 -31
  485. package/dist/granular-provider.js +1 -4
  486. package/dist/i18n/all.js +1 -1
  487. package/dist/i18n/index.js +1 -1
  488. package/dist/index.js +157 -140
  489. package/dist/styles/base.css +32 -0
  490. package/dist/styles/preflight.css +33 -0
  491. package/dist/styles/themes/dark.css +81 -26
  492. package/dist/styles/themes/light.css +86 -15
  493. package/dist/styles/tokens.css +63 -4
  494. package/dist/tokens.js +3216 -0
  495. package/dist/tokens.js.map +1 -0
  496. package/dist/types/src/components/GrAlert/GrAlert.vue.d.ts +42 -10
  497. package/dist/types/src/components/GrAlert/config.d.ts +1 -1
  498. package/dist/types/src/components/GrAlert/defaults.d.ts +10 -4
  499. package/dist/types/src/components/GrAlert/grAlertStyles.d.ts +0 -7
  500. package/dist/types/src/components/GrAlert/index.d.ts +3 -2
  501. package/dist/types/src/components/GrAutocomplete/GrAutocomplete.vue.d.ts +112 -99
  502. package/dist/types/src/components/GrAutocomplete/config.d.ts +1 -1
  503. package/dist/types/src/components/GrAutocomplete/defaults.d.ts +1 -1
  504. package/dist/types/src/components/GrAutocomplete/grAutocompleteStyles.d.ts +43 -7
  505. package/dist/types/src/components/GrAutocomplete/index.d.ts +4 -0
  506. package/dist/types/src/components/GrAvatar/GrAvatar.vue.d.ts +40 -17
  507. package/dist/types/src/components/GrAvatar/GrAvatarGroup.vue.d.ts +70 -0
  508. package/dist/types/src/components/GrAvatar/avatarContext.d.ts +12 -0
  509. package/dist/types/src/components/GrAvatar/config.d.ts +1 -1
  510. package/dist/types/src/components/GrAvatar/defaults.d.ts +16 -0
  511. package/dist/types/src/components/GrAvatar/grAvatarStyles.d.ts +38 -0
  512. package/dist/types/src/components/GrAvatar/index.d.ts +5 -0
  513. package/dist/types/src/components/GrAvatar/safelist.d.ts +4 -0
  514. package/dist/types/src/components/GrBadge/GrBadge.vue.d.ts +4 -4
  515. package/dist/types/src/components/GrBadge/config.d.ts +1 -1
  516. package/dist/types/src/components/GrBadge/defaults.d.ts +1 -1
  517. package/dist/types/src/components/GrBadge/grBadgeStyles.d.ts +13 -1
  518. package/dist/types/src/components/GrBadge/index.d.ts +1 -0
  519. package/dist/types/src/components/GrBadgeWrap/GrBadgeWrap.vue.d.ts +42 -5
  520. package/dist/types/src/components/GrBadgeWrap/config.d.ts +1 -1
  521. package/dist/types/src/components/GrBadgeWrap/grBadgeWrapStyles.d.ts +46 -0
  522. package/dist/types/src/components/GrBadgeWrap/index.d.ts +4 -0
  523. package/dist/types/src/components/GrBadgeWrap/safelist.d.ts +1 -0
  524. package/dist/types/src/components/GrBottomNav/GrBottomNav.vue.d.ts +91 -4
  525. package/dist/types/src/components/GrBottomNav/config.d.ts +1 -1
  526. package/dist/types/src/components/GrBottomNav/defaults.d.ts +16 -0
  527. package/dist/types/src/components/GrBottomNav/grBottomNavStyles.d.ts +56 -0
  528. package/dist/types/src/components/GrBottomNav/index.d.ts +6 -1
  529. package/dist/types/src/components/GrBottomNav/safelist.d.ts +1 -0
  530. package/dist/types/src/components/GrBreadcrumbs/GrBreadcrumbs.vue.d.ts +117 -0
  531. package/dist/types/src/components/GrBreadcrumbs/config.d.ts +1 -0
  532. package/dist/types/src/components/GrBreadcrumbs/defaults.d.ts +15 -0
  533. package/dist/types/src/components/GrBreadcrumbs/grBreadcrumbsStyles.d.ts +86 -0
  534. package/dist/types/src/components/GrBreadcrumbs/index.d.ts +8 -0
  535. package/dist/types/src/components/GrBreadcrumbs/safelist.d.ts +1 -0
  536. package/dist/types/src/components/GrButton/GrButton.vue.d.ts +31 -7
  537. package/dist/types/src/components/GrButton/config.d.ts +1 -1
  538. package/dist/types/src/components/GrButton/defaults.d.ts +1 -1
  539. package/dist/types/src/components/GrButton/grButtonStyles.d.ts +27 -3
  540. package/dist/types/src/components/GrButton/index.d.ts +5 -1
  541. package/dist/types/src/components/GrButton/safelist.d.ts +1 -0
  542. package/dist/types/src/components/GrButtonGroup/GrButtonGroup.vue.d.ts +32 -4
  543. package/dist/types/src/components/GrButtonGroup/config.d.ts +1 -1
  544. package/dist/types/src/components/GrButtonGroup/context.d.ts +20 -0
  545. package/dist/types/src/components/GrButtonGroup/index.d.ts +3 -0
  546. package/dist/types/src/components/GrCard/GrCard.vue.d.ts +80 -3
  547. package/dist/types/src/components/GrCard/config.d.ts +1 -1
  548. package/dist/types/src/components/GrCard/defaults.d.ts +15 -0
  549. package/dist/types/src/components/GrCard/grCardStyles.d.ts +24 -0
  550. package/dist/types/src/components/GrCard/index.d.ts +5 -0
  551. package/dist/types/src/components/GrCard/safelist.d.ts +1 -0
  552. package/dist/types/src/components/GrCheckbox/GrCheckbox.vue.d.ts +56 -10
  553. package/dist/types/src/components/GrCheckbox/config.d.ts +1 -1
  554. package/dist/types/src/components/GrCheckbox/defaults.d.ts +14 -0
  555. package/dist/types/src/components/GrCheckbox/grCheckboxGroupContext.d.ts +19 -0
  556. package/dist/types/src/components/GrCheckbox/grCheckboxStyles.d.ts +44 -0
  557. package/dist/types/src/components/GrCheckbox/index.d.ts +9 -0
  558. package/dist/types/src/components/GrCheckbox/safelist.d.ts +13 -0
  559. package/dist/types/src/components/GrCheckboxGroup/GrCheckboxGroup.vue.d.ts +105 -0
  560. package/dist/types/src/components/GrCheckboxGroup/config.d.ts +1 -0
  561. package/dist/types/src/components/GrCheckboxGroup/defaults.d.ts +14 -0
  562. package/dist/types/src/components/GrCheckboxGroup/index.d.ts +9 -0
  563. package/dist/types/src/components/GrCollapse/GrCollapse.vue.d.ts +55 -7
  564. package/dist/types/src/components/GrCollapse/GrCollapseItem.vue.d.ts +13 -3
  565. package/dist/types/src/components/GrCollapse/config.d.ts +1 -1
  566. package/dist/types/src/components/GrCollapse/defaults.d.ts +19 -0
  567. package/dist/types/src/components/GrCollapse/grCollapseContext.d.ts +20 -0
  568. package/dist/types/src/components/GrCollapse/grCollapseStyles.d.ts +42 -0
  569. package/dist/types/src/components/GrCollapse/index.d.ts +3 -0
  570. package/dist/types/src/components/GrCollapse/safelist.d.ts +15 -0
  571. package/dist/types/src/components/GrColorPicker/GrColorPicker.vue.d.ts +104 -0
  572. package/dist/types/src/components/GrColorPicker/color.d.ts +38 -0
  573. package/dist/types/src/components/GrColorPicker/config.d.ts +1 -0
  574. package/dist/types/src/components/GrColorPicker/defaults.d.ts +15 -0
  575. package/dist/types/src/components/GrColorPicker/grColorPickerStyles.d.ts +39 -0
  576. package/dist/types/src/components/GrColorPicker/index.d.ts +11 -0
  577. package/dist/types/src/components/GrColorPicker/safelist.d.ts +1 -0
  578. package/dist/types/src/components/GrCommandPalette/GrCommandPalette.vue.d.ts +45 -10
  579. package/dist/types/src/components/GrCommandPalette/config.d.ts +1 -1
  580. package/dist/types/src/components/GrCommandPalette/defaults.d.ts +14 -0
  581. package/dist/types/src/components/GrCommandPalette/filtering.d.ts +24 -0
  582. package/dist/types/src/components/GrCommandPalette/grCommandPaletteStyles.d.ts +33 -8
  583. package/dist/types/src/components/GrCommandPalette/index.d.ts +4 -0
  584. package/dist/types/src/components/GrConfigProvider/GrConfigProvider.vue.d.ts +38 -4
  585. package/dist/types/src/components/GrConfigProvider/config.d.ts +1 -1
  586. package/dist/types/src/components/GrConfigProvider/context.d.ts +33 -22
  587. package/dist/types/src/components/GrConfigProvider/index.d.ts +2 -1
  588. package/dist/types/src/components/GrConfigProvider/zIndexScale.d.ts +23 -0
  589. package/dist/types/src/components/GrConfirmDialog/GrConfirmDialog.vue.d.ts +33 -4
  590. package/dist/types/src/components/GrConfirmDialog/config.d.ts +1 -1
  591. package/dist/types/src/components/GrConfirmDialog/defaults.d.ts +14 -0
  592. package/dist/types/src/components/GrConfirmDialog/index.d.ts +2 -1
  593. package/dist/types/src/components/GrDataTable/GrDataTable.vue.d.ts +145 -27
  594. package/dist/types/src/components/GrDataTable/config.d.ts +1 -1
  595. package/dist/types/src/components/GrDataTable/defaults.d.ts +10 -0
  596. package/dist/types/src/components/GrDataTable/grDataTableSort.d.ts +25 -0
  597. package/dist/types/src/components/GrDataTable/grDataTableStyles.d.ts +68 -0
  598. package/dist/types/src/components/GrDataTable/index.d.ts +10 -1
  599. package/dist/types/src/components/GrDataTable/safelist.d.ts +1 -0
  600. package/dist/types/src/components/GrDialog/GrDialog.vue.d.ts +51 -4
  601. package/dist/types/src/components/GrDialog/GrDialogCloseButton.vue.d.ts +3 -0
  602. package/dist/types/src/components/GrDialog/GrDialogHeader.vue.d.ts +3 -0
  603. package/dist/types/src/components/GrDialog/config.d.ts +1 -1
  604. package/dist/types/src/components/GrDialog/defaults.d.ts +14 -0
  605. package/dist/types/src/components/GrDialog/dialogShared.d.ts +2 -1
  606. package/dist/types/src/components/GrDialog/index.d.ts +5 -0
  607. package/dist/types/src/components/GrDialogService/GrDialogServiceHost.vue.d.ts +18 -1
  608. package/dist/types/src/components/GrDialogService/GrDialogServiceItem.vue.d.ts +15 -0
  609. package/dist/types/src/components/GrDialogService/config.d.ts +1 -1
  610. package/dist/types/src/components/GrDialogService/index.d.ts +3 -1
  611. package/dist/types/src/components/GrDialogService/store.d.ts +78 -7
  612. package/dist/types/src/components/GrDialogService/types.d.ts +22 -1
  613. package/dist/types/src/components/GrDialogService/useDialogService.d.ts +31 -1
  614. package/dist/types/src/components/GrDivider/GrDivider.vue.d.ts +44 -9
  615. package/dist/types/src/components/GrDivider/config.d.ts +1 -1
  616. package/dist/types/src/components/GrDivider/defaults.d.ts +15 -0
  617. package/dist/types/src/components/GrDivider/grDividerStyles.d.ts +19 -0
  618. package/dist/types/src/components/GrDivider/index.d.ts +4 -1
  619. package/dist/types/src/components/GrDivider/safelist.d.ts +1 -0
  620. package/dist/types/src/components/GrDrawer/GrDrawer.vue.d.ts +93 -17
  621. package/dist/types/src/components/GrDrawer/config.d.ts +1 -1
  622. package/dist/types/src/components/GrDrawer/defaults.d.ts +19 -0
  623. package/dist/types/src/components/GrDrawer/grDrawerStyles.d.ts +48 -2
  624. package/dist/types/src/components/GrDrawer/index.d.ts +6 -1
  625. package/dist/types/src/components/GrDropdown/GrDropdown.vue.d.ts +66 -13
  626. package/dist/types/src/components/GrDropdown/config.d.ts +1 -1
  627. package/dist/types/src/components/GrDropdown/grDropdownStyles.d.ts +4 -5
  628. package/dist/types/src/components/GrDropdown/index.d.ts +5 -2
  629. package/dist/types/src/components/GrDropdownMenu/GrDropdownMenu.vue.d.ts +79 -16
  630. package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuColumn.vue.d.ts +2 -1
  631. package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuColumns.vue.d.ts +3 -2
  632. package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuGroup.vue.d.ts +2 -2
  633. package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuHeader.vue.d.ts +3 -2
  634. package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuItem.vue.d.ts +51 -5
  635. package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuList.vue.d.ts +5 -0
  636. package/dist/types/src/components/GrDropdownMenu/config.d.ts +1 -1
  637. package/dist/types/src/components/GrDropdownMenu/grDropdownMenuStyles.d.ts +33 -0
  638. package/dist/types/src/components/GrDropdownMenu/index.d.ts +6 -2
  639. package/dist/types/src/components/GrDropdownMenu/menuModel.d.ts +42 -0
  640. package/dist/types/src/components/GrDropdownMenu/safelist.d.ts +7 -0
  641. package/dist/types/src/components/GrEmptyState/GrEmptyState.vue.d.ts +33 -10
  642. package/dist/types/src/components/GrEmptyState/config.d.ts +1 -1
  643. package/dist/types/src/components/GrEmptyState/defaults.d.ts +16 -0
  644. package/dist/types/src/components/GrEmptyState/grEmptyStateStyles.d.ts +32 -0
  645. package/dist/types/src/components/GrEmptyState/index.d.ts +4 -0
  646. package/dist/types/src/components/GrEmptyState/safelist.d.ts +1 -0
  647. package/dist/types/src/components/GrFileUpload/GrFileUpload.vue.d.ts +158 -148
  648. package/dist/types/src/components/GrFileUpload/config.d.ts +1 -1
  649. package/dist/types/src/components/GrFileUpload/defaults.d.ts +10 -0
  650. package/dist/types/src/components/GrFileUpload/fileEntry.d.ts +26 -0
  651. package/dist/types/src/components/GrFileUpload/grFileUploadStyles.d.ts +45 -0
  652. package/dist/types/src/components/GrFileUpload/index.d.ts +10 -1
  653. package/dist/types/src/components/GrFileUpload/maxFileSize.d.ts +2 -0
  654. package/dist/types/src/components/GrFileUpload/safelist.d.ts +1 -0
  655. package/dist/types/src/components/GrFileUpload/useDropZone.d.ts +24 -0
  656. package/dist/types/src/components/GrFileUpload/usePerFileUpload.d.ts +38 -0
  657. package/dist/types/src/components/GrFileUpload/useUploadState.d.ts +30 -0
  658. package/dist/types/src/components/GrForm/GrForm.vue.d.ts +38 -2
  659. package/dist/types/src/components/GrForm/config.d.ts +1 -1
  660. package/dist/types/src/components/GrForm/context.d.ts +22 -3
  661. package/dist/types/src/components/GrForm/fileRule.d.ts +43 -0
  662. package/dist/types/src/components/GrForm/index.d.ts +6 -2
  663. package/dist/types/src/components/GrForm/modelSnapshot.d.ts +17 -0
  664. package/dist/types/src/components/GrForm/validation.d.ts +16 -1
  665. package/dist/types/src/components/GrFormField/GrFormField.vue.d.ts +56 -10
  666. package/dist/types/src/components/GrFormField/config.d.ts +1 -1
  667. package/dist/types/src/components/GrFormField/context.d.ts +19 -0
  668. package/dist/types/src/components/GrFormField/defaults.d.ts +15 -0
  669. package/dist/types/src/components/GrFormField/grFormFieldStyles.d.ts +19 -0
  670. package/dist/types/src/components/GrFormField/index.d.ts +5 -1
  671. package/dist/types/src/components/GrFormField/safelist.d.ts +1 -0
  672. package/dist/types/src/components/GrFormFile/GrFormFile.vue.d.ts +70 -16
  673. package/dist/types/src/components/GrFormFile/config.d.ts +1 -1
  674. package/dist/types/src/components/GrFormFile/defaults.d.ts +10 -0
  675. package/dist/types/src/components/GrFormFile/grFormFileStyles.d.ts +22 -0
  676. package/dist/types/src/components/GrFormFile/index.d.ts +7 -0
  677. package/dist/types/src/components/GrFormFile/safelist.d.ts +1 -0
  678. package/dist/types/src/components/GrFormSection/GrFormSection.vue.d.ts +34 -7
  679. package/dist/types/src/components/GrFormSection/config.d.ts +1 -1
  680. package/dist/types/src/components/GrFormSection/defaults.d.ts +14 -0
  681. package/dist/types/src/components/GrFormSection/grFormSectionStyles.d.ts +12 -0
  682. package/dist/types/src/components/GrFormSection/index.d.ts +4 -0
  683. package/dist/types/src/components/GrFormSection/safelist.d.ts +1 -0
  684. package/dist/types/src/components/GrIcon/GrIcon.vue.d.ts +40 -4
  685. package/dist/types/src/components/GrIcon/config.d.ts +1 -1
  686. package/dist/types/src/components/GrIcon/defaults.d.ts +14 -0
  687. package/dist/types/src/components/GrIcon/grIconStyles.d.ts +25 -0
  688. package/dist/types/src/components/GrIcon/index.d.ts +4 -0
  689. package/dist/types/src/components/GrIcon/safelist.d.ts +1 -0
  690. package/dist/types/src/components/GrImageViewer/GrImageViewer.vue.d.ts +87 -16
  691. package/dist/types/src/components/GrImageViewer/composables/usePointerGestures.d.ts +37 -0
  692. package/dist/types/src/components/GrImageViewer/composables/useViewerKeyboard.d.ts +7 -4
  693. package/dist/types/src/components/GrImageViewer/composables/useWheelGesture.d.ts +3 -2
  694. package/dist/types/src/components/GrImageViewer/composables/useZoomPan.d.ts +18 -5
  695. package/dist/types/src/components/GrImageViewer/config.d.ts +1 -1
  696. package/dist/types/src/components/GrImageViewer/grImageViewerStyles.d.ts +21 -0
  697. package/dist/types/src/components/GrImageViewer/index.d.ts +7 -0
  698. package/dist/types/src/components/GrImageViewer/safelist.d.ts +1 -0
  699. package/dist/types/src/components/GrInput/GrInput.vue.d.ts +66 -21
  700. package/dist/types/src/components/GrInput/config.d.ts +1 -1
  701. package/dist/types/src/components/GrInput/defaults.d.ts +1 -1
  702. package/dist/types/src/components/GrInput/grInputStyles.d.ts +53 -7
  703. package/dist/types/src/components/GrInput/index.d.ts +5 -0
  704. package/dist/types/src/components/GrInputTag/GrInputTag.vue.d.ts +97 -14
  705. package/dist/types/src/components/GrInputTag/config.d.ts +1 -1
  706. package/dist/types/src/components/GrInputTag/defaults.d.ts +17 -0
  707. package/dist/types/src/components/GrInputTag/grInputTagStyles.d.ts +24 -1
  708. package/dist/types/src/components/GrInputTag/index.d.ts +5 -0
  709. package/dist/types/src/components/GrKbd/GrKbd.vue.d.ts +46 -10
  710. package/dist/types/src/components/GrKbd/config.d.ts +1 -1
  711. package/dist/types/src/components/GrKbd/defaults.d.ts +14 -0
  712. package/dist/types/src/components/GrKbd/grKbdStyles.d.ts +32 -0
  713. package/dist/types/src/components/GrKbd/index.d.ts +10 -1
  714. package/dist/types/src/components/GrKbd/safelist.d.ts +1 -0
  715. package/dist/types/src/components/GrLink/GrLink.vue.d.ts +23 -10
  716. package/dist/types/src/components/GrLink/config.d.ts +1 -1
  717. package/dist/types/src/components/GrLink/defaults.d.ts +14 -0
  718. package/dist/types/src/components/GrLink/grLinkStyles.d.ts +11 -13
  719. package/dist/types/src/components/GrLink/index.d.ts +2 -0
  720. package/dist/types/src/components/GrList/GrList.vue.d.ts +57 -32
  721. package/dist/types/src/components/GrList/GrListItem.vue.d.ts +42 -9
  722. package/dist/types/src/components/GrList/config.d.ts +1 -1
  723. package/dist/types/src/components/GrList/grListStyles.d.ts +25 -0
  724. package/dist/types/src/components/GrList/index.d.ts +5 -0
  725. package/dist/types/src/components/GrList/safelist.d.ts +1 -0
  726. package/dist/types/src/components/GrLoading/GrLoading.vue.d.ts +59 -19
  727. package/dist/types/src/components/GrLoading/config.d.ts +1 -1
  728. package/dist/types/src/components/GrLoading/grLoadingStyles.d.ts +10 -2
  729. package/dist/types/src/components/GrLoading/index.d.ts +1 -0
  730. package/dist/types/src/components/GrModal/GrModal.vue.d.ts +58 -12
  731. package/dist/types/src/components/GrModal/config.d.ts +1 -1
  732. package/dist/types/src/components/GrModal/context.d.ts +37 -0
  733. package/dist/types/src/components/GrModal/defaults.d.ts +14 -0
  734. package/dist/types/src/components/GrModal/grModalStyles.d.ts +25 -10
  735. package/dist/types/src/components/GrModal/index.d.ts +6 -3
  736. package/dist/types/src/components/GrNavbar/GrNavbar.vue.d.ts +28 -9
  737. package/dist/types/src/components/GrNavbar/config.d.ts +1 -1
  738. package/dist/types/src/components/GrNavbar/grNavbarStyles.d.ts +23 -0
  739. package/dist/types/src/components/GrNavbar/index.d.ts +2 -0
  740. package/dist/types/src/components/GrNavbar/safelist.d.ts +1 -0
  741. package/dist/types/src/components/GrNumberInput/GrNumberInput.vue.d.ts +64 -17
  742. package/dist/types/src/components/GrNumberInput/config.d.ts +1 -1
  743. package/dist/types/src/components/GrNumberInput/defaults.d.ts +2 -1
  744. package/dist/types/src/components/GrNumberInput/grNumberInputStyles.d.ts +20 -4
  745. package/dist/types/src/components/GrNumberInput/index.d.ts +4 -0
  746. package/dist/types/src/components/GrNumberInput/numberInputMath.d.ts +17 -0
  747. package/dist/types/src/components/GrPagination/GrPagination.vue.d.ts +47 -1
  748. package/dist/types/src/components/GrPagination/config.d.ts +1 -1
  749. package/dist/types/src/components/GrPagination/defaults.d.ts +10 -0
  750. package/dist/types/src/components/GrPagination/grPaginationStyles.d.ts +19 -0
  751. package/dist/types/src/components/GrPagination/index.d.ts +4 -0
  752. package/dist/types/src/components/GrPagination/safelist.d.ts +1 -0
  753. package/dist/types/src/components/GrPopover/GrPopover.vue.d.ts +161 -0
  754. package/dist/types/src/components/GrPopover/config.d.ts +1 -0
  755. package/dist/types/src/components/GrPopover/defaults.d.ts +15 -0
  756. package/dist/types/src/components/GrPopover/grPopoverStyles.d.ts +28 -0
  757. package/dist/types/src/components/GrPopover/index.d.ts +11 -0
  758. package/dist/types/src/components/GrPopover/safelist.d.ts +1 -0
  759. package/dist/types/src/components/GrProgressBar/GrProgressBar.vue.d.ts +37 -5
  760. package/dist/types/src/components/GrProgressBar/config.d.ts +1 -1
  761. package/dist/types/src/components/GrProgressBar/defaults.d.ts +11 -0
  762. package/dist/types/src/components/GrProgressBar/grStyle.d.ts +14 -0
  763. package/dist/types/src/components/GrProgressBar/index.d.ts +2 -1
  764. package/dist/types/src/components/GrProgressBar/safelist.d.ts +4 -0
  765. package/dist/types/src/components/GrProgressCircle/GrProgressCircle.vue.d.ts +103 -0
  766. package/dist/types/src/components/GrProgressCircle/config.d.ts +1 -0
  767. package/dist/types/src/components/GrProgressCircle/defaults.d.ts +18 -0
  768. package/dist/types/src/components/GrProgressCircle/geometry.d.ts +29 -0
  769. package/dist/types/src/components/GrProgressCircle/grProgressCircleStyles.d.ts +34 -0
  770. package/dist/types/src/components/GrProgressCircle/index.d.ts +11 -0
  771. package/dist/types/src/components/GrProgressCircle/safelist.d.ts +1 -0
  772. package/dist/types/src/components/GrPromptDialog/GrPromptDialog.vue.d.ts +78 -10
  773. package/dist/types/src/components/GrPromptDialog/config.d.ts +1 -1
  774. package/dist/types/src/components/GrPromptDialog/defaults.d.ts +14 -0
  775. package/dist/types/src/components/GrPromptDialog/index.d.ts +1 -0
  776. package/dist/types/src/components/GrRadio/GrRadio.vue.d.ts +28 -9
  777. package/dist/types/src/components/GrRadio/config.d.ts +1 -1
  778. package/dist/types/src/components/GrRadio/defaults.d.ts +1 -1
  779. package/dist/types/src/components/GrRadio/grRadioGroupContext.d.ts +45 -2
  780. package/dist/types/src/components/GrRadio/grRadioStyles.d.ts +49 -6
  781. package/dist/types/src/components/GrRadio/index.d.ts +1 -0
  782. package/dist/types/src/components/GrRadioGroup/GrRadioGroup.vue.d.ts +54 -10
  783. package/dist/types/src/components/GrRadioGroup/config.d.ts +1 -1
  784. package/dist/types/src/components/GrRadioGroup/defaults.d.ts +1 -1
  785. package/dist/types/src/components/GrRadioGroup/index.d.ts +4 -0
  786. package/dist/types/src/components/GrRating/GrRating.vue.d.ts +66 -17
  787. package/dist/types/src/components/GrRating/config.d.ts +1 -1
  788. package/dist/types/src/components/GrRating/defaults.d.ts +1 -1
  789. package/dist/types/src/components/GrRating/grRatingStyles.d.ts +4 -1
  790. package/dist/types/src/components/GrRating/index.d.ts +4 -0
  791. package/dist/types/src/components/GrResponseErrorBanner/GrFormErrorBanner.vue.d.ts +8 -4
  792. package/dist/types/src/components/GrResponseErrorBanner/GrResponseErrorBanner.vue.d.ts +8 -4
  793. package/dist/types/src/components/GrResponseErrorBanner/GrUploadErrorBanner.vue.d.ts +11 -4
  794. package/dist/types/src/components/GrResponseErrorBanner/config.d.ts +1 -1
  795. package/dist/types/src/components/GrResponseErrorBanner/index.d.ts +6 -0
  796. package/dist/types/src/components/GrResponseErrorBanner/parsers/httpStatusParser.d.ts +3 -1
  797. package/dist/types/src/components/GrResponseErrorBanner/parsers/plainMessageParser.d.ts +4 -1
  798. package/dist/types/src/components/GrResponseErrorBanner/responseError.types.d.ts +12 -2
  799. package/dist/types/src/components/GrSegmented/GrSegmented.vue.d.ts +48 -9
  800. package/dist/types/src/components/GrSegmented/config.d.ts +1 -1
  801. package/dist/types/src/components/GrSegmented/defaults.d.ts +1 -1
  802. package/dist/types/src/components/GrSegmented/grSegmentedStyles.d.ts +31 -5
  803. package/dist/types/src/components/GrSegmented/index.d.ts +5 -1
  804. package/dist/types/src/components/GrSegmented/safelist.d.ts +3 -1
  805. package/dist/types/src/components/GrSelect/GrSelect.vue.d.ts +138 -114
  806. package/dist/types/src/components/GrSelect/composables/useSelectNavigation.d.ts +52 -0
  807. package/dist/types/src/components/GrSelect/composables/useSelectPanelItems.d.ts +67 -0
  808. package/dist/types/src/components/GrSelect/composables/useSelectValues.d.ts +37 -0
  809. package/dist/types/src/components/GrSelect/composables/useSelectVirtualization.d.ts +27 -0
  810. package/dist/types/src/components/GrSelect/config.d.ts +1 -1
  811. package/dist/types/src/components/GrSelect/defaults.d.ts +1 -1
  812. package/dist/types/src/components/GrSelect/grSelectStyles.d.ts +64 -9
  813. package/dist/types/src/components/GrSelect/index.d.ts +5 -1
  814. package/dist/types/src/components/GrSelect/selectValue.d.ts +20 -0
  815. package/dist/types/src/components/GrSidebar/GrSidebar.vue.d.ts +30 -5
  816. package/dist/types/src/components/GrSidebar/GrSidebarGroup.vue.d.ts +43 -0
  817. package/dist/types/src/components/GrSidebar/GrSidebarItem.vue.d.ts +4 -4
  818. package/dist/types/src/components/GrSidebar/config.d.ts +1 -1
  819. package/dist/types/src/components/GrSidebar/grSidebarStyles.d.ts +48 -0
  820. package/dist/types/src/components/GrSidebar/index.d.ts +6 -0
  821. package/dist/types/src/components/GrSidebar/safelist.d.ts +1 -0
  822. package/dist/types/src/components/GrSkeleton/GrSkeleton.vue.d.ts +22 -6
  823. package/dist/types/src/components/GrSkeleton/config.d.ts +1 -1
  824. package/dist/types/src/components/GrSkeleton/grSkeletonStyles.d.ts +9 -0
  825. package/dist/types/src/components/GrSkeleton/index.d.ts +1 -0
  826. package/dist/types/src/components/GrSlider/GrSlider.vue.d.ts +54 -4
  827. package/dist/types/src/components/GrSlider/config.d.ts +1 -1
  828. package/dist/types/src/components/GrSlider/defaults.d.ts +1 -1
  829. package/dist/types/src/components/GrSlider/grSliderStyles.d.ts +47 -8
  830. package/dist/types/src/components/GrSlider/index.d.ts +4 -0
  831. package/dist/types/src/components/GrSortableList/GrSortableList.vue.d.ts +68 -0
  832. package/dist/types/src/components/GrSortableList/config.d.ts +1 -0
  833. package/dist/types/src/components/GrSortableList/grSortableListStyles.d.ts +38 -0
  834. package/dist/types/src/components/GrSortableList/index.d.ts +9 -0
  835. package/dist/types/src/components/GrSortableList/safelist.d.ts +1 -0
  836. package/dist/types/src/components/GrSplitter/GrSplitter.vue.d.ts +121 -0
  837. package/dist/types/src/components/GrSplitter/config.d.ts +1 -0
  838. package/dist/types/src/components/GrSplitter/defaults.d.ts +16 -0
  839. package/dist/types/src/components/GrSplitter/grSplitterStyles.d.ts +9 -0
  840. package/dist/types/src/components/GrSplitter/index.d.ts +11 -0
  841. package/dist/types/src/components/GrSplitter/safelist.d.ts +1 -0
  842. package/dist/types/src/components/GrSplitter/splitterGeometry.d.ts +39 -0
  843. package/dist/types/src/components/GrStatistic/GrStatistic.vue.d.ts +65 -16
  844. package/dist/types/src/components/GrStatistic/config.d.ts +1 -1
  845. package/dist/types/src/components/GrStatistic/countUp.d.ts +17 -0
  846. package/dist/types/src/components/GrStatistic/defaults.d.ts +14 -0
  847. package/dist/types/src/components/GrStatistic/formatStatisticValue.d.ts +6 -2
  848. package/dist/types/src/components/GrStatistic/grStatisticStyles.d.ts +14 -1
  849. package/dist/types/src/components/GrStatistic/index.d.ts +2 -1
  850. package/dist/types/src/components/GrSwitch/GrSwitch.vue.d.ts +68 -6
  851. package/dist/types/src/components/GrSwitch/config.d.ts +1 -1
  852. package/dist/types/src/components/GrSwitch/defaults.d.ts +1 -1
  853. package/dist/types/src/components/GrSwitch/grSwitchStyles.d.ts +45 -4
  854. package/dist/types/src/components/GrSwitch/index.d.ts +5 -1
  855. package/dist/types/src/components/GrSwitch/safelist.d.ts +4 -1
  856. package/dist/types/src/components/GrTabPanels/GrTabPanel.vue.d.ts +12 -9
  857. package/dist/types/src/components/GrTabPanels/GrTabPanels.vue.d.ts +4 -14
  858. package/dist/types/src/components/GrTabPanels/config.d.ts +1 -1
  859. package/dist/types/src/components/GrTabPanels/context.d.ts +1 -1
  860. package/dist/types/src/components/GrTabPanels/index.d.ts +2 -0
  861. package/dist/types/src/components/GrTable/GrTable.vue.d.ts +98 -15
  862. package/dist/types/src/components/GrTable/config.d.ts +1 -1
  863. package/dist/types/src/components/GrTable/defaults.d.ts +10 -0
  864. package/dist/types/src/components/GrTable/grTableStyles.d.ts +20 -0
  865. package/dist/types/src/components/GrTable/index.d.ts +7 -1
  866. package/dist/types/src/components/GrTable/safelist.d.ts +1 -0
  867. package/dist/types/src/components/GrTabs/GrTabs.vue.d.ts +92 -6
  868. package/dist/types/src/components/GrTabs/config.d.ts +1 -1
  869. package/dist/types/src/components/GrTabs/defaults.d.ts +12 -0
  870. package/dist/types/src/components/GrTabs/grTabsStyles.d.ts +71 -0
  871. package/dist/types/src/components/GrTabs/index.d.ts +5 -0
  872. package/dist/types/src/components/GrTabs/safelist.d.ts +1 -0
  873. package/dist/types/src/components/GrTextarea/GrTextarea.vue.d.ts +89 -24
  874. package/dist/types/src/components/GrTextarea/config.d.ts +1 -1
  875. package/dist/types/src/components/GrTextarea/defaults.d.ts +18 -0
  876. package/dist/types/src/components/GrTextarea/grTextareaStyles.d.ts +33 -1
  877. package/dist/types/src/components/GrTextarea/index.d.ts +6 -1
  878. package/dist/types/src/components/GrTimeline/GrTimeline.vue.d.ts +70 -0
  879. package/dist/types/src/components/GrTimeline/GrTimelineItem.vue.d.ts +84 -0
  880. package/dist/types/src/components/GrTimeline/config.d.ts +1 -0
  881. package/dist/types/src/components/GrTimeline/defaults.d.ts +19 -0
  882. package/dist/types/src/components/GrTimeline/grTimelineContext.d.ts +18 -0
  883. package/dist/types/src/components/GrTimeline/grTimelineStyles.d.ts +37 -0
  884. package/dist/types/src/components/GrTimeline/index.d.ts +12 -0
  885. package/dist/types/src/components/GrTimeline/safelist.d.ts +1 -0
  886. package/dist/types/src/components/GrTimeline/timelineGroups.d.ts +23 -0
  887. package/dist/types/src/components/GrToaster/GrToaster.vue.d.ts +33 -1
  888. package/dist/types/src/components/GrToaster/config.d.ts +1 -1
  889. package/dist/types/src/components/GrToaster/grToasterStyles.d.ts +27 -0
  890. package/dist/types/src/components/GrToaster/index.d.ts +3 -0
  891. package/dist/types/src/components/GrTooltip/GrTooltip.vue.d.ts +57 -6
  892. package/dist/types/src/components/GrTooltip/config.d.ts +1 -1
  893. package/dist/types/src/components/GrTooltip/defaults.d.ts +10 -0
  894. package/dist/types/src/components/GrTooltip/grTooltipStyles.d.ts +8 -0
  895. package/dist/types/src/components/GrTooltip/index.d.ts +5 -1
  896. package/dist/types/src/components/GrTooltip/safelist.d.ts +1 -0
  897. package/dist/types/src/components/GrTree/GrTree.vue.d.ts +20 -7
  898. package/dist/types/src/components/GrTree/config.d.ts +1 -1
  899. package/dist/types/src/components/GrTree/defaults.d.ts +10 -0
  900. package/dist/types/src/components/GrTree/grTreeChecking.d.ts +31 -0
  901. package/dist/types/src/components/GrTree/grTreeDataAdapter.d.ts +2 -0
  902. package/dist/types/src/components/GrTree/grTreeInteractionContext.d.ts +9 -1
  903. package/dist/types/src/components/GrTree/grTreeProps.d.ts +60 -11
  904. package/dist/types/src/components/GrTree/grTreeStore.d.ts +27 -1
  905. package/dist/types/src/components/GrTree/grTreeStyles.d.ts +22 -0
  906. package/dist/types/src/components/GrTree/grTreeTypes.d.ts +15 -0
  907. package/dist/types/src/components/GrTree/index.d.ts +5 -1
  908. package/dist/types/src/components/GrTreeSelect/GrTreeSelect.vue.d.ts +30 -9
  909. package/dist/types/src/components/GrTreeSelect/config.d.ts +1 -1
  910. package/dist/types/src/components/GrTreeSelect/defaults.d.ts +10 -0
  911. package/dist/types/src/components/GrTreeSelect/grTreeSelectStyles.d.ts +29 -1
  912. package/dist/types/src/components/GrTreeSelect/grTreeSelectTypes.d.ts +43 -0
  913. package/dist/types/src/components/GrTreeSelect/index.d.ts +5 -0
  914. package/dist/types/src/components/shared/hotkey.d.ts +38 -0
  915. package/dist/types/src/components/shared/hotkeyTokens.d.ts +37 -0
  916. package/dist/types/src/components/shared/instance.d.ts +15 -0
  917. package/dist/types/src/components/shared/optionFilter.d.ts +61 -0
  918. package/dist/types/src/components/shared/sizes.d.ts +30 -0
  919. package/dist/types/src/components/shared/slotNodes.d.ts +19 -0
  920. package/dist/types/src/composables/internal/dragSortGeometry.d.ts +59 -0
  921. package/dist/types/src/composables/internal/focusables.d.ts +30 -0
  922. package/dist/types/src/composables/internal/inert.d.ts +35 -0
  923. package/dist/types/src/composables/internal/overlayStack.d.ts +71 -0
  924. package/dist/types/src/composables/internal/portalRoot.d.ts +27 -0
  925. package/dist/types/src/composables/internal/useAddonMeasurement.d.ts +1 -1
  926. package/dist/types/src/composables/internal/useControlAddons.d.ts +61 -0
  927. package/dist/types/src/composables/internal/useControlledOpen.d.ts +14 -0
  928. package/dist/types/src/composables/internal/useFilePreviews.d.ts +26 -0
  929. package/dist/types/src/composables/internal/useFocusWithin.d.ts +32 -0
  930. package/dist/types/src/composables/internal/useInertOthers.d.ts +9 -0
  931. package/dist/types/src/composables/internal/useModalOverlay.d.ts +95 -0
  932. package/dist/types/src/composables/internal/useOverlayPresence.d.ts +24 -0
  933. package/dist/types/src/composables/internal/useScrollLock.d.ts +10 -5
  934. package/dist/types/src/composables/internal/useTeleportEnabled.d.ts +35 -0
  935. package/dist/types/src/composables/useAnnouncer.d.ts +44 -0
  936. package/dist/types/src/composables/useComboboxNavigation.d.ts +51 -0
  937. package/dist/types/src/composables/useDismissible.d.ts +32 -0
  938. package/dist/types/src/composables/useDragGesture.d.ts +63 -0
  939. package/dist/types/src/composables/useDragSort.d.ts +80 -0
  940. package/dist/types/src/composables/useFloating.d.ts +57 -0
  941. package/dist/types/src/composables/useFocusTrap.d.ts +50 -0
  942. package/dist/types/src/composables/useGrComponentConfig.d.ts +41 -0
  943. package/dist/types/src/composables/useGrFormControl.d.ts +52 -0
  944. package/dist/types/src/composables/useGranularityTranslations.d.ts +13 -0
  945. package/dist/types/src/composables/useOverlayLayer.d.ts +67 -0
  946. package/dist/types/src/composables/usePortalTarget.d.ts +28 -0
  947. package/dist/types/src/composables/useRovingFocus.d.ts +108 -0
  948. package/dist/types/src/composables/useTheme.d.ts +48 -2
  949. package/dist/types/src/composables/useToast.d.ts +20 -11
  950. package/dist/types/src/composables/useVirtualList.d.ts +119 -0
  951. package/dist/types/src/directives/loading.d.ts +7 -1
  952. package/dist/types/src/fileValidation/i18n.d.ts +24 -0
  953. package/dist/types/src/fileValidation/index.d.ts +4 -2
  954. package/dist/types/src/fileValidation/maxCountValidator.d.ts +9 -0
  955. package/dist/types/src/fileValidation/maxFileSize.d.ts +16 -0
  956. package/dist/types/src/fileValidation/types.d.ts +8 -2
  957. package/dist/types/src/granular-provider/index.d.ts +1 -1
  958. package/dist/types/src/granular-provider/node.d.ts +2 -3
  959. package/dist/types/src/granular-provider/shared.d.ts +14 -18
  960. package/dist/types/src/i18n/adapter.d.ts +24 -0
  961. package/dist/types/src/i18n/messages/en.d.ts +334 -2
  962. package/dist/types/src/i18n/messages/es.d.ts +338 -2
  963. package/dist/types/src/i18n/messages/ru.d.ts +342 -2
  964. package/dist/types/src/index.d.ts +38 -3
  965. package/dist/types/src/internal/granularityFormat.d.ts +19 -0
  966. package/dist/types/src/internal/granularityI18n.d.ts +6 -0
  967. package/dist/types/src/internal/keyboard.d.ts +52 -0
  968. package/dist/types/src/tokens/generated.d.ts +6 -0
  969. package/dist/types/src/tokens/index.d.ts +13 -0
  970. package/dist/types/src/tokens/types.d.ts +54 -0
  971. package/dist/vue/index.js.map +1 -1
  972. package/dist/web-types.json +6503 -2020
  973. package/package.json +118 -17
  974. package/tokens/derived.json +142 -0
  975. package/tokens/foundation.json +558 -0
  976. package/tokens/themes/dark.json +499 -0
  977. package/tokens/themes/light.json +499 -0
  978. package/dist/GrBadge.css +0 -1
  979. package/dist/GrButtonGroup.css +0 -1
  980. package/dist/GrFormFile.css +0 -1
  981. package/dist/GrIcon.css +0 -1
  982. package/dist/GrLoading.css +0 -1
  983. package/dist/GrToaster.css +0 -1
  984. package/dist/GrTree.css +0 -1
  985. package/dist/chunks/config-23WtUiAL.js +0 -53
  986. package/dist/chunks/config-23WtUiAL.js.map +0 -1
  987. package/dist/chunks/config-B0i5r8kH.js +0 -23
  988. package/dist/chunks/config-B0i5r8kH.js.map +0 -1
  989. package/dist/chunks/config-B0qIpo8m.js +0 -5
  990. package/dist/chunks/config-B0qIpo8m.js.map +0 -1
  991. package/dist/chunks/config-B5Rknzkd.js +0 -100
  992. package/dist/chunks/config-B5Rknzkd.js.map +0 -1
  993. package/dist/chunks/config-BDSHekVC.js +0 -84
  994. package/dist/chunks/config-BDSHekVC.js.map +0 -1
  995. package/dist/chunks/config-BEegFP74.js +0 -5
  996. package/dist/chunks/config-BEegFP74.js.map +0 -1
  997. package/dist/chunks/config-BLHqZhy-.js +0 -5
  998. package/dist/chunks/config-BLHqZhy-.js.map +0 -1
  999. package/dist/chunks/config-BMKNHFMD2.js +0 -171
  1000. package/dist/chunks/config-BMKNHFMD2.js.map +0 -1
  1001. package/dist/chunks/config-BUHuGBik2.js +0 -13
  1002. package/dist/chunks/config-BUHuGBik2.js.map +0 -1
  1003. package/dist/chunks/config-BWGGp7uV.js +0 -8
  1004. package/dist/chunks/config-BWGGp7uV.js.map +0 -1
  1005. package/dist/chunks/config-BWiPnygb.js +0 -5
  1006. package/dist/chunks/config-BWiPnygb.js.map +0 -1
  1007. package/dist/chunks/config-BX1JTrkV.js +0 -14
  1008. package/dist/chunks/config-BX1JTrkV.js.map +0 -1
  1009. package/dist/chunks/config-BXtAmU3s.js +0 -8
  1010. package/dist/chunks/config-BXtAmU3s.js.map +0 -1
  1011. package/dist/chunks/config-BZFUM3Ky.js +0 -75
  1012. package/dist/chunks/config-BZFUM3Ky.js.map +0 -1
  1013. package/dist/chunks/config-Bah4oHwL.js +0 -8
  1014. package/dist/chunks/config-Bah4oHwL.js.map +0 -1
  1015. package/dist/chunks/config-BmNT0Fmx.js +0 -45
  1016. package/dist/chunks/config-BmNT0Fmx.js.map +0 -1
  1017. package/dist/chunks/config-BvVq2gbd.js +0 -13
  1018. package/dist/chunks/config-BvVq2gbd.js.map +0 -1
  1019. package/dist/chunks/config-C4hJxXDa.js +0 -58
  1020. package/dist/chunks/config-C4hJxXDa.js.map +0 -1
  1021. package/dist/chunks/config-C86UzUYf.js +0 -13
  1022. package/dist/chunks/config-C86UzUYf.js.map +0 -1
  1023. package/dist/chunks/config-C9AcVDkv.js +0 -5
  1024. package/dist/chunks/config-C9AcVDkv.js.map +0 -1
  1025. package/dist/chunks/config-CB4RVt9M.js +0 -66
  1026. package/dist/chunks/config-CB4RVt9M.js.map +0 -1
  1027. package/dist/chunks/config-CGHLoBlH2.js +0 -5
  1028. package/dist/chunks/config-CGHLoBlH2.js.map +0 -1
  1029. package/dist/chunks/config-COE_vZ-l.js +0 -52
  1030. package/dist/chunks/config-COE_vZ-l.js.map +0 -1
  1031. package/dist/chunks/config-CPdmr7tC.js +0 -39
  1032. package/dist/chunks/config-CPdmr7tC.js.map +0 -1
  1033. package/dist/chunks/config-CThzliFi.js +0 -5
  1034. package/dist/chunks/config-CThzliFi.js.map +0 -1
  1035. package/dist/chunks/config-Cb2PAlSD.js +0 -8
  1036. package/dist/chunks/config-Cb2PAlSD.js.map +0 -1
  1037. package/dist/chunks/config-D7GZO-Dx.js +0 -8
  1038. package/dist/chunks/config-D7GZO-Dx.js.map +0 -1
  1039. package/dist/chunks/config-DICOd-2X.js +0 -5
  1040. package/dist/chunks/config-DICOd-2X.js.map +0 -1
  1041. package/dist/chunks/config-DPDFYzIa.js +0 -40
  1042. package/dist/chunks/config-DPDFYzIa.js.map +0 -1
  1043. package/dist/chunks/config-DRKXJ9PW2.js +0 -22
  1044. package/dist/chunks/config-DRKXJ9PW2.js.map +0 -1
  1045. package/dist/chunks/config-DToHb81g.js +0 -45
  1046. package/dist/chunks/config-DToHb81g.js.map +0 -1
  1047. package/dist/chunks/config-D_myOZbA.js +0 -20
  1048. package/dist/chunks/config-D_myOZbA.js.map +0 -1
  1049. package/dist/chunks/config-Dg_6FTvJ.js +0 -35
  1050. package/dist/chunks/config-Dg_6FTvJ.js.map +0 -1
  1051. package/dist/chunks/config-Dlm49Jp5.js +0 -5
  1052. package/dist/chunks/config-Dlm49Jp5.js.map +0 -1
  1053. package/dist/chunks/config-DpqOnJiz.js.map +0 -1
  1054. package/dist/chunks/config-Dqy0rPPO2.js +0 -17
  1055. package/dist/chunks/config-Dqy0rPPO2.js.map +0 -1
  1056. package/dist/chunks/config-Dxuwwepq.js +0 -5
  1057. package/dist/chunks/config-Dxuwwepq.js.map +0 -1
  1058. package/dist/chunks/config-HZto2PVy.js +0 -5
  1059. package/dist/chunks/config-HZto2PVy.js.map +0 -1
  1060. package/dist/chunks/config-JOtB4mzs.js +0 -8
  1061. package/dist/chunks/config-JOtB4mzs.js.map +0 -1
  1062. package/dist/chunks/config-JpHA4Xx0.js +0 -8
  1063. package/dist/chunks/config-JpHA4Xx0.js.map +0 -1
  1064. package/dist/chunks/config-KXuionN3.js +0 -9
  1065. package/dist/chunks/config-KXuionN3.js.map +0 -1
  1066. package/dist/chunks/config-LGrZIdaZ.js +0 -21
  1067. package/dist/chunks/config-LGrZIdaZ.js.map +0 -1
  1068. package/dist/chunks/config-LqDC_rvp.js +0 -78
  1069. package/dist/chunks/config-LqDC_rvp.js.map +0 -1
  1070. package/dist/chunks/config-PFg39mYo.js +0 -5
  1071. package/dist/chunks/config-PFg39mYo.js.map +0 -1
  1072. package/dist/chunks/config-QYGvEBu5.js +0 -22
  1073. package/dist/chunks/config-QYGvEBu5.js.map +0 -1
  1074. package/dist/chunks/config-QaIc_gRa2.js.map +0 -1
  1075. package/dist/chunks/config-U4m9PSql2.js +0 -8
  1076. package/dist/chunks/config-U4m9PSql2.js.map +0 -1
  1077. package/dist/chunks/config-XmTv4pnI.js +0 -26
  1078. package/dist/chunks/config-XmTv4pnI.js.map +0 -1
  1079. package/dist/chunks/config-ZiXWIRBX.js +0 -8
  1080. package/dist/chunks/config-ZiXWIRBX.js.map +0 -1
  1081. package/dist/chunks/config-gZWR75Bh2.js +0 -44
  1082. package/dist/chunks/config-gZWR75Bh2.js.map +0 -1
  1083. package/dist/chunks/config-ipvU0lzP.js +0 -5
  1084. package/dist/chunks/config-ipvU0lzP.js.map +0 -1
  1085. package/dist/chunks/config-xR4XVmcy2.js +0 -8
  1086. package/dist/chunks/config-xR4XVmcy2.js.map +0 -1
  1087. package/dist/chunks/context-DfWYCBB-.js +0 -129
  1088. package/dist/chunks/context-DfWYCBB-.js.map +0 -1
  1089. package/dist/chunks/en-Cr6EkG8c.js +0 -186
  1090. package/dist/chunks/en-Cr6EkG8c.js.map +0 -1
  1091. package/dist/chunks/es-DuYb1Qju.js +0 -20
  1092. package/dist/chunks/es-DuYb1Qju.js.map +0 -1
  1093. package/dist/chunks/es-i08e9Sdo.js +0 -186
  1094. package/dist/chunks/es-i08e9Sdo.js.map +0 -1
  1095. package/dist/chunks/fileValidation-C3WFaWU2.js +0 -220
  1096. package/dist/chunks/fileValidation-C3WFaWU2.js.map +0 -1
  1097. package/dist/chunks/grBadgeStyles-D3dFjr_N.js +0 -50
  1098. package/dist/chunks/grBadgeStyles-D3dFjr_N.js.map +0 -1
  1099. package/dist/chunks/grButtonStyles-DRBgDmOp.js +0 -191
  1100. package/dist/chunks/grButtonStyles-DRBgDmOp.js.map +0 -1
  1101. package/dist/chunks/grDropdownStyles-HBPkghVr.js +0 -35
  1102. package/dist/chunks/grDropdownStyles-HBPkghVr.js.map +0 -1
  1103. package/dist/chunks/grLoadingStyles-R5sreH__.js +0 -17
  1104. package/dist/chunks/grLoadingStyles-R5sreH__.js.map +0 -1
  1105. package/dist/chunks/grModalEscStack-BXk-9mv7.js +0 -43
  1106. package/dist/chunks/grModalEscStack-BXk-9mv7.js.map +0 -1
  1107. package/dist/chunks/grModalStyles-D8-shx9A.js +0 -47
  1108. package/dist/chunks/grModalStyles-D8-shx9A.js.map +0 -1
  1109. package/dist/chunks/grSelectStyles-CwMUQrBZ.js +0 -97
  1110. package/dist/chunks/grSelectStyles-CwMUQrBZ.js.map +0 -1
  1111. package/dist/chunks/grStyle-CdvxTXPH.js +0 -19
  1112. package/dist/chunks/grStyle-CdvxTXPH.js.map +0 -1
  1113. package/dist/chunks/granularityI18n-SH0I--GW.js +0 -61
  1114. package/dist/chunks/granularityI18n-SH0I--GW.js.map +0 -1
  1115. package/dist/chunks/ru-B5XOOYZt.js +0 -186
  1116. package/dist/chunks/ru-B5XOOYZt.js.map +0 -1
  1117. package/dist/chunks/safelist-BvO8HPnE.js +0 -24
  1118. package/dist/chunks/safelist-BvO8HPnE.js.map +0 -1
  1119. package/dist/chunks/shared-D-v9lit0.js +0 -188
  1120. package/dist/chunks/shared-D-v9lit0.js.map +0 -1
  1121. package/dist/chunks/useAddonMeasurement-DM0akF4C.js +0 -65
  1122. package/dist/chunks/useAddonMeasurement-DM0akF4C.js.map +0 -1
  1123. package/dist/chunks/useEscapeToClose-C2t_S1gh.js +0 -27
  1124. package/dist/chunks/useEscapeToClose-C2t_S1gh.js.map +0 -1
  1125. package/dist/chunks/useFloating-DtM6TyE4.js +0 -1249
  1126. package/dist/chunks/useFloating-DtM6TyE4.js.map +0 -1
  1127. package/dist/chunks/useScrollLock-K7kaP2Ud.js +0 -1757
  1128. package/dist/chunks/useScrollLock-K7kaP2Ud.js.map +0 -1
  1129. package/dist/components/GrAlert/chunks/GrAlert-B9gmpoPC.js +0 -251
  1130. package/dist/components/GrAlert/chunks/GrAlert-B9gmpoPC.js.map +0 -1
  1131. package/dist/components/GrAutocomplete/chunks/GrAutocomplete-BVLoQ5tZ.js +0 -499
  1132. package/dist/components/GrAutocomplete/chunks/GrAutocomplete-BVLoQ5tZ.js.map +0 -1
  1133. package/dist/components/GrAvatar/chunks/GrAvatar-CTOUVBF7.js +0 -41
  1134. package/dist/components/GrAvatar/chunks/GrAvatar-CTOUVBF7.js.map +0 -1
  1135. package/dist/components/GrBadge/chunks/GrBadge-D1jefy4S.js +0 -40
  1136. package/dist/components/GrBadge/chunks/GrBadge-D1jefy4S.js.map +0 -1
  1137. package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-DWDxHdiQ.js +0 -33
  1138. package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-DWDxHdiQ.js.map +0 -1
  1139. package/dist/components/GrBottomNav/chunks/GrBottomNav-vSE4LXmk.js +0 -31
  1140. package/dist/components/GrBottomNav/chunks/GrBottomNav-vSE4LXmk.js.map +0 -1
  1141. package/dist/components/GrButton/chunks/GrButton-DCi4CUpo.js +0 -128
  1142. package/dist/components/GrButton/chunks/GrButton-DCi4CUpo.js.map +0 -1
  1143. package/dist/components/GrButtonGroup/chunks/GrButtonGroup-Bs9dEKfA.js +0 -21
  1144. package/dist/components/GrButtonGroup/chunks/GrButtonGroup-Bs9dEKfA.js.map +0 -1
  1145. package/dist/components/GrCard/chunks/GrCard-CxCjyHMb.js +0 -11
  1146. package/dist/components/GrCard/chunks/GrCard-CxCjyHMb.js.map +0 -1
  1147. package/dist/components/GrCheckbox/chunks/GrCheckbox-BbIDRXtl.js +0 -182
  1148. package/dist/components/GrCheckbox/chunks/GrCheckbox-BbIDRXtl.js.map +0 -1
  1149. package/dist/components/GrCollapse/chunks/GrCollapse-DApXztn8.js +0 -205
  1150. package/dist/components/GrCollapse/chunks/GrCollapse-DApXztn8.js.map +0 -1
  1151. package/dist/components/GrCommandPalette/chunks/GrCommandPalette-6OyvNbek.js +0 -410
  1152. package/dist/components/GrCommandPalette/chunks/GrCommandPalette-6OyvNbek.js.map +0 -1
  1153. package/dist/components/GrConfigProvider/chunks/GrConfigProvider-BtyeBGm8.js +0 -57
  1154. package/dist/components/GrConfigProvider/chunks/GrConfigProvider-BtyeBGm8.js.map +0 -1
  1155. package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-e4120mWw.js +0 -160
  1156. package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-e4120mWw.js.map +0 -1
  1157. package/dist/components/GrDataTable/chunks/GrDataTable-C1CzxV0p.js +0 -307
  1158. package/dist/components/GrDataTable/chunks/GrDataTable-C1CzxV0p.js.map +0 -1
  1159. package/dist/components/GrDialog/chunks/GrDialog-BPMvDHOz.js +0 -223
  1160. package/dist/components/GrDialog/chunks/GrDialog-BPMvDHOz.js.map +0 -1
  1161. package/dist/components/GrDialogService/chunks/GrDialogService-CYXCTGm3.js +0 -450
  1162. package/dist/components/GrDialogService/chunks/GrDialogService-CYXCTGm3.js.map +0 -1
  1163. package/dist/components/GrDivider/chunks/GrDivider-BdENZ1w0.js +0 -54
  1164. package/dist/components/GrDivider/chunks/GrDivider-BdENZ1w0.js.map +0 -1
  1165. package/dist/components/GrDrawer/chunks/GrDrawer-KevdZ5BB.js +0 -184
  1166. package/dist/components/GrDrawer/chunks/GrDrawer-KevdZ5BB.js.map +0 -1
  1167. package/dist/components/GrDropdown/chunks/GrDropdown-BKoy8hm-.js +0 -181
  1168. package/dist/components/GrDropdown/chunks/GrDropdown-BKoy8hm-.js.map +0 -1
  1169. package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-zCatXzmt.js +0 -309
  1170. package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-zCatXzmt.js.map +0 -1
  1171. package/dist/components/GrEmptyState/chunks/GrEmptyState-CNb0BzjG.js +0 -62
  1172. package/dist/components/GrEmptyState/chunks/GrEmptyState-CNb0BzjG.js.map +0 -1
  1173. package/dist/components/GrFileUpload/chunks/GrFileUpload-CnLgUGDF.js +0 -592
  1174. package/dist/components/GrFileUpload/chunks/GrFileUpload-CnLgUGDF.js.map +0 -1
  1175. package/dist/components/GrForm/chunks/GrForm-CdaFjcyl.js +0 -234
  1176. package/dist/components/GrForm/chunks/GrForm-CdaFjcyl.js.map +0 -1
  1177. package/dist/components/GrFormField/chunks/GrFormField-CXCDBd99.js +0 -100
  1178. package/dist/components/GrFormField/chunks/GrFormField-CXCDBd99.js.map +0 -1
  1179. package/dist/components/GrFormFile/chunks/GrFormFile-CqacSbUl.js +0 -320
  1180. package/dist/components/GrFormFile/chunks/GrFormFile-CqacSbUl.js.map +0 -1
  1181. package/dist/components/GrFormSection/chunks/GrFormSection-C3w9DQJf.js +0 -35
  1182. package/dist/components/GrFormSection/chunks/GrFormSection-C3w9DQJf.js.map +0 -1
  1183. package/dist/components/GrIcon/chunks/GrIcon-D9AWQLk2.js +0 -32
  1184. package/dist/components/GrIcon/chunks/GrIcon-D9AWQLk2.js.map +0 -1
  1185. package/dist/components/GrImageViewer/chunks/GrImageViewer-DDLJkvIU.js +0 -650
  1186. package/dist/components/GrImageViewer/chunks/GrImageViewer-DDLJkvIU.js.map +0 -1
  1187. package/dist/components/GrInput/chunks/GrInput-C1VBL0dg.js +0 -337
  1188. package/dist/components/GrInput/chunks/GrInput-C1VBL0dg.js.map +0 -1
  1189. package/dist/components/GrInputTag/chunks/GrInputTag-BMk9jm42.js +0 -260
  1190. package/dist/components/GrInputTag/chunks/GrInputTag-BMk9jm42.js.map +0 -1
  1191. package/dist/components/GrKbd/chunks/GrKbd-DTspwtoN.js +0 -22
  1192. package/dist/components/GrKbd/chunks/GrKbd-DTspwtoN.js.map +0 -1
  1193. package/dist/components/GrLink/chunks/GrLink-BP0YrnL9.js +0 -100
  1194. package/dist/components/GrLink/chunks/GrLink-BP0YrnL9.js.map +0 -1
  1195. package/dist/components/GrList/chunks/GrList-5RA-tZzE.js +0 -77
  1196. package/dist/components/GrList/chunks/GrList-5RA-tZzE.js.map +0 -1
  1197. package/dist/components/GrLoading/chunks/GrLoading-fRDtVfi7.js +0 -69
  1198. package/dist/components/GrLoading/chunks/GrLoading-fRDtVfi7.js.map +0 -1
  1199. package/dist/components/GrModal/chunks/GrModal-BTu1-5eY.js +0 -233
  1200. package/dist/components/GrModal/chunks/GrModal-BTu1-5eY.js.map +0 -1
  1201. package/dist/components/GrNavbar/chunks/GrNavbar-keKT_mIM.js +0 -75
  1202. package/dist/components/GrNavbar/chunks/GrNavbar-keKT_mIM.js.map +0 -1
  1203. package/dist/components/GrNumberInput/chunks/GrNumberInput-l9ZOHG9D.js +0 -471
  1204. package/dist/components/GrNumberInput/chunks/GrNumberInput-l9ZOHG9D.js.map +0 -1
  1205. package/dist/components/GrPagination/chunks/GrPagination-C5Y69CuK.js +0 -208
  1206. package/dist/components/GrPagination/chunks/GrPagination-C5Y69CuK.js.map +0 -1
  1207. package/dist/components/GrProgressBar/chunks/GrProgressBar-Dqg4Fj9S.js +0 -39
  1208. package/dist/components/GrProgressBar/chunks/GrProgressBar-Dqg4Fj9S.js.map +0 -1
  1209. package/dist/components/GrPromptDialog/chunks/GrPromptDialog-DNUjRVB9.js +0 -224
  1210. package/dist/components/GrPromptDialog/chunks/GrPromptDialog-DNUjRVB9.js.map +0 -1
  1211. package/dist/components/GrRadio/chunks/GrRadio-DlhxPGqf.js +0 -182
  1212. package/dist/components/GrRadio/chunks/GrRadio-DlhxPGqf.js.map +0 -1
  1213. package/dist/components/GrRadioGroup/chunks/GrRadioGroup-BXt9iw4q.js +0 -82
  1214. package/dist/components/GrRadioGroup/chunks/GrRadioGroup-BXt9iw4q.js.map +0 -1
  1215. package/dist/components/GrRating/chunks/GrRating-Co-3Rk4h.js +0 -241
  1216. package/dist/components/GrRating/chunks/GrRating-Co-3Rk4h.js.map +0 -1
  1217. package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-2CvM7Z08.js +0 -224
  1218. package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-2CvM7Z08.js.map +0 -1
  1219. package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-C8NGx8pE.js +0 -782
  1220. package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-C8NGx8pE.js.map +0 -1
  1221. package/dist/components/GrSegmented/chunks/GrSegmented-CTd3n4PA.js +0 -326
  1222. package/dist/components/GrSegmented/chunks/GrSegmented-CTd3n4PA.js.map +0 -1
  1223. package/dist/components/GrSelect/chunks/GrSelect-Dn3FgJ3Z.js +0 -730
  1224. package/dist/components/GrSelect/chunks/GrSelect-Dn3FgJ3Z.js.map +0 -1
  1225. package/dist/components/GrSidebar/chunks/GrSidebar-cvnzBfj3.js +0 -238
  1226. package/dist/components/GrSidebar/chunks/GrSidebar-cvnzBfj3.js.map +0 -1
  1227. package/dist/components/GrSkeleton/chunks/GrSkeleton-BucA5F4J.js +0 -33
  1228. package/dist/components/GrSkeleton/chunks/GrSkeleton-BucA5F4J.js.map +0 -1
  1229. package/dist/components/GrSlider/chunks/GrSlider-CzzJ3bD-.js +0 -286
  1230. package/dist/components/GrSlider/chunks/GrSlider-CzzJ3bD-.js.map +0 -1
  1231. package/dist/components/GrStatistic/chunks/GrStatistic-gHiAwrX5.js +0 -128
  1232. package/dist/components/GrStatistic/chunks/GrStatistic-gHiAwrX5.js.map +0 -1
  1233. package/dist/components/GrSwitch/chunks/GrSwitch-CJdRvS0s.js +0 -88
  1234. package/dist/components/GrSwitch/chunks/GrSwitch-CJdRvS0s.js.map +0 -1
  1235. package/dist/components/GrTabPanels/chunks/GrTabPanels-DeEMgb_y.js +0 -68
  1236. package/dist/components/GrTabPanels/chunks/GrTabPanels-DeEMgb_y.js.map +0 -1
  1237. package/dist/components/GrTable/chunks/GrTable-sNvsA8wa.js +0 -70
  1238. package/dist/components/GrTable/chunks/GrTable-sNvsA8wa.js.map +0 -1
  1239. package/dist/components/GrTabs/chunks/GrTabs-BqTak0SR.js +0 -123
  1240. package/dist/components/GrTabs/chunks/GrTabs-BqTak0SR.js.map +0 -1
  1241. package/dist/components/GrTextarea/chunks/GrTextarea-DIYBAPpP.js +0 -81
  1242. package/dist/components/GrTextarea/chunks/GrTextarea-DIYBAPpP.js.map +0 -1
  1243. package/dist/components/GrToaster/chunks/GrToaster-BVHjIHcM.js +0 -230
  1244. package/dist/components/GrToaster/chunks/GrToaster-BVHjIHcM.js.map +0 -1
  1245. package/dist/components/GrTooltip/chunks/GrTooltip-BMKH2lIx.js +0 -109
  1246. package/dist/components/GrTooltip/chunks/GrTooltip-BMKH2lIx.js.map +0 -1
  1247. package/dist/components/GrTree/chunks/GrTree-_12ChXRQ.js +0 -838
  1248. package/dist/components/GrTree/chunks/GrTree-_12ChXRQ.js.map +0 -1
  1249. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-CdaLG7Xq.js +0 -426
  1250. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-CdaLG7Xq.js.map +0 -1
  1251. package/dist/granular-provider-node.js.map +0 -1
  1252. package/dist/granular-provider.js.map +0 -1
  1253. package/dist/index.js.map +0 -1
  1254. package/dist/types/src/components/GrButton/config.node.d.ts +0 -1
  1255. package/dist/types/src/components/GrCommandPalette/hotkey.d.ts +0 -23
  1256. package/dist/types/src/components/GrFileUpload/maxSizeMbValidator.d.ts +0 -1
  1257. package/dist/types/src/components/GrModal/grModalEscStack.d.ts +0 -30
  1258. package/dist/types/src/components/GrModal/grModalTopStack.d.ts +0 -31
  1259. package/dist/types/src/components/GrProgressBar/config.node.d.ts +0 -1
  1260. package/dist/types/src/composables/internal/useEscapeToClose.d.ts +0 -11
  1261. package/dist/types/src/composables/internal/useFloating.d.ts +0 -53
  1262. package/dist/types/src/fileValidation/maxFileSizeBytesValidator.d.ts +0 -2
  1263. package/dist/types/src/fileValidation/maxSizeMbValidator.d.ts +0 -2
  1264. /package/dist/chunks/{config-DpqOnJiz.js → config-DpqOnJiz2.js} +0 -0
  1265. /package/dist/chunks/{config-QaIc_gRa2.js → config-QaIc_gRa.js} +0 -0
  1266. /package/dist/{GrSkeleton.css → components/GrSkeleton/styles.css} +0 -0
@@ -0,0 +1,1371 @@
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 };