@taiga-ui/addon-table 4.52.0-canary.6ee9658 → 4.52.0-canary.811ffeb
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/reorder/reorder.component.d.ts +6 -9
- package/components/table/directives/cell.directive.d.ts +2 -2
- package/components/table/directives/direction-order.directive.d.ts +5 -3
- package/components/table/directives/head.directive.d.ts +2 -2
- package/components/table/directives/resized.directive.d.ts +2 -1
- package/components/table/directives/sort-by.directive.d.ts +10 -6
- package/components/table/directives/sortable.directive.d.ts +5 -7
- package/components/table/directives/table.directive.d.ts +14 -10
- package/components/table/table-expand/table-expand.component.d.ts +4 -6
- package/components/table/tbody/tbody.component.d.ts +5 -8
- package/components/table/td/td.component.d.ts +3 -2
- package/components/table/th/th.component.d.ts +7 -7
- package/components/table/th-group/th-group.component.d.ts +4 -7
- package/components/table/tr/tr.component.d.ts +2 -0
- package/components/table-pagination/table-pagination.component.d.ts +10 -11
- package/directives/table-control/checkbox-row.directive.d.ts +2 -2
- package/directives/table-filters/generic-filter.directive.d.ts +2 -1
- package/directives/table-filters/table-filter.directive.d.ts +3 -3
- package/fesm2022/taiga-ui-addon-table-components-reorder.mjs +29 -37
- package/fesm2022/taiga-ui-addon-table-components-reorder.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-table-components-table-pagination.mjs +27 -42
- package/fesm2022/taiga-ui-addon-table-components-table-pagination.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-table-components-table.mjs +135 -213
- package/fesm2022/taiga-ui-addon-table-components-table.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-table-directives-table-control.mjs +9 -10
- package/fesm2022/taiga-ui-addon-table-directives-table-control.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-table-directives-table-filters.mjs +11 -16
- package/fesm2022/taiga-ui-addon-table-directives-table-filters.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,20 +1,17 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
1
|
import { type TuiContext } from '@taiga-ui/cdk/types';
|
|
3
2
|
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class TuiReorder<T> {
|
|
6
5
|
private dragging;
|
|
7
6
|
protected order: Map<number, number>;
|
|
8
|
-
protected unsortedItems: readonly T[]
|
|
7
|
+
protected readonly unsortedItems: import("@angular/core").WritableSignal<readonly T[]>;
|
|
9
8
|
protected readonly options: import("./reorder.options").TuiReorderOptions;
|
|
10
9
|
protected readonly showHideText: import("@angular/core").Signal<string>;
|
|
11
|
-
enabled: readonly T[]
|
|
12
|
-
readonly
|
|
13
|
-
readonly
|
|
14
|
-
set items(items: readonly T[]);
|
|
15
|
-
content: PolymorpheusContent<TuiContext<T> & {
|
|
10
|
+
readonly enabled: import("@angular/core").ModelSignal<readonly T[]>;
|
|
11
|
+
readonly items: import("@angular/core").ModelSignal<readonly T[]>;
|
|
12
|
+
readonly content: import("@angular/core").InputSignal<PolymorpheusContent<TuiContext<T> & {
|
|
16
13
|
index: number;
|
|
17
|
-
}
|
|
14
|
+
}>>;
|
|
18
15
|
protected onDrag(): void;
|
|
19
16
|
protected onDrop(): void;
|
|
20
17
|
protected isEnabled(item: T): boolean;
|
|
@@ -25,5 +22,5 @@ export declare class TuiReorder<T> {
|
|
|
25
22
|
private updateItems;
|
|
26
23
|
private updateEnabled;
|
|
27
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiReorder<any>, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiReorder<any>, "tui-reorder", never, { "enabled": { "alias": "enabled"; "required": false; }; "items": { "alias": "items"; "required": false; }; "content": { "alias": "content"; "required": false; }; }, { "
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiReorder<any>, "tui-reorder", never, { "enabled": { "alias": "enabled"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; }, { "enabled": "enabledChange"; "items": "itemsChange"; }, never, never, true, never>;
|
|
29
26
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TuiTableCell {
|
|
4
|
-
tuiCell: string
|
|
4
|
+
readonly tuiCell: import("@angular/core").InputSignal<string>;
|
|
5
5
|
readonly template: TemplateRef<any>;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTableCell, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTableCell, "ng-template[tuiCell]", never, { "tuiCell": { "alias": "tuiCell"; "required": false; }; }, {}, never, never, true, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTableCell, "ng-template[tuiCell]", never, { "tuiCell": { "alias": "tuiCell"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8
8
|
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class TuiTableDirectionOrder<T> {
|
|
3
3
|
private readonly table;
|
|
4
|
+
private readonly directionOrderChange$;
|
|
4
5
|
/**
|
|
5
6
|
* @deprecated: use tuiSortChange
|
|
6
7
|
*/
|
|
7
|
-
readonly directionOrderChange: import("
|
|
8
|
-
|
|
8
|
+
readonly directionOrderChange: import("@angular/core").OutputRef<"asc" | "desc">;
|
|
9
|
+
readonly directionOrder: import("@angular/core").InputSignal<"asc" | "desc" | undefined>;
|
|
10
|
+
protected readonly setTableDirection: import("@angular/core").EffectRef;
|
|
9
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTableDirectionOrder<any>, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTableDirectionOrder<any>, "table[tuiTable][tuiDirectionOrder]", never, { "directionOrder": { "alias": "directionOrder"; "required": false; }; }, { "directionOrderChange": "directionOrderChange"; }, never, never, true, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTableDirectionOrder<any>, "table[tuiTable][tuiDirectionOrder]", never, { "directionOrder": { "alias": "directionOrder"; "required": false; "isSignal": true; }; }, { "directionOrderChange": "directionOrderChange"; }, never, never, true, never>;
|
|
11
13
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TuiTableHead<T extends Partial<Record<keyof T, unknown>>> {
|
|
4
|
-
tuiHead: string | keyof T
|
|
4
|
+
readonly tuiHead: import("@angular/core").InputSignal<string | keyof T>;
|
|
5
5
|
readonly template: TemplateRef<any>;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTableHead<any>, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTableHead<any>, "[tuiHead]", never, { "tuiHead": { "alias": "tuiHead"; "required": true; }; }, {}, never, never, true, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTableHead<any>, "[tuiHead]", never, { "tuiHead": { "alias": "tuiHead"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8
8
|
}
|
|
@@ -2,7 +2,8 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class TuiTableResized {
|
|
3
3
|
private readonly doc;
|
|
4
4
|
private readonly el;
|
|
5
|
-
readonly tuiResized
|
|
5
|
+
private readonly tuiResized$;
|
|
6
|
+
readonly tuiResized: import("@angular/core").OutputRef<number>;
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTableResized, never>;
|
|
7
8
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTableResized, "[tuiResized]", never, {}, { "tuiResized": "tuiResized"; }, never, never, true, never>;
|
|
8
9
|
}
|
|
@@ -4,15 +4,19 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class TuiTableSortBy<T extends Partial<Record<keyof T, unknown>>> {
|
|
5
5
|
private readonly sortables;
|
|
6
6
|
private readonly table;
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated
|
|
9
|
+
*/
|
|
10
|
+
private readonly tuiSortByChange$;
|
|
7
11
|
/**
|
|
8
12
|
* @deprecated: use tuiSortChange
|
|
9
13
|
*/
|
|
10
|
-
readonly tuiSortByChange:
|
|
11
|
-
readonly tuiSortChange
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
protected checkSortables()
|
|
14
|
+
readonly tuiSortByChange: import("@angular/core").OutputRef<keyof T | null>;
|
|
15
|
+
readonly tuiSortChange$: Observable<TuiSortChange<T>>;
|
|
16
|
+
readonly tuiSortChange: import("@angular/core").OutputRef<TuiSortChange<T>>;
|
|
17
|
+
readonly tuiSortBy: import("@angular/core").InputSignal<string | keyof T | null>;
|
|
18
|
+
protected readonly checkSortables: import("@angular/core").EffectRef;
|
|
15
19
|
private getKey;
|
|
16
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTableSortBy<any>, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTableSortBy<any>, "table[tuiTable][tuiSortBy]", never, { "
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTableSortBy<any>, "table[tuiTable][tuiSortBy]", never, { "tuiSortBy": { "alias": "tuiSortBy"; "required": false; "isSignal": true; }; }, { "tuiSortByChange": "tuiSortByChange"; "tuiSortChange": "tuiSortChange"; }, ["sortables"], never, true, never>;
|
|
18
22
|
}
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import { type BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
-
import { type OnChanges } from '@angular/core';
|
|
3
2
|
import { type TuiComparator } from '@taiga-ui/addon-table/types';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TuiTableSortable<T extends Partial<Record<keyof T, unknown>>>
|
|
4
|
+
export declare class TuiTableSortable<T extends Partial<Record<keyof T, unknown>>> {
|
|
6
5
|
private readonly table;
|
|
7
6
|
private readonly th;
|
|
8
7
|
private readonly sortBy;
|
|
9
|
-
sortable: BooleanInput
|
|
8
|
+
readonly sortable: import("@angular/core").InputSignalWithTransform<BooleanInput, any>;
|
|
9
|
+
protected readonly setSorter: import("@angular/core").EffectRef;
|
|
10
|
+
readonly sorter: import("@angular/core").Signal<TuiComparator<T>>;
|
|
10
11
|
get key(): keyof T;
|
|
11
|
-
sorter: TuiComparator<T>;
|
|
12
|
-
ngOnChanges(): void;
|
|
13
12
|
check(): void;
|
|
14
13
|
private get match();
|
|
15
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTableSortable<any>, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTableSortable<any>, "th[tuiTh][tuiSortable]", never, { "sortable": { "alias": "tuiSortable"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
|
-
static ngAcceptInputType_sortable: any;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTableSortable<any>, "th[tuiTh][tuiSortable]", never, { "sortable": { "alias": "tuiSortable"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
18
16
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { type AfterViewInit,
|
|
1
|
+
import { type AfterViewInit, type OnChanges } from '@angular/core';
|
|
2
2
|
import { type TuiComparator } from '@taiga-ui/addon-table/types';
|
|
3
3
|
import { type TuiTextfieldOptions } from '@taiga-ui/core/components/textfield';
|
|
4
|
-
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
5
4
|
import { type Observable, Subject } from 'rxjs';
|
|
6
5
|
import { TuiSortDirection, type TuiTableSortChange } from '../table.options';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
@@ -10,27 +9,32 @@ export declare class TuiTableDirective<T extends Partial<Record<keyof T, unknown
|
|
|
10
9
|
private readonly options;
|
|
11
10
|
private readonly cdr;
|
|
12
11
|
protected readonly nothing: undefined;
|
|
13
|
-
columns:
|
|
14
|
-
direction: TuiSortDirection
|
|
12
|
+
readonly columns: import("@angular/core").InputSignal<readonly (string | keyof T)[]>;
|
|
13
|
+
readonly direction: import("@angular/core").InputSignal<TuiSortDirection>;
|
|
15
14
|
sorter: TuiComparator<T>;
|
|
16
15
|
/**
|
|
17
16
|
* @deprecated: use sortChange
|
|
18
17
|
*/
|
|
19
|
-
readonly directionChange:
|
|
18
|
+
readonly directionChange: import("@angular/core").OutputEmitterRef<TuiSortDirection>;
|
|
20
19
|
/**
|
|
21
20
|
* @deprecated: use sortChange
|
|
22
21
|
*/
|
|
23
|
-
readonly
|
|
24
|
-
|
|
22
|
+
readonly directionChange$: Observable<TuiSortDirection>;
|
|
23
|
+
/**
|
|
24
|
+
* @deprecated: use sortChange
|
|
25
|
+
*/
|
|
26
|
+
readonly sorterChange: import("@angular/core").OutputEmitterRef<TuiComparator<T> | null>;
|
|
27
|
+
readonly sorterChange$: Observable<TuiComparator<T> | null>;
|
|
28
|
+
protected readonly sortChange$: Observable<TuiTableSortChange<T>>;
|
|
29
|
+
readonly sortChange: import("@angular/core").OutputRef<TuiTableSortChange<T>>;
|
|
25
30
|
readonly appearance: import("@angular/core").WritableSignal<string>;
|
|
26
|
-
readonly size: import("@angular/core").
|
|
31
|
+
readonly size: import("@angular/core").InputSignal<"m" | "l" | "s">;
|
|
27
32
|
readonly cleaner: import("@angular/core").WritableSignal<boolean>;
|
|
28
33
|
readonly change$: Subject<void>;
|
|
29
|
-
set sizeSetter(size: TuiSizeL | TuiSizeS);
|
|
30
34
|
updateSorterAndDirection(sorter: TuiComparator<T> | null): void;
|
|
31
35
|
ngOnChanges(): void;
|
|
32
36
|
ngAfterViewInit(): void;
|
|
33
37
|
updateSorter(sorter: TuiComparator<T> | null, direction?: TuiSortDirection): void;
|
|
34
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTableDirective<any>, never>;
|
|
35
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTableDirective<any>, "table[tuiTable]", never, { "columns": { "alias": "columns"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "sorter": { "alias": "sorter"; "required": false; }; "
|
|
39
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTableDirective<any>, "table[tuiTable]", never, { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "sorter": { "alias": "sorter"; "required": false; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "directionChange": "directionChange"; "sorterChange": "sorterChange"; "sortChange": "sortChange"; }, never, never, true, [{ directive: typeof i1.TuiStuck; inputs: {}; outputs: {}; }]>;
|
|
36
40
|
}
|
|
@@ -1,20 +1,18 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
1
|
import { Subject } from 'rxjs';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
import * as i1 from "@taiga-ui/kit/directives/present";
|
|
5
4
|
export declare class TuiTableExpand {
|
|
6
|
-
private readonly content
|
|
5
|
+
private readonly content;
|
|
7
6
|
private readonly el;
|
|
8
7
|
private readonly server;
|
|
9
8
|
protected readonly transitioning: import("@angular/core").WritableSignal<boolean>;
|
|
10
9
|
protected readonly contentHeight: import("@angular/core").Signal<number>;
|
|
11
10
|
protected readonly visible$: Subject<boolean>;
|
|
12
11
|
protected readonly sub: import("rxjs").Subscription;
|
|
13
|
-
readonly
|
|
14
|
-
readonly
|
|
15
|
-
set expandedSetter(open: boolean);
|
|
12
|
+
readonly expanded: import("@angular/core").ModelSignal<boolean>;
|
|
13
|
+
protected readonly transitioningEffect: import("@angular/core").EffectRef;
|
|
16
14
|
toggle(): void;
|
|
17
15
|
private update;
|
|
18
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTableExpand, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTableExpand, "tui-table-expand", never, { "
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTableExpand, "tui-table-expand", never, { "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; }, never, ["*"], true, [{ directive: typeof i1.TuiPresent; inputs: {}; outputs: { "tuiPresentChange": "tuiPresentChange"; }; }]>;
|
|
20
18
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { EventEmitter, type QueryList } from '@angular/core';
|
|
2
1
|
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
3
2
|
import { TuiTableDirective } from '../directives/table.directive';
|
|
4
3
|
import { TuiTableTr } from '../tr/tr.component';
|
|
@@ -6,16 +5,14 @@ import * as i0 from "@angular/core";
|
|
|
6
5
|
export declare class TuiTableTbody<T extends Partial<Record<keyof T, unknown>>> {
|
|
7
6
|
private readonly options;
|
|
8
7
|
protected readonly table: TuiTableDirective<T>;
|
|
9
|
-
readonly rows:
|
|
10
|
-
data: readonly T[]
|
|
8
|
+
readonly rows: import("@angular/core").Signal<readonly TuiTableTr<T>[]>;
|
|
9
|
+
readonly data: import("@angular/core").InputSignal<readonly T[]>;
|
|
11
10
|
/** @deprecated: drop in v5.0, use TuiTableExpand */
|
|
12
|
-
heading: PolymorpheusContent
|
|
11
|
+
readonly heading: import("@angular/core").InputSignal<PolymorpheusContent>;
|
|
13
12
|
/** @deprecated: drop in v5.0, use TuiTableExpand */
|
|
14
|
-
open: boolean
|
|
15
|
-
/** @deprecated: drop in v5.0, use TuiTableExpand */
|
|
16
|
-
readonly openChange: EventEmitter<boolean>;
|
|
13
|
+
readonly open: import("@angular/core").ModelSignal<boolean>;
|
|
17
14
|
/** @deprecated: drop in v5.0, use TuiTableExpand */
|
|
18
15
|
protected onClick: () => void;
|
|
19
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTableTbody<any>, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTableTbody<any>, "tbody[tuiTbody]", never, { "data": { "alias": "data"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "open": { "alias": "open"; "required": false; }; }, { "
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTableTbody<any>, "tbody[tuiTbody]", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; }, { "open": "openChange"; }, ["rows"], ["*"], true, never>;
|
|
21
18
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { TuiControl } from '@taiga-ui/cdk/classes';
|
|
1
2
|
import { TuiTextfieldComponent } from '@taiga-ui/core/components/textfield';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class TuiTableTd {
|
|
4
|
-
protected readonly control:
|
|
5
|
-
protected readonly textfield
|
|
5
|
+
protected readonly control: import("@angular/core").Signal<TuiControl<any> | undefined>;
|
|
6
|
+
protected readonly textfield: import("@angular/core").Signal<TuiTextfieldComponent<any> | undefined>;
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTableTd, never>;
|
|
7
8
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTableTd, "th[tuiTd], td[tuiTd]", never, {}, {}, ["control", "textfield"], ["*"], true, never>;
|
|
8
9
|
}
|
|
@@ -4,14 +4,14 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class TuiTableTh<T extends Partial<Record<keyof T, unknown>>> {
|
|
5
5
|
private readonly options;
|
|
6
6
|
private readonly head;
|
|
7
|
-
protected width: number | null
|
|
7
|
+
protected readonly width: import("@angular/core").WritableSignal<number | null>;
|
|
8
8
|
protected readonly table: TuiTableDirective<T> | null;
|
|
9
|
-
minWidth: number
|
|
10
|
-
maxWidth: number
|
|
9
|
+
readonly minWidth: import("@angular/core").InputSignal<number>;
|
|
10
|
+
readonly maxWidth: import("@angular/core").InputSignal<number>;
|
|
11
11
|
sorter: TuiComparator<T> | null;
|
|
12
|
-
resizable: boolean
|
|
13
|
-
sticky: boolean
|
|
14
|
-
requiredSort: boolean
|
|
12
|
+
readonly resizable: import("@angular/core").InputSignal<boolean>;
|
|
13
|
+
readonly sticky: import("@angular/core").InputSignal<boolean>;
|
|
14
|
+
readonly requiredSort: import("@angular/core").InputSignal<boolean>;
|
|
15
15
|
get key(): keyof T;
|
|
16
16
|
protected get isCurrent(): boolean;
|
|
17
17
|
protected get icon(): string;
|
|
@@ -19,7 +19,7 @@ export declare class TuiTableTh<T extends Partial<Record<keyof T, unknown>>> {
|
|
|
19
19
|
protected onResized(width: number): void;
|
|
20
20
|
private get isCurrentAndDescDirection();
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTableTh<any>, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTableTh<any>, "th[tuiTh]", never, { "minWidth": { "alias": "minWidth"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "sorter": { "alias": "sorter"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; "requiredSort": { "alias": "requiredSort"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTableTh<any>, "th[tuiTh]", never, { "minWidth": { "alias": "minWidth"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; "sorter": { "alias": "sorter"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; "isSignal": true; }; "sticky": { "alias": "sticky"; "required": false; "isSignal": true; }; "requiredSort": { "alias": "requiredSort"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
23
23
|
}
|
|
24
24
|
export declare class TuiTableSortKeyException extends Error {
|
|
25
25
|
constructor();
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import { type AfterContentInit, type QueryList } from '@angular/core';
|
|
2
|
-
import { type Observable } from 'rxjs';
|
|
3
1
|
import { TuiTableHead } from '../directives/head.directive';
|
|
4
2
|
import { TuiTableDirective } from '../directives/table.directive';
|
|
5
3
|
import { TuiTableTh } from '../th/th.component';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class TuiTableThGroup<T extends Partial<Record<keyof T, unknown>>>
|
|
8
|
-
protected readonly th: TuiTableTh<T>;
|
|
9
|
-
protected readonly heads:
|
|
10
|
-
protected
|
|
5
|
+
export declare class TuiTableThGroup<T extends Partial<Record<keyof T, unknown>>> {
|
|
6
|
+
protected readonly th: import("@angular/core").Signal<TuiTableTh<T> | undefined>;
|
|
7
|
+
protected readonly heads: import("@angular/core").Signal<readonly TuiTableHead<T>[]>;
|
|
8
|
+
protected readonly computedHeads: import("@angular/core").Signal<Record<string | keyof T, TuiTableHead<T>>>;
|
|
11
9
|
protected readonly table: TuiTableDirective<T>;
|
|
12
|
-
ngAfterContentInit(): void;
|
|
13
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTableThGroup<any>, never>;
|
|
14
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTableThGroup<any>, "tr[tuiThGroup]", never, {}, {}, ["th", "heads"], ["*"], true, never>;
|
|
15
12
|
}
|
|
@@ -6,6 +6,8 @@ export declare class TuiTableTr<T extends Partial<Record<keyof T, unknown>>> imp
|
|
|
6
6
|
private readonly cells;
|
|
7
7
|
private readonly body;
|
|
8
8
|
private readonly contentReady$;
|
|
9
|
+
private readonly rows$;
|
|
10
|
+
private readonly contentCells$;
|
|
9
11
|
protected readonly table: TuiTableDirective<T>;
|
|
10
12
|
protected readonly height: import("@angular/core").Signal<number>;
|
|
11
13
|
protected readonly cells$: import("rxjs").Observable<Record<string | keyof T, TuiTableCell>>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
1
|
import { type TuiTablePaginationOptions } from './table-pagination.options';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export interface TuiTablePaginationEvent {
|
|
@@ -15,22 +14,22 @@ export declare class TuiTablePagination {
|
|
|
15
14
|
pages: string;
|
|
16
15
|
}>;
|
|
17
16
|
protected readonly commonIcons: import("@taiga-ui/core/tokens").TuiCommonIcons;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
readonly
|
|
17
|
+
protected readonly pages: import("@angular/core").Signal<number>;
|
|
18
|
+
protected readonly end: import("@angular/core").Signal<number>;
|
|
19
|
+
protected readonly rightDisabled: import("@angular/core").Signal<boolean>;
|
|
20
|
+
protected readonly pagination: import("@angular/core").Signal<TuiTablePaginationEvent>;
|
|
21
|
+
readonly items: import("@angular/core").InputSignal<readonly number[]>;
|
|
22
|
+
readonly total: import("@angular/core").InputSignal<number>;
|
|
23
|
+
readonly page: import("@angular/core").InputSignal<number>;
|
|
24
|
+
readonly size: import("@angular/core").InputSignal<number>;
|
|
25
|
+
readonly paginationChange: import("@angular/core").OutputEmitterRef<TuiTablePaginationEvent>;
|
|
23
26
|
onItem(size: number): void;
|
|
24
|
-
protected get pages(): number;
|
|
25
27
|
protected get showPages(): boolean;
|
|
26
28
|
protected get sizeOptionContent(): TuiTablePaginationOptions['sizeOptionContent'];
|
|
27
29
|
protected get start(): number;
|
|
28
|
-
protected get end(): number;
|
|
29
30
|
protected get leftDisabled(): boolean;
|
|
30
|
-
protected get rightDisabled(): boolean;
|
|
31
|
-
protected get pagination(): TuiTablePaginationEvent;
|
|
32
31
|
protected back(): void;
|
|
33
32
|
protected forth(): void;
|
|
34
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTablePagination, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTablePagination, "tui-table-pagination", never, { "items": { "alias": "items"; "required": false; }; "total": { "alias": "total"; "required": false; }; "page": { "alias": "page"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "paginationChange": "paginationChange"; }, never, never, true, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTablePagination, "tui-table-pagination", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "total": { "alias": "total"; "required": false; "isSignal": true; }; "page": { "alias": "page"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "paginationChange": "paginationChange"; }, never, never, true, never>;
|
|
36
35
|
}
|
|
@@ -4,10 +4,10 @@ export declare class TuiCheckboxRowDirective<T> implements OnInit, OnDestroy {
|
|
|
4
4
|
private readonly control;
|
|
5
5
|
private readonly parent;
|
|
6
6
|
protected readonly checked: import("@angular/core").Signal<boolean>;
|
|
7
|
-
tuiCheckboxRow: T
|
|
7
|
+
readonly tuiCheckboxRow: import("@angular/core").InputSignal<T>;
|
|
8
8
|
ngOnInit(): void;
|
|
9
9
|
ngOnDestroy(): void;
|
|
10
10
|
protected onChange(): void;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiCheckboxRowDirective<any>, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiCheckboxRowDirective<any>, "[tuiCheckbox][tuiCheckboxRow]", never, { "tuiCheckboxRow": { "alias": "tuiCheckboxRow"; "required":
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiCheckboxRowDirective<any>, "[tuiCheckbox][tuiCheckboxRow]", never, { "tuiCheckboxRow": { "alias": "tuiCheckboxRow"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
13
13
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { AbstractTuiTableFilter } from './abstract-table-filter';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TuiGenericFilter<T, G> extends AbstractTuiTableFilter<T, G> {
|
|
4
|
+
readonly tuiGenericFilter: import("@angular/core").InputSignal<(item: T, value: G) => boolean>;
|
|
4
5
|
filter: (item: T, value: G) => boolean;
|
|
5
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiGenericFilter<any, any>, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiGenericFilter<any, any>, "[tuiGenericFilter]", never, { "
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiGenericFilter<any, any>, "[tuiGenericFilter]", never, { "tuiGenericFilter": { "alias": "tuiGenericFilter"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7
8
|
}
|
|
@@ -7,12 +7,12 @@ export declare class TuiTableFilterDirective<T> implements OnInit, OnDestroy, Tu
|
|
|
7
7
|
private readonly delegate;
|
|
8
8
|
private readonly control;
|
|
9
9
|
protected readonly filters: TuiTableFiltersDirective<any>;
|
|
10
|
-
|
|
10
|
+
protected readonly key: import("@angular/core").Signal<string | keyof T | undefined>;
|
|
11
|
+
readonly tuiTableFilter: import("@angular/core").InputSignal<keyof T | undefined>;
|
|
11
12
|
readonly refresh$: import("rxjs").Observable<any>;
|
|
12
13
|
ngOnInit(): void;
|
|
13
14
|
ngOnDestroy(): void;
|
|
14
15
|
filter(item: T): boolean;
|
|
15
|
-
private get key();
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTableFilterDirective<any>, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTableFilterDirective<any>, "[tuiTableFilter]", never, { "tuiTableFilter": { "alias": "tuiTableFilter"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTableFilterDirective<any>, "[tuiTableFilter]", never, { "tuiTableFilter": { "alias": "tuiTableFilter"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
18
18
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { linkedSignal, inject, model, input, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
3
|
import { TUI_TABLE_SHOW_HIDE_MESSAGE } from '@taiga-ui/addon-table/tokens';
|
|
4
4
|
import { TuiButton } from '@taiga-ui/core/components/button';
|
|
5
5
|
import { TuiIcon } from '@taiga-ui/core/components/icon';
|
|
@@ -21,19 +21,22 @@ class TuiReorder {
|
|
|
21
21
|
constructor() {
|
|
22
22
|
this.dragging = false;
|
|
23
23
|
this.order = new Map();
|
|
24
|
-
this.unsortedItems =
|
|
24
|
+
this.unsortedItems = linkedSignal({
|
|
25
|
+
source: () => this.items(),
|
|
26
|
+
computation: (items, previous) => {
|
|
27
|
+
const previousUnsortedItems = previous?.value ?? [];
|
|
28
|
+
if (items.length !== previousUnsortedItems.length ||
|
|
29
|
+
!items.every((item) => previousUnsortedItems.includes(item))) {
|
|
30
|
+
return items;
|
|
31
|
+
}
|
|
32
|
+
return previousUnsortedItems;
|
|
33
|
+
},
|
|
34
|
+
});
|
|
25
35
|
this.options = inject(TUI_REORDER_OPTIONS);
|
|
26
36
|
this.showHideText = inject(TUI_TABLE_SHOW_HIDE_MESSAGE);
|
|
27
|
-
this.enabled = [];
|
|
28
|
-
this.
|
|
29
|
-
this.
|
|
30
|
-
this.content = ({ $implicit, }) => String($implicit);
|
|
31
|
-
}
|
|
32
|
-
set items(items) {
|
|
33
|
-
if (items.length !== this.unsortedItems.length ||
|
|
34
|
-
!items.every((item) => this.unsortedItems.includes(item))) {
|
|
35
|
-
this.unsortedItems = items;
|
|
36
|
-
}
|
|
37
|
+
this.enabled = model([]);
|
|
38
|
+
this.items = model([]);
|
|
39
|
+
this.content = input(({ $implicit }) => String($implicit));
|
|
37
40
|
}
|
|
38
41
|
onDrag() {
|
|
39
42
|
this.dragging = true;
|
|
@@ -46,21 +49,21 @@ class TuiReorder {
|
|
|
46
49
|
this.updateItems();
|
|
47
50
|
}
|
|
48
51
|
isEnabled(item) {
|
|
49
|
-
return this.enabled.includes(item);
|
|
52
|
+
return this.enabled().includes(item);
|
|
50
53
|
}
|
|
51
54
|
getIcon(item) {
|
|
52
55
|
return this.isEnabled(item) ? this.options.icons.hide : this.options.icons.show;
|
|
53
56
|
}
|
|
54
57
|
toggle(toggled) {
|
|
55
|
-
this.enabled
|
|
56
|
-
?
|
|
57
|
-
:
|
|
58
|
+
this.enabled.update((enabled) => this.isEnabled(toggled)
|
|
59
|
+
? enabled.filter((item) => item !== toggled)
|
|
60
|
+
: enabled.concat(toggled));
|
|
58
61
|
this.updateEnabled();
|
|
59
62
|
}
|
|
60
63
|
move(index, direction) {
|
|
61
64
|
const oldIndex = this.order.get(index) ?? index;
|
|
62
65
|
if ((!oldIndex && direction < 0) ||
|
|
63
|
-
(oldIndex === this.unsortedItems.length - 1 && direction > 0)) {
|
|
66
|
+
(oldIndex === this.unsortedItems().length - 1 && direction > 0)) {
|
|
64
67
|
return;
|
|
65
68
|
}
|
|
66
69
|
const newIndex = oldIndex + direction;
|
|
@@ -71,28 +74,27 @@ class TuiReorder {
|
|
|
71
74
|
this.updateItems();
|
|
72
75
|
}
|
|
73
76
|
getSortedItems() {
|
|
74
|
-
const
|
|
75
|
-
|
|
77
|
+
const unsortedItems = this.unsortedItems();
|
|
78
|
+
const items = Array.from({ length: unsortedItems.length });
|
|
79
|
+
unsortedItems.forEach((item, index) => {
|
|
76
80
|
items[this.order.get(index) ?? index] = item;
|
|
77
81
|
});
|
|
78
82
|
return items;
|
|
79
83
|
}
|
|
80
84
|
updateItems() {
|
|
81
|
-
this.
|
|
85
|
+
this.items.set(this.getSortedItems());
|
|
82
86
|
this.updateEnabled();
|
|
83
87
|
}
|
|
84
88
|
updateEnabled() {
|
|
85
|
-
|
|
86
|
-
this.enabled = enabled;
|
|
87
|
-
this.enabledChange.emit(enabled);
|
|
89
|
+
this.enabled.set(this.getSortedItems().filter((item) => this.isEnabled(item)));
|
|
88
90
|
}
|
|
89
91
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiReorder, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
90
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: TuiReorder, isStandalone: true, selector: "tui-reorder", inputs: { enabled: "enabled", items: "items", content: "content" }, outputs: {
|
|
92
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: TuiReorder, isStandalone: true, selector: "tui-reorder", inputs: { enabled: { classPropertyName: "enabled", publicName: "enabled", isSignal: true, isRequired: false, transformFunction: null }, items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, content: { classPropertyName: "content", publicName: "content", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { enabled: "enabledChange", items: "itemsChange" }, host: { listeners: { "focusout.stop": "(0)", "pointerdown.zoneless": "onDrag()", "document:pointerup.zoneless": "onDrop()" } }, providers: [
|
|
91
93
|
{
|
|
92
94
|
provide: TUI_TILES_REORDER,
|
|
93
95
|
useValue: tuiTilesShift,
|
|
94
96
|
},
|
|
95
|
-
], ngImport: i0, template: "<tui-tiles\n class=\"t-wrapper\"\n [(order)]=\"order\"\n>\n @for (item of unsortedItems; track item) {\n <tui-tile [style.order]=\"order.get($index)\">\n <div\n class=\"t-item\"\n [class.t-item_disabled]=\"!isEnabled(item)\"\n >\n <div\n tuiTileHandle\n class=\"t-draggable\"\n >\n <tui-icon\n class=\"t-icon\"\n [icon]=\"options.icons.drag\"\n />\n <ng-container
|
|
97
|
+
], ngImport: i0, template: "<tui-tiles\n class=\"t-wrapper\"\n [(order)]=\"order\"\n>\n @for (item of unsortedItems(); track item) {\n <tui-tile [style.order]=\"order.get($index)\">\n <div\n class=\"t-item\"\n [class.t-item_disabled]=\"!isEnabled(item)\"\n >\n <div\n tuiTileHandle\n class=\"t-draggable\"\n >\n <tui-icon\n class=\"t-icon\"\n [icon]=\"options.icons.drag\"\n />\n <ng-container\n *polymorpheusOutlet=\"content() as template; context: {$implicit: item, index: $index}\"\n >\n {{ template }}\n </ng-container>\n </div>\n <button\n appearance=\"icon\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n class=\"t-button\"\n [iconStart]=\"getIcon(item)\"\n (click)=\"toggle(item)\"\n (keydown.arrowDown.prevent)=\"move($index, 1)\"\n (keydown.arrowUp.prevent)=\"move($index, -1)\"\n >\n {{ showHideText() }}\n </button>\n </div>\n </tui-tile>\n }\n</tui-tiles>\n", styles: [":host{display:block;font:var(--tui-font-text-s);padding:.5rem 0;-webkit-user-select:none;user-select:none}.t-wrapper{grid-auto-rows:2rem}.t-draggable{cursor:ns-resize;flex:1 1 auto}.t-item{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;block-size:2rem;align-items:center;padding:0 .75rem;background:var(--tui-background-base)}.t-item_disabled{opacity:var(--tui-disabled-opacity)}.t-item_disabled .t-button{color:var(--tui-text-primary);opacity:1}.t-item:hover{background:var(--tui-background-base-alt)}.t-item:hover .t-button{opacity:1}.t-icon{margin-inline-end:.5rem;color:var(--tui-text-tertiary)}.t-icon:before{font-size:1rem}.t-button{transition-property:opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;margin-inline-start:auto;opacity:0}.t-button:focus{opacity:1}\n"], dependencies: [{ kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }, { kind: "component", type: TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "component", type: i1.TuiTilesComponent, selector: "tui-tiles", inputs: ["debounce", "order"], outputs: ["orderChange"] }, { kind: "component", type: i1.TuiTile, selector: "tui-tile", inputs: ["width", "height"] }, { kind: "directive", type: i1.TuiTileHandle, selector: "[tuiTileHandle]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
96
98
|
}
|
|
97
99
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiReorder, decorators: [{
|
|
98
100
|
type: Component,
|
|
@@ -105,18 +107,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
105
107
|
'(focusout.stop)': '(0)',
|
|
106
108
|
'(pointerdown.zoneless)': 'onDrag()',
|
|
107
109
|
'(document:pointerup.zoneless)': 'onDrop()',
|
|
108
|
-
}, template: "<tui-tiles\n class=\"t-wrapper\"\n [(order)]=\"order\"\n>\n @for (item of unsortedItems; track item) {\n <tui-tile [style.order]=\"order.get($index)\">\n <div\n class=\"t-item\"\n [class.t-item_disabled]=\"!isEnabled(item)\"\n >\n <div\n tuiTileHandle\n class=\"t-draggable\"\n >\n <tui-icon\n class=\"t-icon\"\n [icon]=\"options.icons.drag\"\n />\n <ng-container
|
|
109
|
-
}]
|
|
110
|
-
type: Input
|
|
111
|
-
}], itemsChange: [{
|
|
112
|
-
type: Output
|
|
113
|
-
}], enabledChange: [{
|
|
114
|
-
type: Output
|
|
115
|
-
}], items: [{
|
|
116
|
-
type: Input
|
|
117
|
-
}], content: [{
|
|
118
|
-
type: Input
|
|
119
|
-
}] } });
|
|
110
|
+
}, template: "<tui-tiles\n class=\"t-wrapper\"\n [(order)]=\"order\"\n>\n @for (item of unsortedItems(); track item) {\n <tui-tile [style.order]=\"order.get($index)\">\n <div\n class=\"t-item\"\n [class.t-item_disabled]=\"!isEnabled(item)\"\n >\n <div\n tuiTileHandle\n class=\"t-draggable\"\n >\n <tui-icon\n class=\"t-icon\"\n [icon]=\"options.icons.drag\"\n />\n <ng-container\n *polymorpheusOutlet=\"content() as template; context: {$implicit: item, index: $index}\"\n >\n {{ template }}\n </ng-container>\n </div>\n <button\n appearance=\"icon\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n class=\"t-button\"\n [iconStart]=\"getIcon(item)\"\n (click)=\"toggle(item)\"\n (keydown.arrowDown.prevent)=\"move($index, 1)\"\n (keydown.arrowUp.prevent)=\"move($index, -1)\"\n >\n {{ showHideText() }}\n </button>\n </div>\n </tui-tile>\n }\n</tui-tiles>\n", styles: [":host{display:block;font:var(--tui-font-text-s);padding:.5rem 0;-webkit-user-select:none;user-select:none}.t-wrapper{grid-auto-rows:2rem}.t-draggable{cursor:ns-resize;flex:1 1 auto}.t-item{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;block-size:2rem;align-items:center;padding:0 .75rem;background:var(--tui-background-base)}.t-item_disabled{opacity:var(--tui-disabled-opacity)}.t-item_disabled .t-button{color:var(--tui-text-primary);opacity:1}.t-item:hover{background:var(--tui-background-base-alt)}.t-item:hover .t-button{opacity:1}.t-icon{margin-inline-end:.5rem;color:var(--tui-text-tertiary)}.t-icon:before{font-size:1rem}.t-button{transition-property:opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;margin-inline-start:auto;opacity:0}.t-button:focus{opacity:1}\n"] }]
|
|
111
|
+
}] });
|
|
120
112
|
|
|
121
113
|
/**
|
|
122
114
|
* Generated bundle index. Do not edit.
|