@acorex-platform/module-timesheet-management-client 0.0.38 → 0.0.48
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/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entities-time-entry.mjs +12 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entities-time-entry.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entities-timesheet-correction.mjs +12 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entities-timesheet-correction.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entities-timesheet-period.mjs +13 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entities-timesheet-period.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entities-timesheet-policy.mjs +12 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entities-timesheet-policy.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entities-work-item.mjs +12 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entities-work-item.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-timesheet-management-client-contracts-entity-catalog-acorex-platform-module-timesheet-management-client-contracts-entity-catalog-BbB3MCCl.mjs → acorex-platform-module-timesheet-management-client-contracts-entity-catalog-acorex-platform-module-timesheet-management-client-contracts-entity-catalog-Dr7fs8xO.mjs} +6 -6
- package/fesm2022/{acorex-platform-module-timesheet-management-client-contracts-entity-catalog-acorex-platform-module-timesheet-management-client-contracts-entity-catalog-BbB3MCCl.mjs.map → acorex-platform-module-timesheet-management-client-contracts-entity-catalog-acorex-platform-module-timesheet-management-client-contracts-entity-catalog-Dr7fs8xO.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-timesheet-management-client-contracts-entity-catalog-time-entry.entity-CAs7zUnV.mjs → acorex-platform-module-timesheet-management-client-contracts-entity-catalog-time-entry.entity-520hgI5r.mjs} +14 -2
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog-time-entry.entity-520hgI5r.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-timesheet-management-client-contracts-entity-catalog-timesheet-correction.entity--wZeCM5Q.mjs → acorex-platform-module-timesheet-management-client-contracts-entity-catalog-timesheet-correction.entity-CVZ1rrbl.mjs} +14 -2
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog-timesheet-correction.entity-CVZ1rrbl.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-timesheet-management-client-contracts-entity-catalog-timesheet-period.entity-BOyfB4YA.mjs → acorex-platform-module-timesheet-management-client-contracts-entity-catalog-timesheet-period.entity-DAbvcHM-.mjs} +15 -2
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog-timesheet-period.entity-DAbvcHM-.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-timesheet-management-client-contracts-entity-catalog-timesheet-policy.entity-CqqN7Xty.mjs → acorex-platform-module-timesheet-management-client-contracts-entity-catalog-timesheet-policy.entity-C0ldDKfi.mjs} +14 -2
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog-timesheet-policy.entity-C0ldDKfi.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-timesheet-management-client-contracts-entity-catalog-work-item.entity-DilF7u50.mjs → acorex-platform-module-timesheet-management-client-contracts-entity-catalog-work-item.entity-C6-iDXmP.mjs} +14 -2
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog-work-item.entity-C6-iDXmP.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog.mjs +1 -1
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts.mjs +12 -1
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-timesheet-management-client.mjs +3 -23
- package/fesm2022/acorex-platform-module-timesheet-management-client.mjs.map +1 -1
- package/package.json +1 -1
- package/types/acorex-platform-module-timesheet-management-client-contracts.d.ts +4 -2
- package/types/acorex-platform-module-timesheet-management-client.d.ts +3 -4
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog-time-entry.entity-CAs7zUnV.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog-timesheet-correction.entity--wZeCM5Q.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog-timesheet-period.entity-BOyfB4YA.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog-timesheet-policy.entity-CqqN7Xty.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog-work-item.entity-DilF7u50.mjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-timesheet-management-client-contracts-entity-catalog-work-item.entity-C6-iDXmP.mjs","sources":["../../../../libs/modules/timesheet-management/contracts/src/entities/work-item/work-item.entity.ts"],"sourcesContent":["import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\n//#region ---- Constants ----\n\nconst i18n = RootConfig.config.i18n;\nconst entityI18n = `${i18n}:work-items.entities.work-item`;\n\nconst listSortAndFilterOptions = {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n};\n\nconst WORK_ITEM_SOURCE_TYPE_OPTIONS = [\n { id: 'Internal', title: `@${entityI18n}.fields.source-type.options.internal` },\n { id: 'Jira', title: `@${entityI18n}.fields.source-type.options.jira` },\n { id: 'Task', title: `@${entityI18n}.fields.source-type.options.task` },\n];\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\n/**\n * Work item entity factory for billable/non-billable time tracking references.\n */\nexport async function factoryWorkItem(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.workItem.name,\n title: RootConfig.entities.workItem.title,\n icon: RootConfig.entities.workItem.icon,\n searchTags: [\n 'work-item',\n 'work-items',\n 'project-task',\n 'jira',\n 'billable',\n 'timesheet',\n 'timesheet-management',\n 'آیتم کاری',\n 'آیتمهای کاری',\n 'تایمشیت',\n ],\n formats: {\n individual: RootConfig.entities.workItem.title,\n plural: RootConfig.entities.workItem.titlePlural,\n searchResult: {\n title: '{{ code }}',\n description: '{{ title }}',\n },\n },\n plugins: [\n { name: 'history' },\n { name: 'unique-fields', options: { fields: 'code', scope: 'tenant' } },\n ],\n groups: [\n { id: 'basic-info', title: '@general:terms.interface.basic-info' },\n { id: 'source', title: `@${entityI18n}.groups.source` },\n { id: 'assignment', title: `@${entityI18n}.groups.assignment` },\n { id: 'settings', title: '@general:terms.interface.settings' },\n ],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n groupId: 'basic-info',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'code',\n title: `@${entityI18n}.fields.code.title`,\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n unique: { enabled: true },\n interface: { type: AXPWidgetsCatalog.text },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text, options: { multiLanguage: true } },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'sourceType',\n title: `@${entityI18n}.fields.source-type.title`,\n groupId: 'source',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n defaultValue: 'Internal',\n interface: {\n type: AXPWidgetsCatalog.select,\n options: { items: WORK_ITEM_SOURCE_TYPE_OPTIONS },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'sourceRef',\n title: `@${entityI18n}.fields.source-ref.title`,\n groupId: 'source',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.largeText, options: { rows: 4 } },\n },\n },\n {\n name: 'isBillableDefault',\n title: `@${entityI18n}.fields.is-billable-default.title`,\n groupId: 'settings',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'boolean',\n defaultValue: true,\n interface: { type: AXPWidgetsCatalog.toggle },\n },\n },\n {\n name: 'isActive',\n title: `@${entityI18n}.fields.is-active.title`,\n groupId: 'settings',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'boolean',\n defaultValue: true,\n interface: { type: AXPWidgetsCatalog.toggle },\n },\n },\n {\n name: 'employeeId',\n title: `@${entityI18n}.fields.employee-id.title`,\n groupId: 'assignment',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n look: 'select',\n entity: 'HumanCapitalManagement.Employee',\n textField: 'person.fullName',\n valueField: 'id',\n expose: [\n { source: 'id', target: 'employee.id' },\n { source: 'employeeCode', target: 'employee.employeeCode' },\n { source: 'person.fullName', target: 'employee.person.fullName' },\n ],\n },\n },\n },\n },\n {\n name: 'projectId',\n title: `@${entityI18n}.fields.project-id.title`,\n groupId: 'assignment',\n options: listSortAndFilterOptions,\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n look: 'select',\n entity: 'ProjectManagement.Project',\n textField: 'name',\n valueField: 'id',\n expose: [\n { source: 'id', target: 'project.id' },\n { source: 'title', target: 'project.title' },\n ],\n },\n },\n },\n },\n ],\n columns: [\n { name: 'code' },\n { name: 'title' },\n { name: 'sourceType' },\n { name: 'employeeId', options: { dataPath: 'employee.person.fullName' } },\n { name: 'projectId', options: { dataPath: 'project.title' } },\n { name: 'isBillableDefault' },\n { name: 'isActive' },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'source' }, { id: 'assignment' }, { id: 'settings' }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'sourceType', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'sourceRef', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'employeeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'projectId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'isBillableDefault', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'isActive', layout: { positions: { lg: { colSpan: 6 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'source' }, { id: 'assignment' }, { id: 'settings' }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'sourceType', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'sourceRef', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'employeeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'projectId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'isBillableDefault', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'isActive', layout: { positions: { lg: { colSpan: 6 } } } },\n ],\n },\n single: {\n title: '{{ code }}',\n sections: [{ id: 'basic-info' }, { id: 'source' }, { id: 'assignment' }, { id: 'settings' }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'sourceType', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'employeeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'projectId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'isBillableDefault', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'isActive', layout: { positions: { lg: { colSpan: 6 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCr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{ t as timesheetManagementLocalEntityCatalog } from './acorex-platform-module-timesheet-management-client-contracts-entity-catalog-acorex-platform-module-timesheet-management-client-contracts-entity-catalog-
|
|
1
|
+
export { t as timesheetManagementLocalEntityCatalog } from './acorex-platform-module-timesheet-management-client-contracts-entity-catalog-acorex-platform-module-timesheet-management-client-contracts-entity-catalog-Dr7fs8xO.mjs';
|
|
2
2
|
//# sourceMappingURL=acorex-platform-module-timesheet-management-client-contracts-entity-catalog.mjs.map
|
|
@@ -71,6 +71,17 @@ const RootConfig = {
|
|
|
71
71
|
};
|
|
72
72
|
//#endregion
|
|
73
73
|
|
|
74
|
+
const TimesheetManagementManifest = {
|
|
75
|
+
name: RootConfig.module.name,
|
|
76
|
+
version: '1.0.0',
|
|
77
|
+
title: RootConfig.module.title,
|
|
78
|
+
icon: RootConfig.module.icon,
|
|
79
|
+
i18n: RootConfig.config.i18n,
|
|
80
|
+
type: 'domain',
|
|
81
|
+
domain: 'human-capital',
|
|
82
|
+
required: false,
|
|
83
|
+
};
|
|
84
|
+
|
|
74
85
|
/**
|
|
75
86
|
* Projects & Work capabilities used by this module.
|
|
76
87
|
* Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).
|
|
@@ -196,5 +207,5 @@ const AXMTimesheetPeriodLockedStatusIds = [
|
|
|
196
207
|
* Generated bundle index. Do not edit.
|
|
197
208
|
*/
|
|
198
209
|
|
|
199
|
-
export { AXMTimesheetManagementCommandKeys, AXMTimesheetManagementFeatureKeys, AXMTimesheetManagementMenuKeys, AXMTimesheetManagementPermissions, AXMTimesheetPeriodLockedStatusId, AXMTimesheetPeriodLockedStatusIds, AXMTimesheetPeriodOpenStatusIds, AXPProjectsWorkPermissionKeys, RootConfig };
|
|
210
|
+
export { AXMTimesheetManagementCommandKeys, AXMTimesheetManagementFeatureKeys, AXMTimesheetManagementMenuKeys, AXMTimesheetManagementPermissions, AXMTimesheetPeriodLockedStatusId, AXMTimesheetPeriodLockedStatusIds, AXMTimesheetPeriodOpenStatusIds, AXPProjectsWorkPermissionKeys, RootConfig, TimesheetManagementManifest };
|
|
200
211
|
//# sourceMappingURL=acorex-platform-module-timesheet-management-client-contracts.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-timesheet-management-client-contracts.mjs","sources":["../../../../libs/modules/timesheet-management/contracts/src/root-config.ts","../../../../libs/modules/timesheet-management/contracts/src/permission.keys.ts","../../../../libs/modules/timesheet-management/contracts/src/menu.keys.ts","../../../../libs/modules/timesheet-management/contracts/src/features.keys.ts","../../../../libs/modules/timesheet-management/contracts/src/commands.keys.ts","../../../../libs/modules/timesheet-management/contracts/src/timesheet-period-status.constants.ts","../../../../libs/modules/timesheet-management/contracts/src/entities/time-entry/time-entry.types.ts","../../../../libs/modules/timesheet-management/contracts/src/entities/timesheet-correction/timesheet-correction.types.ts","../../../../libs/modules/timesheet-management/contracts/src/entities/timesheet-period/timesheet-period.types.ts","../../../../libs/modules/timesheet-management/contracts/src/entities/timesheet-policy/timesheet-policy.types.ts","../../../../libs/modules/timesheet-management/contracts/src/entities/work-item/work-item.types.ts","../../../../libs/modules/timesheet-management/contracts/src/acorex-platform-module-timesheet-management-client-contracts.ts"],"sourcesContent":["//#region ---- Module Config ----\n\nconst config = {\n i18n: 'timesheet-management',\n module: 'TimesheetManagement',\n route: 'timesheet-management',\n};\n\nexport const RootConfig = {\n config,\n module: {\n name: config.module,\n route: config.route,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-clock',\n },\n entities: {\n workItem: {\n name: 'WorkItem',\n source: `${config.module}.WorkItem`,\n title: `@${config.i18n}:work-items.entities.work-item.title`,\n titlePlural: `@${config.i18n}:work-items.entities.work-item.plural`,\n icon: 'fa-light fa-list-check',\n },\n timesheetPeriod: {\n name: 'TimesheetPeriod',\n source: `${config.module}.TimesheetPeriod`,\n title: `@${config.i18n}:timesheet-periods.entities.timesheet-period.title`,\n titlePlural: `@${config.i18n}:timesheet-periods.entities.timesheet-period.plural`,\n icon: 'fa-light fa-calendar-week',\n },\n timeEntry: {\n name: 'TimeEntry',\n source: `${config.module}.TimeEntry`,\n title: `@${config.i18n}:time-entries.entities.time-entry.title`,\n titlePlural: `@${config.i18n}:time-entries.entities.time-entry.plural`,\n icon: 'fa-light fa-hourglass-half',\n },\n timesheetCorrection: {\n name: 'TimesheetCorrection',\n source: `${config.module}.TimesheetCorrection`,\n title: `@${config.i18n}:timesheet-corrections.entities.timesheet-correction.title`,\n titlePlural: `@${config.i18n}:timesheet-corrections.entities.timesheet-correction.plural`,\n icon: 'fa-light fa-pen-to-square',\n },\n timesheetPolicy: {\n name: 'TimesheetPolicy',\n source: `${config.module}.TimesheetPolicy`,\n title: `@${config.i18n}:timesheet-policies.entities.timesheet-policy.title`,\n titlePlural: `@${config.i18n}:timesheet-policies.entities.timesheet-policy.plural`,\n icon: 'fa-light fa-sliders',\n },\n },\n pages: {\n myTimesheet: {\n path: 'my-timesheet',\n title: `@${config.i18n}:pages.my-timesheet.title`,\n icon: 'fa-light fa-calendar-week',\n },\n approvalInbox: {\n path: 'approval-inbox',\n title: `@${config.i18n}:pages.approval-inbox.title`,\n icon: 'fa-light fa-inbox',\n },\n teamTimesheets: {\n path: 'team-timesheets',\n title: `@${config.i18n}:pages.team-timesheets.title`,\n icon: 'fa-light fa-users',\n },\n },\n};\n\n//#endregion\n","/**\n * Projects & Work capabilities used by this module.\n * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).\n */\nexport const AXPProjectsWorkPermissionKeys = {\n Access: 'ProjectsWork:Permission:Access',\n MaintainProjects: 'ProjectsWork:Permission:MaintainProjects',\n MaintainTasks: 'ProjectsWork:Permission:MaintainTasks',\n ViewAllTasks: 'ProjectsWork:Permission:ViewAllTasks',\n MaintainTimesheets: 'ProjectsWork:Permission:MaintainTimesheets',\n ManageTimesheetActions: 'ProjectsWork:Permission:ManageTimesheetActions',\n ViewTimesheetReports: 'ProjectsWork:Permission:ViewTimesheetReports',\n Setup: 'ProjectsWork:Permission:Setup',\n} as const;\n\n/**\n * @deprecated Prefer {@link AXPProjectsWorkPermissionKeys}.\n * Legacy nested shape kept so existing imports compile during migration.\n */\nexport const AXMTimesheetManagementPermissions = {\n TimesheetManagement: {\n WorkItem: {\n Management: AXPProjectsWorkPermissionKeys.Setup,\n View: AXPProjectsWorkPermissionKeys.MaintainTimesheets,\n Create: AXPProjectsWorkPermissionKeys.Setup,\n Update: AXPProjectsWorkPermissionKeys.Setup,\n Delete: AXPProjectsWorkPermissionKeys.Setup,\n },\n TimesheetPeriod: {\n Management: AXPProjectsWorkPermissionKeys.MaintainTimesheets,\n View: AXPProjectsWorkPermissionKeys.MaintainTimesheets,\n Create: AXPProjectsWorkPermissionKeys.MaintainTimesheets,\n Update: AXPProjectsWorkPermissionKeys.MaintainTimesheets,\n Delete: AXPProjectsWorkPermissionKeys.MaintainTimesheets,\n TeamView: AXPProjectsWorkPermissionKeys.ManageTimesheetActions,\n Approve: AXPProjectsWorkPermissionKeys.ManageTimesheetActions,\n AdminAdjust: AXPProjectsWorkPermissionKeys.ManageTimesheetActions,\n },\n TimeEntry: {\n Management: AXPProjectsWorkPermissionKeys.MaintainTimesheets,\n View: AXPProjectsWorkPermissionKeys.MaintainTimesheets,\n Create: AXPProjectsWorkPermissionKeys.MaintainTimesheets,\n Update: AXPProjectsWorkPermissionKeys.MaintainTimesheets,\n Delete: AXPProjectsWorkPermissionKeys.MaintainTimesheets,\n },\n TimesheetCorrection: {\n Management: AXPProjectsWorkPermissionKeys.ManageTimesheetActions,\n View: AXPProjectsWorkPermissionKeys.ManageTimesheetActions,\n Approve: AXPProjectsWorkPermissionKeys.ManageTimesheetActions,\n },\n TimesheetPolicy: {\n Management: AXPProjectsWorkPermissionKeys.Setup,\n View: AXPProjectsWorkPermissionKeys.Setup,\n },\n TimesheetReport: {\n View: AXPProjectsWorkPermissionKeys.ViewTimesheetReports,\n Export: AXPProjectsWorkPermissionKeys.ViewTimesheetReports,\n },\n },\n} as const;\n","//#region ---- Menu Keys ----\n\nexport const AXMTimesheetManagementMenuKeys = {\n Root: 'TimesheetManagement:Menu',\n MyTimesheet: 'TimesheetManagement:Menu:MyTimesheet',\n PeriodHistory: 'TimesheetManagement:Menu:PeriodHistory',\n ApprovalInbox: 'TimesheetManagement:Menu:ApprovalInbox',\n TeamTimesheets: 'TimesheetManagement:Menu:TeamTimesheets',\n WorkItems: 'TimesheetManagement:Menu:WorkItems',\n Reports: 'TimesheetManagement:Menu:Reports',\n Configuration: 'TimesheetManagement:Menu:Configuration',\n Policies: 'TimesheetManagement:Menu:Policies',\n};\n\n//#endregion\n","//#region ---- Feature Keys ----\n\nexport const AXMTimesheetManagementFeatureKeys = {\n TimesheetEntry: 'TimesheetManagement:Feature:Timesheet.Entry',\n TimesheetApproval: 'TimesheetManagement:Feature:Timesheet.Approval',\n TimesheetReporting: 'TimesheetManagement:Feature:Timesheet.Reporting',\n};\n\n//#endregion\n","//#region ---- Command Keys ----\n\nexport const AXMTimesheetManagementCommandKeys = {\n WorkItemResolveFromJira: 'TimesheetManagement.WorkItem:ResolveFromJiraIssue',\n TimeEntryCreate: 'TimesheetManagement.TimeEntry:Create',\n TimeEntryUpdate: 'TimesheetManagement.TimeEntry:Update',\n TimeEntryDelete: 'TimesheetManagement.TimeEntry:Delete',\n TimesheetPeriodSubmit: 'TimesheetManagement.TimesheetPeriod:Submit',\n TimesheetPeriodApprove: 'TimesheetManagement.TimesheetPeriod:Approve',\n TimesheetPeriodReject: 'TimesheetManagement.TimesheetPeriod:Reject',\n TimesheetPeriodReopen: 'TimesheetManagement.TimesheetPeriod:Reopen',\n TimesheetPeriodLock: 'TimesheetManagement.TimesheetPeriod:Lock',\n TimesheetPeriodAdminAdjust: 'TimesheetManagement.TimesheetPeriod:AdminAdjust',\n};\n\n//#endregion\n","import { AXPSystemStatusType } from '@acorex-platform/framework-shared/core';\n\n//#region ---- Timesheet period open statuses ----\n\n/** Statuses that block creating another open period for the same employee and date range. */\nexport const AXMTimesheetPeriodOpenStatusIds = [\n AXPSystemStatusType.Draft,\n AXPSystemStatusType.WaitingApproval,\n] as const;\n\n/** Statuses where time entries cannot be edited. */\nexport const AXMTimesheetPeriodLockedStatusId = 'locked' as const;\n\nexport const AXMTimesheetPeriodLockedStatusIds = [\n AXPSystemStatusType.Approved,\n AXMTimesheetPeriodLockedStatusId,\n] as const;\n\n//#endregion\n","import type { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\nimport type { AXMTimesheetWorkItemSnapshot } from '../work-item/work-item.types';\n\n//#region ---- Time Entry Types ----\n\nexport interface AXMTimesheetManagementTimeEntryEntityModel extends AXPEntityModel<string> {\n employeeId: string;\n employee?: { id: string; employeeCode?: string; person?: { fullName?: string } };\n periodId: string;\n period?: { id: string; startDate?: string; endDate?: string; statusId?: string };\n workItemId: string;\n workItem?: { id: string; code?: string; title?: string };\n projectId?: string;\n project?: { id: string; title?: string };\n startedAt?: string;\n endedAt?: string;\n durationSeconds: number;\n description?: string;\n isBillable: boolean;\n entryDate: string;\n timezone: string;\n workItemSnapshot?: AXMTimesheetWorkItemSnapshot;\n}\n\n//#endregion\n","import type { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\nimport { AXPSystemStatusType } from '@acorex-platform/framework-shared/core';\n\n//#region ---- Timesheet Correction Types ----\n\nexport type AXMTimesheetCorrectionStatusId =\n | typeof AXPSystemStatusType.WaitingApproval\n | typeof AXPSystemStatusType.Approved\n | typeof AXPSystemStatusType.Rejected;\n\nexport interface AXMTimesheetCorrectionChange {\n timeEntryId: string;\n field: string;\n oldValue: unknown;\n newValue: unknown;\n}\n\nexport interface AXMTimesheetManagementTimesheetCorrectionEntityModel extends AXPEntityModel<string> {\n periodId: string;\n period?: { id: string; startDate?: string; endDate?: string };\n requestedById: string;\n reason: string;\n statusId: AXMTimesheetCorrectionStatusId;\n changes: AXMTimesheetCorrectionChange[];\n reviewedById?: string;\n reviewedAt?: string;\n}\n\n//#endregion\n","import type { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\nimport { AXPSystemStatusType } from '@acorex-platform/framework-shared/core';\n\n//#region ---- Timesheet Period Types ----\n\nexport type AXMTimesheetPeriodType = 'Weekly' | 'Biweekly' | 'Monthly';\n\nexport type AXMTimesheetPeriodStatusId =\n | typeof AXPSystemStatusType.Draft\n | typeof AXPSystemStatusType.WaitingApproval\n | typeof AXPSystemStatusType.Approved\n | typeof AXPSystemStatusType.Rejected\n | 'locked';\n\nexport interface AXMTimesheetManagementTimesheetPeriodEntityModel extends AXPEntityModel<string> {\n employeeId: string;\n employee?: { id: string; employeeCode?: string; person?: { fullName?: string } };\n periodType: AXMTimesheetPeriodType;\n startDate: string;\n endDate: string;\n statusId: AXMTimesheetPeriodStatusId;\n submittedAt?: string;\n approvedAt?: string;\n approvedById?: string;\n rejectedAt?: string;\n rejectionReason?: string;\n lockedAt?: string;\n totalSeconds?: number;\n timezone: string;\n}\n\n//#endregion\n","import type { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\nimport type { AXMTimesheetPeriodType } from '../timesheet-period/timesheet-period.types';\n\n//#region ---- Timesheet Policy Types ----\n\nexport type AXMTimesheetOverlapPolicy = 'reject' | 'warn';\n\nexport interface AXMTimesheetManagementTimesheetPolicyEntityModel extends AXPEntityModel<string> {\n name: string;\n maxDailyHours?: number;\n maxWeeklyHours?: number;\n requireDescription: boolean;\n allowFutureDates: boolean;\n overlapPolicy: AXMTimesheetOverlapPolicy;\n periodTypeDefault: AXMTimesheetPeriodType;\n isDefault: boolean;\n}\n\n//#endregion\n","import type { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport type { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n\n//#region ---- Work Item Types ----\n\nexport type AXMTimesheetWorkItemSourceType = 'Internal' | 'Jira' | 'Task';\n\nexport interface AXMTimesheetWorkItemSourceRef {\n system: 'internal' | 'jira' | 'task';\n jiraInstanceId?: string;\n jiraIssueId?: string;\n jiraIssueKey?: string;\n taskId?: string;\n internalCode?: string;\n}\n\nexport interface AXMTimesheetWorkItemSnapshot {\n title: string;\n subtitle?: string;\n projectKey?: string;\n statusName?: string;\n capturedAt: string;\n}\n\nexport interface AXMTimesheetManagementWorkItemEntityModel extends AXPEntityModel<string> {\n code: string;\n title: AXPMultiLanguageString;\n sourceType: AXMTimesheetWorkItemSourceType;\n sourceRef?: AXMTimesheetWorkItemSourceRef;\n snapshot?: AXMTimesheetWorkItemSnapshot;\n isBillableDefault: boolean;\n isActive: boolean;\n employeeId?: string;\n employee?: { id: string; employeeCode?: string; person?: { fullName?: string } };\n projectId?: string;\n project?: { id: string; title?: string };\n}\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAAA;AAEA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,sBAAsB;AAC5B,IAAA,MAAM,EAAE,qBAAqB;AAC7B,IAAA,KAAK,EAAE,sBAAsB;CAC9B;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC,MAAM;QACnB,KAAK,EAAE,MAAM,CAAC,KAAK;AACnB,QAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,aAAA,CAAe;AACrC,QAAA,IAAI,EAAE,mBAAmB;AAC1B,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,QAAQ,EAAE;AACR,YAAA,IAAI,EAAE,UAAU;AAChB,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,SAAA,CAAW;AACnC,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,oCAAA,CAAsC;AAC5D,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,qCAAA,CAAuC;AACnE,YAAA,IAAI,EAAE,wBAAwB;AAC/B,SAAA;AACD,QAAA,eAAe,EAA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EAAE,wCAAwC;AACvD,IAAA,cAAc,EAAE,yCAAyC;AACzD,IAAA,SAAS,EAAE,oCAAoC;AAC/C,IAAA,OAAO,EAAE,kCAAkC;AAC3C,IAAA,aAAa,EAAE,wCAAwC;AACvD,IAAA,QAAQ,EAAE,mCAAmC;;AAG/C;;ACdA;AAEO,MAAM,iCAAiC,GAAG;AAC/C,IAAA,cAAc,EAAE,6CAA6C;AAC7D,IAAA,iBAAiB,EAAE,gDAAgD;AACnE,IAAA,kBAAkB,EAAE,iDAAiD;;AAGvE;;ACRA;AAEO,MAAM,iCAAiC,GAAG;AAC/C,IAAA,uBAAuB,EAAE,mDAAmD;AAC5E,IAAA,eAAe,EAAE,sCAAsC;AACvD,IAAA,eAAe,EAAE,sCAAsC;AACvD,IAAA,eAAe,EAAE,sCAAsC;AACvD,IAAA,qBAAqB,EAAE,4CAA4C;AACnE,IAAA,sBAAsB,EAAE,6CAA6C;AACrE,IAAA,qBAAqB,EAAE,4CAA4C;AACnE,IAAA,qBAAqB,EAAE,4CAA4C;AACnE,IAAA,mBAAmB,EAAE,0CAA0C;AAC/D,IAAA,0BAA0B,EAAE,iDAAiD;;AAG/E;;ACbA;AAEA;AACO,MAAM,+BAA+B,GAAG;AAC7C,IAAA,mBAAmB,CAAC,KAAK;AACzB,IAAA,mBAAmB,CAAC,eAAe;;AAGrC;AACO,MAAM,gCAAgC,GAAG;AAEzC,MAAM,iCAAiC,GAAG;AAC/C,IAAA,mBAAmB,CAAC,QAAQ;IAC5B,gCAAgC;;AAGlC;;ACMA;;ACIA;;ACGA;;ACbA;;ACoBA;;ACtCA;;AAEG;;"}
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-timesheet-management-client-contracts.mjs","sources":["../../../../libs/modules/timesheet-management/contracts/src/root-config.ts","../../../../libs/modules/timesheet-management/contracts/src/manifest.ts","../../../../libs/modules/timesheet-management/contracts/src/permission.keys.ts","../../../../libs/modules/timesheet-management/contracts/src/menu.keys.ts","../../../../libs/modules/timesheet-management/contracts/src/features.keys.ts","../../../../libs/modules/timesheet-management/contracts/src/commands.keys.ts","../../../../libs/modules/timesheet-management/contracts/src/timesheet-period-status.constants.ts","../../../../libs/modules/timesheet-management/contracts/src/entities/time-entry/time-entry.types.ts","../../../../libs/modules/timesheet-management/contracts/src/entities/timesheet-correction/timesheet-correction.types.ts","../../../../libs/modules/timesheet-management/contracts/src/entities/timesheet-period/timesheet-period.types.ts","../../../../libs/modules/timesheet-management/contracts/src/entities/timesheet-policy/timesheet-policy.types.ts","../../../../libs/modules/timesheet-management/contracts/src/entities/work-item/work-item.types.ts","../../../../libs/modules/timesheet-management/contracts/src/acorex-platform-module-timesheet-management-client-contracts.ts"],"sourcesContent":["//#region ---- Module Config ----\n\nconst config = {\n i18n: 'timesheet-management',\n module: 'TimesheetManagement',\n route: 'timesheet-management',\n};\n\nexport const RootConfig = {\n config,\n module: {\n name: config.module,\n route: config.route,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-clock',\n },\n entities: {\n workItem: {\n name: 'WorkItem',\n source: `${config.module}.WorkItem`,\n title: `@${config.i18n}:work-items.entities.work-item.title`,\n titlePlural: `@${config.i18n}:work-items.entities.work-item.plural`,\n icon: 'fa-light fa-list-check',\n },\n timesheetPeriod: {\n name: 'TimesheetPeriod',\n source: `${config.module}.TimesheetPeriod`,\n title: `@${config.i18n}:timesheet-periods.entities.timesheet-period.title`,\n titlePlural: `@${config.i18n}:timesheet-periods.entities.timesheet-period.plural`,\n icon: 'fa-light fa-calendar-week',\n },\n timeEntry: {\n name: 'TimeEntry',\n source: `${config.module}.TimeEntry`,\n title: `@${config.i18n}:time-entries.entities.time-entry.title`,\n titlePlural: `@${config.i18n}:time-entries.entities.time-entry.plural`,\n icon: 'fa-light fa-hourglass-half',\n },\n timesheetCorrection: {\n name: 'TimesheetCorrection',\n source: `${config.module}.TimesheetCorrection`,\n title: `@${config.i18n}:timesheet-corrections.entities.timesheet-correction.title`,\n titlePlural: `@${config.i18n}:timesheet-corrections.entities.timesheet-correction.plural`,\n icon: 'fa-light fa-pen-to-square',\n },\n timesheetPolicy: {\n name: 'TimesheetPolicy',\n source: `${config.module}.TimesheetPolicy`,\n title: `@${config.i18n}:timesheet-policies.entities.timesheet-policy.title`,\n titlePlural: `@${config.i18n}:timesheet-policies.entities.timesheet-policy.plural`,\n icon: 'fa-light fa-sliders',\n },\n },\n pages: {\n myTimesheet: {\n path: 'my-timesheet',\n title: `@${config.i18n}:pages.my-timesheet.title`,\n icon: 'fa-light fa-calendar-week',\n },\n approvalInbox: {\n path: 'approval-inbox',\n title: `@${config.i18n}:pages.approval-inbox.title`,\n icon: 'fa-light fa-inbox',\n },\n teamTimesheets: {\n path: 'team-timesheets',\n title: `@${config.i18n}:pages.team-timesheets.title`,\n icon: 'fa-light fa-users',\n },\n },\n};\n\n//#endregion\n","\nimport { AXPModuleManifest } from '@acorex-platform/framework-shared/core';\nimport { RootConfig } from './root-config';\n\nexport const TimesheetManagementManifest: AXPModuleManifest = {\n name: RootConfig.module.name,\n version: '1.0.0',\n title: RootConfig.module.title,\n icon: RootConfig.module.icon,\n i18n: RootConfig.config.i18n,\n type: 'domain',\n domain: 'human-capital',\n required: false,\n};\n","/**\n * Projects & Work capabilities used by this module.\n * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).\n */\nexport const AXPProjectsWorkPermissionKeys = {\n Access: 'ProjectsWork:Permission:Access',\n MaintainProjects: 'ProjectsWork:Permission:MaintainProjects',\n MaintainTasks: 'ProjectsWork:Permission:MaintainTasks',\n ViewAllTasks: 'ProjectsWork:Permission:ViewAllTasks',\n MaintainTimesheets: 'ProjectsWork:Permission:MaintainTimesheets',\n ManageTimesheetActions: 'ProjectsWork:Permission:ManageTimesheetActions',\n ViewTimesheetReports: 'ProjectsWork:Permission:ViewTimesheetReports',\n Setup: 'ProjectsWork:Permission:Setup',\n} as const;\n\n/**\n * @deprecated Prefer {@link AXPProjectsWorkPermissionKeys}.\n * Legacy nested shape kept so existing imports compile during migration.\n */\nexport const AXMTimesheetManagementPermissions = {\n TimesheetManagement: {\n WorkItem: {\n Management: AXPProjectsWorkPermissionKeys.Setup,\n View: AXPProjectsWorkPermissionKeys.MaintainTimesheets,\n Create: AXPProjectsWorkPermissionKeys.Setup,\n Update: AXPProjectsWorkPermissionKeys.Setup,\n Delete: AXPProjectsWorkPermissionKeys.Setup,\n },\n TimesheetPeriod: {\n Management: AXPProjectsWorkPermissionKeys.MaintainTimesheets,\n View: AXPProjectsWorkPermissionKeys.MaintainTimesheets,\n Create: AXPProjectsWorkPermissionKeys.MaintainTimesheets,\n Update: AXPProjectsWorkPermissionKeys.MaintainTimesheets,\n Delete: AXPProjectsWorkPermissionKeys.MaintainTimesheets,\n TeamView: AXPProjectsWorkPermissionKeys.ManageTimesheetActions,\n Approve: AXPProjectsWorkPermissionKeys.ManageTimesheetActions,\n AdminAdjust: AXPProjectsWorkPermissionKeys.ManageTimesheetActions,\n },\n TimeEntry: {\n Management: AXPProjectsWorkPermissionKeys.MaintainTimesheets,\n View: AXPProjectsWorkPermissionKeys.MaintainTimesheets,\n Create: AXPProjectsWorkPermissionKeys.MaintainTimesheets,\n Update: AXPProjectsWorkPermissionKeys.MaintainTimesheets,\n Delete: AXPProjectsWorkPermissionKeys.MaintainTimesheets,\n },\n TimesheetCorrection: {\n Management: AXPProjectsWorkPermissionKeys.ManageTimesheetActions,\n View: AXPProjectsWorkPermissionKeys.ManageTimesheetActions,\n Approve: AXPProjectsWorkPermissionKeys.ManageTimesheetActions,\n },\n TimesheetPolicy: {\n Management: AXPProjectsWorkPermissionKeys.Setup,\n View: AXPProjectsWorkPermissionKeys.Setup,\n },\n TimesheetReport: {\n View: AXPProjectsWorkPermissionKeys.ViewTimesheetReports,\n Export: AXPProjectsWorkPermissionKeys.ViewTimesheetReports,\n },\n },\n} as const;\n","//#region ---- Menu Keys ----\n\nexport const AXMTimesheetManagementMenuKeys = {\n Root: 'TimesheetManagement:Menu',\n MyTimesheet: 'TimesheetManagement:Menu:MyTimesheet',\n PeriodHistory: 'TimesheetManagement:Menu:PeriodHistory',\n ApprovalInbox: 'TimesheetManagement:Menu:ApprovalInbox',\n TeamTimesheets: 'TimesheetManagement:Menu:TeamTimesheets',\n WorkItems: 'TimesheetManagement:Menu:WorkItems',\n Reports: 'TimesheetManagement:Menu:Reports',\n Configuration: 'TimesheetManagement:Menu:Configuration',\n Policies: 'TimesheetManagement:Menu:Policies',\n};\n\n//#endregion\n","//#region ---- Feature Keys ----\n\nexport const AXMTimesheetManagementFeatureKeys = {\n TimesheetEntry: 'TimesheetManagement:Feature:Timesheet.Entry',\n TimesheetApproval: 'TimesheetManagement:Feature:Timesheet.Approval',\n TimesheetReporting: 'TimesheetManagement:Feature:Timesheet.Reporting',\n};\n\n//#endregion\n","//#region ---- Command Keys ----\n\nexport const AXMTimesheetManagementCommandKeys = {\n WorkItemResolveFromJira: 'TimesheetManagement.WorkItem:ResolveFromJiraIssue',\n TimeEntryCreate: 'TimesheetManagement.TimeEntry:Create',\n TimeEntryUpdate: 'TimesheetManagement.TimeEntry:Update',\n TimeEntryDelete: 'TimesheetManagement.TimeEntry:Delete',\n TimesheetPeriodSubmit: 'TimesheetManagement.TimesheetPeriod:Submit',\n TimesheetPeriodApprove: 'TimesheetManagement.TimesheetPeriod:Approve',\n TimesheetPeriodReject: 'TimesheetManagement.TimesheetPeriod:Reject',\n TimesheetPeriodReopen: 'TimesheetManagement.TimesheetPeriod:Reopen',\n TimesheetPeriodLock: 'TimesheetManagement.TimesheetPeriod:Lock',\n TimesheetPeriodAdminAdjust: 'TimesheetManagement.TimesheetPeriod:AdminAdjust',\n};\n\n//#endregion\n","import { AXPSystemStatusType } from '@acorex-platform/framework-shared/core';\n\n//#region ---- Timesheet period open statuses ----\n\n/** Statuses that block creating another open period for the same employee and date range. */\nexport const AXMTimesheetPeriodOpenStatusIds = [\n AXPSystemStatusType.Draft,\n AXPSystemStatusType.WaitingApproval,\n] as const;\n\n/** Statuses where time entries cannot be edited. */\nexport const AXMTimesheetPeriodLockedStatusId = 'locked' as const;\n\nexport const AXMTimesheetPeriodLockedStatusIds = [\n AXPSystemStatusType.Approved,\n AXMTimesheetPeriodLockedStatusId,\n] as const;\n\n//#endregion\n","import type { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\nimport type { AXMTimesheetWorkItemSnapshot } from '../work-item/work-item.types';\n\n//#region ---- Time Entry Types ----\n\nexport interface AXMTimesheetManagementTimeEntryEntityModel extends AXPEntityModel<string> {\n employeeId: string;\n employee?: { id: string; employeeCode?: string; person?: { fullName?: string } };\n periodId: string;\n period?: { id: string; startDate?: string; endDate?: string; statusId?: string };\n workItemId: string;\n workItem?: { id: string; code?: string; title?: string };\n projectId?: string;\n project?: { id: string; title?: string };\n startedAt?: string;\n endedAt?: string;\n durationSeconds: number;\n description?: string;\n isBillable: boolean;\n entryDate: string;\n timezone: string;\n workItemSnapshot?: AXMTimesheetWorkItemSnapshot;\n}\n\n//#endregion\n","import type { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\nimport { AXPSystemStatusType } from '@acorex-platform/framework-shared/core';\n\n//#region ---- Timesheet Correction Types ----\n\nexport type AXMTimesheetCorrectionStatusId =\n | typeof AXPSystemStatusType.WaitingApproval\n | typeof AXPSystemStatusType.Approved\n | typeof AXPSystemStatusType.Rejected;\n\nexport interface AXMTimesheetCorrectionChange {\n timeEntryId: string;\n field: string;\n oldValue: unknown;\n newValue: unknown;\n}\n\nexport interface AXMTimesheetManagementTimesheetCorrectionEntityModel extends AXPEntityModel<string> {\n periodId: string;\n period?: { id: string; startDate?: string; endDate?: string };\n requestedById: string;\n reason: string;\n statusId: AXMTimesheetCorrectionStatusId;\n changes: AXMTimesheetCorrectionChange[];\n reviewedById?: string;\n reviewedAt?: string;\n}\n\n//#endregion\n","import type { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\nimport { AXPSystemStatusType } from '@acorex-platform/framework-shared/core';\n\n//#region ---- Timesheet Period Types ----\n\nexport type AXMTimesheetPeriodType = 'Weekly' | 'Biweekly' | 'Monthly';\n\nexport type AXMTimesheetPeriodStatusId =\n | typeof AXPSystemStatusType.Draft\n | typeof AXPSystemStatusType.WaitingApproval\n | typeof AXPSystemStatusType.Approved\n | typeof AXPSystemStatusType.Rejected\n | 'locked';\n\nexport interface AXMTimesheetManagementTimesheetPeriodEntityModel extends AXPEntityModel<string> {\n employeeId: string;\n employee?: { id: string; employeeCode?: string; person?: { fullName?: string } };\n periodType: AXMTimesheetPeriodType;\n startDate: string;\n endDate: string;\n statusId: AXMTimesheetPeriodStatusId;\n submittedAt?: string;\n approvedAt?: string;\n approvedById?: string;\n rejectedAt?: string;\n rejectionReason?: string;\n lockedAt?: string;\n totalSeconds?: number;\n timezone: string;\n}\n\n//#endregion\n","import type { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\nimport type { AXMTimesheetPeriodType } from '../timesheet-period/timesheet-period.types';\n\n//#region ---- Timesheet Policy Types ----\n\nexport type AXMTimesheetOverlapPolicy = 'reject' | 'warn';\n\nexport interface AXMTimesheetManagementTimesheetPolicyEntityModel extends AXPEntityModel<string> {\n name: string;\n maxDailyHours?: number;\n maxWeeklyHours?: number;\n requireDescription: boolean;\n allowFutureDates: boolean;\n overlapPolicy: AXMTimesheetOverlapPolicy;\n periodTypeDefault: AXMTimesheetPeriodType;\n isDefault: boolean;\n}\n\n//#endregion\n","import type { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport type { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n\n//#region ---- Work Item Types ----\n\nexport type AXMTimesheetWorkItemSourceType = 'Internal' | 'Jira' | 'Task';\n\nexport interface AXMTimesheetWorkItemSourceRef {\n system: 'internal' | 'jira' | 'task';\n jiraInstanceId?: string;\n jiraIssueId?: string;\n jiraIssueKey?: string;\n taskId?: string;\n internalCode?: string;\n}\n\nexport interface AXMTimesheetWorkItemSnapshot {\n title: string;\n subtitle?: string;\n projectKey?: string;\n statusName?: string;\n capturedAt: string;\n}\n\nexport interface AXMTimesheetManagementWorkItemEntityModel extends AXPEntityModel<string> {\n code: string;\n title: AXPMultiLanguageString;\n sourceType: AXMTimesheetWorkItemSourceType;\n sourceRef?: AXMTimesheetWorkItemSourceRef;\n snapshot?: AXMTimesheetWorkItemSnapshot;\n isBillableDefault: boolean;\n isActive: boolean;\n employeeId?: string;\n employee?: { id: string; employeeCode?: string; person?: { fullName?: string } };\n projectId?: string;\n project?: { id: string; title?: string };\n}\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAAA;AAEA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,sBAAsB;AAC5B,IAAA,MAAM,EAAE,qBAAqB;AAC7B,IAAA,KAAK,EAAE,sBAAsB;CAC9B;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC,MAAM;QACnB,KAAK,EAAE,MAAM,CAAC,KAAK;AACnB,QAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,aAAA,CAAe;AACrC,QAAA,IAAI,EAAE,mBAAmB;AAC1B,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,QAAQ,EAAE;AACR,YAAA,IAAI,EAAE,UAAU;AAChB,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,SAAA,CAAW;AACnC,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,oCAAA,CAAsC;AAC5D,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,qCAAA,CAAuC;AACnE,YAAA,IAAI,EAAE,wBAAwB;AAC/B,SAAA;AACD,QAAA,eAAe,EAAE;AACf,YAAA,IAAI,EAAE,iBAAiB;AACvB,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,gBAAA,CAAk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;ACGA;;ACbA;;ACoBA;;ACtCA;;AAEG;;"}
|
|
@@ -16,10 +16,11 @@ import * as i0 from '@angular/core';
|
|
|
16
16
|
import { inject, signal, computed, ViewEncapsulation, ChangeDetectionStrategy, Component, Injectable, NgModule } from '@angular/core';
|
|
17
17
|
import { groupBy, sumBy } from 'lodash';
|
|
18
18
|
import { RootConfig, AXMTimesheetManagementFeatureKeys, AXMTimesheetPeriodLockedStatusId, AXPProjectsWorkPermissionKeys, AXMTimesheetManagementMenuKeys, AXMTimesheetManagementCommandKeys } from '@acorex-platform/module-timesheet-management-client/contracts';
|
|
19
|
+
export { TimesheetManagementManifest } from '@acorex-platform/module-timesheet-management-client/contracts';
|
|
19
20
|
import { AXP_PROTECTED_ROUTE_GUARDS, AXP_MENU_PROVIDER, AXP_STATUS_PROVIDERS } from '@acorex-platform/framework-client/common';
|
|
20
21
|
import { AXPRootLayoutComponent } from '@acorex-platform/framework-client/themes/default';
|
|
21
22
|
import { AXPSessionService, AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';
|
|
22
|
-
import {
|
|
23
|
+
import { AXP_FEATURE_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/core';
|
|
23
24
|
import { ROUTES } from '@angular/router';
|
|
24
25
|
import { AXPCommonMenuKeys, AXPCommonPermissionGroupKeys } from '@acorex-platform/module-common-client/contracts';
|
|
25
26
|
import { firstValueFrom } from 'rxjs';
|
|
@@ -465,17 +466,6 @@ class AXMTimesheetPeriodStatusProvider extends AXPStatusProvider {
|
|
|
465
466
|
}
|
|
466
467
|
//#endregion
|
|
467
468
|
|
|
468
|
-
const TimesheetManagementManifest = {
|
|
469
|
-
name: RootConfig.module.name,
|
|
470
|
-
version: '1.0.0',
|
|
471
|
-
title: RootConfig.module.title,
|
|
472
|
-
icon: RootConfig.module.icon,
|
|
473
|
-
i18n: RootConfig.config.i18n,
|
|
474
|
-
type: 'domain',
|
|
475
|
-
domain: 'human-capital',
|
|
476
|
-
required: false,
|
|
477
|
-
};
|
|
478
|
-
|
|
479
469
|
//#region ---- Menu Provider ----
|
|
480
470
|
class AXMTimesheetManagementMenuProvider {
|
|
481
471
|
constructor() {
|
|
@@ -636,11 +626,6 @@ class AXMTimesheetManagementModule {
|
|
|
636
626
|
useClass: AXMMyTimesheetPageComponentProvider,
|
|
637
627
|
multi: true,
|
|
638
628
|
},
|
|
639
|
-
{
|
|
640
|
-
provide: AXP_MODULE_MANIFEST_PROVIDER,
|
|
641
|
-
useValue: TimesheetManagementManifest,
|
|
642
|
-
multi: true,
|
|
643
|
-
},
|
|
644
629
|
{
|
|
645
630
|
provide: AXP_PERMISSION_DEFINITION_PROVIDER,
|
|
646
631
|
useClass: AXMTimesheetManagementPermissionDefinitionProvider,
|
|
@@ -766,11 +751,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
766
751
|
useClass: AXMMyTimesheetPageComponentProvider,
|
|
767
752
|
multi: true,
|
|
768
753
|
},
|
|
769
|
-
{
|
|
770
|
-
provide: AXP_MODULE_MANIFEST_PROVIDER,
|
|
771
|
-
useValue: TimesheetManagementManifest,
|
|
772
|
-
multi: true,
|
|
773
|
-
},
|
|
774
754
|
{
|
|
775
755
|
provide: AXP_PERMISSION_DEFINITION_PROVIDER,
|
|
776
756
|
useClass: AXMTimesheetManagementPermissionDefinitionProvider,
|
|
@@ -887,5 +867,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
887
867
|
* Generated bundle index. Do not edit.
|
|
888
868
|
*/
|
|
889
869
|
|
|
890
|
-
export { AXMMyTimesheetPageComponent, AXMMyTimesheetPageComponentProvider, AXMTimesheetManagementFeatureDefinitionProvider, AXMTimesheetManagementModule, MY_TIMESHEET_PAGE_COMPONENT_KEY,
|
|
870
|
+
export { AXMMyTimesheetPageComponent, AXMMyTimesheetPageComponentProvider, AXMTimesheetManagementFeatureDefinitionProvider, AXMTimesheetManagementModule, MY_TIMESHEET_PAGE_COMPONENT_KEY, myTimesheetPageRoutes };
|
|
891
871
|
//# sourceMappingURL=acorex-platform-module-timesheet-management-client.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-timesheet-management-client.mjs","sources":["../../../../libs/modules/timesheet-management/client/src/lib/features/my-timesheet/my-timesheet-page.component.ts","../../../../libs/modules/timesheet-management/client/src/lib/features/my-timesheet/my-timesheet-page.component.provider.ts","../../../../libs/modules/timesheet-management/client/src/lib/features/my-timesheet/my-timesheet-page.routes.ts","../../../../libs/modules/timesheet-management/client/src/lib/feature-definition.provider.ts","../../../../libs/modules/timesheet-management/client/src/lib/features/timesheet-correction/timesheet-correction-status.provider.ts","../../../../libs/modules/timesheet-management/client/src/lib/features/timesheet-period/timesheet-period-status.provider.ts","../../../../libs/modules/timesheet-management/client/src/lib/manifest.ts","../../../../libs/modules/timesheet-management/client/src/lib/menu.provider.ts","../../../../libs/modules/timesheet-management/client/src/lib/permission-definition.provider.ts","../../../../libs/modules/timesheet-management/client/src/lib/timesheet-management.module.ts","../../../../libs/modules/timesheet-management/client/src/acorex-platform-module-timesheet-management-client.ts"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPSystemStatusType } from '@acorex-platform/framework-shared/core';\nimport { AXPThemeLayoutBlockComponent } from '@acorex-platform/framework-client/layout/components';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport {\n AXPPageLayoutBase,\n AXPPageLayoutBaseComponent,\n AXPPageLayoutComponent,\n} from '@acorex-platform/framework-client/layout/views';\nimport { AXPCommandService } from '@acorex-platform/framework-client/runtime';\nimport { AsyncPipe, CommonModule } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n inject,\n OnInit,\n signal,\n ViewEncapsulation,\n} from '@angular/core';\nimport { groupBy, sumBy } from 'lodash';\nimport { RootConfig } from '@acorex-platform/module-timesheet-management-client/contracts';\nimport type { AXMTimesheetManagementTimeEntryEntityModel } from '@acorex-platform/module-timesheet-management-client/contracts';\nimport type { AXMTimesheetManagementTimesheetPeriodEntityModel } from '@acorex-platform/module-timesheet-management-client/contracts';\n\n//#region ---- Component ----\n\n@Component({\n selector: 'axm-my-timesheet-page',\n imports: [\n CommonModule,\n AsyncPipe,\n AXButtonModule,\n AXDecoratorModule,\n AXLoadingModule,\n AXTranslationModule,\n AXPPageLayoutComponent,\n AXPThemeLayoutBlockComponent,\n ],\n template: `\n <axp-page-layout>\n <axp-page-content>\n <div class=\"flex flex-col gap-4 p-4\">\n @if (loading()) {\n <ax-loading />\n } @else if (!period()) {\n <p class=\"text-sm text-muted\">\n {{ '@timesheet-management:pages.my-timesheet.empty-period' | translate | async }}\n </p>\n } @else {\n <div class=\"flex flex-wrap items-center justify-between gap-4\">\n <div>\n <p class=\"text-sm font-medium\">\n {{ period()?.startDate }} – {{ period()?.endDate }}\n </p>\n <p class=\"text-xs text-muted\">\n {{ '@timesheet-management:timesheet-periods.entities.timesheet-period.fields.status' | translate | async }}:\n {{ period()?.statusId }}\n </p>\n </div>\n <div class=\"flex items-center gap-3\">\n <p class=\"text-sm\">{{ formatHours(totalSeconds()) }}</p>\n @if (canSubmit()) {\n <ax-button color=\"primary\" (onClick)=\"submitCurrentPeriod()\">\n {{ '@timesheet-management:timesheet-periods.transitions.submit' | translate | async }}\n </ax-button>\n }\n </div>\n </div>\n\n <div class=\"overflow-x-auto rounded border border-surface\">\n <table class=\"w-full text-sm\">\n <thead>\n <tr class=\"border-b border-surface bg-lighter-surface\">\n <th class=\"p-2 text-left\">{{ '@general:terms.date' | translate | async }}</th>\n <th class=\"p-2 text-right\">{{ '@timesheet-management:time-entries.entities.time-entry.fields.duration' | translate | async }}</th>\n <th class=\"p-2 text-left\">{{ '@timesheet-management:work-items.entities.work-item.title' | translate | async }}</th>\n </tr>\n </thead>\n <tbody>\n @for (day of days(); track day.date) {\n <tr class=\"border-b border-lighter-surface\">\n <td class=\"p-2\">{{ day.date }}</td>\n <td class=\"p-2 text-right\">{{ formatHours(day.totalSeconds) }}</td>\n <td class=\"p-2\">{{ day.entries.length }}</td>\n </tr>\n }\n </tbody>\n </table>\n </div>\n }\n </div>\n </axp-page-content>\n </axp-page-layout>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n {\n provide: AXPPageLayoutBase,\n useExisting: AXMMyTimesheetPageComponent,\n },\n ],\n host: { class: 'axm-my-timesheet-page block w-full' },\n})\nexport class AXMMyTimesheetPageComponent extends AXPPageLayoutBaseComponent implements OnInit {\n //#region ---- Services & Dependencies ----\n\n private readonly entityService = inject(AXPEntityService);\n private readonly commandService = inject(AXPCommandService);\n\n //#endregion\n\n //#region ---- State ----\n\n protected readonly loading = signal(false);\n protected readonly period = signal<AXMTimesheetManagementTimesheetPeriodEntityModel | null>(null);\n protected readonly days = signal<{ date: string; totalSeconds: number; entries: AXMTimesheetManagementTimeEntryEntityModel[] }[]>([]);\n protected readonly totalSeconds = signal(0);\n\n protected readonly canSubmit = computed(\n () => this.period()?.statusId === AXPSystemStatusType.Draft,\n );\n\n //#endregion\n\n //#region ---- Lifecycle ----\n\n override async ngOnInit(): Promise<void> {\n await super.ngOnInit();\n await this.loadGrid();\n }\n\n //#endregion\n\n //#region ---- Page metadata ----\n\n override getPageTitle(): string {\n return RootConfig.pages.myTimesheet.title;\n }\n\n //#endregion\n\n //#region ---- UI handlers ----\n\n protected formatHours(totalSeconds: number): string {\n const hours = Math.floor(totalSeconds / 3600);\n const minutes = Math.floor((totalSeconds % 3600) / 60);\n return `${hours}h ${minutes}m`;\n }\n\n //#endregion\n\n //#region ---- Data loading ----\n\n private async loadGrid(): Promise<void> {\n const employeeId = this.sessionService.user?.id;\n if (!employeeId) {\n return;\n }\n\n this.loading.set(true);\n try {\n const periodAccessor = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.timesheetPeriod.name)\n .data<string, AXMTimesheetManagementTimesheetPeriodEntityModel>();\n\n const periods = await periodAccessor.query({\n skip: 0,\n take: 1,\n sort: [{ field: 'startDate', dir: 'desc' }],\n filter: {\n field: 'employeeId',\n operator: { type: 'equal' },\n value: employeeId,\n },\n });\n\n const currentPeriod = periods.items[0] ?? null;\n this.period.set(currentPeriod);\n\n if (!currentPeriod) {\n this.days.set([]);\n this.totalSeconds.set(0);\n this.recompute();\n return;\n }\n\n const entryAccessor = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.timeEntry.name)\n .data<string, AXMTimesheetManagementTimeEntryEntityModel>();\n\n const entriesResult = await entryAccessor.query({\n skip: 0,\n take: 1000,\n filter: {\n logic: 'and',\n filters: [\n { field: 'employeeId', operator: { type: 'equal' }, value: employeeId },\n { field: 'periodId', operator: { type: 'equal' }, value: currentPeriod.id },\n ],\n },\n });\n\n const grouped = groupBy(entriesResult.items, (row) => row.entryDate);\n const days = Object.keys(grouped)\n .sort()\n .map((date) => ({\n date,\n totalSeconds: sumBy(grouped[date], (row) => row.durationSeconds ?? 0),\n entries: grouped[date],\n }));\n\n this.days.set(days);\n this.totalSeconds.set(sumBy(entriesResult.items, (row) => row.durationSeconds ?? 0));\n this.recompute();\n } finally {\n this.loading.set(false);\n }\n }\n\n /** Submits the current period via the registered command. */\n protected async submitCurrentPeriod(): Promise<void> {\n const id = this.period()?.id;\n if (!id) {\n return;\n }\n\n const result = await this.commandService.execute('TimesheetManagement.TimesheetPeriod:Submit', { id });\n if (result?.success) {\n await this.loadGrid();\n }\n }\n\n //#endregion\n}\n\n//#endregion\n","import {\n AXPPageComponentDefinition,\n AXPPageComponentProvider,\n} from '@acorex-platform/framework-client/layout/components';\nimport { Injectable } from '@angular/core';\n\n//#region ---- Page component key ----\n\nexport const MY_TIMESHEET_PAGE_COMPONENT_KEY = 'timesheet-management-my-timesheet-page';\n\n//#endregion\n\n//#region ---- My Timesheet Page Component Provider ----\n\n@Injectable()\nexport class AXMMyTimesheetPageComponentProvider implements AXPPageComponentProvider {\n async components(): Promise<AXPPageComponentDefinition[]> {\n return [\n {\n key: MY_TIMESHEET_PAGE_COMPONENT_KEY,\n loader: () =>\n import('./my-timesheet-page.component').then((m) => m.AXMMyTimesheetPageComponent),\n },\n ];\n }\n}\n\n//#endregion\n","import { AXP_PROTECTED_ROUTE_GUARDS } from '@acorex-platform/framework-client/common';\nimport { AXPRootLayoutComponent } from '@acorex-platform/framework-client/themes/default';\nimport { Routes } from '@angular/router';\nimport { RootConfig } from '@acorex-platform/module-timesheet-management-client/contracts';\n\n//#region ---- My Timesheet Routes ----\n\nexport const myTimesheetPageRoutes: Routes = [\n {\n path: `:app/${RootConfig.module.route}/${RootConfig.pages.myTimesheet.path}`,\n canActivate: [...AXP_PROTECTED_ROUTE_GUARDS],\n loadComponent: () => AXPRootLayoutComponent,\n children: [\n {\n path: '',\n loadComponent: () =>\n import('./my-timesheet-page.component').then((m) => m.AXMMyTimesheetPageComponent),\n data: { reuse: true },\n },\n ],\n },\n];\n\n//#endregion\n","//#region ---- Imports ----\n\nimport {\n AXPFeatureDefinitionProvider,\n AXPFeatureDefinitionProviderContext,\n} from '@acorex-platform/framework-client/core';\nimport { AXMTimesheetManagementFeatureKeys } from '@acorex-platform/module-timesheet-management-client/contracts';\n\n//#endregion\n\n//#region ---- Feature Definition Provider ----\n\nexport class AXMTimesheetManagementFeatureDefinitionProvider implements AXPFeatureDefinitionProvider {\n async provide(context: AXPFeatureDefinitionProviderContext): Promise<void> {\n context.addFeature(AXMTimesheetManagementFeatureKeys.TimesheetEntry, {\n title: '@timesheet-management:features.timesheet-entry.title',\n description: '@timesheet-management:features.timesheet-entry.description',\n defaultValue: true,\n type: 'boolean',\n });\n\n context.addFeature(AXMTimesheetManagementFeatureKeys.TimesheetApproval, {\n title: '@timesheet-management:features.timesheet-approval.title',\n description: '@timesheet-management:features.timesheet-approval.description',\n defaultValue: true,\n type: 'boolean',\n });\n\n context.addFeature(AXMTimesheetManagementFeatureKeys.TimesheetReporting, {\n title: '@timesheet-management:features.timesheet-reporting.title',\n description: '@timesheet-management:features.timesheet-reporting.description',\n defaultValue: true,\n type: 'boolean',\n });\n }\n}\n\n//#endregion\n","//#region ---- Imports ----\n\nimport { AXPStatusProvider, AXPStatusTransition, AXPSystemStatusType, systemStatusToDefinition } from '@acorex-platform/framework-shared/core';\n\n//#endregion\n\n//#region ---- Timesheet Correction Status Provider ----\n\nexport class AXMTimesheetCorrectionStatusProvider extends AXPStatusProvider {\n readonly key = 'timesheet-management.status.timesheet-correction';\n\n readonly defaultStatus = AXPSystemStatusType.WaitingApproval;\n\n readonly statuses = [\n systemStatusToDefinition(AXPSystemStatusType.WaitingApproval, {\n title: '@timesheet-management:timesheet-corrections.states.waiting-approval',\n generateView: true,\n }),\n systemStatusToDefinition(AXPSystemStatusType.Approved, {\n title: '@timesheet-management:timesheet-corrections.states.approved',\n generateView: true,\n }),\n systemStatusToDefinition(AXPSystemStatusType.Rejected, {\n title: '@timesheet-management:timesheet-corrections.states.rejected',\n generateView: true,\n }),\n ];\n\n readonly transitions: AXPStatusTransition[] = [\n {\n from: AXPSystemStatusType.WaitingApproval,\n to: AXPSystemStatusType.Approved,\n title: '@general:statuses.transitions.approve',\n requiresApproval: true,\n },\n {\n from: AXPSystemStatusType.WaitingApproval,\n to: AXPSystemStatusType.Rejected,\n title: '@general:statuses.transitions.reject',\n requiresApproval: true,\n },\n ];\n}\n\n//#endregion\n","//#region ---- Imports ----\n\nimport { AXPStatusProvider, AXPStatusTransition, AXPSystemStatusType, systemStatusToDefinition } from '@acorex-platform/framework-shared/core';\nimport { AXMTimesheetPeriodLockedStatusId } from '@acorex-platform/module-timesheet-management-client/contracts';\n\n//#endregion\n\n//#region ---- Timesheet Period Status Provider ----\n\n/**\n * Timesheet period status provider defining Draft, WaitingApproval, Approved, Rejected, and locked states.\n * Used by the status plugin to manage period submission, approval, rejection, reopen, and lock transitions.\n */\nexport class AXMTimesheetPeriodStatusProvider extends AXPStatusProvider {\n readonly key = 'timesheet-management.status.timesheet-period';\n\n readonly defaultStatus = AXPSystemStatusType.Draft;\n\n readonly statuses = [\n systemStatusToDefinition(AXPSystemStatusType.Draft, {\n title: '@timesheet-management:timesheet-periods.states.draft',\n generateView: true,\n }),\n systemStatusToDefinition(AXPSystemStatusType.WaitingApproval, {\n title: '@timesheet-management:timesheet-periods.states.waiting-approval',\n generateView: true,\n }),\n systemStatusToDefinition(AXPSystemStatusType.Approved, {\n title: '@timesheet-management:timesheet-periods.states.approved',\n generateView: true,\n }),\n systemStatusToDefinition(AXPSystemStatusType.Rejected, {\n title: '@timesheet-management:timesheet-periods.states.rejected',\n generateView: true,\n }),\n {\n name: AXMTimesheetPeriodLockedStatusId,\n title: '@timesheet-management:timesheet-periods.states.locked',\n color: 'neutral',\n icon: 'fa-light fa-lock',\n generateView: true,\n },\n ];\n\n readonly transitions: AXPStatusTransition[] = [\n {\n from: AXPSystemStatusType.Draft,\n to: AXPSystemStatusType.WaitingApproval,\n title: '@timesheet-management:timesheet-periods.transitions.submit',\n requiresApproval: true,\n },\n {\n from: AXPSystemStatusType.WaitingApproval,\n to: AXPSystemStatusType.Approved,\n title: '@timesheet-management:timesheet-periods.transitions.approve',\n requiresApproval: true,\n },\n {\n from: AXPSystemStatusType.WaitingApproval,\n to: AXPSystemStatusType.Rejected,\n title: '@timesheet-management:timesheet-periods.transitions.reject',\n requiresApproval: true,\n },\n {\n from: AXPSystemStatusType.Rejected,\n to: AXPSystemStatusType.Draft,\n title: '@timesheet-management:timesheet-periods.transitions.reopen',\n },\n {\n from: AXPSystemStatusType.Approved,\n to: AXPSystemStatusType.Draft,\n title: '@timesheet-management:timesheet-periods.transitions.reopen',\n requiresApproval: true,\n },\n {\n from: AXPSystemStatusType.Approved,\n to: AXMTimesheetPeriodLockedStatusId,\n title: '@timesheet-management:timesheet-periods.transitions.lock',\n requiresApproval: true,\n },\n ];\n}\n\n//#endregion\n","import { AXPModuleManifest } from '@acorex-platform/framework-client/core';\nimport { RootConfig } from '@acorex-platform/module-timesheet-management-client/contracts';\n\nexport const TimesheetManagementManifest: AXPModuleManifest = {\n name: RootConfig.module.name,\n version: '1.0.0',\n title: RootConfig.module.title,\n icon: RootConfig.module.icon,\n i18n: RootConfig.config.i18n,\n type: 'domain',\n domain: 'human-capital',\n required: false,\n};\n","import { AXPSessionService } from '@acorex-platform/framework-client/auth';\nimport { AXPMenuProvider, AXPMenuProviderContext } from '@acorex-platform/framework-client/common';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport {\n AXPCommonMenuKeys\n} from '@acorex-platform/module-common-client/contracts';\nimport { inject } from '@angular/core';\nimport { firstValueFrom } from 'rxjs';\nimport {\n RootConfig,\n AXPProjectsWorkPermissionKeys\n} from '@acorex-platform/module-timesheet-management-client/contracts';\nimport { AXMTimesheetManagementFeatureKeys } from '@acorex-platform/module-timesheet-management-client/contracts';\nimport { AXMTimesheetManagementMenuKeys } from '@acorex-platform/module-timesheet-management-client/contracts';\n\n//#region ---- Menu Provider ----\n\nexport class AXMTimesheetManagementMenuProvider implements AXPMenuProvider {\n private readonly entityService = inject(AXPEntityService);\n private readonly sessionService = inject(AXPSessionService);\n\n async provide(context: AXPMenuProviderContext): Promise<void> {\n const isAuthorized = await firstValueFrom(this.sessionService.isAuthorized$);\n if (!isAuthorized) {\n return;\n }\n\n const module = RootConfig.module;\n const keys = AXPProjectsWorkPermissionKeys;\n const app = this.sessionService.application?.name ?? ':app';\n\n const organizationMenu = context.find(AXPCommonMenuKeys.Organization);\n if (!organizationMenu.exists) {\n context.addItems([\n {\n name: AXPCommonMenuKeys.Organization,\n priority: 9000,\n text: '@organization-management:module.menus.root.title',\n type: 'menu',\n icon: 'fa-light fa-sitemap',\n children: [],\n },\n ]);\n }\n\n context.find(AXPCommonMenuKeys.Organization).addItems([\n {\n name: AXMTimesheetManagementMenuKeys.MyTimesheet,\n text: RootConfig.pages.myTimesheet.title,\n path: `${app}/${RootConfig.module.route}/${RootConfig.pages.myTimesheet.path}`,\n priority: 25,\n icon: RootConfig.pages.myTimesheet.icon,\n policy: {\n permissions: [keys.MaintainTimesheets],\n features: [AXMTimesheetManagementFeatureKeys.TimesheetEntry],\n },\n },\n {\n name: AXMTimesheetManagementMenuKeys.PeriodHistory,\n text: RootConfig.entities.timesheetPeriod.titlePlural,\n path: this.entityService.createPath(module.name, RootConfig.entities.timesheetPeriod.name),\n priority: 26,\n icon: RootConfig.entities.timesheetPeriod.icon,\n policy: {\n permissions: [keys.MaintainTimesheets],\n features: [AXMTimesheetManagementFeatureKeys.TimesheetEntry],\n },\n },\n {\n name: AXMTimesheetManagementMenuKeys.ApprovalInbox,\n text: RootConfig.pages.approvalInbox.title,\n path: `${app}/${RootConfig.module.route}/${RootConfig.pages.approvalInbox.path}`,\n priority: 27,\n icon: RootConfig.pages.approvalInbox.icon,\n policy: {\n permissions: [keys.ManageTimesheetActions],\n features: [AXMTimesheetManagementFeatureKeys.TimesheetApproval],\n },\n },\n {\n name: AXMTimesheetManagementMenuKeys.TeamTimesheets,\n text: RootConfig.pages.teamTimesheets.title,\n path: `${app}/${RootConfig.module.route}/${RootConfig.pages.teamTimesheets.path}`,\n priority: 28,\n icon: RootConfig.pages.teamTimesheets.icon,\n policy: {\n permissions: [keys.ManageTimesheetActions],\n features: [AXMTimesheetManagementFeatureKeys.TimesheetApproval],\n },\n },\n {\n name: AXMTimesheetManagementMenuKeys.WorkItems,\n text: RootConfig.entities.workItem.titlePlural,\n path: this.entityService.createPath(module.name, RootConfig.entities.workItem.name),\n priority: 29,\n icon: RootConfig.entities.workItem.icon,\n policy: {\n permissions: [keys.MaintainTimesheets],\n features: [AXMTimesheetManagementFeatureKeys.TimesheetEntry],\n },\n },\n ]);\n\n const orgConfigMenu = context.find(AXPCommonMenuKeys.OrganizationConfig);\n if (!orgConfigMenu.exists) {\n context.find(AXPCommonMenuKeys.Configuration).addItems([\n {\n name: AXPCommonMenuKeys.OrganizationConfig,\n priority: 8600,\n text: '@organization-management:module.menus.configuration.title',\n icon: module.icon,\n type: 'menu',\n children: [],\n },\n ]);\n }\n\n context.find(AXPCommonMenuKeys.OrganizationConfig).addItems([\n {\n name: AXMTimesheetManagementMenuKeys.Policies,\n text: RootConfig.entities.timesheetPolicy.titlePlural,\n path: this.entityService.createPath(module.name, RootConfig.entities.timesheetPolicy.name),\n priority: 23,\n icon: RootConfig.entities.timesheetPolicy.icon,\n policy: {\n permissions: [keys.Setup],\n features: [AXMTimesheetManagementFeatureKeys.TimesheetEntry],\n },\n },\n ]);\n }\n}\n\n//#endregion\n","//#region ---- Imports ----\n\nimport {\n AXPPermissionDefinitionProvider,\n AXPPermissionDefinitionProviderContext,\n} from '@acorex-platform/framework-client/auth';\nimport {\n AXPCommonPermissionGroupKeys\n} from '@acorex-platform/module-common-client/contracts';\nimport {\n AXPProjectsWorkPermissionKeys\n} from '@acorex-platform/module-timesheet-management-client/contracts';\n\nimport { Injectable } from '@angular/core';\n\n//#endregion\n\n//#region ---- Permission Definition Provider ----\n\n/**\n * Registers timesheet capabilities into the shared Projects & Work group.\n */\n@Injectable()\nexport class AXMTimesheetManagementPermissionDefinitionProvider implements AXPPermissionDefinitionProvider {\n async define(context: AXPPermissionDefinitionProviderContext): Promise<void> {\n const keys = AXPProjectsWorkPermissionKeys;\n const groups = AXPCommonPermissionGroupKeys;\n const P = '@common:projects-work.permissions';\n const G = '@common:permission-groups';\n\n context.addGroup(groups.ProjectsWork.Root, `${G}.projects-work.title`, `${G}.projects-work.description`, { order: 60 });\n\n context\n .addGroup(\n groups.ProjectsWork.TimeTracking,\n `${G}.projects-work-time-tracking.title`,\n `${G}.projects-work-time-tracking.description`,\n { parent: groups.ProjectsWork.Root, order: 30 },\n )\n .addPermission(\n keys.MaintainTimesheets,\n `${P}.maintain-timesheets.title`,\n `${P}.maintain-timesheets.description`,\n )\n .endPermission()\n .addPermission(\n keys.ManageTimesheetActions,\n `${P}.manage-timesheet-actions.title`,\n `${P}.manage-timesheet-actions.description`,\n )\n .endPermission()\n .addPermission(\n keys.ViewTimesheetReports,\n `${P}.view-timesheet-reports.title`,\n `${P}.view-timesheet-reports.description`,\n )\n .endPermission()\n .endGroup();\n }\n}\n\n//#endregion\n","//#region ---- Imports ----\n\nimport { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';\nimport { AXP_MENU_PROVIDER, AXP_STATUS_PROVIDERS } from '@acorex-platform/framework-client/common';\nimport { AXP_FEATURE_DEFINITION_PROVIDER, AXP_MODULE_MANIFEST_PROVIDER } from '@acorex-platform/framework-client/core';\nimport { AXP_PAGE_COMPONENT_PROVIDER } from '@acorex-platform/framework-client/layout/components';\nimport { AXPRuntimeModule, provideCommandSetups, provideQuerySetups } from '@acorex-platform/framework-client/runtime';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ROUTES } from '@angular/router';\nimport { AXMTimesheetManagementCommandKeys } from '@acorex-platform/module-timesheet-management-client/contracts';\n\nimport { AXMTimesheetManagementFeatureDefinitionProvider } from './feature-definition.provider';\nimport { AXMMyTimesheetPageComponentProvider } from './features/my-timesheet/my-timesheet-page.component.provider';\nimport { myTimesheetPageRoutes } from './features/my-timesheet/my-timesheet-page.routes';\nimport { AXMTimesheetCorrectionStatusProvider } from './features/timesheet-correction/timesheet-correction-status.provider';\nimport { AXMTimesheetPeriodStatusProvider } from './features/timesheet-period/timesheet-period-status.provider';\nimport { TimesheetManagementManifest } from './manifest';\nimport { AXMTimesheetManagementMenuProvider } from './menu.provider';\nimport { AXMTimesheetManagementPermissionDefinitionProvider } from './permission-definition.provider';\n\n//#endregion\n\n//#region ---- Module ----\n\n@NgModule({\n imports: [CommonModule, AXPRuntimeModule],\n providers: [\n {\n provide: ROUTES,\n multi: true,\n useFactory: () => [...myTimesheetPageRoutes],\n },\n {\n provide: AXP_PAGE_COMPONENT_PROVIDER,\n useClass: AXMMyTimesheetPageComponentProvider,\n multi: true,\n },\n {\n provide: AXP_MODULE_MANIFEST_PROVIDER,\n useValue: TimesheetManagementManifest,\n multi: true,\n },\n {\n provide: AXP_PERMISSION_DEFINITION_PROVIDER,\n useClass: AXMTimesheetManagementPermissionDefinitionProvider,\n multi: true,\n },\n {\n provide: AXP_MENU_PROVIDER,\n useClass: AXMTimesheetManagementMenuProvider,\n multi: true,\n },\n \n {\n provide: AXP_FEATURE_DEFINITION_PROVIDER,\n useClass: AXMTimesheetManagementFeatureDefinitionProvider,\n multi: true,\n },\n {\n provide: AXP_STATUS_PROVIDERS,\n useClass: AXMTimesheetPeriodStatusProvider,\n multi: true,\n },\n {\n provide: AXP_STATUS_PROVIDERS,\n useClass: AXMTimesheetCorrectionStatusProvider,\n multi: true,\n },\n provideCommandSetups([\n // {\n // key: AXMTimesheetManagementCommandKeys.WorkItemResolveFromJira,\n // command: () =>\n // import('./features/work-item/commands/resolve-work-item-from-jira-issue.command').then(\n // (c) => c.ResolveWorkItemFromJiraIssueCommand,\n // ),\n // },\n {\n key: AXMTimesheetManagementCommandKeys.TimeEntryCreate,\n command: () =>\n import('./features/time-entry/commands/create-time-entry.command').then((c) => c.CreateTimeEntryCommand),\n },\n {\n key: AXMTimesheetManagementCommandKeys.TimeEntryUpdate,\n command: () =>\n import('./features/time-entry/commands/update-time-entry.command').then((c) => c.UpdateTimeEntryCommand),\n },\n {\n key: AXMTimesheetManagementCommandKeys.TimeEntryDelete,\n command: () =>\n import('./features/time-entry/commands/delete-time-entry.command').then((c) => c.DeleteTimeEntryCommand),\n },\n {\n key: AXMTimesheetManagementCommandKeys.TimesheetPeriodSubmit,\n command: () =>\n import('./features/timesheet-period/commands/submit-timesheet-period.command').then(\n (c) => c.SubmitTimesheetPeriodCommand,\n ),\n },\n {\n key: AXMTimesheetManagementCommandKeys.TimesheetPeriodApprove,\n command: () =>\n import('./features/timesheet-period/commands/approve-timesheet-period.command').then(\n (c) => c.ApproveTimesheetPeriodCommand,\n ),\n },\n {\n key: AXMTimesheetManagementCommandKeys.TimesheetPeriodReject,\n command: () =>\n import('./features/timesheet-period/commands/reject-timesheet-period.command').then(\n (c) => c.RejectTimesheetPeriodCommand,\n ),\n },\n {\n key: AXMTimesheetManagementCommandKeys.TimesheetPeriodReopen,\n command: () =>\n import('./features/timesheet-period/commands/reopen-timesheet-period.command').then(\n (c) => c.ReopenTimesheetPeriodCommand,\n ),\n },\n {\n key: AXMTimesheetManagementCommandKeys.TimesheetPeriodLock,\n command: () =>\n import('./features/timesheet-period/commands/lock-timesheet-period.command').then(\n (c) => c.LockTimesheetPeriodCommand,\n ),\n },\n {\n key: AXMTimesheetManagementCommandKeys.TimesheetPeriodAdminAdjust,\n command: () =>\n import('./features/timesheet-period/commands/admin-adjust-timesheet-period.command').then(\n (c) => c.AdminAdjustTimesheetPeriodCommand,\n ),\n },\n ]),\n provideQuerySetups([\n {\n key: 'TimesheetManagement:MyTimesheetGrid',\n loader: () =>\n import('./features/reporting/queries/my-timesheet-grid.query').then((c) => c.AXMMyTimesheetGridQuery),\n },\n {\n key: 'TimesheetManagement:TeamTimesheets',\n loader: () =>\n import('./features/reporting/queries/team-timesheets.query').then((c) => c.AXMTeamTimesheetsQuery),\n },\n {\n key: 'TimesheetManagement:ApprovalInbox',\n loader: () => import('./features/reporting/queries/approval-inbox.query').then((c) => c.AXMApprovalInboxQuery),\n },\n {\n key: 'TimesheetManagement:ReportHoursByProject',\n loader: () =>\n import('./features/reporting/queries/report-hours-by-project.query').then(\n (c) => c.AXMReportHoursByProjectQuery,\n ),\n },\n {\n key: 'TimesheetManagement:ReportHoursByWorkItem',\n loader: () =>\n import('./features/reporting/queries/report-hours-by-work-item.query').then(\n (c) => c.AXMReportHoursByWorkItemQuery,\n ),\n },\n {\n key: 'TimesheetManagement:ReportBillableSummary',\n loader: () =>\n import('./features/reporting/queries/report-billable-summary.query').then(\n (c) => c.AXMReportBillableSummaryQuery,\n ),\n },\n {\n key: 'TimesheetManagement:WorkItemSearch',\n loader: () =>\n import('./features/reporting/queries/work-item-search.query').then((c) => c.AXMWorkItemSearchQuery),\n },\n {\n key: 'Workforce:CompareAttendanceVsTimesheet',\n loader: () =>\n import('./features/reporting/queries/compare-attendance-vs-timesheet.query').then(\n (c) => c.AXMCompareAttendanceVsTimesheetQuery,\n ),\n },\n {\n key: 'Workforce:ExceptionReport',\n loader: () =>\n import('./features/reporting/queries/workforce-exception-report.query').then(\n (c) => c.AXMWorkforceExceptionReportQuery,\n ),\n },\n ]),\n ],\n})\nexport class AXMTimesheetManagementModule {}\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA4BA;AAgFM,MAAO,2BAA4B,SAAQ,0BAA0B,CAAA;AA9E3E,IAAA,WAAA,GAAA;;;AAiFmB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;AACxC,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC;;;QAMxC,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,KAAK;oFAAC;QACvB,IAAA,CAAA,MAAM,GAAG,MAAM,CAA0D,IAAI;mFAAC;QAC9E,IAAA,CAAA,IAAI,GAAG,MAAM,CAAkG,EAAE;iFAAC;QAClH,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,CAAC;yFAAC;AAExB,QAAA,IAAA,CAAA,SAAS,GAAG,QAAQ,CACrC,MAAM,IAAI,CAAC,MAAM,EAAE,EAAE,QAAQ,KAAK,mBAAmB,CAAC,KAAK;sFAC5D;AAiHF,IAAA;;;AA3GU,IAAA,MAAM,QAAQ,GAAA;AACrB,QAAA,MAAM,KAAK,CAAC,QAAQ,EAAE;AACtB,QAAA,MAAM,IAAI,CAAC,QAAQ,EAAE;IACvB;;;IAMS,YAAY,GAAA;AACnB,QAAA,OAAO,UAAU,CAAC,KAAK,CAAC,WAAW,CAAC,KAAK;IAC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AC,CAAC,KAAK,CAAC,CAAC,sBAAsB,CAAC;AACtG,6BAAA;AACD,4BAAA;AACE,gCAAA,GAAG,EAAE,wCAAwC;AAC7C,gCAAA,MAAM,EAAE,MACN,OAAO,yGAAoE,CAAC,CAAC,IAAI,CAC/E,CAAC,CAAC,KAAK,CAAC,CAAC,oCAAoC,CAC9C;AACJ,6BAAA;AACD,4BAAA;AACE,gCAAA,GAAG,EAAE,2BAA2B;AAChC,gCAAA,MAAM,EAAE,MACN,OAAO,oGAA+D,CAAC,CAAC,IAAI,CAC1E,CAAC,CAAC,KAAK,CAAC,CAAC,gCAAgC,CAC1C;AACJ,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA;;;AChMD;;AAEG;;"}
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-timesheet-management-client.mjs","sources":["../../../../libs/modules/timesheet-management/client/src/lib/features/my-timesheet/my-timesheet-page.component.ts","../../../../libs/modules/timesheet-management/client/src/lib/features/my-timesheet/my-timesheet-page.component.provider.ts","../../../../libs/modules/timesheet-management/client/src/lib/features/my-timesheet/my-timesheet-page.routes.ts","../../../../libs/modules/timesheet-management/client/src/lib/feature-definition.provider.ts","../../../../libs/modules/timesheet-management/client/src/lib/features/timesheet-correction/timesheet-correction-status.provider.ts","../../../../libs/modules/timesheet-management/client/src/lib/features/timesheet-period/timesheet-period-status.provider.ts","../../../../libs/modules/timesheet-management/client/src/lib/menu.provider.ts","../../../../libs/modules/timesheet-management/client/src/lib/permission-definition.provider.ts","../../../../libs/modules/timesheet-management/client/src/lib/timesheet-management.module.ts","../../../../libs/modules/timesheet-management/client/src/acorex-platform-module-timesheet-management-client.ts"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPSystemStatusType } from '@acorex-platform/framework-shared/core';\nimport { AXPThemeLayoutBlockComponent } from '@acorex-platform/framework-client/layout/components';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport {\n AXPPageLayoutBase,\n AXPPageLayoutBaseComponent,\n AXPPageLayoutComponent,\n} from '@acorex-platform/framework-client/layout/views';\nimport { AXPCommandService } from '@acorex-platform/framework-client/runtime';\nimport { AsyncPipe, CommonModule } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n inject,\n OnInit,\n signal,\n ViewEncapsulation,\n} from '@angular/core';\nimport { groupBy, sumBy } from 'lodash';\nimport { RootConfig } from '@acorex-platform/module-timesheet-management-client/contracts';\nimport type { AXMTimesheetManagementTimeEntryEntityModel } from '@acorex-platform/module-timesheet-management-client/contracts';\nimport type { AXMTimesheetManagementTimesheetPeriodEntityModel } from '@acorex-platform/module-timesheet-management-client/contracts';\n\n//#region ---- Component ----\n\n@Component({\n selector: 'axm-my-timesheet-page',\n imports: [\n CommonModule,\n AsyncPipe,\n AXButtonModule,\n AXDecoratorModule,\n AXLoadingModule,\n AXTranslationModule,\n AXPPageLayoutComponent,\n AXPThemeLayoutBlockComponent,\n ],\n template: `\n <axp-page-layout>\n <axp-page-content>\n <div class=\"flex flex-col gap-4 p-4\">\n @if (loading()) {\n <ax-loading />\n } @else if (!period()) {\n <p class=\"text-sm text-muted\">\n {{ '@timesheet-management:pages.my-timesheet.empty-period' | translate | async }}\n </p>\n } @else {\n <div class=\"flex flex-wrap items-center justify-between gap-4\">\n <div>\n <p class=\"text-sm font-medium\">\n {{ period()?.startDate }} – {{ period()?.endDate }}\n </p>\n <p class=\"text-xs text-muted\">\n {{ '@timesheet-management:timesheet-periods.entities.timesheet-period.fields.status' | translate | async }}:\n {{ period()?.statusId }}\n </p>\n </div>\n <div class=\"flex items-center gap-3\">\n <p class=\"text-sm\">{{ formatHours(totalSeconds()) }}</p>\n @if (canSubmit()) {\n <ax-button color=\"primary\" (onClick)=\"submitCurrentPeriod()\">\n {{ '@timesheet-management:timesheet-periods.transitions.submit' | translate | async }}\n </ax-button>\n }\n </div>\n </div>\n\n <div class=\"overflow-x-auto rounded border border-surface\">\n <table class=\"w-full text-sm\">\n <thead>\n <tr class=\"border-b border-surface bg-lighter-surface\">\n <th class=\"p-2 text-left\">{{ '@general:terms.date' | translate | async }}</th>\n <th class=\"p-2 text-right\">{{ '@timesheet-management:time-entries.entities.time-entry.fields.duration' | translate | async }}</th>\n <th class=\"p-2 text-left\">{{ '@timesheet-management:work-items.entities.work-item.title' | translate | async }}</th>\n </tr>\n </thead>\n <tbody>\n @for (day of days(); track day.date) {\n <tr class=\"border-b border-lighter-surface\">\n <td class=\"p-2\">{{ day.date }}</td>\n <td class=\"p-2 text-right\">{{ formatHours(day.totalSeconds) }}</td>\n <td class=\"p-2\">{{ day.entries.length }}</td>\n </tr>\n }\n </tbody>\n </table>\n </div>\n }\n </div>\n </axp-page-content>\n </axp-page-layout>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n {\n provide: AXPPageLayoutBase,\n useExisting: AXMMyTimesheetPageComponent,\n },\n ],\n host: { class: 'axm-my-timesheet-page block w-full' },\n})\nexport class AXMMyTimesheetPageComponent extends AXPPageLayoutBaseComponent implements OnInit {\n //#region ---- Services & Dependencies ----\n\n private readonly entityService = inject(AXPEntityService);\n private readonly commandService = inject(AXPCommandService);\n\n //#endregion\n\n //#region ---- State ----\n\n protected readonly loading = signal(false);\n protected readonly period = signal<AXMTimesheetManagementTimesheetPeriodEntityModel | null>(null);\n protected readonly days = signal<{ date: string; totalSeconds: number; entries: AXMTimesheetManagementTimeEntryEntityModel[] }[]>([]);\n protected readonly totalSeconds = signal(0);\n\n protected readonly canSubmit = computed(\n () => this.period()?.statusId === AXPSystemStatusType.Draft,\n );\n\n //#endregion\n\n //#region ---- Lifecycle ----\n\n override async ngOnInit(): Promise<void> {\n await super.ngOnInit();\n await this.loadGrid();\n }\n\n //#endregion\n\n //#region ---- Page metadata ----\n\n override getPageTitle(): string {\n return RootConfig.pages.myTimesheet.title;\n }\n\n //#endregion\n\n //#region ---- UI handlers ----\n\n protected formatHours(totalSeconds: number): string {\n const hours = Math.floor(totalSeconds / 3600);\n const minutes = Math.floor((totalSeconds % 3600) / 60);\n return `${hours}h ${minutes}m`;\n }\n\n //#endregion\n\n //#region ---- Data loading ----\n\n private async loadGrid(): Promise<void> {\n const employeeId = this.sessionService.user?.id;\n if (!employeeId) {\n return;\n }\n\n this.loading.set(true);\n try {\n const periodAccessor = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.timesheetPeriod.name)\n .data<string, AXMTimesheetManagementTimesheetPeriodEntityModel>();\n\n const periods = await periodAccessor.query({\n skip: 0,\n take: 1,\n sort: [{ field: 'startDate', dir: 'desc' }],\n filter: {\n field: 'employeeId',\n operator: { type: 'equal' },\n value: employeeId,\n },\n });\n\n const currentPeriod = periods.items[0] ?? null;\n this.period.set(currentPeriod);\n\n if (!currentPeriod) {\n this.days.set([]);\n this.totalSeconds.set(0);\n this.recompute();\n return;\n }\n\n const entryAccessor = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.timeEntry.name)\n .data<string, AXMTimesheetManagementTimeEntryEntityModel>();\n\n const entriesResult = await entryAccessor.query({\n skip: 0,\n take: 1000,\n filter: {\n logic: 'and',\n filters: [\n { field: 'employeeId', operator: { type: 'equal' }, value: employeeId },\n { field: 'periodId', operator: { type: 'equal' }, value: currentPeriod.id },\n ],\n },\n });\n\n const grouped = groupBy(entriesResult.items, (row) => row.entryDate);\n const days = Object.keys(grouped)\n .sort()\n .map((date) => ({\n date,\n totalSeconds: sumBy(grouped[date], (row) => row.durationSeconds ?? 0),\n entries: grouped[date],\n }));\n\n this.days.set(days);\n this.totalSeconds.set(sumBy(entriesResult.items, (row) => row.durationSeconds ?? 0));\n this.recompute();\n } finally {\n this.loading.set(false);\n }\n }\n\n /** Submits the current period via the registered command. */\n protected async submitCurrentPeriod(): Promise<void> {\n const id = this.period()?.id;\n if (!id) {\n return;\n }\n\n const result = await this.commandService.execute('TimesheetManagement.TimesheetPeriod:Submit', { id });\n if (result?.success) {\n await this.loadGrid();\n }\n }\n\n //#endregion\n}\n\n//#endregion\n","import {\n AXPPageComponentDefinition,\n AXPPageComponentProvider,\n} from '@acorex-platform/framework-client/layout/components';\nimport { Injectable } from '@angular/core';\n\n//#region ---- Page component key ----\n\nexport const MY_TIMESHEET_PAGE_COMPONENT_KEY = 'timesheet-management-my-timesheet-page';\n\n//#endregion\n\n//#region ---- My Timesheet Page Component Provider ----\n\n@Injectable()\nexport class AXMMyTimesheetPageComponentProvider implements AXPPageComponentProvider {\n async components(): Promise<AXPPageComponentDefinition[]> {\n return [\n {\n key: MY_TIMESHEET_PAGE_COMPONENT_KEY,\n loader: () =>\n import('./my-timesheet-page.component').then((m) => m.AXMMyTimesheetPageComponent),\n },\n ];\n }\n}\n\n//#endregion\n","import { AXP_PROTECTED_ROUTE_GUARDS } from '@acorex-platform/framework-client/common';\nimport { AXPRootLayoutComponent } from '@acorex-platform/framework-client/themes/default';\nimport { Routes } from '@angular/router';\nimport { RootConfig } from '@acorex-platform/module-timesheet-management-client/contracts';\n\n//#region ---- My Timesheet Routes ----\n\nexport const myTimesheetPageRoutes: Routes = [\n {\n path: `:app/${RootConfig.module.route}/${RootConfig.pages.myTimesheet.path}`,\n canActivate: [...AXP_PROTECTED_ROUTE_GUARDS],\n loadComponent: () => AXPRootLayoutComponent,\n children: [\n {\n path: '',\n loadComponent: () =>\n import('./my-timesheet-page.component').then((m) => m.AXMMyTimesheetPageComponent),\n data: { reuse: true },\n },\n ],\n },\n];\n\n//#endregion\n","//#region ---- Imports ----\n\nimport {\n AXPFeatureDefinitionProvider,\n AXPFeatureDefinitionProviderContext,\n} from '@acorex-platform/framework-client/core';\nimport { AXMTimesheetManagementFeatureKeys } from '@acorex-platform/module-timesheet-management-client/contracts';\n\n//#endregion\n\n//#region ---- Feature Definition Provider ----\n\nexport class AXMTimesheetManagementFeatureDefinitionProvider implements AXPFeatureDefinitionProvider {\n async provide(context: AXPFeatureDefinitionProviderContext): Promise<void> {\n context.addFeature(AXMTimesheetManagementFeatureKeys.TimesheetEntry, {\n title: '@timesheet-management:features.timesheet-entry.title',\n description: '@timesheet-management:features.timesheet-entry.description',\n defaultValue: true,\n type: 'boolean',\n });\n\n context.addFeature(AXMTimesheetManagementFeatureKeys.TimesheetApproval, {\n title: '@timesheet-management:features.timesheet-approval.title',\n description: '@timesheet-management:features.timesheet-approval.description',\n defaultValue: true,\n type: 'boolean',\n });\n\n context.addFeature(AXMTimesheetManagementFeatureKeys.TimesheetReporting, {\n title: '@timesheet-management:features.timesheet-reporting.title',\n description: '@timesheet-management:features.timesheet-reporting.description',\n defaultValue: true,\n type: 'boolean',\n });\n }\n}\n\n//#endregion\n","//#region ---- Imports ----\n\nimport { AXPStatusProvider, AXPStatusTransition, AXPSystemStatusType, systemStatusToDefinition } from '@acorex-platform/framework-shared/core';\n\n//#endregion\n\n//#region ---- Timesheet Correction Status Provider ----\n\nexport class AXMTimesheetCorrectionStatusProvider extends AXPStatusProvider {\n readonly key = 'timesheet-management.status.timesheet-correction';\n\n readonly defaultStatus = AXPSystemStatusType.WaitingApproval;\n\n readonly statuses = [\n systemStatusToDefinition(AXPSystemStatusType.WaitingApproval, {\n title: '@timesheet-management:timesheet-corrections.states.waiting-approval',\n generateView: true,\n }),\n systemStatusToDefinition(AXPSystemStatusType.Approved, {\n title: '@timesheet-management:timesheet-corrections.states.approved',\n generateView: true,\n }),\n systemStatusToDefinition(AXPSystemStatusType.Rejected, {\n title: '@timesheet-management:timesheet-corrections.states.rejected',\n generateView: true,\n }),\n ];\n\n readonly transitions: AXPStatusTransition[] = [\n {\n from: AXPSystemStatusType.WaitingApproval,\n to: AXPSystemStatusType.Approved,\n title: '@general:statuses.transitions.approve',\n requiresApproval: true,\n },\n {\n from: AXPSystemStatusType.WaitingApproval,\n to: AXPSystemStatusType.Rejected,\n title: '@general:statuses.transitions.reject',\n requiresApproval: true,\n },\n ];\n}\n\n//#endregion\n","//#region ---- Imports ----\n\nimport { AXPStatusProvider, AXPStatusTransition, AXPSystemStatusType, systemStatusToDefinition } from '@acorex-platform/framework-shared/core';\nimport { AXMTimesheetPeriodLockedStatusId } from '@acorex-platform/module-timesheet-management-client/contracts';\n\n//#endregion\n\n//#region ---- Timesheet Period Status Provider ----\n\n/**\n * Timesheet period status provider defining Draft, WaitingApproval, Approved, Rejected, and locked states.\n * Used by the status plugin to manage period submission, approval, rejection, reopen, and lock transitions.\n */\nexport class AXMTimesheetPeriodStatusProvider extends AXPStatusProvider {\n readonly key = 'timesheet-management.status.timesheet-period';\n\n readonly defaultStatus = AXPSystemStatusType.Draft;\n\n readonly statuses = [\n systemStatusToDefinition(AXPSystemStatusType.Draft, {\n title: '@timesheet-management:timesheet-periods.states.draft',\n generateView: true,\n }),\n systemStatusToDefinition(AXPSystemStatusType.WaitingApproval, {\n title: '@timesheet-management:timesheet-periods.states.waiting-approval',\n generateView: true,\n }),\n systemStatusToDefinition(AXPSystemStatusType.Approved, {\n title: '@timesheet-management:timesheet-periods.states.approved',\n generateView: true,\n }),\n systemStatusToDefinition(AXPSystemStatusType.Rejected, {\n title: '@timesheet-management:timesheet-periods.states.rejected',\n generateView: true,\n }),\n {\n name: AXMTimesheetPeriodLockedStatusId,\n title: '@timesheet-management:timesheet-periods.states.locked',\n color: 'neutral',\n icon: 'fa-light fa-lock',\n generateView: true,\n },\n ];\n\n readonly transitions: AXPStatusTransition[] = [\n {\n from: AXPSystemStatusType.Draft,\n to: AXPSystemStatusType.WaitingApproval,\n title: '@timesheet-management:timesheet-periods.transitions.submit',\n requiresApproval: true,\n },\n {\n from: AXPSystemStatusType.WaitingApproval,\n to: AXPSystemStatusType.Approved,\n title: '@timesheet-management:timesheet-periods.transitions.approve',\n requiresApproval: true,\n },\n {\n from: AXPSystemStatusType.WaitingApproval,\n to: AXPSystemStatusType.Rejected,\n title: '@timesheet-management:timesheet-periods.transitions.reject',\n requiresApproval: true,\n },\n {\n from: AXPSystemStatusType.Rejected,\n to: AXPSystemStatusType.Draft,\n title: '@timesheet-management:timesheet-periods.transitions.reopen',\n },\n {\n from: AXPSystemStatusType.Approved,\n to: AXPSystemStatusType.Draft,\n title: '@timesheet-management:timesheet-periods.transitions.reopen',\n requiresApproval: true,\n },\n {\n from: AXPSystemStatusType.Approved,\n to: AXMTimesheetPeriodLockedStatusId,\n title: '@timesheet-management:timesheet-periods.transitions.lock',\n requiresApproval: true,\n },\n ];\n}\n\n//#endregion\n","import { AXPSessionService } from '@acorex-platform/framework-client/auth';\nimport { AXPMenuProvider, AXPMenuProviderContext } from '@acorex-platform/framework-client/common';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport {\n AXPCommonMenuKeys\n} from '@acorex-platform/module-common-client/contracts';\nimport { inject } from '@angular/core';\nimport { firstValueFrom } from 'rxjs';\nimport {\n RootConfig,\n AXPProjectsWorkPermissionKeys\n} from '@acorex-platform/module-timesheet-management-client/contracts';\nimport { AXMTimesheetManagementFeatureKeys } from '@acorex-platform/module-timesheet-management-client/contracts';\nimport { AXMTimesheetManagementMenuKeys } from '@acorex-platform/module-timesheet-management-client/contracts';\n\n//#region ---- Menu Provider ----\n\nexport class AXMTimesheetManagementMenuProvider implements AXPMenuProvider {\n private readonly entityService = inject(AXPEntityService);\n private readonly sessionService = inject(AXPSessionService);\n\n async provide(context: AXPMenuProviderContext): Promise<void> {\n const isAuthorized = await firstValueFrom(this.sessionService.isAuthorized$);\n if (!isAuthorized) {\n return;\n }\n\n const module = RootConfig.module;\n const keys = AXPProjectsWorkPermissionKeys;\n const app = this.sessionService.application?.name ?? ':app';\n\n const organizationMenu = context.find(AXPCommonMenuKeys.Organization);\n if (!organizationMenu.exists) {\n context.addItems([\n {\n name: AXPCommonMenuKeys.Organization,\n priority: 9000,\n text: '@organization-management:module.menus.root.title',\n type: 'menu',\n icon: 'fa-light fa-sitemap',\n children: [],\n },\n ]);\n }\n\n context.find(AXPCommonMenuKeys.Organization).addItems([\n {\n name: AXMTimesheetManagementMenuKeys.MyTimesheet,\n text: RootConfig.pages.myTimesheet.title,\n path: `${app}/${RootConfig.module.route}/${RootConfig.pages.myTimesheet.path}`,\n priority: 25,\n icon: RootConfig.pages.myTimesheet.icon,\n policy: {\n permissions: [keys.MaintainTimesheets],\n features: [AXMTimesheetManagementFeatureKeys.TimesheetEntry],\n },\n },\n {\n name: AXMTimesheetManagementMenuKeys.PeriodHistory,\n text: RootConfig.entities.timesheetPeriod.titlePlural,\n path: this.entityService.createPath(module.name, RootConfig.entities.timesheetPeriod.name),\n priority: 26,\n icon: RootConfig.entities.timesheetPeriod.icon,\n policy: {\n permissions: [keys.MaintainTimesheets],\n features: [AXMTimesheetManagementFeatureKeys.TimesheetEntry],\n },\n },\n {\n name: AXMTimesheetManagementMenuKeys.ApprovalInbox,\n text: RootConfig.pages.approvalInbox.title,\n path: `${app}/${RootConfig.module.route}/${RootConfig.pages.approvalInbox.path}`,\n priority: 27,\n icon: RootConfig.pages.approvalInbox.icon,\n policy: {\n permissions: [keys.ManageTimesheetActions],\n features: [AXMTimesheetManagementFeatureKeys.TimesheetApproval],\n },\n },\n {\n name: AXMTimesheetManagementMenuKeys.TeamTimesheets,\n text: RootConfig.pages.teamTimesheets.title,\n path: `${app}/${RootConfig.module.route}/${RootConfig.pages.teamTimesheets.path}`,\n priority: 28,\n icon: RootConfig.pages.teamTimesheets.icon,\n policy: {\n permissions: [keys.ManageTimesheetActions],\n features: [AXMTimesheetManagementFeatureKeys.TimesheetApproval],\n },\n },\n {\n name: AXMTimesheetManagementMenuKeys.WorkItems,\n text: RootConfig.entities.workItem.titlePlural,\n path: this.entityService.createPath(module.name, RootConfig.entities.workItem.name),\n priority: 29,\n icon: RootConfig.entities.workItem.icon,\n policy: {\n permissions: [keys.MaintainTimesheets],\n features: [AXMTimesheetManagementFeatureKeys.TimesheetEntry],\n },\n },\n ]);\n\n const orgConfigMenu = context.find(AXPCommonMenuKeys.OrganizationConfig);\n if (!orgConfigMenu.exists) {\n context.find(AXPCommonMenuKeys.Configuration).addItems([\n {\n name: AXPCommonMenuKeys.OrganizationConfig,\n priority: 8600,\n text: '@organization-management:module.menus.configuration.title',\n icon: module.icon,\n type: 'menu',\n children: [],\n },\n ]);\n }\n\n context.find(AXPCommonMenuKeys.OrganizationConfig).addItems([\n {\n name: AXMTimesheetManagementMenuKeys.Policies,\n text: RootConfig.entities.timesheetPolicy.titlePlural,\n path: this.entityService.createPath(module.name, RootConfig.entities.timesheetPolicy.name),\n priority: 23,\n icon: RootConfig.entities.timesheetPolicy.icon,\n policy: {\n permissions: [keys.Setup],\n features: [AXMTimesheetManagementFeatureKeys.TimesheetEntry],\n },\n },\n ]);\n }\n}\n\n//#endregion\n","//#region ---- Imports ----\n\nimport {\n AXPPermissionDefinitionProvider,\n AXPPermissionDefinitionProviderContext,\n} from '@acorex-platform/framework-client/auth';\nimport {\n AXPCommonPermissionGroupKeys\n} from '@acorex-platform/module-common-client/contracts';\nimport {\n AXPProjectsWorkPermissionKeys\n} from '@acorex-platform/module-timesheet-management-client/contracts';\n\nimport { Injectable } from '@angular/core';\n\n//#endregion\n\n//#region ---- Permission Definition Provider ----\n\n/**\n * Registers timesheet capabilities into the shared Projects & Work group.\n */\n@Injectable()\nexport class AXMTimesheetManagementPermissionDefinitionProvider implements AXPPermissionDefinitionProvider {\n async define(context: AXPPermissionDefinitionProviderContext): Promise<void> {\n const keys = AXPProjectsWorkPermissionKeys;\n const groups = AXPCommonPermissionGroupKeys;\n const P = '@common:projects-work.permissions';\n const G = '@common:permission-groups';\n\n context.addGroup(groups.ProjectsWork.Root, `${G}.projects-work.title`, `${G}.projects-work.description`, { order: 60 });\n\n context\n .addGroup(\n groups.ProjectsWork.TimeTracking,\n `${G}.projects-work-time-tracking.title`,\n `${G}.projects-work-time-tracking.description`,\n { parent: groups.ProjectsWork.Root, order: 30 },\n )\n .addPermission(\n keys.MaintainTimesheets,\n `${P}.maintain-timesheets.title`,\n `${P}.maintain-timesheets.description`,\n )\n .endPermission()\n .addPermission(\n keys.ManageTimesheetActions,\n `${P}.manage-timesheet-actions.title`,\n `${P}.manage-timesheet-actions.description`,\n )\n .endPermission()\n .addPermission(\n keys.ViewTimesheetReports,\n `${P}.view-timesheet-reports.title`,\n `${P}.view-timesheet-reports.description`,\n )\n .endPermission()\n .endGroup();\n }\n}\n\n//#endregion\n","//#region ---- Imports ----\n\nimport { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';\nimport { AXP_MENU_PROVIDER, AXP_STATUS_PROVIDERS } from '@acorex-platform/framework-client/common';\nimport { AXP_FEATURE_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/core';\nimport { AXP_PAGE_COMPONENT_PROVIDER } from '@acorex-platform/framework-client/layout/components';\nimport { AXPRuntimeModule, provideCommandSetups, provideQuerySetups } from '@acorex-platform/framework-client/runtime';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ROUTES } from '@angular/router';\nimport { AXMTimesheetManagementCommandKeys } from '@acorex-platform/module-timesheet-management-client/contracts';\n\nimport { AXMTimesheetManagementFeatureDefinitionProvider } from './feature-definition.provider';\nimport { AXMMyTimesheetPageComponentProvider } from './features/my-timesheet/my-timesheet-page.component.provider';\nimport { myTimesheetPageRoutes } from './features/my-timesheet/my-timesheet-page.routes';\nimport { AXMTimesheetCorrectionStatusProvider } from './features/timesheet-correction/timesheet-correction-status.provider';\nimport { AXMTimesheetPeriodStatusProvider } from './features/timesheet-period/timesheet-period-status.provider';\nimport { AXMTimesheetManagementMenuProvider } from './menu.provider';\nimport { AXMTimesheetManagementPermissionDefinitionProvider } from './permission-definition.provider';\n\n//#endregion\n\n//#region ---- Module ----\n\n@NgModule({\n imports: [CommonModule, AXPRuntimeModule],\n providers: [\n {\n provide: ROUTES,\n multi: true,\n useFactory: () => [...myTimesheetPageRoutes],\n },\n {\n provide: AXP_PAGE_COMPONENT_PROVIDER,\n useClass: AXMMyTimesheetPageComponentProvider,\n multi: true,\n },\n {\n provide: AXP_PERMISSION_DEFINITION_PROVIDER,\n useClass: AXMTimesheetManagementPermissionDefinitionProvider,\n multi: true,\n },\n {\n provide: AXP_MENU_PROVIDER,\n useClass: AXMTimesheetManagementMenuProvider,\n multi: true,\n },\n \n {\n provide: AXP_FEATURE_DEFINITION_PROVIDER,\n useClass: AXMTimesheetManagementFeatureDefinitionProvider,\n multi: true,\n },\n {\n provide: AXP_STATUS_PROVIDERS,\n useClass: AXMTimesheetPeriodStatusProvider,\n multi: true,\n },\n {\n provide: AXP_STATUS_PROVIDERS,\n useClass: AXMTimesheetCorrectionStatusProvider,\n multi: true,\n },\n provideCommandSetups([\n // {\n // key: AXMTimesheetManagementCommandKeys.WorkItemResolveFromJira,\n // command: () =>\n // import('./features/work-item/commands/resolve-work-item-from-jira-issue.command').then(\n // (c) => c.ResolveWorkItemFromJiraIssueCommand,\n // ),\n // },\n {\n key: AXMTimesheetManagementCommandKeys.TimeEntryCreate,\n command: () =>\n import('./features/time-entry/commands/create-time-entry.command').then((c) => c.CreateTimeEntryCommand),\n },\n {\n key: AXMTimesheetManagementCommandKeys.TimeEntryUpdate,\n command: () =>\n import('./features/time-entry/commands/update-time-entry.command').then((c) => c.UpdateTimeEntryCommand),\n },\n {\n key: AXMTimesheetManagementCommandKeys.TimeEntryDelete,\n command: () =>\n import('./features/time-entry/commands/delete-time-entry.command').then((c) => c.DeleteTimeEntryCommand),\n },\n {\n key: AXMTimesheetManagementCommandKeys.TimesheetPeriodSubmit,\n command: () =>\n import('./features/timesheet-period/commands/submit-timesheet-period.command').then(\n (c) => c.SubmitTimesheetPeriodCommand,\n ),\n },\n {\n key: AXMTimesheetManagementCommandKeys.TimesheetPeriodApprove,\n command: () =>\n import('./features/timesheet-period/commands/approve-timesheet-period.command').then(\n (c) => c.ApproveTimesheetPeriodCommand,\n ),\n },\n {\n key: AXMTimesheetManagementCommandKeys.TimesheetPeriodReject,\n command: () =>\n import('./features/timesheet-period/commands/reject-timesheet-period.command').then(\n (c) => c.RejectTimesheetPeriodCommand,\n ),\n },\n {\n key: AXMTimesheetManagementCommandKeys.TimesheetPeriodReopen,\n command: () =>\n import('./features/timesheet-period/commands/reopen-timesheet-period.command').then(\n (c) => c.ReopenTimesheetPeriodCommand,\n ),\n },\n {\n key: AXMTimesheetManagementCommandKeys.TimesheetPeriodLock,\n command: () =>\n import('./features/timesheet-period/commands/lock-timesheet-period.command').then(\n (c) => c.LockTimesheetPeriodCommand,\n ),\n },\n {\n key: AXMTimesheetManagementCommandKeys.TimesheetPeriodAdminAdjust,\n command: () =>\n import('./features/timesheet-period/commands/admin-adjust-timesheet-period.command').then(\n (c) => c.AdminAdjustTimesheetPeriodCommand,\n ),\n },\n ]),\n provideQuerySetups([\n {\n key: 'TimesheetManagement:MyTimesheetGrid',\n loader: () =>\n import('./features/reporting/queries/my-timesheet-grid.query').then((c) => c.AXMMyTimesheetGridQuery),\n },\n {\n key: 'TimesheetManagement:TeamTimesheets',\n loader: () =>\n import('./features/reporting/queries/team-timesheets.query').then((c) => c.AXMTeamTimesheetsQuery),\n },\n {\n key: 'TimesheetManagement:ApprovalInbox',\n loader: () => import('./features/reporting/queries/approval-inbox.query').then((c) => c.AXMApprovalInboxQuery),\n },\n {\n key: 'TimesheetManagement:ReportHoursByProject',\n loader: () =>\n import('./features/reporting/queries/report-hours-by-project.query').then(\n (c) => c.AXMReportHoursByProjectQuery,\n ),\n },\n {\n key: 'TimesheetManagement:ReportHoursByWorkItem',\n loader: () =>\n import('./features/reporting/queries/report-hours-by-work-item.query').then(\n (c) => c.AXMReportHoursByWorkItemQuery,\n ),\n },\n {\n key: 'TimesheetManagement:ReportBillableSummary',\n loader: () =>\n import('./features/reporting/queries/report-billable-summary.query').then(\n (c) => c.AXMReportBillableSummaryQuery,\n ),\n },\n {\n key: 'TimesheetManagement:WorkItemSearch',\n loader: () =>\n import('./features/reporting/queries/work-item-search.query').then((c) => c.AXMWorkItemSearchQuery),\n },\n {\n key: 'Workforce:CompareAttendanceVsTimesheet',\n loader: () =>\n import('./features/reporting/queries/compare-attendance-vs-timesheet.query').then(\n (c) => c.AXMCompareAttendanceVsTimesheetQuery,\n ),\n },\n {\n key: 'Workforce:ExceptionReport',\n loader: () =>\n import('./features/reporting/queries/workforce-exception-report.query').then(\n (c) => c.AXMWorkforceExceptionReportQuery,\n ),\n },\n ]),\n ],\n})\nexport class AXMTimesheetManagementModule {}\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BA;AAgFM,MAAO,2BAA4B,SAAQ,0BAA0B,CAAA;AA9E3E,IAAA,WAAA,GAAA;;;AAiFmB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;AACxC,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC;;;QAMxC,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,KAAK;oFAAC;QACvB,IAAA,CAAA,MAAM,GAAG,MAAM,CAA0D,IAAI;mFAAC;QAC9E,IAAA,CAAA,IAAI,GAAG,MAAM,CAAkG,EAAE;iFAAC;QAClH,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,CAAC;yFAAC;AAExB,QAAA,IAAA,CAAA,SAAS,GAAG,QAAQ,CACrC,MAAM,IAAI,CAAC,MAAM,EAAE,EAAE,QAAQ,KAAK,mBAAmB,CAAC,KAAK;sFAC5D;AAiHF,IAAA;;;AA3GU,IAAA,MAAM,QAAQ,GAAA;AACrB,QAAA,MAAM,KAAK,CAAC,QAAQ,EAAE;AACtB,QAAA,MAAM,IAAI,CAAC,QAAQ,EAAE;IACvB;;;IAMS,YAAY,GAAA;AACnB,QAAA,OAAO,UAAU,CAAC,KAAK,CAAC,WAAW,CAAC,KAAK;IAC3C;;;AAMU,IAAA,WAAW,CAAC,YAAoB,EAAA;QACxC,MAAM,KAAK,GAAG,IAAI,CAAC,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CAAC,IAAI,CACvE,CAAC,CAAC,KAAK,CAAC,CAAC,4BAA4B,CACtC;AACJ,6BAAA;AACD,4BAAA;AACE,gCAAA,GAAG,EAAE,2CAA2C;AAChD,gCAAA,MAAM,EAAE,MACN,OAAO,mGAA8D,CAAC,CAAC,IAAI,CACzE,CAAC,CAAC,KAAK,CAAC,CAAC,6BAA6B,CACvC;AACJ,6BAAA;AACD,4BAAA;AACE,gCAAA,GAAG,EAAE,2CAA2C;AAChD,gCAAA,MAAM,EAAE,MACN,OAAO,iGAA4D,CAAC,CAAC,IAAI,CACvE,CAAC,CAAC,KAAK,CAAC,CAAC,6BAA6B,CACvC;AACJ,6BAAA;AACD,4BAAA;AACE,gCAAA,GAAG,EAAE,oCAAoC;AACzC,gCAAA,MAAM,EAAE,MACN,OAAO,0FAAqD,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,sBAAsB,CAAC;AACtG,6BAAA;AACD,4BAAA;AACE,gCAAA,GAAG,EAAE,wCAAwC;AAC7C,gCAAA,MAAM,EAAE,MACN,OAAO,yGAAoE,CAAC,CAAC,IAAI,CAC/E,CAAC,CAAC,KAAK,CAAC,CAAC,oCAAoC,CAC9C;AACJ,6BAAA;AACD,4BAAA;AACE,gCAAA,GAAG,EAAE,2BAA2B;AAChC,gCAAA,MAAM,EAAE,MACN,OAAO,oGAA+D,CAAC,CAAC,IAAI,CAC1E,CAAC,CAAC,KAAK,CAAC,CAAC,gCAAgC,CAC1C;AACJ,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA;;;AC1LD;;AAEG;;"}
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AXPSystemStatusType, AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';
|
|
1
|
+
import { AXPModuleManifest, AXPSystemStatusType, AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';
|
|
2
2
|
import { AXPEntityModel } from '@acorex-platform/framework-shared/entity';
|
|
3
3
|
|
|
4
4
|
declare const RootConfig: {
|
|
@@ -69,6 +69,8 @@ declare const RootConfig: {
|
|
|
69
69
|
};
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
+
declare const TimesheetManagementManifest: AXPModuleManifest;
|
|
73
|
+
|
|
72
74
|
/**
|
|
73
75
|
* Projects & Work capabilities used by this module.
|
|
74
76
|
* Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).
|
|
@@ -301,5 +303,5 @@ interface AXMTimesheetManagementTimesheetPolicyEntityModel extends AXPEntityMode
|
|
|
301
303
|
isDefault: boolean;
|
|
302
304
|
}
|
|
303
305
|
|
|
304
|
-
export { AXMTimesheetManagementCommandKeys, AXMTimesheetManagementFeatureKeys, AXMTimesheetManagementMenuKeys, AXMTimesheetManagementPermissions, AXMTimesheetPeriodLockedStatusId, AXMTimesheetPeriodLockedStatusIds, AXMTimesheetPeriodOpenStatusIds, AXPProjectsWorkPermissionKeys, RootConfig };
|
|
306
|
+
export { AXMTimesheetManagementCommandKeys, AXMTimesheetManagementFeatureKeys, AXMTimesheetManagementMenuKeys, AXMTimesheetManagementPermissions, AXMTimesheetPeriodLockedStatusId, AXMTimesheetPeriodLockedStatusIds, AXMTimesheetPeriodOpenStatusIds, AXPProjectsWorkPermissionKeys, RootConfig, TimesheetManagementManifest };
|
|
305
307
|
export type { AXMTimesheetCorrectionChange, AXMTimesheetCorrectionStatusId, AXMTimesheetManagementTimeEntryEntityModel, AXMTimesheetManagementTimesheetCorrectionEntityModel, AXMTimesheetManagementTimesheetPeriodEntityModel, AXMTimesheetManagementTimesheetPolicyEntityModel, AXMTimesheetManagementWorkItemEntityModel, AXMTimesheetOverlapPolicy, AXMTimesheetPeriodStatusId, AXMTimesheetPeriodType, AXMTimesheetWorkItemSnapshot, AXMTimesheetWorkItemSourceRef, AXMTimesheetWorkItemSourceType };
|
|
@@ -2,9 +2,10 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
3
|
import { AXPPageLayoutBaseComponent } from '@acorex-platform/framework-client/layout/views';
|
|
4
4
|
import { AXMTimesheetManagementTimesheetPeriodEntityModel, AXMTimesheetManagementTimeEntryEntityModel } from '@acorex-platform/module-timesheet-management-client/contracts';
|
|
5
|
+
export { TimesheetManagementManifest } from '@acorex-platform/module-timesheet-management-client/contracts';
|
|
5
6
|
import { AXPPageComponentProvider, AXPPageComponentDefinition } from '@acorex-platform/framework-client/layout/components';
|
|
6
7
|
import { Routes } from '@angular/router';
|
|
7
|
-
import { AXPFeatureDefinitionProvider, AXPFeatureDefinitionProviderContext
|
|
8
|
+
import { AXPFeatureDefinitionProvider, AXPFeatureDefinitionProviderContext } from '@acorex-platform/framework-client/core';
|
|
8
9
|
import * as i1 from '@angular/common';
|
|
9
10
|
import * as i2 from '@acorex-platform/framework-client/runtime';
|
|
10
11
|
|
|
@@ -49,6 +50,4 @@ declare class AXMTimesheetManagementModule {
|
|
|
49
50
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXMTimesheetManagementModule>;
|
|
50
51
|
}
|
|
51
52
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
export { AXMMyTimesheetPageComponent, AXMMyTimesheetPageComponentProvider, AXMTimesheetManagementFeatureDefinitionProvider, AXMTimesheetManagementModule, MY_TIMESHEET_PAGE_COMPONENT_KEY, TimesheetManagementManifest, myTimesheetPageRoutes };
|
|
53
|
+
export { AXMMyTimesheetPageComponent, AXMMyTimesheetPageComponentProvider, AXMTimesheetManagementFeatureDefinitionProvider, AXMTimesheetManagementModule, MY_TIMESHEET_PAGE_COMPONENT_KEY, myTimesheetPageRoutes };
|