infinity-forge 0.31.3 → 0.31.4
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/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/sites/components/brands-carousel/index.d.ts +1 -1
- package/dist/sites/components/brands-carousel/index.js +3 -3
- package/dist/sites/components/brands-carousel/interfaces.d.ts +1 -1
- package/dist/sites/components/carousel/component.d.ts +1 -1
- package/dist/sites/components/carousel/component.js +1 -1
- package/dist/sites/components/carousel/index.d.ts +1 -1
- package/dist/sites/components/carousel/index.js +1 -1
- package/dist/sites/components/carousel/interfaces.d.ts +1 -1
- package/dist/sites/components/carousel/versions/index.d.ts +1 -1
- package/dist/sites/components/carousel/versions/index.js +1 -1
- package/dist/sites/components/carousel/versions/version-01/component-01.d.ts +1 -1
- package/dist/sites/components/carousel/versions/version-01/component-01.js +1 -1
- package/dist/sites/components/counter/component.d.ts +1 -1
- package/dist/sites/components/counter/component.js +1 -1
- package/dist/sites/components/counter/index.d.ts +1 -1
- package/dist/sites/components/counter/index.js +1 -1
- package/dist/sites/components/counter/interfaces.d.ts +1 -1
- package/dist/sites/components/counter/versions/index.d.ts +1 -1
- package/dist/sites/components/counter/versions/index.js +1 -1
- package/dist/sites/components/counter/versions/version-01/box/index.d.ts +1 -1
- package/dist/sites/components/counter/versions/version-01/box/index.js +2 -2
- package/dist/sites/components/counter/versions/version-01/component.d.ts +1 -1
- package/dist/sites/components/counter/versions/version-01/component.js +3 -3
- package/dist/sites/components/head/component.d.ts +1 -1
- package/dist/sites/components/head/index.d.ts +2 -2
- package/dist/sites/components/head/index.js +2 -2
- package/dist/sites/components/header-link/component.d.ts +1 -1
- package/dist/sites/components/header-link/component.js +1 -1
- package/dist/sites/components/header-link/index.d.ts +1 -1
- package/dist/sites/components/header-link/index.js +1 -1
- package/dist/sites/components/header-link/interfaces.d.ts +1 -1
- package/dist/sites/components/header-link/versions/index.d.ts +1 -1
- package/dist/sites/components/header-link/versions/index.js +1 -1
- package/dist/sites/components/header-link/versions/version-01/component.js +2 -2
- package/dist/sites/components/header-link/versions/version-01/component.stories.d.ts +1 -1
- package/dist/sites/components/header-link/versions/version-01/component.stories.js +2 -2
- package/dist/sites/components/index.d.ts +6 -6
- package/dist/sites/components/index.js +6 -6
- package/dist/sites/components/mvv/component.d.ts +1 -1
- package/dist/sites/components/mvv/component.js +1 -1
- package/dist/sites/components/mvv/index.d.ts +1 -1
- package/dist/sites/components/mvv/index.js +1 -1
- package/dist/sites/components/mvv/interfaces.d.ts +1 -1
- package/dist/sites/components/mvv/versions/index.d.ts +1 -1
- package/dist/sites/components/mvv/versions/index.js +1 -1
- package/dist/sites/components/mvv/versions/version-01/component.d.ts +1 -1
- package/dist/sites/components/mvv/versions/version-01/component.js +2 -2
- package/dist/sites/context/configs/context.d.ts +1 -1
- package/dist/sites/context/configs/context.js +3 -3
- package/dist/sites/context/configs/index.d.ts +2 -2
- package/dist/sites/context/configs/index.js +2 -2
- package/dist/sites/context/configs/scripts/acept-cookies/index.js +2 -2
- package/dist/sites/context/configs/scripts/acept-ratedr/index.js +2 -2
- package/dist/sites/context/configs/scripts/component.d.ts +1 -1
- package/dist/sites/context/configs/scripts/component.js +4 -4
- package/dist/sites/context/configs/scripts/index.d.ts +5 -5
- package/dist/sites/context/configs/scripts/index.js +5 -5
- package/dist/sites/context/configs/scripts/interfaces.d.ts +1 -1
- package/dist/sites/context/configs/scripts/whatsapp-fixed/index.js +1 -1
- package/dist/sites/context/index.d.ts +1 -1
- package/dist/sites/context/index.js +1 -1
- package/dist/sites/hook/index.d.ts +3 -3
- package/dist/sites/hook/index.js +3 -3
- package/dist/sites/index.d.ts +4 -4
- package/dist/sites/index.js +4 -4
- package/dist/sites/interfaces/api-data/index.d.ts +1 -1
- package/dist/sites/interfaces/api-data/index.js +1 -1
- package/dist/sites/interfaces/index.d.ts +2 -2
- package/dist/sites/interfaces/index.js +2 -2
- package/dist/sites/utils/index.d.ts +1 -1
- package/dist/sites/utils/index.js +1 -1
- package/dist/system/container/admin/auth/container.js +0 -11
- package/dist/system/container/admin/auth/index.d.ts +0 -2
- package/dist/system/container/admin/auth/index.js +0 -19
- package/dist/system/container/admin/index.d.ts +0 -3
- package/dist/system/container/admin/index.js +0 -20
- package/dist/system/container/admin/menu/container.js +0 -11
- package/dist/system/container/admin/menu/index.d.ts +0 -2
- package/dist/system/container/admin/menu/index.js +0 -19
- package/dist/system/container/admin/users/container.js +0 -12
- package/dist/system/container/admin/users/index.d.ts +0 -2
- package/dist/system/container/admin/users/index.js +0 -19
- package/dist/system/container/index.d.ts +0 -4
- package/dist/system/container/index.js +0 -21
- package/dist/system/container/main.d.ts +0 -4
- package/dist/system/container/main.js +0 -14
- package/dist/system/container/types.js +0 -19
- package/dist/system/index.d.ts +5 -5
- package/dist/system/index.js +5 -5
- package/dist/system/presentation/components/data/avatar/index.js +2 -2
- 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 +1 -1
- package/dist/system/presentation/components/data/chat/index.js +5 -5
- package/dist/system/presentation/components/data/chat/interfaces.d.ts +1 -1
- package/dist/system/presentation/components/data/chat/loader/index.js +1 -1
- package/dist/system/presentation/components/data/highlight-text/index.d.ts +1 -1
- package/dist/system/presentation/components/data/highlight-text/index.js +2 -2
- package/dist/system/presentation/components/data/index.d.ts +9 -9
- package/dist/system/presentation/components/data/index.js +9 -9
- package/dist/system/presentation/components/data/input-search/index.d.ts +1 -1
- package/dist/system/presentation/components/data/input-search/index.js +3 -3
- package/dist/system/presentation/components/data/logo/index.js +2 -2
- package/dist/system/presentation/components/data/overlay/index.d.ts +1 -1
- package/dist/system/presentation/components/data/overlay/index.js +2 -2
- package/dist/system/presentation/components/data/page-wrapper/index.d.ts +1 -1
- package/dist/system/presentation/components/data/page-wrapper/index.js +2 -2
- package/dist/system/presentation/components/data/page-wrapper/interfaces.d.ts +1 -1
- package/dist/system/presentation/components/data/popover/index.d.ts +1 -1
- package/dist/system/presentation/components/data/sign-up/index.js +3 -3
- package/dist/system/presentation/components/index.d.ts +3 -3
- package/dist/system/presentation/components/index.js +3 -3
- package/dist/system/presentation/components/layout/component.d.ts +1 -1
- package/dist/system/presentation/components/layout/component.js +2 -2
- 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.js +6 -6
- 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 +3 -3
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/card/index.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/card/index.js +2 -2
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/index.js +5 -5
- 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/menu-right/settings/index.js +3 -3
- 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/index.js +1 -1
- package/dist/system/presentation/components/layout/header/version-01/index.js +4 -4
- package/dist/system/presentation/components/layout/index.d.ts +3 -3
- package/dist/system/presentation/components/layout/index.js +3 -3
- package/dist/system/presentation/components/layout/menu/components/index.d.ts +2 -2
- package/dist/system/presentation/components/layout/menu/components/index.js +2 -2
- package/dist/system/presentation/components/layout/menu/components/menu/index.js +3 -3
- package/dist/system/presentation/components/layout/menu/components/select-workspace/index.js +4 -4
- package/dist/system/presentation/components/layout/menu/index.js +1 -1
- package/dist/system/presentation/components/layout/menu/version-01/index.d.ts +1 -1
- package/dist/system/presentation/components/layout/menu/version-01/index.js +2 -2
- package/dist/system/presentation/components/pages/index.d.ts +2 -2
- package/dist/system/presentation/components/pages/index.js +2 -2
- package/dist/system/presentation/components/pages/menus/index.d.ts +1 -1
- package/dist/system/presentation/components/pages/menus/index.js +1 -1
- package/dist/system/presentation/components/pages/menus/page.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/index.d.ts +1 -1
- package/dist/system/presentation/components/pages/users/index.js +1 -1
- package/dist/system/presentation/components/pages/users/page.js +3 -3
- 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/configs/index.d.ts +2 -2
- package/dist/system/presentation/configs/index.js +2 -2
- package/dist/system/presentation/context/auth/authenticated/index.js +1 -1
- package/dist/system/presentation/context/auth/context.d.ts +1 -1
- package/dist/system/presentation/context/auth/context.js +1 -1
- package/dist/system/presentation/context/auth/index.d.ts +5 -5
- package/dist/system/presentation/context/auth/index.js +5 -5
- package/dist/system/presentation/context/auth/interfaces.d.ts +1 -1
- package/dist/system/presentation/context/auth/login/index.js +3 -3
- package/dist/system/presentation/context/auth/private-page/index.js +3 -3
- package/dist/system/presentation/context/auth/unauthenticated/index.js +1 -1
- package/dist/system/presentation/context/container.js +3 -3
- package/dist/system/presentation/context/index.d.ts +3 -3
- package/dist/system/presentation/context/index.js +3 -3
- package/dist/system/presentation/context/system-configs/context.d.ts +1 -1
- package/dist/system/presentation/context/system-configs/context.js +1 -1
- package/dist/system/presentation/context/system-configs/index.d.ts +2 -2
- package/dist/system/presentation/context/system-configs/index.js +2 -2
- package/dist/system/presentation/hooks/index.d.ts +3 -3
- package/dist/system/presentation/hooks/index.js +3 -3
- package/dist/system/presentation/hooks/menu/index.d.ts +1 -1
- package/dist/system/presentation/hooks/menu/index.js +1 -1
- package/dist/system/presentation/hooks/menu/use-load-menu.d.ts +1 -1
- package/dist/system/presentation/hooks/menu/use-load-menu.js +1 -1
- package/dist/system/presentation/hooks/notifications/index.d.ts +2 -2
- package/dist/system/presentation/hooks/notifications/index.js +2 -2
- package/dist/system/presentation/hooks/notifications/use-load-all/index.js +1 -1
- package/dist/system/presentation/hooks/notifications/use-load-no-read/index.d.ts +1 -1
- package/dist/system/presentation/hooks/notifications/use-load-no-read/index.js +1 -1
- package/dist/system/presentation/hooks/ui/index.d.ts +2 -2
- package/dist/system/presentation/hooks/ui/index.js +2 -2
- 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/actions/index.d.ts +0 -5
- package/dist/system/presentation/hooks/ui/use-table/components/table/actions/index.js +0 -109
- package/dist/system/presentation/hooks/ui/use-table/components/table/create/index.d.ts +0 -4
- package/dist/system/presentation/hooks/ui/use-table/components/table/create/index.js +0 -107
- package/dist/system/presentation/hooks/ui/use-table/components/table/export/index.d.ts +0 -4
- package/dist/system/presentation/hooks/ui/use-table/components/table/export/index.js +0 -35
- package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.d.ts +0 -4
- package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.js +0 -128
- 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/index.js.map +1 -1
- 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 +0 -2
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.js +0 -50
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/interfaces.d.ts +0 -6
- 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 -82
- package/dist/system/presentation/hooks/ui/use-table/query/get-query-arguments-table.d.ts +0 -2
- package/dist/system/presentation/hooks/ui/use-table/query/hook.d.ts +0 -5
- package/dist/system/presentation/hooks/ui/use-table/query/hook.js +0 -50
- package/dist/system/presentation/hooks/ui/use-table/query/index.d.ts +0 -2
- package/dist/system/presentation/hooks/ui/use-table/query/index.js +0 -19
- package/dist/system/presentation/index.d.ts +5 -5
- package/dist/system/presentation/index.js +5 -5
- package/dist/system/presentation/utils/index.d.ts +0 -1
- package/dist/system/presentation/utils/index.js +0 -18
- package/dist/system/presentation/utils/use-query/index.d.ts +0 -1
- package/dist/system/presentation/utils/use-query/index.js +0 -18
- package/dist/ui/components/accordion/index..d.ts +1 -1
- package/dist/ui/components/accordion/index..js +2 -2
- package/dist/ui/components/breadcrumb/index.d.ts +1 -1
- package/dist/ui/components/breadcrumb/index.js +2 -2
- package/dist/ui/components/button/component.d.ts +1 -1
- package/dist/ui/components/button/component.js +2 -2
- package/dist/ui/components/button/index.d.ts +2 -2
- package/dist/ui/components/button/index.js +2 -2
- package/dist/ui/components/button/interfaces.d.ts +1 -1
- package/dist/ui/components/container/index.d.ts +1 -1
- package/dist/ui/components/error-boundary/component.d.ts +1 -1
- package/dist/ui/components/error-boundary/component.js +1 -1
- package/dist/ui/components/error-boundary/error-body.d.ts +1 -1
- package/dist/ui/components/error-boundary/index.d.ts +2 -2
- package/dist/ui/components/error-boundary/index.js +2 -2
- package/dist/ui/components/form/checkbox/index.js +0 -56
- package/dist/ui/components/form/handler/component.d.ts +0 -2
- package/dist/ui/components/form/handler/component.js +0 -25
- package/dist/ui/components/form/handler/custom-submit/index.d.ts +0 -16
- package/dist/ui/components/form/handler/custom-submit/index.js +0 -22
- 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 -113
- 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 -27
- package/dist/ui/components/form/handler/form-handler/index.d.ts +0 -2
- package/dist/ui/components/form/handler/form-handler/index.js +0 -201
- package/dist/ui/components/form/handler/index.d.ts +0 -5
- package/dist/ui/components/form/handler/index.js +0 -22
- package/dist/ui/components/form/handler/interfaces.d.ts +0 -31
- package/dist/ui/components/form/index.d.ts +0 -14
- package/dist/ui/components/form/index.js +0 -31
- package/dist/ui/components/form/input/index.d.ts +0 -2
- package/dist/ui/components/form/input/index.js +0 -41
- package/dist/ui/components/form/input-control/error/index.js +0 -34
- package/dist/ui/components/form/input-control/index.d.ts +0 -2
- package/dist/ui/components/form/input-control/index.js +0 -41
- package/dist/ui/components/form/input-control/label/index.js +0 -34
- package/dist/ui/components/form/input-control/loader-input/index.js +0 -34
- package/dist/ui/components/form/input-cpf-cnpj/index.d.ts +0 -2
- package/dist/ui/components/form/input-cpf-cnpj/index.js +0 -55
- package/dist/ui/components/form/input-currency/index.d.ts +0 -2
- package/dist/ui/components/form/input-currency/index.js +0 -27
- package/dist/ui/components/form/input-date/index.d.ts +0 -4
- package/dist/ui/components/form/input-date/index.js +0 -47
- package/dist/ui/components/form/input-file/file-card/index.d.ts +0 -5
- package/dist/ui/components/form/input-file/file-card/index.js +0 -65
- package/dist/ui/components/form/input-file/index.d.ts +0 -2
- package/dist/ui/components/form/input-file/index.js +0 -104
- package/dist/ui/components/form/input-mask/index.d.ts +0 -5
- package/dist/ui/components/form/input-mask/index.js +0 -35
- package/dist/ui/components/form/input-password/index.d.ts +0 -2
- package/dist/ui/components/form/input-password/index.js +0 -55
- package/dist/ui/components/form/input-switch/index.d.ts +0 -2
- package/dist/ui/components/form/input-switch/index.js +0 -24
- package/dist/ui/components/form/interfaces.d.ts +0 -23
- package/dist/ui/components/form/radio/index.js +0 -64
- package/dist/ui/components/form/select/index.d.ts +0 -2
- package/dist/ui/components/form/select/index.js +0 -85
- package/dist/ui/components/form/select/interfaces.d.ts +0 -32
- package/dist/ui/components/form/textarea/index.d.ts +0 -2
- package/dist/ui/components/form/textarea/index.js +0 -29
- package/dist/ui/components/index.d.ts +10 -10
- package/dist/ui/components/index.js +10 -10
- package/dist/ui/components/loader-circle/index.d.ts +0 -2
- package/dist/ui/components/loading-screen/index.d.ts +1 -1
- package/dist/ui/components/loading-screen/index.js +3 -3
- 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 +2 -2
- package/dist/ui/components/menu-mobile/components/nav-links/interfaces.d.ts +1 -1
- package/dist/ui/components/menu-mobile/index.d.ts +1 -1
- package/dist/ui/components/menu-mobile/index.js +4 -4
- package/dist/ui/components/menu-mobile/top/index.d.ts +1 -1
- package/dist/ui/components/menu-mobile/top/index.js +2 -2
- package/dist/ui/components/menu-mobile/top/interfaces.d.ts +1 -1
- package/dist/ui/components/next-image/index.d.ts +1 -1
- package/dist/ui/components/next-image/index.js +3 -3
- package/dist/ui/components/sidebar/index.d.ts +1 -1
- package/dist/ui/components/sidebar/index.js +1 -1
- package/dist/ui/contexts/index.d.ts +3 -3
- package/dist/ui/contexts/index.js +3 -3
- package/dist/ui/contexts/theme/context.d.ts +1 -1
- package/dist/ui/contexts/theme/context.js +1 -1
- package/dist/ui/contexts/theme/index.d.ts +2 -2
- package/dist/ui/contexts/theme/index.js +2 -2
- package/dist/ui/contexts/toast/index.d.ts +1 -1
- package/dist/ui/contexts/toast/toast-item/index.d.ts +1 -1
- package/dist/ui/contexts/toast/toast-item/index.js +2 -2
- package/dist/ui/icons/render/Globe.d.ts +1 -1
- package/dist/ui/icons/render/LongArrowRight.d.ts +1 -1
- package/dist/ui/index.d.ts +5 -5
- package/dist/ui/index.js +5 -5
- package/dist/ui/utils/buffer/index.d.ts +1 -1
- package/dist/ui/utils/buffer/index.js +1 -1
- package/dist/ui/utils/facebook/index.d.ts +1 -1
- package/dist/ui/utils/facebook/index.js +1 -1
- package/dist/ui/utils/file/index.d.ts +2 -2
- package/dist/ui/utils/file/index.js +2 -2
- package/dist/ui/utils/file/load-file.d.ts +1 -1
- package/dist/ui/utils/file/load-file.js +1 -1
- package/dist/ui/utils/file/upload-file.d.ts +1 -1
- package/dist/ui/utils/file/upload-file.js +1 -1
- package/dist/ui/utils/index.d.ts +7 -7
- package/dist/ui/utils/index.js +7 -7
- package/dist/ui/utils/libs/index.d.ts +1 -1
- package/dist/ui/utils/libs/index.js +1 -1
- package/dist/ui/utils/libs/next/index.d.ts +2 -2
- package/dist/ui/utils/libs/next/index.js +2 -2
- package/dist/ui/utils/validations/index.d.ts +2 -2
- package/dist/ui/utils/validations/index.js +2 -2
- package/package.json +1 -1
|
@@ -1,35 +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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.InputMask = void 0;
|
|
15
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
-
var react_1 = require("react");
|
|
17
|
-
var formik_1 = require("formik");
|
|
18
|
-
var mask_1 = require("@react-input/mask");
|
|
19
|
-
var input_control_1 = require("../input-control/index.js");
|
|
20
|
-
function InputMask(props) {
|
|
21
|
-
var _a = (0, formik_1.useField)({ name: props.name }), field = _a[0], _ = _a[1], helpers = _a[2];
|
|
22
|
-
var inputRef = (0, mask_1.useMask)({
|
|
23
|
-
mask: props.mask,
|
|
24
|
-
replacement: { _: /\d/ },
|
|
25
|
-
});
|
|
26
|
-
(0, react_1.useEffect)(function () {
|
|
27
|
-
if (field.value === undefined) {
|
|
28
|
-
helpers.setValue('');
|
|
29
|
-
inputRef.current.value = '';
|
|
30
|
-
}
|
|
31
|
-
}, [field.value]);
|
|
32
|
-
return ((0, jsx_runtime_1.jsx)(input_control_1.InputControl, __assign({}, props, { children: (0, jsx_runtime_1.jsx)("input", __assign({ id: props.name }, field, { placeholder: props.placeholder, ref: inputRef })) })));
|
|
33
|
-
}
|
|
34
|
-
exports.InputMask = InputMask;
|
|
35
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,55 +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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.InputPassword = void 0;
|
|
38
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
39
|
-
var react_1 = require("react");
|
|
40
|
-
var formik_1 = require("formik");
|
|
41
|
-
var icons_1 = require("../../../../ui/icons/index.js");
|
|
42
|
-
var input_control_1 = require("../input-control/index.js");
|
|
43
|
-
var S = __importStar(require("./styles.js"));
|
|
44
|
-
function InputPassword(props) {
|
|
45
|
-
var _a = (0, react_1.useState)(false), showPassword = _a[0], setShowPassword = _a[1];
|
|
46
|
-
var _b = (0, formik_1.useField)(props.name), field = _b[0], _ = _b[1], helpers = _b[2];
|
|
47
|
-
(0, react_1.useEffect)(function () {
|
|
48
|
-
if (field.value === undefined) {
|
|
49
|
-
helpers.setValue("");
|
|
50
|
-
}
|
|
51
|
-
}, [field.value]);
|
|
52
|
-
return ((0, jsx_runtime_1.jsx)(S.InputPassword, { children: (0, jsx_runtime_1.jsxs)(input_control_1.InputControl, __assign({}, props, { children: [(0, jsx_runtime_1.jsx)("input", __assign({ id: props.name, type: showPassword ? 'text' : 'password', className: 'font-16-regular' }, props, field)), (0, jsx_runtime_1.jsx)("button", { tabIndex: -1, type: 'button', className: 'eye', onClick: function () { return setShowPassword(!showPassword); }, "aria-label": 'password eye', children: (0, jsx_runtime_1.jsx)("div", { className: 'icon', children: (0, jsx_runtime_1.jsx)(icons_1.Icon, { name: !showPassword ? 'IconEyeOff' : 'IconEye' }) }) })] })) }));
|
|
53
|
-
}
|
|
54
|
-
exports.InputPassword = InputPassword;
|
|
55
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,24 +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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.InputSwitch = void 0;
|
|
15
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
-
var formik_1 = require("formik");
|
|
17
|
-
var semantic_ui_react_1 = require("semantic-ui-react");
|
|
18
|
-
var input_control_1 = require("../input-control/index.js");
|
|
19
|
-
function InputSwitch(props) {
|
|
20
|
-
var field = (0, formik_1.useField)({ name: props.name, type: "checkbox" })[0];
|
|
21
|
-
return ((0, jsx_runtime_1.jsx)(input_control_1.InputControl, __assign({}, props, { children: (0, jsx_runtime_1.jsx)(semantic_ui_react_1.Checkbox, __assign({ toggle: true }, field, { id: props.name })) })));
|
|
22
|
-
}
|
|
23
|
-
exports.InputSwitch = InputSwitch;
|
|
24
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IconsNames } from '../../../ui/icons/index.js';
|
|
3
|
-
interface Props {
|
|
4
|
-
name: string;
|
|
5
|
-
label?: string;
|
|
6
|
-
loading?: boolean;
|
|
7
|
-
icon?: {
|
|
8
|
-
name: IconsNames;
|
|
9
|
-
size: number;
|
|
10
|
-
color: string;
|
|
11
|
-
direction?: 'left' | 'right';
|
|
12
|
-
};
|
|
13
|
-
iconDirection?: 'left' | 'right';
|
|
14
|
-
$isAccumalativeFile?: boolean;
|
|
15
|
-
only?: 'cpf' | 'cnpj';
|
|
16
|
-
onChangeInput?: (value: string) => void;
|
|
17
|
-
}
|
|
18
|
-
export interface IOptionSelect {
|
|
19
|
-
label: string;
|
|
20
|
-
value: string;
|
|
21
|
-
}
|
|
22
|
-
export type InputProps = JSX.IntrinsicElements['input'] & JSX.IntrinsicElements['textarea'] & Props;
|
|
23
|
-
export {};
|
|
@@ -1,64 +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.InputRadio = exports.InputRadioComponent = void 0;
|
|
49
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
50
|
-
var formik_1 = require("formik");
|
|
51
|
-
var S = __importStar(require("./styles.js"));
|
|
52
|
-
var input_control_1 = require("../input-control/index.js");
|
|
53
|
-
function InputRadioComponent(props) {
|
|
54
|
-
var field = (0, formik_1.useField)({ name: props.name })[0];
|
|
55
|
-
var isActive = field.value === props.value;
|
|
56
|
-
return ((0, jsx_runtime_1.jsxs)("label", { htmlFor: props.name + props.label, children: [(0, jsx_runtime_1.jsx)("input", __assign({ id: props.name + props.label }, field, { checked: isActive, type: 'radio', value: props.value, style: { display: props.CustomOption ? 'none' : 'block' } })), props.CustomOption ? (0, jsx_runtime_1.jsx)(props.CustomOption, __assign({}, props, { isActive: isActive })) : (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: props.label && props.label })] }));
|
|
57
|
-
}
|
|
58
|
-
exports.InputRadioComponent = InputRadioComponent;
|
|
59
|
-
function InputRadio(_a) {
|
|
60
|
-
var name = _a.name, options = _a.options, props = __rest(_a, ["name", "options"]);
|
|
61
|
-
return ((0, jsx_runtime_1.jsx)(input_control_1.InputControl, __assign({}, props, { name: name, children: (0, jsx_runtime_1.jsx)(S.InputRadio, { children: (0, jsx_runtime_1.jsx)("div", { className: 'list-radios', children: options.map(function (option) { return ((0, jsx_runtime_1.jsx)(InputRadioComponent, __assign({}, option, { name: name }), option.value)); }) }) }) })));
|
|
62
|
-
}
|
|
63
|
-
exports.InputRadio = InputRadio;
|
|
64
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,85 +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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
37
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
38
|
-
};
|
|
39
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
-
exports.Select = void 0;
|
|
41
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
42
|
-
var react_1 = require("react");
|
|
43
|
-
var formik_1 = require("formik");
|
|
44
|
-
var react_select_1 = __importDefault(require("react-select"));
|
|
45
|
-
var ui_1 = require("../../../../ui/index.js");
|
|
46
|
-
var custom_styles_1 = require("./custom-styles.js");
|
|
47
|
-
var S = __importStar(require("./styles.js"));
|
|
48
|
-
function Select(props) {
|
|
49
|
-
var _a, _b, _c, _d;
|
|
50
|
-
var _e = (0, formik_1.useField)({
|
|
51
|
-
name: props.name,
|
|
52
|
-
}), field = _e[0], _ = _e[1], helpers = _e[2];
|
|
53
|
-
var fieldValue = field.value || [];
|
|
54
|
-
var value = !props.onlyOneValue
|
|
55
|
-
? fieldValue && (fieldValue === null || fieldValue === void 0 ? void 0 : fieldValue.length) > 0 && props.isGroup
|
|
56
|
-
? fieldValue === null || fieldValue === void 0 ? void 0 : fieldValue.map(function (defaultValueForm) {
|
|
57
|
-
return props.options
|
|
58
|
-
.find(function (option) {
|
|
59
|
-
return option.options.find(function (o) { return o.value === defaultValueForm; });
|
|
60
|
-
})
|
|
61
|
-
.options.find(function (opt) { return opt.value === defaultValueForm; });
|
|
62
|
-
})
|
|
63
|
-
: fieldValue === null || fieldValue === void 0 ? void 0 : fieldValue.map(function (valueForm) { return props.options.find(function (option) { return option.value === valueForm; }); })
|
|
64
|
-
: [props.options.find(function (option) { return option.value === fieldValue; }) || ""];
|
|
65
|
-
(0, react_1.useEffect)(function () {
|
|
66
|
-
if (props.value) {
|
|
67
|
-
helpers.setValue(props.value);
|
|
68
|
-
}
|
|
69
|
-
}, [props.value]);
|
|
70
|
-
return ((0, jsx_runtime_1.jsxs)(S.SelectWrapper, { children: [(0, jsx_runtime_1.jsx)(ui_1.InputControl, __assign({}, props, { children: (0, jsx_runtime_1.jsx)(react_select_1.default, { isDisabled: props.disabled, isSearchable: props.isSearchable, menuPlacement: props.menuPlacement || 'auto', menuIsOpen: props.forceOpenToDevelop ? props.forceOpenToDevelop : undefined, placeholder: props.placeholder, name: field.name, noOptionsMessage: function () { return props.noOptionMessage || 'Nenhuma opção encontrada.'; }, onChange: function (ev) {
|
|
71
|
-
var value = props.onlyOneValue
|
|
72
|
-
? ev.value
|
|
73
|
-
: Array.isArray(ev)
|
|
74
|
-
? ev.map(function (ev) { return ev.value; })
|
|
75
|
-
: ev
|
|
76
|
-
? [ev.value]
|
|
77
|
-
: [];
|
|
78
|
-
helpers.setValue(value);
|
|
79
|
-
props.onChangeSelect && props.onChangeSelect(value);
|
|
80
|
-
}, value: props.value || props.isMultiple ? value : value[0], isMulti: props.isMultiple, options: props.options, components: props.CustomOption
|
|
81
|
-
? { Option: props.CustomOption, SingleValue: props.CustomOption }
|
|
82
|
-
: undefined, className: ((_a = field === null || field === void 0 ? void 0 : field.value) === null || _a === void 0 ? void 0 : _a.length) > 0 ? 'open' : '', styles: props.customStlyes || custom_styles_1.customStyles }) })), ((_b = props === null || props === void 0 ? void 0 : props.addButton) === null || _b === void 0 ? void 0 : _b.CustomComponent) ? ((0, jsx_runtime_1.jsx)("div", { className: 'custom-component', children: (_c = props === null || props === void 0 ? void 0 : props.addButton) === null || _c === void 0 ? void 0 : _c.CustomComponent })) : (((_d = props === null || props === void 0 ? void 0 : props.addButton) === null || _d === void 0 ? void 0 : _d.onClick) && ((0, jsx_runtime_1.jsx)("button", { className: 'add', type: 'button', onClick: props.addButton.onClick, children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'PlusIcon' }) })))] }));
|
|
83
|
-
}
|
|
84
|
-
exports.Select = Select;
|
|
85
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { StylesConfig } from 'react-select';
|
|
3
|
-
import { InputProps } from '../interfaces.js';
|
|
4
|
-
export type Option = {
|
|
5
|
-
label: string;
|
|
6
|
-
value?: string | number;
|
|
7
|
-
color?: string;
|
|
8
|
-
isDisabled?: boolean;
|
|
9
|
-
options?: Option[];
|
|
10
|
-
};
|
|
11
|
-
export type ISelectProps = {
|
|
12
|
-
forceOpenToDevelop?: boolean;
|
|
13
|
-
onlyOneValue?: boolean;
|
|
14
|
-
customStlyes?: StylesConfig;
|
|
15
|
-
options: Option[];
|
|
16
|
-
isGroup?: boolean;
|
|
17
|
-
isMultiple?: boolean;
|
|
18
|
-
isSearchable?: boolean;
|
|
19
|
-
noOptionMessage?: string;
|
|
20
|
-
menuPlacement?: 'bottom' | 'top' | 'auto';
|
|
21
|
-
listposition?: number;
|
|
22
|
-
onChangeSelect?: (value: string[]) => void;
|
|
23
|
-
CustomOption?: (props: {
|
|
24
|
-
data: Option;
|
|
25
|
-
innerRef: any;
|
|
26
|
-
innerProps: any;
|
|
27
|
-
}) => JSX.Element;
|
|
28
|
-
addButton?: {
|
|
29
|
-
onClick?: (param?: any) => void;
|
|
30
|
-
CustomComponent?: React.ReactNode;
|
|
31
|
-
};
|
|
32
|
-
} & InputProps;
|
|
@@ -1,29 +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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.Textarea = void 0;
|
|
15
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
-
var react_1 = require("react");
|
|
17
|
-
var formik_1 = require("formik");
|
|
18
|
-
var input_control_1 = require("../input-control/index.js");
|
|
19
|
-
function Textarea(props) {
|
|
20
|
-
var _a = (0, formik_1.useField)({ name: props.name }), field = _a[0], _ = _a[1], helpers = _a[2];
|
|
21
|
-
(0, react_1.useEffect)(function () {
|
|
22
|
-
if (field.value === undefined) {
|
|
23
|
-
helpers.setValue("");
|
|
24
|
-
}
|
|
25
|
-
}, [field.value]);
|
|
26
|
-
return ((0, jsx_runtime_1.jsx)(input_control_1.InputControl, __assign({}, props, { children: (0, jsx_runtime_1.jsx)("textarea", __assign({ id: props.name, className: "font-16-regular" }, props, field)) })));
|
|
27
|
-
}
|
|
28
|
-
exports.Textarea = Textarea;
|
|
29
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * from './form
|
|
2
|
-
export * from './button
|
|
3
|
-
export * from './sidebar
|
|
4
|
-
export * from './container
|
|
5
|
-
export * from './next-image
|
|
6
|
-
export * from './breadcrumb
|
|
7
|
-
export * from './menu-mobile
|
|
8
|
-
export * from './loader-circle
|
|
9
|
-
export * from './error-boundary
|
|
10
|
-
export * from './loading-screen
|
|
1
|
+
export * from './form';
|
|
2
|
+
export * from './button';
|
|
3
|
+
export * from './sidebar';
|
|
4
|
+
export * from './container';
|
|
5
|
+
export * from './next-image';
|
|
6
|
+
export * from './breadcrumb';
|
|
7
|
+
export * from './menu-mobile';
|
|
8
|
+
export * from './loader-circle';
|
|
9
|
+
export * from './error-boundary';
|
|
10
|
+
export * from './loading-screen';
|
|
@@ -14,14 +14,14 @@ 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("./form
|
|
18
|
-
__exportStar(require("./button
|
|
19
|
-
__exportStar(require("./sidebar
|
|
20
|
-
__exportStar(require("./container
|
|
21
|
-
__exportStar(require("./next-image
|
|
22
|
-
__exportStar(require("./breadcrumb
|
|
23
|
-
__exportStar(require("./menu-mobile
|
|
24
|
-
__exportStar(require("./loader-circle
|
|
25
|
-
__exportStar(require("./error-boundary
|
|
26
|
-
__exportStar(require("./loading-screen
|
|
17
|
+
__exportStar(require("./form"), exports);
|
|
18
|
+
__exportStar(require("./button"), exports);
|
|
19
|
+
__exportStar(require("./sidebar"), exports);
|
|
20
|
+
__exportStar(require("./container"), exports);
|
|
21
|
+
__exportStar(require("./next-image"), exports);
|
|
22
|
+
__exportStar(require("./breadcrumb"), exports);
|
|
23
|
+
__exportStar(require("./menu-mobile"), exports);
|
|
24
|
+
__exportStar(require("./loader-circle"), exports);
|
|
25
|
+
__exportStar(require("./error-boundary"), exports);
|
|
26
|
+
__exportStar(require("./loading-screen"), exports);
|
|
27
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -29,9 +29,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.LoadingScreen = void 0;
|
|
30
30
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
31
|
var react_dom_1 = __importDefault(require("react-dom"));
|
|
32
|
-
var icons_1 = require("
|
|
33
|
-
var error_boundary_1 = require("../error-boundary
|
|
34
|
-
var S = __importStar(require("./styles
|
|
32
|
+
var icons_1 = require("@/ui/icons");
|
|
33
|
+
var error_boundary_1 = require("../error-boundary");
|
|
34
|
+
var S = __importStar(require("./styles"));
|
|
35
35
|
function LoadingScreen(_a) {
|
|
36
36
|
var size = _a.size, color = _a.color;
|
|
37
37
|
return react_dom_1.default.createPortal((0, jsx_runtime_1.jsx)(error_boundary_1.Error, { name: 'LoadingScreen', children: (0, jsx_runtime_1.jsx)(S.LoadingScreen, { children: (0, jsx_runtime_1.jsx)("div", { style: { width: size, color: color }, className: 'icon', children: (0, jsx_runtime_1.jsx)(icons_1.Icon, { name: 'IconLoading' }) }) }) }), document === null || document === void 0 ? void 0 : document.body);
|
|
@@ -34,8 +34,8 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
34
34
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
35
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
36
36
|
var react_1 = require("react");
|
|
37
|
-
var S = __importStar(require("./styles
|
|
38
|
-
var error_boundary_1 = require("
|
|
37
|
+
var S = __importStar(require("./styles"));
|
|
38
|
+
var error_boundary_1 = require("@/ui/components/error-boundary");
|
|
39
39
|
var NavLinks = function (_a) {
|
|
40
40
|
var links = _a.links, isActive = _a.isActive;
|
|
41
41
|
var _b = (0, react_1.useState)(null), submenu = _b[0], setSubmenu = _b[1];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IMenuMobileProps } from './interfaces
|
|
1
|
+
import { IMenuMobileProps } from './interfaces';
|
|
2
2
|
export declare function MenuMobile({ linksMenu, topConfigs }: IMenuMobileProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -29,10 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.MenuMobile = void 0;
|
|
30
30
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
31
|
var react_1 = require("react");
|
|
32
|
-
var top_1 = require("./top
|
|
33
|
-
var nav_links_1 = __importDefault(require("./components/nav-links
|
|
34
|
-
var S = __importStar(require("./styles
|
|
35
|
-
var error_boundary_1 = require("../error-boundary
|
|
32
|
+
var top_1 = require("./top");
|
|
33
|
+
var nav_links_1 = __importDefault(require("./components/nav-links"));
|
|
34
|
+
var S = __importStar(require("./styles"));
|
|
35
|
+
var error_boundary_1 = require("../error-boundary");
|
|
36
36
|
function MenuMobile(_a) {
|
|
37
37
|
var linksMenu = _a.linksMenu, topConfigs = _a.topConfigs;
|
|
38
38
|
var _b = (0, react_1.useState)(false), isActive = _b[0], setIsActive = _b[1];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ITopProps } from './interfaces
|
|
1
|
+
import { ITopProps } from './interfaces';
|
|
2
2
|
export declare function Top({ configs, setIsActive }: ITopProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -29,8 +29,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.Top = void 0;
|
|
30
30
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
31
|
var link_1 = __importDefault(require("next/link"));
|
|
32
|
-
var error_boundary_1 = require("../../error-boundary
|
|
33
|
-
var S = __importStar(require("./styles
|
|
32
|
+
var error_boundary_1 = require("../../error-boundary");
|
|
33
|
+
var S = __importStar(require("./styles"));
|
|
34
34
|
function Top(_a) {
|
|
35
35
|
var configs = _a.configs, setIsActive = _a.setIsActive;
|
|
36
36
|
if (!configs) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { NextImageProps } from './interfaces
|
|
1
|
+
import { NextImageProps } from './interfaces';
|
|
2
2
|
export declare function NextImage({ src, alt, forceLoading }: NextImageProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -29,9 +29,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.NextImage = void 0;
|
|
30
30
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
31
|
var image_1 = __importDefault(require("next/image"));
|
|
32
|
-
var error_boundary_1 = require("../error-boundary
|
|
33
|
-
var loader_circle_1 = require("../loader-circle
|
|
34
|
-
var S = __importStar(require("./styles
|
|
32
|
+
var error_boundary_1 = require("../error-boundary");
|
|
33
|
+
var loader_circle_1 = require("../loader-circle");
|
|
34
|
+
var S = __importStar(require("./styles"));
|
|
35
35
|
function NextImage(_a) {
|
|
36
36
|
var src = _a.src, alt = _a.alt, forceLoading = _a.forceLoading;
|
|
37
37
|
var isLoading = forceLoading;
|
|
@@ -29,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.SideBar = void 0;
|
|
30
30
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
31
|
var react_dom_1 = __importDefault(require("react-dom"));
|
|
32
|
-
var S = __importStar(require("./styles
|
|
32
|
+
var S = __importStar(require("./styles"));
|
|
33
33
|
function SideBar(_a) {
|
|
34
34
|
var children = _a.children, maxWidth = _a.maxWidth, open = _a.open, setOpen = _a.setOpen, _b = _a.direction, direction = _b === void 0 ? 'right' : _b, overlay = _a.overlay;
|
|
35
35
|
function handleClose() {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './theme
|
|
2
|
-
export * from './toast
|
|
3
|
-
export * from './route-loading
|
|
1
|
+
export * from './theme';
|
|
2
|
+
export * from './toast';
|
|
3
|
+
export * from './route-loading';
|
|
@@ -14,7 +14,7 @@ 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("./theme
|
|
18
|
-
__exportStar(require("./toast
|
|
19
|
-
__exportStar(require("./route-loading
|
|
17
|
+
__exportStar(require("./theme"), exports);
|
|
18
|
+
__exportStar(require("./toast"), exports);
|
|
19
|
+
__exportStar(require("./route-loading"), exports);
|
|
20
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -4,7 +4,7 @@ exports.useTheme = exports.ThemeProvider = void 0;
|
|
|
4
4
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
var react_1 = require("react");
|
|
6
6
|
var styled_components_1 = require("styled-components");
|
|
7
|
-
var interfaces_1 = require("./interfaces
|
|
7
|
+
var interfaces_1 = require("./interfaces");
|
|
8
8
|
var themeContext = (0, react_1.createContext)({});
|
|
9
9
|
function ThemeProvider(_a) {
|
|
10
10
|
var _b;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./context
|
|
2
|
-
export * from "./interfaces
|
|
1
|
+
export * from "./context";
|
|
2
|
+
export * from "./interfaces";
|
|
@@ -14,6 +14,6 @@ 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("./context
|
|
18
|
-
__exportStar(require("./interfaces
|
|
17
|
+
__exportStar(require("./context"), exports);
|
|
18
|
+
__exportStar(require("./interfaces"), exports);
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { Toast } from '../interfaces
|
|
2
|
+
import { Toast } from '../interfaces';
|
|
3
3
|
export declare function ToastItem({ uid, status, message, setToast, }: {
|
|
4
4
|
setToast: React.Dispatch<React.SetStateAction<Toast[]>>;
|
|
5
5
|
} & Toast): import("react/jsx-runtime").JSX.Element;
|