@flamingo-stack/openframe-frontend-core 0.0.721 → 0.0.723
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/assets/index.cjs +0 -6
- package/dist/assets/index.d.ts +0 -1
- package/dist/assets/index.d.ts.map +1 -1
- package/dist/assets/index.js +1 -5
- package/dist/{chunk-I2254QN6.cjs → chunk-2MC4DRSC.cjs} +3 -3
- package/dist/{chunk-UXU7Y5BH.js → chunk-2VOPQJNR.js} +3 -3
- package/dist/{chunk-QYS4YVEP.cjs → chunk-3RIKO2O2.cjs} +31 -31
- package/dist/{chunk-KFOAV77K.js → chunk-5D2K7TFT.js} +1 -1
- package/dist/{chunk-GGBYZKMS.cjs → chunk-6QTGLBJH.cjs} +5 -5
- package/dist/{chunk-5QXE5HMV.js → chunk-7JXCLUU7.js} +3 -3
- package/dist/{chunk-LAXKEBDD.js → chunk-A7JPMNHF.js} +7 -7
- package/dist/{chunk-7Z5FMQYR.cjs → chunk-ABSWD4PQ.cjs} +14 -14
- package/dist/{chunk-742BGXNX.js → chunk-EWED6ISQ.js} +1 -1
- package/dist/{chunk-S63QBBT7.js → chunk-F6JAGSKV.js} +5 -5
- package/dist/{chunk-QLTXT562.cjs → chunk-FDWYBJYD.cjs} +6 -6
- package/dist/{chunk-2P2M27EW.js → chunk-G6YNPBWV.js} +2219 -2202
- package/dist/{chunk-QQCFPMAA.js → chunk-GRDJR2Q7.js} +1 -1
- package/dist/{chunk-O5EHOJZD.cjs → chunk-GYUFKNOQ.cjs} +7 -7
- package/dist/{chunk-OKE5BIQH.cjs → chunk-HP4UUBJC.cjs} +8 -8
- package/dist/{chunk-HXB7SEYG.js → chunk-IIBTYCEN.js} +7 -16
- package/dist/{chunk-GCK75D7F.cjs → chunk-JENNI7XU.cjs} +56 -31
- package/dist/{chunk-ZLUFEWZZ.js → chunk-JL7AHSFE.js} +6 -6
- package/dist/{chunk-JDBZ4ZHU.js → chunk-KS3YLYVL.js} +2 -2
- package/dist/{chunk-6AJIOW3S.cjs → chunk-KSADTFNZ.cjs} +37 -37
- package/dist/{chunk-D2DH6VZL.cjs → chunk-KSZRALRL.cjs} +3 -3
- package/dist/{chunk-RJMWJAJO.cjs → chunk-KY4WQYYG.cjs} +19 -19
- package/dist/{chunk-IYVFSLWJ.js → chunk-KZQO5EJQ.js} +4 -0
- package/dist/{chunk-IMTY3GRR.cjs → chunk-LV6UJD2K.cjs} +2 -2
- package/dist/{chunk-UZTOI6FJ.cjs → chunk-MWLVYYRX.cjs} +619 -602
- package/dist/{chunk-44Q6MV7C.js → chunk-N4VCU6XP.js} +1 -1
- package/dist/{chunk-F7ORKKEF.cjs → chunk-NESUUHPV.cjs} +83 -83
- package/dist/{chunk-BYVVE7HP.cjs → chunk-NFABAOMD.cjs} +34 -36
- package/dist/{chunk-3R32ZNA2.cjs → chunk-OHC2MPUO.cjs} +35 -35
- package/dist/{chunk-RCI3PALX.js → chunk-OVG6MV3X.js} +6 -6
- package/dist/{chunk-HJMSNOBT.cjs → chunk-OWRD2GZU.cjs} +258 -267
- package/dist/{chunk-VFICDEYJ.cjs → chunk-P7MDECYI.cjs} +41 -41
- package/dist/{chunk-NPSJE7J3.js → chunk-PKS2QQJU.js} +29 -4
- package/dist/{chunk-57UTI7ZH.js → chunk-QBXEF7D5.js} +4 -4
- package/dist/{chunk-74N742ZG.js → chunk-SBCJFJ6Q.js} +4 -4
- package/dist/{chunk-XXO52RZR.cjs → chunk-TDSLKKX7.cjs} +18 -18
- package/dist/{chunk-F5BPGWGT.cjs → chunk-TKFTWM3V.cjs} +5 -1
- package/dist/{chunk-GYAXV3MZ.js → chunk-UYMTAFHG.js} +4 -6
- package/dist/{chunk-XE2K53GH.cjs → chunk-VGXAZEQP.cjs} +17 -17
- package/dist/{chunk-3LY7V3RF.js → chunk-VIFVSFYY.js} +2 -2
- package/dist/{chunk-LODMNSQY.cjs → chunk-WSMOTZRJ.cjs} +11 -11
- package/dist/{chunk-CO3FOZIH.js → chunk-WVA7SCLY.js} +1 -1
- package/dist/{chunk-ZZEKXGFS.js → chunk-WY4SLTMZ.js} +2 -2
- package/dist/{chunk-NJ5TBTJG.js → chunk-XTG7W75B.js} +5 -5
- package/dist/{chunk-NMPVK53I.cjs → chunk-Y5H3M7OM.cjs} +23 -23
- package/dist/{chunk-E6SMMMKV.js → chunk-YGIUWQEN.js} +9 -9
- package/dist/{chunk-RQZQHLNS.cjs → chunk-YQOJOW2Z.cjs} +66 -66
- package/dist/{chunk-LGKMR7NZ.js → chunk-YUSA7IPD.js} +3 -3
- package/dist/{cloud-tenants-HZHKRUIW.cjs → cloud-tenants-3TVX7U23.cjs} +10 -10
- package/dist/{cloud-tenants-Q4TCJS5Y.js → cloud-tenants-N6KV2T7X.js} +9 -9
- package/dist/components/case-studies/index.cjs +23 -23
- package/dist/components/case-studies/index.js +10 -10
- package/dist/components/chat/index.cjs +7 -7
- package/dist/components/chat/index.js +6 -6
- package/dist/components/contact/index.cjs +11 -11
- package/dist/components/contact/index.js +10 -10
- package/dist/components/docs/index.cjs +14 -14
- package/dist/components/docs/index.js +13 -13
- package/dist/components/embeds/index.cjs +11 -11
- package/dist/components/embeds/index.js +10 -10
- package/dist/components/faq/index.cjs +11 -11
- package/dist/components/faq/index.js +10 -10
- package/dist/components/features/index.cjs +10 -10
- package/dist/components/features/index.js +9 -9
- package/dist/components/features/remote-session/remote-access-request-card.d.ts.map +1 -1
- package/dist/components/help-center-pages/download-apps-page.d.ts +19 -6
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +170 -151
- package/dist/components/help-center-pages/index.d.ts +1 -1
- package/dist/components/help-center-pages/index.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.js +88 -69
- package/dist/components/help-center-pages/trust-center-page.d.ts +34 -1
- package/dist/components/help-center-pages/trust-center-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/trust-center-sections.d.ts +1 -1
- package/dist/components/help-center-pages/trust-center-sections.d.ts.map +1 -1
- package/dist/components/index.cjs +66 -64
- package/dist/components/index.js +23 -21
- package/dist/components/meeting-scheduler/index.cjs +47 -47
- package/dist/components/meeting-scheduler/index.js +9 -9
- package/dist/components/navigation/index.cjs +13 -13
- package/dist/components/navigation/index.js +12 -12
- package/dist/components/onboarding-guides/index.cjs +13 -13
- package/dist/components/onboarding-guides/index.js +12 -12
- package/dist/components/product-demo/index.cjs +8 -8
- package/dist/components/product-demo/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 +14 -14
- package/dist/components/tickets/index.js +13 -13
- package/dist/components/ui/data-attribution.d.ts +3 -1
- package/dist/components/ui/data-attribution.d.ts.map +1 -1
- package/dist/components/ui/download-button.d.ts +19 -0
- package/dist/components/ui/download-button.d.ts.map +1 -0
- package/dist/components/ui/index.cjs +12 -10
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +11 -9
- package/dist/components/ui/mobile-app-qr.d.ts +13 -15
- package/dist/components/ui/mobile-app-qr.d.ts.map +1 -1
- package/dist/{devices-NOUGVTES.js → devices-275UZZUS.js} +9 -9
- package/dist/{devices-6XHUFIC6.cjs → devices-MAALZ7DX.cjs} +11 -11
- package/dist/index.cjs +19 -19
- package/dist/index.js +23 -23
- package/dist/{knowledge-2YTUXQ2Z.js → knowledge-THXC2KC3.js} +9 -9
- package/dist/{knowledge-ANEKPMO2.cjs → knowledge-YMMULPPK.cjs} +11 -11
- package/dist/{logs-WVQIONUT.js → logs-GM2XBHYT.js} +9 -9
- package/dist/{logs-U3IB3HUM.cjs → logs-IBUKQOHS.cjs} +18 -18
- package/dist/{policies-UFRN2EQF.cjs → policies-J5GJXD6G.cjs} +14 -14
- package/dist/{policies-66EGDW2H.js → policies-NKMRK6RR.js} +9 -9
- package/dist/{remote-session-6WEUJZDC.js → remote-session-WCLR47RN.js} +4 -4
- package/dist/{remote-session-A75X5NPC.cjs → remote-session-Z2YCUPHU.cjs} +6 -6
- package/dist/{software-update-3ZD3MXF3.js → software-update-EKKMKDWI.js} +9 -9
- package/dist/{software-update-2MHKL76D.cjs → software-update-JHC4T4SE.cjs} +14 -14
- package/dist/{tickets-board-IFWMIZ35.cjs → tickets-board-R5OQSEEC.cjs} +8 -8
- package/dist/{tickets-board-MYXG3V72.js → tickets-board-U3RF3AO4.js} +3 -3
- package/dist/types/downloads.d.ts +16 -0
- package/dist/types/downloads.d.ts.map +1 -1
- package/dist/types/index.cjs +27 -2
- package/dist/types/index.js +25 -3
- package/dist/types/trust-center.d.ts +19 -2
- package/dist/types/trust-center.d.ts.map +1 -1
- package/dist/utils/format.d.ts +11 -0
- package/dist/utils/format.d.ts.map +1 -1
- package/dist/utils/index.cjs +4 -9
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +4 -7
- package/dist/utils/mobile-app.cjs +0 -9
- package/dist/utils/mobile-app.d.ts +8 -25
- package/dist/utils/mobile-app.d.ts.map +1 -1
- package/dist/utils/mobile-app.js +1 -7
- package/package.json +1 -1
- package/src/assets/index.ts +0 -1
- package/src/components/features/remote-session/remote-access-request-card.tsx +6 -6
- package/src/components/help-center-pages/download-apps-page.tsx +53 -29
- package/src/components/help-center-pages/index.ts +1 -1
- package/src/components/help-center-pages/trust-center-page.tsx +50 -29
- package/src/components/help-center-pages/trust-center-sections.tsx +2 -2
- package/src/components/ui/data-attribution.tsx +19 -6
- package/src/components/ui/download-button.tsx +34 -0
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/mobile-app-qr.tsx +17 -22
- package/src/types/downloads.ts +17 -0
- package/src/types/trust-center.ts +52 -4
- package/src/utils/format.ts +15 -0
- package/src/utils/index.ts +1 -1
- package/src/utils/mobile-app.ts +8 -31
- package/dist/assets/mobile-app-qr.d.ts +0 -17
- package/dist/assets/mobile-app-qr.d.ts.map +0 -1
- package/src/assets/mobile-app-qr.ts +0 -19
package/dist/components/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
RoadmapView,
|
|
15
15
|
useLegalDocs,
|
|
16
16
|
useRoadmapVoting
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-A7JPMNHF.js";
|
|
18
18
|
import {
|
|
19
19
|
DocNavigationProvider,
|
|
20
20
|
DocViewer,
|
|
@@ -27,12 +27,12 @@ import {
|
|
|
27
27
|
PersistentSidebar,
|
|
28
28
|
useDocNavigation,
|
|
29
29
|
useDocumentTree
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-JL7AHSFE.js";
|
|
31
31
|
import {
|
|
32
32
|
FileDownloadCard,
|
|
33
33
|
GoogleSheetsViewer,
|
|
34
34
|
PdfViewer
|
|
35
|
-
} from "../chunk-
|
|
35
|
+
} from "../chunk-VIFVSFYY.js";
|
|
36
36
|
import {
|
|
37
37
|
PersistentPagination,
|
|
38
38
|
PersistentPaginationWrapper,
|
|
@@ -43,11 +43,11 @@ import {
|
|
|
43
43
|
FaqAskCard,
|
|
44
44
|
FaqDocumentPage,
|
|
45
45
|
FaqSection
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-QBXEF7D5.js";
|
|
47
47
|
import {
|
|
48
48
|
GROUP_PAGE_SIZE,
|
|
49
49
|
RelatedContentSection
|
|
50
|
-
} from "../chunk-
|
|
50
|
+
} from "../chunk-GRDJR2Q7.js";
|
|
51
51
|
import {
|
|
52
52
|
CveLink,
|
|
53
53
|
OnboardingStepCard,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
ShellTypeBadge,
|
|
58
58
|
SoftwareInfo,
|
|
59
59
|
SoftwareSourceBadge
|
|
60
|
-
} from "../chunk-
|
|
60
|
+
} from "../chunk-7JXCLUU7.js";
|
|
61
61
|
import {
|
|
62
62
|
AppHeader,
|
|
63
63
|
AppLayout,
|
|
@@ -82,14 +82,14 @@ import {
|
|
|
82
82
|
isMegaMenu,
|
|
83
83
|
navLinkLabel,
|
|
84
84
|
siteNavHasMobileMenus
|
|
85
|
-
} from "../chunk-
|
|
85
|
+
} from "../chunk-XTG7W75B.js";
|
|
86
86
|
import {
|
|
87
87
|
MobileNavigationDropdown,
|
|
88
88
|
MultiLevelNavigation,
|
|
89
89
|
StickySectionNav,
|
|
90
90
|
useScrollSpy,
|
|
91
91
|
useSectionNavigation
|
|
92
|
-
} from "../chunk-
|
|
92
|
+
} from "../chunk-N4VCU6XP.js";
|
|
93
93
|
import {
|
|
94
94
|
DeliveryRow,
|
|
95
95
|
DevCardRowContent,
|
|
@@ -98,16 +98,16 @@ import {
|
|
|
98
98
|
DevSectionPage,
|
|
99
99
|
DevSectionView,
|
|
100
100
|
ListEmptyState
|
|
101
|
-
} from "../chunk-
|
|
101
|
+
} from "../chunk-F6JAGSKV.js";
|
|
102
102
|
import {
|
|
103
103
|
EmptyState,
|
|
104
104
|
UnifiedPagination
|
|
105
105
|
} from "../chunk-K76ACBR3.js";
|
|
106
|
-
import "../chunk-
|
|
106
|
+
import "../chunk-WVA7SCLY.js";
|
|
107
107
|
import {
|
|
108
108
|
ArticleAuthorByline,
|
|
109
109
|
DetailPageSkeleton
|
|
110
|
-
} from "../chunk-
|
|
110
|
+
} from "../chunk-2VOPQJNR.js";
|
|
111
111
|
import {
|
|
112
112
|
DocSearchBar,
|
|
113
113
|
DocSearchResultRow,
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
mapDocSearchResults,
|
|
116
116
|
resolveSearchResultAction,
|
|
117
117
|
useDocSearch
|
|
118
|
-
} from "../chunk-
|
|
118
|
+
} from "../chunk-YUSA7IPD.js";
|
|
119
119
|
import {
|
|
120
120
|
AIEnrichButton,
|
|
121
121
|
AIEnrichSection,
|
|
@@ -280,6 +280,7 @@ import {
|
|
|
280
280
|
DialogPortal,
|
|
281
281
|
DialogTitle,
|
|
282
282
|
DialogTrigger,
|
|
283
|
+
DownloadButton,
|
|
283
284
|
DropdownButton,
|
|
284
285
|
DurationInput,
|
|
285
286
|
DynamicSkeleton,
|
|
@@ -703,7 +704,7 @@ import {
|
|
|
703
704
|
useTrackerClock,
|
|
704
705
|
useWalkthroughVideo,
|
|
705
706
|
usersCountLabel
|
|
706
|
-
} from "../chunk-
|
|
707
|
+
} from "../chunk-G6YNPBWV.js";
|
|
707
708
|
import {
|
|
708
709
|
Board,
|
|
709
710
|
BoardColumn,
|
|
@@ -719,7 +720,7 @@ import {
|
|
|
719
720
|
groupTicketsByStatus,
|
|
720
721
|
tintOnDark,
|
|
721
722
|
useBoardCollapse
|
|
722
|
-
} from "../chunk-
|
|
723
|
+
} from "../chunk-KS3YLYVL.js";
|
|
723
724
|
import "../chunk-LQYXMEYF.js";
|
|
724
725
|
import "../chunk-4JPLYOS6.js";
|
|
725
726
|
import {
|
|
@@ -778,7 +779,7 @@ import {
|
|
|
778
779
|
formatRemoteSessionOffset,
|
|
779
780
|
usePageActionsBottomPadding,
|
|
780
781
|
useRemoteSessionTimer
|
|
781
|
-
} from "../chunk-
|
|
782
|
+
} from "../chunk-UYMTAFHG.js";
|
|
782
783
|
import {
|
|
783
784
|
CommandApprovalToast,
|
|
784
785
|
ToastCard,
|
|
@@ -1122,7 +1123,7 @@ import {
|
|
|
1122
1123
|
useSseChatAdapter,
|
|
1123
1124
|
useStableShallow,
|
|
1124
1125
|
useUnifiedChat
|
|
1125
|
-
} from "../chunk-
|
|
1126
|
+
} from "../chunk-IIBTYCEN.js";
|
|
1126
1127
|
import {
|
|
1127
1128
|
ApprovalBatchMessage,
|
|
1128
1129
|
ApprovalStatusTag,
|
|
@@ -1144,7 +1145,7 @@ import {
|
|
|
1144
1145
|
resolveTicketStatus,
|
|
1145
1146
|
useCollapsible,
|
|
1146
1147
|
usesCanonicalStatusStyle
|
|
1147
|
-
} from "../chunk-
|
|
1148
|
+
} from "../chunk-5D2K7TFT.js";
|
|
1148
1149
|
import "../chunk-AFTRPEXO.js";
|
|
1149
1150
|
import {
|
|
1150
1151
|
APPROVAL_BLOCK_VARIANT,
|
|
@@ -1168,7 +1169,7 @@ import {
|
|
|
1168
1169
|
SlashCommandSuggestions,
|
|
1169
1170
|
isStructuredContent,
|
|
1170
1171
|
normalizeContent
|
|
1171
|
-
} from "../chunk-
|
|
1172
|
+
} from "../chunk-WY4SLTMZ.js";
|
|
1172
1173
|
import {
|
|
1173
1174
|
ActionsMenu,
|
|
1174
1175
|
ActionsMenuDropdown,
|
|
@@ -1307,7 +1308,7 @@ import {
|
|
|
1307
1308
|
useSelfFetch,
|
|
1308
1309
|
useVideoOriginPreconnect,
|
|
1309
1310
|
useVideoWarmup
|
|
1310
|
-
} from "../chunk-
|
|
1311
|
+
} from "../chunk-PKS2QQJU.js";
|
|
1311
1312
|
import {
|
|
1312
1313
|
AgentMark
|
|
1313
1314
|
} from "../chunk-H3PKYE4N.js";
|
|
@@ -1320,7 +1321,7 @@ import {
|
|
|
1320
1321
|
getIconComponent,
|
|
1321
1322
|
normalizeIconKey,
|
|
1322
1323
|
resolveIcon
|
|
1323
|
-
} from "../chunk-
|
|
1324
|
+
} from "../chunk-EWED6ISQ.js";
|
|
1324
1325
|
import {
|
|
1325
1326
|
FloatingTooltip,
|
|
1326
1327
|
OPENFRAME_CLASSIFICATIONS,
|
|
@@ -1329,7 +1330,7 @@ import {
|
|
|
1329
1330
|
formatBioText,
|
|
1330
1331
|
isOpenFrameClassification,
|
|
1331
1332
|
tagVariants
|
|
1332
|
-
} from "../chunk-
|
|
1333
|
+
} from "../chunk-KZQO5EJQ.js";
|
|
1333
1334
|
import {
|
|
1334
1335
|
next_image_default
|
|
1335
1336
|
} from "../chunk-FBZMAPWO.js";
|
|
@@ -4493,6 +4494,7 @@ export {
|
|
|
4493
4494
|
DocumentIcon,
|
|
4494
4495
|
DonutIcon,
|
|
4495
4496
|
DoubleChevronIcon,
|
|
4497
|
+
DownloadButton,
|
|
4496
4498
|
Drawer,
|
|
4497
4499
|
DrawerBody,
|
|
4498
4500
|
DrawerClose,
|
|
@@ -16,8 +16,8 @@ var _chunkZSOFLPQNcjs = require('../../chunk-ZSOFLPQN.cjs');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
20
|
-
require('../../chunk-
|
|
19
|
+
var _chunkMWLVYYRXcjs = require('../../chunk-MWLVYYRX.cjs');
|
|
20
|
+
require('../../chunk-ABSWD4PQ.cjs');
|
|
21
21
|
require('../../chunk-HQQE74RO.cjs');
|
|
22
22
|
require('../../chunk-DEY6XXGO.cjs');
|
|
23
23
|
|
|
@@ -27,7 +27,7 @@ require('../../chunk-DEY6XXGO.cjs');
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkNFABAOMDcjs = require('../../chunk-NFABAOMD.cjs');
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
@@ -45,10 +45,10 @@ var _chunkLX22Y43Bcjs = require('../../chunk-LX22Y43B.cjs');
|
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
var
|
|
49
|
-
require('../../chunk-
|
|
48
|
+
var _chunkOWRD2GZUcjs = require('../../chunk-OWRD2GZU.cjs');
|
|
49
|
+
require('../../chunk-HP4UUBJC.cjs');
|
|
50
50
|
require('../../chunk-EWPR7662.cjs');
|
|
51
|
-
require('../../chunk-
|
|
51
|
+
require('../../chunk-FDWYBJYD.cjs');
|
|
52
52
|
require('../../chunk-RUZIICXT.cjs');
|
|
53
53
|
|
|
54
54
|
|
|
@@ -57,18 +57,18 @@ require('../../chunk-WVOTC7HW.cjs');
|
|
|
57
57
|
require('../../chunk-7DNL734S.cjs');
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
var
|
|
60
|
+
var _chunkJENNI7XUcjs = require('../../chunk-JENNI7XU.cjs');
|
|
61
61
|
require('../../chunk-AL2GUHAJ.cjs');
|
|
62
62
|
|
|
63
63
|
|
|
64
|
-
var
|
|
64
|
+
var _chunkLV6UJD2Kcjs = require('../../chunk-LV6UJD2K.cjs');
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
|
|
70
70
|
|
|
71
|
-
var
|
|
71
|
+
var _chunkTKFTWM3Vcjs = require('../../chunk-TKFTWM3V.cjs');
|
|
72
72
|
require('../../chunk-MGHIV4L6.cjs');
|
|
73
73
|
|
|
74
74
|
|
|
@@ -379,7 +379,7 @@ function useMeetingBooking(options) {
|
|
|
379
379
|
const seededOffset = _optionalChain([initialAvailability, 'optionalAccess', _12 => _12.meetingId]) === meetingId ? initialAvailability.monthOffset : void 0;
|
|
380
380
|
const [monthOffset, setMonthOffsetState] = _react.useState.call(void 0, _nullishCoalesce(seededOffset, () => ( 0)));
|
|
381
381
|
const setMonthOffset = _react.useCallback.call(void 0, (offset) => {
|
|
382
|
-
setMonthOffsetState(Math.max(0, Math.min(
|
|
382
|
+
setMonthOffsetState(Math.max(0, Math.min(_chunkOWRD2GZUcjs.MAX_MONTH_OFFSET, offset)));
|
|
383
383
|
}, []);
|
|
384
384
|
const prevMeetingIdRef = _react.useRef.call(void 0, meetingId);
|
|
385
385
|
_react.useLayoutEffect.call(void 0, () => {
|
|
@@ -509,7 +509,7 @@ var FIELD_CONTROLS = {
|
|
|
509
509
|
}
|
|
510
510
|
),
|
|
511
511
|
textarea: ({ field, id, registerName, error, register }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
512
|
-
|
|
512
|
+
_chunkMWLVYYRXcjs.Textarea,
|
|
513
513
|
{
|
|
514
514
|
id,
|
|
515
515
|
required: field.required,
|
|
@@ -565,18 +565,18 @@ var FIELD_CONTROLS = {
|
|
|
565
565
|
{
|
|
566
566
|
control,
|
|
567
567
|
name: registerName,
|
|
568
|
-
render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
568
|
+
render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNFABAOMDcjs.Select, { value: _nullishCoalesce(rhf.value, () => ( "")), onValueChange: rhf.onChange, children: [
|
|
569
569
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
570
|
-
|
|
570
|
+
_chunkNFABAOMDcjs.SelectTrigger,
|
|
571
571
|
{
|
|
572
572
|
id,
|
|
573
573
|
"aria-required": field.required || void 0,
|
|
574
574
|
"aria-invalid": Boolean(error),
|
|
575
575
|
invalid: Boolean(error),
|
|
576
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
576
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectValue, { placeholder: "Select\u2026" })
|
|
577
577
|
}
|
|
578
578
|
),
|
|
579
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
579
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectContent, { children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: opt, children: optionLabel(field, opt) }, opt)) })
|
|
580
580
|
] })
|
|
581
581
|
}
|
|
582
582
|
),
|
|
@@ -586,14 +586,14 @@ var FIELD_CONTROLS = {
|
|
|
586
586
|
control,
|
|
587
587
|
name: registerName,
|
|
588
588
|
render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
589
|
-
|
|
589
|
+
_chunkMWLVYYRXcjs.RadioGroup,
|
|
590
590
|
{
|
|
591
591
|
value: _nullishCoalesce(rhf.value, () => ( "")),
|
|
592
592
|
onValueChange: rhf.onChange,
|
|
593
593
|
"aria-required": field.required || void 0,
|
|
594
594
|
"aria-invalid": Boolean(error),
|
|
595
595
|
children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
596
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
596
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMWLVYYRXcjs.RadioGroupItem, { id: `${id}-${opt}`, value: opt }),
|
|
597
597
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.Label, { htmlFor: `${id}-${opt}`, children: optionLabel(field, opt) })
|
|
598
598
|
] }, opt))
|
|
599
599
|
}
|
|
@@ -829,8 +829,8 @@ function BookingForm({
|
|
|
829
829
|
children: _nullishCoalesce(submitLabel, () => ( DEFAULT_SUBMIT_LABEL))
|
|
830
830
|
}
|
|
831
831
|
);
|
|
832
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: submit, className: FORM_STACK, noValidate: true, ...
|
|
833
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
832
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: submit, className: FORM_STACK, noValidate: true, ..._chunkOWRD2GZUcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS, children: [
|
|
833
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMWLVYYRXcjs.HoneypotField, { ...honeypotInputProps }),
|
|
834
834
|
fieldRows ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
835
835
|
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("|"))),
|
|
836
836
|
[...unplacedBuiltIns, ...unplacedFields].map((field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: slotNode(field.name) }, field.name))
|
|
@@ -843,7 +843,7 @@ function BookingForm({
|
|
|
843
843
|
supportedFields.map((field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: renderDeclaredField(field) }, field.name))
|
|
844
844
|
] }),
|
|
845
845
|
consent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
846
|
-
|
|
846
|
+
_chunkMWLVYYRXcjs.CheckboxBlock,
|
|
847
847
|
{
|
|
848
848
|
id: "ms-host-consent",
|
|
849
849
|
checked: consented,
|
|
@@ -878,7 +878,7 @@ function BookingForm({
|
|
|
878
878
|
// same block the waitlist form uses): box + label in one
|
|
879
879
|
// bordered row.
|
|
880
880
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
881
|
-
|
|
881
|
+
_chunkMWLVYYRXcjs.CheckboxBlock,
|
|
882
882
|
{
|
|
883
883
|
id: `ms-consent-${box.communicationTypeId}`,
|
|
884
884
|
checked: _nullishCoalesce(_optionalChain([current, 'optionalAccess', _34 => _34.consented]), () => ( false)),
|
|
@@ -944,7 +944,7 @@ function skeletonRows(fieldRows) {
|
|
|
944
944
|
// src/components/meeting-scheduler/confirmation.tsx
|
|
945
945
|
|
|
946
946
|
function Confirmation({ confirmation, timezone }) {
|
|
947
|
-
const when =
|
|
947
|
+
const when = _chunkTKFTWM3Vcjs.formatDateWithTimezone.call(void 0, confirmation.startTimeMs, timezone, "weekdayDateTimeZoned", {
|
|
948
948
|
viewerLocale: true
|
|
949
949
|
});
|
|
950
950
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col items-center justify-center gap-[var(--spacing-system-m)] text-center", children: [
|
|
@@ -954,7 +954,7 @@ function Confirmation({ confirmation, timezone }) {
|
|
|
954
954
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: [
|
|
955
955
|
when,
|
|
956
956
|
" \xB7 ",
|
|
957
|
-
|
|
957
|
+
_chunkTKFTWM3Vcjs.formatDurationCompact.call(void 0, confirmation.durationMs / 1e3)
|
|
958
958
|
] }),
|
|
959
959
|
/* @__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." })
|
|
960
960
|
] });
|
|
@@ -975,7 +975,7 @@ function ContextPanelSkeleton({
|
|
|
975
975
|
backLabel = "Back"
|
|
976
976
|
}) {
|
|
977
977
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, PANEL_STACK, className), children: [
|
|
978
|
-
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
978
|
+
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
|
|
979
979
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_BODY, children: [
|
|
980
980
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: STRIP_MAIN, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: IDENTITY_ROW, children: [
|
|
981
981
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xs)] content-lg:flex-none", children: [
|
|
@@ -1011,13 +1011,13 @@ function SchedulerContextPanel({
|
|
|
1011
1011
|
className
|
|
1012
1012
|
}) {
|
|
1013
1013
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, PANEL_STACK, className), children: [
|
|
1014
|
-
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1014
|
+
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
|
|
1015
1015
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_BODY, children: [
|
|
1016
1016
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_MAIN, children: [
|
|
1017
1017
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: IDENTITY_ROW, children: [
|
|
1018
1018
|
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: [
|
|
1019
1019
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1020
|
-
|
|
1020
|
+
_chunkTKFTWM3Vcjs.SquareAvatar,
|
|
1021
1021
|
{
|
|
1022
1022
|
variant: "round",
|
|
1023
1023
|
size: "sm",
|
|
@@ -1032,7 +1032,7 @@ function SchedulerContextPanel({
|
|
|
1032
1032
|
] })
|
|
1033
1033
|
] }, host.name)) }),
|
|
1034
1034
|
hosts.length > 3 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
1035
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1035
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLV6UJD2Kcjs.AvatarStack, { people: hosts, max: 4, size: "lg", label: "Hosts" }),
|
|
1036
1036
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: [
|
|
1037
1037
|
hosts.length,
|
|
1038
1038
|
" hosts on this calendar"
|
|
@@ -1042,7 +1042,7 @@ function SchedulerContextPanel({
|
|
|
1042
1042
|
// Post-selection, or a link that offers one length: a static line,
|
|
1043
1043
|
// which is what sits beside the host on the header-strip layouts.
|
|
1044
1044
|
selectedDurationMs != null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "shrink-0 text-ods-text-secondary text-h6", children: [
|
|
1045
|
-
|
|
1045
|
+
_chunkTKFTWM3Vcjs.formatDurationCompact.call(void 0, selectedDurationMs / 1e3),
|
|
1046
1046
|
" call"
|
|
1047
1047
|
] })
|
|
1048
1048
|
) : null
|
|
@@ -1058,7 +1058,7 @@ function SchedulerContextPanel({
|
|
|
1058
1058
|
size: "small-legacy",
|
|
1059
1059
|
disabled,
|
|
1060
1060
|
onClick: () => onSelectDuration(ms),
|
|
1061
|
-
children:
|
|
1061
|
+
children: _chunkTKFTWM3Vcjs.formatDurationCompact.call(void 0, ms / 1e3)
|
|
1062
1062
|
},
|
|
1063
1063
|
ms
|
|
1064
1064
|
)) })
|
|
@@ -1073,7 +1073,7 @@ function SchedulerContextPanel({
|
|
|
1073
1073
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, STRIP_ASIDE, locked && "content-max-lg:hidden"), children: [
|
|
1074
1074
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS, children: "Timezone" }),
|
|
1075
1075
|
timezone ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1076
|
-
|
|
1076
|
+
_chunkMWLVYYRXcjs.TimezoneSelect,
|
|
1077
1077
|
{
|
|
1078
1078
|
value: timezone,
|
|
1079
1079
|
disabled,
|
|
@@ -1105,7 +1105,7 @@ function dateFromDayKey(key) {
|
|
|
1105
1105
|
return new Date(y, m - 1, d, 12);
|
|
1106
1106
|
}
|
|
1107
1107
|
function timeLabelInZone(ms, timeZone) {
|
|
1108
|
-
return
|
|
1108
|
+
return _chunkTKFTWM3Vcjs.formatTimeWithTimezone.call(void 0, ms, timeZone, { viewerLocale: true });
|
|
1109
1109
|
}
|
|
1110
1110
|
var CALENDAR_W = "content-md:w-[19rem] content-md:shrink-0 content-lg:w-[16rem]";
|
|
1111
1111
|
var COLUMN_HEADING_CLASS = "shrink-0 text-h4 text-ods-text-primary";
|
|
@@ -1149,25 +1149,25 @@ var COLUMN_DIVIDER = "border-b border-ods-border content-md:border-b-0 content-m
|
|
|
1149
1149
|
function monthLabelFor(offset) {
|
|
1150
1150
|
const now = /* @__PURE__ */ new Date();
|
|
1151
1151
|
const month = new Date(now.getFullYear(), now.getMonth() + offset, 1);
|
|
1152
|
-
return
|
|
1152
|
+
return _chunkTKFTWM3Vcjs.formatDateWithTimezone.call(void 0, month, _chunkTKFTWM3Vcjs.VIEWER_TIMEZONE, "monthYear");
|
|
1153
1153
|
}
|
|
1154
1154
|
var DISABLE_EVERY_DAY = () => true;
|
|
1155
1155
|
var NOOP = () => void 0;
|
|
1156
1156
|
function DayCalendar({ monthOffset, onMonthOffsetChange, selectedDay, onSelectDay, slotsByDay }) {
|
|
1157
1157
|
const now = /* @__PURE__ */ new Date();
|
|
1158
1158
|
const startMonth = new Date(now.getFullYear(), now.getMonth(), 1);
|
|
1159
|
-
const endMonth = new Date(now.getFullYear(), now.getMonth() +
|
|
1159
|
+
const endMonth = new Date(now.getFullYear(), now.getMonth() + _chunkOWRD2GZUcjs.MAX_MONTH_OFFSET + 1, 0);
|
|
1160
1160
|
const visibleMonth = new Date(now.getFullYear(), now.getMonth() + monthOffset, 1);
|
|
1161
1161
|
const dayHasNoSlots = _react.useCallback.call(void 0, (day) => !_optionalChain([slotsByDay, 'optionalAccess', _36 => _36.has, 'call', _37 => _37(calendarDayKey(day))]), [slotsByDay]);
|
|
1162
1162
|
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,
|
|
1163
|
-
|
|
1163
|
+
_chunkMWLVYYRXcjs.DatePickerCalendar,
|
|
1164
1164
|
{
|
|
1165
1165
|
mode: "single",
|
|
1166
1166
|
bare: true,
|
|
1167
1167
|
month: visibleMonth,
|
|
1168
1168
|
onMonthChange: (month) => {
|
|
1169
1169
|
const offset = (month.getFullYear() - now.getFullYear()) * 12 + (month.getMonth() - now.getMonth());
|
|
1170
|
-
onMonthOffsetChange(Math.max(0, Math.min(
|
|
1170
|
+
onMonthOffsetChange(Math.max(0, Math.min(_chunkOWRD2GZUcjs.MAX_MONTH_OFFSET, offset)));
|
|
1171
1171
|
},
|
|
1172
1172
|
fromDate: startMonth,
|
|
1173
1173
|
toDate: endMonth,
|
|
@@ -1254,7 +1254,7 @@ function SlotPicker({
|
|
|
1254
1254
|
)
|
|
1255
1255
|
] }),
|
|
1256
1256
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, COLUMN_STACK, COLUMN_BOX, "min-w-0 content-md:flex-1"), children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TimeChipsSkeleton, {}) : selectedDay ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1257
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: COLUMN_HEADING_CLASS, children:
|
|
1257
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: COLUMN_HEADING_CLASS, children: _chunkTKFTWM3Vcjs.formatDateWithTimezone.call(void 0, dateFromDayKey(selectedDay), _chunkTKFTWM3Vcjs.VIEWER_TIMEZONE, "weekday", { viewerLocale: true }) }),
|
|
1258
1258
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CHIP_GRID_CLASS, children: daySlots.map((ms) => {
|
|
1259
1259
|
const isSelected = selectedSlot === ms;
|
|
1260
1260
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -1283,7 +1283,7 @@ function SlotPicker({
|
|
|
1283
1283
|
monthLabelFor(monthOffset),
|
|
1284
1284
|
"."
|
|
1285
1285
|
] }),
|
|
1286
|
-
monthOffset <
|
|
1286
|
+
monthOffset < _chunkOWRD2GZUcjs.MAX_MONTH_OFFSET && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1287
1287
|
_chunkHQIOMFJHcjs.Button,
|
|
1288
1288
|
{
|
|
1289
1289
|
variant: "outline",
|
|
@@ -1305,10 +1305,10 @@ function SlotPicker({
|
|
|
1305
1305
|
|
|
1306
1306
|
|
|
1307
1307
|
function useNextAvailableLabel(ms) {
|
|
1308
|
-
const hydrated =
|
|
1308
|
+
const hydrated = _chunkOWRD2GZUcjs.useIsHydrated.call(void 0, );
|
|
1309
1309
|
return _react.useMemo.call(void 0, () => {
|
|
1310
1310
|
if (!hydrated || ms == null) return null;
|
|
1311
|
-
return
|
|
1311
|
+
return _chunkTKFTWM3Vcjs.formatDateWithTimezone.call(void 0, ms, _chunkTKFTWM3Vcjs.VIEWER_TIMEZONE, "shortWeekdayDateTime", { viewerLocale: true }) || null;
|
|
1312
1312
|
}, [hydrated, ms]);
|
|
1313
1313
|
}
|
|
1314
1314
|
function DirectoryRow({
|
|
@@ -1319,7 +1319,7 @@ function DirectoryRow({
|
|
|
1319
1319
|
const nextLabel = useNextAvailableLabel(link.nextAvailableMs);
|
|
1320
1320
|
const subtitle = [
|
|
1321
1321
|
link.description,
|
|
1322
|
-
link.durationsMinutes.length > 0 ? link.durationsMinutes.map((m) =>
|
|
1322
|
+
link.durationsMinutes.length > 0 ? link.durationsMinutes.map((m) => _chunkTKFTWM3Vcjs.formatDurationCompact.call(void 0, m * 60)).join(" / ") : null,
|
|
1323
1323
|
link.kind === "team" ? "Team" : null
|
|
1324
1324
|
].filter(Boolean).join(" \u2022 ");
|
|
1325
1325
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -1333,8 +1333,8 @@ function DirectoryRow({
|
|
|
1333
1333
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h3", children: link.title }),
|
|
1334
1334
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: subtitle })
|
|
1335
1335
|
] }),
|
|
1336
|
-
audienceLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1337
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1336
|
+
audienceLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJENNI7XUcjs.StatusBadge, { text: `For ${audienceLabel}`, singleLine: true, className: "hidden shrink-0 content-sm:inline-flex" }),
|
|
1337
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLV6UJD2Kcjs.AvatarStack, { people: link.hosts, max: 3, size: "md", label: "Hosts", className: "flex shrink-0" }),
|
|
1338
1338
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "hidden w-44 shrink-0 flex-col items-end justify-center content-md:flex", children: [
|
|
1339
1339
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "Next available" }),
|
|
1340
1340
|
/* @__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, () => ( " ")) })
|
|
@@ -1538,7 +1538,7 @@ function HubSpotMeetingScheduler({
|
|
|
1538
1538
|
isSubmitting
|
|
1539
1539
|
} = useMeetingBooking({ meetingId, apiBaseUrl, initialAvailability });
|
|
1540
1540
|
const detailsFirst = flow === "details-first";
|
|
1541
|
-
const hydrated =
|
|
1541
|
+
const hydrated = _chunkOWRD2GZUcjs.useIsHydrated.call(void 0, );
|
|
1542
1542
|
const [pickedTimezone, setTimezone] = _react.useState.call(void 0, null);
|
|
1543
1543
|
const resolvedLocalTimezone = _react.useMemo.call(void 0, () => {
|
|
1544
1544
|
if (!hydrated) return null;
|
|
@@ -1742,10 +1742,10 @@ function HubSpotMeetingScheduler({
|
|
|
1742
1742
|
durations.length > 0
|
|
1743
1743
|
) : durationMs != null && selectedSlot != null && timezone) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, stepPanelClass, "gap-[var(--spacing-system-m)]"), children: [
|
|
1744
1744
|
selectedSlot != null && durationMs != null && timezone != null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
1745
|
-
|
|
1745
|
+
_chunkTKFTWM3Vcjs.formatDateWithTimezone.call(void 0, selectedSlot, timezone, "weekdayDateTimeZoned", { viewerLocale: true }),
|
|
1746
1746
|
" \xB7",
|
|
1747
1747
|
" ",
|
|
1748
|
-
|
|
1748
|
+
_chunkTKFTWM3Vcjs.formatDurationCompact.call(void 0, durationMs / 1e3)
|
|
1749
1749
|
] }),
|
|
1750
1750
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1751
1751
|
DetailsForm,
|
|
@@ -1769,11 +1769,11 @@ function HubSpotMeetingScheduler({
|
|
|
1769
1769
|
)
|
|
1770
1770
|
] }) : /* @__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: [
|
|
1771
1771
|
bookingError === "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1772
|
-
|
|
1772
|
+
_chunkMWLVYYRXcjs.Alert,
|
|
1773
1773
|
{
|
|
1774
1774
|
variant: "warning",
|
|
1775
1775
|
className: "mx-[var(--spacing-system-l)] mt-[var(--spacing-system-l)] w-auto content-lg:m-0 content-lg:w-full",
|
|
1776
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1776
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMWLVYYRXcjs.AlertDescription, { children: "That time was just taken \u2014 pick another slot below. (If you already submitted, check your email for a confirmation before rebooking.)" })
|
|
1777
1777
|
}
|
|
1778
1778
|
),
|
|
1779
1779
|
timezone && durationMs != null ? (
|
|
@@ -16,8 +16,8 @@ import {
|
|
|
16
16
|
RadioGroupItem,
|
|
17
17
|
Textarea,
|
|
18
18
|
TimezoneSelect
|
|
19
|
-
} from "../../chunk-
|
|
20
|
-
import "../../chunk-
|
|
19
|
+
} from "../../chunk-G6YNPBWV.js";
|
|
20
|
+
import "../../chunk-KS3YLYVL.js";
|
|
21
21
|
import "../../chunk-LQYXMEYF.js";
|
|
22
22
|
import "../../chunk-4JPLYOS6.js";
|
|
23
23
|
import {
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
SelectItem,
|
|
28
28
|
SelectTrigger,
|
|
29
29
|
SelectValue
|
|
30
|
-
} from "../../chunk-
|
|
30
|
+
} from "../../chunk-UYMTAFHG.js";
|
|
31
31
|
import {
|
|
32
32
|
completeFormRescue,
|
|
33
33
|
useHumanitySignals,
|
|
@@ -45,10 +45,10 @@ import {
|
|
|
45
45
|
HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
46
46
|
MAX_MONTH_OFFSET,
|
|
47
47
|
useIsHydrated
|
|
48
|
-
} from "../../chunk-
|
|
49
|
-
import "../../chunk-
|
|
48
|
+
} from "../../chunk-IIBTYCEN.js";
|
|
49
|
+
import "../../chunk-5D2K7TFT.js";
|
|
50
50
|
import "../../chunk-AFTRPEXO.js";
|
|
51
|
-
import "../../chunk-
|
|
51
|
+
import "../../chunk-WY4SLTMZ.js";
|
|
52
52
|
import "../../chunk-REETLEL5.js";
|
|
53
53
|
import {
|
|
54
54
|
FORM_RESCUE_ATTEMPT_FIELD
|
|
@@ -57,18 +57,18 @@ import "../../chunk-34I6XI3N.js";
|
|
|
57
57
|
import "../../chunk-GY4IZG22.js";
|
|
58
58
|
import {
|
|
59
59
|
StatusBadge
|
|
60
|
-
} from "../../chunk-
|
|
60
|
+
} from "../../chunk-PKS2QQJU.js";
|
|
61
61
|
import "../../chunk-H3PKYE4N.js";
|
|
62
62
|
import {
|
|
63
63
|
AvatarStack
|
|
64
|
-
} from "../../chunk-
|
|
64
|
+
} from "../../chunk-EWED6ISQ.js";
|
|
65
65
|
import {
|
|
66
66
|
SquareAvatar,
|
|
67
67
|
VIEWER_TIMEZONE,
|
|
68
68
|
formatDateWithTimezone,
|
|
69
69
|
formatDurationCompact,
|
|
70
70
|
formatTimeWithTimezone
|
|
71
|
-
} from "../../chunk-
|
|
71
|
+
} from "../../chunk-KZQO5EJQ.js";
|
|
72
72
|
import "../../chunk-FBZMAPWO.js";
|
|
73
73
|
import {
|
|
74
74
|
contentFetch,
|