@acorex-platform/module-timesheet-management-client 0.0.32 → 0.0.33
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 +369 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entities-time-entry.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entities-timesheet-correction.mjs +252 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entities-timesheet-correction.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entities-timesheet-period.mjs +347 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entities-timesheet-period.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entities-timesheet-policy.mjs +281 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entities-timesheet-policy.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entities-work-item.mjs +305 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entities-work-item.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog-acorex-platform-module-timesheet-management-client-contracts-entity-catalog-BbB3MCCl.mjs +97 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog-acorex-platform-module-timesheet-management-client-contracts-entity-catalog-BbB3MCCl.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog-time-entry.entity-CAs7zUnV.mjs +295 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog-time-entry.entity-CAs7zUnV.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog-timesheet-correction.entity--wZeCM5Q.mjs +178 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog-timesheet-correction.entity--wZeCM5Q.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog-timesheet-period.entity-BOyfB4YA.mjs +273 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog-timesheet-period.entity-BOyfB4YA.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog-timesheet-policy.entity-CqqN7Xty.mjs +207 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog-timesheet-policy.entity-CqqN7Xty.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog-work-item.entity-DilF7u50.mjs +231 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog-work-item.entity-DilF7u50.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog.mjs +2 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-local-entities.mjs +33 -0
- package/fesm2022/acorex-platform-module-timesheet-management-client-local-entities.mjs.map +1 -0
- package/package.json +29 -1
- package/types/acorex-platform-module-timesheet-management-client-contracts-entities-time-entry.d.ts +8 -0
- package/types/acorex-platform-module-timesheet-management-client-contracts-entities-timesheet-correction.d.ts +8 -0
- package/types/acorex-platform-module-timesheet-management-client-contracts-entities-timesheet-period.d.ts +8 -0
- package/types/acorex-platform-module-timesheet-management-client-contracts-entities-timesheet-policy.d.ts +8 -0
- package/types/acorex-platform-module-timesheet-management-client-contracts-entities-work-item.d.ts +8 -0
- package/types/acorex-platform-module-timesheet-management-client-contracts-entity-catalog.d.ts +10 -0
- package/types/acorex-platform-module-timesheet-management-client-local-entities.d.ts +12 -0
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-timesheet-management-client-contracts-entity-catalog-acorex-platform-module-timesheet-management-client-contracts-entity-catalog-BbB3MCCl.mjs';
|
|
4
|
+
|
|
5
|
+
//#region ---- Constants ----
|
|
6
|
+
const i18n = RootConfig.config.i18n;
|
|
7
|
+
const entityI18n = `${i18n}:work-items.entities.work-item`;
|
|
8
|
+
const listSortAndFilterOptions = {
|
|
9
|
+
sort: { enabled: true },
|
|
10
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
11
|
+
};
|
|
12
|
+
const WORK_ITEM_SOURCE_TYPE_OPTIONS = [
|
|
13
|
+
{ id: 'Internal', title: `@${entityI18n}.fields.source-type.options.internal` },
|
|
14
|
+
{ id: 'Jira', title: `@${entityI18n}.fields.source-type.options.jira` },
|
|
15
|
+
{ id: 'Task', title: `@${entityI18n}.fields.source-type.options.task` },
|
|
16
|
+
];
|
|
17
|
+
//#endregion
|
|
18
|
+
//#region ---- Entity Factory ----
|
|
19
|
+
/**
|
|
20
|
+
* Work item entity factory for billable/non-billable time tracking references.
|
|
21
|
+
*/
|
|
22
|
+
async function factoryWorkItem() {
|
|
23
|
+
const entityDef = {
|
|
24
|
+
module: RootConfig.module.name,
|
|
25
|
+
name: RootConfig.entities.workItem.name,
|
|
26
|
+
title: RootConfig.entities.workItem.title,
|
|
27
|
+
icon: RootConfig.entities.workItem.icon,
|
|
28
|
+
formats: {
|
|
29
|
+
individual: RootConfig.entities.workItem.title,
|
|
30
|
+
plural: RootConfig.entities.workItem.titlePlural,
|
|
31
|
+
searchResult: {
|
|
32
|
+
title: '{{ code }}',
|
|
33
|
+
description: '{{ title }}',
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
plugins: [
|
|
37
|
+
{ name: 'history' },
|
|
38
|
+
{ name: 'unique-fields', options: { fields: 'code', scope: 'tenant' } },
|
|
39
|
+
],
|
|
40
|
+
groups: [
|
|
41
|
+
{ id: 'basic-info', title: '@general:terms.interface.basic-info' },
|
|
42
|
+
{ id: 'source', title: `@${entityI18n}.groups.source` },
|
|
43
|
+
{ id: 'assignment', title: `@${entityI18n}.groups.assignment` },
|
|
44
|
+
{ id: 'settings', title: '@general:terms.interface.settings' },
|
|
45
|
+
],
|
|
46
|
+
properties: [
|
|
47
|
+
{
|
|
48
|
+
name: 'id',
|
|
49
|
+
title: '@general:terms.common.id',
|
|
50
|
+
groupId: 'basic-info',
|
|
51
|
+
schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: 'code',
|
|
55
|
+
title: `@${entityI18n}.fields.code.title`,
|
|
56
|
+
groupId: 'basic-info',
|
|
57
|
+
options: listSortAndFilterOptions,
|
|
58
|
+
schema: {
|
|
59
|
+
dataType: 'string',
|
|
60
|
+
unique: { enabled: true },
|
|
61
|
+
interface: { type: AXPWidgetsCatalog.text },
|
|
62
|
+
},
|
|
63
|
+
validations: [{ rule: 'required' }],
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
name: 'title',
|
|
67
|
+
title: '@general:terms.common.title',
|
|
68
|
+
groupId: 'basic-info',
|
|
69
|
+
options: listSortAndFilterOptions,
|
|
70
|
+
schema: {
|
|
71
|
+
dataType: 'string',
|
|
72
|
+
interface: { type: AXPWidgetsCatalog.text, options: { multiLanguage: true } },
|
|
73
|
+
},
|
|
74
|
+
validations: [{ rule: 'required' }],
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
name: 'sourceType',
|
|
78
|
+
title: `@${entityI18n}.fields.source-type.title`,
|
|
79
|
+
groupId: 'source',
|
|
80
|
+
options: listSortAndFilterOptions,
|
|
81
|
+
schema: {
|
|
82
|
+
dataType: 'string',
|
|
83
|
+
defaultValue: 'Internal',
|
|
84
|
+
interface: {
|
|
85
|
+
type: AXPWidgetsCatalog.select,
|
|
86
|
+
options: { items: WORK_ITEM_SOURCE_TYPE_OPTIONS },
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
validations: [{ rule: 'required' }],
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
name: 'sourceRef',
|
|
93
|
+
title: `@${entityI18n}.fields.source-ref.title`,
|
|
94
|
+
groupId: 'source',
|
|
95
|
+
schema: {
|
|
96
|
+
dataType: 'string',
|
|
97
|
+
interface: { type: AXPWidgetsCatalog.largeText, options: { rows: 4 } },
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
name: 'isBillableDefault',
|
|
102
|
+
title: `@${entityI18n}.fields.is-billable-default.title`,
|
|
103
|
+
groupId: 'settings',
|
|
104
|
+
options: listSortAndFilterOptions,
|
|
105
|
+
schema: {
|
|
106
|
+
dataType: 'boolean',
|
|
107
|
+
defaultValue: true,
|
|
108
|
+
interface: { type: AXPWidgetsCatalog.toggle },
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
name: 'isActive',
|
|
113
|
+
title: `@${entityI18n}.fields.is-active.title`,
|
|
114
|
+
groupId: 'settings',
|
|
115
|
+
options: listSortAndFilterOptions,
|
|
116
|
+
schema: {
|
|
117
|
+
dataType: 'boolean',
|
|
118
|
+
defaultValue: true,
|
|
119
|
+
interface: { type: AXPWidgetsCatalog.toggle },
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
name: 'employeeId',
|
|
124
|
+
title: `@${entityI18n}.fields.employee-id.title`,
|
|
125
|
+
groupId: 'assignment',
|
|
126
|
+
options: listSortAndFilterOptions,
|
|
127
|
+
schema: {
|
|
128
|
+
dataType: 'string',
|
|
129
|
+
interface: {
|
|
130
|
+
type: AXPWidgetsCatalog.lookup,
|
|
131
|
+
options: {
|
|
132
|
+
look: 'select',
|
|
133
|
+
entity: 'HumanCapitalManagement.Employee',
|
|
134
|
+
textField: 'person.fullName',
|
|
135
|
+
valueField: 'id',
|
|
136
|
+
expose: [
|
|
137
|
+
{ source: 'id', target: 'employee.id' },
|
|
138
|
+
{ source: 'employeeCode', target: 'employee.employeeCode' },
|
|
139
|
+
{ source: 'person.fullName', target: 'employee.person.fullName' },
|
|
140
|
+
],
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
},
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
name: 'projectId',
|
|
147
|
+
title: `@${entityI18n}.fields.project-id.title`,
|
|
148
|
+
groupId: 'assignment',
|
|
149
|
+
options: listSortAndFilterOptions,
|
|
150
|
+
schema: {
|
|
151
|
+
dataType: 'string',
|
|
152
|
+
interface: {
|
|
153
|
+
type: AXPWidgetsCatalog.lookup,
|
|
154
|
+
options: {
|
|
155
|
+
look: 'select',
|
|
156
|
+
entity: 'ProjectManagement.Project',
|
|
157
|
+
textField: 'name',
|
|
158
|
+
valueField: 'id',
|
|
159
|
+
expose: [
|
|
160
|
+
{ source: 'id', target: 'project.id' },
|
|
161
|
+
{ source: 'title', target: 'project.title' },
|
|
162
|
+
],
|
|
163
|
+
},
|
|
164
|
+
},
|
|
165
|
+
},
|
|
166
|
+
},
|
|
167
|
+
],
|
|
168
|
+
columns: [
|
|
169
|
+
{ name: 'code' },
|
|
170
|
+
{ name: 'title' },
|
|
171
|
+
{ name: 'sourceType' },
|
|
172
|
+
{ name: 'employeeId', options: { dataPath: 'employee.person.fullName' } },
|
|
173
|
+
{ name: 'projectId', options: { dataPath: 'project.title' } },
|
|
174
|
+
{ name: 'isBillableDefault' },
|
|
175
|
+
{ name: 'isActive' },
|
|
176
|
+
],
|
|
177
|
+
interfaces: {
|
|
178
|
+
master: {
|
|
179
|
+
create: {
|
|
180
|
+
sections: [{ id: 'basic-info' }, { id: 'source' }, { id: 'assignment' }, { id: 'settings' }],
|
|
181
|
+
properties: [
|
|
182
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
183
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
184
|
+
{ name: 'sourceType', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
185
|
+
{ name: 'sourceRef', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
186
|
+
{ name: 'employeeId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
187
|
+
{ name: 'projectId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
188
|
+
{ name: 'isBillableDefault', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
189
|
+
{ name: 'isActive', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
190
|
+
],
|
|
191
|
+
},
|
|
192
|
+
update: {
|
|
193
|
+
sections: [{ id: 'basic-info' }, { id: 'source' }, { id: 'assignment' }, { id: 'settings' }],
|
|
194
|
+
properties: [
|
|
195
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
196
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
197
|
+
{ name: 'sourceType', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
198
|
+
{ name: 'sourceRef', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
199
|
+
{ name: 'employeeId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
200
|
+
{ name: 'projectId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
201
|
+
{ name: 'isBillableDefault', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
202
|
+
{ name: 'isActive', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
203
|
+
],
|
|
204
|
+
},
|
|
205
|
+
single: {
|
|
206
|
+
title: '{{ code }}',
|
|
207
|
+
sections: [{ id: 'basic-info' }, { id: 'source' }, { id: 'assignment' }, { id: 'settings' }],
|
|
208
|
+
properties: [
|
|
209
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
210
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
211
|
+
{ name: 'sourceType', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
212
|
+
{ name: 'employeeId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
213
|
+
{ name: 'projectId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
214
|
+
{ name: 'isBillableDefault', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
215
|
+
{ name: 'isActive', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
216
|
+
],
|
|
217
|
+
actions: [...entityMasterRecordActions()],
|
|
218
|
+
},
|
|
219
|
+
list: {
|
|
220
|
+
actions: [...entityMasterCrudActions()],
|
|
221
|
+
views: [createAllQueryView({ sorts: [{ name: 'code', dir: 'asc' }] })],
|
|
222
|
+
},
|
|
223
|
+
},
|
|
224
|
+
},
|
|
225
|
+
};
|
|
226
|
+
return entityDef;
|
|
227
|
+
}
|
|
228
|
+
//#endregion
|
|
229
|
+
|
|
230
|
+
export { factoryWorkItem };
|
|
231
|
+
//# sourceMappingURL=acorex-platform-module-timesheet-management-client-contracts-entity-catalog-work-item.entity-DilF7u50.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-timesheet-management-client-contracts-entity-catalog-work-item.entity-DilF7u50.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 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: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'code', d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AACrE,wBAAA,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AACrE,wBAAA,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AACpE,wBAAA,EAAE,IAAI,EAAE,mBAAmB,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AAC5E,wBAAA,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AACpE,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;oBACvC,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AACvE,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;;;"}
|
package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog.mjs
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { t as timesheetManagementLocalEntityCatalog } from './acorex-platform-module-timesheet-management-client-contracts-entity-catalog-acorex-platform-module-timesheet-management-client-contracts-entity-catalog-BbB3MCCl.mjs';
|
|
2
|
+
//# sourceMappingURL=acorex-platform-module-timesheet-management-client-contracts-entity-catalog.mjs.map
|
package/fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-timesheet-management-client-contracts-entity-catalog.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { provideLocalEntityCatalog } from '@acorex-platform/framework-client/layout/entity';
|
|
2
|
+
import { RootConfig } from '@acorex-platform/module-timesheet-management-client/contracts';
|
|
3
|
+
export { timesheetManagementLocalEntityCatalog } from '@acorex-platform/module-timesheet-management-client/contracts/entity-catalog';
|
|
4
|
+
|
|
5
|
+
//#region ----- Imports -----
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region ----- Provide local entities -----
|
|
8
|
+
/**
|
|
9
|
+
* Registers timesheet-management layouts on the client from packaged factories.
|
|
10
|
+
* Each `import()` targets a secondary entry so unused entities stay out of the
|
|
11
|
+
* bundle. Do not add this to the demo app; demo continues to load layouts via
|
|
12
|
+
* `Domain:GetEntityLayout`.
|
|
13
|
+
*/
|
|
14
|
+
function provideTimesheetManagementLocalEntities() {
|
|
15
|
+
return provideLocalEntityCatalog({
|
|
16
|
+
moduleName: RootConfig.module.name,
|
|
17
|
+
loaders: {
|
|
18
|
+
[RootConfig.entities.timeEntry.name]: () => import('@acorex-platform/module-timesheet-management-client/contracts/entities/time-entry').then((m) => m.factoryTimeEntry()),
|
|
19
|
+
[RootConfig.entities.timesheetCorrection.name]: () => import('@acorex-platform/module-timesheet-management-client/contracts/entities/timesheet-correction').then((m) => m.factoryTimesheetCorrection()),
|
|
20
|
+
[RootConfig.entities.timesheetPeriod.name]: () => import('@acorex-platform/module-timesheet-management-client/contracts/entities/timesheet-period').then((m) => m.factoryTimesheetPeriod()),
|
|
21
|
+
[RootConfig.entities.timesheetPolicy.name]: () => import('@acorex-platform/module-timesheet-management-client/contracts/entities/timesheet-policy').then((m) => m.factoryTimesheetPolicy()),
|
|
22
|
+
[RootConfig.entities.workItem.name]: () => import('@acorex-platform/module-timesheet-management-client/contracts/entities/work-item').then((m) => m.factoryWorkItem()),
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Generated bundle index. Do not edit.
|
|
30
|
+
*/
|
|
31
|
+
|
|
32
|
+
export { provideTimesheetManagementLocalEntities };
|
|
33
|
+
//# sourceMappingURL=acorex-platform-module-timesheet-management-client-local-entities.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-timesheet-management-client-local-entities.mjs","sources":["../../../../libs/modules/timesheet-management/client/src/lib/provide-local-entities.ts","../../../../libs/modules/timesheet-management/client/src/lib/acorex-platform-module-timesheet-management-client-local-entities.ts"],"sourcesContent":["//#region ----- Imports -----\n\nimport { provideLocalEntityCatalog } from '@acorex-platform/framework-client/layout/entity';\nimport { RootConfig } from '@acorex-platform/module-timesheet-management-client/contracts';\n\n//#endregion\n\n//#region ----- Provide local entities -----\n\n/**\n * Registers timesheet-management layouts on the client from packaged factories.\n * Each `import()` targets a secondary entry so unused entities stay out of the\n * bundle. Do not add this to the demo app; demo continues to load layouts via\n * `Domain:GetEntityLayout`.\n */\nexport function provideTimesheetManagementLocalEntities() {\n return provideLocalEntityCatalog({\n moduleName: RootConfig.module.name,\n loaders: {\n [RootConfig.entities.timeEntry.name]: () =>\n import('@acorex-platform/module-timesheet-management-client/contracts/entities/time-entry').then((m) => m.factoryTimeEntry()),\n [RootConfig.entities.timesheetCorrection.name]: () =>\n import('@acorex-platform/module-timesheet-management-client/contracts/entities/timesheet-correction').then((m) => m.factoryTimesheetCorrection()),\n [RootConfig.entities.timesheetPeriod.name]: () =>\n import('@acorex-platform/module-timesheet-management-client/contracts/entities/timesheet-period').then((m) => m.factoryTimesheetPeriod()),\n [RootConfig.entities.timesheetPolicy.name]: () =>\n import('@acorex-platform/module-timesheet-management-client/contracts/entities/timesheet-policy').then((m) => m.factoryTimesheetPolicy()),\n [RootConfig.entities.workItem.name]: () =>\n import('@acorex-platform/module-timesheet-management-client/contracts/entities/work-item').then((m) => m.factoryWorkItem()),\n },\n });\n}\n\nexport { timesheetManagementLocalEntityCatalog } from '@acorex-platform/module-timesheet-management-client/contracts/entity-catalog';\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './provide-local-entities';\n"],"names":[],"mappings":";;;;AAAA;AAKA;AAEA;AAEA;;;;;AAKG;SACa,uCAAuC,GAAA;AACrD,IAAA,OAAO,yBAAyB,CAAC;AAC/B,QAAA,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAClC,QAAA,OAAO,EAAE;AACP,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,GAAG,MACpC,OAAO,mFAAmF,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,gBAAgB,EAAE,CAAC;AAC/H,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,mBAAmB,CAAC,IAAI,GAAG,MAC9C,OAAO,6FAA6F,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,0BAA0B,EAAE,CAAC;AACnJ,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,eAAe,CAAC,IAAI,GAAG,MAC1C,OAAO,yFAAyF,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,sBAAsB,EAAE,CAAC;AAC3I,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,eAAe,CAAC,IAAI,GAAG,MAC1C,OAAO,yFAAyF,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,sBAAsB,EAAE,CAAC;AAC3I,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,GAAG,MACnC,OAAO,kFAAkF,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,eAAe,EAAE,CAAC;AAC9H,SAAA;AACF,KAAA,CAAC;AACJ;AAIA;;ACnCA;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex-platform/module-timesheet-management-client",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.33",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0 || ^22.0.0",
|
|
@@ -22,6 +22,34 @@
|
|
|
22
22
|
"./contracts": {
|
|
23
23
|
"types": "./types/acorex-platform-module-timesheet-management-client-contracts.d.ts",
|
|
24
24
|
"default": "./fesm2022/acorex-platform-module-timesheet-management-client-contracts.mjs"
|
|
25
|
+
},
|
|
26
|
+
"./contracts/entities/time-entry": {
|
|
27
|
+
"types": "./types/acorex-platform-module-timesheet-management-client-contracts-entities-time-entry.d.ts",
|
|
28
|
+
"default": "./fesm2022/acorex-platform-module-timesheet-management-client-contracts-entities-time-entry.mjs"
|
|
29
|
+
},
|
|
30
|
+
"./contracts/entities/timesheet-correction": {
|
|
31
|
+
"types": "./types/acorex-platform-module-timesheet-management-client-contracts-entities-timesheet-correction.d.ts",
|
|
32
|
+
"default": "./fesm2022/acorex-platform-module-timesheet-management-client-contracts-entities-timesheet-correction.mjs"
|
|
33
|
+
},
|
|
34
|
+
"./contracts/entities/timesheet-period": {
|
|
35
|
+
"types": "./types/acorex-platform-module-timesheet-management-client-contracts-entities-timesheet-period.d.ts",
|
|
36
|
+
"default": "./fesm2022/acorex-platform-module-timesheet-management-client-contracts-entities-timesheet-period.mjs"
|
|
37
|
+
},
|
|
38
|
+
"./contracts/entities/timesheet-policy": {
|
|
39
|
+
"types": "./types/acorex-platform-module-timesheet-management-client-contracts-entities-timesheet-policy.d.ts",
|
|
40
|
+
"default": "./fesm2022/acorex-platform-module-timesheet-management-client-contracts-entities-timesheet-policy.mjs"
|
|
41
|
+
},
|
|
42
|
+
"./contracts/entities/work-item": {
|
|
43
|
+
"types": "./types/acorex-platform-module-timesheet-management-client-contracts-entities-work-item.d.ts",
|
|
44
|
+
"default": "./fesm2022/acorex-platform-module-timesheet-management-client-contracts-entities-work-item.mjs"
|
|
45
|
+
},
|
|
46
|
+
"./contracts/entity-catalog": {
|
|
47
|
+
"types": "./types/acorex-platform-module-timesheet-management-client-contracts-entity-catalog.d.ts",
|
|
48
|
+
"default": "./fesm2022/acorex-platform-module-timesheet-management-client-contracts-entity-catalog.mjs"
|
|
49
|
+
},
|
|
50
|
+
"./local-entities": {
|
|
51
|
+
"types": "./types/acorex-platform-module-timesheet-management-client-local-entities.d.ts",
|
|
52
|
+
"default": "./fesm2022/acorex-platform-module-timesheet-management-client-local-entities.mjs"
|
|
25
53
|
}
|
|
26
54
|
},
|
|
27
55
|
"type": "module"
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AXPEntity } from '@acorex-platform/framework-shared/entity';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Timesheet correction entity factory for post-submission change requests.
|
|
5
|
+
*/
|
|
6
|
+
declare function factoryTimesheetCorrection(): Promise<AXPEntity | null>;
|
|
7
|
+
|
|
8
|
+
export { factoryTimesheetCorrection };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AXPEntity } from '@acorex-platform/framework-shared/entity';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Timesheet period entity factory grouping time entries for approval workflows.
|
|
5
|
+
*/
|
|
6
|
+
declare function factoryTimesheetPeriod(): Promise<AXPEntity | null>;
|
|
7
|
+
|
|
8
|
+
export { factoryTimesheetPeriod };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AXPEntity } from '@acorex-platform/framework-shared/entity';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Timesheet policy entity factory defining validation rules for time entry capture.
|
|
5
|
+
*/
|
|
6
|
+
declare function factoryTimesheetPolicy(): Promise<AXPEntity | null>;
|
|
7
|
+
|
|
8
|
+
export { factoryTimesheetPolicy };
|
package/types/acorex-platform-module-timesheet-management-client-contracts-entity-catalog.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AXPLocalEntityCatalog } from '@acorex-platform/framework-shared/entity';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Lazy per-entity layout factories. Do not re-export from the contracts barrel
|
|
5
|
+
* so RootConfig imports stay light. Server seed and client `local-entities`
|
|
6
|
+
* consume this catalog explicitly.
|
|
7
|
+
*/
|
|
8
|
+
declare const timesheetManagementLocalEntityCatalog: AXPLocalEntityCatalog;
|
|
9
|
+
|
|
10
|
+
export { timesheetManagementLocalEntityCatalog };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
export { timesheetManagementLocalEntityCatalog } from '@acorex-platform/module-timesheet-management-client/contracts/entity-catalog';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Registers timesheet-management layouts on the client from packaged factories.
|
|
6
|
+
* Each `import()` targets a secondary entry so unused entities stay out of the
|
|
7
|
+
* bundle. Do not add this to the demo app; demo continues to load layouts via
|
|
8
|
+
* `Domain:GetEntityLayout`.
|
|
9
|
+
*/
|
|
10
|
+
declare function provideTimesheetManagementLocalEntities(): _angular_core.EnvironmentProviders;
|
|
11
|
+
|
|
12
|
+
export { provideTimesheetManagementLocalEntities };
|