ingeniuscliq-core 0.4.13 → 0.4.15

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 (713) hide show
  1. package/README.md +417 -0
  2. package/dist/_virtual/index.js +5 -0
  3. package/dist/_virtual/index2.js +3 -0
  4. package/dist/_virtual/use-sync-external-store-shim.development.js +3 -0
  5. package/dist/_virtual/use-sync-external-store-shim.production.js +3 -0
  6. package/dist/assets/logo.svg.js +3 -0
  7. package/dist/classes/CoreBuilder.d.ts +1 -0
  8. package/dist/classes/CoreBuilder.d.ts.map +1 -0
  9. package/dist/classes/CoreBuilder.js +4 -0
  10. package/dist/classes/index.d.ts +1 -0
  11. package/dist/classes/index.d.ts.map +1 -0
  12. package/dist/components/common/carousel/CustomCarousel.d.ts +2 -1
  13. package/dist/components/common/carousel/CustomCarousel.d.ts.map +1 -0
  14. package/dist/components/common/carousel/CustomCarousel.tsx +26 -0
  15. package/dist/components/common/carousel/CustomCarouselSection.d.ts +2 -1
  16. package/dist/components/common/carousel/CustomCarouselSection.d.ts.map +1 -0
  17. package/dist/components/common/carousel/CustomCarouselSection.tsx +41 -0
  18. package/dist/components/common/carousel/index.d.ts +3 -2
  19. package/dist/components/common/carousel/index.d.ts.map +1 -0
  20. package/dist/components/common/form/CustomFormField.d.ts +4 -2
  21. package/dist/components/common/form/CustomFormField.d.ts.map +1 -0
  22. package/dist/components/common/form/CustomFormField.tsx +29 -0
  23. package/dist/components/common/form/FormCheckbox.d.ts +5 -1
  24. package/dist/components/common/form/FormCheckbox.d.ts.map +1 -0
  25. package/dist/components/common/form/FormCheckbox.tsx +57 -0
  26. package/dist/components/common/form/FormInput.d.ts +4 -1
  27. package/dist/components/common/form/FormInput.d.ts.map +1 -0
  28. package/dist/components/common/form/FormInput.tsx +60 -0
  29. package/dist/components/common/form/FormSelect.d.ts +8 -2
  30. package/dist/components/common/form/FormSelect.d.ts.map +1 -0
  31. package/dist/components/common/form/FormSelect.tsx +78 -0
  32. package/dist/components/common/form/FormTextArea.d.ts +6 -4
  33. package/dist/components/common/form/FormTextArea.d.ts.map +1 -0
  34. package/dist/components/common/form/FormTextArea.tsx +57 -0
  35. package/dist/components/common/form/FormWrapper.d.ts +2 -1
  36. package/dist/components/common/form/FormWrapper.d.ts.map +1 -0
  37. package/dist/components/common/form/FormWrapper.tsx +21 -0
  38. package/dist/components/common/form/index.d.ts +4 -3
  39. package/dist/components/common/form/index.d.ts.map +1 -0
  40. package/dist/components/common/index.d.ts +2 -0
  41. package/dist/components/common/index.d.ts.map +1 -0
  42. package/dist/components/common/logo/Logo.d.ts +2 -1
  43. package/dist/components/common/logo/Logo.d.ts.map +1 -0
  44. package/dist/components/common/logo/Logo.tsx +40 -0
  45. package/dist/components/common/logo/index.d.ts +1 -0
  46. package/dist/components/common/logo/index.d.ts.map +1 -0
  47. package/dist/components/common/pagination/CustomPagination.d.ts +2 -1
  48. package/dist/components/common/pagination/CustomPagination.d.ts.map +1 -0
  49. package/dist/components/common/pagination/CustomPagination.tsx +64 -0
  50. package/dist/components/common/pagination/index.d.ts +1 -0
  51. package/dist/components/common/pagination/index.d.ts.map +1 -0
  52. package/dist/components/common/select/CustomSelect.d.ts +2 -1
  53. package/dist/components/common/select/CustomSelect.d.ts.map +1 -0
  54. package/dist/components/common/select/CustomSelect.tsx +27 -0
  55. package/dist/components/common/select/index.d.ts +1 -0
  56. package/dist/components/common/select/index.d.ts.map +1 -0
  57. package/dist/components/common/spinner/Spinner.d.ts +1 -0
  58. package/dist/components/common/spinner/Spinner.d.ts.map +1 -0
  59. package/dist/components/common/spinner/Spinner.tsx +32 -0
  60. package/dist/components/common/spinner/index.d.ts +1 -0
  61. package/dist/components/common/spinner/index.d.ts.map +1 -0
  62. package/dist/components/common/stepper/Stepper.d.ts +18 -0
  63. package/dist/components/common/stepper/Stepper.d.ts.map +1 -0
  64. package/dist/components/common/stepper/Stepper.tsx +59 -0
  65. package/dist/components/common/stepper/index.d.ts +2 -0
  66. package/dist/components/common/stepper/index.d.ts.map +1 -0
  67. package/dist/components/index.d.ts +5 -4
  68. package/dist/components/index.d.ts.map +1 -0
  69. package/dist/components/layouts/CoreBaseLayout.d.ts +3 -1
  70. package/dist/components/layouts/CoreBaseLayout.d.ts.map +1 -0
  71. package/dist/components/layouts/CoreBaseLayout.tsx +19 -0
  72. package/dist/components/layouts/index.d.ts +1 -0
  73. package/dist/components/layouts/index.d.ts.map +1 -0
  74. package/dist/components/templates/CoreHomeLayout.d.ts +1 -0
  75. package/dist/components/templates/CoreHomeLayout.d.ts.map +1 -0
  76. package/dist/components/templates/CoreHomeLayout.tsx +8 -0
  77. package/dist/components/templates/CorePreviewLayout.d.ts +2 -1
  78. package/dist/components/templates/CorePreviewLayout.d.ts.map +1 -0
  79. package/dist/components/templates/CorePreviewLayout.tsx +27 -0
  80. package/dist/components/templates/index.d.ts +1 -0
  81. package/dist/components/templates/index.d.ts.map +1 -0
  82. package/dist/components/ui/accordion.d.ts +5 -4
  83. package/dist/components/ui/accordion.d.ts.map +1 -0
  84. package/dist/components/ui/accordion.tsx +44 -0
  85. package/dist/components/ui/alert-dialog.d.ts +18 -11
  86. package/dist/components/ui/alert-dialog.d.ts.map +1 -0
  87. package/dist/components/ui/alert-dialog.tsx +106 -0
  88. package/dist/components/ui/alert.d.ts +5 -5
  89. package/dist/components/ui/alert.d.ts.map +1 -0
  90. package/dist/components/ui/alert.tsx +49 -0
  91. package/dist/components/ui/avatar.d.ts +4 -3
  92. package/dist/components/ui/avatar.d.ts.map +1 -0
  93. package/dist/components/ui/avatar.tsx +40 -0
  94. package/dist/components/ui/badge.d.ts +5 -3
  95. package/dist/components/ui/badge.d.ts.map +1 -0
  96. package/dist/components/ui/badge.tsx +26 -0
  97. package/dist/components/ui/breadcrumb.d.ts +17 -8
  98. package/dist/components/ui/breadcrumb.d.ts.map +1 -0
  99. package/dist/components/ui/breadcrumb.tsx +88 -0
  100. package/dist/components/ui/button.d.ts +5 -3
  101. package/dist/components/ui/button.d.ts.map +1 -0
  102. package/dist/components/ui/button.tsx +47 -0
  103. package/dist/components/ui/card.d.ts +9 -8
  104. package/dist/components/ui/card.d.ts.map +1 -0
  105. package/dist/components/ui/card.tsx +68 -0
  106. package/dist/components/ui/carousel.d.ts +6 -6
  107. package/dist/components/ui/carousel.d.ts.map +1 -0
  108. package/dist/components/ui/carousel.tsx +191 -0
  109. package/dist/components/ui/checkbox.d.ts +2 -1
  110. package/dist/components/ui/checkbox.d.ts.map +1 -0
  111. package/dist/components/ui/checkbox.tsx +28 -0
  112. package/dist/components/ui/dialog.d.ts +19 -12
  113. package/dist/components/ui/dialog.d.ts.map +1 -0
  114. package/dist/components/ui/dialog.tsx +95 -0
  115. package/dist/components/ui/dropdown-menu.d.ts +24 -20
  116. package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
  117. package/dist/components/ui/dropdown-menu.tsx +140 -0
  118. package/dist/components/ui/form.d.ts +6 -6
  119. package/dist/components/ui/form.d.ts.map +1 -0
  120. package/dist/components/ui/form.tsx +102 -0
  121. package/dist/components/ui/index.d.ts +2 -6
  122. package/dist/components/ui/index.d.ts.map +1 -0
  123. package/dist/components/ui/input.d.ts +3 -3
  124. package/dist/components/ui/input.d.ts.map +1 -0
  125. package/dist/components/ui/input.tsx +25 -0
  126. package/dist/components/ui/label.d.ts +3 -1
  127. package/dist/components/ui/label.d.ts.map +1 -0
  128. package/dist/components/ui/label.tsx +20 -0
  129. package/dist/components/ui/pagination.d.ts +27 -12
  130. package/dist/components/ui/pagination.d.ts.map +1 -0
  131. package/dist/components/ui/pagination.tsx +122 -0
  132. package/dist/components/ui/popover.d.ts +5 -4
  133. package/dist/components/ui/popover.d.ts.map +1 -0
  134. package/dist/components/ui/popover.tsx +24 -0
  135. package/dist/components/ui/radio-group.d.ts +3 -2
  136. package/dist/components/ui/radio-group.d.ts.map +1 -0
  137. package/dist/components/ui/radio-group.tsx +34 -0
  138. package/dist/components/ui/select.d.ts +13 -12
  139. package/dist/components/ui/select.d.ts.map +1 -0
  140. package/dist/components/ui/select.tsx +128 -0
  141. package/dist/components/ui/separator.d.ts +2 -1
  142. package/dist/components/ui/separator.d.ts.map +1 -0
  143. package/dist/components/ui/separator.tsx +24 -0
  144. package/dist/components/ui/sheet.d.ts +26 -11
  145. package/dist/components/ui/sheet.d.ts.map +1 -0
  146. package/dist/components/ui/sheet.tsx +106 -0
  147. package/dist/components/ui/skeleton.d.ts +3 -1
  148. package/dist/components/ui/skeleton.d.ts.map +1 -0
  149. package/dist/components/ui/skeleton.tsx +17 -0
  150. package/dist/components/ui/slider.d.ts +2 -1
  151. package/dist/components/ui/slider.d.ts.map +1 -0
  152. package/dist/components/ui/slider.tsx +31 -0
  153. package/dist/components/ui/stepper.d.ts +40 -32
  154. package/dist/components/ui/stepper.d.ts.map +1 -0
  155. package/dist/components/ui/stepper.tsx +452 -0
  156. package/dist/components/ui/switch.d.ts +2 -1
  157. package/dist/components/ui/switch.d.ts.map +1 -0
  158. package/dist/components/ui/switch.tsx +27 -0
  159. package/dist/components/ui/table.d.ts +9 -8
  160. package/dist/components/ui/table.d.ts.map +1 -0
  161. package/dist/components/ui/table.tsx +80 -0
  162. package/dist/components/ui/tabs.d.ts +5 -4
  163. package/dist/components/ui/tabs.d.ts.map +1 -0
  164. package/dist/components/ui/tabs.tsx +45 -0
  165. package/dist/components/ui/textarea.d.ts +2 -1
  166. package/dist/components/ui/textarea.d.ts.map +1 -0
  167. package/dist/components/ui/textarea.tsx +22 -0
  168. package/dist/components/ui/tooltip.d.ts +5 -4
  169. package/dist/components/ui/tooltip.d.ts.map +1 -0
  170. package/dist/components/ui/tooltip.tsx +23 -0
  171. package/dist/constants/index.d.ts +2 -1
  172. package/dist/constants/index.d.ts.map +1 -0
  173. package/dist/helpers/axiosGlobal.d.ts +7 -5
  174. package/dist/helpers/axiosGlobal.d.ts.map +1 -0
  175. package/dist/helpers/axiosGlobal.js +66 -0
  176. package/dist/helpers/image.d.ts +1 -0
  177. package/dist/helpers/image.d.ts.map +1 -0
  178. package/dist/helpers/image.js +11 -0
  179. package/dist/helpers/index.d.ts +1 -2
  180. package/dist/helpers/index.d.ts.map +1 -0
  181. package/dist/helpers/numbers.d.ts +1 -0
  182. package/dist/helpers/numbers.d.ts.map +1 -0
  183. package/dist/helpers/numbers.js +8 -0
  184. package/dist/helpers/strings.d.ts +1 -0
  185. package/dist/helpers/strings.d.ts.map +1 -0
  186. package/dist/helpers/strings.js +6 -0
  187. package/dist/hooks/index.d.ts +1 -0
  188. package/dist/hooks/index.d.ts.map +1 -0
  189. package/dist/hooks/use-mobile.d.ts +1 -0
  190. package/dist/hooks/use-mobile.d.ts.map +1 -0
  191. package/dist/hooks/use-mobile.js +16 -0
  192. package/dist/hooks/useLanguage.d.ts +5 -0
  193. package/dist/hooks/useLanguage.d.ts.map +1 -0
  194. package/dist/hooks/useLanguage.js +32 -0
  195. package/dist/hooks/useNotification.d.ts +1 -0
  196. package/dist/hooks/useNotification.d.ts.map +1 -0
  197. package/dist/hooks/useNotification.js +17 -0
  198. package/dist/i18n/config.d.ts +82 -68
  199. package/dist/i18n/config.d.ts.map +1 -0
  200. package/dist/i18n/config.js +58 -0
  201. package/dist/i18n/index.d.ts +3 -0
  202. package/dist/i18n/index.d.ts.map +1 -0
  203. package/dist/i18n/locales/en.json.js +12 -0
  204. package/dist/i18n/locales/es.json.js +12 -0
  205. package/dist/i18n/locales/fields/en.json.js +52 -0
  206. package/dist/i18n/locales/fields/es.json.js +52 -0
  207. package/dist/i18n/locales/messages/en.json.js +14 -0
  208. package/dist/i18n/locales/messages/es.json.js +14 -0
  209. package/dist/i18n/utils/getModuleNamespace.d.ts +16 -0
  210. package/dist/i18n/utils/getModuleNamespace.d.ts.map +1 -0
  211. package/dist/i18n/utils/getModuleNamespace.js +10 -0
  212. package/dist/i18n/utils/loadModuleTranslations.d.ts +5 -0
  213. package/dist/i18n/utils/loadModuleTranslations.d.ts.map +1 -0
  214. package/dist/i18n/utils/loadModuleTranslations.js +21 -0
  215. package/dist/index.d.ts +2 -0
  216. package/dist/index.d.ts.map +1 -0
  217. package/dist/index.js +87 -20192
  218. package/dist/ingeniuscliq-core.css +1240 -0
  219. package/dist/lib/utils.d.ts +1 -0
  220. package/dist/lib/utils.d.ts.map +1 -0
  221. package/dist/lib/utils.js +8 -0
  222. package/dist/modules/CoreAuth/classes/CoreAuthBuilder.d.ts +5 -3
  223. package/dist/modules/CoreAuth/classes/CoreAuthBuilder.d.ts.map +1 -0
  224. package/dist/modules/CoreAuth/classes/CoreAuthBuilder.js +185 -0
  225. package/dist/modules/CoreAuth/classes/index.d.ts +1 -0
  226. package/dist/modules/CoreAuth/classes/index.d.ts.map +1 -0
  227. package/dist/modules/CoreAuth/constants/auth.d.ts +1 -0
  228. package/dist/modules/CoreAuth/constants/auth.d.ts.map +1 -0
  229. package/dist/modules/CoreAuth/constants/auth.js +6 -0
  230. package/dist/modules/CoreAuth/constants/index.d.ts +1 -0
  231. package/dist/modules/CoreAuth/constants/index.d.ts.map +1 -0
  232. package/dist/modules/CoreAuth/context/AuthContext.d.ts +12 -0
  233. package/dist/modules/CoreAuth/context/AuthContext.d.ts.map +1 -0
  234. package/dist/modules/CoreAuth/context/AuthContext.tsx +4 -0
  235. package/dist/modules/CoreAuth/context/index.d.ts +2 -0
  236. package/dist/modules/CoreAuth/context/index.d.ts.map +1 -0
  237. package/dist/modules/CoreAuth/hooks/index.d.ts +1 -0
  238. package/dist/modules/CoreAuth/hooks/index.d.ts.map +1 -0
  239. package/dist/modules/CoreAuth/hooks/useAuth.d.ts +10 -9
  240. package/dist/modules/CoreAuth/hooks/useAuth.d.ts.map +1 -0
  241. package/dist/modules/CoreAuth/hooks/useAuth.js +38 -0
  242. package/dist/modules/CoreAuth/index.d.ts +8 -1
  243. package/dist/modules/CoreAuth/index.d.ts.map +1 -0
  244. package/dist/modules/CoreAuth/index.js +11 -0
  245. package/dist/modules/CoreAuth/locale/en.json.js +4 -0
  246. package/dist/modules/CoreAuth/locale/es.json.js +4 -0
  247. package/dist/modules/CoreAuth/registry/hooks/index.d.ts +1 -0
  248. package/dist/modules/CoreAuth/registry/hooks/index.d.ts.map +1 -0
  249. package/dist/modules/CoreAuth/registry/index.d.ts +1 -0
  250. package/dist/modules/CoreAuth/registry/index.d.ts.map +1 -0
  251. package/dist/modules/CoreAuth/registry/types/index.d.ts +1 -0
  252. package/dist/modules/CoreAuth/registry/types/index.d.ts.map +1 -0
  253. package/dist/modules/CoreAuth/services/base.d.ts +24 -5
  254. package/dist/modules/CoreAuth/services/base.d.ts.map +1 -0
  255. package/dist/modules/CoreAuth/services/base.js +53 -0
  256. package/dist/modules/CoreAuth/services/index.d.ts +1 -0
  257. package/dist/modules/CoreAuth/services/index.d.ts.map +1 -0
  258. package/dist/modules/CoreAuth/stores/authStore.d.ts +15 -8
  259. package/dist/modules/CoreAuth/stores/authStore.d.ts.map +1 -0
  260. package/dist/modules/CoreAuth/stores/authStore.js +13 -0
  261. package/dist/modules/CoreAuth/stores/index.d.ts +1 -0
  262. package/dist/modules/CoreAuth/stores/index.d.ts.map +1 -0
  263. package/dist/modules/CoreAuth/types/CoreAuth.d.ts +10 -6
  264. package/dist/modules/CoreAuth/types/CoreAuth.d.ts.map +1 -0
  265. package/dist/modules/CoreAuth/types/index.d.ts +1 -0
  266. package/dist/modules/CoreAuth/types/index.d.ts.map +1 -0
  267. package/dist/modules/CoreCustomization/classes/CoreCustomizationBuilder.d.ts +8 -8
  268. package/dist/modules/CoreCustomization/classes/CoreCustomizationBuilder.d.ts.map +1 -0
  269. package/dist/modules/CoreCustomization/classes/CoreCustomizationBuilder.js +82 -0
  270. package/dist/modules/CoreCustomization/classes/index.d.ts +1 -0
  271. package/dist/modules/CoreCustomization/classes/index.d.ts.map +1 -0
  272. package/dist/modules/CoreCustomization/index.d.ts +4 -1
  273. package/dist/modules/CoreCustomization/index.d.ts.map +1 -0
  274. package/dist/modules/CoreCustomization/index.js +9 -0
  275. package/dist/modules/CoreCustomization/locale/en.json.js +4 -0
  276. package/dist/modules/CoreCustomization/locale/es.json.js +4 -0
  277. package/dist/modules/CoreCustomization/registry/index.d.ts +1 -0
  278. package/dist/modules/CoreCustomization/registry/index.d.ts.map +1 -0
  279. package/dist/modules/CoreCustomization/registry/types/index.d.ts +1 -0
  280. package/dist/modules/CoreCustomization/registry/types/index.d.ts.map +1 -0
  281. package/dist/modules/CoreCustomization/services/base.d.ts +8 -1
  282. package/dist/modules/CoreCustomization/services/base.d.ts.map +1 -0
  283. package/dist/modules/CoreCustomization/services/base.js +21 -0
  284. package/dist/modules/CoreCustomization/services/index.d.ts +1 -0
  285. package/dist/modules/CoreCustomization/services/index.d.ts.map +1 -0
  286. package/dist/modules/CoreCustomization/types/CoreCustomization.d.ts +1 -0
  287. package/dist/modules/CoreCustomization/types/CoreCustomization.d.ts.map +1 -0
  288. package/dist/modules/CoreCustomization/types/index.d.ts +1 -0
  289. package/dist/modules/CoreCustomization/types/index.d.ts.map +1 -0
  290. package/dist/modules/CoreOrder/classes/CoreOrderBuilder.d.ts +4 -3
  291. package/dist/modules/CoreOrder/classes/CoreOrderBuilder.d.ts.map +1 -0
  292. package/dist/modules/CoreOrder/classes/CoreOrderBuilder.js +113 -0
  293. package/dist/modules/CoreOrder/classes/index.d.ts +1 -0
  294. package/dist/modules/CoreOrder/classes/index.d.ts.map +1 -0
  295. package/dist/modules/CoreOrder/index.d.ts +4 -1
  296. package/dist/modules/CoreOrder/index.d.ts.map +1 -0
  297. package/dist/modules/CoreOrder/index.js +9 -0
  298. package/dist/modules/CoreOrder/locale/en.json.js +4 -0
  299. package/dist/modules/CoreOrder/locale/es.json.js +4 -0
  300. package/dist/modules/CoreOrder/registry/hooks/index.d.ts +1 -0
  301. package/dist/modules/CoreOrder/registry/hooks/index.d.ts.map +1 -0
  302. package/dist/modules/CoreOrder/registry/index.d.ts +1 -0
  303. package/dist/modules/CoreOrder/registry/index.d.ts.map +1 -0
  304. package/dist/modules/CoreOrder/registry/types/index.d.ts +1 -0
  305. package/dist/modules/CoreOrder/registry/types/index.d.ts.map +1 -0
  306. package/dist/modules/CoreOrder/services/base.d.ts +17 -1
  307. package/dist/modules/CoreOrder/services/base.d.ts.map +1 -0
  308. package/dist/modules/CoreOrder/services/base.js +27 -0
  309. package/dist/modules/CoreOrder/services/index.d.ts +1 -0
  310. package/dist/modules/CoreOrder/services/index.d.ts.map +1 -0
  311. package/dist/modules/CoreOrder/types/CoreOrder.d.ts +1 -0
  312. package/dist/modules/CoreOrder/types/CoreOrder.d.ts.map +1 -0
  313. package/dist/modules/CoreOrder/types/index.d.ts +1 -0
  314. package/dist/modules/CoreOrder/types/index.d.ts.map +1 -0
  315. package/dist/modules/CoreOrder/types/interfaces/OrderActions.d.ts +1 -0
  316. package/dist/modules/CoreOrder/types/interfaces/OrderActions.d.ts.map +1 -0
  317. package/dist/modules/CoreOrder/types/interfaces/index.d.ts +1 -0
  318. package/dist/modules/CoreOrder/types/interfaces/index.d.ts.map +1 -0
  319. package/dist/modules/CorePayForm/classes/CorePayFormBuilder.d.ts +12 -11
  320. package/dist/modules/CorePayForm/classes/CorePayFormBuilder.d.ts.map +1 -0
  321. package/dist/modules/CorePayForm/classes/CorePayFormBuilder.js +67 -0
  322. package/dist/modules/CorePayForm/classes/index.d.ts +1 -0
  323. package/dist/modules/CorePayForm/classes/index.d.ts.map +1 -0
  324. package/dist/modules/CorePayForm/index.d.ts +4 -1
  325. package/dist/modules/CorePayForm/index.d.ts.map +1 -0
  326. package/dist/modules/CorePayForm/index.js +9 -0
  327. package/dist/modules/CorePayForm/locale/en.json.js +4 -0
  328. package/dist/modules/CorePayForm/locale/es.json.js +4 -0
  329. package/dist/modules/CorePayForm/registry/hooks/index.d.ts +1 -0
  330. package/dist/modules/CorePayForm/registry/hooks/index.d.ts.map +1 -0
  331. package/dist/modules/CorePayForm/registry/index.d.ts +1 -0
  332. package/dist/modules/CorePayForm/registry/index.d.ts.map +1 -0
  333. package/dist/modules/CorePayForm/registry/types/index.d.ts +1 -0
  334. package/dist/modules/CorePayForm/registry/types/index.d.ts.map +1 -0
  335. package/dist/modules/CorePayForm/services/base.d.ts +12 -1
  336. package/dist/modules/CorePayForm/services/base.d.ts.map +1 -0
  337. package/dist/modules/CorePayForm/services/base.js +21 -0
  338. package/dist/modules/CorePayForm/services/index.d.ts +1 -0
  339. package/dist/modules/CorePayForm/services/index.d.ts.map +1 -0
  340. package/dist/modules/CorePayForm/types/CorePayForm.d.ts +1 -0
  341. package/dist/modules/CorePayForm/types/CorePayForm.d.ts.map +1 -0
  342. package/dist/modules/CorePayForm/types/index.d.ts +1 -0
  343. package/dist/modules/CorePayForm/types/index.d.ts.map +1 -0
  344. package/dist/modules/CoreProduct/classes/CoreProductBuilder.d.ts +5 -4
  345. package/dist/modules/CoreProduct/classes/CoreProductBuilder.d.ts.map +1 -0
  346. package/dist/modules/CoreProduct/classes/CoreProductBuilder.js +120 -0
  347. package/dist/modules/CoreProduct/classes/index.d.ts +1 -0
  348. package/dist/modules/CoreProduct/classes/index.d.ts.map +1 -0
  349. package/dist/modules/CoreProduct/index.d.ts +4 -1
  350. package/dist/modules/CoreProduct/index.d.ts.map +1 -0
  351. package/dist/modules/CoreProduct/index.js +9 -0
  352. package/dist/modules/CoreProduct/locale/en.json.js +14 -0
  353. package/dist/modules/CoreProduct/locale/es.json.js +14 -0
  354. package/dist/modules/CoreProduct/registry/index.d.ts +1 -0
  355. package/dist/modules/CoreProduct/registry/index.d.ts.map +1 -0
  356. package/dist/modules/CoreProduct/registry/types/index.d.ts +1 -0
  357. package/dist/modules/CoreProduct/registry/types/index.d.ts.map +1 -0
  358. package/dist/modules/CoreProduct/services/base.d.ts +20 -7
  359. package/dist/modules/CoreProduct/services/base.d.ts.map +1 -0
  360. package/dist/modules/CoreProduct/services/base.js +35 -0
  361. package/dist/modules/CoreProduct/services/index.d.ts +1 -0
  362. package/dist/modules/CoreProduct/services/index.d.ts.map +1 -0
  363. package/dist/modules/CoreProduct/types/CoreProduct.d.ts +1 -0
  364. package/dist/modules/CoreProduct/types/CoreProduct.d.ts.map +1 -0
  365. package/dist/modules/CoreProduct/types/CoreProductCategory.d.ts +1 -0
  366. package/dist/modules/CoreProduct/types/CoreProductCategory.d.ts.map +1 -0
  367. package/dist/modules/CoreProduct/types/index.d.ts +1 -0
  368. package/dist/modules/CoreProduct/types/index.d.ts.map +1 -0
  369. package/dist/modules/CoreShipment/classes/CoreShipmentBuilder.d.ts +6 -5
  370. package/dist/modules/CoreShipment/classes/CoreShipmentBuilder.d.ts.map +1 -0
  371. package/dist/modules/CoreShipment/classes/CoreShipmentBuilder.js +172 -0
  372. package/dist/modules/CoreShipment/classes/index.d.ts +1 -0
  373. package/dist/modules/CoreShipment/classes/index.d.ts.map +1 -0
  374. package/dist/modules/CoreShipment/index.d.ts +4 -1
  375. package/dist/modules/CoreShipment/index.d.ts.map +1 -0
  376. package/dist/modules/CoreShipment/index.js +9 -0
  377. package/dist/modules/CoreShipment/locale/en.json.js +14 -0
  378. package/dist/modules/CoreShipment/locale/es.json.js +14 -0
  379. package/dist/modules/CoreShipment/registry/classes/index.d.ts +1 -0
  380. package/dist/modules/CoreShipment/registry/classes/index.d.ts.map +1 -0
  381. package/dist/modules/CoreShipment/registry/index.d.ts +1 -0
  382. package/dist/modules/CoreShipment/registry/index.d.ts.map +1 -0
  383. package/dist/modules/CoreShipment/registry/services/index.d.ts +1 -0
  384. package/dist/modules/CoreShipment/registry/services/index.d.ts.map +1 -0
  385. package/dist/modules/CoreShipment/registry/types/index.d.ts +1 -0
  386. package/dist/modules/CoreShipment/registry/types/index.d.ts.map +1 -0
  387. package/dist/modules/CoreShipment/services/base.d.ts +30 -2
  388. package/dist/modules/CoreShipment/services/base.d.ts.map +1 -0
  389. package/dist/modules/CoreShipment/services/base.js +63 -0
  390. package/dist/modules/CoreShipment/services/index.d.ts +1 -0
  391. package/dist/modules/CoreShipment/services/index.d.ts.map +1 -0
  392. package/dist/modules/CoreShipment/types/CoreShipment.d.ts +1 -0
  393. package/dist/modules/CoreShipment/types/CoreShipment.d.ts.map +1 -0
  394. package/dist/modules/CoreShipment/types/CoreShipment.js +7 -0
  395. package/dist/modules/CoreShipment/types/index.d.ts +1 -0
  396. package/dist/modules/CoreShipment/types/index.d.ts.map +1 -0
  397. package/dist/modules/CoreShopCart/classes/CoreShopCartBuilder.d.ts +16 -5
  398. package/dist/modules/CoreShopCart/classes/CoreShopCartBuilder.d.ts.map +1 -0
  399. package/dist/modules/CoreShopCart/classes/CoreShopCartBuilder.js +166 -0
  400. package/dist/modules/CoreShopCart/classes/index.d.ts +1 -0
  401. package/dist/modules/CoreShopCart/classes/index.d.ts.map +1 -0
  402. package/dist/modules/CoreShopCart/constants/index.d.ts +1 -0
  403. package/dist/modules/CoreShopCart/constants/index.d.ts.map +1 -0
  404. package/dist/modules/CoreShopCart/constants/shopCart.d.ts +1 -0
  405. package/dist/modules/CoreShopCart/constants/shopCart.d.ts.map +1 -0
  406. package/dist/modules/CoreShopCart/constants/shopCart.js +8 -0
  407. package/dist/modules/CoreShopCart/index.d.ts +1 -0
  408. package/dist/modules/CoreShopCart/index.d.ts.map +1 -0
  409. package/dist/modules/CoreShopCart/index.js +8 -0
  410. package/dist/modules/CoreShopCart/locale/en.json.js +4 -0
  411. package/dist/modules/CoreShopCart/locale/es.json.js +4 -0
  412. package/dist/modules/CoreShopCart/registry/hooks/index.d.ts +1 -0
  413. package/dist/modules/CoreShopCart/registry/hooks/index.d.ts.map +1 -0
  414. package/dist/modules/CoreShopCart/registry/index.d.ts +1 -0
  415. package/dist/modules/CoreShopCart/registry/index.d.ts.map +1 -0
  416. package/dist/modules/CoreShopCart/registry/types/index.d.ts +1 -0
  417. package/dist/modules/CoreShopCart/registry/types/index.d.ts.map +1 -0
  418. package/dist/modules/CoreShopCart/services/base.d.ts +23 -4
  419. package/dist/modules/CoreShopCart/services/base.d.ts.map +1 -0
  420. package/dist/modules/CoreShopCart/services/base.js +53 -0
  421. package/dist/modules/CoreShopCart/services/index.d.ts +1 -0
  422. package/dist/modules/CoreShopCart/services/index.d.ts.map +1 -0
  423. package/dist/modules/CoreShopCart/types/CoreShopCart.d.ts +1 -0
  424. package/dist/modules/CoreShopCart/types/CoreShopCart.d.ts.map +1 -0
  425. package/dist/modules/CoreShopCart/types/index.d.ts +1 -0
  426. package/dist/modules/CoreShopCart/types/index.d.ts.map +1 -0
  427. package/dist/modules/CoreShopCart/types/interfaces/CartActions.d.ts +1 -0
  428. package/dist/modules/CoreShopCart/types/interfaces/CartActions.d.ts.map +1 -0
  429. package/dist/modules/CoreShopCart/types/interfaces/index.d.ts +1 -0
  430. package/dist/modules/CoreShopCart/types/interfaces/index.d.ts.map +1 -0
  431. package/dist/modules/index.d.ts +1 -0
  432. package/dist/modules/index.d.ts.map +1 -0
  433. package/dist/modules/registry/hooks/index.d.ts +1 -0
  434. package/dist/modules/registry/hooks/index.d.ts.map +1 -0
  435. package/dist/modules/registry/index.d.ts +1 -0
  436. package/dist/modules/registry/index.d.ts.map +1 -0
  437. package/dist/modules/registry/types/index.d.ts +1 -0
  438. package/dist/modules/registry/types/index.d.ts.map +1 -0
  439. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +814 -0
  440. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +751 -0
  441. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +350 -0
  442. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +161 -0
  443. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +137 -0
  444. package/dist/node_modules/@radix-ui/number/dist/index.js +6 -0
  445. package/dist/node_modules/@radix-ui/primitive/dist/index.js +11 -0
  446. package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +305 -0
  447. package/dist/node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-collapsible/dist/index.js +145 -0
  448. package/dist/node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-presence/dist/index.js +130 -0
  449. package/dist/node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-collection/dist/index.js +70 -0
  450. package/dist/node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-primitive/dist/index.js +40 -0
  451. package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.js +147 -0
  452. package/dist/node_modules/@radix-ui/react-avatar/dist/index.js +118 -0
  453. package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-primitive/dist/index.js +40 -0
  454. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +270 -0
  455. package/dist/node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-presence/dist/index.js +130 -0
  456. package/dist/node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-primitive/dist/index.js +40 -0
  457. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +39 -0
  458. package/dist/node_modules/@radix-ui/react-context/dist/index.js +79 -0
  459. package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +321 -0
  460. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +211 -0
  461. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-focus-scope/dist/index.js +207 -0
  462. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal/dist/index.js +17 -0
  463. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.js +130 -0
  464. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.js +43 -0
  465. package/dist/node_modules/@radix-ui/react-direction/dist/index.js +11 -0
  466. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +267 -0
  467. package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-menu/dist/index.js +834 -0
  468. package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-collection/dist/index.js +70 -0
  469. package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +211 -0
  470. package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-focus-scope/dist/index.js +207 -0
  471. package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-popper/dist/index.js +283 -0
  472. package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-arrow/dist/index.js +25 -0
  473. package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-portal/dist/index.js +17 -0
  474. package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-presence/dist/index.js +130 -0
  475. package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-roving-focus/dist/index.js +223 -0
  476. package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-primitive/dist/index.js +43 -0
  477. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +29 -0
  478. package/dist/node_modules/@radix-ui/react-id/dist/index.js +15 -0
  479. package/dist/node_modules/@radix-ui/react-label/dist/index.js +24 -0
  480. package/dist/node_modules/@radix-ui/react-label/node_modules/@radix-ui/react-primitive/dist/index.js +40 -0
  481. package/dist/node_modules/@radix-ui/react-popover/dist/index.js +299 -0
  482. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +211 -0
  483. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-focus-scope/dist/index.js +207 -0
  484. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-popper/dist/index.js +283 -0
  485. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-arrow/dist/index.js +25 -0
  486. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-portal/dist/index.js +17 -0
  487. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-presence/dist/index.js +130 -0
  488. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-primitive/dist/index.js +43 -0
  489. package/dist/node_modules/@radix-ui/react-radio-group/dist/index.js +282 -0
  490. package/dist/node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-presence/dist/index.js +130 -0
  491. package/dist/node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-primitive/dist/index.js +40 -0
  492. package/dist/node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-roving-focus/dist/index.js +223 -0
  493. package/dist/node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-collection/dist/index.js +70 -0
  494. package/dist/node_modules/@radix-ui/react-select/dist/index.js +1156 -0
  495. package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-collection/dist/index.js +70 -0
  496. package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +211 -0
  497. package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-focus-scope/dist/index.js +207 -0
  498. package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-popper/dist/index.js +283 -0
  499. package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-arrow/dist/index.js +25 -0
  500. package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-portal/dist/index.js +17 -0
  501. package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-primitive/dist/index.js +43 -0
  502. package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-visually-hidden/dist/index.js +34 -0
  503. package/dist/node_modules/@radix-ui/react-separator/dist/index.js +30 -0
  504. package/dist/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive/dist/index.js +40 -0
  505. package/dist/node_modules/@radix-ui/react-slider/dist/index.js +554 -0
  506. package/dist/node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-collection/dist/index.js +70 -0
  507. package/dist/node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-primitive/dist/index.js +40 -0
  508. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +99 -0
  509. package/dist/node_modules/@radix-ui/react-switch/dist/index.js +152 -0
  510. package/dist/node_modules/@radix-ui/react-switch/node_modules/@radix-ui/react-primitive/dist/index.js +40 -0
  511. package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +187 -0
  512. package/dist/node_modules/@radix-ui/react-tabs/node_modules/@radix-ui/react-presence/dist/index.js +130 -0
  513. package/dist/node_modules/@radix-ui/react-tabs/node_modules/@radix-ui/react-primitive/dist/index.js +40 -0
  514. package/dist/node_modules/@radix-ui/react-tabs/node_modules/@radix-ui/react-roving-focus/dist/index.js +223 -0
  515. package/dist/node_modules/@radix-ui/react-tabs/node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-collection/dist/index.js +70 -0
  516. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +482 -0
  517. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +211 -0
  518. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/dist/index.js +283 -0
  519. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-arrow/dist/index.js +25 -0
  520. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-presence/dist/index.js +130 -0
  521. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-primitive/dist/index.js +43 -0
  522. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-visually-hidden/dist/index.js +35 -0
  523. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +12 -0
  524. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +70 -0
  525. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +18 -0
  526. package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +16 -0
  527. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +7 -0
  528. package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +15 -0
  529. package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +40 -0
  530. package/dist/node_modules/@stepperize/core/dist/index.js +3 -0
  531. package/dist/node_modules/@stepperize/react/dist/index.js +6 -0
  532. package/dist/node_modules/aria-hidden/dist/es2015/index.js +137 -0
  533. package/dist/node_modules/axios/index.js +25 -0
  534. package/dist/node_modules/axios/lib/adapters/adapters.js +81 -0
  535. package/dist/node_modules/axios/lib/adapters/fetch.js +229 -0
  536. package/dist/node_modules/axios/lib/adapters/xhr.js +199 -0
  537. package/dist/node_modules/axios/lib/axios.js +86 -0
  538. package/dist/node_modules/axios/lib/cancel/CancelToken.js +133 -0
  539. package/dist/node_modules/axios/lib/cancel/CanceledError.js +23 -0
  540. package/dist/node_modules/axios/lib/cancel/isCancel.js +5 -0
  541. package/dist/node_modules/axios/lib/core/Axios.js +238 -0
  542. package/dist/node_modules/axios/lib/core/AxiosError.js +101 -0
  543. package/dist/node_modules/axios/lib/core/AxiosHeaders.js +312 -0
  544. package/dist/node_modules/axios/lib/core/InterceptorManager.js +69 -0
  545. package/dist/node_modules/axios/lib/core/buildFullPath.js +22 -0
  546. package/dist/node_modules/axios/lib/core/dispatchRequest.js +81 -0
  547. package/dist/node_modules/axios/lib/core/mergeConfig.js +106 -0
  548. package/dist/node_modules/axios/lib/core/settle.js +27 -0
  549. package/dist/node_modules/axios/lib/core/transformData.js +28 -0
  550. package/dist/node_modules/axios/lib/defaults/index.js +159 -0
  551. package/dist/node_modules/axios/lib/defaults/transitional.js +7 -0
  552. package/dist/node_modules/axios/lib/env/data.js +3 -0
  553. package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +56 -0
  554. package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js +71 -0
  555. package/dist/node_modules/axios/lib/helpers/bind.js +7 -0
  556. package/dist/node_modules/axios/lib/helpers/buildURL.js +69 -0
  557. package/dist/node_modules/axios/lib/helpers/combineURLs.js +15 -0
  558. package/dist/node_modules/axios/lib/helpers/composeSignals.js +48 -0
  559. package/dist/node_modules/axios/lib/helpers/cookies.js +43 -0
  560. package/dist/node_modules/axios/lib/helpers/formDataToJSON.js +93 -0
  561. package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js +15 -0
  562. package/dist/node_modules/axios/lib/helpers/isAxiosError.js +14 -0
  563. package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js +16 -0
  564. package/dist/node_modules/axios/lib/helpers/null.js +4 -0
  565. package/dist/node_modules/axios/lib/helpers/parseHeaders.js +55 -0
  566. package/dist/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
  567. package/dist/node_modules/axios/lib/helpers/progressEventReducer.js +46 -0
  568. package/dist/node_modules/axios/lib/helpers/resolveConfig.js +58 -0
  569. package/dist/node_modules/axios/lib/helpers/speedometer.js +53 -0
  570. package/dist/node_modules/axios/lib/helpers/spread.js +28 -0
  571. package/dist/node_modules/axios/lib/helpers/throttle.js +44 -0
  572. package/dist/node_modules/axios/lib/helpers/toFormData.js +219 -0
  573. package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js +19 -0
  574. package/dist/node_modules/axios/lib/helpers/trackStream.js +88 -0
  575. package/dist/node_modules/axios/lib/helpers/validator.js +99 -0
  576. package/dist/node_modules/axios/lib/platform/browser/classes/Blob.js +3 -0
  577. package/dist/node_modules/axios/lib/platform/browser/classes/FormData.js +3 -0
  578. package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
  579. package/dist/node_modules/axios/lib/platform/browser/index.js +15 -0
  580. package/dist/node_modules/axios/lib/platform/common/utils.js +45 -0
  581. package/dist/node_modules/axios/lib/platform/index.js +9 -0
  582. package/dist/node_modules/axios/lib/utils.js +780 -0
  583. package/dist/node_modules/class-variance-authority/dist/index.js +44 -0
  584. package/dist/node_modules/clsx/dist/clsx.js +3 -0
  585. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +1669 -0
  586. package/dist/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js +37 -0
  587. package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +38 -0
  588. package/dist/node_modules/get-nonce/dist/es2015/index.js +8 -0
  589. package/dist/node_modules/lucide-react/dist/esm/Icon.js +43 -0
  590. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +30 -0
  591. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +20 -0
  592. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-left.js +17 -0
  593. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-right.js +17 -0
  594. package/dist/node_modules/lucide-react/dist/esm/icons/check.js +14 -0
  595. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +14 -0
  596. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.js +14 -0
  597. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right.js +14 -0
  598. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js +14 -0
  599. package/dist/node_modules/lucide-react/dist/esm/icons/circle.js +14 -0
  600. package/dist/node_modules/lucide-react/dist/esm/icons/ellipsis.js +18 -0
  601. package/dist/node_modules/lucide-react/dist/esm/icons/x.js +17 -0
  602. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +28 -0
  603. package/dist/node_modules/react-hook-form/dist/index.esm.js +560 -0
  604. package/dist/node_modules/react-i18next/dist/es/IcuTransUtils/htmlEntityDecoder.js +210 -0
  605. package/dist/node_modules/react-i18next/dist/es/context.js +18 -0
  606. package/dist/node_modules/react-i18next/dist/es/defaults.js +21 -0
  607. package/dist/node_modules/react-i18next/dist/es/i18nInstance.js +7 -0
  608. package/dist/node_modules/react-i18next/dist/es/initReactI18next.js +12 -0
  609. package/dist/node_modules/react-i18next/dist/es/unescape.js +27 -0
  610. package/dist/node_modules/react-i18next/dist/es/useTranslation.js +157 -0
  611. package/dist/node_modules/react-i18next/dist/es/utils.js +63 -0
  612. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +9 -0
  613. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +167 -0
  614. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +38 -0
  615. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +21 -0
  616. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +110 -0
  617. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +5 -0
  618. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +7 -0
  619. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +56 -0
  620. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +10 -0
  621. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +31 -0
  622. package/dist/node_modules/react-style-singleton/dist/es2015/component.js +19 -0
  623. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +25 -0
  624. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +51 -0
  625. package/dist/node_modules/sonner/dist/index.js +299 -0
  626. package/dist/node_modules/tslib/tslib.es6.js +56 -0
  627. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +24 -0
  628. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +48 -0
  629. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +42 -0
  630. package/dist/node_modules/use-sidecar/dist/es2015/exports.js +21 -0
  631. package/dist/node_modules/use-sidecar/dist/es2015/medium.js +77 -0
  632. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +106 -0
  633. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +77 -0
  634. package/dist/node_modules/use-sync-external-store/shim/index.js +19 -0
  635. package/dist/node_modules/zustand/esm/middleware.js +188 -0
  636. package/dist/node_modules/zustand/esm/react.js +22 -0
  637. package/dist/node_modules/zustand/esm/vanilla.js +24 -0
  638. package/dist/services/base.d.ts +1 -0
  639. package/dist/services/base.d.ts.map +1 -0
  640. package/dist/services/base.js +67 -0
  641. package/dist/services/factory.d.ts +14 -0
  642. package/dist/services/factory.d.ts.map +1 -0
  643. package/dist/services/factory.js +39 -0
  644. package/dist/services/index.d.ts +2 -0
  645. package/dist/services/index.d.ts.map +1 -0
  646. package/dist/stores/customizationStore.d.ts +5 -27
  647. package/dist/stores/customizationStore.d.ts.map +1 -0
  648. package/dist/stores/customizationStore.js +7 -0
  649. package/dist/stores/index.d.ts +1 -0
  650. package/dist/stores/index.d.ts.map +1 -0
  651. package/dist/styles/index.d.ts +1 -0
  652. package/dist/styles/index.d.ts.map +1 -0
  653. package/dist/types/BaseResponseActions.d.ts +1 -0
  654. package/dist/types/BaseResponseActions.d.ts.map +1 -0
  655. package/dist/types/BaseStore.d.ts +1 -0
  656. package/dist/types/BaseStore.d.ts.map +1 -0
  657. package/dist/types/BaseType.d.ts +1 -0
  658. package/dist/types/BaseType.d.ts.map +1 -0
  659. package/dist/types/CoreImage.d.ts +1 -0
  660. package/dist/types/CoreImage.d.ts.map +1 -0
  661. package/dist/types/CoreMenu.d.ts +1 -0
  662. package/dist/types/CoreMenu.d.ts.map +1 -0
  663. package/dist/types/contracts/BaseApiResponse.d.ts +1 -0
  664. package/dist/types/contracts/BaseApiResponse.d.ts.map +1 -0
  665. package/dist/types/contracts/BasePagination.d.ts +1 -0
  666. package/dist/types/contracts/BasePagination.d.ts.map +1 -0
  667. package/dist/types/contracts/index.d.ts +1 -0
  668. package/dist/types/contracts/index.d.ts.map +1 -0
  669. package/dist/types/index.d.ts +1 -0
  670. package/dist/types/index.d.ts.map +1 -0
  671. package/dist/types/interfaces/BaseImageType.d.ts +1 -0
  672. package/dist/types/interfaces/BaseImageType.d.ts.map +1 -0
  673. package/dist/types/interfaces/BaseSlugType.d.ts +1 -0
  674. package/dist/types/interfaces/BaseSlugType.d.ts.map +1 -0
  675. package/dist/types/interfaces/BaseVisibleType.d.ts +1 -0
  676. package/dist/types/interfaces/BaseVisibleType.d.ts.map +1 -0
  677. package/dist/types/interfaces/index.d.ts +1 -0
  678. package/dist/types/interfaces/index.d.ts.map +1 -0
  679. package/dist/types/ui/carousel.d.ts +1 -0
  680. package/dist/types/ui/carousel.d.ts.map +1 -0
  681. package/dist/types/ui/index.d.ts +1 -0
  682. package/dist/types/ui/index.d.ts.map +1 -0
  683. package/dist/types/ui/main.d.ts +1 -0
  684. package/dist/types/ui/main.d.ts.map +1 -0
  685. package/dist/types/ui/template.d.ts +1 -0
  686. package/dist/types/ui/template.d.ts.map +1 -0
  687. package/dist/ui/index.d.ts +1 -0
  688. package/dist/ui/index.d.ts.map +1 -0
  689. package/dist/vite-env.d.ts +11 -0
  690. package/package.json +18 -11
  691. package/core/commands/common/constants.js +0 -10
  692. package/core/commands/create-core-module.js +0 -288
  693. package/core/commands/create-module.js +0 -288
  694. package/core/commands/create-template.js +0 -169
  695. package/core/commands/helpers/index.js +0 -15
  696. package/core/commands/helpers/strings.js +0 -4
  697. package/core/commands/rollback-core-module.js +0 -195
  698. package/core/commands/rollback-module.js +0 -208
  699. package/core/commands/templates/locale.js +0 -14
  700. package/core/commands/templates/service.js +0 -12
  701. package/core/commands/templates/type.js +0 -10
  702. package/dist/assets/index.d.ts +0 -8
  703. package/dist/components/ui/calendar.d.ts +0 -4
  704. package/dist/components/ui/drawer.d.ts +0 -13
  705. package/dist/components/ui/navigation-menu.d.ts +0 -14
  706. package/dist/components/ui/sidebar.d.ts +0 -69
  707. package/dist/components/ui/sonner.d.ts +0 -3
  708. package/dist/constants/menu.d.ts +0 -2
  709. package/dist/helpers/template.d.ts +0 -2
  710. package/dist/helpers/tenant.d.ts +0 -2
  711. package/dist/index.css +0 -1
  712. package/dist/modules/CoreCustomization/registry/hooks/index.d.ts +0 -0
  713. package/dist/modules/CoreProduct/registry/hooks/index.d.ts +0 -0
@@ -0,0 +1,283 @@
1
+ import * as React from 'react';
2
+ import { useFloating, offset, shift, flip, size, arrow, hide, limitShift } from '../../../../../../../../../@floating-ui/react-dom/dist/floating-ui.react-dom.js';
3
+ import { Root } from '../node_modules/@radix-ui/react-arrow/dist/index.js';
4
+ import { useComposedRefs } from '../../../../../../../../react-compose-refs/dist/index.js';
5
+ import { createContextScope } from '../../../../../../../../react-context/dist/index.js';
6
+ import { Primitive } from '../../../../../react-primitive/dist/index.js';
7
+ import { useCallbackRef } from '../../../../../../../../react-use-callback-ref/dist/index.js';
8
+ import { useLayoutEffect as useLayoutEffect2 } from '../../../../../../../../react-use-layout-effect/dist/index.js';
9
+ import { useSize } from '../../../../../../../../react-use-size/dist/index.js';
10
+ import { jsx } from 'react/jsx-runtime';
11
+ import { autoUpdate } from '../../../../../../../../../@floating-ui/dom/dist/floating-ui.dom.js';
12
+
13
+ var POPPER_NAME = "Popper";
14
+ var [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);
15
+ var [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);
16
+ var Popper = (props) => {
17
+ const { __scopePopper, children } = props;
18
+ const [anchor, setAnchor] = React.useState(null);
19
+ return /* @__PURE__ */ jsx(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });
20
+ };
21
+ Popper.displayName = POPPER_NAME;
22
+ var ANCHOR_NAME = "PopperAnchor";
23
+ var PopperAnchor = React.forwardRef(
24
+ (props, forwardedRef) => {
25
+ const { __scopePopper, virtualRef, ...anchorProps } = props;
26
+ const context = usePopperContext(ANCHOR_NAME, __scopePopper);
27
+ const ref = React.useRef(null);
28
+ const composedRefs = useComposedRefs(forwardedRef, ref);
29
+ const anchorRef = React.useRef(null);
30
+ React.useEffect(() => {
31
+ const previousAnchor = anchorRef.current;
32
+ anchorRef.current = virtualRef?.current || ref.current;
33
+ if (previousAnchor !== anchorRef.current) {
34
+ context.onAnchorChange(anchorRef.current);
35
+ }
36
+ });
37
+ return virtualRef ? null : /* @__PURE__ */ jsx(Primitive.div, { ...anchorProps, ref: composedRefs });
38
+ }
39
+ );
40
+ PopperAnchor.displayName = ANCHOR_NAME;
41
+ var CONTENT_NAME = "PopperContent";
42
+ var [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME);
43
+ var PopperContent = React.forwardRef(
44
+ (props, forwardedRef) => {
45
+ const {
46
+ __scopePopper,
47
+ side = "bottom",
48
+ sideOffset = 0,
49
+ align = "center",
50
+ alignOffset = 0,
51
+ arrowPadding = 0,
52
+ avoidCollisions = true,
53
+ collisionBoundary = [],
54
+ collisionPadding: collisionPaddingProp = 0,
55
+ sticky = "partial",
56
+ hideWhenDetached = false,
57
+ updatePositionStrategy = "optimized",
58
+ onPlaced,
59
+ ...contentProps
60
+ } = props;
61
+ const context = usePopperContext(CONTENT_NAME, __scopePopper);
62
+ const [content, setContent] = React.useState(null);
63
+ const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));
64
+ const [arrow$1, setArrow] = React.useState(null);
65
+ const arrowSize = useSize(arrow$1);
66
+ const arrowWidth = arrowSize?.width ?? 0;
67
+ const arrowHeight = arrowSize?.height ?? 0;
68
+ const desiredPlacement = side + (align !== "center" ? "-" + align : "");
69
+ const collisionPadding = typeof collisionPaddingProp === "number" ? collisionPaddingProp : { top: 0, right: 0, bottom: 0, left: 0, ...collisionPaddingProp };
70
+ const boundary = Array.isArray(collisionBoundary) ? collisionBoundary : [collisionBoundary];
71
+ const hasExplicitBoundaries = boundary.length > 0;
72
+ const detectOverflowOptions = {
73
+ padding: collisionPadding,
74
+ boundary: boundary.filter(isNotNull),
75
+ // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
76
+ altBoundary: hasExplicitBoundaries
77
+ };
78
+ const { refs, floatingStyles, placement, isPositioned, middlewareData } = useFloating({
79
+ // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
80
+ strategy: "fixed",
81
+ placement: desiredPlacement,
82
+ whileElementsMounted: (...args) => {
83
+ const cleanup = autoUpdate(...args, {
84
+ animationFrame: updatePositionStrategy === "always"
85
+ });
86
+ return cleanup;
87
+ },
88
+ elements: {
89
+ reference: context.anchor
90
+ },
91
+ middleware: [
92
+ offset({ mainAxis: sideOffset + arrowHeight, alignmentAxis: alignOffset }),
93
+ avoidCollisions && shift({
94
+ mainAxis: true,
95
+ crossAxis: false,
96
+ limiter: sticky === "partial" ? limitShift() : void 0,
97
+ ...detectOverflowOptions
98
+ }),
99
+ avoidCollisions && flip({ ...detectOverflowOptions }),
100
+ size({
101
+ ...detectOverflowOptions,
102
+ apply: ({ elements, rects, availableWidth, availableHeight }) => {
103
+ const { width: anchorWidth, height: anchorHeight } = rects.reference;
104
+ const contentStyle = elements.floating.style;
105
+ contentStyle.setProperty("--radix-popper-available-width", `${availableWidth}px`);
106
+ contentStyle.setProperty("--radix-popper-available-height", `${availableHeight}px`);
107
+ contentStyle.setProperty("--radix-popper-anchor-width", `${anchorWidth}px`);
108
+ contentStyle.setProperty("--radix-popper-anchor-height", `${anchorHeight}px`);
109
+ }
110
+ }),
111
+ arrow$1 && arrow({ element: arrow$1, padding: arrowPadding }),
112
+ transformOrigin({ arrowWidth, arrowHeight }),
113
+ hideWhenDetached && hide({ strategy: "referenceHidden", ...detectOverflowOptions })
114
+ ]
115
+ });
116
+ const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);
117
+ const handlePlaced = useCallbackRef(onPlaced);
118
+ useLayoutEffect2(() => {
119
+ if (isPositioned) {
120
+ handlePlaced?.();
121
+ }
122
+ }, [isPositioned, handlePlaced]);
123
+ const arrowX = middlewareData.arrow?.x;
124
+ const arrowY = middlewareData.arrow?.y;
125
+ const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;
126
+ const [contentZIndex, setContentZIndex] = React.useState();
127
+ useLayoutEffect2(() => {
128
+ if (content) setContentZIndex(window.getComputedStyle(content).zIndex);
129
+ }, [content]);
130
+ return /* @__PURE__ */ jsx(
131
+ "div",
132
+ {
133
+ ref: refs.setFloating,
134
+ "data-radix-popper-content-wrapper": "",
135
+ style: {
136
+ ...floatingStyles,
137
+ transform: isPositioned ? floatingStyles.transform : "translate(0, -200%)",
138
+ // keep off the page when measuring
139
+ minWidth: "max-content",
140
+ zIndex: contentZIndex,
141
+ ["--radix-popper-transform-origin"]: [
142
+ middlewareData.transformOrigin?.x,
143
+ middlewareData.transformOrigin?.y
144
+ ].join(" "),
145
+ // hide the content if using the hide middleware and should be hidden
146
+ // set visibility to hidden and disable pointer events so the UI behaves
147
+ // as if the PopperContent isn't there at all
148
+ ...middlewareData.hide?.referenceHidden && {
149
+ visibility: "hidden",
150
+ pointerEvents: "none"
151
+ }
152
+ },
153
+ dir: props.dir,
154
+ children: /* @__PURE__ */ jsx(
155
+ PopperContentProvider,
156
+ {
157
+ scope: __scopePopper,
158
+ placedSide,
159
+ onArrowChange: setArrow,
160
+ arrowX,
161
+ arrowY,
162
+ shouldHideArrow: cannotCenterArrow,
163
+ children: /* @__PURE__ */ jsx(
164
+ Primitive.div,
165
+ {
166
+ "data-side": placedSide,
167
+ "data-align": placedAlign,
168
+ ...contentProps,
169
+ ref: composedRefs,
170
+ style: {
171
+ ...contentProps.style,
172
+ // if the PopperContent hasn't been placed yet (not all measurements done)
173
+ // we prevent animations so that users's animation don't kick in too early referring wrong sides
174
+ animation: !isPositioned ? "none" : void 0
175
+ }
176
+ }
177
+ )
178
+ }
179
+ )
180
+ }
181
+ );
182
+ }
183
+ );
184
+ PopperContent.displayName = CONTENT_NAME;
185
+ var ARROW_NAME = "PopperArrow";
186
+ var OPPOSITE_SIDE = {
187
+ top: "bottom",
188
+ right: "left",
189
+ bottom: "top",
190
+ left: "right"
191
+ };
192
+ var PopperArrow = React.forwardRef(function PopperArrow2(props, forwardedRef) {
193
+ const { __scopePopper, ...arrowProps } = props;
194
+ const contentContext = useContentContext(ARROW_NAME, __scopePopper);
195
+ const baseSide = OPPOSITE_SIDE[contentContext.placedSide];
196
+ return (
197
+ // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
198
+ // doesn't report size as we'd expect on SVG elements.
199
+ // it reports their bounding box which is effectively the largest path inside the SVG.
200
+ /* @__PURE__ */ jsx(
201
+ "span",
202
+ {
203
+ ref: contentContext.onArrowChange,
204
+ style: {
205
+ position: "absolute",
206
+ left: contentContext.arrowX,
207
+ top: contentContext.arrowY,
208
+ [baseSide]: 0,
209
+ transformOrigin: {
210
+ top: "",
211
+ right: "0 0",
212
+ bottom: "center 0",
213
+ left: "100% 0"
214
+ }[contentContext.placedSide],
215
+ transform: {
216
+ top: "translateY(100%)",
217
+ right: "translateY(50%) rotate(90deg) translateX(-50%)",
218
+ bottom: `rotate(180deg)`,
219
+ left: "translateY(50%) rotate(-90deg) translateX(50%)"
220
+ }[contentContext.placedSide],
221
+ visibility: contentContext.shouldHideArrow ? "hidden" : void 0
222
+ },
223
+ children: /* @__PURE__ */ jsx(
224
+ Root,
225
+ {
226
+ ...arrowProps,
227
+ ref: forwardedRef,
228
+ style: {
229
+ ...arrowProps.style,
230
+ // ensures the element can be measured correctly (mostly for if SVG)
231
+ display: "block"
232
+ }
233
+ }
234
+ )
235
+ }
236
+ )
237
+ );
238
+ });
239
+ PopperArrow.displayName = ARROW_NAME;
240
+ function isNotNull(value) {
241
+ return value !== null;
242
+ }
243
+ var transformOrigin = (options) => ({
244
+ name: "transformOrigin",
245
+ options,
246
+ fn(data) {
247
+ const { placement, rects, middlewareData } = data;
248
+ const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;
249
+ const isArrowHidden = cannotCenterArrow;
250
+ const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;
251
+ const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;
252
+ const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);
253
+ const noArrowAlign = { start: "0%", center: "50%", end: "100%" }[placedAlign];
254
+ const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;
255
+ const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;
256
+ let x = "";
257
+ let y = "";
258
+ if (placedSide === "bottom") {
259
+ x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;
260
+ y = `${-arrowHeight}px`;
261
+ } else if (placedSide === "top") {
262
+ x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;
263
+ y = `${rects.floating.height + arrowHeight}px`;
264
+ } else if (placedSide === "right") {
265
+ x = `${-arrowHeight}px`;
266
+ y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;
267
+ } else if (placedSide === "left") {
268
+ x = `${rects.floating.width + arrowHeight}px`;
269
+ y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;
270
+ }
271
+ return { data: { x, y } };
272
+ }
273
+ });
274
+ function getSideAndAlignFromPlacement(placement) {
275
+ const [side, align = "center"] = placement.split("-");
276
+ return [side, align];
277
+ }
278
+ var Root2 = Popper;
279
+ var Anchor = PopperAnchor;
280
+ var Content = PopperContent;
281
+ var Arrow = PopperArrow;
282
+
283
+ export { Anchor, Arrow, Content, Popper, PopperAnchor, PopperArrow, PopperContent, Root2 as Root, createPopperScope };
@@ -0,0 +1,25 @@
1
+ import * as React from 'react';
2
+ import { Primitive } from '../../../../../../../../react-primitive/dist/index.js';
3
+ import { jsx } from 'react/jsx-runtime';
4
+
5
+ // src/arrow.tsx
6
+ var NAME = "Arrow";
7
+ var Arrow = React.forwardRef((props, forwardedRef) => {
8
+ const { children, width = 10, height = 5, ...arrowProps } = props;
9
+ return /* @__PURE__ */ jsx(
10
+ Primitive.svg,
11
+ {
12
+ ...arrowProps,
13
+ ref: forwardedRef,
14
+ width,
15
+ height,
16
+ viewBox: "0 0 30 10",
17
+ preserveAspectRatio: "none",
18
+ children: props.asChild ? children : /* @__PURE__ */ jsx("polygon", { points: "0,0 30,0 15,10" })
19
+ }
20
+ );
21
+ });
22
+ Arrow.displayName = NAME;
23
+ var Root = Arrow;
24
+
25
+ export { Arrow, Root };
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+ import ReactDOM__default from 'react-dom';
3
+ import { Primitive } from '../../../../../react-primitive/dist/index.js';
4
+ import { useLayoutEffect as useLayoutEffect2 } from '../../../../../../../../react-use-layout-effect/dist/index.js';
5
+ import { jsx } from 'react/jsx-runtime';
6
+
7
+ var PORTAL_NAME = "Portal";
8
+ var Portal = React.forwardRef((props, forwardedRef) => {
9
+ const { container: containerProp, ...portalProps } = props;
10
+ const [mounted, setMounted] = React.useState(false);
11
+ useLayoutEffect2(() => setMounted(true), []);
12
+ const container = containerProp || mounted && globalThis?.document?.body;
13
+ return container ? ReactDOM__default.createPortal(/* @__PURE__ */ jsx(Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;
14
+ });
15
+ Portal.displayName = PORTAL_NAME;
16
+
17
+ export { Portal };
@@ -0,0 +1,130 @@
1
+ import * as React from 'react';
2
+ import { useComposedRefs } from '../../../../../../../../react-compose-refs/dist/index.js';
3
+ import { useLayoutEffect as useLayoutEffect2 } from '../../../../../../../../react-use-layout-effect/dist/index.js';
4
+
5
+ function useStateMachine(initialState, machine) {
6
+ return React.useReducer((state, event) => {
7
+ const nextState = machine[state][event];
8
+ return nextState ?? state;
9
+ }, initialState);
10
+ }
11
+
12
+ // src/presence.tsx
13
+ var Presence = (props) => {
14
+ const { present, children } = props;
15
+ const presence = usePresence(present);
16
+ const child = typeof children === "function" ? children({ present: presence.isPresent }) : React.Children.only(children);
17
+ const ref = useComposedRefs(presence.ref, getElementRef(child));
18
+ const forceMount = typeof children === "function";
19
+ return forceMount || presence.isPresent ? React.cloneElement(child, { ref }) : null;
20
+ };
21
+ Presence.displayName = "Presence";
22
+ function usePresence(present) {
23
+ const [node, setNode] = React.useState();
24
+ const stylesRef = React.useRef(null);
25
+ const prevPresentRef = React.useRef(present);
26
+ const prevAnimationNameRef = React.useRef("none");
27
+ const initialState = present ? "mounted" : "unmounted";
28
+ const [state, send] = useStateMachine(initialState, {
29
+ mounted: {
30
+ UNMOUNT: "unmounted",
31
+ ANIMATION_OUT: "unmountSuspended"
32
+ },
33
+ unmountSuspended: {
34
+ MOUNT: "mounted",
35
+ ANIMATION_END: "unmounted"
36
+ },
37
+ unmounted: {
38
+ MOUNT: "mounted"
39
+ }
40
+ });
41
+ React.useEffect(() => {
42
+ const currentAnimationName = getAnimationName(stylesRef.current);
43
+ prevAnimationNameRef.current = state === "mounted" ? currentAnimationName : "none";
44
+ }, [state]);
45
+ useLayoutEffect2(() => {
46
+ const styles = stylesRef.current;
47
+ const wasPresent = prevPresentRef.current;
48
+ const hasPresentChanged = wasPresent !== present;
49
+ if (hasPresentChanged) {
50
+ const prevAnimationName = prevAnimationNameRef.current;
51
+ const currentAnimationName = getAnimationName(styles);
52
+ if (present) {
53
+ send("MOUNT");
54
+ } else if (currentAnimationName === "none" || styles?.display === "none") {
55
+ send("UNMOUNT");
56
+ } else {
57
+ const isAnimating = prevAnimationName !== currentAnimationName;
58
+ if (wasPresent && isAnimating) {
59
+ send("ANIMATION_OUT");
60
+ } else {
61
+ send("UNMOUNT");
62
+ }
63
+ }
64
+ prevPresentRef.current = present;
65
+ }
66
+ }, [present, send]);
67
+ useLayoutEffect2(() => {
68
+ if (node) {
69
+ let timeoutId;
70
+ const ownerWindow = node.ownerDocument.defaultView ?? window;
71
+ const handleAnimationEnd = (event) => {
72
+ const currentAnimationName = getAnimationName(stylesRef.current);
73
+ const isCurrentAnimation = currentAnimationName.includes(CSS.escape(event.animationName));
74
+ if (event.target === node && isCurrentAnimation) {
75
+ send("ANIMATION_END");
76
+ if (!prevPresentRef.current) {
77
+ const currentFillMode = node.style.animationFillMode;
78
+ node.style.animationFillMode = "forwards";
79
+ timeoutId = ownerWindow.setTimeout(() => {
80
+ if (node.style.animationFillMode === "forwards") {
81
+ node.style.animationFillMode = currentFillMode;
82
+ }
83
+ });
84
+ }
85
+ }
86
+ };
87
+ const handleAnimationStart = (event) => {
88
+ if (event.target === node) {
89
+ prevAnimationNameRef.current = getAnimationName(stylesRef.current);
90
+ }
91
+ };
92
+ node.addEventListener("animationstart", handleAnimationStart);
93
+ node.addEventListener("animationcancel", handleAnimationEnd);
94
+ node.addEventListener("animationend", handleAnimationEnd);
95
+ return () => {
96
+ ownerWindow.clearTimeout(timeoutId);
97
+ node.removeEventListener("animationstart", handleAnimationStart);
98
+ node.removeEventListener("animationcancel", handleAnimationEnd);
99
+ node.removeEventListener("animationend", handleAnimationEnd);
100
+ };
101
+ } else {
102
+ send("ANIMATION_END");
103
+ }
104
+ }, [node, send]);
105
+ return {
106
+ isPresent: ["mounted", "unmountSuspended"].includes(state),
107
+ ref: React.useCallback((node2) => {
108
+ stylesRef.current = node2 ? getComputedStyle(node2) : null;
109
+ setNode(node2);
110
+ }, [])
111
+ };
112
+ }
113
+ function getAnimationName(styles) {
114
+ return styles?.animationName || "none";
115
+ }
116
+ function getElementRef(element) {
117
+ let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
118
+ let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
119
+ if (mayWarn) {
120
+ return element.ref;
121
+ }
122
+ getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
123
+ mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
124
+ if (mayWarn) {
125
+ return element.props.ref;
126
+ }
127
+ return element.props.ref || element.ref;
128
+ }
129
+
130
+ export { Presence };
@@ -0,0 +1,223 @@
1
+ import * as React from 'react';
2
+ import { composeEventHandlers } from '../../../../../../../../primitive/dist/index.js';
3
+ import { createCollection } from '../../react-collection/dist/index.js';
4
+ import { useComposedRefs } from '../../../../../../../../react-compose-refs/dist/index.js';
5
+ import { createContextScope } from '../../../../../../../../react-context/dist/index.js';
6
+ import { useId } from '../../../../../../../../react-id/dist/index.js';
7
+ import { Primitive } from '../../../../../react-primitive/dist/index.js';
8
+ import { useCallbackRef } from '../../../../../../../../react-use-callback-ref/dist/index.js';
9
+ import { useControllableState } from '../../../../../../../../react-use-controllable-state/dist/index.js';
10
+ import { useDirection } from '../../../../../../../../react-direction/dist/index.js';
11
+ import { jsx } from 'react/jsx-runtime';
12
+
13
+ var ENTRY_FOCUS = "rovingFocusGroup.onEntryFocus";
14
+ var EVENT_OPTIONS = { bubbles: false, cancelable: true };
15
+ var GROUP_NAME = "RovingFocusGroup";
16
+ var [Collection, useCollection, createCollectionScope] = createCollection(GROUP_NAME);
17
+ var [createRovingFocusGroupContext, createRovingFocusGroupScope] = createContextScope(
18
+ GROUP_NAME,
19
+ [createCollectionScope]
20
+ );
21
+ var [RovingFocusProvider, useRovingFocusContext] = createRovingFocusGroupContext(GROUP_NAME);
22
+ var RovingFocusGroup = React.forwardRef(
23
+ (props, forwardedRef) => {
24
+ return /* @__PURE__ */ jsx(Collection.Provider, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(Collection.Slot, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(RovingFocusGroupImpl, { ...props, ref: forwardedRef }) }) });
25
+ }
26
+ );
27
+ RovingFocusGroup.displayName = GROUP_NAME;
28
+ var RovingFocusGroupImpl = React.forwardRef((props, forwardedRef) => {
29
+ const {
30
+ __scopeRovingFocusGroup,
31
+ orientation,
32
+ loop = false,
33
+ dir,
34
+ currentTabStopId: currentTabStopIdProp,
35
+ defaultCurrentTabStopId,
36
+ onCurrentTabStopIdChange,
37
+ onEntryFocus,
38
+ preventScrollOnEntryFocus = false,
39
+ ...groupProps
40
+ } = props;
41
+ const ref = React.useRef(null);
42
+ const composedRefs = useComposedRefs(forwardedRef, ref);
43
+ const direction = useDirection(dir);
44
+ const [currentTabStopId, setCurrentTabStopId] = useControllableState({
45
+ prop: currentTabStopIdProp,
46
+ defaultProp: defaultCurrentTabStopId ?? null,
47
+ onChange: onCurrentTabStopIdChange,
48
+ caller: GROUP_NAME
49
+ });
50
+ const [isTabbingBackOut, setIsTabbingBackOut] = React.useState(false);
51
+ const handleEntryFocus = useCallbackRef(onEntryFocus);
52
+ const getItems = useCollection(__scopeRovingFocusGroup);
53
+ const isClickFocusRef = React.useRef(false);
54
+ const [focusableItemsCount, setFocusableItemsCount] = React.useState(0);
55
+ React.useEffect(() => {
56
+ const node = ref.current;
57
+ if (node) {
58
+ node.addEventListener(ENTRY_FOCUS, handleEntryFocus);
59
+ return () => node.removeEventListener(ENTRY_FOCUS, handleEntryFocus);
60
+ }
61
+ }, [handleEntryFocus]);
62
+ return /* @__PURE__ */ jsx(
63
+ RovingFocusProvider,
64
+ {
65
+ scope: __scopeRovingFocusGroup,
66
+ orientation,
67
+ dir: direction,
68
+ loop,
69
+ currentTabStopId,
70
+ onItemFocus: React.useCallback(
71
+ (tabStopId) => setCurrentTabStopId(tabStopId),
72
+ [setCurrentTabStopId]
73
+ ),
74
+ onItemShiftTab: React.useCallback(() => setIsTabbingBackOut(true), []),
75
+ onFocusableItemAdd: React.useCallback(
76
+ () => setFocusableItemsCount((prevCount) => prevCount + 1),
77
+ []
78
+ ),
79
+ onFocusableItemRemove: React.useCallback(
80
+ () => setFocusableItemsCount((prevCount) => prevCount - 1),
81
+ []
82
+ ),
83
+ children: /* @__PURE__ */ jsx(
84
+ Primitive.div,
85
+ {
86
+ tabIndex: isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0,
87
+ "data-orientation": orientation,
88
+ ...groupProps,
89
+ ref: composedRefs,
90
+ style: { outline: "none", ...props.style },
91
+ onMouseDown: composeEventHandlers(props.onMouseDown, () => {
92
+ isClickFocusRef.current = true;
93
+ }),
94
+ onFocus: composeEventHandlers(props.onFocus, (event) => {
95
+ const isKeyboardFocus = !isClickFocusRef.current;
96
+ if (event.target === event.currentTarget && isKeyboardFocus && !isTabbingBackOut) {
97
+ const entryFocusEvent = new CustomEvent(ENTRY_FOCUS, EVENT_OPTIONS);
98
+ event.currentTarget.dispatchEvent(entryFocusEvent);
99
+ if (!entryFocusEvent.defaultPrevented) {
100
+ const items = getItems().filter((item) => item.focusable);
101
+ const activeItem = items.find((item) => item.active);
102
+ const currentItem = items.find((item) => item.id === currentTabStopId);
103
+ const candidateItems = [activeItem, currentItem, ...items].filter(
104
+ Boolean
105
+ );
106
+ const candidateNodes = candidateItems.map((item) => item.ref.current);
107
+ focusFirst(candidateNodes, preventScrollOnEntryFocus);
108
+ }
109
+ }
110
+ isClickFocusRef.current = false;
111
+ }),
112
+ onBlur: composeEventHandlers(props.onBlur, () => setIsTabbingBackOut(false))
113
+ }
114
+ )
115
+ }
116
+ );
117
+ });
118
+ var ITEM_NAME = "RovingFocusGroupItem";
119
+ var RovingFocusGroupItem = React.forwardRef(
120
+ (props, forwardedRef) => {
121
+ const {
122
+ __scopeRovingFocusGroup,
123
+ focusable = true,
124
+ active = false,
125
+ tabStopId,
126
+ children,
127
+ ...itemProps
128
+ } = props;
129
+ const autoId = useId();
130
+ const id = tabStopId || autoId;
131
+ const context = useRovingFocusContext(ITEM_NAME, __scopeRovingFocusGroup);
132
+ const isCurrentTabStop = context.currentTabStopId === id;
133
+ const getItems = useCollection(__scopeRovingFocusGroup);
134
+ const { onFocusableItemAdd, onFocusableItemRemove, currentTabStopId } = context;
135
+ React.useEffect(() => {
136
+ if (focusable) {
137
+ onFocusableItemAdd();
138
+ return () => onFocusableItemRemove();
139
+ }
140
+ }, [focusable, onFocusableItemAdd, onFocusableItemRemove]);
141
+ return /* @__PURE__ */ jsx(
142
+ Collection.ItemSlot,
143
+ {
144
+ scope: __scopeRovingFocusGroup,
145
+ id,
146
+ focusable,
147
+ active,
148
+ children: /* @__PURE__ */ jsx(
149
+ Primitive.span,
150
+ {
151
+ tabIndex: isCurrentTabStop ? 0 : -1,
152
+ "data-orientation": context.orientation,
153
+ ...itemProps,
154
+ ref: forwardedRef,
155
+ onMouseDown: composeEventHandlers(props.onMouseDown, (event) => {
156
+ if (!focusable) event.preventDefault();
157
+ else context.onItemFocus(id);
158
+ }),
159
+ onFocus: composeEventHandlers(props.onFocus, () => context.onItemFocus(id)),
160
+ onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {
161
+ if (event.key === "Tab" && event.shiftKey) {
162
+ context.onItemShiftTab();
163
+ return;
164
+ }
165
+ if (event.target !== event.currentTarget) return;
166
+ const focusIntent = getFocusIntent(event, context.orientation, context.dir);
167
+ if (focusIntent !== void 0) {
168
+ if (event.metaKey || event.ctrlKey || event.altKey || event.shiftKey) return;
169
+ event.preventDefault();
170
+ const items = getItems().filter((item) => item.focusable);
171
+ let candidateNodes = items.map((item) => item.ref.current);
172
+ if (focusIntent === "last") candidateNodes.reverse();
173
+ else if (focusIntent === "prev" || focusIntent === "next") {
174
+ if (focusIntent === "prev") candidateNodes.reverse();
175
+ const currentIndex = candidateNodes.indexOf(event.currentTarget);
176
+ candidateNodes = context.loop ? wrapArray(candidateNodes, currentIndex + 1) : candidateNodes.slice(currentIndex + 1);
177
+ }
178
+ setTimeout(() => focusFirst(candidateNodes));
179
+ }
180
+ }),
181
+ children: typeof children === "function" ? children({ isCurrentTabStop, hasTabStop: currentTabStopId != null }) : children
182
+ }
183
+ )
184
+ }
185
+ );
186
+ }
187
+ );
188
+ RovingFocusGroupItem.displayName = ITEM_NAME;
189
+ var MAP_KEY_TO_FOCUS_INTENT = {
190
+ ArrowLeft: "prev",
191
+ ArrowUp: "prev",
192
+ ArrowRight: "next",
193
+ ArrowDown: "next",
194
+ PageUp: "first",
195
+ Home: "first",
196
+ PageDown: "last",
197
+ End: "last"
198
+ };
199
+ function getDirectionAwareKey(key, dir) {
200
+ if (dir !== "rtl") return key;
201
+ return key === "ArrowLeft" ? "ArrowRight" : key === "ArrowRight" ? "ArrowLeft" : key;
202
+ }
203
+ function getFocusIntent(event, orientation, dir) {
204
+ const key = getDirectionAwareKey(event.key, dir);
205
+ if (orientation === "vertical" && ["ArrowLeft", "ArrowRight"].includes(key)) return void 0;
206
+ if (orientation === "horizontal" && ["ArrowUp", "ArrowDown"].includes(key)) return void 0;
207
+ return MAP_KEY_TO_FOCUS_INTENT[key];
208
+ }
209
+ function focusFirst(candidates, preventScroll = false) {
210
+ const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;
211
+ for (const candidate of candidates) {
212
+ if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;
213
+ candidate.focus({ preventScroll });
214
+ if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;
215
+ }
216
+ }
217
+ function wrapArray(array, startIndex) {
218
+ return array.map((_, index) => array[(startIndex + index) % array.length]);
219
+ }
220
+ var Root = RovingFocusGroup;
221
+ var Item = RovingFocusGroupItem;
222
+
223
+ export { Item, Root, RovingFocusGroup, RovingFocusGroupItem, createRovingFocusGroupScope };