@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,530 +0,0 @@
1
- import { l as e, u as t } from "./fileValidation-LFD-vwil.js";
2
- import { t as n } from "../components/GrLoading/chunks/GrLoading-dFuoryMY.js";
3
- import { createVNode as r, nextTick as i, render as a } from "vue";
4
- //#region src/directives/autofocus.ts
5
- function o(e) {
6
- return e === !1 ? {
7
- enabled: !1,
8
- selector: "",
9
- preventScroll: !0
10
- } : typeof e == "string" ? {
11
- enabled: !0,
12
- selector: e,
13
- preventScroll: !0
14
- } : e && typeof e == "object" ? {
15
- enabled: e.disabled !== !0,
16
- selector: e.selector,
17
- preventScroll: e.preventScroll ?? !0
18
- } : {
19
- enabled: !0,
20
- selector: void 0,
21
- preventScroll: !0
22
- };
23
- }
24
- function s(e, t) {
25
- if (!e) return;
26
- let n = e;
27
- if (typeof n.focus == "function") try {
28
- n.focus({ preventScroll: t });
29
- } catch {
30
- n.focus();
31
- }
32
- }
33
- var c = { mounted(e, t) {
34
- let { enabled: n, selector: r, preventScroll: a } = o(t.value);
35
- n && i().then(() => {
36
- requestAnimationFrame(() => {
37
- let t = r || "input, textarea, select, button, [tabindex]:not([tabindex=\"-1\"])";
38
- if (e.matches?.(t)) {
39
- s(e, a);
40
- return;
41
- }
42
- let n = e.querySelector?.(t);
43
- s(n, a);
44
- });
45
- });
46
- } }, l = /* @__PURE__ */ new WeakMap();
47
- function u(e) {
48
- return e === !1 ? { enabled: !1 } : e && typeof e == "object" ? { enabled: e.enabled ?? !0 } : { enabled: !0 };
49
- }
50
- function d(e) {
51
- return e instanceof HTMLTextAreaElement ? e : e.querySelector("textarea");
52
- }
53
- function f(e) {
54
- let t = Number.parseFloat(e);
55
- return Number.isFinite(t) ? t : 0;
56
- }
57
- function p(e) {
58
- e.style.height = "auto";
59
- let t = getComputedStyle(e), n = f(t.borderTopWidth) + f(t.borderBottomWidth), r = t.boxSizing === "border-box" ? e.scrollHeight + n : e.scrollHeight;
60
- e.style.height = `${r}px`;
61
- }
62
- function m(e) {
63
- i().then(() => {
64
- requestAnimationFrame(() => p(e));
65
- });
66
- }
67
- var h = {
68
- mounted(e, t) {
69
- let { enabled: n } = u(t.value), r = d(e), i = {
70
- textarea: r,
71
- onInput: null,
72
- prevOverflowY: r ? r.style.overflowY : null
73
- };
74
- if (l.set(e, i), !n || !r) return;
75
- r.style.overflowY = "hidden", p(r), m(r);
76
- let a = () => {
77
- let t = l.get(e);
78
- t?.textarea && p(t.textarea);
79
- };
80
- i.onInput = a, r.addEventListener("input", a);
81
- },
82
- updated(e, t) {
83
- let { enabled: n } = u(t.value), r = l.get(e);
84
- if (!r) return;
85
- let i = d(e);
86
- if (r.textarea !== i) {
87
- if (r.textarea && r.onInput && r.textarea.removeEventListener("input", r.onInput), r.textarea = i, r.prevOverflowY = i ? i.style.overflowY : null, r.onInput = null, n && i) {
88
- i.style.overflowY = "hidden", p(i), m(i);
89
- let t = () => {
90
- let t = l.get(e);
91
- t?.textarea && p(t.textarea);
92
- };
93
- r.onInput = t, i.addEventListener("input", t);
94
- }
95
- return;
96
- }
97
- if (r.textarea) {
98
- if (!n) {
99
- r.onInput &&= (r.textarea.removeEventListener("input", r.onInput), null), r.prevOverflowY !== null && (r.textarea.style.overflowY = r.prevOverflowY);
100
- return;
101
- }
102
- if (!r.onInput) {
103
- r.prevOverflowY = r.textarea.style.overflowY, r.textarea.style.overflowY = "hidden";
104
- let t = () => {
105
- let t = l.get(e);
106
- t?.textarea && p(t.textarea);
107
- };
108
- r.onInput = t, r.textarea.addEventListener("input", t);
109
- }
110
- p(r.textarea), m(r.textarea);
111
- }
112
- },
113
- unmounted(e) {
114
- let t = l.get(e);
115
- t && (t.textarea && t.onInput && (t.textarea.removeEventListener("input", t.onInput), t.prevOverflowY !== null && (t.textarea.style.overflowY = t.prevOverflowY)), l.delete(e));
116
- }
117
- };
118
- //#endregion
119
- //#region src/directives/clickOutside.ts
120
- function g(e) {
121
- return typeof e == "function" ? {
122
- enabled: !0,
123
- capture: !0,
124
- events: ["click"],
125
- handler: e,
126
- exclude: []
127
- } : e && typeof e == "object" ? {
128
- enabled: e.enabled ?? !0,
129
- capture: e.capture ?? !0,
130
- events: e.events?.length ? e.events : ["click"],
131
- handler: e.handler,
132
- exclude: e.exclude ?? []
133
- } : {
134
- enabled: !1,
135
- capture: !0,
136
- events: ["click"],
137
- handler: void 0,
138
- exclude: []
139
- };
140
- }
141
- function _(e, t) {
142
- let n = t.target;
143
- if (!n) return !1;
144
- let r = t.composedPath?.();
145
- return Array.isArray(r) ? r.includes(e) : e.contains(n);
146
- }
147
- function v(e, t) {
148
- let n = [];
149
- for (let r of t) {
150
- if (typeof r == "string") {
151
- let t = e.querySelector(r);
152
- t instanceof HTMLElement && n.push(t);
153
- continue;
154
- }
155
- if (typeof r == "function") {
156
- let e = r();
157
- e instanceof HTMLElement && n.push(e);
158
- continue;
159
- }
160
- r instanceof HTMLElement && n.push(r);
161
- }
162
- return n;
163
- }
164
- var y = /* @__PURE__ */ new WeakMap();
165
- function b(e) {
166
- let t = y.get(e);
167
- if (t) {
168
- for (let e of t.options.events) t.doc.removeEventListener(e, t.listener, t.options.capture);
169
- y.delete(e);
170
- }
171
- }
172
- function x(e, t) {
173
- let n = g(t), r = e.ownerDocument, i = (t) => {
174
- let n = y.get(e);
175
- if (!n) return;
176
- let { enabled: r, handler: i, exclude: a } = n.options;
177
- if (!r || !i || "button" in t && typeof t.button == "number" && t.button !== 0 || !e.isConnected || _(e, t)) return;
178
- let o = v(n.doc, a);
179
- for (let e of o) if (_(e, t)) return;
180
- i(t);
181
- }, a = {
182
- options: n,
183
- doc: r,
184
- listener: i
185
- };
186
- if (y.set(e, a), !(!n.enabled || !n.handler)) for (let e of n.events) r.addEventListener(e, i, n.capture);
187
- }
188
- var S = {
189
- mounted(e, t) {
190
- x(e, t.value);
191
- },
192
- updated(e, t) {
193
- b(e), x(e, t.value);
194
- },
195
- unmounted(e) {
196
- b(e);
197
- }
198
- };
199
- //#endregion
200
- //#region src/directives/dropzone.ts
201
- function C(e) {
202
- return typeof e == "function" ? {
203
- enabled: !0,
204
- multiple: !0,
205
- validators: void 0,
206
- preventDefault: !0,
207
- stopPropagation: !1,
208
- onFiles: e,
209
- onError: void 0,
210
- onStateChange: void 0,
211
- overClass: "ds-dropzone--over"
212
- } : e && typeof e == "object" ? {
213
- enabled: e.enabled ?? !0,
214
- multiple: e.multiple ?? !0,
215
- validators: e.validators,
216
- preventDefault: e.preventDefault ?? !0,
217
- stopPropagation: e.stopPropagation ?? !1,
218
- onFiles: e.onFiles,
219
- onError: e.onError,
220
- onStateChange: e.onStateChange,
221
- overClass: e.overClass ?? "ds-dropzone--over"
222
- } : {
223
- enabled: !1,
224
- multiple: !0,
225
- validators: void 0,
226
- preventDefault: !0,
227
- stopPropagation: !1,
228
- onFiles: void 0,
229
- onError: void 0,
230
- onStateChange: void 0,
231
- overClass: "ds-dropzone--over"
232
- };
233
- }
234
- var w = /* @__PURE__ */ new WeakMap();
235
- function T(e, t) {
236
- let n = w.get(e);
237
- if (!n) return;
238
- let r = e.dataset.grDropzoneOver === "true", i = n.isOver;
239
- n.isOver = t, t ? (e.classList.add(n.options.overClass), e.dataset.grDropzoneOver = "true") : (e.classList.remove(n.options.overClass), delete e.dataset.grDropzoneOver), (i !== t || r !== t) && n.options.onStateChange?.({ isOver: t });
240
- }
241
- function E(e) {
242
- let t = w.get(e);
243
- t && (t.overCounter = 0, T(e, !1), delete e.dataset.grDropzone, e.removeEventListener("dragenter", t.onDragEnter), e.removeEventListener("dragover", t.onDragOver), e.removeEventListener("dragleave", t.onDragLeave), e.removeEventListener("drop", t.onDrop), w.delete(e));
244
- }
245
- function D(n, r) {
246
- let i = {
247
- options: C(r),
248
- overCounter: 0,
249
- isOver: !1,
250
- onDragEnter(e) {
251
- let t = w.get(n);
252
- t?.options.enabled && (t.options.preventDefault && e.preventDefault(), t.options.stopPropagation && e.stopPropagation(), t.overCounter += 1, T(n, !0));
253
- },
254
- onDragOver(e) {
255
- let t = w.get(n);
256
- t?.options.enabled && (t.options.preventDefault && e.preventDefault(), t.options.stopPropagation && e.stopPropagation(), e.dataTransfer && (e.dataTransfer.dropEffect = "copy"));
257
- },
258
- onDragLeave(e) {
259
- let t = w.get(n);
260
- t?.options.enabled && (t.options.preventDefault && e.preventDefault(), t.options.stopPropagation && e.stopPropagation(), t.overCounter = Math.max(0, t.overCounter - 1), t.overCounter === 0 && T(n, !1));
261
- },
262
- onDrop(r) {
263
- let i = w.get(n);
264
- if (!i?.options.enabled) return;
265
- i.options.preventDefault && r.preventDefault(), i.options.stopPropagation && r.stopPropagation(), i.overCounter = 0, T(n, !1);
266
- let a = r.dataTransfer, o = a?.files ? Array.prototype.slice.call(a.files) : [];
267
- o.length && (async () => {
268
- try {
269
- let { files: n, issues: a } = await e(o, i.options.validators ?? [], {
270
- source: "drop",
271
- multiple: i.options.multiple
272
- });
273
- if (a.length > 0) {
274
- i.options.onError?.(new t(a, n));
275
- return;
276
- }
277
- if (!n.length) return;
278
- await i.options.onFiles?.(n, r);
279
- } catch (e) {
280
- i.options.onError?.(e);
281
- }
282
- })();
283
- }
284
- };
285
- w.set(n, i), n.dataset.grDropzone = "true", n.addEventListener("dragenter", i.onDragEnter), n.addEventListener("dragover", i.onDragOver), n.addEventListener("dragleave", i.onDragLeave), n.addEventListener("drop", i.onDrop);
286
- }
287
- function O(e, t) {
288
- let n = w.get(e);
289
- if (!n) {
290
- D(e, t);
291
- return;
292
- }
293
- let r = n.options.overClass, i = C(t);
294
- n.options = i, r !== i.overClass && (e.classList.remove(r), n.isOver && e.classList.add(i.overClass)), i.enabled || (n.overCounter = 0, T(e, !1));
295
- }
296
- var k = {
297
- mounted(e, t) {
298
- D(e, t.value);
299
- },
300
- updated(e, t) {
301
- O(e, t.value);
302
- },
303
- unmounted(e) {
304
- E(e);
305
- }
306
- }, A = /* @__PURE__ */ new WeakMap();
307
- function j(e) {
308
- if (!(e instanceof HTMLElement)) return !1;
309
- if (e.isContentEditable) return !0;
310
- let t = e.tagName;
311
- return t === "INPUT" || t === "TEXTAREA" || t === "SELECT";
312
- }
313
- function M(e) {
314
- if (!e) return {
315
- enabled: !1,
316
- handlers: {}
317
- };
318
- if ("handlers" in e) {
319
- let t = e;
320
- return {
321
- enabled: t.enabled ?? !0,
322
- handlers: t.handlers ?? {}
323
- };
324
- }
325
- return {
326
- enabled: !0,
327
- handlers: e
328
- };
329
- }
330
- function N(e) {
331
- let t = e.trim().toLowerCase();
332
- return t === "esc" || t === "escape" ? "Escape" : t === "space" ? " " : t.length === 1 ? t : e.trim();
333
- }
334
- function P(e) {
335
- let t = [];
336
- for (let [n, r] of Object.entries(e)) {
337
- let e = n.split("+").map((e) => e.trim()).filter(Boolean);
338
- if (!e.length) continue;
339
- let i = !1, a = !1, o = !1, s = !1, c = e.at(-1);
340
- if (!c) continue;
341
- for (let t of e.slice(0, -1)) {
342
- let e = t.toLowerCase();
343
- e === "ctrl" || e === "control" ? i = !0 : e === "meta" || e === "cmd" || e === "command" || e === "⌘" ? a = !0 : e === "alt" || e === "option" ? o = !0 : e === "shift" && (s = !0);
344
- }
345
- let l = N(c);
346
- t.push({
347
- original: n,
348
- key: l,
349
- ctrl: i,
350
- meta: a,
351
- alt: o,
352
- shift: s,
353
- entry: r
354
- });
355
- }
356
- return t;
357
- }
358
- function F(e, t) {
359
- return e === " " ? t === " " || t === "Spacebar" : e.length === 1 ? e.toLowerCase() === t.toLowerCase() : e === t;
360
- }
361
- function I(e) {
362
- return typeof e == "function" ? {
363
- handler: e,
364
- preventDefault: void 0,
365
- stopPropagation: !1,
366
- allowInEditable: !1
367
- } : {
368
- handler: e.handler,
369
- preventDefault: e.preventDefault,
370
- stopPropagation: e.stopPropagation ?? !1,
371
- allowInEditable: e.allowInEditable ?? !1
372
- };
373
- }
374
- var L = {
375
- mounted(e, t) {
376
- if (typeof window > "u") return;
377
- let { enabled: n, handlers: r } = M(t.value), i = {
378
- enabled: n,
379
- hotkeys: P(r),
380
- listener: (t) => {
381
- let n = A.get(e);
382
- if (!n?.enabled || !e.isConnected) return;
383
- let r = j(t.target);
384
- for (let e of n.hotkeys) {
385
- if (e.ctrl !== t.ctrlKey || e.meta !== t.metaKey || e.alt !== t.altKey || e.shift !== t.shiftKey || !F(e.key, t.key)) continue;
386
- let n = I(e.entry), i = e.ctrl || e.meta || e.alt || e.shift;
387
- if (!(r && !n.allowInEditable && !i && e.key !== "Escape")) {
388
- (n.preventDefault ?? (e.ctrl || e.meta || e.alt)) && t.preventDefault(), n.stopPropagation && t.stopPropagation(), n.handler(t);
389
- return;
390
- }
391
- }
392
- }
393
- };
394
- A.set(e, i), window.addEventListener("keydown", i.listener);
395
- },
396
- updated(e, t) {
397
- let n = A.get(e);
398
- if (!n) return;
399
- let r = M(t.value);
400
- n.enabled = r.enabled, n.hotkeys = P(r.handlers);
401
- },
402
- unmounted(e) {
403
- let t = A.get(e);
404
- t && (window.removeEventListener("keydown", t.listener), A.delete(e));
405
- }
406
- };
407
- //#endregion
408
- //#region src/directives/loading.ts
409
- function R(e) {
410
- return typeof e == "object" && !!e && e.nodeType === 1;
411
- }
412
- function z(e, t) {
413
- if (!e) return t;
414
- if (typeof e == "string") {
415
- let n = t.getRootNode?.() ?? document, r = typeof n.querySelector == "function" ? n.querySelector(e) : null;
416
- if (R(r)) return r;
417
- let i = document.querySelector(e);
418
- return R(i) ? i : t;
419
- }
420
- return R(e) ? e : t;
421
- }
422
- function B(e, t) {
423
- return e.fullscreen == null ? t === document.body : e.fullscreen;
424
- }
425
- function V(e, t) {
426
- if (t) return () => {};
427
- let n = e.style.position, r = window.getComputedStyle(e);
428
- return r.position === "static" || !r.position ? (e.style.position = "relative", () => {
429
- e.style.position = n;
430
- }) : () => {};
431
- }
432
- function H(e) {
433
- if (e === !0 || e === !1) return {
434
- loading: e,
435
- options: {}
436
- };
437
- if (e && typeof e == "object") {
438
- let { loading: t, ...n } = e;
439
- return {
440
- loading: t ?? !0,
441
- options: n
442
- };
443
- }
444
- return {
445
- loading: !1,
446
- options: {}
447
- };
448
- }
449
- var U = Symbol("grLoadingState");
450
- function W(e) {
451
- return e[U] ??= {};
452
- }
453
- function G(e = {}, t) {
454
- let i = z(e.target, t ?? document.body), o = B(e, i), s = o ? document.body : i, c = e.appContext, l = V(s, o), u = document.createElement("div");
455
- u.setAttribute("data-ds-loading-host", ""), s.appendChild(u), s.setAttribute("aria-busy", "true");
456
- let d = { ...e }, f = !1;
457
- function p() {
458
- if (f) return;
459
- let e = r(n, {
460
- text: d.text,
461
- spinner: d.spinner,
462
- spinnerClass: d.spinnerClass,
463
- animated: d.animated,
464
- background: d.background,
465
- customClass: d.customClass,
466
- zIndex: d.zIndex,
467
- fullscreen: o
468
- });
469
- c && (e.appContext = c), a(e, u);
470
- }
471
- function m() {
472
- f || (f = !0, a(null, u), u.remove(), l(), s.removeAttribute("aria-busy"));
473
- }
474
- function h(e) {
475
- d = {
476
- ...d,
477
- ...e
478
- }, p();
479
- }
480
- function g(e) {
481
- h({ text: e });
482
- }
483
- return p(), {
484
- close: m,
485
- setOptions: h,
486
- setText: g,
487
- get target() {
488
- return s;
489
- }
490
- };
491
- }
492
- function K(e, t, n) {
493
- let { loading: r, options: i } = H(t), a = W(e);
494
- if (!r) {
495
- a.controller?.close(), a.controller = void 0, a.target = void 0, a.fullscreen = void 0;
496
- return;
497
- }
498
- let o = z(i.target, e), s = B(i, o), c = s ? document.body : o;
499
- if (!a.controller || a.target !== c || a.fullscreen !== s) {
500
- a.controller?.close(), a.controller = G({
501
- ...i,
502
- fullscreen: s,
503
- target: c,
504
- appContext: n
505
- }, e), a.target = c, a.fullscreen = s;
506
- return;
507
- }
508
- let l = a.controller;
509
- l && l.setOptions({
510
- ...i,
511
- fullscreen: s,
512
- target: c
513
- });
514
- }
515
- var q = {
516
- mounted(e, t) {
517
- let n = t.instance?.$?.appContext;
518
- K(e, t.value, n);
519
- },
520
- updated(e, t) {
521
- let n = t.instance?.$?.appContext;
522
- K(e, t.value, n);
523
- },
524
- unmounted(e) {
525
- let t = W(e);
526
- t.controller?.close(), t.controller = void 0, t.target = void 0, t.fullscreen = void 0;
527
- }
528
- };
529
- //#endregion
530
- export { S as a, k as i, q as n, h as o, L as r, c as s, G as t };
@@ -1,41 +0,0 @@
1
- //#region src/i18n/locales/en.json
2
- var e = {
3
- confirm: "Confirm",
4
- cancel: "Cancel",
5
- add: "Add",
6
- clear: "Clear",
7
- close: "Close"
8
- }, t = { defaultText: "Loading..." }, n = {
9
- filterPlaceholder: "Search…",
10
- empty: "No data"
11
- }, r = {
12
- confirm: { title: "Confirm" },
13
- prompt: {
14
- title: "Prompt",
15
- label: "Value",
16
- required: "Enter a value."
17
- }
18
- }, i = {
19
- pageSize: "Page size",
20
- prev: "Prev",
21
- next: "Next"
22
- }, a = { openMenu: "Open menu" }, o = {
23
- neutral: "Neutral",
24
- success: "Success",
25
- warning: "Warning",
26
- danger: "Danger",
27
- info: "Info",
28
- primary: "Primary",
29
- slate: "Slate",
30
- azure: "Azure"
31
- }, s = {
32
- common: e,
33
- loading: t,
34
- treeSelect: n,
35
- dialog: r,
36
- pagination: i,
37
- navbar: a,
38
- colors: o
39
- };
40
- //#endregion
41
- export { o as colors, e as common, s as default, r as dialog, t as loading, a as navbar, i as pagination, n as treeSelect };
@@ -1,4 +0,0 @@
1
- //#region src/i18n/messages/const.ts
2
- var e = "gr", t = { en: { gr: () => import("./en-j3simI0h.js") } }, n = { ru: { gr: () => import("./ru-CiOZPnBu.js") } }, r = { es: { gr: () => import("./es-CLpJj7KP.js") } };
3
- //#endregion
4
- export { e as i, n, t as r, r as t };
@@ -1,41 +0,0 @@
1
- //#region src/i18n/locales/es.json
2
- var e = {
3
- confirm: "Confirmar",
4
- cancel: "Cancelar",
5
- add: "Añadir",
6
- clear: "Limpiar",
7
- close: "Cerrar"
8
- }, t = { defaultText: "Cargando..." }, n = {
9
- filterPlaceholder: "Buscar…",
10
- empty: "Sin datos"
11
- }, r = {
12
- confirm: { title: "Confirmar" },
13
- prompt: {
14
- title: "Aviso",
15
- label: "Valor",
16
- required: "Introduzca un valor."
17
- }
18
- }, i = {
19
- pageSize: "Tamaño de página",
20
- prev: "Anterior",
21
- next: "Siguiente"
22
- }, a = { openMenu: "Abrir menú" }, o = {
23
- neutral: "Neutral",
24
- success: "Éxito",
25
- warning: "Advertencia",
26
- danger: "Peligro",
27
- info: "Info",
28
- primary: "Primario",
29
- slate: "Pizarra",
30
- azure: "Azul celeste"
31
- }, s = {
32
- common: e,
33
- loading: t,
34
- treeSelect: n,
35
- dialog: r,
36
- pagination: i,
37
- navbar: a,
38
- colors: o
39
- };
40
- //#endregion
41
- export { o as colors, e as common, s as default, r as dialog, t as loading, a as navbar, i as pagination, n as treeSelect };