@flamingo-stack/openframe-frontend-core 0.0.720 → 0.0.721
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 +6 -0
- package/dist/assets/index.d.ts +1 -0
- package/dist/assets/index.d.ts.map +1 -1
- package/dist/assets/index.js +5 -1
- package/dist/assets/mobile-app-qr.d.ts +17 -0
- package/dist/assets/mobile-app-qr.d.ts.map +1 -0
- package/dist/{chunk-7IOU6BJE.js → chunk-2P2M27EW.js} +2393 -2367
- package/dist/{chunk-3HZ6XSZC.js → chunk-2TXGR7IK.js} +136 -59
- package/dist/{chunk-LO3KCLEF.js → chunk-3LY7V3RF.js} +3 -3
- package/dist/{chunk-6BLN5WDS.cjs → chunk-3R32ZNA2.cjs} +40 -40
- package/dist/{chunk-WSDT7LYL.js → chunk-3UBWDR65.js} +1 -1
- package/dist/{chunk-XW3Q623Q.js → chunk-44Q6MV7C.js} +2 -2
- package/dist/{chunk-CMZ3QTFQ.js → chunk-4I3K6LEH.js} +24 -0
- package/dist/{chunk-4SIZCHVZ.cjs → chunk-4LY6R4TN.cjs} +126 -49
- package/dist/{chunk-TORERAXD.js → chunk-57UTI7ZH.js} +6 -6
- package/dist/{chunk-K2BYVPGR.js → chunk-5QXE5HMV.js} +4 -4
- package/dist/{chunk-QF464PPL.cjs → chunk-6AJIOW3S.cjs} +57 -57
- package/dist/{chunk-B2N4YX66.js → chunk-6YBUQAOH.js} +1 -1
- package/dist/{chunk-6W46LVK4.js → chunk-74N742ZG.js} +6 -6
- package/dist/{chunk-4HJRHEXD.cjs → chunk-7Z5FMQYR.cjs} +22 -22
- package/dist/{chunk-WBNAEYTQ.cjs → chunk-BYUIFT7Q.cjs} +6 -6
- package/dist/{chunk-VF2CJXZ2.cjs → chunk-BYVVE7HP.cjs} +58 -58
- package/dist/{chunk-AZRI4XBP.js → chunk-CO3FOZIH.js} +1 -1
- package/dist/{chunk-XSM46FHD.cjs → chunk-D2DH6VZL.cjs} +3 -3
- package/dist/{chunk-KSGMZHVV.cjs → chunk-DFM572VH.cjs} +2 -2
- package/dist/{chunk-YDPKUAP4.js → chunk-DJ4IFQNQ.js} +2 -0
- package/dist/{chunk-VBHGJFA3.js → chunk-E6SMMMKV.js} +12 -12
- package/dist/{chunk-DHNJSQGX.cjs → chunk-F7ORKKEF.cjs} +103 -103
- package/dist/{chunk-RFUOIQSG.cjs → chunk-GCK75D7F.cjs} +9 -9
- package/dist/{chunk-ZHD3F2TH.cjs → chunk-GGBYZKMS.cjs} +11 -11
- package/dist/{chunk-YK3X74SF.js → chunk-GYAXV3MZ.js} +3 -3
- package/dist/{chunk-RDP5UZXQ.cjs → chunk-HJMSNOBT.cjs} +344 -323
- package/dist/{chunk-DFQYAYBH.cjs → chunk-HQIOMFJH.cjs} +2 -0
- package/dist/{chunk-PXAKSPLZ.js → chunk-HXB7SEYG.js} +27 -6
- package/dist/{chunk-HTS46FFY.cjs → chunk-I2254QN6.cjs} +16 -16
- package/dist/{chunk-ILNN6QRW.js → chunk-JDBZ4ZHU.js} +3 -3
- package/dist/{chunk-GQ7JJUIT.cjs → chunk-K2JUJ37D.cjs} +25 -1
- package/dist/{chunk-URW23QUM.js → chunk-K76ACBR3.js} +2 -2
- package/dist/{chunk-2NASBO7O.js → chunk-KFOAV77K.js} +2 -2
- package/dist/{chunk-Q5327DXK.js → chunk-LAXKEBDD.js} +10 -10
- package/dist/{chunk-O3MKJU6A.js → chunk-LGKMR7NZ.js} +4 -4
- package/dist/{chunk-5XDCCQ4A.cjs → chunk-LODMNSQY.cjs} +13 -13
- package/dist/{chunk-V6B2FBZK.js → chunk-NJ5TBTJG.js} +7 -7
- package/dist/{chunk-HFEYEPOG.cjs → chunk-NMPVK53I.cjs} +29 -29
- package/dist/{chunk-GANIUMRU.js → chunk-NPSJE7J3.js} +1 -1
- package/dist/{chunk-IL3ZWNM2.cjs → chunk-O5EHOJZD.cjs} +4 -4
- package/dist/{chunk-KT3U3ZRP.cjs → chunk-OKE5BIQH.cjs} +8 -8
- package/dist/{chunk-RZQGIWK3.cjs → chunk-QLTXT562.cjs} +2 -2
- package/dist/{chunk-PSMJYZMV.js → chunk-QQCFPMAA.js} +2 -2
- package/dist/{chunk-7LPR4RZ3.cjs → chunk-QYS4YVEP.cjs} +31 -31
- package/dist/{chunk-VYVPII4W.js → chunk-RCI3PALX.js} +6 -6
- package/dist/{chunk-P3JMAMHP.js → chunk-REETLEL5.js} +1 -1
- package/dist/{chunk-2C72EWQR.cjs → chunk-RJMWJAJO.cjs} +26 -26
- package/dist/{chunk-ISCZ6UNF.cjs → chunk-RQZQHLNS.cjs} +73 -73
- package/dist/{chunk-FFT56TYB.cjs → chunk-RUZIICXT.cjs} +2 -2
- package/dist/{chunk-7HYEQKN6.js → chunk-S63QBBT7.js} +5 -5
- package/dist/{chunk-B5LNX4GZ.js → chunk-UXU7Y5BH.js} +2 -2
- package/dist/{chunk-DYDDAA6O.cjs → chunk-UZTOI6FJ.cjs} +766 -740
- package/dist/{chunk-EVMM3JE6.cjs → chunk-VFICDEYJ.cjs} +43 -43
- package/dist/{chunk-DOPOHO6H.cjs → chunk-XE2K53GH.cjs} +18 -18
- package/dist/{chunk-UWJMDFDO.cjs → chunk-XXO52RZR.cjs} +26 -26
- package/dist/{chunk-VYZCKY5K.js → chunk-ZLUFEWZZ.js} +7 -7
- package/dist/{chunk-NYSMDM4J.cjs → chunk-ZSOFLPQN.cjs} +7 -7
- package/dist/{chunk-ZPHOQDAE.js → chunk-ZZEKXGFS.js} +1 -1
- package/dist/{cloud-tenants-UQZASXUB.cjs → cloud-tenants-HZHKRUIW.cjs} +13 -13
- package/dist/{cloud-tenants-RKQRSDNE.js → cloud-tenants-Q4TCJS5Y.js} +12 -12
- package/dist/components/calendar.cjs +4 -4
- package/dist/components/calendar.js +1 -1
- package/dist/components/case-studies/index.cjs +27 -27
- package/dist/components/case-studies/index.js +13 -13
- package/dist/components/chat/index.cjs +8 -8
- package/dist/components/chat/index.js +7 -7
- package/dist/components/contact/index.cjs +14 -14
- package/dist/components/contact/index.js +13 -13
- package/dist/components/docs/index.cjs +17 -17
- package/dist/components/docs/index.js +16 -16
- package/dist/components/embeds/index.cjs +14 -14
- package/dist/components/embeds/index.js +13 -13
- package/dist/components/faq/index.cjs +14 -14
- package/dist/components/faq/index.js +13 -13
- package/dist/components/features/index.cjs +13 -13
- package/dist/components/features/index.js +12 -12
- package/dist/components/help-center-pages/download-apps-page.d.ts +55 -0
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -0
- package/dist/components/help-center-pages/index.cjs +329 -114
- package/dist/components/help-center-pages/index.d.ts +1 -0
- package/dist/components/help-center-pages/index.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.js +243 -28
- package/dist/components/index.cjs +81 -79
- package/dist/components/index.js +28 -26
- package/dist/components/meeting-scheduler/index.cjs +51 -51
- package/dist/components/meeting-scheduler/index.js +14 -14
- package/dist/components/navigation/index.cjs +16 -16
- package/dist/components/navigation/index.js +15 -15
- package/dist/components/onboarding-guides/index.cjs +16 -16
- package/dist/components/onboarding-guides/index.js +15 -15
- 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 +18 -18
- package/dist/components/tickets/index.js +17 -17
- package/dist/components/ui/button/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 +15 -13
- 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 +14 -12
- package/dist/components/ui/mobile-app-qr.d.ts +23 -0
- package/dist/components/ui/mobile-app-qr.d.ts.map +1 -0
- package/dist/components/ui/store-badges.d.ts +7 -4
- package/dist/components/ui/store-badges.d.ts.map +1 -1
- package/dist/{devices-7Q2EUM7B.cjs → devices-6XHUFIC6.cjs} +14 -14
- package/dist/{devices-U3Y4IIW4.js → devices-NOUGVTES.js} +12 -12
- package/dist/hooks/index.cjs +9 -3
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +8 -2
- package/dist/hooks/use-downloads.d.ts +41 -0
- package/dist/hooks/use-downloads.d.ts.map +1 -0
- package/dist/index.cjs +57 -17
- package/dist/index.js +56 -16
- package/dist/{knowledge-NST53EXE.js → knowledge-2YTUXQ2Z.js} +12 -12
- package/dist/{knowledge-UYIZ74MA.cjs → knowledge-ANEKPMO2.cjs} +14 -14
- package/dist/{logs-HTH7X7KV.cjs → logs-U3IB3HUM.cjs} +22 -22
- package/dist/{logs-JVTRG232.js → logs-WVQIONUT.js} +12 -12
- package/dist/{policies-DTXTRK56.js → policies-66EGDW2H.js} +12 -12
- package/dist/{policies-MXK2HB4W.cjs → policies-UFRN2EQF.cjs} +17 -17
- package/dist/{remote-session-LAJZKQBN.js → remote-session-6WEUJZDC.js} +4 -4
- package/dist/{remote-session-SKKF4PBV.cjs → remote-session-A75X5NPC.cjs} +6 -6
- package/dist/{software-update-P6BSM6HX.cjs → software-update-2MHKL76D.cjs} +17 -17
- package/dist/{software-update-6RHMPM3W.js → software-update-3ZD3MXF3.js} +12 -12
- package/dist/{tickets-board-BHLPAVNJ.cjs → tickets-board-IFWMIZ35.cjs} +9 -9
- package/dist/{tickets-board-PYDNELSK.js → tickets-board-MYXG3V72.js} +4 -4
- package/dist/types/downloads.d.ts +67 -0
- package/dist/types/downloads.d.ts.map +1 -0
- package/dist/types/index.cjs +24 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +16 -1
- package/dist/utils/index.cjs +20 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +16 -1
- package/dist/utils/mobile-app.cjs +46 -0
- package/dist/utils/mobile-app.d.ts +40 -0
- package/dist/utils/mobile-app.d.ts.map +1 -0
- package/dist/utils/mobile-app.js +40 -0
- package/package.json +7 -1
- package/src/assets/index.ts +1 -0
- package/src/assets/mobile-app-qr.ts +19 -0
- package/src/components/help-center-pages/download-apps-page.tsx +364 -0
- package/src/components/help-center-pages/index.ts +1 -0
- package/src/components/ui/button/button.tsx +3 -0
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/mobile-app-qr.tsx +40 -0
- package/src/components/ui/store-badges.tsx +17 -9
- package/src/hooks/index.ts +1 -0
- package/src/hooks/use-downloads.ts +138 -0
- package/src/types/downloads.ts +82 -0
- package/src/types/index.ts +1 -0
- package/src/utils/index.ts +2 -0
- package/src/utils/mobile-app.ts +57 -0
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-LAXKEBDD.js";
|
|
18
18
|
import {
|
|
19
19
|
DocNavigationProvider,
|
|
20
20
|
DocViewer,
|
|
@@ -27,27 +27,27 @@ import {
|
|
|
27
27
|
PersistentSidebar,
|
|
28
28
|
useDocNavigation,
|
|
29
29
|
useDocumentTree
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-ZLUFEWZZ.js";
|
|
31
31
|
import {
|
|
32
32
|
FileDownloadCard,
|
|
33
33
|
GoogleSheetsViewer,
|
|
34
34
|
PdfViewer
|
|
35
|
-
} from "../chunk-
|
|
35
|
+
} from "../chunk-3LY7V3RF.js";
|
|
36
36
|
import {
|
|
37
37
|
PersistentPagination,
|
|
38
38
|
PersistentPaginationWrapper,
|
|
39
39
|
usePaginationLoading
|
|
40
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-6YBUQAOH.js";
|
|
41
41
|
import {
|
|
42
42
|
FaqAccordion,
|
|
43
43
|
FaqAskCard,
|
|
44
44
|
FaqDocumentPage,
|
|
45
45
|
FaqSection
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-57UTI7ZH.js";
|
|
47
47
|
import {
|
|
48
48
|
GROUP_PAGE_SIZE,
|
|
49
49
|
RelatedContentSection
|
|
50
|
-
} from "../chunk-
|
|
50
|
+
} from "../chunk-QQCFPMAA.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-5QXE5HMV.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-NJ5TBTJG.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-44Q6MV7C.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-S63QBBT7.js";
|
|
102
102
|
import {
|
|
103
103
|
EmptyState,
|
|
104
104
|
UnifiedPagination
|
|
105
|
-
} from "../chunk-
|
|
106
|
-
import "../chunk-
|
|
105
|
+
} from "../chunk-K76ACBR3.js";
|
|
106
|
+
import "../chunk-CO3FOZIH.js";
|
|
107
107
|
import {
|
|
108
108
|
ArticleAuthorByline,
|
|
109
109
|
DetailPageSkeleton
|
|
110
|
-
} from "../chunk-
|
|
110
|
+
} from "../chunk-UXU7Y5BH.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-LGKMR7NZ.js";
|
|
119
119
|
import {
|
|
120
120
|
AIEnrichButton,
|
|
121
121
|
AIEnrichSection,
|
|
@@ -386,6 +386,7 @@ import {
|
|
|
386
386
|
MenubarSubTrigger,
|
|
387
387
|
MenubarTrigger,
|
|
388
388
|
MinusIcon,
|
|
389
|
+
MobileAppQr,
|
|
389
390
|
MoreAboutButton,
|
|
390
391
|
MoreActionsMenu,
|
|
391
392
|
MspProfileFormSkeleton,
|
|
@@ -702,7 +703,7 @@ import {
|
|
|
702
703
|
useTrackerClock,
|
|
703
704
|
useWalkthroughVideo,
|
|
704
705
|
usersCountLabel
|
|
705
|
-
} from "../chunk-
|
|
706
|
+
} from "../chunk-2P2M27EW.js";
|
|
706
707
|
import {
|
|
707
708
|
Board,
|
|
708
709
|
BoardColumn,
|
|
@@ -718,7 +719,7 @@ import {
|
|
|
718
719
|
groupTicketsByStatus,
|
|
719
720
|
tintOnDark,
|
|
720
721
|
useBoardCollapse
|
|
721
|
-
} from "../chunk-
|
|
722
|
+
} from "../chunk-JDBZ4ZHU.js";
|
|
722
723
|
import "../chunk-LQYXMEYF.js";
|
|
723
724
|
import "../chunk-4JPLYOS6.js";
|
|
724
725
|
import {
|
|
@@ -777,7 +778,7 @@ import {
|
|
|
777
778
|
formatRemoteSessionOffset,
|
|
778
779
|
usePageActionsBottomPadding,
|
|
779
780
|
useRemoteSessionTimer
|
|
780
|
-
} from "../chunk-
|
|
781
|
+
} from "../chunk-GYAXV3MZ.js";
|
|
781
782
|
import {
|
|
782
783
|
CommandApprovalToast,
|
|
783
784
|
ToastCard,
|
|
@@ -789,7 +790,7 @@ import {
|
|
|
789
790
|
useOnboardingState,
|
|
790
791
|
useStickyToolbar,
|
|
791
792
|
useToast
|
|
792
|
-
} from "../chunk-
|
|
793
|
+
} from "../chunk-2TXGR7IK.js";
|
|
793
794
|
import "../chunk-3K5ZLZE7.js";
|
|
794
795
|
import {
|
|
795
796
|
useEndpointsRuntime
|
|
@@ -803,7 +804,7 @@ import {
|
|
|
803
804
|
PaginationLink,
|
|
804
805
|
PaginationNext,
|
|
805
806
|
PaginationPrevious
|
|
806
|
-
} from "../chunk-
|
|
807
|
+
} from "../chunk-3UBWDR65.js";
|
|
807
808
|
import {
|
|
808
809
|
Checkbox
|
|
809
810
|
} from "../chunk-PLWMIU72.js";
|
|
@@ -1121,7 +1122,7 @@ import {
|
|
|
1121
1122
|
useSseChatAdapter,
|
|
1122
1123
|
useStableShallow,
|
|
1123
1124
|
useUnifiedChat
|
|
1124
|
-
} from "../chunk-
|
|
1125
|
+
} from "../chunk-HXB7SEYG.js";
|
|
1125
1126
|
import {
|
|
1126
1127
|
ApprovalBatchMessage,
|
|
1127
1128
|
ApprovalStatusTag,
|
|
@@ -1143,7 +1144,7 @@ import {
|
|
|
1143
1144
|
resolveTicketStatus,
|
|
1144
1145
|
useCollapsible,
|
|
1145
1146
|
usesCanonicalStatusStyle
|
|
1146
|
-
} from "../chunk-
|
|
1147
|
+
} from "../chunk-KFOAV77K.js";
|
|
1147
1148
|
import "../chunk-AFTRPEXO.js";
|
|
1148
1149
|
import {
|
|
1149
1150
|
APPROVAL_BLOCK_VARIANT,
|
|
@@ -1167,7 +1168,7 @@ import {
|
|
|
1167
1168
|
SlashCommandSuggestions,
|
|
1168
1169
|
isStructuredContent,
|
|
1169
1170
|
normalizeContent
|
|
1170
|
-
} from "../chunk-
|
|
1171
|
+
} from "../chunk-ZZEKXGFS.js";
|
|
1171
1172
|
import {
|
|
1172
1173
|
ActionsMenu,
|
|
1173
1174
|
ActionsMenuDropdown,
|
|
@@ -1175,10 +1176,10 @@ import {
|
|
|
1175
1176
|
TooltipContent,
|
|
1176
1177
|
TooltipProvider,
|
|
1177
1178
|
TooltipTrigger
|
|
1178
|
-
} from "../chunk-
|
|
1179
|
+
} from "../chunk-REETLEL5.js";
|
|
1179
1180
|
import {
|
|
1180
1181
|
scrollElementIntoView
|
|
1181
|
-
} from "../chunk-
|
|
1182
|
+
} from "../chunk-4I3K6LEH.js";
|
|
1182
1183
|
import {
|
|
1183
1184
|
errorMessage
|
|
1184
1185
|
} from "../chunk-34I6XI3N.js";
|
|
@@ -1306,7 +1307,7 @@ import {
|
|
|
1306
1307
|
useSelfFetch,
|
|
1307
1308
|
useVideoOriginPreconnect,
|
|
1308
1309
|
useVideoWarmup
|
|
1309
|
-
} from "../chunk-
|
|
1310
|
+
} from "../chunk-NPSJE7J3.js";
|
|
1310
1311
|
import {
|
|
1311
1312
|
AgentMark
|
|
1312
1313
|
} from "../chunk-H3PKYE4N.js";
|
|
@@ -1527,7 +1528,7 @@ import {
|
|
|
1527
1528
|
Button,
|
|
1528
1529
|
SplitButton,
|
|
1529
1530
|
buttonVariants
|
|
1530
|
-
} from "../chunk-
|
|
1531
|
+
} from "../chunk-DJ4IFQNQ.js";
|
|
1531
1532
|
import {
|
|
1532
1533
|
next_link_default
|
|
1533
1534
|
} from "../chunk-DAAVMYUT.js";
|
|
@@ -4769,6 +4770,7 @@ export {
|
|
|
4769
4770
|
MinusCircleIcon,
|
|
4770
4771
|
MinusIcon,
|
|
4771
4772
|
MlgLogo,
|
|
4773
|
+
MobileAppQr,
|
|
4772
4774
|
MobileBurgerMenu,
|
|
4773
4775
|
MobileNavSheet,
|
|
4774
4776
|
MobileNavigationDropdown,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkDFM572VHcjs = require('../../chunk-DFM572VH.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkZSOFLPQNcjs = require('../../chunk-ZSOFLPQN.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -16,8 +16,8 @@ var _chunkNYSMDM4Jcjs = require('../../chunk-NYSMDM4J.cjs');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
20
|
-
require('../../chunk-
|
|
19
|
+
var _chunkUZTOI6FJcjs = require('../../chunk-UZTOI6FJ.cjs');
|
|
20
|
+
require('../../chunk-7Z5FMQYR.cjs');
|
|
21
21
|
require('../../chunk-HQQE74RO.cjs');
|
|
22
22
|
require('../../chunk-DEY6XXGO.cjs');
|
|
23
23
|
|
|
@@ -27,17 +27,17 @@ require('../../chunk-DEY6XXGO.cjs');
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkBYVVE7HPcjs = require('../../chunk-BYVVE7HP.cjs');
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
var
|
|
36
|
+
var _chunk4LY6R4TNcjs = require('../../chunk-4LY6R4TN.cjs');
|
|
37
37
|
require('../../chunk-B4NCVYEQ.cjs');
|
|
38
38
|
require('../../chunk-MZ4KBSH7.cjs');
|
|
39
39
|
require('../../chunk-A6P6DHEZ.cjs');
|
|
40
|
-
require('../../chunk-
|
|
40
|
+
require('../../chunk-BYUIFT7Q.cjs');
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
var _chunkLX22Y43Bcjs = require('../../chunk-LX22Y43B.cjs');
|
|
@@ -45,19 +45,19 @@ var _chunkLX22Y43Bcjs = require('../../chunk-LX22Y43B.cjs');
|
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
var
|
|
49
|
-
require('../../chunk-
|
|
48
|
+
var _chunkHJMSNOBTcjs = require('../../chunk-HJMSNOBT.cjs');
|
|
49
|
+
require('../../chunk-OKE5BIQH.cjs');
|
|
50
50
|
require('../../chunk-EWPR7662.cjs');
|
|
51
|
-
require('../../chunk-
|
|
52
|
-
require('../../chunk-
|
|
51
|
+
require('../../chunk-QLTXT562.cjs');
|
|
52
|
+
require('../../chunk-RUZIICXT.cjs');
|
|
53
53
|
|
|
54
54
|
|
|
55
|
-
var
|
|
55
|
+
var _chunkK2JUJ37Dcjs = require('../../chunk-K2JUJ37D.cjs');
|
|
56
56
|
require('../../chunk-WVOTC7HW.cjs');
|
|
57
57
|
require('../../chunk-7DNL734S.cjs');
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
var
|
|
60
|
+
var _chunkGCK75D7Fcjs = require('../../chunk-GCK75D7F.cjs');
|
|
61
61
|
require('../../chunk-AL2GUHAJ.cjs');
|
|
62
62
|
|
|
63
63
|
|
|
@@ -89,7 +89,7 @@ require('../../chunk-2Y7QZAB2.cjs');
|
|
|
89
89
|
require('../../chunk-4GFNWALL.cjs');
|
|
90
90
|
|
|
91
91
|
|
|
92
|
-
var
|
|
92
|
+
var _chunkHQIOMFJHcjs = require('../../chunk-HQIOMFJH.cjs');
|
|
93
93
|
|
|
94
94
|
|
|
95
95
|
var _chunkLLRGR4I5cjs = require('../../chunk-LLRGR4I5.cjs');
|
|
@@ -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(_chunkHJMSNOBTcjs.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
|
+
_chunkUZTOI6FJcjs.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, _chunkBYVVE7HPcjs.Select, { value: _nullishCoalesce(rhf.value, () => ( "")), onValueChange: rhf.onChange, children: [
|
|
569
569
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
570
|
-
|
|
570
|
+
_chunkBYVVE7HPcjs.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, _chunkBYVVE7HPcjs.SelectValue, { placeholder: "Select\u2026" })
|
|
577
577
|
}
|
|
578
578
|
),
|
|
579
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
579
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBYVVE7HPcjs.SelectContent, { children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBYVVE7HPcjs.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
|
+
_chunkUZTOI6FJcjs.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, _chunkUZTOI6FJcjs.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
|
}
|
|
@@ -732,7 +732,7 @@ function BookingForm({
|
|
|
732
732
|
() => [...BUILT_IN_BOOKING_FIELDS.map((field) => field.name), ...supportedFields.map((field) => field.name)],
|
|
733
733
|
[supportedFields]
|
|
734
734
|
);
|
|
735
|
-
const formRescue =
|
|
735
|
+
const formRescue = _chunk4LY6R4TNcjs.useRescuedForm.call(void 0,
|
|
736
736
|
{ watch, getValues, setValue },
|
|
737
737
|
{
|
|
738
738
|
rescue,
|
|
@@ -741,7 +741,7 @@ function BookingForm({
|
|
|
741
741
|
fieldPath: (name) => BUILT_IN_BOOKING_FIELDS.some((field) => field.name === name) ? name : `formFields.${name}`
|
|
742
742
|
}
|
|
743
743
|
);
|
|
744
|
-
const { toast } =
|
|
744
|
+
const { toast } = _chunk4LY6R4TNcjs.useToast.call(void 0, );
|
|
745
745
|
const onInvalid = () => {
|
|
746
746
|
if (deniedEmailDomains && emailDomainDenied(getValues("email"), deniedEmailDomains)) {
|
|
747
747
|
toast({
|
|
@@ -820,7 +820,7 @@ function BookingForm({
|
|
|
820
820
|
const { rows: placedRows, unplacedBuiltIns, named: placedNames } = normalizeFieldRows(_nullishCoalesce(fieldRows, () => ( [])), slotResolves);
|
|
821
821
|
const unplacedFields = fieldRows ? supportedFields.filter((f) => !placedNames.has(f.name)) : [];
|
|
822
822
|
const submitButton = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
823
|
-
|
|
823
|
+
_chunkHQIOMFJHcjs.Button,
|
|
824
824
|
{
|
|
825
825
|
type: "submit",
|
|
826
826
|
loading: isSubmitting,
|
|
@@ -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, ..._chunkHJMSNOBTcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS, children: [
|
|
833
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.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
|
+
_chunkUZTOI6FJcjs.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
|
+
_chunkUZTOI6FJcjs.CheckboxBlock,
|
|
882
882
|
{
|
|
883
883
|
id: `ms-consent-${box.communicationTypeId}`,
|
|
884
884
|
checked: _nullishCoalesce(_optionalChain([current, 'optionalAccess', _34 => _34.consented]), () => ( false)),
|
|
@@ -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, _chunkBYVVE7HPcjs.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,7 +1011,7 @@ 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, _chunkBYVVE7HPcjs.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: [
|
|
@@ -1052,7 +1052,7 @@ function SchedulerContextPanel({
|
|
|
1052
1052
|
!locked && durationsMs.length > 1 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
1053
1053
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS, children: "Duration" }),
|
|
1054
1054
|
/* @__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,
|
|
1055
|
-
|
|
1055
|
+
_chunkHQIOMFJHcjs.Button,
|
|
1056
1056
|
{
|
|
1057
1057
|
variant: selectedDurationMs === ms ? void 0 : "outline",
|
|
1058
1058
|
size: "small-legacy",
|
|
@@ -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
|
+
_chunkUZTOI6FJcjs.TimezoneSelect,
|
|
1077
1077
|
{
|
|
1078
1078
|
value: timezone,
|
|
1079
1079
|
disabled,
|
|
@@ -1156,18 +1156,18 @@ 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() + _chunkHJMSNOBTcjs.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
|
+
_chunkUZTOI6FJcjs.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(_chunkHJMSNOBTcjs.MAX_MONTH_OFFSET, offset)));
|
|
1171
1171
|
},
|
|
1172
1172
|
fromDate: startMonth,
|
|
1173
1173
|
toDate: endMonth,
|
|
@@ -1258,7 +1258,7 @@ function SlotPicker({
|
|
|
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,
|
|
1261
|
-
|
|
1261
|
+
_chunkHQIOMFJHcjs.Button,
|
|
1262
1262
|
{
|
|
1263
1263
|
variant: isSelected ? void 0 : "outline",
|
|
1264
1264
|
disabled: isSubmitting,
|
|
@@ -1283,8 +1283,8 @@ function SlotPicker({
|
|
|
1283
1283
|
monthLabelFor(monthOffset),
|
|
1284
1284
|
"."
|
|
1285
1285
|
] }),
|
|
1286
|
-
monthOffset <
|
|
1287
|
-
|
|
1286
|
+
monthOffset < _chunkHJMSNOBTcjs.MAX_MONTH_OFFSET && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1287
|
+
_chunkHQIOMFJHcjs.Button,
|
|
1288
1288
|
{
|
|
1289
1289
|
variant: "outline",
|
|
1290
1290
|
onClick: () => onMonthOffsetChange(monthOffset + 1),
|
|
@@ -1305,7 +1305,7 @@ function SlotPicker({
|
|
|
1305
1305
|
|
|
1306
1306
|
|
|
1307
1307
|
function useNextAvailableLabel(ms) {
|
|
1308
|
-
const hydrated =
|
|
1308
|
+
const hydrated = _chunkHJMSNOBTcjs.useIsHydrated.call(void 0, );
|
|
1309
1309
|
return _react.useMemo.call(void 0, () => {
|
|
1310
1310
|
if (!hydrated || ms == null) return null;
|
|
1311
1311
|
return _chunkF5BPGWGTcjs.formatDateWithTimezone.call(void 0, ms, _chunkF5BPGWGTcjs.VIEWER_TIMEZONE, "shortWeekdayDateTime", { viewerLocale: true }) || null;
|
|
@@ -1333,7 +1333,7 @@ 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,
|
|
1336
|
+
audienceLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.StatusBadge, { text: `For ${audienceLabel}`, singleLine: true, className: "hidden shrink-0 content-sm:inline-flex" }),
|
|
1337
1337
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIMTY3GRRcjs.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" }),
|
|
@@ -1414,7 +1414,7 @@ function MeetingSchedulerDirectory({
|
|
|
1414
1414
|
}
|
|
1415
1415
|
if (error) {
|
|
1416
1416
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex flex-col justify-center", className), style: { minHeight: rowsMinHeight + 104 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1417
|
-
|
|
1417
|
+
_chunkZSOFLPQNcjs.EmptyState,
|
|
1418
1418
|
{
|
|
1419
1419
|
type: "generic",
|
|
1420
1420
|
title: "We couldn't load available call times",
|
|
@@ -1425,7 +1425,7 @@ function MeetingSchedulerDirectory({
|
|
|
1425
1425
|
}
|
|
1426
1426
|
if (rows.length === 0) {
|
|
1427
1427
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex flex-col justify-center", className), style: { minHeight: rowsMinHeight + 104 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1428
|
-
|
|
1428
|
+
_chunkZSOFLPQNcjs.EmptyState,
|
|
1429
1429
|
{
|
|
1430
1430
|
type: "generic",
|
|
1431
1431
|
title: "No call times are published right now",
|
|
@@ -1437,7 +1437,7 @@ function MeetingSchedulerDirectory({
|
|
|
1437
1437
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex flex-col", className), children: [
|
|
1438
1438
|
/* @__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)) }),
|
|
1439
1439
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.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,
|
|
1440
|
-
|
|
1440
|
+
_chunkDFM572VHcjs.PersistentPaginationWrapper,
|
|
1441
1441
|
{
|
|
1442
1442
|
isLoading,
|
|
1443
1443
|
currentPage: page,
|
|
@@ -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 = _chunkHJMSNOBTcjs.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;
|
|
@@ -1571,8 +1571,8 @@ function HubSpotMeetingScheduler({
|
|
|
1571
1571
|
const [selectedSlot, setSelectedSlot] = _react.useState.call(void 0, null);
|
|
1572
1572
|
const [confirmation, setConfirmation] = _react.useState.call(void 0, null);
|
|
1573
1573
|
const [bookingError, setBookingError] = _react.useState.call(void 0, null);
|
|
1574
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
1575
|
-
const { toast } =
|
|
1574
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunk4LY6R4TNcjs.useHumanitySignals.call(void 0, );
|
|
1575
|
+
const { toast } = _chunk4LY6R4TNcjs.useToast.call(void 0, );
|
|
1576
1576
|
const autoAdvanceCount = _react.useRef.call(void 0, 0);
|
|
1577
1577
|
const [machineFor, setMachineFor] = _react.useState.call(void 0, meetingId);
|
|
1578
1578
|
if (machineFor !== meetingId) {
|
|
@@ -1646,7 +1646,7 @@ function HubSpotMeetingScheduler({
|
|
|
1646
1646
|
return;
|
|
1647
1647
|
}
|
|
1648
1648
|
if (result.ok && result.confirmation) {
|
|
1649
|
-
|
|
1649
|
+
_chunk4LY6R4TNcjs.completeFormRescue.call(void 0, rescue, payload[_chunkK2JUJ37Dcjs.FORM_RESCUE_ATTEMPT_FIELD]);
|
|
1650
1650
|
setConfirmation(result.confirmation);
|
|
1651
1651
|
setStep("confirmed");
|
|
1652
1652
|
_optionalChain([onBooked, 'optionalCall', _46 => _46(result.confirmation)]);
|
|
@@ -1673,7 +1673,7 @@ function HubSpotMeetingScheduler({
|
|
|
1673
1673
|
},
|
|
1674
1674
|
[book, bookingError, detailsFirst, onBooked, refetchAvailability, rescue, resetSignals, toast]
|
|
1675
1675
|
);
|
|
1676
|
-
const escapeHatch = fallbackUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1676
|
+
const escapeHatch = fallbackUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "outline", size: "small-legacy", href: fallbackUrl, openInNewTab: true, children: "Open in HubSpot" }) : null;
|
|
1677
1677
|
const backEdge = detailsFirst ? step === "slot" ? backToDetails : onBack : step === "details" ? backToSlot : onBack;
|
|
1678
1678
|
const boxed = !formOnly;
|
|
1679
1679
|
const cardClass = _chunk3ATAYP36cjs.cn.call(void 0,
|
|
@@ -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
|
+
_chunkUZTOI6FJcjs.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, _chunkUZTOI6FJcjs.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 ? (
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
import {
|
|
4
4
|
PersistentPaginationWrapper
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-6YBUQAOH.js";
|
|
6
6
|
import {
|
|
7
7
|
EmptyState
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-K76ACBR3.js";
|
|
9
9
|
import {
|
|
10
10
|
Alert,
|
|
11
11
|
AlertDescription,
|
|
@@ -16,8 +16,8 @@ import {
|
|
|
16
16
|
RadioGroupItem,
|
|
17
17
|
Textarea,
|
|
18
18
|
TimezoneSelect
|
|
19
|
-
} from "../../chunk-
|
|
20
|
-
import "../../chunk-
|
|
19
|
+
} from "../../chunk-2P2M27EW.js";
|
|
20
|
+
import "../../chunk-JDBZ4ZHU.js";
|
|
21
21
|
import "../../chunk-LQYXMEYF.js";
|
|
22
22
|
import "../../chunk-4JPLYOS6.js";
|
|
23
23
|
import {
|
|
@@ -27,17 +27,17 @@ import {
|
|
|
27
27
|
SelectItem,
|
|
28
28
|
SelectTrigger,
|
|
29
29
|
SelectValue
|
|
30
|
-
} from "../../chunk-
|
|
30
|
+
} from "../../chunk-GYAXV3MZ.js";
|
|
31
31
|
import {
|
|
32
32
|
completeFormRescue,
|
|
33
33
|
useHumanitySignals,
|
|
34
34
|
useRescuedForm,
|
|
35
35
|
useToast
|
|
36
|
-
} from "../../chunk-
|
|
36
|
+
} from "../../chunk-2TXGR7IK.js";
|
|
37
37
|
import "../../chunk-3K5ZLZE7.js";
|
|
38
38
|
import "../../chunk-HFL2F4RM.js";
|
|
39
39
|
import "../../chunk-YYYVS7CX.js";
|
|
40
|
-
import "../../chunk-
|
|
40
|
+
import "../../chunk-3UBWDR65.js";
|
|
41
41
|
import {
|
|
42
42
|
Checkbox
|
|
43
43
|
} from "../../chunk-PLWMIU72.js";
|
|
@@ -45,19 +45,19 @@ 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-HXB7SEYG.js";
|
|
49
|
+
import "../../chunk-KFOAV77K.js";
|
|
50
50
|
import "../../chunk-AFTRPEXO.js";
|
|
51
|
-
import "../../chunk-
|
|
52
|
-
import "../../chunk-
|
|
51
|
+
import "../../chunk-ZZEKXGFS.js";
|
|
52
|
+
import "../../chunk-REETLEL5.js";
|
|
53
53
|
import {
|
|
54
54
|
FORM_RESCUE_ATTEMPT_FIELD
|
|
55
|
-
} from "../../chunk-
|
|
55
|
+
} from "../../chunk-4I3K6LEH.js";
|
|
56
56
|
import "../../chunk-34I6XI3N.js";
|
|
57
57
|
import "../../chunk-GY4IZG22.js";
|
|
58
58
|
import {
|
|
59
59
|
StatusBadge
|
|
60
|
-
} from "../../chunk-
|
|
60
|
+
} from "../../chunk-NPSJE7J3.js";
|
|
61
61
|
import "../../chunk-H3PKYE4N.js";
|
|
62
62
|
import {
|
|
63
63
|
AvatarStack
|
|
@@ -89,7 +89,7 @@ import "../../chunk-WI6FHKD7.js";
|
|
|
89
89
|
import "../../chunk-INS7KZJB.js";
|
|
90
90
|
import {
|
|
91
91
|
Button
|
|
92
|
-
} from "../../chunk-
|
|
92
|
+
} from "../../chunk-DJ4IFQNQ.js";
|
|
93
93
|
import {
|
|
94
94
|
next_link_default
|
|
95
95
|
} from "../../chunk-DAAVMYUT.js";
|