@acorex/modules 19.1.9 → 19.1.11

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.
Files changed (55) hide show
  1. package/fesm2022/acorex-modules-notification-management.mjs +240 -240
  2. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
  3. package/fesm2022/acorex-modules-organization-managment-chart-design.page-eE-nOaMw.mjs +305 -0
  4. package/fesm2022/acorex-modules-organization-managment-chart-design.page-eE-nOaMw.mjs.map +1 -0
  5. package/fesm2022/acorex-modules-organization-managment-chart.entity-C_1rAJrs.mjs +257 -0
  6. package/fesm2022/acorex-modules-organization-managment-chart.entity-C_1rAJrs.mjs.map +1 -0
  7. package/fesm2022/acorex-modules-organization-managment-company.entity-5qijWD6i.mjs +199 -0
  8. package/fesm2022/acorex-modules-organization-managment-company.entity-5qijWD6i.mjs.map +1 -0
  9. package/fesm2022/acorex-modules-organization-managment-department.entity-BW18skLD.mjs +199 -0
  10. package/fesm2022/acorex-modules-organization-managment-department.entity-BW18skLD.mjs.map +1 -0
  11. package/fesm2022/acorex-modules-organization-managment-employment.entity-D28NBRYg.mjs +199 -0
  12. package/fesm2022/acorex-modules-organization-managment-employment.entity-D28NBRYg.mjs.map +1 -0
  13. package/fesm2022/acorex-modules-organization-managment-position.entity-DhndysSH.mjs +199 -0
  14. package/fesm2022/acorex-modules-organization-managment-position.entity-DhndysSH.mjs.map +1 -0
  15. package/fesm2022/acorex-modules-organization-managment.mjs +482 -0
  16. package/fesm2022/acorex-modules-organization-managment.mjs.map +1 -0
  17. package/fesm2022/acorex-modules-security-management.mjs +55 -55
  18. package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
  19. package/notification-management/lib/entities/index.d.ts +1 -0
  20. package/organization-managment/README.md +3 -0
  21. package/organization-managment/index.d.ts +8 -0
  22. package/organization-managment/lib/const.d.ts +38 -0
  23. package/organization-managment/lib/entities/chart/chart.entity.d.ts +3 -0
  24. package/organization-managment/lib/entities/chart/chart.module.d.ts +6 -0
  25. package/organization-managment/lib/entities/chart/chart.service.d.ts +10 -0
  26. package/organization-managment/lib/entities/chart/chart.types.d.ts +6 -0
  27. package/organization-managment/lib/entities/company/company.entity.d.ts +3 -0
  28. package/organization-managment/lib/entities/company/company.module.d.ts +6 -0
  29. package/organization-managment/lib/entities/company/company.service.d.ts +10 -0
  30. package/organization-managment/lib/entities/company/company.types.d.ts +4 -0
  31. package/organization-managment/lib/entities/department/department.entity.d.ts +3 -0
  32. package/organization-managment/lib/entities/department/department.module.d.ts +6 -0
  33. package/organization-managment/lib/entities/department/department.service.d.ts +10 -0
  34. package/organization-managment/lib/entities/department/department.types.d.ts +4 -0
  35. package/organization-managment/lib/entities/employment/employment.entity.d.ts +3 -0
  36. package/organization-managment/lib/entities/employment/employment.module.d.ts +6 -0
  37. package/organization-managment/lib/entities/employment/employment.service.d.ts +10 -0
  38. package/organization-managment/lib/entities/employment/employment.types.d.ts +4 -0
  39. package/organization-managment/lib/entities/index.d.ts +5 -0
  40. package/organization-managment/lib/entities/position/position.entity.d.ts +3 -0
  41. package/organization-managment/lib/entities/position/position.module.d.ts +6 -0
  42. package/organization-managment/lib/entities/position/position.service.d.ts +10 -0
  43. package/organization-managment/lib/entities/position/position.types.d.ts +4 -0
  44. package/organization-managment/lib/entity.provider.d.ts +10 -0
  45. package/organization-managment/lib/menu.provider.d.ts +5 -0
  46. package/organization-managment/lib/organization-managment.module.d.ts +13 -0
  47. package/organization-managment/lib/pages/chart-design/add-item/add-item.component.d.ts +14 -0
  48. package/organization-managment/lib/pages/chart-design/chart-design.page.d.ts +26 -0
  49. package/organization-managment/lib/pages/chart-design/chart-design.service.d.ts +23 -0
  50. package/organization-managment/lib/pages/chart-design/chart.type.d.ts +9 -0
  51. package/organization-managment/lib/setting.provider.d.ts +4 -0
  52. package/organization-managment/lib/workflows/chart.workflow.d.ts +12 -0
  53. package/package.json +11 -7
  54. package/security-management/index.d.ts +1 -0
  55. package/security-management/lib/entities/index.d.ts +3 -0
@@ -398,6 +398,245 @@ var channel_entity = /*#__PURE__*/Object.freeze({
398
398
  notificationChannelEntityFactory: notificationChannelEntityFactory
399
399
  });
400
400
 
401
+ class AXMNotificationEntityService extends AXMEntityCrudServiceImpl {
402
+ }
403
+ class AXMNotificationEntityServiceImpl extends AXMNotificationEntityService {
404
+ getList() {
405
+ throw new Error('Method not implemented.');
406
+ }
407
+ markAsRead(payload) {
408
+ throw new Error('Method not implemented.');
409
+ }
410
+ create(payload) {
411
+ throw new Error('Method not implemented.');
412
+ }
413
+ constructor() {
414
+ super(`${RootConfig.module.name}.${RootConfig.entities.notification.name}`);
415
+ }
416
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMNotificationEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
417
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMNotificationEntityServiceImpl }); }
418
+ }
419
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMNotificationEntityServiceImpl, decorators: [{
420
+ type: Injectable
421
+ }], ctorParameters: () => [] });
422
+
423
+ async function notificationEntityFactory(injector) {
424
+ const dataService = injector.get(AXMNotificationEntityService);
425
+ const entityDef = {
426
+ module: RootConfig.module.name,
427
+ name: RootConfig.entities.notification.name,
428
+ source: '',
429
+ title: RootConfig.entities.notification.title,
430
+ formats: {
431
+ individual: 't("notifications",{scope: "notification-management"})',
432
+ plural: 't("notifications",{scope: "notification-management"})',
433
+ },
434
+ relatedEntities: [
435
+ {
436
+ entity: 'notification-management.notificationLog',
437
+ columns: ['title', 'status'],
438
+ },
439
+ ],
440
+ groups: [
441
+ {
442
+ id: 'notification',
443
+ title: 'Notification',
444
+ },
445
+ ],
446
+ properties: [
447
+ {
448
+ name: 'name',
449
+ title: 'Name',
450
+ groupId: 'notification',
451
+ schema: {
452
+ dataType: 'string',
453
+ interface: {
454
+ type: AXPWidgetsCatalog.text,
455
+ },
456
+ },
457
+ validations: [
458
+ {
459
+ rule: 'required',
460
+ },
461
+ ],
462
+ },
463
+ {
464
+ name: 'title',
465
+ title: 'Title',
466
+ groupId: 'notification',
467
+ schema: {
468
+ dataType: 'string',
469
+ interface: {
470
+ type: AXPWidgetsCatalog.text,
471
+ },
472
+ },
473
+ validations: [
474
+ {
475
+ rule: 'required',
476
+ },
477
+ ],
478
+ },
479
+ {
480
+ name: 'body',
481
+ title: 'Body',
482
+ groupId: 'notification',
483
+ schema: {
484
+ dataType: 'string',
485
+ interface: {
486
+ type: AXPWidgetsCatalog.richText,
487
+ },
488
+ },
489
+ validations: [
490
+ {
491
+ rule: 'required',
492
+ },
493
+ ],
494
+ },
495
+ {
496
+ name: 'channel',
497
+ title: 'Channel',
498
+ groupId: 'notification',
499
+ schema: {
500
+ dataType: 'string',
501
+ interface: {
502
+ type: AXPWidgetsCatalog.text,
503
+ },
504
+ },
505
+ },
506
+ {
507
+ name: 'user.name',
508
+ title: 'User Name',
509
+ groupId: 'notification',
510
+ schema: {
511
+ dataType: 'string',
512
+ interface: {
513
+ type: AXPWidgetsCatalog.text,
514
+ },
515
+ },
516
+ },
517
+ ],
518
+ columns: [{ name: 'title' }, { name: 'body' }, { name: 'user.name' }, { name: 'channel' }],
519
+ queries: {
520
+ byKey: {
521
+ execute: async (id) => {
522
+ return new Promise((resolve) => {
523
+ setTimeout(async () => {
524
+ const entity = await dataService.getOne(id);
525
+ resolve(entity);
526
+ }, 500);
527
+ });
528
+ },
529
+ type: AXPEntityQueryType.Single,
530
+ },
531
+ list: {
532
+ execute: async (e) => {
533
+ return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
534
+ },
535
+ type: AXPEntityQueryType.List,
536
+ },
537
+ },
538
+ interfaces: {
539
+ master: {
540
+ single: {
541
+ title: '{{title}}',
542
+ sections: [
543
+ {
544
+ id: 'notification',
545
+ layout: {
546
+ positions: {
547
+ lg: {
548
+ colSpan: 12,
549
+ },
550
+ },
551
+ },
552
+ },
553
+ ],
554
+ properties: [
555
+ {
556
+ name: 'name',
557
+ layout: {
558
+ positions: {
559
+ lg: {
560
+ colSpan: 6,
561
+ },
562
+ },
563
+ },
564
+ },
565
+ {
566
+ name: 'user.name',
567
+ layout: {
568
+ positions: {
569
+ lg: {
570
+ colSpan: 6,
571
+ },
572
+ },
573
+ },
574
+ },
575
+ {
576
+ name: 'title',
577
+ layout: {
578
+ positions: {
579
+ lg: {
580
+ colSpan: 12,
581
+ },
582
+ },
583
+ },
584
+ },
585
+ {
586
+ name: 'body',
587
+ layout: {
588
+ positions: {
589
+ lg: {
590
+ colSpan: 12,
591
+ },
592
+ },
593
+ },
594
+ },
595
+ {
596
+ name: 'channel',
597
+ layout: {
598
+ positions: {
599
+ lg: {
600
+ colSpan: 6,
601
+ },
602
+ },
603
+ },
604
+ },
605
+ ],
606
+ actions: [],
607
+ },
608
+ list: {
609
+ actions: [
610
+ {
611
+ title: 'Details',
612
+ command: 'open-entity',
613
+ priority: 'primary',
614
+ type: 'view',
615
+ scope: AXPEntityCommandScope.Individual,
616
+ },
617
+ ],
618
+ views: [
619
+ {
620
+ name: 'all',
621
+ title: 'All Items',
622
+ fixed: true,
623
+ columns: [],
624
+ conditions: [],
625
+ sorts: [],
626
+ },
627
+ ],
628
+ },
629
+ },
630
+ },
631
+ };
632
+ return entityDef;
633
+ }
634
+
635
+ var notification_entity = /*#__PURE__*/Object.freeze({
636
+ __proto__: null,
637
+ notificationEntityFactory: notificationEntityFactory
638
+ });
639
+
401
640
  class AXMNotificationManagementTemplateEntityService extends AXMEntityCrudServiceImpl {
402
641
  }
403
642
  class AXMNotificationManagementTemplateEntityServiceImpl extends AXMNotificationManagementTemplateEntityService {
@@ -796,245 +1035,6 @@ class AXMNotificationManagmentModuleMenuProvider {
796
1035
  }
797
1036
  }
798
1037
 
799
- class AXMNotificationEntityService extends AXMEntityCrudServiceImpl {
800
- }
801
- class AXMNotificationEntityServiceImpl extends AXMNotificationEntityService {
802
- getList() {
803
- throw new Error('Method not implemented.');
804
- }
805
- markAsRead(payload) {
806
- throw new Error('Method not implemented.');
807
- }
808
- create(payload) {
809
- throw new Error('Method not implemented.');
810
- }
811
- constructor() {
812
- super(`${RootConfig.module.name}.${RootConfig.entities.notification.name}`);
813
- }
814
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMNotificationEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
815
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMNotificationEntityServiceImpl }); }
816
- }
817
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMNotificationEntityServiceImpl, decorators: [{
818
- type: Injectable
819
- }], ctorParameters: () => [] });
820
-
821
- async function notificationEntityFactory(injector) {
822
- const dataService = injector.get(AXMNotificationEntityService);
823
- const entityDef = {
824
- module: RootConfig.module.name,
825
- name: RootConfig.entities.notification.name,
826
- source: '',
827
- title: RootConfig.entities.notification.title,
828
- formats: {
829
- individual: 't("notifications",{scope: "notification-management"})',
830
- plural: 't("notifications",{scope: "notification-management"})',
831
- },
832
- relatedEntities: [
833
- {
834
- entity: 'notification-management.notificationLog',
835
- columns: ['title', 'status'],
836
- },
837
- ],
838
- groups: [
839
- {
840
- id: 'notification',
841
- title: 'Notification',
842
- },
843
- ],
844
- properties: [
845
- {
846
- name: 'name',
847
- title: 'Name',
848
- groupId: 'notification',
849
- schema: {
850
- dataType: 'string',
851
- interface: {
852
- type: AXPWidgetsCatalog.text,
853
- },
854
- },
855
- validations: [
856
- {
857
- rule: 'required',
858
- },
859
- ],
860
- },
861
- {
862
- name: 'title',
863
- title: 'Title',
864
- groupId: 'notification',
865
- schema: {
866
- dataType: 'string',
867
- interface: {
868
- type: AXPWidgetsCatalog.text,
869
- },
870
- },
871
- validations: [
872
- {
873
- rule: 'required',
874
- },
875
- ],
876
- },
877
- {
878
- name: 'body',
879
- title: 'Body',
880
- groupId: 'notification',
881
- schema: {
882
- dataType: 'string',
883
- interface: {
884
- type: AXPWidgetsCatalog.richText,
885
- },
886
- },
887
- validations: [
888
- {
889
- rule: 'required',
890
- },
891
- ],
892
- },
893
- {
894
- name: 'channel',
895
- title: 'Channel',
896
- groupId: 'notification',
897
- schema: {
898
- dataType: 'string',
899
- interface: {
900
- type: AXPWidgetsCatalog.text,
901
- },
902
- },
903
- },
904
- {
905
- name: 'user.name',
906
- title: 'User Name',
907
- groupId: 'notification',
908
- schema: {
909
- dataType: 'string',
910
- interface: {
911
- type: AXPWidgetsCatalog.text,
912
- },
913
- },
914
- },
915
- ],
916
- columns: [{ name: 'title' }, { name: 'body' }, { name: 'user.name' }, { name: 'channel' }],
917
- queries: {
918
- byKey: {
919
- execute: async (id) => {
920
- return new Promise((resolve) => {
921
- setTimeout(async () => {
922
- const entity = await dataService.getOne(id);
923
- resolve(entity);
924
- }, 500);
925
- });
926
- },
927
- type: AXPEntityQueryType.Single,
928
- },
929
- list: {
930
- execute: async (e) => {
931
- return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
932
- },
933
- type: AXPEntityQueryType.List,
934
- },
935
- },
936
- interfaces: {
937
- master: {
938
- single: {
939
- title: '{{title}}',
940
- sections: [
941
- {
942
- id: 'notification',
943
- layout: {
944
- positions: {
945
- lg: {
946
- colSpan: 12,
947
- },
948
- },
949
- },
950
- },
951
- ],
952
- properties: [
953
- {
954
- name: 'name',
955
- layout: {
956
- positions: {
957
- lg: {
958
- colSpan: 6,
959
- },
960
- },
961
- },
962
- },
963
- {
964
- name: 'user.name',
965
- layout: {
966
- positions: {
967
- lg: {
968
- colSpan: 6,
969
- },
970
- },
971
- },
972
- },
973
- {
974
- name: 'title',
975
- layout: {
976
- positions: {
977
- lg: {
978
- colSpan: 12,
979
- },
980
- },
981
- },
982
- },
983
- {
984
- name: 'body',
985
- layout: {
986
- positions: {
987
- lg: {
988
- colSpan: 12,
989
- },
990
- },
991
- },
992
- },
993
- {
994
- name: 'channel',
995
- layout: {
996
- positions: {
997
- lg: {
998
- colSpan: 6,
999
- },
1000
- },
1001
- },
1002
- },
1003
- ],
1004
- actions: [],
1005
- },
1006
- list: {
1007
- actions: [
1008
- {
1009
- title: 'Details',
1010
- command: 'open-entity',
1011
- priority: 'primary',
1012
- type: 'view',
1013
- scope: AXPEntityCommandScope.Individual,
1014
- },
1015
- ],
1016
- views: [
1017
- {
1018
- name: 'all',
1019
- title: 'All Items',
1020
- fixed: true,
1021
- columns: [],
1022
- conditions: [],
1023
- sorts: [],
1024
- },
1025
- ],
1026
- },
1027
- },
1028
- },
1029
- };
1030
- return entityDef;
1031
- }
1032
-
1033
- var notification_entity = /*#__PURE__*/Object.freeze({
1034
- __proto__: null,
1035
- notificationEntityFactory: notificationEntityFactory
1036
- });
1037
-
1038
1038
  class AXMAdminNotificationItemComponent {
1039
1039
  constructor() {
1040
1040
  this.data = input.required();
@@ -1993,5 +1993,5 @@ async function notificationLogEntityFactory(injector) {
1993
1993
  * Generated bundle index. Do not edit.
1994
1994
  */
1995
1995
 
1996
- export { AXMNotificationManagementChannelEntityService, AXMNotificationManagementChannelEntityServiceImpl, AXMNotificationManagementModule, AXMNotificationManagementTemplateEntityModule, AXMNotificationManagementTemplateEntityService, AXMNotificationManagementTemplateEntityServiceImpl, AXMNotificationManagmentModuleMenuProvider, AXMSettingProvider, RootConfig, myNotificationEntityFactory, notificationChannelEntityFactory, notificationEntityFactory, notificationLogEntityFactory, notificationTemplateEntityFactory };
1996
+ export { AXMNotificationEntityService, AXMNotificationEntityServiceImpl, AXMNotificationManagementChannelEntityService, AXMNotificationManagementChannelEntityServiceImpl, AXMNotificationManagementModule, AXMNotificationManagementTemplateEntityModule, AXMNotificationManagementTemplateEntityService, AXMNotificationManagementTemplateEntityServiceImpl, AXMNotificationManagmentModuleMenuProvider, AXMSettingProvider, RootConfig, myNotificationEntityFactory, notificationChannelEntityFactory, notificationEntityFactory, notificationLogEntityFactory, notificationTemplateEntityFactory };
1997
1997
  //# sourceMappingURL=acorex-modules-notification-management.mjs.map