@alfresco/adf-process-services-cloud 8.4.0-17379007632 → 8.4.0-17396068206

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.
@@ -10237,45 +10237,47 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
10237
10237
  class ProcessFilterCloudModel {
10238
10238
  constructor(obj) {
10239
10239
  this.dateRangeFilterService = new DateRangeFilterService();
10240
- if (obj) {
10241
- this.id = obj.id || Math.random().toString(36).substring(2, 9);
10242
- this.name = obj.name || null;
10243
- this.key = obj.key || null;
10244
- this.environmentId = obj.environmentId;
10245
- this.showCounter = obj.showCounter || false;
10246
- this.icon = obj.icon || null;
10247
- this.index = obj.index || null;
10248
- this.appName = obj.appName || obj.appName === '' ? obj.appName : null;
10249
- this.appVersion = obj.appVersion || null;
10250
- if (obj.appVersionMultiple && Array.isArray(obj.appVersionMultiple)) {
10251
- this.appVersion = obj.appVersionMultiple;
10252
- }
10253
- this.processInstanceId = obj.processInstanceId || null;
10254
- this.parentId = obj.parentId || '';
10255
- this.processName = obj.processName || null;
10256
- this.initiator = obj.initiator || null;
10257
- this.status = obj.status || null;
10258
- this.sort = obj.sort || null;
10259
- this.order = obj.order || null;
10260
- this.processDefinitionId = obj.processDefinitionId || null;
10261
- this.processDefinitionName = obj.processDefinitionName || null;
10262
- this.processDefinitionKey = obj.processDefinitionKey || null;
10263
- this.lastModified = obj.lastModified || null;
10264
- this.lastModifiedTo = obj.lastModifiedTo || null;
10265
- this.lastModifiedFrom = obj.lastModifiedFrom || null;
10266
- this.startedDate = obj.startedDate || null;
10267
- this.startFrom = obj._startFrom || null;
10268
- this.startTo = obj._startTo || null;
10269
- this.completedDateType = obj.completedDateType || null;
10270
- this.startedDateType = obj.startedDateType || null;
10271
- this.suspendedDateType = obj.suspendedDateType || null;
10272
- this.completedFrom = obj._completedFrom || null;
10273
- this.completedTo = obj._completedTo || null;
10274
- this.completedDate = obj.completedDate || null;
10275
- this._suspendedFrom = obj._suspendedFrom || null;
10276
- this._suspendedTo = obj._suspendedTo || null;
10277
- this.initArrayProperties(obj);
10240
+ if (!obj) {
10241
+ return;
10242
+ }
10243
+ this.id = obj.id || Math.random().toString(36).substring(2, 9);
10244
+ this.name = obj.name || null;
10245
+ this.key = obj.key || null;
10246
+ this.environmentId = obj.environmentId || null;
10247
+ this.showCounter = obj.showCounter || false;
10248
+ this.icon = obj.icon || null;
10249
+ this.index = obj.index || null;
10250
+ this.appName = obj.appName || obj.appName === '' ? obj.appName : null;
10251
+ this.appVersion = obj.appVersion || null;
10252
+ if (obj.appVersionMultiple && Array.isArray(obj.appVersionMultiple)) {
10253
+ this.appVersion = obj.appVersionMultiple;
10278
10254
  }
10255
+ this.processInstanceId = obj.processInstanceId || null;
10256
+ this.parentId = obj.parentId || '';
10257
+ this.processName = obj.processName || null;
10258
+ this.initiator = obj.initiator || null;
10259
+ this.status = obj.status || null;
10260
+ this.sort = obj.sort || null;
10261
+ this.order = obj.order || null;
10262
+ this.processDefinitionId = obj.processDefinitionId || null;
10263
+ this.processDefinitionName = obj.processDefinitionName || null;
10264
+ this.processDefinitionKey = obj.processDefinitionKey || null;
10265
+ this.lastModified = obj.lastModified || null;
10266
+ this.lastModifiedTo = obj.lastModifiedTo || null;
10267
+ this.lastModifiedFrom = obj.lastModifiedFrom || null;
10268
+ this.startedDate = obj.startedDate || null;
10269
+ this.startFrom = obj._startFrom || null;
10270
+ this.startTo = obj._startTo || null;
10271
+ this.completedDateType = obj.completedDateType || null;
10272
+ this.startedDateType = obj.startedDateType || null;
10273
+ this.suspendedDateType = obj.suspendedDateType || null;
10274
+ this.completedFrom = obj._completedFrom || null;
10275
+ this.completedTo = obj._completedTo || null;
10276
+ this.completedDate = obj.completedDate || null;
10277
+ this.excludeByProcessCategoryName = obj.excludeByProcessCategoryName || null;
10278
+ this._suspendedFrom = obj._suspendedFrom || null;
10279
+ this._suspendedTo = obj._suspendedTo || null;
10280
+ this.initArrayProperties(obj);
10279
10281
  }
10280
10282
  initArrayProperties(obj) {
10281
10283
  if (obj.processDefinitionNames) {
@@ -10882,7 +10884,8 @@ class ProcessListCloudService extends BaseCloudService {
10882
10884
  suspendedFrom: requestNode.suspendedFrom,
10883
10885
  suspendedTo: requestNode.suspendedTo,
10884
10886
  processVariableKeys: requestNode.processVariableKeys,
10885
- processVariableFilters: requestNode.processVariableFilters
10887
+ processVariableFilters: requestNode.processVariableFilters,
10888
+ excludeByProcessCategoryName: requestNode.excludeByProcessCategoryName
10886
10889
  };
10887
10890
  if (requestNode.sorting) {
10888
10891
  queryData['sort'] = {
@@ -11149,6 +11152,7 @@ class ProcessListRequestModel {
11149
11152
  this.suspendedTo = obj.suspendedTo;
11150
11153
  this.processVariableKeys = obj.processVariableKeys;
11151
11154
  this.processVariableFilters = obj.processVariableFilters;
11155
+ this.excludeByProcessCategoryName = obj.excludeByProcessCategoryName;
11152
11156
  }
11153
11157
  }
11154
11158
  class ProcessFilterCloudAdapter extends ProcessListRequestModel {
@@ -12606,6 +12610,7 @@ class ProcessListCloudComponent extends DataTableSchema {
12606
12610
  * This input will be used only if searchApiMethod input is provided with 'POST' value.
12607
12611
  */
12608
12612
  this.statuses = [];
12613
+ this.excludeByProcessCategoryName = '';
12609
12614
  /** Emitted when a row in the process list is clicked. */
12610
12615
  this.rowClick = new EventEmitter();
12611
12616
  /** Emitted when rows are selected/unselected. */
@@ -12846,7 +12851,8 @@ class ProcessListCloudComponent extends DataTableSchema {
12846
12851
  suspendedFrom: this.suspendedFrom,
12847
12852
  suspendedTo: this.suspendedTo,
12848
12853
  processVariableKeys: this.getVariableDefinitionsRequestModel(),
12849
- processVariableFilters: this.processVariables
12854
+ processVariableFilters: this.processVariables,
12855
+ excludeByProcessCategoryName: this.excludeByProcessCategoryName
12850
12856
  };
12851
12857
  return new ProcessListRequestModel(requestNode);
12852
12858
  }
@@ -12938,7 +12944,7 @@ class ProcessListCloudComponent extends DataTableSchema {
12938
12944
  return displayedVariableColumns.length ? displayedVariableColumns : undefined;
12939
12945
  }
12940
12946
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ProcessListCloudComponent, deps: [{ token: ProcessListCloudService }, { token: i1$1.AppConfigService }, { token: i1$1.UserPreferencesService }, { token: PROCESS_LISTS_PREFERENCES_SERVICE_TOKEN }, { token: VariableMapperService }], target: i0.ɵɵFactoryTarget.Component }); }
12941
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: ProcessListCloudComponent, isStandalone: true, selector: "adf-cloud-process-list", inputs: { appName: "appName", appVersion: "appVersion", initiator: "initiator", id: "id", environmentId: "environmentId", name: "name", parentId: "parentId", processDefinitionId: "processDefinitionId", processDefinitionName: "processDefinitionName", processDefinitionKey: "processDefinitionKey", status: "status", businessKey: "businessKey", lastModifiedFrom: "lastModifiedFrom", lastModifiedTo: "lastModifiedTo", startFrom: "startFrom", startTo: "startTo", completedFrom: "completedFrom", completedTo: "completedTo", completedDate: "completedDate", suspendedFrom: "suspendedFrom", suspendedTo: "suspendedTo", selectionMode: "selectionMode", multiselect: "multiselect", sorting: "sorting", showActions: "showActions", showProvidedActions: "showProvidedActions", actionsPosition: "actionsPosition", stickyHeader: "stickyHeader", showContextMenu: "showContextMenu", showMainDatatableActions: "showMainDatatableActions", isResizingEnabled: "isResizingEnabled", searchApiMethod: "searchApiMethod", names: "names", ids: "ids", parentIds: "parentIds", processDefinitionNames: "processDefinitionNames", initiators: "initiators", appVersions: "appVersions", statuses: "statuses", processVariables: "processVariables" }, outputs: { rowClick: "rowClick", rowsSelected: "rowsSelected", showRowContextMenu: "showRowContextMenu", showRowActionsMenu: "showRowActionsMenu", executeRowAction: "executeRowAction", error: "error", success: "success" }, queries: [{ propertyName: "emptyCustomContent", first: true, predicate: CustomEmptyContentTemplateDirective, descendants: true }, { propertyName: "customLoadingContent", first: true, predicate: CustomLoadingContentTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "dataTable", first: true, predicate: DataTableComponent, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<adf-datatable\n [rows]=\"rows\"\n [columns]=\"columns\"\n [data]=\"dataAdapter\"\n [stickyHeader]=\"stickyHeader\"\n [loading]=\"isLoading\"\n [sorting]=\"formattedSorting\"\n [selectionMode]=\"selectionMode\"\n [multiselect]=\"multiselect\"\n [actions]=\"showActions\"\n [actionsPosition]=\"actionsPosition\"\n [contextMenu]=\"showContextMenu\"\n [showMainDatatableActions]=\"showMainDatatableActions\"\n [showProvidedActions]=\"showProvidedActions\"\n [isResizingEnabled]=\"isResizingEnabled\"\n (showRowActionsMenu)=\"onShowRowActionsMenu($event)\"\n (showRowContextMenu)=\"onShowRowContextMenu($event)\"\n (executeRowAction)=\"onExecuteRowAction($event)\"\n (rowClick)=\"onRowClick($any($event))\"\n (row-select)=\"onRowSelect($any($event))\"\n (row-unselect)=\"onRowUnselect($any($event))\"\n (row-keyup)=\"onRowKeyUp($any($event))\"\n (sorting-changed)=\"onSortingChanged($any($event))\"\n (columnOrderChanged)=\"onColumnOrderChanged($event)\"\n (columnsWidthChanged)=\"onColumnsWidthChanged($event)\"\n >\n <adf-loading-content-template>\n <ng-template>\n <mat-progress-spinner\n *ngIf=\"!customLoadingContent\"\n class=\"adf-cloud-process-list-loading-margin\"\n [color]=\"'primary'\"\n [mode]=\"'indeterminate'\" />\n <ng-content select=\"adf-custom-loading-content-template\" />\n </ng-template>\n </adf-loading-content-template>\n <adf-no-content-template>\n <ng-template>\n <adf-empty-content *ngIf=\"!emptyCustomContent\"\n icon=\"assessment\"\n [title]=\"'ADF_CLOUD_PROCESS_LIST.MESSAGES.TITLE' | translate\"\n [subtitle]=\"'ADF_CLOUD_PROCESS_LIST.MESSAGES.SUBTITLE'| translate\" />\n <ng-content select=\"adf-custom-empty-content-template\" />\n </ng-template>\n </adf-no-content-template>\n\n <adf-main-menu-datatable-template>\n <ng-template let-mainMenuTrigger>\n <adf-datatable-column-selector\n [columns]=\"columns\"\n [mainMenuTrigger]=\"mainMenuTrigger\"\n (submitColumnsVisibility)=\"onColumnsVisibilityChange($event)\" />\n </ng-template>\n </adf-main-menu-datatable-template>\n</adf-datatable>\n", styles: [".adf-cloud-process-list-loading-margin{margin-left:calc((100% - 100px)/2);margin-right:calc((100% - 100px)/2)}\n"], dependencies: [{ kind: "component", type: DataTableComponent, selector: "adf-datatable", inputs: ["data", "rows", "sorting", "columns", "selectionMode", "multiselect", "mainTableAction", "actions", "showMainDatatableActions", "showProvidedActions", "actionsPosition", "actionsVisibleOnHover", "fallbackThumbnail", "contextMenu", "rowStyle", "rowStyleClass", "showHeader", "stickyHeader", "loading", "noPermission", "rowMenuCacheEnabled", "resolverFn", "allowFiltering", "isResizingEnabled", "blurOnResize", "displayCheckboxesOnHover", "enableDragRows"], outputs: ["rowClick", "rowDblClick", "showRowContextMenu", "showRowActionsMenu", "executeRowAction", "columnOrderChanged", "columnsWidthChanged", "selectedItemsCountChanged", "dragDropped"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i4$1.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "component", type: ColumnsSelectorComponent, selector: "adf-datatable-column-selector", inputs: ["columns", "mainMenuTrigger", "columnsSorting", "maxColumnsVisible"], outputs: ["submitColumnsVisibility"] }, { kind: "directive", type: MainMenuDataTableTemplateDirective, selector: "adf-main-menu-datatable-template" }, { kind: "component", type: EmptyContentComponent, selector: "adf-empty-content", inputs: ["icon", "title", "subtitle"] }, { kind: "directive", type: NoContentTemplateDirective, selector: "adf-no-content-template, no-content-template" }, { kind: "directive", type: LoadingContentTemplateDirective, selector: "adf-loading-content-template, loading-content-template" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None }); }
12947
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: ProcessListCloudComponent, isStandalone: true, selector: "adf-cloud-process-list", inputs: { appName: "appName", appVersion: "appVersion", initiator: "initiator", id: "id", environmentId: "environmentId", name: "name", parentId: "parentId", processDefinitionId: "processDefinitionId", processDefinitionName: "processDefinitionName", processDefinitionKey: "processDefinitionKey", status: "status", businessKey: "businessKey", lastModifiedFrom: "lastModifiedFrom", lastModifiedTo: "lastModifiedTo", startFrom: "startFrom", startTo: "startTo", completedFrom: "completedFrom", completedTo: "completedTo", completedDate: "completedDate", suspendedFrom: "suspendedFrom", suspendedTo: "suspendedTo", selectionMode: "selectionMode", multiselect: "multiselect", sorting: "sorting", showActions: "showActions", showProvidedActions: "showProvidedActions", actionsPosition: "actionsPosition", stickyHeader: "stickyHeader", showContextMenu: "showContextMenu", showMainDatatableActions: "showMainDatatableActions", isResizingEnabled: "isResizingEnabled", searchApiMethod: "searchApiMethod", names: "names", ids: "ids", parentIds: "parentIds", processDefinitionNames: "processDefinitionNames", initiators: "initiators", appVersions: "appVersions", statuses: "statuses", processVariables: "processVariables", excludeByProcessCategoryName: "excludeByProcessCategoryName" }, outputs: { rowClick: "rowClick", rowsSelected: "rowsSelected", showRowContextMenu: "showRowContextMenu", showRowActionsMenu: "showRowActionsMenu", executeRowAction: "executeRowAction", error: "error", success: "success" }, queries: [{ propertyName: "emptyCustomContent", first: true, predicate: CustomEmptyContentTemplateDirective, descendants: true }, { propertyName: "customLoadingContent", first: true, predicate: CustomLoadingContentTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "dataTable", first: true, predicate: DataTableComponent, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<adf-datatable\n [rows]=\"rows\"\n [columns]=\"columns\"\n [data]=\"dataAdapter\"\n [stickyHeader]=\"stickyHeader\"\n [loading]=\"isLoading\"\n [sorting]=\"formattedSorting\"\n [selectionMode]=\"selectionMode\"\n [multiselect]=\"multiselect\"\n [actions]=\"showActions\"\n [actionsPosition]=\"actionsPosition\"\n [contextMenu]=\"showContextMenu\"\n [showMainDatatableActions]=\"showMainDatatableActions\"\n [showProvidedActions]=\"showProvidedActions\"\n [isResizingEnabled]=\"isResizingEnabled\"\n (showRowActionsMenu)=\"onShowRowActionsMenu($event)\"\n (showRowContextMenu)=\"onShowRowContextMenu($event)\"\n (executeRowAction)=\"onExecuteRowAction($event)\"\n (rowClick)=\"onRowClick($any($event))\"\n (row-select)=\"onRowSelect($any($event))\"\n (row-unselect)=\"onRowUnselect($any($event))\"\n (row-keyup)=\"onRowKeyUp($any($event))\"\n (sorting-changed)=\"onSortingChanged($any($event))\"\n (columnOrderChanged)=\"onColumnOrderChanged($event)\"\n (columnsWidthChanged)=\"onColumnsWidthChanged($event)\"\n >\n <adf-loading-content-template>\n <ng-template>\n <mat-progress-spinner\n *ngIf=\"!customLoadingContent\"\n class=\"adf-cloud-process-list-loading-margin\"\n [color]=\"'primary'\"\n [mode]=\"'indeterminate'\" />\n <ng-content select=\"adf-custom-loading-content-template\" />\n </ng-template>\n </adf-loading-content-template>\n <adf-no-content-template>\n <ng-template>\n <adf-empty-content *ngIf=\"!emptyCustomContent\"\n icon=\"assessment\"\n [title]=\"'ADF_CLOUD_PROCESS_LIST.MESSAGES.TITLE' | translate\"\n [subtitle]=\"'ADF_CLOUD_PROCESS_LIST.MESSAGES.SUBTITLE'| translate\" />\n <ng-content select=\"adf-custom-empty-content-template\" />\n </ng-template>\n </adf-no-content-template>\n\n <adf-main-menu-datatable-template>\n <ng-template let-mainMenuTrigger>\n <adf-datatable-column-selector\n [columns]=\"columns\"\n [mainMenuTrigger]=\"mainMenuTrigger\"\n (submitColumnsVisibility)=\"onColumnsVisibilityChange($event)\" />\n </ng-template>\n </adf-main-menu-datatable-template>\n</adf-datatable>\n", styles: [".adf-cloud-process-list-loading-margin{margin-left:calc((100% - 100px)/2);margin-right:calc((100% - 100px)/2)}\n"], dependencies: [{ kind: "component", type: DataTableComponent, selector: "adf-datatable", inputs: ["data", "rows", "sorting", "columns", "selectionMode", "multiselect", "mainTableAction", "actions", "showMainDatatableActions", "showProvidedActions", "actionsPosition", "actionsVisibleOnHover", "fallbackThumbnail", "contextMenu", "rowStyle", "rowStyleClass", "showHeader", "stickyHeader", "loading", "noPermission", "rowMenuCacheEnabled", "resolverFn", "allowFiltering", "isResizingEnabled", "blurOnResize", "displayCheckboxesOnHover", "enableDragRows"], outputs: ["rowClick", "rowDblClick", "showRowContextMenu", "showRowActionsMenu", "executeRowAction", "columnOrderChanged", "columnsWidthChanged", "selectedItemsCountChanged", "dragDropped"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i4$1.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "component", type: ColumnsSelectorComponent, selector: "adf-datatable-column-selector", inputs: ["columns", "mainMenuTrigger", "columnsSorting", "maxColumnsVisible"], outputs: ["submitColumnsVisibility"] }, { kind: "directive", type: MainMenuDataTableTemplateDirective, selector: "adf-main-menu-datatable-template" }, { kind: "component", type: EmptyContentComponent, selector: "adf-empty-content", inputs: ["icon", "title", "subtitle"] }, { kind: "directive", type: NoContentTemplateDirective, selector: "adf-no-content-template, no-content-template" }, { kind: "directive", type: LoadingContentTemplateDirective, selector: "adf-loading-content-template, loading-content-template" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None }); }
12942
12948
  }
12943
12949
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ProcessListCloudComponent, decorators: [{
12944
12950
  type: Component,
@@ -13045,6 +13051,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
13045
13051
  type: Input
13046
13052
  }], processVariables: [{
13047
13053
  type: Input
13054
+ }], excludeByProcessCategoryName: [{
13055
+ type: Input
13048
13056
  }], rowClick: [{
13049
13057
  type: Output
13050
13058
  }], rowsSelected: [{