@taon-dev/session 21.0.240 → 21.0.242
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/VERIFIED-BUILD-DATA.jsonc +2 -2
- package/browser/fesm2022/session-browser.mjs +3 -873
- package/browser/fesm2022/session-browser.mjs.map +1 -1
- package/browser/package.json +1 -1
- package/browser/types/session-browser.d.ts +2 -434
- package/browser-prod/fesm2022/session-browser-prod.mjs +3 -873
- package/browser-prod/fesm2022/session-browser-prod.mjs.map +1 -1
- package/browser-prod/package.json +1 -1
- package/browser-prod/types/session-browser-prod.d.ts +2 -434
- package/full-dts/build-info._auto-generated_.d.ts +1 -1
- package/full-dts/index.d.ts +0 -1
- package/full-dts/taon-audit-events/taon-audit-events-api.service.d.ts +8 -0
- package/full-dts/taon-authorization-backoffice/taon-authorization-backoffice.component.d.ts +5 -0
- package/full-dts/taon-authorization-backoffice/taon-authorization-backoffice.routes.d.ts +7 -0
- package/full-dts/taon-group/taon-group-api.service.d.ts +16 -0
- package/full-dts/taon-group/taon-group-backoffice/taon-group-backoffice.component.d.ts +10 -0
- package/full-dts/taon-group/taon-group-backoffice/taon-group-backoffice.routes.d.ts +7 -0
- package/full-dts/taon-group/taon-group-backoffice/taon-group-details.component.d.ts +29 -0
- package/full-dts/taon-group/taon-group-chooser/taon-group-chooser.component.d.ts +18 -0
- package/full-dts/taon-notification/taon-notification-api.service.d.ts +8 -0
- package/full-dts/taon-permission/taon-permission-api.service.d.ts +10 -0
- package/full-dts/taon-permission/taon-permission-backoffice/taon-permission-backoffice.component.d.ts +10 -0
- package/full-dts/taon-permission/taon-permission-backoffice/taon-permission-backoffice.routes.d.ts +7 -0
- package/full-dts/taon-permission/taon-permission-backoffice/taon-permission-details.component.d.ts +6 -0
- package/full-dts/taon-permission/taon-permission-chooser/taon-permission-chooser.component.d.ts +19 -0
- package/full-dts/taon-permission/taon-permission-view-edit/taon-permission-view-edit.component.d.ts +16 -0
- package/full-dts/taon-role/taon-role-api.service.d.ts +13 -0
- package/full-dts/taon-role/taon-role-backoffice/taon-role-backoffice.component.d.ts +10 -0
- package/full-dts/taon-role/taon-role-backoffice/taon-role-backoffice.routes.d.ts +7 -0
- package/full-dts/taon-role/taon-role-backoffice/taon-role-details.component.d.ts +29 -0
- package/full-dts/taon-role/taon-role-chooser/taon-role-chooser.component.d.ts +19 -0
- package/full-dts/taon-session/taon-profile/taon-profile-picture/taon-profile-picture.component.d.ts +24 -0
- package/full-dts/taon-session/taon-profile/taon-profile-picture/taon-profile-picture.routes.d.ts +7 -0
- package/full-dts/taon-session/taon-profile/taon-profile.api.service.d.ts +9 -0
- package/full-dts/taon-session/taon-profile/taon-profile.config.service.d.ts +6 -0
- package/full-dts/taon-session/taon-session/social-buttons/google-login-register-button.component.d.ts +7 -0
- package/full-dts/taon-session/taon-session/taon-session-profile/taon-session-profile.component.d.ts +67 -0
- package/full-dts/taon-session/taon-session/taon-session.component.d.ts +61 -0
- package/full-dts/taon-session/taon-session-backoffice/taon-backoffice-details-page.component.d.ts +4 -0
- package/full-dts/taon-session/taon-session-backoffice/taon-backoffice-details.resolver.d.ts +23 -0
- package/full-dts/taon-session/taon-session-backoffice/taon-backoffice-navigation.service.d.ts +8 -0
- package/full-dts/taon-session/taon-session-backoffice/taon-session-backoffice.api.service.d.ts +7 -0
- package/full-dts/taon-session/taon-session-backoffice/taon-session-backoffice.component.d.ts +11 -0
- package/full-dts/taon-session/taon-session-backoffice/taon-session-backoffice.routes.d.ts +7 -0
- package/full-dts/taon-session/taon-session-backoffice/taon-session-details.component.d.ts +17 -0
- package/full-dts/taon-session/taon-session-button/taon-session-button.component.d.ts +16 -0
- package/full-dts/taon-session/taon-session.api.service.d.ts +24 -0
- package/full-dts/taon-session/taon-session.config.service.d.ts +6 -0
- package/full-dts/taon-session/taon-session.state.service.d.ts +74 -0
- package/full-dts/taon-session-user/taon-session-backoffice-users/taon-session-backoffice-users.component.d.ts +10 -0
- package/full-dts/taon-session-user/taon-session-backoffice-users/taon-session-backoffice-users.routes.d.ts +7 -0
- package/full-dts/taon-session-user/taon-session-backoffice-users/taon-session-user-details.component.d.ts +37 -0
- package/full-dts/taon-session-user/taon-session-user-api.service.d.ts +5 -0
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/index.d.ts +0 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/migrations/1790328479283_initial.d.ts +3 -3
- package/lib/package.json +1 -1
- package/lib/taon-audit-events/taon-audit-events.abstract.context.d.ts +8 -8
- package/lib/taon-audit-events/taon-audit-events.controller.d.ts +2 -2
- package/lib/taon-audit-events/taon-audit-events.entity.d.ts +2 -2
- package/lib/taon-audit-events/taon-audit-events.middleware.d.ts +2 -2
- package/lib/taon-audit-events/taon-audit-events.provider.d.ts +2 -2
- package/lib/taon-audit-events/taon-audit-events.repository.d.ts +2 -2
- package/lib/taon-audit-events/taon-audit-events.subscriber.d.ts +2 -2
- package/lib/taon-auth-context/taon-auth-context.abstract.context.d.ts +8 -8
- package/lib/taon-auth-context/taon-auth-context.entity.d.ts +2 -2
- package/lib/taon-auth-context/taon-auth-context.repository.d.ts +2 -2
- package/lib/taon-authorization-backoffice/index.d.ts +1 -1
- package/lib/taon-authorization-backoffice/index.js +2 -2
- package/lib/taon-group/taon-group-backoffice/index.d.ts +1 -1
- package/lib/taon-group/taon-group-backoffice/index.js +2 -2
- package/lib/taon-group/taon-group-chooser/index.d.ts +1 -1
- package/lib/taon-group/taon-group-chooser/index.js +2 -2
- package/lib/taon-group/taon-group-role.entity.d.ts +2 -2
- package/lib/taon-group/taon-group-role.repository.d.ts +2 -2
- package/lib/taon-group/taon-group.abstract.context.d.ts +8 -8
- package/lib/taon-group/taon-group.controller.d.ts +2 -2
- package/lib/taon-group/taon-group.entity.d.ts +2 -2
- package/lib/taon-group/taon-group.middleware.d.ts +2 -2
- package/lib/taon-group/taon-group.provider.d.ts +2 -2
- package/lib/taon-group/taon-group.repository.d.ts +2 -2
- package/lib/taon-notification/taon-notification-recipient.entity.d.ts +2 -2
- package/lib/taon-notification/taon-notification.abstract.context.d.ts +8 -8
- package/lib/taon-notification/taon-notification.controller.d.ts +2 -2
- package/lib/taon-notification/taon-notification.entity.d.ts +2 -2
- package/lib/taon-notification/taon-notification.middleware.d.ts +2 -2
- package/lib/taon-notification/taon-notification.provider.d.ts +2 -2
- package/lib/taon-notification/taon-notification.repository.d.ts +2 -2
- package/lib/taon-notification/taon-notification.subscriber.d.ts +2 -2
- package/lib/taon-permission/taon-permission-backoffice/index.d.ts +1 -1
- package/lib/taon-permission/taon-permission-backoffice/index.js +2 -2
- package/lib/taon-permission/taon-permission-chooser/index.d.ts +1 -1
- package/lib/taon-permission/taon-permission-chooser/index.js +2 -2
- package/lib/taon-permission/taon-permission-view-edit/index.d.ts +1 -1
- package/lib/taon-permission/taon-permission-view-edit/index.js +2 -2
- package/lib/taon-permission/taon-permission.abstract.context.d.ts +8 -8
- package/lib/taon-permission/taon-permission.controller.d.ts +2 -2
- package/lib/taon-permission/taon-permission.entity.d.ts +2 -2
- package/lib/taon-permission/taon-permission.middleware.d.ts +2 -2
- package/lib/taon-permission/taon-permission.provider.d.ts +2 -2
- package/lib/taon-permission/taon-permission.repository.d.ts +2 -2
- package/lib/taon-permission/taon-permission.subscriber.d.ts +2 -2
- package/lib/taon-role/taon-role-backoffice/index.d.ts +1 -1
- package/lib/taon-role/taon-role-backoffice/index.js +2 -2
- package/lib/taon-role/taon-role-chooser/index.d.ts +1 -1
- package/lib/taon-role/taon-role-chooser/index.js +2 -2
- package/lib/taon-role/taon-role-permission.entity.d.ts +2 -2
- package/lib/taon-role/taon-role-permission.repository.d.ts +2 -2
- package/lib/taon-role/taon-role.abstract.context.d.ts +8 -8
- package/lib/taon-role/taon-role.controller.d.ts +2 -2
- package/lib/taon-role/taon-role.entity.d.ts +2 -2
- package/lib/taon-role/taon-role.provider.d.ts +2 -2
- package/lib/taon-role/taon-role.repository.d.ts +2 -2
- package/lib/taon-session/taon-profile/taon-profile-picture/index.d.ts +1 -1
- package/lib/taon-session/taon-profile/taon-profile-picture/index.js +2 -2
- package/lib/taon-session/taon-profile/taon-profile.abstract.context.d.ts +8 -8
- package/lib/taon-session/taon-profile/taon-profile.controller.d.ts +3 -3
- package/lib/taon-session/taon-profile/taon-profile.entity.d.ts +2 -2
- package/lib/taon-session/taon-profile/taon-profile.kv.repository.d.ts +2 -2
- package/lib/taon-session/taon-profile/taon-profile.provider.d.ts +2 -2
- package/lib/taon-session/taon-session/index.d.ts +1 -1
- package/lib/taon-session/taon-session/index.js +2 -2
- package/lib/taon-session/taon-session/taon-session-profile/index.d.ts +1 -1
- package/lib/taon-session/taon-session/taon-session-profile/index.js +2 -2
- package/lib/taon-session/taon-session-backoffice/taon-session-backoffice.controller.d.ts +2 -2
- package/lib/taon-session/taon-session-button/index.d.ts +1 -1
- package/lib/taon-session/taon-session-button/index.js +2 -2
- package/lib/taon-session/taon-session.abstract.context.d.ts +8 -8
- package/lib/taon-session/taon-session.controller.d.ts +2 -2
- package/lib/taon-session/taon-session.entity.d.ts +2 -2
- package/lib/taon-session/taon-session.kv.repository.d.ts +2 -2
- package/lib/taon-session/taon-session.middleware.d.ts +2 -2
- package/lib/taon-session/taon-session.provider.d.ts +3 -3
- package/lib/taon-session/taon-session.repository.d.ts +2 -2
- package/lib/taon-session/taon-session.utils.d.ts +2 -2
- package/lib/taon-session-user/taon-session-backoffice-users/index.d.ts +1 -1
- package/lib/taon-session-user/taon-session-backoffice-users/index.js +2 -2
- package/lib/taon-session-user/taon-session-user-group.entity.d.ts +2 -2
- package/lib/taon-session-user/taon-session-user-group.repository.d.ts +2 -2
- package/lib/taon-session-user/taon-session-user-identity.entity.d.ts +2 -2
- package/lib/taon-session-user/taon-session-user-identity.repository.d.ts +3 -3
- package/lib/taon-session-user/taon-session-user-role.entity.d.ts +2 -2
- package/lib/taon-session-user/taon-session-user.abstract.context.d.ts +8 -8
- package/lib/taon-session-user/taon-session-user.controller.d.ts +2 -2
- package/lib/taon-session-user/taon-session-user.entity.d.ts +2 -2
- package/lib/taon-session-user/taon-session-user.middleware.d.ts +2 -2
- package/lib/taon-session-user/taon-session-user.provider.d.ts +2 -2
- package/lib/taon-session-user/taon-session-user.repository.d.ts +2 -2
- package/lib/taon-session-user/taon-session-user.subscriber.d.ts +2 -2
- package/lib-esm/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib-esm/lib/build-info._auto-generated_.js +1 -1
- package/lib-esm/lib/index.d.ts +0 -1
- package/lib-esm/lib/index.js +1 -1
- package/lib-esm/lib/index.js.map +1 -1
- package/lib-esm/lib/taon-authorization-backoffice/index.d.ts +1 -1
- package/lib-esm/lib/taon-authorization-backoffice/index.js +1 -1
- package/lib-esm/lib/taon-group/taon-group-backoffice/index.d.ts +1 -1
- package/lib-esm/lib/taon-group/taon-group-backoffice/index.js +1 -1
- package/lib-esm/lib/taon-group/taon-group-chooser/index.d.ts +1 -1
- package/lib-esm/lib/taon-group/taon-group-chooser/index.js +1 -1
- package/lib-esm/lib/taon-permission/taon-permission-backoffice/index.d.ts +1 -1
- package/lib-esm/lib/taon-permission/taon-permission-backoffice/index.js +1 -1
- package/lib-esm/lib/taon-permission/taon-permission-chooser/index.d.ts +1 -1
- package/lib-esm/lib/taon-permission/taon-permission-chooser/index.js +1 -1
- package/lib-esm/lib/taon-permission/taon-permission-view-edit/index.d.ts +1 -1
- package/lib-esm/lib/taon-permission/taon-permission-view-edit/index.js +1 -1
- package/lib-esm/lib/taon-role/taon-role-backoffice/index.d.ts +1 -1
- package/lib-esm/lib/taon-role/taon-role-backoffice/index.js +1 -1
- package/lib-esm/lib/taon-role/taon-role-chooser/index.d.ts +1 -1
- package/lib-esm/lib/taon-role/taon-role-chooser/index.js +1 -1
- package/lib-esm/lib/taon-session/taon-profile/taon-profile-picture/index.d.ts +1 -1
- package/lib-esm/lib/taon-session/taon-profile/taon-profile-picture/index.js +1 -1
- package/lib-esm/lib/taon-session/taon-session/index.d.ts +1 -1
- package/lib-esm/lib/taon-session/taon-session/index.js +1 -1
- package/lib-esm/lib/taon-session/taon-session/taon-session-profile/index.d.ts +1 -1
- package/lib-esm/lib/taon-session/taon-session/taon-session-profile/index.js +1 -1
- package/lib-esm/lib/taon-session/taon-session-button/index.d.ts +1 -1
- package/lib-esm/lib/taon-session/taon-session-button/index.js +1 -1
- package/lib-esm/lib/taon-session-user/taon-session-backoffice-users/index.d.ts +1 -1
- package/lib-esm/lib/taon-session-user/taon-session-backoffice-users/index.js +1 -1
- package/lib-prod/build-info._auto-generated_.d.ts +1 -1
- package/lib-prod/build-info._auto-generated_.js +1 -1
- package/lib-prod/env/index.d.ts +0 -2
- package/lib-prod/env/index.js +0 -2
- package/lib-prod/env/index.js.map +1 -1
- package/lib-prod/index.d.ts +0 -1
- package/lib-prod/index.js +1 -1
- package/lib-prod/index.js.map +1 -1
- package/lib-prod/package.json +1 -1
- package/lib-prod/taon-authorization-backoffice/index.d.ts +1 -1
- package/lib-prod/taon-authorization-backoffice/index.js +1 -1
- package/lib-prod/taon-group/taon-group-backoffice/index.d.ts +1 -1
- package/lib-prod/taon-group/taon-group-backoffice/index.js +1 -1
- package/lib-prod/taon-group/taon-group-chooser/index.d.ts +1 -1
- package/lib-prod/taon-group/taon-group-chooser/index.js +1 -1
- package/lib-prod/taon-permission/taon-permission-backoffice/index.d.ts +1 -1
- package/lib-prod/taon-permission/taon-permission-backoffice/index.js +1 -1
- package/lib-prod/taon-permission/taon-permission-chooser/index.d.ts +1 -1
- package/lib-prod/taon-permission/taon-permission-chooser/index.js +1 -1
- package/lib-prod/taon-permission/taon-permission-view-edit/index.d.ts +1 -1
- package/lib-prod/taon-permission/taon-permission-view-edit/index.js +1 -1
- package/lib-prod/taon-role/taon-role-backoffice/index.d.ts +1 -1
- package/lib-prod/taon-role/taon-role-backoffice/index.js +1 -1
- package/lib-prod/taon-role/taon-role-chooser/index.d.ts +1 -1
- package/lib-prod/taon-role/taon-role-chooser/index.js +1 -1
- package/lib-prod/taon-session/taon-profile/taon-profile-picture/index.d.ts +1 -1
- package/lib-prod/taon-session/taon-profile/taon-profile-picture/index.js +1 -1
- package/lib-prod/taon-session/taon-session/index.d.ts +1 -1
- package/lib-prod/taon-session/taon-session/index.js +1 -1
- package/lib-prod/taon-session/taon-session/taon-session-profile/index.d.ts +1 -1
- package/lib-prod/taon-session/taon-session/taon-session-profile/index.js +1 -1
- package/lib-prod/taon-session/taon-session-button/index.d.ts +1 -1
- package/lib-prod/taon-session/taon-session-button/index.js +1 -1
- package/lib-prod/taon-session-user/taon-session-backoffice-users/index.d.ts +1 -1
- package/lib-prod/taon-session-user/taon-session-backoffice-users/index.js +1 -1
- package/package.json +1 -1
- package/websql/fesm2022/session-websql.mjs +3 -873
- package/websql/fesm2022/session-websql.mjs.map +1 -1
- package/websql/package.json +1 -1
- package/websql/types/session-websql.d.ts +2 -434
- package/websql-prod/fesm2022/session-websql-prod.mjs +3 -873
- package/websql-prod/fesm2022/session-websql-prod.mjs.map +1 -1
- package/websql-prod/package.json +1 -1
- package/websql-prod/types/session-websql-prod.d.ts +2 -434
- package/full-dts/env/env.angular-node-app.d.ts +0 -71
- package/full-dts/env/env.docs-webapp.d.ts +0 -71
- package/full-dts/env/env.electron-app.d.ts +0 -71
- package/full-dts/env/env.mobile-app.d.ts +0 -71
- package/full-dts/env/env.npm-lib-and-cli-tool.d.ts +0 -71
- package/full-dts/env/env.vscode-plugin.d.ts +0 -71
- package/full-dts/env/index.d.ts +0 -6
- package/lib/env/env.angular-node-app.d.ts +0 -71
- package/lib/env/env.angular-node-app.js +0 -153
- package/lib/env/env.angular-node-app.js.map +0 -1
- package/lib/env/env.docs-webapp.d.ts +0 -71
- package/lib/env/env.docs-webapp.js +0 -153
- package/lib/env/env.docs-webapp.js.map +0 -1
- package/lib/env/env.electron-app.d.ts +0 -71
- package/lib/env/env.electron-app.js +0 -153
- package/lib/env/env.electron-app.js.map +0 -1
- package/lib/env/env.mobile-app.d.ts +0 -71
- package/lib/env/env.mobile-app.js +0 -153
- package/lib/env/env.mobile-app.js.map +0 -1
- package/lib/env/env.npm-lib-and-cli-tool.d.ts +0 -71
- package/lib/env/env.npm-lib-and-cli-tool.js +0 -153
- package/lib/env/env.npm-lib-and-cli-tool.js.map +0 -1
- package/lib/env/env.vscode-plugin.d.ts +0 -71
- package/lib/env/env.vscode-plugin.js +0 -153
- package/lib/env/env.vscode-plugin.js.map +0 -1
- package/lib/env/index.d.ts +0 -6
- package/lib/env/index.js +0 -23
- package/lib/env/index.js.map +0 -1
- package/lib-esm/app/anything-test/anything-test-api.service.d.ts +0 -0
- package/lib-esm/app/anything-test/anything-test-api.service.js +0 -2
- package/lib-esm/app/anything-test/anything-test-api.service.js.map +0 -1
- package/lib-esm/app/anything-test/anything-test.abstract.context.d.ts +0 -0
- package/lib-esm/app/anything-test/anything-test.abstract.context.js +0 -2
- package/lib-esm/app/anything-test/anything-test.abstract.context.js.map +0 -1
- package/lib-esm/app/anything-test/anything-test.constants.d.ts +0 -0
- package/lib-esm/app/anything-test/anything-test.constants.js +0 -2
- package/lib-esm/app/anything-test/anything-test.constants.js.map +0 -1
- package/lib-esm/app/anything-test/anything-test.controller.d.ts +0 -0
- package/lib-esm/app/anything-test/anything-test.controller.js +0 -2
- package/lib-esm/app/anything-test/anything-test.controller.js.map +0 -1
- package/lib-esm/app/anything-test/anything-test.entity.d.ts +0 -0
- package/lib-esm/app/anything-test/anything-test.entity.js +0 -2
- package/lib-esm/app/anything-test/anything-test.entity.js.map +0 -1
- package/lib-esm/app/anything-test/anything-test.repository.d.ts +0 -0
- package/lib-esm/app/anything-test/anything-test.repository.js +0 -2
- package/lib-esm/app/anything-test/anything-test.repository.js.map +0 -1
- package/lib-esm/app/anything-test/index.d.ts +0 -0
- package/lib-esm/app/anything-test/index.js +0 -2
- package/lib-esm/app/anything-test/index.js.map +0 -1
- package/lib-esm/app/baseline-backoffice/index.d.ts +0 -0
- package/lib-esm/app/baseline-backoffice/index.js +0 -2
- package/lib-esm/app/baseline-backoffice/index.js.map +0 -1
- package/lib-esm/app/baseline-backoffice/taon-baseline-backoffice.component.d.ts +0 -0
- package/lib-esm/app/baseline-backoffice/taon-baseline-backoffice.component.js +0 -2
- package/lib-esm/app/baseline-backoffice/taon-baseline-backoffice.component.js.map +0 -1
- package/lib-esm/app/baseline-backoffice/taon-baseline-backoffice.models.d.ts +0 -0
- package/lib-esm/app/baseline-backoffice/taon-baseline-backoffice.models.js +0 -2
- package/lib-esm/app/baseline-backoffice/taon-baseline-backoffice.models.js.map +0 -1
- package/lib-esm/app/baseline-backoffice/taon-baseline-backoffice.routes.d.ts +0 -0
- package/lib-esm/app/baseline-backoffice/taon-baseline-backoffice.routes.js +0 -2
- package/lib-esm/app/baseline-backoffice/taon-baseline-backoffice.routes.js.map +0 -1
- package/lib-esm/app/session-example/index.d.ts +0 -0
- package/lib-esm/app/session-example/index.js +0 -2
- package/lib-esm/app/session-example/index.js.map +0 -1
- package/lib-esm/app/session-example/session-example.component.d.ts +0 -0
- package/lib-esm/app/session-example/session-example.component.js +0 -2
- package/lib-esm/app/session-example/session-example.component.js.map +0 -1
- package/lib-esm/app/session-example/session-example.models.d.ts +0 -0
- package/lib-esm/app/session-example/session-example.models.js +0 -2
- package/lib-esm/app/session-example/session-example.models.js.map +0 -1
- package/lib-esm/app/session-example/session-example.routes.d.ts +0 -0
- package/lib-esm/app/session-example/session-example.routes.js +0 -2
- package/lib-esm/app/session-example/session-example.routes.js.map +0 -1
- package/lib-esm/lib/env/env.angular-node-app.d.ts +0 -71
- package/lib-esm/lib/env/env.angular-node-app.js +0 -146
- package/lib-esm/lib/env/env.angular-node-app.js.map +0 -1
- package/lib-esm/lib/env/env.docs-webapp.d.ts +0 -71
- package/lib-esm/lib/env/env.docs-webapp.js +0 -146
- package/lib-esm/lib/env/env.docs-webapp.js.map +0 -1
- package/lib-esm/lib/env/env.electron-app.d.ts +0 -71
- package/lib-esm/lib/env/env.electron-app.js +0 -146
- package/lib-esm/lib/env/env.electron-app.js.map +0 -1
- package/lib-esm/lib/env/env.mobile-app.d.ts +0 -71
- package/lib-esm/lib/env/env.mobile-app.js +0 -146
- package/lib-esm/lib/env/env.mobile-app.js.map +0 -1
- package/lib-esm/lib/env/env.npm-lib-and-cli-tool.d.ts +0 -71
- package/lib-esm/lib/env/env.npm-lib-and-cli-tool.js +0 -146
- package/lib-esm/lib/env/env.npm-lib-and-cli-tool.js.map +0 -1
- package/lib-esm/lib/env/env.vscode-plugin.d.ts +0 -71
- package/lib-esm/lib/env/env.vscode-plugin.js +0 -146
- package/lib-esm/lib/env/env.vscode-plugin.js.map +0 -1
- package/lib-esm/lib/env/index.d.ts +0 -6
- package/lib-esm/lib/env/index.js +0 -7
- package/lib-esm/lib/env/index.js.map +0 -1
- package/lib-prod/env/env.docs-webapp.d.ts +0 -71
- package/lib-prod/env/env.docs-webapp.js +0 -146
- package/lib-prod/env/env.docs-webapp.js.map +0 -1
- package/lib-prod/env/env.npm-lib-and-cli-tool.d.ts +0 -71
- package/lib-prod/env/env.npm-lib-and-cli-tool.js +0 -146
- package/lib-prod/env/env.npm-lib-and-cli-tool.js.map +0 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import type { TaonGroupEntity } from '../taon-group.entity';
|
|
3
|
+
export declare class TaonGroupChooserComponent {
|
|
4
|
+
private readonly taonGroupApiService;
|
|
5
|
+
userId: number;
|
|
6
|
+
excludedGroupIds: number[];
|
|
7
|
+
readonly assigned: EventEmitter<number>;
|
|
8
|
+
readonly cancelled: EventEmitter<void>;
|
|
9
|
+
readonly groups: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<TaonGroupEntity[]>;
|
|
10
|
+
readonly loading: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
11
|
+
readonly saving: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
12
|
+
selectedGroupId?: number;
|
|
13
|
+
constructor();
|
|
14
|
+
get availableGroups(): TaonGroupEntity[];
|
|
15
|
+
loadGroups(): Promise<void>;
|
|
16
|
+
assign(): Promise<void>;
|
|
17
|
+
cancel(): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { TaonBaseAngularService } from 'taon/src';
|
|
3
|
+
import type { TaonNotificationEntity } from './taon-notification.entity';
|
|
4
|
+
export declare class TaonNotificationApiService extends TaonBaseAngularService {
|
|
5
|
+
private taonNotificationController;
|
|
6
|
+
get allMyEntities$(): Observable<TaonNotificationEntity[]>;
|
|
7
|
+
helloWorld(user: string): Observable<string>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { TaonBaseAngularService } from 'taon/src';
|
|
3
|
+
import type { TaonPermissionEntity } from './taon-permission.entity';
|
|
4
|
+
import { TaonPermissionController } from './taon-permission.controller';
|
|
5
|
+
export declare class TaonPermissionApiService extends TaonBaseAngularService {
|
|
6
|
+
taonPermissionController: TaonPermissionController;
|
|
7
|
+
get allMyEntities$(): Observable<TaonPermissionEntity[]>;
|
|
8
|
+
getAllPermissions(): Promise<TaonPermissionEntity[]>;
|
|
9
|
+
updateDescription(permissionId: number, description: string): Promise<TaonPermissionEntity>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { MtxGridColumn } from '@ng-matero/extensions/grid';
|
|
2
|
+
import { TaonBackofficeNavigationService } from '../../taon-session/taon-session-backoffice/taon-backoffice-navigation.service';
|
|
3
|
+
import { TaonPermissionApiService } from '../taon-permission-api.service';
|
|
4
|
+
export declare class TaonPermissionBackofficeComponent {
|
|
5
|
+
readonly navigation: TaonBackofficeNavigationService;
|
|
6
|
+
taonPermissionApiService: TaonPermissionApiService;
|
|
7
|
+
get crud(): import("..").TaonPermissionController;
|
|
8
|
+
columns: MtxGridColumn[];
|
|
9
|
+
add(): void;
|
|
10
|
+
}
|
package/full-dts/taon-permission/taon-permission-backoffice/taon-permission-backoffice.routes.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Routes } from '@angular/router';
|
|
2
|
+
export declare const TaonPermissionBackofficeRoutes: Routes;
|
|
3
|
+
/**
|
|
4
|
+
* By default exporting TaonPermissionBackofficeRoutes,
|
|
5
|
+
* the command `taon generate:app:routes`
|
|
6
|
+
* will automatically add them to the root routes in ./src/app.ts.
|
|
7
|
+
*/
|
package/full-dts/taon-permission/taon-permission-backoffice/taon-permission-details.component.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TaonBackofficeNavigationService } from '../../taon-session/taon-session-backoffice/taon-backoffice-navigation.service';
|
|
2
|
+
import type { TaonPermissionEntity } from '../taon-permission.entity';
|
|
3
|
+
export declare class TaonPermissionDetailsComponent {
|
|
4
|
+
permission: TaonPermissionEntity;
|
|
5
|
+
readonly navigation: TaonBackofficeNavigationService;
|
|
6
|
+
}
|
package/full-dts/taon-permission/taon-permission-chooser/taon-permission-chooser.component.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import type { TaonPermissionEntity } from '../taon-permission.entity';
|
|
3
|
+
export declare class TaonPermissionChooserComponent {
|
|
4
|
+
private readonly taonPermissionApiService;
|
|
5
|
+
private readonly taonRoleApiService;
|
|
6
|
+
roleId: number;
|
|
7
|
+
excludedPermissionIds: number[];
|
|
8
|
+
readonly assigned: EventEmitter<number>;
|
|
9
|
+
readonly cancelled: EventEmitter<void>;
|
|
10
|
+
readonly permissions: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<TaonPermissionEntity[]>;
|
|
11
|
+
readonly loading: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
12
|
+
readonly saving: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
13
|
+
selectedPermissionId?: number;
|
|
14
|
+
constructor();
|
|
15
|
+
get availablePermissions(): TaonPermissionEntity[];
|
|
16
|
+
loadPermissions(): Promise<void>;
|
|
17
|
+
assign(): Promise<void>;
|
|
18
|
+
cancel(): void;
|
|
19
|
+
}
|
package/full-dts/taon-permission/taon-permission-view-edit/taon-permission-view-edit.component.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import type { TaonPermissionEntity } from '../taon-permission.entity';
|
|
3
|
+
export declare class TaonPermissionViewEditComponent {
|
|
4
|
+
private readonly taonPermissionApiService;
|
|
5
|
+
set permission(value: TaonPermissionEntity);
|
|
6
|
+
get permission(): TaonPermissionEntity;
|
|
7
|
+
readonly descriptionChanged: EventEmitter<string>;
|
|
8
|
+
private _permission;
|
|
9
|
+
readonly description: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<string>;
|
|
10
|
+
readonly draftDescription: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<string>;
|
|
11
|
+
readonly editMode: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
12
|
+
readonly saving: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
13
|
+
edit(): void;
|
|
14
|
+
cancel(): void;
|
|
15
|
+
save(): Promise<void>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { TaonBaseAngularService } from 'taon/src';
|
|
3
|
+
import type { TaonPermissionEntity } from '../taon-permission/taon-permission.entity';
|
|
4
|
+
import type { TaonRoleEntity } from './taon-role.entity';
|
|
5
|
+
import { TaonRoleController } from './taon-role.controller';
|
|
6
|
+
export declare class TaonRoleApiService extends TaonBaseAngularService {
|
|
7
|
+
taonRoleController: TaonRoleController;
|
|
8
|
+
get allMyEntities$(): Observable<TaonRoleEntity[]>;
|
|
9
|
+
getAllRoles(): Promise<TaonRoleEntity[]>;
|
|
10
|
+
getPermissionsForRole(roleId: number): Promise<TaonPermissionEntity[]>;
|
|
11
|
+
assignPermissionToRole(roleId: number, permissionId: number): Promise<void>;
|
|
12
|
+
unassignPermissionFromRole(roleId: number, permissionId: number): Promise<void>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { MtxGridColumn } from '@ng-matero/extensions/grid';
|
|
2
|
+
import { TaonBackofficeNavigationService } from '../../taon-session/taon-session-backoffice/taon-backoffice-navigation.service';
|
|
3
|
+
import { TaonRoleApiService } from '../taon-role-api.service';
|
|
4
|
+
export declare class TaonRoleBackofficeComponent {
|
|
5
|
+
readonly taonRoleApiService: TaonRoleApiService;
|
|
6
|
+
readonly navigation: TaonBackofficeNavigationService;
|
|
7
|
+
get crud(): import("..").TaonRoleController;
|
|
8
|
+
readonly columns: MtxGridColumn[];
|
|
9
|
+
add(): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Routes } from '@angular/router';
|
|
2
|
+
export declare const TaonRoleBackofficeRoutes: Routes;
|
|
3
|
+
/**
|
|
4
|
+
* By default exporting TaonRoleBackofficeRoutes,
|
|
5
|
+
* the command `taon generate:app:routes`
|
|
6
|
+
* will automatically add them to the root routes in ./src/app.ts.
|
|
7
|
+
*/
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { MtxGridColumn } from '@ng-matero/extensions/grid';
|
|
3
|
+
import { TaonBackofficeNavigationService } from '../../taon-session/taon-session-backoffice/taon-backoffice-navigation.service';
|
|
4
|
+
import { TaonRoleApiService } from '../taon-role-api.service';
|
|
5
|
+
import type { TaonRoleEntity } from '../taon-role.entity';
|
|
6
|
+
import { TaonRoleBackofficeModels } from './taon-role-backoffice.models';
|
|
7
|
+
export declare class TaonRoleDetailsComponent implements OnChanges {
|
|
8
|
+
role: TaonRoleEntity;
|
|
9
|
+
readonly navigation: TaonBackofficeNavigationService;
|
|
10
|
+
ngOnChanges(): void;
|
|
11
|
+
taonRoleApiService: TaonRoleApiService;
|
|
12
|
+
readonly permissionRowsByRoleId: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<Record<number, TaonRoleBackofficeModels.AssignedPermissionRow[]>>;
|
|
13
|
+
readonly permissionChooserRoleId: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<number>;
|
|
14
|
+
/**
|
|
15
|
+
* Stable reference, so that nested datatables do not reload on every
|
|
16
|
+
* change detection cycle while permissions are not loaded yet.
|
|
17
|
+
*/
|
|
18
|
+
private readonly emptyPermissionRows;
|
|
19
|
+
private readonly emptyIds;
|
|
20
|
+
private readonly assignedPermissionIdsByRoleId;
|
|
21
|
+
permissionColumns: MtxGridColumn[];
|
|
22
|
+
permissionRowsFor(roleId: number): TaonRoleBackofficeModels.AssignedPermissionRow[];
|
|
23
|
+
assignedPermissionIds(roleId: number): number[];
|
|
24
|
+
openPermissionChooser(roleId: number): void;
|
|
25
|
+
closePermissionChooser(): void;
|
|
26
|
+
permissionAssigned(roleId: number): void;
|
|
27
|
+
loadPermissionsForRole(roleId: number): Promise<void>;
|
|
28
|
+
unassignPermission(row: TaonRoleBackofficeModels.AssignedPermissionRow): Promise<void>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import type { TaonRoleEntity } from '../taon-role.entity';
|
|
3
|
+
export declare class TaonRoleChooserComponent {
|
|
4
|
+
private readonly taonRoleApiService;
|
|
5
|
+
private readonly taonGroupApiService;
|
|
6
|
+
groupId: number;
|
|
7
|
+
excludedRoleIds: number[];
|
|
8
|
+
readonly assigned: EventEmitter<number>;
|
|
9
|
+
readonly cancelled: EventEmitter<void>;
|
|
10
|
+
readonly roles: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<TaonRoleEntity[]>;
|
|
11
|
+
readonly loading: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
12
|
+
readonly saving: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
13
|
+
selectedRoleId?: number;
|
|
14
|
+
constructor();
|
|
15
|
+
get availableRoles(): TaonRoleEntity[];
|
|
16
|
+
loadRoles(): Promise<void>;
|
|
17
|
+
assign(): Promise<void>;
|
|
18
|
+
cancel(): void;
|
|
19
|
+
}
|
package/full-dts/taon-session/taon-profile/taon-profile-picture/taon-profile-picture.component.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { OnDestroy, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { Translation } from '@taon-dev/i18n/src';
|
|
3
|
+
export declare class TaonProfilePictureComponent implements OnDestroy, OnInit, OnChanges {
|
|
4
|
+
hideButtons: boolean;
|
|
5
|
+
userId?: number | string;
|
|
6
|
+
readOnly: boolean;
|
|
7
|
+
readonly t: Translation;
|
|
8
|
+
private readonly taonProfileApiService;
|
|
9
|
+
readonly pictureUrl: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<string>;
|
|
10
|
+
readonly loading: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
11
|
+
readonly uploading: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
12
|
+
readonly accept = "image/png,image/jpeg,image/webp,image/gif";
|
|
13
|
+
private objectUrl?;
|
|
14
|
+
private destroyed;
|
|
15
|
+
private loadVersion;
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
18
|
+
loadProfilePicture(): Promise<void>;
|
|
19
|
+
fileSelected(event: Event): Promise<void>;
|
|
20
|
+
removePicture(): Promise<void>;
|
|
21
|
+
private setPictureBlob;
|
|
22
|
+
private clearPictureUrl;
|
|
23
|
+
ngOnDestroy(): void;
|
|
24
|
+
}
|
package/full-dts/taon-session/taon-profile/taon-profile-picture/taon-profile-picture.routes.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Routes } from '@angular/router';
|
|
2
|
+
export declare const TaonProfilePictureRoutes: Routes;
|
|
3
|
+
/**
|
|
4
|
+
* By default exporting TaonProfilePictureRoutes,
|
|
5
|
+
* the command `taon generate:app:routes`
|
|
6
|
+
* will automatically add them to the root routes in ./src/app.ts.
|
|
7
|
+
*/
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TaonBaseAngularService } from 'taon/src';
|
|
2
|
+
import { TaonProfileController } from './taon-profile.controller';
|
|
3
|
+
export declare class TaonProfileApiService extends TaonBaseAngularService {
|
|
4
|
+
readonly taonProfileController: TaonProfileController;
|
|
5
|
+
hasProfilePicture(userId?: number | string): Promise<boolean>;
|
|
6
|
+
getProfilePictureBlob(userId?: number | string): Promise<Blob | undefined>;
|
|
7
|
+
uploadProfilePicture(file: File, userId?: number | string): Promise<void>;
|
|
8
|
+
deleteProfilePicture(userId?: number | string): Promise<void>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TaonBaseAngularService } from 'taon/src';
|
|
2
|
+
import { TaonProfileProvider } from './taon-profile.provider';
|
|
3
|
+
export declare class TaonProfileConfigService extends TaonBaseAngularService {
|
|
4
|
+
private taonProfileProvider;
|
|
5
|
+
clone(): Partial<TaonProfileProvider>;
|
|
6
|
+
}
|
package/full-dts/taon-session/taon-session/taon-session-profile/taon-session-profile.component.d.ts
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
4
|
+
import { Translation } from '@taon-dev/i18n/src';
|
|
5
|
+
import { TaonSessionConfig } from '../../../index';
|
|
6
|
+
import { TaonSessionApiService } from '../../../taon-session/taon-session.api.service';
|
|
7
|
+
import { TaonSessionStateService } from '../../../taon-session/taon-session.state.service';
|
|
8
|
+
import { TaonSessionUserEntity } from '../../../taon-session-user/taon-session-user.entity';
|
|
9
|
+
import { TaonSessionIdentityProvider } from '../../../taon-session-user/taon-session-user.models';
|
|
10
|
+
export declare class TaonSessionProfileComponent {
|
|
11
|
+
t: Translation;
|
|
12
|
+
TaonSessionIdentityProvider: typeof TaonSessionIdentityProvider;
|
|
13
|
+
config: TaonSessionConfig;
|
|
14
|
+
protected readonly taonSessionApiService: TaonSessionApiService;
|
|
15
|
+
readonly taonSessionStateService: TaonSessionStateService;
|
|
16
|
+
readonly context$: import("rxjs").Observable<import("../../../index._auto-generated_").TaonAuthContextEntity<{
|
|
17
|
+
group: string;
|
|
18
|
+
role: string;
|
|
19
|
+
permission: string;
|
|
20
|
+
}>>;
|
|
21
|
+
readonly usernameForm: FormGroup<{
|
|
22
|
+
username: FormControl<string>;
|
|
23
|
+
}>;
|
|
24
|
+
readonly passwordForm: FormGroup<{
|
|
25
|
+
email: FormControl<string>;
|
|
26
|
+
password: FormControl<string>;
|
|
27
|
+
passwordRepeat: FormControl<string>;
|
|
28
|
+
}>;
|
|
29
|
+
readonly savingUsername: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
30
|
+
readonly usernameError: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<string>;
|
|
31
|
+
readonly usernameSaved: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
32
|
+
readonly showPasswordForm: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
33
|
+
readonly savingPassword: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
34
|
+
readonly passwordError: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<string>;
|
|
35
|
+
get isVisibleGoogle(): boolean;
|
|
36
|
+
get isVisibleApple(): boolean;
|
|
37
|
+
get isVisibleMicrosoft(): boolean;
|
|
38
|
+
get isVisibleFacebook(): boolean;
|
|
39
|
+
get isVisibleGithub(): boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Email/password can be connected only when the user currently
|
|
42
|
+
* has no PASSWORD identity.
|
|
43
|
+
*
|
|
44
|
+
* In practice this means an account created purely through
|
|
45
|
+
* social authentication.
|
|
46
|
+
*/
|
|
47
|
+
readonly canConnectEmail$: import("rxjs").Observable<boolean>;
|
|
48
|
+
readonly canConnectGoogle$: import("rxjs").Observable<boolean>;
|
|
49
|
+
readonly canConnectGithub$: import("rxjs").Observable<boolean>;
|
|
50
|
+
readonly canConnectApple$: import("rxjs").Observable<boolean>;
|
|
51
|
+
readonly canConnectMicrosoft$: import("rxjs").Observable<boolean>;
|
|
52
|
+
readonly canConnectFacebook$: import("rxjs").Observable<boolean>;
|
|
53
|
+
readonly logout: EventEmitter<void>;
|
|
54
|
+
readonly dialog: MatDialog;
|
|
55
|
+
onLogout(): void;
|
|
56
|
+
disconnect(provider: TaonSessionIdentityProvider): void;
|
|
57
|
+
connectEmail(user?: TaonSessionUserEntity | null): void;
|
|
58
|
+
savePassword(): Promise<void>;
|
|
59
|
+
saveUsername(): Promise<void>;
|
|
60
|
+
private googleCodeClient?;
|
|
61
|
+
connectGoogle(): void;
|
|
62
|
+
private initGoogleLogin;
|
|
63
|
+
private connectGoogleIdenitty;
|
|
64
|
+
connectApple(): void;
|
|
65
|
+
connectMicrosoft(): void;
|
|
66
|
+
connectFacebook(): void;
|
|
67
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { AfterViewInit, OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { FormGroup, FormControl } from '@angular/forms';
|
|
3
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
4
|
+
import { Translation } from '@taon-dev/i18n/src';
|
|
5
|
+
import { Subscription } from 'rxjs';
|
|
6
|
+
import { TaonSlideContentComponent } from 'taon-ui/src';
|
|
7
|
+
import { TaonSessionConfigService } from '../taon-session.config.service';
|
|
8
|
+
import { TaonLoginErrors, TaonSessionState } from '../taon-session.models';
|
|
9
|
+
import { TaonSessionConfig } from '../taon-session.provider';
|
|
10
|
+
import { TaonSessionStateService } from '../taon-session.state.service';
|
|
11
|
+
export declare class TaonSessionComponent implements AfterViewInit, OnInit, OnDestroy {
|
|
12
|
+
config: TaonSessionConfig;
|
|
13
|
+
private emailInput?;
|
|
14
|
+
private passwordInput?;
|
|
15
|
+
private registrationPasswordInput?;
|
|
16
|
+
protected slide: TaonSlideContentComponent;
|
|
17
|
+
protected readonly t: Translation;
|
|
18
|
+
protected readonly TaonSessionState: typeof TaonSessionState;
|
|
19
|
+
protected readonly TaonLoginErrors: typeof TaonLoginErrors;
|
|
20
|
+
protected readonly TaonErorsMap: Map<TaonLoginErrors, string>;
|
|
21
|
+
protected emailRegex: RegExp;
|
|
22
|
+
taonSessionStateService: TaonSessionStateService;
|
|
23
|
+
protected readonly taonSessionConfigService: TaonSessionConfigService;
|
|
24
|
+
protected form: FormGroup<{
|
|
25
|
+
email: FormControl<string>;
|
|
26
|
+
password: FormControl<string>;
|
|
27
|
+
passwordRepeat: FormControl<string>;
|
|
28
|
+
googleCode: FormControl<string>;
|
|
29
|
+
state: FormControl<TaonSessionState>;
|
|
30
|
+
}>;
|
|
31
|
+
protected readonly dialogRef: MatDialogRef<any, any>;
|
|
32
|
+
isLoggedIn$: import("rxjs").Observable<boolean>;
|
|
33
|
+
context$: import("rxjs").Observable<import("../..").TaonAuthContextEntity<{
|
|
34
|
+
group: string;
|
|
35
|
+
role: string;
|
|
36
|
+
permission: string;
|
|
37
|
+
}>>;
|
|
38
|
+
protected sub: Subscription;
|
|
39
|
+
protected googleButtonLoaded: boolean;
|
|
40
|
+
whenAllowedAnimationMap: Map<TaonSessionState, TaonSessionState[]>;
|
|
41
|
+
get isInsideDialog(): boolean;
|
|
42
|
+
get googleClientId(): string;
|
|
43
|
+
get microsoftClientId(): string;
|
|
44
|
+
get isAnySocialLoginEnabled(): boolean;
|
|
45
|
+
get diableLoginByEmail(): boolean;
|
|
46
|
+
reloadMe(): void;
|
|
47
|
+
executeActionForState(): void;
|
|
48
|
+
goTo(action: TaonSessionState): void;
|
|
49
|
+
logout(): void;
|
|
50
|
+
protected close(): void;
|
|
51
|
+
private focusMainInput;
|
|
52
|
+
private googleCodeClient?;
|
|
53
|
+
private initGoogleLogin;
|
|
54
|
+
loginWithGoogle(): void;
|
|
55
|
+
private loginWithGoogleCode;
|
|
56
|
+
ngOnInit(): void;
|
|
57
|
+
ngOnDestroy(): void;
|
|
58
|
+
ngAfterViewInit(): void;
|
|
59
|
+
resetPasswordScreen(): void;
|
|
60
|
+
private updateValidatorsFor;
|
|
61
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ResolveFn } from '@angular/router';
|
|
2
|
+
import type { TaonGroupEntity } from '../../taon-group/taon-group.entity';
|
|
3
|
+
import type { TaonRoleEntity } from '../../taon-role/taon-role.entity';
|
|
4
|
+
import type { TaonPermissionEntity } from '../../taon-permission/taon-permission.entity';
|
|
5
|
+
import type { TaonSessionUserEntity } from '../../taon-session-user/taon-session-user.entity';
|
|
6
|
+
import type { TaonSessionBackofficeModels } from './taon-session-backoffice.models';
|
|
7
|
+
export type TaonBackofficeDetail = {
|
|
8
|
+
kind: 'user';
|
|
9
|
+
entity: TaonSessionUserEntity;
|
|
10
|
+
} | {
|
|
11
|
+
kind: 'group';
|
|
12
|
+
entity: TaonGroupEntity;
|
|
13
|
+
} | {
|
|
14
|
+
kind: 'role';
|
|
15
|
+
entity: TaonRoleEntity;
|
|
16
|
+
} | {
|
|
17
|
+
kind: 'permission';
|
|
18
|
+
entity: TaonPermissionEntity;
|
|
19
|
+
} | {
|
|
20
|
+
kind: 'session';
|
|
21
|
+
entity: TaonSessionBackofficeModels.SessionDetails;
|
|
22
|
+
};
|
|
23
|
+
export declare const taonBackofficeDetailsResolver: ResolveFn<TaonBackofficeDetail>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { UrlTree } from '@angular/router';
|
|
2
|
+
export type TaonBackofficeEntity = 'user' | 'group' | 'role' | 'permission' | 'session';
|
|
3
|
+
export declare class TaonBackofficeNavigationService {
|
|
4
|
+
private readonly router;
|
|
5
|
+
private readonly route;
|
|
6
|
+
detailsLink(entity: TaonBackofficeEntity, id: number | string): UrlTree;
|
|
7
|
+
openDetails(entity: TaonBackofficeEntity, id: number | string): void;
|
|
8
|
+
}
|
package/full-dts/taon-session/taon-session-backoffice/taon-session-backoffice.api.service.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TaonBaseAngularService } from 'taon/src';
|
|
2
|
+
import { TaonSessionBackofficeController } from './taon-session-backoffice.controller';
|
|
3
|
+
import { TaonSessionBackofficeModels } from './taon-session-backoffice.models';
|
|
4
|
+
export declare class TaonSessionBackofficeApiService extends TaonBaseAngularService {
|
|
5
|
+
readonly taonSessionBackofficeController: TaonSessionBackofficeController;
|
|
6
|
+
getSessionDetails(id: number): Promise<TaonSessionBackofficeModels.SessionDetails>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { MtxGridColumn } from '@ng-matero/extensions/grid';
|
|
2
|
+
import { Translation } from '@taon-dev/i18n/src';
|
|
3
|
+
import { TaonBackofficeNavigationService } from './taon-backoffice-navigation.service';
|
|
4
|
+
import { TaonSessionBackofficeApiService } from './taon-session-backoffice.api.service';
|
|
5
|
+
export declare class TaonSessionBackofficeComponent {
|
|
6
|
+
readonly t: Translation;
|
|
7
|
+
readonly taonSessionBackofficeApiService: TaonSessionBackofficeApiService;
|
|
8
|
+
readonly taonBackofficeNavigationService: TaonBackofficeNavigationService;
|
|
9
|
+
get crud(): import("./taon-session-backoffice.controller").TaonSessionBackofficeController;
|
|
10
|
+
readonly columns: MtxGridColumn[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Routes } from '@angular/router';
|
|
2
|
+
export declare const TaonSessionBackofficeRoutes: Routes;
|
|
3
|
+
/**
|
|
4
|
+
* By default exporting TaonSessionBackofficeRoutes,
|
|
5
|
+
* the command `taon generate:app:routes`
|
|
6
|
+
* will automatically add them to the root routes in ./src/app.ts.
|
|
7
|
+
*/
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { Translation } from '@taon-dev/i18n/src';
|
|
3
|
+
import { TaonBackofficeNavigationService } from './taon-backoffice-navigation.service';
|
|
4
|
+
import { TaonSessionBackofficeModels } from './taon-session-backoffice.models';
|
|
5
|
+
export declare class TaonSessionDetailsComponent implements OnChanges {
|
|
6
|
+
readonly t: Translation;
|
|
7
|
+
sessionId: number;
|
|
8
|
+
detail?: TaonSessionBackofficeModels.SessionDetails;
|
|
9
|
+
readonly taonBackofficeNavigationService: TaonBackofficeNavigationService;
|
|
10
|
+
private readonly taonSessionBackofficeApiService;
|
|
11
|
+
readonly session: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<TaonSessionBackofficeModels.SessionDetails>;
|
|
12
|
+
readonly loading: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
|
|
13
|
+
readonly error: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<string>;
|
|
14
|
+
private requestId;
|
|
15
|
+
ngOnChanges(): void;
|
|
16
|
+
private loadDetails;
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { TaonSessionConfigService } from '../taon-session.config.service';
|
|
3
|
+
import { TaonSessionConfig } from '../taon-session.provider';
|
|
4
|
+
import { TaonSessionStateService } from '../taon-session.state.service';
|
|
5
|
+
export declare class TaonSessionButtonComponent implements OnInit {
|
|
6
|
+
protected readonly taonSessionStateService: TaonSessionStateService;
|
|
7
|
+
protected readonly taonSessionConfigService: TaonSessionConfigService;
|
|
8
|
+
config: TaonSessionConfig;
|
|
9
|
+
private readonly dialog;
|
|
10
|
+
private readonly router;
|
|
11
|
+
constructor();
|
|
12
|
+
openLogin(): void;
|
|
13
|
+
goDashboard(): void;
|
|
14
|
+
profile(): void;
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { TaonBaseAngularService } from 'taon/src';
|
|
3
|
+
import { TaonAuthContextEntity } from '../taon-auth-context/taon-auth-context.entity';
|
|
4
|
+
import { TaonSessionUserEntity } from '../taon-session-user/taon-session-user.entity';
|
|
5
|
+
import { TaonSessionIdentityProvider } from '../taon-session-user/taon-session-user.models';
|
|
6
|
+
import { TaonLoginData } from './taon-session.models';
|
|
7
|
+
export declare class TaonSessionApiService extends TaonBaseAngularService {
|
|
8
|
+
private taonSessionController;
|
|
9
|
+
usernameAvailable(username: string): Observable<boolean>;
|
|
10
|
+
changeUsername(username: string): Observable<boolean>;
|
|
11
|
+
connectPassword(email: string, password: string): Observable<boolean>;
|
|
12
|
+
login(data: TaonLoginData): Observable<boolean>;
|
|
13
|
+
logout(): Observable<boolean>;
|
|
14
|
+
connectIdentity(data: TaonLoginData): Observable<boolean>;
|
|
15
|
+
disconnectIdentity(provider: TaonSessionIdentityProvider): Observable<boolean>;
|
|
16
|
+
context(): Observable<TaonAuthContextEntity>;
|
|
17
|
+
emptyContext(): Observable<TaonAuthContextEntity>;
|
|
18
|
+
getCurrentUserId(): Observable<number>;
|
|
19
|
+
userExists(email: string, opt: {
|
|
20
|
+
goToPreviouseState: () => void;
|
|
21
|
+
}): Observable<boolean>;
|
|
22
|
+
createUser(email: string, password: string): Observable<TaonSessionUserEntity | undefined>;
|
|
23
|
+
refresh(): Observable<boolean>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
2
|
+
import { TaonBaseProvider } from 'taon/src';
|
|
3
|
+
import { TaonStateMachine } from 'tnp-core/src';
|
|
4
|
+
import { TaonAuthContextEntity } from '../taon-auth-context/taon-auth-context.entity';
|
|
5
|
+
import type { TaonSessionComponent } from './taon-session/taon-session.component';
|
|
6
|
+
import { TaonSessionApiService } from './taon-session.api.service';
|
|
7
|
+
import { TaonSessionState } from './taon-session.models';
|
|
8
|
+
export declare class TaonSessionStateService extends TaonBaseProvider {
|
|
9
|
+
protected readonly taonSessionApiService: TaonSessionApiService;
|
|
10
|
+
/**
|
|
11
|
+
* Refreshes session/authentication information.
|
|
12
|
+
*
|
|
13
|
+
* This causes getCurrentUserId() to be called again.
|
|
14
|
+
*/
|
|
15
|
+
protected readonly refreshSrc: BehaviorSubject<void>;
|
|
16
|
+
/**
|
|
17
|
+
* Refreshes authorization context without reloading
|
|
18
|
+
* the current session/user.
|
|
19
|
+
*
|
|
20
|
+
* Useful when roles/groups/permissions change while
|
|
21
|
+
* the currently authenticated user stays the same.
|
|
22
|
+
*/
|
|
23
|
+
protected readonly contextRefreshSrc: BehaviorSubject<void>;
|
|
24
|
+
protected readonly userId: import("tnp-core/src").BackendSignal<number>;
|
|
25
|
+
protected readonly currentSlide: import("tnp-core/src").BackendSignal<TaonSessionState>;
|
|
26
|
+
private allowedStateMap;
|
|
27
|
+
state: TaonStateMachine<TaonSessionState>;
|
|
28
|
+
/**
|
|
29
|
+
* Current authenticated user.
|
|
30
|
+
*
|
|
31
|
+
* Shared because multiple consumers may depend on userId$,
|
|
32
|
+
* isLoggedIn$ and context$ at the same time.
|
|
33
|
+
*
|
|
34
|
+
* One refresh => one getCurrentUserId() request.
|
|
35
|
+
*/
|
|
36
|
+
protected readonly userId$: Observable<number>;
|
|
37
|
+
/**
|
|
38
|
+
* Projection of userId$.
|
|
39
|
+
*
|
|
40
|
+
* Does NOT cause another getCurrentUserId() call because
|
|
41
|
+
* userId$ is shared.
|
|
42
|
+
*/
|
|
43
|
+
readonly isLoggedIn$: Observable<boolean>;
|
|
44
|
+
/**
|
|
45
|
+
* Current authorization context.
|
|
46
|
+
*
|
|
47
|
+
* Reloaded when:
|
|
48
|
+
*
|
|
49
|
+
* 1. session/user changes
|
|
50
|
+
* 2. refreshContext() is explicitly called
|
|
51
|
+
*
|
|
52
|
+
* Multiple subscribers share the same context request.
|
|
53
|
+
*/
|
|
54
|
+
readonly context$: Observable<TaonAuthContextEntity>;
|
|
55
|
+
executeActionForState(form: TaonSessionComponent['form']): void;
|
|
56
|
+
logout(successCallback?: () => void): void;
|
|
57
|
+
/**
|
|
58
|
+
* Reload complete authentication/session state.
|
|
59
|
+
*
|
|
60
|
+
* This causes:
|
|
61
|
+
*
|
|
62
|
+
* getCurrentUserId()
|
|
63
|
+
* -> userId$
|
|
64
|
+
* -> isLoggedIn$
|
|
65
|
+
* -> context$
|
|
66
|
+
*/
|
|
67
|
+
refresh(): void;
|
|
68
|
+
/**
|
|
69
|
+
* Reload authorization context only.
|
|
70
|
+
*
|
|
71
|
+
* Does NOT call getCurrentUserId().
|
|
72
|
+
*/
|
|
73
|
+
refreshContext(): void;
|
|
74
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { MtxGridColumn } from '@ng-matero/extensions/grid';
|
|
2
|
+
import { TaonBackofficeNavigationService } from '../../taon-session/taon-session-backoffice/taon-backoffice-navigation.service';
|
|
3
|
+
import { TaonSessionUserApiService } from '../taon-session-user-api.service';
|
|
4
|
+
export declare class TaonSessionBackofficeUsersComponent {
|
|
5
|
+
readonly userApiService: TaonSessionUserApiService;
|
|
6
|
+
readonly navigation: TaonBackofficeNavigationService;
|
|
7
|
+
get crud(): import("..").TaonSessionUserController;
|
|
8
|
+
readonly columns: MtxGridColumn[];
|
|
9
|
+
add(): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Routes } from '@angular/router';
|
|
2
|
+
export declare const TaonSessionBackofficeUsersRoutes: Routes;
|
|
3
|
+
/**
|
|
4
|
+
* By default exporting TaonSessionBackofficeUsersRoutes,
|
|
5
|
+
* the command `taon generate:app:routes`
|
|
6
|
+
* will automatically add them to the root routes in ./src/app.ts.
|
|
7
|
+
*/
|