@onecx/angular-accelerator 5.38.0 → 6.0.0-rc.11
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 +3 -3
- package/assets/i18n/en.json +3 -3
- package/assets/styles.scss +0 -4
- package/fesm2022/onecx-angular-accelerator-testing.mjs +90 -28
- package/fesm2022/onecx-angular-accelerator-testing.mjs.map +1 -1
- package/fesm2022/onecx-angular-accelerator.mjs +941 -510
- package/fesm2022/onecx-angular-accelerator.mjs.map +1 -1
- package/index.d.ts +8 -0
- package/lib/angular-accelerator-primeng.module.d.ts +6 -4
- package/lib/angular-accelerator.module.d.ts +26 -20
- package/lib/components/content/content.component.d.ts +13 -0
- package/lib/components/content-container/content-container.component.d.ts +19 -0
- package/lib/components/custom-group-column-selector/custom-group-column-selector.component.d.ts +0 -2
- package/lib/components/data-list-grid/data-list-grid.component.d.ts +10 -20
- package/lib/components/data-list-grid-sorting/data-list-grid-sorting.component.d.ts +2 -2
- package/lib/components/data-table/data-table.component.d.ts +12 -20
- package/lib/components/data-view/data-view.component.d.ts +10 -8
- package/lib/components/diagram/diagram.component.d.ts +0 -2
- package/lib/components/filter-view/filter-view.component.d.ts +3 -3
- package/lib/components/group-by-count-diagram/group-by-count-diagram.component.d.ts +0 -2
- package/lib/components/interactive-data-view/interactive-data-view.component.d.ts +10 -6
- package/lib/components/lifecycle/lifecycle.component.d.ts +12 -0
- package/lib/components/page-header/page-header.component.d.ts +1 -4
- package/lib/components/search-header/search-header.component.d.ts +3 -4
- package/lib/directives/advanced.directive.d.ts +5 -6
- package/lib/directives/content-container.directive.d.ts +23 -0
- package/lib/directives/content.directive.d.ts +21 -0
- package/lib/directives/if-breakpoint.directive.d.ts +3 -4
- package/lib/directives/if-permission.directive.d.ts +7 -9
- package/lib/directives/src.directive.d.ts +2 -3
- package/lib/directives/template.directive.d.ts +9 -0
- package/lib/directives/tooltipOnOverflow.directive.d.ts +2 -3
- package/lib/model/filter.model.d.ts +16 -4
- package/lib/pipes/dynamic.pipe.d.ts +2 -2
- package/lib/pipes/ocxtimeago.pipe.d.ts +3 -3
- package/lib/services/breadcrumb.service.d.ts +2 -4
- package/lib/services/translation-connection.service.d.ts +10 -0
- package/lib/utils/criteria.utils.d.ts +3 -3
- package/lib/utils/data-operation-strategy.d.ts +20 -0
- package/lib/utils/dateutils.d.ts +0 -1
- package/lib/utils/provide-connection-service.d.ts +6 -0
- package/migrations.json +26 -0
- package/package.json +22 -20
- package/testing/column-group-selection.harness.d.ts +2 -2
- package/testing/content-container.harness.d.ts +7 -0
- package/testing/content.harness.d.ts +10 -0
- package/testing/data-layout-selection.harness.d.ts +7 -6
- package/testing/index.d.ts +3 -0
- package/testing/interactive-data-view.harness.d.ts +5 -3
- package/testing/lifecycle.harness.d.ts +6 -0
- package/esm2022/index.mjs +0 -63
- package/esm2022/lib/angular-accelerator-primeng.module.mjs +0 -146
- package/esm2022/lib/angular-accelerator.module.mjs +0 -209
- package/esm2022/lib/components/column-group-selection/column-group-selection.component.mjs +0 -90
- package/esm2022/lib/components/custom-group-column-selector/custom-group-column-selector.component.mjs +0 -184
- package/esm2022/lib/components/data-layout-selection/data-layout-selection.component.mjs +0 -73
- package/esm2022/lib/components/data-list-grid/data-list-grid.component.mjs +0 -615
- package/esm2022/lib/components/data-list-grid-sorting/data-list-grid-sorting.component.mjs +0 -107
- package/esm2022/lib/components/data-loading-error/data-loading-error.component.mjs +0 -28
- package/esm2022/lib/components/data-sort-base/data-sort-base.mjs +0 -134
- package/esm2022/lib/components/data-table/data-table.component.mjs +0 -840
- package/esm2022/lib/components/data-view/data-view.component.mjs +0 -672
- package/esm2022/lib/components/diagram/diagram.component.mjs +0 -183
- package/esm2022/lib/components/filter-view/filter-view.component.mjs +0 -263
- package/esm2022/lib/components/group-by-count-diagram/group-by-count-diagram.component.mjs +0 -133
- package/esm2022/lib/components/interactive-data-view/interactive-data-view.component.mjs +0 -724
- package/esm2022/lib/components/page-header/page-header.component.mjs +0 -238
- package/esm2022/lib/components/search-header/search-header.component.mjs +0 -199
- package/esm2022/lib/directives/advanced.directive.mjs +0 -36
- package/esm2022/lib/directives/if-breakpoint.directive.mjs +0 -47
- package/esm2022/lib/directives/if-permission.directive.mjs +0 -95
- package/esm2022/lib/directives/src.directive.mjs +0 -65
- package/esm2022/lib/directives/tooltipOnOverflow.directive.mjs +0 -48
- package/esm2022/lib/functions/at-least-one-field-filled-validator.mjs +0 -7
- package/esm2022/lib/functions/flatten-object.mjs +0 -20
- package/esm2022/lib/injection-tokens/has-permission-checker.mjs +0 -10
- package/esm2022/lib/model/breadcrumb-menu-item.model.mjs +0 -2
- package/esm2022/lib/model/column-type.model.mjs +0 -16
- package/esm2022/lib/model/data-action.mjs +0 -2
- package/esm2022/lib/model/data-column-name-id.model.mjs +0 -2
- package/esm2022/lib/model/data-sort-direction.mjs +0 -2
- package/esm2022/lib/model/data-table-column.model.mjs +0 -2
- package/esm2022/lib/model/diagram-column.mjs +0 -2
- package/esm2022/lib/model/diagram-data.mjs +0 -2
- package/esm2022/lib/model/diagram-type.mjs +0 -2
- package/esm2022/lib/model/filter.model.mjs +0 -6
- package/esm2022/lib/pipes/dynamic.pipe.mjs +0 -58
- package/esm2022/lib/pipes/ocxtimeago.pipe.mjs +0 -107
- package/esm2022/lib/services/breadcrumb.service.mjs +0 -128
- package/esm2022/lib/services/translation-cache.service.mjs +0 -44
- package/esm2022/lib/utils/async-translate-loader.utils.mjs +0 -15
- package/esm2022/lib/utils/caching-translate-loader.utils.mjs +0 -18
- package/esm2022/lib/utils/colorutils.mjs +0 -19
- package/esm2022/lib/utils/create-remote-component-and-mfe-translate-loader.utils.mjs +0 -12
- package/esm2022/lib/utils/create-remote-component-translate-loader.utils.mjs +0 -25
- package/esm2022/lib/utils/create-translate-loader.utils.mjs +0 -30
- package/esm2022/lib/utils/criteria.utils.mjs +0 -28
- package/esm2022/lib/utils/dateutils.mjs +0 -38
- package/esm2022/lib/utils/dynamic-locale-id.mjs +0 -21
- package/esm2022/lib/utils/enum-to-dropdown-options.utils.mjs +0 -8
- package/esm2022/lib/utils/filter.utils.mjs +0 -6
- package/esm2022/lib/utils/objectutils.mjs +0 -30
- package/esm2022/lib/utils/primeicon.utils.mjs +0 -2
- package/esm2022/lib/utils/rxjs-utils.mjs +0 -13
- package/esm2022/lib/utils/string-and-array-helper-functions.utils.mjs +0 -22
- package/esm2022/lib/utils/template.utils.mjs +0 -11
- package/esm2022/lib/utils/translate.combined.loader.mjs +0 -42
- package/esm2022/onecx-angular-accelerator.mjs +0 -5
- package/esm2022/testing/column-group-selection.harness.mjs +0 -10
- package/esm2022/testing/custom-group-column-selector.harness.mjs +0 -31
- package/esm2022/testing/data-layout-selection.harness.mjs +0 -32
- package/esm2022/testing/data-list-grid.harness.mjs +0 -51
- package/esm2022/testing/data-table.harness.mjs +0 -69
- package/esm2022/testing/data-view.harness.mjs +0 -12
- package/esm2022/testing/default-grid-item.harness.mjs +0 -24
- package/esm2022/testing/default-list-item.harness.mjs +0 -26
- package/esm2022/testing/diagram.harness.mjs +0 -22
- package/esm2022/testing/filter-view.harness.mjs +0 -18
- package/esm2022/testing/group-by-count-diagram.harness.mjs +0 -10
- package/esm2022/testing/index.mjs +0 -23
- package/esm2022/testing/interactive-data-view.harness.mjs +0 -21
- package/esm2022/testing/more-actions-menu-button.harness.mjs +0 -35
- package/esm2022/testing/onecx-angular-accelerator-testing.mjs +0 -5
- package/esm2022/testing/page-header.harness.mjs +0 -81
- package/esm2022/testing/search-header.harness.mjs +0 -36
- package/esm2022/testing/slot.harness.mjs +0 -5
package/index.d.ts
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
export * from './lib/injection-tokens/has-permission-checker';
|
|
2
|
+
export * from './lib/directives/content-container.directive';
|
|
3
|
+
export * from './lib/directives/content.directive';
|
|
2
4
|
export * from './lib/directives/if-permission.directive';
|
|
3
5
|
export * from './lib/directives/if-breakpoint.directive';
|
|
4
6
|
export * from './lib/directives/src.directive';
|
|
5
7
|
export * from './lib/directives/advanced.directive';
|
|
6
8
|
export * from './lib/directives/tooltipOnOverflow.directive';
|
|
9
|
+
export * from './lib/directives/template.directive';
|
|
7
10
|
export * from './lib/components/column-group-selection/column-group-selection.component';
|
|
11
|
+
export * from './lib/components/content/content.component';
|
|
12
|
+
export * from './lib/components/content-container/content-container.component';
|
|
8
13
|
export * from './lib/components/custom-group-column-selector/custom-group-column-selector.component';
|
|
9
14
|
export * from './lib/components/data-layout-selection/data-layout-selection.component';
|
|
10
15
|
export * from './lib/components/data-list-grid/data-list-grid.component';
|
|
@@ -15,10 +20,12 @@ export * from './lib/components/diagram/diagram.component';
|
|
|
15
20
|
export * from './lib/components/filter-view/filter-view.component';
|
|
16
21
|
export * from './lib/components/group-by-count-diagram/group-by-count-diagram.component';
|
|
17
22
|
export * from './lib/components/interactive-data-view/interactive-data-view.component';
|
|
23
|
+
export * from './lib/components/lifecycle/lifecycle.component';
|
|
18
24
|
export * from './lib/components/page-header/page-header.component';
|
|
19
25
|
export * from './lib/components/search-header/search-header.component';
|
|
20
26
|
export * from './lib/components/data-loading-error/data-loading-error.component';
|
|
21
27
|
export * from './lib/services/breadcrumb.service';
|
|
28
|
+
export * from './lib/services/translation-connection.service';
|
|
22
29
|
export * from './lib/services/translation-cache.service';
|
|
23
30
|
export * from './lib/pipes/dynamic.pipe';
|
|
24
31
|
export * from './lib/pipes/ocxtimeago.pipe';
|
|
@@ -37,6 +44,7 @@ export * from './lib/functions/at-least-one-field-filled-validator';
|
|
|
37
44
|
export * from './lib/utils/async-translate-loader.utils';
|
|
38
45
|
export * from './lib/utils/caching-translate-loader.utils';
|
|
39
46
|
export * from './lib/utils/colorutils';
|
|
47
|
+
export * from './lib/utils/data-operation-strategy';
|
|
40
48
|
export * from './lib/utils/create-translate-loader.utils';
|
|
41
49
|
export * from './lib/utils/dateutils';
|
|
42
50
|
export * from './lib/utils/objectutils';
|
|
@@ -2,7 +2,7 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "primeng/breadcrumb";
|
|
3
3
|
import * as i2 from "primeng/chip";
|
|
4
4
|
import * as i3 from "primeng/checkbox";
|
|
5
|
-
import * as i4 from "primeng/
|
|
5
|
+
import * as i4 from "primeng/select";
|
|
6
6
|
import * as i5 from "primeng/button";
|
|
7
7
|
import * as i6 from "primeng/dialog";
|
|
8
8
|
import * as i7 from "primeng/picklist";
|
|
@@ -15,11 +15,13 @@ import * as i13 from "primeng/multiselect";
|
|
|
15
15
|
import * as i14 from "primeng/skeleton";
|
|
16
16
|
import * as i15 from "primeng/message";
|
|
17
17
|
import * as i16 from "primeng/floatlabel";
|
|
18
|
-
import * as i17 from "primeng/
|
|
18
|
+
import * as i17 from "primeng/popover";
|
|
19
19
|
import * as i18 from "primeng/focustrap";
|
|
20
|
-
import * as i19 from "primeng/
|
|
20
|
+
import * as i19 from "primeng/tooltip";
|
|
21
|
+
import * as i20 from "primeng/timeline";
|
|
22
|
+
import * as i21 from "primeng/api";
|
|
21
23
|
export declare class AngularAcceleratorPrimeNgModule {
|
|
22
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<AngularAcceleratorPrimeNgModule, never>;
|
|
23
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AngularAcceleratorPrimeNgModule, never, [typeof i1.BreadcrumbModule, typeof i2.ChipModule, typeof i3.CheckboxModule, typeof i4.
|
|
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 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 i21.SharedModule]>;
|
|
24
26
|
static ɵinj: i0.ɵɵInjectorDeclaration<AngularAcceleratorPrimeNgModule>;
|
|
25
27
|
}
|
|
@@ -8,30 +8,36 @@ import * as i5 from "./components/data-list-grid/data-list-grid.component";
|
|
|
8
8
|
import * as i6 from "./components/data-table/data-table.component";
|
|
9
9
|
import * as i7 from "./components/data-view/data-view.component";
|
|
10
10
|
import * as i8 from "./components/interactive-data-view/interactive-data-view.component";
|
|
11
|
-
import * as i9 from "./components/
|
|
12
|
-
import * as i10 from "./
|
|
13
|
-
import * as i11 from "./
|
|
14
|
-
import * as i12 from "./components/
|
|
15
|
-
import * as i13 from "./components/
|
|
16
|
-
import * as i14 from "./components/
|
|
17
|
-
import * as i15 from "./
|
|
18
|
-
import * as i16 from "./
|
|
19
|
-
import * as i17 from "./
|
|
20
|
-
import * as i18 from "./
|
|
21
|
-
import * as i19 from "./directives/
|
|
22
|
-
import * as i20 from "./directives/
|
|
23
|
-
import * as i21 from "./
|
|
24
|
-
import * as i22 from "
|
|
25
|
-
import * as i23 from "./
|
|
26
|
-
import * as i24 from "
|
|
27
|
-
import * as i25 from "
|
|
28
|
-
import * as i26 from "
|
|
29
|
-
import * as i27 from "
|
|
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/data-loading-error/data-loading-error.component";
|
|
18
|
+
import * as i16 from "./components/content/content.component";
|
|
19
|
+
import * as i17 from "./components/content-container/content-container.component";
|
|
20
|
+
import * as i18 from "./directives/if-permission.directive";
|
|
21
|
+
import * as i19 from "./directives/if-breakpoint.directive";
|
|
22
|
+
import * as i20 from "./directives/src.directive";
|
|
23
|
+
import * as i21 from "./pipes/ocxtimeago.pipe";
|
|
24
|
+
import * as i22 from "./directives/advanced.directive";
|
|
25
|
+
import * as i23 from "./directives/tooltipOnOverflow.directive";
|
|
26
|
+
import * as i24 from "./components/filter-view/filter-view.component";
|
|
27
|
+
import * as i25 from "./directives/template.directive";
|
|
28
|
+
import * as i26 from "./directives/content.directive";
|
|
29
|
+
import * as i27 from "./directives/content-container.directive";
|
|
30
|
+
import * as i28 from "@angular/common";
|
|
31
|
+
import * as i29 from "./angular-accelerator-primeng.module";
|
|
32
|
+
import * as i30 from "@onecx/angular-remote-components";
|
|
33
|
+
import * as i31 from "@ngx-translate/core";
|
|
34
|
+
import * as i32 from "@angular/forms";
|
|
35
|
+
import * as i33 from "@angular/router";
|
|
30
36
|
export declare class AngularAcceleratorMissingTranslationHandler implements MissingTranslationHandler {
|
|
31
37
|
handle(params: MissingTranslationHandlerParams): string;
|
|
32
38
|
}
|
|
33
39
|
export declare class AngularAcceleratorModule {
|
|
34
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<AngularAcceleratorModule, never>;
|
|
35
|
-
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.
|
|
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.DataLoadingErrorComponent, typeof i16.OcxContentComponent, typeof i17.OcxContentContainerComponent, typeof i18.IfPermissionDirective, typeof i19.IfBreakpointDirective, typeof i20.SrcDirective, typeof i21.OcxTimeAgoPipe, typeof i22.AdvancedDirective, typeof i23.TooltipOnOverflowDirective, typeof i24.FilterViewComponent, typeof i25.TemplateDirective, typeof i26.OcxContentDirective, typeof i27.OcxContentContainerDirective], [typeof i28.CommonModule, typeof i29.AngularAcceleratorPrimeNgModule, typeof i30.AngularRemoteComponentsModule, typeof i31.TranslateModule, typeof i32.FormsModule, typeof i33.RouterModule, typeof i32.ReactiveFormsModule], [typeof i30.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.DataLoadingErrorComponent, typeof i16.OcxContentComponent, typeof i17.OcxContentContainerComponent, typeof i18.IfPermissionDirective, typeof i19.IfBreakpointDirective, typeof i20.SrcDirective, typeof i21.OcxTimeAgoPipe, typeof i22.AdvancedDirective, typeof i23.TooltipOnOverflowDirective, typeof i24.FilterViewComponent, typeof i25.TemplateDirective, typeof i26.OcxContentDirective, typeof i27.OcxContentContainerDirective]>;
|
|
36
42
|
static ɵinj: i0.ɵɵInjectorDeclaration<AngularAcceleratorModule>;
|
|
37
43
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
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
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
3
2
|
import { DataTableColumn } from '../../model/data-table-column.model';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export type ColumnSelectionChangedEvent = {
|
|
@@ -60,7 +59,6 @@ export declare class CustomGroupColumnSelectorComponent implements OnInit {
|
|
|
60
59
|
label: string;
|
|
61
60
|
value: boolean;
|
|
62
61
|
}[];
|
|
63
|
-
constructor(translate: TranslateService);
|
|
64
62
|
ngOnInit(): void;
|
|
65
63
|
onOpenCustomGroupColumnSelectionDialogClick(): void;
|
|
66
64
|
onSaveClick(): void;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { AfterContentInit, DoCheck, EventEmitter,
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
-
import { AppStateService, UserService } from '@onecx/angular-integration-interface';
|
|
1
|
+
import { AfterContentInit, DoCheck, EventEmitter, OnInit, QueryList, TemplateRef } from '@angular/core';
|
|
5
2
|
import { MfeInfo } from '@onecx/integration-interface';
|
|
6
3
|
import { MenuItem, PrimeTemplate } from 'primeng/api';
|
|
7
4
|
import { Menu } from 'primeng/menu';
|
|
@@ -10,9 +7,9 @@ import { ColumnType } from '../../model/column-type.model';
|
|
|
10
7
|
import { DataAction } from '../../model/data-action';
|
|
11
8
|
import { DataSortDirection } from '../../model/data-sort-direction';
|
|
12
9
|
import { DataTableColumn } from '../../model/data-table-column.model';
|
|
10
|
+
import { Filter } from '../../model/filter.model';
|
|
13
11
|
import { DataSortBase } from '../data-sort-base/data-sort-base';
|
|
14
12
|
import { Row } from '../data-table/data-table.component';
|
|
15
|
-
import { Filter } from '../../model/filter.model';
|
|
16
13
|
import * as i0 from "@angular/core";
|
|
17
14
|
export type ListGridData = {
|
|
18
15
|
id: string | number;
|
|
@@ -37,23 +34,16 @@ export declare class DataListGridComponent extends DataSortBase implements OnIni
|
|
|
37
34
|
clientSideSorting: boolean;
|
|
38
35
|
clientSideFiltering: boolean;
|
|
39
36
|
sortStates: DataSortDirection[];
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
_pageSizes$: BehaviorSubject<(number | {
|
|
44
|
-
showAll: string;
|
|
45
|
-
})[]>;
|
|
46
|
-
get pageSizes(): (number | {
|
|
47
|
-
showAll: string;
|
|
48
|
-
})[];
|
|
49
|
-
set pageSizes(value: (number | {
|
|
50
|
-
showAll: string;
|
|
51
|
-
})[]);
|
|
37
|
+
_pageSizes$: BehaviorSubject<number[]>;
|
|
38
|
+
get pageSizes(): number[];
|
|
39
|
+
set pageSizes(value: number[]);
|
|
52
40
|
displayedPageSize$: Observable<number>;
|
|
53
41
|
_pageSize$: BehaviorSubject<number | undefined>;
|
|
54
42
|
get pageSize(): number | undefined;
|
|
55
43
|
set pageSize(value: number | undefined);
|
|
56
|
-
|
|
44
|
+
/**
|
|
45
|
+
* @deprecated
|
|
46
|
+
*/
|
|
57
47
|
set showAllOption(value: boolean);
|
|
58
48
|
emptyResultsMessage: string | undefined;
|
|
59
49
|
fallbackImage: string;
|
|
@@ -157,7 +147,6 @@ export declare class DataListGridComponent extends DataSortBase implements OnIni
|
|
|
157
147
|
get editItemObserved(): boolean;
|
|
158
148
|
get deleteItemObserved(): boolean;
|
|
159
149
|
get sortDirectionNumber(): number;
|
|
160
|
-
showMenu: boolean;
|
|
161
150
|
gridMenuItems: MenuItem[];
|
|
162
151
|
selectedItem: ListGridData | undefined;
|
|
163
152
|
observedOutputs: number;
|
|
@@ -171,7 +160,8 @@ export declare class DataListGridComponent extends DataSortBase implements OnIni
|
|
|
171
160
|
set parentTemplates(value: QueryList<PrimeTemplate> | null | undefined);
|
|
172
161
|
columnType: typeof ColumnType;
|
|
173
162
|
templatesObservables: Record<string, Observable<TemplateRef<any> | null>>;
|
|
174
|
-
|
|
163
|
+
private cachedOverflowMenuItemsVisibility$;
|
|
164
|
+
constructor();
|
|
175
165
|
ngDoCheck(): void;
|
|
176
166
|
ngOnInit(): void;
|
|
177
167
|
ngAfterContentInit(): void;
|
|
@@ -3,7 +3,7 @@ import { BehaviorSubject } from 'rxjs';
|
|
|
3
3
|
import { DataSortDirection } from '../../model/data-sort-direction';
|
|
4
4
|
import { DataColumnNameId } from '../../model/data-column-name-id.model';
|
|
5
5
|
import { DataTableColumn } from '../../model/data-table-column.model';
|
|
6
|
-
import {
|
|
6
|
+
import { SelectChangeEvent } from 'primeng/select';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export type ListGridSort = {
|
|
9
9
|
sortColumn: string;
|
|
@@ -28,7 +28,7 @@ export declare class DataListGridSortingComponent implements OnInit {
|
|
|
28
28
|
selectedSortingOption: DataColumnNameId | undefined;
|
|
29
29
|
dropdownOptions: DataColumnNameId[];
|
|
30
30
|
ngOnInit(): void;
|
|
31
|
-
selectSorting(event:
|
|
31
|
+
selectSorting(event: SelectChangeEvent): void;
|
|
32
32
|
sortDirectionChanged(): void;
|
|
33
33
|
nextSortDirection(): DataSortDirection;
|
|
34
34
|
emitComponentStateChange(): void;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { AfterContentInit, EventEmitter,
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
-
import { UserService } from '@onecx/angular-integration-interface';
|
|
1
|
+
import { AfterContentInit, EventEmitter, OnInit, QueryList, TemplateRef } from '@angular/core';
|
|
5
2
|
import { MenuItem, PrimeTemplate, SelectItem } from 'primeng/api';
|
|
6
3
|
import { Menu } from 'primeng/menu';
|
|
7
4
|
import { MultiSelectItem } from 'primeng/multiselect';
|
|
@@ -67,23 +64,16 @@ export declare class DataTableComponent extends DataSortBase implements OnInit,
|
|
|
67
64
|
clientSideFiltering: boolean;
|
|
68
65
|
clientSideSorting: boolean;
|
|
69
66
|
sortStates: DataSortDirection[];
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
_pageSizes$: BehaviorSubject<(number | {
|
|
74
|
-
showAll: string;
|
|
75
|
-
})[]>;
|
|
76
|
-
get pageSizes(): (number | {
|
|
77
|
-
showAll: string;
|
|
78
|
-
})[];
|
|
79
|
-
set pageSizes(value: (number | {
|
|
80
|
-
showAll: string;
|
|
81
|
-
})[]);
|
|
67
|
+
_pageSizes$: BehaviorSubject<number[]>;
|
|
68
|
+
get pageSizes(): number[];
|
|
69
|
+
set pageSizes(value: number[]);
|
|
82
70
|
displayedPageSize$: Observable<number>;
|
|
83
71
|
_pageSize$: BehaviorSubject<number | undefined>;
|
|
84
72
|
get pageSize(): number | undefined;
|
|
85
73
|
set pageSize(value: number | undefined);
|
|
86
|
-
|
|
74
|
+
/**
|
|
75
|
+
* @deprecated
|
|
76
|
+
*/
|
|
87
77
|
set showAllOption(value: boolean);
|
|
88
78
|
emptyResultsMessage: string | undefined;
|
|
89
79
|
name: string;
|
|
@@ -216,7 +206,9 @@ export declare class DataTableComponent extends DataSortBase implements OnInit,
|
|
|
216
206
|
get anyRowActionObserved(): boolean;
|
|
217
207
|
get selectionChangedObserved(): boolean;
|
|
218
208
|
templatesObservables: Record<string, Observable<TemplateRef<any> | null>>;
|
|
219
|
-
|
|
209
|
+
private cachedOverflowActions$;
|
|
210
|
+
private cachedOverflowMenuItemsVisibility$;
|
|
211
|
+
constructor();
|
|
220
212
|
ngOnInit(): void;
|
|
221
213
|
translateColumnValues(columnValues: string[]): Observable<any>;
|
|
222
214
|
emitComponentStateChanged(state?: DataTableComponentState): void;
|
|
@@ -241,7 +233,7 @@ export declare class DataTableComponent extends DataSortBase implements OnInit,
|
|
|
241
233
|
resetPage(): void;
|
|
242
234
|
fieldIsTruthy(object: any, key: any): boolean;
|
|
243
235
|
toggleOverflowMenu(event: MouseEvent, menu: Menu, row: Row): void;
|
|
244
|
-
hasVisibleOverflowMenuItems(
|
|
236
|
+
hasVisibleOverflowMenuItems(item: any): Observable<boolean>;
|
|
245
237
|
isDate(value: Date | string | number): boolean;
|
|
246
238
|
cellTemplatesData: TemplatesData;
|
|
247
239
|
filterTemplatesData: TemplatesData;
|
|
@@ -250,7 +242,7 @@ export declare class DataTableComponent extends DataSortBase implements OnInit,
|
|
|
250
242
|
getTemplate(column: DataTableColumn, templateType: TemplateType): Observable<TemplateRef<any> | null>;
|
|
251
243
|
resolveFieldData(object: any, key: any): any;
|
|
252
244
|
getRowObjectFromMultiselectItem(value: MultiSelectItem, column: DataTableColumn): {
|
|
253
|
-
[
|
|
245
|
+
[column.id]: string | undefined;
|
|
254
246
|
};
|
|
255
247
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableComponent, never>;
|
|
256
248
|
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableComponent, "ocx-data-table", never, { "rows": { "alias": "rows"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "sortColumn": { "alias": "sortColumn"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "clientSideFiltering": { "alias": "clientSideFiltering"; "required": false; }; "clientSideSorting": { "alias": "clientSideSorting"; "required": false; }; "sortStates": { "alias": "sortStates"; "required": false; }; "pageSizes": { "alias": "pageSizes"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "showAllOption": { "alias": "showAllOption"; "required": false; }; "emptyResultsMessage": { "alias": "emptyResultsMessage"; "required": false; }; "name": { "alias": "name"; "required": false; }; "deletePermission": { "alias": "deletePermission"; "required": false; }; "viewPermission": { "alias": "viewPermission"; "required": false; }; "editPermission": { "alias": "editPermission"; "required": false; }; "deleteActionVisibleField": { "alias": "deleteActionVisibleField"; "required": false; }; "deleteActionEnabledField": { "alias": "deleteActionEnabledField"; "required": false; }; "viewActionVisibleField": { "alias": "viewActionVisibleField"; "required": false; }; "viewActionEnabledField": { "alias": "viewActionEnabledField"; "required": false; }; "editActionVisibleField": { "alias": "editActionVisibleField"; "required": false; }; "editActionEnabledField": { "alias": "editActionEnabledField"; "required": false; }; "selectionEnabledField": { "alias": "selectionEnabledField"; "required": false; }; "allowSelectAll": { "alias": "allowSelectAll"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "page": { "alias": "page"; "required": false; }; "tableStyle": { "alias": "tableStyle"; "required": false; }; "totalRecordsOnServer": { "alias": "totalRecordsOnServer"; "required": false; }; "currentPageShowingKey": { "alias": "currentPageShowingKey"; "required": false; }; "currentPageShowingWithTotalOnServerKey": { "alias": "currentPageShowingWithTotalOnServerKey"; "required": false; }; "stringCellTemplate": { "alias": "stringCellTemplate"; "required": false; }; "numberCellTemplate": { "alias": "numberCellTemplate"; "required": false; }; "customCellTemplate": { "alias": "customCellTemplate"; "required": false; }; "dateCellTemplate": { "alias": "dateCellTemplate"; "required": false; }; "relativeDateCellTemplate": { "alias": "relativeDateCellTemplate"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; "translationKeyCellTemplate": { "alias": "translationKeyCellTemplate"; "required": false; }; "stringFilterCellTemplate": { "alias": "stringFilterCellTemplate"; "required": false; }; "numberFilterCellTemplate": { "alias": "numberFilterCellTemplate"; "required": false; }; "customFilterCellTemplate": { "alias": "customFilterCellTemplate"; "required": false; }; "dateFilterCellTemplate": { "alias": "dateFilterCellTemplate"; "required": false; }; "relativeDateFilterCellTemplate": { "alias": "relativeDateFilterCellTemplate"; "required": false; }; "filterCellTemplate": { "alias": "filterCellTemplate"; "required": false; }; "translationKeyFilterCellTemplate": { "alias": "translationKeyFilterCellTemplate"; "required": false; }; "additionalActions": { "alias": "additionalActions"; "required": false; }; "frozenActionColumn": { "alias": "frozenActionColumn"; "required": false; }; "actionColumnPosition": { "alias": "actionColumnPosition"; "required": false; }; "parentTemplates": { "alias": "parentTemplates"; "required": false; }; }, { "filtered": "filtered"; "sorted": "sorted"; "viewTableRow": "viewTableRow"; "editTableRow": "editTableRow"; "deleteTableRow": "deleteTableRow"; "selectionChanged": "selectionChanged"; "pageChanged": "pageChanged"; "pageSizeChanged": "pageSizeChanged"; "componentStateChanged": "componentStateChanged"; }, ["stringCellChildTemplate", "numberCellChildTemplate", "customCellChildTemplate", "dateCellChildTemplate", "relativeDateCellChildTemplate", "cellChildTemplate", "translationKeyCellChildTemplate", "stringFilterCellChildTemplate", "numberFilterCellChildTemplate", "customFilterCellChildTemplate", "dateFilterCellChildTemplate", "relativeDateFilterCellChildTemplate", "filterCellChildTemplate", "translationKeyFilterCellChildTemplate", "templates"], never, false, never>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { AfterContentInit, DoCheck, EventEmitter,
|
|
2
|
-
import { DataListGridComponent, DataListGridComponentState, ListGridData } from '../data-list-grid/data-list-grid.component';
|
|
3
|
-
import { Row, Sort, DataTableComponent, DataTableComponentState } from '../data-table/data-table.component';
|
|
4
|
-
import { DataTableColumn } from '../../model/data-table-column.model';
|
|
5
|
-
import { DataSortDirection } from '../../model/data-sort-direction';
|
|
6
|
-
import { DataAction } from '../../model/data-action';
|
|
7
|
-
import { BehaviorSubject, ReplaySubject, Observable } from 'rxjs';
|
|
1
|
+
import { AfterContentInit, DoCheck, EventEmitter, OnInit, QueryList, TemplateRef } from '@angular/core';
|
|
8
2
|
import { PrimeTemplate } from 'primeng/api';
|
|
3
|
+
import { BehaviorSubject, Observable, ReplaySubject } from 'rxjs';
|
|
4
|
+
import { DataAction } from '../../model/data-action';
|
|
5
|
+
import { DataSortDirection } from '../../model/data-sort-direction';
|
|
6
|
+
import { DataTableColumn } from '../../model/data-table-column.model';
|
|
9
7
|
import { Filter } from '../../model/filter.model';
|
|
8
|
+
import { DataListGridComponent, DataListGridComponentState, ListGridData } from '../data-list-grid/data-list-grid.component';
|
|
9
|
+
import { DataTableComponent, DataTableComponentState, Row, Sort } from '../data-table/data-table.component';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export type RowListGridData = ListGridData & Row;
|
|
12
12
|
export type DataViewComponentState = DataListGridComponentState & DataTableComponentState;
|
|
@@ -58,6 +58,9 @@ 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
|
+
*/
|
|
61
64
|
showAllOption: boolean;
|
|
62
65
|
stringTableCellTemplate: TemplateRef<any> | undefined;
|
|
63
66
|
stringTableCellChildTemplate: TemplateRef<any> | undefined;
|
|
@@ -214,7 +217,6 @@ export declare class DataViewComponent implements DoCheck, OnInit, AfterContentI
|
|
|
214
217
|
get editItemObserved(): boolean;
|
|
215
218
|
get deleteItemObserved(): boolean;
|
|
216
219
|
get selectionChangedObserved(): boolean;
|
|
217
|
-
constructor(injector: Injector);
|
|
218
220
|
ngOnInit(): void;
|
|
219
221
|
ngAfterContentInit(): void;
|
|
220
222
|
ngDoCheck(): void;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnInit } from '@angular/core';
|
|
2
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
3
2
|
import { ChartData, ChartOptions } from 'chart.js';
|
|
4
3
|
import { DiagramData } from '../../model/diagram-data';
|
|
5
4
|
import { DiagramType } from '../../model/diagram-type';
|
|
@@ -44,7 +43,6 @@ export declare class DiagramComponent implements OnInit, OnChanges {
|
|
|
44
43
|
shownDiagramTypes: DiagramLayouts[];
|
|
45
44
|
private colorRangeInfo;
|
|
46
45
|
private colorScale;
|
|
47
|
-
constructor(translateService: TranslateService);
|
|
48
46
|
ngOnChanges(): void;
|
|
49
47
|
ngOnInit(): void;
|
|
50
48
|
generateChart(colorScale: any, colorRangeInfo: any): void;
|
|
@@ -4,7 +4,7 @@ import { DataTableColumn } from '../../model/data-table-column.model';
|
|
|
4
4
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
5
5
|
import { ColumnType } from '../../model/column-type.model';
|
|
6
6
|
import { PrimeTemplate } from 'primeng/api';
|
|
7
|
-
import {
|
|
7
|
+
import { Popover } from 'primeng/popover';
|
|
8
8
|
import { Row } from '../data-table/data-table.component';
|
|
9
9
|
import { Button } from 'primeng/button';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
@@ -43,7 +43,7 @@ export declare class FilterViewComponent implements OnInit {
|
|
|
43
43
|
componentStateChanged: EventEmitter<FilterViewComponentState>;
|
|
44
44
|
columnFilterTableColumns: DataTableColumn[];
|
|
45
45
|
ngOnInit(): void;
|
|
46
|
-
panel:
|
|
46
|
+
panel: Popover;
|
|
47
47
|
manageButton: Button;
|
|
48
48
|
trigger: HTMLElement | undefined;
|
|
49
49
|
fitlerViewNoSelection: TemplateRef<any> | undefined;
|
|
@@ -74,7 +74,7 @@ export declare class FilterViewComponent implements OnInit {
|
|
|
74
74
|
getColumn(colId: string, columns: DataTableColumn[]): DataTableColumn | undefined;
|
|
75
75
|
resolveFieldData(object: any, key: any): any;
|
|
76
76
|
getRowObjectFromFiterData(filter: Filter): {
|
|
77
|
-
[
|
|
77
|
+
[filter.columnId]: unknown;
|
|
78
78
|
};
|
|
79
79
|
getRowForValueColumn(row: Row): Row;
|
|
80
80
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterViewComponent, never>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
3
2
|
import { Observable } from 'rxjs';
|
|
4
3
|
import { ColumnType } from '../../model/column-type.model';
|
|
5
4
|
import { DiagramColumn } from '../../model/diagram-column';
|
|
@@ -43,7 +42,6 @@ export declare class GroupByCountDiagramComponent implements OnInit {
|
|
|
43
42
|
dataSelected: EventEmitter<any>;
|
|
44
43
|
diagramTypeChanged: EventEmitter<DiagramType>;
|
|
45
44
|
componentStateChanged: EventEmitter<GroupByCountDiagramComponentState>;
|
|
46
|
-
constructor(translateService: TranslateService);
|
|
47
45
|
ngOnInit(): void;
|
|
48
46
|
dataClicked(event: any): void;
|
|
49
47
|
onDiagramTypeChanged(newDiagramType: DiagramType): void;
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { AfterContentInit, EventEmitter, OnInit, QueryList, TemplateRef } from '@angular/core';
|
|
2
|
+
import { PrimeTemplate } from 'primeng/api';
|
|
2
3
|
import { BehaviorSubject, Observable, ReplaySubject } from 'rxjs';
|
|
3
4
|
import { DataAction } from '../../model/data-action';
|
|
4
5
|
import { DataSortDirection } from '../../model/data-sort-direction';
|
|
5
6
|
import { DataTableColumn } from '../../model/data-table-column.model';
|
|
7
|
+
import { Filter } from '../../model/filter.model';
|
|
6
8
|
import { ColumnGroupSelectionComponentState, GroupSelectionChangedEvent } from '../column-group-selection/column-group-selection.component';
|
|
7
|
-
import { PrimeTemplate } from 'primeng/api';
|
|
8
9
|
import { ActionColumnChangedEvent, ColumnSelectionChangedEvent, CustomGroupColumnSelectorComponentState } from '../custom-group-column-selector/custom-group-column-selector.component';
|
|
9
|
-
import { SlotService } from '@onecx/angular-remote-components';
|
|
10
10
|
import { DataLayoutSelectionComponentState } from '../data-layout-selection/data-layout-selection.component';
|
|
11
11
|
import { DataListGridSortingComponentState } from '../data-list-grid-sorting/data-list-grid-sorting.component';
|
|
12
12
|
import { Row, Sort } from '../data-table/data-table.component';
|
|
13
13
|
import { DataViewComponent, DataViewComponentState, RowListGridData } from '../data-view/data-view.component';
|
|
14
|
-
import { Filter } from '../../model/filter.model';
|
|
15
14
|
import { FilterViewComponentState, FilterViewDisplayMode } from '../filter-view/filter-view.component';
|
|
16
15
|
import * as i0 from "@angular/core";
|
|
17
16
|
export type InteractiveDataViewComponentState = ColumnGroupSelectionComponentState & CustomGroupColumnSelectorComponentState & DataLayoutSelectionComponentState & DataListGridSortingComponentState & DataViewComponentState & FilterViewComponentState;
|
|
@@ -57,6 +56,9 @@ export declare class InteractiveDataViewComponent implements OnInit, AfterConten
|
|
|
57
56
|
sortStates: DataSortDirection[];
|
|
58
57
|
pageSizes: number[];
|
|
59
58
|
pageSize: number | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* @deprecated
|
|
61
|
+
*/
|
|
60
62
|
showAllOption: boolean;
|
|
61
63
|
totalRecordsOnServer: number | undefined;
|
|
62
64
|
layout: 'grid' | 'list' | 'table';
|
|
@@ -91,6 +93,8 @@ export declare class InteractiveDataViewComponent implements OnInit, AfterConten
|
|
|
91
93
|
set displayedColumns(value: DataTableColumn[]);
|
|
92
94
|
frozenActionColumn: boolean;
|
|
93
95
|
actionColumnPosition: 'left' | 'right';
|
|
96
|
+
headerStyleClass: string | undefined;
|
|
97
|
+
contentStyleClass: string | undefined;
|
|
94
98
|
tableCell: TemplateRef<any> | undefined;
|
|
95
99
|
/**
|
|
96
100
|
* @deprecated Will be replaced by dateTableCell
|
|
@@ -151,7 +155,7 @@ export declare class InteractiveDataViewComponent implements OnInit, AfterConten
|
|
|
151
155
|
deleteItem: EventEmitter<RowListGridData>;
|
|
152
156
|
viewItem: EventEmitter<RowListGridData>;
|
|
153
157
|
editItem: EventEmitter<RowListGridData>;
|
|
154
|
-
dataViewLayoutChange: EventEmitter<"
|
|
158
|
+
dataViewLayoutChange: EventEmitter<"table" | "grid" | "list">;
|
|
155
159
|
displayedColumnsChange: EventEmitter<DataTableColumn[]>;
|
|
156
160
|
displayedColumnKeysChange: EventEmitter<string[]>;
|
|
157
161
|
selectionChanged: EventEmitter<Row[]>;
|
|
@@ -201,7 +205,7 @@ export declare class InteractiveDataViewComponent implements OnInit, AfterConten
|
|
|
201
205
|
columnGroupSlotName: string;
|
|
202
206
|
isColumnGroupSelectionComponentDefined$: Observable<boolean>;
|
|
203
207
|
groupSelectionChangedSlotEmitter: EventEmitter<ColumnGroupData | undefined>;
|
|
204
|
-
constructor(
|
|
208
|
+
constructor();
|
|
205
209
|
ngOnInit(): void;
|
|
206
210
|
ngAfterContentInit(): void;
|
|
207
211
|
filtering(event: any): void;
|
|
@@ -220,5 +224,5 @@ export declare class InteractiveDataViewComponent implements OnInit, AfterConten
|
|
|
220
224
|
onPageChange(event: number): void;
|
|
221
225
|
onPageSizeChange(event: number): void;
|
|
222
226
|
static ɵfac: i0.ɵɵFactoryDeclaration<InteractiveDataViewComponent, never>;
|
|
223
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InteractiveDataViewComponent, "ocx-interactive-data-view", never, { "searchConfigPermission": { "alias": "searchConfigPermission"; "required": false; }; "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; }; "name": { "alias": "name"; "required": false; }; "titleLineId": { "alias": "titleLineId"; "required": false; }; "subtitleLineIds": { "alias": "subtitleLineIds"; "required": false; }; "supportedViewLayouts": { "alias": "supportedViewLayouts"; "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; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "sortField": { "alias": "sortField"; "required": false; }; "sortStates": { "alias": "sortStates"; "required": false; }; "pageSizes": { "alias": "pageSizes"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "showAllOption": { "alias": "showAllOption"; "required": false; }; "totalRecordsOnServer": { "alias": "totalRecordsOnServer"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "defaultGroupKey": { "alias": "defaultGroupKey"; "required": false; }; "customGroupKey": { "alias": "customGroupKey"; "required": false; }; "groupSelectionNoGroupSelectedKey": { "alias": "groupSelectionNoGroupSelectedKey"; "required": false; }; "currentPageShowingKey": { "alias": "currentPageShowingKey"; "required": false; }; "currentPageShowingWithTotalOnServerKey": { "alias": "currentPageShowingWithTotalOnServerKey"; "required": false; }; "additionalActions": { "alias": "additionalActions"; "required": false; }; "listGridPaginator": { "alias": "listGridPaginator"; "required": false; }; "tablePaginator": { "alias": "tablePaginator"; "required": false; }; "disableFilterView": { "alias": "disableFilterView"; "required": false; }; "filterViewDisplayMode": { "alias": "filterViewDisplayMode"; "required": false; }; "filterViewChipStyleClass": { "alias": "filterViewChipStyleClass"; "required": false; }; "filterViewTableStyle": { "alias": "filterViewTableStyle"; "required": false; }; "filterViewPanelStyle": { "alias": "filterViewPanelStyle"; "required": false; }; "selectDisplayedChips": { "alias": "selectDisplayedChips"; "required": false; }; "page": { "alias": "page"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "displayedColumnKeys": { "alias": "displayedColumnKeys"; "required": false; }; "displayedColumns": { "alias": "displayedColumns"; "required": false; }; "frozenActionColumn": { "alias": "frozenActionColumn"; "required": false; }; "actionColumnPosition": { "alias": "actionColumnPosition"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "filtered": "filtered"; "sorted": "sorted"; "deleteItem": "deleteItem"; "viewItem": "viewItem"; "editItem": "editItem"; "dataViewLayoutChange": "dataViewLayoutChange"; "displayedColumnsChange": "displayedColumnsChange"; "displayedColumnKeysChange": "displayedColumnKeysChange"; "selectionChanged": "selectionChanged"; "pageChanged": "pageChanged"; "pageSizeChanged": "pageSizeChanged"; "componentStateChanged": "componentStateChanged"; }, ["tableCell", "tableDateCell", "dateTableCell", "tableRelativeDateCell", "relativeDateTableCell", "tableTranslationKeyCell", "translationKeyTableCell", "gridItemSubtitleLines", "listItemSubtitleLines", "stringTableCell", "numberTableCell", "customTableCell", "gridItem", "listItem", "topCenter", "listValue", "translationKeyListValue", "numberListValue", "relativeDateListValue", "customListValue", "stringListValue", "dateListValue", "tableFilterCell", "dateTableFilterCell", "relativeDateTableFilterCell", "translationKeyTableFilterCell", "stringTableFilterCell", "numberTableFilterCell", "customTableFilterCell", "templates"], never, false, never>;
|
|
227
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InteractiveDataViewComponent, "ocx-interactive-data-view", never, { "searchConfigPermission": { "alias": "searchConfigPermission"; "required": false; }; "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; }; "name": { "alias": "name"; "required": false; }; "titleLineId": { "alias": "titleLineId"; "required": false; }; "subtitleLineIds": { "alias": "subtitleLineIds"; "required": false; }; "supportedViewLayouts": { "alias": "supportedViewLayouts"; "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; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "sortField": { "alias": "sortField"; "required": false; }; "sortStates": { "alias": "sortStates"; "required": false; }; "pageSizes": { "alias": "pageSizes"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "showAllOption": { "alias": "showAllOption"; "required": false; }; "totalRecordsOnServer": { "alias": "totalRecordsOnServer"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "defaultGroupKey": { "alias": "defaultGroupKey"; "required": false; }; "customGroupKey": { "alias": "customGroupKey"; "required": false; }; "groupSelectionNoGroupSelectedKey": { "alias": "groupSelectionNoGroupSelectedKey"; "required": false; }; "currentPageShowingKey": { "alias": "currentPageShowingKey"; "required": false; }; "currentPageShowingWithTotalOnServerKey": { "alias": "currentPageShowingWithTotalOnServerKey"; "required": false; }; "additionalActions": { "alias": "additionalActions"; "required": false; }; "listGridPaginator": { "alias": "listGridPaginator"; "required": false; }; "tablePaginator": { "alias": "tablePaginator"; "required": false; }; "disableFilterView": { "alias": "disableFilterView"; "required": false; }; "filterViewDisplayMode": { "alias": "filterViewDisplayMode"; "required": false; }; "filterViewChipStyleClass": { "alias": "filterViewChipStyleClass"; "required": false; }; "filterViewTableStyle": { "alias": "filterViewTableStyle"; "required": false; }; "filterViewPanelStyle": { "alias": "filterViewPanelStyle"; "required": false; }; "selectDisplayedChips": { "alias": "selectDisplayedChips"; "required": false; }; "page": { "alias": "page"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "displayedColumnKeys": { "alias": "displayedColumnKeys"; "required": false; }; "displayedColumns": { "alias": "displayedColumns"; "required": false; }; "frozenActionColumn": { "alias": "frozenActionColumn"; "required": false; }; "actionColumnPosition": { "alias": "actionColumnPosition"; "required": false; }; "headerStyleClass": { "alias": "headerStyleClass"; "required": false; }; "contentStyleClass": { "alias": "contentStyleClass"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "filtered": "filtered"; "sorted": "sorted"; "deleteItem": "deleteItem"; "viewItem": "viewItem"; "editItem": "editItem"; "dataViewLayoutChange": "dataViewLayoutChange"; "displayedColumnsChange": "displayedColumnsChange"; "displayedColumnKeysChange": "displayedColumnKeysChange"; "selectionChanged": "selectionChanged"; "pageChanged": "pageChanged"; "pageSizeChanged": "pageSizeChanged"; "componentStateChanged": "componentStateChanged"; }, ["tableCell", "tableDateCell", "dateTableCell", "tableRelativeDateCell", "relativeDateTableCell", "tableTranslationKeyCell", "translationKeyTableCell", "gridItemSubtitleLines", "listItemSubtitleLines", "stringTableCell", "numberTableCell", "customTableCell", "gridItem", "listItem", "topCenter", "listValue", "translationKeyListValue", "numberListValue", "relativeDateListValue", "customListValue", "stringListValue", "dateListValue", "tableFilterCell", "dateTableFilterCell", "relativeDateTableFilterCell", "translationKeyTableFilterCell", "stringTableFilterCell", "numberTableFilterCell", "customTableFilterCell", "templates"], never, false, never>;
|
|
224
228
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface LifecycleStep {
|
|
3
|
+
id: string;
|
|
4
|
+
title: string;
|
|
5
|
+
details?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class LifecycleComponent {
|
|
8
|
+
steps: LifecycleStep[];
|
|
9
|
+
activeStepId: string | undefined;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LifecycleComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LifecycleComponent, "ocx-lifecycle", never, { "steps": { "alias": "steps"; "required": false; }; "activeStepId": { "alias": "activeStepId"; "required": false; }; }, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnInit, SimpleChanges, TemplateRef, Type } from '@angular/core';
|
|
2
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
3
2
|
import { MenuItem } from 'primeng/api';
|
|
4
3
|
import { Observable } from 'rxjs';
|
|
5
|
-
import { AppStateService } from '@onecx/angular-integration-interface';
|
|
6
|
-
import { UserService } from '@onecx/angular-integration-interface';
|
|
7
4
|
import { BreadcrumbService } from '../../services/breadcrumb.service';
|
|
8
5
|
import { PrimeIcon } from '../../utils/primeicon.utils';
|
|
9
6
|
import * as i0 from "@angular/core";
|
|
@@ -94,7 +91,7 @@ export declare class PageHeaderComponent implements OnInit, OnChanges {
|
|
|
94
91
|
objectInfoColumnLayoutClasses: string;
|
|
95
92
|
objectInfoDefaultLayoutClasses: string;
|
|
96
93
|
protected breadcrumbs: BreadcrumbService;
|
|
97
|
-
constructor(
|
|
94
|
+
constructor();
|
|
98
95
|
ngOnChanges(changes: SimpleChanges): void;
|
|
99
96
|
ngOnInit(): void;
|
|
100
97
|
onAction(action: string): void;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { AfterContentInit, AfterViewInit, ElementRef, EventEmitter, QueryList, TemplateRef } from '@angular/core';
|
|
2
|
-
import { Action } from '../page-header/page-header.component';
|
|
3
2
|
import { FormControlName, FormGroup } from '@angular/forms';
|
|
4
3
|
import { Observable } from 'rxjs';
|
|
5
|
-
import {
|
|
4
|
+
import { Action } from '../page-header/page-header.component';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export interface SearchHeaderComponentState {
|
|
8
7
|
activeViewMode?: 'basic' | 'advanced';
|
|
@@ -57,12 +56,12 @@ export declare class SearchHeaderComponent implements AfterContentInit, AfterVie
|
|
|
57
56
|
hasAdvanced: boolean;
|
|
58
57
|
simpleAdvancedAction: Action;
|
|
59
58
|
headerActions: Action[];
|
|
60
|
-
searchButtonsReversed
|
|
59
|
+
searchButtonsReversed$: Observable<boolean>;
|
|
61
60
|
fieldValues$: Observable<{
|
|
62
61
|
[key: string]: unknown;
|
|
63
62
|
}> | undefined;
|
|
64
63
|
searchConfigChangedSlotEmitter: EventEmitter<SearchConfigData | undefined>;
|
|
65
|
-
constructor(
|
|
64
|
+
constructor();
|
|
66
65
|
ngAfterContentInit(): void;
|
|
67
66
|
ngAfterViewInit(): void;
|
|
68
67
|
toggleViewMode(): void;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { DoCheck
|
|
2
|
-
import { SearchHeaderComponent } from '../components/search-header/search-header.component';
|
|
1
|
+
import { DoCheck } from '@angular/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class AdvancedDirective implements DoCheck {
|
|
5
4
|
private viewContainer;
|
|
6
|
-
private templateRef
|
|
7
|
-
private searchHeader
|
|
8
|
-
constructor(
|
|
5
|
+
private templateRef;
|
|
6
|
+
private searchHeader;
|
|
7
|
+
constructor();
|
|
9
8
|
ngDoCheck(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedDirective,
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedDirective, never>;
|
|
11
10
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AdvancedDirective, "[ocxAdvanced]", never, {}, {}, never, never, false, never>;
|
|
12
11
|
}
|