@onecx/angular-accelerator 6.0.0-rc.2 → 6.0.0-rc.20
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/i18n/primeng/de.json +4 -1
- package/assets/i18n/primeng/en.json +4 -1
- package/assets/styles.scss +0 -4
- package/fesm2022/onecx-angular-accelerator-testing.mjs +160 -33
- package/fesm2022/onecx-angular-accelerator-testing.mjs.map +1 -1
- package/fesm2022/onecx-angular-accelerator.mjs +1780 -989
- package/fesm2022/onecx-angular-accelerator.mjs.map +1 -1
- package/index.d.ts +20 -8
- package/lib/angular-accelerator-primeng.module.d.ts +6 -4
- package/lib/angular-accelerator.module.d.ts +33 -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 +8 -35
- 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 +16 -55
- package/lib/components/data-view/data-view.component.d.ts +9 -77
- package/lib/components/diagram/diagram.component.d.ts +0 -2
- package/lib/components/dialog/dialog-content/dialog-content.component.d.ts +29 -0
- package/lib/components/dialog/dialog-footer/dialog-footer.component.d.ts +39 -0
- package/lib/components/dialog/dialog-inline/dialog-inline.component.d.ts +11 -0
- package/lib/components/dialog/dialog-message-content/dialog-message-content.component.d.ts +8 -0
- package/lib/components/error-component/global-error.component.d.ts +12 -0
- package/lib/components/filter-view/filter-view.component.d.ts +3 -5
- package/lib/components/group-by-count-diagram/group-by-count-diagram.component.d.ts +1 -8
- package/lib/components/interactive-data-view/interactive-data-view.component.d.ts +33 -51
- package/lib/components/lifecycle/lifecycle.component.d.ts +12 -0
- package/lib/components/loading-indicator/loading-indicator.component.d.ts +5 -0
- package/lib/components/page-header/page-header.component.d.ts +2 -8
- package/lib/components/search-header/search-header.component.d.ts +4 -10
- package/lib/directives/advanced.directive.d.ts +5 -6
- package/lib/directives/basic.directive.d.ts +11 -0
- 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 -18
- package/lib/directives/loading-indicator.directive.d.ts +16 -0
- 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/breadcrumb-menu-item.model.d.ts +0 -4
- package/lib/model/button-dialog.d.ts +47 -0
- package/lib/model/column-type.model.d.ts +1 -8
- package/lib/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/pipes/relative-date.pipe.d.ts +10 -0
- package/lib/services/breadcrumb.service.d.ts +2 -4
- package/lib/services/export-data.service.d.ts +18 -0
- package/lib/services/portal-dialog.service.d.ts +427 -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 -5
- package/lib/utils/image-logo-url.utils.d.ts +3 -0
- package/migrations.json +34 -0
- package/package.json +23 -17
- 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/custom-group-column-selector.harness.d.ts +6 -6
- package/testing/data-layout-selection.harness.d.ts +7 -6
- package/testing/data-list-grid.harness.d.ts +3 -3
- package/testing/data-table.harness.d.ts +3 -3
- package/testing/data-view.harness.d.ts +2 -2
- package/testing/default-grid-item.harness.d.ts +1 -1
- package/testing/default-list-item.harness.d.ts +4 -4
- package/testing/diagram.harness.d.ts +1 -1
- package/testing/dialog-content.harness.d.ts +6 -0
- package/testing/dialog-footer.harness.d.ts +14 -0
- package/testing/dialog-inline.harness.d.ts +8 -0
- package/testing/dialog-message-content.harness.d.ts +8 -0
- package/testing/filter-view.harness.d.ts +6 -6
- package/testing/group-by-count-diagram.harness.d.ts +1 -1
- package/testing/index.d.ts +7 -0
- package/testing/interactive-data-view.harness.d.ts +11 -9
- package/testing/lifecycle.harness.d.ts +6 -0
- package/testing/page-header.harness.d.ts +6 -6
- package/testing/search-header.harness.d.ts +5 -5
- package/esm2022/index.mjs +0 -61
- package/esm2022/lib/angular-accelerator-primeng.module.mjs +0 -146
- package/esm2022/lib/angular-accelerator.module.mjs +0 -194
- 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 -828
- 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 -103
- 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/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 -41
- package/esm2022/lib/utils/async-translate-loader.utils.mjs +0 -12
- package/esm2022/lib/utils/caching-translate-loader.utils.mjs +0 -15
- 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 -27
- 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 -39
- 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/lib/components/data-loading-error/data-loading-error.component.d.ts +0 -8
- package/lib/services/translation-cache.service.d.ts +0 -16
- package/lib/utils/async-translate-loader.utils.d.ts +0 -9
- package/lib/utils/caching-translate-loader.utils.d.ts +0 -13
- package/lib/utils/create-remote-component-and-mfe-translate-loader.utils.d.ts +0 -6
- package/lib/utils/create-remote-component-translate-loader.utils.d.ts +0 -5
- package/lib/utils/create-translate-loader.utils.d.ts +0 -5
- package/lib/utils/translate.combined.loader.d.ts +0 -9
package/index.d.ts
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
|
+
export * from './lib/directives/content-container.directive';
|
|
2
|
+
export * from './lib/directives/content.directive';
|
|
1
3
|
export * from './lib/directives/if-permission.directive';
|
|
2
4
|
export * from './lib/directives/if-breakpoint.directive';
|
|
3
5
|
export * from './lib/directives/src.directive';
|
|
4
6
|
export * from './lib/directives/advanced.directive';
|
|
5
7
|
export * from './lib/directives/tooltipOnOverflow.directive';
|
|
8
|
+
export * from './lib/directives/template.directive';
|
|
9
|
+
export * from './lib/directives/basic.directive';
|
|
10
|
+
export * from './lib/directives/loading-indicator.directive';
|
|
6
11
|
export * from './lib/components/column-group-selection/column-group-selection.component';
|
|
12
|
+
export * from './lib/components/content/content.component';
|
|
13
|
+
export * from './lib/components/content-container/content-container.component';
|
|
7
14
|
export * from './lib/components/custom-group-column-selector/custom-group-column-selector.component';
|
|
8
15
|
export * from './lib/components/data-layout-selection/data-layout-selection.component';
|
|
9
16
|
export * from './lib/components/data-list-grid/data-list-grid.component';
|
|
@@ -14,16 +21,25 @@ export * from './lib/components/diagram/diagram.component';
|
|
|
14
21
|
export * from './lib/components/filter-view/filter-view.component';
|
|
15
22
|
export * from './lib/components/group-by-count-diagram/group-by-count-diagram.component';
|
|
16
23
|
export * from './lib/components/interactive-data-view/interactive-data-view.component';
|
|
24
|
+
export * from './lib/components/lifecycle/lifecycle.component';
|
|
17
25
|
export * from './lib/components/page-header/page-header.component';
|
|
18
26
|
export * from './lib/components/search-header/search-header.component';
|
|
19
|
-
export * from './lib/components/
|
|
27
|
+
export * from './lib/components/dialog/dialog-message-content/dialog-message-content.component';
|
|
28
|
+
export * from './lib/components/loading-indicator/loading-indicator.component';
|
|
29
|
+
export * from './lib/components/dialog/dialog-content/dialog-content.component';
|
|
30
|
+
export * from './lib/components/dialog/dialog-inline/dialog-inline.component';
|
|
31
|
+
export * from './lib/components/dialog/dialog-footer/dialog-footer.component';
|
|
32
|
+
export * from './lib/components/error-component/global-error.component';
|
|
20
33
|
export * from './lib/services/breadcrumb.service';
|
|
21
|
-
export * from './lib/services/
|
|
34
|
+
export * from './lib/services/portal-dialog.service';
|
|
35
|
+
export * from './lib/services/export-data.service';
|
|
22
36
|
export * from './lib/pipes/dynamic.pipe';
|
|
23
37
|
export * from './lib/pipes/ocxtimeago.pipe';
|
|
38
|
+
export * from './lib/pipes/relative-date.pipe';
|
|
24
39
|
export * from './lib/model/breadcrumb-menu-item.model';
|
|
25
40
|
export * from './lib/model/column-type.model';
|
|
26
41
|
export * from './lib/model/data-action';
|
|
42
|
+
export * from './lib/model/button-dialog';
|
|
27
43
|
export * from './lib/model/data-sort-direction';
|
|
28
44
|
export * from './lib/model/data-table-column.model';
|
|
29
45
|
export * from './lib/model/diagram-column';
|
|
@@ -33,18 +49,14 @@ export * from './lib/angular-accelerator.module';
|
|
|
33
49
|
export * from './lib/angular-accelerator-primeng.module';
|
|
34
50
|
export * from './lib/functions/flatten-object';
|
|
35
51
|
export * from './lib/functions/at-least-one-field-filled-validator';
|
|
36
|
-
export * from './lib/utils/async-translate-loader.utils';
|
|
37
|
-
export * from './lib/utils/caching-translate-loader.utils';
|
|
38
52
|
export * from './lib/utils/colorutils';
|
|
39
|
-
export * from './lib/utils/
|
|
53
|
+
export * from './lib/utils/data-operation-strategy';
|
|
40
54
|
export * from './lib/utils/dateutils';
|
|
41
55
|
export * from './lib/utils/objectutils';
|
|
42
56
|
export * from './lib/utils/primeicon.utils';
|
|
43
|
-
export * from './lib/utils/translate.combined.loader';
|
|
44
|
-
export * from './lib/utils/create-remote-component-and-mfe-translate-loader.utils';
|
|
45
|
-
export * from './lib/utils/create-remote-component-translate-loader.utils';
|
|
46
57
|
export * from './lib/utils/enum-to-dropdown-options.utils';
|
|
47
58
|
export * from './lib/utils/criteria.utils';
|
|
48
59
|
export * from './lib/utils/string-and-array-helper-functions.utils';
|
|
49
60
|
export * from './lib/utils/template.utils';
|
|
50
61
|
export * from './lib/utils/filter.utils';
|
|
62
|
+
export * from './lib/utils/image-logo-url.utils';
|
|
@@ -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 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]>;
|
|
24
26
|
static ɵinj: i0.ɵɵInjectorDeclaration<AngularAcceleratorPrimeNgModule>;
|
|
25
27
|
}
|
|
@@ -8,30 +8,43 @@ 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 "./directives/
|
|
20
|
-
import * as i18 from "./
|
|
21
|
-
import * as i19 from "./directives/
|
|
22
|
-
import * as i20 from "./
|
|
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/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";
|
|
30
43
|
export declare class AngularAcceleratorMissingTranslationHandler implements MissingTranslationHandler {
|
|
31
44
|
handle(params: MissingTranslationHandlerParams): string;
|
|
32
45
|
}
|
|
33
46
|
export declare class AngularAcceleratorModule {
|
|
34
47
|
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.
|
|
48
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AngularAcceleratorModule, [typeof i1.ColumnGroupSelectionComponent, typeof i2.CustomGroupColumnSelectorComponent, typeof i3.DataLayoutSelectionComponent, typeof i4.DataListGridSortingComponent, typeof i5.DataListGridComponent, typeof i6.DataTableComponent, typeof i7.DataViewComponent, typeof i8.InteractiveDataViewComponent, typeof i9.LifecycleComponent, typeof i10.PageHeaderComponent, typeof i11.DynamicPipe, typeof i12.SearchHeaderComponent, typeof i13.DiagramComponent, typeof i14.GroupByCountDiagramComponent, typeof i15.OcxContentComponent, typeof i16.OcxContentContainerComponent, typeof i17.IfPermissionDirective, typeof i18.IfBreakpointDirective, typeof i19.SrcDirective, typeof i20.OcxTimeAgoPipe, typeof i21.AdvancedDirective, typeof i22.TooltipOnOverflowDirective, typeof i23.FilterViewComponent, typeof i24.TemplateDirective, typeof i25.OcxContentDirective, typeof i26.OcxContentContainerDirective, typeof i27.GlobalErrorComponent, typeof i28.LoadingIndicatorComponent, typeof i29.LoadingIndicatorDirective, typeof i30.BasicDirective, typeof i31.DialogFooterComponent, typeof i32.DialogContentComponent, typeof i33.DialogInlineComponent, typeof i34.DialogMessageContentComponent], [typeof i35.CommonModule, typeof i36.AngularAcceleratorPrimeNgModule, typeof i37.AngularRemoteComponentsModule, typeof i38.TranslateModule, typeof i39.FormsModule, typeof i40.RouterModule, typeof i39.ReactiveFormsModule], [typeof i37.AngularRemoteComponentsModule, typeof i1.ColumnGroupSelectionComponent, typeof i2.CustomGroupColumnSelectorComponent, typeof i3.DataLayoutSelectionComponent, typeof i5.DataListGridComponent, typeof i6.DataTableComponent, typeof i7.DataViewComponent, typeof i8.InteractiveDataViewComponent, typeof i9.LifecycleComponent, typeof i10.PageHeaderComponent, typeof i12.SearchHeaderComponent, typeof i13.DiagramComponent, typeof i14.GroupByCountDiagramComponent, typeof i15.OcxContentComponent, typeof i16.OcxContentContainerComponent, typeof i17.IfPermissionDirective, typeof i18.IfBreakpointDirective, typeof i19.SrcDirective, typeof i20.OcxTimeAgoPipe, typeof i21.AdvancedDirective, typeof i22.TooltipOnOverflowDirective, typeof i23.FilterViewComponent, typeof i24.TemplateDirective, typeof i25.OcxContentDirective, typeof i26.OcxContentContainerDirective, typeof i27.GlobalErrorComponent, typeof i28.LoadingIndicatorComponent, typeof i29.LoadingIndicatorDirective, typeof i30.BasicDirective, typeof i31.DialogFooterComponent, typeof i32.DialogContentComponent, typeof i33.DialogInlineComponent, typeof i34.DialogMessageContentComponent]>;
|
|
36
49
|
static ɵinj: i0.ɵɵInjectorDeclaration<AngularAcceleratorModule>;
|
|
37
50
|
}
|
|
@@ -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,24 +34,13 @@ 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
|
-
_showAllOption$: BehaviorSubject<boolean>;
|
|
57
|
-
set showAllOption(value: boolean);
|
|
58
44
|
emptyResultsMessage: string | undefined;
|
|
59
45
|
fallbackImage: string;
|
|
60
46
|
layout: 'grid' | 'list';
|
|
@@ -121,19 +107,6 @@ export declare class DataListGridComponent extends DataSortBase implements OnIni
|
|
|
121
107
|
relativeDateListValueTemplate: TemplateRef<any> | undefined;
|
|
122
108
|
relativeDateListValueChildTemplate: TemplateRef<any> | undefined;
|
|
123
109
|
get _relativeDateListValue(): TemplateRef<any> | undefined;
|
|
124
|
-
/**
|
|
125
|
-
* @deprecated Will be removed and instead to change the template of a specific column
|
|
126
|
-
* use the new approach instead by following the naming convention column id + IdListValue
|
|
127
|
-
* e.g. for a column with the id 'status' use pTemplate="statusIdListValue"
|
|
128
|
-
*/
|
|
129
|
-
customListValueTemplate: TemplateRef<any> | undefined;
|
|
130
|
-
/**
|
|
131
|
-
* @deprecated Will be removed and instead to change the template of a specific column
|
|
132
|
-
* use the new approach instead by following the naming convention column id + IdListValue
|
|
133
|
-
* e.g. for a column with the id 'status' use pTemplate="statusIdListValue"
|
|
134
|
-
*/
|
|
135
|
-
customListValueChildTemplate: TemplateRef<any> | undefined;
|
|
136
|
-
get _customListValue(): TemplateRef<any> | undefined;
|
|
137
110
|
stringListValueTemplate: TemplateRef<any> | undefined;
|
|
138
111
|
stringListValueChildTemplate: TemplateRef<any> | undefined;
|
|
139
112
|
get _stringListValue(): TemplateRef<any> | undefined;
|
|
@@ -157,7 +130,6 @@ export declare class DataListGridComponent extends DataSortBase implements OnIni
|
|
|
157
130
|
get editItemObserved(): boolean;
|
|
158
131
|
get deleteItemObserved(): boolean;
|
|
159
132
|
get sortDirectionNumber(): number;
|
|
160
|
-
showMenu: boolean;
|
|
161
133
|
gridMenuItems: MenuItem[];
|
|
162
134
|
selectedItem: ListGridData | undefined;
|
|
163
135
|
observedOutputs: number;
|
|
@@ -171,7 +143,8 @@ export declare class DataListGridComponent extends DataSortBase implements OnIni
|
|
|
171
143
|
set parentTemplates(value: QueryList<PrimeTemplate> | null | undefined);
|
|
172
144
|
columnType: typeof ColumnType;
|
|
173
145
|
templatesObservables: Record<string, Observable<TemplateRef<any> | null>>;
|
|
174
|
-
|
|
146
|
+
private cachedOverflowMenuItemsVisibility$;
|
|
147
|
+
constructor();
|
|
175
148
|
ngDoCheck(): void;
|
|
176
149
|
ngOnInit(): void;
|
|
177
150
|
ngAfterContentInit(): void;
|
|
@@ -193,6 +166,6 @@ export declare class DataListGridComponent extends DataSortBase implements OnIni
|
|
|
193
166
|
findTemplate(templates: PrimeTemplate[], names: string[]): PrimeTemplate | undefined;
|
|
194
167
|
getTemplate(column: DataTableColumn): Observable<TemplateRef<any> | null>;
|
|
195
168
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataListGridComponent, never>;
|
|
196
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DataListGridComponent, "ocx-data-list-grid", never, { "titleLineId": { "alias": "titleLineId"; "required": false; }; "subtitleLineIds": { "alias": "subtitleLineIds"; "required": false; }; "clientSideSorting": { "alias": "clientSideSorting"; "required": false; }; "clientSideFiltering": { "alias": "clientSideFiltering"; "required": false; }; "sortStates": { "alias": "sortStates"; "required": false; }; "pageSizes": { "alias": "pageSizes"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "
|
|
169
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataListGridComponent, "ocx-data-list-grid", never, { "titleLineId": { "alias": "titleLineId"; "required": false; }; "subtitleLineIds": { "alias": "subtitleLineIds"; "required": false; }; "clientSideSorting": { "alias": "clientSideSorting"; "required": false; }; "clientSideFiltering": { "alias": "clientSideFiltering"; "required": false; }; "sortStates": { "alias": "sortStates"; "required": false; }; "pageSizes": { "alias": "pageSizes"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "emptyResultsMessage": { "alias": "emptyResultsMessage"; "required": false; }; "fallbackImage": { "alias": "fallbackImage"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "viewPermission": { "alias": "viewPermission"; "required": false; }; "editPermission": { "alias": "editPermission"; "required": false; }; "deletePermission": { "alias": "deletePermission"; "required": false; }; "deleteActionVisibleField": { "alias": "deleteActionVisibleField"; "required": false; }; "deleteActionEnabledField": { "alias": "deleteActionEnabledField"; "required": false; }; "viewActionVisibleField": { "alias": "viewActionVisibleField"; "required": false; }; "viewActionEnabledField": { "alias": "viewActionEnabledField"; "required": false; }; "editActionVisibleField": { "alias": "editActionVisibleField"; "required": false; }; "editActionEnabledField": { "alias": "editActionEnabledField"; "required": false; }; "viewMenuItemKey": { "alias": "viewMenuItemKey"; "required": false; }; "editMenuItemKey": { "alias": "editMenuItemKey"; "required": false; }; "deleteMenuItemKey": { "alias": "deleteMenuItemKey"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "page": { "alias": "page"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "name": { "alias": "name"; "required": false; }; "totalRecordsOnServer": { "alias": "totalRecordsOnServer"; "required": false; }; "currentPageShowingKey": { "alias": "currentPageShowingKey"; "required": false; }; "currentPageShowingWithTotalOnServerKey": { "alias": "currentPageShowingWithTotalOnServerKey"; "required": false; }; "data": { "alias": "data"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "sortField": { "alias": "sortField"; "required": false; }; "gridItemSubtitleLinesTemplate": { "alias": "gridItemSubtitleLinesTemplate"; "required": false; }; "listItemSubtitleLinesTemplate": { "alias": "listItemSubtitleLinesTemplate"; "required": false; }; "listItemTemplate": { "alias": "listItemTemplate"; "required": false; }; "gridItemTemplate": { "alias": "gridItemTemplate"; "required": false; }; "listValueTemplate": { "alias": "listValueTemplate"; "required": false; }; "translationKeyListValueTemplate": { "alias": "translationKeyListValueTemplate"; "required": false; }; "numberListValueTemplate": { "alias": "numberListValueTemplate"; "required": false; }; "relativeDateListValueTemplate": { "alias": "relativeDateListValueTemplate"; "required": false; }; "stringListValueTemplate": { "alias": "stringListValueTemplate"; "required": false; }; "dateListValueTemplate": { "alias": "dateListValueTemplate"; "required": false; }; "additionalActions": { "alias": "additionalActions"; "required": false; }; "parentTemplates": { "alias": "parentTemplates"; "required": false; }; }, { "viewItem": "viewItem"; "editItem": "editItem"; "deleteItem": "deleteItem"; "pageChanged": "pageChanged"; "pageSizeChanged": "pageSizeChanged"; "componentStateChanged": "componentStateChanged"; }, ["gridItemSubtitleLinesChildTemplate", "listItemSubtitleLinesChildTemplate", "listItemChildTemplate", "gridItemChildTemplate", "listValueChildTemplate", "translationKeyListValueChildTemplate", "numberListValueChildTemplate", "relativeDateListValueChildTemplate", "stringListValueChildTemplate", "dateListValueChildTemplate", "templates"], never, false, never>;
|
|
197
170
|
}
|
|
198
171
|
export {};
|
|
@@ -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,17 +1,14 @@
|
|
|
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';
|
|
4
|
+
import { MultiSelectItem } from 'primeng/multiselect';
|
|
7
5
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
8
6
|
import { ColumnType } from '../../model/column-type.model';
|
|
9
7
|
import { DataAction } from '../../model/data-action';
|
|
10
8
|
import { DataSortDirection } from '../../model/data-sort-direction';
|
|
11
9
|
import { DataTableColumn } from '../../model/data-table-column.model';
|
|
12
|
-
import { DataSortBase } from '../data-sort-base/data-sort-base';
|
|
13
|
-
import { MultiSelectItem } from 'primeng/multiselect';
|
|
14
10
|
import { Filter, FilterType } from '../../model/filter.model';
|
|
11
|
+
import { DataSortBase } from '../data-sort-base/data-sort-base';
|
|
15
12
|
import * as i0 from "@angular/core";
|
|
16
13
|
export type Primitive = number | string | boolean | bigint | Date;
|
|
17
14
|
export type Row = {
|
|
@@ -39,9 +36,9 @@ export interface DataTableComponentState {
|
|
|
39
36
|
pageSize?: number;
|
|
40
37
|
}
|
|
41
38
|
export declare class DataTableComponent extends DataSortBase implements OnInit, AfterContentInit {
|
|
42
|
-
private router;
|
|
43
|
-
private injector;
|
|
44
|
-
private userService;
|
|
39
|
+
private readonly router;
|
|
40
|
+
private readonly injector;
|
|
41
|
+
private readonly userService;
|
|
45
42
|
FilterType: typeof FilterType;
|
|
46
43
|
TemplateType: typeof TemplateType;
|
|
47
44
|
checked: boolean;
|
|
@@ -67,24 +64,13 @@ 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
|
-
_showAllOption$: BehaviorSubject<boolean>;
|
|
87
|
-
set showAllOption(value: boolean);
|
|
88
74
|
emptyResultsMessage: string | undefined;
|
|
89
75
|
name: string;
|
|
90
76
|
deletePermission: string | string[] | undefined;
|
|
@@ -116,19 +102,6 @@ export declare class DataTableComponent extends DataSortBase implements OnInit,
|
|
|
116
102
|
numberCellTemplate: TemplateRef<any> | undefined;
|
|
117
103
|
numberCellChildTemplate: TemplateRef<any> | undefined;
|
|
118
104
|
get _numberCell(): TemplateRef<any> | undefined;
|
|
119
|
-
/**
|
|
120
|
-
* @deprecated Will be removed and instead to change the template of a specific column
|
|
121
|
-
* use the new approach instead by following the naming convention column id + IdCell
|
|
122
|
-
* e.g. for a column with the id 'status' use pTemplate="statusIdCell"
|
|
123
|
-
*/
|
|
124
|
-
customCellTemplate: TemplateRef<any> | undefined;
|
|
125
|
-
/**
|
|
126
|
-
* @deprecated Will be removed and instead to change the template of a specific column
|
|
127
|
-
* use the new approach instead by following the naming convention column id + IdCell
|
|
128
|
-
* e.g. for a column with the id 'status' use pTemplate="statusIdCell"
|
|
129
|
-
*/
|
|
130
|
-
customCellChildTemplate: TemplateRef<any> | undefined;
|
|
131
|
-
get _customCell(): TemplateRef<any> | undefined;
|
|
132
105
|
dateCellTemplate: TemplateRef<any> | undefined;
|
|
133
106
|
dateCellChildTemplate: TemplateRef<any> | undefined;
|
|
134
107
|
get _dateCell(): TemplateRef<any> | undefined;
|
|
@@ -147,19 +120,6 @@ export declare class DataTableComponent extends DataSortBase implements OnInit,
|
|
|
147
120
|
numberFilterCellTemplate: TemplateRef<any> | undefined;
|
|
148
121
|
numberFilterCellChildTemplate: TemplateRef<any> | undefined;
|
|
149
122
|
get _numberFilterCell(): TemplateRef<any> | undefined;
|
|
150
|
-
/**
|
|
151
|
-
* @deprecated Will be removed and instead to change the template of a specific column filter
|
|
152
|
-
* use the new approach instead by following the naming convention column id + IdFilterCell
|
|
153
|
-
* e.g. for a column with the id 'status' use pTemplate="statusIdFilterCell"
|
|
154
|
-
*/
|
|
155
|
-
customFilterCellTemplate: TemplateRef<any> | undefined;
|
|
156
|
-
/**
|
|
157
|
-
* @deprecated Will be removed and instead to change the template of a specific column filter
|
|
158
|
-
* use the new approach instead by following the naming convention column id + IdFilterCell
|
|
159
|
-
* e.g. for a column with the id 'status' use pTemplate="statusIdFilterCell"
|
|
160
|
-
*/
|
|
161
|
-
customFilterCellChildTemplate: TemplateRef<any> | undefined;
|
|
162
|
-
get _customFilterCell(): TemplateRef<any> | undefined;
|
|
163
123
|
dateFilterCellTemplate: TemplateRef<any> | undefined;
|
|
164
124
|
dateFilterCellChildTemplate: TemplateRef<any> | undefined;
|
|
165
125
|
get _dateFilterCell(): TemplateRef<any> | undefined;
|
|
@@ -216,7 +176,9 @@ export declare class DataTableComponent extends DataSortBase implements OnInit,
|
|
|
216
176
|
get anyRowActionObserved(): boolean;
|
|
217
177
|
get selectionChangedObserved(): boolean;
|
|
218
178
|
templatesObservables: Record<string, Observable<TemplateRef<any> | null>>;
|
|
219
|
-
|
|
179
|
+
private cachedOverflowActions$;
|
|
180
|
+
private cachedOverflowMenuItemsVisibility$;
|
|
181
|
+
constructor();
|
|
220
182
|
ngOnInit(): void;
|
|
221
183
|
translateColumnValues(columnValues: string[]): Observable<any>;
|
|
222
184
|
emitComponentStateChanged(state?: DataTableComponentState): void;
|
|
@@ -241,7 +203,7 @@ export declare class DataTableComponent extends DataSortBase implements OnInit,
|
|
|
241
203
|
resetPage(): void;
|
|
242
204
|
fieldIsTruthy(object: any, key: any): boolean;
|
|
243
205
|
toggleOverflowMenu(event: MouseEvent, menu: Menu, row: Row): void;
|
|
244
|
-
hasVisibleOverflowMenuItems(
|
|
206
|
+
hasVisibleOverflowMenuItems(item: any): Observable<boolean>;
|
|
245
207
|
isDate(value: Date | string | number): boolean;
|
|
246
208
|
cellTemplatesData: TemplatesData;
|
|
247
209
|
filterTemplatesData: TemplatesData;
|
|
@@ -249,10 +211,9 @@ export declare class DataTableComponent extends DataSortBase implements OnInit,
|
|
|
249
211
|
getColumnTypeTemplate(templates: PrimeTemplate[], columnType: ColumnType, templateType: TemplateType): TemplateRef<any> | null;
|
|
250
212
|
getTemplate(column: DataTableColumn, templateType: TemplateType): Observable<TemplateRef<any> | null>;
|
|
251
213
|
resolveFieldData(object: any, key: any): any;
|
|
252
|
-
getRowObjectFromMultiselectItem(value: MultiSelectItem, column: DataTableColumn):
|
|
253
|
-
|
|
254
|
-
};
|
|
214
|
+
getRowObjectFromMultiselectItem(value: MultiSelectItem, column: DataTableColumn): Record<string, string | undefined>;
|
|
215
|
+
rowTrackByFunction: (item: any) => any;
|
|
255
216
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableComponent, never>;
|
|
256
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableComponent, "ocx-data-table", never, { "rows": { "alias": "rows"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "sortColumn": { "alias": "sortColumn"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "clientSideFiltering": { "alias": "clientSideFiltering"; "required": false; }; "clientSideSorting": { "alias": "clientSideSorting"; "required": false; }; "sortStates": { "alias": "sortStates"; "required": false; }; "pageSizes": { "alias": "pageSizes"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "
|
|
217
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableComponent, "ocx-data-table", never, { "rows": { "alias": "rows"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "sortColumn": { "alias": "sortColumn"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "clientSideFiltering": { "alias": "clientSideFiltering"; "required": false; }; "clientSideSorting": { "alias": "clientSideSorting"; "required": false; }; "sortStates": { "alias": "sortStates"; "required": false; }; "pageSizes": { "alias": "pageSizes"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "emptyResultsMessage": { "alias": "emptyResultsMessage"; "required": false; }; "name": { "alias": "name"; "required": false; }; "deletePermission": { "alias": "deletePermission"; "required": false; }; "viewPermission": { "alias": "viewPermission"; "required": false; }; "editPermission": { "alias": "editPermission"; "required": false; }; "deleteActionVisibleField": { "alias": "deleteActionVisibleField"; "required": false; }; "deleteActionEnabledField": { "alias": "deleteActionEnabledField"; "required": false; }; "viewActionVisibleField": { "alias": "viewActionVisibleField"; "required": false; }; "viewActionEnabledField": { "alias": "viewActionEnabledField"; "required": false; }; "editActionVisibleField": { "alias": "editActionVisibleField"; "required": false; }; "editActionEnabledField": { "alias": "editActionEnabledField"; "required": false; }; "selectionEnabledField": { "alias": "selectionEnabledField"; "required": false; }; "allowSelectAll": { "alias": "allowSelectAll"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "page": { "alias": "page"; "required": false; }; "tableStyle": { "alias": "tableStyle"; "required": false; }; "totalRecordsOnServer": { "alias": "totalRecordsOnServer"; "required": false; }; "currentPageShowingKey": { "alias": "currentPageShowingKey"; "required": false; }; "currentPageShowingWithTotalOnServerKey": { "alias": "currentPageShowingWithTotalOnServerKey"; "required": false; }; "stringCellTemplate": { "alias": "stringCellTemplate"; "required": false; }; "numberCellTemplate": { "alias": "numberCellTemplate"; "required": false; }; "dateCellTemplate": { "alias": "dateCellTemplate"; "required": false; }; "relativeDateCellTemplate": { "alias": "relativeDateCellTemplate"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; "translationKeyCellTemplate": { "alias": "translationKeyCellTemplate"; "required": false; }; "stringFilterCellTemplate": { "alias": "stringFilterCellTemplate"; "required": false; }; "numberFilterCellTemplate": { "alias": "numberFilterCellTemplate"; "required": false; }; "dateFilterCellTemplate": { "alias": "dateFilterCellTemplate"; "required": false; }; "relativeDateFilterCellTemplate": { "alias": "relativeDateFilterCellTemplate"; "required": false; }; "filterCellTemplate": { "alias": "filterCellTemplate"; "required": false; }; "translationKeyFilterCellTemplate": { "alias": "translationKeyFilterCellTemplate"; "required": false; }; "additionalActions": { "alias": "additionalActions"; "required": false; }; "frozenActionColumn": { "alias": "frozenActionColumn"; "required": false; }; "actionColumnPosition": { "alias": "actionColumnPosition"; "required": false; }; "parentTemplates": { "alias": "parentTemplates"; "required": false; }; }, { "filtered": "filtered"; "sorted": "sorted"; "viewTableRow": "viewTableRow"; "editTableRow": "editTableRow"; "deleteTableRow": "deleteTableRow"; "selectionChanged": "selectionChanged"; "pageChanged": "pageChanged"; "pageSizeChanged": "pageSizeChanged"; "componentStateChanged": "componentStateChanged"; }, ["stringCellChildTemplate", "numberCellChildTemplate", "dateCellChildTemplate", "relativeDateCellChildTemplate", "cellChildTemplate", "translationKeyCellChildTemplate", "stringFilterCellChildTemplate", "numberFilterCellChildTemplate", "dateFilterCellChildTemplate", "relativeDateFilterCellChildTemplate", "filterCellChildTemplate", "translationKeyFilterCellChildTemplate", "templates"], never, false, never>;
|
|
257
218
|
}
|
|
258
219
|
export {};
|