@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
|
@@ -7,9 +7,9 @@ import "../../frontendConfig-cPvCTWm6.js";
|
|
|
7
7
|
import "../../types-TD8g7LnH.js";
|
|
8
8
|
import "../../test-types-C9b_OdfO.js";
|
|
9
9
|
import { VariantInfo } from "../../index-Cqg6ltII.js";
|
|
10
|
-
import { variantInfoAtom } from "../../variant-
|
|
11
|
-
import { ContextEnvEnum, ContextSourceEnum } from "@spiffy-ai/commerce-api-client";
|
|
10
|
+
import { variantInfoAtom } from "../../variant-DTEqSBHd.js";
|
|
12
11
|
import * as jotai0 from "jotai";
|
|
12
|
+
import { ContextEnvEnum, ContextSourceEnum } from "@spiffy-ai/commerce-api-client";
|
|
13
13
|
import * as jotai_utils0 from "jotai/utils";
|
|
14
14
|
|
|
15
15
|
//#region src/atoms/app/index.d.ts
|
package/dist/atoms/app/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../../
|
|
2
|
-
import "../../
|
|
3
|
-
import { appDetailsAtom, appSourceAtom, chatIdAtom, envAtom, userIdAtom, variantInfoAtom } from "../../
|
|
4
|
-
import "../../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 { appDetailsAtom, appSourceAtom, chatIdAtom, envAtom, userIdAtom, variantInfoAtom } from "../../chat-H6YcCS4I.js";
|
|
4
|
+
import "../../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
|
|
|
12
12
|
export { appDetailsAtom, appSourceAtom, chatIdAtom, envAtom, userIdAtom, variantInfoAtom };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getAtomStore, resetAtomStore, sessionStorageUtil, setAtomStoreForTesting } from "../../atomStore-
|
|
1
|
+
import { getAtomStore, resetAtomStore, sessionStorageUtil, setAtomStoreForTesting } from "../../atomStore-TnLPtYns.js";
|
|
2
2
|
import "../../atomStore-FSZd_20F.js";
|
|
3
3
|
|
|
4
4
|
export { getAtomStore, resetAtomStore, sessionStorageUtil, setAtomStoreForTesting };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
require('../../
|
|
2
|
-
require('../../
|
|
3
|
-
const
|
|
4
|
-
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
|
+
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
|
|
|
12
|
-
exports.APP_INITIAL_START_TIME_KEY =
|
|
13
|
-
exports.PAGE_LOAD_OFFSET_TIME_KEY =
|
|
14
|
-
exports.PerfMetricsEvents =
|
|
15
|
-
exports.addWidget =
|
|
16
|
-
exports.appInitialStartTimeMsAtom =
|
|
17
|
-
exports.askQuestionBtnClickedAtom =
|
|
18
|
-
exports.chatAtom =
|
|
19
|
-
exports.chatIsOpenAtom =
|
|
20
|
-
exports.chatOnToggleAtom =
|
|
21
|
-
exports.formSubmitAtom =
|
|
22
|
-
exports.handleFormSubmittedAtom =
|
|
23
|
-
exports.handleReplyAtom =
|
|
24
|
-
exports.handleSuggestionAtom =
|
|
25
|
-
exports.hasReportedPerformanceMetricsAtom =
|
|
26
|
-
exports.lastAssistantMessageAtom =
|
|
27
|
-
exports.logPerfMetricAtom =
|
|
28
|
-
exports.messagesAtom =
|
|
29
|
-
exports.pageLoadOffsetTimeAtom =
|
|
30
|
-
exports.performanceMetricsAtom =
|
|
31
|
-
exports.replyEventCategoryAtom =
|
|
32
|
-
exports.requestFailureAtom =
|
|
33
|
-
exports.resetPerformanceMetricsAtom =
|
|
34
|
-
exports.responseStreamingAtom =
|
|
35
|
-
exports.suggestionAtom =
|
|
36
|
-
exports.suggestionsAtom =
|
|
37
|
-
exports.suggestionsLoadingAtom =
|
|
38
|
-
exports.userEventsAtom =
|
|
39
|
-
exports.userHasRepliedAtom =
|
|
40
|
-
exports.userQueryAtom =
|
|
41
|
-
exports.widgetArrayAtom =
|
|
12
|
+
exports.APP_INITIAL_START_TIME_KEY = require_chat.APP_INITIAL_START_TIME_KEY;
|
|
13
|
+
exports.PAGE_LOAD_OFFSET_TIME_KEY = require_chat.PAGE_LOAD_OFFSET_TIME_KEY;
|
|
14
|
+
exports.PerfMetricsEvents = require_chat.PerfMetricsEvents;
|
|
15
|
+
exports.addWidget = require_chat.addWidget;
|
|
16
|
+
exports.appInitialStartTimeMsAtom = require_chat.appInitialStartTimeMsAtom;
|
|
17
|
+
exports.askQuestionBtnClickedAtom = require_chat.askQuestionBtnClickedAtom;
|
|
18
|
+
exports.chatAtom = require_chat.chatAtom;
|
|
19
|
+
exports.chatIsOpenAtom = require_chat.chatIsOpenAtom;
|
|
20
|
+
exports.chatOnToggleAtom = require_chat.chatOnToggleAtom;
|
|
21
|
+
exports.formSubmitAtom = require_chat.formSubmitAtom;
|
|
22
|
+
exports.handleFormSubmittedAtom = require_chat.handleFormSubmittedAtom;
|
|
23
|
+
exports.handleReplyAtom = require_chat.handleReplyAtom;
|
|
24
|
+
exports.handleSuggestionAtom = require_chat.handleSuggestionAtom;
|
|
25
|
+
exports.hasReportedPerformanceMetricsAtom = require_chat.hasReportedPerformanceMetricsAtom;
|
|
26
|
+
exports.lastAssistantMessageAtom = require_chat.lastAssistantMessageAtom;
|
|
27
|
+
exports.logPerfMetricAtom = require_chat.logPerfMetricAtom;
|
|
28
|
+
exports.messagesAtom = require_chat.messagesAtom;
|
|
29
|
+
exports.pageLoadOffsetTimeAtom = require_chat.pageLoadOffsetTimeAtom;
|
|
30
|
+
exports.performanceMetricsAtom = require_chat.performanceMetricsAtom;
|
|
31
|
+
exports.replyEventCategoryAtom = require_chat.replyEventCategoryAtom;
|
|
32
|
+
exports.requestFailureAtom = require_chat.requestFailureAtom;
|
|
33
|
+
exports.resetPerformanceMetricsAtom = require_chat.resetPerformanceMetricsAtom;
|
|
34
|
+
exports.responseStreamingAtom = require_chat.responseStreamingAtom;
|
|
35
|
+
exports.suggestionAtom = require_chat.suggestionAtom;
|
|
36
|
+
exports.suggestionsAtom = require_chat.suggestionsAtom;
|
|
37
|
+
exports.suggestionsLoadingAtom = require_chat.suggestionsLoadingAtom;
|
|
38
|
+
exports.userEventsAtom = require_chat.userEventsAtom;
|
|
39
|
+
exports.userHasRepliedAtom = require_chat.userHasRepliedAtom;
|
|
40
|
+
exports.userQueryAtom = require_chat.userQueryAtom;
|
|
41
|
+
exports.widgetArrayAtom = require_chat.widgetArrayAtom;
|
|
@@ -8,51 +8,51 @@ import "../../types-BE4faOO_.cjs";
|
|
|
8
8
|
import "../../test-types-CpKCxk8U.cjs";
|
|
9
9
|
import "../../index-hdbCEjYy.cjs";
|
|
10
10
|
import * as _spiffy_ai_commerce_api_client0 from "@spiffy-ai/commerce-api-client";
|
|
11
|
-
import * as
|
|
11
|
+
import * as jotai21 from "jotai";
|
|
12
12
|
import * as jotai_utils1 from "jotai/utils";
|
|
13
13
|
import { UserEventCategory as UserEventCategory$1 } from "@spiffy-ai/commerce-api-client/dist/models/UserEventCategory";
|
|
14
14
|
|
|
15
15
|
//#region src/atoms/chat/chatState.d.ts
|
|
16
|
-
declare const userHasRepliedAtom:
|
|
16
|
+
declare const userHasRepliedAtom: jotai21.PrimitiveAtom<boolean> & {
|
|
17
17
|
init: boolean;
|
|
18
18
|
};
|
|
19
|
-
declare const replyEventCategoryAtom:
|
|
19
|
+
declare const replyEventCategoryAtom: jotai21.PrimitiveAtom<UserEventCategory$1> & {
|
|
20
20
|
init: UserEventCategory$1;
|
|
21
21
|
};
|
|
22
|
-
declare const userQueryAtom:
|
|
22
|
+
declare const userQueryAtom: jotai21.PrimitiveAtom<string | undefined> & {
|
|
23
23
|
init: string | undefined;
|
|
24
24
|
};
|
|
25
|
-
declare const suggestionAtom:
|
|
25
|
+
declare const suggestionAtom: jotai21.PrimitiveAtom<Suggestion$1 | undefined> & {
|
|
26
26
|
init: Suggestion$1 | undefined;
|
|
27
27
|
};
|
|
28
|
-
declare const askQuestionBtnClickedAtom:
|
|
28
|
+
declare const askQuestionBtnClickedAtom: jotai21.PrimitiveAtom<boolean> & {
|
|
29
29
|
init: boolean;
|
|
30
30
|
};
|
|
31
|
-
declare const messagesAtom:
|
|
31
|
+
declare const messagesAtom: jotai21.PrimitiveAtom<Message[][]> & {
|
|
32
32
|
init: Message[][];
|
|
33
33
|
};
|
|
34
|
-
declare const userEventsAtom:
|
|
34
|
+
declare const userEventsAtom: jotai21.PrimitiveAtom<UserEvent$1[]> & {
|
|
35
35
|
init: UserEvent$1[];
|
|
36
36
|
};
|
|
37
|
-
declare const suggestionsAtom:
|
|
37
|
+
declare const suggestionsAtom: jotai21.PrimitiveAtom<Suggestion$1[]> & {
|
|
38
38
|
init: Suggestion$1[];
|
|
39
39
|
};
|
|
40
|
-
declare const suggestionsLoadingAtom:
|
|
40
|
+
declare const suggestionsLoadingAtom: jotai21.PrimitiveAtom<boolean> & {
|
|
41
41
|
init: boolean;
|
|
42
42
|
};
|
|
43
|
-
declare const responseStreamingAtom:
|
|
43
|
+
declare const responseStreamingAtom: jotai21.PrimitiveAtom<boolean> & {
|
|
44
44
|
init: boolean;
|
|
45
45
|
};
|
|
46
|
-
declare const chatIsOpenAtom:
|
|
46
|
+
declare const chatIsOpenAtom: jotai21.PrimitiveAtom<boolean> & {
|
|
47
47
|
init: boolean;
|
|
48
48
|
};
|
|
49
|
-
declare const requestFailureAtom:
|
|
49
|
+
declare const requestFailureAtom: jotai21.PrimitiveAtom<boolean> & {
|
|
50
50
|
init: boolean;
|
|
51
51
|
};
|
|
52
|
-
declare const formSubmitAtom:
|
|
52
|
+
declare const formSubmitAtom: jotai21.PrimitiveAtom<FormSubmittedAttributes$1 | undefined> & {
|
|
53
53
|
init: FormSubmittedAttributes$1 | undefined;
|
|
54
54
|
};
|
|
55
|
-
declare const chatOnToggleAtom:
|
|
55
|
+
declare const chatOnToggleAtom: jotai21.WritableAtom<null, [triggerLocation?: ChatElementDisplayLocation | undefined], void> & {
|
|
56
56
|
init: null;
|
|
57
57
|
};
|
|
58
58
|
//#endregion
|
|
@@ -61,7 +61,7 @@ type HandleReplyParams = {
|
|
|
61
61
|
message: Message;
|
|
62
62
|
userTyped: boolean;
|
|
63
63
|
};
|
|
64
|
-
declare const handleReplyAtom:
|
|
64
|
+
declare const handleReplyAtom: jotai21.WritableAtom<null, [HandleReplyParams], void> & {
|
|
65
65
|
init: null;
|
|
66
66
|
};
|
|
67
67
|
//#endregion
|
|
@@ -87,8 +87,8 @@ declare enum PerfMetricsEvents {
|
|
|
87
87
|
BottomSuggestionsBarRendered = "bottom_suggestions_bar_rendered_ms",
|
|
88
88
|
SearchPromptRendered = "search_prompt_rendered_ms",
|
|
89
89
|
}
|
|
90
|
-
declare const appInitialStartTimeMsAtom:
|
|
91
|
-
declare const pageLoadOffsetTimeAtom:
|
|
90
|
+
declare const appInitialStartTimeMsAtom: jotai21.WritableAtom<string | undefined, [string | typeof jotai_utils1.RESET | ((prev: string | undefined) => string | typeof jotai_utils1.RESET | undefined) | undefined], void>;
|
|
91
|
+
declare const pageLoadOffsetTimeAtom: jotai21.WritableAtom<string | undefined, [string | typeof jotai_utils1.RESET | ((prev: string | undefined) => string | typeof jotai_utils1.RESET | undefined) | undefined], void>;
|
|
92
92
|
/**
|
|
93
93
|
* Resets the performance metrics atom to an empty map. This should be called after the performance
|
|
94
94
|
* metrics have been reported to amplitude. On SPA, it ensures that we can still capture metrics as
|
|
@@ -96,8 +96,8 @@ declare const pageLoadOffsetTimeAtom: jotai49.WritableAtom<string | undefined, [
|
|
|
96
96
|
* On non-SPA, it ensures that previously captured metrics are not reported again.
|
|
97
97
|
*/
|
|
98
98
|
declare const resetPerformanceMetricsAtom: () => void;
|
|
99
|
-
declare const performanceMetricsAtom:
|
|
100
|
-
declare const hasReportedPerformanceMetricsAtom:
|
|
99
|
+
declare const performanceMetricsAtom: jotai21.Atom<Map<PerfMetricsEvents, number>>;
|
|
100
|
+
declare const hasReportedPerformanceMetricsAtom: jotai21.PrimitiveAtom<boolean> & {
|
|
101
101
|
init: boolean;
|
|
102
102
|
};
|
|
103
103
|
/**
|
|
@@ -106,25 +106,25 @@ declare const hasReportedPerformanceMetricsAtom: jotai49.PrimitiveAtom<boolean>
|
|
|
106
106
|
*
|
|
107
107
|
* @param value The performance metric name to log.
|
|
108
108
|
*/
|
|
109
|
-
declare const logPerfMetricAtom:
|
|
109
|
+
declare const logPerfMetricAtom: jotai21.WritableAtom<null, [value: PerfMetricsEvents], void> & {
|
|
110
110
|
init: null;
|
|
111
111
|
};
|
|
112
112
|
//#endregion
|
|
113
113
|
//#region src/atoms/chat/form.d.ts
|
|
114
|
-
declare const handleFormSubmittedAtom:
|
|
114
|
+
declare const handleFormSubmittedAtom: jotai21.WritableAtom<null, [form: FormSubmittedAttributes$1], void> & {
|
|
115
115
|
init: null;
|
|
116
116
|
};
|
|
117
117
|
//#endregion
|
|
118
118
|
//#region src/atoms/chat/suggestions.d.ts
|
|
119
|
-
declare const handleSuggestionAtom:
|
|
119
|
+
declare const handleSuggestionAtom: jotai21.WritableAtom<null, [suggestion: Suggestion$1], void> & {
|
|
120
120
|
init: null;
|
|
121
121
|
};
|
|
122
122
|
//#endregion
|
|
123
123
|
//#region src/atoms/chat/lastMessage.d.ts
|
|
124
|
-
declare const lastAssistantMessageAtom:
|
|
124
|
+
declare const lastAssistantMessageAtom: jotai21.Atom<Message[] | null>;
|
|
125
125
|
//#endregion
|
|
126
126
|
//#region src/atoms/chat/renderedWidgetRefs.d.ts
|
|
127
|
-
declare const widgetArrayAtom:
|
|
127
|
+
declare const widgetArrayAtom: jotai21.Atom<HTMLElement[]>;
|
|
128
128
|
/**
|
|
129
129
|
* This function call is used to create a list of the Spiffy widgets
|
|
130
130
|
* that are rendering on the page.
|
|
@@ -141,7 +141,7 @@ declare const widgetArrayAtom: jotai49.Atom<HTMLElement[]>;
|
|
|
141
141
|
declare const addWidget: (ref: HTMLElement, idx?: number) => void;
|
|
142
142
|
//#endregion
|
|
143
143
|
//#region src/atoms/chat/index.d.ts
|
|
144
|
-
declare const chatAtom:
|
|
144
|
+
declare const chatAtom: jotai21.Atom<{
|
|
145
145
|
userHasReplied: boolean;
|
|
146
146
|
replyEventCategory: _spiffy_ai_commerce_api_client0.UserEventCategory;
|
|
147
147
|
userQuery: string | undefined;
|
|
@@ -7,52 +7,52 @@ import { ChatElementDisplayLocation } from "../../frontendConfig-cPvCTWm6.js";
|
|
|
7
7
|
import "../../types-TD8g7LnH.js";
|
|
8
8
|
import "../../test-types-C9b_OdfO.js";
|
|
9
9
|
import "../../index-Cqg6ltII.js";
|
|
10
|
+
import * as jotai74 from "jotai";
|
|
11
|
+
import { UserEventCategory } from "@spiffy-ai/commerce-api-client/dist/models/UserEventCategory";
|
|
10
12
|
import * as _spiffy_ai_commerce_api_client0 from "@spiffy-ai/commerce-api-client";
|
|
11
|
-
import * as jotai81 from "jotai";
|
|
12
13
|
import * as jotai_utils3 from "jotai/utils";
|
|
13
|
-
import { UserEventCategory as UserEventCategory$1 } from "@spiffy-ai/commerce-api-client/dist/models/UserEventCategory";
|
|
14
14
|
|
|
15
15
|
//#region src/atoms/chat/chatState.d.ts
|
|
16
|
-
declare const userHasRepliedAtom:
|
|
16
|
+
declare const userHasRepliedAtom: jotai74.PrimitiveAtom<boolean> & {
|
|
17
17
|
init: boolean;
|
|
18
18
|
};
|
|
19
|
-
declare const replyEventCategoryAtom:
|
|
20
|
-
init: UserEventCategory
|
|
19
|
+
declare const replyEventCategoryAtom: jotai74.PrimitiveAtom<UserEventCategory> & {
|
|
20
|
+
init: UserEventCategory;
|
|
21
21
|
};
|
|
22
|
-
declare const userQueryAtom:
|
|
22
|
+
declare const userQueryAtom: jotai74.PrimitiveAtom<string | undefined> & {
|
|
23
23
|
init: string | undefined;
|
|
24
24
|
};
|
|
25
|
-
declare const suggestionAtom:
|
|
25
|
+
declare const suggestionAtom: jotai74.PrimitiveAtom<Suggestion$1 | undefined> & {
|
|
26
26
|
init: Suggestion$1 | undefined;
|
|
27
27
|
};
|
|
28
|
-
declare const askQuestionBtnClickedAtom:
|
|
28
|
+
declare const askQuestionBtnClickedAtom: jotai74.PrimitiveAtom<boolean> & {
|
|
29
29
|
init: boolean;
|
|
30
30
|
};
|
|
31
|
-
declare const messagesAtom:
|
|
31
|
+
declare const messagesAtom: jotai74.PrimitiveAtom<Message[][]> & {
|
|
32
32
|
init: Message[][];
|
|
33
33
|
};
|
|
34
|
-
declare const userEventsAtom:
|
|
34
|
+
declare const userEventsAtom: jotai74.PrimitiveAtom<UserEvent$1[]> & {
|
|
35
35
|
init: UserEvent$1[];
|
|
36
36
|
};
|
|
37
|
-
declare const suggestionsAtom:
|
|
37
|
+
declare const suggestionsAtom: jotai74.PrimitiveAtom<Suggestion$1[]> & {
|
|
38
38
|
init: Suggestion$1[];
|
|
39
39
|
};
|
|
40
|
-
declare const suggestionsLoadingAtom:
|
|
40
|
+
declare const suggestionsLoadingAtom: jotai74.PrimitiveAtom<boolean> & {
|
|
41
41
|
init: boolean;
|
|
42
42
|
};
|
|
43
|
-
declare const responseStreamingAtom:
|
|
43
|
+
declare const responseStreamingAtom: jotai74.PrimitiveAtom<boolean> & {
|
|
44
44
|
init: boolean;
|
|
45
45
|
};
|
|
46
|
-
declare const chatIsOpenAtom:
|
|
46
|
+
declare const chatIsOpenAtom: jotai74.PrimitiveAtom<boolean> & {
|
|
47
47
|
init: boolean;
|
|
48
48
|
};
|
|
49
|
-
declare const requestFailureAtom:
|
|
49
|
+
declare const requestFailureAtom: jotai74.PrimitiveAtom<boolean> & {
|
|
50
50
|
init: boolean;
|
|
51
51
|
};
|
|
52
|
-
declare const formSubmitAtom:
|
|
52
|
+
declare const formSubmitAtom: jotai74.PrimitiveAtom<FormSubmittedAttributes$1 | undefined> & {
|
|
53
53
|
init: FormSubmittedAttributes$1 | undefined;
|
|
54
54
|
};
|
|
55
|
-
declare const chatOnToggleAtom:
|
|
55
|
+
declare const chatOnToggleAtom: jotai74.WritableAtom<null, [triggerLocation?: ChatElementDisplayLocation | undefined], void> & {
|
|
56
56
|
init: null;
|
|
57
57
|
};
|
|
58
58
|
//#endregion
|
|
@@ -61,7 +61,7 @@ type HandleReplyParams = {
|
|
|
61
61
|
message: Message;
|
|
62
62
|
userTyped: boolean;
|
|
63
63
|
};
|
|
64
|
-
declare const handleReplyAtom:
|
|
64
|
+
declare const handleReplyAtom: jotai74.WritableAtom<null, [HandleReplyParams], void> & {
|
|
65
65
|
init: null;
|
|
66
66
|
};
|
|
67
67
|
//#endregion
|
|
@@ -87,8 +87,8 @@ declare enum PerfMetricsEvents {
|
|
|
87
87
|
BottomSuggestionsBarRendered = "bottom_suggestions_bar_rendered_ms",
|
|
88
88
|
SearchPromptRendered = "search_prompt_rendered_ms",
|
|
89
89
|
}
|
|
90
|
-
declare const appInitialStartTimeMsAtom:
|
|
91
|
-
declare const pageLoadOffsetTimeAtom:
|
|
90
|
+
declare const appInitialStartTimeMsAtom: jotai74.WritableAtom<string | undefined, [string | typeof jotai_utils3.RESET | ((prev: string | undefined) => string | typeof jotai_utils3.RESET | undefined) | undefined], void>;
|
|
91
|
+
declare const pageLoadOffsetTimeAtom: jotai74.WritableAtom<string | undefined, [string | typeof jotai_utils3.RESET | ((prev: string | undefined) => string | typeof jotai_utils3.RESET | undefined) | undefined], void>;
|
|
92
92
|
/**
|
|
93
93
|
* Resets the performance metrics atom to an empty map. This should be called after the performance
|
|
94
94
|
* metrics have been reported to amplitude. On SPA, it ensures that we can still capture metrics as
|
|
@@ -96,8 +96,8 @@ declare const pageLoadOffsetTimeAtom: jotai81.WritableAtom<string | undefined, [
|
|
|
96
96
|
* On non-SPA, it ensures that previously captured metrics are not reported again.
|
|
97
97
|
*/
|
|
98
98
|
declare const resetPerformanceMetricsAtom: () => void;
|
|
99
|
-
declare const performanceMetricsAtom:
|
|
100
|
-
declare const hasReportedPerformanceMetricsAtom:
|
|
99
|
+
declare const performanceMetricsAtom: jotai74.Atom<Map<PerfMetricsEvents, number>>;
|
|
100
|
+
declare const hasReportedPerformanceMetricsAtom: jotai74.PrimitiveAtom<boolean> & {
|
|
101
101
|
init: boolean;
|
|
102
102
|
};
|
|
103
103
|
/**
|
|
@@ -106,25 +106,25 @@ declare const hasReportedPerformanceMetricsAtom: jotai81.PrimitiveAtom<boolean>
|
|
|
106
106
|
*
|
|
107
107
|
* @param value The performance metric name to log.
|
|
108
108
|
*/
|
|
109
|
-
declare const logPerfMetricAtom:
|
|
109
|
+
declare const logPerfMetricAtom: jotai74.WritableAtom<null, [value: PerfMetricsEvents], void> & {
|
|
110
110
|
init: null;
|
|
111
111
|
};
|
|
112
112
|
//#endregion
|
|
113
113
|
//#region src/atoms/chat/form.d.ts
|
|
114
|
-
declare const handleFormSubmittedAtom:
|
|
114
|
+
declare const handleFormSubmittedAtom: jotai74.WritableAtom<null, [form: FormSubmittedAttributes$1], void> & {
|
|
115
115
|
init: null;
|
|
116
116
|
};
|
|
117
117
|
//#endregion
|
|
118
118
|
//#region src/atoms/chat/suggestions.d.ts
|
|
119
|
-
declare const handleSuggestionAtom:
|
|
119
|
+
declare const handleSuggestionAtom: jotai74.WritableAtom<null, [suggestion: Suggestion$1], void> & {
|
|
120
120
|
init: null;
|
|
121
121
|
};
|
|
122
122
|
//#endregion
|
|
123
123
|
//#region src/atoms/chat/lastMessage.d.ts
|
|
124
|
-
declare const lastAssistantMessageAtom:
|
|
124
|
+
declare const lastAssistantMessageAtom: jotai74.Atom<Message[] | null>;
|
|
125
125
|
//#endregion
|
|
126
126
|
//#region src/atoms/chat/renderedWidgetRefs.d.ts
|
|
127
|
-
declare const widgetArrayAtom:
|
|
127
|
+
declare const widgetArrayAtom: jotai74.Atom<HTMLElement[]>;
|
|
128
128
|
/**
|
|
129
129
|
* This function call is used to create a list of the Spiffy widgets
|
|
130
130
|
* that are rendering on the page.
|
|
@@ -141,7 +141,7 @@ declare const widgetArrayAtom: jotai81.Atom<HTMLElement[]>;
|
|
|
141
141
|
declare const addWidget: (ref: HTMLElement, idx?: number) => void;
|
|
142
142
|
//#endregion
|
|
143
143
|
//#region src/atoms/chat/index.d.ts
|
|
144
|
-
declare const chatAtom:
|
|
144
|
+
declare const chatAtom: jotai74.Atom<{
|
|
145
145
|
userHasReplied: boolean;
|
|
146
146
|
replyEventCategory: _spiffy_ai_commerce_api_client0.UserEventCategory;
|
|
147
147
|
userQuery: string | undefined;
|
package/dist/atoms/chat/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../../
|
|
2
|
-
import "../../
|
|
3
|
-
import { APP_INITIAL_START_TIME_KEY, PAGE_LOAD_OFFSET_TIME_KEY, PerfMetricsEvents, addWidget, appInitialStartTimeMsAtom, askQuestionBtnClickedAtom, chatAtom, chatIsOpenAtom, chatOnToggleAtom, formSubmitAtom, handleFormSubmittedAtom, handleReplyAtom, handleSuggestionAtom, hasReportedPerformanceMetricsAtom, lastAssistantMessageAtom, logPerfMetricAtom, messagesAtom, pageLoadOffsetTimeAtom, performanceMetricsAtom, replyEventCategoryAtom, requestFailureAtom, resetPerformanceMetricsAtom, responseStreamingAtom, suggestionAtom, suggestionsAtom, suggestionsLoadingAtom, userEventsAtom, userHasRepliedAtom, userQueryAtom, widgetArrayAtom } from "../../
|
|
4
|
-
import "../../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 { APP_INITIAL_START_TIME_KEY, PAGE_LOAD_OFFSET_TIME_KEY, PerfMetricsEvents, addWidget, appInitialStartTimeMsAtom, askQuestionBtnClickedAtom, chatAtom, chatIsOpenAtom, chatOnToggleAtom, formSubmitAtom, handleFormSubmittedAtom, handleReplyAtom, handleSuggestionAtom, hasReportedPerformanceMetricsAtom, lastAssistantMessageAtom, logPerfMetricAtom, messagesAtom, pageLoadOffsetTimeAtom, performanceMetricsAtom, replyEventCategoryAtom, requestFailureAtom, resetPerformanceMetricsAtom, responseStreamingAtom, suggestionAtom, suggestionsAtom, suggestionsLoadingAtom, userEventsAtom, userHasRepliedAtom, userQueryAtom, widgetArrayAtom } from "../../chat-H6YcCS4I.js";
|
|
4
|
+
import "../../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
|
|
|
12
12
|
export { APP_INITIAL_START_TIME_KEY, PAGE_LOAD_OFFSET_TIME_KEY, PerfMetricsEvents, addWidget, appInitialStartTimeMsAtom, askQuestionBtnClickedAtom, chatAtom, chatIsOpenAtom, chatOnToggleAtom, formSubmitAtom, handleFormSubmittedAtom, handleReplyAtom, handleSuggestionAtom, hasReportedPerformanceMetricsAtom, lastAssistantMessageAtom, logPerfMetricAtom, messagesAtom, pageLoadOffsetTimeAtom, performanceMetricsAtom, replyEventCategoryAtom, requestFailureAtom, resetPerformanceMetricsAtom, responseStreamingAtom, suggestionAtom, suggestionsAtom, suggestionsLoadingAtom, userEventsAtom, userHasRepliedAtom, userQueryAtom, widgetArrayAtom };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as jotai17 from "jotai";
|
|
2
2
|
|
|
3
3
|
//#region src/atoms/globalSearch/globalSearch.d.ts
|
|
4
|
-
declare const autocompleteStateAtom:
|
|
4
|
+
declare const autocompleteStateAtom: jotai17.PrimitiveAtom<{
|
|
5
5
|
results: string[];
|
|
6
6
|
isLoading: boolean;
|
|
7
7
|
}> & {
|
|
@@ -10,13 +10,13 @@ declare const autocompleteStateAtom: jotai45.PrimitiveAtom<{
|
|
|
10
10
|
isLoading: boolean;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
declare const isFilterOpenAtom:
|
|
13
|
+
declare const isFilterOpenAtom: jotai17.PrimitiveAtom<boolean> & {
|
|
14
14
|
init: boolean;
|
|
15
15
|
};
|
|
16
|
-
declare const isGlobalSearchOpenAtom:
|
|
16
|
+
declare const isGlobalSearchOpenAtom: jotai17.PrimitiveAtom<boolean> & {
|
|
17
17
|
init: boolean;
|
|
18
18
|
};
|
|
19
|
-
declare const isSearchResultsOpenAtom:
|
|
19
|
+
declare const isSearchResultsOpenAtom: jotai17.PrimitiveAtom<boolean> & {
|
|
20
20
|
init: boolean;
|
|
21
21
|
};
|
|
22
22
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as jotai5 from "jotai";
|
|
2
2
|
|
|
3
3
|
//#region src/atoms/globalSearch/globalSearch.d.ts
|
|
4
|
-
declare const autocompleteStateAtom:
|
|
4
|
+
declare const autocompleteStateAtom: jotai5.PrimitiveAtom<{
|
|
5
5
|
results: string[];
|
|
6
6
|
isLoading: boolean;
|
|
7
7
|
}> & {
|
|
@@ -10,13 +10,13 @@ declare const autocompleteStateAtom: jotai17.PrimitiveAtom<{
|
|
|
10
10
|
isLoading: boolean;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
declare const isFilterOpenAtom:
|
|
13
|
+
declare const isFilterOpenAtom: jotai5.PrimitiveAtom<boolean> & {
|
|
14
14
|
init: boolean;
|
|
15
15
|
};
|
|
16
|
-
declare const isGlobalSearchOpenAtom:
|
|
16
|
+
declare const isGlobalSearchOpenAtom: jotai5.PrimitiveAtom<boolean> & {
|
|
17
17
|
init: boolean;
|
|
18
18
|
};
|
|
19
|
-
declare const isSearchResultsOpenAtom:
|
|
19
|
+
declare const isSearchResultsOpenAtom: jotai5.PrimitiveAtom<boolean> & {
|
|
20
20
|
init: boolean;
|
|
21
21
|
};
|
|
22
22
|
//#endregion
|
package/dist/atoms/org/index.cjs
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
require('../../
|
|
2
|
-
require('../../
|
|
3
|
-
const
|
|
4
|
-
require('../../types-
|
|
5
|
-
require('../../enviveConfigContext-
|
|
6
|
-
require('../../atomStore-
|
|
7
|
-
require('../../
|
|
8
|
-
require('../../
|
|
9
|
-
require('../../
|
|
10
|
-
require('../../
|
|
11
|
-
const require_org = require('../../org-
|
|
1
|
+
require('../../events-bH-24eRW.cjs');
|
|
2
|
+
require('../../logger-Be0NyKaY.cjs');
|
|
3
|
+
const require_chat = require('../../chat-CCQMmhc1.cjs');
|
|
4
|
+
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
|
+
const require_org = require('../../org-Bkn6fl6I.cjs');
|
|
12
12
|
|
|
13
|
-
exports.apiKeyAtom =
|
|
14
|
-
exports.colorsConfigAtom =
|
|
13
|
+
exports.apiKeyAtom = require_chat.apiKeyAtom;
|
|
14
|
+
exports.colorsConfigAtom = require_chat.colorsConfigAtom;
|
|
15
15
|
exports.customerServiceAttachment = require_org.customerServiceAttachment;
|
|
16
16
|
exports.customerServiceChatStateAtom = require_org.customerServiceChatStateAtom;
|
|
17
17
|
exports.customerServiceResponseAtom = require_org.customerServiceResponseAtom;
|
|
18
|
-
exports.endpointURLAtom =
|
|
19
|
-
exports.featureFlagServiceAtom =
|
|
20
|
-
exports.frontendConfigAtom =
|
|
21
|
-
exports.getApiKeyEnvVar =
|
|
22
|
-
exports.getAsyncOrgConfig =
|
|
23
|
-
exports.getOrgUIConfig =
|
|
18
|
+
exports.endpointURLAtom = require_chat.endpointURLAtom;
|
|
19
|
+
exports.featureFlagServiceAtom = require_chat.featureFlagServiceAtom;
|
|
20
|
+
exports.frontendConfigAtom = require_chat.frontendConfigAtom;
|
|
21
|
+
exports.getApiKeyEnvVar = require_chat.getApiKeyEnvVar;
|
|
22
|
+
exports.getAsyncOrgConfig = require_chat.getAsyncOrgConfig;
|
|
23
|
+
exports.getOrgUIConfig = require_chat.getOrgUIConfig;
|
|
24
24
|
exports.isBusinessHoursAtom = require_org.isBusinessHoursAtom;
|
|
25
25
|
exports.isCustomerServiceOpenAtom = require_org.isCustomerServiceOpenAtom;
|
|
26
|
-
exports.orgAnalyticsAmplitudeConfigAtom =
|
|
27
|
-
exports.orgAnalyticsConfigAtom =
|
|
28
|
-
exports.orgAnalyticsCustomerServiceConfigAtom =
|
|
29
|
-
exports.orgAnalyticsGoogleAnalyticsConfigAtom =
|
|
30
|
-
exports.orgConfigAtom =
|
|
31
|
-
exports.orgCustomerServiceConfig =
|
|
32
|
-
exports.orgCustomerServiceService =
|
|
33
|
-
exports.orgDomainAtom =
|
|
34
|
-
exports.orgIdAtom =
|
|
26
|
+
exports.orgAnalyticsAmplitudeConfigAtom = require_chat.orgAnalyticsAmplitudeConfigAtom;
|
|
27
|
+
exports.orgAnalyticsConfigAtom = require_chat.orgAnalyticsConfigAtom;
|
|
28
|
+
exports.orgAnalyticsCustomerServiceConfigAtom = require_chat.orgAnalyticsCustomerServiceConfigAtom;
|
|
29
|
+
exports.orgAnalyticsGoogleAnalyticsConfigAtom = require_chat.orgAnalyticsGoogleAnalyticsConfigAtom;
|
|
30
|
+
exports.orgConfigAtom = require_chat.orgConfigAtom;
|
|
31
|
+
exports.orgCustomerServiceConfig = require_chat.orgCustomerServiceConfig;
|
|
32
|
+
exports.orgCustomerServiceService = require_chat.orgCustomerServiceService;
|
|
33
|
+
exports.orgDomainAtom = require_chat.orgDomainAtom;
|
|
34
|
+
exports.orgIdAtom = require_chat.orgIdAtom;
|
|
35
35
|
exports.orgMerchantCssAtom = require_org.orgMerchantCssAtom;
|
|
36
36
|
exports.orgPageConfigAtom = require_org.orgPageConfigAtom;
|
|
37
|
-
exports.orgShortNameAtom =
|
|
38
|
-
exports.orgUIConfigAtom =
|
|
39
|
-
exports.resetStoredOrgConfigAtom =
|
|
40
|
-
exports.sourceAtom =
|
|
41
|
-
exports.storedOrgConfigAtom =
|
|
37
|
+
exports.orgShortNameAtom = require_chat.orgShortNameAtom;
|
|
38
|
+
exports.orgUIConfigAtom = require_chat.orgUIConfigAtom;
|
|
39
|
+
exports.resetStoredOrgConfigAtom = require_chat.resetStoredOrgConfigAtom;
|
|
40
|
+
exports.sourceAtom = require_chat.sourceAtom;
|
|
41
|
+
exports.storedOrgConfigAtom = require_chat.storedOrgConfigAtom;
|