@taiga-ui/addon-doc 3.59.0-canary.bbbc36e → 3.60.0-canary.799e7d6

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 (61) hide show
  1. package/bundles/taiga-ui-addon-doc-components.umd.js +40 -40
  2. package/bundles/taiga-ui-addon-doc-components.umd.js.map +1 -1
  3. package/bundles/taiga-ui-addon-doc-interfaces.umd.js +3 -3
  4. package/bundles/taiga-ui-addon-doc-interfaces.umd.js.map +1 -1
  5. package/bundles/taiga-ui-addon-doc-languages.umd.js +11 -11
  6. package/bundles/taiga-ui-addon-doc-languages.umd.js.map +1 -1
  7. package/bundles/taiga-ui-addon-doc-services.umd.js +9 -9
  8. package/bundles/taiga-ui-addon-doc-services.umd.js.map +1 -1
  9. package/bundles/taiga-ui-addon-doc-tokens.umd.js +25 -25
  10. package/bundles/taiga-ui-addon-doc-tokens.umd.js.map +1 -1
  11. package/bundles/taiga-ui-addon-doc-utils.umd.js +74 -74
  12. package/bundles/taiga-ui-addon-doc-utils.umd.js.map +1 -1
  13. package/esm2015/components/documentation/pipes/cleaner.pipe.js +3 -3
  14. package/esm2015/components/documentation/pipes/color.pipe.js +13 -13
  15. package/esm2015/components/documentation/pipes/inspect.pipe.js +4 -4
  16. package/esm2015/components/documentation/pipes/opacity.pipe.js +8 -8
  17. package/esm2015/components/documentation/pipes/optional.pipe.js +3 -3
  18. package/esm2015/components/documentation/pipes/primitive-polymorpheus-content.pipe.js +2 -2
  19. package/esm2015/components/documentation/pipes/strip-optional.pipe.js +3 -3
  20. package/esm2015/components/documentation/pipes/type-reference.pipe.js +3 -3
  21. package/esm2015/components/example/example-get-tabs.pipe.js +2 -2
  22. package/esm2015/components/example/example.options.js +2 -2
  23. package/esm2015/components/main/main.component.js +1 -1
  24. package/esm2015/components/navigation/navigation.providers.js +4 -4
  25. package/esm2015/components/page/page.providers.js +4 -4
  26. package/esm2015/interfaces/page.js +4 -4
  27. package/esm2015/languages/russian.js +12 -12
  28. package/esm2015/services/theme-night.options.js +2 -2
  29. package/esm2015/services/theme-night.service.js +5 -5
  30. package/esm2015/services/theme.options.js +3 -3
  31. package/esm2015/services/theme.service.js +3 -3
  32. package/esm2015/tokens/code-actions.js +2 -2
  33. package/esm2015/tokens/code-editor.js +2 -2
  34. package/esm2015/tokens/doc-icons.js +6 -6
  35. package/esm2015/tokens/i18n.js +16 -16
  36. package/esm2015/tokens/logo.js +2 -2
  37. package/esm2015/tokens/scroll-behavior.js +2 -2
  38. package/esm2015/tokens/title.js +2 -2
  39. package/esm2015/utils/coerce-boolean.js +2 -2
  40. package/esm2015/utils/coerce-value.js +7 -7
  41. package/esm2015/utils/generate-routes.js +3 -3
  42. package/esm2015/utils/inspect.js +14 -14
  43. package/esm2015/utils/is-page-group.js +2 -2
  44. package/esm2015/utils/parse-code-block.js +3 -3
  45. package/esm2015/utils/sort-pages.js +3 -3
  46. package/esm2015/utils/to-flat-map-pages.js +3 -3
  47. package/esm2015/utils/transliterate-keyboard-layout.js +34 -34
  48. package/esm2015/utils/type-reference-parser.js +13 -13
  49. package/fesm2015/taiga-ui-addon-doc-components.js +40 -40
  50. package/fesm2015/taiga-ui-addon-doc-components.js.map +1 -1
  51. package/fesm2015/taiga-ui-addon-doc-interfaces.js +3 -3
  52. package/fesm2015/taiga-ui-addon-doc-interfaces.js.map +1 -1
  53. package/fesm2015/taiga-ui-addon-doc-languages.js +11 -11
  54. package/fesm2015/taiga-ui-addon-doc-languages.js.map +1 -1
  55. package/fesm2015/taiga-ui-addon-doc-services.js +9 -9
  56. package/fesm2015/taiga-ui-addon-doc-services.js.map +1 -1
  57. package/fesm2015/taiga-ui-addon-doc-tokens.js +25 -25
  58. package/fesm2015/taiga-ui-addon-doc-tokens.js.map +1 -1
  59. package/fesm2015/taiga-ui-addon-doc-utils.js +74 -74
  60. package/fesm2015/taiga-ui-addon-doc-utils.js.map +1 -1
  61. package/package.json +5 -5
@@ -933,23 +933,23 @@
933
933
  TuiGetColorPipe.prototype.transform = function (color) {
934
934
  if (color.length === 4) {
935
935
  return color
936
- .split("")
936
+ .split('')
937
937
  .reduce(function (result, current) { return __spreadArray(__spreadArray([], __read(result)), [current, current]); }, [])
938
- .join("")
939
- .replace("#", "");
938
+ .join('')
939
+ .replace('#', '');
940
940
  }
941
- if (color.startsWith("#")) {
941
+ if (color.startsWith('#')) {
942
942
  return color;
943
943
  }
944
- if (color === "transparent") {
945
- return "#000000";
944
+ if (color === 'transparent') {
945
+ return '#000000';
946
946
  }
947
947
  var parsed = color
948
- .replace("rgb(", "")
949
- .replace("rgba(", "")
950
- .replace(")", "")
951
- .replace(" ", "")
952
- .split(",")
948
+ .replace('rgb(', '')
949
+ .replace('rgba(', '')
950
+ .replace(')', '')
951
+ .replace(' ', '')
952
+ .split(',')
953
953
  .map(function (v) { return Number.parseInt(v, 10); });
954
954
  return i6.tuiRgbToHex.apply(void 0, __spreadArray([], __read(parsed)));
955
955
  };
@@ -959,25 +959,25 @@
959
959
  TuiGetColorPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiGetColorPipe, name: "tuiGetColorPipe" });
960
960
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiGetColorPipe, decorators: [{
961
961
  type: i0.Pipe,
962
- args: [{ name: "tuiGetColorPipe" }]
962
+ args: [{ name: 'tuiGetColorPipe' }]
963
963
  }] });
964
964
 
965
965
  var TuiGetOpacityPipe = /** @class */ (function () {
966
966
  function TuiGetOpacityPipe() {
967
967
  }
968
968
  TuiGetOpacityPipe.prototype.transform = function (color) {
969
- if (color.startsWith("#") || color.startsWith("rgb(")) {
969
+ if (color.startsWith('#') || color.startsWith('rgb(')) {
970
970
  return 100;
971
971
  }
972
- if (color === "transparent") {
972
+ if (color === 'transparent') {
973
973
  return 0;
974
974
  }
975
- var lastComma = color.lastIndexOf(",");
975
+ var lastComma = color.lastIndexOf(',');
976
976
  var parsed = color
977
977
  .slice(lastComma)
978
- .replace(")", "")
979
- .replace(" ", "")
980
- .replace(",", "");
978
+ .replace(')', '')
979
+ .replace(' ', '')
980
+ .replace(',', '');
981
981
  return Math.round(Number.parseFloat(parsed) * 100);
982
982
  };
983
983
  return TuiGetOpacityPipe;
@@ -986,7 +986,7 @@
986
986
  TuiGetOpacityPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiGetOpacityPipe, name: "tuiGetOpacity" });
987
987
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiGetOpacityPipe, decorators: [{
988
988
  type: i0.Pipe,
989
- args: [{ name: "tuiGetOpacity" }]
989
+ args: [{ name: 'tuiGetOpacity' }]
990
990
  }] });
991
991
 
992
992
  var TuiInputOpacityDirective = /** @class */ (function () {
@@ -1029,7 +1029,7 @@
1029
1029
  function TuiStripOptionalPipe() {
1030
1030
  }
1031
1031
  TuiStripOptionalPipe.prototype.transform = function (name) {
1032
- return name.replace("?", "");
1032
+ return name.replace('?', '');
1033
1033
  };
1034
1034
  return TuiStripOptionalPipe;
1035
1035
  }());
@@ -1037,14 +1037,14 @@
1037
1037
  TuiStripOptionalPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiStripOptionalPipe, name: "tuiStripOptionalPipe" });
1038
1038
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiStripOptionalPipe, decorators: [{
1039
1039
  type: i0.Pipe,
1040
- args: [{ name: "tuiStripOptionalPipe" }]
1040
+ args: [{ name: 'tuiStripOptionalPipe' }]
1041
1041
  }] });
1042
1042
 
1043
1043
  var TuiIsOptionalPipe = /** @class */ (function () {
1044
1044
  function TuiIsOptionalPipe() {
1045
1045
  }
1046
1046
  TuiIsOptionalPipe.prototype.transform = function (name) {
1047
- return name.includes("?");
1047
+ return name.includes('?');
1048
1048
  };
1049
1049
  return TuiIsOptionalPipe;
1050
1050
  }());
@@ -1052,7 +1052,7 @@
1052
1052
  TuiIsOptionalPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiIsOptionalPipe, name: "tuiIsOptionalPipe" });
1053
1053
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiIsOptionalPipe, decorators: [{
1054
1054
  type: i0.Pipe,
1055
- args: [{ name: "tuiIsOptionalPipe" }]
1055
+ args: [{ name: 'tuiIsOptionalPipe' }]
1056
1056
  }] });
1057
1057
 
1058
1058
  var TuiDocTypeReferencePipe = /** @class */ (function () {
@@ -1072,7 +1072,7 @@
1072
1072
  reference: (_b = (_a = _this.linkHandler) === null || _a === void 0 ? void 0 : _a.call(_this, extracted)) !== null && _b !== void 0 ? _b : null,
1073
1073
  });
1074
1074
  })
1075
- .sort(function (a, b) { var _a, _b, _c; return (_c = (_a = b.reference) === null || _a === void 0 ? void 0 : _a.localeCompare((_b = a.reference) !== null && _b !== void 0 ? _b : "")) !== null && _c !== void 0 ? _c : -1; });
1075
+ .sort(function (a, b) { var _a, _b, _c; return (_c = (_a = b.reference) === null || _a === void 0 ? void 0 : _a.localeCompare((_b = a.reference) !== null && _b !== void 0 ? _b : '')) !== null && _c !== void 0 ? _c : -1; });
1076
1076
  };
1077
1077
  return TuiDocTypeReferencePipe;
1078
1078
  }());
@@ -1080,7 +1080,7 @@
1080
1080
  TuiDocTypeReferencePipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiDocTypeReferencePipe, name: "tuiDocTypeReference" });
1081
1081
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiDocTypeReferencePipe, decorators: [{
1082
1082
  type: i0.Pipe,
1083
- args: [{ name: "tuiDocTypeReference" }]
1083
+ args: [{ name: 'tuiDocTypeReference' }]
1084
1084
  }], ctorParameters: function () {
1085
1085
  return [{ type: undefined, decorators: [{
1086
1086
  type: i0.Inject,
@@ -1095,7 +1095,7 @@
1095
1095
  function TuiShowCleanerPipe() {
1096
1096
  }
1097
1097
  TuiShowCleanerPipe.prototype.transform = function (type) {
1098
- return type.includes("null");
1098
+ return type.includes('null');
1099
1099
  };
1100
1100
  return TuiShowCleanerPipe;
1101
1101
  }());
@@ -1103,7 +1103,7 @@
1103
1103
  TuiShowCleanerPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiShowCleanerPipe, name: "tuiShowCleanerPipe" });
1104
1104
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiShowCleanerPipe, decorators: [{
1105
1105
  type: i0.Pipe,
1106
- args: [{ name: "tuiShowCleanerPipe" }]
1106
+ args: [{ name: 'tuiShowCleanerPipe' }]
1107
1107
  }] });
1108
1108
 
1109
1109
  var TuiInspectPipe = /** @class */ (function () {
@@ -1112,7 +1112,7 @@
1112
1112
  }
1113
1113
  TuiInspectPipe.prototype.transform = function (value, depth) {
1114
1114
  if (depth === void 0) { depth = 2; }
1115
- if (this.isE2E && typeof value === "function") {
1115
+ if (this.isE2E && typeof value === 'function') {
1116
1116
  /**
1117
1117
  * @description:
1118
1118
  * When developing in production mode the webpack bundler minify
@@ -1120,7 +1120,7 @@
1120
1120
  * of the function may differ from build to build, which can be to
1121
1121
  * various problems when screenshot testing on e2e.
1122
1122
  */
1123
- return "\u03BB(x) => y";
1123
+ return (x) => y';
1124
1124
  }
1125
1125
  return utils.tuiInspectAny(value, depth);
1126
1126
  };
@@ -1130,7 +1130,7 @@
1130
1130
  TuiInspectPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInspectPipe, name: "tuiInspectAny" });
1131
1131
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInspectPipe, decorators: [{
1132
1132
  type: i0.Pipe,
1133
- args: [{ name: "tuiInspectAny" }]
1133
+ args: [{ name: 'tuiInspectAny' }]
1134
1134
  }], ctorParameters: function () {
1135
1135
  return [{ type: undefined, decorators: [{
1136
1136
  type: i0.Inject,
@@ -1150,7 +1150,7 @@
1150
1150
  TuiIsPrimitivePolymorpheusContentPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiIsPrimitivePolymorpheusContentPipe, name: "tuiIsPrimitivePolymorpheusContentPipe" });
1151
1151
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiIsPrimitivePolymorpheusContentPipe, decorators: [{
1152
1152
  type: i0.Pipe,
1153
- args: [{ name: "tuiIsPrimitivePolymorpheusContentPipe" }]
1153
+ args: [{ name: 'tuiIsPrimitivePolymorpheusContentPipe' }]
1154
1154
  }] });
1155
1155
 
1156
1156
  // @bad TODO subscribe propertiesConnectors changes
@@ -1375,7 +1375,7 @@
1375
1375
  files[interfaces.TUI_EXAMPLE_PRIMARY_FILE_NAME.HTML]); },
1376
1376
  tabTitles: new Map(),
1377
1377
  fullsize: true,
1378
- linkIcon: "tuiIconLink",
1378
+ linkIcon: 'tuiIconLink',
1379
1379
  };
1380
1380
  /**
1381
1381
  * Default parameters for DocExample component
@@ -1397,7 +1397,7 @@
1397
1397
  TuiDocExampleGetTabsPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiDocExampleGetTabsPipe, name: "tuiDocExampleGetTabs" });
1398
1398
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiDocExampleGetTabsPipe, decorators: [{
1399
1399
  type: i0.Pipe,
1400
- args: [{ name: "tuiDocExampleGetTabs" }]
1400
+ args: [{ name: 'tuiDocExampleGetTabs' }]
1401
1401
  }] });
1402
1402
 
1403
1403
  var TuiDocExampleComponent = /** @class */ (function () {
@@ -1597,15 +1597,15 @@
1597
1597
  /**
1598
1598
  * Page title
1599
1599
  */
1600
- var NAVIGATION_TITLE = new i0.InjectionToken("[NAVIGATION_TITLE]");
1600
+ var NAVIGATION_TITLE = new i0.InjectionToken('[NAVIGATION_TITLE]');
1601
1601
  /**
1602
1602
  * Navigation sections labels for search
1603
1603
  */
1604
- var NAVIGATION_LABELS = new i0.InjectionToken("[NAVIGATION_LABELS]");
1604
+ var NAVIGATION_LABELS = new i0.InjectionToken('[NAVIGATION_LABELS]');
1605
1605
  /**
1606
1606
  * Navigation pages
1607
1607
  */
1608
- var NAVIGATION_ITEMS = new i0.InjectionToken("[NAVIGATION_ITEMS]");
1608
+ var NAVIGATION_ITEMS = new i0.InjectionToken('[NAVIGATION_ITEMS]');
1609
1609
  var NAVIGATION_PROVIDERS = [
1610
1610
  i6.TuiDestroyService,
1611
1611
  {
@@ -2272,7 +2272,7 @@
2272
2272
  useExisting: i0.forwardRef(function () { return TuiDocMainComponent; }),
2273
2273
  },
2274
2274
  i6.TuiSwipeService,
2275
- ], ngImport: i0__namespace, template: "<tui-theme-night *ngIf=\"theme.isDefaultTheme && night.useDefaultNightTheme && (night$ | async)\"></tui-theme-night>\n<tui-root>\n <div class=\"tui-doc-page\">\n <tui-doc-navigation class=\"tui-doc-navigation\">\n <ng-content select=\"tuiDocNavigation\"></ng-content>\n </tui-doc-navigation>\n <div class=\"tui-doc-content\">\n <router-outlet class=\"tui-doc-outlet\"></router-outlet>\n </div>\n </div>\n <header tuiDocHeader>\n <ng-content select=\"tuiDocHeader\"></ng-content>\n <button\n appearance=\"secondary\"\n shape=\"rounded\"\n size=\"s\"\n tuiIconButton\n tuiMode=\"onLight\"\n type=\"button\"\n class=\"tui-doc-night-mode-switch\"\n [icon]=\"icon\"\n (click)=\"night.toggle()\"\n ></button>\n </header>\n <ng-container ngProjectAs=\"tuiOverContent\">\n <ng-content select=\"tuiOverContent\"></ng-content>\n </ng-container>\n <ng-container ngProjectAs=\"tuiOverDialogs\">\n <ng-content select=\"tuiOverDialogs\"></ng-content>\n </ng-container>\n <ng-container ngProjectAs=\"tuiOverAlerts\">\n <ng-content select=\"tuiOverAlerts\"></ng-content>\n </ng-container>\n <ng-container ngProjectAs=\"tuiOverPortals\">\n <ng-content select=\"tuiOverPortals\"></ng-content>\n </ng-container>\n <ng-container ngProjectAs=\"tuiOverHints\">\n <ng-content select=\"tuiOverHints\"></ng-content>\n </ng-container>\n</tui-root>\n", styles: ["html{scroll-padding-top:4rem;height:auto}@keyframes tuiShaking{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-.3125rem)}20%,40%,60%,80%{transform:translate(.3125rem)}}body{background:var(--tui-base-01);height:auto}tui-doc-main{display:block}code:not(pre code):not(.hljs):not([class*=\"language-\"]){transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:inline-flex;background:var(--tui-base-02);color:var(--tui-text-02);vertical-align:middle;align-items:center;border-radius:.25rem;font-weight:500;outline:1px solid var(--tui-base-04);font-size:.75rem;padding:0 .3125rem;margin:.125rem .1875rem;text-wrap:wrap}tui-notification code:not(pre code):not(.hljs):not([class*=\"language-\"]){mix-blend-mode:luminosity}a code:not(pre code):not(.hljs):not([class*=\"language-\"]){color:var(--tui-link)}button:focus code,a:focus code{background:var(--tui-base-01)}.tui-doc-page{isolation:isolate;padding-top:4rem}tui-doc-navigation.tui-doc-navigation{position:fixed;top:4rem;bottom:0;width:16.25rem;border-right:1px solid var(--tui-base-03)}@media screen and (max-width: 47.9625em){tui-doc-navigation.tui-doc-navigation{display:none}}.tui-doc-content{margin-left:16.25rem}@media screen and (max-width: 47.9625em){.tui-doc-content{margin-left:0}}.tui-doc-outlet+*{display:block}.tui-doc-night-mode-switch{margin-left:1rem}.tui-doc-night-mode-switch tui-svg{color:var(--tui-text-02)}tui-doc-code .hljs-tag{background:none}tui-doc-code .hljs{display:block;overflow-x:auto;padding:.5em;color:var(--tui-text-01);background-color:var(--tui-clear)}tui-doc-code .hljs.hljs-line-numbers{background:transparent}tui-doc-code .hljs-subst,tui-doc-code .hljs-title{font-weight:normal;color:var(--tui-text-01)}tui-doc-code .hljs-property{color:var(--tui-support-14)}tui-doc-code .hljs-comment,tui-doc-code .hljs-quote{color:var(--tui-text-02);font-style:italic}tui-doc-code .hljs-meta{color:#e38162}tui-doc-code .hljs-section,tui-doc-code .hljs-name,tui-doc-code .hljs-literal,tui-doc-code .hljs-keyword,tui-doc-code .hljs-selector-tag,tui-doc-code .hljs-type,tui-doc-code .hljs-selector-id,tui-doc-code .hljs-selector-class{font-weight:bold;color:var(--tui-link)}tui-doc-code .hljs-attr{color:var(--tui-link)}tui-doc-code .hljs-attribute,tui-doc-code .hljs-number,tui-doc-code .hljs-regexp,tui-doc-code .hljs-link,tui-doc-code .hljs-built_in{font-weight:bold;color:var(--tui-support-06)}tui-doc-code .hljs-number,tui-doc-code .hljs-regexp,tui-doc-code .hljs-link{font-weight:normal}tui-doc-code .hljs-string{color:var(--tui-positive);font-weight:bold}tui-doc-code .hljs-symbol,tui-doc-code .hljs-bullet,tui-doc-code .hljs-formula{color:var(--tui-text-01);background:var(--tui-base-02);font-style:italic}tui-doc-code .hljs-doctag{text-decoration:underline}tui-doc-code .hljs-variable,tui-doc-code .hljs-template-variable{color:var(--tui-link-hover)}tui-doc-code [data-mode=onDark] .hljs-variable,tui-doc-code [data-mode=onDark] .hljs-template-variable{color:var(--tui-warning-fill)}tui-doc-code .hljs-addition{background:var(--tui-success-bg)}tui-doc-code .hljs-deletion{background:var(--tui-error-bg)}tui-doc-code .hljs-emphasis{font-style:italic}tui-doc-code .hljs-strong{font-weight:bold}tui-doc-code .hljs .hljs-line-numbers{padding:0}tui-doc-code .hljs-ln-numbers{vertical-align:top;opacity:.3;text-align:right;padding-right:1em!important}\n"], components: [{ type: i2__namespace.TuiThemeNightComponent, selector: "tui-theme-night" }, { type: i2__namespace.TuiRootComponent, selector: "tui-root" }, { type: TuiDocNavigationComponent, selector: "tui-doc-navigation" }, { type: TuiDocHeaderComponent, selector: "header[tuiDocHeader]" }, { type: i2__namespace.TuiButtonComponent, selector: "button[tuiButton], button[tuiIconButton], a[tuiButton], a[tuiIconButton]", inputs: ["appearance", "disabled", "icon", "iconRight", "shape", "showLoader", "size"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6__namespace.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate"], exportAs: ["outlet"] }, { type: i2__namespace.TuiModeDirective, selector: "[tuiMode]", inputs: ["tuiMode"] }], pipes: { "async": i4__namespace.AsyncPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.Default, encapsulation: i0__namespace.ViewEncapsulation.None });
2275
+ ], ngImport: i0__namespace, template: "<tui-theme-night *ngIf=\"theme.isDefaultTheme && night.useDefaultNightTheme && (night$ | async)\"></tui-theme-night>\n<tui-root>\n <div class=\"tui-doc-page\">\n <tui-doc-navigation class=\"tui-doc-navigation\">\n <ng-content select=\"tuiDocNavigation\"></ng-content>\n </tui-doc-navigation>\n <div class=\"tui-doc-content\">\n <router-outlet class=\"tui-doc-outlet\"></router-outlet>\n </div>\n </div>\n <header tuiDocHeader>\n <ng-content select=\"tuiDocHeader\"></ng-content>\n <button\n appearance=\"secondary\"\n shape=\"rounded\"\n size=\"s\"\n tuiIconButton\n tuiMode=\"onLight\"\n type=\"button\"\n class=\"tui-doc-night-mode-switch\"\n [icon]=\"icon\"\n (click)=\"night.toggle()\"\n ></button>\n </header>\n <ng-container ngProjectAs=\"tuiOverContent\">\n <ng-content select=\"tuiOverContent\"></ng-content>\n </ng-container>\n <ng-container ngProjectAs=\"tuiOverDialogs\">\n <ng-content select=\"tuiOverDialogs\"></ng-content>\n </ng-container>\n <ng-container ngProjectAs=\"tuiOverAlerts\">\n <ng-content select=\"tuiOverAlerts\"></ng-content>\n </ng-container>\n <ng-container ngProjectAs=\"tuiOverPortals\">\n <ng-content select=\"tuiOverPortals\"></ng-content>\n </ng-container>\n <ng-container ngProjectAs=\"tuiOverHints\">\n <ng-content select=\"tuiOverHints\"></ng-content>\n </ng-container>\n</tui-root>\n", styles: ["@keyframes tuiShaking{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-.3125rem)}20%,40%,60%,80%{transform:translate(.3125rem)}}html,body{scroll-padding-top:4rem;background:var(--tui-base-01);height:auto}tui-root>tui-scroll-controls>.t-bar_vertical{top:4rem!important}tui-doc-main{display:block}code:not(pre code):not(.hljs):not([class*=\"language-\"]){transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:inline-flex;background:var(--tui-base-02);color:var(--tui-text-02);vertical-align:middle;align-items:center;border-radius:.25rem;font-weight:500;outline:1px solid var(--tui-base-04);font-size:.75rem;padding:0 .3125rem;margin:.125rem .1875rem;text-wrap:wrap}tui-notification code:not(pre code):not(.hljs):not([class*=\"language-\"]){mix-blend-mode:luminosity}a code:not(pre code):not(.hljs):not([class*=\"language-\"]){color:var(--tui-link)}button:focus code,a:focus code{background:var(--tui-base-01)}.tui-doc-page{isolation:isolate;padding-top:4rem}tui-doc-navigation.tui-doc-navigation{position:fixed;top:4rem;bottom:0;width:16.25rem;border-right:1px solid var(--tui-base-03)}@media screen and (max-width: 47.9625em){tui-doc-navigation.tui-doc-navigation{display:none}}.tui-doc-content{margin-left:16.25rem}@media screen and (max-width: 47.9625em){.tui-doc-content{margin-left:0}}.tui-doc-outlet+*{display:block}.tui-doc-night-mode-switch{margin-left:1rem}.tui-doc-night-mode-switch tui-svg{color:var(--tui-text-02)}tui-doc-code .hljs-tag{background:none}tui-doc-code .hljs{display:block;overflow-x:auto;padding:.5em;color:var(--tui-text-01);background-color:var(--tui-clear)}tui-doc-code .hljs.hljs-line-numbers{background:transparent}tui-doc-code .hljs-subst,tui-doc-code .hljs-title{font-weight:normal;color:var(--tui-text-01)}tui-doc-code .hljs-property{color:var(--tui-support-14)}tui-doc-code .hljs-comment,tui-doc-code .hljs-quote{color:var(--tui-text-02);font-style:italic}tui-doc-code .hljs-meta{color:#e38162}tui-doc-code .hljs-section,tui-doc-code .hljs-name,tui-doc-code .hljs-literal,tui-doc-code .hljs-keyword,tui-doc-code .hljs-selector-tag,tui-doc-code .hljs-type,tui-doc-code .hljs-selector-id,tui-doc-code .hljs-selector-class{font-weight:bold;color:var(--tui-link)}tui-doc-code .hljs-attr{color:var(--tui-link)}tui-doc-code .hljs-attribute,tui-doc-code .hljs-number,tui-doc-code .hljs-regexp,tui-doc-code .hljs-link,tui-doc-code .hljs-built_in{font-weight:bold;color:var(--tui-support-06)}tui-doc-code .hljs-number,tui-doc-code .hljs-regexp,tui-doc-code .hljs-link{font-weight:normal}tui-doc-code .hljs-string{color:var(--tui-positive);font-weight:bold}tui-doc-code .hljs-symbol,tui-doc-code .hljs-bullet,tui-doc-code .hljs-formula{color:var(--tui-text-01);background:var(--tui-base-02);font-style:italic}tui-doc-code .hljs-doctag{text-decoration:underline}tui-doc-code .hljs-variable,tui-doc-code .hljs-template-variable{color:var(--tui-link-hover)}tui-doc-code [data-mode=onDark] .hljs-variable,tui-doc-code [data-mode=onDark] .hljs-template-variable{color:var(--tui-warning-fill)}tui-doc-code .hljs-addition{background:var(--tui-success-bg)}tui-doc-code .hljs-deletion{background:var(--tui-error-bg)}tui-doc-code .hljs-emphasis{font-style:italic}tui-doc-code .hljs-strong{font-weight:bold}tui-doc-code .hljs .hljs-line-numbers{padding:0}tui-doc-code .hljs-ln-numbers{vertical-align:top;opacity:.3;text-align:right;padding-right:1em!important}\n"], components: [{ type: i2__namespace.TuiThemeNightComponent, selector: "tui-theme-night" }, { type: i2__namespace.TuiRootComponent, selector: "tui-root" }, { type: TuiDocNavigationComponent, selector: "tui-doc-navigation" }, { type: TuiDocHeaderComponent, selector: "header[tuiDocHeader]" }, { type: i2__namespace.TuiButtonComponent, selector: "button[tuiButton], button[tuiIconButton], a[tuiButton], a[tuiIconButton]", inputs: ["appearance", "disabled", "icon", "iconRight", "shape", "showLoader", "size"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6__namespace.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate"], exportAs: ["outlet"] }, { type: i2__namespace.TuiModeDirective, selector: "[tuiMode]", inputs: ["tuiMode"] }], pipes: { "async": i4__namespace.AsyncPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.Default, encapsulation: i0__namespace.ViewEncapsulation.None });
2276
2276
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiDocMainComponent, decorators: [{
2277
2277
  type: i0.Component,
2278
2278
  args: [{
@@ -2358,18 +2358,18 @@
2358
2358
  /**
2359
2359
  * Array if related page titles
2360
2360
  */
2361
- var PAGE_SEE_ALSO = new i0.InjectionToken("[PAGE_SEE_ALSO]");
2361
+ var PAGE_SEE_ALSO = new i0.InjectionToken('[PAGE_SEE_ALSO]');
2362
2362
  var PAGE_PROVIDERS = [
2363
2363
  {
2364
2364
  provide: PAGE_SEE_ALSO,
2365
2365
  deps: [i0.ElementRef, tokens.TUI_DOC_SEE_ALSO],
2366
2366
  useFactory: function (_a, seeAlsoGroups) {
2367
2367
  var nativeElement = _a.nativeElement;
2368
- var currentHeader = nativeElement.getAttribute("header");
2368
+ var currentHeader = nativeElement.getAttribute('header');
2369
2369
  var groups = seeAlsoGroups.filter(function (group) { return group.includes(currentHeader); }) || [];
2370
2370
  var seeAlsoSet = new Set(groups
2371
2371
  .join()
2372
- .split(",")
2372
+ .split(',')
2373
2373
  .filter(function (component) { return component && component !== currentHeader; }));
2374
2374
  return Array.from(seeAlsoSet);
2375
2375
  },