infinity-forge 2.6.7 → 2.6.8
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/sites/components/default-pages/blog/components/blog-item/index.d.ts +1 -1
- package/dist/sites/components/default-pages/blog/components/blog-item/index.js +3 -3
- package/dist/sites/components/default-pages/blog/components/blog-item/intefaces.d.ts +1 -1
- package/dist/sites/components/default-pages/blog/components/blog-item/share/index.js +2 -2
- package/dist/sites/components/default-pages/blog/components/featured-blog/featured-blog-item/index.d.ts +1 -1
- package/dist/sites/components/default-pages/blog/components/featured-blog/featured-blog-item/index.js +2 -2
- package/dist/sites/components/default-pages/blog/components/featured-blog/index.d.ts +1 -1
- package/dist/sites/components/default-pages/blog/components/featured-blog/index.js +2 -2
- package/dist/sites/components/default-pages/blog/components/featured-blog/interfaces.d.ts +1 -1
- package/dist/sites/components/default-pages/blog/components/side-box-categories/index.d.ts +1 -1
- package/dist/sites/components/default-pages/blog/components/side-box-categories/index.js +2 -2
- package/dist/sites/components/default-pages/blog/components/side-box-categories/interfaces.d.ts +1 -1
- package/dist/sites/components/default-pages/blog/components/side-box-newsletter/index.js +3 -3
- package/dist/sites/components/default-pages/blog/components/title-blog/index.js +2 -2
- package/dist/system/domain/protocols/http/errors/http-errors/index.d.ts +7 -7
- package/dist/system/domain/protocols/http/errors/http-errors/index.js +7 -7
- package/dist/system/domain/protocols/http/errors/system-errors-model/index.d.ts +1 -1
- package/dist/system/domain/protocols/http/errors/system-errors-model/index.js +1 -1
- package/dist/system/presentation/components/data/buttons/sidebar-button/index.js +3 -3
- package/dist/system/presentation/components/data/chat/card-message/index.d.ts +1 -1
- package/dist/system/presentation/components/data/chat/card-message/index.js +3 -3
- package/dist/system/presentation/components/data/chat/loader/index.js +1 -1
- package/dist/system/presentation/components/data/menu/components/index.d.ts +1 -1
- package/dist/system/presentation/components/data/menu/components/index.js +1 -1
- package/dist/system/presentation/components/data/menu/components/menu-item/index.js +3 -3
- package/dist/system/presentation/components/data/menu/modes/collapsed-menu/index.js +5 -5
- package/dist/system/presentation/components/data/menu/modes/collapsed-menu/styles.js +1 -1
- package/dist/system/presentation/components/data/menu/modes/index.d.ts +2 -2
- package/dist/system/presentation/components/data/menu/modes/index.js +2 -2
- package/dist/system/presentation/components/data/menu/modes/opened/index.js +3 -3
- package/dist/system/presentation/components/data/menu/modes/opened/styles.js +1 -1
- package/dist/system/presentation/components/data/notifications/card/index.d.ts +1 -1
- package/dist/system/presentation/components/data/notifications/card/index.js +2 -2
- package/dist/system/presentation/components/data/profile-infos/profile/index.d.ts +1 -1
- package/dist/system/presentation/components/data/profile-infos/profile/index.js +3 -3
- package/dist/system/presentation/components/data/tab/tab-item/index.d.ts +1 -1
- package/dist/system/presentation/components/data/tab/tab-item/index.js +2 -2
- package/dist/system/presentation/components/data/tab/tab-item/styles.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/components/index.d.ts +2 -2
- package/dist/system/presentation/components/layout/header/components/index.js +2 -2
- package/dist/system/presentation/components/layout/header/components/menu-right/component.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/component.js +3 -3
- package/dist/system/presentation/components/layout/header/components/menu-right/index.d.ts +3 -3
- package/dist/system/presentation/components/layout/header/components/menu-right/index.js +3 -3
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/card/index.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/card/index.js +3 -3
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/index.js +3 -3
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/interfaces.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/index.js +4 -4
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/index.js +3 -3
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.js +4 -4
- package/dist/system/presentation/components/layout/header/components/search-modal/index.js +4 -4
- package/dist/system/presentation/components/layout/header/components/search-modal/search-list/index.js +3 -3
- package/dist/system/presentation/components/layout/header/components/search-modal/trigger/index.js +2 -2
- package/dist/system/presentation/components/layout/header/version-01/index.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/version-01/index.js +3 -3
- package/dist/system/presentation/components/pages/menus/table/columns.d.ts +2 -2
- package/dist/system/presentation/components/pages/menus/table/columns.js +1 -1
- package/dist/system/presentation/components/pages/menus/table/create.d.ts +2 -2
- package/dist/system/presentation/components/pages/menus/table/create.js +2 -2
- package/dist/system/presentation/components/pages/menus/table/delete.js +2 -2
- package/dist/system/presentation/components/pages/menus/table/edit.d.ts +2 -2
- package/dist/system/presentation/components/pages/menus/table/edit.js +2 -2
- package/dist/system/presentation/components/pages/menus/table/icon/index.js +1 -1
- package/dist/system/presentation/components/pages/menus/table/index.d.ts +4 -4
- package/dist/system/presentation/components/pages/menus/table/index.js +4 -4
- package/dist/system/presentation/components/pages/users/table/columns.d.ts +2 -2
- package/dist/system/presentation/components/pages/users/table/create.d.ts +2 -2
- package/dist/system/presentation/components/pages/users/table/create.js +2 -2
- package/dist/system/presentation/components/pages/users/table/delete.js +2 -2
- package/dist/system/presentation/components/pages/users/table/edit.d.ts +2 -2
- package/dist/system/presentation/components/pages/users/table/edit.js +2 -2
- package/dist/system/presentation/components/pages/users/table/index.d.ts +4 -4
- package/dist/system/presentation/components/pages/users/table/index.js +4 -4
- package/dist/system/presentation/context/auth/components/index.js +19 -0
- package/dist/system/presentation/context/auth/components/login/form-login/index.js +2 -2
- package/dist/system/presentation/context/auth/components/login/index.js +4 -4
- package/dist/system/presentation/context/auth/components/private-page/index.d.ts +1 -1
- package/dist/system/presentation/context/auth/components/private-page/index.js +3 -3
- package/dist/system/presentation/hooks/notifications/use-load-all/index.d.ts +1 -0
- package/dist/system/presentation/hooks/notifications/use-load-all/index.js +63 -0
- package/dist/system/presentation/hooks/notifications/use-load-no-read/index.d.ts +2 -0
- package/dist/system/presentation/hooks/notifications/use-load-no-read/index.js +60 -0
- package/dist/system/presentation/hooks/ui/use-table/component.d.ts +8 -0
- package/dist/system/presentation/hooks/ui/use-table/component.js +26 -0
- package/dist/system/presentation/hooks/ui/use-table/components/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/index.js +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/actions/delete/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/actions/delete/index.js +2 -2
- package/dist/system/presentation/hooks/ui/use-table/components/table/actions/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/actions/index.js +4 -4
- package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/index.js +2 -2
- package/dist/system/presentation/hooks/ui/use-table/components/table/create/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/create/index.js +3 -3
- package/dist/system/presentation/hooks/ui/use-table/components/table/export/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/export/index.js +2 -2
- package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.js +3 -3
- 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 +10 -10
- package/dist/system/presentation/hooks/ui/use-table/components/table/interfaces.d.ts +2 -2
- package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/index.js +3 -3
- package/dist/system/presentation/hooks/ui/use-table/components/table/skeleton-table/index.js +2 -2
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.js +2 -2
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/interfaces.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/index.d.ts +4 -0
- package/dist/system/presentation/hooks/ui/use-table/index.js +21 -0
- package/dist/system/presentation/hooks/ui/use-table/interfaces.d.ts +93 -0
- package/dist/system/presentation/hooks/ui/use-table/query/get-query-arguments-table.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/query/hook.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/query/hook.js +1 -1
- package/dist/system/presentation/hooks/ui/use-table/query/index.d.ts +2 -2
- package/dist/system/presentation/hooks/ui/use-table/query/index.js +2 -2
- package/dist/ui/components/carousel/carousel-lib/components-shared/get-changed-params.js +51 -0
- package/dist/ui/components/carousel/carousel-lib/components-shared/get-element-params.js +148 -0
- package/dist/ui/components/carousel/carousel-lib/components-shared/get-params.js +61 -0
- package/dist/ui/components/carousel/carousel-lib/components-shared/mount-swiper.js +24 -0
- package/dist/ui/components/carousel/carousel-lib/components-shared/update-swiper.js +208 -0
- package/dist/ui/components/carousel/carousel-lib/core/breakpoints/getBreakpoint.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/breakpoints/index.d.ts +2 -2
- package/dist/ui/components/carousel/carousel-lib/core/breakpoints/index.js +2 -2
- package/dist/ui/components/carousel/carousel-lib/core/breakpoints/setBreakpoint.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/classes/index.d.ts +2 -2
- package/dist/ui/components/carousel/carousel-lib/core/classes/index.js +2 -2
- package/dist/ui/components/carousel/carousel-lib/core/core.js +654 -0
- package/dist/ui/components/carousel/carousel-lib/core/events/index.js +9 -9
- package/dist/ui/components/carousel/carousel-lib/core/events/onLoad.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/events/onTouchEnd.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/events/onTouchMove.js +2 -2
- package/dist/ui/components/carousel/carousel-lib/core/events/onTouchStart.js +3 -3
- package/dist/ui/components/carousel/carousel-lib/core/grab-cursor/index.d.ts +2 -2
- package/dist/ui/components/carousel/carousel-lib/core/grab-cursor/index.js +2 -2
- package/dist/ui/components/carousel/carousel-lib/core/loop/index.d.ts +3 -3
- package/dist/ui/components/carousel/carousel-lib/core/loop/index.js +3 -3
- package/dist/ui/components/carousel/carousel-lib/core/loop/loopCreate.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/loop/loopFix.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/moduleExtendParams.js +42 -0
- package/dist/ui/components/carousel/carousel-lib/core/modules/observer/observer.js +2 -2
- package/dist/ui/components/carousel/carousel-lib/core/modules/resize/resize.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/slide/index.d.ts +7 -7
- package/dist/ui/components/carousel/carousel-lib/core/slide/index.js +7 -7
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideTo.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideToClickedSlide.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/transition/index.d.ts +3 -3
- package/dist/ui/components/carousel/carousel-lib/core/transition/index.js +3 -3
- package/dist/ui/components/carousel/carousel-lib/core/transition/transitionEnd.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/transition/transitionStart.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/translate/getTranslate.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/translate/index.d.ts +5 -5
- package/dist/ui/components/carousel/carousel-lib/core/translate/index.js +5 -5
- package/dist/ui/components/carousel/carousel-lib/core/translate/translateTo.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/update/index.d.ts +9 -9
- package/dist/ui/components/carousel/carousel-lib/core/update/index.js +9 -9
- package/dist/ui/components/carousel/carousel-lib/core/update/updateActiveIndex.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSize.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSlides.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSlidesClasses.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/modules/autoplay.js +336 -0
- package/dist/ui/components/carousel/carousel-lib/modules/effect-fade.js +63 -0
- package/dist/ui/components/carousel/carousel-lib/modules/free-mode.js +247 -0
- package/dist/ui/components/carousel/carousel-lib/modules/index.d.ts +6 -0
- package/dist/ui/components/carousel/carousel-lib/modules/index.js +23 -0
- package/dist/ui/components/carousel/carousel-lib/modules/navigation.js +223 -0
- package/dist/ui/components/carousel/carousel-lib/modules/pagination.js +514 -0
- package/dist/ui/components/carousel/carousel-lib/modules/virtual.js +379 -0
- package/dist/ui/components/carousel/carousel-lib/react/swiper-slide.js +88 -0
- package/dist/ui/components/carousel/carousel-lib/react/swiper.js +210 -0
- package/dist/ui/components/carousel/carousel-lib/shared/create-element-if-not-defined.js +22 -0
- package/dist/ui/components/carousel/carousel-lib/shared/create-shadow.js +15 -0
- package/dist/ui/components/carousel/carousel-lib/shared/effect-target.js +13 -0
- package/dist/ui/components/carousel/carousel-lib/shared/effect-virtual-transition-end.js +47 -0
- package/dist/ui/components/carousel/carousel-lib/shared/get-browser.js +43 -0
- package/dist/ui/components/carousel/carousel-lib/shared/get-device.js +69 -0
- package/dist/ui/components/carousel/carousel-lib/shared/get-support.js +25 -0
- package/dist/ui/components/carousel/carousel-lib/shared/utils.js +372 -0
- package/dist/ui/components/carousel/carousel-lib/ssr-window/document.js +65 -0
- package/dist/ui/components/carousel/carousel-lib/ssr-window/ssr-window.d.ts +4 -0
- package/dist/ui/components/carousel/carousel-lib/ssr-window/ssr-window.js +15 -0
- package/dist/ui/components/carousel/carousel-lib/ssr-window/window.js +71 -0
- package/dist/ui/components/carousel/carousel-lib/types/index.d.ts +5 -0
- package/dist/ui/components/carousel/carousel-lib/types/index.js +27 -0
- package/dist/ui/components/carousel/carousel-lib/types/swiper-events.d.ts +162 -0
- package/dist/ui/components/form/handler/custom-submit/index.d.ts +17 -0
- package/dist/ui/components/form/handler/custom-submit/index.js +25 -0
- package/dist/ui/components/form/handler/dynamic_form_handler/component.d.ts +2 -0
- package/dist/ui/components/form/handler/dynamic_form_handler/component.js +118 -0
- package/dist/ui/components/form/handler/dynamic_form_handler/index.d.ts +2 -0
- package/dist/ui/components/form/handler/dynamic_form_handler/index.js +19 -0
- package/dist/ui/components/form/handler/dynamic_form_handler/interfaces.d.ts +28 -0
- package/dist/ui/components/form/handler/form-handler/generate-schemas.js +111 -0
- package/dist/ui/components/form/handler/form-handler/index.d.ts +2 -0
- package/dist/ui/components/form/handler/form-handler/index.js +241 -0
- package/dist/ui/components/form/handler/form-handler/use-schemas.d.ts +2 -0
- package/dist/ui/components/form/handler/form-handler/use-schemas.js +115 -0
- package/dist/ui/components/form/handler/form-handler/use-send-file.d.ts +5 -0
- package/dist/ui/components/form/handler/form-handler/use-send-file.js +209 -0
- package/dist/ui/components/form/handler/i18n/capture-i18n-errors/index.d.ts +1 -1
- package/dist/ui/components/form/handler/i18n/index.d.ts +2 -0
- package/dist/ui/components/form/handler/i18n/index.js +57 -0
- package/dist/ui/components/form/input-cep/use-cep/hook.d.ts +5 -0
- package/dist/ui/components/form/input-cep/use-cep/hook.js +14 -0
- package/dist/ui/components/form/input-cep/use-cep/index.d.ts +2 -0
- package/dist/ui/components/form/input-cep/use-cep/index.js +19 -0
- package/dist/ui/components/form/input-cep/use-cep/providers/ibge/hook.d.ts +1 -1
- package/dist/ui/components/form/input-cep/use-cep/providers/ibge/hook.js +1 -1
- package/dist/ui/components/form/input-cep/use-cep/providers/ibge/index.d.ts +3 -3
- package/dist/ui/components/form/input-cep/use-cep/providers/ibge/index.js +3 -3
- package/dist/ui/components/form/input-cep/use-cep/providers/index.d.ts +1 -1
- package/dist/ui/components/form/input-cep/use-cep/providers/index.js +1 -1
- package/dist/ui/components/form/input-control/error/index.js +34 -0
- package/dist/ui/components/form/input-control/label/index.js +34 -0
- package/dist/ui/components/form/input-control/loader-input/index.js +34 -0
- package/dist/ui/components/form/input-currency/components/CurrencyInput.js +247 -0
- package/dist/ui/components/form/input-currency/components/index.d.ts +1 -0
- package/dist/ui/components/form/input-currency/components/index.js +18 -0
- package/dist/ui/components/form/input-currency/components/utils/cleanValue.d.ts +1 -1
- package/dist/ui/components/form/input-currency/components/utils/cleanValue.js +4 -4
- package/dist/ui/components/form/input-currency/components/utils/formatValue.d.ts +1 -1
- package/dist/ui/components/form/input-currency/components/utils/formatValue.js +2 -2
- package/dist/ui/components/form/input-currency/components/utils/getLocaleConfig.d.ts +1 -1
- package/dist/ui/components/form/input-currency/components/utils/getSuffix.js +1 -1
- package/dist/ui/components/form/input-currency/components/utils/index.d.ts +8 -8
- package/dist/ui/components/form/input-currency/components/utils/index.js +8 -8
- package/dist/ui/components/form/input-currency/components/utils/parseAbbrValue.js +1 -1
- package/dist/ui/components/form/input-currency/components/utils/removeInvalidChars.js +1 -1
- package/dist/ui/components/form/input-currency/components/utils/removeSeparators.js +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/calendar-header/index.d.ts +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/calendar-header/index.js +3 -3
- package/dist/ui/components/form/input-date-picker/calendar/days/index.d.ts +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/days/index.js +2 -2
- package/dist/ui/components/form/input-date-picker/calendar/index.d.ts +9 -0
- package/dist/ui/components/form/input-date-picker/calendar/index.js +58 -0
- package/dist/ui/components/form/input-date-picker/calendar/interface.d.ts +2 -2
- package/dist/ui/components/form/input-date-picker/calendar/months/index.d.ts +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/months/index.js +2 -2
- package/dist/ui/components/form/input-date-picker/calendar/styles.d.ts +1 -1
- package/dist/ui/components/form/input-date-picker/mock/index.d.ts +1 -1
- package/dist/ui/components/form/input-date-picker/mock/index.js +1 -1
- package/dist/ui/components/form/input-file/hooks/index.d.ts +4 -4
- package/dist/ui/components/form/input-file/hooks/index.js +4 -4
- package/dist/ui/components/form/input-file/hooks/use-components-file.d.ts +2 -2
- package/dist/ui/components/form/input-file/hooks/use-components-file.js +2 -2
- package/dist/ui/components/form/input-file/hooks/use-file-elements.d.ts +1 -1
- package/dist/ui/components/form/input-file/hooks/use-file-elements.js +2 -2
- package/dist/ui/components/form/input-file/hooks/use-file.d.ts +2 -2
- package/dist/ui/components/form/input-file/hooks/use-file.js +2 -2
- package/dist/ui/components/form/input-file/hooks/use-rendered-file.d.ts +1 -1
- package/dist/ui/components/form/input-file/hooks/use-rendered-file.js +1 -1
- package/dist/ui/components/form/input-file/render-files/component.d.ts +1 -1
- package/dist/ui/components/form/input-file/render-files/component.js +2 -2
- package/dist/ui/components/form/input-file/render-files/file-item/button-upload-image-mobile/index.d.ts +1 -1
- package/dist/ui/components/form/input-file/render-files/file-item/button-upload-image-mobile/index.js +1 -1
- package/dist/ui/components/form/input-file/render-files/file-item/index.d.ts +2 -2
- package/dist/ui/components/form/input-file/render-files/file-item/index.js +3 -3
- package/dist/ui/components/form/input-file/render-files/index.d.ts +3 -3
- package/dist/ui/components/form/input-file/render-files/index.js +3 -3
- package/dist/ui/components/form/input-file/render-files/interfaces.d.ts +2 -2
- package/dist/ui/components/form/input-mask/lib/core/errors/SyntheticChangeError.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/core/hooks/useInput.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/core/hooks/useInput.js +2 -2
- package/dist/ui/components/form/input-mask/lib/core/index.d.ts +5 -5
- package/dist/ui/components/form/input-mask/lib/core/index.js +4 -4
- package/dist/ui/components/form/input-mask/lib/core/utils/setInputAttributes.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/InputMask.d.ts +2 -2
- package/dist/ui/components/form/input-mask/lib/mask/InputMask.js +2 -2
- package/dist/ui/components/form/input-mask/lib/mask/index.d.ts +5 -5
- package/dist/ui/components/form/input-mask/lib/mask/index.js +3 -3
- package/dist/ui/components/form/input-mask/lib/mask/types.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/useMask.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/useMask.js +7 -7
- package/dist/ui/components/form/input-mask/lib/mask/utils/filter.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/utils/format.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/utils/formatToParts.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/utils/formatToReplacementObject.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/utils/resolveDetail.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/utils/resolveDetail.js +3 -3
- package/dist/ui/components/form/input-mask/lib/mask/utils/resolveSelection.d.ts +2 -2
- package/dist/ui/components/form/input-mask/lib/mask/utils/unformat.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/utils/validate.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/utils.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/utils.js +5 -5
- package/dist/ui/components/form/input-mask/lib/number-format/InputNumberFormat.d.ts +2 -2
- package/dist/ui/components/form/input-mask/lib/number-format/InputNumberFormat.js +2 -2
- package/dist/ui/components/form/input-mask/lib/number-format/index.d.ts +4 -4
- package/dist/ui/components/form/input-mask/lib/number-format/index.js +2 -2
- package/dist/ui/components/form/input-mask/lib/number-format/types.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/number-format/useNumberFormat.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/number-format/useNumberFormat.js +6 -6
- package/dist/ui/components/form/input-mask/lib/number-format/utils/localizeValues.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveDetail.d.ts +2 -2
- package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveDetail.js +1 -1
- package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveMinimumFractionDigits.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveOptions.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveSelection.d.ts +2 -2
- package/dist/ui/components/form/input-seo/input-meta-image/index.d.ts +1 -1
- package/dist/ui/components/form/input-seo/input-meta-image/index.js +2 -2
- package/dist/ui/components/menu-mobile/components/nav-links/index.d.ts +1 -1
- package/dist/ui/components/menu-mobile/components/nav-links/index.js +3 -3
- package/dist/ui/components/menu-mobile/components/nav-links/interfaces.d.ts +1 -1
- package/package.json +3 -2
|
@@ -30,9 +30,9 @@ exports.SearchList = void 0;
|
|
|
30
30
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
31
|
var react_1 = require("react");
|
|
32
32
|
var link_1 = __importDefault(require("next/link"));
|
|
33
|
-
var system_1 = require("../../../../../../../../system");
|
|
34
|
-
var ui_1 = require("../../../../../../../../ui");
|
|
35
|
-
var S = __importStar(require("./styles"));
|
|
33
|
+
var system_1 = require("../../../../../../../../system/index.js");
|
|
34
|
+
var ui_1 = require("../../../../../../../../ui/index.js");
|
|
35
|
+
var S = __importStar(require("./styles.js"));
|
|
36
36
|
function SearchList(_a) {
|
|
37
37
|
var _b;
|
|
38
38
|
var setOpen = _a.setOpen;
|
package/dist/system/presentation/components/layout/header/components/search-modal/trigger/index.js
CHANGED
|
@@ -36,8 +36,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.SearchTrigger = void 0;
|
|
38
38
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
39
|
-
var ui_1 = require("../../../../../../../../ui");
|
|
40
|
-
var S = __importStar(require("./styles"));
|
|
39
|
+
var ui_1 = require("../../../../../../../../ui/index.js");
|
|
40
|
+
var S = __importStar(require("./styles.js"));
|
|
41
41
|
function SearchTrigger(props) {
|
|
42
42
|
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'SearchTrigger', children: (0, jsx_runtime_1.jsxs)(S.SearchTrigger, __assign({ "aria-label": 'Search' }, props, { children: [(0, jsx_runtime_1.jsx)("div", { className: 'icon', children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'LupaIcon' }) }), (0, jsx_runtime_1.jsx)("span", { className: 'placeholder font-14-regular', children: "Pesquisar..." })] })) }));
|
|
43
43
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ILayout } from '../../interfaces';
|
|
1
|
+
import { ILayout } from '../../interfaces.js';
|
|
2
2
|
export declare function HeaderVersion01({ workspaces, logo }: ILayout): import("react/jsx-runtime").JSX.Element;
|
|
@@ -29,9 +29,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.HeaderVersion01 = void 0;
|
|
30
30
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
31
|
var link_1 = __importDefault(require("next/link"));
|
|
32
|
-
var ui_1 = require("../../../../../../ui");
|
|
33
|
-
var system_1 = require("../../../../../../system");
|
|
34
|
-
var S = __importStar(require("./styles"));
|
|
32
|
+
var ui_1 = require("../../../../../../ui/index.js");
|
|
33
|
+
var system_1 = require("../../../../../../system/index.js");
|
|
34
|
+
var S = __importStar(require("./styles.js"));
|
|
35
35
|
function HeaderVersion01(_a) {
|
|
36
36
|
var workspaces = _a.workspaces, logo = _a.logo;
|
|
37
37
|
var _b = (0, system_1.useMenu)(), settings = _b.settings, setOpenMenu = _b.setOpenMenu;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Menu } from '../../../../../../system/domain';
|
|
2
|
-
import { Column } from '../../../../../../system/presentation/hooks';
|
|
1
|
+
import { Menu } from '../../../../../../system/domain/index.js';
|
|
2
|
+
import { Column } from '../../../../../../system/presentation/hooks/index.js';
|
|
3
3
|
export declare const columns: Column<Menu>[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { DynamicFormHandlerProps } from '../../../../../../ui';
|
|
2
|
-
import { Menu } from '../../../../../../system';
|
|
1
|
+
import { DynamicFormHandlerProps } from '../../../../../../ui/index.js';
|
|
2
|
+
import { Menu } from '../../../../../../system/index.js';
|
|
3
3
|
export declare function useCreateTable(queryKey: string): DynamicFormHandlerProps<Menu>;
|
|
@@ -37,8 +37,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.useCreateTable = void 0;
|
|
40
|
-
var ui_1 = require("../../../../../../ui");
|
|
41
|
-
var system_1 = require("../../../../../../system");
|
|
40
|
+
var ui_1 = require("../../../../../../ui/index.js");
|
|
41
|
+
var system_1 = require("../../../../../../system/index.js");
|
|
42
42
|
function useCreateTable(queryKey) {
|
|
43
43
|
var _this = this;
|
|
44
44
|
var createToast = (0, ui_1.useToast)().createToast;
|
|
@@ -37,8 +37,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.useDeleteTable = void 0;
|
|
40
|
-
var container_1 = require("../../../../../../system/container");
|
|
41
|
-
var ui_1 = require("../../../../../../ui");
|
|
40
|
+
var container_1 = require("../../../../../../system/container/index.js");
|
|
41
|
+
var ui_1 = require("../../../../../../ui/index.js");
|
|
42
42
|
function useDeleteTable(queryKey) {
|
|
43
43
|
var createToast = (0, ui_1.useToast)().createToast;
|
|
44
44
|
function executeDelete(tableItem) {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { DynamicFormHandlerProps } from '../../../../../../ui';
|
|
2
|
-
import { Menu } from '../../../../../../system';
|
|
1
|
+
import { DynamicFormHandlerProps } from '../../../../../../ui/index.js';
|
|
2
|
+
import { Menu } from '../../../../../../system/index.js';
|
|
3
3
|
export declare function useEditTable(queryKey: string): DynamicFormHandlerProps<Menu>;
|
|
@@ -37,8 +37,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.useEditTable = void 0;
|
|
40
|
-
var ui_1 = require("../../../../../../ui");
|
|
41
|
-
var system_1 = require("../../../../../../system");
|
|
40
|
+
var ui_1 = require("../../../../../../ui/index.js");
|
|
41
|
+
var system_1 = require("../../../../../../system/index.js");
|
|
42
42
|
function useEditTable(queryKey) {
|
|
43
43
|
var _this = this;
|
|
44
44
|
var createToast = (0, ui_1.useToast)().createToast;
|
|
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.IconMenu = void 0;
|
|
27
27
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
var S = __importStar(require("./style"));
|
|
28
|
+
var S = __importStar(require("./style.js"));
|
|
29
29
|
function IconMenu(_a) {
|
|
30
30
|
var icon = _a.icon;
|
|
31
31
|
return (0, jsx_runtime_1.jsx)(S.IconMenu, { dangerouslySetInnerHTML: { __html: icon || "" } });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './edit';
|
|
2
|
-
export * from './create';
|
|
3
|
-
export * from './delete';
|
|
4
|
-
export * from './columns';
|
|
1
|
+
export * from './edit.js';
|
|
2
|
+
export * from './create.js';
|
|
3
|
+
export * from './delete.js';
|
|
4
|
+
export * from './columns.js';
|
|
@@ -14,8 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./edit"), exports);
|
|
18
|
-
__exportStar(require("./create"), exports);
|
|
19
|
-
__exportStar(require("./delete"), exports);
|
|
20
|
-
__exportStar(require("./columns"), exports);
|
|
17
|
+
__exportStar(require("./edit.js"), exports);
|
|
18
|
+
__exportStar(require("./create.js"), exports);
|
|
19
|
+
__exportStar(require("./delete.js"), exports);
|
|
20
|
+
__exportStar(require("./columns.js"), exports);
|
|
21
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { User } from '../../../../../../system/domain';
|
|
2
|
-
import { Column } from '../../../../../../system/presentation/hooks';
|
|
1
|
+
import { User } from '../../../../../../system/domain/index.js';
|
|
2
|
+
import { Column } from '../../../../../../system/presentation/hooks/index.js';
|
|
3
3
|
export declare const columns: Column<User>[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { DynamicFormHandlerProps } from '../../../../../../ui';
|
|
2
|
-
import { User } from '../../../../../../system';
|
|
1
|
+
import { DynamicFormHandlerProps } from '../../../../../../ui/index.js';
|
|
2
|
+
import { User } from '../../../../../../system/index.js';
|
|
3
3
|
export declare function useCreateTable(queryKey: string): DynamicFormHandlerProps<User>;
|
|
@@ -37,8 +37,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.useCreateTable = void 0;
|
|
40
|
-
var ui_1 = require("../../../../../../ui");
|
|
41
|
-
var system_1 = require("../../../../../../system");
|
|
40
|
+
var ui_1 = require("../../../../../../ui/index.js");
|
|
41
|
+
var system_1 = require("../../../../../../system/index.js");
|
|
42
42
|
function useCreateTable(queryKey) {
|
|
43
43
|
var _this = this;
|
|
44
44
|
var createToast = (0, ui_1.useToast)().createToast;
|
|
@@ -37,8 +37,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.useDeleteTable = void 0;
|
|
40
|
-
var ui_1 = require("../../../../../../ui");
|
|
41
|
-
var system_1 = require("../../../../../../system");
|
|
40
|
+
var ui_1 = require("../../../../../../ui/index.js");
|
|
41
|
+
var system_1 = require("../../../../../../system/index.js");
|
|
42
42
|
function useDeleteTable(queryKey) {
|
|
43
43
|
var createToast = (0, ui_1.useToast)().createToast;
|
|
44
44
|
var cache = (0, ui_1.useQueryClient)(function (state) { return state.cache; });
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { DynamicFormHandlerProps } from '../../../../../../ui';
|
|
2
|
-
import { User } from '../../../../../../system';
|
|
1
|
+
import { DynamicFormHandlerProps } from '../../../../../../ui/index.js';
|
|
2
|
+
import { User } from '../../../../../../system/index.js';
|
|
3
3
|
export declare function useEditTable(queryKey: string): DynamicFormHandlerProps<User>;
|
|
@@ -37,8 +37,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.useEditTable = void 0;
|
|
40
|
-
var ui_1 = require("../../../../../../ui");
|
|
41
|
-
var system_1 = require("../../../../../../system");
|
|
40
|
+
var ui_1 = require("../../../../../../ui/index.js");
|
|
41
|
+
var system_1 = require("../../../../../../system/index.js");
|
|
42
42
|
function useEditTable(queryKey) {
|
|
43
43
|
var _this = this;
|
|
44
44
|
var createToast = (0, ui_1.useToast)().createToast;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './edit';
|
|
2
|
-
export * from './create';
|
|
3
|
-
export * from './delete';
|
|
4
|
-
export * from './columns';
|
|
1
|
+
export * from './edit.js';
|
|
2
|
+
export * from './create.js';
|
|
3
|
+
export * from './delete.js';
|
|
4
|
+
export * from './columns.js';
|
|
@@ -14,8 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./edit"), exports);
|
|
18
|
-
__exportStar(require("./create"), exports);
|
|
19
|
-
__exportStar(require("./delete"), exports);
|
|
20
|
-
__exportStar(require("./columns"), exports);
|
|
17
|
+
__exportStar(require("./edit.js"), exports);
|
|
18
|
+
__exportStar(require("./create.js"), exports);
|
|
19
|
+
__exportStar(require("./delete.js"), exports);
|
|
20
|
+
__exportStar(require("./columns.js"), exports);
|
|
21
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./login/index.js"), exports);
|
|
18
|
+
__exportStar(require("./private-page/index.js"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FormLogin = void 0;
|
|
4
4
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
var ui_1 = require("../../../../../../../ui");
|
|
6
|
-
var context_1 = require("../../../context");
|
|
5
|
+
var ui_1 = require("../../../../../../../ui/index.js");
|
|
6
|
+
var context_1 = require("../../../context.js");
|
|
7
7
|
function FormLogin() {
|
|
8
8
|
var signIn = (0, context_1.useAuthAdmin)().signIn;
|
|
9
9
|
return ((0, jsx_runtime_1.jsxs)(ui_1.FormHandler, { button: { text: 'Entrar' }, initialData: { emailAddress: '', password: '' }, onSucess: signIn, children: [(0, jsx_runtime_1.jsx)(ui_1.Input, { type: 'email', label: 'Email', name: 'emailAddress', placeholder: 'Digite seu usu\u00E1rio' }), (0, jsx_runtime_1.jsx)(ui_1.InputPassword, { name: 'password', label: 'Senha', placeholder: 'Digite sua senha' })] }));
|
|
@@ -25,10 +25,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.Login = void 0;
|
|
27
27
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
var ui_1 = require("../../../../../../ui");
|
|
29
|
-
var form_login_1 = require("./form-login");
|
|
30
|
-
var infra_injection_1 = require("../../../infra-injection");
|
|
31
|
-
var S = __importStar(require("./styles"));
|
|
28
|
+
var ui_1 = require("../../../../../../ui/index.js");
|
|
29
|
+
var form_login_1 = require("./form-login/index.js");
|
|
30
|
+
var infra_injection_1 = require("../../../infra-injection/index.js");
|
|
31
|
+
var S = __importStar(require("./styles.js"));
|
|
32
32
|
function Login() {
|
|
33
33
|
var _a, _b;
|
|
34
34
|
var Configurations = (0, infra_injection_1.useInfraInjection)().Configurations;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IPrivatePage } from './interfaces';
|
|
1
|
+
import { IPrivatePage } from './interfaces.js';
|
|
2
2
|
export declare function PrivatePage({ children, roles, signInRole }: IPrivatePage): import("react/jsx-runtime").JSX.Element;
|
|
@@ -64,9 +64,9 @@ var jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
64
64
|
var react_1 = require("react");
|
|
65
65
|
var router_1 = require("next/router");
|
|
66
66
|
var axios_1 = __importStar(require("axios"));
|
|
67
|
-
var ui_1 = require("../../../../../../ui");
|
|
68
|
-
var login_1 = require("../login");
|
|
69
|
-
var context_1 = require("../../context");
|
|
67
|
+
var ui_1 = require("../../../../../../ui/index.js");
|
|
68
|
+
var login_1 = require("../login/index.js");
|
|
69
|
+
var context_1 = require("../../context.js");
|
|
70
70
|
function PrivatePage(_a) {
|
|
71
71
|
var children = _a.children, roles = _a.roles, signInRole = _a.signInRole;
|
|
72
72
|
var _b = (0, react_1.useState)(false), interceptorIsReady = _b[0], setInterceptorIsReady = _b[1];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useLoadAllNotifications(): Required<import("../../../../../ui/index.js").QueryState<import("../../../../../system/index.js").INotification[]>>;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
+
function step(op) {
|
|
16
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
+
switch (op[0]) {
|
|
21
|
+
case 0: case 1: t = op; break;
|
|
22
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
+
default:
|
|
26
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
+
if (t[2]) _.ops.pop();
|
|
31
|
+
_.trys.pop(); continue;
|
|
32
|
+
}
|
|
33
|
+
op = body.call(thisArg, _);
|
|
34
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.useLoadAllNotifications = void 0;
|
|
40
|
+
var ui_1 = require("../../../../../ui/index.js");
|
|
41
|
+
var system_1 = require("../../../../../system/index.js");
|
|
42
|
+
function useLoadAllNotifications() {
|
|
43
|
+
var Configurations = (0, system_1.useInfraInjection)().Configurations;
|
|
44
|
+
var isEnable = Configurations.notification.enable;
|
|
45
|
+
function fetcher() {
|
|
46
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
47
|
+
var res;
|
|
48
|
+
return __generator(this, function (_a) {
|
|
49
|
+
switch (_a.label) {
|
|
50
|
+
case 0: return [4 /*yield*/, system_1.container
|
|
51
|
+
.get(system_1.Types.RemoteNotifications)
|
|
52
|
+
.loadAll({ timezone: 'America/Sao_Paulo' })];
|
|
53
|
+
case 1:
|
|
54
|
+
res = _a.sent();
|
|
55
|
+
return [2 /*return*/, res.data];
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
return (0, ui_1.useQuery)({ queryKey: 'LoadAllNotifications', queryFn: fetcher, enableCache: true, enabled: isEnable, interval: 1 * 60 * 1000 });
|
|
61
|
+
}
|
|
62
|
+
exports.useLoadAllNotifications = useLoadAllNotifications;
|
|
63
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
+
function step(op) {
|
|
16
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
+
switch (op[0]) {
|
|
21
|
+
case 0: case 1: t = op; break;
|
|
22
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
+
default:
|
|
26
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
+
if (t[2]) _.ops.pop();
|
|
31
|
+
_.trys.pop(); continue;
|
|
32
|
+
}
|
|
33
|
+
op = body.call(thisArg, _);
|
|
34
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.useLoadNoReadNotifications = void 0;
|
|
40
|
+
var ui_1 = require("../../../../../ui/index.js");
|
|
41
|
+
var system_1 = require("../../../../../system/index.js");
|
|
42
|
+
function useLoadNoReadNotifications() {
|
|
43
|
+
function fetcher() {
|
|
44
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
45
|
+
var res;
|
|
46
|
+
return __generator(this, function (_a) {
|
|
47
|
+
switch (_a.label) {
|
|
48
|
+
case 0: return [4 /*yield*/, system_1.container.get(system_1.Types.RemoteNotifications).loadNoRead()];
|
|
49
|
+
case 1:
|
|
50
|
+
res = _a.sent();
|
|
51
|
+
return [2 /*return*/, res];
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
var response = (0, ui_1.useQuery)({ queryFn: fetcher, queryKey: 'LoadNoReadNotifications', enableCache: true, interval: 1 * 60 * 1000 });
|
|
57
|
+
return response;
|
|
58
|
+
}
|
|
59
|
+
exports.useLoadNoReadNotifications = useLoadNoReadNotifications;
|
|
60
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.useTable = void 0;
|
|
15
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
+
var components_1 = require("./components/index.js");
|
|
17
|
+
var hook_1 = require("./query/hook.js");
|
|
18
|
+
function useTable(props) {
|
|
19
|
+
var queryTable = props.query && (0, hook_1.useQueryTable)(props.query);
|
|
20
|
+
return {
|
|
21
|
+
query: queryTable,
|
|
22
|
+
Table: (0, jsx_runtime_1.jsx)(components_1.Table, __assign({}, props, { isFetching: queryTable === null || queryTable === void 0 ? void 0 : queryTable.isLoading, tableInformations: queryTable === null || queryTable === void 0 ? void 0 : queryTable.data })),
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
exports.useTable = useTable;
|
|
26
|
+
//# sourceMappingURL=component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./table";
|
|
1
|
+
export * from "./table/index.js";
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./table"), exports);
|
|
17
|
+
__exportStar(require("./table/index.js"), exports);
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
package/dist/system/presentation/hooks/ui/use-table/components/table/actions/delete/index.js
CHANGED
|
@@ -39,8 +39,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.ActionDelete = void 0;
|
|
40
40
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
41
41
|
var react_1 = require("react");
|
|
42
|
-
var ui_1 = require("../../../../../../../../../ui");
|
|
43
|
-
var system_1 = require("../../../../../../../../../system");
|
|
42
|
+
var ui_1 = require("../../../../../../../../../ui/index.js");
|
|
43
|
+
var system_1 = require("../../../../../../../../../system/index.js");
|
|
44
44
|
function ActionDelete(_a) {
|
|
45
45
|
var _b, _c;
|
|
46
46
|
var action = _a.action, table = _a.table;
|
|
@@ -77,10 +77,10 @@ exports.Actions = void 0;
|
|
|
77
77
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
78
78
|
var react_1 = require("react");
|
|
79
79
|
var link_1 = __importDefault(require("next/link"));
|
|
80
|
-
var ui_1 = require("../../../../../../../../ui");
|
|
81
|
-
var delete_1 = require("./delete");
|
|
82
|
-
var S = __importStar(require("./styles"));
|
|
83
|
-
var context_1 = require("../../../../../../../../system/presentation/context");
|
|
80
|
+
var ui_1 = require("../../../../../../../../ui/index.js");
|
|
81
|
+
var delete_1 = require("./delete/index.js");
|
|
82
|
+
var S = __importStar(require("./styles.js"));
|
|
83
|
+
var context_1 = require("../../../../../../../../system/presentation/context/index.js");
|
|
84
84
|
function Actions(_a) {
|
|
85
85
|
var _this = this;
|
|
86
86
|
var _b, _c, _d;
|
package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ITableProps } from '../interfaces';
|
|
1
|
+
import { ITableProps } from '../interfaces.js';
|
|
2
2
|
export declare function ActiveFilters({ configs, tableInformations }: ITableProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/index.js
CHANGED
|
@@ -35,8 +35,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
35
35
|
exports.ActiveFilters = void 0;
|
|
36
36
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
37
37
|
var router_1 = require("next/router");
|
|
38
|
-
var ui_1 = require("../../../../../../../../ui");
|
|
39
|
-
var S = __importStar(require("./styles"));
|
|
38
|
+
var ui_1 = require("../../../../../../../../ui/index.js");
|
|
39
|
+
var S = __importStar(require("./styles.js"));
|
|
40
40
|
function ActiveFilters(_a) {
|
|
41
41
|
var _b, _c, _d;
|
|
42
42
|
var configs = _a.configs, tableInformations = _a.tableInformations;
|
|
@@ -41,9 +41,9 @@ exports.CreateAction = void 0;
|
|
|
41
41
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
42
42
|
var react_1 = require("react");
|
|
43
43
|
var link_1 = __importDefault(require("next/link"));
|
|
44
|
-
var ui_1 = require("../../../../../../../../ui");
|
|
45
|
-
var system_1 = require("../../../../../../../../system");
|
|
46
|
-
var S = __importStar(require("./styles"));
|
|
44
|
+
var ui_1 = require("../../../../../../../../ui/index.js");
|
|
45
|
+
var system_1 = require("../../../../../../../../system/index.js");
|
|
46
|
+
var S = __importStar(require("./styles.js"));
|
|
47
47
|
function CreateAction(_a) {
|
|
48
48
|
var _b, _c, _d, _e;
|
|
49
49
|
var actions = _a.actions;
|
|
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.Export = void 0;
|
|
27
27
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
var ui_1 = require("../../../../../../../../ui");
|
|
29
|
-
var S = __importStar(require("./styles"));
|
|
28
|
+
var ui_1 = require("../../../../../../../../ui/index.js");
|
|
29
|
+
var S = __importStar(require("./styles.js"));
|
|
30
30
|
function Export(_a) {
|
|
31
31
|
var exports = _a.exports;
|
|
32
32
|
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Export', children: (0, jsx_runtime_1.jsxs)(S.Export, { className: 'font-14-regular', children: [(0, jsx_runtime_1.jsx)("div", { className: 'icon', children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'IconUpload' }) }), "Exportar"] }) }));
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ITableProps } from '../interfaces';
|
|
1
|
+
import { ITableProps } from '../interfaces.js';
|
|
2
2
|
export declare function Filters({ configs, tableInformations }: ITableProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -82,9 +82,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
82
82
|
exports.Filters = void 0;
|
|
83
83
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
84
84
|
var router_1 = require("next/router");
|
|
85
|
-
var system_1 = require("../../../../../../../../system");
|
|
86
|
-
var ui_1 = require("../../../../../../../../ui");
|
|
87
|
-
var S = __importStar(require("./styles"));
|
|
85
|
+
var system_1 = require("../../../../../../../../system/index.js");
|
|
86
|
+
var ui_1 = require("../../../../../../../../ui/index.js");
|
|
87
|
+
var S = __importStar(require("./styles.js"));
|
|
88
88
|
function Filters(_a) {
|
|
89
89
|
var _b;
|
|
90
90
|
var configs = _a.configs, tableInformations = _a.tableInformations;
|