@acorex-platform/module-task-management-client 2.0.0-beta.2 → 2.0.0-beta.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 (71) hide show
  1. package/fesm2022/{acorex-platform-module-task-management-client-acorex-platform-module-task-management-client-dfiarGtJ.mjs → acorex-platform-module-task-management-client-acorex-platform-module-task-management-client-yOT3efah.mjs} +177 -104
  2. package/fesm2022/acorex-platform-module-task-management-client-acorex-platform-module-task-management-client-yOT3efah.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task-assignment.mjs +0 -1
  4. package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task-assignment.mjs.map +1 -1
  5. package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task-context.mjs +0 -1
  6. package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task-context.mjs.map +1 -1
  7. package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task-dependency.mjs +0 -1
  8. package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task-dependency.mjs.map +1 -1
  9. package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task-type.mjs +34 -10
  10. package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task-type.mjs.map +1 -1
  11. package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-acorex-platform-module-task-management-client-contracts-entity-catalog-CtNTQX14.mjs → acorex-platform-module-task-management-client-contracts-entity-catalog-acorex-platform-module-task-management-client-contracts-entity-catalog-BQI_patw.mjs} +10 -10
  12. package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-acorex-platform-module-task-management-client-contracts-entity-catalog-CtNTQX14.mjs.map → acorex-platform-module-task-management-client-contracts-entity-catalog-acorex-platform-module-task-management-client-contracts-entity-catalog-BQI_patw.mjs.map} +1 -1
  13. package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-task-assignment.entity-N_I7YGSn.mjs → acorex-platform-module-task-management-client-contracts-entity-catalog-task-assignment.entity-BMAQFWaW.mjs} +2 -3
  14. package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task-assignment.entity-BMAQFWaW.mjs.map +1 -0
  15. package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-task-checklist-item.entity-4zrBmfHs.mjs → acorex-platform-module-task-management-client-contracts-entity-catalog-task-checklist-item.entity-LhPp9Kc5.mjs} +2 -2
  16. package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-task-checklist-item.entity-4zrBmfHs.mjs.map → acorex-platform-module-task-management-client-contracts-entity-catalog-task-checklist-item.entity-LhPp9Kc5.mjs.map} +1 -1
  17. package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-task-context.entity-B7nZyTo9.mjs → acorex-platform-module-task-management-client-contracts-entity-catalog-task-context.entity-BYCWA4bQ.mjs} +2 -3
  18. package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task-context.entity-BYCWA4bQ.mjs.map +1 -0
  19. package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-task-dependency.entity-Kc0FDDhp.mjs → acorex-platform-module-task-management-client-contracts-entity-catalog-task-dependency.entity-B0HJNdIz.mjs} +2 -3
  20. package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task-dependency.entity-B0HJNdIz.mjs.map +1 -0
  21. package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-task-status.entity-CKmd8udh.mjs → acorex-platform-module-task-management-client-contracts-entity-catalog-task-status.entity-DcOwi-CJ.mjs} +2 -2
  22. package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-task-status.entity-CKmd8udh.mjs.map → acorex-platform-module-task-management-client-contracts-entity-catalog-task-status.entity-DcOwi-CJ.mjs.map} +1 -1
  23. package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-task-template.entity-DhBEzoof.mjs → acorex-platform-module-task-management-client-contracts-entity-catalog-task-template.entity-KfqNaNkn.mjs} +2 -2
  24. package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-task-template.entity-DhBEzoof.mjs.map → acorex-platform-module-task-management-client-contracts-entity-catalog-task-template.entity-KfqNaNkn.mjs.map} +1 -1
  25. package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-task-type.entity-Ckuv9ei1.mjs → acorex-platform-module-task-management-client-contracts-entity-catalog-task-type.entity-Cx8Vm1Va.mjs} +36 -12
  26. package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task-type.entity-Cx8Vm1Va.mjs.map +1 -0
  27. package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-task.entity-BN0r7MWY.mjs → acorex-platform-module-task-management-client-contracts-entity-catalog-task.entity-bR1hsHyr.mjs} +2 -2
  28. package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-task.entity-BN0r7MWY.mjs.map → acorex-platform-module-task-management-client-contracts-entity-catalog-task.entity-bR1hsHyr.mjs.map} +1 -1
  29. package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-time-log.entity-D1jG-qG1.mjs → acorex-platform-module-task-management-client-contracts-entity-catalog-time-log.entity-Bb848_nt.mjs} +2 -2
  30. package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-time-log.entity-D1jG-qG1.mjs.map → acorex-platform-module-task-management-client-contracts-entity-catalog-time-log.entity-Bb848_nt.mjs.map} +1 -1
  31. package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog.mjs +1 -1
  32. package/fesm2022/acorex-platform-module-task-management-client-contracts.mjs +89 -25
  33. package/fesm2022/acorex-platform-module-task-management-client-contracts.mjs.map +1 -1
  34. package/fesm2022/{acorex-platform-module-task-management-client-create-subject-task.command-o5rIB4lp.mjs → acorex-platform-module-task-management-client-create-subject-task.command-CPN3yM4T.mjs} +2 -2
  35. package/fesm2022/{acorex-platform-module-task-management-client-create-subject-task.command-o5rIB4lp.mjs.map → acorex-platform-module-task-management-client-create-subject-task.command-CPN3yM4T.mjs.map} +1 -1
  36. package/fesm2022/{acorex-platform-module-task-management-client-create-task-type.command-4VzqIkIc.mjs → acorex-platform-module-task-management-client-create-task-type.command-DILZmFuJ.mjs} +2 -2
  37. package/fesm2022/{acorex-platform-module-task-management-client-create-task-type.command-4VzqIkIc.mjs.map → acorex-platform-module-task-management-client-create-task-type.command-DILZmFuJ.mjs.map} +1 -1
  38. package/fesm2022/{acorex-platform-module-task-management-client-list-task-board-assignees.query-BcNFYozj.mjs → acorex-platform-module-task-management-client-list-task-board-assignees.query-D949e_zJ.mjs} +3 -12
  39. package/fesm2022/acorex-platform-module-task-management-client-list-task-board-assignees.query-D949e_zJ.mjs.map +1 -0
  40. package/fesm2022/{acorex-platform-module-task-management-client-list-task-board-reporters.query-A0sbGwlB.mjs → acorex-platform-module-task-management-client-list-task-board-reporters.query-MPb35xCG.mjs} +3 -14
  41. package/fesm2022/acorex-platform-module-task-management-client-list-task-board-reporters.query-MPb35xCG.mjs.map +1 -0
  42. package/fesm2022/{acorex-platform-module-task-management-client-list-task-types.query-CZHSliWt.mjs → acorex-platform-module-task-management-client-list-task-types.query-Dh3VF1X_.mjs} +2 -2
  43. package/fesm2022/{acorex-platform-module-task-management-client-list-task-types.query-CZHSliWt.mjs.map → acorex-platform-module-task-management-client-list-task-types.query-Dh3VF1X_.mjs.map} +1 -1
  44. package/fesm2022/{acorex-platform-module-task-management-client-open-task-workspace.command-1BlMwoWF.mjs → acorex-platform-module-task-management-client-open-task-workspace.command-CwvVmzfd.mjs} +2 -2
  45. package/fesm2022/{acorex-platform-module-task-management-client-open-task-workspace.command-1BlMwoWF.mjs.map → acorex-platform-module-task-management-client-open-task-workspace.command-CwvVmzfd.mjs.map} +1 -1
  46. package/fesm2022/{acorex-platform-module-task-management-client-personal-task.command-BubXfozR.mjs → acorex-platform-module-task-management-client-personal-task.command-AE_HgMmS.mjs} +2 -2
  47. package/fesm2022/{acorex-platform-module-task-management-client-personal-task.command-BubXfozR.mjs.map → acorex-platform-module-task-management-client-personal-task.command-AE_HgMmS.mjs.map} +1 -1
  48. package/fesm2022/{acorex-platform-module-task-management-client-task-board-lookup-search.util-il-mNHxd.mjs → acorex-platform-module-task-management-client-task-board-lookup-search.util-B6hwDE1z.mjs} +11 -2
  49. package/fesm2022/acorex-platform-module-task-management-client-task-board-lookup-search.util-B6hwDE1z.mjs.map +1 -0
  50. package/fesm2022/{acorex-platform-module-task-management-client-task-entity-record.command-BCL_Ctpw.mjs → acorex-platform-module-task-management-client-task-entity-record.command-BlowcUoP.mjs} +2 -2
  51. package/fesm2022/{acorex-platform-module-task-management-client-task-entity-record.command-BCL_Ctpw.mjs.map → acorex-platform-module-task-management-client-task-entity-record.command-BlowcUoP.mjs.map} +1 -1
  52. package/fesm2022/{acorex-platform-module-task-management-client-task-lifecycle-popup.component-AxJHpj55.mjs → acorex-platform-module-task-management-client-task-lifecycle-popup.component-CrCBF4IT.mjs} +2 -2
  53. package/fesm2022/acorex-platform-module-task-management-client-task-lifecycle-popup.component-CrCBF4IT.mjs.map +1 -0
  54. package/fesm2022/{acorex-platform-module-task-management-client-task-workspace.popup-Cz8Hrp3r.mjs → acorex-platform-module-task-management-client-task-workspace.popup-Ck_IulIq.mjs} +2 -2
  55. package/fesm2022/{acorex-platform-module-task-management-client-task-workspace.popup-Cz8Hrp3r.mjs.map → acorex-platform-module-task-management-client-task-workspace.popup-Ck_IulIq.mjs.map} +1 -1
  56. package/fesm2022/acorex-platform-module-task-management-client.mjs +1 -1
  57. package/i18n/en-AU/task-management.json +3 -1
  58. package/i18n/en-US/task-management.json +3 -1
  59. package/i18n/fa-IR/task-management.json +3 -1
  60. package/package.json +4 -4
  61. package/types/acorex-platform-module-task-management-client-contracts.d.ts +39 -10
  62. package/types/acorex-platform-module-task-management-client.d.ts +5 -5
  63. package/fesm2022/acorex-platform-module-task-management-client-acorex-platform-module-task-management-client-dfiarGtJ.mjs.map +0 -1
  64. package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task-assignment.entity-N_I7YGSn.mjs.map +0 -1
  65. package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task-context.entity-B7nZyTo9.mjs.map +0 -1
  66. package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task-dependency.entity-Kc0FDDhp.mjs.map +0 -1
  67. package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task-type.entity-Ckuv9ei1.mjs.map +0 -1
  68. package/fesm2022/acorex-platform-module-task-management-client-list-task-board-assignees.query-BcNFYozj.mjs.map +0 -1
  69. package/fesm2022/acorex-platform-module-task-management-client-list-task-board-reporters.query-A0sbGwlB.mjs.map +0 -1
  70. package/fesm2022/acorex-platform-module-task-management-client-task-board-lookup-search.util-il-mNHxd.mjs.map +0 -1
  71. package/fesm2022/acorex-platform-module-task-management-client-task-lifecycle-popup.component-AxJHpj55.mjs.map +0 -1
@@ -3,15 +3,15 @@ import * as i1 from '@angular/common';
3
3
  import { CommonModule } from '@angular/common';
4
4
  import * as i0 from '@angular/core';
5
5
  import { inject, Injectable, NgModule, computed, signal, effect, ChangeDetectionStrategy, Component, output, DestroyRef, viewChildren, untracked, afterRenderEffect, InjectionToken } from '@angular/core';
6
- import { AXPDataRefreshService, AXP_PROTECTED_ROUTE_GUARDS, AXP_HOME_PAGES, AXPSettingsService, AXPSearchCommandProvider, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex-platform/framework-client/common';
6
+ import { AXPDataRefreshService, AXPDataRequestService, AXP_PROTECTED_ROUTE_GUARDS, AXP_HOME_PAGES, AXPSettingsService, AXPSearchCommandProvider, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex-platform/framework-client/common';
7
7
  import { AXPSessionService, AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';
8
8
  import { AXPFileViewerService, AXPWorkBoardProvider, TASK_BOARD_STATUS_DEFINITIONS, loadWorkBoardComponent, AXPWorkBoardViewModel, AXP_WORK_BOARD_HOST, AXPWorkBoardPageComponentProvider, AXP_PAGE_COMPONENT_PROVIDER, AXP_WORK_BOARD_PROVIDERS, AXPWorkBoardService, normalizeTaskBoardAssigneeIds, TASK_PRIORITY_ORDER, getTaskPriorityFilterKey, taskDueDate, AXPWorkBoardTaskPopoverOverlayService, AXMTaskDetailsSessionService, AXPWorkBoardRowComponent, patchWorkBoardSummary, resolveTaskBoardSchedulerLabels, patchWorkBoardItems, sameWorkBoardItem, AXPStateMessageComponent, AXPTaskBadgeProvider, AXPWorkBoardSettings, buildTaskBoardMenuPath, AXPWorkBoardTenantSettings, AXP_TASK_BADGE_PROVIDERS } from '@acorex-platform/framework-client/layout/components';
9
9
  import { readRecordCapability, AXPEntityService, AXPEntityFormBuilderService, AXPEntityDefinitionRegistryService, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_MODIFIER } from '@acorex-platform/framework-client/layout/entity';
10
- import { AXPQueryService, AXPCommandService, AXPRuntimeModule, provideCommandSetups, provideQuerySetups, AXPCommandEventsService } from '@acorex-platform/framework-client/runtime';
10
+ import { AXPQueryService, AXPCommandService, AXPRuntimeModule, provideQueryMiddleware, provideCommandSetups, provideQuerySetups, AXPCommandEventsService } from '@acorex-platform/framework-client/runtime';
11
11
  import { runtimeQueryPayloadData, createRandomUuid, AXPWidgetsCatalog, AXPPlatformScope, AXPWidgetsList } from '@acorex-platform/framework-shared/core';
12
12
  import * as i2 from '@acorex/core/translation';
13
13
  import { AXTranslationService, AXTranslationModule } from '@acorex/core/translation';
14
- import { taskTimeStatus, taskAllDayEnd, AXPProjectsWorkPermissionKeys, personalTaskTypeId, AXPTaskManagementCommandKeys, AXP_TASK_UNASSIGNED_ASSIGNEE, AXMTaskManagementQueryKeys, AXPTaskManagementMenuKeys, RootConfig, TASK_MANAGEMENT_CATALOG_SCOPE_TASKS, AXP_TASK_RUNTIME_KEYS } from '@acorex-platform/module-task-management-client/contracts';
14
+ import { AXP_TASK_CATEGORIES, taskTimeStatus, taskAllDayEnd, AXPProjectsWorkPermissionKeys, personalTaskTypeId, AXPTaskManagementCommandKeys, AXP_TASK_RUNTIME_KEYS, AXP_TASK_UNASSIGNED_ASSIGNEE, AXMTaskManagementQueryKeys, AXPTaskManagementMenuKeys, RootConfig, TASK_MANAGEMENT_CATALOG_SCOPE_TASKS } from '@acorex-platform/module-task-management-client/contracts';
15
15
  import { AXPopupService } from '@acorex/components/popup';
16
16
  import { AXDialogService } from '@acorex/components/dialog';
17
17
  import { AXPLayoutBuilderService, AXPDialogOpener } from '@acorex-platform/framework-client/layout/builder';
@@ -182,6 +182,41 @@ function taskBoardApiInput(options) {
182
182
  ...(options.range ? { range: { from: options.range.from.toISOString(), end: options.range.end.toISOString(), fromDate: localDay(options.range.from), endDate: localDay(options.range.end) } } : {}),
183
183
  };
184
184
  }
185
+ /** Summary groups all lifecycle categories. Keep statusCategories, which is a separate filter. */
186
+ function taskBoardSummaryReadIdentity(input) {
187
+ const identity = { ...input };
188
+ if (Array.isArray(identity.categories) && identity.categories.length <= 200
189
+ && Array.from(identity.categories).every(category => AXP_TASK_CATEGORIES.includes(category)))
190
+ delete identity.categories;
191
+ if (identity.includeUnscheduled === false || !identity.range && identity.includeUnscheduled === true)
192
+ delete identity.includeUnscheduled;
193
+ if (identity.unscheduledOnly === false)
194
+ delete identity.unscheduledOnly;
195
+ return identity;
196
+ }
197
+ const calendarDateFields = ['plannedStartAt', 'plannedEndAt', 'allDayDate', 'dueAt'];
198
+ function taskChangeAffectsCalendarMarkers(change, filter) {
199
+ const { previous, item } = change;
200
+ if (!previous || !item)
201
+ return true;
202
+ const before = previous.data ?? {}, after = item.data ?? {};
203
+ const oldSubject = before['subjectRef'], newSubject = after['subjectRef'];
204
+ const categories = filter.categories ?? ['todo', 'in_progress'];
205
+ const matchesStatus = (row) => {
206
+ const status = String(row.status.id);
207
+ return (!categories.length || categories.includes(status))
208
+ && (!filter.statusCategories?.length || filter.statusCategories.includes(status));
209
+ };
210
+ const matchesPriority = (row) => filter.priorities?.includes(row.priority ?? 'no_priority');
211
+ // Subject and people can change server-side visibility even without an explicit filter.
212
+ return calendarDateFields.some(field => before[field] !== after[field])
213
+ || oldSubject?.type !== newSubject?.type || oldSubject?.id !== newSubject?.id
214
+ || previous.assignee?.id !== item.assignee?.id || previous.reporter?.id !== item.reporter?.id
215
+ || previous.typeId !== item.typeId || matchesStatus(previous) !== matchesStatus(item)
216
+ || matchesPriority(previous) !== matchesPriority(item)
217
+ || !!filter.dueStatusKeys?.length && (previous.status.id !== item.status.id || before['deadlineAt'] !== after['deadlineAt']
218
+ || before['timePolicy']?.overdueBasis !== after['timePolicy']?.overdueBasis);
219
+ }
185
220
  /** Keep realtime row patches in the same scope as server pages and totals. */
186
221
  function matchesTaskBoardReadFilters(item, input, now = new Date()) {
187
222
  const subject = item.data?.['subjectRef'];
@@ -502,7 +537,7 @@ class TaskEntityUiService {
502
537
  try {
503
538
  const save = definition.commands?.create?.execute;
504
539
  const saved = await save(data);
505
- return { success: true, kind: 'object', data: saved, metadata: { refresh: true } };
540
+ return { success: true, kind: 'object', data: saved, metadata: { refresh: false } };
506
541
  }
507
542
  finally {
508
543
  ref.setLoading(false);
@@ -546,7 +581,7 @@ class TaskEntityUiService {
546
581
  ref.setLoading(true);
547
582
  try {
548
583
  const save = definition.commands?.update?.execute;
549
- return { success: true, kind: 'object', data: await save(data), metadata: { refresh: true } };
584
+ return { success: true, kind: 'object', data: await save(data), metadata: { refresh: false } };
550
585
  }
551
586
  finally {
552
587
  ref.setLoading(false);
@@ -583,7 +618,7 @@ class TaskEntityUiService {
583
618
  const result = runtimeQueryPayloadData(response);
584
619
  if (!result?.taskId || scope !== this.scope())
585
620
  throw new Error(await this.translations.translateAsync(taskActionErrorKey({ code: 'forbidden' })));
586
- this.events.publish('task-board.refresh', {});
621
+ this.events.publish('task-board.refresh', { provider: 'task-management.tasks', preserveRows: true, itemIds: [result.taskId] });
587
622
  return this.query(AXP_TASK_RUNTIME_KEYS.Get, { taskId: result.taskId });
588
623
  }
589
624
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TaskEntityUiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
@@ -653,7 +688,7 @@ class AXPTaskLifecycleUiService {
653
688
  if (this.scope() !== scope)
654
689
  throw { code: 'forbidden' };
655
690
  const action = taskActionStillAvailable(plan, selection.expectedVersion, selection.action, selection.targetStatusId);
656
- const { AXMTaskLifecyclePopupComponent } = await import('./acorex-platform-module-task-management-client-task-lifecycle-popup.component-AxJHpj55.mjs');
691
+ const { AXMTaskLifecyclePopupComponent } = await import('./acorex-platform-module-task-management-client-task-lifecycle-popup.component-CrCBF4IT.mjs');
657
692
  const { AXP_TASK_RUNTIME_KEYS } = await import('@acorex-platform/module-task-management-client/contracts');
658
693
  let lastPayload = '', commandId = '';
659
694
  let submitting = false;
@@ -717,6 +752,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
717
752
  args: [{ providedIn: 'root' }]
718
753
  }] });
719
754
 
755
+ const liveTaskRead = { dataExecution: false, snapshot: false };
756
+ function taskListReadOptions(filter) {
757
+ return filter.forceFresh ? liveTaskRead : {
758
+ dataExecution: { refreshOnInvalidate: false, ...(filter.dueStatusKeys?.length ? { force: true } : {}) },
759
+ };
760
+ }
720
761
  /**
721
762
  * The secured Task API owns data; the Board and badge own their mounted refresh subscriptions.
722
763
  * These reads reuse shared snapshots without retaining old view/filter variants as live consumers.
@@ -816,11 +857,12 @@ class AXPTaskManagementEntityTaskProvider extends AXPWorkBoardProvider {
816
857
  async getTasks(options = {}) {
817
858
  const scope = this.readScope();
818
859
  this.assertReadScope(scope);
819
- const { AXP_TASK_RUNTIME_KEYS } = await import('@acorex-platform/module-task-management-client/contracts');
820
860
  const input = taskBoardApiInput(options);
821
- const fetchPage = async (skip, take) => {
861
+ const execution = taskListReadOptions(options);
862
+ const fetchPage = async (skip, take, cursor) => {
822
863
  this.assertReadScope(scope);
823
- const result = await this.queries.fetch(AXP_TASK_RUNTIME_KEYS.List, { ...input, skip, take }, { dataExecution: { refreshOnInvalidate: false, ...(options.dueStatusKeys?.length ? { force: true } : {}) } });
864
+ const request = { ...input, ...(cursor ? { cursor } : { skip }), take };
865
+ const result = await this.queries.fetch(AXP_TASK_RUNTIME_KEYS.List, { ...request, projection: 'board' }, execution);
824
866
  const page = runtimeQueryPayloadData(result);
825
867
  this.assertReadScope(scope);
826
868
  if (!page || !Array.isArray(page.items) || !Number.isSafeInteger(page.total))
@@ -830,9 +872,10 @@ class AXPTaskManagementEntityTaskProvider extends AXPWorkBoardProvider {
830
872
  // Grid requests one server page. Full-range consumers retain every row,
831
873
  // with at most four pages in flight instead of a long serial request chain.
832
874
  const size = Math.min(options.take ?? 500, 500);
833
- const first = await fetchPage(options.skip ?? 0, size);
875
+ const cursor = options.dueStatusKeys?.length ? undefined : options.cursor;
876
+ const first = await fetchPage(options.skip ?? 0, size, cursor);
834
877
  const rows = [...first.items];
835
- const target = Math.min(options.take ?? first.total, Math.max(0, first.total - (options.skip ?? 0)));
878
+ const target = cursor ? rows.length : Math.min(options.take ?? first.total, Math.max(0, first.total - (options.skip ?? 0)));
836
879
  while (rows.length < target) {
837
880
  const start = rows.length;
838
881
  const requests = Array.from({ length: Math.min(4, Math.ceil((target - start) / 500)) }, (_, index) => {
@@ -848,8 +891,32 @@ class AXPTaskManagementEntityTaskProvider extends AXPWorkBoardProvider {
848
891
  throw new Error('Task list changed while loading. Please refresh the board.');
849
892
  }
850
893
  }
851
- const statuses = await this.getStatuses();
894
+ if (!rows.length)
895
+ return { items: [], total: first.total };
896
+ const statuses = options.deferPresentation
897
+ ? TASK_BOARD_STATUS_DEFINITIONS.map(({ key, title, color }, index) => ({ key, title, color, index }))
898
+ : await this.getStatuses();
852
899
  const items = rows.map(row => mapTaskRecordToBoard(row, statuses));
900
+ const resolvePresentation = async () => {
901
+ this.assertReadScope(scope);
902
+ const labels = await this.getSubjectLabels(rows);
903
+ this.assertReadScope(scope);
904
+ return items.map((item, index) => {
905
+ const ref = rows[index].subjectRef;
906
+ const label = ref && labels.get(`${ref.type}:${ref.id}`);
907
+ return label ? { ...item, data: { ...item.data, subjectTitle: label.title, subjectCode: label.code } } : item;
908
+ });
909
+ };
910
+ const hasSubjects = rows.some(row => !!row.subjectRef);
911
+ this.assertReadScope(scope);
912
+ return {
913
+ items: hasSubjects && !options.deferPresentation ? await resolvePresentation() : items,
914
+ total: first.total,
915
+ ...(hasSubjects && options.deferPresentation ? { resolvePresentation } : {}),
916
+ ...(options.take !== undefined && !options.dueStatusKeys?.length && first.nextCursor && rows.length === first.items.length ? { nextCursor: first.nextCursor } : {}),
917
+ };
918
+ }
919
+ async getSubjectLabels(rows) {
853
920
  // Expand display labels through secured entity reads, grouped by subject type (not per row).
854
921
  const groups = new Map();
855
922
  for (const row of rows)
@@ -858,8 +925,7 @@ class AXPTaskManagementEntityTaskProvider extends AXPWorkBoardProvider {
858
925
  ids.add(row.subjectRef.id);
859
926
  groups.set(row.subjectRef.type, ids);
860
927
  }
861
- const titles = new Map();
862
- const projectCodes = new Map();
928
+ const labels = new Map();
863
929
  await Promise.all([...groups].map(async ([type, ids]) => {
864
930
  const [module, entity, extra] = type.split('.');
865
931
  if (!module || !entity || extra)
@@ -871,33 +937,37 @@ class AXPTaskManagementEntityTaskProvider extends AXPWorkBoardProvider {
871
937
  ...(type === 'ProjectManagement.Project' ? { fields: ['id', 'title', 'code'] } : {}),
872
938
  filter: { field: 'id', operator: { type: 'in' }, value: allIds.slice(offset, offset + 200) } });
873
939
  for (const row of page.items) {
874
- const title = this.translations.resolve(row.title);
875
- if (title)
876
- titles.set(`${type}:${row.id}`, title);
877
- if (type === 'ProjectManagement.Project' && typeof row.code === 'string' && row.code.trim()) {
878
- projectCodes.set(`${type}:${row.id}`, row.code.trim());
879
- }
940
+ const title = this.translations.resolve(row.title) || undefined;
941
+ const code = type === 'ProjectManagement.Project' && typeof row.code === 'string' ? row.code.trim() || undefined : undefined;
942
+ if (title || code)
943
+ labels.set(`${type}:${row.id}`, { title, code });
880
944
  }
881
945
  }
882
946
  }
883
947
  catch { /* A visible Task does not imply permission to expand its subject. */ }
884
948
  }));
885
- for (const [index, item] of items.entries()) {
886
- const ref = rows[index].subjectRef;
887
- if (ref) {
888
- item.data['subjectTitle'] = titles.get(`${ref.type}:${ref.id}`);
889
- item.data['subjectCode'] = projectCodes.get(`${ref.type}:${ref.id}`);
890
- }
891
- }
949
+ return labels;
950
+ }
951
+ async getCalendarMarkers(options, timeZone) {
952
+ const scope = this.readScope();
892
953
  this.assertReadScope(scope);
893
- return { items, total: first.total };
954
+ const result = await this.queries.fetch(AXP_TASK_RUNTIME_KEYS.CalendarMarkers, { filter: taskBoardApiInput(options), timeZone }, options.forceFresh ? liveTaskRead : undefined);
955
+ this.assertReadScope(scope);
956
+ const payload = runtimeQueryPayloadData(result);
957
+ if (!payload?.days)
958
+ throw new Error('Task calendar markers could not be loaded.');
959
+ return payload.days;
960
+ }
961
+ needsCalendarMarkerRefresh(change, filter) {
962
+ return taskChangeAffectsCalendarMarkers(change, filter);
894
963
  }
895
964
  async getItem(id, previous) {
896
965
  const scope = this.readScope();
897
966
  this.assertReadScope(scope);
898
967
  const { AXP_TASK_RUNTIME_KEYS } = await import('@acorex-platform/module-task-management-client/contracts');
899
968
  try {
900
- const response = await this.queries.fetch(AXP_TASK_RUNTIME_KEYS.Get, { taskId: id }, { dataExecution: { force: true, refreshOnInvalidate: false } });
969
+ // A write in another session must bypass both Data Execution and the transport's short cache.
970
+ const response = await this.queries.fetch(AXP_TASK_RUNTIME_KEYS.Get, { taskId: id }, liveTaskRead);
901
971
  this.assertReadScope(scope);
902
972
  const row = runtimeQueryPayloadData(response);
903
973
  if (!row || row.id !== id || !Number.isSafeInteger(row.version))
@@ -970,7 +1040,8 @@ class AXPTaskManagementEntityTaskProvider extends AXPWorkBoardProvider {
970
1040
  this.assertReadScope(scope);
971
1041
  const { AXP_TASK_RUNTIME_KEYS } = await import('@acorex-platform/module-task-management-client/contracts');
972
1042
  this.assertReadScope(scope);
973
- const result = await this.queries.fetch(AXP_TASK_RUNTIME_KEYS.Summary, taskBoardApiInput(options), { dataExecution: { refreshOnInvalidate: false, ...(options.dueStatusKeys?.length ? { force: true } : {}) } });
1043
+ const result = await this.queries.fetch(AXP_TASK_RUNTIME_KEYS.Summary, taskBoardApiInput(options), taskListReadOptions(options));
1044
+ this.assertReadScope(scope);
974
1045
  const summary = runtimeQueryPayloadData(result);
975
1046
  if (!summary)
976
1047
  throw new Error('Task summary could not be loaded.');
@@ -1052,6 +1123,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
1052
1123
  args: [{ providedIn: 'root' }]
1053
1124
  }] });
1054
1125
 
1126
+ /** Share the transport after Data Execution has resolved each caller's own snapshot. */
1127
+ const shareTaskSummaryTransport = (context, next) => {
1128
+ const { input, key, options } = context;
1129
+ if (!input || typeof input !== 'object' || Array.isArray(input)
1130
+ || options?.cache === false || options?.snapshot === false
1131
+ || options?.dataExecution === false || options?.dataExecution?.force)
1132
+ return next(context);
1133
+ const requests = inject(AXPDataRequestService);
1134
+ return requests.run({
1135
+ kind: 'Query', key, operation: 'summary',
1136
+ input: [taskBoardSummaryReadIdentity(input), options],
1137
+ pendingOnly: true,
1138
+ }, () => next(context));
1139
+ };
1140
+
1055
1141
  function createTaskBoardHost() {
1056
1142
  const calendar = inject(AXMCalendarManagementService);
1057
1143
  return {
@@ -1101,6 +1187,7 @@ class AXPTaskBoardModule {
1101
1187
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXPTaskBoardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1102
1188
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: AXPTaskBoardModule, imports: [AXPRuntimeModule] }); }
1103
1189
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXPTaskBoardModule, providers: [
1190
+ provideQueryMiddleware([{ key: AXP_TASK_RUNTIME_KEYS.Summary, middleware: shareTaskSummaryTransport }]),
1104
1191
  { provide: AXP_PAGE_COMPONENT_PROVIDER, useClass: AXPWorkBoardPageComponentProvider, multi: true },
1105
1192
  { provide: AXP_WORK_BOARD_PROVIDERS, useExisting: AXPTaskManagementEntityTaskProvider, multi: true },
1106
1193
  { provide: AXP_WORK_BOARD_HOST, useFactory: createTaskBoardHost },
@@ -1129,15 +1216,15 @@ class AXPTaskBoardModule {
1129
1216
  provideQuerySetups([
1130
1217
  {
1131
1218
  key: AXMTaskManagementQueryKeys.ListTaskTypes,
1132
- loader: () => import('./acorex-platform-module-task-management-client-list-task-types.query-CZHSliWt.mjs').then((c) => c.AXMListTaskTypesQuery),
1219
+ loader: () => import('./acorex-platform-module-task-management-client-list-task-types.query-Dh3VF1X_.mjs').then((c) => c.AXMListTaskTypesQuery),
1133
1220
  },
1134
1221
  {
1135
1222
  key: AXMTaskManagementQueryKeys.TaskBoardAssignees,
1136
- loader: () => import('./acorex-platform-module-task-management-client-list-task-board-assignees.query-BcNFYozj.mjs').then((c) => c.AXMListTaskBoardAssigneesQuery),
1223
+ loader: () => import('./acorex-platform-module-task-management-client-list-task-board-assignees.query-D949e_zJ.mjs').then((c) => c.AXMListTaskBoardAssigneesQuery),
1137
1224
  },
1138
1225
  {
1139
1226
  key: AXMTaskManagementQueryKeys.TaskBoardReporters,
1140
- loader: () => import('./acorex-platform-module-task-management-client-list-task-board-reporters.query-A0sbGwlB.mjs').then((c) => c.AXMListTaskBoardReportersQuery),
1227
+ loader: () => import('./acorex-platform-module-task-management-client-list-task-board-reporters.query-MPb35xCG.mjs').then((c) => c.AXMListTaskBoardReportersQuery),
1141
1228
  },
1142
1229
  ]),
1143
1230
  ], imports: [AXPRuntimeModule] }); }
@@ -1147,6 +1234,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
1147
1234
  args: [{
1148
1235
  imports: [AXPRuntimeModule],
1149
1236
  providers: [
1237
+ provideQueryMiddleware([{ key: AXP_TASK_RUNTIME_KEYS.Summary, middleware: shareTaskSummaryTransport }]),
1150
1238
  { provide: AXP_PAGE_COMPONENT_PROVIDER, useClass: AXPWorkBoardPageComponentProvider, multi: true },
1151
1239
  { provide: AXP_WORK_BOARD_PROVIDERS, useExisting: AXPTaskManagementEntityTaskProvider, multi: true },
1152
1240
  { provide: AXP_WORK_BOARD_HOST, useFactory: createTaskBoardHost },
@@ -1175,15 +1263,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
1175
1263
  provideQuerySetups([
1176
1264
  {
1177
1265
  key: AXMTaskManagementQueryKeys.ListTaskTypes,
1178
- loader: () => import('./acorex-platform-module-task-management-client-list-task-types.query-CZHSliWt.mjs').then((c) => c.AXMListTaskTypesQuery),
1266
+ loader: () => import('./acorex-platform-module-task-management-client-list-task-types.query-Dh3VF1X_.mjs').then((c) => c.AXMListTaskTypesQuery),
1179
1267
  },
1180
1268
  {
1181
1269
  key: AXMTaskManagementQueryKeys.TaskBoardAssignees,
1182
- loader: () => import('./acorex-platform-module-task-management-client-list-task-board-assignees.query-BcNFYozj.mjs').then((c) => c.AXMListTaskBoardAssigneesQuery),
1270
+ loader: () => import('./acorex-platform-module-task-management-client-list-task-board-assignees.query-D949e_zJ.mjs').then((c) => c.AXMListTaskBoardAssigneesQuery),
1183
1271
  },
1184
1272
  {
1185
1273
  key: AXMTaskManagementQueryKeys.TaskBoardReporters,
1186
- loader: () => import('./acorex-platform-module-task-management-client-list-task-board-reporters.query-A0sbGwlB.mjs').then((c) => c.AXMListTaskBoardReportersQuery),
1274
+ loader: () => import('./acorex-platform-module-task-management-client-list-task-board-reporters.query-MPb35xCG.mjs').then((c) => c.AXMListTaskBoardReportersQuery),
1187
1275
  },
1188
1276
  ]),
1189
1277
  ],
@@ -1246,6 +1334,7 @@ class AXPTaskBoardShortcutViewComponent extends AXPLayoutBaseWidgetComponent {
1246
1334
  const params = this.queryParams();
1247
1335
  const range = this.taskBoardService.rangeCalculator(params.dateRange);
1248
1336
  const options = {
1337
+ take: 0,
1249
1338
  range,
1250
1339
  types: params.type,
1251
1340
  priorities: params.priority,
@@ -1849,33 +1938,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
1849
1938
  type: Injectable
1850
1939
  }] });
1851
1940
 
1852
- //#region ----- Imports -----
1853
- //#endregion
1854
- //#region ----- Constants -----
1855
- /** Persisted task rows shown on the task board. */
1856
- const TASK_BOARD_TASK_ENTITY = `${RootConfig.module.name}.${RootConfig.entities.task.name}`;
1857
- /** Assignment rows that change who a task is assigned to. */
1858
- const TASK_BOARD_TASK_ASSIGNMENT_ENTITY = `${RootConfig.module.name}.${RootConfig.entities.taskAssignment.name}`;
1859
- const TASK_BOARD_TASK_TYPE_ENTITY = `${RootConfig.module.name}.${RootConfig.entities.taskType.name}`;
1860
- /**
1861
- * Workflow human-task cards come from suspended instance bookmarks, not Task rows.
1862
- * Keep this string in sync with `WorkflowManagement.WorkflowInstance` (do not import workflow-management — it already depends on this package).
1863
- */
1864
- const TASK_BOARD_WORKFLOW_INSTANCE_ENTITY = 'WorkflowManagement.WorkflowInstance';
1865
- const TASK_BOARD_REALTIME_ENTITIES = new Set([
1866
- TASK_BOARD_TASK_ENTITY,
1867
- TASK_BOARD_TASK_ASSIGNMENT_ENTITY,
1868
- TASK_BOARD_TASK_TYPE_ENTITY,
1869
- TASK_BOARD_WORKFLOW_INSTANCE_ENTITY,
1870
- ]);
1871
- //#endregion
1872
- //#region ----- Helpers -----
1873
- /** True when a layout-refresh / entity-mutation name should refresh the task board or its menu badge. */
1874
- function isTaskBoardRealtimeEntity(name) {
1875
- return name != null && TASK_BOARD_REALTIME_ENTITIES.has(name);
1876
- }
1877
- //#endregion
1878
-
1879
1941
  //#region ----- Imports -----
1880
1942
  //#endregion
1881
1943
  //#region ----- Constants -----
@@ -1883,6 +1945,9 @@ function isTaskBoardRealtimeEntity(name) {
1883
1945
  const AXM_TASK_BOARD_BADGE_KEY = 'task-management-task-board-badge';
1884
1946
  const TASK_MANAGEMENT_COMMAND_PREFIX = `${RootConfig.module.name}.`;
1885
1947
  const WORKFLOW_MANAGEMENT_COMMAND_PREFIX = 'WorkflowManagement.';
1948
+ const TASK_ENTITY = `${RootConfig.module.name}.${RootConfig.entities.task.name}`;
1949
+ const TASK_RUNTIME_COMMAND_PREFIX = 'TaskManagement:Task:';
1950
+ const PERSONAL_TASK_COMMAND_PREFIX = 'TaskManagement:PersonalTask:';
1886
1951
  //#endregion
1887
1952
  //#region ----- Task badge provider -----
1888
1953
  /**
@@ -1948,8 +2013,11 @@ class AXMTaskBoardBadgeProvider extends AXPTaskBadgeProvider {
1948
2013
  this.handleCommandEvent(event);
1949
2014
  }
1950
2015
  });
1951
- this.taskBoardService.refresh$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {
1952
- this.queuedRefresh.next();
2016
+ this.taskBoardService.refresh$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(event => {
2017
+ if (event.reconnect)
2018
+ void this.refresh(true);
2019
+ else
2020
+ this.queuedRefresh.next();
1953
2021
  });
1954
2022
  this.taskBoardService.itemChanges$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(change => this.reconcileItem(change));
1955
2023
  this.destroyRef.onDestroy(() => {
@@ -1970,7 +2038,7 @@ class AXMTaskBoardBadgeProvider extends AXPTaskBadgeProvider {
1970
2038
  this.count.update(count => Math.max(0, count + Number(mine(change.item)) - Number(mine(change.previous))));
1971
2039
  }
1972
2040
  //#region ----- Badge actions -----
1973
- async refresh() {
2041
+ async refresh(forceFresh = false) {
1974
2042
  const generation = ++this.refreshGeneration;
1975
2043
  this.countReady = false;
1976
2044
  const currentUserId = this.sessionService.user?.id;
@@ -1983,6 +2051,7 @@ class AXMTaskBoardBadgeProvider extends AXPTaskBadgeProvider {
1983
2051
  try {
1984
2052
  const result = await this.taskBoardService.getSummary({
1985
2053
  assigneeIds: [currentUserId],
2054
+ ...(forceFresh ? { forceFresh: true } : {}),
1986
2055
  });
1987
2056
  if (generation !== this.refreshGeneration) {
1988
2057
  return;
@@ -2000,20 +2069,15 @@ class AXMTaskBoardBadgeProvider extends AXPTaskBadgeProvider {
2000
2069
  }
2001
2070
  }
2002
2071
  isRelevantCommandEvent(event) {
2003
- if (event.key.startsWith(TASK_MANAGEMENT_COMMAND_PREFIX) ||
2004
- event.key.startsWith('TaskManagement:Task:') ||
2005
- event.key.startsWith(WORKFLOW_MANAGEMENT_COMMAND_PREFIX)) {
2006
- return true;
2007
- }
2008
- const input = event.input;
2009
- const entity = get(input, 'entity');
2010
- if (entity === TASK_BOARD_TASK_ENTITY) {
2011
- return true;
2012
- }
2013
- const entityInfo = get(input, 'entityInfo');
2014
- return (get(entityInfo, 'source') === TASK_BOARD_TASK_ENTITY ||
2015
- (get(entityInfo, 'module') === RootConfig.module.name &&
2016
- get(entityInfo, 'name') === RootConfig.entities.task.name));
2072
+ return (event.key.startsWith(TASK_MANAGEMENT_COMMAND_PREFIX) ||
2073
+ event.key.startsWith(TASK_RUNTIME_COMMAND_PREFIX) ||
2074
+ event.key.startsWith(PERSONAL_TASK_COMMAND_PREFIX) ||
2075
+ event.key.startsWith(WORKFLOW_MANAGEMENT_COMMAND_PREFIX) ||
2076
+ this.isTaskEntityCommand(event));
2077
+ }
2078
+ isTaskEntityCommand(event) {
2079
+ return get(event.input, 'entity') === TASK_ENTITY || get(event.input, 'entityInfo.source') === TASK_ENTITY
2080
+ || (get(event.input, 'entityInfo.module') === RootConfig.module.name && get(event.input, 'entityInfo.name') === RootConfig.entities.task.name);
2017
2081
  }
2018
2082
  handleCommandEvent(event) {
2019
2083
  if (!event || event.stage !== 'after' || !event.success || event.result?.success === false) {
@@ -2022,9 +2086,18 @@ class AXMTaskBoardBadgeProvider extends AXPTaskBadgeProvider {
2022
2086
  if (this.commandSkipsTaskRefresh(event)) {
2023
2087
  return;
2024
2088
  }
2025
- const taskId = event.key?.startsWith('TaskManagement:') ? get(event.result, 'data.taskId') ?? get(event.input, 'taskId') : undefined;
2026
- if (typeof taskId === 'string')
2089
+ const createFromType = event.key === AXPTaskManagementCommandKeys.TaskType.Create;
2090
+ const taskCommand = createFromType || event.key?.startsWith(TASK_RUNTIME_COMMAND_PREFIX)
2091
+ || event.key?.startsWith(PERSONAL_TASK_COMMAND_PREFIX) || event.key?.startsWith('TaskManagement.Task:')
2092
+ || this.isTaskEntityCommand(event);
2093
+ const taskId = createFromType ? get(event.result, 'data.taskId')
2094
+ : taskCommand ? get(event.result, 'data.taskId') ?? get(event.result, 'data.item.id') ?? get(event.result, 'data.id')
2095
+ ?? get(event.input, 'taskId') ?? get(event.input, 'data.id') : undefined;
2096
+ const taskCreationWorkflow = event.key === 'WorkflowManagement.WorkflowDefinition:Execute' && typeof get(event.input, 'input.taskTypeId') === 'string';
2097
+ if (typeof taskId === 'string' && taskId)
2027
2098
  this.taskBoardService.requestRefresh('task-management.tasks', true, [taskId]);
2099
+ else if (createFromType || taskCreationWorkflow)
2100
+ this.queuedRefresh.next();
2028
2101
  else
2029
2102
  this.taskBoardService.requestRefresh(undefined, true);
2030
2103
  }
@@ -2072,7 +2145,7 @@ class AXMTaskManagementMenuProvider {
2072
2145
  },
2073
2146
  {
2074
2147
  name: AXPTaskManagementMenuKeys.Tasks,
2075
- priority: 1,
2148
+ priority: 8105,
2076
2149
  text: '@task-management:task-board.all-page-title',
2077
2150
  type: 'menu',
2078
2151
  icon: 'fa-light fa-clipboard-list',
@@ -2385,18 +2458,18 @@ class AXMTaskFeatureModule {
2385
2458
  { provide: AXP_ENTITY_MODIFIER, useValue: taskEntityModifier, multi: true },
2386
2459
  { provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, useClass: TaskEntityActionsProvider, multi: true },
2387
2460
  provideCommandSetups([
2388
- { key: AXPTaskManagementCommandKeys.TaskType.Create, command: () => import('./acorex-platform-module-task-management-client-create-task-type.command-4VzqIkIc.mjs').then(c => c.CreateTaskTypeCommand) },
2389
- { key: PERSONAL_TASK_COMMANDS.Create, command: () => import('./acorex-platform-module-task-management-client-personal-task.command-BubXfozR.mjs').then(c => c.CreatePersonalTaskCommand) },
2390
- { key: PERSONAL_TASK_COMMANDS.Edit, command: () => import('./acorex-platform-module-task-management-client-personal-task.command-BubXfozR.mjs').then(c => c.EditPersonalTaskCommand) },
2391
- { key: PERSONAL_TASK_COMMANDS.Delete, command: () => import('./acorex-platform-module-task-management-client-personal-task.command-BubXfozR.mjs').then(c => c.DeletePersonalTaskCommand) },
2461
+ { key: AXPTaskManagementCommandKeys.TaskType.Create, command: () => import('./acorex-platform-module-task-management-client-create-task-type.command-DILZmFuJ.mjs').then(c => c.CreateTaskTypeCommand) },
2462
+ { key: PERSONAL_TASK_COMMANDS.Create, command: () => import('./acorex-platform-module-task-management-client-personal-task.command-AE_HgMmS.mjs').then(c => c.CreatePersonalTaskCommand) },
2463
+ { key: PERSONAL_TASK_COMMANDS.Edit, command: () => import('./acorex-platform-module-task-management-client-personal-task.command-AE_HgMmS.mjs').then(c => c.EditPersonalTaskCommand) },
2464
+ { key: PERSONAL_TASK_COMMANDS.Delete, command: () => import('./acorex-platform-module-task-management-client-personal-task.command-AE_HgMmS.mjs').then(c => c.DeletePersonalTaskCommand) },
2392
2465
  {
2393
2466
  key: AXPTaskManagementCommandKeys.Task.CreateFromSubject,
2394
- command: () => import('./acorex-platform-module-task-management-client-create-subject-task.command-o5rIB4lp.mjs').then((c) => c.CreateSubjectTaskCommand),
2467
+ command: () => import('./acorex-platform-module-task-management-client-create-subject-task.command-CPN3yM4T.mjs').then((c) => c.CreateSubjectTaskCommand),
2395
2468
  },
2396
- { key: AXPTaskManagementCommandKeys.Task.Edit, command: () => import('./acorex-platform-module-task-management-client-task-entity-record.command-BCL_Ctpw.mjs').then(c => c.EditTaskEntityCommand) },
2397
- { key: AXPTaskManagementCommandKeys.Task.View, command: () => import('./acorex-platform-module-task-management-client-task-entity-record.command-BCL_Ctpw.mjs').then(c => c.ViewTaskEntityCommand) },
2398
- { key: TASK_BOARD_LIFECYCLE_COMMAND, command: () => import('./acorex-platform-module-task-management-client-task-entity-record.command-BCL_Ctpw.mjs').then(c => c.TaskEntityLifecycleCommand) },
2399
- { key: AXPTaskManagementCommandKeys.Task.OpenWorkspace, command: () => import('./acorex-platform-module-task-management-client-open-task-workspace.command-1BlMwoWF.mjs').then(c => c.OpenTaskWorkspaceCommand) },
2469
+ { key: AXPTaskManagementCommandKeys.Task.Edit, command: () => import('./acorex-platform-module-task-management-client-task-entity-record.command-BlowcUoP.mjs').then(c => c.EditTaskEntityCommand) },
2470
+ { key: AXPTaskManagementCommandKeys.Task.View, command: () => import('./acorex-platform-module-task-management-client-task-entity-record.command-BlowcUoP.mjs').then(c => c.ViewTaskEntityCommand) },
2471
+ { key: TASK_BOARD_LIFECYCLE_COMMAND, command: () => import('./acorex-platform-module-task-management-client-task-entity-record.command-BlowcUoP.mjs').then(c => c.TaskEntityLifecycleCommand) },
2472
+ { key: AXPTaskManagementCommandKeys.Task.OpenWorkspace, command: () => import('./acorex-platform-module-task-management-client-open-task-workspace.command-CwvVmzfd.mjs').then(c => c.OpenTaskWorkspaceCommand) },
2400
2473
  ]),
2401
2474
  ], imports: [CommonModule, AXPRuntimeModule] }); }
2402
2475
  }
@@ -2408,18 +2481,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
2408
2481
  { provide: AXP_ENTITY_MODIFIER, useValue: taskEntityModifier, multi: true },
2409
2482
  { provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, useClass: TaskEntityActionsProvider, multi: true },
2410
2483
  provideCommandSetups([
2411
- { key: AXPTaskManagementCommandKeys.TaskType.Create, command: () => import('./acorex-platform-module-task-management-client-create-task-type.command-4VzqIkIc.mjs').then(c => c.CreateTaskTypeCommand) },
2412
- { key: PERSONAL_TASK_COMMANDS.Create, command: () => import('./acorex-platform-module-task-management-client-personal-task.command-BubXfozR.mjs').then(c => c.CreatePersonalTaskCommand) },
2413
- { key: PERSONAL_TASK_COMMANDS.Edit, command: () => import('./acorex-platform-module-task-management-client-personal-task.command-BubXfozR.mjs').then(c => c.EditPersonalTaskCommand) },
2414
- { key: PERSONAL_TASK_COMMANDS.Delete, command: () => import('./acorex-platform-module-task-management-client-personal-task.command-BubXfozR.mjs').then(c => c.DeletePersonalTaskCommand) },
2484
+ { key: AXPTaskManagementCommandKeys.TaskType.Create, command: () => import('./acorex-platform-module-task-management-client-create-task-type.command-DILZmFuJ.mjs').then(c => c.CreateTaskTypeCommand) },
2485
+ { key: PERSONAL_TASK_COMMANDS.Create, command: () => import('./acorex-platform-module-task-management-client-personal-task.command-AE_HgMmS.mjs').then(c => c.CreatePersonalTaskCommand) },
2486
+ { key: PERSONAL_TASK_COMMANDS.Edit, command: () => import('./acorex-platform-module-task-management-client-personal-task.command-AE_HgMmS.mjs').then(c => c.EditPersonalTaskCommand) },
2487
+ { key: PERSONAL_TASK_COMMANDS.Delete, command: () => import('./acorex-platform-module-task-management-client-personal-task.command-AE_HgMmS.mjs').then(c => c.DeletePersonalTaskCommand) },
2415
2488
  {
2416
2489
  key: AXPTaskManagementCommandKeys.Task.CreateFromSubject,
2417
- command: () => import('./acorex-platform-module-task-management-client-create-subject-task.command-o5rIB4lp.mjs').then((c) => c.CreateSubjectTaskCommand),
2490
+ command: () => import('./acorex-platform-module-task-management-client-create-subject-task.command-CPN3yM4T.mjs').then((c) => c.CreateSubjectTaskCommand),
2418
2491
  },
2419
- { key: AXPTaskManagementCommandKeys.Task.Edit, command: () => import('./acorex-platform-module-task-management-client-task-entity-record.command-BCL_Ctpw.mjs').then(c => c.EditTaskEntityCommand) },
2420
- { key: AXPTaskManagementCommandKeys.Task.View, command: () => import('./acorex-platform-module-task-management-client-task-entity-record.command-BCL_Ctpw.mjs').then(c => c.ViewTaskEntityCommand) },
2421
- { key: TASK_BOARD_LIFECYCLE_COMMAND, command: () => import('./acorex-platform-module-task-management-client-task-entity-record.command-BCL_Ctpw.mjs').then(c => c.TaskEntityLifecycleCommand) },
2422
- { key: AXPTaskManagementCommandKeys.Task.OpenWorkspace, command: () => import('./acorex-platform-module-task-management-client-open-task-workspace.command-1BlMwoWF.mjs').then(c => c.OpenTaskWorkspaceCommand) },
2492
+ { key: AXPTaskManagementCommandKeys.Task.Edit, command: () => import('./acorex-platform-module-task-management-client-task-entity-record.command-BlowcUoP.mjs').then(c => c.EditTaskEntityCommand) },
2493
+ { key: AXPTaskManagementCommandKeys.Task.View, command: () => import('./acorex-platform-module-task-management-client-task-entity-record.command-BlowcUoP.mjs').then(c => c.ViewTaskEntityCommand) },
2494
+ { key: TASK_BOARD_LIFECYCLE_COMMAND, command: () => import('./acorex-platform-module-task-management-client-task-entity-record.command-BlowcUoP.mjs').then(c => c.TaskEntityLifecycleCommand) },
2495
+ { key: AXPTaskManagementCommandKeys.Task.OpenWorkspace, command: () => import('./acorex-platform-module-task-management-client-open-task-workspace.command-CwvVmzfd.mjs').then(c => c.OpenTaskWorkspaceCommand) },
2423
2496
  ]),
2424
2497
  ],
2425
2498
  }]
@@ -2798,7 +2871,7 @@ class AXMTaskWorkspaceService {
2798
2871
  stepped,
2799
2872
  };
2800
2873
  const closed = await this.dialogOpener.openPopup({
2801
- load: () => import('./acorex-platform-module-task-management-client-task-workspace.popup-Cz8Hrp3r.mjs').then((module) => module.AXMTaskWorkspacePopupComponent),
2874
+ load: () => import('./acorex-platform-module-task-management-client-task-workspace.popup-Ck_IulIq.mjs').then((module) => module.AXMTaskWorkspacePopupComponent),
2802
2875
  data: { taskId, title, ...popupData },
2803
2876
  show: (component) => this.popup.open(component, {
2804
2877
  title: title || '@task-management:workspace.title',
@@ -2843,4 +2916,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
2843
2916
  */
2844
2917
 
2845
2918
  export { AXP_TASK_WORKSPACE_CONTENT as A, AXP_TASK_WORKSPACE_STEPPED_TYPES as B, ResetTaskBoardFiltersAssignToCurrentUserCommand as C, buildTaskBoardShortcutWidget as D, buildTaskBoardWidget as E, taskBoardApiInput as F, PERSONAL_TASK_COMMANDS as P, RESET_TASK_BOARD_FILTERS_ASSIGN_TO_CURRENT_USER_COMMAND_KEY as R, TaskAttachmentsUiService as T, AXPTaskWorkspaceBridge as a, taskInputInstant as b, taskPersonalCapability as c, taskActionErrorKey as d, taskRecordActionPlan as e, TASK_ATTACHMENT_WIDGET_OPTIONS as f, TaskEntityUiService as g, AXPTaskLifecycleUiService as h, AXMTaskWorkspaceService as i, taskCompletionResult as j, AXMSearchCommandProvider as k, AXMSettingProvider as l, AXMTaskManagementMenuProvider as m, AXMTaskManagementModule as n, AXPTaskBoardModule as o, AXPTaskBoardShortcut as p, AXPTaskBoardShortcutViewComponent as q, AXPTaskBoardWidget as r, AXPTaskBoardWidgetViewComponent as s, taskWorkspaceDueState as t, AXPTaskManagementEntityTaskProvider as u, AXP_TASK_BOARD_DIMENSIONS as v, AXP_TASK_BOARD_SHORTCUT_DIMENSIONS as w, AXP_TASK_MANAGEMENT_DASHBOARD_SUB_BOARD as x, AXP_TASK_MANAGEMENT_DASHBOARD_SUB_SHORTCUT as y, AXP_TASK_MANAGEMENT_DASHBOARD_WIDGET_CATEGORY as z };
2846
- //# sourceMappingURL=acorex-platform-module-task-management-client-acorex-platform-module-task-management-client-dfiarGtJ.mjs.map
2919
+ //# sourceMappingURL=acorex-platform-module-task-management-client-acorex-platform-module-task-management-client-yOT3efah.mjs.map