@fluid-topics/ft-search-facet 2.0.31 → 2.0.33
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.
- package/build/ft-search-facet.d.ts +7 -1
- package/build/ft-search-facet.js +3 -2
- package/build/ft-search-facet.light.js +218 -216
- package/build/ft-search-facet.min.js +235 -233
- package/package.json +8 -8
|
@@ -4,7 +4,13 @@ import { FtSearchFacetProperties } from "./ft-search-facet.properties";
|
|
|
4
4
|
import { FtSearchComponent, FtSearchStateManager } from "@fluid-topics/ft-search-context/build/registration";
|
|
5
5
|
import { I18nAttributeValue } from "@fluid-topics/ft-i18n/build/decorators/i18nAttribute";
|
|
6
6
|
import { FtSearchStateResourceRequest } from "@fluid-topics/ft-search-context/build/store/model";
|
|
7
|
-
declare const FtSearchFacet_base: typeof FtSearchComponent & import("@fluid-topics/ft-wc-utils").Constructor<import("@fluid-topics/ft-i18n").FtLitElementWithI18nInterface
|
|
7
|
+
declare const FtSearchFacet_base: import("@fluid-topics/ft-wc-utils").withAnalyticsType<typeof FtSearchComponent & import("@fluid-topics/ft-wc-utils").Constructor<import("@fluid-topics/ft-i18n").FtLitElementWithI18nInterface>, {
|
|
8
|
+
"more-filters-button-pressed": {
|
|
9
|
+
label: string;
|
|
10
|
+
defaultEventName: string;
|
|
11
|
+
defaultComponentId: string;
|
|
12
|
+
};
|
|
13
|
+
}>;
|
|
8
14
|
export declare class FtSearchFacet extends FtSearchFacet_base implements FtSearchFacetProperties {
|
|
9
15
|
static elementDefinitions: ElementDefinitionsMap;
|
|
10
16
|
static styles: import("lit").CSSResult;
|
package/build/ft-search-facet.js
CHANGED
|
@@ -5,7 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { html, nothing, } from "lit";
|
|
8
|
-
import { jsonProperty, numberProperty, redux, reduxEventListener, } from "@fluid-topics/ft-wc-utils";
|
|
8
|
+
import { withAnalytics, jsonProperty, numberProperty, redux, reduxEventListener, } from "@fluid-topics/ft-wc-utils";
|
|
9
9
|
import { property, query, state, } from "lit/decorators.js";
|
|
10
10
|
import { styles } from "./ft-search-facet.styles";
|
|
11
11
|
import { FtFilter } from "@fluid-topics/ft-filter";
|
|
@@ -20,7 +20,7 @@ import { FtTreeSelector, FtTreeSelectorModes, } from "@fluid-topics/ft-tree-sele
|
|
|
20
20
|
import { FacetHelper } from "./FacetHelper";
|
|
21
21
|
import { FtButton } from "@fluid-topics/ft-button";
|
|
22
22
|
import { FtSearchStateResourceRequest } from "@fluid-topics/ft-search-context/build/store/model";
|
|
23
|
-
export class FtSearchFacet extends withI18n(FtSearchComponent) {
|
|
23
|
+
export class FtSearchFacet extends withAnalytics(withI18n(FtSearchComponent), FtFilter.analyticsActions) {
|
|
24
24
|
constructor() {
|
|
25
25
|
super(...arguments);
|
|
26
26
|
this.facetId = "";
|
|
@@ -81,6 +81,7 @@ export class FtSearchFacet extends withI18n(FtSearchComponent) {
|
|
|
81
81
|
label="${facet.label}"
|
|
82
82
|
.exportpartsPrefixes=${["filter"]}
|
|
83
83
|
id="${this.facetId}"
|
|
84
|
+
.configuredAnalyticsActions=${this.configuredAnalyticsActions}
|
|
84
85
|
?multivalued=${facet.multiSelectionable}
|
|
85
86
|
?displayCount=${this.displayTotalResultsCount}
|
|
86
87
|
?raiseSelectedOptions=${this.raiseSelectedOptions}
|