@envive-ai/react-hooks 0.1.2 → 0.1.3
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/adapters/amplitude/index.cjs +13 -13
- package/dist/adapters/amplitude/index.js +10 -10
- package/dist/{api-B2euFL-5.cjs → api-BtzLHcfU.cjs} +27 -27
- package/dist/{api-XRr_lAG6.js → api-kpPTZhV9.js} +27 -27
- package/dist/application/config/index.cjs +1 -1
- package/dist/application/config/index.js +1 -1
- package/dist/application/models/graphql/index.cjs +12 -12
- package/dist/application/models/graphql/index.js +10 -10
- package/dist/application/models/guards/api/index.cjs +2 -2
- package/dist/application/models/guards/api/index.js +2 -2
- package/dist/application/models/index.cjs +54 -54
- package/dist/application/models/index.js +10 -10
- package/dist/application/models/utilityTypes/index.cjs +1 -1
- package/dist/application/models/utilityTypes/index.js +1 -1
- package/dist/application/models/variantInfo/index.cjs +1 -1
- package/dist/application/models/variantInfo/index.js +1 -1
- package/dist/application/service/customerService/index.cjs +2 -2
- package/dist/application/service/customerService/index.js +2 -2
- package/dist/application/service/index.cjs +82 -82
- package/dist/application/service/index.d.cts +1 -1
- package/dist/application/service/index.d.ts +1 -1
- package/dist/application/service/index.js +16 -16
- package/dist/application/utils/index.cjs +37 -37
- package/dist/application/utils/index.d.ts +1 -1
- package/dist/application/utils/index.js +10 -10
- package/dist/atoms/app/index.cjs +16 -16
- package/dist/atoms/app/index.d.cts +1 -1
- package/dist/atoms/app/index.d.ts +2 -2
- package/dist/atoms/app/index.js +10 -10
- package/dist/atoms/atomStore/index.cjs +1 -1
- package/dist/atoms/atomStore/index.js +1 -1
- package/dist/atoms/chat/index.cjs +40 -40
- package/dist/atoms/chat/index.d.cts +26 -26
- package/dist/atoms/chat/index.d.ts +28 -28
- package/dist/atoms/chat/index.js +10 -10
- package/dist/atoms/globalSearch/index.d.cts +5 -5
- package/dist/atoms/globalSearch/index.d.ts +5 -5
- package/dist/atoms/org/index.cjs +33 -33
- package/dist/atoms/org/index.d.cts +26 -26
- package/dist/atoms/org/index.d.ts +26 -26
- package/dist/atoms/org/index.js +11 -11
- package/dist/atoms/search/index.cjs +12 -12
- package/dist/atoms/search/index.d.cts +1 -1
- package/dist/atoms/search/index.d.ts +1 -1
- package/dist/atoms/search/index.js +12 -12
- package/dist/{bandolier-oMkFDJMF.cjs → bandolier-CQrxBHsk.cjs} +37 -37
- package/dist/{bandolier-C7PAIw02.js → bandolier-Di9DpZ8e.js} +12 -12
- package/dist/{carpe-C0ccKuR9.cjs → carpe-3NJOR-Rj.cjs} +23 -23
- package/dist/{carpe-DFc78_lJ.js → carpe-DmWKaIQq.js} +12 -12
- package/dist/{cdnService-DvDSpfVJ.js → cdnService-BNreZjqy.js} +1 -1
- package/dist/{cdnService-dJU3sHpF.cjs → cdnService-vLxePdrU.cjs} +1 -1
- package/dist/{api-CxGedDxj.cjs → chat-CCQMmhc1.cjs} +2807 -2807
- package/dist/{api-NJEaveju.js → chat-H6YcCS4I.js} +2774 -2774
- package/dist/contexts/index.cjs +19 -19
- package/dist/contexts/index.d.cts +3 -3
- package/dist/contexts/index.js +14 -14
- package/dist/{coterie-Cp9FAJTQ.cjs → coterie-D0UFsFC5.cjs} +17 -17
- package/dist/{coterie-BGT8hqFR.js → coterie-JblRmIZL.js} +12 -12
- package/dist/{customerService-CUyZzowx.js → customerService-C4wc0glQ.js} +1 -1
- package/dist/{customerService-DqPw_XKf.cjs → customerService-zsDlp7g2.cjs} +1 -1
- package/dist/default-C5ZTV8HA.cjs +4 -0
- package/dist/{default-wf_IORgo.js → default-DPv8m-eQ.js} +1 -1
- package/dist/{default-BAXPatxf.cjs → default-DRKBosow.cjs} +1 -1
- package/dist/default-ao0vRl0W.js +4 -0
- package/dist/{dreamlandBaby-DZvM81LQ.js → dreamlandBaby-CyS8oW8X.js} +12 -12
- package/dist/{dreamlandBaby-BzuMvUFS.cjs → dreamlandBaby-y7kSvwH2.cjs} +19 -19
- package/dist/events/index.cjs +1 -1
- package/dist/events/index.js +1 -1
- package/dist/{fiveCbd-DE-tDY3d.cjs → fiveCbd-CXVuIBiZ.cjs} +24 -24
- package/dist/{fiveCbd-HNBPqPtX.js → fiveCbd-Cyc3-Ab9.js} +12 -12
- package/dist/{forLoveAndLemons-BeVEBOiu.cjs → forLoveAndLemons-CxQS0USq.cjs} +14 -14
- package/dist/{forLoveAndLemons-BKmJJ9pq.js → forLoveAndLemons-D8mcgmdk.js} +12 -12
- package/dist/{greenpan-BX1viAZB.js → greenpan-JM6SHcqO.js} +12 -12
- package/dist/{greenpan-chd3aa5I.cjs → greenpan-eIzyxVsn.cjs} +21 -21
- package/dist/{grooveLife-CHot3rZw.js → grooveLife-BmsUc2cD.js} +12 -12
- package/dist/{grooveLife-DEob7rK0.cjs → grooveLife-KdTizVUn.cjs} +19 -19
- package/dist/{homegrownCannabis-CoIjcehi.cjs → homegrownCannabis-C0GDai4r.cjs} +18 -18
- package/dist/{homegrownCannabis-CwkS1qDA.js → homegrownCannabis-a9udocBT.js} +12 -12
- package/dist/hooks/index.cjs +36 -36
- package/dist/hooks/index.d.cts +7 -7
- package/dist/hooks/index.d.ts +4 -4
- package/dist/hooks/index.js +14 -14
- package/dist/{contexts-iAzSvZjb.cjs → hooks-DjOa7ihH.cjs} +195 -195
- package/dist/{contexts-DO75-Kmx.js → hooks-fneW8SWw.js} +93 -93
- package/dist/{index-BkhvV8RZ.d.cts → index-BQErGgfM.d.cts} +29 -29
- package/dist/{index-CzMrMKx-.d.ts → index-CnqHN_jz.d.ts} +29 -29
- package/dist/interceptors/index.cjs +11 -11
- package/dist/interceptors/index.js +11 -11
- package/dist/{jackArcher-bewC0q1T.cjs → jackArcher-B6OJ0N3a.cjs} +25 -25
- package/dist/{jackArcher-BA-pkB4A.js → jackArcher-B9fe4Hv8.js} +12 -12
- package/dist/{jordanCraig-B5k9nlAw.cjs → jordanCraig-0CB_m_ts.cjs} +65 -65
- package/dist/{jordanCraig-BsQ1mYbt.js → jordanCraig-DNm1iw1L.js} +12 -12
- package/dist/{kindredBravely-BxYkCpGY.js → kindredBravely-CZgt7DJA.js} +12 -12
- package/dist/{kindredBravely-DsN0fo3s.cjs → kindredBravely-KvYPbckZ.cjs} +19 -19
- package/dist/{kutFromTheKloth-BQTCu3ct.cjs → kutFromTheKloth-BxgtWZs9.cjs} +19 -19
- package/dist/{kutFromTheKloth-bukOQM3P.js → kutFromTheKloth-SmteSZjk.js} +12 -12
- package/dist/{larryAndSerges-bj7fgy9b.cjs → larryAndSerges-6O_u3L90.cjs} +15 -15
- package/dist/{larryAndSerges-D1ecaT5a.js → larryAndSerges-DO-zG8ES.js} +11 -11
- package/dist/{leapsAndRebounds-DhNpZETg.js → leapsAndRebounds-BK62AmXw.js} +12 -12
- package/dist/{leapsAndRebounds-BfneG_0c.cjs → leapsAndRebounds-gPsWVUmQ.cjs} +20 -20
- package/dist/{longevityrx-D0goIuX0.cjs → longevityrx-DjKbwJo3.cjs} +17 -17
- package/dist/{longevityrx-CnoGcw0w.js → longevityrx-eq5TeUcy.js} +12 -12
- package/dist/{lookOptic-C4afLPZP.cjs → lookOptic-BPPqms_j.cjs} +17 -17
- package/dist/{lookOptic-uJWIKpER.js → lookOptic-jRpBXQCN.js} +12 -12
- package/dist/{mantraBrand-DuwKHM26.js → mantraBrand-BZOZfkUK.js} +12 -12
- package/dist/{mantraBrand-8JUlYtCE.cjs → mantraBrand-Cp8zptkj.cjs} +30 -30
- package/dist/{medterra-DH067P-V.cjs → medterra-BHYCBgvQ.cjs} +27 -27
- package/dist/{medterra-BQec8rzn.js → medterra-CShe6CLY.js} +12 -12
- package/dist/{modells-DUFnLmAz.cjs → modells-DE7-gmjK.cjs} +23 -23
- package/dist/{modells-DAgLE2xo.js → modells-DFyJxNwT.js} +12 -12
- package/dist/{org-CnHL2I9B.cjs → org-Bkn6fl6I.cjs} +22 -22
- package/dist/{org-C11APG3v.js → org-CX8HFbc9.js} +20 -20
- package/dist/{pressedFloral-DVZVfOSQ.cjs → pressedFloral-BMkCVs8c.cjs} +26 -26
- package/dist/{pressedFloral-MdbuoRyA.js → pressedFloral-aK9br-LF.js} +12 -12
- package/dist/{search-bSYdOBhY.cjs → search-DtIFZeMA.cjs} +28 -28
- package/dist/{search-CvHb1M3S.js → search-eWwg8pNn.js} +5 -5
- package/dist/{search-filter-types-BsJjrxk0.d.ts → search-filter-types-ByJnFPc4.d.cts} +8 -8
- package/dist/{search-filter-types-CqaGK3nM.d.cts → search-filter-types-DPgeG8FS.d.ts} +8 -8
- package/dist/{skinPerfection-bGiYxq1i.js → skinPerfection-B9G6yLM2.js} +12 -12
- package/dist/{skinPerfection-BcEWICQN.cjs → skinPerfection-BBC1q65Z.cjs} +17 -17
- package/dist/{snapSupplements-BXSXTjqF.cjs → snapSupplements-D7hx6Kgj.cjs} +17 -17
- package/dist/{snapSupplements-D7hHhdC9.js → snapSupplements-DKvJl__T.js} +12 -12
- package/dist/{spanx-lUzP6Lva.cjs → spanx-D-ZKkxjM.cjs} +20 -20
- package/dist/{spanx-5-0yX3iK.js → spanx-yl7YfVrf.js} +12 -12
- package/dist/{spanxStaging-hreMR0MS.cjs → spanxStaging-CXeIg6zI.cjs} +26 -26
- package/dist/{spanxStaging-HglCMJag.js → spanxStaging-DzGXL9wD.js} +12 -12
- package/dist/{supergoop-CkjtuRck.cjs → supergoop-CSpDPOpl.cjs} +18 -18
- package/dist/{supergoop-C9DDT3lY.js → supergoop-D0UkuRiA.js} +11 -11
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/{types-BVsTRyxL.js → types-C3S1H4hl.js} +33 -33
- package/dist/{types-BUjohkXp.cjs → types-lcjuhDBt.cjs} +33 -33
- package/dist/{uniqueVintage-DIMGtYAU.cjs → uniqueVintage-DygVpCqU.cjs} +36 -36
- package/dist/{uniqueVintage-DPWA5Ed6.js → uniqueVintage-_n0FZFVj.js} +12 -12
- package/dist/{useMessageInterceptor-C2RZM-fo.js → useMessageInterceptor-BP6gzo8a.js} +3 -3
- package/dist/{useMessageInterceptor-B-P_rw73.cjs → useMessageInterceptor-BnUG2Pzt.cjs} +9 -9
- package/dist/{variant-XITncuI3.d.ts → variant-DH4zusMi.d.cts} +1 -1
- package/dist/{variant-BGjOVpY3.d.cts → variant-DTEqSBHd.d.ts} +3 -3
- package/dist/{venaCbd-B-znfAsl.js → venaCbd-BS0dvdBm.js} +12 -12
- package/dist/{venaCbd-BOwOtpOz.cjs → venaCbd-Pqg0bj-P.cjs} +21 -21
- package/dist/{westonJonBoucher-DCRagGu3.js → westonJonBoucher-CLw8Hy6u.js} +12 -12
- package/dist/{westonJonBoucher-CraTzRVt.cjs → westonJonBoucher-CeA0jwxe.cjs} +20 -20
- package/dist/{wineEnthusiast-Bv7umajk.js → wineEnthusiast-M9P18d1w.js} +12 -12
- package/dist/{wineEnthusiast-sVuATrq6.cjs → wineEnthusiast-gHBaQMbe.cjs} +20 -20
- package/dist/{wolfMattress-BUH-Rhov.js → wolfMattress-BQHjoQYu.js} +12 -12
- package/dist/{wolfMattress-DpVHIEnJ.cjs → wolfMattress-CdmN-Evm.cjs} +19 -19
- package/dist/{wolfTactical-Q14A1fpw.js → wolfTactical-Cc2ZLBRh.js} +12 -12
- package/dist/{wolfTactical-BcvF_sy-.cjs → wolfTactical-dObnPgAG.cjs} +20 -20
- package/package.json +1 -1
- package/src/contexts/systemSettingsContext.tsx +21 -8
- package/src/hooks/useSearch.tsx +6 -3
- package/src/types/search-filter-types.ts +7 -7
- package/dist/default-BR3225LZ.js +0 -4
- package/dist/default-DR6YjE9B.cjs +0 -4
- /package/dist/{atomStore-CeJm9Llb.cjs → atomStore-BNQyGmU_.cjs} +0 -0
- /package/dist/{atomStore-BFtpknLM.js → atomStore-TnLPtYns.js} +0 -0
- /package/dist/{enviveConfigContext-Dfr2VH6u.cjs → enviveConfigContext-Bs8kepnO.cjs} +0 -0
- /package/dist/{enviveConfigContext-CUGLpPGU.js → enviveConfigContext-CWVdVWKW.js} +0 -0
- /package/dist/{events-ClCDFK7t.js → events-DgFzlVJR.js} +0 -0
- /package/dist/{events-Da7gpmGv.cjs → events-bH-24eRW.cjs} +0 -0
- /package/dist/{logger-Dln20ans.cjs → logger-Be0NyKaY.cjs} +0 -0
- /package/dist/{logger-pdEEY8T2.js → logger-BexDfK3W.js} +0 -0
- /package/dist/{utilityTypes-C4h2wgAK.cjs → utilityTypes-DMdsI0DG.cjs} +0 -0
- /package/dist/{utilityTypes-BVikejDo.js → utilityTypes-UWdNHElu.js} +0 -0
- /package/dist/{variantInfo-CzhR5W6h.js → variantInfo-BTvC6CQh.js} +0 -0
- /package/dist/{variantInfo-CNRTY0gH.cjs → variantInfo-Cz2YXraO.cjs} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import { DOMInsertionType } from "./
|
|
4
|
-
import { CategoryExtractorType, ColorNames, CustomerServiceIntegrationMode, CustomerServiceType, OrgShortName, PageVariantTestType, WidgetType, colorVar } from "./types-
|
|
5
|
-
import "./enviveConfigContext-
|
|
6
|
-
import "./atomStore-
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
1
|
+
import "./events-DgFzlVJR.js";
|
|
2
|
+
import "./logger-BexDfK3W.js";
|
|
3
|
+
import { DOMInsertionType } from "./chat-H6YcCS4I.js";
|
|
4
|
+
import { CategoryExtractorType, ColorNames, CustomerServiceIntegrationMode, CustomerServiceType, OrgShortName, PageVariantTestType, WidgetType, colorVar } from "./types-C3S1H4hl.js";
|
|
5
|
+
import "./enviveConfigContext-CWVdVWKW.js";
|
|
6
|
+
import "./atomStore-TnLPtYns.js";
|
|
7
|
+
import "./api-kpPTZhV9.js";
|
|
8
|
+
import "./customerService-C4wc0glQ.js";
|
|
9
|
+
import "./utilityTypes-UWdNHElu.js";
|
|
10
|
+
import "./variantInfo-BTvC6CQh.js";
|
|
11
11
|
import { CHAT_PREVIEW_CONTAINER_ID, PROMPT_CARD_ID } from "./divIds-BWvq-i6I.js";
|
|
12
|
-
import { CdnService } from "./cdnService-
|
|
12
|
+
import { CdnService } from "./cdnService-BNreZjqy.js";
|
|
13
13
|
import { CHAT_PREVIEW_TESTID, PROMPT_CARD_TESTID } from "./embedded-C1jvFj3v.js";
|
|
14
|
-
import { defaultOrgUIConfig } from "./default-
|
|
14
|
+
import { defaultOrgUIConfig } from "./default-DPv8m-eQ.js";
|
|
15
15
|
import { PageVisitCategory } from "@spiffy-ai/commerce-api-client";
|
|
16
16
|
|
|
17
17
|
//#region src/merchants/forLoveAndLemons/forLoveAndLemons.ts
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import { ChatElementDisplayLocation, DOMInsertionType, GridInsertionType } from "./
|
|
4
|
-
import { ColorNames, CustomerServiceIntegrationMode, CustomerServiceType, OrgShortName, PageVariantTestType, WidgetType, colorVar } from "./types-
|
|
5
|
-
import "./enviveConfigContext-
|
|
6
|
-
import "./atomStore-
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
1
|
+
import "./events-DgFzlVJR.js";
|
|
2
|
+
import "./logger-BexDfK3W.js";
|
|
3
|
+
import { ChatElementDisplayLocation, DOMInsertionType, GridInsertionType } from "./chat-H6YcCS4I.js";
|
|
4
|
+
import { ColorNames, CustomerServiceIntegrationMode, CustomerServiceType, OrgShortName, PageVariantTestType, WidgetType, colorVar } from "./types-C3S1H4hl.js";
|
|
5
|
+
import "./enviveConfigContext-CWVdVWKW.js";
|
|
6
|
+
import "./atomStore-TnLPtYns.js";
|
|
7
|
+
import "./api-kpPTZhV9.js";
|
|
8
|
+
import "./customerService-C4wc0glQ.js";
|
|
9
|
+
import "./utilityTypes-UWdNHElu.js";
|
|
10
|
+
import "./variantInfo-BTvC6CQh.js";
|
|
11
11
|
import { SuggestionBarLocationForMetrics } from "./suggestionBarV2-types-B0RbMStE.js";
|
|
12
12
|
import { BOTTOM_REVIEWS_BAR_ID, CHAT_PREVIEW_CONTAINER_ID, TOP_SUGGESTION_BAR_PDP_ID } from "./divIds-BWvq-i6I.js";
|
|
13
|
-
import { CdnService } from "./cdnService-
|
|
13
|
+
import { CdnService } from "./cdnService-BNreZjqy.js";
|
|
14
14
|
import "./chat-Dk6KPb1K.js";
|
|
15
15
|
import "./components-DAQxVIn9.js";
|
|
16
16
|
import { BOTTOM_SUGGESTION_BAR_TESTID, CHAT_PREVIEW_TESTID, TOP_SUGGESTION_BAR_TESTID } from "./embedded-C1jvFj3v.js";
|
|
17
17
|
import "./locators-C2DX_nX6.js";
|
|
18
|
-
import { defaultOrgUIConfig } from "./default-
|
|
18
|
+
import { defaultOrgUIConfig } from "./default-DPv8m-eQ.js";
|
|
19
19
|
|
|
20
20
|
//#region src/merchants/greenpan/greenpan.ts
|
|
21
21
|
const greenpanColors = {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
require('./
|
|
2
|
-
require('./
|
|
3
|
-
const
|
|
4
|
-
const require_types = require('./types-
|
|
5
|
-
require('./enviveConfigContext-
|
|
6
|
-
require('./atomStore-
|
|
7
|
-
require('./
|
|
8
|
-
require('./
|
|
9
|
-
require('./
|
|
10
|
-
require('./
|
|
1
|
+
require('./events-bH-24eRW.cjs');
|
|
2
|
+
require('./logger-Be0NyKaY.cjs');
|
|
3
|
+
const require_chat = require('./chat-CCQMmhc1.cjs');
|
|
4
|
+
const require_types = require('./types-lcjuhDBt.cjs');
|
|
5
|
+
require('./enviveConfigContext-Bs8kepnO.cjs');
|
|
6
|
+
require('./atomStore-BNQyGmU_.cjs');
|
|
7
|
+
require('./api-BtzLHcfU.cjs');
|
|
8
|
+
require('./customerService-zsDlp7g2.cjs');
|
|
9
|
+
require('./utilityTypes-DMdsI0DG.cjs');
|
|
10
|
+
require('./variantInfo-Cz2YXraO.cjs');
|
|
11
11
|
const require_suggestionBarV2_types = require('./suggestionBarV2-types-DG3Ekk44.cjs');
|
|
12
12
|
const require_divIds = require('./divIds-CFyAjjp3.cjs');
|
|
13
|
-
const require_cdnService = require('./cdnService-
|
|
13
|
+
const require_cdnService = require('./cdnService-vLxePdrU.cjs');
|
|
14
14
|
require('./chat-CCgyDehy.cjs');
|
|
15
15
|
require('./components-CScS7Ii-.cjs');
|
|
16
16
|
const require_embedded = require('./embedded-BlXJUbik.cjs');
|
|
17
17
|
require('./locators-CUpyd9Wt.cjs');
|
|
18
|
-
const require_default = require('./default-
|
|
18
|
+
const require_default = require('./default-DRKBosow.cjs');
|
|
19
19
|
|
|
20
20
|
//#region src/merchants/greenpan/greenpan.ts
|
|
21
21
|
const greenpanColors = {
|
|
@@ -252,7 +252,7 @@ const greenpanPageConfig = () => ({
|
|
|
252
252
|
topSuggestionsBar: {
|
|
253
253
|
widgetConfigId: "topSuggestionsBar",
|
|
254
254
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
255
|
-
metricDisplayLocation:
|
|
255
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
256
256
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
257
257
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
258
258
|
variant: "secondary",
|
|
@@ -286,7 +286,7 @@ const greenpanPageConfig = () => ({
|
|
|
286
286
|
bottomSuggestionsBar: {
|
|
287
287
|
widgetConfigId: "bottomSuggestionsBar",
|
|
288
288
|
contentId: "spiffy-bottom-suggestion-bar-contents",
|
|
289
|
-
metricDisplayLocation:
|
|
289
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
|
|
290
290
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
291
291
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
|
|
292
292
|
variant: "darkAccent",
|
|
@@ -304,7 +304,7 @@ const greenpanPageConfig = () => ({
|
|
|
304
304
|
topSuggestionsBarCookware: {
|
|
305
305
|
widgetConfigId: "topSuggestionsBarCookware",
|
|
306
306
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
307
|
-
metricDisplayLocation:
|
|
307
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
308
308
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
309
309
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
310
310
|
variant: "secondary",
|
|
@@ -323,7 +323,7 @@ const greenpanPageConfig = () => ({
|
|
|
323
323
|
bottomSuggestionsBarCookware: {
|
|
324
324
|
widgetConfigId: "bottomSuggestionsBarCookware",
|
|
325
325
|
contentId: "spiffy-bottom-suggestion-bar-contents",
|
|
326
|
-
metricDisplayLocation:
|
|
326
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
|
|
327
327
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
328
328
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
|
|
329
329
|
variant: "darkAccent",
|
|
@@ -347,9 +347,9 @@ const greenpanPageConfig = () => ({
|
|
|
347
347
|
testId: require_embedded.CHAT_PREVIEW_TESTID,
|
|
348
348
|
insertionPoint: {
|
|
349
349
|
selector: ".boost-pfs-filter-products",
|
|
350
|
-
insertionType:
|
|
350
|
+
insertionType: require_chat.DOMInsertionType.AFTER
|
|
351
351
|
},
|
|
352
|
-
gridInsertionType:
|
|
352
|
+
gridInsertionType: require_chat.GridInsertionType.FIXED_6,
|
|
353
353
|
className: "is-plp"
|
|
354
354
|
},
|
|
355
355
|
chatPreviewPDP: {
|
|
@@ -358,7 +358,7 @@ const greenpanPageConfig = () => ({
|
|
|
358
358
|
testId: require_embedded.CHAT_PREVIEW_TESTID,
|
|
359
359
|
insertionPoint: {
|
|
360
360
|
selector: ".addon-recommendations",
|
|
361
|
-
insertionType:
|
|
361
|
+
insertionType: require_chat.DOMInsertionType.ADJACENT_BEFORE_BEGIN
|
|
362
362
|
}
|
|
363
363
|
},
|
|
364
364
|
topSuggestionBarPDP: {
|
|
@@ -367,7 +367,7 @@ const greenpanPageConfig = () => ({
|
|
|
367
367
|
testId: require_embedded.TOP_SUGGESTION_BAR_TESTID,
|
|
368
368
|
insertionPoint: {
|
|
369
369
|
selector: ".in-stock-text",
|
|
370
|
-
insertionType:
|
|
370
|
+
insertionType: require_chat.DOMInsertionType.BEFORE
|
|
371
371
|
},
|
|
372
372
|
style: { marginBottom: "15px" }
|
|
373
373
|
},
|
|
@@ -377,7 +377,7 @@ const greenpanPageConfig = () => ({
|
|
|
377
377
|
testId: require_embedded.BOTTOM_SUGGESTION_BAR_TESTID,
|
|
378
378
|
insertionPoint: {
|
|
379
379
|
selector: ".bv-section-summary",
|
|
380
|
-
insertionType:
|
|
380
|
+
insertionType: require_chat.DOMInsertionType.ADJACENT_AFTER_BEGIN,
|
|
381
381
|
selectionIndex: 0
|
|
382
382
|
}
|
|
383
383
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import { ChatElementDisplayLocation, DOMInsertionType, GridInsertionType } from "./
|
|
4
|
-
import { ColorNames, OrgShortName, PageVariantTestType, WidgetType, colorVar } from "./types-
|
|
5
|
-
import "./enviveConfigContext-
|
|
6
|
-
import "./atomStore-
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
1
|
+
import "./events-DgFzlVJR.js";
|
|
2
|
+
import "./logger-BexDfK3W.js";
|
|
3
|
+
import { ChatElementDisplayLocation, DOMInsertionType, GridInsertionType } from "./chat-H6YcCS4I.js";
|
|
4
|
+
import { ColorNames, OrgShortName, PageVariantTestType, WidgetType, colorVar } from "./types-C3S1H4hl.js";
|
|
5
|
+
import "./enviveConfigContext-CWVdVWKW.js";
|
|
6
|
+
import "./atomStore-TnLPtYns.js";
|
|
7
|
+
import "./api-kpPTZhV9.js";
|
|
8
|
+
import "./customerService-C4wc0glQ.js";
|
|
9
|
+
import "./utilityTypes-UWdNHElu.js";
|
|
10
|
+
import "./variantInfo-BTvC6CQh.js";
|
|
11
11
|
import { SuggestionBarLocationForMetrics } from "./suggestionBarV2-types-B0RbMStE.js";
|
|
12
12
|
import { BOTTOM_REVIEWS_BAR_ID, CHAT_PREVIEW_CONTAINER_ID, TOP_SUGGESTION_BAR_PDP_ID } from "./divIds-BWvq-i6I.js";
|
|
13
|
-
import { CdnService } from "./cdnService-
|
|
13
|
+
import { CdnService } from "./cdnService-BNreZjqy.js";
|
|
14
14
|
import "./chat-Dk6KPb1K.js";
|
|
15
15
|
import "./components-DAQxVIn9.js";
|
|
16
16
|
import { BOTTOM_SUGGESTION_BAR_TESTID, CHAT_PREVIEW_TESTID, TOP_SUGGESTION_BAR_TESTID } from "./embedded-C1jvFj3v.js";
|
|
17
17
|
import "./locators-C2DX_nX6.js";
|
|
18
|
-
import { defaultOrgUIConfig } from "./default-
|
|
18
|
+
import { defaultOrgUIConfig } from "./default-DPv8m-eQ.js";
|
|
19
19
|
import { SPIFFY_SOCIAL_PROOF_CONTENT_CONTAINER_CLASS, SPIFFY_SOCIAL_PROOF_CUSTOMER_COUNT_CLASS, SPIFFY_SOCIAL_PROOF_SUGGESTION_FOOTER_TITLE_CLASS } from "./socialProofClasses-CkJufEGb.js";
|
|
20
20
|
|
|
21
21
|
//#region src/merchants/grooveLife/grooveLife.ts
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
require('./
|
|
2
|
-
require('./
|
|
3
|
-
const
|
|
4
|
-
const require_types = require('./types-
|
|
5
|
-
require('./enviveConfigContext-
|
|
6
|
-
require('./atomStore-
|
|
7
|
-
require('./
|
|
8
|
-
require('./
|
|
9
|
-
require('./
|
|
10
|
-
require('./
|
|
1
|
+
require('./events-bH-24eRW.cjs');
|
|
2
|
+
require('./logger-Be0NyKaY.cjs');
|
|
3
|
+
const require_chat = require('./chat-CCQMmhc1.cjs');
|
|
4
|
+
const require_types = require('./types-lcjuhDBt.cjs');
|
|
5
|
+
require('./enviveConfigContext-Bs8kepnO.cjs');
|
|
6
|
+
require('./atomStore-BNQyGmU_.cjs');
|
|
7
|
+
require('./api-BtzLHcfU.cjs');
|
|
8
|
+
require('./customerService-zsDlp7g2.cjs');
|
|
9
|
+
require('./utilityTypes-DMdsI0DG.cjs');
|
|
10
|
+
require('./variantInfo-Cz2YXraO.cjs');
|
|
11
11
|
const require_suggestionBarV2_types = require('./suggestionBarV2-types-DG3Ekk44.cjs');
|
|
12
12
|
const require_divIds = require('./divIds-CFyAjjp3.cjs');
|
|
13
|
-
const require_cdnService = require('./cdnService-
|
|
13
|
+
const require_cdnService = require('./cdnService-vLxePdrU.cjs');
|
|
14
14
|
require('./chat-CCgyDehy.cjs');
|
|
15
15
|
require('./components-CScS7Ii-.cjs');
|
|
16
16
|
const require_embedded = require('./embedded-BlXJUbik.cjs');
|
|
17
17
|
require('./locators-CUpyd9Wt.cjs');
|
|
18
|
-
const require_default = require('./default-
|
|
18
|
+
const require_default = require('./default-DRKBosow.cjs');
|
|
19
19
|
const require_socialProofClasses = require('./socialProofClasses-BYLiEXpU.cjs');
|
|
20
20
|
|
|
21
21
|
//#region src/merchants/grooveLife/grooveLife.ts
|
|
@@ -186,7 +186,7 @@ const grooveLifePageConfig = () => ({
|
|
|
186
186
|
widgetConfigId: "topSuggestionsBar",
|
|
187
187
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
188
188
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
189
|
-
metricDisplayLocation:
|
|
189
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
190
190
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
191
191
|
variant: "secondary",
|
|
192
192
|
hoverVariant: "secondaryDark",
|
|
@@ -263,7 +263,7 @@ const grooveLifePageConfig = () => ({
|
|
|
263
263
|
widgetConfigId: "bottomSuggestionsBar",
|
|
264
264
|
contentId: "spiffy-bottom-suggestion-bar-contents",
|
|
265
265
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
266
|
-
metricDisplayLocation:
|
|
266
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
|
|
267
267
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
|
|
268
268
|
variant: "darkAccent",
|
|
269
269
|
hoverVariant: "secondaryDark",
|
|
@@ -287,9 +287,9 @@ const grooveLifePageConfig = () => ({
|
|
|
287
287
|
testId: require_embedded.CHAT_PREVIEW_TESTID,
|
|
288
288
|
insertionPoint: {
|
|
289
289
|
selector: ".product-grid",
|
|
290
|
-
insertionType:
|
|
290
|
+
insertionType: require_chat.DOMInsertionType.AFTER
|
|
291
291
|
},
|
|
292
|
-
gridInsertionType:
|
|
292
|
+
gridInsertionType: require_chat.GridInsertionType.FIXED_6,
|
|
293
293
|
className: "is-plp"
|
|
294
294
|
},
|
|
295
295
|
chatPreviewPDP: {
|
|
@@ -298,7 +298,7 @@ const grooveLifePageConfig = () => ({
|
|
|
298
298
|
testId: require_embedded.CHAT_PREVIEW_TESTID,
|
|
299
299
|
insertionPoint: {
|
|
300
300
|
selector: ".pdp-info-column .faq-section",
|
|
301
|
-
insertionType:
|
|
301
|
+
insertionType: require_chat.DOMInsertionType.AFTER
|
|
302
302
|
},
|
|
303
303
|
style: { width: "100%" },
|
|
304
304
|
className: "is-pdp"
|
|
@@ -309,7 +309,7 @@ const grooveLifePageConfig = () => ({
|
|
|
309
309
|
testId: require_embedded.TOP_SUGGESTION_BAR_TESTID,
|
|
310
310
|
insertionPoint: {
|
|
311
311
|
selector: ".pdp-info-column .product-price-wrapper",
|
|
312
|
-
insertionType:
|
|
312
|
+
insertionType: require_chat.DOMInsertionType.AFTER
|
|
313
313
|
},
|
|
314
314
|
style: {
|
|
315
315
|
marginTop: "12px",
|
|
@@ -322,7 +322,7 @@ const grooveLifePageConfig = () => ({
|
|
|
322
322
|
testId: require_embedded.BOTTOM_SUGGESTION_BAR_TESTID,
|
|
323
323
|
insertionPoint: {
|
|
324
324
|
selector: ".oke-w-main",
|
|
325
|
-
insertionType:
|
|
325
|
+
insertionType: require_chat.DOMInsertionType.BEFORE
|
|
326
326
|
},
|
|
327
327
|
style: { marginBottom: "15px" }
|
|
328
328
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
require('./
|
|
2
|
-
require('./
|
|
3
|
-
const
|
|
4
|
-
const require_types = require('./types-
|
|
5
|
-
require('./enviveConfigContext-
|
|
6
|
-
require('./atomStore-
|
|
7
|
-
require('./
|
|
8
|
-
require('./
|
|
9
|
-
require('./
|
|
10
|
-
require('./
|
|
1
|
+
require('./events-bH-24eRW.cjs');
|
|
2
|
+
require('./logger-Be0NyKaY.cjs');
|
|
3
|
+
const require_chat = require('./chat-CCQMmhc1.cjs');
|
|
4
|
+
const require_types = require('./types-lcjuhDBt.cjs');
|
|
5
|
+
require('./enviveConfigContext-Bs8kepnO.cjs');
|
|
6
|
+
require('./atomStore-BNQyGmU_.cjs');
|
|
7
|
+
require('./api-BtzLHcfU.cjs');
|
|
8
|
+
require('./customerService-zsDlp7g2.cjs');
|
|
9
|
+
require('./utilityTypes-DMdsI0DG.cjs');
|
|
10
|
+
require('./variantInfo-Cz2YXraO.cjs');
|
|
11
11
|
const require_suggestionBarV2_types = require('./suggestionBarV2-types-DG3Ekk44.cjs');
|
|
12
12
|
const require_divIds = require('./divIds-CFyAjjp3.cjs');
|
|
13
|
-
const require_cdnService = require('./cdnService-
|
|
13
|
+
const require_cdnService = require('./cdnService-vLxePdrU.cjs');
|
|
14
14
|
require('./chat-CCgyDehy.cjs');
|
|
15
15
|
require('./components-CScS7Ii-.cjs');
|
|
16
16
|
const require_embedded = require('./embedded-BlXJUbik.cjs');
|
|
17
17
|
require('./locators-CUpyd9Wt.cjs');
|
|
18
|
-
const require_default = require('./default-
|
|
18
|
+
const require_default = require('./default-DRKBosow.cjs');
|
|
19
19
|
|
|
20
20
|
//#region src/merchants/homegrownCannabis/homegrownCannabis.ts
|
|
21
21
|
const homegrownCannabisColors = {
|
|
@@ -248,7 +248,7 @@ const homegrownCannabisPageConfig = () => ({
|
|
|
248
248
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
249
249
|
widgetConfigId: "topSuggestionsBar",
|
|
250
250
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
251
|
-
metricDisplayLocation:
|
|
251
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
252
252
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
253
253
|
variant: "secondary",
|
|
254
254
|
hoverVariant: "secondaryDark",
|
|
@@ -322,7 +322,7 @@ const homegrownCannabisPageConfig = () => ({
|
|
|
322
322
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
323
323
|
widgetConfigId: "bottomSuggestionsBar",
|
|
324
324
|
contentId: "spiffy-bottom-suggestion-bar-contents",
|
|
325
|
-
metricDisplayLocation:
|
|
325
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
|
|
326
326
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
|
|
327
327
|
variant: "dark",
|
|
328
328
|
hoverVariant: "secondaryDark",
|
|
@@ -342,7 +342,7 @@ const homegrownCannabisPageConfig = () => ({
|
|
|
342
342
|
testId: require_embedded.CHAT_PREVIEW_TESTID,
|
|
343
343
|
insertionPoint: {
|
|
344
344
|
selector: ".products-grid",
|
|
345
|
-
insertionType:
|
|
345
|
+
insertionType: require_chat.DOMInsertionType.APPEND_CHILD
|
|
346
346
|
},
|
|
347
347
|
style: {
|
|
348
348
|
marginTop: "24px",
|
|
@@ -361,7 +361,7 @@ const homegrownCannabisPageConfig = () => ({
|
|
|
361
361
|
testId: require_embedded.CHAT_PREVIEW_TESTID,
|
|
362
362
|
insertionPoint: {
|
|
363
363
|
selector: "#nav-cultivar-profile",
|
|
364
|
-
insertionType:
|
|
364
|
+
insertionType: require_chat.DOMInsertionType.AFTER
|
|
365
365
|
},
|
|
366
366
|
style: {
|
|
367
367
|
marginBottom: "24px",
|
|
@@ -377,7 +377,7 @@ const homegrownCannabisPageConfig = () => ({
|
|
|
377
377
|
testId: require_embedded.TOP_SUGGESTION_BAR_TESTID,
|
|
378
378
|
insertionPoint: {
|
|
379
379
|
selector: ".product-additional-info",
|
|
380
|
-
insertionType:
|
|
380
|
+
insertionType: require_chat.DOMInsertionType.AFTER
|
|
381
381
|
},
|
|
382
382
|
style: { marginBottom: "16px" }
|
|
383
383
|
},
|
|
@@ -387,7 +387,7 @@ const homegrownCannabisPageConfig = () => ({
|
|
|
387
387
|
testId: require_embedded.BOTTOM_SUGGESTION_BAR_TESTID,
|
|
388
388
|
insertionPoint: {
|
|
389
389
|
selector: ".yotpo-media-gallery-container",
|
|
390
|
-
insertionType:
|
|
390
|
+
insertionType: require_chat.DOMInsertionType.AFTER
|
|
391
391
|
},
|
|
392
392
|
style: {
|
|
393
393
|
marginTop: "32px",
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import { ChatElementDisplayLocation, DOMInsertionType } from "./
|
|
4
|
-
import { ColorNames, CustomerServiceIntegrationMode, CustomerServiceType, OrgShortName, PageVariantTestType, WidgetType, colorVar } from "./types-
|
|
5
|
-
import "./enviveConfigContext-
|
|
6
|
-
import "./atomStore-
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
1
|
+
import "./events-DgFzlVJR.js";
|
|
2
|
+
import "./logger-BexDfK3W.js";
|
|
3
|
+
import { ChatElementDisplayLocation, DOMInsertionType } from "./chat-H6YcCS4I.js";
|
|
4
|
+
import { ColorNames, CustomerServiceIntegrationMode, CustomerServiceType, OrgShortName, PageVariantTestType, WidgetType, colorVar } from "./types-C3S1H4hl.js";
|
|
5
|
+
import "./enviveConfigContext-CWVdVWKW.js";
|
|
6
|
+
import "./atomStore-TnLPtYns.js";
|
|
7
|
+
import "./api-kpPTZhV9.js";
|
|
8
|
+
import "./customerService-C4wc0glQ.js";
|
|
9
|
+
import "./utilityTypes-UWdNHElu.js";
|
|
10
|
+
import "./variantInfo-BTvC6CQh.js";
|
|
11
11
|
import { SuggestionBarLocationForMetrics } from "./suggestionBarV2-types-B0RbMStE.js";
|
|
12
12
|
import { BOTTOM_REVIEWS_BAR_ID, CHAT_PREVIEW_CONTAINER_ID, TOP_SUGGESTION_BAR_PDP_ID } from "./divIds-BWvq-i6I.js";
|
|
13
|
-
import { CdnService } from "./cdnService-
|
|
13
|
+
import { CdnService } from "./cdnService-BNreZjqy.js";
|
|
14
14
|
import "./chat-Dk6KPb1K.js";
|
|
15
15
|
import "./components-DAQxVIn9.js";
|
|
16
16
|
import { BOTTOM_SUGGESTION_BAR_TESTID, CHAT_PREVIEW_TESTID, TOP_SUGGESTION_BAR_TESTID } from "./embedded-C1jvFj3v.js";
|
|
17
17
|
import "./locators-C2DX_nX6.js";
|
|
18
|
-
import { defaultOrgUIConfig } from "./default-
|
|
18
|
+
import { defaultOrgUIConfig } from "./default-DPv8m-eQ.js";
|
|
19
19
|
|
|
20
20
|
//#region src/merchants/homegrownCannabis/homegrownCannabis.ts
|
|
21
21
|
const homegrownCannabisColors = {
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
require('../
|
|
2
|
-
require('../
|
|
3
|
-
require('../
|
|
4
|
-
require('../
|
|
5
|
-
require('../
|
|
6
|
-
require('../
|
|
7
|
-
require('../
|
|
8
|
-
require('../
|
|
9
|
-
require('../
|
|
10
|
-
require('../
|
|
11
|
-
require('../
|
|
12
|
-
require('../
|
|
13
|
-
|
|
1
|
+
require('../events-bH-24eRW.cjs');
|
|
2
|
+
const require_hooks = require('../hooks-DjOa7ihH.cjs');
|
|
3
|
+
require('../logger-Be0NyKaY.cjs');
|
|
4
|
+
require('../chat-CCQMmhc1.cjs');
|
|
5
|
+
require('../types-lcjuhDBt.cjs');
|
|
6
|
+
require('../enviveConfigContext-Bs8kepnO.cjs');
|
|
7
|
+
require('../atomStore-BNQyGmU_.cjs');
|
|
8
|
+
require('../api-BtzLHcfU.cjs');
|
|
9
|
+
require('../customerService-zsDlp7g2.cjs');
|
|
10
|
+
require('../utilityTypes-DMdsI0DG.cjs');
|
|
11
|
+
require('../variantInfo-Cz2YXraO.cjs');
|
|
12
|
+
require('../org-Bkn6fl6I.cjs');
|
|
13
|
+
require('../search-DtIFZeMA.cjs');
|
|
14
14
|
require('../globalSearch-hxbXekus.cjs');
|
|
15
|
-
require('../useMessageInterceptor-
|
|
15
|
+
require('../useMessageInterceptor-BnUG2Pzt.cjs');
|
|
16
16
|
require('../atomStore-B3tsg6mF.cjs');
|
|
17
17
|
|
|
18
|
-
exports.useBlockBackButton =
|
|
19
|
-
exports.useChatToggle =
|
|
20
|
-
exports.useCustomerSupportHandoff =
|
|
21
|
-
exports.useDebounce =
|
|
22
|
-
exports.useDynamicVariants =
|
|
23
|
-
exports.useElementObserver =
|
|
24
|
-
exports.useFileUpload =
|
|
25
|
-
exports.useGrabAndScroll =
|
|
26
|
-
exports.useHideElements =
|
|
27
|
-
exports.useHorizontalScrollAnimation =
|
|
28
|
-
exports.useImageResolver =
|
|
29
|
-
exports.useIntersection =
|
|
30
|
-
exports.useIsSmallScreen =
|
|
31
|
-
exports.useMessageFilter =
|
|
32
|
-
exports.useMessageScrollObserver =
|
|
33
|
-
exports.useReducedMotionWithOverride =
|
|
34
|
-
exports.useSearch =
|
|
35
|
-
exports.useSnapCalculator =
|
|
36
|
-
exports.useSnapControl =
|
|
37
|
-
exports.useSystemSettingsContext =
|
|
38
|
-
exports.useTrackComponentVisibleEvent =
|
|
39
|
-
exports.useUpdateAnalyticsProps =
|
|
18
|
+
exports.useBlockBackButton = require_hooks.useBlockBackButton;
|
|
19
|
+
exports.useChatToggle = require_hooks.useChatToggle;
|
|
20
|
+
exports.useCustomerSupportHandoff = require_hooks.useCustomerSupportHandoff;
|
|
21
|
+
exports.useDebounce = require_hooks.useDebounce;
|
|
22
|
+
exports.useDynamicVariants = require_hooks.useDynamicVariants;
|
|
23
|
+
exports.useElementObserver = require_hooks.useElementObserver;
|
|
24
|
+
exports.useFileUpload = require_hooks.useFileUpload;
|
|
25
|
+
exports.useGrabAndScroll = require_hooks.useGrabAndScroll;
|
|
26
|
+
exports.useHideElements = require_hooks.useHideElements;
|
|
27
|
+
exports.useHorizontalScrollAnimation = require_hooks.useHorizontalScrollAnimation;
|
|
28
|
+
exports.useImageResolver = require_hooks.useImageResolver;
|
|
29
|
+
exports.useIntersection = require_hooks.useIntersection;
|
|
30
|
+
exports.useIsSmallScreen = require_hooks.useIsSmallScreen;
|
|
31
|
+
exports.useMessageFilter = require_hooks.useMessageFilter;
|
|
32
|
+
exports.useMessageScrollObserver = require_hooks.useMessageScrollObserver;
|
|
33
|
+
exports.useReducedMotionWithOverride = require_hooks.useReducedMotionWithOverride;
|
|
34
|
+
exports.useSearch = require_hooks.useSearch;
|
|
35
|
+
exports.useSnapCalculator = require_hooks.useSnapCalculator;
|
|
36
|
+
exports.useSnapControl = require_hooks.useSnapControl;
|
|
37
|
+
exports.useSystemSettingsContext = require_hooks.useSystemSettingsContext;
|
|
38
|
+
exports.useTrackComponentVisibleEvent = require_hooks.useTrackComponentVisibleEvent;
|
|
39
|
+
exports.useUpdateAnalyticsProps = require_hooks.useUpdateAnalyticsProps;
|
package/dist/hooks/index.d.cts
CHANGED
|
@@ -10,10 +10,10 @@ import "../types-BE4faOO_.cjs";
|
|
|
10
10
|
import "../test-types-CpKCxk8U.cjs";
|
|
11
11
|
import "../index-hdbCEjYy.cjs";
|
|
12
12
|
import { MouseEventTypes, NodeSelector } from "../nodeSelector-vKB44CDB.cjs";
|
|
13
|
-
import { SelectedFilterOption } from "../index-
|
|
14
|
-
import {
|
|
13
|
+
import { SelectedFilterOption } from "../index-BQErGgfM.cjs";
|
|
14
|
+
import { SearchFilterDatum, SelectFilterItem } from "../search-filter-types-ByJnFPc4.cjs";
|
|
15
15
|
import { AttachmentRequest, SearchResponseProduct } from "@spiffy-ai/commerce-api-client";
|
|
16
|
-
import * as
|
|
16
|
+
import * as react0 from "react";
|
|
17
17
|
import { ReactElement, RefObject } from "react";
|
|
18
18
|
import * as motion_dom0 from "motion-dom";
|
|
19
19
|
import * as framer_motion0 from "framer-motion";
|
|
@@ -77,7 +77,7 @@ declare const useElementObserver: (selector: NodeSelector) => ElementObserverUti
|
|
|
77
77
|
//#region src/hooks/useFileUpload.d.ts
|
|
78
78
|
declare const useFileUpload: () => {
|
|
79
79
|
error: string;
|
|
80
|
-
fileInputRef:
|
|
80
|
+
fileInputRef: react0.MutableRefObject<null>;
|
|
81
81
|
attachment: AttachmentRequest | undefined;
|
|
82
82
|
handleFileSelect: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
83
83
|
handleFileRemove: () => void;
|
|
@@ -86,7 +86,7 @@ declare const useFileUpload: () => {
|
|
|
86
86
|
//#endregion
|
|
87
87
|
//#region src/hooks/useGrabAndScroll.d.ts
|
|
88
88
|
declare const useGrabAndScroll: (enabled: boolean, chunkWidth: number, speed?: number, offset?: number) => {
|
|
89
|
-
containerRef:
|
|
89
|
+
containerRef: react0.RefObject<HTMLDivElement>;
|
|
90
90
|
leftArrow: boolean;
|
|
91
91
|
rightArrow: boolean;
|
|
92
92
|
animationTrigger: () => void;
|
|
@@ -158,7 +158,7 @@ interface SearchResultsHocProps {
|
|
|
158
158
|
productCardConfig: ProductCardConfig;
|
|
159
159
|
productList: SearchResponseProduct[];
|
|
160
160
|
autocompleteResults: string[];
|
|
161
|
-
searchFilters:
|
|
161
|
+
searchFilters: SearchFilterDatum[];
|
|
162
162
|
availableDynamicFilters: {
|
|
163
163
|
name: string;
|
|
164
164
|
displayName: string;
|
|
@@ -254,7 +254,7 @@ declare const useSystemSettingsContext: () => {
|
|
|
254
254
|
generationParams?: GenerationParams$1;
|
|
255
255
|
showDebugBar?: boolean;
|
|
256
256
|
endpointURL?: string;
|
|
257
|
-
setGenerationParams:
|
|
257
|
+
setGenerationParams: react0.Dispatch<react0.SetStateAction<GenerationParams$1 | undefined>>;
|
|
258
258
|
};
|
|
259
259
|
//#endregion
|
|
260
260
|
//#region src/hooks/useTrackComponentVisibleEvent.d.ts
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -10,11 +10,11 @@ import "../types-TD8g7LnH.js";
|
|
|
10
10
|
import "../test-types-C9b_OdfO.js";
|
|
11
11
|
import "../index-Cqg6ltII.js";
|
|
12
12
|
import { MouseEventTypes, NodeSelector } from "../nodeSelector-DpKXszfU.js";
|
|
13
|
-
import { SelectedFilterOption } from "../index-
|
|
14
|
-
import {
|
|
15
|
-
import { AttachmentRequest, SearchResponseProduct } from "@spiffy-ai/commerce-api-client";
|
|
13
|
+
import { SelectedFilterOption } from "../index-CnqHN_jz.js";
|
|
14
|
+
import { SearchFilterDatum, SelectFilterItem } from "../search-filter-types-DPgeG8FS.js";
|
|
16
15
|
import * as react0 from "react";
|
|
17
16
|
import { ReactElement, RefObject } from "react";
|
|
17
|
+
import { AttachmentRequest, SearchResponseProduct } from "@spiffy-ai/commerce-api-client";
|
|
18
18
|
import * as motion_dom0 from "motion-dom";
|
|
19
19
|
import * as framer_motion0 from "framer-motion";
|
|
20
20
|
import { MotionValue, ValueAnimationTransition } from "framer-motion";
|
|
@@ -158,7 +158,7 @@ interface SearchResultsHocProps {
|
|
|
158
158
|
productCardConfig: ProductCardConfig;
|
|
159
159
|
productList: SearchResponseProduct[];
|
|
160
160
|
autocompleteResults: string[];
|
|
161
|
-
searchFilters:
|
|
161
|
+
searchFilters: SearchFilterDatum[];
|
|
162
162
|
availableDynamicFilters: {
|
|
163
163
|
name: string;
|
|
164
164
|
displayName: string;
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "../
|
|
3
|
-
import "../
|
|
4
|
-
import "../
|
|
5
|
-
import "../
|
|
6
|
-
import "../
|
|
7
|
-
import "../
|
|
8
|
-
import "../
|
|
9
|
-
import "../
|
|
10
|
-
import "../
|
|
11
|
-
import "../
|
|
12
|
-
import "../
|
|
13
|
-
import
|
|
1
|
+
import "../events-DgFzlVJR.js";
|
|
2
|
+
import { useBlockBackButton, useChatToggle, useCustomerSupportHandoff, useDebounce, useDynamicVariants, useElementObserver, useFileUpload, useGrabAndScroll, useHideElements, useHorizontalScrollAnimation, useImageResolver, useIntersection, useIsSmallScreen, useMessageFilter, useMessageScrollObserver, useReducedMotionWithOverride, useSearch, useSnapCalculator, useSnapControl, useSystemSettingsContext, useTrackComponentVisibleEvent, useUpdateAnalyticsProps } from "../hooks-fneW8SWw.js";
|
|
3
|
+
import "../logger-BexDfK3W.js";
|
|
4
|
+
import "../chat-H6YcCS4I.js";
|
|
5
|
+
import "../types-C3S1H4hl.js";
|
|
6
|
+
import "../enviveConfigContext-CWVdVWKW.js";
|
|
7
|
+
import "../atomStore-TnLPtYns.js";
|
|
8
|
+
import "../api-kpPTZhV9.js";
|
|
9
|
+
import "../customerService-C4wc0glQ.js";
|
|
10
|
+
import "../utilityTypes-UWdNHElu.js";
|
|
11
|
+
import "../variantInfo-BTvC6CQh.js";
|
|
12
|
+
import "../org-CX8HFbc9.js";
|
|
13
|
+
import "../search-eWwg8pNn.js";
|
|
14
14
|
import "../globalSearch-BC0rOX3E.js";
|
|
15
|
-
import "../useMessageInterceptor-
|
|
15
|
+
import "../useMessageInterceptor-BP6gzo8a.js";
|
|
16
16
|
import "../atomStore-FSZd_20F.js";
|
|
17
17
|
|
|
18
18
|
export { useBlockBackButton, useChatToggle, useCustomerSupportHandoff, useDebounce, useDynamicVariants, useElementObserver, useFileUpload, useGrabAndScroll, useHideElements, useHorizontalScrollAnimation, useImageResolver, useIntersection, useIsSmallScreen, useMessageFilter, useMessageScrollObserver, useReducedMotionWithOverride, useSearch, useSnapCalculator, useSnapControl, useSystemSettingsContext, useTrackComponentVisibleEvent, useUpdateAnalyticsProps };
|