shirkasoft-ui-components 1.14.0 → 2.0.1
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/README.md +12 -9
- package/fesm2022/shirkasoft-ui-components-breadcrumb.mjs +189 -100
- package/fesm2022/shirkasoft-ui-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-button.mjs +363 -69
- package/fesm2022/shirkasoft-ui-components-button.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-chart.mjs +206 -142
- package/fesm2022/shirkasoft-ui-components-chart.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-config.mjs +905 -843
- package/fesm2022/shirkasoft-ui-components-config.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-confirm-dialog.mjs +307 -142
- package/fesm2022/shirkasoft-ui-components-confirm-dialog.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-date-picker.mjs +1697 -1440
- package/fesm2022/shirkasoft-ui-components-date-picker.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-fieldset.mjs +347 -92
- package/fesm2022/shirkasoft-ui-components-fieldset.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-file-upload.mjs +555 -300
- package/fesm2022/shirkasoft-ui-components-file-upload.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-icons.mjs +1028 -533
- package/fesm2022/shirkasoft-ui-components-icons.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-knob.mjs +389 -201
- package/fesm2022/shirkasoft-ui-components-knob.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-loading.mjs +505 -128
- package/fesm2022/shirkasoft-ui-components-loading.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-modal.mjs +311 -314
- package/fesm2022/shirkasoft-ui-components-modal.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-notification.mjs +188 -142
- package/fesm2022/shirkasoft-ui-components-notification.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-price-input.mjs +585 -327
- package/fesm2022/shirkasoft-ui-components-price-input.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-rail-sidebar.mjs +669 -289
- package/fesm2022/shirkasoft-ui-components-rail-sidebar.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-select.mjs +1076 -819
- package/fesm2022/shirkasoft-ui-components-select.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-sidebar.mjs +508 -184
- package/fesm2022/shirkasoft-ui-components-sidebar.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-skeleton.mjs +197 -57
- package/fesm2022/shirkasoft-ui-components-skeleton.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-table.mjs +1916 -1698
- package/fesm2022/shirkasoft-ui-components-table.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-tabs.mjs +419 -175
- package/fesm2022/shirkasoft-ui-components-tabs.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-tag.mjs +175 -49
- package/fesm2022/shirkasoft-ui-components-tag.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-text-field.mjs +749 -402
- package/fesm2022/shirkasoft-ui-components-text-field.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-theme-picker.mjs +310 -124
- package/fesm2022/shirkasoft-ui-components-theme-picker.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-theme.mjs +141 -174
- package/fesm2022/shirkasoft-ui-components-theme.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-timeline.mjs +791 -203
- package/fesm2022/shirkasoft-ui-components-timeline.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-toggle.mjs +179 -109
- package/fesm2022/shirkasoft-ui-components-toggle.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-tooltip.mjs +244 -180
- package/fesm2022/shirkasoft-ui-components-tooltip.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-utils.mjs +129 -133
- package/fesm2022/shirkasoft-ui-components-utils.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components-wizard.mjs +673 -165
- package/fesm2022/shirkasoft-ui-components-wizard.mjs.map +1 -1
- package/fesm2022/shirkasoft-ui-components.mjs +0 -9
- package/package.json +5 -5
- package/types/shirkasoft-ui-components-breadcrumb.d.ts +59 -44
- package/types/shirkasoft-ui-components-button.d.ts +142 -49
- package/types/shirkasoft-ui-components-chart.d.ts +59 -44
- package/types/shirkasoft-ui-components-config.d.ts +193 -204
- package/types/shirkasoft-ui-components-confirm-dialog.d.ts +107 -66
- package/types/shirkasoft-ui-components-date-picker.d.ts +561 -398
- package/types/shirkasoft-ui-components-fieldset.d.ts +135 -60
- package/types/shirkasoft-ui-components-file-upload.d.ts +210 -112
- package/types/shirkasoft-ui-components-icons.d.ts +1302 -1294
- package/types/shirkasoft-ui-components-knob.d.ts +144 -78
- package/types/shirkasoft-ui-components-loading.d.ts +155 -64
- package/types/shirkasoft-ui-components-modal.d.ts +134 -136
- package/types/shirkasoft-ui-components-notification.d.ts +63 -59
- package/types/shirkasoft-ui-components-price-input.d.ts +232 -113
- package/types/shirkasoft-ui-components-rail-sidebar.d.ts +262 -142
- package/types/shirkasoft-ui-components-select.d.ts +335 -196
- package/types/shirkasoft-ui-components-sidebar.d.ts +198 -93
- package/types/shirkasoft-ui-components-skeleton.d.ts +68 -27
- package/types/shirkasoft-ui-components-table.d.ts +849 -660
- package/types/shirkasoft-ui-components-tabs.d.ts +102 -61
- package/types/shirkasoft-ui-components-tag.d.ts +54 -23
- package/types/shirkasoft-ui-components-text-field.d.ts +263 -127
- package/types/shirkasoft-ui-components-theme-picker.d.ts +92 -58
- package/types/shirkasoft-ui-components-theme.d.ts +56 -64
- package/types/shirkasoft-ui-components-timeline.d.ts +325 -150
- package/types/shirkasoft-ui-components-toggle.d.ts +73 -49
- package/types/shirkasoft-ui-components-tooltip.d.ts +64 -43
- package/types/shirkasoft-ui-components-utils.d.ts +47 -15
- package/types/shirkasoft-ui-components-wizard.d.ts +236 -87
- package/types/shirkasoft-ui-components.d.ts +1 -2
- package/fesm2022/shirkasoft-ui-components.mjs.map +0 -1
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
import { TagSeverity } from "shirkasoft-ui-components/tag";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
/** Match modes available in the column filter menu. */
|
|
6
7
|
type FilterMatchMode = 'startsWith' | 'contains' | 'notContains' | 'endsWith' | 'equals' | 'notEquals' | 'lt' | 'lte' | 'gt' | 'gte' | 'dateIs' | 'dateIsNot' | 'dateBefore' | 'dateAfter' | 'in' | 'between';
|
|
7
8
|
/** How the rules of a column filter are combined ("Match All" / "Match Any"). */
|
|
8
9
|
type FilterOperator = 'and' | 'or';
|
|
9
10
|
/** A single rule (constraint) of a column filter. */
|
|
10
11
|
interface FilterRule {
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
matchMode: FilterMatchMode;
|
|
13
|
+
value: any;
|
|
13
14
|
}
|
|
14
15
|
/** Full filter state of a column: operator + one or more rules. */
|
|
15
16
|
interface ColumnFilterState {
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
operator: FilterOperator;
|
|
18
|
+
rules: FilterRule[];
|
|
18
19
|
}
|
|
19
20
|
/**
|
|
20
21
|
* Column filter types:
|
|
@@ -30,110 +31,110 @@ interface ColumnFilterState {
|
|
|
30
31
|
type ColumnFilterType = 'text' | 'exact' | 'select' | 'multiselect' | 'numeric' | 'date' | 'boolean' | 'range';
|
|
31
32
|
/** Option of a `select` / `multiselect` filter. */
|
|
32
33
|
interface FilterOption {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
label: string;
|
|
35
|
+
value: any;
|
|
36
|
+
/** Optional image (avatar, flag...) shown next to the label. */
|
|
37
|
+
image?: string;
|
|
37
38
|
}
|
|
38
39
|
interface Column {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
40
|
+
/** Row property to display. Supports dot paths (e.g. `'country.name'`). */
|
|
41
|
+
field: string;
|
|
42
|
+
header: string;
|
|
43
|
+
sortable?: boolean;
|
|
44
|
+
filter?: boolean;
|
|
45
|
+
filterPlaceholder?: string;
|
|
46
|
+
/** Minimum column width used on narrow containers (horizontal scroll). */
|
|
47
|
+
width?: string;
|
|
48
|
+
/** Minimum column width applied always (e.g. `'12rem'`). */
|
|
49
|
+
minWidth?: string;
|
|
50
|
+
defaultSort?: true;
|
|
51
|
+
filterType?: ColumnFilterType;
|
|
52
|
+
filterOptions?: FilterOption[];
|
|
53
|
+
/** Row property used to filter (and sort), when different from `field`. Supports dot paths. */
|
|
54
|
+
filterField?: string;
|
|
55
|
+
/** Initial match mode of the filter (defaults depend on `filterType`). */
|
|
56
|
+
filterMatchMode?: FilterMatchMode;
|
|
57
|
+
/** Shows the match mode selector (default true for text/numeric/date). */
|
|
58
|
+
showMatchModes?: boolean;
|
|
59
|
+
/** Shows the "Match All / Match Any" selector (default true for text/numeric/date). */
|
|
60
|
+
showOperator?: boolean;
|
|
61
|
+
/** Shows the "Add Rule" button (default true for text/numeric/date). */
|
|
62
|
+
showAddButton?: boolean;
|
|
63
|
+
/** Maximum number of rules in the filter menu (default 2). */
|
|
64
|
+
maxConstraints?: number;
|
|
65
|
+
/** Title shown at the top of the filter menu (e.g. `'Agent Picker'`). */
|
|
66
|
+
filterMenuTitle?: string;
|
|
67
|
+
/** Lower bound of a `range` filter (default 0). */
|
|
68
|
+
filterMin?: number;
|
|
69
|
+
/** Upper bound of a `range` filter (default 100). */
|
|
70
|
+
filterMax?: number;
|
|
71
|
+
/** Step of a `range` filter (default 1). */
|
|
72
|
+
filterStep?: number;
|
|
73
|
+
/**
|
|
74
|
+
* Cell template:
|
|
75
|
+
* - `text` (default) · `tag` · `progress` (0-100 bar) · `boolean` (check / cross icon)
|
|
76
|
+
* - `date` (uses `dateFormat`) · `currency` (uses `currency`)
|
|
77
|
+
*/
|
|
78
|
+
template?: 'text' | 'tag' | 'progress' | 'boolean' | 'date' | 'currency';
|
|
79
|
+
/**
|
|
80
|
+
* Date pattern for `template: 'date'` ('dd/MM/yyyy', 'MMM d, y', 'yyyy-MM-dd HH:mm'…)
|
|
81
|
+
* or an Angular named format ('shortDate', 'mediumDate', 'longDate', 'fullDate',
|
|
82
|
+
* 'short', 'medium', 'long', 'full').
|
|
83
|
+
* Default: the `dates.format` option (automatic by locale: 'dd/MM/yyyy' for 'es').
|
|
84
|
+
*/
|
|
85
|
+
dateFormat?: string;
|
|
86
|
+
/** ISO currency code for `template: 'currency'`. Default: the `numbers.currency` option ('USD'). */
|
|
87
|
+
currency?: string;
|
|
88
|
+
/** Image (avatar, flag...) rendered before the text of the cell. */
|
|
89
|
+
image?: (row: any) => string | undefined;
|
|
90
|
+
/** Width in px of the cell image (default 28). */
|
|
91
|
+
imageWidth?: number;
|
|
92
|
+
format?: (row: any) => string;
|
|
93
|
+
tagValue?: (row: any) => string;
|
|
94
|
+
tagSeverity?: (row: any) => TagSeverity | undefined;
|
|
95
|
+
tagRounded?: boolean | ((row: any) => boolean);
|
|
96
|
+
tagIcon?: string | ((row: any) => string);
|
|
97
|
+
tagStyle?: (row: any) => Record<string, string | number> | undefined;
|
|
97
98
|
}
|
|
98
99
|
interface TableAction {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
100
|
+
label: string;
|
|
101
|
+
icon: string | any;
|
|
102
|
+
onClick: () => void;
|
|
103
|
+
class?: string;
|
|
104
|
+
isVisible?: () => boolean;
|
|
105
|
+
isDisabled?: () => boolean;
|
|
105
106
|
}
|
|
106
107
|
interface RowAction {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
108
|
+
label: string | ((data: any) => string);
|
|
109
|
+
icon: string | ((data: any) => any) | any;
|
|
110
|
+
onClick: (rowData: any) => void;
|
|
111
|
+
class?: string | ((data: any) => string);
|
|
112
|
+
isVisible?: (rowData: any) => boolean;
|
|
113
|
+
isDisabled?: (rowData: any) => boolean;
|
|
113
114
|
}
|
|
114
115
|
interface BulkAction {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
116
|
+
label: string;
|
|
117
|
+
icon?: string | any;
|
|
118
|
+
onClick: (selectedRows: any[]) => void;
|
|
119
|
+
class?: string;
|
|
120
|
+
isVisible?: (selectedRows: any[]) => boolean;
|
|
121
|
+
isDisabled?: (selectedRows: any[]) => boolean;
|
|
121
122
|
}
|
|
122
123
|
interface PageChangeEvent {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
124
|
+
first: number;
|
|
125
|
+
rows: number;
|
|
126
|
+
page: number;
|
|
127
|
+
pageCount: number;
|
|
127
128
|
}
|
|
128
129
|
interface FilterChangeEvent {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
130
|
+
/** Value of the first active rule of each filtered column (simple mode). */
|
|
131
|
+
filters: {
|
|
132
|
+
[key: string]: any;
|
|
133
|
+
};
|
|
134
|
+
/** Full state (operator + active rules) of each filtered column. */
|
|
135
|
+
filterMeta: {
|
|
136
|
+
[key: string]: ColumnFilterState;
|
|
137
|
+
};
|
|
137
138
|
}
|
|
138
139
|
/** Severity of a row problem: informational (blue), warning (amber) or blocking (red). */
|
|
139
140
|
type RowSeverity = 'low' | 'moderate' | 'critical';
|
|
@@ -143,30 +144,30 @@ type RowSeverity = 'low' | 'moderate' | 'critical';
|
|
|
143
144
|
* needs to say when the value is a problem and how severe it is.
|
|
144
145
|
*/
|
|
145
146
|
interface RowValidation {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
147
|
+
/**
|
|
148
|
+
* Condition over the field value and the whole row. Return `true` when the
|
|
149
|
+
* row has a problem in that field.
|
|
150
|
+
*
|
|
151
|
+
* @example (value) => value == null || Number(value) <= 0
|
|
152
|
+
* @example (value, row) => !row.factura_id && !value
|
|
153
|
+
*/
|
|
154
|
+
condition: (value: any, row: any) => boolean;
|
|
155
|
+
/** Color of the row: `low` blue, `moderate` amber, `critical` red. The worst one wins. */
|
|
156
|
+
severity: RowSeverity;
|
|
157
|
+
/**
|
|
158
|
+
* Message of the violation: a translation key (Transloco) or literal text.
|
|
159
|
+
* When the key isn't translated, the literal is used as is.
|
|
160
|
+
*/
|
|
161
|
+
message?: string;
|
|
162
|
+
/** Values interpolated into `message` (`{{name}}`), resolved per row. */
|
|
163
|
+
messageParams?: (value: any, row: any) => Record<string, unknown>;
|
|
163
164
|
}
|
|
164
165
|
/** A violation found by `rowValidations`, with its message already translated. */
|
|
165
166
|
interface RowViolation {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
167
|
+
/** Field of the payload that failed (the key of `rowValidations`). */
|
|
168
|
+
field: string;
|
|
169
|
+
severity: RowSeverity;
|
|
170
|
+
message?: string;
|
|
170
171
|
}
|
|
171
172
|
/** Internal filter kind (`exact` is a `text` filter). */
|
|
172
173
|
type FilterKind = 'text' | 'numeric' | 'date' | 'select' | 'multiselect' | 'boolean' | 'range';
|
|
@@ -175,543 +176,731 @@ type FilterKind = 'text' | 'numeric' | 'date' | 'select' | 'multiselect' | 'bool
|
|
|
175
176
|
* multiple rules, typed filters), global search, pagination, row/header
|
|
176
177
|
* actions, tag/progress/boolean cells and optional server-side mode.
|
|
177
178
|
*/
|
|
178
|
-
declare class TableComponent {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
179
|
+
export declare class TableComponent {
|
|
180
|
+
/** Unique id prefix so several tables on the same page don't share element ids. */
|
|
181
|
+
protected readonly uid: string;
|
|
182
|
+
private cdr;
|
|
183
|
+
private transloco;
|
|
184
|
+
/** Library-wide options: default date pattern, locale and currency of the cells. */
|
|
185
|
+
private readonly config;
|
|
186
|
+
private destroyRef;
|
|
187
|
+
private injector;
|
|
188
|
+
/** Maps icon names to SVG data, falling back to a plus icon. */
|
|
189
|
+
protected getIcon: (name: any) => import("shirkasoft-ui-components/icons").IconNode | null;
|
|
190
|
+
/** Icons used directly by the template (not part of the central map). */
|
|
191
|
+
protected readonly icons: {
|
|
192
|
+
clear: import("shirkasoft-ui-components/icons").IconNode;
|
|
193
|
+
yes: import("shirkasoft-ui-components/icons").IconNode;
|
|
194
|
+
no: import("shirkasoft-ui-components/icons").IconNode;
|
|
195
|
+
trash: import("shirkasoft-ui-components/icons").IconNode;
|
|
196
|
+
low: import("shirkasoft-ui-components/icons").IconNode;
|
|
197
|
+
moderate: import("shirkasoft-ui-components/icons").IconNode;
|
|
198
|
+
critical: import("shirkasoft-ui-components/icons").IconNode;
|
|
199
|
+
};
|
|
200
|
+
/**
|
|
201
|
+
* Minimum width applied to each column (except `actions`, which keeps its
|
|
202
|
+
* own computed width) only on narrow screens. On wide screens columns
|
|
203
|
+
* stretch normally to fill the container width. Can be overridden per
|
|
204
|
+
* column via `col.width`.
|
|
205
|
+
*/
|
|
206
|
+
protected readonly DEFAULT_COLUMN_WIDTH = "140px";
|
|
207
|
+
/** Returns the effective CSS width for a column ('actions' included). */
|
|
208
|
+
getColumnWidth(col: Column): string;
|
|
209
|
+
/** Signal with the translated "Actions" header label. */
|
|
210
|
+
private actionsHeaderLabel;
|
|
211
|
+
/** Signal reacting to language changes so imperative translations are recomputed. */
|
|
212
|
+
private currentLang;
|
|
213
|
+
/** Reactive signal of loaded translations so pageReport is not stuck with raw keys. */
|
|
214
|
+
private translations;
|
|
215
|
+
/** Full dataset. In server-side mode only the current page rows. */
|
|
216
|
+
data: import("@angular/core").InputSignal<any[]>;
|
|
217
|
+
/** Column definitions (field, header, filterable, tag cell options, etc.). */
|
|
218
|
+
columns: import("@angular/core").InputSignal<Column[]>;
|
|
219
|
+
/** Number of rows displayed per page. */
|
|
220
|
+
rowsPerPage: import("@angular/core").InputSignal<number>;
|
|
221
|
+
/** Options shown in the rows-per-page selector. */
|
|
222
|
+
rowsPerPageOptions: import("@angular/core").InputSignal<number[]>;
|
|
223
|
+
/** Whether the table is in loading state (shows the overlay/skeleton). */
|
|
224
|
+
loading: import("@angular/core").InputSignal<boolean>;
|
|
225
|
+
/** Whether to render the row actions column. */
|
|
226
|
+
showActionRow: import("@angular/core").InputSignal<boolean>;
|
|
227
|
+
/** Custom cell/header templates keyed by column field. */
|
|
228
|
+
customTemplates: import("@angular/core").InputSignal<{
|
|
229
|
+
[key: string]: any;
|
|
230
|
+
}>;
|
|
231
|
+
/** Actions rendered in the table header. */
|
|
232
|
+
headerActions: import("@angular/core").InputSignal<TableAction[]>;
|
|
233
|
+
/** Actions rendered per row (icon, label, class, visibility/disabled). */
|
|
234
|
+
rowActions: import("@angular/core").InputSignal<RowAction[]>;
|
|
235
|
+
/** Whether the table container renders a drop shadow. */
|
|
236
|
+
hasShadow: import("@angular/core").InputSignal<boolean>;
|
|
237
|
+
/** Field used as the default initial sort. */
|
|
238
|
+
defaultSortField: import("@angular/core").InputSignal<string>;
|
|
239
|
+
/** Order used by the default initial sort (1 asc, -1 desc). */
|
|
240
|
+
defaultSortOrder: import("@angular/core").InputSignal<number>;
|
|
241
|
+
/** Whether the global search input is shown. */
|
|
242
|
+
showSearch: import("@angular/core").InputSignal<boolean>;
|
|
243
|
+
/** Placeholder for the global search input. */
|
|
244
|
+
searchPlaceholder: import("@angular/core").InputSignal<string>;
|
|
245
|
+
/**
|
|
246
|
+
* Fields (dot paths allowed) searched by the global search. When empty,
|
|
247
|
+
* every primitive top-level value of the row is searched.
|
|
248
|
+
*/
|
|
249
|
+
globalFilterFields: import("@angular/core").InputSignal<string[]>;
|
|
250
|
+
/** Message shown when there are no rows. */
|
|
251
|
+
emptyMessage: import("@angular/core").InputSignal<string>;
|
|
252
|
+
/** Enables server-side pagination/filtering/sorting mode. */
|
|
253
|
+
serverSide: import("@angular/core").InputSignal<boolean>;
|
|
254
|
+
/** Total number of records in server-side mode (for pagination math). */
|
|
255
|
+
totalRecords: import("@angular/core").InputSignal<number>;
|
|
256
|
+
/** Optional prebuilt filter chips (label + value) shown above the table. */
|
|
257
|
+
filters: import("@angular/core").InputSignal<{
|
|
258
|
+
label: string;
|
|
259
|
+
value: string;
|
|
260
|
+
}[]>;
|
|
261
|
+
/** Currently active filter chip value. */
|
|
262
|
+
activeFilter: import("@angular/core").InputSignal<string>;
|
|
263
|
+
/** Draws vertical lines between columns (grid look). */
|
|
264
|
+
showGridlines: import("@angular/core").InputSignal<boolean>;
|
|
265
|
+
/**
|
|
266
|
+
* With `showGridlines`, lets the user widen/narrow columns by dragging the
|
|
267
|
+
* header border (double click resets, arrow keys adjust).
|
|
268
|
+
*/
|
|
269
|
+
resizableColumns: import("@angular/core").InputSignal<boolean>;
|
|
270
|
+
/**
|
|
271
|
+
* Rules to flag rows with problems, keyed by field of the payload. Each rule
|
|
272
|
+
* applies a condition to the value of that field and paints the whole row:
|
|
273
|
+
* `low` blue, `moderate` amber, `critical` red. When a row has several
|
|
274
|
+
* issues the worst severity wins. See `RowValidation`.
|
|
275
|
+
*/
|
|
276
|
+
rowValidations: import("@angular/core").InputSignal<Record<string, RowValidation>>;
|
|
277
|
+
/**
|
|
278
|
+
* Column widths (px) keyed by field. Two-way bindable via
|
|
279
|
+
* `[(columnWidths)]` to restore/save them yourself.
|
|
280
|
+
*/
|
|
281
|
+
columnWidths: import("@angular/core").ModelSignal<Record<string, number>>;
|
|
282
|
+
/**
|
|
283
|
+
* When set, column widths are saved in the browser storage under this key
|
|
284
|
+
* and restored on load (they take precedence over `columnWidths`).
|
|
285
|
+
*/
|
|
286
|
+
stateKey: import("@angular/core").InputSignal<string>;
|
|
287
|
+
/** Storage used with `stateKey`. */
|
|
288
|
+
stateStorage: import("@angular/core").InputSignal<"local" | "session">;
|
|
289
|
+
/** Highlights the row under the pointer. */
|
|
290
|
+
rowHover: import("@angular/core").InputSignal<boolean>;
|
|
291
|
+
/** Shows the "Clear" button that resets search, column filters and sort. */
|
|
292
|
+
showClearButton: import("@angular/core").InputSignal<boolean>;
|
|
293
|
+
/** Shows the "X to Y of Z" report in the paginator. */
|
|
294
|
+
showPageReport: import("@angular/core").InputSignal<boolean>;
|
|
295
|
+
/** Shows the rows-per-page selector in the paginator. */
|
|
296
|
+
showRowsPerPage: import("@angular/core").InputSignal<boolean>;
|
|
297
|
+
/** Whether to render the leading checkbox column for multi-row selection. */
|
|
298
|
+
selectable: import("@angular/core").InputSignal<boolean>;
|
|
299
|
+
/**
|
|
300
|
+
* Field used to identify rows in the selection (keeps it stable across
|
|
301
|
+
* pages and data reloads). Falls back to the row reference when missing.
|
|
302
|
+
*/
|
|
303
|
+
dataKey: import("@angular/core").InputSignal<string>;
|
|
304
|
+
/** Optional predicate to disable the checkbox of specific rows. */
|
|
305
|
+
isRowSelectable: import("@angular/core").InputSignal<((row: any) => boolean) | undefined>;
|
|
306
|
+
/**
|
|
307
|
+
* With `selectable`, clicking anywhere on a row toggles its selection (not
|
|
308
|
+
* only the checkbox). Clicks on buttons, links and form controls inside the
|
|
309
|
+
* row (row actions, custom templates) are ignored.
|
|
310
|
+
*/
|
|
311
|
+
selectOnRowClick: import("@angular/core").InputSignal<boolean>;
|
|
312
|
+
/** Actions shown in the header while at least one row is selected. */
|
|
313
|
+
bulkActions: import("@angular/core").InputSignal<BulkAction[]>;
|
|
314
|
+
/** Selected rows. Supports two-way binding via `[(selection)]`. */
|
|
315
|
+
selection: import("@angular/core").ModelSignal<any[]>;
|
|
316
|
+
/** Emits when the user clicks the refresh button. */
|
|
317
|
+
refresh: import("@angular/core").OutputEmitterRef<void>;
|
|
318
|
+
/** Emits page changes (server-side mode) with first/rows/page info. */
|
|
319
|
+
pageChange: import("@angular/core").OutputEmitterRef<PageChangeEvent>;
|
|
320
|
+
/** Emits the active column filters (server-side mode). */
|
|
321
|
+
filterChange: import("@angular/core").OutputEmitterRef<FilterChangeEvent>;
|
|
322
|
+
/** Emits the debounced global search term. */
|
|
323
|
+
searchChange: import("@angular/core").OutputEmitterRef<string>;
|
|
324
|
+
/** Emits when a filter chip is clicked. */
|
|
325
|
+
filterClick: import("@angular/core").OutputEmitterRef<string>;
|
|
326
|
+
/** Emits when a column is resized (`width` in px, `null` when reset to auto). */
|
|
327
|
+
columnResize: import("@angular/core").OutputEmitterRef<{
|
|
328
|
+
field: string;
|
|
329
|
+
width: number | null;
|
|
330
|
+
}>;
|
|
331
|
+
/** Internal copy of the input data used as the base for search/filter. */
|
|
332
|
+
private originalData;
|
|
333
|
+
/** Rows after the global search is applied. */
|
|
334
|
+
searchedData: import("@angular/core").WritableSignal<any[]>;
|
|
335
|
+
/** Rows after column filters are applied. */
|
|
336
|
+
filteredData: import("@angular/core").WritableSignal<any[]>;
|
|
337
|
+
/** Rows belonging to the current page (after slicing). */
|
|
338
|
+
displayedData: import("@angular/core").WritableSignal<any[]>;
|
|
339
|
+
/** Local total records after filtering (client mode). */
|
|
340
|
+
localTotalRecords: import("@angular/core").WritableSignal<number>;
|
|
341
|
+
/** Index of the first row of the current page. */
|
|
342
|
+
first: import("@angular/core").WritableSignal<number>;
|
|
343
|
+
/** Current global search term. */
|
|
344
|
+
searchQuery: import("@angular/core").WritableSignal<string>;
|
|
345
|
+
/** Currently sorted field. */
|
|
346
|
+
sortField: import("@angular/core").WritableSignal<string>;
|
|
347
|
+
/** Current sort direction (1 asc, -1 desc). */
|
|
348
|
+
sortOrder: import("@angular/core").WritableSignal<number>;
|
|
349
|
+
/** Local rows per page, kept in sync with the `rowsPerPage` input. */
|
|
350
|
+
rowsPerPageLocal: import("@angular/core").WritableSignal<number>;
|
|
351
|
+
/** Applied filter state of each filterable column, keyed by field. */
|
|
352
|
+
filterState: import("@angular/core").WritableSignal<Record<string, ColumnFilterState>>;
|
|
353
|
+
/** Field whose filter menu is open (only one at a time). */
|
|
354
|
+
openFilterField: import("@angular/core").WritableSignal<string | null>;
|
|
355
|
+
/** Filter being edited in the open menu (committed on Apply). */
|
|
356
|
+
filterDraft: import("@angular/core").WritableSignal<ColumnFilterState | null>;
|
|
357
|
+
/** Whether the option list of the multiselect filter is expanded. */
|
|
358
|
+
multiselectOpen: import("@angular/core").WritableSignal<boolean>;
|
|
359
|
+
/** Total number of pages based on the effective record count. */
|
|
360
|
+
totalPages: import("@angular/core").Signal<number>;
|
|
361
|
+
/** Current page number (1-based). */
|
|
362
|
+
currentPage: import("@angular/core").Signal<number>;
|
|
363
|
+
/** Whether any column can be filtered. */
|
|
364
|
+
hasFilterableColumns: import("@angular/core").Signal<boolean>;
|
|
365
|
+
/** Subjects used to debounce column filters (server mode) and search. */
|
|
366
|
+
private filterSubject;
|
|
367
|
+
private searchSubject;
|
|
368
|
+
/**
|
|
369
|
+
* Signature of the last built set of filterable fields (+filter type) to
|
|
370
|
+
* avoid resetting the filters (and losing user input) on reference changes.
|
|
371
|
+
*/
|
|
372
|
+
private lastFilterFieldsSignature;
|
|
373
|
+
/** Columns array with the leading `actions` column when row actions exist. */
|
|
374
|
+
columnsWithActions: import("@angular/core").Signal<Column[]>;
|
|
375
|
+
/** Keys of the selected rows, for O(1) lookups in the template. */
|
|
376
|
+
private selectedKeys;
|
|
377
|
+
/** Whether non-empty data has been received (see the selection pruning effect). */
|
|
378
|
+
private hasReceivedData;
|
|
379
|
+
/** Selectable rows of the current page. */
|
|
380
|
+
protected selectablePageRows: import("@angular/core").Signal<any[]>;
|
|
381
|
+
/** Whether every selectable row of the current page is selected. */
|
|
382
|
+
allPageSelected: import("@angular/core").Signal<boolean>;
|
|
383
|
+
/** Whether only part of the current page is selected (header checkbox indeterminate). */
|
|
384
|
+
somePageSelected: import("@angular/core").Signal<boolean>;
|
|
385
|
+
/** Visible bulk actions for the current selection. */
|
|
386
|
+
visibleBulkActions: import("@angular/core").Signal<BulkAction[]>;
|
|
387
|
+
/** Number of rendered columns, including the selection column. */
|
|
388
|
+
totalColspan: import("@angular/core").Signal<number>;
|
|
389
|
+
/** Rank used to pick the worst severity of a row. */
|
|
390
|
+
private readonly severityRank;
|
|
391
|
+
/** Violations of each displayed row (cached per render, re-evaluated on i18n changes). */
|
|
392
|
+
private violationsByRow;
|
|
393
|
+
/** Evaluates the rules against a row and returns its violations (messages already translated). */
|
|
394
|
+
private collectViolations;
|
|
395
|
+
/** Message of a rule: translated when `message` is a registered key, literal otherwise. */
|
|
396
|
+
private resolveViolationMessage;
|
|
397
|
+
/** Violations of a row (empty when it has no issues). */
|
|
398
|
+
rowViolationsOf(row: any): RowViolation[];
|
|
399
|
+
/**
|
|
400
|
+
* Highest severity of a row: `'critical'` > `'moderate'` > `'low'`, or `null`
|
|
401
|
+
* when the row has no issues.
|
|
402
|
+
*/
|
|
403
|
+
rowSeverity(row: any): RowSeverity | null;
|
|
404
|
+
/**
|
|
405
|
+
* Checks any object (e.g. the payload of a modal) against `rowValidations`,
|
|
406
|
+
* returning its violations (empty = no issues). The row doesn't need to be
|
|
407
|
+
* displayed, so it can be used before adding it.
|
|
408
|
+
*/
|
|
409
|
+
validateRow(row: any): RowViolation[];
|
|
410
|
+
/** Tooltip of a row: its violation messages, one per line. */
|
|
411
|
+
protected rowValidationTitle(row: any): string | null;
|
|
412
|
+
/** Icon of the severity indicator shown in the actions cell. */
|
|
413
|
+
protected rowValidationIcon(row: any): any;
|
|
414
|
+
/** Accessible label of the severity indicator (the messages, or the severity). */
|
|
415
|
+
protected rowValidationLabel(row: any): string;
|
|
416
|
+
/** Total records: server-provided in server mode, locally computed otherwise. */
|
|
417
|
+
effectiveTotalRecords: import("@angular/core").Signal<number>;
|
|
418
|
+
/**
|
|
419
|
+
* Rows rendered by the template: the input data in server-side mode or the
|
|
420
|
+
* locally sliced/page current rows otherwise.
|
|
421
|
+
*/
|
|
422
|
+
effectiveDisplayedData: import("@angular/core").Signal<any[]>;
|
|
423
|
+
/**
|
|
424
|
+
* Reactive "X to Y of Z" report. Depends on loaded translations and the
|
|
425
|
+
* active language so it always reflects the translated template.
|
|
426
|
+
*/
|
|
427
|
+
pageReport: import("@angular/core").Signal<string>;
|
|
428
|
+
constructor();
|
|
429
|
+
/**
|
|
430
|
+
* Translates a key, falling back to a built-in (Spanish) label when the app
|
|
431
|
+
* doesn't provide it. Reads the translation signals so template calls are
|
|
432
|
+
* re-evaluated when the language or the loaded translations change.
|
|
433
|
+
*/
|
|
434
|
+
protected tr(key: string, fallback: string, params?: Record<string, unknown>): string;
|
|
435
|
+
/** Translated label of a filter menu text (`table.filter.<name>`). */
|
|
436
|
+
protected filterLabel(name: string, params?: Record<string, unknown>): string;
|
|
437
|
+
/** Translated label of a match mode (`table.filter.matchModes.<mode>`). */
|
|
438
|
+
protected matchModeLabel(mode: FilterMatchMode): string;
|
|
439
|
+
/** Reads a row value by field name or dot path (`'country.name'`). */
|
|
440
|
+
resolveField(row: any, path: string): any;
|
|
441
|
+
/** Field used to filter/sort a column. */
|
|
442
|
+
private filterFieldOf;
|
|
443
|
+
/** Lowercases and strips diacritics so "garcia" matches "García". */
|
|
444
|
+
private normalize;
|
|
445
|
+
/** Internal filter kind of a column. */
|
|
446
|
+
filterKind(col: Column): FilterKind;
|
|
447
|
+
/** Match modes offered by a column's filter menu. */
|
|
448
|
+
matchModesFor(col: Column): FilterMatchMode[];
|
|
449
|
+
/** Default match mode of a column's filter. */
|
|
450
|
+
private defaultMatchMode;
|
|
451
|
+
/** Whether the column's filter kind supports match modes / several rules. */
|
|
452
|
+
private supportsRules;
|
|
453
|
+
showMatchModesFor(col: Column): boolean;
|
|
454
|
+
showOperatorFor(col: Column): boolean;
|
|
455
|
+
canAddRule(col: Column): boolean;
|
|
456
|
+
/** Whether changes are applied as soon as the value changes (no Apply needed). */
|
|
457
|
+
private appliesImmediately;
|
|
458
|
+
/** Empty filter state of a column. */
|
|
459
|
+
private emptyFilterState;
|
|
460
|
+
private cloneState;
|
|
461
|
+
/** Bounds of a `range` filter. */
|
|
462
|
+
rangeBounds(col: Column): [number, number];
|
|
463
|
+
/** Whether a rule has a value that actually filters. */
|
|
464
|
+
private isRuleActive;
|
|
465
|
+
private activeRules;
|
|
466
|
+
/** Converts a Date / ISO string / timestamp into a local midnight timestamp. */
|
|
467
|
+
private toDay;
|
|
468
|
+
/** Evaluates one rule against a cell value. */
|
|
469
|
+
private matchRule;
|
|
470
|
+
/**
|
|
471
|
+
* Keeps one filter state per filterable column. The state is only reset
|
|
472
|
+
* when the set of filterable fields/filter types changes, preserving what
|
|
473
|
+
* the user already applied otherwise.
|
|
474
|
+
*/
|
|
475
|
+
private setupColumnFilters;
|
|
476
|
+
/** Collects the active column filters and emits them. */
|
|
477
|
+
private emitFilterChange;
|
|
478
|
+
/** Applies the global search over the original data (client mode). */
|
|
479
|
+
private applySearch;
|
|
480
|
+
/** Entry point that applies search (which cascades into column filters). */
|
|
481
|
+
private applyFilters;
|
|
482
|
+
/**
|
|
483
|
+
* Applies every column filter on top of the searched data. The active rules
|
|
484
|
+
* of a column are combined with its operator (Match All / Match Any).
|
|
485
|
+
*/
|
|
486
|
+
private applyColumnFilters;
|
|
487
|
+
/** Re-runs filtering after a filter state change. */
|
|
488
|
+
private onFiltersChanged;
|
|
489
|
+
/** Slices the filtered rows for the current page. */
|
|
490
|
+
private updateDisplayedData;
|
|
491
|
+
/** Identity used for a row inside the selection. */
|
|
492
|
+
private getSelectionKey;
|
|
493
|
+
/** Whether the row's checkbox is enabled. */
|
|
494
|
+
canSelectRow(row: any): boolean;
|
|
495
|
+
/** Whether the row is currently selected. */
|
|
496
|
+
isRowSelected(row: any): boolean;
|
|
497
|
+
/** Selects/deselects a single row. */
|
|
498
|
+
toggleRowSelection(row: any): void;
|
|
499
|
+
/** Row click: toggles the selection when `selectOnRowClick` is on. */
|
|
500
|
+
onRowClick(event: MouseEvent, row: any): void;
|
|
501
|
+
/**
|
|
502
|
+
* Header checkbox: selects every selectable row of the current page or,
|
|
503
|
+
* when all of them are already selected, removes them from the selection.
|
|
504
|
+
* Rows selected on other pages are kept.
|
|
505
|
+
*/
|
|
506
|
+
toggleSelectAllPage(): void;
|
|
507
|
+
/** Clears the whole selection. */
|
|
508
|
+
clearSelection(): void;
|
|
509
|
+
/** Runs a bulk action with the current selection. */
|
|
510
|
+
runBulkAction(action: BulkAction): void;
|
|
511
|
+
/** Whether a bulk action is disabled for the current selection. */
|
|
512
|
+
isBulkActionDisabled(action: BulkAction): boolean;
|
|
513
|
+
/**
|
|
514
|
+
* Drops selected rows that no longer exist in the data (client mode, e.g.
|
|
515
|
+
* after a bulk delete) and refreshes kept rows with their new references.
|
|
516
|
+
*/
|
|
517
|
+
private pruneSelection;
|
|
518
|
+
/** Minimum width (px) a column can be resized to. */
|
|
519
|
+
private readonly MIN_COLUMN_WIDTH;
|
|
520
|
+
/** Actions column auto width: button (2rem) + 1px gap, cell padding, header room. */
|
|
521
|
+
private readonly ACTION_BUTTON_WIDTH;
|
|
522
|
+
private readonly ACTIONS_CELL_PADDING;
|
|
523
|
+
private readonly MIN_ACTIONS_WIDTH;
|
|
524
|
+
/** Field being resized right now (for the active handle style). */
|
|
525
|
+
resizingField: import("@angular/core").WritableSignal<string | null>;
|
|
526
|
+
/** Set right after a drag so the click that ends it doesn't sort the column. */
|
|
527
|
+
private suppressHeaderClick;
|
|
528
|
+
/** Whether columns can be resized (only with gridlines). */
|
|
529
|
+
isResizable: import("@angular/core").Signal<boolean>;
|
|
530
|
+
/** CSS width of a resized column, or null when it uses the automatic width. */
|
|
531
|
+
resizedWidth(col: Column): string | null;
|
|
532
|
+
resizedWidthPx(col: Column): number | null;
|
|
533
|
+
/** Header click: sorts unless the click is the end of a resize drag. */
|
|
534
|
+
onHeaderClick(col: Column): void;
|
|
535
|
+
/** Starts dragging the right border of a header cell. */
|
|
536
|
+
startResize(event: PointerEvent, col: Column): void;
|
|
537
|
+
/** Arrow keys on the handle widen/narrow the column (Shift = bigger steps). */
|
|
538
|
+
onResizerKeydown(event: KeyboardEvent, col: Column): void;
|
|
539
|
+
/** Stores the width the column really has (it may be wider than requested). */
|
|
540
|
+
private syncRenderedWidth;
|
|
541
|
+
/** Resets every column to its automatic width (also clears the saved state). */
|
|
542
|
+
resetColumnWidths(): void;
|
|
543
|
+
private storageFor;
|
|
544
|
+
/** Reads saved widths, ignoring missing, invalid or blocked storage. */
|
|
545
|
+
private readStoredWidths;
|
|
546
|
+
private writeStoredWidths;
|
|
547
|
+
/** Resets a column to its automatic width (double click on the handle). */
|
|
548
|
+
resetColumnWidth(col: Column): void;
|
|
549
|
+
private setColumnWidth;
|
|
550
|
+
/** Emits the filter chip clicked in the template. */
|
|
551
|
+
onFilterClick(value: string): void;
|
|
552
|
+
/** Toggles the sort direction of a column (first click sorts ascending). */
|
|
553
|
+
toggleSort(field: string): void;
|
|
554
|
+
/**
|
|
555
|
+
* Sorts the filtered rows by the current field. Rows with null/undefined
|
|
556
|
+
* values are always kept at the end regardless of sort direction.
|
|
557
|
+
*/
|
|
558
|
+
private applySort;
|
|
559
|
+
/** Handles the global search input (updates query, resets page, debounces server mode). */
|
|
560
|
+
onSearchInput(value: string): void;
|
|
561
|
+
/** Whether a column has an applied (non-empty) filter. */
|
|
562
|
+
hasFilterValue(field: string): boolean;
|
|
563
|
+
/** Whether any column filter or the global search is active. */
|
|
564
|
+
hasActiveFilters: import("@angular/core").Signal<boolean>;
|
|
565
|
+
/** Commits the draft of a column into the applied filter state. */
|
|
566
|
+
private commitDraft;
|
|
567
|
+
setDraftOperator(operator: FilterOperator): void;
|
|
568
|
+
setDraftMatchMode(col: Column, index: number, matchMode: FilterMatchMode): void;
|
|
569
|
+
setDraftValue(col: Column, index: number, value: any): void;
|
|
570
|
+
/** Raw value typed in a rule input, converted for its filter kind. */
|
|
571
|
+
onRuleInput(col: Column, index: number, raw: string): void;
|
|
572
|
+
/** Value of a numeric input (`null` when empty). */
|
|
573
|
+
numericValue(raw: string): number | null;
|
|
574
|
+
addRule(col: Column): void;
|
|
575
|
+
removeRule(index: number): void;
|
|
576
|
+
/** Applies the draft (Apply button / Enter) and closes the menu. */
|
|
577
|
+
applyFilter(col: Column): void;
|
|
578
|
+
/** Clears a column filter and closes its menu. */
|
|
579
|
+
clearFilter(field: string): void;
|
|
580
|
+
/** Multiselect helpers. */
|
|
581
|
+
isOptionSelected(value: any): boolean;
|
|
582
|
+
toggleOption(col: Column, value: any): void;
|
|
583
|
+
selectedOptionsLabel(col: Column): string;
|
|
584
|
+
/** Select filter: picks an option (clicking the selected one clears it) and collapses the list. */
|
|
585
|
+
selectOption(col: Column, value: any): void;
|
|
586
|
+
selectedSingleLabel(col: Column): string;
|
|
587
|
+
/** Boolean filter: cycles any → true → false → any. */
|
|
588
|
+
cycleBoolean(col: Column): void;
|
|
589
|
+
/** Current [low, high] of a range filter draft. */
|
|
590
|
+
rangeValue(col: Column): [number, number];
|
|
591
|
+
/** Updates one thumb of the range slider; `commit` applies it (on release). */
|
|
592
|
+
onRangeInput(col: Column, thumb: 0 | 1, raw: string, commit: boolean): void;
|
|
593
|
+
/** Position (0-100%) of a range value on the track. */
|
|
594
|
+
rangePercent(col: Column, value: number): number;
|
|
595
|
+
/**
|
|
596
|
+
* Resets the global search, every column filter, the sort and the page
|
|
597
|
+
* (the "Clear" button).
|
|
598
|
+
*/
|
|
599
|
+
clearAll(): void;
|
|
600
|
+
/** Width (px) of the column filter popup, used to keep it inside the viewport. */
|
|
601
|
+
private readonly FILTER_POPUP_WIDTH;
|
|
602
|
+
/** Viewport position of the open column filter popup. */
|
|
603
|
+
filterPopupPosition: import("@angular/core").WritableSignal<{
|
|
604
|
+
top: number;
|
|
605
|
+
left: number;
|
|
606
|
+
maxHeight: number;
|
|
607
|
+
}>;
|
|
608
|
+
/** Filter button the open popup is anchored to, and its scroll/resize listener cleanup. */
|
|
609
|
+
private filterAnchor;
|
|
610
|
+
private filterListenersCleanup;
|
|
611
|
+
/**
|
|
612
|
+
* Toggles a column filter menu. Only one menu is open at a time. The menu
|
|
613
|
+
* uses `position: fixed` anchored to the filter button, so the header cell
|
|
614
|
+
* and the scroll wrapper can't clip it. Edits go to a draft that is applied
|
|
615
|
+
* with the Apply button (select/multiselect/boolean/range apply instantly).
|
|
616
|
+
*/
|
|
617
|
+
toggleFilter(col: Column, event?: Event): void;
|
|
618
|
+
/** Field name usable inside an element id. */
|
|
619
|
+
safeId(field: string): string;
|
|
620
|
+
/** Closes the column filter menu (unapplied draft changes are discarded). */
|
|
621
|
+
closeFilters(): void;
|
|
622
|
+
/** Places the filter menu under its button, clamped to the viewport. */
|
|
623
|
+
private updateFilterPopupPosition;
|
|
624
|
+
/** Returns the reactive page report string (template helper). */
|
|
625
|
+
getPageReport(): string;
|
|
626
|
+
/** Goes to a page (0-based), emitting pageChange in server-side mode. */
|
|
627
|
+
goToPage(page: number): void;
|
|
628
|
+
/** Goes to the first page (emits pageChange in server-side mode). */
|
|
629
|
+
goToFirst(): void;
|
|
630
|
+
/** Goes to the last page (emits pageChange in server-side mode). */
|
|
631
|
+
goToLast(): void;
|
|
632
|
+
/** Updates rows-per-page and resets to the first page. */
|
|
633
|
+
onRowsPerPageChange(rows: number): void;
|
|
634
|
+
/** Emits the refresh output. */
|
|
635
|
+
refreshData(): void;
|
|
636
|
+
/** Whether the current page is the first one. */
|
|
637
|
+
isFirstPage(): boolean;
|
|
638
|
+
/** Whether the current page is the last one. */
|
|
639
|
+
isLastPage(): boolean;
|
|
640
|
+
/** Moves to the next page (emits pageChange in server-side mode). */
|
|
641
|
+
next(): void;
|
|
642
|
+
/** Moves to the previous page (emits pageChange in server mode). */
|
|
643
|
+
prev(): void;
|
|
644
|
+
/** Resets the table to the first page. */
|
|
645
|
+
reset(): void;
|
|
646
|
+
/** Resolves the row action label, static or per-row function. */
|
|
647
|
+
/** Text of a `template: 'date'` cell (column pattern, else the `dates.*` options). */
|
|
648
|
+
formatDateCell(value: unknown, col: Column): string;
|
|
649
|
+
/** Text of a `template: 'currency'` cell (column currency, else the `numbers.*` options). */
|
|
650
|
+
formatCurrencyCell(value: unknown, col: Column): string;
|
|
651
|
+
getRowActionLabel(action: RowAction, rowData: any): string;
|
|
652
|
+
/**
|
|
653
|
+
* Resolves the row action icon: `IconNode` data, a function returning the
|
|
654
|
+
* icon for the row, or a raw string resolved by the central icon map.
|
|
655
|
+
*/
|
|
656
|
+
getRowActionIconName(action: RowAction, rowData: any): any;
|
|
657
|
+
/** Resolves the CSS class of a row action, static or per-row function. */
|
|
658
|
+
getRowActionClass(action: RowAction, rowData: any): string;
|
|
659
|
+
/** Whether a header action is disabled. */
|
|
660
|
+
isHeaderActionDisabled(action: TableAction): boolean;
|
|
661
|
+
/** Whether a header action is visible. */
|
|
662
|
+
isHeaderActionVisible(action: TableAction): boolean;
|
|
663
|
+
/** Whether a row action is disabled for the given row. */
|
|
664
|
+
isRowActionDisabled(action: RowAction, rowData: any): boolean;
|
|
665
|
+
/** Whether a row action is visible for the given row. */
|
|
666
|
+
isRowActionVisible(action: RowAction, rowData: any): boolean;
|
|
667
|
+
/** Truncates a value with an ellipsis past the given character limit. */
|
|
668
|
+
truncate(value: any, limit?: number): string;
|
|
669
|
+
/** Value of a `progress` cell clamped to 0-100. */
|
|
670
|
+
getProgress(col: Column, rowData: any): number;
|
|
671
|
+
/** Resolves the value displayed inside a tag cell, static or per-row function. */
|
|
672
|
+
getTagValue(col: Column, rowData: any): string;
|
|
673
|
+
/** Resolves and validates the tag severity, falling back to 'secondary'. */
|
|
674
|
+
getTagSeverity(col: Column, rowData: any): TagSeverity;
|
|
675
|
+
/** Resolves whether the tag in a cell is rounded, static or per-row function. */
|
|
676
|
+
getTagRounded(col: Column, rowData: any): boolean;
|
|
677
|
+
/** Resolves the icon shown inside a tag cell, static or per-row function. */
|
|
678
|
+
getTagIcon(col: Column, rowData: any): string;
|
|
679
|
+
/** Resolves the CSS styles of a tag cell, static or per-row function. */
|
|
680
|
+
getTagStyle(col: Column, rowData: any): Record<string, string | number>;
|
|
681
|
+
/**
|
|
682
|
+
* trackBy for row identity: prefers `id`/`_id` and falls back to the index.
|
|
683
|
+
*/
|
|
684
|
+
trackByRow(row: any, index: number): any;
|
|
685
|
+
/** Keyboard support (Enter/Space) for sorting a column header. */
|
|
686
|
+
onHeaderKeydown(event: KeyboardEvent, col: Column): void;
|
|
687
|
+
/** Accessible aria-sort value for a given column header. */
|
|
688
|
+
getAriaSort(col: Column): 'ascending' | 'descending' | 'none';
|
|
689
|
+
/** Maximum number of row actions shown directly before collapsing into a dropdown. */
|
|
690
|
+
protected readonly MAX_VISIBLE_ACTIONS = 4;
|
|
691
|
+
/** Tracks which row's "more actions" dropdown is currently open (keyed by row identity). */
|
|
692
|
+
actionsDropdownOpen: import("@angular/core").WritableSignal<Record<string, boolean>>;
|
|
693
|
+
/** Returns the row actions that should be displayed as direct icon buttons. */
|
|
694
|
+
getVisibleRowActions(rowData: any): RowAction[];
|
|
695
|
+
/** Returns the row actions that overflow into the "more" dropdown. */
|
|
696
|
+
getHiddenRowActions(rowData: any): RowAction[];
|
|
697
|
+
/** Toggles the "more actions" dropdown for a given row, closing any other open dropdown. */
|
|
698
|
+
toggleActionsDropdown(rowData: any, event?: Event): void;
|
|
699
|
+
/** Computes the fixed position of the dropdown so it's not clipped by overflow. */
|
|
700
|
+
dropdownPosition: import("@angular/core").WritableSignal<{
|
|
701
|
+
top: number;
|
|
702
|
+
left: number;
|
|
703
|
+
}>;
|
|
704
|
+
private computeDropdownPosition;
|
|
705
|
+
/** Whether the "more actions" dropdown is open for a given row. */
|
|
706
|
+
isActionsDropdownOpen(rowData: any): boolean;
|
|
707
|
+
/** Returns a unique key for a row to track dropdown state. */
|
|
708
|
+
private getRowKey;
|
|
709
|
+
/** Closes all open action dropdowns when clicking anywhere on the document. */
|
|
710
|
+
onDocumentClick(): void;
|
|
711
|
+
/** Closes the column filter menu with Escape. */
|
|
712
|
+
onEscape(): void;
|
|
713
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
714
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "shk-table", never, {
|
|
715
|
+
"data": {
|
|
716
|
+
"alias": "data";
|
|
717
|
+
"required": false;
|
|
718
|
+
"isSignal": true;
|
|
719
|
+
};
|
|
720
|
+
"columns": {
|
|
721
|
+
"alias": "columns";
|
|
722
|
+
"required": false;
|
|
723
|
+
"isSignal": true;
|
|
724
|
+
};
|
|
725
|
+
"rowsPerPage": {
|
|
726
|
+
"alias": "rowsPerPage";
|
|
727
|
+
"required": false;
|
|
728
|
+
"isSignal": true;
|
|
729
|
+
};
|
|
730
|
+
"rowsPerPageOptions": {
|
|
731
|
+
"alias": "rowsPerPageOptions";
|
|
732
|
+
"required": false;
|
|
733
|
+
"isSignal": true;
|
|
734
|
+
};
|
|
735
|
+
"loading": {
|
|
736
|
+
"alias": "loading";
|
|
737
|
+
"required": false;
|
|
738
|
+
"isSignal": true;
|
|
739
|
+
};
|
|
740
|
+
"showActionRow": {
|
|
741
|
+
"alias": "showActionRow";
|
|
742
|
+
"required": false;
|
|
743
|
+
"isSignal": true;
|
|
744
|
+
};
|
|
745
|
+
"customTemplates": {
|
|
746
|
+
"alias": "customTemplates";
|
|
747
|
+
"required": false;
|
|
748
|
+
"isSignal": true;
|
|
749
|
+
};
|
|
750
|
+
"headerActions": {
|
|
751
|
+
"alias": "headerActions";
|
|
752
|
+
"required": false;
|
|
753
|
+
"isSignal": true;
|
|
754
|
+
};
|
|
755
|
+
"rowActions": {
|
|
756
|
+
"alias": "rowActions";
|
|
757
|
+
"required": false;
|
|
758
|
+
"isSignal": true;
|
|
759
|
+
};
|
|
760
|
+
"hasShadow": {
|
|
761
|
+
"alias": "hasShadow";
|
|
762
|
+
"required": false;
|
|
763
|
+
"isSignal": true;
|
|
764
|
+
};
|
|
765
|
+
"defaultSortField": {
|
|
766
|
+
"alias": "defaultSortField";
|
|
767
|
+
"required": false;
|
|
768
|
+
"isSignal": true;
|
|
769
|
+
};
|
|
770
|
+
"defaultSortOrder": {
|
|
771
|
+
"alias": "defaultSortOrder";
|
|
772
|
+
"required": false;
|
|
773
|
+
"isSignal": true;
|
|
774
|
+
};
|
|
775
|
+
"showSearch": {
|
|
776
|
+
"alias": "showSearch";
|
|
777
|
+
"required": false;
|
|
778
|
+
"isSignal": true;
|
|
779
|
+
};
|
|
780
|
+
"searchPlaceholder": {
|
|
781
|
+
"alias": "searchPlaceholder";
|
|
782
|
+
"required": false;
|
|
783
|
+
"isSignal": true;
|
|
784
|
+
};
|
|
785
|
+
"globalFilterFields": {
|
|
786
|
+
"alias": "globalFilterFields";
|
|
787
|
+
"required": false;
|
|
788
|
+
"isSignal": true;
|
|
789
|
+
};
|
|
790
|
+
"emptyMessage": {
|
|
791
|
+
"alias": "emptyMessage";
|
|
792
|
+
"required": false;
|
|
793
|
+
"isSignal": true;
|
|
794
|
+
};
|
|
795
|
+
"serverSide": {
|
|
796
|
+
"alias": "serverSide";
|
|
797
|
+
"required": false;
|
|
798
|
+
"isSignal": true;
|
|
799
|
+
};
|
|
800
|
+
"totalRecords": {
|
|
801
|
+
"alias": "totalRecords";
|
|
802
|
+
"required": false;
|
|
803
|
+
"isSignal": true;
|
|
804
|
+
};
|
|
805
|
+
"filters": {
|
|
806
|
+
"alias": "filters";
|
|
807
|
+
"required": false;
|
|
808
|
+
"isSignal": true;
|
|
809
|
+
};
|
|
810
|
+
"activeFilter": {
|
|
811
|
+
"alias": "activeFilter";
|
|
812
|
+
"required": false;
|
|
813
|
+
"isSignal": true;
|
|
814
|
+
};
|
|
815
|
+
"showGridlines": {
|
|
816
|
+
"alias": "showGridlines";
|
|
817
|
+
"required": false;
|
|
818
|
+
"isSignal": true;
|
|
819
|
+
};
|
|
820
|
+
"resizableColumns": {
|
|
821
|
+
"alias": "resizableColumns";
|
|
822
|
+
"required": false;
|
|
823
|
+
"isSignal": true;
|
|
824
|
+
};
|
|
825
|
+
"rowValidations": {
|
|
826
|
+
"alias": "rowValidations";
|
|
827
|
+
"required": false;
|
|
828
|
+
"isSignal": true;
|
|
829
|
+
};
|
|
830
|
+
"columnWidths": {
|
|
831
|
+
"alias": "columnWidths";
|
|
832
|
+
"required": false;
|
|
833
|
+
"isSignal": true;
|
|
834
|
+
};
|
|
835
|
+
"stateKey": {
|
|
836
|
+
"alias": "stateKey";
|
|
837
|
+
"required": false;
|
|
838
|
+
"isSignal": true;
|
|
839
|
+
};
|
|
840
|
+
"stateStorage": {
|
|
841
|
+
"alias": "stateStorage";
|
|
842
|
+
"required": false;
|
|
843
|
+
"isSignal": true;
|
|
844
|
+
};
|
|
845
|
+
"rowHover": {
|
|
846
|
+
"alias": "rowHover";
|
|
847
|
+
"required": false;
|
|
848
|
+
"isSignal": true;
|
|
849
|
+
};
|
|
850
|
+
"showClearButton": {
|
|
851
|
+
"alias": "showClearButton";
|
|
852
|
+
"required": false;
|
|
853
|
+
"isSignal": true;
|
|
854
|
+
};
|
|
855
|
+
"showPageReport": {
|
|
856
|
+
"alias": "showPageReport";
|
|
857
|
+
"required": false;
|
|
858
|
+
"isSignal": true;
|
|
859
|
+
};
|
|
860
|
+
"showRowsPerPage": {
|
|
861
|
+
"alias": "showRowsPerPage";
|
|
862
|
+
"required": false;
|
|
863
|
+
"isSignal": true;
|
|
864
|
+
};
|
|
865
|
+
"selectable": {
|
|
866
|
+
"alias": "selectable";
|
|
867
|
+
"required": false;
|
|
868
|
+
"isSignal": true;
|
|
869
|
+
};
|
|
870
|
+
"dataKey": {
|
|
871
|
+
"alias": "dataKey";
|
|
872
|
+
"required": false;
|
|
873
|
+
"isSignal": true;
|
|
874
|
+
};
|
|
875
|
+
"isRowSelectable": {
|
|
876
|
+
"alias": "isRowSelectable";
|
|
877
|
+
"required": false;
|
|
878
|
+
"isSignal": true;
|
|
879
|
+
};
|
|
880
|
+
"selectOnRowClick": {
|
|
881
|
+
"alias": "selectOnRowClick";
|
|
882
|
+
"required": false;
|
|
883
|
+
"isSignal": true;
|
|
884
|
+
};
|
|
885
|
+
"bulkActions": {
|
|
886
|
+
"alias": "bulkActions";
|
|
887
|
+
"required": false;
|
|
888
|
+
"isSignal": true;
|
|
889
|
+
};
|
|
890
|
+
"selection": {
|
|
891
|
+
"alias": "selection";
|
|
892
|
+
"required": false;
|
|
893
|
+
"isSignal": true;
|
|
894
|
+
};
|
|
895
|
+
}, {
|
|
896
|
+
"columnWidths": "columnWidthsChange";
|
|
897
|
+
"selection": "selectionChange";
|
|
898
|
+
"refresh": "refresh";
|
|
899
|
+
"pageChange": "pageChange";
|
|
900
|
+
"filterChange": "filterChange";
|
|
901
|
+
"searchChange": "searchChange";
|
|
902
|
+
"filterClick": "filterClick";
|
|
903
|
+
"columnResize": "columnResize";
|
|
904
|
+
}, never, never, true, never>;
|
|
714
905
|
}
|
|
715
|
-
|
|
716
|
-
export { TableComponent };
|
|
717
|
-
export type { BulkAction, Column, ColumnFilterState, ColumnFilterType, FilterChangeEvent, FilterMatchMode, FilterOperator, FilterOption, FilterRule, PageChangeEvent, RowAction, RowSeverity, RowValidation, RowViolation, TableAction };
|
|
906
|
+
export type { BulkAction, Column, ColumnFilterState, ColumnFilterType, FilterChangeEvent, FilterMatchMode, FilterOperator, FilterOption, FilterRule, PageChangeEvent, RowAction, RowSeverity, RowValidation, RowViolation, TableAction };
|