@sonordev/site-kit 2.7.1 → 2.7.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/AnalyticsProvider-GWZR3ID7.mjs +4 -0
- package/dist/{AnalyticsProvider-VAAWDXH3.mjs.map → AnalyticsProvider-GWZR3ID7.mjs.map} +1 -1
- package/dist/AnalyticsProvider-NBKOHK5M.js +25 -0
- package/dist/{AnalyticsProvider-MY64KGIH.js.map → AnalyticsProvider-NBKOHK5M.js.map} +1 -1
- package/dist/analytics/index.d.mts +12 -2
- package/dist/analytics/index.d.ts +12 -2
- package/dist/analytics/index.js +9 -9
- package/dist/analytics/index.mjs +2 -2
- package/dist/{chunk-2OGUBINV.js → chunk-4LC4KETS.js} +27 -7
- package/dist/chunk-4LC4KETS.js.map +1 -0
- package/dist/{chunk-QBNA75GS.js → chunk-7NC3UQEE.js} +19 -4
- package/dist/chunk-7NC3UQEE.js.map +1 -0
- package/dist/{chunk-W5QMQMUS.mjs → chunk-FO5EUANA.mjs} +3 -3
- package/dist/{chunk-W5QMQMUS.mjs.map → chunk-FO5EUANA.mjs.map} +1 -1
- package/dist/{chunk-6EEXEVSE.mjs → chunk-IM57FXP7.mjs} +17 -5
- package/dist/chunk-IM57FXP7.mjs.map +1 -0
- package/dist/{chunk-LWJDQ2BT.js → chunk-LPSWITNZ.js} +4 -4
- package/dist/{chunk-LWJDQ2BT.js.map → chunk-LPSWITNZ.js.map} +1 -1
- package/dist/{chunk-UOB7WK3K.mjs → chunk-PMVEDBWP.mjs} +19 -4
- package/dist/chunk-PMVEDBWP.mjs.map +1 -0
- package/dist/{chunk-MCIELZWP.mjs → chunk-RSUNHEBH.mjs} +25 -5
- package/dist/chunk-RSUNHEBH.mjs.map +1 -0
- package/dist/{chunk-EJXWFTKA.js → chunk-SYNJOJTP.js} +17 -5
- package/dist/chunk-SYNJOJTP.js.map +1 -0
- package/dist/commerce/index.js +48 -48
- package/dist/commerce/index.mjs +3 -3
- package/dist/index.js +28 -28
- package/dist/index.mjs +3 -3
- package/dist/layout/client.d.mts +1 -1
- package/dist/layout/client.d.ts +1 -1
- package/dist/layout/client.js +2 -2
- package/dist/layout/client.mjs +1 -1
- package/dist/layout/index.d.mts +1 -1
- package/dist/layout/index.d.ts +1 -1
- package/dist/layout/index.js +2 -2
- package/dist/layout/index.mjs +1 -1
- package/dist/{types-5RCOK10v.d.ts → types-YXQAZGpe.d.mts} +9 -0
- package/dist/{types-5RCOK10v.d.mts → types-YXQAZGpe.d.ts} +9 -0
- package/package.json +1 -1
- package/dist/AnalyticsProvider-MY64KGIH.js +0 -25
- package/dist/AnalyticsProvider-VAAWDXH3.mjs +0 -4
- package/dist/chunk-2OGUBINV.js.map +0 -1
- package/dist/chunk-6EEXEVSE.mjs.map +0 -1
- package/dist/chunk-EJXWFTKA.js.map +0 -1
- package/dist/chunk-MCIELZWP.mjs.map +0 -1
- package/dist/chunk-QBNA75GS.js.map +0 -1
- package/dist/chunk-UOB7WK3K.mjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -5,10 +5,10 @@ var chunkIFVMZFNT_js = require('./chunk-IFVMZFNT.js');
|
|
|
5
5
|
require('./chunk-GCPPXUAI.js');
|
|
6
6
|
var chunkEATGSR46_js = require('./chunk-EATGSR46.js');
|
|
7
7
|
require('./chunk-JP5WGL75.js');
|
|
8
|
-
var
|
|
8
|
+
var chunk4LC4KETS_js = require('./chunk-4LC4KETS.js');
|
|
9
9
|
var chunkZQINTH5K_js = require('./chunk-ZQINTH5K.js');
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-LPSWITNZ.js');
|
|
11
|
+
require('./chunk-SYNJOJTP.js');
|
|
12
12
|
var chunkGQU4LXOP_js = require('./chunk-GQU4LXOP.js');
|
|
13
13
|
var chunk7M3FNAS5_js = require('./chunk-7M3FNAS5.js');
|
|
14
14
|
require('./chunk-ZSMWDLMK.js');
|
|
@@ -214,103 +214,103 @@ Object.defineProperty(exports, "fetchReviews", {
|
|
|
214
214
|
});
|
|
215
215
|
Object.defineProperty(exports, "CalendarView", {
|
|
216
216
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunk4LC4KETS_js.CalendarView; }
|
|
218
218
|
});
|
|
219
219
|
Object.defineProperty(exports, "CheckoutForm", {
|
|
220
220
|
enumerable: true,
|
|
221
|
-
get: function () { return
|
|
221
|
+
get: function () { return chunk4LC4KETS_js.CheckoutForm; }
|
|
222
222
|
});
|
|
223
223
|
Object.defineProperty(exports, "EventCalendar", {
|
|
224
224
|
enumerable: true,
|
|
225
|
-
get: function () { return
|
|
225
|
+
get: function () { return chunk4LC4KETS_js.EventCalendar; }
|
|
226
226
|
});
|
|
227
227
|
Object.defineProperty(exports, "EventCheckout", {
|
|
228
228
|
enumerable: true,
|
|
229
|
-
get: function () { return
|
|
229
|
+
get: function () { return chunk4LC4KETS_js.EventCheckout; }
|
|
230
230
|
});
|
|
231
231
|
Object.defineProperty(exports, "EventEmbed", {
|
|
232
232
|
enumerable: true,
|
|
233
|
-
get: function () { return
|
|
233
|
+
get: function () { return chunk4LC4KETS_js.EventEmbed; }
|
|
234
234
|
});
|
|
235
235
|
Object.defineProperty(exports, "EventModal", {
|
|
236
236
|
enumerable: true,
|
|
237
|
-
get: function () { return
|
|
237
|
+
get: function () { return chunk4LC4KETS_js.EventModal; }
|
|
238
238
|
});
|
|
239
239
|
Object.defineProperty(exports, "EventTile", {
|
|
240
240
|
enumerable: true,
|
|
241
|
-
get: function () { return
|
|
241
|
+
get: function () { return chunk4LC4KETS_js.EventTile; }
|
|
242
242
|
});
|
|
243
243
|
Object.defineProperty(exports, "OfferingCard", {
|
|
244
244
|
enumerable: true,
|
|
245
|
-
get: function () { return
|
|
245
|
+
get: function () { return chunk4LC4KETS_js.OfferingCard; }
|
|
246
246
|
});
|
|
247
247
|
Object.defineProperty(exports, "OfferingList", {
|
|
248
248
|
enumerable: true,
|
|
249
|
-
get: function () { return
|
|
249
|
+
get: function () { return chunk4LC4KETS_js.OfferingList; }
|
|
250
250
|
});
|
|
251
251
|
Object.defineProperty(exports, "ProductEmbed", {
|
|
252
252
|
enumerable: true,
|
|
253
|
-
get: function () { return
|
|
253
|
+
get: function () { return chunk4LC4KETS_js.ProductEmbed; }
|
|
254
254
|
});
|
|
255
255
|
Object.defineProperty(exports, "RegistrationForm", {
|
|
256
256
|
enumerable: true,
|
|
257
|
-
get: function () { return
|
|
257
|
+
get: function () { return chunk4LC4KETS_js.RegistrationForm; }
|
|
258
258
|
});
|
|
259
259
|
Object.defineProperty(exports, "UpcomingEvents", {
|
|
260
260
|
enumerable: true,
|
|
261
|
-
get: function () { return
|
|
261
|
+
get: function () { return chunk4LC4KETS_js.UpcomingEvents; }
|
|
262
262
|
});
|
|
263
263
|
Object.defineProperty(exports, "createCheckoutSession", {
|
|
264
264
|
enumerable: true,
|
|
265
|
-
get: function () { return
|
|
265
|
+
get: function () { return chunk4LC4KETS_js.createCheckoutSession; }
|
|
266
266
|
});
|
|
267
267
|
Object.defineProperty(exports, "fetchNextEvent", {
|
|
268
268
|
enumerable: true,
|
|
269
|
-
get: function () { return
|
|
269
|
+
get: function () { return chunk4LC4KETS_js.fetchNextEvent; }
|
|
270
270
|
});
|
|
271
271
|
Object.defineProperty(exports, "fetchOffering", {
|
|
272
272
|
enumerable: true,
|
|
273
|
-
get: function () { return
|
|
273
|
+
get: function () { return chunk4LC4KETS_js.fetchOffering; }
|
|
274
274
|
});
|
|
275
275
|
Object.defineProperty(exports, "fetchOfferings", {
|
|
276
276
|
enumerable: true,
|
|
277
|
-
get: function () { return
|
|
277
|
+
get: function () { return chunk4LC4KETS_js.fetchOfferings; }
|
|
278
278
|
});
|
|
279
279
|
Object.defineProperty(exports, "fetchProducts", {
|
|
280
280
|
enumerable: true,
|
|
281
|
-
get: function () { return
|
|
281
|
+
get: function () { return chunk4LC4KETS_js.fetchProducts; }
|
|
282
282
|
});
|
|
283
283
|
Object.defineProperty(exports, "fetchServices", {
|
|
284
284
|
enumerable: true,
|
|
285
|
-
get: function () { return
|
|
285
|
+
get: function () { return chunk4LC4KETS_js.fetchServices; }
|
|
286
286
|
});
|
|
287
287
|
Object.defineProperty(exports, "fetchUpcomingEvents", {
|
|
288
288
|
enumerable: true,
|
|
289
|
-
get: function () { return
|
|
289
|
+
get: function () { return chunk4LC4KETS_js.fetchUpcomingEvents; }
|
|
290
290
|
});
|
|
291
291
|
Object.defineProperty(exports, "formatDate", {
|
|
292
292
|
enumerable: true,
|
|
293
|
-
get: function () { return
|
|
293
|
+
get: function () { return chunk4LC4KETS_js.formatDate; }
|
|
294
294
|
});
|
|
295
295
|
Object.defineProperty(exports, "formatDateTime", {
|
|
296
296
|
enumerable: true,
|
|
297
|
-
get: function () { return
|
|
297
|
+
get: function () { return chunk4LC4KETS_js.formatDateTime; }
|
|
298
298
|
});
|
|
299
299
|
Object.defineProperty(exports, "formatPrice", {
|
|
300
300
|
enumerable: true,
|
|
301
|
-
get: function () { return
|
|
301
|
+
get: function () { return chunk4LC4KETS_js.formatPrice; }
|
|
302
302
|
});
|
|
303
303
|
Object.defineProperty(exports, "getOfferingUrl", {
|
|
304
304
|
enumerable: true,
|
|
305
|
-
get: function () { return
|
|
305
|
+
get: function () { return chunk4LC4KETS_js.getOfferingUrl; }
|
|
306
306
|
});
|
|
307
307
|
Object.defineProperty(exports, "registerForEvent", {
|
|
308
308
|
enumerable: true,
|
|
309
|
-
get: function () { return
|
|
309
|
+
get: function () { return chunk4LC4KETS_js.registerForEvent; }
|
|
310
310
|
});
|
|
311
311
|
Object.defineProperty(exports, "useEventModal", {
|
|
312
312
|
enumerable: true,
|
|
313
|
-
get: function () { return
|
|
313
|
+
get: function () { return chunk4LC4KETS_js.useEventModal; }
|
|
314
314
|
});
|
|
315
315
|
Object.defineProperty(exports, "BookingWidget", {
|
|
316
316
|
enumerable: true,
|
package/dist/index.mjs
CHANGED
|
@@ -3,10 +3,10 @@ export { ManagedImage, assignImageToSlot, clearImageSlot, fetchManagedImage, fet
|
|
|
3
3
|
import './chunk-CU6OGBKK.mjs';
|
|
4
4
|
export { TestimonialSection, fetchReviewStats, fetchReviews } from './chunk-UUDE46TZ.mjs';
|
|
5
5
|
import './chunk-B22WSN4L.mjs';
|
|
6
|
-
export { CalendarView, CheckoutForm, EventCalendar, EventCheckout, EventEmbed, EventModal, EventTile, OfferingCard, OfferingList, ProductEmbed, RegistrationForm, UpcomingEvents, createCheckoutSession, fetchNextEvent, fetchOffering, fetchOfferings, fetchProducts, fetchServices, fetchUpcomingEvents, formatDate, formatDateTime, formatPrice, getOfferingUrl, registerForEvent, useEventModal } from './chunk-
|
|
6
|
+
export { CalendarView, CheckoutForm, EventCalendar, EventCheckout, EventEmbed, EventModal, EventTile, OfferingCard, OfferingList, ProductEmbed, RegistrationForm, UpcomingEvents, createCheckoutSession, fetchNextEvent, fetchOffering, fetchOfferings, fetchProducts, fetchServices, fetchUpcomingEvents, formatDate, formatDateTime, formatPrice, getOfferingUrl, registerForEvent, useEventModal } from './chunk-RSUNHEBH.mjs';
|
|
7
7
|
export { BookingWidget, createBooking, createSlotHold, detectTimezone, fetchAvailability, fetchAvailableDates, fetchBookingTypeDetails, fetchBookingTypes, formatDate as formatBookingDate, formatTime as formatBookingTime, formatDuration, releaseSlotHold } from './chunk-AT2ZF3TL.mjs';
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
8
|
+
import './chunk-FO5EUANA.mjs';
|
|
9
|
+
import './chunk-IM57FXP7.mjs';
|
|
10
10
|
export { ExperimentConversion, SignalExperiment, useExperimentVariant } from './chunk-LBII2GAF.mjs';
|
|
11
11
|
export { SignalBridge, useSignal, useSignalConfig, useSignalEvent, useSignalExperiment, useSignalOutcome } from './chunk-AOIG5PVY.mjs';
|
|
12
12
|
import './chunk-4XPGGLVP.mjs';
|
package/dist/layout/client.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { A as AnalyticsConfig, E as EngageConfig, S as SignalConfig } from '../types-
|
|
3
|
+
import { A as AnalyticsConfig, E as EngageConfig, S as SignalConfig } from '../types-YXQAZGpe.mjs';
|
|
4
4
|
|
|
5
5
|
interface SiteKitClientProvidersProps {
|
|
6
6
|
children: ReactNode;
|
package/dist/layout/client.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { A as AnalyticsConfig, E as EngageConfig, S as SignalConfig } from '../types-
|
|
3
|
+
import { A as AnalyticsConfig, E as EngageConfig, S as SignalConfig } from '../types-YXQAZGpe.js';
|
|
4
4
|
|
|
5
5
|
interface SiteKitClientProvidersProps {
|
|
6
6
|
children: ReactNode;
|
package/dist/layout/client.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunk7NC3UQEE_js = require('../chunk-7NC3UQEE.js');
|
|
5
5
|
require('../chunk-ZSMWDLMK.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "SiteKitClientProviders", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunk7NC3UQEE_js.SiteKitClientProviders; }
|
|
12
12
|
});
|
|
13
13
|
//# sourceMappingURL=client.js.map
|
|
14
14
|
//# sourceMappingURL=client.js.map
|
package/dist/layout/client.mjs
CHANGED
package/dist/layout/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { A as AnalyticsConfig, E as EngageConfig, S as SignalConfig } from '../types-
|
|
3
|
+
import { A as AnalyticsConfig, E as EngageConfig, S as SignalConfig } from '../types-YXQAZGpe.mjs';
|
|
4
4
|
|
|
5
5
|
interface SiteKitLayoutProps {
|
|
6
6
|
children: React.ReactNode;
|
package/dist/layout/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { A as AnalyticsConfig, E as EngageConfig, S as SignalConfig } from '../types-
|
|
3
|
+
import { A as AnalyticsConfig, E as EngageConfig, S as SignalConfig } from '../types-YXQAZGpe.js';
|
|
4
4
|
|
|
5
5
|
interface SiteKitLayoutProps {
|
|
6
6
|
children: React.ReactNode;
|
package/dist/layout/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk7NC3UQEE_js = require('../chunk-7NC3UQEE.js');
|
|
4
4
|
var chunkGCPPXUAI_js = require('../chunk-GCPPXUAI.js');
|
|
5
5
|
var chunkPKUTYMN7_js = require('../chunk-PKUTYMN7.js');
|
|
6
6
|
require('../chunk-VU4GL5ZG.js');
|
|
@@ -42,7 +42,7 @@ async function SiteKitLayout({
|
|
|
42
42
|
favicon && /* @__PURE__ */ jsxRuntime.jsx(chunkGCPPXUAI_js.ManagedFavicon, { apiKey: resolvedApiKey, apiUrl: resolvedApiUrl }),
|
|
43
43
|
managedScripts && /* @__PURE__ */ jsxRuntime.jsx(chunkPKUTYMN7_js.ManagedScripts, { position: "head" }),
|
|
44
44
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
45
|
-
|
|
45
|
+
chunk7NC3UQEE_js.SiteKitClientProviders,
|
|
46
46
|
{
|
|
47
47
|
apiKey: resolvedApiKey,
|
|
48
48
|
apiUrl: resolvedApiUrl,
|
package/dist/layout/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SiteKitClientProviders } from '../chunk-
|
|
1
|
+
import { SiteKitClientProviders } from '../chunk-PMVEDBWP.mjs';
|
|
2
2
|
import { ManagedFavicon } from '../chunk-CU6OGBKK.mjs';
|
|
3
3
|
import { ManagedScripts } from '../chunk-L7XPPFSS.mjs';
|
|
4
4
|
import '../chunk-TUFP3FGI.mjs';
|
|
@@ -10,6 +10,15 @@ interface AnalyticsConfig {
|
|
|
10
10
|
trackClicks?: boolean;
|
|
11
11
|
sessionDuration?: number;
|
|
12
12
|
excludePaths?: string[];
|
|
13
|
+
/**
|
|
14
|
+
* Sub-site identifier — the domain/brand this set of pages belongs to under
|
|
15
|
+
* the Sonor project (e.g. `ohiopowerstudies.com`, `truepowersystems.com`).
|
|
16
|
+
* Every analytics event is tagged with this dimension so a single Sonor
|
|
17
|
+
* project can host many sites and the dashboard can filter / roll up per
|
|
18
|
+
* site. If omitted, SiteKitLayout falls back to the host of
|
|
19
|
+
* `NEXT_PUBLIC_SITE_URL`, then to `window.location.host`.
|
|
20
|
+
*/
|
|
21
|
+
site?: string;
|
|
13
22
|
}
|
|
14
23
|
interface EngageConfig {
|
|
15
24
|
position?: 'bottom-right' | 'bottom-left';
|
|
@@ -10,6 +10,15 @@ interface AnalyticsConfig {
|
|
|
10
10
|
trackClicks?: boolean;
|
|
11
11
|
sessionDuration?: number;
|
|
12
12
|
excludePaths?: string[];
|
|
13
|
+
/**
|
|
14
|
+
* Sub-site identifier — the domain/brand this set of pages belongs to under
|
|
15
|
+
* the Sonor project (e.g. `ohiopowerstudies.com`, `truepowersystems.com`).
|
|
16
|
+
* Every analytics event is tagged with this dimension so a single Sonor
|
|
17
|
+
* project can host many sites and the dashboard can filter / roll up per
|
|
18
|
+
* site. If omitted, SiteKitLayout falls back to the host of
|
|
19
|
+
* `NEXT_PUBLIC_SITE_URL`, then to `window.location.host`.
|
|
20
|
+
*/
|
|
21
|
+
site?: string;
|
|
13
22
|
}
|
|
14
23
|
interface EngageConfig {
|
|
15
24
|
position?: 'bottom-right' | 'bottom-left';
|
package/package.json
CHANGED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkEJXWFTKA_js = require('./chunk-EJXWFTKA.js');
|
|
4
|
-
require('./chunk-ZSMWDLMK.js');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, "AnalyticsProvider", {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return chunkEJXWFTKA_js.AnalyticsProvider; }
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "useAnalytics", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () { return chunkEJXWFTKA_js.useAnalytics; }
|
|
15
|
-
});
|
|
16
|
-
Object.defineProperty(exports, "useAnalyticsOptional", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return chunkEJXWFTKA_js.useAnalyticsOptional; }
|
|
19
|
-
});
|
|
20
|
-
Object.defineProperty(exports, "useTrackEvent", {
|
|
21
|
-
enumerable: true,
|
|
22
|
-
get: function () { return chunkEJXWFTKA_js.useTrackEvent; }
|
|
23
|
-
});
|
|
24
|
-
//# sourceMappingURL=AnalyticsProvider-MY64KGIH.js.map
|
|
25
|
-
//# sourceMappingURL=AnalyticsProvider-MY64KGIH.js.map
|