verben-workflow-ui 0.5.66 → 0.5.67

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.
@@ -3,7 +3,7 @@ import { Injectable, EventEmitter, Component, Input, ViewChild, Output, NgModule
3
3
  import { Subject, debounceTime } from 'rxjs';
4
4
  import * as i6 from 'verben-ng-ui';
5
5
  import { DataFilterType, ConditionalOptions, DataTableModule, SvgModule, VerbenPopUpModule, DataViewModule, VerbenaButtonModule, CardDataViewModule, DropDownModule, TableFilterModule, VisibleColumnModule, SortTableModule, DataExportModule, VerbenaInputModule, VerbenaSwitchModule, ChipModule } from 'verben-ng-ui';
6
- import { Status, ErrorResponse, ObjectState, SearchOperator, SearchPropertySign, SearchPropertyValueType, DataType } from 'verben-workflow-ui/src/lib/models';
6
+ import { Status, ErrorResponse, SortDirection, ObjectState, SearchOperator, SearchPropertySign, SearchPropertyValueType, DataType } from 'verben-workflow-ui/src/lib/models';
7
7
  import * as i1 from 'verben-workflow-ui/src/lib/services';
8
8
  import * as i3 from '@angular/router';
9
9
  import { RouterModule } from '@angular/router';
@@ -165,7 +165,7 @@ class FormGroupComponent {
165
165
  dataView;
166
166
  tableView;
167
167
  application = null;
168
- pageSize = 10;
168
+ pageSize = 20;
169
169
  skip = 0;
170
170
  hasMore = true;
171
171
  onViewProcessClicked = new EventEmitter();
@@ -306,7 +306,7 @@ class FormGroupComponent {
306
306
  this.selectedSortTableCount = 0;
307
307
  }
308
308
  this.utilService.sendBI(true);
309
- const res = await this.server.get(`GetFormEntities/${this.skip}/${this.pageSize}`, this.envSvc.environment.WorkFlowAPI);
309
+ const res = await this.server.get(`GetFormEntities/${this.skip}/${this.pageSize}/CreatedAt/${SortDirection.Desc}`, this.envSvc.environment.WorkFlowAPI);
310
310
  this.utilService.sendBI(false);
311
311
  if (res instanceof ErrorResponse) {
312
312
  return undefined;