@sixbell-telco/sdk 0.7.1 → 0.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -3
- package/components/button/src/button.component.d.ts +2 -2
- package/components/forms/input/src/input.component.d.ts +1 -1
- package/components/table/src/table.component.d.ts +0 -140
- package/components/table/table-header-checkbox/table-header-checkbox.component.d.ts +0 -42
- package/components/table/table-row-checkbox/table-row-checkbox.component.d.ts +0 -46
- package/directives/typography/src/typography.directive.d.ts +0 -46
- package/esm2022/components/button/src/button.component.mjs +3 -4
- package/esm2022/components/forms/input/src/input.component.mjs +3 -4
- package/esm2022/components/table/src/table.component.mjs +8 -144
- package/esm2022/components/table/table-header-checkbox/table-header-checkbox.component.mjs +1 -43
- package/esm2022/components/table/table-row-checkbox/table-row-checkbox.component.mjs +1 -47
- package/esm2022/directives/typography/src/typography.directive.mjs +13 -62
- package/fesm2022/sixbell-telco-sdk-components-button.mjs +2 -3
- package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +2 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-table.mjs +7 -231
- package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-typography.mjs +12 -61
- package/fesm2022/sixbell-telco-sdk-directives-typography.mjs.map +1 -1
- package/package.json +46 -46
|
@@ -10,56 +10,14 @@ import { cn } from '@sixbell-telco/sdk/utils/cn';
|
|
|
10
10
|
import { cva, cx } from 'class-variance-authority';
|
|
11
11
|
import { CheckboxComponent } from '@sixbell-telco/sdk/components/forms/checkbox';
|
|
12
12
|
|
|
13
|
-
/**
|
|
14
|
-
* Header checkbox component for the table.
|
|
15
|
-
*
|
|
16
|
-
* This component renders a checkbox within a table header row,
|
|
17
|
-
* allowing users to select or deselect all rows in the table.
|
|
18
|
-
*
|
|
19
|
-
* @remarks
|
|
20
|
-
* Utilizes Angular's dependency injection to access the parent {@link TableComponent}
|
|
21
|
-
* and propagate the checkbox state changes.
|
|
22
|
-
*
|
|
23
|
-
* @example
|
|
24
|
-
* ```html
|
|
25
|
-
* <tr header-checkbox></tr>
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
13
|
class TableHeaderCheckboxComponent {
|
|
29
14
|
table;
|
|
30
|
-
/**
|
|
31
|
-
* Defines the variant styling of the checkbox.
|
|
32
|
-
*
|
|
33
|
-
* @defaultValue 'primary'
|
|
34
|
-
*/
|
|
35
15
|
checkboxVariant = input('primary');
|
|
36
|
-
/**
|
|
37
|
-
* Defines the size of the checkbox.
|
|
38
|
-
*
|
|
39
|
-
* @defaultValue 'md'
|
|
40
|
-
*/
|
|
41
16
|
checkboxSize = input('md');
|
|
42
|
-
/**
|
|
43
|
-
* Signal that tracks the checked state of the header checkbox.
|
|
44
|
-
*
|
|
45
|
-
* @defaultValue false
|
|
46
|
-
*/
|
|
47
17
|
checked = signal(false);
|
|
48
|
-
/**
|
|
49
|
-
* Creates an instance of TableHeaderCheckboxComponent.
|
|
50
|
-
*
|
|
51
|
-
* @param table - Reference to the parent {@link TableComponent} to access table-level operations.
|
|
52
|
-
*/
|
|
53
18
|
constructor(table) {
|
|
54
19
|
this.table = table;
|
|
55
20
|
}
|
|
56
|
-
/**
|
|
57
|
-
* Handles the event when the header checkbox is toggled.
|
|
58
|
-
*
|
|
59
|
-
* This method notifies the parent table component to either select or deselect all rows.
|
|
60
|
-
*
|
|
61
|
-
* @param value - The new checked state (true to select all rows, false to deselect all).
|
|
62
|
-
*/
|
|
63
21
|
handleSelectAll(value) {
|
|
64
22
|
this.table.handleToggleAll(value);
|
|
65
23
|
}
|
|
@@ -73,61 +31,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImpo
|
|
|
73
31
|
type: Host
|
|
74
32
|
}] }] });
|
|
75
33
|
|
|
76
|
-
/**
|
|
77
|
-
* Row checkbox component for table row selection.
|
|
78
|
-
*
|
|
79
|
-
* This component renders a checkbox within a table row,
|
|
80
|
-
* enabling individual row selection. It interacts with the parent
|
|
81
|
-
* {@link TableComponent} to update the selection state.
|
|
82
|
-
*
|
|
83
|
-
* @example
|
|
84
|
-
* ```html
|
|
85
|
-
* <tr row-checkbox [identifier]="rowId"></tr>
|
|
86
|
-
* ```
|
|
87
|
-
*/
|
|
88
34
|
class TableRowCheckboxComponent {
|
|
89
35
|
table;
|
|
90
|
-
/**
|
|
91
|
-
* Defines the variant styling of the checkbox.
|
|
92
|
-
*
|
|
93
|
-
* @defaultValue 'primary'
|
|
94
|
-
*/
|
|
95
36
|
checkboxVariant = input('primary');
|
|
96
|
-
/**
|
|
97
|
-
* Defines the size of the checkbox.
|
|
98
|
-
*
|
|
99
|
-
* @defaultValue 'md'
|
|
100
|
-
*/
|
|
101
37
|
checkboxSize = input('md');
|
|
102
|
-
/**
|
|
103
|
-
* Unique identifier for the table row.
|
|
104
|
-
*
|
|
105
|
-
* This input is required to track the specific row in the table.
|
|
106
|
-
*/
|
|
107
38
|
identifier = input.required();
|
|
108
|
-
/**
|
|
109
|
-
* Signal that tracks the checked state of the row checkbox.
|
|
110
|
-
*
|
|
111
|
-
* @defaultValue false
|
|
112
|
-
*/
|
|
113
39
|
checked = signal(false);
|
|
114
|
-
/**
|
|
115
|
-
* Creates an instance of TableRowCheckboxComponent.
|
|
116
|
-
*
|
|
117
|
-
* @param table - Reference to the parent {@link TableComponent} to access
|
|
118
|
-
* table-level operations for row selection.
|
|
119
|
-
*/
|
|
120
40
|
constructor(table) {
|
|
121
41
|
this.table = table;
|
|
122
42
|
}
|
|
123
|
-
/**
|
|
124
|
-
* Handles the selection event of the row checkbox.
|
|
125
|
-
*
|
|
126
|
-
* This method notifies the parent table component to update the selection state
|
|
127
|
-
* for the corresponding row, based on the checkbox's new value.
|
|
128
|
-
*
|
|
129
|
-
* @param value - The new checked state (true for selected, false for deselected).
|
|
130
|
-
*/
|
|
131
43
|
handleSelect(value) {
|
|
132
44
|
this.table.handleToggleCheckbox(value, this.identifier());
|
|
133
45
|
}
|
|
@@ -141,10 +53,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImpo
|
|
|
141
53
|
type: Host
|
|
142
54
|
}] }] });
|
|
143
55
|
|
|
144
|
-
/**
|
|
145
|
-
* @internal
|
|
146
|
-
* Generates base table classes with size variants
|
|
147
|
-
*/
|
|
148
56
|
const tableContent = cva(['table', 'font-body', 'relative border-separate border-spacing-0', '[&_th]:bg-neutral [&_th]:text-neutral-content'], {
|
|
149
57
|
variants: {
|
|
150
58
|
size: {
|
|
@@ -159,10 +67,6 @@ const tableContent = cva(['table', 'font-body', 'relative border-separate border
|
|
|
159
67
|
size: 'sm',
|
|
160
68
|
},
|
|
161
69
|
});
|
|
162
|
-
/**
|
|
163
|
-
* @internal
|
|
164
|
-
* Generates table container classes with height variants
|
|
165
|
-
*/
|
|
166
70
|
const tableContainer = cva(['overflow-y-auto rounded-t-box overscroll-contain'], {
|
|
167
71
|
variants: {
|
|
168
72
|
containerHeight: {
|
|
@@ -179,150 +83,44 @@ const tableContainer = cva(['overflow-y-auto rounded-t-box overscroll-contain'],
|
|
|
179
83
|
containerHeight: 'auto',
|
|
180
84
|
},
|
|
181
85
|
});
|
|
182
|
-
/**
|
|
183
|
-
* @internal
|
|
184
|
-
* Combines table content and container classes
|
|
185
|
-
*/
|
|
186
86
|
const tableComponent = ({ size, containerHeight } = {}) => cx(tableContent({ size }), tableContainer({ containerHeight }));
|
|
187
|
-
/**
|
|
188
|
-
* A feature-rich data table component with sorting, pagination, and row selection
|
|
189
|
-
*
|
|
190
|
-
* @remarks
|
|
191
|
-
* Integrates with Tailwind CSS for styling and supports responsive layouts.
|
|
192
|
-
* Includes built-in pagination controls and checkbox selection functionality.
|
|
193
|
-
*
|
|
194
|
-
* @example
|
|
195
|
-
* ```html
|
|
196
|
-
* <st-table
|
|
197
|
-
* [data]="users"
|
|
198
|
-
* [totalItems]="100"
|
|
199
|
-
* [pagination]="{ currentPage: 1, itemsPerPage: 10 }"
|
|
200
|
-
* (onPageChange)="handlePageChange($event)"
|
|
201
|
-
* size="md"
|
|
202
|
-
* height="lg"
|
|
203
|
-
* zebra
|
|
204
|
-
* >
|
|
205
|
-
* <!-- Table columns and content -->
|
|
206
|
-
* </st-table>
|
|
207
|
-
* ```
|
|
208
|
-
*/
|
|
209
87
|
class TableComponent {
|
|
210
|
-
|
|
211
|
-
* Table size variant
|
|
212
|
-
* @defaultValue 'sm'
|
|
213
|
-
*/
|
|
88
|
+
// Base table properties
|
|
214
89
|
size = input();
|
|
215
|
-
/**
|
|
216
|
-
* Table container height preset
|
|
217
|
-
* @defaultValue 'auto'
|
|
218
|
-
*/
|
|
219
90
|
height = input();
|
|
220
|
-
/**
|
|
221
|
-
* Enable sticky header row
|
|
222
|
-
* @defaultValue false
|
|
223
|
-
*/
|
|
224
91
|
pinRows = input(false);
|
|
225
|
-
/**
|
|
226
|
-
* Enable sticky first column
|
|
227
|
-
* @defaultValue false
|
|
228
|
-
*/
|
|
229
92
|
pinColumns = input(false);
|
|
230
|
-
/**
|
|
231
|
-
* Apply zebra-striping to rows
|
|
232
|
-
* @defaultValue false
|
|
233
|
-
*/
|
|
234
93
|
zebra = input(false);
|
|
235
|
-
/**
|
|
236
|
-
* Pagination control display variant
|
|
237
|
-
* @defaultValue 'default'
|
|
238
|
-
*/
|
|
239
94
|
paginatorType = input('default');
|
|
240
|
-
/** Label for items per page selector */
|
|
241
95
|
labelEntriesByPage = input('entradas por página');
|
|
242
|
-
/** Label for "X of Y" entries display */
|
|
243
96
|
labelShowEntriesOf = input('de');
|
|
244
|
-
/** Label for total entries display */
|
|
245
97
|
labelShowEntries = input('entradas');
|
|
246
|
-
/** @internal Info icon reference */
|
|
247
98
|
infoIcon = matInfoOutline;
|
|
248
|
-
|
|
249
|
-
* Array of data items to display
|
|
250
|
-
* @defaultValue []
|
|
251
|
-
*/
|
|
99
|
+
// Table data
|
|
252
100
|
data = input([]);
|
|
253
|
-
/**
|
|
254
|
-
* Total number of items across all pages
|
|
255
|
-
* @defaultValue 0
|
|
256
|
-
*/
|
|
257
101
|
totalItems = input(0);
|
|
258
|
-
/**
|
|
259
|
-
* Error message displayed when no data is available
|
|
260
|
-
* @defaultValue 'No se encontraron resultados'
|
|
261
|
-
*/
|
|
262
102
|
error = input('No se encontraron resultados');
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
* @defaultValue { id: 'paginator', currentPage: 1, itemsPerPage: 10, search: '' }
|
|
266
|
-
*/
|
|
267
|
-
pagination = input({
|
|
268
|
-
id: 'paginator',
|
|
269
|
-
currentPage: 1,
|
|
270
|
-
itemsPerPage: 10,
|
|
271
|
-
search: '',
|
|
272
|
-
});
|
|
273
|
-
/**
|
|
274
|
-
* Maximum number of pagination buttons to display
|
|
275
|
-
* @defaultValue 7
|
|
276
|
-
*/
|
|
103
|
+
// Paginator properties
|
|
104
|
+
pagination = input({ id: 'paginator', currentPage: 1, itemsPerPage: 10, search: '' });
|
|
277
105
|
maxSize = input(7);
|
|
278
|
-
/** Event emitted when page changes */
|
|
279
106
|
onPageChange = output();
|
|
280
|
-
/** Event emitted when page size changes */
|
|
281
107
|
onPageSizeChange = output();
|
|
282
|
-
/**
|
|
283
|
-
* Show items per page selector
|
|
284
|
-
* @defaultValue true
|
|
285
|
-
*/
|
|
286
108
|
showItemsPerPage = input(true);
|
|
287
|
-
/**
|
|
288
|
-
* Show entries count display
|
|
289
|
-
* @defaultValue true
|
|
290
|
-
*/
|
|
291
109
|
showEntries = input(true);
|
|
292
|
-
/**
|
|
293
|
-
* Show pagination controls
|
|
294
|
-
* @defaultValue true
|
|
295
|
-
*/
|
|
296
110
|
showPagination = input(true);
|
|
297
|
-
/**
|
|
298
|
-
* Computed display range for current page entries
|
|
299
|
-
* @example "1-10" of 100 entries
|
|
300
|
-
*/
|
|
301
111
|
paginationRange = computed(() => {
|
|
302
112
|
const start = this.pagination().currentPage * this.pagination().itemsPerPage - this.pagination().itemsPerPage + 1;
|
|
303
113
|
const end = Math.min(this.pagination().currentPage * this.pagination().itemsPerPage, this.totalItems());
|
|
304
114
|
return `${start}-${end}`;
|
|
305
115
|
});
|
|
306
|
-
/**
|
|
307
|
-
* Handles page navigation events
|
|
308
|
-
* @param page - New page number
|
|
309
|
-
*/
|
|
310
116
|
handlePageChange(page) {
|
|
311
117
|
this.handleToggleAll(false);
|
|
312
118
|
this.onPageChange.emit(page);
|
|
313
119
|
}
|
|
314
|
-
/**
|
|
315
|
-
* Handles page size changes
|
|
316
|
-
* @param size - New items per page value
|
|
317
|
-
*/
|
|
318
120
|
handlePageSizeChange(size) {
|
|
319
121
|
this.handleToggleAll(false);
|
|
320
122
|
this.onPageSizeChange.emit(size);
|
|
321
123
|
}
|
|
322
|
-
/**
|
|
323
|
-
* @internal
|
|
324
|
-
* Computes table element classes based on current configuration
|
|
325
|
-
*/
|
|
326
124
|
get tableClass() {
|
|
327
125
|
return cn(tableContent({
|
|
328
126
|
size: this.size(),
|
|
@@ -332,41 +130,25 @@ class TableComponent {
|
|
|
332
130
|
'table-zebra': this.zebra(),
|
|
333
131
|
});
|
|
334
132
|
}
|
|
335
|
-
/**
|
|
336
|
-
* @internal
|
|
337
|
-
* Computes table container classes based on height input
|
|
338
|
-
*/
|
|
339
133
|
get tableContainerClass() {
|
|
340
134
|
return cn(tableContainer({
|
|
341
135
|
containerHeight: this.height(),
|
|
342
136
|
}));
|
|
343
137
|
}
|
|
344
|
-
/**
|
|
345
|
-
* @internal
|
|
346
|
-
* Computes outer container classes based on size
|
|
347
|
-
*/
|
|
348
138
|
get containerClass() {
|
|
349
139
|
return cn('flex flex-col gap-3 rounded-box border border-solid border-neutral pb-3', {
|
|
350
140
|
'gap-3 pb-3': this.size() === 'xs' || this.size() === 'sm' || this.size() === 'md',
|
|
351
141
|
'gap-4 pb-4': this.size() === 'lg',
|
|
352
142
|
});
|
|
353
143
|
}
|
|
354
|
-
|
|
144
|
+
// For checkboxes on child components
|
|
355
145
|
header = contentChild(TableHeaderCheckboxComponent, { descendants: true });
|
|
356
|
-
/** @internal List of row checkbox components */
|
|
357
146
|
rows = contentChildren(TableRowCheckboxComponent, { descendants: true });
|
|
358
|
-
/** @internal Track selected row identifiers */
|
|
359
147
|
identifiers = signal(new Set());
|
|
360
|
-
/** Event emitted with array of selected item identifiers */
|
|
361
148
|
onCheck = output();
|
|
362
|
-
/** @internal Sync checkbox state with output */
|
|
363
149
|
checkEffect = effect(() => {
|
|
364
150
|
this.onCheck.emit(Array.from(this.identifiers()));
|
|
365
151
|
});
|
|
366
|
-
/**
|
|
367
|
-
* Toggle all row checkboxes
|
|
368
|
-
* @param value - Whether to check or uncheck all rows
|
|
369
|
-
*/
|
|
370
152
|
handleToggleAll(value) {
|
|
371
153
|
if (!value) {
|
|
372
154
|
this.clearList();
|
|
@@ -378,11 +160,6 @@ class TableComponent {
|
|
|
378
160
|
}
|
|
379
161
|
});
|
|
380
162
|
}
|
|
381
|
-
/**
|
|
382
|
-
* Handle individual checkbox toggle
|
|
383
|
-
* @param value - Checkbox state
|
|
384
|
-
* @param identifier - Unique row identifier
|
|
385
|
-
*/
|
|
386
163
|
handleToggleCheckbox(value, identifier) {
|
|
387
164
|
if (value) {
|
|
388
165
|
this.identifiers.update((items) => new Set(items).add(identifier));
|
|
@@ -395,17 +172,16 @@ class TableComponent {
|
|
|
395
172
|
});
|
|
396
173
|
}
|
|
397
174
|
}
|
|
398
|
-
/** @internal Clear all selections */
|
|
399
175
|
clearList() {
|
|
400
176
|
this.identifiers.set(new Set());
|
|
401
177
|
this.header()?.checked.set(false);
|
|
402
178
|
}
|
|
403
179
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
404
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.12", type: TableComponent, isStandalone: true, selector: "st-table", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, pinRows: { classPropertyName: "pinRows", publicName: "pinRows", isSignal: true, isRequired: false, transformFunction: null }, pinColumns: { classPropertyName: "pinColumns", publicName: "pinColumns", isSignal: true, isRequired: false, transformFunction: null }, zebra: { classPropertyName: "zebra", publicName: "zebra", isSignal: true, isRequired: false, transformFunction: null }, paginatorType: { classPropertyName: "paginatorType", publicName: "paginatorType", isSignal: true, isRequired: false, transformFunction: null }, labelEntriesByPage: { classPropertyName: "labelEntriesByPage", publicName: "labelEntriesByPage", isSignal: true, isRequired: false, transformFunction: null }, labelShowEntriesOf: { classPropertyName: "labelShowEntriesOf", publicName: "labelShowEntriesOf", isSignal: true, isRequired: false, transformFunction: null }, labelShowEntries: { classPropertyName: "labelShowEntries", publicName: "labelShowEntries", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, totalItems: { classPropertyName: "totalItems", publicName: "totalItems", isSignal: true, isRequired: false, transformFunction: null }, error: { classPropertyName: "error", publicName: "error", isSignal: true, isRequired: false, transformFunction: null }, pagination: { classPropertyName: "pagination", publicName: "pagination", isSignal: true, isRequired: false, transformFunction: null }, maxSize: { classPropertyName: "maxSize", publicName: "maxSize", isSignal: true, isRequired: false, transformFunction: null }, showItemsPerPage: { classPropertyName: "showItemsPerPage", publicName: "showItemsPerPage", isSignal: true, isRequired: false, transformFunction: null }, showEntries: { classPropertyName: "showEntries", publicName: "showEntries", isSignal: true, isRequired: false, transformFunction: null }, showPagination: { classPropertyName: "showPagination", publicName: "showPagination", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onPageChange: "onPageChange", onPageSizeChange: "onPageSizeChange", onCheck: "onCheck" }, queries: [{ propertyName: "header", first: true, predicate: TableHeaderCheckboxComponent, descendants: true, isSignal: true }, { propertyName: "rows", predicate: TableRowCheckboxComponent, descendants: true, isSignal: true }], ngImport: i0, template: "@let total = totalItems();\n@if (total > 0 || data().length > 0) {\n\t<div [class]=\"containerClass\">\n\t\t<!-- Table -->\n\t\t<div [class]=\"tableContainerClass\">\n\t\t\t<table [class]=\"tableClass\">\n\t\t\t\t<ng-content select=\"thead\" class=\"[&_tr]:\\hover\"></ng-content>\n\t\t\t\t<ng-content select=\"tbody\"></ng-content>\n\t\t\t</table>\n\t\t</div>\n\t\t@if (total > 0) {\n\t\t\t<!-- Divider -->\n\t\t\t<div class=\"divider divider-neutral my-0 h-[0.0625rem] px-4 before:h-[0.0625rem] after:h-[0.0625rem]\"></div>\n\t\t\t<!-- Paginator -->\n\t\t\t<div class=\"gap grid min-h-[30px] grid-cols-[1fr_3fr_1fr] items-center px-4\">\n\t\t\t\t<!-- Pagination info -->\n\t\t\t\t<div class=\"flex items-center justify-self-start\">\n\t\t\t\t\t@if (showItemsPerPage()) {\n\t\t\t\t\t\t<st-select\n\t\t\t\t\t\t\t[options]=\"[5, 10, 20, 50, 100]\"\n\t\t\t\t\t\t\t[value]=\"pagination().itemsPerPage\"\n\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t(onChange)=\"handlePageSizeChange($event)\"\n\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t></st-select>\n\t\t\t\t\t\t<div class=\"ml-2\">\n\t\t\t\t\t\t\t@let labelEntriesByPageVar = labelEntriesByPage();\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-xs'\" [tyColor]=\"'inherit'\">{{ labelEntriesByPageVar }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"justify-self-center\">\n\t\t\t\t\t@if (showPagination()) {\n\t\t\t\t\t\t@if (paginatorType() === 'default') {\n\t\t\t\t\t\t\t<st-paginator\n\t\t\t\t\t\t\t\t[paginatorId]=\"pagination().id\"\n\t\t\t\t\t\t\t\t[currentPage]=\"pagination().currentPage\"\n\t\t\t\t\t\t\t\t[maxSize]=\"maxSize()\"\n\t\t\t\t\t\t\t\t(onPageChange)=\"handlePageChange($event)\"\n\t\t\t\t\t\t\t></st-paginator>\n\t\t\t\t\t\t} @else if (paginatorType() === 'dots') {\n\t\t\t\t\t\t\t<st-paginator [paginatorId]=\"pagination().id\" (onPageChange)=\"handlePageChange($event)\" type=\"dots\"></st-paginator>\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"flex items-center justify-self-end\">\n\t\t\t\t\t@if (showEntries()) {\n\t\t\t\t\t\t@let labelShowEntriesOfVar = labelShowEntriesOf();\n\t\t\t\t\t\t@let labelShowEntriesVar = labelShowEntries();\n\t\t\t\t\t\t@if (!showItemsPerPage() && !showPagination()) {\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-xs'\" [tyColor]=\"'inherit'\"> {{ total }} {{ labelShowEntriesVar }} </span>\n\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-xs'\" [tyColor]=\"'inherit'\">\n\t\t\t\t\t\t\t\t{{ paginationRange() }} {{ labelShowEntriesOfVar }} {{ total }} {{ labelShowEntriesVar }}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t}\n\t</div>\n} @else {\n\t<div class=\"grid h-full place-content-center gap-4 rounded-box border border-solid border-neutral
|
|
180
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.12", type: TableComponent, isStandalone: true, selector: "st-table", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, pinRows: { classPropertyName: "pinRows", publicName: "pinRows", isSignal: true, isRequired: false, transformFunction: null }, pinColumns: { classPropertyName: "pinColumns", publicName: "pinColumns", isSignal: true, isRequired: false, transformFunction: null }, zebra: { classPropertyName: "zebra", publicName: "zebra", isSignal: true, isRequired: false, transformFunction: null }, paginatorType: { classPropertyName: "paginatorType", publicName: "paginatorType", isSignal: true, isRequired: false, transformFunction: null }, labelEntriesByPage: { classPropertyName: "labelEntriesByPage", publicName: "labelEntriesByPage", isSignal: true, isRequired: false, transformFunction: null }, labelShowEntriesOf: { classPropertyName: "labelShowEntriesOf", publicName: "labelShowEntriesOf", isSignal: true, isRequired: false, transformFunction: null }, labelShowEntries: { classPropertyName: "labelShowEntries", publicName: "labelShowEntries", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, totalItems: { classPropertyName: "totalItems", publicName: "totalItems", isSignal: true, isRequired: false, transformFunction: null }, error: { classPropertyName: "error", publicName: "error", isSignal: true, isRequired: false, transformFunction: null }, pagination: { classPropertyName: "pagination", publicName: "pagination", isSignal: true, isRequired: false, transformFunction: null }, maxSize: { classPropertyName: "maxSize", publicName: "maxSize", isSignal: true, isRequired: false, transformFunction: null }, showItemsPerPage: { classPropertyName: "showItemsPerPage", publicName: "showItemsPerPage", isSignal: true, isRequired: false, transformFunction: null }, showEntries: { classPropertyName: "showEntries", publicName: "showEntries", isSignal: true, isRequired: false, transformFunction: null }, showPagination: { classPropertyName: "showPagination", publicName: "showPagination", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onPageChange: "onPageChange", onPageSizeChange: "onPageSizeChange", onCheck: "onCheck" }, queries: [{ propertyName: "header", first: true, predicate: TableHeaderCheckboxComponent, descendants: true, isSignal: true }, { propertyName: "rows", predicate: TableRowCheckboxComponent, descendants: true, isSignal: true }], ngImport: i0, template: "@let total = totalItems();\n@if (total > 0 || data().length > 0) {\n\t<div [class]=\"containerClass\">\n\t\t<!-- Table -->\n\t\t<div [class]=\"tableContainerClass\">\n\t\t\t<table [class]=\"tableClass\">\n\t\t\t\t<ng-content select=\"thead\" class=\"[&_tr]:\\hover\"></ng-content>\n\t\t\t\t<ng-content select=\"tbody\"></ng-content>\n\t\t\t</table>\n\t\t</div>\n\t\t@if (total > 0) {\n\t\t\t<!-- Divider -->\n\t\t\t<div class=\"divider divider-neutral my-0 h-[0.0625rem] px-4 before:h-[0.0625rem] after:h-[0.0625rem]\"></div>\n\t\t\t<!-- Paginator -->\n\t\t\t<div class=\"gap grid min-h-[30px] grid-cols-[1fr_3fr_1fr] items-center px-4\">\n\t\t\t\t<!-- Pagination info -->\n\t\t\t\t<div class=\"flex items-center justify-self-start\">\n\t\t\t\t\t@if (showItemsPerPage()) {\n\t\t\t\t\t\t<st-select\n\t\t\t\t\t\t\t[options]=\"[5, 10, 20, 50, 100]\"\n\t\t\t\t\t\t\t[value]=\"pagination().itemsPerPage\"\n\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t(onChange)=\"handlePageSizeChange($event)\"\n\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t></st-select>\n\t\t\t\t\t\t<div class=\"ml-2\">\n\t\t\t\t\t\t\t@let labelEntriesByPageVar = labelEntriesByPage();\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-xs'\" [tyColor]=\"'inherit'\">{{ labelEntriesByPageVar }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"justify-self-center\">\n\t\t\t\t\t@if (showPagination()) {\n\t\t\t\t\t\t@if (paginatorType() === 'default') {\n\t\t\t\t\t\t\t<st-paginator\n\t\t\t\t\t\t\t\t[paginatorId]=\"pagination().id\"\n\t\t\t\t\t\t\t\t[currentPage]=\"pagination().currentPage\"\n\t\t\t\t\t\t\t\t[maxSize]=\"maxSize()\"\n\t\t\t\t\t\t\t\t(onPageChange)=\"handlePageChange($event)\"\n\t\t\t\t\t\t\t></st-paginator>\n\t\t\t\t\t\t} @else if (paginatorType() === 'dots') {\n\t\t\t\t\t\t\t<st-paginator [paginatorId]=\"pagination().id\" (onPageChange)=\"handlePageChange($event)\" type=\"dots\"></st-paginator>\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"flex items-center justify-self-end\">\n\t\t\t\t\t@if (showEntries()) {\n\t\t\t\t\t\t@let labelShowEntriesOfVar = labelShowEntriesOf();\n\t\t\t\t\t\t@let labelShowEntriesVar = labelShowEntries();\n\t\t\t\t\t\t@if (!showItemsPerPage() && !showPagination()) {\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-xs'\" [tyColor]=\"'inherit'\"> {{ total }} {{ labelShowEntriesVar }} </span>\n\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-xs'\" [tyColor]=\"'inherit'\">\n\t\t\t\t\t\t\t\t{{ paginationRange() }} {{ labelShowEntriesOfVar }} {{ total }} {{ labelShowEntriesVar }}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t}\n\t</div>\n} @else {\n\t<div class=\"grid h-full place-content-center gap-4 rounded-box border border-solid border-neutral\">\n\t\t<div>\n\t\t\t<div class=\"grid place-content-center text-info\">\n\t\t\t\t<st-icon [icon]=\"infoIcon\" size=\"lg\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t</div>\n\t\t\t<span typography [tyVariant]=\"'body-xs'\" [tyColor]=\"'inherit'\">{{ error() }}</span>\n\t\t</div>\n\t</div>\n}\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: PaginatorComponent, selector: "st-paginator", inputs: ["paginatorId", "maxSize", "type", "pages", "currentPage"], outputs: ["onPageChange", "currentPageChange"] }, { kind: "directive", type: TypographyDirective, selector: "[typography]", inputs: ["tyVariant", "tyColor", "tyFontWeight", "tyTextOverflow"] }, { kind: "component", type: SelectComponent, selector: "st-select", inputs: ["variant", "size", "ghost", "name", "placeholder", "label", "value", "options", "emptyOptionText", "trackBy", "key", "parentForm", "formControlName", "disabled"], outputs: ["valueChange", "disabledChange", "onChange"] }, { kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
405
181
|
}
|
|
406
182
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.12", ngImport: i0, type: TableComponent, decorators: [{
|
|
407
183
|
type: Component,
|
|
408
|
-
args: [{ selector: 'st-table', standalone: true, imports: [CommonModule, PaginatorComponent, TypographyDirective, SelectComponent, IconComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "@let total = totalItems();\n@if (total > 0 || data().length > 0) {\n\t<div [class]=\"containerClass\">\n\t\t<!-- Table -->\n\t\t<div [class]=\"tableContainerClass\">\n\t\t\t<table [class]=\"tableClass\">\n\t\t\t\t<ng-content select=\"thead\" class=\"[&_tr]:\\hover\"></ng-content>\n\t\t\t\t<ng-content select=\"tbody\"></ng-content>\n\t\t\t</table>\n\t\t</div>\n\t\t@if (total > 0) {\n\t\t\t<!-- Divider -->\n\t\t\t<div class=\"divider divider-neutral my-0 h-[0.0625rem] px-4 before:h-[0.0625rem] after:h-[0.0625rem]\"></div>\n\t\t\t<!-- Paginator -->\n\t\t\t<div class=\"gap grid min-h-[30px] grid-cols-[1fr_3fr_1fr] items-center px-4\">\n\t\t\t\t<!-- Pagination info -->\n\t\t\t\t<div class=\"flex items-center justify-self-start\">\n\t\t\t\t\t@if (showItemsPerPage()) {\n\t\t\t\t\t\t<st-select\n\t\t\t\t\t\t\t[options]=\"[5, 10, 20, 50, 100]\"\n\t\t\t\t\t\t\t[value]=\"pagination().itemsPerPage\"\n\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t(onChange)=\"handlePageSizeChange($event)\"\n\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t></st-select>\n\t\t\t\t\t\t<div class=\"ml-2\">\n\t\t\t\t\t\t\t@let labelEntriesByPageVar = labelEntriesByPage();\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-xs'\" [tyColor]=\"'inherit'\">{{ labelEntriesByPageVar }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"justify-self-center\">\n\t\t\t\t\t@if (showPagination()) {\n\t\t\t\t\t\t@if (paginatorType() === 'default') {\n\t\t\t\t\t\t\t<st-paginator\n\t\t\t\t\t\t\t\t[paginatorId]=\"pagination().id\"\n\t\t\t\t\t\t\t\t[currentPage]=\"pagination().currentPage\"\n\t\t\t\t\t\t\t\t[maxSize]=\"maxSize()\"\n\t\t\t\t\t\t\t\t(onPageChange)=\"handlePageChange($event)\"\n\t\t\t\t\t\t\t></st-paginator>\n\t\t\t\t\t\t} @else if (paginatorType() === 'dots') {\n\t\t\t\t\t\t\t<st-paginator [paginatorId]=\"pagination().id\" (onPageChange)=\"handlePageChange($event)\" type=\"dots\"></st-paginator>\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"flex items-center justify-self-end\">\n\t\t\t\t\t@if (showEntries()) {\n\t\t\t\t\t\t@let labelShowEntriesOfVar = labelShowEntriesOf();\n\t\t\t\t\t\t@let labelShowEntriesVar = labelShowEntries();\n\t\t\t\t\t\t@if (!showItemsPerPage() && !showPagination()) {\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-xs'\" [tyColor]=\"'inherit'\"> {{ total }} {{ labelShowEntriesVar }} </span>\n\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-xs'\" [tyColor]=\"'inherit'\">\n\t\t\t\t\t\t\t\t{{ paginationRange() }} {{ labelShowEntriesOfVar }} {{ total }} {{ labelShowEntriesVar }}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t}\n\t</div>\n} @else {\n\t<div class=\"grid h-full place-content-center gap-4 rounded-box border border-solid border-neutral
|
|
184
|
+
args: [{ selector: 'st-table', standalone: true, imports: [CommonModule, PaginatorComponent, TypographyDirective, SelectComponent, IconComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "@let total = totalItems();\n@if (total > 0 || data().length > 0) {\n\t<div [class]=\"containerClass\">\n\t\t<!-- Table -->\n\t\t<div [class]=\"tableContainerClass\">\n\t\t\t<table [class]=\"tableClass\">\n\t\t\t\t<ng-content select=\"thead\" class=\"[&_tr]:\\hover\"></ng-content>\n\t\t\t\t<ng-content select=\"tbody\"></ng-content>\n\t\t\t</table>\n\t\t</div>\n\t\t@if (total > 0) {\n\t\t\t<!-- Divider -->\n\t\t\t<div class=\"divider divider-neutral my-0 h-[0.0625rem] px-4 before:h-[0.0625rem] after:h-[0.0625rem]\"></div>\n\t\t\t<!-- Paginator -->\n\t\t\t<div class=\"gap grid min-h-[30px] grid-cols-[1fr_3fr_1fr] items-center px-4\">\n\t\t\t\t<!-- Pagination info -->\n\t\t\t\t<div class=\"flex items-center justify-self-start\">\n\t\t\t\t\t@if (showItemsPerPage()) {\n\t\t\t\t\t\t<st-select\n\t\t\t\t\t\t\t[options]=\"[5, 10, 20, 50, 100]\"\n\t\t\t\t\t\t\t[value]=\"pagination().itemsPerPage\"\n\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t(onChange)=\"handlePageSizeChange($event)\"\n\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t></st-select>\n\t\t\t\t\t\t<div class=\"ml-2\">\n\t\t\t\t\t\t\t@let labelEntriesByPageVar = labelEntriesByPage();\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-xs'\" [tyColor]=\"'inherit'\">{{ labelEntriesByPageVar }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"justify-self-center\">\n\t\t\t\t\t@if (showPagination()) {\n\t\t\t\t\t\t@if (paginatorType() === 'default') {\n\t\t\t\t\t\t\t<st-paginator\n\t\t\t\t\t\t\t\t[paginatorId]=\"pagination().id\"\n\t\t\t\t\t\t\t\t[currentPage]=\"pagination().currentPage\"\n\t\t\t\t\t\t\t\t[maxSize]=\"maxSize()\"\n\t\t\t\t\t\t\t\t(onPageChange)=\"handlePageChange($event)\"\n\t\t\t\t\t\t\t></st-paginator>\n\t\t\t\t\t\t} @else if (paginatorType() === 'dots') {\n\t\t\t\t\t\t\t<st-paginator [paginatorId]=\"pagination().id\" (onPageChange)=\"handlePageChange($event)\" type=\"dots\"></st-paginator>\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"flex items-center justify-self-end\">\n\t\t\t\t\t@if (showEntries()) {\n\t\t\t\t\t\t@let labelShowEntriesOfVar = labelShowEntriesOf();\n\t\t\t\t\t\t@let labelShowEntriesVar = labelShowEntries();\n\t\t\t\t\t\t@if (!showItemsPerPage() && !showPagination()) {\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-xs'\" [tyColor]=\"'inherit'\"> {{ total }} {{ labelShowEntriesVar }} </span>\n\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-xs'\" [tyColor]=\"'inherit'\">\n\t\t\t\t\t\t\t\t{{ paginationRange() }} {{ labelShowEntriesOfVar }} {{ total }} {{ labelShowEntriesVar }}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t}\n\t</div>\n} @else {\n\t<div class=\"grid h-full place-content-center gap-4 rounded-box border border-solid border-neutral\">\n\t\t<div>\n\t\t\t<div class=\"grid place-content-center text-info\">\n\t\t\t\t<st-icon [icon]=\"infoIcon\" size=\"lg\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t</div>\n\t\t\t<span typography [tyVariant]=\"'body-xs'\" [tyColor]=\"'inherit'\">{{ error() }}</span>\n\t\t</div>\n\t</div>\n}\n" }]
|
|
409
185
|
}] });
|
|
410
186
|
|
|
411
187
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sixbell-telco-sdk-components-table.mjs","sources":["../../../projects/sdk/components/table/table-header-checkbox/table-header-checkbox.component.ts","../../../projects/sdk/components/table/table-header-checkbox/table-header-checkbox.component.html","../../../projects/sdk/components/table/table-row-checkbox/table-row-checkbox.component.ts","../../../projects/sdk/components/table/table-row-checkbox/table-row-checkbox.component.html","../../../projects/sdk/components/table/src/table.component.ts","../../../projects/sdk/components/table/src/table.component.html","../../../projects/sdk/components/table/sixbell-telco-sdk-components-table.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Host, input, signal } from '@angular/core';\nimport { CheckboxComponent, CheckboxSizeProps, CheckboxVariantProps } from '@sixbell-telco/sdk/components/forms/checkbox';\nimport { TableComponent } from '../src/table.component';\n\n/**\n * Header checkbox component for the table.\n *\n * This component renders a checkbox within a table header row,\n * allowing users to select or deselect all rows in the table.\n *\n * @remarks\n * Utilizes Angular's dependency injection to access the parent {@link TableComponent}\n * and propagate the checkbox state changes.\n *\n * @example\n * ```html\n * <tr header-checkbox></tr>\n * ```\n */\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'tr[header-checkbox]',\n\tstandalone: true,\n\timports: [CheckboxComponent],\n\ttemplateUrl: './table-header-checkbox.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableHeaderCheckboxComponent {\n\t/**\n\t * Defines the variant styling of the checkbox.\n\t *\n\t * @defaultValue 'primary'\n\t */\n\tcheckboxVariant = input<CheckboxVariantProps>('primary');\n\n\t/**\n\t * Defines the size of the checkbox.\n\t *\n\t * @defaultValue 'md'\n\t */\n\tcheckboxSize = input<CheckboxSizeProps>('md');\n\n\t/**\n\t * Signal that tracks the checked state of the header checkbox.\n\t *\n\t * @defaultValue false\n\t */\n\tchecked = signal<boolean>(false);\n\n\t/**\n\t * Creates an instance of TableHeaderCheckboxComponent.\n\t *\n\t * @param table - Reference to the parent {@link TableComponent} to access table-level operations.\n\t */\n\tconstructor(@Host() private table: TableComponent) {}\n\n\t/**\n\t * Handles the event when the header checkbox is toggled.\n\t *\n\t * This method notifies the parent table component to either select or deselect all rows.\n\t *\n\t * @param value - The new checked state (true to select all rows, false to deselect all).\n\t */\n\thandleSelectAll(value: boolean) {\n\t\tthis.table.handleToggleAll(value);\n\t}\n}\n","<th class=\"w-6\">\n\t<st-checkbox [(value)]=\"checked\" (onChange)=\"handleSelectAll($event)\" [variant]=\"checkboxVariant()\" [size]=\"checkboxSize()\" />\n</th>\n<ng-content></ng-content>\n","import { ChangeDetectionStrategy, Component, Host, input, signal } from '@angular/core';\nimport { CheckboxComponent, CheckboxSizeProps, CheckboxVariantProps } from '@sixbell-telco/sdk/components/forms/checkbox';\nimport { TableComponent } from '../src/table.component';\n\n/**\n * Row checkbox component for table row selection.\n *\n * This component renders a checkbox within a table row,\n * enabling individual row selection. It interacts with the parent\n * {@link TableComponent} to update the selection state.\n *\n * @example\n * ```html\n * <tr row-checkbox [identifier]=\"rowId\"></tr>\n * ```\n */\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'tr[row-checkbox]',\n\tstandalone: true,\n\timports: [CheckboxComponent],\n\ttemplateUrl: './table-row-checkbox.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableRowCheckboxComponent {\n\t/**\n\t * Defines the variant styling of the checkbox.\n\t *\n\t * @defaultValue 'primary'\n\t */\n\tcheckboxVariant = input<CheckboxVariantProps>('primary');\n\n\t/**\n\t * Defines the size of the checkbox.\n\t *\n\t * @defaultValue 'md'\n\t */\n\tcheckboxSize = input<CheckboxSizeProps>('md');\n\n\t/**\n\t * Unique identifier for the table row.\n\t *\n\t * This input is required to track the specific row in the table.\n\t */\n\tidentifier = input.required();\n\n\t/**\n\t * Signal that tracks the checked state of the row checkbox.\n\t *\n\t * @defaultValue false\n\t */\n\tchecked = signal<boolean>(false);\n\n\t/**\n\t * Creates an instance of TableRowCheckboxComponent.\n\t *\n\t * @param table - Reference to the parent {@link TableComponent} to access\n\t * table-level operations for row selection.\n\t */\n\tconstructor(@Host() private table: TableComponent) {}\n\n\t/**\n\t * Handles the selection event of the row checkbox.\n\t *\n\t * This method notifies the parent table component to update the selection state\n\t * for the corresponding row, based on the checkbox's new value.\n\t *\n\t * @param value - The new checked state (true for selected, false for deselected).\n\t */\n\thandleSelect(value: boolean) {\n\t\tthis.table.handleToggleCheckbox(value, this.identifier());\n\t}\n}\n","<td>\n\t<st-checkbox [(value)]=\"checked\" (onChange)=\"handleSelect($event)\" [variant]=\"checkboxVariant()\" [size]=\"checkboxSize()\"></st-checkbox>\n</td>\n<ng-content></ng-content>\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, contentChild, contentChildren, effect, input, output, signal } from '@angular/core';\nimport { SelectComponent } from '@sixbell-telco/sdk/components/forms/select';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { matInfoOutline } from '@sixbell-telco/sdk/components/icon/material/outline';\nimport { PaginatorComponent } from '@sixbell-telco/sdk/components/paginator';\nimport { TypographyDirective } from '@sixbell-telco/sdk/directives/typography';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva, cx } from 'class-variance-authority';\nimport { TableHeaderCheckboxComponent } from '../table-header-checkbox/table-header-checkbox.component';\nimport { TableRowCheckboxComponent } from '../table-row-checkbox/table-row-checkbox.component';\n\n/** Type definition for pagination display variants */\nexport type PaginationType = 'default' | 'dots';\n\n/**\n * @internal\n * Generates base table classes with size variants\n */\nexport const tableContent = cva(\n\t['table', 'font-body', 'relative border-separate border-spacing-0', '[&_th]:bg-neutral [&_th]:text-neutral-content'],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\txs: ['table-xs'],\n\t\t\t\tsm: ['table-sm'],\n\t\t\t\tmd: ['table-md'],\n\t\t\t\tlg: ['table-lg'],\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [],\n\t\tdefaultVariants: {\n\t\t\tsize: 'sm',\n\t\t},\n\t},\n);\n\n/** Possible table size variants */\nexport type TableContentSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;\n\n/**\n * @internal\n * Generates table container classes with height variants\n */\nexport const tableContainer = cva(['overflow-y-auto rounded-t-box overscroll-contain'], {\n\tvariants: {\n\t\tcontainerHeight: {\n\t\t\tauto: ['h-auto'],\n\t\t\tfull: ['h-full'],\n\t\t\tsm: ['max-h-72 h-full'],\n\t\t\tmd: ['max-h-80 h-full'],\n\t\t\tlg: ['max-h-96 h-full'],\n\t\t\txl: ['max-h-[36rem] h-full'],\n\t\t},\n\t},\n\tcompoundVariants: [],\n\tdefaultVariants: {\n\t\tcontainerHeight: 'auto',\n\t},\n});\n\n/** Possible table container height values */\nexport type TableContainerHeightProps = 'auto' | 'full' | 'sm' | 'md' | 'lg' | 'xl' | null | undefined;\n\n/** Configuration object for table styling variants */\nexport type TableVariantProps = {\n\tsize?: TableContentSizeProps;\n\tcontainerHeight?: TableContainerHeightProps;\n};\n\n/**\n * @internal\n * Combines table content and container classes\n */\nexport const tableComponent = ({ size, containerHeight }: TableVariantProps = {}) => cx(tableContent({ size }), tableContainer({ containerHeight }));\n\n/** Pagination configuration structure */\nexport type TablePagination = {\n\tid: string;\n\tcurrentPage: number;\n\titemsPerPage: number;\n\tsearch: string;\n};\n\n/**\n * A feature-rich data table component with sorting, pagination, and row selection\n *\n * @remarks\n * Integrates with Tailwind CSS for styling and supports responsive layouts.\n * Includes built-in pagination controls and checkbox selection functionality.\n *\n * @example\n * ```html\n * <st-table\n * [data]=\"users\"\n * [totalItems]=\"100\"\n * [pagination]=\"{ currentPage: 1, itemsPerPage: 10 }\"\n * (onPageChange)=\"handlePageChange($event)\"\n * size=\"md\"\n * height=\"lg\"\n * zebra\n * >\n * <!-- Table columns and content -->\n * </st-table>\n * ```\n */\n@Component({\n\tselector: 'st-table',\n\tstandalone: true,\n\timports: [CommonModule, PaginatorComponent, TypographyDirective, SelectComponent, IconComponent],\n\ttemplateUrl: './table.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableComponent {\n\t/**\n\t * Table size variant\n\t * @defaultValue 'sm'\n\t */\n\tsize = input<TableContentSizeProps>();\n\n\t/**\n\t * Table container height preset\n\t * @defaultValue 'auto'\n\t */\n\theight = input<TableContainerHeightProps>();\n\n\t/**\n\t * Enable sticky header row\n\t * @defaultValue false\n\t */\n\tpinRows = input<boolean>(false);\n\n\t/**\n\t * Enable sticky first column\n\t * @defaultValue false\n\t */\n\tpinColumns = input<boolean>(false);\n\n\t/**\n\t * Apply zebra-striping to rows\n\t * @defaultValue false\n\t */\n\tzebra = input<boolean>(false);\n\n\t/**\n\t * Pagination control display variant\n\t * @defaultValue 'default'\n\t */\n\tpaginatorType = input<PaginationType>('default');\n\n\t/** Label for items per page selector */\n\tlabelEntriesByPage = input<string>('entradas por página');\n\n\t/** Label for \"X of Y\" entries display */\n\tlabelShowEntriesOf = input<string>('de');\n\n\t/** Label for total entries display */\n\tlabelShowEntries = input<string>('entradas');\n\n\t/** @internal Info icon reference */\n\tinfoIcon = matInfoOutline;\n\n\t/**\n\t * Array of data items to display\n\t * @defaultValue []\n\t */\n\tdata = input<unknown[]>([]);\n\n\t/**\n\t * Total number of items across all pages\n\t * @defaultValue 0\n\t */\n\ttotalItems = input<number>(0);\n\n\t/**\n\t * Error message displayed when no data is available\n\t * @defaultValue 'No se encontraron resultados'\n\t */\n\terror = input<string>('No se encontraron resultados');\n\n\t/**\n\t * Pagination configuration\n\t * @defaultValue { id: 'paginator', currentPage: 1, itemsPerPage: 10, search: '' }\n\t */\n\tpagination = input<TablePagination>({\n\t\tid: 'paginator',\n\t\tcurrentPage: 1,\n\t\titemsPerPage: 10,\n\t\tsearch: '',\n\t});\n\n\t/**\n\t * Maximum number of pagination buttons to display\n\t * @defaultValue 7\n\t */\n\tmaxSize = input<number>(7);\n\n\t/** Event emitted when page changes */\n\tonPageChange = output<number>();\n\n\t/** Event emitted when page size changes */\n\tonPageSizeChange = output<number>();\n\n\t/**\n\t * Show items per page selector\n\t * @defaultValue true\n\t */\n\tshowItemsPerPage = input<boolean>(true);\n\n\t/**\n\t * Show entries count display\n\t * @defaultValue true\n\t */\n\tshowEntries = input<boolean>(true);\n\n\t/**\n\t * Show pagination controls\n\t * @defaultValue true\n\t */\n\tshowPagination = input<boolean>(true);\n\n\t/**\n\t * Computed display range for current page entries\n\t * @example \"1-10\" of 100 entries\n\t */\n\tpaginationRange = computed(() => {\n\t\tconst start = this.pagination().currentPage * this.pagination().itemsPerPage - this.pagination().itemsPerPage + 1;\n\t\tconst end = Math.min(this.pagination().currentPage * this.pagination().itemsPerPage, this.totalItems());\n\t\treturn `${start}-${end}`;\n\t});\n\n\t/**\n\t * Handles page navigation events\n\t * @param page - New page number\n\t */\n\thandlePageChange(page: number) {\n\t\tthis.handleToggleAll(false);\n\t\tthis.onPageChange.emit(page);\n\t}\n\n\t/**\n\t * Handles page size changes\n\t * @param size - New items per page value\n\t */\n\thandlePageSizeChange(size: number) {\n\t\tthis.handleToggleAll(false);\n\t\tthis.onPageSizeChange.emit(size);\n\t}\n\n\t/**\n\t * @internal\n\t * Computes table element classes based on current configuration\n\t */\n\tget tableClass() {\n\t\treturn cn(\n\t\t\ttableContent({\n\t\t\t\tsize: this.size(),\n\t\t\t}),\n\t\t\t{\n\t\t\t\t'table-pin-rows': this.pinRows(),\n\t\t\t\t'table-pin-cols': this.pinColumns(),\n\t\t\t\t'table-zebra': this.zebra(),\n\t\t\t},\n\t\t);\n\t}\n\n\t/**\n\t * @internal\n\t * Computes table container classes based on height input\n\t */\n\tget tableContainerClass() {\n\t\treturn cn(\n\t\t\ttableContainer({\n\t\t\t\tcontainerHeight: this.height(),\n\t\t\t}),\n\t\t);\n\t}\n\n\t/**\n\t * @internal\n\t * Computes outer container classes based on size\n\t */\n\tget containerClass() {\n\t\treturn cn('flex flex-col gap-3 rounded-box border border-solid border-neutral pb-3', {\n\t\t\t'gap-3 pb-3': this.size() === 'xs' || this.size() === 'sm' || this.size() === 'md',\n\t\t\t'gap-4 pb-4': this.size() === 'lg',\n\t\t});\n\t}\n\n\t/** @internal Reference to header checkbox component */\n\theader = contentChild(TableHeaderCheckboxComponent, { descendants: true });\n\n\t/** @internal List of row checkbox components */\n\trows = contentChildren(TableRowCheckboxComponent, { descendants: true });\n\n\t/** @internal Track selected row identifiers */\n\tidentifiers = signal<Set<unknown>>(new Set());\n\n\t/** Event emitted with array of selected item identifiers */\n\tonCheck = output<unknown[]>();\n\n\t/** @internal Sync checkbox state with output */\n\tcheckEffect = effect(() => {\n\t\tthis.onCheck.emit(Array.from(this.identifiers()));\n\t});\n\n\t/**\n\t * Toggle all row checkboxes\n\t * @param value - Whether to check or uncheck all rows\n\t */\n\thandleToggleAll(value: boolean) {\n\t\tif (!value) {\n\t\t\tthis.clearList();\n\t\t}\n\n\t\tthis.rows().forEach((row) => {\n\t\t\trow.checked.set(value);\n\t\t\tif (value) {\n\t\t\t\tthis.identifiers.update((items) => new Set(items).add(row.identifier()));\n\t\t\t}\n\t\t});\n\t}\n\n\t/**\n\t * Handle individual checkbox toggle\n\t * @param value - Checkbox state\n\t * @param identifier - Unique row identifier\n\t */\n\thandleToggleCheckbox(value: boolean, identifier: unknown) {\n\t\tif (value) {\n\t\t\tthis.identifiers.update((items) => new Set(items).add(identifier));\n\t\t} else {\n\t\t\tthis.header()?.checked.set(false);\n\t\t\tthis.identifiers.update((items) => {\n\t\t\t\titems.delete(identifier);\n\t\t\t\treturn new Set(items);\n\t\t\t});\n\t\t}\n\t}\n\n\t/** @internal Clear all selections */\n\tprivate clearList() {\n\t\tthis.identifiers.set(new Set());\n\t\tthis.header()?.checked.set(false);\n\t}\n}\n","@let total = totalItems();\n@if (total > 0 || data().length > 0) {\n\t<div [class]=\"containerClass\">\n\t\t<!-- Table -->\n\t\t<div [class]=\"tableContainerClass\">\n\t\t\t<table [class]=\"tableClass\">\n\t\t\t\t<ng-content select=\"thead\" class=\"[&_tr]:\\hover\"></ng-content>\n\t\t\t\t<ng-content select=\"tbody\"></ng-content>\n\t\t\t</table>\n\t\t</div>\n\t\t@if (total > 0) {\n\t\t\t<!-- Divider -->\n\t\t\t<div class=\"divider divider-neutral my-0 h-[0.0625rem] px-4 before:h-[0.0625rem] after:h-[0.0625rem]\"></div>\n\t\t\t<!-- Paginator -->\n\t\t\t<div class=\"gap grid min-h-[30px] grid-cols-[1fr_3fr_1fr] items-center px-4\">\n\t\t\t\t<!-- Pagination info -->\n\t\t\t\t<div class=\"flex items-center justify-self-start\">\n\t\t\t\t\t@if (showItemsPerPage()) {\n\t\t\t\t\t\t<st-select\n\t\t\t\t\t\t\t[options]=\"[5, 10, 20, 50, 100]\"\n\t\t\t\t\t\t\t[value]=\"pagination().itemsPerPage\"\n\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t(onChange)=\"handlePageSizeChange($event)\"\n\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t></st-select>\n\t\t\t\t\t\t<div class=\"ml-2\">\n\t\t\t\t\t\t\t@let labelEntriesByPageVar = labelEntriesByPage();\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-xs'\" [tyColor]=\"'inherit'\">{{ labelEntriesByPageVar }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"justify-self-center\">\n\t\t\t\t\t@if (showPagination()) {\n\t\t\t\t\t\t@if (paginatorType() === 'default') {\n\t\t\t\t\t\t\t<st-paginator\n\t\t\t\t\t\t\t\t[paginatorId]=\"pagination().id\"\n\t\t\t\t\t\t\t\t[currentPage]=\"pagination().currentPage\"\n\t\t\t\t\t\t\t\t[maxSize]=\"maxSize()\"\n\t\t\t\t\t\t\t\t(onPageChange)=\"handlePageChange($event)\"\n\t\t\t\t\t\t\t></st-paginator>\n\t\t\t\t\t\t} @else if (paginatorType() === 'dots') {\n\t\t\t\t\t\t\t<st-paginator [paginatorId]=\"pagination().id\" (onPageChange)=\"handlePageChange($event)\" type=\"dots\"></st-paginator>\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"flex items-center justify-self-end\">\n\t\t\t\t\t@if (showEntries()) {\n\t\t\t\t\t\t@let labelShowEntriesOfVar = labelShowEntriesOf();\n\t\t\t\t\t\t@let labelShowEntriesVar = labelShowEntries();\n\t\t\t\t\t\t@if (!showItemsPerPage() && !showPagination()) {\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-xs'\" [tyColor]=\"'inherit'\"> {{ total }} {{ labelShowEntriesVar }} </span>\n\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-xs'\" [tyColor]=\"'inherit'\">\n\t\t\t\t\t\t\t\t{{ paginationRange() }} {{ labelShowEntriesOfVar }} {{ total }} {{ labelShowEntriesVar }}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t}\n\t</div>\n} @else {\n\t<div class=\"grid h-full place-content-center gap-4 rounded-box border border-solid border-neutral p-6\">\n\t\t<div>\n\t\t\t<div class=\"grid place-content-center text-info\">\n\t\t\t\t<st-icon [icon]=\"infoIcon\" size=\"lg\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t</div>\n\t\t\t<span typography [tyVariant]=\"'body-xs'\" [tyColor]=\"'inherit'\">{{ error() }}</span>\n\t\t</div>\n\t</div>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.TableComponent"],"mappings":";;;;;;;;;;;;AAIA;;;;;;;;;;;;;;AAcG;MASU,4B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../../../projects/sdk/components/table/table-header-checkbox/table-header-checkbox.component.ts","../../../projects/sdk/components/table/table-header-checkbox/table-header-checkbox.component.html","../../../projects/sdk/components/table/table-row-checkbox/table-row-checkbox.component.ts","../../../projects/sdk/components/table/table-row-checkbox/table-row-checkbox.component.html","../../../projects/sdk/components/table/src/table.component.ts","../../../projects/sdk/components/table/src/table.component.html","../../../projects/sdk/components/table/sixbell-telco-sdk-components-table.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Host, input, signal } from '@angular/core';\nimport { CheckboxComponent, CheckboxSizeProps, CheckboxVariantProps } from '@sixbell-telco/sdk/components/forms/checkbox';\nimport { TableComponent } from '../src/table.component';\n\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'tr[header-checkbox]',\n\tstandalone: true,\n\timports: [CheckboxComponent],\n\ttemplateUrl: './table-header-checkbox.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableHeaderCheckboxComponent {\n\tcheckboxVariant = input<CheckboxVariantProps>('primary');\n\tcheckboxSize = input<CheckboxSizeProps>('md');\n\tchecked = signal<boolean>(false);\n\tconstructor(@Host() private table: TableComponent) {}\n\n\thandleSelectAll(value: boolean) {\n\t\tthis.table.handleToggleAll(value);\n\t}\n}\n","<th class=\"w-6\">\n\t<st-checkbox [(value)]=\"checked\" (onChange)=\"handleSelectAll($event)\" [variant]=\"checkboxVariant()\" [size]=\"checkboxSize()\" />\n</th>\n<ng-content></ng-content>\n","import { ChangeDetectionStrategy, Component, Host, input, signal } from '@angular/core';\nimport { CheckboxComponent, CheckboxSizeProps, CheckboxVariantProps } from '@sixbell-telco/sdk/components/forms/checkbox';\nimport { TableComponent } from '../src/table.component';\n\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'tr[row-checkbox]',\n\tstandalone: true,\n\timports: [CheckboxComponent],\n\ttemplateUrl: './table-row-checkbox.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableRowCheckboxComponent {\n\tcheckboxVariant = input<CheckboxVariantProps>('primary');\n\tcheckboxSize = input<CheckboxSizeProps>('md');\n\tidentifier = input.required();\n\tchecked = signal<boolean>(false);\n\n\tconstructor(@Host() private table: TableComponent) {}\n\n\thandleSelect(value: boolean) {\n\t\tthis.table.handleToggleCheckbox(value, this.identifier());\n\t}\n}\n","<td>\n\t<st-checkbox [(value)]=\"checked\" (onChange)=\"handleSelect($event)\" [variant]=\"checkboxVariant()\" [size]=\"checkboxSize()\"></st-checkbox>\n</td>\n<ng-content></ng-content>\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, contentChild, contentChildren, effect, input, output, signal } from '@angular/core';\nimport { SelectComponent } from '@sixbell-telco/sdk/components/forms/select';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { matInfoOutline } from '@sixbell-telco/sdk/components/icon/material/outline';\nimport { PaginatorComponent } from '@sixbell-telco/sdk/components/paginator';\nimport { TypographyDirective } from '@sixbell-telco/sdk/directives/typography';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva, cx } from 'class-variance-authority';\nimport { TableHeaderCheckboxComponent } from '../table-header-checkbox/table-header-checkbox.component';\nimport { TableRowCheckboxComponent } from '../table-row-checkbox/table-row-checkbox.component';\n\nexport type PaginationType = 'default' | 'dots';\n\nexport const tableContent = cva(\n\t['table', 'font-body', 'relative border-separate border-spacing-0', '[&_th]:bg-neutral [&_th]:text-neutral-content'],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\txs: ['table-xs'],\n\t\t\t\tsm: ['table-sm'],\n\t\t\t\tmd: ['table-md'],\n\t\t\t\tlg: ['table-lg'],\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [],\n\t\tdefaultVariants: {\n\t\t\tsize: 'sm',\n\t\t},\n\t},\n);\n\nexport type TableContentSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;\n\nexport const tableContainer = cva(['overflow-y-auto rounded-t-box overscroll-contain'], {\n\tvariants: {\n\t\tcontainerHeight: {\n\t\t\tauto: ['h-auto'],\n\t\t\tfull: ['h-full'],\n\t\t\tsm: ['max-h-72 h-full'],\n\t\t\tmd: ['max-h-80 h-full'],\n\t\t\tlg: ['max-h-96 h-full'],\n\t\t\txl: ['max-h-[36rem] h-full'],\n\t\t},\n\t},\n\tcompoundVariants: [],\n\tdefaultVariants: {\n\t\tcontainerHeight: 'auto',\n\t},\n});\nexport type TableContainerHeightProps = 'auto' | 'full' | 'sm' | 'md' | 'lg' | 'xl' | null | undefined;\n\nexport type TableVariantProps = {\n\tsize?: TableContentSizeProps;\n\tcontainerHeight?: TableContainerHeightProps;\n};\nexport const tableComponent = ({ size, containerHeight }: TableVariantProps = {}) => cx(tableContent({ size }), tableContainer({ containerHeight }));\n\nexport type TablePagination = {\n\tid: string;\n\tcurrentPage: number;\n\titemsPerPage: number;\n\tsearch: string;\n};\n\n@Component({\n\tselector: 'st-table',\n\tstandalone: true,\n\timports: [CommonModule, PaginatorComponent, TypographyDirective, SelectComponent, IconComponent],\n\ttemplateUrl: './table.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableComponent {\n\t// Base table properties\n\tsize = input<TableContentSizeProps>();\n\theight = input<TableContainerHeightProps>();\n\tpinRows = input<boolean>(false);\n\tpinColumns = input<boolean>(false);\n\tzebra = input<boolean>(false);\n\tpaginatorType = input<PaginationType>('default');\n\tlabelEntriesByPage = input<string>('entradas por página');\n\tlabelShowEntriesOf = input<string>('de');\n\tlabelShowEntries = input<string>('entradas');\n\tinfoIcon = matInfoOutline;\n\n\t// Table data\n\tdata = input<unknown[]>([]);\n\ttotalItems = input<number>(0);\n\terror = input<string>('No se encontraron resultados');\n\n\t// Paginator properties\n\tpagination = input<TablePagination>({ id: 'paginator', currentPage: 1, itemsPerPage: 10, search: '' });\n\tmaxSize = input<number>(7);\n\tonPageChange = output<number>();\n\tonPageSizeChange = output<number>();\n\tshowItemsPerPage = input<boolean>(true);\n\tshowEntries = input<boolean>(true);\n\tshowPagination = input<boolean>(true);\n\n\tpaginationRange = computed(() => {\n\t\tconst start = this.pagination().currentPage * this.pagination().itemsPerPage - this.pagination().itemsPerPage + 1;\n\t\tconst end = Math.min(this.pagination().currentPage * this.pagination().itemsPerPage, this.totalItems());\n\t\treturn `${start}-${end}`;\n\t});\n\n\thandlePageChange(page: number) {\n\t\tthis.handleToggleAll(false);\n\t\tthis.onPageChange.emit(page);\n\t}\n\n\thandlePageSizeChange(size: number) {\n\t\tthis.handleToggleAll(false);\n\t\tthis.onPageSizeChange.emit(size);\n\t}\n\n\tget tableClass() {\n\t\treturn cn(\n\t\t\ttableContent({\n\t\t\t\tsize: this.size(),\n\t\t\t}),\n\t\t\t{\n\t\t\t\t'table-pin-rows': this.pinRows(),\n\t\t\t\t'table-pin-cols': this.pinColumns(),\n\t\t\t\t'table-zebra': this.zebra(),\n\t\t\t},\n\t\t);\n\t}\n\n\tget tableContainerClass() {\n\t\treturn cn(\n\t\t\ttableContainer({\n\t\t\t\tcontainerHeight: this.height(),\n\t\t\t}),\n\t\t);\n\t}\n\n\tget containerClass() {\n\t\treturn cn('flex flex-col gap-3 rounded-box border border-solid border-neutral pb-3', {\n\t\t\t'gap-3 pb-3': this.size() === 'xs' || this.size() === 'sm' || this.size() === 'md',\n\t\t\t'gap-4 pb-4': this.size() === 'lg',\n\t\t});\n\t}\n\n\t// For checkboxes on child components\n\theader = contentChild(TableHeaderCheckboxComponent, { descendants: true });\n\trows = contentChildren(TableRowCheckboxComponent, { descendants: true });\n\tidentifiers = signal<Set<unknown>>(new Set());\n\tonCheck = output<unknown[]>();\n\n\tcheckEffect = effect(() => {\n\t\tthis.onCheck.emit(Array.from(this.identifiers()));\n\t});\n\n\thandleToggleAll(value: boolean) {\n\t\tif (!value) {\n\t\t\tthis.clearList();\n\t\t}\n\n\t\tthis.rows().forEach((row) => {\n\t\t\trow.checked.set(value);\n\t\t\tif (value) {\n\t\t\t\tthis.identifiers.update((items) => new Set(items).add(row.identifier()));\n\t\t\t}\n\t\t});\n\t}\n\n\thandleToggleCheckbox(value: boolean, identifier: unknown) {\n\t\tif (value) {\n\t\t\tthis.identifiers.update((items) => new Set(items).add(identifier));\n\t\t} else {\n\t\t\tthis.header()?.checked.set(false);\n\t\t\tthis.identifiers.update((items) => {\n\t\t\t\titems.delete(identifier);\n\t\t\t\treturn new Set(items);\n\t\t\t});\n\t\t}\n\t}\n\n\tprivate clearList() {\n\t\tthis.identifiers.set(new Set());\n\t\tthis.header()?.checked.set(false);\n\t}\n}\n","@let total = totalItems();\n@if (total > 0 || data().length > 0) {\n\t<div [class]=\"containerClass\">\n\t\t<!-- Table -->\n\t\t<div [class]=\"tableContainerClass\">\n\t\t\t<table [class]=\"tableClass\">\n\t\t\t\t<ng-content select=\"thead\" class=\"[&_tr]:\\hover\"></ng-content>\n\t\t\t\t<ng-content select=\"tbody\"></ng-content>\n\t\t\t</table>\n\t\t</div>\n\t\t@if (total > 0) {\n\t\t\t<!-- Divider -->\n\t\t\t<div class=\"divider divider-neutral my-0 h-[0.0625rem] px-4 before:h-[0.0625rem] after:h-[0.0625rem]\"></div>\n\t\t\t<!-- Paginator -->\n\t\t\t<div class=\"gap grid min-h-[30px] grid-cols-[1fr_3fr_1fr] items-center px-4\">\n\t\t\t\t<!-- Pagination info -->\n\t\t\t\t<div class=\"flex items-center justify-self-start\">\n\t\t\t\t\t@if (showItemsPerPage()) {\n\t\t\t\t\t\t<st-select\n\t\t\t\t\t\t\t[options]=\"[5, 10, 20, 50, 100]\"\n\t\t\t\t\t\t\t[value]=\"pagination().itemsPerPage\"\n\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t(onChange)=\"handlePageSizeChange($event)\"\n\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t></st-select>\n\t\t\t\t\t\t<div class=\"ml-2\">\n\t\t\t\t\t\t\t@let labelEntriesByPageVar = labelEntriesByPage();\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-xs'\" [tyColor]=\"'inherit'\">{{ labelEntriesByPageVar }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"justify-self-center\">\n\t\t\t\t\t@if (showPagination()) {\n\t\t\t\t\t\t@if (paginatorType() === 'default') {\n\t\t\t\t\t\t\t<st-paginator\n\t\t\t\t\t\t\t\t[paginatorId]=\"pagination().id\"\n\t\t\t\t\t\t\t\t[currentPage]=\"pagination().currentPage\"\n\t\t\t\t\t\t\t\t[maxSize]=\"maxSize()\"\n\t\t\t\t\t\t\t\t(onPageChange)=\"handlePageChange($event)\"\n\t\t\t\t\t\t\t></st-paginator>\n\t\t\t\t\t\t} @else if (paginatorType() === 'dots') {\n\t\t\t\t\t\t\t<st-paginator [paginatorId]=\"pagination().id\" (onPageChange)=\"handlePageChange($event)\" type=\"dots\"></st-paginator>\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"flex items-center justify-self-end\">\n\t\t\t\t\t@if (showEntries()) {\n\t\t\t\t\t\t@let labelShowEntriesOfVar = labelShowEntriesOf();\n\t\t\t\t\t\t@let labelShowEntriesVar = labelShowEntries();\n\t\t\t\t\t\t@if (!showItemsPerPage() && !showPagination()) {\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-xs'\" [tyColor]=\"'inherit'\"> {{ total }} {{ labelShowEntriesVar }} </span>\n\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t<span typography [tyVariant]=\"'body-xs'\" [tyColor]=\"'inherit'\">\n\t\t\t\t\t\t\t\t{{ paginationRange() }} {{ labelShowEntriesOfVar }} {{ total }} {{ labelShowEntriesVar }}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t}\n\t</div>\n} @else {\n\t<div class=\"grid h-full place-content-center gap-4 rounded-box border border-solid border-neutral\">\n\t\t<div>\n\t\t\t<div class=\"grid place-content-center text-info\">\n\t\t\t\t<st-icon [icon]=\"infoIcon\" size=\"lg\" color=\"inherit\" size=\"lg\"></st-icon>\n\t\t\t</div>\n\t\t\t<span typography [tyVariant]=\"'body-xs'\" [tyColor]=\"'inherit'\">{{ error() }}</span>\n\t\t</div>\n\t</div>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.TableComponent"],"mappings":";;;;;;;;;;;;MAYa,4BAA4B,CAAA;AAIZ,IAAA,KAAA,CAAA;AAH5B,IAAA,eAAe,GAAG,KAAK,CAAuB,SAAS,CAAC,CAAC;AACzD,IAAA,YAAY,GAAG,KAAK,CAAoB,IAAI,CAAC,CAAC;AAC9C,IAAA,OAAO,GAAG,MAAM,CAAU,KAAK,CAAC,CAAC;AACjC,IAAA,WAAA,CAA4B,KAAqB,EAAA;QAArB,IAAK,CAAA,KAAA,GAAL,KAAK,CAAgB;KAAI;AAErD,IAAA,eAAe,CAAC,KAAc,EAAA;AAC7B,QAAA,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;KAClC;wGARW,4BAA4B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAAA,cAAA,EAAA,IAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;4FAA5B,4BAA4B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,qBAAA,EAAA,MAAA,EAAA,EAAA,eAAA,EAAA,EAAA,iBAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,YAAA,EAAA,EAAA,iBAAA,EAAA,cAAA,EAAA,UAAA,EAAA,cAAA,EAAA,QAAA,EAAA,IAAA,E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