@onecx/angular-accelerator 6.0.0-rc.15 → 6.0.0-rc.17
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.
- package/fesm2022/onecx-angular-accelerator-testing.mjs +6 -40
- package/fesm2022/onecx-angular-accelerator-testing.mjs.map +1 -1
- package/fesm2022/onecx-angular-accelerator.mjs +50 -486
- package/fesm2022/onecx-angular-accelerator.mjs.map +1 -1
- package/index.d.ts +1 -11
- package/lib/angular-accelerator.module.d.ts +27 -29
- package/lib/components/interactive-data-view/interactive-data-view.component.d.ts +53 -0
- package/lib/utils/dateutils.d.ts +0 -4
- package/package.json +8 -8
- package/testing/filter-view.harness.d.ts +1 -1
- package/testing/index.d.ts +0 -1
- package/testing/interactive-data-view.harness.d.ts +1 -1
- package/lib/components/button-dialog/button-dialog.component.d.ts +0 -47
- package/lib/components/data-loading-error/data-loading-error.component.d.ts +0 -8
- package/lib/injection-tokens/has-permission-checker.d.ts +0 -13
- package/lib/services/translation-cache.service.d.ts +0 -19
- package/lib/utils/async-translate-loader.utils.d.ts +0 -12
- package/lib/utils/caching-translate-loader.utils.d.ts +0 -16
- package/lib/utils/create-remote-component-and-mfe-translate-loader.utils.d.ts +0 -6
- package/lib/utils/create-remote-component-translate-loader.utils.d.ts +0 -5
- package/lib/utils/create-translate-loader.utils.d.ts +0 -8
- package/lib/utils/translate.combined.loader.d.ts +0 -12
- package/testing/button-dialog.harness.d.ts +0 -17
- /package/lib/components/{button-dialog → dialog}/dialog-message-content/dialog-message-content.component.d.ts +0 -0
package/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from './lib/injection-tokens/has-permission-checker';
|
|
2
1
|
export * from './lib/directives/content-container.directive';
|
|
3
2
|
export * from './lib/directives/content.directive';
|
|
4
3
|
export * from './lib/directives/if-permission.directive';
|
|
@@ -25,16 +24,13 @@ export * from './lib/components/interactive-data-view/interactive-data-view.comp
|
|
|
25
24
|
export * from './lib/components/lifecycle/lifecycle.component';
|
|
26
25
|
export * from './lib/components/page-header/page-header.component';
|
|
27
26
|
export * from './lib/components/search-header/search-header.component';
|
|
28
|
-
export * from './lib/components/
|
|
29
|
-
export * from './lib/components/button-dialog/button-dialog.component';
|
|
30
|
-
export * from './lib/components/button-dialog/dialog-message-content/dialog-message-content.component';
|
|
27
|
+
export * from './lib/components/dialog/dialog-message-content/dialog-message-content.component';
|
|
31
28
|
export * from './lib/components/loading-indicator/loading-indicator.component';
|
|
32
29
|
export * from './lib/components/dialog/dialog-content/dialog-content.component';
|
|
33
30
|
export * from './lib/components/dialog/dialog-inline/dialog-inline.component';
|
|
34
31
|
export * from './lib/components/dialog/dialog-footer/dialog-footer.component';
|
|
35
32
|
export * from './lib/components/error-component/global-error.component';
|
|
36
33
|
export * from './lib/services/breadcrumb.service';
|
|
37
|
-
export * from './lib/services/translation-cache.service';
|
|
38
34
|
export * from './lib/services/portal-dialog.service';
|
|
39
35
|
export * from './lib/services/export-data.service';
|
|
40
36
|
export * from './lib/pipes/dynamic.pipe';
|
|
@@ -53,17 +49,11 @@ export * from './lib/angular-accelerator.module';
|
|
|
53
49
|
export * from './lib/angular-accelerator-primeng.module';
|
|
54
50
|
export * from './lib/functions/flatten-object';
|
|
55
51
|
export * from './lib/functions/at-least-one-field-filled-validator';
|
|
56
|
-
export * from './lib/utils/async-translate-loader.utils';
|
|
57
|
-
export * from './lib/utils/caching-translate-loader.utils';
|
|
58
52
|
export * from './lib/utils/colorutils';
|
|
59
53
|
export * from './lib/utils/data-operation-strategy';
|
|
60
|
-
export * from './lib/utils/create-translate-loader.utils';
|
|
61
54
|
export * from './lib/utils/dateutils';
|
|
62
55
|
export * from './lib/utils/objectutils';
|
|
63
56
|
export * from './lib/utils/primeicon.utils';
|
|
64
|
-
export * from './lib/utils/translate.combined.loader';
|
|
65
|
-
export * from './lib/utils/create-remote-component-and-mfe-translate-loader.utils';
|
|
66
|
-
export * from './lib/utils/create-remote-component-translate-loader.utils';
|
|
67
57
|
export * from './lib/utils/enum-to-dropdown-options.utils';
|
|
68
58
|
export * from './lib/utils/criteria.utils';
|
|
69
59
|
export * from './lib/utils/string-and-array-helper-functions.utils';
|
|
@@ -14,39 +14,37 @@ import * as i11 from "./pipes/dynamic.pipe";
|
|
|
14
14
|
import * as i12 from "./components/search-header/search-header.component";
|
|
15
15
|
import * as i13 from "./components/diagram/diagram.component";
|
|
16
16
|
import * as i14 from "./components/group-by-count-diagram/group-by-count-diagram.component";
|
|
17
|
-
import * as i15 from "./components/
|
|
18
|
-
import * as i16 from "./components/content/content.component";
|
|
19
|
-
import * as i17 from "./
|
|
20
|
-
import * as i18 from "./directives/if-
|
|
21
|
-
import * as i19 from "./directives/
|
|
22
|
-
import * as i20 from "./
|
|
23
|
-
import * as i21 from "./
|
|
24
|
-
import * as i22 from "./directives/
|
|
25
|
-
import * as i23 from "./
|
|
26
|
-
import * as i24 from "./
|
|
27
|
-
import * as i25 from "./directives/
|
|
28
|
-
import * as i26 from "./directives/content.directive";
|
|
29
|
-
import * as i27 from "./
|
|
30
|
-
import * as i28 from "./components/
|
|
31
|
-
import * as i29 from "./
|
|
32
|
-
import * as i30 from "./directives/
|
|
33
|
-
import * as i31 from "./
|
|
34
|
-
import * as i32 from "./components/
|
|
35
|
-
import * as i33 from "./components/dialog/dialog-
|
|
36
|
-
import * as i34 from "./components/dialog/dialog-content/dialog-content.component";
|
|
37
|
-
import * as i35 from "
|
|
38
|
-
import * as i36 from "./
|
|
39
|
-
import * as i37 from "@angular
|
|
40
|
-
import * as i38 from "
|
|
41
|
-
import * as i39 from "@
|
|
42
|
-
import * as i40 from "@
|
|
43
|
-
import * as i41 from "@angular/forms";
|
|
44
|
-
import * as i42 from "@angular/router";
|
|
17
|
+
import * as i15 from "./components/content/content.component";
|
|
18
|
+
import * as i16 from "./components/content-container/content-container.component";
|
|
19
|
+
import * as i17 from "./directives/if-permission.directive";
|
|
20
|
+
import * as i18 from "./directives/if-breakpoint.directive";
|
|
21
|
+
import * as i19 from "./directives/src.directive";
|
|
22
|
+
import * as i20 from "./pipes/ocxtimeago.pipe";
|
|
23
|
+
import * as i21 from "./directives/advanced.directive";
|
|
24
|
+
import * as i22 from "./directives/tooltipOnOverflow.directive";
|
|
25
|
+
import * as i23 from "./components/filter-view/filter-view.component";
|
|
26
|
+
import * as i24 from "./directives/template.directive";
|
|
27
|
+
import * as i25 from "./directives/content.directive";
|
|
28
|
+
import * as i26 from "./directives/content-container.directive";
|
|
29
|
+
import * as i27 from "./components/error-component/global-error.component";
|
|
30
|
+
import * as i28 from "./components/loading-indicator/loading-indicator.component";
|
|
31
|
+
import * as i29 from "./directives/loading-indicator.directive";
|
|
32
|
+
import * as i30 from "./directives/basic.directive";
|
|
33
|
+
import * as i31 from "./components/dialog/dialog-footer/dialog-footer.component";
|
|
34
|
+
import * as i32 from "./components/dialog/dialog-content/dialog-content.component";
|
|
35
|
+
import * as i33 from "./components/dialog/dialog-inline/dialog-inline.component";
|
|
36
|
+
import * as i34 from "./components/dialog/dialog-message-content/dialog-message-content.component";
|
|
37
|
+
import * as i35 from "@angular/common";
|
|
38
|
+
import * as i36 from "./angular-accelerator-primeng.module";
|
|
39
|
+
import * as i37 from "@onecx/angular-remote-components";
|
|
40
|
+
import * as i38 from "@ngx-translate/core";
|
|
41
|
+
import * as i39 from "@angular/forms";
|
|
42
|
+
import * as i40 from "@angular/router";
|
|
45
43
|
export declare class AngularAcceleratorMissingTranslationHandler implements MissingTranslationHandler {
|
|
46
44
|
handle(params: MissingTranslationHandlerParams): string;
|
|
47
45
|
}
|
|
48
46
|
export declare class AngularAcceleratorModule {
|
|
49
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<AngularAcceleratorModule, never>;
|
|
50
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AngularAcceleratorModule, [typeof i1.ColumnGroupSelectionComponent, typeof i2.CustomGroupColumnSelectorComponent, typeof i3.DataLayoutSelectionComponent, typeof i4.DataListGridSortingComponent, typeof i5.DataListGridComponent, typeof i6.DataTableComponent, typeof i7.DataViewComponent, typeof i8.InteractiveDataViewComponent, typeof i9.LifecycleComponent, typeof i10.PageHeaderComponent, typeof i11.DynamicPipe, typeof i12.SearchHeaderComponent, typeof i13.DiagramComponent, typeof i14.GroupByCountDiagramComponent, typeof i15.
|
|
48
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AngularAcceleratorModule, [typeof i1.ColumnGroupSelectionComponent, typeof i2.CustomGroupColumnSelectorComponent, typeof i3.DataLayoutSelectionComponent, typeof i4.DataListGridSortingComponent, typeof i5.DataListGridComponent, typeof i6.DataTableComponent, typeof i7.DataViewComponent, typeof i8.InteractiveDataViewComponent, typeof i9.LifecycleComponent, typeof i10.PageHeaderComponent, typeof i11.DynamicPipe, typeof i12.SearchHeaderComponent, typeof i13.DiagramComponent, typeof i14.GroupByCountDiagramComponent, typeof i15.OcxContentComponent, typeof i16.OcxContentContainerComponent, typeof i17.IfPermissionDirective, typeof i18.IfBreakpointDirective, typeof i19.SrcDirective, typeof i20.OcxTimeAgoPipe, typeof i21.AdvancedDirective, typeof i22.TooltipOnOverflowDirective, typeof i23.FilterViewComponent, typeof i24.TemplateDirective, typeof i25.OcxContentDirective, typeof i26.OcxContentContainerDirective, typeof i27.GlobalErrorComponent, typeof i28.LoadingIndicatorComponent, typeof i29.LoadingIndicatorDirective, typeof i30.BasicDirective, typeof i31.DialogFooterComponent, typeof i32.DialogContentComponent, typeof i33.DialogInlineComponent, typeof i34.DialogMessageContentComponent], [typeof i35.CommonModule, typeof i36.AngularAcceleratorPrimeNgModule, typeof i37.AngularRemoteComponentsModule, typeof i38.TranslateModule, typeof i39.FormsModule, typeof i40.RouterModule, typeof i39.ReactiveFormsModule], [typeof i37.AngularRemoteComponentsModule, typeof i1.ColumnGroupSelectionComponent, typeof i2.CustomGroupColumnSelectorComponent, typeof i3.DataLayoutSelectionComponent, typeof i5.DataListGridComponent, typeof i6.DataTableComponent, typeof i7.DataViewComponent, typeof i8.InteractiveDataViewComponent, typeof i9.LifecycleComponent, typeof i10.PageHeaderComponent, typeof i12.SearchHeaderComponent, typeof i13.DiagramComponent, typeof i14.GroupByCountDiagramComponent, typeof i15.OcxContentComponent, typeof i16.OcxContentContainerComponent, typeof i17.IfPermissionDirective, typeof i18.IfBreakpointDirective, typeof i19.SrcDirective, typeof i20.OcxTimeAgoPipe, typeof i21.AdvancedDirective, typeof i22.TooltipOnOverflowDirective, typeof i23.FilterViewComponent, typeof i24.TemplateDirective, typeof i25.OcxContentDirective, typeof i26.OcxContentContainerDirective, typeof i27.GlobalErrorComponent, typeof i28.LoadingIndicatorComponent, typeof i29.LoadingIndicatorDirective, typeof i30.BasicDirective, typeof i31.DialogFooterComponent, typeof i32.DialogContentComponent, typeof i33.DialogInlineComponent, typeof i34.DialogMessageContentComponent]>;
|
|
51
49
|
static ɵinj: i0.ɵɵInjectorDeclaration<AngularAcceleratorModule>;
|
|
52
50
|
}
|
|
@@ -96,58 +96,111 @@ export declare class InteractiveDataViewComponent implements OnInit, AfterConten
|
|
|
96
96
|
headerStyleClass: string | undefined;
|
|
97
97
|
contentStyleClass: string | undefined;
|
|
98
98
|
tableCell: TemplateRef<any> | undefined;
|
|
99
|
+
primeNgTableCell: TemplateRef<any> | undefined;
|
|
99
100
|
/**
|
|
100
101
|
* @deprecated Will be replaced by dateTableCell
|
|
101
102
|
*/
|
|
102
103
|
tableDateCell: TemplateRef<any> | undefined;
|
|
104
|
+
/**
|
|
105
|
+
* @deprecated Will be replaced by primeNgDateTableCell
|
|
106
|
+
*/
|
|
107
|
+
primeNgTableDateCell: TemplateRef<any> | undefined;
|
|
103
108
|
dateTableCell: TemplateRef<any> | undefined;
|
|
109
|
+
primeNgDateTableCell: TemplateRef<any> | undefined;
|
|
104
110
|
/**
|
|
105
111
|
* @deprecated Will be replaced by relativeDateTableCell
|
|
106
112
|
*/
|
|
107
113
|
tableRelativeDateCell: TemplateRef<any> | undefined;
|
|
114
|
+
/**
|
|
115
|
+
* @deprecated Will be replaced by primeNgRelativeDateTableCell
|
|
116
|
+
*/
|
|
117
|
+
primeNgTableRelativeDateCell: TemplateRef<any> | undefined;
|
|
108
118
|
relativeDateTableCell: TemplateRef<any> | undefined;
|
|
119
|
+
primeNgRelativeDateTableCell: TemplateRef<any> | undefined;
|
|
109
120
|
/**
|
|
110
121
|
* @deprecated Will be replaced by translationKeyTableCell
|
|
111
122
|
*/
|
|
112
123
|
tableTranslationKeyCell: TemplateRef<any> | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* @deprecated Will be replaced by primeNgTranslationKeyTableCell
|
|
126
|
+
*/
|
|
127
|
+
primeNgTableTranslationKeyCell: TemplateRef<any> | undefined;
|
|
113
128
|
translationKeyTableCell: TemplateRef<any> | undefined;
|
|
129
|
+
primeNgTranslationKeyTableCell: TemplateRef<any> | undefined;
|
|
114
130
|
gridItemSubtitleLines: TemplateRef<any> | undefined;
|
|
131
|
+
primeNgGridItemSubtitleLines: TemplateRef<any> | undefined;
|
|
115
132
|
listItemSubtitleLines: TemplateRef<any> | undefined;
|
|
133
|
+
primeNgListItemSubtitleLines: TemplateRef<any> | undefined;
|
|
116
134
|
stringTableCell: TemplateRef<any> | undefined;
|
|
135
|
+
primeNgStringTableCell: TemplateRef<any> | undefined;
|
|
117
136
|
numberTableCell: TemplateRef<any> | undefined;
|
|
137
|
+
primeNgNumberTableCell: TemplateRef<any> | undefined;
|
|
118
138
|
/**
|
|
119
139
|
* @deprecated Will be removed and instead to change the template of a specific column
|
|
120
140
|
* use the new approach instead by following the naming convention column id + IdTableCell
|
|
121
141
|
* e.g. for a column with the id 'status' in DataTable use pTemplate="statusIdTableCell"
|
|
122
142
|
*/
|
|
123
143
|
customTableCell: TemplateRef<any> | undefined;
|
|
144
|
+
/**
|
|
145
|
+
* @deprecated Will be removed and instead to change the template of a specific column
|
|
146
|
+
* use the new approach instead by following the naming convention column id + IdTableCell
|
|
147
|
+
* e.g. for a column with the id 'status' in DataTable use pTemplate="statusIdTableCell"
|
|
148
|
+
*/
|
|
149
|
+
primeNgCustomTableCell: TemplateRef<any> | undefined;
|
|
124
150
|
gridItem: TemplateRef<any> | undefined;
|
|
151
|
+
primeNgGridItem: TemplateRef<any> | undefined;
|
|
125
152
|
listItem: TemplateRef<any> | undefined;
|
|
153
|
+
primeNgListItem: TemplateRef<any> | undefined;
|
|
126
154
|
topCenter: TemplateRef<any> | undefined;
|
|
155
|
+
primeNgTopCenter: TemplateRef<any> | undefined;
|
|
127
156
|
listValue: TemplateRef<any> | undefined;
|
|
157
|
+
primeNgListValue: TemplateRef<any> | undefined;
|
|
128
158
|
translationKeyListValue: TemplateRef<any> | undefined;
|
|
159
|
+
primeNgTranslationKeyListValue: TemplateRef<any> | undefined;
|
|
129
160
|
numberListValue: TemplateRef<any> | undefined;
|
|
161
|
+
primeNgNumberListValue: TemplateRef<any> | undefined;
|
|
130
162
|
relativeDateListValue: TemplateRef<any> | undefined;
|
|
163
|
+
primeNgRelativeDateListValue: TemplateRef<any> | undefined;
|
|
131
164
|
/**
|
|
132
165
|
* @deprecated Will be removed and instead to change the template of a specific column
|
|
133
166
|
* use the new approach instead by following the naming convention column id + IdListValue
|
|
134
167
|
* e.g. for a column with the id 'status' DataListGrid use pTemplate="statusIdListValue"
|
|
135
168
|
*/
|
|
136
169
|
customListValue: TemplateRef<any> | undefined;
|
|
170
|
+
/**
|
|
171
|
+
* @deprecated Will be removed and instead to change the template of a specific column
|
|
172
|
+
* use the new approach instead by following the naming convention column id + IdListValue
|
|
173
|
+
* e.g. for a column with the id 'status' DataListGrid use pTemplate="statusIdListValue"
|
|
174
|
+
*/
|
|
175
|
+
primeNgCustomListValue: TemplateRef<any> | undefined;
|
|
137
176
|
stringListValue: TemplateRef<any> | undefined;
|
|
177
|
+
primeNgStringListValue: TemplateRef<any> | undefined;
|
|
138
178
|
dateListValue: TemplateRef<any> | undefined;
|
|
179
|
+
primeNgDateListValue: TemplateRef<any> | undefined;
|
|
139
180
|
tableFilterCell: TemplateRef<any> | undefined;
|
|
181
|
+
primeNgTableFilterCell: TemplateRef<any> | undefined;
|
|
140
182
|
dateTableFilterCell: TemplateRef<any> | undefined;
|
|
183
|
+
primeNgDateTableFilterCell: TemplateRef<any> | undefined;
|
|
141
184
|
relativeDateTableFilterCell: TemplateRef<any> | undefined;
|
|
185
|
+
primeNgRelativeDateTableFilterCell: TemplateRef<any> | undefined;
|
|
142
186
|
translationKeyTableFilterCell: TemplateRef<any> | undefined;
|
|
187
|
+
primeNgTranslationKeyTableFilterCell: TemplateRef<any> | undefined;
|
|
143
188
|
stringTableFilterCell: TemplateRef<any> | undefined;
|
|
189
|
+
primeNgStringTableFilterCell: TemplateRef<any> | undefined;
|
|
144
190
|
numberTableFilterCell: TemplateRef<any> | undefined;
|
|
191
|
+
primeNgNumberTableFilterCell: TemplateRef<any> | undefined;
|
|
145
192
|
/**
|
|
146
193
|
* @deprecated Will be removed and instead to change the template of a specific column filter
|
|
147
194
|
* use the new approach instead by following the naming convention column id + IdTableFilterCell
|
|
148
195
|
* e.g. for a column with the id 'status' in DataTable use pTemplate="statusIdTableFilterCell"
|
|
149
196
|
*/
|
|
150
197
|
customTableFilterCell: TemplateRef<any> | undefined;
|
|
198
|
+
/**
|
|
199
|
+
* @deprecated Will be removed and instead to change the template of a specific column filter
|
|
200
|
+
* use the new approach instead by following the naming convention column id + IdTableFilterCell
|
|
201
|
+
* e.g. for a column with the id 'status' in DataTable use pTemplate="statusIdTableFilterCell"
|
|
202
|
+
*/
|
|
203
|
+
primeNgCustomTableFilterCell: TemplateRef<any> | undefined;
|
|
151
204
|
templates$: BehaviorSubject<QueryList<PrimeTemplate> | undefined>;
|
|
152
205
|
set templates(value: QueryList<PrimeTemplate> | undefined);
|
|
153
206
|
filtered: EventEmitter<Filter[]>;
|
package/lib/utils/dateutils.d.ts
CHANGED
|
@@ -6,7 +6,3 @@ export declare class DateUtils {
|
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateUtils, never>;
|
|
7
7
|
static ɵprov: i0.ɵɵInjectableDeclaration<DateUtils>;
|
|
8
8
|
}
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated Will be removed. Please use isValidDate() from @onecx/accelerator
|
|
11
|
-
*/
|
|
12
|
-
export declare function isValidDate(value: any): value is Date;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onecx/angular-accelerator",
|
|
3
|
-
"version": "6.0.0-rc.
|
|
3
|
+
"version": "6.0.0-rc.17",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^19.0.0",
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
"@ngx-translate/core": "^16.0.0",
|
|
13
13
|
"@ngx-translate/http-loader": "^8.0.0",
|
|
14
14
|
"@ngneat/until-destroy": "^10.0.0",
|
|
15
|
-
"@onecx/integration-interface": "^6.0.0-rc.
|
|
16
|
-
"@onecx/angular-integration-interface": "^6.0.0-rc.
|
|
17
|
-
"@onecx/angular-remote-components": "^6.0.0-rc.
|
|
18
|
-
"@onecx/angular-testing": "^6.0.0-rc.
|
|
19
|
-
"@onecx/accelerator": "^6.0.0-rc.
|
|
20
|
-
"@onecx/angular-utils": "^6.0.0-rc.
|
|
21
|
-
"@onecx/nx-migration-utils": "^6.0.0-rc.
|
|
15
|
+
"@onecx/integration-interface": "^6.0.0-rc.17",
|
|
16
|
+
"@onecx/angular-integration-interface": "^6.0.0-rc.17",
|
|
17
|
+
"@onecx/angular-remote-components": "^6.0.0-rc.17",
|
|
18
|
+
"@onecx/angular-testing": "^6.0.0-rc.17",
|
|
19
|
+
"@onecx/accelerator": "^6.0.0-rc.17",
|
|
20
|
+
"@onecx/angular-utils": "^6.0.0-rc.17",
|
|
21
|
+
"@onecx/nx-migration-utils": "^6.0.0-rc.17",
|
|
22
22
|
"chart.js": "^4.4.3",
|
|
23
23
|
"d3-scale-chromatic": "^3.1.0",
|
|
24
24
|
"rxjs": "~7.8.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
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
6
|
getOverlayResetFiltersButton: () => Promise<PButtonHarness | null>;
|
package/testing/index.d.ts
CHANGED
|
@@ -17,7 +17,6 @@ export * from './more-actions-menu-button.harness';
|
|
|
17
17
|
export * from './page-header.harness';
|
|
18
18
|
export * from './slot.harness';
|
|
19
19
|
export * from './search-header.harness';
|
|
20
|
-
export * from '../testing/button-dialog.harness';
|
|
21
20
|
export * from '../testing/dialog-content.harness';
|
|
22
21
|
export * from '../testing/dialog-footer.harness';
|
|
23
22
|
export * from '../testing/dialog-inline.harness';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ContentContainerComponentHarness } from '@angular/cdk/testing';
|
|
2
2
|
import { PButtonHarness } from '@onecx/angular-testing';
|
|
3
3
|
import { PSelectHarness } 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
|
getHeaderStyleClasses(): Promise<string[]>;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ComponentRef, ElementRef, EventEmitter, OnInit, QueryList, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
|
|
3
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
|
-
import { ButtonDialogButtonDetails, ButtonDialogConfig, ButtonDialogCustomButtonDetails, ButtonDialogData } from '../../model/button-dialog';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ButtonDialogComponent implements OnInit, AfterViewInit {
|
|
7
|
-
dynamicDialogConfig: DynamicDialogConfig<any, any>;
|
|
8
|
-
dynamicDialogRef: DynamicDialogRef<any>;
|
|
9
|
-
defaultPrimaryButtonDetails: ButtonDialogButtonDetails;
|
|
10
|
-
defaultSecondaryButtonDetails: ButtonDialogButtonDetails;
|
|
11
|
-
defaultDialogData: ButtonDialogData;
|
|
12
|
-
config: ButtonDialogConfig;
|
|
13
|
-
resultEmitter: EventEmitter<any>;
|
|
14
|
-
dialogHost: ViewContainerRef;
|
|
15
|
-
primaryButton: ViewContainerRef;
|
|
16
|
-
_secondaryButton: ViewContainerRef;
|
|
17
|
-
set secondaryButton(content: ViewContainerRef);
|
|
18
|
-
get secondaryButton(): ViewContainerRef;
|
|
19
|
-
customButtons: QueryList<ElementRef>;
|
|
20
|
-
dialogData: ButtonDialogData;
|
|
21
|
-
componentRef: ComponentRef<any>;
|
|
22
|
-
primaryButtonDisabled$: Observable<boolean | undefined> | undefined;
|
|
23
|
-
secondaryButtonDisabled$: Observable<boolean | undefined> | undefined;
|
|
24
|
-
customButtonsDisabled$: BehaviorSubject<Record<string, boolean>>;
|
|
25
|
-
leftCustomButtons: ButtonDialogCustomButtonDetails[];
|
|
26
|
-
rightCustomButtons: ButtonDialogCustomButtonDetails[];
|
|
27
|
-
ngAfterViewInit(): void;
|
|
28
|
-
ngOnInit(): void;
|
|
29
|
-
primaryButtonAction(): void;
|
|
30
|
-
secondaryButtonAction(): void;
|
|
31
|
-
customButtonAction(button: ButtonDialogCustomButtonDetails): void;
|
|
32
|
-
resolveCustomButtonDisabled(customButtonsDisabled: Record<string, boolean>, buttonId: string): boolean;
|
|
33
|
-
loadComponent(): void;
|
|
34
|
-
setUpDialogDataForDynamicConfig(): void;
|
|
35
|
-
setUpDialogDataForInput(): void;
|
|
36
|
-
private buttonAction;
|
|
37
|
-
private setupCustomButtons;
|
|
38
|
-
private resolveButtonClick;
|
|
39
|
-
private toObservable;
|
|
40
|
-
private isDialogResultImplemented;
|
|
41
|
-
private isDialogButtonClickedImplemented;
|
|
42
|
-
private isDialogPrimaryButtonDisabledImplemented;
|
|
43
|
-
private isDialogSecondaryButtonDisabledImplemented;
|
|
44
|
-
private isDialogCustomButtonDisabledImplemented;
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonDialogComponent, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonDialogComponent, "ocx-button-dialog", never, { "config": { "alias": "config"; "required": false; }; }, { "resultEmitter": "resultEmitter"; }, never, ["*"], false, never>;
|
|
47
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Show this data not found page component if the main entity of a page could not be loaded.
|
|
4
|
-
*/
|
|
5
|
-
export declare class DataLoadingErrorComponent {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DataLoadingErrorComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DataLoadingErrorComponent, "ocx-data-loading-error", never, {}, {}, never, never, false, never>;
|
|
8
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated Please import from `@onecx/angular-utils` instead.
|
|
3
|
-
*/
|
|
4
|
-
export { HasPermissionChecker } from '@onecx/angular-utils';
|
|
5
|
-
/**
|
|
6
|
-
* This checker always returns true, basically disabling the permission system on the UI side
|
|
7
|
-
* @deprecated Please import from `@onecx/angular-utils` instead.
|
|
8
|
-
*/
|
|
9
|
-
export { AlwaysGrantPermissionChecker } from '@onecx/angular-utils';
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated Please import from `@onecx/angular-utils` instead.
|
|
12
|
-
*/
|
|
13
|
-
export { HAS_PERMISSION_CHECKER } from '@onecx/angular-utils';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
declare global {
|
|
5
|
-
interface Window {
|
|
6
|
-
onecxTranslations: Record<string, any>;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated Please import from `@onecx/angular-utils` instead.
|
|
11
|
-
*/
|
|
12
|
-
export declare class TranslationCacheService implements OnDestroy {
|
|
13
|
-
private translationTopic$;
|
|
14
|
-
constructor();
|
|
15
|
-
ngOnDestroy(): void;
|
|
16
|
-
getTranslationFile(url: string, cacheMissFunction: () => Observable<any>): Observable<any>;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TranslationCacheService, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TranslationCacheService>;
|
|
19
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TranslateLoader } from '@ngx-translate/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated Please import from `@onecx/angular-utils` instead.
|
|
5
|
-
*/
|
|
6
|
-
export declare class AsyncTranslateLoader implements TranslateLoader {
|
|
7
|
-
private translateLoader$;
|
|
8
|
-
static lastTimerId: number;
|
|
9
|
-
timerId: number;
|
|
10
|
-
constructor(translateLoader$: Observable<TranslateLoader>);
|
|
11
|
-
getTranslation(lang: string): Observable<any>;
|
|
12
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { TranslateLoader } from '@ngx-translate/core';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { TranslationCacheService } from '../services/translation-cache.service';
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated Please import from `@onecx/angular-utils` instead.
|
|
7
|
-
*/
|
|
8
|
-
export declare class CachingTranslateLoader implements TranslateLoader {
|
|
9
|
-
private translationCache;
|
|
10
|
-
private http;
|
|
11
|
-
private prefix?;
|
|
12
|
-
private suffix?;
|
|
13
|
-
private translateLoader;
|
|
14
|
-
constructor(translationCache: TranslationCacheService, http: HttpClient, prefix?: string | undefined, suffix?: string | undefined);
|
|
15
|
-
getTranslation(lang: string): Observable<any>;
|
|
16
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { ReplaySubject } from 'rxjs';
|
|
3
|
-
import { TranslationCacheService } from '../services/translation-cache.service';
|
|
4
|
-
import { AppStateService } from '@onecx/angular-integration-interface';
|
|
5
|
-
import { AsyncTranslateLoader } from './async-translate-loader.utils';
|
|
6
|
-
export declare function createRemoteComponentAndMfeTranslateLoader(httpClient: HttpClient, baseUrl: ReplaySubject<string>, translationCacheService: TranslationCacheService, appStateService: AppStateService): AsyncTranslateLoader;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { TranslateLoader } from '@ngx-translate/core';
|
|
3
|
-
import { ReplaySubject } from 'rxjs';
|
|
4
|
-
import { TranslationCacheService } from '../services/translation-cache.service';
|
|
5
|
-
export declare function createRemoteComponentTranslateLoader(http: HttpClient, baseUrlReplaySubject$: ReplaySubject<string>, translationCacheService?: TranslationCacheService): TranslateLoader;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { TranslateLoader } from '@ngx-translate/core';
|
|
3
|
-
import { AppStateService } from '@onecx/angular-integration-interface';
|
|
4
|
-
import { TranslationCacheService } from '../services/translation-cache.service';
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated Please import from `@onecx/angular-utils` instead.
|
|
7
|
-
*/
|
|
8
|
-
export declare function createTranslateLoader(http: HttpClient, appStateService: AppStateService, translationCacheService?: TranslationCacheService): TranslateLoader;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TranslateLoader } from '@ngx-translate/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated Please import from `@onecx/angular-utils` instead.
|
|
5
|
-
*/
|
|
6
|
-
export declare class TranslateCombinedLoader implements TranslateLoader {
|
|
7
|
-
private _loaders;
|
|
8
|
-
constructor(...loaders: TranslateLoader[]);
|
|
9
|
-
getTranslation(lang: string): Observable<object>;
|
|
10
|
-
isObject(item: any): any;
|
|
11
|
-
mergeDeep(target: any, source: any): any;
|
|
12
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ContentContainerComponentHarness } from '@angular/cdk/testing';
|
|
2
|
-
import { PButtonDirectiveHarness } from '@onecx/angular-testing';
|
|
3
|
-
import { DialogMessageContentHarness } from './dialog-message-content.harness';
|
|
4
|
-
export declare class ButtonDialogHarness extends ContentContainerComponentHarness {
|
|
5
|
-
static hostSelector: string;
|
|
6
|
-
getPrimaryButton: () => Promise<PButtonDirectiveHarness>;
|
|
7
|
-
getSecondaryButton: () => Promise<PButtonDirectiveHarness | null>;
|
|
8
|
-
getDialogMessageContent: () => Promise<DialogMessageContentHarness | null>;
|
|
9
|
-
clickPrimaryButton(): Promise<void>;
|
|
10
|
-
clickSecondaryButton(): Promise<void>;
|
|
11
|
-
getPrimaryButtonLabel(): Promise<string | null>;
|
|
12
|
-
getPrimaryButtonIcon(): Promise<string | null>;
|
|
13
|
-
getSecondaryButtonLabel(): Promise<string | null | undefined>;
|
|
14
|
-
getSecondaryButtonIcon(): Promise<string | null | undefined>;
|
|
15
|
-
getPrimaryButtonDisabled(): Promise<boolean>;
|
|
16
|
-
getSecondaryButtonDisabled(): Promise<boolean | undefined>;
|
|
17
|
-
}
|
|
File without changes
|