@feugene/granularity 0.13.0 → 0.16.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 (1223) 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-g6lT19.js +19 -0
  14. package/dist/chunks/config-B-g6lT19.js.map +1 -0
  15. package/dist/chunks/config-B-iNaGdw.js +199 -0
  16. package/dist/chunks/config-B-iNaGdw.js.map +1 -0
  17. package/dist/chunks/config-B84z1aos.js +19 -0
  18. package/dist/chunks/config-B84z1aos.js.map +1 -0
  19. package/dist/chunks/config-BE6n20np.js +27 -0
  20. package/dist/chunks/config-BE6n20np.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-BNfQwyL4.js +97 -0
  26. package/dist/chunks/config-BNfQwyL4.js.map +1 -0
  27. package/dist/chunks/config-BNu8lFQB.js.map +1 -1
  28. package/dist/chunks/config-BSyiFlbi.js +17 -0
  29. package/dist/chunks/config-BSyiFlbi.js.map +1 -0
  30. package/dist/chunks/config-BViooYNv.js +13 -0
  31. package/dist/chunks/config-BViooYNv.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_PD.js +140 -0
  37. package/dist/chunks/config-BoNR7_PD.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-BsuDM3Hb.js +55 -0
  43. package/dist/chunks/config-BsuDM3Hb.js.map +1 -0
  44. package/dist/chunks/config-BtXRpAtq.js +48 -0
  45. package/dist/chunks/config-BtXRpAtq.js.map +1 -0
  46. package/dist/chunks/config-BuGlNPE9.js +8 -0
  47. package/dist/chunks/config-BuGlNPE9.js.map +1 -0
  48. package/dist/chunks/config-C0Ea9ePP.js +15 -0
  49. package/dist/chunks/config-C0Ea9ePP.js.map +1 -0
  50. package/dist/chunks/config-CN2ULSQL2.js +36 -0
  51. package/dist/chunks/config-CN2ULSQL2.js.map +1 -0
  52. package/dist/chunks/config-CN970ZcJ.js +113 -0
  53. package/dist/chunks/config-CN970ZcJ.js.map +1 -0
  54. package/dist/chunks/config-COvrUfhR.js +83 -0
  55. package/dist/chunks/config-COvrUfhR.js.map +1 -0
  56. package/dist/chunks/config-CQzGyi1C.js +54 -0
  57. package/dist/chunks/config-CQzGyi1C.js.map +1 -0
  58. package/dist/chunks/config-CY0_6cMi.js +51 -0
  59. package/dist/chunks/config-CY0_6cMi.js.map +1 -0
  60. package/dist/chunks/config-CjXjhphs.js +12 -0
  61. package/dist/chunks/config-CjXjhphs.js.map +1 -0
  62. package/dist/chunks/config-CjnbevbD.js +13 -0
  63. package/dist/chunks/config-CjnbevbD.js.map +1 -0
  64. package/dist/chunks/config-Cl4ST6Qd.js +21 -0
  65. package/dist/chunks/config-Cl4ST6Qd.js.map +1 -0
  66. package/dist/chunks/config-Cp0DE0GH.js +12 -0
  67. package/dist/chunks/config-Cp0DE0GH.js.map +1 -0
  68. package/dist/chunks/config-CpwwkFBO.js +72 -0
  69. package/dist/chunks/config-CpwwkFBO.js.map +1 -0
  70. package/dist/chunks/config-CvC0sX8p.js +81 -0
  71. package/dist/chunks/config-CvC0sX8p.js.map +1 -0
  72. package/dist/chunks/config-Cw6TDzWv2.js +72 -0
  73. package/dist/chunks/config-Cw6TDzWv2.js.map +1 -0
  74. package/dist/chunks/config-Cwd3yjRw.js +41 -0
  75. package/dist/chunks/config-Cwd3yjRw.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-D8tSR2uS.js +103 -0
  81. package/dist/chunks/config-D8tSR2uS.js.map +1 -0
  82. package/dist/chunks/config-D94Z9po52.js +126 -0
  83. package/dist/chunks/config-D94Z9po52.js.map +1 -0
  84. package/dist/chunks/config-DBmdgoVf.js.map +1 -1
  85. package/dist/chunks/config-DCFvmHEv.js +76 -0
  86. package/dist/chunks/config-DCFvmHEv.js.map +1 -0
  87. package/dist/chunks/config-DKdlqXiY.js +109 -0
  88. package/dist/chunks/config-DKdlqXiY.js.map +1 -0
  89. package/dist/chunks/config-DP7eseR1.js +92 -0
  90. package/dist/chunks/config-DP7eseR1.js.map +1 -0
  91. package/dist/chunks/config-DSJY6aEl.js +80 -0
  92. package/dist/chunks/config-DSJY6aEl.js.map +1 -0
  93. package/dist/chunks/config-DU2DNSRx2.js +116 -0
  94. package/dist/chunks/config-DU2DNSRx2.js.map +1 -0
  95. package/dist/chunks/config-DhHbU3zO.js +37 -0
  96. package/dist/chunks/config-DhHbU3zO.js.map +1 -0
  97. package/dist/chunks/config-DpeQchsV.js +21 -0
  98. package/dist/chunks/config-DpeQchsV.js.map +1 -0
  99. package/dist/chunks/config-DpqOnJiz2.js.map +1 -0
  100. package/dist/chunks/config-DvQIb4kb.js +98 -0
  101. package/dist/chunks/config-DvQIb4kb.js.map +1 -0
  102. package/dist/chunks/config-DxCTVBfx.js +97 -0
  103. package/dist/chunks/config-DxCTVBfx.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-QaIc_gRa.js.map +1 -0
  107. package/dist/chunks/config-Rw9OyW70.js +87 -0
  108. package/dist/chunks/config-Rw9OyW70.js.map +1 -0
  109. package/dist/chunks/config-T3qdQBgU.js +40 -0
  110. package/dist/chunks/config-T3qdQBgU.js.map +1 -0
  111. package/dist/chunks/config-WTNhdh6T2.js +20 -0
  112. package/dist/chunks/config-WTNhdh6T2.js.map +1 -0
  113. package/dist/chunks/config-Zc_bUvZY2.js +23 -0
  114. package/dist/chunks/config-Zc_bUvZY2.js.map +1 -0
  115. package/dist/chunks/config-_qPUfb6-2.js +165 -0
  116. package/dist/chunks/config-_qPUfb6-2.js.map +1 -0
  117. package/dist/chunks/config-eXB87DOi2.js.map +1 -0
  118. package/dist/chunks/config-esdviAPL.js +41 -0
  119. package/dist/chunks/config-esdviAPL.js.map +1 -0
  120. package/dist/chunks/config-gwro_7yn.js +55 -0
  121. package/dist/chunks/config-gwro_7yn.js.map +1 -0
  122. package/dist/chunks/config-qVg3Zz_A.js +30 -0
  123. package/dist/chunks/config-qVg3Zz_A.js.map +1 -0
  124. package/dist/chunks/config-zjeAJ4ho.js +64 -0
  125. package/dist/chunks/config-zjeAJ4ho.js.map +1 -0
  126. package/dist/chunks/context-BSYR7RZs.js +152 -0
  127. package/dist/chunks/context-BSYR7RZs.js.map +1 -0
  128. package/dist/chunks/context-BfIQv7m1.js +18 -0
  129. package/dist/chunks/context-BfIQv7m1.js.map +1 -0
  130. package/dist/chunks/context-Bfrgsluh.js.map +1 -1
  131. package/dist/chunks/context-DdNIxa1w.js.map +1 -1
  132. package/dist/chunks/dialogShared-CxW62PQE.js.map +1 -1
  133. package/dist/chunks/en-B3xMeswz.js +327 -0
  134. package/dist/chunks/en-B3xMeswz.js.map +1 -0
  135. package/dist/chunks/es-Bv8vvqdT.js +20 -0
  136. package/dist/chunks/es-Bv8vvqdT.js.map +1 -0
  137. package/dist/chunks/es-CA-mkU--.js +329 -0
  138. package/dist/chunks/es-CA-mkU--.js.map +1 -0
  139. package/dist/chunks/fileValidation-D5TFBhbv.js +296 -0
  140. package/dist/chunks/fileValidation-D5TFBhbv.js.map +1 -0
  141. package/dist/chunks/focusables-BkzK42SQ.js +87 -0
  142. package/dist/chunks/focusables-BkzK42SQ.js.map +1 -0
  143. package/dist/chunks/grBadgeStyles-C2wLlkjF.js +61 -0
  144. package/dist/chunks/grBadgeStyles-C2wLlkjF.js.map +1 -0
  145. package/dist/chunks/grButtonStyles-B_-YRE__.js +221 -0
  146. package/dist/chunks/grButtonStyles-B_-YRE__.js.map +1 -0
  147. package/dist/chunks/grCheckboxStyles-hOAgURZG.js +82 -0
  148. package/dist/chunks/grCheckboxStyles-hOAgURZG.js.map +1 -0
  149. package/dist/chunks/grDropdownStyles-V7TRiCXn.js +24 -0
  150. package/dist/chunks/grDropdownStyles-V7TRiCXn.js.map +1 -0
  151. package/dist/chunks/grFormFieldStyles-BkeZHIw0.js +32 -0
  152. package/dist/chunks/grFormFieldStyles-BkeZHIw0.js.map +1 -0
  153. package/dist/chunks/grIconStyles-BwJrml2L.js +44 -0
  154. package/dist/chunks/grIconStyles-BwJrml2L.js.map +1 -0
  155. package/dist/chunks/grInputStyles-CJeMhUe5.js +66 -0
  156. package/dist/chunks/grInputStyles-CJeMhUe5.js.map +1 -0
  157. package/dist/chunks/grKbdStyles-DAoxiytu.js +31 -0
  158. package/dist/chunks/grKbdStyles-DAoxiytu.js.map +1 -0
  159. package/dist/chunks/grLinkStyles-BoL8QYcV.js +84 -0
  160. package/dist/chunks/grLinkStyles-BoL8QYcV.js.map +1 -0
  161. package/dist/chunks/grLoadingStyles-DEmji2wv.js +30 -0
  162. package/dist/chunks/grLoadingStyles-DEmji2wv.js.map +1 -0
  163. package/dist/chunks/grModalStyles-EZfuEiw_.js +77 -0
  164. package/dist/chunks/grModalStyles-EZfuEiw_.js.map +1 -0
  165. package/dist/chunks/grPopoverStyles-Rz_Z5nLW.js +46 -0
  166. package/dist/chunks/grPopoverStyles-Rz_Z5nLW.js.map +1 -0
  167. package/dist/chunks/grSelectStyles-eTz4uPMP.js +147 -0
  168. package/dist/chunks/grSelectStyles-eTz4uPMP.js.map +1 -0
  169. package/dist/chunks/grSliderStyles-B5uNxNJq.js +133 -0
  170. package/dist/chunks/grSliderStyles-B5uNxNJq.js.map +1 -0
  171. package/dist/chunks/grStyle-CrgLQKKf.js +46 -0
  172. package/dist/chunks/grStyle-CrgLQKKf.js.map +1 -0
  173. package/dist/chunks/grTableStyles-C-iaqQUN.js +26 -0
  174. package/dist/chunks/grTableStyles-C-iaqQUN.js.map +1 -0
  175. package/dist/chunks/grTextareaStyles-CWI2SqC8.js +50 -0
  176. package/dist/chunks/grTextareaStyles-CWI2SqC8.js.map +1 -0
  177. package/dist/chunks/granular-provider-CtrXGa7c.js +193 -0
  178. package/dist/chunks/granular-provider-CtrXGa7c.js.map +1 -0
  179. package/dist/chunks/granularityI18n-BC5zsj_d.js +68 -0
  180. package/dist/chunks/granularityI18n-BC5zsj_d.js.map +1 -0
  181. package/dist/chunks/inert-DIHCCn_1.js +78 -0
  182. package/dist/chunks/inert-DIHCCn_1.js.map +1 -0
  183. package/dist/chunks/keyboard-zYvvyHd4.js +61 -0
  184. package/dist/chunks/keyboard-zYvvyHd4.js.map +1 -0
  185. package/dist/chunks/loader-2-B1fdsdWW.js +23 -0
  186. package/dist/chunks/loader-2-B1fdsdWW.js.map +1 -0
  187. package/dist/chunks/minus-oxdbHF33.js +23 -0
  188. package/dist/chunks/minus-oxdbHF33.js.map +1 -0
  189. package/dist/chunks/optionFilter-BVY988pC.js +149 -0
  190. package/dist/chunks/optionFilter-BVY988pC.js.map +1 -0
  191. package/dist/chunks/portalRoot-CWD4zHBm.js +35 -0
  192. package/dist/chunks/portalRoot-CWD4zHBm.js.map +1 -0
  193. package/dist/chunks/ru-COWxgh2A.js +331 -0
  194. package/dist/chunks/ru-COWxgh2A.js.map +1 -0
  195. package/dist/chunks/safelist-CudBLyAD.js +26 -0
  196. package/dist/chunks/safelist-CudBLyAD.js.map +1 -0
  197. package/dist/chunks/slotNodes-DxNXpC7v.js +39 -0
  198. package/dist/chunks/slotNodes-DxNXpC7v.js.map +1 -0
  199. package/dist/chunks/useControlAddons-asUr10Pf.js +128 -0
  200. package/dist/chunks/useControlAddons-asUr10Pf.js.map +1 -0
  201. package/dist/chunks/useControlledOpen-DV3SqLTP.js +27 -0
  202. package/dist/chunks/useControlledOpen-DV3SqLTP.js.map +1 -0
  203. package/dist/chunks/useFilePreviews-DnwgdyBs.js +53 -0
  204. package/dist/chunks/useFilePreviews-DnwgdyBs.js.map +1 -0
  205. package/dist/chunks/useFocusWithin-BwHE0rzm.js +33 -0
  206. package/dist/chunks/useFocusWithin-BwHE0rzm.js.map +1 -0
  207. package/dist/chunks/useModalOverlay-DCM4d3yA.js +212 -0
  208. package/dist/chunks/useModalOverlay-DCM4d3yA.js.map +1 -0
  209. package/dist/chunks/useOverlayLayer-BupuP_hs.js +149 -0
  210. package/dist/chunks/useOverlayLayer-BupuP_hs.js.map +1 -0
  211. package/dist/chunks/usePortalTarget-RyzEgNTb.js +77 -0
  212. package/dist/chunks/usePortalTarget-RyzEgNTb.js.map +1 -0
  213. package/dist/chunks/validation-5HhpanPP.js +178 -0
  214. package/dist/chunks/validation-5HhpanPP.js.map +1 -0
  215. package/dist/components/GrAlert/chunks/GrAlert-BC1lplbY.js +272 -0
  216. package/dist/components/GrAlert/chunks/GrAlert-BC1lplbY.js.map +1 -0
  217. package/dist/components/GrAlert/index.js +2 -2
  218. package/dist/components/GrAutocomplete/chunks/GrAutocomplete-CQ9T7Lly.js +851 -0
  219. package/dist/components/GrAutocomplete/chunks/GrAutocomplete-CQ9T7Lly.js.map +1 -0
  220. package/dist/components/GrAutocomplete/index.js +2 -2
  221. package/dist/components/GrAutocomplete/styles.css +1 -0
  222. package/dist/components/GrAvatar/chunks/GrAvatar-CVUujLmn.js +222 -0
  223. package/dist/components/GrAvatar/chunks/GrAvatar-CVUujLmn.js.map +1 -0
  224. package/dist/components/GrAvatar/index.js +3 -3
  225. package/dist/components/GrBadge/chunks/GrBadge-B1tgqfGQ.js +40 -0
  226. package/dist/components/GrBadge/chunks/GrBadge-B1tgqfGQ.js.map +1 -0
  227. package/dist/components/GrBadge/index.js +2 -2
  228. package/dist/components/GrBadge/styles.css +1 -0
  229. package/dist/components/GrBadge/themes/dark.css +19 -0
  230. package/dist/components/GrBadge/themes/light.css +18 -0
  231. package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-C-E9betg.js +97 -0
  232. package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-C-E9betg.js.map +1 -0
  233. package/dist/components/GrBadgeWrap/index.js +3 -3
  234. package/dist/components/GrBadgeWrap/styles.css +1 -0
  235. package/dist/components/GrBottomNav/chunks/GrBottomNav-9GH7Dd9E.js +117 -0
  236. package/dist/components/GrBottomNav/chunks/GrBottomNav-9GH7Dd9E.js.map +1 -0
  237. package/dist/components/GrBottomNav/index.js +3 -3
  238. package/dist/components/GrBreadcrumbs/chunks/GrBreadcrumbs-BCNGDS6k.js +266 -0
  239. package/dist/components/GrBreadcrumbs/chunks/GrBreadcrumbs-BCNGDS6k.js.map +1 -0
  240. package/dist/components/GrBreadcrumbs/index.js +3 -0
  241. package/dist/components/GrButton/chunks/GrButton-D0m_z0XW.js +153 -0
  242. package/dist/components/GrButton/chunks/GrButton-D0m_z0XW.js.map +1 -0
  243. package/dist/components/GrButton/index.js +5 -5
  244. package/dist/components/GrButton/themes/dark.css +46 -0
  245. package/dist/components/GrButton/themes/light.css +82 -0
  246. package/dist/components/GrButtonGroup/chunks/GrButtonGroup-CKyiAV8K.js +44 -0
  247. package/dist/components/GrButtonGroup/chunks/GrButtonGroup-CKyiAV8K.js.map +1 -0
  248. package/dist/components/GrButtonGroup/index.js +3 -2
  249. package/dist/components/GrButtonGroup/styles.css +1 -0
  250. package/dist/components/GrCard/chunks/GrCard-DOrGHf2x.js +89 -0
  251. package/dist/components/GrCard/chunks/GrCard-DOrGHf2x.js.map +1 -0
  252. package/dist/components/GrCard/index.js +3 -3
  253. package/dist/components/GrCheckbox/chunks/GrCheckbox-BLOp8452.js +262 -0
  254. package/dist/components/GrCheckbox/chunks/GrCheckbox-BLOp8452.js.map +1 -0
  255. package/dist/components/GrCheckbox/index.js +3 -3
  256. package/dist/components/GrCheckboxGroup/chunks/GrCheckboxGroup-CXTx2Z5H.js +140 -0
  257. package/dist/components/GrCheckboxGroup/chunks/GrCheckboxGroup-CXTx2Z5H.js.map +1 -0
  258. package/dist/components/GrCheckboxGroup/index.js +3 -0
  259. package/dist/components/GrCollapse/chunks/GrCollapse-B2Fc6A9r.js +308 -0
  260. package/dist/components/GrCollapse/chunks/GrCollapse-B2Fc6A9r.js.map +1 -0
  261. package/dist/components/GrCollapse/index.js +3 -3
  262. package/dist/components/GrColorPicker/chunks/GrColorPicker-bnYBRGk8.js +584 -0
  263. package/dist/components/GrColorPicker/chunks/GrColorPicker-bnYBRGk8.js.map +1 -0
  264. package/dist/components/GrColorPicker/index.js +3 -0
  265. package/dist/components/GrColorPicker/styles.css +1 -0
  266. package/dist/components/GrCommandPalette/chunks/GrCommandPalette-MWDYDPNC.js +566 -0
  267. package/dist/components/GrCommandPalette/chunks/GrCommandPalette-MWDYDPNC.js.map +1 -0
  268. package/dist/components/GrCommandPalette/index.js +2 -2
  269. package/dist/components/GrCommandPalette/styles.css +1 -0
  270. package/dist/components/GrConfigProvider/chunks/GrConfigProvider-BA6JO7V6.js +144 -0
  271. package/dist/components/GrConfigProvider/chunks/GrConfigProvider-BA6JO7V6.js.map +1 -0
  272. package/dist/components/GrConfigProvider/index.js +2 -2
  273. package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-DaQmlp1_.js +200 -0
  274. package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-DaQmlp1_.js.map +1 -0
  275. package/dist/components/GrConfirmDialog/index.js +2 -2
  276. package/dist/components/GrDataTable/chunks/GrDataTable-DVFho9Cj.js +605 -0
  277. package/dist/components/GrDataTable/chunks/GrDataTable-DVFho9Cj.js.map +1 -0
  278. package/dist/components/GrDataTable/index.js +3 -3
  279. package/dist/components/GrDialog/chunks/GrDialog-AE1gIZuz.js +255 -0
  280. package/dist/components/GrDialog/chunks/GrDialog-AE1gIZuz.js.map +1 -0
  281. package/dist/components/GrDialog/index.js +1 -1
  282. package/dist/components/GrDialogService/chunks/GrDialogService-B4DYWDkA.js +656 -0
  283. package/dist/components/GrDialogService/chunks/GrDialogService-B4DYWDkA.js.map +1 -0
  284. package/dist/components/GrDialogService/index.js +3 -3
  285. package/dist/components/GrDivider/chunks/GrDivider-B2Xwc_QO.js +109 -0
  286. package/dist/components/GrDivider/chunks/GrDivider-B2Xwc_QO.js.map +1 -0
  287. package/dist/components/GrDivider/index.js +3 -3
  288. package/dist/components/GrDrawer/chunks/GrDrawer-DQwi6aRw.js +251 -0
  289. package/dist/components/GrDrawer/chunks/GrDrawer-DQwi6aRw.js.map +1 -0
  290. package/dist/components/GrDrawer/index.js +2 -2
  291. package/dist/components/GrDropdown/chunks/GrDropdown-BLng6V1m.js +300 -0
  292. package/dist/components/GrDropdown/chunks/GrDropdown-BLng6V1m.js.map +1 -0
  293. package/dist/components/GrDropdown/index.js +2 -2
  294. package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-BImk2Vs7.js +421 -0
  295. package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-BImk2Vs7.js.map +1 -0
  296. package/dist/components/GrDropdownMenu/index.js +3 -3
  297. package/dist/components/GrEmptyState/chunks/GrEmptyState-W7Irx3vc.js +86 -0
  298. package/dist/components/GrEmptyState/chunks/GrEmptyState-W7Irx3vc.js.map +1 -0
  299. package/dist/components/GrEmptyState/index.js +3 -3
  300. package/dist/components/GrFileUpload/chunks/GrFileUpload-D0B-BEsd.js +1080 -0
  301. package/dist/components/GrFileUpload/chunks/GrFileUpload-D0B-BEsd.js.map +1 -0
  302. package/dist/components/GrFileUpload/index.js +4 -4
  303. package/dist/components/GrForm/chunks/GrForm-BCHCfIMv.js +326 -0
  304. package/dist/components/GrForm/chunks/GrForm-BCHCfIMv.js.map +1 -0
  305. package/dist/components/GrForm/index.js +3 -2
  306. package/dist/components/GrFormField/chunks/GrFormField-CL5rcgj6.js +190 -0
  307. package/dist/components/GrFormField/chunks/GrFormField-CL5rcgj6.js.map +1 -0
  308. package/dist/components/GrFormField/index.js +3 -3
  309. package/dist/components/GrFormFile/chunks/GrFormFile-BikSD7bg.js +452 -0
  310. package/dist/components/GrFormFile/chunks/GrFormFile-BikSD7bg.js.map +1 -0
  311. package/dist/components/GrFormFile/index.js +3 -3
  312. package/dist/components/GrFormFile/styles.css +1 -0
  313. package/dist/components/GrFormSection/chunks/GrFormSection-BEh5n4jF.js +63 -0
  314. package/dist/components/GrFormSection/chunks/GrFormSection-BEh5n4jF.js.map +1 -0
  315. package/dist/components/GrFormSection/index.js +3 -3
  316. package/dist/components/GrIcon/chunks/GrIcon-BvA2ZGXP.js +57 -0
  317. package/dist/components/GrIcon/chunks/GrIcon-BvA2ZGXP.js.map +1 -0
  318. package/dist/components/GrIcon/index.js +3 -3
  319. package/dist/components/GrIcon/styles.css +1 -0
  320. package/dist/components/GrImageViewer/chunks/GrImageViewer-BeCnE8XQ.js +1103 -0
  321. package/dist/components/GrImageViewer/chunks/GrImageViewer-BeCnE8XQ.js.map +1 -0
  322. package/dist/components/GrImageViewer/index.js +3 -3
  323. package/dist/components/GrImageViewer/themes/dark.css +17 -0
  324. package/dist/components/GrImageViewer/themes/light.css +16 -0
  325. package/dist/components/GrInput/chunks/GrInput-DD2gYdqS.js +348 -0
  326. package/dist/components/GrInput/chunks/GrInput-DD2gYdqS.js.map +1 -0
  327. package/dist/components/GrInput/index.js +2 -2
  328. package/dist/components/GrInputTag/chunks/GrInputTag-DmNunixz.js +525 -0
  329. package/dist/components/GrInputTag/chunks/GrInputTag-DmNunixz.js.map +1 -0
  330. package/dist/components/GrInputTag/index.js +2 -2
  331. package/dist/components/GrKbd/chunks/GrKbd-DRFPvW3G.js +192 -0
  332. package/dist/components/GrKbd/chunks/GrKbd-DRFPvW3G.js.map +1 -0
  333. package/dist/components/GrKbd/index.js +3 -3
  334. package/dist/components/GrLink/chunks/GrLink-D-cgUMXW.js +163 -0
  335. package/dist/components/GrLink/chunks/GrLink-D-cgUMXW.js.map +1 -0
  336. package/dist/components/GrLink/index.js +2 -2
  337. package/dist/components/GrList/chunks/GrList-4YU1NZtM.js +277 -0
  338. package/dist/components/GrList/chunks/GrList-4YU1NZtM.js.map +1 -0
  339. package/dist/components/GrList/index.js +3 -3
  340. package/dist/components/GrList/styles.css +1 -0
  341. package/dist/components/GrLoading/chunks/GrLoading-CH95CFzS.js +101 -0
  342. package/dist/components/GrLoading/chunks/GrLoading-CH95CFzS.js.map +1 -0
  343. package/dist/components/GrLoading/index.js +2 -2
  344. package/dist/components/GrModal/chunks/GrModal-B8I78T0N.js +313 -0
  345. package/dist/components/GrModal/chunks/GrModal-B8I78T0N.js.map +1 -0
  346. package/dist/components/GrModal/index.js +3 -4
  347. package/dist/components/GrNavbar/chunks/GrNavbar-CF0KbM_6.js +104 -0
  348. package/dist/components/GrNavbar/chunks/GrNavbar-CF0KbM_6.js.map +1 -0
  349. package/dist/components/GrNavbar/index.js +3 -3
  350. package/dist/components/GrNumberInput/chunks/GrNumberInput-CZOyPz4J.js +658 -0
  351. package/dist/components/GrNumberInput/chunks/GrNumberInput-CZOyPz4J.js.map +1 -0
  352. package/dist/components/GrNumberInput/index.js +2 -2
  353. package/dist/components/GrPagination/chunks/GrPagination-B6N0QZBf.js +283 -0
  354. package/dist/components/GrPagination/chunks/GrPagination-B6N0QZBf.js.map +1 -0
  355. package/dist/components/GrPagination/index.js +3 -3
  356. package/dist/components/GrPopover/chunks/GrPopover-B1eRCOoO.js +216 -0
  357. package/dist/components/GrPopover/chunks/GrPopover-B1eRCOoO.js.map +1 -0
  358. package/dist/components/GrPopover/index.js +3 -0
  359. package/dist/components/GrProgressBar/chunks/GrProgressBar-BiHnaitu.js +90 -0
  360. package/dist/components/GrProgressBar/chunks/GrProgressBar-BiHnaitu.js.map +1 -0
  361. package/dist/components/GrProgressBar/index.js +2 -2
  362. package/dist/components/GrProgressBar/styles.css +1 -0
  363. package/dist/components/GrProgressBar/themes/dark.css +13 -0
  364. package/dist/components/GrProgressBar/themes/light.css +12 -0
  365. package/dist/components/GrProgressCircle/chunks/GrProgressCircle-CTogjcHz.js +210 -0
  366. package/dist/components/GrProgressCircle/chunks/GrProgressCircle-CTogjcHz.js.map +1 -0
  367. package/dist/components/GrProgressCircle/index.js +3 -0
  368. package/dist/components/GrProgressCircle/styles.css +1 -0
  369. package/dist/components/GrPromptDialog/chunks/GrPromptDialog-Ct174NVD.js +348 -0
  370. package/dist/components/GrPromptDialog/chunks/GrPromptDialog-Ct174NVD.js.map +1 -0
  371. package/dist/components/GrPromptDialog/index.js +2 -2
  372. package/dist/components/GrRadio/chunks/GrRadio-DksDro_U.js +277 -0
  373. package/dist/components/GrRadio/chunks/GrRadio-DksDro_U.js.map +1 -0
  374. package/dist/components/GrRadio/index.js +2 -2
  375. package/dist/components/GrRadioGroup/chunks/GrRadioGroup-BOIhejE6.js +189 -0
  376. package/dist/components/GrRadioGroup/chunks/GrRadioGroup-BOIhejE6.js.map +1 -0
  377. package/dist/components/GrRadioGroup/index.js +2 -2
  378. package/dist/components/GrRating/chunks/GrRating-JrHXz0Rv.js +315 -0
  379. package/dist/components/GrRating/chunks/GrRating-JrHXz0Rv.js.map +1 -0
  380. package/dist/components/GrRating/index.js +2 -2
  381. package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-C7W9mgYN.js +777 -0
  382. package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-C7W9mgYN.js.map +1 -0
  383. package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-DhX4jjay.js +224 -0
  384. package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-DhX4jjay.js.map +1 -0
  385. package/dist/components/GrResponseErrorBanner/index.js +2 -2
  386. package/dist/components/GrSegmented/chunks/GrSegmented-BQIlH5KI.js +406 -0
  387. package/dist/components/GrSegmented/chunks/GrSegmented-BQIlH5KI.js.map +1 -0
  388. package/dist/components/GrSegmented/index.js +3 -3
  389. package/dist/components/GrSelect/chunks/GrSelect-aqkPCqjd.js +1372 -0
  390. package/dist/components/GrSelect/chunks/GrSelect-aqkPCqjd.js.map +1 -0
  391. package/dist/components/GrSelect/index.js +2 -2
  392. package/dist/components/GrSelect/styles.css +1 -0
  393. package/dist/components/GrSidebar/chunks/GrSidebar-DRGnnViw.js +257 -0
  394. package/dist/components/GrSidebar/chunks/GrSidebar-DRGnnViw.js.map +1 -0
  395. package/dist/components/GrSidebar/index.js +3 -3
  396. package/dist/components/GrSkeleton/chunks/GrSkeleton-DEvNE3bC.js +84 -0
  397. package/dist/components/GrSkeleton/chunks/GrSkeleton-DEvNE3bC.js.map +1 -0
  398. package/dist/components/GrSkeleton/index.js +2 -2
  399. package/dist/components/GrSlider/chunks/GrSlider-DkU9IQSX.js +392 -0
  400. package/dist/components/GrSlider/chunks/GrSlider-DkU9IQSX.js.map +1 -0
  401. package/dist/components/GrSlider/index.js +2 -2
  402. package/dist/components/GrSplitter/chunks/GrSplitter-7To8jbJ8.js +288 -0
  403. package/dist/components/GrSplitter/chunks/GrSplitter-7To8jbJ8.js.map +1 -0
  404. package/dist/components/GrSplitter/index.js +3 -0
  405. package/dist/components/GrSplitter/styles.css +1 -0
  406. package/dist/components/GrStatistic/chunks/GrStatistic-CttyoYPT.js +319 -0
  407. package/dist/components/GrStatistic/chunks/GrStatistic-CttyoYPT.js.map +1 -0
  408. package/dist/components/GrStatistic/index.js +2 -2
  409. package/dist/components/GrSwitch/chunks/GrSwitch-B9TYbiih.js +183 -0
  410. package/dist/components/GrSwitch/chunks/GrSwitch-B9TYbiih.js.map +1 -0
  411. package/dist/components/GrSwitch/index.js +2 -2
  412. package/dist/components/GrTabPanels/chunks/GrTabPanels-BVe1CZdJ.js +81 -0
  413. package/dist/components/GrTabPanels/chunks/GrTabPanels-BVe1CZdJ.js.map +1 -0
  414. package/dist/components/GrTabPanels/index.js +2 -2
  415. package/dist/components/GrTable/chunks/GrTable-BB-mI_NM.js +163 -0
  416. package/dist/components/GrTable/chunks/GrTable-BB-mI_NM.js.map +1 -0
  417. package/dist/components/GrTable/index.js +3 -3
  418. package/dist/components/GrTabs/chunks/GrTabs-B8CDq2D9.js +272 -0
  419. package/dist/components/GrTabs/chunks/GrTabs-B8CDq2D9.js.map +1 -0
  420. package/dist/components/GrTabs/index.js +3 -3
  421. package/dist/components/GrTextarea/chunks/GrTextarea-DUh5Tlo4.js +241 -0
  422. package/dist/components/GrTextarea/chunks/GrTextarea-DUh5Tlo4.js.map +1 -0
  423. package/dist/components/GrTextarea/index.js +2 -2
  424. package/dist/components/GrTimeline/chunks/GrTimeline-CE9b3s18.js +285 -0
  425. package/dist/components/GrTimeline/chunks/GrTimeline-CE9b3s18.js.map +1 -0
  426. package/dist/components/GrTimeline/index.js +3 -0
  427. package/dist/components/GrTimeline/styles.css +1 -0
  428. package/dist/components/GrToaster/chunks/GrToaster-BKQy3Srm.js +272 -0
  429. package/dist/components/GrToaster/chunks/GrToaster-BKQy3Srm.js.map +1 -0
  430. package/dist/components/GrToaster/index.js +1 -1
  431. package/dist/components/GrToaster/styles.css +1 -0
  432. package/dist/components/GrTooltip/chunks/GrTooltip-DEbejfhA.js +185 -0
  433. package/dist/components/GrTooltip/chunks/GrTooltip-DEbejfhA.js.map +1 -0
  434. package/dist/components/GrTooltip/index.js +3 -3
  435. package/dist/components/GrTree/chunks/GrTree-wfdbvygw.js +1339 -0
  436. package/dist/components/GrTree/chunks/GrTree-wfdbvygw.js.map +1 -0
  437. package/dist/components/GrTree/index.js +2 -2
  438. package/dist/components/GrTree/styles.css +1 -0
  439. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-lLWmAMtI.js +623 -0
  440. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-lLWmAMtI.js.map +1 -0
  441. package/dist/components/GrTreeSelect/index.js +2 -2
  442. package/dist/composables/useAnnouncer.js +114 -0
  443. package/dist/composables/useAnnouncer.js.map +1 -0
  444. package/dist/composables/useDismissible.js +31 -0
  445. package/dist/composables/useDismissible.js.map +1 -0
  446. package/dist/composables/useFloating.js +112 -0
  447. package/dist/composables/useFloating.js.map +1 -0
  448. package/dist/composables/useFocusTrap.js +124 -0
  449. package/dist/composables/useFocusTrap.js.map +1 -0
  450. package/dist/composables/useGrFormControl.js +24 -0
  451. package/dist/composables/useGrFormControl.js.map +1 -0
  452. package/dist/composables/useOverlayLayer.js +2 -0
  453. package/dist/composables/usePortalTarget.js +2 -0
  454. package/dist/composables/useTheme.js +106 -36
  455. package/dist/composables/useTheme.js.map +1 -1
  456. package/dist/composables/useToast.js +123 -7
  457. package/dist/composables/useToast.js.map +1 -1
  458. package/dist/composables/useVirtualList.js +244 -0
  459. package/dist/composables/useVirtualList.js.map +1 -0
  460. package/dist/directives/dropzone.js +1 -1
  461. package/dist/directives/hotkey.js +9 -15
  462. package/dist/directives/hotkey.js.map +1 -1
  463. package/dist/directives/loading.js +43 -7
  464. package/dist/directives/loading.js.map +1 -1
  465. package/dist/fileValidation/index.js +2 -2
  466. package/dist/granular-provider-node.js +1 -31
  467. package/dist/granular-provider.js +1 -4
  468. package/dist/i18n/all.js +1 -1
  469. package/dist/i18n/index.js +1 -1
  470. package/dist/index.js +148 -140
  471. package/dist/styles/base.css +32 -0
  472. package/dist/styles/preflight.css +33 -0
  473. package/dist/styles/themes/dark.css +81 -26
  474. package/dist/styles/themes/light.css +86 -15
  475. package/dist/styles/tokens.css +63 -4
  476. package/dist/tokens.js +3132 -0
  477. package/dist/tokens.js.map +1 -0
  478. package/dist/types/src/components/GrAlert/GrAlert.vue.d.ts +42 -10
  479. package/dist/types/src/components/GrAlert/config.d.ts +1 -1
  480. package/dist/types/src/components/GrAlert/defaults.d.ts +9 -3
  481. package/dist/types/src/components/GrAlert/grAlertStyles.d.ts +0 -7
  482. package/dist/types/src/components/GrAlert/index.d.ts +3 -2
  483. package/dist/types/src/components/GrAutocomplete/GrAutocomplete.vue.d.ts +112 -99
  484. package/dist/types/src/components/GrAutocomplete/config.d.ts +1 -1
  485. package/dist/types/src/components/GrAutocomplete/grAutocompleteStyles.d.ts +43 -7
  486. package/dist/types/src/components/GrAutocomplete/index.d.ts +4 -0
  487. package/dist/types/src/components/GrAvatar/GrAvatar.vue.d.ts +40 -17
  488. package/dist/types/src/components/GrAvatar/GrAvatarGroup.vue.d.ts +70 -0
  489. package/dist/types/src/components/GrAvatar/avatarContext.d.ts +12 -0
  490. package/dist/types/src/components/GrAvatar/config.d.ts +1 -1
  491. package/dist/types/src/components/GrAvatar/defaults.d.ts +16 -0
  492. package/dist/types/src/components/GrAvatar/grAvatarStyles.d.ts +38 -0
  493. package/dist/types/src/components/GrAvatar/index.d.ts +5 -0
  494. package/dist/types/src/components/GrAvatar/safelist.d.ts +4 -0
  495. package/dist/types/src/components/GrBadge/GrBadge.vue.d.ts +4 -4
  496. package/dist/types/src/components/GrBadge/config.d.ts +1 -1
  497. package/dist/types/src/components/GrBadge/grBadgeStyles.d.ts +13 -1
  498. package/dist/types/src/components/GrBadge/index.d.ts +1 -0
  499. package/dist/types/src/components/GrBadgeWrap/GrBadgeWrap.vue.d.ts +42 -5
  500. package/dist/types/src/components/GrBadgeWrap/config.d.ts +1 -1
  501. package/dist/types/src/components/GrBadgeWrap/grBadgeWrapStyles.d.ts +46 -0
  502. package/dist/types/src/components/GrBadgeWrap/index.d.ts +4 -0
  503. package/dist/types/src/components/GrBadgeWrap/safelist.d.ts +1 -0
  504. package/dist/types/src/components/GrBottomNav/GrBottomNav.vue.d.ts +91 -4
  505. package/dist/types/src/components/GrBottomNav/config.d.ts +1 -1
  506. package/dist/types/src/components/GrBottomNav/defaults.d.ts +16 -0
  507. package/dist/types/src/components/GrBottomNav/grBottomNavStyles.d.ts +56 -0
  508. package/dist/types/src/components/GrBottomNav/index.d.ts +6 -1
  509. package/dist/types/src/components/GrBottomNav/safelist.d.ts +1 -0
  510. package/dist/types/src/components/GrBreadcrumbs/GrBreadcrumbs.vue.d.ts +117 -0
  511. package/dist/types/src/components/GrBreadcrumbs/config.d.ts +1 -0
  512. package/dist/types/src/components/GrBreadcrumbs/defaults.d.ts +15 -0
  513. package/dist/types/src/components/GrBreadcrumbs/grBreadcrumbsStyles.d.ts +86 -0
  514. package/dist/types/src/components/GrBreadcrumbs/index.d.ts +8 -0
  515. package/dist/types/src/components/GrBreadcrumbs/safelist.d.ts +1 -0
  516. package/dist/types/src/components/GrButton/GrButton.vue.d.ts +31 -7
  517. package/dist/types/src/components/GrButton/config.d.ts +1 -1
  518. package/dist/types/src/components/GrButton/grButtonStyles.d.ts +27 -3
  519. package/dist/types/src/components/GrButton/index.d.ts +5 -1
  520. package/dist/types/src/components/GrButton/safelist.d.ts +1 -0
  521. package/dist/types/src/components/GrButtonGroup/GrButtonGroup.vue.d.ts +32 -4
  522. package/dist/types/src/components/GrButtonGroup/config.d.ts +1 -1
  523. package/dist/types/src/components/GrButtonGroup/context.d.ts +20 -0
  524. package/dist/types/src/components/GrButtonGroup/index.d.ts +3 -0
  525. package/dist/types/src/components/GrCard/GrCard.vue.d.ts +80 -3
  526. package/dist/types/src/components/GrCard/config.d.ts +1 -1
  527. package/dist/types/src/components/GrCard/defaults.d.ts +15 -0
  528. package/dist/types/src/components/GrCard/grCardStyles.d.ts +24 -0
  529. package/dist/types/src/components/GrCard/index.d.ts +5 -0
  530. package/dist/types/src/components/GrCard/safelist.d.ts +1 -0
  531. package/dist/types/src/components/GrCheckbox/GrCheckbox.vue.d.ts +56 -10
  532. package/dist/types/src/components/GrCheckbox/config.d.ts +1 -1
  533. package/dist/types/src/components/GrCheckbox/defaults.d.ts +14 -0
  534. package/dist/types/src/components/GrCheckbox/grCheckboxGroupContext.d.ts +19 -0
  535. package/dist/types/src/components/GrCheckbox/grCheckboxStyles.d.ts +44 -0
  536. package/dist/types/src/components/GrCheckbox/index.d.ts +9 -0
  537. package/dist/types/src/components/GrCheckbox/safelist.d.ts +13 -0
  538. package/dist/types/src/components/GrCheckboxGroup/GrCheckboxGroup.vue.d.ts +105 -0
  539. package/dist/types/src/components/GrCheckboxGroup/config.d.ts +1 -0
  540. package/dist/types/src/components/GrCheckboxGroup/defaults.d.ts +14 -0
  541. package/dist/types/src/components/GrCheckboxGroup/index.d.ts +9 -0
  542. package/dist/types/src/components/GrCollapse/GrCollapse.vue.d.ts +55 -7
  543. package/dist/types/src/components/GrCollapse/GrCollapseItem.vue.d.ts +13 -3
  544. package/dist/types/src/components/GrCollapse/config.d.ts +1 -1
  545. package/dist/types/src/components/GrCollapse/defaults.d.ts +19 -0
  546. package/dist/types/src/components/GrCollapse/grCollapseContext.d.ts +20 -0
  547. package/dist/types/src/components/GrCollapse/grCollapseStyles.d.ts +42 -0
  548. package/dist/types/src/components/GrCollapse/index.d.ts +3 -0
  549. package/dist/types/src/components/GrCollapse/safelist.d.ts +15 -0
  550. package/dist/types/src/components/GrColorPicker/GrColorPicker.vue.d.ts +104 -0
  551. package/dist/types/src/components/GrColorPicker/color.d.ts +38 -0
  552. package/dist/types/src/components/GrColorPicker/config.d.ts +1 -0
  553. package/dist/types/src/components/GrColorPicker/defaults.d.ts +15 -0
  554. package/dist/types/src/components/GrColorPicker/grColorPickerStyles.d.ts +39 -0
  555. package/dist/types/src/components/GrColorPicker/index.d.ts +11 -0
  556. package/dist/types/src/components/GrColorPicker/safelist.d.ts +1 -0
  557. package/dist/types/src/components/GrCommandPalette/GrCommandPalette.vue.d.ts +45 -10
  558. package/dist/types/src/components/GrCommandPalette/config.d.ts +1 -1
  559. package/dist/types/src/components/GrCommandPalette/defaults.d.ts +14 -0
  560. package/dist/types/src/components/GrCommandPalette/filtering.d.ts +24 -0
  561. package/dist/types/src/components/GrCommandPalette/grCommandPaletteStyles.d.ts +33 -8
  562. package/dist/types/src/components/GrCommandPalette/index.d.ts +4 -0
  563. package/dist/types/src/components/GrConfigProvider/GrConfigProvider.vue.d.ts +38 -4
  564. package/dist/types/src/components/GrConfigProvider/config.d.ts +1 -1
  565. package/dist/types/src/components/GrConfigProvider/context.d.ts +27 -0
  566. package/dist/types/src/components/GrConfigProvider/index.d.ts +1 -0
  567. package/dist/types/src/components/GrConfigProvider/zIndexScale.d.ts +23 -0
  568. package/dist/types/src/components/GrConfirmDialog/GrConfirmDialog.vue.d.ts +33 -4
  569. package/dist/types/src/components/GrConfirmDialog/config.d.ts +1 -1
  570. package/dist/types/src/components/GrConfirmDialog/defaults.d.ts +14 -0
  571. package/dist/types/src/components/GrConfirmDialog/index.d.ts +2 -1
  572. package/dist/types/src/components/GrDataTable/GrDataTable.vue.d.ts +92 -27
  573. package/dist/types/src/components/GrDataTable/config.d.ts +1 -1
  574. package/dist/types/src/components/GrDataTable/defaults.d.ts +10 -0
  575. package/dist/types/src/components/GrDataTable/grDataTableSort.d.ts +25 -0
  576. package/dist/types/src/components/GrDataTable/grDataTableStyles.d.ts +29 -0
  577. package/dist/types/src/components/GrDataTable/index.d.ts +10 -1
  578. package/dist/types/src/components/GrDataTable/safelist.d.ts +1 -0
  579. package/dist/types/src/components/GrDialog/GrDialog.vue.d.ts +51 -4
  580. package/dist/types/src/components/GrDialog/GrDialogCloseButton.vue.d.ts +3 -0
  581. package/dist/types/src/components/GrDialog/GrDialogHeader.vue.d.ts +3 -0
  582. package/dist/types/src/components/GrDialog/config.d.ts +1 -1
  583. package/dist/types/src/components/GrDialog/defaults.d.ts +14 -0
  584. package/dist/types/src/components/GrDialog/dialogShared.d.ts +2 -1
  585. package/dist/types/src/components/GrDialog/index.d.ts +5 -0
  586. package/dist/types/src/components/GrDialogService/GrDialogServiceHost.vue.d.ts +18 -1
  587. package/dist/types/src/components/GrDialogService/GrDialogServiceItem.vue.d.ts +15 -0
  588. package/dist/types/src/components/GrDialogService/config.d.ts +1 -1
  589. package/dist/types/src/components/GrDialogService/index.d.ts +3 -1
  590. package/dist/types/src/components/GrDialogService/store.d.ts +78 -7
  591. package/dist/types/src/components/GrDialogService/types.d.ts +22 -1
  592. package/dist/types/src/components/GrDialogService/useDialogService.d.ts +31 -1
  593. package/dist/types/src/components/GrDivider/GrDivider.vue.d.ts +44 -9
  594. package/dist/types/src/components/GrDivider/config.d.ts +1 -1
  595. package/dist/types/src/components/GrDivider/defaults.d.ts +15 -0
  596. package/dist/types/src/components/GrDivider/grDividerStyles.d.ts +19 -0
  597. package/dist/types/src/components/GrDivider/index.d.ts +4 -1
  598. package/dist/types/src/components/GrDivider/safelist.d.ts +1 -0
  599. package/dist/types/src/components/GrDrawer/GrDrawer.vue.d.ts +93 -17
  600. package/dist/types/src/components/GrDrawer/config.d.ts +1 -1
  601. package/dist/types/src/components/GrDrawer/defaults.d.ts +19 -0
  602. package/dist/types/src/components/GrDrawer/grDrawerStyles.d.ts +48 -2
  603. package/dist/types/src/components/GrDrawer/index.d.ts +6 -1
  604. package/dist/types/src/components/GrDropdown/GrDropdown.vue.d.ts +66 -13
  605. package/dist/types/src/components/GrDropdown/config.d.ts +1 -1
  606. package/dist/types/src/components/GrDropdown/grDropdownStyles.d.ts +4 -5
  607. package/dist/types/src/components/GrDropdown/index.d.ts +5 -2
  608. package/dist/types/src/components/GrDropdownMenu/GrDropdownMenu.vue.d.ts +79 -16
  609. package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuColumn.vue.d.ts +2 -1
  610. package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuColumns.vue.d.ts +3 -2
  611. package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuGroup.vue.d.ts +2 -2
  612. package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuHeader.vue.d.ts +3 -2
  613. package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuItem.vue.d.ts +51 -5
  614. package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuList.vue.d.ts +5 -0
  615. package/dist/types/src/components/GrDropdownMenu/config.d.ts +1 -1
  616. package/dist/types/src/components/GrDropdownMenu/grDropdownMenuStyles.d.ts +33 -0
  617. package/dist/types/src/components/GrDropdownMenu/index.d.ts +6 -2
  618. package/dist/types/src/components/GrDropdownMenu/menuModel.d.ts +42 -0
  619. package/dist/types/src/components/GrDropdownMenu/safelist.d.ts +7 -0
  620. package/dist/types/src/components/GrEmptyState/GrEmptyState.vue.d.ts +33 -10
  621. package/dist/types/src/components/GrEmptyState/config.d.ts +1 -1
  622. package/dist/types/src/components/GrEmptyState/defaults.d.ts +16 -0
  623. package/dist/types/src/components/GrEmptyState/grEmptyStateStyles.d.ts +32 -0
  624. package/dist/types/src/components/GrEmptyState/index.d.ts +4 -0
  625. package/dist/types/src/components/GrEmptyState/safelist.d.ts +1 -0
  626. package/dist/types/src/components/GrFileUpload/GrFileUpload.vue.d.ts +158 -148
  627. package/dist/types/src/components/GrFileUpload/config.d.ts +1 -1
  628. package/dist/types/src/components/GrFileUpload/defaults.d.ts +10 -0
  629. package/dist/types/src/components/GrFileUpload/fileEntry.d.ts +26 -0
  630. package/dist/types/src/components/GrFileUpload/grFileUploadStyles.d.ts +45 -0
  631. package/dist/types/src/components/GrFileUpload/index.d.ts +10 -1
  632. package/dist/types/src/components/GrFileUpload/maxFileSize.d.ts +2 -0
  633. package/dist/types/src/components/GrFileUpload/safelist.d.ts +1 -0
  634. package/dist/types/src/components/GrFileUpload/useDropZone.d.ts +24 -0
  635. package/dist/types/src/components/GrFileUpload/usePerFileUpload.d.ts +38 -0
  636. package/dist/types/src/components/GrFileUpload/useUploadState.d.ts +30 -0
  637. package/dist/types/src/components/GrForm/GrForm.vue.d.ts +38 -2
  638. package/dist/types/src/components/GrForm/config.d.ts +1 -1
  639. package/dist/types/src/components/GrForm/context.d.ts +22 -3
  640. package/dist/types/src/components/GrForm/fileRule.d.ts +43 -0
  641. package/dist/types/src/components/GrForm/index.d.ts +6 -2
  642. package/dist/types/src/components/GrForm/modelSnapshot.d.ts +17 -0
  643. package/dist/types/src/components/GrForm/validation.d.ts +16 -1
  644. package/dist/types/src/components/GrFormField/GrFormField.vue.d.ts +56 -10
  645. package/dist/types/src/components/GrFormField/config.d.ts +1 -1
  646. package/dist/types/src/components/GrFormField/context.d.ts +19 -0
  647. package/dist/types/src/components/GrFormField/defaults.d.ts +15 -0
  648. package/dist/types/src/components/GrFormField/grFormFieldStyles.d.ts +19 -0
  649. package/dist/types/src/components/GrFormField/index.d.ts +5 -1
  650. package/dist/types/src/components/GrFormField/safelist.d.ts +1 -0
  651. package/dist/types/src/components/GrFormFile/GrFormFile.vue.d.ts +70 -16
  652. package/dist/types/src/components/GrFormFile/config.d.ts +1 -1
  653. package/dist/types/src/components/GrFormFile/defaults.d.ts +10 -0
  654. package/dist/types/src/components/GrFormFile/grFormFileStyles.d.ts +22 -0
  655. package/dist/types/src/components/GrFormFile/index.d.ts +7 -0
  656. package/dist/types/src/components/GrFormFile/safelist.d.ts +1 -0
  657. package/dist/types/src/components/GrFormSection/GrFormSection.vue.d.ts +34 -7
  658. package/dist/types/src/components/GrFormSection/config.d.ts +1 -1
  659. package/dist/types/src/components/GrFormSection/defaults.d.ts +14 -0
  660. package/dist/types/src/components/GrFormSection/grFormSectionStyles.d.ts +12 -0
  661. package/dist/types/src/components/GrFormSection/index.d.ts +4 -0
  662. package/dist/types/src/components/GrFormSection/safelist.d.ts +1 -0
  663. package/dist/types/src/components/GrIcon/GrIcon.vue.d.ts +40 -4
  664. package/dist/types/src/components/GrIcon/config.d.ts +1 -1
  665. package/dist/types/src/components/GrIcon/defaults.d.ts +14 -0
  666. package/dist/types/src/components/GrIcon/grIconStyles.d.ts +25 -0
  667. package/dist/types/src/components/GrIcon/index.d.ts +4 -0
  668. package/dist/types/src/components/GrIcon/safelist.d.ts +1 -0
  669. package/dist/types/src/components/GrImageViewer/GrImageViewer.vue.d.ts +87 -16
  670. package/dist/types/src/components/GrImageViewer/composables/usePointerGestures.d.ts +36 -0
  671. package/dist/types/src/components/GrImageViewer/composables/useViewerKeyboard.d.ts +7 -4
  672. package/dist/types/src/components/GrImageViewer/composables/useWheelGesture.d.ts +3 -2
  673. package/dist/types/src/components/GrImageViewer/composables/useZoomPan.d.ts +17 -3
  674. package/dist/types/src/components/GrImageViewer/config.d.ts +1 -1
  675. package/dist/types/src/components/GrImageViewer/grImageViewerStyles.d.ts +21 -0
  676. package/dist/types/src/components/GrImageViewer/index.d.ts +7 -0
  677. package/dist/types/src/components/GrImageViewer/safelist.d.ts +1 -0
  678. package/dist/types/src/components/GrInput/GrInput.vue.d.ts +66 -21
  679. package/dist/types/src/components/GrInput/config.d.ts +1 -1
  680. package/dist/types/src/components/GrInput/grInputStyles.d.ts +53 -7
  681. package/dist/types/src/components/GrInput/index.d.ts +5 -0
  682. package/dist/types/src/components/GrInputTag/GrInputTag.vue.d.ts +97 -14
  683. package/dist/types/src/components/GrInputTag/config.d.ts +1 -1
  684. package/dist/types/src/components/GrInputTag/defaults.d.ts +17 -0
  685. package/dist/types/src/components/GrInputTag/grInputTagStyles.d.ts +24 -1
  686. package/dist/types/src/components/GrInputTag/index.d.ts +5 -0
  687. package/dist/types/src/components/GrKbd/GrKbd.vue.d.ts +31 -10
  688. package/dist/types/src/components/GrKbd/config.d.ts +1 -1
  689. package/dist/types/src/components/GrKbd/defaults.d.ts +14 -0
  690. package/dist/types/src/components/GrKbd/grKbdStyles.d.ts +15 -0
  691. package/dist/types/src/components/GrKbd/index.d.ts +4 -1
  692. package/dist/types/src/components/GrKbd/safelist.d.ts +1 -0
  693. package/dist/types/src/components/GrLink/GrLink.vue.d.ts +23 -10
  694. package/dist/types/src/components/GrLink/config.d.ts +1 -1
  695. package/dist/types/src/components/GrLink/defaults.d.ts +14 -0
  696. package/dist/types/src/components/GrLink/grLinkStyles.d.ts +11 -13
  697. package/dist/types/src/components/GrLink/index.d.ts +2 -0
  698. package/dist/types/src/components/GrList/GrList.vue.d.ts +57 -32
  699. package/dist/types/src/components/GrList/GrListItem.vue.d.ts +42 -9
  700. package/dist/types/src/components/GrList/config.d.ts +1 -1
  701. package/dist/types/src/components/GrList/grListStyles.d.ts +25 -0
  702. package/dist/types/src/components/GrList/index.d.ts +5 -0
  703. package/dist/types/src/components/GrList/safelist.d.ts +1 -0
  704. package/dist/types/src/components/GrLoading/GrLoading.vue.d.ts +59 -19
  705. package/dist/types/src/components/GrLoading/config.d.ts +1 -1
  706. package/dist/types/src/components/GrLoading/grLoadingStyles.d.ts +10 -2
  707. package/dist/types/src/components/GrLoading/index.d.ts +1 -0
  708. package/dist/types/src/components/GrModal/GrModal.vue.d.ts +58 -12
  709. package/dist/types/src/components/GrModal/config.d.ts +1 -1
  710. package/dist/types/src/components/GrModal/context.d.ts +37 -0
  711. package/dist/types/src/components/GrModal/defaults.d.ts +14 -0
  712. package/dist/types/src/components/GrModal/grModalStyles.d.ts +25 -10
  713. package/dist/types/src/components/GrModal/index.d.ts +6 -3
  714. package/dist/types/src/components/GrNavbar/GrNavbar.vue.d.ts +28 -9
  715. package/dist/types/src/components/GrNavbar/config.d.ts +1 -1
  716. package/dist/types/src/components/GrNavbar/grNavbarStyles.d.ts +23 -0
  717. package/dist/types/src/components/GrNavbar/index.d.ts +2 -0
  718. package/dist/types/src/components/GrNavbar/safelist.d.ts +1 -0
  719. package/dist/types/src/components/GrNumberInput/GrNumberInput.vue.d.ts +64 -17
  720. package/dist/types/src/components/GrNumberInput/config.d.ts +1 -1
  721. package/dist/types/src/components/GrNumberInput/defaults.d.ts +1 -0
  722. package/dist/types/src/components/GrNumberInput/grNumberInputStyles.d.ts +20 -4
  723. package/dist/types/src/components/GrNumberInput/index.d.ts +4 -0
  724. package/dist/types/src/components/GrNumberInput/numberInputMath.d.ts +17 -0
  725. package/dist/types/src/components/GrPagination/GrPagination.vue.d.ts +47 -1
  726. package/dist/types/src/components/GrPagination/config.d.ts +1 -1
  727. package/dist/types/src/components/GrPagination/defaults.d.ts +10 -0
  728. package/dist/types/src/components/GrPagination/grPaginationStyles.d.ts +19 -0
  729. package/dist/types/src/components/GrPagination/index.d.ts +4 -0
  730. package/dist/types/src/components/GrPagination/safelist.d.ts +1 -0
  731. package/dist/types/src/components/GrPopover/GrPopover.vue.d.ts +161 -0
  732. package/dist/types/src/components/GrPopover/config.d.ts +1 -0
  733. package/dist/types/src/components/GrPopover/defaults.d.ts +15 -0
  734. package/dist/types/src/components/GrPopover/grPopoverStyles.d.ts +28 -0
  735. package/dist/types/src/components/GrPopover/index.d.ts +11 -0
  736. package/dist/types/src/components/GrPopover/safelist.d.ts +1 -0
  737. package/dist/types/src/components/GrProgressBar/GrProgressBar.vue.d.ts +37 -5
  738. package/dist/types/src/components/GrProgressBar/config.d.ts +1 -1
  739. package/dist/types/src/components/GrProgressBar/defaults.d.ts +11 -0
  740. package/dist/types/src/components/GrProgressBar/grStyle.d.ts +14 -0
  741. package/dist/types/src/components/GrProgressBar/index.d.ts +2 -1
  742. package/dist/types/src/components/GrProgressBar/safelist.d.ts +4 -0
  743. package/dist/types/src/components/GrProgressCircle/GrProgressCircle.vue.d.ts +103 -0
  744. package/dist/types/src/components/GrProgressCircle/config.d.ts +1 -0
  745. package/dist/types/src/components/GrProgressCircle/defaults.d.ts +18 -0
  746. package/dist/types/src/components/GrProgressCircle/geometry.d.ts +29 -0
  747. package/dist/types/src/components/GrProgressCircle/grProgressCircleStyles.d.ts +34 -0
  748. package/dist/types/src/components/GrProgressCircle/index.d.ts +11 -0
  749. package/dist/types/src/components/GrProgressCircle/safelist.d.ts +1 -0
  750. package/dist/types/src/components/GrPromptDialog/GrPromptDialog.vue.d.ts +78 -10
  751. package/dist/types/src/components/GrPromptDialog/config.d.ts +1 -1
  752. package/dist/types/src/components/GrPromptDialog/defaults.d.ts +14 -0
  753. package/dist/types/src/components/GrPromptDialog/index.d.ts +1 -0
  754. package/dist/types/src/components/GrRadio/GrRadio.vue.d.ts +28 -9
  755. package/dist/types/src/components/GrRadio/config.d.ts +1 -1
  756. package/dist/types/src/components/GrRadio/grRadioGroupContext.d.ts +37 -2
  757. package/dist/types/src/components/GrRadio/grRadioStyles.d.ts +49 -6
  758. package/dist/types/src/components/GrRadio/index.d.ts +1 -0
  759. package/dist/types/src/components/GrRadioGroup/GrRadioGroup.vue.d.ts +54 -10
  760. package/dist/types/src/components/GrRadioGroup/config.d.ts +1 -1
  761. package/dist/types/src/components/GrRadioGroup/index.d.ts +4 -0
  762. package/dist/types/src/components/GrRating/GrRating.vue.d.ts +66 -17
  763. package/dist/types/src/components/GrRating/config.d.ts +1 -1
  764. package/dist/types/src/components/GrRating/grRatingStyles.d.ts +4 -1
  765. package/dist/types/src/components/GrRating/index.d.ts +4 -0
  766. package/dist/types/src/components/GrResponseErrorBanner/GrFormErrorBanner.vue.d.ts +8 -4
  767. package/dist/types/src/components/GrResponseErrorBanner/GrResponseErrorBanner.vue.d.ts +8 -4
  768. package/dist/types/src/components/GrResponseErrorBanner/GrUploadErrorBanner.vue.d.ts +11 -4
  769. package/dist/types/src/components/GrResponseErrorBanner/config.d.ts +1 -1
  770. package/dist/types/src/components/GrResponseErrorBanner/index.d.ts +6 -0
  771. package/dist/types/src/components/GrResponseErrorBanner/parsers/httpStatusParser.d.ts +3 -1
  772. package/dist/types/src/components/GrResponseErrorBanner/parsers/plainMessageParser.d.ts +4 -1
  773. package/dist/types/src/components/GrResponseErrorBanner/responseError.types.d.ts +12 -2
  774. package/dist/types/src/components/GrSegmented/GrSegmented.vue.d.ts +48 -9
  775. package/dist/types/src/components/GrSegmented/config.d.ts +1 -1
  776. package/dist/types/src/components/GrSegmented/grSegmentedStyles.d.ts +31 -5
  777. package/dist/types/src/components/GrSegmented/index.d.ts +5 -1
  778. package/dist/types/src/components/GrSegmented/safelist.d.ts +3 -1
  779. package/dist/types/src/components/GrSelect/GrSelect.vue.d.ts +138 -114
  780. package/dist/types/src/components/GrSelect/composables/useSelectNavigation.d.ts +52 -0
  781. package/dist/types/src/components/GrSelect/composables/useSelectPanelItems.d.ts +67 -0
  782. package/dist/types/src/components/GrSelect/composables/useSelectValues.d.ts +37 -0
  783. package/dist/types/src/components/GrSelect/composables/useSelectVirtualization.d.ts +27 -0
  784. package/dist/types/src/components/GrSelect/config.d.ts +1 -1
  785. package/dist/types/src/components/GrSelect/grSelectStyles.d.ts +64 -9
  786. package/dist/types/src/components/GrSelect/index.d.ts +5 -1
  787. package/dist/types/src/components/GrSelect/selectValue.d.ts +20 -0
  788. package/dist/types/src/components/GrSidebar/GrSidebar.vue.d.ts +30 -5
  789. package/dist/types/src/components/GrSidebar/GrSidebarGroup.vue.d.ts +43 -0
  790. package/dist/types/src/components/GrSidebar/GrSidebarItem.vue.d.ts +4 -4
  791. package/dist/types/src/components/GrSidebar/config.d.ts +1 -1
  792. package/dist/types/src/components/GrSidebar/grSidebarStyles.d.ts +48 -0
  793. package/dist/types/src/components/GrSidebar/index.d.ts +6 -0
  794. package/dist/types/src/components/GrSidebar/safelist.d.ts +1 -0
  795. package/dist/types/src/components/GrSkeleton/GrSkeleton.vue.d.ts +22 -6
  796. package/dist/types/src/components/GrSkeleton/config.d.ts +1 -1
  797. package/dist/types/src/components/GrSkeleton/grSkeletonStyles.d.ts +9 -0
  798. package/dist/types/src/components/GrSkeleton/index.d.ts +1 -0
  799. package/dist/types/src/components/GrSlider/GrSlider.vue.d.ts +54 -4
  800. package/dist/types/src/components/GrSlider/config.d.ts +1 -1
  801. package/dist/types/src/components/GrSlider/grSliderStyles.d.ts +47 -8
  802. package/dist/types/src/components/GrSlider/index.d.ts +4 -0
  803. package/dist/types/src/components/GrSplitter/GrSplitter.vue.d.ts +121 -0
  804. package/dist/types/src/components/GrSplitter/config.d.ts +1 -0
  805. package/dist/types/src/components/GrSplitter/defaults.d.ts +16 -0
  806. package/dist/types/src/components/GrSplitter/grSplitterStyles.d.ts +9 -0
  807. package/dist/types/src/components/GrSplitter/index.d.ts +11 -0
  808. package/dist/types/src/components/GrSplitter/safelist.d.ts +1 -0
  809. package/dist/types/src/components/GrSplitter/splitterGeometry.d.ts +39 -0
  810. package/dist/types/src/components/GrStatistic/GrStatistic.vue.d.ts +65 -16
  811. package/dist/types/src/components/GrStatistic/config.d.ts +1 -1
  812. package/dist/types/src/components/GrStatistic/countUp.d.ts +17 -0
  813. package/dist/types/src/components/GrStatistic/defaults.d.ts +14 -0
  814. package/dist/types/src/components/GrStatistic/formatStatisticValue.d.ts +6 -2
  815. package/dist/types/src/components/GrStatistic/grStatisticStyles.d.ts +14 -1
  816. package/dist/types/src/components/GrStatistic/index.d.ts +2 -1
  817. package/dist/types/src/components/GrSwitch/GrSwitch.vue.d.ts +68 -6
  818. package/dist/types/src/components/GrSwitch/config.d.ts +1 -1
  819. package/dist/types/src/components/GrSwitch/grSwitchStyles.d.ts +45 -4
  820. package/dist/types/src/components/GrSwitch/index.d.ts +5 -1
  821. package/dist/types/src/components/GrSwitch/safelist.d.ts +4 -1
  822. package/dist/types/src/components/GrTabPanels/GrTabPanel.vue.d.ts +12 -9
  823. package/dist/types/src/components/GrTabPanels/GrTabPanels.vue.d.ts +4 -14
  824. package/dist/types/src/components/GrTabPanels/config.d.ts +1 -1
  825. package/dist/types/src/components/GrTabPanels/context.d.ts +1 -1
  826. package/dist/types/src/components/GrTabPanels/index.d.ts +2 -0
  827. package/dist/types/src/components/GrTable/GrTable.vue.d.ts +85 -15
  828. package/dist/types/src/components/GrTable/config.d.ts +1 -1
  829. package/dist/types/src/components/GrTable/defaults.d.ts +10 -0
  830. package/dist/types/src/components/GrTable/grTableStyles.d.ts +20 -0
  831. package/dist/types/src/components/GrTable/index.d.ts +7 -1
  832. package/dist/types/src/components/GrTable/safelist.d.ts +1 -0
  833. package/dist/types/src/components/GrTabs/GrTabs.vue.d.ts +92 -6
  834. package/dist/types/src/components/GrTabs/config.d.ts +1 -1
  835. package/dist/types/src/components/GrTabs/defaults.d.ts +12 -0
  836. package/dist/types/src/components/GrTabs/grTabsStyles.d.ts +71 -0
  837. package/dist/types/src/components/GrTabs/index.d.ts +5 -0
  838. package/dist/types/src/components/GrTabs/safelist.d.ts +1 -0
  839. package/dist/types/src/components/GrTextarea/GrTextarea.vue.d.ts +89 -24
  840. package/dist/types/src/components/GrTextarea/config.d.ts +1 -1
  841. package/dist/types/src/components/GrTextarea/defaults.d.ts +18 -0
  842. package/dist/types/src/components/GrTextarea/grTextareaStyles.d.ts +33 -1
  843. package/dist/types/src/components/GrTextarea/index.d.ts +6 -1
  844. package/dist/types/src/components/GrTimeline/GrTimeline.vue.d.ts +70 -0
  845. package/dist/types/src/components/GrTimeline/GrTimelineItem.vue.d.ts +84 -0
  846. package/dist/types/src/components/GrTimeline/config.d.ts +1 -0
  847. package/dist/types/src/components/GrTimeline/defaults.d.ts +19 -0
  848. package/dist/types/src/components/GrTimeline/grTimelineContext.d.ts +18 -0
  849. package/dist/types/src/components/GrTimeline/grTimelineStyles.d.ts +37 -0
  850. package/dist/types/src/components/GrTimeline/index.d.ts +12 -0
  851. package/dist/types/src/components/GrTimeline/safelist.d.ts +1 -0
  852. package/dist/types/src/components/GrTimeline/timelineGroups.d.ts +23 -0
  853. package/dist/types/src/components/GrToaster/GrToaster.vue.d.ts +25 -1
  854. package/dist/types/src/components/GrToaster/config.d.ts +1 -1
  855. package/dist/types/src/components/GrToaster/index.d.ts +3 -0
  856. package/dist/types/src/components/GrTooltip/GrTooltip.vue.d.ts +57 -6
  857. package/dist/types/src/components/GrTooltip/config.d.ts +1 -1
  858. package/dist/types/src/components/GrTooltip/defaults.d.ts +10 -0
  859. package/dist/types/src/components/GrTooltip/grTooltipStyles.d.ts +8 -0
  860. package/dist/types/src/components/GrTooltip/index.d.ts +5 -1
  861. package/dist/types/src/components/GrTooltip/safelist.d.ts +1 -0
  862. package/dist/types/src/components/GrTree/GrTree.vue.d.ts +20 -7
  863. package/dist/types/src/components/GrTree/config.d.ts +1 -1
  864. package/dist/types/src/components/GrTree/defaults.d.ts +10 -0
  865. package/dist/types/src/components/GrTree/grTreeChecking.d.ts +31 -0
  866. package/dist/types/src/components/GrTree/grTreeDataAdapter.d.ts +2 -0
  867. package/dist/types/src/components/GrTree/grTreeInteractionContext.d.ts +9 -0
  868. package/dist/types/src/components/GrTree/grTreeProps.d.ts +60 -11
  869. package/dist/types/src/components/GrTree/grTreeStore.d.ts +27 -1
  870. package/dist/types/src/components/GrTree/grTreeStyles.d.ts +22 -0
  871. package/dist/types/src/components/GrTree/grTreeTypes.d.ts +15 -0
  872. package/dist/types/src/components/GrTree/index.d.ts +5 -1
  873. package/dist/types/src/components/GrTreeSelect/GrTreeSelect.vue.d.ts +30 -9
  874. package/dist/types/src/components/GrTreeSelect/config.d.ts +1 -1
  875. package/dist/types/src/components/GrTreeSelect/defaults.d.ts +10 -0
  876. package/dist/types/src/components/GrTreeSelect/grTreeSelectStyles.d.ts +29 -1
  877. package/dist/types/src/components/GrTreeSelect/grTreeSelectTypes.d.ts +43 -0
  878. package/dist/types/src/components/GrTreeSelect/index.d.ts +5 -0
  879. package/dist/types/src/components/shared/hotkey.d.ts +46 -0
  880. package/dist/types/src/components/shared/instance.d.ts +15 -0
  881. package/dist/types/src/components/shared/optionFilter.d.ts +61 -0
  882. package/dist/types/src/components/shared/sizes.d.ts +30 -0
  883. package/dist/types/src/components/shared/slotNodes.d.ts +19 -0
  884. package/dist/types/src/composables/internal/focusables.d.ts +30 -0
  885. package/dist/types/src/composables/internal/inert.d.ts +35 -0
  886. package/dist/types/src/composables/internal/overlayStack.d.ts +60 -0
  887. package/dist/types/src/composables/internal/portalRoot.d.ts +27 -0
  888. package/dist/types/src/composables/internal/useAddonMeasurement.d.ts +1 -1
  889. package/dist/types/src/composables/internal/useComboboxNavigation.d.ts +51 -0
  890. package/dist/types/src/composables/internal/useControlAddons.d.ts +61 -0
  891. package/dist/types/src/composables/internal/useControlledOpen.d.ts +14 -0
  892. package/dist/types/src/composables/internal/useFilePreviews.d.ts +26 -0
  893. package/dist/types/src/composables/internal/useFocusWithin.d.ts +32 -0
  894. package/dist/types/src/composables/internal/useInertOthers.d.ts +9 -0
  895. package/dist/types/src/composables/internal/useModalOverlay.d.ts +95 -0
  896. package/dist/types/src/composables/internal/useOverlayPresence.d.ts +24 -0
  897. package/dist/types/src/composables/internal/useScrollLock.d.ts +10 -5
  898. package/dist/types/src/composables/internal/useTeleportEnabled.d.ts +35 -0
  899. package/dist/types/src/composables/useAnnouncer.d.ts +44 -0
  900. package/dist/types/src/composables/useDismissible.d.ts +32 -0
  901. package/dist/types/src/composables/useFocusTrap.d.ts +50 -0
  902. package/dist/types/src/composables/useGrFormControl.d.ts +52 -0
  903. package/dist/types/src/composables/useOverlayLayer.d.ts +67 -0
  904. package/dist/types/src/composables/usePortalTarget.d.ts +28 -0
  905. package/dist/types/src/composables/useTheme.d.ts +48 -2
  906. package/dist/types/src/composables/useToast.d.ts +20 -11
  907. package/dist/types/src/composables/useVirtualList.d.ts +119 -0
  908. package/dist/types/src/directives/loading.d.ts +7 -1
  909. package/dist/types/src/fileValidation/i18n.d.ts +24 -0
  910. package/dist/types/src/fileValidation/index.d.ts +4 -2
  911. package/dist/types/src/fileValidation/maxCountValidator.d.ts +9 -0
  912. package/dist/types/src/fileValidation/maxFileSize.d.ts +16 -0
  913. package/dist/types/src/fileValidation/types.d.ts +8 -2
  914. package/dist/types/src/granular-provider/index.d.ts +1 -1
  915. package/dist/types/src/granular-provider/node.d.ts +2 -3
  916. package/dist/types/src/granular-provider/shared.d.ts +13 -18
  917. package/dist/types/src/i18n/adapter.d.ts +24 -0
  918. package/dist/types/src/i18n/messages/en.d.ts +286 -2
  919. package/dist/types/src/i18n/messages/es.d.ts +290 -2
  920. package/dist/types/src/i18n/messages/ru.d.ts +294 -2
  921. package/dist/types/src/index.d.ts +26 -3
  922. package/dist/types/src/internal/granularityFormat.d.ts +19 -0
  923. package/dist/types/src/internal/granularityI18n.d.ts +6 -0
  924. package/dist/types/src/internal/keyboard.d.ts +46 -0
  925. package/dist/types/src/tokens/generated.d.ts +6 -0
  926. package/dist/types/src/tokens/index.d.ts +13 -0
  927. package/dist/types/src/tokens/types.d.ts +54 -0
  928. package/dist/vue/index.js.map +1 -1
  929. package/dist/web-types.json +6309 -2024
  930. package/package.json +90 -17
  931. package/tokens/derived.json +142 -0
  932. package/tokens/foundation.json +558 -0
  933. package/tokens/themes/dark.json +499 -0
  934. package/tokens/themes/light.json +499 -0
  935. package/dist/GrBadge.css +0 -1
  936. package/dist/GrButtonGroup.css +0 -1
  937. package/dist/GrFormFile.css +0 -1
  938. package/dist/GrIcon.css +0 -1
  939. package/dist/GrLoading.css +0 -1
  940. package/dist/GrToaster.css +0 -1
  941. package/dist/GrTree.css +0 -1
  942. package/dist/chunks/config-23WtUiAL.js +0 -53
  943. package/dist/chunks/config-23WtUiAL.js.map +0 -1
  944. package/dist/chunks/config-B0i5r8kH.js +0 -23
  945. package/dist/chunks/config-B0i5r8kH.js.map +0 -1
  946. package/dist/chunks/config-B0qIpo8m.js +0 -5
  947. package/dist/chunks/config-B0qIpo8m.js.map +0 -1
  948. package/dist/chunks/config-B5Rknzkd.js +0 -100
  949. package/dist/chunks/config-B5Rknzkd.js.map +0 -1
  950. package/dist/chunks/config-BDSHekVC.js +0 -84
  951. package/dist/chunks/config-BDSHekVC.js.map +0 -1
  952. package/dist/chunks/config-BEegFP74.js +0 -5
  953. package/dist/chunks/config-BEegFP74.js.map +0 -1
  954. package/dist/chunks/config-BLHqZhy-.js +0 -5
  955. package/dist/chunks/config-BLHqZhy-.js.map +0 -1
  956. package/dist/chunks/config-BMKNHFMD2.js +0 -171
  957. package/dist/chunks/config-BMKNHFMD2.js.map +0 -1
  958. package/dist/chunks/config-BUHuGBik2.js +0 -13
  959. package/dist/chunks/config-BUHuGBik2.js.map +0 -1
  960. package/dist/chunks/config-BWGGp7uV.js +0 -8
  961. package/dist/chunks/config-BWGGp7uV.js.map +0 -1
  962. package/dist/chunks/config-BWiPnygb.js +0 -5
  963. package/dist/chunks/config-BWiPnygb.js.map +0 -1
  964. package/dist/chunks/config-BX1JTrkV.js +0 -14
  965. package/dist/chunks/config-BX1JTrkV.js.map +0 -1
  966. package/dist/chunks/config-BXtAmU3s.js +0 -8
  967. package/dist/chunks/config-BXtAmU3s.js.map +0 -1
  968. package/dist/chunks/config-BZFUM3Ky.js +0 -75
  969. package/dist/chunks/config-BZFUM3Ky.js.map +0 -1
  970. package/dist/chunks/config-Bah4oHwL.js +0 -8
  971. package/dist/chunks/config-Bah4oHwL.js.map +0 -1
  972. package/dist/chunks/config-BmNT0Fmx.js +0 -45
  973. package/dist/chunks/config-BmNT0Fmx.js.map +0 -1
  974. package/dist/chunks/config-BvVq2gbd.js +0 -13
  975. package/dist/chunks/config-BvVq2gbd.js.map +0 -1
  976. package/dist/chunks/config-C4hJxXDa.js +0 -58
  977. package/dist/chunks/config-C4hJxXDa.js.map +0 -1
  978. package/dist/chunks/config-C86UzUYf.js +0 -13
  979. package/dist/chunks/config-C86UzUYf.js.map +0 -1
  980. package/dist/chunks/config-C9AcVDkv.js +0 -5
  981. package/dist/chunks/config-C9AcVDkv.js.map +0 -1
  982. package/dist/chunks/config-CB4RVt9M.js +0 -66
  983. package/dist/chunks/config-CB4RVt9M.js.map +0 -1
  984. package/dist/chunks/config-CGHLoBlH2.js +0 -5
  985. package/dist/chunks/config-CGHLoBlH2.js.map +0 -1
  986. package/dist/chunks/config-COE_vZ-l.js +0 -52
  987. package/dist/chunks/config-COE_vZ-l.js.map +0 -1
  988. package/dist/chunks/config-CPdmr7tC.js +0 -39
  989. package/dist/chunks/config-CPdmr7tC.js.map +0 -1
  990. package/dist/chunks/config-CThzliFi.js +0 -5
  991. package/dist/chunks/config-CThzliFi.js.map +0 -1
  992. package/dist/chunks/config-Cb2PAlSD.js +0 -8
  993. package/dist/chunks/config-Cb2PAlSD.js.map +0 -1
  994. package/dist/chunks/config-D7GZO-Dx.js +0 -8
  995. package/dist/chunks/config-D7GZO-Dx.js.map +0 -1
  996. package/dist/chunks/config-DICOd-2X.js +0 -5
  997. package/dist/chunks/config-DICOd-2X.js.map +0 -1
  998. package/dist/chunks/config-DPDFYzIa.js +0 -40
  999. package/dist/chunks/config-DPDFYzIa.js.map +0 -1
  1000. package/dist/chunks/config-DRKXJ9PW2.js +0 -22
  1001. package/dist/chunks/config-DRKXJ9PW2.js.map +0 -1
  1002. package/dist/chunks/config-DToHb81g.js +0 -45
  1003. package/dist/chunks/config-DToHb81g.js.map +0 -1
  1004. package/dist/chunks/config-D_myOZbA.js +0 -20
  1005. package/dist/chunks/config-D_myOZbA.js.map +0 -1
  1006. package/dist/chunks/config-Dg_6FTvJ.js +0 -35
  1007. package/dist/chunks/config-Dg_6FTvJ.js.map +0 -1
  1008. package/dist/chunks/config-Dlm49Jp5.js +0 -5
  1009. package/dist/chunks/config-Dlm49Jp5.js.map +0 -1
  1010. package/dist/chunks/config-DpqOnJiz.js.map +0 -1
  1011. package/dist/chunks/config-Dqy0rPPO2.js +0 -17
  1012. package/dist/chunks/config-Dqy0rPPO2.js.map +0 -1
  1013. package/dist/chunks/config-Dxuwwepq.js +0 -5
  1014. package/dist/chunks/config-Dxuwwepq.js.map +0 -1
  1015. package/dist/chunks/config-HZto2PVy.js +0 -5
  1016. package/dist/chunks/config-HZto2PVy.js.map +0 -1
  1017. package/dist/chunks/config-JOtB4mzs.js +0 -8
  1018. package/dist/chunks/config-JOtB4mzs.js.map +0 -1
  1019. package/dist/chunks/config-JpHA4Xx0.js +0 -8
  1020. package/dist/chunks/config-JpHA4Xx0.js.map +0 -1
  1021. package/dist/chunks/config-KXuionN3.js +0 -9
  1022. package/dist/chunks/config-KXuionN3.js.map +0 -1
  1023. package/dist/chunks/config-LqDC_rvp.js +0 -78
  1024. package/dist/chunks/config-LqDC_rvp.js.map +0 -1
  1025. package/dist/chunks/config-PFg39mYo.js +0 -5
  1026. package/dist/chunks/config-PFg39mYo.js.map +0 -1
  1027. package/dist/chunks/config-QYGvEBu5.js +0 -22
  1028. package/dist/chunks/config-QYGvEBu5.js.map +0 -1
  1029. package/dist/chunks/config-QaIc_gRa2.js.map +0 -1
  1030. package/dist/chunks/config-U4m9PSql2.js +0 -8
  1031. package/dist/chunks/config-U4m9PSql2.js.map +0 -1
  1032. package/dist/chunks/config-XmTv4pnI.js +0 -26
  1033. package/dist/chunks/config-XmTv4pnI.js.map +0 -1
  1034. package/dist/chunks/config-ZiXWIRBX.js +0 -8
  1035. package/dist/chunks/config-ZiXWIRBX.js.map +0 -1
  1036. package/dist/chunks/config-eXB87DOi.js.map +0 -1
  1037. package/dist/chunks/config-gZWR75Bh2.js +0 -44
  1038. package/dist/chunks/config-gZWR75Bh2.js.map +0 -1
  1039. package/dist/chunks/config-ipvU0lzP.js +0 -5
  1040. package/dist/chunks/config-ipvU0lzP.js.map +0 -1
  1041. package/dist/chunks/config-xR4XVmcy2.js +0 -8
  1042. package/dist/chunks/config-xR4XVmcy2.js.map +0 -1
  1043. package/dist/chunks/context-DfWYCBB-.js +0 -129
  1044. package/dist/chunks/context-DfWYCBB-.js.map +0 -1
  1045. package/dist/chunks/en-Cr6EkG8c.js +0 -186
  1046. package/dist/chunks/en-Cr6EkG8c.js.map +0 -1
  1047. package/dist/chunks/es-DuYb1Qju.js +0 -20
  1048. package/dist/chunks/es-DuYb1Qju.js.map +0 -1
  1049. package/dist/chunks/es-i08e9Sdo.js +0 -186
  1050. package/dist/chunks/es-i08e9Sdo.js.map +0 -1
  1051. package/dist/chunks/fileValidation-C3WFaWU2.js +0 -220
  1052. package/dist/chunks/fileValidation-C3WFaWU2.js.map +0 -1
  1053. package/dist/chunks/grBadgeStyles-D3dFjr_N.js +0 -50
  1054. package/dist/chunks/grBadgeStyles-D3dFjr_N.js.map +0 -1
  1055. package/dist/chunks/grButtonStyles-DRBgDmOp.js +0 -191
  1056. package/dist/chunks/grButtonStyles-DRBgDmOp.js.map +0 -1
  1057. package/dist/chunks/grDropdownStyles-HBPkghVr.js +0 -35
  1058. package/dist/chunks/grDropdownStyles-HBPkghVr.js.map +0 -1
  1059. package/dist/chunks/grLoadingStyles-R5sreH__.js +0 -17
  1060. package/dist/chunks/grLoadingStyles-R5sreH__.js.map +0 -1
  1061. package/dist/chunks/grModalEscStack-BXk-9mv7.js +0 -43
  1062. package/dist/chunks/grModalEscStack-BXk-9mv7.js.map +0 -1
  1063. package/dist/chunks/grModalStyles-D8-shx9A.js +0 -47
  1064. package/dist/chunks/grModalStyles-D8-shx9A.js.map +0 -1
  1065. package/dist/chunks/grSelectStyles-CwMUQrBZ.js +0 -97
  1066. package/dist/chunks/grSelectStyles-CwMUQrBZ.js.map +0 -1
  1067. package/dist/chunks/grStyle-CdvxTXPH.js +0 -19
  1068. package/dist/chunks/grStyle-CdvxTXPH.js.map +0 -1
  1069. package/dist/chunks/granularityI18n-SH0I--GW.js +0 -61
  1070. package/dist/chunks/granularityI18n-SH0I--GW.js.map +0 -1
  1071. package/dist/chunks/ru-B5XOOYZt.js +0 -186
  1072. package/dist/chunks/ru-B5XOOYZt.js.map +0 -1
  1073. package/dist/chunks/safelist-BvO8HPnE.js +0 -24
  1074. package/dist/chunks/safelist-BvO8HPnE.js.map +0 -1
  1075. package/dist/chunks/shared-D-v9lit0.js +0 -188
  1076. package/dist/chunks/shared-D-v9lit0.js.map +0 -1
  1077. package/dist/chunks/useAddonMeasurement-DM0akF4C.js +0 -65
  1078. package/dist/chunks/useAddonMeasurement-DM0akF4C.js.map +0 -1
  1079. package/dist/chunks/useEscapeToClose-C2t_S1gh.js +0 -27
  1080. package/dist/chunks/useEscapeToClose-C2t_S1gh.js.map +0 -1
  1081. package/dist/chunks/useFloating-DtM6TyE4.js +0 -1249
  1082. package/dist/chunks/useFloating-DtM6TyE4.js.map +0 -1
  1083. package/dist/chunks/useScrollLock-K7kaP2Ud.js +0 -1757
  1084. package/dist/chunks/useScrollLock-K7kaP2Ud.js.map +0 -1
  1085. package/dist/components/GrAlert/chunks/GrAlert-B9gmpoPC.js +0 -251
  1086. package/dist/components/GrAlert/chunks/GrAlert-B9gmpoPC.js.map +0 -1
  1087. package/dist/components/GrAutocomplete/chunks/GrAutocomplete-BVLoQ5tZ.js +0 -499
  1088. package/dist/components/GrAutocomplete/chunks/GrAutocomplete-BVLoQ5tZ.js.map +0 -1
  1089. package/dist/components/GrAvatar/chunks/GrAvatar-CTOUVBF7.js +0 -41
  1090. package/dist/components/GrAvatar/chunks/GrAvatar-CTOUVBF7.js.map +0 -1
  1091. package/dist/components/GrBadge/chunks/GrBadge-D1jefy4S.js +0 -40
  1092. package/dist/components/GrBadge/chunks/GrBadge-D1jefy4S.js.map +0 -1
  1093. package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-DWDxHdiQ.js +0 -33
  1094. package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-DWDxHdiQ.js.map +0 -1
  1095. package/dist/components/GrBottomNav/chunks/GrBottomNav-vSE4LXmk.js +0 -31
  1096. package/dist/components/GrBottomNav/chunks/GrBottomNav-vSE4LXmk.js.map +0 -1
  1097. package/dist/components/GrButton/chunks/GrButton-DCi4CUpo.js +0 -128
  1098. package/dist/components/GrButton/chunks/GrButton-DCi4CUpo.js.map +0 -1
  1099. package/dist/components/GrButtonGroup/chunks/GrButtonGroup-Bs9dEKfA.js +0 -21
  1100. package/dist/components/GrButtonGroup/chunks/GrButtonGroup-Bs9dEKfA.js.map +0 -1
  1101. package/dist/components/GrCard/chunks/GrCard-CxCjyHMb.js +0 -11
  1102. package/dist/components/GrCard/chunks/GrCard-CxCjyHMb.js.map +0 -1
  1103. package/dist/components/GrCheckbox/chunks/GrCheckbox-BbIDRXtl.js +0 -182
  1104. package/dist/components/GrCheckbox/chunks/GrCheckbox-BbIDRXtl.js.map +0 -1
  1105. package/dist/components/GrCollapse/chunks/GrCollapse-DApXztn8.js +0 -205
  1106. package/dist/components/GrCollapse/chunks/GrCollapse-DApXztn8.js.map +0 -1
  1107. package/dist/components/GrCommandPalette/chunks/GrCommandPalette-6OyvNbek.js +0 -410
  1108. package/dist/components/GrCommandPalette/chunks/GrCommandPalette-6OyvNbek.js.map +0 -1
  1109. package/dist/components/GrConfigProvider/chunks/GrConfigProvider-BtyeBGm8.js +0 -57
  1110. package/dist/components/GrConfigProvider/chunks/GrConfigProvider-BtyeBGm8.js.map +0 -1
  1111. package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-e4120mWw.js +0 -160
  1112. package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-e4120mWw.js.map +0 -1
  1113. package/dist/components/GrDataTable/chunks/GrDataTable-C1CzxV0p.js +0 -307
  1114. package/dist/components/GrDataTable/chunks/GrDataTable-C1CzxV0p.js.map +0 -1
  1115. package/dist/components/GrDialog/chunks/GrDialog-BPMvDHOz.js +0 -223
  1116. package/dist/components/GrDialog/chunks/GrDialog-BPMvDHOz.js.map +0 -1
  1117. package/dist/components/GrDialogService/chunks/GrDialogService-CYXCTGm3.js +0 -450
  1118. package/dist/components/GrDialogService/chunks/GrDialogService-CYXCTGm3.js.map +0 -1
  1119. package/dist/components/GrDivider/chunks/GrDivider-BdENZ1w0.js +0 -54
  1120. package/dist/components/GrDivider/chunks/GrDivider-BdENZ1w0.js.map +0 -1
  1121. package/dist/components/GrDrawer/chunks/GrDrawer-KevdZ5BB.js +0 -184
  1122. package/dist/components/GrDrawer/chunks/GrDrawer-KevdZ5BB.js.map +0 -1
  1123. package/dist/components/GrDropdown/chunks/GrDropdown-BKoy8hm-.js +0 -181
  1124. package/dist/components/GrDropdown/chunks/GrDropdown-BKoy8hm-.js.map +0 -1
  1125. package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-zCatXzmt.js +0 -309
  1126. package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-zCatXzmt.js.map +0 -1
  1127. package/dist/components/GrEmptyState/chunks/GrEmptyState-CNb0BzjG.js +0 -62
  1128. package/dist/components/GrEmptyState/chunks/GrEmptyState-CNb0BzjG.js.map +0 -1
  1129. package/dist/components/GrFileUpload/chunks/GrFileUpload-CnLgUGDF.js +0 -592
  1130. package/dist/components/GrFileUpload/chunks/GrFileUpload-CnLgUGDF.js.map +0 -1
  1131. package/dist/components/GrForm/chunks/GrForm-CdaFjcyl.js +0 -234
  1132. package/dist/components/GrForm/chunks/GrForm-CdaFjcyl.js.map +0 -1
  1133. package/dist/components/GrFormField/chunks/GrFormField-CXCDBd99.js +0 -100
  1134. package/dist/components/GrFormField/chunks/GrFormField-CXCDBd99.js.map +0 -1
  1135. package/dist/components/GrFormFile/chunks/GrFormFile-CqacSbUl.js +0 -320
  1136. package/dist/components/GrFormFile/chunks/GrFormFile-CqacSbUl.js.map +0 -1
  1137. package/dist/components/GrFormSection/chunks/GrFormSection-C3w9DQJf.js +0 -35
  1138. package/dist/components/GrFormSection/chunks/GrFormSection-C3w9DQJf.js.map +0 -1
  1139. package/dist/components/GrIcon/chunks/GrIcon-D9AWQLk2.js +0 -32
  1140. package/dist/components/GrIcon/chunks/GrIcon-D9AWQLk2.js.map +0 -1
  1141. package/dist/components/GrImageViewer/chunks/GrImageViewer-DDLJkvIU.js +0 -650
  1142. package/dist/components/GrImageViewer/chunks/GrImageViewer-DDLJkvIU.js.map +0 -1
  1143. package/dist/components/GrInput/chunks/GrInput-C1VBL0dg.js +0 -337
  1144. package/dist/components/GrInput/chunks/GrInput-C1VBL0dg.js.map +0 -1
  1145. package/dist/components/GrInputTag/chunks/GrInputTag-BMk9jm42.js +0 -260
  1146. package/dist/components/GrInputTag/chunks/GrInputTag-BMk9jm42.js.map +0 -1
  1147. package/dist/components/GrKbd/chunks/GrKbd-DTspwtoN.js +0 -22
  1148. package/dist/components/GrKbd/chunks/GrKbd-DTspwtoN.js.map +0 -1
  1149. package/dist/components/GrLink/chunks/GrLink-BP0YrnL9.js +0 -100
  1150. package/dist/components/GrLink/chunks/GrLink-BP0YrnL9.js.map +0 -1
  1151. package/dist/components/GrList/chunks/GrList-5RA-tZzE.js +0 -77
  1152. package/dist/components/GrList/chunks/GrList-5RA-tZzE.js.map +0 -1
  1153. package/dist/components/GrLoading/chunks/GrLoading-fRDtVfi7.js +0 -69
  1154. package/dist/components/GrLoading/chunks/GrLoading-fRDtVfi7.js.map +0 -1
  1155. package/dist/components/GrModal/chunks/GrModal-BTu1-5eY.js +0 -233
  1156. package/dist/components/GrModal/chunks/GrModal-BTu1-5eY.js.map +0 -1
  1157. package/dist/components/GrNavbar/chunks/GrNavbar-keKT_mIM.js +0 -75
  1158. package/dist/components/GrNavbar/chunks/GrNavbar-keKT_mIM.js.map +0 -1
  1159. package/dist/components/GrNumberInput/chunks/GrNumberInput-l9ZOHG9D.js +0 -471
  1160. package/dist/components/GrNumberInput/chunks/GrNumberInput-l9ZOHG9D.js.map +0 -1
  1161. package/dist/components/GrPagination/chunks/GrPagination-C5Y69CuK.js +0 -208
  1162. package/dist/components/GrPagination/chunks/GrPagination-C5Y69CuK.js.map +0 -1
  1163. package/dist/components/GrProgressBar/chunks/GrProgressBar-Dqg4Fj9S.js +0 -39
  1164. package/dist/components/GrProgressBar/chunks/GrProgressBar-Dqg4Fj9S.js.map +0 -1
  1165. package/dist/components/GrPromptDialog/chunks/GrPromptDialog-DNUjRVB9.js +0 -224
  1166. package/dist/components/GrPromptDialog/chunks/GrPromptDialog-DNUjRVB9.js.map +0 -1
  1167. package/dist/components/GrRadio/chunks/GrRadio-DlhxPGqf.js +0 -182
  1168. package/dist/components/GrRadio/chunks/GrRadio-DlhxPGqf.js.map +0 -1
  1169. package/dist/components/GrRadioGroup/chunks/GrRadioGroup-BXt9iw4q.js +0 -82
  1170. package/dist/components/GrRadioGroup/chunks/GrRadioGroup-BXt9iw4q.js.map +0 -1
  1171. package/dist/components/GrRating/chunks/GrRating-Co-3Rk4h.js +0 -241
  1172. package/dist/components/GrRating/chunks/GrRating-Co-3Rk4h.js.map +0 -1
  1173. package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-2CvM7Z08.js +0 -224
  1174. package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-2CvM7Z08.js.map +0 -1
  1175. package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-C8NGx8pE.js +0 -782
  1176. package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-C8NGx8pE.js.map +0 -1
  1177. package/dist/components/GrSegmented/chunks/GrSegmented-CTd3n4PA.js +0 -326
  1178. package/dist/components/GrSegmented/chunks/GrSegmented-CTd3n4PA.js.map +0 -1
  1179. package/dist/components/GrSelect/chunks/GrSelect-Dn3FgJ3Z.js +0 -730
  1180. package/dist/components/GrSelect/chunks/GrSelect-Dn3FgJ3Z.js.map +0 -1
  1181. package/dist/components/GrSidebar/chunks/GrSidebar-cvnzBfj3.js +0 -238
  1182. package/dist/components/GrSidebar/chunks/GrSidebar-cvnzBfj3.js.map +0 -1
  1183. package/dist/components/GrSkeleton/chunks/GrSkeleton-BucA5F4J.js +0 -33
  1184. package/dist/components/GrSkeleton/chunks/GrSkeleton-BucA5F4J.js.map +0 -1
  1185. package/dist/components/GrSlider/chunks/GrSlider-CzzJ3bD-.js +0 -286
  1186. package/dist/components/GrSlider/chunks/GrSlider-CzzJ3bD-.js.map +0 -1
  1187. package/dist/components/GrStatistic/chunks/GrStatistic-gHiAwrX5.js +0 -128
  1188. package/dist/components/GrStatistic/chunks/GrStatistic-gHiAwrX5.js.map +0 -1
  1189. package/dist/components/GrSwitch/chunks/GrSwitch-CJdRvS0s.js +0 -88
  1190. package/dist/components/GrSwitch/chunks/GrSwitch-CJdRvS0s.js.map +0 -1
  1191. package/dist/components/GrTabPanels/chunks/GrTabPanels-DeEMgb_y.js +0 -68
  1192. package/dist/components/GrTabPanels/chunks/GrTabPanels-DeEMgb_y.js.map +0 -1
  1193. package/dist/components/GrTable/chunks/GrTable-sNvsA8wa.js +0 -70
  1194. package/dist/components/GrTable/chunks/GrTable-sNvsA8wa.js.map +0 -1
  1195. package/dist/components/GrTabs/chunks/GrTabs-BqTak0SR.js +0 -123
  1196. package/dist/components/GrTabs/chunks/GrTabs-BqTak0SR.js.map +0 -1
  1197. package/dist/components/GrTextarea/chunks/GrTextarea-DIYBAPpP.js +0 -81
  1198. package/dist/components/GrTextarea/chunks/GrTextarea-DIYBAPpP.js.map +0 -1
  1199. package/dist/components/GrToaster/chunks/GrToaster-BVHjIHcM.js +0 -230
  1200. package/dist/components/GrToaster/chunks/GrToaster-BVHjIHcM.js.map +0 -1
  1201. package/dist/components/GrTooltip/chunks/GrTooltip-BMKH2lIx.js +0 -109
  1202. package/dist/components/GrTooltip/chunks/GrTooltip-BMKH2lIx.js.map +0 -1
  1203. package/dist/components/GrTree/chunks/GrTree-_12ChXRQ.js +0 -838
  1204. package/dist/components/GrTree/chunks/GrTree-_12ChXRQ.js.map +0 -1
  1205. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-CdaLG7Xq.js +0 -426
  1206. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-CdaLG7Xq.js.map +0 -1
  1207. package/dist/granular-provider-node.js.map +0 -1
  1208. package/dist/granular-provider.js.map +0 -1
  1209. package/dist/index.js.map +0 -1
  1210. package/dist/types/src/components/GrButton/config.node.d.ts +0 -1
  1211. package/dist/types/src/components/GrCommandPalette/hotkey.d.ts +0 -23
  1212. package/dist/types/src/components/GrFileUpload/maxSizeMbValidator.d.ts +0 -1
  1213. package/dist/types/src/components/GrModal/grModalEscStack.d.ts +0 -30
  1214. package/dist/types/src/components/GrModal/grModalTopStack.d.ts +0 -31
  1215. package/dist/types/src/components/GrProgressBar/config.node.d.ts +0 -1
  1216. package/dist/types/src/composables/internal/useEscapeToClose.d.ts +0 -11
  1217. package/dist/types/src/fileValidation/maxFileSizeBytesValidator.d.ts +0 -2
  1218. package/dist/types/src/fileValidation/maxSizeMbValidator.d.ts +0 -2
  1219. /package/dist/chunks/{config-DpqOnJiz.js → config-DpqOnJiz2.js} +0 -0
  1220. /package/dist/chunks/{config-QaIc_gRa2.js → config-QaIc_gRa.js} +0 -0
  1221. /package/dist/chunks/{config-eXB87DOi.js → config-eXB87DOi2.js} +0 -0
  1222. /package/dist/{GrSkeleton.css → components/GrSkeleton/styles.css} +0 -0
  1223. /package/dist/types/src/composables/{internal/useFloating.d.ts → useFloating.d.ts} +0 -0
@@ -0,0 +1,406 @@
1
+ import { a as useGrComponentProp, o as useGrComponentSize } from "../../../chunks/context-BSYR7RZs.js";
2
+ import { t as loader_circle_default } from "../../../chunks/loader-circle-CfVLz7lb.js";
3
+ import { n as useGrFormFieldContext } from "../../../chunks/context-DdNIxa1w.js";
4
+ import { useGrFormControl } from "../../../composables/useGrFormControl.js";
5
+ import { t as useFocusWithin } from "../../../chunks/useFocusWithin-BwHE0rzm.js";
6
+ import { a as grSegmentedItemClass, c as grSegmentedItemSpinnerClass, i as grSegmentedIndicatorClass, l as grSegmentedRootClass, o as grSegmentedItemIconClass, s as grSegmentedItemLabelClass, u as grSegmentedRootStyle } from "../../../chunks/config-B-iNaGdw.js";
7
+ import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, defineComponent, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, watch } from "vue";
8
+ //#region src/components/GrSegmented/GrSegmented.vue?vue&type=script&setup=true&lang.ts
9
+ var _hoisted_1 = [
10
+ "id",
11
+ "data-variant",
12
+ "aria-orientation",
13
+ "aria-label",
14
+ "aria-labelledby",
15
+ "aria-describedby",
16
+ "aria-invalid",
17
+ "aria-required",
18
+ "aria-readonly",
19
+ "aria-disabled"
20
+ ];
21
+ var _hoisted_2 = ["name", "value"];
22
+ var _hoisted_3 = [
23
+ "data-value",
24
+ "aria-label",
25
+ "aria-checked",
26
+ "aria-disabled",
27
+ "aria-busy",
28
+ "disabled",
29
+ "tabindex",
30
+ "onClick",
31
+ "onKeydown"
32
+ ];
33
+ //#endregion
34
+ //#region src/components/GrSegmented/GrSegmented.vue
35
+ var GrSegmented_default = /* @__PURE__ */ defineComponent({
36
+ __name: "GrSegmented",
37
+ props: {
38
+ modelValue: {},
39
+ options: {},
40
+ variant: { default: void 0 },
41
+ size: { default: void 0 },
42
+ orientation: { default: "horizontal" },
43
+ indicatorDuration: { default: 300 },
44
+ block: {
45
+ type: Boolean,
46
+ default: false
47
+ },
48
+ disabled: {
49
+ type: Boolean,
50
+ default: false
51
+ },
52
+ readonly: {
53
+ type: Boolean,
54
+ default: false
55
+ },
56
+ invalid: {
57
+ type: Boolean,
58
+ default: false
59
+ },
60
+ required: {
61
+ type: Boolean,
62
+ default: false
63
+ },
64
+ name: { default: void 0 },
65
+ ariaLabel: { default: void 0 }
66
+ },
67
+ emits: [
68
+ "update:modelValue",
69
+ "change",
70
+ "focus",
71
+ "blur"
72
+ ],
73
+ setup(__props, { expose: __expose, emit: __emit }) {
74
+ const props = __props;
75
+ const resolvedSize = useGrComponentSize(() => props.size, { component: "GrSegmented" });
76
+ const resolvedVariant = useGrComponentProp("GrSegmented", "variant", () => props.variant, "pills");
77
+ const emit = __emit;
78
+ const fallbackName = `gr-segmented-${useId()}`;
79
+ const field = useGrFormFieldContext();
80
+ const fieldId = computed(() => field?.id.value);
81
+ const describedBy = computed(() => field?.describedById.value);
82
+ const labelledBy = computed(() => props.ariaLabel ? void 0 : field?.labelId.value);
83
+ const { disabled: isDisabled, invalid: isInvalid, required: isRequired, readonly: isReadonly } = useGrFormControl(() => props);
84
+ const rootRef = ref(null);
85
+ const { onFocusIn, onFocusOut } = useFocusWithin(rootRef, {
86
+ enter: (event) => emit("focus", event),
87
+ leave: (event) => emit("blur", event)
88
+ });
89
+ function focus() {
90
+ rootRef.value?.querySelector("[data-gr-segmented-item][tabindex=\"0\"]")?.focus();
91
+ }
92
+ function blur() {
93
+ rootRef.value?.querySelector("[data-gr-segmented-item][tabindex=\"0\"]")?.blur();
94
+ }
95
+ __expose({
96
+ focus,
97
+ blur
98
+ });
99
+ const itemRefs = ref(/* @__PURE__ */ new Map());
100
+ const indicatorGeometry = ref(null);
101
+ const indicatorReady = ref(false);
102
+ let resizeObserver = null;
103
+ let observedRoot = null;
104
+ let observedItem = null;
105
+ let scheduled = false;
106
+ const selectedIndex = computed(() => props.options.findIndex((option) => option.value === props.modelValue));
107
+ const selectedOption = computed(() => props.options[selectedIndex.value] ?? null);
108
+ const enabledOptions = computed(() => props.options.filter((option) => !resolveOptionDisabled(option)));
109
+ const indicatorDuration = computed(() => Math.max(0, Math.round(props.indicatorDuration)));
110
+ const isVertical = computed(() => props.orientation === "vertical");
111
+ const rootClassName = computed(() => grSegmentedRootClass({
112
+ variant: resolvedVariant.value,
113
+ orientation: props.orientation,
114
+ block: props.block,
115
+ disabled: isDisabled.value
116
+ }));
117
+ /**
118
+ * Раскладка задаётся треками, а не классами: число сегментов известно только в
119
+ * рантайме. По вертикали колонка одна — сегменты одинаковой ширины по
120
+ * построению, и `block` решает лишь, занимать ли ширину контейнера.
121
+ */
122
+ const rootStyle = computed(() => {
123
+ const empty = props.options.length === 0;
124
+ const track = () => props.block && !isVertical.value ? "minmax(0,1fr)" : "minmax(0,max-content)";
125
+ return {
126
+ ...grSegmentedRootStyle({
127
+ variant: resolvedVariant.value,
128
+ size: resolvedSize.value,
129
+ orientation: props.orientation
130
+ }),
131
+ gridTemplateColumns: isVertical.value ? "minmax(0,1fr)" : empty ? "none" : props.options.map(track).join(" "),
132
+ ...isVertical.value ? { gridTemplateRows: empty ? "none" : props.options.map(track).join(" ") } : {}
133
+ };
134
+ });
135
+ const indicatorClassName = computed(() => grSegmentedIndicatorClass(resolvedVariant.value));
136
+ const resolvedName = computed(() => props.name ?? fallbackName);
137
+ const hasIndicator = computed(() => selectedIndex.value !== -1 && indicatorGeometry.value !== null);
138
+ const indicatorStyle = computed(() => {
139
+ const geometry = indicatorGeometry.value;
140
+ if (!geometry) return {
141
+ opacity: "0",
142
+ width: "0px",
143
+ height: "0px",
144
+ transitionDuration: `${indicatorDuration.value}ms`,
145
+ transform: "translate3d(0px, 0px, 0px)"
146
+ };
147
+ return {
148
+ opacity: indicatorReady.value ? "1" : "0",
149
+ width: `${geometry.width}px`,
150
+ height: `${geometry.height}px`,
151
+ transitionDuration: `${indicatorDuration.value}ms`,
152
+ transform: `translate3d(${geometry.x}px, ${geometry.y}px, 0)`
153
+ };
154
+ });
155
+ function getOptionKey(value) {
156
+ return String(value);
157
+ }
158
+ function resolveOptionDisabled(option) {
159
+ return isDisabled.value || Boolean(option.disabled);
160
+ }
161
+ /**
162
+ * Занятый сегмент не «недоступен», а работает: нативный `disabled` и
163
+ * `aria-disabled` ему не ставим — состояние несёт `aria-busy`. Но выбор он не
164
+ * принимает, поэтому блокировка считается отдельно от `disabled`.
165
+ */
166
+ function isOptionBusy(option) {
167
+ return Boolean(option.loading);
168
+ }
169
+ function isOptionBlocked(option) {
170
+ return resolveOptionDisabled(option) || isOptionBusy(option);
171
+ }
172
+ function isOptionSelected(option) {
173
+ return option.value === props.modelValue;
174
+ }
175
+ function isIconOnlyOption(option) {
176
+ return Boolean(option.icon) && !option.label;
177
+ }
178
+ function isFocusableOption(option, index) {
179
+ if (resolveOptionDisabled(option)) return false;
180
+ if (isOptionSelected(option)) return true;
181
+ if (selectedIndex.value !== -1) return false;
182
+ return enabledOptions.value[0]?.value === props.options[index]?.value;
183
+ }
184
+ function setItemRef(value, element) {
185
+ const key = getOptionKey(value);
186
+ if (!(element instanceof HTMLElement)) {
187
+ itemRefs.value.delete(key);
188
+ return;
189
+ }
190
+ itemRefs.value.set(key, element);
191
+ }
192
+ function isSameGeometry(left, right) {
193
+ if (left === right) return true;
194
+ if (!left || !right) return false;
195
+ return left.width === right.width && left.height === right.height && left.x === right.x && left.y === right.y;
196
+ }
197
+ function measureIndicator() {
198
+ const root = rootRef.value;
199
+ const option = selectedOption.value;
200
+ if (!root || !option) {
201
+ if (indicatorGeometry.value !== null) indicatorGeometry.value = null;
202
+ if (indicatorReady.value) indicatorReady.value = false;
203
+ return;
204
+ }
205
+ const selectedItem = itemRefs.value.get(getOptionKey(option.value));
206
+ if (!selectedItem) return;
207
+ const rootRect = root.getBoundingClientRect();
208
+ const itemRect = selectedItem.getBoundingClientRect();
209
+ const nextGeometry = {
210
+ width: Math.max(Math.round(itemRect.width), 0),
211
+ height: Math.max(Math.round(itemRect.height), 0),
212
+ x: Math.round(itemRect.left - rootRect.left),
213
+ y: Math.max(Math.round(itemRect.top - rootRect.top) - 1, 0)
214
+ };
215
+ if (!isSameGeometry(indicatorGeometry.value, nextGeometry)) indicatorGeometry.value = nextGeometry;
216
+ const nextReady = nextGeometry.width > 0 && nextGeometry.height > 0;
217
+ if (indicatorReady.value !== nextReady) indicatorReady.value = nextReady;
218
+ }
219
+ function refreshObserver() {
220
+ if (typeof ResizeObserver === "undefined") return;
221
+ const root = rootRef.value;
222
+ const option = selectedOption.value;
223
+ const selectedItem = option ? itemRefs.value.get(getOptionKey(option.value)) ?? null : null;
224
+ if (!resizeObserver) resizeObserver = new ResizeObserver(() => scheduleMeasure());
225
+ if (!root) {
226
+ resizeObserver.disconnect();
227
+ observedRoot = null;
228
+ observedItem = null;
229
+ return;
230
+ }
231
+ if (observedRoot === root && observedItem === selectedItem) return;
232
+ resizeObserver.disconnect();
233
+ resizeObserver.observe(root);
234
+ if (selectedItem) resizeObserver.observe(selectedItem);
235
+ observedRoot = root;
236
+ observedItem = selectedItem;
237
+ }
238
+ function scheduleMeasure() {
239
+ if (scheduled) return;
240
+ scheduled = true;
241
+ nextTick(() => {
242
+ scheduled = false;
243
+ measureIndicator();
244
+ refreshObserver();
245
+ });
246
+ }
247
+ function emitValue(option) {
248
+ if (isReadonly.value || isOptionBlocked(option) || option.value === props.modelValue) return;
249
+ emit("update:modelValue", option.value);
250
+ emit("change", option.value, option);
251
+ }
252
+ function getNextEnabledIndex(startIndex, direction) {
253
+ if (props.options.length === 0) return -1;
254
+ let cursor = startIndex;
255
+ for (let step = 0; step < props.options.length; step += 1) {
256
+ cursor = (cursor + direction + props.options.length) % props.options.length;
257
+ const option = props.options[cursor];
258
+ if (option && !isOptionBlocked(option)) return cursor;
259
+ }
260
+ return -1;
261
+ }
262
+ function focusIndex(index) {
263
+ const option = props.options[index];
264
+ if (!option) return;
265
+ itemRefs.value.get(getOptionKey(option.value))?.focus();
266
+ }
267
+ function onKeydown(event, index) {
268
+ if (isDisabled.value || isReadonly.value) return;
269
+ if (event.key === "ArrowRight" || event.key === "ArrowDown") {
270
+ event.preventDefault();
271
+ const nextIndex = getNextEnabledIndex(index, 1);
272
+ if (nextIndex === -1) return;
273
+ const option = props.options[nextIndex];
274
+ if (option) {
275
+ emitValue(option);
276
+ focusIndex(nextIndex);
277
+ }
278
+ return;
279
+ }
280
+ if (event.key === "ArrowLeft" || event.key === "ArrowUp") {
281
+ event.preventDefault();
282
+ const nextIndex = getNextEnabledIndex(index, -1);
283
+ if (nextIndex === -1) return;
284
+ const option = props.options[nextIndex];
285
+ if (option) {
286
+ emitValue(option);
287
+ focusIndex(nextIndex);
288
+ }
289
+ return;
290
+ }
291
+ if (event.key === "Home") {
292
+ event.preventDefault();
293
+ const firstOption = enabledOptions.value[0];
294
+ if (!firstOption) return;
295
+ emitValue(firstOption);
296
+ focusIndex(props.options.findIndex((option) => option.value === firstOption.value));
297
+ return;
298
+ }
299
+ if (event.key === "End") {
300
+ event.preventDefault();
301
+ const lastOption = enabledOptions.value.at(-1);
302
+ if (!lastOption) return;
303
+ emitValue(lastOption);
304
+ focusIndex(props.options.findIndex((option) => option.value === lastOption.value));
305
+ return;
306
+ }
307
+ if (event.key === " " || event.key === "Enter") {
308
+ event.preventDefault();
309
+ const option = props.options[index];
310
+ if (option) emitValue(option);
311
+ }
312
+ }
313
+ watch(() => props.modelValue, () => scheduleMeasure());
314
+ watch(() => props.options, () => scheduleMeasure(), { deep: true });
315
+ watch(resolvedVariant, () => scheduleMeasure());
316
+ watch(resolvedSize, () => scheduleMeasure());
317
+ watch(() => props.block, () => scheduleMeasure());
318
+ watch(() => props.orientation, () => scheduleMeasure());
319
+ onMounted(() => scheduleMeasure());
320
+ onBeforeUnmount(() => {
321
+ resizeObserver?.disconnect();
322
+ observedRoot = null;
323
+ observedItem = null;
324
+ });
325
+ return (_ctx, _cache) => {
326
+ return openBlock(), createElementBlock("div", {
327
+ id: fieldId.value,
328
+ ref_key: "rootRef",
329
+ ref: rootRef,
330
+ "data-gr-segmented": "",
331
+ "data-variant": unref(resolvedVariant),
332
+ role: "radiogroup",
333
+ "aria-orientation": __props.orientation,
334
+ "aria-label": __props.ariaLabel,
335
+ "aria-labelledby": labelledBy.value,
336
+ "aria-describedby": describedBy.value,
337
+ "aria-invalid": unref(isInvalid) ? "true" : void 0,
338
+ "aria-required": unref(isRequired) ? "true" : void 0,
339
+ "aria-readonly": unref(isReadonly) ? "true" : void 0,
340
+ "aria-disabled": unref(isDisabled) ? "true" : void 0,
341
+ class: normalizeClass(rootClassName.value),
342
+ style: normalizeStyle(rootStyle.value),
343
+ onFocusin: _cache[0] || (_cache[0] = (...args) => unref(onFocusIn) && unref(onFocusIn)(...args)),
344
+ onFocusout: _cache[1] || (_cache[1] = (...args) => unref(onFocusOut) && unref(onFocusOut)(...args))
345
+ }, [
346
+ selectedOption.value && !resolveOptionDisabled(selectedOption.value) ? (openBlock(), createElementBlock("input", {
347
+ key: 0,
348
+ type: "hidden",
349
+ name: resolvedName.value,
350
+ value: String(selectedOption.value.value)
351
+ }, null, 8, _hoisted_2)) : createCommentVNode("", true),
352
+ hasIndicator.value ? (openBlock(), createElementBlock("span", {
353
+ key: 1,
354
+ "data-gr-segmented-indicator": "",
355
+ "aria-hidden": "true",
356
+ class: normalizeClass(indicatorClassName.value),
357
+ style: normalizeStyle(indicatorStyle.value)
358
+ }, null, 6)) : createCommentVNode("", true),
359
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (option, index) => {
360
+ return openBlock(), createElementBlock("button", {
361
+ key: option.value,
362
+ ref_for: true,
363
+ ref: (element) => setItemRef(option.value, element),
364
+ "data-gr-segmented-item": "",
365
+ "data-value": String(option.value),
366
+ type: "button",
367
+ role: "radio",
368
+ "aria-label": option.ariaLabel,
369
+ "aria-checked": isOptionSelected(option) ? "true" : "false",
370
+ "aria-disabled": resolveOptionDisabled(option) ? "true" : void 0,
371
+ "aria-busy": isOptionBusy(option) ? "true" : void 0,
372
+ disabled: resolveOptionDisabled(option),
373
+ tabindex: isFocusableOption(option, index) ? 0 : -1,
374
+ class: normalizeClass(unref(grSegmentedItemClass)({
375
+ variant: unref(resolvedVariant),
376
+ selected: isOptionSelected(option),
377
+ disabled: resolveOptionDisabled(option),
378
+ iconOnly: isIconOnlyOption(option)
379
+ })),
380
+ onClick: ($event) => emitValue(option),
381
+ onKeydown: ($event) => onKeydown($event, index)
382
+ }, [renderSlot(_ctx.$slots, "default", {
383
+ option,
384
+ selected: isOptionSelected(option),
385
+ disabled: resolveOptionDisabled(option),
386
+ loading: isOptionBusy(option)
387
+ }, () => [isOptionBusy(option) ? (openBlock(), createBlock(unref(loader_circle_default), {
388
+ key: 0,
389
+ "data-gr-segmented-spinner": "",
390
+ "aria-hidden": "true",
391
+ class: normalizeClass(unref(grSegmentedItemSpinnerClass))
392
+ }, null, 8, ["class"])) : option.icon ? (openBlock(), createBlock(resolveDynamicComponent(option.icon), {
393
+ key: 1,
394
+ "aria-hidden": "true",
395
+ class: normalizeClass(unref(grSegmentedItemIconClass))
396
+ }, null, 8, ["class"])) : createCommentVNode("", true), option.label ? (openBlock(), createElementBlock("span", {
397
+ key: 2,
398
+ class: normalizeClass(unref(grSegmentedItemLabelClass))
399
+ }, toDisplayString(option.label), 3)) : createCommentVNode("", true)])], 42, _hoisted_3);
400
+ }), 128))
401
+ ], 46, _hoisted_1);
402
+ };
403
+ }
404
+ });
405
+ //#endregion
406
+ export { GrSegmented_default as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GrSegmented-BQIlH5KI.js","names":[],"sources":["../../../../src/components/GrSegmented/GrSegmented.vue","../../../../src/components/GrSegmented/GrSegmented.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed, nextTick, onBeforeUnmount, onMounted, ref, useId, watch } from 'vue'\n\nimport { useGrComponentProp, useGrComponentSize } from '../GrConfigProvider/context'\nimport { useGrFormFieldContext } from '../GrFormField/context'\nimport { useGrFormControl } from '../../composables/useGrFormControl'\nimport { useFocusWithin } from '../../composables/internal/useFocusWithin'\n\nimport type { ComponentPublicInstance } from 'vue'\nimport IconLoader from '~icons/lucide/loader-circle'\n\nimport {\n grSegmentedIndicatorClass,\n grSegmentedItemClass,\n grSegmentedItemIconClass,\n grSegmentedItemLabelClass,\n grSegmentedItemSpinnerClass,\n grSegmentedRootClass,\n grSegmentedRootStyle,\n type GrSegmentedOption,\n type GrSegmentedOrientation,\n type GrSegmentedSize,\n type GrSegmentedValue,\n type GrSegmentedVariant,\n} from './grSegmentedStyles'\n\ntype IndicatorGeometry = {\n width: number\n height: number\n x: number\n y: number\n}\n\n/**\n * Пропсы публичного GR-примитива «Segmented».\n */\nexport interface GrSegmentedProps {\n modelValue: GrSegmentedValue\n options: GrSegmentedOption[]\n variant?: GrSegmentedVariant\n size?: GrSegmentedSize\n /**\n * Направление ряда. Вертикаль — боковые фильтры; индикатор к ней готов по\n * построению, он двумерный.\n */\n orientation?: GrSegmentedOrientation\n /** Длительность анимации индикатора в мс. */\n indicatorDuration?: number\n /** Растягивать сегмент на всю ширину контейнера. */\n block?: boolean\n disabled?: boolean\n /** Только для чтения: выбор видно, но он не меняется. */\n readonly?: boolean\n /** Визуальное и ARIA-состояние ошибки. */\n invalid?: boolean\n /** Обязательное поле (`aria-required`). */\n required?: boolean\n /** Имя скрытых radio-inputs для интеграции с нативной формой. */\n name?: string\n ariaLabel?: string\n}\n\nexport interface GrSegmentedEmits {\n (e: 'update:modelValue', value: GrSegmentedValue): void\n (e: 'change', value: GrSegmentedValue, option: GrSegmentedOption): void\n (e: 'focus', event: FocusEvent): void\n (e: 'blur', event: FocusEvent): void\n}\n\nconst props = withDefaults(\n defineProps<GrSegmentedProps>(),\n {\n variant: undefined,\n size: undefined,\n orientation: 'horizontal',\n indicatorDuration: 300,\n block: false,\n disabled: false,\n readonly: false,\n invalid: false,\n required: false,\n name: undefined,\n ariaLabel: undefined,\n },\n)\n\n// Эффективный размер: локальный проп → `GrConfigProvider` → дефолт компонента.\nconst resolvedSize = useGrComponentSize(() => props.size, { component: 'GrSegmented' })\nconst resolvedVariant = useGrComponentProp('GrSegmented', 'variant', () => props.variant, 'pills')\n\nconst emit = defineEmits<GrSegmentedEmits>()\ndefineSlots<{\n /** Содержимое сегмента вместо подписи из `options`. */\n default?: (props: {\n option: GrSegmentedOption\n selected: boolean\n disabled: boolean\n loading: boolean\n }) => any\n}>()\n\n\n// `useId()` стабилен между сервером и клиентом, в отличие от `instance.uid`.\nconst fallbackName = `gr-segmented-${useId()}`\n\n// Контекст `GrFormField` + общий контракт форм-контрола.\nconst field = useGrFormFieldContext()\nconst fieldId = computed(() => field?.id.value)\nconst describedBy = computed(() => field?.describedById.value)\nconst labelledBy = computed(() => (props.ariaLabel ? undefined : field?.labelId.value))\nconst {\n disabled: isDisabled,\n invalid: isInvalid, required: isRequired, readonly: isReadonly } = useGrFormControl(() => props)\n\nconst rootRef = ref<HTMLElement | null>(null)\n\n// Фокус ходит между сегментами: без границы каждая стрелка давала бы\n// потребителю пару `blur` + `focus`.\nconst { onFocusIn, onFocusOut } = useFocusWithin(rootRef, {\n enter: event => emit('focus', event),\n leave: event => emit('blur', event),\n})\n\nfunction focus(): void {\n rootRef.value?.querySelector<HTMLElement>('[data-gr-segmented-item][tabindex=\"0\"]')?.focus()\n}\n\nfunction blur(): void {\n rootRef.value?.querySelector<HTMLElement>('[data-gr-segmented-item][tabindex=\"0\"]')?.blur()\n}\n\ndefineExpose({ focus, blur })\nconst itemRefs = ref(new Map<string, HTMLElement>())\nconst indicatorGeometry = ref<IndicatorGeometry | null>(null)\nconst indicatorReady = ref(false)\n\nlet resizeObserver: ResizeObserver | null = null\nlet observedRoot: HTMLElement | null = null\nlet observedItem: HTMLElement | null = null\nlet scheduled = false\n\nconst selectedIndex = computed(() => props.options.findIndex(option => option.value === props.modelValue))\nconst selectedOption = computed(() => props.options[selectedIndex.value] ?? null)\nconst enabledOptions = computed(() => props.options.filter(option => !resolveOptionDisabled(option)))\nconst indicatorDuration = computed(() => Math.max(0, Math.round(props.indicatorDuration)))\nconst isVertical = computed(() => props.orientation === 'vertical')\nconst rootClassName = computed(() => grSegmentedRootClass({\n variant: resolvedVariant.value,\n orientation: props.orientation,\n block: props.block,\n disabled: isDisabled.value,\n}))\n\n/**\n * Раскладка задаётся треками, а не классами: число сегментов известно только в\n * рантайме. По вертикали колонка одна — сегменты одинаковой ширины по\n * построению, и `block` решает лишь, занимать ли ширину контейнера.\n */\nconst rootStyle = computed<Record<string, string>>(() => {\n const empty = props.options.length === 0\n const track = () => props.block && !isVertical.value ? 'minmax(0,1fr)' : 'minmax(0,max-content)'\n\n return {\n ...grSegmentedRootStyle({\n variant: resolvedVariant.value,\n size: resolvedSize.value,\n orientation: props.orientation,\n }),\n gridTemplateColumns: isVertical.value\n ? 'minmax(0,1fr)'\n : empty ? 'none' : props.options.map(track).join(' '),\n ...(isVertical.value\n ? { gridTemplateRows: empty ? 'none' : props.options.map(track).join(' ') }\n : {}),\n }\n})\nconst indicatorClassName = computed(() => grSegmentedIndicatorClass(resolvedVariant.value))\nconst resolvedName = computed(() => props.name ?? fallbackName)\nconst hasIndicator = computed(() => selectedIndex.value !== -1 && indicatorGeometry.value !== null)\n\nconst indicatorStyle = computed<Record<string, string>>(() => {\n const geometry = indicatorGeometry.value\n if (!geometry) {\n return {\n opacity: '0',\n width: '0px',\n height: '0px',\n transitionDuration: `${indicatorDuration.value}ms`,\n transform: 'translate3d(0px, 0px, 0px)',\n }\n }\n\n return {\n opacity: indicatorReady.value ? '1' : '0',\n width: `${geometry.width}px`,\n height: `${geometry.height}px`,\n transitionDuration: `${indicatorDuration.value}ms`,\n transform: `translate3d(${geometry.x}px, ${geometry.y}px, 0)`,\n }\n})\n\nfunction getOptionKey(value: GrSegmentedValue): string {\n return String(value)\n}\n\nfunction resolveOptionDisabled(option: GrSegmentedOption): boolean {\n return isDisabled.value || Boolean(option.disabled)\n}\n\n/**\n * Занятый сегмент не «недоступен», а работает: нативный `disabled` и\n * `aria-disabled` ему не ставим — состояние несёт `aria-busy`. Но выбор он не\n * принимает, поэтому блокировка считается отдельно от `disabled`.\n */\nfunction isOptionBusy(option: GrSegmentedOption): boolean {\n return Boolean(option.loading)\n}\n\nfunction isOptionBlocked(option: GrSegmentedOption): boolean {\n return resolveOptionDisabled(option) || isOptionBusy(option)\n}\n\nfunction isOptionSelected(option: GrSegmentedOption): boolean {\n return option.value === props.modelValue\n}\n\nfunction isIconOnlyOption(option: GrSegmentedOption): boolean {\n return Boolean(option.icon) && !option.label\n}\n\nfunction isFocusableOption(option: GrSegmentedOption, index: number): boolean {\n if (resolveOptionDisabled(option)) {\n return false\n }\n\n if (isOptionSelected(option)) {\n return true\n }\n\n if (selectedIndex.value !== -1) {\n return false\n }\n\n return enabledOptions.value[0]?.value === props.options[index]?.value\n}\n\nfunction setItemRef(value: GrSegmentedValue, element: Element | ComponentPublicInstance | null): void {\n const key = getOptionKey(value)\n\n if (!(element instanceof HTMLElement)) {\n itemRefs.value.delete(key)\n return\n }\n\n itemRefs.value.set(key, element)\n}\n\nfunction isSameGeometry(left: IndicatorGeometry | null, right: IndicatorGeometry | null): boolean {\n if (left === right) {\n return true\n }\n\n if (!left || !right) {\n return false\n }\n\n return left.width === right.width\n && left.height === right.height\n && left.x === right.x\n && left.y === right.y\n}\n\nfunction measureIndicator(): void {\n const root = rootRef.value\n const option = selectedOption.value\n if (!root || !option) {\n if (indicatorGeometry.value !== null)\n indicatorGeometry.value = null\n\n if (indicatorReady.value)\n indicatorReady.value = false\n\n return\n }\n\n const selectedItem = itemRefs.value.get(getOptionKey(option.value))\n if (!selectedItem) {\n return\n }\n\n const rootRect = root.getBoundingClientRect()\n const itemRect = selectedItem.getBoundingClientRect()\n\n const nextGeometry = {\n width: Math.max(Math.round(itemRect.width), 0),\n height: Math.max(Math.round(itemRect.height), 0),\n x: Math.round(itemRect.left - rootRect.left),\n y: Math.max(Math.round(itemRect.top - rootRect.top) - 1, 0),\n } satisfies IndicatorGeometry\n\n if (!isSameGeometry(indicatorGeometry.value, nextGeometry)) {\n indicatorGeometry.value = nextGeometry\n }\n\n const nextReady = nextGeometry.width > 0 && nextGeometry.height > 0\n if (indicatorReady.value !== nextReady) {\n indicatorReady.value = nextReady\n }\n}\n\nfunction refreshObserver(): void {\n if (typeof ResizeObserver === 'undefined') {\n return\n }\n\n const root = rootRef.value\n const option = selectedOption.value\n const selectedItem = option\n ? itemRefs.value.get(getOptionKey(option.value)) ?? null\n : null\n\n if (!resizeObserver) {\n resizeObserver = new ResizeObserver(() => scheduleMeasure())\n }\n\n if (!root) {\n resizeObserver.disconnect()\n observedRoot = null\n observedItem = null\n return\n }\n\n if (observedRoot === root && observedItem === selectedItem) {\n return\n }\n\n resizeObserver.disconnect()\n resizeObserver.observe(root)\n\n if (selectedItem) {\n resizeObserver.observe(selectedItem)\n }\n\n observedRoot = root\n observedItem = selectedItem\n}\n\nfunction scheduleMeasure(): void {\n if (scheduled) {\n return\n }\n\n scheduled = true\n void nextTick(() => {\n scheduled = false\n measureIndicator()\n refreshObserver()\n })\n}\n\nfunction emitValue(option: GrSegmentedOption): void {\n // Один guard на все пути: проверяй `readonly` только клавиатура, и клик по\n // сегменту менял бы значение вопреки заявленному контракту.\n if (isReadonly.value || isOptionBlocked(option) || option.value === props.modelValue) {\n return\n }\n\n emit('update:modelValue', option.value)\n emit('change', option.value, option)\n}\n\nfunction getNextEnabledIndex(startIndex: number, direction: 1 | -1): number {\n if (props.options.length === 0) {\n return -1\n }\n\n let cursor = startIndex\n for (let step = 0; step < props.options.length; step += 1) {\n cursor = (cursor + direction + props.options.length) % props.options.length\n const option = props.options[cursor]\n if (option && !isOptionBlocked(option)) {\n return cursor\n }\n }\n\n return -1\n}\n\nfunction focusIndex(index: number): void {\n const option = props.options[index]\n if (!option) {\n return\n }\n\n itemRefs.value.get(getOptionKey(option.value))?.focus()\n}\n\nfunction onKeydown(event: KeyboardEvent, index: number): void {\n if (isDisabled.value || isReadonly.value) {\n return\n }\n\n if (event.key === 'ArrowRight' || event.key === 'ArrowDown') {\n event.preventDefault()\n const nextIndex = getNextEnabledIndex(index, 1)\n if (nextIndex === -1) {\n return\n }\n\n const option = props.options[nextIndex]\n if (option) {\n emitValue(option)\n focusIndex(nextIndex)\n }\n return\n }\n\n if (event.key === 'ArrowLeft' || event.key === 'ArrowUp') {\n event.preventDefault()\n const nextIndex = getNextEnabledIndex(index, -1)\n if (nextIndex === -1) {\n return\n }\n\n const option = props.options[nextIndex]\n if (option) {\n emitValue(option)\n focusIndex(nextIndex)\n }\n return\n }\n\n if (event.key === 'Home') {\n event.preventDefault()\n const firstOption = enabledOptions.value[0]\n if (!firstOption) {\n return\n }\n\n emitValue(firstOption)\n focusIndex(props.options.findIndex(option => option.value === firstOption.value))\n return\n }\n\n if (event.key === 'End') {\n event.preventDefault()\n const lastOption = enabledOptions.value.at(-1)\n if (!lastOption) {\n return\n }\n\n emitValue(lastOption)\n focusIndex(props.options.findIndex(option => option.value === lastOption.value))\n return\n }\n\n if (event.key === ' ' || event.key === 'Enter') {\n event.preventDefault()\n const option = props.options[index]\n if (option) {\n emitValue(option)\n }\n }\n}\n\nwatch(() => props.modelValue, () => scheduleMeasure())\nwatch(() => props.options, () => scheduleMeasure(), { deep: true })\nwatch(resolvedVariant, () => scheduleMeasure())\nwatch(resolvedSize, () => scheduleMeasure())\nwatch(() => props.block, () => scheduleMeasure())\n// Смена ориентации переставляет сегменты: без пересчёта индикатор остался бы в\n// координатах прежней раскладки.\nwatch(() => props.orientation, () => scheduleMeasure())\n\nonMounted(() => scheduleMeasure())\nonBeforeUnmount(() => {\n resizeObserver?.disconnect()\n observedRoot = null\n observedItem = null\n})\n</script>\n\n<template>\n <div\n :id=\"fieldId\"\n ref=\"rootRef\"\n data-gr-segmented\n :data-variant=\"resolvedVariant\"\n role=\"radiogroup\"\n :aria-orientation=\"orientation\"\n :aria-label=\"ariaLabel\"\n :aria-labelledby=\"labelledBy\"\n :aria-describedby=\"describedBy\"\n :aria-invalid=\"isInvalid ? 'true' : undefined\"\n :aria-required=\"isRequired ? 'true' : undefined\"\n :aria-readonly=\"isReadonly ? 'true' : undefined\"\n :aria-disabled=\"isDisabled ? 'true' : undefined\"\n :class=\"rootClassName\"\n :style=\"rootStyle\"\n @focusin=\"onFocusIn\"\n @focusout=\"onFocusOut\"\n >\n <!-- Значение для нативной формы уходит одним скрытым полем рядом с\n сегментами, а не вложенным в каждый `role=\"radio\"`: роль объявляет своих\n потомков презентационными, и вложенный интерактивный контрол ломает\n виджет для скринридеров (axe: `nested-interactive`). Скрытое поле не\n фокусируется и интерактивным не считается. -->\n <input\n v-if=\"selectedOption && !resolveOptionDisabled(selectedOption)\"\n type=\"hidden\"\n :name=\"resolvedName\"\n :value=\"String(selectedOption.value)\"\n >\n\n <span\n v-if=\"hasIndicator\"\n data-gr-segmented-indicator\n aria-hidden=\"true\"\n :class=\"indicatorClassName\"\n :style=\"indicatorStyle\"\n />\n\n <button\n v-for=\"(option, index) in options\"\n :key=\"option.value\"\n :ref=\"element => setItemRef(option.value, element)\"\n data-gr-segmented-item\n :data-value=\"String(option.value)\"\n type=\"button\"\n role=\"radio\"\n :aria-label=\"option.ariaLabel\"\n :aria-checked=\"isOptionSelected(option) ? 'true' : 'false'\"\n :aria-disabled=\"resolveOptionDisabled(option) ? 'true' : undefined\"\n :aria-busy=\"isOptionBusy(option) ? 'true' : undefined\"\n :disabled=\"resolveOptionDisabled(option)\"\n :tabindex=\"isFocusableOption(option, index) ? 0 : -1\"\n :class=\"grSegmentedItemClass({\n variant: resolvedVariant,\n selected: isOptionSelected(option),\n disabled: resolveOptionDisabled(option),\n iconOnly: isIconOnlyOption(option),\n })\"\n @click=\"emitValue(option)\"\n @keydown=\"onKeydown($event, index)\"\n >\n <slot\n :option=\"option\"\n :selected=\"isOptionSelected(option)\"\n :disabled=\"resolveOptionDisabled(option)\"\n :loading=\"isOptionBusy(option)\"\n >\n <!-- Спиннер занимает место иконки: две крутилки рядом читались бы как ошибка. -->\n <IconLoader\n v-if=\"isOptionBusy(option)\"\n data-gr-segmented-spinner\n aria-hidden=\"true\"\n :class=\"grSegmentedItemSpinnerClass\"\n />\n <component\n :is=\"option.icon\"\n v-else-if=\"option.icon\"\n aria-hidden=\"true\"\n :class=\"grSegmentedItemIconClass\"\n />\n <span v-if=\"option.label\" :class=\"grSegmentedItemLabelClass\">\n {{ option.label }}\n </span>\n </slot>\n </button>\n </div>\n</template>","<script setup lang=\"ts\">\nimport { computed, nextTick, onBeforeUnmount, onMounted, ref, useId, watch } from 'vue'\n\nimport { useGrComponentProp, useGrComponentSize } from '../GrConfigProvider/context'\nimport { useGrFormFieldContext } from '../GrFormField/context'\nimport { useGrFormControl } from '../../composables/useGrFormControl'\nimport { useFocusWithin } from '../../composables/internal/useFocusWithin'\n\nimport type { ComponentPublicInstance } from 'vue'\nimport IconLoader from '~icons/lucide/loader-circle'\n\nimport {\n grSegmentedIndicatorClass,\n grSegmentedItemClass,\n grSegmentedItemIconClass,\n grSegmentedItemLabelClass,\n grSegmentedItemSpinnerClass,\n grSegmentedRootClass,\n grSegmentedRootStyle,\n type GrSegmentedOption,\n type GrSegmentedOrientation,\n type GrSegmentedSize,\n type GrSegmentedValue,\n type GrSegmentedVariant,\n} from './grSegmentedStyles'\n\ntype IndicatorGeometry = {\n width: number\n height: number\n x: number\n y: number\n}\n\n/**\n * Пропсы публичного GR-примитива «Segmented».\n */\nexport interface GrSegmentedProps {\n modelValue: GrSegmentedValue\n options: GrSegmentedOption[]\n variant?: GrSegmentedVariant\n size?: GrSegmentedSize\n /**\n * Направление ряда. Вертикаль — боковые фильтры; индикатор к ней готов по\n * построению, он двумерный.\n */\n orientation?: GrSegmentedOrientation\n /** Длительность анимации индикатора в мс. */\n indicatorDuration?: number\n /** Растягивать сегмент на всю ширину контейнера. */\n block?: boolean\n disabled?: boolean\n /** Только для чтения: выбор видно, но он не меняется. */\n readonly?: boolean\n /** Визуальное и ARIA-состояние ошибки. */\n invalid?: boolean\n /** Обязательное поле (`aria-required`). */\n required?: boolean\n /** Имя скрытых radio-inputs для интеграции с нативной формой. */\n name?: string\n ariaLabel?: string\n}\n\nexport interface GrSegmentedEmits {\n (e: 'update:modelValue', value: GrSegmentedValue): void\n (e: 'change', value: GrSegmentedValue, option: GrSegmentedOption): void\n (e: 'focus', event: FocusEvent): void\n (e: 'blur', event: FocusEvent): void\n}\n\nconst props = withDefaults(\n defineProps<GrSegmentedProps>(),\n {\n variant: undefined,\n size: undefined,\n orientation: 'horizontal',\n indicatorDuration: 300,\n block: false,\n disabled: false,\n readonly: false,\n invalid: false,\n required: false,\n name: undefined,\n ariaLabel: undefined,\n },\n)\n\n// Эффективный размер: локальный проп → `GrConfigProvider` → дефолт компонента.\nconst resolvedSize = useGrComponentSize(() => props.size, { component: 'GrSegmented' })\nconst resolvedVariant = useGrComponentProp('GrSegmented', 'variant', () => props.variant, 'pills')\n\nconst emit = defineEmits<GrSegmentedEmits>()\ndefineSlots<{\n /** Содержимое сегмента вместо подписи из `options`. */\n default?: (props: {\n option: GrSegmentedOption\n selected: boolean\n disabled: boolean\n loading: boolean\n }) => any\n}>()\n\n\n// `useId()` стабилен между сервером и клиентом, в отличие от `instance.uid`.\nconst fallbackName = `gr-segmented-${useId()}`\n\n// Контекст `GrFormField` + общий контракт форм-контрола.\nconst field = useGrFormFieldContext()\nconst fieldId = computed(() => field?.id.value)\nconst describedBy = computed(() => field?.describedById.value)\nconst labelledBy = computed(() => (props.ariaLabel ? undefined : field?.labelId.value))\nconst {\n disabled: isDisabled,\n invalid: isInvalid, required: isRequired, readonly: isReadonly } = useGrFormControl(() => props)\n\nconst rootRef = ref<HTMLElement | null>(null)\n\n// Фокус ходит между сегментами: без границы каждая стрелка давала бы\n// потребителю пару `blur` + `focus`.\nconst { onFocusIn, onFocusOut } = useFocusWithin(rootRef, {\n enter: event => emit('focus', event),\n leave: event => emit('blur', event),\n})\n\nfunction focus(): void {\n rootRef.value?.querySelector<HTMLElement>('[data-gr-segmented-item][tabindex=\"0\"]')?.focus()\n}\n\nfunction blur(): void {\n rootRef.value?.querySelector<HTMLElement>('[data-gr-segmented-item][tabindex=\"0\"]')?.blur()\n}\n\ndefineExpose({ focus, blur })\nconst itemRefs = ref(new Map<string, HTMLElement>())\nconst indicatorGeometry = ref<IndicatorGeometry | null>(null)\nconst indicatorReady = ref(false)\n\nlet resizeObserver: ResizeObserver | null = null\nlet observedRoot: HTMLElement | null = null\nlet observedItem: HTMLElement | null = null\nlet scheduled = false\n\nconst selectedIndex = computed(() => props.options.findIndex(option => option.value === props.modelValue))\nconst selectedOption = computed(() => props.options[selectedIndex.value] ?? null)\nconst enabledOptions = computed(() => props.options.filter(option => !resolveOptionDisabled(option)))\nconst indicatorDuration = computed(() => Math.max(0, Math.round(props.indicatorDuration)))\nconst isVertical = computed(() => props.orientation === 'vertical')\nconst rootClassName = computed(() => grSegmentedRootClass({\n variant: resolvedVariant.value,\n orientation: props.orientation,\n block: props.block,\n disabled: isDisabled.value,\n}))\n\n/**\n * Раскладка задаётся треками, а не классами: число сегментов известно только в\n * рантайме. По вертикали колонка одна — сегменты одинаковой ширины по\n * построению, и `block` решает лишь, занимать ли ширину контейнера.\n */\nconst rootStyle = computed<Record<string, string>>(() => {\n const empty = props.options.length === 0\n const track = () => props.block && !isVertical.value ? 'minmax(0,1fr)' : 'minmax(0,max-content)'\n\n return {\n ...grSegmentedRootStyle({\n variant: resolvedVariant.value,\n size: resolvedSize.value,\n orientation: props.orientation,\n }),\n gridTemplateColumns: isVertical.value\n ? 'minmax(0,1fr)'\n : empty ? 'none' : props.options.map(track).join(' '),\n ...(isVertical.value\n ? { gridTemplateRows: empty ? 'none' : props.options.map(track).join(' ') }\n : {}),\n }\n})\nconst indicatorClassName = computed(() => grSegmentedIndicatorClass(resolvedVariant.value))\nconst resolvedName = computed(() => props.name ?? fallbackName)\nconst hasIndicator = computed(() => selectedIndex.value !== -1 && indicatorGeometry.value !== null)\n\nconst indicatorStyle = computed<Record<string, string>>(() => {\n const geometry = indicatorGeometry.value\n if (!geometry) {\n return {\n opacity: '0',\n width: '0px',\n height: '0px',\n transitionDuration: `${indicatorDuration.value}ms`,\n transform: 'translate3d(0px, 0px, 0px)',\n }\n }\n\n return {\n opacity: indicatorReady.value ? '1' : '0',\n width: `${geometry.width}px`,\n height: `${geometry.height}px`,\n transitionDuration: `${indicatorDuration.value}ms`,\n transform: `translate3d(${geometry.x}px, ${geometry.y}px, 0)`,\n }\n})\n\nfunction getOptionKey(value: GrSegmentedValue): string {\n return String(value)\n}\n\nfunction resolveOptionDisabled(option: GrSegmentedOption): boolean {\n return isDisabled.value || Boolean(option.disabled)\n}\n\n/**\n * Занятый сегмент не «недоступен», а работает: нативный `disabled` и\n * `aria-disabled` ему не ставим — состояние несёт `aria-busy`. Но выбор он не\n * принимает, поэтому блокировка считается отдельно от `disabled`.\n */\nfunction isOptionBusy(option: GrSegmentedOption): boolean {\n return Boolean(option.loading)\n}\n\nfunction isOptionBlocked(option: GrSegmentedOption): boolean {\n return resolveOptionDisabled(option) || isOptionBusy(option)\n}\n\nfunction isOptionSelected(option: GrSegmentedOption): boolean {\n return option.value === props.modelValue\n}\n\nfunction isIconOnlyOption(option: GrSegmentedOption): boolean {\n return Boolean(option.icon) && !option.label\n}\n\nfunction isFocusableOption(option: GrSegmentedOption, index: number): boolean {\n if (resolveOptionDisabled(option)) {\n return false\n }\n\n if (isOptionSelected(option)) {\n return true\n }\n\n if (selectedIndex.value !== -1) {\n return false\n }\n\n return enabledOptions.value[0]?.value === props.options[index]?.value\n}\n\nfunction setItemRef(value: GrSegmentedValue, element: Element | ComponentPublicInstance | null): void {\n const key = getOptionKey(value)\n\n if (!(element instanceof HTMLElement)) {\n itemRefs.value.delete(key)\n return\n }\n\n itemRefs.value.set(key, element)\n}\n\nfunction isSameGeometry(left: IndicatorGeometry | null, right: IndicatorGeometry | null): boolean {\n if (left === right) {\n return true\n }\n\n if (!left || !right) {\n return false\n }\n\n return left.width === right.width\n && left.height === right.height\n && left.x === right.x\n && left.y === right.y\n}\n\nfunction measureIndicator(): void {\n const root = rootRef.value\n const option = selectedOption.value\n if (!root || !option) {\n if (indicatorGeometry.value !== null)\n indicatorGeometry.value = null\n\n if (indicatorReady.value)\n indicatorReady.value = false\n\n return\n }\n\n const selectedItem = itemRefs.value.get(getOptionKey(option.value))\n if (!selectedItem) {\n return\n }\n\n const rootRect = root.getBoundingClientRect()\n const itemRect = selectedItem.getBoundingClientRect()\n\n const nextGeometry = {\n width: Math.max(Math.round(itemRect.width), 0),\n height: Math.max(Math.round(itemRect.height), 0),\n x: Math.round(itemRect.left - rootRect.left),\n y: Math.max(Math.round(itemRect.top - rootRect.top) - 1, 0),\n } satisfies IndicatorGeometry\n\n if (!isSameGeometry(indicatorGeometry.value, nextGeometry)) {\n indicatorGeometry.value = nextGeometry\n }\n\n const nextReady = nextGeometry.width > 0 && nextGeometry.height > 0\n if (indicatorReady.value !== nextReady) {\n indicatorReady.value = nextReady\n }\n}\n\nfunction refreshObserver(): void {\n if (typeof ResizeObserver === 'undefined') {\n return\n }\n\n const root = rootRef.value\n const option = selectedOption.value\n const selectedItem = option\n ? itemRefs.value.get(getOptionKey(option.value)) ?? null\n : null\n\n if (!resizeObserver) {\n resizeObserver = new ResizeObserver(() => scheduleMeasure())\n }\n\n if (!root) {\n resizeObserver.disconnect()\n observedRoot = null\n observedItem = null\n return\n }\n\n if (observedRoot === root && observedItem === selectedItem) {\n return\n }\n\n resizeObserver.disconnect()\n resizeObserver.observe(root)\n\n if (selectedItem) {\n resizeObserver.observe(selectedItem)\n }\n\n observedRoot = root\n observedItem = selectedItem\n}\n\nfunction scheduleMeasure(): void {\n if (scheduled) {\n return\n }\n\n scheduled = true\n void nextTick(() => {\n scheduled = false\n measureIndicator()\n refreshObserver()\n })\n}\n\nfunction emitValue(option: GrSegmentedOption): void {\n // Один guard на все пути: проверяй `readonly` только клавиатура, и клик по\n // сегменту менял бы значение вопреки заявленному контракту.\n if (isReadonly.value || isOptionBlocked(option) || option.value === props.modelValue) {\n return\n }\n\n emit('update:modelValue', option.value)\n emit('change', option.value, option)\n}\n\nfunction getNextEnabledIndex(startIndex: number, direction: 1 | -1): number {\n if (props.options.length === 0) {\n return -1\n }\n\n let cursor = startIndex\n for (let step = 0; step < props.options.length; step += 1) {\n cursor = (cursor + direction + props.options.length) % props.options.length\n const option = props.options[cursor]\n if (option && !isOptionBlocked(option)) {\n return cursor\n }\n }\n\n return -1\n}\n\nfunction focusIndex(index: number): void {\n const option = props.options[index]\n if (!option) {\n return\n }\n\n itemRefs.value.get(getOptionKey(option.value))?.focus()\n}\n\nfunction onKeydown(event: KeyboardEvent, index: number): void {\n if (isDisabled.value || isReadonly.value) {\n return\n }\n\n if (event.key === 'ArrowRight' || event.key === 'ArrowDown') {\n event.preventDefault()\n const nextIndex = getNextEnabledIndex(index, 1)\n if (nextIndex === -1) {\n return\n }\n\n const option = props.options[nextIndex]\n if (option) {\n emitValue(option)\n focusIndex(nextIndex)\n }\n return\n }\n\n if (event.key === 'ArrowLeft' || event.key === 'ArrowUp') {\n event.preventDefault()\n const nextIndex = getNextEnabledIndex(index, -1)\n if (nextIndex === -1) {\n return\n }\n\n const option = props.options[nextIndex]\n if (option) {\n emitValue(option)\n focusIndex(nextIndex)\n }\n return\n }\n\n if (event.key === 'Home') {\n event.preventDefault()\n const firstOption = enabledOptions.value[0]\n if (!firstOption) {\n return\n }\n\n emitValue(firstOption)\n focusIndex(props.options.findIndex(option => option.value === firstOption.value))\n return\n }\n\n if (event.key === 'End') {\n event.preventDefault()\n const lastOption = enabledOptions.value.at(-1)\n if (!lastOption) {\n return\n }\n\n emitValue(lastOption)\n focusIndex(props.options.findIndex(option => option.value === lastOption.value))\n return\n }\n\n if (event.key === ' ' || event.key === 'Enter') {\n event.preventDefault()\n const option = props.options[index]\n if (option) {\n emitValue(option)\n }\n }\n}\n\nwatch(() => props.modelValue, () => scheduleMeasure())\nwatch(() => props.options, () => scheduleMeasure(), { deep: true })\nwatch(resolvedVariant, () => scheduleMeasure())\nwatch(resolvedSize, () => scheduleMeasure())\nwatch(() => props.block, () => scheduleMeasure())\n// Смена ориентации переставляет сегменты: без пересчёта индикатор остался бы в\n// координатах прежней раскладки.\nwatch(() => props.orientation, () => scheduleMeasure())\n\nonMounted(() => scheduleMeasure())\nonBeforeUnmount(() => {\n resizeObserver?.disconnect()\n observedRoot = null\n observedItem = null\n})\n</script>\n\n<template>\n <div\n :id=\"fieldId\"\n ref=\"rootRef\"\n data-gr-segmented\n :data-variant=\"resolvedVariant\"\n role=\"radiogroup\"\n :aria-orientation=\"orientation\"\n :aria-label=\"ariaLabel\"\n :aria-labelledby=\"labelledBy\"\n :aria-describedby=\"describedBy\"\n :aria-invalid=\"isInvalid ? 'true' : undefined\"\n :aria-required=\"isRequired ? 'true' : undefined\"\n :aria-readonly=\"isReadonly ? 'true' : undefined\"\n :aria-disabled=\"isDisabled ? 'true' : undefined\"\n :class=\"rootClassName\"\n :style=\"rootStyle\"\n @focusin=\"onFocusIn\"\n @focusout=\"onFocusOut\"\n >\n <!-- Значение для нативной формы уходит одним скрытым полем рядом с\n сегментами, а не вложенным в каждый `role=\"radio\"`: роль объявляет своих\n потомков презентационными, и вложенный интерактивный контрол ломает\n виджет для скринридеров (axe: `nested-interactive`). Скрытое поле не\n фокусируется и интерактивным не считается. -->\n <input\n v-if=\"selectedOption && !resolveOptionDisabled(selectedOption)\"\n type=\"hidden\"\n :name=\"resolvedName\"\n :value=\"String(selectedOption.value)\"\n >\n\n <span\n v-if=\"hasIndicator\"\n data-gr-segmented-indicator\n aria-hidden=\"true\"\n :class=\"indicatorClassName\"\n :style=\"indicatorStyle\"\n />\n\n <button\n v-for=\"(option, index) in options\"\n :key=\"option.value\"\n :ref=\"element => setItemRef(option.value, element)\"\n data-gr-segmented-item\n :data-value=\"String(option.value)\"\n type=\"button\"\n role=\"radio\"\n :aria-label=\"option.ariaLabel\"\n :aria-checked=\"isOptionSelected(option) ? 'true' : 'false'\"\n :aria-disabled=\"resolveOptionDisabled(option) ? 'true' : undefined\"\n :aria-busy=\"isOptionBusy(option) ? 'true' : undefined\"\n :disabled=\"resolveOptionDisabled(option)\"\n :tabindex=\"isFocusableOption(option, index) ? 0 : -1\"\n :class=\"grSegmentedItemClass({\n variant: resolvedVariant,\n selected: isOptionSelected(option),\n disabled: resolveOptionDisabled(option),\n iconOnly: isIconOnlyOption(option),\n })\"\n @click=\"emitValue(option)\"\n @keydown=\"onKeydown($event, index)\"\n >\n <slot\n :option=\"option\"\n :selected=\"isOptionSelected(option)\"\n :disabled=\"resolveOptionDisabled(option)\"\n :loading=\"isOptionBusy(option)\"\n >\n <!-- Спиннер занимает место иконки: две крутилки рядом читались бы как ошибка. -->\n <IconLoader\n v-if=\"isOptionBusy(option)\"\n data-gr-segmented-spinner\n aria-hidden=\"true\"\n :class=\"grSegmentedItemSpinnerClass\"\n />\n <component\n :is=\"option.icon\"\n v-else-if=\"option.icon\"\n aria-hidden=\"true\"\n :class=\"grSegmentedItemIconClass\"\n />\n <span v-if=\"option.label\" :class=\"grSegmentedItemLabelClass\">\n {{ option.label }}\n </span>\n </slot>\n </button>\n </div>\n</template>"],"mappings":"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"}
@@ -1,3 +1,3 @@
1
- import { n as grSegmentedSafelist, t as grSegmentedConfig } from "../../chunks/config-BMKNHFMD2.js";
2
- import { t as GrSegmented_default } from "./chunks/GrSegmented-CTd3n4PA.js";
3
- export { GrSegmented_default as GrSegmented, GrSegmented_default as default, grSegmentedConfig, grSegmentedSafelist };
1
+ import { n as grSegmentedSafelist, r as GR_SEGMENTED_ORIENTATIONS, t as grSegmentedConfig } from "../../chunks/config-B-iNaGdw.js";
2
+ import { t as GrSegmented_default } from "./chunks/GrSegmented-BQIlH5KI.js";
3
+ export { GR_SEGMENTED_ORIENTATIONS, GrSegmented_default as GrSegmented, GrSegmented_default as default, grSegmentedConfig, grSegmentedSafelist };