@coveo/atomic 3.33.4-pre.76ebc9bb50 → 3.33.4-pre.80b4cd73f4
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/components/analytics-config.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-interface/atomic-commerce-interface.js +97 -88
- package/dist/atomic/components/global/environment.js +1 -1
- package/dist/atomic/{p-34e1e582.entry.js → p-0b9c7e77.entry.js} +2 -2
- package/dist/atomic/{p-590c59b8.entry.js → p-a4e1fcec.entry.js} +2 -2
- package/dist/atomic/{p-b34e8b7d.entry.js → p-a8b6988b.entry.js} +2 -2
- package/dist/atomic/{p-d7d3e3ab.js → p-fd053b30.js} +2 -2
- package/dist/cjs/{analytics-config-25ab4c49.js → analytics-config-49a2eddd.js} +2 -2
- package/dist/cjs/{analytics-config-25ab4c49.js.map → analytics-config-49a2eddd.js.map} +1 -1
- package/dist/cjs/atomic-insight-interface.cjs.entry.js +1 -1
- package/dist/cjs/atomic-recs-interface.cjs.entry.js +1 -1
- package/dist/cjs/atomic-search-interface.cjs.entry.js +1 -1
- package/dist/cjs/version.cjs.js +2 -2
- package/dist/esm/{analytics-config-261d6113.js → analytics-config-f1a02eff.js} +2 -2
- package/dist/esm/{analytics-config-261d6113.js.map → analytics-config-f1a02eff.js.map} +1 -1
- package/dist/esm/atomic-insight-interface.entry.js +1 -1
- package/dist/esm/atomic-recs-interface.entry.js +1 -1
- package/dist/esm/atomic-search-interface.entry.js +1 -1
- package/dist/esm/version.js +2 -2
- package/dist/types/components/commerce/atomic-commerce-interface/atomic-commerce-interface.d.ts +20 -20
- package/docs/atomic-docs.json +1 -1
- package/package.json +3 -3
- /package/dist/atomic/{p-34e1e582.entry.js.map → p-0b9c7e77.entry.js.map} +0 -0
- /package/dist/atomic/{p-590c59b8.entry.js.map → p-a4e1fcec.entry.js.map} +0 -0
- /package/dist/atomic/{p-b34e8b7d.entry.js.map → p-a8b6988b.entry.js.map} +0 -0
- /package/dist/atomic/{p-d7d3e3ab.js.map → p-fd053b30.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, s as setNonce, h, H as Host, g as getElement } from './index-3f35faca.js';
|
|
2
2
|
import { m as markParentAsReady } from './init-queue-fbe942c3.js';
|
|
3
3
|
import { buildResultsPerPage, loadFieldActions, buildInsightEngine } from '@coveo/headless/insight';
|
|
4
|
-
import { g as getNextAnalyticsConfig, a as augmentWithExternalMiddleware, b as augmentAnalyticsWithAtomicVersion, C as CommonAtomicInterfaceHelper, i as instance } from './analytics-config-
|
|
4
|
+
import { g as getNextAnalyticsConfig, a as augmentWithExternalMiddleware, b as augmentAnalyticsWithAtomicVersion, C as CommonAtomicInterfaceHelper, i as instance } from './analytics-config-f1a02eff.js';
|
|
5
5
|
import { A as ArrayProp } from './props-utils-76e19fa7.js';
|
|
6
6
|
import { D as DEFAULT_MOBILE_BREAKPOINT } from './replace-breakpoint-213367f8.js';
|
|
7
7
|
import { u as unsetLoadingFlag, s as setLoadingFlag, r as registerFacet, g as getFacetElements, w as waitUntilAppLoaded, a as createBaseStore } from './store-e14e2958.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, s as setNonce, h, g as getElement } from './index-3f35faca.js';
|
|
2
2
|
import { m as markParentAsReady } from './init-queue-fbe942c3.js';
|
|
3
3
|
import { loadRecommendationActions, loadSearchConfigurationActions, EcommerceDefaultFieldsToInclude, loadFieldActions, buildRecommendationEngine } from '@coveo/headless/recommendation';
|
|
4
|
-
import { g as getNextAnalyticsConfig, c as augmentAnalyticsConfigWithDocument, d as augmentAnalyticsConfigWithAtomicVersion, a as augmentWithExternalMiddleware, b as augmentAnalyticsWithAtomicVersion, C as CommonAtomicInterfaceHelper, i as instance, m as mismatchedInterfaceAndEnginePropError } from './analytics-config-
|
|
4
|
+
import { g as getNextAnalyticsConfig, c as augmentAnalyticsConfigWithDocument, d as augmentAnalyticsConfigWithAtomicVersion, a as augmentWithExternalMiddleware, b as augmentAnalyticsWithAtomicVersion, C as CommonAtomicInterfaceHelper, i as instance, m as mismatchedInterfaceAndEnginePropError } from './analytics-config-f1a02eff.js';
|
|
5
5
|
import { A as ArrayProp } from './props-utils-76e19fa7.js';
|
|
6
6
|
import { u as unsetLoadingFlag, s as setLoadingFlag, a as createBaseStore } from './store-e14e2958.js';
|
|
7
7
|
import './dayjs.min-d04628c6.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, s as setNonce, h, g as getElement } from './index-3f35faca.js';
|
|
2
2
|
import { m as markParentAsReady } from './init-queue-fbe942c3.js';
|
|
3
3
|
import { loadSearchConfigurationActions, loadQueryActions, EcommerceDefaultFieldsToInclude, loadFieldActions, buildSearchEngine, buildUrlManager, buildSearchStatus } from '@coveo/headless';
|
|
4
|
-
import { g as getNextAnalyticsConfig, d as augmentAnalyticsConfigWithAtomicVersion, c as augmentAnalyticsConfigWithDocument, a as augmentWithExternalMiddleware, b as augmentAnalyticsWithAtomicVersion, C as CommonAtomicInterfaceHelper, i as instance, m as mismatchedInterfaceAndEnginePropError } from './analytics-config-
|
|
4
|
+
import { g as getNextAnalyticsConfig, d as augmentAnalyticsConfigWithAtomicVersion, c as augmentAnalyticsConfigWithDocument, a as augmentWithExternalMiddleware, b as augmentAnalyticsWithAtomicVersion, C as CommonAtomicInterfaceHelper, i as instance, m as mismatchedInterfaceAndEnginePropError } from './analytics-config-f1a02eff.js';
|
|
5
5
|
import { a as StorageItems, S as SafeStorage } from './local-storage-utils-410269e6.js';
|
|
6
6
|
import { A as ArrayProp } from './props-utils-76e19fa7.js';
|
|
7
7
|
import { D as DEFAULT_MOBILE_BREAKPOINT } from './replace-breakpoint-213367f8.js';
|
package/dist/esm/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const headlessVersion = '
|
|
2
|
-
export const atomicVersion = '3.33.4-pre.
|
|
1
|
+
export const headlessVersion = '3.30.0-pre.80b4cd73f4';
|
|
2
|
+
export const atomicVersion = '3.33.4-pre.80b4cd73f4';
|
package/dist/types/components/commerce/atomic-commerce-interface/atomic-commerce-interface.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type CommerceEngine, type CommerceEngineConfiguration, type Context, type LogLevel, type ProductListingSummaryState, type SearchSummaryState, type Summary, type UrlManager } from '@coveo/headless/commerce';
|
|
1
|
+
import { type CommerceEngine, type CommerceEngineConfiguration, type Context, type LogLevel, type ProductListing, type ProductListingSummaryState, type Search, type SearchSummaryState, type Summary, type UrlManager } from '@coveo/headless/commerce';
|
|
2
2
|
import { type i18n } from 'i18next';
|
|
3
3
|
import { type CSSResultGroup, LitElement } from 'lit';
|
|
4
4
|
import type { CommonBindings } from '../../common/interface/bindings';
|
|
@@ -16,16 +16,17 @@ declare const AtomicCommerceInterface_base: typeof LitElement;
|
|
|
16
16
|
* @slot default - The default slot where you can add child components to the interface.
|
|
17
17
|
*/
|
|
18
18
|
export declare class AtomicCommerceInterface extends AtomicCommerceInterface_base implements BaseAtomicInterface<CommerceEngine> {
|
|
19
|
-
|
|
20
|
-
private searchOrListing;
|
|
21
|
-
summary: Summary<SearchSummaryState | ProductListingSummaryState>;
|
|
19
|
+
bindings: CommerceBindings;
|
|
22
20
|
context: Context;
|
|
21
|
+
error: Error;
|
|
22
|
+
summary: Summary<SearchSummaryState | ProductListingSummaryState>;
|
|
23
|
+
urlManager: UrlManager;
|
|
24
|
+
searchOrListing: Search | ProductListing;
|
|
23
25
|
private unsubscribeUrlManager?;
|
|
24
26
|
private unsubscribeSummary?;
|
|
25
27
|
private initialized;
|
|
26
28
|
private store;
|
|
27
29
|
private interfaceController;
|
|
28
|
-
error: Error;
|
|
29
30
|
static styles: CSSResultGroup;
|
|
30
31
|
/**
|
|
31
32
|
* The type of the interface.
|
|
@@ -85,13 +86,6 @@ export declare class AtomicCommerceInterface extends AtomicCommerceInterface_bas
|
|
|
85
86
|
private i18Initialized;
|
|
86
87
|
constructor();
|
|
87
88
|
connectedCallback(): void;
|
|
88
|
-
toggleAnalytics(): void;
|
|
89
|
-
updateLanguage(): void;
|
|
90
|
-
updateIconAssetsPath(): void;
|
|
91
|
-
disconnectedCallback(): void;
|
|
92
|
-
private updateMobileBreakpoint;
|
|
93
|
-
private handleInitialization;
|
|
94
|
-
scrollToTop(): void;
|
|
95
89
|
/**
|
|
96
90
|
* Initializes the connection with the headless commerce engine using the specified options.
|
|
97
91
|
*/
|
|
@@ -106,19 +100,25 @@ export declare class AtomicCommerceInterface extends AtomicCommerceInterface_bas
|
|
|
106
100
|
* Executes the first request after initializing connection to the headless commerce engine.
|
|
107
101
|
*/
|
|
108
102
|
executeFirstRequest(): Promise<void>;
|
|
109
|
-
|
|
110
|
-
|
|
103
|
+
toggleAnalytics(): void;
|
|
104
|
+
updateIconAssetsPath(): void;
|
|
105
|
+
updateLanguage(): void;
|
|
106
|
+
disconnectedCallback(): void;
|
|
107
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
108
|
+
private get fragment();
|
|
111
109
|
private getBindings;
|
|
110
|
+
private handleInitialization;
|
|
111
|
+
private initContext;
|
|
112
112
|
private initEngine;
|
|
113
|
-
private
|
|
114
|
-
private initUrlManager;
|
|
113
|
+
private initLanguage;
|
|
115
114
|
private initRequestStatus;
|
|
116
115
|
private initSummary;
|
|
117
|
-
private
|
|
118
|
-
private
|
|
119
|
-
private updateHash;
|
|
116
|
+
private initUrlManager;
|
|
117
|
+
private internalInitialization;
|
|
120
118
|
private onHashChange;
|
|
121
|
-
|
|
119
|
+
scrollToTop(): void;
|
|
120
|
+
private updateHash;
|
|
121
|
+
private updateMobileBreakpoint;
|
|
122
122
|
}
|
|
123
123
|
declare global {
|
|
124
124
|
interface HTMLElementTagNameMap {
|
package/docs/atomic-docs.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coveo/atomic",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.33.4-pre.
|
|
4
|
+
"version": "3.33.4-pre.80b4cd73f4",
|
|
5
5
|
"description": "A web-component library for building modern UIs interfacing with the Coveo platform",
|
|
6
6
|
"homepage": "https://docs.coveo.com/en/atomic/latest/",
|
|
7
7
|
"repository": {
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
},
|
|
82
82
|
"dependencies": {
|
|
83
83
|
"@coveo/bueno": "1.1.0",
|
|
84
|
-
"@coveo/headless": "
|
|
84
|
+
"@coveo/headless": "3.30.0-pre.80b4cd73f4",
|
|
85
85
|
"@lit/context": "1.1.6",
|
|
86
86
|
"@open-wc/lit-helpers": "0.7.0",
|
|
87
87
|
"@popperjs/core": "2.11.8",
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
},
|
|
165
165
|
"peerDependencies": {
|
|
166
166
|
"@coveo/bueno": "1.1.0",
|
|
167
|
-
"@coveo/headless": "
|
|
167
|
+
"@coveo/headless": "3.30.0-pre.80b4cd73f4",
|
|
168
168
|
"typescript": ">=5.0.0"
|
|
169
169
|
},
|
|
170
170
|
"peerDependenciesMeta": {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|