@taiga-ui/addon-doc 3.18.0-dev.main-a12f1fc → 3.19.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.
@@ -1455,12 +1455,6 @@
1455
1455
  }]
1456
1456
  }] });
1457
1457
 
1458
- var TUI_EXAMPLE_PRIMARY_FILE_NAME = {
1459
- TS: "TypeScript",
1460
- LESS: "LESS",
1461
- HTML: "HTML",
1462
- };
1463
-
1464
1458
  var TUI_DOC_CODE_ACTIONS = new i0.InjectionToken("[TUI_DOC_CODE_ACTIONS]: Code actions for the opened tab with code example", {
1465
1459
  factory: function () { return ""; },
1466
1460
  });
@@ -1510,6 +1504,26 @@
1510
1504
  });
1511
1505
  }
1512
1506
 
1507
+ var TUI_EXAMPLE_PRIMARY_FILE_NAME = {
1508
+ TS: "TypeScript",
1509
+ LESS: "LESS",
1510
+ HTML: "HTML",
1511
+ };
1512
+
1513
+ var TUI_DOC_EXAMPLE_DEFAULT_OPTIONS = {
1514
+ codeEditorVisibilityHandler: function (files) { return Boolean(files[TUI_EXAMPLE_PRIMARY_FILE_NAME.TS] &&
1515
+ files[TUI_EXAMPLE_PRIMARY_FILE_NAME.HTML]); },
1516
+ };
1517
+ var TUI_DOC_EXAMPLE_OPTIONS = new i0.InjectionToken("[TUI_DOC_EXAMPLE_OPTIONS]: Default parameters for DocExample component", {
1518
+ factory: function () { return TUI_DOC_EXAMPLE_DEFAULT_OPTIONS; },
1519
+ });
1520
+ function tuiDocExampleOptionsProvider(options) {
1521
+ return {
1522
+ provide: TUI_DOC_EXAMPLE_OPTIONS,
1523
+ useValue: Object.assign(Object.assign({}, TUI_DOC_EXAMPLE_DEFAULT_OPTIONS), options),
1524
+ };
1525
+ }
1526
+
1513
1527
  var TuiDocExampleCapitalizePipe = /** @class */ (function () {
1514
1528
  function TuiDocExampleCapitalizePipe() {
1515
1529
  }
@@ -1541,7 +1555,7 @@
1541
1555
  }] });
1542
1556
 
1543
1557
  var TuiDocExampleComponent = /** @class */ (function () {
1544
- function TuiDocExampleComponent(clipboard, alertService, location, copyTexts$, texts, codeEditor, processContent, isCypress, codeActions, router, route, ngLocation) {
1558
+ function TuiDocExampleComponent(clipboard, alertService, location, copyTexts$, texts, codeEditor, processContent, isCypress, codeActions, router, route, ngLocation, options) {
1545
1559
  var _this = this;
1546
1560
  this.clipboard = clipboard;
1547
1561
  this.alertService = alertService;
@@ -1555,6 +1569,7 @@
1555
1569
  this.router = router;
1556
1570
  this.route = route;
1557
1571
  this.ngLocation = ngLocation;
1572
+ this.options = options;
1558
1573
  this.rawLoader$$ = new i9.BehaviorSubject({});
1559
1574
  this.id = null;
1560
1575
  this.heading = '';
@@ -1569,9 +1584,7 @@
1569
1584
  }));
1570
1585
  this.processor$ = this.rawLoader$$.pipe(operators.switchMap(tuiRawLoadRecord), operators.map(function (value) { return _this.processContent(value); }));
1571
1586
  this.loading$ = new i9.Subject();
1572
- this.visible = function (files) { return Boolean(_this.codeEditor &&
1573
- files[TUI_EXAMPLE_PRIMARY_FILE_NAME.TS] &&
1574
- files[TUI_EXAMPLE_PRIMARY_FILE_NAME.HTML]); };
1587
+ this.visible = function (files) { return Boolean(_this.codeEditor && _this.options.codeEditorVisibilityHandler(files)); };
1575
1588
  }
1576
1589
  Object.defineProperty(TuiDocExampleComponent.prototype, "content", {
1577
1590
  set: function (content) {
@@ -1609,7 +1622,7 @@
1609
1622
  };
1610
1623
  return TuiDocExampleComponent;
1611
1624
  }());
1612
- TuiDocExampleComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiDocExampleComponent, deps: [{ token: i8.Clipboard }, { token: i2$1.TuiAlertService }, { token: common.LOCATION }, { token: i1.TUI_COPY_TEXTS }, { token: TUI_DOC_EXAMPLE_TEXTS }, { token: TUI_DOC_CODE_EDITOR, optional: true }, { token: TUI_DOC_EXAMPLE_CONTENT_PROCESSOR }, { token: i6.TUI_IS_CYPRESS }, { token: TUI_DOC_CODE_ACTIONS }, { token: i6$1.Router }, { token: i6$1.ActivatedRoute }, { token: i4.Location }], target: i0__namespace.ɵɵFactoryTarget.Component });
1625
+ TuiDocExampleComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiDocExampleComponent, deps: [{ token: i8.Clipboard }, { token: i2$1.TuiAlertService }, { token: common.LOCATION }, { token: i1.TUI_COPY_TEXTS }, { token: TUI_DOC_EXAMPLE_TEXTS }, { token: TUI_DOC_CODE_EDITOR, optional: true }, { token: TUI_DOC_EXAMPLE_CONTENT_PROCESSOR }, { token: i6.TUI_IS_CYPRESS }, { token: TUI_DOC_CODE_ACTIONS }, { token: i6$1.Router }, { token: i6$1.ActivatedRoute }, { token: i4.Location }, { token: TUI_DOC_EXAMPLE_OPTIONS }], target: i0__namespace.ɵɵFactoryTarget.Component });
1613
1626
  TuiDocExampleComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiDocExampleComponent, selector: "tui-doc-example", inputs: { id: "id", heading: "heading", description: "description", content: "content", componentName: "componentName" }, ngImport: i0__namespace, template: "<h3\n *ngIf=\"heading\"\n class=\"t-title\"\n>\n <span\n *polymorpheusOutlet=\"heading | tuiDocExampleCapitalize as text\"\n [textContent]=\"text\"\n ></span>\n <button\n *ngIf=\"id\"\n tuiIconButton\n type=\"button\"\n size=\"xs\"\n icon=\"tuiIconLinkLarge\"\n appearance=\"icon\"\n class=\"t-link-icon\"\n [title]=\"copy$ | async\"\n (click)=\"copyExampleLink()\"\n ></button>\n</h3>\n<h4\n *ngIf=\"description\"\n class=\"t-description\"\n>\n <ng-container *polymorpheusOutlet=\"description | tuiDocExampleCapitalize as text\">\n {{ text }}\n </ng-container>\n</h4>\n\n<div\n *ngIf=\"processor$ | async as files\"\n class=\"t-example\"\n>\n <ng-container *ngIf=\"files | tuiDocExampleGetTabs : defaultTab as tabs\">\n <div class=\"t-tabs-wrapper\">\n <tui-tabs-with-more\n class=\"t-tabs\"\n [(activeItemIndex)]=\"activeItemIndex\"\n >\n <ng-container *ngFor=\"let tab of tabs\">\n <button\n *tuiItem\n tuiTab\n >\n {{ tab }}\n </button>\n </ng-container>\n </tui-tabs-with-more>\n\n <button\n *ngIf=\"files | tuiMapper : visible\"\n tuiButton\n appearance=\"flat\"\n size=\"s\"\n type=\"button\"\n [showLoader]=\"!!(loading$ | async)\"\n (click)=\"edit(files)\"\n >\n Edit on {{ codeEditor!.name }}\n </button>\n </div>\n\n <div\n *ngFor=\"let tab of tabs; let index = index\"\n class=\"t-content\"\n [class.t-content_animated]=\"!isCypress\"\n [class.t-content_visible]=\"activeItemIndex === index\"\n >\n <ng-container\n *ngIf=\"index === defaultTabIndex; else anotherTab\"\n [ngTemplateOutlet]=\"preview\"\n ></ng-container>\n <ng-template #anotherTab>\n <ng-container\n [ngTemplateOutlet]=\"codeSection\"\n [ngTemplateOutletContext]=\"{$implicit: files[tabs[activeItemIndex]] || ''}\"\n ></ng-container>\n </ng-template>\n </div>\n </ng-container>\n</div>\n\n<ng-template #preview>\n <div\n automation-id=\"tui-doc-example\"\n class=\"t-demo\"\n >\n <ng-content></ng-content>\n </div>\n</ng-template>\n\n<ng-template\n #codeSection\n let-code\n>\n <section class=\"t-code-actions\">\n <ng-container *ngFor=\"let action of codeActions\">\n <ng-container *polymorpheusOutlet=\"action as text; context: {$implicit: code}\">\n {{ text }}\n </ng-container>\n </ng-container>\n <tui-doc-copy [cdkCopyToClipboard]=\"code\"></tui-doc-copy>\n </section>\n <tui-doc-code [code]=\"code\"></tui-doc-code>\n</ng-template>\n", styles: [":host{position:relative;display:block;padding-top:3.5rem;clear:right}:host :host-context(tui-root._mobile){padding-top:2rem}.t-title{font:var(--tui-font-heading-5);margin:0 0 .5rem}:host-context(tui-root._mobile) .t-title{font:var(--tui-font-heading-6)}.t-description{font:var(--tui-font-text-m);font-weight:normal;margin:0}.t-example{position:relative;margin-top:1.5rem;border:1px solid var(--tui-base-03);border-radius:var(--tui-radius-m);box-shadow:0 .125rem .1875rem rgba(0,0,0,.1)}:host-context(tui-root._mobile) .t-example{margin-top:.75rem}.t-tabs-wrapper{display:flex;padding:0 2rem;box-shadow:inset 0 -1px var(--tui-base-03);justify-content:space-between;align-items:center}:host-context(tui-root._mobile) .t-tabs-wrapper{padding:0 1rem}.t-tabs{flex-grow:1}.t-demo{padding:2rem;overflow-x:auto}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.t-demo::-webkit-scrollbar,.t-demo::-webkit-scrollbar-thumb{width:1rem;height:1rem;border-radius:6.25rem;background-clip:padding-box;border:2.667rem solid transparent}.t-demo::-webkit-scrollbar{background-color:transparent}.t-demo::-webkit-scrollbar-thumb{background-color:var(--tui-clear-hover)}.t-demo::-webkit-scrollbar-thumb:hover{background-color:var(--tui-clear-active)}.t-demo::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-03)}}:host-context(tui-root._mobile) .t-demo{padding:1rem}.t-code-actions{position:absolute;top:4.375rem;right:1rem;display:flex;justify-content:flex-end;align-items:center}.t-code-actions>*{margin-left:.5rem}.t-link-icon{margin-left:.3rem;vertical-align:baseline}.t-content{will-change:opacity;height:0;visibility:hidden;opacity:0}.t-content_animated{transition:opacity .3s ease-in-out}.t-content_visible{height:auto;visibility:visible;opacity:1}\n"], components: [{ type: i2__namespace$1.TuiButtonComponent, selector: "button[tuiButton], button[tuiIconButton], a[tuiButton], a[tuiIconButton]", inputs: ["appearance", "disabled", "icon", "iconRight", "shape", "showLoader", "size"] }, { type: i1__namespace.TuiTabsWithMoreComponent, selector: "tui-tabs-with-more, nav[tuiTabsWithMore]", inputs: ["moreContent", "dropdownContent", "underline", "activeItemIndex", "itemsLimit"], outputs: ["activeItemIndexChange"] }, { type: i1__namespace.TuiTabComponent, selector: "a[tuiTab]:not([routerLink]), a[tuiTab][routerLink][routerLinkActive], button[tuiTab]" }, { type: TuiDocCopyComponent, selector: "tui-doc-copy" }, { type: TuiDocCodeComponent, selector: "tui-doc-code", inputs: ["filename", "code"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6__namespace$2.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6__namespace$1.TuiItemDirective, selector: "[tuiItem]" }, { type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i8__namespace.CdkCopyToClipboard, selector: "[cdkCopyToClipboard]", inputs: ["cdkCopyToClipboard", "cdkCopyToClipboardAttempts"], outputs: ["cdkCopyToClipboardCopied"] }], pipes: { "tuiDocExampleCapitalize": TuiDocExampleCapitalizePipe, "async": i4__namespace.AsyncPipe, "tuiDocExampleGetTabs": TuiDocExampleGetTabsPipe, "tuiMapper": i6__namespace$1.TuiMapperPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
1614
1627
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiDocExampleComponent, decorators: [{
1615
1628
  type: i0.Component,
@@ -1658,6 +1671,9 @@
1658
1671
  }] }, { type: i4__namespace.Location, decorators: [{
1659
1672
  type: i0.Inject,
1660
1673
  args: [i4.Location]
1674
+ }] }, { type: undefined, decorators: [{
1675
+ type: i0.Inject,
1676
+ args: [TUI_DOC_EXAMPLE_OPTIONS]
1661
1677
  }] }];
1662
1678
  }, propDecorators: { id: [{
1663
1679
  type: i0.Input
@@ -1726,12 +1742,9 @@
1726
1742
  }] });
1727
1743
 
1728
1744
  var TuiLanguageSwitcherComponent = /** @class */ (function () {
1729
- function TuiLanguageSwitcherComponent(switcher, options) {
1745
+ function TuiLanguageSwitcherComponent(switcher, flagPipe) {
1730
1746
  this.switcher = switcher;
1731
- this.options = options;
1732
- this.path = this.options
1733
- .path('tuiIcon')
1734
- .replace('tuiIcon.svg#tuiIcon', '');
1747
+ this.flagPipe = flagPipe;
1735
1748
  this.language = new i5.FormControl(i2$1.tuiCapitalizeFirstLetter(this.switcher.language));
1736
1749
  this.flags = new Map([
1737
1750
  ['chinese', i5$1.TuiCountryIsoCode.CN],
@@ -1750,28 +1763,39 @@
1750
1763
  ]);
1751
1764
  this.names = Array.from(this.flags.keys());
1752
1765
  }
1766
+ /**
1767
+ * @deprecated use `<img [src]="countryIsoCode | tuiFlagPipe" />`
1768
+ * TODO drop in v4.0
1769
+ */
1753
1770
  TuiLanguageSwitcherComponent.prototype.getFlagPath = function (code) {
1754
- return code ? "" + this.path + code + ".png" : null;
1771
+ return this.flagPipe.transform(code);
1755
1772
  };
1756
1773
  return TuiLanguageSwitcherComponent;
1757
1774
  }());
1758
- TuiLanguageSwitcherComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiLanguageSwitcherComponent, deps: [{ token: i5$1.TuiLanguageSwitcher }, { token: i2$1.TUI_SVG_OPTIONS }], target: i0__namespace.ɵɵFactoryTarget.Component });
1759
- TuiLanguageSwitcherComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiLanguageSwitcherComponent, selector: "tui-language-switcher", ngImport: i0__namespace, template: "<tui-select [formControl]=\"language\">\n <ng-content></ng-content>\n <tui-data-list *tuiDataList>\n <button\n *ngFor=\"let name of names\"\n tuiOption\n [value]=\"name | titlecase\"\n (click)=\"switcher.setLanguage(name)\"\n >\n <img\n alt=\"\"\n class=\"t-flag\"\n [src]=\"getFlagPath(flags.get(name))\"\n />\n {{ name | titlecase }}\n </button>\n </tui-data-list>\n</tui-select>\n", styles: [".t-flag{width:1.75rem;height:1.25rem;margin-right:.5rem}\n"], components: [{ type: i1__namespace.TuiSelectComponent, selector: "tui-select", inputs: ["stringify", "identityMatcher", "valueContent"] }, { type: i2__namespace$1.TuiDataListComponent, selector: "tui-data-list", inputs: ["role", "emptyContent", "size"] }, { type: i2__namespace$1.TuiOptionComponent, selector: "button[tuiOption], a[tuiOption]", inputs: ["size", "role", "disabled", "value"] }], directives: [{ type: i1__namespace.TuiSelectDirective, selector: "tui-select" }, { type: i5__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i5__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i2__namespace$1.TuiDataListDirective, selector: "ng-template[tuiDataList]" }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "titlecase": i4__namespace.TitleCasePipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
1775
+ TuiLanguageSwitcherComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiLanguageSwitcherComponent, deps: [{ token: i5$1.TuiLanguageSwitcher }, { token: i2$1.TuiFlagPipe }], target: i0__namespace.ɵɵFactoryTarget.Component });
1776
+ TuiLanguageSwitcherComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiLanguageSwitcherComponent, selector: "tui-language-switcher", providers: [
1777
+ // TODO: for backward compatibility only. Drop in v4.0
1778
+ i2$1.TuiFlagPipe,
1779
+ ], ngImport: i0__namespace, template: "<tui-select [formControl]=\"language\">\n <ng-content></ng-content>\n <tui-data-list *tuiDataList>\n <button\n *ngFor=\"let name of names\"\n tuiOption\n [value]=\"name | titlecase\"\n (click)=\"switcher.setLanguage(name)\"\n >\n <img\n alt=\"\"\n class=\"t-flag\"\n [src]=\"flags.get(name) | tuiFlag\"\n />\n {{ name | titlecase }}\n </button>\n </tui-data-list>\n</tui-select>\n", styles: [".t-flag{width:1.75rem;height:1.25rem;margin-right:.5rem}\n"], components: [{ type: i1__namespace.TuiSelectComponent, selector: "tui-select", inputs: ["stringify", "identityMatcher", "valueContent"] }, { type: i2__namespace$1.TuiDataListComponent, selector: "tui-data-list", inputs: ["role", "emptyContent", "size"] }, { type: i2__namespace$1.TuiOptionComponent, selector: "button[tuiOption], a[tuiOption]", inputs: ["size", "role", "disabled", "value"] }], directives: [{ type: i1__namespace.TuiSelectDirective, selector: "tui-select" }, { type: i5__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i5__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i2__namespace$1.TuiDataListDirective, selector: "ng-template[tuiDataList]" }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "titlecase": i4__namespace.TitleCasePipe, "tuiFlag": i2__namespace$1.TuiFlagPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
1760
1780
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiLanguageSwitcherComponent, decorators: [{
1761
1781
  type: i0.Component,
1762
1782
  args: [{
1763
1783
  selector: 'tui-language-switcher',
1764
1784
  templateUrl: './language-switcher.component.html',
1765
1785
  styleUrls: ['./language-switcher.component.less'],
1786
+ providers: [
1787
+ // TODO: for backward compatibility only. Drop in v4.0
1788
+ i2$1.TuiFlagPipe,
1789
+ ],
1766
1790
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
1767
1791
  }]
1768
1792
  }], ctorParameters: function () {
1769
1793
  return [{ type: i5__namespace$1.TuiLanguageSwitcher, decorators: [{
1770
1794
  type: i0.Inject,
1771
1795
  args: [i5$1.TuiLanguageSwitcher]
1772
- }] }, { type: undefined, decorators: [{
1796
+ }] }, { type: i2__namespace$1.TuiFlagPipe, decorators: [{
1773
1797
  type: i0.Inject,
1774
- args: [i2$1.TUI_SVG_OPTIONS]
1798
+ args: [i2$1.TuiFlagPipe]
1775
1799
  }] }];
1776
1800
  } });
1777
1801
 
@@ -1781,14 +1805,30 @@
1781
1805
  return TuiLanguageSwitcherModule;
1782
1806
  }());
1783
1807
  TuiLanguageSwitcherModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiLanguageSwitcherModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1784
- TuiLanguageSwitcherModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiLanguageSwitcherModule, declarations: [TuiLanguageSwitcherComponent], imports: [i4.CommonModule, i1.TuiSelectModule, i2$1.TuiDataListModule, i5.ReactiveFormsModule], exports: [TuiLanguageSwitcherComponent] });
1785
- TuiLanguageSwitcherModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiLanguageSwitcherModule, imports: [[i4.CommonModule, i1.TuiSelectModule, i2$1.TuiDataListModule, i5.ReactiveFormsModule]] });
1808
+ TuiLanguageSwitcherModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiLanguageSwitcherModule, declarations: [TuiLanguageSwitcherComponent], imports: [i4.CommonModule,
1809
+ i2$1.TuiFlagPipeModule,
1810
+ i1.TuiSelectModule,
1811
+ i2$1.TuiDataListModule,
1812
+ i5.ReactiveFormsModule], exports: [TuiLanguageSwitcherComponent] });
1813
+ TuiLanguageSwitcherModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiLanguageSwitcherModule, imports: [[
1814
+ i4.CommonModule,
1815
+ i2$1.TuiFlagPipeModule,
1816
+ i1.TuiSelectModule,
1817
+ i2$1.TuiDataListModule,
1818
+ i5.ReactiveFormsModule,
1819
+ ]] });
1786
1820
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiLanguageSwitcherModule, decorators: [{
1787
1821
  type: i0.NgModule,
1788
1822
  args: [{
1789
1823
  exports: [TuiLanguageSwitcherComponent],
1790
1824
  declarations: [TuiLanguageSwitcherComponent],
1791
- imports: [i4.CommonModule, i1.TuiSelectModule, i2$1.TuiDataListModule, i5.ReactiveFormsModule],
1825
+ imports: [
1826
+ i4.CommonModule,
1827
+ i2$1.TuiFlagPipeModule,
1828
+ i1.TuiSelectModule,
1829
+ i2$1.TuiDataListModule,
1830
+ i5.ReactiveFormsModule,
1831
+ ],
1792
1832
  }]
1793
1833
  }] });
1794
1834
 
@@ -2808,7 +2848,9 @@
2808
2848
  exports.TUI_DOC_DEMO_TEXTS = TUI_DOC_DEMO_TEXTS;
2809
2849
  exports.TUI_DOC_DOCUMENTATION_TEXTS = TUI_DOC_DOCUMENTATION_TEXTS;
2810
2850
  exports.TUI_DOC_EXAMPLE_CONTENT_PROCESSOR = TUI_DOC_EXAMPLE_CONTENT_PROCESSOR;
2851
+ exports.TUI_DOC_EXAMPLE_DEFAULT_OPTIONS = TUI_DOC_EXAMPLE_DEFAULT_OPTIONS;
2811
2852
  exports.TUI_DOC_EXAMPLE_MARKDOWN_CODE_PROCESSOR = TUI_DOC_EXAMPLE_MARKDOWN_CODE_PROCESSOR;
2853
+ exports.TUI_DOC_EXAMPLE_OPTIONS = TUI_DOC_EXAMPLE_OPTIONS;
2812
2854
  exports.TUI_DOC_EXAMPLE_TEXTS = TUI_DOC_EXAMPLE_TEXTS;
2813
2855
  exports.TUI_DOC_EXCLUDED_PROPERTIES = TUI_DOC_EXCLUDED_PROPERTIES;
2814
2856
  exports.TUI_DOC_LOGO = TUI_DOC_LOGO;
@@ -2851,6 +2893,7 @@
2851
2893
  exports.TuiScrollIntoViewLinkDirective = TuiScrollIntoViewLinkDirective;
2852
2894
  exports.TuiScrollIntoViewLinkModule = TuiScrollIntoViewLinkModule;
2853
2895
  exports.tuiCoerceValue = tuiCoerceValue;
2896
+ exports.tuiDocExampleOptionsProvider = tuiDocExampleOptionsProvider;
2854
2897
  exports.tuiDocExcludeProperties = tuiDocExcludeProperties;
2855
2898
  exports.tuiGenerateRoutes = tuiGenerateRoutes;
2856
2899
  exports.tuiRawLoad = tuiRawLoad;