@taiga-ui/layout 4.65.0 → 5.0.0-canary.8b64ec1

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.
Files changed (154) hide show
  1. package/README.md +2 -2
  2. package/components/app-bar/app-bar-back.component.d.ts +1 -1
  3. package/components/app-bar/app-bar-size.directive.d.ts +1 -0
  4. package/components/app-bar/app-bar.component.d.ts +2 -2
  5. package/components/app-bar/app-bar.directive.d.ts +2 -3
  6. package/components/block-status/block-status.component.d.ts +3 -3
  7. package/components/block-status/block-status.directive.d.ts +2 -3
  8. package/components/card/collapsed.directive.d.ts +2 -2
  9. package/components/card/large.directive.d.ts +3 -14
  10. package/components/card/medium.directive.d.ts +2 -1
  11. package/components/dynamic-header/dynamic-header-anchor.directive.d.ts +1 -1
  12. package/components/dynamic-header/dynamic-header-container.directive.d.ts +2 -2
  13. package/components/elastic-container/elastic-container.component.d.ts +8 -0
  14. package/components/elastic-container/elastic-container.directive.d.ts +7 -0
  15. package/components/elastic-container/index.d.ts +2 -0
  16. package/components/floating-container/floating-container.directive.d.ts +8 -0
  17. package/components/floating-container/index.d.ts +1 -0
  18. package/components/form/form.directive.d.ts +3 -4
  19. package/components/form/form.options.d.ts +2 -2
  20. package/components/header/header.directive.d.ts +8 -11
  21. package/components/index.d.ts +5 -1
  22. package/components/input-search/input-search.component.d.ts +7 -8
  23. package/components/item-group/item-group.directive.d.ts +3 -3
  24. package/components/navigation/aside-group.component.d.ts +7 -8
  25. package/components/navigation/aside-item.directive.d.ts +1 -1
  26. package/components/navigation/aside.component.d.ts +2 -3
  27. package/components/navigation/drawer.component.d.ts +6 -7
  28. package/components/navigation/hint-aside.directive.d.ts +3 -4
  29. package/components/navigation/subheader.component.d.ts +1 -1
  30. package/components/pdf-viewer/index.d.ts +1 -0
  31. package/components/pdf-viewer/pdf-viewer.component.d.ts +13 -0
  32. package/components/search/search-filter.component.d.ts +4 -3
  33. package/components/search/search-filters.component.d.ts +7 -9
  34. package/components/slides/index.d.ts +1 -0
  35. package/components/slides/slides.directive.d.ts +11 -0
  36. package/components/surface/index.d.ts +1 -0
  37. package/components/surface/surface.directive.d.ts +6 -0
  38. package/fesm2022/taiga-ui-layout-components-app-bar.mjs +33 -44
  39. package/fesm2022/taiga-ui-layout-components-app-bar.mjs.map +1 -1
  40. package/fesm2022/taiga-ui-layout-components-block-details.mjs +10 -13
  41. package/fesm2022/taiga-ui-layout-components-block-details.mjs.map +1 -1
  42. package/fesm2022/taiga-ui-layout-components-block-status.mjs +16 -23
  43. package/fesm2022/taiga-ui-layout-components-block-status.mjs.map +1 -1
  44. package/fesm2022/taiga-ui-layout-components-card.mjs +56 -71
  45. package/fesm2022/taiga-ui-layout-components-card.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-layout-components-dynamic-header.mjs +39 -58
  47. package/fesm2022/taiga-ui-layout-components-dynamic-header.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-layout-components-elastic-container.mjs +62 -0
  49. package/fesm2022/taiga-ui-layout-components-elastic-container.mjs.map +1 -0
  50. package/fesm2022/taiga-ui-layout-components-floating-container.mjs +40 -0
  51. package/fesm2022/taiga-ui-layout-components-floating-container.mjs.map +1 -0
  52. package/fesm2022/taiga-ui-layout-components-form.mjs +33 -46
  53. package/fesm2022/taiga-ui-layout-components-form.mjs.map +1 -1
  54. package/fesm2022/taiga-ui-layout-components-header.mjs +15 -33
  55. package/fesm2022/taiga-ui-layout-components-header.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-layout-components-input-search.mjs +28 -41
  57. package/fesm2022/taiga-ui-layout-components-input-search.mjs.map +1 -1
  58. package/fesm2022/taiga-ui-layout-components-item-group.mjs +18 -32
  59. package/fesm2022/taiga-ui-layout-components-item-group.mjs.map +1 -1
  60. package/fesm2022/taiga-ui-layout-components-navigation.mjs +113 -145
  61. package/fesm2022/taiga-ui-layout-components-navigation.mjs.map +1 -1
  62. package/fesm2022/taiga-ui-layout-components-pdf-viewer.mjs +46 -0
  63. package/fesm2022/taiga-ui-layout-components-pdf-viewer.mjs.map +1 -0
  64. package/fesm2022/taiga-ui-layout-components-search.mjs +41 -63
  65. package/fesm2022/taiga-ui-layout-components-search.mjs.map +1 -1
  66. package/fesm2022/taiga-ui-layout-components-slides.mjs +49 -0
  67. package/fesm2022/taiga-ui-layout-components-slides.mjs.map +1 -0
  68. package/fesm2022/taiga-ui-layout-components-surface.mjs +33 -0
  69. package/fesm2022/taiga-ui-layout-components-surface.mjs.map +1 -0
  70. package/fesm2022/taiga-ui-layout-components.mjs +5 -1
  71. package/fesm2022/taiga-ui-layout-components.mjs.map +1 -1
  72. package/fesm2022/taiga-ui-layout-tokens.mjs +2 -7
  73. package/fesm2022/taiga-ui-layout-tokens.mjs.map +1 -1
  74. package/package.json +31 -42
  75. package/tokens/common-icons.d.ts +3 -5
  76. package/tokens/i18n.d.ts +1 -1
  77. package/components/cell/cell.directive.d.ts +0 -10
  78. package/components/cell/cell.options.d.ts +0 -6
  79. package/components/cell/index.d.ts +0 -2
  80. package/esm2022/components/app-bar/app-bar-back.component.mjs +0 -20
  81. package/esm2022/components/app-bar/app-bar-size.directive.mjs +0 -24
  82. package/esm2022/components/app-bar/app-bar.component.mjs +0 -39
  83. package/esm2022/components/app-bar/app-bar.directive.mjs +0 -20
  84. package/esm2022/components/app-bar/app-bar.mjs +0 -11
  85. package/esm2022/components/app-bar/app-bar.providers.mjs +0 -19
  86. package/esm2022/components/app-bar/index.mjs +0 -7
  87. package/esm2022/components/app-bar/taiga-ui-layout-components-app-bar.mjs +0 -5
  88. package/esm2022/components/block-details/block-details.directive.mjs +0 -29
  89. package/esm2022/components/block-details/index.mjs +0 -2
  90. package/esm2022/components/block-details/taiga-ui-layout-components-block-details.mjs +0 -5
  91. package/esm2022/components/block-status/block-status.component.mjs +0 -23
  92. package/esm2022/components/block-status/block-status.directive.mjs +0 -20
  93. package/esm2022/components/block-status/block-status.mjs +0 -4
  94. package/esm2022/components/block-status/index.mjs +0 -4
  95. package/esm2022/components/block-status/taiga-ui-layout-components-block-status.mjs +0 -5
  96. package/esm2022/components/card/card.mjs +0 -11
  97. package/esm2022/components/card/collapsed.directive.mjs +0 -38
  98. package/esm2022/components/card/index.mjs +0 -6
  99. package/esm2022/components/card/large.directive.mjs +0 -42
  100. package/esm2022/components/card/medium.directive.mjs +0 -29
  101. package/esm2022/components/card/row.directive.mjs +0 -29
  102. package/esm2022/components/card/taiga-ui-layout-components-card.mjs +0 -5
  103. package/esm2022/components/cell/cell.directive.mjs +0 -53
  104. package/esm2022/components/cell/cell.options.mjs +0 -3
  105. package/esm2022/components/cell/index.mjs +0 -3
  106. package/esm2022/components/cell/taiga-ui-layout-components-cell.mjs +0 -5
  107. package/esm2022/components/dynamic-header/dynamic-header-anchor.directive.mjs +0 -34
  108. package/esm2022/components/dynamic-header/dynamic-header-container.directive.mjs +0 -41
  109. package/esm2022/components/dynamic-header/dynamic-header.component.mjs +0 -59
  110. package/esm2022/components/dynamic-header/dynamic-header.mjs +0 -9
  111. package/esm2022/components/dynamic-header/index.mjs +0 -5
  112. package/esm2022/components/dynamic-header/taiga-ui-layout-components-dynamic-header.mjs +0 -5
  113. package/esm2022/components/form/form.directive.mjs +0 -95
  114. package/esm2022/components/form/form.options.mjs +0 -3
  115. package/esm2022/components/form/index.mjs +0 -3
  116. package/esm2022/components/form/taiga-ui-layout-components-form.mjs +0 -5
  117. package/esm2022/components/header/header.directive.mjs +0 -54
  118. package/esm2022/components/header/index.mjs +0 -2
  119. package/esm2022/components/header/taiga-ui-layout-components-header.mjs +0 -5
  120. package/esm2022/components/index.mjs +0 -13
  121. package/esm2022/components/input-search/index.mjs +0 -2
  122. package/esm2022/components/input-search/input-search.component.mjs +0 -96
  123. package/esm2022/components/input-search/taiga-ui-layout-components-input-search.mjs +0 -5
  124. package/esm2022/components/item-group/index.mjs +0 -2
  125. package/esm2022/components/item-group/item-group.directive.mjs +0 -58
  126. package/esm2022/components/item-group/taiga-ui-layout-components-item-group.mjs +0 -5
  127. package/esm2022/components/navigation/aside-group.component.mjs +0 -59
  128. package/esm2022/components/navigation/aside-item.directive.mjs +0 -92
  129. package/esm2022/components/navigation/aside.component.mjs +0 -67
  130. package/esm2022/components/navigation/drawer.component.mjs +0 -97
  131. package/esm2022/components/navigation/header.component.mjs +0 -34
  132. package/esm2022/components/navigation/hint-aside.directive.mjs +0 -41
  133. package/esm2022/components/navigation/index.mjs +0 -12
  134. package/esm2022/components/navigation/logo.component.mjs +0 -12
  135. package/esm2022/components/navigation/main.component.mjs +0 -14
  136. package/esm2022/components/navigation/nav.component.mjs +0 -23
  137. package/esm2022/components/navigation/navigation.mjs +0 -24
  138. package/esm2022/components/navigation/subheader.component.mjs +0 -68
  139. package/esm2022/components/navigation/taiga-ui-layout-components-navigation.mjs +0 -5
  140. package/esm2022/components/search/index.mjs +0 -4
  141. package/esm2022/components/search/search-filter.component.mjs +0 -44
  142. package/esm2022/components/search/search-filters.component.mjs +0 -81
  143. package/esm2022/components/search/search.component.mjs +0 -26
  144. package/esm2022/components/search/search.mjs +0 -9
  145. package/esm2022/components/search/taiga-ui-layout-components-search.mjs +0 -5
  146. package/esm2022/components/taiga-ui-layout-components.mjs +0 -5
  147. package/esm2022/index.mjs +0 -3
  148. package/esm2022/taiga-ui-layout.mjs +0 -5
  149. package/esm2022/tokens/common-icons.mjs +0 -21
  150. package/esm2022/tokens/i18n.mjs +0 -6
  151. package/esm2022/tokens/index.mjs +0 -3
  152. package/esm2022/tokens/taiga-ui-layout-tokens.mjs +0 -5
  153. package/fesm2022/taiga-ui-layout-components-cell.mjs +0 -61
  154. package/fesm2022/taiga-ui-layout-components-cell.mjs.map +0 -1
@@ -0,0 +1,49 @@
1
+ import * as i0 from '@angular/core';
2
+ import { ChangeDetectionStrategy, ViewEncapsulation, Component, computed, input, Directive } from '@angular/core';
3
+ import * as i1 from '@taiga-ui/cdk/directives/animated';
4
+ import { TuiAnimated } from '@taiga-ui/cdk/directives/animated';
5
+ import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
6
+ import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
7
+
8
+ class Styles {
9
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: Styles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: Styles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-slides" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiSlides]{display:grid;isolation:isolate}[tuiSlides][data-direction=\"-1\"]>*{--tui-from: translateX(-2rem)}[tuiSlides][data-direction=\"-1\"]>*.tui-leave{--tui-from: translateX(1rem)}[tuiSlides][data-direction=\"1\"]>*{--tui-from: translateX(2rem)}[tuiSlides][data-direction=\"1\"]>*.tui-leave{--tui-from: translateX(-1rem)}[tuiSlides]>*{grid-area:1 / 1;align-self:start;mix-blend-mode:plus-lighter;animation-name:tuiFade,tuiSlide;animation-duration:var(--tui-duration);animation-timing-function:ease-in-out;--tui-from: translateY(0)}[tuiSlides]>*.tui-slide:not(.tui-leave){animation-name:none}[tuiSlides]>*.tui-leave{margin-block-end:-100rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
11
+ }
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: Styles, decorators: [{
13
+ type: Component,
14
+ args: [{ template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'tui-slides' }, styles: ["[tuiSlides]{display:grid;isolation:isolate}[tuiSlides][data-direction=\"-1\"]>*{--tui-from: translateX(-2rem)}[tuiSlides][data-direction=\"-1\"]>*.tui-leave{--tui-from: translateX(1rem)}[tuiSlides][data-direction=\"1\"]>*{--tui-from: translateX(2rem)}[tuiSlides][data-direction=\"1\"]>*.tui-leave{--tui-from: translateX(-1rem)}[tuiSlides]>*{grid-area:1 / 1;align-self:start;mix-blend-mode:plus-lighter;animation-name:tuiFade,tuiSlide;animation-duration:var(--tui-duration);animation-timing-function:ease-in-out;--tui-from: translateY(0)}[tuiSlides]>*.tui-slide:not(.tui-leave){animation-name:none}[tuiSlides]>*.tui-leave{margin-block-end:-100rem}\n"] }]
15
+ }] });
16
+ class TuiSlides {
17
+ constructor() {
18
+ this.nothing = tuiWithStyles(Styles);
19
+ this.el = tuiInjectElement();
20
+ this.sign = computed(() => Math.sign(this.direction() || 0));
21
+ this.direction = input('', { alias: 'tuiSlides' });
22
+ }
23
+ onAnimation(target) {
24
+ Array.from(this.el.children)
25
+ .find((element) => element === target)
26
+ ?.classList.add('tui-slide');
27
+ }
28
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiSlides, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
29
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.17", type: TuiSlides, isStandalone: true, selector: "[tuiSlides]", inputs: { direction: { classPropertyName: "direction", publicName: "tuiSlides", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "tuiSlides": "" }, listeners: { "animationend": "onAnimation($event.target)" }, properties: { "attr.data-direction": "sign()" } }, hostDirectives: [{ directive: i1.TuiAnimated }], ngImport: i0 }); }
30
+ }
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiSlides, decorators: [{
32
+ type: Directive,
33
+ args: [{
34
+ selector: '[tuiSlides]',
35
+ hostDirectives: [TuiAnimated],
36
+ host: {
37
+ tuiSlides: '',
38
+ '[attr.data-direction]': 'sign()',
39
+ '(animationend)': 'onAnimation($event.target)',
40
+ },
41
+ }]
42
+ }] });
43
+
44
+ /**
45
+ * Generated bundle index. Do not edit.
46
+ */
47
+
48
+ export { TuiSlides };
49
+ //# sourceMappingURL=taiga-ui-layout-components-slides.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-layout-components-slides.mjs","sources":["../../../projects/layout/components/slides/slides.directive.ts","../../../projects/layout/components/slides/taiga-ui-layout-components-slides.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n Directive,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {TuiAnimated} from '@taiga-ui/cdk/directives/animated';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\n\n@Component({\n template: '',\n styleUrl: './slides.style.less',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'tui-slides'},\n})\nclass Styles {}\n\n@Directive({\n selector: '[tuiSlides]',\n hostDirectives: [TuiAnimated],\n host: {\n tuiSlides: '',\n '[attr.data-direction]': 'sign()',\n '(animationend)': 'onAnimation($event.target)',\n },\n})\nexport class TuiSlides {\n protected readonly nothing = tuiWithStyles(Styles);\n protected readonly el = tuiInjectElement();\n protected readonly sign = computed(() => Math.sign(this.direction() || 0));\n\n public readonly direction = input<number | ''>('', {alias: 'tuiSlides'});\n\n protected onAnimation(target: Element): void {\n Array.from(this.el.children)\n .find((element) => element === target)\n ?.classList.add('tui-slide');\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAYA,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,gHANE,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,C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WAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,EAAA,EAAA,EAAA,SAAA,EAAA,EAAA,cAAA,EAAA,4BAAA,EAAA,EAAA,UAAA,EAAA,EAAA,qBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,WAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAT,SAAS,EAAA,UAAA,EAAA,CAAA;kBATrB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,aAAa;oBACvB,cAAc,EAAE,CAAC,WAAW,CAAC;AAC7B,oBAAA,IAAI,EAAE;AACF,wBAAA,SAAS,EAAE,EAAE;AACb,wBAAA,uBAAuB,EAAE,QAAQ;AACjC,wBAAA,gBAAgB,EAAE,4BAA4B;AACjD,qBAAA;AACJ,iBAAA;;;AC7BD;;AAEG;;;;"}
@@ -0,0 +1,33 @@
1
+ import * as i0 from '@angular/core';
2
+ import { ChangeDetectionStrategy, ViewEncapsulation, Component, Directive } from '@angular/core';
3
+ import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
4
+
5
+ class Styles {
6
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: Styles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: Styles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-surface" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiSurface]{transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;--tui-gap: .25rem;position:relative;box-sizing:border-box;background:none no-repeat;background-size:cover;overflow:hidden;isolation:isolate;-webkit-appearance:none;appearance:none;border:0;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:backdrop-filter,background,border-radius,box-shadow,mask,transform!important}[tuiSurface]:focus-visible{outline-color:var(--tui-border-focus)}@supports (not (-moz-appearance: none)) and (not (-webkit-hyphens: none)){[tuiSurface]:before{mix-blend-mode:multiply}}button[tuiSurface]{cursor:pointer}[tuiSurface]:before,[tuiSurface]:after,[tuiSurfaceLayer]:before,[tuiSurfaceLayer]:after{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";z-index:-1;border-radius:inherit;pointer-events:none;background-size:cover;background-repeat:no-repeat;transition-property:opacity,backdrop-filter,transform}[tuiSurfaceLayer]{transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;top:0;left:0;inline-size:100%;block-size:100%;position:absolute!important;z-index:-1;object-fit:cover;border-radius:inherit;box-sizing:border-box;transition-property:box-shadow,filter,padding}input[tuiSurfaceLayer]+[tuiSurfaceLayer]{will-change:padding;background-clip:content-box;overflow:clip;overflow-clip-margin:content-box}input[tuiSurfaceLayer]:checked+[tuiSurfaceLayer]{padding:var(--tui-gap)}input[tuiSurfaceLayer]:focus-visible+[tuiSurfaceLayer]{padding:var(--tui-gap)}@media (hover: hover) and (pointer: fine){[tuiSurface]:hover input[tuiSurfaceLayer]+[tuiSurfaceLayer]{padding:var(--tui-gap)}}input[tuiSurfaceLayer]{color:var(--tui-background-accent-2);-webkit-appearance:none;appearance:none;margin:0;border-radius:inherit;outline:none;box-shadow:inset 0 0,inset 0 0 var(--tui-background-neutral-1)}input[tuiSurfaceLayer]:checked{box-shadow:inset 0 0 0 calc(var(--tui-gap) / 2),inset 0 0 var(--tui-background-neutral-1)}input[tuiSurfaceLayer]:focus-visible{box-shadow:inset 0 0,inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-background-neutral-1)}input[tuiSurfaceLayer]:checked:focus-visible{filter:brightness(.7);box-shadow:inset 0 0 0 calc(var(--tui-gap) / 2),inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-background-neutral-1)}@media (hover: hover) and (pointer: fine){[tuiSurface]:hover input[tuiSurfaceLayer]{box-shadow:inset 0 0,inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-background-neutral-1)}[tuiSurface]:hover input[tuiSurfaceLayer]:checked{filter:brightness(.9);box-shadow:inset 0 0 0 calc(var(--tui-gap) / 2),inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-background-neutral-1)}}[tuiSurface][data-appearance=floating]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active{box-shadow:var(--tui-shadow-small);transform:scale(.95)}@media (hover: hover) and (pointer: fine){[tuiSurface][data-appearance=floating]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover{box-shadow:var(--tui-shadow-small-hover);transform:translate3d(0,-.25rem,0);background:var(--tui-background-elevation-2)}}[tuiSurface][data-appearance=neutral]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active{transform:scale(.95)}@media (hover: hover) and (pointer: fine){[tuiSurface][data-appearance=neutral]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover{transform:scale(1.15)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
8
+ }
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: Styles, decorators: [{
10
+ type: Component,
11
+ args: [{ template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'tui-surface' }, styles: ["[tuiSurface]{transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;--tui-gap: .25rem;position:relative;box-sizing:border-box;background:none no-repeat;background-size:cover;overflow:hidden;isolation:isolate;-webkit-appearance:none;appearance:none;border:0;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:backdrop-filter,background,border-radius,box-shadow,mask,transform!important}[tuiSurface]:focus-visible{outline-color:var(--tui-border-focus)}@supports (not (-moz-appearance: none)) and (not (-webkit-hyphens: none)){[tuiSurface]:before{mix-blend-mode:multiply}}button[tuiSurface]{cursor:pointer}[tuiSurface]:before,[tuiSurface]:after,[tuiSurfaceLayer]:before,[tuiSurfaceLayer]:after{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";z-index:-1;border-radius:inherit;pointer-events:none;background-size:cover;background-repeat:no-repeat;transition-property:opacity,backdrop-filter,transform}[tuiSurfaceLayer]{transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;top:0;left:0;inline-size:100%;block-size:100%;position:absolute!important;z-index:-1;object-fit:cover;border-radius:inherit;box-sizing:border-box;transition-property:box-shadow,filter,padding}input[tuiSurfaceLayer]+[tuiSurfaceLayer]{will-change:padding;background-clip:content-box;overflow:clip;overflow-clip-margin:content-box}input[tuiSurfaceLayer]:checked+[tuiSurfaceLayer]{padding:var(--tui-gap)}input[tuiSurfaceLayer]:focus-visible+[tuiSurfaceLayer]{padding:var(--tui-gap)}@media (hover: hover) and (pointer: fine){[tuiSurface]:hover input[tuiSurfaceLayer]+[tuiSurfaceLayer]{padding:var(--tui-gap)}}input[tuiSurfaceLayer]{color:var(--tui-background-accent-2);-webkit-appearance:none;appearance:none;margin:0;border-radius:inherit;outline:none;box-shadow:inset 0 0,inset 0 0 var(--tui-background-neutral-1)}input[tuiSurfaceLayer]:checked{box-shadow:inset 0 0 0 calc(var(--tui-gap) / 2),inset 0 0 var(--tui-background-neutral-1)}input[tuiSurfaceLayer]:focus-visible{box-shadow:inset 0 0,inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-background-neutral-1)}input[tuiSurfaceLayer]:checked:focus-visible{filter:brightness(.7);box-shadow:inset 0 0 0 calc(var(--tui-gap) / 2),inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-background-neutral-1)}@media (hover: hover) and (pointer: fine){[tuiSurface]:hover input[tuiSurfaceLayer]{box-shadow:inset 0 0,inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-background-neutral-1)}[tuiSurface]:hover input[tuiSurfaceLayer]:checked{filter:brightness(.9);box-shadow:inset 0 0 0 calc(var(--tui-gap) / 2),inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-background-neutral-1)}}[tuiSurface][data-appearance=floating]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active{box-shadow:var(--tui-shadow-small);transform:scale(.95)}@media (hover: hover) and (pointer: fine){[tuiSurface][data-appearance=floating]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover{box-shadow:var(--tui-shadow-small-hover);transform:translate3d(0,-.25rem,0);background:var(--tui-background-elevation-2)}}[tuiSurface][data-appearance=neutral]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active{transform:scale(.95)}@media (hover: hover) and (pointer: fine){[tuiSurface][data-appearance=neutral]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover{transform:scale(1.15)}}\n"] }]
12
+ }] });
13
+ class TuiSurface {
14
+ constructor() {
15
+ this.nothing = tuiWithStyles(Styles);
16
+ }
17
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiSurface, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
18
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.17", type: TuiSurface, isStandalone: true, selector: "[tuiSurface]", host: { attributes: { "tuiSurface": "" } }, ngImport: i0 }); }
19
+ }
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiSurface, decorators: [{
21
+ type: Directive,
22
+ args: [{
23
+ selector: '[tuiSurface]',
24
+ host: { tuiSurface: '' },
25
+ }]
26
+ }] });
27
+
28
+ /**
29
+ * Generated bundle index. Do not edit.
30
+ */
31
+
32
+ export { TuiSurface };
33
+ //# sourceMappingURL=taiga-ui-layout-components-surface.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-layout-components-surface.mjs","sources":["../../../projects/layout/components/surface/surface.directive.ts","../../../projects/layout/components/surface/taiga-ui-layout-components-surface.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: './surface.style.less',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'tui-surface'},\n})\nclass Styles {}\n\n@Directive({\n selector: '[tuiSurface]',\n host: {tuiSurface: ''},\n})\nexport class TuiSurface {\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,iHANE,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,+jHAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;4FAMV,MAAM,EAAA,UAAA,EAAA,CAAA;kBAPX,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAE,EAEG,aAAA,EAAA,iBAAiB,CAAC,IAAI,EACpB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EACzC,IAAA,EAAA,EAAC,KAAK,EAAE,aAAa,EAAC,EAAA,MAAA,EAAA,CAAA,+jHAAA,CAAA,EAAA;;MAQnB,UAAU,CAAA;AAJvB,IAAA,WAAA,GAAA;AAKuB,QAAA,IAAA,CAAA,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC;AACrD;+GAFY,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAV,UAAU,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,YAAA,EAAA,EAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAV,UAAU,EAAA,UAAA,EAAA,CAAA;kBAJtB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,cAAc;AACxB,oBAAA,IAAI,EAAE,EAAC,UAAU,EAAE,EAAE,EAAC;AACzB,iBAAA;;;ACpBD;;AAEG;;;;"}
@@ -2,14 +2,18 @@ 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';
6
+ export * from '@taiga-ui/layout/components/elastic-container';
7
+ export * from '@taiga-ui/layout/components/floating-container';
7
8
  export * from '@taiga-ui/layout/components/form';
8
9
  export * from '@taiga-ui/layout/components/header';
9
10
  export * from '@taiga-ui/layout/components/input-search';
10
11
  export * from '@taiga-ui/layout/components/item-group';
11
12
  export * from '@taiga-ui/layout/components/navigation';
13
+ export * from '@taiga-ui/layout/components/pdf-viewer';
12
14
  export * from '@taiga-ui/layout/components/search';
15
+ export * from '@taiga-ui/layout/components/slides';
16
+ export * from '@taiga-ui/layout/components/surface';
13
17
 
14
18
  /**
15
19
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-layout-components.mjs","sources":["../../../projects/layout/components/taiga-ui-layout-components.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;AAEG"}
1
+ {"version":3,"file":"taiga-ui-layout-components.mjs","sources":["../../../projects/layout/components/taiga-ui-layout-components.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;AAEG"}
@@ -1,17 +1,12 @@
1
+ import { tuiCreateOptions } from '@taiga-ui/cdk/utils/di';
1
2
  import { InjectionToken } from '@angular/core';
2
- import { tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
3
3
  import { tuiExtractI18n } from '@taiga-ui/i18n/utils';
4
4
 
5
5
  const LAYOUT_ICONS = {
6
6
  filter: '@tui.filter',
7
7
  grid: '@tui.layout-grid',
8
8
  };
9
- const TUI_LAYOUT_ICONS = new InjectionToken(ngDevMode ? 'TUI_LAYOUT_ICONS' : '', {
10
- factory: () => LAYOUT_ICONS,
11
- });
12
- function tuiLayoutIconsProvider(icons) {
13
- return tuiProvideOptions(TUI_LAYOUT_ICONS, icons, LAYOUT_ICONS);
14
- }
9
+ const [TUI_LAYOUT_ICONS, tuiLayoutIconsProvider] = tuiCreateOptions(LAYOUT_ICONS);
15
10
  /**
16
11
  * @deprecated use {@link TUI_LAYOUT_ICONS} instead
17
12
  */
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-layout-tokens.mjs","sources":["../../../projects/layout/tokens/common-icons.ts","../../../projects/layout/tokens/i18n.ts","../../../projects/layout/tokens/taiga-ui-layout-tokens.ts"],"sourcesContent":["import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\n\nconst LAYOUT_ICONS: TuiLayoutIcons = {\n filter: '@tui.filter',\n grid: '@tui.layout-grid',\n};\n\nexport interface TuiLayoutIcons {\n readonly filter: string;\n readonly grid: string;\n}\n\nexport const TUI_LAYOUT_ICONS = new InjectionToken(ngDevMode ? 'TUI_LAYOUT_ICONS' : '', {\n factory: () => LAYOUT_ICONS,\n});\n\nexport function tuiLayoutIconsProvider(icons: Partial<TuiLayoutIcons>): Provider {\n return tuiProvideOptions(TUI_LAYOUT_ICONS, icons, LAYOUT_ICONS);\n}\n\n/**\n * @deprecated use {@link TUI_LAYOUT_ICONS} instead\n */\nexport const TUI_COMMON_ICONS = TUI_LAYOUT_ICONS;\n\n/**\n * @deprecated use {@link tuiLayoutIconsProvider} instead\n */\nexport const tuiCommonIconsProvider = tuiLayoutIconsProvider;\n\n/**\n * @deprecated use {@link TuiLayoutIcons} instead\n */\nexport type TuiCommonIcons = TuiLayoutIcons;\n","import {InjectionToken} from '@angular/core';\nimport {tuiExtractI18n} from '@taiga-ui/i18n/utils';\n\nexport const TUI_INPUT_SEARCH = new InjectionToken(ngDevMode ? 'TUI_INPUT_SEARCH' : '', {\n factory: tuiExtractI18n('inputSearch'),\n});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA,MAAM,YAAY,GAAmB;AACjC,IAAA,MAAM,EAAE,aAAa;AACrB,IAAA,IAAI,EAAE,kBAAkB;CAC3B,CAAC;AAOW,MAAA,gBAAgB,GAAG,IAAI,cAAc,CAAC,SAAS,GAAG,kBAAkB,GAAG,EAAE,EAAE;AACpF,IAAA,OAAO,EAAE,MAAM,YAAY;AAC9B,CAAA,EAAE;AAEG,SAAU,sBAAsB,CAAC,KAA8B,EAAA;IACjE,OAAO,iBAAiB,CAAC,gBAAgB,EAAE,KAAK,EAAE,YAAY,CAAC,CAAC;AACpE,CAAC;AAED;;AAEG;AACI,MAAM,gBAAgB,GAAG,iBAAiB;AAEjD;;AAEG;AACI,MAAM,sBAAsB,GAAG;;AC1BzB,MAAA,gBAAgB,GAAG,IAAI,cAAc,CAAC,SAAS,GAAG,kBAAkB,GAAG,EAAE,EAAE;AACpF,IAAA,OAAO,EAAE,cAAc,CAAC,aAAa,CAAC;AACzC,CAAA;;ACLD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-layout-tokens.mjs","sources":["../../../projects/layout/tokens/common-icons.ts","../../../projects/layout/tokens/i18n.ts","../../../projects/layout/tokens/taiga-ui-layout-tokens.ts"],"sourcesContent":["import {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\n\nconst LAYOUT_ICONS: TuiLayoutIcons = {\n filter: '@tui.filter',\n grid: '@tui.layout-grid',\n};\n\nexport interface TuiLayoutIcons {\n readonly filter: string;\n readonly grid: string;\n}\n\nexport const [TUI_LAYOUT_ICONS, tuiLayoutIconsProvider] = tuiCreateOptions(LAYOUT_ICONS);\n\n/**\n * @deprecated use {@link TUI_LAYOUT_ICONS} instead\n */\nexport const TUI_COMMON_ICONS = TUI_LAYOUT_ICONS;\n\n/**\n * @deprecated use {@link tuiLayoutIconsProvider} instead\n */\nexport const tuiCommonIconsProvider = tuiLayoutIconsProvider;\n\n/**\n * @deprecated use {@link TuiLayoutIcons} instead\n */\nexport type TuiCommonIcons = TuiLayoutIcons;\n","import {InjectionToken} from '@angular/core';\nimport {tuiExtractI18n} from '@taiga-ui/i18n/utils';\n\nexport const TUI_INPUT_SEARCH = new InjectionToken(ngDevMode ? 'TUI_INPUT_SEARCH' : '', {\n factory: tuiExtractI18n('inputSearch'),\n});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAEA,MAAM,YAAY,GAAmB;AACjC,IAAA,MAAM,EAAE,aAAa;AACrB,IAAA,IAAI,EAAE,kBAAkB;CAC3B;AAOM,MAAM,CAAC,gBAAgB,EAAE,sBAAsB,CAAC,GAAG,gBAAgB,CAAC,YAAY;AAEvF;;AAEG;AACI,MAAM,gBAAgB,GAAG;AAEhC;;AAEG;AACI,MAAM,sBAAsB,GAAG;;ACnBzB,MAAA,gBAAgB,GAAG,IAAI,cAAc,CAAC,SAAS,GAAG,kBAAkB,GAAG,EAAE,EAAE;AACpF,IAAA,OAAO,EAAE,cAAc,CAAC,aAAa,CAAC;AACzC,CAAA;;ACLD;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/layout",
3
- "version": "4.65.0",
3
+ "version": "5.0.0-canary.8b64ec1",
4
4
  "description": "A package with Taiga UI layout components",
5
5
  "keywords": [
6
6
  "angular",
@@ -8,15 +8,18 @@
8
8
  "layout"
9
9
  ],
10
10
  "homepage": "https://github.com/taiga-family/taiga-ui",
11
- "repository": "https://github.com/taiga-family/taiga-ui",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/taiga-family/taiga-ui"
14
+ },
12
15
  "license": "Apache-2.0",
13
16
  "peerDependencies": {
14
- "@angular/common": ">=16.0.0",
15
- "@angular/core": ">=16.0.0",
16
- "@taiga-ui/cdk": "^4.65.0",
17
- "@taiga-ui/core": "^4.65.0",
18
- "@taiga-ui/kit": "^4.65.0",
19
- "@taiga-ui/polymorpheus": "^4.9.0",
17
+ "@angular/common": ">=19.0.0",
18
+ "@angular/core": ">=19.0.0",
19
+ "@taiga-ui/cdk": "^5.0.0-rc.0",
20
+ "@taiga-ui/core": "^5.0.0-rc.0",
21
+ "@taiga-ui/kit": "^5.0.0-rc.0",
22
+ "@taiga-ui/polymorpheus": "^5.0.0",
20
23
  "rxjs": ">=7.0.0"
21
24
  },
22
25
  "module": "fesm2022/taiga-ui-layout.mjs",
@@ -27,93 +30,79 @@
27
30
  },
28
31
  ".": {
29
32
  "types": "./index.d.ts",
30
- "esm2022": "./esm2022/taiga-ui-layout.mjs",
31
- "esm": "./esm2022/taiga-ui-layout.mjs",
32
33
  "default": "./fesm2022/taiga-ui-layout.mjs"
33
34
  },
34
35
  "./components": {
35
36
  "types": "./components/index.d.ts",
36
- "esm2022": "./esm2022/components/taiga-ui-layout-components.mjs",
37
- "esm": "./esm2022/components/taiga-ui-layout-components.mjs",
38
37
  "default": "./fesm2022/taiga-ui-layout-components.mjs"
39
38
  },
40
39
  "./tokens": {
41
40
  "types": "./tokens/index.d.ts",
42
- "esm2022": "./esm2022/tokens/taiga-ui-layout-tokens.mjs",
43
- "esm": "./esm2022/tokens/taiga-ui-layout-tokens.mjs",
44
41
  "default": "./fesm2022/taiga-ui-layout-tokens.mjs"
45
42
  },
46
43
  "./components/app-bar": {
47
44
  "types": "./components/app-bar/index.d.ts",
48
- "esm2022": "./esm2022/components/app-bar/taiga-ui-layout-components-app-bar.mjs",
49
- "esm": "./esm2022/components/app-bar/taiga-ui-layout-components-app-bar.mjs",
50
45
  "default": "./fesm2022/taiga-ui-layout-components-app-bar.mjs"
51
46
  },
52
47
  "./components/block-details": {
53
48
  "types": "./components/block-details/index.d.ts",
54
- "esm2022": "./esm2022/components/block-details/taiga-ui-layout-components-block-details.mjs",
55
- "esm": "./esm2022/components/block-details/taiga-ui-layout-components-block-details.mjs",
56
49
  "default": "./fesm2022/taiga-ui-layout-components-block-details.mjs"
57
50
  },
58
51
  "./components/block-status": {
59
52
  "types": "./components/block-status/index.d.ts",
60
- "esm2022": "./esm2022/components/block-status/taiga-ui-layout-components-block-status.mjs",
61
- "esm": "./esm2022/components/block-status/taiga-ui-layout-components-block-status.mjs",
62
53
  "default": "./fesm2022/taiga-ui-layout-components-block-status.mjs"
63
54
  },
64
55
  "./components/card": {
65
56
  "types": "./components/card/index.d.ts",
66
- "esm2022": "./esm2022/components/card/taiga-ui-layout-components-card.mjs",
67
- "esm": "./esm2022/components/card/taiga-ui-layout-components-card.mjs",
68
57
  "default": "./fesm2022/taiga-ui-layout-components-card.mjs"
69
58
  },
70
- "./components/cell": {
71
- "types": "./components/cell/index.d.ts",
72
- "esm2022": "./esm2022/components/cell/taiga-ui-layout-components-cell.mjs",
73
- "esm": "./esm2022/components/cell/taiga-ui-layout-components-cell.mjs",
74
- "default": "./fesm2022/taiga-ui-layout-components-cell.mjs"
75
- },
76
59
  "./components/dynamic-header": {
77
60
  "types": "./components/dynamic-header/index.d.ts",
78
- "esm2022": "./esm2022/components/dynamic-header/taiga-ui-layout-components-dynamic-header.mjs",
79
- "esm": "./esm2022/components/dynamic-header/taiga-ui-layout-components-dynamic-header.mjs",
80
61
  "default": "./fesm2022/taiga-ui-layout-components-dynamic-header.mjs"
81
62
  },
63
+ "./components/elastic-container": {
64
+ "types": "./components/elastic-container/index.d.ts",
65
+ "default": "./fesm2022/taiga-ui-layout-components-elastic-container.mjs"
66
+ },
67
+ "./components/floating-container": {
68
+ "types": "./components/floating-container/index.d.ts",
69
+ "default": "./fesm2022/taiga-ui-layout-components-floating-container.mjs"
70
+ },
82
71
  "./components/form": {
83
72
  "types": "./components/form/index.d.ts",
84
- "esm2022": "./esm2022/components/form/taiga-ui-layout-components-form.mjs",
85
- "esm": "./esm2022/components/form/taiga-ui-layout-components-form.mjs",
86
73
  "default": "./fesm2022/taiga-ui-layout-components-form.mjs"
87
74
  },
88
75
  "./components/header": {
89
76
  "types": "./components/header/index.d.ts",
90
- "esm2022": "./esm2022/components/header/taiga-ui-layout-components-header.mjs",
91
- "esm": "./esm2022/components/header/taiga-ui-layout-components-header.mjs",
92
77
  "default": "./fesm2022/taiga-ui-layout-components-header.mjs"
93
78
  },
94
79
  "./components/input-search": {
95
80
  "types": "./components/input-search/index.d.ts",
96
- "esm2022": "./esm2022/components/input-search/taiga-ui-layout-components-input-search.mjs",
97
- "esm": "./esm2022/components/input-search/taiga-ui-layout-components-input-search.mjs",
98
81
  "default": "./fesm2022/taiga-ui-layout-components-input-search.mjs"
99
82
  },
100
83
  "./components/item-group": {
101
84
  "types": "./components/item-group/index.d.ts",
102
- "esm2022": "./esm2022/components/item-group/taiga-ui-layout-components-item-group.mjs",
103
- "esm": "./esm2022/components/item-group/taiga-ui-layout-components-item-group.mjs",
104
85
  "default": "./fesm2022/taiga-ui-layout-components-item-group.mjs"
105
86
  },
106
87
  "./components/navigation": {
107
88
  "types": "./components/navigation/index.d.ts",
108
- "esm2022": "./esm2022/components/navigation/taiga-ui-layout-components-navigation.mjs",
109
- "esm": "./esm2022/components/navigation/taiga-ui-layout-components-navigation.mjs",
110
89
  "default": "./fesm2022/taiga-ui-layout-components-navigation.mjs"
111
90
  },
112
91
  "./components/search": {
113
92
  "types": "./components/search/index.d.ts",
114
- "esm2022": "./esm2022/components/search/taiga-ui-layout-components-search.mjs",
115
- "esm": "./esm2022/components/search/taiga-ui-layout-components-search.mjs",
116
93
  "default": "./fesm2022/taiga-ui-layout-components-search.mjs"
94
+ },
95
+ "./components/pdf-viewer": {
96
+ "types": "./components/pdf-viewer/index.d.ts",
97
+ "default": "./fesm2022/taiga-ui-layout-components-pdf-viewer.mjs"
98
+ },
99
+ "./components/slides": {
100
+ "types": "./components/slides/index.d.ts",
101
+ "default": "./fesm2022/taiga-ui-layout-components-slides.mjs"
102
+ },
103
+ "./components/surface": {
104
+ "types": "./components/surface/index.d.ts",
105
+ "default": "./fesm2022/taiga-ui-layout-components-surface.mjs"
117
106
  }
118
107
  },
119
108
  "sideEffects": false,
@@ -1,18 +1,16 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
1
  export interface TuiLayoutIcons {
3
2
  readonly filter: string;
4
3
  readonly grid: string;
5
4
  }
6
- export declare const TUI_LAYOUT_ICONS: InjectionToken<TuiLayoutIcons>;
7
- export declare function tuiLayoutIconsProvider(icons: Partial<TuiLayoutIcons>): Provider;
5
+ export declare const TUI_LAYOUT_ICONS: import("@angular/core").InjectionToken<TuiLayoutIcons>, tuiLayoutIconsProvider: (item: Partial<TuiLayoutIcons> | (() => Partial<TuiLayoutIcons>)) => import("@angular/core").FactoryProvider;
8
6
  /**
9
7
  * @deprecated use {@link TUI_LAYOUT_ICONS} instead
10
8
  */
11
- export declare const TUI_COMMON_ICONS: InjectionToken<TuiLayoutIcons>;
9
+ export declare const TUI_COMMON_ICONS: import("@angular/core").InjectionToken<TuiLayoutIcons>;
12
10
  /**
13
11
  * @deprecated use {@link tuiLayoutIconsProvider} instead
14
12
  */
15
- export declare const tuiCommonIconsProvider: typeof tuiLayoutIconsProvider;
13
+ export declare const tuiCommonIconsProvider: (item: Partial<TuiLayoutIcons> | (() => Partial<TuiLayoutIcons>)) => import("@angular/core").FactoryProvider;
16
14
  /**
17
15
  * @deprecated use {@link TuiLayoutIcons} instead
18
16
  */
package/tokens/i18n.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- export declare const TUI_INPUT_SEARCH: InjectionToken<import("rxjs").Observable<{
2
+ export declare const TUI_INPUT_SEARCH: InjectionToken<import("@angular/core").Signal<{
3
3
  popular: string;
4
4
  history: string;
5
5
  placeholder: string;
@@ -1,10 +0,0 @@
1
- import { type TuiCellOptions } from './cell.options';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiCell {
4
- protected readonly options: TuiCellOptions;
5
- protected readonly nothing: undefined;
6
- size: TuiCellOptions['size'] | '';
7
- height: TuiCellOptions['height'];
8
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiCell, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiCell, "[tuiCell]:not(ng-template)", never, { "size": { "alias": "tuiCell"; "required": false; }; "height": { "alias": "tuiCellHeight"; "required": false; }; }, {}, never, never, true, never>;
10
- }
@@ -1,6 +0,0 @@
1
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
2
- export interface TuiCellOptions {
3
- readonly height: 'compact' | 'normal' | 'spacious';
4
- readonly size: TuiSizeL | TuiSizeS;
5
- }
6
- export declare const TUI_CELL_OPTIONS: import("@angular/core").InjectionToken<TuiCellOptions>, tuiCellOptionsProvider: (item: Partial<TuiCellOptions> | import("@angular/core").ProviderToken<Partial<TuiCellOptions>> | (() => Partial<TuiCellOptions>)) => import("@angular/core").FactoryProvider;
@@ -1,2 +0,0 @@
1
- export * from './cell.directive';
2
- export * from './cell.options';
@@ -1,20 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, inject } from '@angular/core';
2
- import { TuiIcon } from '@taiga-ui/core/components/icon';
3
- import { tuiAppearanceOptionsProvider, TuiWithAppearance, } from '@taiga-ui/core/directives/appearance';
4
- import { TUI_SPIN_ICONS } from '@taiga-ui/core/tokens';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@taiga-ui/core/directives/appearance";
7
- class TuiAppBarBack {
8
- constructor() {
9
- this.icons = inject(TUI_SPIN_ICONS);
10
- this.appearance = 'link';
11
- }
12
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAppBarBack, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
13
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiAppBarBack, isStandalone: true, selector: "button[tuiAppBarBack], a[tuiAppBarBack]", providers: [tuiAppearanceOptionsProvider(TuiAppBarBack)], hostDirectives: [{ directive: i1.TuiWithAppearance }], ngImport: i0, template: "<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", styles: [":host{-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font:inherit;line-height:inherit;text-decoration:none;display:flex;align-items:center;padding:0 1rem 0 0;cursor:pointer}:host :host-context([data-platform=\"web\"] tui-dialog){padding:0 .5rem}:host :host-context([data-platform=\"android\"]){font-size:0;padding:0 1rem}:host :host-context([data-platform=\"android\"]) .t-android{display:block}:host :host-context([data-platform=\"android\"]) .t-web{display:none}:host :host-context([data-platform=\"ios\"]) .t-ios{display:block;margin-inline-start:.5rem}:host :host-context([data-platform=\"ios\"]) .t-web{display:none}.t-web{transform:scaleX(var(--tui-inline))}.t-android,.t-ios{display:none}\n"], dependencies: [{ kind: "component", type: TuiIcon, selector: "tui-icon", inputs: ["icon", "background"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
14
- }
15
- export { TuiAppBarBack };
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAppBarBack, decorators: [{
17
- type: Component,
18
- args: [{ standalone: true, selector: 'button[tuiAppBarBack], a[tuiAppBarBack]', imports: [TuiIcon], changeDetection: ChangeDetectionStrategy.OnPush, providers: [tuiAppearanceOptionsProvider(TuiAppBarBack)], hostDirectives: [TuiWithAppearance], template: "<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", styles: [":host{-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font:inherit;line-height:inherit;text-decoration:none;display:flex;align-items:center;padding:0 1rem 0 0;cursor:pointer}:host :host-context([data-platform=\"web\"] tui-dialog){padding:0 .5rem}:host :host-context([data-platform=\"android\"]){font-size:0;padding:0 1rem}:host :host-context([data-platform=\"android\"]) .t-android{display:block}:host :host-context([data-platform=\"android\"]) .t-web{display:none}:host :host-context([data-platform=\"ios\"]) .t-ios{display:block;margin-inline-start:.5rem}:host :host-context([data-platform=\"ios\"]) .t-web{display:none}.t-web{transform:scaleX(var(--tui-inline))}.t-android,.t-ios{display:none}\n"] }]
19
- }] });
20
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWJhci1iYWNrLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2xheW91dC9jb21wb25lbnRzL2FwcC1iYXIvYXBwLWJhci1iYWNrLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2xheW91dC9jb21wb25lbnRzL2FwcC1iYXIvYXBwLWJhci1iYWNrLnRlbXBsYXRlLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDekUsT0FBTyxFQUFDLE9BQU8sRUFBQyxNQUFNLGdDQUFnQyxDQUFDO0FBQ3ZELE9BQU8sRUFFSCw0QkFBNEIsRUFDNUIsaUJBQWlCLEdBQ3BCLE1BQU0sc0NBQXNDLENBQUM7QUFDOUMsT0FBTyxFQUFDLGNBQWMsRUFBQyxNQUFNLHVCQUF1QixDQUFDOzs7QUFFckQsTUFVYSxhQUFhO0lBVjFCO1FBV3VCLFVBQUssR0FBRyxNQUFNLENBQUMsY0FBYyxDQUFDLENBQUM7UUFFbEMsZUFBVSxHQUFHLE1BQU0sQ0FBQztLQUN2QzsrR0FKWSxhQUFhO21HQUFiLGFBQWEsc0ZBSFgsQ0FBQyw0QkFBNEIsQ0FBQyxhQUFhLENBQUMsQ0FBQyxpRkNoQjVELHl2Q0E2QkEsK3dCRGpCYyxPQUFPOztTQU9SLGFBQWE7NEZBQWIsYUFBYTtrQkFWekIsU0FBUztpQ0FDTSxJQUFJLFlBQ04seUNBQXlDLFdBQzFDLENBQUMsT0FB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wMDAvc3ZnXCJcbiAgICBjbGFzcz1cInQtYW5kcm9pZFwiXG4+XG4gICAgPHBhdGhcbiAgICAgICAgZD1cIk0xOS42OTk5IDExLjU4OTlDMTkuNjk5OSAxMS4wMzc3IDE5LjI1MjIgMTAuNTg5OSAxOC42OTk5IDEwLjU4OTlINy40OTk5MkwxMi4zOTk5IDUuNjg5OTVDMTIuNzg2NSA1LjMwMzM1IDEyLjc4NjUgNC42NzY1NSAxMi4zOTk5IDQuMjg5OTVWNC4yODk5NUMxMi4wMTMzIDMuOTAzMzUgMTEuMzg2NSAzLjkwMzM1IDEwLjk5OTkgNC4yODk5NUw0LjQwNzAzIDEwLjg4MjhDNC4wMTY1IDExLjI3MzQgNC4wMTY1MSAxMS45MDY1IDQuNDA3MDMgMTIuMjk3MUwxMC45OTk5IDE4Ljg5QzExLjM4NjUgMTkuMjc2NSAxMi4wMTMzIDE5LjI3NjUgMTIuMzk5OSAxOC44ODk5VjE4Ljg4OTlDMTIuNzg2NSAxOC41MDM0IDEyLjc4NjUgMTcuODc2NSAxMi4zOTk5IDE3LjQ5TDcuNDk5OTIgMTIuNTg5OUgxOC42OTk5QzE5LjI1MjIgMTIuNTg5OSAxOS42OTk5IDEyLjE0MjIgMTkuNjk5OSAxMS41ODk5VjExLjU4OTlaXCJcbiAgICAgICAgZmlsbD1cImN1cnJlbnRDb2xvclwiXG4gICAgLz5cbjwvc3ZnPlxuPHR1aS1pY29uXG4gICAgY2xhc3M9XCJ0LXdlYlwiXG4gICAgW2ljb25dPVwiaWNvbnMuZGVjcmVtZW50XCJcbi8+XG48bmctY29udGVudCAvPlxuIl19
@@ -1,24 +0,0 @@
1
- import { Directive, inject } from '@angular/core';
2
- import { toSignal } from '@angular/core/rxjs-interop';
3
- import { tuiDirectiveBinding } from '@taiga-ui/cdk/utils/miscellaneous';
4
- import { TuiBreakpointService } from '@taiga-ui/core/services';
5
- import { map } from 'rxjs';
6
- import { TuiAppBarComponent } from './app-bar.component';
7
- import * as i0 from "@angular/core";
8
- // TODO: Make size automatic based on tuiPlatform in v5
9
- class TuiAppBarSizeDirective {
10
- constructor() {
11
- this.size = tuiDirectiveBinding(TuiAppBarComponent, 'size', toSignal(inject(TuiBreakpointService).pipe(map((breakpoint) => (breakpoint === 'mobile' ? 'm' : 'l'))), { initialValue: 'm' }));
12
- }
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAppBarSizeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
14
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiAppBarSizeDirective, isStandalone: true, selector: "tui-app-bar[tuiAppBarSize]", ngImport: i0 }); }
15
- }
16
- export { TuiAppBarSizeDirective };
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAppBarSizeDirective, decorators: [{
18
- type: Directive,
19
- args: [{
20
- standalone: true,
21
- selector: 'tui-app-bar[tuiAppBarSize]',
22
- }]
23
- }] });
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWJhci1zaXplLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2xheW91dC9jb21wb25lbnRzL2FwcC1iYXIvYXBwLWJhci1zaXplLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLE1BQU0sRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUNoRCxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sNEJBQTRCLENBQUM7QUFDcEQsT0FBTyxFQUFDLG1CQUFtQixFQUFDLE1BQU0sbUNBQW1DLENBQUM7QUFDdEUsT0FBTyxFQUFDLG9CQUFvQixFQUF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c7XG5pbXBvcnQge21hcH0gZnJvbSAncnhqcyc7XG5cbmltcG9ydCB7VHVpQXBwQmFyQ29tcG9uZW50fSBmcm9tICcuL2FwcC1iYXIuY29tcG9uZW50JztcblxuLy8gVE9ETzogTWFrZSBzaXplIGF1dG9tYXRpYyBiYXNlZCBvbiB0dWlQbGF0Zm9ybSBpbiB2NVxuQERpcmVjdGl2ZSh7XG4gICAgc3RhbmRhbG9uZTogdHJ1ZSxcbiAgICBzZWxlY3RvcjogJ3R1aS1hcHAtYmFyW3R1aUFwcEJhclNpemVdJyxcbn0pXG5leHBvcnQgY2xhc3MgVHVpQXBwQmFyU2l6ZURpcmVjdGl2ZSB7XG4gICAgcHJvdGVjdGVkIHJlYWRvbmx5IHNpemUgPSB0dWlEaXJlY3RpdmVCaW5kaW5nKFxuICAgICAgICBUdWlBcHBCYXJDb21wb25lbnQsXG4gICAgICAgICdzaXplJyxcbiAgICAgICAgdG9TaWduYWwoXG4gICAgICAgICAgICBpbmplY3QoVHVpQnJlYWtwb2ludFNlcnZpY2UpLnBpcGUoXG4gICAgICAgICAgICAgICAgbWFwKChicmVha3BvaW50KSA9PiAoYnJlYWtwb2ludCA9PT0gJ21vYmlsZScgPyAnbScgOiAnbCcpKSxcbiAgICAgICAgICAgICksXG4gICAgICAgICAgICB7aW5pdGlhbFZhbHVlOiAnbScgYXMgY29uc3R9LFxuICAgICAgICApLFxuICAgICk7XG59XG4iXX0=
@@ -1,39 +0,0 @@
1
- import { AsyncPipe } from '@angular/common';
2
- import { ChangeDetectionStrategy, Component, inject, Input, ViewChildren, ViewEncapsulation, } from '@angular/core';
3
- import { MutationObserverService } from '@ng-web-apis/mutation-observer';
4
- import { ResizeObserverService } from '@ng-web-apis/resize-observer';
5
- import { EMPTY_QUERY } from '@taiga-ui/cdk/constants';
6
- import { tuiZonefull } from '@taiga-ui/cdk/observables';
7
- import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
8
- import { TuiFade } from '@taiga-ui/kit/directives/fade';
9
- import { map, merge } from 'rxjs';
10
- import { TUI_APP_BAR_PROVIDERS } from './app-bar.providers';
11
- import * as i0 from "@angular/core";
12
- class TuiAppBarComponent {
13
- constructor() {
14
- this.side = EMPTY_QUERY;
15
- this.el = tuiInjectElement();
16
- this.width$ = merge(inject(ResizeObserverService, { self: true }), inject(MutationObserverService, { self: true })).pipe(tuiZonefull(), map(() => 2 *
17
- Math.max(this.side.first?.nativeElement.clientWidth, this.side.last?.nativeElement.clientWidth)));
18
- this.size = 'm';
19
- }
20
- // TODO: Remove after :has support
21
- ngAfterViewInit() {
22
- this.el.closest('tui-dialog')?.classList.add('tui-app-bar');
23
- }
24
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAppBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
25
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiAppBarComponent, isStandalone: true, selector: "tui-app-bar", inputs: { size: "size" }, host: { properties: { "attr.data-size": "size" } }, providers: TUI_APP_BAR_PROVIDERS, viewQueries: [{ propertyName: "side", predicate: ["side"], descendants: 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:var(--tui-font-text-l);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[data-size=l] [tuiAppBarBack]{font:var(--tui-font-text-l)}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 }); }
26
- }
27
- export { TuiAppBarComponent };
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAppBarComponent, decorators: [{
29
- type: Component,
30
- args: [{ standalone: true, selector: 'tui-app-bar', imports: [AsyncPipe, TuiFade], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: TUI_APP_BAR_PROVIDERS, host: {
31
- '[attr.data-size]': 'size',
32
- }, 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:var(--tui-font-text-l);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[data-size=l] [tuiAppBarBack]{font:var(--tui-font-text-l)}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"] }]
33
- }], propDecorators: { side: [{
34
- type: ViewChildren,
35
- args: ['side']
36
- }], size: [{
37
- type: Input
38
- }] } });
39
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sYXlvdXQvY29tcG9uZW50cy9hcHAtYmFyL2FwcC1iYXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbGF5b3V0L2NvbXBvbmVudHMvYXBwLWJhci9hcHAtYmFyLnRlbXBsYXRlLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQzFDLE9BQU8sRUFFSCx1QkFBdUIsRUFDdkIsU0FBUyxFQUVULE1BQU0sRUFDTixLQUFLLEVBRUwsWUFBWSxFQUNaLGlCQUFpQixHQUNwQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUMsdUJBQXVCLEVBQUMsTUFBTSxnQ0FBZ0MsQ0FBQztBQUN2RSxPQUFPLEVBQUMscUJBQXFCLEVBQUMsTUFBTSw4QkFBOEIsQ0FBQztBQUNuRSxPQUFPLEVBQUMsV0FBVyxFQUFDLE1BQU0seUJBQXlCLENBQUM7QUFDcEQsT0FBTyxFQUFDLFdBQVcsRUFBQyxNQUFNLDJCQUEyQixDQUFDO0FBQ3RELE9BQU8sRUFBQyxnQkFBZ0IsRUFBQyxNQUFNLHlCQUF5QixDQUFDO0FBRXpELE9BQU8sRUFBQyxPQUFPLEVBQUMsTUFBTSwrQkFBK0IsQ0FBQztBQUN0RCxPQUFPLEVBQUMsR0FBRyxFQ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uPGRpdiAjc2lkZT5cbiAgICA8bmctY29udGVudCBzZWxlY3Q9XCJbdHVpU2xvdD0ncmlnaHQnXVwiIC8+XG48L2Rpdj5cbiJdfQ==
@@ -1,20 +0,0 @@
1
- import { Directive, Input } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- class TuiAppBarDirective {
4
- constructor() {
5
- this.tuiSlot = 'left';
6
- }
7
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAppBarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
8
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiAppBarDirective, isStandalone: true, selector: "[tuiSlot]", inputs: { tuiSlot: "tuiSlot" }, ngImport: i0 }); }
9
- }
10
- export { TuiAppBarDirective };
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAppBarDirective, decorators: [{
12
- type: Directive,
13
- args: [{
14
- standalone: true,
15
- selector: '[tuiSlot]',
16
- }]
17
- }], propDecorators: { tuiSlot: [{
18
- type: Input
19
- }] } });
20
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWJhci5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sYXlvdXQvY29tcG9uZW50cy9hcHAtYmFyL2FwcC1iYXIuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsS0FBSyxFQUFDLE1BQU0sZUFBZSxDQUFDOztBQUcvQyxNQUlhLGtCQUFrQjtJQUovQjtRQU1XLFlBQU8sR0FBb0MsTUFBTSxDQUFDO0tBQzVEOytHQUhZLGtCQUFrQjttR0FBbEIsa0JBQWtCOztTQUFsQixrQkFBa0I7NEZBQWxCLGtCQUFrQjtrQkFKOUIsU0FBUzttQkFBQztvQkFDUCxVQUFVLEVBQUUsSUFBSTtvQkFDaEIsUUFBUSxFQUFFLFdBQVc7aUJBQ3hCOzhCQUdVLE9BQU87c0JBRGIsS0FBSyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7RGlyZWN0aXZlLCBJbnB1dH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge3R5cGUgVHVpTG9vc2VVbmlvbn0gZnJvbSAnQHRhaWdhLXVpL2Nkay90eXBlcyc7XG5cbkBEaXJlY3RpdmUoe1xuICAgIHN0YW5kYWxvbmU6IHRydWUsXG4gICAgc2VsZWN0b3I6ICdbdHVpU2xvdF0nLFxufSlcbmV4cG9ydCBjbGFzcyBUdWlBcHBCYXJEaXJlY3RpdmUge1xuICAgIEBJbnB1dCgpXG4gICAgcHVibGljIHR1aVNsb3Q6IFR1aUxvb3NlVW5pb248J2xlZnQnIHwgJ3JpZ2h0Jz4gPSAnbGVmdCc7XG59XG4iXX0=
@@ -1,11 +0,0 @@
1
- import { TuiAppBarComponent } from './app-bar.component';
2
- import { TuiAppBarDirective } from './app-bar.directive';
3
- import { TuiAppBarBack } from './app-bar-back.component';
4
- import { TuiAppBarSizeDirective } from './app-bar-size.directive';
5
- export const TuiAppBar = [
6
- TuiAppBarComponent,
7
- TuiAppBarDirective,
8
- TuiAppBarBack,
9
- TuiAppBarSizeDirective,
10
- ];
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWJhci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2xheW91dC9jb21wb25lbnRzL2FwcC1iYXIvYXBwLWJhci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsa0JBQWtCLEVBQUMsTUFBTSxxQkFBcUIsQ0FBQztBQUN2RCxPQUFPLEVBQUMsa0JBQWtCLEVBQUMsTUFBTSxxQkFBcUIsQ0FBQztBQUN2RCxPQUFPLEVBQUMsYUFBYSxFQUFDLE1BQU0sMEJBQTBCLENBQUM7QUFDdkQsT0FBTyxFQUFDLHNCQUFzQixFQUFDLE1BQU0sMEJBQTBCLENBQUM7QUFFaEUsTUFBTSxDQUFDLE1BQU0sU0FBUyxHQUFHO0lBQ3JCLGtCQUFrQjtJQUNsQixrQkFBa0I7SUFDbEIsYUFBYTtJQUNiLHNCQUFzQjtDQUNoQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtUdWlBcHBCYXJDb21wb25lbnR9IGZyb20gJy4vYXBwLWJhci5jb21wb25lbnQnO1xuaW1wb3J0IHtUdWlBcHBCYXJEaXJlY3RpdmV9IGZyb20gJy4vYXBwLWJhci5kaXJlY3RpdmUnO1xuaW1wb3J0IHtUdWlBcHBCYXJCYWNrfSBmcm9tICcuL2FwcC1iYXItYmFjay5jb21wb25lbnQnO1xuaW1wb3J0IHtUdWlBcHBCYXJTaXplRGlyZWN0aXZlfSBmcm9tICcuL2FwcC1iYXItc2l6ZS5kaXJlY3RpdmUnO1xuXG5leHBvcnQgY29uc3QgVHVpQXBwQmFyID0gW1xuICAgIFR1aUFwcEJhckNvbXBvbmVudCxcbiAgICBUdWlBcHBCYXJEaXJlY3RpdmUsXG4gICAgVHVpQXBwQmFyQmFjayxcbiAgICBUdWlBcHBCYXJTaXplRGlyZWN0aXZlLFxuXSBhcyBjb25zdDtcbiJdfQ==
@@ -1,19 +0,0 @@
1
- import { MutationObserverService, WA_MUTATION_OBSERVER_INIT, } from '@ng-web-apis/mutation-observer';
2
- import { ResizeObserverService } from '@ng-web-apis/resize-observer';
3
- import { tuiButtonOptionsProvider } from '@taiga-ui/core/components/button';
4
- export const TUI_APP_BAR_PROVIDERS = [
5
- ResizeObserverService,
6
- MutationObserverService,
7
- {
8
- provide: WA_MUTATION_OBSERVER_INIT,
9
- useValue: {
10
- characterData: true,
11
- childList: true,
12
- subtree: true,
13
- },
14
- },
15
- tuiButtonOptionsProvider({
16
- appearance: 'action',
17
- }),
18
- ];
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWJhci5wcm92aWRlcnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sYXlvdXQvY29tcG9uZW50cy9hcHAtYmFyL2FwcC1iYXIucHJvdmlkZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIseUJBQXlCLEdBQzVCLE1BQU0sZ0NBQWdDLENBQUM7QUFDeEMsT0FBTyxFQUFDLHFCQUFxQixFQUFDLE1BQU0sOEJBQThCLENBQUM7QUFDbkUsT0FBTyxFQUFDLHdCQUF3QixFQUFDLE1BQU0sa0NBQWtDLENBQUM7QUFFMUUsTUFBTSxDQUFDLE1BQU0scUJBQXFCLEdBQWU7SUFDN0MscUJBQXFCO0lBQ3JCLHVCQUF1QjtJQUN2QjtRQUNJLE9BQU8sRUFBRSx5QkFBeUI7UUFDbEMsUUFBUSxFQUFFO1lBQ04sYUFBYSxFQUFFLElBQUk7WUFDbkIsU0FBUyxFQUFFLElBQUk7WUFDZixPQUFPLEVBQUUsSUFBSTtTQUNoQjtLQUNKO0lBQ0Qsd0JBQXdCLENBQUM7UUFDckIsVUFBVSxFQUFFLFFBQVE7S0FDdkIsQ0FBQztDQUNMLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge3R5cGUgUHJvdmlkZXJ9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHtcbiAgICBNdXRhdGlvbk9ic2VydmVyU2VydmljZSxcbiAgICBXQV9NVVRBVElPTl9PQlNFUlZFUl9JTklULFxufSBmcm9tICdAbmctd2ViLWFwaXMvbXV0YXRpb24tb2JzZXJ2ZXInO1xuaW1wb3J0IHtSZXNpemVPYnNlcnZlclNlcnZpY2V9IGZyb20gJ0BuZy13ZWItYXBpcy9yZXNpemUtb2JzZXJ2ZXInO1xuaW1wb3J0IHt0dWlCdXR0b25PcHRpb25zUHJvdmlkZXJ9IGZyb20gJ0B0YWlnYS11aS9jb3JlL2NvbXBvbmVudHMvYnV0dG9uJztcblxuZXhwb3J0IGNvbnN0IFRVSV9BUFBfQkFSX1BST1ZJREVSUzogUHJvdmlkZXJbXSA9IFtcbiAgICBSZXNpemVPYnNlcnZlclNlcnZpY2UsXG4gICAgTXV0YXRpb25PYnNlcnZlclNlcnZpY2UsXG4gICAge1xuICAgICAgICBwcm92aWRlOiBXQV9NVVRBVElPTl9PQlNFUlZFUl9JTklULFxuICAgICAgICB1c2VWYWx1ZToge1xuICAgICAgICAgICAgY2hhcmFjdGVyRGF0YTogdHJ1ZSxcbiAgICAgICAgICAgIGNoaWxkTGlzdDogdHJ1ZSxcbiAgICAgICAgICAgIHN1YnRyZWU6IHRydWUsXG4gICAgICAgIH0sXG4gICAgfSxcbiAgICB0dWlCdXR0b25PcHRpb25zUHJvdmlkZXIoe1xuICAgICAgICBhcHBlYXJhbmNlOiAnYWN0aW9uJyxcbiAgICB9KSxcbl07XG4iXX0=
@@ -1,7 +0,0 @@
1
- export * from './app-bar';
2
- export * from './app-bar.component';
3
- export * from './app-bar.directive';
4
- export * from './app-bar.providers';
5
- export * from './app-bar-back.component';
6
- export * from './app-bar-size.directive';
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9sYXlvdXQvY29tcG9uZW50cy9hcHAtYmFyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsV0FBVyxDQUFDO0FBQzFCLGNBQWMscUJBQXFCLENBQUM7QUFDcEMsY0FBYyxxQkFBcUIsQ0FBQztBQUNwQyxjQUFjLHFCQUFxQixDQUFDO0FBQ3BDLGNBQWMsMEJBQTBCLENBQUM7QUFDekMsY0FBYywwQkFBMEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYXBwLWJhcic7XG5leHBvcnQgKiBmcm9tICcuL2FwcC1iYXIuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vYXBwLWJhci5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9hcHAtYmFyLnByb3ZpZGVycyc7XG5leHBvcnQgKiBmcm9tICcuL2FwcC1iYXItYmFjay5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9hcHAtYmFyLXNpemUuZGlyZWN0aXZlJztcbiJdfQ==
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktbGF5b3V0LWNvbXBvbmVudHMtYXBwLWJhci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2xheW91dC9jb21wb25lbnRzL2FwcC1iYXIvdGFpZ2EtdWktbGF5b3V0LWNvbXBvbmVudHMtYXBwLWJhci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==