@taiga-ui/layout 4.52.0-canary.e10b718 → 4.52.0-canary.eb5ffe3
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/app-bar/app-bar.component.d.ts +2 -2
- package/components/app-bar/app-bar.directive.d.ts +2 -2
- package/components/block-status/block-status.component.d.ts +3 -3
- package/components/block-status/block-status.directive.d.ts +2 -2
- package/components/card/collapsed.directive.d.ts +2 -2
- package/components/card/large.directive.d.ts +3 -2
- package/components/card/medium.directive.d.ts +2 -1
- package/components/dynamic-header/dynamic-header-anchor.directive.d.ts +1 -1
- package/components/dynamic-header/dynamic-header-container.directive.d.ts +2 -2
- package/components/form/form.directive.d.ts +3 -4
- package/components/form/form.options.d.ts +1 -1
- package/components/index.d.ts +2 -2
- package/components/input-search/input-search.component.d.ts +4 -5
- package/components/item-group/item-group.directive.d.ts +3 -3
- package/components/navigation/aside-group.component.d.ts +6 -7
- package/components/navigation/aside.component.d.ts +2 -3
- package/components/navigation/drawer.component.d.ts +3 -3
- package/components/pdf-viewer/index.d.ts +1 -0
- package/components/pdf-viewer/pdf-viewer.component.d.ts +12 -0
- package/components/search/search-filter.component.d.ts +3 -2
- package/components/search/search-filters.component.d.ts +6 -8
- package/components/surface/index.d.ts +1 -0
- package/components/surface/surface.directive.d.ts +6 -0
- package/fesm2022/taiga-ui-layout-components-app-bar.mjs +10 -18
- package/fesm2022/taiga-ui-layout-components-app-bar.mjs.map +1 -1
- package/fesm2022/taiga-ui-layout-components-block-details.mjs +6 -9
- package/fesm2022/taiga-ui-layout-components-block-details.mjs.map +1 -1
- package/fesm2022/taiga-ui-layout-components-block-status.mjs +10 -16
- package/fesm2022/taiga-ui-layout-components-block-status.mjs.map +1 -1
- package/fesm2022/taiga-ui-layout-components-card.mjs +46 -56
- package/fesm2022/taiga-ui-layout-components-card.mjs.map +1 -1
- package/fesm2022/taiga-ui-layout-components-dynamic-header.mjs +15 -17
- package/fesm2022/taiga-ui-layout-components-dynamic-header.mjs.map +1 -1
- package/fesm2022/taiga-ui-layout-components-form.mjs +32 -45
- package/fesm2022/taiga-ui-layout-components-form.mjs.map +1 -1
- package/fesm2022/taiga-ui-layout-components-input-search.mjs +11 -20
- package/fesm2022/taiga-ui-layout-components-input-search.mjs.map +1 -1
- package/fesm2022/taiga-ui-layout-components-item-group.mjs +16 -30
- package/fesm2022/taiga-ui-layout-components-item-group.mjs.map +1 -1
- package/fesm2022/taiga-ui-layout-components-navigation.mjs +41 -57
- package/fesm2022/taiga-ui-layout-components-navigation.mjs.map +1 -1
- package/fesm2022/taiga-ui-layout-components-pdf-viewer.mjs +45 -0
- package/fesm2022/taiga-ui-layout-components-pdf-viewer.mjs.map +1 -0
- package/fesm2022/taiga-ui-layout-components-search.mjs +21 -40
- package/fesm2022/taiga-ui-layout-components-search.mjs.map +1 -1
- package/fesm2022/taiga-ui-layout-components-surface.mjs +33 -0
- package/fesm2022/taiga-ui-layout-components-surface.mjs.map +1 -0
- package/fesm2022/taiga-ui-layout-components.mjs +2 -2
- package/package.json +12 -12
- package/tokens/i18n.d.ts +1 -1
- package/components/cell/cell.directive.d.ts +0 -10
- package/components/cell/cell.options.d.ts +0 -6
- package/components/cell/index.d.ts +0 -2
- package/components/header/header.directive.d.ts +0 -18
- package/components/header/index.d.ts +0 -1
- package/fesm2022/taiga-ui-layout-components-cell.mjs +0 -61
- package/fesm2022/taiga-ui-layout-components-cell.mjs.map +0 -1
- package/fesm2022/taiga-ui-layout-components-header.mjs +0 -60
- package/fesm2022/taiga-ui-layout-components-header.mjs.map +0 -1
|
@@ -5,8 +5,8 @@ export declare class TuiAppBarComponent implements AfterViewInit {
|
|
|
5
5
|
private readonly side;
|
|
6
6
|
private readonly el;
|
|
7
7
|
protected readonly width$: import("rxjs").Observable<number>;
|
|
8
|
-
size: TuiSizeL
|
|
8
|
+
readonly size: import("@angular/core").InputSignal<TuiSizeL>;
|
|
9
9
|
ngAfterViewInit(): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAppBarComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiAppBarComponent, "tui-app-bar", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, ["[tuiSlot='left']", "*", "[tuiSlot='right']"], true, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiAppBarComponent, "tui-app-bar", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["[tuiSlot='left']", "*", "[tuiSlot='right']"], true, never>;
|
|
12
12
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type TuiLooseUnion } from '@taiga-ui/cdk/types';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TuiAppBarDirective {
|
|
4
|
-
tuiSlot: TuiLooseUnion<
|
|
4
|
+
readonly tuiSlot: import("@angular/core").InputSignal<TuiLooseUnion<"left" | "right">>;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAppBarDirective, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiAppBarDirective, "[tuiSlot]", never, { "tuiSlot": { "alias": "tuiSlot"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiAppBarDirective, "[tuiSlot]", never, { "tuiSlot": { "alias": "tuiSlot"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7
7
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type TuiSizeL } from '@taiga-ui/core/types';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TuiBlockStatusComponent {
|
|
4
|
-
card: boolean
|
|
5
|
-
size: TuiSizeL
|
|
4
|
+
readonly card: import("@angular/core").InputSignal<boolean>;
|
|
5
|
+
readonly size: import("@angular/core").InputSignal<TuiSizeL>;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiBlockStatusComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiBlockStatusComponent, "tui-block-status", never, { "card": { "alias": "card"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["[tuiSlot='top']", "h1,h2,h3,h4,h5,h6", "*", "a,button,[tuiSlot='action']"], true, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiBlockStatusComponent, "tui-block-status", never, { "card": { "alias": "card"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["[tuiSlot='top']", "h1,h2,h3,h4,h5,h6", "*", "a,button,[tuiSlot='action']"], true, never>;
|
|
8
8
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type TuiLooseUnion } from '@taiga-ui/cdk/types';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TuiBlockStatusDirective {
|
|
4
|
-
tuiSlot: TuiLooseUnion<
|
|
4
|
+
readonly tuiSlot: import("@angular/core").InputSignal<TuiLooseUnion<"action" | "top">>;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiBlockStatusDirective, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiBlockStatusDirective, "[tuiSlot]", never, { "tuiSlot": { "alias": "tuiSlot"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiBlockStatusDirective, "[tuiSlot]", never, { "tuiSlot": { "alias": "tuiSlot"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class TuiCardCollapsed {
|
|
3
3
|
protected readonly nothing: undefined;
|
|
4
|
-
collapsed: boolean
|
|
4
|
+
readonly collapsed: import("@angular/core").InputSignal<boolean>;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiCardCollapsed, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiCardCollapsed, "[tuiCardCollapsed]", never, { "collapsed": { "alias": "tuiCardCollapsed"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiCardCollapsed, "[tuiCardCollapsed]", never, { "collapsed": { "alias": "tuiCardCollapsed"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7
7
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@taiga-ui/core/directives/appearance";
|
|
2
3
|
export declare class TuiCardLarge {
|
|
3
4
|
protected readonly nothing: undefined;
|
|
4
|
-
space:
|
|
5
|
+
readonly space: import("@angular/core").InputSignal<"" | "compact" | "normal">;
|
|
5
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiCardLarge, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiCardLarge, "[tuiCardLarge]", never, { "space": { "alias": "tuiCardLarge"; "required": false; }; }, {}, never, never, true,
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiCardLarge, "[tuiCardLarge]", never, { "space": { "alias": "tuiCardLarge"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiWithAppearance; inputs: {}; outputs: {}; }]>;
|
|
7
8
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@taiga-ui/core/directives/appearance";
|
|
2
3
|
export declare class TuiCardMedium {
|
|
3
4
|
protected readonly nothing: undefined;
|
|
4
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiCardMedium, never>;
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiCardMedium, "[tuiCardMedium]", never, {}, {}, never, never, true,
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiCardMedium, "[tuiCardMedium]", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiWithAppearance; inputs: {}; outputs: {}; }]>;
|
|
6
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type AfterViewInit, type OnDestroy, TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TuiDynamicHeaderAnchorDirective implements AfterViewInit, OnDestroy {
|
|
4
|
-
private readonly
|
|
4
|
+
private readonly vcr;
|
|
5
5
|
private readonly observer;
|
|
6
6
|
private readonly container;
|
|
7
7
|
readonly templateRef: TemplateRef<any>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import { TuiDynamicHeaderAnchorDirective } from './dynamic-header-anchor.directive';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@ng-web-apis/intersection-observer";
|
|
5
5
|
export declare class TuiDynamicHeaderContainerDirective {
|
|
6
6
|
private readonly el;
|
|
7
|
-
protected readonly headers:
|
|
7
|
+
protected readonly headers: import("@angular/core").Signal<readonly TuiDynamicHeaderAnchorDirective[]>;
|
|
8
8
|
hiddenHeaders: import("@angular/core").WritableSignal<TemplateRef<unknown>[]>;
|
|
9
9
|
scrollDir: import("@angular/core").Signal<1 | -1 | undefined>;
|
|
10
10
|
update(): void;
|
|
@@ -2,10 +2,9 @@ import { type TuiFormOptions } from './form.options';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "@taiga-ui/core/components/textfield";
|
|
4
4
|
export declare class TuiForm {
|
|
5
|
-
protected readonly options: TuiFormOptions;
|
|
6
5
|
protected readonly nothing: undefined;
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
protected readonly options: TuiFormOptions;
|
|
7
|
+
readonly size: import("@angular/core").InputSignal<"" | "m" | "l" | "s">;
|
|
9
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiForm, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiForm, "[tuiForm]", never, { "
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiForm, "[tuiForm]", never, { "size": { "alias": "tuiForm"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiTextfieldOptionsDirective; inputs: { "tuiTextfieldAppearance": "textfields"; "tuiTextfieldCleaner": "cleaner"; "tuiTextfieldSize": "tuiForm"; }; outputs: {}; }]>;
|
|
11
10
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
|
|
2
2
|
export interface TuiFormOptions {
|
|
3
|
-
readonly size: TuiSizeL | TuiSizeS;
|
|
3
|
+
readonly size: TuiSizeL | TuiSizeS | '';
|
|
4
4
|
}
|
|
5
5
|
export declare const TUI_FORM_OPTIONS: import("@angular/core").InjectionToken<TuiFormOptions>, tuiFormOptionsProvider: (item: Partial<TuiFormOptions> | (() => Partial<TuiFormOptions>)) => import("@angular/core").FactoryProvider;
|
package/components/index.d.ts
CHANGED
|
@@ -2,11 +2,11 @@ export * from '@taiga-ui/layout/components/app-bar';
|
|
|
2
2
|
export * from '@taiga-ui/layout/components/block-details';
|
|
3
3
|
export * from '@taiga-ui/layout/components/block-status';
|
|
4
4
|
export * from '@taiga-ui/layout/components/card';
|
|
5
|
-
export * from '@taiga-ui/layout/components/cell';
|
|
6
5
|
export * from '@taiga-ui/layout/components/dynamic-header';
|
|
7
6
|
export * from '@taiga-ui/layout/components/form';
|
|
8
|
-
export * from '@taiga-ui/layout/components/header';
|
|
9
7
|
export * from '@taiga-ui/layout/components/input-search';
|
|
10
8
|
export * from '@taiga-ui/layout/components/item-group';
|
|
11
9
|
export * from '@taiga-ui/layout/components/navigation';
|
|
10
|
+
export * from '@taiga-ui/layout/components/pdf-viewer';
|
|
12
11
|
export * from '@taiga-ui/layout/components/search';
|
|
12
|
+
export * from '@taiga-ui/layout/components/surface';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type OnChanges } from '@angular/core';
|
|
2
2
|
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@taiga-ui/core/components/textfield";
|
|
@@ -14,14 +14,13 @@ export declare class TuiInputSearch implements OnChanges {
|
|
|
14
14
|
private placeholder;
|
|
15
15
|
private ref?;
|
|
16
16
|
protected readonly icon: import("@angular/core").WritableSignal<string>;
|
|
17
|
-
tuiInputSearch: PolymorpheusContent
|
|
18
|
-
|
|
19
|
-
readonly tuiInputSearchOpenChange: EventEmitter<boolean>;
|
|
17
|
+
readonly tuiInputSearch: import("@angular/core").InputSignal<PolymorpheusContent>;
|
|
18
|
+
searchOpen: import("@angular/core").ModelSignal<boolean>;
|
|
20
19
|
ngOnChanges(): void;
|
|
21
20
|
open(): void;
|
|
22
21
|
close(): void;
|
|
23
22
|
protected onArrow(): void;
|
|
24
23
|
protected onFocus({ target }: Event): void;
|
|
25
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputSearch, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputSearch, "input[tuiInputSearch]", never, { "tuiInputSearch": { "alias": "tuiInputSearch"; "required": false; }; "
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputSearch, "input[tuiInputSearch]", never, { "tuiInputSearch": { "alias": "tuiInputSearch"; "required": false; "isSignal": true; }; "searchOpen": { "alias": "tuiInputSearchOpen"; "required": false; "isSignal": true; }; }, { "searchOpen": "tuiInputSearchOpenChange"; }, never, never, true, [{ directive: typeof i1.TuiWithTextfield; inputs: {}; outputs: {}; }]>;
|
|
27
26
|
}
|
|
@@ -3,10 +3,10 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class TuiItemGroup implements AfterViewInit {
|
|
4
4
|
private readonly el;
|
|
5
5
|
protected readonly nothing: undefined;
|
|
6
|
-
horizontal: boolean
|
|
7
|
-
autoscroll: boolean
|
|
6
|
+
readonly horizontal: import("@angular/core").InputSignal<boolean>;
|
|
7
|
+
readonly autoscroll: import("@angular/core").InputSignal<boolean>;
|
|
8
8
|
ngAfterViewInit(): void;
|
|
9
9
|
protected onClick(target: HTMLElement): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiItemGroup, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiItemGroup, "[tuiItemGroup]", never, { "horizontal": { "alias": "horizontal"; "required": false; }; "autoscroll": { "alias": "autoscroll"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiItemGroup, "[tuiItemGroup]", never, { "horizontal": { "alias": "horizontal"; "required": false; "isSignal": true; }; "autoscroll": { "alias": "autoscroll"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
12
|
}
|
|
@@ -5,16 +5,15 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
import * as i1 from "@taiga-ui/core/directives/dropdown";
|
|
6
6
|
export declare class TuiAsideGroupComponent implements TuiDataListHost<unknown> {
|
|
7
7
|
private readonly datalist;
|
|
8
|
-
private readonly chevron
|
|
8
|
+
private readonly chevron;
|
|
9
9
|
private readonly aside;
|
|
10
|
-
|
|
11
|
-
protected readonly template: TemplateRef<any> | null;
|
|
10
|
+
protected readonly template: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
12
11
|
protected readonly expanded: import("@angular/core").Signal<boolean>;
|
|
12
|
+
protected readonly chevronEffect: import("@angular/core").EffectRef;
|
|
13
13
|
protected readonly binding: import("@angular/core").Signal<PolymorpheusContent>;
|
|
14
|
-
readonly openChange: import("rxjs").Observable<boolean>;
|
|
15
14
|
readonly size = "s";
|
|
16
|
-
|
|
17
|
-
protected toggle(
|
|
15
|
+
readonly open: import("@angular/core").ModelSignal<boolean>;
|
|
16
|
+
protected toggle(): void;
|
|
18
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAsideGroupComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiAsideGroupComponent, "tui-aside-group", never, { "
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiAsideGroupComponent, "tui-aside-group", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; }, { "open": "openChange"; }, ["chevron", "template"], ["*"], true, [{ directive: typeof i1.TuiDropdownDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.TuiDropdownHover; inputs: {}; outputs: {}; }, { directive: typeof i1.TuiDropdownPositionSided; inputs: {}; outputs: {}; }, { directive: typeof i1.TuiDropdownOpen; inputs: {}; outputs: {}; }]>;
|
|
20
19
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class TuiAsideComponent {
|
|
3
|
-
readonly expanded: import("@angular/core").
|
|
4
|
-
set tuiNavigationAside(expanded: boolean);
|
|
3
|
+
readonly expanded: import("@angular/core").InputSignal<boolean>;
|
|
5
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiAsideComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiAsideComponent, "aside[tuiNavigationAside]", never, { "
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiAsideComponent, "aside[tuiNavigationAside]", never, { "expanded": { "alias": "tuiNavigationAside"; "required": false; "isSignal": true; }; }, {}, never, ["header", "*", "footer"], true, never>;
|
|
7
6
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { type DoCheck } from '@angular/core';
|
|
2
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
1
|
+
import { type DoCheck, TemplateRef } from '@angular/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
import * as i1 from "@taiga-ui/core/directives/dropdown";
|
|
5
4
|
export declare class TuiDrawerDirective implements DoCheck {
|
|
@@ -7,8 +6,9 @@ export declare class TuiDrawerDirective implements DoCheck {
|
|
|
7
6
|
private readonly icons;
|
|
8
7
|
private readonly dropdown;
|
|
9
8
|
private readonly open;
|
|
9
|
+
protected readonly template: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
10
|
+
protected readonly ef: import("@angular/core").EffectRef;
|
|
10
11
|
ngDoCheck(): void;
|
|
11
|
-
protected set template(template: PolymorpheusContent);
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDrawerDirective, never>;
|
|
13
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiDrawerDirective, "[tuiIconButton][tuiNavigationDrawer]", never, {}, {}, never, ["*"], true, [{ directive: typeof i1.TuiDropdownDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.TuiWithDropdownOpen; inputs: {}; outputs: {}; }]>;
|
|
14
14
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './pdf-viewer.component';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type TuiPopover } from '@taiga-ui/cdk/services';
|
|
2
|
+
import { type TuiDialogOptions } from '@taiga-ui/core/components/dialog';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TuiPdfViewer<O, I> {
|
|
5
|
+
protected readonly isMobile: boolean;
|
|
6
|
+
protected readonly el: HTMLElement;
|
|
7
|
+
protected readonly context: TuiPopover<TuiDialogOptions<I>, O>;
|
|
8
|
+
protected readonly close: import("@angular/core").Signal<string>;
|
|
9
|
+
protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPdfViewer<any, any>, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiPdfViewer<any, any>, "tui-pdf-viewer", never, {}, {}, never, ["[tuiTitle]", "button", "*"], true, never>;
|
|
12
|
+
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "@taiga-ui/core/directives/dropdown";
|
|
4
4
|
export declare class TuiSearchFilterComponent {
|
|
5
5
|
private readonly dropdown;
|
|
6
|
-
protected
|
|
6
|
+
protected readonly template: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
7
|
+
protected readonly ef: import("@angular/core").EffectRef;
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSearchFilterComponent, never>;
|
|
8
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiSearchFilterComponent, "button[tuiSearchFilter]", never, {}, {}, never, ["*"], true, [{ directive: typeof i1.TuiDropdownDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.TuiWithDropdownOpen; inputs: {}; outputs: {}; }]>;
|
|
9
10
|
}
|
|
@@ -1,20 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import { type TuiSizeS } from '@taiga-ui/core/types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@taiga-ui/core/components/textfield";
|
|
5
|
-
export declare class TuiSearchFiltersComponent
|
|
6
|
-
private readonly rem
|
|
7
|
-
private readonly button
|
|
8
|
-
private readonly children;
|
|
5
|
+
export declare class TuiSearchFiltersComponent {
|
|
6
|
+
private readonly rem;
|
|
7
|
+
private readonly button;
|
|
9
8
|
private readonly controls;
|
|
10
|
-
protected readonly templates:
|
|
9
|
+
protected readonly templates: import("@angular/core").Signal<readonly TemplateRef<any>[]>;
|
|
11
10
|
protected readonly overflown: import("@angular/core").Signal<number>;
|
|
12
11
|
protected readonly enabled: import("@angular/core").Signal<boolean>;
|
|
13
12
|
size: TuiSizeS;
|
|
14
|
-
ngAfterContentInit(): void;
|
|
15
13
|
protected onReset(): void;
|
|
16
14
|
private get unit();
|
|
17
15
|
private get more();
|
|
18
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSearchFiltersComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiSearchFiltersComponent, "tui-search-filters", never, { "size": { "alias": "size"; "required": false; }; }, {}, ["
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiSearchFiltersComponent, "tui-search-filters", never, { "size": { "alias": "size"; "required": false; }; }, {}, ["controls", "templates"], ["*"], true, [{ directive: typeof i1.TuiTextfieldOptionsDirective; inputs: { "tuiTextfieldSize": "size"; }; outputs: {}; }]>;
|
|
20
18
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './surface.directive';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TuiSurface {
|
|
3
|
+
protected readonly nothing: undefined;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSurface, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiSurface, "[tuiSurface]", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { AsyncPipe } from '@angular/common';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import {
|
|
3
|
+
import { viewChildren, inject, input, ChangeDetectionStrategy, ViewEncapsulation, Component, Directive } from '@angular/core';
|
|
4
4
|
import { MutationObserverService, WA_MUTATION_OBSERVER_INIT } from '@ng-web-apis/mutation-observer';
|
|
5
5
|
import { ResizeObserverService } from '@ng-web-apis/resize-observer';
|
|
6
|
-
import { EMPTY_QUERY } from '@taiga-ui/cdk/constants';
|
|
7
6
|
import { tuiZonefull } from '@taiga-ui/cdk/observables';
|
|
8
7
|
import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
|
|
9
8
|
import { TuiFade } from '@taiga-ui/kit/directives/fade';
|
|
@@ -35,37 +34,32 @@ const TUI_APP_BAR_PROVIDERS = [
|
|
|
35
34
|
|
|
36
35
|
class TuiAppBarComponent {
|
|
37
36
|
constructor() {
|
|
38
|
-
this.side =
|
|
37
|
+
this.side = viewChildren('side');
|
|
39
38
|
this.el = tuiInjectElement();
|
|
40
39
|
this.width$ = merge(inject(ResizeObserverService, { self: true }), inject(MutationObserverService, { self: true })).pipe(tuiZonefull(), map(() => 2 *
|
|
41
|
-
Math.max(this.side
|
|
42
|
-
this.size = 'm';
|
|
40
|
+
Math.max(this.side()[0]?.nativeElement.clientWidth ?? 0, this.side()[this.side().length - 1]?.nativeElement.clientWidth ?? 0)));
|
|
41
|
+
this.size = input('m');
|
|
43
42
|
}
|
|
44
43
|
// TODO: Remove after :has support
|
|
45
44
|
ngAfterViewInit() {
|
|
46
45
|
this.el.closest('tui-dialog')?.classList.add('tui-app-bar');
|
|
47
46
|
}
|
|
48
47
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiAppBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
49
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
48
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.15", type: TuiAppBarComponent, isStandalone: true, selector: "tui-app-bar", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-size": "size()" } }, providers: TUI_APP_BAR_PROVIDERS, viewQueries: [{ propertyName: "side", predicate: ["side"], descendants: true, isSignal: true }], ngImport: i0, template: "<div #side>\n <ng-content select=\"[tuiSlot='left']\" />\n</div>\n<div\n tuiFade\n class=\"t-content\"\n [style.--t-sides.px]=\"width$ | async\"\n>\n <ng-content />\n</div>\n<div #side>\n <ng-content select=\"[tuiSlot='right']\" />\n</div>\n", styles: ["tui-app-bar{position:relative;display:flex;block-size:2.75rem;align-items:center;justify-content:space-between;box-sizing:border-box;font:var(--tui-font-text-m);font-weight:700;text-align:center;color:var(--tui-text-primary);background:var(--tui-background-base);background:color-mix(in hsl,var(--tui-background-base) 80%,transparent);-webkit-backdrop-filter:blur(2rem);backdrop-filter:blur(2rem)}tui-app-bar>.t-content{left:50%;transform:translate(-50%);position:absolute;display:flex;block-size:100%;max-inline-size:calc(100% - var(--t-sides, 0px));inline-size:calc(100% - var(--t-sides, 0px));flex-direction:column;justify-content:center;flex:1;padding:0 .375rem;box-sizing:border-box;text-align:inherit;white-space:nowrap}tui-app-bar>.t-content progress{margin:auto}tui-app-bar>:last-child [tuiIconButton]{margin:0 -.375rem}tui-app-bar>:last-child [tuiIconButton]:last-child{margin-inline-end:0}tui-app-bar>:last-child [tuiIconButton]:only-child{margin:0}tui-app-bar [tuiButton][data-size=l]{font-weight:400;margin:0 -.25rem}tui-app-bar [tuiTitle]{text-align:inherit;font:inherit}tui-app-bar [tuiSubtitle]{color:var(--tui-text-secondary)}tui-app-bar[data-size=m] [tuiTitle]{line-height:1.2em;gap:0}tui-app-bar[data-size=l]{block-size:4rem}tui-app-bar[data-size=l]>:first-child,tui-app-bar[data-size=l]>:last-child{margin:0 -1em}tui-app-bar [tuiProgressBar]{inline-size:8.75rem}tui-dialog tui-app-bar[data-size=l]{margin:-3rem 0 2rem}tui-dialog tui-app-bar[data-size=m]{margin:-1rem -1rem .75rem}tui-sheet-dialog tui-app-bar{margin:-.75rem -1rem;block-size:3.5rem;background:none;-webkit-backdrop-filter:none;backdrop-filter:none}tui-sheet-dialog[data-appearance=fullscreen] tui-app-bar{margin:0 -1rem}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: TuiFade, selector: "[tuiFade]", inputs: ["tuiFadeHeight", "tuiFadeSize", "tuiFadeOffset", "tuiFade"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
50
49
|
}
|
|
51
50
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiAppBarComponent, decorators: [{
|
|
52
51
|
type: Component,
|
|
53
52
|
args: [{ selector: 'tui-app-bar', imports: [AsyncPipe, TuiFade], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: TUI_APP_BAR_PROVIDERS, host: {
|
|
54
|
-
'[attr.data-size]': 'size',
|
|
53
|
+
'[attr.data-size]': 'size()',
|
|
55
54
|
}, template: "<div #side>\n <ng-content select=\"[tuiSlot='left']\" />\n</div>\n<div\n tuiFade\n class=\"t-content\"\n [style.--t-sides.px]=\"width$ | async\"\n>\n <ng-content />\n</div>\n<div #side>\n <ng-content select=\"[tuiSlot='right']\" />\n</div>\n", styles: ["tui-app-bar{position:relative;display:flex;block-size:2.75rem;align-items:center;justify-content:space-between;box-sizing:border-box;font:var(--tui-font-text-m);font-weight:700;text-align:center;color:var(--tui-text-primary);background:var(--tui-background-base);background:color-mix(in hsl,var(--tui-background-base) 80%,transparent);-webkit-backdrop-filter:blur(2rem);backdrop-filter:blur(2rem)}tui-app-bar>.t-content{left:50%;transform:translate(-50%);position:absolute;display:flex;block-size:100%;max-inline-size:calc(100% - var(--t-sides, 0px));inline-size:calc(100% - var(--t-sides, 0px));flex-direction:column;justify-content:center;flex:1;padding:0 .375rem;box-sizing:border-box;text-align:inherit;white-space:nowrap}tui-app-bar>.t-content progress{margin:auto}tui-app-bar>:last-child [tuiIconButton]{margin:0 -.375rem}tui-app-bar>:last-child [tuiIconButton]:last-child{margin-inline-end:0}tui-app-bar>:last-child [tuiIconButton]:only-child{margin:0}tui-app-bar [tuiButton][data-size=l]{font-weight:400;margin:0 -.25rem}tui-app-bar [tuiTitle]{text-align:inherit;font:inherit}tui-app-bar [tuiSubtitle]{color:var(--tui-text-secondary)}tui-app-bar[data-size=m] [tuiTitle]{line-height:1.2em;gap:0}tui-app-bar[data-size=l]{block-size:4rem}tui-app-bar[data-size=l]>:first-child,tui-app-bar[data-size=l]>:last-child{margin:0 -1em}tui-app-bar [tuiProgressBar]{inline-size:8.75rem}tui-dialog tui-app-bar[data-size=l]{margin:-3rem 0 2rem}tui-dialog tui-app-bar[data-size=m]{margin:-1rem -1rem .75rem}tui-sheet-dialog tui-app-bar{margin:-.75rem -1rem;block-size:3.5rem;background:none;-webkit-backdrop-filter:none;backdrop-filter:none}tui-sheet-dialog[data-appearance=fullscreen] tui-app-bar{margin:0 -1rem}\n"] }]
|
|
56
|
-
}]
|
|
57
|
-
type: ViewChildren,
|
|
58
|
-
args: ['side']
|
|
59
|
-
}], size: [{
|
|
60
|
-
type: Input
|
|
61
|
-
}] } });
|
|
55
|
+
}] });
|
|
62
56
|
|
|
63
57
|
class TuiAppBarDirective {
|
|
64
58
|
constructor() {
|
|
65
|
-
this.tuiSlot = 'left';
|
|
59
|
+
this.tuiSlot = input('left');
|
|
66
60
|
}
|
|
67
61
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiAppBarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
68
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
62
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.15", type: TuiAppBarDirective, isStandalone: true, selector: "[tuiSlot]", inputs: { tuiSlot: { classPropertyName: "tuiSlot", publicName: "tuiSlot", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
69
63
|
}
|
|
70
64
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiAppBarDirective, decorators: [{
|
|
71
65
|
type: Directive,
|
|
@@ -73,9 +67,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
73
67
|
standalone: true,
|
|
74
68
|
selector: '[tuiSlot]',
|
|
75
69
|
}]
|
|
76
|
-
}]
|
|
77
|
-
type: Input
|
|
78
|
-
}] } });
|
|
70
|
+
}] });
|
|
79
71
|
|
|
80
72
|
class TuiAppBarBack {
|
|
81
73
|
constructor() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-layout-components-app-bar.mjs","sources":["../../../projects/layout/components/app-bar/app-bar.providers.ts","../../../projects/layout/components/app-bar/app-bar.component.ts","../../../projects/layout/components/app-bar/app-bar.template.html","../../../projects/layout/components/app-bar/app-bar.directive.ts","../../../projects/layout/components/app-bar/app-bar-back.component.ts","../../../projects/layout/components/app-bar/app-bar-back.template.html","../../../projects/layout/components/app-bar/app-bar-size.directive.ts","../../../projects/layout/components/app-bar/app-bar.ts","../../../projects/layout/components/app-bar/taiga-ui-layout-components-app-bar.ts"],"sourcesContent":["import {type Provider} from '@angular/core';\nimport {\n MutationObserverService,\n WA_MUTATION_OBSERVER_INIT,\n} from '@ng-web-apis/mutation-observer';\nimport {ResizeObserverService} from '@ng-web-apis/resize-observer';\nimport {tuiButtonOptionsProvider} from '@taiga-ui/core/components/button';\n\nexport const TUI_APP_BAR_PROVIDERS: Provider[] = [\n ResizeObserverService,\n MutationObserverService,\n {\n provide: WA_MUTATION_OBSERVER_INIT,\n useValue: {\n characterData: true,\n childList: true,\n subtree: true,\n },\n },\n tuiButtonOptionsProvider({\n appearance: 'action',\n }),\n];\n","import {AsyncPipe} from '@angular/common';\nimport {\n type AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n type ElementRef,\n inject,\n Input,\n type QueryList,\n ViewChildren,\n ViewEncapsulation,\n} from '@angular/core';\nimport {MutationObserverService} from '@ng-web-apis/mutation-observer';\nimport {ResizeObserverService} from '@ng-web-apis/resize-observer';\nimport {EMPTY_QUERY} from '@taiga-ui/cdk/constants';\nimport {tuiZonefull} from '@taiga-ui/cdk/observables';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {type TuiSizeL} from '@taiga-ui/core/types';\nimport {TuiFade} from '@taiga-ui/kit/directives/fade';\nimport {map, merge} from 'rxjs';\n\nimport {TUI_APP_BAR_PROVIDERS} from './app-bar.providers';\n\n@Component({\n selector: 'tui-app-bar',\n imports: [AsyncPipe, TuiFade],\n templateUrl: './app-bar.template.html',\n styleUrls: ['./app-bar.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: TUI_APP_BAR_PROVIDERS,\n host: {\n '[attr.data-size]': 'size',\n },\n})\nexport class TuiAppBarComponent implements AfterViewInit {\n @ViewChildren('side')\n private readonly side: QueryList<ElementRef<HTMLElement>> = EMPTY_QUERY;\n\n private readonly el = tuiInjectElement();\n\n protected readonly width$ = merge(\n inject(ResizeObserverService, {self: true}),\n inject(MutationObserverService, {self: true}),\n ).pipe(\n tuiZonefull(),\n map(\n () =>\n 2 *\n Math.max(\n this.side.first?.nativeElement.clientWidth,\n this.side.last?.nativeElement.clientWidth,\n ),\n ),\n );\n\n @Input()\n public size: TuiSizeL = 'm';\n\n // TODO: Remove after :has support\n public ngAfterViewInit(): void {\n this.el.closest('tui-dialog')?.classList.add('tui-app-bar');\n }\n}\n","<div #side>\n <ng-content select=\"[tuiSlot='left']\" />\n</div>\n<div\n tuiFade\n class=\"t-content\"\n [style.--t-sides.px]=\"width$ | async\"\n>\n <ng-content />\n</div>\n<div #side>\n <ng-content select=\"[tuiSlot='right']\" />\n</div>\n","import {Directive, Input} from '@angular/core';\nimport {type TuiLooseUnion} from '@taiga-ui/cdk/types';\n\n@Directive({\n standalone: true,\n selector: '[tuiSlot]',\n})\nexport class TuiAppBarDirective {\n @Input()\n public tuiSlot: TuiLooseUnion<'left' | 'right'> = 'left';\n}\n","import {ChangeDetectionStrategy, Component, inject} from '@angular/core';\nimport {TuiIcon} from '@taiga-ui/core/components/icon';\nimport {\n type TuiAppearanceOptions,\n tuiAppearanceOptionsProvider,\n TuiWithAppearance,\n} from '@taiga-ui/core/directives/appearance';\nimport {TUI_SPIN_ICONS} from '@taiga-ui/core/tokens';\n\n@Component({\n selector: 'button[tuiAppBarBack], a[tuiAppBarBack]',\n imports: [TuiIcon],\n templateUrl: './app-bar-back.template.html',\n styleUrls: ['./app-bar-back.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [tuiAppearanceOptionsProvider(TuiAppBarBack)],\n hostDirectives: [TuiWithAppearance],\n})\nexport class TuiAppBarBack implements TuiAppearanceOptions {\n protected readonly icons = inject(TUI_SPIN_ICONS);\n\n public readonly appearance = 'link';\n}\n","<svg\n height=\"24\"\n viewBox=\"0 0 24 24\"\n width=\"24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"t-ios\"\n>\n <path\n d=\"M7.44025 12L14.9826 4.43872C15.5391 3.88083 15.5391 2.97631 14.9826 2.41842C14.4261 1.86053 13.5239 1.86053 12.9674 2.41842L4.41737 10.9898C3.86088 11.5477 3.86088 12.4523 4.41737 13.0102L12.9674 21.5816C13.5239 22.1395 14.4261 22.1395 14.9826 21.5816C15.5391 21.0237 15.5391 20.1192 14.9826 19.5613L7.44025 12Z\"\n fill=\"currentColor\"\n />\n</svg>\n<svg\n height=\"24\"\n viewBox=\"0 0 24 24\"\n width=\"24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"t-android\"\n>\n <path\n d=\"M19.6999 11.5899C19.6999 11.0377 19.2522 10.5899 18.6999 10.5899H7.49992L12.3999 5.68995C12.7865 5.30335 12.7865 4.67655 12.3999 4.28995V4.28995C12.0133 3.90335 11.3865 3.90335 10.9999 4.28995L4.40703 10.8828C4.0165 11.2734 4.01651 11.9065 4.40703 12.2971L10.9999 18.89C11.3865 19.2765 12.0133 19.2765 12.3999 18.8899V18.8899C12.7865 18.5034 12.7865 17.8765 12.3999 17.49L7.49992 12.5899H18.6999C19.2522 12.5899 19.6999 12.1422 19.6999 11.5899V11.5899Z\"\n fill=\"currentColor\"\n />\n</svg>\n<tui-icon\n class=\"t-web\"\n [icon]=\"icons.decrement\"\n/>\n<ng-content />\n","import {Directive, inject} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {tuiDirectiveBinding} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiBreakpointService} from '@taiga-ui/core/services';\nimport {map} from 'rxjs';\n\nimport {TuiAppBarComponent} from './app-bar.component';\n\n// TODO: Make size automatic based on tuiPlatform in v5\n@Directive({\n standalone: true,\n selector: 'tui-app-bar[tuiAppBarSize]',\n})\nexport class TuiAppBarSizeDirective {\n protected readonly size = tuiDirectiveBinding(\n TuiAppBarComponent,\n 'size',\n toSignal(\n inject(TuiBreakpointService).pipe(\n map((breakpoint) => (breakpoint === 'mobile' ? 'm' : 'l')),\n ),\n {initialValue: 'm' as const},\n ),\n );\n}\n","import {TuiAppBarComponent} from './app-bar.component';\nimport {TuiAppBarDirective} from './app-bar.directive';\nimport {TuiAppBarBack} from './app-bar-back.component';\nimport {TuiAppBarSizeDirective} from './app-bar-size.directive';\n\nexport const TuiAppBar = [\n TuiAppBarComponent,\n TuiAppBarDirective,\n TuiAppBarBack,\n TuiAppBarSizeDirective,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAQa,MAAA,qBAAqB,GAAe;IAC7C,qBAAqB;IACrB,uBAAuB;AACvB,IAAA;AACI,QAAA,OAAO,EAAE,yBAAyB;AAClC,QAAA,QAAQ,EAAE;AACN,YAAA,aAAa,EAAE,IAAI;AACnB,YAAA,SAAS,EAAE,IAAI;AACf,YAAA,OAAO,EAAE,IAAI;AAChB,SAAA;AACJ,KAAA;AACD,IAAA,wBAAwB,CAAC;AACrB,QAAA,UAAU,EAAE,QAAQ;KACvB,CAAC;;;MCcO,kBAAkB,CAAA;AAZ/B,IAAA,WAAA,GAAA;QAcqB,IAAI,CAAA,IAAA,GAAuC,WAAW;QAEtD,IAAE,CAAA,EAAA,GAAG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,KAAK,QAAQ,GAAG,GAAG,GAAG,GAAG,CAAC,CAAC,CAC7D,EACD,EAAC,YAAY,EAAE,GAAY,EAAC,CAC/B,CACJ;AACJ;+GAXY,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAtB,sBAAsB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,4BAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAJlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,4BAA4B;AACzC,iBAAA;;;ACPY,MAAA,SAAS,GAAG;IACrB,kBAAkB;IAClB,kBAAkB;IAClB,aAAa;IACb,sBAAsB;;;ACT1B;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"taiga-ui-layout-components-app-bar.mjs","sources":["../../../projects/layout/components/app-bar/app-bar.providers.ts","../../../projects/layout/components/app-bar/app-bar.component.ts","../../../projects/layout/components/app-bar/app-bar.template.html","../../../projects/layout/components/app-bar/app-bar.directive.ts","../../../projects/layout/components/app-bar/app-bar-back.component.ts","../../../projects/layout/components/app-bar/app-bar-back.template.html","../../../projects/layout/components/app-bar/app-bar-size.directive.ts","../../../projects/layout/components/app-bar/app-bar.ts","../../../projects/layout/components/app-bar/taiga-ui-layout-components-app-bar.ts"],"sourcesContent":["import {type Provider} from '@angular/core';\nimport {\n MutationObserverService,\n WA_MUTATION_OBSERVER_INIT,\n} from '@ng-web-apis/mutation-observer';\nimport {ResizeObserverService} from '@ng-web-apis/resize-observer';\nimport {tuiButtonOptionsProvider} from '@taiga-ui/core/components/button';\n\nexport const TUI_APP_BAR_PROVIDERS: Provider[] = [\n ResizeObserverService,\n MutationObserverService,\n {\n provide: WA_MUTATION_OBSERVER_INIT,\n useValue: {\n characterData: true,\n childList: true,\n subtree: true,\n },\n },\n tuiButtonOptionsProvider({\n appearance: 'action',\n }),\n];\n","import {AsyncPipe} from '@angular/common';\nimport {\n type AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n type ElementRef,\n inject,\n input,\n viewChildren,\n ViewEncapsulation,\n} from '@angular/core';\nimport {MutationObserverService} from '@ng-web-apis/mutation-observer';\nimport {ResizeObserverService} from '@ng-web-apis/resize-observer';\nimport {tuiZonefull} from '@taiga-ui/cdk/observables';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {type TuiSizeL} from '@taiga-ui/core/types';\nimport {TuiFade} from '@taiga-ui/kit/directives/fade';\nimport {map, merge} from 'rxjs';\n\nimport {TUI_APP_BAR_PROVIDERS} from './app-bar.providers';\n\n@Component({\n selector: 'tui-app-bar',\n imports: [AsyncPipe, TuiFade],\n templateUrl: './app-bar.template.html',\n styleUrl: './app-bar.style.less',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: TUI_APP_BAR_PROVIDERS,\n host: {\n '[attr.data-size]': 'size()',\n },\n})\nexport class TuiAppBarComponent implements AfterViewInit {\n private readonly side = viewChildren<ElementRef<HTMLElement>>('side');\n\n private readonly el = tuiInjectElement();\n\n protected readonly width$ = merge(\n inject(ResizeObserverService, {self: true}),\n inject(MutationObserverService, {self: true}),\n ).pipe(\n tuiZonefull(),\n map(\n () =>\n 2 *\n Math.max(\n this.side()[0]?.nativeElement.clientWidth ?? 0,\n this.side()[this.side().length - 1]?.nativeElement.clientWidth ?? 0,\n ),\n ),\n );\n\n public readonly size = input<TuiSizeL>('m');\n\n // TODO: Remove after :has support\n public ngAfterViewInit(): void {\n this.el.closest('tui-dialog')?.classList.add('tui-app-bar');\n }\n}\n","<div #side>\n <ng-content select=\"[tuiSlot='left']\" />\n</div>\n<div\n tuiFade\n class=\"t-content\"\n [style.--t-sides.px]=\"width$ | async\"\n>\n <ng-content />\n</div>\n<div #side>\n <ng-content select=\"[tuiSlot='right']\" />\n</div>\n","import {Directive, input} from '@angular/core';\nimport {type TuiLooseUnion} from '@taiga-ui/cdk/types';\n\n@Directive({\n standalone: true,\n selector: '[tuiSlot]',\n})\nexport class TuiAppBarDirective {\n public readonly tuiSlot = input<TuiLooseUnion<'left' | 'right'>>('left');\n}\n","import {ChangeDetectionStrategy, Component, inject} from '@angular/core';\nimport {TuiIcon} from '@taiga-ui/core/components/icon';\nimport {\n type TuiAppearanceOptions,\n tuiAppearanceOptionsProvider,\n TuiWithAppearance,\n} from '@taiga-ui/core/directives/appearance';\nimport {TUI_SPIN_ICONS} from '@taiga-ui/core/tokens';\n\n@Component({\n selector: 'button[tuiAppBarBack], a[tuiAppBarBack]',\n imports: [TuiIcon],\n templateUrl: './app-bar-back.template.html',\n styleUrl: './app-bar-back.style.less',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [tuiAppearanceOptionsProvider(TuiAppBarBack)],\n hostDirectives: [TuiWithAppearance],\n})\nexport class TuiAppBarBack implements TuiAppearanceOptions {\n protected readonly icons = inject(TUI_SPIN_ICONS);\n\n public readonly appearance = 'link';\n}\n","<svg\n height=\"24\"\n viewBox=\"0 0 24 24\"\n width=\"24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"t-ios\"\n>\n <path\n d=\"M7.44025 12L14.9826 4.43872C15.5391 3.88083 15.5391 2.97631 14.9826 2.41842C14.4261 1.86053 13.5239 1.86053 12.9674 2.41842L4.41737 10.9898C3.86088 11.5477 3.86088 12.4523 4.41737 13.0102L12.9674 21.5816C13.5239 22.1395 14.4261 22.1395 14.9826 21.5816C15.5391 21.0237 15.5391 20.1192 14.9826 19.5613L7.44025 12Z\"\n fill=\"currentColor\"\n />\n</svg>\n<svg\n height=\"24\"\n viewBox=\"0 0 24 24\"\n width=\"24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"t-android\"\n>\n <path\n d=\"M19.6999 11.5899C19.6999 11.0377 19.2522 10.5899 18.6999 10.5899H7.49992L12.3999 5.68995C12.7865 5.30335 12.7865 4.67655 12.3999 4.28995V4.28995C12.0133 3.90335 11.3865 3.90335 10.9999 4.28995L4.40703 10.8828C4.0165 11.2734 4.01651 11.9065 4.40703 12.2971L10.9999 18.89C11.3865 19.2765 12.0133 19.2765 12.3999 18.8899V18.8899C12.7865 18.5034 12.7865 17.8765 12.3999 17.49L7.49992 12.5899H18.6999C19.2522 12.5899 19.6999 12.1422 19.6999 11.5899V11.5899Z\"\n fill=\"currentColor\"\n />\n</svg>\n<tui-icon\n class=\"t-web\"\n [icon]=\"icons.decrement\"\n/>\n<ng-content />\n","import {Directive, inject} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {tuiDirectiveBinding} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiBreakpointService} from '@taiga-ui/core/services';\nimport {map} from 'rxjs';\n\nimport {TuiAppBarComponent} from './app-bar.component';\n\n// TODO: Make size automatic based on tuiPlatform in v5\n@Directive({\n standalone: true,\n selector: 'tui-app-bar[tuiAppBarSize]',\n})\nexport class TuiAppBarSizeDirective {\n protected readonly size = tuiDirectiveBinding(\n TuiAppBarComponent,\n 'size',\n toSignal(\n inject(TuiBreakpointService).pipe(\n map((breakpoint) => (breakpoint === 'mobile' ? 'm' : 'l')),\n ),\n {initialValue: 'm' as const},\n ),\n );\n}\n","import {TuiAppBarComponent} from './app-bar.component';\nimport {TuiAppBarDirective} from './app-bar.directive';\nimport {TuiAppBarBack} from './app-bar-back.component';\nimport {TuiAppBarSizeDirective} from './app-bar-size.directive';\n\nexport const TuiAppBar = [\n TuiAppBarComponent,\n TuiAppBarDirective,\n TuiAppBarBack,\n TuiAppBarSizeDirective,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAQa,MAAA,qBAAqB,GAAe;IAC7C,qBAAqB;IACrB,uBAAuB;AACvB,IAAA;AACI,QAAA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} from '@angular/core';
|
|
3
3
|
import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
|
|
4
4
|
|
|
5
|
-
class
|
|
6
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type:
|
|
7
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type:
|
|
5
|
+
class Styles {
|
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Styles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: Styles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-block-details" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiBlockDetails]{display:flex;flex-direction:column;align-items:center;font:var(--tui-font-heading-3);min-block-size:2rem}[tuiBlockDetails] [tuiTitle]{text-align:center;font:var(--tui-font-text-l);gap:0}[tuiBlockDetails] [tuiSubtitle],[tuiBlockDetails] [tuiDetailsStatus]{display:flex;align-items:center;gap:.25rem;font:var(--tui-font-text-m);color:var(--tui-text-secondary);margin-block-start:.25rem}:host-context(tui-root._mobile) [tuiBlockDetails] [tuiSubtitle],:host-context(tui-root._mobile) [tuiBlockDetails] [tuiDetailsStatus]{font:var(--tui-font-text-s)}[tuiBlockDetails] [tuiSubtitle]+[tuiSubtitle],[tuiBlockDetails] [tuiDetailsStatus]{margin-block-start:1rem}[tuiBlockDetails] [tuiComment]{margin-block-start:1.0625rem}[tuiBlockDetails] [tuiAccessory]{display:flex;gap:.5rem;margin-block-start:1.25rem}[tuiBlockDetails] [tuiAccessories],[tuiBlockDetails] tui-badge:only-of-type{margin-block-start:1.25rem}[tuiBlockDetails] [tuiAccessories]{display:flex;gap:.5rem}[tuiBlockDetails] [tuiAvatar],[tuiBlockDetails] [tuiTitle]{margin-block-end:1rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
8
8
|
}
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type:
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Styles, decorators: [{
|
|
10
10
|
type: Component,
|
|
11
|
-
args: [{
|
|
12
|
-
class: 'tui-block-details-styles',
|
|
13
|
-
}, styles: ["[tuiBlockDetails]{display:flex;flex-direction:column;align-items:center;font:var(--tui-font-heading-3);min-block-size:2rem}[tuiBlockDetails] [tuiTitle]{text-align:center;font:var(--tui-font-text-l);gap:0}[tuiBlockDetails] [tuiSubtitle],[tuiBlockDetails] [tuiDetailsStatus]{display:flex;align-items:center;gap:.25rem;font:var(--tui-font-text-m);color:var(--tui-text-secondary);margin-block-start:.25rem}:host-context(tui-root._mobile) [tuiBlockDetails] [tuiSubtitle],:host-context(tui-root._mobile) [tuiBlockDetails] [tuiDetailsStatus]{font:var(--tui-font-text-s)}[tuiBlockDetails] [tuiSubtitle]+[tuiSubtitle],[tuiBlockDetails] [tuiDetailsStatus]{margin-block-start:1rem}[tuiBlockDetails] [tuiComment]{margin-block-start:1.0625rem}[tuiBlockDetails] [tuiAccessory]{display:flex;gap:.5rem;margin-block-start:1.25rem}[tuiBlockDetails] [tuiAccessories],[tuiBlockDetails] tui-badge:only-of-type{margin-block-start:1.25rem}[tuiBlockDetails] [tuiAccessories]{display:flex;gap:.5rem}[tuiBlockDetails] [tuiAvatar],[tuiBlockDetails] [tuiTitle]{margin-block-end:1rem}\n"] }]
|
|
11
|
+
args: [{ template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'tui-block-details' }, styles: ["[tuiBlockDetails]{display:flex;flex-direction:column;align-items:center;font:var(--tui-font-heading-3);min-block-size:2rem}[tuiBlockDetails] [tuiTitle]{text-align:center;font:var(--tui-font-text-l);gap:0}[tuiBlockDetails] [tuiSubtitle],[tuiBlockDetails] [tuiDetailsStatus]{display:flex;align-items:center;gap:.25rem;font:var(--tui-font-text-m);color:var(--tui-text-secondary);margin-block-start:.25rem}:host-context(tui-root._mobile) [tuiBlockDetails] [tuiSubtitle],:host-context(tui-root._mobile) [tuiBlockDetails] [tuiDetailsStatus]{font:var(--tui-font-text-s)}[tuiBlockDetails] [tuiSubtitle]+[tuiSubtitle],[tuiBlockDetails] [tuiDetailsStatus]{margin-block-start:1rem}[tuiBlockDetails] [tuiComment]{margin-block-start:1.0625rem}[tuiBlockDetails] [tuiAccessory]{display:flex;gap:.5rem;margin-block-start:1.25rem}[tuiBlockDetails] [tuiAccessories],[tuiBlockDetails] tui-badge:only-of-type{margin-block-start:1.25rem}[tuiBlockDetails] [tuiAccessories]{display:flex;gap:.5rem}[tuiBlockDetails] [tuiAvatar],[tuiBlockDetails] [tuiTitle]{margin-block-end:1rem}\n"] }]
|
|
14
12
|
}] });
|
|
15
13
|
class TuiBlockDetails {
|
|
16
14
|
constructor() {
|
|
17
|
-
this.nothing = tuiWithStyles(
|
|
15
|
+
this.nothing = tuiWithStyles(Styles);
|
|
18
16
|
}
|
|
19
17
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiBlockDetails, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
20
18
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiBlockDetails, isStandalone: true, selector: "[tuiBlockDetails]", ngImport: i0 }); }
|
|
@@ -22,7 +20,6 @@ class TuiBlockDetails {
|
|
|
22
20
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiBlockDetails, decorators: [{
|
|
23
21
|
type: Directive,
|
|
24
22
|
args: [{
|
|
25
|
-
standalone: true,
|
|
26
23
|
selector: '[tuiBlockDetails]',
|
|
27
24
|
}]
|
|
28
25
|
}] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-layout-components-block-details.mjs","sources":["../../../projects/layout/components/block-details/block-details.directive.ts","../../../projects/layout/components/block-details/taiga-ui-layout-components-block-details.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\n\n@Component({\n
|
|
1
|
+
{"version":3,"file":"taiga-ui-layout-components-block-details.mjs","sources":["../../../projects/layout/components/block-details/block-details.directive.ts","../../../projects/layout/components/block-details/taiga-ui-layout-components-block-details.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\n\n@Component({\n template: '',\n styleUrl: './block-details.style.less',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'tui-block-details'},\n})\nclass Styles {}\n\n@Directive({\n selector: '[tuiBlockDetails]',\n})\nexport class TuiBlockDetails {\n protected readonly nothing = tuiWithStyles(Styles);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAQA,MAOM,MAAM,CAAA;+GAAN,MAAM,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAN,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,MAAM,uHANE,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,miCAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uB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