@rxap/material-table-system 16.0.0-dev.0 → 16.0.0-dev.10
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/CHANGELOG.md +722 -0
- package/README.md +7 -22
- package/esm2022/index.mjs +5 -19
- package/esm2022/lib/cells/boolean-cell/boolean-cell.component.mjs +10 -10
- package/esm2022/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.mjs +9 -10
- package/esm2022/lib/cells/date-cell/date-cell.component.mjs +8 -9
- package/esm2022/lib/cells/icon-cell/icon-cell.component.mjs +10 -10
- package/esm2022/lib/cells/image-cell/image-cell.component.mjs +9 -11
- package/esm2022/lib/cells/link-cell/link-cell.component.mjs +14 -12
- package/esm2022/lib/cells/options-cell/options-cell.component.mjs +9 -10
- package/esm2022/lib/cells/tree-control-cell/tree-control-cell.component.mjs +52 -0
- package/esm2022/lib/expand-row/expand-controls-cell/expand-controls-cell.component.mjs +13 -12
- package/esm2022/lib/expand-row/expand-row-container/expand-row-container.component.mjs +29 -23
- package/esm2022/lib/expand-row/expand-row-container/expand-row-content.directive.mjs +8 -8
- package/esm2022/lib/expand-row/expand-row.directive.mjs +8 -8
- package/esm2022/lib/expand-row/expand-row.module.mjs +11 -19
- package/esm2022/lib/expand-row/expand-row.service.mjs +5 -6
- package/esm2022/lib/persistent-paginator.directive.mjs +11 -24
- package/esm2022/lib/row-animation.mjs +16 -8
- package/esm2022/lib/select-row/checkbox-cell/checkbox-cell.component.mjs +9 -9
- package/esm2022/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.mjs +16 -12
- package/esm2022/lib/select-row/select-row.module.mjs +20 -15
- package/esm2022/lib/select-row/select-row.options.mjs +1 -1
- package/esm2022/lib/select-row/select-row.service.mjs +7 -8
- package/esm2022/lib/select-row/selected-rows.directive.mjs +9 -9
- package/esm2022/lib/select-row/selection-model.mjs +1 -1
- package/esm2022/lib/select-row/tokens.mjs +1 -1
- package/esm2022/lib/table-column-menu/table-column-menu.component.mjs +27 -15
- package/esm2022/lib/table-column-menu/table-column-menu.module.mjs +31 -0
- package/esm2022/lib/table-column-menu/table-column-option/table-column-option.component.mjs +8 -9
- package/esm2022/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.mjs +29 -14
- package/esm2022/lib/table-create-button/table-create-button.directive.mjs +9 -22
- package/esm2022/lib/table-create-button/tokens.mjs +1 -1
- package/esm2022/lib/table-data-source.directive.mjs +14 -27
- package/esm2022/lib/table-filter/filter-header-row.directive.mjs +10 -10
- package/esm2022/lib/table-filter/table-filter.module.mjs +10 -11
- package/esm2022/lib/table-filter/table-filter.service.mjs +9 -9
- package/esm2022/lib/table-filter/to-filter-column-names.pipe.mjs +8 -8
- package/esm2022/lib/table-filter/tokens.mjs +1 -1
- package/esm2022/lib/table-row-actions/decorators.mjs +6 -3
- package/esm2022/lib/table-row-actions/row-action-check.pipe.mjs +8 -8
- package/esm2022/lib/table-row-actions/table-row-action-executing.directive.mjs +8 -8
- package/esm2022/lib/table-row-actions/table-row-action-status.mjs +1 -1
- package/esm2022/lib/table-row-actions/table-row-action.directive.mjs +24 -19
- package/esm2022/lib/table-row-actions/table-row-action.method.mjs +3 -3
- package/esm2022/lib/table-row-actions/table-row-actions.module.mjs +20 -22
- package/esm2022/lib/table-row-actions/table-row-header-action.directive.mjs +15 -15
- package/esm2022/lib/table-row-actions/tokens.mjs +1 -1
- package/esm2022/lib/table-row-actions/types.mjs +1 -1
- package/esm2022/lib/table-row-controls/row-controls-cell/row-controls-cell.component.mjs +21 -15
- package/esm2022/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.mjs +36 -22
- package/esm2022/lib/table-row-controls/table-row-controls.module.mjs +21 -14
- package/esm2022/lib/table-row-controls/tokens.mjs +22 -1
- package/esm2022/lib/table-row-metadata.mjs +1 -1
- package/esm2022/lib/table-select-controls/table-select-controls.component.mjs +16 -11
- package/esm2022/rxap-material-table-system.mjs +1 -1
- package/fesm2022/rxap-material-table-system.mjs +495 -711
- package/fesm2022/rxap-material-table-system.mjs.map +1 -1
- package/index.d.ts +4 -18
- package/lib/cells/boolean-cell/boolean-cell.component.d.ts +1 -1
- package/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.d.ts +1 -1
- package/lib/cells/date-cell/date-cell.component.d.ts +1 -1
- package/lib/cells/icon-cell/icon-cell.component.d.ts +1 -1
- package/lib/cells/image-cell/image-cell.component.d.ts +1 -1
- package/lib/cells/link-cell/link-cell.component.d.ts +1 -1
- package/lib/cells/options-cell/options-cell.component.d.ts +3 -3
- package/lib/cells/tree-control-cell/tree-control-cell.component.d.ts +16 -0
- package/lib/expand-row/expand-controls-cell/expand-controls-cell.component.d.ts +1 -1
- package/lib/expand-row/expand-row-container/expand-row-container.component.d.ts +3 -3
- package/lib/expand-row/expand-row-container/expand-row-content.directive.d.ts +1 -1
- package/lib/expand-row/expand-row.directive.d.ts +1 -1
- package/lib/expand-row/expand-row.module.d.ts +1 -3
- package/lib/persistent-paginator.directive.d.ts +2 -7
- package/lib/select-row/checkbox-cell/checkbox-cell.component.d.ts +1 -1
- package/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.d.ts +2 -2
- package/lib/select-row/select-row.module.d.ts +3 -3
- package/lib/select-row/select-row.service.d.ts +1 -1
- package/lib/select-row/selected-rows.directive.d.ts +2 -2
- package/lib/table-column-menu/table-column-menu.component.d.ts +1 -1
- package/lib/table-column-menu/table-column-menu.module.d.ts +9 -0
- package/lib/table-column-menu/table-column-option/table-column-option.component.d.ts +1 -1
- package/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.d.ts +9 -5
- package/lib/table-create-button/table-create-button.directive.d.ts +3 -8
- package/lib/table-create-button/tokens.d.ts +1 -1
- package/lib/table-data-source.directive.d.ts +5 -9
- package/lib/table-filter/filter-header-row.directive.d.ts +2 -2
- package/lib/table-filter/table-filter.module.d.ts +1 -1
- package/lib/table-filter/to-filter-column-names.pipe.d.ts +1 -1
- package/lib/table-row-actions/decorators.d.ts +3 -3
- package/lib/table-row-actions/row-action-check.pipe.d.ts +1 -1
- package/lib/table-row-actions/table-row-action-executing.directive.d.ts +1 -1
- package/lib/table-row-actions/table-row-action.directive.d.ts +4 -4
- package/lib/table-row-actions/table-row-action.method.d.ts +1 -1
- package/lib/table-row-actions/table-row-actions.module.d.ts +4 -4
- package/lib/table-row-actions/table-row-header-action.directive.d.ts +4 -4
- package/lib/table-row-actions/types.d.ts +5 -5
- package/lib/table-row-controls/row-controls-cell/row-controls-cell.component.d.ts +5 -2
- package/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.d.ts +5 -2
- package/lib/table-row-controls/table-row-controls.module.d.ts +6 -3
- package/lib/table-row-controls/tokens.d.ts +21 -0
- package/lib/table-row-metadata.d.ts +1 -1
- package/lib/table-select-controls/table-select-controls.component.d.ts +1 -1
- package/package.json +94 -63
- package/src/lib/cells/boolean-cell/_boolean-cell.component.theme.scss +28 -0
- package/LICENSE +0 -27
- package/collection.json +0 -10
- package/esm2022/lib/cells/boolean-cell/boolean-cell.component.module.mjs +0 -25
- package/esm2022/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.module.mjs +0 -25
- package/esm2022/lib/cells/date-cell/date-cell.component.module.mjs +0 -21
- package/esm2022/lib/cells/icon-cell/icon-cell.component.module.mjs +0 -29
- package/esm2022/lib/cells/image-cell/image-cell.component.module.mjs +0 -20
- package/esm2022/lib/cells/link-cell/link-cell.component.module.mjs +0 -33
- package/esm2022/lib/cells/options-cell/options-cell.component.module.mjs +0 -18
- package/esm2022/lib/expand-row/expand-controls-cell/expand-controls-cell.component.module.mjs +0 -29
- package/esm2022/lib/expand-row/expand-row-container/expand-row-container.component.module.mjs +0 -34
- package/esm2022/lib/select-row/checkbox-cell/checkbox-cell.component.module.mjs +0 -25
- package/esm2022/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.module.mjs +0 -25
- package/esm2022/lib/table-column-menu/table-column-menu.component.module.mjs +0 -46
- package/esm2022/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.module.mjs +0 -25
- package/esm2022/lib/table-row-controls/row-controls-cell/row-controls-cell.component.module.mjs +0 -41
- package/esm2022/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.module.mjs +0 -41
- package/esm2022/lib/table-select-controls/table-select-controls.component.module.mjs +0 -29
- package/lib/cells/boolean-cell/boolean-cell.component.module.d.ts +0 -9
- package/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.module.d.ts +0 -9
- package/lib/cells/date-cell/date-cell.component.module.d.ts +0 -8
- package/lib/cells/icon-cell/icon-cell.component.module.d.ts +0 -10
- package/lib/cells/image-cell/image-cell.component.module.d.ts +0 -9
- package/lib/cells/link-cell/link-cell.component.module.d.ts +0 -11
- package/lib/cells/options-cell/options-cell.component.module.d.ts +0 -7
- package/lib/expand-row/expand-controls-cell/expand-controls-cell.component.module.d.ts +0 -10
- package/lib/expand-row/expand-row-container/expand-row-container.component.module.d.ts +0 -10
- package/lib/select-row/checkbox-cell/checkbox-cell.component.module.d.ts +0 -9
- package/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.module.d.ts +0 -9
- package/lib/table-column-menu/table-column-menu.component.module.d.ts +0 -15
- package/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.module.d.ts +0 -9
- package/lib/table-row-controls/row-controls-cell/row-controls-cell.component.module.d.ts +0 -13
- package/lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.module.d.ts +0 -13
- package/lib/table-select-controls/table-select-controls.component.module.d.ts +0 -10
- package/migration.json +0 -4
- package/src/schematics/ng-add/index.d.ts +0 -2
- package/src/schematics/ng-add/index.js +0 -8
- package/src/schematics/ng-add/index.js.map +0 -1
- package/src/schematics/ng-add/schema.json +0 -7
package/index.d.ts
CHANGED
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
export * from './lib/expand-row/expand-row.module';
|
|
2
2
|
export * from './lib/expand-row/expand-row-container/expand-row-container.component';
|
|
3
3
|
export * from './lib/expand-row/expand-row-container/expand-row-content.directive';
|
|
4
|
-
export * from './lib/expand-row/expand-row-container/expand-row-container.component.module';
|
|
5
4
|
export * from './lib/expand-row/expand-controls-cell/expand-controls-cell.component';
|
|
6
|
-
export * from './lib/expand-row/expand-controls-cell/expand-controls-cell.component.module';
|
|
7
5
|
export * from './lib/expand-row/expand-row.service';
|
|
8
6
|
export * from './lib/expand-row/expand-row.directive';
|
|
9
|
-
export * from './lib/select-row/select-row.module';
|
|
10
7
|
export * from './lib/select-row/checkbox-cell/checkbox-cell.component';
|
|
11
|
-
export * from './lib/select-row/checkbox-cell/checkbox-cell.component.module';
|
|
12
8
|
export * from './lib/select-row/checkbox-header-cell/checkbox-header-cell.component';
|
|
13
|
-
export * from './lib/select-row/checkbox-header-cell/checkbox-header-cell.component.module';
|
|
14
9
|
export * from './lib/select-row/select-row.service';
|
|
15
10
|
export * from './lib/select-row/selected-rows.directive';
|
|
16
11
|
export * from './lib/select-row/tokens';
|
|
12
|
+
export * from './lib/select-row/select-row.module';
|
|
17
13
|
export * from './lib/row-animation';
|
|
18
14
|
export * from './lib/table-data-source.directive';
|
|
19
15
|
export * from './lib/table-row-metadata';
|
|
@@ -24,34 +20,24 @@ export * from './lib/table-filter/table-filter.service';
|
|
|
24
20
|
export * from './lib/table-filter/to-filter-column-names.pipe';
|
|
25
21
|
export * from './lib/table-filter/tokens';
|
|
26
22
|
export * from './lib/table-column-menu/table-column-menu.component';
|
|
27
|
-
export * from './lib/table-column-menu/table-column-menu.
|
|
23
|
+
export * from './lib/table-column-menu/table-column-menu.module';
|
|
28
24
|
export * from './lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component';
|
|
29
|
-
export * from './lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.module';
|
|
30
25
|
export * from './lib/table-column-menu/table-column-option/table-column-option.component';
|
|
31
26
|
export * from './lib/table-create-button/table-create-button.directive';
|
|
32
27
|
export * from './lib/table-create-button/tokens';
|
|
33
|
-
export * from './lib/table-row-controls/table-row-controls.module';
|
|
34
28
|
export * from './lib/table-row-controls/row-controls-cell/row-controls-cell.component';
|
|
35
|
-
export * from './lib/table-row-controls/row-controls-cell/row-controls-cell.component.module';
|
|
36
29
|
export * from './lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component';
|
|
37
|
-
export * from './lib/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.module';
|
|
38
30
|
export * from './lib/table-row-controls/tokens';
|
|
31
|
+
export * from './lib/table-row-controls/table-row-controls.module';
|
|
39
32
|
export * from './lib/table-select-controls/table-select-controls.component';
|
|
40
|
-
export * from './lib/
|
|
33
|
+
export * from './lib/cells/tree-control-cell/tree-control-cell.component';
|
|
41
34
|
export * from './lib/cells/image-cell/image-cell.component';
|
|
42
|
-
export * from './lib/cells/image-cell/image-cell.component.module';
|
|
43
35
|
export * from './lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component';
|
|
44
|
-
export * from './lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.module';
|
|
45
36
|
export * from './lib/cells/icon-cell/icon-cell.component';
|
|
46
|
-
export * from './lib/cells/icon-cell/icon-cell.component.module';
|
|
47
37
|
export * from './lib/cells/date-cell/date-cell.component';
|
|
48
|
-
export * from './lib/cells/date-cell/date-cell.component.module';
|
|
49
38
|
export * from './lib/cells/link-cell/link-cell.component';
|
|
50
|
-
export * from './lib/cells/link-cell/link-cell.component.module';
|
|
51
39
|
export * from './lib/cells/options-cell/options-cell.component';
|
|
52
|
-
export * from './lib/cells/options-cell/options-cell.component.module';
|
|
53
40
|
export * from './lib/cells/boolean-cell/boolean-cell.component';
|
|
54
|
-
export * from './lib/cells/boolean-cell/boolean-cell.component.module';
|
|
55
41
|
export * from './lib/table-row-actions/decorators';
|
|
56
42
|
export * from './lib/table-row-actions/table-row-action.directive';
|
|
57
43
|
export * from './lib/table-row-actions/table-row-action.method';
|
|
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class BooleanCellComponent {
|
|
3
3
|
value: any | null;
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<BooleanCellComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BooleanCellComponent, "td[rxap-boolean-cell]", never, { "value": { "alias": "rxap-boolean-cell"; "required": false; }; }, {}, never, ["*"],
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BooleanCellComponent, "td[rxap-boolean-cell]", never, { "value": { "alias": "rxap-boolean-cell"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
6
6
|
}
|
|
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class CopyToClipboardCellComponent {
|
|
3
3
|
value: any;
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<CopyToClipboardCellComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CopyToClipboardCellComponent, "td[rxap-copy-to-clipboard-cell]", never, { "value": { "alias": "rxap-copy-to-clipboard-cell"; "required": false; }; }, {}, never, ["*"],
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CopyToClipboardCellComponent, "td[rxap-copy-to-clipboard-cell]", never, { "value": { "alias": "rxap-copy-to-clipboard-cell"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
6
6
|
}
|
|
@@ -3,5 +3,5 @@ export declare class DateCellComponent {
|
|
|
3
3
|
date: Date | number | string | null;
|
|
4
4
|
format: string;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateCellComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateCellComponent, "td[rxap-date-cell]", never, { "date": { "alias": "rxap-date-cell"; "required": false; }; "format": { "alias": "format"; "required": false; }; }, {}, never, ["*"],
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateCellComponent, "td[rxap-date-cell]", never, { "date": { "alias": "rxap-date-cell"; "required": false; }; "format": { "alias": "format"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
7
7
|
}
|
|
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class IconCellComponent {
|
|
4
4
|
icon: IconConfig | null;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconCellComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IconCellComponent, "td[rxap-icon-cell]", never, { "icon": { "alias": "rxap-icon-cell"; "required": false; }; }, {}, never, ["*"],
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IconCellComponent, "td[rxap-icon-cell]", never, { "icon": { "alias": "rxap-icon-cell"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
7
7
|
}
|
|
@@ -7,5 +7,5 @@ export declare class ImageCellComponent {
|
|
|
7
7
|
position: BackgroundPosition;
|
|
8
8
|
value: string | null;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageCellComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImageCellComponent, "td[rxap-image-cell]", never, { "preset": { "alias": "preset"; "required": false; }; "size": { "alias": "size"; "required": false; }; "repeat": { "alias": "repeat"; "required": false; }; "position": { "alias": "position"; "required": false; }; "value": { "alias": "rxap-image-cell"; "required": false; }; }, {}, never, ["*"],
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageCellComponent, "td[rxap-image-cell]", never, { "preset": { "alias": "preset"; "required": false; }; "size": { "alias": "size"; "required": false; }; "repeat": { "alias": "repeat"; "required": false; }; "position": { "alias": "position"; "required": false; }; "value": { "alias": "rxap-image-cell"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
11
11
|
}
|
|
@@ -5,5 +5,5 @@ export declare class LinkCellComponent {
|
|
|
5
5
|
protocol?: 'tel' | 'mailto';
|
|
6
6
|
short: boolean;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<LinkCellComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LinkCellComponent, "td[rxap-link-cell]", never, { "value": { "alias": "rxap-link-cell"; "required": false; }; "protocol": { "alias": "protocol"; "required": false; }; "short": { "alias": "short"; "required": false; }; }, {}, never, ["*"],
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LinkCellComponent, "td[rxap-link-cell]", never, { "value": { "alias": "rxap-link-cell"; "required": false; }; "protocol": { "alias": "protocol"; "required": false; }; "short": { "alias": "short"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
9
9
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { OnChanges, QueryList, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { AfterContentInit, OnDestroy, Renderer2 } from '@angular/core';
|
|
3
|
-
import {
|
|
3
|
+
import { MatOption } from '@angular/material/core';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class OptionsCellComponent implements AfterContentInit, OnDestroy, OnChanges {
|
|
6
6
|
private readonly renderer;
|
|
@@ -18,5 +18,5 @@ export declare class OptionsCellComponent implements AfterContentInit, OnDestroy
|
|
|
18
18
|
getViewValue(): string;
|
|
19
19
|
ngOnDestroy(): void;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<OptionsCellComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OptionsCellComponent, "td[rxap-options-cell]", never, { "value": { "alias": "rxap-options-cell"; "required": false; }; "defaultViewValue": { "alias": "default"; "required": false; }; "emptyViewValue": { "alias": "empty"; "required": false; }; }, {}, ["options"], ["*"],
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OptionsCellComponent, "td[rxap-options-cell]", never, { "value": { "alias": "rxap-options-cell"; "required": false; }; "defaultViewValue": { "alias": "default"; "required": false; }; "emptyViewValue": { "alias": "empty"; "required": false; }; }, {}, ["options"], ["*"], true, never>;
|
|
22
22
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DoCheck, OnInit } from '@angular/core';
|
|
2
|
+
import { IconConfig } from '@rxap/utilities';
|
|
3
|
+
import { RowDataWithNode } from '@rxap/data-source/table/tree';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TreeControlCellComponent implements OnInit, DoCheck {
|
|
6
|
+
offset: string;
|
|
7
|
+
icon: IconConfig;
|
|
8
|
+
expandIcon: string;
|
|
9
|
+
element: RowDataWithNode<any>;
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
ngDoCheck(): void;
|
|
12
|
+
toggleExpand(): any;
|
|
13
|
+
private updateIcon;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeControlCellComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeControlCellComponent, "rxap-tree-control-cell, td[rxap-tree-control-cell]", never, { "element": { "alias": "rxap-tree-control-cell"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
16
|
+
}
|
|
@@ -5,5 +5,5 @@ export declare class ExpandControlsCellComponent<Data extends Record<string, any
|
|
|
5
5
|
element: Data;
|
|
6
6
|
constructor(expandCell: ExpandRowService<Data>);
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandControlsCellComponent<any>, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExpandControlsCellComponent<any>, "td[rxap-expand-controls-cell]", never, { "element": { "alias": "element"; "required": false; }; }, {}, never, never,
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExpandControlsCellComponent<any>, "td[rxap-expand-controls-cell]", never, { "element": { "alias": "element"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
9
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { AfterContentInit, OnDestroy, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { ExpandCellContentDirectiveContext, ExpandRowContentDirective } from './expand-row-content.directive';
|
|
3
3
|
import { TemplatePortal } from '@angular/cdk/portal';
|
|
4
4
|
import { ExpandRowService } from '../expand-row.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -14,5 +14,5 @@ export declare class ExpandRowContainerComponent<Data extends Record<string, any
|
|
|
14
14
|
ngOnDestroy(): void;
|
|
15
15
|
ngAfterContentInit(): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandRowContainerComponent<any>, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExpandRowContainerComponent<any>, "td[rxap-expand-row]", never, { "element": { "alias": "element"; "required": false; }; }, {}, ["expandCellContent"], ["*"],
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExpandRowContainerComponent<any>, "td[rxap-expand-row]", never, { "element": { "alias": "element"; "required": false; }; }, {}, ["expandCellContent"], ["*"], true, never>;
|
|
18
18
|
}
|
|
@@ -8,5 +8,5 @@ export declare class ExpandRowContentDirective<Data extends Record<string, any>>
|
|
|
8
8
|
static ngTemplateContextGuard<Data extends Record<string, any>>(dir: ExpandRowContentDirective<Data>, ctx: any): ctx is ExpandCellContentDirectiveContext<Data>;
|
|
9
9
|
constructor(template: TemplateRef<ExpandCellContentDirectiveContext<Data>>);
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandRowContentDirective<any>, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ExpandRowContentDirective<any>, "[rxapExpandRowContent]", never, {}, {}, never, never,
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ExpandRowContentDirective<any>, "[rxapExpandRowContent]", never, {}, {}, never, never, true, never>;
|
|
12
12
|
}
|
|
@@ -7,5 +7,5 @@ export declare class ExpandRowDirective<Data extends Record<string, any>> {
|
|
|
7
7
|
constructor(expandCell: ExpandRowService<Data>);
|
|
8
8
|
onClick(): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandRowDirective<any>, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ExpandRowDirective<any>, "tr[rxapExpandRow]", never, { "element": { "alias": "element"; "required": false; }; }, {}, never, never,
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ExpandRowDirective<any>, "tr[rxapExpandRow]", never, { "element": { "alias": "element"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
11
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./expand-row.directive";
|
|
3
|
-
import * as i2 from "./expand-row-container/expand-row-container.component.module";
|
|
4
|
-
import * as i3 from "./expand-controls-cell/expand-controls-cell.component.module";
|
|
5
3
|
export declare class ExpandRowModule {
|
|
6
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandRowModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ExpandRowModule, [typeof i1.ExpandRowDirective],
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ExpandRowModule, never, [typeof i1.ExpandRowDirective], [typeof i1.ExpandRowDirective]>;
|
|
8
6
|
static ɵinj: i0.ɵɵInjectorDeclaration<ExpandRowModule>;
|
|
9
7
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { MatPaginator } from '@angular/material/paginator';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class PersistentPaginatorDirective implements OnInit, OnDestroy {
|
|
5
5
|
private readonly matPaginator;
|
|
@@ -14,10 +14,5 @@ export declare class PersistentPaginatorDirective implements OnInit, OnDestroy {
|
|
|
14
14
|
pageSize: number;
|
|
15
15
|
} | null;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<PersistentPaginatorDirective, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PersistentPaginatorDirective, "mat-paginator[rxapPersistent]", never, { "id": { "alias": "id"; "required": false; }; }, {}, never, never,
|
|
18
|
-
}
|
|
19
|
-
export declare class PersistentPaginatorDirectiveModule {
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PersistentPaginatorDirectiveModule, never>;
|
|
21
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PersistentPaginatorDirectiveModule, [typeof PersistentPaginatorDirective], never, [typeof PersistentPaginatorDirective]>;
|
|
22
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PersistentPaginatorDirectiveModule>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PersistentPaginatorDirective, "mat-paginator[rxapPersistent]", never, { "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
18
|
}
|
|
@@ -5,5 +5,5 @@ export declare class CheckboxCellComponent<Data extends Record<string, any>> {
|
|
|
5
5
|
element: Data;
|
|
6
6
|
constructor(selectRow: SelectRowService<Data>);
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxCellComponent<any>, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxCellComponent<any>, "td[rxap-checkbox-cell]", never, { "element": { "alias": "element"; "required": false; }; }, {}, never, never,
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxCellComponent<any>, "td[rxap-checkbox-cell]", never, { "element": { "alias": "element"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
9
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { SelectRowService } from '../select-row.service';
|
|
3
3
|
import type { Observable } from 'rxjs';
|
|
4
|
-
import {
|
|
4
|
+
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
5
5
|
import { CdkTable } from '@angular/cdk/table';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class CheckboxHeaderCellComponent<Data extends Record<string, any>> implements OnInit {
|
|
@@ -14,5 +14,5 @@ export declare class CheckboxHeaderCellComponent<Data extends Record<string, any
|
|
|
14
14
|
ngOnInit(): void;
|
|
15
15
|
onChange($event: MatCheckboxChange): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxHeaderCellComponent<any>, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxHeaderCellComponent<any>, "th[rxap-checkbox-header-cell]", never, {}, {}, never, never,
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxHeaderCellComponent<any>, "th[rxap-checkbox-header-cell]", never, {}, {}, never, never, true, never>;
|
|
18
18
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./selected-rows.directive";
|
|
3
|
-
import * as i2 from "./checkbox-cell/checkbox-cell.component
|
|
4
|
-
import * as i3 from "./checkbox-header-cell/checkbox-header-cell.component
|
|
3
|
+
import * as i2 from "./checkbox-cell/checkbox-cell.component";
|
|
4
|
+
import * as i3 from "./checkbox-header-cell/checkbox-header-cell.component";
|
|
5
5
|
export declare class SelectRowModule {
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectRowModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectRowModule, [typeof i1.SelectedRowsDirective
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectRowModule, never, [typeof i1.SelectedRowsDirective, typeof i2.CheckboxCellComponent, typeof i3.CheckboxHeaderCellComponent], [typeof i2.CheckboxCellComponent, typeof i3.CheckboxHeaderCellComponent, typeof i1.SelectedRowsDirective]>;
|
|
8
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<SelectRowModule>;
|
|
9
9
|
}
|
|
@@ -2,7 +2,7 @@ import type { Observable } from 'rxjs';
|
|
|
2
2
|
import { SelectRowOptions } from './select-row.options';
|
|
3
3
|
import { SelectionModel } from './selection-model';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SelectRowService<Data
|
|
5
|
+
export declare class SelectRowService<Data> {
|
|
6
6
|
selectedRows$: Observable<Data[]>;
|
|
7
7
|
readonly selectionModel: SelectionModel<Data>;
|
|
8
8
|
get selectedRows(): Data[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { SelectRowService } from './select-row.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export interface SelectedRowsDirectiveContext<Data extends Record<string, any>> {
|
|
@@ -14,5 +14,5 @@ export declare class SelectedRowsDirective<Data extends Record<string, any>> imp
|
|
|
14
14
|
ngOnDestroy(): void;
|
|
15
15
|
ngOnInit(): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectedRowsDirective<any>, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectedRowsDirective<any>, "[rxapSelectedRows]", never, {}, {}, never, never,
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectedRowsDirective<any>, "[rxapSelectedRows]", never, {}, {}, never, never, true, never>;
|
|
18
18
|
}
|
|
@@ -12,5 +12,5 @@ export declare class TableColumnMenuComponent implements AfterContentInit {
|
|
|
12
12
|
activate(columnName: string): void;
|
|
13
13
|
deactivate(columnName: string): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnMenuComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableColumnMenuComponent, "rxap-table-column-menu", ["rxapTableColumns"], { "matCard": { "alias": "matCard"; "required": false; }; }, {}, ["columns"], ["[mat-menu-item],mat-divider"],
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableColumnMenuComponent, "rxap-table-column-menu", ["rxapTableColumns"], { "matCard": { "alias": "matCard"; "required": false; }; }, {}, ["columns"], ["[mat-menu-item],mat-divider"], true, never>;
|
|
16
16
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./table-column-menu.component";
|
|
3
|
+
import * as i2 from "./table-show-archived-slide/table-show-archived-slide.component";
|
|
4
|
+
import * as i3 from "./table-column-option/table-column-option.component";
|
|
5
|
+
export declare class TableColumnMenuModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnMenuModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TableColumnMenuModule, never, [typeof i1.TableColumnMenuComponent, typeof i2.TableShowArchivedSlideComponent, typeof i3.TableColumnOptionComponent], [typeof i1.TableColumnMenuComponent, typeof i2.TableShowArchivedSlideComponent, typeof i3.TableColumnOptionComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TableColumnMenuModule>;
|
|
9
|
+
}
|
|
@@ -23,5 +23,5 @@ export declare class TableColumnOptionComponent implements OnInit {
|
|
|
23
23
|
activate(): void;
|
|
24
24
|
deactivate(): void;
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnOptionComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableColumnOptionComponent, "rxap-table-column-option", never, { "name": { "alias": "name"; "required": false; }; "active": { "alias": "active"; "required": false; }; "inactive": { "alias": "inactive"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; "show": { "alias": "show"; "required": false; }; }, {}, never, ["*"],
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableColumnOptionComponent, "rxap-table-column-option", never, { "name": { "alias": "name"; "required": false; }; "active": { "alias": "active"; "required": false; }; "inactive": { "alias": "inactive"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; "show": { "alias": "show"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
27
27
|
}
|
package/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.d.ts
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
2
|
+
import { MatSlideToggleChange } from '@angular/material/slide-toggle';
|
|
2
3
|
import { TableFilterService } from '../../table-filter/table-filter.service';
|
|
3
4
|
import { TableColumnMenuComponent } from '../table-column-menu.component';
|
|
5
|
+
import { MatPaginator } from '@angular/material/paginator';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TableShowArchivedSlideComponent {
|
|
7
|
+
export declare class TableShowArchivedSlideComponent implements AfterViewInit {
|
|
6
8
|
private readonly tableFilter;
|
|
7
9
|
private readonly tableColumnMenu;
|
|
8
|
-
|
|
10
|
+
paginator?: MatPaginator;
|
|
11
|
+
constructor(tableFilter: TableFilterService | null, tableColumnMenu: TableColumnMenuComponent);
|
|
9
12
|
onChange($event: MatSlideToggleChange): void;
|
|
10
|
-
|
|
11
|
-
static
|
|
13
|
+
ngAfterViewInit(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableShowArchivedSlideComponent, [{ optional: true; }, null]>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableShowArchivedSlideComponent, "rxap-table-show-archived-slide", never, { "paginator": { "alias": "paginator"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ElementRef, OnInit, Renderer2
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { TableDataSourceDirective } from '../table-data-source.directive';
|
|
4
|
-
import { Method } from '@rxap/
|
|
4
|
+
import { Method } from '@rxap/pattern';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class TableCreateButtonDirective<Data extends Record<string, any>> implements OnInit, OnDestroy {
|
|
7
7
|
private readonly remoteMethod;
|
|
@@ -14,10 +14,5 @@ export declare class TableCreateButtonDirective<Data extends Record<string, any>
|
|
|
14
14
|
ngOnDestroy(): void;
|
|
15
15
|
onClick(): Promise<void>;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableCreateButtonDirective<any>, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableCreateButtonDirective<any>, "button[rxapTableCreate]", never, { "dataSource": { "alias": "rxapTableCreate"; "required": false; }; }, {}, never, never,
|
|
18
|
-
}
|
|
19
|
-
export declare class TableCreateButtonDirectiveModule {
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableCreateButtonDirectiveModule, never>;
|
|
21
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TableCreateButtonDirectiveModule, [typeof TableCreateButtonDirective], never, [typeof TableCreateButtonDirective]>;
|
|
22
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TableCreateButtonDirectiveModule>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableCreateButtonDirective<any>, "button[rxapTableCreate]", never, { "dataSource": { "alias": "rxapTableCreate"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
18
|
}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { ChangeDetectorRef, InjectionToken, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import type {
|
|
2
|
+
import type { MatPaginator } from '@angular/material/paginator';
|
|
3
3
|
import type { Observable } from 'rxjs';
|
|
4
4
|
import { Subscription } from 'rxjs';
|
|
5
5
|
import { MatSort } from '@angular/material/sort';
|
|
6
6
|
import type { AbstractTableDataSource, FilterLike } from '@rxap/data-source/table';
|
|
7
|
-
import {
|
|
7
|
+
import { SortLike, TableEvent } from '@rxap/data-source/table';
|
|
8
8
|
import { BaseRemoteMethod } from '@rxap/remote-method';
|
|
9
9
|
import { PaginatorLike } from '@rxap/data-source/pagination';
|
|
10
10
|
import { CdkTable } from '@angular/cdk/table';
|
|
11
11
|
import { TableFilterService } from './table-filter/table-filter.service';
|
|
12
|
-
import {
|
|
12
|
+
import { ToggleSubject } from '@rxap/rxjs';
|
|
13
|
+
import { Method } from '@rxap/pattern';
|
|
13
14
|
import * as i0 from "@angular/core";
|
|
14
15
|
export { RXAP_TABLE_METHOD } from '@rxap/data-source/table';
|
|
15
16
|
/**
|
|
@@ -56,10 +57,5 @@ export declare class TableDataSourceDirective<Data extends Record<string, any> =
|
|
|
56
57
|
refresh(): void;
|
|
57
58
|
retry(): void;
|
|
58
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableDataSourceDirective<any>, [null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
59
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableDataSourceDirective<any>, "table[mat-table][rxapTableDataSource],mat-table[rxapTableDataSource]", ["rxapTableDataSource"], { "setDataSource": { "alias": "rxapTableDataSource"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "id": { "alias": "id"; "required": false; }; "parameters": { "alias": "parameters"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; }, {}, never, never,
|
|
60
|
-
}
|
|
61
|
-
export declare class TableDataSourceModule {
|
|
62
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableDataSourceModule, never>;
|
|
63
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TableDataSourceModule, [typeof TableDataSourceDirective], never, [typeof TableDataSourceDirective]>;
|
|
64
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TableDataSourceModule>;
|
|
60
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableDataSourceDirective<any>, "table[mat-table][rxapTableDataSource],mat-table[rxapTableDataSource]", ["rxapTableDataSource"], { "setDataSource": { "alias": "rxapTableDataSource"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "id": { "alias": "id"; "required": false; }; "parameters": { "alias": "parameters"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; }, {}, never, never, true, never>;
|
|
65
61
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FormDefinition, FormDirective } from '@rxap/forms';
|
|
2
2
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
3
3
|
import { TableFilterService } from './table-filter.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -10,5 +10,5 @@ export declare class FilterHeaderRowDirective extends FormDirective implements O
|
|
|
10
10
|
ngOnInit(): void;
|
|
11
11
|
ngOnDestroy(): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterHeaderRowDirective, [null, null, { optional: true; }]>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FilterHeaderRowDirective, "table[rxap-filter-header-row]", never, { "useFormDefinition": { "alias": "rxap-filter-header-row"; "required": false; }; }, {}, never, never,
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FilterHeaderRowDirective, "table[rxap-filter-header-row]", never, { "useFormDefinition": { "alias": "rxap-filter-header-row"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
14
|
}
|
|
@@ -3,6 +3,6 @@ import * as i1 from "./to-filter-column-names.pipe";
|
|
|
3
3
|
import * as i2 from "./filter-header-row.directive";
|
|
4
4
|
export declare class TableFilterModule {
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableFilterModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TableFilterModule, [typeof i1.ToFilterColumnNamesPipe, typeof i2.FilterHeaderRowDirective],
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TableFilterModule, never, [typeof i1.ToFilterColumnNamesPipe, typeof i2.FilterHeaderRowDirective], [typeof i1.ToFilterColumnNamesPipe, typeof i2.FilterHeaderRowDirective]>;
|
|
7
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<TableFilterModule>;
|
|
8
8
|
}
|
|
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class ToFilterColumnNamesPipe implements PipeTransform {
|
|
4
4
|
transform(columns: string[]): string[];
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToFilterColumnNamesPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ToFilterColumnNamesPipe, "toFilterColumnNames",
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ToFilterColumnNamesPipe, "toFilterColumnNames", true>;
|
|
7
7
|
}
|
|
@@ -8,7 +8,7 @@ export declare const RXAP_TABLE_ACTION_METHOD_METADATA = "rxap-table-action-meth
|
|
|
8
8
|
* @deprecated use RXAP_TABLE_ACTION_METHOD_METADATA instead
|
|
9
9
|
*/
|
|
10
10
|
export declare const RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA = "rxap-table-action-method-check-function-metadata";
|
|
11
|
-
export interface TableActionMethodOptions<Data
|
|
11
|
+
export interface TableActionMethodOptions<Data = any> {
|
|
12
12
|
type?: string;
|
|
13
13
|
checkFunction?: RowActionCheckFunction<Data>;
|
|
14
14
|
/**
|
|
@@ -38,5 +38,5 @@ export interface TableActionMethodOptions<Data extends Record<string, unknown> =
|
|
|
38
38
|
*/
|
|
39
39
|
priority?: number;
|
|
40
40
|
}
|
|
41
|
-
export declare function TableActionMethod<Data
|
|
42
|
-
export declare function TableActionMethod<Data
|
|
41
|
+
export declare function TableActionMethod<Data = any>(options: TableActionMethodOptions): ClassDecorator;
|
|
42
|
+
export declare function TableActionMethod<Data = any>(type: string, checkFunction?: RowActionCheckFunction<Data>): ClassDecorator;
|
|
@@ -6,5 +6,5 @@ export declare class RowActionCheckPipe<RowType extends Record<string, unknown>
|
|
|
6
6
|
constructor(tableRowActionMethodList: Array<TableRowActionTypeMethod<RowType>> | TableRowActionTypeMethod<RowType> | null);
|
|
7
7
|
transform(value: RowType | RowType[], type: string): boolean;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<RowActionCheckPipe<any>, [{ optional: true; }]>;
|
|
9
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<RowActionCheckPipe<any>, "rxapRowActionCheck",
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RowActionCheckPipe<any>, "rxapRowActionCheck", true>;
|
|
10
10
|
}
|
|
@@ -7,5 +7,5 @@ export declare class TableRowActionExecutingDirective {
|
|
|
7
7
|
show(): void;
|
|
8
8
|
hide(): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowActionExecutingDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowActionExecutingDirective, "[rxapTableRowActionExecuting]", never, {}, {}, never, never,
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowActionExecutingDirective, "[rxapTableRowActionExecuting]", never, {}, {}, never, never, true, never>;
|
|
11
11
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ChangeDetectorRef,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { MatButton } from '@angular/material/button';
|
|
3
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
4
4
|
import { TableDataSourceDirective } from '../table-data-source.directive';
|
|
5
5
|
import { TableRowActionMethod } from './types';
|
|
6
6
|
import { TableActionMethodOptions } from './decorators';
|
|
@@ -68,5 +68,5 @@ export declare class TableRowActionDirective<Data extends Record<string, any>> e
|
|
|
68
68
|
private setStatus;
|
|
69
69
|
private getTableActionOptions;
|
|
70
70
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowActionDirective<any>, [null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
71
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowActionDirective<any>, "button[rxapTableRowAction]", never, { "hasConfirmDirective": { "alias": "rxapConfirm"; "required": false; }; "element": { "alias": "element"; "required": false; }; "type": { "alias": "rxapTableRowAction"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "successMessage": { "alias": "successMessage"; "required": false; }; "refresh": { "alias": "refresh"; "required": false; }; }, {}, ["executingDirective"], never,
|
|
71
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowActionDirective<any>, "button[rxapTableRowAction]", never, { "hasConfirmDirective": { "alias": "rxapConfirm"; "required": false; }; "element": { "alias": "element"; "required": false; }; "type": { "alias": "rxapTableRowAction"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "successMessage": { "alias": "successMessage"; "required": false; }; "refresh": { "alias": "refresh"; "required": false; }; }, {}, ["executingDirective"], never, true, never>;
|
|
72
72
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TableActionMethodOptions } from './decorators';
|
|
2
|
-
import { TableRowActionMethod, TableRowActionTypeMethod, TableRowActionTypeSwitchMethod
|
|
2
|
+
import { RowActionCheckFunction, TableRowActionMethod, TableRowActionTypeMethod, TableRowActionTypeSwitchMethod } from './types';
|
|
3
3
|
export declare function IsTableRowActionTypeSwitchMethod<Data extends Record<string, any>>(method: TableRowActionMethod<Data>): method is TableRowActionTypeSwitchMethod<Data>;
|
|
4
4
|
export declare function IsTableRowActionTypeMethod<Data extends Record<string, any>>(type: string): (method: TableRowActionMethod<Data>) => method is TableRowActionTypeMethod<Data>;
|
|
5
5
|
export declare function HasTableRowActionCheckFunction(method: TableRowActionMethod<any>): boolean;
|
|
@@ -4,13 +4,13 @@ import * as i2 from "./table-row-action-executing.directive";
|
|
|
4
4
|
import * as i3 from "./table-row-header-action.directive";
|
|
5
5
|
import * as i4 from "./row-action-check.pipe";
|
|
6
6
|
import * as i5 from "@rxap/components";
|
|
7
|
-
import * as i6 from "@angular/material/
|
|
8
|
-
import * as i7 from "@angular/material/
|
|
7
|
+
import * as i6 from "@angular/material/tooltip";
|
|
8
|
+
import * as i7 from "@angular/material/button";
|
|
9
9
|
import * as i8 from "@angular/material/icon";
|
|
10
|
-
import * as i9 from "@angular/material/
|
|
10
|
+
import * as i9 from "@angular/material/progress-bar";
|
|
11
11
|
import * as i10 from "@angular/common";
|
|
12
12
|
export declare class TableRowActionsModule {
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowActionsModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TableRowActionsModule, [typeof i1.TableRowActionDirective, typeof i2.TableRowActionExecutingDirective, typeof i3.TableRowHeaderActionDirective, typeof i4.RowActionCheckPipe
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TableRowActionsModule, never, [typeof i1.TableRowActionDirective, typeof i2.TableRowActionExecutingDirective, typeof i3.TableRowHeaderActionDirective, typeof i4.RowActionCheckPipe, typeof i5.ConfirmModule], [typeof i1.TableRowActionDirective, typeof i3.TableRowHeaderActionDirective, typeof i2.TableRowActionExecutingDirective, typeof i4.RowActionCheckPipe, typeof i6.MatTooltipModule, typeof i7.MatButtonModule, typeof i5.ConfirmModule, typeof i8.MatIconModule, typeof i9.MatProgressBarModule, typeof i10.CommonModule]>;
|
|
15
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<TableRowActionsModule>;
|
|
16
16
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, OnInit, ViewContainerRef
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { MatButton } from '@angular/material/button';
|
|
3
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
4
4
|
import { TableRowActionDirective } from './table-row-action.directive';
|
|
5
5
|
import { TableDataSourceDirective } from '../table-data-source.directive';
|
|
6
6
|
import { SelectRowService } from '../select-row/select-row.service';
|
|
@@ -17,5 +17,5 @@ export declare class TableRowHeaderActionDirective<Data extends Record<string, a
|
|
|
17
17
|
protected getElementList(): Data[];
|
|
18
18
|
type: string;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowHeaderActionDirective<any>, [null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowHeaderActionDirective<any>, "button[rxapTableRowHeaderAction]", never, { "type": { "alias": "rxapTableRowHeaderAction"; "required": false; }; }, {}, never, never,
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowHeaderActionDirective<any>, "button[rxapTableRowHeaderAction]", never, { "type": { "alias": "rxapTableRowHeaderAction"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
21
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Method } from '@rxap/
|
|
2
|
-
export type RowActionCheckFunction<Data
|
|
3
|
-
export type TableRowActionTypeSwitchMethod<Data
|
|
1
|
+
import { Method } from '@rxap/pattern';
|
|
2
|
+
export type RowActionCheckFunction<Data> = (element: Data, index: number, array: Data[]) => boolean;
|
|
3
|
+
export type TableRowActionTypeSwitchMethod<Data> = Method<any, {
|
|
4
4
|
element: Data;
|
|
5
5
|
type: string;
|
|
6
6
|
}>;
|
|
7
|
-
export type TableRowActionTypeMethod<Data
|
|
8
|
-
export type TableRowActionMethod<Data
|
|
7
|
+
export type TableRowActionTypeMethod<Data> = Method<any, Data>;
|
|
8
|
+
export type TableRowActionMethod<Data = any> = TableRowActionTypeSwitchMethod<Data> | TableRowActionTypeMethod<Data>;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { OpenApiRemoteMethod } from '@rxap/open-api/remote-method';
|
|
2
2
|
import { TableDataSourceDirective } from '../../table-data-source.directive';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { Method } from '@rxap/
|
|
4
|
+
import { Method } from '@rxap/pattern';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated removed
|
|
8
|
+
*/
|
|
6
9
|
export declare class RowControlsCellComponent<Data extends Record<string, any> & {
|
|
7
10
|
uuid: string;
|
|
8
11
|
}> {
|
|
@@ -43,5 +46,5 @@ export declare class RowControlsCellComponent<Data extends Record<string, any> &
|
|
|
43
46
|
link(): Promise<void>;
|
|
44
47
|
edit(): Promise<void>;
|
|
45
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<RowControlsCellComponent<any>, [null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RowControlsCellComponent<any>, "td[
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RowControlsCellComponent<any>, "td[rxap-row-controls-cell]", never, { "element": { "alias": "element"; "required": false; }; }, {}, never, never, true, never>;
|
|
47
50
|
}
|