@acorex/modules 20.6.2 → 20.6.3

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 (69) hide show
  1. package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-Cd7_tQ9I.mjs → acorex-modules-document-management-acorex-modules-document-management-Ch5hpPL2.mjs} +17 -17
  2. package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-Cd7_tQ9I.mjs.map → acorex-modules-document-management-acorex-modules-document-management-Ch5hpPL2.mjs.map} +1 -1
  3. package/fesm2022/{acorex-modules-document-management-attachment-widget.component-OOvQKX6g.mjs → acorex-modules-document-management-attachment-widget.component-DVSY3f9D.mjs} +2 -2
  4. package/fesm2022/{acorex-modules-document-management-attachment-widget.component-OOvQKX6g.mjs.map → acorex-modules-document-management-attachment-widget.component-DVSY3f9D.mjs.map} +1 -1
  5. package/fesm2022/{acorex-modules-document-management-details-view.component-BhqjkUbV.mjs → acorex-modules-document-management-details-view.component-B3qmcEdP.mjs} +2 -2
  6. package/fesm2022/{acorex-modules-document-management-details-view.component-BhqjkUbV.mjs.map → acorex-modules-document-management-details-view.component-B3qmcEdP.mjs.map} +1 -1
  7. package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-DGWY6fSe.mjs → acorex-modules-document-management-document-signature-popup.component-DPQjvgPk.mjs} +2 -2
  8. package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-DGWY6fSe.mjs.map → acorex-modules-document-management-document-signature-popup.component-DPQjvgPk.mjs.map} +1 -1
  9. package/fesm2022/{acorex-modules-document-management-drive-choose.component-WxmS0fOY.mjs → acorex-modules-document-management-drive-choose.component-D7P_HBZp.mjs} +2 -2
  10. package/fesm2022/{acorex-modules-document-management-drive-choose.component-WxmS0fOY.mjs.map → acorex-modules-document-management-drive-choose.component-D7P_HBZp.mjs.map} +1 -1
  11. package/fesm2022/{acorex-modules-document-management-drive.component-D8VzFK-5.mjs → acorex-modules-document-management-drive.component-SbeKAOPx.mjs} +2 -2
  12. package/fesm2022/{acorex-modules-document-management-drive.component-D8VzFK-5.mjs.map → acorex-modules-document-management-drive.component-SbeKAOPx.mjs.map} +1 -1
  13. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-cYzLaOAQ.mjs → acorex-modules-document-management-large-icons-view.component-DAa8gWsg.mjs} +2 -2
  14. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-cYzLaOAQ.mjs.map → acorex-modules-document-management-large-icons-view.component-DAa8gWsg.mjs.map} +1 -1
  15. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-BkcKvoe6.mjs → acorex-modules-document-management-large-tiles-view.component-CkA-fVcG.mjs} +2 -2
  16. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-BkcKvoe6.mjs.map → acorex-modules-document-management-large-tiles-view.component-CkA-fVcG.mjs.map} +1 -1
  17. package/fesm2022/{acorex-modules-document-management-list-view.component-CvPkInJy.mjs → acorex-modules-document-management-list-view.component-C4M3rY1_.mjs} +2 -2
  18. package/fesm2022/{acorex-modules-document-management-list-view.component-CvPkInJy.mjs.map → acorex-modules-document-management-list-view.component-C4M3rY1_.mjs.map} +1 -1
  19. package/fesm2022/{acorex-modules-document-management-permission-definition.provider-CODjZ6lP.mjs → acorex-modules-document-management-permission-definition.provider-C2IsTOYZ.mjs} +2 -2
  20. package/fesm2022/{acorex-modules-document-management-permission-definition.provider-CODjZ6lP.mjs.map → acorex-modules-document-management-permission-definition.provider-C2IsTOYZ.mjs.map} +1 -1
  21. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-C30ghzKp.mjs → acorex-modules-document-management-small-icons-view.component-YgCRykmN.mjs} +2 -2
  22. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-C30ghzKp.mjs.map → acorex-modules-document-management-small-icons-view.component-YgCRykmN.mjs.map} +1 -1
  23. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-DyLRmcJH.mjs → acorex-modules-document-management-small-tiles-view.component-0EDyw6SN.mjs} +2 -2
  24. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-DyLRmcJH.mjs.map → acorex-modules-document-management-small-tiles-view.component-0EDyw6SN.mjs.map} +1 -1
  25. package/fesm2022/acorex-modules-document-management.mjs +1 -1
  26. package/fesm2022/{acorex-modules-human-capital-management-acorex-modules-human-capital-management-crtjPRx2.mjs → acorex-modules-human-capital-management-acorex-modules-human-capital-management-oM_wM_T4.mjs} +17 -13
  27. package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-oM_wM_T4.mjs.map +1 -0
  28. package/fesm2022/{acorex-modules-human-capital-management-employee-skill.entity-B_gM9TMj.mjs → acorex-modules-human-capital-management-employee-skill.entity-BQzOwp3F.mjs} +2 -2
  29. package/fesm2022/{acorex-modules-human-capital-management-employee-skill.entity-B_gM9TMj.mjs.map → acorex-modules-human-capital-management-employee-skill.entity-BQzOwp3F.mjs.map} +1 -1
  30. package/fesm2022/{acorex-modules-human-capital-management-employee.entity-B6ndmf52.mjs → acorex-modules-human-capital-management-employee.entity-jBLPkWAr.mjs} +2 -2
  31. package/fesm2022/{acorex-modules-human-capital-management-employee.entity-B6ndmf52.mjs.map → acorex-modules-human-capital-management-employee.entity-jBLPkWAr.mjs.map} +1 -1
  32. package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-BJVwmQEY.mjs → acorex-modules-human-capital-management-employment-type.entity-D0R779WE.mjs} +2 -2
  33. package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-BJVwmQEY.mjs.map → acorex-modules-human-capital-management-employment-type.entity-D0R779WE.mjs.map} +1 -1
  34. package/fesm2022/acorex-modules-human-capital-management-leave-request-task-popover.component-c8fOqg4h.mjs +381 -0
  35. package/fesm2022/acorex-modules-human-capital-management-leave-request-task-popover.component-c8fOqg4h.mjs.map +1 -0
  36. package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-BA95ET48.mjs → acorex-modules-human-capital-management-leave-request.entity-DleoTbfj.mjs} +2 -2
  37. package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-BA95ET48.mjs.map → acorex-modules-human-capital-management-leave-request.entity-DleoTbfj.mjs.map} +1 -1
  38. package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-CJOejYZs.mjs → acorex-modules-human-capital-management-leave-type.entity-A8z8ra48.mjs} +2 -2
  39. package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-CJOejYZs.mjs.map → acorex-modules-human-capital-management-leave-type.entity-A8z8ra48.mjs.map} +1 -1
  40. package/fesm2022/{acorex-modules-human-capital-management-permission-definition.provider-CwVtMZMg.mjs → acorex-modules-human-capital-management-permission-definition.provider-S2AqzNxa.mjs} +2 -2
  41. package/fesm2022/{acorex-modules-human-capital-management-permission-definition.provider-CwVtMZMg.mjs.map → acorex-modules-human-capital-management-permission-definition.provider-S2AqzNxa.mjs.map} +1 -1
  42. package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-Yk21sgeU.mjs → acorex-modules-human-capital-management-position-assignment.entity-1U5PtuXv.mjs} +2 -2
  43. package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-Yk21sgeU.mjs.map → acorex-modules-human-capital-management-position-assignment.entity-1U5PtuXv.mjs.map} +1 -1
  44. package/fesm2022/{acorex-modules-human-capital-management-skill-level.entity-BX_Vc6L1.mjs → acorex-modules-human-capital-management-skill-level.entity-gnimpGin.mjs} +2 -2
  45. package/fesm2022/{acorex-modules-human-capital-management-skill-level.entity-BX_Vc6L1.mjs.map → acorex-modules-human-capital-management-skill-level.entity-gnimpGin.mjs.map} +1 -1
  46. package/fesm2022/{acorex-modules-human-capital-management-skill.entity-BIo0x54G.mjs → acorex-modules-human-capital-management-skill.entity-DImoZtMI.mjs} +2 -2
  47. package/fesm2022/{acorex-modules-human-capital-management-skill.entity-BIo0x54G.mjs.map → acorex-modules-human-capital-management-skill.entity-DImoZtMI.mjs.map} +1 -1
  48. package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1
  49. package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-BBHPVHzg.mjs → acorex-modules-platform-management-acorex-modules-platform-management-C9jPTG5T.mjs} +5 -5
  50. package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-BBHPVHzg.mjs.map → acorex-modules-platform-management-acorex-modules-platform-management-C9jPTG5T.mjs.map} +1 -1
  51. package/fesm2022/{acorex-modules-platform-management-list-version.component-n5JOzU2Y.mjs → acorex-modules-platform-management-list-version.component-B8pyACIN.mjs} +2 -2
  52. package/fesm2022/{acorex-modules-platform-management-list-version.component-n5JOzU2Y.mjs.map → acorex-modules-platform-management-list-version.component-B8pyACIN.mjs.map} +1 -1
  53. package/fesm2022/{acorex-modules-platform-management-menu-list.component-CDLDkiW8.mjs → acorex-modules-platform-management-menu-list.component-jIE8GBmg.mjs} +3 -3
  54. package/fesm2022/acorex-modules-platform-management-menu-list.component-jIE8GBmg.mjs.map +1 -0
  55. package/fesm2022/{acorex-modules-platform-management-permission-definition.provider-Cc8ZV1K1.mjs → acorex-modules-platform-management-permission-definition.provider-9chqQLDF.mjs} +2 -2
  56. package/fesm2022/{acorex-modules-platform-management-permission-definition.provider-Cc8ZV1K1.mjs.map → acorex-modules-platform-management-permission-definition.provider-9chqQLDF.mjs.map} +1 -1
  57. package/fesm2022/acorex-modules-platform-management.mjs +1 -1
  58. package/fesm2022/acorex-modules-project-management.mjs +2 -0
  59. package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
  60. package/fesm2022/{acorex-modules-task-management-task-board.page-BVf2enGZ.mjs → acorex-modules-task-management-task-board.page-CtXx8vc6.mjs} +524 -64
  61. package/fesm2022/acorex-modules-task-management-task-board.page-CtXx8vc6.mjs.map +1 -0
  62. package/fesm2022/acorex-modules-task-management.mjs +35 -4
  63. package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
  64. package/human-capital-management/index.d.ts +3 -1
  65. package/package.json +2 -2
  66. package/task-management/index.d.ts +28 -4
  67. package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-crtjPRx2.mjs.map +0 -1
  68. package/fesm2022/acorex-modules-platform-management-menu-list.component-CDLDkiW8.mjs.map +0 -1
  69. package/fesm2022/acorex-modules-task-management-task-board.page-BVf2enGZ.mjs.map +0 -1
@@ -9,7 +9,7 @@ import { AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER, AXP_DATASOURCE_DEFINITION_PROV
9
9
  import { RouterLink, ROUTES } from '@angular/router';
10
10
  import { AXButtonComponent } from '@acorex/components/button';
11
11
  import { AXDecoratorIconComponent, AXDecoratorGenericComponent } from '@acorex/components/decorators';
12
- import * as i2 from '@acorex/core/translation';
12
+ import * as i5 from '@acorex/core/translation';
13
13
  import { AXTranslationModule } from '@acorex/core/translation';
14
14
  import * as i1$1 from '@acorex/platform/layout/widget-core';
15
15
  import { AXPLayoutBaseWidgetComponent, cloneProperty, AXPWidgetsCatalog, AXPWidgetGroupEnum, AXPWidgetCoreModule } from '@acorex/platform/layout/widget-core';
@@ -172,7 +172,7 @@ class AXPTaskBoardShortcutViewComponent extends AXPLayoutBaseWidgetComponent {
172
172
  }
173
173
  #taskCounter;
174
174
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPTaskBoardShortcutViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
175
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.12", type: AXPTaskBoardShortcutViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<div class=\"ax-flex ax-flex-col ax-gap-3 ax-px-6 ax-pt-3 ax-pb-6 ax-h-full\">\n <h1 class=\"ax-text-start ax-text-lg ax-font-medium ax-truncate ax-h-9\">{{ title() | translate | async }}</h1>\n <div class=\"ax-w-full ax-h-full ax-relative\">\n <div class=\"ax-flex ax-flex-col ax-gap-2 ax-text-start\">\n <h3 class=\"ax-text-xl ax-text-primary ax-text-nowrap\">{{ dateRange().title | translate | async }}</h3>\n <h1 class=\"ax-text-6xl ax-font-bold\">{{ tasksCount() }}</h1>\n </div>\n <a\n [queryParams]=\"queryParams()\"\n class=\"ax-absolute ax-bottom-0 ax-right-0\"\n [routerLink]=\"['/TaskManagement/task-board']\"\n >\n <ax-button [text]=\"'View all'\" [look]=\"'link'\" class=\"ax-sm\" [color]=\"'primary'\">\n <ax-suffix> <ax-icon class=\"fa-solid fa-external-link\"></ax-icon> </ax-suffix>\n </ax-button>\n </a>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
175
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.12", type: AXPTaskBoardShortcutViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<div class=\"ax-flex ax-flex-col ax-gap-3 ax-px-6 ax-pt-3 ax-pb-6 ax-h-full\">\n <h1 class=\"ax-text-start ax-text-lg ax-font-medium ax-truncate ax-h-9\">{{ title() | translate | async }}</h1>\n <div class=\"ax-w-full ax-h-full ax-relative\">\n <div class=\"ax-flex ax-flex-col ax-gap-2 ax-text-start\">\n <h3 class=\"ax-text-xl ax-text-primary ax-text-nowrap\">{{ dateRange().title | translate | async }}</h3>\n <h1 class=\"ax-text-6xl ax-font-bold\">{{ tasksCount() }}</h1>\n </div>\n <a\n [queryParams]=\"queryParams()\"\n class=\"ax-absolute ax-bottom-0 ax-right-0\"\n [routerLink]=\"['/TaskManagement/task-board']\"\n >\n <ax-button [text]=\"'View all'\" [look]=\"'link'\" class=\"ax-sm\" [color]=\"'primary'\">\n <ax-suffix> <ax-icon class=\"fa-solid fa-external-link\"></ax-icon> </ax-suffix>\n </ax-button>\n </a>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
176
176
  }
177
177
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPTaskBoardShortcutViewComponent, decorators: [{
178
178
  type: Component,
@@ -888,7 +888,28 @@ class AXPTaskBoardService {
888
888
  const statuses = await provider.getStatuses();
889
889
  return statuses.find((s) => s.key === key)?.title ?? null;
890
890
  }
891
- async getEvents(range) {
891
+ async getEvents(range, eventTypeIds) {
892
+ // If event type IDs are provided, query events directly with type filter
893
+ if (eventTypeIds && eventTypeIds.length > 0) {
894
+ const calendarEvents = await this.calendarManagementService.calendarEventService.query({
895
+ skip: 0,
896
+ take: 9999,
897
+ filter: {
898
+ logic: 'and',
899
+ filters: [
900
+ { field: 'date', operator: { type: 'lte' }, value: range.end },
901
+ { field: 'date', operator: { type: 'gte' }, value: range.from },
902
+ { field: 'typeId', operator: { type: 'in' }, value: eventTypeIds },
903
+ ],
904
+ },
905
+ });
906
+ return calendarEvents.items.map((event) => ({
907
+ date: event.date,
908
+ title: event.title,
909
+ description: event.description,
910
+ }));
911
+ }
912
+ // Otherwise, use the existing method without filtering
892
913
  const events = await this.calendarManagementService.getEvents(range);
893
914
  return events.map((event) => ({
894
915
  date: event.date,
@@ -896,6 +917,16 @@ class AXPTaskBoardService {
896
917
  description: event.description,
897
918
  }));
898
919
  }
920
+ async getCalendarEventTypes() {
921
+ const result = await this.calendarManagementService.calendarEventTypeService.query({
922
+ skip: 0,
923
+ take: 9999,
924
+ filter: {
925
+ filters: [{ field: 'isActive', operator: { type: 'equal' }, value: true }],
926
+ },
927
+ });
928
+ return result.items;
929
+ }
899
930
  getProvider(name) {
900
931
  if (!name)
901
932
  return null;
@@ -958,7 +989,7 @@ function routesFactory() {
958
989
  children: [
959
990
  {
960
991
  path: '**',
961
- loadComponent: () => import('./acorex-modules-task-management-task-board.page-BVf2enGZ.mjs').then((c) => c.AXMTaskBoardPage),
992
+ loadComponent: () => import('./acorex-modules-task-management-task-board.page-CtXx8vc6.mjs').then((c) => c.AXMTaskBoardPage),
962
993
  },
963
994
  ],
964
995
  },