@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,158 +0,0 @@
1
- import { computed as e, createCommentVNode as t, createElementBlock as n, createElementVNode as r, defineComponent as i, mergeProps as a, nextTick as o, normalizeStyle as s, onBeforeUnmount as c, onMounted as l, onUpdated as u, openBlock as d, ref as f, renderSlot as p, useSlots as m } from "vue";
2
- //#region src/components/GrInput/GrInput.vue?vue&type=script&setup=true&lang.ts
3
- var h = { class: "relative w-full" }, g = [
4
- "id",
5
- "name",
6
- "type",
7
- "inputmode",
8
- "autocomplete",
9
- "placeholder",
10
- "disabled",
11
- "value",
12
- "aria-invalid"
13
- ], _ = /* @__PURE__ */ i({
14
- inheritAttrs: !1,
15
- __name: "GrInput",
16
- props: {
17
- modelValue: {},
18
- type: { default: "text" },
19
- placeholder: { default: void 0 },
20
- autocomplete: { default: void 0 },
21
- inputmode: { default: void 0 },
22
- disabled: {
23
- type: Boolean,
24
- default: !1
25
- },
26
- invalid: {
27
- type: Boolean,
28
- default: !1
29
- },
30
- state: { default: "default" },
31
- name: { default: void 0 },
32
- id: { default: void 0 },
33
- size: { default: "md" },
34
- textAlign: { default: "left" },
35
- prefixMinWidth: { default: void 0 },
36
- prefixMaxWidth: { default: void 0 },
37
- suffixMinWidth: { default: void 0 },
38
- suffixMaxWidth: { default: void 0 }
39
- },
40
- emits: ["update:modelValue"],
41
- setup(i, { expose: _, emit: v }) {
42
- let y = i, b = v, x = f(null);
43
- function S() {
44
- x.value?.focus();
45
- }
46
- _({ focus: S });
47
- let C = m(), w = e(() => !!C.prefix), T = e(() => !!C.suffix), E = e(() => ({
48
- xs: "2rem",
49
- sm: "2.25rem",
50
- md: "2.5rem",
51
- lg: "3rem"
52
- })[y.size]), D = e(() => y.prefixMinWidth ?? E.value), O = e(() => y.suffixMinWidth ?? E.value), k = f(null), A = f(null), j = f(void 0), M = f(void 0), N = null, P = !1;
53
- function F(e) {
54
- if (!e) return;
55
- let t = Math.ceil(e.getBoundingClientRect().width || 0);
56
- if (!(t <= 0)) return `${t}px`;
57
- }
58
- function I() {
59
- j.value = w.value ? F(k.value) : void 0, M.value = T.value ? F(A.value) : void 0;
60
- }
61
- function L() {
62
- typeof ResizeObserver > "u" || (N ||= new ResizeObserver(() => I()), N.disconnect(), k.value && N.observe(k.value), A.value && N.observe(A.value));
63
- }
64
- function R() {
65
- P || (P = !0, o(() => {
66
- P = !1, I(), L();
67
- }));
68
- }
69
- l(() => R()), u(() => R()), c(() => N?.disconnect());
70
- function z(e, t) {
71
- if (e === "0px") return t;
72
- if (t === "0px") return e;
73
- let n = e.endsWith("px") ? Number(e.slice(0, -2)) : null, r = t.endsWith("px") ? Number(t.slice(0, -2)) : null;
74
- return n !== null && Number.isFinite(n) && r !== null && Number.isFinite(r) ? `${n + r}px` : `calc(${e} + ${t})`;
75
- }
76
- let B = e(() => ({
77
- xs: "10px",
78
- sm: "12px",
79
- md: "12px",
80
- lg: "16px"
81
- })[y.size]), V = e(() => {
82
- let e = w.value ? j.value ?? D.value : "0px", t = T.value ? M.value ?? O.value : "0px";
83
- return {
84
- paddingLeft: w.value ? z(e, B.value) : void 0,
85
- paddingRight: T.value ? z(t, B.value) : void 0
86
- };
87
- }), H = e(() => ({
88
- minWidth: D.value,
89
- maxWidth: y.prefixMaxWidth
90
- })), U = e(() => ({
91
- minWidth: O.value,
92
- maxWidth: y.suffixMaxWidth
93
- })), W = e(() => ({
94
- xs: "h-7 px-2.5 text-[12px]",
95
- sm: "h-8 px-3 text-[13px]",
96
- md: "h-10 px-3 text-[14px]",
97
- lg: "h-11 px-4 text-[16px]"
98
- })[y.size]), G = e(() => ({
99
- left: "text-left",
100
- center: "text-center",
101
- right: "text-right"
102
- })[y.textAlign]), K = e(() => {
103
- let e = y.state, t = {
104
- default: "border-[var(--brd)]",
105
- success: "border-[var(--ds-success)] focus-visible:ring-[var(--ds-success)]",
106
- warning: "border-[var(--ds-warning)] focus-visible:ring-[var(--ds-warning)]",
107
- danger: "border-[var(--ds-danger)] focus-visible:ring-[var(--ds-danger)]"
108
- };
109
- return [
110
- W.value,
111
- G.value,
112
- y.invalid ? t.danger : t[e]
113
- ].join(" ");
114
- });
115
- function q(e) {
116
- b("update:modelValue", e.target.value);
117
- }
118
- return (e, i) => (d(), n("div", h, [
119
- e.$slots.prefix ? (d(), n("div", {
120
- key: 0,
121
- ref_key: "prefixEl",
122
- ref: k,
123
- "data-testid": "ds-input-prefix",
124
- class: "absolute inset-y-0 left-0 flex items-center justify-center border-r border-[var(--brd)] px-2 text-[var(--muted-fg)] pointer-events-none select-none truncate",
125
- style: s(H.value),
126
- "aria-hidden": "true"
127
- }, [p(e.$slots, "prefix")], 4)) : t("", !0),
128
- r("input", a({
129
- id: y.id,
130
- ref_key: "inputEl",
131
- ref: x
132
- }, e.$attrs, {
133
- name: y.name,
134
- type: y.type,
135
- inputmode: y.inputmode,
136
- autocomplete: y.autocomplete,
137
- placeholder: y.placeholder,
138
- disabled: y.disabled,
139
- value: y.modelValue,
140
- "aria-invalid": y.invalid ? "true" : void 0,
141
- class: ["w-full rounded-md border bg-[var(--bg)] text-[var(--fg)] placeholder:text-[var(--muted-fg)] focus:placeholder:text-transparent transition-colors duration-150 focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] disabled:opacity-50 disabled:cursor-not-allowed", K.value],
142
- style: V.value,
143
- onInput: q
144
- }), null, 16, g),
145
- e.$slots.suffix ? (d(), n("div", {
146
- key: 1,
147
- ref_key: "suffixEl",
148
- ref: A,
149
- "data-testid": "ds-input-suffix",
150
- class: "absolute inset-y-0 right-0 flex items-center justify-center border-l border-[var(--brd)] px-2 text-[var(--muted-fg)] pointer-events-none select-none truncate",
151
- style: s(U.value),
152
- "aria-hidden": "true"
153
- }, [p(e.$slots, "suffix")], 4)) : t("", !0)
154
- ]));
155
- }
156
- });
157
- //#endregion
158
- export { _ as t };
@@ -1,214 +0,0 @@
1
- import { t as e } from "../../../chunks/x--kxrj3ez.js";
2
- import { t } from "../../GrBadge/chunks/GrBadge-D_AoqGrn.js";
3
- import { t as n } from "../../GrIcon/chunks/GrIcon-CXIHuG7L.js";
4
- import { i as r, r as i } from "../../../chunks/config-BhbfV-Is.js";
5
- import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, normalizeClass as p, openBlock as m, ref as h, renderList as g, renderSlot as _, toDisplayString as v, unref as y, withCtx as b, withModifiers as x } from "vue";
6
- //#region src/components/GrInputTag/GrInputTag.vue?vue&type=script&setup=true&lang.ts
7
- var S = { class: "truncate max-w-[18rem]" }, C = [
8
- "aria-label",
9
- "data-index",
10
- "onClick"
11
- ], w = [
12
- "value",
13
- "disabled",
14
- "readonly",
15
- "placeholder",
16
- "aria-invalid"
17
- ], T = /* @__PURE__ */ f({
18
- __name: "GrInputTag",
19
- props: {
20
- modelValue: {},
21
- placeholder: { default: void 0 },
22
- disabled: {
23
- type: Boolean,
24
- default: !1
25
- },
26
- readonly: {
27
- type: Boolean,
28
- default: !1
29
- },
30
- invalid: {
31
- type: Boolean,
32
- default: !1
33
- },
34
- state: { default: "default" },
35
- size: { default: "md" },
36
- separators: { default: () => [","] },
37
- allowDuplicates: {
38
- type: Boolean,
39
- default: !1
40
- },
41
- trim: {
42
- type: Boolean,
43
- default: !0
44
- },
45
- max: { default: void 0 },
46
- addOnBlur: {
47
- type: Boolean,
48
- default: !1
49
- },
50
- clearInputOnAdd: {
51
- type: Boolean,
52
- default: !0
53
- },
54
- tagTone: { default: "neutral" },
55
- tagDark: {
56
- type: Boolean,
57
- default: !1
58
- },
59
- tagSize: { default: "md" },
60
- tagRadius: { default: "round" },
61
- tagClosable: {
62
- type: Boolean,
63
- default: !0
64
- },
65
- removeTagLabel: { default: "Remove tag" }
66
- },
67
- emits: [
68
- "update:modelValue",
69
- "add",
70
- "remove"
71
- ],
72
- setup(f, { expose: T, emit: E }) {
73
- let D = /[.*+?^${}()|[\]\\]/g, O = f, k = E, A = h(""), j = h(null);
74
- function M() {
75
- j.value?.focus();
76
- }
77
- T({ focus: M });
78
- let N = o(() => O.max !== void 0 && O.modelValue.length >= O.max), P = o(() => !O.disabled && !O.readonly), F = o(() => O.tagClosable && P.value);
79
- function I(e) {
80
- return e.replace(D, "\\$&");
81
- }
82
- let L = o(() => {
83
- let e = (O.separators ?? []).filter(Boolean).map((e) => e[0]), t = [...new Set([
84
- ...e,
85
- "\n",
86
- "\r",
87
- " "
88
- ])].map(I).join("");
89
- return RegExp(`[${t}]+`, "g");
90
- });
91
- function R(e) {
92
- return O.trim ? e.trim() : e;
93
- }
94
- function z(e) {
95
- return e.split(L.value).map((e) => R(e)).filter(Boolean);
96
- }
97
- function B(e) {
98
- if (!P.value || N.value) return !1;
99
- let t = O.modelValue.slice(), n = !1;
100
- for (let r of e) {
101
- let e = R(r);
102
- if (e && !(!O.allowDuplicates && t.includes(e))) {
103
- if (O.max !== void 0 && t.length >= O.max) break;
104
- t.push(e), n = !0, k("add", e);
105
- }
106
- }
107
- return n ? (k("update:modelValue", t), !0) : !1;
108
- }
109
- function V() {
110
- if (!P.value || N.value || !A.value) return;
111
- let e = z(A.value);
112
- e.length && B(e) && O.clearInputOnAdd && (A.value = "");
113
- }
114
- function H(e) {
115
- if (!P.value) return;
116
- let t = O.modelValue.slice(), n = t[e];
117
- n !== void 0 && (t.splice(e, 1), k("update:modelValue", t), k("remove", n, e));
118
- }
119
- function U(e) {
120
- A.value = e.target.value;
121
- }
122
- function W(e) {
123
- if (P.value) {
124
- if (e.key === "Enter") {
125
- e.preventDefault(), V();
126
- return;
127
- }
128
- if ((O.separators ?? []).includes(e.key)) {
129
- e.preventDefault(), V();
130
- return;
131
- }
132
- e.key === "Backspace" && A.value.length === 0 && O.modelValue.length > 0 && (e.preventDefault(), H(O.modelValue.length - 1));
133
- }
134
- }
135
- function G() {
136
- O.addOnBlur && V();
137
- }
138
- function K(e) {
139
- if (!P.value || N.value) return;
140
- let t = e.clipboardData?.getData("text");
141
- if (!t) return;
142
- let n = z(t);
143
- n.length <= 1 || (e.preventDefault(), B(n));
144
- }
145
- let q = o(() => r({
146
- size: O.size,
147
- state: O.state,
148
- invalid: O.invalid,
149
- disabled: O.disabled
150
- })), J = o(() => i(O.size)), Y = o(() => O.modelValue.length > 0 ? void 0 : O.placeholder);
151
- return (r, i) => (m(), l("div", {
152
- "data-ds-input-tag": "",
153
- "data-testid": "ds-input-tag",
154
- class: p(["w-full flex flex-wrap items-center rounded-md border bg-[var(--bg)] text-[var(--fg)] transition-colors duration-150 focus-within:ring-2 focus-within:ring-[var(--ring)]", q.value]),
155
- onClick: M
156
- }, [(m(!0), l(a, null, g(f.modelValue, (a, o) => (m(), s(t, {
157
- key: `${a}-${o}`,
158
- tone: f.tagTone,
159
- dark: f.tagDark,
160
- size: f.tagSize,
161
- radius: f.tagRadius,
162
- class: "gap-1",
163
- "data-ds-input-tag-item": "",
164
- "data-testid": "ds-input-tag-item",
165
- "data-index": o
166
- }, {
167
- default: b(() => [_(r.$slots, "tag", {
168
- tag: a,
169
- index: o,
170
- remove: () => H(o)
171
- }, () => [u("span", S, v(a), 1)]), F.value ? (m(), l("button", {
172
- key: 0,
173
- type: "button",
174
- class: "-mr-0.5 inline-flex items-center justify-center rounded-[6px] p-0.5 opacity-70 hover:opacity-100 focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
175
- "aria-label": f.removeTagLabel,
176
- "data-ds-input-tag-remove": "",
177
- "data-testid": "ds-input-tag-remove",
178
- "data-index": o,
179
- onMousedown: i[0] ||= x(() => {}, ["prevent", "stop"]),
180
- onClick: x((e) => H(o), ["stop"])
181
- }, [d(n, {
182
- size: "sm",
183
- "aria-hidden": "true"
184
- }, {
185
- default: b(() => [d(y(e))]),
186
- _: 1
187
- })], 40, C)) : c("", !0)]),
188
- _: 2
189
- }, 1032, [
190
- "tone",
191
- "dark",
192
- "size",
193
- "radius",
194
- "data-index"
195
- ]))), 128)), u("input", {
196
- ref_key: "inputEl",
197
- ref: j,
198
- "data-ds-input-tag-input": "",
199
- "data-testid": "ds-input-tag-input",
200
- value: A.value,
201
- disabled: f.disabled || N.value,
202
- readonly: f.readonly,
203
- placeholder: Y.value,
204
- "aria-invalid": f.invalid ? "true" : void 0,
205
- class: p(["flex-1 min-w-[120px] bg-transparent border-none outline-none placeholder:text-[var(--muted-fg)]", J.value]),
206
- onInput: U,
207
- onKeydown: W,
208
- onBlur: G,
209
- onPaste: K
210
- }, null, 42, w)], 2));
211
- }
212
- });
213
- //#endregion
214
- export { T as t };
@@ -1,59 +0,0 @@
1
- import { a as e, i as t, r as n } from "../../../chunks/config-CcixQGaN.js";
2
- import { computed as r, createElementBlock as i, defineComponent as a, mergeProps as o, openBlock as s, renderSlot as c, unref as l, useAttrs as u } from "vue";
3
- //#region src/components/GrLink/GrLink.vue?vue&type=script&setup=true&lang.ts
4
- var d = [
5
- "href",
6
- "target",
7
- "rel",
8
- "aria-label"
9
- ], f = ["aria-label", "aria-disabled"], p = /* @__PURE__ */ a({
10
- inheritAttrs: !1,
11
- __name: "GrLink",
12
- props: {
13
- href: { default: void 0 },
14
- external: {
15
- type: Boolean,
16
- default: !1
17
- },
18
- target: { default: void 0 },
19
- rel: { default: void 0 },
20
- disabled: {
21
- type: Boolean,
22
- default: !1
23
- },
24
- ariaLabel: { default: void 0 },
25
- variant: { default: "primary" },
26
- underline: { default: "auto" },
27
- size: { default: "md" }
28
- },
29
- setup(a) {
30
- let p = a, m = u(), h = r(() => !!p.href && !p.disabled), g = r(() => {
31
- if (p.target) return p.target;
32
- if (p.external) return "_blank";
33
- }), _ = r(() => {
34
- if (p.rel) return p.rel;
35
- if (g.value === "_blank") return "noopener noreferrer";
36
- }), v = r(() => {
37
- let r = e({
38
- size: p.size,
39
- underline: p.underline,
40
- variant: p.variant,
41
- disabled: p.disabled
42
- });
43
- return p.disabled ? `${n} ${r}` : `${n} ${t} ${r}`;
44
- });
45
- return (e, t) => h.value ? (s(), i("a", o({ key: 0 }, l(m), {
46
- href: a.href,
47
- target: g.value,
48
- rel: _.value,
49
- "aria-label": a.ariaLabel,
50
- class: v.value
51
- }), [c(e.$slots, "default")], 16, d)) : (s(), i("span", o({ key: 1 }, l(m), {
52
- "aria-label": a.ariaLabel,
53
- "aria-disabled": a.disabled ? "true" : void 0,
54
- class: v.value
55
- }), [c(e.$slots, "default")], 16, f));
56
- }
57
- });
58
- //#endregion
59
- export { p as t };
@@ -1,55 +0,0 @@
1
- import { t as e } from "../../GrCard/chunks/GrCard-DEpN6Ptf.js";
2
- import { computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, defineComponent as s, normalizeClass as c, openBlock as l, renderSlot as u, toDisplayString as d, unref as f, useSlots as p, withCtx as m } from "vue";
3
- //#region src/components/GrList/GrList.vue?vue&type=script&setup=true&lang.ts
4
- var h = {
5
- key: 0,
6
- role: "list",
7
- class: "divide-y divide-[var(--brd)]"
8
- }, g = {
9
- key: 1,
10
- role: "list"
11
- }, _ = /* @__PURE__ */ s({
12
- __name: "GrList",
13
- props: { divided: {
14
- type: Boolean,
15
- default: !0
16
- } },
17
- setup(t) {
18
- return (r, a) => (l(), n(f(e), null, {
19
- default: m(() => [t.divided ? (l(), i("div", h, [u(r.$slots, "default")])) : (l(), i("div", g, [u(r.$slots, "default")]))]),
20
- _: 3
21
- }));
22
- }
23
- }), v = {
24
- key: 0,
25
- class: "shrink-0"
26
- }, y = { class: "min-w-0 flex-1" }, b = {
27
- key: 0,
28
- class: "text-[13px] font-700"
29
- }, x = {
30
- key: 1,
31
- class: "text-[13px] text-[var(--muted-fg)] mt-0.5"
32
- }, S = {
33
- key: 1,
34
- class: "shrink-0"
35
- }, C = /* @__PURE__ */ s({
36
- __name: "GrListItem",
37
- props: {
38
- title: { default: void 0 },
39
- description: { default: void 0 },
40
- density: { default: "regular" }
41
- },
42
- setup(e) {
43
- let n = e, s = p(), f = t(() => n.density === "compact" ? "px-4 py-2" : "px-4 py-3"), m = t(() => !!s.title || !!n.title), h = t(() => !!s.description || !!n.description);
44
- return (t, n) => (l(), i("div", {
45
- role: "listitem",
46
- class: c(["flex items-start justify-between gap-4", f.value])
47
- }, [
48
- t.$slots.prefix ? (l(), i("div", v, [u(t.$slots, "prefix")])) : r("", !0),
49
- a("div", y, [m.value ? (l(), i("div", b, [u(t.$slots, "title", {}, () => [o(d(e.title), 1)])])) : r("", !0), h.value ? (l(), i("div", x, [u(t.$slots, "description", {}, () => [o(d(e.description), 1)])])) : r("", !0)]),
50
- t.$slots.default ? (l(), i("div", S, [u(t.$slots, "default")])) : r("", !0)
51
- ], 2));
52
- }
53
- });
54
- //#endregion
55
- export { _ as n, C as t };
@@ -1,53 +0,0 @@
1
- import { t as e } from "../../../chunks/loader-circle-C5vCCMfB.js";
2
- import { t } from "../../../chunks/grLoadingStyles-Bjo7ylmq.js";
3
- import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, defineComponent as s, normalizeClass as c, normalizeStyle as l, openBlock as u, resolveDynamicComponent as d, toDisplayString as f } from "vue";
4
- import '../../../GrLoading.css';//#region src/components/GrLoading/GrLoading.vue?vue&type=script&setup=true&lang.ts
5
- var p = {
6
- "data-ds-loading-panel": "",
7
- class: "flex flex-col items-center justify-center gap-2 text-center rounded-lg bg-[var(--bg)]/55 px-5 py-4 shadow-lg"
8
- }, m = {
9
- key: 0,
10
- "data-ds-loading-text": "",
11
- class: "text-sm text-[var(--muted-fg)]"
12
- }, h = "Loading...", g = /* @__PURE__ */ s({
13
- __name: "GrLoading",
14
- props: {
15
- text: { default: void 0 },
16
- spinner: { default: void 0 },
17
- spinnerClass: { default: void 0 },
18
- animated: {
19
- type: Boolean,
20
- default: !0
21
- },
22
- background: { default: void 0 },
23
- fullscreen: {
24
- type: Boolean,
25
- default: !1
26
- },
27
- zIndex: { default: void 0 },
28
- customClass: { default: void 0 }
29
- },
30
- setup(s) {
31
- let g = s, _ = n(() => g.spinner ?? e), v = n(() => g.text ?? h), y = n(() => t({
32
- fullscreen: g.fullscreen,
33
- hasBackground: g.background !== void 0,
34
- customClass: g.customClass
35
- })), b = n(() => ({
36
- backgroundColor: g.background,
37
- zIndex: g.zIndex == null ? void 0 : String(g.zIndex)
38
- })), x = n(() => g.spinnerClass);
39
- return (e, t) => (u(), a("div", {
40
- "data-ds-loading": "",
41
- class: c(["flex items-center justify-center cursor-wait select-none pointer-events-auto", y.value]),
42
- style: l(b.value),
43
- role: "status",
44
- "aria-live": "polite"
45
- }, [o("div", p, [(u(), r(d(_.value), {
46
- "data-ds-loading-spinner": "",
47
- class: c(["ds-loading__spinner h-7 w-7 text-[var(--muted-fg)]", [s.animated ? "ds-loading__spinner--animated" : "", x.value]]),
48
- "aria-hidden": "true"
49
- }, null, 8, ["class"])), v.value ? (u(), a("div", m, f(v.value), 1)) : i("", !0)])], 6));
50
- }
51
- });
52
- //#endregion
53
- export { g as t };
@@ -1,136 +0,0 @@
1
- import { a as e, i as t, n, o as r, r as i, t as a } from "../../../chunks/transition-BJXMi52x.js";
2
- import { c as o, d as s, i as c, n as l, r as u, t as d, u as f } from "../../../chunks/grModalStyles-Dmd4havY.js";
3
- import { Teleport as p, computed as m, createBlock as h, createCommentVNode as g, createElementVNode as _, createVNode as v, defineComponent as y, normalizeClass as b, onBeforeUnmount as x, openBlock as S, ref as C, renderSlot as w, unref as T, watch as E, withCtx as D } from "vue";
4
- //#endregion
5
- //#region src/components/GrModal/GrModal.vue
6
- var O = /* @__PURE__ */ y({
7
- __name: "GrModal",
8
- props: {
9
- modelValue: { type: Boolean },
10
- closeOnBackdrop: {
11
- type: Boolean,
12
- default: !0
13
- },
14
- closeOnEsc: {
15
- type: Boolean,
16
- default: !0
17
- },
18
- size: { default: "md" }
19
- },
20
- emits: ["update:modelValue"],
21
- setup(y, { emit: O }) {
22
- let k = y, A = O, j = m(() => d(k.size)), M = typeof window < "u", N = C(null);
23
- function P() {
24
- A("update:modelValue", !1);
25
- }
26
- function F() {
27
- let e = N.value;
28
- if (N.value = null, e === "esc") {
29
- k.closeOnEsc && P();
30
- return;
31
- }
32
- k.closeOnBackdrop && P();
33
- }
34
- function I(e) {
35
- e.key === "Escape" && (N.value = "esc");
36
- }
37
- function L() {
38
- N.value = "backdrop";
39
- }
40
- let R = null;
41
- function z() {
42
- M && R === null && (R = document.body.style.overflow, document.body.style.overflow = "hidden");
43
- }
44
- function B() {
45
- M && R !== null && (document.body.style.overflow = R, R = null);
46
- }
47
- return E(() => k.modelValue, (e) => {
48
- e ? z() : B();
49
- }, { immediate: !0 }), x(B), (d, m) => (S(), h(p, {
50
- to: "body",
51
- disabled: !M
52
- }, [v(T(a), {
53
- show: y.modelValue,
54
- as: "template"
55
- }, {
56
- default: D(() => [v(T(r), {
57
- as: "div",
58
- class: b(T(f)),
59
- onClose: F,
60
- onKeydownCapture: I
61
- }, {
62
- default: D(() => [_("div", { class: b(T(s)) }, [_("div", { class: b(T(l)) }, [v(T(n), {
63
- as: "template",
64
- enter: T(c).enter,
65
- "enter-from": T(c).enterFrom,
66
- "enter-to": T(c).enterTo,
67
- leave: T(c).leave,
68
- "leave-from": T(c).leaveFrom,
69
- "leave-to": T(c).leaveTo
70
- }, {
71
- default: D(() => [_("div", {
72
- "data-ds-modal-overlay": "",
73
- class: b(T(u)),
74
- "aria-hidden": "true",
75
- onPointerdown: L
76
- }, null, 34)]),
77
- _: 1
78
- }, 8, [
79
- "enter",
80
- "enter-from",
81
- "enter-to",
82
- "leave",
83
- "leave-from",
84
- "leave-to"
85
- ]), v(T(n), {
86
- as: "template",
87
- enter: T(o).enter,
88
- "enter-from": T(o).enterFrom,
89
- "enter-to": T(o).enterTo,
90
- leave: T(o).leave,
91
- "leave-from": T(o).leaveFrom,
92
- "leave-to": T(o).leaveTo
93
- }, {
94
- default: D(() => [v(T(i), {
95
- "data-ds-modal-panel": "",
96
- tabindex: "-1",
97
- class: b(j.value)
98
- }, {
99
- default: D(() => [
100
- d.$slots.title ? (S(), h(T(e), {
101
- key: 0,
102
- as: "div",
103
- "data-ds-modal-title": ""
104
- }, {
105
- default: D(() => [w(d.$slots, "title")]),
106
- _: 3
107
- })) : g("", !0),
108
- d.$slots.description ? (S(), h(T(t), {
109
- key: 1,
110
- as: "div",
111
- "data-ds-modal-description": ""
112
- }, {
113
- default: D(() => [w(d.$slots, "description")]),
114
- _: 3
115
- })) : g("", !0),
116
- w(d.$slots, "default")
117
- ]),
118
- _: 3
119
- }, 8, ["class"])]),
120
- _: 3
121
- }, 8, [
122
- "enter",
123
- "enter-from",
124
- "enter-to",
125
- "leave",
126
- "leave-from",
127
- "leave-to"
128
- ])], 2)], 2)]),
129
- _: 3
130
- }, 8, ["class"])]),
131
- _: 3
132
- }, 8, ["show"])], 8, ["disabled"]));
133
- }
134
- });
135
- //#endregion
136
- export { O as t };