@sd-angular/core 1.3.146 → 1.3.147
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/bundles/sd-angular-core-table.umd.js +4004 -0
- package/bundles/sd-angular-core-table.umd.js.map +1 -0
- package/bundles/sd-angular-core-table.umd.min.js +2 -0
- package/bundles/sd-angular-core-table.umd.min.js.map +1 -0
- package/bundles/sd-angular-core.umd.js +6 -4
- package/bundles/sd-angular-core.umd.js.map +1 -1
- package/bundles/sd-angular-core.umd.min.js +1 -1
- package/bundles/sd-angular-core.umd.min.js.map +1 -1
- package/esm2015/lib/core.module.js +4 -1
- package/esm2015/public-api.js +2 -1
- package/esm2015/table/index.js +2 -0
- package/esm2015/table/sd-angular-core-table.js +40 -0
- package/esm2015/table/src/lib/components/column-inline-filter/column-inline-filter.component.js +74 -0
- package/esm2015/table/src/lib/components/desktop-cell/desktop-cell.component.js +25 -0
- package/esm2015/table/src/lib/components/desktop-cell-view/desktop-cell-view.component.js +21 -0
- package/esm2015/table/src/lib/components/desktop-command/desktop-command.component.js +20 -0
- package/esm2015/table/src/lib/components/grid-filter/grid-filter.component.js +99 -0
- package/esm2015/table/src/lib/components/popup-filter/popup-filter.component.js +79 -0
- package/esm2015/table/src/lib/components/popup-grid-configuration/popup-grid-configuration.component.js +96 -0
- package/esm2015/table/src/lib/components/quick-action/quick-action.component.js +24 -0
- package/esm2015/table/src/lib/directives/sd-material-cell-def.directive.js +18 -0
- package/esm2015/table/src/lib/directives/sd-material-empty-data-def.directive.js +15 -0
- package/esm2015/table/src/lib/directives/sd-material-filter-def.directive.js +22 -0
- package/esm2015/table/src/lib/directives/sd-material-footer-def.directive.js +18 -0
- package/esm2015/table/src/lib/directives/sd-material-sub-information-def.directive.js +15 -0
- package/esm2015/table/src/lib/models/grid-cell.model.js +2 -0
- package/esm2015/table/src/lib/models/index.js +4 -0
- package/esm2015/table/src/lib/models/table-column.model.js +39 -0
- package/esm2015/table/src/lib/models/table-command.model.js +2 -0
- package/esm2015/table/src/lib/models/table-configuration.model.js +9 -0
- package/esm2015/table/src/lib/models/table-item.model.js +15 -0
- package/esm2015/table/src/lib/models/table-option-config.model.js +2 -0
- package/esm2015/table/src/lib/models/table-option-expand.model.js +2 -0
- package/esm2015/table/src/lib/models/table-option-export.model.js +2 -0
- package/esm2015/table/src/lib/models/table-option-group.model.js +2 -0
- package/esm2015/table/src/lib/models/table-option-paginate.model.js +2 -0
- package/esm2015/table/src/lib/models/table-option-reload.model.js +2 -0
- package/esm2015/table/src/lib/models/table-option-selector.model.js +2 -0
- package/esm2015/table/src/lib/models/table-option-sort.model.js +2 -0
- package/esm2015/table/src/lib/models/table-option-style.model.js +2 -0
- package/esm2015/table/src/lib/models/table-option.model.js +2 -0
- package/esm2015/table/src/lib/pipes/cell-view.pipe.js +180 -0
- package/esm2015/table/src/lib/pipes/column-badge.pipe.js +43 -0
- package/esm2015/table/src/lib/pipes/column-children-filter.pipe.js +31 -0
- package/esm2015/table/src/lib/pipes/column-html-template.pipe.js +23 -0
- package/esm2015/table/src/lib/pipes/column-tooltip.pipe.js +17 -0
- package/esm2015/table/src/lib/pipes/column-transform.pipe.js +35 -0
- package/esm2015/table/src/lib/pipes/column-values.pipe.js +63 -0
- package/esm2015/table/src/lib/pipes/command-disable.pipe.js +18 -0
- package/esm2015/table/src/lib/pipes/command-filter.pipe.js +79 -0
- package/esm2015/table/src/lib/pipes/command-icon.pipe.js +18 -0
- package/esm2015/table/src/lib/pipes/command-title.pipe.js +18 -0
- package/esm2015/table/src/lib/pipes/filter-column.pipe.js +30 -0
- package/esm2015/table/src/lib/pipes/filter-external.pipe.js +19 -0
- package/esm2015/table/src/lib/pipes/grid-configuration-result.pipe.js +21 -0
- package/esm2015/table/src/lib/pipes/sd-group.pipe.js +45 -0
- package/esm2015/table/src/lib/pipes/selection-action-filter.pipe.js +72 -0
- package/esm2015/table/src/lib/pipes/selection-disable.pipe.js +55 -0
- package/esm2015/table/src/lib/pipes/selection-visible-select-all.pipe.js +34 -0
- package/esm2015/table/src/lib/pipes/selection-visible.pipe.js +82 -0
- package/esm2015/table/src/lib/services/table-configuration.service.js +292 -0
- package/esm2015/table/src/lib/services/table-filter/table-filter.model.js +3 -0
- package/esm2015/table/src/lib/services/table-filter/table-filter.service.js +229 -0
- package/esm2015/table/src/lib/table.component.js +816 -0
- package/esm2015/table/src/lib/table.module.js +175 -0
- package/esm2015/table/src/public-api.js +5 -0
- package/fesm2015/sd-angular-core-table.js +2865 -0
- package/fesm2015/sd-angular-core-table.js.map +1 -0
- package/fesm2015/sd-angular-core.js +3 -0
- package/fesm2015/sd-angular-core.js.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/{sd-angular-core-1.3.146.tgz → sd-angular-core-1.3.147.tgz} +0 -0
- package/sd-angular-core.metadata.json +1 -1
- package/table/index.d.ts +1 -0
- package/table/package.json +12 -0
- package/table/sd-angular-core-table.d.ts +39 -0
- package/table/sd-angular-core-table.metadata.json +1 -0
- package/table/src/lib/components/column-inline-filter/column-inline-filter.component.d.ts +22 -0
- package/table/src/lib/components/desktop-cell/desktop-cell.component.d.ts +17 -0
- package/table/src/lib/components/desktop-cell-view/desktop-cell-view.component.d.ts +11 -0
- package/table/src/lib/components/desktop-command/desktop-command.component.d.ts +7 -0
- package/table/src/lib/components/grid-filter/grid-filter.component.d.ts +35 -0
- package/table/src/lib/components/popup-filter/popup-filter.component.d.ts +27 -0
- package/table/src/lib/components/popup-grid-configuration/popup-grid-configuration.component.d.ts +39 -0
- package/table/src/lib/components/quick-action/quick-action.component.d.ts +9 -0
- package/table/src/lib/directives/sd-material-cell-def.directive.d.ts +6 -0
- package/table/src/lib/directives/sd-material-empty-data-def.directive.d.ts +5 -0
- package/table/src/lib/directives/sd-material-filter-def.directive.d.ts +8 -0
- package/table/src/lib/directives/sd-material-footer-def.directive.d.ts +6 -0
- package/table/src/lib/directives/sd-material-sub-information-def.directive.d.ts +5 -0
- package/table/src/lib/models/grid-cell.model.d.ts +16 -0
- package/table/src/lib/models/index.d.ts +3 -0
- package/table/src/lib/models/table-column.model.d.ts +124 -0
- package/table/src/lib/models/table-command.model.d.ts +19 -0
- package/table/src/lib/models/table-configuration.model.d.ts +13 -0
- package/table/src/lib/models/table-item.model.d.ts +25 -0
- package/table/src/lib/models/table-option-config.model.d.ts +62 -0
- package/table/src/lib/models/table-option-expand.model.d.ts +6 -0
- package/table/src/lib/models/table-option-export.model.d.ts +31 -0
- package/table/src/lib/models/table-option-group.model.d.ts +4 -0
- package/table/src/lib/models/table-option-paginate.model.d.ts +6 -0
- package/table/src/lib/models/table-option-reload.model.d.ts +5 -0
- package/table/src/lib/models/table-option-selector.model.d.ts +32 -0
- package/table/src/lib/models/table-option-sort.model.d.ts +3 -0
- package/table/src/lib/models/table-option-style.model.d.ts +6 -0
- package/table/src/lib/models/table-option.model.d.ts +44 -0
- package/table/src/lib/pipes/cell-view.pipe.d.ts +15 -0
- package/table/src/lib/pipes/column-badge.pipe.d.ts +11 -0
- package/table/src/lib/pipes/column-children-filter.pipe.d.ts +8 -0
- package/table/src/lib/pipes/column-html-template.pipe.d.ts +8 -0
- package/table/src/lib/pipes/column-tooltip.pipe.d.ts +6 -0
- package/table/src/lib/pipes/column-transform.pipe.d.ts +8 -0
- package/table/src/lib/pipes/column-values.pipe.d.ts +6 -0
- package/table/src/lib/pipes/command-disable.pipe.d.ts +5 -0
- package/table/src/lib/pipes/command-filter.pipe.d.ts +6 -0
- package/table/src/lib/pipes/command-icon.pipe.d.ts +5 -0
- package/table/src/lib/pipes/command-title.pipe.d.ts +5 -0
- package/table/src/lib/pipes/filter-column.pipe.d.ts +5 -0
- package/table/src/lib/pipes/filter-external.pipe.d.ts +5 -0
- package/table/src/lib/pipes/grid-configuration-result.pipe.d.ts +10 -0
- package/table/src/lib/pipes/sd-group.pipe.d.ts +6 -0
- package/table/src/lib/pipes/selection-action-filter.pipe.d.ts +7 -0
- package/table/src/lib/pipes/selection-disable.pipe.d.ts +6 -0
- package/table/src/lib/pipes/selection-visible-select-all.pipe.d.ts +6 -0
- package/table/src/lib/pipes/selection-visible.pipe.d.ts +6 -0
- package/table/src/lib/services/table-configuration.service.d.ts +13 -0
- package/table/src/lib/services/table-filter/table-filter.model.d.ts +117 -0
- package/table/src/lib/services/table-filter/table-filter.service.d.ts +15 -0
- package/table/src/lib/table.component.d.ts +87 -0
- package/table/src/lib/table.module.d.ts +11 -0
- package/table/src/public-api.d.ts +5 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { SdTableItem } from '../models/table-item.model';
|
|
3
|
+
import { SdTableAction } from '../models/table-option-selector.model';
|
|
4
|
+
export declare class SdSelectionActionFilterPipe implements PipeTransform {
|
|
5
|
+
#private;
|
|
6
|
+
transform: (selectedItems: SdTableItem[], actions: SdTableAction[]) => SdTableAction[];
|
|
7
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { SdTableOptionSelector } from '../models/table-option-selector.model';
|
|
3
|
+
import { SdTableItem } from '../models/table-item.model';
|
|
4
|
+
export declare class SdSelectionDisablePipe implements PipeTransform {
|
|
5
|
+
transform: (selectedItems: SdTableItem[], rowData: SdTableItem, selection: SdTableOptionSelector) => boolean;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { SdTableOptionSelector } from '../models/table-option-selector.model';
|
|
3
|
+
import { SdTableItem } from '../models/table-item.model';
|
|
4
|
+
export declare class SdSelectionVisibleSelectAllPipe implements PipeTransform {
|
|
5
|
+
transform: (items: SdTableItem[], selection: SdTableOptionSelector) => Promise<boolean>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { SdTableOptionSelector } from '../models/table-option-selector.model';
|
|
3
|
+
import { SdTableItem } from '../models/table-item.model';
|
|
4
|
+
export declare class SdSelectionVisiblePipe implements PipeTransform {
|
|
5
|
+
transform: (rowData: SdTableItem, selection: SdTableOptionSelector) => boolean;
|
|
6
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SdSettingService } from '@sd-angular/core/setting';
|
|
2
|
+
import { SdTableOption } from '../models/table-option.model';
|
|
3
|
+
import { SdGridConfiguration, SdGridConfigurationCache, SdGridConfigurationResult } from '../models/table-option-config.model';
|
|
4
|
+
import { SdMaterialSubInformationDefDirective } from '../directives/sd-material-sub-information-def.directive';
|
|
5
|
+
import { ISdTableConfiguration } from '../models/table-configuration.model';
|
|
6
|
+
export declare class SdTableConfigurationService {
|
|
7
|
+
#private;
|
|
8
|
+
private settingService;
|
|
9
|
+
gridMaterialConfiguration: ISdTableConfiguration;
|
|
10
|
+
constructor(settingService: SdSettingService, gridMaterialConfiguration: ISdTableConfiguration);
|
|
11
|
+
init: (key: string, gridOption: SdTableOption) => SdGridConfigurationCache;
|
|
12
|
+
generateConfigurationResult: (configuration: SdGridConfiguration, gridOption: SdTableOption, sdSubInformation: SdMaterialSubInformationDefDirective) => SdGridConfigurationResult;
|
|
13
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { SdFilterOperator } from '../../models/table-column.model';
|
|
3
|
+
export declare class SdTableQuickFilter {
|
|
4
|
+
code: string;
|
|
5
|
+
columnFilter: {
|
|
6
|
+
[field: string]: any;
|
|
7
|
+
};
|
|
8
|
+
externalFilter: {
|
|
9
|
+
[field: string]: any;
|
|
10
|
+
};
|
|
11
|
+
filterDef: {
|
|
12
|
+
[field: string]: any;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export interface SdTableFilterConfiguration {
|
|
16
|
+
inlineColumn: Record<string, boolean>;
|
|
17
|
+
inlineExternal: Record<string, boolean>;
|
|
18
|
+
inlineFilterDef: Record<string, boolean>;
|
|
19
|
+
}
|
|
20
|
+
export interface SdTableFilterValue {
|
|
21
|
+
columnOperator?: Record<string, SdFilterOperator>;
|
|
22
|
+
columnFilter?: Record<string, any>;
|
|
23
|
+
externalFilter?: Record<string, any>;
|
|
24
|
+
filterDef?: Record<string, any>;
|
|
25
|
+
notReload?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface SdTableFilterRequest {
|
|
28
|
+
columnOperator: Record<string, SdFilterOperator>;
|
|
29
|
+
rawColumnFilter: Record<string, any>;
|
|
30
|
+
rawExternalFilter: Record<string, any>;
|
|
31
|
+
rawFilterDef: Record<string, any>;
|
|
32
|
+
pageNumber: number;
|
|
33
|
+
pageSize: number;
|
|
34
|
+
orderBy: string;
|
|
35
|
+
orderDirection: 'asc' | 'desc' | '';
|
|
36
|
+
isExported?: boolean;
|
|
37
|
+
}
|
|
38
|
+
export interface SdTableOptionFilter {
|
|
39
|
+
key?: string;
|
|
40
|
+
cacheFilter?: boolean;
|
|
41
|
+
disabled?: boolean;
|
|
42
|
+
externalFilters?: SdTableExternalFilter[];
|
|
43
|
+
inlineColumn?: boolean;
|
|
44
|
+
sorts?: string[];
|
|
45
|
+
enableCollapse?: boolean;
|
|
46
|
+
}
|
|
47
|
+
export declare type SdTableExternalFilter = TextFilter | DateFilter | DateTimeFilter | DateRangeFilter | NumberFilter | ValuesFilter | BoolFilter;
|
|
48
|
+
interface BaseFilter {
|
|
49
|
+
field: string;
|
|
50
|
+
title: string;
|
|
51
|
+
defaultShowing?: boolean;
|
|
52
|
+
disabled?: boolean;
|
|
53
|
+
}
|
|
54
|
+
interface TextFilter extends BaseFilter {
|
|
55
|
+
type: 'string';
|
|
56
|
+
default?: string;
|
|
57
|
+
}
|
|
58
|
+
interface DateFilter extends BaseFilter {
|
|
59
|
+
type: 'date';
|
|
60
|
+
default?: Date | string;
|
|
61
|
+
minDate?: string | Date;
|
|
62
|
+
maxDate?: string | Date;
|
|
63
|
+
}
|
|
64
|
+
interface DateTimeFilter extends BaseFilter {
|
|
65
|
+
type: 'datetime';
|
|
66
|
+
default?: Date | string;
|
|
67
|
+
minDate?: string | Date;
|
|
68
|
+
maxDate?: string | Date;
|
|
69
|
+
}
|
|
70
|
+
interface DateRangeFilter extends BaseFilter {
|
|
71
|
+
type: 'daterange';
|
|
72
|
+
enableTime?: boolean;
|
|
73
|
+
minDate?: string | Date;
|
|
74
|
+
maxDate?: string | Date;
|
|
75
|
+
default?: {
|
|
76
|
+
from?: Date | string;
|
|
77
|
+
to?: Date | string;
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
interface NumberFilter extends BaseFilter {
|
|
81
|
+
type: 'number';
|
|
82
|
+
default?: number;
|
|
83
|
+
}
|
|
84
|
+
interface ValuesFilter extends BaseFilter {
|
|
85
|
+
type: 'values';
|
|
86
|
+
option?: {
|
|
87
|
+
items: any[] | ((searchText?: string) => Promise<any[]>);
|
|
88
|
+
valueField: string;
|
|
89
|
+
displayField: string;
|
|
90
|
+
selection?: 'AUTOCOMPLETE' | 'MULTIPLE' | 'MULTIPLEAUTOCOMPLETE';
|
|
91
|
+
selectAll?: boolean;
|
|
92
|
+
};
|
|
93
|
+
default?: string | string[];
|
|
94
|
+
}
|
|
95
|
+
interface BoolFilter extends BaseFilter {
|
|
96
|
+
type: 'bool';
|
|
97
|
+
option?: {
|
|
98
|
+
displayOnTrue?: string;
|
|
99
|
+
displayOnFalse?: string;
|
|
100
|
+
};
|
|
101
|
+
default?: boolean;
|
|
102
|
+
}
|
|
103
|
+
export interface SdGridMaterialFilterRegister {
|
|
104
|
+
configuration: {
|
|
105
|
+
get: () => SdTableFilterConfiguration;
|
|
106
|
+
set: (configuration: Partial<SdTableFilterConfiguration>) => SdTableFilterConfiguration;
|
|
107
|
+
remove: () => void;
|
|
108
|
+
observer: Observable<SdTableFilterConfiguration>;
|
|
109
|
+
};
|
|
110
|
+
value: {
|
|
111
|
+
get: () => SdTableFilterValue;
|
|
112
|
+
set: (value: Partial<SdTableFilterValue>) => SdTableFilterValue;
|
|
113
|
+
remove: () => void;
|
|
114
|
+
observer: Observable<SdTableFilterValue>;
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SdSettingService } from '@sd-angular/core/setting';
|
|
2
|
+
import { SdTableExternalFilter, SdTableOptionFilter, SdGridMaterialFilterRegister } from './table-filter.model';
|
|
3
|
+
import { SdTableColumn } from '../../models/table-column.model';
|
|
4
|
+
import { SdMaterialFilterDefDirective } from '../../directives/sd-material-filter-def.directive';
|
|
5
|
+
export declare class SdTableFilterService {
|
|
6
|
+
#private;
|
|
7
|
+
private settingService;
|
|
8
|
+
constructor(settingService: SdSettingService);
|
|
9
|
+
register: (filter: SdTableOptionFilter, args: {
|
|
10
|
+
id: string;
|
|
11
|
+
columns: SdTableColumn[];
|
|
12
|
+
externalFilters: SdTableExternalFilter[];
|
|
13
|
+
filterDefs: SdMaterialFilterDefDirective[];
|
|
14
|
+
}) => SdGridMaterialFilterRegister;
|
|
15
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, QueryList, OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { MatPaginator } from '@angular/material/paginator';
|
|
3
|
+
import { MatSort } from '@angular/material/sort';
|
|
4
|
+
import { SdGridMaterialFilterRegister } from './services/table-filter/table-filter.model';
|
|
5
|
+
import { SdTableOption } from './models/table-option.model';
|
|
6
|
+
import { ISdTableConfiguration } from './models/table-configuration.model';
|
|
7
|
+
import { Observable } from 'rxjs';
|
|
8
|
+
import { SdNotifyService } from '@sd-angular/core/notify';
|
|
9
|
+
import { SdFilterOperator } from './models/table-column.model';
|
|
10
|
+
import { SdMaterialCellDefDirective } from './directives/sd-material-cell-def.directive';
|
|
11
|
+
import { SdGridFilter } from './components/grid-filter/grid-filter.component';
|
|
12
|
+
import { SdMaterialFilterDefDirective } from './directives/sd-material-filter-def.directive';
|
|
13
|
+
import { SdMaterialSubInformationDefDirective } from './directives/sd-material-sub-information-def.directive';
|
|
14
|
+
import { SdMaterialFooterDefDirective } from './directives/sd-material-footer-def.directive';
|
|
15
|
+
import { SdMaterialEmptyDataDefDirective } from './directives/sd-material-empty-data-def.directive';
|
|
16
|
+
import { SdExportService } from '@sd-angular/core/export';
|
|
17
|
+
import { SdGridConfiguration } from './models/table-option-config.model';
|
|
18
|
+
import { SdTableConfigurationService } from './services/table-configuration.service';
|
|
19
|
+
import { SdQuickAction } from '@sd-angular/core/quick-action';
|
|
20
|
+
import { SdTableItem } from './models/table-item.model';
|
|
21
|
+
import { SdColumnValuesPipe } from './pipes/column-values.pipe';
|
|
22
|
+
import { SdScrollDirective } from '@sd-angular/core/common';
|
|
23
|
+
import { SdTableFilterService } from './services/table-filter/table-filter.service';
|
|
24
|
+
export declare class SdTable<T = any> implements OnInit, AfterViewInit, OnDestroy {
|
|
25
|
+
#private;
|
|
26
|
+
private ref;
|
|
27
|
+
configuration: ISdTableConfiguration;
|
|
28
|
+
private gridConfigurationService;
|
|
29
|
+
private exportService;
|
|
30
|
+
private notifyService;
|
|
31
|
+
private columnValuesPipe;
|
|
32
|
+
private gridFilterService;
|
|
33
|
+
sdScroll: SdScrollDirective;
|
|
34
|
+
filterRegister: SdGridMaterialFilterRegister;
|
|
35
|
+
key: string;
|
|
36
|
+
gridConfigurationObserver: Observable<SdGridConfiguration>;
|
|
37
|
+
quickAction: SdQuickAction;
|
|
38
|
+
gridFilter: SdGridFilter;
|
|
39
|
+
set _gridFilter(gridFilter: SdGridFilter);
|
|
40
|
+
set option(option: SdTableOption);
|
|
41
|
+
gridOption: SdTableOption<T>;
|
|
42
|
+
items: SdTableItem<T>[];
|
|
43
|
+
selectedItems: T[];
|
|
44
|
+
total: number;
|
|
45
|
+
isLoading: boolean;
|
|
46
|
+
isHiddenPaginator: boolean;
|
|
47
|
+
set paginator(paginator: MatPaginator);
|
|
48
|
+
set sort(sort: MatSort);
|
|
49
|
+
sdSubInformation: SdMaterialSubInformationDefDirective;
|
|
50
|
+
sdEmptyData: SdMaterialEmptyDataDefDirective;
|
|
51
|
+
sdCellDefs: QueryList<SdMaterialCellDefDirective>;
|
|
52
|
+
cellDef: {
|
|
53
|
+
[column: string]: SdMaterialCellDefDirective;
|
|
54
|
+
};
|
|
55
|
+
sdFooterDefs: QueryList<SdMaterialFooterDefDirective>;
|
|
56
|
+
footerDef: {
|
|
57
|
+
[column: string]: SdMaterialFooterDefDirective;
|
|
58
|
+
};
|
|
59
|
+
hasFooter: boolean;
|
|
60
|
+
sdFilterDefs: QueryList<SdMaterialFilterDefDirective>;
|
|
61
|
+
filterDefs: SdMaterialFilterDefDirective[];
|
|
62
|
+
columnOperator: Record<string, SdFilterOperator>;
|
|
63
|
+
columnFilter: Record<string, any>;
|
|
64
|
+
isExporting: boolean;
|
|
65
|
+
isSelectAll: boolean;
|
|
66
|
+
exportTitle: string;
|
|
67
|
+
constructor(ref: ChangeDetectorRef, configuration: ISdTableConfiguration, gridConfigurationService: SdTableConfigurationService, exportService: SdExportService, notifyService: SdNotifyService, columnValuesPipe: SdColumnValuesPipe, gridFilterService: SdTableFilterService);
|
|
68
|
+
ngOnInit(): void;
|
|
69
|
+
ngAfterViewInit(): void;
|
|
70
|
+
ngOnDestroy(): void;
|
|
71
|
+
reload: (force?: boolean) => Promise<void>;
|
|
72
|
+
exportExcel: () => void;
|
|
73
|
+
exportCSV: () => void;
|
|
74
|
+
onFilterChange: () => void;
|
|
75
|
+
onExpand: (rowData: SdTableItem<T>) => Promise<void>;
|
|
76
|
+
onSelect: (rowData: SdTableItem<T>) => void;
|
|
77
|
+
onSelectAll: () => void;
|
|
78
|
+
onClearSelection: (items?: SdTableItem<T>[]) => void;
|
|
79
|
+
clearFilter: () => void;
|
|
80
|
+
setFilter: (args: {
|
|
81
|
+
columnFilter?: Record<string, any>;
|
|
82
|
+
externalFilter?: Record<string, any>;
|
|
83
|
+
filterDef?: Record<string, any>;
|
|
84
|
+
}) => void;
|
|
85
|
+
get gridItems(): T[];
|
|
86
|
+
detectChanges: () => void;
|
|
87
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { MatPaginatorIntl } from '@angular/material/paginator';
|
|
2
|
+
export declare class MatPaginatorIntlCro extends MatPaginatorIntl {
|
|
3
|
+
firstPageLabel: string;
|
|
4
|
+
lastPageLabel: string;
|
|
5
|
+
itemsPerPageLabel: string;
|
|
6
|
+
nextPageLabel: string;
|
|
7
|
+
previousPageLabel: string;
|
|
8
|
+
getRangeLabel: (page: number, pageSize: number, length: number) => string;
|
|
9
|
+
}
|
|
10
|
+
export declare class SdTableModule {
|
|
11
|
+
}
|