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.
- package/dist/infinity-forge.css +0 -1
- package/dist/system/domain/generics/table-configuration.d.ts +12 -10
- package/dist/system/presentation/components/data/input-search/index.js +5 -1
- package/dist/system/presentation/components/data/input-search/index.js.map +1 -1
- package/dist/system/presentation/components/data/input-search/styles.js +1 -1
- package/dist/system/presentation/components/data/input-search/styles.js.map +1 -1
- package/dist/system/presentation/components/pages/menus/page.js +3 -1
- package/dist/system/presentation/components/pages/menus/page.js.map +1 -1
- package/dist/system/presentation/components/pages/users/page.js +3 -1
- package/dist/system/presentation/components/pages/users/page.js.map +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/index.d.ts +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/index.js +49 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/styles.d.ts +4 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/styles.js +14 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/styles.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.d.ts +2 -4
- package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.js +9 -3
- package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.js.map +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/index.js +8 -6
- package/dist/system/presentation/hooks/ui/use-table/components/table/index.js.map +1 -1
- package/dist/system/presentation/hooks/ui/use-table/interfaces.d.ts +9 -3
- package/dist/system/presentation/hooks/ui/use-table/query/get-query-arguments-table.js +3 -2
- package/dist/system/presentation/hooks/ui/use-table/query/get-query-arguments-table.js.map +1 -1
- package/dist/system/presentation/hooks/ui/use-table/query/hook.js +8 -8
- package/dist/system/presentation/hooks/ui/use-table/query/hook.js.map +1 -1
- package/dist/test/index.d.ts +2 -0
- package/dist/test/index.js +120 -0
- package/dist/test/index.js.map +1 -0
- package/dist/test/sobre.d.ts +1 -0
- package/dist/test/sobre.js +10 -0
- package/dist/test/sobre.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/components-shared/get-changed-params.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/components-shared/get-element-params.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/components-shared/get-params.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/components-shared/mount-swiper.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/components-shared/params-list.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/components-shared/update-on-virtual-data.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/components-shared/update-swiper.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/components-shared/utils.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/breakpoints/getBreakpoint.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/breakpoints/index.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/breakpoints/setBreakpoint.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/check-overflow/index.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/classes/addClasses.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/classes/index.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/classes/removeClasses.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/core.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/defaults.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/events/index.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/events/onClick.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/events/onDocumentTouchStart.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/events/onLoad.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/events/onResize.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/events/onScroll.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/events/onTouchEnd.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/events/onTouchMove.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/events/onTouchStart.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/events-emitter.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/grab-cursor/index.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/grab-cursor/setGrabCursor.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/grab-cursor/unsetGrabCursor.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/loop/index.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/loop/loopCreate.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/loop/loopDestroy.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/loop/loopFix.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/moduleExtendParams.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/modules/observer/observer.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/modules/resize/resize.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/slide/index.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideNext.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/slide/slidePrev.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideReset.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideTo.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideToClickedSlide.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideToClosest.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideToLoop.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/transition/index.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/transition/setTransition.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/transition/transitionEmit.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/transition/transitionEnd.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/transition/transitionStart.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/translate/getTranslate.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/translate/index.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/translate/maxTranslate.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/translate/minTranslate.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/translate/setTranslate.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/translate/translateTo.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/update/index.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/update/updateActiveIndex.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/update/updateAutoHeight.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/update/updateClickedSlide.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/update/updateProgress.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSize.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSlides.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSlidesClasses.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSlidesOffset.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSlidesProgress.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/modules/autoplay.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/modules/effect-fade.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/modules/free-mode.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/modules/index.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/modules/navigation.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/modules/pagination.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/modules/virtual.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/react/context.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/react/get-children.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/react/swiper-slide.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/react/swiper.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/react/use-isomorphic-layout-effect.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/react/virtual.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/shared/classes-to-selector.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/shared/classes-to-tokens.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/shared/create-element-if-not-defined.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/shared/create-shadow.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/shared/effect-init.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/shared/effect-target.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/shared/effect-virtual-transition-end.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/shared/get-browser.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/shared/get-device.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/shared/get-support.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/shared/process-lazy-preloader.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/shared/utils.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/ssr-window/document.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/ssr-window/extend.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/ssr-window/ssr-window.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/ssr-window/window.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/swiper-bundle.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/swiper-effect-utils.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/swiper-react.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/swiper.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/types/index.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/types/shared.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/types/swiper-class.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/types/swiper-events.js.map +1 -0
- package/dist/ui/components/carousel/carousel-lib/types/swiper-options.js.map +1 -0
- package/dist/ui/components/carousel/index.js +3 -3
- package/dist/ui/components/carousel/index.js.map +1 -1
- package/dist/ui/components/carousel/interfaces.d.ts +1 -1
- package/dist/ui/components/form/input-control/styles.js +1 -1
- package/dist/ui/components/form/select/index.js +6 -2
- package/dist/ui/components/form/select/index.js.map +1 -1
- package/dist/ui/components/form/select/script/index.d.ts +0 -0
- package/dist/ui/components/form/select/script/index.js +1 -0
- package/dist/ui/components/form/select/script/index.js.map +1 -0
- package/dist/ui/hooks/use-query/hook.d.ts +1 -1
- package/dist/ui/hooks/use-query/hook.js +44 -41
- package/dist/ui/hooks/use-query/hook.js.map +1 -1
- package/dist/ui/hooks/use-query/interfaces.d.ts +3 -1
- package/dist/ui/hooks/use-query/store.js +65 -0
- package/dist/ui/hooks/use-query/store.js.map +1 -1
- package/dist/ui/styles/reset.css +23 -26
- package/package.json +88 -88
- package/dist/slick-carousel.css +0 -1
- package/dist/ui/components/carousel/swiper/components-shared/get-changed-params.js.map +0 -1
- package/dist/ui/components/carousel/swiper/components-shared/get-element-params.js.map +0 -1
- package/dist/ui/components/carousel/swiper/components-shared/get-params.js.map +0 -1
- package/dist/ui/components/carousel/swiper/components-shared/mount-swiper.js.map +0 -1
- package/dist/ui/components/carousel/swiper/components-shared/params-list.js.map +0 -1
- package/dist/ui/components/carousel/swiper/components-shared/update-on-virtual-data.js.map +0 -1
- package/dist/ui/components/carousel/swiper/components-shared/update-swiper.js.map +0 -1
- package/dist/ui/components/carousel/swiper/components-shared/utils.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/breakpoints/getBreakpoint.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/breakpoints/index.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/breakpoints/setBreakpoint.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/check-overflow/index.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/classes/addClasses.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/classes/index.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/classes/removeClasses.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/core.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/defaults.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/events/index.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/events/onClick.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/events/onDocumentTouchStart.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/events/onLoad.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/events/onResize.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/events/onScroll.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/events/onTouchEnd.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/events/onTouchMove.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/events/onTouchStart.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/events-emitter.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/grab-cursor/index.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/grab-cursor/setGrabCursor.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/grab-cursor/unsetGrabCursor.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/loop/index.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/loop/loopCreate.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/loop/loopDestroy.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/loop/loopFix.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/moduleExtendParams.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/modules/observer/observer.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/modules/resize/resize.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/slide/index.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/slide/slideNext.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/slide/slidePrev.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/slide/slideReset.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/slide/slideTo.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/slide/slideToClickedSlide.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/slide/slideToClosest.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/slide/slideToLoop.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/transition/index.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/transition/setTransition.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/transition/transitionEmit.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/transition/transitionEnd.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/transition/transitionStart.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/translate/getTranslate.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/translate/index.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/translate/maxTranslate.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/translate/minTranslate.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/translate/setTranslate.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/translate/translateTo.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/update/index.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/update/updateActiveIndex.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/update/updateAutoHeight.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/update/updateClickedSlide.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/update/updateProgress.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/update/updateSize.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/update/updateSlides.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/update/updateSlidesClasses.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/update/updateSlidesOffset.js.map +0 -1
- package/dist/ui/components/carousel/swiper/core/update/updateSlidesProgress.js.map +0 -1
- package/dist/ui/components/carousel/swiper/modules/autoplay.js.map +0 -1
- package/dist/ui/components/carousel/swiper/modules/effect-fade.js.map +0 -1
- package/dist/ui/components/carousel/swiper/modules/free-mode.js.map +0 -1
- package/dist/ui/components/carousel/swiper/modules/index.js.map +0 -1
- package/dist/ui/components/carousel/swiper/modules/navigation.js.map +0 -1
- package/dist/ui/components/carousel/swiper/modules/pagination.js.map +0 -1
- package/dist/ui/components/carousel/swiper/modules/virtual.js.map +0 -1
- package/dist/ui/components/carousel/swiper/react/context.js.map +0 -1
- package/dist/ui/components/carousel/swiper/react/get-children.js.map +0 -1
- package/dist/ui/components/carousel/swiper/react/swiper-slide.js.map +0 -1
- package/dist/ui/components/carousel/swiper/react/swiper.js.map +0 -1
- package/dist/ui/components/carousel/swiper/react/use-isomorphic-layout-effect.js.map +0 -1
- package/dist/ui/components/carousel/swiper/react/virtual.js.map +0 -1
- package/dist/ui/components/carousel/swiper/shared/classes-to-selector.js.map +0 -1
- package/dist/ui/components/carousel/swiper/shared/classes-to-tokens.js.map +0 -1
- package/dist/ui/components/carousel/swiper/shared/create-element-if-not-defined.js.map +0 -1
- package/dist/ui/components/carousel/swiper/shared/create-shadow.js.map +0 -1
- package/dist/ui/components/carousel/swiper/shared/effect-init.js.map +0 -1
- package/dist/ui/components/carousel/swiper/shared/effect-target.js.map +0 -1
- package/dist/ui/components/carousel/swiper/shared/effect-virtual-transition-end.js.map +0 -1
- package/dist/ui/components/carousel/swiper/shared/get-browser.js.map +0 -1
- package/dist/ui/components/carousel/swiper/shared/get-device.js.map +0 -1
- package/dist/ui/components/carousel/swiper/shared/get-support.js.map +0 -1
- package/dist/ui/components/carousel/swiper/shared/process-lazy-preloader.js.map +0 -1
- package/dist/ui/components/carousel/swiper/shared/utils.js.map +0 -1
- package/dist/ui/components/carousel/swiper/ssr-window/document.js.map +0 -1
- package/dist/ui/components/carousel/swiper/ssr-window/extend.js.map +0 -1
- package/dist/ui/components/carousel/swiper/ssr-window/ssr-window.js.map +0 -1
- package/dist/ui/components/carousel/swiper/ssr-window/window.js.map +0 -1
- package/dist/ui/components/carousel/swiper/swiper-bundle.js.map +0 -1
- package/dist/ui/components/carousel/swiper/swiper-effect-utils.js.map +0 -1
- package/dist/ui/components/carousel/swiper/swiper-react.js.map +0 -1
- package/dist/ui/components/carousel/swiper/swiper.js.map +0 -1
- package/dist/ui/components/carousel/swiper/types/index.js.map +0 -1
- package/dist/ui/components/carousel/swiper/types/shared.js.map +0 -1
- package/dist/ui/components/carousel/swiper/types/swiper-class.js.map +0 -1
- package/dist/ui/components/carousel/swiper/types/swiper-events.js.map +0 -1
- package/dist/ui/components/carousel/swiper/types/swiper-options.js.map +0 -1
- package/dist/ui/styles/libs/slick-carousel.css +0 -305
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/get-changed-params.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/get-changed-params.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/get-element-params.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/get-element-params.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/get-params.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/get-params.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/mount-swiper.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/mount-swiper.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/params-list.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/params-list.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/update-on-virtual-data.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/update-on-virtual-data.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/update-swiper.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/update-swiper.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/utils.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/components-shared/utils.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/breakpoints/getBreakpoint.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/breakpoints/getBreakpoint.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/breakpoints/index.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/breakpoints/index.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/breakpoints/setBreakpoint.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/breakpoints/setBreakpoint.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/check-overflow/index.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/check-overflow/index.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/classes/addClasses.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/classes/addClasses.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/classes/index.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/classes/index.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/classes/removeClasses.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/classes/removeClasses.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/core.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/core.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/defaults.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/defaults.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/index.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/index.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onClick.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onClick.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onDocumentTouchStart.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onDocumentTouchStart.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onLoad.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onLoad.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onResize.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onResize.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onScroll.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onScroll.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onTouchEnd.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onTouchEnd.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onTouchMove.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onTouchMove.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onTouchStart.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events/onTouchStart.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events-emitter.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/events-emitter.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/grab-cursor/index.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/grab-cursor/index.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/grab-cursor/setGrabCursor.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/grab-cursor/setGrabCursor.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/grab-cursor/unsetGrabCursor.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/grab-cursor/unsetGrabCursor.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/loop/index.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/loop/index.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/loop/loopCreate.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/loop/loopCreate.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/loop/loopDestroy.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/loop/loopDestroy.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/loop/loopFix.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/loop/loopFix.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/moduleExtendParams.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/moduleExtendParams.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/modules/observer/observer.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/modules/observer/observer.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/modules/resize/resize.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/modules/resize/resize.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/index.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/index.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slideNext.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slideNext.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slidePrev.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slidePrev.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slideReset.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slideReset.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slideTo.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slideTo.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slideToClickedSlide.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slideToClickedSlide.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slideToClosest.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slideToClosest.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slideToLoop.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/slide/slideToLoop.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/transition/index.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/transition/index.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/transition/setTransition.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/transition/setTransition.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/transition/transitionEmit.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/transition/transitionEmit.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/transition/transitionEnd.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/transition/transitionEnd.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/transition/transitionStart.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/transition/transitionStart.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/translate/getTranslate.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/translate/getTranslate.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/translate/index.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/translate/index.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/translate/maxTranslate.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/translate/maxTranslate.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/translate/minTranslate.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/translate/minTranslate.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/translate/setTranslate.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/translate/setTranslate.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/translate/translateTo.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/translate/translateTo.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/index.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/index.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateActiveIndex.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateActiveIndex.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateAutoHeight.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateAutoHeight.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateClickedSlide.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateClickedSlide.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateProgress.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateProgress.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateSize.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateSize.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateSlides.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateSlides.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateSlidesClasses.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateSlidesClasses.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateSlidesOffset.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateSlidesOffset.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateSlidesProgress.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/core/update/updateSlidesProgress.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/autoplay.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/autoplay.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/effect-fade.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/effect-fade.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/free-mode.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/free-mode.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/index.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/index.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/navigation.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/navigation.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/pagination.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/pagination.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/virtual.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/modules/virtual.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/react/context.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/react/context.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/react/get-children.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/react/get-children.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/react/swiper-slide.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/react/swiper-slide.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/react/swiper.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/react/swiper.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/react/use-isomorphic-layout-effect.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/react/use-isomorphic-layout-effect.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/react/virtual.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/react/virtual.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/classes-to-selector.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/classes-to-selector.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/classes-to-tokens.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/classes-to-tokens.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/create-element-if-not-defined.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/create-element-if-not-defined.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/create-shadow.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/create-shadow.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/effect-init.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/effect-init.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/effect-target.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/effect-target.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/effect-virtual-transition-end.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/effect-virtual-transition-end.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/get-browser.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/get-browser.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/get-device.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/get-device.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/get-support.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/get-support.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/process-lazy-preloader.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/process-lazy-preloader.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/utils.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/shared/utils.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/ssr-window/document.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/ssr-window/document.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/ssr-window/extend.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/ssr-window/extend.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/ssr-window/ssr-window.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/ssr-window/ssr-window.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/ssr-window/window.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/ssr-window/window.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/swiper-bundle.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/swiper-bundle.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/swiper-effect-utils.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/swiper-effect-utils.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/swiper-react.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/swiper-react.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/swiper.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/swiper.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/types/index.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/types/index.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/types/shared.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/types/shared.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/types/swiper-class.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/types/swiper-class.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/types/swiper-events.d.ts +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/types/swiper-events.js +0 -0
- /package/dist/ui/components/carousel/{swiper → carousel-lib}/types/swiper-options.d.ts +0 -0
- /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,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/components/carousel/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA0B;AAE1B,sDAAoD;AACpD,kEAA+D;AAE/D,sDAAoG;AAIpG,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,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"}
|
|
@@ -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' ? '
|
|
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
|
-
|
|
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,
|
|
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,2BAAgE;AAEhE,iDAA8C;AAI9C,0CAA6B;AAE7B,SAAgB,MAAM,CAAC,KAAmB;;IAClC,IAAA,KAAwB,IAAA,gBAAQ,EAAW,KAAK,CAAC,OAAO,IAAI,EAAE,CAAC,EAA9D,OAAO,QAAA,EAAE,UAAU,QAA2C,CAAA;IAC/D,IAAA,KAA4B,IAAA,gBAAQ,EAAC,KAAK,CAAC,EAA1C,SAAS,QAAA,EAAE,YAAY,QAAmB,CAAA;IAEjD,IAAM,SAAS,GAAG,IAAA,0BAAqB,GAAE,CAAA;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AAC,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,YAAmB,EAAE,WAAW,EAAE,KAAK,CAAC,YAAmB,EAAE;wBAC/E,CAAC,CAAC,SAAS,EAEf,SAAS,EAAE,CAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,0CAAE,MAAM,IAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EACjD,MAAM,aACJ,UAAU,EAAE,UAAC,IAAI,IAAK,OAAA,uBAAM,IAAI,KAAE,MAAM,EAAE,eAAe,IAAG,EAAtC,CAAsC,IACzD,CAAC,KAAK,CAAC,YAAY,IAAI,4BAAY,CAAC,IAEzC,IACW,EAEd,CAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,SAAS,0CAAE,eAAe,EAAC,CAAC,CAAC,CACnC,gCAAK,SAAS,EAAC,kBAAkB,YAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,SAAS,0CAAE,eAAe,GAAO,CAC5E,CAAC,CAAC,CAAC,CACF,CAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,SAAS,0CAAE,OAAO,KAAI,CAC3B,mCAAQ,SAAS,EAAC,KAAK,EAAC,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,YACpE,uBAAC,SAAI,IAAC,IAAI,EAAC,UAAU,GAAG,GACjB,CACV,CACF,IACe,CACnB,CAAA;AACH,CAAC;AAjHD,wBAiHC"}
|
|
File without changes
|
|
@@ -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
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
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
|
-
}
|
|
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
|
-
}, [
|
|
124
|
+
}, [KEY, cache === null || cache === void 0 ? void 0 : cache.start]);
|
|
124
125
|
(0, react_1.useEffect)(function () {
|
|
125
|
-
if (
|
|
126
|
-
if (
|
|
127
|
-
|
|
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;
|
|
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;QARd,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,SAAe,OAAO;4DAAC,EAAsB;;gBAApB,GAAG,SAAA;;;;;wBAExB,IAAI,OAAO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W,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":"
|
|
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,E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oBACd,KAAK,wBACA,KAAK,CAAC,KAAK,gBACb,GAAG,mCACC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,GAChB,UAAU,KACb,MAAM,EAAE;4BACN,CAAC;4BAAA,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,UAAU,CAAC,CAAC,MAAM,CAAC,EAAE,GAAG,KAAA,EAAE,CAAC,CAAA;wBACnD,CAAC,SAEJ;iBACF,CAAC;YAXa,CAWb,CAAC,CAAA;QACL,CAAC;KACF,CAAC,EA5CkD,CA4ClD,CAAC,CAAA;AACL,CAAC,CAAA;AA9CY,QAAA,UAAU,cA8CtB"}
|
package/dist/ui/styles/reset.css
CHANGED
|
@@ -24,8 +24,6 @@ html {
|
|
|
24
24
|
gap: 15px;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
27
|
@-ms-viewport {
|
|
30
28
|
width: device-width;
|
|
31
29
|
}
|
|
@@ -46,9 +44,8 @@ section {
|
|
|
46
44
|
|
|
47
45
|
body {
|
|
48
46
|
margin: 0;
|
|
49
|
-
font-family: -apple-system, BlinkMacSystemFont,
|
|
50
|
-
|
|
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=
|
|
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=
|
|
197
|
-
input:not([type=
|
|
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=
|
|
254
|
-
[type=
|
|
255
|
-
[type=
|
|
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=
|
|
261
|
-
[type=
|
|
262
|
-
[type=
|
|
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=
|
|
267
|
-
input[type=
|
|
263
|
+
input[type='radio'],
|
|
264
|
+
input[type='checkbox'] {
|
|
268
265
|
box-sizing: border-box;
|
|
269
266
|
padding: 0;
|
|
270
267
|
}
|
|
271
|
-
input[type=
|
|
272
|
-
input[type=
|
|
273
|
-
input[type=
|
|
274
|
-
input[type=
|
|
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=
|
|
304
|
-
[type=
|
|
300
|
+
[type='number']::-webkit-inner-spin-button,
|
|
301
|
+
[type='number']::-webkit-outer-spin-button {
|
|
305
302
|
height: auto;
|
|
306
303
|
}
|
|
307
|
-
[type=
|
|
304
|
+
[type='search'] {
|
|
308
305
|
outline-offset: -2px;
|
|
309
306
|
-webkit-appearance: none;
|
|
310
307
|
}
|
|
311
308
|
|
|
312
|
-
[type=
|
|
313
|
-
[type=
|
|
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.
|
|
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
|
+
}
|