@searchcraft/vue-sdk 0.12.0 → 0.12.2
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/dist/index.d.ts +22 -0
- package/dist/index.es.js +1768 -1637
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +50 -50
- package/dist/index.umd.js.map +1 -1
- package/package.json +5 -4
package/dist/index.d.ts
CHANGED
|
@@ -183,6 +183,7 @@ export interface FacetsFilterItem extends FilterItem {
|
|
|
183
183
|
type: "facets";
|
|
184
184
|
options: {
|
|
185
185
|
showSublevel: boolean;
|
|
186
|
+
exclude?: string[];
|
|
186
187
|
};
|
|
187
188
|
}
|
|
188
189
|
export interface NumericFilterItem extends FilterItem {
|
|
@@ -683,6 +684,11 @@ export interface SearchcraftStateValues {
|
|
|
683
684
|
searchClientRequestProperties: SearchClientRequestProperties | string | undefined | null;
|
|
684
685
|
searchClientResponseItems: SearchClientResponseItem[];
|
|
685
686
|
cachedSearchClientResponseItems: SearchClientResponseItem[];
|
|
687
|
+
cachedSearchResponseFacetPrime: FacetPrime | undefined | null;
|
|
688
|
+
cachedSupplementalFacetPrime: FacetPrime | undefined | null;
|
|
689
|
+
cachedSearchResponseTimeTaken: number | undefined;
|
|
690
|
+
cachedSearchResultsCount: number | undefined;
|
|
691
|
+
cachedSearchClientRequestProperties: SearchClientRequestProperties | string | undefined | null;
|
|
686
692
|
searchResponseTimeTaken: number | undefined;
|
|
687
693
|
searchResponseFacetPrime: FacetPrime | undefined | null;
|
|
688
694
|
supplementalFacetPrime: FacetPrime | undefined | null;
|
|
@@ -828,6 +834,10 @@ export namespace Components {
|
|
|
828
834
|
* ```
|
|
829
835
|
*/
|
|
830
836
|
interface SearchcraftFacetList {
|
|
837
|
+
/**
|
|
838
|
+
* Array of facet values to exclude from rendering.
|
|
839
|
+
*/
|
|
840
|
+
"exclude"?: string[];
|
|
831
841
|
/**
|
|
832
842
|
* The name of the field where facets are applied.
|
|
833
843
|
*/
|
|
@@ -921,6 +931,10 @@ export namespace Components {
|
|
|
921
931
|
* The id of the Searchcraft instance that this component should use.
|
|
922
932
|
*/
|
|
923
933
|
"searchcraftId"?: string;
|
|
934
|
+
/**
|
|
935
|
+
* The value to display in the input field.
|
|
936
|
+
*/
|
|
937
|
+
"value"?: string;
|
|
924
938
|
}
|
|
925
939
|
/**
|
|
926
940
|
* This web component serves as the input label for the searchcraft-input-form component.
|
|
@@ -2073,6 +2087,10 @@ declare namespace LocalJSX {
|
|
|
2073
2087
|
* ```
|
|
2074
2088
|
*/
|
|
2075
2089
|
interface SearchcraftFacetList {
|
|
2090
|
+
/**
|
|
2091
|
+
* Array of facet values to exclude from rendering.
|
|
2092
|
+
*/
|
|
2093
|
+
"exclude"?: string[];
|
|
2076
2094
|
/**
|
|
2077
2095
|
* The name of the field where facets are applied.
|
|
2078
2096
|
*/
|
|
@@ -2184,6 +2202,10 @@ declare namespace LocalJSX {
|
|
|
2184
2202
|
* The id of the Searchcraft instance that this component should use.
|
|
2185
2203
|
*/
|
|
2186
2204
|
"searchcraftId"?: string;
|
|
2205
|
+
/**
|
|
2206
|
+
* The value to display in the input field.
|
|
2207
|
+
*/
|
|
2208
|
+
"value"?: string;
|
|
2187
2209
|
}
|
|
2188
2210
|
/**
|
|
2189
2211
|
* This web component serves as the input label for the searchcraft-input-form component.
|