@acorex-platform/module-workflow-management-client 2.0.0-next.2 → 2.0.0-next.20

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 (10) hide show
  1. package/fesm2022/{acorex-platform-module-workflow-management-client-acorex-platform-module-workflow-management-client-DaEuz1U-.mjs → acorex-platform-module-workflow-management-client-acorex-platform-module-workflow-management-client-BcOBHoOK.mjs} +18 -13
  2. package/fesm2022/{acorex-platform-module-workflow-management-client-acorex-platform-module-workflow-management-client-DaEuz1U-.mjs.map → acorex-platform-module-workflow-management-client-acorex-platform-module-workflow-management-client-BcOBHoOK.mjs.map} +1 -1
  3. package/fesm2022/{acorex-platform-module-workflow-management-client-index-BkJuXaZn.mjs → acorex-platform-module-workflow-management-client-index-Bx8vYkYe.mjs} +3 -3
  4. package/fesm2022/{acorex-platform-module-workflow-management-client-index-BkJuXaZn.mjs.map → acorex-platform-module-workflow-management-client-index-Bx8vYkYe.mjs.map} +1 -1
  5. package/fesm2022/{acorex-platform-module-workflow-management-client-workflow-run-history-popup.component-BtQ8OC0Q.mjs → acorex-platform-module-workflow-management-client-workflow-run-history-popup.component-CHVdaY4M.mjs} +2 -2
  6. package/fesm2022/{acorex-platform-module-workflow-management-client-workflow-run-history-popup.component-BtQ8OC0Q.mjs.map → acorex-platform-module-workflow-management-client-workflow-run-history-popup.component-CHVdaY4M.mjs.map} +1 -1
  7. package/fesm2022/{acorex-platform-module-workflow-management-client-workflow-task-popover.component-BjjwcQ2s.mjs → acorex-platform-module-workflow-management-client-workflow-task-popover.component-BXutLQAO.mjs} +2 -2
  8. package/fesm2022/{acorex-platform-module-workflow-management-client-workflow-task-popover.component-BjjwcQ2s.mjs.map → acorex-platform-module-workflow-management-client-workflow-task-popover.component-BXutLQAO.mjs.map} +1 -1
  9. package/fesm2022/acorex-platform-module-workflow-management-client.mjs +1 -1
  10. package/package.json +3 -3
@@ -3122,23 +3122,23 @@ class AXMWorkflowManagementModule {
3122
3122
  },
3123
3123
  {
3124
3124
  key: 'WorkflowManagement.WorkflowRun:Continue',
3125
- command: () => import('./acorex-platform-module-workflow-management-client-index-BkJuXaZn.mjs').then((c) => c.ContinueWorkflowRunCommand),
3125
+ command: () => import('./acorex-platform-module-workflow-management-client-index-Bx8vYkYe.mjs').then((c) => c.ContinueWorkflowRunCommand),
3126
3126
  },
3127
3127
  {
3128
3128
  key: 'WorkflowManagement.WorkflowRun:CancelRun',
3129
- command: () => import('./acorex-platform-module-workflow-management-client-index-BkJuXaZn.mjs').then((c) => c.CancelWorkflowRunCommand),
3129
+ command: () => import('./acorex-platform-module-workflow-management-client-index-Bx8vYkYe.mjs').then((c) => c.CancelWorkflowRunCommand),
3130
3130
  },
3131
3131
  {
3132
3132
  key: 'WorkflowManagement.WorkflowRun:TakeOver',
3133
- command: () => import('./acorex-platform-module-workflow-management-client-index-BkJuXaZn.mjs').then((c) => c.TakeOverWorkflowRunCommand),
3133
+ command: () => import('./acorex-platform-module-workflow-management-client-index-Bx8vYkYe.mjs').then((c) => c.TakeOverWorkflowRunCommand),
3134
3134
  },
3135
3135
  {
3136
3136
  key: 'WorkflowManagement.WorkflowRun:ShowHistory',
3137
- command: () => import('./acorex-platform-module-workflow-management-client-index-BkJuXaZn.mjs').then((c) => c.ShowWorkflowRunHistoryCommand),
3137
+ command: () => import('./acorex-platform-module-workflow-management-client-index-Bx8vYkYe.mjs').then((c) => c.ShowWorkflowRunHistoryCommand),
3138
3138
  },
3139
3139
  {
3140
3140
  key: 'WorkflowManagement.WorkflowRun:ShowHistory',
3141
- command: () => import('./acorex-platform-module-workflow-management-client-index-BkJuXaZn.mjs').then((c) => c.ShowWorkflowRunHistoryCommand),
3141
+ command: () => import('./acorex-platform-module-workflow-management-client-index-Bx8vYkYe.mjs').then((c) => c.ShowWorkflowRunHistoryCommand),
3142
3142
  },
3143
3143
  ]),
3144
3144
  // provideEntity([RootConfig.entities.activityDefinition.fullName]),
@@ -3296,23 +3296,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
3296
3296
  },
3297
3297
  {
3298
3298
  key: 'WorkflowManagement.WorkflowRun:Continue',
3299
- command: () => import('./acorex-platform-module-workflow-management-client-index-BkJuXaZn.mjs').then((c) => c.ContinueWorkflowRunCommand),
3299
+ command: () => import('./acorex-platform-module-workflow-management-client-index-Bx8vYkYe.mjs').then((c) => c.ContinueWorkflowRunCommand),
3300
3300
  },
3301
3301
  {
3302
3302
  key: 'WorkflowManagement.WorkflowRun:CancelRun',
3303
- command: () => import('./acorex-platform-module-workflow-management-client-index-BkJuXaZn.mjs').then((c) => c.CancelWorkflowRunCommand),
3303
+ command: () => import('./acorex-platform-module-workflow-management-client-index-Bx8vYkYe.mjs').then((c) => c.CancelWorkflowRunCommand),
3304
3304
  },
3305
3305
  {
3306
3306
  key: 'WorkflowManagement.WorkflowRun:TakeOver',
3307
- command: () => import('./acorex-platform-module-workflow-management-client-index-BkJuXaZn.mjs').then((c) => c.TakeOverWorkflowRunCommand),
3307
+ command: () => import('./acorex-platform-module-workflow-management-client-index-Bx8vYkYe.mjs').then((c) => c.TakeOverWorkflowRunCommand),
3308
3308
  },
3309
3309
  {
3310
3310
  key: 'WorkflowManagement.WorkflowRun:ShowHistory',
3311
- command: () => import('./acorex-platform-module-workflow-management-client-index-BkJuXaZn.mjs').then((c) => c.ShowWorkflowRunHistoryCommand),
3311
+ command: () => import('./acorex-platform-module-workflow-management-client-index-Bx8vYkYe.mjs').then((c) => c.ShowWorkflowRunHistoryCommand),
3312
3312
  },
3313
3313
  {
3314
3314
  key: 'WorkflowManagement.WorkflowRun:ShowHistory',
3315
- command: () => import('./acorex-platform-module-workflow-management-client-index-BkJuXaZn.mjs').then((c) => c.ShowWorkflowRunHistoryCommand),
3315
+ command: () => import('./acorex-platform-module-workflow-management-client-index-Bx8vYkYe.mjs').then((c) => c.ShowWorkflowRunHistoryCommand),
3316
3316
  },
3317
3317
  ]),
3318
3318
  // provideEntity([RootConfig.entities.activityDefinition.fullName]),
@@ -4473,6 +4473,7 @@ class AXPGenericWorkflowTaskProvider extends AXPWorkflowTaskProvider {
4473
4473
  if (this.isDelegatedPlatformCommand(actionName)) {
4474
4474
  const isSignAction = actionName.toLowerCase().includes('sign');
4475
4475
  const isViewDocumentAction = action.name === 'view-document' || actionName.toLowerCase().includes('document:open');
4476
+ const declaredPriority = action.priority;
4476
4477
  const expectedEntityRefType = typeof taskData?.entityRefType === 'string' ? String(taskData.entityRefType).trim() : undefined;
4477
4478
  const delegatedData = buildDelegatedPlatformCommandData({
4478
4479
  commandOptions,
@@ -4485,7 +4486,11 @@ class AXPGenericWorkflowTaskProvider extends AXPWorkflowTaskProvider {
4485
4486
  title: this.resolveWorkflowActionTitle(action.title, actionName),
4486
4487
  icon: action.icon,
4487
4488
  color: action.color,
4488
- priority: isSignAction || isViewDocumentAction ? 'primary' : 'secondary',
4489
+ priority: declaredPriority === 'primary' || declaredPriority === 'secondary'
4490
+ ? declaredPriority
4491
+ : isSignAction || isViewDocumentAction
4492
+ ? 'primary'
4493
+ : 'secondary',
4489
4494
  command: {
4490
4495
  name: actionName,
4491
4496
  options: {
@@ -5148,7 +5153,7 @@ class AXPGenericWorkflowTaskProvider extends AXPWorkflowTaskProvider {
5148
5153
  //#endregion
5149
5154
  //#region ---- Component ----
5150
5155
  getComponent() {
5151
- return () => import('./acorex-platform-module-workflow-management-client-workflow-task-popover.component-BjjwcQ2s.mjs').then((m) => m.AXMWorkflowTaskPopoverComponent);
5156
+ return () => import('./acorex-platform-module-workflow-management-client-workflow-task-popover.component-BXutLQAO.mjs').then((m) => m.AXMWorkflowTaskPopoverComponent);
5152
5157
  }
5153
5158
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXPGenericWorkflowTaskProvider, deps: [{ token: AXP_GENERIC_WORKFLOW_TASK_PROVIDER_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable }); }
5154
5159
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXPGenericWorkflowTaskProvider }); }
@@ -5171,4 +5176,4 @@ var genericWorkflowTask_provider = /*#__PURE__*/Object.freeze({
5171
5176
  */
5172
5177
 
5173
5178
  export { AXPWorkflowInstanceHumanTaskService as A, needsTakeOverForWorkflowInteractiveContinuation as B, CartableTaskActivity as C, needsTakeOverForWorkflowTaskContinuation as D, parseWorkflowTaskContinuationPayload as E, resolveWorkflowHumanTaskAssigneeId as F, resolveWorkflowInitiatorUserIdFromVariables as G, HumanTaskActivity as H, resolveWorkflowTaskContinuationAssigneeId as I, shouldOfferWorkflowContinuationAfterStep as J, shouldOfferWorkflowInteractiveStepContinuation as K, shouldOfferWorkflowTaskContinuation as L, shouldSkipContinuationBeforeInteractive as M, wasWorkflowTaskBoardActivity as N, RejectionReasonActivity as R, ShowConfirmPopupActivity as S, AXMWorkflowManagementCommandKeys as a, buildWorkflowTaskDisplayParamsFromWorkflowState as b, createWorkflowInstanceBookmarkAccess as c, buildWorkflowTaskDisplayParams as d, AXCCategoryProvider as e, AXMMenuProvider as f, AXMWorkflowActivitiesDefinitionProvider as g, AXMWorkflowManagementModule as h, isWorkflowPooledClaimablePayload as i, AXPCreateEntityActivity as j, AXPGenericWorkflowTaskProvider as k, AXPWorkflowTaskContinuationService as l, AXPWorkflowTaskInstanceQueryService as m, normalizeWorkflowTaskUserIds as n, AXP_GENERIC_WORKFLOW_TASK_PROVIDER_CONFIG as o, CreateEntityFormActivity as p, ShowLayoutPopupActivity as q, rehydrateWorkflowStateInputTitles as r, ShowToastActivity as s, SignOffActivity as t, discoverWorkflowTaskProviders as u, findActiveHumanTaskAssigneeId as v, findHumanTaskAssigneeIdForActivity as w, getWorkflowInstanceInitiatorUserId as x, isWorkflowReassignableHumanTaskPayload as y, isWorkflowTaskBoardBookmarkPayload as z };
5174
- //# sourceMappingURL=acorex-platform-module-workflow-management-client-acorex-platform-module-workflow-management-client-DaEuz1U-.mjs.map
5179
+ //# sourceMappingURL=acorex-platform-module-workflow-management-client-acorex-platform-module-workflow-management-client-BcOBHoOK.mjs.map