@fluid-topics/ft-filter 2.2.17 → 2.2.19

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.
@@ -48,7 +48,8 @@ export class FtFilterLevel extends withAnalytics(withI18n(withAriaNotification(F
48
48
  return this.displayedValuesLimit > 0 ? this.displayedPages * this.displayedValuesLimit : undefined;
49
49
  }
50
50
  get height() {
51
- var _a, _b;
51
+ var _a;
52
+ var _b;
52
53
  return (_b = (_a = this.container) === null || _a === void 0 ? void 0 : _a.scrollHeight) !== null && _b !== void 0 ? _b : 0;
53
54
  }
54
55
  focusOnBackButton() {
@@ -106,16 +107,14 @@ export class FtFilterLevel extends withAnalytics(withI18n(withAriaNotification(F
106
107
  ${this.noValuesLabel}
107
108
  </ft-typography>
108
109
  ` : nothing}
109
- ${repeat(limitedOptions, (option) => option.value, (option) => {
110
- var _a;
111
- return html `
110
+ ${repeat(limitedOptions, (option) => option.value, (option) => { var _a; return html `
112
111
  <div class="ft-filter-level--option" part="options" tabindex="-1">
113
112
  ${this.multivalued
114
- ? this.buildMultiValuedOption(option)
115
- : this.buildMonoValuedOption(option)}
113
+ ? this.buildMultiValuedOption(option)
114
+ : this.buildMonoValuedOption(option)}
116
115
  ${this.preventNavigation || option.selected || ((_a = option.subOptions) !== null && _a !== void 0 ? _a : []).length === 0
117
- ? nothing
118
- : html `
116
+ ? nothing
117
+ : html `
119
118
  <ft-button icon="thin_arrow_right"
120
119
  part="controls navigate-hierarchy"
121
120
  aria-label="Expand node"
@@ -125,8 +124,7 @@ export class FtFilterLevel extends withAnalytics(withI18n(withAriaNotification(F
125
124
  @click=${() => this.displayLevel(option)}></ft-button>
126
125
  `}
127
126
  </div>
128
- `;
129
- })}
127
+ `; })}
130
128
  ${limitedOptions.length < this.filteredOptions.length ? html `
131
129
  <ft-button
132
130
  class="ft-filter-level--display-more"
@@ -109,7 +109,8 @@ export class FtFilter extends withAnalytics(FtLitElement, analyticsActions) {
109
109
  }
110
110
  }
111
111
  contentAvailableCallback(props) {
112
- var _a, _b, _c, _d, _e, _f;
112
+ var _a, _b, _c, _d, _e;
113
+ var _f;
113
114
  super.contentAvailableCallback(props);
114
115
  if (this.valuesContainer) {
115
116
  this.scrollResizeObserver.observe(this.valuesContainer);
@@ -283,7 +284,8 @@ export class FtFilter extends withAnalytics(FtLitElement, analyticsActions) {
283
284
  this.optionsChanged();
284
285
  }
285
286
  onFilterChange() {
286
- var _a, _b;
287
+ var _a;
288
+ var _b;
287
289
  this.filter = (_b = (_a = this.filterInput) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : "";
288
290
  }
289
291
  updateScroll() {