@searchstax-inc/searchstudio-ux-angular 1.0.0 → 1.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.
Files changed (39) hide show
  1. package/esm2022/lib/components/searchstax-input/searchstax-input.component.mjs +75 -0
  2. package/esm2022/lib/components/searchstax-results/searchstax-results.component.mjs +66 -0
  3. package/esm2022/lib/components/searchstax-search-external/searchstax-search-external.component.mjs +40 -0
  4. package/esm2022/lib/components/searchstax-search-facets/searchstax-search-facets.component.mjs +112 -0
  5. package/esm2022/lib/components/searchstax-search-overview/searchstax-search-overview.component.mjs +41 -0
  6. package/esm2022/lib/components/searchstax-search-pagination/searchstax-search-pagination.component.mjs +60 -0
  7. package/esm2022/lib/components/searchstax-search-related/searchstax-search-related.component.mjs +44 -0
  8. package/esm2022/lib/components/searchstax-search-sorting/searchstax-search-sorting.component.mjs +45 -0
  9. package/esm2022/lib/components/searchstax-wrapper.component.mjs +74 -0
  10. package/esm2022/lib/searchstudio-ux-angular.module.mjs +62 -0
  11. package/{esm2020 → esm2022}/lib/services/store-service.service.mjs +4 -4
  12. package/fesm2022/searchstax-inc-searchstudio-ux-angular.mjs +602 -0
  13. package/{fesm2020 → fesm2022}/searchstax-inc-searchstudio-ux-angular.mjs.map +1 -1
  14. package/lib/components/searchstax-input/searchstax-input.component.d.ts +1 -1
  15. package/lib/components/searchstax-results/searchstax-results.component.d.ts +1 -1
  16. package/lib/components/searchstax-search-external/searchstax-search-external.component.d.ts +1 -1
  17. package/lib/components/searchstax-search-facets/searchstax-search-facets.component.d.ts +1 -1
  18. package/lib/components/searchstax-search-overview/searchstax-search-overview.component.d.ts +1 -1
  19. package/lib/components/searchstax-search-pagination/searchstax-search-pagination.component.d.ts +1 -1
  20. package/lib/components/searchstax-search-related/searchstax-search-related.component.d.ts +1 -1
  21. package/lib/components/searchstax-search-sorting/searchstax-search-sorting.component.d.ts +1 -1
  22. package/lib/components/searchstax-wrapper.component.d.ts +1 -1
  23. package/package.json +9 -15
  24. package/esm2020/lib/components/searchstax-input/searchstax-input.component.mjs +0 -75
  25. package/esm2020/lib/components/searchstax-results/searchstax-results.component.mjs +0 -66
  26. package/esm2020/lib/components/searchstax-search-external/searchstax-search-external.component.mjs +0 -40
  27. package/esm2020/lib/components/searchstax-search-facets/searchstax-search-facets.component.mjs +0 -112
  28. package/esm2020/lib/components/searchstax-search-overview/searchstax-search-overview.component.mjs +0 -41
  29. package/esm2020/lib/components/searchstax-search-pagination/searchstax-search-pagination.component.mjs +0 -60
  30. package/esm2020/lib/components/searchstax-search-related/searchstax-search-related.component.mjs +0 -44
  31. package/esm2020/lib/components/searchstax-search-sorting/searchstax-search-sorting.component.mjs +0 -45
  32. package/esm2020/lib/components/searchstax-wrapper.component.mjs +0 -78
  33. package/esm2020/lib/searchstudio-ux-angular.module.mjs +0 -62
  34. package/fesm2015/searchstax-inc-searchstudio-ux-angular.mjs +0 -628
  35. package/fesm2015/searchstax-inc-searchstudio-ux-angular.mjs.map +0 -1
  36. package/fesm2020/searchstax-inc-searchstudio-ux-angular.mjs +0 -606
  37. /package/{esm2020 → esm2022}/public-api.mjs +0 -0
  38. /package/{esm2020 → esm2022}/searchstax-inc-searchstudio-ux-angular.mjs +0 -0
  39. /package/{searchstax-inc-searchstudio-ux-angular.d.ts → index.d.ts} +0 -0
@@ -1,606 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Injectable, EventEmitter, Component, Input, Output, NgModule } from '@angular/core';
3
- import { Searchstax } from '@searchstax-inc/searchstudio-ux-js';
4
- import * as i2 from '@angular/common';
5
- import { CommonModule } from '@angular/common';
6
-
7
- class StoreServiceService {
8
- constructor() {
9
- this.searchstax = new Searchstax('vue');
10
- }
11
- }
12
- StoreServiceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: StoreServiceService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
13
- StoreServiceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: StoreServiceService, providedIn: 'root' });
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: StoreServiceService, decorators: [{
15
- type: Injectable,
16
- args: [{
17
- providedIn: 'root'
18
- }]
19
- }], ctorParameters: function () { return []; } });
20
-
21
- class SearchstaxWrapper {
22
- constructor(storeServiceService) {
23
- this.storeServiceService = storeServiceService;
24
- this.language = 'en';
25
- this.searchURL = '';
26
- this.suggesterURL = '';
27
- this.trackApiKey = '';
28
- this.searchAuth = '';
29
- this.authType = 'basic';
30
- this.autoCorrect = true;
31
- this.initialized = new EventEmitter();
32
- this.hooks = {};
33
- if (this.beforeSearch) {
34
- this.hooks.beforeSearch = this.beforeSearch;
35
- }
36
- if (this.afterSearch) {
37
- this.hooks.afterSearch = this.afterSearch;
38
- }
39
- }
40
- ngOnInit() {
41
- this.storeServiceService.searchstax.initialize({
42
- language: this.language,
43
- searchURL: this.searchURL,
44
- suggesterURL: this.suggesterURL,
45
- trackApiKey: this.trackApiKey,
46
- searchAuth: this.searchAuth,
47
- authType: this.authType,
48
- autoCorrect: this.autoCorrect,
49
- router: this.router,
50
- hooks: this.hooks
51
- });
52
- this.initialized.emit(this.storeServiceService.searchstax);
53
- }
54
- }
55
- SearchstaxWrapper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxWrapper, deps: [{ token: StoreServiceService }], target: i0.ɵɵFactoryTarget.Component });
56
- SearchstaxWrapper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: SearchstaxWrapper, selector: "app-searchstax-wrapper", inputs: { language: "language", searchURL: "searchURL", suggesterURL: "suggesterURL", trackApiKey: "trackApiKey", searchAuth: "searchAuth", authType: "authType", autoCorrect: "autoCorrect", router: "router", beforeSearch: "beforeSearch", afterSearch: "afterSearch" }, outputs: { initialized: "initialized" }, ngImport: i0, template: `
57
- <div>
58
- <ng-content></ng-content>
59
- </div>
60
- `, isInline: true });
61
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxWrapper, decorators: [{
62
- type: Component,
63
- args: [{
64
- selector: 'app-searchstax-wrapper',
65
- template: `
66
- <div>
67
- <ng-content></ng-content>
68
- </div>
69
- `,
70
- styles: []
71
- }]
72
- }], ctorParameters: function () { return [{ type: StoreServiceService }]; }, propDecorators: { language: [{
73
- type: Input
74
- }], searchURL: [{
75
- type: Input
76
- }], suggesterURL: [{
77
- type: Input
78
- }], trackApiKey: [{
79
- type: Input
80
- }], searchAuth: [{
81
- type: Input
82
- }], authType: [{
83
- type: Input
84
- }], autoCorrect: [{
85
- type: Input
86
- }], router: [{
87
- type: Input
88
- }], beforeSearch: [{
89
- type: Input
90
- }], afterSearch: [{
91
- type: Input
92
- }], initialized: [{
93
- type: Output
94
- }] } });
95
-
96
- class SearchstaxInputWidget {
97
- constructor(storeServiceService) {
98
- this.storeServiceService = storeServiceService;
99
- this.searchInputId = '';
100
- this.suggestAfterMinChars = 3;
101
- this.hooks = {};
102
- this.suggestions = [];
103
- this.context = this;
104
- }
105
- ngOnInit() {
106
- console.log('this.templateOverride', this.templateOverride);
107
- if (this.storeServiceService.searchstax) {
108
- this.attachObservables();
109
- // const hooks: { [key: string]: (prop: any) => any } = {}
110
- if (this.afterAutosuggest) {
111
- this.hooks['afterAutosuggest'] = this.afterAutosuggest;
112
- }
113
- if (this.beforeAutosuggest) {
114
- this.hooks['beforeAutosuggest'] = this.beforeAutosuggest;
115
- }
116
- setTimeout(() => {
117
- this.storeServiceService.searchstax.addSearchInputWidget('searchstax-input-container', {
118
- suggestAfterMinChars: this.suggestAfterMinChars,
119
- hooks: this.hooks,
120
- templates: {
121
- mainTemplate: {
122
- template: ``,
123
- searchInputId: this.searchInputId ?? 'searchstax-search-input'
124
- }
125
- }
126
- });
127
- }, 0);
128
- }
129
- else {
130
- throw Error('Searchstax instance needs to be passed via props');
131
- }
132
- }
133
- onMouseLeave(context) {
134
- context.storeServiceService.searchstax.searchInputWidget?.resetAutosuggestSelection();
135
- context.storeServiceService.searchstax.searchInputWidget?.markActiveAutosuggestItem();
136
- }
137
- onMouseOver(suggestion, context) {
138
- context.storeServiceService.searchstax.searchInputWidget?.onSuggestionEnter(suggestion);
139
- }
140
- onMouseClick(e, context) {
141
- e.stopImmediatePropagation();
142
- context.storeServiceService.searchstax.searchInputWidget?.suggestionChosen();
143
- }
144
- attachObservables() {
145
- this.storeServiceService.searchstax.dataLayer.$autosuggestResults.subscribe((suggestions) => {
146
- this.suggestions = suggestions?.suggestions ?? [];
147
- });
148
- }
149
- }
150
- SearchstaxInputWidget.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxInputWidget, deps: [{ token: StoreServiceService }], target: i0.ɵɵFactoryTarget.Component });
151
- SearchstaxInputWidget.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: SearchstaxInputWidget, selector: "app-searchstax-input", inputs: { afterAutosuggest: "afterAutosuggest", beforeAutosuggest: "beforeAutosuggest", searchInputId: "searchInputId", suggestAfterMinChars: "suggestAfterMinChars", templateOverride: "templateOverride" }, ngImport: i0, template: "<div id=\"searchstax-input-container\">\n <div class=\"searchstax-search-input-container\">\n <div *ngIf=\"!templateOverride\" class=\"searchstax-search-input-wrapper\">\n <input\n type=\"text\"\n id=\"searchstax-search-input\"\n class=\"searchstax-search-input\"\n placeholder=\"SEARCH FOR...\"\n />\n <div\n class=\"searchstax-autosuggest-container\"\n [ngClass]=\"{ hidden: suggestions.length === 0 }\"\n (mouseleave)=\"(onMouseLeave)\"\n >\n <div\n class=\"searchstax-autosuggest-item\"\n *ngFor=\"let suggestion of suggestions\"\n >\n <div\n class=\"searchstax-autosuggest-item-term-container\"\n [innerHtml]=\"suggestion.term\"\n (mouseover)=\"onMouseOver(suggestion, context)\"\n (click)=\"onMouseClick($event, context)\"\n ></div>\n </div>\n </div>\n <button\n class=\"searchstax-spinner-icon\"\n id=\"searchstax-search-input-action-button\"\n ></button>\n </div>\n <div *ngIf=\"templateOverride\">\n <ng-container\n *ngTemplateOutlet=\"templateOverride; context: context\"\n ></ng-container>\n </div>\n\n <!-- <slot\n name=\"input\"\n :suggestions=\"suggestions\"\n :onMouseClick=\"onMouseClick\"\n :onMouseOver=\"onMouseOver\"\n :onMouseLeave=\"onMouseLeave\"\n ></slot> -->\n </div>\n</div>\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
152
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxInputWidget, decorators: [{
153
- type: Component,
154
- args: [{ selector: 'app-searchstax-input', styles: [], template: "<div id=\"searchstax-input-container\">\n <div class=\"searchstax-search-input-container\">\n <div *ngIf=\"!templateOverride\" class=\"searchstax-search-input-wrapper\">\n <input\n type=\"text\"\n id=\"searchstax-search-input\"\n class=\"searchstax-search-input\"\n placeholder=\"SEARCH FOR...\"\n />\n <div\n class=\"searchstax-autosuggest-container\"\n [ngClass]=\"{ hidden: suggestions.length === 0 }\"\n (mouseleave)=\"(onMouseLeave)\"\n >\n <div\n class=\"searchstax-autosuggest-item\"\n *ngFor=\"let suggestion of suggestions\"\n >\n <div\n class=\"searchstax-autosuggest-item-term-container\"\n [innerHtml]=\"suggestion.term\"\n (mouseover)=\"onMouseOver(suggestion, context)\"\n (click)=\"onMouseClick($event, context)\"\n ></div>\n </div>\n </div>\n <button\n class=\"searchstax-spinner-icon\"\n id=\"searchstax-search-input-action-button\"\n ></button>\n </div>\n <div *ngIf=\"templateOverride\">\n <ng-container\n *ngTemplateOutlet=\"templateOverride; context: context\"\n ></ng-container>\n </div>\n\n <!-- <slot\n name=\"input\"\n :suggestions=\"suggestions\"\n :onMouseClick=\"onMouseClick\"\n :onMouseOver=\"onMouseOver\"\n :onMouseLeave=\"onMouseLeave\"\n ></slot> -->\n </div>\n</div>\n" }]
155
- }], ctorParameters: function () { return [{ type: StoreServiceService }]; }, propDecorators: { afterAutosuggest: [{
156
- type: Input
157
- }], beforeAutosuggest: [{
158
- type: Input
159
- }], searchInputId: [{
160
- type: Input
161
- }], suggestAfterMinChars: [{
162
- type: Input
163
- }], templateOverride: [{
164
- type: Input
165
- }] } });
166
-
167
- class SearchstaxResultsWidget {
168
- constructor(storeServiceService) {
169
- this.storeServiceService = storeServiceService;
170
- this.searchResults = null;
171
- this.metadata = null;
172
- this.searchTerm = '';
173
- this.context = this;
174
- }
175
- get hooks() {
176
- const hooks = {};
177
- if (this.afterLinkClick) {
178
- hooks['afterLinkClick'] = this.afterLinkClick;
179
- }
180
- return hooks;
181
- }
182
- ngOnInit() {
183
- if (this.storeServiceService.searchstax) {
184
- this.attachObservables();
185
- setTimeout(() => {
186
- this.storeServiceService.searchstax.addSearchResultsWidget('searchstax-results-container', {
187
- templates: {},
188
- hooks: this.hooks,
189
- });
190
- }, 0);
191
- }
192
- else {
193
- throw Error('Searchstax instance needs to be passed via props');
194
- }
195
- }
196
- attachObservables() {
197
- this.storeServiceService.searchstax.dataLayer.$searchResults.subscribe((results) => {
198
- this.searchResults = results;
199
- });
200
- this.storeServiceService.searchstax.dataLayer.$searchTermChange.subscribe((result) => {
201
- this.searchTerm = result;
202
- });
203
- this.storeServiceService.searchstax.dataLayer.$searchResultsMetadata.subscribe((value) => {
204
- this.metadata = value;
205
- });
206
- }
207
- resultClicked(result, event, context) {
208
- event.preventDefault();
209
- event.stopPropagation();
210
- context.storeServiceService.searchstax.executeLinkClick(result.uniqueId);
211
- }
212
- isImage(field) {
213
- return field.isImage && typeof field.value === 'string';
214
- }
215
- }
216
- SearchstaxResultsWidget.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxResultsWidget, deps: [{ token: StoreServiceService }], target: i0.ɵɵFactoryTarget.Component });
217
- SearchstaxResultsWidget.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: SearchstaxResultsWidget, selector: "app-searchstax-results", inputs: { afterLinkClick: "afterLinkClick", noResultsTemplate: "noResultsTemplate", resultsTemplate: "resultsTemplate" }, ngImport: i0, template: "<div id=\"searchstax-results-container\">\n <div class=\"searchstax-search-results-container\">\n <div id=\"searchstax-result-container\">\n <div\n *ngIf=\"\n searchResults && searchResults.length === 0 && !noResultsTemplate\n \"\n >\n <div class=\"searchstax-no-results\">\n Showing <strong>no results</strong> for\n <strong>\"{{ searchTerm }}\"</strong>\n <br />\n <span *ngIf=\"metadata?.spellingSuggestion\"\n >&nbsp;Did you mean\n <a href=\"#\" class=\"searchstax-suggestion-term\">{{\n metadata?.spellingSuggestion\n }}</a\n >?</span\n >\n </div>\n <div>\n <p>\n Try searching for search related terms or topics. We offer a wide\n variety of content to help you get the information you need.\n </p>\n <p>Lost? Click on the \u2018X\u201D in the Search Box to reset your search.</p>\n </div>\n </div>\n <div\n *ngIf=\"searchResults && searchResults.length === 0 && noResultsTemplate\"\n >\n <ng-container\n *ngTemplateOutlet=\"noResultsTemplate; context: context\"\n ></ng-container>\n </div>\n\n <div\n class=\"searchstax-search-results\"\n *ngIf=\"searchResults && searchResults.length && !resultsTemplate\"\n >\n <div\n class=\"searchstax-search-result\"\n [ngClass]=\"{ 'has-thumbnail': searchResult.thumbnail }\"\n *ngFor=\"let searchResult of searchResults\"\n >\n <div\n *ngIf=\"searchResult.promoted\"\n class=\"searchstax-search-result-promoted\"\n ></div>\n <a\n *ngIf=\"searchResult.url\"\n [href]=\"searchResult.url\"\n [attr.data-searchstax-unique-result-id]=\"searchResult.uniqueId\"\n (click)=\"resultClicked(searchResult, $event, context)\"\n class=\"searchstax-result-item-link\"\n ></a>\n <div\n *ngIf=\"searchResult.ribbon\"\n class=\"searchstax-search-result-ribbon\"\n >\n {{ searchResult.ribbon }}\n </div>\n <img\n *ngIf=\"searchResult.thumbnail\"\n [src]=\"searchResult.thumbnail\"\n class=\"searchstax-thumbnail\"\n />\n <div class=\"searchstax-search-result-title-container\">\n <span class=\"searchstax-search-result-title\">{{\n searchResult.title\n }}</span>\n </div>\n <p *ngIf=\"searchResult.paths\" class=\"searchstax-search-result-common\">\n {{ searchResult.paths }}\n </p>\n <p\n *ngIf=\"searchResult.description\"\n class=\"searchstax-search-result-description searchstax-search-result-common\"\n >\n {{ searchResult.description }}\n </p>\n <div *ngFor=\"let unmappedField of searchResult.unmappedFields\">\n <div\n *ngIf=\"isImage(unmappedField)\"\n class=\"searchstax-search-result-image-container\"\n >\n <img\n [src]=\"unmappedField.value\"\n class=\"searchstax-result-image\"\n />\n </div>\n <div *ngIf=\"!isImage(unmappedField)\">\n <p class=\"searchstax-search-result-common\">\n {{ unmappedField.value }}\n </p>\n </div>\n </div>\n </div>\n </div>\n\n <div *ngIf=\"searchResults && searchResults.length && resultsTemplate\">\n <ng-container\n *ngTemplateOutlet=\"resultsTemplate; context: context\"\n ></ng-container>\n </div>\n </div>\n </div>\n</div>\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
218
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxResultsWidget, decorators: [{
219
- type: Component,
220
- args: [{ selector: 'app-searchstax-results', styles: [], template: "<div id=\"searchstax-results-container\">\n <div class=\"searchstax-search-results-container\">\n <div id=\"searchstax-result-container\">\n <div\n *ngIf=\"\n searchResults && searchResults.length === 0 && !noResultsTemplate\n \"\n >\n <div class=\"searchstax-no-results\">\n Showing <strong>no results</strong> for\n <strong>\"{{ searchTerm }}\"</strong>\n <br />\n <span *ngIf=\"metadata?.spellingSuggestion\"\n >&nbsp;Did you mean\n <a href=\"#\" class=\"searchstax-suggestion-term\">{{\n metadata?.spellingSuggestion\n }}</a\n >?</span\n >\n </div>\n <div>\n <p>\n Try searching for search related terms or topics. We offer a wide\n variety of content to help you get the information you need.\n </p>\n <p>Lost? Click on the \u2018X\u201D in the Search Box to reset your search.</p>\n </div>\n </div>\n <div\n *ngIf=\"searchResults && searchResults.length === 0 && noResultsTemplate\"\n >\n <ng-container\n *ngTemplateOutlet=\"noResultsTemplate; context: context\"\n ></ng-container>\n </div>\n\n <div\n class=\"searchstax-search-results\"\n *ngIf=\"searchResults && searchResults.length && !resultsTemplate\"\n >\n <div\n class=\"searchstax-search-result\"\n [ngClass]=\"{ 'has-thumbnail': searchResult.thumbnail }\"\n *ngFor=\"let searchResult of searchResults\"\n >\n <div\n *ngIf=\"searchResult.promoted\"\n class=\"searchstax-search-result-promoted\"\n ></div>\n <a\n *ngIf=\"searchResult.url\"\n [href]=\"searchResult.url\"\n [attr.data-searchstax-unique-result-id]=\"searchResult.uniqueId\"\n (click)=\"resultClicked(searchResult, $event, context)\"\n class=\"searchstax-result-item-link\"\n ></a>\n <div\n *ngIf=\"searchResult.ribbon\"\n class=\"searchstax-search-result-ribbon\"\n >\n {{ searchResult.ribbon }}\n </div>\n <img\n *ngIf=\"searchResult.thumbnail\"\n [src]=\"searchResult.thumbnail\"\n class=\"searchstax-thumbnail\"\n />\n <div class=\"searchstax-search-result-title-container\">\n <span class=\"searchstax-search-result-title\">{{\n searchResult.title\n }}</span>\n </div>\n <p *ngIf=\"searchResult.paths\" class=\"searchstax-search-result-common\">\n {{ searchResult.paths }}\n </p>\n <p\n *ngIf=\"searchResult.description\"\n class=\"searchstax-search-result-description searchstax-search-result-common\"\n >\n {{ searchResult.description }}\n </p>\n <div *ngFor=\"let unmappedField of searchResult.unmappedFields\">\n <div\n *ngIf=\"isImage(unmappedField)\"\n class=\"searchstax-search-result-image-container\"\n >\n <img\n [src]=\"unmappedField.value\"\n class=\"searchstax-result-image\"\n />\n </div>\n <div *ngIf=\"!isImage(unmappedField)\">\n <p class=\"searchstax-search-result-common\">\n {{ unmappedField.value }}\n </p>\n </div>\n </div>\n </div>\n </div>\n\n <div *ngIf=\"searchResults && searchResults.length && resultsTemplate\">\n <ng-container\n *ngTemplateOutlet=\"resultsTemplate; context: context\"\n ></ng-container>\n </div>\n </div>\n </div>\n</div>\n" }]
221
- }], ctorParameters: function () { return [{ type: StoreServiceService }]; }, propDecorators: { afterLinkClick: [{
222
- type: Input
223
- }], noResultsTemplate: [{
224
- type: Input
225
- }], resultsTemplate: [{
226
- type: Input
227
- }] } });
228
-
229
- class SearchstaxSearchFeedbackWidget {
230
- constructor(storeServiceService) {
231
- this.storeServiceService = storeServiceService;
232
- this.searchFeedbackData = null;
233
- this.rand = Math.random();
234
- this.context = this;
235
- }
236
- ngOnInit() {
237
- if (this.storeServiceService.searchstax) {
238
- this.attachObservables();
239
- setTimeout(() => {
240
- this.storeServiceService.searchstax.addSearchFeedbackWidget("search-feedback-container" + this.rand, {});
241
- }, 0);
242
- }
243
- else {
244
- throw Error("Searchstax instance needs to be passed via props");
245
- }
246
- }
247
- onOriginalQueryClick(e, context) {
248
- e.stopImmediatePropagation();
249
- context.storeServiceService.searchstax.searchFeedbackWidget?.onOriginalQueryClick(e);
250
- }
251
- attachObservables() {
252
- this.storeServiceService.searchstax.dataLayer.$searchFeedbackData.subscribe((searchFeedbackData) => {
253
- this.searchFeedbackData = searchFeedbackData;
254
- });
255
- }
256
- }
257
- SearchstaxSearchFeedbackWidget.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxSearchFeedbackWidget, deps: [{ token: StoreServiceService }], target: i0.ɵɵFactoryTarget.Component });
258
- SearchstaxSearchFeedbackWidget.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: SearchstaxSearchFeedbackWidget, selector: "app-searchstax-search-feedback", inputs: { templateOverride: "templateOverride" }, ngImport: i0, template: "<div\n class=\"search-feedback-container\"\n [id]=\"'search-feedback-container' + rand\"\n>\n <div\n class=\"searchstax-feedback-container\"\n *ngIf=\"\n searchFeedbackData &&\n searchFeedbackData?.searchExecuted &&\n !templateOverride &&\n searchFeedbackData?.totalResults\n \"\n >\n Showing\n <b\n >{{ searchFeedbackData!.startResultIndex }} -\n {{ searchFeedbackData!.endResultIndex }}</b\n >\n of <b>{{ searchFeedbackData!.totalResults }}</b> results\n <span *ngIf=\"searchFeedbackData.searchTerm\"\n >for \"<b>{{ searchFeedbackData!.searchTerm }}</b\n >\"\n </span>\n <div class=\"searchstax-feedback-container-suggested\">\n <div *ngIf=\"searchFeedbackData.autoCorrectedQuery\">\n Search instead for\n <a\n href=\"#\"\n (click)=\"onOriginalQueryClick($event, context)\"\n class=\"searchstax-feedback-original-query\"\n >{{ searchFeedbackData!.originalQuery }}</a\n >\n </div>\n </div>\n </div>\n\n <div\n *ngIf=\"\n searchFeedbackData &&\n searchFeedbackData?.searchExecuted &&\n templateOverride &&\n searchFeedbackData?.totalResults\n \"\n >\n <ng-container\n *ngTemplateOutlet=\"templateOverride; context: context\"\n ></ng-container>\n </div>\n</div>\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
259
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxSearchFeedbackWidget, decorators: [{
260
- type: Component,
261
- args: [{ selector: "app-searchstax-search-feedback", styles: [], template: "<div\n class=\"search-feedback-container\"\n [id]=\"'search-feedback-container' + rand\"\n>\n <div\n class=\"searchstax-feedback-container\"\n *ngIf=\"\n searchFeedbackData &&\n searchFeedbackData?.searchExecuted &&\n !templateOverride &&\n searchFeedbackData?.totalResults\n \"\n >\n Showing\n <b\n >{{ searchFeedbackData!.startResultIndex }} -\n {{ searchFeedbackData!.endResultIndex }}</b\n >\n of <b>{{ searchFeedbackData!.totalResults }}</b> results\n <span *ngIf=\"searchFeedbackData.searchTerm\"\n >for \"<b>{{ searchFeedbackData!.searchTerm }}</b\n >\"\n </span>\n <div class=\"searchstax-feedback-container-suggested\">\n <div *ngIf=\"searchFeedbackData.autoCorrectedQuery\">\n Search instead for\n <a\n href=\"#\"\n (click)=\"onOriginalQueryClick($event, context)\"\n class=\"searchstax-feedback-original-query\"\n >{{ searchFeedbackData!.originalQuery }}</a\n >\n </div>\n </div>\n </div>\n\n <div\n *ngIf=\"\n searchFeedbackData &&\n searchFeedbackData?.searchExecuted &&\n templateOverride &&\n searchFeedbackData?.totalResults\n \"\n >\n <ng-container\n *ngTemplateOutlet=\"templateOverride; context: context\"\n ></ng-container>\n </div>\n</div>\n" }]
262
- }], ctorParameters: function () { return [{ type: StoreServiceService }]; }, propDecorators: { templateOverride: [{
263
- type: Input
264
- }] } });
265
-
266
- class SearchstaxSearchPaginationWidget {
267
- constructor(storeServiceService) {
268
- this.storeServiceService = storeServiceService;
269
- this.paginationData = null;
270
- this.rand = Math.random();
271
- this.context = this;
272
- this.paginationAdded = false;
273
- }
274
- ngOnInit() {
275
- if (this.storeServiceService.searchstax) {
276
- this.attachObservables();
277
- setTimeout(() => {
278
- this.addWidget();
279
- }, 0);
280
- }
281
- else {
282
- throw Error("Searchstax instance needs to be passed via props");
283
- }
284
- }
285
- nextPage(event, context) {
286
- event.stopImmediatePropagation();
287
- if (!context.paginationData?.isLastPage) {
288
- context.storeServiceService.searchstax.searchPaginationWidget?.nextPage(event);
289
- }
290
- }
291
- previousPage(event, context) {
292
- event.stopImmediatePropagation();
293
- if (!context.paginationData?.isFirstPage) {
294
- context.storeServiceService.searchstax.searchPaginationWidget?.previousPage(event);
295
- }
296
- }
297
- addWidget() {
298
- if (!this.paginationAdded &&
299
- this.storeServiceService.searchstax.routerHelper) {
300
- this.paginationAdded = true;
301
- this.storeServiceService.searchstax.addPaginationWidget("searchstax-pagination-container" + this.rand, {});
302
- }
303
- }
304
- attachObservables() {
305
- this.storeServiceService.searchstax.dataLayer.$searchObject.subscribe((pagination) => {
306
- this.addWidget();
307
- });
308
- this.storeServiceService.searchstax.dataLayer.$paginationData.subscribe((pagination) => {
309
- this.paginationData = pagination;
310
- });
311
- }
312
- }
313
- SearchstaxSearchPaginationWidget.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxSearchPaginationWidget, deps: [{ token: StoreServiceService }], target: i0.ɵɵFactoryTarget.Component });
314
- SearchstaxSearchPaginationWidget.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: SearchstaxSearchPaginationWidget, selector: "app-searchstax-search-pagination", inputs: { templateOverride: "templateOverride" }, ngImport: i0, template: "<div [id]=\"'searchstax-pagination-container' + rand\">\n <div\n class=\"searchstax-pagination-container\"\n *ngIf=\"paginationData?.totalResults && !templateOverride\"\n >\n <div class=\"searchstax-pagination-content\">\n <a\n class=\"searchstax-pagination-previous\"\n (click)=\"previousPage($event, context)\"\n id=\"searchstax-pagination-previous\"\n >\n &lt; Previous\n </a>\n <div class=\"searchstax-pagination-details\">\n {{ paginationData?.startResultIndex }} -\n {{ paginationData?.endResultIndex }} of\n {{ paginationData?.totalResults }}\n </div>\n <a\n class=\"searchstax-pagination-next\"\n (click)=\"nextPage($event, context)\"\n id=\"searchstax-pagination-next\"\n >Next ></a\n >\n </div>\n </div>\n\n <div *ngIf=\"paginationData?.totalResults && templateOverride\">\n <ng-container\n *ngTemplateOutlet=\"templateOverride; context: context\"\n ></ng-container>\n </div>\n</div>\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
315
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxSearchPaginationWidget, decorators: [{
316
- type: Component,
317
- args: [{ selector: "app-searchstax-search-pagination", styles: [], template: "<div [id]=\"'searchstax-pagination-container' + rand\">\n <div\n class=\"searchstax-pagination-container\"\n *ngIf=\"paginationData?.totalResults && !templateOverride\"\n >\n <div class=\"searchstax-pagination-content\">\n <a\n class=\"searchstax-pagination-previous\"\n (click)=\"previousPage($event, context)\"\n id=\"searchstax-pagination-previous\"\n >\n &lt; Previous\n </a>\n <div class=\"searchstax-pagination-details\">\n {{ paginationData?.startResultIndex }} -\n {{ paginationData?.endResultIndex }} of\n {{ paginationData?.totalResults }}\n </div>\n <a\n class=\"searchstax-pagination-next\"\n (click)=\"nextPage($event, context)\"\n id=\"searchstax-pagination-next\"\n >Next ></a\n >\n </div>\n </div>\n\n <div *ngIf=\"paginationData?.totalResults && templateOverride\">\n <ng-container\n *ngTemplateOutlet=\"templateOverride; context: context\"\n ></ng-container>\n </div>\n</div>\n" }]
318
- }], ctorParameters: function () { return [{ type: StoreServiceService }]; }, propDecorators: { templateOverride: [{
319
- type: Input
320
- }] } });
321
-
322
- class SearchstaxSearchFacetsWidget {
323
- // @ViewChildren("facetContainers") facetContainers: QueryList<ElementRef>;
324
- constructor(storeServiceService) {
325
- this.storeServiceService = storeServiceService;
326
- this.facetsTemplateDataDesktop = null;
327
- this.facetsTemplateDataMobile = null;
328
- this.context = this;
329
- this.selectedFacetsCheckboxes = [];
330
- this.selectedFacetsRange = [];
331
- this.rand = Math.random();
332
- }
333
- ngOnInit() {
334
- if (this.storeServiceService.searchstax) {
335
- this.attachObservables();
336
- setTimeout(() => {
337
- this.addWidget();
338
- }, 0);
339
- }
340
- else {
341
- throw Error("Searchstax instance needs to be passed via props");
342
- }
343
- }
344
- addWidget() {
345
- this.storeServiceService.searchstax.addFacetsWidget('searchstax-facets-container' + this.rand, {
346
- facetingType: this.facetingType,
347
- specificFacets: this.specificFacets,
348
- itemsPerPageDesktop: this.itemsPerPageDesktop,
349
- itemsPerPageMobile: this.itemsPerPageMobile
350
- });
351
- }
352
- attachObservables() {
353
- this.storeServiceService.searchstax.dataLayer.$facetsTemplateData.subscribe((data) => {
354
- if (data?.isMobile) {
355
- this.facetsTemplateDataMobile = data;
356
- }
357
- else {
358
- this.facetsTemplateDataDesktop = data;
359
- }
360
- });
361
- this.storeServiceService.searchstax.dataLayer.$selectedFacetsTemplateData.subscribe((data) => {
362
- const da = data ?? [];
363
- this.selectedFacetsCheckboxes = da.filter((d) => d.type === 'checkbox');
364
- });
365
- }
366
- unselectFacet(facet, context) {
367
- context.storeServiceService.searchstax.searchFacetsWidget?.unselectFacet(facet);
368
- }
369
- unselectAll(context) {
370
- context.storeServiceService.searchstax.searchFacetsWidget?.removeSelectedFacets();
371
- }
372
- isNotDeactivated(name, context) {
373
- return !context.storeServiceService.searchstax.searchFacetsWidget?.deactivatedFacets[name];
374
- }
375
- toggleFacetGroup(name, context) {
376
- if (context.storeServiceService.searchstax.searchFacetsWidget)
377
- if (this.isNotDeactivated(name, context)) {
378
- context.storeServiceService.searchstax.searchFacetsWidget.deactivatedFacets[name] = true;
379
- }
380
- else {
381
- context.storeServiceService.searchstax.searchFacetsWidget.deactivatedFacets[name] = false;
382
- }
383
- }
384
- isChecked(facetValue, context) {
385
- return context.storeServiceService.searchstax.searchFacetsWidget?.isChecked(facetValue);
386
- }
387
- selectFacet(el, event, data, isInput, context) {
388
- const wrapperDiv = document.createElement('div');
389
- wrapperDiv.innerHTML = el.outerHTML;
390
- context.storeServiceService.searchstax.searchFacetsWidget?.onFacetSelect(event, data, el, isInput);
391
- }
392
- showMoreLessDesktop(e, data, context) {
393
- context.storeServiceService.searchstax.searchFacetsWidget?.onShowMoreLessClick(e, data, false);
394
- }
395
- showMoreLessMobile(e, data, context) {
396
- context.storeServiceService.searchstax.searchFacetsWidget?.onShowMoreLessClick(e, data, true);
397
- }
398
- openOverlay(context) {
399
- context.storeServiceService.searchstax.searchFacetsWidget?.openOverlay();
400
- }
401
- closeOverlay(context) {
402
- context.storeServiceService.searchstax.searchFacetsWidget?.closeOverlay();
403
- }
404
- facetValues(facet) {
405
- return facet.values;
406
- }
407
- facetMobileData(facet) {
408
- return facet;
409
- }
410
- }
411
- SearchstaxSearchFacetsWidget.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxSearchFacetsWidget, deps: [{ token: StoreServiceService }], target: i0.ɵɵFactoryTarget.Component });
412
- SearchstaxSearchFacetsWidget.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: SearchstaxSearchFacetsWidget, selector: "app-searchstax-search-facets", inputs: { templateOverrideMobile: "templateOverrideMobile", templateOverrideDesktop: "templateOverrideDesktop", facetingType: "facetingType", itemsPerPageDesktop: "itemsPerPageDesktop", itemsPerPageMobile: "itemsPerPageMobile", specificFacets: "specificFacets" }, ngImport: i0, template: "<div [id]=\"'searchstax-facets-container' + rand\">\n <div\n *ngIf=\"facetsTemplateDataDesktop?.hasResultsOrExternalPromotions && !templateOverrideDesktop\"\n class=\"searchstax-facets-container-desktop\"\n >\n <div\n class=\"searchstax-facet-container\"\n *ngFor=\"let facet of facetsTemplateDataDesktop?.facets\"\n [class]=\"{ active: isNotDeactivated(facet.name, context) }\"\n >\n <div>\n <div class=\"searchstax-facet-title-container\" (click)=\"toggleFacetGroup(facet.name, context)\">\n <div class=\"searchstax-facet-title\">{{ facet.label }}</div>\n <div class=\"searchstax-facet-title-arrow active\"></div>\n </div>\n <div class=\"searchstax-facet-values-container\">\n <div\n *ngFor=\"let facetValue of facetValues(facet); index as key\"\n class=\"searchstax-facet-value-container\"\n [class]=\"{ 'searchstax-facet-value-disabled': facetValue.disabled }\"\n #ref\n >\n <div class=\"searchstax-facet-input\">\n <input\n type=\"checkbox\"\n class=\"searchstax-facet-input-checkbox\"\n [checked]=\"isChecked(facetValue, context)\"\n [disabled]=\"facetValue.disabled\"\n (click)=\"selectFacet(ref, $event, facetValue, true, context)\"\n />\n </div>\n <div class=\"searchstax-facet-value-label\" (click)=\"selectFacet(ref, $event, facetValue, false, context)\">\n {{ facetValue.value }}\n </div>\n <div class=\"searchstax-facet-value-count\" (click)=\"selectFacet(ref, $event, facetValue, false, context)\">\n ({{ facetValue.count }})\n </div>\n </div>\n <div class=\"searchstax-facet-show-more-container\" *ngIf=\"facet.hasMoreFacets\">\n <div class=\"searchstax-facet-show-more-container\" (click)=\"showMoreLessDesktop($event, facet, context)\">\n <div\n *ngIf=\"facet.showingAllFacets\"\n class=\"searchstax-facet-show-less-button searchstax-facet-show-button\"\n >\n less\n </div>\n <div\n *ngIf=\"!facet.showingAllFacets\"\n class=\"searchstax-facet-show-more-button searchstax-facet-show-button\"\n >\n more\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div *ngIf=\"facetsTemplateDataDesktop?.hasResultsOrExternalPromotions && templateOverrideDesktop\">\n <ng-container *ngTemplateOutlet=\"templateOverrideDesktop; context: context\"></ng-container>\n </div>\n\n <div\n class=\"searchstax-facets-container-mobile\"\n *ngIf=\"facetsTemplateDataMobile?.hasResultsOrExternalPromotions && !templateOverrideMobile\"\n >\n <div class=\"searchstax-facets-pills-container\">\n <div class=\"searchstax-facets-pill searchstax-facets-pill-filter-by\" (click)=\"openOverlay(context)\">\n <div class=\"searchstax-facets-pill-label\">Filter By</div>\n </div>\n <div class=\"searchstax-facets-pills-selected\">\n <div\n class=\"searchstax-facets-pill searchstax-facets-pill-facets\"\n *ngFor=\"let facet of selectedFacetsCheckboxes\"\n (click)=\"unselectFacet(facet, context)\"\n >\n <div class=\"searchstax-facets-pill-label\">{{ facet.value }} ({{ facet.count }})</div>\n <div class=\"searchstax-facets-pill-icon-close\"></div>\n </div>\n </div>\n <div\n class=\"searchstax-facets-pill searchstax-clear-filters searchstax-facets-pill-clear-all\"\n *ngIf=\"selectedFacetsCheckboxes.length\"\n (click)=\"unselectAll(context)\"\n >\n <div class=\"searchstax-facets-pill-label\">Clear Filters</div>\n </div>\n </div>\n <div\n class=\"searchstax-facets-mobile-overlay\"\n [class]=\"{ 'searchstax-show': facetMobileData(facetsTemplateDataMobile)?.overlayOpened }\"\n >\n <div class=\"searchstax-facets-mobile-overlay-header\">\n <div class=\"searchstax-facets-mobile-overlay-header-title\">Filter By</div>\n <div class=\"searchstax-search-close\" (click)=\"closeOverlay(context)\"></div>\n </div>\n <div class=\"searchstax-facets-container-mobile\">\n <div\n *ngFor=\"let facet of facetsTemplateDataMobile?.facets\"\n class=\"searchstax-facet-container\"\n [class]=\"{ active: isNotDeactivated(facet.name, context) }\"\n >\n <div>\n <div class=\"searchstax-facet-title-container\" (click)=\"toggleFacetGroup(facet.name, context)\">\n <div class=\"searchstax-facet-title\">{{ facet.label }}</div>\n <div class=\"searchstax-facet-title-arrow active\"></div>\n </div>\n <div class=\"searchstax-facet-values-container\">\n <div\n *ngFor=\"let facetValue of facetValues(facet); index as key\"\n class=\"searchstax-facet-value-container\"\n [class]=\"{ 'searchstax-facet-value-disabled': facetValue.disabled }\"\n #ref\n >\n <div class=\"searchstax-facet-input\">\n <input\n type=\"checkbox\"\n class=\"searchstax-facet-input-checkbox\"\n [checked]=\"isChecked(facetValue, context)\"\n [disabled]=\"facetValue.disabled\"\n (click)=\"selectFacet(ref, $event, facetValue, true, context)\"\n />\n </div>\n <div\n class=\"searchstax-facet-value-label\"\n (click)=\"selectFacet(ref, $event, facetValue, false, context)\"\n >\n {{ facetValue.value }}\n </div>\n <div\n class=\"searchstax-facet-value-count\"\n (click)=\"selectFacet(ref, $event, facetValue, false, context)\"\n >\n ({{ facetValue.count }})\n </div>\n </div>\n <div class=\"searchstax-facet-show-more-container\" *ngIf=\"facet.hasMoreFacets\">\n <div class=\"searchstax-facet-show-more-container\" (click)=\"showMoreLessDesktop($event, facet, context)\">\n <div\n *ngIf=\"facet.showingAllFacets\"\n class=\"searchstax-facet-show-less-button searchstax-facet-show-button\"\n >\n less\n </div>\n <div\n *ngIf=\"!facet.showingAllFacets\"\n class=\"searchstax-facet-show-more-button searchstax-facet-show-button\"\n >\n more\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <button class=\"searchstax-facets-mobile-overlay-done\" (click)=\"closeOverlay(context)\">Done</button>\n </div>\n </div>\n <div *ngIf=\"facetsTemplateDataMobile?.hasResultsOrExternalPromotions && templateOverrideMobile\">\n <ng-container *ngTemplateOutlet=\"templateOverrideMobile; context: context\"></ng-container>\n </div>\n</div>\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
413
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxSearchFacetsWidget, decorators: [{
414
- type: Component,
415
- args: [{ selector: "app-searchstax-search-facets", styles: [], template: "<div [id]=\"'searchstax-facets-container' + rand\">\n <div\n *ngIf=\"facetsTemplateDataDesktop?.hasResultsOrExternalPromotions && !templateOverrideDesktop\"\n class=\"searchstax-facets-container-desktop\"\n >\n <div\n class=\"searchstax-facet-container\"\n *ngFor=\"let facet of facetsTemplateDataDesktop?.facets\"\n [class]=\"{ active: isNotDeactivated(facet.name, context) }\"\n >\n <div>\n <div class=\"searchstax-facet-title-container\" (click)=\"toggleFacetGroup(facet.name, context)\">\n <div class=\"searchstax-facet-title\">{{ facet.label }}</div>\n <div class=\"searchstax-facet-title-arrow active\"></div>\n </div>\n <div class=\"searchstax-facet-values-container\">\n <div\n *ngFor=\"let facetValue of facetValues(facet); index as key\"\n class=\"searchstax-facet-value-container\"\n [class]=\"{ 'searchstax-facet-value-disabled': facetValue.disabled }\"\n #ref\n >\n <div class=\"searchstax-facet-input\">\n <input\n type=\"checkbox\"\n class=\"searchstax-facet-input-checkbox\"\n [checked]=\"isChecked(facetValue, context)\"\n [disabled]=\"facetValue.disabled\"\n (click)=\"selectFacet(ref, $event, facetValue, true, context)\"\n />\n </div>\n <div class=\"searchstax-facet-value-label\" (click)=\"selectFacet(ref, $event, facetValue, false, context)\">\n {{ facetValue.value }}\n </div>\n <div class=\"searchstax-facet-value-count\" (click)=\"selectFacet(ref, $event, facetValue, false, context)\">\n ({{ facetValue.count }})\n </div>\n </div>\n <div class=\"searchstax-facet-show-more-container\" *ngIf=\"facet.hasMoreFacets\">\n <div class=\"searchstax-facet-show-more-container\" (click)=\"showMoreLessDesktop($event, facet, context)\">\n <div\n *ngIf=\"facet.showingAllFacets\"\n class=\"searchstax-facet-show-less-button searchstax-facet-show-button\"\n >\n less\n </div>\n <div\n *ngIf=\"!facet.showingAllFacets\"\n class=\"searchstax-facet-show-more-button searchstax-facet-show-button\"\n >\n more\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div *ngIf=\"facetsTemplateDataDesktop?.hasResultsOrExternalPromotions && templateOverrideDesktop\">\n <ng-container *ngTemplateOutlet=\"templateOverrideDesktop; context: context\"></ng-container>\n </div>\n\n <div\n class=\"searchstax-facets-container-mobile\"\n *ngIf=\"facetsTemplateDataMobile?.hasResultsOrExternalPromotions && !templateOverrideMobile\"\n >\n <div class=\"searchstax-facets-pills-container\">\n <div class=\"searchstax-facets-pill searchstax-facets-pill-filter-by\" (click)=\"openOverlay(context)\">\n <div class=\"searchstax-facets-pill-label\">Filter By</div>\n </div>\n <div class=\"searchstax-facets-pills-selected\">\n <div\n class=\"searchstax-facets-pill searchstax-facets-pill-facets\"\n *ngFor=\"let facet of selectedFacetsCheckboxes\"\n (click)=\"unselectFacet(facet, context)\"\n >\n <div class=\"searchstax-facets-pill-label\">{{ facet.value }} ({{ facet.count }})</div>\n <div class=\"searchstax-facets-pill-icon-close\"></div>\n </div>\n </div>\n <div\n class=\"searchstax-facets-pill searchstax-clear-filters searchstax-facets-pill-clear-all\"\n *ngIf=\"selectedFacetsCheckboxes.length\"\n (click)=\"unselectAll(context)\"\n >\n <div class=\"searchstax-facets-pill-label\">Clear Filters</div>\n </div>\n </div>\n <div\n class=\"searchstax-facets-mobile-overlay\"\n [class]=\"{ 'searchstax-show': facetMobileData(facetsTemplateDataMobile)?.overlayOpened }\"\n >\n <div class=\"searchstax-facets-mobile-overlay-header\">\n <div class=\"searchstax-facets-mobile-overlay-header-title\">Filter By</div>\n <div class=\"searchstax-search-close\" (click)=\"closeOverlay(context)\"></div>\n </div>\n <div class=\"searchstax-facets-container-mobile\">\n <div\n *ngFor=\"let facet of facetsTemplateDataMobile?.facets\"\n class=\"searchstax-facet-container\"\n [class]=\"{ active: isNotDeactivated(facet.name, context) }\"\n >\n <div>\n <div class=\"searchstax-facet-title-container\" (click)=\"toggleFacetGroup(facet.name, context)\">\n <div class=\"searchstax-facet-title\">{{ facet.label }}</div>\n <div class=\"searchstax-facet-title-arrow active\"></div>\n </div>\n <div class=\"searchstax-facet-values-container\">\n <div\n *ngFor=\"let facetValue of facetValues(facet); index as key\"\n class=\"searchstax-facet-value-container\"\n [class]=\"{ 'searchstax-facet-value-disabled': facetValue.disabled }\"\n #ref\n >\n <div class=\"searchstax-facet-input\">\n <input\n type=\"checkbox\"\n class=\"searchstax-facet-input-checkbox\"\n [checked]=\"isChecked(facetValue, context)\"\n [disabled]=\"facetValue.disabled\"\n (click)=\"selectFacet(ref, $event, facetValue, true, context)\"\n />\n </div>\n <div\n class=\"searchstax-facet-value-label\"\n (click)=\"selectFacet(ref, $event, facetValue, false, context)\"\n >\n {{ facetValue.value }}\n </div>\n <div\n class=\"searchstax-facet-value-count\"\n (click)=\"selectFacet(ref, $event, facetValue, false, context)\"\n >\n ({{ facetValue.count }})\n </div>\n </div>\n <div class=\"searchstax-facet-show-more-container\" *ngIf=\"facet.hasMoreFacets\">\n <div class=\"searchstax-facet-show-more-container\" (click)=\"showMoreLessDesktop($event, facet, context)\">\n <div\n *ngIf=\"facet.showingAllFacets\"\n class=\"searchstax-facet-show-less-button searchstax-facet-show-button\"\n >\n less\n </div>\n <div\n *ngIf=\"!facet.showingAllFacets\"\n class=\"searchstax-facet-show-more-button searchstax-facet-show-button\"\n >\n more\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <button class=\"searchstax-facets-mobile-overlay-done\" (click)=\"closeOverlay(context)\">Done</button>\n </div>\n </div>\n <div *ngIf=\"facetsTemplateDataMobile?.hasResultsOrExternalPromotions && templateOverrideMobile\">\n <ng-container *ngTemplateOutlet=\"templateOverrideMobile; context: context\"></ng-container>\n </div>\n</div>\n" }]
416
- }], ctorParameters: function () { return [{ type: StoreServiceService }]; }, propDecorators: { templateOverrideMobile: [{
417
- type: Input
418
- }], templateOverrideDesktop: [{
419
- type: Input
420
- }], facetingType: [{
421
- type: Input
422
- }], itemsPerPageDesktop: [{
423
- type: Input
424
- }], itemsPerPageMobile: [{
425
- type: Input
426
- }], specificFacets: [{
427
- type: Input
428
- }] } });
429
-
430
- class SearchstaxSearchSortingWidget {
431
- constructor(storeServiceService) {
432
- this.storeServiceService = storeServiceService;
433
- this.sortingData = null;
434
- this.rand = Math.random();
435
- this.context = this;
436
- this.selectedSorting = "";
437
- }
438
- ngOnInit() {
439
- if (this.storeServiceService.searchstax) {
440
- this.attachObservables();
441
- setTimeout(() => {
442
- this.storeServiceService.searchstax.addSearchSortingWidget("search-sorting-container" + this.rand, {});
443
- }, 0);
444
- }
445
- else {
446
- throw Error("Searchstax instance needs to be passed via props");
447
- }
448
- }
449
- orderChange(e, context) {
450
- e.stopImmediatePropagation();
451
- context.storeServiceService.searchstax.searchSortingWidget?.setOrderQuery(e.target.value);
452
- }
453
- attachObservables() {
454
- this.storeServiceService.searchstax.dataLayer.$searchSortingData.subscribe((sortingData) => {
455
- this.sortingData = sortingData;
456
- });
457
- this.storeServiceService.searchstax.dataLayer.$searchObject.subscribe((searchObject) => {
458
- this.selectedSorting = decodeURIComponent(searchObject?.order ?? '');
459
- });
460
- }
461
- }
462
- SearchstaxSearchSortingWidget.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxSearchSortingWidget, deps: [{ token: StoreServiceService }], target: i0.ɵɵFactoryTarget.Component });
463
- SearchstaxSearchSortingWidget.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: SearchstaxSearchSortingWidget, selector: "app-searchstax-search-sorting", inputs: { templateOverride: "templateOverride" }, ngImport: i0, template: "<div class=\"search-feedback-container\" [id]=\"'search-sorting-container' + rand\">\n <div\n class=\"searchstax-sorting-container\"\n *ngIf=\"sortingData && sortingData?.searchExecuted && sortingData?.hasResultsOrExternalPromotions && !templateOverride\"\n >\n <label class=\"searchstax-sorting-label\" for=\"sort-by\">Sort By</label>\n <select\n id=\"searchstax-search-order-select\"\n class=\"searchstax-search-order-select\"\n [value]=\"selectedSorting\"\n (change)=\"orderChange($event, context)\"\n >\n <option value=\"\">Relevance</option>\n <option value=\"date desc\">Newest Content</option>\n <option value=\"date asc\">Oldest Content</option>\n </select>\n </div>\n\n <div\n *ngIf=\"\n sortingData && sortingData?.searchExecuted && sortingData?.hasResultsOrExternalPromotions && templateOverride\n \"\n >\n <ng-container *ngTemplateOutlet=\"templateOverride; context: context\"></ng-container>\n </div>\n</div>\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
464
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxSearchSortingWidget, decorators: [{
465
- type: Component,
466
- args: [{ selector: "app-searchstax-search-sorting", styles: [], template: "<div class=\"search-feedback-container\" [id]=\"'search-sorting-container' + rand\">\n <div\n class=\"searchstax-sorting-container\"\n *ngIf=\"sortingData && sortingData?.searchExecuted && sortingData?.hasResultsOrExternalPromotions && !templateOverride\"\n >\n <label class=\"searchstax-sorting-label\" for=\"sort-by\">Sort By</label>\n <select\n id=\"searchstax-search-order-select\"\n class=\"searchstax-search-order-select\"\n [value]=\"selectedSorting\"\n (change)=\"orderChange($event, context)\"\n >\n <option value=\"\">Relevance</option>\n <option value=\"date desc\">Newest Content</option>\n <option value=\"date asc\">Oldest Content</option>\n </select>\n </div>\n\n <div\n *ngIf=\"\n sortingData && sortingData?.searchExecuted && sortingData?.hasResultsOrExternalPromotions && templateOverride\n \"\n >\n <ng-container *ngTemplateOutlet=\"templateOverride; context: context\"></ng-container>\n </div>\n</div>\n" }]
467
- }], ctorParameters: function () { return [{ type: StoreServiceService }]; }, propDecorators: { templateOverride: [{
468
- type: Input
469
- }] } });
470
-
471
- class SearchstaxSearchRelatedSearchesWidget {
472
- constructor(storeServiceService) {
473
- this.storeServiceService = storeServiceService;
474
- this.relatedData = null;
475
- this.rand = Math.random();
476
- this.context = this;
477
- }
478
- ngOnInit() {
479
- if (this.storeServiceService.searchstax) {
480
- this.attachObservables();
481
- setTimeout(() => {
482
- this.storeServiceService.searchstax.addRelatedSearchesWidget("searchstax-related-searches-container" + this.rand, { relatedSearchesURL: this.relatedSearchesURL ?? "", relatedSearchesAPIKey: this.relatedSearchesAPIKey ?? "" });
483
- }, 0);
484
- }
485
- else {
486
- throw Error("Searchstax instance needs to be passed via props");
487
- }
488
- }
489
- executeSearch(result, context) {
490
- context.storeServiceService.searchstax.relatedSearchesWidget?.executeSearch(result);
491
- }
492
- attachObservables() {
493
- this.storeServiceService.searchstax.dataLayer.$searchRelatedSearchesData.subscribe((relatedData) => {
494
- this.relatedData = relatedData;
495
- });
496
- }
497
- }
498
- SearchstaxSearchRelatedSearchesWidget.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxSearchRelatedSearchesWidget, deps: [{ token: StoreServiceService }], target: i0.ɵɵFactoryTarget.Component });
499
- SearchstaxSearchRelatedSearchesWidget.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: SearchstaxSearchRelatedSearchesWidget, selector: "app-searchstax-related-searches", inputs: { relatedSearchesURL: "relatedSearchesURL", relatedSearchesAPIKey: "relatedSearchesAPIKey", templateOverride: "templateOverride" }, ngImport: i0, template: "<div\n class=\"searchstax-related-searches-container\"\n [id]=\"'searchstax-related-searches-container' + rand\"\n *ngIf=\"relatedData && relatedData?.searchExecuted && relatedData?.hasRelatedSearches && !templateOverride\"\n>\n Related searches: <span id=\"searchstax-related-searches\"></span>\n <span class=\"searchstax-related-search\" *ngIf=\"relatedData.relatedSearches\">\n <span\n *ngFor=\"let related of relatedData.relatedSearches\"\n (click)=\"executeSearch(related, context)\"\n class=\"searchstax-related-search searchstax-related-search-item\"\n >\n {{ related.related_search }}<span *ngIf=\"!related.last\">,</span>\n </span>\n </span>\n</div>\n\n<div *ngIf=\"relatedData && relatedData?.searchExecuted && relatedData?.hasRelatedSearches && templateOverride\">\n <ng-container *ngTemplateOutlet=\"templateOverride; context: context\"></ng-container>\n</div>\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
500
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxSearchRelatedSearchesWidget, decorators: [{
501
- type: Component,
502
- args: [{ selector: "app-searchstax-related-searches", styles: [], template: "<div\n class=\"searchstax-related-searches-container\"\n [id]=\"'searchstax-related-searches-container' + rand\"\n *ngIf=\"relatedData && relatedData?.searchExecuted && relatedData?.hasRelatedSearches && !templateOverride\"\n>\n Related searches: <span id=\"searchstax-related-searches\"></span>\n <span class=\"searchstax-related-search\" *ngIf=\"relatedData.relatedSearches\">\n <span\n *ngFor=\"let related of relatedData.relatedSearches\"\n (click)=\"executeSearch(related, context)\"\n class=\"searchstax-related-search searchstax-related-search-item\"\n >\n {{ related.related_search }}<span *ngIf=\"!related.last\">,</span>\n </span>\n </span>\n</div>\n\n<div *ngIf=\"relatedData && relatedData?.searchExecuted && relatedData?.hasRelatedSearches && templateOverride\">\n <ng-container *ngTemplateOutlet=\"templateOverride; context: context\"></ng-container>\n</div>\n" }]
503
- }], ctorParameters: function () { return [{ type: StoreServiceService }]; }, propDecorators: { relatedSearchesURL: [{
504
- type: Input
505
- }], relatedSearchesAPIKey: [{
506
- type: Input
507
- }], templateOverride: [{
508
- type: Input
509
- }] } });
510
-
511
- class SearchstaxSearchExternalPromotionsWidget {
512
- constructor(storeServiceService) {
513
- this.storeServiceService = storeServiceService;
514
- this.externalPromotionsData = null;
515
- this.rand = Math.random();
516
- this.context = this;
517
- }
518
- ngOnInit() {
519
- if (this.storeServiceService.searchstax) {
520
- this.attachObservables();
521
- setTimeout(() => {
522
- this.storeServiceService.searchstax.addExternalPromotionsWidget("searchstax-external-promotions-layout-container" + this.rand, {});
523
- }, 0);
524
- }
525
- else {
526
- throw Error("Searchstax instance needs to be passed via props");
527
- }
528
- }
529
- trackClick(externalPromotion, event, context) {
530
- context.storeServiceService.searchstax.externalPromotionsWidget?.trackClick(externalPromotion, event);
531
- }
532
- attachObservables() {
533
- this.storeServiceService.searchstax.dataLayer.$searchExternalPromotionsData.subscribe((externalPromotionsData) => {
534
- this.externalPromotionsData = externalPromotionsData;
535
- });
536
- }
537
- }
538
- SearchstaxSearchExternalPromotionsWidget.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxSearchExternalPromotionsWidget, deps: [{ token: StoreServiceService }], target: i0.ɵɵFactoryTarget.Component });
539
- SearchstaxSearchExternalPromotionsWidget.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: SearchstaxSearchExternalPromotionsWidget, selector: "app-searchstax-external-promotions", inputs: { templateOverride: "templateOverride" }, ngImport: i0, template: "<div [id]=\"'searchstax-external-promotions-layout-container' + rand\">\n <div\n class=\"searchstax-external-promotions-container\"\n id=\"searchstax-external-promotions-container\"\n *ngIf=\"\n externalPromotionsData &&\n externalPromotionsData?.searchExecuted &&\n externalPromotionsData?.hasExternalPromotions &&\n !templateOverride\n \"\n >\n <div\n class=\"searchstax-external-promotion searchstax-search-result\"\n *ngFor=\"let externalPromotion of externalPromotionsData.externalPromotions\"\n >\n <div class=\"icon-elevated\"></div>\n <a\n *ngIf=\"externalPromotion.url\"\n [href]=\"externalPromotion.url\"\n (click)=\"trackClick(externalPromotion, $event, context)\"\n class=\"searchstax-result-item-link\"\n ></a>\n <div class=\"searchstax-search-result-title-container\">\n <span class=\"searchstax-search-result-title\">{{ externalPromotion.name }}</span>\n </div>\n <p\n *ngIf=\"externalPromotion.description\"\n class=\"searchstax-search-result-description searchstax-search-result-common\"\n >\n {{ externalPromotion.description }}\n </p>\n <p *ngIf=\"externalPromotion.url\" class=\"searchstax-search-result-description searchstax-search-result-common\">\n {{ externalPromotion.url }}\n </p>\n </div>\n </div>\n <div\n *ngIf=\"\n externalPromotionsData &&\n externalPromotionsData?.searchExecuted &&\n externalPromotionsData?.hasExternalPromotions &&\n templateOverride\n \"\n >\n <ng-container *ngTemplateOutlet=\"templateOverride; context: context\"></ng-container>\n </div>\n</div>\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
540
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxSearchExternalPromotionsWidget, decorators: [{
541
- type: Component,
542
- args: [{ selector: "app-searchstax-external-promotions", styles: [], template: "<div [id]=\"'searchstax-external-promotions-layout-container' + rand\">\n <div\n class=\"searchstax-external-promotions-container\"\n id=\"searchstax-external-promotions-container\"\n *ngIf=\"\n externalPromotionsData &&\n externalPromotionsData?.searchExecuted &&\n externalPromotionsData?.hasExternalPromotions &&\n !templateOverride\n \"\n >\n <div\n class=\"searchstax-external-promotion searchstax-search-result\"\n *ngFor=\"let externalPromotion of externalPromotionsData.externalPromotions\"\n >\n <div class=\"icon-elevated\"></div>\n <a\n *ngIf=\"externalPromotion.url\"\n [href]=\"externalPromotion.url\"\n (click)=\"trackClick(externalPromotion, $event, context)\"\n class=\"searchstax-result-item-link\"\n ></a>\n <div class=\"searchstax-search-result-title-container\">\n <span class=\"searchstax-search-result-title\">{{ externalPromotion.name }}</span>\n </div>\n <p\n *ngIf=\"externalPromotion.description\"\n class=\"searchstax-search-result-description searchstax-search-result-common\"\n >\n {{ externalPromotion.description }}\n </p>\n <p *ngIf=\"externalPromotion.url\" class=\"searchstax-search-result-description searchstax-search-result-common\">\n {{ externalPromotion.url }}\n </p>\n </div>\n </div>\n <div\n *ngIf=\"\n externalPromotionsData &&\n externalPromotionsData?.searchExecuted &&\n externalPromotionsData?.hasExternalPromotions &&\n templateOverride\n \"\n >\n <ng-container *ngTemplateOutlet=\"templateOverride; context: context\"></ng-container>\n </div>\n</div>\n" }]
543
- }], ctorParameters: function () { return [{ type: StoreServiceService }]; }, propDecorators: { templateOverride: [{
544
- type: Input
545
- }] } });
546
-
547
- class SearchstudioUxAngularModule {
548
- }
549
- SearchstudioUxAngularModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstudioUxAngularModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
550
- SearchstudioUxAngularModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstudioUxAngularModule, declarations: [SearchstaxWrapper,
551
- SearchstaxInputWidget,
552
- SearchstaxResultsWidget,
553
- SearchstaxSearchFeedbackWidget,
554
- SearchstaxSearchPaginationWidget,
555
- SearchstaxSearchFacetsWidget,
556
- SearchstaxSearchSortingWidget,
557
- SearchstaxSearchRelatedSearchesWidget,
558
- SearchstaxSearchExternalPromotionsWidget], imports: [CommonModule], exports: [SearchstaxWrapper,
559
- SearchstaxInputWidget,
560
- SearchstaxResultsWidget,
561
- SearchstaxSearchFeedbackWidget,
562
- SearchstaxSearchPaginationWidget,
563
- SearchstaxSearchFacetsWidget,
564
- SearchstaxSearchSortingWidget,
565
- SearchstaxSearchRelatedSearchesWidget,
566
- SearchstaxSearchExternalPromotionsWidget] });
567
- SearchstudioUxAngularModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstudioUxAngularModule, imports: [[CommonModule]] });
568
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstudioUxAngularModule, decorators: [{
569
- type: NgModule,
570
- args: [{
571
- declarations: [
572
- SearchstaxWrapper,
573
- SearchstaxInputWidget,
574
- SearchstaxResultsWidget,
575
- SearchstaxSearchFeedbackWidget,
576
- SearchstaxSearchPaginationWidget,
577
- SearchstaxSearchFacetsWidget,
578
- SearchstaxSearchSortingWidget,
579
- SearchstaxSearchRelatedSearchesWidget,
580
- SearchstaxSearchExternalPromotionsWidget
581
- ],
582
- imports: [CommonModule],
583
- exports: [
584
- SearchstaxWrapper,
585
- SearchstaxInputWidget,
586
- SearchstaxResultsWidget,
587
- SearchstaxSearchFeedbackWidget,
588
- SearchstaxSearchPaginationWidget,
589
- SearchstaxSearchFacetsWidget,
590
- SearchstaxSearchSortingWidget,
591
- SearchstaxSearchRelatedSearchesWidget,
592
- SearchstaxSearchExternalPromotionsWidget
593
- ],
594
- }]
595
- }] });
596
-
597
- /*
598
- * Public API Surface of searchstudio-ux-angular
599
- */
600
-
601
- /**
602
- * Generated bundle index. Do not edit.
603
- */
604
-
605
- export { SearchstaxInputWidget, SearchstaxResultsWidget, SearchstaxSearchExternalPromotionsWidget, SearchstaxSearchFacetsWidget, SearchstaxSearchFeedbackWidget, SearchstaxSearchPaginationWidget, SearchstaxSearchRelatedSearchesWidget, SearchstaxSearchSortingWidget, SearchstaxWrapper, SearchstudioUxAngularModule, StoreServiceService };
606
- //# sourceMappingURL=searchstax-inc-searchstudio-ux-angular.mjs.map