@getlupa/client 0.6.0-alpha-19 → 0.6.0-alpha-20

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.
@@ -15407,8 +15407,9 @@ __vue_render__$J._withStripped = true;
15407
15407
  const searchResult$h = namespace("searchResult");
15408
15408
  let FacetDisplay = class FacetDisplay extends Vue$1 {
15409
15409
  constructor() {
15410
+ var _a, _b;
15410
15411
  super(...arguments);
15411
- this.isOpen = false;
15412
+ this.isOpen = (_b = (_a = this.options.expand) === null || _a === void 0 ? void 0 : _a.includes(this.facet.key)) !== null && _b !== void 0 ? _b : false;
15412
15413
  }
15413
15414
  get facetType() {
15414
15415
  switch (this.facet.type) {
@@ -143,6 +143,7 @@ export declare type ResultFacetOptions = {
143
143
  type: FacetStyle;
144
144
  };
145
145
  exclude?: string[];
146
+ expand?: string[];
146
147
  facetFilterQueries?: Record<string, FacetFilterQuery>;
147
148
  };
148
149
  export declare type SearchResultsFilterOptions = {
@@ -15403,8 +15403,9 @@ __vue_render__$J._withStripped = true;
15403
15403
  const searchResult$h = namespace("searchResult");
15404
15404
  let FacetDisplay = class FacetDisplay extends Vue$1 {
15405
15405
  constructor() {
15406
+ var _a, _b;
15406
15407
  super(...arguments);
15407
- this.isOpen = false;
15408
+ this.isOpen = (_b = (_a = this.options.expand) === null || _a === void 0 ? void 0 : _a.includes(this.facet.key)) !== null && _b !== void 0 ? _b : false;
15408
15409
  }
15409
15410
  get facetType() {
15410
15411
  switch (this.facet.type) {
@@ -143,6 +143,7 @@ export declare type ResultFacetOptions = {
143
143
  type: FacetStyle;
144
144
  };
145
145
  exclude?: string[];
146
+ expand?: string[];
146
147
  facetFilterQueries?: Record<string, FacetFilterQuery>;
147
148
  };
148
149
  export declare type SearchResultsFilterOptions = {