@coveo/atomic 3.34.0-pre.3832d9ea2f → 3.34.0-pre.3fcc0e3b8f
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 +0 -4
- package/dist/atomic/components/_index.js +0 -2
- package/dist/atomic/components/analytics-config.js +1 -1
- package/dist/atomic/components/atomic-category-facet.js +17 -7
- package/dist/atomic/components/atomic-category-facet.js.map +1 -1
- package/dist/atomic/components/atomic-facet.js +1 -1
- 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-pager.js +38 -2
- package/dist/atomic/components/atomic-insight-pager.js.map +1 -1
- package/dist/atomic/components/atomic-numeric-facet.js +1 -1
- package/dist/atomic/components/atomic-query-error.js +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-refine-modal2.js +1 -1
- package/dist/atomic/components/atomic-refine-toggle.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-result-table-placeholder2.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-search-box.js +3 -3
- package/dist/atomic/components/atomic-smart-snippet-feedback-modal2.js +2 -2
- package/dist/atomic/components/atomic-sort-dropdown.js +2 -2
- package/dist/atomic/components/atomic-sort-expression.js +1 -1
- package/dist/atomic/components/atomic-tab-manager.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-breadbox/atomic-commerce-breadbox.js +17 -32
- package/dist/atomic/components/components/commerce/atomic-commerce-category-facet/atomic-commerce-category-facet.js +3 -0
- package/dist/atomic/components/components/commerce/atomic-commerce-pager/atomic-commerce-pager.js +25 -11
- package/dist/atomic/components/components/common/facets/category-facet/all-categories-button.js +3 -2
- package/dist/atomic/components/components/common/facets/category-facet/all-categories-localized-label.js +9 -0
- package/dist/atomic/components/components/common/facets/category-facet/search-value.js +6 -1
- package/dist/atomic/components/components/common/validate-props-controller/validate-props-controller.js +50 -0
- package/dist/atomic/components/components/search/atomic-pager/atomic-pager.js +188 -0
- package/dist/atomic/components/components/search/atomic-relevance-inspector/atomic-relevance-inspector.js +100 -0
- package/dist/atomic/components/components/search/atomic-search-interface/atomic-search-interface.js +17 -24
- package/dist/atomic/components/components/search/index.js +2 -0
- package/dist/atomic/components/components/search/lazy-index.js +2 -0
- package/dist/atomic/components/global/environment.js +1 -1
- package/dist/atomic/components/index.js.map +1 -1
- package/dist/atomic/components/utils/compare-utils.js +49 -0
- package/dist/atomic/{p-44ef70b6.entry.js → p-01511388.entry.js} +2 -2
- package/dist/atomic/{p-8acb1466.entry.js → p-0ed76e65.entry.js} +2 -2
- package/dist/atomic/{p-8103bad3.entry.js → p-2fb49fe8.entry.js} +2 -2
- package/dist/atomic/{p-74822069.entry.js → p-3549a469.entry.js} +2 -2
- package/dist/atomic/{p-6abd5b2b.entry.js → p-3e9db2b5.entry.js} +2 -2
- package/dist/atomic/{p-3b98377b.js → p-46048998.js} +2 -2
- package/dist/atomic/{p-4ae14373.entry.js → p-4e2f8a73.entry.js} +2 -2
- package/dist/atomic/p-4e2f8a73.entry.js.map +1 -0
- package/dist/atomic/{p-37a28729.entry.js → p-4f4c9a03.entry.js} +2 -2
- package/dist/atomic/{p-0402ee69.entry.js → p-59f043a0.entry.js} +2 -2
- package/dist/atomic/{p-679739d9.entry.js → p-59f36999.entry.js} +2 -2
- package/dist/atomic/{p-aa616502.entry.js → p-65dd9017.entry.js} +2 -2
- package/dist/atomic/{p-b7cd0342.entry.js → p-736f4d7e.entry.js} +2 -2
- package/dist/atomic/{p-f073a78d.entry.js → p-7e971d15.entry.js} +2 -2
- package/dist/atomic/{p-dfc385b7.entry.js → p-83d3857f.entry.js} +2 -2
- package/dist/atomic/{p-df1d50c8.entry.js → p-87f69e53.entry.js} +2 -2
- package/dist/atomic/{p-4b9a166f.entry.js → p-8bf425b0.entry.js} +2 -2
- package/dist/atomic/{p-d2d22ab2.entry.js → p-b2b9e83f.entry.js} +2 -2
- package/dist/atomic/{p-62afcf79.entry.js → p-b313058c.entry.js} +2 -2
- package/dist/atomic/{p-20019654.entry.js → p-bbfe727a.entry.js} +2 -2
- package/dist/atomic/{p-45c76d98.entry.js → p-bd3542d2.entry.js} +2 -2
- package/dist/atomic/{p-30411cd4.entry.js → p-be2a43f4.entry.js} +2 -2
- package/dist/atomic/{p-5e569db1.entry.js → p-cb348b2b.entry.js} +2 -2
- package/dist/atomic/{p-b4ad3036.entry.js → p-d211a422.entry.js} +2 -2
- package/dist/atomic/{p-e3edbf14.entry.js → p-d82b85ab.entry.js} +2 -2
- package/dist/atomic/{p-516b8165.entry.js → p-ea1b81fa.entry.js} +2 -2
- package/dist/atomic/p-fdcd187d.entry.js +2 -0
- package/dist/atomic/p-fdcd187d.entry.js.map +1 -0
- package/dist/cjs/_loader.cjs.js +1 -1
- package/dist/cjs/{analytics-config-c1c73100.js → analytics-config-68d5b9a3.js} +2 -2
- package/dist/cjs/{analytics-config-c1c73100.js.map → analytics-config-68d5b9a3.js.map} +1 -1
- package/dist/cjs/atomic-category-facet.cjs.entry.js +17 -7
- package/dist/cjs/atomic-category-facet.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-facet.cjs.entry.js +1 -1
- 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-interface.cjs.entry.js +1 -1
- package/dist/cjs/atomic-insight-pager.cjs.entry.js +41 -7
- package/dist/cjs/atomic-insight-pager.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-numeric-facet.cjs.entry.js +1 -1
- package/dist/cjs/atomic-query-error.cjs.entry.js +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-refine-modal.cjs.entry.js +1 -1
- package/dist/cjs/atomic-refine-toggle.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-result-placeholder_8.cjs.entry.js +1 -1
- package/dist/cjs/atomic-search-box-query-suggestions_2.cjs.entry.js +2 -2
- package/dist/cjs/atomic-search-box.cjs.entry.js +3 -3
- package/dist/cjs/atomic-smart-snippet-feedback-modal.cjs.entry.js +2 -2
- package/dist/cjs/atomic-sort-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/atomic-sort-expression.cjs.entry.js +1 -1
- package/dist/cjs/atomic-tab-manager.cjs.entry.js +1 -1
- package/dist/cjs/atomic.cjs.js +1 -1
- package/dist/cjs/index-757bc886.js +0 -8
- package/dist/cjs/version.cjs.js +1 -1
- package/dist/esm/_loader.js +1 -1
- package/dist/esm/{analytics-config-91e5bdcd.js → analytics-config-f19edb6a.js} +2 -2
- package/dist/esm/{analytics-config-91e5bdcd.js.map → analytics-config-f19edb6a.js.map} +1 -1
- package/dist/esm/atomic-category-facet.entry.js +17 -7
- package/dist/esm/atomic-category-facet.entry.js.map +1 -1
- package/dist/esm/atomic-facet.entry.js +1 -1
- 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-interface.entry.js +1 -1
- package/dist/esm/atomic-insight-pager.entry.js +38 -4
- package/dist/esm/atomic-insight-pager.entry.js.map +1 -1
- package/dist/esm/atomic-numeric-facet.entry.js +1 -1
- package/dist/esm/atomic-query-error.entry.js +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-refine-modal.entry.js +1 -1
- package/dist/esm/atomic-refine-toggle.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-result-placeholder_8.entry.js +1 -1
- package/dist/esm/atomic-search-box-query-suggestions_2.entry.js +2 -2
- package/dist/esm/atomic-search-box.entry.js +3 -3
- package/dist/esm/atomic-smart-snippet-feedback-modal.entry.js +2 -2
- package/dist/esm/atomic-sort-dropdown.entry.js +2 -2
- package/dist/esm/atomic-sort-expression.entry.js +1 -1
- package/dist/esm/atomic-tab-manager.entry.js +1 -1
- package/dist/esm/atomic.js +1 -1
- package/dist/esm/index-3f35faca.js +0 -8
- package/dist/esm/version.js +1 -1
- package/dist/types/components/commerce/atomic-commerce-breadbox/atomic-commerce-breadbox.d.ts +2 -3
- package/dist/types/components/commerce/atomic-commerce-pager/atomic-commerce-pager.d.ts +5 -3
- package/dist/types/components/common/facets/category-facet/all-categories-button.d.ts +2 -0
- package/dist/types/components/common/facets/category-facet/all-categories-localized-label.d.ts +6 -0
- package/dist/types/components/common/facets/category-facet/search-value.d.ts +1 -0
- package/dist/types/components/common/facets/category-facet/stencil-all-categories-button.d.ts +2 -0
- package/dist/types/components/common/facets/category-facet/stencil-search-value.d.ts +1 -0
- package/dist/types/components/common/facets/facet-search/facet-search-input-guard.d.ts +1 -1
- package/dist/types/components/common/no-items/guard.d.ts +1 -1
- package/dist/types/components/common/refine-modal/guard.d.ts +1 -1
- package/dist/types/components/common/sort/sort-guard.d.ts +1 -1
- package/dist/types/components/common/validate-props-controller/validate-props-controller.d.ts +32 -0
- package/dist/types/components/search/atomic-pager/atomic-pager.d.ts +28 -16
- package/dist/types/components/search/atomic-relevance-inspector/atomic-relevance-inspector.d.ts +18 -8
- package/dist/types/components/search/atomic-search-interface/atomic-search-interface.d.ts +6 -3
- package/dist/types/components/search/index.d.ts +2 -0
- package/dist/types/components.d.ts +0 -118
- package/dist/types/directives/hierarchical-path.d.ts +1 -1
- package/dist/types/utils/compare-utils.d.ts +9 -0
- package/docs/atomic-docs.json +1 -254
- package/package.json +1 -1
- package/dist/atomic/components/atomic-pager.d.ts +0 -11
- package/dist/atomic/components/atomic-pager.js +0 -134
- package/dist/atomic/components/atomic-pager.js.map +0 -1
- package/dist/atomic/components/atomic-relevance-inspector.d.ts +0 -11
- package/dist/atomic/components/atomic-relevance-inspector.js +0 -53
- package/dist/atomic/components/atomic-relevance-inspector.js.map +0 -1
- package/dist/atomic/components/stencil-pager-navigation.js +0 -42
- package/dist/atomic/components/stencil-pager-navigation.js.map +0 -1
- package/dist/atomic/p-1201bf3d.entry.js +0 -2
- package/dist/atomic/p-1201bf3d.entry.js.map +0 -1
- package/dist/atomic/p-145e3a1c.entry.js +0 -2
- package/dist/atomic/p-145e3a1c.entry.js.map +0 -1
- package/dist/atomic/p-211d7d6a.js +0 -2
- package/dist/atomic/p-211d7d6a.js.map +0 -1
- package/dist/atomic/p-4ae14373.entry.js.map +0 -1
- package/dist/atomic/p-d8028950.entry.js +0 -2
- package/dist/atomic/p-d8028950.entry.js.map +0 -1
- package/dist/cjs/atomic-pager.cjs.entry.js +0 -121
- package/dist/cjs/atomic-pager.cjs.entry.js.map +0 -1
- package/dist/cjs/atomic-relevance-inspector.cjs.entry.js +0 -38
- package/dist/cjs/atomic-relevance-inspector.cjs.entry.js.map +0 -1
- package/dist/cjs/stencil-pager-navigation-c20b8a95.js +0 -48
- package/dist/cjs/stencil-pager-navigation-c20b8a95.js.map +0 -1
- package/dist/esm/atomic-pager.entry.js +0 -117
- package/dist/esm/atomic-pager.entry.js.map +0 -1
- package/dist/esm/atomic-relevance-inspector.entry.js +0 -34
- package/dist/esm/atomic-relevance-inspector.entry.js.map +0 -1
- package/dist/esm/stencil-pager-navigation-7261a834.js +0 -42
- package/dist/esm/stencil-pager-navigation-7261a834.js.map +0 -1
- /package/dist/atomic/{p-44ef70b6.entry.js.map → p-01511388.entry.js.map} +0 -0
- /package/dist/atomic/{p-8acb1466.entry.js.map → p-0ed76e65.entry.js.map} +0 -0
- /package/dist/atomic/{p-8103bad3.entry.js.map → p-2fb49fe8.entry.js.map} +0 -0
- /package/dist/atomic/{p-74822069.entry.js.map → p-3549a469.entry.js.map} +0 -0
- /package/dist/atomic/{p-6abd5b2b.entry.js.map → p-3e9db2b5.entry.js.map} +0 -0
- /package/dist/atomic/{p-3b98377b.js.map → p-46048998.js.map} +0 -0
- /package/dist/atomic/{p-37a28729.entry.js.map → p-4f4c9a03.entry.js.map} +0 -0
- /package/dist/atomic/{p-0402ee69.entry.js.map → p-59f043a0.entry.js.map} +0 -0
- /package/dist/atomic/{p-679739d9.entry.js.map → p-59f36999.entry.js.map} +0 -0
- /package/dist/atomic/{p-aa616502.entry.js.map → p-65dd9017.entry.js.map} +0 -0
- /package/dist/atomic/{p-b7cd0342.entry.js.map → p-736f4d7e.entry.js.map} +0 -0
- /package/dist/atomic/{p-f073a78d.entry.js.map → p-7e971d15.entry.js.map} +0 -0
- /package/dist/atomic/{p-dfc385b7.entry.js.map → p-83d3857f.entry.js.map} +0 -0
- /package/dist/atomic/{p-df1d50c8.entry.js.map → p-87f69e53.entry.js.map} +0 -0
- /package/dist/atomic/{p-4b9a166f.entry.js.map → p-8bf425b0.entry.js.map} +0 -0
- /package/dist/atomic/{p-d2d22ab2.entry.js.map → p-b2b9e83f.entry.js.map} +0 -0
- /package/dist/atomic/{p-62afcf79.entry.js.map → p-b313058c.entry.js.map} +0 -0
- /package/dist/atomic/{p-20019654.entry.js.map → p-bbfe727a.entry.js.map} +0 -0
- /package/dist/atomic/{p-45c76d98.entry.js.map → p-bd3542d2.entry.js.map} +0 -0
- /package/dist/atomic/{p-30411cd4.entry.js.map → p-be2a43f4.entry.js.map} +0 -0
- /package/dist/atomic/{p-5e569db1.entry.js.map → p-cb348b2b.entry.js.map} +0 -0
- /package/dist/atomic/{p-b4ad3036.entry.js.map → p-d211a422.entry.js.map} +0 -0
- /package/dist/atomic/{p-e3edbf14.entry.js.map → p-d82b85ab.entry.js.map} +0 -0
- /package/dist/atomic/{p-516b8165.entry.js.map → p-ea1b81fa.entry.js.map} +0 -0
@@ -1,5 +1,5 @@
|
|
1
1
|
import { type Pagination, type PaginationState, type ProductListing, type Search } from '@coveo/headless/commerce';
|
2
|
-
import { LitElement } from 'lit';
|
2
|
+
import { LitElement, type PropertyValues } from 'lit';
|
3
3
|
import type { InitializableComponent } from "../../../decorators/types";
|
4
4
|
import type { CommerceBindings } from '../atomic-commerce-interface/atomic-commerce-interface';
|
5
5
|
/**
|
@@ -17,6 +17,8 @@ import type { CommerceBindings } from '../atomic-commerce-interface/atomic-comme
|
|
17
17
|
* @event atomic/scrollToTop - Emitted when the user clicks the next or previous button, or a page button.
|
18
18
|
*/
|
19
19
|
export declare class AtomicCommercePager extends LitElement implements InitializableComponent<CommerceBindings> {
|
20
|
+
private static propsSchema;
|
21
|
+
private radioGroupName;
|
20
22
|
bindings: CommerceBindings;
|
21
23
|
error: Error;
|
22
24
|
private isAppLoaded;
|
@@ -44,9 +46,9 @@ export declare class AtomicCommercePager extends LitElement implements Initializ
|
|
44
46
|
pager: Pagination;
|
45
47
|
listingOrSearch: ProductListing | Search;
|
46
48
|
initialize(): void;
|
47
|
-
|
48
|
-
private radioGroupName;
|
49
|
+
willUpdate(changedProperties: PropertyValues): void;
|
49
50
|
render(): import("lit-html").TemplateResult<1>;
|
51
|
+
private validateProps;
|
50
52
|
private focusOnFirstResultAndScrollToTop;
|
51
53
|
}
|
52
54
|
declare global {
|
@@ -3,6 +3,8 @@ import type { i18n } from 'i18next';
|
|
3
3
|
import type { FunctionalComponent } from "../../../../utils/functional-component-utils";
|
4
4
|
export interface CategoryFacetAllCategoryButtonProps {
|
5
5
|
i18n: i18n;
|
6
|
+
facetId?: string;
|
7
|
+
field: string;
|
6
8
|
onClick(): void;
|
7
9
|
}
|
8
10
|
export declare const renderCategoryFacetAllCategoryButton: FunctionalComponent<CategoryFacetAllCategoryButtonProps>;
|
@@ -6,7 +6,7 @@ export interface FacetSearchInputGuardProps {
|
|
6
6
|
numberOfDisplayedValues: number;
|
7
7
|
}
|
8
8
|
declare class FacetSearchInputGuardDirective extends Directive {
|
9
|
-
render({ canShowMoreValues, numberOfDisplayedValues, withSearch, }: FacetSearchInputGuardProps, content: () => unknown):
|
9
|
+
render({ canShowMoreValues, numberOfDisplayedValues, withSearch, }: FacetSearchInputGuardProps, content: () => unknown): import("lit-html").TemplateResult<1> | typeof nothing;
|
10
10
|
}
|
11
11
|
export declare const facetSearchInputGuard: (values_0: FacetSearchInputGuardProps, content: () => unknown) => import("lit-html/directive.js").DirectiveResult<typeof FacetSearchInputGuardDirective>;
|
12
12
|
export {};
|
@@ -6,7 +6,7 @@ interface NoItemsGuardProps {
|
|
6
6
|
hasResults: boolean;
|
7
7
|
}
|
8
8
|
declare class NoItemsGuardDirective extends Directive {
|
9
|
-
render({ firstSearchExecuted, isLoading, hasResults }: NoItemsGuardProps, content: () => unknown):
|
9
|
+
render({ firstSearchExecuted, isLoading, hasResults }: NoItemsGuardProps, content: () => unknown): import("lit-html").TemplateResult<1> | typeof nothing;
|
10
10
|
}
|
11
11
|
export declare const noItemsGuard: (values_0: NoItemsGuardProps, content: () => unknown) => import("lit-html/directive.js").DirectiveResult<typeof NoItemsGuardDirective>;
|
12
12
|
export {};
|
@@ -6,7 +6,7 @@ export interface RefineToggleGuardProps {
|
|
6
6
|
hasItems: boolean;
|
7
7
|
}
|
8
8
|
declare class RefineToggleGuardDirective extends Directive {
|
9
|
-
render({ hasError, firstRequestExecuted, hasItems }: RefineToggleGuardProps, content: () => unknown):
|
9
|
+
render({ hasError, firstRequestExecuted, hasItems }: RefineToggleGuardProps, content: () => unknown): import("lit-html").TemplateResult<1> | typeof nothing;
|
10
10
|
}
|
11
11
|
export declare const refineToggleGuard: (values_0: RefineToggleGuardProps, content: () => unknown) => import("lit-html/directive.js").DirectiveResult<typeof RefineToggleGuardDirective>;
|
12
12
|
export {};
|
@@ -5,5 +5,5 @@ interface SortGuardProps {
|
|
5
5
|
hasError: boolean;
|
6
6
|
isLoading: boolean;
|
7
7
|
}
|
8
|
-
export declare const sortGuard: ({ firstSearchExecuted, hasError, hasResults, isLoading }: SortGuardProps, sortTemplate: () => TemplateResult) => typeof nothing |
|
8
|
+
export declare const sortGuard: ({ firstSearchExecuted, hasError, hasResults, isLoading }: SortGuardProps, sortTemplate: () => TemplateResult) => TemplateResult | typeof nothing | typeof noChange;
|
9
9
|
export {};
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import type { Schema } from '@coveo/bueno';
|
2
|
+
import type { ReactiveController, ReactiveControllerHost } from 'lit';
|
3
|
+
/**
|
4
|
+
* A reactive controller that validates the props of a Lit component against a
|
5
|
+
* provided Bueno schema.
|
6
|
+
*
|
7
|
+
* It validates the props when the host is connected to the DOM and whenever
|
8
|
+
* the host updates, revalidating only if the props have changed since the last
|
9
|
+
* validation.
|
10
|
+
*
|
11
|
+
* If validation fails, the controller sets the `error` property on the host.
|
12
|
+
*/
|
13
|
+
export declare class ValidatePropsController<TProps extends Record<string, unknown>> implements ReactiveController {
|
14
|
+
private host;
|
15
|
+
private getProps;
|
16
|
+
private schema;
|
17
|
+
private currentProps?;
|
18
|
+
private previousProps?;
|
19
|
+
/**
|
20
|
+
* Creates a `ValidatePropsController`.
|
21
|
+
*
|
22
|
+
* @param host The host element.
|
23
|
+
* @param getProps A function that returns the current props to validate.
|
24
|
+
* @param schema The Bueno schema to validate the props against.
|
25
|
+
*/
|
26
|
+
constructor(host: ReactiveControllerHost & HTMLElement & {
|
27
|
+
error: Error;
|
28
|
+
}, getProps: () => TProps, schema: Schema<TProps>);
|
29
|
+
hostConnected(): void;
|
30
|
+
hostUpdate(): void;
|
31
|
+
private _validateProps;
|
32
|
+
}
|
@@ -1,33 +1,37 @@
|
|
1
|
-
import { Pager, PagerState, SearchStatus, SearchStatusState } from '@coveo/headless';
|
2
|
-
import {
|
3
|
-
import { Bindings } from
|
1
|
+
import { type Pager, type PagerState, type SearchStatus, type SearchStatusState } from '@coveo/headless';
|
2
|
+
import { LitElement, type PropertyValues } from 'lit';
|
3
|
+
import type { Bindings } from "../atomic-search-interface/interfaces";
|
4
|
+
import type { InitializableComponent } from "../../../decorators/types";
|
5
|
+
declare const AtomicPager_base: typeof LitElement;
|
4
6
|
/**
|
5
7
|
* The `atomic-pager` provides buttons that allow the end user to navigate through the different result pages.
|
6
8
|
*
|
7
9
|
* @part buttons - The list of the next/previous buttons and page-buttons.
|
8
10
|
* @part page-buttons - The list of page buttons.
|
9
|
-
* @part page-button - The page
|
11
|
+
* @part page-button - The individual page buttons.
|
10
12
|
* @part active-page-button - The active page button.
|
11
|
-
* @part previous-button - The previous button.
|
12
|
-
* @part next-button - The next button.
|
13
|
-
* @part previous-button-icon -
|
14
|
-
* @part next-button-icon -
|
13
|
+
* @part previous-button - The previous page button.
|
14
|
+
* @part next-button - The next page button.
|
15
|
+
* @part previous-button-icon - The icon displayed on the "previous page" button.
|
16
|
+
* @part next-button-icon - The icon displayed on the "next page" button.
|
17
|
+
*
|
18
|
+
* @event atomic/scrollToTop - Emitted when the user clicks any of the buttons rendered by the component.
|
15
19
|
*/
|
16
|
-
export declare class AtomicPager implements InitializableComponent {
|
20
|
+
export declare class AtomicPager extends AtomicPager_base implements InitializableComponent<Bindings> {
|
21
|
+
private static propsSchema;
|
17
22
|
bindings: Bindings;
|
23
|
+
error: Error;
|
24
|
+
private isAppLoaded;
|
18
25
|
pager: Pager;
|
19
26
|
searchStatus: SearchStatus;
|
20
27
|
pagerState: PagerState;
|
21
28
|
searchStatusState: SearchStatusState;
|
22
|
-
error: Error;
|
23
|
-
private isAppLoaded;
|
24
|
-
private scrollToTopEvent;
|
25
29
|
/**
|
26
|
-
*
|
30
|
+
* The maximum number of page buttons to display in the pager.
|
27
31
|
*/
|
28
32
|
numberOfPages: number;
|
29
33
|
/**
|
30
|
-
* The SVG icon to
|
34
|
+
* The SVG icon to render on the "previous page" button.
|
31
35
|
*
|
32
36
|
* - Use a value that starts with `http://`, `https://`, `./`, or `../`, to fetch and display an icon from a given location.
|
33
37
|
* - Use a value that starts with `assets://`, to display an icon from the Atomic package.
|
@@ -35,7 +39,7 @@ export declare class AtomicPager implements InitializableComponent {
|
|
35
39
|
*/
|
36
40
|
previousButtonIcon: string;
|
37
41
|
/**
|
38
|
-
* The SVG icon to
|
42
|
+
* The SVG icon to render on the "next page" button.
|
39
43
|
*
|
40
44
|
* - Use a value that starts with `http://`, `https://`, `./`, or `../`, to fetch and display an icon from a given location.
|
41
45
|
* - Use a value that starts with `assets://`, to display an icon from the Atomic package.
|
@@ -44,6 +48,14 @@ export declare class AtomicPager implements InitializableComponent {
|
|
44
48
|
nextButtonIcon: string;
|
45
49
|
private radioGroupName;
|
46
50
|
initialize(): void;
|
47
|
-
|
51
|
+
willUpdate(changedProperties: PropertyValues): void;
|
52
|
+
render(): import("lit-html").TemplateResult<1>;
|
53
|
+
private validateProps;
|
48
54
|
private focusOnFirstResultAndScrollToTop;
|
49
55
|
}
|
56
|
+
declare global {
|
57
|
+
interface HTMLElementTagNameMap {
|
58
|
+
'atomic-pager': AtomicPager;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
export {};
|
package/dist/types/components/search/atomic-relevance-inspector/atomic-relevance-inspector.d.ts
CHANGED
@@ -1,15 +1,25 @@
|
|
1
|
-
import {
|
2
|
-
import
|
1
|
+
import { LitElement } from 'lit';
|
2
|
+
import "../../common/atomic-modal/atomic-modal";
|
3
|
+
import type { Bindings } from "../atomic-search-interface/interfaces";
|
4
|
+
import type { InitializableComponent } from "../../../decorators/types.js";
|
3
5
|
/**
|
4
6
|
* The `atomic-relevance-inspector` component is used internally to offer insight on search page relevance, as well as information to help troubleshoot issues during development.
|
7
|
+
*
|
8
|
+
* @internal
|
5
9
|
*/
|
6
|
-
export declare class AtomicRelevanceInspector {
|
7
|
-
/**
|
8
|
-
* The Atomic interface bindings, namely the headless search engine and i18n instances.
|
9
|
-
*/
|
10
|
+
export declare class AtomicRelevanceInspector extends LitElement implements InitializableComponent<Bindings> {
|
10
11
|
bindings: Bindings;
|
12
|
+
error: Error;
|
11
13
|
open: boolean;
|
12
|
-
|
13
|
-
|
14
|
+
initialize: () => void;
|
15
|
+
disconnectedCallback(): void;
|
16
|
+
render(): import("lit-html").TemplateResult<1>;
|
17
|
+
private handleRelevanceInspectorDoubleClick;
|
18
|
+
private handleCloseRelevanceInspector;
|
14
19
|
private get adminHref();
|
15
20
|
}
|
21
|
+
declare global {
|
22
|
+
interface HTMLElementTagNameMap {
|
23
|
+
'atomic-relevance-inspector': AtomicRelevanceInspector;
|
24
|
+
}
|
25
|
+
}
|
@@ -3,6 +3,7 @@ import { type i18n } from 'i18next';
|
|
3
3
|
import { type CSSResultGroup, LitElement } from 'lit';
|
4
4
|
import type { CommonBindings, NonceBindings } from "../../common/interface/bindings";
|
5
5
|
import { type BaseAtomicInterface } from "../../common/interface/interface-controller";
|
6
|
+
import "../atomic-relevance-inspector/atomic-relevance-inspector";
|
6
7
|
import { type SearchStore } from './store';
|
7
8
|
import "../../common/atomic-modal/atomic-modal";
|
8
9
|
export type InitializationOptions = SearchEngineConfiguration;
|
@@ -16,7 +17,6 @@ declare const AtomicSearchInterface_base: typeof LitElement;
|
|
16
17
|
export declare class AtomicSearchInterface extends AtomicSearchInterface_base implements BaseAtomicInterface<SearchEngine> {
|
17
18
|
bindings: Bindings;
|
18
19
|
error: Error;
|
19
|
-
relevanceInspectorIsOpen: boolean;
|
20
20
|
urlManager: UrlManager;
|
21
21
|
searchStatus: SearchStatus;
|
22
22
|
private unsubscribeUrlManager;
|
@@ -24,6 +24,7 @@ export declare class AtomicSearchInterface extends AtomicSearchInterface_base im
|
|
24
24
|
private initialized;
|
25
25
|
private store;
|
26
26
|
private interfaceController;
|
27
|
+
private relevanceInspector?;
|
27
28
|
static styles: CSSResultGroup;
|
28
29
|
/**
|
29
30
|
* A list of non-default fields to include in the query results.
|
@@ -120,6 +121,9 @@ export declare class AtomicSearchInterface extends AtomicSearchInterface_base im
|
|
120
121
|
disconnectedCallback(): void;
|
121
122
|
private handleInitialization;
|
122
123
|
scrollToTop(): void;
|
124
|
+
/**
|
125
|
+
* @deprecated provided for backward compatibility. set the 'open' property directly on the relevance inspector instead.
|
126
|
+
*/
|
123
127
|
closeRelevanceInspector(): void;
|
124
128
|
/**
|
125
129
|
* Initializes the connection with the headless search engine using options for `accessToken` (required), `organizationId` (required), `environment` (defaults to `prod`), and `renewAccessToken`.
|
@@ -143,13 +147,12 @@ export declare class AtomicSearchInterface extends AtomicSearchInterface_base im
|
|
143
147
|
updateIconAssetsPath(): void;
|
144
148
|
private getBindings;
|
145
149
|
private initFieldsToInclude;
|
150
|
+
private updateFieldsToInclude;
|
146
151
|
registerFieldsToInclude(): void;
|
147
152
|
private initEngine;
|
148
153
|
private getSearchConfiguration;
|
149
154
|
private get fragment();
|
150
155
|
private initUrlManager;
|
151
|
-
private handleRelevanceInspectorDoubleClick;
|
152
|
-
private initRelevanceInspector;
|
153
156
|
private initSearchStatus;
|
154
157
|
private updateHash;
|
155
158
|
private onHashChange;
|
@@ -1,4 +1,6 @@
|
|
1
|
+
export { AtomicPager } from './atomic-pager/atomic-pager.js';
|
1
2
|
export { AtomicQuerySummary } from './atomic-query-summary/atomic-query-summary.js';
|
3
|
+
export { AtomicRelevanceInspector } from './atomic-relevance-inspector/atomic-relevance-inspector.js';
|
2
4
|
export { AtomicResultsPerPage } from './atomic-results-per-page/atomic-results-per-page.js';
|
3
5
|
export { AtomicSearchInterface } from './atomic-search-interface/atomic-search-interface.js';
|
4
6
|
export { AtomicSearchLayout } from './atomic-search-layout/atomic-search-layout.js';
|
@@ -20,7 +20,6 @@ import { InsightResultAttachToCaseEvent } from "./components/insight/atomic-insi
|
|
20
20
|
import { RecommendationEngine, InteractiveResult as RecsInteractiveResult, LogLevel as RecsLogLevel, Result as RecsResult, ResultTemplate as RecsResultTemplate, ResultTemplateCondition as RecsResultTemplateCondition } from "@coveo/headless/recommendation";
|
21
21
|
import { RecsInitializationOptions } from "./components/recommendations/atomic-recs-interface/atomic-recs-interface";
|
22
22
|
import { RecsStore } from "./components/recommendations/atomic-recs-interface/store";
|
23
|
-
import { Bindings } from "./components/search/atomic-search-interface/atomic-search-interface";
|
24
23
|
import { SearchStore } from "./components/search/atomic-search-interface/store";
|
25
24
|
import { RedirectionPayload } from "./components/common/search-box/redirection-payload";
|
26
25
|
import { AriaLabelGenerator } from "./components/search/search-box-suggestions/atomic-search-box-instant-results/atomic-search-box-instant-results";
|
@@ -40,7 +39,6 @@ export { InsightResultAttachToCaseEvent } from "./components/insight/atomic-insi
|
|
40
39
|
export { RecommendationEngine, InteractiveResult as RecsInteractiveResult, LogLevel as RecsLogLevel, Result as RecsResult, ResultTemplate as RecsResultTemplate, ResultTemplateCondition as RecsResultTemplateCondition } from "@coveo/headless/recommendation";
|
41
40
|
export { RecsInitializationOptions } from "./components/recommendations/atomic-recs-interface/atomic-recs-interface";
|
42
41
|
export { RecsStore } from "./components/recommendations/atomic-recs-interface/store";
|
43
|
-
export { Bindings } from "./components/search/atomic-search-interface/atomic-search-interface";
|
44
42
|
export { SearchStore } from "./components/search/atomic-search-interface/store";
|
45
43
|
export { RedirectionPayload } from "./components/common/search-box/redirection-payload";
|
46
44
|
export { AriaLabelGenerator } from "./components/search/search-box-suggestions/atomic-search-box-instant-results/atomic-search-box-instant-results";
|
@@ -1423,23 +1421,6 @@ export namespace Components {
|
|
1423
1421
|
*/
|
1424
1422
|
"start": number;
|
1425
1423
|
}
|
1426
|
-
/**
|
1427
|
-
* The `atomic-pager` provides buttons that allow the end user to navigate through the different result pages.
|
1428
|
-
*/
|
1429
|
-
interface AtomicPager {
|
1430
|
-
/**
|
1431
|
-
* The SVG icon to use to display the Next button. - Use a value that starts with `http://`, `https://`, `./`, or `../`, to fetch and display an icon from a given location. - Use a value that starts with `assets://`, to display an icon from the Atomic package. - Use a stringified SVG to display it directly.
|
1432
|
-
*/
|
1433
|
-
"nextButtonIcon": string;
|
1434
|
-
/**
|
1435
|
-
* Specifies how many page buttons to display in the pager.
|
1436
|
-
*/
|
1437
|
-
"numberOfPages": number;
|
1438
|
-
/**
|
1439
|
-
* The SVG icon to use to display the Previous button. - Use a value that starts with `http://`, `https://`, `./`, or `../`, to fetch and display an icon from a given location. - Use a value that starts with `assets://`, to display an icon from the Atomic package. - Use a stringified SVG to display it directly.
|
1440
|
-
*/
|
1441
|
-
"previousButtonIcon": string;
|
1442
|
-
}
|
1443
1424
|
/**
|
1444
1425
|
* The `atomic-popover` component displays any facet as a popover menu.
|
1445
1426
|
*/
|
@@ -1838,16 +1819,6 @@ export namespace Components {
|
|
1838
1819
|
*/
|
1839
1820
|
"collapseFacetsAfter": number;
|
1840
1821
|
}
|
1841
|
-
/**
|
1842
|
-
* The `atomic-relevance-inspector` component is used internally to offer insight on search page relevance, as well as information to help troubleshoot issues during development.
|
1843
|
-
*/
|
1844
|
-
interface AtomicRelevanceInspector {
|
1845
|
-
/**
|
1846
|
-
* The Atomic interface bindings, namely the headless search engine and i18n instances.
|
1847
|
-
*/
|
1848
|
-
"bindings": Bindings;
|
1849
|
-
"open": boolean;
|
1850
|
-
}
|
1851
1822
|
/**
|
1852
1823
|
* The `atomic-result` component is used internally by the `atomic-result-list` component.
|
1853
1824
|
*/
|
@@ -2857,18 +2828,10 @@ export interface AtomicIpxModalCustomEvent<T> extends CustomEvent<T> {
|
|
2857
2828
|
detail: T;
|
2858
2829
|
target: HTMLAtomicIpxModalElement;
|
2859
2830
|
}
|
2860
|
-
export interface AtomicPagerCustomEvent<T> extends CustomEvent<T> {
|
2861
|
-
detail: T;
|
2862
|
-
target: HTMLAtomicPagerElement;
|
2863
|
-
}
|
2864
2831
|
export interface AtomicQuickviewModalCustomEvent<T> extends CustomEvent<T> {
|
2865
2832
|
detail: T;
|
2866
2833
|
target: HTMLAtomicQuickviewModalElement;
|
2867
2834
|
}
|
2868
|
-
export interface AtomicRelevanceInspectorCustomEvent<T> extends CustomEvent<T> {
|
2869
|
-
detail: T;
|
2870
|
-
target: HTMLAtomicRelevanceInspectorElement;
|
2871
|
-
}
|
2872
2835
|
export interface AtomicSearchBoxCustomEvent<T> extends CustomEvent<T> {
|
2873
2836
|
detail: T;
|
2874
2837
|
target: HTMLAtomicSearchBoxElement;
|
@@ -3537,26 +3500,6 @@ declare global {
|
|
3537
3500
|
prototype: HTMLAtomicNumericRangeElement;
|
3538
3501
|
new (): HTMLAtomicNumericRangeElement;
|
3539
3502
|
};
|
3540
|
-
interface HTMLAtomicPagerElementEventMap {
|
3541
|
-
"atomic/scrollToTop": any;
|
3542
|
-
}
|
3543
|
-
/**
|
3544
|
-
* The `atomic-pager` provides buttons that allow the end user to navigate through the different result pages.
|
3545
|
-
*/
|
3546
|
-
interface HTMLAtomicPagerElement extends Components.AtomicPager, HTMLStencilElement {
|
3547
|
-
addEventListener<K extends keyof HTMLAtomicPagerElementEventMap>(type: K, listener: (this: HTMLAtomicPagerElement, ev: AtomicPagerCustomEvent<HTMLAtomicPagerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
3548
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
3549
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
3550
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
3551
|
-
removeEventListener<K extends keyof HTMLAtomicPagerElementEventMap>(type: K, listener: (this: HTMLAtomicPagerElement, ev: AtomicPagerCustomEvent<HTMLAtomicPagerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
3552
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
3553
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
3554
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
3555
|
-
}
|
3556
|
-
var HTMLAtomicPagerElement: {
|
3557
|
-
prototype: HTMLAtomicPagerElement;
|
3558
|
-
new (): HTMLAtomicPagerElement;
|
3559
|
-
};
|
3560
3503
|
/**
|
3561
3504
|
* The `atomic-popover` component displays any facet as a popover menu.
|
3562
3505
|
*/
|
@@ -3700,26 +3643,6 @@ declare global {
|
|
3700
3643
|
prototype: HTMLAtomicRefineToggleElement;
|
3701
3644
|
new (): HTMLAtomicRefineToggleElement;
|
3702
3645
|
};
|
3703
|
-
interface HTMLAtomicRelevanceInspectorElementEventMap {
|
3704
|
-
"atomic/relevanceInspector/close": any;
|
3705
|
-
}
|
3706
|
-
/**
|
3707
|
-
* The `atomic-relevance-inspector` component is used internally to offer insight on search page relevance, as well as information to help troubleshoot issues during development.
|
3708
|
-
*/
|
3709
|
-
interface HTMLAtomicRelevanceInspectorElement extends Components.AtomicRelevanceInspector, HTMLStencilElement {
|
3710
|
-
addEventListener<K extends keyof HTMLAtomicRelevanceInspectorElementEventMap>(type: K, listener: (this: HTMLAtomicRelevanceInspectorElement, ev: AtomicRelevanceInspectorCustomEvent<HTMLAtomicRelevanceInspectorElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
3711
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
3712
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
3713
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
3714
|
-
removeEventListener<K extends keyof HTMLAtomicRelevanceInspectorElementEventMap>(type: K, listener: (this: HTMLAtomicRelevanceInspectorElement, ev: AtomicRelevanceInspectorCustomEvent<HTMLAtomicRelevanceInspectorElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
3715
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
3716
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
3717
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
3718
|
-
}
|
3719
|
-
var HTMLAtomicRelevanceInspectorElement: {
|
3720
|
-
prototype: HTMLAtomicRelevanceInspectorElement;
|
3721
|
-
new (): HTMLAtomicRelevanceInspectorElement;
|
3722
|
-
};
|
3723
3646
|
/**
|
3724
3647
|
* The `atomic-result` component is used internally by the `atomic-result-list` component.
|
3725
3648
|
*/
|
@@ -4477,7 +4400,6 @@ declare global {
|
|
4477
4400
|
"atomic-notifications": HTMLAtomicNotificationsElement;
|
4478
4401
|
"atomic-numeric-facet": HTMLAtomicNumericFacetElement;
|
4479
4402
|
"atomic-numeric-range": HTMLAtomicNumericRangeElement;
|
4480
|
-
"atomic-pager": HTMLAtomicPagerElement;
|
4481
4403
|
"atomic-popover": HTMLAtomicPopoverElement;
|
4482
4404
|
"atomic-query-error": HTMLAtomicQueryErrorElement;
|
4483
4405
|
"atomic-quickview": HTMLAtomicQuickviewElement;
|
@@ -4491,7 +4413,6 @@ declare global {
|
|
4491
4413
|
"atomic-recs-result-template": HTMLAtomicRecsResultTemplateElement;
|
4492
4414
|
"atomic-refine-modal": HTMLAtomicRefineModalElement;
|
4493
4415
|
"atomic-refine-toggle": HTMLAtomicRefineToggleElement;
|
4494
|
-
"atomic-relevance-inspector": HTMLAtomicRelevanceInspectorElement;
|
4495
4416
|
"atomic-result": HTMLAtomicResultElement;
|
4496
4417
|
"atomic-result-badge": HTMLAtomicResultBadgeElement;
|
4497
4418
|
"atomic-result-children": HTMLAtomicResultChildrenElement;
|
@@ -5868,24 +5789,6 @@ declare namespace LocalJSX {
|
|
5868
5789
|
*/
|
5869
5790
|
"start": number;
|
5870
5791
|
}
|
5871
|
-
/**
|
5872
|
-
* The `atomic-pager` provides buttons that allow the end user to navigate through the different result pages.
|
5873
|
-
*/
|
5874
|
-
interface AtomicPager {
|
5875
|
-
/**
|
5876
|
-
* The SVG icon to use to display the Next button. - Use a value that starts with `http://`, `https://`, `./`, or `../`, to fetch and display an icon from a given location. - Use a value that starts with `assets://`, to display an icon from the Atomic package. - Use a stringified SVG to display it directly.
|
5877
|
-
*/
|
5878
|
-
"nextButtonIcon"?: string;
|
5879
|
-
/**
|
5880
|
-
* Specifies how many page buttons to display in the pager.
|
5881
|
-
*/
|
5882
|
-
"numberOfPages"?: number;
|
5883
|
-
"onAtomic/scrollToTop"?: (event: AtomicPagerCustomEvent<any>) => void;
|
5884
|
-
/**
|
5885
|
-
* The SVG icon to use to display the Previous button. - Use a value that starts with `http://`, `https://`, `./`, or `../`, to fetch and display an icon from a given location. - Use a value that starts with `assets://`, to display an icon from the Atomic package. - Use a stringified SVG to display it directly.
|
5886
|
-
*/
|
5887
|
-
"previousButtonIcon"?: string;
|
5888
|
-
}
|
5889
5792
|
/**
|
5890
5793
|
* The `atomic-popover` component displays any facet as a popover menu.
|
5891
5794
|
*/
|
@@ -6243,17 +6146,6 @@ declare namespace LocalJSX {
|
|
6243
6146
|
*/
|
6244
6147
|
"collapseFacetsAfter"?: number;
|
6245
6148
|
}
|
6246
|
-
/**
|
6247
|
-
* The `atomic-relevance-inspector` component is used internally to offer insight on search page relevance, as well as information to help troubleshoot issues during development.
|
6248
|
-
*/
|
6249
|
-
interface AtomicRelevanceInspector {
|
6250
|
-
/**
|
6251
|
-
* The Atomic interface bindings, namely the headless search engine and i18n instances.
|
6252
|
-
*/
|
6253
|
-
"bindings": Bindings;
|
6254
|
-
"onAtomic/relevanceInspector/close"?: (event: AtomicRelevanceInspectorCustomEvent<any>) => void;
|
6255
|
-
"open"?: boolean;
|
6256
|
-
}
|
6257
6149
|
/**
|
6258
6150
|
* The `atomic-result` component is used internally by the `atomic-result-list` component.
|
6259
6151
|
*/
|
@@ -7282,7 +7174,6 @@ declare namespace LocalJSX {
|
|
7282
7174
|
"atomic-notifications": AtomicNotifications;
|
7283
7175
|
"atomic-numeric-facet": AtomicNumericFacet;
|
7284
7176
|
"atomic-numeric-range": AtomicNumericRange;
|
7285
|
-
"atomic-pager": AtomicPager;
|
7286
7177
|
"atomic-popover": AtomicPopover;
|
7287
7178
|
"atomic-query-error": AtomicQueryError;
|
7288
7179
|
"atomic-quickview": AtomicQuickview;
|
@@ -7296,7 +7187,6 @@ declare namespace LocalJSX {
|
|
7296
7187
|
"atomic-recs-result-template": AtomicRecsResultTemplate;
|
7297
7188
|
"atomic-refine-modal": AtomicRefineModal;
|
7298
7189
|
"atomic-refine-toggle": AtomicRefineToggle;
|
7299
|
-
"atomic-relevance-inspector": AtomicRelevanceInspector;
|
7300
7190
|
"atomic-result": AtomicResult;
|
7301
7191
|
"atomic-result-badge": AtomicResultBadge;
|
7302
7192
|
"atomic-result-children": AtomicResultChildren;
|
@@ -7547,10 +7437,6 @@ declare module "@stencil/core" {
|
|
7547
7437
|
* The `atomic-numeric-range` component defines the range of an `atomic-numeric-facet`, and therefore must be defined within an `atomic-numeric-facet` component.
|
7548
7438
|
*/
|
7549
7439
|
"atomic-numeric-range": LocalJSX.AtomicNumericRange & JSXBase.HTMLAttributes<HTMLAtomicNumericRangeElement>;
|
7550
|
-
/**
|
7551
|
-
* The `atomic-pager` provides buttons that allow the end user to navigate through the different result pages.
|
7552
|
-
*/
|
7553
|
-
"atomic-pager": LocalJSX.AtomicPager & JSXBase.HTMLAttributes<HTMLAtomicPagerElement>;
|
7554
7440
|
/**
|
7555
7441
|
* The `atomic-popover` component displays any facet as a popover menu.
|
7556
7442
|
*/
|
@@ -7617,10 +7503,6 @@ declare module "@stencil/core" {
|
|
7617
7503
|
* When this component is added to the `atomic-search-interface`, an `atomic-refine-modal` component is automatically created.
|
7618
7504
|
*/
|
7619
7505
|
"atomic-refine-toggle": LocalJSX.AtomicRefineToggle & JSXBase.HTMLAttributes<HTMLAtomicRefineToggleElement>;
|
7620
|
-
/**
|
7621
|
-
* The `atomic-relevance-inspector` component is used internally to offer insight on search page relevance, as well as information to help troubleshoot issues during development.
|
7622
|
-
*/
|
7623
|
-
"atomic-relevance-inspector": LocalJSX.AtomicRelevanceInspector & JSXBase.HTMLAttributes<HTMLAtomicRelevanceInspectorElement>;
|
7624
7506
|
/**
|
7625
7507
|
* The `atomic-result` component is used internally by the `atomic-result-list` component.
|
7626
7508
|
*/
|
@@ -12,7 +12,7 @@ export interface HierarchicalPathProps {
|
|
12
12
|
}
|
13
13
|
declare class HierarchicalPathDirective extends Directive {
|
14
14
|
constructor(partInfo: PartInfo);
|
15
|
-
render(props: HierarchicalPathProps): string | TemplateResult<1>[]
|
15
|
+
render(props: HierarchicalPathProps): string | TemplateResult | TemplateResult<1>[];
|
16
16
|
private getEllipsedPath;
|
17
17
|
}
|
18
18
|
export declare const hierarchicalPath: (props: HierarchicalPathProps) => import("lit-html/directive.js").DirectiveResult<typeof HierarchicalPathDirective>;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* Performs a deep equality comparison between two values.
|
3
|
+
* Handles primitives, null/undefined, arrays, and objects.
|
4
|
+
*
|
5
|
+
* @param a - First value to compare
|
6
|
+
* @param b - Second value to compare
|
7
|
+
* @returns true if values are deeply equal, false otherwise
|
8
|
+
*/
|
9
|
+
export declare function deepEqual(a: unknown, b: unknown): boolean;
|