@sd-angular/core 19.0.0-beta.39 → 19.0.0-beta.40
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/components/badge/src/badge.component.d.ts +77 -19
- package/components/button/src/button.component.d.ts +2 -3
- package/components/table/src/models/table-column.model.d.ts +26 -26
- package/components/table/src/models/table-command.model.d.ts +3 -3
- package/components/table/src/models/table-item.model.d.ts +5 -4
- package/components/table/src/table.component.d.ts +33 -35
- package/fesm2022/sd-angular-core-components-badge.mjs +102 -91
- package/fesm2022/sd-angular-core-components-badge.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-button.mjs +3 -2
- package/fesm2022/sd-angular-core-components-button.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-history.mjs +1 -1
- package/fesm2022/sd-angular-core-components-history.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-import-excel.mjs +1 -1
- package/fesm2022/sd-angular-core-components-import-excel.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-tab-router.mjs +1 -1
- package/fesm2022/sd-angular-core-components-tab-router.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-table.mjs +285 -459
- package/fesm2022/sd-angular-core-components-table.mjs.map +1 -1
- package/fesm2022/sd-angular-core-utilities-models.mjs +3 -1
- package/fesm2022/sd-angular-core-utilities-models.mjs.map +1 -1
- package/package.json +47 -47
- package/sd-angular-core-19.0.0-beta.40.tgz +0 -0
- package/utilities/models/index.d.ts +1 -0
- package/utilities/models/src/filter.model.d.ts +7 -3
- package/utilities/models/src/icon.model.d.ts +2 -0
- package/sd-angular-core-19.0.0-beta.39.tgz +0 -0
|
@@ -1,27 +1,85 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { SdColor, SdSize } from '@sd-angular/core/utilities/models';
|
|
3
|
+
import { MaterialIconFontSet } from '@sd-angular/core/utilities/models';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
export type SdBadgeType = 'tag' | 'round' | 'icon';
|
|
4
6
|
export declare class SdBadge {
|
|
5
7
|
defaultIcon: string;
|
|
6
|
-
type:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
icon: string | undefined | null;
|
|
22
|
-
size: SdSize;
|
|
23
|
-
sdClick: EventEmitter<any>;
|
|
8
|
+
type: import("@angular/core").InputSignalWithTransform<SdBadgeType, SdBadgeType | null | undefined>;
|
|
9
|
+
color: import("@angular/core").InputSignalWithTransform<SdColor, SdColor | null | undefined>;
|
|
10
|
+
primary: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
11
|
+
secondary: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
12
|
+
success: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
13
|
+
info: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
14
|
+
warning: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
15
|
+
error: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
16
|
+
fontSet: import("@angular/core").InputSignalWithTransform<MaterialIconFontSet, MaterialIconFontSet | null | undefined>;
|
|
17
|
+
title: import("@angular/core").InputSignal<string | number | null | undefined>;
|
|
18
|
+
description: import("@angular/core").InputSignal<string | null | undefined>;
|
|
19
|
+
tooltip: import("@angular/core").InputSignal<string | null | undefined>;
|
|
20
|
+
icon: import("@angular/core").InputSignal<string | null | undefined>;
|
|
21
|
+
size: import("@angular/core").InputSignalWithTransform<SdSize, SdSize | null | undefined>;
|
|
22
|
+
click: EventEmitter<Event>;
|
|
24
23
|
onClick: (event: Event) => void;
|
|
24
|
+
effectiveColor: import("@angular/core").Signal<SdColor>;
|
|
25
|
+
baseColorClasses: import("@angular/core").Signal<{
|
|
26
|
+
'c-primary': boolean;
|
|
27
|
+
'c-secondary': boolean;
|
|
28
|
+
'c-info': boolean;
|
|
29
|
+
'c-success': boolean;
|
|
30
|
+
'c-warning': boolean;
|
|
31
|
+
'c-error': boolean;
|
|
32
|
+
}>;
|
|
33
|
+
iconColorClasses: import("@angular/core").Signal<{
|
|
34
|
+
'c-primary': boolean;
|
|
35
|
+
'c-black400': boolean;
|
|
36
|
+
'c-info': boolean;
|
|
37
|
+
'c-success': boolean;
|
|
38
|
+
'c-warning': boolean;
|
|
39
|
+
'c-error': boolean;
|
|
40
|
+
}>;
|
|
41
|
+
iconSizeAndFontClasses: import("@angular/core").Signal<{
|
|
42
|
+
'c-xs': boolean;
|
|
43
|
+
'c-sm': boolean;
|
|
44
|
+
'c-md': boolean;
|
|
45
|
+
'c-lg': boolean;
|
|
46
|
+
'material-icons': boolean;
|
|
47
|
+
'material-icons-outlined': boolean;
|
|
48
|
+
'material-icons-round': boolean;
|
|
49
|
+
'material-icons-sharp': boolean;
|
|
50
|
+
}>;
|
|
51
|
+
tagIconCombinedClasses: import("@angular/core").Signal<{
|
|
52
|
+
'c-primary': boolean;
|
|
53
|
+
'c-secondary': boolean;
|
|
54
|
+
'c-info': boolean;
|
|
55
|
+
'c-success': boolean;
|
|
56
|
+
'c-warning': boolean;
|
|
57
|
+
'c-error': boolean;
|
|
58
|
+
'c-xs': boolean;
|
|
59
|
+
'c-sm': boolean;
|
|
60
|
+
'c-md': boolean;
|
|
61
|
+
'c-lg': boolean;
|
|
62
|
+
'material-icons': boolean;
|
|
63
|
+
'material-icons-outlined': boolean;
|
|
64
|
+
'material-icons-round': boolean;
|
|
65
|
+
'material-icons-sharp': boolean;
|
|
66
|
+
}>;
|
|
67
|
+
iconCombinedClasses: import("@angular/core").Signal<{
|
|
68
|
+
'c-primary': boolean;
|
|
69
|
+
'c-black400': boolean;
|
|
70
|
+
'c-info': boolean;
|
|
71
|
+
'c-success': boolean;
|
|
72
|
+
'c-warning': boolean;
|
|
73
|
+
'c-error': boolean;
|
|
74
|
+
'c-xs': boolean;
|
|
75
|
+
'c-sm': boolean;
|
|
76
|
+
'c-md': boolean;
|
|
77
|
+
'c-lg': boolean;
|
|
78
|
+
'material-icons': boolean;
|
|
79
|
+
'material-icons-outlined': boolean;
|
|
80
|
+
'material-icons-round': boolean;
|
|
81
|
+
'material-icons-sharp': boolean;
|
|
82
|
+
}>;
|
|
25
83
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdBadge, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SdBadge, "sd-badge", never, { "
|
|
84
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdBadge, "sd-badge", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "primary": { "alias": "primary"; "required": false; "isSignal": true; }; "secondary": { "alias": "secondary"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "info": { "alias": "info"; "required": false; "isSignal": true; }; "warning": { "alias": "warning"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "fontSet": { "alias": "fontSet"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "click": "click"; }, never, never, true, never>;
|
|
27
85
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { SdBaseSecureComponent } from '@sd-angular/core/components/base';
|
|
3
|
-
import { SdColor } from '@sd-angular/core/utilities/models';
|
|
3
|
+
import { MaterialIconFontSet, SdColor } from '@sd-angular/core/utilities/models';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export type SdButtonFontSet = 'material-icons' | 'material-icons-outlined' | 'material-icons-round' | 'material-icons-sharp' | 'material-symbols-outlined';
|
|
6
5
|
export type SdButtonType = 'fill' | 'light' | 'outline' | 'link';
|
|
7
6
|
export type SdButtonSize = 'sm' | 'md' | 'lg';
|
|
8
7
|
export declare class SdButton extends SdBaseSecureComponent implements OnInit, OnDestroy {
|
|
@@ -12,7 +11,7 @@ export declare class SdButton extends SdBaseSecureComponent implements OnInit, O
|
|
|
12
11
|
type: import("@angular/core").InputSignalWithTransform<SdButtonType, SdButtonType | null | undefined>;
|
|
13
12
|
color: import("@angular/core").InputSignalWithTransform<SdColor, SdColor | null | undefined>;
|
|
14
13
|
size: import("@angular/core").InputSignalWithTransform<SdButtonSize, SdButtonSize | null | undefined>;
|
|
15
|
-
fontSet: import("@angular/core").InputSignalWithTransform<
|
|
14
|
+
fontSet: import("@angular/core").InputSignalWithTransform<MaterialIconFontSet, MaterialIconFontSet | null | undefined>;
|
|
16
15
|
title: import("@angular/core").InputSignal<string | null | undefined>;
|
|
17
16
|
width: import("@angular/core").InputSignal<string | null | undefined>;
|
|
18
17
|
tooltip: import("@angular/core").InputSignal<string | null | undefined>;
|
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import { SdBadge } from '@sd-angular/core/components/badge';
|
|
3
3
|
import { SdSearch } from '@sd-angular/core/forms';
|
|
4
|
-
import {
|
|
4
|
+
import { SdNestedKeyOf, SdOperator } from '@sd-angular/core/utilities';
|
|
5
|
+
import { SdUnwrapSignal } from '@sd-angular/core/utilities/models';
|
|
5
6
|
export type SdTableColumn<T = any> = SdTableColumnText<T> | SdTableColumnNumber<T> | SdTableColumnBool<T> | SdTableColumnDate<T> | SdTableColumnValues<T> | SdTableColumnLazyValues<T> | SdTableColumnChildren<T>;
|
|
6
7
|
export type SdTableColumnTransformFunc<T = any> = (value: any, rowData: T, args?: {
|
|
7
8
|
isExport?: boolean;
|
|
8
9
|
}) => string | Promise<string>;
|
|
10
|
+
interface Badge {
|
|
11
|
+
type?: SdUnwrapSignal<SdBadge['type']>;
|
|
12
|
+
color?: SdUnwrapSignal<SdBadge['color']>;
|
|
13
|
+
icon?: SdUnwrapSignal<SdBadge['icon']>;
|
|
14
|
+
title?: SdUnwrapSignal<SdBadge['title']>;
|
|
15
|
+
}
|
|
16
|
+
type UseBadgeFunc<T = any> = (value: any, rowData: T) => Badge;
|
|
17
|
+
type UseBadgeValuesFunc<T = any, K = any> = (value: any, rowData: T, items: K[]) => Badge;
|
|
9
18
|
interface SdTableColumnBase<T = any> {
|
|
10
19
|
title: string;
|
|
11
20
|
titleHtml?: string;
|
|
@@ -17,12 +26,6 @@ interface SdTableColumnBase<T = any> {
|
|
|
17
26
|
invisible?: boolean;
|
|
18
27
|
fixed?: boolean;
|
|
19
28
|
align?: 'right';
|
|
20
|
-
useBadge?: (value: any, rowData: T) => {
|
|
21
|
-
type?: SdBadge['type'];
|
|
22
|
-
color?: SdBadge['color'];
|
|
23
|
-
icon?: SdBadge['icon'];
|
|
24
|
-
title?: SdBadge['title'];
|
|
25
|
-
};
|
|
26
29
|
cellStyle?: (value: any, rowData: T) => Record<string, string>;
|
|
27
30
|
htmlTemplate?: (value: any, rowData: T) => string;
|
|
28
31
|
transform?: SdTableColumnTransformFunc<T>;
|
|
@@ -47,16 +50,12 @@ interface SdTableColumnBase<T = any> {
|
|
|
47
50
|
interface SdTableColumnText<T = any> extends SdTableColumnBase<T> {
|
|
48
51
|
field: SdNestedKeyOf<T>;
|
|
49
52
|
type: 'string';
|
|
50
|
-
|
|
51
|
-
badgeIcon?: (value: any, rowData: T) => string;
|
|
52
|
-
badgeType?: SdBadge['type'];
|
|
53
|
+
useBadge?: UseBadgeFunc<T>;
|
|
53
54
|
}
|
|
54
55
|
interface SdTableColumnNumber<T = any> extends SdTableColumnBase<T> {
|
|
55
56
|
field: SdNestedKeyOf<T>;
|
|
56
57
|
type: 'number';
|
|
57
|
-
|
|
58
|
-
badgeIcon?: (value: any, rowData: T) => string;
|
|
59
|
-
badgeType?: SdBadge['type'];
|
|
58
|
+
useBadge?: UseBadgeFunc<T>;
|
|
60
59
|
filter?: SdTableColumnBase['filter'] & {
|
|
61
60
|
type?: 'split-number';
|
|
62
61
|
};
|
|
@@ -64,6 +63,7 @@ interface SdTableColumnNumber<T = any> extends SdTableColumnBase<T> {
|
|
|
64
63
|
interface SdTableColumnBool<T = any> extends SdTableColumnBase<T> {
|
|
65
64
|
field: SdNestedKeyOf<T>;
|
|
66
65
|
type: 'boolean';
|
|
66
|
+
useBadge?: UseBadgeFunc<T>;
|
|
67
67
|
option?: {
|
|
68
68
|
displayOnTrue?: string;
|
|
69
69
|
displayOnFalse?: string;
|
|
@@ -72,31 +72,31 @@ interface SdTableColumnBool<T = any> extends SdTableColumnBase<T> {
|
|
|
72
72
|
interface SdTableColumnDate<T = any> extends SdTableColumnBase<T> {
|
|
73
73
|
field: SdNestedKeyOf<T>;
|
|
74
74
|
type: 'date' | 'datetime' | 'time';
|
|
75
|
+
useBadge?: UseBadgeFunc<T>;
|
|
75
76
|
filter?: SdTableColumnBase['filter'] & {
|
|
76
77
|
type?: 'daterange' | 'date' | 'split-date';
|
|
77
78
|
};
|
|
78
79
|
}
|
|
79
|
-
export interface SdTableColumnValues<T = any
|
|
80
|
+
export interface SdTableColumnValues<T = any, K = Record<string, any>> extends SdTableColumnBase<T> {
|
|
80
81
|
field: SdNestedKeyOf<T>;
|
|
81
82
|
type: 'values';
|
|
82
|
-
|
|
83
|
-
badgeIcon?: (value: any, rowData: T) => string;
|
|
84
|
-
badgeType?: SdBadge['type'];
|
|
83
|
+
useBadge?: UseBadgeValuesFunc<T, K>;
|
|
85
84
|
option: {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
selection?: '
|
|
85
|
+
items: K[] | (() => Promise<K[]>);
|
|
86
|
+
valueField: Extract<keyof K, string>;
|
|
87
|
+
displayField: Extract<keyof K, string>;
|
|
88
|
+
selection?: 'MULTIPLE';
|
|
90
89
|
};
|
|
91
90
|
}
|
|
92
|
-
export interface SdTableColumnLazyValues<T = any
|
|
91
|
+
export interface SdTableColumnLazyValues<T = any, K = Record<string, any>> extends SdTableColumnBase<T> {
|
|
93
92
|
field: SdNestedKeyOf<T>;
|
|
94
93
|
type: 'lazy-values';
|
|
94
|
+
useBadge?: UseBadgeFunc<T>;
|
|
95
95
|
option: {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
views?: (values: string[]) => Promise<
|
|
96
|
+
items: SdSearch<K>;
|
|
97
|
+
valueField: Extract<keyof K, string>;
|
|
98
|
+
displayField: Extract<keyof K, string>;
|
|
99
|
+
views?: (values: string[]) => Promise<K[]>;
|
|
100
100
|
mapValue?: (value: any, rowData?: T) => string | string[];
|
|
101
101
|
selection?: 'MULTIPLE';
|
|
102
102
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SdColor } from '@sd-angular/core/utilities/models';
|
|
1
|
+
import { MaterialIconFontSet, SdColor } from '@sd-angular/core/utilities/models';
|
|
2
2
|
export interface SdTableCommandOption<T = any> {
|
|
3
3
|
align?: 'left' | 'right';
|
|
4
4
|
commands?: SdTableCommand<T>[];
|
|
@@ -7,7 +7,7 @@ export type SdTableCommand<T = any> = SdTableCommandNormal<T> | SdTableCommandCh
|
|
|
7
7
|
export interface SdTableCommandNormal<T = any> {
|
|
8
8
|
color?: SdColor;
|
|
9
9
|
icon?: string | ((rowData: T) => string);
|
|
10
|
-
fontSet?:
|
|
10
|
+
fontSet?: MaterialIconFontSet;
|
|
11
11
|
title?: string | ((rowData: T) => string);
|
|
12
12
|
disabled?: boolean | ((rowData: T) => boolean);
|
|
13
13
|
hidden?: boolean | ((rowData: T) => boolean | Promise<boolean>);
|
|
@@ -16,7 +16,7 @@ export interface SdTableCommandNormal<T = any> {
|
|
|
16
16
|
}
|
|
17
17
|
export interface SdTableCommandChildren<T = any> {
|
|
18
18
|
icon?: string | ((rowData: T) => string);
|
|
19
|
-
fontSet?:
|
|
19
|
+
fontSet?: MaterialIconFontSet;
|
|
20
20
|
title?: string | ((rowData: T) => string);
|
|
21
21
|
disabled?: boolean | ((rowData: T) => boolean);
|
|
22
22
|
hidden?: boolean | ((rowData: T) => boolean | Promise<boolean>);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SdBadge } from '@sd-angular/core/components/badge';
|
|
2
|
+
import { SdUnwrapSignal } from '@sd-angular/core/utilities/models';
|
|
2
3
|
export interface SdTableMetaSelector {
|
|
3
4
|
selectable?: boolean;
|
|
4
5
|
isSelected?: boolean;
|
|
@@ -12,10 +13,10 @@ export interface SdTableMetaExpand {
|
|
|
12
13
|
export interface SdTableDisplay {
|
|
13
14
|
tooltip?: string;
|
|
14
15
|
badge?: {
|
|
15
|
-
type: SdBadge['type']
|
|
16
|
-
color: SdBadge['color']
|
|
17
|
-
icon?:
|
|
18
|
-
title?:
|
|
16
|
+
type: SdUnwrapSignal<SdBadge['type']>;
|
|
17
|
+
color: SdUnwrapSignal<SdBadge['color']>;
|
|
18
|
+
icon?: SdUnwrapSignal<SdBadge['icon']>;
|
|
19
|
+
title?: SdUnwrapSignal<SdBadge['title']>;
|
|
19
20
|
};
|
|
20
21
|
cellStyle?: Record<string, string>;
|
|
21
22
|
data: string | number | undefined | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, OnDestroy, OnInit
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { MatPaginator, MatPaginatorIntl } from '@angular/material/paginator';
|
|
3
3
|
import { MatSort } from '@angular/material/sort';
|
|
4
4
|
import { MatTable } from '@angular/material/table';
|
|
@@ -43,53 +43,51 @@ export declare class SdTable<T = unknown> extends SdBaseSecureComponent implemen
|
|
|
43
43
|
private excelService;
|
|
44
44
|
private notifyService;
|
|
45
45
|
private gridFilterService;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
46
|
+
autoIdInput: import("@angular/core").InputSignal<string | null | undefined>;
|
|
47
|
+
autoId: import("@angular/core").Signal<string | undefined>;
|
|
48
|
+
option: import("@angular/core").InputSignal<SdTableOption<T>>;
|
|
49
|
+
table: import("@angular/core").Signal<MatTable<any> | undefined>;
|
|
50
|
+
configComponent: import("@angular/core").Signal<ConfigComponent | undefined>;
|
|
51
|
+
sdPopupExport: import("@angular/core").Signal<SdPopupExport | undefined>;
|
|
52
|
+
scroll: import("@angular/core").Signal<SdScrollDirective | undefined>;
|
|
53
|
+
quickAction: import("@angular/core").Signal<SdQuickAction | undefined>;
|
|
54
|
+
externalFilter: import("@angular/core").Signal<ExternalFilterComponent | undefined>;
|
|
55
|
+
paginator: import("@angular/core").Signal<MatPaginator | undefined>;
|
|
56
|
+
sort: import("@angular/core").Signal<MatSort | undefined>;
|
|
57
|
+
sdSubInformation: import("@angular/core").Signal<SdMaterialSubInformationDefDirective | undefined>;
|
|
58
|
+
sdCellDefs: import("@angular/core").Signal<readonly SdTabelCellDefDirective[]>;
|
|
59
|
+
sdFooterDefs: import("@angular/core").Signal<readonly SdMaterialFooterDefDirective[]>;
|
|
60
|
+
sdFilterDefs: import("@angular/core").Signal<readonly SdTableFilterDefDirective[]>;
|
|
61
|
+
cellDef: import("@angular/core").Signal<Record<string, SdTabelCellDefDirective>>;
|
|
62
|
+
footerDef: import("@angular/core").Signal<Record<string, SdMaterialFooterDefDirective>>;
|
|
63
|
+
hasFooter: import("@angular/core").Signal<boolean>;
|
|
64
|
+
tableOption: import("@angular/core").WritableSignal<SdTableOption<T> | undefined>;
|
|
65
|
+
configuration: import("@angular/core").WritableSignal<ConfiguredTableResult | undefined>;
|
|
66
|
+
items: import("@angular/core").WritableSignal<SdTableItem<T>[]>;
|
|
67
|
+
selectedTableItems: import("@angular/core").WritableSignal<SdTableItem<T>[]>;
|
|
68
|
+
total: import("@angular/core").WritableSignal<number | undefined>;
|
|
69
|
+
loading: import("@angular/core").WritableSignal<boolean>;
|
|
70
|
+
exporting: import("@angular/core").WritableSignal<boolean>;
|
|
71
|
+
isSelectAll: import("@angular/core").WritableSignal<boolean>;
|
|
72
|
+
exportTitle: import("@angular/core").WritableSignal<string>;
|
|
73
|
+
isFiltered: import("@angular/core").WritableSignal<boolean>;
|
|
74
|
+
requireFiltered: import("@angular/core").WritableSignal<boolean>;
|
|
52
75
|
filterRegister: TableFilterRegister;
|
|
53
76
|
key: string;
|
|
54
|
-
quickAction?: SdQuickAction;
|
|
55
|
-
externalFilter?: ExternalFilterComponent;
|
|
56
|
-
tableOption: SdTableOption<T>;
|
|
57
|
-
configuration?: ConfiguredTableResult;
|
|
58
|
-
set option(option: SdTableOption);
|
|
59
|
-
items: SdTableItem<T>[];
|
|
60
|
-
selectedTableItems: SdTableItem<T>[];
|
|
61
|
-
total?: number;
|
|
62
|
-
loading: boolean;
|
|
63
|
-
isHiddenPaginator: boolean;
|
|
64
|
-
set paginator(paginator: MatPaginator);
|
|
65
|
-
set sort(sort: MatSort);
|
|
66
|
-
sdSubInformation?: SdMaterialSubInformationDefDirective;
|
|
67
|
-
sdCellDefs: QueryList<SdTabelCellDefDirective>;
|
|
68
|
-
cellDef: Record<string, SdTabelCellDefDirective>;
|
|
69
|
-
sdFooterDefs: QueryList<SdMaterialFooterDefDirective>;
|
|
70
|
-
footerDef: Record<string, SdMaterialFooterDefDirective>;
|
|
71
|
-
hasFooter: boolean;
|
|
72
|
-
sdFilterDefs: QueryList<SdTableFilterDefDirective>;
|
|
73
|
-
filterDefs: SdTableFilterDefDirective[];
|
|
74
77
|
columnOperator: Record<string, SdOperator>;
|
|
75
78
|
columnFilter?: Record<string, any>;
|
|
76
|
-
exporting: boolean;
|
|
77
|
-
isSelectAll: boolean;
|
|
78
|
-
exportTitle: string;
|
|
79
79
|
cacheValues: Record<string, any[]>;
|
|
80
80
|
constructor(ref: ChangeDetectorRef, formatNumberPipe: SdFormatNumberPipe, tableConfiguration: ISdTableConfiguration | undefined, configService: ConfigService, excelService: SdExcelService, notifyService: SdNotifyService, gridFilterService: SdTableFilterService);
|
|
81
81
|
ngOnInit(): void;
|
|
82
82
|
ngAfterViewInit(): void;
|
|
83
83
|
ngOnDestroy(): void;
|
|
84
|
-
isFiltered: boolean;
|
|
85
|
-
requireFiltered: boolean;
|
|
86
84
|
reload: (force?: boolean, scrollTop?: boolean) => Promise<void>;
|
|
87
85
|
onExport: (args?: {
|
|
88
86
|
columns?: SdExcelColumn[];
|
|
89
87
|
isCSV?: boolean;
|
|
90
88
|
}) => Promise<void>;
|
|
91
|
-
exportExcel: () => void
|
|
92
|
-
exportCSV: () => void
|
|
89
|
+
exportExcel: () => Promise<void>;
|
|
90
|
+
exportCSV: () => Promise<void>;
|
|
93
91
|
exportCustom: () => void;
|
|
94
92
|
onFilterChange: () => void;
|
|
95
93
|
onExpand: (rowData: SdTableItem<T>) => Promise<void>;
|
|
@@ -107,5 +105,5 @@ export declare class SdTable<T = unknown> extends SdBaseSecureComponent implemen
|
|
|
107
105
|
onOperatorChange: (column: SdTableColumn, operator: SdOperator) => void;
|
|
108
106
|
trackBy: (index: number, item: SdTableItem) => string;
|
|
109
107
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdTable<any>, [null, null, { optional: true; }, null, null, null, null]>;
|
|
110
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SdTable<any>, "sd-table", never, { "
|
|
108
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdTable<any>, "sd-table", never, { "autoIdInput": { "alias": "autoId"; "required": false; "isSignal": true; }; "option": { "alias": "option"; "required": true; "isSignal": true; }; }, {}, ["sdSubInformation", "sdCellDefs", "sdFooterDefs", "sdFilterDefs"], ["[sdTableTop]"], true, never>;
|
|
111
109
|
}
|