@onecx/angular-accelerator 5.43.0 → 5.44.0

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.
@@ -252,6 +252,7 @@ export declare class DataTableComponent extends DataSortBase implements OnInit,
252
252
  getRowObjectFromMultiselectItem(value: MultiSelectItem, column: DataTableColumn): {
253
253
  [x: string]: string | undefined;
254
254
  };
255
+ rowTrackByFunction: (item: any) => any;
255
256
  static ɵfac: i0.ɵɵFactoryDeclaration<DataTableComponent, never>;
256
257
  static ɵcmp: i0.ɵɵComponentDeclaration<DataTableComponent, "ocx-data-table", never, { "rows": { "alias": "rows"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "sortColumn": { "alias": "sortColumn"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "clientSideFiltering": { "alias": "clientSideFiltering"; "required": false; }; "clientSideSorting": { "alias": "clientSideSorting"; "required": false; }; "sortStates": { "alias": "sortStates"; "required": false; }; "pageSizes": { "alias": "pageSizes"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "showAllOption": { "alias": "showAllOption"; "required": false; }; "emptyResultsMessage": { "alias": "emptyResultsMessage"; "required": false; }; "name": { "alias": "name"; "required": false; }; "deletePermission": { "alias": "deletePermission"; "required": false; }; "viewPermission": { "alias": "viewPermission"; "required": false; }; "editPermission": { "alias": "editPermission"; "required": false; }; "deleteActionVisibleField": { "alias": "deleteActionVisibleField"; "required": false; }; "deleteActionEnabledField": { "alias": "deleteActionEnabledField"; "required": false; }; "viewActionVisibleField": { "alias": "viewActionVisibleField"; "required": false; }; "viewActionEnabledField": { "alias": "viewActionEnabledField"; "required": false; }; "editActionVisibleField": { "alias": "editActionVisibleField"; "required": false; }; "editActionEnabledField": { "alias": "editActionEnabledField"; "required": false; }; "selectionEnabledField": { "alias": "selectionEnabledField"; "required": false; }; "allowSelectAll": { "alias": "allowSelectAll"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "page": { "alias": "page"; "required": false; }; "tableStyle": { "alias": "tableStyle"; "required": false; }; "totalRecordsOnServer": { "alias": "totalRecordsOnServer"; "required": false; }; "currentPageShowingKey": { "alias": "currentPageShowingKey"; "required": false; }; "currentPageShowingWithTotalOnServerKey": { "alias": "currentPageShowingWithTotalOnServerKey"; "required": false; }; "stringCellTemplate": { "alias": "stringCellTemplate"; "required": false; }; "numberCellTemplate": { "alias": "numberCellTemplate"; "required": false; }; "customCellTemplate": { "alias": "customCellTemplate"; "required": false; }; "dateCellTemplate": { "alias": "dateCellTemplate"; "required": false; }; "relativeDateCellTemplate": { "alias": "relativeDateCellTemplate"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; "translationKeyCellTemplate": { "alias": "translationKeyCellTemplate"; "required": false; }; "stringFilterCellTemplate": { "alias": "stringFilterCellTemplate"; "required": false; }; "numberFilterCellTemplate": { "alias": "numberFilterCellTemplate"; "required": false; }; "customFilterCellTemplate": { "alias": "customFilterCellTemplate"; "required": false; }; "dateFilterCellTemplate": { "alias": "dateFilterCellTemplate"; "required": false; }; "relativeDateFilterCellTemplate": { "alias": "relativeDateFilterCellTemplate"; "required": false; }; "filterCellTemplate": { "alias": "filterCellTemplate"; "required": false; }; "translationKeyFilterCellTemplate": { "alias": "translationKeyFilterCellTemplate"; "required": false; }; "additionalActions": { "alias": "additionalActions"; "required": false; }; "frozenActionColumn": { "alias": "frozenActionColumn"; "required": false; }; "actionColumnPosition": { "alias": "actionColumnPosition"; "required": false; }; "parentTemplates": { "alias": "parentTemplates"; "required": false; }; }, { "filtered": "filtered"; "sorted": "sorted"; "viewTableRow": "viewTableRow"; "editTableRow": "editTableRow"; "deleteTableRow": "deleteTableRow"; "selectionChanged": "selectionChanged"; "pageChanged": "pageChanged"; "pageSizeChanged": "pageSizeChanged"; "componentStateChanged": "componentStateChanged"; }, ["stringCellChildTemplate", "numberCellChildTemplate", "customCellChildTemplate", "dateCellChildTemplate", "relativeDateCellChildTemplate", "cellChildTemplate", "translationKeyCellChildTemplate", "stringFilterCellChildTemplate", "numberFilterCellChildTemplate", "customFilterCellChildTemplate", "dateFilterCellChildTemplate", "relativeDateFilterCellChildTemplate", "filterCellChildTemplate", "translationKeyFilterCellChildTemplate", "templates"], never, false, never>;
257
258
  }
@@ -92,58 +92,111 @@ export declare class InteractiveDataViewComponent implements OnInit, AfterConten
92
92
  frozenActionColumn: boolean;
93
93
  actionColumnPosition: 'left' | 'right';
94
94
  tableCell: TemplateRef<any> | undefined;
95
+ primeNgTableCell: TemplateRef<any> | undefined;
95
96
  /**
96
97
  * @deprecated Will be replaced by dateTableCell
97
98
  */
98
99
  tableDateCell: TemplateRef<any> | undefined;
100
+ /**
101
+ * @deprecated Will be replaced by primeNgDateTableCell
102
+ */
103
+ primeNgTableDateCell: TemplateRef<any> | undefined;
99
104
  dateTableCell: TemplateRef<any> | undefined;
105
+ primeNgDateTableCell: TemplateRef<any> | undefined;
100
106
  /**
101
107
  * @deprecated Will be replaced by relativeDateTableCell
102
108
  */
103
109
  tableRelativeDateCell: TemplateRef<any> | undefined;
110
+ /**
111
+ * @deprecated Will be replaced by primeNgRelativeDateTableCell
112
+ */
113
+ primeNgTableRelativeDateCell: TemplateRef<any> | undefined;
104
114
  relativeDateTableCell: TemplateRef<any> | undefined;
115
+ primeNgRelativeDateTableCell: TemplateRef<any> | undefined;
105
116
  /**
106
117
  * @deprecated Will be replaced by translationKeyTableCell
107
118
  */
108
119
  tableTranslationKeyCell: TemplateRef<any> | undefined;
120
+ /**
121
+ * @deprecated Will be replaced by primeNgTranslationKeyTableCell
122
+ */
123
+ primeNgTableTranslationKeyCell: TemplateRef<any> | undefined;
109
124
  translationKeyTableCell: TemplateRef<any> | undefined;
125
+ primeNgTranslationKeyTableCell: TemplateRef<any> | undefined;
110
126
  gridItemSubtitleLines: TemplateRef<any> | undefined;
127
+ primeNgGridItemSubtitleLines: TemplateRef<any> | undefined;
111
128
  listItemSubtitleLines: TemplateRef<any> | undefined;
129
+ primeNgListItemSubtitleLines: TemplateRef<any> | undefined;
112
130
  stringTableCell: TemplateRef<any> | undefined;
131
+ primeNgStringTableCell: TemplateRef<any> | undefined;
113
132
  numberTableCell: TemplateRef<any> | undefined;
133
+ primeNgNumberTableCell: TemplateRef<any> | undefined;
114
134
  /**
115
135
  * @deprecated Will be removed and instead to change the template of a specific column
116
136
  * use the new approach instead by following the naming convention column id + IdTableCell
117
137
  * e.g. for a column with the id 'status' in DataTable use pTemplate="statusIdTableCell"
118
138
  */
119
139
  customTableCell: TemplateRef<any> | undefined;
140
+ /**
141
+ * @deprecated Will be removed and instead to change the template of a specific column
142
+ * use the new approach instead by following the naming convention column id + IdTableCell
143
+ * e.g. for a column with the id 'status' in DataTable use pTemplate="statusIdTableCell"
144
+ */
145
+ primeNgCustomTableCell: TemplateRef<any> | undefined;
120
146
  gridItem: TemplateRef<any> | undefined;
147
+ primeNgGridItem: TemplateRef<any> | undefined;
121
148
  listItem: TemplateRef<any> | undefined;
149
+ primeNgListItem: TemplateRef<any> | undefined;
122
150
  topCenter: TemplateRef<any> | undefined;
151
+ primeNgTopCenter: TemplateRef<any> | undefined;
123
152
  listValue: TemplateRef<any> | undefined;
153
+ primeNgListValue: TemplateRef<any> | undefined;
124
154
  translationKeyListValue: TemplateRef<any> | undefined;
155
+ primeNgTranslationKeyListValue: TemplateRef<any> | undefined;
125
156
  numberListValue: TemplateRef<any> | undefined;
157
+ primeNgNumberListValue: TemplateRef<any> | undefined;
126
158
  relativeDateListValue: TemplateRef<any> | undefined;
159
+ primeNgRelativeDateListValue: TemplateRef<any> | undefined;
127
160
  /**
128
161
  * @deprecated Will be removed and instead to change the template of a specific column
129
162
  * use the new approach instead by following the naming convention column id + IdListValue
130
163
  * e.g. for a column with the id 'status' DataListGrid use pTemplate="statusIdListValue"
131
164
  */
132
165
  customListValue: TemplateRef<any> | undefined;
166
+ /**
167
+ * @deprecated Will be removed and instead to change the template of a specific column
168
+ * use the new approach instead by following the naming convention column id + IdListValue
169
+ * e.g. for a column with the id 'status' DataListGrid use pTemplate="statusIdListValue"
170
+ */
171
+ primeNgCustomListValue: TemplateRef<any> | undefined;
133
172
  stringListValue: TemplateRef<any> | undefined;
173
+ primeNgStringListValue: TemplateRef<any> | undefined;
134
174
  dateListValue: TemplateRef<any> | undefined;
175
+ primeNgDateListValue: TemplateRef<any> | undefined;
135
176
  tableFilterCell: TemplateRef<any> | undefined;
177
+ primeNgTableFilterCell: TemplateRef<any> | undefined;
136
178
  dateTableFilterCell: TemplateRef<any> | undefined;
179
+ primeNgDateTableFilterCell: TemplateRef<any> | undefined;
137
180
  relativeDateTableFilterCell: TemplateRef<any> | undefined;
181
+ primeNgRelativeDateTableFilterCell: TemplateRef<any> | undefined;
138
182
  translationKeyTableFilterCell: TemplateRef<any> | undefined;
183
+ primeNgTranslationKeyTableFilterCell: TemplateRef<any> | undefined;
139
184
  stringTableFilterCell: TemplateRef<any> | undefined;
185
+ primeNgStringTableFilterCell: TemplateRef<any> | undefined;
140
186
  numberTableFilterCell: TemplateRef<any> | undefined;
187
+ primeNgNumberTableFilterCell: TemplateRef<any> | undefined;
141
188
  /**
142
189
  * @deprecated Will be removed and instead to change the template of a specific column filter
143
190
  * use the new approach instead by following the naming convention column id + IdTableFilterCell
144
191
  * e.g. for a column with the id 'status' in DataTable use pTemplate="statusIdTableFilterCell"
145
192
  */
146
193
  customTableFilterCell: TemplateRef<any> | undefined;
194
+ /**
195
+ * @deprecated Will be removed and instead to change the template of a specific column filter
196
+ * use the new approach instead by following the naming convention column id + IdTableFilterCell
197
+ * e.g. for a column with the id 'status' in DataTable use pTemplate="statusIdTableFilterCell"
198
+ */
199
+ primeNgCustomTableFilterCell: TemplateRef<any> | undefined;
147
200
  templates$: BehaviorSubject<QueryList<PrimeTemplate> | undefined>;
148
201
  set templates(value: QueryList<PrimeTemplate> | undefined);
149
202
  filtered: EventEmitter<Filter[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onecx/angular-accelerator",
3
- "version": "5.43.0",
3
+ "version": "5.44.0",
4
4
  "license": "Apache-2.0",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^18.0.5",
@@ -12,12 +12,12 @@
12
12
  "@ngx-translate/core": "^15.0.0",
13
13
  "@ngx-translate/http-loader": "^8.0.0",
14
14
  "@ngneat/until-destroy": "^10.0.0",
15
- "@onecx/integration-interface": "^5.43.0",
16
- "@onecx/accelerator": "^5.43.0",
17
- "@onecx/angular-integration-interface": "^5.43.0",
18
- "@onecx/angular-remote-components": "^5.43.0",
19
- "@onecx/angular-testing": "^5.43.0",
20
- "@onecx/angular-utils": "^5.43.0",
15
+ "@onecx/integration-interface": "^5.44.0",
16
+ "@onecx/accelerator": "^5.44.0",
17
+ "@onecx/angular-integration-interface": "^5.44.0",
18
+ "@onecx/angular-remote-components": "^5.44.0",
19
+ "@onecx/angular-testing": "^5.44.0",
20
+ "@onecx/angular-utils": "^5.44.0",
21
21
  "chart.js": "^4.4.3",
22
22
  "d3-scale-chromatic": "^3.1.0",
23
23
  "rxjs": "~7.8.1",
@@ -1,12 +1,12 @@
1
1
  import { ContentContainerComponentHarness } from '@angular/cdk/testing';
2
2
  import { DataTableHarness } from './data-table.harness';
3
- import { PButtonHarness, PChipHarness, SpanHarness } from '.';
3
+ import { PButtonHarness, PChipHarness, SpanHarness } from '@onecx/angular-testing';
4
4
  export declare class FilterViewHarness extends ContentContainerComponentHarness {
5
5
  static hostSelector: string;
6
- getOverlayResetFiltersButton: import("@angular/cdk/testing").AsyncFactoryFn<PButtonHarness | null>;
7
- getFiltersButton: import("@angular/cdk/testing").AsyncFactoryFn<PButtonHarness | null>;
8
- getChipsResetFiltersButton: import("@angular/cdk/testing").AsyncFactoryFn<PButtonHarness | null>;
9
- getChips: import("@angular/cdk/testing").AsyncFactoryFn<PChipHarness[]>;
10
- getNoFiltersMessage: import("@angular/cdk/testing").AsyncFactoryFn<SpanHarness | null>;
6
+ getOverlayResetFiltersButton: import("@onecx/angular-testing").AsyncFactoryFn<PButtonHarness | null>;
7
+ getFiltersButton: import("@onecx/angular-testing").AsyncFactoryFn<PButtonHarness | null>;
8
+ getChipsResetFiltersButton: import("@onecx/angular-testing").AsyncFactoryFn<PButtonHarness | null>;
9
+ getChips: import("@onecx/angular-testing").AsyncFactoryFn<PChipHarness[]>;
10
+ getNoFiltersMessage: import("@onecx/angular-testing").AsyncFactoryFn<SpanHarness | null>;
11
11
  getDataTable(): Promise<DataTableHarness | null>;
12
12
  }
@@ -1,10 +1,10 @@
1
1
  import { ContentContainerComponentHarness } from '@angular/cdk/testing';
2
2
  import { PButtonHarness } from '@onecx/angular-testing';
3
3
  import { PDropdownHarness } from '@onecx/angular-testing';
4
- import { CustomGroupColumnSelectorHarness } from '.';
5
4
  import { DataLayoutSelectionHarness } from './data-layout-selection.harness';
6
5
  import { DataViewHarness } from './data-view.harness';
7
6
  import { SlotHarness } from './slot.harness';
7
+ import { CustomGroupColumnSelectorHarness } from './custom-group-column-selector.harness';
8
8
  export declare class InteractiveDataViewHarness extends ContentContainerComponentHarness {
9
9
  static hostSelector: string;
10
10
  getDataLayoutSelection: import("@onecx/angular-testing").AsyncFactoryFn<DataLayoutSelectionHarness>;