@searchstax-inc/searchstudio-ux-angular 1.0.0 → 1.1.1

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,628 +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
- var _a;
118
- this.storeServiceService.searchstax.addSearchInputWidget('searchstax-input-container', {
119
- suggestAfterMinChars: this.suggestAfterMinChars,
120
- hooks: this.hooks,
121
- templates: {
122
- mainTemplate: {
123
- template: ``,
124
- searchInputId: (_a = this.searchInputId) !== null && _a !== void 0 ? _a : 'searchstax-search-input'
125
- }
126
- }
127
- });
128
- }, 0);
129
- }
130
- else {
131
- throw Error('Searchstax instance needs to be passed via props');
132
- }
133
- }
134
- onMouseLeave(context) {
135
- var _a, _b;
136
- (_a = context.storeServiceService.searchstax.searchInputWidget) === null || _a === void 0 ? void 0 : _a.resetAutosuggestSelection();
137
- (_b = context.storeServiceService.searchstax.searchInputWidget) === null || _b === void 0 ? void 0 : _b.markActiveAutosuggestItem();
138
- }
139
- onMouseOver(suggestion, context) {
140
- var _a;
141
- (_a = context.storeServiceService.searchstax.searchInputWidget) === null || _a === void 0 ? void 0 : _a.onSuggestionEnter(suggestion);
142
- }
143
- onMouseClick(e, context) {
144
- var _a;
145
- e.stopImmediatePropagation();
146
- (_a = context.storeServiceService.searchstax.searchInputWidget) === null || _a === void 0 ? void 0 : _a.suggestionChosen();
147
- }
148
- attachObservables() {
149
- this.storeServiceService.searchstax.dataLayer.$autosuggestResults.subscribe((suggestions) => {
150
- var _a;
151
- this.suggestions = (_a = suggestions === null || suggestions === void 0 ? void 0 : suggestions.suggestions) !== null && _a !== void 0 ? _a : [];
152
- });
153
- }
154
- }
155
- SearchstaxInputWidget.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxInputWidget, deps: [{ token: StoreServiceService }], target: i0.ɵɵFactoryTarget.Component });
156
- 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"] }] });
157
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxInputWidget, decorators: [{
158
- type: Component,
159
- 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" }]
160
- }], ctorParameters: function () { return [{ type: StoreServiceService }]; }, propDecorators: { afterAutosuggest: [{
161
- type: Input
162
- }], beforeAutosuggest: [{
163
- type: Input
164
- }], searchInputId: [{
165
- type: Input
166
- }], suggestAfterMinChars: [{
167
- type: Input
168
- }], templateOverride: [{
169
- type: Input
170
- }] } });
171
-
172
- class SearchstaxResultsWidget {
173
- constructor(storeServiceService) {
174
- this.storeServiceService = storeServiceService;
175
- this.searchResults = null;
176
- this.metadata = null;
177
- this.searchTerm = '';
178
- this.context = this;
179
- }
180
- get hooks() {
181
- const hooks = {};
182
- if (this.afterLinkClick) {
183
- hooks['afterLinkClick'] = this.afterLinkClick;
184
- }
185
- return hooks;
186
- }
187
- ngOnInit() {
188
- if (this.storeServiceService.searchstax) {
189
- this.attachObservables();
190
- setTimeout(() => {
191
- this.storeServiceService.searchstax.addSearchResultsWidget('searchstax-results-container', {
192
- templates: {},
193
- hooks: this.hooks,
194
- });
195
- }, 0);
196
- }
197
- else {
198
- throw Error('Searchstax instance needs to be passed via props');
199
- }
200
- }
201
- attachObservables() {
202
- this.storeServiceService.searchstax.dataLayer.$searchResults.subscribe((results) => {
203
- this.searchResults = results;
204
- });
205
- this.storeServiceService.searchstax.dataLayer.$searchTermChange.subscribe((result) => {
206
- this.searchTerm = result;
207
- });
208
- this.storeServiceService.searchstax.dataLayer.$searchResultsMetadata.subscribe((value) => {
209
- this.metadata = value;
210
- });
211
- }
212
- resultClicked(result, event, context) {
213
- event.preventDefault();
214
- event.stopPropagation();
215
- context.storeServiceService.searchstax.executeLinkClick(result.uniqueId);
216
- }
217
- isImage(field) {
218
- return field.isImage && typeof field.value === 'string';
219
- }
220
- }
221
- SearchstaxResultsWidget.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxResultsWidget, deps: [{ token: StoreServiceService }], target: i0.ɵɵFactoryTarget.Component });
222
- 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"] }] });
223
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxResultsWidget, decorators: [{
224
- type: Component,
225
- 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" }]
226
- }], ctorParameters: function () { return [{ type: StoreServiceService }]; }, propDecorators: { afterLinkClick: [{
227
- type: Input
228
- }], noResultsTemplate: [{
229
- type: Input
230
- }], resultsTemplate: [{
231
- type: Input
232
- }] } });
233
-
234
- class SearchstaxSearchFeedbackWidget {
235
- constructor(storeServiceService) {
236
- this.storeServiceService = storeServiceService;
237
- this.searchFeedbackData = null;
238
- this.rand = Math.random();
239
- this.context = this;
240
- }
241
- ngOnInit() {
242
- if (this.storeServiceService.searchstax) {
243
- this.attachObservables();
244
- setTimeout(() => {
245
- this.storeServiceService.searchstax.addSearchFeedbackWidget("search-feedback-container" + this.rand, {});
246
- }, 0);
247
- }
248
- else {
249
- throw Error("Searchstax instance needs to be passed via props");
250
- }
251
- }
252
- onOriginalQueryClick(e, context) {
253
- var _a;
254
- e.stopImmediatePropagation();
255
- (_a = context.storeServiceService.searchstax.searchFeedbackWidget) === null || _a === void 0 ? void 0 : _a.onOriginalQueryClick(e);
256
- }
257
- attachObservables() {
258
- this.storeServiceService.searchstax.dataLayer.$searchFeedbackData.subscribe((searchFeedbackData) => {
259
- this.searchFeedbackData = searchFeedbackData;
260
- });
261
- }
262
- }
263
- SearchstaxSearchFeedbackWidget.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxSearchFeedbackWidget, deps: [{ token: StoreServiceService }], target: i0.ɵɵFactoryTarget.Component });
264
- 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"] }] });
265
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxSearchFeedbackWidget, decorators: [{
266
- type: Component,
267
- 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" }]
268
- }], ctorParameters: function () { return [{ type: StoreServiceService }]; }, propDecorators: { templateOverride: [{
269
- type: Input
270
- }] } });
271
-
272
- class SearchstaxSearchPaginationWidget {
273
- constructor(storeServiceService) {
274
- this.storeServiceService = storeServiceService;
275
- this.paginationData = null;
276
- this.rand = Math.random();
277
- this.context = this;
278
- this.paginationAdded = false;
279
- }
280
- ngOnInit() {
281
- if (this.storeServiceService.searchstax) {
282
- this.attachObservables();
283
- setTimeout(() => {
284
- this.addWidget();
285
- }, 0);
286
- }
287
- else {
288
- throw Error("Searchstax instance needs to be passed via props");
289
- }
290
- }
291
- nextPage(event, context) {
292
- var _a, _b;
293
- event.stopImmediatePropagation();
294
- if (!((_a = context.paginationData) === null || _a === void 0 ? void 0 : _a.isLastPage)) {
295
- (_b = context.storeServiceService.searchstax.searchPaginationWidget) === null || _b === void 0 ? void 0 : _b.nextPage(event);
296
- }
297
- }
298
- previousPage(event, context) {
299
- var _a, _b;
300
- event.stopImmediatePropagation();
301
- if (!((_a = context.paginationData) === null || _a === void 0 ? void 0 : _a.isFirstPage)) {
302
- (_b = context.storeServiceService.searchstax.searchPaginationWidget) === null || _b === void 0 ? void 0 : _b.previousPage(event);
303
- }
304
- }
305
- addWidget() {
306
- if (!this.paginationAdded &&
307
- this.storeServiceService.searchstax.routerHelper) {
308
- this.paginationAdded = true;
309
- this.storeServiceService.searchstax.addPaginationWidget("searchstax-pagination-container" + this.rand, {});
310
- }
311
- }
312
- attachObservables() {
313
- this.storeServiceService.searchstax.dataLayer.$searchObject.subscribe((pagination) => {
314
- this.addWidget();
315
- });
316
- this.storeServiceService.searchstax.dataLayer.$paginationData.subscribe((pagination) => {
317
- this.paginationData = pagination;
318
- });
319
- }
320
- }
321
- SearchstaxSearchPaginationWidget.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxSearchPaginationWidget, deps: [{ token: StoreServiceService }], target: i0.ɵɵFactoryTarget.Component });
322
- 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"] }] });
323
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxSearchPaginationWidget, decorators: [{
324
- type: Component,
325
- 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" }]
326
- }], ctorParameters: function () { return [{ type: StoreServiceService }]; }, propDecorators: { templateOverride: [{
327
- type: Input
328
- }] } });
329
-
330
- class SearchstaxSearchFacetsWidget {
331
- // @ViewChildren("facetContainers") facetContainers: QueryList<ElementRef>;
332
- constructor(storeServiceService) {
333
- this.storeServiceService = storeServiceService;
334
- this.facetsTemplateDataDesktop = null;
335
- this.facetsTemplateDataMobile = null;
336
- this.context = this;
337
- this.selectedFacetsCheckboxes = [];
338
- this.selectedFacetsRange = [];
339
- this.rand = Math.random();
340
- }
341
- ngOnInit() {
342
- if (this.storeServiceService.searchstax) {
343
- this.attachObservables();
344
- setTimeout(() => {
345
- this.addWidget();
346
- }, 0);
347
- }
348
- else {
349
- throw Error("Searchstax instance needs to be passed via props");
350
- }
351
- }
352
- addWidget() {
353
- this.storeServiceService.searchstax.addFacetsWidget('searchstax-facets-container' + this.rand, {
354
- facetingType: this.facetingType,
355
- specificFacets: this.specificFacets,
356
- itemsPerPageDesktop: this.itemsPerPageDesktop,
357
- itemsPerPageMobile: this.itemsPerPageMobile
358
- });
359
- }
360
- attachObservables() {
361
- this.storeServiceService.searchstax.dataLayer.$facetsTemplateData.subscribe((data) => {
362
- if (data === null || data === void 0 ? void 0 : data.isMobile) {
363
- this.facetsTemplateDataMobile = data;
364
- }
365
- else {
366
- this.facetsTemplateDataDesktop = data;
367
- }
368
- });
369
- this.storeServiceService.searchstax.dataLayer.$selectedFacetsTemplateData.subscribe((data) => {
370
- const da = data !== null && data !== void 0 ? data : [];
371
- this.selectedFacetsCheckboxes = da.filter((d) => d.type === 'checkbox');
372
- });
373
- }
374
- unselectFacet(facet, context) {
375
- var _a;
376
- (_a = context.storeServiceService.searchstax.searchFacetsWidget) === null || _a === void 0 ? void 0 : _a.unselectFacet(facet);
377
- }
378
- unselectAll(context) {
379
- var _a;
380
- (_a = context.storeServiceService.searchstax.searchFacetsWidget) === null || _a === void 0 ? void 0 : _a.removeSelectedFacets();
381
- }
382
- isNotDeactivated(name, context) {
383
- var _a;
384
- return !((_a = context.storeServiceService.searchstax.searchFacetsWidget) === null || _a === void 0 ? void 0 : _a.deactivatedFacets[name]);
385
- }
386
- toggleFacetGroup(name, context) {
387
- if (context.storeServiceService.searchstax.searchFacetsWidget)
388
- if (this.isNotDeactivated(name, context)) {
389
- context.storeServiceService.searchstax.searchFacetsWidget.deactivatedFacets[name] = true;
390
- }
391
- else {
392
- context.storeServiceService.searchstax.searchFacetsWidget.deactivatedFacets[name] = false;
393
- }
394
- }
395
- isChecked(facetValue, context) {
396
- var _a;
397
- return (_a = context.storeServiceService.searchstax.searchFacetsWidget) === null || _a === void 0 ? void 0 : _a.isChecked(facetValue);
398
- }
399
- selectFacet(el, event, data, isInput, context) {
400
- var _a;
401
- const wrapperDiv = document.createElement('div');
402
- wrapperDiv.innerHTML = el.outerHTML;
403
- (_a = context.storeServiceService.searchstax.searchFacetsWidget) === null || _a === void 0 ? void 0 : _a.onFacetSelect(event, data, el, isInput);
404
- }
405
- showMoreLessDesktop(e, data, context) {
406
- var _a;
407
- (_a = context.storeServiceService.searchstax.searchFacetsWidget) === null || _a === void 0 ? void 0 : _a.onShowMoreLessClick(e, data, false);
408
- }
409
- showMoreLessMobile(e, data, context) {
410
- var _a;
411
- (_a = context.storeServiceService.searchstax.searchFacetsWidget) === null || _a === void 0 ? void 0 : _a.onShowMoreLessClick(e, data, true);
412
- }
413
- openOverlay(context) {
414
- var _a;
415
- (_a = context.storeServiceService.searchstax.searchFacetsWidget) === null || _a === void 0 ? void 0 : _a.openOverlay();
416
- }
417
- closeOverlay(context) {
418
- var _a;
419
- (_a = context.storeServiceService.searchstax.searchFacetsWidget) === null || _a === void 0 ? void 0 : _a.closeOverlay();
420
- }
421
- facetValues(facet) {
422
- return facet.values;
423
- }
424
- facetMobileData(facet) {
425
- return facet;
426
- }
427
- }
428
- SearchstaxSearchFacetsWidget.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxSearchFacetsWidget, deps: [{ token: StoreServiceService }], target: i0.ɵɵFactoryTarget.Component });
429
- 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"] }] });
430
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxSearchFacetsWidget, decorators: [{
431
- type: Component,
432
- 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" }]
433
- }], ctorParameters: function () { return [{ type: StoreServiceService }]; }, propDecorators: { templateOverrideMobile: [{
434
- type: Input
435
- }], templateOverrideDesktop: [{
436
- type: Input
437
- }], facetingType: [{
438
- type: Input
439
- }], itemsPerPageDesktop: [{
440
- type: Input
441
- }], itemsPerPageMobile: [{
442
- type: Input
443
- }], specificFacets: [{
444
- type: Input
445
- }] } });
446
-
447
- class SearchstaxSearchSortingWidget {
448
- constructor(storeServiceService) {
449
- this.storeServiceService = storeServiceService;
450
- this.sortingData = null;
451
- this.rand = Math.random();
452
- this.context = this;
453
- this.selectedSorting = "";
454
- }
455
- ngOnInit() {
456
- if (this.storeServiceService.searchstax) {
457
- this.attachObservables();
458
- setTimeout(() => {
459
- this.storeServiceService.searchstax.addSearchSortingWidget("search-sorting-container" + this.rand, {});
460
- }, 0);
461
- }
462
- else {
463
- throw Error("Searchstax instance needs to be passed via props");
464
- }
465
- }
466
- orderChange(e, context) {
467
- var _a;
468
- e.stopImmediatePropagation();
469
- (_a = context.storeServiceService.searchstax.searchSortingWidget) === null || _a === void 0 ? void 0 : _a.setOrderQuery(e.target.value);
470
- }
471
- attachObservables() {
472
- this.storeServiceService.searchstax.dataLayer.$searchSortingData.subscribe((sortingData) => {
473
- this.sortingData = sortingData;
474
- });
475
- this.storeServiceService.searchstax.dataLayer.$searchObject.subscribe((searchObject) => {
476
- var _a;
477
- this.selectedSorting = decodeURIComponent((_a = searchObject === null || searchObject === void 0 ? void 0 : searchObject.order) !== null && _a !== void 0 ? _a : '');
478
- });
479
- }
480
- }
481
- SearchstaxSearchSortingWidget.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxSearchSortingWidget, deps: [{ token: StoreServiceService }], target: i0.ɵɵFactoryTarget.Component });
482
- 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"] }] });
483
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxSearchSortingWidget, decorators: [{
484
- type: Component,
485
- 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" }]
486
- }], ctorParameters: function () { return [{ type: StoreServiceService }]; }, propDecorators: { templateOverride: [{
487
- type: Input
488
- }] } });
489
-
490
- class SearchstaxSearchRelatedSearchesWidget {
491
- constructor(storeServiceService) {
492
- this.storeServiceService = storeServiceService;
493
- this.relatedData = null;
494
- this.rand = Math.random();
495
- this.context = this;
496
- }
497
- ngOnInit() {
498
- if (this.storeServiceService.searchstax) {
499
- this.attachObservables();
500
- setTimeout(() => {
501
- var _a, _b;
502
- this.storeServiceService.searchstax.addRelatedSearchesWidget("searchstax-related-searches-container" + this.rand, { relatedSearchesURL: (_a = this.relatedSearchesURL) !== null && _a !== void 0 ? _a : "", relatedSearchesAPIKey: (_b = this.relatedSearchesAPIKey) !== null && _b !== void 0 ? _b : "" });
503
- }, 0);
504
- }
505
- else {
506
- throw Error("Searchstax instance needs to be passed via props");
507
- }
508
- }
509
- executeSearch(result, context) {
510
- var _a;
511
- (_a = context.storeServiceService.searchstax.relatedSearchesWidget) === null || _a === void 0 ? void 0 : _a.executeSearch(result);
512
- }
513
- attachObservables() {
514
- this.storeServiceService.searchstax.dataLayer.$searchRelatedSearchesData.subscribe((relatedData) => {
515
- this.relatedData = relatedData;
516
- });
517
- }
518
- }
519
- SearchstaxSearchRelatedSearchesWidget.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxSearchRelatedSearchesWidget, deps: [{ token: StoreServiceService }], target: i0.ɵɵFactoryTarget.Component });
520
- 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"] }] });
521
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxSearchRelatedSearchesWidget, decorators: [{
522
- type: Component,
523
- 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" }]
524
- }], ctorParameters: function () { return [{ type: StoreServiceService }]; }, propDecorators: { relatedSearchesURL: [{
525
- type: Input
526
- }], relatedSearchesAPIKey: [{
527
- type: Input
528
- }], templateOverride: [{
529
- type: Input
530
- }] } });
531
-
532
- class SearchstaxSearchExternalPromotionsWidget {
533
- constructor(storeServiceService) {
534
- this.storeServiceService = storeServiceService;
535
- this.externalPromotionsData = null;
536
- this.rand = Math.random();
537
- this.context = this;
538
- }
539
- ngOnInit() {
540
- if (this.storeServiceService.searchstax) {
541
- this.attachObservables();
542
- setTimeout(() => {
543
- this.storeServiceService.searchstax.addExternalPromotionsWidget("searchstax-external-promotions-layout-container" + this.rand, {});
544
- }, 0);
545
- }
546
- else {
547
- throw Error("Searchstax instance needs to be passed via props");
548
- }
549
- }
550
- trackClick(externalPromotion, event, context) {
551
- var _a;
552
- (_a = context.storeServiceService.searchstax.externalPromotionsWidget) === null || _a === void 0 ? void 0 : _a.trackClick(externalPromotion, event);
553
- }
554
- attachObservables() {
555
- this.storeServiceService.searchstax.dataLayer.$searchExternalPromotionsData.subscribe((externalPromotionsData) => {
556
- this.externalPromotionsData = externalPromotionsData;
557
- });
558
- }
559
- }
560
- SearchstaxSearchExternalPromotionsWidget.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxSearchExternalPromotionsWidget, deps: [{ token: StoreServiceService }], target: i0.ɵɵFactoryTarget.Component });
561
- 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"] }] });
562
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstaxSearchExternalPromotionsWidget, decorators: [{
563
- type: Component,
564
- 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" }]
565
- }], ctorParameters: function () { return [{ type: StoreServiceService }]; }, propDecorators: { templateOverride: [{
566
- type: Input
567
- }] } });
568
-
569
- class SearchstudioUxAngularModule {
570
- }
571
- SearchstudioUxAngularModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstudioUxAngularModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
572
- SearchstudioUxAngularModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstudioUxAngularModule, declarations: [SearchstaxWrapper,
573
- SearchstaxInputWidget,
574
- SearchstaxResultsWidget,
575
- SearchstaxSearchFeedbackWidget,
576
- SearchstaxSearchPaginationWidget,
577
- SearchstaxSearchFacetsWidget,
578
- SearchstaxSearchSortingWidget,
579
- SearchstaxSearchRelatedSearchesWidget,
580
- SearchstaxSearchExternalPromotionsWidget], imports: [CommonModule], exports: [SearchstaxWrapper,
581
- SearchstaxInputWidget,
582
- SearchstaxResultsWidget,
583
- SearchstaxSearchFeedbackWidget,
584
- SearchstaxSearchPaginationWidget,
585
- SearchstaxSearchFacetsWidget,
586
- SearchstaxSearchSortingWidget,
587
- SearchstaxSearchRelatedSearchesWidget,
588
- SearchstaxSearchExternalPromotionsWidget] });
589
- SearchstudioUxAngularModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstudioUxAngularModule, imports: [[CommonModule]] });
590
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SearchstudioUxAngularModule, decorators: [{
591
- type: NgModule,
592
- args: [{
593
- declarations: [
594
- SearchstaxWrapper,
595
- SearchstaxInputWidget,
596
- SearchstaxResultsWidget,
597
- SearchstaxSearchFeedbackWidget,
598
- SearchstaxSearchPaginationWidget,
599
- SearchstaxSearchFacetsWidget,
600
- SearchstaxSearchSortingWidget,
601
- SearchstaxSearchRelatedSearchesWidget,
602
- SearchstaxSearchExternalPromotionsWidget
603
- ],
604
- imports: [CommonModule],
605
- exports: [
606
- SearchstaxWrapper,
607
- SearchstaxInputWidget,
608
- SearchstaxResultsWidget,
609
- SearchstaxSearchFeedbackWidget,
610
- SearchstaxSearchPaginationWidget,
611
- SearchstaxSearchFacetsWidget,
612
- SearchstaxSearchSortingWidget,
613
- SearchstaxSearchRelatedSearchesWidget,
614
- SearchstaxSearchExternalPromotionsWidget
615
- ],
616
- }]
617
- }] });
618
-
619
- /*
620
- * Public API Surface of searchstudio-ux-angular
621
- */
622
-
623
- /**
624
- * Generated bundle index. Do not edit.
625
- */
626
-
627
- export { SearchstaxInputWidget, SearchstaxResultsWidget, SearchstaxSearchExternalPromotionsWidget, SearchstaxSearchFacetsWidget, SearchstaxSearchFeedbackWidget, SearchstaxSearchPaginationWidget, SearchstaxSearchRelatedSearchesWidget, SearchstaxSearchSortingWidget, SearchstaxWrapper, SearchstudioUxAngularModule, StoreServiceService };
628
- //# sourceMappingURL=searchstax-inc-searchstudio-ux-angular.mjs.map