@envive-ai/react-hooks 0.2.2 → 0.2.4
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/README.md +35 -0
- package/dist/{NewOrgConfig-sLsJcSn8.cjs → NewOrgConfig-B_1A1d9q.cjs} +2 -2
- package/dist/{NewOrgConfig-CbqBTHzG.js → NewOrgConfig-xNlcpcF_.js} +2 -2
- package/dist/{SystemSettingsContext-BLRfTbCC.js → SystemSettingsContext-CCuS3kWH.js} +2 -2
- package/dist/{SystemSettingsContext-BHi2YaQp.cjs → SystemSettingsContext-Dh_35fES.cjs} +2 -2
- package/dist/{TrackComponentVisibleEvent-CftWp8QR.js → TrackComponentVisibleEvent-B828giM-.js} +3 -3
- package/dist/{TrackComponentVisibleEvent-Dag8vFhb.cjs → TrackComponentVisibleEvent-DsTIH7Yt.cjs} +7 -7
- package/dist/{amplitudeContext-BhhYPJSL.d.ts → amplitudeContext-BfRDG5CX.d.ts} +1 -1
- package/dist/application/models/graphql/index.d.ts +1 -1
- package/dist/application/models/guards/api/index.d.ts +2 -2
- package/dist/application/models/guards/utils.d.ts +1 -1
- package/dist/application/models/index.cjs +3 -2
- package/dist/application/models/index.d.cts +4 -4
- package/dist/application/models/index.d.ts +12 -12
- package/dist/application/models/index.js +3 -3
- package/dist/application/models/utilityTypes/index.d.ts +1 -1
- package/dist/application/models/variantInfo/index.cjs +3 -1
- package/dist/application/models/variantInfo/index.d.cts +2 -2
- package/dist/application/models/variantInfo/index.d.ts +2 -2
- package/dist/application/models/variantInfo/index.js +2 -2
- package/dist/application/utils/index.cjs +7 -8
- package/dist/application/utils/index.d.cts +5 -5
- package/dist/application/utils/index.d.ts +15 -15
- package/dist/application/utils/index.js +7 -8
- package/dist/{atomStore-CZKe3itM.cjs → atomStore-8ppNkJ_n.cjs} +1 -1
- package/dist/{atomStore-BuopbV9k.js → atomStore-BLYJ2ZoQ.js} +1 -1
- package/dist/atoms/app/index.cjs +14 -9
- package/dist/atoms/app/index.d.cts +10 -10
- package/dist/atoms/app/index.d.ts +19 -19
- package/dist/atoms/app/index.js +9 -4
- package/dist/atoms/atomStore/index.cjs +1 -2
- package/dist/atoms/atomStore/index.js +1 -2
- package/dist/atoms/chat/index.cjs +9 -9
- package/dist/atoms/chat/index.d.cts +30 -30
- package/dist/atoms/chat/index.d.ts +39 -39
- package/dist/atoms/chat/index.js +9 -9
- package/dist/atoms/globalSearch/index.cjs +1 -1
- package/dist/atoms/globalSearch/index.d.cts +5 -5
- package/dist/atoms/globalSearch/index.d.ts +6 -6
- package/dist/atoms/globalSearch/index.js +1 -1
- package/dist/atoms/org/index.cjs +7 -8
- package/dist/atoms/org/index.d.cts +21 -21
- package/dist/atoms/org/index.d.ts +30 -30
- package/dist/atoms/org/index.js +3 -4
- package/dist/atoms/search/index.cjs +16 -16
- package/dist/atoms/search/index.d.cts +4 -4
- package/dist/atoms/search/index.d.ts +13 -13
- package/dist/atoms/search/index.js +16 -16
- package/dist/atoms/search/types.cjs +1 -1
- package/dist/atoms/search/types.d.ts +1 -1
- package/dist/atoms/search/types.js +1 -1
- package/dist/atoms/search/utils.cjs +1 -1
- package/dist/atoms/search/utils.d.cts +1 -1
- package/dist/atoms/search/utils.js +1 -1
- package/dist/{cdnContext-ShKWLgKA.cjs → cdnContext-BlRI74F-.cjs} +1 -1
- package/dist/{cdnContext-pfrZ6lfu.js → cdnContext-D26C8Y4H.js} +1 -1
- package/dist/{chat-KkJYXdfZ.cjs → chat-2NGrmU_Z.cjs} +8 -9
- package/dist/{chat-DQq8RR5E.js → chat-Bg3wEfNd.js} +5 -6
- package/dist/{chat-CV6MXeID.js → chat-pXCsesuS.js} +2 -3
- package/dist/{chat-BubCW1as.cjs → chat-sCX7aTrz.cjs} +1 -8
- package/dist/{chatElementDisplayLocation-BwiXrkN7.d.ts → chatElementDisplayLocation-D6oLuQS4.d.ts} +1 -1
- package/dist/{chatSearch-OgBQtu3u.cjs → chatSearch-B4dsxGth.cjs} +6 -6
- package/dist/{chatSearch-xO4HYEBI.js → chatSearch-Cvc_eBFV.js} +6 -6
- package/dist/{chatState-CkMgQSse.js → chatState-2bMtvPgG.js} +2 -2
- package/dist/{chatState-CTwPHEJG.cjs → chatState-fP1r34CN.cjs} +4 -4
- package/dist/common-4xhjcUbt.cjs +189 -0
- package/dist/common-DhKoZ6jN.js +39 -0
- package/dist/{components-B4T3Uzth.js → components-BUisjl4v.js} +1 -1
- package/dist/{components-Cw9WjA6g.cjs → components-DVaYBroL.cjs} +1 -1
- package/dist/config/locators/components/chat/index.cjs +1 -2
- package/dist/config/locators/components/chat/index.d.cts +2 -2
- package/dist/config/locators/components/chat/index.d.ts +2 -2
- package/dist/config/locators/components/chat/index.js +2 -2
- package/dist/config/locators/components/common/index.cjs +27 -0
- package/dist/config/locators/components/common/index.d.cts +2 -0
- package/dist/config/locators/components/common/index.d.ts +2 -0
- package/dist/config/locators/components/common/index.js +3 -0
- package/dist/config/locators/components/index.cjs +1 -1
- package/dist/config/locators/components/index.d.cts +1 -1
- package/dist/config/locators/components/index.d.ts +1 -1
- package/dist/config/locators/components/index.js +1 -1
- package/dist/config/locators/index.cjs +29 -4
- package/dist/config/locators/index.d.cts +5 -4
- package/dist/config/locators/index.d.ts +5 -4
- package/dist/config/locators/index.js +5 -4
- package/dist/contexts/amplitudeContext/index.cjs +10 -9
- package/dist/contexts/amplitudeContext/index.d.ts +1 -1
- package/dist/contexts/amplitudeContext/index.js +7 -6
- package/dist/contexts/cdnContext/index.cjs +1 -1
- package/dist/contexts/cdnContext/index.js +1 -1
- package/dist/contexts/chatContext/index.cjs +32 -37
- package/dist/contexts/chatContext/index.d.cts +2 -2
- package/dist/contexts/chatContext/index.d.ts +2 -2
- package/dist/contexts/chatContext/index.js +21 -26
- package/dist/contexts/enviveConfigContext/index.d.cts +1 -1
- package/dist/contexts/enviveConfigContext/index.d.ts +3 -3
- package/dist/contexts/enviveCssContext/index.cjs +8 -8
- package/dist/contexts/enviveCssContext/index.js +8 -8
- package/dist/contexts/featureFlagContext/index.cjs +2 -2
- package/dist/contexts/featureFlagContext/index.d.cts +1 -1
- package/dist/contexts/featureFlagContext/index.d.ts +3 -3
- package/dist/contexts/featureFlagContext/index.js +2 -2
- package/dist/contexts/featureFlagServiceContext/index.cjs +3 -2
- package/dist/contexts/featureFlagServiceContext/index.d.cts +3 -3
- package/dist/contexts/featureFlagServiceContext/index.d.ts +5 -5
- package/dist/contexts/featureFlagServiceContext/index.js +3 -3
- package/dist/contexts/graphqlContext/index.cjs +3 -3
- package/dist/contexts/graphqlContext/index.d.cts +4 -4
- package/dist/contexts/graphqlContext/index.d.ts +13 -13
- package/dist/contexts/graphqlContext/index.js +3 -3
- package/dist/contexts/newOrgConfigContext/index.cjs +7 -7
- package/dist/contexts/newOrgConfigContext/index.d.cts +5 -5
- package/dist/contexts/newOrgConfigContext/index.d.ts +14 -14
- package/dist/contexts/newOrgConfigContext/index.js +7 -7
- package/dist/contexts/searchContext/index.cjs +13 -10
- package/dist/contexts/searchContext/index.d.ts +2 -2
- package/dist/contexts/searchContext/index.js +13 -10
- package/dist/contexts/sessionStorageContext/index.cjs +1 -1
- package/dist/contexts/sessionStorageContext/index.js +1 -1
- package/dist/contexts/shopifyUrlContext/index.cjs +1 -1
- package/dist/contexts/shopifyUrlContext/index.d.cts +1 -1
- package/dist/contexts/shopifyUrlContext/index.d.ts +3 -3
- package/dist/contexts/shopifyUrlContext/index.js +1 -1
- package/dist/contexts/systemSettingsContext/index.cjs +1 -1
- package/dist/contexts/systemSettingsContext/index.d.cts +7 -7
- package/dist/contexts/systemSettingsContext/index.d.ts +13 -13
- package/dist/contexts/systemSettingsContext/index.js +1 -1
- package/dist/contexts/types.d.cts +1 -1
- package/dist/contexts/types.d.ts +3 -3
- package/dist/contexts/userIdentityContext/index.cjs +9 -14
- package/dist/contexts/userIdentityContext/index.d.ts +1 -1
- package/dist/contexts/userIdentityContext/index.js +7 -12
- package/dist/{domObserver-B19-69gW.js → domObserver-DKcas6tl.js} +1 -1
- package/dist/{domObserver-CwieVNgj.cjs → domObserver-Do6RAJdf.cjs} +1 -1
- package/dist/featureFlagServiceContext-C2Yj-Uyh.d.ts +23 -0
- package/dist/featureFlagServiceContext-CiKWV306.d.cts +23 -0
- package/dist/featureFlagServiceContext-DFb-uLHN.cjs +62 -0
- package/dist/featureFlagServiceContext-Dd_Hbq6e.js +42 -0
- package/dist/featureGates-BdvOVv8N.cjs +32 -0
- package/dist/featureGates-DhoJq4io.js +26 -0
- package/dist/frontendConfig-CbyjUXZW.d.ts +856 -0
- package/dist/frontendConfig-tVg0hsWZ.d.cts +856 -0
- package/dist/{globalSearch-B8jHLScz.js → globalSearch-B_v9qfCT.js} +1 -1
- package/dist/{globalSearch-JJI1Fijh.cjs → globalSearch-OiF96VLG.cjs} +1 -1
- package/dist/graphqlConfig-DZHeFKDY.cjs +73 -0
- package/dist/graphqlConfig-Xk--JbPl.js +24 -0
- package/dist/{graphqlContext-EhYZM1v_.d.ts → graphqlContext-BotK7KCg.d.ts} +5 -5
- package/dist/{graphqlContext-ChRuFVxO.d.cts → graphqlContext-CMav2igl.d.cts} +4 -4
- package/dist/{graphqlContext-8kw4aLRc.js → graphqlContext-CSVwhCnP.js} +1 -1
- package/dist/{graphqlContext-Fwc6Upvh.cjs → graphqlContext-aaOOb79d.cjs} +1 -1
- package/dist/hooks/AmplitudeOperations/index.cjs +9 -8
- package/dist/hooks/AmplitudeOperations/index.d.ts +1 -1
- package/dist/hooks/AmplitudeOperations/index.js +9 -8
- package/dist/hooks/AppDetails/index.cjs +12 -7
- package/dist/hooks/AppDetails/index.d.cts +3 -3
- package/dist/hooks/AppDetails/index.d.ts +11 -11
- package/dist/hooks/AppDetails/index.js +12 -7
- package/dist/hooks/CdnOperations/index.cjs +1 -1
- package/dist/hooks/CdnOperations/index.js +1 -1
- package/dist/hooks/ChatToggle/index.cjs +13 -13
- package/dist/hooks/ChatToggle/index.d.ts +1 -1
- package/dist/hooks/ChatToggle/index.js +9 -9
- package/dist/hooks/ChatToggleAnalytics/index.cjs +11 -10
- package/dist/hooks/ChatToggleAnalytics/index.d.ts +1 -1
- package/dist/hooks/ChatToggleAnalytics/index.js +11 -10
- package/dist/hooks/Debounce/index.cjs +1 -1
- package/dist/hooks/Debounce/index.js +1 -1
- package/dist/hooks/ElementObserver/index.cjs +1 -1
- package/dist/hooks/ElementObserver/index.d.ts +1 -1
- package/dist/hooks/ElementObserver/index.js +1 -1
- package/dist/hooks/GrabAndScroll/index.d.cts +2 -2
- package/dist/hooks/GraphQLConfig/index.cjs +4 -4
- package/dist/hooks/GraphQLConfig/index.d.cts +4 -4
- package/dist/hooks/GraphQLConfig/index.d.ts +12 -12
- package/dist/hooks/GraphQLConfig/index.js +4 -4
- package/dist/hooks/IdentifyUser/index.cjs +9 -14
- package/dist/hooks/IdentifyUser/index.js +8 -13
- package/dist/hooks/ImageResolver/index.cjs +2 -2
- package/dist/hooks/ImageResolver/index.js +2 -2
- package/dist/hooks/Intersection/index.cjs +1 -1
- package/dist/hooks/Intersection/index.js +1 -1
- package/dist/hooks/MessageFilter/index.cjs +2 -2
- package/dist/hooks/MessageFilter/index.d.cts +3 -3
- package/dist/hooks/MessageFilter/index.d.ts +11 -11
- package/dist/hooks/MessageFilter/index.js +2 -2
- package/dist/hooks/NewOrgConfig/index.cjs +8 -8
- package/dist/hooks/NewOrgConfig/index.d.cts +5 -5
- package/dist/hooks/NewOrgConfig/index.d.ts +14 -14
- package/dist/hooks/NewOrgConfig/index.js +8 -8
- package/dist/hooks/Search/index.cjs +35 -36
- package/dist/hooks/Search/index.d.cts +6 -6
- package/dist/hooks/Search/index.d.ts +15 -15
- package/dist/hooks/Search/index.js +26 -27
- package/dist/hooks/SearchOperations/index.cjs +14 -11
- package/dist/hooks/SearchOperations/index.d.ts +2 -2
- package/dist/hooks/SearchOperations/index.js +14 -11
- package/dist/hooks/SessionStorageOperations/index.cjs +1 -1
- package/dist/hooks/SessionStorageOperations/index.js +1 -1
- package/dist/hooks/ShopifyUrlOperations/index.cjs +1 -1
- package/dist/hooks/ShopifyUrlOperations/index.d.cts +3 -3
- package/dist/hooks/ShopifyUrlOperations/index.d.ts +5 -5
- package/dist/hooks/ShopifyUrlOperations/index.js +1 -1
- package/dist/hooks/SystemSettingsContext/index.cjs +2 -2
- package/dist/hooks/SystemSettingsContext/index.d.cts +5 -5
- package/dist/hooks/SystemSettingsContext/index.d.ts +13 -13
- package/dist/hooks/SystemSettingsContext/index.js +2 -2
- package/dist/hooks/TrackComponentVisibleEvent/index.cjs +9 -8
- package/dist/hooks/TrackComponentVisibleEvent/index.d.ts +2 -2
- package/dist/hooks/TrackComponentVisibleEvent/index.js +9 -8
- package/dist/hooks/UpdateAnalyticsProps/index.cjs +12 -11
- package/dist/hooks/UpdateAnalyticsProps/index.js +8 -7
- package/dist/hooks/utils.cjs +1 -1
- package/dist/hooks/utils.d.cts +4 -4
- package/dist/hooks/utils.d.ts +12 -12
- package/dist/hooks/utils.js +1 -1
- package/dist/{index-BN-3ctk_.d.ts → index-7VOYQNo5.d.ts} +2 -2
- package/dist/index-9NE86em3.d.cts +35 -0
- package/dist/index-C1nwLU6Q.d.ts +35 -0
- package/dist/{index-C_MIfxF0.d.cts → index-CG3P8xE1.d.cts} +3 -3
- package/dist/{index-hdbCEjYy.d.cts → index-Cyq5HiC0.d.cts} +10 -5
- package/dist/{index-B5qslMv7.d.cts → index-D9SzePCE.d.cts} +31 -31
- package/dist/{index-C4_vohah.d.ts → index-DDZmV951.d.ts} +34 -34
- package/dist/{index-CVa3DeXJ.d.cts → index-Da1s8h5C.d.cts} +1 -1
- package/dist/{index-C6KdON7d.d.ts → index-Dy22w7kg.d.ts} +2 -3
- package/dist/{index-C12-NmS7.d.cts → index-DzbkQtaK.d.cts} +2 -3
- package/dist/{index-DOii3C6b.d.ts → index-DzzKdrcZ.d.ts} +1 -1
- package/dist/{index-DsiilEj-.d.ts → index-L7SEpDLz.d.ts} +1 -1
- package/dist/{index-CK_J3QMY.d.ts → index-YrhxAGtH.d.ts} +6 -6
- package/dist/{index-BoYC9XLW.d.ts → index-exSzn3SP.d.ts} +10 -5
- package/dist/{index-Dr_c2DDq.d.ts → index-hebsV7fc.d.ts} +1 -1
- package/dist/interceptors/index.cjs +2 -2
- package/dist/interceptors/index.d.cts +4 -4
- package/dist/interceptors/index.d.ts +12 -12
- package/dist/interceptors/index.js +2 -2
- package/dist/interceptors/types.cjs +1 -1
- package/dist/interceptors/types.d.cts +4 -4
- package/dist/interceptors/types.d.ts +12 -12
- package/dist/interceptors/types.js +1 -1
- package/dist/{newOrgConfigAtom-DxILMn2I.cjs → newOrgConfigAtom-B9FW3fDc.cjs} +1 -1
- package/dist/{newOrgConfigAtom-sqve6LZU.js → newOrgConfigAtom-CMeY5c6t.js} +1 -1
- package/dist/{newOrgConfigContext-BzIpdpd6.js → newOrgConfigContext-1uwWWCPa.js} +4 -4
- package/dist/{newOrgConfigContext-wTQVvOaX.cjs → newOrgConfigContext-B0v1q3dk.cjs} +4 -4
- package/dist/{newOrgConfigContext-CiwteVzM.d.cts → newOrgConfigContext-C8wBmK3q.d.cts} +2 -2
- package/dist/{newOrgConfigContext-D9PpVqyW.d.ts → newOrgConfigContext-D180PO0t.d.ts} +2 -2
- package/dist/{nodeSelector-D5gjDWZ3.d.ts → nodeSelector-DQicm08Y.d.ts} +1 -1
- package/dist/{org-DlAesvQ_.cjs → org-DU3Wck0R.cjs} +1 -1
- package/dist/{org-vi0njpBh.js → org-DptftvB6.js} +1 -1
- package/dist/{search-0-pfy0cc.js → search-BtYKpiNB.js} +5 -5
- package/dist/{search-BLShhjvR.d.ts → search-DYVQuYti.d.ts} +2 -2
- package/dist/{search-BQn1pW2M.cjs → search-Du6HZpO6.cjs} +5 -5
- package/dist/{search-filter-types-BlmWOnlA.d.ts → search-filter-types-B5xcaEit.d.ts} +1 -1
- package/dist/{search-filter-types-BBIjvwJV.d.cts → search-filter-types-DZPTzUK9.d.cts} +1 -1
- package/dist/{searchContext-DmXo2rpU.cjs → searchContext-BK43ArCs.cjs} +6 -6
- package/dist/{searchContext-5qTU8CbH.js → searchContext-JjZZhDCe.js} +4 -4
- package/dist/{searchServiceAdapter-WyCU55NV.js → searchServiceAdapter-BSPZOg1r.js} +1 -1
- package/dist/{searchServiceAdapter-DEv1tTn0.cjs → searchServiceAdapter-DrjFCiw8.cjs} +1 -1
- package/dist/{sessionStorageContext-DnuKi3Gk.js → sessionStorageContext-BQY9r8zz.js} +1 -1
- package/dist/{sessionStorageContext-B-UFXyJR.cjs → sessionStorageContext-R2yUAkd9.cjs} +1 -1
- package/dist/{shopifyUrlContext-jLW63VLY.js → shopifyUrlContext-Bon8_SUJ.js} +1 -1
- package/dist/{shopifyUrlContext-Lm-Xcut2.cjs → shopifyUrlContext-DUdw1xUH.cjs} +1 -1
- package/dist/{spiffyWidgets-GILaqHv6.d.ts → spiffyWidgets-DZqG5plz.d.ts} +1 -1
- package/dist/{systemSettingsContext--LcXOVJz.js → systemSettingsContext-BjbhIz6y.js} +1 -1
- package/dist/{systemSettingsContext-CafaP6Zh.cjs → systemSettingsContext-Dv9EmjmZ.cjs} +1 -1
- package/dist/{test-types-EzMFw_U3.d.ts → test-types-Dl5puRHC.d.ts} +1 -1
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types-CKMMb_gX.d.cts +1 -1
- package/dist/{types-BN2z0HcL.d.ts → types-Csgpt7EV.d.ts} +1 -1
- package/dist/{types-CS0Hrzja.js → types-DIk0FLwd.js} +1 -1
- package/dist/{types-CxObxLKs.cjs → types-DNLkuGWZ.cjs} +1 -1
- package/dist/{types-D4aa7_7x.d.cts → types-DSW9XODe.d.cts} +1 -1
- package/dist/{types-6siNDmGv.d.ts → types-oSg-AkO5.d.ts} +2 -2
- package/dist/types.d.cts +1 -1
- package/dist/types.d.ts +4 -4
- package/dist/{useAmplitudeOperations-aGOqxc4V.cjs → useAmplitudeOperations-C9o_wDU6.cjs} +3 -3
- package/dist/{useAmplitudeOperations-wQnkMaDm.js → useAmplitudeOperations-COq3L1no.js} +2 -2
- package/dist/{useAppDetails-9WXEc3mg.cjs → useAppDetails-C4GTLEIR.cjs} +6 -6
- package/dist/{useAppDetails-mNC2PBqH.js → useAppDetails-CEksA88Q.js} +3 -3
- package/dist/{useDebounce-CxPj9WmE.js → useDebounce--rPGMuE7.js} +1 -1
- package/dist/{useDebounce-BaIp-A1W.cjs → useDebounce-DECHWSTn.cjs} +1 -1
- package/dist/{useGraphQLConfig-CTsRsKd2.js → useGraphQLConfig-DQoMmpNM.js} +2 -2
- package/dist/{useGraphQLConfig-D7naV2RD.cjs → useGraphQLConfig-DzH1nVBh.cjs} +2 -2
- package/dist/{useIntersection-B4J9UhaG.js → useIntersection-UEO0Cezc.js} +1 -1
- package/dist/{useIntersection-DKWc5MY6.cjs → useIntersection-rV0Q8mBH.cjs} +1 -1
- package/dist/{useMessageInterceptor-C9p9No1n.cjs → useMessageInterceptor-CstX10ih.cjs} +1 -1
- package/dist/{useMessageInterceptor-tntd2rvB.js → useMessageInterceptor-D5oAekXn.js} +1 -1
- package/dist/{userIdentityContext-wYRpgkaJ.d.ts → userIdentityContext-8kfKQRFx.d.ts} +1 -1
- package/dist/{utils-FU_r-pTj.d.ts → utils-B8rATLoc.d.ts} +4 -4
- package/dist/{utils-B1xLx9S8.d.ts → utils-BLe5oreh.d.ts} +1 -1
- package/dist/{utils-_97oEqyL.js → utils-Bcz5kAgP.js} +1 -1
- package/dist/{utils-C8vYQhLV.cjs → utils-CMqFfqZx.cjs} +1 -1
- package/dist/{utils-2SWrJ12w.cjs → utils-CqVRbvfN.cjs} +1 -1
- package/dist/{utils-CqBxIpEV.js → utils-DQhbbAnt.js} +1 -1
- package/dist/{utils-BSYichA7.d.cts → utils-EDgzCG3Q.d.cts} +3 -3
- package/dist/utils-V1YTUQng.js +1385 -0
- package/dist/utils-VI19AC8S.cjs +1591 -0
- package/dist/variantInfo-BRmDpamJ.cjs +17 -0
- package/dist/variantInfo-BwBBEWSA.js +11 -0
- package/package.json +3 -2
- package/src/application/models/featureGates.ts +18 -20
- package/src/application/models/variantInfo/variantInfo.ts +9 -3
- package/src/atoms/app/index.ts +3 -2
- package/src/atoms/app/variant.ts +27 -89
- package/src/config/locators/components/chat/index.ts +0 -1
- package/src/config/locators/components/chat/preview.ts +0 -1
- package/src/config/locators/components/common/index.ts +4 -0
- package/src/config/locators/index.ts +1 -0
- package/src/contexts/amplitudeContext/amplitudeContext.tsx +12 -45
- package/src/contexts/featureFlagServiceContext/featureFlagServiceContext.tsx +1 -1
- package/dist/amplitudeContext-CwPtBPhg.js +0 -287
- package/dist/amplitudeContext-DTC6maR0.cjs +0 -309
- package/dist/app-CoQ1nC-j.js +0 -132
- package/dist/app-DN72spgQ.cjs +0 -178
- package/dist/commerce-api-BVy49Qk8.js +0 -311
- package/dist/commerce-api-Pclc9ZBQ.cjs +0 -318
- package/dist/featureFlagServiceContext-CUBoBV2i.cjs +0 -56
- package/dist/featureFlagServiceContext-Cpw8omUr.d.ts +0 -23
- package/dist/featureFlagServiceContext-Cvn6fcdB.d.cts +0 -23
- package/dist/featureFlagServiceContext-Dg8okVk1.js +0 -42
- package/dist/featureGates-Blx10fwB.js +0 -27
- package/dist/featureGates-DcZNrUma.cjs +0 -33
- package/dist/frontendConfig-DnMZfvcA.d.cts +0 -857
- package/dist/frontendConfig-Dqxbqo8G.d.ts +0 -857
- package/dist/graphqlConfig-BWqLgZ6v.cjs +0 -39
- package/dist/graphqlConfig-Dn-hO_SQ.js +0 -14
- package/dist/orgAnalyticsConfig-BC4_sEmn.js +0 -14
- package/dist/orgAnalyticsConfig-DsGbyFhO.cjs +0 -39
- package/dist/types-DQoXDiso.js +0 -1
- package/dist/types-o3zWarRp.cjs +0 -0
- package/dist/unsupportedProductExceptions-CKiri_vO.cjs +0 -32
- package/dist/unsupportedProductExceptions-ClxlJ6cU.js +0 -20
- package/dist/userIdentityContext-BWzqWXPI.cjs +0 -125
- package/dist/userIdentityContext-BoNYqrTf.js +0 -109
- package/dist/utils-BgMcvG6l.js +0 -606
- package/dist/utils-D_aOvxMg.cjs +0 -715
- package/dist/variantInfo-B7IwRpCg.cjs +0 -0
- package/dist/variantInfo-BtOYUGWa.js +0 -1
- /package/dist/{AmplitudeOperations-CNyxbBY6.cjs → AmplitudeOperations-CEwp7tPJ.cjs} +0 -0
- /package/dist/{AmplitudeOperations-Oa2efWtF.js → AmplitudeOperations-uF2zIi_1.js} +0 -0
- /package/dist/{index-BPxqQmpF.d.ts → index-CalyvQj_.d.ts} +0 -0
- /package/dist/{atomStore-DKlaDbMx.js → types-DtTnp0o0.js} +0 -0
- /package/dist/{atomStore-CdFkEC8s.cjs → types-a8gm_IaQ.cjs} +0 -0
package/README.md
CHANGED
|
@@ -1,2 +1,37 @@
|
|
|
1
|
+
|
|
1
2
|
# envive-react-hooks
|
|
3
|
+
|
|
2
4
|
State and data providers for intergrating with Envive.
|
|
5
|
+
|
|
6
|
+
## Local Development
|
|
7
|
+
|
|
8
|
+
In order to develop packages in tandem, we use npm link. Due to a limitation around react hooks and link, you will receive an error unless you follow these steps.
|
|
9
|
+
|
|
10
|
+
The following example assumes a file system where all your repos share a top level directory. If you organize your code differently, you will need to change the paths accordingly.
|
|
11
|
+
|
|
12
|
+
```md
|
|
13
|
+
my-code/
|
|
14
|
+
├── envive-app-blocks/
|
|
15
|
+
├── envive-react-hooks/
|
|
16
|
+
├── envive-react-toolkit/
|
|
17
|
+
│ ├──packages/
|
|
18
|
+
│ ├── components/
|
|
19
|
+
│ ├── icons/
|
|
20
|
+
│ ├── storybook/
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
For the hooks library:
|
|
24
|
+
|
|
25
|
+
1. Starting from /envive-app-blocks `npm i`
|
|
26
|
+
2. `cd ../envive-react-hooks`
|
|
27
|
+
3. `npm link ../envive-app-blocks/node_modules/react`
|
|
28
|
+
4. `npm run build:watch`
|
|
29
|
+
5. `cd ../envive-app-blocks`
|
|
30
|
+
6. `npm link ../envive-react-hooks`
|
|
31
|
+
7. `npm run dev:local`
|
|
32
|
+
|
|
33
|
+
### Troubleshooting link
|
|
34
|
+
|
|
35
|
+
* If you see an error such as this, something may have not been linked correctly.
|
|
36
|
+
`Hooks can only be called inside the body of a function component.`, there is likely nothing wrong with your code.
|
|
37
|
+
* If you run `npm i` in either package, you will get unlinked, if you are doing a lot of testing around your dependencies, you can use `npm link --save`. This will add a file reference to your package.json that you will need to correct before merge.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_newOrgConfigContext = require('./newOrgConfigContext-
|
|
1
|
+
const require_newOrgConfigContext = require('./newOrgConfigContext-B0v1q3dk.cjs');
|
|
2
2
|
|
|
3
3
|
//#region src/hooks/NewOrgConfig/useNewOrgConfig.ts
|
|
4
4
|
const useNewOrgConfig = () => {
|
|
@@ -12,4 +12,4 @@ Object.defineProperty(exports, 'useNewOrgConfig', {
|
|
|
12
12
|
return useNewOrgConfig;
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
15
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTmV3T3JnQ29uZmlnLUJfMUExZDlxLmNqcyIsIm5hbWVzIjpbInVzZU5ld09yZ0NvbmZpZ0NvbnRleHQiXSwic291cmNlcyI6WyIuLi9zcmMvaG9va3MvTmV3T3JnQ29uZmlnL3VzZU5ld09yZ0NvbmZpZy50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyB1c2VOZXdPcmdDb25maWdDb250ZXh0IH0gZnJvbSBcInNyYy9jb250ZXh0cy9uZXdPcmdDb25maWdDb250ZXh0L25ld09yZ0NvbmZpZ0NvbnRleHRcIjtcblxuZXhwb3J0IGNvbnN0IHVzZU5ld09yZ0NvbmZpZyA9ICgpID0+IHtcbiAgY29uc3QgY29uZmlnID0gdXNlTmV3T3JnQ29uZmlnQ29udGV4dCgpO1xuXG4gIHJldHVybiBjb25maWc7XG59O1xuIl0sIm1hcHBpbmdzIjoiOzs7QUFFQSxNQUFhLHdCQUF3QjtBQUduQyxRQUZlQSxvREFBd0IifQ==
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useNewOrgConfigContext } from "./newOrgConfigContext-
|
|
1
|
+
import { useNewOrgConfigContext } from "./newOrgConfigContext-1uwWWCPa.js";
|
|
2
2
|
|
|
3
3
|
//#region src/hooks/NewOrgConfig/useNewOrgConfig.ts
|
|
4
4
|
const useNewOrgConfig = () => {
|
|
@@ -7,4 +7,4 @@ const useNewOrgConfig = () => {
|
|
|
7
7
|
|
|
8
8
|
//#endregion
|
|
9
9
|
export { useNewOrgConfig };
|
|
10
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
10
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTmV3T3JnQ29uZmlnLXhObGNwY0ZfLmpzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uL3NyYy9ob29rcy9OZXdPcmdDb25maWcvdXNlTmV3T3JnQ29uZmlnLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IHVzZU5ld09yZ0NvbmZpZ0NvbnRleHQgfSBmcm9tIFwic3JjL2NvbnRleHRzL25ld09yZ0NvbmZpZ0NvbnRleHQvbmV3T3JnQ29uZmlnQ29udGV4dFwiO1xuXG5leHBvcnQgY29uc3QgdXNlTmV3T3JnQ29uZmlnID0gKCkgPT4ge1xuICBjb25zdCBjb25maWcgPSB1c2VOZXdPcmdDb25maWdDb250ZXh0KCk7XG5cbiAgcmV0dXJuIGNvbmZpZztcbn07XG4iXSwibWFwcGluZ3MiOiI7OztBQUVBLE1BQWEsd0JBQXdCO0FBR25DLFFBRmUsd0JBQXdCIn0=
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SystemSettingsContext } from "./systemSettingsContext
|
|
1
|
+
import { SystemSettingsContext } from "./systemSettingsContext-BjbhIz6y.js";
|
|
2
2
|
import { useContext } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/hooks/SystemSettingsContext/useSystemSettingsContext.ts
|
|
@@ -10,4 +10,4 @@ const useSystemSettingsContext = () => {
|
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
export { useSystemSettingsContext };
|
|
13
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
13
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3lzdGVtU2V0dGluZ3NDb250ZXh0LUNDdVMza1dILmpzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uL3NyYy9ob29rcy9TeXN0ZW1TZXR0aW5nc0NvbnRleHQvdXNlU3lzdGVtU2V0dGluZ3NDb250ZXh0LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IHVzZUNvbnRleHQgfSBmcm9tIFwicmVhY3RcIjtcbmltcG9ydCB7IFN5c3RlbVNldHRpbmdzQ29udGV4dCB9IGZyb20gXCJzcmMvY29udGV4dHMvc3lzdGVtU2V0dGluZ3NDb250ZXh0XCI7XG5cbmV4cG9ydCBjb25zdCB1c2VTeXN0ZW1TZXR0aW5nc0NvbnRleHQgPSAoKSA9PiB7XG4gIGNvbnN0IGNvbnRleHQgPSB1c2VDb250ZXh0KFN5c3RlbVNldHRpbmdzQ29udGV4dCk7XG5cbiAgaWYgKCFjb250ZXh0KSB7XG4gICAgdGhyb3cgbmV3IEVycm9yKFxuICAgICAgXCJ1c2VTeXN0ZW1TZXR0aW5nc0NvbnRleHQgbXVzdCBiZSB1c2VkIHdpdGhpbiBhIFN5c3RlbVNldHRpbmdzQ29udGV4dFByb3ZpZGVyXCJcbiAgICApO1xuICB9XG5cbiAgcmV0dXJuIHsgLi4uY29udGV4dCB9O1xufTtcbiJdLCJtYXBwaW5ncyI6Ijs7OztBQUdBLE1BQWEsaUNBQWlDO0NBQzVDLE1BQU0sVUFBVSxXQUFXLHNCQUFzQjtBQUVqRCxLQUFJLENBQUMsUUFDSCxPQUFNLElBQUksTUFDUiwrRUFDRDtBQUdILFFBQU8sRUFBRSxHQUFHLFNBQVMifQ==
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
-
const require_systemSettingsContext = require('./systemSettingsContext-
|
|
2
|
+
const require_systemSettingsContext = require('./systemSettingsContext-Dv9EmjmZ.cjs');
|
|
3
3
|
let react = require("react");
|
|
4
4
|
react = require_chunk.__toESM(react);
|
|
5
5
|
|
|
@@ -17,4 +17,4 @@ Object.defineProperty(exports, 'useSystemSettingsContext', {
|
|
|
17
17
|
return useSystemSettingsContext;
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
20
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3lzdGVtU2V0dGluZ3NDb250ZXh0LURoXzM1ZkVTLmNqcyIsIm5hbWVzIjpbIlN5c3RlbVNldHRpbmdzQ29udGV4dCJdLCJzb3VyY2VzIjpbIi4uL3NyYy9ob29rcy9TeXN0ZW1TZXR0aW5nc0NvbnRleHQvdXNlU3lzdGVtU2V0dGluZ3NDb250ZXh0LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IHVzZUNvbnRleHQgfSBmcm9tIFwicmVhY3RcIjtcbmltcG9ydCB7IFN5c3RlbVNldHRpbmdzQ29udGV4dCB9IGZyb20gXCJzcmMvY29udGV4dHMvc3lzdGVtU2V0dGluZ3NDb250ZXh0XCI7XG5cbmV4cG9ydCBjb25zdCB1c2VTeXN0ZW1TZXR0aW5nc0NvbnRleHQgPSAoKSA9PiB7XG4gIGNvbnN0IGNvbnRleHQgPSB1c2VDb250ZXh0KFN5c3RlbVNldHRpbmdzQ29udGV4dCk7XG5cbiAgaWYgKCFjb250ZXh0KSB7XG4gICAgdGhyb3cgbmV3IEVycm9yKFxuICAgICAgXCJ1c2VTeXN0ZW1TZXR0aW5nc0NvbnRleHQgbXVzdCBiZSB1c2VkIHdpdGhpbiBhIFN5c3RlbVNldHRpbmdzQ29udGV4dFByb3ZpZGVyXCJcbiAgICApO1xuICB9XG5cbiAgcmV0dXJuIHsgLi4uY29udGV4dCB9O1xufTtcbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBR0EsTUFBYSxpQ0FBaUM7Q0FDNUMsTUFBTSxnQ0FBcUJBLG9EQUFzQjtBQUVqRCxLQUFJLENBQUMsUUFDSCxPQUFNLElBQUksTUFDUiwrRUFDRDtBQUdILFFBQU8sRUFBRSxHQUFHLFNBQVMifQ==
|
package/dist/{TrackComponentVisibleEvent-CftWp8QR.js → TrackComponentVisibleEvent-B828giM-.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SpiffyMetricsEventName, useAmplitude } from "./
|
|
2
|
-
import { useIntersection } from "./useIntersection-
|
|
1
|
+
import { SpiffyMetricsEventName, useAmplitude } from "./utils-V1YTUQng.js";
|
|
2
|
+
import { useIntersection } from "./useIntersection-UEO0Cezc.js";
|
|
3
3
|
import { useEffect, useRef } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/hooks/TrackComponentVisibleEvent/useTrackComponentVisibleEvent.ts
|
|
@@ -49,4 +49,4 @@ const useTrackComponentVisibleEvent = (component, element, eventProps, eventName
|
|
|
49
49
|
|
|
50
50
|
//#endregion
|
|
51
51
|
export { useTrackComponentVisibleEvent };
|
|
52
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
52
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVHJhY2tDb21wb25lbnRWaXNpYmxlRXZlbnQtQjgyOGdpTS0uanMiLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vc3JjL2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Vc7RUFBWTtFQUFXO0VBQWdCO0VBQVcsQ0FBQyJ9
|
package/dist/{TrackComponentVisibleEvent-Dag8vFhb.cjs → TrackComponentVisibleEvent-DsTIH7Yt.cjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
-
const
|
|
3
|
-
const require_useIntersection = require('./useIntersection-
|
|
2
|
+
const require_utils = require('./utils-VI19AC8S.cjs');
|
|
3
|
+
const require_useIntersection = require('./useIntersection-rV0Q8mBH.cjs');
|
|
4
4
|
let react = require("react");
|
|
5
5
|
react = require_chunk.__toESM(react);
|
|
6
6
|
|
|
@@ -13,16 +13,16 @@ react = require_chunk.__toESM(react);
|
|
|
13
13
|
* @param eventProps - Additional properties to include with the event.
|
|
14
14
|
* @param eventName - The Amplitude event name to track (defaults to ChatComponentVisible).
|
|
15
15
|
*/
|
|
16
|
-
const useTrackComponentVisibleEvent = (component, element, eventProps, eventName =
|
|
16
|
+
const useTrackComponentVisibleEvent = (component, element, eventProps, eventName = require_utils.SpiffyMetricsEventName.ChatComponentVisible) => {
|
|
17
17
|
const isVisible = require_useIntersection.useIntersection(element, "0px");
|
|
18
18
|
const hasTrackedEvent = (0, react.useRef)(false);
|
|
19
|
-
const { trackEvent } =
|
|
19
|
+
const { trackEvent } = require_utils.useAmplitude();
|
|
20
20
|
const componentProps = (() => {
|
|
21
|
-
if (eventName ===
|
|
21
|
+
if (eventName === require_utils.SpiffyMetricsEventName.ChatComponentVisible) return {
|
|
22
22
|
chat_component: component,
|
|
23
23
|
...eventProps
|
|
24
24
|
};
|
|
25
|
-
if (eventName ===
|
|
25
|
+
if (eventName === require_utils.SpiffyMetricsEventName.SearchComponentVisible) return {
|
|
26
26
|
search_component: component,
|
|
27
27
|
...eventProps
|
|
28
28
|
};
|
|
@@ -56,4 +56,4 @@ Object.defineProperty(exports, 'useTrackComponentVisibleEvent', {
|
|
|
56
56
|
return useTrackComponentVisibleEvent;
|
|
57
57
|
}
|
|
58
58
|
});
|
|
59
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
59
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVHJhY2tDb21wb25lbnRWaXNpYmxlRXZlbnQtRHNUSUg3WXQuY2pzIiwibmFtZXMiOlsiU3BpZmZ5TWV0cmljc0V2ZW50TmFtZSIsInVzZUludGVyc2VjdGlvbiIsInVzZUFtcGxpdHVkZSJdLCJzb3VyY2VzIjpbIi4uL3NyYy9ob29rcy9UcmFja0NvbXBvbmVudFZpc2libGVFdmVudC91c2VUcmFja0NvbXBvbmVudFZpc2libGVFdmVudC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBSZWZPYmplY3QsIHVzZUVmZmVjdCwgdXNlUmVmIH0gZnJvbSBcInJlYWN0XCI7XG5pbXBvcnQgeyBTcGlmZnlXaWRnZXRzIH0gZnJvbSBcInNyYy9hcHBsaWNhdGlvbi9tb2RlbHMvc3BpZmZ5V2lkZ2V0c1wiO1xuaW1wb3J0IHsgdXNlSW50ZXJzZWN0aW9uIH0gZnJvbSBcInNyYy9ob29rcy9JbnRlcnNlY3Rpb24vdXNlSW50ZXJzZWN0aW9uXCI7XG5pbXBvcnQge1xuICBTcGlmZnlNZXRyaWNzRXZlbnROYW1lLFxuICB1c2VBbXBsaXR1ZGUsXG59IGZyb20gXCJzcmMvY29udGV4dHMvYW1wbGl0dWRlQ29udGV4dC9hbXBsaXR1ZGVDb250ZXh0XCI7XG5cbi8qKlxuICogVHJhY2tzIGEgY29tcG9uZW50IGFuZCBsb2dzIGFuIGV2ZW50IHRvIEFtcGxpdHVkZSB3aGVuIHRoZSBjb21wb25lbnQgaXMgdmlzaWJsZS5cbiAqXG4gKiBAcGFyYW0gY29tcG9uZW50IC0gVGhlIGNvbXBvbmVudCB0byB0cmFjay5cbiAqIEBwYXJhbSBlbGVtZW50IC0gVGhlIGVs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GNBQWNBLHFDQUF1Qix1QkFDdkMsUUFBTztHQUNMLGtCQUFrQjtHQUNsQixHQUFHO0dBQ0o7QUFHSCxTQUFPO0dBQ007R0FDWCxHQUFHO0dBQ0o7S0FDQztBQUVKLDRCQUFnQjtBQUNkLE1BQUksYUFBYSxDQUFDLGdCQUFnQixTQUFTO0FBQ3pDLGNBQVc7SUFDRTtJQUNYLFlBQVk7SUFDYixDQUFDO0FBQ0YsbUJBQWdCLFVBQVU7O0lBRTNCO0VBQUM7RUFBVztFQUFXO0VBQVk7RUFBVztFQUFnQjtFQUFXLENBQUMifQ==
|
|
@@ -49,4 +49,4 @@ declare const AmplitudeProvider: React.FC<{
|
|
|
49
49
|
declare const useAmplitude: () => AmplitudeContextType;
|
|
50
50
|
//#endregion
|
|
51
51
|
export { AmplitudeProvider, SpiffyMetricsEventName, useAmplitude };
|
|
52
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
52
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW1wbGl0dWRlQ29udGV4dC1CZlJERzVDWC5kLnRzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uL3NyYy9jb250ZXh0cy9hbXBsaXR1ZGVDb250ZXh0L2FtcGxpdHVkZUNvbnRleHQuZC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG5leHBvcnQgZGVjbGFyZSBlbnVtIFNwaWZmeU1ldHJpY3NFdmVudE5hbWUge1xuICAgIEJ1bmRsZUxvYWRlZCA9IFwiQnVuZGxlIExvYWRlZFwiLFxuICAgIENoYXRMaXZlQWdlbnRCdG5DbGljayA9IFwiQ2hhdCBMaXZlIEFnZW50IEJ0biBDbGlja1wiLFxuICAgIENoYXRGbG9hdGluZ0J1dHRvblZpc2libGUgPSBcIkNoYXQgRmxvYXRpbmcgQnV0dG9uIFZpc2libGVcIixcbiAgICB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47XG4gICAgZXZlbnRHcm91cHM/OiBSZWNvcmQ8c3RyaW5nLCB1bmtub3duPjtcbiAgICBhbHNvU2VuZFRvR29vZ2xlQW5hbHl0aWNzPzogYm9vbGVhbjtcbn1cbmludGVyZmFjZSBBbXBsaXR1ZGVDb250ZXh0VHlwZSB7XG4gICAgdHJhY2tFdmVudDogKHBhcmFtczogVHJhY2tFdmVudFBhcmFtcykgPT4gUHJvbWlzZTx2b2lkPjtcbiAgICBpc1JlYWR5OiBib29sZWFuO1xuICAgIHNldFN1cHBsZW1lbnRhbERlZmF1bHRQcm9wczogKHByb3BzOiBSZWNvcmQ8c3RyaW5nLCB1bmtub3duPikgPT4gdm9pZDtcbn1cbmV4cG9ydCBkZWNsYXJlIGNvbnN0IEFtcGxpdHVkZVByb3ZpZGVyOiBSZWFjdC5GQzx7XG4gICAgY2hpbGRyZW46IFJlYWN0LlJlYWN0Tm9kZTtcbn0+O1xuZXhwb3J0IGRlY2xhcmUgY29uc3QgdXNlQW1wbGl0dWRlOiAoKSA9PiBBbXBsaXR1ZGVDb250ZXh0VHlwZTtcbmV4cG9ydCB7fTtcbiJdLCJtYXBwaW5ncyI6Ijs7O0FBQ0EsSUFBVyx5QkFBeUIsQ0FBQyxJQUFJO0FBQ3pDLElBQUksbUJBQW1CO0NBQUM7T0FBVTtPQUFBO09BQUE7Q0FBQTtBQUNsQyxJQUFJLHVCQUF1QjtDQUFDO09BQVc7T0FBZ0I7T0FBQTtDQUFBO0FBQ3ZELElBQVcsb0JBQW9CO0NBQUM7T0FBVyxNQUFNO09BQWEsTUFBQTtDQUFBO0FBQzlELElBQVcsZUFBZSxDQUFDLFdBQVcscUJBQWEifQ==
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { GetMerchantColorsQueryData, GetMerchantFrontendConfigQueryData, MountingConfigQueryData, PageVariantCheckQueryData, PageVariantQueryData, UIConfigQueryData, WidgetConfigQueryData, WidgetMountingQueryData, getMerchantColorsQuery, getMerchantFrontendConfigQuery } from "../../../index-
|
|
1
|
+
import { GetMerchantColorsQueryData, GetMerchantFrontendConfigQueryData, MountingConfigQueryData, PageVariantCheckQueryData, PageVariantQueryData, UIConfigQueryData, WidgetConfigQueryData, WidgetMountingQueryData, getMerchantColorsQuery, getMerchantFrontendConfigQuery } from "../../../index-hebsV7fc.js";
|
|
2
2
|
export { GetMerchantColorsQueryData, GetMerchantFrontendConfigQueryData, MountingConfigQueryData, PageVariantCheckQueryData, PageVariantQueryData, UIConfigQueryData, WidgetConfigQueryData, WidgetMountingQueryData, getMerchantColorsQuery, getMerchantFrontendConfigQuery };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { isApiPDPAttributes, isApiProductResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isSuggestion } from "../../../../index-
|
|
2
|
-
import "../../../../index-
|
|
1
|
+
import { isApiPDPAttributes, isApiProductResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isSuggestion } from "../../../../index-7VOYQNo5.js";
|
|
2
|
+
import "../../../../index-L7SEpDLz.js";
|
|
3
3
|
export { isApiPDPAttributes, isApiProductResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isSuggestion };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { hasPropertyOfType } from "../../../utils-
|
|
1
|
+
import { hasPropertyOfType } from "../../../utils-BLe5oreh.js";
|
|
2
2
|
export { hasPropertyOfType };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
const require_types = require('../../types-BwNrLPSZ.cjs');
|
|
2
2
|
const require_models = require('../../models-B1P-dSCW.cjs');
|
|
3
|
-
const require_featureGates = require('../../featureGates-
|
|
3
|
+
const require_featureGates = require('../../featureGates-BdvOVv8N.cjs');
|
|
4
4
|
require('../../urlsParser-BV5yF8sa.cjs');
|
|
5
5
|
const require_graphql = require('../../graphql-B9HhDXYt.cjs');
|
|
6
6
|
const require_utils = require('../../utils-Cavu4XiM.cjs');
|
|
7
7
|
const require_api = require('../../api-Bc3_julZ.cjs');
|
|
8
8
|
require('../../logger-Cp7J4YJT.cjs');
|
|
9
9
|
require('../../utilityTypes-xb8SjKSV.cjs');
|
|
10
|
-
require('../../variantInfo-
|
|
10
|
+
const require_variantInfo = require('../../variantInfo-BRmDpamJ.cjs');
|
|
11
11
|
|
|
12
12
|
exports.ChatElementDisplayLocation = require_models.ChatElementDisplayLocation;
|
|
13
13
|
exports.ColorNames = require_types.ColorNames;
|
|
@@ -19,6 +19,7 @@ exports.OrgShortName = require_models.OrgShortName;
|
|
|
19
19
|
exports.ProductExperiment = require_models.ProductExperiment;
|
|
20
20
|
exports.SpiffyEventName = require_models.SpiffyEventName;
|
|
21
21
|
exports.SpiffyWidgets = require_models.SpiffyWidgets;
|
|
22
|
+
exports.VariantTypeEnum = require_variantInfo.VariantTypeEnum;
|
|
22
23
|
exports.colorVar = require_types.colorVar;
|
|
23
24
|
exports.getMerchantColorsQuery = require_graphql.getMerchantColorsQuery;
|
|
24
25
|
exports.getMerchantFrontendConfigQuery = require_graphql.getMerchantFrontendConfigQuery;
|
|
@@ -2,11 +2,11 @@ import { GetMerchantColorsQueryData, GetMerchantFrontendConfigQueryData, Mountin
|
|
|
2
2
|
import { AcceptableFormFieldType, ApiFormResponseAttributes, ApiFormResponseSchemaAttributes, ApiPageResponseAttributes, ApiProductSearchFilterResponseAttributes, ApiReviewResponseAttributes, ApiReviewRichInformation, ApiSearchResponseAttributes, ApiSearchResponseProductAttributes, ApiTextResponseAttributes, FormResponseAttributes, OrderItemInfo, OrderResponseAttributes, PageResponseAttributes, ProductResponseAttributes, Response, ReviewResponseAttributes, ReviewRichInformation, SearchProductFilterAttributes, SearchProductResponseAttributes, SearchResponseAttributes, SearchResponseProductAttributes, SeparatorResponseAttributes, TextResponseAttributes, isApiPDPAttributes, isApiProductResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isSuggestion } from "../../index-CiWEYzXl.cjs";
|
|
3
3
|
import { BuiltIns, CamelCase, CamelCaseOptions, CamelCasedPropertiesDeep, IsLowerCase, IsNumeric, IsUpperCase, NonRecursiveType, Primitive, SplitWords, Trim, UnknownArray, UpperCaseCharacters, Whitespace, WordSeparators } from "../../index-CESxqFso.cjs";
|
|
4
4
|
import { hasPropertyOfType } from "../../utils-B3x_9JTY.cjs";
|
|
5
|
-
import { ApiOrderItemInfo, ApiOrderResponseAttributes, ApiOrganizationConfig, AppLoadedUserEvent, AppUnloadedEvent, BaseEcommerceEvent, CachedValue, ClientDetails, Context, ConversationalSearchIds, DelimiterCase, DelimiterCasedPropertiesDeep, FormField, FormSubmitted, FormSubmittedAttributes, GA4EcommerceEvent, GenerationParams, GoogleAnalyticsEvents, Message, MessageRole, MessageType, MobilePLPChatPlacementParameter, NextMessageRequest, OrgShortName, PDPAttributes, PDPUserEvent, PLPAttributes, PLPUserEvent, PageVisitAttributes, PageVisitEvent, ProductExperiment, ProductMessageMetadata, ProductSearchMessageMetadata, QueryTypedAttributes, QueryTypedUserEvent, SearchAttributes, SearchUserEvent, SnakeCasedPropertiesDeep, SpanxTakeAQuizCtaParameter, SpiffyEventName, SplitIncludingDelimiters, Suggestion, SuggestionClickedAttributes, SuggestionsClickedUserEvent, SupportedEventRequest, UAEcommerceEvent, UserEvent, UserEventAttributes, getMerchantOrgIdQuery, isApiFormResponseAttributes, isApiFormSubmittedResponseAttributes, isApiOrderResponseAttributes, isApiOrgConfigResults, isApiOrganizationConfig, isApiPLPEventAttributes, isApiPLPIdAttribute, isApiPageResponseAttributes, isApiProductSearchFilterResponseAttributes, isBaseEcommerceEvent, isGA4EcommerceEvent, isGraphQLColorsConfig, isLegacyUAEcommerceEvent, isMobilePLPChatPlacementParameter, isSpanxTakeAQuizCtaParameter, isVariantInfo, stringToFulfillmentDisplayStatusEnumValue, transformCamelToSnake, transformSnakeToCamel, validateAndTransformMountingConfig, validateAndTransformPageVariants, validateAndTransformWidgetConfig, validateGraphQLColorsConfig, validateGraphQLFrontendConfig, validateGraphQLOrgId, validateMobilePLPChatPlacementParameter, validateOrgConfigResults, validateOrganizationConfig, validateResponse, validateSuggestion, validateUserEvent } from "../../index-
|
|
5
|
+
import { ApiOrderItemInfo, ApiOrderResponseAttributes, ApiOrganizationConfig, AppLoadedUserEvent, AppUnloadedEvent, BaseEcommerceEvent, CachedValue, ClientDetails, Context, ConversationalSearchIds, DelimiterCase, DelimiterCasedPropertiesDeep, FormField, FormSubmitted, FormSubmittedAttributes, GA4EcommerceEvent, GenerationParams, GoogleAnalyticsEvents, Message, MessageRole, MessageType, MobilePLPChatPlacementParameter, NextMessageRequest, OrgShortName, PDPAttributes, PDPUserEvent, PLPAttributes, PLPUserEvent, PageVisitAttributes, PageVisitEvent, ProductExperiment, ProductMessageMetadata, ProductSearchMessageMetadata, QueryTypedAttributes, QueryTypedUserEvent, SearchAttributes, SearchUserEvent, SnakeCasedPropertiesDeep, SpanxTakeAQuizCtaParameter, SpiffyEventName, SplitIncludingDelimiters, Suggestion, SuggestionClickedAttributes, SuggestionsClickedUserEvent, SupportedEventRequest, UAEcommerceEvent, UserEvent, UserEventAttributes, getMerchantOrgIdQuery, isApiFormResponseAttributes, isApiFormSubmittedResponseAttributes, isApiOrderResponseAttributes, isApiOrgConfigResults, isApiOrganizationConfig, isApiPLPEventAttributes, isApiPLPIdAttribute, isApiPageResponseAttributes, isApiProductSearchFilterResponseAttributes, isBaseEcommerceEvent, isGA4EcommerceEvent, isGraphQLColorsConfig, isLegacyUAEcommerceEvent, isMobilePLPChatPlacementParameter, isSpanxTakeAQuizCtaParameter, isVariantInfo, stringToFulfillmentDisplayStatusEnumValue, transformCamelToSnake, transformSnakeToCamel, validateAndTransformMountingConfig, validateAndTransformPageVariants, validateAndTransformWidgetConfig, validateGraphQLColorsConfig, validateGraphQLFrontendConfig, validateGraphQLOrgId, validateMobilePLPChatPlacementParameter, validateOrgConfigResults, validateOrganizationConfig, validateResponse, validateSuggestion, validateUserEvent } from "../../index-CG3P8xE1.cjs";
|
|
6
6
|
import { ChatElementDisplayLocation } from "../../chatElementDisplayLocation-DWmfNX_u.cjs";
|
|
7
|
-
import { ColorMapping, ColorNames, FeatureGates, FrontendConfig, OrgAnalyticsAmplitudeConfig, OrgAnalyticsConfig, OrgAnalyticsCustomerServiceConfig, OrgAnalyticsGoogleAnalyticsConfig, OrgConfig$1 as OrgConfig, OrgConfigExperiment, OrgConfigFeatureGate, Organization, OrganizationConfig, OrganizationSettings, colorVar } from "../../frontendConfig-
|
|
7
|
+
import { ColorMapping, ColorNames, FeatureGates, FrontendConfig, OrgAnalyticsAmplitudeConfig, OrgAnalyticsConfig, OrgAnalyticsCustomerServiceConfig, OrgAnalyticsGoogleAnalyticsConfig, OrgConfig$1 as OrgConfig, OrgConfigExperiment, OrgConfigFeatureGate, Organization, OrganizationConfig, OrganizationSettings, colorVar } from "../../frontendConfig-tVg0hsWZ.cjs";
|
|
8
8
|
import "../../test-types-ThQiO_cc.cjs";
|
|
9
9
|
import { SpiffyWidgets } from "../../spiffyWidgets-BuS00VaQ.cjs";
|
|
10
10
|
import { ProductSearchResponse, ProductSearchResponseAttributes, SearchParams, SearchResult } from "../../search-y-ioX5Mz.cjs";
|
|
11
|
-
import { PDPVariantInfo, PLPInfo, PLPVariantInfo, PageVisitInfo, PageVisitVariantInfo, ProductInfo, VariantInfo, VariantType } from "../../index-
|
|
12
|
-
export { AcceptableFormFieldType, ApiFormResponseAttributes, ApiFormResponseSchemaAttributes, ApiOrderItemInfo, ApiOrderResponseAttributes, ApiOrganizationConfig, ApiPageResponseAttributes, ApiProductSearchFilterResponseAttributes, ApiReviewResponseAttributes, ApiReviewRichInformation, ApiSearchResponseAttributes, ApiSearchResponseProductAttributes, ApiTextResponseAttributes, AppLoadedUserEvent, AppUnloadedEvent, BaseEcommerceEvent, BuiltIns, CachedValue, CamelCase, CamelCaseOptions, CamelCasedPropertiesDeep, ChatElementDisplayLocation, ClientDetails, ColorMapping, ColorNames, Context, ConversationalSearchIds, DelimiterCase, DelimiterCasedPropertiesDeep, FeatureGates, FormField, FormResponseAttributes, FormSubmitted, FormSubmittedAttributes, FrontendConfig, GA4EcommerceEvent, GenerationParams, GetMerchantColorsQueryData, GetMerchantFrontendConfigQueryData, GoogleAnalyticsEvents, IsLowerCase, IsNumeric, IsUpperCase, Message, MessageRole, MessageType, MobilePLPChatPlacementParameter, MountingConfigQueryData, NextMessageRequest, NonRecursiveType, OrderItemInfo, OrderResponseAttributes, OrgAnalyticsAmplitudeConfig, OrgAnalyticsConfig, OrgAnalyticsCustomerServiceConfig, OrgAnalyticsGoogleAnalyticsConfig, OrgConfig, OrgConfigExperiment, OrgConfigFeatureGate, OrgShortName, Organization, OrganizationConfig, OrganizationSettings, PDPAttributes, PDPUserEvent, PDPVariantInfo, PLPAttributes, PLPInfo, PLPUserEvent, PLPVariantInfo, PageResponseAttributes, PageVariantCheckQueryData, PageVariantQueryData, PageVisitAttributes, PageVisitEvent, PageVisitInfo, PageVisitVariantInfo, Primitive, ProductExperiment, ProductInfo, ProductMessageMetadata, ProductResponseAttributes, ProductSearchMessageMetadata, ProductSearchResponse, ProductSearchResponseAttributes, QueryTypedAttributes, QueryTypedUserEvent, Response, ReviewResponseAttributes, ReviewRichInformation, SearchAttributes, SearchParams, SearchProductFilterAttributes, SearchProductResponseAttributes, SearchResponseAttributes, SearchResponseProductAttributes, SearchResult, SearchUserEvent, SeparatorResponseAttributes, SnakeCasedPropertiesDeep, SpanxTakeAQuizCtaParameter, SpiffyEventName, SpiffyWidgets, SplitIncludingDelimiters, SplitWords, Suggestion, SuggestionClickedAttributes, SuggestionsClickedUserEvent, SupportedEventRequest, TextResponseAttributes, Trim, UAEcommerceEvent, UIConfigQueryData, UnknownArray, UpperCaseCharacters, UserEvent, UserEventAttributes, VariantInfo, VariantType, Whitespace, WidgetConfigQueryData, WidgetMountingQueryData, WordSeparators, colorVar, getMerchantColorsQuery, getMerchantFrontendConfigQuery, getMerchantOrgIdQuery, hasPropertyOfType, isApiFormResponseAttributes, isApiFormSubmittedResponseAttributes, isApiOrderResponseAttributes, isApiOrgConfigResults, isApiOrganizationConfig, isApiPDPAttributes, isApiPLPEventAttributes, isApiPLPIdAttribute, isApiPageResponseAttributes, isApiProductResponseAttributes, isApiProductSearchFilterResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isBaseEcommerceEvent, isGA4EcommerceEvent, isGraphQLColorsConfig, isLegacyUAEcommerceEvent, isMobilePLPChatPlacementParameter, isSpanxTakeAQuizCtaParameter, isSuggestion, isVariantInfo, stringToFulfillmentDisplayStatusEnumValue, transformCamelToSnake, transformSnakeToCamel, validateAndTransformMountingConfig, validateAndTransformPageVariants, validateAndTransformWidgetConfig, validateGraphQLColorsConfig, validateGraphQLFrontendConfig, validateGraphQLOrgId, validateMobilePLPChatPlacementParameter, validateOrgConfigResults, validateOrganizationConfig, validateResponse, validateSuggestion, validateUserEvent };
|
|
11
|
+
import { PDPVariantInfo, PLPInfo, PLPVariantInfo, PageVisitInfo, PageVisitVariantInfo, ProductInfo, VariantInfo, VariantType, VariantTypeEnum } from "../../index-Cyq5HiC0.cjs";
|
|
12
|
+
export { AcceptableFormFieldType, ApiFormResponseAttributes, ApiFormResponseSchemaAttributes, ApiOrderItemInfo, ApiOrderResponseAttributes, ApiOrganizationConfig, ApiPageResponseAttributes, ApiProductSearchFilterResponseAttributes, ApiReviewResponseAttributes, ApiReviewRichInformation, ApiSearchResponseAttributes, ApiSearchResponseProductAttributes, ApiTextResponseAttributes, AppLoadedUserEvent, AppUnloadedEvent, BaseEcommerceEvent, BuiltIns, CachedValue, CamelCase, CamelCaseOptions, CamelCasedPropertiesDeep, ChatElementDisplayLocation, ClientDetails, ColorMapping, ColorNames, Context, ConversationalSearchIds, DelimiterCase, DelimiterCasedPropertiesDeep, FeatureGates, FormField, FormResponseAttributes, FormSubmitted, FormSubmittedAttributes, FrontendConfig, GA4EcommerceEvent, GenerationParams, GetMerchantColorsQueryData, GetMerchantFrontendConfigQueryData, GoogleAnalyticsEvents, IsLowerCase, IsNumeric, IsUpperCase, Message, MessageRole, MessageType, MobilePLPChatPlacementParameter, MountingConfigQueryData, NextMessageRequest, NonRecursiveType, OrderItemInfo, OrderResponseAttributes, OrgAnalyticsAmplitudeConfig, OrgAnalyticsConfig, OrgAnalyticsCustomerServiceConfig, OrgAnalyticsGoogleAnalyticsConfig, OrgConfig, OrgConfigExperiment, OrgConfigFeatureGate, OrgShortName, Organization, OrganizationConfig, OrganizationSettings, PDPAttributes, PDPUserEvent, PDPVariantInfo, PLPAttributes, PLPInfo, PLPUserEvent, PLPVariantInfo, PageResponseAttributes, PageVariantCheckQueryData, PageVariantQueryData, PageVisitAttributes, PageVisitEvent, PageVisitInfo, PageVisitVariantInfo, Primitive, ProductExperiment, ProductInfo, ProductMessageMetadata, ProductResponseAttributes, ProductSearchMessageMetadata, ProductSearchResponse, ProductSearchResponseAttributes, QueryTypedAttributes, QueryTypedUserEvent, Response, ReviewResponseAttributes, ReviewRichInformation, SearchAttributes, SearchParams, SearchProductFilterAttributes, SearchProductResponseAttributes, SearchResponseAttributes, SearchResponseProductAttributes, SearchResult, SearchUserEvent, SeparatorResponseAttributes, SnakeCasedPropertiesDeep, SpanxTakeAQuizCtaParameter, SpiffyEventName, SpiffyWidgets, SplitIncludingDelimiters, SplitWords, Suggestion, SuggestionClickedAttributes, SuggestionsClickedUserEvent, SupportedEventRequest, TextResponseAttributes, Trim, UAEcommerceEvent, UIConfigQueryData, UnknownArray, UpperCaseCharacters, UserEvent, UserEventAttributes, VariantInfo, VariantType, VariantTypeEnum, Whitespace, WidgetConfigQueryData, WidgetMountingQueryData, WordSeparators, colorVar, getMerchantColorsQuery, getMerchantFrontendConfigQuery, getMerchantOrgIdQuery, hasPropertyOfType, isApiFormResponseAttributes, isApiFormSubmittedResponseAttributes, isApiOrderResponseAttributes, isApiOrgConfigResults, isApiOrganizationConfig, isApiPDPAttributes, isApiPLPEventAttributes, isApiPLPIdAttribute, isApiPageResponseAttributes, isApiProductResponseAttributes, isApiProductSearchFilterResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isBaseEcommerceEvent, isGA4EcommerceEvent, isGraphQLColorsConfig, isLegacyUAEcommerceEvent, isMobilePLPChatPlacementParameter, isSpanxTakeAQuizCtaParameter, isSuggestion, isVariantInfo, stringToFulfillmentDisplayStatusEnumValue, transformCamelToSnake, transformSnakeToCamel, validateAndTransformMountingConfig, validateAndTransformPageVariants, validateAndTransformWidgetConfig, validateGraphQLColorsConfig, validateGraphQLFrontendConfig, validateGraphQLOrgId, validateMobilePLPChatPlacementParameter, validateOrgConfigResults, validateOrganizationConfig, validateResponse, validateSuggestion, validateUserEvent };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { GetMerchantColorsQueryData, GetMerchantFrontendConfigQueryData, MountingConfigQueryData, PageVariantCheckQueryData, PageVariantQueryData, UIConfigQueryData, WidgetConfigQueryData, WidgetMountingQueryData, getMerchantColorsQuery, getMerchantFrontendConfigQuery } from "../../index-
|
|
2
|
-
import { AcceptableFormFieldType, ApiFormResponseAttributes, ApiFormResponseSchemaAttributes, ApiPageResponseAttributes, ApiProductSearchFilterResponseAttributes, ApiReviewResponseAttributes, ApiReviewRichInformation, ApiSearchResponseAttributes, ApiSearchResponseProductAttributes, ApiTextResponseAttributes, FormResponseAttributes, OrderItemInfo, OrderResponseAttributes, PageResponseAttributes, ProductResponseAttributes, Response, ReviewResponseAttributes, ReviewRichInformation, SearchProductFilterAttributes, SearchProductResponseAttributes, SearchResponseAttributes, SearchResponseProductAttributes, SeparatorResponseAttributes, TextResponseAttributes, isApiPDPAttributes, isApiProductResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isSuggestion } from "../../index-
|
|
3
|
-
import { BuiltIns, CamelCase, CamelCaseOptions, CamelCasedPropertiesDeep, IsLowerCase, IsNumeric, IsUpperCase, NonRecursiveType, Primitive, SplitWords, Trim, UnknownArray, UpperCaseCharacters, Whitespace, WordSeparators } from "../../index-
|
|
4
|
-
import { hasPropertyOfType } from "../../utils-
|
|
5
|
-
import { ApiOrderItemInfo, ApiOrderResponseAttributes, ApiOrganizationConfig, AppLoadedUserEvent, AppUnloadedEvent, BaseEcommerceEvent, CachedValue, ClientDetails, Context, ConversationalSearchIds, DelimiterCase, DelimiterCasedPropertiesDeep, FormField, FormSubmitted, FormSubmittedAttributes, GA4EcommerceEvent, GenerationParams, GoogleAnalyticsEvents, Message, MessageRole, MessageType, MobilePLPChatPlacementParameter, NextMessageRequest, OrgShortName, PDPAttributes, PDPUserEvent, PLPAttributes, PLPUserEvent, PageVisitAttributes, PageVisitEvent, ProductExperiment, ProductMessageMetadata, ProductSearchMessageMetadata, QueryTypedAttributes, QueryTypedUserEvent, SearchAttributes, SearchUserEvent, SnakeCasedPropertiesDeep, SpanxTakeAQuizCtaParameter, SpiffyEventName, SplitIncludingDelimiters, Suggestion, SuggestionClickedAttributes, SuggestionsClickedUserEvent, SupportedEventRequest, UAEcommerceEvent, UserEvent, UserEventAttributes, getMerchantOrgIdQuery, isApiFormResponseAttributes, isApiFormSubmittedResponseAttributes, isApiOrderResponseAttributes, isApiOrgConfigResults, isApiOrganizationConfig, isApiPLPEventAttributes, isApiPLPIdAttribute, isApiPageResponseAttributes, isApiProductSearchFilterResponseAttributes, isBaseEcommerceEvent, isGA4EcommerceEvent, isGraphQLColorsConfig, isLegacyUAEcommerceEvent, isMobilePLPChatPlacementParameter, isSpanxTakeAQuizCtaParameter, isVariantInfo, stringToFulfillmentDisplayStatusEnumValue, transformCamelToSnake, transformSnakeToCamel, validateAndTransformMountingConfig, validateAndTransformPageVariants, validateAndTransformWidgetConfig, validateGraphQLColorsConfig, validateGraphQLFrontendConfig, validateGraphQLOrgId, validateMobilePLPChatPlacementParameter, validateOrgConfigResults, validateOrganizationConfig, validateResponse, validateSuggestion, validateUserEvent } from "../../index-
|
|
6
|
-
import { ChatElementDisplayLocation } from "../../chatElementDisplayLocation-
|
|
7
|
-
import { ColorMapping, ColorNames, FeatureGates, FrontendConfig, OrgAnalyticsAmplitudeConfig, OrgAnalyticsConfig, OrgAnalyticsCustomerServiceConfig, OrgAnalyticsGoogleAnalyticsConfig, OrgConfig$1 as OrgConfig, OrgConfigExperiment, OrgConfigFeatureGate, Organization, OrganizationConfig, OrganizationSettings, colorVar } from "../../frontendConfig-
|
|
8
|
-
import "../../test-types-
|
|
9
|
-
import { SpiffyWidgets } from "../../spiffyWidgets-
|
|
10
|
-
import { ProductSearchResponse, ProductSearchResponseAttributes, SearchParams, SearchResult } from "../../search-
|
|
11
|
-
import { PDPVariantInfo, PLPInfo, PLPVariantInfo, PageVisitInfo, PageVisitVariantInfo, ProductInfo, VariantInfo, VariantType } from "../../index-
|
|
12
|
-
export { AcceptableFormFieldType, ApiFormResponseAttributes, ApiFormResponseSchemaAttributes, ApiOrderItemInfo, ApiOrderResponseAttributes, ApiOrganizationConfig, ApiPageResponseAttributes, ApiProductSearchFilterResponseAttributes, ApiReviewResponseAttributes, ApiReviewRichInformation, ApiSearchResponseAttributes, ApiSearchResponseProductAttributes, ApiTextResponseAttributes, AppLoadedUserEvent, AppUnloadedEvent, BaseEcommerceEvent, BuiltIns, CachedValue, CamelCase, CamelCaseOptions, CamelCasedPropertiesDeep, ChatElementDisplayLocation, ClientDetails, ColorMapping, ColorNames, Context, ConversationalSearchIds, DelimiterCase, DelimiterCasedPropertiesDeep, FeatureGates, FormField, FormResponseAttributes, FormSubmitted, FormSubmittedAttributes, FrontendConfig, GA4EcommerceEvent, GenerationParams, GetMerchantColorsQueryData, GetMerchantFrontendConfigQueryData, GoogleAnalyticsEvents, IsLowerCase, IsNumeric, IsUpperCase, Message, MessageRole, MessageType, MobilePLPChatPlacementParameter, MountingConfigQueryData, NextMessageRequest, NonRecursiveType, OrderItemInfo, OrderResponseAttributes, OrgAnalyticsAmplitudeConfig, OrgAnalyticsConfig, OrgAnalyticsCustomerServiceConfig, OrgAnalyticsGoogleAnalyticsConfig, OrgConfig, OrgConfigExperiment, OrgConfigFeatureGate, OrgShortName, Organization, OrganizationConfig, OrganizationSettings, PDPAttributes, PDPUserEvent, PDPVariantInfo, PLPAttributes, PLPInfo, PLPUserEvent, PLPVariantInfo, PageResponseAttributes, PageVariantCheckQueryData, PageVariantQueryData, PageVisitAttributes, PageVisitEvent, PageVisitInfo, PageVisitVariantInfo, Primitive, ProductExperiment, ProductInfo, ProductMessageMetadata, ProductResponseAttributes, ProductSearchMessageMetadata, ProductSearchResponse, ProductSearchResponseAttributes, QueryTypedAttributes, QueryTypedUserEvent, Response, ReviewResponseAttributes, ReviewRichInformation, SearchAttributes, SearchParams, SearchProductFilterAttributes, SearchProductResponseAttributes, SearchResponseAttributes, SearchResponseProductAttributes, SearchResult, SearchUserEvent, SeparatorResponseAttributes, SnakeCasedPropertiesDeep, SpanxTakeAQuizCtaParameter, SpiffyEventName, SpiffyWidgets, SplitIncludingDelimiters, SplitWords, Suggestion, SuggestionClickedAttributes, SuggestionsClickedUserEvent, SupportedEventRequest, TextResponseAttributes, Trim, UAEcommerceEvent, UIConfigQueryData, UnknownArray, UpperCaseCharacters, UserEvent, UserEventAttributes, VariantInfo, VariantType, Whitespace, WidgetConfigQueryData, WidgetMountingQueryData, WordSeparators, colorVar, getMerchantColorsQuery, getMerchantFrontendConfigQuery, getMerchantOrgIdQuery, hasPropertyOfType, isApiFormResponseAttributes, isApiFormSubmittedResponseAttributes, isApiOrderResponseAttributes, isApiOrgConfigResults, isApiOrganizationConfig, isApiPDPAttributes, isApiPLPEventAttributes, isApiPLPIdAttribute, isApiPageResponseAttributes, isApiProductResponseAttributes, isApiProductSearchFilterResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isBaseEcommerceEvent, isGA4EcommerceEvent, isGraphQLColorsConfig, isLegacyUAEcommerceEvent, isMobilePLPChatPlacementParameter, isSpanxTakeAQuizCtaParameter, isSuggestion, isVariantInfo, stringToFulfillmentDisplayStatusEnumValue, transformCamelToSnake, transformSnakeToCamel, validateAndTransformMountingConfig, validateAndTransformPageVariants, validateAndTransformWidgetConfig, validateGraphQLColorsConfig, validateGraphQLFrontendConfig, validateGraphQLOrgId, validateMobilePLPChatPlacementParameter, validateOrgConfigResults, validateOrganizationConfig, validateResponse, validateSuggestion, validateUserEvent };
|
|
1
|
+
import { GetMerchantColorsQueryData, GetMerchantFrontendConfigQueryData, MountingConfigQueryData, PageVariantCheckQueryData, PageVariantQueryData, UIConfigQueryData, WidgetConfigQueryData, WidgetMountingQueryData, getMerchantColorsQuery, getMerchantFrontendConfigQuery } from "../../index-hebsV7fc.js";
|
|
2
|
+
import { AcceptableFormFieldType, ApiFormResponseAttributes, ApiFormResponseSchemaAttributes, ApiPageResponseAttributes, ApiProductSearchFilterResponseAttributes, ApiReviewResponseAttributes, ApiReviewRichInformation, ApiSearchResponseAttributes, ApiSearchResponseProductAttributes, ApiTextResponseAttributes, FormResponseAttributes, OrderItemInfo, OrderResponseAttributes, PageResponseAttributes, ProductResponseAttributes, Response, ReviewResponseAttributes, ReviewRichInformation, SearchProductFilterAttributes, SearchProductResponseAttributes, SearchResponseAttributes, SearchResponseProductAttributes, SeparatorResponseAttributes, TextResponseAttributes, isApiPDPAttributes, isApiProductResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isSuggestion } from "../../index-7VOYQNo5.js";
|
|
3
|
+
import { BuiltIns, CamelCase, CamelCaseOptions, CamelCasedPropertiesDeep, IsLowerCase, IsNumeric, IsUpperCase, NonRecursiveType, Primitive, SplitWords, Trim, UnknownArray, UpperCaseCharacters, Whitespace, WordSeparators } from "../../index-L7SEpDLz.js";
|
|
4
|
+
import { hasPropertyOfType } from "../../utils-BLe5oreh.js";
|
|
5
|
+
import { ApiOrderItemInfo, ApiOrderResponseAttributes, ApiOrganizationConfig, AppLoadedUserEvent, AppUnloadedEvent, BaseEcommerceEvent, CachedValue, ClientDetails, Context, ConversationalSearchIds, DelimiterCase, DelimiterCasedPropertiesDeep, FormField, FormSubmitted, FormSubmittedAttributes, GA4EcommerceEvent, GenerationParams, GoogleAnalyticsEvents, Message, MessageRole, MessageType, MobilePLPChatPlacementParameter, NextMessageRequest, OrgShortName, PDPAttributes, PDPUserEvent, PLPAttributes, PLPUserEvent, PageVisitAttributes, PageVisitEvent, ProductExperiment, ProductMessageMetadata, ProductSearchMessageMetadata, QueryTypedAttributes, QueryTypedUserEvent, SearchAttributes, SearchUserEvent, SnakeCasedPropertiesDeep, SpanxTakeAQuizCtaParameter, SpiffyEventName, SplitIncludingDelimiters, Suggestion, SuggestionClickedAttributes, SuggestionsClickedUserEvent, SupportedEventRequest, UAEcommerceEvent, UserEvent, UserEventAttributes, getMerchantOrgIdQuery, isApiFormResponseAttributes, isApiFormSubmittedResponseAttributes, isApiOrderResponseAttributes, isApiOrgConfigResults, isApiOrganizationConfig, isApiPLPEventAttributes, isApiPLPIdAttribute, isApiPageResponseAttributes, isApiProductSearchFilterResponseAttributes, isBaseEcommerceEvent, isGA4EcommerceEvent, isGraphQLColorsConfig, isLegacyUAEcommerceEvent, isMobilePLPChatPlacementParameter, isSpanxTakeAQuizCtaParameter, isVariantInfo, stringToFulfillmentDisplayStatusEnumValue, transformCamelToSnake, transformSnakeToCamel, validateAndTransformMountingConfig, validateAndTransformPageVariants, validateAndTransformWidgetConfig, validateGraphQLColorsConfig, validateGraphQLFrontendConfig, validateGraphQLOrgId, validateMobilePLPChatPlacementParameter, validateOrgConfigResults, validateOrganizationConfig, validateResponse, validateSuggestion, validateUserEvent } from "../../index-YrhxAGtH.js";
|
|
6
|
+
import { ChatElementDisplayLocation } from "../../chatElementDisplayLocation-D6oLuQS4.js";
|
|
7
|
+
import { ColorMapping, ColorNames, FeatureGates, FrontendConfig, OrgAnalyticsAmplitudeConfig, OrgAnalyticsConfig, OrgAnalyticsCustomerServiceConfig, OrgAnalyticsGoogleAnalyticsConfig, OrgConfig$1 as OrgConfig, OrgConfigExperiment, OrgConfigFeatureGate, Organization, OrganizationConfig, OrganizationSettings, colorVar } from "../../frontendConfig-CbyjUXZW.js";
|
|
8
|
+
import "../../test-types-Dl5puRHC.js";
|
|
9
|
+
import { SpiffyWidgets } from "../../spiffyWidgets-DZqG5plz.js";
|
|
10
|
+
import { ProductSearchResponse, ProductSearchResponseAttributes, SearchParams, SearchResult } from "../../search-DYVQuYti.js";
|
|
11
|
+
import { PDPVariantInfo, PLPInfo, PLPVariantInfo, PageVisitInfo, PageVisitVariantInfo, ProductInfo, VariantInfo, VariantType, VariantTypeEnum } from "../../index-exSzn3SP.js";
|
|
12
|
+
export { AcceptableFormFieldType, ApiFormResponseAttributes, ApiFormResponseSchemaAttributes, ApiOrderItemInfo, ApiOrderResponseAttributes, ApiOrganizationConfig, ApiPageResponseAttributes, ApiProductSearchFilterResponseAttributes, ApiReviewResponseAttributes, ApiReviewRichInformation, ApiSearchResponseAttributes, ApiSearchResponseProductAttributes, ApiTextResponseAttributes, AppLoadedUserEvent, AppUnloadedEvent, BaseEcommerceEvent, BuiltIns, CachedValue, CamelCase, CamelCaseOptions, CamelCasedPropertiesDeep, ChatElementDisplayLocation, ClientDetails, ColorMapping, ColorNames, Context, ConversationalSearchIds, DelimiterCase, DelimiterCasedPropertiesDeep, FeatureGates, FormField, FormResponseAttributes, FormSubmitted, FormSubmittedAttributes, FrontendConfig, GA4EcommerceEvent, GenerationParams, GetMerchantColorsQueryData, GetMerchantFrontendConfigQueryData, GoogleAnalyticsEvents, IsLowerCase, IsNumeric, IsUpperCase, Message, MessageRole, MessageType, MobilePLPChatPlacementParameter, MountingConfigQueryData, NextMessageRequest, NonRecursiveType, OrderItemInfo, OrderResponseAttributes, OrgAnalyticsAmplitudeConfig, OrgAnalyticsConfig, OrgAnalyticsCustomerServiceConfig, OrgAnalyticsGoogleAnalyticsConfig, OrgConfig, OrgConfigExperiment, OrgConfigFeatureGate, OrgShortName, Organization, OrganizationConfig, OrganizationSettings, PDPAttributes, PDPUserEvent, PDPVariantInfo, PLPAttributes, PLPInfo, PLPUserEvent, PLPVariantInfo, PageResponseAttributes, PageVariantCheckQueryData, PageVariantQueryData, PageVisitAttributes, PageVisitEvent, PageVisitInfo, PageVisitVariantInfo, Primitive, ProductExperiment, ProductInfo, ProductMessageMetadata, ProductResponseAttributes, ProductSearchMessageMetadata, ProductSearchResponse, ProductSearchResponseAttributes, QueryTypedAttributes, QueryTypedUserEvent, Response, ReviewResponseAttributes, ReviewRichInformation, SearchAttributes, SearchParams, SearchProductFilterAttributes, SearchProductResponseAttributes, SearchResponseAttributes, SearchResponseProductAttributes, SearchResult, SearchUserEvent, SeparatorResponseAttributes, SnakeCasedPropertiesDeep, SpanxTakeAQuizCtaParameter, SpiffyEventName, SpiffyWidgets, SplitIncludingDelimiters, SplitWords, Suggestion, SuggestionClickedAttributes, SuggestionsClickedUserEvent, SupportedEventRequest, TextResponseAttributes, Trim, UAEcommerceEvent, UIConfigQueryData, UnknownArray, UpperCaseCharacters, UserEvent, UserEventAttributes, VariantInfo, VariantType, VariantTypeEnum, Whitespace, WidgetConfigQueryData, WidgetMountingQueryData, WordSeparators, colorVar, getMerchantColorsQuery, getMerchantFrontendConfigQuery, getMerchantOrgIdQuery, hasPropertyOfType, isApiFormResponseAttributes, isApiFormSubmittedResponseAttributes, isApiOrderResponseAttributes, isApiOrgConfigResults, isApiOrganizationConfig, isApiPDPAttributes, isApiPLPEventAttributes, isApiPLPIdAttribute, isApiPageResponseAttributes, isApiProductResponseAttributes, isApiProductSearchFilterResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isBaseEcommerceEvent, isGA4EcommerceEvent, isGraphQLColorsConfig, isLegacyUAEcommerceEvent, isMobilePLPChatPlacementParameter, isSpanxTakeAQuizCtaParameter, isSuggestion, isVariantInfo, stringToFulfillmentDisplayStatusEnumValue, transformCamelToSnake, transformSnakeToCamel, validateAndTransformMountingConfig, validateAndTransformPageVariants, validateAndTransformWidgetConfig, validateGraphQLColorsConfig, validateGraphQLFrontendConfig, validateGraphQLOrgId, validateMobilePLPChatPlacementParameter, validateOrgConfigResults, validateOrganizationConfig, validateResponse, validateSuggestion, validateUserEvent };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ColorNames, colorVar } from "../../types-D3uOF0Oy.js";
|
|
2
2
|
import { ChatElementDisplayLocation, GoogleAnalyticsEvents, MessageRole, MessageType, OrgShortName, ProductExperiment, SpiffyEventName, SpiffyWidgets, getMerchantOrgIdQuery, isApiFormResponseAttributes, isApiFormSubmittedResponseAttributes, isApiOrderResponseAttributes, isApiOrgConfigResults, isApiOrganizationConfig, isApiPLPEventAttributes, isApiPLPIdAttribute, isApiPageResponseAttributes, isApiProductSearchFilterResponseAttributes, isBaseEcommerceEvent, isGA4EcommerceEvent, isGraphQLColorsConfig, isLegacyUAEcommerceEvent, isMobilePLPChatPlacementParameter, isSpanxTakeAQuizCtaParameter, isVariantInfo, stringToFulfillmentDisplayStatusEnumValue, transformCamelToSnake, transformSnakeToCamel, validateAndTransformMountingConfig, validateAndTransformPageVariants, validateAndTransformWidgetConfig, validateGraphQLColorsConfig, validateGraphQLFrontendConfig, validateGraphQLOrgId, validateMobilePLPChatPlacementParameter, validateOrgConfigResults, validateOrganizationConfig, validateResponse, validateSuggestion, validateUserEvent } from "../../models-CgvSM2fW.js";
|
|
3
|
-
import { FeatureGates } from "../../featureGates-
|
|
3
|
+
import { FeatureGates } from "../../featureGates-DhoJq4io.js";
|
|
4
4
|
import "../../urlsParser-DUgV_Qy9.js";
|
|
5
5
|
import { getMerchantColorsQuery, getMerchantFrontendConfigQuery } from "../../graphql-W7GMIHUu.js";
|
|
6
6
|
import { hasPropertyOfType } from "../../utils-ARmpTh1O.js";
|
|
7
7
|
import { isApiPDPAttributes, isApiProductResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isSuggestion } from "../../api-D9gmGNAV.js";
|
|
8
8
|
import "../../logger-oAgZx2-m.js";
|
|
9
9
|
import "../../utilityTypes-DynzxjK3.js";
|
|
10
|
-
import "../../variantInfo-
|
|
10
|
+
import { VariantTypeEnum } from "../../variantInfo-BwBBEWSA.js";
|
|
11
11
|
|
|
12
|
-
export { ChatElementDisplayLocation, ColorNames, FeatureGates, GoogleAnalyticsEvents, MessageRole, MessageType, OrgShortName, ProductExperiment, SpiffyEventName, SpiffyWidgets, colorVar, getMerchantColorsQuery, getMerchantFrontendConfigQuery, getMerchantOrgIdQuery, hasPropertyOfType, isApiFormResponseAttributes, isApiFormSubmittedResponseAttributes, isApiOrderResponseAttributes, isApiOrgConfigResults, isApiOrganizationConfig, isApiPDPAttributes, isApiPLPEventAttributes, isApiPLPIdAttribute, isApiPageResponseAttributes, isApiProductResponseAttributes, isApiProductSearchFilterResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isBaseEcommerceEvent, isGA4EcommerceEvent, isGraphQLColorsConfig, isLegacyUAEcommerceEvent, isMobilePLPChatPlacementParameter, isSpanxTakeAQuizCtaParameter, isSuggestion, isVariantInfo, stringToFulfillmentDisplayStatusEnumValue, transformCamelToSnake, transformSnakeToCamel, validateAndTransformMountingConfig, validateAndTransformPageVariants, validateAndTransformWidgetConfig, validateGraphQLColorsConfig, validateGraphQLFrontendConfig, validateGraphQLOrgId, validateMobilePLPChatPlacementParameter, validateOrgConfigResults, validateOrganizationConfig, validateResponse, validateSuggestion, validateUserEvent };
|
|
12
|
+
export { ChatElementDisplayLocation, ColorNames, FeatureGates, GoogleAnalyticsEvents, MessageRole, MessageType, OrgShortName, ProductExperiment, SpiffyEventName, SpiffyWidgets, VariantTypeEnum, colorVar, getMerchantColorsQuery, getMerchantFrontendConfigQuery, getMerchantOrgIdQuery, hasPropertyOfType, isApiFormResponseAttributes, isApiFormSubmittedResponseAttributes, isApiOrderResponseAttributes, isApiOrgConfigResults, isApiOrganizationConfig, isApiPDPAttributes, isApiPLPEventAttributes, isApiPLPIdAttribute, isApiPageResponseAttributes, isApiProductResponseAttributes, isApiProductSearchFilterResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isBaseEcommerceEvent, isGA4EcommerceEvent, isGraphQLColorsConfig, isLegacyUAEcommerceEvent, isMobilePLPChatPlacementParameter, isSpanxTakeAQuizCtaParameter, isSuggestion, isVariantInfo, stringToFulfillmentDisplayStatusEnumValue, transformCamelToSnake, transformSnakeToCamel, validateAndTransformMountingConfig, validateAndTransformPageVariants, validateAndTransformWidgetConfig, validateGraphQLColorsConfig, validateGraphQLFrontendConfig, validateGraphQLOrgId, validateMobilePLPChatPlacementParameter, validateOrgConfigResults, validateOrganizationConfig, validateResponse, validateSuggestion, validateUserEvent };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CamelCasedPropertiesDeep } from "../../../index-
|
|
1
|
+
import { CamelCasedPropertiesDeep } from "../../../index-L7SEpDLz.js";
|
|
2
2
|
export { CamelCasedPropertiesDeep };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { PDPVariantInfo, PLPVariantInfo, PageVisitVariantInfo, VariantInfo, VariantType } from "../../../index-
|
|
2
|
-
export { PDPVariantInfo, PLPVariantInfo, PageVisitVariantInfo, VariantInfo, VariantType };
|
|
1
|
+
import { PDPVariantInfo, PLPVariantInfo, PageVisitVariantInfo, VariantInfo, VariantType, VariantTypeEnum } from "../../../index-Cyq5HiC0.cjs";
|
|
2
|
+
export { PDPVariantInfo, PLPVariantInfo, PageVisitVariantInfo, VariantInfo, VariantType, VariantTypeEnum };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { PDPVariantInfo, PLPVariantInfo, PageVisitVariantInfo, VariantInfo, VariantType } from "../../../index-
|
|
2
|
-
export { PDPVariantInfo, PLPVariantInfo, PageVisitVariantInfo, VariantInfo, VariantType };
|
|
1
|
+
import { PDPVariantInfo, PLPVariantInfo, PageVisitVariantInfo, VariantInfo, VariantType, VariantTypeEnum } from "../../../index-exSzn3SP.js";
|
|
2
|
+
export { PDPVariantInfo, PLPVariantInfo, PageVisitVariantInfo, VariantInfo, VariantType, VariantTypeEnum };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../../../variantInfo-
|
|
1
|
+
import { VariantTypeEnum } from "../../../variantInfo-BwBBEWSA.js";
|
|
2
2
|
|
|
3
|
-
export {
|
|
3
|
+
export { VariantTypeEnum };
|
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
require('../../types-BwNrLPSZ.cjs');
|
|
2
2
|
require('../../events-B_fJZf9E.cjs');
|
|
3
3
|
require('../../models-B1P-dSCW.cjs');
|
|
4
|
-
require('../../featureGates-
|
|
4
|
+
require('../../featureGates-BdvOVv8N.cjs');
|
|
5
5
|
const require_urlsParser = require('../../urlsParser-BV5yF8sa.cjs');
|
|
6
6
|
require('../../graphql-B9HhDXYt.cjs');
|
|
7
7
|
require('../../utils-Cavu4XiM.cjs');
|
|
8
8
|
require('../../api-Bc3_julZ.cjs');
|
|
9
9
|
require('../../logger-Cp7J4YJT.cjs');
|
|
10
10
|
require('../../utilityTypes-xb8SjKSV.cjs');
|
|
11
|
-
require('../../variantInfo-
|
|
11
|
+
require('../../variantInfo-BRmDpamJ.cjs');
|
|
12
12
|
require('../../localStorageContext-cnMYDllE.cjs');
|
|
13
13
|
require('../../enviveConfig-D8vcVPWD.cjs');
|
|
14
|
-
require('../../
|
|
15
|
-
require('../../
|
|
16
|
-
require('../../
|
|
14
|
+
require('../../graphqlConfig-DZHeFKDY.cjs');
|
|
15
|
+
const require_utils$1 = require('../../utils-VI19AC8S.cjs');
|
|
16
|
+
require('../../atomStore-8ppNkJ_n.cjs');
|
|
17
17
|
require('../../enviveConfigContext-C8cCcdKU.cjs');
|
|
18
|
-
require('../../
|
|
19
|
-
const
|
|
20
|
-
const require_domObserver = require('../../domObserver-CwieVNgj.cjs');
|
|
18
|
+
require('../../featureFlagServiceContext-DFb-uLHN.cjs');
|
|
19
|
+
const require_domObserver = require('../../domObserver-Do6RAJdf.cjs');
|
|
21
20
|
|
|
22
21
|
exports.DOMObserver = require_domObserver.DOMObserver;
|
|
23
22
|
exports.ElementObserver = require_domObserver.ElementObserver;
|
|
@@ -2,17 +2,17 @@ import "../../index-Bmub8e38.cjs";
|
|
|
2
2
|
import { FormResponseAttributes, Response as Response$1 } from "../../index-CiWEYzXl.cjs";
|
|
3
3
|
import "../../index-CESxqFso.cjs";
|
|
4
4
|
import "../../utils-B3x_9JTY.cjs";
|
|
5
|
-
import { Context as Context$1, Message, MessageRole, NextMessageRequest as NextMessageRequest$1, ProductSearchMessageMetadata, Suggestion as Suggestion$1, SupportedEventRequest as SupportedEventRequest$1, UserEvent as UserEvent$1 } from "../../index-
|
|
5
|
+
import { Context as Context$1, Message, MessageRole, NextMessageRequest as NextMessageRequest$1, ProductSearchMessageMetadata, Suggestion as Suggestion$1, SupportedEventRequest as SupportedEventRequest$1, UserEvent as UserEvent$1 } from "../../index-CG3P8xE1.cjs";
|
|
6
6
|
import "../../chatElementDisplayLocation-DWmfNX_u.cjs";
|
|
7
|
-
import "../../frontendConfig-
|
|
7
|
+
import "../../frontendConfig-tVg0hsWZ.cjs";
|
|
8
8
|
import "../../test-types-ThQiO_cc.cjs";
|
|
9
9
|
import "../../spiffyWidgets-BuS00VaQ.cjs";
|
|
10
10
|
import "../../search-y-ioX5Mz.cjs";
|
|
11
|
-
import "../../index-
|
|
11
|
+
import "../../index-Cyq5HiC0.cjs";
|
|
12
12
|
import { SpiffyMetricsEventName } from "../../amplitudeContext-B73xamNe.cjs";
|
|
13
13
|
import { MouseEventTypes, NodeSelector, SelectorFactory } from "../../nodeSelector-B3bPtEjX.cjs";
|
|
14
14
|
import { Context, NextMessageRequest, SupportedEventRequest, UserEvent } from "@spiffy-ai/commerce-api-client";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react2 from "react";
|
|
16
16
|
import { ReactElement } from "react";
|
|
17
17
|
|
|
18
18
|
//#region src/application/utils/analyticsUtils.d.ts
|
|
@@ -81,7 +81,7 @@ declare class ElementObserver {
|
|
|
81
81
|
init(): void;
|
|
82
82
|
watch(node: Node): void;
|
|
83
83
|
destroy(): void;
|
|
84
|
-
render(fn: () => ReactElement):
|
|
84
|
+
render(fn: () => ReactElement): react2.ReactPortal | undefined;
|
|
85
85
|
fire(event: MouseEventTypes): void;
|
|
86
86
|
show(): void;
|
|
87
87
|
hide(): void;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import "../../index-
|
|
2
|
-
import { FormResponseAttributes, Response as Response$1 } from "../../index-
|
|
3
|
-
import "../../index-
|
|
4
|
-
import "../../utils-
|
|
5
|
-
import { Context as Context$1, Message, MessageRole, NextMessageRequest as NextMessageRequest$1, ProductSearchMessageMetadata, Suggestion as Suggestion$1, SupportedEventRequest as SupportedEventRequest$1, UserEvent as UserEvent$1 } from "../../index-
|
|
6
|
-
import "../../chatElementDisplayLocation-
|
|
7
|
-
import "../../frontendConfig-
|
|
8
|
-
import "../../test-types-
|
|
9
|
-
import "../../spiffyWidgets-
|
|
10
|
-
import "../../search-
|
|
11
|
-
import "../../index-
|
|
12
|
-
import { SpiffyMetricsEventName } from "../../amplitudeContext-
|
|
13
|
-
import { MouseEventTypes, NodeSelector, SelectorFactory } from "../../nodeSelector-
|
|
1
|
+
import "../../index-hebsV7fc.js";
|
|
2
|
+
import { FormResponseAttributes, Response as Response$1 } from "../../index-7VOYQNo5.js";
|
|
3
|
+
import "../../index-L7SEpDLz.js";
|
|
4
|
+
import "../../utils-BLe5oreh.js";
|
|
5
|
+
import { Context as Context$1, Message, MessageRole, NextMessageRequest as NextMessageRequest$1, ProductSearchMessageMetadata, Suggestion as Suggestion$1, SupportedEventRequest as SupportedEventRequest$1, UserEvent as UserEvent$1 } from "../../index-YrhxAGtH.js";
|
|
6
|
+
import "../../chatElementDisplayLocation-D6oLuQS4.js";
|
|
7
|
+
import "../../frontendConfig-CbyjUXZW.js";
|
|
8
|
+
import "../../test-types-Dl5puRHC.js";
|
|
9
|
+
import "../../spiffyWidgets-DZqG5plz.js";
|
|
10
|
+
import "../../search-DYVQuYti.js";
|
|
11
|
+
import "../../index-exSzn3SP.js";
|
|
12
|
+
import { SpiffyMetricsEventName } from "../../amplitudeContext-BfRDG5CX.js";
|
|
13
|
+
import { MouseEventTypes, NodeSelector, SelectorFactory } from "../../nodeSelector-DQicm08Y.js";
|
|
14
14
|
import { Context, NextMessageRequest, SupportedEventRequest, UserEvent } from "@spiffy-ai/commerce-api-client";
|
|
15
|
-
import * as
|
|
15
|
+
import * as react0 from "react";
|
|
16
16
|
import { ReactElement } from "react";
|
|
17
17
|
|
|
18
18
|
//#region src/application/utils/analyticsUtils.d.ts
|
|
@@ -81,7 +81,7 @@ declare class ElementObserver {
|
|
|
81
81
|
init(): void;
|
|
82
82
|
watch(node: Node): void;
|
|
83
83
|
destroy(): void;
|
|
84
|
-
render(fn: () => ReactElement):
|
|
84
|
+
render(fn: () => ReactElement): react0.ReactPortal | undefined;
|
|
85
85
|
fire(event: MouseEventTypes): void;
|
|
86
86
|
show(): void;
|
|
87
87
|
hide(): void;
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import "../../types-D3uOF0Oy.js";
|
|
2
2
|
import "../../events-BHJJjPDN.js";
|
|
3
3
|
import "../../models-CgvSM2fW.js";
|
|
4
|
-
import "../../featureGates-
|
|
4
|
+
import "../../featureGates-DhoJq4io.js";
|
|
5
5
|
import { buildSearchHash, buildSearchStartHash, createUrlWithQueryParams, getQueryParam, parseHref, parseSearchHash } from "../../urlsParser-DUgV_Qy9.js";
|
|
6
6
|
import "../../graphql-W7GMIHUu.js";
|
|
7
7
|
import "../../utils-ARmpTh1O.js";
|
|
8
8
|
import "../../api-D9gmGNAV.js";
|
|
9
9
|
import "../../logger-oAgZx2-m.js";
|
|
10
10
|
import "../../utilityTypes-DynzxjK3.js";
|
|
11
|
-
import "../../variantInfo-
|
|
11
|
+
import "../../variantInfo-BwBBEWSA.js";
|
|
12
12
|
import "../../localStorageContext-Dwgto93_.js";
|
|
13
13
|
import "../../enviveConfig-BSfyz_pm.js";
|
|
14
|
-
import "../../
|
|
15
|
-
import "../../
|
|
16
|
-
import "../../
|
|
14
|
+
import "../../graphqlConfig-Xk--JbPl.js";
|
|
15
|
+
import { NodeSelector, SelectorFactory, StringUtils, applyOverrides, coreContextToApiContext, coreSupportedEventRequestToApiRequest, coreUserEventToApiUserEvent, divideArray, getRecentProductImageUrls, initAmplitude, initDataLayerWrapper, messageFromFormSubmittedEvent, messageFromQueryEvent, messageFromResponse, messageFromSuggestionEvent, messageRequestToCommerceMessageRequest, prepareMerchantPage, validateEmail } from "../../utils-V1YTUQng.js";
|
|
16
|
+
import "../../atomStore-BLYJ2ZoQ.js";
|
|
17
17
|
import "../../enviveConfigContext-CJqpRSKu.js";
|
|
18
|
-
import "../../
|
|
19
|
-
import {
|
|
20
|
-
import { DOMObserver, ElementObserver, MutationHelper } from "../../domObserver-B19-69gW.js";
|
|
18
|
+
import "../../featureFlagServiceContext-Dd_Hbq6e.js";
|
|
19
|
+
import { DOMObserver, ElementObserver, MutationHelper } from "../../domObserver-DKcas6tl.js";
|
|
21
20
|
|
|
22
21
|
export { DOMObserver, ElementObserver, MutationHelper, NodeSelector, SelectorFactory, StringUtils, applyOverrides, buildSearchHash, buildSearchStartHash, coreContextToApiContext, coreSupportedEventRequestToApiRequest, coreUserEventToApiUserEvent, createUrlWithQueryParams, divideArray, getQueryParam, getRecentProductImageUrls, initAmplitude, initDataLayerWrapper, messageFromFormSubmittedEvent, messageFromQueryEvent, messageFromResponse, messageFromSuggestionEvent, messageRequestToCommerceMessageRequest, parseHref, parseSearchHash, prepareMerchantPage, validateEmail };
|
|
@@ -55,4 +55,4 @@ Object.defineProperty(exports, 'setAtomStoreForTesting', {
|
|
|
55
55
|
return setAtomStoreForTesting;
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
58
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXRvbVN0b3JlLThwcE5rSl9uLmN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0b21TdG9yZSA9IG51bGw7XG59O1xuXG5leHBvcnQgY29uc3Qgc2Vzc2lvblN0b3JhZ2VVdGlsID0gY3JlYXRlSlNPTlN0b3JhZ2U8c3RyaW5nIHwgdW5kZWZpbmVkPigoKSA9PiBzZXNzaW9uU3RvcmFnZSk7XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSxJQUFJQSxZQUE4QjtBQUVsQyxNQUFhLHFCQUFnQztBQUMzQyxLQUFJLENBQUMsVUFDSCx5Q0FBNkI7QUFFL0IsUUFBTzs7Ozs7Ozs7O0FBVVQsTUFBYSwwQkFBMEIsVUFBcUI7QUFDMUQsYUFBWTs7Ozs7OztBQVFkLE1BQWEsdUJBQXVCO0FBQ2xDLGFBQVk7O0FBR2QsTUFBYSw4REFBaUUsZUFBZSJ9
|
|
@@ -29,4 +29,4 @@ const sessionStorageUtil = createJSONStorage(() => sessionStorage);
|
|
|
29
29
|
|
|
30
30
|
//#endregion
|
|
31
31
|
export { getAtomStore, resetAtomStore, sessionStorageUtil, setAtomStoreForTesting };
|
|
32
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
32
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXRvbVN0b3JlLUJMWUoyWm9RLmpzIiwibmFtZXMiOlsiYXRvbVN0b3JlOiBBdG9tU3RvcmUgfCBudWxsIl0sInNvdXJjZXMiOlsiLi4vc3JjL2F0b21zL2F0b21TdG9yZS9hdG9tU3RvcmUudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgZ2V0RGVmYXVsdFN0b3JlIH0gZnJvbSAnam90YWknO1xuaW1wb3J0IHsgY3JlYXRlSlNPTlN0b3JhZ2UgfSBmcm9tICdqb3RhaS91dGlscyc7XG5cbmV4cG9ydCB0eXBlIEF0b21TdG9yZSA9IFJldHVyblR5cGU8dHlwZW9mIGdldERlZmF1bHRTdG9yZT47XG5sZXQgY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