@acorex/modules 21.0.0-next.16 → 21.0.0-next.18
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/data-management/index.d.ts +153 -9
- package/document-management/index.d.ts +167 -374
- package/fesm2022/acorex-modules-common.mjs +11 -3
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/acorex-modules-content-management.mjs +15 -4
- package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +1877 -1648
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-ovwhHP2n.mjs → acorex-modules-document-management-drive-choose.component-BOeZ9mpL.mjs} +3 -7
- package/fesm2022/acorex-modules-document-management-drive-choose.component-BOeZ9mpL.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management.mjs +655 -2995
- package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-BDSyXKSF.mjs → acorex-modules-human-capital-management-leave-request.entity-CviI9xJC.mjs} +2 -2
- package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-CviI9xJC.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management.mjs +350 -695
- package/fesm2022/acorex-modules-human-capital-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-person-core-education-level.entity-BiXdPA-Z.mjs +120 -0
- package/fesm2022/acorex-modules-person-core-education-level.entity-BiXdPA-Z.mjs.map +1 -0
- package/fesm2022/acorex-modules-person-core-marital-status.entity-j6sMTtTS.mjs +120 -0
- package/fesm2022/acorex-modules-person-core-marital-status.entity-j6sMTtTS.mjs.map +1 -0
- package/fesm2022/acorex-modules-person-core-person-identifier-type.entity-BIFiRZ2d.mjs +191 -0
- package/fesm2022/acorex-modules-person-core-person-identifier-type.entity-BIFiRZ2d.mjs.map +1 -0
- package/fesm2022/acorex-modules-person-core-person-relationship-type.entity-2qysKjU5.mjs +119 -0
- package/fesm2022/acorex-modules-person-core-person-relationship-type.entity-2qysKjU5.mjs.map +1 -0
- package/fesm2022/acorex-modules-person-core.mjs +290 -0
- package/fesm2022/acorex-modules-person-core.mjs.map +1 -0
- package/fesm2022/{acorex-modules-person-management-person-identifier.entity-CI8u0Ro6.mjs → acorex-modules-person-management-person-identifier.entity-HBmiUahC.mjs} +4 -3
- package/fesm2022/acorex-modules-person-management-person-identifier.entity-HBmiUahC.mjs.map +1 -0
- package/fesm2022/{acorex-modules-person-management-person-relationship.entity-DK3mYVFv.mjs → acorex-modules-person-management-person-relationship.entity-DbcXasEe.mjs} +4 -3
- package/fesm2022/acorex-modules-person-management-person-relationship.entity-DbcXasEe.mjs.map +1 -0
- package/fesm2022/acorex-modules-person-management.mjs +11 -259
- package/fesm2022/acorex-modules-person-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-task-management-task-board.page-CuP9U1h8.mjs → acorex-modules-task-management-task-board.page-BOOY3qla.mjs} +47 -54
- package/fesm2022/acorex-modules-task-management-task-board.page-BOOY3qla.mjs.map +1 -0
- package/fesm2022/acorex-modules-task-management.mjs +39 -11
- package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-BbBEPTBa.mjs +258 -0
- package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-BbBEPTBa.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-nJMBL0qt.mjs +371 -0
- package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-nJMBL0qt.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-Pso0oRN5.mjs +313 -0
- package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-Pso0oRN5.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management.mjs +710 -2536
- package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
- package/human-capital-management/index.d.ts +19 -79
- package/package.json +14 -10
- package/person-core/index.d.ts +117 -0
- package/person-management/index.d.ts +1 -25
- package/task-management/index.d.ts +12 -1
- package/workflow-management/index.d.ts +220 -265
- package/fesm2022/acorex-modules-document-management-drive-choose.component-ovwhHP2n.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-leave-request-task-popover.component-yGvT9kSL.mjs +0 -381
- package/fesm2022/acorex-modules-human-capital-management-leave-request-task-popover.component-yGvT9kSL.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-BDSyXKSF.mjs.map +0 -1
- package/fesm2022/acorex-modules-person-management-person-identifier-type.entity-VchCczk-.mjs +0 -498
- package/fesm2022/acorex-modules-person-management-person-identifier-type.entity-VchCczk-.mjs.map +0 -1
- package/fesm2022/acorex-modules-person-management-person-identifier.entity-CI8u0Ro6.mjs.map +0 -1
- package/fesm2022/acorex-modules-person-management-person-relationship.entity-DK3mYVFv.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-task-board.page-CuP9U1h8.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-cartable-page.component-Bso0XRkJ.mjs +0 -296
- package/fesm2022/acorex-modules-workflow-management-cartable-page.component-Bso0XRkJ.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-index-xB36g4F1.mjs +0 -469
- package/fesm2022/acorex-modules-workflow-management-index-xB36g4F1.mjs.map +0 -1
|
@@ -2,10 +2,11 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { Injectable, inject, Injector, NgModule } from '@angular/core';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
import { AXPSystemActionType, AXP_MODULE_MANIFEST_PROVIDER, AXP_FEATURE_DEFINITION_PROVIDER, AXP_DATASOURCE_DEFINITION_PROVIDER } from '@acorex/platform/core';
|
|
5
|
-
import { AXPEntityService, AXMEntityCrudServiceImpl,
|
|
6
|
-
import { AXPSearchCommandProvider,
|
|
5
|
+
import { AXPEntityService, AXMEntityCrudServiceImpl, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
|
6
|
+
import { AXPSearchCommandProvider, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex/platform/common';
|
|
7
7
|
import { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';
|
|
8
8
|
import { AXTranslationService } from '@acorex/core/translation';
|
|
9
|
+
import { RootConfig as RootConfig$1 } from '@acorex/modules/person-core';
|
|
9
10
|
import { AXDataSource } from '@acorex/cdk/common';
|
|
10
11
|
import { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';
|
|
11
12
|
|
|
@@ -39,18 +40,6 @@ const RootConfig = {
|
|
|
39
40
|
titlePlural: '@person-management:person-relationship.plural-title',
|
|
40
41
|
icon: 'fa-light fa-link',
|
|
41
42
|
},
|
|
42
|
-
personRelationshipType: {
|
|
43
|
-
name: 'PersonRelationshipType',
|
|
44
|
-
title: '@person-management:person-relationship-type.individual-title',
|
|
45
|
-
titlePlural: '@person-management:person-relationship-type.plural-title',
|
|
46
|
-
icon: 'fa-light fa-diagram-project',
|
|
47
|
-
},
|
|
48
|
-
personIdentifierType: {
|
|
49
|
-
name: 'PersonIdentifierType',
|
|
50
|
-
title: '@person-management:person-identifier-type.individual-title',
|
|
51
|
-
titlePlural: '@person-management:person-identifier-type.plural-title',
|
|
52
|
-
icon: 'fa-light fa-id-card',
|
|
53
|
-
},
|
|
54
43
|
personIdentifier: {
|
|
55
44
|
name: 'PersonIdentifier',
|
|
56
45
|
title: '@person-management:person-identifier.individual-title',
|
|
@@ -119,13 +108,6 @@ const AXMPermissionsKeys = {
|
|
|
119
108
|
Update: `${moduleKey}:${entitiesKey.personIdentifier.name}:${updateKey}`,
|
|
120
109
|
Delete: `${moduleKey}:${entitiesKey.personIdentifier.name}:${deleteKey}`,
|
|
121
110
|
},
|
|
122
|
-
PersonIdentifierType: {
|
|
123
|
-
Management: `${moduleKey}:${entitiesKey.personIdentifierType.name}:${manageKey}`,
|
|
124
|
-
View: `${moduleKey}:${entitiesKey.personIdentifierType.name}:${viewKey}`,
|
|
125
|
-
Create: `${moduleKey}:${entitiesKey.personIdentifierType.name}:${createKey}`,
|
|
126
|
-
Update: `${moduleKey}:${entitiesKey.personIdentifierType.name}:${updateKey}`,
|
|
127
|
-
Delete: `${moduleKey}:${entitiesKey.personIdentifierType.name}:${deleteKey}`,
|
|
128
|
-
},
|
|
129
111
|
},
|
|
130
112
|
};
|
|
131
113
|
//#endregion
|
|
@@ -139,7 +121,6 @@ class AXMPermissionDefinitionProvider {
|
|
|
139
121
|
// I18n path constants
|
|
140
122
|
const MODULE = '@person-management:module';
|
|
141
123
|
const PERSON_PERMISSIONS = '@person-management:person.permissions.persons';
|
|
142
|
-
const PERSON_IDENTIFIER_TYPE_PERMISSIONS = '@person-management:person-identifier-type.permissions.person-identifier-types';
|
|
143
124
|
context
|
|
144
125
|
.addGroup(RootConfig.module.name, `${MODULE}.title`, `${MODULE}.description`)
|
|
145
126
|
//
|
|
@@ -150,13 +131,6 @@ class AXMPermissionDefinitionProvider {
|
|
|
150
131
|
.addChild(keys.Person.Delete, `${PERSON_PERMISSIONS}.actions.delete.title`, `${PERSON_PERMISSIONS}.actions.delete.description`)
|
|
151
132
|
.endPermission()
|
|
152
133
|
//
|
|
153
|
-
.addPermission(keys.PersonIdentifierType.Management, `${PERSON_IDENTIFIER_TYPE_PERMISSIONS}.title`, `${PERSON_IDENTIFIER_TYPE_PERMISSIONS}.description`)
|
|
154
|
-
.addChild(keys.PersonIdentifierType.View, `${PERSON_IDENTIFIER_TYPE_PERMISSIONS}.actions.view.title`, `${PERSON_IDENTIFIER_TYPE_PERMISSIONS}.actions.view.description`)
|
|
155
|
-
.addChild(keys.PersonIdentifierType.Create, `${PERSON_IDENTIFIER_TYPE_PERMISSIONS}.actions.create.title`, `${PERSON_IDENTIFIER_TYPE_PERMISSIONS}.actions.create.description`)
|
|
156
|
-
.addChild(keys.PersonIdentifierType.Update, `${PERSON_IDENTIFIER_TYPE_PERMISSIONS}.actions.edit.title`, `${PERSON_IDENTIFIER_TYPE_PERMISSIONS}.actions.edit.description`)
|
|
157
|
-
.addChild(keys.PersonIdentifierType.Delete, `${PERSON_IDENTIFIER_TYPE_PERMISSIONS}.actions.delete.title`, `${PERSON_IDENTIFIER_TYPE_PERMISSIONS}.actions.delete.description`)
|
|
158
|
-
.endPermission()
|
|
159
|
-
//
|
|
160
134
|
.endGroup();
|
|
161
135
|
}
|
|
162
136
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXMPermissionDefinitionProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
@@ -169,9 +143,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
169
143
|
const AXPPersonManagementMenuKeys = {
|
|
170
144
|
Root: 'person-management:menu:root',
|
|
171
145
|
Persons: 'person-management:menu:persons',
|
|
172
|
-
DividerPerson1: 'person-management:menu:divider-person-1',
|
|
173
|
-
PersonIdentifierTypes: 'person-management:menu:person-identifier-types',
|
|
174
|
-
PersonRelationshipTypes: 'person-management:menu:person-relationship-types',
|
|
175
146
|
};
|
|
176
147
|
|
|
177
148
|
//#region ---- Imports ----
|
|
@@ -204,32 +175,6 @@ class AXMMenuProvider {
|
|
|
204
175
|
permissions: [AXMPermissionsKeys.PersonManagement.Person.View],
|
|
205
176
|
},
|
|
206
177
|
},
|
|
207
|
-
{
|
|
208
|
-
name: AXPPersonManagementMenuKeys.DividerPerson1,
|
|
209
|
-
text: '',
|
|
210
|
-
type: 'break',
|
|
211
|
-
priority: 2,
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
name: AXPPersonManagementMenuKeys.PersonIdentifierTypes,
|
|
215
|
-
text: '@person-management:person-identifier-type.plural-title',
|
|
216
|
-
path: this.entityService.createPath(module.name, RootConfig.entities.personIdentifierType.name),
|
|
217
|
-
icon: RootConfig.entities.personIdentifierType.icon,
|
|
218
|
-
priority: 3,
|
|
219
|
-
policy: {
|
|
220
|
-
permissions: [AXMPermissionsKeys.PersonManagement.PersonIdentifierType.View],
|
|
221
|
-
},
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
name: AXPPersonManagementMenuKeys.PersonRelationshipTypes,
|
|
225
|
-
text: '@person-management:person-relationship-type.plural-title',
|
|
226
|
-
path: this.entityService.createPath(module.name, RootConfig.entities.personRelationshipType.name),
|
|
227
|
-
icon: RootConfig.entities.personRelationshipType.icon,
|
|
228
|
-
priority: 4,
|
|
229
|
-
policy: {
|
|
230
|
-
permissions: [AXMPermissionsKeys.PersonManagement.PersonRelationship.View],
|
|
231
|
-
},
|
|
232
|
-
},
|
|
233
178
|
],
|
|
234
179
|
},
|
|
235
180
|
]);
|
|
@@ -256,13 +201,9 @@ class AXMPersonManagementEntityProvider {
|
|
|
256
201
|
case RootConfig.entities.personRole.name:
|
|
257
202
|
return (await import('./acorex-modules-person-management-person-role.entity-C6aEm6oN.mjs')).personRoleFactory(this.injector);
|
|
258
203
|
case RootConfig.entities.personRelationship.name:
|
|
259
|
-
return (await import('./acorex-modules-person-management-person-relationship.entity-
|
|
260
|
-
case RootConfig.entities.personRelationshipType?.name:
|
|
261
|
-
return (await Promise.resolve().then(function () { return personRelationshipType_entity; })).personRelationshipTypeFactory(this.injector);
|
|
262
|
-
case RootConfig.entities.personIdentifierType.name:
|
|
263
|
-
return (await import('./acorex-modules-person-management-person-identifier-type.entity-VchCczk-.mjs')).personIdentifierTypeFactory(this.injector);
|
|
204
|
+
return (await import('./acorex-modules-person-management-person-relationship.entity-DbcXasEe.mjs')).personRelationshipFactory(this.injector);
|
|
264
205
|
case RootConfig.entities.personIdentifier.name:
|
|
265
|
-
return (await import('./acorex-modules-person-management-person-identifier.entity-
|
|
206
|
+
return (await import('./acorex-modules-person-management-person-identifier.entity-HBmiUahC.mjs')).personIdentifierFactory(this.injector);
|
|
266
207
|
}
|
|
267
208
|
}
|
|
268
209
|
return null;
|
|
@@ -335,24 +276,24 @@ class AXMSearchCommandProvider extends AXPSearchCommandProvider {
|
|
|
335
276
|
{
|
|
336
277
|
group: 'command',
|
|
337
278
|
title: 'New Person Relationship Type',
|
|
338
|
-
icon: RootConfig.entities.personRelationshipType.icon,
|
|
279
|
+
icon: RootConfig$1.entities.personRelationshipType.icon,
|
|
339
280
|
description: 'Define a new type of person relationship.',
|
|
340
281
|
command: {
|
|
341
282
|
name: 'create-entity',
|
|
342
283
|
options: {
|
|
343
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.personRelationshipType.name}`,
|
|
284
|
+
entity: `${RootConfig$1.module.name}.${RootConfig$1.entities.personRelationshipType.name}`,
|
|
344
285
|
},
|
|
345
286
|
},
|
|
346
287
|
},
|
|
347
288
|
{
|
|
348
289
|
group: 'command',
|
|
349
290
|
title: 'New Person Identifier Type',
|
|
350
|
-
icon: RootConfig.entities.personIdentifierType.icon,
|
|
291
|
+
icon: RootConfig$1.entities.personIdentifierType.icon,
|
|
351
292
|
description: 'Create a new type of person identifier.',
|
|
352
293
|
command: {
|
|
353
294
|
name: 'create-entity',
|
|
354
295
|
options: {
|
|
355
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.personIdentifierType.name}`,
|
|
296
|
+
entity: `${RootConfig$1.module.name}.${RootConfig$1.entities.personIdentifierType.name}`,
|
|
356
297
|
},
|
|
357
298
|
},
|
|
358
299
|
},
|
|
@@ -523,19 +464,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
523
464
|
type: Injectable
|
|
524
465
|
}], ctorParameters: () => [] });
|
|
525
466
|
|
|
526
|
-
class AXMPersonIdentifierTypeService extends AXMEntityCrudServiceImpl {
|
|
527
|
-
}
|
|
528
|
-
class AXMPersonIdentifierTypeServiceImpl extends AXMPersonIdentifierTypeService {
|
|
529
|
-
constructor() {
|
|
530
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.personIdentifierType.name}`);
|
|
531
|
-
}
|
|
532
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXMPersonIdentifierTypeServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
533
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXMPersonIdentifierTypeServiceImpl }); }
|
|
534
|
-
}
|
|
535
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXMPersonIdentifierTypeServiceImpl, decorators: [{
|
|
536
|
-
type: Injectable
|
|
537
|
-
}], ctorParameters: () => [] });
|
|
538
|
-
|
|
539
467
|
class AXMPersonIdentifierService extends AXMEntityCrudServiceImpl {
|
|
540
468
|
}
|
|
541
469
|
class AXMPersonIdentifierServiceImpl extends AXMPersonIdentifierService {
|
|
@@ -549,126 +477,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
549
477
|
type: Injectable
|
|
550
478
|
}], ctorParameters: () => [] });
|
|
551
479
|
|
|
552
|
-
class AXMPersonRelationshipTypeService extends AXMEntityCrudServiceImpl {
|
|
553
|
-
}
|
|
554
|
-
class AXMPersonRelationshipTypeServiceImpl extends AXMPersonRelationshipTypeService {
|
|
555
|
-
constructor() {
|
|
556
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.personRelationshipType.name}`);
|
|
557
|
-
}
|
|
558
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXMPersonRelationshipTypeServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
559
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXMPersonRelationshipTypeServiceImpl }); }
|
|
560
|
-
}
|
|
561
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXMPersonRelationshipTypeServiceImpl, decorators: [{
|
|
562
|
-
type: Injectable
|
|
563
|
-
}], ctorParameters: () => [] });
|
|
564
|
-
|
|
565
|
-
//#region ---- Imports ----
|
|
566
|
-
//#endregion
|
|
567
|
-
async function personRelationshipTypeFactory(injector) {
|
|
568
|
-
const entityDef = {
|
|
569
|
-
module: RootConfig.module.name,
|
|
570
|
-
name: RootConfig.entities.personRelationshipType.name,
|
|
571
|
-
title: RootConfig.entities.personRelationshipType.title,
|
|
572
|
-
icon: RootConfig.entities.personRelationshipType.icon,
|
|
573
|
-
formats: {
|
|
574
|
-
individual: RootConfig.entities.personRelationshipType.title,
|
|
575
|
-
plural: RootConfig.entities.personRelationshipType.titlePlural,
|
|
576
|
-
searchResult: {
|
|
577
|
-
title: RootConfig.entities.personRelationshipType.title,
|
|
578
|
-
description: '@person-management:person-relationship-type.search-result-description',
|
|
579
|
-
},
|
|
580
|
-
},
|
|
581
|
-
groups: [
|
|
582
|
-
{ id: 'basic-info', title: '@general:terms.interface.basic-info' },
|
|
583
|
-
{ id: 'settings', title: '@general:terms.interface.settings' },
|
|
584
|
-
],
|
|
585
|
-
properties: [
|
|
586
|
-
{
|
|
587
|
-
name: 'title',
|
|
588
|
-
title: '@general:terms.common.title',
|
|
589
|
-
groupId: 'basic-info',
|
|
590
|
-
options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
|
|
591
|
-
schema: {
|
|
592
|
-
dataType: 'string',
|
|
593
|
-
interface: {
|
|
594
|
-
type: AXPWidgetsCatalog.text,
|
|
595
|
-
},
|
|
596
|
-
},
|
|
597
|
-
validations: [{ rule: 'required' }],
|
|
598
|
-
},
|
|
599
|
-
{
|
|
600
|
-
name: 'description',
|
|
601
|
-
title: '@general:terms.common.description',
|
|
602
|
-
groupId: 'basic-info',
|
|
603
|
-
options: { sort: { enabled: false }, filter: { advance: { enabled: true }, inline: { enabled: false } } },
|
|
604
|
-
schema: {
|
|
605
|
-
dataType: 'string',
|
|
606
|
-
interface: {
|
|
607
|
-
type: AXPWidgetsCatalog.largeText,
|
|
608
|
-
options: { rows: 3 },
|
|
609
|
-
},
|
|
610
|
-
},
|
|
611
|
-
},
|
|
612
|
-
{
|
|
613
|
-
name: 'isDirectional',
|
|
614
|
-
title: '@person-management:person-relationship-type.properties.is-directional.title',
|
|
615
|
-
groupId: 'settings',
|
|
616
|
-
options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
|
|
617
|
-
schema: {
|
|
618
|
-
dataType: 'boolean',
|
|
619
|
-
interface: {
|
|
620
|
-
type: AXPWidgetsCatalog.toggle,
|
|
621
|
-
},
|
|
622
|
-
},
|
|
623
|
-
},
|
|
624
|
-
],
|
|
625
|
-
columns: [{ name: 'title' }, { name: 'isDirectional' }],
|
|
626
|
-
interfaces: {
|
|
627
|
-
master: {
|
|
628
|
-
create: {
|
|
629
|
-
sections: [{ id: 'basic-info' }, { id: 'settings' }],
|
|
630
|
-
properties: [
|
|
631
|
-
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
632
|
-
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
633
|
-
{ name: 'isDirectional', layout: { positions: { lg: { colSpan: 3, order: 3 } } } },
|
|
634
|
-
],
|
|
635
|
-
},
|
|
636
|
-
update: {
|
|
637
|
-
sections: [{ id: 'basic-info' }, { id: 'settings' }],
|
|
638
|
-
properties: [
|
|
639
|
-
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
640
|
-
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
641
|
-
{ name: 'isDirectional', layout: { positions: { lg: { colSpan: 3, order: 4 } } } },
|
|
642
|
-
],
|
|
643
|
-
},
|
|
644
|
-
single: {
|
|
645
|
-
title: '{{title}}',
|
|
646
|
-
sections: [
|
|
647
|
-
{ id: 'basic-info' },
|
|
648
|
-
{ id: 'settings' },
|
|
649
|
-
],
|
|
650
|
-
properties: [
|
|
651
|
-
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
652
|
-
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
653
|
-
{ name: 'isDirectional', layout: { positions: { lg: { colSpan: 3, order: 4 } } } },
|
|
654
|
-
],
|
|
655
|
-
actions: [...entityMasterRecordActions()],
|
|
656
|
-
},
|
|
657
|
-
list: {
|
|
658
|
-
actions: [...entityMasterCrudActions()],
|
|
659
|
-
views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
|
|
660
|
-
},
|
|
661
|
-
},
|
|
662
|
-
},
|
|
663
|
-
};
|
|
664
|
-
return entityDef;
|
|
665
|
-
}
|
|
666
|
-
|
|
667
|
-
var personRelationshipType_entity = /*#__PURE__*/Object.freeze({
|
|
668
|
-
__proto__: null,
|
|
669
|
-
personRelationshipTypeFactory: personRelationshipTypeFactory
|
|
670
|
-
});
|
|
671
|
-
|
|
672
480
|
class AXMPersonEntityModule {
|
|
673
481
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXMPersonEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
674
482
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: AXMPersonEntityModule }); }
|
|
@@ -744,31 +552,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
744
552
|
}]
|
|
745
553
|
}] });
|
|
746
554
|
|
|
747
|
-
class AXMPersonIdentifierTypeEntityModule {
|
|
748
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXMPersonIdentifierTypeEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
749
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: AXMPersonIdentifierTypeEntityModule }); }
|
|
750
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXMPersonIdentifierTypeEntityModule, providers: [
|
|
751
|
-
{
|
|
752
|
-
provide: AXMPersonIdentifierTypeService,
|
|
753
|
-
useClass: AXMPersonIdentifierTypeServiceImpl,
|
|
754
|
-
},
|
|
755
|
-
] }); }
|
|
756
|
-
}
|
|
757
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXMPersonIdentifierTypeEntityModule, decorators: [{
|
|
758
|
-
type: NgModule,
|
|
759
|
-
args: [{
|
|
760
|
-
imports: [],
|
|
761
|
-
exports: [],
|
|
762
|
-
declarations: [],
|
|
763
|
-
providers: [
|
|
764
|
-
{
|
|
765
|
-
provide: AXMPersonIdentifierTypeService,
|
|
766
|
-
useClass: AXMPersonIdentifierTypeServiceImpl,
|
|
767
|
-
},
|
|
768
|
-
],
|
|
769
|
-
}]
|
|
770
|
-
}] });
|
|
771
|
-
|
|
772
555
|
class AXMPersonIdentifierEntityModule {
|
|
773
556
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXMPersonIdentifierEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
774
557
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: AXMPersonIdentifierEntityModule }); }
|
|
@@ -794,31 +577,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
794
577
|
}]
|
|
795
578
|
}] });
|
|
796
579
|
|
|
797
|
-
class AXMPersonRelationshipTypeEntityModule {
|
|
798
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXMPersonRelationshipTypeEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
799
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: AXMPersonRelationshipTypeEntityModule }); }
|
|
800
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXMPersonRelationshipTypeEntityModule, providers: [
|
|
801
|
-
{
|
|
802
|
-
provide: AXMPersonRelationshipTypeService,
|
|
803
|
-
useClass: AXMPersonRelationshipTypeServiceImpl,
|
|
804
|
-
},
|
|
805
|
-
] }); }
|
|
806
|
-
}
|
|
807
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXMPersonRelationshipTypeEntityModule, decorators: [{
|
|
808
|
-
type: NgModule,
|
|
809
|
-
args: [{
|
|
810
|
-
imports: [],
|
|
811
|
-
exports: [],
|
|
812
|
-
declarations: [],
|
|
813
|
-
providers: [
|
|
814
|
-
{
|
|
815
|
-
provide: AXMPersonRelationshipTypeService,
|
|
816
|
-
useClass: AXMPersonRelationshipTypeServiceImpl,
|
|
817
|
-
},
|
|
818
|
-
],
|
|
819
|
-
}]
|
|
820
|
-
}] });
|
|
821
|
-
|
|
822
580
|
// Entity Services
|
|
823
581
|
|
|
824
582
|
class AXMPersonManagementModule {
|
|
@@ -828,9 +586,7 @@ class AXMPersonManagementModule {
|
|
|
828
586
|
AXMPersonEntityModule,
|
|
829
587
|
AXMPersonRoleEntityModule,
|
|
830
588
|
AXMPersonRelationshipEntityModule,
|
|
831
|
-
|
|
832
|
-
AXMPersonIdentifierEntityModule,
|
|
833
|
-
AXMPersonRelationshipTypeEntityModule] }); }
|
|
589
|
+
AXMPersonIdentifierEntityModule] }); }
|
|
834
590
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXMPersonManagementModule, providers: [
|
|
835
591
|
// Module Manifest Provider
|
|
836
592
|
{
|
|
@@ -879,9 +635,7 @@ class AXMPersonManagementModule {
|
|
|
879
635
|
AXMPersonEntityModule,
|
|
880
636
|
AXMPersonRoleEntityModule,
|
|
881
637
|
AXMPersonRelationshipEntityModule,
|
|
882
|
-
|
|
883
|
-
AXMPersonIdentifierEntityModule,
|
|
884
|
-
AXMPersonRelationshipTypeEntityModule] }); }
|
|
638
|
+
AXMPersonIdentifierEntityModule] }); }
|
|
885
639
|
}
|
|
886
640
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXMPersonManagementModule, decorators: [{
|
|
887
641
|
type: NgModule,
|
|
@@ -892,9 +646,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
892
646
|
AXMPersonEntityModule,
|
|
893
647
|
AXMPersonRoleEntityModule,
|
|
894
648
|
AXMPersonRelationshipEntityModule,
|
|
895
|
-
AXMPersonIdentifierTypeEntityModule,
|
|
896
649
|
AXMPersonIdentifierEntityModule,
|
|
897
|
-
AXMPersonRelationshipTypeEntityModule,
|
|
898
650
|
],
|
|
899
651
|
providers: [
|
|
900
652
|
// Module Manifest Provider
|