@flamingo-stack/openframe-frontend-core 0.0.632 → 0.0.633-snapshot.20260914220733
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-SXYHY7US.js → chunk-237XKNIC.js} +4 -4
- package/dist/{chunk-JONR3BDJ.cjs → chunk-47TANSTC.cjs} +2 -1
- package/dist/chunk-47TANSTC.cjs.map +1 -0
- package/dist/{chunk-WOWO3447.cjs → chunk-4P3BQN6Y.cjs} +3 -3
- package/dist/{chunk-WOWO3447.cjs.map → chunk-4P3BQN6Y.cjs.map} +1 -1
- package/dist/{chunk-SQVWK5II.js → chunk-4RUOZMHB.js} +4 -4
- package/dist/{chunk-Q3NNH7RA.cjs → chunk-AJ24EK2S.cjs} +3 -3
- package/dist/{chunk-Q3NNH7RA.cjs.map → chunk-AJ24EK2S.cjs.map} +1 -1
- package/dist/{chunk-TWQM5JOZ.js → chunk-BK3OXJRU.js} +2 -2
- package/dist/{chunk-Y3RQO33R.cjs → chunk-BVG5CL57.cjs} +33 -33
- package/dist/{chunk-Y3RQO33R.cjs.map → chunk-BVG5CL57.cjs.map} +1 -1
- package/dist/{chunk-XUMRUOI4.cjs → chunk-CQGMYZXY.cjs} +11 -5
- package/dist/chunk-CQGMYZXY.cjs.map +1 -0
- package/dist/{chunk-BIJTQG4B.cjs → chunk-DJGW5A5M.cjs} +3 -3
- package/dist/{chunk-BIJTQG4B.cjs.map → chunk-DJGW5A5M.cjs.map} +1 -1
- package/dist/{chunk-WLYJ32M3.cjs → chunk-F74RHLLI.cjs} +10 -10
- package/dist/{chunk-WLYJ32M3.cjs.map → chunk-F74RHLLI.cjs.map} +1 -1
- package/dist/{chunk-CBFB5RHZ.js → chunk-GERXFICX.js} +2 -2
- package/dist/{chunk-QAPCDXK2.cjs → chunk-JJ6BSPT2.cjs} +36 -36
- package/dist/{chunk-QAPCDXK2.cjs.map → chunk-JJ6BSPT2.cjs.map} +1 -1
- package/dist/{chunk-YFFVHU7C.cjs → chunk-JYU5BI5K.cjs} +51 -51
- package/dist/{chunk-YFFVHU7C.cjs.map → chunk-JYU5BI5K.cjs.map} +1 -1
- package/dist/{chunk-6ABNNO67.cjs → chunk-KJT3PIKG.cjs} +3 -3
- package/dist/{chunk-6ABNNO67.cjs.map → chunk-KJT3PIKG.cjs.map} +1 -1
- package/dist/{chunk-5KFR43HW.cjs → chunk-KKQ4O3WM.cjs} +13 -13
- package/dist/{chunk-5KFR43HW.cjs.map → chunk-KKQ4O3WM.cjs.map} +1 -1
- package/dist/{chunk-ZQ2A62FQ.js → chunk-KLLYTCID.js} +2 -2
- package/dist/{chunk-NWJHGRVA.js → chunk-N5OKHZGT.js} +2 -2
- package/dist/{chunk-NOFE35PG.cjs → chunk-NH575UGV.cjs} +4 -4
- package/dist/{chunk-NOFE35PG.cjs.map → chunk-NH575UGV.cjs.map} +1 -1
- package/dist/{chunk-ITOFOALW.js → chunk-P5MIIQHG.js} +11 -5
- package/dist/chunk-P5MIIQHG.js.map +1 -0
- package/dist/{chunk-7BYV2E2N.cjs → chunk-PXKS5Y6K.cjs} +17 -17
- package/dist/{chunk-7BYV2E2N.cjs.map → chunk-PXKS5Y6K.cjs.map} +1 -1
- package/dist/{chunk-YZ5VFLU5.js → chunk-QT6ZS73L.js} +3 -3
- package/dist/{chunk-THVPG7AR.cjs → chunk-RLHFS4GU.cjs} +17 -17
- package/dist/{chunk-THVPG7AR.cjs.map → chunk-RLHFS4GU.cjs.map} +1 -1
- package/dist/{chunk-XYCBACGX.js → chunk-RN2EPTJF.js} +5 -5
- package/dist/{chunk-FZ75FGQP.js → chunk-RVHLFDWH.js} +2 -2
- package/dist/{chunk-OJQFCGK7.cjs → chunk-T2CMORAR.cjs} +4 -4
- package/dist/{chunk-OJQFCGK7.cjs.map → chunk-T2CMORAR.cjs.map} +1 -1
- package/dist/{chunk-WBZ4HP7D.js → chunk-UBH5ONPB.js} +2 -1
- package/dist/{chunk-WBZ4HP7D.js.map → chunk-UBH5ONPB.js.map} +1 -1
- package/dist/{chunk-BRPTCKKT.js → chunk-UYTB2V2G.js} +2 -2
- package/dist/{chunk-3N5OA6G2.js → chunk-V7TVOJBR.js} +2 -2
- package/dist/{chunk-IHS2OB4J.cjs → chunk-YVROSVNU.cjs} +18 -18
- package/dist/{chunk-IHS2OB4J.cjs.map → chunk-YVROSVNU.cjs.map} +1 -1
- package/dist/{chunk-GW6SSWRH.js → chunk-YZL6CLQG.js} +2 -2
- package/dist/{chunk-WAAJE6V4.js → chunk-ZQ7U4YID.js} +5 -5
- package/dist/{chunk-M3AH4S23.js → chunk-ZW4EVXFK.js} +2 -2
- package/dist/components/case-studies/index.cjs +8 -8
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/docs/index.cjs +6 -6
- package/dist/components/docs/index.js +5 -5
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/embeds/index.js +2 -2
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/help-center-pages/index.cjs +22 -22
- package/dist/components/help-center-pages/index.js +13 -13
- package/dist/components/index.cjs +32 -32
- package/dist/components/index.js +13 -13
- package/dist/components/meeting-scheduler/index.cjs +32 -25
- package/dist/components/meeting-scheduler/index.cjs.map +1 -1
- package/dist/components/meeting-scheduler/index.d.ts +10 -24
- package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.js +12 -5
- package/dist/components/meeting-scheduler/index.js.map +1 -1
- package/dist/components/navigation/index.cjs +5 -5
- package/dist/components/navigation/index.js +4 -4
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/related-content/card-registry.d.ts.map +1 -1
- package/dist/components/related-content/index.cjs +2 -2
- package/dist/components/related-content/index.js +1 -1
- package/dist/components/tickets/index.cjs +6 -6
- package/dist/components/tickets/index.js +5 -5
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/components/ui/people-cell.d.ts +8 -1
- package/dist/components/ui/people-cell.d.ts.map +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.js +5 -5
- package/dist/types/case-study.d.ts +4 -0
- package/dist/types/case-study.d.ts.map +1 -1
- package/dist/types/customer-interview.d.ts +5 -2
- package/dist/types/customer-interview.d.ts.map +1 -1
- package/dist/types/video-processing.d.ts +14 -0
- package/dist/types/video-processing.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/meeting-scheduler/index.tsx +26 -29
- package/src/components/related-content/card-registry.tsx +1 -0
- package/src/components/ui/__tests__/people-cell.test.tsx +7 -0
- package/src/components/ui/people-cell.tsx +17 -3
- package/src/types/case-study.ts +4 -0
- package/src/types/customer-interview.ts +5 -0
- package/src/types/video-processing.ts +15 -0
- package/dist/chunk-ITOFOALW.js.map +0 -1
- package/dist/chunk-JONR3BDJ.cjs.map +0 -1
- package/dist/chunk-XUMRUOI4.cjs.map +0 -1
- /package/dist/{chunk-SXYHY7US.js.map → chunk-237XKNIC.js.map} +0 -0
- /package/dist/{chunk-SQVWK5II.js.map → chunk-4RUOZMHB.js.map} +0 -0
- /package/dist/{chunk-TWQM5JOZ.js.map → chunk-BK3OXJRU.js.map} +0 -0
- /package/dist/{chunk-CBFB5RHZ.js.map → chunk-GERXFICX.js.map} +0 -0
- /package/dist/{chunk-ZQ2A62FQ.js.map → chunk-KLLYTCID.js.map} +0 -0
- /package/dist/{chunk-NWJHGRVA.js.map → chunk-N5OKHZGT.js.map} +0 -0
- /package/dist/{chunk-YZ5VFLU5.js.map → chunk-QT6ZS73L.js.map} +0 -0
- /package/dist/{chunk-XYCBACGX.js.map → chunk-RN2EPTJF.js.map} +0 -0
- /package/dist/{chunk-FZ75FGQP.js.map → chunk-RVHLFDWH.js.map} +0 -0
- /package/dist/{chunk-BRPTCKKT.js.map → chunk-UYTB2V2G.js.map} +0 -0
- /package/dist/{chunk-3N5OA6G2.js.map → chunk-V7TVOJBR.js.map} +0 -0
- /package/dist/{chunk-GW6SSWRH.js.map → chunk-YZL6CLQG.js.map} +0 -0
- /package/dist/{chunk-WAAJE6V4.js.map → chunk-ZQ7U4YID.js.map} +0 -0
- /package/dist/{chunk-M3AH4S23.js.map → chunk-ZW4EVXFK.js.map} +0 -0
package/dist/components/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import "../chunk-5I3BSQ6D.js";
|
|
|
4
4
|
import {
|
|
5
5
|
GROUP_PAGE_SIZE,
|
|
6
6
|
RelatedContentSection
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-UBH5ONPB.js";
|
|
8
8
|
import {
|
|
9
9
|
CveLink,
|
|
10
10
|
OnboardingStepCard,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
SoftwareInfo,
|
|
16
16
|
SoftwareSourceBadge,
|
|
17
17
|
ToolBadge
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-UYTB2V2G.js";
|
|
19
19
|
import {
|
|
20
20
|
AppHeader,
|
|
21
21
|
AppLayout,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
SlidingSidebar,
|
|
35
35
|
TicketAlertsButton,
|
|
36
36
|
TopNavigation
|
|
37
|
-
} from "../chunk-
|
|
37
|
+
} from "../chunk-QT6ZS73L.js";
|
|
38
38
|
import {
|
|
39
39
|
DeliveryLists,
|
|
40
40
|
DeliveryTable,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
RoadmapView,
|
|
49
49
|
useLegalDocs,
|
|
50
50
|
useRoadmapVoting
|
|
51
|
-
} from "../chunk-
|
|
51
|
+
} from "../chunk-4RUOZMHB.js";
|
|
52
52
|
import {
|
|
53
53
|
DocNavigationProvider,
|
|
54
54
|
DocViewer,
|
|
@@ -62,12 +62,12 @@ import {
|
|
|
62
62
|
useDocNavigation,
|
|
63
63
|
useDocumentTree,
|
|
64
64
|
useScrollSpy
|
|
65
|
-
} from "../chunk-
|
|
65
|
+
} from "../chunk-ZQ7U4YID.js";
|
|
66
66
|
import {
|
|
67
67
|
FileDownloadCard,
|
|
68
68
|
GoogleSheetsViewer,
|
|
69
69
|
PdfViewer
|
|
70
|
-
} from "../chunk-
|
|
70
|
+
} from "../chunk-GERXFICX.js";
|
|
71
71
|
import {
|
|
72
72
|
PersistentPagination,
|
|
73
73
|
PersistentPaginationWrapper,
|
|
@@ -77,13 +77,13 @@ import {
|
|
|
77
77
|
FaqAccordion,
|
|
78
78
|
FaqDocumentPage,
|
|
79
79
|
FaqSection
|
|
80
|
-
} from "../chunk-
|
|
80
|
+
} from "../chunk-N5OKHZGT.js";
|
|
81
81
|
import {
|
|
82
82
|
MobileNavigationDropdown,
|
|
83
83
|
MultiLevelNavigation,
|
|
84
84
|
StickySectionNav,
|
|
85
85
|
useSectionNavigation
|
|
86
|
-
} from "../chunk-
|
|
86
|
+
} from "../chunk-ZW4EVXFK.js";
|
|
87
87
|
import {
|
|
88
88
|
DeliveryRow,
|
|
89
89
|
DevCardRowContent,
|
|
@@ -92,16 +92,16 @@ import {
|
|
|
92
92
|
DevSectionPage,
|
|
93
93
|
DevSectionView,
|
|
94
94
|
ListEmptyState
|
|
95
|
-
} from "../chunk-
|
|
95
|
+
} from "../chunk-V7TVOJBR.js";
|
|
96
96
|
import {
|
|
97
97
|
EmptyState,
|
|
98
98
|
UnifiedPagination
|
|
99
99
|
} from "../chunk-X3LC6R37.js";
|
|
100
|
-
import "../chunk-
|
|
100
|
+
import "../chunk-YZL6CLQG.js";
|
|
101
101
|
import {
|
|
102
102
|
ArticleAuthorByline,
|
|
103
103
|
DetailPageSkeleton
|
|
104
|
-
} from "../chunk-
|
|
104
|
+
} from "../chunk-KLLYTCID.js";
|
|
105
105
|
import {
|
|
106
106
|
DocSearchBar,
|
|
107
107
|
DocSearchResultRow,
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
mapDocSearchResults,
|
|
110
110
|
resolveSearchResultAction,
|
|
111
111
|
useDocSearch
|
|
112
|
-
} from "../chunk-
|
|
112
|
+
} from "../chunk-RVHLFDWH.js";
|
|
113
113
|
import {
|
|
114
114
|
useSelfFetch
|
|
115
115
|
} from "../chunk-F2KBCLUG.js";
|
|
@@ -622,7 +622,7 @@ import {
|
|
|
622
622
|
useTimeTracker,
|
|
623
623
|
useTrackerClock,
|
|
624
624
|
useWalkthroughVideo
|
|
625
|
-
} from "../chunk-
|
|
625
|
+
} from "../chunk-P5MIIQHG.js";
|
|
626
626
|
import "../chunk-L2SLFCXP.js";
|
|
627
627
|
import "../chunk-BJXDHKUX.js";
|
|
628
628
|
import {
|
|
@@ -24,7 +24,7 @@ var _chunk2MMEPNSXcjs = require('../../chunk-2MMEPNSX.cjs');
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkCQGMYZXYcjs = require('../../chunk-CQGMYZXY.cjs');
|
|
28
28
|
require('../../chunk-GQWM3ECA.cjs');
|
|
29
29
|
require('../../chunk-TON3YCCW.cjs');
|
|
30
30
|
|
|
@@ -254,7 +254,7 @@ function useMeetingBooking(options) {
|
|
|
254
254
|
const seededOffset = _optionalChain([initialAvailability, 'optionalAccess', _3 => _3.meetingId]) === meetingId ? initialAvailability.monthOffset : void 0;
|
|
255
255
|
const [monthOffset, setMonthOffsetState] = _react.useState.call(void 0, _nullishCoalesce(seededOffset, () => ( 0)));
|
|
256
256
|
const setMonthOffset = _react.useCallback.call(void 0, (offset) => {
|
|
257
|
-
setMonthOffsetState(Math.max(0, Math.min(
|
|
257
|
+
setMonthOffsetState(Math.max(0, Math.min(_chunkCQGMYZXYcjs.MAX_MONTH_OFFSET, offset)));
|
|
258
258
|
}, []);
|
|
259
259
|
const prevMeetingIdRef = _react.useRef.call(void 0, meetingId);
|
|
260
260
|
_react.useLayoutEffect.call(void 0, () => {
|
|
@@ -381,7 +381,7 @@ var FIELD_CONTROLS = {
|
|
|
381
381
|
}
|
|
382
382
|
),
|
|
383
383
|
textarea: ({ field, id, registerName, error, register }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
384
|
-
|
|
384
|
+
_chunkCQGMYZXYcjs.Textarea,
|
|
385
385
|
{
|
|
386
386
|
id,
|
|
387
387
|
required: field.required,
|
|
@@ -407,9 +407,9 @@ var FIELD_CONTROLS = {
|
|
|
407
407
|
{
|
|
408
408
|
control,
|
|
409
409
|
name: registerName,
|
|
410
|
-
render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
411
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
412
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
410
|
+
render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCQGMYZXYcjs.Select, { value: _nullishCoalesce(rhf.value, () => ( "")), onValueChange: rhf.onChange, children: [
|
|
411
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCQGMYZXYcjs.SelectTrigger, { id, "aria-required": field.required || void 0, "aria-invalid": Boolean(error), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCQGMYZXYcjs.SelectValue, { placeholder: "Select\u2026" }) }),
|
|
412
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCQGMYZXYcjs.SelectContent, { children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCQGMYZXYcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
413
413
|
] })
|
|
414
414
|
}
|
|
415
415
|
),
|
|
@@ -419,14 +419,14 @@ var FIELD_CONTROLS = {
|
|
|
419
419
|
control,
|
|
420
420
|
name: registerName,
|
|
421
421
|
render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
422
|
-
|
|
422
|
+
_chunkCQGMYZXYcjs.RadioGroup,
|
|
423
423
|
{
|
|
424
424
|
value: _nullishCoalesce(rhf.value, () => ( "")),
|
|
425
425
|
onValueChange: rhf.onChange,
|
|
426
426
|
"aria-required": field.required || void 0,
|
|
427
427
|
"aria-invalid": Boolean(error),
|
|
428
428
|
children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
429
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
429
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCQGMYZXYcjs.RadioGroupItem, { id: `${id}-${opt}`, value: opt }),
|
|
430
430
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Label, { htmlFor: `${id}-${opt}`, children: opt })
|
|
431
431
|
] }, opt))
|
|
432
432
|
}
|
|
@@ -590,8 +590,8 @@ function BookingForm({
|
|
|
590
590
|
children: _nullishCoalesce(submitLabel, () => ( DEFAULT_SUBMIT_LABEL))
|
|
591
591
|
}
|
|
592
592
|
);
|
|
593
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: submit, className: FORM_STACK, noValidate: true, ...
|
|
594
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
593
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: submit, className: FORM_STACK, noValidate: true, ..._chunkCQGMYZXYcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS, children: [
|
|
594
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCQGMYZXYcjs.HoneypotField, { ...honeypotInputProps }),
|
|
595
595
|
fieldRows ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
596
596
|
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("|"))),
|
|
597
597
|
[...unplacedBuiltIns, ...unplacedFields].map((field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: slotNode(field.name) }, field.name))
|
|
@@ -604,7 +604,7 @@ function BookingForm({
|
|
|
604
604
|
supportedFields.map((field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: renderDeclaredField(field) }, field.name))
|
|
605
605
|
] }),
|
|
606
606
|
consent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
607
|
-
|
|
607
|
+
_chunkCQGMYZXYcjs.CheckboxBlock,
|
|
608
608
|
{
|
|
609
609
|
id: "ms-host-consent",
|
|
610
610
|
checked: consented,
|
|
@@ -639,7 +639,7 @@ function BookingForm({
|
|
|
639
639
|
// same block the waitlist form uses): box + label in one
|
|
640
640
|
// bordered row.
|
|
641
641
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
642
|
-
|
|
642
|
+
_chunkCQGMYZXYcjs.CheckboxBlock,
|
|
643
643
|
{
|
|
644
644
|
id: `ms-consent-${box.communicationTypeId}`,
|
|
645
645
|
checked: _nullishCoalesce(_optionalChain([current, 'optionalAccess', _22 => _22.consented]), () => ( false)),
|
|
@@ -755,7 +755,7 @@ function ContextPanelSkeleton({
|
|
|
755
755
|
backLabel = "Back"
|
|
756
756
|
}) {
|
|
757
757
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, PANEL_STACK, className), children: [
|
|
758
|
-
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
758
|
+
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCQGMYZXYcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
|
|
759
759
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_BODY, children: [
|
|
760
760
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: STRIP_MAIN, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: IDENTITY_ROW, children: [
|
|
761
761
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xs)] lg:flex-none", children: [
|
|
@@ -803,7 +803,7 @@ function SchedulerContextPanel({
|
|
|
803
803
|
return zones.map((tz) => ({ value: tz, label: zoneLabel(tz) }));
|
|
804
804
|
}, [timezone]);
|
|
805
805
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, PANEL_STACK, className), children: [
|
|
806
|
-
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
806
|
+
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCQGMYZXYcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
|
|
807
807
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_BODY, children: [
|
|
808
808
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_MAIN, children: [
|
|
809
809
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: IDENTITY_ROW, children: [
|
|
@@ -865,7 +865,7 @@ function SchedulerContextPanel({
|
|
|
865
865
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, STRIP_ASIDE, locked && "max-lg:hidden"), children: [
|
|
866
866
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS, children: "Timezone" }),
|
|
867
867
|
timezone ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
868
|
-
|
|
868
|
+
_chunkCQGMYZXYcjs.Autocomplete,
|
|
869
869
|
{
|
|
870
870
|
value: timezone,
|
|
871
871
|
disabled,
|
|
@@ -952,18 +952,18 @@ var NOOP = () => void 0;
|
|
|
952
952
|
function DayCalendar({ monthOffset, onMonthOffsetChange, selectedDay, onSelectDay, slotsByDay }) {
|
|
953
953
|
const now = /* @__PURE__ */ new Date();
|
|
954
954
|
const startMonth = new Date(now.getFullYear(), now.getMonth(), 1);
|
|
955
|
-
const endMonth = new Date(now.getFullYear(), now.getMonth() +
|
|
955
|
+
const endMonth = new Date(now.getFullYear(), now.getMonth() + _chunkCQGMYZXYcjs.MAX_MONTH_OFFSET + 1, 0);
|
|
956
956
|
const visibleMonth = new Date(now.getFullYear(), now.getMonth() + monthOffset, 1);
|
|
957
957
|
const dayHasNoSlots = _react.useCallback.call(void 0, (day) => !_optionalChain([slotsByDay, 'optionalAccess', _27 => _27.has, 'call', _28 => _28(calendarDayKey(day))]), [slotsByDay]);
|
|
958
958
|
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,
|
|
959
|
-
|
|
959
|
+
_chunkCQGMYZXYcjs.DatePickerCalendar,
|
|
960
960
|
{
|
|
961
961
|
mode: "single",
|
|
962
962
|
bare: true,
|
|
963
963
|
month: visibleMonth,
|
|
964
964
|
onMonthChange: (month) => {
|
|
965
965
|
const offset = (month.getFullYear() - now.getFullYear()) * 12 + (month.getMonth() - now.getMonth());
|
|
966
|
-
onMonthOffsetChange(Math.max(0, Math.min(
|
|
966
|
+
onMonthOffsetChange(Math.max(0, Math.min(_chunkCQGMYZXYcjs.MAX_MONTH_OFFSET, offset)));
|
|
967
967
|
},
|
|
968
968
|
fromDate: startMonth,
|
|
969
969
|
toDate: endMonth,
|
|
@@ -1083,7 +1083,7 @@ function SlotPicker({
|
|
|
1083
1083
|
monthLabelFor(monthOffset),
|
|
1084
1084
|
"."
|
|
1085
1085
|
] }),
|
|
1086
|
-
monthOffset <
|
|
1086
|
+
monthOffset < _chunkCQGMYZXYcjs.MAX_MONTH_OFFSET && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1087
1087
|
_chunkWRJVEB2Jcjs.Button,
|
|
1088
1088
|
{
|
|
1089
1089
|
variant: "outline",
|
|
@@ -1474,10 +1474,17 @@ function HubSpotMeetingScheduler({
|
|
|
1474
1474
|
);
|
|
1475
1475
|
const escapeHatch = fallbackUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", size: "small-legacy", href: fallbackUrl, openInNewTab: true, children: "Open in HubSpot" }) : null;
|
|
1476
1476
|
const backEdge = detailsFirst ? step === "slot" ? backToDetails : onBack : step === "details" ? backToSlot : onBack;
|
|
1477
|
-
const
|
|
1478
|
-
const
|
|
1479
|
-
|
|
1480
|
-
|
|
1477
|
+
const boxed = !formOnly;
|
|
1478
|
+
const cardClass = _chunk23V5BSHDcjs.cn.call(void 0,
|
|
1479
|
+
CARD_CLASS,
|
|
1480
|
+
boxed ? preset.height : "md:h-auto",
|
|
1481
|
+
detailsFirst && "flex flex-col",
|
|
1482
|
+
formOnly && "bg-ods-bg",
|
|
1483
|
+
className
|
|
1484
|
+
);
|
|
1485
|
+
const innerClass = _chunk23V5BSHDcjs.cn.call(void 0, CARD_INNER_CLASS, detailsFirst && boxed && "min-h-0 flex-1");
|
|
1486
|
+
const actionPanelClass = _chunk23V5BSHDcjs.cn.call(void 0, ACTION_PANEL_CLASS, detailsFirst && boxed && "min-h-0 overflow-y-auto");
|
|
1487
|
+
const stepPanelClass = _chunk23V5BSHDcjs.cn.call(void 0, STEP_PANEL_CLASS, detailsFirst && boxed && "min-h-0 overflow-y-auto");
|
|
1481
1488
|
const degraded = (message) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SchedulerDegradedCard, { flow, className, message, action: escapeHatch });
|
|
1482
1489
|
const degradedCard = degraded("We couldn't load available call times. Please try again shortly.");
|
|
1483
1490
|
if (isLoadingAvailability && !availability) {
|
|
@@ -1568,11 +1575,11 @@ function HubSpotMeetingScheduler({
|
|
|
1568
1575
|
)
|
|
1569
1576
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)] md:min-h-0 md:flex-1", children: [
|
|
1570
1577
|
bookingError === "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1571
|
-
|
|
1578
|
+
_chunkCQGMYZXYcjs.Alert,
|
|
1572
1579
|
{
|
|
1573
1580
|
variant: "warning",
|
|
1574
1581
|
className: "mx-[var(--spacing-system-l)] mt-[var(--spacing-system-l)] w-auto lg:m-0 lg:w-full",
|
|
1575
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1582
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCQGMYZXYcjs.AlertDescription, { children: "That time was just taken \u2014 pick another slot below. (If you already submitted, check your email for a confirmation before rebooking.)" })
|
|
1576
1583
|
}
|
|
1577
1584
|
),
|
|
1578
1585
|
timezone && durationMs != null ? (
|