@coveo/atomic 3.33.9-pre.a8ae421e2e → 3.33.9-pre.a90e222cec
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/atomic/_atomic.esm.js +1 -1
- package/dist/atomic/atomic.esm.js.map +1 -1
- package/dist/atomic/components/_index.d.ts +2 -0
- package/dist/atomic/components/_index.js +1 -0
- package/dist/atomic/components/analytics-config.js +1 -1
- package/dist/atomic/components/atomic-category-facet.js +2 -2
- package/dist/atomic/components/atomic-category-facet.js.map +1 -1
- package/dist/atomic/components/atomic-facet.d.ts +11 -0
- package/dist/atomic/components/atomic-facet.js +470 -0
- package/dist/atomic/components/atomic-facet.js.map +1 -0
- package/dist/atomic/components/atomic-format-currency.js +1 -1
- package/dist/atomic/components/atomic-format-number.js +1 -1
- package/dist/atomic/components/atomic-format-unit.js +1 -1
- package/dist/atomic/components/atomic-insight-facet.js +4 -37
- package/dist/atomic/components/atomic-insight-facet.js.map +1 -1
- package/dist/atomic/components/atomic-insight-numeric-facet.js +2 -2
- package/dist/atomic/components/atomic-insight-numeric-facet.js.map +1 -1
- package/dist/atomic/components/atomic-numeric-facet.js +2 -2
- package/dist/atomic/components/atomic-numeric-facet.js.map +1 -1
- package/dist/atomic/components/atomic-quickview-modal2.js +1 -1
- package/dist/atomic/components/atomic-quickview.js +1 -1
- package/dist/atomic/components/atomic-result-children.js +1 -1
- package/dist/atomic/components/atomic-result-fields-list.js +1 -1
- package/dist/atomic/components/atomic-result-link.js +1 -1
- package/dist/atomic/components/atomic-result-list.js +1 -1
- package/dist/atomic/components/atomic-search-box-query-suggestions2.js +1 -1
- package/dist/atomic/components/atomic-search-box-recent-queries2.js +1 -1
- package/dist/atomic/components/atomic-smart-snippet-feedback-modal2.js +2 -2
- package/dist/atomic/components/atomic-tab-manager.js +1 -1
- package/dist/atomic/components/components/search/index.js +0 -1
- package/dist/atomic/components/components/search/lazy-index.js +0 -1
- package/dist/atomic/components/{stencil-facet-guard.js → facet-guard.js} +1 -2
- package/dist/atomic/components/facet-guard.js.map +1 -0
- package/dist/atomic/components/global/environment.js +1 -1
- package/dist/atomic/components/index.js.map +1 -1
- package/dist/atomic/components/stencil-facet-value.js +39 -0
- package/dist/atomic/components/stencil-facet-value.js.map +1 -0
- package/dist/atomic/{p-aa3ac5aa.js → p-1f059522.js} +1 -1
- package/dist/atomic/p-1f059522.js.map +1 -0
- package/dist/atomic/{p-05dba6e2.entry.js → p-20019654.entry.js} +2 -2
- package/dist/atomic/{p-d31377a4.entry.js → p-30411cd4.entry.js} +2 -2
- package/dist/atomic/p-30411cd4.entry.js.map +1 -0
- package/dist/atomic/{p-48d78fc6.entry.js → p-3e38aea6.entry.js} +2 -2
- package/dist/atomic/{p-104b5cde.entry.js → p-44ef70b6.entry.js} +2 -2
- package/dist/atomic/{p-d5f6d919.entry.js → p-4ae14373.entry.js} +2 -2
- package/dist/atomic/p-4ae14373.entry.js.map +1 -0
- package/dist/atomic/{p-10da7681.entry.js → p-4b9a166f.entry.js} +2 -2
- package/dist/atomic/{p-f35578fa.entry.js → p-4bdc6d5a.entry.js} +2 -2
- package/dist/atomic/p-4bdc6d5a.entry.js.map +1 -0
- package/dist/atomic/{p-24df7251.entry.js → p-516b8165.entry.js} +2 -2
- package/dist/atomic/p-5ca21deb.js +2 -0
- package/dist/atomic/p-5ca21deb.js.map +1 -0
- package/dist/atomic/{p-90000114.entry.js → p-600edff9.entry.js} +2 -2
- package/dist/atomic/{p-f78bed94.entry.js → p-62afcf79.entry.js} +2 -2
- package/dist/atomic/p-74822069.entry.js +2 -0
- package/dist/atomic/p-74822069.entry.js.map +1 -0
- package/dist/atomic/{p-257b6839.js → p-7b3c0d3f.js} +2 -2
- package/dist/atomic/{p-85f165af.entry.js → p-8acb1466.entry.js} +2 -2
- package/dist/atomic/{p-6606c417.entry.js → p-aa616502.entry.js} +2 -2
- package/dist/atomic/{p-8de09498.entry.js → p-c66047b4.entry.js} +2 -2
- package/dist/atomic/{p-618c6967.entry.js → p-d2d22ab2.entry.js} +2 -2
- package/dist/atomic/p-dbc0ce5c.entry.js +2 -0
- package/dist/atomic/p-dbc0ce5c.entry.js.map +1 -0
- package/dist/atomic/{p-c41e6a99.entry.js → p-df1d50c8.entry.js} +2 -2
- package/dist/atomic/{p-b5ed8ce2.entry.js → p-e3edbf14.entry.js} +2 -2
- package/dist/atomic/{p-cc68642f.entry.js → p-f073a78d.entry.js} +2 -2
- package/dist/cjs/_loader.cjs.js +1 -1
- package/dist/cjs/{analytics-config-a22139ed.js → analytics-config-b2bfc979.js} +2 -2
- package/dist/cjs/{analytics-config-a22139ed.js.map → analytics-config-b2bfc979.js.map} +1 -1
- package/dist/cjs/atomic-category-facet.cjs.entry.js +2 -2
- package/dist/cjs/atomic-category-facet.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-facet.cjs.entry.js +453 -0
- package/dist/cjs/atomic-facet.cjs.entry.js.map +1 -0
- package/dist/cjs/atomic-format-currency.cjs.entry.js +1 -1
- package/dist/cjs/atomic-format-number.cjs.entry.js +1 -1
- package/dist/cjs/atomic-format-unit.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-facet.cjs.entry.js +10 -38
- package/dist/cjs/atomic-insight-facet.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-interface.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-numeric-facet.cjs.entry.js +2 -2
- package/dist/cjs/atomic-insight-numeric-facet.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-numeric-facet.cjs.entry.js +2 -2
- package/dist/cjs/atomic-numeric-facet.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-quickview-modal.cjs.entry.js +1 -1
- package/dist/cjs/atomic-quickview.cjs.entry.js +1 -1
- package/dist/cjs/atomic-recs-interface.cjs.entry.js +1 -1
- package/dist/cjs/atomic-result-children.cjs.entry.js +1 -1
- package/dist/cjs/atomic-result-fields-list.cjs.entry.js +1 -1
- package/dist/cjs/atomic-result-link.cjs.entry.js +1 -1
- package/dist/cjs/atomic-result-list.cjs.entry.js +1 -1
- package/dist/cjs/atomic-search-box-query-suggestions_2.cjs.entry.js +2 -2
- package/dist/cjs/atomic-smart-snippet-feedback-modal.cjs.entry.js +2 -2
- package/dist/cjs/atomic-tab-manager.cjs.entry.js +1 -1
- package/dist/cjs/atomic.cjs.js +1 -1
- package/dist/cjs/{stencil-facet-guard-9573df7f.js → facet-guard-328b588d.js} +1 -2
- package/dist/cjs/facet-guard-328b588d.js.map +1 -0
- package/dist/cjs/index-757bc886.js +4 -0
- package/dist/cjs/stencil-facet-value-e67c9332.js +41 -0
- package/dist/cjs/stencil-facet-value-e67c9332.js.map +1 -0
- package/dist/cjs/version.cjs.js +2 -2
- package/dist/esm/_loader.js +1 -1
- package/dist/esm/{analytics-config-fd21d751.js → analytics-config-2e82e70d.js} +2 -2
- package/dist/esm/{analytics-config-fd21d751.js.map → analytics-config-2e82e70d.js.map} +1 -1
- package/dist/esm/atomic-category-facet.entry.js +2 -2
- package/dist/esm/atomic-category-facet.entry.js.map +1 -1
- package/dist/esm/atomic-facet.entry.js +449 -0
- package/dist/esm/atomic-facet.entry.js.map +1 -0
- package/dist/esm/atomic-format-currency.entry.js +1 -1
- package/dist/esm/atomic-format-number.entry.js +1 -1
- package/dist/esm/atomic-format-unit.entry.js +1 -1
- package/dist/esm/atomic-insight-facet.entry.js +10 -38
- package/dist/esm/atomic-insight-facet.entry.js.map +1 -1
- package/dist/esm/atomic-insight-interface.entry.js +1 -1
- package/dist/esm/atomic-insight-numeric-facet.entry.js +2 -2
- package/dist/esm/atomic-insight-numeric-facet.entry.js.map +1 -1
- package/dist/esm/atomic-numeric-facet.entry.js +2 -2
- package/dist/esm/atomic-numeric-facet.entry.js.map +1 -1
- package/dist/esm/atomic-quickview-modal.entry.js +1 -1
- package/dist/esm/atomic-quickview.entry.js +1 -1
- package/dist/esm/atomic-recs-interface.entry.js +1 -1
- package/dist/esm/atomic-result-children.entry.js +1 -1
- package/dist/esm/atomic-result-fields-list.entry.js +1 -1
- package/dist/esm/atomic-result-link.entry.js +1 -1
- package/dist/esm/atomic-result-list.entry.js +1 -1
- package/dist/esm/atomic-search-box-query-suggestions_2.entry.js +2 -2
- package/dist/esm/atomic-smart-snippet-feedback-modal.entry.js +2 -2
- package/dist/esm/atomic-tab-manager.entry.js +1 -1
- package/dist/esm/atomic.js +1 -1
- package/dist/esm/{stencil-facet-guard-edbfa966.js → facet-guard-4b795e90.js} +1 -2
- package/dist/esm/facet-guard-4b795e90.js.map +1 -0
- package/dist/esm/index-3f35faca.js +4 -0
- package/dist/esm/stencil-facet-value-30dc9b6c.js +39 -0
- package/dist/esm/stencil-facet-value-30dc9b6c.js.map +1 -0
- package/dist/esm/version.js +2 -2
- package/dist/types/components/search/{atomic-facet → facets/atomic-facet}/atomic-facet.d.ts +9 -13
- package/dist/types/components/search/index.d.ts +0 -1
- package/dist/types/components.d.ts +173 -0
- package/docs/atomic-docs.json +718 -1
- package/package.json +3 -3
- package/dist/atomic/components/components/common/facets/depends-on.js +0 -62
- package/dist/atomic/components/components/common/facets/popover/popover-type.js +0 -5
- package/dist/atomic/components/components/search/atomic-facet/atomic-facet.js +0 -613
- package/dist/atomic/components/stencil-facet-guard.js.map +0 -1
- package/dist/atomic/p-745b06c3.entry.js +0 -2
- package/dist/atomic/p-745b06c3.entry.js.map +0 -1
- package/dist/atomic/p-aa3ac5aa.js.map +0 -1
- package/dist/atomic/p-d31377a4.entry.js.map +0 -1
- package/dist/atomic/p-d5f6d919.entry.js.map +0 -1
- package/dist/atomic/p-f35578fa.entry.js.map +0 -1
- package/dist/cjs/stencil-facet-guard-9573df7f.js.map +0 -1
- package/dist/esm/stencil-facet-guard-edbfa966.js.map +0 -1
- /package/dist/atomic/{p-05dba6e2.entry.js.map → p-20019654.entry.js.map} +0 -0
- /package/dist/atomic/{p-48d78fc6.entry.js.map → p-3e38aea6.entry.js.map} +0 -0
- /package/dist/atomic/{p-104b5cde.entry.js.map → p-44ef70b6.entry.js.map} +0 -0
- /package/dist/atomic/{p-10da7681.entry.js.map → p-4b9a166f.entry.js.map} +0 -0
- /package/dist/atomic/{p-24df7251.entry.js.map → p-516b8165.entry.js.map} +0 -0
- /package/dist/atomic/{p-90000114.entry.js.map → p-600edff9.entry.js.map} +0 -0
- /package/dist/atomic/{p-f78bed94.entry.js.map → p-62afcf79.entry.js.map} +0 -0
- /package/dist/atomic/{p-257b6839.js.map → p-7b3c0d3f.js.map} +0 -0
- /package/dist/atomic/{p-85f165af.entry.js.map → p-8acb1466.entry.js.map} +0 -0
- /package/dist/atomic/{p-6606c417.entry.js.map → p-aa616502.entry.js.map} +0 -0
- /package/dist/atomic/{p-8de09498.entry.js.map → p-c66047b4.entry.js.map} +0 -0
- /package/dist/atomic/{p-618c6967.entry.js.map → p-d2d22ab2.entry.js.map} +0 -0
- /package/dist/atomic/{p-c41e6a99.entry.js.map → p-df1d50c8.entry.js.map} +0 -0
- /package/dist/atomic/{p-b5ed8ce2.entry.js.map → p-e3edbf14.entry.js.map} +0 -0
- /package/dist/atomic/{p-cc68642f.entry.js.map → p-f073a78d.entry.js.map} +0 -0
- /package/dist/types/components/common/facets/{stencil-facet-guard.d.ts → facet-guard.d.ts} +0 -0
@@ -288,6 +288,84 @@ export namespace Components {
|
|
288
288
|
*/
|
289
289
|
"selector": string;
|
290
290
|
}
|
291
|
+
/**
|
292
|
+
* A facet is a list of values for a certain field occurring in the results, ordered using a configurable criteria (e.g., number of occurrences).
|
293
|
+
* An `atomic-facet` displays a facet of the results for the current query.
|
294
|
+
*/
|
295
|
+
interface AtomicFacet {
|
296
|
+
/**
|
297
|
+
* Specifies an explicit list of `allowedValues` in the Search API request, as a JSON string representation. If you specify a list of values for this option, the facet uses only these values (if they are available in the current result set). Example: The following facet only uses the `Contact`, `Account`, and `File` values of the `objecttype` field. Even if the current result set contains other `objecttype` values, such as `Message`, or `Product`, the facet does not use those other values. ```html <atomic-facet field="objecttype" allowed-values='["Contact","Account","File"]'></atomic-facet> ``` The maximum amount of allowed values is 25. Default value is `undefined`, and the facet uses all available values for its `field` in the current result set.
|
298
|
+
*/
|
299
|
+
"allowedValues": string[] | string;
|
300
|
+
/**
|
301
|
+
* Identifies the facet values that must appear at the top, in this order. This parameter can be used in conjunction with the `sortCriteria` parameter. Facet values not part of the `customSort` list will be sorted according to the `sortCriteria`. Example: The following facet will sort the `Contact`, `Account`, and `File` values at the top of the list for the `objecttype` field. If there are more than these 3 values available, the rest of the list will be sorted using `occurrences`. ```html <atomic-facet field="objecttype" custom-sort='["Contact","Account","File"]' sort-criteria='occurrences'></atomic-facet> ``` The maximum amount of custom sort values is 25. The default value is `undefined`, and the facet values will be sorted using only the `sortCriteria`.
|
302
|
+
*/
|
303
|
+
"customSort": string[] | string;
|
304
|
+
/**
|
305
|
+
* The required facets and values for this facet to be displayed. Examples: ```html <atomic-facet facet-id="abc" field="objecttype" ...></atomic-facet> <!-- To show the facet when any value is selected in the facet with id "abc": --> <atomic-facet depends-on-abc ... ></atomic-facet> <!-- To show the facet when value "doc" is selected in the facet with id "abc": --> <atomic-facet depends-on-abc="doc" ... ></atomic-facet> ```
|
306
|
+
*/
|
307
|
+
"dependsOn": Record<string, string>;
|
308
|
+
/**
|
309
|
+
* Whether to display the facet values as checkboxes (multiple selection), links (single selection) or boxes (multiple selection). Possible values are 'checkbox', 'link', and 'box'.
|
310
|
+
*/
|
311
|
+
"displayValuesAs": 'checkbox' | 'link' | 'box';
|
312
|
+
/**
|
313
|
+
* Whether to allow excluding values from the facet.
|
314
|
+
*/
|
315
|
+
"enableExclusion": boolean;
|
316
|
+
/**
|
317
|
+
* Specifies a unique identifier for the facet.
|
318
|
+
*/
|
319
|
+
"facetId"?: string;
|
320
|
+
/**
|
321
|
+
* The field whose values you want to display in the facet.
|
322
|
+
*/
|
323
|
+
"field": string;
|
324
|
+
/**
|
325
|
+
* Whether to exclude the parents of folded results when estimating the result count for each facet value. Note: Resulting count is only an estimation, in some cases this value could be incorrect.
|
326
|
+
*/
|
327
|
+
"filterFacetCount": boolean;
|
328
|
+
/**
|
329
|
+
* The [heading level](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements) to use for the heading over the facet, from 1 to 6.
|
330
|
+
*/
|
331
|
+
"headingLevel": number;
|
332
|
+
/**
|
333
|
+
* The maximum number of results to scan in the index to ensure that the facet lists all potential facet values. Note: A high injectionDepth may negatively impact the facet request performance. Minimum: `0` Default: `1000`
|
334
|
+
*/
|
335
|
+
"injectionDepth": number;
|
336
|
+
/**
|
337
|
+
* Specifies whether the facet is collapsed. When the facet is the child of an `atomic-facet-manager` component, the facet manager controls this property.
|
338
|
+
*/
|
339
|
+
"isCollapsed": boolean;
|
340
|
+
/**
|
341
|
+
* The non-localized label for the facet. Used in the `atomic-breadbox` component through the bindings store.
|
342
|
+
*/
|
343
|
+
"label": string;
|
344
|
+
/**
|
345
|
+
* The number of values to request for this facet. Also determines the number of additional values to request each time more values are shown.
|
346
|
+
*/
|
347
|
+
"numberOfValues": number;
|
348
|
+
/**
|
349
|
+
* Specifies how a result must match the selected facet values. Allowed values: - `atLeastOneValue`: A result will match if at least one of the corresponding facet values is selected. - `allValues`: A result will match if all corresponding facet values are selected.
|
350
|
+
*/
|
351
|
+
"resultsMustMatch": FacetResultsMustMatch;
|
352
|
+
/**
|
353
|
+
* The sort criterion to apply to the returned facet values. Possible values are 'score', 'alphanumeric', 'alphanumericDescending', 'occurrences', alphanumericNatural', 'alphanumericNaturalDescending' and 'automatic'.
|
354
|
+
*/
|
355
|
+
"sortCriteria": FacetSortCriterion;
|
356
|
+
/**
|
357
|
+
* The tabs on which this facet must not be displayed. This property should not be used at the same time as `tabs-included`. Set this property as a stringified JSON array, e.g., ```html <atomic-facet tabs-excluded='["tabIDA", "tabIDB"]'></atomic-facet> ``` If you don't set this property, the facet can be displayed on any tab. Otherwise, the facet won't be displayed on any of the specified tabs.
|
358
|
+
*/
|
359
|
+
"tabsExcluded": string[] | string;
|
360
|
+
/**
|
361
|
+
* The tabs on which the facet can be displayed. This property should not be used at the same time as `tabs-excluded`. Set this property as a stringified JSON array, e.g., ```html <atomic-facet tabs-included='["tabIDA", "tabIDB"]'></atomic-facet> ``` If you don't set this property, the facet can be displayed on any tab. Otherwise, the facet can only be displayed on the specified tabs.
|
362
|
+
*/
|
363
|
+
"tabsIncluded": string[] | string;
|
364
|
+
/**
|
365
|
+
* Whether this facet should contain a search box.
|
366
|
+
*/
|
367
|
+
"withSearch": boolean;
|
368
|
+
}
|
291
369
|
/**
|
292
370
|
* The `atomic-facet-manager` helps reorder facets and their values to match the most recent search response with the most relevant results.
|
293
371
|
*/
|
@@ -2900,6 +2978,16 @@ declare global {
|
|
2900
2978
|
prototype: HTMLAtomicExternalElement;
|
2901
2979
|
new (): HTMLAtomicExternalElement;
|
2902
2980
|
};
|
2981
|
+
/**
|
2982
|
+
* A facet is a list of values for a certain field occurring in the results, ordered using a configurable criteria (e.g., number of occurrences).
|
2983
|
+
* An `atomic-facet` displays a facet of the results for the current query.
|
2984
|
+
*/
|
2985
|
+
interface HTMLAtomicFacetElement extends Components.AtomicFacet, HTMLStencilElement {
|
2986
|
+
}
|
2987
|
+
var HTMLAtomicFacetElement: {
|
2988
|
+
prototype: HTMLAtomicFacetElement;
|
2989
|
+
new (): HTMLAtomicFacetElement;
|
2990
|
+
};
|
2903
2991
|
/**
|
2904
2992
|
* The `atomic-facet-manager` helps reorder facets and their values to match the most recent search response with the most relevant results.
|
2905
2993
|
*/
|
@@ -4326,6 +4414,7 @@ declare global {
|
|
4326
4414
|
"atomic-color-facet": HTMLAtomicColorFacetElement;
|
4327
4415
|
"atomic-did-you-mean": HTMLAtomicDidYouMeanElement;
|
4328
4416
|
"atomic-external": HTMLAtomicExternalElement;
|
4417
|
+
"atomic-facet": HTMLAtomicFacetElement;
|
4329
4418
|
"atomic-facet-manager": HTMLAtomicFacetManagerElement;
|
4330
4419
|
"atomic-facet-number-input": HTMLAtomicFacetNumberInputElement;
|
4331
4420
|
"atomic-field-condition": HTMLAtomicFieldConditionElement;
|
@@ -4698,6 +4787,84 @@ declare namespace LocalJSX {
|
|
4698
4787
|
*/
|
4699
4788
|
"selector"?: string;
|
4700
4789
|
}
|
4790
|
+
/**
|
4791
|
+
* A facet is a list of values for a certain field occurring in the results, ordered using a configurable criteria (e.g., number of occurrences).
|
4792
|
+
* An `atomic-facet` displays a facet of the results for the current query.
|
4793
|
+
*/
|
4794
|
+
interface AtomicFacet {
|
4795
|
+
/**
|
4796
|
+
* Specifies an explicit list of `allowedValues` in the Search API request, as a JSON string representation. If you specify a list of values for this option, the facet uses only these values (if they are available in the current result set). Example: The following facet only uses the `Contact`, `Account`, and `File` values of the `objecttype` field. Even if the current result set contains other `objecttype` values, such as `Message`, or `Product`, the facet does not use those other values. ```html <atomic-facet field="objecttype" allowed-values='["Contact","Account","File"]'></atomic-facet> ``` The maximum amount of allowed values is 25. Default value is `undefined`, and the facet uses all available values for its `field` in the current result set.
|
4797
|
+
*/
|
4798
|
+
"allowedValues"?: string[] | string;
|
4799
|
+
/**
|
4800
|
+
* Identifies the facet values that must appear at the top, in this order. This parameter can be used in conjunction with the `sortCriteria` parameter. Facet values not part of the `customSort` list will be sorted according to the `sortCriteria`. Example: The following facet will sort the `Contact`, `Account`, and `File` values at the top of the list for the `objecttype` field. If there are more than these 3 values available, the rest of the list will be sorted using `occurrences`. ```html <atomic-facet field="objecttype" custom-sort='["Contact","Account","File"]' sort-criteria='occurrences'></atomic-facet> ``` The maximum amount of custom sort values is 25. The default value is `undefined`, and the facet values will be sorted using only the `sortCriteria`.
|
4801
|
+
*/
|
4802
|
+
"customSort"?: string[] | string;
|
4803
|
+
/**
|
4804
|
+
* The required facets and values for this facet to be displayed. Examples: ```html <atomic-facet facet-id="abc" field="objecttype" ...></atomic-facet> <!-- To show the facet when any value is selected in the facet with id "abc": --> <atomic-facet depends-on-abc ... ></atomic-facet> <!-- To show the facet when value "doc" is selected in the facet with id "abc": --> <atomic-facet depends-on-abc="doc" ... ></atomic-facet> ```
|
4805
|
+
*/
|
4806
|
+
"dependsOn"?: Record<string, string>;
|
4807
|
+
/**
|
4808
|
+
* Whether to display the facet values as checkboxes (multiple selection), links (single selection) or boxes (multiple selection). Possible values are 'checkbox', 'link', and 'box'.
|
4809
|
+
*/
|
4810
|
+
"displayValuesAs"?: 'checkbox' | 'link' | 'box';
|
4811
|
+
/**
|
4812
|
+
* Whether to allow excluding values from the facet.
|
4813
|
+
*/
|
4814
|
+
"enableExclusion"?: boolean;
|
4815
|
+
/**
|
4816
|
+
* Specifies a unique identifier for the facet.
|
4817
|
+
*/
|
4818
|
+
"facetId"?: string;
|
4819
|
+
/**
|
4820
|
+
* The field whose values you want to display in the facet.
|
4821
|
+
*/
|
4822
|
+
"field": string;
|
4823
|
+
/**
|
4824
|
+
* Whether to exclude the parents of folded results when estimating the result count for each facet value. Note: Resulting count is only an estimation, in some cases this value could be incorrect.
|
4825
|
+
*/
|
4826
|
+
"filterFacetCount"?: boolean;
|
4827
|
+
/**
|
4828
|
+
* The [heading level](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements) to use for the heading over the facet, from 1 to 6.
|
4829
|
+
*/
|
4830
|
+
"headingLevel"?: number;
|
4831
|
+
/**
|
4832
|
+
* The maximum number of results to scan in the index to ensure that the facet lists all potential facet values. Note: A high injectionDepth may negatively impact the facet request performance. Minimum: `0` Default: `1000`
|
4833
|
+
*/
|
4834
|
+
"injectionDepth"?: number;
|
4835
|
+
/**
|
4836
|
+
* Specifies whether the facet is collapsed. When the facet is the child of an `atomic-facet-manager` component, the facet manager controls this property.
|
4837
|
+
*/
|
4838
|
+
"isCollapsed"?: boolean;
|
4839
|
+
/**
|
4840
|
+
* The non-localized label for the facet. Used in the `atomic-breadbox` component through the bindings store.
|
4841
|
+
*/
|
4842
|
+
"label"?: string;
|
4843
|
+
/**
|
4844
|
+
* The number of values to request for this facet. Also determines the number of additional values to request each time more values are shown.
|
4845
|
+
*/
|
4846
|
+
"numberOfValues"?: number;
|
4847
|
+
/**
|
4848
|
+
* Specifies how a result must match the selected facet values. Allowed values: - `atLeastOneValue`: A result will match if at least one of the corresponding facet values is selected. - `allValues`: A result will match if all corresponding facet values are selected.
|
4849
|
+
*/
|
4850
|
+
"resultsMustMatch"?: FacetResultsMustMatch;
|
4851
|
+
/**
|
4852
|
+
* The sort criterion to apply to the returned facet values. Possible values are 'score', 'alphanumeric', 'alphanumericDescending', 'occurrences', alphanumericNatural', 'alphanumericNaturalDescending' and 'automatic'.
|
4853
|
+
*/
|
4854
|
+
"sortCriteria"?: FacetSortCriterion;
|
4855
|
+
/**
|
4856
|
+
* The tabs on which this facet must not be displayed. This property should not be used at the same time as `tabs-included`. Set this property as a stringified JSON array, e.g., ```html <atomic-facet tabs-excluded='["tabIDA", "tabIDB"]'></atomic-facet> ``` If you don't set this property, the facet can be displayed on any tab. Otherwise, the facet won't be displayed on any of the specified tabs.
|
4857
|
+
*/
|
4858
|
+
"tabsExcluded"?: string[] | string;
|
4859
|
+
/**
|
4860
|
+
* The tabs on which the facet can be displayed. This property should not be used at the same time as `tabs-excluded`. Set this property as a stringified JSON array, e.g., ```html <atomic-facet tabs-included='["tabIDA", "tabIDB"]'></atomic-facet> ``` If you don't set this property, the facet can be displayed on any tab. Otherwise, the facet can only be displayed on the specified tabs.
|
4861
|
+
*/
|
4862
|
+
"tabsIncluded"?: string[] | string;
|
4863
|
+
/**
|
4864
|
+
* Whether this facet should contain a search box.
|
4865
|
+
*/
|
4866
|
+
"withSearch"?: boolean;
|
4867
|
+
}
|
4701
4868
|
/**
|
4702
4869
|
* The `atomic-facet-manager` helps reorder facets and their values to match the most recent search response with the most relevant results.
|
4703
4870
|
*/
|
@@ -7052,6 +7219,7 @@ declare namespace LocalJSX {
|
|
7052
7219
|
"atomic-color-facet": AtomicColorFacet;
|
7053
7220
|
"atomic-did-you-mean": AtomicDidYouMean;
|
7054
7221
|
"atomic-external": AtomicExternal;
|
7222
|
+
"atomic-facet": AtomicFacet;
|
7055
7223
|
"atomic-facet-manager": AtomicFacetManager;
|
7056
7224
|
"atomic-facet-number-input": AtomicFacetNumberInput;
|
7057
7225
|
"atomic-field-condition": AtomicFieldCondition;
|
@@ -7235,6 +7403,11 @@ declare module "@stencil/core" {
|
|
7235
7403
|
* The `atomic-external` component allows components defined outside of the `atomic-search-interface` to initialize.
|
7236
7404
|
*/
|
7237
7405
|
"atomic-external": LocalJSX.AtomicExternal & JSXBase.HTMLAttributes<HTMLAtomicExternalElement>;
|
7406
|
+
/**
|
7407
|
+
* A facet is a list of values for a certain field occurring in the results, ordered using a configurable criteria (e.g., number of occurrences).
|
7408
|
+
* An `atomic-facet` displays a facet of the results for the current query.
|
7409
|
+
*/
|
7410
|
+
"atomic-facet": LocalJSX.AtomicFacet & JSXBase.HTMLAttributes<HTMLAtomicFacetElement>;
|
7238
7411
|
/**
|
7239
7412
|
* The `atomic-facet-manager` helps reorder facets and their values to match the most recent search response with the most relevant results.
|
7240
7413
|
*/
|