@thalassic/ui 22.17.1 → 22.17.3
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/fesm2022/thalassic-ui.mjs +55 -12
- package/fesm2022/thalassic-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/thalassic-ui.d.ts +48 -10
|
@@ -15,7 +15,6 @@ import { ConfigurableFocusTrapFactory } from '@angular/cdk/a11y';
|
|
|
15
15
|
import { filter as filter$1 } from 'rxjs/operators';
|
|
16
16
|
import { CdkDialogContainer, DialogRef as DialogRef$1, Dialog as Dialog$1 } from '@angular/cdk/dialog';
|
|
17
17
|
import { Directionality } from '@angular/cdk/bidi';
|
|
18
|
-
import { CdkTextareaAutosize } from '@angular/cdk/text-field';
|
|
19
18
|
import { Menu as Menu$1, MenuItem } from '@angular/aria/menu';
|
|
20
19
|
import * as i1 from '@angular/aria/tabs';
|
|
21
20
|
import { TabPanel, TabList, Tab as Tab$1, Tabs as Tabs$1, TabContent } from '@angular/aria/tabs';
|
|
@@ -7133,23 +7132,25 @@ class Textarea extends ValueFormControl {
|
|
|
7133
7132
|
array.push(`${this.CLASS_NAME}--${this.size()}`);
|
|
7134
7133
|
if (this.fluid())
|
|
7135
7134
|
array.push(`${this.CLASS_NAME}--fluid`);
|
|
7135
|
+
if (this.autosize()) {
|
|
7136
|
+
array.push(`${this.CLASS_NAME}--autosize`);
|
|
7137
|
+
if (this.maxRows() > 0)
|
|
7138
|
+
array.push(`${this.CLASS_NAME}--autosize-capped`);
|
|
7139
|
+
}
|
|
7136
7140
|
return array.concat(this.controlClasses());
|
|
7137
7141
|
}, /* @ts-ignore */
|
|
7138
7142
|
...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
|
|
7139
|
-
// Autosize owns the height, so the manual resize handle is suppressed.
|
|
7140
|
-
effectiveResize = computed(() => this.autosize() ? 'none' : this.resize(), /* @ts-ignore */
|
|
7141
|
-
...(ngDevMode ? [{ debugName: "effectiveResize" }] : /* istanbul ignore next */ []));
|
|
7142
7143
|
// Protected methods
|
|
7143
7144
|
onInput(event) {
|
|
7144
7145
|
const target = event.target;
|
|
7145
7146
|
this.value.set(target.value);
|
|
7146
7147
|
}
|
|
7147
7148
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Textarea, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
7148
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: Textarea, isStandalone: true, selector: "tls-textarea", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, resize: { classPropertyName: "resize", publicName: "resize", isSignal: true, isRequired: false, transformFunction: null }, autosize: { classPropertyName: "autosize", publicName: "autosize", isSignal: true, isRequired: false, transformFunction: null }, maxRows: { classPropertyName: "maxRows", publicName: "maxRows", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { classAttribute: "tls-textarea" }, providers: [{ provide: FORM_CONTROL, useExisting: forwardRef(() => Textarea) }], usesInheritance: true, ngImport: i0, template: "<textarea\n [name]=\"name()\"\n [class]=\"classes()\"\n [attr.id]=\"effectiveInputId()\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"labelledBy()\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n [attr.aria-required]=\"required() ? 'true' : null\"\n [attr.aria-busy]=\"pending() ? 'true' : null\"\n [attr.aria-describedby]=\"describedBy()\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"disabled()\"\n [readonly]=\"readonly()\"\n [rows]=\"rows()\"\n [style
|
|
7149
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: Textarea, isStandalone: true, selector: "tls-textarea", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, resize: { classPropertyName: "resize", publicName: "resize", isSignal: true, isRequired: false, transformFunction: null }, autosize: { classPropertyName: "autosize", publicName: "autosize", isSignal: true, isRequired: false, transformFunction: null }, maxRows: { classPropertyName: "maxRows", publicName: "maxRows", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { classAttribute: "tls-textarea" }, providers: [{ provide: FORM_CONTROL, useExisting: forwardRef(() => Textarea) }], usesInheritance: true, ngImport: i0, template: "<textarea\n [name]=\"name()\"\n [class]=\"classes()\"\n [attr.id]=\"effectiveInputId()\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"labelledBy()\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n [attr.aria-required]=\"required() ? 'true' : null\"\n [attr.aria-busy]=\"pending() ? 'true' : null\"\n [attr.aria-describedby]=\"describedBy()\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"disabled()\"\n [readonly]=\"readonly()\"\n [rows]=\"rows()\"\n [style.--tls-textarea-rows]=\"rows()\"\n [style.--tls-textarea-max-rows]=\"maxRows()\"\n [style.--tls-textarea-resize]=\"resize()\"\n [value]=\"value()\"\n (input)=\"onInput($event)\"\n (blur)=\"touched.set(true)\"\n></textarea>\n@if (pending()) {\n <tls-loader class=\"tls-form-control__spinner\" size=\"xs\" aria-hidden=\"true\" />\n}\n", styles: [":host{--tls-textarea-width: 200px;position:relative;display:inline-block;width:var(--tls-textarea-width)}:host .tls-form-control{width:100%}:host .tls-form-control__spinner{position:absolute;inset-block-start:var(--spacing-2);inset-inline-end:var(--spacing-3);pointer-events:none}:host .tls-form-control--pending{padding-inline-end:var(--spacing-8)}:host:has(.tls-form-control--fluid){--tls-textarea-width: 100%}\n"], dependencies: [{ kind: "component", type: Loader, selector: "tls-loader", inputs: ["size", "width", "widthRatio", "ariaLabel"] }] });
|
|
7149
7150
|
}
|
|
7150
7151
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Textarea, decorators: [{
|
|
7151
7152
|
type: Component,
|
|
7152
|
-
args: [{ selector: 'tls-textarea', imports: [
|
|
7153
|
+
args: [{ selector: 'tls-textarea', imports: [Loader], host: { class: 'tls-textarea' }, providers: [{ provide: FORM_CONTROL, useExisting: forwardRef(() => Textarea) }], template: "<textarea\n [name]=\"name()\"\n [class]=\"classes()\"\n [attr.id]=\"effectiveInputId()\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"labelledBy()\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n [attr.aria-required]=\"required() ? 'true' : null\"\n [attr.aria-busy]=\"pending() ? 'true' : null\"\n [attr.aria-describedby]=\"describedBy()\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"disabled()\"\n [readonly]=\"readonly()\"\n [rows]=\"rows()\"\n [style.--tls-textarea-rows]=\"rows()\"\n [style.--tls-textarea-max-rows]=\"maxRows()\"\n [style.--tls-textarea-resize]=\"resize()\"\n [value]=\"value()\"\n (input)=\"onInput($event)\"\n (blur)=\"touched.set(true)\"\n></textarea>\n@if (pending()) {\n <tls-loader class=\"tls-form-control__spinner\" size=\"xs\" aria-hidden=\"true\" />\n}\n", styles: [":host{--tls-textarea-width: 200px;position:relative;display:inline-block;width:var(--tls-textarea-width)}:host .tls-form-control{width:100%}:host .tls-form-control__spinner{position:absolute;inset-block-start:var(--spacing-2);inset-inline-end:var(--spacing-3);pointer-events:none}:host .tls-form-control--pending{padding-inline-end:var(--spacing-8)}:host:has(.tls-form-control--fluid){--tls-textarea-width: 100%}\n"] }]
|
|
7153
7154
|
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], fluid: [{ type: i0.Input, args: [{ isSignal: true, alias: "fluid", required: false }] }], rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: false }] }], resize: [{ type: i0.Input, args: [{ isSignal: true, alias: "resize", required: false }] }], autosize: [{ type: i0.Input, args: [{ isSignal: true, alias: "autosize", required: false }] }], maxRows: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxRows", required: false }] }] } });
|
|
7154
7155
|
|
|
7155
7156
|
const DEFAULT_TOGGLE_BUTTON_CONFIG = {
|
|
@@ -9001,10 +9002,12 @@ class TableColumn {
|
|
|
9001
9002
|
...(ngDevMode ? [undefined, { debugName: "alignment" }] : /* istanbul ignore next */ []));
|
|
9002
9003
|
width = input(/* @ts-ignore */
|
|
9003
9004
|
...(ngDevMode ? [undefined, { debugName: "width" }] : /* istanbul ignore next */ []));
|
|
9005
|
+
collapse = input(/* @ts-ignore */
|
|
9006
|
+
...(ngDevMode ? [undefined, { debugName: "collapse" }] : /* istanbul ignore next */ []));
|
|
9004
9007
|
template = contentChild(TemplateRef, /* @ts-ignore */
|
|
9005
9008
|
...(ngDevMode ? [{ debugName: "template" }] : /* istanbul ignore next */ []));
|
|
9006
9009
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TableColumn, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9007
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.5", type: TableColumn, isStandalone: true, selector: "tls-table-column", inputs: { key: { classPropertyName: "key", publicName: "key", isSignal: true, isRequired: true, transformFunction: null }, header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, hidden: { classPropertyName: "hidden", publicName: "hidden", isSignal: true, isRequired: false, transformFunction: null }, alignment: { classPropertyName: "alignment", publicName: "alignment", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, isSignal: true }], ngImport: i0, template: '', isInline: true });
|
|
9010
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.5", type: TableColumn, isStandalone: true, selector: "tls-table-column", inputs: { key: { classPropertyName: "key", publicName: "key", isSignal: true, isRequired: true, transformFunction: null }, header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, hidden: { classPropertyName: "hidden", publicName: "hidden", isSignal: true, isRequired: false, transformFunction: null }, alignment: { classPropertyName: "alignment", publicName: "alignment", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, collapse: { classPropertyName: "collapse", publicName: "collapse", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, isSignal: true }], ngImport: i0, template: '', isInline: true });
|
|
9008
9011
|
}
|
|
9009
9012
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: TableColumn, decorators: [{
|
|
9010
9013
|
type: Component,
|
|
@@ -9013,7 +9016,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
|
|
|
9013
9016
|
imports: [],
|
|
9014
9017
|
template: '',
|
|
9015
9018
|
}]
|
|
9016
|
-
}], propDecorators: { key: [{ type: i0.Input, args: [{ isSignal: true, alias: "key", required: true }] }], header: [{ type: i0.Input, args: [{ isSignal: true, alias: "header", required: false }] }], hidden: [{ type: i0.Input, args: [{ isSignal: true, alias: "hidden", required: false }] }], alignment: [{ type: i0.Input, args: [{ isSignal: true, alias: "alignment", required: false }] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], template: [{ type: i0.ContentChild, args: [i0.forwardRef(() => TemplateRef), { isSignal: true }] }] } });
|
|
9019
|
+
}], propDecorators: { key: [{ type: i0.Input, args: [{ isSignal: true, alias: "key", required: true }] }], header: [{ type: i0.Input, args: [{ isSignal: true, alias: "header", required: false }] }], hidden: [{ type: i0.Input, args: [{ isSignal: true, alias: "hidden", required: false }] }], alignment: [{ type: i0.Input, args: [{ isSignal: true, alias: "alignment", required: false }] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], collapse: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapse", required: false }] }], template: [{ type: i0.ContentChild, args: [i0.forwardRef(() => TemplateRef), { isSignal: true }] }] } });
|
|
9017
9020
|
|
|
9018
9021
|
const DEFAULT_TABLE_CONFIG = {
|
|
9019
9022
|
hideHeader: false,
|
|
@@ -9026,6 +9029,11 @@ const TABLE_CONFIG = new InjectionToken('TABLE_CONFIG', {
|
|
|
9026
9029
|
|
|
9027
9030
|
class Table {
|
|
9028
9031
|
_config = inject(TABLE_CONFIG);
|
|
9032
|
+
/**
|
|
9033
|
+
* Rows to render. The row type flows through from whatever array is bound, so
|
|
9034
|
+
* a caller keeps its own model type here rather than widening to an index
|
|
9035
|
+
* signature.
|
|
9036
|
+
*/
|
|
9029
9037
|
data = input.required(/* @ts-ignore */
|
|
9030
9038
|
...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
|
|
9031
9039
|
columnDefinitions = input([], /* @ts-ignore */
|
|
@@ -9040,6 +9048,17 @@ class Table {
|
|
|
9040
9048
|
* scroll. Left unset the table grows with its content and nothing scrolls.
|
|
9041
9049
|
*/
|
|
9042
9050
|
maxHeight = input(undefined, { ...(ngDevMode ? { debugName: "maxHeight" } : /* istanbul ignore next */ {}), transform: value => value === undefined || value === null ? undefined : numberAttribute(value) });
|
|
9051
|
+
/**
|
|
9052
|
+
* Width below which the table stops being a column grid: `fold` columns move
|
|
9053
|
+
* under the kept cells as labelled lines and `hide` columns drop out, so a
|
|
9054
|
+
* record stays readable when there is no room to lay it out sideways.
|
|
9055
|
+
*
|
|
9056
|
+
* Measured against the table's own width, not the viewport — a table inside a
|
|
9057
|
+
* sidebar or split pane collapses on its real width. Left unset the table
|
|
9058
|
+
* never collapses.
|
|
9059
|
+
*/
|
|
9060
|
+
collapseAt = input(undefined, /* @ts-ignore */
|
|
9061
|
+
...(ngDevMode ? [{ debugName: "collapseAt" }] : /* istanbul ignore next */ []));
|
|
9043
9062
|
/** Accessible name for the table, forwarded to the inner `<table>` element. */
|
|
9044
9063
|
ariaLabel = input(undefined, /* @ts-ignore */
|
|
9045
9064
|
...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
@@ -9077,6 +9096,16 @@ class Table {
|
|
|
9077
9096
|
...(ngDevMode ? [{ debugName: "columns" }] : /* istanbul ignore next */ []));
|
|
9078
9097
|
resolvedTrackBy = computed(() => resolveTrackBy(this.trackBy()), /* @ts-ignore */
|
|
9079
9098
|
...(ngDevMode ? [{ debugName: "resolvedTrackBy" }] : /* istanbul ignore next */ []));
|
|
9099
|
+
hostClasses = computed(() => {
|
|
9100
|
+
const classes = [];
|
|
9101
|
+
if (this.scrollable())
|
|
9102
|
+
classes.push('tls-table-container--scrollable');
|
|
9103
|
+
const collapseAt = this.collapseAt();
|
|
9104
|
+
if (collapseAt)
|
|
9105
|
+
classes.push(`tls-table-container--collapse-${collapseAt}`);
|
|
9106
|
+
return classes.join(' ');
|
|
9107
|
+
}, /* @ts-ignore */
|
|
9108
|
+
...(ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []));
|
|
9080
9109
|
scrollable = computed(() => this.maxHeight() !== undefined, /* @ts-ignore */
|
|
9081
9110
|
...(ngDevMode ? [{ debugName: "scrollable" }] : /* istanbul ignore next */ []));
|
|
9082
9111
|
classes = computed(() => {
|
|
@@ -9097,6 +9126,17 @@ class Table {
|
|
|
9097
9126
|
// no operation
|
|
9098
9127
|
},
|
|
9099
9128
|
};
|
|
9129
|
+
// Protected methods
|
|
9130
|
+
/**
|
|
9131
|
+
* Reads a column's value off a row by key.
|
|
9132
|
+
*
|
|
9133
|
+
* Columns address their data by string key while the row type stays the
|
|
9134
|
+
* caller's own, so the index has to be widened here — confined to this one
|
|
9135
|
+
* place rather than pushed onto every consumer's cell template.
|
|
9136
|
+
*/
|
|
9137
|
+
cellValue(row, key) {
|
|
9138
|
+
return row[key];
|
|
9139
|
+
}
|
|
9100
9140
|
// Private methods
|
|
9101
9141
|
_mapContentColumns(columns) {
|
|
9102
9142
|
return columns.map((column) => this._mapContentColumn(column));
|
|
@@ -9112,13 +9152,16 @@ class Table {
|
|
|
9112
9152
|
const width = column.width();
|
|
9113
9153
|
if (width !== undefined)
|
|
9114
9154
|
definition.width = width;
|
|
9155
|
+
const collapse = column.collapse();
|
|
9156
|
+
if (collapse !== undefined)
|
|
9157
|
+
definition.collapse = collapse;
|
|
9115
9158
|
const template = column.template();
|
|
9116
9159
|
if (template !== undefined)
|
|
9117
9160
|
definition.template = template;
|
|
9118
9161
|
return definition;
|
|
9119
9162
|
}
|
|
9120
9163
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Table, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9121
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: Table, isStandalone: true, selector: "tls-table", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null }, columnDefinitions: { classPropertyName: "columnDefinitions", publicName: "columnDefinitions", isSignal: true, isRequired: false, transformFunction: null }, hideHeader: { classPropertyName: "hideHeader", publicName: "hideHeader", isSignal: true, isRequired: false, transformFunction: null }, striped: { classPropertyName: "striped", publicName: "striped", isSignal: true, isRequired: false, transformFunction: null }, trackBy: { classPropertyName: "trackBy", publicName: "trackBy", isSignal: true, isRequired: false, transformFunction: null }, maxHeight: { classPropertyName: "maxHeight", publicName: "maxHeight", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledby: { classPropertyName: "ariaLabelledby", publicName: "ariaLabelledby", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.tls-table-container--scrollable": "scrollable()", "style.max-height.px": "maxHeight() ?? null" }, classAttribute: "tls-table-container" }, queries: [{ propertyName: "tableColumns", predicate: TableColumn, isSignal: true }], ngImport: i0, template: "<table\n cdk-table\n [class]=\"classes()\"\n [dataSource]=\"dataSource\"\n [trackBy]=\"resolvedTrackBy()\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n>\n @for (column of effectiveColumnDefinitions(); track column.key) {\n <ng-container [cdkColumnDef]=\"column.key\">\n <!-- Header cell -->\n <th cdk-header-cell *cdkHeaderCellDef class=\"tls-table__header-cell\" [style.width]=\"column.width + 'px'\">\n {{ column.header }}\n </th>\n\n <!-- Row cell -->\n <td\n cdk-cell\n *cdkCellDef=\"let data; let index = index; let count = count; let first = first; let last = last; let even = even; let odd = odd\"\n class=\"tls-table__cell\"\n [style.text-align]=\"column.alignment\"\n >\n @if (column.template) {\n <ng-container\n [ngTemplateOutlet]=\"column.template\"\n [ngTemplateOutletContext]=\"{\n $implicit: data[column.key],\n data: data,\n index: index,\n count: count,\n first: first,\n last: last,\n even: even,\n odd: odd\n }\"\n />\n } @else {\n {{ data[column.key] }}\n }\n </td>\n </ng-container>\n }\n\n <tr cdk-header-row *cdkHeaderRowDef=\"columns(); sticky: scrollable()\" class=\"tls-table__header-row\"></tr>\n\n <tr *cdkRowDef=\"let row; columns: columns()\" cdk-row class=\"tls-table__row\"></tr>\n</table>\n", styles: [":host{display:block}:host.tls-table-container--scrollable{overflow-y:auto;overscroll-behavior:contain}\n"], dependencies: [{ kind: "component", type: CdkTable, selector: "cdk-table, table[cdk-table]", inputs: ["trackBy", "dataSource", "multiTemplateDataRows", "fixedLayout", "recycleRows"], outputs: ["contentChanged"], exportAs: ["cdkTable"] }, { kind: "directive", type: CdkHeaderCell, selector: "cdk-header-cell, th[cdk-header-cell]" }, { kind: "directive", type: CdkCell, selector: "cdk-cell, td[cdk-cell]" }, { kind: "directive", type: CdkCellDef, selector: "[cdkCellDef]" }, { kind: "directive", type: CdkHeaderCellDef, selector: "[cdkHeaderCellDef]" }, { kind: "directive", type: CdkColumnDef, selector: "[cdkColumnDef]", inputs: ["cdkColumnDef", "sticky", "stickyEnd"] }, { kind: "component", type: CdkHeaderRow, selector: "cdk-header-row, tr[cdk-header-row]" }, { kind: "directive", type: CdkHeaderRowDef, selector: "[cdkHeaderRowDef]", inputs: ["cdkHeaderRowDef", "cdkHeaderRowDefSticky"] }, { kind: "component", type: CdkRow, selector: "cdk-row, tr[cdk-row]" }, { kind: "directive", type: CdkRowDef, selector: "[cdkRowDef]", inputs: ["cdkRowDefColumns", "cdkRowDefWhen"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
9164
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: Table, isStandalone: true, selector: "tls-table", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null }, columnDefinitions: { classPropertyName: "columnDefinitions", publicName: "columnDefinitions", isSignal: true, isRequired: false, transformFunction: null }, hideHeader: { classPropertyName: "hideHeader", publicName: "hideHeader", isSignal: true, isRequired: false, transformFunction: null }, striped: { classPropertyName: "striped", publicName: "striped", isSignal: true, isRequired: false, transformFunction: null }, trackBy: { classPropertyName: "trackBy", publicName: "trackBy", isSignal: true, isRequired: false, transformFunction: null }, maxHeight: { classPropertyName: "maxHeight", publicName: "maxHeight", isSignal: true, isRequired: false, transformFunction: null }, collapseAt: { classPropertyName: "collapseAt", publicName: "collapseAt", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledby: { classPropertyName: "ariaLabelledby", publicName: "ariaLabelledby", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "hostClasses()", "style.max-height.px": "maxHeight() ?? null" }, classAttribute: "tls-table-container" }, queries: [{ propertyName: "tableColumns", predicate: TableColumn, isSignal: true }], ngImport: i0, template: "<table\n cdk-table\n role=\"table\"\n [class]=\"classes()\"\n [dataSource]=\"dataSource\"\n [trackBy]=\"resolvedTrackBy()\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n>\n @for (column of effectiveColumnDefinitions(); track column.key) {\n <ng-container [cdkColumnDef]=\"column.key\">\n <!-- Header cell -->\n <th\n cdk-header-cell\n *cdkHeaderCellDef\n role=\"columnheader\"\n class=\"tls-table__header-cell\"\n [style.width]=\"column.width + 'px'\"\n >\n {{ column.header }}\n </th>\n\n <!-- Row cell -->\n <td\n cdk-cell\n *cdkCellDef=\"let data; let index = index; let count = count; let first = first; let last = last; let even = even; let odd = odd\"\n role=\"cell\"\n class=\"tls-table__cell\"\n [class.tls-table__cell--fold]=\"column.collapse === 'fold'\"\n [class.tls-table__cell--hide]=\"column.collapse === 'hide'\"\n [style.text-align]=\"column.alignment\"\n [attr.data-label]=\"column.header ?? null\"\n >\n @if (column.template) {\n <ng-container\n [ngTemplateOutlet]=\"column.template\"\n [ngTemplateOutletContext]=\"{\n $implicit: cellValue(data, column.key),\n data: data,\n index: index,\n count: count,\n first: first,\n last: last,\n even: even,\n odd: odd\n }\"\n />\n } @else {\n {{ cellValue(data, column.key) }}\n }\n </td>\n </ng-container>\n }\n\n <tr\n cdk-header-row\n *cdkHeaderRowDef=\"columns(); sticky: scrollable()\"\n role=\"row\"\n class=\"tls-table__header-row\"\n ></tr>\n\n <tr *cdkRowDef=\"let row; columns: columns()\" cdk-row role=\"row\" class=\"tls-table__row\"></tr>\n</table>\n", styles: [".tls-container{container:tls-container/inline-size;height:100%;width:100%}.tls-container__content{height:100%;max-width:1536px;margin:0 auto}@container tls-container (max-width: 1536px){.tls-container__content{max-width:1280px}}@container tls-container (max-width: 1280px){.tls-container__content{max-width:1024px}}@container tls-container (max-width: 1024px){.tls-container__content{max-width:768px}}@container tls-container (max-width: 768px){.tls-container__content{max-width:640px}}@container tls-container (max-width: 640px){.tls-container__content{padding:0 16px}}.tls-container-media{height:100%;width:100%;max-width:1536px;margin:0 auto}@media(max-width:1536px){.tls-container-media{max-width:1280px}}@media(max-width:1280px){.tls-container-media{max-width:1024px}}@media(max-width:1024px){.tls-container-media{max-width:768px}}@media(max-width:768px){.tls-container-media{max-width:640px}}@media(max-width:640px){.tls-container-media{padding:0 16px;width:auto}}.--cursor-help{cursor:help}.--cursor-pointer{cursor:pointer}.--hidden{display:none}.--f-style-normal{font-style:normal}.--f-style-italic{font-style:italic}.--f-weight-thin{font-weight:100}.--f-weight-extralight{font-weight:200}.--f-weight-light{font-weight:var(--font-weight-light)}.--f-weight-normal{font-weight:var(--font-weight-regular)}.--f-weight-medium{font-weight:var(--font-weight-medium)}.--f-weight-semibold{font-weight:var(--font-weight-semibold)}.--f-weight-bold{font-weight:var(--font-weight-bold)}.--f-weight-extrabold{font-weight:800}.--f-weight-black{font-weight:900}.--row{display:flex;flex-direction:row}.--row-reverse{display:flex;flex-direction:row-reverse}.--column{display:flex;flex-direction:column}.--column-reverse{display:flex;flex-direction:column-reverse}.--flex-wrap{flex-wrap:wrap}.--flex-nowrap{flex-wrap:nowrap}.--justify-start{justify-content:flex-start}.--justify-end{justify-content:flex-end}.--justify-center{justify-content:center}.--justify-between{justify-content:space-between}.--justify-around{justify-content:space-around}.--justify-evenly{justify-content:space-evenly}.--items-start{align-items:flex-start}.--items-end{align-items:flex-end}.--items-center{align-items:center}.--items-baseline{align-items:baseline}.--items-stretch{align-items:stretch}.--gap-1{gap:var(--spacing-1)}.--gap-2{gap:var(--spacing-2)}.--gap-3{gap:var(--spacing-3)}.--gap-4{gap:var(--spacing-4)}.--gap-5{gap:var(--spacing-5)}.--gap-6{gap:var(--spacing-6)}.--gap-7{gap:var(--spacing-7)}.--gap-8{gap:var(--spacing-8)}.--gap-9{gap:var(--spacing-9)}.--gap-10{gap:var(--spacing-10)}.--gap-11{gap:var(--spacing-11)}.--gap-12{gap:var(--spacing-12)}.--gap-13{gap:var(--spacing-13)}.--gap-14{gap:var(--spacing-14)}.--gap-15{gap:var(--spacing-15)}.--gap-16{gap:var(--spacing-16)}.--gap-17{gap:var(--spacing-17)}.--gap-18{gap:var(--spacing-18)}.--gap-19{gap:var(--spacing-19)}.--gap-20{gap:var(--spacing-20)}.--text-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-display-lg{font-size:var(--font-display-large-size);font-weight:var(--font-display-large-weight);line-height:var(--font-display-large-line-height);letter-spacing:var(--font-display-large-letter-spacing)}.text-display-md{font-size:var(--font-display-medium-size);font-weight:var(--font-display-medium-weight);line-height:var(--font-display-medium-line-height);letter-spacing:var(--font-display-medium-letter-spacing)}.text-display-sm{font-size:var(--font-display-small-size);font-weight:var(--font-display-small-weight);line-height:var(--font-display-small-line-height);letter-spacing:var(--font-display-small-letter-spacing)}h1,.text-headline-lg{font-size:var(--font-headline-large-size);font-weight:var(--font-headline-large-weight);line-height:var(--font-headline-large-line-height);letter-spacing:var(--font-headline-large-letter-spacing)}h2,.text-headline-md{font-size:var(--font-headline-medium-size);font-weight:var(--font-headline-medium-weight);line-height:var(--font-headline-medium-line-height);letter-spacing:var(--font-headline-medium-letter-spacing)}h3,.text-headline-sm{font-size:var(--font-headline-small-size);font-weight:var(--font-headline-small-weight);line-height:var(--font-headline-small-line-height);letter-spacing:var(--font-headline-small-letter-spacing)}h4,.text-title-lg{font-size:var(--font-title-large-size);font-weight:var(--font-title-large-weight);line-height:var(--font-title-large-line-height);letter-spacing:var(--font-title-large-letter-spacing)}h5,.text-title-md{font-size:var(--font-title-medium-size);font-weight:var(--font-title-medium-weight);line-height:var(--font-title-medium-line-height);letter-spacing:var(--font-title-medium-letter-spacing)}h6,.text-title-sm{font-size:var(--font-title-small-size);font-weight:var(--font-title-small-weight);line-height:var(--font-title-small-line-height);letter-spacing:var(--font-title-small-letter-spacing)}p,.text-body-lg{font-size:var(--font-body-large-size);font-weight:var(--font-body-large-weight);line-height:var(--font-body-large-line-height);letter-spacing:var(--font-body-large-letter-spacing)}.text-body-md{font-size:var(--font-body-medium-size);font-weight:var(--font-body-medium-weight);line-height:var(--font-body-medium-line-height);letter-spacing:var(--font-body-medium-letter-spacing)}small,.text-body-sm{font-size:var(--font-body-small-size);font-weight:var(--font-body-small-weight);line-height:var(--font-body-small-line-height);letter-spacing:var(--font-body-small-letter-spacing)}.text-label-lg{font-size:var(--font-label-large-size);font-weight:var(--font-label-large-weight);line-height:var(--font-label-large-line-height);letter-spacing:var(--font-label-large-letter-spacing)}.text-label-md{font-size:var(--font-label-medium-size);font-weight:var(--font-label-medium-weight);line-height:var(--font-label-medium-line-height);letter-spacing:var(--font-label-medium-letter-spacing)}.text-label-sm{font-size:var(--font-label-small-size);font-weight:var(--font-label-small-weight);line-height:var(--font-label-small-line-height);letter-spacing:var(--font-label-small-letter-spacing)}body{margin:0}ul,ol{margin:0;padding:0;list-style:none}h1,h2,h3,h4,h5,h6,p,blockquote{margin:0}button{padding:0;text-align:inherit;border:none;background-color:transparent;cursor:pointer}input,textarea{padding:0;border:0}table{border-spacing:0}hr{margin:0;border:none}a{text-decoration:none}:root{box-sizing:border-box;-webkit-text-size-adjust:100%;text-size-adjust:100%;color-scheme:light;font-family:var(--font-family-base),sans-serif;color:var(--color-on-surface);background-color:var(--color-surface)}:root.tls-dark{color-scheme:dark}*,*:before,*:after{box-sizing:inherit}button{font-family:inherit;color:inherit}img,svg{width:100%;height:100%}:host{display:block}:host.tls-table-container--scrollable{overflow-y:auto;overscroll-behavior:contain}:host[class*=tls-table-container--collapse-]{container:tls-table/inline-size}@container tls-table (max-width: 640px){:host.tls-table-container--collapse-sm .tls-table__header-row{display:none}:host.tls-table-container--collapse-sm .tls-table__row{display:block;padding-block:var(--spacing-2)}:host.tls-table-container--collapse-sm .tls-table__cell{display:block;width:auto;border-bottom:none}:host.tls-table-container--collapse-sm .tls-table__cell--fold{display:flex;gap:var(--spacing-2)}:host.tls-table-container--collapse-sm .tls-table__cell--fold:before{content:attr(data-label);color:var(--color-on-surface-variant)}:host.tls-table-container--collapse-sm .tls-table__cell--fold:not([data-label]):before{content:none}:host.tls-table-container--collapse-sm .tls-table__cell--hide{display:none}}@container tls-table (max-width: 768px){:host.tls-table-container--collapse-md .tls-table__header-row{display:none}:host.tls-table-container--collapse-md .tls-table__row{display:block;padding-block:var(--spacing-2)}:host.tls-table-container--collapse-md .tls-table__cell{display:block;width:auto;border-bottom:none}:host.tls-table-container--collapse-md .tls-table__cell--fold{display:flex;gap:var(--spacing-2)}:host.tls-table-container--collapse-md .tls-table__cell--fold:before{content:attr(data-label);color:var(--color-on-surface-variant)}:host.tls-table-container--collapse-md .tls-table__cell--fold:not([data-label]):before{content:none}:host.tls-table-container--collapse-md .tls-table__cell--hide{display:none}}@container tls-table (max-width: 1024px){:host.tls-table-container--collapse-lg .tls-table__header-row{display:none}:host.tls-table-container--collapse-lg .tls-table__row{display:block;padding-block:var(--spacing-2)}:host.tls-table-container--collapse-lg .tls-table__cell{display:block;width:auto;border-bottom:none}:host.tls-table-container--collapse-lg .tls-table__cell--fold{display:flex;gap:var(--spacing-2)}:host.tls-table-container--collapse-lg .tls-table__cell--fold:before{content:attr(data-label);color:var(--color-on-surface-variant)}:host.tls-table-container--collapse-lg .tls-table__cell--fold:not([data-label]):before{content:none}:host.tls-table-container--collapse-lg .tls-table__cell--hide{display:none}}@container tls-table (max-width: 1280px){:host.tls-table-container--collapse-xl .tls-table__header-row{display:none}:host.tls-table-container--collapse-xl .tls-table__row{display:block;padding-block:var(--spacing-2)}:host.tls-table-container--collapse-xl .tls-table__cell{display:block;width:auto;border-bottom:none}:host.tls-table-container--collapse-xl .tls-table__cell--fold{display:flex;gap:var(--spacing-2)}:host.tls-table-container--collapse-xl .tls-table__cell--fold:before{content:attr(data-label);color:var(--color-on-surface-variant)}:host.tls-table-container--collapse-xl .tls-table__cell--fold:not([data-label]):before{content:none}:host.tls-table-container--collapse-xl .tls-table__cell--hide{display:none}}@container tls-table (max-width: 1536px){:host.tls-table-container--collapse-2xl .tls-table__header-row{display:none}:host.tls-table-container--collapse-2xl .tls-table__row{display:block;padding-block:var(--spacing-2)}:host.tls-table-container--collapse-2xl .tls-table__cell{display:block;width:auto;border-bottom:none}:host.tls-table-container--collapse-2xl .tls-table__cell--fold{display:flex;gap:var(--spacing-2)}:host.tls-table-container--collapse-2xl .tls-table__cell--fold:before{content:attr(data-label);color:var(--color-on-surface-variant)}:host.tls-table-container--collapse-2xl .tls-table__cell--fold:not([data-label]):before{content:none}:host.tls-table-container--collapse-2xl .tls-table__cell--hide{display:none}}\n"], dependencies: [{ kind: "component", type: CdkTable, selector: "cdk-table, table[cdk-table]", inputs: ["trackBy", "dataSource", "multiTemplateDataRows", "fixedLayout", "recycleRows"], outputs: ["contentChanged"], exportAs: ["cdkTable"] }, { kind: "directive", type: CdkHeaderCell, selector: "cdk-header-cell, th[cdk-header-cell]" }, { kind: "directive", type: CdkCell, selector: "cdk-cell, td[cdk-cell]" }, { kind: "directive", type: CdkCellDef, selector: "[cdkCellDef]" }, { kind: "directive", type: CdkHeaderCellDef, selector: "[cdkHeaderCellDef]" }, { kind: "directive", type: CdkColumnDef, selector: "[cdkColumnDef]", inputs: ["cdkColumnDef", "sticky", "stickyEnd"] }, { kind: "component", type: CdkHeaderRow, selector: "cdk-header-row, tr[cdk-header-row]" }, { kind: "directive", type: CdkHeaderRowDef, selector: "[cdkHeaderRowDef]", inputs: ["cdkHeaderRowDef", "cdkHeaderRowDefSticky"] }, { kind: "component", type: CdkRow, selector: "cdk-row, tr[cdk-row]" }, { kind: "directive", type: CdkRowDef, selector: "[cdkRowDef]", inputs: ["cdkRowDefColumns", "cdkRowDefWhen"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
9122
9165
|
}
|
|
9123
9166
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Table, decorators: [{
|
|
9124
9167
|
type: Component,
|
|
@@ -9136,10 +9179,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
|
|
|
9136
9179
|
NgTemplateOutlet,
|
|
9137
9180
|
], host: {
|
|
9138
9181
|
class: 'tls-table-container',
|
|
9139
|
-
'[class
|
|
9182
|
+
'[class]': 'hostClasses()',
|
|
9140
9183
|
'[style.max-height.px]': 'maxHeight() ?? null',
|
|
9141
|
-
}, template: "<table\n cdk-table\n [class]=\"classes()\"\n [dataSource]=\"dataSource\"\n [trackBy]=\"resolvedTrackBy()\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n>\n @for (column of effectiveColumnDefinitions(); track column.key) {\n <ng-container [cdkColumnDef]=\"column.key\">\n <!-- Header cell -->\n <th cdk-header-cell *cdkHeaderCellDef class=\"tls-table__header-cell\" [style.width]=\"column.width + 'px'\">\n {{ column.header }}\n </th>\n\n <!-- Row cell -->\n <td\n cdk-cell\n *cdkCellDef=\"let data; let index = index; let count = count; let first = first; let last = last; let even = even; let odd = odd\"\n class=\"tls-table__cell\"\n [style.text-align]=\"column.alignment\"\n >\n @if (column.template) {\n <ng-container\n [ngTemplateOutlet]=\"column.template\"\n [ngTemplateOutletContext]=\"{\n $implicit: data[column.key],\n data: data,\n index: index,\n count: count,\n first: first,\n last: last,\n even: even,\n odd: odd\n }\"\n />\n } @else {\n {{ data[column.key] }}\n }\n </td>\n </ng-container>\n }\n\n <tr cdk-header-row *cdkHeaderRowDef=\"columns(); sticky: scrollable()\" class=\"tls-table__header-row\"></tr>\n\n <tr *cdkRowDef=\"let row; columns: columns()\" cdk-row class=\"tls-table__row\"></tr>\n</table>\n", styles: [":host{display:block}:host.tls-table-container--scrollable{overflow-y:auto;overscroll-behavior:contain}\n"] }]
|
|
9142
|
-
}], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: true }] }], columnDefinitions: [{ type: i0.Input, args: [{ isSignal: true, alias: "columnDefinitions", required: false }] }], hideHeader: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideHeader", required: false }] }], striped: [{ type: i0.Input, args: [{ isSignal: true, alias: "striped", required: false }] }], trackBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "trackBy", required: false }] }], maxHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxHeight", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledby: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledby", required: false }] }], tableColumns: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => TableColumn), { isSignal: true }] }] } });
|
|
9184
|
+
}, template: "<table\n cdk-table\n role=\"table\"\n [class]=\"classes()\"\n [dataSource]=\"dataSource\"\n [trackBy]=\"resolvedTrackBy()\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n>\n @for (column of effectiveColumnDefinitions(); track column.key) {\n <ng-container [cdkColumnDef]=\"column.key\">\n <!-- Header cell -->\n <th\n cdk-header-cell\n *cdkHeaderCellDef\n role=\"columnheader\"\n class=\"tls-table__header-cell\"\n [style.width]=\"column.width + 'px'\"\n >\n {{ column.header }}\n </th>\n\n <!-- Row cell -->\n <td\n cdk-cell\n *cdkCellDef=\"let data; let index = index; let count = count; let first = first; let last = last; let even = even; let odd = odd\"\n role=\"cell\"\n class=\"tls-table__cell\"\n [class.tls-table__cell--fold]=\"column.collapse === 'fold'\"\n [class.tls-table__cell--hide]=\"column.collapse === 'hide'\"\n [style.text-align]=\"column.alignment\"\n [attr.data-label]=\"column.header ?? null\"\n >\n @if (column.template) {\n <ng-container\n [ngTemplateOutlet]=\"column.template\"\n [ngTemplateOutletContext]=\"{\n $implicit: cellValue(data, column.key),\n data: data,\n index: index,\n count: count,\n first: first,\n last: last,\n even: even,\n odd: odd\n }\"\n />\n } @else {\n {{ cellValue(data, column.key) }}\n }\n </td>\n </ng-container>\n }\n\n <tr\n cdk-header-row\n *cdkHeaderRowDef=\"columns(); sticky: scrollable()\"\n role=\"row\"\n class=\"tls-table__header-row\"\n ></tr>\n\n <tr *cdkRowDef=\"let row; columns: columns()\" cdk-row role=\"row\" class=\"tls-table__row\"></tr>\n</table>\n", styles: [".tls-container{container:tls-container/inline-size;height:100%;width:100%}.tls-container__content{height:100%;max-width:1536px;margin:0 auto}@container tls-container (max-width: 1536px){.tls-container__content{max-width:1280px}}@container tls-container (max-width: 1280px){.tls-container__content{max-width:1024px}}@container tls-container (max-width: 1024px){.tls-container__content{max-width:768px}}@container tls-container (max-width: 768px){.tls-container__content{max-width:640px}}@container tls-container (max-width: 640px){.tls-container__content{padding:0 16px}}.tls-container-media{height:100%;width:100%;max-width:1536px;margin:0 auto}@media(max-width:1536px){.tls-container-media{max-width:1280px}}@media(max-width:1280px){.tls-container-media{max-width:1024px}}@media(max-width:1024px){.tls-container-media{max-width:768px}}@media(max-width:768px){.tls-container-media{max-width:640px}}@media(max-width:640px){.tls-container-media{padding:0 16px;width:auto}}.--cursor-help{cursor:help}.--cursor-pointer{cursor:pointer}.--hidden{display:none}.--f-style-normal{font-style:normal}.--f-style-italic{font-style:italic}.--f-weight-thin{font-weight:100}.--f-weight-extralight{font-weight:200}.--f-weight-light{font-weight:var(--font-weight-light)}.--f-weight-normal{font-weight:var(--font-weight-regular)}.--f-weight-medium{font-weight:var(--font-weight-medium)}.--f-weight-semibold{font-weight:var(--font-weight-semibold)}.--f-weight-bold{font-weight:var(--font-weight-bold)}.--f-weight-extrabold{font-weight:800}.--f-weight-black{font-weight:900}.--row{display:flex;flex-direction:row}.--row-reverse{display:flex;flex-direction:row-reverse}.--column{display:flex;flex-direction:column}.--column-reverse{display:flex;flex-direction:column-reverse}.--flex-wrap{flex-wrap:wrap}.--flex-nowrap{flex-wrap:nowrap}.--justify-start{justify-content:flex-start}.--justify-end{justify-content:flex-end}.--justify-center{justify-content:center}.--justify-between{justify-content:space-between}.--justify-around{justify-content:space-around}.--justify-evenly{justify-content:space-evenly}.--items-start{align-items:flex-start}.--items-end{align-items:flex-end}.--items-center{align-items:center}.--items-baseline{align-items:baseline}.--items-stretch{align-items:stretch}.--gap-1{gap:var(--spacing-1)}.--gap-2{gap:var(--spacing-2)}.--gap-3{gap:var(--spacing-3)}.--gap-4{gap:var(--spacing-4)}.--gap-5{gap:var(--spacing-5)}.--gap-6{gap:var(--spacing-6)}.--gap-7{gap:var(--spacing-7)}.--gap-8{gap:var(--spacing-8)}.--gap-9{gap:var(--spacing-9)}.--gap-10{gap:var(--spacing-10)}.--gap-11{gap:var(--spacing-11)}.--gap-12{gap:var(--spacing-12)}.--gap-13{gap:var(--spacing-13)}.--gap-14{gap:var(--spacing-14)}.--gap-15{gap:var(--spacing-15)}.--gap-16{gap:var(--spacing-16)}.--gap-17{gap:var(--spacing-17)}.--gap-18{gap:var(--spacing-18)}.--gap-19{gap:var(--spacing-19)}.--gap-20{gap:var(--spacing-20)}.--text-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-display-lg{font-size:var(--font-display-large-size);font-weight:var(--font-display-large-weight);line-height:var(--font-display-large-line-height);letter-spacing:var(--font-display-large-letter-spacing)}.text-display-md{font-size:var(--font-display-medium-size);font-weight:var(--font-display-medium-weight);line-height:var(--font-display-medium-line-height);letter-spacing:var(--font-display-medium-letter-spacing)}.text-display-sm{font-size:var(--font-display-small-size);font-weight:var(--font-display-small-weight);line-height:var(--font-display-small-line-height);letter-spacing:var(--font-display-small-letter-spacing)}h1,.text-headline-lg{font-size:var(--font-headline-large-size);font-weight:var(--font-headline-large-weight);line-height:var(--font-headline-large-line-height);letter-spacing:var(--font-headline-large-letter-spacing)}h2,.text-headline-md{font-size:var(--font-headline-medium-size);font-weight:var(--font-headline-medium-weight);line-height:var(--font-headline-medium-line-height);letter-spacing:var(--font-headline-medium-letter-spacing)}h3,.text-headline-sm{font-size:var(--font-headline-small-size);font-weight:var(--font-headline-small-weight);line-height:var(--font-headline-small-line-height);letter-spacing:var(--font-headline-small-letter-spacing)}h4,.text-title-lg{font-size:var(--font-title-large-size);font-weight:var(--font-title-large-weight);line-height:var(--font-title-large-line-height);letter-spacing:var(--font-title-large-letter-spacing)}h5,.text-title-md{font-size:var(--font-title-medium-size);font-weight:var(--font-title-medium-weight);line-height:var(--font-title-medium-line-height);letter-spacing:var(--font-title-medium-letter-spacing)}h6,.text-title-sm{font-size:var(--font-title-small-size);font-weight:var(--font-title-small-weight);line-height:var(--font-title-small-line-height);letter-spacing:var(--font-title-small-letter-spacing)}p,.text-body-lg{font-size:var(--font-body-large-size);font-weight:var(--font-body-large-weight);line-height:var(--font-body-large-line-height);letter-spacing:var(--font-body-large-letter-spacing)}.text-body-md{font-size:var(--font-body-medium-size);font-weight:var(--font-body-medium-weight);line-height:var(--font-body-medium-line-height);letter-spacing:var(--font-body-medium-letter-spacing)}small,.text-body-sm{font-size:var(--font-body-small-size);font-weight:var(--font-body-small-weight);line-height:var(--font-body-small-line-height);letter-spacing:var(--font-body-small-letter-spacing)}.text-label-lg{font-size:var(--font-label-large-size);font-weight:var(--font-label-large-weight);line-height:var(--font-label-large-line-height);letter-spacing:var(--font-label-large-letter-spacing)}.text-label-md{font-size:var(--font-label-medium-size);font-weight:var(--font-label-medium-weight);line-height:var(--font-label-medium-line-height);letter-spacing:var(--font-label-medium-letter-spacing)}.text-label-sm{font-size:var(--font-label-small-size);font-weight:var(--font-label-small-weight);line-height:var(--font-label-small-line-height);letter-spacing:var(--font-label-small-letter-spacing)}body{margin:0}ul,ol{margin:0;padding:0;list-style:none}h1,h2,h3,h4,h5,h6,p,blockquote{margin:0}button{padding:0;text-align:inherit;border:none;background-color:transparent;cursor:pointer}input,textarea{padding:0;border:0}table{border-spacing:0}hr{margin:0;border:none}a{text-decoration:none}:root{box-sizing:border-box;-webkit-text-size-adjust:100%;text-size-adjust:100%;color-scheme:light;font-family:var(--font-family-base),sans-serif;color:var(--color-on-surface);background-color:var(--color-surface)}:root.tls-dark{color-scheme:dark}*,*:before,*:after{box-sizing:inherit}button{font-family:inherit;color:inherit}img,svg{width:100%;height:100%}:host{display:block}:host.tls-table-container--scrollable{overflow-y:auto;overscroll-behavior:contain}:host[class*=tls-table-container--collapse-]{container:tls-table/inline-size}@container tls-table (max-width: 640px){:host.tls-table-container--collapse-sm .tls-table__header-row{display:none}:host.tls-table-container--collapse-sm .tls-table__row{display:block;padding-block:var(--spacing-2)}:host.tls-table-container--collapse-sm .tls-table__cell{display:block;width:auto;border-bottom:none}:host.tls-table-container--collapse-sm .tls-table__cell--fold{display:flex;gap:var(--spacing-2)}:host.tls-table-container--collapse-sm .tls-table__cell--fold:before{content:attr(data-label);color:var(--color-on-surface-variant)}:host.tls-table-container--collapse-sm .tls-table__cell--fold:not([data-label]):before{content:none}:host.tls-table-container--collapse-sm .tls-table__cell--hide{display:none}}@container tls-table (max-width: 768px){:host.tls-table-container--collapse-md .tls-table__header-row{display:none}:host.tls-table-container--collapse-md .tls-table__row{display:block;padding-block:var(--spacing-2)}:host.tls-table-container--collapse-md .tls-table__cell{display:block;width:auto;border-bottom:none}:host.tls-table-container--collapse-md .tls-table__cell--fold{display:flex;gap:var(--spacing-2)}:host.tls-table-container--collapse-md .tls-table__cell--fold:before{content:attr(data-label);color:var(--color-on-surface-variant)}:host.tls-table-container--collapse-md .tls-table__cell--fold:not([data-label]):before{content:none}:host.tls-table-container--collapse-md .tls-table__cell--hide{display:none}}@container tls-table (max-width: 1024px){:host.tls-table-container--collapse-lg .tls-table__header-row{display:none}:host.tls-table-container--collapse-lg .tls-table__row{display:block;padding-block:var(--spacing-2)}:host.tls-table-container--collapse-lg .tls-table__cell{display:block;width:auto;border-bottom:none}:host.tls-table-container--collapse-lg .tls-table__cell--fold{display:flex;gap:var(--spacing-2)}:host.tls-table-container--collapse-lg .tls-table__cell--fold:before{content:attr(data-label);color:var(--color-on-surface-variant)}:host.tls-table-container--collapse-lg .tls-table__cell--fold:not([data-label]):before{content:none}:host.tls-table-container--collapse-lg .tls-table__cell--hide{display:none}}@container tls-table (max-width: 1280px){:host.tls-table-container--collapse-xl .tls-table__header-row{display:none}:host.tls-table-container--collapse-xl .tls-table__row{display:block;padding-block:var(--spacing-2)}:host.tls-table-container--collapse-xl .tls-table__cell{display:block;width:auto;border-bottom:none}:host.tls-table-container--collapse-xl .tls-table__cell--fold{display:flex;gap:var(--spacing-2)}:host.tls-table-container--collapse-xl .tls-table__cell--fold:before{content:attr(data-label);color:var(--color-on-surface-variant)}:host.tls-table-container--collapse-xl .tls-table__cell--fold:not([data-label]):before{content:none}:host.tls-table-container--collapse-xl .tls-table__cell--hide{display:none}}@container tls-table (max-width: 1536px){:host.tls-table-container--collapse-2xl .tls-table__header-row{display:none}:host.tls-table-container--collapse-2xl .tls-table__row{display:block;padding-block:var(--spacing-2)}:host.tls-table-container--collapse-2xl .tls-table__cell{display:block;width:auto;border-bottom:none}:host.tls-table-container--collapse-2xl .tls-table__cell--fold{display:flex;gap:var(--spacing-2)}:host.tls-table-container--collapse-2xl .tls-table__cell--fold:before{content:attr(data-label);color:var(--color-on-surface-variant)}:host.tls-table-container--collapse-2xl .tls-table__cell--fold:not([data-label]):before{content:none}:host.tls-table-container--collapse-2xl .tls-table__cell--hide{display:none}}\n"] }]
|
|
9185
|
+
}], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: true }] }], columnDefinitions: [{ type: i0.Input, args: [{ isSignal: true, alias: "columnDefinitions", required: false }] }], hideHeader: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideHeader", required: false }] }], striped: [{ type: i0.Input, args: [{ isSignal: true, alias: "striped", required: false }] }], trackBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "trackBy", required: false }] }], maxHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxHeight", required: false }] }], collapseAt: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapseAt", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledby: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledby", required: false }] }], tableColumns: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => TableColumn), { isSignal: true }] }] } });
|
|
9143
9186
|
|
|
9144
9187
|
// A declarative content holder: the host element itself is never rendered. `tls-tabs`
|
|
9145
9188
|
// reads the captured content/header templates and renders them inside its own
|