@uptrademedia/site-kit 1.1.5 → 1.1.7
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/{chunk-YT74LIC4.js → chunk-CTKXFLIF.js} +169 -46
- package/dist/chunk-CTKXFLIF.js.map +1 -0
- package/dist/{chunk-TGX5Q6UK.js → chunk-FR6DV5QX.js} +36 -27
- package/dist/chunk-FR6DV5QX.js.map +1 -0
- package/dist/{chunk-NNKC3X7O.mjs → chunk-IARDGI5N.mjs} +36 -27
- package/dist/chunk-IARDGI5N.mjs.map +1 -0
- package/dist/{chunk-DUH5S5MV.mjs → chunk-TOUIKTXU.mjs} +169 -46
- package/dist/chunk-TOUIKTXU.mjs.map +1 -0
- package/dist/cli/index.js +331 -800
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/index.mjs +325 -792
- package/dist/cli/index.mjs.map +1 -1
- package/dist/commerce/index.d.mts +3 -3
- package/dist/commerce/index.d.ts +3 -3
- package/dist/commerce/index.js +42 -42
- package/dist/commerce/index.mjs +1 -1
- package/dist/commerce/server.d.mts +1 -1
- package/dist/commerce/server.d.ts +1 -1
- package/dist/engage/index.d.mts +3 -1
- package/dist/engage/index.d.ts +3 -1
- package/dist/engage/index.js +4 -4
- package/dist/engage/index.mjs +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +32 -29
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -4
- package/dist/index.mjs.map +1 -1
- package/dist/seo/index.d.mts +1 -1
- package/dist/seo/index.d.ts +1 -1
- package/dist/seo/index.js +0 -3
- package/dist/seo/index.js.map +1 -1
- package/dist/seo/index.mjs +1 -1
- package/dist/sitemap/index.d.mts +1 -1
- package/dist/sitemap/index.d.ts +1 -1
- package/dist/sitemap/index.js +0 -4
- package/dist/sitemap/index.js.map +1 -1
- package/dist/sitemap/index.mjs +1 -2
- package/dist/sitemap/index.mjs.map +1 -1
- package/dist/{types-Dz2HtHds.d.mts → types-DxhEH2tX.d.mts} +3 -0
- package/dist/{types-Dz2HtHds.d.ts → types-DxhEH2tX.d.ts} +3 -0
- package/dist/{useEventModal-TppA_tfZ.d.ts → useEventModal-5fIKdIaY.d.ts} +1 -1
- package/dist/{useEventModal-cZr3PMWl.d.mts → useEventModal-x_RZRewW.d.mts} +1 -1
- package/package.json +39 -39
- package/dist/chunk-DUH5S5MV.mjs.map +0 -1
- package/dist/chunk-NNKC3X7O.mjs.map +0 -1
- package/dist/chunk-TGX5Q6UK.js.map +0 -1
- package/dist/chunk-YT74LIC4.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as CommerceOffering, a as CommerceVariant, b as CheckoutResult, c as CommerceSchedule } from '../types-
|
|
2
|
-
export { A as AdditionalField, d as AdditionalFieldOption, e as Cart, f as CartItem, g as CheckoutCustomer, h as CheckoutFormProps, i as CommerceApiConfig, j as CommerceCategory, E as EventEmbedProps, k as EventTileProps, F as FetchEventsOptions, l as FetchOfferingsOptions, m as OfferingCardProps, n as OfferingDetailProps, o as OfferingListProps, p as OfferingStatus, O as OfferingType, P as PriceType, q as ProductEmbedProps, R as RegistrationFormProps, U as UpcomingEventsProps } from '../types-
|
|
3
|
-
export { C as CalendarView, a as CheckoutForm, b as CreateCheckoutOptions, E as EventCalendar, c as EventEmbed, d as EventModal, e as EventTile, O as OfferingCard, f as OfferingList, P as ProcessorConfig, g as ProductEmbed, R as RegistrationForm, S as ShippingAddress, h as ShippingRate, U as UpcomingEvents, V as ValidateAddressResult, i as createCheckoutSession, j as fetchActiveProcessor, k as fetchCategories, l as fetchLatestOffering, m as fetchNextEvent, n as fetchOffering, o as fetchOfferings, p as fetchProcessorConfig, q as fetchProductBySlug, r as fetchProducts, s as fetchProductsPublic, t as fetchServices, u as fetchShippingRates, v as fetchUpcomingEvents, w as formatDate, x as formatDateRange, y as formatDateTime, z as formatPrice, A as formatTime, B as getOfferingUrl, D as getRelativeTimeUntil, F as getSpotsRemaining, G as isEventSoldOut, H as registerForEvent, I as useEventModal, J as validateAddress } from '../useEventModal-
|
|
1
|
+
import { C as CommerceOffering, a as CommerceVariant, b as CheckoutResult, c as CommerceSchedule } from '../types-DxhEH2tX.mjs';
|
|
2
|
+
export { A as AdditionalField, d as AdditionalFieldOption, e as Cart, f as CartItem, g as CheckoutCustomer, h as CheckoutFormProps, i as CommerceApiConfig, j as CommerceCategory, E as EventEmbedProps, k as EventTileProps, F as FetchEventsOptions, l as FetchOfferingsOptions, m as OfferingCardProps, n as OfferingDetailProps, o as OfferingListProps, p as OfferingStatus, O as OfferingType, P as PriceType, q as ProductEmbedProps, R as RegistrationFormProps, U as UpcomingEventsProps } from '../types-DxhEH2tX.mjs';
|
|
3
|
+
export { C as CalendarView, a as CheckoutForm, b as CreateCheckoutOptions, E as EventCalendar, c as EventEmbed, d as EventModal, e as EventTile, O as OfferingCard, f as OfferingList, P as ProcessorConfig, g as ProductEmbed, R as RegistrationForm, S as ShippingAddress, h as ShippingRate, U as UpcomingEvents, V as ValidateAddressResult, i as createCheckoutSession, j as fetchActiveProcessor, k as fetchCategories, l as fetchLatestOffering, m as fetchNextEvent, n as fetchOffering, o as fetchOfferings, p as fetchProcessorConfig, q as fetchProductBySlug, r as fetchProducts, s as fetchProductsPublic, t as fetchServices, u as fetchShippingRates, v as fetchUpcomingEvents, w as formatDate, x as formatDateRange, y as formatDateTime, z as formatPrice, A as formatTime, B as getOfferingUrl, D as getRelativeTimeUntil, F as getSpotsRemaining, G as isEventSoldOut, H as registerForEvent, I as useEventModal, J as validateAddress } from '../useEventModal-x_RZRewW.mjs';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import React__default from 'react';
|
|
6
6
|
|
package/dist/commerce/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as CommerceOffering, a as CommerceVariant, b as CheckoutResult, c as CommerceSchedule } from '../types-
|
|
2
|
-
export { A as AdditionalField, d as AdditionalFieldOption, e as Cart, f as CartItem, g as CheckoutCustomer, h as CheckoutFormProps, i as CommerceApiConfig, j as CommerceCategory, E as EventEmbedProps, k as EventTileProps, F as FetchEventsOptions, l as FetchOfferingsOptions, m as OfferingCardProps, n as OfferingDetailProps, o as OfferingListProps, p as OfferingStatus, O as OfferingType, P as PriceType, q as ProductEmbedProps, R as RegistrationFormProps, U as UpcomingEventsProps } from '../types-
|
|
3
|
-
export { C as CalendarView, a as CheckoutForm, b as CreateCheckoutOptions, E as EventCalendar, c as EventEmbed, d as EventModal, e as EventTile, O as OfferingCard, f as OfferingList, P as ProcessorConfig, g as ProductEmbed, R as RegistrationForm, S as ShippingAddress, h as ShippingRate, U as UpcomingEvents, V as ValidateAddressResult, i as createCheckoutSession, j as fetchActiveProcessor, k as fetchCategories, l as fetchLatestOffering, m as fetchNextEvent, n as fetchOffering, o as fetchOfferings, p as fetchProcessorConfig, q as fetchProductBySlug, r as fetchProducts, s as fetchProductsPublic, t as fetchServices, u as fetchShippingRates, v as fetchUpcomingEvents, w as formatDate, x as formatDateRange, y as formatDateTime, z as formatPrice, A as formatTime, B as getOfferingUrl, D as getRelativeTimeUntil, F as getSpotsRemaining, G as isEventSoldOut, H as registerForEvent, I as useEventModal, J as validateAddress } from '../useEventModal-
|
|
1
|
+
import { C as CommerceOffering, a as CommerceVariant, b as CheckoutResult, c as CommerceSchedule } from '../types-DxhEH2tX.js';
|
|
2
|
+
export { A as AdditionalField, d as AdditionalFieldOption, e as Cart, f as CartItem, g as CheckoutCustomer, h as CheckoutFormProps, i as CommerceApiConfig, j as CommerceCategory, E as EventEmbedProps, k as EventTileProps, F as FetchEventsOptions, l as FetchOfferingsOptions, m as OfferingCardProps, n as OfferingDetailProps, o as OfferingListProps, p as OfferingStatus, O as OfferingType, P as PriceType, q as ProductEmbedProps, R as RegistrationFormProps, U as UpcomingEventsProps } from '../types-DxhEH2tX.js';
|
|
3
|
+
export { C as CalendarView, a as CheckoutForm, b as CreateCheckoutOptions, E as EventCalendar, c as EventEmbed, d as EventModal, e as EventTile, O as OfferingCard, f as OfferingList, P as ProcessorConfig, g as ProductEmbed, R as RegistrationForm, S as ShippingAddress, h as ShippingRate, U as UpcomingEvents, V as ValidateAddressResult, i as createCheckoutSession, j as fetchActiveProcessor, k as fetchCategories, l as fetchLatestOffering, m as fetchNextEvent, n as fetchOffering, o as fetchOfferings, p as fetchProcessorConfig, q as fetchProductBySlug, r as fetchProducts, s as fetchProductsPublic, t as fetchServices, u as fetchShippingRates, v as fetchUpcomingEvents, w as formatDate, x as formatDateRange, y as formatDateTime, z as formatPrice, A as formatTime, B as getOfferingUrl, D as getRelativeTimeUntil, F as getSpotsRemaining, G as isEventSoldOut, H as registerForEvent, I as useEventModal, J as validateAddress } from '../useEventModal-5fIKdIaY.js';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import React__default from 'react';
|
|
6
6
|
|
package/dist/commerce/index.js
CHANGED
|
@@ -1,173 +1,173 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFR6DV5QX_js = require('../chunk-FR6DV5QX.js');
|
|
4
4
|
require('../chunk-ZSMWDLMK.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "CalendarView", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkFR6DV5QX_js.CalendarView; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "CheckoutForm", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkFR6DV5QX_js.CheckoutForm; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "EventCalendar", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkFR6DV5QX_js.EventCalendar; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "EventEmbed", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkFR6DV5QX_js.EventEmbed; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "EventModal", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkFR6DV5QX_js.EventModal; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "EventTile", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkFR6DV5QX_js.EventTile; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "EventsWidget", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkFR6DV5QX_js.EventsWidget; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "OfferingCard", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkFR6DV5QX_js.OfferingCard; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "OfferingList", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkFR6DV5QX_js.OfferingList; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "ProductDetail", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkFR6DV5QX_js.ProductDetail; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "ProductEmbed", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkFR6DV5QX_js.ProductEmbed; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "ProductGrid", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkFR6DV5QX_js.ProductGrid; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "ProductPage", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkFR6DV5QX_js.ProductPage; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "RegistrationForm", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkFR6DV5QX_js.RegistrationForm; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "UpcomingEvents", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkFR6DV5QX_js.UpcomingEvents; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "createCheckoutSession", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkFR6DV5QX_js.createCheckoutSession; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "fetchActiveProcessor", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkFR6DV5QX_js.fetchActiveProcessor; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "fetchCategories", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkFR6DV5QX_js.fetchCategories; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "fetchLatestOffering", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkFR6DV5QX_js.fetchLatestOffering; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "fetchNextEvent", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkFR6DV5QX_js.fetchNextEvent; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "fetchOffering", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkFR6DV5QX_js.fetchOffering; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "fetchOfferings", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkFR6DV5QX_js.fetchOfferings; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "fetchProcessorConfig", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkFR6DV5QX_js.fetchProcessorConfig; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "fetchProductBySlug", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkFR6DV5QX_js.fetchProductBySlug; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "fetchProducts", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkFR6DV5QX_js.fetchProducts; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "fetchProductsPublic", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkFR6DV5QX_js.fetchProductsPublic; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "fetchServices", {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkFR6DV5QX_js.fetchServices; }
|
|
115
115
|
});
|
|
116
116
|
Object.defineProperty(exports, "fetchShippingRates", {
|
|
117
117
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkFR6DV5QX_js.fetchShippingRates; }
|
|
119
119
|
});
|
|
120
120
|
Object.defineProperty(exports, "fetchUpcomingEvents", {
|
|
121
121
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkFR6DV5QX_js.fetchUpcomingEvents; }
|
|
123
123
|
});
|
|
124
124
|
Object.defineProperty(exports, "formatDate", {
|
|
125
125
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkFR6DV5QX_js.formatDate; }
|
|
127
127
|
});
|
|
128
128
|
Object.defineProperty(exports, "formatDateRange", {
|
|
129
129
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkFR6DV5QX_js.formatDateRange; }
|
|
131
131
|
});
|
|
132
132
|
Object.defineProperty(exports, "formatDateTime", {
|
|
133
133
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkFR6DV5QX_js.formatDateTime; }
|
|
135
135
|
});
|
|
136
136
|
Object.defineProperty(exports, "formatPrice", {
|
|
137
137
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkFR6DV5QX_js.formatPrice; }
|
|
139
139
|
});
|
|
140
140
|
Object.defineProperty(exports, "formatTime", {
|
|
141
141
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkFR6DV5QX_js.formatTime; }
|
|
143
143
|
});
|
|
144
144
|
Object.defineProperty(exports, "getOfferingUrl", {
|
|
145
145
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunkFR6DV5QX_js.getOfferingUrl; }
|
|
147
147
|
});
|
|
148
148
|
Object.defineProperty(exports, "getRelativeTimeUntil", {
|
|
149
149
|
enumerable: true,
|
|
150
|
-
get: function () { return
|
|
150
|
+
get: function () { return chunkFR6DV5QX_js.getRelativeTimeUntil; }
|
|
151
151
|
});
|
|
152
152
|
Object.defineProperty(exports, "getSpotsRemaining", {
|
|
153
153
|
enumerable: true,
|
|
154
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunkFR6DV5QX_js.getSpotsRemaining; }
|
|
155
155
|
});
|
|
156
156
|
Object.defineProperty(exports, "isEventSoldOut", {
|
|
157
157
|
enumerable: true,
|
|
158
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunkFR6DV5QX_js.isEventSoldOut; }
|
|
159
159
|
});
|
|
160
160
|
Object.defineProperty(exports, "registerForEvent", {
|
|
161
161
|
enumerable: true,
|
|
162
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunkFR6DV5QX_js.registerForEvent; }
|
|
163
163
|
});
|
|
164
164
|
Object.defineProperty(exports, "useEventModal", {
|
|
165
165
|
enumerable: true,
|
|
166
|
-
get: function () { return
|
|
166
|
+
get: function () { return chunkFR6DV5QX_js.useEventModal; }
|
|
167
167
|
});
|
|
168
168
|
Object.defineProperty(exports, "validateAddress", {
|
|
169
169
|
enumerable: true,
|
|
170
|
-
get: function () { return
|
|
170
|
+
get: function () { return chunkFR6DV5QX_js.validateAddress; }
|
|
171
171
|
});
|
|
172
172
|
//# sourceMappingURL=index.js.map
|
|
173
173
|
//# sourceMappingURL=index.js.map
|
package/dist/commerce/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CalendarView, CheckoutForm, EventCalendar, EventEmbed, EventModal, EventTile, EventsWidget, OfferingCard, OfferingList, ProductDetail, ProductEmbed, ProductGrid, ProductPage, RegistrationForm, UpcomingEvents, createCheckoutSession, 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 } from '../chunk-
|
|
1
|
+
export { CalendarView, CheckoutForm, EventCalendar, EventEmbed, EventModal, EventTile, EventsWidget, OfferingCard, OfferingList, ProductDetail, ProductEmbed, ProductGrid, ProductPage, RegistrationForm, UpcomingEvents, createCheckoutSession, 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 } from '../chunk-IARDGI5N.mjs';
|
|
2
2
|
import '../chunk-4XPGGLVP.mjs';
|
|
3
3
|
//# sourceMappingURL=index.mjs.map
|
|
4
4
|
//# sourceMappingURL=index.mjs.map
|
package/dist/engage/index.d.mts
CHANGED
|
@@ -25,7 +25,9 @@ interface ChatWidgetProps {
|
|
|
25
25
|
projectId?: string;
|
|
26
26
|
config?: Partial<ChatConfig>;
|
|
27
27
|
apiUrl?: string;
|
|
28
|
+
/** Signal API base URL for direct AI chat (no Portal passthrough) */
|
|
29
|
+
signalUrl?: string;
|
|
28
30
|
}
|
|
29
|
-
declare function ChatWidget({ projectId: propProjectId, config, apiUrl: propApiUrl }: ChatWidgetProps): react_jsx_runtime.JSX.Element | null;
|
|
31
|
+
declare function ChatWidget({ projectId: propProjectId, config, apiUrl: propApiUrl, signalUrl: propSignalUrl }: ChatWidgetProps): react_jsx_runtime.JSX.Element | null;
|
|
30
32
|
|
|
31
33
|
export { ChatConfig, ChatWidget, EngageWidget };
|
package/dist/engage/index.d.ts
CHANGED
|
@@ -25,7 +25,9 @@ interface ChatWidgetProps {
|
|
|
25
25
|
projectId?: string;
|
|
26
26
|
config?: Partial<ChatConfig>;
|
|
27
27
|
apiUrl?: string;
|
|
28
|
+
/** Signal API base URL for direct AI chat (no Portal passthrough) */
|
|
29
|
+
signalUrl?: string;
|
|
28
30
|
}
|
|
29
|
-
declare function ChatWidget({ projectId: propProjectId, config, apiUrl: propApiUrl }: ChatWidgetProps): react_jsx_runtime.JSX.Element | null;
|
|
31
|
+
declare function ChatWidget({ projectId: propProjectId, config, apiUrl: propApiUrl, signalUrl: propSignalUrl }: ChatWidgetProps): react_jsx_runtime.JSX.Element | null;
|
|
30
32
|
|
|
31
33
|
export { ChatConfig, ChatWidget, EngageWidget };
|
package/dist/engage/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkCTKXFLIF_js = require('../chunk-CTKXFLIF.js');
|
|
5
5
|
require('../chunk-ZSMWDLMK.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "ChatWidget", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkCTKXFLIF_js.ChatWidget; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "DesignRenderer", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkCTKXFLIF_js.DesignRenderer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "EngageWidget", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkCTKXFLIF_js.EngageWidget; }
|
|
20
20
|
});
|
|
21
21
|
//# sourceMappingURL=index.js.map
|
|
22
22
|
//# sourceMappingURL=index.js.map
|
package/dist/engage/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { ChatWidget, DesignRenderer, EngageWidget } from '../chunk-
|
|
2
|
+
export { ChatWidget, DesignRenderer, EngageWidget } from '../chunk-TOUIKTXU.mjs';
|
|
3
3
|
import '../chunk-4XPGGLVP.mjs';
|
|
4
4
|
//# sourceMappingURL=index.mjs.map
|
|
5
5
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.d.mts
CHANGED
|
@@ -5,8 +5,8 @@ export { b as AnalyticsConfig, c as AnalyticsEvent, P as PageView } from './type
|
|
|
5
5
|
export { C as ChatConfig, h as EngageElement, W as WidgetConfig } from './types-C_pfGZhI.mjs';
|
|
6
6
|
export { a as FormField, F as FormSubmission, M as ManagedFormConfig } from './types-CYPI3-8j.mjs';
|
|
7
7
|
export { e as BlogAuthor, b as BlogCategory, B as BlogPostType } from './types-CMNYdZwT.mjs';
|
|
8
|
-
export { e as Cart, f as CartItem, j as CommerceCategory, C as CommerceOffering, c as CommerceSchedule, a as CommerceVariant, O as OfferingType } from './types-
|
|
9
|
-
export { C as CalendarView, a as CheckoutForm, E as EventCalendar, c as EventEmbed, d as EventModal, e as EventTile, O as OfferingCard, f as OfferingList, g as ProductEmbed, R as RegistrationForm, U as UpcomingEvents, i as createCheckoutSession, m as fetchNextEvent, n as fetchOffering, o as fetchOfferings, r as fetchProducts, t as fetchServices, v as fetchUpcomingEvents, w as formatDate, y as formatDateTime, z as formatPrice, B as getOfferingUrl, H as registerForEvent, I as useEventModal } from './useEventModal-
|
|
8
|
+
export { e as Cart, f as CartItem, j as CommerceCategory, C as CommerceOffering, c as CommerceSchedule, a as CommerceVariant, O as OfferingType } from './types-DxhEH2tX.mjs';
|
|
9
|
+
export { C as CalendarView, a as CheckoutForm, E as EventCalendar, c as EventEmbed, d as EventModal, e as EventTile, O as OfferingCard, f as OfferingList, g as ProductEmbed, R as RegistrationForm, U as UpcomingEvents, i as createCheckoutSession, m as fetchNextEvent, n as fetchOffering, o as fetchOfferings, r as fetchProducts, t as fetchServices, v as fetchUpcomingEvents, w as formatDate, y as formatDateTime, z as formatPrice, B as getOfferingUrl, H as registerForEvent, I as useEventModal } from './useEventModal-x_RZRewW.mjs';
|
|
10
10
|
export { RedirectConfig, RedirectRule, clearRedirectCache, fetchRedirectRules, generateNextRedirects, handleManagedRedirects } from './redirects/index.mjs';
|
|
11
11
|
export { I as ImageApiConfig, a as ImageFile, M as ManagedImage, b as ManagedImageData, c as ManagedImageProps, d as assignImageToSlot, e as clearImageSlot, f as fetchManagedImage, g as fetchManagedImages, l as listImageFiles, u as uploadImage } from './api-l44k92vp.mjs';
|
|
12
12
|
export { S as SetupWizard } from './SetupWizard-Cki06kB0.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ export { b as AnalyticsConfig, c as AnalyticsEvent, P as PageView } from './type
|
|
|
5
5
|
export { C as ChatConfig, h as EngageElement, W as WidgetConfig } from './types-C_pfGZhI.js';
|
|
6
6
|
export { a as FormField, F as FormSubmission, M as ManagedFormConfig } from './types-CYPI3-8j.js';
|
|
7
7
|
export { e as BlogAuthor, b as BlogCategory, B as BlogPostType } from './types-CMNYdZwT.js';
|
|
8
|
-
export { e as Cart, f as CartItem, j as CommerceCategory, C as CommerceOffering, c as CommerceSchedule, a as CommerceVariant, O as OfferingType } from './types-
|
|
9
|
-
export { C as CalendarView, a as CheckoutForm, E as EventCalendar, c as EventEmbed, d as EventModal, e as EventTile, O as OfferingCard, f as OfferingList, g as ProductEmbed, R as RegistrationForm, U as UpcomingEvents, i as createCheckoutSession, m as fetchNextEvent, n as fetchOffering, o as fetchOfferings, r as fetchProducts, t as fetchServices, v as fetchUpcomingEvents, w as formatDate, y as formatDateTime, z as formatPrice, B as getOfferingUrl, H as registerForEvent, I as useEventModal } from './useEventModal-
|
|
8
|
+
export { e as Cart, f as CartItem, j as CommerceCategory, C as CommerceOffering, c as CommerceSchedule, a as CommerceVariant, O as OfferingType } from './types-DxhEH2tX.js';
|
|
9
|
+
export { C as CalendarView, a as CheckoutForm, E as EventCalendar, c as EventEmbed, d as EventModal, e as EventTile, O as OfferingCard, f as OfferingList, g as ProductEmbed, R as RegistrationForm, U as UpcomingEvents, i as createCheckoutSession, m as fetchNextEvent, n as fetchOffering, o as fetchOfferings, r as fetchProducts, t as fetchServices, v as fetchUpcomingEvents, w as formatDate, y as formatDateTime, z as formatPrice, B as getOfferingUrl, H as registerForEvent, I as useEventModal } from './useEventModal-5fIKdIaY.js';
|
|
10
10
|
export { RedirectConfig, RedirectRule, clearRedirectCache, fetchRedirectRules, generateNextRedirects, handleManagedRedirects } from './redirects/index.js';
|
|
11
11
|
export { I as ImageApiConfig, a as ImageFile, M as ManagedImage, b as ManagedImageData, c as ManagedImageProps, d as assignImageToSlot, e as clearImageSlot, f as fetchManagedImage, g as fetchManagedImages, l as listImageFiles, u as uploadImage } from './api-l44k92vp.js';
|
|
12
12
|
export { S as SetupWizard } from './SetupWizard-Cki06kB0.js';
|
package/dist/index.js
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
var chunkKUGMH4ZF_js = require('./chunk-KUGMH4ZF.js');
|
|
4
4
|
require('./chunk-KHP4AK3O.js');
|
|
5
5
|
var chunkUJQ73OS6_js = require('./chunk-UJQ73OS6.js');
|
|
6
|
-
var
|
|
6
|
+
var chunkFR6DV5QX_js = require('./chunk-FR6DV5QX.js');
|
|
7
7
|
var chunkGHSZWROI_js = require('./chunk-GHSZWROI.js');
|
|
8
8
|
var chunkV7QPQBFG_js = require('./chunk-V7QPQBFG.js');
|
|
9
9
|
var chunkG7RSD56P_js = require('./chunk-G7RSD56P.js');
|
|
10
10
|
var chunkHGTTGJVZ_js = require('./chunk-HGTTGJVZ.js');
|
|
11
|
-
var
|
|
11
|
+
var chunkCTKXFLIF_js = require('./chunk-CTKXFLIF.js');
|
|
12
12
|
var chunkADHVEFWD_js = require('./chunk-ADHVEFWD.js');
|
|
13
13
|
require('./chunk-ZSMWDLMK.js');
|
|
14
14
|
var React3 = require('react');
|
|
@@ -366,8 +366,11 @@ function SiteKitProvider({
|
|
|
366
366
|
signal,
|
|
367
367
|
debug = false
|
|
368
368
|
}) {
|
|
369
|
-
const
|
|
370
|
-
const
|
|
369
|
+
const isDev = typeof process !== "undefined" && process.env?.NODE_ENV === "development";
|
|
370
|
+
const defaultApiUrl = isDev && process.env?.NEXT_PUBLIC_UPTRADE_API_URL ? process.env.NEXT_PUBLIC_UPTRADE_API_URL : "https://api.uptrademedia.com";
|
|
371
|
+
const defaultSignalUrl = isDev && process.env?.NEXT_PUBLIC_SIGNAL_API_URL ? process.env.NEXT_PUBLIC_SIGNAL_API_URL : "https://signal.uptrademedia.com";
|
|
372
|
+
const finalApiUrl = apiUrl || defaultApiUrl;
|
|
373
|
+
const finalSignalUrl = signalUrl || defaultSignalUrl;
|
|
371
374
|
const finalRecaptchaSiteKey = recaptchaSiteKey ?? (typeof process !== "undefined" ? process.env?.NEXT_PUBLIC_RECAPTCHA_SITE_KEY : void 0);
|
|
372
375
|
if (!apiKey) {
|
|
373
376
|
console.error("@uptrade/site-kit: No API key provided. Set NEXT_PUBLIC_UPTRADE_API_KEY environment variable.");
|
|
@@ -433,7 +436,7 @@ function SiteKitProvider({
|
|
|
433
436
|
content = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
434
437
|
content,
|
|
435
438
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
436
|
-
|
|
439
|
+
chunkCTKXFLIF_js.EngageWidget,
|
|
437
440
|
{
|
|
438
441
|
apiUrl: finalApiUrl,
|
|
439
442
|
apiKey,
|
|
@@ -2780,99 +2783,99 @@ Object.defineProperty(exports, "fetchReviews", {
|
|
|
2780
2783
|
});
|
|
2781
2784
|
Object.defineProperty(exports, "CalendarView", {
|
|
2782
2785
|
enumerable: true,
|
|
2783
|
-
get: function () { return
|
|
2786
|
+
get: function () { return chunkFR6DV5QX_js.CalendarView; }
|
|
2784
2787
|
});
|
|
2785
2788
|
Object.defineProperty(exports, "CheckoutForm", {
|
|
2786
2789
|
enumerable: true,
|
|
2787
|
-
get: function () { return
|
|
2790
|
+
get: function () { return chunkFR6DV5QX_js.CheckoutForm; }
|
|
2788
2791
|
});
|
|
2789
2792
|
Object.defineProperty(exports, "EventCalendar", {
|
|
2790
2793
|
enumerable: true,
|
|
2791
|
-
get: function () { return
|
|
2794
|
+
get: function () { return chunkFR6DV5QX_js.EventCalendar; }
|
|
2792
2795
|
});
|
|
2793
2796
|
Object.defineProperty(exports, "EventEmbed", {
|
|
2794
2797
|
enumerable: true,
|
|
2795
|
-
get: function () { return
|
|
2798
|
+
get: function () { return chunkFR6DV5QX_js.EventEmbed; }
|
|
2796
2799
|
});
|
|
2797
2800
|
Object.defineProperty(exports, "EventModal", {
|
|
2798
2801
|
enumerable: true,
|
|
2799
|
-
get: function () { return
|
|
2802
|
+
get: function () { return chunkFR6DV5QX_js.EventModal; }
|
|
2800
2803
|
});
|
|
2801
2804
|
Object.defineProperty(exports, "EventTile", {
|
|
2802
2805
|
enumerable: true,
|
|
2803
|
-
get: function () { return
|
|
2806
|
+
get: function () { return chunkFR6DV5QX_js.EventTile; }
|
|
2804
2807
|
});
|
|
2805
2808
|
Object.defineProperty(exports, "OfferingCard", {
|
|
2806
2809
|
enumerable: true,
|
|
2807
|
-
get: function () { return
|
|
2810
|
+
get: function () { return chunkFR6DV5QX_js.OfferingCard; }
|
|
2808
2811
|
});
|
|
2809
2812
|
Object.defineProperty(exports, "OfferingList", {
|
|
2810
2813
|
enumerable: true,
|
|
2811
|
-
get: function () { return
|
|
2814
|
+
get: function () { return chunkFR6DV5QX_js.OfferingList; }
|
|
2812
2815
|
});
|
|
2813
2816
|
Object.defineProperty(exports, "ProductEmbed", {
|
|
2814
2817
|
enumerable: true,
|
|
2815
|
-
get: function () { return
|
|
2818
|
+
get: function () { return chunkFR6DV5QX_js.ProductEmbed; }
|
|
2816
2819
|
});
|
|
2817
2820
|
Object.defineProperty(exports, "RegistrationForm", {
|
|
2818
2821
|
enumerable: true,
|
|
2819
|
-
get: function () { return
|
|
2822
|
+
get: function () { return chunkFR6DV5QX_js.RegistrationForm; }
|
|
2820
2823
|
});
|
|
2821
2824
|
Object.defineProperty(exports, "UpcomingEvents", {
|
|
2822
2825
|
enumerable: true,
|
|
2823
|
-
get: function () { return
|
|
2826
|
+
get: function () { return chunkFR6DV5QX_js.UpcomingEvents; }
|
|
2824
2827
|
});
|
|
2825
2828
|
Object.defineProperty(exports, "createCheckoutSession", {
|
|
2826
2829
|
enumerable: true,
|
|
2827
|
-
get: function () { return
|
|
2830
|
+
get: function () { return chunkFR6DV5QX_js.createCheckoutSession; }
|
|
2828
2831
|
});
|
|
2829
2832
|
Object.defineProperty(exports, "fetchNextEvent", {
|
|
2830
2833
|
enumerable: true,
|
|
2831
|
-
get: function () { return
|
|
2834
|
+
get: function () { return chunkFR6DV5QX_js.fetchNextEvent; }
|
|
2832
2835
|
});
|
|
2833
2836
|
Object.defineProperty(exports, "fetchOffering", {
|
|
2834
2837
|
enumerable: true,
|
|
2835
|
-
get: function () { return
|
|
2838
|
+
get: function () { return chunkFR6DV5QX_js.fetchOffering; }
|
|
2836
2839
|
});
|
|
2837
2840
|
Object.defineProperty(exports, "fetchOfferings", {
|
|
2838
2841
|
enumerable: true,
|
|
2839
|
-
get: function () { return
|
|
2842
|
+
get: function () { return chunkFR6DV5QX_js.fetchOfferings; }
|
|
2840
2843
|
});
|
|
2841
2844
|
Object.defineProperty(exports, "fetchProducts", {
|
|
2842
2845
|
enumerable: true,
|
|
2843
|
-
get: function () { return
|
|
2846
|
+
get: function () { return chunkFR6DV5QX_js.fetchProducts; }
|
|
2844
2847
|
});
|
|
2845
2848
|
Object.defineProperty(exports, "fetchServices", {
|
|
2846
2849
|
enumerable: true,
|
|
2847
|
-
get: function () { return
|
|
2850
|
+
get: function () { return chunkFR6DV5QX_js.fetchServices; }
|
|
2848
2851
|
});
|
|
2849
2852
|
Object.defineProperty(exports, "fetchUpcomingEvents", {
|
|
2850
2853
|
enumerable: true,
|
|
2851
|
-
get: function () { return
|
|
2854
|
+
get: function () { return chunkFR6DV5QX_js.fetchUpcomingEvents; }
|
|
2852
2855
|
});
|
|
2853
2856
|
Object.defineProperty(exports, "formatDate", {
|
|
2854
2857
|
enumerable: true,
|
|
2855
|
-
get: function () { return
|
|
2858
|
+
get: function () { return chunkFR6DV5QX_js.formatDate; }
|
|
2856
2859
|
});
|
|
2857
2860
|
Object.defineProperty(exports, "formatDateTime", {
|
|
2858
2861
|
enumerable: true,
|
|
2859
|
-
get: function () { return
|
|
2862
|
+
get: function () { return chunkFR6DV5QX_js.formatDateTime; }
|
|
2860
2863
|
});
|
|
2861
2864
|
Object.defineProperty(exports, "formatPrice", {
|
|
2862
2865
|
enumerable: true,
|
|
2863
|
-
get: function () { return
|
|
2866
|
+
get: function () { return chunkFR6DV5QX_js.formatPrice; }
|
|
2864
2867
|
});
|
|
2865
2868
|
Object.defineProperty(exports, "getOfferingUrl", {
|
|
2866
2869
|
enumerable: true,
|
|
2867
|
-
get: function () { return
|
|
2870
|
+
get: function () { return chunkFR6DV5QX_js.getOfferingUrl; }
|
|
2868
2871
|
});
|
|
2869
2872
|
Object.defineProperty(exports, "registerForEvent", {
|
|
2870
2873
|
enumerable: true,
|
|
2871
|
-
get: function () { return
|
|
2874
|
+
get: function () { return chunkFR6DV5QX_js.registerForEvent; }
|
|
2872
2875
|
});
|
|
2873
2876
|
Object.defineProperty(exports, "useEventModal", {
|
|
2874
2877
|
enumerable: true,
|
|
2875
|
-
get: function () { return
|
|
2878
|
+
get: function () { return chunkFR6DV5QX_js.useEventModal; }
|
|
2876
2879
|
});
|
|
2877
2880
|
Object.defineProperty(exports, "SetupWizard", {
|
|
2878
2881
|
enumerable: true,
|