@onecx/angular-accelerator 7.0.0-rc.8 → 7.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/de.json +10 -6
- package/assets/i18n/en.json +10 -6
- package/assets/i18n/primeng/de.json +5 -2
- package/assets/i18n/primeng/en.json +4 -1
- package/assets/i18n/storybook-translations/page-header/de.json +13 -0
- package/assets/i18n/storybook-translations/page-header/en.json +13 -0
- package/fesm2022/onecx-angular-accelerator-testing.mjs +33 -5
- package/fesm2022/onecx-angular-accelerator-testing.mjs.map +1 -1
- package/fesm2022/onecx-angular-accelerator.mjs +213 -157
- package/fesm2022/onecx-angular-accelerator.mjs.map +1 -1
- package/index.d.ts +2370 -62
- package/package.json +21 -19
- package/testing/index.d.ts +261 -24
- package/lib/angular-accelerator-primeng.module.d.ts +0 -27
- package/lib/angular-accelerator.module.d.ts +0 -49
- package/lib/components/column-group-selection/column-group-selection.component.d.ts +0 -32
- package/lib/components/content/content.component.d.ts +0 -13
- package/lib/components/content-container/content-container.component.d.ts +0 -19
- package/lib/components/custom-group-column-selector/custom-group-column-selector.component.d.ts +0 -68
- package/lib/components/data-layout-selection/data-layout-selection.component.d.ts +0 -32
- package/lib/components/data-list-grid/data-list-grid.component.d.ts +0 -179
- package/lib/components/data-list-grid-sorting/data-list-grid-sorting.component.d.ts +0 -40
- package/lib/components/data-sort-base/data-sort-base.d.ts +0 -33
- package/lib/components/data-table/data-table.component.d.ts +0 -224
- package/lib/components/data-view/data-view.component.d.ts +0 -165
- package/lib/components/diagram/diagram.component.d.ts +0 -57
- package/lib/components/dialog/dialog-content/dialog-content.component.d.ts +0 -29
- package/lib/components/dialog/dialog-footer/dialog-footer.component.d.ts +0 -39
- package/lib/components/dialog/dialog-inline/dialog-inline.component.d.ts +0 -11
- package/lib/components/dialog/dialog-message-content/dialog-message-content.component.d.ts +0 -8
- package/lib/components/error-component/global-error.component.d.ts +0 -12
- package/lib/components/filter-view/filter-view.component.d.ts +0 -80
- package/lib/components/group-by-count-diagram/group-by-count-diagram.component.d.ts +0 -45
- package/lib/components/interactive-data-view/interactive-data-view.component.d.ts +0 -206
- package/lib/components/lifecycle/lifecycle.component.d.ts +0 -12
- package/lib/components/loading-indicator/loading-indicator.component.d.ts +0 -5
- package/lib/components/page-header/page-header.component.d.ts +0 -105
- package/lib/components/search-header/search-header.component.d.ts +0 -71
- package/lib/directives/advanced.directive.d.ts +0 -11
- package/lib/directives/basic.directive.d.ts +0 -11
- package/lib/directives/content-container.directive.d.ts +0 -23
- package/lib/directives/content.directive.d.ts +0 -21
- package/lib/directives/if-breakpoint.directive.d.ts +0 -13
- package/lib/directives/if-permission.directive.d.ts +0 -33
- package/lib/directives/loading-indicator.directive.d.ts +0 -16
- package/lib/directives/src.directive.d.ts +0 -13
- package/lib/directives/template.directive.d.ts +0 -9
- package/lib/directives/tooltipOnOverflow.directive.d.ts +0 -13
- package/lib/functions/at-least-one-field-filled-validator.d.ts +0 -2
- package/lib/functions/flatten-object.d.ts +0 -14
- package/lib/model/breadcrumb-menu-item.model.d.ts +0 -56
- package/lib/model/button-dialog.d.ts +0 -47
- package/lib/model/column-type.model.d.ts +0 -7
- package/lib/model/data-action.d.ts +0 -12
- package/lib/model/data-column-name-id.model.d.ts +0 -4
- package/lib/model/data-sort-direction.d.ts +0 -5
- package/lib/model/data-table-column.model.d.ts +0 -12
- package/lib/model/diagram-column.d.ts +0 -5
- package/lib/model/diagram-data.d.ts +0 -5
- package/lib/model/diagram-type.d.ts +0 -5
- package/lib/model/filter.model.d.ts +0 -24
- package/lib/pipes/dynamic.pipe.d.ts +0 -13
- package/lib/pipes/ocxtimeago.pipe.d.ts +0 -16
- package/lib/pipes/relative-date.pipe.d.ts +0 -10
- package/lib/services/breadcrumb.service.d.ts +0 -20
- package/lib/services/export-data.service.d.ts +0 -18
- package/lib/services/portal-dialog.service.d.ts +0 -427
- package/lib/utils/colorutils.d.ts +0 -12
- package/lib/utils/criteria.utils.d.ts +0 -17
- package/lib/utils/data-operation-strategy.d.ts +0 -20
- package/lib/utils/dateutils.d.ts +0 -8
- package/lib/utils/dynamic-locale-id.d.ts +0 -10
- package/lib/utils/enum-to-dropdown-options.utils.d.ts +0 -6
- package/lib/utils/filter.utils.d.ts +0 -2
- package/lib/utils/image-logo-url.utils.d.ts +0 -3
- package/lib/utils/objectutils.d.ts +0 -4
- package/lib/utils/primeicon.utils.d.ts +0 -5
- package/lib/utils/rxjs-utils.d.ts +0 -3
- package/lib/utils/string-and-array-helper-functions.utils.d.ts +0 -3
- package/lib/utils/template.utils.d.ts +0 -2
- package/testing/column-group-selection.harness.d.ts +0 -6
- package/testing/content-container.harness.d.ts +0 -7
- package/testing/content.harness.d.ts +0 -10
- package/testing/custom-group-column-selector.harness.d.ts +0 -14
- package/testing/data-layout-selection.harness.d.ts +0 -12
- package/testing/data-list-grid.harness.d.ts +0 -18
- package/testing/data-table.harness.d.ts +0 -26
- package/testing/data-view.harness.d.ts +0 -8
- package/testing/default-grid-item.harness.d.ts +0 -11
- package/testing/default-list-item.harness.d.ts +0 -12
- package/testing/diagram.harness.d.ts +0 -10
- package/testing/dialog-content.harness.d.ts +0 -6
- package/testing/dialog-footer.harness.d.ts +0 -14
- package/testing/dialog-inline.harness.d.ts +0 -8
- package/testing/dialog-message-content.harness.d.ts +0 -8
- package/testing/filter-view.harness.d.ts +0 -12
- package/testing/group-by-count-diagram.harness.d.ts +0 -6
- package/testing/interactive-data-view.harness.d.ts +0 -19
- package/testing/lifecycle.harness.d.ts +0 -6
- package/testing/more-actions-menu-button.harness.d.ts +0 -10
- package/testing/page-header.harness.d.ts +0 -36
- package/testing/search-header.harness.d.ts +0 -15
- package/testing/slot.harness.d.ts +0 -7
package/package.json
CHANGED
|
@@ -1,30 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onecx/angular-accelerator",
|
|
3
|
-
"version": "7.0.0
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/onecx/onecx-portal-ui-libs"
|
|
8
|
+
},
|
|
5
9
|
"peerDependencies": {
|
|
6
|
-
"@angular/common": "^
|
|
7
|
-
"@angular/core": "^
|
|
8
|
-
"@angular/cdk": "^
|
|
9
|
-
"@angular/forms": "^
|
|
10
|
-
"@angular/platform-browser": "^
|
|
11
|
-
"@angular/router": "^
|
|
12
|
-
"@ngx-translate/core": "^
|
|
13
|
-
"@ngx-translate/http-loader": "^8.0.0",
|
|
10
|
+
"@angular/common": "^20.0.0",
|
|
11
|
+
"@angular/core": "^20.0.0",
|
|
12
|
+
"@angular/cdk": "^20.0.0",
|
|
13
|
+
"@angular/forms": "^20.0.0",
|
|
14
|
+
"@angular/platform-browser": "^20.0.0",
|
|
15
|
+
"@angular/router": "^20.0.0",
|
|
16
|
+
"@ngx-translate/core": "^17.0.0",
|
|
14
17
|
"@ngneat/until-destroy": "^10.0.0",
|
|
15
|
-
"@onecx/integration-interface": "^7.0.0
|
|
16
|
-
"@onecx/accelerator": "^7.0.0
|
|
17
|
-
"@onecx/angular-integration-interface": "^7.0.0
|
|
18
|
-
"@onecx/angular-remote-components": "^7.0.0
|
|
19
|
-
"@onecx/angular-testing": "^7.0.0
|
|
20
|
-
"@onecx/angular-utils": "^7.0.0
|
|
18
|
+
"@onecx/integration-interface": "^7.0.0",
|
|
19
|
+
"@onecx/accelerator": "^7.0.0",
|
|
20
|
+
"@onecx/angular-integration-interface": "^7.0.0",
|
|
21
|
+
"@onecx/angular-remote-components": "^7.0.0",
|
|
22
|
+
"@onecx/angular-testing": "^7.0.0",
|
|
23
|
+
"@onecx/angular-utils": "^7.0.0",
|
|
21
24
|
"chart.js": "^4.4.3",
|
|
22
25
|
"d3-scale-chromatic": "^3.1.0",
|
|
23
26
|
"rxjs": "~7.8.1",
|
|
24
|
-
"primeng": "^
|
|
25
|
-
"@
|
|
26
|
-
"@nx
|
|
27
|
-
"@onecx/nx-migration-utils": "^7.0.0-rc.8"
|
|
27
|
+
"primeng": "^20.3.0",
|
|
28
|
+
"@nx/devkit": "^22.0.2",
|
|
29
|
+
"@onecx/nx-migration-utils": "^7.0.0"
|
|
28
30
|
},
|
|
29
31
|
"dependencies": {
|
|
30
32
|
"tslib": "^2.3.0"
|
package/testing/index.d.ts
CHANGED
|
@@ -1,26 +1,263 @@
|
|
|
1
|
-
|
|
2
|
-
export * from './content-container.harness';
|
|
3
|
-
export * from './content.harness';
|
|
4
|
-
export * from './custom-group-column-selector.harness';
|
|
5
|
-
export * from './data-layout-selection.harness';
|
|
6
|
-
export * from './data-list-grid.harness';
|
|
7
|
-
export * from './data-table.harness';
|
|
8
|
-
export * from './data-view.harness';
|
|
9
|
-
export * from './default-grid-item.harness';
|
|
10
|
-
export * from './default-list-item.harness';
|
|
11
|
-
export * from './diagram.harness';
|
|
12
|
-
export * from './filter-view.harness';
|
|
13
|
-
export * from './group-by-count-diagram.harness';
|
|
14
|
-
export * from './interactive-data-view.harness';
|
|
15
|
-
export * from './lifecycle.harness';
|
|
16
|
-
export * from './more-actions-menu-button.harness';
|
|
17
|
-
export * from './page-header.harness';
|
|
18
|
-
export * from './slot.harness';
|
|
19
|
-
export * from './search-header.harness';
|
|
20
|
-
export * from '../testing/dialog-content.harness';
|
|
21
|
-
export * from '../testing/dialog-footer.harness';
|
|
22
|
-
export * from '../testing/dialog-inline.harness';
|
|
23
|
-
export * from '../testing/dialog-message-content.harness';
|
|
1
|
+
import { ComponentHarness, ContentContainerComponentHarness, HarnessLoader, TestElement, BaseHarnessFilters, HarnessPredicate } from '@angular/cdk/testing';
|
|
24
2
|
export * from '@angular/cdk/testing';
|
|
25
|
-
|
|
3
|
+
import * as _onecx_angular_testing from '@onecx/angular-testing';
|
|
4
|
+
import { PSelectHarness, PHarness, PButtonHarness, PDialogHarness, PPicklistHarness, PToggleButtonHarness, MenuItemHarness, DivHarness, ButtonHarness, PPaginatorHarness, PMenuHarness, TableHeaderColumnHarness, TableRowHarness, PTableCheckboxHarness, PChartHarness, PChipHarness, SpanHarness, PBreadcrumbHarness, ListItemHarness, ContentContainerComponentHarness as ContentContainerComponentHarness$1, PButtonDirectiveHarness } from '@onecx/angular-testing';
|
|
26
5
|
export * from '@onecx/angular-testing';
|
|
6
|
+
import * as _angular_cdk_harness_environment_d from '@angular/cdk/harness-environment.d';
|
|
7
|
+
export * from '@angular/cdk/testing/testbed';
|
|
8
|
+
|
|
9
|
+
declare class ColumnGroupSelectionHarness extends ComponentHarness {
|
|
10
|
+
static hostSelector: string;
|
|
11
|
+
getPSelect: () => Promise<PSelectHarness>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
declare class OcxContentContainerHarness extends ComponentHarness {
|
|
15
|
+
static hostSelector: string;
|
|
16
|
+
getLayoutClasses(): Promise<string[]>;
|
|
17
|
+
getLayout(): Promise<'horizontal' | 'vertical'>;
|
|
18
|
+
getBreakpoint(): Promise<'sm' | 'md' | 'lg' | 'xl' | undefined>;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
declare class OcxContentHarness extends ComponentHarness {
|
|
22
|
+
static hostSelector: string;
|
|
23
|
+
getContentClasses(): Promise<string[]>;
|
|
24
|
+
getTitleClasses(titleElementId: string): Promise<string[] | null>;
|
|
25
|
+
getTitle(titleElementId: string): Promise<string | null>;
|
|
26
|
+
getTitleHarness(titleElementId: string): Promise<PHarness | null>;
|
|
27
|
+
hasTitle(titleElementId: string): Promise<boolean>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare class CustomGroupColumnSelectorHarness extends ContentContainerComponentHarness {
|
|
31
|
+
static hostSelector: string;
|
|
32
|
+
getCustomGroupColumnSelectorButton: () => Promise<PButtonHarness>;
|
|
33
|
+
getDialog: () => Promise<PDialogHarness>;
|
|
34
|
+
getCancelButton: () => Promise<PButtonHarness>;
|
|
35
|
+
getSaveButton: () => Promise<PButtonHarness>;
|
|
36
|
+
getPicklist: () => Promise<PPicklistHarness>;
|
|
37
|
+
getSelectButtons: () => Promise<_onecx_angular_testing.TestElement | null>;
|
|
38
|
+
getFrozenActionColumnSelectButton(): Promise<_onecx_angular_testing.TestElement[]>;
|
|
39
|
+
getActionColumnPositionSelectButtons(): Promise<_onecx_angular_testing.TestElement[]>;
|
|
40
|
+
openCustomGroupColumnSelectorDialog(): Promise<void>;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
declare class DataLayoutSelectionHarness extends ContentContainerComponentHarness {
|
|
44
|
+
static hostSelector: string;
|
|
45
|
+
getListLayoutSelectionToggleButton: () => Promise<PToggleButtonHarness>;
|
|
46
|
+
getGridLayoutSelectionToggleButton: () => Promise<PToggleButtonHarness>;
|
|
47
|
+
getTableLayoutSelectionToggleButton: () => Promise<PToggleButtonHarness>;
|
|
48
|
+
getCurrentLayout(): Promise<string | null>;
|
|
49
|
+
selectListLayout(): Promise<void>;
|
|
50
|
+
selectGridLayout(): Promise<void>;
|
|
51
|
+
selectTableLayout(): Promise<void>;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
declare class MoreActionsMenuButtonHarness extends ContentContainerComponentHarness {
|
|
55
|
+
static hostSelector: string;
|
|
56
|
+
getHarnessLoaderForPMenuOverlay(): Promise<HarnessLoader | null>;
|
|
57
|
+
isOpen(): Promise<boolean>;
|
|
58
|
+
open(): Promise<void>;
|
|
59
|
+
close(): Promise<void>;
|
|
60
|
+
getAllActionsMenuItems(): Promise<MenuItemHarness[]>;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
declare class DefaultGridItemHarness extends ComponentHarness {
|
|
64
|
+
static hostSelector: string;
|
|
65
|
+
getMoreActionsButton: () => Promise<MoreActionsMenuButtonHarness>;
|
|
66
|
+
private getAllDivs;
|
|
67
|
+
private getGridImg;
|
|
68
|
+
getData(): Promise<(string | null)[]>;
|
|
69
|
+
checkDivsHasClasses(value: DivHarness): Promise<boolean>;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
declare class DefaultListItemHarness extends ComponentHarness {
|
|
73
|
+
static hostSelector: string;
|
|
74
|
+
getAllActionButtons: () => Promise<_onecx_angular_testing.TestElement[]>;
|
|
75
|
+
getViewButton: () => Promise<ButtonHarness | null>;
|
|
76
|
+
getEditButton: () => Promise<ButtonHarness | null>;
|
|
77
|
+
getDeleteButton: () => Promise<ButtonHarness | null>;
|
|
78
|
+
private getAllDivs;
|
|
79
|
+
getData(): Promise<string[]>;
|
|
80
|
+
checkDivsHasClasses(value: DivHarness): Promise<boolean>;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
declare class DataListGridHarness extends ContentContainerComponentHarness {
|
|
84
|
+
static hostSelector: string;
|
|
85
|
+
getDefaultGridItems: () => Promise<DefaultGridItemHarness[]>;
|
|
86
|
+
getPaginator: () => Promise<PPaginatorHarness>;
|
|
87
|
+
getGridMenuButton: () => Promise<TestElement>;
|
|
88
|
+
getListOverflowMenuButton: () => Promise<TestElement>;
|
|
89
|
+
getListOverflowMenu: () => Promise<PMenuHarness | null>;
|
|
90
|
+
getDefaultListItems(): Promise<DefaultListItemHarness[]>;
|
|
91
|
+
getActionButtons(actionButtonType: 'list' | 'grid' | 'grid-hidden'): Promise<TestElement[]>;
|
|
92
|
+
getListOverflowMenuItems(): Promise<_onecx_angular_testing.MenuItemHarness[]>;
|
|
93
|
+
actionButtonIsDisabled(actionButton: TestElement, viewType: 'list' | 'grid'): Promise<boolean>;
|
|
94
|
+
hasAmountOfActionButtons(actionButtonType: 'list' | 'grid' | 'grid-hidden', amount: number): Promise<boolean>;
|
|
95
|
+
hasAmountOfDisabledActionButtons(viewType: 'list' | 'grid', amount: number): Promise<boolean>;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
interface DataTableHarnessFilters extends BaseHarnessFilters {
|
|
99
|
+
id?: string;
|
|
100
|
+
}
|
|
101
|
+
declare class DataTableHarness extends ContentContainerComponentHarness {
|
|
102
|
+
static hostSelector: string;
|
|
103
|
+
static with(options: DataTableHarnessFilters): HarnessPredicate<DataTableHarness>;
|
|
104
|
+
getHeaderColumns: () => Promise<TableHeaderColumnHarness[]>;
|
|
105
|
+
getRows: () => Promise<TableRowHarness[]>;
|
|
106
|
+
getPaginator: () => Promise<PPaginatorHarness>;
|
|
107
|
+
getOverflowMenu: () => Promise<PMenuHarness | null>;
|
|
108
|
+
getId(): Promise<string | null>;
|
|
109
|
+
rowSelectionIsEnabled(): Promise<boolean>;
|
|
110
|
+
getHarnessesForCheckboxes(type: 'all' | 'checked' | 'unchecked'): Promise<PTableCheckboxHarness[]>;
|
|
111
|
+
getActionColumnHeader(position: 'left' | 'right'): Promise<TestElement | null>;
|
|
112
|
+
getActionColumn(position: 'left' | 'right'): Promise<TestElement | null>;
|
|
113
|
+
getActionButtons(): Promise<TestElement[]>;
|
|
114
|
+
getOverflowActionMenuButton(): Promise<TestElement | null>;
|
|
115
|
+
getOverFlowMenuItems(): Promise<MenuItemHarness[]>;
|
|
116
|
+
getOverFlowMenuItem(itemText: string): Promise<MenuItemHarness | undefined | null>;
|
|
117
|
+
actionButtonIsDisabled(actionButton: TestElement): Promise<any>;
|
|
118
|
+
hasAmountOfActionButtons(amount: number): Promise<boolean>;
|
|
119
|
+
hasAmountOfDisabledActionButtons(amount: number): Promise<boolean>;
|
|
120
|
+
columnIsFrozen(column: TestElement | null | undefined): Promise<boolean>;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
declare class DataViewHarness extends ContentContainerComponentHarness {
|
|
124
|
+
static hostSelector: string;
|
|
125
|
+
getDataTable: () => Promise<DataTableHarness | null>;
|
|
126
|
+
getDataListGrid: () => Promise<DataListGridHarness | null>;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
declare class DiagramHarness extends ComponentHarness {
|
|
130
|
+
static hostSelector: string;
|
|
131
|
+
getChart: () => Promise<PChartHarness>;
|
|
132
|
+
getTotalNumberOfResults(): Promise<number | undefined>;
|
|
133
|
+
getSumLabel(): Promise<string | undefined>;
|
|
134
|
+
getDiagramTypeSelectButton(): Promise<_onecx_angular_testing.TestElement | null>;
|
|
135
|
+
getAllSelectionButtons(): Promise<_onecx_angular_testing.TestElement[]>;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
declare class FilterViewHarness extends ContentContainerComponentHarness {
|
|
139
|
+
static hostSelector: string;
|
|
140
|
+
getOverlayResetFiltersButton: () => Promise<PButtonHarness | null>;
|
|
141
|
+
getFiltersButton: () => Promise<PButtonHarness | null>;
|
|
142
|
+
getChipsResetFiltersButton: () => Promise<PButtonHarness | null>;
|
|
143
|
+
getChips: () => Promise<PChipHarness[]>;
|
|
144
|
+
getNoFiltersMessage: () => Promise<SpanHarness | null>;
|
|
145
|
+
getDataTable(): Promise<DataTableHarness | null>;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
declare class GroupByCountDiagramHarness extends ComponentHarness {
|
|
149
|
+
static hostSelector: string;
|
|
150
|
+
getDiagram: () => Promise<DiagramHarness>;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
interface SlotHarnessFilters extends BaseHarnessFilters {
|
|
154
|
+
name?: string;
|
|
155
|
+
}
|
|
156
|
+
declare class SlotHarness extends ContentContainerComponentHarness {
|
|
157
|
+
static hostSelector: string;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
declare class InteractiveDataViewHarness extends ContentContainerComponentHarness {
|
|
161
|
+
static hostSelector: string;
|
|
162
|
+
getHeaderStyleClasses(): Promise<string[]>;
|
|
163
|
+
getContentStyleClasses(): Promise<string[]>;
|
|
164
|
+
getDataLayoutSelection: () => Promise<DataLayoutSelectionHarness>;
|
|
165
|
+
getColumnGroupSelectionSelect: () => Promise<PSelectHarness | null>;
|
|
166
|
+
getCustomGroupColumnSelector: () => Promise<CustomGroupColumnSelectorHarness | null>;
|
|
167
|
+
getCustomGroupColumnSelectorSlot: () => Promise<SlotHarness | null>;
|
|
168
|
+
getDataListGridSortingSelect: () => Promise<PSelectHarness | null>;
|
|
169
|
+
getDataListGridSortingButton: () => Promise<PButtonHarness | null>;
|
|
170
|
+
getDataView: () => Promise<DataViewHarness>;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
declare class LifecycleHarness extends ContentContainerComponentHarness {
|
|
174
|
+
static hostSelector: string;
|
|
175
|
+
getSteps: () => Promise<_angular_cdk_harness_environment_d.TestElement[]>;
|
|
176
|
+
getHighlightedSteps: () => Promise<_angular_cdk_harness_environment_d.TestElement[]>;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
declare class PageHeaderHarness extends ComponentHarness {
|
|
180
|
+
static hostSelector: string;
|
|
181
|
+
getPageHeaderWrapperHarness: () => Promise<_onecx_angular_testing.TestElement[]>;
|
|
182
|
+
getBreadcrumb: () => Promise<PBreadcrumbHarness | null>;
|
|
183
|
+
getMenu: () => Promise<PMenuHarness | null>;
|
|
184
|
+
getElementByTitle(title: string): Promise<_onecx_angular_testing.TestElement | null>;
|
|
185
|
+
getElementByAriaLabel(ariaLabel: string): Promise<_onecx_angular_testing.TestElement | null>;
|
|
186
|
+
getObjectInfos(): Promise<ObjectDetailItemHarness[]>;
|
|
187
|
+
getObjectInfoByLabel(objectInfolabel: string): Promise<ObjectDetailItemHarness | null>;
|
|
188
|
+
getInlineActionButtons(): Promise<PButtonHarness[]>;
|
|
189
|
+
getInlineActionButtonByLabel(buttonLabel: string): Promise<PButtonHarness | null>;
|
|
190
|
+
getInlineActionButtonByIcon(buttonIcon: string): Promise<PButtonHarness | null>;
|
|
191
|
+
getOverflowActionMenuButton(): Promise<_onecx_angular_testing.TestElement | null>;
|
|
192
|
+
getOverFlowMenuItems(): Promise<MenuItemHarness[]>;
|
|
193
|
+
getOverFlowMenuItem(itemText: string): Promise<MenuItemHarness | undefined | null>;
|
|
194
|
+
getBreadcrumbItem(itemText: string): Promise<ListItemHarness | undefined | null>;
|
|
195
|
+
getHeaderText(): Promise<string | undefined>;
|
|
196
|
+
getSubheaderText(): Promise<string | undefined>;
|
|
197
|
+
}
|
|
198
|
+
interface ObjectDetailItemHarnessFilters extends BaseHarnessFilters {
|
|
199
|
+
label?: string;
|
|
200
|
+
}
|
|
201
|
+
declare class ObjectDetailItemHarness extends ContentContainerComponentHarness {
|
|
202
|
+
static hostSelector: string;
|
|
203
|
+
getLabelElement: () => Promise<_onecx_angular_testing.TestElement>;
|
|
204
|
+
getValueElement: () => Promise<_onecx_angular_testing.TestElement | null>;
|
|
205
|
+
getIconElement: () => Promise<_onecx_angular_testing.TestElement | null>;
|
|
206
|
+
static with(options: ObjectDetailItemHarnessFilters): HarnessPredicate<ObjectDetailItemHarness>;
|
|
207
|
+
getLabel(): Promise<string>;
|
|
208
|
+
getValue(): Promise<string | undefined>;
|
|
209
|
+
getValueStyles(): Promise<string | null | undefined>;
|
|
210
|
+
getIcon(): Promise<string | null | undefined>;
|
|
211
|
+
getLabelTooltipContent(): Promise<string | null>;
|
|
212
|
+
getValueTooltipContent(): Promise<string | null>;
|
|
213
|
+
getActionItemTooltipContent(): Promise<string | null>;
|
|
214
|
+
private getTooltipFromElement;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
declare class SearchHeaderHarness extends ComponentHarness {
|
|
218
|
+
static hostSelector: string;
|
|
219
|
+
getPageHeader: () => Promise<PageHeaderHarness>;
|
|
220
|
+
getSearchButton: () => Promise<PButtonHarness>;
|
|
221
|
+
getResetButton: () => Promise<PButtonHarness>;
|
|
222
|
+
getSimpleAdvancedButton: () => Promise<PButtonHarness | null>;
|
|
223
|
+
getMoreActionsMenuButton: () => Promise<MoreActionsMenuButtonHarness | null>;
|
|
224
|
+
clickResetButton(): Promise<void>;
|
|
225
|
+
clickSearchButton(): Promise<void>;
|
|
226
|
+
toggleSimpleAdvanced(): Promise<void>;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
declare class DialogMessageContentHarness extends ComponentHarness {
|
|
230
|
+
static hostSelector: string;
|
|
231
|
+
private getMessageSpan;
|
|
232
|
+
private getIcon;
|
|
233
|
+
getMessageContent(): Promise<string>;
|
|
234
|
+
getIconValue(): Promise<string | null | undefined>;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
declare class DialogContentHarness extends ContentContainerComponentHarness$1 {
|
|
238
|
+
static hostSelector: string;
|
|
239
|
+
getDialogMessageContent: () => Promise<DialogMessageContentHarness | null>;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
declare class DialogFooterHarness extends ContentContainerComponentHarness$1 {
|
|
243
|
+
static hostSelector: string;
|
|
244
|
+
getPrimaryButton: () => Promise<PButtonDirectiveHarness>;
|
|
245
|
+
getSecondaryButton: () => Promise<PButtonDirectiveHarness | null>;
|
|
246
|
+
clickPrimaryButton(): Promise<void>;
|
|
247
|
+
clickSecondaryButton(): Promise<void>;
|
|
248
|
+
getPrimaryButtonLabel(): Promise<string | null>;
|
|
249
|
+
getPrimaryButtonIcon(): Promise<string | null>;
|
|
250
|
+
getSecondaryButtonLabel(): Promise<string | null | undefined>;
|
|
251
|
+
getSecondaryButtonIcon(): Promise<string | null | undefined>;
|
|
252
|
+
getPrimaryButtonDisabled(): Promise<boolean>;
|
|
253
|
+
getSecondaryButtonDisabled(): Promise<boolean | undefined>;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
declare class DialogInlineHarness extends ContentContainerComponentHarness$1 {
|
|
257
|
+
static hostSelector: string;
|
|
258
|
+
getDialogContent: () => Promise<DialogContentHarness>;
|
|
259
|
+
getDialogFooter: () => Promise<DialogFooterHarness>;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export { ColumnGroupSelectionHarness, CustomGroupColumnSelectorHarness, DataLayoutSelectionHarness, DataListGridHarness, DataTableHarness, DataViewHarness, DefaultGridItemHarness, DefaultListItemHarness, DiagramHarness, DialogContentHarness, DialogFooterHarness, DialogInlineHarness, DialogMessageContentHarness, FilterViewHarness, GroupByCountDiagramHarness, InteractiveDataViewHarness, LifecycleHarness, MoreActionsMenuButtonHarness, OcxContentContainerHarness, OcxContentHarness, PageHeaderHarness, SearchHeaderHarness, SlotHarness };
|
|
263
|
+
export type { DataTableHarnessFilters, SlotHarnessFilters };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "primeng/breadcrumb";
|
|
3
|
-
import * as i2 from "primeng/chip";
|
|
4
|
-
import * as i3 from "primeng/checkbox";
|
|
5
|
-
import * as i4 from "primeng/select";
|
|
6
|
-
import * as i5 from "primeng/button";
|
|
7
|
-
import * as i6 from "primeng/dialog";
|
|
8
|
-
import * as i7 from "primeng/picklist";
|
|
9
|
-
import * as i8 from "primeng/selectbutton";
|
|
10
|
-
import * as i9 from "primeng/dataview";
|
|
11
|
-
import * as i10 from "primeng/table";
|
|
12
|
-
import * as i11 from "primeng/menu";
|
|
13
|
-
import * as i12 from "primeng/chart";
|
|
14
|
-
import * as i13 from "primeng/multiselect";
|
|
15
|
-
import * as i14 from "primeng/skeleton";
|
|
16
|
-
import * as i15 from "primeng/message";
|
|
17
|
-
import * as i16 from "primeng/floatlabel";
|
|
18
|
-
import * as i17 from "primeng/popover";
|
|
19
|
-
import * as i18 from "primeng/focustrap";
|
|
20
|
-
import * as i19 from "primeng/tooltip";
|
|
21
|
-
import * as i20 from "primeng/timeline";
|
|
22
|
-
import * as i21 from "primeng/api";
|
|
23
|
-
export declare class AngularAcceleratorPrimeNgModule {
|
|
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.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
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AngularAcceleratorPrimeNgModule>;
|
|
27
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { MultiLanguageMissingTranslationHandler } from '@onecx/angular-utils';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./components/column-group-selection/column-group-selection.component";
|
|
4
|
-
import * as i2 from "./components/custom-group-column-selector/custom-group-column-selector.component";
|
|
5
|
-
import * as i3 from "./components/data-layout-selection/data-layout-selection.component";
|
|
6
|
-
import * as i4 from "./components/data-list-grid-sorting/data-list-grid-sorting.component";
|
|
7
|
-
import * as i5 from "./components/data-list-grid/data-list-grid.component";
|
|
8
|
-
import * as i6 from "./components/data-table/data-table.component";
|
|
9
|
-
import * as i7 from "./components/data-view/data-view.component";
|
|
10
|
-
import * as i8 from "./components/interactive-data-view/interactive-data-view.component";
|
|
11
|
-
import * as i9 from "./components/lifecycle/lifecycle.component";
|
|
12
|
-
import * as i10 from "./components/page-header/page-header.component";
|
|
13
|
-
import * as i11 from "./pipes/dynamic.pipe";
|
|
14
|
-
import * as i12 from "./components/search-header/search-header.component";
|
|
15
|
-
import * as i13 from "./components/diagram/diagram.component";
|
|
16
|
-
import * as i14 from "./components/group-by-count-diagram/group-by-count-diagram.component";
|
|
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";
|
|
43
|
-
export declare class AngularAcceleratorMissingTranslationHandler extends MultiLanguageMissingTranslationHandler {
|
|
44
|
-
}
|
|
45
|
-
export declare class AngularAcceleratorModule {
|
|
46
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AngularAcceleratorModule, never>;
|
|
47
|
-
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]>;
|
|
48
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AngularAcceleratorModule>;
|
|
49
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
-
import { DataTableColumn } from '../../model/data-table-column.model';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export type GroupSelectionChangedEvent = {
|
|
6
|
-
activeColumns: DataTableColumn[];
|
|
7
|
-
groupKey: string;
|
|
8
|
-
};
|
|
9
|
-
export interface ColumnGroupSelectionComponentState {
|
|
10
|
-
activeColumnGroupKey?: string;
|
|
11
|
-
displayedColumns?: DataTableColumn[];
|
|
12
|
-
}
|
|
13
|
-
export declare class ColumnGroupSelectionComponent implements OnInit {
|
|
14
|
-
selectedGroupKey$: BehaviorSubject<string>;
|
|
15
|
-
get selectedGroupKey(): string;
|
|
16
|
-
set selectedGroupKey(value: string);
|
|
17
|
-
columns$: BehaviorSubject<DataTableColumn[]>;
|
|
18
|
-
get columns(): DataTableColumn[];
|
|
19
|
-
set columns(value: DataTableColumn[]);
|
|
20
|
-
placeholderKey: string;
|
|
21
|
-
defaultGroupKey: string;
|
|
22
|
-
customGroupKey: string;
|
|
23
|
-
groupSelectionChanged: EventEmitter<GroupSelectionChangedEvent>;
|
|
24
|
-
componentStateChanged: EventEmitter<ColumnGroupSelectionComponentState>;
|
|
25
|
-
allGroupKeys$: Observable<string[]> | undefined;
|
|
26
|
-
ngOnInit(): void;
|
|
27
|
-
changeGroupSelection(event: {
|
|
28
|
-
value: string;
|
|
29
|
-
}): void;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnGroupSelectionComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnGroupSelectionComponent, "ocx-column-group-selection", never, { "selectedGroupKey": { "alias": "selectedGroupKey"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "placeholderKey": { "alias": "placeholderKey"; "required": false; }; "defaultGroupKey": { "alias": "defaultGroupKey"; "required": false; }; "customGroupKey": { "alias": "customGroupKey"; "required": false; }; }, { "groupSelectionChanged": "groupSelectionChanged"; "componentStateChanged": "componentStateChanged"; }, never, never, false, never>;
|
|
32
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class OcxContentComponent {
|
|
3
|
-
/**
|
|
4
|
-
* Optionally allows specifying a title for the content card
|
|
5
|
-
*/
|
|
6
|
-
title: string;
|
|
7
|
-
/**
|
|
8
|
-
* Optionally allows specifying styles for the content card
|
|
9
|
-
*/
|
|
10
|
-
styleClass: string | undefined;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcxContentComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OcxContentComponent, "ocx-content", never, { "title": { "alias": "title"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
13
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class OcxContentContainerComponent {
|
|
3
|
-
/**
|
|
4
|
-
* Allows specifying the layout direction of the container
|
|
5
|
-
*/
|
|
6
|
-
layout: 'vertical' | 'horizontal';
|
|
7
|
-
/**
|
|
8
|
-
* Allows specifying the breakpoint below which a horizontal layout switches to a vertical layout.
|
|
9
|
-
* Only necessary if horizontal layout is used
|
|
10
|
-
* Default: md
|
|
11
|
-
*/
|
|
12
|
-
breakpoint: 'sm' | 'md' | 'lg' | 'xl';
|
|
13
|
-
/**
|
|
14
|
-
* Optionally allows specifying styles for the container
|
|
15
|
-
*/
|
|
16
|
-
styleClass: string | undefined;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OcxContentContainerComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OcxContentContainerComponent, "ocx-content-container", never, { "layout": { "alias": "layout"; "required": false; }; "breakpoint": { "alias": "breakpoint"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
19
|
-
}
|
package/lib/components/custom-group-column-selector/custom-group-column-selector.component.d.ts
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { DataTableColumn } from '../../model/data-table-column.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export type ColumnSelectionChangedEvent = {
|
|
5
|
-
activeColumns: DataTableColumn[];
|
|
6
|
-
};
|
|
7
|
-
export type ActionColumnChangedEvent = {
|
|
8
|
-
frozenActionColumn: boolean;
|
|
9
|
-
actionColumnPosition: 'left' | 'right';
|
|
10
|
-
};
|
|
11
|
-
export interface CustomGroupColumnSelectorComponentState {
|
|
12
|
-
actionColumnConfig?: {
|
|
13
|
-
frozen: boolean;
|
|
14
|
-
position: 'left' | 'right';
|
|
15
|
-
};
|
|
16
|
-
displayedColumns?: DataTableColumn[];
|
|
17
|
-
activeColumnGroupKey?: string;
|
|
18
|
-
}
|
|
19
|
-
export declare class CustomGroupColumnSelectorComponent implements OnInit {
|
|
20
|
-
private translate;
|
|
21
|
-
columns: DataTableColumn[];
|
|
22
|
-
private _displayedColumns;
|
|
23
|
-
get displayedColumns(): DataTableColumn[];
|
|
24
|
-
set displayedColumns(value: DataTableColumn[]);
|
|
25
|
-
customGroupKey: string;
|
|
26
|
-
dialogTitle: string;
|
|
27
|
-
dialogTitleKey: string;
|
|
28
|
-
openButtonTitle: string;
|
|
29
|
-
openButtonTitleKey: string;
|
|
30
|
-
openButtonAriaLabel: string;
|
|
31
|
-
openButtonAriaLabelKey: string;
|
|
32
|
-
saveButtonLabel: string;
|
|
33
|
-
saveButtonLabelKey: string;
|
|
34
|
-
saveButtonAriaLabel: string;
|
|
35
|
-
saveButtonAriaLabelKey: string;
|
|
36
|
-
cancelButtonLabel: string;
|
|
37
|
-
cancelButtonLabelKey: string;
|
|
38
|
-
cancelButtonAriaLabel: string;
|
|
39
|
-
cancelButtonAriaLabelKey: string;
|
|
40
|
-
activeColumnsLabel: string;
|
|
41
|
-
activeColumnsLabelKey: string;
|
|
42
|
-
inactiveColumnsLabel: string;
|
|
43
|
-
inactiveColumnsLabelKey: string;
|
|
44
|
-
frozenActionColumn: boolean;
|
|
45
|
-
actionColumnPosition: 'left' | 'right';
|
|
46
|
-
columnSelectionChanged: EventEmitter<ColumnSelectionChangedEvent>;
|
|
47
|
-
actionColumnConfigChanged: EventEmitter<ActionColumnChangedEvent>;
|
|
48
|
-
componentStateChanged: EventEmitter<CustomGroupColumnSelectorComponentState>;
|
|
49
|
-
hiddenColumnsModel: DataTableColumn[];
|
|
50
|
-
displayedColumnsModel: DataTableColumn[];
|
|
51
|
-
frozenActionColumnModel: boolean;
|
|
52
|
-
actionColumnPositionModel: 'left' | 'right';
|
|
53
|
-
visible: boolean;
|
|
54
|
-
alignmentOptions: {
|
|
55
|
-
label: string;
|
|
56
|
-
value: string;
|
|
57
|
-
}[];
|
|
58
|
-
frozenOptions: {
|
|
59
|
-
label: string;
|
|
60
|
-
value: boolean;
|
|
61
|
-
}[];
|
|
62
|
-
ngOnInit(): void;
|
|
63
|
-
onOpenCustomGroupColumnSelectionDialogClick(): void;
|
|
64
|
-
onSaveClick(): void;
|
|
65
|
-
onCancelClick(): void;
|
|
66
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CustomGroupColumnSelectorComponent, never>;
|
|
67
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomGroupColumnSelectorComponent, "ocx-custom-group-column-selector", never, { "columns": { "alias": "columns"; "required": false; }; "displayedColumns": { "alias": "displayedColumns"; "required": false; }; "customGroupKey": { "alias": "customGroupKey"; "required": false; }; "dialogTitle": { "alias": "dialogTitle"; "required": false; }; "dialogTitleKey": { "alias": "dialogTitleKey"; "required": false; }; "openButtonTitle": { "alias": "openButtonTitle"; "required": false; }; "openButtonTitleKey": { "alias": "openButtonTitleKey"; "required": false; }; "openButtonAriaLabel": { "alias": "openButtonAriaLabel"; "required": false; }; "openButtonAriaLabelKey": { "alias": "openButtonAriaLabelKey"; "required": false; }; "saveButtonLabel": { "alias": "saveButtonLabel"; "required": false; }; "saveButtonLabelKey": { "alias": "saveButtonLabelKey"; "required": false; }; "saveButtonAriaLabel": { "alias": "saveButtonAriaLabel"; "required": false; }; "saveButtonAriaLabelKey": { "alias": "saveButtonAriaLabelKey"; "required": false; }; "cancelButtonLabel": { "alias": "cancelButtonLabel"; "required": false; }; "cancelButtonLabelKey": { "alias": "cancelButtonLabelKey"; "required": false; }; "cancelButtonAriaLabel": { "alias": "cancelButtonAriaLabel"; "required": false; }; "cancelButtonAriaLabelKey": { "alias": "cancelButtonAriaLabelKey"; "required": false; }; "activeColumnsLabel": { "alias": "activeColumnsLabel"; "required": false; }; "activeColumnsLabelKey": { "alias": "activeColumnsLabelKey"; "required": false; }; "inactiveColumnsLabel": { "alias": "inactiveColumnsLabel"; "required": false; }; "inactiveColumnsLabelKey": { "alias": "inactiveColumnsLabelKey"; "required": false; }; "frozenActionColumn": { "alias": "frozenActionColumn"; "required": false; }; "actionColumnPosition": { "alias": "actionColumnPosition"; "required": false; }; }, { "columnSelectionChanged": "columnSelectionChanged"; "actionColumnConfigChanged": "actionColumnConfigChanged"; "componentStateChanged": "componentStateChanged"; }, never, never, false, never>;
|
|
68
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { PrimeIcon } from '../../utils/primeicon.utils';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
interface ViewingLayouts {
|
|
5
|
-
id: string;
|
|
6
|
-
icon: PrimeIcon;
|
|
7
|
-
layout: 'grid' | 'list' | 'table';
|
|
8
|
-
tooltip?: string;
|
|
9
|
-
tooltipKey: string;
|
|
10
|
-
label?: string;
|
|
11
|
-
labelKey: string;
|
|
12
|
-
}
|
|
13
|
-
export interface DataLayoutSelectionComponentState {
|
|
14
|
-
layout?: 'grid' | 'list' | 'table';
|
|
15
|
-
}
|
|
16
|
-
export declare class DataLayoutSelectionComponent implements OnInit {
|
|
17
|
-
supportedViewLayouts: Array<string>;
|
|
18
|
-
set layout(value: 'grid' | 'list' | 'table');
|
|
19
|
-
get layout(): 'grid' | 'list' | 'table';
|
|
20
|
-
dataViewLayoutChange: EventEmitter<'grid' | 'list' | 'table'>;
|
|
21
|
-
componentStateChanged: EventEmitter<DataLayoutSelectionComponentState>;
|
|
22
|
-
viewingLayouts: ViewingLayouts[];
|
|
23
|
-
selectedViewLayout: ViewingLayouts | undefined;
|
|
24
|
-
ngOnInit(): void;
|
|
25
|
-
onDataViewLayoutChange(event: {
|
|
26
|
-
icon: PrimeIcon;
|
|
27
|
-
layout: 'grid' | 'list' | 'table';
|
|
28
|
-
}): void;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DataLayoutSelectionComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DataLayoutSelectionComponent, "ocx-data-layout-selection", never, { "supportedViewLayouts": { "alias": "supportedViewLayouts"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; }, { "dataViewLayoutChange": "dataViewLayoutChange"; "componentStateChanged": "componentStateChanged"; }, never, never, false, never>;
|
|
31
|
-
}
|
|
32
|
-
export {};
|