@acorex/modules 19.1.10 → 19.1.12
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-modules-form-template-management-category.entity-m0HWwBzu.mjs → acorex-modules-form-template-management-category.entity-D8XA8ZaF.mjs} +5 -5
- package/fesm2022/acorex-modules-form-template-management-category.entity-D8XA8ZaF.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-template.entity-EoPISAfV.mjs → acorex-modules-form-template-management-template.entity-CGj7d49H.mjs} +4 -4
- package/fesm2022/acorex-modules-form-template-management-template.entity-CGj7d49H.mjs.map +1 -0
- package/fesm2022/acorex-modules-form-template-management.mjs +3 -3
- package/fesm2022/acorex-modules-form-template-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +65 -63
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-organization-managment-chart-design.page-eE-nOaMw.mjs +305 -0
- package/fesm2022/acorex-modules-organization-managment-chart-design.page-eE-nOaMw.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-managment-chart.entity-C_1rAJrs.mjs +257 -0
- package/fesm2022/acorex-modules-organization-managment-chart.entity-C_1rAJrs.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-managment-company.entity-5qijWD6i.mjs +199 -0
- package/fesm2022/acorex-modules-organization-managment-company.entity-5qijWD6i.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-managment-department.entity-BW18skLD.mjs +199 -0
- package/fesm2022/acorex-modules-organization-managment-department.entity-BW18skLD.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-managment-employment.entity-D28NBRYg.mjs +199 -0
- package/fesm2022/acorex-modules-organization-managment-employment.entity-D28NBRYg.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-managment-position.entity-DhndysSH.mjs +199 -0
- package/fesm2022/acorex-modules-organization-managment-position.entity-DhndysSH.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-managment.mjs +482 -0
- package/fesm2022/acorex-modules-organization-managment.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-management.mjs +396 -35
- package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-scheduler-job-management.mjs +36 -24
- package/fesm2022/acorex-modules-scheduler-job-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +269 -108
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-text-template-management.mjs +2 -7
- package/fesm2022/acorex-modules-text-template-management.mjs.map +1 -1
- package/organization-managment/README.md +3 -0
- package/organization-managment/index.d.ts +8 -0
- package/organization-managment/lib/const.d.ts +38 -0
- package/organization-managment/lib/entities/chart/chart.entity.d.ts +3 -0
- package/organization-managment/lib/entities/chart/chart.module.d.ts +6 -0
- package/organization-managment/lib/entities/chart/chart.service.d.ts +10 -0
- package/organization-managment/lib/entities/chart/chart.types.d.ts +6 -0
- package/organization-managment/lib/entities/company/company.entity.d.ts +3 -0
- package/organization-managment/lib/entities/company/company.module.d.ts +6 -0
- package/organization-managment/lib/entities/company/company.service.d.ts +10 -0
- package/organization-managment/lib/entities/company/company.types.d.ts +4 -0
- package/organization-managment/lib/entities/department/department.entity.d.ts +3 -0
- package/organization-managment/lib/entities/department/department.module.d.ts +6 -0
- package/organization-managment/lib/entities/department/department.service.d.ts +10 -0
- package/organization-managment/lib/entities/department/department.types.d.ts +4 -0
- package/organization-managment/lib/entities/employment/employment.entity.d.ts +3 -0
- package/organization-managment/lib/entities/employment/employment.module.d.ts +6 -0
- package/organization-managment/lib/entities/employment/employment.service.d.ts +10 -0
- package/organization-managment/lib/entities/employment/employment.types.d.ts +4 -0
- package/organization-managment/lib/entities/index.d.ts +5 -0
- package/organization-managment/lib/entities/position/position.entity.d.ts +3 -0
- package/organization-managment/lib/entities/position/position.module.d.ts +6 -0
- package/organization-managment/lib/entities/position/position.service.d.ts +10 -0
- package/organization-managment/lib/entities/position/position.types.d.ts +4 -0
- package/organization-managment/lib/entity.provider.d.ts +10 -0
- package/organization-managment/lib/menu.provider.d.ts +5 -0
- package/organization-managment/lib/organization-managment.module.d.ts +13 -0
- package/organization-managment/lib/pages/chart-design/add-item/add-item.component.d.ts +14 -0
- package/organization-managment/lib/pages/chart-design/chart-design.page.d.ts +26 -0
- package/organization-managment/lib/pages/chart-design/chart-design.service.d.ts +23 -0
- package/organization-managment/lib/pages/chart-design/chart.type.d.ts +9 -0
- package/organization-managment/lib/setting.provider.d.ts +4 -0
- package/organization-managment/lib/workflows/chart.workflow.d.ts +12 -0
- package/package.json +12 -8
- package/platform-management/index.d.ts +0 -1
- package/platform-management/lib/const.d.ts +27 -7
- package/platform-management/lib/entities/app-version/app-version.entity.d.ts +3 -0
- package/platform-management/lib/entities/app-version/app-version.service.d.ts +10 -0
- package/platform-management/lib/entities/app-version/app-version.types.d.ts +6 -0
- package/platform-management/lib/entities/app-version/index.d.ts +3 -0
- package/platform-management/lib/{global-variables → entities/global-variable}/index.d.ts +1 -2
- package/platform-management/lib/entities/index.d.ts +2 -0
- package/platform-management/lib/entity.provider.d.ts +10 -0
- package/scheduler-job-management/lib/const.d.ts +17 -6
- package/security-management/index.d.ts +1 -0
- package/security-management/lib/entities/index.d.ts +3 -0
- package/fesm2022/acorex-modules-form-template-management-category.entity-m0HWwBzu.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-template.entity-EoPISAfV.mjs.map +0 -1
- package/platform-management/lib/global-variables/entity.loader.d.ts +0 -9
- /package/platform-management/lib/{global-variables/entities → entities/global-variable}/global-variable.entity.d.ts +0 -0
- /package/platform-management/lib/{global-variables → entities/global-variable}/global-variables.service.d.ts +0 -0
- /package/platform-management/lib/{global-variables → entities/global-variable}/global-variables.types.d.ts +0 -0
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
|
-
import { inject, Injector,
|
2
|
+
import { Injectable, inject, Injector, NgModule } from '@angular/core';
|
3
3
|
import { AXMEntityCrudServiceImpl, AXPEntityQueryType, AXPEntityCommandScope, AXPSearchCommandProvider, AXP_MENU_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex/platform/common';
|
4
4
|
import { AXPEntityService, AXPEntityResolver, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
5
5
|
import { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';
|
@@ -37,6 +37,59 @@ const RootConfig = {
|
|
37
37
|
},
|
38
38
|
};
|
39
39
|
|
40
|
+
class AXMSecurityManagementProfileEntityService {
|
41
|
+
}
|
42
|
+
class AXMSecurityManagementProfileEntityServiceImpl extends AXMSecurityManagementProfileEntityService {
|
43
|
+
get() {
|
44
|
+
return Promise.resolve({
|
45
|
+
firstName: 'John',
|
46
|
+
lastName: 'Doe',
|
47
|
+
email: 'john.doe@example.com',
|
48
|
+
phone: '123-456-7890',
|
49
|
+
address: '123 Main St, Anytown, USA',
|
50
|
+
city: 'Anytown',
|
51
|
+
suburb: 'Downtown',
|
52
|
+
});
|
53
|
+
}
|
54
|
+
update() {
|
55
|
+
return Promise.resolve(null);
|
56
|
+
}
|
57
|
+
updateAvatar() {
|
58
|
+
return Promise.resolve(null);
|
59
|
+
}
|
60
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMSecurityManagementProfileEntityServiceImpl, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
61
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMSecurityManagementProfileEntityServiceImpl }); }
|
62
|
+
}
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMSecurityManagementProfileEntityServiceImpl, decorators: [{
|
64
|
+
type: Injectable
|
65
|
+
}] });
|
66
|
+
|
67
|
+
class AXMSecurityManagementRolesEntityService extends AXMEntityCrudServiceImpl {
|
68
|
+
}
|
69
|
+
class AXMSecurityManagementRolesEntityServiceImpl extends AXMSecurityManagementRolesEntityService {
|
70
|
+
constructor() {
|
71
|
+
super(`${RootConfig.module.name}.${RootConfig.entities.roles}`);
|
72
|
+
}
|
73
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMSecurityManagementRolesEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
74
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMSecurityManagementRolesEntityServiceImpl }); }
|
75
|
+
}
|
76
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMSecurityManagementRolesEntityServiceImpl, decorators: [{
|
77
|
+
type: Injectable
|
78
|
+
}], ctorParameters: () => [] });
|
79
|
+
|
80
|
+
class AXMSecurityManagementUsersEntityService extends AXMEntityCrudServiceImpl {
|
81
|
+
}
|
82
|
+
class AXMSecurityManagementUsersEntityServiceImpl extends AXMSecurityManagementUsersEntityService {
|
83
|
+
constructor() {
|
84
|
+
super(`${RootConfig.module.name}.${RootConfig.entities.users.name}`);
|
85
|
+
}
|
86
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMSecurityManagementUsersEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
87
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMSecurityManagementUsersEntityServiceImpl }); }
|
88
|
+
}
|
89
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMSecurityManagementUsersEntityServiceImpl, decorators: [{
|
90
|
+
type: Injectable
|
91
|
+
}], ctorParameters: () => [] });
|
92
|
+
|
40
93
|
class AXMMenuProvider {
|
41
94
|
constructor() {
|
42
95
|
this.entityService = inject(AXPEntityService);
|
@@ -106,19 +159,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
106
159
|
type: Injectable
|
107
160
|
}] });
|
108
161
|
|
109
|
-
class AXMSecurityManagementUsersEntityService extends AXMEntityCrudServiceImpl {
|
110
|
-
}
|
111
|
-
class AXMSecurityManagementUsersEntityServiceImpl extends AXMSecurityManagementUsersEntityService {
|
112
|
-
constructor() {
|
113
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.users.name}`);
|
114
|
-
}
|
115
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMSecurityManagementUsersEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
116
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMSecurityManagementUsersEntityServiceImpl }); }
|
117
|
-
}
|
118
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMSecurityManagementUsersEntityServiceImpl, decorators: [{
|
119
|
-
type: Injectable
|
120
|
-
}], ctorParameters: () => [] });
|
121
|
-
|
122
162
|
async function factory$2(injector) {
|
123
163
|
const dataService = injector.get(AXMSecurityManagementUsersEntityService);
|
124
164
|
const entityResolver = injector.get(AXPEntityResolver);
|
@@ -174,8 +214,8 @@ async function factory$2(injector) {
|
|
174
214
|
],
|
175
215
|
},
|
176
216
|
{
|
177
|
-
name: '
|
178
|
-
title: `t("
|
217
|
+
name: 'firstname',
|
218
|
+
title: `t("firstname", { scope: "${i18n}" })`,
|
179
219
|
groupId: 'info',
|
180
220
|
options: {
|
181
221
|
sort: {
|
@@ -200,8 +240,8 @@ async function factory$2(injector) {
|
|
200
240
|
],
|
201
241
|
},
|
202
242
|
{
|
203
|
-
name: '
|
204
|
-
title: `t("
|
243
|
+
name: 'lastname',
|
244
|
+
title: `t("lastname", { scope: "${i18n}" })`,
|
205
245
|
groupId: 'info',
|
206
246
|
schema: {
|
207
247
|
dataType: 'string',
|
@@ -225,6 +265,81 @@ async function factory$2(injector) {
|
|
225
265
|
},
|
226
266
|
],
|
227
267
|
},
|
268
|
+
{
|
269
|
+
name: 'nationalCode',
|
270
|
+
title: `t("nationalCode", { scope: "${i18n}" })`,
|
271
|
+
groupId: 'info',
|
272
|
+
schema: {
|
273
|
+
dataType: 'string',
|
274
|
+
interface: {
|
275
|
+
type: AXPWidgetsCatalog.text,
|
276
|
+
},
|
277
|
+
},
|
278
|
+
options: {
|
279
|
+
filter: {
|
280
|
+
advance: {
|
281
|
+
enabled: true,
|
282
|
+
},
|
283
|
+
},
|
284
|
+
sort: {
|
285
|
+
enabled: true,
|
286
|
+
},
|
287
|
+
},
|
288
|
+
validations: [
|
289
|
+
{
|
290
|
+
rule: 'required',
|
291
|
+
},
|
292
|
+
],
|
293
|
+
},
|
294
|
+
{
|
295
|
+
name: 'mobile',
|
296
|
+
title: `t("mobile", { scope: "${i18n}" })`,
|
297
|
+
groupId: 'info',
|
298
|
+
schema: {
|
299
|
+
dataType: 'string',
|
300
|
+
interface: {
|
301
|
+
type: AXPWidgetsCatalog.contact,
|
302
|
+
options: {
|
303
|
+
type: 'mobile',
|
304
|
+
hasLabel: false,
|
305
|
+
placeholder: ``,
|
306
|
+
},
|
307
|
+
},
|
308
|
+
},
|
309
|
+
options: {
|
310
|
+
filter: {
|
311
|
+
advance: {
|
312
|
+
enabled: true,
|
313
|
+
},
|
314
|
+
},
|
315
|
+
sort: {
|
316
|
+
enabled: true,
|
317
|
+
},
|
318
|
+
},
|
319
|
+
validations: [],
|
320
|
+
},
|
321
|
+
{
|
322
|
+
name: 'password',
|
323
|
+
title: `t("password", { scope: "${i18n}" })`,
|
324
|
+
groupId: 'authorizations',
|
325
|
+
schema: {
|
326
|
+
dataType: 'string',
|
327
|
+
interface: {
|
328
|
+
type: AXPWidgetsCatalog.password,
|
329
|
+
},
|
330
|
+
},
|
331
|
+
options: {
|
332
|
+
filter: {
|
333
|
+
advance: {
|
334
|
+
enabled: true,
|
335
|
+
},
|
336
|
+
},
|
337
|
+
sort: {
|
338
|
+
enabled: true,
|
339
|
+
},
|
340
|
+
},
|
341
|
+
validations: [],
|
342
|
+
},
|
228
343
|
{
|
229
344
|
name: 'roles',
|
230
345
|
title: `t("roles", { scope: "${i18n}" })`,
|
@@ -236,8 +351,8 @@ async function factory$2(injector) {
|
|
236
351
|
options: {
|
237
352
|
triggers: [
|
238
353
|
{
|
239
|
-
event: "{{ events.context('
|
240
|
-
action: `{{console.log(context.eval('
|
354
|
+
event: "{{ events.context('lastname') }}",
|
355
|
+
action: `{{console.log(context.eval('lastname'))}}`,
|
241
356
|
},
|
242
357
|
],
|
243
358
|
dataSource: new AXDataSource({
|
@@ -262,7 +377,13 @@ async function factory$2(injector) {
|
|
262
377
|
],
|
263
378
|
},
|
264
379
|
],
|
265
|
-
columns: [
|
380
|
+
columns: [
|
381
|
+
{ name: 'username' },
|
382
|
+
{ name: 'firstname' },
|
383
|
+
{ name: 'lastname' },
|
384
|
+
{ name: 'nationalCode' },
|
385
|
+
{ name: 'mobile' },
|
386
|
+
],
|
266
387
|
commands: {
|
267
388
|
create: {
|
268
389
|
execute: async (data) => {
|
@@ -318,7 +439,7 @@ async function factory$2(injector) {
|
|
318
439
|
},
|
319
440
|
},
|
320
441
|
{
|
321
|
-
name: '
|
442
|
+
name: 'firstname',
|
322
443
|
layout: {
|
323
444
|
positions: {
|
324
445
|
lg: {
|
@@ -328,7 +449,27 @@ async function factory$2(injector) {
|
|
328
449
|
},
|
329
450
|
},
|
330
451
|
{
|
331
|
-
name: '
|
452
|
+
name: 'lastname',
|
453
|
+
layout: {
|
454
|
+
positions: {
|
455
|
+
lg: {
|
456
|
+
colSpan: 6,
|
457
|
+
},
|
458
|
+
},
|
459
|
+
},
|
460
|
+
},
|
461
|
+
{
|
462
|
+
name: 'nationalCode',
|
463
|
+
layout: {
|
464
|
+
positions: {
|
465
|
+
lg: {
|
466
|
+
colSpan: 6,
|
467
|
+
},
|
468
|
+
},
|
469
|
+
},
|
470
|
+
},
|
471
|
+
{
|
472
|
+
name: 'mobile',
|
332
473
|
layout: {
|
333
474
|
positions: {
|
334
475
|
lg: {
|
@@ -347,6 +488,16 @@ async function factory$2(injector) {
|
|
347
488
|
},
|
348
489
|
},
|
349
490
|
},
|
491
|
+
{
|
492
|
+
name: 'password',
|
493
|
+
layout: {
|
494
|
+
positions: {
|
495
|
+
lg: {
|
496
|
+
colSpan: 12,
|
497
|
+
},
|
498
|
+
},
|
499
|
+
},
|
500
|
+
},
|
350
501
|
],
|
351
502
|
},
|
352
503
|
update: {
|
@@ -370,7 +521,7 @@ async function factory$2(injector) {
|
|
370
521
|
},
|
371
522
|
},
|
372
523
|
{
|
373
|
-
name: '
|
524
|
+
name: 'firstname',
|
374
525
|
layout: {
|
375
526
|
positions: {
|
376
527
|
lg: {
|
@@ -380,7 +531,27 @@ async function factory$2(injector) {
|
|
380
531
|
},
|
381
532
|
},
|
382
533
|
{
|
383
|
-
name: '
|
534
|
+
name: 'lastname',
|
535
|
+
layout: {
|
536
|
+
positions: {
|
537
|
+
lg: {
|
538
|
+
colSpan: 6,
|
539
|
+
},
|
540
|
+
},
|
541
|
+
},
|
542
|
+
},
|
543
|
+
{
|
544
|
+
name: 'nationalCode',
|
545
|
+
layout: {
|
546
|
+
positions: {
|
547
|
+
lg: {
|
548
|
+
colSpan: 6,
|
549
|
+
},
|
550
|
+
},
|
551
|
+
},
|
552
|
+
},
|
553
|
+
{
|
554
|
+
name: 'mobile',
|
384
555
|
layout: {
|
385
556
|
positions: {
|
386
557
|
lg: {
|
@@ -402,7 +573,7 @@ async function factory$2(injector) {
|
|
402
573
|
],
|
403
574
|
},
|
404
575
|
single: {
|
405
|
-
title: '{{
|
576
|
+
title: '{{firstname}} {{lastname}}',
|
406
577
|
sections: [
|
407
578
|
{
|
408
579
|
id: 'info',
|
@@ -437,7 +608,7 @@ async function factory$2(injector) {
|
|
437
608
|
},
|
438
609
|
},
|
439
610
|
{
|
440
|
-
name: '
|
611
|
+
name: 'firstname',
|
441
612
|
layout: {
|
442
613
|
positions: {
|
443
614
|
lg: {
|
@@ -447,7 +618,17 @@ async function factory$2(injector) {
|
|
447
618
|
},
|
448
619
|
},
|
449
620
|
{
|
450
|
-
name: '
|
621
|
+
name: 'lastname',
|
622
|
+
layout: {
|
623
|
+
positions: {
|
624
|
+
lg: {
|
625
|
+
colSpan: 6,
|
626
|
+
},
|
627
|
+
},
|
628
|
+
},
|
629
|
+
},
|
630
|
+
{
|
631
|
+
name: 'nationalCode',
|
451
632
|
layout: {
|
452
633
|
positions: {
|
453
634
|
lg: {
|
@@ -456,6 +637,26 @@ async function factory$2(injector) {
|
|
456
637
|
},
|
457
638
|
},
|
458
639
|
},
|
640
|
+
{
|
641
|
+
name: 'mobile',
|
642
|
+
layout: {
|
643
|
+
positions: {
|
644
|
+
lg: {
|
645
|
+
colSpan: 6,
|
646
|
+
},
|
647
|
+
},
|
648
|
+
},
|
649
|
+
},
|
650
|
+
{
|
651
|
+
name: 'password',
|
652
|
+
layout: {
|
653
|
+
positions: {
|
654
|
+
lg: {
|
655
|
+
colSpan: 12,
|
656
|
+
},
|
657
|
+
},
|
658
|
+
},
|
659
|
+
},
|
459
660
|
{
|
460
661
|
name: 'roles',
|
461
662
|
layout: {
|
@@ -472,28 +673,28 @@ async function factory$2(injector) {
|
|
472
673
|
list: {
|
473
674
|
actions: [
|
474
675
|
{
|
475
|
-
title: `t("create")`,
|
676
|
+
title: `t("create", { scope: "common" })`,
|
476
677
|
command: 'create-entity',
|
477
678
|
priority: 'primary',
|
478
679
|
type: 'create',
|
479
680
|
scope: AXPEntityCommandScope.TypeLevel,
|
480
681
|
},
|
481
682
|
{
|
482
|
-
title:
|
683
|
+
title: `t("deleteItems", {scope: "common"})`,
|
483
684
|
command: 'delete-entity',
|
484
685
|
priority: 'primary',
|
485
686
|
type: 'delete',
|
486
687
|
scope: AXPEntityCommandScope.Selected,
|
487
688
|
},
|
488
689
|
{
|
489
|
-
title:
|
690
|
+
title: `t("detail", {scope: "common"})`,
|
490
691
|
command: 'open-entity',
|
491
692
|
priority: 'secondary',
|
492
693
|
type: 'view',
|
493
694
|
scope: AXPEntityCommandScope.Individual,
|
494
695
|
},
|
495
696
|
{
|
496
|
-
title:
|
697
|
+
title: `t("delete", {scope: "common"})`,
|
497
698
|
command: 'delete-entity',
|
498
699
|
priority: 'secondary',
|
499
700
|
type: 'delete',
|
@@ -503,7 +704,7 @@ async function factory$2(injector) {
|
|
503
704
|
views: [
|
504
705
|
{
|
505
706
|
name: 'all',
|
506
|
-
title:
|
707
|
+
title: `t("allItem", {scope: "common"})`,
|
507
708
|
fixed: true,
|
508
709
|
columns: [],
|
509
710
|
conditions: [],
|
@@ -549,19 +750,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
549
750
|
}]
|
550
751
|
}] });
|
551
752
|
|
552
|
-
class AXMSecurityManagementRolesEntityService extends AXMEntityCrudServiceImpl {
|
553
|
-
}
|
554
|
-
class AXMSecurityManagementRolesEntityServiceImpl extends AXMSecurityManagementRolesEntityService {
|
555
|
-
constructor() {
|
556
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.roles}`);
|
557
|
-
}
|
558
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMSecurityManagementRolesEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
559
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMSecurityManagementRolesEntityServiceImpl }); }
|
560
|
-
}
|
561
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMSecurityManagementRolesEntityServiceImpl, decorators: [{
|
562
|
-
type: Injectable
|
563
|
-
}], ctorParameters: () => [] });
|
564
|
-
|
565
753
|
async function factory$1(injector) {
|
566
754
|
const dataService = injector.get(AXMSecurityManagementRolesEntityService);
|
567
755
|
const permissionService = injector.get(AXPPermissionProviderService);
|
@@ -588,8 +776,8 @@ async function factory$1(injector) {
|
|
588
776
|
],
|
589
777
|
properties: [
|
590
778
|
{
|
591
|
-
name: '
|
592
|
-
title: `t("
|
779
|
+
name: 'code',
|
780
|
+
title: `t("code", { scope: "${i18n}" })`,
|
593
781
|
groupId: 'info',
|
594
782
|
schema: {
|
595
783
|
dataType: 'string',
|
@@ -605,7 +793,7 @@ async function factory$1(injector) {
|
|
605
793
|
},
|
606
794
|
{
|
607
795
|
name: 'title',
|
608
|
-
title: `t("title")`,
|
796
|
+
title: `t("title", {scope:"${i18n}"})`,
|
609
797
|
groupId: 'info',
|
610
798
|
options: {
|
611
799
|
sort: {
|
@@ -627,27 +815,27 @@ async function factory$1(injector) {
|
|
627
815
|
},
|
628
816
|
},
|
629
817
|
},
|
630
|
-
{
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
},
|
818
|
+
// {
|
819
|
+
// name: 'disabled',
|
820
|
+
// title: `t("active", {scope:"${i18n}"})`,
|
821
|
+
// groupId: 'info',
|
822
|
+
// options: {
|
823
|
+
// filter: {
|
824
|
+
// advance: {
|
825
|
+
// enabled: true,
|
826
|
+
// },
|
827
|
+
// },
|
828
|
+
// },
|
829
|
+
// schema: {
|
830
|
+
// dataType: 'boolean',
|
831
|
+
// interface: {
|
832
|
+
// type: AXPWidgetsCatalog.checkbox,
|
833
|
+
// options: {
|
834
|
+
// negative: true,
|
835
|
+
// },
|
836
|
+
// },
|
837
|
+
// },
|
838
|
+
// },
|
651
839
|
{
|
652
840
|
name: 'permissions',
|
653
841
|
title: `t("permissions", { scope: "${i18n}" })`,
|
@@ -666,9 +854,9 @@ async function factory$1(injector) {
|
|
666
854
|
};
|
667
855
|
},
|
668
856
|
pageSize: 1000,
|
669
|
-
key: '
|
857
|
+
key: 'code',
|
670
858
|
}),
|
671
|
-
valueField: '
|
859
|
+
valueField: 'code',
|
672
860
|
textField: 'title',
|
673
861
|
multiple: true,
|
674
862
|
},
|
@@ -676,7 +864,7 @@ async function factory$1(injector) {
|
|
676
864
|
},
|
677
865
|
},
|
678
866
|
],
|
679
|
-
columns: [{ name: '
|
867
|
+
columns: [{ name: 'code' }, { name: 'title' }],
|
680
868
|
commands: {
|
681
869
|
create: {
|
682
870
|
execute: async (data) => {
|
@@ -723,7 +911,7 @@ async function factory$1(injector) {
|
|
723
911
|
],
|
724
912
|
properties: [
|
725
913
|
{
|
726
|
-
name: '
|
914
|
+
name: 'code',
|
727
915
|
layout: {
|
728
916
|
positions: {
|
729
917
|
lg: {
|
@@ -775,7 +963,7 @@ async function factory$1(injector) {
|
|
775
963
|
],
|
776
964
|
properties: [
|
777
965
|
{
|
778
|
-
name: '
|
966
|
+
name: 'code',
|
779
967
|
layout: {
|
780
968
|
positions: {
|
781
969
|
lg: {
|
@@ -842,7 +1030,7 @@ async function factory$1(injector) {
|
|
842
1030
|
],
|
843
1031
|
properties: [
|
844
1032
|
{
|
845
|
-
name: '
|
1033
|
+
name: 'code',
|
846
1034
|
layout: {
|
847
1035
|
positions: {
|
848
1036
|
lg: {
|
@@ -894,21 +1082,21 @@ async function factory$1(injector) {
|
|
894
1082
|
scope: AXPEntityCommandScope.TypeLevel,
|
895
1083
|
},
|
896
1084
|
{
|
897
|
-
title:
|
1085
|
+
title: `t("deleteItems", { scope: "common" })`,
|
898
1086
|
command: 'delete-entity',
|
899
1087
|
priority: 'primary',
|
900
1088
|
type: 'delete',
|
901
1089
|
scope: AXPEntityCommandScope.Selected,
|
902
1090
|
},
|
903
1091
|
{
|
904
|
-
title:
|
1092
|
+
title: `t("detail", { scope: "common" })`,
|
905
1093
|
command: 'open-entity',
|
906
1094
|
priority: 'secondary',
|
907
1095
|
type: 'view',
|
908
1096
|
scope: AXPEntityCommandScope.Individual,
|
909
1097
|
},
|
910
1098
|
{
|
911
|
-
title:
|
1099
|
+
title: `t("delete", { scope: "common" })`,
|
912
1100
|
command: 'delete-entity',
|
913
1101
|
priority: 'secondary',
|
914
1102
|
type: 'delete',
|
@@ -918,7 +1106,7 @@ async function factory$1(injector) {
|
|
918
1106
|
views: [
|
919
1107
|
{
|
920
1108
|
name: 'all',
|
921
|
-
title:
|
1109
|
+
title: `t("allItem", { scope: "common" })`,
|
922
1110
|
fixed: true,
|
923
1111
|
columns: [],
|
924
1112
|
conditions: [],
|
@@ -994,33 +1182,6 @@ class AXMSearchCommandProvider extends AXPSearchCommandProvider {
|
|
994
1182
|
}
|
995
1183
|
}
|
996
1184
|
|
997
|
-
class AXMSecurityManagementProfileEntityService {
|
998
|
-
}
|
999
|
-
class AXMSecurityManagementProfileEntityServiceImpl extends AXMSecurityManagementProfileEntityService {
|
1000
|
-
get() {
|
1001
|
-
return Promise.resolve({
|
1002
|
-
firstName: 'John',
|
1003
|
-
lastName: 'Doe',
|
1004
|
-
email: 'john.doe@example.com',
|
1005
|
-
phone: '123-456-7890',
|
1006
|
-
address: '123 Main St, Anytown, USA',
|
1007
|
-
city: 'Anytown',
|
1008
|
-
suburb: 'Downtown',
|
1009
|
-
});
|
1010
|
-
}
|
1011
|
-
update() {
|
1012
|
-
return Promise.resolve(null);
|
1013
|
-
}
|
1014
|
-
updateAvatar() {
|
1015
|
-
return Promise.resolve(null);
|
1016
|
-
}
|
1017
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMSecurityManagementProfileEntityServiceImpl, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
1018
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMSecurityManagementProfileEntityServiceImpl }); }
|
1019
|
-
}
|
1020
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMSecurityManagementProfileEntityServiceImpl, decorators: [{
|
1021
|
-
type: Injectable
|
1022
|
-
}] });
|
1023
|
-
|
1024
1185
|
async function factory(injector) {
|
1025
1186
|
const dataService = injector.get(AXMSecurityManagementProfileEntityService);
|
1026
1187
|
const i18n = RootConfig.config.i18n;
|
@@ -1628,5 +1789,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
1628
1789
|
* Generated bundle index. Do not edit.
|
1629
1790
|
*/
|
1630
1791
|
|
1631
|
-
export { AXMSecurityManagementModule, RootConfig };
|
1792
|
+
export { AXMSecurityManagementModule, AXMSecurityManagementProfileEntityService, AXMSecurityManagementProfileEntityServiceImpl, AXMSecurityManagementRolesEntityService, AXMSecurityManagementRolesEntityServiceImpl, AXMSecurityManagementUsersEntityService, AXMSecurityManagementUsersEntityServiceImpl, RootConfig };
|
1632
1793
|
//# sourceMappingURL=acorex-modules-security-management.mjs.map
|