infinity-forge 0.3.2 → 0.3.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/system/container/decorators/authorize-http-client-decorator.d.ts +8 -0
- package/dist/system/container/decorators/authorize-http-client-decorator.js +118 -0
- package/dist/system/container/decorators/authorize-http-client-decorator.js.map +1 -0
- package/dist/system/container/decorators/index.d.ts +1 -0
- package/dist/system/container/decorators/index.js +18 -0
- package/dist/system/container/decorators/index.js.map +1 -0
- package/dist/system/container/index.d.ts +2 -0
- package/dist/system/container/index.js +19 -0
- package/dist/system/container/index.js.map +1 -0
- package/dist/system/container/infra/container.d.ts +3 -0
- package/dist/system/container/infra/container.js +17 -0
- package/dist/system/container/infra/container.js.map +1 -0
- package/dist/system/container/infra/index.d.ts +3 -0
- package/dist/system/container/infra/index.js +20 -0
- package/dist/system/container/infra/index.js.map +1 -0
- package/dist/system/container/infra/make-api-url.d.ts +3 -0
- package/dist/system/container/infra/make-api-url.js +23 -0
- package/dist/system/container/infra/make-api-url.js.map +1 -0
- package/dist/system/container/infra/types.d.ts +7 -0
- package/dist/system/container/infra/types.js +11 -0
- package/dist/system/container/infra/types.js.map +1 -0
- package/dist/system/container/main.d.ts +3 -0
- package/dist/system/container/main.js +7 -0
- package/dist/system/container/main.js.map +1 -0
- package/dist/system/data/index.d.ts +1 -0
- package/dist/system/data/index.js +18 -0
- package/dist/system/data/index.js.map +1 -0
- package/dist/system/data/use-cases/auth/index.d.ts +1 -0
- package/dist/system/data/use-cases/auth/index.js +18 -0
- package/dist/system/data/use-cases/auth/index.js.map +1 -0
- package/dist/system/data/use-cases/auth/remote-auth-admin.d.ts +10 -0
- package/dist/system/data/use-cases/auth/remote-auth-admin.js +121 -0
- package/dist/system/data/use-cases/auth/remote-auth-admin.js.map +1 -0
- package/dist/system/data/use-cases/index.d.ts +1 -0
- package/dist/system/data/use-cases/index.js +18 -0
- package/dist/system/data/use-cases/index.js.map +1 -0
- package/dist/system/domain/entities/departament.d.ts +4 -0
- package/dist/system/domain/entities/departament.js +3 -0
- package/dist/system/domain/entities/departament.js.map +1 -0
- package/dist/system/domain/entities/index.d.ts +3 -0
- package/dist/system/domain/entities/index.js +20 -0
- package/dist/system/domain/entities/index.js.map +1 -0
- package/dist/system/domain/entities/roles/index.d.ts +1 -0
- package/dist/system/domain/entities/roles/index.js +18 -0
- package/dist/system/domain/entities/roles/index.js.map +1 -0
- package/dist/system/domain/entities/roles/permission.d.ts +6 -0
- package/dist/system/domain/entities/roles/permission.js +3 -0
- package/dist/system/domain/entities/roles/permission.js.map +1 -0
- package/dist/system/domain/entities/users/index.d.ts +1 -0
- package/dist/system/domain/entities/users/index.js +18 -0
- package/dist/system/domain/entities/users/index.js.map +1 -0
- package/dist/system/domain/entities/users/user-controller.d.ts +9 -0
- package/dist/system/domain/entities/users/user-controller.js +3 -0
- package/dist/system/domain/entities/users/user-controller.js.map +1 -0
- package/dist/system/domain/index.d.ts +3 -0
- package/dist/system/domain/index.js +20 -0
- package/dist/system/domain/index.js.map +1 -0
- package/dist/system/domain/protocols/cache/cache-keys.d.ts +6 -0
- package/dist/system/domain/protocols/cache/cache-keys.js +3 -0
- package/dist/system/domain/protocols/cache/cache-keys.js.map +1 -0
- package/dist/system/domain/protocols/cache/get-storage.d.ts +4 -0
- package/dist/system/domain/protocols/cache/get-storage.js +3 -0
- package/dist/system/domain/protocols/cache/get-storage.js.map +1 -0
- package/dist/system/domain/protocols/cache/index.d.ts +3 -0
- package/dist/system/domain/protocols/cache/index.js +20 -0
- package/dist/system/domain/protocols/cache/index.js.map +1 -0
- package/dist/system/domain/protocols/cache/set-storage.d.ts +4 -0
- package/dist/system/domain/protocols/cache/set-storage.js +4 -0
- package/dist/system/domain/protocols/cache/set-storage.js.map +1 -0
- package/dist/system/domain/protocols/http/errors/http-errors/application-unexpected-error.d.ts +3 -0
- package/dist/system/domain/protocols/http/errors/http-errors/application-unexpected-error.js +29 -0
- package/dist/system/domain/protocols/http/errors/http-errors/application-unexpected-error.js.map +1 -0
- package/dist/system/domain/protocols/http/errors/http-errors/bad-request-error.d.ts +8 -0
- package/dist/system/domain/protocols/http/errors/http-errors/bad-request-error.js +11 -0
- package/dist/system/domain/protocols/http/errors/http-errors/bad-request-error.js.map +1 -0
- package/dist/system/domain/protocols/http/errors/http-errors/index.d.ts +5 -0
- package/dist/system/domain/protocols/http/errors/http-errors/index.js +22 -0
- package/dist/system/domain/protocols/http/errors/http-errors/index.js.map +1 -0
- package/dist/system/domain/protocols/http/errors/http-errors/no-content.d.ts +3 -0
- package/dist/system/domain/protocols/http/errors/http-errors/no-content.js +29 -0
- package/dist/system/domain/protocols/http/errors/http-errors/no-content.js.map +1 -0
- package/dist/system/domain/protocols/http/errors/http-errors/not-found-error.d.ts +3 -0
- package/dist/system/domain/protocols/http/errors/http-errors/not-found-error.js +29 -0
- package/dist/system/domain/protocols/http/errors/http-errors/not-found-error.js.map +1 -0
- package/dist/system/domain/protocols/http/errors/http-errors/unexpected-error.d.ts +3 -0
- package/dist/system/domain/protocols/http/errors/http-errors/unexpected-error.js +29 -0
- package/dist/system/domain/protocols/http/errors/http-errors/unexpected-error.js.map +1 -0
- package/dist/system/domain/protocols/http/errors/index.d.ts +2 -0
- package/dist/system/domain/protocols/http/errors/index.js +19 -0
- package/dist/system/domain/protocols/http/errors/index.js.map +1 -0
- package/dist/system/domain/protocols/http/errors/system-errors-model/index.d.ts +1 -0
- package/dist/system/domain/protocols/http/errors/system-errors-model/index.js +18 -0
- package/dist/system/domain/protocols/http/errors/system-errors-model/index.js.map +1 -0
- package/dist/system/domain/protocols/http/errors/system-errors-model/validation-errors-model.d.ts +11 -0
- package/dist/system/domain/protocols/http/errors/system-errors-model/validation-errors-model.js +11 -0
- package/dist/system/domain/protocols/http/errors/system-errors-model/validation-errors-model.js.map +1 -0
- package/dist/system/domain/protocols/http/http-client.d.ts +28 -0
- package/dist/system/domain/protocols/http/http-client.js +18 -0
- package/dist/system/domain/protocols/http/http-client.js.map +1 -0
- package/dist/system/domain/protocols/http/index.d.ts +2 -0
- package/dist/system/domain/protocols/http/index.js +19 -0
- package/dist/system/domain/protocols/http/index.js.map +1 -0
- package/dist/system/domain/protocols/index.d.ts +2 -0
- package/dist/system/domain/protocols/index.js +19 -0
- package/dist/system/domain/protocols/index.js.map +1 -0
- package/dist/system/domain/use-cases/auth/admin/auth-admin.d.ts +20 -0
- package/dist/system/domain/use-cases/auth/admin/auth-admin.js +3 -0
- package/dist/system/domain/use-cases/auth/admin/auth-admin.js.map +1 -0
- package/dist/system/domain/use-cases/auth/admin/index.d.ts +1 -0
- package/dist/system/domain/use-cases/auth/admin/index.js +18 -0
- package/dist/system/domain/use-cases/auth/admin/index.js.map +1 -0
- package/dist/system/domain/use-cases/auth/index.d.ts +1 -0
- package/dist/system/domain/use-cases/auth/index.js +18 -0
- package/dist/system/domain/use-cases/auth/index.js.map +1 -0
- package/dist/system/domain/use-cases/index.d.ts +1 -0
- package/dist/system/domain/use-cases/index.js +18 -0
- package/dist/system/domain/use-cases/index.js.map +1 -0
- package/dist/system/index.d.ts +1 -3
- package/dist/system/index.js +1 -3
- package/dist/system/index.js.map +1 -1
- package/dist/system/infra/cache/cookie-storage-adapter.d.ts +6 -0
- package/dist/system/infra/cache/cookie-storage-adapter.js +108 -0
- package/dist/system/infra/cache/cookie-storage-adapter.js.map +1 -0
- package/dist/system/infra/cache/index.d.ts +2 -0
- package/dist/system/infra/cache/index.js +19 -0
- package/dist/system/infra/cache/index.js.map +1 -0
- package/dist/system/infra/cache/storage-type.d.ts +2 -0
- package/dist/system/infra/cache/storage-type.js +3 -0
- package/dist/system/infra/cache/storage-type.js.map +1 -0
- package/dist/system/infra/http/axios-http-client.d.ts +4 -0
- package/dist/system/infra/http/axios-http-client.js +109 -0
- package/dist/system/infra/http/axios-http-client.js.map +1 -0
- package/dist/system/infra/http/index.d.ts +1 -0
- package/dist/system/infra/http/index.js +18 -0
- package/dist/system/infra/http/index.js.map +1 -0
- package/dist/system/infra/index.d.ts +4 -0
- package/dist/system/infra/index.js +21 -0
- package/dist/system/infra/index.js.map +1 -0
- package/dist/system/infra/server/headers.d.ts +5 -0
- package/dist/system/infra/server/headers.js +3 -0
- package/dist/system/infra/server/headers.js.map +1 -0
- package/dist/system/infra/server/index.d.ts +1 -0
- package/dist/system/infra/server/index.js +18 -0
- package/dist/system/infra/server/index.js.map +1 -0
- package/dist/system/infra/type-models/birthday.d.ts +1 -0
- package/dist/system/infra/type-models/birthday.js +3 -0
- package/dist/system/infra/type-models/birthday.js.map +1 -0
- package/dist/system/infra/type-models/index.d.ts +2 -0
- package/dist/system/infra/type-models/index.js +19 -0
- package/dist/system/infra/type-models/index.js.map +1 -0
- package/dist/system/infra/type-models/zipcode.d.ts +1 -0
- package/dist/system/infra/type-models/zipcode.js +3 -0
- package/dist/system/infra/type-models/zipcode.js.map +1 -0
- package/dist/system/presentation/components/data/avatar/index.d.ts +4 -0
- package/dist/system/presentation/components/data/avatar/index.js +57 -0
- package/dist/system/presentation/components/data/avatar/index.js.map +1 -0
- package/dist/system/presentation/components/data/avatar/styles.d.ts +2 -0
- package/dist/system/presentation/components/data/avatar/styles.js +14 -0
- package/dist/system/presentation/components/data/avatar/styles.js.map +1 -0
- package/dist/system/presentation/components/data/cards/index.d.ts +1 -0
- package/dist/system/presentation/components/data/cards/index.js +18 -0
- package/dist/system/presentation/components/data/cards/index.js.map +1 -0
- package/dist/system/presentation/components/data/cards/message-card/index.d.ts +2 -0
- package/dist/system/presentation/components/data/cards/message-card/index.js +37 -0
- package/dist/system/presentation/components/data/cards/message-card/index.js.map +1 -0
- package/dist/system/presentation/components/data/cards/message-card/styles.d.ts +2 -0
- package/dist/system/presentation/components/data/cards/message-card/styles.js +14 -0
- package/dist/system/presentation/components/data/cards/message-card/styles.js.map +1 -0
- package/dist/system/presentation/components/data/index.d.ts +9 -0
- package/dist/system/presentation/components/data/index.js +26 -0
- package/dist/system/presentation/components/data/index.js.map +1 -0
- package/dist/system/presentation/components/data/logo/index.d.ts +1 -0
- package/dist/system/presentation/components/data/logo/index.js +34 -0
- package/dist/system/presentation/components/data/logo/index.js.map +1 -0
- package/dist/system/presentation/components/data/logo/styles.d.ts +2 -0
- package/dist/system/presentation/components/data/logo/styles.js +14 -0
- package/dist/system/presentation/components/data/logo/styles.js.map +1 -0
- package/dist/system/presentation/components/data/overlay/index.d.ts +2 -0
- package/dist/system/presentation/components/data/overlay/index.js +35 -0
- package/dist/system/presentation/components/data/overlay/index.js.map +1 -0
- package/dist/system/presentation/components/data/overlay/interfaces.d.ts +7 -0
- package/dist/system/presentation/components/data/overlay/interfaces.js +3 -0
- package/dist/system/presentation/components/data/overlay/interfaces.js.map +1 -0
- package/dist/system/presentation/components/data/overlay/styles.d.ts +7 -0
- package/dist/system/presentation/components/data/overlay/styles.js +15 -0
- package/dist/system/presentation/components/data/overlay/styles.js.map +1 -0
- package/dist/system/presentation/components/data/page-wrapper/index.d.ts +2 -0
- package/dist/system/presentation/components/data/page-wrapper/index.js +35 -0
- package/dist/system/presentation/components/data/page-wrapper/index.js.map +1 -0
- package/dist/system/presentation/components/data/page-wrapper/interfaces.d.ts +5 -0
- package/dist/system/presentation/components/data/page-wrapper/interfaces.js +3 -0
- package/dist/system/presentation/components/data/page-wrapper/interfaces.js.map +1 -0
- package/dist/system/presentation/components/data/page-wrapper/styles.d.ts +4 -0
- package/dist/system/presentation/components/data/page-wrapper/styles.js +14 -0
- package/dist/system/presentation/components/data/page-wrapper/styles.js.map +1 -0
- package/dist/system/presentation/components/data/popover/index.d.ts +2 -0
- package/dist/system/presentation/components/data/popover/index.js +10 -0
- package/dist/system/presentation/components/data/popover/index.js.map +1 -0
- package/dist/system/presentation/components/data/popover/interfaces.d.ts +8 -0
- package/dist/system/presentation/components/data/popover/interfaces.js +3 -0
- package/dist/system/presentation/components/data/popover/interfaces.js.map +1 -0
- package/dist/system/presentation/components/data/sign-in/index.d.ts +1 -0
- package/dist/system/presentation/components/data/sign-in/index.js +36 -0
- package/dist/system/presentation/components/data/sign-in/index.js.map +1 -0
- package/dist/system/presentation/components/data/sign-in/styles.d.ts +4 -0
- package/dist/system/presentation/components/data/sign-in/styles.js +14 -0
- package/dist/system/presentation/components/data/sign-in/styles.js.map +1 -0
- package/dist/system/presentation/components/data/sign-up/index.d.ts +1 -0
- package/dist/system/presentation/components/data/sign-up/index.js +36 -0
- package/dist/system/presentation/components/data/sign-up/index.js.map +1 -0
- package/dist/system/presentation/components/data/sign-up/styles.d.ts +4 -0
- package/dist/system/presentation/components/data/sign-up/styles.js +14 -0
- package/dist/system/presentation/components/data/sign-up/styles.js.map +1 -0
- package/dist/system/presentation/components/data/skeleton/index.d.ts +2 -0
- package/dist/system/presentation/components/data/skeleton/index.js +35 -0
- package/dist/system/presentation/components/data/skeleton/index.js.map +1 -0
- package/dist/system/presentation/components/data/skeleton/interfaces.d.ts +4 -0
- package/dist/system/presentation/components/data/skeleton/interfaces.js +3 -0
- package/dist/system/presentation/components/data/skeleton/interfaces.js.map +1 -0
- package/dist/system/presentation/components/data/skeleton/styles.d.ts +4 -0
- package/dist/system/presentation/components/data/skeleton/styles.js +14 -0
- package/dist/system/presentation/components/data/skeleton/styles.js.map +1 -0
- package/dist/system/presentation/components/index.d.ts +2 -0
- package/dist/system/presentation/components/index.js +19 -0
- package/dist/system/presentation/components/index.js.map +1 -0
- package/dist/system/presentation/components/layout/component.d.ts +4 -0
- package/dist/system/presentation/components/layout/component.js +36 -0
- package/dist/system/presentation/components/layout/component.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/index.d.ts +2 -0
- package/dist/system/presentation/components/layout/header/components/index.js +19 -0
- package/dist/system/presentation/components/layout/header/components/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/index.js +38 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/index.d.ts +2 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/index.js +54 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/interfaces.d.ts +6 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/interfaces.js +3 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/interfaces.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/styles.js +14 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/index.js +31 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/styles.js +14 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/index.js +11 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/styles.js +14 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/index.js +56 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/styles.js +14 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.js +37 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/styles.js +14 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/settings/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/settings/index.js +42 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/settings/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/settings/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/settings/styles.js +14 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/settings/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/styles.js +14 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/index.js +39 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/search-list/index.d.ts +4 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/search-list/index.js +61 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/search-list/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/search-list/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/search-list/styles.js +14 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/search-list/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/styles.js +14 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/trigger/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/trigger/index.js +45 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/trigger/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/trigger/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/trigger/styles.js +14 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/trigger/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/header/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/header/index.js +15 -0
- package/dist/system/presentation/components/layout/header/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/version-01/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/header/version-01/index.js +36 -0
- package/dist/system/presentation/components/layout/header/version-01/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/version-01/styles.d.ts +6 -0
- package/dist/system/presentation/components/layout/header/version-01/styles.js +37 -0
- package/dist/system/presentation/components/layout/header/version-01/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/index.d.ts +3 -0
- package/dist/system/presentation/components/layout/index.js +20 -0
- package/dist/system/presentation/components/layout/index.js.map +1 -0
- package/dist/system/presentation/components/layout/menu/components/index.d.ts +2 -0
- package/dist/system/presentation/components/layout/menu/components/index.js +19 -0
- package/dist/system/presentation/components/layout/menu/components/index.js.map +1 -0
- package/dist/system/presentation/components/layout/menu/components/menu/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/menu/components/menu/index.js +59 -0
- package/dist/system/presentation/components/layout/menu/components/menu/index.js.map +1 -0
- package/dist/system/presentation/components/layout/menu/components/menu/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/menu/components/menu/styles.js +14 -0
- package/dist/system/presentation/components/layout/menu/components/menu/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/menu/components/select-workspace/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/menu/components/select-workspace/index.js +78 -0
- package/dist/system/presentation/components/layout/menu/components/select-workspace/index.js.map +1 -0
- package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.js +14 -0
- package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/menu/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/menu/index.js +15 -0
- package/dist/system/presentation/components/layout/menu/index.js.map +1 -0
- package/dist/system/presentation/components/layout/menu/version-01/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/menu/version-01/index.js +35 -0
- package/dist/system/presentation/components/layout/menu/version-01/index.js.map +1 -0
- package/dist/system/presentation/components/layout/menu/version-01/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/menu/version-01/styles.js +14 -0
- package/dist/system/presentation/components/layout/menu/version-01/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/styles.d.ts +4 -0
- package/dist/system/presentation/components/layout/styles.js +14 -0
- package/dist/system/presentation/components/layout/styles.js.map +1 -0
- package/dist/system/presentation/configs/index.d.ts +3 -0
- package/dist/system/presentation/configs/index.js +20 -0
- package/dist/system/presentation/configs/index.js.map +1 -0
- package/dist/system/presentation/configs/menu.d.ts +10 -0
- package/dist/system/presentation/configs/menu.js +18 -0
- package/dist/system/presentation/configs/menu.js.map +1 -0
- package/dist/system/presentation/configs/page-links.d.ts +7 -0
- package/dist/system/presentation/configs/page-links.js +319 -0
- package/dist/system/presentation/configs/page-links.js.map +1 -0
- package/dist/system/presentation/configs/routes.d.ts +10 -0
- package/dist/system/presentation/configs/routes.js +14 -0
- package/dist/system/presentation/configs/routes.js.map +1 -0
- package/dist/system/presentation/hooks/index.d.ts +1 -0
- package/dist/system/presentation/hooks/index.js +18 -0
- package/dist/system/presentation/hooks/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/index.d.ts +1 -0
- package/dist/system/presentation/hooks/ui/index.js +18 -0
- package/dist/system/presentation/hooks/ui/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/component.d.ts +5 -0
- package/dist/system/presentation/hooks/ui/use-table/component.js +14 -0
- package/dist/system/presentation/hooks/ui/use-table/component.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/active-indicator/index.d.ts +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/active-indicator/index.js +33 -0
- package/dist/system/presentation/hooks/ui/use-table/components/active-indicator/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/active-indicator/styles.d.ts +4 -0
- package/dist/system/presentation/hooks/ui/use-table/components/active-indicator/styles.js +14 -0
- package/dist/system/presentation/hooks/ui/use-table/components/active-indicator/styles.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/index.d.ts +3 -0
- package/dist/system/presentation/hooks/ui/use-table/components/index.js +20 -0
- package/dist/system/presentation/hooks/ui/use-table/components/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/active-indicator/index.d.ts +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/active-indicator/index.js +33 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/active-indicator/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/active-indicator/styles.d.ts +4 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/active-indicator/styles.js +14 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/active-indicator/styles.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/index.d.ts +2 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/index.js +56 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/interfaces.d.ts +7 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/interfaces.js +3 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/interfaces.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/styles.d.ts +8 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/styles.js +14 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/styles.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/index.d.ts +2 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/index.js +92 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/interfaces.d.ts +16 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/interfaces.js +3 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/interfaces.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/loader-table/index.d.ts +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/loader-table/index.js +33 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/loader-table/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/loader-table/styles.d.ts +4 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/loader-table/styles.js +14 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/loader-table/styles.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/styles.d.ts +4 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/styles.js +14 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/styles.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.d.ts +2 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.js +50 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/interfaces.d.ts +6 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/interfaces.js +3 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/interfaces.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/styles.d.ts +4 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/styles.js +14 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/styles.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/index.d.ts +5 -0
- package/dist/system/presentation/hooks/ui/use-table/index.js +22 -0
- package/dist/system/presentation/hooks/ui/use-table/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/interfaces.d.ts +58 -0
- package/dist/system/presentation/hooks/ui/use-table/interfaces.js +3 -0
- package/dist/system/presentation/hooks/ui/use-table/interfaces.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/query/index.d.ts +6 -0
- package/dist/system/presentation/hooks/ui/use-table/query/index.js +30 -0
- package/dist/system/presentation/hooks/ui/use-table/query/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/query/interfaces.d.ts +33 -0
- package/dist/system/presentation/hooks/ui/use-table/query/interfaces.js +3 -0
- package/dist/system/presentation/hooks/ui/use-table/query/interfaces.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/query/service.d.ts +25 -0
- package/dist/system/presentation/hooks/ui/use-table/query/service.js +113 -0
- package/dist/system/presentation/hooks/ui/use-table/query/service.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/buffer.d.ts +3 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/buffer.js +32 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/buffer.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/filter-empty-values.d.ts +1 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/filter-empty-values.js +22 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/filter-empty-values.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/index.d.ts +4 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/index.js +21 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/is-object-empty.d.ts +1 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/is-object-empty.js +12 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/is-object-empty.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/update-route.d.ts +6 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/update-route.js +31 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/update-route.js.map +1 -0
- package/dist/system/presentation/index.d.ts +3 -0
- package/dist/system/presentation/index.js +20 -0
- package/dist/system/presentation/index.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/ui/components/form/select/index.js +3 -4
- package/dist/ui/components/form/select/index.js.map +1 -1
- package/package.json +85 -80
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
+
};
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.SignUp = void 0;
|
|
11
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
+
exports.SignUp = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n max-width: 576px;\n margin: 0 auto;\n padding: clamp(30px, 3.13vw, 60px) 0;\n\n .title {\n margin: 0 0 40px;\n\n h1 {\n text-align: center;\n }\n }\n\n form {\n .form-button {\n margin-top: 24px;\n\n button {\n background-color: #111111;\n height: 56px;\n border-radius: 6px;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: transform 0.1s ease-in-out;\n\n span {\n font-size: 16px;\n font-weight: bold;\n }\n\n &:active {\n transform: translateY(0.7px);\n }\n }\n }\n\n input {\n height: 56px;\n padding: 10px 20px;\n width: 100%;\n border: 2px solid rgba(0, 0, 0, 0.08);\n border-radius: 6px;\n margin-top: 8px;\n transition: border 0.2s ease-in-out;\n color: #484848;\n\n &:hover {\n border: 1px solid rgba(0, 0, 0, 0.8);\n }\n }\n }\n\n .actions-box {\n .quadrado {\n width: 24px;\n height: 24px;\n border: 2px solid rgba(0, 0, 0, 0.08);\n border-radius: 4px;\n margin-right: 10px;\n }\n\n label {\n color: #666666;\n\n a {\n color: #000;\n font-weight: bold;\n display: flex;\n margin: 0 4px;\n }\n }\n }\n\n .create-account {\n display: flex;\n align-items: center;\n gap: 4px;\n width: fit-content;\n margin: 36px auto 0;\n\n span {\n color: #666666;\n }\n\n a {\n color: #000;\n }\n }\n"], ["\n width: 100%;\n max-width: 576px;\n margin: 0 auto;\n padding: clamp(30px, 3.13vw, 60px) 0;\n\n .title {\n margin: 0 0 40px;\n\n h1 {\n text-align: center;\n }\n }\n\n form {\n .form-button {\n margin-top: 24px;\n\n button {\n background-color: #111111;\n height: 56px;\n border-radius: 6px;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: transform 0.1s ease-in-out;\n\n span {\n font-size: 16px;\n font-weight: bold;\n }\n\n &:active {\n transform: translateY(0.7px);\n }\n }\n }\n\n input {\n height: 56px;\n padding: 10px 20px;\n width: 100%;\n border: 2px solid rgba(0, 0, 0, 0.08);\n border-radius: 6px;\n margin-top: 8px;\n transition: border 0.2s ease-in-out;\n color: #484848;\n\n &:hover {\n border: 1px solid rgba(0, 0, 0, 0.8);\n }\n }\n }\n\n .actions-box {\n .quadrado {\n width: 24px;\n height: 24px;\n border: 2px solid rgba(0, 0, 0, 0.08);\n border-radius: 4px;\n margin-right: 10px;\n }\n\n label {\n color: #666666;\n\n a {\n color: #000;\n font-weight: bold;\n display: flex;\n margin: 0 4px;\n }\n }\n }\n\n .create-account {\n display: flex;\n align-items: center;\n gap: 4px;\n width: fit-content;\n margin: 36px auto 0;\n\n span {\n color: #666666;\n }\n\n a {\n color: #000;\n }\n }\n"])));
|
|
13
|
+
var templateObject_1;
|
|
14
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/sign-up/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,MAAM,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,4mDAAA,yiDA0FlC,KAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.Skeleton = void 0;
|
|
27
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
+
var ui_1 = require("../../../../../ui/index.js");
|
|
29
|
+
var S = __importStar(require("./styles.js"));
|
|
30
|
+
function Skeleton(_a) {
|
|
31
|
+
var type = _a.type, _b = _a.spacing, spacing = _b === void 0 ? 1 : _b;
|
|
32
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'skeleton', children: (0, jsx_runtime_1.jsx)(S.SkeletonCustom, { "data-testid": 'skeleton', children: "Novos skeletons" }) }));
|
|
33
|
+
}
|
|
34
|
+
exports.Skeleton = Skeleton;
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/skeleton/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,2BAA4B;AAI5B,0CAA6B;AAE7B,SAAgB,QAAQ,CAAC,EAAqC;QAAnC,IAAI,UAAA,EAAE,eAAW,EAAX,OAAO,mBAAG,CAAC,KAAA;IAC1C,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,UAAU,YACpB,uBAAC,CAAC,CAAC,cAAc,mBAAa,UAAU,gCAErB,GACb,CACT,CAAA;AACH,CAAC;AARD,4BAQC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/skeleton/interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const SkeletonCustom: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
+
ref?: import("react").Ref<HTMLDivElement>;
|
|
4
|
+
}, never>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
+
};
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.SkeletonCustom = void 0;
|
|
11
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
+
exports.SkeletonCustom = (0, styled_components_1.default)("div")(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n .avatar {\n display: flex;\n align-items: center;\n justify-content: space-around;\n }\n"], ["\n .avatar {\n display: flex;\n align-items: center;\n justify-content: space-around;\n }\n"])));
|
|
13
|
+
var templateObject_1;
|
|
14
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/skeleton/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAuC;AAE1B,QAAA,cAAc,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,2KAAA,wGAM1C,KAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./data/index.js"), exports);
|
|
18
|
+
__exportStar(require("./layout/index.js"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/system/presentation/components/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAsB;AACtB,2CAAwB"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.Layout = void 0;
|
|
27
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
+
var menu_1 = require("./menu/index.js");
|
|
29
|
+
var header_1 = require("./header/index.js");
|
|
30
|
+
var S = __importStar(require("./styles.js"));
|
|
31
|
+
function Layout(_a) {
|
|
32
|
+
var children = _a.children;
|
|
33
|
+
return ((0, jsx_runtime_1.jsxs)(S.Layout, { children: [(0, jsx_runtime_1.jsx)(menu_1.Menu, {}), (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(header_1.Header, {}), children] })] }));
|
|
34
|
+
}
|
|
35
|
+
exports.Layout = Layout;
|
|
36
|
+
//# sourceMappingURL=component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../../src/system/presentation/components/layout/component.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA6B;AAC7B,mCAAiC;AAEjC,0CAA6B;AAE7B,SAAgB,MAAM,CAAC,EAA2C;QAAzC,QAAQ,cAAA;IAC/B,OAAO,CACL,wBAAC,CAAC,CAAC,MAAM,eACP,uBAAC,WAAI,KAAG,EACR,4CACE,uBAAC,eAAM,KAAG,EAET,QAAQ,IACL,IACG,CACZ,CAAA;AACH,CAAC;AAXD,wBAWC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./menu-right/index.js"), exports);
|
|
18
|
+
__exportStar(require("./search-modal/index.js"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/layout/header/components/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,iDAA8B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function MenuRight(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.MenuRight = void 0;
|
|
27
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
+
var ui_1 = require("../../../../../../../ui/index.js");
|
|
29
|
+
var profile_1 = require("./profile/index.js");
|
|
30
|
+
var settings_1 = require("./settings/index.js");
|
|
31
|
+
var messages_1 = require("./messages/index.js");
|
|
32
|
+
var notifications_1 = require("./notifications/index.js");
|
|
33
|
+
var S = __importStar(require("./styles.js"));
|
|
34
|
+
function MenuRight() {
|
|
35
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'MenuRight', children: (0, jsx_runtime_1.jsxs)(S.MenuRight, { children: [(0, jsx_runtime_1.jsx)(notifications_1.Notifications, {}), (0, jsx_runtime_1.jsx)(messages_1.Messages, {}), (0, jsx_runtime_1.jsx)(settings_1.Settings, {}), (0, jsx_runtime_1.jsx)(profile_1.Profile, {})] }) }));
|
|
36
|
+
}
|
|
37
|
+
exports.MenuRight = MenuRight;
|
|
38
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA4B;AAC5B,qCAAmC;AACnC,uCAAqC;AACrC,uCAAqC;AACrC,iDAA+C;AAE/C,0CAA6B;AAE7B,SAAgB,SAAS;IACvB,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,WAAW,YACrB,wBAAC,CAAC,CAAC,SAAS,eACV,uBAAC,6BAAa,KAAG,EAEjB,uBAAC,mBAAQ,KAAG,EAEZ,uBAAC,mBAAQ,KAAG,EAEZ,uBAAC,iBAAO,KAAG,IACC,GACR,CACT,CAAA;AACH,CAAC;AAdD,8BAcC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.Content = void 0;
|
|
41
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
42
|
+
var link_1 = __importDefault(require("next/link"));
|
|
43
|
+
var ui_1 = require("../../../../../../../../../ui/index.js");
|
|
44
|
+
var system_1 = require("../../../../../../../../../system/index.js");
|
|
45
|
+
var S = __importStar(require("./styles.js"));
|
|
46
|
+
function Content(_a) {
|
|
47
|
+
var setVisible = _a.setVisible, messages = _a.messages;
|
|
48
|
+
if (!messages && messages.length > 0) {
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Content', children: (0, jsx_runtime_1.jsxs)(S.Content, { children: [(0, jsx_runtime_1.jsxs)("div", { className: 'top', children: [(0, jsx_runtime_1.jsx)("h5", { className: 'font-18-semibold', children: "Mensagens" }), (0, jsx_runtime_1.jsx)(link_1.default, { href: system_1.routes.support.inbox, onClick: function () { return setVisible(false); }, className: 'font-16-regular', children: "View all" })] }), (0, jsx_runtime_1.jsx)("div", { className: 'cards-box', children: messages.map(function (item) { return ((0, jsx_runtime_1.jsx)(system_1.MessageCard, __assign({}, item), 'message-card' + item.id)); }) })] }) }));
|
|
52
|
+
}
|
|
53
|
+
exports.Content = Content;
|
|
54
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/messages/content/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAA4B;AAE5B,2BAA4B;AAC5B,mCAA8C;AAI9C,0CAA6B;AAE7B,SAAgB,OAAO,CAAC,EAA8C;QAA5C,UAAU,gBAAA,EAAE,QAAQ,cAAA;IAC5C,IAAI,CAAC,QAAQ,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACrC,OAAM;IACR,CAAC;IAED,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,SAAS,YACnB,wBAAC,CAAC,CAAC,OAAO,eACR,iCAAK,SAAS,EAAC,KAAK,aAClB,+BAAI,SAAS,EAAC,kBAAkB,0BAAe,EAE/C,uBAAC,cAAI,IAAC,IAAI,EAAE,eAAM,CAAC,OAAO,CAAC,KAAK,EAAE,OAAO,EAAE,cAAM,OAAA,UAAU,CAAC,KAAK,CAAC,EAAjB,CAAiB,EAAE,SAAS,EAAC,iBAAiB,yBAExF,IACH,EAEN,gCAAK,SAAS,EAAC,WAAW,YACvB,QAAQ,CAAC,GAAG,CAAC,UAAC,IAAI,IAAK,OAAA,CACtB,uBAAC,oBAAW,eAAoC,IAAI,GAAlC,cAAc,GAAG,IAAI,CAAC,EAAE,CAAc,CACzD,EAFuB,CAEvB,CAAC,GACE,IACI,GACN,CACT,CAAA;AACH,CAAC;AAxBD,0BAwBC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/messages/content/interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
+
};
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.Content = void 0;
|
|
11
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
+
exports.Content = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n max-width: 500px;\n text-align: left;\n direction: ltr;\n padding: 20px;\n\n .top {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 10px;\n\n a {\n display: flex;\n color: #484848;\n\n &:hover {\n text-decoration: underline;\n }\n }\n }\n\n .cards-box {\n max-height: 438px;\n overflow-y: auto;\n overflow-x: hidden;\n\n &::-webkit-scrollbar {\n width: 6px;\n }\n }\n"], ["\n width: 100%;\n max-width: 500px;\n text-align: left;\n direction: ltr;\n padding: 20px;\n\n .top {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 10px;\n\n a {\n display: flex;\n color: #484848;\n\n &:hover {\n text-decoration: underline;\n }\n }\n }\n\n .cards-box {\n max-height: 438px;\n overflow-y: auto;\n overflow-x: hidden;\n\n &::-webkit-scrollbar {\n width: 6px;\n }\n }\n"])));
|
|
13
|
+
var templateObject_1;
|
|
14
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/messages/content/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,OAAO,GAAG,2BAAM,CAAC,GAAG,2jBAAA,wfAgChC,KAAA"}
|
package/dist/system/presentation/components/layout/header/components/menu-right/messages/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function Messages(): import("react/jsx-runtime").JSX.Element;
|
package/dist/system/presentation/components/layout/header/components/menu-right/messages/index.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Messages = void 0;
|
|
4
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
var react_1 = require("react");
|
|
6
|
+
function Messages() {
|
|
7
|
+
var _a = (0, react_1.useState)(false), visible = _a[0], setVisible = _a[1];
|
|
8
|
+
// const { messages, isLoading, hasUnreadMessage } = useMessages()
|
|
9
|
+
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {})
|
|
10
|
+
// <Error name='Messages'>
|
|
11
|
+
// <S.Messages>
|
|
12
|
+
// <Popup
|
|
13
|
+
// open={visible}
|
|
14
|
+
// onClose={() => setVisible(false)}
|
|
15
|
+
// style={{ padding: '0', borderRadius: 6 }}
|
|
16
|
+
// trigger={
|
|
17
|
+
// <ActionButton onClick={() => setVisible(!visible)} type='button'>
|
|
18
|
+
// {hasUnreadMessage && <div className='circle' />}
|
|
19
|
+
// <Icon name='IconChatSolid' />
|
|
20
|
+
// </ActionButton>
|
|
21
|
+
// }
|
|
22
|
+
// on='click'
|
|
23
|
+
// content={<Content setVisible={setVisible} messages={messages} />}
|
|
24
|
+
// position='bottom right'
|
|
25
|
+
// />
|
|
26
|
+
// </S.Messages>
|
|
27
|
+
// </Error>
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
exports.Messages = Messages;
|
|
31
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/messages/index.tsx"],"names":[],"mappings":";;;;AAAA,+BAAgC;AAShC,SAAgB,QAAQ;IAChB,IAAA,KAAwB,IAAA,gBAAQ,EAAC,KAAK,CAAC,EAAtC,OAAO,QAAA,EAAE,UAAU,QAAmB,CAAA;IAE7C,kEAAkE;IAElE,OAAO,CACL,kDAAK;IACL,0BAA0B;IAC1B,iBAAiB;IACjB,aAAa;IACb,uBAAuB;IACvB,0CAA0C;IAC1C,kDAAkD;IAClD,kBAAkB;IAClB,4EAA4E;IAC5E,6DAA6D;IAE7D,0CAA0C;IAC1C,0BAA0B;IAC1B,UAAU;IACV,mBAAmB;IACnB,0EAA0E;IAC1E,gCAAgC;IAChC,SAAS;IACT,kBAAkB;IAClB,WAAW;KACZ,CAAA;AACH,CAAC;AA3BD,4BA2BC"}
|
package/dist/system/presentation/components/layout/header/components/menu-right/messages/styles.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
+
};
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.Messages = void 0;
|
|
11
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
+
exports.Messages = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n .circle {\n width: 10px;\n height: 10px;\n border-radius: 100rem;\n background: #11a849;\n position: absolute;\n top: 15%;\n right: 20%;\n border: 2px solid #fff;\n }\n"], ["\n .circle {\n width: 10px;\n height: 10px;\n border-radius: 100rem;\n background: #11a849;\n position: absolute;\n top: 15%;\n right: 20%;\n border: 2px solid #fff;\n }\n"])));
|
|
13
|
+
var templateObject_1;
|
|
14
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/messages/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,QAAQ,GAAG,2BAAM,CAAC,GAAG,0QAAA,uMAWjC,KAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function Notifications(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Notifications = void 0;
|
|
4
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
var ui_1 = require("../../../../../../../../ui/index.js");
|
|
6
|
+
function Notifications() {
|
|
7
|
+
var hasNotification = true;
|
|
8
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Notifications', children: "sfa" }));
|
|
9
|
+
}
|
|
10
|
+
exports.Notifications = Notifications;
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/notifications/index.tsx"],"names":[],"mappings":";;;;AAAA,2BAAkC;AAGlC,SAAgB,aAAa;IAC3B,IAAM,eAAe,GAAG,IAAI,CAAA;IAE5B,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,eAAe,oBASnB,CACT,CAAA;AACH,CAAC;AAfD,sCAeC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
+
};
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.Notifications = void 0;
|
|
11
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
+
exports.Notifications = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n .circle {\n width: 10px;\n height: 10px;\n border-radius: 100rem;\n background: #f5a623;\n position: absolute;\n top: 15%;\n right: 20%;\n border: 2px solid #fff;\n }\n"], ["\n .circle {\n width: 10px;\n height: 10px;\n border-radius: 100rem;\n background: #f5a623;\n position: absolute;\n top: 15%;\n right: 20%;\n border: 2px solid #fff;\n }\n"])));
|
|
13
|
+
var templateObject_1;
|
|
14
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/notifications/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,aAAa,GAAG,2BAAM,CAAC,GAAG,0QAAA,uMAWtC,KAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function Content(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Content = void 0;
|
|
30
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
|
+
var link_1 = __importDefault(require("next/link"));
|
|
32
|
+
var ui_1 = require("../../../../../../../../../ui/index.js");
|
|
33
|
+
var system_1 = require("../../../../../../../../../system/index.js");
|
|
34
|
+
var S = __importStar(require("./styles.js"));
|
|
35
|
+
function Content() {
|
|
36
|
+
var menuItems = [
|
|
37
|
+
{
|
|
38
|
+
name: 'Meu Perfil',
|
|
39
|
+
href: system_1.routes.user.profile,
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: 'Configurações',
|
|
43
|
+
href: system_1.routes.user.settings,
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: 'Log de Atividade',
|
|
47
|
+
href: system_1.routes.user.activityLog,
|
|
48
|
+
},
|
|
49
|
+
];
|
|
50
|
+
function handleSignOut() {
|
|
51
|
+
console.log('Saindo da conta...');
|
|
52
|
+
}
|
|
53
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Content', children: (0, jsx_runtime_1.jsxs)(S.Content, { children: [(0, jsx_runtime_1.jsx)("div", { className: 'user-profile', children: (0, jsx_runtime_1.jsx)("div", { className: 'user-info' }) }), (0, jsx_runtime_1.jsx)("div", { className: 'menu', children: menuItems.map(function (item) { return ((0, jsx_runtime_1.jsx)(link_1.default, { className: 'font-14-regular', href: item.href, passHref: true, children: (0, jsx_runtime_1.jsx)("span", { className: 'menu-item', children: item.name }) }, item.name)); }) }), (0, jsx_runtime_1.jsx)("div", { className: 'divider', children: (0, jsx_runtime_1.jsx)("button", { className: 'sign-out-button font-14-regular', type: 'button', onClick: handleSignOut, children: "Sign Out" }) })] }) }));
|
|
54
|
+
}
|
|
55
|
+
exports.Content = Content;
|
|
56
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/profile/content/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,mDAA4B;AAE5B,2BAA4B;AAC5B,mCAAiC;AAEjC,0CAA6B;AAE7B,SAAgB,OAAO;IACrB,IAAM,SAAS,GAAG;QAChB;YACE,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,eAAM,CAAC,IAAI,CAAC,OAAO;SAC1B;QACD;YACE,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,eAAM,CAAC,IAAI,CAAC,QAAQ;SAC3B;QACD;YACE,IAAI,EAAE,kBAAkB;YACxB,IAAI,EAAE,eAAM,CAAC,IAAI,CAAC,WAAW;SAC9B;KACF,CAAA;IAED,SAAS,aAAa;QACpB,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAA;IACnC,CAAC;IAED,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,SAAS,YACnB,wBAAC,CAAC,CAAC,OAAO,eACR,gCAAK,SAAS,EAAC,cAAc,YAG3B,gCAAK,SAAS,EAAC,WAAW,GAIpB,GACF,EAEN,gCAAK,SAAS,EAAC,MAAM,YAClB,SAAS,CAAC,GAAG,CAAC,UAAC,IAAI,IAAK,OAAA,CACvB,uBAAC,cAAI,IAAC,SAAS,EAAC,iBAAiB,EAAiB,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,QAAQ,kBACzE,iCAAM,SAAS,EAAC,WAAW,YAAE,IAAI,CAAC,IAAI,GAAQ,IADT,IAAI,CAAC,IAAI,CAEzC,CACR,EAJwB,CAIxB,CAAC,GACE,EAEN,gCAAK,SAAS,EAAC,SAAS,YACtB,mCAAQ,SAAS,EAAC,iCAAiC,EAAC,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAE,aAAa,yBAE/E,GACL,IACI,GACN,CACT,CAAA;AACH,CAAC;AAjDD,0BAiDC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
+
};
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.Content = void 0;
|
|
11
|
+
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
+
exports.Content = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 22rem;\n text-align: left;\n direction: ltr;\n\n .rtl & {\n direction: rtl;\n text-align: right;\n }\n\n .user-profile {\n display: flex;\n align-items: center;\n border-bottom: 1px solid #d1d5db;\n padding: 1.5rem 1.5rem 1.25rem;\n gap: 1rem;\n }\n\n .user-info {\n h6 {\n font-weight: 600;\n margin: 0 0 2px 0;\n }\n\n p {\n color: #4b5563;\n }\n }\n\n .menu {\n display: grid;\n padding: 0.875rem;\n font-weight: 500;\n color: #374151;\n\n a {\n color: #333333;\n }\n }\n\n .menu-item {\n margin: 0.125rem 0;\n display: flex;\n align-items: center;\n border-radius: 0.375rem;\n padding: 1rem;\n text-decoration: none;\n color: inherit;\n\n &:hover,\n &:focus {\n background-color: #f3f4f6;\n }\n }\n\n .sign-out-button {\n width: 100%;\n justify-content: start;\n padding: 0;\n font-weight: 500;\n color: #374151;\n background: none;\n border: none;\n text-align: left;\n\n &:hover,\n &:focus-within {\n color: #1f2937;\n }\n }\n\n .divider {\n border-top: 1px solid #d1d5db;\n transition: background 0.1s ease-in-out;\n\n &:hover,\n &:focus {\n background: #e72e3f;\n\n button {\n color: #fff;\n }\n }\n\n button {\n cursor: pointer;\n padding: 1.25rem 1.5rem;\n }\n }\n"], ["\n width: 22rem;\n text-align: left;\n direction: ltr;\n\n .rtl & {\n direction: rtl;\n text-align: right;\n }\n\n .user-profile {\n display: flex;\n align-items: center;\n border-bottom: 1px solid #d1d5db;\n padding: 1.5rem 1.5rem 1.25rem;\n gap: 1rem;\n }\n\n .user-info {\n h6 {\n font-weight: 600;\n margin: 0 0 2px 0;\n }\n\n p {\n color: #4b5563;\n }\n }\n\n .menu {\n display: grid;\n padding: 0.875rem;\n font-weight: 500;\n color: #374151;\n\n a {\n color: #333333;\n }\n }\n\n .menu-item {\n margin: 0.125rem 0;\n display: flex;\n align-items: center;\n border-radius: 0.375rem;\n padding: 1rem;\n text-decoration: none;\n color: inherit;\n\n &:hover,\n &:focus {\n background-color: #f3f4f6;\n }\n }\n\n .sign-out-button {\n width: 100%;\n justify-content: start;\n padding: 0;\n font-weight: 500;\n color: #374151;\n background: none;\n border: none;\n text-align: left;\n\n &:hover,\n &:focus-within {\n color: #1f2937;\n }\n }\n\n .divider {\n border-top: 1px solid #d1d5db;\n transition: background 0.1s ease-in-out;\n\n &:hover,\n &:focus {\n background: #e72e3f;\n\n button {\n color: #fff;\n }\n }\n\n button {\n cursor: pointer;\n padding: 1.25rem 1.5rem;\n }\n }\n"])));
|
|
13
|
+
var templateObject_1;
|
|
14
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/profile/content/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,OAAO,GAAG,2BAAM,CAAC,GAAG,27CAAA,w3CAyFhC,KAAA"}
|
package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function Profile(): import("react/jsx-runtime").JSX.Element;
|