@flamingo-stack/openframe-frontend-core 0.0.575 → 0.0.577-1943.5293.1
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-BGE7CKXC.js → chunk-2YCUEUIZ.js} +8 -8
- package/dist/{chunk-42PQFBUS.js → chunk-4D2BR756.js} +3 -3
- package/dist/{chunk-BTZF3JRS.js → chunk-4KR7JWKB.js} +4 -4
- package/dist/{chunk-7G23ANVM.cjs → chunk-5DPCIIJ7.cjs} +95 -95
- package/dist/{chunk-7G23ANVM.cjs.map → chunk-5DPCIIJ7.cjs.map} +1 -1
- package/dist/{chunk-K3XONUML.cjs → chunk-6FJABKPX.cjs} +11 -11
- package/dist/{chunk-K3XONUML.cjs.map → chunk-6FJABKPX.cjs.map} +1 -1
- package/dist/{chunk-K574Y2QR.cjs → chunk-6GJBSIRU.cjs} +3 -3
- package/dist/{chunk-K574Y2QR.cjs.map → chunk-6GJBSIRU.cjs.map} +1 -1
- package/dist/{chunk-7Z64COGD.cjs → chunk-72OIVRPG.cjs} +7 -7
- package/dist/{chunk-7Z64COGD.cjs.map → chunk-72OIVRPG.cjs.map} +1 -1
- package/dist/{chunk-XC7WPYPJ.cjs → chunk-75X6BRID.cjs} +171 -171
- package/dist/{chunk-XC7WPYPJ.cjs.map → chunk-75X6BRID.cjs.map} +1 -1
- package/dist/{chunk-QF5B6V4L.cjs → chunk-APFGR2KK.cjs} +41 -41
- package/dist/{chunk-QF5B6V4L.cjs.map → chunk-APFGR2KK.cjs.map} +1 -1
- package/dist/{chunk-2EPUD2VR.js → chunk-AQ5MZVYN.js} +3 -3
- package/dist/{chunk-T5DAFFK7.js → chunk-BBZ6NQL2.js} +2 -2
- package/dist/{chunk-IRJQH7RJ.cjs → chunk-CFTZAZ7R.cjs} +28 -28
- package/dist/{chunk-IRJQH7RJ.cjs.map → chunk-CFTZAZ7R.cjs.map} +1 -1
- package/dist/{chunk-UILNZL6J.cjs → chunk-CIUYHBAY.cjs} +5 -5
- package/dist/{chunk-UILNZL6J.cjs.map → chunk-CIUYHBAY.cjs.map} +1 -1
- package/dist/{chunk-QTVW5XBL.cjs → chunk-ET3Q4FIZ.cjs} +12 -12
- package/dist/{chunk-QTVW5XBL.cjs.map → chunk-ET3Q4FIZ.cjs.map} +1 -1
- package/dist/{chunk-IWISKP3F.js → chunk-FCVAVOXS.js} +3 -3
- package/dist/{chunk-PUL6X6HY.cjs → chunk-GDWBJFMG.cjs} +32 -32
- package/dist/{chunk-PUL6X6HY.cjs.map → chunk-GDWBJFMG.cjs.map} +1 -1
- package/dist/{chunk-ZQE7HN4Q.cjs → chunk-GPWU3PPR.cjs} +37 -37
- package/dist/{chunk-ZQE7HN4Q.cjs.map → chunk-GPWU3PPR.cjs.map} +1 -1
- package/dist/{chunk-BGZCZ2JS.cjs → chunk-HSOMYCUG.cjs} +11 -11
- package/dist/{chunk-BGZCZ2JS.cjs.map → chunk-HSOMYCUG.cjs.map} +1 -1
- package/dist/{chunk-DTSRMQIY.js → chunk-IQFXDS5O.js} +9 -9
- package/dist/{chunk-6D4RVZZJ.js → chunk-JCH6HGQD.js} +3 -3
- package/dist/{chunk-SIRFPFBQ.js → chunk-JQI726T3.js} +2 -2
- package/dist/{chunk-QDOBY3TP.cjs → chunk-KE2TCUOH.cjs} +327 -324
- package/dist/chunk-KE2TCUOH.cjs.map +1 -0
- package/dist/{chunk-7GLY26JF.js → chunk-LHR6AA65.js} +33 -6
- package/dist/chunk-LHR6AA65.js.map +1 -0
- package/dist/{chunk-OE7NV7H3.js → chunk-LYOGSVFO.js} +4 -4
- package/dist/{chunk-SPAAKHQA.cjs → chunk-MIY5FYX3.cjs} +8 -8
- package/dist/{chunk-SPAAKHQA.cjs.map → chunk-MIY5FYX3.cjs.map} +1 -1
- package/dist/{chunk-UPEIX7VG.js → chunk-NEKT67O5.js} +6 -6
- package/dist/{chunk-PBS4F534.js → chunk-NP3XN6ZX.js} +8 -5
- package/dist/chunk-NP3XN6ZX.js.map +1 -0
- package/dist/{chunk-3IUQLB47.cjs → chunk-NQCGDZJ3.cjs} +3 -3
- package/dist/{chunk-3IUQLB47.cjs.map → chunk-NQCGDZJ3.cjs.map} +1 -1
- package/dist/{chunk-BKXL7OYT.cjs → chunk-RCLJSENK.cjs} +6 -6
- package/dist/{chunk-BKXL7OYT.cjs.map → chunk-RCLJSENK.cjs.map} +1 -1
- package/dist/{chunk-WVKRSC65.js → chunk-RNUH5IHZ.js} +3 -3
- package/dist/{chunk-2IK6SB6F.js → chunk-RSMUAAPW.js} +4 -4
- package/dist/{chunk-KSKCQ3ZN.js → chunk-RUJKOU5F.js} +2 -2
- package/dist/{chunk-VIAZWBZ2.cjs → chunk-S4CLML75.cjs} +7 -7
- package/dist/{chunk-VIAZWBZ2.cjs.map → chunk-S4CLML75.cjs.map} +1 -1
- package/dist/{chunk-WAWMZSCP.js → chunk-THDGDYJ3.js} +6 -6
- package/dist/{chunk-KG7D35RU.js → chunk-TU32TSAK.js} +5 -5
- package/dist/{chunk-5QDGP3RI.js → chunk-U3SDSA5K.js} +5 -5
- package/dist/{chunk-SVUZUFT4.cjs → chunk-WOHHZZJK.cjs} +65 -65
- package/dist/{chunk-SVUZUFT4.cjs.map → chunk-WOHHZZJK.cjs.map} +1 -1
- package/dist/{chunk-3U2P63NQ.cjs → chunk-XBBCUC32.cjs} +15 -15
- package/dist/{chunk-3U2P63NQ.cjs.map → chunk-XBBCUC32.cjs.map} +1 -1
- package/dist/{chunk-GFSJXRX7.cjs → chunk-XBSW7IF6.cjs} +23 -23
- package/dist/{chunk-GFSJXRX7.cjs.map → chunk-XBSW7IF6.cjs.map} +1 -1
- package/dist/{chunk-RXJZXMDZ.cjs → chunk-XG2WNF4L.cjs} +26 -26
- package/dist/{chunk-RXJZXMDZ.cjs.map → chunk-XG2WNF4L.cjs.map} +1 -1
- package/dist/{chunk-S6LZN66D.cjs → chunk-YHNIPSG6.cjs} +33 -6
- package/dist/chunk-YHNIPSG6.cjs.map +1 -0
- package/dist/{chunk-5DRCLGOX.js → chunk-YLNZPFDW.js} +2 -2
- package/dist/{chunk-QQ5ZVCD4.js → chunk-Z2FZ5HP2.js} +3 -3
- package/dist/{chunk-ISULYCGY.js → chunk-ZBJ6XSDO.js} +4 -4
- package/dist/components/calendar.cjs +4 -4
- package/dist/components/calendar.js +1 -1
- package/dist/components/case-studies/index.cjs +12 -12
- package/dist/components/case-studies/index.js +6 -6
- package/dist/components/chart.d.ts +18 -3
- package/dist/components/chart.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +4 -4
- package/dist/components/chat/index.js +3 -3
- package/dist/components/contact/index.cjs +7 -7
- package/dist/components/contact/index.js +6 -6
- package/dist/components/docs/index.cjs +10 -10
- package/dist/components/docs/index.js +9 -9
- package/dist/components/embeds/index.cjs +7 -7
- package/dist/components/embeds/index.js +6 -6
- package/dist/components/faq/index.cjs +7 -7
- package/dist/components/faq/index.js +6 -6
- package/dist/components/features/index.cjs +6 -6
- package/dist/components/features/index.js +5 -5
- package/dist/components/help-center-pages/index.cjs +28 -28
- package/dist/components/help-center-pages/index.js +19 -19
- package/dist/components/index.cjs +153 -153
- package/dist/components/index.js +19 -19
- package/dist/components/meeting-scheduler/index.cjs +52 -48
- package/dist/components/meeting-scheduler/index.cjs.map +1 -1
- package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.js +17 -13
- package/dist/components/meeting-scheduler/index.js.map +1 -1
- package/dist/components/navigation/index.cjs +9 -9
- package/dist/components/navigation/index.js +8 -8
- package/dist/components/onboarding-guides/index.cjs +9 -9
- package/dist/components/onboarding-guides/index.js +8 -8
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/related-content/index.js +4 -4
- package/dist/components/tickets/index.cjs +11 -11
- package/dist/components/tickets/index.js +10 -10
- package/dist/components/ui/button/button-styles.d.ts +4 -0
- package/dist/components/ui/button/button-styles.d.ts.map +1 -1
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/dropdown-button.d.ts +9 -1
- package/dist/components/ui/dropdown-button.d.ts.map +1 -1
- package/dist/components/ui/file-manager/index.cjs +11 -11
- package/dist/components/ui/file-manager/index.js +1 -1
- package/dist/components/ui/index.cjs +6 -6
- package/dist/components/ui/index.js +5 -5
- package/dist/index.cjs +10 -10
- package/dist/index.js +9 -9
- package/package.json +1 -1
- package/src/components/chart.tsx +21 -3
- package/src/components/meeting-scheduler/index.tsx +16 -14
- package/src/components/ui/button/button-styles.ts +14 -0
- package/src/components/ui/button/button.tsx +24 -5
- package/src/components/ui/dropdown-button.tsx +11 -0
- package/dist/chunk-7GLY26JF.js.map +0 -1
- package/dist/chunk-PBS4F534.js.map +0 -1
- package/dist/chunk-QDOBY3TP.cjs.map +0 -1
- package/dist/chunk-S6LZN66D.cjs.map +0 -1
- /package/dist/{chunk-BGE7CKXC.js.map → chunk-2YCUEUIZ.js.map} +0 -0
- /package/dist/{chunk-42PQFBUS.js.map → chunk-4D2BR756.js.map} +0 -0
- /package/dist/{chunk-BTZF3JRS.js.map → chunk-4KR7JWKB.js.map} +0 -0
- /package/dist/{chunk-2EPUD2VR.js.map → chunk-AQ5MZVYN.js.map} +0 -0
- /package/dist/{chunk-T5DAFFK7.js.map → chunk-BBZ6NQL2.js.map} +0 -0
- /package/dist/{chunk-IWISKP3F.js.map → chunk-FCVAVOXS.js.map} +0 -0
- /package/dist/{chunk-DTSRMQIY.js.map → chunk-IQFXDS5O.js.map} +0 -0
- /package/dist/{chunk-6D4RVZZJ.js.map → chunk-JCH6HGQD.js.map} +0 -0
- /package/dist/{chunk-SIRFPFBQ.js.map → chunk-JQI726T3.js.map} +0 -0
- /package/dist/{chunk-OE7NV7H3.js.map → chunk-LYOGSVFO.js.map} +0 -0
- /package/dist/{chunk-UPEIX7VG.js.map → chunk-NEKT67O5.js.map} +0 -0
- /package/dist/{chunk-WVKRSC65.js.map → chunk-RNUH5IHZ.js.map} +0 -0
- /package/dist/{chunk-2IK6SB6F.js.map → chunk-RSMUAAPW.js.map} +0 -0
- /package/dist/{chunk-KSKCQ3ZN.js.map → chunk-RUJKOU5F.js.map} +0 -0
- /package/dist/{chunk-WAWMZSCP.js.map → chunk-THDGDYJ3.js.map} +0 -0
- /package/dist/{chunk-KG7D35RU.js.map → chunk-TU32TSAK.js.map} +0 -0
- /package/dist/{chunk-5QDGP3RI.js.map → chunk-U3SDSA5K.js.map} +0 -0
- /package/dist/{chunk-5DRCLGOX.js.map → chunk-YLNZPFDW.js.map} +0 -0
- /package/dist/{chunk-QQ5ZVCD4.js.map → chunk-Z2FZ5HP2.js.map} +0 -0
- /package/dist/{chunk-ISULYCGY.js.map → chunk-ZBJ6XSDO.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-JCH6HGQD.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-U3SDSA5K.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-THDGDYJ3.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-2YCUEUIZ.js";
|
|
52
52
|
import {
|
|
53
53
|
AnnouncementBarSkeleton,
|
|
54
54
|
ArticleLayoutSkeleton,
|
|
@@ -81,28 +81,28 @@ import {
|
|
|
81
81
|
useDocNavigation,
|
|
82
82
|
useDocumentTree,
|
|
83
83
|
useScrollSpy
|
|
84
|
-
} from "../chunk-
|
|
84
|
+
} from "../chunk-TU32TSAK.js";
|
|
85
85
|
import {
|
|
86
86
|
FileDownloadCard,
|
|
87
87
|
GoogleSheetsViewer,
|
|
88
88
|
PdfViewer
|
|
89
|
-
} from "../chunk-
|
|
89
|
+
} from "../chunk-ZBJ6XSDO.js";
|
|
90
90
|
import {
|
|
91
91
|
PersistentPagination,
|
|
92
92
|
PersistentPaginationWrapper,
|
|
93
93
|
usePaginationLoading
|
|
94
|
-
} from "../chunk-
|
|
94
|
+
} from "../chunk-YLNZPFDW.js";
|
|
95
95
|
import {
|
|
96
96
|
FaqAccordion,
|
|
97
97
|
FaqDocumentPage,
|
|
98
98
|
FaqSection
|
|
99
|
-
} from "../chunk-
|
|
99
|
+
} from "../chunk-LYOGSVFO.js";
|
|
100
100
|
import {
|
|
101
101
|
MobileNavigationDropdown,
|
|
102
102
|
MultiLevelNavigation,
|
|
103
103
|
StickySectionNav,
|
|
104
104
|
useSectionNavigation
|
|
105
|
-
} from "../chunk-
|
|
105
|
+
} from "../chunk-RUJKOU5F.js";
|
|
106
106
|
import {
|
|
107
107
|
DeliveryRow,
|
|
108
108
|
DevCardRowContent,
|
|
@@ -110,16 +110,16 @@ import {
|
|
|
110
110
|
DevCardRowSkeletonList,
|
|
111
111
|
DevSectionPage,
|
|
112
112
|
DevSectionView
|
|
113
|
-
} from "../chunk-
|
|
113
|
+
} from "../chunk-RNUH5IHZ.js";
|
|
114
114
|
import {
|
|
115
115
|
EmptyState,
|
|
116
116
|
UnifiedPagination
|
|
117
|
-
} from "../chunk-
|
|
118
|
-
import "../chunk-
|
|
117
|
+
} from "../chunk-Z2FZ5HP2.js";
|
|
118
|
+
import "../chunk-FCVAVOXS.js";
|
|
119
119
|
import {
|
|
120
120
|
ArticleAuthorByline,
|
|
121
121
|
DetailPageSkeleton
|
|
122
|
-
} from "../chunk-
|
|
122
|
+
} from "../chunk-AQ5MZVYN.js";
|
|
123
123
|
import {
|
|
124
124
|
DocSearchBar,
|
|
125
125
|
DocSearchResultRow,
|
|
@@ -127,7 +127,7 @@ import {
|
|
|
127
127
|
mapDocSearchResults,
|
|
128
128
|
resolveSearchResultAction,
|
|
129
129
|
useDocSearch
|
|
130
|
-
} from "../chunk-
|
|
130
|
+
} from "../chunk-4KR7JWKB.js";
|
|
131
131
|
import {
|
|
132
132
|
useSelfFetch
|
|
133
133
|
} from "../chunk-UC5RXT3O.js";
|
|
@@ -576,7 +576,7 @@ import {
|
|
|
576
576
|
useTimeTracker,
|
|
577
577
|
useTrackerClock,
|
|
578
578
|
useWalkthroughVideo
|
|
579
|
-
} from "../chunk-
|
|
579
|
+
} from "../chunk-NP3XN6ZX.js";
|
|
580
580
|
import "../chunk-L2SLFCXP.js";
|
|
581
581
|
import "../chunk-BJXDHKUX.js";
|
|
582
582
|
import {
|
|
@@ -602,7 +602,7 @@ import {
|
|
|
602
602
|
PaginationLink,
|
|
603
603
|
PaginationNext,
|
|
604
604
|
PaginationPrevious
|
|
605
|
-
} from "../chunk-
|
|
605
|
+
} from "../chunk-BBZ6NQL2.js";
|
|
606
606
|
import "../chunk-E4NCHSOE.js";
|
|
607
607
|
import {
|
|
608
608
|
Checkbox,
|
|
@@ -943,7 +943,7 @@ import {
|
|
|
943
943
|
useVideoOriginPreconnect,
|
|
944
944
|
useVideoWarmup,
|
|
945
945
|
usesCanonicalStatusStyle
|
|
946
|
-
} from "../chunk-
|
|
946
|
+
} from "../chunk-4D2BR756.js";
|
|
947
947
|
import {
|
|
948
948
|
scrollElementIntoView
|
|
949
949
|
} from "../chunk-W6JA6SFD.js";
|
|
@@ -1196,7 +1196,7 @@ import {
|
|
|
1196
1196
|
transformPodcastToProgram,
|
|
1197
1197
|
transformWebinarToProgram,
|
|
1198
1198
|
useCoverImageFallback
|
|
1199
|
-
} from "../chunk-
|
|
1199
|
+
} from "../chunk-JQI726T3.js";
|
|
1200
1200
|
import {
|
|
1201
1201
|
next_image_default
|
|
1202
1202
|
} from "../chunk-MDKCTSDS.js";
|
|
@@ -1245,7 +1245,7 @@ import {
|
|
|
1245
1245
|
Button,
|
|
1246
1246
|
SplitButton,
|
|
1247
1247
|
buttonVariants
|
|
1248
|
-
} from "../chunk-
|
|
1248
|
+
} from "../chunk-LHR6AA65.js";
|
|
1249
1249
|
import {
|
|
1250
1250
|
next_link_default
|
|
1251
1251
|
} from "../chunk-BTROSBHF.js";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk6GJBSIRUcjs = require('../../chunk-6GJBSIRU.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkS4CLML75cjs = require('../../chunk-S4CLML75.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -22,14 +22,15 @@ var _chunkVIAZWBZ2cjs = require('../../chunk-VIAZWBZ2.cjs');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkKE2TCUOHcjs = require('../../chunk-KE2TCUOH.cjs');
|
|
26
26
|
require('../../chunk-GQWM3ECA.cjs');
|
|
27
27
|
require('../../chunk-TON3YCCW.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
|
+
|
|
30
31
|
var _chunk2BFZHTSDcjs = require('../../chunk-2BFZHTSD.cjs');
|
|
31
32
|
require('../../chunk-D55IENZJ.cjs');
|
|
32
|
-
require('../../chunk-
|
|
33
|
+
require('../../chunk-72OIVRPG.cjs');
|
|
33
34
|
|
|
34
35
|
|
|
35
36
|
var _chunkTRC37VRCcjs = require('../../chunk-TRC37VRC.cjs');
|
|
@@ -40,7 +41,7 @@ var _chunkTRC37VRCcjs = require('../../chunk-TRC37VRC.cjs');
|
|
|
40
41
|
var _chunkQYQXAXVRcjs = require('../../chunk-QYQXAXVR.cjs');
|
|
41
42
|
|
|
42
43
|
|
|
43
|
-
var
|
|
44
|
+
var _chunk75X6BRIDcjs = require('../../chunk-75X6BRID.cjs');
|
|
44
45
|
require('../../chunk-36NFJULV.cjs');
|
|
45
46
|
require('../../chunk-SADRZ4YI.cjs');
|
|
46
47
|
require('../../chunk-KZAAIUP5.cjs');
|
|
@@ -51,7 +52,7 @@ require('../../chunk-XQFFGR6U.cjs');
|
|
|
51
52
|
|
|
52
53
|
|
|
53
54
|
|
|
54
|
-
var
|
|
55
|
+
var _chunkMIY5FYX3cjs = require('../../chunk-MIY5FYX3.cjs');
|
|
55
56
|
require('../../chunk-WLSFBRT5.cjs');
|
|
56
57
|
require('../../chunk-CP6TIRON.cjs');
|
|
57
58
|
require('../../chunk-63QUMV72.cjs');
|
|
@@ -63,7 +64,7 @@ var _chunk3QDJLLD2cjs = require('../../chunk-3QDJLLD2.cjs');
|
|
|
63
64
|
require('../../chunk-WZW7C7TF.cjs');
|
|
64
65
|
|
|
65
66
|
|
|
66
|
-
var
|
|
67
|
+
var _chunkYHNIPSG6cjs = require('../../chunk-YHNIPSG6.cjs');
|
|
67
68
|
|
|
68
69
|
|
|
69
70
|
var _chunkFCUTPPX5cjs = require('../../chunk-FCUTPPX5.cjs');
|
|
@@ -187,7 +188,7 @@ function useMeetingBooking(options) {
|
|
|
187
188
|
const seededOffset = _optionalChain([initialAvailability, 'optionalAccess', _3 => _3.meetingId]) === meetingId ? initialAvailability.monthOffset : void 0;
|
|
188
189
|
const [monthOffset, setMonthOffsetState] = _react.useState.call(void 0, _nullishCoalesce(seededOffset, () => ( 0)));
|
|
189
190
|
const setMonthOffset = _react.useCallback.call(void 0, (offset) => {
|
|
190
|
-
setMonthOffsetState(Math.max(0, Math.min(
|
|
191
|
+
setMonthOffsetState(Math.max(0, Math.min(_chunkKE2TCUOHcjs.MAX_MONTH_OFFSET, offset)));
|
|
191
192
|
}, []);
|
|
192
193
|
const prevMeetingIdRef = _react.useRef.call(void 0, meetingId);
|
|
193
194
|
_react.useLayoutEffect.call(void 0, () => {
|
|
@@ -316,7 +317,7 @@ function BookingForm({
|
|
|
316
317
|
const inputClass = "bg-ods-card border-ods-border text-ods-text-primary placeholder-ods-text-secondary px-3 h-11 md:h-12";
|
|
317
318
|
const FORM_STACK = "flex flex-col gap-[var(--spacing-system-l)]";
|
|
318
319
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: submit, className: FORM_STACK, noValidate: true, children: [
|
|
319
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
320
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKE2TCUOHcjs.HoneypotField, { ...honeypotInputProps }),
|
|
320
321
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQYQXAXVRcjs.FieldWrapper, { label: "Email", htmlFor: "ms-email", error: _optionalChain([errors, 'access', _9 => _9.email, 'optionalAccess', _10 => _10.message]), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
321
322
|
_chunkQYQXAXVRcjs.Input,
|
|
322
323
|
{
|
|
@@ -364,7 +365,7 @@ function BookingForm({
|
|
|
364
365
|
error: fieldError(field.name),
|
|
365
366
|
children: [
|
|
366
367
|
field.type === "textarea" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
367
|
-
|
|
368
|
+
_chunkKE2TCUOHcjs.Textarea,
|
|
368
369
|
{
|
|
369
370
|
id: `ms-q-${field.name}`,
|
|
370
371
|
className: "border-ods-border bg-ods-card px-3 text-ods-text-primary placeholder-ods-text-secondary",
|
|
@@ -384,11 +385,11 @@ function BookingForm({
|
|
|
384
385
|
{
|
|
385
386
|
control,
|
|
386
387
|
name: `formFields.${field.name}`,
|
|
387
|
-
render: ({ field: rhf }) => field.type === "select" ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
388
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
389
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
390
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
391
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
388
|
+
render: ({ field: rhf }) => field.type === "select" ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkKE2TCUOHcjs.Select, { value: _nullishCoalesce(rhf.value, () => ( "")), onValueChange: rhf.onChange, children: [
|
|
389
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKE2TCUOHcjs.SelectTrigger, { id: `ms-q-${field.name}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKE2TCUOHcjs.SelectValue, { placeholder: "Select\u2026" }) }),
|
|
390
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKE2TCUOHcjs.SelectContent, { children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKE2TCUOHcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
391
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKE2TCUOHcjs.RadioGroup, { value: _nullishCoalesce(rhf.value, () => ( "")), onValueChange: rhf.onChange, children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
392
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKE2TCUOHcjs.RadioGroupItem, { id: `ms-q-${field.name}-${opt}`, value: opt }),
|
|
392
393
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3QDJLLD2cjs.Label, { htmlFor: `ms-q-${field.name}-${opt}`, children: opt })
|
|
393
394
|
] }, opt)) })
|
|
394
395
|
}
|
|
@@ -452,7 +453,7 @@ function BookingForm({
|
|
|
452
453
|
),
|
|
453
454
|
legalConsent.privacyPolicyText && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: legalConsent.privacyPolicyText })
|
|
454
455
|
] }) }),
|
|
455
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
456
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYHNIPSG6cjs.Button, { type: "submit", loading: isSubmitting, disabled: isSubmitting, children: "Confirm Booking" }) })
|
|
456
457
|
] });
|
|
457
458
|
}
|
|
458
459
|
|
|
@@ -475,7 +476,7 @@ function Confirmation({ confirmation, timezone }) {
|
|
|
475
476
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: [
|
|
476
477
|
when,
|
|
477
478
|
" \xB7 ",
|
|
478
|
-
|
|
479
|
+
_chunkMIY5FYX3cjs.formatDurationCompact.call(void 0, confirmation.durationMs / 1e3)
|
|
479
480
|
] }),
|
|
480
481
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "A calendar invite is on its way to your email." })
|
|
481
482
|
] });
|
|
@@ -509,7 +510,7 @@ function ContextPanelSkeleton({
|
|
|
509
510
|
backLabel = "Back"
|
|
510
511
|
}) {
|
|
511
512
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkPRPZBXWZcjs.cn.call(void 0, PANEL_STACK, className), children: [
|
|
512
|
-
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
513
|
+
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKE2TCUOHcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
|
|
513
514
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_BODY, children: [
|
|
514
515
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: STRIP_MAIN, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: IDENTITY_ROW, children: [
|
|
515
516
|
/* @__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: [
|
|
@@ -556,13 +557,13 @@ function SchedulerContextPanel({
|
|
|
556
557
|
return zones.map((tz) => ({ value: tz, label: zoneLabel(tz) }));
|
|
557
558
|
}, [timezone]);
|
|
558
559
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkPRPZBXWZcjs.cn.call(void 0, PANEL_STACK, className), children: [
|
|
559
|
-
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
560
|
+
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKE2TCUOHcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
|
|
560
561
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_BODY, children: [
|
|
561
562
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_MAIN, children: [
|
|
562
563
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: IDENTITY_ROW, children: [
|
|
563
564
|
hosts.length > 0 && hosts.length <= 3 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-s)]", children: hosts.map((host) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
564
565
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
565
|
-
|
|
566
|
+
_chunkMIY5FYX3cjs.SquareAvatar,
|
|
566
567
|
{
|
|
567
568
|
variant: "round",
|
|
568
569
|
size: "sm",
|
|
@@ -577,7 +578,7 @@ function SchedulerContextPanel({
|
|
|
577
578
|
] })
|
|
578
579
|
] }, host.name)) }),
|
|
579
580
|
hosts.length > 3 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
580
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
581
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMIY5FYX3cjs.AvatarStack, { people: hosts, max: 4, size: "lg" }),
|
|
581
582
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: [
|
|
582
583
|
hosts.length,
|
|
583
584
|
" hosts on this calendar"
|
|
@@ -587,7 +588,7 @@ function SchedulerContextPanel({
|
|
|
587
588
|
// Post-selection, or a link that offers one length: a static line,
|
|
588
589
|
// which is what sits beside the host on the header-strip layouts.
|
|
589
590
|
selectedDurationMs != null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "shrink-0 text-ods-text-secondary text-h6", children: [
|
|
590
|
-
|
|
591
|
+
_chunkMIY5FYX3cjs.formatDurationCompact.call(void 0, selectedDurationMs / 1e3),
|
|
591
592
|
" call"
|
|
592
593
|
] })
|
|
593
594
|
) : null
|
|
@@ -597,12 +598,12 @@ function SchedulerContextPanel({
|
|
|
597
598
|
!locked && durationsMs.length > 1 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
598
599
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS, children: "Duration" }),
|
|
599
600
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-[var(--spacing-system-xs)]", children: durationsMs.map((ms) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
600
|
-
|
|
601
|
+
_chunkYHNIPSG6cjs.Button,
|
|
601
602
|
{
|
|
602
603
|
variant: selectedDurationMs === ms ? void 0 : "outline",
|
|
603
604
|
size: "small-legacy",
|
|
604
605
|
onClick: () => onSelectDuration(ms),
|
|
605
|
-
children:
|
|
606
|
+
children: _chunkMIY5FYX3cjs.formatDurationCompact.call(void 0, ms / 1e3)
|
|
606
607
|
},
|
|
607
608
|
ms
|
|
608
609
|
)) })
|
|
@@ -617,7 +618,7 @@ function SchedulerContextPanel({
|
|
|
617
618
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkPRPZBXWZcjs.cn.call(void 0, STRIP_ASIDE, locked && "max-lg:hidden"), children: [
|
|
618
619
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS, children: "Timezone" }),
|
|
619
620
|
timezone ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
620
|
-
|
|
621
|
+
_chunkKE2TCUOHcjs.Autocomplete,
|
|
621
622
|
{
|
|
622
623
|
value: timezone,
|
|
623
624
|
onChange: (tz) => {
|
|
@@ -703,18 +704,18 @@ var NOOP = () => void 0;
|
|
|
703
704
|
function DayCalendar({ monthOffset, onMonthOffsetChange, selectedDay, onSelectDay, slotsByDay }) {
|
|
704
705
|
const now = /* @__PURE__ */ new Date();
|
|
705
706
|
const startMonth = new Date(now.getFullYear(), now.getMonth(), 1);
|
|
706
|
-
const endMonth = new Date(now.getFullYear(), now.getMonth() +
|
|
707
|
+
const endMonth = new Date(now.getFullYear(), now.getMonth() + _chunkKE2TCUOHcjs.MAX_MONTH_OFFSET + 1, 0);
|
|
707
708
|
const visibleMonth = new Date(now.getFullYear(), now.getMonth() + monthOffset, 1);
|
|
708
709
|
const dayHasNoSlots = _react.useCallback.call(void 0, (day) => !_optionalChain([slotsByDay, 'optionalAccess', _22 => _22.has, 'call', _23 => _23(calendarDayKey(day))]), [slotsByDay]);
|
|
709
710
|
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,
|
|
710
|
-
|
|
711
|
+
_chunkKE2TCUOHcjs.DatePickerCalendar,
|
|
711
712
|
{
|
|
712
713
|
mode: "single",
|
|
713
714
|
bare: true,
|
|
714
715
|
month: visibleMonth,
|
|
715
716
|
onMonthChange: (month) => {
|
|
716
717
|
const offset = (month.getFullYear() - now.getFullYear()) * 12 + (month.getMonth() - now.getMonth());
|
|
717
|
-
onMonthOffsetChange(Math.max(0, Math.min(
|
|
718
|
+
onMonthOffsetChange(Math.max(0, Math.min(_chunkKE2TCUOHcjs.MAX_MONTH_OFFSET, offset)));
|
|
718
719
|
},
|
|
719
720
|
fromDate: startMonth,
|
|
720
721
|
toDate: endMonth,
|
|
@@ -808,7 +809,7 @@ function SlotPicker({
|
|
|
808
809
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CHIP_GRID_CLASS, children: daySlots.map((ms) => {
|
|
809
810
|
const isSelected = selectedSlot === ms;
|
|
810
811
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
811
|
-
|
|
812
|
+
_chunkYHNIPSG6cjs.Button,
|
|
812
813
|
{
|
|
813
814
|
variant: isSelected ? void 0 : "outline",
|
|
814
815
|
onClick: () => onSelectSlot(ms),
|
|
@@ -828,8 +829,8 @@ function SlotPicker({
|
|
|
828
829
|
monthLabelFor(monthOffset),
|
|
829
830
|
"."
|
|
830
831
|
] }),
|
|
831
|
-
monthOffset <
|
|
832
|
-
|
|
832
|
+
monthOffset < _chunkKE2TCUOHcjs.MAX_MONTH_OFFSET && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
833
|
+
_chunkYHNIPSG6cjs.Button,
|
|
833
834
|
{
|
|
834
835
|
variant: "outline",
|
|
835
836
|
onClick: () => onMonthOffsetChange(monthOffset + 1),
|
|
@@ -850,7 +851,7 @@ function SlotPicker({
|
|
|
850
851
|
|
|
851
852
|
|
|
852
853
|
function useNextAvailableLabel(ms) {
|
|
853
|
-
const hydrated =
|
|
854
|
+
const hydrated = _chunk75X6BRIDcjs.useIsHydrated.call(void 0, );
|
|
854
855
|
return _react.useMemo.call(void 0, () => {
|
|
855
856
|
if (!hydrated || ms == null) return null;
|
|
856
857
|
try {
|
|
@@ -874,7 +875,7 @@ function DirectoryRow({
|
|
|
874
875
|
const nextLabel = useNextAvailableLabel(link.nextAvailableMs);
|
|
875
876
|
const subtitle = [
|
|
876
877
|
link.description,
|
|
877
|
-
link.durationsMinutes.length > 0 ? link.durationsMinutes.map((m) =>
|
|
878
|
+
link.durationsMinutes.length > 0 ? link.durationsMinutes.map((m) => _chunkMIY5FYX3cjs.formatDurationCompact.call(void 0, m * 60)).join(" / ") : null,
|
|
878
879
|
link.kind === "team" ? "Team" : null
|
|
879
880
|
].filter(Boolean).join(" \u2022 ");
|
|
880
881
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -888,8 +889,8 @@ function DirectoryRow({
|
|
|
888
889
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h3", children: link.title }),
|
|
889
890
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: subtitle })
|
|
890
891
|
] }),
|
|
891
|
-
audienceLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
892
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
892
|
+
audienceLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMIY5FYX3cjs.StatusBadge, { text: `For ${audienceLabel}`, singleLine: true, className: "hidden shrink-0 sm:inline-flex" }),
|
|
893
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMIY5FYX3cjs.AvatarStack, { people: link.hosts, max: 3, size: "md", className: "flex shrink-0" }),
|
|
893
894
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "hidden w-44 shrink-0 flex-col items-end justify-center md:flex", children: [
|
|
894
895
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "Next available" }),
|
|
895
896
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-h-5 text-ods-text-primary text-h6", children: link.nextAvailableMs == null ? "No times published" : _nullishCoalesce(nextLabel, () => ( " ")) })
|
|
@@ -969,7 +970,7 @@ function MeetingSchedulerDirectory({
|
|
|
969
970
|
}
|
|
970
971
|
if (error) {
|
|
971
972
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkPRPZBXWZcjs.cn.call(void 0, "flex flex-col justify-center", className), style: { minHeight: rowsMinHeight + 104 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
972
|
-
|
|
973
|
+
_chunkS4CLML75cjs.EmptyState,
|
|
973
974
|
{
|
|
974
975
|
type: "generic",
|
|
975
976
|
title: "We couldn't load available call times",
|
|
@@ -980,7 +981,7 @@ function MeetingSchedulerDirectory({
|
|
|
980
981
|
}
|
|
981
982
|
if (rows.length === 0) {
|
|
982
983
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkPRPZBXWZcjs.cn.call(void 0, "flex flex-col justify-center", className), style: { minHeight: rowsMinHeight + 104 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
983
|
-
|
|
984
|
+
_chunkS4CLML75cjs.EmptyState,
|
|
984
985
|
{
|
|
985
986
|
type: "generic",
|
|
986
987
|
title: "No call times are published right now",
|
|
@@ -992,7 +993,7 @@ function MeetingSchedulerDirectory({
|
|
|
992
993
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkPRPZBXWZcjs.cn.call(void 0, "flex flex-col", className), children: [
|
|
993
994
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col gap-4", style: { minHeight: rowsMinHeight }, children: pageRows.map(({ link, audienceLabel }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DirectoryRow, { link, audienceLabel, bookingBasePath }, link.id)) }),
|
|
994
995
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkPRPZBXWZcjs.cn.call(void 0, "mt-8 flex w-full items-center justify-center", PAGINATION_SLOT_H), children: totalPages > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
995
|
-
|
|
996
|
+
_chunk6GJBSIRUcjs.PersistentPaginationWrapper,
|
|
996
997
|
{
|
|
997
998
|
isLoading,
|
|
998
999
|
currentPage: page,
|
|
@@ -1061,7 +1062,7 @@ function HubSpotMeetingScheduler({
|
|
|
1061
1062
|
book,
|
|
1062
1063
|
isSubmitting
|
|
1063
1064
|
} = useMeetingBooking({ meetingId, apiBaseUrl, initialAvailability });
|
|
1064
|
-
const hydrated =
|
|
1065
|
+
const hydrated = _chunk75X6BRIDcjs.useIsHydrated.call(void 0, );
|
|
1065
1066
|
const [pickedTimezone, setTimezone] = _react.useState.call(void 0, null);
|
|
1066
1067
|
const resolvedLocalTimezone = _react.useMemo.call(void 0, () => {
|
|
1067
1068
|
if (!hydrated) return null;
|
|
@@ -1079,6 +1080,7 @@ function HubSpotMeetingScheduler({
|
|
|
1079
1080
|
const [confirmation, setConfirmation] = _react.useState.call(void 0, null);
|
|
1080
1081
|
const [bookingError, setBookingError] = _react.useState.call(void 0, null);
|
|
1081
1082
|
const { honeypotInputProps, getSignals, resetSignals } = _chunk2BFZHTSDcjs.useHumanitySignals.call(void 0, );
|
|
1083
|
+
const { toast } = _chunk2BFZHTSDcjs.useToast.call(void 0, );
|
|
1082
1084
|
const autoAdvanceCount = _react.useRef.call(void 0, 0);
|
|
1083
1085
|
const [machineFor, setMachineFor] = _react.useState.call(void 0, meetingId);
|
|
1084
1086
|
if (machineFor !== meetingId) {
|
|
@@ -1140,11 +1142,17 @@ function HubSpotMeetingScheduler({
|
|
|
1140
1142
|
setStep("slot");
|
|
1141
1143
|
resetSignals();
|
|
1142
1144
|
void refetchAvailability();
|
|
1145
|
+
} else {
|
|
1146
|
+
toast({
|
|
1147
|
+
variant: "error",
|
|
1148
|
+
title: "Booking failed",
|
|
1149
|
+
description: _nullishCoalesce(BOOKING_ERROR_COPY[code], () => ( BOOKING_ERROR_COPY.VALIDATION))
|
|
1150
|
+
});
|
|
1143
1151
|
}
|
|
1144
1152
|
},
|
|
1145
|
-
[book, onBooked, refetchAvailability, resetSignals]
|
|
1153
|
+
[book, onBooked, refetchAvailability, resetSignals, toast]
|
|
1146
1154
|
);
|
|
1147
|
-
const escapeHatch = fallbackUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1155
|
+
const escapeHatch = fallbackUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYHNIPSG6cjs.Button, { variant: "outline", size: "small-legacy", href: fallbackUrl, openInNewTab: true, children: "Open in HubSpot" }) : null;
|
|
1148
1156
|
if (isLoadingAvailability && !availability) {
|
|
1149
1157
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkPRPZBXWZcjs.cn.call(void 0, CARD_CLASS, className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CARD_INNER_CLASS, children: [
|
|
1150
1158
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContextPanelSkeleton, { onBack, className: CONTEXT_PANEL_CLASS }),
|
|
@@ -1199,11 +1207,7 @@ function HubSpotMeetingScheduler({
|
|
|
1199
1207
|
}).format(new Date(selectedSlot)),
|
|
1200
1208
|
" ",
|
|
1201
1209
|
"\xB7 ",
|
|
1202
|
-
|
|
1203
|
-
] }),
|
|
1204
|
-
bookingError && bookingError !== "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQDOBY3TPcjs.Alert, { variant: "error", className: "flex flex-col items-start gap-[var(--spacing-system-xs)]", children: [
|
|
1205
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDOBY3TPcjs.AlertDescription, { children: _nullishCoalesce(BOOKING_ERROR_COPY[bookingError], () => ( BOOKING_ERROR_COPY.VALIDATION)) }),
|
|
1206
|
-
escapeHatch
|
|
1210
|
+
_chunkMIY5FYX3cjs.formatDurationCompact.call(void 0, durationMs / 1e3)
|
|
1207
1211
|
] }),
|
|
1208
1212
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1209
1213
|
BookingForm,
|
|
@@ -1221,11 +1225,11 @@ function HubSpotMeetingScheduler({
|
|
|
1221
1225
|
)
|
|
1222
1226
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)] md:min-h-0 md:flex-1", children: [
|
|
1223
1227
|
bookingError === "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1224
|
-
|
|
1228
|
+
_chunkKE2TCUOHcjs.Alert,
|
|
1225
1229
|
{
|
|
1226
1230
|
variant: "warning",
|
|
1227
1231
|
className: "mx-[var(--spacing-system-l)] mt-[var(--spacing-system-l)] w-auto lg:m-0 lg:w-full",
|
|
1228
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1232
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKE2TCUOHcjs.AlertDescription, { children: "That time was just taken \u2014 pick another slot below. (If you already submitted, check your email for a confirmation before rebooking.)" })
|
|
1229
1233
|
}
|
|
1230
1234
|
),
|
|
1231
1235
|
timezone && durationMs != null ? (
|