@onecx/angular-accelerator 6.0.0-rc.9 → 6.0.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.
- package/assets/i18n/primeng/de.json +1 -1
- package/assets/i18n/primeng/en.json +1 -1
- package/fesm2022/onecx-angular-accelerator-testing.mjs +71 -6
- package/fesm2022/onecx-angular-accelerator-testing.mjs.map +1 -1
- package/fesm2022/onecx-angular-accelerator.mjs +1184 -802
- package/fesm2022/onecx-angular-accelerator.mjs.map +1 -1
- package/index.d.ts +13 -10
- package/lib/angular-accelerator-primeng.module.d.ts +1 -1
- package/lib/angular-accelerator.module.d.ts +27 -20
- package/lib/components/data-list-grid/data-list-grid.component.d.ts +2 -19
- package/lib/components/data-table/data-table.component.d.ts +9 -38
- package/lib/components/data-view/data-view.component.d.ts +2 -72
- package/lib/components/dialog/dialog-content/dialog-content.component.d.ts +29 -0
- package/lib/components/dialog/dialog-footer/dialog-footer.component.d.ts +39 -0
- package/lib/components/dialog/dialog-inline/dialog-inline.component.d.ts +11 -0
- package/lib/components/dialog/dialog-message-content/dialog-message-content.component.d.ts +8 -0
- package/lib/components/error-component/global-error.component.d.ts +12 -0
- package/lib/components/filter-view/filter-view.component.d.ts +1 -3
- package/lib/components/group-by-count-diagram/group-by-count-diagram.component.d.ts +1 -6
- package/lib/components/interactive-data-view/interactive-data-view.component.d.ts +27 -49
- package/lib/components/loading-indicator/loading-indicator.component.d.ts +5 -0
- package/lib/components/page-header/page-header.component.d.ts +0 -4
- package/lib/components/search-header/search-header.component.d.ts +1 -6
- package/lib/directives/basic.directive.d.ts +11 -0
- package/lib/directives/if-permission.directive.d.ts +1 -1
- package/lib/directives/loading-indicator.directive.d.ts +16 -0
- package/lib/model/breadcrumb-menu-item.model.d.ts +0 -4
- package/lib/model/button-dialog.d.ts +47 -0
- package/lib/model/column-type.model.d.ts +1 -8
- package/lib/pipes/relative-date.pipe.d.ts +10 -0
- package/lib/services/export-data.service.d.ts +18 -0
- package/lib/services/portal-dialog.service.d.ts +427 -0
- package/lib/utils/dateutils.d.ts +0 -4
- package/lib/utils/image-logo-url.utils.d.ts +3 -0
- package/migrations.json +9 -1
- package/package.json +9 -8
- package/testing/column-group-selection.harness.d.ts +1 -1
- package/testing/custom-group-column-selector.harness.d.ts +6 -6
- package/testing/data-layout-selection.harness.d.ts +3 -3
- package/testing/data-list-grid.harness.d.ts +3 -3
- package/testing/data-table.harness.d.ts +3 -3
- package/testing/data-view.harness.d.ts +2 -2
- package/testing/default-grid-item.harness.d.ts +1 -1
- package/testing/default-list-item.harness.d.ts +4 -4
- package/testing/diagram.harness.d.ts +1 -1
- package/testing/dialog-content.harness.d.ts +6 -0
- package/testing/dialog-footer.harness.d.ts +14 -0
- package/testing/dialog-inline.harness.d.ts +8 -0
- package/testing/dialog-message-content.harness.d.ts +8 -0
- package/testing/filter-view.harness.d.ts +6 -6
- package/testing/group-by-count-diagram.harness.d.ts +1 -1
- package/testing/index.d.ts +4 -0
- package/testing/interactive-data-view.harness.d.ts +8 -8
- package/testing/lifecycle.harness.d.ts +2 -2
- package/testing/page-header.harness.d.ts +6 -6
- package/testing/search-header.harness.d.ts +5 -5
- 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/services/translation-connection.service.d.ts +0 -10
- 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/provide-connection-service.d.ts +0 -6
- package/lib/utils/translate.combined.loader.d.ts +0 -12
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';
|
|
@@ -7,6 +6,8 @@ export * from './lib/directives/src.directive';
|
|
|
7
6
|
export * from './lib/directives/advanced.directive';
|
|
8
7
|
export * from './lib/directives/tooltipOnOverflow.directive';
|
|
9
8
|
export * from './lib/directives/template.directive';
|
|
9
|
+
export * from './lib/directives/basic.directive';
|
|
10
|
+
export * from './lib/directives/loading-indicator.directive';
|
|
10
11
|
export * from './lib/components/column-group-selection/column-group-selection.component';
|
|
11
12
|
export * from './lib/components/content/content.component';
|
|
12
13
|
export * from './lib/components/content-container/content-container.component';
|
|
@@ -23,15 +24,22 @@ export * from './lib/components/interactive-data-view/interactive-data-view.comp
|
|
|
23
24
|
export * from './lib/components/lifecycle/lifecycle.component';
|
|
24
25
|
export * from './lib/components/page-header/page-header.component';
|
|
25
26
|
export * from './lib/components/search-header/search-header.component';
|
|
26
|
-
export * from './lib/components/
|
|
27
|
+
export * from './lib/components/dialog/dialog-message-content/dialog-message-content.component';
|
|
28
|
+
export * from './lib/components/loading-indicator/loading-indicator.component';
|
|
29
|
+
export * from './lib/components/dialog/dialog-content/dialog-content.component';
|
|
30
|
+
export * from './lib/components/dialog/dialog-inline/dialog-inline.component';
|
|
31
|
+
export * from './lib/components/dialog/dialog-footer/dialog-footer.component';
|
|
32
|
+
export * from './lib/components/error-component/global-error.component';
|
|
27
33
|
export * from './lib/services/breadcrumb.service';
|
|
28
|
-
export * from './lib/services/
|
|
29
|
-
export * from './lib/services/
|
|
34
|
+
export * from './lib/services/portal-dialog.service';
|
|
35
|
+
export * from './lib/services/export-data.service';
|
|
30
36
|
export * from './lib/pipes/dynamic.pipe';
|
|
31
37
|
export * from './lib/pipes/ocxtimeago.pipe';
|
|
38
|
+
export * from './lib/pipes/relative-date.pipe';
|
|
32
39
|
export * from './lib/model/breadcrumb-menu-item.model';
|
|
33
40
|
export * from './lib/model/column-type.model';
|
|
34
41
|
export * from './lib/model/data-action';
|
|
42
|
+
export * from './lib/model/button-dialog';
|
|
35
43
|
export * from './lib/model/data-sort-direction';
|
|
36
44
|
export * from './lib/model/data-table-column.model';
|
|
37
45
|
export * from './lib/model/diagram-column';
|
|
@@ -41,19 +49,14 @@ export * from './lib/angular-accelerator.module';
|
|
|
41
49
|
export * from './lib/angular-accelerator-primeng.module';
|
|
42
50
|
export * from './lib/functions/flatten-object';
|
|
43
51
|
export * from './lib/functions/at-least-one-field-filled-validator';
|
|
44
|
-
export * from './lib/utils/async-translate-loader.utils';
|
|
45
|
-
export * from './lib/utils/caching-translate-loader.utils';
|
|
46
52
|
export * from './lib/utils/colorutils';
|
|
47
53
|
export * from './lib/utils/data-operation-strategy';
|
|
48
|
-
export * from './lib/utils/create-translate-loader.utils';
|
|
49
54
|
export * from './lib/utils/dateutils';
|
|
50
55
|
export * from './lib/utils/objectutils';
|
|
51
56
|
export * from './lib/utils/primeicon.utils';
|
|
52
|
-
export * from './lib/utils/translate.combined.loader';
|
|
53
|
-
export * from './lib/utils/create-remote-component-and-mfe-translate-loader.utils';
|
|
54
|
-
export * from './lib/utils/create-remote-component-translate-loader.utils';
|
|
55
57
|
export * from './lib/utils/enum-to-dropdown-options.utils';
|
|
56
58
|
export * from './lib/utils/criteria.utils';
|
|
57
59
|
export * from './lib/utils/string-and-array-helper-functions.utils';
|
|
58
60
|
export * from './lib/utils/template.utils';
|
|
59
61
|
export * from './lib/utils/filter.utils';
|
|
62
|
+
export * from './lib/utils/image-logo-url.utils';
|
|
@@ -22,6 +22,6 @@ import * as i20 from "primeng/timeline";
|
|
|
22
22
|
import * as i21 from "primeng/api";
|
|
23
23
|
export declare class AngularAcceleratorPrimeNgModule {
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<AngularAcceleratorPrimeNgModule, never>;
|
|
25
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AngularAcceleratorPrimeNgModule, never, [typeof i1.BreadcrumbModule, typeof i2.ChipModule, typeof i3.CheckboxModule, typeof i4.SelectModule, typeof i5.ButtonModule, typeof i6.DialogModule, typeof i7.PickListModule, typeof i8.SelectButtonModule, typeof i9.DataViewModule, typeof i10.TableModule, typeof i11.MenuModule, typeof i12.ChartModule, typeof i13.MultiSelectModule, typeof i14.SkeletonModule, typeof i15.MessageModule, typeof i16.FloatLabelModule, typeof i17.PopoverModule, typeof i18.FocusTrapModule, typeof i19.
|
|
25
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AngularAcceleratorPrimeNgModule, never, [typeof i1.BreadcrumbModule, typeof i2.ChipModule, typeof i3.CheckboxModule, typeof i4.SelectModule, typeof i5.ButtonModule, typeof i6.DialogModule, typeof i7.PickListModule, typeof i8.SelectButtonModule, typeof i9.DataViewModule, typeof i10.TableModule, typeof i11.MenuModule, typeof i12.ChartModule, typeof i13.MultiSelectModule, typeof i14.SkeletonModule, typeof i15.MessageModule, typeof i16.FloatLabelModule, typeof i17.PopoverModule, typeof i18.FocusTrapModule, typeof i19.TooltipModule, typeof i20.TimelineModule, typeof i8.SelectButtonModule, typeof i21.SharedModule], [typeof i1.BreadcrumbModule, typeof i2.ChipModule, typeof i3.CheckboxModule, typeof i4.SelectModule, typeof i5.ButtonModule, typeof i6.DialogModule, typeof i7.PickListModule, typeof i8.SelectButtonModule, typeof i9.DataViewModule, typeof i10.TableModule, typeof i11.MenuModule, typeof i12.ChartModule, typeof i13.MultiSelectModule, typeof i14.SkeletonModule, typeof i15.MessageModule, typeof i16.FloatLabelModule, typeof i17.PopoverModule, typeof i18.FocusTrapModule, typeof i19.TooltipModule, typeof i20.TimelineModule, typeof i8.SelectButtonModule, typeof i21.SharedModule]>;
|
|
26
26
|
static ɵinj: i0.ɵɵInjectorDeclaration<AngularAcceleratorPrimeNgModule>;
|
|
27
27
|
}
|
|
@@ -14,30 +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 "
|
|
31
|
-
import * as i29 from "./
|
|
32
|
-
import * as i30 from "
|
|
33
|
-
import * as i31 from "
|
|
34
|
-
import * as i32 from "
|
|
35
|
-
import * as i33 from "
|
|
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";
|
|
36
43
|
export declare class AngularAcceleratorMissingTranslationHandler implements MissingTranslationHandler {
|
|
37
44
|
handle(params: MissingTranslationHandlerParams): string;
|
|
38
45
|
}
|
|
39
46
|
export declare class AngularAcceleratorModule {
|
|
40
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<AngularAcceleratorModule, never>;
|
|
41
|
-
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]>;
|
|
42
49
|
static ɵinj: i0.ɵɵInjectorDeclaration<AngularAcceleratorModule>;
|
|
43
50
|
}
|
|
@@ -41,10 +41,6 @@ export declare class DataListGridComponent extends DataSortBase implements OnIni
|
|
|
41
41
|
_pageSize$: BehaviorSubject<number | undefined>;
|
|
42
42
|
get pageSize(): number | undefined;
|
|
43
43
|
set pageSize(value: number | undefined);
|
|
44
|
-
/**
|
|
45
|
-
* @deprecated
|
|
46
|
-
*/
|
|
47
|
-
set showAllOption(value: boolean);
|
|
48
44
|
emptyResultsMessage: string | undefined;
|
|
49
45
|
fallbackImage: string;
|
|
50
46
|
layout: 'grid' | 'list';
|
|
@@ -111,19 +107,6 @@ export declare class DataListGridComponent extends DataSortBase implements OnIni
|
|
|
111
107
|
relativeDateListValueTemplate: TemplateRef<any> | undefined;
|
|
112
108
|
relativeDateListValueChildTemplate: TemplateRef<any> | undefined;
|
|
113
109
|
get _relativeDateListValue(): TemplateRef<any> | undefined;
|
|
114
|
-
/**
|
|
115
|
-
* @deprecated Will be removed and instead to change the template of a specific column
|
|
116
|
-
* use the new approach instead by following the naming convention column id + IdListValue
|
|
117
|
-
* e.g. for a column with the id 'status' use pTemplate="statusIdListValue"
|
|
118
|
-
*/
|
|
119
|
-
customListValueTemplate: TemplateRef<any> | undefined;
|
|
120
|
-
/**
|
|
121
|
-
* @deprecated Will be removed and instead to change the template of a specific column
|
|
122
|
-
* use the new approach instead by following the naming convention column id + IdListValue
|
|
123
|
-
* e.g. for a column with the id 'status' use pTemplate="statusIdListValue"
|
|
124
|
-
*/
|
|
125
|
-
customListValueChildTemplate: TemplateRef<any> | undefined;
|
|
126
|
-
get _customListValue(): TemplateRef<any> | undefined;
|
|
127
110
|
stringListValueTemplate: TemplateRef<any> | undefined;
|
|
128
111
|
stringListValueChildTemplate: TemplateRef<any> | undefined;
|
|
129
112
|
get _stringListValue(): TemplateRef<any> | undefined;
|
|
@@ -147,7 +130,6 @@ export declare class DataListGridComponent extends DataSortBase implements OnIni
|
|
|
147
130
|
get editItemObserved(): boolean;
|
|
148
131
|
get deleteItemObserved(): boolean;
|
|
149
132
|
get sortDirectionNumber(): number;
|
|
150
|
-
showMenu: boolean;
|
|
151
133
|
gridMenuItems: MenuItem[];
|
|
152
134
|
selectedItem: ListGridData | undefined;
|
|
153
135
|
observedOutputs: number;
|
|
@@ -161,6 +143,7 @@ export declare class DataListGridComponent extends DataSortBase implements OnIni
|
|
|
161
143
|
set parentTemplates(value: QueryList<PrimeTemplate> | null | undefined);
|
|
162
144
|
columnType: typeof ColumnType;
|
|
163
145
|
templatesObservables: Record<string, Observable<TemplateRef<any> | null>>;
|
|
146
|
+
private cachedOverflowMenuItemsVisibility$;
|
|
164
147
|
constructor();
|
|
165
148
|
ngDoCheck(): void;
|
|
166
149
|
ngOnInit(): void;
|
|
@@ -183,6 +166,6 @@ export declare class DataListGridComponent extends DataSortBase implements OnIni
|
|
|
183
166
|
findTemplate(templates: PrimeTemplate[], names: string[]): PrimeTemplate | undefined;
|
|
184
167
|
getTemplate(column: DataTableColumn): Observable<TemplateRef<any> | null>;
|
|
185
168
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataListGridComponent, never>;
|
|
186
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DataListGridComponent, "ocx-data-list-grid", never, { "titleLineId": { "alias": "titleLineId"; "required": false; }; "subtitleLineIds": { "alias": "subtitleLineIds"; "required": false; }; "clientSideSorting": { "alias": "clientSideSorting"; "required": false; }; "clientSideFiltering": { "alias": "clientSideFiltering"; "required": false; }; "sortStates": { "alias": "sortStates"; "required": false; }; "pageSizes": { "alias": "pageSizes"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "
|
|
169
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataListGridComponent, "ocx-data-list-grid", never, { "titleLineId": { "alias": "titleLineId"; "required": false; }; "subtitleLineIds": { "alias": "subtitleLineIds"; "required": false; }; "clientSideSorting": { "alias": "clientSideSorting"; "required": false; }; "clientSideFiltering": { "alias": "clientSideFiltering"; "required": false; }; "sortStates": { "alias": "sortStates"; "required": false; }; "pageSizes": { "alias": "pageSizes"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "emptyResultsMessage": { "alias": "emptyResultsMessage"; "required": false; }; "fallbackImage": { "alias": "fallbackImage"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "viewPermission": { "alias": "viewPermission"; "required": false; }; "editPermission": { "alias": "editPermission"; "required": false; }; "deletePermission": { "alias": "deletePermission"; "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; }; "viewMenuItemKey": { "alias": "viewMenuItemKey"; "required": false; }; "editMenuItemKey": { "alias": "editMenuItemKey"; "required": false; }; "deleteMenuItemKey": { "alias": "deleteMenuItemKey"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "page": { "alias": "page"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "name": { "alias": "name"; "required": false; }; "totalRecordsOnServer": { "alias": "totalRecordsOnServer"; "required": false; }; "currentPageShowingKey": { "alias": "currentPageShowingKey"; "required": false; }; "currentPageShowingWithTotalOnServerKey": { "alias": "currentPageShowingWithTotalOnServerKey"; "required": false; }; "data": { "alias": "data"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "sortField": { "alias": "sortField"; "required": false; }; "gridItemSubtitleLinesTemplate": { "alias": "gridItemSubtitleLinesTemplate"; "required": false; }; "listItemSubtitleLinesTemplate": { "alias": "listItemSubtitleLinesTemplate"; "required": false; }; "listItemTemplate": { "alias": "listItemTemplate"; "required": false; }; "gridItemTemplate": { "alias": "gridItemTemplate"; "required": false; }; "listValueTemplate": { "alias": "listValueTemplate"; "required": false; }; "translationKeyListValueTemplate": { "alias": "translationKeyListValueTemplate"; "required": false; }; "numberListValueTemplate": { "alias": "numberListValueTemplate"; "required": false; }; "relativeDateListValueTemplate": { "alias": "relativeDateListValueTemplate"; "required": false; }; "stringListValueTemplate": { "alias": "stringListValueTemplate"; "required": false; }; "dateListValueTemplate": { "alias": "dateListValueTemplate"; "required": false; }; "additionalActions": { "alias": "additionalActions"; "required": false; }; "parentTemplates": { "alias": "parentTemplates"; "required": false; }; }, { "viewItem": "viewItem"; "editItem": "editItem"; "deleteItem": "deleteItem"; "pageChanged": "pageChanged"; "pageSizeChanged": "pageSizeChanged"; "componentStateChanged": "componentStateChanged"; }, ["gridItemSubtitleLinesChildTemplate", "listItemSubtitleLinesChildTemplate", "listItemChildTemplate", "gridItemChildTemplate", "listValueChildTemplate", "translationKeyListValueChildTemplate", "numberListValueChildTemplate", "relativeDateListValueChildTemplate", "stringListValueChildTemplate", "dateListValueChildTemplate", "templates"], never, false, never>;
|
|
187
170
|
}
|
|
188
171
|
export {};
|
|
@@ -36,9 +36,9 @@ export interface DataTableComponentState {
|
|
|
36
36
|
pageSize?: number;
|
|
37
37
|
}
|
|
38
38
|
export declare class DataTableComponent extends DataSortBase implements OnInit, AfterContentInit {
|
|
39
|
-
private router;
|
|
40
|
-
private injector;
|
|
41
|
-
private userService;
|
|
39
|
+
private readonly router;
|
|
40
|
+
private readonly injector;
|
|
41
|
+
private readonly userService;
|
|
42
42
|
FilterType: typeof FilterType;
|
|
43
43
|
TemplateType: typeof TemplateType;
|
|
44
44
|
checked: boolean;
|
|
@@ -71,10 +71,6 @@ export declare class DataTableComponent extends DataSortBase implements OnInit,
|
|
|
71
71
|
_pageSize$: BehaviorSubject<number | undefined>;
|
|
72
72
|
get pageSize(): number | undefined;
|
|
73
73
|
set pageSize(value: number | undefined);
|
|
74
|
-
/**
|
|
75
|
-
* @deprecated
|
|
76
|
-
*/
|
|
77
|
-
set showAllOption(value: boolean);
|
|
78
74
|
emptyResultsMessage: string | undefined;
|
|
79
75
|
name: string;
|
|
80
76
|
deletePermission: string | string[] | undefined;
|
|
@@ -106,19 +102,6 @@ export declare class DataTableComponent extends DataSortBase implements OnInit,
|
|
|
106
102
|
numberCellTemplate: TemplateRef<any> | undefined;
|
|
107
103
|
numberCellChildTemplate: TemplateRef<any> | undefined;
|
|
108
104
|
get _numberCell(): TemplateRef<any> | undefined;
|
|
109
|
-
/**
|
|
110
|
-
* @deprecated Will be removed and instead to change the template of a specific column
|
|
111
|
-
* use the new approach instead by following the naming convention column id + IdCell
|
|
112
|
-
* e.g. for a column with the id 'status' use pTemplate="statusIdCell"
|
|
113
|
-
*/
|
|
114
|
-
customCellTemplate: TemplateRef<any> | undefined;
|
|
115
|
-
/**
|
|
116
|
-
* @deprecated Will be removed and instead to change the template of a specific column
|
|
117
|
-
* use the new approach instead by following the naming convention column id + IdCell
|
|
118
|
-
* e.g. for a column with the id 'status' use pTemplate="statusIdCell"
|
|
119
|
-
*/
|
|
120
|
-
customCellChildTemplate: TemplateRef<any> | undefined;
|
|
121
|
-
get _customCell(): TemplateRef<any> | undefined;
|
|
122
105
|
dateCellTemplate: TemplateRef<any> | undefined;
|
|
123
106
|
dateCellChildTemplate: TemplateRef<any> | undefined;
|
|
124
107
|
get _dateCell(): TemplateRef<any> | undefined;
|
|
@@ -137,19 +120,6 @@ export declare class DataTableComponent extends DataSortBase implements OnInit,
|
|
|
137
120
|
numberFilterCellTemplate: TemplateRef<any> | undefined;
|
|
138
121
|
numberFilterCellChildTemplate: TemplateRef<any> | undefined;
|
|
139
122
|
get _numberFilterCell(): TemplateRef<any> | undefined;
|
|
140
|
-
/**
|
|
141
|
-
* @deprecated Will be removed and instead to change the template of a specific column filter
|
|
142
|
-
* use the new approach instead by following the naming convention column id + IdFilterCell
|
|
143
|
-
* e.g. for a column with the id 'status' use pTemplate="statusIdFilterCell"
|
|
144
|
-
*/
|
|
145
|
-
customFilterCellTemplate: TemplateRef<any> | undefined;
|
|
146
|
-
/**
|
|
147
|
-
* @deprecated Will be removed and instead to change the template of a specific column filter
|
|
148
|
-
* use the new approach instead by following the naming convention column id + IdFilterCell
|
|
149
|
-
* e.g. for a column with the id 'status' use pTemplate="statusIdFilterCell"
|
|
150
|
-
*/
|
|
151
|
-
customFilterCellChildTemplate: TemplateRef<any> | undefined;
|
|
152
|
-
get _customFilterCell(): TemplateRef<any> | undefined;
|
|
153
123
|
dateFilterCellTemplate: TemplateRef<any> | undefined;
|
|
154
124
|
dateFilterCellChildTemplate: TemplateRef<any> | undefined;
|
|
155
125
|
get _dateFilterCell(): TemplateRef<any> | undefined;
|
|
@@ -206,6 +176,8 @@ export declare class DataTableComponent extends DataSortBase implements OnInit,
|
|
|
206
176
|
get anyRowActionObserved(): boolean;
|
|
207
177
|
get selectionChangedObserved(): boolean;
|
|
208
178
|
templatesObservables: Record<string, Observable<TemplateRef<any> | null>>;
|
|
179
|
+
private cachedOverflowActions$;
|
|
180
|
+
private cachedOverflowMenuItemsVisibility$;
|
|
209
181
|
constructor();
|
|
210
182
|
ngOnInit(): void;
|
|
211
183
|
translateColumnValues(columnValues: string[]): Observable<any>;
|
|
@@ -231,7 +203,7 @@ export declare class DataTableComponent extends DataSortBase implements OnInit,
|
|
|
231
203
|
resetPage(): void;
|
|
232
204
|
fieldIsTruthy(object: any, key: any): boolean;
|
|
233
205
|
toggleOverflowMenu(event: MouseEvent, menu: Menu, row: Row): void;
|
|
234
|
-
hasVisibleOverflowMenuItems(
|
|
206
|
+
hasVisibleOverflowMenuItems(item: any): Observable<boolean>;
|
|
235
207
|
isDate(value: Date | string | number): boolean;
|
|
236
208
|
cellTemplatesData: TemplatesData;
|
|
237
209
|
filterTemplatesData: TemplatesData;
|
|
@@ -239,10 +211,9 @@ export declare class DataTableComponent extends DataSortBase implements OnInit,
|
|
|
239
211
|
getColumnTypeTemplate(templates: PrimeTemplate[], columnType: ColumnType, templateType: TemplateType): TemplateRef<any> | null;
|
|
240
212
|
getTemplate(column: DataTableColumn, templateType: TemplateType): Observable<TemplateRef<any> | null>;
|
|
241
213
|
resolveFieldData(object: any, key: any): any;
|
|
242
|
-
getRowObjectFromMultiselectItem(value: MultiSelectItem, column: DataTableColumn):
|
|
243
|
-
|
|
244
|
-
};
|
|
214
|
+
getRowObjectFromMultiselectItem(value: MultiSelectItem, column: DataTableColumn): Record<string, string | undefined>;
|
|
215
|
+
rowTrackByFunction: (item: any) => any;
|
|
245
216
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableComponent, never>;
|
|
246
|
-
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; }; "
|
|
217
|
+
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; }; "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; }; "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; }; "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", "dateCellChildTemplate", "relativeDateCellChildTemplate", "cellChildTemplate", "translationKeyCellChildTemplate", "stringFilterCellChildTemplate", "numberFilterCellChildTemplate", "dateFilterCellChildTemplate", "relativeDateFilterCellChildTemplate", "filterCellChildTemplate", "translationKeyFilterCellChildTemplate", "templates"], never, false, never>;
|
|
247
218
|
}
|
|
248
219
|
export {};
|
|
@@ -11,7 +11,7 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
export type RowListGridData = ListGridData & Row;
|
|
12
12
|
export type DataViewComponentState = DataListGridComponentState & DataTableComponentState;
|
|
13
13
|
export declare class DataViewComponent implements DoCheck, OnInit, AfterContentInit {
|
|
14
|
-
private injector;
|
|
14
|
+
private readonly injector;
|
|
15
15
|
_dataListGridComponent: DataListGridComponent | undefined;
|
|
16
16
|
set listGrid(ref: DataListGridComponent | undefined);
|
|
17
17
|
get listGrid(): DataListGridComponent | undefined;
|
|
@@ -58,54 +58,19 @@ export declare class DataViewComponent implements DoCheck, OnInit, AfterContentI
|
|
|
58
58
|
sortStates: DataSortDirection[];
|
|
59
59
|
pageSizes: number[];
|
|
60
60
|
pageSize: number | undefined;
|
|
61
|
-
/**
|
|
62
|
-
* @deprecated
|
|
63
|
-
*/
|
|
64
|
-
showAllOption: boolean;
|
|
65
61
|
stringTableCellTemplate: TemplateRef<any> | undefined;
|
|
66
62
|
stringTableCellChildTemplate: TemplateRef<any> | undefined;
|
|
67
63
|
get _stringTableCell(): TemplateRef<any> | undefined;
|
|
68
64
|
numberTableCellTemplate: TemplateRef<any> | undefined;
|
|
69
65
|
numberTableCellChildTemplate: TemplateRef<any> | undefined;
|
|
70
66
|
get _numberTableCell(): TemplateRef<any> | undefined;
|
|
71
|
-
/**
|
|
72
|
-
* @deprecated Will be removed and instead to change the template of a specific column
|
|
73
|
-
* use the new approach instead by following the naming convention column id + IdTableCell
|
|
74
|
-
* e.g. for a column with the id 'status' in DataTable use pTemplate="statusIdTableCell"
|
|
75
|
-
*/
|
|
76
|
-
customTableCellTemplate: TemplateRef<any> | undefined;
|
|
77
|
-
/**
|
|
78
|
-
* @deprecated Will be removed and instead to change the template of a specific column
|
|
79
|
-
* use the new approach instead by following the naming convention column id + IdTableCell
|
|
80
|
-
* e.g. for a column with the id 'status' in DataTable use pTemplate="statusIdTableCell"
|
|
81
|
-
*/
|
|
82
|
-
customTableCellChildTemplate: TemplateRef<any> | undefined;
|
|
83
|
-
get _customTableCell(): TemplateRef<any> | undefined;
|
|
84
67
|
dateTableCellTemplate: TemplateRef<any> | undefined;
|
|
85
|
-
/**
|
|
86
|
-
* @deprecated Will be replaced by dateTableCellTemplate
|
|
87
|
-
*/
|
|
88
|
-
get tableDateCellTemplate(): TemplateRef<any> | undefined;
|
|
89
|
-
set tableDateCellTemplate(value: TemplateRef<any> | undefined);
|
|
90
|
-
/**
|
|
91
|
-
* @deprecated Will be replaced by dateTableCellChildTemplate
|
|
92
|
-
*/
|
|
93
|
-
tableDateCellChildTemplate: TemplateRef<any> | undefined;
|
|
94
68
|
dateTableCellChildTemplate: TemplateRef<any> | undefined;
|
|
95
69
|
get _dateTableCell(): TemplateRef<any> | undefined;
|
|
96
70
|
tableCellTemplate: TemplateRef<any> | undefined;
|
|
97
71
|
tableCellChildTemplate: TemplateRef<any> | undefined;
|
|
98
72
|
get _tableCell(): TemplateRef<any> | undefined;
|
|
99
73
|
translationKeyTableCellTemplate: TemplateRef<any> | undefined;
|
|
100
|
-
/**
|
|
101
|
-
* @deprecated Will be replaced by translationKeyTableCellTemplate
|
|
102
|
-
*/
|
|
103
|
-
get tableTranslationKeyCellTemplate(): TemplateRef<any> | undefined;
|
|
104
|
-
set tableTranslationKeyCellTemplate(value: TemplateRef<any> | undefined);
|
|
105
|
-
/**
|
|
106
|
-
* @deprecated Will be replaced by translationKeyTableCellChildTemplate
|
|
107
|
-
*/
|
|
108
|
-
tableTranslationKeyCellChildTemplate: TemplateRef<any> | undefined;
|
|
109
74
|
translationKeyTableCellChildTemplate: TemplateRef<any> | undefined;
|
|
110
75
|
get _translationKeyTableCell(): TemplateRef<any> | undefined;
|
|
111
76
|
gridItemSubtitleLinesTemplate: TemplateRef<any> | undefined;
|
|
@@ -121,15 +86,6 @@ export declare class DataViewComponent implements DoCheck, OnInit, AfterContentI
|
|
|
121
86
|
listItemChildTemplate: TemplateRef<any> | undefined;
|
|
122
87
|
get _listItem(): TemplateRef<any> | undefined;
|
|
123
88
|
relativeDateTableCellTemplate: TemplateRef<any> | undefined;
|
|
124
|
-
/**
|
|
125
|
-
* @deprecated Will be replaced by relativeDateTableCellTemplate
|
|
126
|
-
*/
|
|
127
|
-
get tableRelativeDateCellTemplate(): TemplateRef<any> | undefined;
|
|
128
|
-
set tableRelativeDateCellTemplate(value: TemplateRef<any> | undefined);
|
|
129
|
-
/**
|
|
130
|
-
* @deprecated Will be replace by relativeDateTableCellChildTemplate
|
|
131
|
-
*/
|
|
132
|
-
tableRelativeDateCellChildTemplate: TemplateRef<any> | undefined;
|
|
133
89
|
relativeDateTableCellChildTemplate: TemplateRef<any> | undefined;
|
|
134
90
|
get _relativeDateTableCell(): TemplateRef<any> | undefined;
|
|
135
91
|
listValueTemplate: TemplateRef<any> | undefined;
|
|
@@ -144,19 +100,6 @@ export declare class DataViewComponent implements DoCheck, OnInit, AfterContentI
|
|
|
144
100
|
relativeDateListValueTemplate: TemplateRef<any> | undefined;
|
|
145
101
|
relativeDateListValueChildTemplate: TemplateRef<any> | undefined;
|
|
146
102
|
get _relativeDateListValue(): TemplateRef<any> | undefined;
|
|
147
|
-
/**
|
|
148
|
-
* @deprecated Will be removed and instead to change the template of a specific column
|
|
149
|
-
* use the new approach instead by following the naming convention column id + IdListValue
|
|
150
|
-
* e.g. for a column with the id 'status' in DataListGrid use pTemplate="statusIdListValue"
|
|
151
|
-
*/
|
|
152
|
-
customListValueTemplate: TemplateRef<any> | undefined;
|
|
153
|
-
/**
|
|
154
|
-
* @deprecated Will be removed and instead to change the template of a specific column
|
|
155
|
-
* use the new approach instead by following the naming convention column id + IdListValue
|
|
156
|
-
* e.g. for a column with the id 'status' DataListGrid use pTemplate="statusIdListValue"
|
|
157
|
-
*/
|
|
158
|
-
customListValueChildTemplate: TemplateRef<any> | undefined;
|
|
159
|
-
get _customListValue(): TemplateRef<any> | undefined;
|
|
160
103
|
stringListValueTemplate: TemplateRef<any> | undefined;
|
|
161
104
|
stringListValueChildTemplate: TemplateRef<any> | undefined;
|
|
162
105
|
get _stringListValue(): TemplateRef<any> | undefined;
|
|
@@ -181,19 +124,6 @@ export declare class DataViewComponent implements DoCheck, OnInit, AfterContentI
|
|
|
181
124
|
numberTableFilterCellTemplate: TemplateRef<any> | undefined;
|
|
182
125
|
numberTableFilterCellChildTemplate: TemplateRef<any> | undefined;
|
|
183
126
|
get _numberTableFilterCell(): TemplateRef<any> | undefined;
|
|
184
|
-
/**
|
|
185
|
-
* @deprecated Will be removed and instead to change the template of a specific column filter
|
|
186
|
-
* use the new approach instead by following the naming convention column id + IdTableFilterCell
|
|
187
|
-
* e.g. for a column with the id 'status' in DataTable use pTemplate="statusIdTableFilterCell"
|
|
188
|
-
*/
|
|
189
|
-
customTableFilterCellTemplate: TemplateRef<any> | undefined;
|
|
190
|
-
/**
|
|
191
|
-
* @deprecated Will be removed and instead to change the template of a specific column filter
|
|
192
|
-
* use the new approach instead by following the naming convention column id + IdTableFilterCell
|
|
193
|
-
* e.g. for a column with the id 'status' in DataTable use pTemplate="statusIdTableFilterCell"
|
|
194
|
-
*/
|
|
195
|
-
customTableFilterCellChildTemplate: TemplateRef<any> | undefined;
|
|
196
|
-
get _customTableFilterCell(): TemplateRef<any> | undefined;
|
|
197
127
|
additionalActions: DataAction[];
|
|
198
128
|
filtered: EventEmitter<Filter[]>;
|
|
199
129
|
sorted: EventEmitter<Sort>;
|
|
@@ -231,5 +161,5 @@ export declare class DataViewComponent implements DoCheck, OnInit, AfterContentI
|
|
|
231
161
|
onPageChange(event: number): void;
|
|
232
162
|
onPageSizeChange(event: number): void;
|
|
233
163
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataViewComponent, never>;
|
|
234
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DataViewComponent, "ocx-data-view", never, { "deletePermission": { "alias": "deletePermission"; "required": false; }; "editPermission": { "alias": "editPermission"; "required": false; }; "viewPermission": { "alias": "viewPermission"; "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; }; "tableSelectionEnabledField": { "alias": "tableSelectionEnabledField"; "required": false; }; "tableAllowSelectAll": { "alias": "tableAllowSelectAll"; "required": false; }; "data": { "alias": "data"; "required": false; }; "name": { "alias": "name"; "required": false; }; "titleLineId": { "alias": "titleLineId"; "required": false; }; "subtitleLineIds": { "alias": "subtitleLineIds"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "emptyResultsMessage": { "alias": "emptyResultsMessage"; "required": false; }; "clientSideSorting": { "alias": "clientSideSorting"; "required": false; }; "clientSideFiltering": { "alias": "clientSideFiltering"; "required": false; }; "fallbackImage": { "alias": "fallbackImage"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "sortField": { "alias": "sortField"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "listGridPaginator": { "alias": "listGridPaginator"; "required": false; }; "tablePaginator": { "alias": "tablePaginator"; "required": false; }; "page": { "alias": "page"; "required": false; }; "totalRecordsOnServer": { "alias": "totalRecordsOnServer"; "required": false; }; "currentPageShowingKey": { "alias": "currentPageShowingKey"; "required": false; }; "currentPageShowingWithTotalOnServerKey": { "alias": "currentPageShowingWithTotalOnServerKey"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "frozenActionColumn": { "alias": "frozenActionColumn"; "required": false; }; "actionColumnPosition": { "alias": "actionColumnPosition"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "sortStates": { "alias": "sortStates"; "required": false; }; "pageSizes": { "alias": "pageSizes"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "
|
|
164
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataViewComponent, "ocx-data-view", never, { "deletePermission": { "alias": "deletePermission"; "required": false; }; "editPermission": { "alias": "editPermission"; "required": false; }; "viewPermission": { "alias": "viewPermission"; "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; }; "tableSelectionEnabledField": { "alias": "tableSelectionEnabledField"; "required": false; }; "tableAllowSelectAll": { "alias": "tableAllowSelectAll"; "required": false; }; "data": { "alias": "data"; "required": false; }; "name": { "alias": "name"; "required": false; }; "titleLineId": { "alias": "titleLineId"; "required": false; }; "subtitleLineIds": { "alias": "subtitleLineIds"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "emptyResultsMessage": { "alias": "emptyResultsMessage"; "required": false; }; "clientSideSorting": { "alias": "clientSideSorting"; "required": false; }; "clientSideFiltering": { "alias": "clientSideFiltering"; "required": false; }; "fallbackImage": { "alias": "fallbackImage"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "sortField": { "alias": "sortField"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "listGridPaginator": { "alias": "listGridPaginator"; "required": false; }; "tablePaginator": { "alias": "tablePaginator"; "required": false; }; "page": { "alias": "page"; "required": false; }; "totalRecordsOnServer": { "alias": "totalRecordsOnServer"; "required": false; }; "currentPageShowingKey": { "alias": "currentPageShowingKey"; "required": false; }; "currentPageShowingWithTotalOnServerKey": { "alias": "currentPageShowingWithTotalOnServerKey"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "frozenActionColumn": { "alias": "frozenActionColumn"; "required": false; }; "actionColumnPosition": { "alias": "actionColumnPosition"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "sortStates": { "alias": "sortStates"; "required": false; }; "pageSizes": { "alias": "pageSizes"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "stringTableCellTemplate": { "alias": "stringTableCellTemplate"; "required": false; }; "numberTableCellTemplate": { "alias": "numberTableCellTemplate"; "required": false; }; "dateTableCellTemplate": { "alias": "dateTableCellTemplate"; "required": false; }; "tableCellTemplate": { "alias": "tableCellTemplate"; "required": false; }; "translationKeyTableCellTemplate": { "alias": "translationKeyTableCellTemplate"; "required": false; }; "gridItemSubtitleLinesTemplate": { "alias": "gridItemSubtitleLinesTemplate"; "required": false; }; "listItemSubtitleLinesTemplate": { "alias": "listItemSubtitleLinesTemplate"; "required": false; }; "gridItemTemplate": { "alias": "gridItemTemplate"; "required": false; }; "listItemTemplate": { "alias": "listItemTemplate"; "required": false; }; "relativeDateTableCellTemplate": { "alias": "relativeDateTableCellTemplate"; "required": false; }; "listValueTemplate": { "alias": "listValueTemplate"; "required": false; }; "translationKeyListValueTemplate": { "alias": "translationKeyListValueTemplate"; "required": false; }; "numberListValueTemplate": { "alias": "numberListValueTemplate"; "required": false; }; "relativeDateListValueTemplate": { "alias": "relativeDateListValueTemplate"; "required": false; }; "stringListValueTemplate": { "alias": "stringListValueTemplate"; "required": false; }; "dateListValueTemplate": { "alias": "dateListValueTemplate"; "required": false; }; "tableFilterCellTemplate": { "alias": "tableFilterCellTemplate"; "required": false; }; "dateTableFilterCellTemplate": { "alias": "dateTableFilterCellTemplate"; "required": false; }; "relativeDateTableFilterCellTemplate": { "alias": "relativeDateTableFilterCellTemplate"; "required": false; }; "translationKeyTableFilterCellTemplate": { "alias": "translationKeyTableFilterCellTemplate"; "required": false; }; "stringTableFilterCellTemplate": { "alias": "stringTableFilterCellTemplate"; "required": false; }; "numberTableFilterCellTemplate": { "alias": "numberTableFilterCellTemplate"; "required": false; }; "additionalActions": { "alias": "additionalActions"; "required": false; }; "parentTemplates": { "alias": "parentTemplates"; "required": false; }; }, { "filtered": "filtered"; "sorted": "sorted"; "deleteItem": "deleteItem"; "viewItem": "viewItem"; "editItem": "editItem"; "selectionChanged": "selectionChanged"; "pageChanged": "pageChanged"; "pageSizeChanged": "pageSizeChanged"; "componentStateChanged": "componentStateChanged"; }, ["stringTableCellChildTemplate", "numberTableCellChildTemplate", "dateTableCellChildTemplate", "tableCellChildTemplate", "translationKeyTableCellChildTemplate", "gridItemSubtitleLinesChildTemplate", "listItemSubtitleLinesChildTemplate", "gridItemChildTemplate", "listItemChildTemplate", "relativeDateTableCellChildTemplate", "listValueChildTemplate", "translationKeyListValueChildTemplate", "numberListValueChildTemplate", "relativeDateListValueChildTemplate", "stringListValueChildTemplate", "dateListValueChildTemplate", "tableFilterCellChildTemplate", "dateTableFilterCellChildTemplate", "relativeDateTableFilterCellChildTemplate", "translationKeyTableFilterCellChildTemplate", "stringTableFilterCellChildTemplate", "numberTableFilterCellChildTemplate", "templates"], never, false, never>;
|
|
235
165
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ComponentRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
import { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
|
|
4
|
+
import { ButtonDialogData } from '../../../model/button-dialog';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DialogContentComponent implements OnInit, OnDestroy {
|
|
7
|
+
dynamicDialogConfig: DynamicDialogConfig<any, any>;
|
|
8
|
+
dynamicDialogRef: DynamicDialogRef<any>;
|
|
9
|
+
defaultDialogData: ButtonDialogData;
|
|
10
|
+
dialogHost: ViewContainerRef;
|
|
11
|
+
dialogData: ButtonDialogData;
|
|
12
|
+
componentRef: ComponentRef<any>;
|
|
13
|
+
primaryButtonEnabledSub?: Subscription;
|
|
14
|
+
secondaryButtonEnabledSub?: Subscription;
|
|
15
|
+
customButtonEnabledSub?: Subscription;
|
|
16
|
+
buttonClickedSub?: Subscription;
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
loadComponent(): void;
|
|
20
|
+
setUpDialogDataForDynamicConfig(): void;
|
|
21
|
+
private toObservable;
|
|
22
|
+
private isDialogResultImplemented;
|
|
23
|
+
private isDialogButtonClickedImplemented;
|
|
24
|
+
private isDialogPrimaryButtonDisabledImplemented;
|
|
25
|
+
private isDialogSecondaryButtonDisabledImplemented;
|
|
26
|
+
private isDialogCustomButtonDisabledImplemented;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogContentComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogContentComponent, "ocx-dialog-content", never, {}, {}, never, ["*"], false, never>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { AfterViewInit, 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 { DialogState } from '../../../services/portal-dialog.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class DialogFooterComponent implements OnInit, AfterViewInit {
|
|
8
|
+
dynamicDialogConfig: DynamicDialogConfig<any, any>;
|
|
9
|
+
dynamicDialogRef: DynamicDialogRef<any>;
|
|
10
|
+
defaultPrimaryButtonDetails: ButtonDialogButtonDetails;
|
|
11
|
+
defaultSecondaryButtonDetails: ButtonDialogButtonDetails;
|
|
12
|
+
defaultDialogData: ButtonDialogData;
|
|
13
|
+
config: ButtonDialogConfig;
|
|
14
|
+
dialogData: ButtonDialogData;
|
|
15
|
+
primaryButtonDisabled$: Observable<boolean | undefined> | undefined;
|
|
16
|
+
secondaryButtonDisabled$: Observable<boolean | undefined> | undefined;
|
|
17
|
+
customButtonsDisabled$: BehaviorSubject<Record<string, boolean>>;
|
|
18
|
+
leftCustomButtons: ButtonDialogCustomButtonDetails[];
|
|
19
|
+
rightCustomButtons: ButtonDialogCustomButtonDetails[];
|
|
20
|
+
buttonClickedEmitter: EventEmitter<DialogState<unknown>>;
|
|
21
|
+
primaryButton: ViewContainerRef;
|
|
22
|
+
_secondaryButton: ViewContainerRef;
|
|
23
|
+
set secondaryButton(content: ViewContainerRef);
|
|
24
|
+
get secondaryButton(): ViewContainerRef;
|
|
25
|
+
customButtons: QueryList<ElementRef>;
|
|
26
|
+
ngAfterViewInit(): void;
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
primaryButtonAction(): void;
|
|
29
|
+
secondaryButtonAction(): void;
|
|
30
|
+
customButtonAction(button: ButtonDialogCustomButtonDetails): void;
|
|
31
|
+
resolveCustomButtonDisabled(customButtonsDisabled: Record<string, boolean>, buttonId: string): boolean;
|
|
32
|
+
loadComponent(): void;
|
|
33
|
+
setUpDialogDataForInput(): void;
|
|
34
|
+
setUpDialogDataForDynamicConfig(): void;
|
|
35
|
+
private buttonAction;
|
|
36
|
+
private setupCustomButtons;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogFooterComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogFooterComponent, "ocx-dialog-footer", never, { "config": { "alias": "config"; "required": false; }; }, { "buttonClickedEmitter": "buttonClickedEmitter"; }, never, never, false, never>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { ButtonDialogConfig } from '../../../model/button-dialog';
|
|
3
|
+
import { DialogState } from '../../../services/portal-dialog.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DialogInlineComponent {
|
|
6
|
+
config: ButtonDialogConfig;
|
|
7
|
+
resultEmitter: EventEmitter<any>;
|
|
8
|
+
buttonClicked(event: DialogState<unknown>): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogInlineComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogInlineComponent, "ocx-dialog-inline", never, { "config": { "alias": "config"; "required": false; }; }, { "resultEmitter": "resultEmitter"; }, never, ["*"], false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class DialogMessageContentComponent {
|
|
3
|
+
message: string;
|
|
4
|
+
messageParameters: object;
|
|
5
|
+
icon: string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogMessageContentComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogMessageContentComponent, "ng-component", never, { "message": { "alias": "message"; "required": false; }; "messageParameters": { "alias": "messageParameters"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class GlobalErrorComponent {
|
|
3
|
+
private router;
|
|
4
|
+
private route;
|
|
5
|
+
errCode: string | undefined;
|
|
6
|
+
backUrl: string;
|
|
7
|
+
constructor();
|
|
8
|
+
onGoBack(): void;
|
|
9
|
+
reload(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GlobalErrorComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GlobalErrorComponent, "ocx-error", never, { "errCode": { "alias": "errCode"; "required": false; }; }, {}, never, never, false, never>;
|
|
12
|
+
}
|