infinity-forge 2.4.1 → 2.4.2
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 +2 -2
- package/dist/sites/components/default-pages/blog/components/side-box-categories/index.d.ts +2 -2
- 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.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/domain/use-cases/auth/admin/index.js +0 -18
- package/dist/system/presentation/components/data/avatar/index.js +0 -59
- package/dist/system/presentation/components/data/buttons/index.d.ts +0 -1
- package/dist/system/presentation/components/data/buttons/index.js +0 -18
- 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/index.d.ts +0 -2
- package/dist/system/presentation/components/data/chat/index.js +0 -38
- package/dist/system/presentation/components/data/chat/interfaces.d.ts +0 -8
- package/dist/system/presentation/components/data/chat/loader/index.js +1 -1
- package/dist/system/presentation/components/data/detail-card/component.d.ts +0 -2
- package/dist/system/presentation/components/data/detail-card/component.js +0 -42
- package/dist/system/presentation/components/data/detail-card/index.d.ts +0 -2
- package/dist/system/presentation/components/data/detail-card/index.js +0 -19
- package/dist/system/presentation/components/data/detail-card/interfaces.d.ts +0 -19
- package/dist/system/presentation/components/data/highlight-icon/index.d.ts +0 -2
- package/dist/system/presentation/components/data/highlight-icon/index.js +0 -40
- package/dist/system/presentation/components/data/highlight-icon/interfaces.d.ts +0 -8
- package/dist/system/presentation/components/data/highlight-text/index.d.ts +0 -2
- package/dist/system/presentation/components/data/highlight-text/index.js +0 -43
- package/dist/system/presentation/components/data/input-search/index.d.ts +0 -2
- package/dist/system/presentation/components/data/input-search/index.js +0 -39
- package/dist/system/presentation/components/data/logo/index.js +0 -34
- package/dist/system/presentation/components/data/menu/component.js +0 -17
- 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/index.d.ts +0 -2
- package/dist/system/presentation/components/data/menu/index.js +0 -19
- 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/notifications/index.js +0 -155
- package/dist/system/presentation/components/data/page-wrapper/index.d.ts +0 -2
- package/dist/system/presentation/components/data/page-wrapper/index.js +0 -35
- package/dist/system/presentation/components/data/page-wrapper/interfaces.d.ts +0 -7
- package/dist/system/presentation/components/data/popover/index.d.ts +0 -2
- package/dist/system/presentation/components/data/profile-infos/index.d.ts +0 -2
- package/dist/system/presentation/components/data/profile-infos/index.js +0 -48
- package/dist/system/presentation/components/data/profile-infos/interfaces.d.ts +0 -6
- 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/select-workspace/index.d.ts +0 -4
- package/dist/system/presentation/components/data/select-workspace/index.js +0 -69
- package/dist/system/presentation/components/data/tab/component.d.ts +0 -2
- package/dist/system/presentation/components/data/tab/component.js +0 -67
- package/dist/system/presentation/components/data/tab/index.d.ts +0 -2
- package/dist/system/presentation/components/data/tab/index.js +0 -19
- package/dist/system/presentation/components/data/tab/interfaces.d.ts +0 -29
- 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/index.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/index.js +4 -4
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/index.js +36 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.js +38 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/settings/index.js +42 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/index.js +4 -4
- package/dist/system/presentation/components/layout/header/index.d.ts +0 -2
- package/dist/system/presentation/components/layout/header/index.js +0 -25
- 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 +4 -4
- package/dist/system/presentation/components/pages/menus/index.d.ts +0 -1
- package/dist/system/presentation/components/pages/menus/index.js +0 -18
- package/dist/system/presentation/components/pages/menus/page.js +0 -40
- 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/index.d.ts +0 -1
- package/dist/system/presentation/components/pages/users/index.js +0 -18
- package/dist/system/presentation/components/pages/users/page.js +0 -40
- 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.d.ts +0 -2
- package/dist/system/presentation/context/auth/components/index.js +0 -19
- 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 +0 -1
- package/dist/system/presentation/hooks/notifications/use-load-all/index.js +0 -63
- package/dist/system/presentation/hooks/notifications/use-load-no-read/index.d.ts +0 -2
- package/dist/system/presentation/hooks/notifications/use-load-no-read/index.js +0 -60
- package/dist/system/presentation/hooks/ui/use-table/component.d.ts +0 -8
- package/dist/system/presentation/hooks/ui/use-table/component.js +0 -26
- 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/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/index.d.ts +0 -4
- package/dist/system/presentation/hooks/ui/use-table/index.js +0 -21
- package/dist/system/presentation/hooks/ui/use-table/interfaces.d.ts +0 -92
- 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 +0 -51
- package/dist/ui/components/carousel/carousel-lib/components-shared/get-element-params.js +0 -148
- package/dist/ui/components/carousel/carousel-lib/components-shared/get-params.js +0 -61
- package/dist/ui/components/carousel/carousel-lib/components-shared/mount-swiper.js +0 -24
- package/dist/ui/components/carousel/carousel-lib/components-shared/update-swiper.js +0 -208
- 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 +0 -654
- 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 +0 -42
- 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 +0 -336
- package/dist/ui/components/carousel/carousel-lib/modules/effect-fade.js +0 -63
- package/dist/ui/components/carousel/carousel-lib/modules/free-mode.js +0 -247
- package/dist/ui/components/carousel/carousel-lib/modules/index.d.ts +0 -6
- package/dist/ui/components/carousel/carousel-lib/modules/index.js +0 -23
- package/dist/ui/components/carousel/carousel-lib/modules/navigation.js +0 -223
- package/dist/ui/components/carousel/carousel-lib/modules/pagination.js +0 -514
- package/dist/ui/components/carousel/carousel-lib/modules/virtual.js +0 -379
- package/dist/ui/components/carousel/carousel-lib/react/swiper-slide.js +0 -88
- package/dist/ui/components/carousel/carousel-lib/react/swiper.js +0 -210
- package/dist/ui/components/carousel/carousel-lib/shared/create-element-if-not-defined.js +0 -22
- package/dist/ui/components/carousel/carousel-lib/shared/create-shadow.js +0 -15
- package/dist/ui/components/carousel/carousel-lib/shared/effect-target.js +0 -13
- package/dist/ui/components/carousel/carousel-lib/shared/effect-virtual-transition-end.js +0 -47
- package/dist/ui/components/carousel/carousel-lib/shared/get-browser.js +0 -43
- package/dist/ui/components/carousel/carousel-lib/shared/get-device.js +0 -69
- package/dist/ui/components/carousel/carousel-lib/shared/get-support.js +0 -25
- package/dist/ui/components/carousel/carousel-lib/shared/utils.js +0 -372
- package/dist/ui/components/carousel/carousel-lib/ssr-window/document.js +0 -65
- package/dist/ui/components/carousel/carousel-lib/ssr-window/ssr-window.d.ts +0 -4
- package/dist/ui/components/carousel/carousel-lib/ssr-window/ssr-window.js +0 -15
- package/dist/ui/components/carousel/carousel-lib/ssr-window/window.js +0 -71
- package/dist/ui/components/carousel/carousel-lib/types/index.d.ts +0 -5
- package/dist/ui/components/carousel/carousel-lib/types/index.js +0 -27
- package/dist/ui/components/carousel/carousel-lib/types/swiper-events.d.ts +0 -162
- package/dist/ui/components/form/handler/custom-submit/index.d.ts +0 -17
- package/dist/ui/components/form/handler/custom-submit/index.js +0 -25
- package/dist/ui/components/form/handler/dynamic_form_handler/component.d.ts +0 -2
- package/dist/ui/components/form/handler/dynamic_form_handler/component.js +0 -117
- package/dist/ui/components/form/handler/dynamic_form_handler/index.d.ts +0 -2
- package/dist/ui/components/form/handler/dynamic_form_handler/index.js +0 -19
- package/dist/ui/components/form/handler/dynamic_form_handler/interfaces.d.ts +0 -28
- package/dist/ui/components/form/handler/form-handler/generate-schemas.js +0 -111
- package/dist/ui/components/form/handler/form-handler/index.d.ts +0 -2
- package/dist/ui/components/form/handler/form-handler/index.js +0 -241
- package/dist/ui/components/form/handler/form-handler/use-schemas.d.ts +0 -2
- package/dist/ui/components/form/handler/form-handler/use-schemas.js +0 -115
- package/dist/ui/components/form/handler/form-handler/use-send-file.d.ts +0 -5
- package/dist/ui/components/form/handler/form-handler/use-send-file.js +0 -209
- 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 +0 -2
- package/dist/ui/components/form/handler/i18n/index.js +4 -4
- package/dist/ui/components/form/input-cep/use-cep/hook.d.ts +2 -2
- package/dist/ui/components/form/input-cep/use-cep/hook.js +1 -1
- package/dist/ui/components/form/input-cep/use-cep/index.d.ts +2 -2
- package/dist/ui/components/form/input-cep/use-cep/index.js +2 -2
- 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 +1 -1
- package/dist/ui/components/form/input-control/label/index.js +1 -1
- package/dist/ui/components/form/input-control/loader-input/index.js +2 -2
- package/dist/ui/components/form/input-currency/components/CurrencyInput.js +1 -1
- package/dist/ui/components/form/input-currency/components/index.d.ts +1 -1
- package/dist/ui/components/form/input-currency/components/index.js +1 -1
- 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 +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/index.js +4 -4
- 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 +18 -0
- 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 +13 -0
- 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 +24 -0
- 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 +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IBlogItem } from './intefaces
|
|
1
|
+
import { IBlogItem } from './intefaces';
|
|
2
2
|
export declare function BlogItem({ blog }: IBlogItem): import("react/jsx-runtime").JSX.Element;
|
|
@@ -29,9 +29,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.BlogItem = void 0;
|
|
30
30
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
31
|
var link_1 = __importDefault(require("next/link"));
|
|
32
|
-
var share_1 = require("./share
|
|
33
|
-
var ui_1 = require("../../../../../../ui
|
|
34
|
-
var S = __importStar(require("./styles
|
|
32
|
+
var share_1 = require("./share");
|
|
33
|
+
var ui_1 = require("../../../../../../ui");
|
|
34
|
+
var S = __importStar(require("./styles"));
|
|
35
35
|
function BlogItem(_a) {
|
|
36
36
|
var blog = _a.blog;
|
|
37
37
|
var redirect = {
|
|
@@ -25,9 +25,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.Share = void 0;
|
|
27
27
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
var icons_1 = require("./icons
|
|
28
|
+
var icons_1 = require("./icons");
|
|
29
29
|
var react_share_1 = require("react-share");
|
|
30
|
-
var S = __importStar(require("./styles
|
|
30
|
+
var S = __importStar(require("./styles"));
|
|
31
31
|
function Share(_a) {
|
|
32
32
|
var url = _a.url;
|
|
33
33
|
var location = process.browser ? window.location.origin : '';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IFeaturedBlogItemProps } from './interface
|
|
1
|
+
import { IFeaturedBlogItemProps } from './interface';
|
|
2
2
|
export declare function FeaturedBlogItem({ featuredBlog }: IFeaturedBlogItemProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -28,8 +28,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.FeaturedBlogItem = void 0;
|
|
30
30
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
|
-
var ui_1 = require("../../../../../../../ui
|
|
32
|
-
var S = __importStar(require("./styles
|
|
31
|
+
var ui_1 = require("../../../../../../../ui");
|
|
32
|
+
var S = __importStar(require("./styles"));
|
|
33
33
|
var moment_1 = __importDefault(require("moment"));
|
|
34
34
|
function FeaturedBlogItem(_a) {
|
|
35
35
|
var featuredBlog = _a.featuredBlog;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IFeaturedBlogListProps } from './interfaces
|
|
1
|
+
import { IFeaturedBlogListProps } from './interfaces';
|
|
2
2
|
export declare function FeaturedBlogList({ featuredBlogList, data }: IFeaturedBlogListProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.FeaturedBlogList = void 0;
|
|
27
27
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
var featured_blog_item_1 = require("./featured-blog-item
|
|
29
|
-
var S = __importStar(require("../styles
|
|
28
|
+
var featured_blog_item_1 = require("./featured-blog-item");
|
|
29
|
+
var S = __importStar(require("../styles"));
|
|
30
30
|
function FeaturedBlogList(_a) {
|
|
31
31
|
var featuredBlogList = _a.featuredBlogList, data = _a.data;
|
|
32
32
|
return ((0, jsx_runtime_1.jsxs)(S.Box, { className: 'featuredBlogList', children: [(0, jsx_runtime_1.jsx)("h4", { className: 'font-32', children: (data === null || data === void 0 ? void 0 : data.title) || 'Destaques' }), (0, jsx_runtime_1.jsx)("div", { className: 'detachs-box', children: featuredBlogList.map(function (featuredBlog) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ISideBox } from '../../interfaces
|
|
2
|
-
import { IFeaturedBlog } from './featured-blog-item/interface
|
|
1
|
+
import { ISideBox } from '../../interfaces';
|
|
2
|
+
import { IFeaturedBlog } from './featured-blog-item/interface';
|
|
3
3
|
interface IFeaturedBlogListProps {
|
|
4
4
|
featuredBlogList: IFeaturedBlog[];
|
|
5
5
|
data?: ISideBox;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IBLogCategories } from './interfaces
|
|
2
|
-
import { ISideBox } from '../../interfaces
|
|
1
|
+
import { IBLogCategories } from './interfaces';
|
|
2
|
+
import { ISideBox } from '../../interfaces';
|
|
3
3
|
export declare function SideBoxCategories({ categoriesList, data }: {
|
|
4
4
|
categoriesList: IBLogCategories[];
|
|
5
5
|
data?: ISideBox;
|
|
@@ -29,8 +29,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.SideBoxCategories = 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 S = __importStar(require("../styles
|
|
32
|
+
var ui_1 = require("../../../../../../ui");
|
|
33
|
+
var S = __importStar(require("../styles"));
|
|
34
34
|
function SideBoxCategories(_a) {
|
|
35
35
|
var categoriesList = _a.categoriesList, data = _a.data;
|
|
36
36
|
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'SideBoxCategories', children: (0, jsx_runtime_1.jsxs)(S.Box, { className: 'sideBoxCategories', children: [(0, jsx_runtime_1.jsx)("div", { className: 'title', children: (0, jsx_runtime_1.jsx)("h4", { className: 'font-32', children: (data === null || data === void 0 ? void 0 : data.title) || 'Tags' }) }), (0, jsx_runtime_1.jsx)("div", { className: 'categories-box', children: categoriesList.map(function (category) { return ((0, jsx_runtime_1.jsx)(link_1.default, { href: "/blog/".concat(category.url), className: 'font-16-bold', children: category.titulo }, 'blog-category' + category.id + category.titulo)); }) })] }) }));
|
|
@@ -61,9 +61,9 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
61
61
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
62
62
|
exports.NewsLetterBlog = void 0;
|
|
63
63
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
64
|
-
var sites_1 = require("../../../../../../sites
|
|
65
|
-
var ui_1 = require("../../../../../../ui
|
|
66
|
-
var S = __importStar(require("../styles
|
|
64
|
+
var sites_1 = require("../../../../../../sites");
|
|
65
|
+
var ui_1 = require("../../../../../../ui");
|
|
66
|
+
var S = __importStar(require("../styles"));
|
|
67
67
|
function NewsLetterBlog(_a) {
|
|
68
68
|
var hasPhone = _a.hasPhone, title = _a.title, description = _a.description;
|
|
69
69
|
var createToast = (0, ui_1.useToast)().createToast;
|
|
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.TitleBlog = 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");
|
|
29
|
+
var S = __importStar(require("./styles"));
|
|
30
30
|
function TitleBlog(_a) {
|
|
31
31
|
var title = _a.title;
|
|
32
32
|
return ((0, jsx_runtime_1.jsx)(S.TitleBlog, { children: title && ((0, jsx_runtime_1.jsx)(ui_1.Container, { children: (0, jsx_runtime_1.jsx)("h1", { className: 'font-80 title', children: title }) })) }));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from "./no-content
|
|
2
|
-
export * from "./conflict-error
|
|
3
|
-
export * from "./not-found-error
|
|
4
|
-
export * from "./unexpected-error
|
|
5
|
-
export * from "./bad-request-error
|
|
6
|
-
export * from "./application-unexpected-error
|
|
7
|
-
export * from "./application-unauthorized-error
|
|
1
|
+
export * from "./no-content";
|
|
2
|
+
export * from "./conflict-error";
|
|
3
|
+
export * from "./not-found-error";
|
|
4
|
+
export * from "./unexpected-error";
|
|
5
|
+
export * from "./bad-request-error";
|
|
6
|
+
export * from "./application-unexpected-error";
|
|
7
|
+
export * from "./application-unauthorized-error";
|
|
@@ -14,11 +14,11 @@ 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("./no-content
|
|
18
|
-
__exportStar(require("./conflict-error
|
|
19
|
-
__exportStar(require("./not-found-error
|
|
20
|
-
__exportStar(require("./unexpected-error
|
|
21
|
-
__exportStar(require("./bad-request-error
|
|
22
|
-
__exportStar(require("./application-unexpected-error
|
|
23
|
-
__exportStar(require("./application-unauthorized-error
|
|
17
|
+
__exportStar(require("./no-content"), exports);
|
|
18
|
+
__exportStar(require("./conflict-error"), exports);
|
|
19
|
+
__exportStar(require("./not-found-error"), exports);
|
|
20
|
+
__exportStar(require("./unexpected-error"), exports);
|
|
21
|
+
__exportStar(require("./bad-request-error"), exports);
|
|
22
|
+
__exportStar(require("./application-unexpected-error"), exports);
|
|
23
|
+
__exportStar(require("./application-unauthorized-error"), exports);
|
|
24
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./validation-errors-model
|
|
1
|
+
export * from "./validation-errors-model";
|
|
@@ -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("./validation-errors-model
|
|
17
|
+
__exportStar(require("./validation-errors-model"), exports);
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,18 +0,0 @@
|
|
|
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("./auth-admin.js"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,59 +0,0 @@
|
|
|
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
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
-
}
|
|
19
|
-
Object.defineProperty(o, k2, desc);
|
|
20
|
-
}) : (function(o, m, k, k2) {
|
|
21
|
-
if (k2 === undefined) k2 = k;
|
|
22
|
-
o[k2] = m[k];
|
|
23
|
-
}));
|
|
24
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
-
}) : function(o, v) {
|
|
27
|
-
o["default"] = v;
|
|
28
|
-
});
|
|
29
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
-
if (mod && mod.__esModule) return mod;
|
|
31
|
-
var result = {};
|
|
32
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
-
__setModuleDefault(result, mod);
|
|
34
|
-
return result;
|
|
35
|
-
};
|
|
36
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
37
|
-
var t = {};
|
|
38
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
39
|
-
t[p] = s[p];
|
|
40
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
41
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
42
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
43
|
-
t[p[i]] = s[p[i]];
|
|
44
|
-
}
|
|
45
|
-
return t;
|
|
46
|
-
};
|
|
47
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
-
exports.Avatar = void 0;
|
|
49
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
50
|
-
var react_1 = require("react");
|
|
51
|
-
var ui_1 = require("../../../../../ui/index.js");
|
|
52
|
-
var S = __importStar(require("./styles.js"));
|
|
53
|
-
function Avatar(_a) {
|
|
54
|
-
var image = _a.image, className = _a.className, rest = __rest(_a, ["image", "className"]);
|
|
55
|
-
var _b = (0, react_1.useState)(false), imageError = _b[0], setImageError = _b[1];
|
|
56
|
-
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Avatar', children: (0, jsx_runtime_1.jsx)(S.Avatar, __assign({ className: "avatar ".concat(className ? className : ''), type: 'button' }, rest, { children: image && !imageError && (0, jsx_runtime_1.jsx)("img", { src: image, onError: function (err) { return setImageError(true); }, alt: 'avatar' }) })) }));
|
|
57
|
-
}
|
|
58
|
-
exports.Avatar = Avatar;
|
|
59
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './sidebar-button/index.js';
|
|
@@ -1,18 +0,0 @@
|
|
|
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("./sidebar-button/index.js"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -25,9 +25,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.SideBarButton = void 0;
|
|
27
27
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
var ui_1 = require("../../../../../../ui
|
|
29
|
-
var utils_1 = require("../../../../../../system/presentation/utils
|
|
30
|
-
var S = __importStar(require("./styles
|
|
28
|
+
var ui_1 = require("../../../../../../ui");
|
|
29
|
+
var utils_1 = require("../../../../../../system/presentation/utils");
|
|
30
|
+
var S = __importStar(require("./styles"));
|
|
31
31
|
function SideBarButton() {
|
|
32
32
|
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: '', children: (0, jsx_runtime_1.jsx)(S.SideBarButton, { onClick: utils_1.openSidebar, type: 'button', children: (0, jsx_runtime_1.jsx)("svg", { xmlns: 'http://www.w3.org/2000/svg', fill: 'none', viewBox: '0 0 24 24', strokeWidth: '2', stroke: 'currentColor', children: (0, jsx_runtime_1.jsx)("path", { strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M3.75 6.75h16.5M3.75 12H12m-8.25 5.25h16.5' }) }) }) }));
|
|
33
33
|
}
|
|
@@ -25,9 +25,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.CardMessage = void 0;
|
|
27
27
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
var ui_1 = require("../../../../../../ui
|
|
29
|
-
var system_1 = require("../../../../../../system
|
|
30
|
-
var S = __importStar(require("./styles
|
|
28
|
+
var ui_1 = require("../../../../../../ui");
|
|
29
|
+
var system_1 = require("../../../../../../system");
|
|
30
|
+
var S = __importStar(require("./styles"));
|
|
31
31
|
function CardMessage(_a) {
|
|
32
32
|
var message = _a.message;
|
|
33
33
|
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'card_message_error', children: (0, jsx_runtime_1.jsxs)(S.CardMessage, { children: [(0, jsx_runtime_1.jsxs)("div", { className: 'message-header ', children: [(0, jsx_runtime_1.jsx)(system_1.Avatar, { image: message.avatar, className: 'avatar-image' }), message.userName && (0, jsx_runtime_1.jsx)("h4", { children: message === null || message === void 0 ? void 0 : message.userName }), message.dataCriacaoText && (0, jsx_runtime_1.jsx)("p", { className: 'font-12', children: message === null || message === void 0 ? void 0 : message.dataCriacaoText })] }), message.message && ((0, jsx_runtime_1.jsx)("div", { className: 'message-body', children: (0, jsx_runtime_1.jsx)("p", { className: 'font-16', children: message === null || message === void 0 ? void 0 : message.message }) }))] }) }));
|
|
@@ -1,38 +0,0 @@
|
|
|
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.Chat = void 0;
|
|
27
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
var ui_1 = require("../../../../../ui/index.js");
|
|
29
|
-
var schema_1 = require("./schema.js");
|
|
30
|
-
var loader_1 = require("./loader/index.js");
|
|
31
|
-
var card_message_1 = require("./card-message/index.js");
|
|
32
|
-
var S = __importStar(require("./styles.js"));
|
|
33
|
-
function Chat(_a) {
|
|
34
|
-
var messages = _a.messages, isLoading = _a.isLoading, sendMensage = _a.sendMensage;
|
|
35
|
-
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'chat_error', children: (0, jsx_runtime_1.jsxs)(S.Chat, { children: [(0, jsx_runtime_1.jsx)("div", { className: 'top_chat', children: (0, jsx_runtime_1.jsx)("h3", { children: "Chat" }) }), (0, jsx_runtime_1.jsxs)("div", { className: 'content_chat', children: [(0, jsx_runtime_1.jsxs)("div", { className: 'chat', children: [isLoading && (0, jsx_runtime_1.jsx)(loader_1.ChatLoader, {}), !isLoading && (!messages || messages.length === 0) && ((0, jsx_runtime_1.jsxs)("div", { className: 'no-message', children: [(0, jsx_runtime_1.jsx)("div", { className: 'icon', children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'IconMessageBalloon' }) }), (0, jsx_runtime_1.jsx)("span", { className: 'font-16-bold', children: "Inicie uma conversa" })] })), messages === null || messages === void 0 ? void 0 : messages.map(function (message) { return ((0, jsx_runtime_1.jsx)(card_message_1.CardMessage, { message: message }, message.dataCriacao)); })] }), (0, jsx_runtime_1.jsx)(ui_1.FormHandler, { button: { svg: 'IconSendMessage' }, onSucess: sendMensage, schema: schema_1.chatSchema, children: (0, jsx_runtime_1.jsx)(ui_1.Input, { name: 'message', type: 'text', placeholder: 'Digite sua mensagem' }) })] })] }) }));
|
|
36
|
-
}
|
|
37
|
-
exports.Chat = Chat;
|
|
38
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ChatLoader = void 0;
|
|
4
4
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
var ui_1 = require("../../../../../../ui
|
|
5
|
+
var ui_1 = require("../../../../../../ui");
|
|
6
6
|
function ChatLoader() {
|
|
7
7
|
return ((0, jsx_runtime_1.jsxs)("ul", { children: [(0, jsx_runtime_1.jsxs)("li", { style: { marginBottom: 20 }, children: [(0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex', gap: 8, marginBottom: 5 }, children: [(0, jsx_runtime_1.jsx)(ui_1.Skeleton, { type: 'square' }), (0, jsx_runtime_1.jsxs)("div", { style: { width: '100%' }, children: [(0, jsx_runtime_1.jsx)(ui_1.Skeleton, { type: 'line' }), (0, jsx_runtime_1.jsx)(ui_1.Skeleton, { type: 'line' })] })] }), (0, jsx_runtime_1.jsx)(ui_1.Skeleton, { type: 'line' }), (0, jsx_runtime_1.jsx)(ui_1.Skeleton, { type: 'line' })] }), (0, jsx_runtime_1.jsxs)("li", { style: { marginBottom: 20 }, children: [(0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex', gap: 8, marginBottom: 5 }, children: [(0, jsx_runtime_1.jsx)(ui_1.Skeleton, { type: 'square' }), (0, jsx_runtime_1.jsxs)("div", { style: { width: '100%' }, children: [(0, jsx_runtime_1.jsx)(ui_1.Skeleton, { type: 'line' }), (0, jsx_runtime_1.jsx)(ui_1.Skeleton, { type: 'line' })] })] }), (0, jsx_runtime_1.jsx)(ui_1.Skeleton, { type: 'line' }), (0, jsx_runtime_1.jsx)(ui_1.Skeleton, { type: 'line' })] }), (0, jsx_runtime_1.jsxs)("li", { style: { marginBottom: 20 }, children: [(0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex', gap: 8, marginBottom: 5 }, children: [(0, jsx_runtime_1.jsx)(ui_1.Skeleton, { type: 'square' }), (0, jsx_runtime_1.jsxs)("div", { style: { width: '100%' }, children: [(0, jsx_runtime_1.jsx)(ui_1.Skeleton, { type: 'line' }), (0, jsx_runtime_1.jsx)(ui_1.Skeleton, { type: 'line' })] })] }), (0, jsx_runtime_1.jsx)(ui_1.Skeleton, { type: 'line' }), (0, jsx_runtime_1.jsx)(ui_1.Skeleton, { type: 'line' })] })] }));
|
|
8
8
|
}
|
|
@@ -1,42 +0,0 @@
|
|
|
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.DetailCard = void 0;
|
|
27
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
var highlight_icon_1 = require("../highlight-icon/index.js");
|
|
29
|
-
var ui_1 = require("../../../../../ui/index.js");
|
|
30
|
-
var S = __importStar(require("./styles.js"));
|
|
31
|
-
function DetailCard(_a) {
|
|
32
|
-
var icon = _a.icon, color = _a.color, title = _a.title, subTitle = _a.subTitle, action = _a.action, warning = _a.warning, iconSize = _a.iconSize, highlight = _a.highlight;
|
|
33
|
-
if (!title) {
|
|
34
|
-
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
|
|
35
|
-
}
|
|
36
|
-
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'DetailCard', children: (0, jsx_runtime_1.jsxs)(S.DetailCard, { style: { color: color, borderColor: warning ? color : '#e1e1e1' }, className: highlight ? 'highlight' : '', children: [(0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(highlight_icon_1.HighlightIcon, { icon: {
|
|
37
|
-
name: icon,
|
|
38
|
-
size: iconSize || 'regular',
|
|
39
|
-
}, color: color }), (0, jsx_runtime_1.jsxs)("div", { className: 'content', children: [title && (0, jsx_runtime_1.jsx)("span", { className: 'font-18-bold detail-title', children: title }), subTitle && (0, jsx_runtime_1.jsx)("span", { className: 'font-16-regular detail-subtitle', children: subTitle })] })] }), !action && warning && ((0, jsx_runtime_1.jsx)(ui_1.Tooltip, { idTooltip: 'DetailCard', enableHover: true, bgColor: '#fff', content: warning === null || warning === void 0 ? void 0 : warning.message, trigger: (0, jsx_runtime_1.jsx)("div", { className: 'icon', children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'IconExclamation', fill: '#E02F2F' }) }) })), (action === null || action === void 0 ? void 0 : action.type) && !warning && ((0, jsx_runtime_1.jsx)("div", { className: 'action-box', children: (0, jsx_runtime_1.jsx)("button", { className: 'action-button', type: 'button', onClick: action === null || action === void 0 ? void 0 : action.onClick, children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: action.type }) }) }))] }) }));
|
|
40
|
-
}
|
|
41
|
-
exports.DetailCard = DetailCard;
|
|
42
|
-
//# sourceMappingURL=component.js.map
|
|
@@ -1,19 +0,0 @@
|
|
|
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("./component.js"), exports);
|
|
18
|
-
__exportStar(require("./interfaces.js"), exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { IconsNames } from '../../../../../ui/index.js';
|
|
3
|
-
export interface IDetailCard {
|
|
4
|
-
id?: number;
|
|
5
|
-
icon: IconsNames;
|
|
6
|
-
color: string;
|
|
7
|
-
title: string | number;
|
|
8
|
-
subTitle: string;
|
|
9
|
-
highlight?: boolean;
|
|
10
|
-
children?: ReactNode;
|
|
11
|
-
iconSize?: 'regular' | 'small';
|
|
12
|
-
warning?: {
|
|
13
|
-
message: string;
|
|
14
|
-
};
|
|
15
|
-
action?: {
|
|
16
|
-
type?: IconsNames;
|
|
17
|
-
onClick?: (param?: any) => void;
|
|
18
|
-
};
|
|
19
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
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
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.HighlightIcon = void 0;
|
|
30
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
|
-
var chroma_js_1 = __importDefault(require("chroma-js"));
|
|
32
|
-
var ui_1 = require("../../../../../ui/index.js");
|
|
33
|
-
var S = __importStar(require("./styles.js"));
|
|
34
|
-
function HighlightIcon(_a) {
|
|
35
|
-
var icon = _a.icon, color = _a.color;
|
|
36
|
-
var background = (0, chroma_js_1.default)(color).alpha(0.22).css();
|
|
37
|
-
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Highlight', children: (0, jsx_runtime_1.jsx)(S.Highlight, { "$size": icon === null || icon === void 0 ? void 0 : icon.size, style: { background: background, color: color }, children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: icon.name }) }) }));
|
|
38
|
-
}
|
|
39
|
-
exports.HighlightIcon = HighlightIcon;
|
|
40
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,43 +0,0 @@
|
|
|
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
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.HighlightText = void 0;
|
|
30
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
|
-
var chroma_js_1 = __importDefault(require("chroma-js"));
|
|
32
|
-
var ui_1 = require("../../../../../ui/index.js");
|
|
33
|
-
var S = __importStar(require("./styles.js"));
|
|
34
|
-
function HighlightText(_a) {
|
|
35
|
-
var text = _a.text, color = _a.color;
|
|
36
|
-
if (!text || !color) {
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
|
-
var background = (0, chroma_js_1.default)(color).alpha(0.22).css();
|
|
40
|
-
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Highlight', children: (0, jsx_runtime_1.jsx)(S.Highlight, { id: 'highlight-text', "$color": background, children: (0, jsx_runtime_1.jsx)("span", { style: { color: color }, className: 'font-14-regular', children: text }) }) }));
|
|
41
|
-
}
|
|
42
|
-
exports.HighlightText = HighlightText;
|
|
43
|
-
//# sourceMappingURL=index.js.map
|