@sonordev/site-kit 6.1.3 → 6.3.0
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/agent-manifest.json +7 -1
- package/dist/{AnalyticsProvider-QK6XBDEJ.js → AnalyticsProvider-JKWJGIH2.js} +10 -10
- package/dist/{AnalyticsProvider-QK6XBDEJ.js.map → AnalyticsProvider-JKWJGIH2.js.map} +1 -1
- package/dist/{AnalyticsProvider-TIJWTISP.mjs → AnalyticsProvider-T4UBUUV4.mjs} +6 -6
- package/dist/{AnalyticsProvider-TIJWTISP.mjs.map → AnalyticsProvider-T4UBUUV4.mjs.map} +1 -1
- package/dist/{ArticleViewTracker-I66RBWDK.mjs → ArticleViewTracker-AYYSXNJS.mjs} +5 -5
- package/dist/{ArticleViewTracker-I66RBWDK.mjs.map → ArticleViewTracker-AYYSXNJS.mjs.map} +1 -1
- package/dist/{ArticleViewTracker-ALE672ZR.js → ArticleViewTracker-F5IP734Z.js} +6 -6
- package/dist/{ArticleViewTracker-ALE672ZR.js.map → ArticleViewTracker-F5IP734Z.js.map} +1 -1
- package/dist/ChatWidget-3RVBHZCS.mjs +17 -0
- package/dist/{ChatWidget-LNOY4TUZ.mjs.map → ChatWidget-3RVBHZCS.mjs.map} +1 -1
- package/dist/ChatWidget-RFSI2XNU.js +34 -0
- package/dist/{ChatWidget-566CQUN6.js.map → ChatWidget-RFSI2XNU.js.map} +1 -1
- package/dist/EngageWidget-QO5S6YV5.js +21 -0
- package/dist/{EngageWidget-DF47YUHQ.js.map → EngageWidget-QO5S6YV5.js.map} +1 -1
- package/dist/EngageWidget-TE6S5KYT.mjs +12 -0
- package/dist/{EngageWidget-IGF7SC3R.mjs.map → EngageWidget-TE6S5KYT.mjs.map} +1 -1
- package/dist/{FileField-IK6E5IOC.js → FileField-JQSRKWXW.js} +6 -6
- package/dist/{FileField-IK6E5IOC.js.map → FileField-JQSRKWXW.js.map} +1 -1
- package/dist/{FileField-AG63W2BC.mjs → FileField-OXZXB3UW.mjs} +5 -5
- package/dist/{FileField-AG63W2BC.mjs.map → FileField-OXZXB3UW.mjs.map} +1 -1
- package/dist/{FormSpotlight-6MUDJWW5.js → FormSpotlight-H2A3JIFI.js} +9 -9
- package/dist/{FormSpotlight-6MUDJWW5.js.map → FormSpotlight-H2A3JIFI.js.map} +1 -1
- package/dist/{FormSpotlight-H7V4GBXG.mjs → FormSpotlight-PZ5RLZRV.mjs} +3 -3
- package/dist/{FormSpotlight-H7V4GBXG.mjs.map → FormSpotlight-PZ5RLZRV.mjs.map} +1 -1
- package/dist/{FormStage-ACETL7SD.mjs → FormStage-CIHL7OBA.mjs} +3 -3
- package/dist/{FormStage-ACETL7SD.mjs.map → FormStage-CIHL7OBA.mjs.map} +1 -1
- package/dist/{FormStage-ZXZRZ2LS.js → FormStage-ZA2FABYQ.js} +9 -9
- package/dist/{FormStage-ZXZRZ2LS.js.map → FormStage-ZA2FABYQ.js.map} +1 -1
- package/dist/ManagedForm-BVLS2QZR.js +25 -0
- package/dist/{ManagedForm-4U54NPW2.js.map → ManagedForm-BVLS2QZR.js.map} +1 -1
- package/dist/ManagedForm-PTCWSTC5.mjs +16 -0
- package/dist/{ManagedForm-MOBWSG4D.mjs.map → ManagedForm-PTCWSTC5.mjs.map} +1 -1
- package/dist/{ManagedNewsletterForm-5LBGBE2F.js → ManagedNewsletterForm-IB5VD43M.js} +8 -8
- package/dist/{ManagedNewsletterForm-5LBGBE2F.js.map → ManagedNewsletterForm-IB5VD43M.js.map} +1 -1
- package/dist/{ManagedNewsletterForm-OV3OEMUP.mjs → ManagedNewsletterForm-WMCRFDL7.mjs} +7 -7
- package/dist/{ManagedNewsletterForm-OV3OEMUP.mjs.map → ManagedNewsletterForm-WMCRFDL7.mjs.map} +1 -1
- package/dist/{SignalCore-QCVR7TZV.js → SignalCore-Q57NY7EG.js} +11 -11
- package/dist/{SignalCore-QCVR7TZV.js.map → SignalCore-Q57NY7EG.js.map} +1 -1
- package/dist/{SignalCore-XM2MHEGR.mjs → SignalCore-R44AWPYN.mjs} +5 -5
- package/dist/{SignalCore-XM2MHEGR.mjs.map → SignalCore-R44AWPYN.mjs.map} +1 -1
- package/dist/SitemapSync-NICUUMQF.mjs +9 -0
- package/dist/{SitemapSync-74EVNOFQ.mjs.map → SitemapSync-NICUUMQF.mjs.map} +1 -1
- package/dist/SitemapSync-ZP4PKZZ3.js +18 -0
- package/dist/{SitemapSync-BQFZAE3X.js.map → SitemapSync-ZP4PKZZ3.js.map} +1 -1
- package/dist/admin-auth/index.d.ts +109 -0
- package/dist/admin-auth/index.d.ts.map +1 -0
- package/dist/admin-auth/index.js +0 -0
- package/dist/admin-auth/index.js.map +1 -0
- package/dist/admin-auth/index.mjs +0 -0
- package/dist/admin-auth/index.mjs.map +1 -0
- package/dist/admin-auth/session.d.ts +32 -0
- package/dist/admin-auth/session.d.ts.map +1 -0
- package/dist/analytics/index.js +9 -9
- package/dist/analytics/index.mjs +4 -4
- package/dist/articles/index.js +1 -1
- package/dist/articles/index.mjs +1 -1
- package/dist/articles/server-ui.js +1 -1
- package/dist/articles/server-ui.mjs +1 -1
- package/dist/{chunk-YK7SEUFJ.mjs → chunk-22MXW53O.mjs} +4 -4
- package/dist/{chunk-YK7SEUFJ.mjs.map → chunk-22MXW53O.mjs.map} +1 -1
- package/dist/{chunk-I7KIVKVW.js → chunk-2JZFTPPE.js} +3 -3
- package/dist/{chunk-I7KIVKVW.js.map → chunk-2JZFTPPE.js.map} +1 -1
- package/dist/{chunk-BGBP4UN4.js → chunk-4BQQGOHC.js} +4 -4
- package/dist/{chunk-BGBP4UN4.js.map → chunk-4BQQGOHC.js.map} +1 -1
- package/dist/{chunk-LXBPTKYT.mjs → chunk-5XLPWHQC.mjs} +4 -4
- package/dist/{chunk-LXBPTKYT.mjs.map → chunk-5XLPWHQC.mjs.map} +1 -1
- package/dist/{chunk-TIFVAASU.mjs → chunk-5YA6SI4Z.mjs} +2 -2
- package/dist/{chunk-CTAYH725.js → chunk-6AAT724D.js} +11 -11
- package/dist/{chunk-CTAYH725.js.map → chunk-6AAT724D.js.map} +1 -1
- package/dist/{chunk-AGEE4CGH.js → chunk-6AIXHYFO.js} +5 -5
- package/dist/{chunk-AGEE4CGH.js.map → chunk-6AIXHYFO.js.map} +1 -1
- package/dist/{chunk-I4PUQYBI.mjs → chunk-6SH6HLWS.mjs} +3 -3
- package/dist/{chunk-I4PUQYBI.mjs.map → chunk-6SH6HLWS.mjs.map} +1 -1
- package/dist/{chunk-S6CMQTVZ.js → chunk-72WO3AE5.js} +5 -5
- package/dist/{chunk-S6CMQTVZ.js.map → chunk-72WO3AE5.js.map} +1 -1
- package/dist/{chunk-AEW7EFYU.js → chunk-AEN7EL6N.js} +20 -6
- package/dist/chunk-AEN7EL6N.js.map +1 -0
- package/dist/{chunk-5IQOPL7T.mjs → chunk-BSTV3T6P.mjs} +3 -3
- package/dist/{chunk-5IQOPL7T.mjs.map → chunk-BSTV3T6P.mjs.map} +1 -1
- package/dist/{chunk-2SLA2LOD.js → chunk-C3MRX7NL.js} +12 -12
- package/dist/{chunk-2SLA2LOD.js.map → chunk-C3MRX7NL.js.map} +1 -1
- package/dist/{chunk-D5KKVWZK.mjs → chunk-CBZJNMYS.mjs} +3 -3
- package/dist/{chunk-D5KKVWZK.mjs.map → chunk-CBZJNMYS.mjs.map} +1 -1
- package/dist/chunk-COCYQHK3.mjs +6 -0
- package/dist/{chunk-5FBALULE.mjs.map → chunk-COCYQHK3.mjs.map} +1 -1
- package/dist/{chunk-PTQHPWEK.mjs → chunk-DFAW62AX.mjs} +151 -165
- package/dist/chunk-DFAW62AX.mjs.map +1 -0
- package/dist/{chunk-NRT7MOEO.mjs → chunk-DN6BLVU7.mjs} +4 -4
- package/dist/{chunk-NRT7MOEO.mjs.map → chunk-DN6BLVU7.mjs.map} +1 -1
- package/dist/{chunk-IUNFAKOS.mjs → chunk-ED5GOAF6.mjs} +3 -3
- package/dist/{chunk-IUNFAKOS.mjs.map → chunk-ED5GOAF6.mjs.map} +1 -1
- package/dist/{chunk-IZRVSIOK.js → chunk-F4DZDIR4.js} +4 -4
- package/dist/{chunk-IZRVSIOK.js.map → chunk-F4DZDIR4.js.map} +1 -1
- package/dist/{chunk-VDGCZVUF.js → chunk-FFE6P6PQ.js} +14 -14
- package/dist/{chunk-VDGCZVUF.js.map → chunk-FFE6P6PQ.js.map} +1 -1
- package/dist/{chunk-RQG7I6O4.js → chunk-GBOSAWBR.js} +4 -4
- package/dist/{chunk-RQG7I6O4.js.map → chunk-GBOSAWBR.js.map} +1 -1
- package/dist/{chunk-DVZ4BMXX.mjs → chunk-HQCWWQAI.mjs} +7 -7
- package/dist/{chunk-DVZ4BMXX.mjs.map → chunk-HQCWWQAI.mjs.map} +1 -1
- package/dist/{chunk-KDLN2MR5.js → chunk-I5XK32OJ.js} +18 -18
- package/dist/{chunk-KDLN2MR5.js.map → chunk-I5XK32OJ.js.map} +1 -1
- package/dist/{chunk-XXSSUCJB.js → chunk-I7AZC5ZQ.js} +2 -2
- package/dist/{chunk-RGXYE2ZI.mjs → chunk-IHG7W5JH.mjs} +4 -4
- package/dist/{chunk-RGXYE2ZI.mjs.map → chunk-IHG7W5JH.mjs.map} +1 -1
- package/dist/chunk-IMWON7OV.mjs +27 -0
- package/dist/chunk-IMWON7OV.mjs.map +1 -0
- package/dist/{chunk-KEEZX6Q4.js → chunk-JCBENABK.js} +3 -3
- package/dist/{chunk-KEEZX6Q4.js.map → chunk-JCBENABK.js.map} +1 -1
- package/dist/chunk-JLIL5EFG.js +8 -0
- package/dist/{chunk-OI3FCJSP.js.map → chunk-JLIL5EFG.js.map} +1 -1
- package/dist/{chunk-7K6L33BX.mjs → chunk-JOYMIGR2.mjs} +22 -22
- package/dist/{chunk-ATPQ6264.js → chunk-JS75ORH7.js} +24 -24
- package/dist/{chunk-3MLVI5DH.mjs → chunk-KLKUI3US.mjs} +3 -3
- package/dist/{chunk-3MLVI5DH.mjs.map → chunk-KLKUI3US.mjs.map} +1 -1
- package/dist/{chunk-XCOMBHLF.js → chunk-L6XXUNJB.js} +8 -8
- package/dist/{chunk-XCOMBHLF.js.map → chunk-L6XXUNJB.js.map} +1 -1
- package/dist/{chunk-OZTVJSFX.js → chunk-LIWPIG7U.js} +160 -172
- package/dist/chunk-LIWPIG7U.js.map +1 -0
- package/dist/{chunk-OWEJXMKY.mjs → chunk-M436JMD4.mjs} +3 -3
- package/dist/{chunk-OWEJXMKY.mjs.map → chunk-M436JMD4.mjs.map} +1 -1
- package/dist/{chunk-EVETX2XF.mjs → chunk-NCURAYKL.mjs} +4 -4
- package/dist/{chunk-EVETX2XF.mjs.map → chunk-NCURAYKL.mjs.map} +1 -1
- package/dist/{chunk-ZUQSVCMD.js → chunk-NN2YE5WT.js} +3 -3
- package/dist/{chunk-RH4XEXTK.mjs → chunk-NNZDWY3L.mjs} +3 -3
- package/dist/{chunk-5OUOVPXC.js → chunk-OMYR2ORG.js} +8 -8
- package/dist/{chunk-5OUOVPXC.js.map → chunk-OMYR2ORG.js.map} +1 -1
- package/dist/{chunk-JSM4AYSZ.js → chunk-OZLYJSFE.js} +14 -14
- package/dist/{chunk-JSM4AYSZ.js.map → chunk-OZLYJSFE.js.map} +1 -1
- package/dist/{chunk-ESPOINPT.mjs → chunk-P2VWGMQU.mjs} +3 -3
- package/dist/{chunk-ESPOINPT.mjs.map → chunk-P2VWGMQU.mjs.map} +1 -1
- package/dist/{chunk-7VRK3DWU.js → chunk-P35JIP3J.js} +6 -6
- package/dist/{chunk-7VRK3DWU.js.map → chunk-P35JIP3J.js.map} +1 -1
- package/dist/{chunk-IWHAJBYL.js → chunk-PXN7LIYZ.js} +15 -15
- package/dist/{chunk-IWHAJBYL.js.map → chunk-PXN7LIYZ.js.map} +1 -1
- package/dist/{chunk-GYKFHQSZ.mjs → chunk-QSCE66KQ.mjs} +3 -3
- package/dist/{chunk-GYKFHQSZ.mjs.map → chunk-QSCE66KQ.mjs.map} +1 -1
- package/dist/{chunk-QSN2QST7.mjs → chunk-QUMXVJ2C.mjs} +3 -3
- package/dist/{chunk-QSN2QST7.mjs.map → chunk-QUMXVJ2C.mjs.map} +1 -1
- package/dist/{chunk-6FIIA6ME.mjs → chunk-RB53MKRX.mjs} +4 -4
- package/dist/{chunk-6FIIA6ME.mjs.map → chunk-RB53MKRX.mjs.map} +1 -1
- package/dist/{chunk-JAA42HR7.js → chunk-RDKICSVU.js} +7 -7
- package/dist/{chunk-JAA42HR7.js.map → chunk-RDKICSVU.js.map} +1 -1
- package/dist/{chunk-EXVHO3CZ.mjs → chunk-REGHZJQF.mjs} +3 -3
- package/dist/{chunk-EXVHO3CZ.mjs.map → chunk-REGHZJQF.mjs.map} +1 -1
- package/dist/{chunk-MTHMOXZF.js → chunk-RNEPZD2I.js} +6 -6
- package/dist/{chunk-MTHMOXZF.js.map → chunk-RNEPZD2I.js.map} +1 -1
- package/dist/{chunk-CI7T4ZRP.mjs → chunk-RSP6RDR2.mjs} +4 -4
- package/dist/{chunk-CI7T4ZRP.mjs.map → chunk-RSP6RDR2.mjs.map} +1 -1
- package/dist/{chunk-MLXUMVBK.mjs → chunk-UCMMIGC6.mjs} +20 -6
- package/dist/chunk-UCMMIGC6.mjs.map +1 -0
- package/dist/{chunk-MQEVQ5YB.js → chunk-UJFRMHUN.js} +3 -3
- package/dist/{chunk-MQEVQ5YB.js.map → chunk-UJFRMHUN.js.map} +1 -1
- package/dist/{chunk-3RISRHOK.mjs → chunk-W7HSYABM.mjs} +8 -8
- package/dist/{chunk-3RISRHOK.mjs.map → chunk-W7HSYABM.mjs.map} +1 -1
- package/dist/{chunk-OUP6UL74.mjs → chunk-X5WJ5XPZ.mjs} +3 -3
- package/dist/{chunk-OUP6UL74.mjs.map → chunk-X5WJ5XPZ.mjs.map} +1 -1
- package/dist/{chunk-P4J3WG6C.js → chunk-XRUKYQ43.js} +4 -4
- package/dist/{chunk-P4J3WG6C.js.map → chunk-XRUKYQ43.js.map} +1 -1
- package/dist/{chunk-YEHC7VMW.mjs → chunk-YZCRYK5M.mjs} +3 -3
- package/dist/{chunk-YEHC7VMW.mjs.map → chunk-YZCRYK5M.mjs.map} +1 -1
- package/dist/chunk-YZJ22HUQ.js +29 -0
- package/dist/chunk-YZJ22HUQ.js.map +1 -0
- package/dist/{chunk-EVKP4SOM.js → chunk-ZKM6ELMZ.js} +10 -10
- package/dist/{chunk-EVKP4SOM.js.map → chunk-ZKM6ELMZ.js.map} +1 -1
- package/dist/cli/index.js +211 -211
- package/dist/cli/index.mjs +151 -151
- package/dist/client/index.js +4 -4
- package/dist/client/index.mjs +3 -3
- package/dist/commerce/index.js +57 -57
- package/dist/commerce/index.mjs +5 -5
- package/dist/engage/ChatWidget.d.ts +61 -1
- package/dist/engage/ChatWidget.d.ts.map +1 -1
- package/dist/engage/chat-messages.d.ts +86 -0
- package/dist/engage/chat-messages.d.ts.map +1 -0
- package/dist/engage/index.js +10 -10
- package/dist/engage/index.mjs +7 -7
- package/dist/fleet/index.js +8 -8
- package/dist/fleet/index.mjs +4 -4
- package/dist/forms/index.js +16 -16
- package/dist/forms/index.mjs +9 -9
- package/dist/forms/server.js +10 -10
- package/dist/forms/server.mjs +8 -8
- package/dist/forms/static.js +7 -7
- package/dist/forms/static.mjs +6 -6
- package/dist/images/index.js +11 -11
- package/dist/images/index.mjs +4 -4
- package/dist/index.js +63 -63
- package/dist/index.mjs +9 -9
- package/dist/layout/client.js +8 -8
- package/dist/layout/client.mjs +7 -7
- package/dist/layout/index.js +10 -10
- package/dist/layout/index.mjs +8 -8
- package/dist/{lib-6GWWPDJR.js → lib-6HOOMENJ.js} +7 -7
- package/dist/{lib-WFB5RLEQ.js → lib-BGAWCSUH.js} +8 -8
- package/dist/{lib-N5PD6JNJ.mjs → lib-R7IQ4ZHE.mjs} +2 -2
- package/dist/lib-RSDMEKDQ.mjs +4 -0
- package/dist/maps/index.js +5 -5
- package/dist/maps/index.mjs +3 -3
- package/dist/motion/CountUp.d.ts +49 -0
- package/dist/motion/CountUp.d.ts.map +1 -0
- package/dist/motion/Parallax.d.ts +14 -0
- package/dist/motion/Parallax.d.ts.map +1 -1
- package/dist/motion/ScrollScene.d.ts +1 -1
- package/dist/motion/ScrollScene.d.ts.map +1 -1
- package/dist/motion/engine.d.ts +19 -0
- package/dist/motion/engine.d.ts.map +1 -1
- package/dist/motion/gsap.d.ts +55 -6
- package/dist/motion/gsap.d.ts.map +1 -1
- package/dist/motion/gsap.js +101 -4
- package/dist/motion/gsap.js.map +1 -1
- package/dist/motion/gsap.mjs +96 -3
- package/dist/motion/gsap.mjs.map +1 -1
- package/dist/motion/index.d.ts +1 -1
- package/dist/motion/index.d.ts.map +1 -1
- package/dist/motion/index.js +21 -40
- package/dist/motion/index.js.map +1 -1
- package/dist/motion/index.mjs +11 -32
- package/dist/motion/index.mjs.map +1 -1
- package/dist/motion/three.js +5 -5
- package/dist/motion/three.mjs +1 -1
- package/dist/search/index.js +4 -4
- package/dist/search/index.mjs +3 -3
- package/dist/seo/client.js +5 -5
- package/dist/seo/client.mjs +4 -4
- package/dist/seo/index.js +5 -5
- package/dist/seo/index.mjs +4 -4
- package/dist/seo/register-sitemap-cli.js +2 -2
- package/dist/seo/register-sitemap-cli.mjs +1 -1
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +2 -2
- package/dist/shared/build-entries.d.ts +1 -0
- package/dist/shared/build-entries.d.ts.map +1 -1
- package/dist/shared/version.d.ts +1 -1
- package/dist/signal/index.js +11 -11
- package/dist/signal/index.mjs +2 -2
- package/dist/sync/index.js +17 -17
- package/dist/sync/index.mjs +4 -4
- package/dist/{web-vitals.attribution-CHXXWO72.mjs → web-vitals.attribution-7LKLZ5GR.mjs} +3 -3
- package/dist/web-vitals.attribution-7LKLZ5GR.mjs.map +1 -0
- package/dist/{web-vitals.attribution-SQVZNHN3.js → web-vitals.attribution-ONVYQNRB.js} +3 -3
- package/dist/web-vitals.attribution-ONVYQNRB.js.map +1 -0
- package/package.json +6 -1
- package/dist/ChatWidget-566CQUN6.js +0 -26
- package/dist/ChatWidget-LNOY4TUZ.mjs +0 -17
- package/dist/EngageWidget-DF47YUHQ.js +0 -21
- package/dist/EngageWidget-IGF7SC3R.mjs +0 -12
- package/dist/ManagedForm-4U54NPW2.js +0 -25
- package/dist/ManagedForm-MOBWSG4D.mjs +0 -16
- package/dist/SitemapSync-74EVNOFQ.mjs +0 -9
- package/dist/SitemapSync-BQFZAE3X.js +0 -18
- package/dist/chunk-5FBALULE.mjs +0 -6
- package/dist/chunk-AEW7EFYU.js.map +0 -1
- package/dist/chunk-MLXUMVBK.mjs.map +0 -1
- package/dist/chunk-OI3FCJSP.js +0 -8
- package/dist/chunk-OZTVJSFX.js.map +0 -1
- package/dist/chunk-PTQHPWEK.mjs.map +0 -1
- package/dist/lib-BD4KKQBI.mjs +0 -4
- package/dist/web-vitals.attribution-CHXXWO72.mjs.map +0 -1
- package/dist/web-vitals.attribution-SQVZNHN3.js.map +0 -1
package/dist/client/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunk6AIXHYFO_js = require('../chunk-6AIXHYFO.js');
|
|
5
5
|
var chunkHGNSJXWT_js = require('../chunk-HGNSJXWT.js');
|
|
6
6
|
require('../chunk-UZKXOZHR.js');
|
|
7
7
|
require('../chunk-SWIKKSKL.js');
|
|
@@ -9,8 +9,8 @@ var chunk3DWIYCQX_js = require('../chunk-3DWIYCQX.js');
|
|
|
9
9
|
var chunkG6WF4G3E_js = require('../chunk-G6WF4G3E.js');
|
|
10
10
|
var chunkRC4WWQXR_js = require('../chunk-RC4WWQXR.js');
|
|
11
11
|
require('../chunk-VJMPIRSD.js');
|
|
12
|
-
require('../chunk-
|
|
13
|
-
require('../chunk-
|
|
12
|
+
require('../chunk-4BQQGOHC.js');
|
|
13
|
+
require('../chunk-JLIL5EFG.js');
|
|
14
14
|
require('../chunk-SNAQBZPT.js');
|
|
15
15
|
|
|
16
16
|
// src/client/SiteKitCredential.tsx
|
|
@@ -20,7 +20,7 @@ function SiteKitCredential({
|
|
|
20
20
|
site,
|
|
21
21
|
debug
|
|
22
22
|
}) {
|
|
23
|
-
|
|
23
|
+
chunk6AIXHYFO_js.publishSiteCredential({ apiKey, apiUrl, site, debug });
|
|
24
24
|
return null;
|
|
25
25
|
}
|
|
26
26
|
|
package/dist/client/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { publishSiteCredential } from '../chunk-
|
|
2
|
+
import { publishSiteCredential } from '../chunk-6SH6HLWS.mjs';
|
|
3
3
|
export { useDeferredActivation } from '../chunk-ZVBLXXNJ.mjs';
|
|
4
4
|
import '../chunk-KZVSB5WE.mjs';
|
|
5
5
|
import '../chunk-ZN4HBK5C.mjs';
|
|
@@ -7,8 +7,8 @@ export { trackConversion, trackEvent } from '../chunk-SHLWA6JY.mjs';
|
|
|
7
7
|
export { VISUAL_VIEWPORT_GAP_PROPERTY, VisualViewportGap, useVisualViewportGap } from '../chunk-NSWO43XW.mjs';
|
|
8
8
|
export { getOrCreateSessionId, getOrCreateVisitorId, useSiteKitIdentity } from '../chunk-ZZQAGCSI.mjs';
|
|
9
9
|
import '../chunk-6EDVCUAG.mjs';
|
|
10
|
-
import '../chunk-
|
|
11
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-QSCE66KQ.mjs';
|
|
11
|
+
import '../chunk-COCYQHK3.mjs';
|
|
12
12
|
import '../chunk-BEXTDHO4.mjs';
|
|
13
13
|
|
|
14
14
|
// src/client/SiteKitCredential.tsx
|
package/dist/commerce/index.js
CHANGED
|
@@ -1,228 +1,228 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkOZLYJSFE_js = require('../chunk-OZLYJSFE.js');
|
|
5
5
|
require('../chunk-3SDMJMN2.js');
|
|
6
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-RNEPZD2I.js');
|
|
7
7
|
require('../chunk-3DWIYCQX.js');
|
|
8
8
|
require('../chunk-RC4WWQXR.js');
|
|
9
9
|
require('../chunk-P4Y75QSU.js');
|
|
10
10
|
require('../chunk-VJMPIRSD.js');
|
|
11
11
|
require('../chunk-5RNAUYWE.js');
|
|
12
|
-
require('../chunk-
|
|
13
|
-
require('../chunk-
|
|
14
|
-
require('../chunk-
|
|
12
|
+
require('../chunk-PXN7LIYZ.js');
|
|
13
|
+
require('../chunk-4BQQGOHC.js');
|
|
14
|
+
require('../chunk-JLIL5EFG.js');
|
|
15
15
|
require('../chunk-SNAQBZPT.js');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
Object.defineProperty(exports, "CalendarView", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkOZLYJSFE_js.CalendarView; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "CapacityBadge", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkOZLYJSFE_js.CapacityBadge; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "CheckoutForm", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkOZLYJSFE_js.CheckoutForm; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "EventCalendar", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkOZLYJSFE_js.EventCalendar; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "EventCheckout", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkOZLYJSFE_js.EventCheckout; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "EventEmbed", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkOZLYJSFE_js.EventEmbed; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "EventJsonLd", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkOZLYJSFE_js.EventJsonLd; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "EventModal", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkOZLYJSFE_js.EventModal; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "EventTile", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkOZLYJSFE_js.EventTile; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "EventsAgenda", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkOZLYJSFE_js.EventsAgenda; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "EventsWidget", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkOZLYJSFE_js.EventsWidget; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "OfferingCard", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkOZLYJSFE_js.OfferingCard; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "OfferingList", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkOZLYJSFE_js.OfferingList; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "ProductDetail", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkOZLYJSFE_js.ProductDetail; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "ProductEmbed", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkOZLYJSFE_js.ProductEmbed; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "ProductGrid", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkOZLYJSFE_js.ProductGrid; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "ProductPage", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkOZLYJSFE_js.ProductPage; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "RegistrationForm", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkOZLYJSFE_js.RegistrationForm; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "SizeChart", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkOZLYJSFE_js.SizeChart; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "UpcomingEvents", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkOZLYJSFE_js.UpcomingEvents; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "createCheckoutSession", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkOZLYJSFE_js.createCheckoutSession; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "createPaymentIntent", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkOZLYJSFE_js.createPaymentIntent; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "fetchActiveProcessor", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkOZLYJSFE_js.fetchActiveProcessor; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "fetchCategories", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkOZLYJSFE_js.fetchCategories; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "fetchLatestOffering", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkOZLYJSFE_js.fetchLatestOffering; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "fetchNextEvent", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkOZLYJSFE_js.fetchNextEvent; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "fetchOffering", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkOZLYJSFE_js.fetchOffering; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "fetchOfferings", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkOZLYJSFE_js.fetchOfferings; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "fetchProcessorConfig", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkOZLYJSFE_js.fetchProcessorConfig; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "fetchProductBySlug", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkOZLYJSFE_js.fetchProductBySlug; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "fetchProducts", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkOZLYJSFE_js.fetchProducts; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "fetchProductsPublic", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkOZLYJSFE_js.fetchProductsPublic; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "fetchServices", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkOZLYJSFE_js.fetchServices; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "fetchShippingRates", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkOZLYJSFE_js.fetchShippingRates; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "fetchUpcomingEvents", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkOZLYJSFE_js.fetchUpcomingEvents; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "formatDate", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkOZLYJSFE_js.formatDate; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "formatDateRange", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkOZLYJSFE_js.formatDateRange; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "formatDateTime", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkOZLYJSFE_js.formatDateTime; }
|
|
170
170
|
});
|
|
171
171
|
Object.defineProperty(exports, "formatPrice", {
|
|
172
172
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkOZLYJSFE_js.formatPrice; }
|
|
174
174
|
});
|
|
175
175
|
Object.defineProperty(exports, "formatTime", {
|
|
176
176
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkOZLYJSFE_js.formatTime; }
|
|
178
178
|
});
|
|
179
179
|
Object.defineProperty(exports, "getOfferingUrl", {
|
|
180
180
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunkOZLYJSFE_js.getOfferingUrl; }
|
|
182
182
|
});
|
|
183
183
|
Object.defineProperty(exports, "getRelativeTimeUntil", {
|
|
184
184
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunkOZLYJSFE_js.getRelativeTimeUntil; }
|
|
186
186
|
});
|
|
187
187
|
Object.defineProperty(exports, "getSpotsRemaining", {
|
|
188
188
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunkOZLYJSFE_js.getSpotsRemaining; }
|
|
190
190
|
});
|
|
191
191
|
Object.defineProperty(exports, "googleCalendarUrl", {
|
|
192
192
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunkOZLYJSFE_js.googleCalendarUrl; }
|
|
194
194
|
});
|
|
195
195
|
Object.defineProperty(exports, "icsForEvent", {
|
|
196
196
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
197
|
+
get: function () { return chunkOZLYJSFE_js.icsForEvent; }
|
|
198
198
|
});
|
|
199
199
|
Object.defineProperty(exports, "icsResponse", {
|
|
200
200
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
201
|
+
get: function () { return chunkOZLYJSFE_js.icsResponse; }
|
|
202
202
|
});
|
|
203
203
|
Object.defineProperty(exports, "isEventSoldOut", {
|
|
204
204
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
205
|
+
get: function () { return chunkOZLYJSFE_js.isEventSoldOut; }
|
|
206
206
|
});
|
|
207
207
|
Object.defineProperty(exports, "registerForEvent", {
|
|
208
208
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
209
|
+
get: function () { return chunkOZLYJSFE_js.registerForEvent; }
|
|
210
210
|
});
|
|
211
211
|
Object.defineProperty(exports, "shippingSelection", {
|
|
212
212
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunkOZLYJSFE_js.shippingSelection; }
|
|
214
214
|
});
|
|
215
215
|
Object.defineProperty(exports, "useEventModal", {
|
|
216
216
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunkOZLYJSFE_js.useEventModal; }
|
|
218
218
|
});
|
|
219
219
|
Object.defineProperty(exports, "validateAddress", {
|
|
220
220
|
enumerable: true,
|
|
221
|
-
get: function () { return
|
|
221
|
+
get: function () { return chunkOZLYJSFE_js.validateAddress; }
|
|
222
222
|
});
|
|
223
223
|
Object.defineProperty(exports, "validateDiscountCode", {
|
|
224
224
|
enumerable: true,
|
|
225
|
-
get: function () { return
|
|
225
|
+
get: function () { return chunkOZLYJSFE_js.validateDiscountCode; }
|
|
226
226
|
});
|
|
227
227
|
//# sourceMappingURL=index.js.map
|
|
228
228
|
//# sourceMappingURL=index.js.map
|
package/dist/commerce/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { CalendarView, CapacityBadge, CheckoutForm, EventCalendar, EventCheckout, EventEmbed, EventJsonLd, EventModal, EventTile, EventsAgenda, EventsWidget, OfferingCard, OfferingList, ProductDetail, ProductEmbed, ProductGrid, ProductPage, RegistrationForm, SizeChart, UpcomingEvents, createCheckoutSession, createPaymentIntent, fetchActiveProcessor, fetchCategories, fetchLatestOffering, fetchNextEvent, fetchOffering, fetchOfferings, fetchProcessorConfig, fetchProductBySlug, fetchProducts, fetchProductsPublic, fetchServices, fetchShippingRates, fetchUpcomingEvents, formatDate, formatDateRange, formatDateTime, formatPrice, formatTime, getOfferingUrl, getRelativeTimeUntil, getSpotsRemaining, googleCalendarUrl, icsForEvent, icsResponse, isEventSoldOut, registerForEvent, shippingSelection, useEventModal, validateAddress, validateDiscountCode } from '../chunk-
|
|
2
|
+
export { CalendarView, CapacityBadge, CheckoutForm, EventCalendar, EventCheckout, EventEmbed, EventJsonLd, EventModal, EventTile, EventsAgenda, EventsWidget, OfferingCard, OfferingList, ProductDetail, ProductEmbed, ProductGrid, ProductPage, RegistrationForm, SizeChart, UpcomingEvents, createCheckoutSession, createPaymentIntent, fetchActiveProcessor, fetchCategories, fetchLatestOffering, fetchNextEvent, fetchOffering, fetchOfferings, fetchProcessorConfig, fetchProductBySlug, fetchProducts, fetchProductsPublic, fetchServices, fetchShippingRates, fetchUpcomingEvents, formatDate, formatDateRange, formatDateTime, formatPrice, formatTime, getOfferingUrl, getRelativeTimeUntil, getSpotsRemaining, googleCalendarUrl, icsForEvent, icsResponse, isEventSoldOut, registerForEvent, shippingSelection, useEventModal, validateAddress, validateDiscountCode } from '../chunk-22MXW53O.mjs';
|
|
3
3
|
import '../chunk-64BOVMXG.mjs';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-DN6BLVU7.mjs';
|
|
5
5
|
import '../chunk-SHLWA6JY.mjs';
|
|
6
6
|
import '../chunk-ZZQAGCSI.mjs';
|
|
7
7
|
import '../chunk-5SANRSX3.mjs';
|
|
8
8
|
import '../chunk-6EDVCUAG.mjs';
|
|
9
9
|
import '../chunk-A6UYV475.mjs';
|
|
10
|
-
import '../chunk-
|
|
11
|
-
import '../chunk-
|
|
12
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-RSP6RDR2.mjs';
|
|
11
|
+
import '../chunk-QSCE66KQ.mjs';
|
|
12
|
+
import '../chunk-COCYQHK3.mjs';
|
|
13
13
|
import '../chunk-BEXTDHO4.mjs';
|
|
14
14
|
//# sourceMappingURL=index.mjs.map
|
|
15
15
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -28,6 +28,66 @@ interface ChatWidgetProps {
|
|
|
28
28
|
/** Avatar URL for the assistant shown in the header */
|
|
29
29
|
assistant_avatar?: string;
|
|
30
30
|
}
|
|
31
|
-
|
|
31
|
+
/** Enriched widget config from API (engage_chat_config + project settings) */
|
|
32
|
+
interface WidgetConfigFromApi {
|
|
33
|
+
is_enabled?: boolean;
|
|
34
|
+
position?: string;
|
|
35
|
+
initial_message?: string;
|
|
36
|
+
welcome_message?: string;
|
|
37
|
+
form_heading?: string;
|
|
38
|
+
form_description?: string;
|
|
39
|
+
offline_message?: string;
|
|
40
|
+
offlineFormSlug?: string;
|
|
41
|
+
chat_mode?: string;
|
|
42
|
+
signal_enabled?: boolean;
|
|
43
|
+
offline_mode?: string;
|
|
44
|
+
offline_heading?: string;
|
|
45
|
+
offline_subheading?: string;
|
|
46
|
+
welcome_screen_enabled?: boolean;
|
|
47
|
+
welcome_quick_actions?: string[];
|
|
48
|
+
handoff_enabled?: boolean;
|
|
49
|
+
show_powered_by?: boolean;
|
|
50
|
+
business_hours?: any;
|
|
51
|
+
brand_primary?: string;
|
|
52
|
+
logo_url?: string;
|
|
53
|
+
project_name?: string;
|
|
54
|
+
business_info?: {
|
|
55
|
+
name?: string;
|
|
56
|
+
phone?: string;
|
|
57
|
+
domain?: string;
|
|
58
|
+
address?: string;
|
|
59
|
+
hours?: any;
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Whether Echo belongs on this site, given the project's widget config.
|
|
64
|
+
*
|
|
65
|
+
* Sonor decides this and sends it as `is_enabled` on `GET /engage/widget/config`:
|
|
66
|
+
* the Engage "Enable Chat Widget" switch (a project that never saved chat
|
|
67
|
+
* settings counts as on) and the project's Engage module, resolved once
|
|
68
|
+
* server-side (sonor-api `resolveChatSwitch`). Only an explicit `false` hides
|
|
69
|
+
* Echo, which also keeps an API that predates the field showing it. `null`
|
|
70
|
+
* means the config hasn't arrived or couldn't be fetched, and the chat can't
|
|
71
|
+
* run without it either.
|
|
72
|
+
*/
|
|
73
|
+
export declare function isChatEnabled(config: WidgetConfigFromApi | null): config is WidgetConfigFromApi;
|
|
74
|
+
/**
|
|
75
|
+
* Echo's launcher and chat window, shown only while the project's chat switch
|
|
76
|
+
* in Sonor is on. Nothing renders until the widget config arrives, so a site
|
|
77
|
+
* whose owner switched chat off never flashes a launcher and never starts
|
|
78
|
+
* Echo's availability polling.
|
|
79
|
+
*/
|
|
80
|
+
export declare function ChatWidget(props: ChatWidgetProps): React.JSX.Element | null;
|
|
81
|
+
interface EchoChatProps extends ChatWidgetProps {
|
|
82
|
+
projectId: string;
|
|
83
|
+
widgetConfig: WidgetConfigFromApi;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Echo itself, mounted by ChatWidget once the project's config says chat is
|
|
87
|
+
* on. Exported for the launcher tests, which render it with a resolved config
|
|
88
|
+
* because the package's vitest has no DOM to run ChatWidget's fetch in. Not
|
|
89
|
+
* part of the public `@sonordev/site-kit/engage` API.
|
|
90
|
+
*/
|
|
91
|
+
export declare function EchoChat({ projectId, widgetConfig, config, apiUrl: propApiUrl, signalUrl: propSignalUrl, suggested_questions: propSuggestedQuestions, assistant_name: propAssistantName, welcome_message: propWelcomeMessage, assistant_avatar: propAssistantAvatar }: EchoChatProps): React.JSX.Element;
|
|
32
92
|
export {};
|
|
33
93
|
//# sourceMappingURL=ChatWidget.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatWidget.d.ts","sourceRoot":"","sources":["../../src/engage/ChatWidget.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,OAAO,KAAoE,MAAM,OAAO,CAAA;AAExF,OAAO,KAAK,EAAE,UAAU,EAAY,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"ChatWidget.d.ts","sourceRoot":"","sources":["../../src/engage/ChatWidget.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,OAAO,KAAoE,MAAM,OAAO,CAAA;AAExF,OAAO,KAAK,EAAE,UAAU,EAAY,MAAM,SAAS,CAAA;AAoBnD,UAAU,eAAe;IACvB,yEAAyE;IACzE,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,CAAA;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,oFAAoF;IACpF,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC9B,gFAAgF;IAChF,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,yEAAyE;IACzE,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,uDAAuD;IACvD,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B;AAgBD,8EAA8E;AAC9E,UAAU,mBAAmB;IAE3B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,sBAAsB,CAAC,EAAE,OAAO,CAAA;IAChC,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAA;IAChC,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,cAAc,CAAC,EAAE,GAAG,CAAA;IAEpB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB,aAAa,CAAC,EAAE;QACd,IAAI,CAAC,EAAE,MAAM,CAAA;QACb,KAAK,CAAC,EAAE,MAAM,CAAA;QACd,MAAM,CAAC,EAAE,MAAM,CAAA;QACf,OAAO,CAAC,EAAE,MAAM,CAAA;QAChB,KAAK,CAAC,EAAE,GAAG,CAAA;KACZ,CAAA;CACF;AAsFD;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,mBAAmB,GAAG,IAAI,GAAG,MAAM,IAAI,mBAAmB,CAE/F;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,4BA8ChD;AAED,UAAU,aAAc,SAAQ,eAAe;IAC7C,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,mBAAmB,CAAA;CAClC;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,cAAc,EAAE,iBAAiB,EAAE,eAAe,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,EAAE,aAAa,qBAg+CpR"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @sonordev/site-kit/engage — Echo's transcript: message shapes and turns
|
|
3
|
+
*
|
|
4
|
+
* Single source of truth for what ChatWidget adds to the transcript when a
|
|
5
|
+
* visitor speaks, and for the one AI turn every send path goes through.
|
|
6
|
+
*
|
|
7
|
+
* The rule that keeps a message from showing twice: a visitor's bubble is
|
|
8
|
+
* drawn once, at the moment they act (typing and sending, clicking a
|
|
9
|
+
* suggestion chip, or starting the chat with a quick-action chip). Delivery
|
|
10
|
+
* afterwards (to Echo, or over the live-chat socket) only sends; it never
|
|
11
|
+
* draws the visitor's bubble. The opening quick-action message used to be
|
|
12
|
+
* drawn by `startChat` and again when the session came up, so every AI-mode
|
|
13
|
+
* visitor who started from a chip saw it twice.
|
|
14
|
+
*/
|
|
15
|
+
import type { UiAction } from './types';
|
|
16
|
+
export interface MessageAttachment {
|
|
17
|
+
name: string;
|
|
18
|
+
url: string;
|
|
19
|
+
size?: number;
|
|
20
|
+
mimeType?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface Message {
|
|
23
|
+
id: string;
|
|
24
|
+
role: 'user' | 'assistant' | 'agent' | 'system';
|
|
25
|
+
content: string;
|
|
26
|
+
timestamp: Date;
|
|
27
|
+
agentName?: string;
|
|
28
|
+
attachments?: MessageAttachment[];
|
|
29
|
+
suggestions?: string[];
|
|
30
|
+
sendFailed?: boolean;
|
|
31
|
+
/** When true, show "Talk to a person" button (AI cannot answer or user requested handoff) */
|
|
32
|
+
offerHandoff?: boolean;
|
|
33
|
+
/** Optional inline UI actions returned by the visitor Echo endpoint (forms, suggestion chips). */
|
|
34
|
+
uiActions?: UiAction[];
|
|
35
|
+
}
|
|
36
|
+
/** What the visitor Echo endpoint answers a turn with (ChatWidget's sendToSignalApi). */
|
|
37
|
+
export interface EchoReply {
|
|
38
|
+
content: string;
|
|
39
|
+
suggestions?: string[];
|
|
40
|
+
offerHandoff?: boolean;
|
|
41
|
+
uiActions?: UiAction[];
|
|
42
|
+
}
|
|
43
|
+
/** Detect if text expresses intent to talk to a live person */
|
|
44
|
+
export declare function userRequestedHandoff(text: string): boolean;
|
|
45
|
+
/** The visitor's bubble. Draw it once, when they act. */
|
|
46
|
+
export declare function visitorMessage(content: string, attachments?: MessageAttachment[]): Message;
|
|
47
|
+
/**
|
|
48
|
+
* The transcript a chat begins with: the welcome, then the quick-action
|
|
49
|
+
* message the visitor started it with, if any. This is where that message's
|
|
50
|
+
* bubble is drawn, in AI and live mode alike; `deliverOpeningMessage` only
|
|
51
|
+
* sends it once the session is up.
|
|
52
|
+
*/
|
|
53
|
+
export declare function openingMessages(welcome: string, initialMessage?: string): Message[];
|
|
54
|
+
/**
|
|
55
|
+
* Echo's reply as a transcript message. `probe` is the visitor text the reply
|
|
56
|
+
* answers, scanned for an explicit request for a person.
|
|
57
|
+
*/
|
|
58
|
+
export declare function echoReplyMessage(reply: EchoReply, probe: string): Message;
|
|
59
|
+
/** What the visitor sees when Echo can't be reached. */
|
|
60
|
+
export declare function echoErrorMessage(): Message;
|
|
61
|
+
export interface EchoTurnDeps {
|
|
62
|
+
/** Send one visitor turn to Echo. */
|
|
63
|
+
send: (content: string) => Promise<EchoReply>;
|
|
64
|
+
/** Append to the transcript. */
|
|
65
|
+
append: (message: Message) => void;
|
|
66
|
+
setLoading: (loading: boolean) => void;
|
|
67
|
+
onError?: (error: unknown) => void;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* One visitor turn to Echo in AI mode: the single path the composer, the
|
|
71
|
+
* suggestion chips and the opening message all send through. It appends
|
|
72
|
+
* Echo's reply (or the error reply) and never the visitor's bubble; the
|
|
73
|
+
* caller drew that when the visitor acted.
|
|
74
|
+
*/
|
|
75
|
+
export declare function askEcho(content: string, deps: EchoTurnDeps): Promise<void>;
|
|
76
|
+
/**
|
|
77
|
+
* Send the chat's opening message once the session is up: to Echo in AI
|
|
78
|
+
* mode, over the live-chat socket otherwise. Its bubble is already on screen
|
|
79
|
+
* (`openingMessages`), so neither route may draw it; this takes no way to.
|
|
80
|
+
*/
|
|
81
|
+
export declare function deliverOpeningMessage(pending: string, route: {
|
|
82
|
+
signalEnabled: boolean;
|
|
83
|
+
ask: (content: string) => Promise<void>;
|
|
84
|
+
emitLive: (content: string) => Promise<void>;
|
|
85
|
+
}): Promise<void>;
|
|
86
|
+
//# sourceMappingURL=chat-messages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-messages.d.ts","sourceRoot":"","sources":["../../src/engage/chat-messages.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAEvC,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,OAAO,GAAG,QAAQ,CAAA;IAC/C,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,IAAI,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,WAAW,CAAC,EAAE,iBAAiB,EAAE,CAAA;IACjC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,6FAA6F;IAC7F,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,kGAAkG;IAClG,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAA;CACvB;AAED,yFAAyF;AACzF,MAAM,WAAW,SAAS;IACxB,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAA;CACvB;AAED,+DAA+D;AAC/D,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAY1D;AAED,yDAAyD;AACzD,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,GAAE,iBAAiB,EAAO,GAAG,OAAO,CAQ9F;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,MAAM,GAAG,OAAO,EAAE,CAInF;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAUzE;AAED,wDAAwD;AACxD,wBAAgB,gBAAgB,IAAI,OAAO,CAS1C;AAED,MAAM,WAAW,YAAY;IAC3B,qCAAqC;IACrC,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,SAAS,CAAC,CAAA;IAC7C,gCAAgC;IAChC,MAAM,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;IAClC,UAAU,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;IACtC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;CACnC;AAED;;;;;GAKG;AACH,wBAAsB,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAWhF;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,MAAM,EACf,KAAK,EAAE;IAAE,aAAa,EAAE,OAAO,CAAC;IAAC,GAAG,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAAC,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;CAAE,GACvH,OAAO,CAAC,IAAI,CAAC,CAEf"}
|
package/dist/engage/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var chunkLIWPIG7U_js = require('../chunk-LIWPIG7U.js');
|
|
5
|
+
var chunkP35JIP3J_js = require('../chunk-P35JIP3J.js');
|
|
6
6
|
require('../chunk-ESP5RMB7.js');
|
|
7
7
|
require('../chunk-NBOBOYMT.js');
|
|
8
8
|
require('../chunk-G6WF4G3E.js');
|
|
9
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-C3MRX7NL.js');
|
|
10
10
|
require('../chunk-5XFFUP6D.js');
|
|
11
|
-
require('../chunk-
|
|
11
|
+
require('../chunk-F4DZDIR4.js');
|
|
12
12
|
require('../chunk-KHPJ3CEL.js');
|
|
13
13
|
require('../chunk-M2N7NY3V.js');
|
|
14
14
|
require('../chunk-RC4WWQXR.js');
|
|
15
15
|
require('../chunk-P4Y75QSU.js');
|
|
16
16
|
require('../chunk-VJMPIRSD.js');
|
|
17
17
|
require('../chunk-5RNAUYWE.js');
|
|
18
|
-
require('../chunk-
|
|
19
|
-
require('../chunk-
|
|
20
|
-
require('../chunk-
|
|
18
|
+
require('../chunk-PXN7LIYZ.js');
|
|
19
|
+
require('../chunk-4BQQGOHC.js');
|
|
20
|
+
require('../chunk-JLIL5EFG.js');
|
|
21
21
|
require('../chunk-SNAQBZPT.js');
|
|
22
22
|
|
|
23
23
|
// src/engage/echo-config.ts
|
|
@@ -49,15 +49,15 @@ function getEchoWidgetProps(config = SONOR_PUBLIC_ECHO_DEFAULTS) {
|
|
|
49
49
|
|
|
50
50
|
Object.defineProperty(exports, "ChatWidget", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkLIWPIG7U_js.ChatWidget; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "DesignRenderer", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkP35JIP3J_js.DesignRenderer; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "EngageWidget", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkP35JIP3J_js.EngageWidget; }
|
|
61
61
|
});
|
|
62
62
|
exports.SONOR_PUBLIC_ECHO_DEFAULTS = SONOR_PUBLIC_ECHO_DEFAULTS;
|
|
63
63
|
exports.getEchoWidgetProps = getEchoWidgetProps;
|
package/dist/engage/index.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { ChatWidget } from '../chunk-
|
|
3
|
-
export { DesignRenderer, EngageWidget } from '../chunk-
|
|
2
|
+
export { ChatWidget } from '../chunk-DFAW62AX.mjs';
|
|
3
|
+
export { DesignRenderer, EngageWidget } from '../chunk-IHG7W5JH.mjs';
|
|
4
4
|
import '../chunk-4U5NCKQY.mjs';
|
|
5
5
|
import '../chunk-OBKS3CPP.mjs';
|
|
6
6
|
import '../chunk-NSWO43XW.mjs';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-RB53MKRX.mjs';
|
|
8
8
|
import '../chunk-QRHVMTHF.mjs';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-M436JMD4.mjs';
|
|
10
10
|
import '../chunk-TMVKRQGJ.mjs';
|
|
11
11
|
import '../chunk-NYXENHD2.mjs';
|
|
12
12
|
import '../chunk-ZZQAGCSI.mjs';
|
|
13
13
|
import '../chunk-5SANRSX3.mjs';
|
|
14
14
|
import '../chunk-6EDVCUAG.mjs';
|
|
15
15
|
import '../chunk-A6UYV475.mjs';
|
|
16
|
-
import '../chunk-
|
|
17
|
-
import '../chunk-
|
|
18
|
-
import '../chunk-
|
|
16
|
+
import '../chunk-RSP6RDR2.mjs';
|
|
17
|
+
import '../chunk-QSCE66KQ.mjs';
|
|
18
|
+
import '../chunk-COCYQHK3.mjs';
|
|
19
19
|
import '../chunk-BEXTDHO4.mjs';
|
|
20
20
|
|
|
21
21
|
// src/engage/echo-config.ts
|
package/dist/fleet/index.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkRDKICSVU_js = require('../chunk-RDKICSVU.js');
|
|
5
5
|
var chunk7THQ4UW3_js = require('../chunk-7THQ4UW3.js');
|
|
6
6
|
require('../chunk-HGNSJXWT.js');
|
|
7
7
|
require('../chunk-5RNAUYWE.js');
|
|
8
|
-
require('../chunk-
|
|
9
|
-
require('../chunk-
|
|
10
|
-
require('../chunk-
|
|
8
|
+
require('../chunk-PXN7LIYZ.js');
|
|
9
|
+
require('../chunk-4BQQGOHC.js');
|
|
10
|
+
require('../chunk-JLIL5EFG.js');
|
|
11
11
|
require('../chunk-SNAQBZPT.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "FLEET_HEARTBEAT_PATH", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkRDKICSVU_js.FLEET_HEARTBEAT_PATH; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "FleetHeartbeat", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkRDKICSVU_js.FleetHeartbeat; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "detectNextVersion", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkRDKICSVU_js.detectNextVersion; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "sendFleetHeartbeat", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkRDKICSVU_js.sendFleetHeartbeat; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "FLEET_CONTRACT_VERSION", {
|
|
32
32
|
enumerable: true,
|