infinity-forge 0.4.0 → 0.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/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 +3 -3
- package/dist/sites/index.js +3 -3
- 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/system/container/admin/auth/container.js +2 -2
- package/dist/system/container/admin/auth/index.d.ts +2 -2
- package/dist/system/container/admin/auth/index.js +2 -2
- package/dist/system/container/admin/index.d.ts +3 -1
- package/dist/system/container/admin/index.js +3 -1
- package/dist/system/container/admin/index.js.map +1 -1
- package/dist/system/container/admin/menu/container.d.ts +3 -0
- package/dist/system/container/admin/menu/container.js +11 -0
- package/dist/system/container/admin/menu/container.js.map +1 -0
- package/dist/system/container/admin/menu/index.d.ts +2 -0
- package/dist/system/container/admin/menu/index.js +19 -0
- package/dist/system/container/admin/menu/index.js.map +1 -0
- package/dist/system/container/admin/menu/types.d.ts +3 -0
- package/dist/system/container/admin/menu/types.js +7 -0
- package/dist/system/container/admin/menu/types.js.map +1 -0
- package/dist/system/container/admin/users/container.d.ts +3 -0
- package/dist/system/container/admin/users/container.js +12 -0
- package/dist/system/container/admin/users/container.js.map +1 -0
- package/dist/system/container/admin/users/index.d.ts +2 -0
- package/dist/system/container/admin/users/index.js +19 -0
- package/dist/system/container/admin/users/index.js.map +1 -0
- package/dist/system/container/admin/users/types.d.ts +4 -0
- package/dist/system/container/admin/users/types.js +8 -0
- package/dist/system/container/admin/users/types.js.map +1 -0
- package/dist/system/container/decorators/authorize-http-client-decorator.d.ts +2 -2
- package/dist/system/container/decorators/authorize-http-client-decorator.js +3 -3
- package/dist/system/container/decorators/index.d.ts +1 -1
- package/dist/system/container/decorators/index.js +1 -1
- package/dist/system/container/index.d.ts +2 -2
- package/dist/system/container/index.js +2 -2
- package/dist/system/container/infra/container.js +4 -4
- package/dist/system/container/infra/index.d.ts +3 -3
- package/dist/system/container/infra/index.js +3 -3
- package/dist/system/container/main.d.ts +2 -2
- package/dist/system/container/main.js +4 -4
- package/dist/system/container/main.js.map +1 -1
- package/dist/system/container/types.d.ts +3 -0
- package/dist/system/container/types.js +2 -2
- package/dist/system/container/types.js.map +1 -1
- package/dist/system/data/index.d.ts +1 -1
- package/dist/system/data/index.js +1 -1
- package/dist/system/data/use-cases/auth/index.d.ts +1 -1
- package/dist/system/data/use-cases/auth/index.js +1 -1
- package/dist/system/data/use-cases/auth/remote-auth-admin.d.ts +4 -4
- package/dist/system/data/use-cases/auth/remote-auth-admin.js +4 -4
- package/dist/system/data/use-cases/index.d.ts +3 -1
- package/dist/system/data/use-cases/index.js +3 -1
- package/dist/system/data/use-cases/index.js.map +1 -1
- package/dist/system/data/use-cases/menu/index.d.ts +1 -0
- package/dist/system/data/use-cases/menu/index.js +18 -0
- package/dist/system/data/use-cases/menu/index.js.map +1 -0
- package/dist/system/data/use-cases/menu/remote-get-menu.d.ts +8 -0
- package/dist/system/data/use-cases/menu/remote-get-menu.js +109 -0
- package/dist/system/data/use-cases/menu/remote-get-menu.js.map +1 -0
- package/dist/system/data/use-cases/users/index.d.ts +2 -0
- package/dist/system/data/use-cases/users/index.js +19 -0
- package/dist/system/data/use-cases/users/index.js.map +1 -0
- package/dist/system/data/use-cases/users/remote-load-user-admin.d.ts +8 -0
- package/dist/system/data/use-cases/users/remote-load-user-admin.js +109 -0
- package/dist/system/data/use-cases/users/remote-load-user-admin.js.map +1 -0
- package/dist/system/data/use-cases/users/remote-users.d.ts +12 -0
- package/dist/system/data/use-cases/users/remote-users.js +177 -0
- package/dist/system/data/use-cases/users/remote-users.js.map +1 -0
- package/dist/system/domain/generics/index.d.ts +2 -1
- package/dist/system/domain/generics/index.js +2 -1
- package/dist/system/domain/generics/index.js.map +1 -1
- package/dist/system/domain/generics/pagination.d.ts +14 -0
- package/dist/system/domain/generics/pagination.js +3 -0
- package/dist/system/domain/generics/pagination.js.map +1 -0
- package/dist/system/domain/generics/return-type.d.ts +8 -0
- package/dist/system/domain/generics/return-type.js +3 -0
- package/dist/system/domain/generics/return-type.js.map +1 -0
- package/dist/system/domain/index.d.ts +3 -3
- package/dist/system/domain/index.js +3 -3
- package/dist/system/domain/index.js.map +1 -1
- package/dist/system/domain/protocols/cache/get-storage.d.ts +2 -2
- package/dist/system/domain/protocols/cache/index.d.ts +3 -3
- package/dist/system/domain/protocols/cache/index.js +3 -3
- package/dist/system/domain/protocols/cache/set-storage.d.ts +2 -2
- package/dist/system/domain/protocols/http/errors/http-errors/conflict-error.d.ts +8 -0
- package/dist/system/domain/protocols/http/errors/http-errors/conflict-error.js +11 -0
- package/dist/system/domain/protocols/http/errors/http-errors/conflict-error.js.map +1 -0
- package/dist/system/domain/protocols/http/errors/http-errors/index.d.ts +5 -5
- package/dist/system/domain/protocols/http/errors/http-errors/index.js +5 -5
- package/dist/system/domain/protocols/http/errors/index.d.ts +2 -2
- package/dist/system/domain/protocols/http/errors/index.js +2 -2
- 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/protocols/http/http-client.d.ts +2 -1
- package/dist/system/domain/protocols/http/http-client.js +1 -0
- package/dist/system/domain/protocols/http/http-client.js.map +1 -1
- package/dist/system/domain/protocols/http/index.d.ts +2 -2
- package/dist/system/domain/protocols/http/index.js +2 -2
- package/dist/system/domain/protocols/index.d.ts +2 -2
- package/dist/system/domain/protocols/index.js +2 -2
- package/dist/system/domain/use-cases/auth/admin/auth-admin.d.ts +3 -4
- package/dist/system/domain/use-cases/auth/admin/index.d.ts +1 -1
- package/dist/system/domain/use-cases/auth/admin/index.js +1 -1
- package/dist/system/domain/use-cases/auth/index.d.ts +1 -1
- package/dist/system/domain/use-cases/auth/index.js +1 -1
- package/dist/system/domain/use-cases/index.d.ts +3 -1
- package/dist/system/domain/use-cases/index.js +3 -1
- package/dist/system/domain/use-cases/index.js.map +1 -1
- package/dist/system/domain/use-cases/menu/index.d.ts +1 -0
- package/dist/system/domain/use-cases/menu/index.js +18 -0
- package/dist/system/domain/use-cases/menu/index.js.map +1 -0
- package/dist/system/domain/use-cases/menu/load-menu.d.ts +15 -0
- package/dist/system/domain/use-cases/menu/load-menu.js +3 -0
- package/dist/system/domain/use-cases/menu/load-menu.js.map +1 -0
- package/dist/system/domain/use-cases/users/create-user.d.ts +15 -0
- package/dist/system/domain/use-cases/users/create-user.js +3 -0
- package/dist/system/domain/use-cases/users/create-user.js.map +1 -0
- package/dist/system/domain/use-cases/users/delete-user.d.ts +10 -0
- package/dist/system/domain/use-cases/users/delete-user.js +3 -0
- package/dist/system/domain/use-cases/users/delete-user.js.map +1 -0
- package/dist/system/domain/use-cases/users/edit-user.d.ts +8 -0
- package/dist/system/domain/use-cases/users/edit-user.js +3 -0
- package/dist/system/domain/use-cases/users/edit-user.js.map +1 -0
- package/dist/system/domain/use-cases/users/get-detail-user.d.ts +10 -0
- package/dist/system/domain/use-cases/users/get-detail-user.js +3 -0
- package/dist/system/domain/use-cases/users/get-detail-user.js.map +1 -0
- package/dist/system/domain/use-cases/users/index.d.ts +6 -0
- package/dist/system/domain/use-cases/users/index.js +23 -0
- package/dist/system/domain/use-cases/users/index.js.map +1 -0
- package/dist/system/domain/use-cases/users/load-all-users.d.ts +23 -0
- package/dist/system/domain/use-cases/users/load-all-users.js +3 -0
- package/dist/system/domain/use-cases/users/load-all-users.js.map +1 -0
- package/dist/system/domain/use-cases/users/load-user-admin.d.ts +15 -0
- package/dist/system/domain/use-cases/users/load-user-admin.js +3 -0
- package/dist/system/domain/use-cases/users/load-user-admin.js.map +1 -0
- package/dist/system/index.d.ts +5 -6
- package/dist/system/index.js +5 -6
- package/dist/system/index.js.map +1 -1
- package/dist/system/infra/cache/cookie-storage-adapter.d.ts +4 -4
- package/dist/system/infra/cache/cookie-storage-adapter.js +6 -50
- package/dist/system/infra/cache/cookie-storage-adapter.js.map +1 -1
- package/dist/system/infra/cache/index.d.ts +2 -2
- package/dist/system/infra/cache/index.js +2 -2
- package/dist/system/infra/cache/storage-type.d.ts +1 -1
- package/dist/system/infra/http/axios-http-client.d.ts +1 -1
- package/dist/system/infra/http/axios-http-client.js +7 -2
- package/dist/system/infra/http/axios-http-client.js.map +1 -1
- package/dist/system/infra/http/index.d.ts +1 -1
- package/dist/system/infra/http/index.js +1 -1
- package/dist/system/infra/index.d.ts +3 -3
- package/dist/system/infra/index.js +3 -3
- package/dist/system/infra/type-models/index.d.ts +2 -2
- package/dist/system/infra/type-models/index.js +2 -2
- package/dist/system/presentation/components/data/avatar/index.js +2 -2
- package/dist/system/presentation/components/data/cards/index.d.ts +1 -1
- package/dist/system/presentation/components/data/cards/index.js +1 -1
- package/dist/system/presentation/components/data/cards/message-card/index.d.ts +1 -1
- package/dist/system/presentation/components/data/cards/message-card/index.js +3 -3
- package/dist/system/presentation/components/data/index.d.ts +8 -8
- package/dist/system/presentation/components/data/index.js +8 -8
- 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/popover/index.d.ts +1 -1
- package/dist/system/presentation/components/data/sign-up/index.js +3 -3
- package/dist/system/presentation/components/data/skeleton/index.d.ts +1 -1
- package/dist/system/presentation/components/data/skeleton/index.js +2 -2
- package/dist/system/presentation/components/index.d.ts +3 -2
- package/dist/system/presentation/components/index.js +3 -2
- package/dist/system/presentation/components/index.js.map +1 -1
- package/dist/system/presentation/components/layout/component.js +3 -3
- 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/index.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/index.js +3 -3
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/interfaces.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/index.js +4 -4
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/index.js +3 -3
- 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/header/version-01/index.js.map +1 -1
- package/dist/system/presentation/components/layout/header/version-01/styles.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/version-01/styles.js +2 -2
- package/dist/system/presentation/components/layout/header/version-01/styles.js.map +1 -1
- 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 +8 -7
- package/dist/system/presentation/components/layout/menu/components/menu/index.js.map +1 -1
- package/dist/system/presentation/components/layout/menu/components/select-workspace/index.js +2 -2
- package/dist/system/presentation/components/layout/menu/index.js +1 -1
- package/dist/system/presentation/components/layout/menu/version-01/index.js +3 -3
- package/dist/system/presentation/components/pages/index.d.ts +1 -0
- package/dist/system/presentation/components/pages/index.js +18 -0
- package/dist/system/presentation/components/pages/index.js.map +1 -0
- package/dist/system/presentation/components/pages/users/index.d.ts +1 -0
- package/dist/system/{pages → presentation/components/pages/users}/index.js +1 -1
- package/dist/system/presentation/components/pages/users/index.js.map +1 -0
- package/dist/system/presentation/components/pages/users/page.d.ts +1 -0
- package/dist/system/presentation/components/pages/users/page.js +33 -0
- package/dist/system/presentation/components/pages/users/page.js.map +1 -0
- package/dist/system/presentation/components/pages/users/table/columns.d.ts +3 -0
- package/dist/system/presentation/components/pages/users/table/columns.js +9 -0
- package/dist/system/presentation/components/pages/users/table/columns.js.map +1 -0
- package/dist/system/presentation/components/pages/users/table/delete.d.ts +3 -0
- package/dist/system/presentation/components/pages/users/table/delete.js +74 -0
- package/dist/system/presentation/components/pages/users/table/delete.js.map +1 -0
- package/dist/system/presentation/components/pages/users/table/edit.d.ts +3 -0
- package/dist/system/presentation/components/pages/users/table/edit.js +87 -0
- package/dist/system/presentation/components/pages/users/table/edit.js.map +1 -0
- package/dist/system/presentation/components/pages/users/table/index.d.ts +3 -0
- package/dist/system/presentation/components/pages/users/table/index.js +20 -0
- package/dist/system/presentation/components/pages/users/table/index.js.map +1 -0
- package/dist/system/presentation/configs/index.d.ts +2 -3
- package/dist/system/presentation/configs/index.js +2 -3
- package/dist/system/presentation/configs/index.js.map +1 -1
- package/dist/system/presentation/configs/menu.d.ts +1 -1
- package/dist/system/presentation/context/auth/authenticated/index.js +1 -1
- package/dist/system/presentation/context/auth/context.d.ts +1 -6
- package/dist/system/presentation/context/auth/context.js +37 -9
- package/dist/system/presentation/context/auth/context.js.map +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 +6 -0
- package/dist/system/presentation/context/auth/interfaces.js +3 -0
- package/dist/system/presentation/context/auth/interfaces.js.map +1 -0
- package/dist/system/presentation/context/auth/login/index.js +3 -3
- package/dist/system/presentation/context/auth/private-page/index.js +4 -4
- package/dist/system/presentation/context/auth/private-page/index.js.map +1 -1
- package/dist/system/presentation/context/auth/unauthenticated/index.js +1 -1
- package/dist/system/presentation/context/index.d.ts +1 -1
- package/dist/system/presentation/context/index.js +1 -1
- package/dist/system/presentation/hooks/index.d.ts +2 -1
- package/dist/system/presentation/hooks/index.js +2 -1
- package/dist/system/presentation/hooks/index.js.map +1 -1
- package/dist/system/presentation/hooks/menu/index.d.ts +1 -0
- package/dist/system/presentation/hooks/menu/index.js +18 -0
- package/dist/system/presentation/hooks/menu/index.js.map +1 -0
- package/dist/system/presentation/hooks/menu/use-load-menu.d.ts +1 -0
- package/dist/system/presentation/hooks/menu/use-load-menu.js +70 -0
- package/dist/system/presentation/hooks/menu/use-load-menu.js.map +1 -0
- package/dist/system/presentation/hooks/ui/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/index.js +1 -1
- package/dist/system/presentation/hooks/ui/use-table/component.d.ts +2 -3
- package/dist/system/presentation/hooks/ui/use-table/component.js +16 -5
- package/dist/system/presentation/hooks/ui/use-table/component.js.map +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/active-indicator/index.js +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/index.d.ts +1 -3
- package/dist/system/presentation/hooks/ui/use-table/components/index.js +1 -3
- package/dist/system/presentation/hooks/ui/use-table/components/index.js.map +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/active-indicator/index.js +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/index.js +4 -4
- package/dist/system/presentation/hooks/ui/use-table/components/table/actions/index.d.ts +5 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/actions/index.js +78 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/actions/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/index.d.ts +2 -2
- package/dist/system/presentation/hooks/ui/use-table/components/table/index.js +33 -33
- 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 +4 -4
- package/dist/system/presentation/hooks/ui/use-table/components/table/loader-table/index.js +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/index.d.ts +2 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/index.js +68 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/service.d.ts +25 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/service.js +53 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/service.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/styles.d.ts +2 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/styles.js +14 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/styles.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.js +3 -4
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.js.map +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/interfaces.d.ts +2 -2
- package/dist/system/presentation/hooks/ui/use-table/index.d.ts +3 -5
- package/dist/system/presentation/hooks/ui/use-table/index.js +3 -5
- package/dist/system/presentation/hooks/ui/use-table/index.js.map +1 -1
- package/dist/system/presentation/hooks/ui/use-table/interfaces.d.ts +38 -39
- 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 +1 -1
- package/dist/system/presentation/hooks/ui/use-table/query/interfaces.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/query/service.js +1 -1
- package/dist/system/presentation/hooks/ui/use-table/query.d.ts +3 -0
- package/dist/system/presentation/hooks/ui/use-table/query.js +68 -0
- package/dist/system/presentation/hooks/ui/use-table/query.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/filter-empty-values.js +1 -1
- package/dist/system/presentation/hooks/ui/use-table/utils/index.d.ts +4 -4
- package/dist/system/presentation/hooks/ui/use-table/utils/index.js +4 -4
- package/dist/system/presentation/hooks/users/load-all-users.d.ts +1 -0
- package/dist/system/presentation/hooks/users/load-all-users.js +9 -0
- package/dist/system/presentation/hooks/users/load-all-users.js.map +1 -0
- package/dist/system/presentation/index.d.ts +5 -4
- package/dist/system/presentation/index.js +5 -4
- package/dist/system/presentation/index.js.map +1 -1
- package/dist/system/presentation/utils/index.d.ts +1 -0
- package/dist/system/presentation/utils/index.js +18 -0
- package/dist/system/presentation/utils/index.js.map +1 -0
- package/dist/system/presentation/utils/use-query/call-api-one-time.d.ts +5 -0
- package/dist/system/presentation/utils/use-query/call-api-one-time.js +9 -0
- package/dist/system/presentation/utils/use-query/call-api-one-time.js.map +1 -0
- package/dist/system/presentation/utils/use-query/index.d.ts +1 -0
- package/dist/system/presentation/utils/use-query/index.js +18 -0
- package/dist/system/presentation/utils/use-query/index.js.map +1 -0
- 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 +23 -23
- package/dist/ui/components/breadcrumb/index.js.map +1 -1
- 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 +2 -2
- package/dist/ui/components/form/handler/custom-submit/index.d.ts +1 -1
- package/dist/ui/components/form/handler/custom-submit/index.js +1 -1
- package/dist/ui/components/form/handler/dynamic_form_handler/index.d.ts +2 -0
- package/dist/ui/components/form/handler/dynamic_form_handler/index.js +62 -0
- package/dist/ui/components/form/handler/dynamic_form_handler/index.js.map +1 -0
- package/dist/ui/components/form/handler/dynamic_form_handler/interfaces.d.ts +21 -0
- package/dist/ui/components/form/handler/dynamic_form_handler/interfaces.js +3 -0
- package/dist/ui/components/form/handler/dynamic_form_handler/interfaces.js.map +1 -0
- package/dist/ui/components/form/handler/form-handler/index.d.ts +1 -1
- package/dist/ui/components/form/handler/form-handler/index.js +9 -4
- package/dist/ui/components/form/handler/form-handler/index.js.map +1 -1
- package/dist/ui/components/form/handler/index.d.ts +1 -1
- package/dist/ui/components/form/handler/index.js +1 -1
- package/dist/ui/components/form/handler/interfaces.d.ts +2 -2
- package/dist/ui/components/form/handler/styles.js +1 -1
- package/dist/ui/components/form/handler/styles.js.map +1 -1
- package/dist/ui/components/form/index.d.ts +12 -12
- package/dist/ui/components/form/index.js +12 -12
- package/dist/ui/components/form/input/index.d.ts +1 -1
- package/dist/ui/components/form/input/index.js +1 -1
- package/dist/ui/components/form/input-control/error/index.d.ts +1 -1
- package/dist/ui/components/form/input-control/error/index.js +1 -1
- package/dist/ui/components/form/input-control/index.d.ts +1 -1
- package/dist/ui/components/form/input-control/index.js +5 -5
- 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-cpf-cnpj/index.d.ts +1 -1
- package/dist/ui/components/form/input-cpf-cnpj/index.js +1 -1
- package/dist/ui/components/form/input-file/index.d.ts +1 -1
- package/dist/ui/components/form/input-file/index.js +1 -1
- package/dist/ui/components/form/input-mask/index.d.ts +1 -1
- package/dist/ui/components/form/input-mask/index.js +1 -1
- package/dist/ui/components/form/input-password/index.d.ts +1 -1
- package/dist/ui/components/form/input-password/index.js +2 -2
- package/dist/ui/components/form/input-switch/index.d.ts +1 -1
- package/dist/ui/components/form/input-switch/index.js +1 -1
- package/dist/ui/components/form/interfaces.d.ts +1 -1
- package/dist/ui/components/form/radio/index.js +1 -1
- package/dist/ui/components/form/select/index.d.ts +1 -1
- package/dist/ui/components/form/select/index.js +2 -2
- package/dist/ui/components/form/select/interfaces.d.ts +1 -1
- package/dist/ui/components/form/textarea/index.d.ts +1 -1
- package/dist/ui/components/form/textarea/index.js +1 -1
- package/dist/ui/components/index.d.ts +10 -9
- package/dist/ui/components/index.js +10 -9
- package/dist/ui/components/index.js.map +1 -1
- package/dist/ui/components/loader-circle/index.d.ts +1 -1
- package/dist/ui/components/loading-screen/index.d.ts +3 -0
- package/dist/{system/pages/usuarios → ui/components/loading-screen}/index.js +12 -29
- package/dist/ui/components/loading-screen/index.js.map +1 -0
- package/dist/ui/components/loading-screen/interfaces.d.ts +4 -0
- package/dist/ui/components/loading-screen/interfaces.js +3 -0
- package/dist/ui/components/loading-screen/interfaces.js.map +1 -0
- package/dist/ui/components/loading-screen/styles.d.ts +4 -0
- package/dist/ui/components/loading-screen/styles.js +39 -0
- package/dist/ui/components/loading-screen/styles.js.map +1 -0
- 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.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/index.js +3 -3
- package/dist/ui/contexts/toast/toast-item/index.d.ts +1 -1
- package/dist/ui/contexts/toast/toast-item/index.js +1 -1
- package/dist/ui/hooks/index.d.ts +2 -2
- package/dist/ui/hooks/index.js +2 -2
- package/dist/ui/icons/index.d.ts +47 -46
- package/dist/ui/icons/index.js +47 -46
- package/dist/ui/icons/index.js.map +1 -1
- package/dist/ui/icons/render/Carousel-left-icon.d.ts +1 -1
- package/dist/ui/icons/render/Carousel-right-icon.d.ts +1 -1
- package/dist/ui/icons/render/Check.d.ts +1 -1
- package/dist/ui/icons/render/Clock.d.ts +1 -1
- package/dist/ui/icons/render/Close.d.ts +1 -1
- package/dist/ui/icons/render/Codie.d.ts +1 -1
- package/dist/ui/icons/render/Edit.d.ts +1 -1
- package/dist/ui/icons/render/Email.d.ts +1 -1
- package/dist/ui/icons/render/Eye.d.ts +1 -1
- package/dist/ui/icons/render/Facebook.d.ts +1 -1
- package/dist/ui/icons/render/File.d.ts +1 -1
- package/dist/ui/icons/render/Folder.d.ts +1 -1
- package/dist/ui/icons/render/Globe.d.ts +1 -1
- package/dist/ui/icons/render/Home.d.ts +1 -1
- package/dist/ui/icons/render/Insagram.d.ts +1 -1
- package/dist/ui/icons/render/Linkedin.d.ts +1 -1
- package/dist/ui/icons/render/LongArrowRight.d.ts +1 -1
- package/dist/ui/icons/render/LongArrowRight.js +1 -1
- package/dist/ui/icons/render/LongArrowRight.js.map +1 -1
- package/dist/ui/icons/render/Lupa.d.ts +1 -1
- package/dist/ui/icons/render/Map.d.ts +1 -1
- package/dist/ui/icons/render/Map.js +1 -1
- package/dist/ui/icons/render/Map.js.map +1 -1
- package/dist/ui/icons/render/Microphone.d.ts +1 -1
- package/dist/ui/icons/render/Minus.d.ts +1 -1
- package/dist/ui/icons/render/NavDown.d.ts +1 -1
- package/dist/ui/icons/render/NavLeft.d.ts +1 -1
- package/dist/ui/icons/render/NavRight.d.ts +1 -1
- package/dist/ui/icons/render/NavUp.d.ts +1 -1
- package/dist/ui/icons/render/Phone.d.ts +1 -1
- package/dist/ui/icons/render/Pin.d.ts +1 -1
- package/dist/ui/icons/render/Play.d.ts +1 -1
- package/dist/ui/icons/render/Plus.d.ts +1 -1
- package/dist/ui/icons/render/Share.d.ts +1 -1
- package/dist/ui/icons/render/TikTok.d.ts +1 -1
- package/dist/ui/icons/render/Twitter.d.ts +1 -1
- package/dist/ui/icons/render/YouTube.d.ts +1 -1
- package/dist/ui/icons/render/box.d.ts +1 -1
- package/dist/ui/icons/render/calendar.d.ts +1 -1
- package/dist/ui/icons/render/chat.d.ts +1 -1
- package/dist/ui/icons/render/component.d.ts +1 -1
- package/dist/ui/icons/render/component.js +1 -1
- package/dist/ui/icons/render/exclamation.d.ts +1 -1
- package/dist/ui/icons/render/image.d.ts +1 -1
- package/dist/ui/icons/render/index.d.ts +1 -1
- package/dist/ui/icons/render/index.js +1 -1
- package/dist/ui/icons/render/keyboard-right-arrow.d.ts +1 -1
- package/dist/ui/icons/render/loading.d.ts +2 -0
- package/dist/ui/icons/render/loading.js +10 -0
- package/dist/ui/icons/render/loading.js.map +1 -0
- package/dist/ui/icons/render/phone-message.d.ts +1 -1
- package/dist/ui/icons/render/phone-message.js +1 -1
- package/dist/ui/icons/render/phone-message.js.map +1 -1
- package/dist/ui/icons/render/shopping.d.ts +1 -1
- package/dist/ui/icons/render/transparent-mail.d.ts +1 -1
- package/dist/ui/icons/render/transparent-phone.d.ts +1 -1
- package/dist/ui/icons/render/user.d.ts +1 -1
- package/dist/ui/icons/render/user.js +1 -1
- package/dist/ui/icons/render/user.js.map +1 -1
- package/dist/ui/icons/render/whats.d.ts +1 -1
- package/dist/ui/icons/render-icon/index.d.ts +1 -1
- package/dist/ui/icons/render-icon/index.js +1 -1
- package/dist/ui/index.d.ts +5 -5
- package/dist/ui/index.js +5 -5
- package/dist/ui/utils/facebook/index.d.ts +1 -1
- package/dist/ui/utils/facebook/index.js +1 -1
- package/dist/ui/utils/index.d.ts +5 -5
- package/dist/ui/utils/index.js +5 -5
- package/dist/ui/utils/libs/@tanstack/index.d.ts +1 -1
- package/dist/ui/utils/libs/@tanstack/index.js +1 -1
- package/dist/ui/utils/libs/@tanstack/react-query/index.d.ts +1 -1
- package/dist/ui/utils/libs/@tanstack/react-query/index.js +1 -1
- package/dist/ui/utils/libs/index.d.ts +2 -2
- package/dist/ui/utils/libs/index.js +2 -2
- package/dist/ui/utils/libs/next/index.d.ts +2 -1
- package/dist/ui/utils/libs/next/index.js +2 -1
- package/dist/ui/utils/libs/next/index.js.map +1 -1
- package/dist/ui/utils/libs/next/update-route.d.ts +6 -0
- package/dist/ui/utils/libs/next/update-route.js +31 -0
- package/dist/ui/utils/libs/next/update-route.js.map +1 -0
- package/dist/ui/utils/validations/index.d.ts +2 -2
- package/dist/ui/utils/validations/index.js +2 -2
- package/package.json +1 -1
- package/dist/system/pages/index.d.ts +0 -1
- package/dist/system/pages/index.js.map +0 -1
- package/dist/system/pages/usuarios/index.d.ts +0 -1
- package/dist/system/pages/usuarios/index.js.map +0 -1
- package/dist/system/pages/usuarios/styles.d.ts +0 -4
- package/dist/system/pages/usuarios/styles.js +0 -14
- package/dist/system/pages/usuarios/styles.js.map +0 -1
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
export type AuthAdmin = {
|
|
2
2
|
auth: (params: AuthAdmin.Params) => Promise<AuthAdmin.Model>;
|
|
3
3
|
};
|
|
4
|
-
export type User = {
|
|
5
|
-
token: string;
|
|
6
|
-
};
|
|
7
4
|
export declare namespace AuthAdmin {
|
|
8
5
|
type Params = {
|
|
9
6
|
emailAddress: string;
|
|
10
7
|
password: string;
|
|
11
8
|
};
|
|
12
|
-
type Model =
|
|
9
|
+
type Model = {
|
|
10
|
+
token: string;
|
|
11
|
+
};
|
|
13
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./auth-admin";
|
|
1
|
+
export * from "./auth-admin.js";
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./auth-admin"), exports);
|
|
17
|
+
__exportStar(require("./auth-admin.js"), exports);
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./admin";
|
|
1
|
+
export * from "./admin/index.js";
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./admin"), exports);
|
|
17
|
+
__exportStar(require("./admin/index.js"), exports);
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -14,5 +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("./auth"), exports);
|
|
17
|
+
__exportStar(require("./auth/index.js"), exports);
|
|
18
|
+
__exportStar(require("./menu/index.js"), exports);
|
|
19
|
+
__exportStar(require("./users/index.js"), exports);
|
|
18
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/system/domain/use-cases/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/system/domain/use-cases/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAsB;AACtB,yCAAsB;AACtB,0CAAuB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './load-menu.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./load-menu.js"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/system/domain/use-cases/menu/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { List } from '../../../../system/index.js';
|
|
2
|
+
import { IconsNames } from '../../../../ui/index.js';
|
|
3
|
+
export type LoadMenu = {
|
|
4
|
+
load: () => Promise<LoadMenu.Model>;
|
|
5
|
+
};
|
|
6
|
+
export type IMenu = {
|
|
7
|
+
order: number;
|
|
8
|
+
title: string;
|
|
9
|
+
icon: IconsNames;
|
|
10
|
+
route?: string;
|
|
11
|
+
items?: IMenu[];
|
|
12
|
+
};
|
|
13
|
+
export declare namespace LoadMenu {
|
|
14
|
+
type Model = List<IMenu>;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"load-menu.js","sourceRoot":"","sources":["../../../../../src/system/domain/use-cases/menu/load-menu.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type CreateUser = {
|
|
2
|
+
create: (params: CreateUser.Params) => Promise<CreateUser.Model>;
|
|
3
|
+
};
|
|
4
|
+
export declare namespace CreateUser {
|
|
5
|
+
type Params = {
|
|
6
|
+
firstName: string;
|
|
7
|
+
lastName: string;
|
|
8
|
+
emailAddress: string;
|
|
9
|
+
password: string;
|
|
10
|
+
avatar: string;
|
|
11
|
+
imagem: string;
|
|
12
|
+
isExternal: boolean;
|
|
13
|
+
};
|
|
14
|
+
type Model = {};
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-user.js","sourceRoot":"","sources":["../../../../../src/system/domain/use-cases/users/create-user.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-user.js","sourceRoot":"","sources":["../../../../../src/system/domain/use-cases/users/delete-user.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-user.js","sourceRoot":"","sources":["../../../../../src/system/domain/use-cases/users/edit-user.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { User } from "./load-all-users.js";
|
|
2
|
+
export type LoadDetailUser = {
|
|
3
|
+
load: (params: LoadDetailUser.Params) => Promise<LoadDetailUser.Model>;
|
|
4
|
+
};
|
|
5
|
+
export declare namespace LoadDetailUser {
|
|
6
|
+
type Params = {
|
|
7
|
+
id: User["id"];
|
|
8
|
+
};
|
|
9
|
+
type Model = User;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-detail-user.js","sourceRoot":"","sources":["../../../../../src/system/domain/use-cases/users/get-detail-user.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,23 @@
|
|
|
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("./edit-user.js"), exports);
|
|
18
|
+
__exportStar(require("./create-user.js"), exports);
|
|
19
|
+
__exportStar(require("./delete-user.js"), exports);
|
|
20
|
+
__exportStar(require("./load-all-users.js"), exports);
|
|
21
|
+
__exportStar(require("./load-user-admin.js"), exports);
|
|
22
|
+
__exportStar(require("./get-detail-user.js"), exports);
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/system/domain/use-cases/users/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAC3B,gDAA6B;AAC7B,gDAA6B;AAC7B,mDAAgC;AAChC,oDAAiC;AACjC,oDAAiC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { List, Pagination } from '../../generics/index.js';
|
|
2
|
+
export type LoadAllUsers = {
|
|
3
|
+
loadAll: (params: LoadAllUsers.Params) => Promise<LoadAllUsers.Model>;
|
|
4
|
+
};
|
|
5
|
+
export type User = {
|
|
6
|
+
id: number;
|
|
7
|
+
fullName: string;
|
|
8
|
+
emailAddress: string;
|
|
9
|
+
lastName: string;
|
|
10
|
+
password: string;
|
|
11
|
+
roleGate: string;
|
|
12
|
+
avatar: string;
|
|
13
|
+
imagem: string;
|
|
14
|
+
isExternal: true;
|
|
15
|
+
firstName: string;
|
|
16
|
+
};
|
|
17
|
+
export declare namespace LoadAllUsers {
|
|
18
|
+
type Params = {
|
|
19
|
+
pageSize: number;
|
|
20
|
+
pageNumber: number;
|
|
21
|
+
};
|
|
22
|
+
type Model = Pagination & List<User>;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"load-all-users.js","sourceRoot":"","sources":["../../../../../src/system/domain/use-cases/users/load-all-users.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type LoadUserAdmin = {
|
|
2
|
+
load: () => Promise<LoadUserAdmin.Model>;
|
|
3
|
+
};
|
|
4
|
+
export type UserAdmin = {
|
|
5
|
+
avatar: string;
|
|
6
|
+
emailAddress: string;
|
|
7
|
+
firstName: string;
|
|
8
|
+
id: number;
|
|
9
|
+
imagem: null;
|
|
10
|
+
isExternal: boolean;
|
|
11
|
+
lastName: string;
|
|
12
|
+
};
|
|
13
|
+
export declare namespace LoadUserAdmin {
|
|
14
|
+
type Model = UserAdmin;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"load-user-admin.js","sourceRoot":"","sources":["../../../../../src/system/domain/use-cases/users/load-user-admin.ts"],"names":[],"mappings":""}
|
package/dist/system/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
export * from './data';
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './presentation';
|
|
1
|
+
export * from './data/index.js';
|
|
2
|
+
export * from './infra/index.js';
|
|
3
|
+
export * from './domain/index.js';
|
|
4
|
+
export * from './container/index.js';
|
|
5
|
+
export * from './presentation/index.js';
|
package/dist/system/index.js
CHANGED
|
@@ -14,10 +14,9 @@ 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("./data"), exports);
|
|
18
|
-
__exportStar(require("./
|
|
19
|
-
__exportStar(require("./
|
|
20
|
-
__exportStar(require("./
|
|
21
|
-
__exportStar(require("./
|
|
22
|
-
__exportStar(require("./presentation"), exports);
|
|
17
|
+
__exportStar(require("./data/index.js"), exports);
|
|
18
|
+
__exportStar(require("./infra/index.js"), exports);
|
|
19
|
+
__exportStar(require("./domain/index.js"), exports);
|
|
20
|
+
__exportStar(require("./container/index.js"), exports);
|
|
21
|
+
__exportStar(require("./presentation/index.js"), exports);
|
|
23
22
|
//# sourceMappingURL=index.js.map
|
package/dist/system/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/system/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAsB;AACtB,0CAAuB;AACvB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/system/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAsB;AACtB,0CAAuB;AACvB,2CAAwB;AACxB,8CAA2B;AAC3B,iDAA8B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Storage } from
|
|
2
|
-
import { CacheValues } from
|
|
1
|
+
import { Storage } from '../../../system/infra/index.js';
|
|
2
|
+
import { CacheValues } from '../../../system/domain/index.js';
|
|
3
3
|
export declare class CookieStorageAdapter implements Storage {
|
|
4
|
-
set<T extends keyof CacheValues>(key: T, value: CacheValues[T]):
|
|
5
|
-
get<T extends keyof CacheValues>(key: keyof CacheValues):
|
|
4
|
+
set<T extends keyof CacheValues>(key: T, value: CacheValues[T]): any;
|
|
5
|
+
get<T extends keyof CacheValues>(key: keyof CacheValues): CacheValues[T];
|
|
6
6
|
}
|
|
@@ -5,42 +5,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
9
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
10
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
11
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
12
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
13
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
14
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
15
|
-
});
|
|
16
|
-
};
|
|
17
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
18
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
19
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
20
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
21
|
-
function step(op) {
|
|
22
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
23
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
24
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
25
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
26
|
-
switch (op[0]) {
|
|
27
|
-
case 0: case 1: t = op; break;
|
|
28
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
29
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
30
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
31
|
-
default:
|
|
32
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
33
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
34
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
35
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
36
|
-
if (t[2]) _.ops.pop();
|
|
37
|
-
_.trys.pop(); continue;
|
|
38
|
-
}
|
|
39
|
-
op = body.call(thisArg, _);
|
|
40
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
41
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
8
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
45
9
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
46
10
|
};
|
|
@@ -52,22 +16,14 @@ var CookieStorageAdapter = /** @class */ (function () {
|
|
|
52
16
|
function CookieStorageAdapter() {
|
|
53
17
|
}
|
|
54
18
|
CookieStorageAdapter.prototype.set = function (key, value) {
|
|
55
|
-
|
|
56
|
-
return __generator(this, function (_a) {
|
|
57
|
-
js_cookie_1.default.set(key, value);
|
|
58
|
-
return [2 /*return*/];
|
|
59
|
-
});
|
|
60
|
-
});
|
|
19
|
+
js_cookie_1.default.set(key, JSON.stringify(value));
|
|
61
20
|
};
|
|
62
21
|
CookieStorageAdapter.prototype.get = function (key) {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
});
|
|
22
|
+
var cookieValue = js_cookie_1.default.get(key);
|
|
23
|
+
if (typeof cookieValue === 'string') {
|
|
24
|
+
return JSON.parse(cookieValue);
|
|
25
|
+
}
|
|
26
|
+
return null;
|
|
71
27
|
};
|
|
72
28
|
CookieStorageAdapter = __decorate([
|
|
73
29
|
(0, inversify_1.injectable)()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cookie-storage-adapter.js","sourceRoot":"","sources":["../../../../src/system/infra/cache/cookie-storage-adapter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cookie-storage-adapter.js","sourceRoot":"","sources":["../../../../src/system/infra/cache/cookie-storage-adapter.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAAsC;AAEtC,wDAA+B;AAM/B;IAAA;IAaA,CAAC;IAZC,kCAAG,GAAH,UAAiC,GAAM,EAAE,KAAqB;QAC5D,mBAAO,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAA;IACzC,CAAC;IAED,kCAAG,GAAH,UAAiC,GAAsB;QACrD,IAAM,WAAW,GAAG,mBAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;QACpC,IAAI,OAAO,WAAW,KAAK,QAAQ,EAAE,CAAC;YACpC,OAAO,IAAI,CAAC,KAAK,CAAC,WAAW,CAAmB,CAAA;QAClD,CAAC;QAED,OAAO,IAAI,CAAA;IACb,CAAC;IAZU,oBAAoB;QADhC,IAAA,sBAAU,GAAE;OACA,oBAAoB,CAahC;IAAD,2BAAC;CAAA,AAbD,IAaC;AAbY,oDAAoB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./storage-type";
|
|
2
|
-
export * from "./cookie-storage-adapter";
|
|
1
|
+
export * from "./storage-type.js";
|
|
2
|
+
export * from "./cookie-storage-adapter.js";
|
|
@@ -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("./storage-type"), exports);
|
|
18
|
-
__exportStar(require("./cookie-storage-adapter"), exports);
|
|
17
|
+
__exportStar(require("./storage-type.js"), exports);
|
|
18
|
+
__exportStar(require("./cookie-storage-adapter.js"), exports);
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { GetStorage, SetStorage } from "
|
|
1
|
+
import { GetStorage, SetStorage } from "../../../system/domain/index.js";
|
|
2
2
|
export type Storage = SetStorage & GetStorage;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpClient, HttpRequest, HttpResponse } from '
|
|
1
|
+
import { HttpClient, HttpRequest, HttpResponse } from '../../../system/domain/index.js';
|
|
2
2
|
export declare class AxiosHttpClient implements HttpClient {
|
|
3
3
|
request(payload: HttpRequest): Promise<HttpResponse>;
|
|
4
4
|
}
|
|
@@ -59,7 +59,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
59
59
|
exports.AxiosHttpClient = void 0;
|
|
60
60
|
var inversify_1 = require("inversify");
|
|
61
61
|
var axios_1 = __importDefault(require("axios"));
|
|
62
|
-
var domain_1 = require("
|
|
62
|
+
var domain_1 = require("../../../system/domain/index.js");
|
|
63
|
+
var conflict_error_1 = require("../../../system/domain/protocols/http/errors/http-errors/conflict-error.js");
|
|
63
64
|
var AxiosHttpClient = /** @class */ (function () {
|
|
64
65
|
function AxiosHttpClient() {
|
|
65
66
|
}
|
|
@@ -94,8 +95,12 @@ var AxiosHttpClient = /** @class */ (function () {
|
|
|
94
95
|
switch (status) {
|
|
95
96
|
case domain_1.HttpStatusCode.ok: return [2 /*return*/, data];
|
|
96
97
|
case domain_1.HttpStatusCode.unprocessableEntity: throw new domain_1.ValidationError(data.validationErrors);
|
|
98
|
+
case domain_1.HttpStatusCode.conflict: throw new conflict_error_1.ConflictError({ message: data.message, code: '409' });
|
|
97
99
|
case domain_1.HttpStatusCode.badRequest: throw new domain_1.BadRequestError({ message: data.message, code: '400' });
|
|
98
|
-
default:
|
|
100
|
+
default: {
|
|
101
|
+
axios_1.default.post("https://logdofernando/ApiDeLogDoFernando", data);
|
|
102
|
+
throw new domain_1.BadRequestError({ message: "Internal Server Error", code: '500' });
|
|
103
|
+
}
|
|
99
104
|
}
|
|
100
105
|
return [2 /*return*/];
|
|
101
106
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axios-http-client.js","sourceRoot":"","sources":["../../../../src/system/infra/http/axios-http-client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAsC;AAEtC,gDAAyB;AAEzB,0CAQwB;
|
|
1
|
+
{"version":3,"file":"axios-http-client.js","sourceRoot":"","sources":["../../../../src/system/infra/http/axios-http-client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAsC;AAEtC,gDAAyB;AAEzB,0CAQwB;AACxB,mGAAgG;AAGhG;IAAA;IA4CA,CAAC;IA3CO,iCAAO,GAAb,UAAc,OAAoB;;;;;;wBAC1B,MAAM,GAAG,OAAO,CAAC,MAAM,CAAA;wBAEvB,OAAO,GAAG,OAAO,CAAC,IAAI;4BAC1B,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,UAAC,EAAU;oCAAT,CAAC,QAAA,EAAE,KAAK,QAAA;gCAAM,OAAA,KAAK,KAAK,EAAE;4BAAZ,CAAY,CAAC,CAAC;4BACvF,CAAC,CAAC,SAAS,CAAA;wBAEP,cAAc,yBACf,OAAO,KACV,IAAI,EAAE,MAAM,KAAK,KAAK,IAAI,OAAO,EACjC,MAAM,EAAE,MAAM,KAAK,KAAK,IAAI,OAAO,GACpC,CAAA;wBAEwB,qBAAM,eAAK,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,IAAI,CAAC,UAAA,CAAC,IAAI,OAAA,CAAC,EAAD,CAAC,CAAC,CAAC,KAAK,CAAC,UAAA,KAAK;gCACnF,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;oCACpB,OAAO;wCACL,MAAM,EAAE,KAAK;wCACb,IAAI,EAAE,EAAE,OAAO,EAAE,8BAA8B,EAAE;qCAClD,CAAC;gCACJ,CAAC;gCAED,OAAO;oCACL,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,IAAI;oCACzB,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,MAAM;iCAC9B,CAAC;4BACJ,CAAC,CAAC,EAAA;;wBAZI,KAAmB,SAYvB,EAZM,MAAM,YAAA,EAAE,IAAI,UAAA;wBAcpB,QAAQ,MAAM,EAAE,CAAC;4BACf,KAAK,uBAAc,CAAC,EAAE,CAAC,CAAC,sBAAO,IAAI,EAAA;4BAEnC,KAAK,uBAAc,CAAC,mBAAmB,CAAC,CAAC,MAAM,IAAI,wBAAe,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAA;4BAEzF,KAAK,uBAAc,CAAC,QAAQ,CAAC,CAAC,MAAM,IAAI,8BAAa,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAA;4BAE7F,KAAK,uBAAc,CAAC,UAAU,CAAC,CAAC,MAAM,IAAI,wBAAe,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAA;4BAEjG,OAAO,CAAC,CAAC,CAAC;gCACR,eAAK,CAAC,IAAI,CAAC,0CAA0C,EAAE,IAAI,CAAC,CAAA;gCAE5D,MAAM,IAAI,wBAAe,CAAC,EAAE,OAAO,EAAE,uBAAuB,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAA;4BAC9E,CAAC;wBACH,CAAC;;;;;KACF;IA3CU,eAAe;QAD3B,IAAA,sBAAU,GAAE;OACA,eAAe,CA4C3B;IAAD,sBAAC;CAAA,AA5CD,IA4CC;AA5CY,0CAAe"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './axios-http-client';
|
|
1
|
+
export * from './axios-http-client.js';
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./axios-http-client"), exports);
|
|
17
|
+
__exportStar(require("./axios-http-client.js"), exports);
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "./http";
|
|
2
|
-
export * from "./cache";
|
|
3
|
-
export * from "./type-models";
|
|
1
|
+
export * from "./http/index.js";
|
|
2
|
+
export * from "./cache/index.js";
|
|
3
|
+
export * from "./type-models/index.js";
|
|
@@ -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("./http"), exports);
|
|
18
|
-
__exportStar(require("./cache"), exports);
|
|
19
|
-
__exportStar(require("./type-models"), exports);
|
|
17
|
+
__exportStar(require("./http/index.js"), exports);
|
|
18
|
+
__exportStar(require("./cache/index.js"), exports);
|
|
19
|
+
__exportStar(require("./type-models/index.js"), exports);
|
|
20
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./zipcode";
|
|
2
|
-
export * from "./birthday";
|
|
1
|
+
export * from "./zipcode.js";
|
|
2
|
+
export * from "./birthday.js";
|
|
@@ -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("./zipcode"), exports);
|
|
18
|
-
__exportStar(require("./birthday"), exports);
|
|
17
|
+
__exportStar(require("./zipcode.js"), exports);
|
|
18
|
+
__exportStar(require("./birthday.js"), exports);
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -47,8 +47,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
47
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
48
|
exports.Avatar = void 0;
|
|
49
49
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
50
|
-
var ui_1 = require("
|
|
51
|
-
var S = __importStar(require("./styles"));
|
|
50
|
+
var ui_1 = require("../../../../../ui/index.js");
|
|
51
|
+
var S = __importStar(require("./styles.js"));
|
|
52
52
|
function Avatar(_a) {
|
|
53
53
|
var image = _a.image, className = _a.className, rest = __rest(_a, ["image", "className"]);
|
|
54
54
|
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: (0, jsx_runtime_1.jsx)("img", { src: image, alt: 'avatar' }) })) }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './message-card';
|
|
1
|
+
export * from './message-card/index.js';
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./message-card"), exports);
|
|
17
|
+
__exportStar(require("./message-card/index.js"), exports);
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IMessage } from '
|
|
1
|
+
import { IMessage } from '../../../../../../sites/interfaces/index.js';
|
|
2
2
|
export declare function MessageCard({ avatar, message, name, sendTime, unRead }: IMessage): import("react/jsx-runtime").JSX.Element;
|
|
@@ -26,9 +26,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26
26
|
exports.MessageCard = void 0;
|
|
27
27
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
28
|
var semantic_ui_react_1 = require("semantic-ui-react");
|
|
29
|
-
var ui_1 = require("
|
|
30
|
-
var avatar_1 = require("../../avatar");
|
|
31
|
-
var S = __importStar(require("./styles"));
|
|
29
|
+
var ui_1 = require("../../../../../../ui/index.js");
|
|
30
|
+
var avatar_1 = require("../../avatar/index.js");
|
|
31
|
+
var S = __importStar(require("./styles.js"));
|
|
32
32
|
function MessageCard(_a) {
|
|
33
33
|
var avatar = _a.avatar, message = _a.message, name = _a.name, sendTime = _a.sendTime, unRead = _a.unRead;
|
|
34
34
|
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'MessageCard', children: (0, jsx_runtime_1.jsxs)(S.MessageCard, { children: [(0, jsx_runtime_1.jsxs)("div", { className: 'avatar-box', children: [avatar.length > 0 && (0, jsx_runtime_1.jsx)(avatar_1.Avatar, { image: avatar[0], className: avatar.length > 1 && 'first' }), avatar.length > 1 && (0, jsx_runtime_1.jsx)(avatar_1.Avatar, { image: avatar[1], className: avatar.length > 1 && 'second' })] }), (0, jsx_runtime_1.jsxs)("div", { className: 'content-box', children: [(0, jsx_runtime_1.jsx)("p", { className: 'name font-14-bold', children: name }), (0, jsx_runtime_1.jsxs)("div", { className: 'message-box', children: [(0, jsx_runtime_1.jsx)("p", { className: 'message font-12-regular', children: message }), unRead ? ((0, jsx_runtime_1.jsx)("div", { className: 'status blue' })) : ((0, jsx_runtime_1.jsx)("span", { className: 'status', children: (0, jsx_runtime_1.jsx)(semantic_ui_react_1.Icon, { name: 'check circle outline' }) }))] })] })] }) }));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from './logo';
|
|
2
|
-
export * from './cards';
|
|
3
|
-
export * from './avatar';
|
|
4
|
-
export * from './overlay';
|
|
5
|
-
export * from './sign-up';
|
|
6
|
-
export * from './popover';
|
|
7
|
-
export * from './skeleton';
|
|
8
|
-
export * from './page-wrapper';
|
|
1
|
+
export * from './logo/index.js';
|
|
2
|
+
export * from './cards/index.js';
|
|
3
|
+
export * from './avatar/index.js';
|
|
4
|
+
export * from './overlay/index.js';
|
|
5
|
+
export * from './sign-up/index.js';
|
|
6
|
+
export * from './popover/index.js';
|
|
7
|
+
export * from './skeleton/index.js';
|
|
8
|
+
export * from './page-wrapper/index.js';
|