@acorex/modules 18.0.0 → 18.0.1
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/README.md +7 -7
- package/auth/README.md +3 -3
- package/auth/lib/account/account.module.d.ts +1 -1
- package/backend/lib/auth/oidc/application.loader.d.ts +2 -2
- package/backend/lib/auth/oidc/oidc.strategy.d.ts +2 -3
- package/backend/lib/auth/oidc/tenant.loader.d.ts +2 -2
- package/backend/lib/data/api/data-provider.d.ts +1 -2
- package/backend/lib/data/local/data-Conditioner.d.ts +1 -1
- package/backend/lib/data/local/local-data-provider.d.ts +1 -1
- package/esm2022/auth/index.mjs +1 -1
- package/esm2022/auth/lib/account/account.module.mjs +3 -3
- package/esm2022/auth/lib/account/app-chooser/app-chooser-list.component.mjs +4 -4
- package/esm2022/auth/lib/account/app-chooser/app-chooser-slot.component.mjs +4 -4
- package/esm2022/auth/lib/account/app-chooser/app-chooser.component.mjs +4 -5
- package/esm2022/auth/lib/account/profile/profile-slot.component.mjs +6 -5
- package/esm2022/auth/lib/account/tenant-chooser/tenant-chooser-dropdown.component.mjs +3 -3
- package/esm2022/auth/lib/account/tenant-chooser/tenant-chooser.component.mjs +4 -5
- package/esm2022/auth/lib/auth.config.mjs +1 -1
- package/esm2022/auth/lib/auth.module.mjs +1 -1
- package/esm2022/auth/lib/auth.routes.mjs +1 -1
- package/esm2022/auth/lib/error-handler.mjs +2 -2
- package/esm2022/auth/lib/forgot/password/password.component.mjs +3 -3
- package/esm2022/auth/lib/forgot/routes.mjs +1 -1
- package/esm2022/auth/lib/login/login.module.mjs +1 -1
- package/esm2022/auth/lib/login/password/password.component.mjs +3 -3
- package/esm2022/auth/lib/shared/layouts/blank/blank.layout.mjs +1 -1
- package/esm2022/auth/lib/shared/layouts/master/master.layout.mjs +5 -7
- package/esm2022/auth/lib/shared/services/idle.service.mjs +1 -1
- package/esm2022/auth/lib/shared/services/index.mjs +1 -1
- package/esm2022/auth/lib/store/auth.effects.mjs +1 -1
- package/esm2022/auth/lib/store/index.mjs +1 -1
- package/esm2022/auth/lib/two-factor/two-factor-code/two-factor-code.component.mjs +3 -3
- package/esm2022/auth/lib/two-factor/two-factor.module.mjs +1 -1
- package/esm2022/backend/index.mjs +1 -1
- package/esm2022/backend/lib/auth/oidc/application.loader.mjs +17 -12
- package/esm2022/backend/lib/auth/oidc/configuration.service.mjs +2 -3
- package/esm2022/backend/lib/auth/oidc/feature.loader.mjs +1 -1
- package/esm2022/backend/lib/auth/oidc/index.mjs +1 -1
- package/esm2022/backend/lib/auth/oidc/oidc.strategy.mjs +2 -4
- package/esm2022/backend/lib/auth/oidc/permission.loader.mjs +3 -3
- package/esm2022/backend/lib/auth/oidc/signincallback.component.mjs +1 -1
- package/esm2022/backend/lib/auth/oidc/tenant.loader.mjs +4 -13
- package/esm2022/backend/lib/auth/oidc/usermanager.service.mjs +1 -1
- package/esm2022/backend/lib/backend.configs.mjs +1 -1
- package/esm2022/backend/lib/backend.module.mjs +1 -1
- package/esm2022/backend/lib/data/api/data-provider.mjs +54 -15
- package/esm2022/backend/lib/data/index.mjs +1 -1
- package/esm2022/backend/lib/data/local/data-Conditioner.mjs +25 -19
- package/esm2022/backend/lib/data/local/local-data-provider.mjs +1 -1
- package/esm2022/log-management/lib/audit-logs.entity.mjs +2 -3
- package/esm2022/notification/index.mjs +1 -1
- package/esm2022/notification/lib/notification.module.mjs +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-jEqtVhBE.mjs → acorex-modules-auth-acorex-modules-auth-DeS0JelZ.mjs} +23 -25
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-DeS0JelZ.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-app-chooser.component-Bw4IumjA.mjs +70 -0
- package/fesm2022/acorex-modules-auth-app-chooser.component-Bw4IumjA.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-blank.layout-BOdRxDNv.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-Drm4fC1I.mjs → acorex-modules-auth-login.module-CsfZ__0S.mjs} +5 -7
- package/fesm2022/acorex-modules-auth-login.module-CsfZ__0S.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-master.layout-7OSbK7SF.mjs +37 -0
- package/fesm2022/acorex-modules-auth-master.layout-7OSbK7SF.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-password.component-V2IWBUZb.mjs +125 -0
- package/fesm2022/acorex-modules-auth-password.component-V2IWBUZb.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-password.component-qr9vkp8j.mjs +72 -0
- package/fesm2022/acorex-modules-auth-password.component-qr9vkp8j.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-routes-DyjibH6l.mjs → acorex-modules-auth-routes--jOmlQkp.mjs} +2 -2
- package/fesm2022/acorex-modules-auth-routes--jOmlQkp.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-CjEiwASS.mjs +83 -0
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-CjEiwASS.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-two-factor-code.component-C0JWM0rO.mjs +40 -0
- package/fesm2022/acorex-modules-auth-two-factor-code.component-C0JWM0rO.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-two-factor.module-A0hevYO2.mjs → acorex-modules-auth-two-factor.module-CmSVriRz.mjs} +4 -6
- package/fesm2022/acorex-modules-auth-two-factor.module-CmSVriRz.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth.mjs +2 -4
- package/fesm2022/acorex-modules-auth.mjs.map +1 -1
- package/fesm2022/acorex-modules-backend.mjs +98 -61
- package/fesm2022/acorex-modules-backend.mjs.map +1 -1
- package/fesm2022/acorex-modules-log-management.mjs +1 -2
- package/fesm2022/acorex-modules-log-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-notification.mjs.map +1 -1
- package/log-management/lib/audit-logs.entity.d.ts +1 -1
- package/notification/README.md +3 -3
- package/package.json +1 -1
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-jEqtVhBE.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-app-chooser.component-BbtMSwfI.mjs +0 -72
- package/fesm2022/acorex-modules-auth-app-chooser.component-BbtMSwfI.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-login.module-Drm4fC1I.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-master.layout-cAm6TYeA.mjs +0 -39
- package/fesm2022/acorex-modules-auth-master.layout-cAm6TYeA.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-password.component-Ch2Wqi2W.mjs +0 -74
- package/fesm2022/acorex-modules-auth-password.component-Ch2Wqi2W.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-password.component-D4CkGaq0.mjs +0 -127
- package/fesm2022/acorex-modules-auth-password.component-D4CkGaq0.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-routes-DyjibH6l.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-CJu2Lfbf.mjs +0 -84
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-CJu2Lfbf.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-two-factor-code.component-B41iXHoT.mjs +0 -40
- package/fesm2022/acorex-modules-auth-two-factor-code.component-B41iXHoT.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-two-factor.module-A0hevYO2.mjs.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"acorex-modules-log-management.mjs","sources":["../../../../libs/modules/log-management/src/lib/audit-logs.entity.ts","../../../../libs/modules/log-management/src/lib/log-management.module.ts","../../../../libs/modules/log-management/src/acorex-modules-log-management.ts"],"sourcesContent":["import { AXDataSourceQuery } from '@acorex/components/common';\nimport { AXPDataProvider } from '@acorex/platform/common';\nimport {\n AXPEntityConfig,\n AXPEntityListDisplayColumnConfig,\n AXPEntityProperty,\n convertPropertiesToColumns,\n widgetSchemas,\n} from '@acorex/platform/layouts';\nimport { Injector } from '@angular/core';\n\nconst properties: AXPEntityProperty[] = [\n {\n name: 'executionTime',\n title: 'Execution Time',\n schema: widgetSchemas.dateTime,\n canEdit: false,\n canInsert: true,\n formats: {\n default: 'HH:mm:ss dd MMM YYYY',\n },\n canInlineFilter: true,\n validationRules: [],\n },\n {\n name: 'httpMethod',\n title: 'HTTP Method',\n schema: widgetSchemas.text,\n canEdit: false,\n canInsert: true,\n canInlineFilter: true,\n validationRules: [],\n },\n {\n name: 'url',\n title: 'URL',\n schema: widgetSchemas.text,\n canEdit: false,\n canInsert: true,\n canInlineFilter: true,\n validationRules: [],\n },\n {\n name: 'httpStatusCode',\n title: 'HTTP Status Code',\n schema: widgetSchemas.number,\n canEdit: false,\n canInsert: true,\n canInlineFilter: true,\n validationRules: [],\n },\n {\n name: 'exceptions',\n title: 'Exceptions',\n schema: widgetSchemas.largetext,\n canEdit: false,\n canInsert: true,\n canInlineFilter: true,\n validationRules: [],\n },\n {\n name: 'browserInfo',\n title: 'Browser Info',\n schema: widgetSchemas.text,\n canEdit: false,\n canInsert: true,\n canInlineFilter: true,\n validationRules: [],\n },\n {\n name: 'comments',\n title: 'Comments',\n schema: widgetSchemas.text,\n canEdit: true,\n canInsert: true,\n canInlineFilter: true,\n validationRules: [],\n },\n {\n name: 'applicationName',\n title: 'Application Name',\n schema: widgetSchemas.text,\n canEdit: true,\n canInsert: true,\n canInlineFilter: true,\n validationRules: [],\n },\n {\n name: 'axApplicationName',\n title: 'AX Application Name',\n schema: widgetSchemas.text,\n canEdit: true,\n canInsert: true,\n canInlineFilter: true,\n validationRules: [],\n },\n {\n name: 'executionDuration',\n title: 'Execution Duration',\n schema: widgetSchemas.number,\n canEdit: false,\n canInsert: true,\n canInlineFilter: true,\n validationRules: [],\n },\n {\n name: 'clientIpAddress',\n title: 'Client IP Address',\n schema: widgetSchemas.text,\n canEdit: false,\n canInsert: true,\n canInlineFilter: true,\n validationRules: [],\n },\n\n {\n name: 'correlationId',\n title: 'Correlation ID',\n schema: widgetSchemas.text,\n canEdit: false,\n canInsert: true,\n canInlineFilter: true,\n validationRules: [],\n },\n {\n name: 'entityChanges',\n title: 'Entity Changes',\n schema: widgetSchemas.richText,\n canEdit: true,\n canInsert: true,\n canInlineFilter: true,\n validationRules: [],\n component: {\n common: {\n options: {\n reference: 'entityChanges',\n referenceField: 'entityChangeId',\n textField: 'changeType',\n valueField: 'id',\n multiple: true,\n },\n },\n },\n },\n {\n name: 'actions',\n title: 'Actions',\n schema: widgetSchemas.richText,\n canEdit: true,\n canInsert: true,\n canInlineFilter: true,\n validationRules: [],\n component: {\n common: {\n options: {\n reference: 'actions',\n referenceField: 'actionId',\n textField: 'methodName',\n valueField: 'id',\n multiple: true,\n },\n },\n },\n },\n {\n name: 'userId',\n title: 'User ID',\n schema: widgetSchemas.text,\n canEdit: false,\n canInsert: false,\n canInlineFilter: true,\n validationRules: [],\n },\n {\n name: 'userName',\n title: 'Username',\n schema: widgetSchemas.text,\n canEdit: false,\n canInsert: true,\n canInlineFilter: true,\n validationRules: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'tenantId',\n title: 'Tenant ID',\n schema: widgetSchemas.text,\n canEdit: false,\n canInsert: false,\n canInlineFilter: true,\n validationRules: [],\n },\n {\n name: 'tenantName',\n title: 'Tenant Name',\n schema: widgetSchemas.text,\n canEdit: true,\n canInsert: true,\n canInlineFilter: true,\n validationRules: [],\n },\n {\n name: 'impersonatorUserId',\n title: 'Impersonator User ID',\n schema: widgetSchemas.text,\n canEdit: false,\n canInsert: false,\n canInlineFilter: true,\n validationRules: [],\n },\n {\n name: 'impersonatorUserName',\n title: 'Impersonator Username',\n schema: widgetSchemas.text,\n canEdit: false,\n canInsert: true,\n canInlineFilter: true,\n validationRules: [],\n },\n {\n name: 'impersonatorTenantId',\n title: 'Impersonator Tenant ID',\n schema: widgetSchemas.text,\n canEdit: false,\n canInsert: false,\n canInlineFilter: true,\n validationRules: [],\n },\n {\n name: 'impersonatorTenantName',\n title: 'Impersonator Tenant Name',\n schema: widgetSchemas.text,\n canEdit: true,\n canInsert: true,\n canInlineFilter: true,\n validationRules: [],\n },\n {\n name: 'clientName',\n title: 'Client Name',\n schema: widgetSchemas.text,\n canEdit: false,\n canInsert: true,\n canInlineFilter: true,\n validationRules: [],\n },\n {\n name: 'clientId',\n title: 'Client ID',\n schema: widgetSchemas.text,\n canEdit: false,\n canInsert: true,\n canInlineFilter: true,\n validationRules: [],\n },\n {\n name: 'id',\n title: 'ID',\n schema: widgetSchemas.text,\n canEdit: false,\n canInsert: false,\n canInlineFilter: true,\n validationRules: [],\n },\n];\n\nconst columns: AXPEntityListDisplayColumnConfig[] = convertPropertiesToColumns(...properties);\n\nconst entityName = 'logs';\n\nexport async function entityFactory(injector: Injector): Promise<AXPEntityConfig> {\n const dataService = injector.get(AXPDataProvider);\n\n const entity: AXPEntityConfig = {\n module: 'log-management',\n name: entityName,\n title: 'Logs',\n properties: properties,\n editOptions: {\n create: false,\n delete: false,\n update: false,\n },\n formats: {\n default: 'Log Information',\n },\n dataSource: {\n key: 'id',\n pageSize: 20,\n load: async (e: AXDataSourceQuery) => {\n return dataService.getMany(entity, e);\n },\n byKey: async (id: any) => {\n return dataService.getOne(entity, id);\n },\n },\n views: {\n list: {\n title: 'Audit Logs',\n views: [\n {\n name: 'all',\n title: 'All Items',\n fixed: true,\n sorts: [\n {\n name: 'executionTime',\n dir: 'asc',\n },\n ],\n columns: columns.slice(0, 6),\n conditions: [],\n },\n ],\n },\n quickView: {\n root: {\n properties: [],\n sections: [\n {\n title: 'Execution Details',\n name: 'executionDetails',\n properties: properties.slice(0, 5).map((c) => c.name),\n },\n {\n title: 'Client Info',\n name: 'clientInfo',\n properties: properties.slice(5, 10).map((c) => c.name),\n },\n ],\n },\n },\n detailView: {\n root: {\n properties: [],\n sections: [\n {\n title: 'General Information',\n name: 'generalInformation',\n properties: [],\n sections: [\n {\n title: 'Identifier',\n name: 'identifier',\n properties: ['id'],\n },\n {\n title: 'Execution Details',\n description: 'Details about the execution of the audit log.',\n name: 'executionDetails',\n properties: ['executionTime', 'httpMethod', 'url', 'httpStatusCode', 'exceptions'],\n },\n {\n title: 'Client Info',\n description: 'Information about the client involved in the audit.',\n name: 'clientInfo',\n properties: ['browserInfo', 'comments', 'clientIpAddress', 'clientName', 'clientId'],\n },\n {\n title: 'Application Info',\n name: 'applicationInfo',\n properties: ['applicationName', 'axApplicationName'],\n },\n {\n title: 'Execution Metrics',\n name: 'executionMetrics',\n properties: ['executionDuration', 'correlationId'],\n },\n {\n title: 'User Info',\n name: 'userInfo',\n properties: ['userId', 'userName', 'tenantId', 'tenantName'],\n },\n {\n title: 'Impersonator Info',\n name: 'impersonatorInfo',\n properties: ['impersonatorUserId', 'impersonatorUserName', 'impersonatorTenantId', 'impersonatorTenantName'],\n },\n {\n title: 'Entity Changes',\n name: 'entityChanges',\n properties: ['entityChanges'],\n },\n {\n title: 'Actions',\n name: 'actions',\n properties: ['actions'],\n },\n ],\n },\n ],\n },\n },\n createView: {\n root: {\n properties: properties.map((c) => c.name),\n },\n },\n },\n };\n return entity;\n}\n","import { NgModule } from \"@angular/core\";\n@NgModule({\n imports: [],\n exports: [],\n declarations: [],\n})\nexport class AXMLogManagementModule {\n}\n ","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAWA,MAAM,UAAU,GAAwB;AACtC,IAAA;AACE,QAAA,IAAI,EAAE,eAAe;AACrB,QAAA,KAAK,EAAE,gBAAgB;QACvB,MAAM,EAAE,aAAa,CAAC,QAAQ;AAC9B,QAAA,OAAO,EAAE,KAAK;AACd,QAAA,SAAS,EAAE,IAAI;AACf,QAAA,OAAO,EAAE;AACP,YAAA,OAAO,EAAE,sBAAsB;AAChC,SAAA;AACD,QAAA,eAAe,EAAE,IAAI;AACrB,QAAA,eAAe,EAAE,EAAE;AACpB,KAAA;AACD,IAAA;AACE,QAAA,IAAI,EAAE,YAAY;AAClB,QAAA,KAAK,EAAE,aAAa;QACpB,MAAM,EAAE,aAAa,C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AA;AACF,qBAAA;AACF,iBAAA;AACF,aAAA;AACD,YAAA,UAAU,EAAE;AACV,gBAAA,IAAI,EAAE;AACJ,oBAAA,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC;AAC1C,iBAAA;AACF,aAAA;AACF,SAAA;KACF,CAAC;AACF,IAAA,OAAO,MAAM,CAAC;AAChB;;MC9Ya,sBAAsB,CAAA;8GAAtB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAtB,sBAAsB,EAAA,CAAA,CAAA,EAAA;+GAAtB,sBAAsB,EAAA,CAAA,CAAA,EAAA;;2FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBALlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,YAAY,EAAE,EAAE;AACnB,iBAAA,CAAA;;;ACLD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"acorex-modules-log-management.mjs","sources":["../../../../libs/modules/log-management/src/lib/audit-logs.entity.ts","../../../../libs/modules/log-management/src/lib/log-management.module.ts","../../../../libs/modules/log-management/src/acorex-modules-log-management.ts"],"sourcesContent":["import { AXDataSourceQuery } from '@acorex/components/common';\r\nimport { AXPDataProvider, AXPEntityConfig, AXPEntityListDisplayColumnConfig, AXPEntityPropertyConfig, convertPropertiesToColumns, widgetSchemas } from '@acorex/platform/common';\r\n\r\nimport { Injector } from '@angular/core';\r\n\r\nconst properties: AXPEntityPropertyConfig[] = [\r\n {\r\n name: 'executionTime',\r\n title: 'Execution Time',\r\n schema: widgetSchemas.dateTime,\r\n canEdit: false,\r\n canInsert: true,\r\n formats: {\r\n default: 'HH:mm:ss dd MMM YYYY',\r\n },\r\n canInlineFilter: true,\r\n validationRules: [],\r\n },\r\n {\r\n name: 'httpMethod',\r\n title: 'HTTP Method',\r\n schema: widgetSchemas.text,\r\n canEdit: false,\r\n canInsert: true,\r\n canInlineFilter: true,\r\n validationRules: [],\r\n },\r\n {\r\n name: 'url',\r\n title: 'URL',\r\n schema: widgetSchemas.text,\r\n canEdit: false,\r\n canInsert: true,\r\n canInlineFilter: true,\r\n validationRules: [],\r\n },\r\n {\r\n name: 'httpStatusCode',\r\n title: 'HTTP Status Code',\r\n schema: widgetSchemas.number,\r\n canEdit: false,\r\n canInsert: true,\r\n canInlineFilter: true,\r\n validationRules: [],\r\n },\r\n {\r\n name: 'exceptions',\r\n title: 'Exceptions',\r\n schema: widgetSchemas.largetext,\r\n canEdit: false,\r\n canInsert: true,\r\n canInlineFilter: true,\r\n validationRules: [],\r\n },\r\n {\r\n name: 'browserInfo',\r\n title: 'Browser Info',\r\n schema: widgetSchemas.text,\r\n canEdit: false,\r\n canInsert: true,\r\n canInlineFilter: true,\r\n validationRules: [],\r\n },\r\n {\r\n name: 'comments',\r\n title: 'Comments',\r\n schema: widgetSchemas.text,\r\n canEdit: true,\r\n canInsert: true,\r\n canInlineFilter: true,\r\n validationRules: [],\r\n },\r\n {\r\n name: 'applicationName',\r\n title: 'Application Name',\r\n schema: widgetSchemas.text,\r\n canEdit: true,\r\n canInsert: true,\r\n canInlineFilter: true,\r\n validationRules: [],\r\n },\r\n {\r\n name: 'axApplicationName',\r\n title: 'AX Application Name',\r\n schema: widgetSchemas.text,\r\n canEdit: true,\r\n canInsert: true,\r\n canInlineFilter: true,\r\n validationRules: [],\r\n },\r\n {\r\n name: 'executionDuration',\r\n title: 'Execution Duration',\r\n schema: widgetSchemas.number,\r\n canEdit: false,\r\n canInsert: true,\r\n canInlineFilter: true,\r\n validationRules: [],\r\n },\r\n {\r\n name: 'clientIpAddress',\r\n title: 'Client IP Address',\r\n schema: widgetSchemas.text,\r\n canEdit: false,\r\n canInsert: true,\r\n canInlineFilter: true,\r\n validationRules: [],\r\n },\r\n\r\n {\r\n name: 'correlationId',\r\n title: 'Correlation ID',\r\n schema: widgetSchemas.text,\r\n canEdit: false,\r\n canInsert: true,\r\n canInlineFilter: true,\r\n validationRules: [],\r\n },\r\n {\r\n name: 'entityChanges',\r\n title: 'Entity Changes',\r\n schema: widgetSchemas.richText,\r\n canEdit: true,\r\n canInsert: true,\r\n canInlineFilter: true,\r\n validationRules: [],\r\n component: {\r\n common: {\r\n options: {\r\n reference: 'entityChanges',\r\n referenceField: 'entityChangeId',\r\n textField: 'changeType',\r\n valueField: 'id',\r\n multiple: true,\r\n },\r\n },\r\n },\r\n },\r\n {\r\n name: 'actions',\r\n title: 'Actions',\r\n schema: widgetSchemas.richText,\r\n canEdit: true,\r\n canInsert: true,\r\n canInlineFilter: true,\r\n validationRules: [],\r\n component: {\r\n common: {\r\n options: {\r\n reference: 'actions',\r\n referenceField: 'actionId',\r\n textField: 'methodName',\r\n valueField: 'id',\r\n multiple: true,\r\n },\r\n },\r\n },\r\n },\r\n {\r\n name: 'userId',\r\n title: 'User ID',\r\n schema: widgetSchemas.text,\r\n canEdit: false,\r\n canInsert: false,\r\n canInlineFilter: true,\r\n validationRules: [],\r\n },\r\n {\r\n name: 'userName',\r\n title: 'Username',\r\n schema: widgetSchemas.text,\r\n canEdit: false,\r\n canInsert: true,\r\n canInlineFilter: true,\r\n validationRules: [\r\n {\r\n rule: 'required',\r\n },\r\n ],\r\n },\r\n {\r\n name: 'tenantId',\r\n title: 'Tenant ID',\r\n schema: widgetSchemas.text,\r\n canEdit: false,\r\n canInsert: false,\r\n canInlineFilter: true,\r\n validationRules: [],\r\n },\r\n {\r\n name: 'tenantName',\r\n title: 'Tenant Name',\r\n schema: widgetSchemas.text,\r\n canEdit: true,\r\n canInsert: true,\r\n canInlineFilter: true,\r\n validationRules: [],\r\n },\r\n {\r\n name: 'impersonatorUserId',\r\n title: 'Impersonator User ID',\r\n schema: widgetSchemas.text,\r\n canEdit: false,\r\n canInsert: false,\r\n canInlineFilter: true,\r\n validationRules: [],\r\n },\r\n {\r\n name: 'impersonatorUserName',\r\n title: 'Impersonator Username',\r\n schema: widgetSchemas.text,\r\n canEdit: false,\r\n canInsert: true,\r\n canInlineFilter: true,\r\n validationRules: [],\r\n },\r\n {\r\n name: 'impersonatorTenantId',\r\n title: 'Impersonator Tenant ID',\r\n schema: widgetSchemas.text,\r\n canEdit: false,\r\n canInsert: false,\r\n canInlineFilter: true,\r\n validationRules: [],\r\n },\r\n {\r\n name: 'impersonatorTenantName',\r\n title: 'Impersonator Tenant Name',\r\n schema: widgetSchemas.text,\r\n canEdit: true,\r\n canInsert: true,\r\n canInlineFilter: true,\r\n validationRules: [],\r\n },\r\n {\r\n name: 'clientName',\r\n title: 'Client Name',\r\n schema: widgetSchemas.text,\r\n canEdit: false,\r\n canInsert: true,\r\n canInlineFilter: true,\r\n validationRules: [],\r\n },\r\n {\r\n name: 'clientId',\r\n title: 'Client ID',\r\n schema: widgetSchemas.text,\r\n canEdit: false,\r\n canInsert: true,\r\n canInlineFilter: true,\r\n validationRules: [],\r\n },\r\n {\r\n name: 'id',\r\n title: 'ID',\r\n schema: widgetSchemas.text,\r\n canEdit: false,\r\n canInsert: false,\r\n canInlineFilter: true,\r\n validationRules: [],\r\n },\r\n];\r\n\r\nconst columns: AXPEntityListDisplayColumnConfig[] = convertPropertiesToColumns(...properties);\r\n\r\nconst entityName = 'logs';\r\n\r\nexport async function entityFactory(injector: Injector): Promise<AXPEntityConfig> {\r\n const dataService = injector.get(AXPDataProvider);\r\n\r\n const entity: AXPEntityConfig = {\r\n module: 'log-management',\r\n name: entityName,\r\n title: 'Logs',\r\n properties: properties,\r\n editOptions: {\r\n create: false,\r\n delete: false,\r\n update: false,\r\n },\r\n formats: {\r\n default: 'Log Information',\r\n },\r\n dataSource: {\r\n key: 'id',\r\n pageSize: 20,\r\n load: async (e: AXDataSourceQuery) => {\r\n return dataService.getMany(entity, e);\r\n },\r\n byKey: async (id: any) => {\r\n return dataService.getOne(entity, id);\r\n },\r\n },\r\n views: {\r\n list: {\r\n title: 'Audit Logs',\r\n views: [\r\n {\r\n name: 'all',\r\n title: 'All Items',\r\n fixed: true,\r\n sorts: [\r\n {\r\n name: 'executionTime',\r\n dir: 'asc',\r\n },\r\n ],\r\n columns: columns.slice(0, 6),\r\n conditions: [],\r\n },\r\n ],\r\n },\r\n quickView: {\r\n root: {\r\n properties: [],\r\n sections: [\r\n {\r\n title: 'Execution Details',\r\n name: 'executionDetails',\r\n properties: properties.slice(0, 5).map((c) => c.name),\r\n },\r\n {\r\n title: 'Client Info',\r\n name: 'clientInfo',\r\n properties: properties.slice(5, 10).map((c) => c.name),\r\n },\r\n ],\r\n },\r\n },\r\n detailView: {\r\n root: {\r\n properties: [],\r\n sections: [\r\n {\r\n title: 'General Information',\r\n name: 'generalInformation',\r\n properties: [],\r\n sections: [\r\n {\r\n title: 'Identifier',\r\n name: 'identifier',\r\n properties: ['id'],\r\n },\r\n {\r\n title: 'Execution Details',\r\n description: 'Details about the execution of the audit log.',\r\n name: 'executionDetails',\r\n properties: ['executionTime', 'httpMethod', 'url', 'httpStatusCode', 'exceptions'],\r\n },\r\n {\r\n title: 'Client Info',\r\n description: 'Information about the client involved in the audit.',\r\n name: 'clientInfo',\r\n properties: ['browserInfo', 'comments', 'clientIpAddress', 'clientName', 'clientId'],\r\n },\r\n {\r\n title: 'Application Info',\r\n name: 'applicationInfo',\r\n properties: ['applicationName', 'axApplicationName'],\r\n },\r\n {\r\n title: 'Execution Metrics',\r\n name: 'executionMetrics',\r\n properties: ['executionDuration', 'correlationId'],\r\n },\r\n {\r\n title: 'User Info',\r\n name: 'userInfo',\r\n properties: ['userId', 'userName', 'tenantId', 'tenantName'],\r\n },\r\n {\r\n title: 'Impersonator Info',\r\n name: 'impersonatorInfo',\r\n properties: ['impersonatorUserId', 'impersonatorUserName', 'impersonatorTenantId', 'impersonatorTenantName'],\r\n },\r\n {\r\n title: 'Entity Changes',\r\n name: 'entityChanges',\r\n properties: ['entityChanges'],\r\n },\r\n {\r\n title: 'Actions',\r\n name: 'actions',\r\n properties: ['actions'],\r\n },\r\n ],\r\n },\r\n ],\r\n },\r\n },\r\n createView: {\r\n root: {\r\n properties: properties.map((c) => c.name),\r\n },\r\n },\r\n },\r\n };\r\n return entity;\r\n}\r\n","import { NgModule } from \"@angular/core\";\n@NgModule({\n imports: [],\n exports: [],\n declarations: [],\n})\nexport class AXMLogManagementModule {\n}\n ","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAKA,MAAM,UAAU,GAA8B;AAC5C,IAAA;AACE,QAAA,IAAI,EAAE,eAAe;AACrB,QAAA,KAAK,EAAE,gBAAgB;QACvB,MAAM,EAAE,aAAa,CAAC,QAAQ;AAC9B,QAAA,OAAO,EAAE,KAAK;AACd,QAAA,SAAS,EAAE,IAAI;AACf,QAAA,OAAO,EAAE;AACP,YAAA,OAAO,EAAE,sBAAsB;AAChC,SAAA;AACD,QAAA,eAAe,EAAE,IAAI;AACrB,QAAA,eAAe,EAAE,EAAE;AACpB,KAAA;AACD,IAAA;AACE,QAAA,IAAI,EAAE,YAAY;AAClB,QAAA,KAAK,EAAE,aAAa;QACpB,MAAM,EAAE,aAAa,CAAC,IAAI;AAC1B,QAAA,OAAO,EAAE,KAAK;AACd,QAAA,SAAS,EAAE,IAAI;AACf,QAAA,eAAe,EAAE,IAAI;AACrB,QAAA,eAAe,EAAE,EAAE;AACpB,KAAA;AACD,IAAA;AACE,QAAA,IAAI,EAAE,KAAK;AACX,QAAA,KAAK,EAAE,KAAK;QACZ,MAAM,EAAE,aAAa,CAAC,IAAI;AAC1B,QAAA,OAAO,EAAE,KAAK;AACd,QAAA,SAAS,EAAE,IAAI;AACf,QAAA,eAAe,EAAE,IAAI;AACrB,QAAA,eAAe,EAAE,EAAE;AACpB,KAAA;AACD,IAAA;AACE,QAAA,IAAI,EAAE,gBAAgB;AACtB,QAAA,KAAK,EAAE,kBAAkB;QACzB,MAAM,EAAE,aAAa,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;2FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBALlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,YAAY,EAAE,EAAE;AACnB,iBAAA,CAAA;;;ACLD;;AAEG;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"acorex-modules-notification.mjs","sources":["../../../../libs/modules/notification/src/lib/notification.module.ts","../../../../libs/modules/notification/src/index.ts","../../../../libs/modules/notification/src/acorex-modules-notification.ts"],"sourcesContent":["import { NgModule } from \"@angular/core\";\n@NgModule({\n imports: [],\n exports: [],\n declarations: [],\n})\nexport class AXMNotificationModule {\n}\n ","\n// export * from './lib/admin-notification/admin-notification-item.component';\n// export * from './lib/admin-notification/admin-notification.component';\nexport * from './lib/notification.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,qBAAqB,CAAA;8GAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAArB,qBAAqB,EAAA,CAAA,CAAA,EAAA;+GAArB,qBAAqB,EAAA,CAAA,CAAA,EAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBALjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,YAAY,EAAE,EAAE;AACnB,iBAAA,CAAA;;;ACJD;AACA;;ACFA;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"acorex-modules-notification.mjs","sources":["../../../../libs/modules/notification/src/lib/notification.module.ts","../../../../libs/modules/notification/src/index.ts","../../../../libs/modules/notification/src/acorex-modules-notification.ts"],"sourcesContent":["import { NgModule } from \"@angular/core\";\r\n@NgModule({\r\n imports: [],\r\n exports: [],\r\n declarations: [],\r\n})\r\nexport class AXMNotificationModule {\r\n}\r\n ","\r\n// export * from './lib/admin-notification/admin-notification-item.component';\r\n// export * from './lib/admin-notification/admin-notification.component';\r\nexport * from './lib/notification.module';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,qBAAqB,CAAA;8GAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAArB,qBAAqB,EAAA,CAAA,CAAA,EAAA;+GAArB,qBAAqB,EAAA,CAAA,CAAA,EAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBALjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,YAAY,EAAE,EAAE;AACnB,iBAAA,CAAA;;;ACJD;AACA;;ACFA;;AAEG;;;;"}
|
package/notification/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# @acorex/modules/notification
|
2
|
-
|
3
|
-
Secondary entry point of `@acorex/modules`. It can be used by importing from `@acorex/modules/notification`.
|
1
|
+
# @acorex/modules/notification
|
2
|
+
|
3
|
+
Secondary entry point of `@acorex/modules`. It can be used by importing from `@acorex/modules/notification`.
|
4
4
|
|
package/package.json
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"acorex-modules-auth-acorex-modules-auth-jEqtVhBE.mjs","sources":["../../../../libs/modules/auth/src/lib/error-handler.ts","../../../../libs/modules/auth/src/lib/auth.config.ts","../../../../libs/modules/auth/src/lib/auth.routes.ts","../../../../libs/modules/auth/src/lib/shared/services/idle.service.ts","../../../../libs/modules/auth/src/lib/store/auth.effects.ts","../../../../libs/modules/auth/src/lib/store/index.ts","../../../../libs/modules/auth/src/lib/account/app-chooser/app-chooser-list.component.ts","../../../../libs/modules/auth/src/lib/account/app-chooser/app-chooser-list.component.html","../../../../libs/modules/auth/src/lib/account/app-chooser/app-chooser-slot.component.ts","../../../../libs/modules/auth/src/lib/account/app-chooser/app-chooser-slot.component.html","../../../../libs/modules/auth/src/lib/account/tenant-chooser/tenant-chooser-dropdown.component.ts","../../../../libs/modules/auth/src/lib/account/tenant-chooser/tenant-chooser-dropdown.component.html","../../../../libs/modules/auth/src/lib/account/profile/profile-slot.component.ts","../../../../libs/modules/auth/src/lib/account/profile/profile-slot.component.html","../../../../libs/modules/auth/src/lib/account/account.module.ts","../../../../libs/modules/auth/src/lib/auth.module.ts","../../../../libs/modules/auth/src/acorex-modules-auth.ts"],"sourcesContent":["import { Injectable, NgZone, inject, isDevMode } from \"@angular/core\";\nimport { AXPErrorHandler } from \"@acorex/platform/common\";\nimport { Router } from \"@angular/router\";\nimport { AXPUnauthenticatedError, AXPUnauthorizedError } from \"@acorex/platform/auth\";\nimport { HttpErrorResponse } from \"@angular/common/http\";\nimport { AXPLayoutService } from \"@acorex/platform/layouts\";\n\n@Injectable()\nexport class AXMAuthErrorHandler implements AXPErrorHandler {\n\n\n private router = inject(Router);\n private layoutService = inject(AXPLayoutService);\n private zone = inject(NgZone);\n\n\n\n handleError(error: Error, next: (error: any) => void): void {\n if (error instanceof HttpErrorResponse) {\n if (error.status == 401) {\n this.router.navigate(['/auth/login']);\n }\n else if (error.status == 404) {\n this.router.navigate(['/404']);\n }\n }\n else if (error instanceof AXPUnauthorizedError) {\n const redirectUrl = error.data?.redirectUrl;\n console.error(error.message);\n this.router.navigate(['/401'], { queryParams: redirectUrl ? { redirectUrl: redirectUrl } : null });\n }\n else if (error instanceof AXPUnauthenticatedError) {\n console.error(error.message);\n const redirectUrl = error.data?.redirectUrl;\n this.router.navigate(['/auth/login'], { queryParams: redirectUrl ? { redirectUrl: redirectUrl } : null });\n } else {\n if (isDevMode()) {\n next(error); // Pass the error to the next handler\n }\n else {\n next(error); // maybe we need a error page\n }\n }\n this.layoutService.setNavigationLoading(false);\n }\n}","import { InjectionToken } from '@angular/core';\nimport { UserManagerSettings } from 'oidc-client-ts';\n\nexport enum AXMAuthenticationTypes {\n UsernamePassword,\n UsernameEmailPassword,\n EmailPassword,\n MobilePassword,\n EmailCode,\n MobileCode,\n}\n\nexport const AXM_AUTH_CONFIG_TOKEN = new InjectionToken<AXMAuthConfigs>('app-module-auth-config', {\n providedIn: 'root',\n factory: () => {\n return AXMDefaultAuthConfigs;\n },\n});\n\nexport interface AXMAuthConfigs {\n type: AXMAuthenticationTypes;\n oidc_settings?: UserManagerSettings;\n end_url?: string;\n signinPage?: {\n description: string;\n slogan: string;\n };\n idleTimeout?: number;\n}\n\nexport const AXMDefaultAuthConfigs: AXMAuthConfigs = {\n type: AXMAuthenticationTypes.UsernamePassword,\n};\n\nexport function configAuthModule(config: Partial<AXMAuthConfigs> = AXMDefaultAuthConfigs): AXMAuthConfigs {\n return { ...AXMDefaultAuthConfigs, ...config };\n}\n","import { Route } from '@angular/router';\nexport const routes: Route[] = [\n {\n path: 'auth',\n children: [\n {\n path: '',\n pathMatch: 'full',\n redirectTo: 'login',\n },\n {\n path: '',\n loadComponent: () => import('./shared/layouts/master/master.layout').then((c) => c.AXPAuthMasterLayoutComponent),\n loadChildren: () => import('./login/login.module').then((c) => c.AXPSignInModule),\n },\n {\n path: '',\n loadComponent: () => import('./shared/layouts/master/master.layout').then((c) => c.AXPAuthMasterLayoutComponent),\n loadChildren: () => import('./two-factor/two-factor.module').then((c) => c.AXPTwoFactorModule),\n },\n {\n path: '',\n loadComponent: () => import('./shared/layouts/master/master.layout').then((c) => c.AXPAuthMasterLayoutComponent),\n loadChildren: () => import('./forgot/routes').then((c) => c),\n },\n {\n path: 'account',\n loadComponent: () => import('./shared/layouts/blank/blank.layout').then((c) => c.AXPAuthBlankLayoutComponent),\n loadChildren: () => import('./account/account.module').then((c) => c.AXPAccountModule),\n },\n // {\n // path: '',\n // loadComponent: () =>\n // import('./shared/layouts/master/master.layout').then((c) => c.AXPAuthMasterLayoutComponent),\n // loadChildren: () => import('./register/register.module').then((c) => c.AXPRegisterModule),\n // },\n ],\n },\n];\n","import { Injectable, inject } from '@angular/core';\nimport { Subject, Observable, timer, Subscription } from 'rxjs';\nimport { startWith, switchMap, tap } from 'rxjs/operators';\nimport { AXM_AUTH_CONFIG_TOKEN } from '../../auth.config';\n\n@Injectable({ providedIn: 'root' })\nexport class AXPIdleService {\n private configs = inject(AXM_AUTH_CONFIG_TOKEN);\n private idle$ = new Subject<void>();\n private timeoutDuration = this.configs.idleTimeout ?? 10 * 60 * 1000;\n private userActivity$ = new Subject<void>();\n private idleSubscription: Subscription | null = null;\n\n constructor() {\n this.setupActivityListeners();\n }\n\n get idleState$(): Observable<void> {\n return this.idle$.asObservable();\n }\n\n private setupActivityListeners() {\n const activityEvents = ['mousemove', 'keydown', 'wheel'];\n activityEvents.forEach(event =>\n document.addEventListener(event, () => this.resetTimer())\n );\n }\n\n startWatching() {\n this.stopWatching(); // Stop any existing subscription\n this.idleSubscription = this.userActivity$.pipe(\n startWith(null),\n switchMap(() => timer(this.timeoutDuration)),\n tap(() => this.idle$.next()),\n ).subscribe();\n }\n\n resetTimer() {\n this.userActivity$.next();\n }\n\n stopWatching() {\n if (this.idleSubscription) {\n this.idleSubscription.unsubscribe();\n this.idleSubscription = null;\n }\n }\n}\n","import { AXDialogButtonItem, AXDialogService } from \"@acorex/components/dialog\";\nimport { AXPSessionService } from \"@acorex/platform/auth\";\nimport { AXPSignInAction, AXPSignOutAction } from \"@acorex/platform/common\";\nimport { Injectable, inject } from \"@angular/core\";\nimport { Router } from \"@angular/router\";\nimport { Actions, createEffect, ofType } from \"@ngrx/effects\";\nimport { of, switchMap, tap } from \"rxjs\";\nimport { AXPIdleService } from \"../shared/services\";\nimport { AXM_AUTH_CONFIG_TOKEN } from \"../auth.config\";\n\n@Injectable()\nexport class AXPAuthEffects {\n\n private configs = inject(AXM_AUTH_CONFIG_TOKEN);\n private sessionService = inject(AXPSessionService);\n private idleService = inject(AXPIdleService);\n private dialogService = inject(AXDialogService);\n private dialogAlreadyOpen = false;\n\n constructor(private actions$: Actions, private router: Router) { }\n\n signout$ = createEffect(\n () =>\n this.actions$.pipe(\n ofType(AXPSignOutAction),\n switchMap((action) => {\n this.idleService.stopWatching();\n this.router.navigate(['/auth/login']);\n return of();\n })\n ),\n { dispatch: false }\n );\n\n signin$ = createEffect(\n () =>\n this.actions$.pipe(\n ofType(AXPSignInAction),\n switchMap((action) => {\n if (this.configs.idleTimeout) {\n this.idleService.startWatching();\n }\n return of();\n })\n ),\n { dispatch: false }\n );\n\n\n idle$ = createEffect(\n () =>\n this.idleService.idleState$.pipe(\n tap(() => {\n if (!this.dialogAlreadyOpen) {\n let time = 60;\n let intervalId: number;\n const buttonText = (time: number) => `Stay Sign In (${time})`;\n const stayButton: AXDialogButtonItem = {\n text: buttonText(time),\n color: 'primary',\n autofocus: true,\n onClick: () => {\n this.idleService.resetTimer();\n dialog.close();\n this.dialogAlreadyOpen = false;\n clearInterval(intervalId);\n }\n }\n const dialog = this.dialogService.open({\n title: \"Session Timeout\",\n content: \"You're being timed out due to inactivity. Please choose to stay signed in or to sign off. Otherwise, you will signed off automatically.\",\n type: 'warning',\n buttons: [\n {\n text: \"Sign Off\",\n color: 'ghost',\n onClick: async () => {\n await this.sessionService.signout();\n dialog.close();\n this.dialogAlreadyOpen = false;\n clearInterval(intervalId);\n }\n },\n stayButton,\n ]\n });\n this.dialogAlreadyOpen = true;\n // Automatically close dialog and sign out after additional time\n intervalId = setInterval(() => {\n if (time > 0) {\n stayButton.text = buttonText(--time);\n } else {\n clearInterval(intervalId);\n this.sessionService.signout();\n dialog.close();\n this.dialogAlreadyOpen = false;\n }\n }, 1000);\n //\n }\n })\n ),\n { dispatch: false }\n );\n\n}\n","export * from './auth.effects';\n//export * from './auth.actions';","import { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXPApplication, AXPSessionService } from '@acorex/platform/auth';\nimport { AXPLogoComponent } from '@acorex/platform/layouts';\nimport { CommonModule } from '@angular/common';\nimport { Component, inject } from '@angular/core';\nimport { Router } from '@angular/router';\n\n@Component({\n selector: 'axp-app-chooser-list',\n templateUrl: 'app-chooser-list.component.html',\n standalone: true,\n imports: [CommonModule, AXDecoratorModule, AXPLogoComponent, AXLoadingModule],\n})\nexport class AXPAppChooserListComponent {\n private router = inject(Router);\n private sessionService = inject(AXPSessionService);\n\n protected selectedApplication: AXPApplication | null = null;\n protected applications$ = this.sessionService.applications$;\n\n async chooseApplication(item: AXPApplication) {\n this.selectedApplication = item;\n await this.sessionService.setApplication(item);\n this.router.navigate([`/${item.name}/home`]);\n }\n}\n","<div class=\" ax-w-full ax-overflow-auto ax-max-h-[300px] ax-pe-2\">\n @for(application of (applications$ | async); track $index){\n <div class=\"ax-flex ax-gap-2 ax-justify-between ax-border-b last:ax-border-b-0 ax-py-3 ax-items-start ax-cursor-pointer\"\n (click)=\"chooseApplication(application)\">\n <div class=\"ax-flex ax-flex-1 ax-gap-2 ax-items-center ax-justify-center ax-font-medium\">\n <div\n class=\"ax-w-12 ax-h-12 ax-flex ax-justify-center ax-items-center ax-rounded-full ax-bg-neutral-100 ax-m-auto\">\n <ax-icon class=\"fa-solid fa-computer ax-text-neutral-500 ax-text-lg\"> </ax-icon>\n <!-- TODO: logo instead of application icon -->\n <!-- <axp-logo [source]=\"application.logo\" [attr.alt]=\"application.title\"\n class=\"!ax-flex ax-items-center ax-justify-center !ax-text-sm ax-mx-auto ax-w-10 ax-h-10 ax-bg-neutral-200 ax-rounded-full\"></axp-logo> -->\n </div>\n <span class=\"ax-flex-1 ax-text-start md:ax-text-base ax-text-sm\">{{ application.title }}</span>\n <span class=\"ax-text-gray-500 md:ax-text-sm ax-text-xs\">{{application.editionName}}</span>\n @if(application.name===selectedApplication?.name){\n <ax-loading></ax-loading>\n }@else {\n <ax-icon class=\"fa-solid fa-chevron-right ax-text-neutral-400\"> </ax-icon>\n }\n </div>\n </div>\n }\n</div>","import { AXButtonModule } from \"@acorex/components/button\";\nimport { AXDecoratorModule } from \"@acorex/components/decorators\";\nimport { AXPopoverModule } from \"@acorex/components/popover\";\nimport { AXPApplication, AXPSessionService } from \"@acorex/platform/auth\";\nimport { AXPLogoComponent } from \"@acorex/platform/layouts\";\nimport { CommonModule } from \"@angular/common\";\nimport { Component, inject } from \"@angular/core\";\nimport { Router } from \"@angular/router\";\nimport { AXPAppChooserListComponent } from \"./app-chooser-list.component\";\nimport { of } from \"rxjs\";\n\n@Component({\n templateUrl: './app-chooser-slot.component.html',\n standalone: true,\n imports: [\n CommonModule,\n AXButtonModule,\n AXPopoverModule,\n AXDecoratorModule,\n AXPLogoComponent,\n AXPAppChooserListComponent\n ]\n})\nexport class AXMAppChooserSlotComponent {\n private sessionService = inject(AXPSessionService);\n protected tenant$ = this.sessionService.tenant$;\n\n protected application$ = this.sessionService.application$;\n protected applications$ = of([]);\n\n private router = inject(Router);\n\n\n async chooseApplication(item: AXPApplication) {\n //await this.sessionService.selectApplication(item.name);\n this.router.navigate([`/${item.name}/home`]);\n }\n\n\n}","@if(((applications$ | async)?.length ?? 0) > 1)\n{\n<ax-button color=\"default\" look=\"blank\" #appChooser>\n <ax-icon>\n <i class=\"fa-solid fa-grid-2 ax-text-slate-400 dark:ax-text-slate-200\"></i>\n </ax-icon>\n</ax-button>\n<ax-popover [target]=\"appChooser\" [openOn]=\"'toggle'\" [closeOn]=\"'clickOut'\" [adaptivityEnabled]=\"true\">\n <div class=\"ax-bg-surface ax-border ax-overflow-hidden ax-rounded-md ax-shadow-md ax-w-full ax-min-w-64 ax-p-3\">\n <axp-app-chooser-list></axp-app-chooser-list>\n </div>\n</ax-popover>\n}","import { Component, inject } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { AXPSessionService } from '@acorex/platform/auth';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { CommonModule } from '@angular/common';\nimport { of } from 'rxjs';\n\n@Component({\n selector: 'axp-tenant-chooser-dropdown',\n templateUrl: 'tenant-chooser-dropdown.component.html',\n standalone: true,\n imports: [CommonModule, AXDecoratorModule]\n})\nexport class AXPTenantChooserDropdownComponent {\n\n private router = inject(Router);\n private sessionService = inject(AXPSessionService);\n protected tenants$ = of([]) // this.sessionService.tenants$;\n protected tenant = this.sessionService.tenant;\n\n tenantChooser() {\n this.router.navigate(['/auth/account/tenant-chooser']);\n }\n\n\n}","<ng-container *ngIf=\"tenants$ | async as tenants\">\n @if(tenants.length>1){\n <div (click)=\"tenantChooser()\"\n class=\"ax-flex ax-items-center ax-border ax-rounded-full ax-px-4 ax-py-1 ax-gap-2 ax-cursor-pointer\">\n <ax-icon class=\"fa-solid fa-building ax-text-neutral-500 ax-text-xs\"></ax-icon>\n <p class=\"ax-text-neutral-500 ax-text-sm ax-font-medium\">\n {{ tenant?.title }}\n </p>\n <ax-icon class=\"fa-regular fa-chevron-down ax-text-neutral-400\"></ax-icon>\n </div>\n }@else {\n <div class=\"ax-flex ax-items-center ax-border ax-rounded-full ax-px-4 ax-py-1 ax-gap-2 ax-cursor-pointer\">\n <ax-icon class=\"fa-solid fa-building ax-text-neutral-500\"></ax-icon>\n <p class=\"ax-text-neutral-500 ax-text-sm ax-font-medium\">\n {{ tenant?.title }}\n </p>\n </div>\n }\n</ng-container>","import { AXAvatarModule } from '@acorex/components/avatar';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXImageModule } from '@acorex/components/image';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXPopoverComponent, AXPopoverModule } from '@acorex/components/popover';\nimport { AXPSessionService } from '@acorex/platform/auth';\nimport { AXPDataProvider } from '@acorex/platform/common';\nimport { MockDataService } from '@acorex/platform/mocks';\nimport { CommonModule } from '@angular/common';\nimport { Component, ViewChild, inject } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { AXPTenantChooserDropdownComponent } from '../tenant-chooser/tenant-chooser-dropdown.component';\n\n@Component({\n templateUrl: './profile-slot.component.html',\n standalone: true,\n imports: [\n CommonModule,\n AXImageModule,\n AXAvatarModule,\n AXPopoverModule,\n AXButtonModule,\n AXDecoratorModule,\n AXPTenantChooserDropdownComponent,\n AXLoadingModule,\n ],\n})\nexport class AXMAuthProfileSlotComponent {\n private router = inject(Router);\n private sessionService = inject(AXPSessionService);\n private dataService = inject(AXPDataProvider, { optional: true });\n private mockerService = inject(MockDataService);\n\n constructor() {\n this.loadImage();\n }\n protected src!: string;\n protected user$ = this.sessionService.user$;\n protected tenant$ = this.sessionService.tenant$;\n\n protected isAuthenticated$ = this.sessionService.isAuthenticated$;\n\n @ViewChild('profilePopover') profilePopover!: AXPopoverComponent;\n\n editProfile() {\n this.router.navigate(['/asc/identity/e/user-info/0/view']);\n }\n\n async logOut() {\n await this.sessionService.signout();\n }\n\n toggleProfileMenu() {\n this.profilePopover.open();\n }\n\n protected handleSignIn() {\n this.router.navigate(['/auth/login']);\n }\n private async loadImage() {\n try {\n const url = this.sessionService.user?.avatar as string;\n if (url?.toLowerCase().startsWith(\"http\")) {\n this.src = url;\n }\n else if (this.sessionService.user?.avatar != 'null' && this.dataService) {\n //TODO: Remove dataService and mockService\n const blob = await this.dataService.viewFile(url, '');\n this.src = URL.createObjectURL(blob);\n } else {\n this.src = this.mockerService.avatar();\n }\n } catch (error) {\n console.error('Failed to load image by ID:', error);\n }\n }\n}\n","@if((isAuthenticated$ | async)) {\n<ax-avatar #avatar color=\"secondary\" [size]=\"32\" class=\"ax-cursor-pointer ax-ms-4\">\n <ax-image [src]=\"src\"></ax-image>\n</ax-avatar>\n<ax-popover [target]=\"avatar\" [openOn]=\"'toggle'\" [closeOn]=\"'clickOut'\">\n <div class=\"ax-bg-surface ax-border ax-border-default ax-rounded-md ax-shadow-md ax-w-full ax-min-w-64\">\n <div class=\"ax-flex ax-flex-col ax-items-center ax-p-4 ax-border-b\">\n <ax-avatar [size]=\"60\">\n <ax-image [src]=\"src\">\n <ax-loading></ax-loading>\n </ax-image>\n </ax-avatar>\n <div class=\"ax-flex ax-flex-col ax-items-center ax-justify-center ax-mt-2 ax-gap-1\">\n <div class=\"ax-text-base ax-font-bold\">{{ (user$ | async)?.title }}</div>\n <axp-tenant-chooser-dropdown></axp-tenant-chooser-dropdown>\n </div>\n </div>\n <div class=\"profile-menus ax-text-slate-500\">\n <!-- <ul>\n <li>\n <i class=\"fa-solid fa-folder-open\"></i>\n <span> Project Management </span>\n </li>\n <li>\n <i class=\"fa-solid fa-envelope-open-text\"></i>\n <span>Email Config</span>\n </li>\n <li>\n <i class=\"fa-solid fa-gear\"></i>\n <span>Setting</span>\n </li>\n </ul> -->\n <ul>\n <!-- <li>\n <i class=\"fa-solid fa-gem ax-text-primary-500\"></i>\n <span> Upgrade account </span>\n </li> -->\n <li (click)=\"editProfile()\">\n <i class=\"fa-solid fa-user\"></i>\n <span>Edit profile</span>\n </li>\n </ul>\n <ul>\n <li class=\"ax-text-danger-500\" (click)=\"logOut()\">\n <i class=\"fa-solid fa-arrow-right-from-bracket\"></i>\n <span>Logout</span>\n </li>\n </ul>\n </div>\n </div>\n</ax-popover>\n} @else {\n<ax-button color=\"default\" look=\"blank\" text=\"Sign Up / Sign In\" (click)=\"handleSignIn()\">\n <ax-icon>\n <i class=\"fa-solid fa-user ax-text-slate-400 dark:ax-text-slate-200\"></i>\n </ax-icon>\n</ax-button>\n}","import { AXPAuthGuard, AXPSessionService } from '@acorex/platform/auth';\nimport { inject, NgModule } from '@angular/core';\nimport { ActivatedRouteSnapshot, CanActivateFn, Router, RouterModule, RouterStateSnapshot, ROUTES, Routes } from '@angular/router';\nimport { firstValueFrom } from 'rxjs';\nimport { AXMAppChooserSlotComponent } from './app-chooser/app-chooser-slot.component';\nimport { AXMAuthProfileSlotComponent } from './profile/profile-slot.component';\nimport { AXPComponentSlotModule } from '@acorex/platform/layout';\n\n\nconst canActivateTenantChooser: CanActivateFn =\n async (route: ActivatedRouteSnapshot, state: RouterStateSnapshot) => {\n const sessionService = inject(AXPSessionService);\n const router = inject(Router);\n const tenants = await firstValueFrom(sessionService.tenants$);\n if (tenants.length == 0) {\n return router.createUrlTree(['/auth/login']);\n }\n if (tenants.length == 1) {\n await sessionService.setTenant(tenants[0]);\n return router.createUrlTree(['/auth/account/app-chooser']);\n }\n return true;\n };\n\n\nconst canActivateAppChooser: CanActivateFn =\n async (route: ActivatedRouteSnapshot, state: RouterStateSnapshot) => {\n const sessionService = inject(AXPSessionService);\n const router = inject(Router);\n const apps = await firstValueFrom(sessionService.applications$);\n if (apps.length == 0) {\n return router.createUrlTree(['/auth/login']);\n }\n if (apps.length == 1) {\n await sessionService.setApplication(apps[0])\n return router.createUrlTree([`/${apps[0].name}/home`]);\n }\n return true\n };\n\n\nfunction routesFacory() {\n let routes: Routes = [];\n routes = [\n {\n path: 'tenant-chooser',\n loadComponent: () =>\n import('./tenant-chooser/tenant-chooser.component').then(\n (c) => c.AXPAuthTenantChooserComponent\n ),\n canActivate: [AXPAuthGuard, canActivateTenantChooser]\n },\n {\n path: 'app-chooser',\n loadComponent: () =>\n import('./app-chooser/app-chooser.component').then((c) => c.AXPAuthAppChooserComponent),\n canActivate: [AXPAuthGuard, canActivateAppChooser]\n },\n ];\n return routes;\n}\n\n@NgModule({\n declarations: [],\n imports: [\n RouterModule,\n //\n AXPComponentSlotModule.forChild({\n \"header-end\": [\n {\n name: \"app-choser\",\n component: AXMAppChooserSlotComponent,\n },\n {\n name: \"profile\",\n component: AXMAuthProfileSlotComponent,\n },\n ]\n })\n ],\n exports: [],\n providers: [\n {\n provide: ROUTES,\n multi: true,\n useFactory: routesFacory,\n },\n ],\n})\nexport class AXPAccountModule { }\n","import { AXPCommonModule } from '@acorex/platform/common';\nimport { CommonModule } from '@angular/common';\nimport { HttpClientModule } from '@angular/common/http';\nimport { ModuleWithProviders, NgModule } from '@angular/core';\nimport { RouterModule } from '@angular/router';\nimport { EffectsModule } from '@ngrx/effects';\nimport { routes } from './auth.routes';\nimport { AXMAuthErrorHandler } from './error-handler';\nimport { AXPAuthEffects } from './store';\nimport { AXPAccountModule } from './account/account.module';\n\n\n@NgModule({\n imports: [\n CommonModule,\n AXPCommonModule.forChild({ errorHandlers: [AXMAuthErrorHandler] }),\n HttpClientModule,\n RouterModule.forChild(routes),\n EffectsModule.forFeature([AXPAuthEffects]),\n AXPAccountModule\n ],\n providers: [AXMAuthErrorHandler],\n})\nexport class AXMAuthModule {\n static forRoot(): ModuleWithProviders<AXMAuthModule> {\n return {\n ngModule: AXMAuthModule,\n providers: [],\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["switchMap","tap","i1","i2","i3","i4","i5","i6","i7"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQa,mBAAmB,CAAA;AADhC,IAAA,WAAA,GAAA;AAIY,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC;AACxB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;AACzC,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC;AAgCjC,KAAA;IA5BG,WAAW,CAAC,KAAY,EAAE,IAA0B,EAAA;AAChD,QAAA,IAAI,KAAK,YAAY,iBAAiB,EAAE;AACpC,YAAA,IAAI,KAAK,CAAC,MAAM,IAAI,GAAG,EAAE;gBACrB,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC;aACzC;AACI,iBAAA,IAAI,KAAK,CAAC,MAAM,IAAI,GAAG,EAAE;gBAC1B,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;aAClC;SACJ;AACI,aAAA,IAAI,KAAK,YAAY,oBAAoB,EAAE;AAC5C,YAAA,MAAM,WAAW,GAAG,KAAK,CAAC,IAAI,EAAE,WAAW,CAAC;AAC5C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P,YAAY;wBACZ,eAAe,CAAC,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC,mBAAmB,CAAC,EAAE,CAAC;wBAClE,gBAAgB;AAChB,wBAAA,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC;AAC7B,wBAAA,aAAa,CAAC,UAAU,CAAC,CAAC,cAAc,CAAC,CAAC;wBAC1C,gBAAgB;AACjB,qBAAA;oBACD,SAAS,EAAE,CAAC,mBAAmB,CAAC;AACjC,iBAAA,CAAA;;;ACtBD;;AAEG;;;;"}
|
@@ -1,72 +0,0 @@
|
|
1
|
-
import * as i0 from '@angular/core';
|
2
|
-
import { inject, Component, ViewEncapsulation } from '@angular/core';
|
3
|
-
import * as i3 from '@acorex/components/avatar';
|
4
|
-
import { AXAvatarModule } from '@acorex/components/avatar';
|
5
|
-
import { AXButtonModule } from '@acorex/components/button';
|
6
|
-
import { AXCheckBoxModule } from '@acorex/components/check-box';
|
7
|
-
import { AXDecoratorModule } from '@acorex/components/decorators';
|
8
|
-
import { AXFormModule } from '@acorex/components/form';
|
9
|
-
import * as i2 from '@acorex/components/image';
|
10
|
-
import { AXImageModule } from '@acorex/components/image';
|
11
|
-
import { AXLabelModule } from '@acorex/components/label';
|
12
|
-
import { AXLoadingModule } from '@acorex/components/loading';
|
13
|
-
import { AXTextBoxModule } from '@acorex/components/text-box';
|
14
|
-
import * as i6 from '@acorex/core/translation';
|
15
|
-
import { AXTranslationModule } from '@acorex/core/translation';
|
16
|
-
import { AXPSessionService } from '@acorex/platform/auth';
|
17
|
-
import { AXP_PLATFORM_CONFIG_TOKEN } from '@acorex/platform/common';
|
18
|
-
import { AXPLogoComponent } from '@acorex/platform/layouts';
|
19
|
-
import * as i1 from '@angular/common';
|
20
|
-
import { CommonModule } from '@angular/common';
|
21
|
-
import { Router } from '@angular/router';
|
22
|
-
import { b as AXPTenantChooserDropdownComponent, c as AXPAppChooserListComponent } from './acorex-modules-auth-acorex-modules-auth-jEqtVhBE.mjs';
|
23
|
-
import { of } from 'rxjs';
|
24
|
-
import '@angular/common/http';
|
25
|
-
import '@ngrx/effects';
|
26
|
-
import '@acorex/components/dialog';
|
27
|
-
import 'rxjs/operators';
|
28
|
-
import '@acorex/components/popover';
|
29
|
-
import '@acorex/platform/mocks';
|
30
|
-
import '@acorex/platform/layout';
|
31
|
-
|
32
|
-
class AXPAuthAppChooserComponent {
|
33
|
-
constructor() {
|
34
|
-
this.router = inject(Router);
|
35
|
-
this.platformConfig = inject(AXP_PLATFORM_CONFIG_TOKEN);
|
36
|
-
this.sessionService = inject(AXPSessionService);
|
37
|
-
this.user = this.sessionService.user;
|
38
|
-
this.tenants$ = of([]); //this.sessionService.tenants$;
|
39
|
-
this.tenant = this.sessionService.tenant;
|
40
|
-
}
|
41
|
-
tenantChooser() {
|
42
|
-
this.router.navigate(['/auth/account/tenant-chooser']);
|
43
|
-
}
|
44
|
-
async handleSignout() {
|
45
|
-
await this.sessionService.signout();
|
46
|
-
this.router.navigate(['/auth/login']);
|
47
|
-
}
|
48
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPAuthAppChooserComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
49
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPAuthAppChooserComponent, isStandalone: true, selector: "axp-auth-app-chooser", ngImport: i0, template: "<main *translate=\"let t\"\n class=\"ax-w-full ax-space-y-10 ax-h-[100vh] ax-flex ax-flex-col ax-items-center ax-justify-center ax-bg-surface md:ax-bg-default\">\n <section>\n <axp-logo [source]=\"platformConfig.logo?.colored\" [attr.alt]=\"platformConfig.title\"\n class=\"ax-w-36 ax-mx-auto ax-text-2xl ax-font-bold\"></axp-logo>\n </section>\n <section class=\"ax-flex ax-justify-center\">\n <div\n class=\"ax-flex ax-gap-2 ax-justify-center ax-text-center ax-flex-col ax-items-center ax-border ax-rounded-lg ax-shadow-lg ax-p-6 md:ax-w-96 ax-w-80\">\n <ax-avatar class=\"ax-rounded-full\" [size]=\"72\">\n @if(user?.avatar){\n <ax-image [src]=\"user?.avatar\"></ax-image>\n }\n </ax-avatar>\n <h2 class=\"md:ax-text-lg ax-font-medium\">{{ t('welcome') | async }}, {{ user?.title }}</h2>\n <axp-tenant-chooser-dropdown></axp-tenant-chooser-dropdown>\n <p class=\"ax-text-neutral-500 ax-text-sm md:ax-text-base ax-font-medium\">\n {{ t('application-chooser.description', { scope: 'auth' }) | async }}\n </p>\n <div class=\"ax-mt-3 ax-w-full ax-overflow-auto ax-max-h-[300px] ax-pe-2\">\n <axp-app-chooser-list></axp-app-chooser-list>\n </div>\n </div>\n </section>\n <section>\n <p class=\"ax-text-neutral-400 ax-text-sm\">\n {{ t('application-chooser.footer', { scope: 'auth' }) | async }}\n <ng-container *ngIf=\"tenants$ | async as tenants\">\n @if(tenants.length > 1){\n <a (click)=\"tenantChooser()\" class=\"ax-text-primary-500 ax-cursor-pointer ax-font-medium hover:ax-underline\">\n {{ t('application-chooser.backCompany', { scope: 'auth' }) | async }}\n </a>\n } @else {\n <a (click)=\"handleSignout()\" class=\"ax-text-primary-500 ax-font-medium ax-cursor-pointer hover:ax-underline\">\n {{ t('backLogin', { scope: 'auth' }) | async }}\n </a>\n }\n </ng-container>\n </p>\n </section>\n</main>", styles: [".gradient{background:-webkit-linear-gradient(var(--ax-current-v1),var(--ax-current-v2));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXFormModule }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "ngmodule", type: AXLabelModule }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "ngmodule", type: AXAvatarModule }, { kind: "component", type: i3.AXAvatarComponent, selector: "ax-avatar", inputs: ["color", "size", "look"] }, { kind: "ngmodule", type: AXImageModule }, { kind: "component", type: i2.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: AXPLogoComponent, selector: "axp-logo", inputs: ["source"] }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i6.AXTranslatorDirective, selector: "[translate]" }, { kind: "component", type: AXPTenantChooserDropdownComponent, selector: "axp-tenant-chooser-dropdown" }, { kind: "component", type: AXPAppChooserListComponent, selector: "axp-app-chooser-list" }], encapsulation: i0.ViewEncapsulation.None }); }
|
50
|
-
}
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPAuthAppChooserComponent, decorators: [{
|
52
|
-
type: Component,
|
53
|
-
args: [{ selector: 'axp-auth-app-chooser', imports: [
|
54
|
-
CommonModule,
|
55
|
-
AXFormModule,
|
56
|
-
AXTextBoxModule,
|
57
|
-
AXButtonModule,
|
58
|
-
AXLabelModule,
|
59
|
-
AXCheckBoxModule,
|
60
|
-
AXAvatarModule,
|
61
|
-
AXImageModule,
|
62
|
-
AXDecoratorModule,
|
63
|
-
AXPLogoComponent,
|
64
|
-
AXLoadingModule,
|
65
|
-
AXTranslationModule,
|
66
|
-
AXPTenantChooserDropdownComponent,
|
67
|
-
AXPAppChooserListComponent
|
68
|
-
], encapsulation: ViewEncapsulation.None, standalone: true, template: "<main *translate=\"let t\"\n class=\"ax-w-full ax-space-y-10 ax-h-[100vh] ax-flex ax-flex-col ax-items-center ax-justify-center ax-bg-surface md:ax-bg-default\">\n <section>\n <axp-logo [source]=\"platformConfig.logo?.colored\" [attr.alt]=\"platformConfig.title\"\n class=\"ax-w-36 ax-mx-auto ax-text-2xl ax-font-bold\"></axp-logo>\n </section>\n <section class=\"ax-flex ax-justify-center\">\n <div\n class=\"ax-flex ax-gap-2 ax-justify-center ax-text-center ax-flex-col ax-items-center ax-border ax-rounded-lg ax-shadow-lg ax-p-6 md:ax-w-96 ax-w-80\">\n <ax-avatar class=\"ax-rounded-full\" [size]=\"72\">\n @if(user?.avatar){\n <ax-image [src]=\"user?.avatar\"></ax-image>\n }\n </ax-avatar>\n <h2 class=\"md:ax-text-lg ax-font-medium\">{{ t('welcome') | async }}, {{ user?.title }}</h2>\n <axp-tenant-chooser-dropdown></axp-tenant-chooser-dropdown>\n <p class=\"ax-text-neutral-500 ax-text-sm md:ax-text-base ax-font-medium\">\n {{ t('application-chooser.description', { scope: 'auth' }) | async }}\n </p>\n <div class=\"ax-mt-3 ax-w-full ax-overflow-auto ax-max-h-[300px] ax-pe-2\">\n <axp-app-chooser-list></axp-app-chooser-list>\n </div>\n </div>\n </section>\n <section>\n <p class=\"ax-text-neutral-400 ax-text-sm\">\n {{ t('application-chooser.footer', { scope: 'auth' }) | async }}\n <ng-container *ngIf=\"tenants$ | async as tenants\">\n @if(tenants.length > 1){\n <a (click)=\"tenantChooser()\" class=\"ax-text-primary-500 ax-cursor-pointer ax-font-medium hover:ax-underline\">\n {{ t('application-chooser.backCompany', { scope: 'auth' }) | async }}\n </a>\n } @else {\n <a (click)=\"handleSignout()\" class=\"ax-text-primary-500 ax-font-medium ax-cursor-pointer hover:ax-underline\">\n {{ t('backLogin', { scope: 'auth' }) | async }}\n </a>\n }\n </ng-container>\n </p>\n </section>\n</main>", styles: [".gradient{background:-webkit-linear-gradient(var(--ax-current-v1),var(--ax-current-v2));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}\n"] }]
|
69
|
-
}] });
|
70
|
-
|
71
|
-
export { AXPAuthAppChooserComponent };
|
72
|
-
//# sourceMappingURL=acorex-modules-auth-app-chooser.component-BbtMSwfI.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"acorex-modules-auth-app-chooser.component-BbtMSwfI.mjs","sources":["../../../../libs/modules/auth/src/lib/account/app-chooser/app-chooser.component.ts","../../../../libs/modules/auth/src/lib/account/app-chooser/app-chooser.component.html"],"sourcesContent":["import { Component, ViewEncapsulation, inject } from '@angular/core';\n\nimport { AXAvatarModule } from '@acorex/components/avatar';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXCheckBoxModule } from '@acorex/components/check-box';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXFormModule } from '@acorex/components/form';\nimport { AXImageModule } from '@acorex/components/image';\nimport { AXLabelModule } from '@acorex/components/label';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPSessionService } from '@acorex/platform/auth';\nimport { AXP_PLATFORM_CONFIG_TOKEN } from '@acorex/platform/common';\nimport { AXPLogoComponent } from '@acorex/platform/layouts';\nimport { CommonModule } from '@angular/common';\nimport { Router } from '@angular/router';\nimport { AXPTenantChooserDropdownComponent } from '../tenant-chooser/tenant-chooser-dropdown.component';\nimport { AXPAppChooserListComponent } from './app-chooser-list.component';\nimport { of } from 'rxjs';\n\n@Component({\n selector: 'axp-auth-app-chooser',\n templateUrl: './app-chooser.component.html',\n styleUrls: ['./app-chooser.component.scss'],\n imports: [\n CommonModule,\n AXFormModule,\n AXTextBoxModule,\n AXButtonModule,\n AXLabelModule,\n AXCheckBoxModule,\n AXAvatarModule,\n AXImageModule,\n AXDecoratorModule,\n AXPLogoComponent,\n AXLoadingModule,\n AXTranslationModule,\n AXPTenantChooserDropdownComponent,\n AXPAppChooserListComponent\n ],\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n})\nexport class AXPAuthAppChooserComponent {\n\n private router = inject(Router);\n protected platformConfig = inject(AXP_PLATFORM_CONFIG_TOKEN);\n private sessionService = inject(AXPSessionService);\n\n protected user = this.sessionService.user;\n protected tenants$ = of([])//this.sessionService.tenants$;\n protected tenant = this.sessionService.tenant;\n\n\n tenantChooser() {\n this.router.navigate(['/auth/account/tenant-chooser']);\n }\n\n async handleSignout() {\n await this.sessionService.signout();\n this.router.navigate(['/auth/login']);\n }\n\n\n}\n","<main *translate=\"let t\"\n class=\"ax-w-full ax-space-y-10 ax-h-[100vh] ax-flex ax-flex-col ax-items-center ax-justify-center ax-bg-surface md:ax-bg-default\">\n <section>\n <axp-logo [source]=\"platformConfig.logo?.colored\" [attr.alt]=\"platformConfig.title\"\n class=\"ax-w-36 ax-mx-auto ax-text-2xl ax-font-bold\"></axp-logo>\n </section>\n <section class=\"ax-flex ax-justify-center\">\n <div\n class=\"ax-flex ax-gap-2 ax-justify-center ax-text-center ax-flex-col ax-items-center ax-border ax-rounded-lg ax-shadow-lg ax-p-6 md:ax-w-96 ax-w-80\">\n <ax-avatar class=\"ax-rounded-full\" [size]=\"72\">\n @if(user?.avatar){\n <ax-image [src]=\"user?.avatar\"></ax-image>\n }\n </ax-avatar>\n <h2 class=\"md:ax-text-lg ax-font-medium\">{{ t('welcome') | async }}, {{ user?.title }}</h2>\n <axp-tenant-chooser-dropdown></axp-tenant-chooser-dropdown>\n <p class=\"ax-text-neutral-500 ax-text-sm md:ax-text-base ax-font-medium\">\n {{ t('application-chooser.description', { scope: 'auth' }) | async }}\n </p>\n <div class=\"ax-mt-3 ax-w-full ax-overflow-auto ax-max-h-[300px] ax-pe-2\">\n <axp-app-chooser-list></axp-app-chooser-list>\n </div>\n </div>\n </section>\n <section>\n <p class=\"ax-text-neutral-400 ax-text-sm\">\n {{ t('application-chooser.footer', { scope: 'auth' }) | async }}\n <ng-container *ngIf=\"tenants$ | async as tenants\">\n @if(tenants.length > 1){\n <a (click)=\"tenantChooser()\" class=\"ax-text-primary-500 ax-cursor-pointer ax-font-medium hover:ax-underline\">\n {{ t('application-chooser.backCompany', { scope: 'auth' }) | async }}\n </a>\n } @else {\n <a (click)=\"handleSignout()\" class=\"ax-text-primary-500 ax-font-medium ax-cursor-p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IAAA,EAAA,iBAAiB,EACjB,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,gBAAgB,EAChB,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,CAAA,QAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,eAAe,EACf,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,mBAAmB,EACnB,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAC,EAAA,CAAA,qBAAA,EAAA,QAAA,EAAA,aAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,iCAAiC,wEACjC,0BAA0B,EAAA,QAAA,EAAA,sBAAA,EAAA,CAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;2FAKjB,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAvBtC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,sBAAsB,EAGvB,OAAA,EAAA;wBACP,YAAY;wBACZ,YAAY;wBACZ,eAAe;wBACf,cAAc;wBACd,aAAa;wBACb,gBAAgB;wBAChB,cAAc;wBACd,aAAa;wBACb,iBAAiB;wBACjB,gBAAgB;wBAChB,eAAe;wBACf,mBAAmB;wBACnB,iCAAiC;wBACjC,0BAA0B;AAC3B,qBAAA,EAAA,aAAA,EACc,iBAAiB,CAAC,IAAI,EAAA,UAAA,EACzB,IAAI,EAAA,QAAA,EAAA,48DAAA,EAAA,MAAA,EAAA,CAAA,kLAAA,CAAA,EAAA,CAAA;;;;;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"acorex-modules-auth-login.module-Drm4fC1I.mjs","sources":["../../../../libs/modules/auth/src/lib/login/login.module.ts"],"sourcesContent":["import { NgModule, inject } from '@angular/core';\nimport { ROUTES, RouterModule, Routes } from '@angular/router';\nimport { AXMAuthenticationTypes, AXM_AUTH_CONFIG_TOKEN } from '../auth.config';\n\nfunction routesFacory() {\n const val = inject(AXM_AUTH_CONFIG_TOKEN);\n let routes: Routes = [];\n routes = [\n {\n path: 'login',\n loadComponent: () => {\n if (\n [\n AXMAuthenticationTypes.UsernamePassword,\n AXMAuthenticationTypes.EmailPassword,\n AXMAuthenticationTypes.MobilePassword,\n ].includes(val.type)\n ) {\n return import('./password/password.component').then((c) => c.AXPLoginPasswordComponent);\n } else {\n return import('./password/password.component').then((c) => c.AXPLoginPasswordComponent);\n }\n },\n },\n ];\n return routes;\n}\n\n@NgModule({\n imports: [RouterModule],\n exports: [],\n providers: [\n {\n provide: ROUTES,\n multi: true,\n useFactory: routesFacory,\n },\n ],\n})\nexport class AXPSignInModule { }\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAIA,SAAS,YAAY,GAAA;AACnB,IAAA,MAAM,GAAG,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC;IAC1C,IAAI,MAAM,GAAW,EAAE,CAAC;AACxB,IAAA,MAAM,GAAG;AACP,QAAA;AACE,YAAA,IAAI,EAAE,OAAO;YACb,aAAa,EAAE,MAAK;gBAClB,IACE;AACE,oBAAA,sBAAsB,CAAC,gBAAgB;AACvC,oBAAA,sBAAsB,CAAC,aAAa;AACpC,oBAAA,sBAAsB,CAAC,cAAc;AACtC,iBAAA,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,EACpB;AACA,oBAAA,OAAO,OAAO,uDAA+B,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,yBAAyB,CAAC,CAAC;iBACzF;qBAAM;AACL,oBAAA,OAAO,OAAO,uDAA+B,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,yBAAyB,CAAC,CAAC;iBACzF;aACF;AACF,SAAA;KACF,CAAC;AACF,IAAA,OAAO,MAAM,CAAC;AAChB,CAAC;MAaY,eAAe,CAAA;8GAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAf,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YAVhB,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;AAUX,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,EARf,SAAA,EAAA;AACT,YAAA;AACE,gBAAA,OAAO,EAAE,MAAM;AACf,gBAAA,KAAK,EAAE,IAAI;AACX,gBAAA,UAAU,EAAE,YAAY;AACzB,aAAA;AACF,SAAA,EAAA,OAAA,EAAA,CARS,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAUX,eAAe,EAAA,UAAA,EAAA,CAAA;kBAX3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,SAAS,EAAE;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,MAAM;AACf,4BAAA,KAAK,EAAE,IAAI;AACX,4BAAA,UAAU,EAAE,YAAY;AACzB,yBAAA;AACF,qBAAA;AACF,iBAAA,CAAA;;;;;"}
|
@@ -1,39 +0,0 @@
|
|
1
|
-
import { AXP_PLATFORM_CONFIG_TOKEN } from '@acorex/platform/common';
|
2
|
-
import { AXPLogoComponent } from '@acorex/platform/layouts';
|
3
|
-
import * as i0 from '@angular/core';
|
4
|
-
import { inject, Component, ViewEncapsulation } from '@angular/core';
|
5
|
-
import * as i2 from '@angular/router';
|
6
|
-
import { RouterModule } from '@angular/router';
|
7
|
-
import { A as AXM_AUTH_CONFIG_TOKEN } from './acorex-modules-auth-acorex-modules-auth-jEqtVhBE.mjs';
|
8
|
-
import * as i1 from '@acorex/platform/layout';
|
9
|
-
import { AXPComponentSlotModule } from '@acorex/platform/layout';
|
10
|
-
import '@acorex/platform/auth';
|
11
|
-
import '@angular/common/http';
|
12
|
-
import '@angular/common';
|
13
|
-
import '@ngrx/effects';
|
14
|
-
import '@acorex/components/dialog';
|
15
|
-
import 'rxjs';
|
16
|
-
import 'rxjs/operators';
|
17
|
-
import '@acorex/components/button';
|
18
|
-
import '@acorex/components/decorators';
|
19
|
-
import '@acorex/components/popover';
|
20
|
-
import '@acorex/components/loading';
|
21
|
-
import '@acorex/components/avatar';
|
22
|
-
import '@acorex/components/image';
|
23
|
-
import '@acorex/platform/mocks';
|
24
|
-
|
25
|
-
class AXPAuthMasterLayoutComponent {
|
26
|
-
constructor() {
|
27
|
-
this.authConfig = inject(AXM_AUTH_CONFIG_TOKEN);
|
28
|
-
this.platformConfig = inject(AXP_PLATFORM_CONFIG_TOKEN);
|
29
|
-
}
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPAuthMasterLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
31
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPAuthMasterLayoutComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<div class=\"ax-w-full ax-h-full ax-flex\">\n <div class=\"ax-flex-1 ax-bg-surface ax-flex ax-flex-col ax-items-center ax-justify-between ax-py-12\">\n <router-outlet></router-outlet>\n <div class=\"ax-flex ax-justify-between\">\n <div class=\"auth-footer-links\">\n <axp-component-slot name=\"auth-footer-links\"></axp-component-slot>\n </div>\n </div>\n </div>\n <div class=\"ax-hidden lg:ax-flex ax-bg-primary-500 ax-flex-1 axp-auth-bk\">\n <div class=\"ax-flex ax-flex-col ax-text-primary-fore ax-justify-between ax-px-48 ax-py-20 ax-text-center\">\n <div>\n <axp-logo [source]=\"platformConfig.logo?.colored\" [attr.alt]=\"platformConfig.title\"\n class=\"ax-mx-auto ax-text-2xl\"></axp-logo>\n </div>\n <div>\n <p class=\"ax-font-black ax-text-4xl ax-mb-4\">\n {{authConfig.signinPage?.slogan}}\n </p>\n <p>\n {{authConfig.signinPage?.description}}\n </p>\n </div>\n </div>\n </div>\n</div>", styles: [".auth-footer-links{gap:1.25rem;font-size:.875rem;line-height:1.25rem;font-weight:600}.auth-footer-links a{color:rgba(var(--ax-color-primary-500));cursor:pointer}.auth-footer-links a:hover{text-decoration:underline}.auth-footer-links a:visited{color:rgba(var(--ax-color-primary-700))}\n"], dependencies: [{ kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i2.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "component", type: AXPLogoComponent, selector: "axp-logo", inputs: ["source"] }, { kind: "ngmodule", type: AXPComponentSlotModule }, { kind: "directive", type: i1.AXPComponentSlotDirective, selector: "axp-component-slot", inputs: ["name"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
32
|
-
}
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPAuthMasterLayoutComponent, decorators: [{
|
34
|
-
type: Component,
|
35
|
-
args: [{ imports: [RouterModule, AXPLogoComponent, AXPComponentSlotModule], standalone: true, encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-w-full ax-h-full ax-flex\">\n <div class=\"ax-flex-1 ax-bg-surface ax-flex ax-flex-col ax-items-center ax-justify-between ax-py-12\">\n <router-outlet></router-outlet>\n <div class=\"ax-flex ax-justify-between\">\n <div class=\"auth-footer-links\">\n <axp-component-slot name=\"auth-footer-links\"></axp-component-slot>\n </div>\n </div>\n </div>\n <div class=\"ax-hidden lg:ax-flex ax-bg-primary-500 ax-flex-1 axp-auth-bk\">\n <div class=\"ax-flex ax-flex-col ax-text-primary-fore ax-justify-between ax-px-48 ax-py-20 ax-text-center\">\n <div>\n <axp-logo [source]=\"platformConfig.logo?.colored\" [attr.alt]=\"platformConfig.title\"\n class=\"ax-mx-auto ax-text-2xl\"></axp-logo>\n </div>\n <div>\n <p class=\"ax-font-black ax-text-4xl ax-mb-4\">\n {{authConfig.signinPage?.slogan}}\n </p>\n <p>\n {{authConfig.signinPage?.description}}\n </p>\n </div>\n </div>\n </div>\n</div>", styles: [".auth-footer-links{gap:1.25rem;font-size:.875rem;line-height:1.25rem;font-weight:600}.auth-footer-links a{color:rgba(var(--ax-color-primary-500));cursor:pointer}.auth-footer-links a:hover{text-decoration:underline}.auth-footer-links a:visited{color:rgba(var(--ax-color-primary-700))}\n"] }]
|
36
|
-
}] });
|
37
|
-
|
38
|
-
export { AXPAuthMasterLayoutComponent };
|
39
|
-
//# sourceMappingURL=acorex-modules-auth-master.layout-cAm6TYeA.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"acorex-modules-auth-master.layout-cAm6TYeA.mjs","sources":["../../../../libs/modules/auth/src/lib/shared/layouts/master/master.layout.ts","../../../../libs/modules/auth/src/lib/shared/layouts/master/master.layout.html"],"sourcesContent":["import { AXP_PLATFORM_CONFIG_TOKEN } from '@acorex/platform/common';\nimport { AXPLogoComponent } from '@acorex/platform/layouts';\nimport { Component, ViewEncapsulation, inject } from '@angular/core';\nimport { RouterModule } from '@angular/router';\nimport { AXM_AUTH_CONFIG_TOKEN } from '../../../auth.config';\nimport { AXPComponentSlotModule } from '@acorex/platform/layout';\n\n@Component({\n templateUrl: 'master.layout.html',\n styleUrls: ['master.layout.scss'],\n imports: [RouterModule, AXPLogoComponent, AXPComponentSlotModule],\n standalone: true,\n encapsulation: ViewEncapsulation.None\n})\nexport class AXPAuthMasterLayoutComponent {\n protected authConfig = inject(AXM_AUTH_CONFIG_TOKEN);\n protected platformConfig = inject(AXP_PLATFORM_CONFIG_TOKEN);\n}\n","<div class=\"ax-w-full ax-h-full ax-flex\">\n <div class=\"ax-flex-1 ax-bg-surface ax-flex ax-flex-col ax-items-center ax-justify-between ax-py-12\">\n <router-outlet></router-outlet>\n <div class=\"ax-flex ax-justify-between\">\n <div class=\"auth-footer-links\">\n <axp-component-slot name=\"auth-footer-links\"></axp-component-slot>\n </div>\n </div>\n </div>\n <div class=\"ax-hidden lg:ax-flex ax-bg-primary-500 ax-flex-1 axp-auth-bk\">\n <div class=\"ax-flex ax-flex-col ax-text-primary-fore ax-justify-between ax-px-48 ax-py-20 ax-text-center\">\n <div>\n <axp-logo [source]=\"platformConfig.logo?.colored\" [attr.alt]=\"platformConfig.title\"\n class=\"ax-mx-auto ax-text-2xl\"></axp-logo>\n </div>\n <div>\n <p class=\"ax-font-black ax-text-4xl ax-mb-4\">\n {{authConfig.signinPage?.slogan}}\n </p>\n <p>\n {{authConfig.signinPage?.description}}\n </p>\n </div>\n </div>\n </div>\n</div>"],"names":["i1","i2"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;MAca,4BAA4B,CAAA;AAPzC,IAAA,WAAA,GAAA;AAQY,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC;AAC3C,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,yBAAyB,CAAC,CAAC;AAC9D,KAAA;8GAHY,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA5B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,4BAA4B,wECdzC,w/BAyBM,EAAA,MAAA,EAAA,CAAA,+RAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDfM,YAAY,EAAE,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,EAAA,CAAA,YAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,MAAA,CAAA,EAAA,OAAA,EAAA,CAAA,UAAA,EAAA,YAAA,EAAA,QAAA,EAAA,QAAA,CAAA,EAAA,QAAA,EAAA,CAAA,QAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,gBAAgB,wEAAE,sBAAsB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAC,EAAA,CAAA,yBAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,MAAA,CAAA,EAAA,CAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;2FAIrD,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBAPxC,SAAS;8BAGC,CAAC,YAAY,EAAE,gBAAgB,EAAE,sBAAsB,CAAC,EAAA,UAAA,EACrD,IAAI,EAAA,aAAA,EACD,iBAAiB,CAAC,IAAI,EAAA,QAAA,EAAA,w/BAAA,EAAA,MAAA,EAAA,CAAA,+RAAA,CAAA,EAAA,CAAA;;;;;"}
|
@@ -1,74 +0,0 @@
|
|
1
|
-
import * as i2$1 from '@acorex/components/button';
|
2
|
-
import { AXButtonModule } from '@acorex/components/button';
|
3
|
-
import { AXCheckBoxModule } from '@acorex/components/check-box';
|
4
|
-
import * as i2 from '@acorex/components/form';
|
5
|
-
import { AXFormModule } from '@acorex/components/form';
|
6
|
-
import * as i6 from '@acorex/components/label';
|
7
|
-
import { AXLabelModule } from '@acorex/components/label';
|
8
|
-
import { AXPasswordBoxModule } from '@acorex/components/password-box';
|
9
|
-
import * as i3 from '@acorex/components/text-box';
|
10
|
-
import { AXTextBoxModule } from '@acorex/components/text-box';
|
11
|
-
import * as i6$1 from '@acorex/core/translation';
|
12
|
-
import { AXTranslationModule } from '@acorex/core/translation';
|
13
|
-
import * as i1 from '@angular/common';
|
14
|
-
import { CommonModule } from '@angular/common';
|
15
|
-
import * as i0 from '@angular/core';
|
16
|
-
import { inject, Component } from '@angular/core';
|
17
|
-
import * as i2$2 from '@angular/router';
|
18
|
-
import { RouterModule } from '@angular/router';
|
19
|
-
import { A as AXM_AUTH_CONFIG_TOKEN, a as AXMAuthenticationTypes } from './acorex-modules-auth-acorex-modules-auth-jEqtVhBE.mjs';
|
20
|
-
import '@acorex/platform/auth';
|
21
|
-
import '@angular/common/http';
|
22
|
-
import '@acorex/platform/layouts';
|
23
|
-
import '@acorex/platform/common';
|
24
|
-
import '@ngrx/effects';
|
25
|
-
import '@acorex/components/dialog';
|
26
|
-
import 'rxjs';
|
27
|
-
import 'rxjs/operators';
|
28
|
-
import '@acorex/components/decorators';
|
29
|
-
import '@acorex/components/popover';
|
30
|
-
import '@acorex/components/loading';
|
31
|
-
import '@acorex/components/avatar';
|
32
|
-
import '@acorex/components/image';
|
33
|
-
import '@acorex/platform/mocks';
|
34
|
-
import '@acorex/platform/layout';
|
35
|
-
|
36
|
-
const MODULES = [
|
37
|
-
CommonModule,
|
38
|
-
AXFormModule,
|
39
|
-
AXTextBoxModule,
|
40
|
-
AXPasswordBoxModule,
|
41
|
-
AXButtonModule,
|
42
|
-
AXLabelModule,
|
43
|
-
AXCheckBoxModule,
|
44
|
-
AXTranslationModule,
|
45
|
-
RouterModule,
|
46
|
-
];
|
47
|
-
class AXPForgetPasswordComponent {
|
48
|
-
constructor() {
|
49
|
-
this.configs = inject(AXM_AUTH_CONFIG_TOKEN);
|
50
|
-
}
|
51
|
-
ngOnInit() {
|
52
|
-
this.l2 = 'password';
|
53
|
-
switch (this.configs.type) {
|
54
|
-
case AXMAuthenticationTypes.EmailPassword:
|
55
|
-
this.l1 = 'email';
|
56
|
-
break;
|
57
|
-
case AXMAuthenticationTypes.MobilePassword:
|
58
|
-
this.l1 = 'mobile';
|
59
|
-
break;
|
60
|
-
case AXMAuthenticationTypes.UsernamePassword:
|
61
|
-
default:
|
62
|
-
this.l1 = 'username';
|
63
|
-
}
|
64
|
-
}
|
65
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPForgetPasswordComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
66
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPForgetPasswordComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<div class=\"ax-text-center ax-mb-4\" *translate=\"let t\">\n <h1 class=\"ax-font-bold ax-text-xl ax-mb-2\">{{ t('forgot.password',{scope:'auth'}) | async }}</h1>\n <p class=\"ax-text-base ax-text-neutral-600\">\n {{ t('forgot.hint',{ scope:'auth', params:{ name:(t(l1,{scope:'auth'}) | async) } }) | async }}\n </p>\n</div>\n<div class=\"ax-w-80 lg:ax-w-96\" *translate=\"let t\">\n <ax-form>\n <div class=\"ax-flex ax-flex-col ax-gap-6\">\n <ax-form-field>\n <ax-label>{{ t(l1,{scope:'auth'}) | async }}</ax-label>\n <ax-text-box></ax-text-box>\n </ax-form-field>\n </div>\n <ax-button color=\"primary\" class=\"ax-mt-6 ax-w-full\" [text]=\"t('forgot.submit',{scope:'auth'}) | async\"></ax-button>\n <div class=\"ax-text-center ax-mt-6 ax-text-sm ax-font-normal\">\n <span> {{ t('forgot.remember',{scope:'auth'}) | async}} </span>\n <a [routerLink]=\"['/auth/login']\" class=\"ax-link ax-font-semibold\">{{ t('signin.title',{scope:'auth'}) |\n async }}</a>\n </div>\n </ax-form>\n</div>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i2.AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "component", type: i2.AXFormComponent, selector: "ax-form", inputs: ["labelMode", "messageStyle", "updateOn"], outputs: ["onValidate", "updateOnChange"] }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i3.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXPasswordBoxModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2$1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i6.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i6$1.AXTranslatorDirective, selector: "[translate]" }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i2$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] }); }
|
67
|
-
}
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPForgetPasswordComponent, decorators: [{
|
69
|
-
type: Component,
|
70
|
-
args: [{ imports: [...MODULES], standalone: true, template: "<div class=\"ax-text-center ax-mb-4\" *translate=\"let t\">\n <h1 class=\"ax-font-bold ax-text-xl ax-mb-2\">{{ t('forgot.password',{scope:'auth'}) | async }}</h1>\n <p class=\"ax-text-base ax-text-neutral-600\">\n {{ t('forgot.hint',{ scope:'auth', params:{ name:(t(l1,{scope:'auth'}) | async) } }) | async }}\n </p>\n</div>\n<div class=\"ax-w-80 lg:ax-w-96\" *translate=\"let t\">\n <ax-form>\n <div class=\"ax-flex ax-flex-col ax-gap-6\">\n <ax-form-field>\n <ax-label>{{ t(l1,{scope:'auth'}) | async }}</ax-label>\n <ax-text-box></ax-text-box>\n </ax-form-field>\n </div>\n <ax-button color=\"primary\" class=\"ax-mt-6 ax-w-full\" [text]=\"t('forgot.submit',{scope:'auth'}) | async\"></ax-button>\n <div class=\"ax-text-center ax-mt-6 ax-text-sm ax-font-normal\">\n <span> {{ t('forgot.remember',{scope:'auth'}) | async}} </span>\n <a [routerLink]=\"['/auth/login']\" class=\"ax-link ax-font-semibold\">{{ t('signin.title',{scope:'auth'}) |\n async }}</a>\n </div>\n </ax-form>\n</div>" }]
|
71
|
-
}] });
|
72
|
-
|
73
|
-
export { AXPForgetPasswordComponent };
|
74
|
-
//# sourceMappingURL=acorex-modules-auth-password.component-Ch2Wqi2W.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"acorex-modules-auth-password.component-Ch2Wqi2W.mjs","sources":["../../../../libs/modules/auth/src/lib/forgot/password/password.component.ts","../../../../libs/modules/auth/src/lib/forgot/password/password.component.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXCheckBoxModule } from '@acorex/components/check-box';\nimport { AXFormModule } from '@acorex/components/form';\nimport { AXLabelModule } from '@acorex/components/label';\nimport { AXPasswordBoxModule } from '@acorex/components/password-box';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { CommonModule } from '@angular/common';\nimport { Component, OnInit, inject } from '@angular/core';\nimport { RouterModule } from '@angular/router';\nimport { AXMAuthConfigs, AXMAuthenticationTypes, AXM_AUTH_CONFIG_TOKEN } from '../../auth.config';\n\nconst MODULES = [\n CommonModule,\n AXFormModule,\n AXTextBoxModule,\n AXPasswordBoxModule,\n AXButtonModule,\n AXLabelModule,\n AXCheckBoxModule,\n AXTranslationModule,\n RouterModule,\n];\n\n@Component({\n templateUrl: './password.component.html',\n imports: [...MODULES],\n standalone: true,\n})\nexport class AXPForgetPasswordComponent implements OnInit {\n protected l1!: string;\n protected l2!: string;\n\n protected configs: AXMAuthConfigs = inject<AXMAuthConfigs>(AXM_AUTH_CONFIG_TOKEN);\n\n ngOnInit(): void {\n this.l2 = 'password';\n switch (this.configs.type) {\n case AXMAuthenticationTypes.EmailPassword:\n this.l1 = 'email';\n break;\n case AXMAuthenticationTypes.MobilePassword:\n this.l1 = 'mobile';\n\n break;\n case AXMAuthenticationTypes.UsernamePassword:\n default:\n this.l1 = 'username';\n }\n }\n}\n","<div class=\"ax-text-center ax-mb-4\" *translate=\"let t\">\n <h1 class=\"ax-font-bold ax-text-xl ax-mb-2\">{{ t('forgot.password',{scope:'auth'}) | async }}</h1>\n <p class=\"ax-text-base ax-text-neutral-600\">\n {{ t('forgot.hint',{ scope:'auth', params:{ name:(t(l1,{scope:'auth'}) | async) } }) | async }}\n </p>\n</div>\n<div class=\"ax-w-80 lg:ax-w-96\" *translate=\"let t\">\n <ax-form>\n <div class=\"ax-flex ax-flex-col ax-gap-6\">\n <ax-form-field>\n <ax-label>{{ t(l1,{scope:'auth'}) | async }}</ax-label>\n <ax-text-box></ax-text-box>\n </ax-form-field>\n </div>\n <ax-button color=\"primary\" class=\"ax-mt-6 ax-w-full\" [text]=\"t('forgot.submit',{scope:'auth'}) | async\"></ax-button>\n <div class=\"ax-text-center ax-mt-6 ax-text-sm ax-font-normal\">\n <span> {{ t('forgot.remember',{scope:'auth'}) | async}} </span>\n <a [routerLink]=\"['/auth/login']\" class=\"ax-link ax-font-semibold\">{{ t('signin.title',{scope:'auth'}) |\n async }}</a>\n </div>\n </ax-form>\n</div>"],"names":["i5","i7"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,MAAM,OAAO,GAAG;I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