@acorex/modules 18.1.3 → 18.1.5
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/backend/lib/data/api/comment.mock.service.d.ts +62 -0
- package/backend/lib/data/api/notification.mock.service.d.ts +34 -0
- package/backend/lib/data/index.d.ts +1 -0
- package/esm2022/application-management/lib/application-management.service.mjs +3 -3
- package/esm2022/application-management/lib/module-designer/module-designer.component.mjs +1 -1
- package/esm2022/auth/lib/account/profile/profile-slot.component.mjs +3 -3
- package/esm2022/backend/lib/backend.module.mjs +11 -1
- package/esm2022/backend/lib/data/api/comment.mock.service.mjs +142 -0
- package/esm2022/backend/lib/data/api/notification.mock.service.mjs +71 -0
- package/esm2022/backend/lib/data/index.mjs +2 -1
- package/esm2022/form-management/lib/form-management.module.mjs +5 -4
- package/esm2022/language-management/acorex-modules-language-management.mjs +5 -0
- package/esm2022/language-management/index.mjs +2 -0
- package/esm2022/language-management/lib/entities/language.entity.mjs +242 -0
- package/esm2022/language-management/lib/language-management.module.mjs +39 -0
- package/esm2022/language-management/lib/notification-management.service.mjs +23 -0
- package/esm2022/notification-management/acorex-modules-notification-management.mjs +5 -0
- package/esm2022/notification-management/index.mjs +7 -0
- package/esm2022/notification-management/lib/admin-notification-slot/admin-notification-item/admin-notification-item.component.mjs +47 -0
- package/esm2022/notification-management/lib/admin-notification-slot/admin-notification-panel/admin-notification-panel.component.mjs +131 -0
- package/esm2022/notification-management/lib/admin-notification-slot/admin-notification-slot/admin-notification-slot.component.mjs +36 -0
- package/esm2022/notification-management/lib/entities/notification-channel.entity.mjs +345 -0
- package/esm2022/notification-management/lib/entities/notification-template.entity.mjs +298 -0
- package/esm2022/notification-management/lib/entities/notification.entity.mjs +207 -0
- package/esm2022/notification-management/lib/notification-management-mock-data.mjs +55 -0
- package/esm2022/notification-management/lib/notification-management.module.mjs +66 -0
- package/esm2022/notification-management/lib/notification-management.service.mjs +39 -0
- package/esm2022/notification-management/lib/notification-management.type.mjs +2 -0
- package/esm2022/notification-management/lib/notification.service.mjs +3 -0
- package/esm2022/template-management/acorex-modules-template-management.mjs +5 -0
- package/esm2022/template-management/index.mjs +4 -0
- package/esm2022/template-management/lib/entities/global-template.entity.mjs +298 -0
- package/esm2022/template-management/lib/entities/template-variable.entity.mjs +304 -0
- package/esm2022/template-management/lib/template-management-mock-data.mjs +11 -0
- package/esm2022/template-management/lib/template-management.module.mjs +45 -0
- package/esm2022/template-management/lib/template-management.service.mjs +24 -0
- package/fesm2022/{acorex-modules-application-management-module-designer.component-C-lY0Apl.mjs → acorex-modules-application-management-module-designer.component-CFLXuP2G.mjs} +2 -2
- package/fesm2022/{acorex-modules-application-management-module-designer.component-C-lY0Apl.mjs.map → acorex-modules-application-management-module-designer.component-CFLXuP2G.mjs.map} +1 -1
- package/fesm2022/acorex-modules-application-management.mjs +3 -3
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-4OzzidjS.mjs → acorex-modules-auth-acorex-modules-auth-iGiPFEeb.mjs} +10 -10
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-iGiPFEeb.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-CHTEeWgx.mjs → acorex-modules-auth-app-chooser.component-BB3SIzCP.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-CHTEeWgx.mjs.map → acorex-modules-auth-app-chooser.component-BB3SIzCP.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-blank.layout-Bq822Iz4.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-DMit4yw0.mjs → acorex-modules-auth-login.module-ChEv9c5I.mjs} +4 -4
- package/fesm2022/acorex-modules-auth-login.module-ChEv9c5I.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-master.layout-BCYIjTB0.mjs → acorex-modules-auth-master.layout-CZv3BD5c.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-BCYIjTB0.mjs.map → acorex-modules-auth-master.layout-CZv3BD5c.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-WA-CA0Ln.mjs → acorex-modules-auth-password.component-CPWiBXdG.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-WA-CA0Ln.mjs.map → acorex-modules-auth-password.component-CPWiBXdG.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-D16ms36y.mjs → acorex-modules-auth-password.component-CxZ1weks.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-D16ms36y.mjs.map → acorex-modules-auth-password.component-CxZ1weks.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-C3ye31RS.mjs → acorex-modules-auth-routes-C7r2Jm6s.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-C3ye31RS.mjs.map → acorex-modules-auth-routes-C7r2Jm6s.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-CHr5_kh7.mjs.map +1 -1
- package/fesm2022/acorex-modules-auth-two-factor-code.component-B_7l39pX.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-CkZCBo0B.mjs → acorex-modules-auth-two-factor.module-BgkJYe7T.mjs} +2 -2
- package/fesm2022/acorex-modules-auth-two-factor.module-BgkJYe7T.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-backend.mjs +218 -2
- package/fesm2022/acorex-modules-backend.mjs.map +1 -1
- package/fesm2022/acorex-modules-form-management-designer.page-SoPH2V7i.mjs.map +1 -1
- package/fesm2022/acorex-modules-form-management.mjs +4 -3
- package/fesm2022/acorex-modules-form-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-language-management-language.entity-CwD5FHGc.mjs +266 -0
- package/fesm2022/acorex-modules-language-management-language.entity-CwD5FHGc.mjs.map +1 -0
- package/fesm2022/acorex-modules-language-management.mjs +46 -0
- package/fesm2022/acorex-modules-language-management.mjs.map +1 -0
- package/fesm2022/acorex-modules-notification-management.mjs +1203 -0
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -0
- package/fesm2022/acorex-modules-template-management.mjs +690 -0
- package/fesm2022/acorex-modules-template-management.mjs.map +1 -0
- package/form-management/lib/form-management.module.d.ts +2 -1
- package/language-management/README.md +3 -0
- package/language-management/index.d.ts +1 -0
- package/language-management/lib/entities/language.entity.d.ts +3 -0
- package/language-management/lib/language-management.module.d.ts +12 -0
- package/language-management/lib/notification-management.service.d.ts +9 -0
- package/notification-management/README.md +3 -0
- package/notification-management/index.d.ts +6 -0
- package/notification-management/lib/admin-notification-slot/admin-notification-item/admin-notification-item.component.d.ts +14 -0
- package/notification-management/lib/admin-notification-slot/admin-notification-panel/admin-notification-panel.component.d.ts +30 -0
- package/notification-management/lib/admin-notification-slot/admin-notification-slot/admin-notification-slot.component.d.ts +7 -0
- package/notification-management/lib/entities/notification-channel.entity.d.ts +3 -0
- package/notification-management/lib/entities/notification-template.entity.d.ts +3 -0
- package/notification-management/lib/entities/notification.entity.d.ts +3 -0
- package/notification-management/lib/notification-management-mock-data.d.ts +41 -0
- package/notification-management/lib/notification-management.module.d.ts +13 -0
- package/notification-management/lib/notification-management.service.d.ts +15 -0
- package/notification-management/lib/notification-management.type.d.ts +42 -0
- package/notification-management/lib/notification.service.d.ts +7 -0
- package/package.json +23 -11
- package/template-management/README.md +3 -0
- package/template-management/index.d.ts +3 -0
- package/template-management/lib/entities/global-template.entity.d.ts +3 -0
- package/template-management/lib/entities/template-variable.entity.d.ts +3 -0
- package/template-management/lib/template-management-mock-data.d.ts +7 -0
- package/template-management/lib/template-management.module.d.ts +12 -0
- package/template-management/lib/template-management.service.d.ts +9 -0
- package/esm2022/notification/acorex-modules-notification.mjs +0 -5
- package/esm2022/notification/index.mjs +0 -4
- package/esm2022/notification/lib/notification.module.mjs +0 -16
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-4OzzidjS.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-login.module-DMit4yw0.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-two-factor.module-CkZCBo0B.mjs.map +0 -1
- package/fesm2022/acorex-modules-notification.mjs +0 -26
- package/fesm2022/acorex-modules-notification.mjs.map +0 -1
- package/notification/README.md +0 -4
- package/notification/index.d.ts +0 -1
- package/notification/lib/notification.module.d.ts +0 -6
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-modules-template-management.mjs","sources":["../../../../libs/modules/template-management/src/lib/template-management.module.ts","../../../../libs/modules/template-management/src/lib/template-management-mock-data.ts","../../../../libs/modules/template-management/src/lib/template-management.service.ts","../../../../libs/modules/template-management/src/lib/entities/global-template.entity.ts","../../../../libs/modules/template-management/src/lib/entities/template-variable.entity.ts","../../../../libs/modules/template-management/src/acorex-modules-template-management.ts"],"sourcesContent":["import { AXPEntityDefinitionRegistryService } from '@acorex/platform/layout/entity';\nimport { Inject, Injector, ModuleWithProviders, NgModule, Optional } from '@angular/core';\n\n@NgModule({\n imports: [],\n exports: [],\n declarations: [],\n})\nexport class TemplateManagementModule {\n static forRoot(): ModuleWithProviders<TemplateManagementModule> {\n return {\n ngModule: TemplateManagementModule,\n providers: [\n {\n provide: 'AXP_REGISTER_TEMPLATE_GLOBAL',\n useFactory: async (entityRegistry: AXPEntityDefinitionRegistryService, injector: Injector) => {\n const globalTemplateEntity = await (\n await import('./entities/global-template.entity')\n ).globalTemplateEntityFactory(injector);\n entityRegistry.register(globalTemplateEntity as any);\n //\n\n const variableEntity = await (\n await import('./entities/template-variable.entity')\n ).templateVariableEntityFactory(injector);\n entityRegistry.register(variableEntity as any);\n //\n },\n deps: [AXPEntityDefinitionRegistryService, Injector], // Add any dependencies if needed\n },\n ],\n };\n }\n\n /**\n * @ignore\n */\n constructor(@Optional() @Inject('AXP_REGISTER_TEMPLATE_GLOBAL') instances: any[]) {}\n}\n","import { AXPDataGenerator } from '@acorex/platform/common';\n\nexport const GLOBAL_TEMPLATES = Array.from({ length: 5 }).map((_, i) => {\n const name = AXPDataGenerator.string;\n return {\n id: AXPDataGenerator.uuid(),\n name: name,\n title: name,\n content: AXPDataGenerator.string(200),\n };\n});\n","import { AXPEntityDataProviderImpl, AXPEntityStorageService } from '@acorex/platform/common';\nimport { Injectable, Injector } from '@angular/core';\nimport { GLOBAL_TEMPLATES } from './template-management-mock-data';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class TemplateManagementService {\n protected _globalTemplateDataProvider: any;\n\n constructor(injector: Injector) {\n const storageService = injector.get(AXPEntityStorageService);\n //\n this._globalTemplateDataProvider = new AXPEntityDataProviderImpl<any>(storageService, 'globalTemplate');\n this._globalTemplateDataProvider.initial(GLOBAL_TEMPLATES);\n }\n\n public get globalTemplateDataProvider() {\n return this._globalTemplateDataProvider;\n }\n}\n","import { AXPDataGenerator, AXPEntity, AXPEntityCommandScope, AXPEntityQueryType } from '@acorex/platform/common';\nimport { applyFilterArray, applySortArray } from '@acorex/platform/core';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';\nimport { Injector } from '@angular/core';\nimport { TemplateManagementService } from '../template-management.service';\n\nexport async function globalTemplateEntityFactory(injector: Injector): Promise<AXPEntity | null> {\n const dataService = injector.get(TemplateManagementService);\n\n const entityDef: AXPEntity = {\n module: 'template-management',\n name: 'globalTemplate',\n source: 'template-management.globalTemplate',\n title: 'Templates',\n formats: {\n individual: 'Template',\n plural: 'Templates',\n },\n relatedEntities: [\n {\n entity: 'template-management.templateVariable',\n columns: ['name', 'title', 'type', 'requirement'],\n conditions: [\n {\n name: 'globalTemplateId',\n operator: {\n type: 'equal',\n },\n value: 'id',\n },\n ],\n },\n ],\n groups: [\n {\n id: 'template',\n title: 'Template',\n },\n ],\n properties: [\n {\n name: 'name',\n title: 'Name',\n groupId: 'template',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n },\n {\n name: 'title',\n title: 'Title',\n groupId: 'template',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n },\n {\n name: 'content',\n title: 'Content',\n groupId: 'template',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.richText,\n },\n },\n },\n ],\n columns: [{ name: 'name' }, { name: 'title' }],\n commands: {\n create: {\n execute: async (data: any) => {\n const entity = Object.assign(data, { id: AXPDataGenerator.uuid() });\n\n dataService.globalTemplateDataProvider.insertOne(entity);\n return Promise.resolve(entity);\n },\n },\n delete: {\n execute: async (id: any) => {\n await await dataService.globalTemplateDataProvider.deleteOne(id);\n return Promise.resolve();\n },\n },\n update: {\n execute: async (data: any) => {\n return new Promise((resolve) => {\n setTimeout(async () => {\n await dataService.globalTemplateDataProvider.updateOne(data.id, data);\n resolve(data);\n }, 1000);\n });\n },\n },\n },\n queries: {\n byKey: {\n execute: async (id: string) => {\n return new Promise((resolve) => {\n setTimeout(async () => {\n const entity = await dataService.globalTemplateDataProvider.getOne(id);\n resolve(entity);\n }, 500);\n });\n },\n type: AXPEntityQueryType.Single,\n },\n list: {\n execute: async (e: any) => {\n const list = await dataService.globalTemplateDataProvider.getAll();\n const sortedItems = applySortArray(list, e.sort);\n const filteredItems = applyFilterArray(sortedItems, e.filter ? [e.filter] : []);\n return Promise.resolve({\n total: filteredItems.length,\n items: filteredItems.slice(e.skip, (e.skip ?? 0) + (e.take ?? 0)),\n });\n },\n type: AXPEntityQueryType.List,\n },\n },\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'template',\n },\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'content',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n },\n update: {\n sections: [\n {\n id: 'template',\n },\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'content',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [\n {\n id: 'template',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'content',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n actions: [],\n },\n list: {\n actions: [\n {\n title: 'Create New',\n command: 'create-entity',\n priority: 'primary',\n type: 'create',\n scope: AXPEntityCommandScope.TypeLevel,\n },\n {\n title: 'Delete Items',\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Selected,\n },\n {\n title: 'Details',\n command: 'open-entity',\n priority: 'primary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n },\n {\n title: 'Delete',\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n views: [\n {\n name: 'all',\n title: 'All Items',\n fixed: true,\n columns: [],\n conditions: [],\n sorts: [],\n },\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n","import { AXPDataGenerator, AXPEntity, AXPEntityCommandScope, AXPEntityQueryType } from '@acorex/platform/common';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';\nimport { Injector } from '@angular/core';\nimport { TemplateManagementService } from '../template-management.service';\n\nexport async function templateVariableEntityFactory(injector: Injector): Promise<AXPEntity | null> {\n const dataService = injector.get(TemplateManagementService);\n\n const entityDef: AXPEntity = {\n module: 'template-management',\n name: 'templateVariable',\n source: 'template-management.templateVariable',\n title: 'TemplateVariables',\n formats: {\n individual: 'TemplateVariable',\n plural: 'TemplateVariables',\n },\n relatedEntities: [],\n groups: [\n {\n id: 'templateVariable',\n title: 'TemplateVariable',\n },\n ],\n properties: [\n {\n name: 'name',\n title: 'Name',\n groupId: 'templateVariable',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n },\n {\n name: 'title',\n title: 'Title',\n groupId: 'templateVariable',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n },\n {\n name: 'type',\n title: 'Type',\n groupId: 'templateVariable',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.select,\n },\n },\n },\n {\n name: 'requirement',\n title: 'Requirement',\n groupId: 'templateVariable',\n schema: {\n dataType: 'boolean',\n interface: {\n type: AXPWidgetsCatalog.toggle,\n },\n },\n },\n ],\n columns: [{ name: 'name' }, { name: 'title' }, { name: 'requirement' }],\n commands: {\n create: {\n execute: async (data: any) => {\n const entity = Object.assign(data, { id: AXPDataGenerator.uuid() });\n\n // dataService.templateVariableDataProvider.insertOne(entity);\n return Promise.resolve(entity);\n },\n },\n delete: {\n execute: async (id: any) => {\n // await await dataService.templateVariableDataProvider.deleteOne(id);\n return Promise.resolve();\n },\n },\n update: {\n execute: async (data: any) => {\n debugger;\n return new Promise((resolve) => {\n setTimeout(async () => {\n // await dataService.templateVariableDataProvider.updateOne(data.id, data);\n resolve(data);\n }, 1000);\n });\n },\n },\n },\n queries: {\n byKey: {\n execute: async (id: string) => {\n return new Promise((resolve) => {\n setTimeout(async () => {\n // const entity = await dataService.templateVariableDataProvider.getOne(id);\n // resolve(entity);\n }, 500);\n });\n },\n type: AXPEntityQueryType.Single,\n },\n list: {\n execute: async (e: any) => {\n // const list = await dataService.templateVariableDataProvider.getAll();\n // const sortedItems = applySortArray(list, e.sort);\n // const filteredItems = applyFilterArray(sortedItems, e.filter ? [e.filter] : []);\n // return Promise.resolve({\n // total: filteredItems.length,\n // items: filteredItems.slice(e.skip, (e.skip ?? 0) + (e.take ?? 0)),\n // });\n },\n type: AXPEntityQueryType.List,\n },\n },\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'templateVariable',\n },\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'requirement',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n ],\n },\n update: {\n sections: [\n {\n id: 'templateVariable',\n },\n {\n id: 'schema',\n },\n {\n id: 'interface',\n },\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n\n {\n name: 'schema.nullable',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'requirement',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [\n {\n id: 'templateVariable',\n },\n ],\n properties: [\n {\n name: 'name',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'requirement',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n actions: [],\n },\n list: {\n actions: [\n {\n title: 'Create New',\n command: 'create-entity',\n priority: 'primary',\n type: 'create',\n scope: AXPEntityCommandScope.TypeLevel,\n },\n {\n title: 'Delete Items',\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Selected,\n },\n {\n title: 'Details',\n command: 'open-entity',\n priority: 'primary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n },\n {\n title: 'Delete',\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n views: [\n {\n name: 'all',\n title: 'All Items',\n fixed: true,\n columns: [],\n conditions: [],\n sorts: [],\n },\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAQa,wBAAwB,CAAA;AACnC,IAAA,OAAO,OAAO,GAAA;QACZ,OAAO;AACL,YAAA,QAAQ,EAAE,wBAAwB;AAClC,YAAA,SAAS,EAAE;AACT,gBAAA;AACE,oBAAA,OAAO,EAAE,8BAA8B;AACvC,oBAAA,UAAU,EAAE,OAAO,cAAkD,EAAE,QAAkB,KAAI;AAC3F,wBAAA,MAAM,oBAAoB,GAAG,MAAM,CACjC,MAAM,qEAA2C,EACjD,2BAA2B,CAAC,QAAQ,CAAC;AACvC,wBAAA,cAAc,CAAC,QAAQ,CAAC,oBAA2B,CAAC;;AAGpD,wBAAA,MAAM,cAAc,GAAG,MAAM,CAC3B,MAAM,uEAA6C,EACnD,6BAA6B,CAAC,QAAQ,CAAC;AACzC,wBAAA,cAAc,CAAC,QAAQ,CAAC,cAAqB,CAAC;;qBAE/C;AACD,oBAAA,IAAI,EAAE,CAAC,kCAAkC,EAAE,QAAQ,CAAC;AACrD,iBAAA;AACF,aAAA;SACF;;AAGH;;AAEG;IACH,WAAgE,CAAA,SAAgB;AA7BrE,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,kBA6BH,8BAA8B,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GA7BnD,wBAAwB,EAAA,CAAA,CAAA;+GAAxB,wBAAwB,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,U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4BAAA,IAAI,EAAE,MAAM;4BACZ,KAAK,EAAE,qBAAqB,CAAC,UAAU;AACxC,yBAAA;AACD,wBAAA;AACE,4BAAA,KAAK,EAAE,QAAQ;AACf,4BAAA,OAAO,EAAE,eAAe;AACxB,4BAAA,QAAQ,EAAE,SAAS;AACnB,4BAAA,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,qBAAqB,CAAC,UAAU;AACxC,yBAAA;AACF,qBAAA;AACD,oBAAA,KAAK,EAAE;AACL,wBAAA;AACE,4BAAA,IAAI,EAAE,KAAK;AACX,4BAAA,KAAK,EAAE,WAAW;AAClB,4BAAA,KAAK,EAAE,IAAI;AACX,4BAAA,OAAO,EAAE,EAAE;AACX,4BAAA,UAAU,EAAE,EAAE;AACd,4BAAA,KAAK,EAAE,EAAE;AACV,yBAAA;AACF,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;;;;;;ACpTA;;AAEG;;;;"}
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
2
|
import * as i1 from "@angular/router";
|
3
|
+
import * as i2 from "@acorex/platform/themes/shared";
|
3
4
|
export declare class AXMFormManagementModule {
|
4
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMFormManagementModule, never>;
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMFormManagementModule, never, [typeof i1.RouterModule], never>;
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMFormManagementModule, never, [typeof i1.RouterModule, typeof i2.AXPThemesSharedModule], never>;
|
6
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXMFormManagementModule>;
|
7
8
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './lib/language-management.module';
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class LanguageManagementModule {
|
4
|
+
static forRoot(): ModuleWithProviders<LanguageManagementModule>;
|
5
|
+
/**
|
6
|
+
* @ignore
|
7
|
+
*/
|
8
|
+
constructor(instances: any[]);
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LanguageManagementModule, [{ optional: true; }]>;
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LanguageManagementModule, never, never, never>;
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LanguageManagementModule>;
|
12
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { Injector } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class LanguageManagementService {
|
4
|
+
protected _languageDataProvider: any;
|
5
|
+
constructor(injector: Injector);
|
6
|
+
get languageDataProvider(): any;
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LanguageManagementService, never>;
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LanguageManagementService>;
|
9
|
+
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export * from './lib/notification-management.module';
|
2
|
+
export * from './lib/notification-management.type';
|
3
|
+
export * from './lib/notification.service';
|
4
|
+
export * from './lib/entities/notification-channel.entity';
|
5
|
+
export * from './lib/entities/notification-template.entity';
|
6
|
+
export * from './lib/entities/notification.entity';
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { AXPSessionService } from '@acorex/platform/auth';
|
2
|
+
import { Router } from '@angular/router';
|
3
|
+
import { AXMNotificationItem } from '../../notification-management.type';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class AXMAdminNotificationItemComponent {
|
6
|
+
data: import("@angular/core").InputSignal<AXMNotificationItem>;
|
7
|
+
onPressNotificationItem: import("@angular/core").OutputEmitterRef<string>;
|
8
|
+
router: Router;
|
9
|
+
sessionStorage: AXPSessionService;
|
10
|
+
differentTime: import("@angular/core").Signal<number>;
|
11
|
+
pressNotificationItem(id: string): void;
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMAdminNotificationItemComponent, never>;
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXMAdminNotificationItemComponent, "axp-master-notification-item", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; }, { "onPressNotificationItem": "onPressNotificationItem"; }, never, never, true, never>;
|
14
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { OnInit } from '@angular/core';
|
2
|
+
import { AXMNotificationCategory, AXMNotificationItem } from '../../notification-management.type';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class AXMAdminNotificationPanelComponent implements OnInit {
|
5
|
+
onNewNotfication: import("@angular/core").OutputEmitterRef<number>;
|
6
|
+
private notificationService;
|
7
|
+
private toastService;
|
8
|
+
notifications: import("@angular/core").WritableSignal<AXMNotificationItem[] | undefined>;
|
9
|
+
totalNotifications: import("@angular/core").WritableSignal<number | undefined>;
|
10
|
+
tabItems: import("@angular/core").Signal<AXTabData[]>;
|
11
|
+
activeTab: import("@angular/core").WritableSignal<AXMTabDataText>;
|
12
|
+
changeActiveTab(tab: AXMTabDataText): void;
|
13
|
+
NewNotification: import("@angular/core").Signal<number>;
|
14
|
+
NewNotificationEffect: import("@angular/core").EffectRef;
|
15
|
+
ngOnInit(): void;
|
16
|
+
private loadNotification;
|
17
|
+
protected onPressNotificationItem: (id: string) => void;
|
18
|
+
private getTabItems;
|
19
|
+
private getNewNotification;
|
20
|
+
protected getNotificationItems(category: AXMTabDataText): AXMNotificationItem[] | undefined;
|
21
|
+
protected markAllAsRead(): void;
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMAdminNotificationPanelComponent, never>;
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXMAdminNotificationPanelComponent, "axm-admin-notification-panel", never, {}, { "onNewNotfication": "onNewNotfication"; }, never, never, true, never>;
|
24
|
+
}
|
25
|
+
interface AXTabData {
|
26
|
+
text: AXMTabDataText;
|
27
|
+
count: number;
|
28
|
+
}
|
29
|
+
type AXMTabDataText = AXMNotificationCategory | 'All';
|
30
|
+
export {};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class AXMAdminNotificationSlotComponent {
|
3
|
+
totalNewNotification: import("@angular/core").WritableSignal<number>;
|
4
|
+
setTotalNewNotification(value: number): void;
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMAdminNotificationSlotComponent, never>;
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXMAdminNotificationSlotComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
7
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { AXPDataGenerator } from '@acorex/platform/common';
|
2
|
+
export declare const NOTIFICATION_TEMPLATES: {
|
3
|
+
id: string;
|
4
|
+
name: typeof AXPDataGenerator.string;
|
5
|
+
title: typeof AXPDataGenerator.string;
|
6
|
+
description: string;
|
7
|
+
}[];
|
8
|
+
export declare const NOTIFICATION_CHANNELS: {
|
9
|
+
body: string;
|
10
|
+
title: string;
|
11
|
+
channel: string;
|
12
|
+
inApp: {
|
13
|
+
category: string;
|
14
|
+
level: string;
|
15
|
+
type: string;
|
16
|
+
};
|
17
|
+
}[];
|
18
|
+
export declare const NOTIFICATIONS: {
|
19
|
+
id: string;
|
20
|
+
title: string;
|
21
|
+
body: string;
|
22
|
+
channel: string;
|
23
|
+
data: {};
|
24
|
+
RelativeType: string;
|
25
|
+
RelativeId: string;
|
26
|
+
user: {
|
27
|
+
id: string;
|
28
|
+
name: string;
|
29
|
+
image: string;
|
30
|
+
};
|
31
|
+
template: {
|
32
|
+
category: string;
|
33
|
+
prority: string;
|
34
|
+
type: string;
|
35
|
+
icon: string;
|
36
|
+
isPinned: boolean;
|
37
|
+
};
|
38
|
+
readAt: Date | null;
|
39
|
+
createAt: Date;
|
40
|
+
entityName: string;
|
41
|
+
}[];
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
import * as i1 from "@acorex/platform/common";
|
4
|
+
export declare class AXMNotificationManagementModule {
|
5
|
+
static forRoot(): ModuleWithProviders<AXMNotificationManagementModule>;
|
6
|
+
/**
|
7
|
+
* @ignore
|
8
|
+
*/
|
9
|
+
constructor(instances: any[]);
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMNotificationManagementModule, [{ optional: true; }]>;
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMNotificationManagementModule, never, [typeof i1.AXPComponentSlotModule], never>;
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXMNotificationManagementModule>;
|
13
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { AXPEntityDataProviderImpl, AXPEntityStorageService } from '@acorex/platform/common';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class NotificationManagementService {
|
4
|
+
protected storageService: AXPEntityStorageService;
|
5
|
+
protected _notificationTemplateDataProvider: AXPEntityDataProviderImpl<any>;
|
6
|
+
protected _notificationChannelDataProvider: any;
|
7
|
+
protected _notificationDataProvider: any;
|
8
|
+
constructor();
|
9
|
+
notificationTemplateList(): Promise<any[]>;
|
10
|
+
get notificationTemplateDataProvider(): AXPEntityDataProviderImpl<any>;
|
11
|
+
get notificationChannelDataProvider(): any;
|
12
|
+
get notificationDataProvider(): any;
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationManagementService, never>;
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationManagementService>;
|
15
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
export type AXMNotificationChannel = 'InApp' | 'Email' | 'SMS';
|
2
|
+
export type AXMNotificationCategory = 'Inbox' | 'Archive';
|
3
|
+
export type AXMNotificationPrority = 'Warning' | 'Danger' | 'Notice';
|
4
|
+
export type AXMNotificationType = 'File' | 'Person' | 'Notification';
|
5
|
+
export type AXMNotificationActionType = 'Link' | 'Entity' | 'Popup';
|
6
|
+
export interface AXMNotificationItem {
|
7
|
+
id: string;
|
8
|
+
title: string;
|
9
|
+
body: string;
|
10
|
+
channel: AXMNotificationChannel;
|
11
|
+
content: {
|
12
|
+
type: AXMNotificationType;
|
13
|
+
data: object;
|
14
|
+
};
|
15
|
+
action: {
|
16
|
+
type: AXMNotificationActionType;
|
17
|
+
data: {
|
18
|
+
[key: string]: unknown;
|
19
|
+
};
|
20
|
+
};
|
21
|
+
user: {
|
22
|
+
id: string;
|
23
|
+
name: string;
|
24
|
+
image: string;
|
25
|
+
};
|
26
|
+
template: {
|
27
|
+
category: AXMNotificationCategory;
|
28
|
+
prority: AXMNotificationPrority;
|
29
|
+
icon: string;
|
30
|
+
isPinned: boolean;
|
31
|
+
};
|
32
|
+
readAt: Date | null;
|
33
|
+
createAt: Date;
|
34
|
+
entityName: 'notifications';
|
35
|
+
}
|
36
|
+
export interface AXMNotificationResponse {
|
37
|
+
total: number;
|
38
|
+
items: AXMNotificationItem[];
|
39
|
+
}
|
40
|
+
export interface AXMNotificationMarkAsReadRequest {
|
41
|
+
id: string[];
|
42
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { AXMNotificationMarkAsReadRequest, AXMNotificationResponse } from './notification-management.type';
|
2
|
+
export declare abstract class AXMNotificationService {
|
3
|
+
abstract getList(): AXMNotificationResponse;
|
4
|
+
abstract toggleRead(payload?: AXMNotificationMarkAsReadRequest): boolean;
|
5
|
+
abstract markAllAsRead(): boolean;
|
6
|
+
abstract create(): boolean;
|
7
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@acorex/modules",
|
3
|
-
"version": "18.1.
|
3
|
+
"version": "18.1.5",
|
4
4
|
"peerDependencies": {
|
5
5
|
"@angular/common": ">=18.0.0",
|
6
6
|
"@angular/core": ">=18.0.0",
|
@@ -34,23 +34,35 @@
|
|
34
34
|
"esm": "./esm2022/auth/acorex-modules-auth.mjs",
|
35
35
|
"default": "./fesm2022/acorex-modules-auth.mjs"
|
36
36
|
},
|
37
|
+
"./form-management": {
|
38
|
+
"types": "./form-management/index.d.ts",
|
39
|
+
"esm2022": "./esm2022/form-management/acorex-modules-form-management.mjs",
|
40
|
+
"esm": "./esm2022/form-management/acorex-modules-form-management.mjs",
|
41
|
+
"default": "./fesm2022/acorex-modules-form-management.mjs"
|
42
|
+
},
|
37
43
|
"./backend": {
|
38
44
|
"types": "./backend/index.d.ts",
|
39
45
|
"esm2022": "./esm2022/backend/acorex-modules-backend.mjs",
|
40
46
|
"esm": "./esm2022/backend/acorex-modules-backend.mjs",
|
41
47
|
"default": "./fesm2022/acorex-modules-backend.mjs"
|
42
48
|
},
|
43
|
-
"./
|
44
|
-
"types": "./
|
45
|
-
"esm2022": "./esm2022/
|
46
|
-
"esm": "./esm2022/
|
47
|
-
"default": "./fesm2022/acorex-modules-
|
49
|
+
"./language-management": {
|
50
|
+
"types": "./language-management/index.d.ts",
|
51
|
+
"esm2022": "./esm2022/language-management/acorex-modules-language-management.mjs",
|
52
|
+
"esm": "./esm2022/language-management/acorex-modules-language-management.mjs",
|
53
|
+
"default": "./fesm2022/acorex-modules-language-management.mjs"
|
54
|
+
},
|
55
|
+
"./notification-management": {
|
56
|
+
"types": "./notification-management/index.d.ts",
|
57
|
+
"esm2022": "./esm2022/notification-management/acorex-modules-notification-management.mjs",
|
58
|
+
"esm": "./esm2022/notification-management/acorex-modules-notification-management.mjs",
|
59
|
+
"default": "./fesm2022/acorex-modules-notification-management.mjs"
|
48
60
|
},
|
49
|
-
"./
|
50
|
-
"types": "./
|
51
|
-
"esm2022": "./esm2022/
|
52
|
-
"esm": "./esm2022/
|
53
|
-
"default": "./fesm2022/acorex-modules-
|
61
|
+
"./template-management": {
|
62
|
+
"types": "./template-management/index.d.ts",
|
63
|
+
"esm2022": "./esm2022/template-management/acorex-modules-template-management.mjs",
|
64
|
+
"esm": "./esm2022/template-management/acorex-modules-template-management.mjs",
|
65
|
+
"default": "./fesm2022/acorex-modules-template-management.mjs"
|
54
66
|
}
|
55
67
|
}
|
56
68
|
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class TemplateManagementModule {
|
4
|
+
static forRoot(): ModuleWithProviders<TemplateManagementModule>;
|
5
|
+
/**
|
6
|
+
* @ignore
|
7
|
+
*/
|
8
|
+
constructor(instances: any[]);
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateManagementModule, [{ optional: true; }]>;
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TemplateManagementModule, never, never, never>;
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TemplateManagementModule>;
|
12
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { Injector } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class TemplateManagementService {
|
4
|
+
protected _globalTemplateDataProvider: any;
|
5
|
+
constructor(injector: Injector);
|
6
|
+
get globalTemplateDataProvider(): any;
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateManagementService, never>;
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TemplateManagementService>;
|
9
|
+
}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
export * from './index';
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LW1vZHVsZXMtbm90aWZpY2F0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9tb2R1bGVzL25vdGlmaWNhdGlvbi9zcmMvYWNvcmV4LW1vZHVsZXMtbm90aWZpY2F0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|
@@ -1,4 +0,0 @@
|
|
1
|
-
// export * from './lib/admin-notification/admin-notification-item.component';
|
2
|
-
// export * from './lib/admin-notification/admin-notification.component';
|
3
|
-
export * from './lib/notification.module';
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL21vZHVsZXMvbm90aWZpY2F0aW9uL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSw4RUFBOEU7QUFDOUUseUVBQXlFO0FBQ3pFLGNBQWMsMkJBQTJCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJcbi8vIGV4cG9ydCAqIGZyb20gJy4vbGliL2FkbWluLW5vdGlmaWNhdGlvbi9hZG1pbi1ub3RpZmljYXRpb24taXRlbS5jb21wb25lbnQnO1xuLy8gZXhwb3J0ICogZnJvbSAnLi9saWIvYWRtaW4tbm90aWZpY2F0aW9uL2FkbWluLW5vdGlmaWNhdGlvbi5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvbm90aWZpY2F0aW9uLm1vZHVsZSc7XG4iXX0=
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { NgModule } from "@angular/core";
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export class AXMNotificationModule {
|
4
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMNotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
5
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXMNotificationModule }); }
|
6
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMNotificationModule }); }
|
7
|
-
}
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMNotificationModule, decorators: [{
|
9
|
-
type: NgModule,
|
10
|
-
args: [{
|
11
|
-
imports: [],
|
12
|
-
exports: [],
|
13
|
-
declarations: [],
|
14
|
-
}]
|
15
|
-
}] });
|
16
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvbW9kdWxlcy9ub3RpZmljYXRpb24vc3JjL2xpYi9ub3RpZmljYXRpb24ubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBTXpDLE1BQU0sT0FBTyxxQkFBcUI7OEdBQXJCLHFCQUFxQjsrR0FBckIscUJBQXFCOytHQUFyQixxQkFBcUI7OzJGQUFyQixxQkFBcUI7a0JBTGpDLFFBQVE7bUJBQUM7b0JBQ04sT0FBTyxFQUFFLEVBQUU7b0JBQ1gsT0FBTyxFQUFFLEVBQUU7b0JBQ1gsWUFBWSxFQUFFLEVBQUU7aUJBQ25CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tIFwiQGFuZ3VsYXIvY29yZVwiO1xuQE5nTW9kdWxlKHtcbiAgICBpbXBvcnRzOiBbXSxcbiAgICBleHBvcnRzOiBbXSxcbiAgICBkZWNsYXJhdGlvbnM6IFtdLFxufSlcbmV4cG9ydCBjbGFzcyBBWE1Ob3RpZmljYXRpb25Nb2R1bGUge1xufVxuICAgICAgICAgICAgICAgICAgICAiXX0=
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"acorex-modules-auth-acorex-modules-auth-4OzzidjS.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 { AXPUnauthenticatedError, AXPUnauthorizedError } from '@acorex/platform/auth';\nimport { AXPErrorHandler, AXPLayoutService } from '@acorex/platform/common';\nimport { HttpErrorResponse } from '@angular/common/http';\nimport { Injectable, NgZone, inject, isDevMode } from '@angular/core';\nimport { Router } from '@angular/router';\n\n@Injectable()\nexport class AXMAuthErrorHandler implements AXPErrorHandler {\n private router = inject(Router);\n private layoutService = inject(AXPLayoutService);\n private zone = inject(NgZone);\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 } 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 } 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 } else {\n next(error); // maybe we need a error page\n }\n }\n this.layoutService.setNavigationLoading(false);\n }\n}\n","import { InjectionToken } from '@angular/core';\nimport { AuthConfig } from 'angular-oauth2-oidc';\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 authConfig?:AuthConfig,\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/common';\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 { 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\";\nimport { AXPLogoComponent } from \"@acorex/platform/common\";\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 { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXPSessionService } from '@acorex/platform/auth';\nimport { CommonModule } from '@angular/common';\nimport { Component, inject } from '@angular/core';\nimport { Router } from '@angular/router';\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 private router = inject(Router);\n private sessionService = inject(AXPSessionService);\n protected tenants$ = this.sessionService.tenants$;\n protected tenant = this.sessionService.tenant;\n\n tenantChooser() {\n this.router.navigate(['/auth/account/tenant-chooser']);\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 { AXHtmlEvent } from '@acorex/components/common';\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 { AXTranslationModule } from '@acorex/core/translation';\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, signal } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { first } from 'rxjs';\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 AXTranslationModule,\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 protected hasPicture = signal(true);\n protected avatarText = signal<string>('');\n\n constructor() {\n this.loadImage();\n this.getAvatarText();\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 const appName = this.sessionService.application?.name;\n if (appName) {\n this.router.navigate([`/${appName}/m/oidc/e/user-info/0/view`]);\n }\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\n protected onImageError(event: AXHtmlEvent<ErrorEvent>) {\n this.hasPicture.set(false);\n }\n\n protected getAvatarText = () => {\n this.user$.pipe(first()).subscribe((user) => {\n const names = user?.title.split(' ');\n if (names?.length && names?.length > 1) {\n this.avatarText.set(`${names[0][0].toUpperCase()}${names[names.length - 1][0].toUpperCase()}`);\n } else return this.avatarText.set('AC');\n });\n };\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 } else if (this.sessionService.user?.avatar != 'null' && this.dataService) {\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 this.hasPicture.set(false);\n console.error('Failed to load image by ID:', error);\n this.src = '';\n }\n }\n}\n","@if((isAuthenticated$ | async)) {\n<ax-avatar #avatar color=\"secondary\" (error)=\"this.src = 'path/to/default-image.jpg'\" [size]=\"32\" class=\"ax-cursor-pointer ax-ms-4\">\n @if(hasPicture()){\n <ax-image (onError)=\"onImageError($event)\" [src]=\"src\"></ax-image>\n }@else{\n <ax-text>\n <small class=\"ax-text-xs ax-font-semibold\">{{ avatarText() }}</small>\n </ax-text>\n }\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 @if(hasPicture()){\n <ax-image (onError)=\"onImageError($event)\" [src]=\"src\">\n <ax-loading></ax-loading>\n </ax-image>\n }@else{\n <ax-text>\n <span class=\"\">{{ avatarText() }}</span>\n </ax-text>\n }\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>{{ 'profile.edit' | translate | async }}</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>{{ 'profile.logout' | translate | async }}</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}\n","import { AXPAuthGuard, AXPSessionService } from '@acorex/platform/auth';\nimport { AXPComponentSlotModule } from '@acorex/platform/common';\nimport { NgModule, inject } from '@angular/core';\nimport { ActivatedRouteSnapshot, CanActivateFn, ROUTES, Router, RouterModule, RouterStateSnapshot, Routes } from '@angular/router';\nimport { firstValueFrom } from 'rxjs';\nimport { AXMAppChooserSlotComponent } from './app-chooser/app-chooser-slot.component';\nimport { AXMAuthProfileSlotComponent } from './profile/profile-slot.component';\n\nconst canActivateTenantChooser: CanActivateFn = async (route: ActivatedRouteSnapshot, state: RouterStateSnapshot) => {\n const sessionService = inject(AXPSessionService);\n const router = inject(Router);\n\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\nconst canActivateAppChooser: CanActivateFn = 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\nfunction routesFacory() {\n let routes: Routes = [];\n routes = [\n {\n path: 'tenant-chooser',\n loadComponent: () => import('./tenant-chooser/tenant-chooser.component').then((c) => c.AXPAuthTenantChooserComponent),\n canActivate: [AXPAuthGuard, canActivateTenantChooser],\n },\n {\n path: 'app-chooser',\n loadComponent: () => 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","i6","i8"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOa,mBAAmB,CAAA;AADhC,IAAA,WAAA,GAAA;AAEU,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;AA2B/B,KAAA;IAzBC,WAAW,CAAC,KAAY,EAAE,IAA0B,EAAA;AAClD,QAAA,IAAI,KAAK,YAAY,iBAAiB,EAAE;;;;;;;SAOvC;AAAM,aAAA,IAAI,KAAK,YAAY,oBAAoB,EAAE;AAChD,YAAA,MAAM,WAAW,GAAG,KAAK,CAAC,IAAI,EAAE,WAAW,CAAC;AAC5C,YAAA,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;YAC7B,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,WAAW,EAAE,WAAW,GAAG,EAAE,WAAW,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,CAAC,CAAC;SACpG;AAAM,aAAA,IAAI,KAAK,YAAY,uBAAuB,EAAE;AACnD,YAAA,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AAC7B,YAAA,MAAM,WAAW,GAAG,KAAK,CAAC,IAAI,EAAE,WAAW,CAAC;YAC5C,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,aAAa,CAAC,EAAE,EA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