@feugene/granularity 0.4.0 → 0.4.2

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 (432) hide show
  1. package/dist/chunks/_plugin-vue_export-helper-BG_EqiDU.js +8 -0
  2. package/dist/chunks/adapter-K6zZTzBi.js +4 -0
  3. package/dist/chunks/adapter-K6zZTzBi.js.map +1 -0
  4. package/dist/chunks/arrow-up-DNXrMoAI.js +23 -0
  5. package/dist/chunks/arrow-up-DNXrMoAI.js.map +1 -0
  6. package/dist/chunks/classTokens-BPeBXNzu.js +6 -0
  7. package/dist/chunks/classTokens-BPeBXNzu.js.map +1 -0
  8. package/dist/chunks/config-1I95Zy4V.js +14 -0
  9. package/dist/chunks/config-1I95Zy4V.js.map +1 -0
  10. package/dist/chunks/config-2wgwWaAB.js +8 -0
  11. package/dist/chunks/config-2wgwWaAB.js.map +1 -0
  12. package/dist/chunks/config-BA0BWYzs.js +8 -0
  13. package/dist/chunks/config-BA0BWYzs.js.map +1 -0
  14. package/dist/chunks/config-BCPyma1I.js +8 -0
  15. package/dist/chunks/config-BCPyma1I.js.map +1 -0
  16. package/dist/chunks/config-BDlh6iNz.js +24 -0
  17. package/dist/chunks/config-BDlh6iNz.js.map +1 -0
  18. package/dist/chunks/config-BKRmlivc.js +8 -0
  19. package/dist/chunks/config-BKRmlivc.js.map +1 -0
  20. package/dist/chunks/config-BN-B2K4r.js +17 -0
  21. package/dist/chunks/config-BN-B2K4r.js.map +1 -0
  22. package/dist/chunks/config-BNOf_qjD.js +40 -0
  23. package/dist/chunks/config-BNOf_qjD.js.map +1 -0
  24. package/dist/chunks/config-BaMO9dQh.js +20 -0
  25. package/dist/chunks/config-BaMO9dQh.js.map +1 -0
  26. package/dist/chunks/config-Bv2G0OU6.js +8 -0
  27. package/dist/chunks/config-Bv2G0OU6.js.map +1 -0
  28. package/dist/chunks/config-BvuQUBtZ.js +21 -0
  29. package/dist/chunks/config-BvuQUBtZ.js.map +1 -0
  30. package/dist/chunks/config-BzZGpWsj.js +9 -0
  31. package/dist/chunks/config-BzZGpWsj.js.map +1 -0
  32. package/dist/chunks/config-C0j836dC.js +8 -0
  33. package/dist/chunks/config-C0j836dC.js.map +1 -0
  34. package/dist/chunks/config-C2iI7_QX.js +9 -0
  35. package/dist/chunks/config-C2iI7_QX.js.map +1 -0
  36. package/dist/chunks/config-C4AlNm912.js +13 -0
  37. package/dist/chunks/config-C4AlNm912.js.map +1 -0
  38. package/dist/chunks/config-C5SJXHQ4.js +9 -0
  39. package/dist/chunks/config-C5SJXHQ4.js.map +1 -0
  40. package/dist/chunks/config-C6SBJxcH.js +8 -0
  41. package/dist/chunks/config-C6SBJxcH.js.map +1 -0
  42. package/dist/chunks/config-CByfsV-z2.js +9 -0
  43. package/dist/chunks/config-CByfsV-z2.js.map +1 -0
  44. package/dist/chunks/config-CM7nbATU2.js +78 -0
  45. package/dist/chunks/config-CM7nbATU2.js.map +1 -0
  46. package/dist/chunks/config-CMZE2fu0.js +9 -0
  47. package/dist/chunks/config-CMZE2fu0.js.map +1 -0
  48. package/dist/chunks/config-CU_CBd0k.js +22 -0
  49. package/dist/chunks/config-CU_CBd0k.js.map +1 -0
  50. package/dist/chunks/config-CUgvsjZx.js +171 -0
  51. package/dist/chunks/config-CUgvsjZx.js.map +1 -0
  52. package/dist/chunks/config-CWvHiaqr2.js +23 -0
  53. package/dist/chunks/config-CWvHiaqr2.js.map +1 -0
  54. package/dist/chunks/config-Cf0J6wCX.js +58 -0
  55. package/dist/chunks/config-Cf0J6wCX.js.map +1 -0
  56. package/dist/chunks/config-CgAY2WP9.js +9 -0
  57. package/dist/chunks/config-CgAY2WP9.js.map +1 -0
  58. package/dist/chunks/config-Cgc-D1K4.js +9 -0
  59. package/dist/chunks/config-Cgc-D1K4.js.map +1 -0
  60. package/dist/chunks/config-D19pyP4D.js +35 -0
  61. package/dist/chunks/config-D19pyP4D.js.map +1 -0
  62. package/dist/chunks/config-DCQO6H6h.js +11 -0
  63. package/dist/chunks/config-DCQO6H6h.js.map +1 -0
  64. package/dist/chunks/config-DEv4m-ZP.js +58 -0
  65. package/dist/chunks/config-DEv4m-ZP.js.map +1 -0
  66. package/dist/chunks/config-DFRYOcrP.js +9 -0
  67. package/dist/chunks/config-DFRYOcrP.js.map +1 -0
  68. package/dist/chunks/config-DTpwUHgF.js +9 -0
  69. package/dist/chunks/config-DTpwUHgF.js.map +1 -0
  70. package/dist/chunks/config-DW_RqmUp.js +8 -0
  71. package/dist/chunks/config-DW_RqmUp.js.map +1 -0
  72. package/dist/chunks/config-Da90XGsi.js +38 -0
  73. package/dist/chunks/config-Da90XGsi.js.map +1 -0
  74. package/dist/chunks/config-DgRJlF00.js +53 -0
  75. package/dist/chunks/config-DgRJlF00.js.map +1 -0
  76. package/dist/chunks/config-Dkq0HeLe.js +9 -0
  77. package/dist/chunks/config-Dkq0HeLe.js.map +1 -0
  78. package/dist/chunks/config-DmI1IQvI2.js +8 -0
  79. package/dist/chunks/config-DmI1IQvI2.js.map +1 -0
  80. package/dist/chunks/config-Dnu4VuO0.js +8 -0
  81. package/dist/chunks/config-Dnu4VuO0.js.map +1 -0
  82. package/dist/chunks/config-DxqpV-KM.js +45 -0
  83. package/dist/chunks/config-DxqpV-KM.js.map +1 -0
  84. package/dist/chunks/config-TyzU6gLf.js +8 -0
  85. package/dist/chunks/config-TyzU6gLf.js.map +1 -0
  86. package/dist/chunks/config-XwI6t8cn.js +39 -0
  87. package/dist/chunks/config-XwI6t8cn.js.map +1 -0
  88. package/dist/chunks/config-bpQYM5O-.js +44 -0
  89. package/dist/chunks/config-bpQYM5O-.js.map +1 -0
  90. package/dist/chunks/config-etXh7Bsr2.js +9 -0
  91. package/dist/chunks/config-etXh7Bsr2.js.map +1 -0
  92. package/dist/chunks/config-fCcRwjIB.js +13 -0
  93. package/dist/chunks/config-fCcRwjIB.js.map +1 -0
  94. package/dist/chunks/config-nfOMJXVs.js +9 -0
  95. package/dist/chunks/config-nfOMJXVs.js.map +1 -0
  96. package/dist/chunks/config-qJXIIY1E.js +8 -0
  97. package/dist/chunks/config-qJXIIY1E.js.map +1 -0
  98. package/dist/chunks/config-r6hzn2Bn2.js +9 -0
  99. package/dist/chunks/config-r6hzn2Bn2.js.map +1 -0
  100. package/dist/chunks/config-rQlbnEKn.js +8 -0
  101. package/dist/chunks/config-rQlbnEKn.js.map +1 -0
  102. package/dist/chunks/dialogShared-BtXUk6Zc.js +32 -0
  103. package/dist/chunks/dialogShared-BtXUk6Zc.js.map +1 -0
  104. package/dist/chunks/en-BeJa78lP.js +48 -0
  105. package/dist/chunks/en-BeJa78lP.js.map +1 -0
  106. package/dist/chunks/es-BPqm7rLm.js +20 -0
  107. package/dist/chunks/es-BPqm7rLm.js.map +1 -0
  108. package/dist/chunks/es-axYOwwWD.js +48 -0
  109. package/dist/chunks/es-axYOwwWD.js.map +1 -0
  110. package/dist/chunks/fileValidation-CwJA8Vmn.js +219 -0
  111. package/dist/chunks/fileValidation-CwJA8Vmn.js.map +1 -0
  112. package/dist/chunks/{grBadgeStyles-Bu4H8bFc.js → grBadgeStyles-pqqbVgLk.js} +18 -13
  113. package/dist/chunks/grBadgeStyles-pqqbVgLk.js.map +1 -0
  114. package/dist/chunks/{grButtonStyles-C5k0bN2e.js → grButtonStyles-BxZW2x0-.js} +60 -52
  115. package/dist/chunks/grButtonStyles-BxZW2x0-.js.map +1 -0
  116. package/dist/chunks/{grDropdownStyles-149X1NeB.js → grDropdownStyles-DMp7RrI9.js} +10 -9
  117. package/dist/chunks/grDropdownStyles-DMp7RrI9.js.map +1 -0
  118. package/dist/chunks/grLoadingStyles-CrxZHFL0.js +17 -0
  119. package/dist/chunks/grLoadingStyles-CrxZHFL0.js.map +1 -0
  120. package/dist/chunks/{grModalStyles-Dmd4havY.js → grModalStyles-Dv2NXBKi.js} +20 -11
  121. package/dist/chunks/grModalStyles-Dv2NXBKi.js.map +1 -0
  122. package/dist/chunks/grSelectStyles-B7doeAQp.js +50 -0
  123. package/dist/chunks/grSelectStyles-B7doeAQp.js.map +1 -0
  124. package/dist/chunks/granularityI18n-GCqUz_lo.js +26 -0
  125. package/dist/chunks/granularityI18n-GCqUz_lo.js.map +1 -0
  126. package/dist/chunks/info-C0bHmdZq.js +26 -0
  127. package/dist/chunks/info-C0bHmdZq.js.map +1 -0
  128. package/dist/chunks/loader-circle-B2rWDk5u.js +23 -0
  129. package/dist/chunks/loader-circle-B2rWDk5u.js.map +1 -0
  130. package/dist/chunks/ru-Dqh-2C00.js +48 -0
  131. package/dist/chunks/ru-Dqh-2C00.js.map +1 -0
  132. package/dist/chunks/safelist-BF822K15.js +13 -0
  133. package/dist/chunks/safelist-BF822K15.js.map +1 -0
  134. package/dist/chunks/safelist-BY7z8fOl.js +24 -0
  135. package/dist/chunks/safelist-BY7z8fOl.js.map +1 -0
  136. package/dist/chunks/{shared-BqUqjuxn.js → shared-Cu5QkNmt.js} +149 -111
  137. package/dist/chunks/shared-Cu5QkNmt.js.map +1 -0
  138. package/dist/chunks/transition-mJ3PZCHH.js +1692 -0
  139. package/dist/chunks/transition-mJ3PZCHH.js.map +1 -0
  140. package/dist/chunks/x-Pa6C2hwi.js +23 -0
  141. package/dist/chunks/x-Pa6C2hwi.js.map +1 -0
  142. package/dist/chunks/x-circle-DQSlBLmX.js +67 -0
  143. package/dist/chunks/x-circle-DQSlBLmX.js.map +1 -0
  144. package/dist/components/GrAlert/chunks/GrAlert-BjerGcU8.js +146 -0
  145. package/dist/components/GrAlert/chunks/GrAlert-BjerGcU8.js.map +1 -0
  146. package/dist/components/GrAlert/index.js +3 -3
  147. package/dist/components/GrAvatar/chunks/GrAvatar-BjnPKNAL.js +41 -0
  148. package/dist/components/GrAvatar/chunks/GrAvatar-BjnPKNAL.js.map +1 -0
  149. package/dist/components/GrAvatar/index.js +3 -3
  150. package/dist/components/GrBadge/chunks/GrBadge-wuIb4_2K.js +32 -0
  151. package/dist/components/GrBadge/chunks/GrBadge-wuIb4_2K.js.map +1 -0
  152. package/dist/components/GrBadge/index.js +3 -3
  153. package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-CxtamOZ-.js +33 -0
  154. package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-CxtamOZ-.js.map +1 -0
  155. package/dist/components/GrBadgeWrap/index.js +3 -3
  156. package/dist/components/GrBottomNav/chunks/GrBottomNav-CsmQ7mTJ.js +31 -0
  157. package/dist/components/GrBottomNav/chunks/GrBottomNav-CsmQ7mTJ.js.map +1 -0
  158. package/dist/components/GrBottomNav/index.js +3 -3
  159. package/dist/components/GrButton/chunks/GrButton-BmGdp8-4.js +83 -0
  160. package/dist/components/GrButton/chunks/GrButton-BmGdp8-4.js.map +1 -0
  161. package/dist/components/GrButton/index.js +5 -5
  162. package/dist/components/GrButtonGroup/chunks/GrButtonGroup-CBj4tpms.js +21 -0
  163. package/dist/components/GrButtonGroup/chunks/GrButtonGroup-CBj4tpms.js.map +1 -0
  164. package/dist/components/GrButtonGroup/index.js +3 -3
  165. package/dist/components/GrCard/chunks/GrCard-xtDcXBr7.js +11 -0
  166. package/dist/components/GrCard/chunks/GrCard-xtDcXBr7.js.map +1 -0
  167. package/dist/components/GrCard/index.js +3 -3
  168. package/dist/components/GrCheckbox/chunks/GrCheckbox-Bt3d7ckE.js +134 -0
  169. package/dist/components/GrCheckbox/chunks/GrCheckbox-Bt3d7ckE.js.map +1 -0
  170. package/dist/components/GrCheckbox/index.js +3 -3
  171. package/dist/components/GrCollapse/chunks/GrCollapse-HU20VTVn.js +205 -0
  172. package/dist/components/GrCollapse/chunks/GrCollapse-HU20VTVn.js.map +1 -0
  173. package/dist/components/GrCollapse/index.js +3 -3
  174. package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-DjGOX9Hd.js +131 -0
  175. package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-DjGOX9Hd.js.map +1 -0
  176. package/dist/components/GrConfirmDialog/index.js +3 -3
  177. package/dist/components/GrDataTable/chunks/GrDataTable-QDOJWmdY.js +179 -0
  178. package/dist/components/GrDataTable/chunks/GrDataTable-QDOJWmdY.js.map +1 -0
  179. package/dist/components/GrDataTable/index.js +3 -3
  180. package/dist/components/GrDialog/chunks/GrDialog-gObmaVEl.js +221 -0
  181. package/dist/components/GrDialog/chunks/GrDialog-gObmaVEl.js.map +1 -0
  182. package/dist/components/GrDialog/index.js +4 -4
  183. package/dist/components/GrDrawer/chunks/GrDrawer-BJL_gTxI.js +156 -0
  184. package/dist/components/GrDrawer/chunks/GrDrawer-BJL_gTxI.js.map +1 -0
  185. package/dist/components/GrDrawer/index.js +3 -3
  186. package/dist/components/GrDropdown/chunks/GrDropdown-BkACCXdp.js +151 -0
  187. package/dist/components/GrDropdown/chunks/GrDropdown-BkACCXdp.js.map +1 -0
  188. package/dist/components/GrDropdown/index.js +3 -3
  189. package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-BEenXrJw.js +309 -0
  190. package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-BEenXrJw.js.map +1 -0
  191. package/dist/components/GrDropdownMenu/index.js +3 -3
  192. package/dist/components/GrEmptyState/chunks/GrEmptyState-BLbMJFW-.js +62 -0
  193. package/dist/components/GrEmptyState/chunks/GrEmptyState-BLbMJFW-.js.map +1 -0
  194. package/dist/components/GrEmptyState/index.js +3 -3
  195. package/dist/components/GrFileUpload/chunks/GrFileUpload-u01j9S0t.js +368 -0
  196. package/dist/components/GrFileUpload/chunks/GrFileUpload-u01j9S0t.js.map +1 -0
  197. package/dist/components/GrFileUpload/index.js +4 -4
  198. package/dist/components/GrFormField/chunks/GrFormField-C6PfAs4u.js +35 -0
  199. package/dist/components/GrFormField/chunks/GrFormField-C6PfAs4u.js.map +1 -0
  200. package/dist/components/GrFormField/index.js +3 -3
  201. package/dist/components/GrFormFile/chunks/GrFormFile-DdM8Bc2B.js +313 -0
  202. package/dist/components/GrFormFile/chunks/GrFormFile-DdM8Bc2B.js.map +1 -0
  203. package/dist/components/GrFormFile/index.js +3 -3
  204. package/dist/components/GrFormSection/chunks/GrFormSection-5djEaQZQ.js +35 -0
  205. package/dist/components/GrFormSection/chunks/GrFormSection-5djEaQZQ.js.map +1 -0
  206. package/dist/components/GrFormSection/index.js +3 -3
  207. package/dist/components/GrIcon/chunks/GrIcon-BV7RBU_0.js +32 -0
  208. package/dist/components/GrIcon/chunks/GrIcon-BV7RBU_0.js.map +1 -0
  209. package/dist/components/GrIcon/index.js +3 -3
  210. package/dist/components/GrImageViewer/chunks/GrImageViewer-CjSnohW7.js +397 -0
  211. package/dist/components/GrImageViewer/chunks/GrImageViewer-CjSnohW7.js.map +1 -0
  212. package/dist/components/GrImageViewer/index.js +3 -3
  213. package/dist/components/GrInput/chunks/GrInput-ghxaTf6d.js +211 -0
  214. package/dist/components/GrInput/chunks/GrInput-ghxaTf6d.js.map +1 -0
  215. package/dist/components/GrInput/index.js +3 -3
  216. package/dist/components/GrInputTag/chunks/GrInputTag-B0x4U0Yk.js +257 -0
  217. package/dist/components/GrInputTag/chunks/GrInputTag-B0x4U0Yk.js.map +1 -0
  218. package/dist/components/GrInputTag/index.js +3 -3
  219. package/dist/components/GrLink/chunks/GrLink-C7-Y1u88.js +80 -0
  220. package/dist/components/GrLink/chunks/GrLink-C7-Y1u88.js.map +1 -0
  221. package/dist/components/GrLink/index.js +3 -3
  222. package/dist/components/GrList/chunks/GrList--Ib4zLNw.js +77 -0
  223. package/dist/components/GrList/chunks/GrList--Ib4zLNw.js.map +1 -0
  224. package/dist/components/GrList/index.js +3 -3
  225. package/dist/components/GrLoading/chunks/GrLoading-C3QZKwE-.js +69 -0
  226. package/dist/components/GrLoading/chunks/GrLoading-C3QZKwE-.js.map +1 -0
  227. package/dist/components/GrLoading/index.js +3 -3
  228. package/dist/components/GrModal/chunks/GrModal-gvfvlp7k.js +168 -0
  229. package/dist/components/GrModal/chunks/GrModal-gvfvlp7k.js.map +1 -0
  230. package/dist/components/GrModal/index.js +4 -4
  231. package/dist/components/GrNavbar/chunks/GrNavbar-nIyuiVj1.js +75 -0
  232. package/dist/components/GrNavbar/chunks/GrNavbar-nIyuiVj1.js.map +1 -0
  233. package/dist/components/GrNavbar/index.js +3 -3
  234. package/dist/components/GrNumberInput/chunks/GrNumberInput-B0mPLjdv.js +397 -0
  235. package/dist/components/GrNumberInput/chunks/GrNumberInput-B0mPLjdv.js.map +1 -0
  236. package/dist/components/GrNumberInput/index.js +3 -3
  237. package/dist/components/GrPagination/chunks/GrPagination-BSTO6flk.js +114 -0
  238. package/dist/components/GrPagination/chunks/GrPagination-BSTO6flk.js.map +1 -0
  239. package/dist/components/GrPagination/index.js +3 -3
  240. package/dist/components/GrProgressBar/chunks/GrProgressBar-MvMnzsJl.js +39 -0
  241. package/dist/components/GrProgressBar/chunks/GrProgressBar-MvMnzsJl.js.map +1 -0
  242. package/dist/components/GrProgressBar/index.js +3 -3
  243. package/dist/components/GrPromptDialog/chunks/GrPromptDialog-DKhbN6ji.js +190 -0
  244. package/dist/components/GrPromptDialog/chunks/GrPromptDialog-DKhbN6ji.js.map +1 -0
  245. package/dist/components/GrPromptDialog/index.js +3 -3
  246. package/dist/components/GrRadio/chunks/GrRadio-BxBs3WHq.js +184 -0
  247. package/dist/components/GrRadio/chunks/GrRadio-BxBs3WHq.js.map +1 -0
  248. package/dist/components/GrRadio/index.js +3 -3
  249. package/dist/components/GrRadioGroup/chunks/GrRadioGroup-CEAfJQ6A.js +80 -0
  250. package/dist/components/GrRadioGroup/chunks/GrRadioGroup-CEAfJQ6A.js.map +1 -0
  251. package/dist/components/GrRadioGroup/index.js +3 -3
  252. package/dist/components/GrSegmented/chunks/GrSegmented-Bwn2qOY4.js +323 -0
  253. package/dist/components/GrSegmented/chunks/GrSegmented-Bwn2qOY4.js.map +1 -0
  254. package/dist/components/GrSegmented/index.js +3 -3
  255. package/dist/components/GrSelect/chunks/GrSelect-9wRWAu2R.js +443 -0
  256. package/dist/components/GrSelect/chunks/GrSelect-9wRWAu2R.js.map +1 -0
  257. package/dist/components/GrSelect/index.js +3 -3
  258. package/dist/components/GrSidebar/chunks/GrSidebar-CSZ3RpFB.js +44 -0
  259. package/dist/components/GrSidebar/chunks/GrSidebar-CSZ3RpFB.js.map +1 -0
  260. package/dist/components/GrSidebar/index.js +3 -3
  261. package/dist/components/GrSkeleton/chunks/GrSkeleton-DKXkqWDa.js +33 -0
  262. package/dist/components/GrSkeleton/chunks/GrSkeleton-DKXkqWDa.js.map +1 -0
  263. package/dist/components/GrSkeleton/index.js +3 -3
  264. package/dist/components/GrSwitch/chunks/GrSwitch-CdBxwV3k.js +79 -0
  265. package/dist/components/GrSwitch/chunks/GrSwitch-CdBxwV3k.js.map +1 -0
  266. package/dist/components/GrSwitch/index.js +3 -3
  267. package/dist/components/GrTable/chunks/GrTable-CyQ9uw8A.js +57 -0
  268. package/dist/components/GrTable/chunks/GrTable-CyQ9uw8A.js.map +1 -0
  269. package/dist/components/GrTable/index.js +3 -3
  270. package/dist/components/GrTabs/chunks/GrTabs-BpF8AAUz.js +118 -0
  271. package/dist/components/GrTabs/chunks/GrTabs-BpF8AAUz.js.map +1 -0
  272. package/dist/components/GrTabs/index.js +3 -3
  273. package/dist/components/GrTextarea/chunks/GrTextarea-DFS9ZkrA.js +71 -0
  274. package/dist/components/GrTextarea/chunks/GrTextarea-DFS9ZkrA.js.map +1 -0
  275. package/dist/components/GrTextarea/index.js +3 -3
  276. package/dist/components/GrToaster/chunks/GrToaster-3Mf0Moxt.js +171 -0
  277. package/dist/components/GrToaster/chunks/GrToaster-3Mf0Moxt.js.map +1 -0
  278. package/dist/components/GrToaster/index.js +3 -3
  279. package/dist/components/GrTooltip/chunks/GrTooltip-BvmsukLW.js +55 -0
  280. package/dist/components/GrTooltip/chunks/GrTooltip-BvmsukLW.js.map +1 -0
  281. package/dist/components/GrTooltip/index.js +3 -3
  282. package/dist/components/GrTree/chunks/GrTree-C2kN-O4Q.js +734 -0
  283. package/dist/components/GrTree/chunks/GrTree-C2kN-O4Q.js.map +1 -0
  284. package/dist/components/GrTree/index.js +3 -3
  285. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-Da-CpRqm.js +454 -0
  286. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-Da-CpRqm.js.map +1 -0
  287. package/dist/components/GrTreeSelect/index.js +3 -3
  288. package/dist/composables/useTheme.js +39 -30
  289. package/dist/composables/useTheme.js.map +1 -0
  290. package/dist/composables/useToast.js +41 -34
  291. package/dist/composables/useToast.js.map +1 -0
  292. package/dist/directives/autofocus.js +55 -0
  293. package/dist/directives/autofocus.js.map +1 -0
  294. package/dist/directives/autosize.js +117 -0
  295. package/dist/directives/autosize.js.map +1 -0
  296. package/dist/directives/clickOutside.js +96 -0
  297. package/dist/directives/clickOutside.js.map +1 -0
  298. package/dist/directives/dropzone.js +164 -0
  299. package/dist/directives/dropzone.js.map +1 -0
  300. package/dist/directives/hotkey.js +138 -0
  301. package/dist/directives/hotkey.js.map +1 -0
  302. package/dist/directives/index.js +7 -2
  303. package/dist/directives/loading.js +163 -0
  304. package/dist/directives/loading.js.map +1 -0
  305. package/dist/fileValidation/index.js +2 -2
  306. package/dist/granular-provider-node.js +23 -14
  307. package/dist/granular-provider-node.js.map +1 -0
  308. package/dist/granular-provider.js +3 -3
  309. package/dist/granular-provider.js.map +1 -0
  310. package/dist/i18n/all.js +6 -6
  311. package/dist/i18n/all.js.map +1 -0
  312. package/dist/i18n/index.js +3 -3
  313. package/dist/index.js +110 -105
  314. package/dist/vue/index.js +64 -26
  315. package/dist/vue/index.js.map +1 -0
  316. package/package.json +25 -1
  317. package/dist/chunks/_plugin-vue_export-helper-CHO2XVys.js +0 -8
  318. package/dist/chunks/adapter-D5uYoOZj.js +0 -4
  319. package/dist/chunks/arrow-up-Dv3dC3hu.js +0 -23
  320. package/dist/chunks/classTokens-CT1tqF2j.js +0 -6
  321. package/dist/chunks/config-B5JCvHys.js +0 -13
  322. package/dist/chunks/config-BDXa5Sna2.js +0 -9
  323. package/dist/chunks/config-BG5_FuZ-.js +0 -34
  324. package/dist/chunks/config-BMYKG1oB.js +0 -10
  325. package/dist/chunks/config-BQREEXFD.js +0 -8
  326. package/dist/chunks/config-BUZtbeTr.js +0 -40
  327. package/dist/chunks/config-BVXycfiO.js +0 -9
  328. package/dist/chunks/config-BZW-RL6E.js +0 -14
  329. package/dist/chunks/config-BhbfV-Is.js +0 -48
  330. package/dist/chunks/config-BmYFupZh.js +0 -8
  331. package/dist/chunks/config-BsZc_QQ-2.js +0 -20
  332. package/dist/chunks/config-C1Sn7mn-.js +0 -27
  333. package/dist/chunks/config-C4_REX-3.js +0 -9
  334. package/dist/chunks/config-CBFllZZ4.js +0 -9
  335. package/dist/chunks/config-CDyD_fCt.js +0 -8
  336. package/dist/chunks/config-CJeG727i.js +0 -149
  337. package/dist/chunks/config-CLawBqde.js +0 -21
  338. package/dist/chunks/config-CMz46RPG.js +0 -8
  339. package/dist/chunks/config-CO-7HRZd2.js +0 -8
  340. package/dist/chunks/config-CS7E7LME.js +0 -9
  341. package/dist/chunks/config-CVy124Xj.js +0 -8
  342. package/dist/chunks/config-CcixQGaN.js +0 -47
  343. package/dist/chunks/config-CiVXZxyQ.js +0 -9
  344. package/dist/chunks/config-CoMQmunP.js +0 -8
  345. package/dist/chunks/config-Cq6ufYtp.js +0 -9
  346. package/dist/chunks/config-D8CIEWcb.js +0 -8
  347. package/dist/chunks/config-D8hKc39m.js +0 -18
  348. package/dist/chunks/config-D9MxGwCJ.js +0 -8
  349. package/dist/chunks/config-DBXTZE36.js +0 -15
  350. package/dist/chunks/config-DK9C8O7L.js +0 -9
  351. package/dist/chunks/config-DTegOmx2.js +0 -8
  352. package/dist/chunks/config-DYI8XADo.js +0 -47
  353. package/dist/chunks/config-DlidGf7P.js +0 -8
  354. package/dist/chunks/config-DtNe7EIX.js +0 -35
  355. package/dist/chunks/config-EdWeK_ge.js +0 -17
  356. package/dist/chunks/config-FGAkxHFh.js +0 -8
  357. package/dist/chunks/config-M76gNxd2.js +0 -37
  358. package/dist/chunks/config-NuqoO_Of.js +0 -33
  359. package/dist/chunks/config-QsovJrku2.js +0 -66
  360. package/dist/chunks/config-R6F6zRJk.js +0 -9
  361. package/dist/chunks/config-SLwkDc4Q2.js +0 -9
  362. package/dist/chunks/config-aJ7sb62Y.js +0 -8
  363. package/dist/chunks/config-b9nc87Oc.js +0 -9
  364. package/dist/chunks/config-dSI8RttH2.js +0 -8
  365. package/dist/chunks/config-im2VHeSM.js +0 -9
  366. package/dist/chunks/config-vKeQ035f.js +0 -9
  367. package/dist/chunks/config-vMcxHlWi.js +0 -14
  368. package/dist/chunks/dialogShared-CONROtU2.js +0 -26
  369. package/dist/chunks/directives-Dr5NPOT8.js +0 -530
  370. package/dist/chunks/en-j3simI0h.js +0 -41
  371. package/dist/chunks/es-CIT9s_vo.js +0 -4
  372. package/dist/chunks/es-CLpJj7KP.js +0 -41
  373. package/dist/chunks/fileValidation-LFD-vwil.js +0 -193
  374. package/dist/chunks/grLoadingStyles-Bjo7ylmq.js +0 -15
  375. package/dist/chunks/grSelectStyles-C3QKIn1J.js +0 -40
  376. package/dist/chunks/granularityI18n-8_v1B11L.js +0 -24
  377. package/dist/chunks/info-CNJnuTYC.js +0 -26
  378. package/dist/chunks/loader-circle-C5vCCMfB.js +0 -23
  379. package/dist/chunks/ru-CiOZPnBu.js +0 -41
  380. package/dist/chunks/safelist-Bq32hAXc.js +0 -13
  381. package/dist/chunks/safelist-CLcTRYB-.js +0 -22
  382. package/dist/chunks/transition-BJXMi52x.js +0 -1617
  383. package/dist/chunks/x--kxrj3ez.js +0 -23
  384. package/dist/chunks/x-circle-ChJ87u1v.js +0 -61
  385. package/dist/components/GrAlert/chunks/GrAlert-DLHkusb-.js +0 -129
  386. package/dist/components/GrAvatar/chunks/GrAvatar-BFYH3HJw.js +0 -32
  387. package/dist/components/GrBadge/chunks/GrBadge-D_AoqGrn.js +0 -27
  388. package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-C_N0QJfA.js +0 -26
  389. package/dist/components/GrBottomNav/chunks/GrBottomNav-Chpu3SVd.js +0 -21
  390. package/dist/components/GrButton/chunks/GrButton-BXVVt6Od.js +0 -67
  391. package/dist/components/GrButtonGroup/chunks/GrButtonGroup-CmnYHVH7.js +0 -16
  392. package/dist/components/GrCard/chunks/GrCard-DEpN6Ptf.js +0 -10
  393. package/dist/components/GrCheckbox/chunks/GrCheckbox-DF3vJApB.js +0 -111
  394. package/dist/components/GrCollapse/chunks/GrCollapse-D7QYRqNa.js +0 -150
  395. package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-C7Eh8-Vn.js +0 -111
  396. package/dist/components/GrDataTable/chunks/GrDataTable-Dxsg1NMP.js +0 -142
  397. package/dist/components/GrDialog/chunks/GrDialog-BSd4-uP5.js +0 -169
  398. package/dist/components/GrDrawer/chunks/GrDrawer-DBBSwe1s.js +0 -135
  399. package/dist/components/GrDropdown/chunks/GrDropdown-BELyRP4A.js +0 -110
  400. package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-B8fuk7iP.js +0 -233
  401. package/dist/components/GrEmptyState/chunks/GrEmptyState-BPGoafJI.js +0 -49
  402. package/dist/components/GrFileUpload/chunks/GrFileUpload-BPzx3LEM.js +0 -294
  403. package/dist/components/GrFormField/chunks/GrFormField-Cn8g9eFP.js +0 -28
  404. package/dist/components/GrFormFile/chunks/GrFormFile-DfinD5Iv.js +0 -248
  405. package/dist/components/GrFormSection/chunks/GrFormSection-dKpQw-vh.js +0 -27
  406. package/dist/components/GrIcon/chunks/GrIcon-CXIHuG7L.js +0 -25
  407. package/dist/components/GrImageViewer/chunks/GrImageViewer-CQSNx-D7.js +0 -322
  408. package/dist/components/GrInput/chunks/GrInput-CLKX1inm.js +0 -158
  409. package/dist/components/GrInputTag/chunks/GrInputTag-BAtLody2.js +0 -214
  410. package/dist/components/GrLink/chunks/GrLink-BpXnly-Y.js +0 -59
  411. package/dist/components/GrList/chunks/GrList-BrFc7VdS.js +0 -55
  412. package/dist/components/GrLoading/chunks/GrLoading-dFuoryMY.js +0 -53
  413. package/dist/components/GrModal/chunks/GrModal-uaWXH08K.js +0 -136
  414. package/dist/components/GrNavbar/chunks/GrNavbar-KzLHgdjX.js +0 -62
  415. package/dist/components/GrNumberInput/chunks/GrNumberInput-rENn1802.js +0 -315
  416. package/dist/components/GrPagination/chunks/GrPagination-DP0x3rx6.js +0 -93
  417. package/dist/components/GrProgressBar/chunks/GrProgressBar-DpW93sOi.js +0 -29
  418. package/dist/components/GrPromptDialog/chunks/GrPromptDialog-ASfBwyzQ.js +0 -158
  419. package/dist/components/GrRadio/chunks/GrRadio-8BOo97XV.js +0 -147
  420. package/dist/components/GrRadioGroup/chunks/GrRadioGroup-BymbUmqI.js +0 -66
  421. package/dist/components/GrSegmented/chunks/GrSegmented-CK5C_lN7.js +0 -250
  422. package/dist/components/GrSelect/chunks/GrSelect-BMfc1-vs.js +0 -314
  423. package/dist/components/GrSidebar/chunks/GrSidebar-C4SXXhfO.js +0 -29
  424. package/dist/components/GrSkeleton/chunks/GrSkeleton-QlieOdpY.js +0 -25
  425. package/dist/components/GrSwitch/chunks/GrSwitch-Cefiutzu.js +0 -64
  426. package/dist/components/GrTable/chunks/GrTable-k_FUiJQk.js +0 -44
  427. package/dist/components/GrTabs/chunks/GrTabs-B46P-lUc.js +0 -98
  428. package/dist/components/GrTextarea/chunks/GrTextarea-BX7L1MJk.js +0 -57
  429. package/dist/components/GrToaster/chunks/GrToaster-C4l_BjOh.js +0 -139
  430. package/dist/components/GrTooltip/chunks/GrTooltip-BqRAzuLT.js +0 -37
  431. package/dist/components/GrTree/chunks/GrTree-C2CXR_vW.js +0 -614
  432. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-DAAay-QB.js +0 -353
@@ -0,0 +1,8 @@
1
+ //#region \0plugin-vue:export-helper
2
+ var _plugin_vue_export_helper_default = (sfc, props) => {
3
+ const target = sfc.__vccOpts || sfc;
4
+ for (const [key, val] of props) target[key] = val;
5
+ return target;
6
+ };
7
+ //#endregion
8
+ export { _plugin_vue_export_helper_default as t };
@@ -0,0 +1,4 @@
1
+ //#region src/i18n/adapter.ts
2
+ var GRANULARITY_I18N_KEY = Symbol.for("@feugene/granularity");
3
+ //#endregion
4
+ export { GRANULARITY_I18N_KEY as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"adapter-K6zZTzBi.js","names":[],"sources":["../../src/i18n/adapter.ts"],"sourcesContent":["import type { InjectionKey, Ref } from 'vue'\n\nexport type GranularityI18nParams = Record<string, unknown>\n\nexport type GranularityI18nAdapter = {\n t: (key: string, params?: GranularityI18nParams) => string\n locale?: Readonly<Ref<string>>\n syncLocale?: (locale: string) => void | Promise<void>\n}\n\nexport const GRANULARITY_I18N_KEY: InjectionKey<GranularityI18nAdapter | null> = Symbol.for(\"@feugene/granularity\")"],"mappings":";AAUA,IAAa,uBAAoE,OAAO,IAAI,uBAAA"}
@@ -0,0 +1,23 @@
1
+ import { createElementBlock, createElementVNode, markRaw, openBlock } from "vue";
2
+ //#region ~icons/lucide/arrow-up
3
+ var _hoisted_1 = {
4
+ viewBox: "0 0 24 24",
5
+ width: "1.2em",
6
+ height: "1.2em"
7
+ };
8
+ function render$1(_ctx, _cache) {
9
+ return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createElementVNode("path", {
10
+ fill: "none",
11
+ stroke: "currentColor",
12
+ "stroke-linecap": "round",
13
+ "stroke-linejoin": "round",
14
+ "stroke-width": "2",
15
+ d: "m5 12l7-7l7 7m-7 7V5"
16
+ }, null, -1)])]);
17
+ }
18
+ var arrow_up_default = markRaw({
19
+ name: "lucide-arrow-up",
20
+ render: render$1
21
+ });
22
+ //#endregion
23
+ export { arrow_up_default as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arrow-up-DNXrMoAI.js","names":[],"sources":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ //#region src/components/shared/classTokens.ts
2
+ function splitClassTokens(value) {
3
+ return value.split(/\s+/).filter(Boolean);
4
+ }
5
+ //#endregion
6
+ export { splitClassTokens as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"classTokens-BPeBXNzu.js","names":[],"sources":["../../src/components/shared/classTokens.ts"],"sourcesContent":["export function splitClassTokens(value: string): string[] {\n return value.split(/\\s+/).filter(Boolean)\n}"],"mappings":";AAAA,SAAgB,iBAAiB,OAAyB;AACxD,QAAO,MAAM,MAAM,MAAM,CAAC,OAAO,QAAQ"}
@@ -0,0 +1,14 @@
1
+ import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
2
+ //#region src/components/GrPromptDialog/config.ts
3
+ var grPromptDialogConfig = defineGranularComponent(import.meta.url, {
4
+ name: "GrPromptDialog",
5
+ dependencies: [
6
+ "GrButton",
7
+ "GrDialog",
8
+ "GrFormField",
9
+ "GrInput"
10
+ ],
11
+ safelist: []
12
+ });
13
+ //#endregion
14
+ export { grPromptDialogConfig as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-1I95Zy4V.js","names":[],"sources":["../../src/components/GrPromptDialog/config.ts"],"sourcesContent":["import {defineGranularComponent} from '@feugene/unocss-preset-granular/contract'\n\nexport const grPromptDialogConfig = defineGranularComponent(import.meta.url, {\n name: 'GrPromptDialog',\n dependencies: ['GrButton', 'GrDialog', 'GrFormField', 'GrInput'],\n safelist: [],\n})"],"mappings":";;AAEA,IAAa,uBAAuB,wBAAwB,OAAO,KAAK,KAAK;CACzE,MAAM;CACN,cAAc;EAAC;EAAY;EAAY;EAAe;EAAU;CAChE,UAAU,EAAE;CACf,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
2
+ //#region src/components/GrIcon/config.ts
3
+ var grIconConfig = defineGranularComponent(import.meta.url, {
4
+ name: "GrIcon",
5
+ safelist: []
6
+ });
7
+ //#endregion
8
+ export { grIconConfig as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-2wgwWaAB.js","names":[],"sources":["../../src/components/GrIcon/config.ts"],"sourcesContent":["import {defineGranularComponent} from '@feugene/unocss-preset-granular/contract'\n\nexport const grIconConfig = defineGranularComponent(import.meta.url, {\n name: 'GrIcon',\n safelist: [],\n})"],"mappings":";;AAEA,IAAa,eAAe,wBAAwB,OAAO,KAAK,KAAK;CACjE,MAAM;CACN,UAAU,EAAE;CACf,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
2
+ //#region src/components/GrImageViewer/config.ts
3
+ var grImageViewerConfig = defineGranularComponent(import.meta.url, {
4
+ name: "GrImageViewer",
5
+ safelist: []
6
+ });
7
+ //#endregion
8
+ export { grImageViewerConfig as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-BA0BWYzs.js","names":[],"sources":["../../src/components/GrImageViewer/config.ts"],"sourcesContent":["import { defineGranularComponent } from '@feugene/unocss-preset-granular/contract'\n\nexport const grImageViewerConfig = defineGranularComponent(import.meta.url, {\n name: 'GrImageViewer',\n // Литералы из шаблона UnoCSS находит сканом — safelist не нужен.\n safelist: [],\n})\n"],"mappings":";;AAEA,IAAa,sBAAsB,wBAAwB,OAAO,KAAK,KAAK;CAC1E,MAAM;CAEN,UAAU,EAAE;CACb,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
2
+ //#region src/components/GrFormSection/config.ts
3
+ var grFormSectionConfig = defineGranularComponent(import.meta.url, {
4
+ name: "GrFormSection",
5
+ safelist: []
6
+ });
7
+ //#endregion
8
+ export { grFormSectionConfig as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-BCPyma1I.js","names":[],"sources":["../../src/components/GrFormSection/config.ts"],"sourcesContent":["import { defineGranularComponent } from '@feugene/unocss-preset-granular/contract'\n\nexport const grFormSectionConfig = defineGranularComponent(import.meta.url, {\n name: 'GrFormSection',\n safelist: [],\n})\n"],"mappings":";;AAEA,IAAa,sBAAsB,wBAAwB,OAAO,KAAK,KAAK;CAC1E,MAAM;CACN,UAAU,EAAE;CACb,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { t as splitClassTokens } from "./classTokens-BPeBXNzu.js";
2
+ import { c as selectSizeClassBySize, o as selectLinkSizeClassBySize, s as selectLinkVariantClassByVariant } from "./grSelectStyles-B7doeAQp.js";
3
+ import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
4
+ //#region src/components/GrSelect/safelist.ts
5
+ var grSelectSafelist = [...new Set([
6
+ ...Object.values(selectSizeClassBySize).flatMap(splitClassTokens),
7
+ ...Object.values(selectLinkSizeClassBySize).flatMap(splitClassTokens),
8
+ ...Object.values(selectLinkVariantClassByVariant).flatMap(splitClassTokens),
9
+ ...splitClassTokens("no-underline underline underline-offset-4 hover:underline hover:underline-offset-4"),
10
+ ...splitClassTokens("disabled:opacity-60 disabled:cursor-not-allowed disabled:text-[var(--muted-fg)] disabled:no-underline"),
11
+ ...splitClassTokens("disabled:opacity-50 disabled:cursor-not-allowed"),
12
+ ...splitClassTokens("appearance-none pr-9"),
13
+ ...splitClassTokens("inline-flex items-center gap-1 text-left"),
14
+ ...splitClassTokens("flex items-center justify-between text-left")
15
+ ])];
16
+ //#endregion
17
+ //#region src/components/GrSelect/config.ts
18
+ var grSelectConfig = defineGranularComponent(import.meta.url, {
19
+ name: "GrSelect",
20
+ dependencies: ["GrInput"],
21
+ safelist: grSelectSafelist
22
+ });
23
+ //#endregion
24
+ export { grSelectSafelist as n, grSelectConfig as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-BDlh6iNz.js","names":[],"sources":["../../src/components/GrSelect/safelist.ts","../../src/components/GrSelect/config.ts"],"sourcesContent":["import { splitClassTokens } from '../shared/classTokens'\nimport {\n selectLinkSizeClassBySize,\n selectLinkVariantClassByVariant,\n selectSizeClassBySize,\n} from './grSelectStyles'\n\n// Правило: литералы из шаблонов (`defaultBaseClass`/`linkBaseClass`/`grSelectPanelClasses`\n// и прочие статические строки) в safelist не дублируем — UnoCSS находит их сканом.\n// Сюда попадают только токены, которые собираются в рантайме через `grSelectClass*`.\nexport const grSelectSafelist = [...new Set([\n ...Object.values(selectSizeClassBySize).flatMap(splitClassTokens),\n ...Object.values(selectLinkSizeClassBySize).flatMap(splitClassTokens),\n ...Object.values(selectLinkVariantClassByVariant).flatMap(splitClassTokens),\n ...splitClassTokens('no-underline underline underline-offset-4 hover:underline hover:underline-offset-4'),\n ...splitClassTokens('disabled:opacity-60 disabled:cursor-not-allowed disabled:text-[var(--muted-fg)] disabled:no-underline'),\n ...splitClassTokens('disabled:opacity-50 disabled:cursor-not-allowed'),\n ...splitClassTokens('appearance-none pr-9'),\n ...splitClassTokens('inline-flex items-center gap-1 text-left'),\n ...splitClassTokens('flex items-center justify-between text-left'),\n])]\n","import {defineGranularComponent} from '@feugene/unocss-preset-granular/contract'\n\nimport { grSelectSafelist } from './safelist'\n\nexport const grSelectConfig = defineGranularComponent(import.meta.url, {\n name: 'GrSelect',\n dependencies: ['GrInput'],\n safelist: grSelectSafelist,\n})"],"mappings":";;;;AAUA,IAAa,mBAAmB,CAAC,GAAG,IAAI,IAAI;CAC1C,GAAG,OAAO,OAAO,sBAAsB,CAAC,QAAQ,iBAAiB;CACjE,GAAG,OAAO,OAAO,0BAA0B,CAAC,QAAQ,iBAAiB;CACrE,GAAG,OAAO,OAAO,gCAAgC,CAAC,QAAQ,iBAAiB;CAC3E,GAAG,iBAAiB,qFAAqF;CACzG,GAAG,iBAAiB,wGAAwG;CAC5H,GAAG,iBAAiB,kDAAkD;CACtE,GAAG,iBAAiB,uBAAuB;CAC3C,GAAG,iBAAiB,2CAA2C;CAC/D,GAAG,iBAAiB,8CAA8C;CACnE,CAAC,CAAC;;;AChBH,IAAa,iBAAiB,wBAAwB,OAAO,KAAK,KAAK;CACrE,MAAM;CACN,cAAc,CAAC,UAAU;CACzB,UAAU;CACX,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
2
+ //#region src/components/GrBottomNav/config.ts
3
+ var grBottomNavConfig = defineGranularComponent(import.meta.url, {
4
+ name: "GrBottomNav",
5
+ safelist: []
6
+ });
7
+ //#endregion
8
+ export { grBottomNavConfig as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-BKRmlivc.js","names":[],"sources":["../../src/components/GrBottomNav/config.ts"],"sourcesContent":["import {defineGranularComponent} from '@feugene/unocss-preset-granular/contract'\n\nexport const grBottomNavConfig = defineGranularComponent(import.meta.url, {\n name: 'GrBottomNav',\n safelist: [],\n})"],"mappings":";;AAEA,IAAa,oBAAoB,wBAAwB,OAAO,KAAK,KAAK;CACtE,MAAM;CACN,UAAU,EAAE;CACf,CAAA"}
@@ -0,0 +1,17 @@
1
+ import { t as splitClassTokens } from "./classTokens-BPeBXNzu.js";
2
+ import { i as rootModeClass, n as rootBackdropBlurClass, r as rootBackgroundClass } from "./grLoadingStyles-CrxZHFL0.js";
3
+ import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
4
+ //#region src/components/GrLoading/safelist.ts
5
+ var grLoadingSafelist = [...new Set([
6
+ ...Object.values(rootModeClass).flatMap(splitClassTokens),
7
+ ...splitClassTokens(rootBackgroundClass),
8
+ ...splitClassTokens(rootBackdropBlurClass)
9
+ ])];
10
+ //#endregion
11
+ //#region src/components/GrLoading/config.ts
12
+ var grLoadingConfig = defineGranularComponent(import.meta.url, {
13
+ name: "GrLoading",
14
+ safelist: grLoadingSafelist
15
+ });
16
+ //#endregion
17
+ export { grLoadingSafelist as n, grLoadingConfig as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-BN-B2K4r.js","names":[],"sources":["../../src/components/GrLoading/safelist.ts","../../src/components/GrLoading/config.ts"],"sourcesContent":["import {splitClassTokens} from '../shared/classTokens'\nimport {rootBackdropBlurClass, rootBackgroundClass, rootModeClass} from './grLoadingStyles'\n\nexport const grLoadingSafelist = [...new Set([\n ...Object.values(rootModeClass).flatMap(splitClassTokens),\n ...splitClassTokens(rootBackgroundClass),\n ...splitClassTokens(rootBackdropBlurClass),\n])]\n","import {defineGranularComponent} from '@feugene/unocss-preset-granular/contract'\n\nimport { grLoadingSafelist } from './safelist'\n\nexport const grLoadingConfig = defineGranularComponent(import.meta.url, {\n name: 'GrLoading',\n safelist: grLoadingSafelist,\n})"],"mappings":";;;;AAGA,IAAa,oBAAoB,CAAC,GAAG,IAAI,IAAI;CACzC,GAAG,OAAO,OAAO,cAAc,CAAC,QAAQ,iBAAiB;CACzD,GAAG,iBAAiB,oBAAoB;CACxC,GAAG,iBAAiB,sBAAsB;CAC7C,CAAC,CAAC;;;ACHH,IAAa,kBAAkB,wBAAwB,OAAO,KAAK,KAAK;CACtE,MAAM;CACN,UAAU;CACX,CAAA"}
@@ -0,0 +1,40 @@
1
+ import { t as splitClassTokens } from "./classTokens-BPeBXNzu.js";
2
+ import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
3
+ //#region src/components/GrTreeSelect/grTreeSelectStyles.ts
4
+ var sizeClassBySize = {
5
+ xs: "h-7 px-2.5 text-[12px]",
6
+ sm: "h-8 px-3 text-[13px]",
7
+ md: "h-10 px-3 text-[14px]",
8
+ lg: "h-11 px-4 text-[16px]"
9
+ };
10
+ var borderClassByState = {
11
+ default: "border-[var(--brd)]",
12
+ success: "border-[var(--ds-success)] focus-visible:ring-[var(--ds-success)]",
13
+ warning: "border-[var(--ds-warning)] focus-visible:ring-[var(--ds-warning)]",
14
+ danger: "border-[var(--ds-danger)] focus-visible:ring-[var(--ds-danger)]"
15
+ };
16
+ function grTreeSelectClass(options) {
17
+ return [
18
+ sizeClassBySize[options.size],
19
+ "pr-9",
20
+ options.invalid ? borderClassByState.danger : borderClassByState[options.state]
21
+ ].join(" ");
22
+ }
23
+ var grTreeSelectPanelClass = "rounded-[var(--ds-radius-xl)] border border-[var(--brd)] bg-[var(--card)] text-[var(--card-fg)] shadow-[var(--ds-shadow-2)] overflow-hidden";
24
+ //#endregion
25
+ //#region src/components/GrTreeSelect/safelist.ts
26
+ var grTreeSelectSafelist = [...new Set([
27
+ ...Object.values(sizeClassBySize).flatMap(splitClassTokens),
28
+ ...Object.values(borderClassByState).flatMap(splitClassTokens),
29
+ "pr-9",
30
+ ...splitClassTokens(grTreeSelectPanelClass)
31
+ ])];
32
+ //#endregion
33
+ //#region src/components/GrTreeSelect/config.ts
34
+ var grTreeSelectConfig = defineGranularComponent(import.meta.url, {
35
+ name: "GrTreeSelect",
36
+ safelist: grTreeSelectSafelist,
37
+ dependencies: ["GrInput", "GrTree"]
38
+ });
39
+ //#endregion
40
+ export { grTreeSelectPanelClass as i, grTreeSelectSafelist as n, grTreeSelectClass as r, grTreeSelectConfig as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-BNOf_qjD.js","names":[],"sources":["../../src/components/GrTreeSelect/grTreeSelectStyles.ts","../../src/components/GrTreeSelect/safelist.ts","../../src/components/GrTreeSelect/config.ts"],"sourcesContent":["import type { GrInputSize } from '../GrInput'\n\nexport type GrTreeSelectState = 'default' | 'success' | 'warning' | 'danger'\n\nexport const sizeClassBySize: Record<GrInputSize, string> = {\n xs: 'h-7 px-2.5 text-[12px]',\n sm: 'h-8 px-3 text-[13px]',\n md: 'h-10 px-3 text-[14px]',\n lg: 'h-11 px-4 text-[16px]',\n}\n\nexport const borderClassByState: Record<GrTreeSelectState, string> = {\n default: 'border-[var(--brd)]',\n success: 'border-[var(--ds-success)] focus-visible:ring-[var(--ds-success)]',\n warning: 'border-[var(--ds-warning)] focus-visible:ring-[var(--ds-warning)]',\n danger: 'border-[var(--ds-danger)] focus-visible:ring-[var(--ds-danger)]',\n}\n\nexport function grTreeSelectClass(options: { size: GrInputSize, state: GrTreeSelectState, invalid: boolean }): string {\n return [\n sizeClassBySize[options.size],\n 'pr-9',\n options.invalid ? borderClassByState.danger : borderClassByState[options.state],\n ].join(' ')\n}\n\nexport const grTreeSelectPanelClass = 'rounded-[var(--ds-radius-xl)] border border-[var(--brd)] bg-[var(--card)] text-[var(--card-fg)] shadow-[var(--ds-shadow-2)] overflow-hidden'\n","import { splitClassTokens } from '../shared/classTokens'\nimport { borderClassByState, grTreeSelectPanelClass, sizeClassBySize } from './grTreeSelectStyles'\n\nexport const grTreeSelectSafelist = [...new Set([\n ...Object.values(sizeClassBySize).flatMap(splitClassTokens),\n ...Object.values(borderClassByState).flatMap(splitClassTokens),\n 'pr-9',\n ...splitClassTokens(grTreeSelectPanelClass),\n])]\n","import {defineGranularComponent} from '@feugene/unocss-preset-granular/contract'\n\nimport { grTreeSelectSafelist } from './safelist'\n\nexport const grTreeSelectConfig = defineGranularComponent(import.meta.url, {\n name: 'GrTreeSelect',\n safelist: grTreeSelectSafelist,\n dependencies: ['GrInput', 'GrTree'],\n})"],"mappings":";;;AAIA,IAAa,kBAA+C;CAC1D,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACL;AAED,IAAa,qBAAwD;CACnE,SAAS;CACT,SAAS;CACT,SAAS;CACT,QAAQ;CACT;AAED,SAAgB,kBAAkB,SAAoF;AACpH,QAAO;EACL,gBAAgB,QAAQ;EACxB;EACA,QAAQ,UAAU,mBAAmB,SAAS,mBAAmB,QAAQ;EAC1E,CAAC,KAAK,IAAI;;AAGb,IAAa,yBAAyB;;;ACvBtC,IAAa,uBAAuB,CAAC,GAAG,IAAI,IAAI;CAC9C,GAAG,OAAO,OAAO,gBAAgB,CAAC,QAAQ,iBAAiB;CAC3D,GAAG,OAAO,OAAO,mBAAmB,CAAC,QAAQ,iBAAiB;CAC9D;CACA,GAAG,iBAAiB,uBAAuB;CAC5C,CAAC,CAAC;;;ACJH,IAAa,qBAAqB,wBAAwB,OAAO,KAAK,KAAK;CACzE,MAAM;CACN,UAAU;CACV,cAAc,CAAC,WAAW,SAAS;CACpC,CAAA"}
@@ -0,0 +1,20 @@
1
+ import { t as splitClassTokens } from "./classTokens-BPeBXNzu.js";
2
+ import { a as sizeClassBySize, i as semiRadiusClassBySize, r as lightToneClassByTone, t as darkToneClassByTone } from "./grBadgeStyles-pqqbVgLk.js";
3
+ import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
4
+ //#region src/components/GrBadge/safelist.ts
5
+ var grBadgeSafelist = [...new Set([
6
+ ...Object.values(sizeClassBySize).flatMap(splitClassTokens),
7
+ ...Object.values(semiRadiusClassBySize).flatMap(splitClassTokens),
8
+ "rounded-[var(--ds-radius-none)]",
9
+ "rounded-full",
10
+ ...Object.values(lightToneClassByTone).flatMap(splitClassTokens),
11
+ ...Object.values(darkToneClassByTone).flatMap(splitClassTokens)
12
+ ])];
13
+ //#endregion
14
+ //#region src/components/GrBadge/config.ts
15
+ var grBadgeConfig = defineGranularComponent(import.meta.url, {
16
+ name: "GrBadge",
17
+ safelist: grBadgeSafelist
18
+ });
19
+ //#endregion
20
+ export { grBadgeSafelist as n, grBadgeConfig as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-BaMO9dQh.js","names":[],"sources":["../../src/components/GrBadge/safelist.ts","../../src/components/GrBadge/config.ts"],"sourcesContent":["import { splitClassTokens } from '../shared/classTokens'\nimport {\n darkToneClassByTone,\n lightToneClassByTone,\n semiRadiusClassBySize,\n sizeClassBySize,\n} from './grBadgeStyles'\n\nexport const grBadgeSafelist = [...new Set([\n ...Object.values(sizeClassBySize).flatMap(splitClassTokens),\n ...Object.values(semiRadiusClassBySize).flatMap(splitClassTokens),\n 'rounded-[var(--ds-radius-none)]',\n 'rounded-full',\n ...Object.values(lightToneClassByTone).flatMap(splitClassTokens),\n ...Object.values(darkToneClassByTone).flatMap(splitClassTokens),\n])]\n","import {defineGranularComponent} from '@feugene/unocss-preset-granular/contract'\n\nimport { grBadgeSafelist } from './safelist'\n\nexport const grBadgeConfig = defineGranularComponent(import.meta.url, {\n name: 'GrBadge',\n safelist: grBadgeSafelist,\n})"],"mappings":";;;;AAQA,IAAa,kBAAkB,CAAC,GAAG,IAAI,IAAI;CACzC,GAAG,OAAO,OAAO,gBAAgB,CAAC,QAAQ,iBAAiB;CAC3D,GAAG,OAAO,OAAO,sBAAsB,CAAC,QAAQ,iBAAiB;CACjE;CACA;CACA,GAAG,OAAO,OAAO,qBAAqB,CAAC,QAAQ,iBAAiB;CAChE,GAAG,OAAO,OAAO,oBAAoB,CAAC,QAAQ,iBAAiB;CAChE,CAAC,CAAC;;;ACXH,IAAa,gBAAgB,wBAAwB,OAAO,KAAK,KAAK;CACpE,MAAM;CACN,UAAU;CACX,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
2
+ //#region src/components/GrButtonGroup/config.ts
3
+ var grButtonGroupConfig = defineGranularComponent(import.meta.url, {
4
+ name: "GrButtonGroup",
5
+ safelist: []
6
+ });
7
+ //#endregion
8
+ export { grButtonGroupConfig as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-Bv2G0OU6.js","names":[],"sources":["../../src/components/GrButtonGroup/config.ts"],"sourcesContent":["import {defineGranularComponent} from '@feugene/unocss-preset-granular/contract'\n\nexport const grButtonGroupConfig = defineGranularComponent(import.meta.url, {\n name: 'GrButtonGroup',\n safelist: [],\n})"],"mappings":";;AAEA,IAAa,sBAAsB,wBAAwB,OAAO,KAAK,KAAK;CACxE,MAAM;CACN,UAAU,EAAE;CACf,CAAA"}
@@ -0,0 +1,21 @@
1
+ import { t as splitClassTokens } from "./classTokens-BPeBXNzu.js";
2
+ import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
3
+ //#region src/components/GrToaster/grToasterStyles.ts
4
+ var PLACEMENT_CLASS = {
5
+ "top-right": "right-4 top-4",
6
+ "top-left": "left-4 top-4",
7
+ "bottom-right": "right-4 bottom-4",
8
+ "bottom-left": "left-4 bottom-4"
9
+ };
10
+ //#endregion
11
+ //#region src/components/GrToaster/safelist.ts
12
+ var grToasterSafelist = [...new Set(Object.values(PLACEMENT_CLASS).flatMap(splitClassTokens))];
13
+ //#endregion
14
+ //#region src/components/GrToaster/config.ts
15
+ var grToasterConfig = defineGranularComponent(import.meta.url, {
16
+ name: "GrToaster",
17
+ dependencies: ["GrButton", "GrIcon"],
18
+ safelist: grToasterSafelist
19
+ });
20
+ //#endregion
21
+ export { grToasterSafelist as n, PLACEMENT_CLASS as r, grToasterConfig as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-BvuQUBtZ.js","names":[],"sources":["../../src/components/GrToaster/grToasterStyles.ts","../../src/components/GrToaster/safelist.ts","../../src/components/GrToaster/config.ts"],"sourcesContent":["export type GrToasterPlacement = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'\n\n// Классы позиционирования контейнера по углам экрана.\n// Вынесены в отдельный модуль, чтобы быть единственным источником истины\n// для шаблона `GrToaster.vue` и для safelist.\nexport const PLACEMENT_CLASS: Record<GrToasterPlacement, string> = {\n 'top-right': 'right-4 top-4',\n 'top-left': 'left-4 top-4',\n 'bottom-right': 'right-4 bottom-4',\n 'bottom-left': 'left-4 bottom-4',\n}\n","import { splitClassTokens } from '../shared/classTokens'\nimport { PLACEMENT_CLASS } from './grToasterStyles'\n\n// В safelist попадают только те классы, которые приходят в шаблон динамически\n// (через `:class`/`PLACEMENT_CLASS`). Литералы из шаблона (`class=\"...\"`)\n// UnoCSS находит статическим сканом и дублировать их здесь не нужно.\nexport const grToasterSafelist = [...new Set(\n Object.values(PLACEMENT_CLASS).flatMap(splitClassTokens),\n)]\n","import { defineGranularComponent } from '@feugene/unocss-preset-granular/contract'\n\nimport { grToasterSafelist } from './safelist'\n\nexport const grToasterConfig = defineGranularComponent(import.meta.url, {\n name: 'GrToaster',\n dependencies: ['GrButton', 'GrIcon'],\n safelist: grToasterSafelist,\n})\n"],"mappings":";;;AAKA,IAAa,kBAAsD;CACjE,aAAa;CACb,YAAY;CACZ,gBAAgB;CAChB,eAAe;CAChB;;;ACJD,IAAa,oBAAoB,CAAC,GAAG,IAAI,IACvC,OAAO,OAAO,gBAAgB,CAAC,QAAQ,iBAAiB,CACzD,CAAC;;;ACJF,IAAa,kBAAkB,wBAAwB,OAAO,KAAK,KAAK;CACtE,MAAM;CACN,cAAc,CAAC,YAAY,SAAS;CACpC,UAAU;CACX,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
2
+ //#region src/components/GrCollapse/config.ts
3
+ var grCollapseConfig = defineGranularComponent(import.meta.url, {
4
+ name: "GrCollapse",
5
+ dependencies: ["GrCard", "GrIcon"],
6
+ safelist: []
7
+ });
8
+ //#endregion
9
+ export { grCollapseConfig as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-BzZGpWsj.js","names":[],"sources":["../../src/components/GrCollapse/config.ts"],"sourcesContent":["import { defineGranularComponent } from '@feugene/unocss-preset-granular/contract'\n\nexport const grCollapseConfig = defineGranularComponent(import.meta.url, {\n name: 'GrCollapse',\n dependencies: ['GrCard', 'GrIcon'],\n safelist: [],\n})\n"],"mappings":";;AAEA,IAAa,mBAAmB,wBAAwB,OAAO,KAAK,KAAK;CACvE,MAAM;CACN,cAAc,CAAC,UAAU,SAAS;CAClC,UAAU,EAAE;CACb,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
2
+ //#region src/components/GrSkeleton/config.ts
3
+ var grSkeletonConfig = defineGranularComponent(import.meta.url, {
4
+ name: "GrSkeleton",
5
+ safelist: []
6
+ });
7
+ //#endregion
8
+ export { grSkeletonConfig as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-C0j836dC.js","names":[],"sources":["../../src/components/GrSkeleton/config.ts"],"sourcesContent":["import { defineGranularComponent } from '@feugene/unocss-preset-granular/contract'\n\nexport const grSkeletonConfig = defineGranularComponent(import.meta.url, {\n name: 'GrSkeleton',\n safelist: [],\n})\n"],"mappings":";;AAEA,IAAa,mBAAmB,wBAAwB,OAAO,KAAK,KAAK;CACvE,MAAM;CACN,UAAU,EAAE;CACb,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
2
+ //#region src/components/GrPagination/config.ts
3
+ var grPaginationConfig = defineGranularComponent(import.meta.url, {
4
+ name: "GrPagination",
5
+ dependencies: ["GrButton", "GrSelect"],
6
+ safelist: []
7
+ });
8
+ //#endregion
9
+ export { grPaginationConfig as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-C2iI7_QX.js","names":[],"sources":["../../src/components/GrPagination/config.ts"],"sourcesContent":["import { defineGranularComponent } from '@feugene/unocss-preset-granular/contract'\n\nexport const grPaginationConfig = defineGranularComponent(import.meta.url, {\n name: 'GrPagination',\n dependencies: ['GrButton', 'GrSelect'],\n safelist: [],\n})\n"],"mappings":";;AAEA,IAAa,qBAAqB,wBAAwB,OAAO,KAAK,KAAK;CACzE,MAAM;CACN,cAAc,CAAC,YAAY,WAAW;CACtC,UAAU,EAAE;CACb,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { t as splitClassTokens } from "./classTokens-BPeBXNzu.js";
2
+ import { a as widthClassByWidth, t as alignmentClassByAlign } from "./grDropdownStyles-DMp7RrI9.js";
3
+ import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
4
+ //#region src/components/GrDropdown/safelist.ts
5
+ var grDropdownSafelist = [...new Set([...Object.values(widthClassByWidth).flatMap(splitClassTokens), ...Object.values(alignmentClassByAlign).flatMap(splitClassTokens)])];
6
+ //#endregion
7
+ //#region src/components/GrDropdown/config.ts
8
+ var grDropdownConfig = defineGranularComponent(import.meta.url, {
9
+ name: "GrDropdown",
10
+ safelist: grDropdownSafelist
11
+ });
12
+ //#endregion
13
+ export { grDropdownSafelist as n, grDropdownConfig as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-C4AlNm912.js","names":[],"sources":["../../src/components/GrDropdown/safelist.ts","../../src/components/GrDropdown/config.ts"],"sourcesContent":["import { splitClassTokens } from '../shared/classTokens'\nimport {\n alignmentClassByAlign,\n widthClassByWidth,\n} from './grDropdownStyles'\n\n// В safelist кладём только динамические токены, выбираемые по ключам в рантайме\n// (`width`/`align`). Литералы content-класса (`rounded-*`, `border`, `bg-*` и пр.)\n// прописаны статически в исходнике `grDropdownStyles.ts` и находятся UnoCSS'ом сканом.\nexport const grDropdownSafelist = [...new Set([\n ...Object.values(widthClassByWidth).flatMap(splitClassTokens),\n ...Object.values(alignmentClassByAlign).flatMap(splitClassTokens),\n])]\n","import {defineGranularComponent} from '@feugene/unocss-preset-granular/contract'\n\nimport { grDropdownSafelist } from './safelist'\n\nexport const grDropdownConfig = defineGranularComponent(import.meta.url, {\n name: 'GrDropdown',\n safelist: grDropdownSafelist,\n})"],"mappings":";;;;AASA,IAAa,qBAAqB,CAAC,GAAG,IAAI,IAAI,CAC5C,GAAG,OAAO,OAAO,kBAAkB,CAAC,QAAQ,iBAAiB,EAC7D,GAAG,OAAO,OAAO,sBAAsB,CAAC,QAAQ,iBAAiB,CAClE,CAAC,CAAC;;;ACRH,IAAa,mBAAmB,wBAAwB,OAAO,KAAK,KAAK;CACvE,MAAM;CACN,UAAU;CACX,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
2
+ //#region src/components/GrFormFile/config.ts
3
+ var grFormFileConfig = defineGranularComponent(import.meta.url, {
4
+ name: "GrFormFile",
5
+ dependencies: ["GrButton", "GrIcon"],
6
+ safelist: []
7
+ });
8
+ //#endregion
9
+ export { grFormFileConfig as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-C5SJXHQ4.js","names":[],"sources":["../../src/components/GrFormFile/config.ts"],"sourcesContent":["import { defineGranularComponent } from '@feugene/unocss-preset-granular/contract'\n\nexport const grFormFileConfig = defineGranularComponent(import.meta.url, {\n name: 'GrFormFile',\n dependencies: ['GrButton', 'GrIcon'],\n // Литералы из шаблона UnoCSS находит сканом — safelist не нужен.\n safelist: [],\n})\n"],"mappings":";;AAEA,IAAa,mBAAmB,wBAAwB,OAAO,KAAK,KAAK;CACvE,MAAM;CACN,cAAc,CAAC,YAAY,SAAS;CAEpC,UAAU,EAAE;CACb,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
2
+ //#region src/components/GrAlert/config.ts
3
+ var grAlertConfig = defineGranularComponent(import.meta.url, {
4
+ name: "GrAlert",
5
+ safelist: []
6
+ });
7
+ //#endregion
8
+ export { grAlertConfig as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-C6SBJxcH.js","names":[],"sources":["../../src/components/GrAlert/config.ts"],"sourcesContent":["import {defineGranularComponent} from '@feugene/unocss-preset-granular/contract'\n\nexport const grAlertConfig = defineGranularComponent(import.meta.url, {\n name: 'GrAlert',\n safelist: [],\n})\n"],"mappings":";;AAEA,IAAa,gBAAgB,wBAAwB,OAAO,KAAK,KAAK;CAClE,MAAM;CACN,UAAU,EAAE;CACf,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
2
+ //#region src/components/GrFileUpload/config.ts
3
+ var grFileUploadConfig = defineGranularComponent(import.meta.url, {
4
+ name: "GrFileUpload",
5
+ dependencies: ["GrIcon"],
6
+ safelist: []
7
+ });
8
+ //#endregion
9
+ export { grFileUploadConfig as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-CByfsV-z2.js","names":[],"sources":["../../src/components/GrFileUpload/config.ts"],"sourcesContent":["import { defineGranularComponent } from '@feugene/unocss-preset-granular/contract'\n\nexport const grFileUploadConfig = defineGranularComponent(import.meta.url, {\n name: 'GrFileUpload',\n dependencies: ['GrIcon'],\n // Литералы из шаблона UnoCSS находит сканом — safelist не нужен.\n safelist: [],\n})\n"],"mappings":";;AAEA,IAAa,qBAAqB,wBAAwB,OAAO,KAAK,KAAK;CACzE,MAAM;CACN,cAAc,CAAC,SAAS;CAExB,UAAU,EAAE;CACb,CAAC"}
@@ -0,0 +1,78 @@
1
+ import { t as splitClassTokens } from "./classTokens-BPeBXNzu.js";
2
+ import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
3
+ //#region src/components/GrSwitch/grSwitchStyles.ts
4
+ var trackBase = "relative inline-flex items-center rounded-full border border-[var(--ds-switch-track-brd)] transition-colors duration-150";
5
+ var trackSizes = {
6
+ sm: "h-5 w-9",
7
+ md: "h-6 w-11",
8
+ lg: "h-7 w-14"
9
+ };
10
+ var thumbBase = "inline-block rounded-full bg-[var(--card)] shadow-[var(--ds-shadow-1)] transition-transform duration-150";
11
+ var thumbSizes = {
12
+ sm: "h-4 w-4",
13
+ md: "h-5 w-5",
14
+ lg: "h-6 w-6"
15
+ };
16
+ var thumbTranslations = {
17
+ sm: {
18
+ checked: "translate-x-[17px]",
19
+ unchecked: "translate-x-[2px]"
20
+ },
21
+ md: {
22
+ checked: "translate-x-5",
23
+ unchecked: "translate-x-[2px]"
24
+ },
25
+ lg: {
26
+ checked: "translate-x-[28px]",
27
+ unchecked: "translate-x-[3px]"
28
+ }
29
+ };
30
+ var labelBase = "text-[var(--muted-fg)]";
31
+ var labelSizes = {
32
+ sm: "text-sm",
33
+ md: "text-sm",
34
+ lg: "text-base"
35
+ };
36
+ function grSwitchTrackClass(size) {
37
+ return [trackBase, trackSizes[size]].join(" ");
38
+ }
39
+ function grSwitchThumbClass(options) {
40
+ return [
41
+ thumbBase,
42
+ thumbSizes[options.size],
43
+ thumbTranslations[options.size][options.checked ? "checked" : "unchecked"]
44
+ ].join(" ");
45
+ }
46
+ function grSwitchLabelClass(size) {
47
+ return [labelBase, labelSizes[size]].join(" ");
48
+ }
49
+ //#endregion
50
+ //#region src/components/GrSwitch/safelist.ts
51
+ var grSwitchClassTokens = {
52
+ trackBase: splitClassTokens(trackBase),
53
+ trackSizes: Object.values(trackSizes).flatMap(splitClassTokens),
54
+ thumbBase: splitClassTokens(thumbBase),
55
+ thumbSizes: Object.values(thumbSizes).flatMap(splitClassTokens),
56
+ thumbTranslations: Object.values(thumbTranslations).flatMap(({ checked, unchecked }) => {
57
+ return [...splitClassTokens(checked), ...splitClassTokens(unchecked)];
58
+ }),
59
+ labelBase: splitClassTokens(labelBase),
60
+ labelSizes: Object.values(labelSizes).flatMap(splitClassTokens)
61
+ };
62
+ var grSwitchSafelist = [...new Set([
63
+ ...grSwitchClassTokens.trackBase,
64
+ ...grSwitchClassTokens.trackSizes,
65
+ ...grSwitchClassTokens.thumbBase,
66
+ ...grSwitchClassTokens.thumbSizes,
67
+ ...grSwitchClassTokens.thumbTranslations,
68
+ ...grSwitchClassTokens.labelBase,
69
+ ...grSwitchClassTokens.labelSizes
70
+ ])];
71
+ //#endregion
72
+ //#region src/components/GrSwitch/config.ts
73
+ var grSwitchConfig = defineGranularComponent(import.meta.url, {
74
+ name: "GrSwitch",
75
+ safelist: grSwitchSafelist
76
+ });
77
+ //#endregion
78
+ export { grSwitchTrackClass as a, grSwitchThumbClass as i, grSwitchSafelist as n, grSwitchLabelClass as r, grSwitchConfig as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-CM7nbATU2.js","names":[],"sources":["../../src/components/GrSwitch/grSwitchStyles.ts","../../src/components/GrSwitch/safelist.ts","../../src/components/GrSwitch/config.ts"],"sourcesContent":["export type GrSwitchSize = 'sm' | 'md' | 'lg'\n\ntype GrSwitchThumbClassOptions = {\n checked: boolean\n size: GrSwitchSize\n}\n\nexport const trackBase =\n 'relative inline-flex items-center rounded-full border border-[var(--ds-switch-track-brd)] transition-colors duration-150'\n\nexport const trackSizes: Record<GrSwitchSize, string> = {\n sm: 'h-5 w-9',\n md: 'h-6 w-11',\n lg: 'h-7 w-14',\n}\n\nexport const thumbBase =\n 'inline-block rounded-full bg-[var(--card)] shadow-[var(--ds-shadow-1)] transition-transform duration-150'\n\nexport const thumbSizes: Record<GrSwitchSize, string> = {\n sm: 'h-4 w-4',\n md: 'h-5 w-5',\n lg: 'h-6 w-6',\n}\n\nexport const thumbTranslations: Record<GrSwitchSize, { checked: string, unchecked: string }> = {\n sm: {\n checked: 'translate-x-[17px]',\n unchecked: 'translate-x-[2px]',\n },\n md: {\n checked: 'translate-x-5',\n unchecked: 'translate-x-[2px]',\n },\n lg: {\n checked: 'translate-x-[28px]',\n unchecked: 'translate-x-[3px]',\n },\n}\n\nexport const labelBase = 'text-[var(--muted-fg)]'\n\nexport const labelSizes: Record<GrSwitchSize, string> = {\n sm: 'text-sm',\n md: 'text-sm',\n lg: 'text-base',\n}\n\nexport function grSwitchTrackClass(size: GrSwitchSize): string {\n return [trackBase, trackSizes[size]].join(' ')\n}\n\nexport function grSwitchThumbClass(options: GrSwitchThumbClassOptions): string {\n return [\n thumbBase,\n thumbSizes[options.size],\n thumbTranslations[options.size][options.checked ? 'checked' : 'unchecked'],\n ].join(' ')\n}\n\nexport function grSwitchLabelClass(size: GrSwitchSize): string {\n return [labelBase, labelSizes[size]].join(' ')\n}\n","import { splitClassTokens } from '../shared/classTokens'\nimport {\n labelBase,\n labelSizes,\n thumbBase,\n thumbSizes,\n thumbTranslations,\n trackBase,\n trackSizes,\n} from './grSwitchStyles'\n\nexport const grSwitchClassTokens = {\n trackBase: splitClassTokens(trackBase),\n trackSizes: Object.values(trackSizes).flatMap(splitClassTokens),\n thumbBase: splitClassTokens(thumbBase),\n thumbSizes: Object.values(thumbSizes).flatMap(splitClassTokens),\n thumbTranslations: Object.values(thumbTranslations).flatMap(({checked, unchecked}) => {\n return [...splitClassTokens(checked), ...splitClassTokens(unchecked)]\n }),\n labelBase: splitClassTokens(labelBase),\n labelSizes: Object.values(labelSizes).flatMap(splitClassTokens),\n} as const\n\nexport const grSwitchSafelist = [...new Set([\n ...grSwitchClassTokens.trackBase,\n ...grSwitchClassTokens.trackSizes,\n ...grSwitchClassTokens.thumbBase,\n ...grSwitchClassTokens.thumbSizes,\n ...grSwitchClassTokens.thumbTranslations,\n ...grSwitchClassTokens.labelBase,\n ...grSwitchClassTokens.labelSizes,\n])]\n","import {defineGranularComponent} from '@feugene/unocss-preset-granular/contract'\n\nimport { grSwitchSafelist } from './safelist'\n\nexport const grSwitchConfig = defineGranularComponent(import.meta.url, {\n name: 'GrSwitch',\n safelist: grSwitchSafelist,\n})"],"mappings":";;;AAOA,IAAa,YACT;AAEJ,IAAa,aAA2C;CACpD,IAAI;CACJ,IAAI;CACJ,IAAI;CACP;AAED,IAAa,YACT;AAEJ,IAAa,aAA2C;CACpD,IAAI;CACJ,IAAI;CACJ,IAAI;CACP;AAED,IAAa,oBAAkF;CAC3F,IAAI;EACA,SAAS;EACT,WAAW;EACd;CACD,IAAI;EACA,SAAS;EACT,WAAW;EACd;CACD,IAAI;EACA,SAAS;EACT,WAAW;EACd;CACJ;AAED,IAAa,YAAY;AAEzB,IAAa,aAA2C;CACpD,IAAI;CACJ,IAAI;CACJ,IAAI;CACP;AAED,SAAgB,mBAAmB,MAA4B;AAC3D,QAAO,CAAC,WAAW,WAAW,MAAM,CAAC,KAAK,IAAI;;AAGlD,SAAgB,mBAAmB,SAA4C;AAC3E,QAAO;EACH;EACA,WAAW,QAAQ;EACnB,kBAAkB,QAAQ,MAAM,QAAQ,UAAU,YAAY;EACjE,CAAC,KAAK,IAAI;;AAGf,SAAgB,mBAAmB,MAA4B;AAC3D,QAAO,CAAC,WAAW,WAAW,MAAM,CAAC,KAAK,IAAI;;;;AClDlD,IAAa,sBAAsB;CAC/B,WAAW,iBAAiB,UAAU;CACtC,YAAY,OAAO,OAAO,WAAW,CAAC,QAAQ,iBAAiB;CAC/D,WAAW,iBAAiB,UAAU;CACtC,YAAY,OAAO,OAAO,WAAW,CAAC,QAAQ,iBAAiB;CAC/D,mBAAmB,OAAO,OAAO,kBAAkB,CAAC,SAAS,EAAC,SAAS,gBAAe;AAClF,SAAO,CAAC,GAAG,iBAAiB,QAAQ,EAAE,GAAG,iBAAiB,UAAU,CAAC;GACvE;CACF,WAAW,iBAAiB,UAAU;CACtC,YAAY,OAAO,OAAO,WAAW,CAAC,QAAQ,iBAAiB;CAClE;AAED,IAAa,mBAAmB,CAAC,GAAG,IAAI,IAAI;CACxC,GAAG,oBAAoB;CACvB,GAAG,oBAAoB;CACvB,GAAG,oBAAoB;CACvB,GAAG,oBAAoB;CACvB,GAAG,oBAAoB;CACvB,GAAG,oBAAoB;CACvB,GAAG,oBAAoB;CAC1B,CAAC,CAAC;;;AC3BH,IAAa,iBAAiB,wBAAwB,OAAO,KAAK,KAAK;CACrE,MAAM;CACN,UAAU;CACX,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
2
+ //#region src/components/GrDataTable/config.ts
3
+ var grDataTableConfig = defineGranularComponent(import.meta.url, {
4
+ name: "GrDataTable",
5
+ safelist: [],
6
+ dependencies: ["GrTable", "GrIcon"]
7
+ });
8
+ //#endregion
9
+ export { grDataTableConfig as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-CMZE2fu0.js","names":[],"sources":["../../src/components/GrDataTable/config.ts"],"sourcesContent":["import { defineGranularComponent } from '@feugene/unocss-preset-granular/contract'\n\n// safelist пустой — все классы прописаны литералами в шаблоне, UnoCSS находит сканом\nexport const grDataTableConfig = defineGranularComponent(import.meta.url, {\n name: 'GrDataTable',\n safelist: [],\n dependencies: ['GrTable', 'GrIcon'],\n})\n"],"mappings":";;AAGA,IAAa,oBAAoB,wBAAwB,OAAO,KAAK,KAAK;CACxE,MAAM;CACN,UAAU,EAAE;CACZ,cAAc,CAAC,WAAW,SAAS;CACpC,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { t as splitClassTokens } from "./classTokens-BPeBXNzu.js";
2
+ import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
3
+ //#region src/components/GrAvatar/grAvatarStyles.ts
4
+ var shapes = {
5
+ circle: "rounded-full",
6
+ square: "rounded-[10px]"
7
+ };
8
+ function grAvatarClass(shape) {
9
+ return [shapes[shape]].join(" ");
10
+ }
11
+ //#endregion
12
+ //#region src/components/GrAvatar/safelist.ts
13
+ var grAvatarClassTokens = { shapes: Object.values(shapes).flatMap(splitClassTokens) };
14
+ var grAvatarSafelist = [...new Set([...grAvatarClassTokens.shapes])];
15
+ //#endregion
16
+ //#region src/components/GrAvatar/config.ts
17
+ var grAvatarConfig = defineGranularComponent(import.meta.url, {
18
+ name: "GrAvatar",
19
+ safelist: grAvatarSafelist
20
+ });
21
+ //#endregion
22
+ export { grAvatarSafelist as n, grAvatarClass as r, grAvatarConfig as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-CU_CBd0k.js","names":[],"sources":["../../src/components/GrAvatar/grAvatarStyles.ts","../../src/components/GrAvatar/safelist.ts","../../src/components/GrAvatar/config.ts"],"sourcesContent":["export type GrAvatarShape = 'circle' | 'square'\n\nexport const shapes: Record<GrAvatarShape, string> = {\n circle: 'rounded-full',\n square: 'rounded-[10px]',\n}\n\nexport function grAvatarClass(shape: GrAvatarShape): string {\n return [shapes[shape]].join(' ')\n}\n","import { splitClassTokens } from '../shared/classTokens'\nimport { shapes } from './grAvatarStyles'\n\nexport const grAvatarClassTokens = {\n shapes: Object.values(shapes).flatMap(splitClassTokens),\n} as const\n\nexport const grAvatarSafelist = [...new Set([\n ...grAvatarClassTokens.shapes,\n])]\n","import {defineGranularComponent} from '@feugene/unocss-preset-granular/contract'\n\nimport { grAvatarSafelist } from './safelist'\n\nexport const grAvatarConfig = defineGranularComponent(import.meta.url, {\n name: 'GrAvatar',\n safelist: grAvatarSafelist,\n})"],"mappings":";;;AAEA,IAAa,SAAwC;CACjD,QAAQ;CACR,QAAQ;CACX;AAED,SAAgB,cAAc,OAA8B;AACxD,QAAO,CAAC,OAAO,OAAO,CAAC,KAAK,IAAI;;;;ACLpC,IAAa,sBAAsB,EAC/B,QAAQ,OAAO,OAAO,OAAO,CAAC,QAAQ,iBAAiB,EAC1D;AAED,IAAa,mBAAmB,CAAC,GAAG,IAAI,IAAI,CACxC,GAAG,oBAAoB,OAC1B,CAAC,CAAC;;;ACLH,IAAa,iBAAiB,wBAAwB,OAAO,KAAK,KAAK;CACrE,MAAM;CACN,UAAU;CACX,CAAA"}