@feugene/granularity 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (432) hide show
  1. package/dist/chunks/_plugin-vue_export-helper-BG_EqiDU.js +8 -0
  2. package/dist/chunks/adapter-K6zZTzBi.js +4 -0
  3. package/dist/chunks/adapter-K6zZTzBi.js.map +1 -0
  4. package/dist/chunks/arrow-up-DNXrMoAI.js +23 -0
  5. package/dist/chunks/arrow-up-DNXrMoAI.js.map +1 -0
  6. package/dist/chunks/classTokens-BPeBXNzu.js +6 -0
  7. package/dist/chunks/classTokens-BPeBXNzu.js.map +1 -0
  8. package/dist/chunks/config-1I95Zy4V.js +14 -0
  9. package/dist/chunks/config-1I95Zy4V.js.map +1 -0
  10. package/dist/chunks/config-2wgwWaAB.js +8 -0
  11. package/dist/chunks/config-2wgwWaAB.js.map +1 -0
  12. package/dist/chunks/config-BA0BWYzs.js +8 -0
  13. package/dist/chunks/config-BA0BWYzs.js.map +1 -0
  14. package/dist/chunks/config-BCPyma1I.js +8 -0
  15. package/dist/chunks/config-BCPyma1I.js.map +1 -0
  16. package/dist/chunks/config-BDlh6iNz.js +24 -0
  17. package/dist/chunks/config-BDlh6iNz.js.map +1 -0
  18. package/dist/chunks/config-BKRmlivc.js +8 -0
  19. package/dist/chunks/config-BKRmlivc.js.map +1 -0
  20. package/dist/chunks/config-BN-B2K4r.js +17 -0
  21. package/dist/chunks/config-BN-B2K4r.js.map +1 -0
  22. package/dist/chunks/config-BNOf_qjD.js +40 -0
  23. package/dist/chunks/config-BNOf_qjD.js.map +1 -0
  24. package/dist/chunks/config-BaMO9dQh.js +20 -0
  25. package/dist/chunks/config-BaMO9dQh.js.map +1 -0
  26. package/dist/chunks/config-Bv2G0OU6.js +8 -0
  27. package/dist/chunks/config-Bv2G0OU6.js.map +1 -0
  28. package/dist/chunks/config-BvuQUBtZ.js +21 -0
  29. package/dist/chunks/config-BvuQUBtZ.js.map +1 -0
  30. package/dist/chunks/config-BzZGpWsj.js +9 -0
  31. package/dist/chunks/config-BzZGpWsj.js.map +1 -0
  32. package/dist/chunks/config-C0j836dC.js +8 -0
  33. package/dist/chunks/config-C0j836dC.js.map +1 -0
  34. package/dist/chunks/config-C2iI7_QX.js +9 -0
  35. package/dist/chunks/config-C2iI7_QX.js.map +1 -0
  36. package/dist/chunks/config-C4AlNm912.js +13 -0
  37. package/dist/chunks/config-C4AlNm912.js.map +1 -0
  38. package/dist/chunks/config-C5SJXHQ4.js +9 -0
  39. package/dist/chunks/config-C5SJXHQ4.js.map +1 -0
  40. package/dist/chunks/config-C6SBJxcH.js +8 -0
  41. package/dist/chunks/config-C6SBJxcH.js.map +1 -0
  42. package/dist/chunks/config-CByfsV-z2.js +9 -0
  43. package/dist/chunks/config-CByfsV-z2.js.map +1 -0
  44. package/dist/chunks/config-CM7nbATU2.js +78 -0
  45. package/dist/chunks/config-CM7nbATU2.js.map +1 -0
  46. package/dist/chunks/config-CMZE2fu0.js +9 -0
  47. package/dist/chunks/config-CMZE2fu0.js.map +1 -0
  48. package/dist/chunks/config-CU_CBd0k.js +22 -0
  49. package/dist/chunks/config-CU_CBd0k.js.map +1 -0
  50. package/dist/chunks/config-CUgvsjZx.js +171 -0
  51. package/dist/chunks/config-CUgvsjZx.js.map +1 -0
  52. package/dist/chunks/config-CWvHiaqr2.js +23 -0
  53. package/dist/chunks/config-CWvHiaqr2.js.map +1 -0
  54. package/dist/chunks/config-Cf0J6wCX.js +58 -0
  55. package/dist/chunks/config-Cf0J6wCX.js.map +1 -0
  56. package/dist/chunks/config-CgAY2WP9.js +9 -0
  57. package/dist/chunks/config-CgAY2WP9.js.map +1 -0
  58. package/dist/chunks/config-Cgc-D1K4.js +9 -0
  59. package/dist/chunks/config-Cgc-D1K4.js.map +1 -0
  60. package/dist/chunks/config-D19pyP4D.js +35 -0
  61. package/dist/chunks/config-D19pyP4D.js.map +1 -0
  62. package/dist/chunks/config-DCQO6H6h.js +11 -0
  63. package/dist/chunks/config-DCQO6H6h.js.map +1 -0
  64. package/dist/chunks/config-DEv4m-ZP.js +58 -0
  65. package/dist/chunks/config-DEv4m-ZP.js.map +1 -0
  66. package/dist/chunks/config-DFRYOcrP.js +9 -0
  67. package/dist/chunks/config-DFRYOcrP.js.map +1 -0
  68. package/dist/chunks/config-DTpwUHgF.js +9 -0
  69. package/dist/chunks/config-DTpwUHgF.js.map +1 -0
  70. package/dist/chunks/config-DW_RqmUp.js +8 -0
  71. package/dist/chunks/config-DW_RqmUp.js.map +1 -0
  72. package/dist/chunks/config-Da90XGsi.js +38 -0
  73. package/dist/chunks/config-Da90XGsi.js.map +1 -0
  74. package/dist/chunks/config-DgRJlF00.js +53 -0
  75. package/dist/chunks/config-DgRJlF00.js.map +1 -0
  76. package/dist/chunks/config-Dkq0HeLe.js +9 -0
  77. package/dist/chunks/config-Dkq0HeLe.js.map +1 -0
  78. package/dist/chunks/config-DmI1IQvI2.js +8 -0
  79. package/dist/chunks/config-DmI1IQvI2.js.map +1 -0
  80. package/dist/chunks/config-Dnu4VuO0.js +8 -0
  81. package/dist/chunks/config-Dnu4VuO0.js.map +1 -0
  82. package/dist/chunks/config-DxqpV-KM.js +45 -0
  83. package/dist/chunks/config-DxqpV-KM.js.map +1 -0
  84. package/dist/chunks/config-TyzU6gLf.js +8 -0
  85. package/dist/chunks/config-TyzU6gLf.js.map +1 -0
  86. package/dist/chunks/config-XwI6t8cn.js +39 -0
  87. package/dist/chunks/config-XwI6t8cn.js.map +1 -0
  88. package/dist/chunks/config-bpQYM5O-.js +44 -0
  89. package/dist/chunks/config-bpQYM5O-.js.map +1 -0
  90. package/dist/chunks/config-etXh7Bsr2.js +9 -0
  91. package/dist/chunks/config-etXh7Bsr2.js.map +1 -0
  92. package/dist/chunks/config-fCcRwjIB.js +13 -0
  93. package/dist/chunks/config-fCcRwjIB.js.map +1 -0
  94. package/dist/chunks/config-nfOMJXVs.js +9 -0
  95. package/dist/chunks/config-nfOMJXVs.js.map +1 -0
  96. package/dist/chunks/config-qJXIIY1E.js +8 -0
  97. package/dist/chunks/config-qJXIIY1E.js.map +1 -0
  98. package/dist/chunks/config-r6hzn2Bn2.js +9 -0
  99. package/dist/chunks/config-r6hzn2Bn2.js.map +1 -0
  100. package/dist/chunks/config-rQlbnEKn.js +8 -0
  101. package/dist/chunks/config-rQlbnEKn.js.map +1 -0
  102. package/dist/chunks/dialogShared-BtXUk6Zc.js +32 -0
  103. package/dist/chunks/dialogShared-BtXUk6Zc.js.map +1 -0
  104. package/dist/chunks/en-BeJa78lP.js +48 -0
  105. package/dist/chunks/en-BeJa78lP.js.map +1 -0
  106. package/dist/chunks/es-BPqm7rLm.js +20 -0
  107. package/dist/chunks/es-BPqm7rLm.js.map +1 -0
  108. package/dist/chunks/es-axYOwwWD.js +48 -0
  109. package/dist/chunks/es-axYOwwWD.js.map +1 -0
  110. package/dist/chunks/fileValidation-CwJA8Vmn.js +219 -0
  111. package/dist/chunks/fileValidation-CwJA8Vmn.js.map +1 -0
  112. package/dist/chunks/{grBadgeStyles-Bu4H8bFc.js → grBadgeStyles-pqqbVgLk.js} +18 -13
  113. package/dist/chunks/grBadgeStyles-pqqbVgLk.js.map +1 -0
  114. package/dist/chunks/{grButtonStyles-C5k0bN2e.js → grButtonStyles-BxZW2x0-.js} +60 -52
  115. package/dist/chunks/grButtonStyles-BxZW2x0-.js.map +1 -0
  116. package/dist/chunks/{grDropdownStyles-149X1NeB.js → grDropdownStyles-DMp7RrI9.js} +10 -9
  117. package/dist/chunks/grDropdownStyles-DMp7RrI9.js.map +1 -0
  118. package/dist/chunks/grLoadingStyles-CrxZHFL0.js +17 -0
  119. package/dist/chunks/grLoadingStyles-CrxZHFL0.js.map +1 -0
  120. package/dist/chunks/{grModalStyles-Dmd4havY.js → grModalStyles-Dv2NXBKi.js} +20 -11
  121. package/dist/chunks/grModalStyles-Dv2NXBKi.js.map +1 -0
  122. package/dist/chunks/grSelectStyles-B7doeAQp.js +50 -0
  123. package/dist/chunks/grSelectStyles-B7doeAQp.js.map +1 -0
  124. package/dist/chunks/granularityI18n-GCqUz_lo.js +26 -0
  125. package/dist/chunks/granularityI18n-GCqUz_lo.js.map +1 -0
  126. package/dist/chunks/info-C0bHmdZq.js +26 -0
  127. package/dist/chunks/info-C0bHmdZq.js.map +1 -0
  128. package/dist/chunks/loader-circle-B2rWDk5u.js +23 -0
  129. package/dist/chunks/loader-circle-B2rWDk5u.js.map +1 -0
  130. package/dist/chunks/ru-Dqh-2C00.js +48 -0
  131. package/dist/chunks/ru-Dqh-2C00.js.map +1 -0
  132. package/dist/chunks/safelist-BF822K15.js +13 -0
  133. package/dist/chunks/safelist-BF822K15.js.map +1 -0
  134. package/dist/chunks/safelist-BY7z8fOl.js +24 -0
  135. package/dist/chunks/safelist-BY7z8fOl.js.map +1 -0
  136. package/dist/chunks/{shared-BqUqjuxn.js → shared-Cu5QkNmt.js} +149 -111
  137. package/dist/chunks/shared-Cu5QkNmt.js.map +1 -0
  138. package/dist/chunks/transition-mJ3PZCHH.js +1692 -0
  139. package/dist/chunks/transition-mJ3PZCHH.js.map +1 -0
  140. package/dist/chunks/x-Pa6C2hwi.js +23 -0
  141. package/dist/chunks/x-Pa6C2hwi.js.map +1 -0
  142. package/dist/chunks/x-circle-DQSlBLmX.js +67 -0
  143. package/dist/chunks/x-circle-DQSlBLmX.js.map +1 -0
  144. package/dist/components/GrAlert/chunks/GrAlert-BjerGcU8.js +146 -0
  145. package/dist/components/GrAlert/chunks/GrAlert-BjerGcU8.js.map +1 -0
  146. package/dist/components/GrAlert/index.js +3 -3
  147. package/dist/components/GrAvatar/chunks/GrAvatar-BjnPKNAL.js +41 -0
  148. package/dist/components/GrAvatar/chunks/GrAvatar-BjnPKNAL.js.map +1 -0
  149. package/dist/components/GrAvatar/index.js +3 -3
  150. package/dist/components/GrBadge/chunks/GrBadge-wuIb4_2K.js +32 -0
  151. package/dist/components/GrBadge/chunks/GrBadge-wuIb4_2K.js.map +1 -0
  152. package/dist/components/GrBadge/index.js +3 -3
  153. package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-CxtamOZ-.js +33 -0
  154. package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-CxtamOZ-.js.map +1 -0
  155. package/dist/components/GrBadgeWrap/index.js +3 -3
  156. package/dist/components/GrBottomNav/chunks/GrBottomNav-CsmQ7mTJ.js +31 -0
  157. package/dist/components/GrBottomNav/chunks/GrBottomNav-CsmQ7mTJ.js.map +1 -0
  158. package/dist/components/GrBottomNav/index.js +3 -3
  159. package/dist/components/GrButton/chunks/GrButton-BmGdp8-4.js +83 -0
  160. package/dist/components/GrButton/chunks/GrButton-BmGdp8-4.js.map +1 -0
  161. package/dist/components/GrButton/index.js +5 -5
  162. package/dist/components/GrButtonGroup/chunks/GrButtonGroup-CBj4tpms.js +21 -0
  163. package/dist/components/GrButtonGroup/chunks/GrButtonGroup-CBj4tpms.js.map +1 -0
  164. package/dist/components/GrButtonGroup/index.js +3 -3
  165. package/dist/components/GrCard/chunks/GrCard-xtDcXBr7.js +11 -0
  166. package/dist/components/GrCard/chunks/GrCard-xtDcXBr7.js.map +1 -0
  167. package/dist/components/GrCard/index.js +3 -3
  168. package/dist/components/GrCheckbox/chunks/GrCheckbox-Bt3d7ckE.js +134 -0
  169. package/dist/components/GrCheckbox/chunks/GrCheckbox-Bt3d7ckE.js.map +1 -0
  170. package/dist/components/GrCheckbox/index.js +3 -3
  171. package/dist/components/GrCollapse/chunks/GrCollapse-HU20VTVn.js +205 -0
  172. package/dist/components/GrCollapse/chunks/GrCollapse-HU20VTVn.js.map +1 -0
  173. package/dist/components/GrCollapse/index.js +3 -3
  174. package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-DjGOX9Hd.js +131 -0
  175. package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-DjGOX9Hd.js.map +1 -0
  176. package/dist/components/GrConfirmDialog/index.js +3 -3
  177. package/dist/components/GrDataTable/chunks/GrDataTable-QDOJWmdY.js +179 -0
  178. package/dist/components/GrDataTable/chunks/GrDataTable-QDOJWmdY.js.map +1 -0
  179. package/dist/components/GrDataTable/index.js +3 -3
  180. package/dist/components/GrDialog/chunks/GrDialog-gObmaVEl.js +221 -0
  181. package/dist/components/GrDialog/chunks/GrDialog-gObmaVEl.js.map +1 -0
  182. package/dist/components/GrDialog/index.js +4 -4
  183. package/dist/components/GrDrawer/chunks/GrDrawer-BJL_gTxI.js +156 -0
  184. package/dist/components/GrDrawer/chunks/GrDrawer-BJL_gTxI.js.map +1 -0
  185. package/dist/components/GrDrawer/index.js +3 -3
  186. package/dist/components/GrDropdown/chunks/GrDropdown-BkACCXdp.js +151 -0
  187. package/dist/components/GrDropdown/chunks/GrDropdown-BkACCXdp.js.map +1 -0
  188. package/dist/components/GrDropdown/index.js +3 -3
  189. package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-BEenXrJw.js +309 -0
  190. package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-BEenXrJw.js.map +1 -0
  191. package/dist/components/GrDropdownMenu/index.js +3 -3
  192. package/dist/components/GrEmptyState/chunks/GrEmptyState-BLbMJFW-.js +62 -0
  193. package/dist/components/GrEmptyState/chunks/GrEmptyState-BLbMJFW-.js.map +1 -0
  194. package/dist/components/GrEmptyState/index.js +3 -3
  195. package/dist/components/GrFileUpload/chunks/GrFileUpload-u01j9S0t.js +368 -0
  196. package/dist/components/GrFileUpload/chunks/GrFileUpload-u01j9S0t.js.map +1 -0
  197. package/dist/components/GrFileUpload/index.js +4 -4
  198. package/dist/components/GrFormField/chunks/GrFormField-C6PfAs4u.js +35 -0
  199. package/dist/components/GrFormField/chunks/GrFormField-C6PfAs4u.js.map +1 -0
  200. package/dist/components/GrFormField/index.js +3 -3
  201. package/dist/components/GrFormFile/chunks/GrFormFile-DdM8Bc2B.js +313 -0
  202. package/dist/components/GrFormFile/chunks/GrFormFile-DdM8Bc2B.js.map +1 -0
  203. package/dist/components/GrFormFile/index.js +3 -3
  204. package/dist/components/GrFormSection/chunks/GrFormSection-5djEaQZQ.js +35 -0
  205. package/dist/components/GrFormSection/chunks/GrFormSection-5djEaQZQ.js.map +1 -0
  206. package/dist/components/GrFormSection/index.js +3 -3
  207. package/dist/components/GrIcon/chunks/GrIcon-BV7RBU_0.js +32 -0
  208. package/dist/components/GrIcon/chunks/GrIcon-BV7RBU_0.js.map +1 -0
  209. package/dist/components/GrIcon/index.js +3 -3
  210. package/dist/components/GrImageViewer/chunks/GrImageViewer-CjSnohW7.js +397 -0
  211. package/dist/components/GrImageViewer/chunks/GrImageViewer-CjSnohW7.js.map +1 -0
  212. package/dist/components/GrImageViewer/index.js +3 -3
  213. package/dist/components/GrInput/chunks/GrInput-ghxaTf6d.js +211 -0
  214. package/dist/components/GrInput/chunks/GrInput-ghxaTf6d.js.map +1 -0
  215. package/dist/components/GrInput/index.js +3 -3
  216. package/dist/components/GrInputTag/chunks/GrInputTag-B0x4U0Yk.js +257 -0
  217. package/dist/components/GrInputTag/chunks/GrInputTag-B0x4U0Yk.js.map +1 -0
  218. package/dist/components/GrInputTag/index.js +3 -3
  219. package/dist/components/GrLink/chunks/GrLink-C7-Y1u88.js +80 -0
  220. package/dist/components/GrLink/chunks/GrLink-C7-Y1u88.js.map +1 -0
  221. package/dist/components/GrLink/index.js +3 -3
  222. package/dist/components/GrList/chunks/GrList--Ib4zLNw.js +77 -0
  223. package/dist/components/GrList/chunks/GrList--Ib4zLNw.js.map +1 -0
  224. package/dist/components/GrList/index.js +3 -3
  225. package/dist/components/GrLoading/chunks/GrLoading-C3QZKwE-.js +69 -0
  226. package/dist/components/GrLoading/chunks/GrLoading-C3QZKwE-.js.map +1 -0
  227. package/dist/components/GrLoading/index.js +3 -3
  228. package/dist/components/GrModal/chunks/GrModal-gvfvlp7k.js +168 -0
  229. package/dist/components/GrModal/chunks/GrModal-gvfvlp7k.js.map +1 -0
  230. package/dist/components/GrModal/index.js +4 -4
  231. package/dist/components/GrNavbar/chunks/GrNavbar-nIyuiVj1.js +75 -0
  232. package/dist/components/GrNavbar/chunks/GrNavbar-nIyuiVj1.js.map +1 -0
  233. package/dist/components/GrNavbar/index.js +3 -3
  234. package/dist/components/GrNumberInput/chunks/GrNumberInput-B0mPLjdv.js +397 -0
  235. package/dist/components/GrNumberInput/chunks/GrNumberInput-B0mPLjdv.js.map +1 -0
  236. package/dist/components/GrNumberInput/index.js +3 -3
  237. package/dist/components/GrPagination/chunks/GrPagination-BSTO6flk.js +114 -0
  238. package/dist/components/GrPagination/chunks/GrPagination-BSTO6flk.js.map +1 -0
  239. package/dist/components/GrPagination/index.js +3 -3
  240. package/dist/components/GrProgressBar/chunks/GrProgressBar-MvMnzsJl.js +39 -0
  241. package/dist/components/GrProgressBar/chunks/GrProgressBar-MvMnzsJl.js.map +1 -0
  242. package/dist/components/GrProgressBar/index.js +3 -3
  243. package/dist/components/GrPromptDialog/chunks/GrPromptDialog-DKhbN6ji.js +190 -0
  244. package/dist/components/GrPromptDialog/chunks/GrPromptDialog-DKhbN6ji.js.map +1 -0
  245. package/dist/components/GrPromptDialog/index.js +3 -3
  246. package/dist/components/GrRadio/chunks/GrRadio-BxBs3WHq.js +184 -0
  247. package/dist/components/GrRadio/chunks/GrRadio-BxBs3WHq.js.map +1 -0
  248. package/dist/components/GrRadio/index.js +3 -3
  249. package/dist/components/GrRadioGroup/chunks/GrRadioGroup-CEAfJQ6A.js +80 -0
  250. package/dist/components/GrRadioGroup/chunks/GrRadioGroup-CEAfJQ6A.js.map +1 -0
  251. package/dist/components/GrRadioGroup/index.js +3 -3
  252. package/dist/components/GrSegmented/chunks/GrSegmented-Bwn2qOY4.js +323 -0
  253. package/dist/components/GrSegmented/chunks/GrSegmented-Bwn2qOY4.js.map +1 -0
  254. package/dist/components/GrSegmented/index.js +3 -3
  255. package/dist/components/GrSelect/chunks/GrSelect-9wRWAu2R.js +443 -0
  256. package/dist/components/GrSelect/chunks/GrSelect-9wRWAu2R.js.map +1 -0
  257. package/dist/components/GrSelect/index.js +3 -3
  258. package/dist/components/GrSidebar/chunks/GrSidebar-CSZ3RpFB.js +44 -0
  259. package/dist/components/GrSidebar/chunks/GrSidebar-CSZ3RpFB.js.map +1 -0
  260. package/dist/components/GrSidebar/index.js +3 -3
  261. package/dist/components/GrSkeleton/chunks/GrSkeleton-DKXkqWDa.js +33 -0
  262. package/dist/components/GrSkeleton/chunks/GrSkeleton-DKXkqWDa.js.map +1 -0
  263. package/dist/components/GrSkeleton/index.js +3 -3
  264. package/dist/components/GrSwitch/chunks/GrSwitch-CdBxwV3k.js +79 -0
  265. package/dist/components/GrSwitch/chunks/GrSwitch-CdBxwV3k.js.map +1 -0
  266. package/dist/components/GrSwitch/index.js +3 -3
  267. package/dist/components/GrTable/chunks/GrTable-CyQ9uw8A.js +57 -0
  268. package/dist/components/GrTable/chunks/GrTable-CyQ9uw8A.js.map +1 -0
  269. package/dist/components/GrTable/index.js +3 -3
  270. package/dist/components/GrTabs/chunks/GrTabs-BpF8AAUz.js +118 -0
  271. package/dist/components/GrTabs/chunks/GrTabs-BpF8AAUz.js.map +1 -0
  272. package/dist/components/GrTabs/index.js +3 -3
  273. package/dist/components/GrTextarea/chunks/GrTextarea-DFS9ZkrA.js +71 -0
  274. package/dist/components/GrTextarea/chunks/GrTextarea-DFS9ZkrA.js.map +1 -0
  275. package/dist/components/GrTextarea/index.js +3 -3
  276. package/dist/components/GrToaster/chunks/GrToaster-3Mf0Moxt.js +171 -0
  277. package/dist/components/GrToaster/chunks/GrToaster-3Mf0Moxt.js.map +1 -0
  278. package/dist/components/GrToaster/index.js +3 -3
  279. package/dist/components/GrTooltip/chunks/GrTooltip-BvmsukLW.js +55 -0
  280. package/dist/components/GrTooltip/chunks/GrTooltip-BvmsukLW.js.map +1 -0
  281. package/dist/components/GrTooltip/index.js +3 -3
  282. package/dist/components/GrTree/chunks/GrTree-C2kN-O4Q.js +734 -0
  283. package/dist/components/GrTree/chunks/GrTree-C2kN-O4Q.js.map +1 -0
  284. package/dist/components/GrTree/index.js +3 -3
  285. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-Da-CpRqm.js +454 -0
  286. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-Da-CpRqm.js.map +1 -0
  287. package/dist/components/GrTreeSelect/index.js +3 -3
  288. package/dist/composables/useTheme.js +39 -30
  289. package/dist/composables/useTheme.js.map +1 -0
  290. package/dist/composables/useToast.js +41 -34
  291. package/dist/composables/useToast.js.map +1 -0
  292. package/dist/directives/autofocus.js +55 -0
  293. package/dist/directives/autofocus.js.map +1 -0
  294. package/dist/directives/autosize.js +117 -0
  295. package/dist/directives/autosize.js.map +1 -0
  296. package/dist/directives/clickOutside.js +96 -0
  297. package/dist/directives/clickOutside.js.map +1 -0
  298. package/dist/directives/dropzone.js +164 -0
  299. package/dist/directives/dropzone.js.map +1 -0
  300. package/dist/directives/hotkey.js +138 -0
  301. package/dist/directives/hotkey.js.map +1 -0
  302. package/dist/directives/index.js +7 -2
  303. package/dist/directives/loading.js +163 -0
  304. package/dist/directives/loading.js.map +1 -0
  305. package/dist/fileValidation/index.js +2 -2
  306. package/dist/granular-provider-node.js +23 -14
  307. package/dist/granular-provider-node.js.map +1 -0
  308. package/dist/granular-provider.js +3 -3
  309. package/dist/granular-provider.js.map +1 -0
  310. package/dist/i18n/all.js +6 -6
  311. package/dist/i18n/all.js.map +1 -0
  312. package/dist/i18n/index.js +3 -3
  313. package/dist/index.js +110 -105
  314. package/dist/vue/index.js +64 -26
  315. package/dist/vue/index.js.map +1 -0
  316. package/package.json +25 -1
  317. package/dist/chunks/_plugin-vue_export-helper-CHO2XVys.js +0 -8
  318. package/dist/chunks/adapter-D5uYoOZj.js +0 -4
  319. package/dist/chunks/arrow-up-Dv3dC3hu.js +0 -23
  320. package/dist/chunks/classTokens-CT1tqF2j.js +0 -6
  321. package/dist/chunks/config-B5JCvHys.js +0 -13
  322. package/dist/chunks/config-BDXa5Sna2.js +0 -9
  323. package/dist/chunks/config-BG5_FuZ-.js +0 -34
  324. package/dist/chunks/config-BMYKG1oB.js +0 -10
  325. package/dist/chunks/config-BQREEXFD.js +0 -8
  326. package/dist/chunks/config-BUZtbeTr.js +0 -40
  327. package/dist/chunks/config-BVXycfiO.js +0 -9
  328. package/dist/chunks/config-BZW-RL6E.js +0 -14
  329. package/dist/chunks/config-BhbfV-Is.js +0 -48
  330. package/dist/chunks/config-BmYFupZh.js +0 -8
  331. package/dist/chunks/config-BsZc_QQ-2.js +0 -20
  332. package/dist/chunks/config-C1Sn7mn-.js +0 -27
  333. package/dist/chunks/config-C4_REX-3.js +0 -9
  334. package/dist/chunks/config-CBFllZZ4.js +0 -9
  335. package/dist/chunks/config-CDyD_fCt.js +0 -8
  336. package/dist/chunks/config-CJeG727i.js +0 -149
  337. package/dist/chunks/config-CLawBqde.js +0 -21
  338. package/dist/chunks/config-CMz46RPG.js +0 -8
  339. package/dist/chunks/config-CO-7HRZd2.js +0 -8
  340. package/dist/chunks/config-CS7E7LME.js +0 -9
  341. package/dist/chunks/config-CVy124Xj.js +0 -8
  342. package/dist/chunks/config-CcixQGaN.js +0 -47
  343. package/dist/chunks/config-CiVXZxyQ.js +0 -9
  344. package/dist/chunks/config-CoMQmunP.js +0 -8
  345. package/dist/chunks/config-Cq6ufYtp.js +0 -9
  346. package/dist/chunks/config-D8CIEWcb.js +0 -8
  347. package/dist/chunks/config-D8hKc39m.js +0 -18
  348. package/dist/chunks/config-D9MxGwCJ.js +0 -8
  349. package/dist/chunks/config-DBXTZE36.js +0 -15
  350. package/dist/chunks/config-DK9C8O7L.js +0 -9
  351. package/dist/chunks/config-DTegOmx2.js +0 -8
  352. package/dist/chunks/config-DYI8XADo.js +0 -47
  353. package/dist/chunks/config-DlidGf7P.js +0 -8
  354. package/dist/chunks/config-DtNe7EIX.js +0 -35
  355. package/dist/chunks/config-EdWeK_ge.js +0 -17
  356. package/dist/chunks/config-FGAkxHFh.js +0 -8
  357. package/dist/chunks/config-M76gNxd2.js +0 -37
  358. package/dist/chunks/config-NuqoO_Of.js +0 -33
  359. package/dist/chunks/config-QsovJrku2.js +0 -66
  360. package/dist/chunks/config-R6F6zRJk.js +0 -9
  361. package/dist/chunks/config-SLwkDc4Q2.js +0 -9
  362. package/dist/chunks/config-aJ7sb62Y.js +0 -8
  363. package/dist/chunks/config-b9nc87Oc.js +0 -9
  364. package/dist/chunks/config-dSI8RttH2.js +0 -8
  365. package/dist/chunks/config-im2VHeSM.js +0 -9
  366. package/dist/chunks/config-vKeQ035f.js +0 -9
  367. package/dist/chunks/config-vMcxHlWi.js +0 -14
  368. package/dist/chunks/dialogShared-CONROtU2.js +0 -26
  369. package/dist/chunks/directives-Dr5NPOT8.js +0 -530
  370. package/dist/chunks/en-j3simI0h.js +0 -41
  371. package/dist/chunks/es-CIT9s_vo.js +0 -4
  372. package/dist/chunks/es-CLpJj7KP.js +0 -41
  373. package/dist/chunks/fileValidation-LFD-vwil.js +0 -193
  374. package/dist/chunks/grLoadingStyles-Bjo7ylmq.js +0 -15
  375. package/dist/chunks/grSelectStyles-C3QKIn1J.js +0 -40
  376. package/dist/chunks/granularityI18n-8_v1B11L.js +0 -24
  377. package/dist/chunks/info-CNJnuTYC.js +0 -26
  378. package/dist/chunks/loader-circle-C5vCCMfB.js +0 -23
  379. package/dist/chunks/ru-CiOZPnBu.js +0 -41
  380. package/dist/chunks/safelist-Bq32hAXc.js +0 -13
  381. package/dist/chunks/safelist-CLcTRYB-.js +0 -22
  382. package/dist/chunks/transition-BJXMi52x.js +0 -1617
  383. package/dist/chunks/x--kxrj3ez.js +0 -23
  384. package/dist/chunks/x-circle-ChJ87u1v.js +0 -61
  385. package/dist/components/GrAlert/chunks/GrAlert-DLHkusb-.js +0 -129
  386. package/dist/components/GrAvatar/chunks/GrAvatar-BFYH3HJw.js +0 -32
  387. package/dist/components/GrBadge/chunks/GrBadge-D_AoqGrn.js +0 -27
  388. package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-C_N0QJfA.js +0 -26
  389. package/dist/components/GrBottomNav/chunks/GrBottomNav-Chpu3SVd.js +0 -21
  390. package/dist/components/GrButton/chunks/GrButton-BXVVt6Od.js +0 -67
  391. package/dist/components/GrButtonGroup/chunks/GrButtonGroup-CmnYHVH7.js +0 -16
  392. package/dist/components/GrCard/chunks/GrCard-DEpN6Ptf.js +0 -10
  393. package/dist/components/GrCheckbox/chunks/GrCheckbox-DF3vJApB.js +0 -111
  394. package/dist/components/GrCollapse/chunks/GrCollapse-D7QYRqNa.js +0 -150
  395. package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-C7Eh8-Vn.js +0 -111
  396. package/dist/components/GrDataTable/chunks/GrDataTable-Dxsg1NMP.js +0 -142
  397. package/dist/components/GrDialog/chunks/GrDialog-BSd4-uP5.js +0 -169
  398. package/dist/components/GrDrawer/chunks/GrDrawer-DBBSwe1s.js +0 -135
  399. package/dist/components/GrDropdown/chunks/GrDropdown-BELyRP4A.js +0 -110
  400. package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-B8fuk7iP.js +0 -233
  401. package/dist/components/GrEmptyState/chunks/GrEmptyState-BPGoafJI.js +0 -49
  402. package/dist/components/GrFileUpload/chunks/GrFileUpload-BPzx3LEM.js +0 -294
  403. package/dist/components/GrFormField/chunks/GrFormField-Cn8g9eFP.js +0 -28
  404. package/dist/components/GrFormFile/chunks/GrFormFile-DfinD5Iv.js +0 -248
  405. package/dist/components/GrFormSection/chunks/GrFormSection-dKpQw-vh.js +0 -27
  406. package/dist/components/GrIcon/chunks/GrIcon-CXIHuG7L.js +0 -25
  407. package/dist/components/GrImageViewer/chunks/GrImageViewer-CQSNx-D7.js +0 -322
  408. package/dist/components/GrInput/chunks/GrInput-CLKX1inm.js +0 -158
  409. package/dist/components/GrInputTag/chunks/GrInputTag-BAtLody2.js +0 -214
  410. package/dist/components/GrLink/chunks/GrLink-BpXnly-Y.js +0 -59
  411. package/dist/components/GrList/chunks/GrList-BrFc7VdS.js +0 -55
  412. package/dist/components/GrLoading/chunks/GrLoading-dFuoryMY.js +0 -53
  413. package/dist/components/GrModal/chunks/GrModal-uaWXH08K.js +0 -136
  414. package/dist/components/GrNavbar/chunks/GrNavbar-KzLHgdjX.js +0 -62
  415. package/dist/components/GrNumberInput/chunks/GrNumberInput-rENn1802.js +0 -315
  416. package/dist/components/GrPagination/chunks/GrPagination-DP0x3rx6.js +0 -93
  417. package/dist/components/GrProgressBar/chunks/GrProgressBar-DpW93sOi.js +0 -29
  418. package/dist/components/GrPromptDialog/chunks/GrPromptDialog-ASfBwyzQ.js +0 -158
  419. package/dist/components/GrRadio/chunks/GrRadio-8BOo97XV.js +0 -147
  420. package/dist/components/GrRadioGroup/chunks/GrRadioGroup-BymbUmqI.js +0 -66
  421. package/dist/components/GrSegmented/chunks/GrSegmented-CK5C_lN7.js +0 -250
  422. package/dist/components/GrSelect/chunks/GrSelect-BMfc1-vs.js +0 -314
  423. package/dist/components/GrSidebar/chunks/GrSidebar-C4SXXhfO.js +0 -29
  424. package/dist/components/GrSkeleton/chunks/GrSkeleton-QlieOdpY.js +0 -25
  425. package/dist/components/GrSwitch/chunks/GrSwitch-Cefiutzu.js +0 -64
  426. package/dist/components/GrTable/chunks/GrTable-k_FUiJQk.js +0 -44
  427. package/dist/components/GrTabs/chunks/GrTabs-B46P-lUc.js +0 -98
  428. package/dist/components/GrTextarea/chunks/GrTextarea-BX7L1MJk.js +0 -57
  429. package/dist/components/GrToaster/chunks/GrToaster-C4l_BjOh.js +0 -139
  430. package/dist/components/GrTooltip/chunks/GrTooltip-BqRAzuLT.js +0 -37
  431. package/dist/components/GrTree/chunks/GrTree-C2CXR_vW.js +0 -614
  432. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-DAAay-QB.js +0 -353
@@ -1,62 +0,0 @@
1
- import { t as e } from "../../GrButton/chunks/GrButton-BXVVt6Od.js";
2
- import { t } from "../../GrIcon/chunks/GrIcon-CXIHuG7L.js";
3
- import { t as n } from "../../../chunks/granularityI18n-8_v1B11L.js";
4
- import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, markRaw as d, normalizeClass as f, openBlock as p, renderSlot as m, toDisplayString as h, unref as g, withCtx as _ } from "vue";
5
- //#region ~icons/lucide/menu
6
- var v = {
7
- viewBox: "0 0 24 24",
8
- width: "1.2em",
9
- height: "1.2em"
10
- };
11
- function y(e, t) {
12
- return p(), o("svg", v, [...t[0] ||= [s("path", {
13
- fill: "none",
14
- stroke: "currentColor",
15
- "stroke-linecap": "round",
16
- "stroke-linejoin": "round",
17
- "stroke-width": "2",
18
- d: "M4 5h16M4 12h16M4 19h16"
19
- }, null, -1)]]);
20
- }
21
- var b = d({
22
- name: "lucide-menu",
23
- render: y
24
- }), x = {
25
- "data-ds-navbar": "",
26
- class: "h-[56px] border-b border-[var(--brd)] bg-[var(--bg)] flex items-center justify-between px-4 sm:px-6"
27
- }, S = { class: "flex items-center gap-3" }, C = {
28
- "data-ds-navbar-title": "",
29
- class: "text-[14px] font-700"
30
- }, w = { class: "flex items-center gap-3" }, T = /* @__PURE__ */ u({
31
- __name: "GrNavbar",
32
- props: {
33
- title: {},
34
- showMenuButton: {
35
- type: Boolean,
36
- default: !1
37
- },
38
- menuButtonClass: { default: "" }
39
- },
40
- emits: ["menu"],
41
- setup(u, { emit: d }) {
42
- let v = d, { t: y } = n(), T = r(() => y("gr.navbar.openMenu", "Open menu"));
43
- return (n, r) => (p(), o("header", x, [s("div", S, [u.showMenuButton ? (p(), i(e, {
44
- key: 0,
45
- "data-ds-navbar-menu": "",
46
- variant: "ghost",
47
- size: "sm",
48
- square: "",
49
- "aria-label": T.value,
50
- class: f(u.menuButtonClass),
51
- onClick: r[0] ||= (e) => v("menu")
52
- }, {
53
- default: _(() => [l(t, { size: 16 }, {
54
- default: _(() => [l(g(b), { "aria-hidden": "true" })]),
55
- _: 1
56
- })]),
57
- _: 1
58
- }, 8, ["aria-label", "class"])) : a("", !0), s("div", C, [m(n.$slots, "title", {}, () => [c(h(u.title), 1)])])]), s("div", w, [m(n.$slots, "default")])]));
59
- }
60
- });
61
- //#endregion
62
- export { T as t };
@@ -1,315 +0,0 @@
1
- import { i as e, r as t } from "../../../chunks/config-M76gNxd2.js";
2
- import { computed as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, defineComponent as o, mergeProps as ee, nextTick as s, normalizeClass as te, normalizeStyle as c, onBeforeUnmount as l, onMounted as ne, onUpdated as u, openBlock as d, ref as f, renderSlot as p, useSlots as m, withModifiers as h } from "vue";
3
- //#region src/components/GrNumberInput/GrNumberInput.vue?vue&type=script&setup=true&lang.ts
4
- var re = [
5
- "id",
6
- "name",
7
- "inputmode",
8
- "autocomplete",
9
- "placeholder",
10
- "disabled",
11
- "value",
12
- "aria-invalid"
13
- ], ie = { class: "flex flex-col justify-center gap-1" }, g = ["disabled", "aria-label"], ae = ["disabled", "aria-label"], _ = ["disabled", "aria-label"], oe = ["disabled", "aria-label"], v = /* @__PURE__ */ o({
14
- inheritAttrs: !1,
15
- __name: "GrNumberInput",
16
- props: {
17
- modelValue: {},
18
- placeholder: { default: void 0 },
19
- autocomplete: { default: void 0 },
20
- inputmode: { default: "decimal" },
21
- disabled: {
22
- type: Boolean,
23
- default: !1
24
- },
25
- invalid: {
26
- type: Boolean,
27
- default: !1
28
- },
29
- state: { default: "default" },
30
- name: { default: void 0 },
31
- id: { default: void 0 },
32
- size: { default: "md" },
33
- textAlign: { default: "left" },
34
- decimalSeparator: { default: "." },
35
- step: { default: 1 },
36
- min: { default: void 0 },
37
- max: { default: void 0 },
38
- precision: { default: void 0 },
39
- controls: {
40
- type: Boolean,
41
- default: !1
42
- },
43
- controlsDirection: { default: "vertical" },
44
- prefixMinWidth: { default: void 0 },
45
- prefixMaxWidth: { default: void 0 },
46
- suffixMinWidth: { default: void 0 },
47
- suffixMaxWidth: { default: void 0 },
48
- increaseLabel: { default: "Increase" },
49
- decreaseLabel: { default: "Decrease" }
50
- },
51
- emits: ["update:modelValue", "change"],
52
- setup(o, { expose: v, emit: se }) {
53
- let y = {
54
- xs: 32,
55
- sm: 36,
56
- md: 40,
57
- lg: 48
58
- }, b = {
59
- xs: "10px",
60
- sm: "12px",
61
- md: "12px",
62
- lg: "16px"
63
- };
64
- function x(e) {
65
- return `${e}px`;
66
- }
67
- let S = o, C = se, w = f(null);
68
- function T() {
69
- w.value?.focus();
70
- }
71
- v({ focus: T });
72
- let E = m(), D = n(() => !!E.prefix), O = n(() => !!E.suffix), k = n(() => S.controls && S.controlsDirection === "horizontal"), A = n(() => S.controls && S.controlsDirection === "vertical"), j = n(() => y[S.size]), M = n(() => x(j.value)), N = n(() => b[S.size]), P = n(() => M.value), F = n(() => S.prefixMinWidth ?? P.value), I = n(() => S.suffixMinWidth ?? P.value), L = f(null), R = f(null), z = f(void 0), B = f(void 0), V = null, H = !1;
73
- function U(e) {
74
- if (!e) return;
75
- let t = Math.ceil(e.getBoundingClientRect().width || 0);
76
- if (!(t <= 0)) return `${t}px`;
77
- }
78
- function W() {
79
- z.value = D.value ? U(L.value) : void 0, B.value = O.value ? U(R.value) : void 0;
80
- }
81
- function G() {
82
- typeof ResizeObserver > "u" || (V ||= new ResizeObserver(() => W()), V.disconnect(), L.value && V.observe(L.value), R.value && V.observe(R.value));
83
- }
84
- function K() {
85
- H || (H = !0, s(() => {
86
- H = !1, W(), G();
87
- }));
88
- }
89
- ne(() => K()), u(() => K()), l(() => V?.disconnect());
90
- function q(e, t) {
91
- if (e === "0px") return t;
92
- if (t === "0px") return e;
93
- let n = e.endsWith("px") ? Number(e.slice(0, -2)) : null, r = t.endsWith("px") ? Number(t.slice(0, -2)) : null;
94
- return n !== null && Number.isFinite(n) && r !== null && Number.isFinite(r) ? `${n + r}px` : `calc(${e} + ${t})`;
95
- }
96
- let J = n(() => D.value ? z.value ?? F.value : "0px"), Y = n(() => O.value ? B.value ?? I.value : "0px");
97
- function X(e, t) {
98
- return {
99
- width: M.value,
100
- [e]: t
101
- };
102
- }
103
- let ce = n(() => {
104
- let e = k.value ? M.value : "0px", t = +!!k.value + +!!A.value, n = t > 0 ? x(j.value * t) : "0px", r = q(J.value, e), i = q(Y.value, n);
105
- return {
106
- paddingLeft: D.value || k.value ? q(r, N.value) : void 0,
107
- paddingRight: O.value || t > 0 ? q(i, N.value) : void 0
108
- };
109
- }), le = n(() => ({
110
- right: "0px",
111
- minWidth: I.value,
112
- maxWidth: S.suffixMaxWidth
113
- })), ue = n(() => ({
114
- minWidth: F.value,
115
- maxWidth: S.prefixMaxWidth
116
- })), de = n(() => X("right", Y.value)), fe = n(() => X("left", J.value)), pe = n(() => X("right", Y.value)), me = n(() => e({
117
- disabled: S.disabled,
118
- state: S.invalid ? "danger" : S.state
119
- })), he = n(() => t({
120
- size: S.size,
121
- textAlign: S.textAlign
122
- }));
123
- function ge(e) {
124
- return e >= "0" && e <= "9";
125
- }
126
- function Z(e) {
127
- let t = S.decimalSeparator || ".", n = "", r = !1;
128
- for (let i = 0; i < e.length; i++) {
129
- let a = e[i];
130
- if (ge(a)) {
131
- n += a;
132
- continue;
133
- }
134
- (a === t || a === "." || a === ",") && !r && (n += t, r = !0);
135
- }
136
- return n;
137
- }
138
- function Q(e) {
139
- if (e.trim() === "") return null;
140
- let t = S.decimalSeparator || ".", n = t === "." ? e : e.replace(t, "."), r = Number(n);
141
- return Number.isFinite(r) ? r : null;
142
- }
143
- function _e(e) {
144
- return S.min !== void 0 && (e = Math.max(S.min, e)), S.max !== void 0 && (e = Math.min(S.max, e)), e;
145
- }
146
- function ve(e) {
147
- if (S.precision === void 0) return e;
148
- let t = Math.max(0, S.precision);
149
- return Number(e.toFixed(t));
150
- }
151
- function ye(e) {
152
- let t = S.decimalSeparator || ".", n = S.precision, r = n === void 0 ? String(e) : e.toFixed(Math.max(0, n));
153
- return t !== "." && (r = r.replace(".", t)), r;
154
- }
155
- function be(e) {
156
- let t = e.target, n = Z(t.value);
157
- t.value !== n && (t.value = n), C("update:modelValue", n);
158
- }
159
- function xe(e) {
160
- let t = e.target, n = Z(t.value);
161
- t.value !== n && (t.value = n), C("change", n);
162
- }
163
- function $(e) {
164
- if (S.disabled) return;
165
- let t = ye(_e(ve((Q(S.modelValue) ?? 0) + (S.step ?? 1) * e)));
166
- C("update:modelValue", t), C("change", t), T();
167
- }
168
- return (e, t) => (d(), i("div", {
169
- "data-ds-number-input": "",
170
- class: te(["relative w-full overflow-hidden rounded-md border bg-[var(--bg)] transition-colors duration-150 focus-within:ring-2 focus-within:ring-[var(--ring)]", me.value])
171
- }, [
172
- e.$slots.prefix ? (d(), i("div", {
173
- key: 0,
174
- ref_key: "prefixEl",
175
- ref: L,
176
- "data-testid": "number-input-prefix",
177
- "data-ds-number-input-prefix": "",
178
- 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",
179
- style: c(ue.value),
180
- "aria-hidden": "true"
181
- }, [p(e.$slots, "prefix")], 4)) : r("", !0),
182
- a("input", ee({
183
- id: o.id,
184
- ref_key: "inputEl",
185
- ref: w
186
- }, e.$attrs, {
187
- name: o.name,
188
- type: "text",
189
- inputmode: o.inputmode,
190
- autocomplete: o.autocomplete,
191
- placeholder: o.placeholder,
192
- disabled: o.disabled,
193
- value: o.modelValue,
194
- "aria-invalid": o.invalid ? "true" : void 0,
195
- class: ["w-full bg-transparent text-[var(--fg)] placeholder:text-[var(--muted-fg)] focus:placeholder:text-transparent focus:outline-none disabled:cursor-not-allowed", he.value],
196
- style: ce.value,
197
- onInput: be,
198
- onChange: xe
199
- }), null, 16, re),
200
- e.$slots.suffix ? (d(), i("div", {
201
- key: 1,
202
- ref_key: "suffixEl",
203
- ref: R,
204
- "data-testid": "number-input-suffix",
205
- "data-ds-number-input-suffix": "",
206
- class: "absolute inset-y-0 flex items-center justify-center border-l border-[var(--brd)] px-2 text-[var(--muted-fg)] pointer-events-none select-none truncate",
207
- style: c(le.value),
208
- "aria-hidden": "true"
209
- }, [p(e.$slots, "suffix")], 4)) : r("", !0),
210
- A.value ? (d(), i("div", {
211
- key: 2,
212
- "data-testid": "number-input-controls-vertical",
213
- "data-ds-number-input-controls": "vertical",
214
- class: "absolute inset-y-0 flex items-center justify-center border-l border-[var(--brd)]",
215
- style: c(de.value)
216
- }, [a("div", ie, [a("button", {
217
- type: "button",
218
- class: "h-4 w-7 inline-flex items-center justify-center rounded text-[10px] text-[var(--muted-fg)] hover:bg-[var(--muted)] active:bg-[var(--muted)] disabled:opacity-50 disabled:cursor-not-allowed",
219
- disabled: o.disabled,
220
- "aria-label": o.increaseLabel,
221
- onMousedown: t[0] ||= h(() => {}, ["prevent"]),
222
- onClick: t[1] ||= (e) => $(1)
223
- }, [...t[8] ||= [a("svg", {
224
- width: "12",
225
- height: "12",
226
- viewBox: "0 0 24 24",
227
- fill: "none",
228
- xmlns: "http://www.w3.org/2000/svg",
229
- "aria-hidden": "true"
230
- }, [a("path", {
231
- d: "M7 14l5-5 5 5",
232
- stroke: "currentColor",
233
- "stroke-width": "2",
234
- "stroke-linecap": "round",
235
- "stroke-linejoin": "round"
236
- })], -1)]], 40, g), a("button", {
237
- type: "button",
238
- class: "h-4 w-7 inline-flex items-center justify-center rounded text-[10px] text-[var(--muted-fg)] hover:bg-[var(--muted)] active:bg-[var(--muted)] disabled:opacity-50 disabled:cursor-not-allowed",
239
- disabled: o.disabled,
240
- "aria-label": o.decreaseLabel,
241
- onMousedown: t[2] ||= h(() => {}, ["prevent"]),
242
- onClick: t[3] ||= (e) => $(-1)
243
- }, [...t[9] ||= [a("svg", {
244
- width: "12",
245
- height: "12",
246
- viewBox: "0 0 24 24",
247
- fill: "none",
248
- xmlns: "http://www.w3.org/2000/svg",
249
- "aria-hidden": "true"
250
- }, [a("path", {
251
- d: "M7 10l5 5 5-5",
252
- stroke: "currentColor",
253
- "stroke-width": "2",
254
- "stroke-linecap": "round",
255
- "stroke-linejoin": "round"
256
- })], -1)]], 40, ae)])], 4)) : r("", !0),
257
- k.value ? (d(), i("div", {
258
- key: 3,
259
- "data-testid": "number-input-controls-horizontal-left",
260
- "data-ds-number-input-controls": "horizontal-left",
261
- class: "absolute inset-y-0 flex items-stretch justify-center border-r border-[var(--brd)]",
262
- style: c(fe.value)
263
- }, [a("button", {
264
- type: "button",
265
- class: "h-full w-full inline-flex items-center justify-center text-[var(--muted-fg)] hover:bg-[var(--muted)] active:bg-[var(--muted)] disabled:opacity-50 disabled:cursor-not-allowed focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
266
- disabled: o.disabled,
267
- "aria-label": o.decreaseLabel,
268
- onMousedown: t[4] ||= h(() => {}, ["prevent"]),
269
- onClick: t[5] ||= (e) => $(-1)
270
- }, [...t[10] ||= [a("svg", {
271
- width: "12",
272
- height: "12",
273
- viewBox: "0 0 24 24",
274
- fill: "none",
275
- xmlns: "http://www.w3.org/2000/svg",
276
- "aria-hidden": "true"
277
- }, [a("path", {
278
- d: "M14 7l-5 5 5 5",
279
- stroke: "currentColor",
280
- "stroke-width": "2",
281
- "stroke-linecap": "round",
282
- "stroke-linejoin": "round"
283
- })], -1)]], 40, _)], 4)) : r("", !0),
284
- k.value ? (d(), i("div", {
285
- key: 4,
286
- "data-testid": "number-input-controls-horizontal-right",
287
- "data-ds-number-input-controls": "horizontal-right",
288
- class: "absolute inset-y-0 flex items-stretch justify-center border-l border-[var(--brd)]",
289
- style: c(pe.value)
290
- }, [a("button", {
291
- type: "button",
292
- class: "h-full w-full inline-flex items-center justify-center text-[var(--muted-fg)] hover:bg-[var(--muted)] active:bg-[var(--muted)] disabled:opacity-50 disabled:cursor-not-allowed focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
293
- disabled: o.disabled,
294
- "aria-label": o.increaseLabel,
295
- onMousedown: t[6] ||= h(() => {}, ["prevent"]),
296
- onClick: t[7] ||= (e) => $(1)
297
- }, [...t[11] ||= [a("svg", {
298
- width: "12",
299
- height: "12",
300
- viewBox: "0 0 24 24",
301
- fill: "none",
302
- xmlns: "http://www.w3.org/2000/svg",
303
- "aria-hidden": "true"
304
- }, [a("path", {
305
- d: "M10 7l5 5-5 5",
306
- stroke: "currentColor",
307
- "stroke-width": "2",
308
- "stroke-linecap": "round",
309
- "stroke-linejoin": "round"
310
- })], -1)]], 40, oe)], 4)) : r("", !0)
311
- ], 2));
312
- }
313
- });
314
- //#endregion
315
- export { v as t };
@@ -1,93 +0,0 @@
1
- import { t as e } from "../../GrButton/chunks/GrButton-BXVVt6Od.js";
2
- import { t } from "../../../chunks/granularityI18n-8_v1B11L.js";
3
- import { t as n } from "../../GrSelect/chunks/GrSelect-BMfc1-vs.js";
4
- import { Fragment as r, computed as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, normalizeClass as u, openBlock as d, renderList as f, toDisplayString as p, unref as m, withCtx as h } from "vue";
5
- //#region src/components/GrPagination/GrPagination.vue?vue&type=script&setup=true&lang.ts
6
- var g = ["aria-label"], _ = { class: "min-w-[100px]" }, v = { class: "flex items-center gap-1" }, y = [
7
- "aria-current",
8
- "aria-label",
9
- "onClick"
10
- ], b = /* @__PURE__ */ l({
11
- __name: "GrPagination",
12
- props: {
13
- page: {},
14
- pageSize: {},
15
- total: {},
16
- pageSizes: { default: () => [
17
- 10,
18
- 20,
19
- 50
20
- ] }
21
- },
22
- emits: ["update:page", "update:pageSize"],
23
- setup(l, { emit: b }) {
24
- let { t: x } = t(), S = l, C = b, w = i(() => Math.max(1, Math.ceil(S.total / S.pageSize))), T = i({
25
- get: () => String(S.pageSize),
26
- set: (e) => C("update:pageSize", Number(e))
27
- }), E = i(() => S.pageSizes.map((e) => ({
28
- value: String(e),
29
- label: String(e)
30
- }))), D = i(() => {
31
- let e = w.value, t = S.page, n = Math.max(1, t - 2), r = Math.min(e, n + 5 - 1);
32
- n = Math.max(1, r - 5 + 1);
33
- let i = [];
34
- for (let e = n; e <= r; e += 1) i.push(e);
35
- return i;
36
- });
37
- function O(e) {
38
- C("update:page", e);
39
- }
40
- function k() {
41
- O(Math.max(1, S.page - 1));
42
- }
43
- function A() {
44
- O(Math.min(w.value, S.page + 1));
45
- }
46
- return (t, i) => (d(), a("div", {
47
- class: "flex flex-wrap items-center justify-end gap-3",
48
- "data-ds-pagination": "",
49
- role: "navigation",
50
- "aria-label": m(x)("gr.pagination.pageSize", "Pagination")
51
- }, [
52
- o("div", _, [c(n, {
53
- modelValue: T.value,
54
- "onUpdate:modelValue": i[0] ||= (e) => T.value = e,
55
- options: E.value,
56
- "aria-label": m(x)("gr.pagination.pageSize", "Page size")
57
- }, null, 8, [
58
- "modelValue",
59
- "options",
60
- "aria-label"
61
- ])]),
62
- c(e, {
63
- variant: "ghost",
64
- size: "sm",
65
- disabled: l.page <= 1,
66
- onClick: k
67
- }, {
68
- default: h(() => [s(p(m(x)("gr.pagination.prev", "Prev")), 1)]),
69
- _: 1
70
- }, 8, ["disabled"]),
71
- o("div", v, [(d(!0), a(r, null, f(D.value, (e) => (d(), a("button", {
72
- key: e,
73
- type: "button",
74
- "data-ds-pagination-page": "",
75
- "aria-current": e === l.page ? "page" : void 0,
76
- "aria-label": `Page ${e}`,
77
- class: u(["h-8 min-w-8 px-2 rounded-md text-sm font-600 transition-colors duration-150 focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]", e === l.page ? "bg-[var(--primary)] text-[var(--primary-fg)]" : "text-[var(--muted-fg)] hover:bg-[var(--muted)] hover:text-[var(--fg)]"]),
78
- onClick: (t) => O(e)
79
- }, p(e), 11, y))), 128))]),
80
- c(e, {
81
- variant: "ghost",
82
- size: "sm",
83
- disabled: l.page >= w.value,
84
- onClick: A
85
- }, {
86
- default: h(() => [s(p(m(x)("gr.pagination.next", "Next")), 1)]),
87
- _: 1
88
- }, 8, ["disabled"])
89
- ], 8, g));
90
- }
91
- });
92
- //#endregion
93
- export { b as t };
@@ -1,29 +0,0 @@
1
- import { r as e } from "../../../chunks/config-BG5_FuZ-.js";
2
- import { computed as t, createElementBlock as n, createElementVNode as r, defineComponent as i, normalizeClass as a, normalizeStyle as o, openBlock as s } from "vue";
3
- //#region src/components/GrProgressBar/GrProgressBar.vue?vue&type=script&setup=true&lang.ts
4
- var c = ["aria-label", "aria-valuenow"], l = /* @__PURE__ */ i({
5
- __name: "GrProgressBar",
6
- props: {
7
- value: {},
8
- ariaLabel: { default: void 0 },
9
- tone: { default: "primary" }
10
- },
11
- setup(i) {
12
- let l = i, u = t(() => Number.isNaN(l.value) ? 0 : Math.min(100, Math.max(0, l.value))), d = t(() => e(l.tone));
13
- return (e, t) => (s(), n("div", {
14
- "data-ds-progress-bar": "",
15
- role: "progressbar",
16
- "aria-label": i.ariaLabel,
17
- "aria-valuenow": u.value,
18
- "aria-valuemin": "0",
19
- "aria-valuemax": "100",
20
- class: "h-2 w-full rounded-full bg-[var(--muted)] border border-[var(--brd)] overflow-hidden"
21
- }, [r("div", {
22
- "data-ds-progress-bar-fill": "",
23
- class: a(["h-full", d.value]),
24
- style: o({ width: `${u.value}%` })
25
- }, null, 6)], 8, c));
26
- }
27
- });
28
- //#endregion
29
- export { l as t };
@@ -1,158 +0,0 @@
1
- import { t as e } from "../../GrButton/chunks/GrButton-BXVVt6Od.js";
2
- import { t } from "../../GrDialog/chunks/GrDialog-BSd4-uP5.js";
3
- import { t as n } from "../../GrFormField/chunks/GrFormField-Cn8g9eFP.js";
4
- import { t as r } from "../../GrInput/chunks/GrInput-CLKX1inm.js";
5
- import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, openBlock as f, ref as p, renderSlot as m, toDisplayString as h, watch as g, withCtx as _ } from "vue";
6
- //#region src/components/GrPromptDialog/GrPromptDialog.vue?vue&type=script&setup=true&lang.ts
7
- var v = { class: "grid gap-4" }, y = {
8
- key: 0,
9
- class: "text-[14px] text-[var(--muted-fg)]"
10
- }, b = { class: "flex items-center justify-end gap-3" }, x = /* @__PURE__ */ d({
11
- __name: "GrPromptDialog",
12
- props: {
13
- modelValue: { type: Boolean },
14
- value: {},
15
- title: { default: "Prompt" },
16
- description: { default: void 0 },
17
- label: { default: "Value" },
18
- placeholder: { default: void 0 },
19
- closeOnBackdrop: {
20
- type: Boolean,
21
- default: !0
22
- },
23
- closeOnEsc: {
24
- type: Boolean,
25
- default: !0
26
- },
27
- showHeader: {
28
- type: Boolean,
29
- default: !0
30
- },
31
- showCloseButton: {
32
- type: Boolean,
33
- default: !0
34
- },
35
- size: { default: "md" },
36
- headerConfig: { default: void 0 },
37
- footerConfig: { default: void 0 },
38
- bodyConfig: { default: void 0 },
39
- closeLabel: { default: "Close" },
40
- buttonSize: { default: void 0 },
41
- confirmText: { default: "Confirm" },
42
- cancelText: { default: "Cancel" },
43
- requiredErrorText: { default: "Enter a value." },
44
- confirmVariant: { default: "primary" },
45
- confirmTone: { default: "primary" },
46
- required: {
47
- type: Boolean,
48
- default: !0
49
- }
50
- },
51
- emits: [
52
- "update:modelValue",
53
- "update:value",
54
- "confirm",
55
- "cancel"
56
- ],
57
- setup(d, { emit: x }) {
58
- let S = d, C = x, w = i({
59
- get: () => S.modelValue,
60
- set: (e) => C("update:modelValue", e)
61
- }), T = i({
62
- get: () => S.value,
63
- set: (e) => C("update:value", e)
64
- }), E = p(!1), D = p(null);
65
- g(() => S.modelValue, (e) => {
66
- e && (E.value = !1);
67
- });
68
- let O = i(() => S.required ? T.value.trim().length > 0 : !0), k = i(() => {
69
- if (S.required && E.value) return T.value.trim().length > 0 ? void 0 : S.requiredErrorText;
70
- });
71
- function A() {
72
- C("cancel"), C("update:modelValue", !1);
73
- }
74
- function j() {
75
- if (!O.value) {
76
- E.value = !0, D.value?.focus();
77
- return;
78
- }
79
- C("confirm", T.value), C("update:modelValue", !1);
80
- }
81
- return (i, p) => (f(), a(t, {
82
- modelValue: w.value,
83
- "onUpdate:modelValue": p[2] ||= (e) => w.value = e,
84
- title: d.title,
85
- size: d.size,
86
- "close-on-backdrop": d.closeOnBackdrop,
87
- "close-on-esc": d.closeOnEsc,
88
- "show-header": d.showHeader,
89
- "show-close-button": d.showCloseButton,
90
- "header-config": d.headerConfig,
91
- "footer-config": d.footerConfig,
92
- "body-config": d.bodyConfig,
93
- "close-label": d.closeLabel
94
- }, {
95
- footer: _(() => [m(i.$slots, "footer", {}, () => [c("div", b, [u(e, {
96
- "data-testid": "ds-prompt-cancel",
97
- variant: "outline",
98
- size: d.buttonSize,
99
- onClick: A
100
- }, {
101
- default: _(() => [l(h(d.cancelText), 1)]),
102
- _: 1
103
- }, 8, ["size"]), u(e, {
104
- "data-testid": "ds-prompt-confirm",
105
- variant: d.confirmVariant,
106
- tone: d.confirmTone,
107
- size: d.buttonSize,
108
- disabled: d.required && E.value && !O.value,
109
- onClick: j
110
- }, {
111
- default: _(() => [l(h(d.confirmText), 1)]),
112
- _: 1
113
- }, 8, [
114
- "variant",
115
- "tone",
116
- "size",
117
- "disabled"
118
- ])])])]),
119
- default: _(() => [c("div", v, [m(i.$slots, "default", {}, () => [d.description ? (f(), s("div", y, h(d.description), 1)) : o("", !0)]), u(n, {
120
- label: d.label,
121
- error: k.value,
122
- "for-id": "ds-prompt-input"
123
- }, {
124
- default: _(() => [u(r, {
125
- id: "ds-prompt-input",
126
- ref_key: "inputRef",
127
- ref: D,
128
- modelValue: T.value,
129
- "onUpdate:modelValue": p[0] ||= (e) => T.value = e,
130
- "data-testid": "ds-prompt-input",
131
- placeholder: d.placeholder,
132
- invalid: !!k.value,
133
- onBlur: p[1] ||= (e) => E.value = !0
134
- }, null, 8, [
135
- "modelValue",
136
- "placeholder",
137
- "invalid"
138
- ])]),
139
- _: 1
140
- }, 8, ["label", "error"])])]),
141
- _: 3
142
- }, 8, [
143
- "modelValue",
144
- "title",
145
- "size",
146
- "close-on-backdrop",
147
- "close-on-esc",
148
- "show-header",
149
- "show-close-button",
150
- "header-config",
151
- "footer-config",
152
- "body-config",
153
- "close-label"
154
- ]));
155
- }
156
- });
157
- //#endregion
158
- export { x as t };