@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.
Files changed (167) hide show
  1. package/dist/atomic/_atomic.esm.js +1 -1
  2. package/dist/atomic/atomic.esm.js.map +1 -1
  3. package/dist/atomic/components/_index.d.ts +2 -0
  4. package/dist/atomic/components/_index.js +1 -0
  5. package/dist/atomic/components/analytics-config.js +1 -1
  6. package/dist/atomic/components/atomic-category-facet.js +2 -2
  7. package/dist/atomic/components/atomic-category-facet.js.map +1 -1
  8. package/dist/atomic/components/atomic-facet.d.ts +11 -0
  9. package/dist/atomic/components/atomic-facet.js +470 -0
  10. package/dist/atomic/components/atomic-facet.js.map +1 -0
  11. package/dist/atomic/components/atomic-format-currency.js +1 -1
  12. package/dist/atomic/components/atomic-format-number.js +1 -1
  13. package/dist/atomic/components/atomic-format-unit.js +1 -1
  14. package/dist/atomic/components/atomic-insight-facet.js +4 -37
  15. package/dist/atomic/components/atomic-insight-facet.js.map +1 -1
  16. package/dist/atomic/components/atomic-insight-numeric-facet.js +2 -2
  17. package/dist/atomic/components/atomic-insight-numeric-facet.js.map +1 -1
  18. package/dist/atomic/components/atomic-numeric-facet.js +2 -2
  19. package/dist/atomic/components/atomic-numeric-facet.js.map +1 -1
  20. package/dist/atomic/components/atomic-quickview-modal2.js +1 -1
  21. package/dist/atomic/components/atomic-quickview.js +1 -1
  22. package/dist/atomic/components/atomic-result-children.js +1 -1
  23. package/dist/atomic/components/atomic-result-fields-list.js +1 -1
  24. package/dist/atomic/components/atomic-result-link.js +1 -1
  25. package/dist/atomic/components/atomic-result-list.js +1 -1
  26. package/dist/atomic/components/atomic-search-box-query-suggestions2.js +1 -1
  27. package/dist/atomic/components/atomic-search-box-recent-queries2.js +1 -1
  28. package/dist/atomic/components/atomic-smart-snippet-feedback-modal2.js +2 -2
  29. package/dist/atomic/components/atomic-tab-manager.js +1 -1
  30. package/dist/atomic/components/components/search/index.js +0 -1
  31. package/dist/atomic/components/components/search/lazy-index.js +0 -1
  32. package/dist/atomic/components/{stencil-facet-guard.js → facet-guard.js} +1 -2
  33. package/dist/atomic/components/facet-guard.js.map +1 -0
  34. package/dist/atomic/components/global/environment.js +1 -1
  35. package/dist/atomic/components/index.js.map +1 -1
  36. package/dist/atomic/components/stencil-facet-value.js +39 -0
  37. package/dist/atomic/components/stencil-facet-value.js.map +1 -0
  38. package/dist/atomic/{p-aa3ac5aa.js → p-1f059522.js} +1 -1
  39. package/dist/atomic/p-1f059522.js.map +1 -0
  40. package/dist/atomic/{p-05dba6e2.entry.js → p-20019654.entry.js} +2 -2
  41. package/dist/atomic/{p-d31377a4.entry.js → p-30411cd4.entry.js} +2 -2
  42. package/dist/atomic/p-30411cd4.entry.js.map +1 -0
  43. package/dist/atomic/{p-48d78fc6.entry.js → p-3e38aea6.entry.js} +2 -2
  44. package/dist/atomic/{p-104b5cde.entry.js → p-44ef70b6.entry.js} +2 -2
  45. package/dist/atomic/{p-d5f6d919.entry.js → p-4ae14373.entry.js} +2 -2
  46. package/dist/atomic/p-4ae14373.entry.js.map +1 -0
  47. package/dist/atomic/{p-10da7681.entry.js → p-4b9a166f.entry.js} +2 -2
  48. package/dist/atomic/{p-f35578fa.entry.js → p-4bdc6d5a.entry.js} +2 -2
  49. package/dist/atomic/p-4bdc6d5a.entry.js.map +1 -0
  50. package/dist/atomic/{p-24df7251.entry.js → p-516b8165.entry.js} +2 -2
  51. package/dist/atomic/p-5ca21deb.js +2 -0
  52. package/dist/atomic/p-5ca21deb.js.map +1 -0
  53. package/dist/atomic/{p-90000114.entry.js → p-600edff9.entry.js} +2 -2
  54. package/dist/atomic/{p-f78bed94.entry.js → p-62afcf79.entry.js} +2 -2
  55. package/dist/atomic/p-74822069.entry.js +2 -0
  56. package/dist/atomic/p-74822069.entry.js.map +1 -0
  57. package/dist/atomic/{p-257b6839.js → p-7b3c0d3f.js} +2 -2
  58. package/dist/atomic/{p-85f165af.entry.js → p-8acb1466.entry.js} +2 -2
  59. package/dist/atomic/{p-6606c417.entry.js → p-aa616502.entry.js} +2 -2
  60. package/dist/atomic/{p-8de09498.entry.js → p-c66047b4.entry.js} +2 -2
  61. package/dist/atomic/{p-618c6967.entry.js → p-d2d22ab2.entry.js} +2 -2
  62. package/dist/atomic/p-dbc0ce5c.entry.js +2 -0
  63. package/dist/atomic/p-dbc0ce5c.entry.js.map +1 -0
  64. package/dist/atomic/{p-c41e6a99.entry.js → p-df1d50c8.entry.js} +2 -2
  65. package/dist/atomic/{p-b5ed8ce2.entry.js → p-e3edbf14.entry.js} +2 -2
  66. package/dist/atomic/{p-cc68642f.entry.js → p-f073a78d.entry.js} +2 -2
  67. package/dist/cjs/_loader.cjs.js +1 -1
  68. package/dist/cjs/{analytics-config-a22139ed.js → analytics-config-b2bfc979.js} +2 -2
  69. package/dist/cjs/{analytics-config-a22139ed.js.map → analytics-config-b2bfc979.js.map} +1 -1
  70. package/dist/cjs/atomic-category-facet.cjs.entry.js +2 -2
  71. package/dist/cjs/atomic-category-facet.cjs.entry.js.map +1 -1
  72. package/dist/cjs/atomic-facet.cjs.entry.js +453 -0
  73. package/dist/cjs/atomic-facet.cjs.entry.js.map +1 -0
  74. package/dist/cjs/atomic-format-currency.cjs.entry.js +1 -1
  75. package/dist/cjs/atomic-format-number.cjs.entry.js +1 -1
  76. package/dist/cjs/atomic-format-unit.cjs.entry.js +1 -1
  77. package/dist/cjs/atomic-insight-facet.cjs.entry.js +10 -38
  78. package/dist/cjs/atomic-insight-facet.cjs.entry.js.map +1 -1
  79. package/dist/cjs/atomic-insight-interface.cjs.entry.js +1 -1
  80. package/dist/cjs/atomic-insight-numeric-facet.cjs.entry.js +2 -2
  81. package/dist/cjs/atomic-insight-numeric-facet.cjs.entry.js.map +1 -1
  82. package/dist/cjs/atomic-numeric-facet.cjs.entry.js +2 -2
  83. package/dist/cjs/atomic-numeric-facet.cjs.entry.js.map +1 -1
  84. package/dist/cjs/atomic-quickview-modal.cjs.entry.js +1 -1
  85. package/dist/cjs/atomic-quickview.cjs.entry.js +1 -1
  86. package/dist/cjs/atomic-recs-interface.cjs.entry.js +1 -1
  87. package/dist/cjs/atomic-result-children.cjs.entry.js +1 -1
  88. package/dist/cjs/atomic-result-fields-list.cjs.entry.js +1 -1
  89. package/dist/cjs/atomic-result-link.cjs.entry.js +1 -1
  90. package/dist/cjs/atomic-result-list.cjs.entry.js +1 -1
  91. package/dist/cjs/atomic-search-box-query-suggestions_2.cjs.entry.js +2 -2
  92. package/dist/cjs/atomic-smart-snippet-feedback-modal.cjs.entry.js +2 -2
  93. package/dist/cjs/atomic-tab-manager.cjs.entry.js +1 -1
  94. package/dist/cjs/atomic.cjs.js +1 -1
  95. package/dist/cjs/{stencil-facet-guard-9573df7f.js → facet-guard-328b588d.js} +1 -2
  96. package/dist/cjs/facet-guard-328b588d.js.map +1 -0
  97. package/dist/cjs/index-757bc886.js +4 -0
  98. package/dist/cjs/stencil-facet-value-e67c9332.js +41 -0
  99. package/dist/cjs/stencil-facet-value-e67c9332.js.map +1 -0
  100. package/dist/cjs/version.cjs.js +2 -2
  101. package/dist/esm/_loader.js +1 -1
  102. package/dist/esm/{analytics-config-fd21d751.js → analytics-config-2e82e70d.js} +2 -2
  103. package/dist/esm/{analytics-config-fd21d751.js.map → analytics-config-2e82e70d.js.map} +1 -1
  104. package/dist/esm/atomic-category-facet.entry.js +2 -2
  105. package/dist/esm/atomic-category-facet.entry.js.map +1 -1
  106. package/dist/esm/atomic-facet.entry.js +449 -0
  107. package/dist/esm/atomic-facet.entry.js.map +1 -0
  108. package/dist/esm/atomic-format-currency.entry.js +1 -1
  109. package/dist/esm/atomic-format-number.entry.js +1 -1
  110. package/dist/esm/atomic-format-unit.entry.js +1 -1
  111. package/dist/esm/atomic-insight-facet.entry.js +10 -38
  112. package/dist/esm/atomic-insight-facet.entry.js.map +1 -1
  113. package/dist/esm/atomic-insight-interface.entry.js +1 -1
  114. package/dist/esm/atomic-insight-numeric-facet.entry.js +2 -2
  115. package/dist/esm/atomic-insight-numeric-facet.entry.js.map +1 -1
  116. package/dist/esm/atomic-numeric-facet.entry.js +2 -2
  117. package/dist/esm/atomic-numeric-facet.entry.js.map +1 -1
  118. package/dist/esm/atomic-quickview-modal.entry.js +1 -1
  119. package/dist/esm/atomic-quickview.entry.js +1 -1
  120. package/dist/esm/atomic-recs-interface.entry.js +1 -1
  121. package/dist/esm/atomic-result-children.entry.js +1 -1
  122. package/dist/esm/atomic-result-fields-list.entry.js +1 -1
  123. package/dist/esm/atomic-result-link.entry.js +1 -1
  124. package/dist/esm/atomic-result-list.entry.js +1 -1
  125. package/dist/esm/atomic-search-box-query-suggestions_2.entry.js +2 -2
  126. package/dist/esm/atomic-smart-snippet-feedback-modal.entry.js +2 -2
  127. package/dist/esm/atomic-tab-manager.entry.js +1 -1
  128. package/dist/esm/atomic.js +1 -1
  129. package/dist/esm/{stencil-facet-guard-edbfa966.js → facet-guard-4b795e90.js} +1 -2
  130. package/dist/esm/facet-guard-4b795e90.js.map +1 -0
  131. package/dist/esm/index-3f35faca.js +4 -0
  132. package/dist/esm/stencil-facet-value-30dc9b6c.js +39 -0
  133. package/dist/esm/stencil-facet-value-30dc9b6c.js.map +1 -0
  134. package/dist/esm/version.js +2 -2
  135. package/dist/types/components/search/{atomic-facet → facets/atomic-facet}/atomic-facet.d.ts +9 -13
  136. package/dist/types/components/search/index.d.ts +0 -1
  137. package/dist/types/components.d.ts +173 -0
  138. package/docs/atomic-docs.json +718 -1
  139. package/package.json +3 -3
  140. package/dist/atomic/components/components/common/facets/depends-on.js +0 -62
  141. package/dist/atomic/components/components/common/facets/popover/popover-type.js +0 -5
  142. package/dist/atomic/components/components/search/atomic-facet/atomic-facet.js +0 -613
  143. package/dist/atomic/components/stencil-facet-guard.js.map +0 -1
  144. package/dist/atomic/p-745b06c3.entry.js +0 -2
  145. package/dist/atomic/p-745b06c3.entry.js.map +0 -1
  146. package/dist/atomic/p-aa3ac5aa.js.map +0 -1
  147. package/dist/atomic/p-d31377a4.entry.js.map +0 -1
  148. package/dist/atomic/p-d5f6d919.entry.js.map +0 -1
  149. package/dist/atomic/p-f35578fa.entry.js.map +0 -1
  150. package/dist/cjs/stencil-facet-guard-9573df7f.js.map +0 -1
  151. package/dist/esm/stencil-facet-guard-edbfa966.js.map +0 -1
  152. /package/dist/atomic/{p-05dba6e2.entry.js.map → p-20019654.entry.js.map} +0 -0
  153. /package/dist/atomic/{p-48d78fc6.entry.js.map → p-3e38aea6.entry.js.map} +0 -0
  154. /package/dist/atomic/{p-104b5cde.entry.js.map → p-44ef70b6.entry.js.map} +0 -0
  155. /package/dist/atomic/{p-10da7681.entry.js.map → p-4b9a166f.entry.js.map} +0 -0
  156. /package/dist/atomic/{p-24df7251.entry.js.map → p-516b8165.entry.js.map} +0 -0
  157. /package/dist/atomic/{p-90000114.entry.js.map → p-600edff9.entry.js.map} +0 -0
  158. /package/dist/atomic/{p-f78bed94.entry.js.map → p-62afcf79.entry.js.map} +0 -0
  159. /package/dist/atomic/{p-257b6839.js.map → p-7b3c0d3f.js.map} +0 -0
  160. /package/dist/atomic/{p-85f165af.entry.js.map → p-8acb1466.entry.js.map} +0 -0
  161. /package/dist/atomic/{p-6606c417.entry.js.map → p-aa616502.entry.js.map} +0 -0
  162. /package/dist/atomic/{p-8de09498.entry.js.map → p-c66047b4.entry.js.map} +0 -0
  163. /package/dist/atomic/{p-618c6967.entry.js.map → p-d2d22ab2.entry.js.map} +0 -0
  164. /package/dist/atomic/{p-c41e6a99.entry.js.map → p-df1d50c8.entry.js.map} +0 -0
  165. /package/dist/atomic/{p-b5ed8ce2.entry.js.map → p-e3edbf14.entry.js.map} +0 -0
  166. /package/dist/atomic/{p-cc68642f.entry.js.map → p-f073a78d.entry.js.map} +0 -0
  167. /package/dist/types/components/common/facets/{stencil-facet-guard.d.ts → facet-guard.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-10-01T19:11:19",
2
+ "timestamp": "2025-10-01T20:22:26",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.20.0",
@@ -2081,6 +2081,723 @@
2081
2081
  "dependencies": [],
2082
2082
  "dependencyGraph": {}
2083
2083
  },
2084
+ {
2085
+ "filePath": "src/components/search/facets/atomic-facet/atomic-facet.tsx",
2086
+ "encapsulation": "shadow",
2087
+ "tag": "atomic-facet",
2088
+ "docs": "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).\nAn `atomic-facet` displays a facet of the results for the current query.",
2089
+ "docsTags": [
2090
+ {
2091
+ "name": "part",
2092
+ "text": "facet - The wrapper for the entire facet."
2093
+ },
2094
+ {
2095
+ "name": "part",
2096
+ "text": "placeholder - The placeholder shown before the first search is executed."
2097
+ },
2098
+ {
2099
+ "name": "part",
2100
+ "text": "label-button - The button that displays the label and allows to expand/collapse the facet."
2101
+ },
2102
+ {
2103
+ "name": "part",
2104
+ "text": "label-button-icon - The label button icon."
2105
+ },
2106
+ {
2107
+ "name": "part",
2108
+ "text": "clear-button - The button that resets the actively selected facet values."
2109
+ },
2110
+ {
2111
+ "name": "part",
2112
+ "text": "clear-button-icon - The clear button icon."
2113
+ },
2114
+ {
2115
+ "name": "part",
2116
+ "text": "search-wrapper - The search box wrapper."
2117
+ },
2118
+ {
2119
+ "name": "part",
2120
+ "text": "search-input - The search box input."
2121
+ },
2122
+ {
2123
+ "name": "part",
2124
+ "text": "search-icon - The search box submit button."
2125
+ },
2126
+ {
2127
+ "name": "part",
2128
+ "text": "search-clear-button - The button to clear the search box of input."
2129
+ },
2130
+ {
2131
+ "name": "part",
2132
+ "text": "more-matches - The label indicating there are more matches for the current facet search query."
2133
+ },
2134
+ {
2135
+ "name": "part",
2136
+ "text": "no-matches - The label indicating there are no matches for the current facet search query."
2137
+ },
2138
+ {
2139
+ "name": "part",
2140
+ "text": "matches-query - The highlighted query inside the matches labels."
2141
+ },
2142
+ {
2143
+ "name": "part",
2144
+ "text": "search-highlight - The highlighted query inside the facet values."
2145
+ },
2146
+ {
2147
+ "name": "part",
2148
+ "text": "values - The facet values container."
2149
+ },
2150
+ {
2151
+ "name": "part",
2152
+ "text": "value-label - The facet value label, common for all displays."
2153
+ },
2154
+ {
2155
+ "name": "part",
2156
+ "text": "value-count - The facet value count, common for all displays."
2157
+ },
2158
+ {
2159
+ "name": "part",
2160
+ "text": "value-checkbox - The facet value checkbox, available when display is 'checkbox'."
2161
+ },
2162
+ {
2163
+ "name": "part",
2164
+ "text": "value-checkbox-checked - The checked facet value checkbox, available when display is 'checkbox'."
2165
+ },
2166
+ {
2167
+ "name": "part",
2168
+ "text": "value-checkbox-label - The facet value checkbox clickable label, available when display is 'checkbox'."
2169
+ },
2170
+ {
2171
+ "name": "part",
2172
+ "text": "value-checkbox-icon - The facet value checkbox icon, available when display is 'checkbox'."
2173
+ },
2174
+ {
2175
+ "name": "part",
2176
+ "text": "value-link - The facet value when display is 'link'."
2177
+ },
2178
+ {
2179
+ "name": "part",
2180
+ "text": "value-link-selected - The selected facet value when display is 'link'."
2181
+ },
2182
+ {
2183
+ "name": "part",
2184
+ "text": "value-box - The facet value when display is 'box'."
2185
+ },
2186
+ {
2187
+ "name": "part",
2188
+ "text": "value-box-selected - The selected facet value when display is 'box'."
2189
+ },
2190
+ {
2191
+ "name": "part",
2192
+ "text": "value-exclude-button - The button to exclude a facet value, available when display is 'checkbox'."
2193
+ },
2194
+ {
2195
+ "name": "part",
2196
+ "text": "show-more - The show more results button."
2197
+ },
2198
+ {
2199
+ "name": "part",
2200
+ "text": "show-less - The show less results button."
2201
+ },
2202
+ {
2203
+ "name": "part",
2204
+ "text": "show-more-less-icon - The icons of the show more & show less buttons."
2205
+ }
2206
+ ],
2207
+ "usage": {},
2208
+ "props": [
2209
+ {
2210
+ "name": "allowedValues",
2211
+ "type": "string | string[]",
2212
+ "complexType": {
2213
+ "original": "string[] | string",
2214
+ "resolved": "string | string[]",
2215
+ "references": {}
2216
+ },
2217
+ "mutable": true,
2218
+ "attr": "allowed-values",
2219
+ "reflectToAttr": false,
2220
+ "docs": "Specifies an explicit list of `allowedValues` in the Search API request, as a JSON string representation.\n\nIf you specify a list of values for this option, the facet uses only these values (if they are available in\nthe current result set).\n\nExample:\n\nThe following facet only uses the `Contact`, `Account`, and `File` values of the `objecttype` field. Even if the\ncurrent result set contains other `objecttype` values, such as `Message`, or `Product`, the facet does not use\nthose other values.\n\n```html\n<atomic-facet field=\"objecttype\" allowed-values='[\"Contact\",\"Account\",\"File\"]'></atomic-facet>\n```\n\nThe maximum amount of allowed values is 25.\n\nDefault value is `undefined`, and the facet uses all available values for its `field` in the current result set.",
2221
+ "docsTags": [],
2222
+ "default": "'[]'",
2223
+ "values": [
2224
+ {
2225
+ "type": "string"
2226
+ },
2227
+ {
2228
+ "type": "string[]"
2229
+ }
2230
+ ],
2231
+ "optional": false,
2232
+ "required": false
2233
+ },
2234
+ {
2235
+ "name": "customSort",
2236
+ "type": "string | string[]",
2237
+ "complexType": {
2238
+ "original": "string[] | string",
2239
+ "resolved": "string | string[]",
2240
+ "references": {}
2241
+ },
2242
+ "mutable": true,
2243
+ "attr": "custom-sort",
2244
+ "reflectToAttr": false,
2245
+ "docs": "Identifies the facet values that must appear at the top, in this order.\nThis parameter can be used in conjunction with the `sortCriteria` parameter.\n\nFacet values not part of the `customSort` list will be sorted according to the `sortCriteria`.\n\nExample:\n\nThe following facet will sort the `Contact`, `Account`, and `File` values at the top of the list for the `objecttype` field.\n\nIf there are more than these 3 values available, the rest of the list will be sorted using `occurrences`.\n\n```html\n<atomic-facet field=\"objecttype\" custom-sort='[\"Contact\",\"Account\",\"File\"]' sort-criteria='occurrences'></atomic-facet>\n```\nThe maximum amount of custom sort values is 25.\n\nThe default value is `undefined`, and the facet values will be sorted using only the `sortCriteria`.",
2246
+ "docsTags": [],
2247
+ "default": "'[]'",
2248
+ "values": [
2249
+ {
2250
+ "type": "string"
2251
+ },
2252
+ {
2253
+ "type": "string[]"
2254
+ }
2255
+ ],
2256
+ "optional": false,
2257
+ "required": false
2258
+ },
2259
+ {
2260
+ "name": "dependsOn",
2261
+ "type": "{ [x: string]: string; }",
2262
+ "complexType": {
2263
+ "original": "Record<string, string>",
2264
+ "resolved": "{ [x: string]: string; }",
2265
+ "references": {
2266
+ "Record": {
2267
+ "location": "global",
2268
+ "id": "global::Record"
2269
+ }
2270
+ }
2271
+ },
2272
+ "mutable": false,
2273
+ "reflectToAttr": false,
2274
+ "docs": "The required facets and values for this facet to be displayed.\nExamples:\n```html\n<atomic-facet facet-id=\"abc\" field=\"objecttype\" ...></atomic-facet>\n\n<!-- To show the facet when any value is selected in the facet with id \"abc\": -->\n<atomic-facet\n depends-on-abc\n ...\n></atomic-facet>\n\n<!-- To show the facet when value \"doc\" is selected in the facet with id \"abc\": -->\n<atomic-facet\n depends-on-abc=\"doc\"\n ...\n></atomic-facet>\n```",
2275
+ "docsTags": [],
2276
+ "default": "{}",
2277
+ "values": [
2278
+ {
2279
+ "type": "{ [x: string]: string; }"
2280
+ }
2281
+ ],
2282
+ "optional": false,
2283
+ "required": false
2284
+ },
2285
+ {
2286
+ "name": "displayValuesAs",
2287
+ "type": "\"box\" | \"checkbox\" | \"link\"",
2288
+ "complexType": {
2289
+ "original": "'checkbox' | 'link' | 'box'",
2290
+ "resolved": "\"box\" | \"checkbox\" | \"link\"",
2291
+ "references": {}
2292
+ },
2293
+ "mutable": false,
2294
+ "attr": "display-values-as",
2295
+ "reflectToAttr": true,
2296
+ "docs": "Whether to display the facet values as checkboxes (multiple selection), links (single selection) or boxes (multiple selection).\nPossible values are 'checkbox', 'link', and 'box'.",
2297
+ "docsTags": [],
2298
+ "default": "'checkbox'",
2299
+ "values": [
2300
+ {
2301
+ "value": "box",
2302
+ "type": "string"
2303
+ },
2304
+ {
2305
+ "value": "checkbox",
2306
+ "type": "string"
2307
+ },
2308
+ {
2309
+ "value": "link",
2310
+ "type": "string"
2311
+ }
2312
+ ],
2313
+ "optional": false,
2314
+ "required": false
2315
+ },
2316
+ {
2317
+ "name": "enableExclusion",
2318
+ "type": "boolean",
2319
+ "complexType": {
2320
+ "original": "boolean",
2321
+ "resolved": "boolean",
2322
+ "references": {}
2323
+ },
2324
+ "mutable": false,
2325
+ "attr": "enable-exclusion",
2326
+ "reflectToAttr": true,
2327
+ "docs": "Whether to allow excluding values from the facet.",
2328
+ "docsTags": [],
2329
+ "default": "false",
2330
+ "values": [
2331
+ {
2332
+ "type": "boolean"
2333
+ }
2334
+ ],
2335
+ "optional": false,
2336
+ "required": false
2337
+ },
2338
+ {
2339
+ "name": "facetId",
2340
+ "type": "string | undefined",
2341
+ "complexType": {
2342
+ "original": "string",
2343
+ "resolved": "string | undefined",
2344
+ "references": {}
2345
+ },
2346
+ "mutable": true,
2347
+ "attr": "facet-id",
2348
+ "reflectToAttr": true,
2349
+ "docs": "Specifies a unique identifier for the facet.",
2350
+ "docsTags": [],
2351
+ "values": [
2352
+ {
2353
+ "type": "string"
2354
+ },
2355
+ {
2356
+ "type": "undefined"
2357
+ }
2358
+ ],
2359
+ "optional": true,
2360
+ "required": false
2361
+ },
2362
+ {
2363
+ "name": "field",
2364
+ "type": "string",
2365
+ "complexType": {
2366
+ "original": "string",
2367
+ "resolved": "string",
2368
+ "references": {}
2369
+ },
2370
+ "mutable": false,
2371
+ "attr": "field",
2372
+ "reflectToAttr": true,
2373
+ "docs": "The field whose values you want to display in the facet.",
2374
+ "docsTags": [],
2375
+ "values": [
2376
+ {
2377
+ "type": "string"
2378
+ }
2379
+ ],
2380
+ "optional": false,
2381
+ "required": true
2382
+ },
2383
+ {
2384
+ "name": "filterFacetCount",
2385
+ "type": "boolean",
2386
+ "complexType": {
2387
+ "original": "boolean",
2388
+ "resolved": "boolean",
2389
+ "references": {}
2390
+ },
2391
+ "mutable": false,
2392
+ "attr": "filter-facet-count",
2393
+ "reflectToAttr": true,
2394
+ "docs": "Whether to exclude the parents of folded results when estimating the result count for each facet value.\n\n\nNote: Resulting count is only an estimation, in some cases this value could be incorrect.",
2395
+ "docsTags": [],
2396
+ "default": "true",
2397
+ "values": [
2398
+ {
2399
+ "type": "boolean"
2400
+ }
2401
+ ],
2402
+ "optional": false,
2403
+ "required": false
2404
+ },
2405
+ {
2406
+ "name": "headingLevel",
2407
+ "type": "number",
2408
+ "complexType": {
2409
+ "original": "number",
2410
+ "resolved": "number",
2411
+ "references": {}
2412
+ },
2413
+ "mutable": false,
2414
+ "attr": "heading-level",
2415
+ "reflectToAttr": true,
2416
+ "docs": "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.",
2417
+ "docsTags": [],
2418
+ "default": "0",
2419
+ "values": [
2420
+ {
2421
+ "type": "number"
2422
+ }
2423
+ ],
2424
+ "optional": false,
2425
+ "required": false
2426
+ },
2427
+ {
2428
+ "name": "injectionDepth",
2429
+ "type": "number",
2430
+ "complexType": {
2431
+ "original": "number",
2432
+ "resolved": "number",
2433
+ "references": {}
2434
+ },
2435
+ "mutable": false,
2436
+ "attr": "injection-depth",
2437
+ "reflectToAttr": false,
2438
+ "docs": "The maximum number of results to scan in the index to ensure that the facet lists all potential facet values.\nNote: A high injectionDepth may negatively impact the facet request performance.\nMinimum: `0`\nDefault: `1000`",
2439
+ "docsTags": [],
2440
+ "default": "1000",
2441
+ "values": [
2442
+ {
2443
+ "type": "number"
2444
+ }
2445
+ ],
2446
+ "optional": false,
2447
+ "required": false
2448
+ },
2449
+ {
2450
+ "name": "isCollapsed",
2451
+ "type": "boolean",
2452
+ "complexType": {
2453
+ "original": "boolean",
2454
+ "resolved": "boolean",
2455
+ "references": {}
2456
+ },
2457
+ "mutable": true,
2458
+ "attr": "is-collapsed",
2459
+ "reflectToAttr": true,
2460
+ "docs": "Specifies whether the facet is collapsed. When the facet is the child of an `atomic-facet-manager` component, the facet manager controls this property.",
2461
+ "docsTags": [],
2462
+ "default": "false",
2463
+ "values": [
2464
+ {
2465
+ "type": "boolean"
2466
+ }
2467
+ ],
2468
+ "optional": false,
2469
+ "required": false
2470
+ },
2471
+ {
2472
+ "name": "label",
2473
+ "type": "string",
2474
+ "complexType": {
2475
+ "original": "string",
2476
+ "resolved": "string",
2477
+ "references": {}
2478
+ },
2479
+ "mutable": false,
2480
+ "attr": "label",
2481
+ "reflectToAttr": true,
2482
+ "docs": "The non-localized label for the facet.\nUsed in the `atomic-breadbox` component through the bindings store.",
2483
+ "docsTags": [],
2484
+ "default": "'no-label'",
2485
+ "values": [
2486
+ {
2487
+ "type": "string"
2488
+ }
2489
+ ],
2490
+ "optional": false,
2491
+ "required": false
2492
+ },
2493
+ {
2494
+ "name": "numberOfValues",
2495
+ "type": "number",
2496
+ "complexType": {
2497
+ "original": "number",
2498
+ "resolved": "number",
2499
+ "references": {}
2500
+ },
2501
+ "mutable": false,
2502
+ "attr": "number-of-values",
2503
+ "reflectToAttr": true,
2504
+ "docs": "The number of values to request for this facet.\nAlso determines the number of additional values to request each time more values are shown.",
2505
+ "docsTags": [],
2506
+ "default": "8",
2507
+ "values": [
2508
+ {
2509
+ "type": "number"
2510
+ }
2511
+ ],
2512
+ "optional": false,
2513
+ "required": false
2514
+ },
2515
+ {
2516
+ "name": "resultsMustMatch",
2517
+ "type": "\"allValues\" | \"atLeastOneValue\"",
2518
+ "complexType": {
2519
+ "original": "FacetResultsMustMatch",
2520
+ "resolved": "\"allValues\" | \"atLeastOneValue\"",
2521
+ "references": {
2522
+ "FacetResultsMustMatch": {
2523
+ "location": "import",
2524
+ "path": "@coveo/headless",
2525
+ "id": "../headless/dist/definitions/index.d.ts::FacetResultsMustMatch"
2526
+ }
2527
+ }
2528
+ },
2529
+ "mutable": false,
2530
+ "attr": "results-must-match",
2531
+ "reflectToAttr": true,
2532
+ "docs": "Specifies how a result must match the selected facet values.\nAllowed values:\n- `atLeastOneValue`: A result will match if at least one of the corresponding facet values is selected.\n- `allValues`: A result will match if all corresponding facet values are selected.",
2533
+ "docsTags": [],
2534
+ "default": "'atLeastOneValue'",
2535
+ "values": [
2536
+ {
2537
+ "value": "allValues",
2538
+ "type": "string"
2539
+ },
2540
+ {
2541
+ "value": "atLeastOneValue",
2542
+ "type": "string"
2543
+ }
2544
+ ],
2545
+ "optional": false,
2546
+ "required": false
2547
+ },
2548
+ {
2549
+ "name": "sortCriteria",
2550
+ "type": "\"alphanumeric\" | \"alphanumericDescending\" | \"alphanumericNatural\" | \"alphanumericNaturalDescending\" | \"automatic\" | \"occurrences\" | \"score\"",
2551
+ "complexType": {
2552
+ "original": "FacetSortCriterion",
2553
+ "resolved": "\"alphanumeric\" | \"alphanumericDescending\" | \"alphanumericNatural\" | \"alphanumericNaturalDescending\" | \"automatic\" | \"occurrences\" | \"score\"",
2554
+ "references": {
2555
+ "FacetSortCriterion": {
2556
+ "location": "import",
2557
+ "path": "@coveo/headless",
2558
+ "id": "../headless/dist/definitions/index.d.ts::FacetSortCriterion"
2559
+ }
2560
+ }
2561
+ },
2562
+ "mutable": false,
2563
+ "attr": "sort-criteria",
2564
+ "reflectToAttr": true,
2565
+ "docs": "The sort criterion to apply to the returned facet values.\nPossible values are 'score', 'alphanumeric', 'alphanumericDescending', 'occurrences', alphanumericNatural', 'alphanumericNaturalDescending' and 'automatic'.",
2566
+ "docsTags": [],
2567
+ "default": "'automatic'",
2568
+ "values": [
2569
+ {
2570
+ "value": "alphanumeric",
2571
+ "type": "string"
2572
+ },
2573
+ {
2574
+ "value": "alphanumericDescending",
2575
+ "type": "string"
2576
+ },
2577
+ {
2578
+ "value": "alphanumericNatural",
2579
+ "type": "string"
2580
+ },
2581
+ {
2582
+ "value": "alphanumericNaturalDescending",
2583
+ "type": "string"
2584
+ },
2585
+ {
2586
+ "value": "automatic",
2587
+ "type": "string"
2588
+ },
2589
+ {
2590
+ "value": "occurrences",
2591
+ "type": "string"
2592
+ },
2593
+ {
2594
+ "value": "score",
2595
+ "type": "string"
2596
+ }
2597
+ ],
2598
+ "optional": false,
2599
+ "required": false
2600
+ },
2601
+ {
2602
+ "name": "tabsExcluded",
2603
+ "type": "string | string[]",
2604
+ "complexType": {
2605
+ "original": "string[] | string",
2606
+ "resolved": "string | string[]",
2607
+ "references": {}
2608
+ },
2609
+ "mutable": true,
2610
+ "attr": "tabs-excluded",
2611
+ "reflectToAttr": true,
2612
+ "docs": "The tabs on which this facet must not be displayed. This property should not be used at the same time as `tabs-included`.\n\nSet this property as a stringified JSON array, e.g.,\n```html\n <atomic-facet tabs-excluded='[\"tabIDA\", \"tabIDB\"]'></atomic-facet>\n```\nIf 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.",
2613
+ "docsTags": [],
2614
+ "default": "'[]'",
2615
+ "values": [
2616
+ {
2617
+ "type": "string"
2618
+ },
2619
+ {
2620
+ "type": "string[]"
2621
+ }
2622
+ ],
2623
+ "optional": false,
2624
+ "required": false
2625
+ },
2626
+ {
2627
+ "name": "tabsIncluded",
2628
+ "type": "string | string[]",
2629
+ "complexType": {
2630
+ "original": "string[] | string",
2631
+ "resolved": "string | string[]",
2632
+ "references": {}
2633
+ },
2634
+ "mutable": true,
2635
+ "attr": "tabs-included",
2636
+ "reflectToAttr": true,
2637
+ "docs": "The tabs on which the facet can be displayed. This property should not be used at the same time as `tabs-excluded`.\n\nSet this property as a stringified JSON array, e.g.,\n```html\n <atomic-facet tabs-included='[\"tabIDA\", \"tabIDB\"]'></atomic-facet>\n```\nIf 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.",
2638
+ "docsTags": [],
2639
+ "default": "'[]'",
2640
+ "values": [
2641
+ {
2642
+ "type": "string"
2643
+ },
2644
+ {
2645
+ "type": "string[]"
2646
+ }
2647
+ ],
2648
+ "optional": false,
2649
+ "required": false
2650
+ },
2651
+ {
2652
+ "name": "withSearch",
2653
+ "type": "boolean",
2654
+ "complexType": {
2655
+ "original": "boolean",
2656
+ "resolved": "boolean",
2657
+ "references": {}
2658
+ },
2659
+ "mutable": false,
2660
+ "attr": "with-search",
2661
+ "reflectToAttr": true,
2662
+ "docs": "Whether this facet should contain a search box.",
2663
+ "docsTags": [],
2664
+ "default": "true",
2665
+ "values": [
2666
+ {
2667
+ "type": "boolean"
2668
+ }
2669
+ ],
2670
+ "optional": false,
2671
+ "required": false
2672
+ }
2673
+ ],
2674
+ "methods": [],
2675
+ "events": [],
2676
+ "listeners": [],
2677
+ "styles": [],
2678
+ "slots": [],
2679
+ "parts": [
2680
+ {
2681
+ "name": "clear-button",
2682
+ "docs": "The button that resets the actively selected facet values."
2683
+ },
2684
+ {
2685
+ "name": "clear-button-icon",
2686
+ "docs": "The clear button icon."
2687
+ },
2688
+ {
2689
+ "name": "facet",
2690
+ "docs": "The wrapper for the entire facet."
2691
+ },
2692
+ {
2693
+ "name": "label-button",
2694
+ "docs": "The button that displays the label and allows to expand/collapse the facet."
2695
+ },
2696
+ {
2697
+ "name": "label-button-icon",
2698
+ "docs": "The label button icon."
2699
+ },
2700
+ {
2701
+ "name": "matches-query",
2702
+ "docs": "The highlighted query inside the matches labels."
2703
+ },
2704
+ {
2705
+ "name": "more-matches",
2706
+ "docs": "The label indicating there are more matches for the current facet search query."
2707
+ },
2708
+ {
2709
+ "name": "no-matches",
2710
+ "docs": "The label indicating there are no matches for the current facet search query."
2711
+ },
2712
+ {
2713
+ "name": "placeholder",
2714
+ "docs": "The placeholder shown before the first search is executed."
2715
+ },
2716
+ {
2717
+ "name": "search-clear-button",
2718
+ "docs": "The button to clear the search box of input."
2719
+ },
2720
+ {
2721
+ "name": "search-highlight",
2722
+ "docs": "The highlighted query inside the facet values."
2723
+ },
2724
+ {
2725
+ "name": "search-icon",
2726
+ "docs": "The search box submit button."
2727
+ },
2728
+ {
2729
+ "name": "search-input",
2730
+ "docs": "The search box input."
2731
+ },
2732
+ {
2733
+ "name": "search-wrapper",
2734
+ "docs": "The search box wrapper."
2735
+ },
2736
+ {
2737
+ "name": "show-less",
2738
+ "docs": "The show less results button."
2739
+ },
2740
+ {
2741
+ "name": "show-more",
2742
+ "docs": "The show more results button."
2743
+ },
2744
+ {
2745
+ "name": "show-more-less-icon",
2746
+ "docs": "The icons of the show more & show less buttons."
2747
+ },
2748
+ {
2749
+ "name": "value-box",
2750
+ "docs": "The facet value when display is 'box'."
2751
+ },
2752
+ {
2753
+ "name": "value-box-selected",
2754
+ "docs": "The selected facet value when display is 'box'."
2755
+ },
2756
+ {
2757
+ "name": "value-checkbox",
2758
+ "docs": "The facet value checkbox, available when display is 'checkbox'."
2759
+ },
2760
+ {
2761
+ "name": "value-checkbox-checked",
2762
+ "docs": "The checked facet value checkbox, available when display is 'checkbox'."
2763
+ },
2764
+ {
2765
+ "name": "value-checkbox-icon",
2766
+ "docs": "The facet value checkbox icon, available when display is 'checkbox'."
2767
+ },
2768
+ {
2769
+ "name": "value-checkbox-label",
2770
+ "docs": "The facet value checkbox clickable label, available when display is 'checkbox'."
2771
+ },
2772
+ {
2773
+ "name": "value-count",
2774
+ "docs": "The facet value count, common for all displays."
2775
+ },
2776
+ {
2777
+ "name": "value-exclude-button",
2778
+ "docs": "The button to exclude a facet value, available when display is 'checkbox'."
2779
+ },
2780
+ {
2781
+ "name": "value-label",
2782
+ "docs": "The facet value label, common for all displays."
2783
+ },
2784
+ {
2785
+ "name": "value-link",
2786
+ "docs": "The facet value when display is 'link'."
2787
+ },
2788
+ {
2789
+ "name": "value-link-selected",
2790
+ "docs": "The selected facet value when display is 'link'."
2791
+ },
2792
+ {
2793
+ "name": "values",
2794
+ "docs": "The facet values container."
2795
+ }
2796
+ ],
2797
+ "dependents": [],
2798
+ "dependencies": [],
2799
+ "dependencyGraph": {}
2800
+ },
2084
2801
  {
2085
2802
  "filePath": "src/components/search/atomic-facet-manager/atomic-facet-manager.tsx",
2086
2803
  "encapsulation": "none",