@taiga-ui/addon-doc 3.0.0-rc.6 → 3.1.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.
@@ -1817,7 +1817,8 @@
1817
1817
  }
1818
1818
  Object.defineProperty(TuiDocNavigationComponent.prototype, "canOpen", {
1819
1819
  get: function () {
1820
- return this.search.value.length > 2;
1820
+ var _a, _b;
1821
+ return ((_b = (_a = this.search.value) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0) > 2;
1821
1822
  },
1822
1823
  enumerable: false,
1823
1824
  configurable: true
@@ -1845,8 +1846,8 @@
1845
1846
  this.openActivePageGroup();
1846
1847
  };
1847
1848
  TuiDocNavigationComponent.prototype.filterItems = function (items, search) {
1848
- return items.map(function (section) { return i6.tuiUniqBy(section.filter(function (_a) {
1849
- var title = _a.title, _b = _a.keywords, keywords = _b === void 0 ? "" : _b;
1849
+ return items.map(function (section) { return i6.tuiUniqBy(section.filter(function (_c) {
1850
+ var title = _c.title, _d = _c.keywords, keywords = _d === void 0 ? "" : _d;
1850
1851
  title = title.toLowerCase();
1851
1852
  search = search.toLowerCase();
1852
1853
  keywords = keywords.toLowerCase();