infinity-forge 0.55.5 → 0.55.7

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 (468) hide show
  1. package/dist/infinity-forge.css +0 -1
  2. package/dist/system/domain/generics/table-configuration.d.ts +12 -10
  3. package/dist/system/presentation/components/data/input-search/index.js +5 -1
  4. package/dist/system/presentation/components/data/input-search/index.js.map +1 -1
  5. package/dist/system/presentation/components/data/input-search/styles.js +1 -1
  6. package/dist/system/presentation/components/data/input-search/styles.js.map +1 -1
  7. package/dist/system/presentation/components/pages/menus/page.js +3 -1
  8. package/dist/system/presentation/components/pages/menus/page.js.map +1 -1
  9. package/dist/system/presentation/components/pages/users/page.js +3 -1
  10. package/dist/system/presentation/components/pages/users/page.js.map +1 -1
  11. package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/index.d.ts +1 -0
  12. package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/index.js +49 -0
  13. package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/index.js.map +1 -0
  14. package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/styles.d.ts +4 -0
  15. package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/styles.js +14 -0
  16. package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/styles.js.map +1 -0
  17. package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.d.ts +2 -4
  18. package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.js +9 -3
  19. package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.js.map +1 -1
  20. package/dist/system/presentation/hooks/ui/use-table/components/table/index.d.ts +1 -1
  21. package/dist/system/presentation/hooks/ui/use-table/components/table/index.js +8 -6
  22. package/dist/system/presentation/hooks/ui/use-table/components/table/index.js.map +1 -1
  23. package/dist/system/presentation/hooks/ui/use-table/interfaces.d.ts +9 -3
  24. package/dist/system/presentation/hooks/ui/use-table/query/get-query-arguments-table.js +3 -2
  25. package/dist/system/presentation/hooks/ui/use-table/query/get-query-arguments-table.js.map +1 -1
  26. package/dist/system/presentation/hooks/ui/use-table/query/hook.js +8 -8
  27. package/dist/system/presentation/hooks/ui/use-table/query/hook.js.map +1 -1
  28. package/dist/test/index.d.ts +2 -0
  29. package/dist/test/index.js +120 -0
  30. package/dist/test/index.js.map +1 -0
  31. package/dist/test/sobre.d.ts +1 -0
  32. package/dist/test/sobre.js +10 -0
  33. package/dist/test/sobre.js.map +1 -0
  34. package/dist/ui/components/carousel/carousel-lib/components-shared/get-changed-params.js.map +1 -0
  35. package/dist/ui/components/carousel/carousel-lib/components-shared/get-element-params.js.map +1 -0
  36. package/dist/ui/components/carousel/carousel-lib/components-shared/get-params.js.map +1 -0
  37. package/dist/ui/components/carousel/carousel-lib/components-shared/mount-swiper.js.map +1 -0
  38. package/dist/ui/components/carousel/carousel-lib/components-shared/params-list.js.map +1 -0
  39. package/dist/ui/components/carousel/carousel-lib/components-shared/update-on-virtual-data.js.map +1 -0
  40. package/dist/ui/components/carousel/carousel-lib/components-shared/update-swiper.js.map +1 -0
  41. package/dist/ui/components/carousel/carousel-lib/components-shared/utils.js.map +1 -0
  42. package/dist/ui/components/carousel/carousel-lib/core/breakpoints/getBreakpoint.js.map +1 -0
  43. package/dist/ui/components/carousel/carousel-lib/core/breakpoints/index.js.map +1 -0
  44. package/dist/ui/components/carousel/carousel-lib/core/breakpoints/setBreakpoint.js.map +1 -0
  45. package/dist/ui/components/carousel/carousel-lib/core/check-overflow/index.js.map +1 -0
  46. package/dist/ui/components/carousel/carousel-lib/core/classes/addClasses.js.map +1 -0
  47. package/dist/ui/components/carousel/carousel-lib/core/classes/index.js.map +1 -0
  48. package/dist/ui/components/carousel/carousel-lib/core/classes/removeClasses.js.map +1 -0
  49. package/dist/ui/components/carousel/carousel-lib/core/core.js.map +1 -0
  50. package/dist/ui/components/carousel/carousel-lib/core/defaults.js.map +1 -0
  51. package/dist/ui/components/carousel/carousel-lib/core/events/index.js.map +1 -0
  52. package/dist/ui/components/carousel/carousel-lib/core/events/onClick.js.map +1 -0
  53. package/dist/ui/components/carousel/carousel-lib/core/events/onDocumentTouchStart.js.map +1 -0
  54. package/dist/ui/components/carousel/carousel-lib/core/events/onLoad.js.map +1 -0
  55. package/dist/ui/components/carousel/carousel-lib/core/events/onResize.js.map +1 -0
  56. package/dist/ui/components/carousel/carousel-lib/core/events/onScroll.js.map +1 -0
  57. package/dist/ui/components/carousel/carousel-lib/core/events/onTouchEnd.js.map +1 -0
  58. package/dist/ui/components/carousel/carousel-lib/core/events/onTouchMove.js.map +1 -0
  59. package/dist/ui/components/carousel/carousel-lib/core/events/onTouchStart.js.map +1 -0
  60. package/dist/ui/components/carousel/carousel-lib/core/events-emitter.js.map +1 -0
  61. package/dist/ui/components/carousel/carousel-lib/core/grab-cursor/index.js.map +1 -0
  62. package/dist/ui/components/carousel/carousel-lib/core/grab-cursor/setGrabCursor.js.map +1 -0
  63. package/dist/ui/components/carousel/carousel-lib/core/grab-cursor/unsetGrabCursor.js.map +1 -0
  64. package/dist/ui/components/carousel/carousel-lib/core/loop/index.js.map +1 -0
  65. package/dist/ui/components/carousel/carousel-lib/core/loop/loopCreate.js.map +1 -0
  66. package/dist/ui/components/carousel/carousel-lib/core/loop/loopDestroy.js.map +1 -0
  67. package/dist/ui/components/carousel/carousel-lib/core/loop/loopFix.js.map +1 -0
  68. package/dist/ui/components/carousel/carousel-lib/core/moduleExtendParams.js.map +1 -0
  69. package/dist/ui/components/carousel/carousel-lib/core/modules/observer/observer.js.map +1 -0
  70. package/dist/ui/components/carousel/carousel-lib/core/modules/resize/resize.js.map +1 -0
  71. package/dist/ui/components/carousel/carousel-lib/core/slide/index.js.map +1 -0
  72. package/dist/ui/components/carousel/carousel-lib/core/slide/slideNext.js.map +1 -0
  73. package/dist/ui/components/carousel/carousel-lib/core/slide/slidePrev.js.map +1 -0
  74. package/dist/ui/components/carousel/carousel-lib/core/slide/slideReset.js.map +1 -0
  75. package/dist/ui/components/carousel/carousel-lib/core/slide/slideTo.js.map +1 -0
  76. package/dist/ui/components/carousel/carousel-lib/core/slide/slideToClickedSlide.js.map +1 -0
  77. package/dist/ui/components/carousel/carousel-lib/core/slide/slideToClosest.js.map +1 -0
  78. package/dist/ui/components/carousel/carousel-lib/core/slide/slideToLoop.js.map +1 -0
  79. package/dist/ui/components/carousel/carousel-lib/core/transition/index.js.map +1 -0
  80. package/dist/ui/components/carousel/carousel-lib/core/transition/setTransition.js.map +1 -0
  81. package/dist/ui/components/carousel/carousel-lib/core/transition/transitionEmit.js.map +1 -0
  82. package/dist/ui/components/carousel/carousel-lib/core/transition/transitionEnd.js.map +1 -0
  83. package/dist/ui/components/carousel/carousel-lib/core/transition/transitionStart.js.map +1 -0
  84. package/dist/ui/components/carousel/carousel-lib/core/translate/getTranslate.js.map +1 -0
  85. package/dist/ui/components/carousel/carousel-lib/core/translate/index.js.map +1 -0
  86. package/dist/ui/components/carousel/carousel-lib/core/translate/maxTranslate.js.map +1 -0
  87. package/dist/ui/components/carousel/carousel-lib/core/translate/minTranslate.js.map +1 -0
  88. package/dist/ui/components/carousel/carousel-lib/core/translate/setTranslate.js.map +1 -0
  89. package/dist/ui/components/carousel/carousel-lib/core/translate/translateTo.js.map +1 -0
  90. package/dist/ui/components/carousel/carousel-lib/core/update/index.js.map +1 -0
  91. package/dist/ui/components/carousel/carousel-lib/core/update/updateActiveIndex.js.map +1 -0
  92. package/dist/ui/components/carousel/carousel-lib/core/update/updateAutoHeight.js.map +1 -0
  93. package/dist/ui/components/carousel/carousel-lib/core/update/updateClickedSlide.js.map +1 -0
  94. package/dist/ui/components/carousel/carousel-lib/core/update/updateProgress.js.map +1 -0
  95. package/dist/ui/components/carousel/carousel-lib/core/update/updateSize.js.map +1 -0
  96. package/dist/ui/components/carousel/carousel-lib/core/update/updateSlides.js.map +1 -0
  97. package/dist/ui/components/carousel/carousel-lib/core/update/updateSlidesClasses.js.map +1 -0
  98. package/dist/ui/components/carousel/carousel-lib/core/update/updateSlidesOffset.js.map +1 -0
  99. package/dist/ui/components/carousel/carousel-lib/core/update/updateSlidesProgress.js.map +1 -0
  100. package/dist/ui/components/carousel/carousel-lib/modules/autoplay.js.map +1 -0
  101. package/dist/ui/components/carousel/carousel-lib/modules/effect-fade.js.map +1 -0
  102. package/dist/ui/components/carousel/carousel-lib/modules/free-mode.js.map +1 -0
  103. package/dist/ui/components/carousel/carousel-lib/modules/index.js.map +1 -0
  104. package/dist/ui/components/carousel/carousel-lib/modules/navigation.js.map +1 -0
  105. package/dist/ui/components/carousel/carousel-lib/modules/pagination.js.map +1 -0
  106. package/dist/ui/components/carousel/carousel-lib/modules/virtual.js.map +1 -0
  107. package/dist/ui/components/carousel/carousel-lib/react/context.js.map +1 -0
  108. package/dist/ui/components/carousel/carousel-lib/react/get-children.js.map +1 -0
  109. package/dist/ui/components/carousel/carousel-lib/react/swiper-slide.js.map +1 -0
  110. package/dist/ui/components/carousel/carousel-lib/react/swiper.js.map +1 -0
  111. package/dist/ui/components/carousel/carousel-lib/react/use-isomorphic-layout-effect.js.map +1 -0
  112. package/dist/ui/components/carousel/carousel-lib/react/virtual.js.map +1 -0
  113. package/dist/ui/components/carousel/carousel-lib/shared/classes-to-selector.js.map +1 -0
  114. package/dist/ui/components/carousel/carousel-lib/shared/classes-to-tokens.js.map +1 -0
  115. package/dist/ui/components/carousel/carousel-lib/shared/create-element-if-not-defined.js.map +1 -0
  116. package/dist/ui/components/carousel/carousel-lib/shared/create-shadow.js.map +1 -0
  117. package/dist/ui/components/carousel/carousel-lib/shared/effect-init.js.map +1 -0
  118. package/dist/ui/components/carousel/carousel-lib/shared/effect-target.js.map +1 -0
  119. package/dist/ui/components/carousel/carousel-lib/shared/effect-virtual-transition-end.js.map +1 -0
  120. package/dist/ui/components/carousel/carousel-lib/shared/get-browser.js.map +1 -0
  121. package/dist/ui/components/carousel/carousel-lib/shared/get-device.js.map +1 -0
  122. package/dist/ui/components/carousel/carousel-lib/shared/get-support.js.map +1 -0
  123. package/dist/ui/components/carousel/carousel-lib/shared/process-lazy-preloader.js.map +1 -0
  124. package/dist/ui/components/carousel/carousel-lib/shared/utils.js.map +1 -0
  125. package/dist/ui/components/carousel/carousel-lib/ssr-window/document.js.map +1 -0
  126. package/dist/ui/components/carousel/carousel-lib/ssr-window/extend.js.map +1 -0
  127. package/dist/ui/components/carousel/carousel-lib/ssr-window/ssr-window.js.map +1 -0
  128. package/dist/ui/components/carousel/carousel-lib/ssr-window/window.js.map +1 -0
  129. package/dist/ui/components/carousel/carousel-lib/swiper-bundle.js.map +1 -0
  130. package/dist/ui/components/carousel/carousel-lib/swiper-effect-utils.js.map +1 -0
  131. package/dist/ui/components/carousel/carousel-lib/swiper-react.js.map +1 -0
  132. package/dist/ui/components/carousel/carousel-lib/swiper.js.map +1 -0
  133. package/dist/ui/components/carousel/carousel-lib/types/index.js.map +1 -0
  134. package/dist/ui/components/carousel/carousel-lib/types/shared.js.map +1 -0
  135. package/dist/ui/components/carousel/carousel-lib/types/swiper-class.js.map +1 -0
  136. package/dist/ui/components/carousel/carousel-lib/types/swiper-events.js.map +1 -0
  137. package/dist/ui/components/carousel/carousel-lib/types/swiper-options.js.map +1 -0
  138. package/dist/ui/components/carousel/index.js +3 -3
  139. package/dist/ui/components/carousel/index.js.map +1 -1
  140. package/dist/ui/components/carousel/interfaces.d.ts +1 -1
  141. package/dist/ui/components/form/input-control/styles.js +1 -1
  142. package/dist/ui/components/form/select/index.js +6 -2
  143. package/dist/ui/components/form/select/index.js.map +1 -1
  144. package/dist/ui/components/form/select/script/index.d.ts +0 -0
  145. package/dist/ui/components/form/select/script/index.js +1 -0
  146. package/dist/ui/components/form/select/script/index.js.map +1 -0
  147. package/dist/ui/hooks/use-query/hook.d.ts +1 -1
  148. package/dist/ui/hooks/use-query/hook.js +44 -41
  149. package/dist/ui/hooks/use-query/hook.js.map +1 -1
  150. package/dist/ui/hooks/use-query/interfaces.d.ts +3 -1
  151. package/dist/ui/hooks/use-query/store.js +65 -0
  152. package/dist/ui/hooks/use-query/store.js.map +1 -1
  153. package/dist/ui/styles/reset.css +23 -26
  154. package/package.json +88 -88
  155. package/dist/slick-carousel.css +0 -1
  156. package/dist/ui/components/carousel/swiper/components-shared/get-changed-params.js.map +0 -1
  157. package/dist/ui/components/carousel/swiper/components-shared/get-element-params.js.map +0 -1
  158. package/dist/ui/components/carousel/swiper/components-shared/get-params.js.map +0 -1
  159. package/dist/ui/components/carousel/swiper/components-shared/mount-swiper.js.map +0 -1
  160. package/dist/ui/components/carousel/swiper/components-shared/params-list.js.map +0 -1
  161. package/dist/ui/components/carousel/swiper/components-shared/update-on-virtual-data.js.map +0 -1
  162. package/dist/ui/components/carousel/swiper/components-shared/update-swiper.js.map +0 -1
  163. package/dist/ui/components/carousel/swiper/components-shared/utils.js.map +0 -1
  164. package/dist/ui/components/carousel/swiper/core/breakpoints/getBreakpoint.js.map +0 -1
  165. package/dist/ui/components/carousel/swiper/core/breakpoints/index.js.map +0 -1
  166. package/dist/ui/components/carousel/swiper/core/breakpoints/setBreakpoint.js.map +0 -1
  167. package/dist/ui/components/carousel/swiper/core/check-overflow/index.js.map +0 -1
  168. package/dist/ui/components/carousel/swiper/core/classes/addClasses.js.map +0 -1
  169. package/dist/ui/components/carousel/swiper/core/classes/index.js.map +0 -1
  170. package/dist/ui/components/carousel/swiper/core/classes/removeClasses.js.map +0 -1
  171. package/dist/ui/components/carousel/swiper/core/core.js.map +0 -1
  172. package/dist/ui/components/carousel/swiper/core/defaults.js.map +0 -1
  173. package/dist/ui/components/carousel/swiper/core/events/index.js.map +0 -1
  174. package/dist/ui/components/carousel/swiper/core/events/onClick.js.map +0 -1
  175. package/dist/ui/components/carousel/swiper/core/events/onDocumentTouchStart.js.map +0 -1
  176. package/dist/ui/components/carousel/swiper/core/events/onLoad.js.map +0 -1
  177. package/dist/ui/components/carousel/swiper/core/events/onResize.js.map +0 -1
  178. package/dist/ui/components/carousel/swiper/core/events/onScroll.js.map +0 -1
  179. package/dist/ui/components/carousel/swiper/core/events/onTouchEnd.js.map +0 -1
  180. package/dist/ui/components/carousel/swiper/core/events/onTouchMove.js.map +0 -1
  181. package/dist/ui/components/carousel/swiper/core/events/onTouchStart.js.map +0 -1
  182. package/dist/ui/components/carousel/swiper/core/events-emitter.js.map +0 -1
  183. package/dist/ui/components/carousel/swiper/core/grab-cursor/index.js.map +0 -1
  184. package/dist/ui/components/carousel/swiper/core/grab-cursor/setGrabCursor.js.map +0 -1
  185. package/dist/ui/components/carousel/swiper/core/grab-cursor/unsetGrabCursor.js.map +0 -1
  186. package/dist/ui/components/carousel/swiper/core/loop/index.js.map +0 -1
  187. package/dist/ui/components/carousel/swiper/core/loop/loopCreate.js.map +0 -1
  188. package/dist/ui/components/carousel/swiper/core/loop/loopDestroy.js.map +0 -1
  189. package/dist/ui/components/carousel/swiper/core/loop/loopFix.js.map +0 -1
  190. package/dist/ui/components/carousel/swiper/core/moduleExtendParams.js.map +0 -1
  191. package/dist/ui/components/carousel/swiper/core/modules/observer/observer.js.map +0 -1
  192. package/dist/ui/components/carousel/swiper/core/modules/resize/resize.js.map +0 -1
  193. package/dist/ui/components/carousel/swiper/core/slide/index.js.map +0 -1
  194. package/dist/ui/components/carousel/swiper/core/slide/slideNext.js.map +0 -1
  195. package/dist/ui/components/carousel/swiper/core/slide/slidePrev.js.map +0 -1
  196. package/dist/ui/components/carousel/swiper/core/slide/slideReset.js.map +0 -1
  197. package/dist/ui/components/carousel/swiper/core/slide/slideTo.js.map +0 -1
  198. package/dist/ui/components/carousel/swiper/core/slide/slideToClickedSlide.js.map +0 -1
  199. package/dist/ui/components/carousel/swiper/core/slide/slideToClosest.js.map +0 -1
  200. package/dist/ui/components/carousel/swiper/core/slide/slideToLoop.js.map +0 -1
  201. package/dist/ui/components/carousel/swiper/core/transition/index.js.map +0 -1
  202. package/dist/ui/components/carousel/swiper/core/transition/setTransition.js.map +0 -1
  203. package/dist/ui/components/carousel/swiper/core/transition/transitionEmit.js.map +0 -1
  204. package/dist/ui/components/carousel/swiper/core/transition/transitionEnd.js.map +0 -1
  205. package/dist/ui/components/carousel/swiper/core/transition/transitionStart.js.map +0 -1
  206. package/dist/ui/components/carousel/swiper/core/translate/getTranslate.js.map +0 -1
  207. package/dist/ui/components/carousel/swiper/core/translate/index.js.map +0 -1
  208. package/dist/ui/components/carousel/swiper/core/translate/maxTranslate.js.map +0 -1
  209. package/dist/ui/components/carousel/swiper/core/translate/minTranslate.js.map +0 -1
  210. package/dist/ui/components/carousel/swiper/core/translate/setTranslate.js.map +0 -1
  211. package/dist/ui/components/carousel/swiper/core/translate/translateTo.js.map +0 -1
  212. package/dist/ui/components/carousel/swiper/core/update/index.js.map +0 -1
  213. package/dist/ui/components/carousel/swiper/core/update/updateActiveIndex.js.map +0 -1
  214. package/dist/ui/components/carousel/swiper/core/update/updateAutoHeight.js.map +0 -1
  215. package/dist/ui/components/carousel/swiper/core/update/updateClickedSlide.js.map +0 -1
  216. package/dist/ui/components/carousel/swiper/core/update/updateProgress.js.map +0 -1
  217. package/dist/ui/components/carousel/swiper/core/update/updateSize.js.map +0 -1
  218. package/dist/ui/components/carousel/swiper/core/update/updateSlides.js.map +0 -1
  219. package/dist/ui/components/carousel/swiper/core/update/updateSlidesClasses.js.map +0 -1
  220. package/dist/ui/components/carousel/swiper/core/update/updateSlidesOffset.js.map +0 -1
  221. package/dist/ui/components/carousel/swiper/core/update/updateSlidesProgress.js.map +0 -1
  222. package/dist/ui/components/carousel/swiper/modules/autoplay.js.map +0 -1
  223. package/dist/ui/components/carousel/swiper/modules/effect-fade.js.map +0 -1
  224. package/dist/ui/components/carousel/swiper/modules/free-mode.js.map +0 -1
  225. package/dist/ui/components/carousel/swiper/modules/index.js.map +0 -1
  226. package/dist/ui/components/carousel/swiper/modules/navigation.js.map +0 -1
  227. package/dist/ui/components/carousel/swiper/modules/pagination.js.map +0 -1
  228. package/dist/ui/components/carousel/swiper/modules/virtual.js.map +0 -1
  229. package/dist/ui/components/carousel/swiper/react/context.js.map +0 -1
  230. package/dist/ui/components/carousel/swiper/react/get-children.js.map +0 -1
  231. package/dist/ui/components/carousel/swiper/react/swiper-slide.js.map +0 -1
  232. package/dist/ui/components/carousel/swiper/react/swiper.js.map +0 -1
  233. package/dist/ui/components/carousel/swiper/react/use-isomorphic-layout-effect.js.map +0 -1
  234. package/dist/ui/components/carousel/swiper/react/virtual.js.map +0 -1
  235. package/dist/ui/components/carousel/swiper/shared/classes-to-selector.js.map +0 -1
  236. package/dist/ui/components/carousel/swiper/shared/classes-to-tokens.js.map +0 -1
  237. package/dist/ui/components/carousel/swiper/shared/create-element-if-not-defined.js.map +0 -1
  238. package/dist/ui/components/carousel/swiper/shared/create-shadow.js.map +0 -1
  239. package/dist/ui/components/carousel/swiper/shared/effect-init.js.map +0 -1
  240. package/dist/ui/components/carousel/swiper/shared/effect-target.js.map +0 -1
  241. package/dist/ui/components/carousel/swiper/shared/effect-virtual-transition-end.js.map +0 -1
  242. package/dist/ui/components/carousel/swiper/shared/get-browser.js.map +0 -1
  243. package/dist/ui/components/carousel/swiper/shared/get-device.js.map +0 -1
  244. package/dist/ui/components/carousel/swiper/shared/get-support.js.map +0 -1
  245. package/dist/ui/components/carousel/swiper/shared/process-lazy-preloader.js.map +0 -1
  246. package/dist/ui/components/carousel/swiper/shared/utils.js.map +0 -1
  247. package/dist/ui/components/carousel/swiper/ssr-window/document.js.map +0 -1
  248. package/dist/ui/components/carousel/swiper/ssr-window/extend.js.map +0 -1
  249. package/dist/ui/components/carousel/swiper/ssr-window/ssr-window.js.map +0 -1
  250. package/dist/ui/components/carousel/swiper/ssr-window/window.js.map +0 -1
  251. package/dist/ui/components/carousel/swiper/swiper-bundle.js.map +0 -1
  252. package/dist/ui/components/carousel/swiper/swiper-effect-utils.js.map +0 -1
  253. package/dist/ui/components/carousel/swiper/swiper-react.js.map +0 -1
  254. package/dist/ui/components/carousel/swiper/swiper.js.map +0 -1
  255. package/dist/ui/components/carousel/swiper/types/index.js.map +0 -1
  256. package/dist/ui/components/carousel/swiper/types/shared.js.map +0 -1
  257. package/dist/ui/components/carousel/swiper/types/swiper-class.js.map +0 -1
  258. package/dist/ui/components/carousel/swiper/types/swiper-events.js.map +0 -1
  259. package/dist/ui/components/carousel/swiper/types/swiper-options.js.map +0 -1
  260. package/dist/ui/styles/libs/slick-carousel.css +0 -305
  261. /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/get-changed-params.d.ts +0 -0
  262. /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/get-changed-params.js +0 -0
  263. /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/get-element-params.d.ts +0 -0
  264. /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/get-element-params.js +0 -0
  265. /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/get-params.d.ts +0 -0
  266. /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/get-params.js +0 -0
  267. /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/mount-swiper.d.ts +0 -0
  268. /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/mount-swiper.js +0 -0
  269. /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/params-list.d.ts +0 -0
  270. /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/params-list.js +0 -0
  271. /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/update-on-virtual-data.d.ts +0 -0
  272. /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/update-on-virtual-data.js +0 -0
  273. /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/update-swiper.d.ts +0 -0
  274. /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/update-swiper.js +0 -0
  275. /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/utils.d.ts +0 -0
  276. /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/utils.js +0 -0
  277. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/breakpoints/getBreakpoint.d.ts +0 -0
  278. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/breakpoints/getBreakpoint.js +0 -0
  279. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/breakpoints/index.d.ts +0 -0
  280. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/breakpoints/index.js +0 -0
  281. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/breakpoints/setBreakpoint.d.ts +0 -0
  282. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/breakpoints/setBreakpoint.js +0 -0
  283. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/check-overflow/index.d.ts +0 -0
  284. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/check-overflow/index.js +0 -0
  285. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/classes/addClasses.d.ts +0 -0
  286. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/classes/addClasses.js +0 -0
  287. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/classes/index.d.ts +0 -0
  288. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/classes/index.js +0 -0
  289. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/classes/removeClasses.d.ts +0 -0
  290. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/classes/removeClasses.js +0 -0
  291. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/core.d.ts +0 -0
  292. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/core.js +0 -0
  293. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/defaults.d.ts +0 -0
  294. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/defaults.js +0 -0
  295. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/index.d.ts +0 -0
  296. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/index.js +0 -0
  297. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onClick.d.ts +0 -0
  298. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onClick.js +0 -0
  299. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onDocumentTouchStart.d.ts +0 -0
  300. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onDocumentTouchStart.js +0 -0
  301. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onLoad.d.ts +0 -0
  302. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onLoad.js +0 -0
  303. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onResize.d.ts +0 -0
  304. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onResize.js +0 -0
  305. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onScroll.d.ts +0 -0
  306. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onScroll.js +0 -0
  307. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onTouchEnd.d.ts +0 -0
  308. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onTouchEnd.js +0 -0
  309. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onTouchMove.d.ts +0 -0
  310. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onTouchMove.js +0 -0
  311. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onTouchStart.d.ts +0 -0
  312. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onTouchStart.js +0 -0
  313. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events-emitter.d.ts +0 -0
  314. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events-emitter.js +0 -0
  315. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/grab-cursor/index.d.ts +0 -0
  316. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/grab-cursor/index.js +0 -0
  317. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/grab-cursor/setGrabCursor.d.ts +0 -0
  318. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/grab-cursor/setGrabCursor.js +0 -0
  319. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/grab-cursor/unsetGrabCursor.d.ts +0 -0
  320. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/grab-cursor/unsetGrabCursor.js +0 -0
  321. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/loop/index.d.ts +0 -0
  322. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/loop/index.js +0 -0
  323. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/loop/loopCreate.d.ts +0 -0
  324. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/loop/loopCreate.js +0 -0
  325. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/loop/loopDestroy.d.ts +0 -0
  326. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/loop/loopDestroy.js +0 -0
  327. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/loop/loopFix.d.ts +0 -0
  328. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/loop/loopFix.js +0 -0
  329. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/moduleExtendParams.d.ts +0 -0
  330. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/moduleExtendParams.js +0 -0
  331. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/modules/observer/observer.d.ts +0 -0
  332. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/modules/observer/observer.js +0 -0
  333. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/modules/resize/resize.d.ts +0 -0
  334. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/modules/resize/resize.js +0 -0
  335. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/index.d.ts +0 -0
  336. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/index.js +0 -0
  337. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slideNext.d.ts +0 -0
  338. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slideNext.js +0 -0
  339. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slidePrev.d.ts +0 -0
  340. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slidePrev.js +0 -0
  341. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slideReset.d.ts +0 -0
  342. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slideReset.js +0 -0
  343. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slideTo.d.ts +0 -0
  344. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slideTo.js +0 -0
  345. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slideToClickedSlide.d.ts +0 -0
  346. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slideToClickedSlide.js +0 -0
  347. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slideToClosest.d.ts +0 -0
  348. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slideToClosest.js +0 -0
  349. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slideToLoop.d.ts +0 -0
  350. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slideToLoop.js +0 -0
  351. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/transition/index.d.ts +0 -0
  352. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/transition/index.js +0 -0
  353. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/transition/setTransition.d.ts +0 -0
  354. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/transition/setTransition.js +0 -0
  355. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/transition/transitionEmit.d.ts +0 -0
  356. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/transition/transitionEmit.js +0 -0
  357. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/transition/transitionEnd.d.ts +0 -0
  358. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/transition/transitionEnd.js +0 -0
  359. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/transition/transitionStart.d.ts +0 -0
  360. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/transition/transitionStart.js +0 -0
  361. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/translate/getTranslate.d.ts +0 -0
  362. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/translate/getTranslate.js +0 -0
  363. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/translate/index.d.ts +0 -0
  364. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/translate/index.js +0 -0
  365. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/translate/maxTranslate.d.ts +0 -0
  366. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/translate/maxTranslate.js +0 -0
  367. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/translate/minTranslate.d.ts +0 -0
  368. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/translate/minTranslate.js +0 -0
  369. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/translate/setTranslate.d.ts +0 -0
  370. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/translate/setTranslate.js +0 -0
  371. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/translate/translateTo.d.ts +0 -0
  372. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/translate/translateTo.js +0 -0
  373. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/index.d.ts +0 -0
  374. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/index.js +0 -0
  375. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateActiveIndex.d.ts +0 -0
  376. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateActiveIndex.js +0 -0
  377. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateAutoHeight.d.ts +0 -0
  378. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateAutoHeight.js +0 -0
  379. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateClickedSlide.d.ts +0 -0
  380. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateClickedSlide.js +0 -0
  381. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateProgress.d.ts +0 -0
  382. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateProgress.js +0 -0
  383. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateSize.d.ts +0 -0
  384. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateSize.js +0 -0
  385. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateSlides.d.ts +0 -0
  386. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateSlides.js +0 -0
  387. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateSlidesClasses.d.ts +0 -0
  388. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateSlidesClasses.js +0 -0
  389. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateSlidesOffset.d.ts +0 -0
  390. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateSlidesOffset.js +0 -0
  391. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateSlidesProgress.d.ts +0 -0
  392. /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateSlidesProgress.js +0 -0
  393. /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/autoplay.d.ts +0 -0
  394. /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/autoplay.js +0 -0
  395. /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/effect-fade.d.ts +0 -0
  396. /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/effect-fade.js +0 -0
  397. /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/free-mode.d.ts +0 -0
  398. /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/free-mode.js +0 -0
  399. /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/index.d.ts +0 -0
  400. /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/index.js +0 -0
  401. /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/navigation.d.ts +0 -0
  402. /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/navigation.js +0 -0
  403. /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/pagination.d.ts +0 -0
  404. /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/pagination.js +0 -0
  405. /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/virtual.d.ts +0 -0
  406. /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/virtual.js +0 -0
  407. /package/dist/ui/components/carousel/{swiper → carousel-lib}/react/context.d.ts +0 -0
  408. /package/dist/ui/components/carousel/{swiper → carousel-lib}/react/context.js +0 -0
  409. /package/dist/ui/components/carousel/{swiper → carousel-lib}/react/get-children.d.ts +0 -0
  410. /package/dist/ui/components/carousel/{swiper → carousel-lib}/react/get-children.js +0 -0
  411. /package/dist/ui/components/carousel/{swiper → carousel-lib}/react/swiper-slide.d.ts +0 -0
  412. /package/dist/ui/components/carousel/{swiper → carousel-lib}/react/swiper-slide.js +0 -0
  413. /package/dist/ui/components/carousel/{swiper → carousel-lib}/react/swiper.d.ts +0 -0
  414. /package/dist/ui/components/carousel/{swiper → carousel-lib}/react/swiper.js +0 -0
  415. /package/dist/ui/components/carousel/{swiper → carousel-lib}/react/use-isomorphic-layout-effect.d.ts +0 -0
  416. /package/dist/ui/components/carousel/{swiper → carousel-lib}/react/use-isomorphic-layout-effect.js +0 -0
  417. /package/dist/ui/components/carousel/{swiper → carousel-lib}/react/virtual.d.ts +0 -0
  418. /package/dist/ui/components/carousel/{swiper → carousel-lib}/react/virtual.js +0 -0
  419. /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/classes-to-selector.d.ts +0 -0
  420. /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/classes-to-selector.js +0 -0
  421. /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/classes-to-tokens.d.ts +0 -0
  422. /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/classes-to-tokens.js +0 -0
  423. /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/create-element-if-not-defined.d.ts +0 -0
  424. /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/create-element-if-not-defined.js +0 -0
  425. /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/create-shadow.d.ts +0 -0
  426. /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/create-shadow.js +0 -0
  427. /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/effect-init.d.ts +0 -0
  428. /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/effect-init.js +0 -0
  429. /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/effect-target.d.ts +0 -0
  430. /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/effect-target.js +0 -0
  431. /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/effect-virtual-transition-end.d.ts +0 -0
  432. /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/effect-virtual-transition-end.js +0 -0
  433. /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/get-browser.d.ts +0 -0
  434. /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/get-browser.js +0 -0
  435. /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/get-device.d.ts +0 -0
  436. /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/get-device.js +0 -0
  437. /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/get-support.d.ts +0 -0
  438. /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/get-support.js +0 -0
  439. /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/process-lazy-preloader.d.ts +0 -0
  440. /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/process-lazy-preloader.js +0 -0
  441. /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/utils.d.ts +0 -0
  442. /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/utils.js +0 -0
  443. /package/dist/ui/components/carousel/{swiper → carousel-lib}/ssr-window/document.d.ts +0 -0
  444. /package/dist/ui/components/carousel/{swiper → carousel-lib}/ssr-window/document.js +0 -0
  445. /package/dist/ui/components/carousel/{swiper → carousel-lib}/ssr-window/extend.d.ts +0 -0
  446. /package/dist/ui/components/carousel/{swiper → carousel-lib}/ssr-window/extend.js +0 -0
  447. /package/dist/ui/components/carousel/{swiper → carousel-lib}/ssr-window/ssr-window.d.ts +0 -0
  448. /package/dist/ui/components/carousel/{swiper → carousel-lib}/ssr-window/ssr-window.js +0 -0
  449. /package/dist/ui/components/carousel/{swiper → carousel-lib}/ssr-window/window.d.ts +0 -0
  450. /package/dist/ui/components/carousel/{swiper → carousel-lib}/ssr-window/window.js +0 -0
  451. /package/dist/ui/components/carousel/{swiper → carousel-lib}/swiper-bundle.d.ts +0 -0
  452. /package/dist/ui/components/carousel/{swiper → carousel-lib}/swiper-bundle.js +0 -0
  453. /package/dist/ui/components/carousel/{swiper → carousel-lib}/swiper-effect-utils.d.ts +0 -0
  454. /package/dist/ui/components/carousel/{swiper → carousel-lib}/swiper-effect-utils.js +0 -0
  455. /package/dist/ui/components/carousel/{swiper → carousel-lib}/swiper-react.d.ts +0 -0
  456. /package/dist/ui/components/carousel/{swiper → carousel-lib}/swiper-react.js +0 -0
  457. /package/dist/ui/components/carousel/{swiper → carousel-lib}/swiper.d.ts +0 -0
  458. /package/dist/ui/components/carousel/{swiper → carousel-lib}/swiper.js +0 -0
  459. /package/dist/ui/components/carousel/{swiper → carousel-lib}/types/index.d.ts +0 -0
  460. /package/dist/ui/components/carousel/{swiper → carousel-lib}/types/index.js +0 -0
  461. /package/dist/ui/components/carousel/{swiper → carousel-lib}/types/shared.d.ts +0 -0
  462. /package/dist/ui/components/carousel/{swiper → carousel-lib}/types/shared.js +0 -0
  463. /package/dist/ui/components/carousel/{swiper → carousel-lib}/types/swiper-class.d.ts +0 -0
  464. /package/dist/ui/components/carousel/{swiper → carousel-lib}/types/swiper-class.js +0 -0
  465. /package/dist/ui/components/carousel/{swiper → carousel-lib}/types/swiper-events.d.ts +0 -0
  466. /package/dist/ui/components/carousel/{swiper → carousel-lib}/types/swiper-events.js +0 -0
  467. /package/dist/ui/components/carousel/{swiper → carousel-lib}/types/swiper-options.d.ts +0 -0
  468. /package/dist/ui/components/carousel/{swiper → carousel-lib}/types/swiper-options.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/components/carousel/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA0B;AAE1B,gDAA8C;AAC9C,4DAAyD;AAEzD,gDAA8F;AAI9F,0CAA6B;AAE7B,SAAgB,WAAW,CAAU,EAAkD;QAAhD,EAAE,QAAA,EAAE,KAAK,WAAA,EAAE,SAAS,eAAA,EAAE,MAAM,YAAA;IACjE,IAAM,OAAO,GAAG,MAAM,GAAG,EAAE,CAAA;IAC3B,IAAM,OAAO,GAAG,MAAM,GAAG,EAAE,CAAA;IAE3B,IAAM,SAAS,GAAG,eAAa,CAAA;IAC/B,IAAM,cAAc,GAAG,0BAAkB,CAAA;IAEzC,SAAS,IAAI,CAAC,EAA2C;YAAzC,QAAQ,cAAA;QACtB,OAAO,CACL,mCAAQ,IAAI,EAAC,QAAQ,EAAC,SAAS,EAAE,OAAO,YACrC,QAAQ,GACF,CACV,CAAA;IACH,CAAC;IAED,SAAS,IAAI,CAAC,EAA2C;YAAzC,QAAQ,cAAA;QACtB,OAAO,CACL,mCAAQ,IAAI,EAAC,QAAQ,EAAC,SAAS,EAAE,OAAO,YACrC,QAAQ,GACF,CACV,CAAA;IACH,CAAC;IAED,SAAS,QAAQ;QACf,OAAO,CACL,uBAAC,CAAC,CAAC,QAAQ,cACT,uBAAC,SAAS,eACJ,MAAM,IACV,OAAO,EAAE,CAAC,kBAAU,EAAE,gBAAQ,EAAE,kBAAU,EAAE,eAAO,EAAE,kBAAU,CAAC,EAChE,UAAU,EAA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AED,SAAS,QAAQ;QACf,OAAO,CACL,uBAAC,CAAC,CAAC,QAAQ,cACT,uBAAC,SAAS,eACJ,MAAM,IACV,OAAO,EAAE,CAAC,kBAAU,EAAE,gBAAQ,EAAE,kBAAU,EAAE,eAAO,EAAE,kBAAU,CAAC,EAChE,UAAU,EAAE;oBACV,MAAM,EAAE,GAAG,GAAG,OAAO;oBACrB,MAAM,EAAE,GAAG,GAAG,OAAO;iBACtB,YAEA,KAAK,CAAC,GAAG,CAAC,UAAC,IAAI,IAAK,OAAA,CACnB,uBAAC,cAAc,cACb,uBAAC,SAAS,eAAK,IAAI,EAAI,IADH,IAAY,CAAC,EAAE,IAAI,IAAA,QAAG,EAAC,EAAE,EAAE,IAAI,CAAC,CAErC,CAClB,EAJoB,CAIpB,CAAC,IACQ,GACD,CACd,CAAA;IACH,CAAC;IAED,OAAO;QACL,QAAQ,UAAA;QACR,IAAI,MAAA;QACJ,IAAI,MAAA;KACL,CAAA;AACH,CAAC;AAjDD,kCAiDC"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { SwiperOptions } from "./swiper/types/index.js";
2
+ import { SwiperOptions } from "./carousel-lib/types/index.js";
3
3
  export interface CarouselProps<T = any> {
4
4
  id: string;
5
5
  items: T[];
@@ -9,6 +9,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.InputControl = void 0;
11
11
  var styled_components_1 = __importDefault(require("styled-components"));
12
- exports.InputControl = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n margin-bottom: 10px;\n position: relative;\n\n .input-content {\n position: relative;\n }\n\n .eye .icon svg {\n fill: ", ";\n }\n\n .input-icon {\n position: absolute;\n z-index: 2;\n left: ", ";\n right: ", ";\n top: 50%;\n transform: translateY(-50%);\n\n svg {\n width: 100%;\n height: auto;\n max-width: ", ";\n }\n }\n\n input,\n select,\n textarea {\n border: 0;\n background-color: #fff;\n color: ", ";\n padding: 0 10px;\n width: -webkit-fill-available;\n position: relative;\n display: flex;\n height: 42px;\n font-weight: 400;\n border: 1px solid ", ";\n border-radius: 4px;\n font-size: 14px;\n outline: transparent;\n\n &::placeholder {\n font-weight: 400;\n color: ", ";\n }\n }\n\n .input-icon + .input-wrapper {\n input,\n select,\n textarea {\n padding-left: ", ";\n padding-right: ", ";\n }\n }\n\n textarea {\n height: 120px;\n padding-top: 20px;\n padding-bottom: 20px;\n }\n\n input::placeholder {\n color: ", ";\n }\n\n textarea::placeholder {\n color: ", ";\n }\n\n input:not([type='color']):read-only,\n textarea:read-only {\n opacity: 0.90;\n cursor: not-allowed;\n background-color: #f2f2f2;\n }\n"], ["\n width: 100%;\n margin-bottom: 10px;\n position: relative;\n\n .input-content {\n position: relative;\n }\n\n .eye .icon svg {\n fill: ", ";\n }\n\n .input-icon {\n position: absolute;\n z-index: 2;\n left: ", ";\n right: ", ";\n top: 50%;\n transform: translateY(-50%);\n\n svg {\n width: 100%;\n height: auto;\n max-width: ", ";\n }\n }\n\n input,\n select,\n textarea {\n border: 0;\n background-color: #fff;\n color: ", ";\n padding: 0 10px;\n width: -webkit-fill-available;\n position: relative;\n display: flex;\n height: 42px;\n font-weight: 400;\n border: 1px solid ", ";\n border-radius: 4px;\n font-size: 14px;\n outline: transparent;\n\n &::placeholder {\n font-weight: 400;\n color: ", ";\n }\n }\n\n .input-icon + .input-wrapper {\n input,\n select,\n textarea {\n padding-left: ", ";\n padding-right: ", ";\n }\n }\n\n textarea {\n height: 120px;\n padding-top: 20px;\n padding-bottom: 20px;\n }\n\n input::placeholder {\n color: ", ";\n }\n\n textarea::placeholder {\n color: ", ";\n }\n\n input:not([type='color']):read-only,\n textarea:read-only {\n opacity: 0.90;\n cursor: not-allowed;\n background-color: #f2f2f2;\n }\n"])), function (props) { return (props.$error ? 'red !important' : '#526484'); }, function (props) { return (props.$inputIconDirection === 'left' ? '16px' : 'unset'); }, function (props) { return (props.$inputIconDirection === 'right' ? '16px' : 'unset'); }, function (props) { return props.$inputIconSize + 'px'; }, function (props) { return (props.$error ? 'red' : '#111'); }, function (props) { return (props.$error ? 'red' : '#ccc'); }, function (props) { return (props.$error ? 'red' : '#828282'); }, function (props) { return (props.$inputIconDirection === 'left' ? props.$inputIconSize + 20 + 'px' : '16px'); }, function (props) { return (props.$inputIconDirection === 'right' ? props.$inputIconSize + 20 + 'px' : '16px'); }, function (props) { return props.theme['grey-dark']; }, function (props) { return props.theme['grey-dark']; });
12
+ exports.InputControl = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n margin-bottom: 10px;\n position: relative;\n\n .input-content {\n position: relative;\n }\n\n .eye .icon svg {\n fill: ", ";\n }\n\n .input-icon {\n position: absolute;\n z-index: 2;\n left: ", ";\n right: ", ";\n top: 50%;\n transform: translateY(-50%);\n\n svg {\n width: 100%;\n height: auto;\n max-width: ", ";\n }\n }\n\n input,\n select,\n textarea {\n border: 0;\n background-color: #fff;\n color: ", ";\n padding: 0 10px;\n width: -webkit-fill-available;\n position: relative;\n display: flex;\n height: 42px;\n font-weight: 400;\n border: 1px solid ", ";\n border-radius: 4px;\n font-size: 14px;\n outline: transparent;\n\n &::placeholder {\n font-weight: 400;\n color: ", ";\n }\n }\n\n .input-icon + .input-wrapper {\n input,\n select,\n textarea {\n padding-left: ", ";\n padding-right: ", ";\n }\n }\n\n textarea {\n height: 120px;\n padding-top: 20px;\n padding-bottom: 20px;\n }\n\n input::placeholder {\n color: ", ";\n }\n\n textarea::placeholder {\n color: ", ";\n }\n\n input:not([type='color']):read-only,\n textarea:read-only {\n opacity: 0.90;\n cursor: not-allowed;\n background-color: #f2f2f2;\n }\n"], ["\n width: 100%;\n margin-bottom: 10px;\n position: relative;\n\n .input-content {\n position: relative;\n }\n\n .eye .icon svg {\n fill: ", ";\n }\n\n .input-icon {\n position: absolute;\n z-index: 2;\n left: ", ";\n right: ", ";\n top: 50%;\n transform: translateY(-50%);\n\n svg {\n width: 100%;\n height: auto;\n max-width: ", ";\n }\n }\n\n input,\n select,\n textarea {\n border: 0;\n background-color: #fff;\n color: ", ";\n padding: 0 10px;\n width: -webkit-fill-available;\n position: relative;\n display: flex;\n height: 42px;\n font-weight: 400;\n border: 1px solid ", ";\n border-radius: 4px;\n font-size: 14px;\n outline: transparent;\n\n &::placeholder {\n font-weight: 400;\n color: ", ";\n }\n }\n\n .input-icon + .input-wrapper {\n input,\n select,\n textarea {\n padding-left: ", ";\n padding-right: ", ";\n }\n }\n\n textarea {\n height: 120px;\n padding-top: 20px;\n padding-bottom: 20px;\n }\n\n input::placeholder {\n color: ", ";\n }\n\n textarea::placeholder {\n color: ", ";\n }\n\n input:not([type='color']):read-only,\n textarea:read-only {\n opacity: 0.90;\n cursor: not-allowed;\n background-color: #f2f2f2;\n }\n"])), function (props) { return (props.$error ? 'red !important' : '#526484'); }, function (props) { return (props.$inputIconDirection === 'left' ? '10px' : 'unset'); }, function (props) { return (props.$inputIconDirection === 'right' ? '10px' : 'unset'); }, function (props) { return props.$inputIconSize + 'px'; }, function (props) { return (props.$error ? 'red' : '#111'); }, function (props) { return (props.$error ? 'red' : '#ccc'); }, function (props) { return (props.$error ? 'red' : '#828282'); }, function (props) { return (props.$inputIconDirection === 'left' ? props.$inputIconSize + 20 + 'px' : '16px'); }, function (props) { return (props.$inputIconDirection === 'right' ? props.$inputIconSize + 20 + 'px' : '16px'); }, function (props) { return props.theme['grey-dark']; }, function (props) { return props.theme['grey-dark']; });
13
13
  var templateObject_1;
14
14
  //# sourceMappingURL=styles.js.map
@@ -59,6 +59,7 @@ function Select(props) {
59
59
  var _a, _b, _c, _d;
60
60
  var _e = (0, react_1.useState)(props.options || []), options = _e[0], setOptions = _e[1];
61
61
  var _f = (0, react_1.useState)(false), isLoading = _f[0], setIsLoading = _f[1];
62
+ var isMounted = (0, ui_1.useComponentIsMounted)();
62
63
  var _g = (0, formik_1.useField)({
63
64
  name: props.name,
64
65
  }), field = _g[0], _ = _g[1], helpers = _g[2];
@@ -98,7 +99,10 @@ function Select(props) {
98
99
  }
99
100
  }, [props.value]);
100
101
  var SelectComponent = props.creatableSelect ? creatable_1.default : react_select_1.default;
101
- return ((0, jsx_runtime_1.jsxs)(S.SelectWrapper, { children: [(0, jsx_runtime_1.jsx)(ui_1.InputControl, __assign({}, props, { children: (0, jsx_runtime_1.jsx)(SelectComponent, { onCreateOption: handleCreate, isDisabled: isLoading || props.disabled, isLoading: isLoading, isSearchable: props.isSearchable, menuPlacement: props.menuPlacement || 'auto', menuIsOpen: props.forceOpenToDevelop ? props.forceOpenToDevelop : undefined, placeholder: props.placeholder, name: field.name, noOptionsMessage: function () { return props.noOptionMessage || 'Nenhuma opção encontrada.'; }, onChange: function (ev) {
102
+ if (!isMounted) {
103
+ return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
104
+ }
105
+ return ((0, jsx_runtime_1.jsxs)(S.SelectWrapper, { children: [(0, jsx_runtime_1.jsx)(ui_1.InputControl, __assign({}, props, { children: (0, jsx_runtime_1.jsx)(SelectComponent, { menuPortalTarget: document === null || document === void 0 ? void 0 : document.body, onCreateOption: handleCreate, isDisabled: isLoading || props.disabled, isLoading: isLoading, isSearchable: props.isSearchable, menuPlacement: props.menuPlacement || 'auto', menuIsOpen: props.forceOpenToDevelop ? props.forceOpenToDevelop : undefined, placeholder: props.placeholder, name: field.name, noOptionsMessage: function () { return props.noOptionMessage || 'Nenhuma opção encontrada.'; }, onChange: function (ev) {
102
106
  var value = props.onlyOneValue
103
107
  ? ev.value
104
108
  : Array.isArray(ev)
@@ -110,7 +114,7 @@ function Select(props) {
110
114
  props.onChangeSelect && props.onChangeSelect(value);
111
115
  }, value: props.value || props.isMultiple ? value : value[0], isMulti: props.isMultiple, options: options, components: props.CustomOption
112
116
  ? { Option: props.CustomOption, SingleValue: props.CustomOption }
113
- : undefined, className: ((_a = field === null || field === void 0 ? void 0 : field.value) === null || _a === void 0 ? void 0 : _a.length) > 0 ? 'open' : '', styles: props.customStlyes || custom_styles_1.customStyles }) })), ((_b = props === null || props === void 0 ? void 0 : props.addButton) === null || _b === void 0 ? void 0 : _b.CustomComponent) ? ((0, jsx_runtime_1.jsx)("div", { className: 'custom-component', children: (_c = props === null || props === void 0 ? void 0 : props.addButton) === null || _c === void 0 ? void 0 : _c.CustomComponent })) : (((_d = props === null || props === void 0 ? void 0 : props.addButton) === null || _d === void 0 ? void 0 : _d.onClick) && ((0, jsx_runtime_1.jsx)("button", { className: 'add', type: 'button', onClick: props.addButton.onClick, children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'PlusIcon' }) })))] }));
117
+ : undefined, className: ((_a = field === null || field === void 0 ? void 0 : field.value) === null || _a === void 0 ? void 0 : _a.length) > 0 ? 'open' : '', styles: __assign({ menuPortal: function (base) { return (__assign(__assign({}, base), { zIndex: 999999999999999 })); } }, (props.customStlyes || custom_styles_1.customStyles)) }) })), ((_b = props === null || props === void 0 ? void 0 : props.addButton) === null || _b === void 0 ? void 0 : _b.CustomComponent) ? ((0, jsx_runtime_1.jsx)("div", { className: 'custom-component', children: (_c = props === null || props === void 0 ? void 0 : props.addButton) === null || _c === void 0 ? void 0 : _c.CustomComponent })) : (((_d = props === null || props === void 0 ? void 0 : props.addButton) === null || _d === void 0 ? void 0 : _d.onClick) && ((0, jsx_runtime_1.jsx)("button", { className: 'add', type: 'button', onClick: props.addButton.onClick, children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'PlusIcon' }) })))] }));
114
118
  }
115
119
  exports.Select = Select;
116
120
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/select/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA2C;AAE3C,iCAAiC;AACjC,8DAAsC;AACtC,qEAAoD;AAEpD,2BAAyC;AAEzC,iDAA8C;A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CAAC;AAjHD,wBAiHC"}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/components/form/select/script/index.ts"],"names":[],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  import { QueryOptions, QueryState } from './interfaces.js';
2
- export declare function useQuery<T = any>({ enabled, queryKey, queryFn, enableCache, onError }: {
2
+ export declare function useQuery<T = any>({ enabled, queryKey, queryFn, enableCache, onError, }: {
3
3
  queryKey: any;
4
4
  queryFn: (params?: any) => any;
5
5
  } & QueryOptions): Required<QueryState<T>>;
@@ -51,43 +51,44 @@ exports.useQuery = void 0;
51
51
  var react_1 = require("react");
52
52
  var context_1 = require("./context.js");
53
53
  function useQuery(_a) {
54
- var _this = this;
55
54
  var enabled = _a.enabled, queryKey = _a.queryKey, queryFn = _a.queryFn, enableCache = _a.enableCache, onError = _a.onError;
56
55
  var KEY = queryKey === null || queryKey === void 0 ? void 0 : queryKey.toString();
57
56
  var cache = (0, context_1.useQueryClient)(function (state) { return state.cache[KEY]; });
58
57
  var mutateQuery = (0, context_1.useQueryClient)(function (state) { return state.mutate; });
59
- var fetcher = (0, react_1.useCallback)(function (_a) { return __awaiter(_this, [_a], void 0, function (_b) {
60
- var queryState, response, err_1;
61
- var get = _b.get;
62
- return __generator(this, function (_c) {
63
- switch (_c.label) {
64
- case 0:
65
- _c.trys.push([0, 2, , 3]);
66
- if (enabled !== undefined && !enabled) {
67
- mutateQuery(KEY, { data: null, isFetching: false, isLoading: false, error: null });
68
- return [2 /*return*/];
69
- }
70
- queryState = get && get()['cache'][KEY];
71
- mutateQuery(KEY, {
72
- isFetching: true,
73
- isLoading: (queryState === null || queryState === void 0 ? void 0 : queryState.date) ? false : true,
74
- error: null,
75
- date: new Date(),
76
- });
77
- return [4 /*yield*/, queryFn()];
78
- case 1:
79
- response = _c.sent();
80
- mutateQuery(KEY, { data: response, isFetching: false, isLoading: false, error: null });
81
- return [3 /*break*/, 3];
82
- case 2:
83
- err_1 = _c.sent();
84
- onError && onError(err_1);
85
- mutateQuery(KEY, { data: null, isFetching: false, isLoading: false, error: err_1 });
86
- return [3 /*break*/, 3];
87
- case 3: return [2 /*return*/];
88
- }
58
+ function fetcher(_a) {
59
+ return __awaiter(this, arguments, void 0, function (_b) {
60
+ var queryState, response, err_1;
61
+ var get = _b.get;
62
+ return __generator(this, function (_c) {
63
+ switch (_c.label) {
64
+ case 0:
65
+ _c.trys.push([0, 2, , 3]);
66
+ if (enabled !== undefined && !enabled) {
67
+ mutateQuery(KEY, { data: null, isFetching: false, isLoading: false, error: null });
68
+ return [2 /*return*/];
69
+ }
70
+ queryState = get && get()['cache'][KEY];
71
+ mutateQuery(KEY, {
72
+ isFetching: true,
73
+ isLoading: (queryState === null || queryState === void 0 ? void 0 : queryState.date) ? false : true,
74
+ error: null,
75
+ date: new Date(),
76
+ });
77
+ return [4 /*yield*/, queryFn()];
78
+ case 1:
79
+ response = _c.sent();
80
+ mutateQuery(KEY, { data: response, isFetching: false, isLoading: false, error: null });
81
+ return [2 /*return*/, response];
82
+ case 2:
83
+ err_1 = _c.sent();
84
+ onError && onError(err_1);
85
+ mutateQuery(KEY, { data: null, isFetching: false, isLoading: false, error: err_1 });
86
+ return [2 /*return*/, err_1];
87
+ case 3: return [2 /*return*/];
88
+ }
89
+ });
89
90
  });
90
- }); }, [KEY, cache === null || cache === void 0 ? void 0 : cache.start]);
91
+ }
91
92
  function verifyCache() {
92
93
  return __awaiter(this, void 0, void 0, function () {
93
94
  return __generator(this, function (_a) {
@@ -120,18 +121,20 @@ function useQuery(_a) {
120
121
  if (cache !== undefined) {
121
122
  verifyCache();
122
123
  }
123
- }, [fetcher]);
124
+ }, [KEY, cache === null || cache === void 0 ? void 0 : cache.start]);
124
125
  (0, react_1.useEffect)(function () {
125
- if (enableCache) {
126
- if (cache === null || cache === void 0 ? void 0 : cache.date) {
127
- return;
126
+ if (enabled) {
127
+ if (enableCache) {
128
+ if (cache === null || cache === void 0 ? void 0 : cache.date) {
129
+ return;
130
+ }
131
+ mutateQuery(KEY, startQueryState);
132
+ }
133
+ else {
134
+ mutateQuery(KEY, startQueryState);
128
135
  }
129
- mutateQuery(KEY, startQueryState);
130
- }
131
- else {
132
- mutateQuery(KEY, startQueryState);
133
136
  }
134
- }, [KEY]);
137
+ }, [KEY, enabled]);
135
138
  var initialData = __assign(__assign({}, startQueryState), { start: false, changeCache: changeCache });
136
139
  return (__assign(__assign({}, cache), { changeCache: changeCache }) || initialData);
137
140
  }
@@ -1 +1 @@
1
- {"version":3,"file":"hook.js","sourceRoot":"","sources":["../../../../src/ui/hooks/use-query/hook.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA8C;AAE9C,qCAA0C;AAG1C,SAAgB,QAAQ,CAAU,EASlB;IAThB,iBA6FC;QA5FC,OAAO,aAAA,EACP,QAAQ,cAAA,EACR,OAAO,aAAA,EACP,WAAW,iBAAA,EACX,OAAO,aAAA;IAKP,IAAM,GAAG,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,QAAQ,EAAE,CAAA;IAEhC,IAAM,KAAK,GAAG,IAAA,wBAAc,EAAC,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,EAAhB,CAAgB,CAAC,CAAA;IACzD,IAAM,WAAW,GAAG,IAAA,wBAAc,EAAC,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,MAAM,EAAZ,CAAY,CAAC,CAAA;IAE3D,IAAM,OAAO,GAAG,IAAA,mBAAW,EACzB,gEAAO,EAAsB;;YAApB,GAAG,SAAA;;;;;oBAER,IAAG,OAAO,KAAK,SAAS,IAAI,CAAC,OAAO,EAAE,CAAC;wBACrC,WAAW,CAAC,GAAG,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE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B,IAAA,iBAAS,EAAC;QACR,IAAI,OAAO,EAAE,CAAC;YACZ,IAAI,WAAW,EAAE,CAAC;gBAChB,IAAI,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,EAAE,CAAC;oBAChB,OAAM;gBACR,CAAC;gBACD,WAAW,CAAC,GAAG,EAAE,eAAe,CAAC,CAAA;YACnC,CAAC;iBAAM,CAAC;gBACN,WAAW,CAAC,GAAG,EAAE,eAAe,CAAC,CAAA;YACnC,CAAC;QACH,CAAC;IACH,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,CAAA;IAElB,IAAM,WAAW,yBACZ,eAAe,KAClB,KAAK,EAAE,KAAK,EACZ,WAAW,aAAA,GACZ,CAAA;IAED,OAAO,CAAC,sBAAK,KAAK,KAAE,WAAW,aAAA,OAAM,WAAW,CAA4B,CAAA;AAC9E,CAAC;AAhGD,4BAgGC"}
@@ -23,8 +23,10 @@ export type QueryOptions = {
23
23
  onError?: (err: any) => void;
24
24
  };
25
25
  interface QueryStoreState<T = any> extends QueryStoreProps {
26
- mutate: (key: string, value?: QueryState<T>) => void;
27
26
  clearCache: () => void;
27
+ refetch: <E>(value: string) => Promise<E | null>;
28
+ clearCacheBySubstring: (value: string) => void;
29
+ mutate: (key: string, value?: QueryState<T>) => void;
28
30
  }
29
31
  type QueryStoreType = ReturnType<typeof queryStore>;
30
32
  export type { QueryStoreProps, QueryStoreState, QueryStoreType };
@@ -10,6 +10,42 @@ var __assign = (this && this.__assign) || function () {
10
10
  };
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
14
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
15
+ return new (P || (P = Promise))(function (resolve, reject) {
16
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
17
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
18
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
19
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
20
+ });
21
+ };
22
+ var __generator = (this && this.__generator) || function (thisArg, body) {
23
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
24
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
25
+ function verb(n) { return function (v) { return step([n, v]); }; }
26
+ function step(op) {
27
+ if (f) throw new TypeError("Generator is already executing.");
28
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
29
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
30
+ if (y = 0, t) op = [op[0] & 2, t.value];
31
+ switch (op[0]) {
32
+ case 0: case 1: t = op; break;
33
+ case 4: _.label++; return { value: op[1], done: false };
34
+ case 5: _.label++; y = op[1]; op = [0]; continue;
35
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
36
+ default:
37
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
38
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
39
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
40
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
41
+ if (t[2]) _.ops.pop();
42
+ _.trys.pop(); continue;
43
+ }
44
+ op = body.call(thisArg, _);
45
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
46
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
47
+ }
48
+ };
13
49
  Object.defineProperty(exports, "__esModule", { value: true });
14
50
  exports.queryStore = void 0;
15
51
  var zustand_1 = require("zustand");
@@ -19,6 +55,35 @@ var queryStore = function (_) {
19
55
  clearCache: function () {
20
56
  set(function (state) { return (__assign(__assign({}, state), { cache: {} })); });
21
57
  },
58
+ clearCacheBySubstring: function (value) {
59
+ set(function (state) {
60
+ var newCache = Object.keys(state.cache).reduce(function (acc, key) {
61
+ if (!key.includes(value)) {
62
+ acc[key] = state.cache[key];
63
+ }
64
+ return acc;
65
+ }, {});
66
+ return __assign(__assign({}, state), { cache: newCache });
67
+ });
68
+ },
69
+ refetch: function (value) { return __awaiter(void 0, void 0, void 0, function () {
70
+ var store, cache;
71
+ var _a;
72
+ return __generator(this, function (_b) {
73
+ switch (_b.label) {
74
+ case 0:
75
+ console.log(value);
76
+ store = get();
77
+ cache = store.cache;
78
+ if (!(cache[value] && cache[value].mutate)) return [3 /*break*/, 2];
79
+ return [4 /*yield*/, cache[value].mutate({ get: get })];
80
+ case 1:
81
+ _b.sent();
82
+ return [2 /*return*/, (_a = get()["cache"][value]) === null || _a === void 0 ? void 0 : _a.data];
83
+ case 2: return [2 /*return*/, null];
84
+ }
85
+ });
86
+ }); },
22
87
  mutate: function (key, queryState) {
23
88
  set(function (state) {
24
89
  var _a;
@@ -1 +1 @@
1
- {"version":3,"file":"store.js","sourceRoot":"","sources":["../../../../src/ui/hooks/use-query/store.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,mCAAqC;AAG9B,IAAM,UAAU,GAAG,UAAC,CAA4B;IACrD,OAAO,IAAA,qBAAW,GAAmB,CAAC,UAAC,GAAG,EAAE,GAAG,IAAK,OAAA,CAAC;QACnD,KAAK,EAAE,EAAE;QACT,UAAU,EAAE;YACV,GAAG,CAAC,UAAC,KAAK,IAAK,OAAA,uBAAM,KAAK,KAAE,KAAK,EAAE,EAAE,IAAG,EAAzB,CAAyB,CAAC,CAAA;QAC3C,CAAC;QACD,MAAM,EAAE,UAAC,GAAG,EAAE,UAAU;YACtB,GAAG,CAAC,UAAC,KAAK;;gBAAK,OAAA,CAAC;oBACd,KAAK,wBACA,KAAK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: 0;
49
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
50
- "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
51
- "Segoe UI Symbol";
47
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif,
48
+ 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
52
49
  font-size: 1rem;
53
50
  font-weight: normal;
54
51
  line-height: 1.5;
@@ -57,7 +54,7 @@ body {
57
54
  background-color: #fff;
58
55
  }
59
56
 
60
- [tabindex="-1"]:focus {
57
+ [tabindex='-1']:focus {
61
58
  outline: none !important;
62
59
  }
63
60
 
@@ -193,8 +190,8 @@ svg:not(:root) {
193
190
  a,
194
191
  area,
195
192
  button,
196
- [role="button"],
197
- input:not([type="range"]),
193
+ [role='button'],
194
+ input:not([type='range']),
198
195
  label,
199
196
  select,
200
197
  summary,
@@ -250,28 +247,28 @@ select {
250
247
  }
251
248
 
252
249
  button,
253
- html [type="button"],
254
- [type="reset"],
255
- [type="submit"] {
250
+ html [type='button'],
251
+ [type='reset'],
252
+ [type='submit'] {
256
253
  -webkit-appearance: button;
257
254
  }
258
255
 
259
256
  button::-moz-focus-inner,
260
- [type="button"]::-moz-focus-inner,
261
- [type="reset"]::-moz-focus-inner,
262
- [type="submit"]::-moz-focus-inner {
257
+ [type='button']::-moz-focus-inner,
258
+ [type='reset']::-moz-focus-inner,
259
+ [type='submit']::-moz-focus-inner {
263
260
  padding: 0;
264
261
  border-style: none;
265
262
  }
266
- input[type="radio"],
267
- input[type="checkbox"] {
263
+ input[type='radio'],
264
+ input[type='checkbox'] {
268
265
  box-sizing: border-box;
269
266
  padding: 0;
270
267
  }
271
- input[type="date"],
272
- input[type="time"],
273
- input[type="datetime-local"],
274
- input[type="month"] {
268
+ input[type='date'],
269
+ input[type='time'],
270
+ input[type='datetime-local'],
271
+ input[type='month'] {
275
272
  -webkit-appearance: listbox;
276
273
  }
277
274
  textarea {
@@ -300,17 +297,17 @@ progress {
300
297
  vertical-align: baseline;
301
298
  }
302
299
 
303
- [type="number"]::-webkit-inner-spin-button,
304
- [type="number"]::-webkit-outer-spin-button {
300
+ [type='number']::-webkit-inner-spin-button,
301
+ [type='number']::-webkit-outer-spin-button {
305
302
  height: auto;
306
303
  }
307
- [type="search"] {
304
+ [type='search'] {
308
305
  outline-offset: -2px;
309
306
  -webkit-appearance: none;
310
307
  }
311
308
 
312
- [type="search"]::-webkit-search-cancel-button,
313
- [type="search"]::-webkit-search-decoration {
309
+ [type='search']::-webkit-search-cancel-button,
310
+ [type='search']::-webkit-search-decoration {
314
311
  -webkit-appearance: none;
315
312
  }
316
313
 
@@ -351,4 +348,4 @@ ul li {
351
348
  .infinity_forge_modal {
352
349
  z-index: 100000000;
353
350
  position: relative;
354
- }
351
+ }
package/package.json CHANGED
@@ -1,88 +1,88 @@
1
- {
2
- "name": "infinity-forge",
3
- "version": "0.55.5",
4
- "description": "codie Library",
5
- "main": "./dist/index",
6
- "module": "./dist/index",
7
- "types": "./dist/index.d.ts",
8
- "repository": {
9
- "type": "git",
10
- "url": "https://github.com/CodieDigital/codiedigital-library"
11
- },
12
- "scripts": {
13
- "dev": "next -p 3050",
14
- "deploy": "npm version patch && npm publish",
15
- "next": "next build",
16
- "start": "next start -p 3015",
17
- "build": "concurrently --kill-others-on-fail \"tsc -w\" \"tsc-alias -w --resolve-full-paths\" \"npm run build:CSS\" \"npm run fonts\"",
18
- "build:CSS": "npm run minify-css && node combine-css.ts && cpx \"src/**/*.css\" dist --watch",
19
- "minify-css": "postcss src/**/*.css --use cssnano -d dist --no-map",
20
- "fonts": "tsc-alias -p tsconfig.json && mkdir dist\\fonts && for /r src %i in (*.otf, *.ttf) do copy \"%i\" dist\\fonts\\"
21
- },
22
- "peerDependencies": {
23
- "react": ">=16"
24
- },
25
- "files": [
26
- "dist",
27
- "LICENSE",
28
- "README.md"
29
- ],
30
- "keywords": [
31
- "react",
32
- "typescript",
33
- "awesome-project"
34
- ],
35
- "author": "Codie Digital",
36
- "license": "MIT",
37
- "devDependencies": {
38
- "@types/node": "^20.12.12",
39
- "@types/react": "^18.3.3",
40
- "@types/react-date-range": "^1.4.9",
41
- "@types/react-datepicker": "^6.2.0",
42
- "@types/react-dom": "^18.3.0",
43
- "@types/styled-components": "^5.1.34",
44
- "concurrently": "^8.2.2",
45
- "copyfiles": "^2.4.1",
46
- "cpx": "^1.5.0",
47
- "cssnano": "^7.0.1",
48
- "postcss-cli": "^11.0.0",
49
- "tsc-alias": "^1.8.10",
50
- "tslib": "^2.6.2"
51
- },
52
- "dependencies": {
53
- "@ckeditor/ckeditor5-react": "^7.0.0",
54
- "@types/react-slick": "^0.23.13",
55
- "axios": "^1.7.2",
56
- "chroma-js": "^2.4.2",
57
- "ckeditor5-custom-build": "^0.0.6",
58
- "date-fns": "^3.6.0",
59
- "exenv": "^1.2.2",
60
- "formik": "^2.4.6",
61
- "framer-motion": "^11.2.6",
62
- "fs": "0.0.1-security",
63
- "fs-extra": "^11.2.0",
64
- "inversify": "^6.0.2",
65
- "moment": "^2.30.1",
66
- "next": "^14.2.3",
67
- "postcss": "^8.4.38",
68
- "prop-types": "^15.8.1",
69
- "react": "18.3.1",
70
- "react-currency-input-field": "^3.8.0",
71
- "react-date-range": "^2.0.1",
72
- "react-datepicker": "^6.9.0",
73
- "react-dom": "18.3.1",
74
- "react-error-boundary": "^4.0.13",
75
- "react-ga": "^3.3.1",
76
- "react-lifecycles-compat": "^3.0.4",
77
- "react-select": "^5.8.0",
78
- "react-share": "^5.1.0",
79
- "react-slick": "^0.30.2",
80
- "react-tooltip": "^5.26.4",
81
- "reflect-metadata": "^0.2.2",
82
- "sharp": "^0.33.4",
83
- "styled-components": "^6.1.11",
84
- "typescript": "^5.4.5",
85
- "yup": "^1.4.0",
86
- "zustand": "^4.5.2"
87
- }
88
- }
1
+ {
2
+ "name": "infinity-forge",
3
+ "version": "0.55.7",
4
+ "description": "codie Library",
5
+ "main": "./dist/index",
6
+ "module": "./dist/index",
7
+ "types": "./dist/index.d.ts",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/CodieDigital/codiedigital-library"
11
+ },
12
+ "scripts": {
13
+ "dev": "next -p 3050",
14
+ "deploy": "npm version patch && npm publish",
15
+ "next": "next build",
16
+ "start": "next start -p 3015",
17
+ "build": "concurrently --kill-others-on-fail \"tsc -w\" \"tsc-alias -w --resolve-full-paths\" \"npm run build:CSS\" \"npm run fonts\"",
18
+ "build:CSS": "npm run minify-css && node combine-css.ts && cpx \"src/**/*.css\" dist --watch",
19
+ "minify-css": "postcss src/**/*.css --use cssnano -d dist --no-map",
20
+ "fonts": "tsc-alias -p tsconfig.json && mkdir dist\\fonts && for /r src %i in (*.otf, *.ttf) do copy \"%i\" dist\\fonts\\"
21
+ },
22
+ "peerDependencies": {
23
+ "react": ">=16"
24
+ },
25
+ "files": [
26
+ "dist",
27
+ "LICENSE",
28
+ "README.md"
29
+ ],
30
+ "keywords": [
31
+ "react",
32
+ "typescript",
33
+ "awesome-project"
34
+ ],
35
+ "author": "Codie Digital",
36
+ "license": "MIT",
37
+ "devDependencies": {
38
+ "@types/node": "^20.12.12",
39
+ "@types/react": "^18.3.3",
40
+ "@types/react-date-range": "^1.4.9",
41
+ "@types/react-datepicker": "^6.2.0",
42
+ "@types/react-dom": "^18.3.0",
43
+ "@types/styled-components": "^5.1.34",
44
+ "concurrently": "^8.2.2",
45
+ "copyfiles": "^2.4.1",
46
+ "cpx": "^1.5.0",
47
+ "cssnano": "^7.0.1",
48
+ "postcss-cli": "^11.0.0",
49
+ "tsc-alias": "^1.8.10",
50
+ "tslib": "^2.6.2"
51
+ },
52
+ "dependencies": {
53
+ "@ckeditor/ckeditor5-react": "^7.0.0",
54
+ "@types/react-slick": "^0.23.13",
55
+ "axios": "^1.7.2",
56
+ "chroma-js": "^2.4.2",
57
+ "ckeditor5-custom-build": "^0.0.6",
58
+ "date-fns": "^3.6.0",
59
+ "exenv": "^1.2.2",
60
+ "formik": "^2.4.6",
61
+ "framer-motion": "^11.2.6",
62
+ "fs": "0.0.1-security",
63
+ "fs-extra": "^11.2.0",
64
+ "inversify": "^6.0.2",
65
+ "moment": "^2.30.1",
66
+ "next": "^14.2.3",
67
+ "postcss": "^8.4.38",
68
+ "prop-types": "^15.8.1",
69
+ "react": "18.3.1",
70
+ "react-currency-input-field": "^3.8.0",
71
+ "react-date-range": "^2.0.1",
72
+ "react-datepicker": "^6.9.0",
73
+ "react-dom": "18.3.1",
74
+ "react-error-boundary": "^4.0.13",
75
+ "react-ga": "^3.3.1",
76
+ "react-lifecycles-compat": "^3.0.4",
77
+ "react-select": "^5.8.0",
78
+ "react-share": "^5.1.0",
79
+ "react-slick": "^0.30.2",
80
+ "react-tooltip": "^5.26.4",
81
+ "reflect-metadata": "^0.2.2",
82
+ "sharp": "^0.33.4",
83
+ "styled-components": "^6.1.11",
84
+ "typescript": "^5.4.5",
85
+ "yup": "^1.4.0",
86
+ "zustand": "^4.5.2"
87
+ }
88
+ }