@acorex/modules 20.2.4-next.6 → 20.2.4-next.8

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 (45) hide show
  1. package/dashboard-management/index.d.ts +2 -2
  2. package/fesm2022/acorex-modules-dashboard-management.mjs +3 -3
  3. package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
  4. package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-BhU14Qou.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-Cp2gr7Iv.mjs} +69 -69
  5. package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-Cp2gr7Iv.mjs.map +1 -0
  6. package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-D4lGFRCA.mjs → acorex-modules-form-template-management-permission-definition.provider-C1RCxyNV.mjs} +2 -2
  7. package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-D4lGFRCA.mjs.map → acorex-modules-form-template-management-permission-definition.provider-C1RCxyNV.mjs.map} +1 -1
  8. package/fesm2022/{acorex-modules-form-template-management-settings.provider-499Y4rLb.mjs → acorex-modules-form-template-management-settings.provider-6AeK3OKQ.mjs} +2 -2
  9. package/fesm2022/{acorex-modules-form-template-management-settings.provider-499Y4rLb.mjs.map → acorex-modules-form-template-management-settings.provider-6AeK3OKQ.mjs.map} +1 -1
  10. package/fesm2022/{acorex-modules-form-template-management-template-picker.component-2EkzMuIy.mjs → acorex-modules-form-template-management-template-picker.component-CLjMSNDH.mjs} +2 -2
  11. package/fesm2022/{acorex-modules-form-template-management-template-picker.component-2EkzMuIy.mjs.map → acorex-modules-form-template-management-template-picker.component-CLjMSNDH.mjs.map} +1 -1
  12. package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-DwgbgFrf.mjs → acorex-modules-form-template-management-template-widget-edit.component-C54ki1jt.mjs} +2 -2
  13. package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-DwgbgFrf.mjs.map → acorex-modules-form-template-management-template-widget-edit.component-C54ki1jt.mjs.map} +1 -1
  14. package/fesm2022/{acorex-modules-form-template-management-template.entity-D_14HgMr.mjs → acorex-modules-form-template-management-template.entity-juNqjlv4.mjs} +2 -2
  15. package/fesm2022/{acorex-modules-form-template-management-template.entity-D_14HgMr.mjs.map → acorex-modules-form-template-management-template.entity-juNqjlv4.mjs.map} +1 -1
  16. package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-BLgx_xby.mjs → acorex-modules-form-template-management-viewer-popup.component-CV8UjR-U.mjs} +2 -2
  17. package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-BLgx_xby.mjs.map → acorex-modules-form-template-management-viewer-popup.component-CV8UjR-U.mjs.map} +1 -1
  18. package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
  19. package/fesm2022/{acorex-modules-human-capital-management-acorex-modules-human-capital-management-1PmjMC7i.mjs → acorex-modules-human-capital-management-acorex-modules-human-capital-management-D4A3ZYFq.mjs} +328 -49
  20. package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-D4A3ZYFq.mjs.map +1 -0
  21. package/fesm2022/{acorex-modules-human-capital-management-employee-skill.entity-DyOHJWW_.mjs → acorex-modules-human-capital-management-employee-skill.entity-DfVvf8Fg.mjs} +2 -2
  22. package/fesm2022/{acorex-modules-human-capital-management-employee-skill.entity-DyOHJWW_.mjs.map → acorex-modules-human-capital-management-employee-skill.entity-DfVvf8Fg.mjs.map} +1 -1
  23. package/fesm2022/{acorex-modules-human-capital-management-employee.entity-5J-FoLiT.mjs → acorex-modules-human-capital-management-employee.entity-ByBqfKiF.mjs} +2 -2
  24. package/fesm2022/{acorex-modules-human-capital-management-employee.entity-5J-FoLiT.mjs.map → acorex-modules-human-capital-management-employee.entity-ByBqfKiF.mjs.map} +1 -1
  25. package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-DFpRtSOh.mjs → acorex-modules-human-capital-management-employment-type.entity-DZ8ubvD6.mjs} +2 -2
  26. package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-DFpRtSOh.mjs.map → acorex-modules-human-capital-management-employment-type.entity-DZ8ubvD6.mjs.map} +1 -1
  27. package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-DuNvJq-k.mjs → acorex-modules-human-capital-management-position-assignment.entity-BtIVnv-C.mjs} +2 -2
  28. package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-DuNvJq-k.mjs.map → acorex-modules-human-capital-management-position-assignment.entity-BtIVnv-C.mjs.map} +1 -1
  29. package/fesm2022/{acorex-modules-human-capital-management-skill-level.entity-0ZzRent7.mjs → acorex-modules-human-capital-management-skill-level.entity-DFCE3zcH.mjs} +2 -2
  30. package/fesm2022/{acorex-modules-human-capital-management-skill-level.entity-0ZzRent7.mjs.map → acorex-modules-human-capital-management-skill-level.entity-DFCE3zcH.mjs.map} +1 -1
  31. package/fesm2022/{acorex-modules-human-capital-management-skill.entity-Dd7p11vj.mjs → acorex-modules-human-capital-management-skill.entity-DPeTwYH4.mjs} +2 -2
  32. package/fesm2022/{acorex-modules-human-capital-management-skill.entity-Dd7p11vj.mjs.map → acorex-modules-human-capital-management-skill.entity-DPeTwYH4.mjs.map} +1 -1
  33. package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1
  34. package/fesm2022/acorex-modules-organization-management.mjs +368 -0
  35. package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
  36. package/fesm2022/acorex-modules-security-management.mjs +5 -5
  37. package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
  38. package/fesm2022/acorex-modules-task-management.mjs +3 -3
  39. package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
  40. package/human-capital-management/index.d.ts +37 -1
  41. package/package.json +6 -5
  42. package/security-management/index.d.ts +3 -3
  43. package/task-management/index.d.ts +2 -2
  44. package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-BhU14Qou.mjs.map +0 -1
  45. package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-1PmjMC7i.mjs.map +0 -1
@@ -592,6 +592,334 @@ class AXMDepartmentDataSourceDefinition {
592
592
  }
593
593
  }
594
594
 
595
+ class AXMDivisionDataSourceDefinition {
596
+ constructor() {
597
+ this.divisionService = inject(AXMOrganizationManagementDivisionEntityService);
598
+ }
599
+ items() {
600
+ return Promise.resolve([
601
+ {
602
+ name: 'divisions',
603
+ title: 'Divisions',
604
+ source: () => {
605
+ return new AXDataSource({
606
+ key: 'id',
607
+ load: async (_) => {
608
+ try {
609
+ const res = await this.divisionService.query();
610
+ return {
611
+ items: res.items.map((item) => ({
612
+ ...item,
613
+ })),
614
+ total: res.total,
615
+ };
616
+ }
617
+ catch (e) {
618
+ console.log(e);
619
+ throw e;
620
+ }
621
+ },
622
+ byKey: async (key) => {
623
+ return await this.divisionService.getOne(key);
624
+ },
625
+ pageSize: 100,
626
+ });
627
+ },
628
+ columns: [
629
+ {
630
+ name: 'id',
631
+ title: 'ID',
632
+ datatype: 'uuid',
633
+ type: AXPWidgetsCatalog.text,
634
+ },
635
+ {
636
+ name: 'title',
637
+ title: 'Title',
638
+ datatype: 'string',
639
+ type: AXPWidgetsCatalog.text,
640
+ },
641
+ {
642
+ name: 'description',
643
+ title: 'Description',
644
+ datatype: 'string',
645
+ type: AXPWidgetsCatalog.text,
646
+ },
647
+ ],
648
+ filters: [
649
+ {
650
+ field: 'title',
651
+ title: 'Title',
652
+ operator: {
653
+ type: 'equal',
654
+ },
655
+ widget: {
656
+ type: AXPWidgetsCatalog.text,
657
+ },
658
+ filterType: {
659
+ advance: true,
660
+ inline: true,
661
+ },
662
+ },
663
+ ],
664
+ textField: {
665
+ name: 'title',
666
+ title: 'Title',
667
+ },
668
+ valueField: {
669
+ name: 'id',
670
+ title: 'ID',
671
+ },
672
+ },
673
+ ]);
674
+ }
675
+ }
676
+
677
+ class AXMRoleDataSourceDefinition {
678
+ constructor() {
679
+ this.roleService = inject(AXMOrganizationManagementRoleEntityService);
680
+ }
681
+ items() {
682
+ return Promise.resolve([
683
+ {
684
+ name: 'roles',
685
+ title: 'Roles',
686
+ source: () => {
687
+ return new AXDataSource({
688
+ key: 'id',
689
+ load: async (_) => {
690
+ try {
691
+ const res = await this.roleService.query();
692
+ return {
693
+ items: res.items.map((item) => ({
694
+ ...item,
695
+ })),
696
+ total: res.total,
697
+ };
698
+ }
699
+ catch (e) {
700
+ console.log(e);
701
+ throw e;
702
+ }
703
+ },
704
+ byKey: async (key) => {
705
+ return await this.roleService.getOne(key);
706
+ },
707
+ pageSize: 100,
708
+ });
709
+ },
710
+ columns: [
711
+ {
712
+ name: 'id',
713
+ title: 'ID',
714
+ datatype: 'uuid',
715
+ type: AXPWidgetsCatalog.text,
716
+ },
717
+ {
718
+ name: 'title',
719
+ title: 'Title',
720
+ datatype: 'string',
721
+ type: AXPWidgetsCatalog.text,
722
+ },
723
+ {
724
+ name: 'description',
725
+ title: 'Description',
726
+ datatype: 'string',
727
+ type: AXPWidgetsCatalog.text,
728
+ },
729
+ ],
730
+ filters: [
731
+ {
732
+ field: 'title',
733
+ title: 'Title',
734
+ operator: {
735
+ type: 'equal',
736
+ },
737
+ widget: {
738
+ type: AXPWidgetsCatalog.text,
739
+ },
740
+ filterType: {
741
+ advance: true,
742
+ inline: true,
743
+ },
744
+ },
745
+ ],
746
+ textField: {
747
+ name: 'title',
748
+ title: 'Title',
749
+ },
750
+ valueField: {
751
+ name: 'id',
752
+ title: 'ID',
753
+ },
754
+ },
755
+ ]);
756
+ }
757
+ }
758
+
759
+ class AXMTeamDataSourceDefinition {
760
+ constructor() {
761
+ this.teamService = inject(AXMOrganizationManagementTeamEntityService);
762
+ }
763
+ items() {
764
+ return Promise.resolve([
765
+ {
766
+ name: 'teams',
767
+ title: 'Teams',
768
+ source: () => {
769
+ return new AXDataSource({
770
+ key: 'id',
771
+ load: async (_) => {
772
+ try {
773
+ const res = await this.teamService.query();
774
+ return {
775
+ items: res.items.map((item) => ({
776
+ ...item,
777
+ })),
778
+ total: res.total,
779
+ };
780
+ }
781
+ catch (e) {
782
+ console.log(e);
783
+ throw e;
784
+ }
785
+ },
786
+ byKey: async (key) => {
787
+ return await this.teamService.getOne(key);
788
+ },
789
+ pageSize: 100,
790
+ });
791
+ },
792
+ columns: [
793
+ {
794
+ name: 'id',
795
+ title: 'ID',
796
+ datatype: 'uuid',
797
+ type: AXPWidgetsCatalog.text,
798
+ },
799
+ {
800
+ name: 'title',
801
+ title: 'Title',
802
+ datatype: 'string',
803
+ type: AXPWidgetsCatalog.text,
804
+ },
805
+ {
806
+ name: 'description',
807
+ title: 'Description',
808
+ datatype: 'string',
809
+ type: AXPWidgetsCatalog.text,
810
+ },
811
+ ],
812
+ filters: [
813
+ {
814
+ field: 'title',
815
+ title: 'Title',
816
+ operator: {
817
+ type: 'equal',
818
+ },
819
+ widget: {
820
+ type: AXPWidgetsCatalog.text,
821
+ },
822
+ filterType: {
823
+ advance: true,
824
+ inline: true,
825
+ },
826
+ },
827
+ ],
828
+ textField: {
829
+ name: 'title',
830
+ title: 'Title',
831
+ },
832
+ valueField: {
833
+ name: 'id',
834
+ title: 'ID',
835
+ },
836
+ },
837
+ ]);
838
+ }
839
+ }
840
+
841
+ class AXMPositionDataSourceDefinition {
842
+ constructor() {
843
+ this.positionService = inject(AXMOrganizationManagementPositionEntityService);
844
+ }
845
+ items() {
846
+ return Promise.resolve([
847
+ {
848
+ name: 'positions',
849
+ title: 'Positions',
850
+ source: () => {
851
+ return new AXDataSource({
852
+ key: 'id',
853
+ load: async (_) => {
854
+ try {
855
+ const res = await this.positionService.query();
856
+ return {
857
+ items: res.items.map((item) => ({
858
+ ...item,
859
+ })),
860
+ total: res.total,
861
+ };
862
+ }
863
+ catch (e) {
864
+ console.log(e);
865
+ throw e;
866
+ }
867
+ },
868
+ byKey: async (key) => {
869
+ return await this.positionService.getOne(key);
870
+ },
871
+ pageSize: 100,
872
+ });
873
+ },
874
+ columns: [
875
+ {
876
+ name: 'id',
877
+ title: 'ID',
878
+ datatype: 'uuid',
879
+ type: AXPWidgetsCatalog.text,
880
+ },
881
+ {
882
+ name: 'title',
883
+ title: 'Title',
884
+ datatype: 'string',
885
+ type: AXPWidgetsCatalog.text,
886
+ },
887
+ {
888
+ name: 'description',
889
+ title: 'Description',
890
+ datatype: 'string',
891
+ type: AXPWidgetsCatalog.text,
892
+ },
893
+ ],
894
+ filters: [
895
+ {
896
+ field: 'title',
897
+ title: 'Title',
898
+ operator: {
899
+ type: 'equal',
900
+ },
901
+ widget: {
902
+ type: AXPWidgetsCatalog.text,
903
+ },
904
+ filterType: {
905
+ advance: true,
906
+ inline: true,
907
+ },
908
+ },
909
+ ],
910
+ textField: {
911
+ name: 'title',
912
+ title: 'Title',
913
+ },
914
+ valueField: {
915
+ name: 'id',
916
+ title: 'ID',
917
+ },
918
+ },
919
+ ]);
920
+ }
921
+ }
922
+
595
923
  class AXMMenuProvider {
596
924
  constructor() {
597
925
  this.entityService = inject(AXPEntityService);
@@ -774,6 +1102,26 @@ class AXMOrganizationManagementModule {
774
1102
  useClass: AXMDepartmentDataSourceDefinition,
775
1103
  multi: true,
776
1104
  },
1105
+ {
1106
+ provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
1107
+ useClass: AXMDivisionDataSourceDefinition,
1108
+ multi: true,
1109
+ },
1110
+ {
1111
+ provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
1112
+ useClass: AXMRoleDataSourceDefinition,
1113
+ multi: true,
1114
+ },
1115
+ {
1116
+ provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
1117
+ useClass: AXMTeamDataSourceDefinition,
1118
+ multi: true,
1119
+ },
1120
+ {
1121
+ provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
1122
+ useClass: AXMPositionDataSourceDefinition,
1123
+ multi: true,
1124
+ },
777
1125
  ], imports: [CommonModule,
778
1126
  AXMOrganizationManagementResponsibilityEntityModule,
779
1127
  AXMOrganizationManagementRoleEntityModule,
@@ -841,6 +1189,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
841
1189
  useClass: AXMDepartmentDataSourceDefinition,
842
1190
  multi: true,
843
1191
  },
1192
+ {
1193
+ provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
1194
+ useClass: AXMDivisionDataSourceDefinition,
1195
+ multi: true,
1196
+ },
1197
+ {
1198
+ provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
1199
+ useClass: AXMRoleDataSourceDefinition,
1200
+ multi: true,
1201
+ },
1202
+ {
1203
+ provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
1204
+ useClass: AXMTeamDataSourceDefinition,
1205
+ multi: true,
1206
+ },
1207
+ {
1208
+ provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
1209
+ useClass: AXMPositionDataSourceDefinition,
1210
+ multi: true,
1211
+ },
844
1212
  ],
845
1213
  }]
846
1214
  }] });