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
package/dist/infinity-forge.css
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
a{text-decoration:unset}html{font-size:10px!important}a,address,b,h1,h2,h3,h4,h5,i,label,li,p,span,strong,td,time{margin-bottom:0;text-rendering:optimizeLegibility!important}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}[class*=-bold]{font-weight:700}[class*=-semibold]{font-weight:600}[class*=-medium]{font-weight:500}[class*=-regular]{font-weight:400}[class*=-light]{font-weight:300}[class*=font-80]{font-size:8rem}[class*=font-72]{font-size:7.2rem}[class*=font-70]{font-size:7rem}[class*=font-64]{font-size:6.4rem}[class*=font-50]{font-size:5rem}[class*=font-48]{font-size:4.8rem}[class*=font-40]{font-size:4rem}[class*=font-36]{font-size:3.6rem}[class*=font-32]{font-size:3.2rem}[class*=font-24]{font-size:2.4rem}[class*=font-20]{font-size:2rem}[class*=font-18]{font-size:1.8rem}[class*=font-16]{font-size:1.6rem}[class*=font-15]{font-size:1.5rem}[class*=font-14]{font-size:1.4rem}[class*=font-13]{font-size:1.3rem}[class*=font-12]{font-size:1.2rem}@media only screen and (max-width:1600px){[class*=font-80]{font-size:6rem}[class*=font-72]{font-size:5.8rem}[class*=font-70]{font-size:5.5rem}[class*=font-64]{font-size:6rem}[class*=font-50]{font-size:4.8rem}[class*=font-48]{font-size:4.4rem}[class*=font-40]{font-size:3.8rem}[class*=font-32]{font-size:3rem}[class*=font-24]{font-size:2.3rem}[class*=font-20]{font-size:1.9rem}[class*=font-18]{font-size:1.7rem}[class*=font-16]{font-size:1.55rem}}@media only screen and (max-width:1400px){[class*=font-80]{font-size:5.4rem}[class*=font-72]{font-size:5.2rem}[class*=font-70]{font-size:4.9rem}[class*=font-64]{font-size:5.6rem}[class*=font-50]{font-size:4.6rem}[class*=font-48]{font-size:4.2rem}[class*=font-40]{font-size:3.6rem}[class*=font-32]{font-size:2.8rem}[class*=font-24]{font-size:2rem}[class*=font-20]{font-size:1.8rem}[class*=font-18]{font-size:1.65rem}[class*=font-16]{font-size:1.5rem}[class*=font-13]{font-size:1.2rem}}@media only screen and (max-width:1200px){[class*=font-80]{font-size:5.5rem}[class*=font-72]{font-size:4.8rem}[class*=font-70]{font-size:4.6rem}[class*=font-64]{font-size:5.2rem}[class*=font-50]{font-size:4.2rem}[class*=font-48]{font-size:4rem}[class*=font-40]{font-size:3.2rem}[class*=font-32]{font-size:2.4rem}[class*=font-24]{font-size:1.9rem}[class*=font-20]{font-size:1.75rem}[class*=font-18]{font-size:1.6rem}[class*=font-16]{font-size:1.45rem}}@media only screen and (max-width:1024px){[class*=font-80]{font-size:5.2rem}[class*=font-72]{font-size:4.5rem}[class*=font-70]{font-size:4.3rem}[class*=font-64]{font-size:4.4rem}[class*=font-50]{font-size:4rem}[class*=font-48]{font-size:3.8rem}[class*=font-40]{font-size:3rem}[class*=font-32]{font-size:2.2rem}[class*=font-24]{font-size:1.8rem}[class*=font-20]{font-size:1.7rem}[class*=font-18]{font-size:1.55rem}[class*=font-16]{font-size:1.35rem}[class*=font-14]{font-size:1.3rem}}@media only screen and (max-width:900px){[class*=font-80]{font-size:5rem}[class*=font-72]{font-size:3.8rem}[class*=font-70]{font-size:3.6rem}[class*=font-64]{font-size:3.8rem}[class*=font-48]{font-size:3.6rem}[class*=font-40]{font-size:2.8rem}[class*=font-32]{font-size:2rem}}@media only screen and (max-width:768px){[class*=font-80]{font-size:4.5rem}[class*=font-72]{font-size:3.5rem}[class*=font-70]{font-size:3rem}[class*=font-64]{font-size:3.4rem}[class*=font-50]{font-size:3.8rem}[class*=font-48]{font-size:3.4rem}[class*=font-40]{font-size:2.6rem}[class*=font-32]{font-size:1.9rem}[class*=font-24]{font-size:1.7rem}[class*=font-20]{font-size:1.65rem}[class*=font-18]{font-size:1.5rem}[class*=font-16]{font-size:1.35rem}[class*=font-13]{font-size:1.15rem}}@media only screen and (max-width:650px){[class*=font-80]{font-size:4rem}[class*=font-64]{font-size:3.2rem}[class*=font-50]{font-size:3.5rem}[class*=font-48]{font-size:3.2rem}[class*=font-40]{font-size:2.5rem}[class*=font-32]{font-size:1.8rem}[class*=font-24]{font-size:1.65rem}[class*=font-18]{font-size:1.4rem}[class*=font-16]{font-size:1.3rem}}@media only screen and (max-width:500px){[class*=font-80]{font-size:3.5rem}[class*=font-64]{font-size:2.8rem}[class*=font-50]{font-size:3rem}[class*=font-48]{font-size:2.8rem}[class*=font-40]{font-size:2.3rem}[class*=font-24]{font-size:1.6rem}[class*=font-18]{font-size:1.25rem}[class*=font-14],[class*=font-16]{font-size:1.2rem}}@media only screen and (max-width:390px){[class*=font-72],[class*=font-80]{font-size:3rem}[class*=font-64]{font-size:2.6rem}[class*=font-50]{font-size:2.8rem}[class*=font-48]{font-size:2.6rem}[class*=font-40]{font-size:2.1rem}[class*=font-32]{font-size:1.7rem}[class*=font-24]{font-size:1.4rem}[class*=font-18]{font-size:1.2rem}}*,:after,:before{box-sizing:border-box}html{font-family:Roboto,sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}@-ms-viewport{width:device-width}article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{background-color:#fff;color:#212529;font-family:Roboto,sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica Neue,Arial,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-size:1rem;font-weight:400;line-height:1.5;margin:0;text-align:left}[tabindex="-1"]:focus{outline:none!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;margin-top:0}p{margin-bottom:1rem;margin-top:0}abbr[data-original-title],abbr[title]{border-bottom:0;cursor:help;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}address{font-style:normal;line-height:inherit}address,dl,ol,ul{margin-bottom:1rem}dl,ol,ul{margin-top:0}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{background-color:transparent;color:#007bff;text-decoration:none;-webkit-text-decoration-skip:objects}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]),a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}pre{margin-bottom:1rem;margin-top:0;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{border-style:none;vertical-align:middle}svg:not(:root){overflow:hidden}[role=button],a,area,button,input:not([type=range]),label,select,summary,textarea{-ms-touch-action:manipulation;touch-action:manipulation}table{border-collapse:collapse}caption{caption-side:bottom;color:#868e96;padding-bottom:.75rem;padding-top:.75rem;text-align:left}th{text-align:inherit}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{border:0;margin:0;min-width:0;padding:0}legend{color:inherit;display:block;font-size:1.5rem;line-height:inherit;margin-bottom:.5rem;max-width:100%;padding:0;white-space:normal;width:100%}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:none;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}ul,ul li{list-style-type:none;padding-left:0}@keyframes placeHolderShimmer{0%{background-position:0 0}to{background-position:100vw 0}}
|
|
2
2
|
:root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{left:0;opacity:0;pointer-events:none;position:absolute;top:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{background:inherit;position:absolute}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay) ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay) ease-in}.styles-module_tooltip__mnnfp{border-radius:3px;font-size:90%;padding:8px 16px;width:max-content}.styles-module_arrow__K0L3T{height:8px;width:8px}[class*=react-tooltip__place-top]>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*=react-tooltip__place-right]>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*=react-tooltip__place-bottom]>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*=react-tooltip__place-left]>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}
|
|
3
3
|
*,:after,:before{box-sizing:border-box}a,button{cursor:pointer;outline:unset!important}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}.row{display:flex;gap:15px}@-ms-viewport{width:device-width}article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{background-color:#fff;color:#212529;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-size:1rem;font-weight:400;line-height:1.5;margin:0;text-align:left}[tabindex="-1"]:focus{outline:none!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;margin-top:0}p{margin-bottom:1rem;margin-top:0}abbr[data-original-title],abbr[title]{border-bottom:0;cursor:help;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}address{font-style:normal;line-height:inherit}address,dl,ol,ul{margin-bottom:1rem}dl,ol,ul{margin-top:0}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{background-color:transparent;color:#007bff;text-decoration:none;-webkit-text-decoration-skip:objects}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]),a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}pre{margin-bottom:1rem;margin-top:0;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{border-style:none;vertical-align:middle}svg:not(:root){overflow:hidden}[role=button],a,area,button,input:not([type=range]),label,select,summary,textarea{-ms-touch-action:manipulation;touch-action:manipulation}table{border-collapse:collapse}caption{caption-side:bottom;color:#868e96;padding-bottom:.75rem;padding-top:.75rem;text-align:left}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{border:0;margin:0;min-width:0;padding:0}legend{color:inherit;display:block;font-size:1.5rem;line-height:inherit;margin-bottom:.5rem;max-width:100%;padding:0;white-space:normal;width:100%}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:none;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}ul,ul li{list-style-type:none;padding-left:0}@keyframes placeHolderShimmer{0%{background-position:0 0}to{background-position:100vw 0}}.infinity_forge_modal{position:relative;z-index:100000000}
|
|
4
|
-
.slick-slider{box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-ms-touch-action:pan-y;touch-action:pan-y;-khtml-user-select:none;-webkit-tap-highlight-color:transparent}.slick-list,.slick-slider{display:block;position:relative}.slick-list{margin:0;overflow:hidden;padding:0}.slick-list:focus{outline:none}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-slider .slick-list,.slick-slider .slick-track{-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0);transform:translateZ(0)}.slick-track{display:block;left:0;margin-left:auto;margin-right:auto;position:relative;top:0}.slick-track:after,.slick-track:before{content:"";display:table}.slick-track:after{clear:both}.slick-loading .slick-track{visibility:hidden}.slick-slide{display:none;float:left;height:100%;min-height:1px}[dir=rtl] .slick-slide{float:right}.slick-slide img{display:block}.slick-slide.slick-loading img{display:none}.slick-slide.dragging img{pointer-events:none}.slick-initialized .slick-slide{display:block}.slick-loading .slick-slide{visibility:hidden}.slick-vertical .slick-slide{border:1px solid transparent;display:block;height:auto}.slick-arrow.slick-hidden{display:none}.slick-next,.slick-prev{border:none;cursor:pointer;display:block;font-size:0;height:20px;line-height:0;padding:0;position:absolute;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:20px}.slick-next,.slick-next:focus,.slick-next:hover,.slick-prev,.slick-prev:focus,.slick-prev:hover{background:transparent;color:transparent;outline:none}.slick-next:focus:before,.slick-next:hover:before,.slick-prev:focus:before,.slick-prev:hover:before{opacity:1}.slick-next.slick-disabled:before,.slick-prev.slick-disabled:before{opacity:.25}.slick-next:before,.slick-prev:before{color:#fff;font-family:slick;font-size:20px;line-height:1;opacity:.75;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.slick-prev{left:-25px}[dir=rtl] .slick-prev{left:auto;right:-25px}.slick-prev:before{content:"←"}[dir=rtl] .slick-prev:before{content:"→"}.slick-next{right:-25px}[dir=rtl] .slick-next{left:-25px;right:auto}.slick-next:before{content:"→"}[dir=rtl] .slick-next:before{content:"←"}.slick-dotted.slick-slider{margin-bottom:30px}.slick-dots{bottom:-25px;display:block;list-style:none;margin:0;padding:0;position:absolute;text-align:center;width:100%}.slick-dots li{display:inline-block;margin:0 5px;padding:0;position:relative}.slick-dots li,.slick-dots li button{cursor:pointer;height:20px;width:20px}.slick-dots li button{background:transparent;border:0;color:transparent;display:block;font-size:0;line-height:0;outline:none;padding:5px}.slick-dots li button:focus,.slick-dots li button:hover{outline:none}.slick-dots li button:focus:before,.slick-dots li button:hover:before{opacity:1}.slick-dots li button:before{color:#000;content:"•";font-family:slick;font-size:6px;height:20px;left:0;line-height:20px;opacity:.25;position:absolute;text-align:center;top:0;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.slick-dots li.slick-active button:before{color:#000;opacity:.75}
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
export type Filter = {
|
|
2
|
+
data: string;
|
|
3
|
+
placeholder?: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
options: {
|
|
6
|
+
value: string;
|
|
7
|
+
text: string;
|
|
8
|
+
}[];
|
|
9
|
+
search: null;
|
|
10
|
+
};
|
|
1
11
|
export type TableConfiguration = {
|
|
2
12
|
columns: {
|
|
3
13
|
data: string;
|
|
@@ -5,18 +15,10 @@ export type TableConfiguration = {
|
|
|
5
15
|
orderable: boolean;
|
|
6
16
|
searchable: boolean;
|
|
7
17
|
}[];
|
|
8
|
-
filters:
|
|
9
|
-
data: string;
|
|
10
|
-
label: string;
|
|
11
|
-
options: {
|
|
12
|
-
value: string;
|
|
13
|
-
text: string;
|
|
14
|
-
}[];
|
|
15
|
-
search: null;
|
|
16
|
-
}[];
|
|
18
|
+
filters: Filter[];
|
|
17
19
|
exports?: ExportTable[] | null;
|
|
18
20
|
};
|
|
19
21
|
export type ExportTable = {
|
|
20
22
|
label: string;
|
|
21
|
-
type:
|
|
23
|
+
type: 'pdf' | 'csv' | 'xlsx';
|
|
22
24
|
};
|
|
@@ -38,7 +38,11 @@ function InputSearch(_a) {
|
|
|
38
38
|
onChange(value);
|
|
39
39
|
}
|
|
40
40
|
}, [debouncedValue]);
|
|
41
|
-
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'InputSearch', children: (0, jsx_runtime_1.
|
|
41
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'InputSearch', children: (0, jsx_runtime_1.jsx)(S.SearchInput, { children: (0, jsx_runtime_1.jsx)(ui_1.Input, { icon: {
|
|
42
|
+
size: 17,
|
|
43
|
+
color: "#828282",
|
|
44
|
+
name: "LupaIcon"
|
|
45
|
+
}, className: 'font-14-regular', id: 'search', type: 'text', name: 'search', onChangeInput: function (value) { return setValue(value); }, placeholder: 'Pesquisar...' }) }) }));
|
|
42
46
|
}
|
|
43
47
|
exports.InputSearch = InputSearch;
|
|
44
48
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/input-search/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA2C;AAE3C,mCAAsC;AACtC,2BAAyC;AAIzC,0CAA6B;AAE7B,SAAgB,WAAW,CAAC,EAA0B;QAAxB,QAAQ,cAAA;IAC9B,IAAA,KAAoB,IAAA,gBAAQ,EAAgB,IAAI,CAAC,EAAhD,KAAK,QAAA,EAAE,QAAQ,QAAiC,CAAA;IAEvD,IAAM,cAAc,GAAG,IAAA,oBAAW,EAAC,KAAK,EAAE,GAAG,CAAC,CAAA;IAE9C,IAAA,iBAAS,EAAC;QACR,IAAI,cAAc,KAAK,IAAI,EAAE,CAAC;YAC5B,QAAQ,CAAC,KAAK,CAAC,CAAA;QACjB,CAAC;IACH,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,CAAA;IAEpB,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,aAAa,YACvB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/input-search/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA2C;AAE3C,mCAAsC;AACtC,2BAAyC;AAIzC,0CAA6B;AAE7B,SAAgB,WAAW,CAAC,EAA0B;QAAxB,QAAQ,cAAA;IAC9B,IAAA,KAAoB,IAAA,gBAAQ,EAAgB,IAAI,CAAC,EAAhD,KAAK,QAAA,EAAE,QAAQ,QAAiC,CAAA;IAEvD,IAAM,cAAc,GAAG,IAAA,oBAAW,EAAC,KAAK,EAAE,GAAG,CAAC,CAAA;IAE9C,IAAA,iBAAS,EAAC;QACR,IAAI,cAAc,KAAK,IAAI,EAAE,CAAC;YAC5B,QAAQ,CAAC,KAAK,CAAC,CAAA;QACjB,CAAC;IACH,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,CAAA;IAEpB,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,aAAa,YACvB,uBAAC,CAAC,CAAC,WAAW,cACZ,uBAAC,UAAK,IACJ,IAAI,EAAE;oBACJ,IAAI,EAAE,EAAE;oBACR,KAAK,EAAE,SAAS;oBAChB,IAAI,EAAE,UAAU;iBACjB,EACD,SAAS,EAAC,iBAAiB,EAC3B,EAAE,EAAC,QAAQ,EACX,IAAI,EAAC,MAAM,EACX,IAAI,EAAC,QAAQ,EACb,aAAa,EAAE,UAAC,KAAa,IAAK,OAAA,QAAQ,CAAC,KAAK,CAAC,EAAf,CAAe,EACjD,WAAW,EAAC,cAAc,GAC1B,GACY,GACV,CACT,CAAA;AACH,CAAC;AA9BD,kCA8BC"}
|
|
@@ -9,6 +9,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.SearchInput = void 0;
|
|
11
11
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
-
exports.SearchInput = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n --iconSize: 17px;\n --leftPadding: 15px;\n\n width: fit-content;\n position: relative;\n z-index: 22;\n\n
|
|
12
|
+
exports.SearchInput = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n --iconSize: 17px;\n --leftPadding: 15px;\n\n width: fit-content;\n position: relative;\n z-index: 22;\n\n input {\n width: 100%;\n height: var(--inputHeight);\n border-radius: 5px;\n border-radius: var(--borderRadius);\n border: 1px solid #e1e1e1;\n transition: all 0.02s ease-in-out;\n padding-left: calc(var(--iconSize) + var(--leftPadding) + 10px);\n\n &::placeholder {\n color: #828282;\n }\n\n &:focus {\n outline: none;\n border: 1px solid #2684ff;\n\n &:hover {\n border: 2px solid #2684ff;\n }\n }\n }\n"], ["\n --iconSize: 17px;\n --leftPadding: 15px;\n\n width: fit-content;\n position: relative;\n z-index: 22;\n\n input {\n width: 100%;\n height: var(--inputHeight);\n border-radius: 5px;\n border-radius: var(--borderRadius);\n border: 1px solid #e1e1e1;\n transition: all 0.02s ease-in-out;\n padding-left: calc(var(--iconSize) + var(--leftPadding) + 10px);\n\n &::placeholder {\n color: #828282;\n }\n\n &:focus {\n outline: none;\n border: 1px solid #2684ff;\n\n &:hover {\n border: 2px solid #2684ff;\n }\n }\n }\n"])));
|
|
13
13
|
var templateObject_1;
|
|
14
14
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/input-search/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,WAAW,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/input-search/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,WAAW,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,+oBAAA,4kBA8BvC,KAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/pages/menus/page.tsx"],"names":[],"mappings":";;;;AAEA,mCAAgH;AAChH,iCAA+D;AAC/D,yCAA+C;AAE/C,SAAgB,kBAAkB;IAChC,IAAM,QAAQ,GAAG,YAAY,CAAA;IAErB,IAAA,IAAI,GAAK,IAAA,qBAAY,GAAE,KAAnB,CAAmB;IAC/B,IAAM,SAAS,GAAG,IAAA,oBAAY,EAAC,QAAQ,CAAC,CAAA;IACxC,IAAM,WAAW,GAAG,IAAA,uBAAc,EAAC,QAAQ,CAAC,CAAA;IACpC,IAAA,aAAa,GAAK,IAAA,sBAAc,EAAC,QAAQ,CAAC,cAA7B,CAA6B;IAE1C,IAAA,KAAK,GAAK,IAAA,iBAAQ,EAA2B;QACnD,KAAK,EAAE;YACL,IAAI,MAAA;YACJ,KAAK,gBAAA;YACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"page.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/pages/menus/page.tsx"],"names":[],"mappings":";;;;AAEA,mCAAgH;AAChH,iCAA+D;AAC/D,yCAA+C;AAE/C,SAAgB,kBAAkB;IAChC,IAAM,QAAQ,GAAG,YAAY,CAAA;IAErB,IAAA,IAAI,GAAK,IAAA,qBAAY,GAAE,KAAnB,CAAmB;IAC/B,IAAM,SAAS,GAAG,IAAA,oBAAY,EAAC,QAAQ,CAAC,CAAA;IACxC,IAAM,WAAW,GAAG,IAAA,uBAAc,EAAC,QAAQ,CAAC,CAAA;IACpC,IAAA,aAAa,GAAK,IAAA,sBAAc,EAAC,QAAQ,CAAC,cAA7B,CAA6B;IAE1C,IAAA,KAAK,GAAK,IAAA,iBAAQ,EAA2B;QACnD,KAAK,EAAE;YACL,IAAI,MAAA;YACJ,KAAK,gBAAA;YACL,QAAQ,EAAE;gBACR,UAAU,EAAE,QAAQ;aACrB;YACD,SAAS,oBAAA;YACT,qBAAqB,EAAE,IAAI;YAC3B,WAAW,EAAE,IAAI;SAClB;QACD,OAAO,EAAE;YACP,YAAY,EAAE,yBAAyB;SACxC;QACD,oBAAoB,EAAE;YACpB,OAAO,iBAAA;YACP,OAAO,EAAE;gBACP,IAAI,EAAE,SAAS;gBACf,MAAM,EAAE,WAAW;gBACnB,MAAM,EAAE,aAAa;aACtB;SACF;KACF,CAAC,MAtBW,CAsBX;IAEF,OAAO,CACL,uBAAC,yBAAgB,cACf,uBAAC,eAAM,cACL,uBAAC,oBAAW,IAAC,KAAK,EAAC,OAAO,YAAE,KAAK,GAAe,GACzC,GACQ,CACpB,CAAA;AACH,CAAC;AAvCD,gDAuCC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/pages/users/page.tsx"],"names":[],"mappings":";;;;AAEA,mCAAgH;AAChH,iCAA+D;AAC/D,yCAA+C;AAE/C,SAAgB,iBAAiB;IAC/B,IAAM,QAAQ,GAAG,aAAmC,CAAA;IAE5C,IAAA,IAAI,GAAK,IAAA,qBAAY,GAAE,KAAnB,CAAmB;IAC/B,IAAM,SAAS,GAAG,IAAA,oBAAY,EAAC,QAAQ,CAAC,CAAA;IACxC,IAAM,WAAW,GAAG,IAAA,uBAAc,EAAC,QAAQ,CAAC,CAAA;IACpC,IAAA,aAAa,GAAK,IAAA,sBAAc,EAAC,QAAQ,CAAC,cAA7B,CAA6B;IAE1C,IAAA,KAAK,GAAK,IAAA,iBAAQ,EAA2B;QACnD,KAAK,EAAE;YACL,IAAI,MAAA;YACJ,KAAK,gBAAA;YACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"page.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/pages/users/page.tsx"],"names":[],"mappings":";;;;AAEA,mCAAgH;AAChH,iCAA+D;AAC/D,yCAA+C;AAE/C,SAAgB,iBAAiB;IAC/B,IAAM,QAAQ,GAAG,aAAmC,CAAA;IAE5C,IAAA,IAAI,GAAK,IAAA,qBAAY,GAAE,KAAnB,CAAmB;IAC/B,IAAM,SAAS,GAAG,IAAA,oBAAY,EAAC,QAAQ,CAAC,CAAA;IACxC,IAAM,WAAW,GAAG,IAAA,uBAAc,EAAC,QAAQ,CAAC,CAAA;IACpC,IAAA,aAAa,GAAK,IAAA,sBAAc,EAAC,QAAQ,CAAC,cAA7B,CAA6B;IAE1C,IAAA,KAAK,GAAK,IAAA,iBAAQ,EAA2B;QACnD,KAAK,EAAE;YACL,IAAI,MAAA;YACJ,KAAK,gBAAA;YACL,QAAQ,EAAE;gBACR,UAAU,EAAE,QAAQ;aACrB;YACD,SAAS,oBAAA;YACT,WAAW,EAAE,IAAI;SAClB;QACD,OAAO,EAAE;YACP,SAAS,EAAE,EAAE;YACb,YAAY,EAAE,4BAA4B;SAC3C;QACD,oBAAoB,EAAE;YACpB,OAAO,iBAAA;YACP,OAAO,EAAE;gBACP,IAAI,EAAE,SAAS;gBACf,MAAM,EAAE,WAAW;gBACnB,MAAM,EAAE,aAAa;aACtB;SACF;KACF,CAAC,MAtBW,CAsBX;IAEF,OAAO,CACL,uBAAC,yBAAgB,cACf,uBAAC,eAAM,cACL,uBAAC,oBAAW,IAAC,KAAK,EAAC,eAAU,YAAE,KAAK,GAAe,GAC5C,GACQ,CACpB,CAAA;AACH,CAAC;AAvCD,8CAuCC"}
|
package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function ActiveFilters(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.ActiveFilters = void 0;
|
|
27
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
+
var router_1 = require("next/router");
|
|
29
|
+
var ui_1 = require("../../../../../../../../ui/index.js");
|
|
30
|
+
var S = __importStar(require("./styles.js"));
|
|
31
|
+
function ActiveFilters() {
|
|
32
|
+
var _a, _b;
|
|
33
|
+
var router = (0, router_1.useRouter)();
|
|
34
|
+
var queryFilters = (_a = router === null || router === void 0 ? void 0 : router.query) === null || _a === void 0 ? void 0 : _a.filters;
|
|
35
|
+
var base64FiltersDecoded = (0, ui_1.fromBase64ToString)(queryFilters);
|
|
36
|
+
if ((!base64FiltersDecoded.filters || base64FiltersDecoded.filters.length === 0) && !router.query.search) {
|
|
37
|
+
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
|
|
38
|
+
}
|
|
39
|
+
return ((0, jsx_runtime_1.jsxs)(S.ActiveFilters, { children: [(_b = base64FiltersDecoded === null || base64FiltersDecoded === void 0 ? void 0 : base64FiltersDecoded.filters) === null || _b === void 0 ? void 0 : _b.map(function (filter) {
|
|
40
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: 'filter_item', children: [(0, jsx_runtime_1.jsxs)("span", { children: [filter.data, " - ", filter.search] }), (0, jsx_runtime_1.jsx)("button", { type: 'button', onClick: function () {
|
|
41
|
+
var filters = base64FiltersDecoded.filters.filter(function (f) { return f.data !== filter.data && f.search !== filter.search; });
|
|
42
|
+
(0, ui_1.updateRoute)({ params: { filters: (0, ui_1.toBase64)({ filters: filters }) }, router: router });
|
|
43
|
+
}, children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'CloseIcon' }) })] }, filter.data + filter.search));
|
|
44
|
+
}), router.query.search && ((0, jsx_runtime_1.jsxs)("div", { className: 'filter_item', children: [(0, jsx_runtime_1.jsxs)("span", { children: ["Busca: ", router.query.search] }), (0, jsx_runtime_1.jsx)("button", { type: 'button', onClick: function () {
|
|
45
|
+
(0, ui_1.updateRoute)({ params: { search: undefined }, router: router });
|
|
46
|
+
}, children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'CloseIcon' }) })] }))] }));
|
|
47
|
+
}
|
|
48
|
+
exports.ActiveFilters = ActiveFilters;
|
|
49
|
+
//# sourceMappingURL=index.js.map
|
package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/hooks/ui/use-table/components/table/active-filters/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sCAAuC;AAEvC,2BAAsE;AAEtE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EAED,MAAM,CAAC,KAAK,CAAC,MAAM,IAAI,CACtB,iCAAK,SAAS,EAAC,aAAa,aAC1B,wDAAc,MAAM,CAAC,KAAK,CAAC,MAAM,IAAQ,EAEzC,mCACE,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE;4BACP,IAAA,gBAAW,EAAC,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,MAAM,QAAA,EAAE,CAAC,CAAA;wBACxD,CAAC,YAED,uBAAC,SAAI,IAAC,IAAI,EAAC,WAAW,GAAG,GAClB,IACL,CACP,IACe,CACnB,CAAA;AACH,CAAC;AAlDD,sCAkDC"}
|
package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/styles.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const ActiveFilters: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
+
ref?: import("react").Ref<HTMLDivElement>;
|
|
4
|
+
}, never>> & string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
+
};
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ActiveFilters = void 0;
|
|
11
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
+
exports.ActiveFilters = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n gap: 10px;\n margin-bottom: 20px;\n\n .filter_item {\n background-color: #f1f1f1;\n color: #333;\n min-height: 28px;\n border-radius: 5px;\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 5px 15px;\n display: flex;\n align-items: center;\n justify-content: center;\n color: #4f4f4f;\n font-size: 13px;\n\n button {\n background-color: transparent;\n padding: 0;\n border: 0;\n display: flex;\n color: currentColor;\n\n svg {\n height: 16px;\n fill: currentColor;\n width: auto;\n\n &:hover {\n color: #000;\n }\n }\n }\n }\n"], ["\n display: flex;\n gap: 10px;\n margin-bottom: 20px;\n\n .filter_item {\n background-color: #f1f1f1;\n color: #333;\n min-height: 28px;\n border-radius: 5px;\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 5px 15px;\n display: flex;\n align-items: center;\n justify-content: center;\n color: #4f4f4f;\n font-size: 13px;\n\n button {\n background-color: transparent;\n padding: 0;\n border: 0;\n display: flex;\n color: currentColor;\n\n svg {\n height: 16px;\n fill: currentColor;\n width: auto;\n\n &:hover {\n color: #000;\n }\n }\n }\n }\n"])));
|
|
13
|
+
var templateObject_1;
|
|
14
|
+
//# sourceMappingURL=styles.js.map
|
package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/styles.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/hooks/ui/use-table/components/table/active-filters/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,aAAa,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,qvBAAA,krBAsCzC,KAAA"}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function Filters({
|
|
3
|
-
filters: TableConfiguration['filters'];
|
|
4
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { ITableProps } from '../interfaces.js';
|
|
2
|
+
export declare function Filters({ configs, tableInformations }: ITableProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -87,8 +87,11 @@ var ui_1 = require("../../../../../../../../ui/index.js");
|
|
|
87
87
|
var S = __importStar(require("./styles.js"));
|
|
88
88
|
function Filters(_a) {
|
|
89
89
|
var _this = this;
|
|
90
|
-
var _b;
|
|
91
|
-
var
|
|
90
|
+
var _b, _c;
|
|
91
|
+
var configs = _a.configs, tableInformations = _a.tableInformations;
|
|
92
|
+
var configsFilter = configs.customFilters || [];
|
|
93
|
+
var apiFilters = (tableInformations === null || tableInformations === void 0 ? void 0 : tableInformations.filters) || [];
|
|
94
|
+
var filters = __spreadArray(__spreadArray([], apiFilters, true), configsFilter, true);
|
|
92
95
|
var router = (0, router_1.useRouter)();
|
|
93
96
|
var queryFilters = (_b = router === null || router === void 0 ? void 0 : router.query) === null || _b === void 0 ? void 0 : _b.filters;
|
|
94
97
|
var base64FiltersDecoded = (0, ui_1.fromBase64ToString)(queryFilters);
|
|
@@ -101,7 +104,10 @@ function Filters(_a) {
|
|
|
101
104
|
function updateFilters(filters) {
|
|
102
105
|
(0, ui_1.updateRoute)({ params: { filters: (0, ui_1.toBase64)({ filters: filters }) }, router: router });
|
|
103
106
|
}
|
|
104
|
-
|
|
107
|
+
if (filters.length === 0) {
|
|
108
|
+
return (0, jsx_runtime_1.jsx)("div", {});
|
|
109
|
+
}
|
|
110
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Filters', children: (0, jsx_runtime_1.jsx)(S.Filters, { children: (0, jsx_runtime_1.jsx)(ui_1.FormHandler, { initialData: __assign(__assign({}, initialData), { search: (_c = router === null || router === void 0 ? void 0 : router.query) === null || _c === void 0 ? void 0 : _c.search }), children: (0, jsx_runtime_1.jsxs)("div", { className: 'filters', style: { gridTemplateColumns: "repeat(".concat(filters.length + 1, ", 1fr)") }, children: [filters === null || filters === void 0 ? void 0 : filters.map(function (filter) { return ((0, jsx_runtime_1.jsx)(ui_1.Select, { name: filter.data, label: filter.label, placeholder: filter.placeholder || filter.label, onlyOneValue: true, onChangeSelect: function (value) { return __awaiter(_this, void 0, void 0, function () {
|
|
105
111
|
var filterSelected, filterAlredyExist, remapedFilters;
|
|
106
112
|
var _a, _b;
|
|
107
113
|
return __generator(this, function (_c) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/hooks/ui/use-table/components/table/filters/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sCAAuC;AAEvC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/hooks/ui/use-table/components/table/filters/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sCAAuC;AAEvC,mCAAsC;AACtC,2BAA4F;AAI5F,0CAA6B;AAE7B,SAAgB,OAAO,CAAC,EAA2C;IAAnE,iBAqEC;;QArEyB,OAAO,aAAA,EAAE,iBAAiB,uBAAA;IAClD,IAAM,aAAa,GAAG,OAAO,CAAC,aAAa,IAAI,EAAE,CAAA;IACjD,IAAM,UAAU,GAAG,CAAA,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,OAAO,KAAI,EAAE,CAAA;IAEnD,IAAM,OAAO,mCAAO,UAAU,SAAK,aAAa,OAAC,CAAA;IAEjD,IAAM,MAAM,GAAG,IAAA,kBAAS,GAAE,CAAA;IAC1B,IAAM,YAAY,GAAG,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,KAAK,0CAAE,OAAO,CAAA;IAC3C,IAAM,oBAAoB,GAAG,IAAA,uBAAkB,EAAC,YAAY,CAAC,CAAA;IAE7D,IAAM,kBAAkB,GAAG,CAAA,oBAAoB,aAApB,oBAAoB,uB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E,CAAC,EAArC,CAAqC,CAAC,IA1BrE,MAAM,CAAC,IAAI,CA2BhB,CACH,EA9ByB,CA8BzB,CAAC,EAEF,uBAAC,oBAAW,IAAC,QAAQ,EAAE,UAAC,KAAK,IAAK,OAAA,IAAA,gBAAW,EAAC,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,MAAM,QAAA,EAAE,CAAC,EAAlD,CAAkD,GAAI,IACpF,GACM,GACJ,GACN,CACT,CAAA;AACH,CAAC;AArED,0BAqEC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ITableProps } from './interfaces.js';
|
|
2
|
-
export declare function Table(
|
|
2
|
+
export declare function Table(props: ITableProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -46,14 +46,15 @@ var create_1 = require("./create/index.js");
|
|
|
46
46
|
var thead_item_1 = require("./thead-item/index.js");
|
|
47
47
|
var pagination_1 = require("./pagination/index.js");
|
|
48
48
|
var skeleton_table_1 = require("./skeleton-table/index.js");
|
|
49
|
+
var active_filters_1 = require("./active-filters/index.js");
|
|
49
50
|
var S = __importStar(require("./styles.js"));
|
|
50
|
-
function Table(
|
|
51
|
-
var _b, _c, _d
|
|
52
|
-
var configs =
|
|
51
|
+
function Table(props) {
|
|
52
|
+
var _a, _b, _c, _d;
|
|
53
|
+
var configs = props.configs, isFetching = props.isFetching, columnsConfiguration = props.columnsConfiguration, tableInformations = props.tableInformations;
|
|
53
54
|
var router = (0, router_1.useRouter)();
|
|
54
55
|
var loadingTable = configs.isLoading || isFetching;
|
|
55
56
|
var pagination = configs.pagination || tableInformations.pagination;
|
|
56
|
-
var paramToSearch = ((
|
|
57
|
+
var paramToSearch = ((_b = (((_a = router.query) === null || _a === void 0 ? void 0 : _a.search) || '')) === null || _b === void 0 ? void 0 : _b.toLowerCase()) || '';
|
|
57
58
|
var tableItems = configs.tableData || (tableInformations === null || tableInformations === void 0 ? void 0 : tableInformations.items);
|
|
58
59
|
var tableFilered = (configs === null || configs === void 0 ? void 0 : configs.enableSearchInSelf)
|
|
59
60
|
? tableItems && tableItems.length > 0
|
|
@@ -66,10 +67,11 @@ function Table(_a) {
|
|
|
66
67
|
: null;
|
|
67
68
|
var tableData = tableFilered || tableItems || [];
|
|
68
69
|
var tableRef = (0, react_1.useRef)(null);
|
|
69
|
-
return ((0, jsx_runtime_1.jsxs)(ui_1.Error, { name: 'table-component', children: [(0, jsx_runtime_1.jsxs)(S.TopActions, { className: 'top-actions', children: [(
|
|
70
|
+
return ((0, jsx_runtime_1.jsxs)(ui_1.Error, { name: 'table-component', children: [(0, jsx_runtime_1.jsxs)(S.TopActions, { className: 'top-actions', children: [(0, jsx_runtime_1.jsx)(filters_1.Filters, __assign({}, props)), (0, jsx_runtime_1.jsxs)("div", { className: 'right', children: [(tableInformations === null || tableInformations === void 0 ? void 0 : tableInformations.exports) && ((_c = tableInformations === null || tableInformations === void 0 ? void 0 : tableInformations.exports) === null || _c === void 0 ? void 0 : _c.length) > 0 && ((0, jsx_runtime_1.jsx)(export_1.Export, { exports: tableInformations.exports })), (columnsConfiguration === null || columnsConfiguration === void 0 ? void 0 : columnsConfiguration.actions) && (0, jsx_runtime_1.jsx)(create_1.CreateAction, { actions: columnsConfiguration === null || columnsConfiguration === void 0 ? void 0 : columnsConfiguration.actions })] })] }), (0, jsx_runtime_1.jsx)(active_filters_1.ActiveFilters, {}), (0, jsx_runtime_1.jsx)(S.Table, { children: (0, jsx_runtime_1.jsxs)("div", { ref: tableRef, children: [(0, jsx_runtime_1.jsxs)("table", { children: [(0, jsx_runtime_1.jsx)("thead", { children: (0, jsx_runtime_1.jsxs)("tr", { children: [columnsConfiguration.actions && (0, jsx_runtime_1.jsx)("th", { style: { width: '100px' } }), (_d = columnsConfiguration.columns) === null || _d === void 0 ? void 0 : _d.map(function (colunm, index) {
|
|
70
71
|
return ((0, jsx_runtime_1.jsx)(thead_item_1.THeadItem, { index: index, colunm: colunm, disableOrdenationTable: configs === null || configs === void 0 ? void 0 : configs.disableOrdenationTable }, colunm.id + index));
|
|
71
72
|
})] }) }), (0, jsx_runtime_1.jsxs)("tbody", { children: [!loadingTable &&
|
|
72
73
|
tableItems &&
|
|
74
|
+
Array.isArray(tableItems) &&
|
|
73
75
|
(tableItems === null || tableItems === void 0 ? void 0 : tableItems.length) !== 0 &&
|
|
74
76
|
(tableData === null || tableData === void 0 ? void 0 : tableData.map(function (table, index) {
|
|
75
77
|
var _a;
|
|
@@ -89,7 +91,7 @@ function Table(_a) {
|
|
|
89
91
|
var defaultProps = ((_c = e.Component) === null || _c === void 0 ? void 0 : _c.defaultProps) ? (_d = e.Component) === null || _d === void 0 ? void 0 : _d.defaultProps : {};
|
|
90
92
|
var widthTable = tableRef.current;
|
|
91
93
|
var widthPercentage = (e.width * 100) / ((widthTable === null || widthTable === void 0 ? void 0 : widthTable.offsetWidth) || 0);
|
|
92
|
-
return ((0, jsx_runtime_1.jsx)("td", { className: 'font-14-regular', style: { width: widthPercentage.toFixed(2) + '%' }, children: e.Component ? (0, jsx_runtime_1.jsx)(e.Component.Element, __assign({}, props, defaultProps, { index: index })) : table[e.id] }, String(index) + String(i)));
|
|
94
|
+
return ((0, jsx_runtime_1.jsx)("td", { className: 'font-14-regular', style: { width: widthPercentage.toFixed(2) + '%' }, children: e.Component ? ((0, jsx_runtime_1.jsx)(e.Component.Element, __assign({}, props, defaultProps, { index: index }))) : (table[e.id]) }, String(index) + String(i)));
|
|
93
95
|
})] }, table.id + String(index)));
|
|
94
96
|
})), loadingTable && ((0, jsx_runtime_1.jsxs)("tr", { style: { height: 0 }, children: [columnsConfiguration.columns.map(function (c, index) { return ((0, jsx_runtime_1.jsx)("td", { children: (0, jsx_runtime_1.jsx)("div", { style: { width: c.width + 'px' } }) }, index)); }), columnsConfiguration.actions && ((0, jsx_runtime_1.jsx)("td", { style: { width: '100%' }, children: (0, jsx_runtime_1.jsx)("div", { style: { width: '100%' } }) }))] }))] })] }), !loadingTable && (tableData === null || tableData === void 0 ? void 0 : tableData.length) === 0 && ((0, jsx_runtime_1.jsxs)("div", { className: 'error_table', children: [(0, jsx_runtime_1.jsxs)("svg", { xmlns: 'http://www.w3.org/2000/svg', width: '60', height: '60', viewBox: '0 0 60 60', fill: 'none', children: [(0, jsx_runtime_1.jsx)("path", { d: 'M49.8 18.3301H24.02C23.05 18.3301 22.26 19.1201 22.26 20.0901C22.26 21.0601 23.05 21.8501 24.02 21.8501H49.8C50.77 21.8501 51.56 21.0601 51.56 20.0901C51.56 19.1201 50.77 18.3301 49.8 18.3301Z', fill: '#828282' }), (0, jsx_runtime_1.jsx)("path", { d: 'M19.85 47.7001C20.19 48.0401 20.64 48.2101 21.09 48.2101C21.54 48.2101 21.99 48.0401 22.33 47.7001C23.02 47.0101 23.02 45.9001 22.33 45.2101L18.3 41.1801L22.33 37.1501C23.02 36.4601 23.02 35.3501 22.33 34.6601C21.64 33.9701 20.53 33.9701 19.84 34.6601L15.81 38.6901L11.78 34.6601C11.09 33.9701 9.97996 33.9701 9.28996 34.6601C8.59996 35.3501 8.59996 36.4601 9.28996 37.1501L13.32 41.1801L9.28996 45.2101C8.59996 45.9001 8.59996 47.0101 9.28996 47.7001C9.62996 48.0401 10.08 48.2101 10.53 48.2101C10.98 48.2101 11.43 48.0401 11.77 47.7001L15.8 43.6701L19.83 47.7001H19.85Z', fill: '#828282' }), (0, jsx_runtime_1.jsx)("path", { d: 'M59.75 9.29004C59.75 6.38004 57.39 4.01004 54.48 4.01004H19.34C16.43 4.00004 14.07 6.36004 14.07 9.27004V25.45C6.17001 26.33 0.0100098 33.04 0.0100098 41.17C0.0100098 49.89 7.11001 56.99 15.83 56.99H54.5C57.41 56.99 59.77 54.62 59.77 51.72V9.29004H59.75ZM15.82 53.48C9.04001 53.48 3.52001 47.96 3.52001 41.18C3.52001 34.4 9.04001 28.88 15.82 28.88C22.6 28.88 28.12 34.4 28.12 41.18C28.12 47.96 22.6 53.48 15.82 53.48ZM54.49 53.48H25.75C28.91 50.92 31.07 47.18 31.54 42.93H49.8C50.77 42.93 51.56 42.14 51.56 41.17C51.56 40.2 50.77 39.41 49.8 39.41H31.54C31.25 36.83 30.34 34.43 28.97 32.38H49.81C50.78 32.38 51.57 31.59 51.57 30.62C51.57 29.65 50.78 28.86 49.81 28.86H25.76C23.47 27.01 20.66 25.78 17.59 25.44V9.27004C17.59 8.30004 18.38 7.51004 19.35 7.51004H54.49C55.46 7.52004 56.25 8.31004 56.25 9.28004V51.72C56.26 52.69 55.48 53.48 54.51 53.48H54.49Z', fill: '#828282' })] }), (0, jsx_runtime_1.jsx)("h3", { children: configs === null || configs === void 0 ? void 0 : configs.errorMessage })] })), loadingTable && (0, jsx_runtime_1.jsx)(skeleton_table_1.SkeletonTable, {})] }) }), !(configs === null || configs === void 0 ? void 0 : configs.disablePagination) && pagination && ((0, jsx_runtime_1.jsxs)(S.TableBottom, { className: 'table-bottom', children: [pagination && ((0, jsx_runtime_1.jsxs)("span", { children: ["Mostrando", ' ', (0, jsx_runtime_1.jsx)("strong", { children: pagination.pageSize > pagination.totalItems ? pagination.totalItems : pagination === null || pagination === void 0 ? void 0 : pagination.pageSize }), ' ', "de ", (0, jsx_runtime_1.jsx)("strong", { children: pagination === null || pagination === void 0 ? void 0 : pagination.totalItems }), " resultados"] })), (0, jsx_runtime_1.jsx)(pagination_1.PaginationTable, __assign({}, pagination))] }))] }));
|
|
95
97
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/system/presentation/hooks/ui/use-table/components/table/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAC9B,sCAAuC;AAEvC,2BAA4B;AAE5B,mCAAiC;AACjC,qCAAmC;AACnC,qCAAmC;AACnC,mCAAuC;AACvC,2CAAwC;AACxC,2CAA8C;AAC9C,mDAAgD;AAIhD,0CAA6B;AAE7B,SAAgB,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/system/presentation/hooks/ui/use-table/components/table/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAC9B,sCAAuC;AAEvC,2BAA4B;AAE5B,mCAAiC;AACjC,qCAAmC;AACnC,qCAAmC;AACnC,mCAAuC;AACvC,2CAAwC;AACxC,2CAA8C;AAC9C,mDAAgD;AAChD,mDAAgD;AAIhD,0CAA6B;AAE7B,SAAgB,KAAK,CAAC,KAAkB;;IAC9B,IAAA,OAAO,GAA0D,KAAK,QAA/D,EAAE,UAAU,GAA8C,KAAK,WAAnD,EAAE,oBAAoB,GAAwB,KAAK,qBAA7B,EAAE,iBAAiB,GAAK,KAAK,kBAAV,CAAU;IAE9E,IAAM,MAAM,GAAG,IAAA,kBAAS,GAAE,CAAA;IAE1B,IAAM,YAAY,GAAG,OAAO,CAAC,SAAS,IAAI,UAAU,CAAA;IACpD,IAAM,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,iBAAiB,CAAC,UAAU,CAAA;IAErE,IAAM,aAAa,GAAG,CAAA,MAAA,CAAC,CAAC,MAAA,MAAM,CAAC,KAAK,0CAAE,MAAiB,KAAI,EAAE,CAAC,0CAAE,WAAW,EAAE,KAAI,EAAE,CAAA;IAEnF,IAAM,UAAU,GAAG,OAAO,CAAC,SAAS,KAAI,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,KAAK,CAAA,CAAA;IAEhE,IAAM,YAAY,GAAG,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,kBAAkB;QAC9C,CAAC,CAAC,UAAU,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC;YACnC,CAAC,CAAC,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,MAAM,CAAC,UAAC,IAAI;;gBACtB,IAAM,YAAY,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,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,EAAI,IACrB,CACjB,IACK,CACT,CAAA;AACH,CAAC;AA1KD,sBA0KC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { PaginationModel } from '../../../../../system/index.js';
|
|
3
|
-
import { IconsNames, DynamicFormHandlerProps } from '../../../../../ui/index.js';
|
|
2
|
+
import { Filter, PaginationModel } from '../../../../../system/index.js';
|
|
3
|
+
import { IconsNames, DynamicFormHandlerProps, QueryOptions } from '../../../../../ui/index.js';
|
|
4
4
|
interface Column<T = any> {
|
|
5
5
|
id: keyof T;
|
|
6
6
|
label: string;
|
|
@@ -28,6 +28,7 @@ interface IConfigurationsTable {
|
|
|
28
28
|
tableData?: any;
|
|
29
29
|
isLoading?: boolean;
|
|
30
30
|
errorMessage: string;
|
|
31
|
+
customFilters?: Filter[];
|
|
31
32
|
disableGetFilter?: boolean;
|
|
32
33
|
disablePagination?: boolean;
|
|
33
34
|
enableSearchInSelf?: boolean;
|
|
@@ -38,11 +39,16 @@ type QueryTable<M = any> = {
|
|
|
38
39
|
user?: any;
|
|
39
40
|
container?: any;
|
|
40
41
|
Types?: any;
|
|
41
|
-
queryKey:
|
|
42
|
+
queryKey: {
|
|
43
|
+
remoteName?: M;
|
|
44
|
+
customKey?: string;
|
|
45
|
+
};
|
|
42
46
|
requireUser?: boolean;
|
|
43
47
|
queryKeyParams?: string;
|
|
44
48
|
dynamicFiltersFromApi?: boolean;
|
|
45
49
|
debugMode?: boolean;
|
|
50
|
+
options?: QueryOptions;
|
|
51
|
+
customRemote?: (params: any) => any;
|
|
46
52
|
};
|
|
47
53
|
type TableActionCreate<T = any> = {
|
|
48
54
|
link?: {
|
|
@@ -15,13 +15,14 @@ exports.useGetQueryArgumentsTable = void 0;
|
|
|
15
15
|
var router_1 = require("next/router");
|
|
16
16
|
function useGetQueryArgumentsTable(props) {
|
|
17
17
|
var _a = (0, router_1.useRouter)(), query = _a.query, isReady = _a.isReady;
|
|
18
|
+
var queryKEY = props.queryKey.customKey || props.queryKey.remoteName;
|
|
18
19
|
var enabled = props.requireUser ? props.user : true;
|
|
19
20
|
var KEY_TABLE = enabled
|
|
20
21
|
? props.dynamicFiltersFromApi
|
|
21
22
|
? isReady
|
|
22
|
-
?
|
|
23
|
+
? queryKEY + JSON.stringify(query)
|
|
23
24
|
: null
|
|
24
|
-
:
|
|
25
|
+
: queryKEY
|
|
25
26
|
: null;
|
|
26
27
|
return __assign(__assign({}, props), { queryKeyParams: KEY_TABLE });
|
|
27
28
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-query-arguments-table.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/hooks/ui/use-table/query/get-query-arguments-table.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,sCAAuC;AAGvC,SAAgB,yBAAyB,CAAC,KAAiB;IACnD,IAAA,KAAqB,IAAA,kBAAS,GAAE,EAA9B,KAAK,WAAA,EAAE,OAAO,aAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"get-query-arguments-table.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/hooks/ui/use-table/query/get-query-arguments-table.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,sCAAuC;AAGvC,SAAgB,yBAAyB,CAAC,KAAiB;IACnD,IAAA,KAAqB,IAAA,kBAAS,GAAE,EAA9B,KAAK,WAAA,EAAE,OAAO,aAAgB,CAAA;IAEvC,IAAM,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC,SAAS,IAAI,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAA;IAErE,IAAM,OAAO,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAA;IAErD,IAAM,SAAS,GAAG,OAAO;QACvB,CAAC,CAAC,KAAK,CAAC,qBAAqB;YAC3B,CAAC,CAAC,OAAO;gBACP,CAAC,CAAC,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC;gBAClC,CAAC,CAAC,IAAI;YACR,CAAC,CAAC,QAAQ;QACZ,CAAC,CAAC,IAAI,CAAA;IAER,6BAAY,KAAK,KAAE,cAAc,EAAE,SAAS,IAAE;AAChD,CAAC;AAhBD,8DAgBC"}
|
|
@@ -16,24 +16,24 @@ var router_1 = require("next/router");
|
|
|
16
16
|
var ui_1 = require("../../../../../../ui/index.js");
|
|
17
17
|
function useQueryTable(props) {
|
|
18
18
|
var _a;
|
|
19
|
-
var
|
|
19
|
+
var _b = (0, router_1.useRouter)(), query = _b.query, isReady = _b.isReady;
|
|
20
|
+
var queryKEY = props.queryKey.customKey || props.queryKey.remoteName;
|
|
20
21
|
var enabled = props.requireUser ? props.user : true;
|
|
21
|
-
var REMOTE = props.container && ((_a = props.container) === null || _a === void 0 ? void 0 : _a.get(props.Types[
|
|
22
|
+
var REMOTE = props.container && ((_a = props.container) === null || _a === void 0 ? void 0 : _a.get(props.Types[queryKEY]));
|
|
22
23
|
var queryFiltersBase64 = (0, ui_1.fromBase64ToString)(query.filters);
|
|
23
24
|
var params = __assign(__assign({}, query), { orderColumn: undefined, asc: undefined, order: query.orderColumn && { column: query.orderColumn, asc: !!(query.asc === 'true') }, filters: queryFiltersBase64.filters });
|
|
24
|
-
var tableResponse = (0, ui_1.useQuery)({
|
|
25
|
-
queryKey: REMOTE && (props.queryKeyParams || props.queryKey),
|
|
26
|
-
queryFn: function () { return REMOTE.loadAll(params); },
|
|
27
|
-
});
|
|
25
|
+
var tableResponse = (0, ui_1.useQuery)(__assign(__assign({ queryKey: props.queryKeyParams || queryKEY, queryFn: function () { return props.customRemote ? props.customRemote(params) : REMOTE.loadAll(params); } }, props.options), { enabled: !!((REMOTE || queryKEY) && isReady) }));
|
|
28
26
|
var configurations = (0, ui_1.useQuery)({
|
|
29
27
|
queryFn: function () { return REMOTE.loadTable(); },
|
|
30
|
-
queryKey:
|
|
28
|
+
queryKey: "".concat(queryKEY, "/Table"),
|
|
29
|
+
enableCache: true,
|
|
30
|
+
enabled: !!(REMOTE && props.dynamicFiltersFromApi && isReady)
|
|
31
31
|
});
|
|
32
32
|
if (props.debugMode) {
|
|
33
33
|
console.log({
|
|
34
34
|
enabled: enabled,
|
|
35
35
|
REMOTE: REMOTE,
|
|
36
|
-
KEY_TABLE:
|
|
36
|
+
KEY_TABLE: queryKEY,
|
|
37
37
|
queryFiltersBase64: queryFiltersBase64,
|
|
38
38
|
params: params,
|
|
39
39
|
data: tableResponse.data,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hook.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/hooks/ui/use-table/query/hook.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,sCAAuC;AACvC,2BAAmD;AAInD,SAAgB,aAAa,CAAC,KAAiB;;
|
|
1
|
+
{"version":3,"file":"hook.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/hooks/ui/use-table/query/hook.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,sCAAuC;AACvC,2BAAmD;AAInD,SAAgB,aAAa,CAAC,KAAiB;;IACvC,IAAA,KAAqB,IAAA,kBAAS,GAAE,EAA9B,KAAK,WAAA,EAAE,OAAO,aAAgB,CAAA;IAEtC,IAAM,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC,SAAS,IAAI,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAA;IAEtE,IAAM,OAAO,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAA;IAErD,IAAM,MAAM,GAAG,KAAK,CAAC,SAAS,KAAI,MAAA,KAAK,CAAC,SAAS,0CAAE,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA,CAAA;IAE7E,IAAM,kBAAkB,GAAG,IAAA,uBAAkB,EAAC,KAAK,CAAC,OAAO,CAAC,CAAA;IAE5D,IAAM,MAAM,yB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