@taiga-ui/experimental 4.58.0 → 4.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/pdf-viewer/pdf-viewer.component.d.ts +1 -1
- package/esm2022/components/pdf-viewer/pdf-viewer.component.mjs +9 -8
- package/fesm2022/taiga-ui-experimental-components-pdf-viewer.mjs +8 -7
- package/fesm2022/taiga-ui-experimental-components-pdf-viewer.mjs.map +1 -1
- package/package.json +6 -6
|
@@ -2,7 +2,7 @@ import { type TuiPopover } from '@taiga-ui/cdk/services';
|
|
|
2
2
|
import { type TuiDialogOptions } from '@taiga-ui/core/components/dialog';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TuiPdfViewerComponent<O, I> {
|
|
5
|
-
protected readonly
|
|
5
|
+
protected readonly isMobileRes: import("@angular/core").Signal<boolean>;
|
|
6
6
|
protected readonly el: HTMLElement;
|
|
7
7
|
protected readonly context: TuiPopover<TuiDialogOptions<I>, O>;
|
|
8
8
|
protected readonly close: import("@angular/core").Signal<string | undefined>;
|
|
@@ -4,38 +4,39 @@ import { toSignal } from '@angular/core/rxjs-interop';
|
|
|
4
4
|
import { TUI_IS_MOBILE } from '@taiga-ui/cdk/tokens';
|
|
5
5
|
import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
|
|
6
6
|
import { TuiButton, tuiButtonOptionsProvider } from '@taiga-ui/core/components/button';
|
|
7
|
+
import { TuiBreakpointService } from '@taiga-ui/core/services';
|
|
7
8
|
import { TUI_CLOSE_WORD, TUI_COMMON_ICONS } from '@taiga-ui/core/tokens';
|
|
8
|
-
import { TuiButtonClose } from '@taiga-ui/kit/directives/button-close';
|
|
9
9
|
import { TuiAppBar } from '@taiga-ui/layout/components/app-bar';
|
|
10
10
|
import { injectContext } from '@taiga-ui/polymorpheus';
|
|
11
|
+
import { map } from 'rxjs';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
import * as i1 from "@taiga-ui/layout/components/app-bar";
|
|
13
14
|
class TuiPdfViewerComponent {
|
|
14
15
|
constructor() {
|
|
15
|
-
this.
|
|
16
|
+
this.isMobileRes = toSignal(inject(TuiBreakpointService).pipe(map((breakpoint) => breakpoint === 'mobile')), { initialValue: false });
|
|
16
17
|
this.el = tuiInjectElement();
|
|
17
18
|
this.context = injectContext();
|
|
18
19
|
this.close = toSignal(inject(TUI_CLOSE_WORD));
|
|
19
20
|
this.icons = inject(TUI_COMMON_ICONS);
|
|
20
21
|
}
|
|
21
22
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPdfViewerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiPdfViewerComponent, isStandalone: true, selector: "tui-pdf-viewer", host: { properties: { "attr.tuiTheme": "
|
|
23
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiPdfViewerComponent, isStandalone: true, selector: "tui-pdf-viewer", host: { properties: { "attr.tuiTheme": "isMobileRes() ? \"\" : \"dark\"" } }, providers: [
|
|
23
24
|
tuiButtonOptionsProvider(() => ({
|
|
24
25
|
appearance: inject(TUI_IS_MOBILE) ? 'action' : 'glass',
|
|
25
26
|
size: 's',
|
|
26
27
|
})),
|
|
27
|
-
], ngImport: i0, template: "<ng-container [ngTemplateOutlet]=\"
|
|
28
|
+
], ngImport: i0, template: "<ng-container [ngTemplateOutlet]=\"isMobileRes() ? mobile : desktop\" />\n\n<ng-template #mobile>\n <tui-app-bar>\n <button\n tuiButton\n tuiSlot=\"left\"\n type=\"button\"\n (click)=\"context.$implicit.complete()\"\n >\n {{ close() }}\n </button>\n <ng-container [ngTemplateOutlet]=\"content\" />\n <ng-container tuiSlot=\"right\">\n <ng-container [ngTemplateOutlet]=\"actions\" />\n </ng-container>\n </tui-app-bar>\n</ng-template>\n\n<ng-template #desktop>\n <header\n tuiTheme=\"dark\"\n class=\"t-header\"\n >\n <ng-container [ngTemplateOutlet]=\"content\" />\n <ng-container [ngTemplateOutlet]=\"actions\" />\n <button\n *ngIf=\"$any(context).closable || context.closeable\"\n appearance=\"glass\"\n size=\"s\"\n tuiIconButton\n type=\"button\"\n [iconStart]=\"icons.close\"\n [style.border-radius.%]=\"100\"\n (click)=\"context.$implicit.complete()\"\n >\n {{ close() }}\n </button>\n </header>\n</ng-template>\n\n<ng-template #content>\n <ng-content select=\"[tuiTitle]\" />\n</ng-template>\n\n<ng-template #actions>\n <ng-content select=\"button\" />\n</ng-template>\n\n<section class=\"t-content\">\n <ng-content />\n</section>\n", styles: ["tui-pdf-viewer{position:relative;z-index:1;display:flex;flex-direction:column;inline-size:100vw;block-size:100%;flex:1;box-sizing:border-box;color:var(--tui-text-primary);--t-header: 3.5rem}tui-root:not(._mobile) tui-pdf-viewer{background:#000}tui-root:not(._mobile) tui-dialog:not([new]) tui-pdf-viewer{block-size:100vh}tui-root:not(._mobile) tui-dialog[new] tui-pdf-viewer{margin:-6rem calc(-1 * calc(50vw - var(--tui-width) / 2)) -2rem}tui-root._mobile tui-dialog tui-pdf-viewer{--t-header: 2.5rem;margin:0 -1rem -1rem}tui-root._mobile tui-dialog tui-pdf-viewer tui-app-bar{margin:calc(-1*env(safe-area-inset-top)) 0 0}tui-sheet-dialog tui-pdf-viewer{--t-header: 4.5rem;margin:0 -1rem -1.5rem}tui-sheet-dialog tui-pdf-viewer tui-app-bar{margin:-1rem 0 0}tui-pdf-viewer .t-header{display:flex;gap:.5rem;align-items:center;block-size:var(--t-header);padding:0 .75rem 0 1rem;justify-content:flex-end}tui-pdf-viewer [tuiTitle]{margin-inline-end:auto}tui-pdf-viewer .t-content{display:flex;flex:1;overflow:hidden;justify-content:center}tui-pdf-viewer tui-loader,tui-pdf-viewer tui-block-status{inline-size:100%;margin-block-start:calc(-1 * var(--t-header))}tui-pdf-viewer iframe{inline-size:100%;border:none}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i1.TuiAppBarComponent, selector: "tui-app-bar", inputs: ["size"] }, { kind: "directive", type: i1.TuiAppBarDirective, selector: "[tuiSlot]", inputs: ["tuiSlot"] }, { kind: "directive", type: TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
28
29
|
}
|
|
29
30
|
export { TuiPdfViewerComponent };
|
|
30
31
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPdfViewerComponent, decorators: [{
|
|
31
32
|
type: Component,
|
|
32
|
-
args: [{ standalone: true, selector: 'tui-pdf-viewer', imports: [NgIf, NgTemplateOutlet, TuiAppBar, TuiButton
|
|
33
|
+
args: [{ standalone: true, selector: 'tui-pdf-viewer', imports: [NgIf, NgTemplateOutlet, TuiAppBar, TuiButton], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
33
34
|
tuiButtonOptionsProvider(() => ({
|
|
34
35
|
appearance: inject(TUI_IS_MOBILE) ? 'action' : 'glass',
|
|
35
36
|
size: 's',
|
|
36
37
|
})),
|
|
37
38
|
], host: {
|
|
38
|
-
'[attr.tuiTheme]': '
|
|
39
|
-
}, template: "<ng-container [ngTemplateOutlet]=\"
|
|
39
|
+
'[attr.tuiTheme]': 'isMobileRes() ? "" : "dark"',
|
|
40
|
+
}, template: "<ng-container [ngTemplateOutlet]=\"isMobileRes() ? mobile : desktop\" />\n\n<ng-template #mobile>\n <tui-app-bar>\n <button\n tuiButton\n tuiSlot=\"left\"\n type=\"button\"\n (click)=\"context.$implicit.complete()\"\n >\n {{ close() }}\n </button>\n <ng-container [ngTemplateOutlet]=\"content\" />\n <ng-container tuiSlot=\"right\">\n <ng-container [ngTemplateOutlet]=\"actions\" />\n </ng-container>\n </tui-app-bar>\n</ng-template>\n\n<ng-template #desktop>\n <header\n tuiTheme=\"dark\"\n class=\"t-header\"\n >\n <ng-container [ngTemplateOutlet]=\"content\" />\n <ng-container [ngTemplateOutlet]=\"actions\" />\n <button\n *ngIf=\"$any(context).closable || context.closeable\"\n appearance=\"glass\"\n size=\"s\"\n tuiIconButton\n type=\"button\"\n [iconStart]=\"icons.close\"\n [style.border-radius.%]=\"100\"\n (click)=\"context.$implicit.complete()\"\n >\n {{ close() }}\n </button>\n </header>\n</ng-template>\n\n<ng-template #content>\n <ng-content select=\"[tuiTitle]\" />\n</ng-template>\n\n<ng-template #actions>\n <ng-content select=\"button\" />\n</ng-template>\n\n<section class=\"t-content\">\n <ng-content />\n</section>\n", styles: ["tui-pdf-viewer{position:relative;z-index:1;display:flex;flex-direction:column;inline-size:100vw;block-size:100%;flex:1;box-sizing:border-box;color:var(--tui-text-primary);--t-header: 3.5rem}tui-root:not(._mobile) tui-pdf-viewer{background:#000}tui-root:not(._mobile) tui-dialog:not([new]) tui-pdf-viewer{block-size:100vh}tui-root:not(._mobile) tui-dialog[new] tui-pdf-viewer{margin:-6rem calc(-1 * calc(50vw - var(--tui-width) / 2)) -2rem}tui-root._mobile tui-dialog tui-pdf-viewer{--t-header: 2.5rem;margin:0 -1rem -1rem}tui-root._mobile tui-dialog tui-pdf-viewer tui-app-bar{margin:calc(-1*env(safe-area-inset-top)) 0 0}tui-sheet-dialog tui-pdf-viewer{--t-header: 4.5rem;margin:0 -1rem -1.5rem}tui-sheet-dialog tui-pdf-viewer tui-app-bar{margin:-1rem 0 0}tui-pdf-viewer .t-header{display:flex;gap:.5rem;align-items:center;block-size:var(--t-header);padding:0 .75rem 0 1rem;justify-content:flex-end}tui-pdf-viewer [tuiTitle]{margin-inline-end:auto}tui-pdf-viewer .t-content{display:flex;flex:1;overflow:hidden;justify-content:center}tui-pdf-viewer tui-loader,tui-pdf-viewer tui-block-status{inline-size:100%;margin-block-start:calc(-1 * var(--t-header))}tui-pdf-viewer iframe{inline-size:100%;border:none}\n"] }]
|
|
40
41
|
}] });
|
|
41
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
42
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGRmLXZpZXdlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHBlcmltZW50YWwvY29tcG9uZW50cy9wZGYtdmlld2VyL3BkZi12aWV3ZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXhwZXJpbWVudGFsL2NvbXBvbmVudHMvcGRmLXZpZXdlci9wZGYtdmlld2VyLnRlbXBsYXRlLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLElBQUksRUFBRSxnQkFBZ0IsRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQ3ZELE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULE1BQU0sRUFDTixpQkFBaUIsR0FDcEIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLDRCQUE0QixDQUFDO0FBRXBELE9BQU8sRUFBQyxhQUFhLEVBQUMsTUFBTSxzQkFBc0IsQ0FBQztBQUNuRCxPQUFPLEVBQUMsZ0JBQWdCLEVBQUMsTUFBTSx5QkFBeUIsQ0FBQztBQUN6RCxPQUFPLEVBQUMsU0FBUyxFQUFFLHdCQUF3QixFQUFDLE1BQU0sa0NBQWtDLENBQUM7QUFFckYsT0FBTyxFQUFDLG9C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Vza3RvcFwiIC8+XG5cbjxuZy10ZW1wbGF0ZSAjbW9iaWxlPlxuICAgIDx0dWktYXBwLWJhcj5cbiAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgdHVpQnV0dG9uXG4gICAgICAgICAgICB0dWlTbG90PVwibGVmdFwiXG4gICAgICAgICAgICB0eXBlPVwiYnV0dG9uXCJcbiAgICAgICAgICAgIChjbGljayk9XCJjb250ZXh0LiRpbXBsaWNpdC5jb21wbGV0ZSgpXCJcbiAgICAgICAgPlxuICAgICAgICAgICAge3sgY2xvc2UoKSB9fVxuICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgPG5nLWNvbnRhaW5lciBbbmdUZW1wbGF0ZU91dGxldF09XCJjb250ZW50XCIgLz5cbiAgICAgICAgPG5nLWNvbnRhaW5lciB0dWlTbG90PVwicmlnaHRcIj5cbiAgICAgICAgICAgIDxuZy1jb250YWluZXIgW25nVGVtcGxhdGVPdXRsZXRdPVwiYWN0aW9uc1wiIC8+XG4gICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgIDwvdHVpLWFwcC1iYXI+XG48L25nLXRlbXBsYXRlPlxuXG48bmctdGVtcGxhdGUgI2Rlc2t0b3A+XG4gICAgPGhlYWRlclxuICAgICAgICB0dWlUaGVtZT1cImRhcmtcIlxuICAgICAgICBjbGFzcz1cInQtaGVhZGVyXCJcbiAgICA+XG4gICAgICAgIDxuZy1jb250YWluZXIgW25nVGVtcGxhdGVPdXRsZXRdPVwiY29udGVudFwiIC8+XG4gICAgICAgIDxuZy1jb250YWluZXIgW25nVGVtcGxhdGVPdXRsZXRdPVwiYWN0aW9uc1wiIC8+XG4gICAgICAgIDxidXR0b25cbiAgICAgICAgICAgICpuZ0lmPVwiJGFueShjb250ZXh0KS5jbG9zYWJsZSB8fCBjb250ZXh0LmNsb3NlYWJsZVwiXG4gICAgICAgICAgICBhcHBlYXJhbmNlPVwiZ2xhc3NcIlxuICAgICAgICAgICAgc2l6ZT1cInNcIlxuICAgICAgICAgICAgdHVpSWNvbkJ1dHRvblxuICAgICAgICAgICAgdHlwZT1cImJ1dHRvblwiXG4gICAgICAgICAgICBbaWNvblN0YXJ0XT1cImljb25zLmNsb3NlXCJcbiAgICAgICAgICAgIFtzdHlsZS5ib3JkZXItcmFkaXVzLiVdPVwiMTAwXCJcbiAgICAgICAgICAgIChjbGljayk9XCJjb250ZXh0LiRpbXBsaWNpdC5jb21wbGV0ZSgpXCJcbiAgICAgICAgPlxuICAgICAgICAgICAge3sgY2xvc2UoKSB9fVxuICAgICAgICA8L2J1dHRvbj5cbiAgICA8L2hlYWRlcj5cbjwvbmctdGVtcGxhdGU+XG5cbjxuZy10ZW1wbGF0ZSAjY29udGVudD5cbiAgICA8bmctY29udGVudCBzZWxlY3Q9XCJbdHVpVGl0bGVdXCIgLz5cbjwvbmctdGVtcGxhdGU+XG5cbjxuZy10ZW1wbGF0ZSAjYWN0aW9ucz5cbiAgICA8bmctY29udGVudCBzZWxlY3Q9XCJidXR0b25cIiAvPlxuPC9uZy10ZW1wbGF0ZT5cblxuPHNlY3Rpb24gY2xhc3M9XCJ0LWNvbnRlbnRcIj5cbiAgICA8bmctY29udGVudCAvPlxuPC9zZWN0aW9uPlxuIl19
|
|
@@ -5,38 +5,39 @@ import { toSignal } from '@angular/core/rxjs-interop';
|
|
|
5
5
|
import { TUI_IS_MOBILE } from '@taiga-ui/cdk/tokens';
|
|
6
6
|
import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
|
|
7
7
|
import { tuiButtonOptionsProvider, TuiButton } from '@taiga-ui/core/components/button';
|
|
8
|
+
import { TuiBreakpointService } from '@taiga-ui/core/services';
|
|
8
9
|
import { TUI_CLOSE_WORD, TUI_COMMON_ICONS } from '@taiga-ui/core/tokens';
|
|
9
|
-
import { TuiButtonClose } from '@taiga-ui/kit/directives/button-close';
|
|
10
10
|
import * as i1 from '@taiga-ui/layout/components/app-bar';
|
|
11
11
|
import { TuiAppBar } from '@taiga-ui/layout/components/app-bar';
|
|
12
12
|
import { injectContext } from '@taiga-ui/polymorpheus';
|
|
13
|
+
import { map } from 'rxjs';
|
|
13
14
|
|
|
14
15
|
class TuiPdfViewerComponent {
|
|
15
16
|
constructor() {
|
|
16
|
-
this.
|
|
17
|
+
this.isMobileRes = toSignal(inject(TuiBreakpointService).pipe(map((breakpoint) => breakpoint === 'mobile')), { initialValue: false });
|
|
17
18
|
this.el = tuiInjectElement();
|
|
18
19
|
this.context = injectContext();
|
|
19
20
|
this.close = toSignal(inject(TUI_CLOSE_WORD));
|
|
20
21
|
this.icons = inject(TUI_COMMON_ICONS);
|
|
21
22
|
}
|
|
22
23
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPdfViewerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
23
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiPdfViewerComponent, isStandalone: true, selector: "tui-pdf-viewer", host: { properties: { "attr.tuiTheme": "
|
|
24
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiPdfViewerComponent, isStandalone: true, selector: "tui-pdf-viewer", host: { properties: { "attr.tuiTheme": "isMobileRes() ? \"\" : \"dark\"" } }, providers: [
|
|
24
25
|
tuiButtonOptionsProvider(() => ({
|
|
25
26
|
appearance: inject(TUI_IS_MOBILE) ? 'action' : 'glass',
|
|
26
27
|
size: 's',
|
|
27
28
|
})),
|
|
28
|
-
], ngImport: i0, template: "<ng-container [ngTemplateOutlet]=\"
|
|
29
|
+
], ngImport: i0, template: "<ng-container [ngTemplateOutlet]=\"isMobileRes() ? mobile : desktop\" />\n\n<ng-template #mobile>\n <tui-app-bar>\n <button\n tuiButton\n tuiSlot=\"left\"\n type=\"button\"\n (click)=\"context.$implicit.complete()\"\n >\n {{ close() }}\n </button>\n <ng-container [ngTemplateOutlet]=\"content\" />\n <ng-container tuiSlot=\"right\">\n <ng-container [ngTemplateOutlet]=\"actions\" />\n </ng-container>\n </tui-app-bar>\n</ng-template>\n\n<ng-template #desktop>\n <header\n tuiTheme=\"dark\"\n class=\"t-header\"\n >\n <ng-container [ngTemplateOutlet]=\"content\" />\n <ng-container [ngTemplateOutlet]=\"actions\" />\n <button\n *ngIf=\"$any(context).closable || context.closeable\"\n appearance=\"glass\"\n size=\"s\"\n tuiIconButton\n type=\"button\"\n [iconStart]=\"icons.close\"\n [style.border-radius.%]=\"100\"\n (click)=\"context.$implicit.complete()\"\n >\n {{ close() }}\n </button>\n </header>\n</ng-template>\n\n<ng-template #content>\n <ng-content select=\"[tuiTitle]\" />\n</ng-template>\n\n<ng-template #actions>\n <ng-content select=\"button\" />\n</ng-template>\n\n<section class=\"t-content\">\n <ng-content />\n</section>\n", styles: ["tui-pdf-viewer{position:relative;z-index:1;display:flex;flex-direction:column;inline-size:100vw;block-size:100%;flex:1;box-sizing:border-box;color:var(--tui-text-primary);--t-header: 3.5rem}tui-root:not(._mobile) tui-pdf-viewer{background:#000}tui-root:not(._mobile) tui-dialog:not([new]) tui-pdf-viewer{block-size:100vh}tui-root:not(._mobile) tui-dialog[new] tui-pdf-viewer{margin:-6rem calc(-1 * calc(50vw - var(--tui-width) / 2)) -2rem}tui-root._mobile tui-dialog tui-pdf-viewer{--t-header: 2.5rem;margin:0 -1rem -1rem}tui-root._mobile tui-dialog tui-pdf-viewer tui-app-bar{margin:calc(-1*env(safe-area-inset-top)) 0 0}tui-sheet-dialog tui-pdf-viewer{--t-header: 4.5rem;margin:0 -1rem -1.5rem}tui-sheet-dialog tui-pdf-viewer tui-app-bar{margin:-1rem 0 0}tui-pdf-viewer .t-header{display:flex;gap:.5rem;align-items:center;block-size:var(--t-header);padding:0 .75rem 0 1rem;justify-content:flex-end}tui-pdf-viewer [tuiTitle]{margin-inline-end:auto}tui-pdf-viewer .t-content{display:flex;flex:1;overflow:hidden;justify-content:center}tui-pdf-viewer tui-loader,tui-pdf-viewer tui-block-status{inline-size:100%;margin-block-start:calc(-1 * var(--t-header))}tui-pdf-viewer iframe{inline-size:100%;border:none}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i1.TuiAppBarComponent, selector: "tui-app-bar", inputs: ["size"] }, { kind: "directive", type: i1.TuiAppBarDirective, selector: "[tuiSlot]", inputs: ["tuiSlot"] }, { kind: "directive", type: TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
29
30
|
}
|
|
30
31
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPdfViewerComponent, decorators: [{
|
|
31
32
|
type: Component,
|
|
32
|
-
args: [{ standalone: true, selector: 'tui-pdf-viewer', imports: [NgIf, NgTemplateOutlet, TuiAppBar, TuiButton
|
|
33
|
+
args: [{ standalone: true, selector: 'tui-pdf-viewer', imports: [NgIf, NgTemplateOutlet, TuiAppBar, TuiButton], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
33
34
|
tuiButtonOptionsProvider(() => ({
|
|
34
35
|
appearance: inject(TUI_IS_MOBILE) ? 'action' : 'glass',
|
|
35
36
|
size: 's',
|
|
36
37
|
})),
|
|
37
38
|
], host: {
|
|
38
|
-
'[attr.tuiTheme]': '
|
|
39
|
-
}, template: "<ng-container [ngTemplateOutlet]=\"
|
|
39
|
+
'[attr.tuiTheme]': 'isMobileRes() ? "" : "dark"',
|
|
40
|
+
}, template: "<ng-container [ngTemplateOutlet]=\"isMobileRes() ? mobile : desktop\" />\n\n<ng-template #mobile>\n <tui-app-bar>\n <button\n tuiButton\n tuiSlot=\"left\"\n type=\"button\"\n (click)=\"context.$implicit.complete()\"\n >\n {{ close() }}\n </button>\n <ng-container [ngTemplateOutlet]=\"content\" />\n <ng-container tuiSlot=\"right\">\n <ng-container [ngTemplateOutlet]=\"actions\" />\n </ng-container>\n </tui-app-bar>\n</ng-template>\n\n<ng-template #desktop>\n <header\n tuiTheme=\"dark\"\n class=\"t-header\"\n >\n <ng-container [ngTemplateOutlet]=\"content\" />\n <ng-container [ngTemplateOutlet]=\"actions\" />\n <button\n *ngIf=\"$any(context).closable || context.closeable\"\n appearance=\"glass\"\n size=\"s\"\n tuiIconButton\n type=\"button\"\n [iconStart]=\"icons.close\"\n [style.border-radius.%]=\"100\"\n (click)=\"context.$implicit.complete()\"\n >\n {{ close() }}\n </button>\n </header>\n</ng-template>\n\n<ng-template #content>\n <ng-content select=\"[tuiTitle]\" />\n</ng-template>\n\n<ng-template #actions>\n <ng-content select=\"button\" />\n</ng-template>\n\n<section class=\"t-content\">\n <ng-content />\n</section>\n", styles: ["tui-pdf-viewer{position:relative;z-index:1;display:flex;flex-direction:column;inline-size:100vw;block-size:100%;flex:1;box-sizing:border-box;color:var(--tui-text-primary);--t-header: 3.5rem}tui-root:not(._mobile) tui-pdf-viewer{background:#000}tui-root:not(._mobile) tui-dialog:not([new]) tui-pdf-viewer{block-size:100vh}tui-root:not(._mobile) tui-dialog[new] tui-pdf-viewer{margin:-6rem calc(-1 * calc(50vw - var(--tui-width) / 2)) -2rem}tui-root._mobile tui-dialog tui-pdf-viewer{--t-header: 2.5rem;margin:0 -1rem -1rem}tui-root._mobile tui-dialog tui-pdf-viewer tui-app-bar{margin:calc(-1*env(safe-area-inset-top)) 0 0}tui-sheet-dialog tui-pdf-viewer{--t-header: 4.5rem;margin:0 -1rem -1.5rem}tui-sheet-dialog tui-pdf-viewer tui-app-bar{margin:-1rem 0 0}tui-pdf-viewer .t-header{display:flex;gap:.5rem;align-items:center;block-size:var(--t-header);padding:0 .75rem 0 1rem;justify-content:flex-end}tui-pdf-viewer [tuiTitle]{margin-inline-end:auto}tui-pdf-viewer .t-content{display:flex;flex:1;overflow:hidden;justify-content:center}tui-pdf-viewer tui-loader,tui-pdf-viewer tui-block-status{inline-size:100%;margin-block-start:calc(-1 * var(--t-header))}tui-pdf-viewer iframe{inline-size:100%;border:none}\n"] }]
|
|
40
41
|
}] });
|
|
41
42
|
|
|
42
43
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-experimental-components-pdf-viewer.mjs","sources":["../../../projects/experimental/components/pdf-viewer/pdf-viewer.component.ts","../../../projects/experimental/components/pdf-viewer/pdf-viewer.template.html","../../../projects/experimental/components/pdf-viewer/taiga-ui-experimental-components-pdf-viewer.ts"],"sourcesContent":["import {NgIf, NgTemplateOutlet} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n inject,\n ViewEncapsulation,\n} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {type TuiPopover} from '@taiga-ui/cdk/services';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {TuiButton, tuiButtonOptionsProvider} from '@taiga-ui/core/components/button';\nimport {type TuiDialogOptions} from '@taiga-ui/core/components/dialog';\nimport {
|
|
1
|
+
{"version":3,"file":"taiga-ui-experimental-components-pdf-viewer.mjs","sources":["../../../projects/experimental/components/pdf-viewer/pdf-viewer.component.ts","../../../projects/experimental/components/pdf-viewer/pdf-viewer.template.html","../../../projects/experimental/components/pdf-viewer/taiga-ui-experimental-components-pdf-viewer.ts"],"sourcesContent":["import {NgIf, NgTemplateOutlet} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n inject,\n ViewEncapsulation,\n} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {type TuiPopover} from '@taiga-ui/cdk/services';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {TuiButton, tuiButtonOptionsProvider} from '@taiga-ui/core/components/button';\nimport {type TuiDialogOptions} from '@taiga-ui/core/components/dialog';\nimport {TuiBreakpointService} from '@taiga-ui/core/services';\nimport {TUI_CLOSE_WORD, TUI_COMMON_ICONS} from '@taiga-ui/core/tokens';\nimport {TuiAppBar} from '@taiga-ui/layout/components/app-bar';\nimport {injectContext} from '@taiga-ui/polymorpheus';\nimport {map} from 'rxjs';\n\n@Component({\n standalone: true,\n selector: 'tui-pdf-viewer',\n imports: [NgIf, NgTemplateOutlet, TuiAppBar, TuiButton],\n templateUrl: './pdf-viewer.template.html',\n styleUrls: ['./pdf-viewer.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiButtonOptionsProvider(() => ({\n appearance: inject(TUI_IS_MOBILE) ? 'action' : 'glass',\n size: 's',\n })),\n ],\n host: {\n '[attr.tuiTheme]': 'isMobileRes() ? \"\" : \"dark\"',\n },\n})\nexport class TuiPdfViewerComponent<O, I> {\n protected readonly isMobileRes = toSignal(\n inject(TuiBreakpointService).pipe(map((breakpoint) => breakpoint === 'mobile')),\n {initialValue: false},\n );\n\n protected readonly el = tuiInjectElement();\n protected readonly context = injectContext<TuiPopover<TuiDialogOptions<I>, O>>();\n protected readonly close = toSignal(inject(TUI_CLOSE_WORD));\n protected readonly icons = inject(TUI_COMMON_ICONS);\n}\n","<ng-container [ngTemplateOutlet]=\"isMobileRes() ? mobile : desktop\" />\n\n<ng-template #mobile>\n <tui-app-bar>\n <button\n tuiButton\n tuiSlot=\"left\"\n type=\"button\"\n (click)=\"context.$implicit.complete()\"\n >\n {{ close() }}\n </button>\n <ng-container [ngTemplateOutlet]=\"content\" />\n <ng-container tuiSlot=\"right\">\n <ng-container [ngTemplateOutlet]=\"actions\" />\n </ng-container>\n </tui-app-bar>\n</ng-template>\n\n<ng-template #desktop>\n <header\n tuiTheme=\"dark\"\n class=\"t-header\"\n >\n <ng-container [ngTemplateOutlet]=\"content\" />\n <ng-container [ngTemplateOutlet]=\"actions\" />\n <button\n *ngIf=\"$any(context).closable || context.closeable\"\n appearance=\"glass\"\n size=\"s\"\n tuiIconButton\n type=\"button\"\n [iconStart]=\"icons.close\"\n [style.border-radius.%]=\"100\"\n (click)=\"context.$implicit.complete()\"\n >\n {{ close() }}\n </button>\n </header>\n</ng-template>\n\n<ng-template #content>\n <ng-content select=\"[tuiTitle]\" />\n</ng-template>\n\n<ng-template #actions>\n <ng-content select=\"button\" />\n</ng-template>\n\n<section class=\"t-content\">\n <ng-content />\n</section>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAmBA,MAkBa,qBAAqB,CAAA;AAlBlC,IAAA,WAAA,GAAA;AAmBuB,QAAA,IAAA,CAAA,WAAW,GAAG,QAAQ,CACrC,MAAM,CAAC,oBAAoB,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,UAAU,KAAK,UAAU,KAAK,QAAQ,CAAC,CAAC,EAC/E,EAAC,YAAY,EAAE,KAAK,EAAC,CACxB,CAAC;QAEiB,IAAE,CAAA,EAAA,GAAG,gBAAgB,EAAE,CAAC;QACxB,IAAO,CAAA,OAAA,GAAG,aAAa,EAAsC,CAAC;QAC9D,IAAK,CAAA,KAAA,GAAG,QAAQ,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC;AACzC,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;AACvD,KAAA;+GAVY,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAA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QAAQ,GAAG,OAAO;AACtD,4BAAA,IAAI,EAAE,GAAG;AACZ,yBAAA,CAAC,CAAC;qBACN,EACK,IAAA,EAAA;AACF,wBAAA,iBAAiB,EAAE,6BAA6B;AACnD,qBAAA,EAAA,QAAA,EAAA,64CAAA,EAAA,MAAA,EAAA,CAAA,0rCAAA,CAAA,EAAA,CAAA;;;AEnCL;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/experimental",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.59.0",
|
|
4
4
|
"description": "A package with Taiga UI experimental components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
"peerDependencies": {
|
|
14
14
|
"@angular/common": ">=16.0.0",
|
|
15
15
|
"@angular/core": ">=16.0.0",
|
|
16
|
-
"@taiga-ui/addon-commerce": "^4.
|
|
17
|
-
"@taiga-ui/cdk": "^4.
|
|
18
|
-
"@taiga-ui/core": "^4.
|
|
19
|
-
"@taiga-ui/kit": "^4.
|
|
20
|
-
"@taiga-ui/layout": "^4.
|
|
16
|
+
"@taiga-ui/addon-commerce": "^4.59.0",
|
|
17
|
+
"@taiga-ui/cdk": "^4.59.0",
|
|
18
|
+
"@taiga-ui/core": "^4.59.0",
|
|
19
|
+
"@taiga-ui/kit": "^4.59.0",
|
|
20
|
+
"@taiga-ui/layout": "^4.59.0",
|
|
21
21
|
"@taiga-ui/polymorpheus": "^4.9.0",
|
|
22
22
|
"rxjs": ">=7.0.0"
|
|
23
23
|
},
|