@feugene/granularity 0.4.0 → 0.4.1

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 (424) hide show
  1. package/dist/chunks/_plugin-vue_export-helper-BG_EqiDU.js +8 -0
  2. package/dist/chunks/adapter-C7fKeUa4.js +6 -0
  3. package/dist/chunks/adapter-C7fKeUa4.js.map +1 -0
  4. package/dist/chunks/arrow-up-DNXrMoAI.js +25 -0
  5. package/dist/chunks/arrow-up-DNXrMoAI.js.map +1 -0
  6. package/dist/chunks/classTokens-BPeBXNzu.js +8 -0
  7. package/dist/chunks/classTokens-BPeBXNzu.js.map +1 -0
  8. package/dist/chunks/config-2wgwWaAB.js +10 -0
  9. package/dist/chunks/config-2wgwWaAB.js.map +1 -0
  10. package/dist/chunks/config-BKRmlivc.js +10 -0
  11. package/dist/chunks/config-BKRmlivc.js.map +1 -0
  12. package/dist/chunks/config-BRU5PR8_.js +10 -0
  13. package/dist/chunks/config-BRU5PR8_.js.map +1 -0
  14. package/dist/chunks/config-BUGfFjmC.js +16 -0
  15. package/dist/chunks/config-BUGfFjmC.js.map +1 -0
  16. package/dist/chunks/config-BXffa3ta.js +60 -0
  17. package/dist/chunks/config-BXffa3ta.js.map +1 -0
  18. package/dist/chunks/config-BaMO9dQh.js +22 -0
  19. package/dist/chunks/config-BaMO9dQh.js.map +1 -0
  20. package/dist/chunks/config-BbtK511H.js +11 -0
  21. package/dist/chunks/config-BbtK511H.js.map +1 -0
  22. package/dist/chunks/config-BcFOkUhh.js +15 -0
  23. package/dist/chunks/config-BcFOkUhh.js.map +1 -0
  24. package/dist/chunks/config-BcpRsZTe.js +10 -0
  25. package/dist/chunks/config-BcpRsZTe.js.map +1 -0
  26. package/dist/chunks/config-BhubOeci.js +15 -0
  27. package/dist/chunks/config-BhubOeci.js.map +1 -0
  28. package/dist/chunks/config-BhvNm4Pp.js +173 -0
  29. package/dist/chunks/config-BhvNm4Pp.js.map +1 -0
  30. package/dist/chunks/config-Bv2G0OU6.js +10 -0
  31. package/dist/chunks/config-Bv2G0OU6.js.map +1 -0
  32. package/dist/chunks/config-Bv5Dok4j.js +41 -0
  33. package/dist/chunks/config-Bv5Dok4j.js.map +1 -0
  34. package/dist/chunks/config-BzQ4S4Hb.js +11 -0
  35. package/dist/chunks/config-BzQ4S4Hb.js.map +1 -0
  36. package/dist/chunks/config-BzZGpWsj.js +11 -0
  37. package/dist/chunks/config-BzZGpWsj.js.map +1 -0
  38. package/dist/chunks/config-C0b_3LJV.js +42 -0
  39. package/dist/chunks/config-C0b_3LJV.js.map +1 -0
  40. package/dist/chunks/config-C2JKq8-2.js +60 -0
  41. package/dist/chunks/config-C2JKq8-2.js.map +1 -0
  42. package/dist/chunks/config-C6SBJxcH.js +10 -0
  43. package/dist/chunks/config-C6SBJxcH.js.map +1 -0
  44. package/dist/chunks/config-CJbjLC5X.js +55 -0
  45. package/dist/chunks/config-CJbjLC5X.js.map +1 -0
  46. package/dist/chunks/config-CJeyaUTp.js +40 -0
  47. package/dist/chunks/config-CJeyaUTp.js.map +1 -0
  48. package/dist/chunks/config-CMZE2fu0.js +11 -0
  49. package/dist/chunks/config-CMZE2fu0.js.map +1 -0
  50. package/dist/chunks/config-CU_CBd0k.js +24 -0
  51. package/dist/chunks/config-CU_CBd0k.js.map +1 -0
  52. package/dist/chunks/config-CYPU3ztl.js +26 -0
  53. package/dist/chunks/config-CYPU3ztl.js.map +1 -0
  54. package/dist/chunks/config-CcmeMlic.js +19 -0
  55. package/dist/chunks/config-CcmeMlic.js.map +1 -0
  56. package/dist/chunks/config-CdAx6ify2.js +11 -0
  57. package/dist/chunks/config-CdAx6ify2.js.map +1 -0
  58. package/dist/chunks/config-CxCAfXZ1.js +23 -0
  59. package/dist/chunks/config-CxCAfXZ1.js.map +1 -0
  60. package/dist/chunks/config-D1gSaT52.js +11 -0
  61. package/dist/chunks/config-D1gSaT52.js.map +1 -0
  62. package/dist/chunks/config-D7iuXJbl.js +11 -0
  63. package/dist/chunks/config-D7iuXJbl.js.map +1 -0
  64. package/dist/chunks/config-D7tRu8u3.js +11 -0
  65. package/dist/chunks/config-D7tRu8u3.js.map +1 -0
  66. package/dist/chunks/config-DBYCntwl.js +10 -0
  67. package/dist/chunks/config-DBYCntwl.js.map +1 -0
  68. package/dist/chunks/config-DFRYOcrP.js +11 -0
  69. package/dist/chunks/config-DFRYOcrP.js.map +1 -0
  70. package/dist/chunks/config-DW_RqmUp.js +10 -0
  71. package/dist/chunks/config-DW_RqmUp.js.map +1 -0
  72. package/dist/chunks/config-Dkq0HeLe.js +11 -0
  73. package/dist/chunks/config-Dkq0HeLe.js.map +1 -0
  74. package/dist/chunks/config-DlLE49_I.js +11 -0
  75. package/dist/chunks/config-DlLE49_I.js.map +1 -0
  76. package/dist/chunks/config-DvTUDLT1.js +46 -0
  77. package/dist/chunks/config-DvTUDLT1.js.map +1 -0
  78. package/dist/chunks/config-DwB5-qdP2.js +10 -0
  79. package/dist/chunks/config-DwB5-qdP2.js.map +1 -0
  80. package/dist/chunks/config-DxqMXzNV2.js +25 -0
  81. package/dist/chunks/config-DxqMXzNV2.js.map +1 -0
  82. package/dist/chunks/config-DxqpV-KM.js +47 -0
  83. package/dist/chunks/config-DxqpV-KM.js.map +1 -0
  84. package/dist/chunks/config-Dzz9P-GV2.js +11 -0
  85. package/dist/chunks/config-Dzz9P-GV2.js.map +1 -0
  86. package/dist/chunks/config-KGTIAFD92.js +10 -0
  87. package/dist/chunks/config-KGTIAFD92.js.map +1 -0
  88. package/dist/chunks/config-TyzU6gLf.js +10 -0
  89. package/dist/chunks/config-TyzU6gLf.js.map +1 -0
  90. package/dist/chunks/config-cn6knwud.js +37 -0
  91. package/dist/chunks/config-cn6knwud.js.map +1 -0
  92. package/dist/chunks/config-dD6Po-Cq.js +10 -0
  93. package/dist/chunks/config-dD6Po-Cq.js.map +1 -0
  94. package/dist/chunks/config-rFwazRKi.js +11 -0
  95. package/dist/chunks/config-rFwazRKi.js.map +1 -0
  96. package/dist/chunks/config-rQlbnEKn.js +10 -0
  97. package/dist/chunks/config-rQlbnEKn.js.map +1 -0
  98. package/dist/chunks/config-rxFL-6yF2.js +80 -0
  99. package/dist/chunks/config-rxFL-6yF2.js.map +1 -0
  100. package/dist/chunks/config-ug8O8epd.js +13 -0
  101. package/dist/chunks/config-ug8O8epd.js.map +1 -0
  102. package/dist/chunks/dialogShared-BtXUk6Zc.js +34 -0
  103. package/dist/chunks/dialogShared-BtXUk6Zc.js.map +1 -0
  104. package/dist/chunks/directives-Cuib0yOO.js +728 -0
  105. package/dist/chunks/directives-Cuib0yOO.js.map +1 -0
  106. package/dist/chunks/en-BMjJZttK.js +50 -0
  107. package/dist/chunks/en-BMjJZttK.js.map +1 -0
  108. package/dist/chunks/es-Cu_RlgIr.js +22 -0
  109. package/dist/chunks/es-Cu_RlgIr.js.map +1 -0
  110. package/dist/chunks/es-EYCf8G_1.js +50 -0
  111. package/dist/chunks/es-EYCf8G_1.js.map +1 -0
  112. package/dist/chunks/fileValidation-CgjTGoUx.js +221 -0
  113. package/dist/chunks/fileValidation-CgjTGoUx.js.map +1 -0
  114. package/dist/chunks/{grBadgeStyles-Bu4H8bFc.js → grBadgeStyles-pqqbVgLk.js} +20 -13
  115. package/dist/chunks/grBadgeStyles-pqqbVgLk.js.map +1 -0
  116. package/dist/chunks/{grButtonStyles-C5k0bN2e.js → grButtonStyles-BxZW2x0-.js} +62 -52
  117. package/dist/chunks/grButtonStyles-BxZW2x0-.js.map +1 -0
  118. package/dist/chunks/grDropdownStyles-DQfLh-bp.js +34 -0
  119. package/dist/chunks/grDropdownStyles-DQfLh-bp.js.map +1 -0
  120. package/dist/chunks/grLoadingStyles-CERsxyk9.js +19 -0
  121. package/dist/chunks/grLoadingStyles-CERsxyk9.js.map +1 -0
  122. package/dist/chunks/grModalStyles-Dv2NXBKi.js +49 -0
  123. package/dist/chunks/grModalStyles-Dv2NXBKi.js.map +1 -0
  124. package/dist/chunks/grSelectStyles-C1zNEkV7.js +52 -0
  125. package/dist/chunks/grSelectStyles-C1zNEkV7.js.map +1 -0
  126. package/dist/chunks/granularityI18n-BEWP9aJs.js +28 -0
  127. package/dist/chunks/granularityI18n-BEWP9aJs.js.map +1 -0
  128. package/dist/chunks/info-C0bHmdZq.js +28 -0
  129. package/dist/chunks/info-C0bHmdZq.js.map +1 -0
  130. package/dist/chunks/loader-circle-B2rWDk5u.js +25 -0
  131. package/dist/chunks/loader-circle-B2rWDk5u.js.map +1 -0
  132. package/dist/chunks/ru-DKswMSdd.js +50 -0
  133. package/dist/chunks/ru-DKswMSdd.js.map +1 -0
  134. package/dist/chunks/safelist-BF822K15.js +15 -0
  135. package/dist/chunks/safelist-BF822K15.js.map +1 -0
  136. package/dist/chunks/safelist-BY7z8fOl.js +26 -0
  137. package/dist/chunks/safelist-BY7z8fOl.js.map +1 -0
  138. package/dist/chunks/{shared-BqUqjuxn.js → shared-Bvjkhhm2.js} +151 -111
  139. package/dist/chunks/shared-Bvjkhhm2.js.map +1 -0
  140. package/dist/chunks/transition-mJ3PZCHH.js +1694 -0
  141. package/dist/chunks/transition-mJ3PZCHH.js.map +1 -0
  142. package/dist/chunks/x-Pa6C2hwi.js +25 -0
  143. package/dist/chunks/x-Pa6C2hwi.js.map +1 -0
  144. package/dist/chunks/x-circle-DQSlBLmX.js +69 -0
  145. package/dist/chunks/x-circle-DQSlBLmX.js.map +1 -0
  146. package/dist/components/GrAlert/chunks/GrAlert-BjerGcU8.js +148 -0
  147. package/dist/components/GrAlert/chunks/GrAlert-BjerGcU8.js.map +1 -0
  148. package/dist/components/GrAlert/index.js +3 -3
  149. package/dist/components/GrAvatar/chunks/GrAvatar-BjnPKNAL.js +43 -0
  150. package/dist/components/GrAvatar/chunks/GrAvatar-BjnPKNAL.js.map +1 -0
  151. package/dist/components/GrAvatar/index.js +3 -3
  152. package/dist/components/GrBadge/chunks/GrBadge-wuIb4_2K.js +34 -0
  153. package/dist/components/GrBadge/chunks/GrBadge-wuIb4_2K.js.map +1 -0
  154. package/dist/components/GrBadge/index.js +3 -3
  155. package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-CxtamOZ-.js +35 -0
  156. package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-CxtamOZ-.js.map +1 -0
  157. package/dist/components/GrBadgeWrap/index.js +3 -3
  158. package/dist/components/GrBottomNav/chunks/GrBottomNav-CsmQ7mTJ.js +33 -0
  159. package/dist/components/GrBottomNav/chunks/GrBottomNav-CsmQ7mTJ.js.map +1 -0
  160. package/dist/components/GrBottomNav/index.js +3 -3
  161. package/dist/components/GrButton/chunks/GrButton-BmGdp8-4.js +85 -0
  162. package/dist/components/GrButton/chunks/GrButton-BmGdp8-4.js.map +1 -0
  163. package/dist/components/GrButton/index.js +5 -5
  164. package/dist/components/GrButtonGroup/chunks/GrButtonGroup-CBj4tpms.js +23 -0
  165. package/dist/components/GrButtonGroup/chunks/GrButtonGroup-CBj4tpms.js.map +1 -0
  166. package/dist/components/GrButtonGroup/index.js +3 -3
  167. package/dist/components/GrCard/chunks/GrCard-xtDcXBr7.js +13 -0
  168. package/dist/components/GrCard/chunks/GrCard-xtDcXBr7.js.map +1 -0
  169. package/dist/components/GrCard/index.js +3 -3
  170. package/dist/components/GrCheckbox/chunks/GrCheckbox-Bt3d7ckE.js +136 -0
  171. package/dist/components/GrCheckbox/chunks/GrCheckbox-Bt3d7ckE.js.map +1 -0
  172. package/dist/components/GrCheckbox/index.js +3 -3
  173. package/dist/components/GrCollapse/chunks/GrCollapse-HU20VTVn.js +207 -0
  174. package/dist/components/GrCollapse/chunks/GrCollapse-HU20VTVn.js.map +1 -0
  175. package/dist/components/GrCollapse/index.js +3 -3
  176. package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-DjGOX9Hd.js +133 -0
  177. package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-DjGOX9Hd.js.map +1 -0
  178. package/dist/components/GrConfirmDialog/index.js +3 -3
  179. package/dist/components/GrDataTable/chunks/GrDataTable-QDOJWmdY.js +181 -0
  180. package/dist/components/GrDataTable/chunks/GrDataTable-QDOJWmdY.js.map +1 -0
  181. package/dist/components/GrDataTable/index.js +3 -3
  182. package/dist/components/GrDialog/chunks/GrDialog-gObmaVEl.js +223 -0
  183. package/dist/components/GrDialog/chunks/GrDialog-gObmaVEl.js.map +1 -0
  184. package/dist/components/GrDialog/index.js +4 -4
  185. package/dist/components/GrDrawer/chunks/GrDrawer-BJL_gTxI.js +158 -0
  186. package/dist/components/GrDrawer/chunks/GrDrawer-BJL_gTxI.js.map +1 -0
  187. package/dist/components/GrDrawer/index.js +3 -3
  188. package/dist/components/GrDropdown/chunks/GrDropdown-DVTU32T_.js +153 -0
  189. package/dist/components/GrDropdown/chunks/GrDropdown-DVTU32T_.js.map +1 -0
  190. package/dist/components/GrDropdown/index.js +3 -3
  191. package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-fePQRcgh.js +311 -0
  192. package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-fePQRcgh.js.map +1 -0
  193. package/dist/components/GrDropdownMenu/index.js +3 -3
  194. package/dist/components/GrEmptyState/chunks/GrEmptyState-Bs8d3tgb.js +64 -0
  195. package/dist/components/GrEmptyState/chunks/GrEmptyState-Bs8d3tgb.js.map +1 -0
  196. package/dist/components/GrEmptyState/index.js +3 -3
  197. package/dist/components/GrFileUpload/chunks/GrFileUpload-DVv8yXpl.js +370 -0
  198. package/dist/components/GrFileUpload/chunks/GrFileUpload-DVv8yXpl.js.map +1 -0
  199. package/dist/components/GrFileUpload/index.js +4 -4
  200. package/dist/components/GrFormField/chunks/GrFormField-BzezYcS8.js +37 -0
  201. package/dist/components/GrFormField/chunks/GrFormField-BzezYcS8.js.map +1 -0
  202. package/dist/components/GrFormField/index.js +3 -3
  203. package/dist/components/GrFormFile/chunks/GrFormFile-DtZOypJW.js +315 -0
  204. package/dist/components/GrFormFile/chunks/GrFormFile-DtZOypJW.js.map +1 -0
  205. package/dist/components/GrFormFile/index.js +3 -3
  206. package/dist/components/GrFormSection/chunks/GrFormSection-BIPB1RIk.js +37 -0
  207. package/dist/components/GrFormSection/chunks/GrFormSection-BIPB1RIk.js.map +1 -0
  208. package/dist/components/GrFormSection/index.js +3 -3
  209. package/dist/components/GrIcon/chunks/GrIcon-BV7RBU_0.js +34 -0
  210. package/dist/components/GrIcon/chunks/GrIcon-BV7RBU_0.js.map +1 -0
  211. package/dist/components/GrIcon/index.js +3 -3
  212. package/dist/components/GrImageViewer/chunks/GrImageViewer-fn8ilJTA.js +399 -0
  213. package/dist/components/GrImageViewer/chunks/GrImageViewer-fn8ilJTA.js.map +1 -0
  214. package/dist/components/GrImageViewer/index.js +3 -3
  215. package/dist/components/GrInput/chunks/GrInput-DLLRrH1A.js +213 -0
  216. package/dist/components/GrInput/chunks/GrInput-DLLRrH1A.js.map +1 -0
  217. package/dist/components/GrInput/index.js +3 -3
  218. package/dist/components/GrInputTag/chunks/GrInputTag-CzrrBxgU.js +259 -0
  219. package/dist/components/GrInputTag/chunks/GrInputTag-CzrrBxgU.js.map +1 -0
  220. package/dist/components/GrInputTag/index.js +3 -3
  221. package/dist/components/GrLink/chunks/GrLink-Dhkid3Mp.js +82 -0
  222. package/dist/components/GrLink/chunks/GrLink-Dhkid3Mp.js.map +1 -0
  223. package/dist/components/GrLink/index.js +3 -3
  224. package/dist/components/GrList/chunks/GrList-CjgeVjhY.js +79 -0
  225. package/dist/components/GrList/chunks/GrList-CjgeVjhY.js.map +1 -0
  226. package/dist/components/GrList/index.js +3 -3
  227. package/dist/components/GrLoading/chunks/GrLoading-DihGX3ol.js +71 -0
  228. package/dist/components/GrLoading/chunks/GrLoading-DihGX3ol.js.map +1 -0
  229. package/dist/components/GrLoading/index.js +3 -3
  230. package/dist/components/GrModal/chunks/GrModal-gvfvlp7k.js +170 -0
  231. package/dist/components/GrModal/chunks/GrModal-gvfvlp7k.js.map +1 -0
  232. package/dist/components/GrModal/index.js +4 -4
  233. package/dist/components/GrNavbar/chunks/GrNavbar-CQOAfO6y.js +77 -0
  234. package/dist/components/GrNavbar/chunks/GrNavbar-CQOAfO6y.js.map +1 -0
  235. package/dist/components/GrNavbar/index.js +3 -3
  236. package/dist/components/GrNumberInput/chunks/GrNumberInput-CyHgUotG.js +399 -0
  237. package/dist/components/GrNumberInput/chunks/GrNumberInput-CyHgUotG.js.map +1 -0
  238. package/dist/components/GrNumberInput/index.js +3 -3
  239. package/dist/components/GrPagination/chunks/GrPagination-C5cxRJsF.js +116 -0
  240. package/dist/components/GrPagination/chunks/GrPagination-C5cxRJsF.js.map +1 -0
  241. package/dist/components/GrPagination/index.js +3 -3
  242. package/dist/components/GrProgressBar/chunks/GrProgressBar-C9wAAFxR.js +41 -0
  243. package/dist/components/GrProgressBar/chunks/GrProgressBar-C9wAAFxR.js.map +1 -0
  244. package/dist/components/GrProgressBar/index.js +3 -3
  245. package/dist/components/GrPromptDialog/chunks/GrPromptDialog-Cfq9bvL3.js +192 -0
  246. package/dist/components/GrPromptDialog/chunks/GrPromptDialog-Cfq9bvL3.js.map +1 -0
  247. package/dist/components/GrPromptDialog/index.js +3 -3
  248. package/dist/components/GrRadio/chunks/GrRadio-B_t_ZNVl.js +186 -0
  249. package/dist/components/GrRadio/chunks/GrRadio-B_t_ZNVl.js.map +1 -0
  250. package/dist/components/GrRadio/index.js +3 -3
  251. package/dist/components/GrRadioGroup/chunks/GrRadioGroup-CVlgpUBr.js +82 -0
  252. package/dist/components/GrRadioGroup/chunks/GrRadioGroup-CVlgpUBr.js.map +1 -0
  253. package/dist/components/GrRadioGroup/index.js +3 -3
  254. package/dist/components/GrSegmented/chunks/GrSegmented-BPl1koHc.js +325 -0
  255. package/dist/components/GrSegmented/chunks/GrSegmented-BPl1koHc.js.map +1 -0
  256. package/dist/components/GrSegmented/index.js +3 -3
  257. package/dist/components/GrSelect/chunks/GrSelect-aVqUL-1F.js +445 -0
  258. package/dist/components/GrSelect/chunks/GrSelect-aVqUL-1F.js.map +1 -0
  259. package/dist/components/GrSelect/index.js +3 -3
  260. package/dist/components/GrSidebar/chunks/GrSidebar-DVucgcfV.js +46 -0
  261. package/dist/components/GrSidebar/chunks/GrSidebar-DVucgcfV.js.map +1 -0
  262. package/dist/components/GrSidebar/index.js +3 -3
  263. package/dist/components/GrSkeleton/chunks/GrSkeleton-CDTvCSoH.js +35 -0
  264. package/dist/components/GrSkeleton/chunks/GrSkeleton-CDTvCSoH.js.map +1 -0
  265. package/dist/components/GrSkeleton/index.js +3 -3
  266. package/dist/components/GrSwitch/chunks/GrSwitch-Bnamgqb2.js +81 -0
  267. package/dist/components/GrSwitch/chunks/GrSwitch-Bnamgqb2.js.map +1 -0
  268. package/dist/components/GrSwitch/index.js +3 -3
  269. package/dist/components/GrTable/chunks/GrTable-CyQ9uw8A.js +59 -0
  270. package/dist/components/GrTable/chunks/GrTable-CyQ9uw8A.js.map +1 -0
  271. package/dist/components/GrTable/index.js +3 -3
  272. package/dist/components/GrTabs/chunks/GrTabs-CiGmcmvm.js +120 -0
  273. package/dist/components/GrTabs/chunks/GrTabs-CiGmcmvm.js.map +1 -0
  274. package/dist/components/GrTabs/index.js +3 -3
  275. package/dist/components/GrTextarea/chunks/GrTextarea-VBSc6A7D.js +73 -0
  276. package/dist/components/GrTextarea/chunks/GrTextarea-VBSc6A7D.js.map +1 -0
  277. package/dist/components/GrTextarea/index.js +3 -3
  278. package/dist/components/GrToaster/chunks/GrToaster-I1e-zCpf.js +173 -0
  279. package/dist/components/GrToaster/chunks/GrToaster-I1e-zCpf.js.map +1 -0
  280. package/dist/components/GrToaster/index.js +3 -3
  281. package/dist/components/GrTooltip/chunks/GrTooltip-CrV1gI_c.js +57 -0
  282. package/dist/components/GrTooltip/chunks/GrTooltip-CrV1gI_c.js.map +1 -0
  283. package/dist/components/GrTooltip/index.js +3 -3
  284. package/dist/components/GrTree/chunks/GrTree-Dlev9oBd.js +736 -0
  285. package/dist/components/GrTree/chunks/GrTree-Dlev9oBd.js.map +1 -0
  286. package/dist/components/GrTree/index.js +3 -3
  287. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-DN6XFjOD.js +456 -0
  288. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-DN6XFjOD.js.map +1 -0
  289. package/dist/components/GrTreeSelect/index.js +3 -3
  290. package/dist/composables/useTheme.js +41 -30
  291. package/dist/composables/useTheme.js.map +1 -0
  292. package/dist/composables/useToast.js +43 -34
  293. package/dist/composables/useToast.js.map +1 -0
  294. package/dist/directives/index.js +2 -2
  295. package/dist/fileValidation/index.js +2 -2
  296. package/dist/granular-provider-node.js +25 -14
  297. package/dist/granular-provider-node.js.map +1 -0
  298. package/dist/granular-provider.js +5 -3
  299. package/dist/granular-provider.js.map +1 -0
  300. package/dist/i18n/all.js +8 -6
  301. package/dist/i18n/all.js.map +1 -0
  302. package/dist/i18n/index.js +3 -3
  303. package/dist/index.js +105 -105
  304. package/dist/vue/index.js +66 -26
  305. package/dist/vue/index.js.map +1 -0
  306. package/package.json +1 -1
  307. package/dist/chunks/_plugin-vue_export-helper-CHO2XVys.js +0 -8
  308. package/dist/chunks/adapter-D5uYoOZj.js +0 -4
  309. package/dist/chunks/arrow-up-Dv3dC3hu.js +0 -23
  310. package/dist/chunks/classTokens-CT1tqF2j.js +0 -6
  311. package/dist/chunks/config-B5JCvHys.js +0 -13
  312. package/dist/chunks/config-BDXa5Sna2.js +0 -9
  313. package/dist/chunks/config-BG5_FuZ-.js +0 -34
  314. package/dist/chunks/config-BMYKG1oB.js +0 -10
  315. package/dist/chunks/config-BQREEXFD.js +0 -8
  316. package/dist/chunks/config-BUZtbeTr.js +0 -40
  317. package/dist/chunks/config-BVXycfiO.js +0 -9
  318. package/dist/chunks/config-BZW-RL6E.js +0 -14
  319. package/dist/chunks/config-BhbfV-Is.js +0 -48
  320. package/dist/chunks/config-BmYFupZh.js +0 -8
  321. package/dist/chunks/config-BsZc_QQ-2.js +0 -20
  322. package/dist/chunks/config-C1Sn7mn-.js +0 -27
  323. package/dist/chunks/config-C4_REX-3.js +0 -9
  324. package/dist/chunks/config-CBFllZZ4.js +0 -9
  325. package/dist/chunks/config-CDyD_fCt.js +0 -8
  326. package/dist/chunks/config-CJeG727i.js +0 -149
  327. package/dist/chunks/config-CLawBqde.js +0 -21
  328. package/dist/chunks/config-CMz46RPG.js +0 -8
  329. package/dist/chunks/config-CO-7HRZd2.js +0 -8
  330. package/dist/chunks/config-CS7E7LME.js +0 -9
  331. package/dist/chunks/config-CVy124Xj.js +0 -8
  332. package/dist/chunks/config-CcixQGaN.js +0 -47
  333. package/dist/chunks/config-CiVXZxyQ.js +0 -9
  334. package/dist/chunks/config-CoMQmunP.js +0 -8
  335. package/dist/chunks/config-Cq6ufYtp.js +0 -9
  336. package/dist/chunks/config-D8CIEWcb.js +0 -8
  337. package/dist/chunks/config-D8hKc39m.js +0 -18
  338. package/dist/chunks/config-D9MxGwCJ.js +0 -8
  339. package/dist/chunks/config-DBXTZE36.js +0 -15
  340. package/dist/chunks/config-DK9C8O7L.js +0 -9
  341. package/dist/chunks/config-DTegOmx2.js +0 -8
  342. package/dist/chunks/config-DYI8XADo.js +0 -47
  343. package/dist/chunks/config-DlidGf7P.js +0 -8
  344. package/dist/chunks/config-DtNe7EIX.js +0 -35
  345. package/dist/chunks/config-EdWeK_ge.js +0 -17
  346. package/dist/chunks/config-FGAkxHFh.js +0 -8
  347. package/dist/chunks/config-M76gNxd2.js +0 -37
  348. package/dist/chunks/config-NuqoO_Of.js +0 -33
  349. package/dist/chunks/config-QsovJrku2.js +0 -66
  350. package/dist/chunks/config-R6F6zRJk.js +0 -9
  351. package/dist/chunks/config-SLwkDc4Q2.js +0 -9
  352. package/dist/chunks/config-aJ7sb62Y.js +0 -8
  353. package/dist/chunks/config-b9nc87Oc.js +0 -9
  354. package/dist/chunks/config-dSI8RttH2.js +0 -8
  355. package/dist/chunks/config-im2VHeSM.js +0 -9
  356. package/dist/chunks/config-vKeQ035f.js +0 -9
  357. package/dist/chunks/config-vMcxHlWi.js +0 -14
  358. package/dist/chunks/dialogShared-CONROtU2.js +0 -26
  359. package/dist/chunks/directives-Dr5NPOT8.js +0 -530
  360. package/dist/chunks/en-j3simI0h.js +0 -41
  361. package/dist/chunks/es-CIT9s_vo.js +0 -4
  362. package/dist/chunks/es-CLpJj7KP.js +0 -41
  363. package/dist/chunks/fileValidation-LFD-vwil.js +0 -193
  364. package/dist/chunks/grDropdownStyles-149X1NeB.js +0 -31
  365. package/dist/chunks/grLoadingStyles-Bjo7ylmq.js +0 -15
  366. package/dist/chunks/grModalStyles-Dmd4havY.js +0 -38
  367. package/dist/chunks/grSelectStyles-C3QKIn1J.js +0 -40
  368. package/dist/chunks/granularityI18n-8_v1B11L.js +0 -24
  369. package/dist/chunks/info-CNJnuTYC.js +0 -26
  370. package/dist/chunks/loader-circle-C5vCCMfB.js +0 -23
  371. package/dist/chunks/ru-CiOZPnBu.js +0 -41
  372. package/dist/chunks/safelist-Bq32hAXc.js +0 -13
  373. package/dist/chunks/safelist-CLcTRYB-.js +0 -22
  374. package/dist/chunks/transition-BJXMi52x.js +0 -1617
  375. package/dist/chunks/x--kxrj3ez.js +0 -23
  376. package/dist/chunks/x-circle-ChJ87u1v.js +0 -61
  377. package/dist/components/GrAlert/chunks/GrAlert-DLHkusb-.js +0 -129
  378. package/dist/components/GrAvatar/chunks/GrAvatar-BFYH3HJw.js +0 -32
  379. package/dist/components/GrBadge/chunks/GrBadge-D_AoqGrn.js +0 -27
  380. package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-C_N0QJfA.js +0 -26
  381. package/dist/components/GrBottomNav/chunks/GrBottomNav-Chpu3SVd.js +0 -21
  382. package/dist/components/GrButton/chunks/GrButton-BXVVt6Od.js +0 -67
  383. package/dist/components/GrButtonGroup/chunks/GrButtonGroup-CmnYHVH7.js +0 -16
  384. package/dist/components/GrCard/chunks/GrCard-DEpN6Ptf.js +0 -10
  385. package/dist/components/GrCheckbox/chunks/GrCheckbox-DF3vJApB.js +0 -111
  386. package/dist/components/GrCollapse/chunks/GrCollapse-D7QYRqNa.js +0 -150
  387. package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-C7Eh8-Vn.js +0 -111
  388. package/dist/components/GrDataTable/chunks/GrDataTable-Dxsg1NMP.js +0 -142
  389. package/dist/components/GrDialog/chunks/GrDialog-BSd4-uP5.js +0 -169
  390. package/dist/components/GrDrawer/chunks/GrDrawer-DBBSwe1s.js +0 -135
  391. package/dist/components/GrDropdown/chunks/GrDropdown-BELyRP4A.js +0 -110
  392. package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-B8fuk7iP.js +0 -233
  393. package/dist/components/GrEmptyState/chunks/GrEmptyState-BPGoafJI.js +0 -49
  394. package/dist/components/GrFileUpload/chunks/GrFileUpload-BPzx3LEM.js +0 -294
  395. package/dist/components/GrFormField/chunks/GrFormField-Cn8g9eFP.js +0 -28
  396. package/dist/components/GrFormFile/chunks/GrFormFile-DfinD5Iv.js +0 -248
  397. package/dist/components/GrFormSection/chunks/GrFormSection-dKpQw-vh.js +0 -27
  398. package/dist/components/GrIcon/chunks/GrIcon-CXIHuG7L.js +0 -25
  399. package/dist/components/GrImageViewer/chunks/GrImageViewer-CQSNx-D7.js +0 -322
  400. package/dist/components/GrInput/chunks/GrInput-CLKX1inm.js +0 -158
  401. package/dist/components/GrInputTag/chunks/GrInputTag-BAtLody2.js +0 -214
  402. package/dist/components/GrLink/chunks/GrLink-BpXnly-Y.js +0 -59
  403. package/dist/components/GrList/chunks/GrList-BrFc7VdS.js +0 -55
  404. package/dist/components/GrLoading/chunks/GrLoading-dFuoryMY.js +0 -53
  405. package/dist/components/GrModal/chunks/GrModal-uaWXH08K.js +0 -136
  406. package/dist/components/GrNavbar/chunks/GrNavbar-KzLHgdjX.js +0 -62
  407. package/dist/components/GrNumberInput/chunks/GrNumberInput-rENn1802.js +0 -315
  408. package/dist/components/GrPagination/chunks/GrPagination-DP0x3rx6.js +0 -93
  409. package/dist/components/GrProgressBar/chunks/GrProgressBar-DpW93sOi.js +0 -29
  410. package/dist/components/GrPromptDialog/chunks/GrPromptDialog-ASfBwyzQ.js +0 -158
  411. package/dist/components/GrRadio/chunks/GrRadio-8BOo97XV.js +0 -147
  412. package/dist/components/GrRadioGroup/chunks/GrRadioGroup-BymbUmqI.js +0 -66
  413. package/dist/components/GrSegmented/chunks/GrSegmented-CK5C_lN7.js +0 -250
  414. package/dist/components/GrSelect/chunks/GrSelect-BMfc1-vs.js +0 -314
  415. package/dist/components/GrSidebar/chunks/GrSidebar-C4SXXhfO.js +0 -29
  416. package/dist/components/GrSkeleton/chunks/GrSkeleton-QlieOdpY.js +0 -25
  417. package/dist/components/GrSwitch/chunks/GrSwitch-Cefiutzu.js +0 -64
  418. package/dist/components/GrTable/chunks/GrTable-k_FUiJQk.js +0 -44
  419. package/dist/components/GrTabs/chunks/GrTabs-B46P-lUc.js +0 -98
  420. package/dist/components/GrTextarea/chunks/GrTextarea-BX7L1MJk.js +0 -57
  421. package/dist/components/GrToaster/chunks/GrToaster-C4l_BjOh.js +0 -139
  422. package/dist/components/GrTooltip/chunks/GrTooltip-BqRAzuLT.js +0 -37
  423. package/dist/components/GrTree/chunks/GrTree-C2CXR_vW.js +0 -614
  424. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-DAAay-QB.js +0 -353
@@ -1,23 +0,0 @@
1
- import { createElementBlock as e, createElementVNode as t, markRaw as n, openBlock as r } from "vue";
2
- //#region ~icons/lucide/x
3
- var i = {
4
- viewBox: "0 0 24 24",
5
- width: "1.2em",
6
- height: "1.2em"
7
- };
8
- function a(n, a) {
9
- return r(), e("svg", i, [...a[0] ||= [t("path", {
10
- fill: "none",
11
- stroke: "currentColor",
12
- "stroke-linecap": "round",
13
- "stroke-linejoin": "round",
14
- "stroke-width": "2",
15
- d: "M18 6L6 18M6 6l12 12"
16
- }, null, -1)]]);
17
- }
18
- var o = n({
19
- name: "lucide-x",
20
- render: a
21
- });
22
- //#endregion
23
- export { o as t };
@@ -1,61 +0,0 @@
1
- import { createElementBlock as e, createElementVNode as t, markRaw as n, openBlock as r } from "vue";
2
- //#region ~icons/lucide/alert-triangle
3
- var i = {
4
- viewBox: "0 0 24 24",
5
- width: "1.2em",
6
- height: "1.2em"
7
- };
8
- function a(n, a) {
9
- return r(), e("svg", i, [...a[0] ||= [t("path", {
10
- fill: "none",
11
- stroke: "currentColor",
12
- "stroke-linecap": "round",
13
- "stroke-linejoin": "round",
14
- "stroke-width": "2",
15
- d: "m21.73 18l-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3M12 9v4m0 4h.01"
16
- }, null, -1)]]);
17
- }
18
- var o = n({
19
- name: "lucide-alert-triangle",
20
- render: a
21
- }), s = {
22
- viewBox: "0 0 24 24",
23
- width: "1.2em",
24
- height: "1.2em"
25
- };
26
- function c(n, i) {
27
- return r(), e("svg", s, [...i[0] ||= [t("g", {
28
- fill: "none",
29
- stroke: "currentColor",
30
- "stroke-linecap": "round",
31
- "stroke-linejoin": "round",
32
- "stroke-width": "2"
33
- }, [t("path", { d: "M21.801 10A10 10 0 1 1 17 3.335" }), t("path", { d: "m9 11l3 3L22 4" })], -1)]]);
34
- }
35
- var l = n({
36
- name: "lucide-check-circle",
37
- render: c
38
- }), u = {
39
- viewBox: "0 0 24 24",
40
- width: "1.2em",
41
- height: "1.2em"
42
- };
43
- function d(n, i) {
44
- return r(), e("svg", u, [...i[0] ||= [t("g", {
45
- fill: "none",
46
- stroke: "currentColor",
47
- "stroke-linecap": "round",
48
- "stroke-linejoin": "round",
49
- "stroke-width": "2"
50
- }, [t("circle", {
51
- cx: "12",
52
- cy: "12",
53
- r: "10"
54
- }), t("path", { d: "m15 9l-6 6m0-6l6 6" })], -1)]]);
55
- }
56
- var f = n({
57
- name: "lucide-x-circle",
58
- render: d
59
- });
60
- //#endregion
61
- export { l as n, o as r, f as t };
@@ -1,129 +0,0 @@
1
- import { n as e, r as t, t as n } from "../../../chunks/x-circle-ChJ87u1v.js";
2
- import { t as r } from "../../../chunks/info-CNJnuTYC.js";
3
- import { t as i } from "../../../chunks/x--kxrj3ez.js";
4
- import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createVNode as u, defineComponent as d, normalizeStyle as f, openBlock as p, renderSlot as m, resolveDynamicComponent as h, toDisplayString as g, unref as _ } from "vue";
5
- //#region src/components/GrAlert/GrAlert.vue?vue&type=script&setup=true&lang.ts
6
- var v = { class: "flex items-start gap-3" }, y = { class: "min-w-0 flex-1" }, b = {
7
- key: 0,
8
- class: "text-[14px] font-700 text-[var(--ds-alert-title-color)]"
9
- }, x = { class: "mt-0.5 text-[13px] text-[var(--ds-alert-text-color)]" }, S = "#92400e", C = /* @__PURE__ */ d({
10
- __name: "GrAlert",
11
- props: {
12
- tone: { default: "info" },
13
- variant: { default: "soft" },
14
- title: { default: void 0 },
15
- closable: {
16
- type: Boolean,
17
- default: !1
18
- },
19
- backgroundColor: { default: void 0 },
20
- textColor: { default: void 0 },
21
- borderColor: { default: void 0 }
22
- },
23
- emits: ["close"],
24
- setup(d, { emit: C }) {
25
- let w = {
26
- title: "var(--fg)",
27
- text: "var(--muted-fg)",
28
- close: "var(--muted-fg)",
29
- closeHover: "var(--fg)"
30
- }, T = C, E = d, D = (e) => e?.trim() || void 0, O = {
31
- info: {
32
- bg: "var(--ds-info-light)",
33
- border: "color-mix(in srgb, var(--ds-info) 22%, var(--brd))",
34
- icon: "var(--ds-info)",
35
- ...w,
36
- Icon: r
37
- },
38
- success: {
39
- bg: "var(--ds-success-light)",
40
- border: "color-mix(in srgb, var(--ds-success) 22%, var(--brd))",
41
- icon: "var(--ds-success)",
42
- ...w,
43
- Icon: e
44
- },
45
- warning: {
46
- bg: "var(--ds-warning-light)",
47
- border: "color-mix(in srgb, var(--ds-warning) 22%, var(--brd))",
48
- icon: "var(--ds-warning)",
49
- ...w,
50
- Icon: t
51
- },
52
- danger: {
53
- bg: "var(--ds-danger-light)",
54
- border: "color-mix(in srgb, var(--ds-danger) 22%, var(--brd))",
55
- icon: "var(--ds-danger)",
56
- ...w,
57
- Icon: n
58
- },
59
- slate: {
60
- bg: "var(--ds-slate-light)",
61
- border: "color-mix(in srgb, var(--ds-slate) 22%, var(--brd))",
62
- icon: "var(--ds-slate)",
63
- ...w,
64
- Icon: r
65
- },
66
- azure: {
67
- bg: "var(--ds-azure-light)",
68
- border: "color-mix(in srgb, var(--ds-azure) 22%, var(--brd))",
69
- icon: "var(--ds-azure)",
70
- ...w,
71
- Icon: r
72
- }
73
- }, k = { warning: {
74
- bg: "#fffbeb",
75
- border: "#fcd34d",
76
- icon: S,
77
- title: S,
78
- text: S,
79
- close: S,
80
- closeHover: S,
81
- Icon: t
82
- } }, A = a(() => {
83
- let e = (E.variant === "light" ? k[E.tone] : void 0) ?? O[E.tone], t = D(E.textColor);
84
- return {
85
- ...e,
86
- bg: D(E.backgroundColor) ?? e.bg,
87
- border: D(E.borderColor) ?? e.border,
88
- icon: t ?? e.icon,
89
- title: t ?? e.title,
90
- text: t ?? e.text,
91
- close: t ?? e.close,
92
- closeHover: t ?? e.closeHover
93
- };
94
- }), j = a(() => ({
95
- "--ds-alert-bg": A.value.bg,
96
- "--ds-alert-brd": A.value.border,
97
- "--ds-alert-icon-color": A.value.icon,
98
- "--ds-alert-title-color": A.value.title,
99
- "--ds-alert-text-color": A.value.text,
100
- "--ds-alert-close-color": A.value.close,
101
- "--ds-alert-close-hover-color": A.value.closeHover,
102
- background: "var(--ds-alert-bg)",
103
- borderColor: "var(--ds-alert-brd)"
104
- }));
105
- return (e, t) => (p(), c("div", {
106
- role: "alert",
107
- class: "rounded-[var(--ds-radius-lg)] border px-4 py-3",
108
- style: f(j.value)
109
- }, [l("div", v, [
110
- (p(), o(h(A.value.Icon), {
111
- class: "mt-0.5 h-5 w-5 text-[var(--ds-alert-icon-color)]",
112
- "aria-hidden": "true"
113
- })),
114
- l("div", y, [E.title ? (p(), c("div", b, g(E.title), 1)) : s("", !0), l("div", x, [m(e.$slots, "default")])]),
115
- E.closable ? (p(), c("button", {
116
- key: 0,
117
- type: "button",
118
- class: "-mr-1 -mt-1 rounded-[var(--ds-radius-md)] p-1 text-[var(--ds-alert-close-color)] transition-colors hover:text-[var(--ds-alert-close-hover-color)]",
119
- "aria-label": "Close",
120
- onClick: t[0] ||= (e) => T("close")
121
- }, [u(_(i), {
122
- class: "h-4 w-4",
123
- "aria-hidden": "true"
124
- })])) : s("", !0)
125
- ])], 4));
126
- }
127
- });
128
- //#endregion
129
- export { C as t };
@@ -1,32 +0,0 @@
1
- import { r as e } from "../../../chunks/config-D8hKc39m.js";
2
- import { computed as t, createElementBlock as n, defineComponent as r, normalizeClass as i, normalizeStyle as a, openBlock as o, renderSlot as s } from "vue";
3
- //#region src/components/GrAvatar/GrAvatar.vue?vue&type=script&setup=true&lang.ts
4
- var c = ["src", "alt"], l = /* @__PURE__ */ r({
5
- __name: "GrAvatar",
6
- props: {
7
- size: { default: 40 },
8
- src: { default: void 0 },
9
- alt: { default: "" },
10
- shape: { default: "circle" }
11
- },
12
- setup(r) {
13
- let l = r, u = t(() => {
14
- let e = `${l.size}px`;
15
- return {
16
- width: e,
17
- height: e
18
- };
19
- }), d = t(() => e(l.shape));
20
- return (e, t) => (o(), n("span", {
21
- style: a(u.value),
22
- class: i(["inline-flex items-center justify-center overflow-hidden border border-[var(--brd)] bg-[var(--muted)] text-[var(--muted-fg)] font-700", d.value])
23
- }, [l.src ? (o(), n("img", {
24
- key: 0,
25
- src: l.src,
26
- alt: l.alt,
27
- class: "h-full w-full object-cover"
28
- }, null, 8, c)) : s(e.$slots, "default", { key: 1 })], 6));
29
- }
30
- });
31
- //#endregion
32
- export { l as t };
@@ -1,27 +0,0 @@
1
- import { n as e } from "../../../chunks/grBadgeStyles-Bu4H8bFc.js";
2
- import { computed as t, createElementBlock as n, defineComponent as r, normalizeClass as i, openBlock as a, renderSlot as o } from "vue";
3
- //#endregion
4
- //#region src/components/GrBadge/GrBadge.vue
5
- var s = /* @__PURE__ */ r({
6
- __name: "GrBadge",
7
- props: {
8
- tone: { default: "neutral" },
9
- dark: {
10
- type: Boolean,
11
- default: !1
12
- },
13
- size: { default: "md" },
14
- radius: { default: "round" }
15
- },
16
- setup(r) {
17
- let s = r, c = t(() => e({
18
- tone: s.tone,
19
- dark: s.dark,
20
- size: s.size,
21
- radius: s.radius
22
- }));
23
- return (e, t) => (a(), n("span", { class: i(["inline-flex items-center border whitespace-nowrap leading-none", c.value]) }, [o(e.$slots, "default")], 2));
24
- }
25
- });
26
- //#endregion
27
- export { s as t };
@@ -1,26 +0,0 @@
1
- import { createCommentVNode as e, createElementBlock as t, defineComponent as n, openBlock as r, renderSlot as i, toDisplayString as a } from "vue";
2
- //#region src/components/GrBadgeWrap/GrBadgeWrap.vue?vue&type=script&setup=true&lang.ts
3
- var o = { class: "relative inline-flex" }, s = {
4
- key: 0,
5
- class: "absolute -top-1 -right-1 h-2 w-2 rounded-full bg-[var(--ds-danger)]",
6
- "aria-hidden": "true"
7
- }, c = {
8
- key: 1,
9
- class: "absolute -top-2 -right-2 min-w-5 h-5 px-1 rounded-full bg-[var(--ds-danger)] text-[var(--destructive-fg)] text-[11px] font-700 inline-flex items-center justify-center",
10
- "aria-hidden": "true"
11
- }, l = /* @__PURE__ */ n({
12
- __name: "GrBadgeWrap",
13
- props: {
14
- value: { default: void 0 },
15
- dot: {
16
- type: Boolean,
17
- default: !1
18
- }
19
- },
20
- setup(n) {
21
- let l = n;
22
- return (n, u) => (r(), t("span", o, [i(n.$slots, "default"), l.dot ? (r(), t("span", s)) : l.value === void 0 ? e("", !0) : (r(), t("span", c, a(l.value), 1))]));
23
- }
24
- });
25
- //#endregion
26
- export { l as t };
@@ -1,21 +0,0 @@
1
- import { Fragment as e, createElementBlock as t, createElementVNode as n, defineComponent as r, normalizeClass as i, openBlock as a, renderList as o, toDisplayString as s } from "vue";
2
- //#region src/components/GrBottomNav/GrBottomNav.vue?vue&type=script&setup=true&lang.ts
3
- var c = { class: "fixed bottom-0 left-0 right-0 border-t border-[var(--brd)] bg-[var(--bg)] px-2 pb-[env(safe-area-inset-bottom)] sm:hidden" }, l = { class: "h-14 flex items-center justify-around" }, u = ["onClick"], d = /* @__PURE__ */ r({
4
- __name: "GrBottomNav",
5
- props: {
6
- modelValue: {},
7
- items: {}
8
- },
9
- emits: ["update:modelValue"],
10
- setup(r, { emit: d }) {
11
- let f = r, p = d;
12
- return (r, d) => (a(), t("nav", c, [n("div", l, [(a(!0), t(e, null, o(f.items, (e) => (a(), t("button", {
13
- key: e.value,
14
- type: "button",
15
- class: i(["min-w-[44px] min-h-[44px] px-3 rounded-md text-sm font-600 transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]", e.value === f.modelValue ? "text-[var(--primary)]" : "text-[var(--muted-fg)] hover:text-[var(--fg)]"]),
16
- onClick: (t) => p("update:modelValue", e.value)
17
- }, s(e.label), 11, u))), 128))])]));
18
- }
19
- });
20
- //#endregion
21
- export { d as t };
@@ -1,67 +0,0 @@
1
- import { t as e } from "../../../chunks/loader-circle-C5vCCMfB.js";
2
- import { n as t, r as n } from "../../../chunks/grButtonStyles-C5k0bN2e.js";
3
- import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, defineComponent as s, normalizeClass as c, normalizeStyle as l, openBlock as u, renderSlot as d, unref as f } from "vue";
4
- //#region src/components/GrButton/GrButton.vue?vue&type=script&setup=true&lang.ts
5
- var p = [
6
- "data-ds-variant",
7
- "data-ds-tone",
8
- "type",
9
- "disabled",
10
- "aria-busy",
11
- "aria-label"
12
- ], m = /* @__PURE__ */ s({
13
- __name: "GrButton",
14
- props: {
15
- variant: { default: "primary" },
16
- tone: { default: "primary" },
17
- size: { default: "md" },
18
- loading: {
19
- type: Boolean,
20
- default: !1
21
- },
22
- disabled: {
23
- type: Boolean,
24
- default: !1
25
- },
26
- square: {
27
- type: Boolean,
28
- default: !1
29
- },
30
- type: { default: "button" },
31
- ariaLabel: { default: void 0 }
32
- },
33
- setup(s) {
34
- let m = s, h = r(() => m.disabled || m.loading), g = r(() => m.square), _ = r(() => {
35
- if (!g.value) return;
36
- let e = `${m.size === "xs" ? 28 : m.size === "sm" ? 32 : m.size === "lg" ? 44 : 40}px`;
37
- return {
38
- width: e,
39
- minWidth: e,
40
- height: e,
41
- padding: "0px"
42
- };
43
- }), v = r(() => n({
44
- variant: m.variant,
45
- tone: m.tone,
46
- size: m.size,
47
- square: g.value
48
- }));
49
- return (n, r) => (u(), o("button", {
50
- "data-ds-button": "",
51
- "data-ds-variant": m.variant,
52
- "data-ds-tone": m.tone,
53
- type: m.type,
54
- disabled: h.value,
55
- "aria-busy": m.loading ? "true" : void 0,
56
- "aria-label": m.ariaLabel,
57
- class: c([f(t), v.value]),
58
- style: l(_.value)
59
- }, [m.loading ? (u(), i(f(e), {
60
- key: 0,
61
- class: "h-4 w-4 animate-spin",
62
- "aria-hidden": "true"
63
- })) : a("", !0), d(n.$slots, "default")], 14, p));
64
- }
65
- });
66
- //#endregion
67
- export { m as t };
@@ -1,16 +0,0 @@
1
- import { createElementBlock as e, defineComponent as t, openBlock as n, renderSlot as r } from "vue";
2
- import '../../../GrButtonGroup.css';//#region src/components/GrButtonGroup/GrButtonGroup.vue?vue&type=script&setup=true&lang.ts
3
- var i = ["aria-label"], a = /* @__PURE__ */ t({
4
- __name: "GrButtonGroup",
5
- props: { ariaLabel: { default: void 0 } },
6
- setup(t) {
7
- return (a, o) => (n(), e("div", {
8
- "data-ds-button-group": "",
9
- class: "inline-flex items-stretch",
10
- role: "group",
11
- "aria-label": t.ariaLabel
12
- }, [r(a.$slots, "default")], 8, i));
13
- }
14
- });
15
- //#endregion
16
- export { a as t };
@@ -1,10 +0,0 @@
1
- import { t as e } from "../../../chunks/_plugin-vue_export-helper-CHO2XVys.js";
2
- import { createElementBlock as t, openBlock as n, renderSlot as r } from "vue";
3
- //#region src/components/GrCard/GrCard.vue
4
- var i = {}, a = { class: "rounded-[var(--ds-radius-lg)] border border-[var(--brd)] bg-[var(--card)] text-[var(--card-fg)] shadow-sm" };
5
- function o(e, i) {
6
- return n(), t("div", a, [r(e.$slots, "default")]);
7
- }
8
- var s = /* @__PURE__ */ e(i, [["render", o]]);
9
- //#endregion
10
- export { s as t };
@@ -1,111 +0,0 @@
1
- import { createElementBlock as e, createElementVNode as t, createVNode as n, defineComponent as r, markRaw as i, normalizeClass as a, openBlock as o, ref as s, renderSlot as c, unref as l, watch as u, withKeys as d, withModifiers as f } from "vue";
2
- //#region ~icons/lucide/check
3
- var p = {
4
- viewBox: "0 0 24 24",
5
- width: "1.2em",
6
- height: "1.2em"
7
- };
8
- function m(n, r) {
9
- return o(), e("svg", p, [...r[0] ||= [t("path", {
10
- fill: "none",
11
- stroke: "currentColor",
12
- "stroke-linecap": "round",
13
- "stroke-linejoin": "round",
14
- "stroke-width": "2",
15
- d: "M20 6L9 17l-5-5"
16
- }, null, -1)]]);
17
- }
18
- var h = i({
19
- name: "lucide-check",
20
- render: m
21
- }), g = [
22
- "aria-checked",
23
- "aria-disabled",
24
- "tabindex",
25
- "onKeydown"
26
- ], _ = [
27
- "id",
28
- "checked",
29
- "disabled",
30
- "name",
31
- "value",
32
- "required",
33
- "form"
34
- ], v = { class: "text-sm text-[var(--muted-fg)]" }, y = /* @__PURE__ */ r({
35
- __name: "GrCheckbox",
36
- props: {
37
- modelValue: {
38
- type: Boolean,
39
- default: !1
40
- },
41
- disabled: {
42
- type: Boolean,
43
- default: !1
44
- },
45
- name: { default: void 0 },
46
- value: { default: "on" },
47
- required: {
48
- type: Boolean,
49
- default: !1
50
- },
51
- form: { default: void 0 },
52
- id: { default: void 0 }
53
- },
54
- emits: ["update:modelValue"],
55
- setup(r, { emit: i }) {
56
- let p = {
57
- position: "absolute",
58
- opacity: "0",
59
- width: "0",
60
- height: "0",
61
- pointerEvents: "none"
62
- }, m = r, y = i, b = s(null);
63
- u(() => m.modelValue, (e) => {
64
- b.value && b.value.checked !== e && (b.value.checked = e);
65
- });
66
- function x() {
67
- m.disabled || y("update:modelValue", !m.modelValue);
68
- }
69
- function S(e) {
70
- let t = e;
71
- return t ? !!t.closest("a,button,input,select,textarea,label,[role=\"button\"],[role=\"link\"]") : !1;
72
- }
73
- function C(e) {
74
- S(e.target) || x();
75
- }
76
- return (i, s) => (o(), e("div", {
77
- "data-ds-checkbox": "",
78
- class: a(["inline-flex items-center gap-2 select-none focus-visible:outline-none focus-visible:rounded-[8px] focus-visible:shadow-[0_0_0_2px_var(--ring),0_0_0_4px_var(--bg)]", r.disabled ? "cursor-not-allowed opacity-70" : "cursor-pointer"]),
79
- role: "checkbox",
80
- "aria-checked": r.modelValue ? "true" : "false",
81
- "aria-disabled": r.disabled ? "true" : void 0,
82
- tabindex: r.disabled ? -1 : 0,
83
- onClick: C,
84
- onKeydown: [d(f(x, ["prevent"]), ["space"]), d(f(x, ["prevent"]), ["enter"])]
85
- }, [
86
- t("input", {
87
- id: r.id,
88
- ref_key: "nativeInput",
89
- ref: b,
90
- type: "checkbox",
91
- checked: r.modelValue,
92
- disabled: r.disabled,
93
- name: r.name,
94
- value: r.value,
95
- required: r.required,
96
- form: r.form,
97
- tabindex: "-1",
98
- "aria-hidden": "true",
99
- style: p
100
- }, null, 8, _),
101
- t("span", {
102
- "data-ds-checkbox-indicator": "",
103
- "aria-hidden": "true",
104
- class: a(["h-4 w-4 rounded border flex items-center justify-center transition-colors duration-150", r.modelValue ? "border-[var(--primary)] bg-[var(--primary)]" : "border-[var(--brd)] bg-[var(--bg)]"])
105
- }, [n(l(h), { class: a(["ds-checkbox-icon h-3.5 w-3.5 transition-transform transition-opacity duration-150", r.modelValue ? "opacity-100 scale-100 text-[var(--primary-fg)]" : "opacity-0 scale-75 text-transparent"]) }, null, 8, ["class"])], 2),
106
- t("span", v, [c(i.$slots, "default")])
107
- ], 42, g));
108
- }
109
- });
110
- //#endregion
111
- export { y as t };
@@ -1,150 +0,0 @@
1
- import { t as e } from "../../GrCard/chunks/GrCard-DEpN6Ptf.js";
2
- import { t } from "../../GrIcon/chunks/GrIcon-CXIHuG7L.js";
3
- import { computed as n, createBlock as r, createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, getCurrentInstance as c, inject as l, markRaw as u, normalizeClass as d, openBlock as f, provide as p, ref as m, renderSlot as h, toDisplayString as g, unref as _, withCtx as v } from "vue";
4
- //#region src/components/GrCollapse/grCollapseContext.ts
5
- var y = Symbol("GR_COLLAPSE_CONTEXT"), b = /* @__PURE__ */ s({
6
- __name: "GrCollapse",
7
- props: {
8
- modelValue: { default: void 0 },
9
- accordion: {
10
- type: Boolean,
11
- default: !1
12
- },
13
- disabled: {
14
- type: Boolean,
15
- default: !1
16
- },
17
- divided: {
18
- type: Boolean,
19
- default: !0
20
- }
21
- },
22
- emits: ["update:modelValue", "change"],
23
- setup(t, { emit: i }) {
24
- let o = t, s = i, c = n(() => {
25
- let e = o.modelValue;
26
- return o.accordion ? typeof e == "string" || typeof e == "number" ? new Set([e]) : /* @__PURE__ */ new Set() : Array.isArray(e) ? new Set(e) : typeof e == "string" || typeof e == "number" ? new Set([e]) : /* @__PURE__ */ new Set();
27
- });
28
- function l(e) {
29
- s("update:modelValue", e), s("change", e);
30
- }
31
- function u(e) {
32
- if (o.disabled) return;
33
- if (o.accordion) {
34
- l(c.value.has(e) ? void 0 : e);
35
- return;
36
- }
37
- let t = Array.isArray(o.modelValue) ? [...o.modelValue] : typeof o.modelValue == "string" || typeof o.modelValue == "number" ? [o.modelValue] : [];
38
- l(t.includes(e) ? t.filter((t) => t !== e) : [...t, e]);
39
- }
40
- return p(y, {
41
- accordion: n(() => o.accordion),
42
- disabled: n(() => o.disabled),
43
- isActive: (e) => c.value.has(e),
44
- toggle: u
45
- }), (n, i) => (f(), r(_(e), { "data-ds-collapse": "" }, {
46
- default: v(() => [a("div", { class: d(t.divided ? "divide-y divide-[var(--brd)]" : "") }, [h(n.$slots, "default")], 2)]),
47
- _: 3
48
- }));
49
- }
50
- }), x = {
51
- viewBox: "0 0 24 24",
52
- width: "1.2em",
53
- height: "1.2em"
54
- };
55
- function S(e, t) {
56
- return f(), i("svg", x, [...t[0] ||= [a("path", {
57
- fill: "none",
58
- stroke: "currentColor",
59
- "stroke-linecap": "round",
60
- "stroke-linejoin": "round",
61
- "stroke-width": "2",
62
- d: "m6 9l6 6l6-6"
63
- }, null, -1)]]);
64
- }
65
- var C = u({
66
- name: "lucide-chevron-down",
67
- render: S
68
- }), w = {
69
- "data-ds-collapse-item": "",
70
- class: "text-[var(--fg)]"
71
- }, T = { class: "m-0" }, E = ["aria-expanded", "disabled"], D = { class: "min-w-0" }, O = { class: "text-sm font-600" }, k = { class: "overflow-hidden" }, A = { class: "px-4 pb-4 text-sm text-[var(--muted-fg)]" }, j = /* @__PURE__ */ s({
72
- __name: "GrCollapseItem",
73
- props: {
74
- name: { default: void 0 },
75
- title: { default: void 0 },
76
- disabled: {
77
- type: Boolean,
78
- default: !1
79
- }
80
- },
81
- setup(e) {
82
- let r = e, s = l(y);
83
- if (!s) throw Error("GrCollapseItem must be used inside GrCollapse");
84
- let u = s, p = c()?.uid ?? Math.random(), b = n(() => typeof r.name == "string" || typeof r.name == "number" ? r.name : p), x = n(() => u.disabled.value || r.disabled), S = n(() => u.isActive(b.value)), j = `ds-collapse-header-${p}`, M = `ds-collapse-panel-${p}`, N = m(null);
85
- function P() {
86
- x.value || u.toggle(b.value);
87
- }
88
- function F() {
89
- let e = N.value?.closest("[data-ds-collapse]");
90
- return e ? Array.prototype.slice.call(e.querySelectorAll("[data-ds-collapse-trigger]")) : [];
91
- }
92
- function I(e) {
93
- let t = N.value;
94
- if (!t) return;
95
- let n = F(), r = n.indexOf(t);
96
- r === -1 || n.length === 0 || n[(r + e + n.length) % n.length]?.focus();
97
- }
98
- function L(e) {
99
- let t = F();
100
- t.length !== 0 && (e === "start" ? t[0] : t.at(-1))?.focus();
101
- }
102
- function R(e) {
103
- if (e.key === "ArrowDown") {
104
- e.preventDefault(), I(1);
105
- return;
106
- }
107
- if (e.key === "ArrowUp") {
108
- e.preventDefault(), I(-1);
109
- return;
110
- }
111
- if (e.key === "Home") {
112
- e.preventDefault(), L("start");
113
- return;
114
- }
115
- if (e.key === "End") {
116
- e.preventDefault(), L("end");
117
- return;
118
- }
119
- (e.key === " " || e.key === "Enter") && (e.preventDefault(), P());
120
- }
121
- return (n, r) => (f(), i("div", w, [a("h3", T, [a("button", {
122
- id: j,
123
- ref_key: "triggerEl",
124
- ref: N,
125
- "data-ds-collapse-trigger": "",
126
- type: "button",
127
- "aria-expanded": S.value ? "true" : "false",
128
- "aria-controls": M,
129
- disabled: x.value,
130
- class: d(["w-full px-4 py-3 flex items-center justify-between gap-4 text-left transition-colors duration-150 focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] disabled:opacity-50 disabled:cursor-not-allowed", x.value ? "" : "hover:bg-[var(--muted)]"]),
131
- onClick: P,
132
- onKeydown: R
133
- }, [a("span", D, [h(n.$slots, "title", {}, () => [a("span", O, g(e.title), 1)])]), o(_(t), {
134
- size: "sm",
135
- "aria-hidden": "true",
136
- "data-ds-collapse-chevron": "",
137
- class: d(["shrink-0 transition-transform duration-150 text-[var(--muted-fg)]", S.value ? "rotate-180" : ""])
138
- }, {
139
- default: v(() => [o(_(C))]),
140
- _: 1
141
- }, 8, ["class"])], 42, E)]), a("div", {
142
- id: M,
143
- role: "region",
144
- "aria-labelledby": j,
145
- class: d(["grid transition-[grid-template-rows] duration-200", S.value ? "grid-rows-[1fr]" : "grid-rows-[0fr]"])
146
- }, [a("div", k, [a("div", A, [h(n.$slots, "default")])])], 2)]));
147
- }
148
- });
149
- //#endregion
150
- export { b as n, y as r, j as t };