@feugene/granularity 0.11.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (527) hide show
  1. package/dist/GrBadge.css +1 -1
  2. package/dist/GrFormFile.css +1 -1
  3. package/dist/GrToaster.css +1 -1
  4. package/dist/GrTree.css +1 -1
  5. package/dist/chunks/{config-ClhKPJvg.js → config-23WtUiAL.js} +1 -1
  6. package/dist/chunks/config-23WtUiAL.js.map +1 -0
  7. package/dist/chunks/config-8Pcutu1j.js.map +1 -0
  8. package/dist/chunks/{config-1uSYl98Y.js → config-B0i5r8kH.js} +1 -1
  9. package/dist/chunks/config-B0i5r8kH.js.map +1 -0
  10. package/dist/chunks/{config-BOlr7qw7.js → config-B5Rknzkd.js} +33 -39
  11. package/dist/chunks/config-B5Rknzkd.js.map +1 -0
  12. package/dist/chunks/config-B7W9VlZ7.js +5 -0
  13. package/dist/chunks/config-B7W9VlZ7.js.map +1 -0
  14. package/dist/chunks/config-BDSHekVC.js +84 -0
  15. package/dist/chunks/config-BDSHekVC.js.map +1 -0
  16. package/dist/chunks/config-BLHqZhy-.js.map +1 -0
  17. package/dist/chunks/{config-eYLZYOUS2.js → config-BMKNHFMD2.js} +15 -15
  18. package/dist/chunks/config-BMKNHFMD2.js.map +1 -0
  19. package/dist/chunks/config-BUHuGBik2.js.map +1 -0
  20. package/dist/chunks/config-BWiPnygb.js +5 -0
  21. package/dist/chunks/config-BWiPnygb.js.map +1 -0
  22. package/dist/chunks/config-BX1JTrkV.js.map +1 -0
  23. package/dist/chunks/config-BZFUM3Ky.js +75 -0
  24. package/dist/chunks/config-BZFUM3Ky.js.map +1 -0
  25. package/dist/chunks/{config-DUcu1D68.js → config-BmNT0Fmx.js} +2 -2
  26. package/dist/chunks/config-BmNT0Fmx.js.map +1 -0
  27. package/dist/chunks/{config-C49QUoJL.js → config-BvVq2gbd.js} +1 -1
  28. package/dist/chunks/{config-C49QUoJL.js.map → config-BvVq2gbd.js.map} +1 -1
  29. package/dist/chunks/{config-CrG1XiE7.js → config-C4hJxXDa.js} +5 -5
  30. package/dist/chunks/config-C4hJxXDa.js.map +1 -0
  31. package/dist/chunks/config-CB4RVt9M.js +66 -0
  32. package/dist/chunks/config-CB4RVt9M.js.map +1 -0
  33. package/dist/chunks/config-COE_vZ-l.js +52 -0
  34. package/dist/chunks/config-COE_vZ-l.js.map +1 -0
  35. package/dist/chunks/{config-CziwTDDL.js → config-CPdmr7tC.js} +1 -1
  36. package/dist/chunks/{config-CziwTDDL.js.map → config-CPdmr7tC.js.map} +1 -1
  37. package/dist/chunks/{config-BIRO0vDJ2.js → config-DPDFYzIa.js} +2 -2
  38. package/dist/chunks/config-DPDFYzIa.js.map +1 -0
  39. package/dist/chunks/{config-DnvPqu4g.js → config-DRKXJ9PW2.js} +1 -1
  40. package/dist/chunks/config-DRKXJ9PW2.js.map +1 -0
  41. package/dist/chunks/config-DToHb81g.js +45 -0
  42. package/dist/chunks/config-DToHb81g.js.map +1 -0
  43. package/dist/chunks/{config-jBp9wVv-.js → config-D_myOZbA.js} +1 -1
  44. package/dist/chunks/{config-jBp9wVv-.js.map → config-D_myOZbA.js.map} +1 -1
  45. package/dist/chunks/{config-D_R56_gT.js → config-Dg_6FTvJ.js} +1 -1
  46. package/dist/chunks/config-Dg_6FTvJ.js.map +1 -0
  47. package/dist/chunks/config-Dlm49Jp5.js +5 -0
  48. package/dist/chunks/config-Dlm49Jp5.js.map +1 -0
  49. package/dist/chunks/config-DpqOnJiz.js.map +1 -0
  50. package/dist/chunks/config-Dqy0rPPO2.js.map +1 -0
  51. package/dist/chunks/config-Droqn55j.js +8 -0
  52. package/dist/chunks/config-Droqn55j.js.map +1 -0
  53. package/dist/chunks/{config-C4snOIXg.js → config-KXuionN3.js} +1 -1
  54. package/dist/chunks/{config-C4snOIXg.js.map → config-KXuionN3.js.map} +1 -1
  55. package/dist/chunks/config-LGrZIdaZ.js.map +1 -0
  56. package/dist/chunks/{config-DezDih8_.js → config-LqDC_rvp.js} +2 -2
  57. package/dist/chunks/config-LqDC_rvp.js.map +1 -0
  58. package/dist/chunks/config-QaIc_gRa2.js.map +1 -0
  59. package/dist/chunks/config-U4m9PSql2.js.map +1 -0
  60. package/dist/chunks/{config-B7IIWGt_2.js → config-XmTv4pnI.js} +2 -2
  61. package/dist/chunks/config-XmTv4pnI.js.map +1 -0
  62. package/dist/chunks/config-eXB87DOi.js +9 -0
  63. package/dist/chunks/config-eXB87DOi.js.map +1 -0
  64. package/dist/chunks/{config-C7NpDrfO.js → config-gZWR75Bh2.js} +1 -1
  65. package/dist/chunks/config-gZWR75Bh2.js.map +1 -0
  66. package/dist/chunks/config-ipvU0lzP.js.map +1 -0
  67. package/dist/chunks/config-xR4XVmcy2.js.map +1 -0
  68. package/dist/chunks/context-Bfrgsluh.js +9 -0
  69. package/dist/chunks/context-Bfrgsluh.js.map +1 -0
  70. package/dist/chunks/context-DdNIxa1w.js +9 -0
  71. package/dist/chunks/context-DdNIxa1w.js.map +1 -0
  72. package/dist/chunks/context-DfWYCBB-.js +129 -0
  73. package/dist/chunks/context-DfWYCBB-.js.map +1 -0
  74. package/dist/chunks/{en-BdtiS2d3.js → en-Cr6EkG8c.js} +52 -4
  75. package/dist/chunks/en-Cr6EkG8c.js.map +1 -0
  76. package/dist/chunks/{es-DBhctWg-.js → es-DuYb1Qju.js} +3 -3
  77. package/dist/chunks/{es-DBhctWg-.js.map → es-DuYb1Qju.js.map} +1 -1
  78. package/dist/chunks/{es-BGRMZbe9.js → es-i08e9Sdo.js} +52 -4
  79. package/dist/chunks/es-i08e9Sdo.js.map +1 -0
  80. package/dist/chunks/{grBadgeStyles-DrycBuKT.js → grBadgeStyles-D3dFjr_N.js} +12 -12
  81. package/dist/chunks/grBadgeStyles-D3dFjr_N.js.map +1 -0
  82. package/dist/chunks/{grButtonStyles-C7Yga_Q1.js → grButtonStyles-DRBgDmOp.js} +28 -28
  83. package/dist/chunks/grButtonStyles-DRBgDmOp.js.map +1 -0
  84. package/dist/chunks/{grDropdownStyles-B_-DKytw.js → grDropdownStyles-HBPkghVr.js} +2 -2
  85. package/dist/chunks/{grDropdownStyles-B_-DKytw.js.map → grDropdownStyles-HBPkghVr.js.map} +1 -1
  86. package/dist/chunks/grModalEscStack-BXk-9mv7.js +43 -0
  87. package/dist/chunks/grModalEscStack-BXk-9mv7.js.map +1 -0
  88. package/dist/chunks/{grModalStyles-DWd3i05Q.js → grModalStyles-D8-shx9A.js} +1 -1
  89. package/dist/chunks/grModalStyles-D8-shx9A.js.map +1 -0
  90. package/dist/chunks/{grSelectStyles-CLK5hRd3.js → grSelectStyles-CwMUQrBZ.js} +12 -12
  91. package/dist/chunks/grSelectStyles-CwMUQrBZ.js.map +1 -0
  92. package/dist/chunks/{grStyle-Blc9otAx.js → grStyle-CdvxTXPH.js} +2 -2
  93. package/dist/chunks/grStyle-CdvxTXPH.js.map +1 -0
  94. package/dist/chunks/{granularityI18n-DoV7Ca2m.js → granularityI18n-SH0I--GW.js} +1 -1
  95. package/dist/chunks/{granularityI18n-DoV7Ca2m.js.map → granularityI18n-SH0I--GW.js.map} +1 -1
  96. package/dist/chunks/{ru-BFCnOiML.js → ru-B5XOOYZt.js} +52 -4
  97. package/dist/chunks/ru-B5XOOYZt.js.map +1 -0
  98. package/dist/chunks/{safelist-Do2RtzLB.js → safelist-BvO8HPnE.js} +1 -1
  99. package/dist/chunks/{safelist-Do2RtzLB.js.map → safelist-BvO8HPnE.js.map} +1 -1
  100. package/dist/chunks/shared-D-v9lit0.js +188 -0
  101. package/dist/chunks/shared-D-v9lit0.js.map +1 -0
  102. package/dist/chunks/{transition-TLFw4KBn.js → useScrollLock-K7kaP2Ud.js} +52 -1
  103. package/dist/chunks/useScrollLock-K7kaP2Ud.js.map +1 -0
  104. package/dist/components/GrAlert/chunks/GrAlert-B9gmpoPC.js +251 -0
  105. package/dist/components/GrAlert/chunks/GrAlert-B9gmpoPC.js.map +1 -0
  106. package/dist/components/GrAlert/index.js +2 -2
  107. package/dist/components/GrAutocomplete/chunks/GrAutocomplete-BVLoQ5tZ.js +499 -0
  108. package/dist/components/GrAutocomplete/chunks/GrAutocomplete-BVLoQ5tZ.js.map +1 -0
  109. package/dist/components/GrAutocomplete/index.js +3 -0
  110. package/dist/components/GrAvatar/chunks/{GrAvatar-96CpTCq5.js → GrAvatar-CTOUVBF7.js} +1 -1
  111. package/dist/components/GrAvatar/chunks/GrAvatar-CTOUVBF7.js.map +1 -0
  112. package/dist/components/GrAvatar/index.js +1 -1
  113. package/dist/components/GrBadge/chunks/{GrBadge-B77XlaqE.js → GrBadge-D1jefy4S.js} +12 -8
  114. package/dist/components/GrBadge/chunks/GrBadge-D1jefy4S.js.map +1 -0
  115. package/dist/components/GrBadge/index.js +2 -2
  116. package/dist/components/GrBadgeWrap/chunks/{GrBadgeWrap-CcktMOdg.js → GrBadgeWrap-DWDxHdiQ.js} +1 -1
  117. package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-DWDxHdiQ.js.map +1 -0
  118. package/dist/components/GrBadgeWrap/index.js +1 -1
  119. package/dist/components/GrBottomNav/chunks/{GrBottomNav-usuMgG8_.js → GrBottomNav-vSE4LXmk.js} +2 -2
  120. package/dist/components/GrBottomNav/chunks/GrBottomNav-vSE4LXmk.js.map +1 -0
  121. package/dist/components/GrBottomNav/index.js +1 -1
  122. package/dist/components/GrButton/chunks/{GrButton-BlffdeJr.js → GrButton-DCi4CUpo.js} +18 -14
  123. package/dist/components/GrButton/chunks/GrButton-DCi4CUpo.js.map +1 -0
  124. package/dist/components/GrButton/index.js +4 -4
  125. package/dist/components/GrCard/chunks/{GrCard-DUNMkuHW.js → GrCard-CxCjyHMb.js} +1 -1
  126. package/dist/components/GrCard/chunks/GrCard-CxCjyHMb.js.map +1 -0
  127. package/dist/components/GrCard/index.js +1 -1
  128. package/dist/components/GrCheckbox/chunks/{GrCheckbox-DJhzZZdO.js → GrCheckbox-BbIDRXtl.js} +5 -5
  129. package/dist/components/GrCheckbox/chunks/GrCheckbox-BbIDRXtl.js.map +1 -0
  130. package/dist/components/GrCheckbox/index.js +1 -1
  131. package/dist/components/GrCollapse/chunks/{GrCollapse-CPPLh_xU.js → GrCollapse-DApXztn8.js} +6 -6
  132. package/dist/components/GrCollapse/chunks/GrCollapse-DApXztn8.js.map +1 -0
  133. package/dist/components/GrCollapse/index.js +2 -2
  134. package/dist/components/GrCommandPalette/chunks/GrCommandPalette-6OyvNbek.js +410 -0
  135. package/dist/components/GrCommandPalette/chunks/GrCommandPalette-6OyvNbek.js.map +1 -0
  136. package/dist/components/GrCommandPalette/index.js +3 -0
  137. package/dist/components/GrConfigProvider/chunks/GrConfigProvider-BtyeBGm8.js +57 -0
  138. package/dist/components/GrConfigProvider/chunks/GrConfigProvider-BtyeBGm8.js.map +1 -0
  139. package/dist/components/GrConfigProvider/index.js +4 -0
  140. package/dist/components/GrConfirmDialog/chunks/{GrConfirmDialog-BWYKCsHd.js → GrConfirmDialog-e4120mWw.js} +5 -5
  141. package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-e4120mWw.js.map +1 -0
  142. package/dist/components/GrConfirmDialog/index.js +1 -1
  143. package/dist/components/GrDataTable/chunks/GrDataTable-C1CzxV0p.js +307 -0
  144. package/dist/components/GrDataTable/chunks/GrDataTable-C1CzxV0p.js.map +1 -0
  145. package/dist/components/GrDataTable/index.js +2 -2
  146. package/dist/components/GrDialog/chunks/{GrDialog-5DAS-1Lb.js → GrDialog-BPMvDHOz.js} +6 -6
  147. package/dist/components/GrDialog/chunks/GrDialog-BPMvDHOz.js.map +1 -0
  148. package/dist/components/GrDialog/index.js +1 -1
  149. package/dist/components/GrDialogService/chunks/{GrDialogService-DY_fmaMu.js → GrDialogService-CYXCTGm3.js} +36 -11
  150. package/dist/components/GrDialogService/chunks/GrDialogService-CYXCTGm3.js.map +1 -0
  151. package/dist/components/GrDialogService/index.js +2 -2
  152. package/dist/components/GrDivider/chunks/GrDivider-BdENZ1w0.js +54 -0
  153. package/dist/components/GrDivider/chunks/GrDivider-BdENZ1w0.js.map +1 -0
  154. package/dist/components/GrDivider/index.js +3 -0
  155. package/dist/components/GrDrawer/chunks/{GrDrawer-D1kzsjXN.js → GrDrawer-KevdZ5BB.js} +41 -17
  156. package/dist/components/GrDrawer/chunks/GrDrawer-KevdZ5BB.js.map +1 -0
  157. package/dist/components/GrDrawer/index.js +2 -2
  158. package/dist/components/GrDropdown/chunks/{GrDropdown-BXb5Cxxf.js → GrDropdown-BKoy8hm-.js} +91 -5
  159. package/dist/components/GrDropdown/chunks/GrDropdown-BKoy8hm-.js.map +1 -0
  160. package/dist/components/GrDropdown/index.js +2 -2
  161. package/dist/components/GrDropdownMenu/chunks/{GrDropdownMenu-DFEJLPcV.js → GrDropdownMenu-zCatXzmt.js} +11 -11
  162. package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-zCatXzmt.js.map +1 -0
  163. package/dist/components/GrDropdownMenu/index.js +1 -1
  164. package/dist/components/GrEmptyState/chunks/{GrEmptyState-CA3BiTV7.js → GrEmptyState-CNb0BzjG.js} +3 -3
  165. package/dist/components/GrEmptyState/chunks/GrEmptyState-CNb0BzjG.js.map +1 -0
  166. package/dist/components/GrEmptyState/index.js +1 -1
  167. package/dist/components/GrFileUpload/chunks/{GrFileUpload-DvWPpiJS.js → GrFileUpload-CnLgUGDF.js} +12 -12
  168. package/dist/components/GrFileUpload/chunks/GrFileUpload-CnLgUGDF.js.map +1 -0
  169. package/dist/components/GrFileUpload/index.js +1 -1
  170. package/dist/components/GrForm/chunks/GrForm-CdaFjcyl.js +234 -0
  171. package/dist/components/GrForm/chunks/GrForm-CdaFjcyl.js.map +1 -0
  172. package/dist/components/GrForm/index.js +4 -0
  173. package/dist/components/GrFormField/chunks/GrFormField-CXCDBd99.js +100 -0
  174. package/dist/components/GrFormField/chunks/GrFormField-CXCDBd99.js.map +1 -0
  175. package/dist/components/GrFormField/index.js +3 -2
  176. package/dist/components/GrFormFile/chunks/{GrFormFile-CXcqqdvV.js → GrFormFile-CqacSbUl.js} +9 -9
  177. package/dist/components/GrFormFile/chunks/GrFormFile-CqacSbUl.js.map +1 -0
  178. package/dist/components/GrFormFile/index.js +1 -1
  179. package/dist/components/GrFormSection/chunks/{GrFormSection-Ce21jcgo.js → GrFormSection-C3w9DQJf.js} +1 -1
  180. package/dist/components/GrFormSection/chunks/GrFormSection-C3w9DQJf.js.map +1 -0
  181. package/dist/components/GrFormSection/index.js +1 -1
  182. package/dist/components/GrImageViewer/chunks/{GrImageViewer-OCUIrNh2.js → GrImageViewer-DDLJkvIU.js} +312 -223
  183. package/dist/components/GrImageViewer/chunks/GrImageViewer-DDLJkvIU.js.map +1 -0
  184. package/dist/components/GrImageViewer/index.js +1 -1
  185. package/dist/components/GrInput/chunks/GrInput-C1VBL0dg.js +337 -0
  186. package/dist/components/GrInput/chunks/GrInput-C1VBL0dg.js.map +1 -0
  187. package/dist/components/GrInput/index.js +2 -2
  188. package/dist/components/GrInputTag/chunks/{GrInputTag-zMgFqp2g.js → GrInputTag-BMk9jm42.js} +6 -6
  189. package/dist/components/GrInputTag/chunks/GrInputTag-BMk9jm42.js.map +1 -0
  190. package/dist/components/GrInputTag/index.js +2 -2
  191. package/dist/components/GrKbd/chunks/GrKbd-DTspwtoN.js +22 -0
  192. package/dist/components/GrKbd/chunks/GrKbd-DTspwtoN.js.map +1 -0
  193. package/dist/components/GrKbd/index.js +3 -0
  194. package/dist/components/GrLink/chunks/{GrLink-CYUe-Q8k.js → GrLink-BP0YrnL9.js} +1 -1
  195. package/dist/components/GrLink/chunks/{GrLink-CYUe-Q8k.js.map → GrLink-BP0YrnL9.js.map} +1 -1
  196. package/dist/components/GrLink/index.js +2 -2
  197. package/dist/components/GrList/chunks/{GrList-Dx772Ns4.js → GrList-5RA-tZzE.js} +3 -3
  198. package/dist/components/GrList/chunks/GrList-5RA-tZzE.js.map +1 -0
  199. package/dist/components/GrList/index.js +1 -1
  200. package/dist/components/GrLoading/chunks/{GrLoading--X_7rdbb.js → GrLoading-fRDtVfi7.js} +3 -3
  201. package/dist/components/GrLoading/chunks/GrLoading-fRDtVfi7.js.map +1 -0
  202. package/dist/components/GrLoading/index.js +2 -2
  203. package/dist/components/GrModal/chunks/{GrModal-BkjW9jZS.js → GrModal-BTu1-5eY.js} +4 -57
  204. package/dist/components/GrModal/chunks/GrModal-BTu1-5eY.js.map +1 -0
  205. package/dist/components/GrModal/index.js +3 -3
  206. package/dist/components/GrNavbar/chunks/{GrNavbar-DW3MiIIf.js → GrNavbar-keKT_mIM.js} +3 -3
  207. package/dist/components/GrNavbar/chunks/GrNavbar-keKT_mIM.js.map +1 -0
  208. package/dist/components/GrNavbar/index.js +1 -1
  209. package/dist/components/GrNumberInput/chunks/{GrNumberInput-CldPIWQx.js → GrNumberInput-l9ZOHG9D.js} +112 -28
  210. package/dist/components/GrNumberInput/chunks/GrNumberInput-l9ZOHG9D.js.map +1 -0
  211. package/dist/components/GrNumberInput/index.js +2 -2
  212. package/dist/components/GrPagination/chunks/{GrPagination-Bu9wv6it.js → GrPagination-C5Y69CuK.js} +59 -16
  213. package/dist/components/GrPagination/chunks/GrPagination-C5Y69CuK.js.map +1 -0
  214. package/dist/components/GrPagination/index.js +1 -1
  215. package/dist/components/GrProgressBar/chunks/{GrProgressBar-CC3z-Zqp.js → GrProgressBar-Dqg4Fj9S.js} +2 -2
  216. package/dist/components/GrProgressBar/chunks/GrProgressBar-Dqg4Fj9S.js.map +1 -0
  217. package/dist/components/GrProgressBar/index.js +2 -2
  218. package/dist/components/GrPromptDialog/chunks/{GrPromptDialog-TmWXbpEP.js → GrPromptDialog-DNUjRVB9.js} +7 -7
  219. package/dist/components/GrPromptDialog/chunks/GrPromptDialog-DNUjRVB9.js.map +1 -0
  220. package/dist/components/GrPromptDialog/index.js +2 -2
  221. package/dist/components/GrRadio/chunks/{GrRadio-CPTixXaY.js → GrRadio-DlhxPGqf.js} +5 -7
  222. package/dist/components/GrRadio/chunks/GrRadio-DlhxPGqf.js.map +1 -0
  223. package/dist/components/GrRadio/index.js +2 -2
  224. package/dist/components/GrRadioGroup/chunks/{GrRadioGroup-vKZCbkCp.js → GrRadioGroup-BXt9iw4q.js} +7 -5
  225. package/dist/components/GrRadioGroup/chunks/GrRadioGroup-BXt9iw4q.js.map +1 -0
  226. package/dist/components/GrRadioGroup/index.js +2 -2
  227. package/dist/components/GrRating/chunks/GrRating-Co-3Rk4h.js +241 -0
  228. package/dist/components/GrRating/chunks/GrRating-Co-3Rk4h.js.map +1 -0
  229. package/dist/components/GrRating/index.js +3 -0
  230. package/dist/components/GrResponseErrorBanner/chunks/{GrResponseErrorBanner-BWJNe2gr.js → GrResponseErrorBanner-2CvM7Z08.js} +2 -2
  231. package/dist/components/GrResponseErrorBanner/chunks/{GrResponseErrorBanner-BWJNe2gr.js.map → GrResponseErrorBanner-2CvM7Z08.js.map} +1 -1
  232. package/dist/components/GrResponseErrorBanner/chunks/{GrResponseErrorBanner-Cdu9ekK9.js → GrResponseErrorBanner-C8NGx8pE.js} +3 -3
  233. package/dist/components/GrResponseErrorBanner/chunks/{GrResponseErrorBanner-Cdu9ekK9.js.map → GrResponseErrorBanner-C8NGx8pE.js.map} +1 -1
  234. package/dist/components/GrResponseErrorBanner/index.js +2 -2
  235. package/dist/components/GrSegmented/chunks/{GrSegmented-C1y0UXpQ.js → GrSegmented-CTd3n4PA.js} +14 -11
  236. package/dist/components/GrSegmented/chunks/GrSegmented-CTd3n4PA.js.map +1 -0
  237. package/dist/components/GrSegmented/index.js +2 -2
  238. package/dist/components/GrSelect/chunks/{GrSelect-RShK21lK.js → GrSelect-Dn3FgJ3Z.js} +293 -87
  239. package/dist/components/GrSelect/chunks/GrSelect-Dn3FgJ3Z.js.map +1 -0
  240. package/dist/components/GrSelect/index.js +2 -2
  241. package/dist/components/GrSidebar/chunks/{GrSidebar-DkWozzwA.js → GrSidebar-cvnzBfj3.js} +7 -7
  242. package/dist/components/GrSidebar/chunks/GrSidebar-cvnzBfj3.js.map +1 -0
  243. package/dist/components/GrSidebar/index.js +1 -1
  244. package/dist/components/GrSkeleton/chunks/{GrSkeleton-DsN-_CDZ.js → GrSkeleton-BucA5F4J.js} +1 -1
  245. package/dist/components/GrSkeleton/chunks/GrSkeleton-BucA5F4J.js.map +1 -0
  246. package/dist/components/GrSkeleton/index.js +2 -2
  247. package/dist/components/GrSlider/chunks/GrSlider-CzzJ3bD-.js +286 -0
  248. package/dist/components/GrSlider/chunks/GrSlider-CzzJ3bD-.js.map +1 -0
  249. package/dist/components/GrSlider/index.js +3 -0
  250. package/dist/components/GrStatistic/chunks/GrStatistic-gHiAwrX5.js +128 -0
  251. package/dist/components/GrStatistic/chunks/GrStatistic-gHiAwrX5.js.map +1 -0
  252. package/dist/components/GrStatistic/index.js +3 -0
  253. package/dist/components/GrSwitch/chunks/{GrSwitch-DAioyccZ.js → GrSwitch-CJdRvS0s.js} +16 -7
  254. package/dist/components/GrSwitch/chunks/GrSwitch-CJdRvS0s.js.map +1 -0
  255. package/dist/components/GrSwitch/index.js +2 -2
  256. package/dist/components/GrTabPanels/chunks/GrTabPanels-DeEMgb_y.js +68 -0
  257. package/dist/components/GrTabPanels/chunks/GrTabPanels-DeEMgb_y.js.map +1 -0
  258. package/dist/components/GrTabPanels/index.js +3 -0
  259. package/dist/components/GrTable/chunks/{GrTable-Db3hRnKA.js → GrTable-sNvsA8wa.js} +24 -11
  260. package/dist/components/GrTable/chunks/GrTable-sNvsA8wa.js.map +1 -0
  261. package/dist/components/GrTable/index.js +2 -2
  262. package/dist/components/GrTabs/chunks/{GrTabs-Z-FDJUr_.js → GrTabs-BqTak0SR.js} +9 -4
  263. package/dist/components/GrTabs/chunks/GrTabs-BqTak0SR.js.map +1 -0
  264. package/dist/components/GrTabs/index.js +2 -2
  265. package/dist/components/GrTextarea/chunks/{GrTextarea-D56YxhKq.js → GrTextarea-DIYBAPpP.js} +16 -6
  266. package/dist/components/GrTextarea/chunks/GrTextarea-DIYBAPpP.js.map +1 -0
  267. package/dist/components/GrTextarea/index.js +2 -2
  268. package/dist/components/GrToaster/chunks/{GrToaster-eI8YvnIo.js → GrToaster-BVHjIHcM.js} +52 -11
  269. package/dist/components/GrToaster/chunks/GrToaster-BVHjIHcM.js.map +1 -0
  270. package/dist/components/GrToaster/index.js +2 -2
  271. package/dist/components/GrTooltip/chunks/{GrTooltip-BeyZ8ssR.js → GrTooltip-BMKH2lIx.js} +3 -3
  272. package/dist/components/GrTooltip/chunks/GrTooltip-BMKH2lIx.js.map +1 -0
  273. package/dist/components/GrTooltip/index.js +1 -1
  274. package/dist/components/GrTree/chunks/{GrTree-D3ODe2dB.js → GrTree-_12ChXRQ.js} +108 -9
  275. package/dist/components/GrTree/chunks/GrTree-_12ChXRQ.js.map +1 -0
  276. package/dist/components/GrTree/index.js +2 -2
  277. package/dist/components/GrTreeSelect/chunks/{GrTreeSelect-B2xBKs5Q.js → GrTreeSelect-CdaLG7Xq.js} +10 -10
  278. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-CdaLG7Xq.js.map +1 -0
  279. package/dist/components/GrTreeSelect/index.js +2 -2
  280. package/dist/composables/useToast.js +3 -1
  281. package/dist/composables/useToast.js.map +1 -1
  282. package/dist/directives/loading.js +1 -1
  283. package/dist/granular-provider-node.js +6 -6
  284. package/dist/granular-provider-node.js.map +1 -1
  285. package/dist/granular-provider.js +1 -1
  286. package/dist/i18n/all.js +1 -1
  287. package/dist/i18n/index.js +1 -1
  288. package/dist/index.js +112 -87
  289. package/dist/index.js.map +1 -1
  290. package/dist/styles/base.css +30 -8
  291. package/dist/styles/index.css +6 -3
  292. package/dist/styles/preflight.css +8 -4
  293. package/dist/styles/themes/dark.css +52 -40
  294. package/dist/styles/themes/light.css +70 -45
  295. package/dist/styles/tokens.css +20 -20
  296. package/dist/types/src/components/GrAlert/GrAlert.vue.d.ts +26 -14
  297. package/dist/types/src/components/GrAlert/defaults.d.ts +17 -0
  298. package/dist/types/src/components/GrAlert/grAlertStyles.d.ts +55 -0
  299. package/dist/types/src/components/GrAlert/index.d.ts +4 -1
  300. package/dist/types/src/components/GrAutocomplete/GrAutocomplete.vue.d.ts +153 -0
  301. package/dist/types/src/components/GrAutocomplete/config.d.ts +1 -0
  302. package/dist/types/src/components/GrAutocomplete/defaults.d.ts +15 -0
  303. package/dist/types/src/components/GrAutocomplete/grAutocompleteStyles.d.ts +27 -0
  304. package/dist/types/src/components/GrAutocomplete/index.d.ts +6 -0
  305. package/dist/types/src/components/GrAutocomplete/safelist.d.ts +1 -0
  306. package/dist/types/src/components/GrAvatar/GrAvatar.vue.d.ts +1 -1
  307. package/dist/types/src/components/GrBadge/GrBadge.vue.d.ts +7 -7
  308. package/dist/types/src/components/GrBadge/defaults.d.ts +15 -0
  309. package/dist/types/src/components/GrBadge/index.d.ts +1 -0
  310. package/dist/types/src/components/GrBadgeWrap/GrBadgeWrap.vue.d.ts +1 -1
  311. package/dist/types/src/components/GrButton/GrButton.vue.d.ts +12 -12
  312. package/dist/types/src/components/GrButton/defaults.d.ts +25 -0
  313. package/dist/types/src/components/GrButton/grButtonStyles.d.ts +2 -2
  314. package/dist/types/src/components/GrButton/index.d.ts +1 -0
  315. package/dist/types/src/components/GrCheckbox/GrCheckbox.vue.d.ts +4 -4
  316. package/dist/types/src/components/GrCollapse/GrCollapse.vue.d.ts +2 -2
  317. package/dist/types/src/components/GrCollapse/GrCollapseItem.vue.d.ts +1 -1
  318. package/dist/types/src/components/GrCommandPalette/GrCommandPalette.vue.d.ts +128 -0
  319. package/dist/types/src/components/GrCommandPalette/config.d.ts +1 -0
  320. package/dist/types/src/components/GrCommandPalette/filtering.d.ts +35 -0
  321. package/dist/types/src/components/GrCommandPalette/grCommandPaletteStyles.d.ts +20 -0
  322. package/dist/types/src/components/GrCommandPalette/hotkey.d.ts +23 -0
  323. package/dist/types/src/components/GrCommandPalette/index.d.ts +6 -0
  324. package/dist/types/src/components/GrCommandPalette/safelist.d.ts +1 -0
  325. package/dist/types/src/components/GrConfigProvider/GrConfigProvider.vue.d.ts +59 -0
  326. package/dist/types/src/components/GrConfigProvider/config.d.ts +1 -0
  327. package/dist/types/src/components/GrConfigProvider/context.d.ts +131 -0
  328. package/dist/types/src/components/GrConfigProvider/index.d.ts +5 -0
  329. package/dist/types/src/components/GrConfirmDialog/GrConfirmDialog.vue.d.ts +2 -2
  330. package/dist/types/src/components/GrDataTable/GrDataTable.vue.d.ts +48 -4
  331. package/dist/types/src/components/GrDialog/GrDialog.vue.d.ts +1 -1
  332. package/dist/types/src/components/GrDialogService/store.d.ts +18 -0
  333. package/dist/types/src/components/GrDivider/GrDivider.vue.d.ts +58 -0
  334. package/dist/types/src/components/GrDivider/config.d.ts +1 -0
  335. package/dist/types/src/components/GrDivider/index.d.ts +4 -0
  336. package/dist/types/src/components/GrDrawer/GrDrawer.vue.d.ts +5 -5
  337. package/dist/types/src/components/GrDropdown/GrDropdown.vue.d.ts +8 -1
  338. package/dist/types/src/components/GrDropdownMenu/GrDropdownMenu.vue.d.ts +7 -1
  339. package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuItem.vue.d.ts +1 -1
  340. package/dist/types/src/components/GrFileUpload/GrFileUpload.vue.d.ts +3 -3
  341. package/dist/types/src/components/GrForm/GrForm.vue.d.ts +93 -0
  342. package/dist/types/src/components/GrForm/config.d.ts +1 -0
  343. package/dist/types/src/components/GrForm/context.d.ts +27 -0
  344. package/dist/types/src/components/GrForm/index.d.ts +6 -0
  345. package/dist/types/src/components/GrForm/validation.d.ts +52 -0
  346. package/dist/types/src/components/GrFormField/GrFormField.vue.d.ts +25 -2
  347. package/dist/types/src/components/GrFormField/context.d.ts +20 -0
  348. package/dist/types/src/components/GrFormField/index.d.ts +1 -0
  349. package/dist/types/src/components/GrFormFile/GrFormFile.vue.d.ts +4 -4
  350. package/dist/types/src/components/GrImageViewer/GrImageViewer.vue.d.ts +7 -3
  351. package/dist/types/src/components/GrImageViewer/composables/useViewerKeyboard.d.ts +20 -0
  352. package/dist/types/src/components/GrImageViewer/composables/useWheelGesture.d.ts +16 -0
  353. package/dist/types/src/components/GrImageViewer/composables/useZoomPan.d.ts +50 -0
  354. package/dist/types/src/components/GrInput/GrInput.vue.d.ts +49 -10
  355. package/dist/types/src/components/GrInput/defaults.d.ts +18 -0
  356. package/dist/types/src/components/GrInput/grInputStyles.d.ts +1 -1
  357. package/dist/types/src/components/GrInput/index.d.ts +1 -0
  358. package/dist/types/src/components/GrInputTag/GrInputTag.vue.d.ts +3 -3
  359. package/dist/types/src/components/GrKbd/GrKbd.vue.d.ts +46 -0
  360. package/dist/types/src/components/GrKbd/config.d.ts +1 -0
  361. package/dist/types/src/components/GrKbd/index.d.ts +4 -0
  362. package/dist/types/src/components/GrLink/GrLink.vue.d.ts +3 -3
  363. package/dist/types/src/components/GrLink/grLinkStyles.d.ts +3 -3
  364. package/dist/types/src/components/GrModal/grModalStyles.d.ts +1 -1
  365. package/dist/types/src/components/GrNumberInput/GrNumberInput.vue.d.ts +25 -9
  366. package/dist/types/src/components/GrNumberInput/defaults.d.ts +14 -0
  367. package/dist/types/src/components/GrNumberInput/index.d.ts +1 -0
  368. package/dist/types/src/components/GrPagination/GrPagination.vue.d.ts +18 -0
  369. package/dist/types/src/components/GrPromptDialog/GrPromptDialog.vue.d.ts +4 -4
  370. package/dist/types/src/components/GrRadio/GrRadio.vue.d.ts +5 -5
  371. package/dist/types/src/components/GrRadio/defaults.d.ts +14 -0
  372. package/dist/types/src/components/GrRadio/grRadioStyles.d.ts +3 -3
  373. package/dist/types/src/components/GrRadio/index.d.ts +1 -0
  374. package/dist/types/src/components/GrRadioGroup/GrRadioGroup.vue.d.ts +4 -4
  375. package/dist/types/src/components/GrRadioGroup/defaults.d.ts +14 -0
  376. package/dist/types/src/components/GrRadioGroup/index.d.ts +1 -0
  377. package/dist/types/src/components/GrRating/GrRating.vue.d.ts +124 -0
  378. package/dist/types/src/components/GrRating/config.d.ts +1 -0
  379. package/dist/types/src/components/GrRating/defaults.d.ts +14 -0
  380. package/dist/types/src/components/GrRating/grRatingStyles.d.ts +21 -0
  381. package/dist/types/src/components/GrRating/index.d.ts +6 -0
  382. package/dist/types/src/components/GrRating/safelist.d.ts +1 -0
  383. package/dist/types/src/components/GrResponseErrorBanner/GrUploadErrorBanner.vue.d.ts +1 -1
  384. package/dist/types/src/components/GrSegmented/GrSegmented.vue.d.ts +7 -7
  385. package/dist/types/src/components/GrSegmented/defaults.d.ts +15 -0
  386. package/dist/types/src/components/GrSegmented/grSegmentedStyles.d.ts +1 -1
  387. package/dist/types/src/components/GrSegmented/index.d.ts +1 -0
  388. package/dist/types/src/components/GrSelect/GrSelect.vue.d.ts +57 -17
  389. package/dist/types/src/components/GrSelect/defaults.d.ts +17 -0
  390. package/dist/types/src/components/GrSelect/grSelectStyles.d.ts +3 -3
  391. package/dist/types/src/components/GrSelect/index.d.ts +1 -0
  392. package/dist/types/src/components/GrSidebar/GrSidebarItem.vue.d.ts +2 -2
  393. package/dist/types/src/components/GrSkeleton/GrSkeleton.vue.d.ts +1 -1
  394. package/dist/types/src/components/GrSlider/GrSlider.vue.d.ts +88 -0
  395. package/dist/types/src/components/GrSlider/config.d.ts +1 -0
  396. package/dist/types/src/components/GrSlider/defaults.d.ts +14 -0
  397. package/dist/types/src/components/GrSlider/grSliderStyles.d.ts +36 -0
  398. package/dist/types/src/components/GrSlider/index.d.ts +6 -0
  399. package/dist/types/src/components/GrSlider/safelist.d.ts +1 -0
  400. package/dist/types/src/components/GrStatistic/GrStatistic.vue.d.ts +116 -0
  401. package/dist/types/src/components/GrStatistic/config.d.ts +1 -0
  402. package/dist/types/src/components/GrStatistic/formatStatisticValue.d.ts +16 -0
  403. package/dist/types/src/components/GrStatistic/grStatisticStyles.d.ts +24 -0
  404. package/dist/types/src/components/GrStatistic/index.d.ts +6 -0
  405. package/dist/types/src/components/GrStatistic/safelist.d.ts +1 -0
  406. package/dist/types/src/components/GrSwitch/GrSwitch.vue.d.ts +4 -4
  407. package/dist/types/src/components/GrSwitch/defaults.d.ts +14 -0
  408. package/dist/types/src/components/GrSwitch/grSwitchStyles.d.ts +2 -2
  409. package/dist/types/src/components/GrSwitch/index.d.ts +1 -0
  410. package/dist/types/src/components/GrTabPanels/GrTabPanel.vue.d.ts +46 -0
  411. package/dist/types/src/components/GrTabPanels/GrTabPanels.vue.d.ts +51 -0
  412. package/dist/types/src/components/GrTabPanels/config.d.ts +5 -0
  413. package/dist/types/src/components/GrTabPanels/context.d.ts +9 -0
  414. package/dist/types/src/components/GrTabPanels/index.d.ts +6 -0
  415. package/dist/types/src/components/GrTable/GrTable.vue.d.ts +16 -0
  416. package/dist/types/src/components/GrTabs/GrTabs.vue.d.ts +6 -0
  417. package/dist/types/src/components/GrTextarea/GrTextarea.vue.d.ts +5 -5
  418. package/dist/types/src/components/GrToaster/GrToaster.vue.d.ts +19 -2
  419. package/dist/types/src/components/GrToaster/index.d.ts +1 -1
  420. package/dist/types/src/components/GrTooltip/GrTooltip.vue.d.ts +1 -1
  421. package/dist/types/src/components/GrTree/grTreeInteractionContext.d.ts +2 -0
  422. package/dist/types/src/components/GrTreeSelect/GrTreeSelect.vue.d.ts +1 -1
  423. package/dist/types/src/components/GrTreeSelect/grTreeSelectStyles.d.ts +1 -1
  424. package/dist/types/src/composables/internal/useScrollLock.d.ts +24 -0
  425. package/dist/types/src/composables/useToast.d.ts +24 -0
  426. package/dist/types/src/granular-provider/shared.d.ts +10 -0
  427. package/dist/types/src/i18n/messages/en.d.ts +84 -0
  428. package/dist/types/src/i18n/messages/es.d.ts +84 -0
  429. package/dist/types/src/i18n/messages/ru.d.ts +84 -0
  430. package/dist/types/src/index.d.ts +10 -0
  431. package/dist/web-types.json +1642 -356
  432. package/package.json +41 -1
  433. package/dist/chunks/config-1uSYl98Y.js.map +0 -1
  434. package/dist/chunks/config-8Pcutu1j2.js.map +0 -1
  435. package/dist/chunks/config-B7IIWGt_2.js.map +0 -1
  436. package/dist/chunks/config-BIRO0vDJ2.js.map +0 -1
  437. package/dist/chunks/config-BLHqZhy-2.js.map +0 -1
  438. package/dist/chunks/config-BOlr7qw7.js.map +0 -1
  439. package/dist/chunks/config-BUHuGBik.js.map +0 -1
  440. package/dist/chunks/config-BX1JTrkV2.js.map +0 -1
  441. package/dist/chunks/config-C7NpDrfO.js.map +0 -1
  442. package/dist/chunks/config-ClhKPJvg.js.map +0 -1
  443. package/dist/chunks/config-Cpi9Mh2J.js.map +0 -1
  444. package/dist/chunks/config-CrG1XiE7.js.map +0 -1
  445. package/dist/chunks/config-DUcu1D68.js.map +0 -1
  446. package/dist/chunks/config-D_R56_gT.js.map +0 -1
  447. package/dist/chunks/config-DezDih8_.js.map +0 -1
  448. package/dist/chunks/config-DnvPqu4g.js.map +0 -1
  449. package/dist/chunks/config-DpqOnJiz2.js.map +0 -1
  450. package/dist/chunks/config-LGrZIdaZ2.js.map +0 -1
  451. package/dist/chunks/config-QaIc_gRa.js.map +0 -1
  452. package/dist/chunks/config-U4m9PSql.js.map +0 -1
  453. package/dist/chunks/config-eYLZYOUS2.js.map +0 -1
  454. package/dist/chunks/config-ipvU0lzP2.js.map +0 -1
  455. package/dist/chunks/config-xR4XVmcy.js.map +0 -1
  456. package/dist/chunks/en-BdtiS2d3.js.map +0 -1
  457. package/dist/chunks/es-BGRMZbe9.js.map +0 -1
  458. package/dist/chunks/grBadgeStyles-DrycBuKT.js.map +0 -1
  459. package/dist/chunks/grButtonStyles-C7Yga_Q1.js.map +0 -1
  460. package/dist/chunks/grModalStyles-DWd3i05Q.js.map +0 -1
  461. package/dist/chunks/grSelectStyles-CLK5hRd3.js.map +0 -1
  462. package/dist/chunks/grStyle-Blc9otAx.js.map +0 -1
  463. package/dist/chunks/ru-BFCnOiML.js.map +0 -1
  464. package/dist/chunks/shared-ChvcQgDl.js +0 -168
  465. package/dist/chunks/shared-ChvcQgDl.js.map +0 -1
  466. package/dist/chunks/transition-TLFw4KBn.js.map +0 -1
  467. package/dist/components/GrAlert/chunks/GrAlert-DPJSU_fG.js +0 -163
  468. package/dist/components/GrAlert/chunks/GrAlert-DPJSU_fG.js.map +0 -1
  469. package/dist/components/GrAvatar/chunks/GrAvatar-96CpTCq5.js.map +0 -1
  470. package/dist/components/GrBadge/chunks/GrBadge-B77XlaqE.js.map +0 -1
  471. package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-CcktMOdg.js.map +0 -1
  472. package/dist/components/GrBottomNav/chunks/GrBottomNav-usuMgG8_.js.map +0 -1
  473. package/dist/components/GrButton/chunks/GrButton-BlffdeJr.js.map +0 -1
  474. package/dist/components/GrCard/chunks/GrCard-DUNMkuHW.js.map +0 -1
  475. package/dist/components/GrCheckbox/chunks/GrCheckbox-DJhzZZdO.js.map +0 -1
  476. package/dist/components/GrCollapse/chunks/GrCollapse-CPPLh_xU.js.map +0 -1
  477. package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-BWYKCsHd.js.map +0 -1
  478. package/dist/components/GrDataTable/chunks/GrDataTable-ptbARmJ3.js +0 -179
  479. package/dist/components/GrDataTable/chunks/GrDataTable-ptbARmJ3.js.map +0 -1
  480. package/dist/components/GrDialog/chunks/GrDialog-5DAS-1Lb.js.map +0 -1
  481. package/dist/components/GrDialogService/chunks/GrDialogService-DY_fmaMu.js.map +0 -1
  482. package/dist/components/GrDrawer/chunks/GrDrawer-D1kzsjXN.js.map +0 -1
  483. package/dist/components/GrDropdown/chunks/GrDropdown-BXb5Cxxf.js.map +0 -1
  484. package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-DFEJLPcV.js.map +0 -1
  485. package/dist/components/GrEmptyState/chunks/GrEmptyState-CA3BiTV7.js.map +0 -1
  486. package/dist/components/GrFileUpload/chunks/GrFileUpload-DvWPpiJS.js.map +0 -1
  487. package/dist/components/GrFormField/chunks/GrFormField-BujNQrw8.js +0 -35
  488. package/dist/components/GrFormField/chunks/GrFormField-BujNQrw8.js.map +0 -1
  489. package/dist/components/GrFormFile/chunks/GrFormFile-CXcqqdvV.js.map +0 -1
  490. package/dist/components/GrFormSection/chunks/GrFormSection-Ce21jcgo.js.map +0 -1
  491. package/dist/components/GrImageViewer/chunks/GrImageViewer-OCUIrNh2.js.map +0 -1
  492. package/dist/components/GrInput/chunks/GrInput-C8pOJgCi.js +0 -188
  493. package/dist/components/GrInput/chunks/GrInput-C8pOJgCi.js.map +0 -1
  494. package/dist/components/GrInputTag/chunks/GrInputTag-zMgFqp2g.js.map +0 -1
  495. package/dist/components/GrList/chunks/GrList-Dx772Ns4.js.map +0 -1
  496. package/dist/components/GrLoading/chunks/GrLoading--X_7rdbb.js.map +0 -1
  497. package/dist/components/GrModal/chunks/GrModal-BkjW9jZS.js.map +0 -1
  498. package/dist/components/GrNavbar/chunks/GrNavbar-DW3MiIIf.js.map +0 -1
  499. package/dist/components/GrNumberInput/chunks/GrNumberInput-CldPIWQx.js.map +0 -1
  500. package/dist/components/GrPagination/chunks/GrPagination-Bu9wv6it.js.map +0 -1
  501. package/dist/components/GrProgressBar/chunks/GrProgressBar-CC3z-Zqp.js.map +0 -1
  502. package/dist/components/GrPromptDialog/chunks/GrPromptDialog-TmWXbpEP.js.map +0 -1
  503. package/dist/components/GrRadio/chunks/GrRadio-CPTixXaY.js.map +0 -1
  504. package/dist/components/GrRadioGroup/chunks/GrRadioGroup-vKZCbkCp.js.map +0 -1
  505. package/dist/components/GrSegmented/chunks/GrSegmented-C1y0UXpQ.js.map +0 -1
  506. package/dist/components/GrSelect/chunks/GrSelect-RShK21lK.js.map +0 -1
  507. package/dist/components/GrSidebar/chunks/GrSidebar-DkWozzwA.js.map +0 -1
  508. package/dist/components/GrSkeleton/chunks/GrSkeleton-DsN-_CDZ.js.map +0 -1
  509. package/dist/components/GrSwitch/chunks/GrSwitch-DAioyccZ.js.map +0 -1
  510. package/dist/components/GrTable/chunks/GrTable-Db3hRnKA.js.map +0 -1
  511. package/dist/components/GrTabs/chunks/GrTabs-Z-FDJUr_.js.map +0 -1
  512. package/dist/components/GrTextarea/chunks/GrTextarea-D56YxhKq.js.map +0 -1
  513. package/dist/components/GrToaster/chunks/GrToaster-eI8YvnIo.js.map +0 -1
  514. package/dist/components/GrTooltip/chunks/GrTooltip-BeyZ8ssR.js.map +0 -1
  515. package/dist/components/GrTree/chunks/GrTree-D3ODe2dB.js.map +0 -1
  516. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-B2xBKs5Q.js.map +0 -1
  517. package/dist/chunks/{config-8Pcutu1j2.js → config-8Pcutu1j.js} +0 -0
  518. package/dist/chunks/{config-BLHqZhy-2.js → config-BLHqZhy-.js} +0 -0
  519. package/dist/chunks/{config-BUHuGBik.js → config-BUHuGBik2.js} +0 -0
  520. package/dist/chunks/{config-BX1JTrkV2.js → config-BX1JTrkV.js} +0 -0
  521. package/dist/chunks/{config-DpqOnJiz2.js → config-DpqOnJiz.js} +0 -0
  522. package/dist/chunks/{config-Cpi9Mh2J.js → config-Dqy0rPPO2.js} +1 -1
  523. /package/dist/chunks/{config-LGrZIdaZ2.js → config-LGrZIdaZ.js} +0 -0
  524. /package/dist/chunks/{config-QaIc_gRa.js → config-QaIc_gRa2.js} +0 -0
  525. /package/dist/chunks/{config-U4m9PSql.js → config-U4m9PSql2.js} +0 -0
  526. /package/dist/chunks/{config-ipvU0lzP2.js → config-ipvU0lzP.js} +0 -0
  527. /package/dist/chunks/{config-xR4XVmcy.js → config-xR4XVmcy2.js} +0 -0
@@ -1,3 +1,3 @@
1
- import { n as grSegmentedSafelist, t as grSegmentedConfig } from "../../chunks/config-eYLZYOUS2.js";
2
- import { t as GrSegmented_default } from "./chunks/GrSegmented-C1y0UXpQ.js";
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
3
  export { GrSegmented_default as GrSegmented, GrSegmented_default as default, grSegmentedConfig, grSegmentedSafelist };
@@ -1,15 +1,21 @@
1
- import { t as useGranularityTranslations } from "../../../chunks/granularityI18n-DoV7Ca2m.js";
2
- import { t as GrInput_default } from "../../GrInput/chunks/GrInput-C8pOJgCi.js";
1
+ import { a as useGrComponentProp, o as useGrComponentSize } from "../../../chunks/context-DfWYCBB-.js";
2
+ import { n as useGranularityTranslations } from "../../../chunks/granularityI18n-SH0I--GW.js";
3
3
  import { vClickOutside } from "../../../directives/clickOutside.js";
4
4
  import { t as useFloating } from "../../../chunks/useFloating-DtM6TyE4.js";
5
5
  import { t as useEscapeToClose } from "../../../chunks/useEscapeToClose-C2t_S1gh.js";
6
- import { a as grSelectPanelClasses, i as grSelectNativeClass, n as grSelectLinkNativeLabelClass, o as grSelectTriggerClass, r as grSelectLinkNativeOverlayClass, s as linkBaseClass, t as defaultBaseClass } from "../../../chunks/grSelectStyles-CLK5hRd3.js";
7
- import { Fragment, Teleport, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, nextTick, normalizeClass, normalizeStyle, openBlock, ref, renderList, renderSlot, toDisplayString, unref, vShow, watch, withCtx, withDirectives, withKeys, withModifiers } from "vue";
6
+ import { n as useGrFormFieldContext } from "../../../chunks/context-DdNIxa1w.js";
7
+ import { t as GrInput_default } from "../../GrInput/chunks/GrInput-C1VBL0dg.js";
8
+ import { a as grSelectPanelClasses, i as grSelectNativeClass, n as grSelectLinkNativeLabelClass, o as grSelectTriggerClass, r as grSelectLinkNativeOverlayClass, s as linkBaseClass, t as defaultBaseClass } from "../../../chunks/grSelectStyles-CwMUQrBZ.js";
9
+ import { Fragment, Teleport, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, nextTick, normalizeClass, normalizeStyle, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useId, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
8
10
  //#region src/components/GrSelect/GrSelect.vue?vue&type=script&setup=true&lang.ts
9
11
  var _hoisted_1 = [
12
+ "id",
10
13
  "multiple",
11
14
  "disabled",
12
- "aria-label"
15
+ "aria-label",
16
+ "aria-invalid",
17
+ "aria-describedby",
18
+ "aria-required"
13
19
  ];
14
20
  var _hoisted_2 = ["selected"];
15
21
  var _hoisted_3 = ["value", "selected"];
@@ -27,38 +33,64 @@ var _hoisted_6 = [
27
33
  var _hoisted_7 = {
28
34
  key: 1,
29
35
  "data-testid": "gr-select-chevron",
30
- class: "absolute top-1/2 -translate-y-1/2 right-3 flex items-center text-[var(--muted-fg)] pointer-events-none"
36
+ class: "absolute top-1/2 -translate-y-1/2 right-3 flex items-center text-[var(--gr-muted-fg)] pointer-events-none"
31
37
  };
32
38
  var _hoisted_8 = [
39
+ "id",
33
40
  "disabled",
34
41
  "aria-label",
42
+ "aria-invalid",
43
+ "aria-describedby",
44
+ "aria-required",
45
+ "aria-controls",
46
+ "aria-activedescendant",
35
47
  "aria-expanded"
36
48
  ];
37
49
  var _hoisted_9 = { class: "min-w-0 flex-1" };
38
50
  var _hoisted_10 = {
51
+ key: 0,
52
+ "data-gr-select-tags": "",
53
+ class: "flex flex-wrap gap-1 py-0.5"
54
+ };
55
+ var _hoisted_11 = { class: "truncate" };
56
+ var _hoisted_12 = ["aria-label", "onClick"];
57
+ var _hoisted_13 = {
39
58
  key: 0,
40
59
  class: "shrink-0 h-4 w-4",
41
60
  "aria-hidden": "true"
42
61
  };
43
- var _hoisted_11 = {
62
+ var _hoisted_14 = {
44
63
  key: 1,
45
64
  "data-testid": "gr-select-chevron",
46
- class: "shrink-0 flex items-center text-[var(--muted-fg)] pointer-events-none"
65
+ class: "shrink-0 flex items-center text-[var(--gr-muted-fg)] pointer-events-none"
47
66
  };
48
- var _hoisted_12 = ["disabled", "aria-label"];
49
- var _hoisted_13 = {
67
+ var _hoisted_15 = ["disabled", "aria-label"];
68
+ var _hoisted_16 = {
50
69
  key: 0,
51
- class: "p-2 border-b border-[var(--brd)]"
70
+ class: "p-2 border-b border-[var(--gr-brd)]"
71
+ };
72
+ var _hoisted_17 = {
73
+ key: 1,
74
+ "data-gr-select-loading": "",
75
+ class: "flex items-center justify-center gap-2 px-3 py-4 text-[13px] text-[var(--gr-muted-fg)]",
76
+ role: "status"
52
77
  };
53
- var _hoisted_14 = ["aria-multiselectable"];
54
- var _hoisted_15 = [
78
+ var _hoisted_18 = ["id", "aria-multiselectable"];
79
+ var _hoisted_19 = [
80
+ "id",
55
81
  "disabled",
56
82
  "aria-selected",
57
83
  "aria-disabled",
58
- "onClick"
84
+ "onClick",
85
+ "onMousemove"
59
86
  ];
60
- var _hoisted_16 = { class: "flex items-center gap-2 min-w-0" };
61
- var _hoisted_17 = { class: "truncate" };
87
+ var _hoisted_20 = { class: "flex items-center gap-2 min-w-0" };
88
+ var _hoisted_21 = { class: "truncate" };
89
+ var _hoisted_22 = {
90
+ key: 1,
91
+ "data-gr-select-empty": "",
92
+ class: "px-3 py-4 text-center text-[13px] text-[var(--gr-muted-fg)]"
93
+ };
62
94
  //#endregion
63
95
  //#region src/components/GrSelect/GrSelect.vue
64
96
  var GrSelect_default = /* @__PURE__ */ defineComponent({
@@ -72,7 +104,7 @@ var GrSelect_default = /* @__PURE__ */ defineComponent({
72
104
  },
73
105
  ariaLabel: { default: void 0 },
74
106
  view: { default: "default" },
75
- size: { default: "md" },
107
+ size: { default: void 0 },
76
108
  placeholder: { default: void 0 },
77
109
  multiple: {
78
110
  type: Boolean,
@@ -83,6 +115,21 @@ var GrSelect_default = /* @__PURE__ */ defineComponent({
83
115
  type: Boolean,
84
116
  default: false
85
117
  },
118
+ filterable: {
119
+ type: Boolean,
120
+ default: false
121
+ },
122
+ filterPlaceholder: { default: void 0 },
123
+ loading: {
124
+ type: Boolean,
125
+ default: false
126
+ },
127
+ loadingText: { default: void 0 },
128
+ noResultsText: { default: void 0 },
129
+ tags: {
130
+ type: Boolean,
131
+ default: false
132
+ },
86
133
  customValuePlaceholder: { default: void 0 },
87
134
  dropdownMaxHeight: { default: 280 },
88
135
  closeOnSelect: {
@@ -91,23 +138,36 @@ var GrSelect_default = /* @__PURE__ */ defineComponent({
91
138
  },
92
139
  clearable: {
93
140
  type: Boolean,
94
- default: false
141
+ default: void 0
95
142
  },
96
143
  clearLabel: { default: void 0 },
97
- variant: { default: "primary" },
98
- underline: { default: "auto" }
144
+ variant: { default: void 0 },
145
+ underline: { default: void 0 }
99
146
  },
100
147
  emits: ["update:modelValue"],
101
148
  setup(__props, { emit: __emit }) {
102
149
  const props = __props;
150
+ const resolvedSize = useGrComponentSize(() => props.size, { component: "GrSelect" });
151
+ const resolvedVariant = useGrComponentProp("GrSelect", "variant", () => props.variant, "primary");
152
+ const resolvedUnderline = useGrComponentProp("GrSelect", "underline", () => props.underline, "auto");
153
+ const resolvedClearable = useGrComponentProp("GrSelect", "clearable", () => props.clearable, false);
103
154
  const { t } = useGranularityTranslations();
104
155
  const resolvedCustomValuePlaceholder = computed(() => {
105
156
  return props.customValuePlaceholder ?? t("gr.select.customValuePlaceholder", "Add value…");
106
157
  });
107
158
  const resolvedClearLabel = computed(() => props.clearLabel ?? t("gr.common.clear", "Clear"));
159
+ const resolvedFilterPlaceholder = computed(() => props.filterPlaceholder ?? t("gr.select.searchPlaceholder", "Search…"));
160
+ const resolvedLoadingText = computed(() => props.loadingText ?? t("gr.select.loading", "Loading…"));
161
+ const resolvedNoResultsText = computed(() => props.noResultsText ?? t("gr.select.noResults", "No results"));
162
+ const resolvedSearchPlaceholder = computed(() => props.allowCustomValue ? resolvedCustomValuePlaceholder.value : resolvedFilterPlaceholder.value);
108
163
  const baseClassName = computed(() => props.view === "link" ? linkBaseClass : defaultBaseClass);
109
164
  const rootClass = computed(() => props.view === "link" ? "relative inline-block align-baseline" : "relative w-full");
110
165
  const emit = __emit;
166
+ const field = useGrFormFieldContext();
167
+ const resolvedId = computed(() => field?.id.value);
168
+ const isInvalid = computed(() => Boolean(field?.invalid.value));
169
+ const describedBy = computed(() => field?.describedById.value);
170
+ const isRequired = computed(() => Boolean(field?.required.value));
111
171
  const optionsResolved = computed(() => props.options ?? []);
112
172
  function isOptionGroup(item) {
113
173
  return Array.isArray(item.options);
@@ -156,8 +216,11 @@ var GrSelect_default = /* @__PURE__ */ defineComponent({
156
216
  });
157
217
  const effectiveOptionsView = computed(() => {
158
218
  if (props.view === "link" && props.multiple && props.optionsView === "native") return "panel";
219
+ if ((props.filterable || props.loading || props.tags) && props.optionsView === "native") return "panel";
159
220
  return props.optionsView;
160
221
  });
222
+ const showSearchInput = computed(() => (props.filterable || props.allowCustomValue) && effectiveOptionsView.value === "panel");
223
+ const showTags = computed(() => props.multiple && props.tags && effectiveOptionsView.value === "panel");
161
224
  const nativeCustomOptionVisible = computed(() => {
162
225
  if (!props.allowCustomValue) return false;
163
226
  if (effectiveOptionsView.value !== "native") return false;
@@ -188,16 +251,6 @@ var GrSelect_default = /* @__PURE__ */ defineComponent({
188
251
  watch(() => props.view, () => {
189
252
  if (open.value) updateFloatingPosition();
190
253
  });
191
- watch(open, async (isOpen) => {
192
- if (!isOpen) {
193
- customValue.value = "";
194
- return;
195
- }
196
- if (props.allowCustomValue) {
197
- await nextTick();
198
- customInputRef.value?.focus();
199
- }
200
- }, { immediate: true });
201
254
  const panelClasses = computed(() => {
202
255
  return grSelectPanelClasses;
203
256
  });
@@ -210,7 +263,7 @@ var GrSelect_default = /* @__PURE__ */ defineComponent({
210
263
  * Группировка сохраняется, фильтрация по `customValue` скрывает пустые группы.
211
264
  */
212
265
  const panelItems = computed(() => {
213
- const q = props.allowCustomValue ? customValue.value.trim().toLowerCase() : "";
266
+ const q = props.allowCustomValue || props.filterable ? customValue.value.trim().toLowerCase() : "";
214
267
  const items = [];
215
268
  if (props.allowCustomValue && !props.multiple && modelSingle.value !== "" && !hasModelInOptions.value) {
216
269
  const custom = {
@@ -290,18 +343,124 @@ var GrSelect_default = /* @__PURE__ */ defineComponent({
290
343
  if (!v) return;
291
344
  toggleValue(v);
292
345
  }
346
+ function removeValue(value) {
347
+ if (props.disabled) return;
348
+ if (!props.multiple) return;
349
+ emitValue(selectedValues.value.filter((v) => v !== value));
350
+ }
351
+ function tagRemoveLabel(option) {
352
+ return t("gr.select.removeTag", "Remove {label}", { label: option.label });
353
+ }
354
+ const listboxId = useId();
355
+ const activeIndex = ref(-1);
356
+ function optionDomId(value) {
357
+ return `${listboxId}-opt-${value}`;
358
+ }
359
+ const navigableValues = computed(() => panelItems.value.filter((item) => item.kind === "option" && !item.option.disabled).map((item) => item.option.value));
360
+ const activeValue = computed(() => activeIndex.value >= 0 ? navigableValues.value[activeIndex.value] : void 0);
361
+ const activeDescendantId = computed(() => open.value && activeValue.value !== void 0 ? optionDomId(activeValue.value) : void 0);
362
+ function clampActive(index) {
363
+ const len = navigableValues.value.length;
364
+ if (len === 0) return -1;
365
+ return (index % len + len) % len;
366
+ }
367
+ async function scrollActiveIntoView() {
368
+ await nextTick();
369
+ const value = activeValue.value;
370
+ if (value === void 0) return;
371
+ document.getElementById(optionDomId(value))?.scrollIntoView?.({ block: "nearest" });
372
+ }
373
+ function setActive(index) {
374
+ activeIndex.value = clampActive(index);
375
+ scrollActiveIntoView();
376
+ }
377
+ function initActiveIndex() {
378
+ const selectedIdx = navigableValues.value.findIndex((v) => isSelected(v));
379
+ activeIndex.value = selectedIdx >= 0 ? selectedIdx : navigableValues.value.length ? 0 : -1;
380
+ }
381
+ function openDropdown() {
382
+ if (props.disabled || open.value) return;
383
+ open.value = true;
384
+ }
385
+ let typeaheadBuffer = "";
386
+ let typeaheadTimer = null;
387
+ function typeahead(char) {
388
+ typeaheadBuffer += char.toLowerCase();
389
+ if (typeaheadTimer) clearTimeout(typeaheadTimer);
390
+ typeaheadTimer = setTimeout(() => {
391
+ typeaheadBuffer = "";
392
+ }, 600);
393
+ const idx = navigableValues.value.findIndex((v) => {
394
+ return flatOptions.value.find((o) => o.value === v)?.label.toLowerCase().startsWith(typeaheadBuffer);
395
+ });
396
+ if (idx >= 0) setActive(idx);
397
+ }
398
+ function onComboKeydown(event) {
399
+ if (props.disabled) return;
400
+ if (!open.value) {
401
+ if ([
402
+ "ArrowDown",
403
+ "ArrowUp",
404
+ "Enter",
405
+ " "
406
+ ].includes(event.key)) {
407
+ event.preventDefault();
408
+ openDropdown();
409
+ }
410
+ return;
411
+ }
412
+ switch (event.key) {
413
+ case "ArrowDown":
414
+ event.preventDefault();
415
+ setActive(activeIndex.value + 1);
416
+ break;
417
+ case "ArrowUp":
418
+ event.preventDefault();
419
+ setActive(activeIndex.value - 1);
420
+ break;
421
+ case "Home":
422
+ event.preventDefault();
423
+ setActive(0);
424
+ break;
425
+ case "End":
426
+ event.preventDefault();
427
+ setActive(navigableValues.value.length - 1);
428
+ break;
429
+ case "Enter":
430
+ event.preventDefault();
431
+ if (props.allowCustomValue && canAddCustom.value) addCustom();
432
+ else if (activeValue.value !== void 0) toggleValue(activeValue.value);
433
+ break;
434
+ case "Tab":
435
+ closeDropdown();
436
+ break;
437
+ default: if (!showSearchInput.value && event.key.length === 1 && !event.metaKey && !event.ctrlKey && !event.altKey) typeahead(event.key);
438
+ }
439
+ }
440
+ watch(open, async (isOpen) => {
441
+ if (!isOpen) {
442
+ customValue.value = "";
443
+ activeIndex.value = -1;
444
+ return;
445
+ }
446
+ initActiveIndex();
447
+ if (showSearchInput.value) {
448
+ await nextTick();
449
+ customInputRef.value?.focus();
450
+ }
451
+ }, { immediate: true });
293
452
  const showNativeChevron = computed(() => {
294
453
  return effectiveOptionsView.value === "native" && props.view !== "link" && !props.multiple;
295
454
  });
296
455
  const nativeClearOptionVisible = computed(() => {
297
- if (!props.clearable) return false;
456
+ if (!resolvedClearable.value) return false;
298
457
  if (effectiveOptionsView.value !== "native") return false;
299
458
  if (props.multiple) return false;
300
459
  if (!props.options) return true;
301
460
  return !flatOptions.value.some((o) => o.value === "");
302
461
  });
303
462
  const panelClearVisible = computed(() => {
304
- if (!props.clearable) return false;
463
+ if (!resolvedClearable.value) return false;
305
464
  if (effectiveOptionsView.value !== "panel") return false;
306
465
  if (props.view === "link") return false;
307
466
  return hasSelection.value;
@@ -309,10 +468,10 @@ var GrSelect_default = /* @__PURE__ */ defineComponent({
309
468
  const nativeClassName = computed(() => {
310
469
  return grSelectNativeClass({
311
470
  view: props.view,
312
- size: props.size,
471
+ size: resolvedSize.value,
313
472
  disabled: props.disabled,
314
- variant: props.variant,
315
- underline: props.underline,
473
+ variant: resolvedVariant.value,
474
+ underline: resolvedUnderline.value,
316
475
  showNativeChevron: showNativeChevron.value
317
476
  });
318
477
  });
@@ -324,9 +483,9 @@ var GrSelect_default = /* @__PURE__ */ defineComponent({
324
483
  */
325
484
  const isLinkNative = computed(() => props.view === "link" && effectiveOptionsView.value === "native");
326
485
  const linkNativeLabelClassName = computed(() => grSelectLinkNativeLabelClass({
327
- size: props.size,
328
- variant: props.variant,
329
- underline: props.underline,
486
+ size: resolvedSize.value,
487
+ variant: resolvedVariant.value,
488
+ underline: resolvedUnderline.value,
330
489
  disabled: props.disabled
331
490
  }));
332
491
  const linkNativeDisplayText = computed(() => {
@@ -336,10 +495,10 @@ var GrSelect_default = /* @__PURE__ */ defineComponent({
336
495
  return grSelectTriggerClass({
337
496
  view: props.view,
338
497
  optionsView: effectiveOptionsView.value,
339
- size: props.size,
498
+ size: resolvedSize.value,
340
499
  disabled: props.disabled,
341
- variant: props.variant,
342
- underline: props.underline
500
+ variant: resolvedVariant.value,
501
+ underline: resolvedUnderline.value
343
502
  });
344
503
  });
345
504
  function onChange(e) {
@@ -362,10 +521,14 @@ var GrSelect_default = /* @__PURE__ */ defineComponent({
362
521
  class: normalizeClass(rootClass.value)
363
522
  }, [
364
523
  createElementVNode("select", {
524
+ id: resolvedId.value,
365
525
  "data-gr-select-native": "",
366
526
  multiple: __props.multiple,
367
527
  disabled: __props.disabled,
368
528
  "aria-label": __props.ariaLabel,
529
+ "aria-invalid": isInvalid.value ? "true" : void 0,
530
+ "aria-describedby": describedBy.value,
531
+ "aria-required": isRequired.value ? "true" : void 0,
369
532
  class: normalizeClass(isLinkNative.value ? unref(grSelectLinkNativeOverlayClass) : [baseClassName.value, nativeClassName.value]),
370
533
  onChange
371
534
  }, [nativeClearOptionVisible.value ? (openBlock(), createElementBlock("option", {
@@ -412,39 +575,70 @@ var GrSelect_default = /* @__PURE__ */ defineComponent({
412
575
  class: normalizeClass(rootClass.value)
413
576
  }, [
414
577
  createElementVNode("button", {
578
+ id: resolvedId.value,
415
579
  "data-testid": "gr-select-trigger",
416
580
  "data-gr-select-trigger": "",
417
581
  type: "button",
418
582
  disabled: __props.disabled,
419
583
  "aria-label": __props.ariaLabel,
584
+ "aria-invalid": isInvalid.value ? "true" : void 0,
585
+ "aria-describedby": describedBy.value,
586
+ "aria-required": isRequired.value ? "true" : void 0,
420
587
  role: "combobox",
421
- "aria-readonly": "true",
588
+ "aria-haspopup": "listbox",
589
+ "aria-controls": open.value ? unref(listboxId) : void 0,
590
+ "aria-activedescendant": activeDescendantId.value,
422
591
  "aria-expanded": open.value ? "true" : "false",
423
- class: normalizeClass([baseClassName.value, triggerClassName.value]),
424
- onClick: toggleDropdown
592
+ class: normalizeClass([
593
+ baseClassName.value,
594
+ triggerClassName.value,
595
+ showTags.value && hasSelection.value ? "!h-auto min-h-10 !py-1.5" : ""
596
+ ]),
597
+ onClick: toggleDropdown,
598
+ onKeydown: onComboKeydown
425
599
  }, [createElementVNode("span", _hoisted_9, [renderSlot(_ctx.$slots, "value", {
426
600
  selectedOptions: selectedOptions.value,
427
601
  selectedValues: selectedValues.value,
428
602
  displayLabel: displayLabel.value,
429
603
  placeholder: __props.placeholder,
430
604
  hasSelection: hasSelection.value
431
- }, () => [createElementVNode("span", { class: normalizeClass(["block truncate", !hasSelection.value ? "text-[var(--muted-fg)]" : ""]) }, toDisplayString(displayText.value), 3)])]), panelClearVisible.value ? (openBlock(), createElementBlock("span", _hoisted_10)) : (openBlock(), createElementBlock("span", _hoisted_11, [..._cache[2] || (_cache[2] = [createElementVNode("span", {
605
+ }, () => [showTags.value && hasSelection.value ? (openBlock(), createElementBlock("span", _hoisted_10, [(openBlock(true), createElementBlock(Fragment, null, renderList(selectedOptions.value, (opt) => {
606
+ return openBlock(), createElementBlock("span", {
607
+ key: opt.value,
608
+ "data-gr-select-tag": "",
609
+ class: "inline-flex items-center gap-1 rounded-[6px] bg-[var(--gr-muted)] pl-2 pr-1 py-0.5 text-[12px] text-[var(--gr-fg)] max-w-full"
610
+ }, [createElementVNode("span", _hoisted_11, toDisplayString(opt.label), 1), !__props.disabled ? (openBlock(), createElementBlock("span", {
611
+ key: 0,
612
+ "data-gr-select-tag-remove": "",
613
+ role: "button",
614
+ tabindex: "-1",
615
+ "aria-label": tagRemoveLabel(opt),
616
+ class: "inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-[4px] text-[var(--gr-muted-fg)] hover:text-[var(--gr-fg)] hover:bg-[color-mix(in_srgb,var(--gr-fg)_12%,transparent)]",
617
+ onClick: withModifiers(($event) => removeValue(opt.value), ["stop"])
618
+ }, [..._cache[2] || (_cache[2] = [createElementVNode("span", {
619
+ class: "i-lucide-x block h-3 w-3",
620
+ "aria-hidden": "true"
621
+ }, null, -1)])], 8, _hoisted_12)) : createCommentVNode("", true)]);
622
+ }), 128))])) : (openBlock(), createElementBlock("span", {
623
+ key: 1,
624
+ class: normalizeClass(["block truncate", !hasSelection.value ? "text-[var(--gr-muted-fg)]" : ""])
625
+ }, toDisplayString(displayText.value), 3))])]), panelClearVisible.value ? (openBlock(), createElementBlock("span", _hoisted_13)) : (openBlock(), createElementBlock("span", _hoisted_14, [..._cache[3] || (_cache[3] = [createElementVNode("span", {
432
626
  class: "i-lucide-chevron-down block h-4 w-4",
433
627
  "aria-hidden": "true"
434
- }, null, -1)])]))], 10, _hoisted_8),
628
+ }, null, -1)])]))], 42, _hoisted_8),
435
629
  panelClearVisible.value ? (openBlock(), createElementBlock("button", {
436
630
  key: 0,
437
631
  "data-testid": "gr-select-clear",
438
632
  "data-gr-select-clear": "",
439
633
  type: "button",
440
- class: "absolute top-1/2 -translate-y-1/2 right-3 h-6 w-6 inline-flex items-center justify-center rounded-md text-[var(--muted-fg)] hover:text-[var(--fg)] hover:bg-[color-mix(in_srgb,var(--muted)_25%,transparent)] disabled:opacity-50",
634
+ class: "absolute top-1/2 -translate-y-1/2 right-3 h-6 w-6 inline-flex items-center justify-center rounded-md text-[var(--gr-muted-fg)] hover:text-[var(--gr-fg)] hover:bg-[color-mix(in_srgb,var(--gr-muted)_25%,transparent)] disabled:opacity-50",
441
635
  disabled: __props.disabled,
442
636
  "aria-label": resolvedClearLabel.value,
443
637
  onClick: withModifiers(clearSelection, ["stop"])
444
- }, [..._cache[3] || (_cache[3] = [createElementVNode("span", {
638
+ }, [..._cache[4] || (_cache[4] = [createElementVNode("span", {
445
639
  class: "i-lucide-x inline-block h-4 w-4",
446
640
  "aria-hidden": "true"
447
- }, null, -1)])], 8, _hoisted_12)) : createCommentVNode("", true),
641
+ }, null, -1)])], 8, _hoisted_15)) : createCommentVNode("", true),
448
642
  (openBlock(), createBlock(Teleport, { to: "body" }, [createVNode(Transition, {
449
643
  "enter-active-class": "transition ease-out duration-150",
450
644
  "enter-from-class": "transform opacity-0 scale-95",
@@ -459,57 +653,69 @@ var GrSelect_default = /* @__PURE__ */ defineComponent({
459
653
  "data-testid": "gr-select-panel",
460
654
  "data-gr-select-panel": "",
461
655
  style: normalizeStyle(unref(floatingStyle))
462
- }, [createElementVNode("div", { class: normalizeClass(panelClasses.value) }, [__props.allowCustomValue ? (openBlock(), createElementBlock("div", _hoisted_13, [createVNode(GrInput_default, {
656
+ }, [createElementVNode("div", { class: normalizeClass(panelClasses.value) }, [showSearchInput.value ? (openBlock(), createElementBlock("div", _hoisted_16, [createVNode(GrInput_default, {
463
657
  ref_key: "customInputRef",
464
658
  ref: customInputRef,
465
659
  modelValue: customValue.value,
466
660
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => customValue.value = $event),
467
661
  "data-testid": "gr-select-custom-input",
662
+ "data-gr-select-search": "",
468
663
  type: "text",
469
- placeholder: resolvedCustomValuePlaceholder.value,
664
+ placeholder: resolvedSearchPlaceholder.value,
470
665
  size: "sm",
471
- onKeydown: withKeys(withModifiers(addCustom, ["prevent"]), ["enter"])
472
- }, null, 8, [
473
- "modelValue",
474
- "placeholder",
475
- "onKeydown"
476
- ])])) : createCommentVNode("", true), createElementVNode("div", {
666
+ onKeydown: onComboKeydown
667
+ }, null, 8, ["modelValue", "placeholder"])])) : createCommentVNode("", true), __props.loading ? (openBlock(), createElementBlock("div", _hoisted_17, [_cache[5] || (_cache[5] = createElementVNode("span", {
668
+ class: "i-lucide-loader-circle block h-4 w-4 animate-spin",
669
+ "aria-hidden": "true"
670
+ }, null, -1)), createElementVNode("span", null, toDisplayString(resolvedLoadingText.value), 1)])) : (openBlock(), createElementBlock("div", {
671
+ key: 2,
672
+ id: unref(listboxId),
477
673
  "data-gr-select-listbox": "",
478
674
  class: "p-1 overflow-auto",
479
675
  style: normalizeStyle({ maxHeight: `${__props.dropdownMaxHeight}px` }),
480
676
  role: "listbox",
481
677
  "aria-multiselectable": __props.multiple ? "true" : void 0
482
- }, [canAddCustom.value ? (openBlock(), createElementBlock("button", {
483
- key: 0,
484
- "data-testid": "gr-select-add-option",
485
- "data-gr-select-add-option": "",
486
- type: "button",
487
- class: normalizeClass(["rounded-[10px] px-3 py-2 text-left text-[13px] hover:bg-[color-mix(in_srgb,var(--muted)_30%,transparent)]", [__props.view === "link" ? "block min-w-full w-max whitespace-nowrap" : "w-full"]]),
488
- onClick: addCustom
489
- }, toDisplayString(unref(t)("gr.select.addOption", "Add \"{value}\"", { value: customValue.value.trim() })), 3)) : createCommentVNode("", true), (openBlock(true), createElementBlock(Fragment, null, renderList(panelItems.value, (item) => {
490
- return openBlock(), createElementBlock(Fragment, { key: item.key }, [item.kind === "group" ? (openBlock(), createElementBlock("div", {
678
+ }, [
679
+ canAddCustom.value ? (openBlock(), createElementBlock("button", {
491
680
  key: 0,
492
- "data-gr-select-group-label": "",
493
- role: "presentation",
494
- class: normalizeClass(["px-3 pt-2 pb-1 text-[11px] font-semibold uppercase tracking-wide text-[var(--muted-fg)]", [__props.view === "link" ? "block min-w-full w-max whitespace-nowrap" : ""]])
495
- }, toDisplayString(item.label), 3)) : (openBlock(), createElementBlock("button", {
496
- key: 1,
497
- "data-gr-select-option": "",
681
+ "data-testid": "gr-select-add-option",
682
+ "data-gr-select-add-option": "",
498
683
  type: "button",
499
- role: "option",
500
- disabled: item.option.disabled,
501
- "aria-selected": isSelected(item.option.value) ? "true" : "false",
502
- "aria-disabled": item.option.disabled ? "true" : void 0,
503
- class: normalizeClass(["rounded-[10px] px-3 py-2 text-left text-[13px]", [__props.view === "link" ? "block min-w-full w-max whitespace-nowrap" : "w-full", item.option.disabled ? "cursor-not-allowed opacity-50" : "hover:bg-[color-mix(in_srgb,var(--muted)_30%,transparent)]"]]),
504
- onClick: ($event) => toggleValue(item.option.value)
505
- }, [renderSlot(_ctx.$slots, "option", {
506
- option: item.option,
507
- selected: isSelected(item.option.value)
508
- }, () => [createElementVNode("span", _hoisted_16, [createElementVNode("span", {
509
- class: normalizeClass(["inline-block h-4 w-4 shrink-0", isSelected(item.option.value) ? "i-lucide-check text-[var(--primary)]" : ""]),
510
- "aria-hidden": "true"
511
- }, null, 2), createElementVNode("span", _hoisted_17, toDisplayString(item.option.label), 1)])])], 10, _hoisted_15))], 64);
512
- }), 128))], 12, _hoisted_14)], 2)], 4), [[vShow, open.value]])]),
684
+ class: normalizeClass(["rounded-[10px] px-3 py-2 text-left text-[13px] hover:bg-[color-mix(in_srgb,var(--gr-muted)_30%,transparent)]", [__props.view === "link" ? "block min-w-full w-max whitespace-nowrap" : "w-full"]]),
685
+ onClick: addCustom
686
+ }, toDisplayString(unref(t)("gr.select.addOption", "Add \"{value}\"", { value: customValue.value.trim() })), 3)) : createCommentVNode("", true),
687
+ (openBlock(true), createElementBlock(Fragment, null, renderList(panelItems.value, (item) => {
688
+ return openBlock(), createElementBlock(Fragment, { key: item.key }, [item.kind === "group" ? (openBlock(), createElementBlock("div", {
689
+ key: 0,
690
+ "data-gr-select-group-label": "",
691
+ role: "presentation",
692
+ class: normalizeClass(["px-3 pt-2 pb-1 text-[11px] font-semibold uppercase tracking-wide text-[var(--gr-muted-fg)]", [__props.view === "link" ? "block min-w-full w-max whitespace-nowrap" : ""]])
693
+ }, toDisplayString(item.label), 3)) : (openBlock(), createElementBlock("button", {
694
+ key: 1,
695
+ id: optionDomId(item.option.value),
696
+ "data-gr-select-option": "",
697
+ type: "button",
698
+ role: "option",
699
+ disabled: item.option.disabled,
700
+ "aria-selected": isSelected(item.option.value) ? "true" : "false",
701
+ "aria-disabled": item.option.disabled ? "true" : void 0,
702
+ class: normalizeClass(["rounded-[10px] px-3 py-2 text-left text-[13px]", [
703
+ __props.view === "link" ? "block min-w-full w-max whitespace-nowrap" : "w-full",
704
+ item.option.disabled ? "cursor-not-allowed opacity-50" : "hover:bg-[color-mix(in_srgb,var(--gr-muted)_30%,transparent)]",
705
+ activeValue.value === item.option.value && !item.option.disabled ? "bg-[color-mix(in_srgb,var(--gr-muted)_30%,transparent)]" : ""
706
+ ]]),
707
+ onClick: ($event) => toggleValue(item.option.value),
708
+ onMousemove: ($event) => activeIndex.value = navigableValues.value.indexOf(item.option.value)
709
+ }, [renderSlot(_ctx.$slots, "option", {
710
+ option: item.option,
711
+ selected: isSelected(item.option.value)
712
+ }, () => [createElementVNode("span", _hoisted_20, [createElementVNode("span", {
713
+ class: normalizeClass(["inline-block h-4 w-4 shrink-0", isSelected(item.option.value) ? "i-lucide-check text-[var(--gr-primary)]" : ""]),
714
+ "aria-hidden": "true"
715
+ }, null, 2), createElementVNode("span", _hoisted_21, toDisplayString(item.option.label), 1)])])], 42, _hoisted_19))], 64);
716
+ }), 128)),
717
+ !panelItems.value.length && !canAddCustom.value ? (openBlock(), createElementBlock("div", _hoisted_22, toDisplayString(resolvedNoResultsText.value), 1)) : createCommentVNode("", true)
718
+ ], 12, _hoisted_18))], 2)], 4), [[vShow, open.value]])]),
513
719
  _: 3
514
720
  })]))
515
721
  ], 2)), [[unref(vClickOutside), {