@flamingo-stack/openframe-frontend-core 0.0.792 → 0.0.794
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/{case-study-card-MCAM232N.cjs → case-study-card-KU4ZIONR.cjs} +2 -2
- package/dist/{chunk-HMV32LV4.cjs → chunk-2KLYMAHF.cjs} +4 -4
- package/dist/{chunk-ZZPGSLMO.cjs → chunk-3XAFK4WH.cjs} +8 -8
- package/dist/{chunk-P2JY2XCV.cjs → chunk-43ZVXQJK.cjs} +52 -52
- package/dist/{chunk-OKQQJ5TD.cjs → chunk-6TUI5KQS.cjs} +39 -39
- package/dist/{chunk-ZW2TS775.cjs → chunk-6VP5UWZG.cjs} +2 -2
- package/dist/{chunk-6ZPHUDTP.cjs → chunk-A6E5ZNQR.cjs} +3 -3
- package/dist/{chunk-ABZGBMC2.cjs → chunk-BFCGOHQG.cjs} +32 -32
- package/dist/{chunk-3AN35WAO.cjs → chunk-CLEZ6TWZ.cjs} +68 -68
- package/dist/{chunk-7EH7KKFW.cjs → chunk-F73DM65J.cjs} +71 -71
- package/dist/{chunk-IHLGPIFO.cjs → chunk-FOWQ4XTB.cjs} +2 -2
- package/dist/{chunk-VUQNTCAL.cjs → chunk-FYHXMHY6.cjs} +13 -13
- package/dist/{chunk-OZIPPOSJ.cjs → chunk-FYPVCCCV.cjs} +101 -101
- package/dist/{chunk-5MIGBLDC.cjs → chunk-HXL7AUPG.cjs} +17 -17
- package/dist/{chunk-UNUJ5YQ5.cjs → chunk-IJ23KNYI.cjs} +4 -4
- package/dist/{chunk-YPWFYQFE.cjs → chunk-IQTVKPRG.cjs} +22 -22
- package/dist/{chunk-EPWLLLGW.cjs → chunk-KQPU5N7T.cjs} +13 -13
- package/dist/{chunk-TBGVWIF7.cjs → chunk-NGGEYE5R.cjs} +2 -2
- package/dist/{chunk-W3Q7ZQLS.cjs → chunk-NIW4ETGC.cjs} +4 -4
- package/dist/{chunk-SXEIK7RU.cjs → chunk-OK467OQJ.cjs} +2 -2
- package/dist/{chunk-FBA6S4ES.cjs → chunk-QDW64E6T.cjs} +99 -99
- package/dist/{chunk-YWNXZAQ2.cjs → chunk-U4D4ABXK.cjs} +38 -38
- package/dist/{chunk-WWWLOMZI.cjs → chunk-UAZTXYPC.cjs} +81 -79
- package/dist/{chunk-C5EPWKM7.cjs → chunk-UN6LC5PK.cjs} +1 -1
- package/dist/{chunk-2I2AXIBD.cjs → chunk-YPKAMHYA.cjs} +230 -210
- package/dist/{chunk-O4TKEWNW.cjs → chunk-YYKXX5NA.cjs} +11 -11
- package/dist/{chunk-4G2KZHZW.cjs → chunk-ZIMPE7D5.cjs} +3 -3
- package/dist/{cloud-tenants-CQOD6DDR.cjs → cloud-tenants-Z3AYAXF5.cjs} +7 -7
- package/dist/components/case-studies/index.cjs +22 -22
- package/dist/components/chat/index.cjs +6 -6
- package/dist/components/contact/index.cjs +8 -8
- package/dist/components/docs/index.cjs +11 -11
- package/dist/components/embeds/index.cjs +8 -8
- package/dist/components/faq/index.cjs +9 -9
- package/dist/components/features/conversation-card.d.ts.map +1 -1
- package/dist/components/features/conversation-card.js +77 -56
- package/dist/components/features/index.cjs +7 -7
- package/dist/components/help-center-pages/index.cjs +84 -84
- package/dist/components/index.cjs +56 -56
- package/dist/components/meeting-scheduler/booking-context-summary.d.ts +8 -0
- package/dist/components/meeting-scheduler/booking-context-summary.d.ts.map +1 -0
- package/dist/components/meeting-scheduler/booking-context-summary.js +54 -0
- package/dist/components/meeting-scheduler/booking-form.d.ts +14 -1
- package/dist/components/meeting-scheduler/booking-form.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/booking-form.js +13 -3
- package/dist/components/meeting-scheduler/index.cjs +154 -80
- package/dist/components/meeting-scheduler/index.d.ts +6 -2
- package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.js +7 -2
- package/dist/components/navigation/index.cjs +10 -10
- package/dist/components/onboarding-guides/index.cjs +10 -10
- package/dist/components/product-demo/index.cjs +16 -16
- package/dist/components/related-content/index.cjs +6 -6
- package/dist/components/shared/roadmap/roadmap-grid.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-grid.js +3 -1
- package/dist/components/tickets/index.cjs +14 -14
- package/dist/components/ui/index.cjs +7 -7
- package/dist/components/ui/status-badge.d.ts.map +1 -1
- package/dist/components/ui/status-badge.js +1 -1
- package/dist/{devices-PEBUW34G.cjs → devices-P6XQL23S.cjs} +8 -8
- package/dist/{embeddable-chat-54X3TTG4.cjs → embeddable-chat-6BNLOSBB.cjs} +67 -67
- package/dist/index.cjs +11 -11
- package/dist/{knowledge-KL4BP2YK.cjs → knowledge-IU5ORU7U.cjs} +8 -8
- package/dist/loading-standard/engine.d.mts.map +1 -1
- package/dist/{logs-TO277M4F.cjs → logs-DCFTQVKA.cjs} +15 -15
- package/dist/{policies-6HSKMG4I.cjs → policies-ESC6XCVH.cjs} +11 -11
- package/dist/schemas/meeting-booking-schema.cjs +21 -0
- package/dist/schemas/meeting-booking-schema.d.ts +43 -0
- package/dist/schemas/meeting-booking-schema.d.ts.map +1 -1
- package/dist/schemas/meeting-booking-schema.js +21 -0
- package/dist/{scripts-4IO2LPMY.cjs → scripts-24PIP2VO.cjs} +12 -12
- package/dist/{software-update-RMAWEZKX.cjs → software-update-47GDTKMI.cjs} +10 -10
- package/package.json +1 -1
- package/src/components/features/conversation-card.tsx +89 -64
- package/src/components/meeting-scheduler/booking-context-summary.tsx +100 -0
- package/src/components/meeting-scheduler/booking-form.tsx +28 -0
- package/src/components/meeting-scheduler/index.tsx +23 -2
- package/src/components/shared/roadmap/roadmap-grid.tsx +5 -1
- package/src/components/ui/status-badge.tsx +4 -2
- package/src/loading-standard/engine.mjs +6 -2
- package/src/schemas/meeting-booking-schema.ts +62 -0
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkFOWQ4XTBcjs = require('../../chunk-FOWQ4XTB.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk2KLYMAHFcjs = require('../../chunk-2KLYMAHF.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunk6VP5UWZGcjs = require('../../chunk-6VP5UWZG.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -22,7 +22,7 @@ var _chunkZW2TS775cjs = require('../../chunk-ZW2TS775.cjs');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkYPKAMHYAcjs = require('../../chunk-YPKAMHYA.cjs');
|
|
26
26
|
require('../../chunk-PQIWR4Q2.cjs');
|
|
27
27
|
require('../../chunk-HJBJHQKE.cjs');
|
|
28
28
|
|
|
@@ -51,10 +51,10 @@ var _chunkRFIBRGXGcjs = require('../../chunk-RFIBRGXG.cjs');
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
var
|
|
54
|
+
var _chunkF73DM65Jcjs = require('../../chunk-F73DM65J.cjs');
|
|
55
55
|
|
|
56
56
|
|
|
57
|
-
var
|
|
57
|
+
var _chunkQDW64E6Tcjs = require('../../chunk-QDW64E6T.cjs');
|
|
58
58
|
require('../../chunk-BIYLAAFI.cjs');
|
|
59
59
|
require('../../chunk-RKWEFZ6P.cjs');
|
|
60
60
|
require('../../chunk-ZCMXBX4Z.cjs');
|
|
@@ -1857,11 +1857,11 @@ require('../../chunk-7DNL734S.cjs');
|
|
|
1857
1857
|
require('../../chunk-WWUSFOJ7.cjs');
|
|
1858
1858
|
require('../../chunk-SKI6NKOE.cjs');
|
|
1859
1859
|
require('../../chunk-EWPR7662.cjs');
|
|
1860
|
-
require('../../chunk-
|
|
1861
|
-
require('../../chunk-
|
|
1860
|
+
require('../../chunk-3XAFK4WH.cjs');
|
|
1861
|
+
require('../../chunk-FYPVCCCV.cjs');
|
|
1862
1862
|
|
|
1863
1863
|
|
|
1864
|
-
var
|
|
1864
|
+
var _chunkUN6LC5PKcjs = require('../../chunk-UN6LC5PK.cjs');
|
|
1865
1865
|
require('../../chunk-QVC5CMC5.cjs');
|
|
1866
1866
|
require('../../chunk-JXQNECXM.cjs');
|
|
1867
1867
|
|
|
@@ -1873,6 +1873,7 @@ var _chunk72NE4G63cjs = require('../../chunk-72NE4G63.cjs');
|
|
|
1873
1873
|
|
|
1874
1874
|
|
|
1875
1875
|
|
|
1876
|
+
|
|
1876
1877
|
var _chunk7VXMO4XJcjs = require('../../chunk-7VXMO4XJ.cjs');
|
|
1877
1878
|
require('../../chunk-S5C3OZCO.cjs');
|
|
1878
1879
|
require('../../chunk-32ASZMTV.cjs');
|
|
@@ -2030,7 +2031,7 @@ var DATA_TYPE_CONTROLS = {
|
|
|
2030
2031
|
datetime: "date",
|
|
2031
2032
|
phone_number: "phone"
|
|
2032
2033
|
};
|
|
2033
|
-
var hasDeclaredOptions = (field) => (_nullishCoalesce(_optionalChain([field, 'access',
|
|
2034
|
+
var hasDeclaredOptions = (field) => (_nullishCoalesce(_optionalChain([field, 'access', _2 => _2.options, 'optionalAccess', _3 => _3.length]), () => ( 0))) > 0;
|
|
2034
2035
|
function resolveFormFieldControl(field) {
|
|
2035
2036
|
const fieldType = (_nullishCoalesce(field.type, () => ( ""))).toLowerCase();
|
|
2036
2037
|
const withOptions = hasDeclaredOptions(field);
|
|
@@ -2138,7 +2139,7 @@ function buildBookingSchema(formFields, legalConsent, slot) {
|
|
|
2138
2139
|
}
|
|
2139
2140
|
answers[field.name] = validator;
|
|
2140
2141
|
}
|
|
2141
|
-
const requiredConsentIds = (_nullishCoalesce(_optionalChain([legalConsent, 'optionalAccess',
|
|
2142
|
+
const requiredConsentIds = (_nullishCoalesce(_optionalChain([legalConsent, 'optionalAccess', _4 => _4.communicationConsentCheckboxes]), () => ( []))).filter((c) => c.required).map((c) => c.communicationTypeId);
|
|
2142
2143
|
const hasRequiredAnswers = drawn.some((f) => f.required);
|
|
2143
2144
|
const answersObject = z.object(answers);
|
|
2144
2145
|
return z.object({
|
|
@@ -2183,7 +2184,7 @@ function makeDeferredBookingSchema(formFields, legalConsent) {
|
|
|
2183
2184
|
}
|
|
2184
2185
|
function emailDomainDenied(email, rule) {
|
|
2185
2186
|
if (typeof email !== "string") return false;
|
|
2186
|
-
const domain = _optionalChain([email, 'access',
|
|
2187
|
+
const domain = _optionalChain([email, 'access', _5 => _5.split, 'call', _6 => _6("@"), 'access', _7 => _7[1], 'optionalAccess', _8 => _8.trim, 'call', _9 => _9(), 'access', _10 => _10.toLowerCase, 'call', _11 => _11()]);
|
|
2187
2188
|
if (domain === void 0 || domain === "") return false;
|
|
2188
2189
|
return rule.domains.includes(domain);
|
|
2189
2190
|
}
|
|
@@ -2195,6 +2196,18 @@ function withDeniedEmailDomains(schema, rule) {
|
|
|
2195
2196
|
}
|
|
2196
2197
|
});
|
|
2197
2198
|
}
|
|
2199
|
+
var BOOKING_CONTEXT_FIELD = "bookingContext";
|
|
2200
|
+
var BOOKING_CONTEXT_LIMITS = { label: 120, items: 20, item: 400 };
|
|
2201
|
+
var bookingContextSchema = z.object({
|
|
2202
|
+
label: z.string().trim().min(1).max(BOOKING_CONTEXT_LIMITS.label),
|
|
2203
|
+
items: z.array(z.string().trim().min(1).max(BOOKING_CONTEXT_LIMITS.item)).min(1).max(BOOKING_CONTEXT_LIMITS.items)
|
|
2204
|
+
});
|
|
2205
|
+
function hasBookingContext(context) {
|
|
2206
|
+
return Boolean(context && context.label.trim() && context.items.some((item) => item.trim()));
|
|
2207
|
+
}
|
|
2208
|
+
function bookingContextFields(context) {
|
|
2209
|
+
return hasBookingContext(context) ? { [BOOKING_CONTEXT_FIELD]: context } : {};
|
|
2210
|
+
}
|
|
2198
2211
|
|
|
2199
2212
|
// src/hooks/use-meeting-booking.ts
|
|
2200
2213
|
var AVAILABILITY_STALE_MS = 0;
|
|
@@ -2205,10 +2218,10 @@ var BOOKING_IN_FLIGHT_MESSAGE = "Already submitting";
|
|
|
2205
2218
|
function useMeetingBooking(options) {
|
|
2206
2219
|
const { meetingId, apiBaseUrl = "", initialAvailability } = options;
|
|
2207
2220
|
const queryClient = _reactquery.useQueryClient.call(void 0, );
|
|
2208
|
-
const seededOffset = _optionalChain([initialAvailability, 'optionalAccess',
|
|
2221
|
+
const seededOffset = _optionalChain([initialAvailability, 'optionalAccess', _12 => _12.meetingId]) === meetingId ? initialAvailability.monthOffset : void 0;
|
|
2209
2222
|
const [monthOffset, setMonthOffsetState] = _react.useState.call(void 0, _nullishCoalesce(seededOffset, () => ( 0)));
|
|
2210
2223
|
const setMonthOffset = _react.useCallback.call(void 0, (offset) => {
|
|
2211
|
-
setMonthOffsetState(Math.max(0, Math.min(
|
|
2224
|
+
setMonthOffsetState(Math.max(0, Math.min(_chunkF73DM65Jcjs.MAX_MONTH_OFFSET, offset)));
|
|
2212
2225
|
}, []);
|
|
2213
2226
|
const prevMeetingIdRef = _react.useRef.call(void 0, meetingId);
|
|
2214
2227
|
_react.useLayoutEffect.call(void 0, () => {
|
|
@@ -2217,7 +2230,7 @@ function useMeetingBooking(options) {
|
|
|
2217
2230
|
setMonthOffsetState(0);
|
|
2218
2231
|
}, [meetingId]);
|
|
2219
2232
|
const inScope = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
|
|
2220
|
-
const seed = _optionalChain([initialAvailability, 'optionalAccess',
|
|
2233
|
+
const seed = _optionalChain([initialAvailability, 'optionalAccess', _13 => _13.meetingId]) === meetingId && initialAvailability.monthOffset === monthOffset ? initialAvailability : void 0;
|
|
2221
2234
|
const availabilityQuery = _reactquery.useQuery.call(void 0, {
|
|
2222
2235
|
queryKey: meetingAvailabilityKey(apiBaseUrl, meetingId, monthOffset),
|
|
2223
2236
|
queryFn: async ({ signal }) => {
|
|
@@ -2291,7 +2304,57 @@ function useMeetingBooking(options) {
|
|
|
2291
2304
|
var _zod2 = require('@hookform/resolvers/zod');
|
|
2292
2305
|
|
|
2293
2306
|
var _reacthookform = require('react-hook-form');
|
|
2307
|
+
|
|
2308
|
+
// src/components/meeting-scheduler/booking-context-summary.tsx
|
|
2294
2309
|
var _jsxruntime = require('react/jsx-runtime');
|
|
2310
|
+
var SLOT_GRID_CLASS = "grid grid-cols-1 gap-[var(--spacing-system-xs)] content-md:grid-cols-2";
|
|
2311
|
+
var SLOT_CELL_CLASS = "flex min-w-0";
|
|
2312
|
+
var LINE_TAG_PROPS = { variant: "outline", size: "sentence", className: "max-w-full" };
|
|
2313
|
+
var LOADING_LINE_CLASS = "w-3/4";
|
|
2314
|
+
var EMPTY_CLASS = "absolute inset-0 flex items-center justify-center rounded-md border border-dashed border-ods-border px-[var(--spacing-system-sf)] text-center text-ods-text-secondary text-h6";
|
|
2315
|
+
var EMPTY_CELL_CLASS = "h-9 w-full rounded-md border border-dashed border-ods-border";
|
|
2316
|
+
function BookingContextSummary({
|
|
2317
|
+
context,
|
|
2318
|
+
slot,
|
|
2319
|
+
loading: loadingProp
|
|
2320
|
+
}) {
|
|
2321
|
+
const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || loadingProp;
|
|
2322
|
+
const items = hasBookingContext(context) ? context.items.filter((item) => item.trim()) : [];
|
|
2323
|
+
const label = _nullishCoalesce(_optionalChain([slot, 'optionalAccess', _14 => _14.label]), () => ( _optionalChain([context, 'optionalAccess', _15 => _15.label])));
|
|
2324
|
+
if (!label || !slot && items.length === 0) return null;
|
|
2325
|
+
if (!slot) {
|
|
2326
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SummaryFrame, { label, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "flex flex-wrap gap-[var(--spacing-system-xs)]", "aria-label": label, children: items.map((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { className: "min-w-0 max-w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7VXMO4XJcjs.Tag, { label: item, ...LINE_TAG_PROPS }) }, item)) }) });
|
|
2327
|
+
}
|
|
2328
|
+
const cells = Array.from({ length: Math.max(slot.slots, items.length) }, (_, index) => items[index]);
|
|
2329
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SummaryFrame, { label, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", children: [
|
|
2330
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: SLOT_GRID_CLASS, "aria-label": label, children: cells.map((item, index) => {
|
|
2331
|
+
const empty = !loading && !item;
|
|
2332
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2333
|
+
"li",
|
|
2334
|
+
{
|
|
2335
|
+
className: SLOT_CELL_CLASS,
|
|
2336
|
+
"aria-hidden": empty || void 0,
|
|
2337
|
+
"data-loading-item": "",
|
|
2338
|
+
children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7VXMO4XJcjs.Tag, { label: "", loading: true, ...LINE_TAG_PROPS, className: LOADING_LINE_CLASS }) : item ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7VXMO4XJcjs.Tag, { label: item, ...LINE_TAG_PROPS }) : (
|
|
2339
|
+
// With no line at all the empty state covers every slot; with some, the rest stay as slots.
|
|
2340
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6YZNUHXTcjs.cn.call(void 0, EMPTY_CELL_CLASS, items.length === 0 && "invisible") })
|
|
2341
|
+
)
|
|
2342
|
+
},
|
|
2343
|
+
_nullishCoalesce(item, () => ( `empty-${index}`))
|
|
2344
|
+
);
|
|
2345
|
+
}) }),
|
|
2346
|
+
!loading && items.length === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: EMPTY_CLASS, children: slot.emptyText })
|
|
2347
|
+
] }) });
|
|
2348
|
+
}
|
|
2349
|
+
function SummaryFrame({ label, children }) {
|
|
2350
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
2351
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: label }),
|
|
2352
|
+
children
|
|
2353
|
+
] });
|
|
2354
|
+
}
|
|
2355
|
+
|
|
2356
|
+
// src/components/meeting-scheduler/booking-form.tsx
|
|
2357
|
+
|
|
2295
2358
|
var FORM_STACK = "flex flex-col gap-[var(--spacing-system-l)]";
|
|
2296
2359
|
var ROW_GRID = "grid grid-cols-2 gap-x-[var(--spacing-system-m)] gap-y-[var(--spacing-system-lf)] content-md:grid-cols-4";
|
|
2297
2360
|
var HOST_CONSENT_KEY = "hostConsent";
|
|
@@ -2313,8 +2376,8 @@ var evenSpan = (count, index) => {
|
|
|
2313
2376
|
return Math.min(GRID_COLUMNS, Math.max(1, index < extra ? base + 1 : base));
|
|
2314
2377
|
};
|
|
2315
2378
|
var slotColumnClass = (row, slot, index) => _chunk6YZNUHXTcjs.cn.call(void 0, row.length === 2 ? "col-span-1" : "col-span-2", SPAN_CLASS[_nullishCoalesce(slot.span, () => ( evenSpan(row.length, index)))]);
|
|
2316
|
-
var placeholderFor = (field) => _nullishCoalesce(field.placeholder, () => ( _optionalChain([fieldTypeSpec, 'call',
|
|
2317
|
-
var formFieldOptionLabel = (field, value) => _nullishCoalesce(_optionalChain([field, 'access',
|
|
2379
|
+
var placeholderFor = (field) => _nullishCoalesce(field.placeholder, () => ( _optionalChain([fieldTypeSpec, 'call', _16 => _16(field.type), 'access', _17 => _17.placeholder, 'optionalCall', _18 => _18(field)])));
|
|
2380
|
+
var formFieldOptionLabel = (field, value) => _nullishCoalesce(_optionalChain([field, 'access', _19 => _19.optionLabels, 'optionalAccess', _20 => _20[value]]), () => ( value));
|
|
2318
2381
|
var trimmed = (v) => String(_nullishCoalesce(v, () => ( ""))).trim();
|
|
2319
2382
|
var canonicalNumber = (v) => {
|
|
2320
2383
|
const s = String(_nullishCoalesce(v, () => ( ""))).trim();
|
|
@@ -2339,7 +2402,7 @@ var FIELD_CONTROLS = {
|
|
|
2339
2402
|
}
|
|
2340
2403
|
),
|
|
2341
2404
|
textarea: ({ field, id, registerName, error, register }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2342
|
-
|
|
2405
|
+
_chunkYPKAMHYAcjs.Textarea,
|
|
2343
2406
|
{
|
|
2344
2407
|
id,
|
|
2345
2408
|
required: field.required,
|
|
@@ -2416,14 +2479,14 @@ var FIELD_CONTROLS = {
|
|
|
2416
2479
|
control,
|
|
2417
2480
|
name: registerName,
|
|
2418
2481
|
render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2419
|
-
|
|
2482
|
+
_chunkYPKAMHYAcjs.RadioGroup,
|
|
2420
2483
|
{
|
|
2421
2484
|
value: _nullishCoalesce(rhf.value, () => ( "")),
|
|
2422
2485
|
onValueChange: rhf.onChange,
|
|
2423
2486
|
"aria-required": field.required || void 0,
|
|
2424
2487
|
"aria-invalid": Boolean(error),
|
|
2425
2488
|
children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
2426
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2489
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYPKAMHYAcjs.RadioGroupItem, { id: `${id}-${opt}`, value: opt }),
|
|
2427
2490
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJRTDBPJTcjs.Label, { htmlFor: `${id}-${opt}`, children: formFieldOptionLabel(field, opt) })
|
|
2428
2491
|
] }, opt))
|
|
2429
2492
|
}
|
|
@@ -2487,7 +2550,7 @@ var CHIP_FIELD_TYPES = /* @__PURE__ */ new Set(["select", "radio"]);
|
|
|
2487
2550
|
var CHIP_MAX_OPTIONS = 6;
|
|
2488
2551
|
function drawnAsChips(field, display) {
|
|
2489
2552
|
if (display !== "chips" || !CHIP_FIELD_TYPES.has(field.type)) return false;
|
|
2490
|
-
const count = _nullishCoalesce(_optionalChain([field, 'access',
|
|
2553
|
+
const count = _nullishCoalesce(_optionalChain([field, 'access', _21 => _21.options, 'optionalAccess', _22 => _22.length]), () => ( 0));
|
|
2491
2554
|
return count > 0 && count <= CHIP_MAX_OPTIONS;
|
|
2492
2555
|
}
|
|
2493
2556
|
var CHIP_ROW_CLASS = "flex flex-wrap justify-start gap-[var(--spacing-system-xsf)]";
|
|
@@ -2497,7 +2560,7 @@ var chipsControl = ({ field, id, registerName, error, control }) => /* @__PURE__
|
|
|
2497
2560
|
control,
|
|
2498
2561
|
name: registerName,
|
|
2499
2562
|
render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2500
|
-
|
|
2563
|
+
_chunkYPKAMHYAcjs.ToggleGroup,
|
|
2501
2564
|
{
|
|
2502
2565
|
id,
|
|
2503
2566
|
type: "single",
|
|
@@ -2506,13 +2569,13 @@ var chipsControl = ({ field, id, registerName, error, control }) => /* @__PURE__
|
|
|
2506
2569
|
onValueChange: (value) => {
|
|
2507
2570
|
if (value) rhf.onChange(value);
|
|
2508
2571
|
},
|
|
2509
|
-
ref: (group) => rhf.ref(group && { focus: () => _optionalChain([group, 'access',
|
|
2572
|
+
ref: (group) => rhf.ref(group && { focus: () => _optionalChain([group, 'access', _23 => _23.querySelector, 'call', _24 => _24("button"), 'optionalAccess', _25 => _25.focus, 'call', _26 => _26()]) }),
|
|
2510
2573
|
onBlur: rhf.onBlur,
|
|
2511
2574
|
"aria-labelledby": _chunkHCXNFMLOcjs.fieldLabelId.call(void 0, id),
|
|
2512
2575
|
"aria-required": field.required || void 0,
|
|
2513
2576
|
"aria-invalid": Boolean(error),
|
|
2514
2577
|
className: CHIP_ROW_CLASS,
|
|
2515
|
-
children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2578
|
+
children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYPKAMHYAcjs.ToggleGroupItem, { value: opt, className: _chunk6YZNUHXTcjs.cn.call(void 0, error && "data-[state=off]:border-ods-error"), children: formFieldOptionLabel(field, opt) }, opt))
|
|
2516
2579
|
}
|
|
2517
2580
|
)
|
|
2518
2581
|
}
|
|
@@ -2530,7 +2593,8 @@ function BookingForm(props) {
|
|
|
2530
2593
|
fieldCopy: props.fieldCopy,
|
|
2531
2594
|
consent: props.consent,
|
|
2532
2595
|
footerNote: props.footerNote,
|
|
2533
|
-
submitLabel: props.submitLabel
|
|
2596
|
+
submitLabel: props.submitLabel,
|
|
2597
|
+
contextSlot: props.contextSlot
|
|
2534
2598
|
}
|
|
2535
2599
|
);
|
|
2536
2600
|
}
|
|
@@ -2545,6 +2609,8 @@ function BookingFormBody({
|
|
|
2545
2609
|
deferSlot = false,
|
|
2546
2610
|
initialValues,
|
|
2547
2611
|
answers,
|
|
2612
|
+
context,
|
|
2613
|
+
contextSlot,
|
|
2548
2614
|
submitLabel,
|
|
2549
2615
|
footerNote,
|
|
2550
2616
|
fieldRows,
|
|
@@ -2571,7 +2637,7 @@ function BookingFormBody({
|
|
|
2571
2637
|
[supportedFields, legalConsent, deniedEmailDomains]
|
|
2572
2638
|
);
|
|
2573
2639
|
const consentDefaults = _react.useMemo.call(void 0,
|
|
2574
|
-
() => (_nullishCoalesce(_optionalChain([legalConsent, 'optionalAccess',
|
|
2640
|
+
() => (_nullishCoalesce(_optionalChain([legalConsent, 'optionalAccess', _27 => _27.communicationConsentCheckboxes]), () => ( []))).map((c) => ({
|
|
2575
2641
|
communicationTypeId: c.communicationTypeId,
|
|
2576
2642
|
consented: false
|
|
2577
2643
|
})),
|
|
@@ -2603,8 +2669,8 @@ function BookingFormBody({
|
|
|
2603
2669
|
..._nullishCoalesce(initialValues, () => ( {}))
|
|
2604
2670
|
}
|
|
2605
2671
|
});
|
|
2606
|
-
const priorConsents = _optionalChain([initialValues, 'optionalAccess',
|
|
2607
|
-
const [consented, setConsented] = _react.useState.call(void 0, _optionalChain([initialValues, 'optionalAccess',
|
|
2672
|
+
const priorConsents = _optionalChain([initialValues, 'optionalAccess', _28 => _28.legalConsentResponses]);
|
|
2673
|
+
const [consented, setConsented] = _react.useState.call(void 0, _optionalChain([initialValues, 'optionalAccess', _29 => _29[HOST_CONSENT_KEY]]) === true);
|
|
2608
2674
|
const [consentError, setConsentError] = _react.useState.call(void 0, null);
|
|
2609
2675
|
const consentMissing = Boolean(consent) && !consented;
|
|
2610
2676
|
const watchedValues = watch();
|
|
@@ -2622,7 +2688,7 @@ function BookingFormBody({
|
|
|
2622
2688
|
"legalConsentResponses",
|
|
2623
2689
|
consentDefaults.map((next) => ({
|
|
2624
2690
|
...next,
|
|
2625
|
-
consented: _nullishCoalesce(_optionalChain([current, 'access',
|
|
2691
|
+
consented: _nullishCoalesce(_optionalChain([current, 'access', _30 => _30.find, 'call', _31 => _31((r) => r.communicationTypeId === next.communicationTypeId), 'optionalAccess', _32 => _32.consented]), () => ( false))
|
|
2626
2692
|
})),
|
|
2627
2693
|
{ shouldDirty: false }
|
|
2628
2694
|
);
|
|
@@ -2632,8 +2698,8 @@ function BookingFormBody({
|
|
|
2632
2698
|
const names = /* @__PURE__ */ new Set([...Object.keys(_nullishCoalesce(answers, () => ( {}))), ...Object.keys(written.current)]);
|
|
2633
2699
|
for (const name of names) {
|
|
2634
2700
|
if (!supportedFields.some((field) => field.name === name)) continue;
|
|
2635
|
-
const next = _nullishCoalesce(_optionalChain([answers, 'optionalAccess',
|
|
2636
|
-
const current = _nullishCoalesce(_optionalChain([getValues, 'call',
|
|
2701
|
+
const next = _nullishCoalesce(_optionalChain([answers, 'optionalAccess', _33 => _33[name]]), () => ( ""));
|
|
2702
|
+
const current = _nullishCoalesce(_optionalChain([getValues, 'call', _34 => _34("formFields"), 'optionalAccess', _35 => _35[name]]), () => ( ""));
|
|
2637
2703
|
if (current !== "" && current !== written.current[name]) continue;
|
|
2638
2704
|
if (next) written.current[name] = next;
|
|
2639
2705
|
else delete written.current[name];
|
|
@@ -2677,20 +2743,22 @@ function BookingFormBody({
|
|
|
2677
2743
|
startTimeMs,
|
|
2678
2744
|
durationMs,
|
|
2679
2745
|
timezone,
|
|
2746
|
+
// The page's context rides beside the answers, never inside them: the server strips it from the booking.
|
|
2747
|
+
...bookingContextFields(context),
|
|
2680
2748
|
...getSignals(),
|
|
2681
2749
|
...formRescue.submitFields()
|
|
2682
2750
|
});
|
|
2683
2751
|
}, onInvalid);
|
|
2684
2752
|
const submit = (event) => {
|
|
2685
|
-
if (consentMissing) setConsentError(_nullishCoalesce(_optionalChain([consent, 'optionalAccess',
|
|
2753
|
+
if (consentMissing) setConsentError(_nullishCoalesce(_optionalChain([consent, 'optionalAccess', _36 => _36.errorMessage]), () => ( "Please agree to continue.")));
|
|
2686
2754
|
return submitValid(event);
|
|
2687
2755
|
};
|
|
2688
2756
|
const fieldError = (name) => {
|
|
2689
|
-
const err = _optionalChain([errors, 'access',
|
|
2690
|
-
return _optionalChain([err, 'optionalAccess',
|
|
2757
|
+
const err = _optionalChain([errors, 'access', _37 => _37.formFields, 'optionalAccess', _38 => _38[name]]);
|
|
2758
|
+
return _optionalChain([err, 'optionalAccess', _39 => _39.message]);
|
|
2691
2759
|
};
|
|
2692
2760
|
const renderField = (field, where) => {
|
|
2693
|
-
const copy = _optionalChain([fieldCopy, 'optionalAccess',
|
|
2761
|
+
const copy = _optionalChain([fieldCopy, 'optionalAccess', _40 => _40[field.name]]);
|
|
2694
2762
|
const shown = copy ? { ...field, label: _nullishCoalesce(copy.label, () => ( field.label)), placeholder: _nullishCoalesce(copy.placeholder, () => ( field.placeholder)) } : field;
|
|
2695
2763
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2696
2764
|
_chunkHCXNFMLOcjs.FieldWrapper,
|
|
@@ -2699,7 +2767,7 @@ function BookingFormBody({
|
|
|
2699
2767
|
htmlFor: where.id,
|
|
2700
2768
|
required: shown.required,
|
|
2701
2769
|
error: where.error,
|
|
2702
|
-
children: (drawnAsChips(shown, _optionalChain([copy, 'optionalAccess',
|
|
2770
|
+
children: (drawnAsChips(shown, _optionalChain([copy, 'optionalAccess', _41 => _41.display])) ? chipsControl : FIELD_CONTROLS[shown.type])({
|
|
2703
2771
|
field: shown,
|
|
2704
2772
|
id: where.id,
|
|
2705
2773
|
registerName: where.registerName,
|
|
@@ -2714,7 +2782,7 @@ function BookingFormBody({
|
|
|
2714
2782
|
const builtInFields = Object.fromEntries(
|
|
2715
2783
|
BUILT_IN_BOOKING_FIELDS.map((field) => [
|
|
2716
2784
|
field.name,
|
|
2717
|
-
renderField(field, { id: builtInId(field.name), registerName: field.name, error: _optionalChain([errors, 'access',
|
|
2785
|
+
renderField(field, { id: builtInId(field.name), registerName: field.name, error: _optionalChain([errors, 'access', _42 => _42[field.name], 'optionalAccess', _43 => _43.message]) })
|
|
2718
2786
|
])
|
|
2719
2787
|
);
|
|
2720
2788
|
const renderDeclaredField = (field) => renderField(field, {
|
|
@@ -2742,8 +2810,9 @@ function BookingFormBody({
|
|
|
2742
2810
|
children: _nullishCoalesce(submitLabel, () => ( DEFAULT_SUBMIT_LABEL))
|
|
2743
2811
|
}
|
|
2744
2812
|
);
|
|
2745
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { id: formId, onSubmit: submit, className: FORM_STACK, noValidate: true, ...
|
|
2746
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2813
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { id: formId, onSubmit: submit, className: FORM_STACK, noValidate: true, ..._chunkF73DM65Jcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS, children: [
|
|
2814
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYPKAMHYAcjs.HoneypotField, { ...honeypotInputProps }),
|
|
2815
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BookingContextSummary, { context, slot: contextSlot }),
|
|
2747
2816
|
fieldRows ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
2748
2817
|
placedRows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_GRID, children: row.map((slot, slotIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: slotColumnClass(row, slot, slotIndex), children: slotNode(slot.name) }, slot.name)) }, row.map((s) => s.name).join("|"))),
|
|
2749
2818
|
[...unplacedBuiltIns, ...unplacedFields].map((field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: slotNode(field.name) }, field.name))
|
|
@@ -2756,7 +2825,7 @@ function BookingFormBody({
|
|
|
2756
2825
|
supportedFields.map((field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: renderDeclaredField(field) }, field.name))
|
|
2757
2826
|
] }),
|
|
2758
2827
|
consent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2759
|
-
|
|
2828
|
+
_chunkYPKAMHYAcjs.CheckboxBlock,
|
|
2760
2829
|
{
|
|
2761
2830
|
id: "ms-host-consent",
|
|
2762
2831
|
checked: consented,
|
|
@@ -2775,7 +2844,7 @@ function BookingFormBody({
|
|
|
2775
2844
|
// box doesn't shove the submit button down the card. With no error the
|
|
2776
2845
|
// wrapper is `display:contents` and the panel below is the flex item,
|
|
2777
2846
|
// exactly as it was.
|
|
2778
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHCXNFMLOcjs.FieldWrapper, { error: _optionalChain([errors, 'access',
|
|
2847
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHCXNFMLOcjs.FieldWrapper, { error: _optionalChain([errors, 'access', _44 => _44.legalConsentResponses, 'optionalAccess', _45 => _45.message]), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
2779
2848
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: legalConsent.processingConsentText }),
|
|
2780
2849
|
legalConsent.communicationConsentText && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: legalConsent.communicationConsentText }),
|
|
2781
2850
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2791,10 +2860,10 @@ function BookingFormBody({
|
|
|
2791
2860
|
// same block the waitlist form uses): box + label in one
|
|
2792
2861
|
// bordered row.
|
|
2793
2862
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2794
|
-
|
|
2863
|
+
_chunkYPKAMHYAcjs.CheckboxBlock,
|
|
2795
2864
|
{
|
|
2796
2865
|
id: `ms-consent-${box.communicationTypeId}`,
|
|
2797
|
-
checked: _nullishCoalesce(_optionalChain([current, 'optionalAccess',
|
|
2866
|
+
checked: _nullishCoalesce(_optionalChain([current, 'optionalAccess', _46 => _46.consented]), () => ( false)),
|
|
2798
2867
|
onCheckedChange: (v) => rhf.onChange(
|
|
2799
2868
|
responses.map(
|
|
2800
2869
|
(r) => r.communicationTypeId === box.communicationTypeId ? { ...r, consented: v } : r
|
|
@@ -2823,13 +2892,15 @@ function BookingFormPending({
|
|
|
2823
2892
|
fieldCopy,
|
|
2824
2893
|
consent,
|
|
2825
2894
|
footerNote,
|
|
2826
|
-
submitLabel = DEFAULT_SUBMIT_LABEL
|
|
2895
|
+
submitLabel = DEFAULT_SUBMIT_LABEL,
|
|
2896
|
+
contextSlot
|
|
2827
2897
|
}) {
|
|
2828
2898
|
const consentId = _react.useId.call(void 0, );
|
|
2829
2899
|
const submitButton = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { type: "button", tabIndex: -1, className: footerNote ? SUBMIT_WIDE_CLASS : void 0, children: submitLabel });
|
|
2830
2900
|
return (
|
|
2831
2901
|
// Inert: the fields are the form's own controls, drawn so each is its loaded size; none takes focus.
|
|
2832
2902
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex-1", FORM_STACK), "aria-hidden": true, inert: true, children: [
|
|
2903
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BookingContextSummary, { slot: contextSlot, loading: true }),
|
|
2833
2904
|
skeletonRows(_nullishCoalesce(fieldRows, () => ( DEFAULT_FIELD_ROWS)), optionalFields).map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_GRID, children: row.map((slot, slotIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2834
2905
|
FieldSkeleton,
|
|
2835
2906
|
{
|
|
@@ -2842,10 +2913,10 @@ function BookingFormPending({
|
|
|
2842
2913
|
!fieldRows && // An empty label keeps the field's own frame (`FieldWrapper` draws no label for it); the bar stands for it.
|
|
2843
2914
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkHCXNFMLOcjs.FieldWrapper, { label: "", children: [
|
|
2844
2915
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h6", className: "mb-1 w-40" }),
|
|
2845
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2916
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYPKAMHYAcjs.Textarea, { tabIndex: -1 })
|
|
2846
2917
|
] }),
|
|
2847
2918
|
consent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2848
|
-
|
|
2919
|
+
_chunkYPKAMHYAcjs.CheckboxBlock,
|
|
2849
2920
|
{
|
|
2850
2921
|
id: consentId,
|
|
2851
2922
|
checked: false,
|
|
@@ -2890,13 +2961,13 @@ function FieldSkeleton({
|
|
|
2890
2961
|
className
|
|
2891
2962
|
}) {
|
|
2892
2963
|
const builtIn = BUILT_IN_BOOKING_FIELDS.find((f) => f.name === name);
|
|
2893
|
-
const copy = _optionalChain([fieldCopy, 'optionalAccess',
|
|
2894
|
-
const label = builtIn ? _nullishCoalesce(_optionalChain([copy, 'optionalAccess',
|
|
2964
|
+
const copy = _optionalChain([fieldCopy, 'optionalAccess', _47 => _47[name]]);
|
|
2965
|
+
const label = builtIn ? _nullishCoalesce(_optionalChain([copy, 'optionalAccess', _48 => _48.label]), () => ( builtIn.label)) : _optionalChain([copy, 'optionalAccess', _49 => _49.label]);
|
|
2895
2966
|
return (
|
|
2896
2967
|
// An empty label keeps the field's own frame; a read label is the bar under it.
|
|
2897
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkHCXNFMLOcjs.FieldWrapper, { label: _nullishCoalesce(label, () => ( "")), required: _optionalChain([builtIn, 'optionalAccess',
|
|
2968
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkHCXNFMLOcjs.FieldWrapper, { label: _nullishCoalesce(label, () => ( "")), required: _optionalChain([builtIn, 'optionalAccess', _50 => _50.required]), className, children: [
|
|
2898
2969
|
label === void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h6", className: "mb-1 w-32" }),
|
|
2899
|
-
!builtIn && _optionalChain([copy, 'optionalAccess',
|
|
2970
|
+
!builtIn && _optionalChain([copy, 'optionalAccess', _51 => _51.display]) === "chips" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CHIP_ROW_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.UnifiedSkeleton, { variant: "default", className: _chunk6YZNUHXTcjs.cn.call(void 0, _chunkYPKAMHYAcjs.TOGGLE_SIZE_CLASS.default, "w-24 rounded-md") }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHCXNFMLOcjs.Input, { tabIndex: -1 })
|
|
2900
2971
|
] })
|
|
2901
2972
|
);
|
|
2902
2973
|
}
|
|
@@ -3005,7 +3076,7 @@ function ContextPanelSkeleton({
|
|
|
3005
3076
|
] }),
|
|
3006
3077
|
timezone !== "hidden" && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, STRIP_ASIDE, timezone === "wide" && TIMEZONE_WIDE_ONLY_CLASS), children: [
|
|
3007
3078
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS, children: "Timezone" }),
|
|
3008
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3079
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYPKAMHYAcjs.TimezoneSelect, { value: null, loading: true, onChange: _chunk6YZNUHXTcjs.LOADING_NOOP })
|
|
3009
3080
|
] })
|
|
3010
3081
|
] })
|
|
3011
3082
|
] });
|
|
@@ -3084,13 +3155,13 @@ function SchedulerContextPanel({
|
|
|
3084
3155
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, STRIP_ASIDE, locked && TIMEZONE_WIDE_ONLY_CLASS), children: [
|
|
3085
3156
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS, children: "Timezone" }),
|
|
3086
3157
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3087
|
-
|
|
3158
|
+
_chunkYPKAMHYAcjs.TimezoneSelect,
|
|
3088
3159
|
{
|
|
3089
3160
|
value: _nullishCoalesce(timezone, () => ( null)),
|
|
3090
3161
|
loading: !timezone,
|
|
3091
3162
|
disabled,
|
|
3092
3163
|
onChange: (tz) => {
|
|
3093
|
-
if (tz) _optionalChain([onTimezoneChange, 'optionalCall',
|
|
3164
|
+
if (tz) _optionalChain([onTimezoneChange, 'optionalCall', _52 => _52(tz)]);
|
|
3094
3165
|
}
|
|
3095
3166
|
}
|
|
3096
3167
|
)
|
|
@@ -3141,13 +3212,13 @@ function SchedulerModalHeader({
|
|
|
3141
3212
|
showTimezone && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TIMEZONE_ROW_CLASS, children: [
|
|
3142
3213
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS2, children: "Timezone" }),
|
|
3143
3214
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3144
|
-
|
|
3215
|
+
_chunkYPKAMHYAcjs.TimezoneSelect,
|
|
3145
3216
|
{
|
|
3146
3217
|
value: timezone,
|
|
3147
3218
|
loading: !timezone,
|
|
3148
3219
|
disabled,
|
|
3149
3220
|
onChange: (tz) => {
|
|
3150
|
-
if (tz) _optionalChain([onTimezoneChange, 'optionalCall',
|
|
3221
|
+
if (tz) _optionalChain([onTimezoneChange, 'optionalCall', _53 => _53(tz)]);
|
|
3151
3222
|
}
|
|
3152
3223
|
}
|
|
3153
3224
|
)
|
|
@@ -3162,7 +3233,7 @@ function SchedulerModalHeaderSkeleton({ showTimezone = true } = {}) {
|
|
|
3162
3233
|
] }),
|
|
3163
3234
|
showTimezone && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TIMEZONE_ROW_CLASS, children: [
|
|
3164
3235
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS2, children: "Timezone" }),
|
|
3165
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3236
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYPKAMHYAcjs.TimezoneSelect, { value: null, loading: true, onChange: _chunk6YZNUHXTcjs.LOADING_NOOP })
|
|
3166
3237
|
] })
|
|
3167
3238
|
] });
|
|
3168
3239
|
}
|
|
@@ -3244,18 +3315,18 @@ var DISABLE_EVERY_DAY = () => true;
|
|
|
3244
3315
|
function DayCalendar({ monthOffset, onMonthOffsetChange, selectedDay, onSelectDay, slotsByDay }) {
|
|
3245
3316
|
const now = /* @__PURE__ */ new Date();
|
|
3246
3317
|
const startMonth = new Date(now.getFullYear(), now.getMonth(), 1);
|
|
3247
|
-
const endMonth = new Date(now.getFullYear(), now.getMonth() +
|
|
3318
|
+
const endMonth = new Date(now.getFullYear(), now.getMonth() + _chunkF73DM65Jcjs.MAX_MONTH_OFFSET + 1, 0);
|
|
3248
3319
|
const visibleMonth = new Date(now.getFullYear(), now.getMonth() + monthOffset, 1);
|
|
3249
|
-
const dayHasNoSlots = _react.useCallback.call(void 0, (day) => !_optionalChain([slotsByDay, 'optionalAccess',
|
|
3320
|
+
const dayHasNoSlots = _react.useCallback.call(void 0, (day) => !_optionalChain([slotsByDay, 'optionalAccess', _54 => _54.has, 'call', _55 => _55(calendarDayKey(day))]), [slotsByDay]);
|
|
3250
3321
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col", "aria-busy": slotsByDay === null, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3251
|
-
|
|
3322
|
+
_chunkYPKAMHYAcjs.DatePickerCalendar,
|
|
3252
3323
|
{
|
|
3253
3324
|
mode: "single",
|
|
3254
3325
|
bare: true,
|
|
3255
3326
|
month: visibleMonth,
|
|
3256
3327
|
onMonthChange: (month) => {
|
|
3257
3328
|
const offset = (month.getFullYear() - now.getFullYear()) * 12 + (month.getMonth() - now.getMonth());
|
|
3258
|
-
onMonthOffsetChange(Math.max(0, Math.min(
|
|
3329
|
+
onMonthOffsetChange(Math.max(0, Math.min(_chunkF73DM65Jcjs.MAX_MONTH_OFFSET, offset)));
|
|
3259
3330
|
},
|
|
3260
3331
|
fromDate: startMonth,
|
|
3261
3332
|
toDate: endMonth,
|
|
@@ -3264,7 +3335,7 @@ function DayCalendar({ monthOffset, onMonthOffsetChange, selectedDay, onSelectDa
|
|
|
3264
3335
|
const day = value;
|
|
3265
3336
|
if (!day) return;
|
|
3266
3337
|
const key = calendarDayKey(day);
|
|
3267
|
-
if (_optionalChain([slotsByDay, 'optionalAccess',
|
|
3338
|
+
if (_optionalChain([slotsByDay, 'optionalAccess', _56 => _56.has, 'call', _57 => _57(key)])) onSelectDay(key);
|
|
3268
3339
|
},
|
|
3269
3340
|
disabledDays: slotsByDay === null ? DISABLE_EVERY_DAY : dayHasNoSlots
|
|
3270
3341
|
}
|
|
@@ -3399,7 +3470,7 @@ function SlotPicker({
|
|
|
3399
3470
|
monthLabelFor(monthOffset),
|
|
3400
3471
|
"."
|
|
3401
3472
|
] }),
|
|
3402
|
-
monthOffset <
|
|
3473
|
+
monthOffset < _chunkF73DM65Jcjs.MAX_MONTH_OFFSET && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3403
3474
|
_chunkK7I3YYYUcjs.Button,
|
|
3404
3475
|
{
|
|
3405
3476
|
variant: "outline",
|
|
@@ -3423,7 +3494,7 @@ function SlotPicker({
|
|
|
3423
3494
|
|
|
3424
3495
|
|
|
3425
3496
|
function useNextAvailableLabel(ms) {
|
|
3426
|
-
const hydrated =
|
|
3497
|
+
const hydrated = _chunkQDW64E6Tcjs.useIsHydrated.call(void 0, );
|
|
3427
3498
|
return _react.useMemo.call(void 0, () => {
|
|
3428
3499
|
if (!hydrated || ms == null) return null;
|
|
3429
3500
|
return _chunk7VXMO4XJcjs.formatDateWithTimezone.call(void 0, ms, _chunk7VXMO4XJcjs.VIEWER_TIMEZONE, "shortWeekdayDateTime", { viewerLocale: true }) || null;
|
|
@@ -3462,7 +3533,7 @@ function DirectoryRow({
|
|
|
3462
3533
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h3", children: link.title }),
|
|
3463
3534
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: subtitle })
|
|
3464
3535
|
] }),
|
|
3465
|
-
audienceLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3536
|
+
audienceLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.StatusBadge, { text: `For ${audienceLabel}`, singleLine: true, className: "hidden shrink-0 content-sm:inline-flex" }),
|
|
3466
3537
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk72NE4G63cjs.AvatarStack, { people: link.hosts, max: 3, size: "md", label: "Hosts", className: "flex shrink-0" }),
|
|
3467
3538
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_NEXT_COLUMN_CLASS, children: [
|
|
3468
3539
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: ROW_NEXT_LABEL_CLASS, children: "Next available" }),
|
|
@@ -3496,7 +3567,7 @@ function MeetingSchedulerDirectorySkeleton({
|
|
|
3496
3567
|
}) {
|
|
3497
3568
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex flex-col", className), "aria-hidden": true, children: [
|
|
3498
3569
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROWS_CLASS, style: { minHeight: directoryRowsMinHeight(pageSize) }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.LoadingItems, { count: pageSize, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MeetingSchedulerDirectoryRowSkeleton, { "data-loading-item": true }) }) }),
|
|
3499
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, PAGINATION_SLOT_CLASS, PAGINATION_SLOT_H), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3570
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, PAGINATION_SLOT_CLASS, PAGINATION_SLOT_H), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6VP5UWZGcjs.PaginationSkeleton, {}) })
|
|
3500
3571
|
] });
|
|
3501
3572
|
}
|
|
3502
3573
|
function MeetingSchedulerDirectory({
|
|
@@ -3540,7 +3611,7 @@ function MeetingSchedulerDirectory({
|
|
|
3540
3611
|
};
|
|
3541
3612
|
}, [initialData, inScope, includeAll, apiBaseUrl]);
|
|
3542
3613
|
const rows = _react.useMemo.call(void 0, () => {
|
|
3543
|
-
const purposes = _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
3614
|
+
const purposes = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _58 => _58.purposes]), () => ( []));
|
|
3544
3615
|
return purposes.flatMap((p) => p.links.map((link) => ({ link, audienceLabel: p.label })));
|
|
3545
3616
|
}, [data]);
|
|
3546
3617
|
const totalPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, rows.length, pageSize);
|
|
@@ -3551,7 +3622,7 @@ function MeetingSchedulerDirectory({
|
|
|
3551
3622
|
}
|
|
3552
3623
|
if (error) {
|
|
3553
3624
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex flex-col justify-center", className), style: { minHeight: rowsMinHeight + 104 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3554
|
-
|
|
3625
|
+
_chunk2KLYMAHFcjs.EmptyState,
|
|
3555
3626
|
{
|
|
3556
3627
|
type: "generic",
|
|
3557
3628
|
title: "We couldn't load available call times",
|
|
@@ -3562,7 +3633,7 @@ function MeetingSchedulerDirectory({
|
|
|
3562
3633
|
}
|
|
3563
3634
|
if (rows.length === 0) {
|
|
3564
3635
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex flex-col justify-center", className), style: { minHeight: rowsMinHeight + 104 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3565
|
-
|
|
3636
|
+
_chunk2KLYMAHFcjs.EmptyState,
|
|
3566
3637
|
{
|
|
3567
3638
|
type: "generic",
|
|
3568
3639
|
title: "No call times are published right now",
|
|
@@ -3574,7 +3645,7 @@ function MeetingSchedulerDirectory({
|
|
|
3574
3645
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex flex-col", className), children: [
|
|
3575
3646
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROWS_CLASS, style: { minHeight: rowsMinHeight }, children: pageRows.map(({ link, audienceLabel }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DirectoryRow, { link, audienceLabel, bookingBasePath }, link.id)) }),
|
|
3576
3647
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, PAGINATION_SLOT_CLASS, PAGINATION_SLOT_H), children: totalPages > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3577
|
-
|
|
3648
|
+
_chunkFOWQ4XTBcjs.PersistentPaginationWrapper,
|
|
3578
3649
|
{
|
|
3579
3650
|
isLoading,
|
|
3580
3651
|
currentPage: page,
|
|
@@ -3713,7 +3784,7 @@ function HubSpotMeetingScheduler({
|
|
|
3713
3784
|
const modal = layout === "modal" && !detailsFirst;
|
|
3714
3785
|
const modalFormId = _react.useId.call(void 0, );
|
|
3715
3786
|
const [modalFormValid, setModalFormValid] = _react.useState.call(void 0, false);
|
|
3716
|
-
const hydrated =
|
|
3787
|
+
const hydrated = _chunkQDW64E6Tcjs.useIsHydrated.call(void 0, );
|
|
3717
3788
|
const [pickedTimezone, setTimezone] = _react.useState.call(void 0, null);
|
|
3718
3789
|
const resolvedLocalTimezone = _react.useMemo.call(void 0, () => {
|
|
3719
3790
|
if (!hydrated) return null;
|
|
@@ -3733,7 +3804,7 @@ function HubSpotMeetingScheduler({
|
|
|
3733
3804
|
});
|
|
3734
3805
|
_react.useEffect.call(void 0, () => {
|
|
3735
3806
|
if (inScope) return;
|
|
3736
|
-
_optionalChain([onStageChangeRef, 'access',
|
|
3807
|
+
_optionalChain([onStageChangeRef, 'access', _59 => _59.current, 'optionalCall', _60 => _60(stage)]);
|
|
3737
3808
|
}, [stage, inScope]);
|
|
3738
3809
|
const [stash, setStash] = _react.useState.call(void 0, null);
|
|
3739
3810
|
const inFlightRef = _react.useRef.call(void 0, false);
|
|
@@ -3764,8 +3835,8 @@ function HubSpotMeetingScheduler({
|
|
|
3764
3835
|
_react.useEffect.call(void 0, () => {
|
|
3765
3836
|
autoAdvanceCount.current = 0;
|
|
3766
3837
|
}, [meetingId]);
|
|
3767
|
-
const durations = _react.useMemo.call(void 0, () => _nullishCoalesce(_optionalChain([availability, 'optionalAccess',
|
|
3768
|
-
const shownHosts = _nullishCoalesce(_nullishCoalesce(hosts, () => ( _optionalChain([availability, 'optionalAccess',
|
|
3838
|
+
const durations = _react.useMemo.call(void 0, () => _nullishCoalesce(_optionalChain([availability, 'optionalAccess', _61 => _61.durationsMs]), () => ( [])), [_optionalChain([availability, 'optionalAccess', _62 => _62.durationsMs])]);
|
|
3839
|
+
const shownHosts = _nullishCoalesce(_nullishCoalesce(hosts, () => ( _optionalChain([availability, 'optionalAccess', _63 => _63.hosts]))), () => ( []));
|
|
3769
3840
|
const durationMs = _nullishCoalesce(_nullishCoalesce(pickedDurationMs, () => ( durations[0])), () => ( null));
|
|
3770
3841
|
const slots = _react.useMemo.call(void 0, () => {
|
|
3771
3842
|
if (!availability || durationMs == null) return [];
|
|
@@ -3825,7 +3896,7 @@ function HubSpotMeetingScheduler({
|
|
|
3825
3896
|
_chunkCWA6J7KCcjs.completeFormRescue.call(void 0, rescue, payload[_chunkUCHO4BOScjs.FORM_RESCUE_ATTEMPT_FIELD]);
|
|
3826
3897
|
setConfirmation(result.confirmation);
|
|
3827
3898
|
setStep("confirmed");
|
|
3828
|
-
_optionalChain([onBooked, 'optionalCall',
|
|
3899
|
+
_optionalChain([onBooked, 'optionalCall', _64 => _64(result.confirmation)]);
|
|
3829
3900
|
return;
|
|
3830
3901
|
}
|
|
3831
3902
|
const code = _nullishCoalesce(result.code, () => ( "TEMPORARILY_UNAVAILABLE"));
|
|
@@ -3917,7 +3988,7 @@ function HubSpotMeetingScheduler({
|
|
|
3917
3988
|
}
|
|
3918
3989
|
)
|
|
3919
3990
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3920
|
-
bookingError === "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3991
|
+
bookingError === "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYPKAMHYAcjs.Alert, { variant: "warning", className: "mx-[var(--spacing-system-m)] mt-[var(--spacing-system-m)] w-auto", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYPKAMHYAcjs.AlertDescription, { children: "That time was just taken \u2014 pick another slot below. (If you already submitted, check your email for a confirmation before rebooking.)" }) }),
|
|
3921
3992
|
!coldStart && (!timezone || durationMs == null) && durations.length === 0 && !isFetchingAvailability ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, MODAL_STEP_CLASS, "items-start gap-[var(--spacing-system-m)]"), children: [
|
|
3922
3993
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "No call times are published right now." }),
|
|
3923
3994
|
escapeHatch
|
|
@@ -4065,7 +4136,7 @@ function HubSpotMeetingScheduler({
|
|
|
4065
4136
|
deferSlot: detailsFirst,
|
|
4066
4137
|
submitLabel: preset.submitLabel,
|
|
4067
4138
|
footerNote: preset.footerNote,
|
|
4068
|
-
initialValues: detailsFirst ? _optionalChain([stash, 'optionalAccess',
|
|
4139
|
+
initialValues: detailsFirst ? _optionalChain([stash, 'optionalAccess', _65 => _65.payload]) : void 0,
|
|
4069
4140
|
isSubmitting,
|
|
4070
4141
|
onSubmit: detailsFirst ? stashDetails : handleSubmit,
|
|
4071
4142
|
honeypotInputProps,
|
|
@@ -4075,11 +4146,11 @@ function HubSpotMeetingScheduler({
|
|
|
4075
4146
|
)
|
|
4076
4147
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)] content-md:min-h-0 content-md:flex-1", children: [
|
|
4077
4148
|
bookingError === "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4078
|
-
|
|
4149
|
+
_chunkYPKAMHYAcjs.Alert,
|
|
4079
4150
|
{
|
|
4080
4151
|
variant: "warning",
|
|
4081
4152
|
className: "mx-[var(--spacing-system-l)] mt-[var(--spacing-system-l)] w-auto content-lg:m-0 content-lg:w-full",
|
|
4082
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4153
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYPKAMHYAcjs.AlertDescription, { children: "That time was just taken \u2014 pick another slot below. (If you already submitted, check your email for a confirmation before rebooking.)" })
|
|
4083
4154
|
}
|
|
4084
4155
|
),
|
|
4085
4156
|
(!timezone || durationMs == null) && durations.length === 0 && (!isFetchingAvailability || formOnly) ? (
|
|
@@ -4132,7 +4203,9 @@ function HubSpotMeetingScheduler({
|
|
|
4132
4203
|
// Live values: both stay editable after Continue, so the
|
|
4133
4204
|
// copies frozen at that point can be stale.
|
|
4134
4205
|
durationMs,
|
|
4135
|
-
timezone
|
|
4206
|
+
timezone,
|
|
4207
|
+
// Live too: the page's context can change while the visitor is on the calendar.
|
|
4208
|
+
...bookingContextFields(_optionalChain([detailsFormProps, 'optionalAccess', _66 => _66.context]))
|
|
4136
4209
|
}).finally(() => {
|
|
4137
4210
|
inFlightRef.current = false;
|
|
4138
4211
|
});
|
|
@@ -4161,4 +4234,5 @@ function HubSpotMeetingScheduler({
|
|
|
4161
4234
|
|
|
4162
4235
|
|
|
4163
4236
|
|
|
4164
|
-
|
|
4237
|
+
|
|
4238
|
+
exports.BookingContextSummary = BookingContextSummary; exports.BookingForm = BookingForm; exports.DEFAULT_SCHEDULER_FLOW = DEFAULT_SCHEDULER_FLOW; exports.HubSpotMeetingScheduler = HubSpotMeetingScheduler; exports.MEETING_DIRECTORY_PAGE_SIZE = MEETING_DIRECTORY_PAGE_SIZE; exports.MEETING_SCHEDULER_DETAILS_FIRST_H = MEETING_SCHEDULER_DETAILS_FIRST_H; exports.MEETING_SCHEDULER_H = MEETING_SCHEDULER_H; exports.MeetingSchedulerDirectory = MeetingSchedulerDirectory; exports.SCHEDULER_FLOW_PRESETS = SCHEDULER_FLOW_PRESETS; exports.SchedulerDegradedCard = SchedulerDegradedCard; exports.formFieldOptionLabel = formFieldOptionLabel;
|