@sonordev/site-kit 3.3.1 → 3.4.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 +13 -1
- package/dist/AnalyticsProvider-ARAWVJPX.js +30 -0
- package/dist/{AnalyticsProvider-PLGTU56K.js.map → AnalyticsProvider-ARAWVJPX.js.map} +1 -1
- package/dist/AnalyticsProvider-HIGSPNRA.mjs +9 -0
- package/dist/{AnalyticsProvider-3MZ3O5OB.mjs.map → AnalyticsProvider-HIGSPNRA.mjs.map} +1 -1
- package/dist/ChatWidget-47KAOFLG.mjs +9 -0
- package/dist/{ChatWidget-7JHVRNVE.mjs.map → ChatWidget-47KAOFLG.mjs.map} +1 -1
- package/dist/ChatWidget-BDES6WUR.js +18 -0
- package/dist/{ChatWidget-FQARJMGU.js.map → ChatWidget-BDES6WUR.js.map} +1 -1
- package/dist/EngageWidget-HPZAI6SU.mjs +8 -0
- package/dist/{EngageWidget-VXQOZOYA.mjs.map → EngageWidget-HPZAI6SU.mjs.map} +1 -1
- package/dist/EngageWidget-X3NIWGMZ.js +17 -0
- package/dist/{EngageWidget-DQ62NQPU.js.map → EngageWidget-X3NIWGMZ.js.map} +1 -1
- package/dist/{SignalCore-3SG3LFQL.js → SignalCore-K2CTZ52G.js} +61 -43
- package/dist/SignalCore-K2CTZ52G.js.map +1 -0
- package/dist/{SignalCore-BKG66B4C.mjs → SignalCore-XABEH2GA.mjs} +55 -37
- package/dist/SignalCore-XABEH2GA.mjs.map +1 -0
- package/dist/SitemapSync-4BALOI4B.js +16 -0
- package/dist/{SitemapSync-DWX7I6MX.js.map → SitemapSync-4BALOI4B.js.map} +1 -1
- package/dist/SitemapSync-OQPRGBG3.mjs +7 -0
- package/dist/{SitemapSync-IO2VOR23.mjs.map → SitemapSync-OQPRGBG3.mjs.map} +1 -1
- package/dist/analytics/index.js +13 -12
- package/dist/analytics/index.mjs +6 -5
- package/dist/{chunk-S2N3NSC7.mjs → chunk-3SIIYHVE.mjs} +5 -5
- package/dist/{chunk-S2N3NSC7.mjs.map → chunk-3SIIYHVE.mjs.map} +1 -1
- package/dist/{chunk-7OROUYZH.mjs → chunk-472FTEPP.mjs} +4 -4
- package/dist/{chunk-7OROUYZH.mjs.map → chunk-472FTEPP.mjs.map} +1 -1
- package/dist/{chunk-4JMXBIUC.js → chunk-56X3IUOL.js} +16 -16
- package/dist/{chunk-4JMXBIUC.js.map → chunk-56X3IUOL.js.map} +1 -1
- package/dist/{chunk-PIV54R2O.js → chunk-5SJKYZID.js} +5 -5
- package/dist/{chunk-PIV54R2O.js.map → chunk-5SJKYZID.js.map} +1 -1
- package/dist/{chunk-ZYIONE7A.mjs → chunk-5WEADCND.mjs} +4 -4
- package/dist/{chunk-ZYIONE7A.mjs.map → chunk-5WEADCND.mjs.map} +1 -1
- package/dist/chunk-6EDVCUAG.mjs +29 -0
- package/dist/chunk-6EDVCUAG.mjs.map +1 -0
- package/dist/{chunk-3WRE7ZDC.js → chunk-6Q72JAL2.js} +8 -8
- package/dist/{chunk-3WRE7ZDC.js.map → chunk-6Q72JAL2.js.map} +1 -1
- package/dist/{chunk-DNW7FTJD.js → chunk-7523LJ52.js} +9 -9
- package/dist/{chunk-DNW7FTJD.js.map → chunk-7523LJ52.js.map} +1 -1
- package/dist/{chunk-TXEOLHMC.js → chunk-7UYUVHCR.js} +4 -4
- package/dist/{chunk-TXEOLHMC.js.map → chunk-7UYUVHCR.js.map} +1 -1
- package/dist/{chunk-EE6SFAZP.mjs → chunk-AX4AROLH.mjs} +5 -14
- package/dist/chunk-AX4AROLH.mjs.map +1 -0
- package/dist/{chunk-FSYXHIAI.js → chunk-C37DFD5F.js} +14 -14
- package/dist/{chunk-FSYXHIAI.js.map → chunk-C37DFD5F.js.map} +1 -1
- package/dist/chunk-CDETOO5W.js +8 -0
- package/dist/{chunk-3X2YPJU5.js.map → chunk-CDETOO5W.js.map} +1 -1
- package/dist/{chunk-PCDAVHVX.js → chunk-E4VA4FYW.js} +8 -8
- package/dist/{chunk-PCDAVHVX.js.map → chunk-E4VA4FYW.js.map} +1 -1
- package/dist/chunk-EU2UGO25.js +52 -0
- package/dist/chunk-EU2UGO25.js.map +1 -0
- package/dist/{chunk-3AG6O3IA.mjs → chunk-G3G4HQT3.mjs} +49 -5
- package/dist/chunk-G3G4HQT3.mjs.map +1 -0
- package/dist/{chunk-4ROFY6PM.js → chunk-HV7IYMXK.js} +61 -17
- package/dist/chunk-HV7IYMXK.js.map +1 -0
- package/dist/{chunk-YFYMOQAX.js → chunk-IB34IYMN.js} +14 -31
- package/dist/chunk-IB34IYMN.js.map +1 -0
- package/dist/chunk-IBMOX3YE.mjs +48 -0
- package/dist/chunk-IBMOX3YE.mjs.map +1 -0
- package/dist/{chunk-MLD3EGM2.mjs → chunk-IURQA3H5.mjs} +3 -3
- package/dist/{chunk-MLD3EGM2.mjs.map → chunk-IURQA3H5.mjs.map} +1 -1
- package/dist/{chunk-JD6LV6JZ.mjs → chunk-JRUNONG5.mjs} +3 -3
- package/dist/{chunk-JD6LV6JZ.mjs.map → chunk-JRUNONG5.mjs.map} +1 -1
- package/dist/{chunk-25YPXQBA.mjs → chunk-LQHZFUZJ.mjs} +8 -25
- package/dist/chunk-LQHZFUZJ.mjs.map +1 -0
- package/dist/{chunk-C4JAMON3.js → chunk-MCDQM75H.js} +15 -15
- package/dist/{chunk-C4JAMON3.js.map → chunk-MCDQM75H.js.map} +1 -1
- package/dist/{chunk-FMQHK6MM.js → chunk-MJV6RC7I.js} +3 -3
- package/dist/{chunk-FMQHK6MM.js.map → chunk-MJV6RC7I.js.map} +1 -1
- package/dist/{chunk-DIXWP4BO.mjs → chunk-O4RVFKQW.mjs} +3 -3
- package/dist/{chunk-DIXWP4BO.mjs.map → chunk-O4RVFKQW.mjs.map} +1 -1
- package/dist/{chunk-BOWR5QEV.js → chunk-O7B7IEXY.js} +14 -14
- package/dist/{chunk-BOWR5QEV.js.map → chunk-O7B7IEXY.js.map} +1 -1
- package/dist/{chunk-QW3T6WH2.mjs → chunk-PYA4BR2N.mjs} +3 -3
- package/dist/{chunk-QW3T6WH2.mjs.map → chunk-PYA4BR2N.mjs.map} +1 -1
- package/dist/{chunk-ZFF3BKNE.mjs → chunk-QE53WRXW.mjs} +4 -4
- package/dist/{chunk-ZFF3BKNE.mjs.map → chunk-QE53WRXW.mjs.map} +1 -1
- package/dist/{chunk-QRIGY6EM.js → chunk-RMUOY6XB.js} +7 -7
- package/dist/{chunk-QRIGY6EM.js.map → chunk-RMUOY6XB.js.map} +1 -1
- package/dist/{chunk-OC64AHKN.mjs → chunk-VE5XLADP.mjs} +3 -3
- package/dist/{chunk-OC64AHKN.mjs.map → chunk-VE5XLADP.mjs.map} +1 -1
- package/dist/chunk-VJMPIRSD.js +31 -0
- package/dist/chunk-VJMPIRSD.js.map +1 -0
- package/dist/{chunk-QFWBAGBT.mjs → chunk-VNQFKBKF.mjs} +3 -3
- package/dist/{chunk-QFWBAGBT.mjs.map → chunk-VNQFKBKF.mjs.map} +1 -1
- package/dist/{chunk-GUU3AEFM.mjs → chunk-WS4GNH3F.mjs} +4 -4
- package/dist/{chunk-GUU3AEFM.mjs.map → chunk-WS4GNH3F.mjs.map} +1 -1
- package/dist/{chunk-NQ3K4NWX.mjs → chunk-WVAY4ZWC.mjs} +9 -9
- package/dist/{chunk-NQ3K4NWX.mjs.map → chunk-WVAY4ZWC.mjs.map} +1 -1
- package/dist/{chunk-3BNFUMLL.js → chunk-XB57AM6T.js} +5 -14
- package/dist/chunk-XB57AM6T.js.map +1 -0
- package/dist/{chunk-KPKZBIAQ.js → chunk-XKV73RDH.js} +9 -7
- package/dist/{chunk-KPKZBIAQ.js.map → chunk-XKV73RDH.js.map} +1 -1
- package/dist/chunk-YCQHE2XT.mjs +6 -0
- package/dist/{chunk-K6YGF2KJ.mjs.map → chunk-YCQHE2XT.mjs.map} +1 -1
- package/dist/cli/index.js +2 -2
- package/dist/cli/index.mjs +1 -1
- package/dist/client/index.js +6 -5
- package/dist/client/index.mjs +2 -1
- package/dist/commerce/index.js +52 -51
- package/dist/commerce/index.mjs +7 -6
- package/dist/engage/index.js +10 -9
- package/dist/engage/index.js.map +1 -1
- package/dist/engage/index.mjs +7 -6
- package/dist/engage/index.mjs.map +1 -1
- package/dist/fleet/index.js +7 -7
- package/dist/fleet/index.mjs +3 -3
- package/dist/forms/index.js +13 -12
- package/dist/forms/index.js.map +1 -1
- package/dist/forms/index.mjs +5 -4
- package/dist/forms/index.mjs.map +1 -1
- package/dist/images/index.js +10 -10
- package/dist/images/index.mjs +3 -3
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +74 -64
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -10
- package/dist/index.mjs.map +1 -1
- package/dist/landing/index.d.mts +21 -0
- package/dist/landing/index.d.ts +21 -0
- package/dist/landing/index.js +21 -0
- package/dist/landing/index.js.map +1 -0
- package/dist/landing/index.mjs +4 -0
- package/dist/landing/index.mjs.map +1 -0
- package/dist/layout/client.js +8 -7
- package/dist/layout/client.mjs +7 -6
- package/dist/layout/index.js +9 -8
- package/dist/layout/index.js.map +1 -1
- package/dist/layout/index.mjs +7 -6
- package/dist/layout/index.mjs.map +1 -1
- package/dist/maps/index.js +4 -4
- package/dist/maps/index.mjs +2 -2
- package/dist/metadata-D_GiY8LJ.d.mts +36 -0
- package/dist/metadata-D_GiY8LJ.d.ts +36 -0
- package/dist/middleware/index.js +2 -8
- package/dist/middleware/index.js.map +1 -1
- package/dist/middleware/index.mjs +2 -8
- package/dist/middleware/index.mjs.map +1 -1
- package/dist/seo/client.js +4 -4
- package/dist/seo/client.mjs +3 -3
- package/dist/seo/index.js +4 -4
- package/dist/seo/index.mjs +3 -3
- package/dist/signal/index.js +11 -11
- package/dist/signal/index.mjs +2 -2
- package/dist/sync/index.js +15 -15
- package/dist/sync/index.mjs +3 -3
- package/package.json +11 -1
- package/dist/AnalyticsProvider-3MZ3O5OB.mjs +0 -8
- package/dist/AnalyticsProvider-PLGTU56K.js +0 -29
- package/dist/ChatWidget-7JHVRNVE.mjs +0 -8
- package/dist/ChatWidget-FQARJMGU.js +0 -17
- package/dist/EngageWidget-DQ62NQPU.js +0 -16
- package/dist/EngageWidget-VXQOZOYA.mjs +0 -7
- package/dist/SignalCore-3SG3LFQL.js.map +0 -1
- package/dist/SignalCore-BKG66B4C.mjs.map +0 -1
- package/dist/SitemapSync-DWX7I6MX.js +0 -16
- package/dist/SitemapSync-IO2VOR23.mjs +0 -7
- package/dist/chunk-25YPXQBA.mjs.map +0 -1
- package/dist/chunk-3AG6O3IA.mjs.map +0 -1
- package/dist/chunk-3BNFUMLL.js.map +0 -1
- package/dist/chunk-3X2YPJU5.js +0 -8
- package/dist/chunk-4ROFY6PM.js.map +0 -1
- package/dist/chunk-EE6SFAZP.mjs.map +0 -1
- package/dist/chunk-K6YGF2KJ.mjs +0 -6
- package/dist/chunk-YFYMOQAX.js.map +0 -1
package/dist/cli/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var chunkAX4MJV2T_js = require('../chunk-AX4MJV2T.js');
|
|
5
5
|
var chunkY34HM2DT_js = require('../chunk-Y34HM2DT.js');
|
|
6
6
|
var chunkBICCLF2W_js = require('../chunk-BICCLF2W.js');
|
|
7
|
-
var
|
|
7
|
+
var chunkCDETOO5W_js = require('../chunk-CDETOO5W.js');
|
|
8
8
|
var chunkZSMWDLMK_js = require('../chunk-ZSMWDLMK.js');
|
|
9
9
|
var process6 = require('process');
|
|
10
10
|
var os = require('os');
|
|
@@ -29442,7 +29442,7 @@ function buildEnvelope(input, nowMs = Date.now()) {
|
|
|
29442
29442
|
ok: exitCode === 0 /* OK */,
|
|
29443
29443
|
command,
|
|
29444
29444
|
schemaVersion: 1,
|
|
29445
|
-
siteKitVersion:
|
|
29445
|
+
siteKitVersion: chunkCDETOO5W_js.SITE_KIT_VERSION,
|
|
29446
29446
|
exitCode,
|
|
29447
29447
|
status: statusForCode(exitCode),
|
|
29448
29448
|
summary,
|
package/dist/cli/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { require_supports_color, require_lib2, require_lib as require_lib$1 } from '../chunk-X73XS4WC.mjs';
|
|
3
3
|
import { require_lib } from '../chunk-GH265SBI.mjs';
|
|
4
4
|
import { require_main } from '../chunk-5OKOV3NJ.mjs';
|
|
5
|
-
import { SITE_KIT_VERSION } from '../chunk-
|
|
5
|
+
import { SITE_KIT_VERSION } from '../chunk-YCQHE2XT.mjs';
|
|
6
6
|
import { __commonJS, __require, __toESM, __privateAdd, __publicField, __privateGet, __privateMethod, __privateSet, __privateWrapper } from '../chunk-4XPGGLVP.mjs';
|
|
7
7
|
import process6 from 'process';
|
|
8
8
|
import os from 'os';
|
package/dist/client/index.js
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
var chunkHGNSJXWT_js = require('../chunk-HGNSJXWT.js');
|
|
5
5
|
var chunkHMFFAUCD_js = require('../chunk-HMFFAUCD.js');
|
|
6
|
-
var
|
|
6
|
+
var chunkXB57AM6T_js = require('../chunk-XB57AM6T.js');
|
|
7
|
+
require('../chunk-VJMPIRSD.js');
|
|
7
8
|
require('../chunk-ZSMWDLMK.js');
|
|
8
9
|
|
|
9
10
|
|
|
@@ -22,19 +23,19 @@ Object.defineProperty(exports, "trackEvent", {
|
|
|
22
23
|
});
|
|
23
24
|
Object.defineProperty(exports, "SiteKitIdentityProvider", {
|
|
24
25
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkXB57AM6T_js.SiteKitIdentityProvider; }
|
|
26
27
|
});
|
|
27
28
|
Object.defineProperty(exports, "getOrCreateSessionId", {
|
|
28
29
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkXB57AM6T_js.getOrCreateSessionId; }
|
|
30
31
|
});
|
|
31
32
|
Object.defineProperty(exports, "getOrCreateVisitorId", {
|
|
32
33
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkXB57AM6T_js.getOrCreateVisitorId; }
|
|
34
35
|
});
|
|
35
36
|
Object.defineProperty(exports, "useSiteKitIdentity", {
|
|
36
37
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkXB57AM6T_js.useSiteKitIdentity; }
|
|
38
39
|
});
|
|
39
40
|
//# sourceMappingURL=index.js.map
|
|
40
41
|
//# sourceMappingURL=index.js.map
|
package/dist/client/index.mjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
export { useDeferredActivation } from '../chunk-ZVBLXXNJ.mjs';
|
|
3
3
|
export { trackConversion, trackEvent } from '../chunk-3DPXOZAU.mjs';
|
|
4
|
-
export { SiteKitIdentityProvider, getOrCreateSessionId, getOrCreateVisitorId, useSiteKitIdentity } from '../chunk-
|
|
4
|
+
export { SiteKitIdentityProvider, getOrCreateSessionId, getOrCreateVisitorId, useSiteKitIdentity } from '../chunk-AX4AROLH.mjs';
|
|
5
|
+
import '../chunk-6EDVCUAG.mjs';
|
|
5
6
|
import '../chunk-4XPGGLVP.mjs';
|
|
6
7
|
//# sourceMappingURL=index.mjs.map
|
|
7
8
|
//# sourceMappingURL=index.mjs.map
|
package/dist/commerce/index.js
CHANGED
|
@@ -1,196 +1,197 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
4
|
+
var chunkC37DFD5F_js = require('../chunk-C37DFD5F.js');
|
|
5
|
+
require('../chunk-7UYUVHCR.js');
|
|
6
|
+
require('../chunk-HV7IYMXK.js');
|
|
7
7
|
require('../chunk-HMFFAUCD.js');
|
|
8
|
-
require('../chunk-
|
|
9
|
-
require('../chunk-
|
|
10
|
-
require('../chunk-
|
|
8
|
+
require('../chunk-XB57AM6T.js');
|
|
9
|
+
require('../chunk-VJMPIRSD.js');
|
|
10
|
+
require('../chunk-XKV73RDH.js');
|
|
11
|
+
require('../chunk-CDETOO5W.js');
|
|
11
12
|
require('../chunk-ZSMWDLMK.js');
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
Object.defineProperty(exports, "CalendarView", {
|
|
16
17
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkC37DFD5F_js.CalendarView; }
|
|
18
19
|
});
|
|
19
20
|
Object.defineProperty(exports, "CheckoutForm", {
|
|
20
21
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkC37DFD5F_js.CheckoutForm; }
|
|
22
23
|
});
|
|
23
24
|
Object.defineProperty(exports, "EventCalendar", {
|
|
24
25
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkC37DFD5F_js.EventCalendar; }
|
|
26
27
|
});
|
|
27
28
|
Object.defineProperty(exports, "EventCheckout", {
|
|
28
29
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkC37DFD5F_js.EventCheckout; }
|
|
30
31
|
});
|
|
31
32
|
Object.defineProperty(exports, "EventEmbed", {
|
|
32
33
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkC37DFD5F_js.EventEmbed; }
|
|
34
35
|
});
|
|
35
36
|
Object.defineProperty(exports, "EventModal", {
|
|
36
37
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkC37DFD5F_js.EventModal; }
|
|
38
39
|
});
|
|
39
40
|
Object.defineProperty(exports, "EventTile", {
|
|
40
41
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkC37DFD5F_js.EventTile; }
|
|
42
43
|
});
|
|
43
44
|
Object.defineProperty(exports, "EventsWidget", {
|
|
44
45
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkC37DFD5F_js.EventsWidget; }
|
|
46
47
|
});
|
|
47
48
|
Object.defineProperty(exports, "OfferingCard", {
|
|
48
49
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkC37DFD5F_js.OfferingCard; }
|
|
50
51
|
});
|
|
51
52
|
Object.defineProperty(exports, "OfferingList", {
|
|
52
53
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkC37DFD5F_js.OfferingList; }
|
|
54
55
|
});
|
|
55
56
|
Object.defineProperty(exports, "ProductDetail", {
|
|
56
57
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkC37DFD5F_js.ProductDetail; }
|
|
58
59
|
});
|
|
59
60
|
Object.defineProperty(exports, "ProductEmbed", {
|
|
60
61
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkC37DFD5F_js.ProductEmbed; }
|
|
62
63
|
});
|
|
63
64
|
Object.defineProperty(exports, "ProductGrid", {
|
|
64
65
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkC37DFD5F_js.ProductGrid; }
|
|
66
67
|
});
|
|
67
68
|
Object.defineProperty(exports, "ProductPage", {
|
|
68
69
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkC37DFD5F_js.ProductPage; }
|
|
70
71
|
});
|
|
71
72
|
Object.defineProperty(exports, "RegistrationForm", {
|
|
72
73
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkC37DFD5F_js.RegistrationForm; }
|
|
74
75
|
});
|
|
75
76
|
Object.defineProperty(exports, "SizeChart", {
|
|
76
77
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkC37DFD5F_js.SizeChart; }
|
|
78
79
|
});
|
|
79
80
|
Object.defineProperty(exports, "UpcomingEvents", {
|
|
80
81
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkC37DFD5F_js.UpcomingEvents; }
|
|
82
83
|
});
|
|
83
84
|
Object.defineProperty(exports, "createCheckoutSession", {
|
|
84
85
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkC37DFD5F_js.createCheckoutSession; }
|
|
86
87
|
});
|
|
87
88
|
Object.defineProperty(exports, "createPaymentIntent", {
|
|
88
89
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkC37DFD5F_js.createPaymentIntent; }
|
|
90
91
|
});
|
|
91
92
|
Object.defineProperty(exports, "fetchActiveProcessor", {
|
|
92
93
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkC37DFD5F_js.fetchActiveProcessor; }
|
|
94
95
|
});
|
|
95
96
|
Object.defineProperty(exports, "fetchCategories", {
|
|
96
97
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkC37DFD5F_js.fetchCategories; }
|
|
98
99
|
});
|
|
99
100
|
Object.defineProperty(exports, "fetchLatestOffering", {
|
|
100
101
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkC37DFD5F_js.fetchLatestOffering; }
|
|
102
103
|
});
|
|
103
104
|
Object.defineProperty(exports, "fetchNextEvent", {
|
|
104
105
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkC37DFD5F_js.fetchNextEvent; }
|
|
106
107
|
});
|
|
107
108
|
Object.defineProperty(exports, "fetchOffering", {
|
|
108
109
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkC37DFD5F_js.fetchOffering; }
|
|
110
111
|
});
|
|
111
112
|
Object.defineProperty(exports, "fetchOfferings", {
|
|
112
113
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkC37DFD5F_js.fetchOfferings; }
|
|
114
115
|
});
|
|
115
116
|
Object.defineProperty(exports, "fetchProcessorConfig", {
|
|
116
117
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkC37DFD5F_js.fetchProcessorConfig; }
|
|
118
119
|
});
|
|
119
120
|
Object.defineProperty(exports, "fetchProductBySlug", {
|
|
120
121
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkC37DFD5F_js.fetchProductBySlug; }
|
|
122
123
|
});
|
|
123
124
|
Object.defineProperty(exports, "fetchProducts", {
|
|
124
125
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkC37DFD5F_js.fetchProducts; }
|
|
126
127
|
});
|
|
127
128
|
Object.defineProperty(exports, "fetchProductsPublic", {
|
|
128
129
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkC37DFD5F_js.fetchProductsPublic; }
|
|
130
131
|
});
|
|
131
132
|
Object.defineProperty(exports, "fetchServices", {
|
|
132
133
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkC37DFD5F_js.fetchServices; }
|
|
134
135
|
});
|
|
135
136
|
Object.defineProperty(exports, "fetchShippingRates", {
|
|
136
137
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkC37DFD5F_js.fetchShippingRates; }
|
|
138
139
|
});
|
|
139
140
|
Object.defineProperty(exports, "fetchUpcomingEvents", {
|
|
140
141
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkC37DFD5F_js.fetchUpcomingEvents; }
|
|
142
143
|
});
|
|
143
144
|
Object.defineProperty(exports, "formatDate", {
|
|
144
145
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunkC37DFD5F_js.formatDate; }
|
|
146
147
|
});
|
|
147
148
|
Object.defineProperty(exports, "formatDateRange", {
|
|
148
149
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
150
|
+
get: function () { return chunkC37DFD5F_js.formatDateRange; }
|
|
150
151
|
});
|
|
151
152
|
Object.defineProperty(exports, "formatDateTime", {
|
|
152
153
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunkC37DFD5F_js.formatDateTime; }
|
|
154
155
|
});
|
|
155
156
|
Object.defineProperty(exports, "formatPrice", {
|
|
156
157
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunkC37DFD5F_js.formatPrice; }
|
|
158
159
|
});
|
|
159
160
|
Object.defineProperty(exports, "formatTime", {
|
|
160
161
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunkC37DFD5F_js.formatTime; }
|
|
162
163
|
});
|
|
163
164
|
Object.defineProperty(exports, "getOfferingUrl", {
|
|
164
165
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
166
|
+
get: function () { return chunkC37DFD5F_js.getOfferingUrl; }
|
|
166
167
|
});
|
|
167
168
|
Object.defineProperty(exports, "getRelativeTimeUntil", {
|
|
168
169
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
170
|
+
get: function () { return chunkC37DFD5F_js.getRelativeTimeUntil; }
|
|
170
171
|
});
|
|
171
172
|
Object.defineProperty(exports, "getSpotsRemaining", {
|
|
172
173
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
174
|
+
get: function () { return chunkC37DFD5F_js.getSpotsRemaining; }
|
|
174
175
|
});
|
|
175
176
|
Object.defineProperty(exports, "isEventSoldOut", {
|
|
176
177
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
178
|
+
get: function () { return chunkC37DFD5F_js.isEventSoldOut; }
|
|
178
179
|
});
|
|
179
180
|
Object.defineProperty(exports, "registerForEvent", {
|
|
180
181
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
182
|
+
get: function () { return chunkC37DFD5F_js.registerForEvent; }
|
|
182
183
|
});
|
|
183
184
|
Object.defineProperty(exports, "useEventModal", {
|
|
184
185
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
186
|
+
get: function () { return chunkC37DFD5F_js.useEventModal; }
|
|
186
187
|
});
|
|
187
188
|
Object.defineProperty(exports, "validateAddress", {
|
|
188
189
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
190
|
+
get: function () { return chunkC37DFD5F_js.validateAddress; }
|
|
190
191
|
});
|
|
191
192
|
Object.defineProperty(exports, "validateDiscountCode", {
|
|
192
193
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
194
|
+
get: function () { return chunkC37DFD5F_js.validateDiscountCode; }
|
|
194
195
|
});
|
|
195
196
|
//# sourceMappingURL=index.js.map
|
|
196
197
|
//# sourceMappingURL=index.js.map
|
package/dist/commerce/index.mjs
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { CalendarView, CheckoutForm, EventCalendar, EventCheckout, EventEmbed, EventModal, EventTile, 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, isEventSoldOut, registerForEvent, useEventModal, validateAddress, validateDiscountCode } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
2
|
+
export { CalendarView, CheckoutForm, EventCalendar, EventCheckout, EventEmbed, EventModal, EventTile, 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, isEventSoldOut, registerForEvent, useEventModal, validateAddress, validateDiscountCode } from '../chunk-472FTEPP.mjs';
|
|
3
|
+
import '../chunk-O4RVFKQW.mjs';
|
|
4
|
+
import '../chunk-G3G4HQT3.mjs';
|
|
5
5
|
import '../chunk-3DPXOZAU.mjs';
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-AX4AROLH.mjs';
|
|
7
|
+
import '../chunk-6EDVCUAG.mjs';
|
|
8
|
+
import '../chunk-WS4GNH3F.mjs';
|
|
9
|
+
import '../chunk-YCQHE2XT.mjs';
|
|
9
10
|
import '../chunk-4XPGGLVP.mjs';
|
|
10
11
|
//# sourceMappingURL=index.mjs.map
|
|
11
12
|
//# sourceMappingURL=index.mjs.map
|
package/dist/engage/index.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
require('../chunk-
|
|
4
|
+
var chunkMCDQM75H_js = require('../chunk-MCDQM75H.js');
|
|
5
|
+
var chunk6Q72JAL2_js = require('../chunk-6Q72JAL2.js');
|
|
6
|
+
require('../chunk-IB34IYMN.js');
|
|
7
7
|
require('../chunk-V6NVBFEP.js');
|
|
8
|
-
require('../chunk-
|
|
9
|
-
require('../chunk-
|
|
10
|
-
require('../chunk-
|
|
8
|
+
require('../chunk-XB57AM6T.js');
|
|
9
|
+
require('../chunk-VJMPIRSD.js');
|
|
10
|
+
require('../chunk-XKV73RDH.js');
|
|
11
|
+
require('../chunk-CDETOO5W.js');
|
|
11
12
|
require('../chunk-ZSMWDLMK.js');
|
|
12
13
|
|
|
13
14
|
// src/engage/echo-config.ts
|
|
@@ -39,15 +40,15 @@ function getEchoWidgetProps(config = SONOR_PUBLIC_ECHO_DEFAULTS) {
|
|
|
39
40
|
|
|
40
41
|
Object.defineProperty(exports, "ChatWidget", {
|
|
41
42
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkMCDQM75H_js.ChatWidget; }
|
|
43
44
|
});
|
|
44
45
|
Object.defineProperty(exports, "DesignRenderer", {
|
|
45
46
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunk6Q72JAL2_js.DesignRenderer; }
|
|
47
48
|
});
|
|
48
49
|
Object.defineProperty(exports, "EngageWidget", {
|
|
49
50
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunk6Q72JAL2_js.EngageWidget; }
|
|
51
52
|
});
|
|
52
53
|
exports.SONOR_PUBLIC_ECHO_DEFAULTS = SONOR_PUBLIC_ECHO_DEFAULTS;
|
|
53
54
|
exports.getEchoWidgetProps = getEchoWidgetProps;
|
package/dist/engage/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/engage/echo-config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/engage/echo-config.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAgBO,IAAM,0BAAA,GAA+C;AAAA,EAC1D,SAAA,EAAW,yBAAA;AAAA,EACX,cAAA,EACE,0KAAA;AAAA,EACF,kBAAA,EAAoB;AAAA,IAClB,qBAAA;AAAA,IACA,0BAAA;AAAA,IACA,6BAAA;AAAA,IACA,6BAAA;AAAA,IACA;AAAA,GACF;AAAA,EACA,UAAA,EAAY,SAAA;AAAA;AAAA,EACZ,aAAA,EAAe;AACjB;AAEO,SAAS,kBAAA,CAAmB,SAA2B,0BAAA,EAA4B;AACxF,EAAA,OAAO;AAAA,IACL,cAAA,EAAgB,IAAA;AAAA,IAChB,UAAA,EAAY,MAAA,CAAO,SAAA,IAAa,0BAAA,CAA2B,SAAA;AAAA,IAC3D,eAAA,EAAiB,MAAA,CAAO,cAAA,IAAkB,0BAAA,CAA2B,cAAA;AAAA,IACrE,mBAAA,EAAqB,MAAA,CAAO,kBAAA,IAAsB,0BAAA,CAA2B,kBAAA;AAAA,IAC7E,WAAA,EAAa,MAAA,CAAO,UAAA,IAAc,0BAAA,CAA2B,UAAA;AAAA,IAC7D,cAAA,EAAgB,MAAA,CAAO,aAAA,IAAiB,0BAAA,CAA2B,aAAA;AAAA,IACnE,kBAAkB,MAAA,CAAO;AAAA,GAC3B;AACF","file":"index.js","sourcesContent":["/**\n * @sonordev/site-kit/engage - Echo Public Configuration\n *\n * Helpers for configuring the ChatWidget with Echo-specific defaults\n * for the Sonor public site (sonor.io).\n */\n\nexport interface EchoPublicConfig {\n signalUrl?: string\n welcomeMessage?: string\n suggestedQuestions?: string[]\n brandColor?: string\n assistantName?: string\n assistantAvatar?: string\n}\n\nexport const SONOR_PUBLIC_ECHO_DEFAULTS: EchoPublicConfig = {\n signalUrl: 'https://signal.sonor.io',\n welcomeMessage:\n \"Hi! I'm Echo, Sonor's AI assistant. I can answer questions about our platform, help you understand pricing, or get you started with a demo. What would you like to know?\",\n suggestedQuestions: [\n 'What does Sonor do?',\n 'How does Signal AI work?',\n 'What are the pricing plans?',\n 'Can I migrate from HubSpot?',\n 'How does the SEO module work?',\n ],\n brandColor: '#2563eb', // blue-600 (~5.2:1 on white, AA); overridden by --sk-primary CSS var or API brand_primary\n assistantName: 'Echo',\n}\n\nexport function getEchoWidgetProps(config: EchoPublicConfig = SONOR_PUBLIC_ECHO_DEFAULTS) {\n return {\n signal_enabled: true,\n signal_url: config.signalUrl || SONOR_PUBLIC_ECHO_DEFAULTS.signalUrl,\n welcome_message: config.welcomeMessage || SONOR_PUBLIC_ECHO_DEFAULTS.welcomeMessage,\n suggested_questions: config.suggestedQuestions || SONOR_PUBLIC_ECHO_DEFAULTS.suggestedQuestions,\n brand_color: config.brandColor || SONOR_PUBLIC_ECHO_DEFAULTS.brandColor,\n assistant_name: config.assistantName || SONOR_PUBLIC_ECHO_DEFAULTS.assistantName,\n assistant_avatar: config.assistantAvatar,\n }\n}\n"]}
|
package/dist/engage/index.mjs
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { ChatWidget } from '../chunk-
|
|
3
|
-
export { DesignRenderer, EngageWidget } from '../chunk-
|
|
4
|
-
import '../chunk-
|
|
2
|
+
export { ChatWidget } from '../chunk-5WEADCND.mjs';
|
|
3
|
+
export { DesignRenderer, EngageWidget } from '../chunk-3SIIYHVE.mjs';
|
|
4
|
+
import '../chunk-LQHZFUZJ.mjs';
|
|
5
5
|
import '../chunk-X3S6KXAP.mjs';
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-AX4AROLH.mjs';
|
|
7
|
+
import '../chunk-6EDVCUAG.mjs';
|
|
8
|
+
import '../chunk-WS4GNH3F.mjs';
|
|
9
|
+
import '../chunk-YCQHE2XT.mjs';
|
|
9
10
|
import '../chunk-4XPGGLVP.mjs';
|
|
10
11
|
|
|
11
12
|
// src/engage/echo-config.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/engage/echo-config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/engage/echo-config.ts"],"names":[],"mappings":";;;;;;;;;;;AAgBO,IAAM,0BAAA,GAA+C;AAAA,EAC1D,SAAA,EAAW,yBAAA;AAAA,EACX,cAAA,EACE,0KAAA;AAAA,EACF,kBAAA,EAAoB;AAAA,IAClB,qBAAA;AAAA,IACA,0BAAA;AAAA,IACA,6BAAA;AAAA,IACA,6BAAA;AAAA,IACA;AAAA,GACF;AAAA,EACA,UAAA,EAAY,SAAA;AAAA;AAAA,EACZ,aAAA,EAAe;AACjB;AAEO,SAAS,kBAAA,CAAmB,SAA2B,0BAAA,EAA4B;AACxF,EAAA,OAAO;AAAA,IACL,cAAA,EAAgB,IAAA;AAAA,IAChB,UAAA,EAAY,MAAA,CAAO,SAAA,IAAa,0BAAA,CAA2B,SAAA;AAAA,IAC3D,eAAA,EAAiB,MAAA,CAAO,cAAA,IAAkB,0BAAA,CAA2B,cAAA;AAAA,IACrE,mBAAA,EAAqB,MAAA,CAAO,kBAAA,IAAsB,0BAAA,CAA2B,kBAAA;AAAA,IAC7E,WAAA,EAAa,MAAA,CAAO,UAAA,IAAc,0BAAA,CAA2B,UAAA;AAAA,IAC7D,cAAA,EAAgB,MAAA,CAAO,aAAA,IAAiB,0BAAA,CAA2B,aAAA;AAAA,IACnE,kBAAkB,MAAA,CAAO;AAAA,GAC3B;AACF","file":"index.mjs","sourcesContent":["/**\n * @sonordev/site-kit/engage - Echo Public Configuration\n *\n * Helpers for configuring the ChatWidget with Echo-specific defaults\n * for the Sonor public site (sonor.io).\n */\n\nexport interface EchoPublicConfig {\n signalUrl?: string\n welcomeMessage?: string\n suggestedQuestions?: string[]\n brandColor?: string\n assistantName?: string\n assistantAvatar?: string\n}\n\nexport const SONOR_PUBLIC_ECHO_DEFAULTS: EchoPublicConfig = {\n signalUrl: 'https://signal.sonor.io',\n welcomeMessage:\n \"Hi! I'm Echo, Sonor's AI assistant. I can answer questions about our platform, help you understand pricing, or get you started with a demo. What would you like to know?\",\n suggestedQuestions: [\n 'What does Sonor do?',\n 'How does Signal AI work?',\n 'What are the pricing plans?',\n 'Can I migrate from HubSpot?',\n 'How does the SEO module work?',\n ],\n brandColor: '#2563eb', // blue-600 (~5.2:1 on white, AA); overridden by --sk-primary CSS var or API brand_primary\n assistantName: 'Echo',\n}\n\nexport function getEchoWidgetProps(config: EchoPublicConfig = SONOR_PUBLIC_ECHO_DEFAULTS) {\n return {\n signal_enabled: true,\n signal_url: config.signalUrl || SONOR_PUBLIC_ECHO_DEFAULTS.signalUrl,\n welcome_message: config.welcomeMessage || SONOR_PUBLIC_ECHO_DEFAULTS.welcomeMessage,\n suggested_questions: config.suggestedQuestions || SONOR_PUBLIC_ECHO_DEFAULTS.suggestedQuestions,\n brand_color: config.brandColor || SONOR_PUBLIC_ECHO_DEFAULTS.brandColor,\n assistant_name: config.assistantName || SONOR_PUBLIC_ECHO_DEFAULTS.assistantName,\n assistant_avatar: config.assistantAvatar,\n }\n}\n"]}
|
package/dist/fleet/index.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkRMUOY6XB_js = require('../chunk-RMUOY6XB.js');
|
|
5
5
|
require('../chunk-HGNSJXWT.js');
|
|
6
6
|
var chunkQ2NBD54V_js = require('../chunk-Q2NBD54V.js');
|
|
7
|
-
require('../chunk-
|
|
8
|
-
require('../chunk-
|
|
7
|
+
require('../chunk-XKV73RDH.js');
|
|
8
|
+
require('../chunk-CDETOO5W.js');
|
|
9
9
|
require('../chunk-ZSMWDLMK.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
Object.defineProperty(exports, "FLEET_HEARTBEAT_PATH", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkRMUOY6XB_js.FLEET_HEARTBEAT_PATH; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "FleetHeartbeat", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkRMUOY6XB_js.FleetHeartbeat; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "detectNextVersion", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkRMUOY6XB_js.detectNextVersion; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "sendFleetHeartbeat", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkRMUOY6XB_js.sendFleetHeartbeat; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "FLEET_CONTRACT_VERSION", {
|
|
30
30
|
enumerable: true,
|
package/dist/fleet/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { FLEET_HEARTBEAT_PATH, FleetHeartbeat, detectNextVersion, sendFleetHeartbeat } from '../chunk-
|
|
2
|
+
export { FLEET_HEARTBEAT_PATH, FleetHeartbeat, detectNextVersion, sendFleetHeartbeat } from '../chunk-QE53WRXW.mjs';
|
|
3
3
|
import '../chunk-ZVBLXXNJ.mjs';
|
|
4
4
|
export { FLEET_CONTRACT_VERSION, FLEET_MODULES, FLEET_MODULES_MAX, FLEET_SITE_MAX_LENGTH, FLEET_VERSION_MAX_LENGTH, FLEET_VERSION_PATTERN, buildFleetHeartbeatPayload, isFleetModule, normalizeFleetModules, normalizeFleetSite, sanitizeFleetVersion } from '../chunk-ZPLN537Q.mjs';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-WS4GNH3F.mjs';
|
|
6
|
+
import '../chunk-YCQHE2XT.mjs';
|
|
7
7
|
import '../chunk-4XPGGLVP.mjs';
|
|
8
8
|
//# sourceMappingURL=index.mjs.map
|
|
9
9
|
//# sourceMappingURL=index.mjs.map
|
package/dist/forms/index.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkIB34IYMN_js = require('../chunk-IB34IYMN.js');
|
|
5
5
|
var chunkV6NVBFEP_js = require('../chunk-V6NVBFEP.js');
|
|
6
|
-
|
|
7
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-VJMPIRSD.js');
|
|
7
|
+
var chunkXKV73RDH_js = require('../chunk-XKV73RDH.js');
|
|
8
|
+
require('../chunk-CDETOO5W.js');
|
|
8
9
|
require('../chunk-ZSMWDLMK.js');
|
|
9
10
|
var React2 = require('react');
|
|
10
11
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -42,7 +43,7 @@ async function apiRequest(method, path, body) {
|
|
|
42
43
|
const token = await getAuthToken();
|
|
43
44
|
headers["Authorization"] = `Bearer ${token}`;
|
|
44
45
|
}
|
|
45
|
-
const response = await
|
|
46
|
+
const response = await chunkXKV73RDH_js.sonorFetch(`${baseUrl}${path}`, {
|
|
46
47
|
method,
|
|
47
48
|
headers,
|
|
48
49
|
body: body ? JSON.stringify(body) : void 0
|
|
@@ -895,7 +896,7 @@ async function uploadFormFile(file) {
|
|
|
895
896
|
}
|
|
896
897
|
const body = new FormData();
|
|
897
898
|
body.append("file", file);
|
|
898
|
-
const response = await
|
|
899
|
+
const response = await chunkXKV73RDH_js.sonorFetch(
|
|
899
900
|
`${apiUrl}/api/public/forms/upload`,
|
|
900
901
|
{
|
|
901
902
|
method: "POST",
|
|
@@ -930,7 +931,7 @@ function FormClient({
|
|
|
930
931
|
const honeypotFieldName = config2.honeypot_field || chunkV6NVBFEP_js.DEFAULT_HONEYPOT_FIELD;
|
|
931
932
|
const formLoadedAt = React2.useRef(Date.now());
|
|
932
933
|
const isSubmittingRef = React2.useRef(false);
|
|
933
|
-
const { trackStepChange, trackComplete } =
|
|
934
|
+
const { trackStepChange, trackComplete } = chunkIB34IYMN_js.useFormTracking({
|
|
934
935
|
formId: config2.id,
|
|
935
936
|
totalSteps: config2.total_steps
|
|
936
937
|
});
|
|
@@ -1089,7 +1090,7 @@ function FormClient({
|
|
|
1089
1090
|
setIsSubmitting(true);
|
|
1090
1091
|
setSubmitError(null);
|
|
1091
1092
|
try {
|
|
1092
|
-
const data = await
|
|
1093
|
+
const data = await chunkIB34IYMN_js.submitForm({
|
|
1093
1094
|
config: config2,
|
|
1094
1095
|
values: buildVisibleValues(),
|
|
1095
1096
|
honeypotValue: config2.honeypot_enabled ? honeypotValue : "",
|
|
@@ -1131,7 +1132,7 @@ function FormClient({
|
|
|
1131
1132
|
};
|
|
1132
1133
|
if (isComplete) {
|
|
1133
1134
|
const raw = config2.success_message;
|
|
1134
|
-
const message = typeof raw === "string" && raw.trim().length > 0 ? raw.trim() :
|
|
1135
|
+
const message = typeof raw === "string" && raw.trim().length > 0 ? raw.trim() : chunkIB34IYMN_js.DEFAULT_FORM_SUCCESS_MESSAGE;
|
|
1135
1136
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1136
1137
|
"div",
|
|
1137
1138
|
{
|
|
@@ -1255,7 +1256,7 @@ function ManagedForm({
|
|
|
1255
1256
|
form,
|
|
1256
1257
|
isLoading,
|
|
1257
1258
|
fetchError
|
|
1258
|
-
} =
|
|
1259
|
+
} = chunkIB34IYMN_js.useForm(formId, {
|
|
1259
1260
|
projectId,
|
|
1260
1261
|
onSuccess,
|
|
1261
1262
|
onError
|
|
@@ -1280,15 +1281,15 @@ function ManagedForm({
|
|
|
1280
1281
|
|
|
1281
1282
|
Object.defineProperty(exports, "DEFAULT_FORM_SUCCESS_MESSAGE", {
|
|
1282
1283
|
enumerable: true,
|
|
1283
|
-
get: function () { return
|
|
1284
|
+
get: function () { return chunkIB34IYMN_js.DEFAULT_FORM_SUCCESS_MESSAGE; }
|
|
1284
1285
|
});
|
|
1285
1286
|
Object.defineProperty(exports, "useForm", {
|
|
1286
1287
|
enumerable: true,
|
|
1287
|
-
get: function () { return
|
|
1288
|
+
get: function () { return chunkIB34IYMN_js.useForm; }
|
|
1288
1289
|
});
|
|
1289
1290
|
Object.defineProperty(exports, "useFormTracking", {
|
|
1290
1291
|
enumerable: true,
|
|
1291
|
-
get: function () { return
|
|
1292
|
+
get: function () { return chunkIB34IYMN_js.useFormTracking; }
|
|
1292
1293
|
});
|
|
1293
1294
|
exports.DatePicker = DatePicker;
|
|
1294
1295
|
exports.FormClient = FormClient;
|