infinity-forge 0.3.1 → 0.3.3
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/ui/components/form/input/index.js +1 -1
- package/dist/ui/components/form/input/index.js.map +1 -1
- package/dist/ui/components/form/select/index.js +3 -4
- package/dist/ui/components/form/select/index.js.map +1 -1
- package/package.json +5 -2
|
@@ -0,0 +1,113 @@
|
|
|
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 __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
14
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
15
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
16
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
17
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
18
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
19
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
|
+
function step(op) {
|
|
27
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
28
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
29
|
+
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;
|
|
30
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
31
|
+
switch (op[0]) {
|
|
32
|
+
case 0: case 1: t = op; break;
|
|
33
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
34
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
35
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
36
|
+
default:
|
|
37
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
38
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
39
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
40
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
41
|
+
if (t[2]) _.ops.pop();
|
|
42
|
+
_.trys.pop(); continue;
|
|
43
|
+
}
|
|
44
|
+
op = body.call(thisArg, _);
|
|
45
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
46
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
+
exports.getTableInformations = exports.configsQuery = exports.defaultResponseTableInformations = exports.getTablePayload = void 0;
|
|
51
|
+
var buffer_1 = require("../utils/buffer.js");
|
|
52
|
+
function formatFilterParams(params) {
|
|
53
|
+
var filterDecoded = (0, buffer_1.fromBase64ToString)(params);
|
|
54
|
+
var formatedParams = Object.keys(filterDecoded).reduce(function (reducer, param) {
|
|
55
|
+
var _a;
|
|
56
|
+
var valueParam = Object.keys(filterDecoded[param]).reduce(function (r, value) {
|
|
57
|
+
return r ? r + ',' + value : value;
|
|
58
|
+
}, '');
|
|
59
|
+
var obj = (_a = {}, _a[param] = valueParam, _a);
|
|
60
|
+
return __assign(__assign({}, reducer), obj);
|
|
61
|
+
}, {});
|
|
62
|
+
return formatedParams;
|
|
63
|
+
}
|
|
64
|
+
function getTablePayload(params) {
|
|
65
|
+
var ord = {
|
|
66
|
+
asc: undefined,
|
|
67
|
+
ordIndex: undefined,
|
|
68
|
+
ord: (params === null || params === void 0 ? void 0 : params.ordIndex) ? String((params === null || params === void 0 ? void 0 : params.ordIndex) + ((params === null || params === void 0 ? void 0 : params.asc) === 'true' ? ':asc' : '')) : undefined,
|
|
69
|
+
};
|
|
70
|
+
var formatedFilterParams = formatFilterParams(params === null || params === void 0 ? void 0 : params.filter);
|
|
71
|
+
var queryParamsPayload = __assign(__assign({}, params), { filter: undefined });
|
|
72
|
+
return __assign(__assign(__assign(__assign(__assign({}, ord), { limit: '10' }), queryParamsPayload), formatedFilterParams), { init: undefined });
|
|
73
|
+
}
|
|
74
|
+
exports.getTablePayload = getTablePayload;
|
|
75
|
+
exports.defaultResponseTableInformations = {
|
|
76
|
+
hasNextPage: false,
|
|
77
|
+
hasPreviousPage: false,
|
|
78
|
+
items: [],
|
|
79
|
+
pageIndex: 1,
|
|
80
|
+
pageSize: 1,
|
|
81
|
+
totalCount: 1,
|
|
82
|
+
totalPages: 1,
|
|
83
|
+
};
|
|
84
|
+
function getTableInformations(_a) {
|
|
85
|
+
var params = _a.params, tableKey = _a.tableKey;
|
|
86
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
87
|
+
var payload, response, _b;
|
|
88
|
+
return __generator(this, function (_c) {
|
|
89
|
+
switch (_c.label) {
|
|
90
|
+
case 0:
|
|
91
|
+
_c.trys.push([0, 2, , 3]);
|
|
92
|
+
payload = getTablePayload(params);
|
|
93
|
+
return [4 /*yield*/, fetch(process.env.apiURL + tableKey, { method: 'get', body: payload }).then(function (r) { return r.json(); })];
|
|
94
|
+
case 1:
|
|
95
|
+
response = _c.sent();
|
|
96
|
+
return [2 /*return*/, response.body];
|
|
97
|
+
case 2:
|
|
98
|
+
_b = _c.sent();
|
|
99
|
+
return [2 /*return*/, exports.defaultResponseTableInformations];
|
|
100
|
+
case 3: return [2 /*return*/];
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
exports.getTableInformations = getTableInformations;
|
|
106
|
+
var configsQuery = {
|
|
107
|
+
retry: 0,
|
|
108
|
+
staleTime: 0,
|
|
109
|
+
refetchInterval: 0,
|
|
110
|
+
refetchOnWindowFocus: false,
|
|
111
|
+
};
|
|
112
|
+
exports.configsQuery = configsQuery;
|
|
113
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/hooks/ui/use-table/query/service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,0CAAoD;AAOpD,SAAS,kBAAkB,CAAC,MAAqC;IAC/D,IAAM,aAAa,GAAG,IAAA,2BAAkB,EAAC,MAAM,CAAC,CAAA;IAEhD,IAAM,cAAc,GAAG,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,MAAM,CAAC,UAAC,OAAO,EAAE,KAAK;;QACtE,IAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,UAAC,CAAC,EAAE,KAAK;YACnE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAA;QACpC,CAAC,EAAE,EAAE,CAAC,CAAA;QAEN,IAAM,GAAG,aAAK,GAAC,KAAK,IAAG,UAAU,KAAE,CAAA;QAEnC,6BAAY,OAAO,GAAK,GAAG,EAAE;IAC/B,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,OAAO,cAAc,CAAA;AACvB,CAAC;AAED,SAAgB,eAAe,CAAC,MAAkC;IAChE,IAAM,GAAG,GAAG;QACV,GAAG,EAAE,SAAS;QACd,QAAQ,EAAE,SAAS;QACnB,GAAG,EAAE,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,QAAQ,EAAC,CAAC,CAAC,MAAM,CAAC,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,QAAQ,IAAG,CAAC,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,GAAG,MAAK,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;KACtG,CAAA;IAED,IAAM,oBAAoB,GAAG,kBAAkB,CAAC,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,MAAM,CAAC,CAAA;IAE/D,IAAM,kBAAkB,yBACnB,MAAM,KACT,MAAM,EAAE,SAAS,GAClB,CAAA;IAED,wDACK,GAAG,KACN,KAAK,EAAE,IAAI,KACR,kBAAkB,GAClB,oBAAoB,KACvB,IAAI,EAAE,SAAS,IAChB;AACH,CAAC;AArBD,0CAqBC;AAYY,QAAA,gCAAgC,GAAkC;IAC7E,WAAW,EAAE,KAAK;IAClB,eAAe,EAAE,KAAK;IACtB,KAAK,EAAE,EAAE;IACT,SAAS,EAAE,CAAC;IACZ,QAAQ,EAAE,CAAC;IACX,UAAU,EAAE,CAAC;IACb,UAAU,EAAE,CAAC;CACd,CAAA;AAED,SAAe,oBAAoB,CAAC,EAGjB;QAFjB,MAAM,YAAA,EACN,QAAQ,cAAA;;;;;;;oBAGA,OAAO,GAAG,eAAe,CAAC,MAAM,CAAC,CAAA;oBAEtB,qBAAM,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,GAAG,QAAQ,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,UAAA,CAAC,IAAI,OAAA,CAAC,CAAC,IAAI,EAAE,EAAR,CAAQ,CAAC,EAAA;;oBAA3G,QAAQ,GAAG,SAAgG;oBAEjH,sBAAO,QAAQ,CAAC,IAAI,EAAA;;;oBAEpB,sBAAO,wCAAgC,EAAA;;;;;CAE1C;AASsB,oDAAoB;AAP3C,IAAM,YAAY,GAAG;IACnB,KAAK,EAAE,CAAC;IACR,SAAS,EAAE,CAAC;IACZ,eAAe,EAAE,CAAC;IAClB,oBAAoB,EAAE,KAAK;CAC5B,CAAA;AAEQ,oCAAY"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toBase64 = exports.fromBase64ToString = void 0;
|
|
4
|
+
function fromBase64ToString(value) {
|
|
5
|
+
if (!value) {
|
|
6
|
+
return "";
|
|
7
|
+
}
|
|
8
|
+
try {
|
|
9
|
+
var decodedString = Buffer.from(value, "base64").toString("utf-8");
|
|
10
|
+
return JSON.parse(decodedString);
|
|
11
|
+
}
|
|
12
|
+
catch (error) {
|
|
13
|
+
console.error("Invalid base64 or JSON:", error);
|
|
14
|
+
return undefined;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.fromBase64ToString = fromBase64ToString;
|
|
18
|
+
function toBase64(value) {
|
|
19
|
+
try {
|
|
20
|
+
var objJsonStr = JSON.stringify(value);
|
|
21
|
+
var base64 = Buffer.from(objJsonStr).toString("base64");
|
|
22
|
+
if (base64 === "e30=") {
|
|
23
|
+
return "";
|
|
24
|
+
}
|
|
25
|
+
return base64;
|
|
26
|
+
}
|
|
27
|
+
catch (_a) {
|
|
28
|
+
return "";
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.toBase64 = toBase64;
|
|
32
|
+
//# sourceMappingURL=buffer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buffer.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/hooks/ui/use-table/utils/buffer.ts"],"names":[],"mappings":";;;AAAA,SAAS,kBAAkB,CAAC,KAAoC;IAC9D,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,IAAI,CAAC;QACH,IAAM,aAAa,GAAG,MAAM,CAAC,IAAI,CAAC,KAAe,EAAE,QAAQ,CAAC,CAAC,QAAQ,CACnE,OAAO,CACR,CAAC;QACF,OAAO,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;IACnC,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CAAC,yBAAyB,EAAE,KAAK,CAAC,CAAC;QAChD,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC;AAiBQ,gDAAkB;AAf3B,SAAS,QAAQ,CAAC,KAAc;IAC9B,IAAI,CAAC;QACH,IAAM,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QACzC,IAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;QAE1D,IAAG,MAAM,KAAK,MAAM,EAAE,CAAC;YACrB,OAAO,EAAE,CAAA;QACX,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;IAAC,WAAM,CAAC;QACP,OAAO,EAAE,CAAC;IACZ,CAAC;AACH,CAAC;AAE4B,4BAAQ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function filterEmptyValues(obj: any): {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.filterEmptyValues = void 0;
|
|
4
|
+
var is_object_empty_1 = require("./is-object-empty.js");
|
|
5
|
+
function filterEmptyValues(obj) {
|
|
6
|
+
var filteredObj = {};
|
|
7
|
+
for (var key in obj) {
|
|
8
|
+
var value = obj[key];
|
|
9
|
+
if (typeof value === "object") {
|
|
10
|
+
var filteredValue = filterEmptyValues(value);
|
|
11
|
+
if (!(0, is_object_empty_1.isObjectEmpty)(filteredValue)) {
|
|
12
|
+
filteredObj[key] = filteredValue;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
else if (value !== "" && value !== false) {
|
|
16
|
+
filteredObj[key] = value;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
return filteredObj;
|
|
20
|
+
}
|
|
21
|
+
exports.filterEmptyValues = filterEmptyValues;
|
|
22
|
+
//# sourceMappingURL=filter-empty-values.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter-empty-values.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/hooks/ui/use-table/utils/filter-empty-values.ts"],"names":[],"mappings":";;;AAAA,qDAAkD;AAElD,SAAgB,iBAAiB,CAAC,GAAG;IACnC,IAAM,WAAW,GAAG,EAAE,CAAC;IACvB,KAAK,IAAM,GAAG,IAAI,GAAG,EAAE,CAAC;QACtB,IAAM,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;QACvB,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;YAC9B,IAAM,aAAa,GAAG,iBAAiB,CAAC,KAAK,CAAC,CAAC;YAC/C,IAAI,CAAC,IAAA,+BAAa,EAAC,aAAa,CAAC,EAAE,CAAC;gBAClC,WAAW,CAAC,GAAG,CAAC,GAAG,aAAa,CAAC;YACnC,CAAC;QACH,CAAC;aAAM,IAAI,KAAK,KAAK,EAAE,IAAI,KAAK,KAAK,KAAK,EAAE,CAAC;YAC3C,WAAW,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;QAC3B,CAAC;IACH,CAAC;IACD,OAAO,WAAW,CAAC;AACrB,CAAC;AAdD,8CAcC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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("./buffer.js"), exports);
|
|
18
|
+
__exportStar(require("./update-route.js"), exports);
|
|
19
|
+
__exportStar(require("./is-object-empty.js"), exports);
|
|
20
|
+
__exportStar(require("./filter-empty-values.js"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/hooks/ui/use-table/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,iDAA8B;AAC9B,oDAAiC;AACjC,wDAAqC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isObjectEmpty(obj: any): boolean;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isObjectEmpty = void 0;
|
|
4
|
+
function isObjectEmpty(obj) {
|
|
5
|
+
for (var key in obj) {
|
|
6
|
+
if (obj.hasOwnProperty(key))
|
|
7
|
+
return false;
|
|
8
|
+
}
|
|
9
|
+
return true;
|
|
10
|
+
}
|
|
11
|
+
exports.isObjectEmpty = isObjectEmpty;
|
|
12
|
+
//# sourceMappingURL=is-object-empty.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-object-empty.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/hooks/ui/use-table/utils/is-object-empty.ts"],"names":[],"mappings":";;;AAAA,SAAgB,aAAa,CAAC,GAAG;IAC7B,KAAK,IAAM,GAAG,IAAI,GAAG,EAAE,CAAC;QACtB,IAAI,GAAG,CAAC,cAAc,CAAC,GAAG,CAAC;YACzB,OAAO,KAAK,CAAC;IACjB,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AANH,sCAMG"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.updateRoute = void 0;
|
|
15
|
+
function updateRoute(_a) {
|
|
16
|
+
var reset = _a.reset, router = _a.router, params = _a.params;
|
|
17
|
+
if (reset) {
|
|
18
|
+
router.push({
|
|
19
|
+
pathname: router.pathname,
|
|
20
|
+
query: __assign({}, params),
|
|
21
|
+
});
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
router.push({
|
|
25
|
+
pathname: router.pathname,
|
|
26
|
+
query: __assign(__assign({}, router.query), params),
|
|
27
|
+
});
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
exports.updateRoute = updateRoute;
|
|
31
|
+
//# sourceMappingURL=update-route.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-route.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/hooks/ui/use-table/utils/update-route.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAEA,SAAgB,WAAW,CAAC,EAQ3B;QAPC,KAAK,WAAA,EACL,MAAM,YAAA,EACN,MAAM,YAAA;IAMN,IAAI,KAAK,EAAE,CAAC;QACV,MAAM,CAAC,IAAI,CAAC;YACV,QAAQ,EAAE,MAAM,CAAC,QAAQ;YACzB,KAAK,eAAO,MAAM,CAAE;SACrB,CAAC,CAAC;QACH,OAAO;IACT,CAAC;IAED,MAAM,CAAC,IAAI,CAAC;QACV,QAAQ,EAAE,MAAM,CAAC,QAAQ;QACzB,KAAK,wBAAO,MAAM,CAAC,KAAK,GAAK,MAAM,CAAE;KACtC,CAAC,CAAC;IAEH,OAAO;AACT,CAAC;AAvBD,kCAuBC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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("./hooks/index.js"), exports);
|
|
18
|
+
__exportStar(require("./configs/index.js"), exports);
|
|
19
|
+
__exportStar(require("./components/index.js"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/presentation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,4CAAyB;AACzB,+CAA4B"}
|
|
@@ -25,7 +25,7 @@ function Input(props) {
|
|
|
25
25
|
helpers.setValue(event.target.value);
|
|
26
26
|
helpers.setTouched(true);
|
|
27
27
|
};
|
|
28
|
-
return ((0, jsx_runtime_1.jsx)(input_control_1.InputControl, __assign({}, props, { children: (0, jsx_runtime_1.jsx)("input", __assign({ id: name
|
|
28
|
+
return ((0, jsx_runtime_1.jsx)(input_control_1.InputControl, __assign({}, props, { children: (0, jsx_runtime_1.jsx)("input", __assign({ id: name }, field, { type: props.type, onChange: handleChange })) })));
|
|
29
29
|
}
|
|
30
30
|
exports.Input = Input;
|
|
31
31
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/input/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,iCAAkC;AAClC,kDAAgD;AAChD,oEAAiE;AAGjE,SAAgB,KAAK,CAAC,KAAiB;IAC7B,IAAA,YAAY,GAAW,KAAK,aAAhB,EAAE,IAAI,GAAK,KAAK,KAAV,CAAW;IACrC,IAAM,SAAS,GAAG,IAAA,qCAAgB,EAAC,YAAY,EAAE,IAAI,CAAC,CAAC;IACjD,IAAA,KAAqB,IAAA,iBAAQ,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAjD,KAAK,QAAA,EAAI,OAAO,QAAiC,CAAC;IAEzD,IAAM,YAAY,GAAG,UAAC,KAA0C;QAC9D,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACtB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACrC,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC,CAAC;IAEF,OAAO,CACL,uBAAC,4BAAY,eAAK,KAAK,cACrB,2CACE,EAAE,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/input/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,iCAAkC;AAClC,kDAAgD;AAChD,oEAAiE;AAGjE,SAAgB,KAAK,CAAC,KAAiB;IAC7B,IAAA,YAAY,GAAW,KAAK,aAAhB,EAAE,IAAI,GAAK,KAAK,KAAV,CAAW;IACrC,IAAM,SAAS,GAAG,IAAA,qCAAgB,EAAC,YAAY,EAAE,IAAI,CAAC,CAAC;IACjD,IAAA,KAAqB,IAAA,iBAAQ,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAjD,KAAK,QAAA,EAAI,OAAO,QAAiC,CAAC;IAEzD,IAAM,YAAY,GAAG,UAAC,KAA0C;QAC9D,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACtB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACrC,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC,CAAC;IAEF,OAAO,CACL,uBAAC,4BAAY,eAAK,KAAK,cACrB,2CACE,EAAE,EAAE,IAAI,IACJ,KAAK,IACT,IAAI,EAAE,KAAK,CAAC,IAAI,EAChB,QAAQ,EAAE,YAAY,IACtB,IACW,CAChB,CAAC;AACJ,CAAC;AArBD,sBAqBC"}
|
|
@@ -41,15 +41,14 @@ exports.Select = void 0;
|
|
|
41
41
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
42
42
|
var formik_1 = require("formik");
|
|
43
43
|
var react_select_1 = __importDefault(require("react-select"));
|
|
44
|
-
var helpers_1 = require("../helpers/index.js");
|
|
45
|
-
var S = __importStar(require("./styles.js"));
|
|
46
44
|
var ui_1 = require("../../../../ui/index.js");
|
|
45
|
+
var S = __importStar(require("./styles.js"));
|
|
47
46
|
function Select(props) {
|
|
48
47
|
var _a;
|
|
49
48
|
var _b = (0, formik_1.useField)({
|
|
50
|
-
name:
|
|
49
|
+
name: props.name,
|
|
51
50
|
}), field = _b[0], helpers = _b[2];
|
|
52
|
-
var fieldValue = field.value;
|
|
51
|
+
var fieldValue = field.value || [];
|
|
53
52
|
var value = fieldValue && (fieldValue === null || fieldValue === void 0 ? void 0 : fieldValue.length) > 0 && props.isGroup
|
|
54
53
|
? fieldValue === null || fieldValue === void 0 ? void 0 : fieldValue.map(function (defaultValueForm) {
|
|
55
54
|
return props.options
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/select/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/select/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iCAAiC;AACjC,8DAAsC;AACtC,2BAAmC;AAInC,0CAA6B;AAE7B,SAAgB,MAAM,CAAC,KAAmB;;IAClC,IAAA,KAAqB,IAAA,iBAAQ,EAAC;QAClC,IAAI,EAAC,KAAK,CAAC,IAAI;KAChB,CAAC,EAFK,KAAK,QAAA,EAAI,OAAO,QAErB,CAAA;IAEF,IAAM,UAAU,GAAG,KAAK,CAAC,KAAK,IAAI,EAAE,CAAA;IAEpC,IAAM,KAAK,GACT,UAAU,IAAI,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,MAAM,IAAG,CAAC,IAAI,KAAK,CAAC,OAAO;QACnD,CAAC,CAAC,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,GAAG,CAAC,UAAC,gBAAgB;YAC/B,OAAO,KAAK,CAAC,OAAO;iBACjB,IAAI,CAAC,UAAC,MAAM;gBACX,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,UAAC,CAAC,IAAK,OAAA,CAAC,CAAC,KAAK,KAAK,gBAAgB,EAA5B,CAA4B,CAAC,CAAA;YACjE,CAAC,CAAC;iBACD,OAAO,CAAC,IAAI,CAAC,UAAC,GAAG,IAAK,OAAA,GAAG,CAAC,KAAK,KAAK,gBAAgB,EAA9B,CAA8B,CAAC,CAAA;QAC1D,CAAC,CAAC;QACJ,CAAC,CAAC,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,GAAG,CAAC,UAAC,SAAS,IAAK,OAAA,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,UAAC,MAAM,IAAK,OAAA,MAAM,CAAC,KAAK,KAAK,SAAS,EAA1B,CAA0B,CAAC,EAA1D,CAA0D,CAAC,CAAA;IAEhG,OAAO,CACL,uBAAC,CAAC,CAAC,aAAa,cACd,uBAAC,iBAAY,eAAK,KAAK,cACrB,uBAAC,sBAAW,IACV,UAAU,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,EAC3E,IAAI,EAAE,KAAK,CAAC,IAAI,EAChB,QAAQ,EAAE,UAAC,EAAE;oBACX,IAAM,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,UAAC,EAAE,IAAK,OAAA,EAAE,CAAC,KAAK,EAAR,CAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAA;oBACjF,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;oBACvB,KAAK,CAAC,cAAc,IAAI,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAA;gBACrD,CAAC,EACD,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,KAAK,CAAC,UAAU,EACzB,OAAO,EAAE,KAAK,CAAC,OAAO,EACtB,UAAU,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,YAAmB,EAAE,CAAC,CAAC,CAAC,SAAS,EAClF,SAAS,EAAE,CAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,0CAAE,MAAM,IAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,GACjD,IACW,GACC,CACnB,CAAA;AACH,CAAC;AAtCD,wBAsCC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "infinity-forge",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "codie Library",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"build": "concurrently --kill-others \"tsc -w\" \"tsc-alias -w --resolve-full-paths\"",
|
|
16
16
|
"nextBuild": "next build",
|
|
17
17
|
"build:esm": "tsc",
|
|
18
|
-
"build:cjs": "tsc --module commonjs --outDir dist && tsc-alias -p tsconfig.json && for /r src %i in (.otf, *.ttf) do copy \"%i\" dist\\ && for /r src %i in (.css) do copy \"%i\" dist\\"
|
|
18
|
+
"build:cjs": "tsc --module commonjs --outDir dist && tsc-alias -p tsconfig.json && for /r src %i in (.otf, *.ttf) do copy \"%i\" dist\\ && for /r src %i in (.css) do copy \"%i\" dist\\"
|
|
19
|
+
},
|
|
19
20
|
"peerDependencies": {
|
|
20
21
|
"react": ">=16"
|
|
21
22
|
},
|
|
@@ -59,6 +60,8 @@
|
|
|
59
60
|
"fs": "^0.0.1-security",
|
|
60
61
|
"fs-extra": "^11.1.1",
|
|
61
62
|
"glider-js": "^1.7.8",
|
|
63
|
+
"inversify": "^6.0.2",
|
|
64
|
+
"js-cookie": "^3.0.5",
|
|
62
65
|
"lz-string": "^1.4.4",
|
|
63
66
|
"next": "^13.1.6",
|
|
64
67
|
"npm": "^10.2.4",
|