@flamingo-stack/openframe-frontend-core 0.0.568-1914.5171.1 → 0.0.568
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-LYP43VO3.js → chunk-2LKVYI7H.js} +4 -4
- package/dist/{chunk-WZW5TXKM.cjs → chunk-6I76UK2Z.cjs} +3 -3
- package/dist/{chunk-WZW5TXKM.cjs.map → chunk-6I76UK2Z.cjs.map} +1 -1
- package/dist/{chunk-H6JEWGJN.cjs → chunk-6PWUUWCO.cjs} +39 -39
- package/dist/{chunk-H6JEWGJN.cjs.map → chunk-6PWUUWCO.cjs.map} +1 -1
- package/dist/{chunk-SWPLMGKK.cjs → chunk-6RSKK4E7.cjs} +479 -526
- package/dist/chunk-6RSKK4E7.cjs.map +1 -0
- package/dist/{chunk-PA47Q3JE.js → chunk-6TDWCBQM.js} +6 -6
- package/dist/{chunk-RDKJCZHY.js → chunk-B44VZF2Z.js} +9 -8
- package/dist/chunk-B44VZF2Z.js.map +1 -0
- package/dist/{chunk-OW4OF7UP.js → chunk-BZ7B255K.js} +6 -6
- package/dist/{chunk-BMHU5V5T.cjs → chunk-DHTT77AG.cjs} +62 -62
- package/dist/{chunk-BMHU5V5T.cjs.map → chunk-DHTT77AG.cjs.map} +1 -1
- package/dist/{chunk-TN4KUALQ.js → chunk-DZ2Z7HRF.js} +2 -2
- package/dist/{chunk-KVCOILLR.js → chunk-EYXZF46V.js} +1032 -1079
- package/dist/chunk-EYXZF46V.js.map +1 -0
- package/dist/{chunk-HISA2T34.js → chunk-G2PAUMV6.js} +2 -2
- package/dist/{chunk-LRFCOGYE.js → chunk-HB3IG2MC.js} +3 -3
- package/dist/{chunk-NFVQ77GG.cjs → chunk-HKG7BZON.cjs} +9 -9
- package/dist/{chunk-NFVQ77GG.cjs.map → chunk-HKG7BZON.cjs.map} +1 -1
- package/dist/{chunk-MTVLA67G.cjs → chunk-KZ3PIUCH.cjs} +14 -14
- package/dist/{chunk-MTVLA67G.cjs.map → chunk-KZ3PIUCH.cjs.map} +1 -1
- package/dist/{chunk-EWSLKRSP.cjs → chunk-KZS2DFC2.cjs} +31 -31
- package/dist/{chunk-EWSLKRSP.cjs.map → chunk-KZS2DFC2.cjs.map} +1 -1
- package/dist/{chunk-QZQUXNVF.cjs → chunk-L22CSZZU.cjs} +11 -11
- package/dist/{chunk-QZQUXNVF.cjs.map → chunk-L22CSZZU.cjs.map} +1 -1
- package/dist/{chunk-ADBY2WCW.cjs → chunk-LNUXUOPN.cjs} +4 -4
- package/dist/{chunk-ADBY2WCW.cjs.map → chunk-LNUXUOPN.cjs.map} +1 -1
- package/dist/{chunk-NQI5BF7S.cjs → chunk-LXWQLUBR.cjs} +7 -7
- package/dist/{chunk-NQI5BF7S.cjs.map → chunk-LXWQLUBR.cjs.map} +1 -1
- package/dist/{chunk-NRU3AUUP.js → chunk-MQQM4NCN.js} +2 -2
- package/dist/{chunk-I5J7RE5E.js → chunk-O3JCKEVG.js} +2 -2
- package/dist/{chunk-XOFFASWS.cjs → chunk-P7QGTNEW.cjs} +97 -97
- package/dist/{chunk-XOFFASWS.cjs.map → chunk-P7QGTNEW.cjs.map} +1 -1
- package/dist/{chunk-FXEEH6GY.js → chunk-QVQLNKFS.js} +2 -2
- package/dist/{chunk-ANDU6MPG.cjs → chunk-RBYMJF2V.cjs} +26 -26
- package/dist/{chunk-ANDU6MPG.cjs.map → chunk-RBYMJF2V.cjs.map} +1 -1
- package/dist/{chunk-7GFUYIKG.cjs → chunk-T7AE7CKV.cjs} +5 -5
- package/dist/{chunk-7GFUYIKG.cjs.map → chunk-T7AE7CKV.cjs.map} +1 -1
- package/dist/{chunk-TCVAF576.js → chunk-VEXTUGUA.js} +4 -4
- package/dist/{chunk-4LHEQMOV.cjs → chunk-WPPBPRFU.cjs} +9 -8
- package/dist/chunk-WPPBPRFU.cjs.map +1 -0
- package/dist/{chunk-ED6F54AE.cjs → chunk-Y2BYHTEN.cjs} +29 -29
- package/dist/{chunk-ED6F54AE.cjs.map → chunk-Y2BYHTEN.cjs.map} +1 -1
- package/dist/{chunk-A3FU7F26.js → chunk-ZARYIFCI.js} +2 -2
- package/dist/{chunk-RGEFDRKL.js → chunk-ZIZJDXUI.js} +2 -2
- package/dist/{chunk-WC4CFOYB.js → chunk-ZXASQL3E.js} +2 -2
- package/dist/components/case-studies/index.cjs +9 -9
- package/dist/components/case-studies/index.js +3 -3
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/index.js +2 -2
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/contact/index.js +3 -3
- package/dist/components/docs/index.cjs +6 -6
- package/dist/components/docs/index.js +5 -5
- package/dist/components/embeds/claude-embed.d.ts +1 -9
- package/dist/components/embeds/claude-embed.d.ts.map +1 -1
- package/dist/components/embeds/embed-viewer-frame.d.ts +1 -8
- package/dist/components/embeds/embed-viewer-frame.d.ts.map +1 -1
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/embeds/index.js +3 -3
- package/dist/components/faq/index.cjs +4 -4
- package/dist/components/faq/index.js +3 -3
- package/dist/components/features/command-box.d.ts +5 -1
- package/dist/components/features/command-box.d.ts.map +1 -1
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/index.js +2 -2
- package/dist/components/help-center-pages/index.cjs +23 -23
- package/dist/components/help-center-pages/index.js +14 -14
- package/dist/components/index.cjs +144 -144
- package/dist/components/index.js +12 -12
- package/dist/components/meeting-scheduler/index.cjs +60 -60
- package/dist/components/meeting-scheduler/index.js +4 -4
- package/dist/components/navigation/index.cjs +3 -3
- package/dist/components/navigation/index.js +2 -2
- package/dist/components/onboarding-guides/index.cjs +6 -6
- package/dist/components/onboarding-guides/index.js +5 -5
- package/dist/components/related-content/index.cjs +4 -4
- package/dist/components/related-content/index.js +3 -3
- package/dist/components/tickets/index.cjs +7 -7
- package/dist/components/tickets/index.js +6 -6
- package/dist/components/ui/autocomplete.d.ts +2 -0
- package/dist/components/ui/autocomplete.d.ts.map +1 -1
- package/dist/components/ui/field-wrapper.d.ts +7 -0
- package/dist/components/ui/field-wrapper.d.ts.map +1 -1
- package/dist/components/ui/file-manager/index.cjs +36 -36
- package/dist/components/ui/file-manager/index.js +1 -1
- package/dist/components/ui/index.cjs +3 -3
- package/dist/components/ui/index.js +2 -2
- package/dist/components/ui/markdown/rich/embed-overrides.d.ts.map +1 -1
- package/dist/components/ui/markdown/rich/shortcodes.d.ts.map +1 -1
- package/dist/components/ui/markdown/sanitize.d.ts.map +1 -1
- package/dist/components/ui/select.d.ts +2 -0
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/tab-selector.d.ts.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.js +2 -2
- package/dist/types/design-doc.d.ts +0 -7
- package/dist/types/design-doc.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/embeds/claude-embed.tsx +7 -38
- package/src/components/embeds/embed-viewer-frame.tsx +4 -78
- package/src/components/features/command-box.tsx +36 -10
- package/src/components/ui/autocomplete.tsx +4 -1
- package/src/components/ui/field-wrapper.tsx +15 -7
- package/src/components/ui/markdown/rich/__tests__/shortcodes.test.ts +0 -42
- package/src/components/ui/markdown/rich/embed-overrides.tsx +0 -1
- package/src/components/ui/markdown/rich/shortcodes.ts +6 -20
- package/src/components/ui/markdown/sanitize.ts +0 -5
- package/src/components/ui/select.tsx +4 -2
- package/src/components/ui/tab-selector.tsx +6 -2
- package/src/types/design-doc.ts +0 -7
- package/dist/chunk-4LHEQMOV.cjs.map +0 -1
- package/dist/chunk-KVCOILLR.js.map +0 -1
- package/dist/chunk-RDKJCZHY.js.map +0 -1
- package/dist/chunk-SWPLMGKK.cjs.map +0 -1
- /package/dist/{chunk-LYP43VO3.js.map → chunk-2LKVYI7H.js.map} +0 -0
- /package/dist/{chunk-PA47Q3JE.js.map → chunk-6TDWCBQM.js.map} +0 -0
- /package/dist/{chunk-OW4OF7UP.js.map → chunk-BZ7B255K.js.map} +0 -0
- /package/dist/{chunk-TN4KUALQ.js.map → chunk-DZ2Z7HRF.js.map} +0 -0
- /package/dist/{chunk-HISA2T34.js.map → chunk-G2PAUMV6.js.map} +0 -0
- /package/dist/{chunk-LRFCOGYE.js.map → chunk-HB3IG2MC.js.map} +0 -0
- /package/dist/{chunk-NRU3AUUP.js.map → chunk-MQQM4NCN.js.map} +0 -0
- /package/dist/{chunk-I5J7RE5E.js.map → chunk-O3JCKEVG.js.map} +0 -0
- /package/dist/{chunk-FXEEH6GY.js.map → chunk-QVQLNKFS.js.map} +0 -0
- /package/dist/{chunk-TCVAF576.js.map → chunk-VEXTUGUA.js.map} +0 -0
- /package/dist/{chunk-A3FU7F26.js.map → chunk-ZARYIFCI.js.map} +0 -0
- /package/dist/{chunk-RGEFDRKL.js.map → chunk-ZIZJDXUI.js.map} +0 -0
- /package/dist/{chunk-WC4CFOYB.js.map → chunk-ZXASQL3E.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-MQQM4NCN.js";
|
|
8
8
|
import {
|
|
9
9
|
DeliveryLists,
|
|
10
10
|
DeliveryTable,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
RoadmapView,
|
|
19
19
|
useLegalDocs,
|
|
20
20
|
useRoadmapVoting
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-BZ7B255K.js";
|
|
22
22
|
import {
|
|
23
23
|
AnnouncementBarSkeleton,
|
|
24
24
|
ArticleLayoutSkeleton,
|
|
@@ -51,22 +51,22 @@ import {
|
|
|
51
51
|
useDocNavigation,
|
|
52
52
|
useDocumentTree,
|
|
53
53
|
useScrollSpy
|
|
54
|
-
} from "../chunk-
|
|
54
|
+
} from "../chunk-2LKVYI7H.js";
|
|
55
55
|
import {
|
|
56
56
|
FileDownloadCard,
|
|
57
57
|
GoogleSheetsViewer,
|
|
58
58
|
PdfViewer
|
|
59
|
-
} from "../chunk-
|
|
59
|
+
} from "../chunk-ZARYIFCI.js";
|
|
60
60
|
import {
|
|
61
61
|
PersistentPagination,
|
|
62
62
|
PersistentPaginationWrapper,
|
|
63
63
|
usePaginationLoading
|
|
64
|
-
} from "../chunk-
|
|
64
|
+
} from "../chunk-ZIZJDXUI.js";
|
|
65
65
|
import {
|
|
66
66
|
FaqAccordion,
|
|
67
67
|
FaqDocumentPage,
|
|
68
68
|
FaqSection
|
|
69
|
-
} from "../chunk-
|
|
69
|
+
} from "../chunk-G2PAUMV6.js";
|
|
70
70
|
import {
|
|
71
71
|
DeliveryRow,
|
|
72
72
|
DevCardRowContent,
|
|
@@ -74,16 +74,16 @@ import {
|
|
|
74
74
|
DevCardRowSkeletonList,
|
|
75
75
|
DevSectionPage,
|
|
76
76
|
DevSectionView
|
|
77
|
-
} from "../chunk-
|
|
77
|
+
} from "../chunk-O3JCKEVG.js";
|
|
78
78
|
import {
|
|
79
79
|
EmptyState,
|
|
80
80
|
UnifiedPagination,
|
|
81
81
|
init_unified_pagination
|
|
82
|
-
} from "../chunk-
|
|
82
|
+
} from "../chunk-QVQLNKFS.js";
|
|
83
83
|
import {
|
|
84
84
|
ArticleAuthorByline,
|
|
85
85
|
DetailPageSkeleton
|
|
86
|
-
} from "../chunk-
|
|
86
|
+
} from "../chunk-DZ2Z7HRF.js";
|
|
87
87
|
import {
|
|
88
88
|
DocSearchBar,
|
|
89
89
|
DocSearchResultRow,
|
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
mapDocSearchResults,
|
|
92
92
|
resolveSearchResultAction,
|
|
93
93
|
useDocSearch
|
|
94
|
-
} from "../chunk-
|
|
94
|
+
} from "../chunk-ZXASQL3E.js";
|
|
95
95
|
import {
|
|
96
96
|
useSelfFetch
|
|
97
97
|
} from "../chunk-KL6ZDLDF.js";
|
|
@@ -1003,7 +1003,7 @@ import {
|
|
|
1003
1003
|
useVideoWarmup,
|
|
1004
1004
|
useWalkthroughVideo,
|
|
1005
1005
|
usesCanonicalStatusStyle
|
|
1006
|
-
} from "../chunk-
|
|
1006
|
+
} from "../chunk-EYXZF46V.js";
|
|
1007
1007
|
import "../chunk-7EUIW46X.js";
|
|
1008
1008
|
import {
|
|
1009
1009
|
next_image_default
|
|
@@ -1222,7 +1222,7 @@ import {
|
|
|
1222
1222
|
SkeletonList,
|
|
1223
1223
|
SkeletonNavigation,
|
|
1224
1224
|
SkeletonText
|
|
1225
|
-
} from "../chunk-
|
|
1225
|
+
} from "../chunk-B44VZF2Z.js";
|
|
1226
1226
|
import "../chunk-6U3IUD57.js";
|
|
1227
1227
|
import {
|
|
1228
1228
|
Button,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk6I76UK2Zcjs = require('../../chunk-6I76UK2Z.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkLNUXUOPNcjs = require('../../chunk-LNUXUOPN.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -24,7 +24,7 @@ var _chunkADBY2WCWcjs = require('../../chunk-ADBY2WCW.cjs');
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunk6RSKK4E7cjs = require('../../chunk-6RSKK4E7.cjs');
|
|
28
28
|
require('../../chunk-C5RS3QLV.cjs');
|
|
29
29
|
require('../../chunk-XL4V2PYG.cjs');
|
|
30
30
|
require('../../chunk-BZFW3FOF.cjs');
|
|
@@ -43,7 +43,7 @@ require('../../chunk-CEAAOVCV.cjs');
|
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
var
|
|
46
|
+
var _chunkWPPBPRFUcjs = require('../../chunk-WPPBPRFU.cjs');
|
|
47
47
|
require('../../chunk-WZW7C7TF.cjs');
|
|
48
48
|
|
|
49
49
|
|
|
@@ -83,7 +83,7 @@ function useMeetingBooking(options) {
|
|
|
83
83
|
const seededOffset = _optionalChain([initialAvailability, 'optionalAccess', _2 => _2.meetingId]) === meetingId ? initialAvailability.monthOffset : void 0;
|
|
84
84
|
const [monthOffset, setMonthOffsetState] = _react.useState.call(void 0, _nullishCoalesce(seededOffset, () => ( 0)));
|
|
85
85
|
const setMonthOffset = _react.useCallback.call(void 0, (offset) => {
|
|
86
|
-
setMonthOffsetState(Math.max(0, Math.min(
|
|
86
|
+
setMonthOffsetState(Math.max(0, Math.min(_chunk6RSKK4E7cjs.MAX_MONTH_OFFSET, offset)));
|
|
87
87
|
}, []);
|
|
88
88
|
const prevMeetingIdRef = _react.useRef.call(void 0, meetingId);
|
|
89
89
|
_react.useLayoutEffect.call(void 0, () => {
|
|
@@ -276,21 +276,21 @@ function ContextPanelSkeleton({
|
|
|
276
276
|
backLabel = "Back"
|
|
277
277
|
}) {
|
|
278
278
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkKI4EGKNVcjs.cn.call(void 0, PANEL_STACK, className), children: [
|
|
279
|
-
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
279
|
+
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6RSKK4E7cjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
|
|
280
280
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_BODY, children: [
|
|
281
281
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: STRIP_MAIN, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: IDENTITY_ROW, children: [
|
|
282
282
|
/* @__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: [
|
|
283
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
283
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-8 w-8 shrink-0 rounded-full" }),
|
|
284
284
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
285
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
286
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
285
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-5 w-32" }),
|
|
286
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-4 w-24" })
|
|
287
287
|
] })
|
|
288
288
|
] }),
|
|
289
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
289
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-4 w-20 shrink-0" })
|
|
290
290
|
] }) }),
|
|
291
291
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_ASIDE, children: [
|
|
292
292
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS, children: "Timezone" }),
|
|
293
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
293
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-12 w-full" })
|
|
294
294
|
] })
|
|
295
295
|
] })
|
|
296
296
|
] });
|
|
@@ -323,13 +323,13 @@ function SchedulerContextPanel({
|
|
|
323
323
|
return zones.map((tz) => ({ value: tz, label: zoneLabel(tz) }));
|
|
324
324
|
}, [timezone]);
|
|
325
325
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkKI4EGKNVcjs.cn.call(void 0, PANEL_STACK, className), children: [
|
|
326
|
-
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
326
|
+
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6RSKK4E7cjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
|
|
327
327
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_BODY, children: [
|
|
328
328
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_MAIN, children: [
|
|
329
329
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: IDENTITY_ROW, children: [
|
|
330
330
|
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: [
|
|
331
331
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
332
|
-
|
|
332
|
+
_chunk6RSKK4E7cjs.SquareAvatar,
|
|
333
333
|
{
|
|
334
334
|
variant: "round",
|
|
335
335
|
size: "sm",
|
|
@@ -344,7 +344,7 @@ function SchedulerContextPanel({
|
|
|
344
344
|
] })
|
|
345
345
|
] }, host.name)) }),
|
|
346
346
|
hosts.length > 3 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
347
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
347
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6RSKK4E7cjs.AvatarStack, { people: hosts, max: 4, size: "lg" }),
|
|
348
348
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-h6 text-ods-text-secondary", children: [
|
|
349
349
|
hosts.length,
|
|
350
350
|
" hosts on this calendar"
|
|
@@ -354,7 +354,7 @@ function SchedulerContextPanel({
|
|
|
354
354
|
// Post-selection, or a link that offers one length: a static line,
|
|
355
355
|
// which is what sits beside the host on the header-strip layouts.
|
|
356
356
|
selectedDurationMs != null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "shrink-0 text-h6 text-ods-text-secondary", children: [
|
|
357
|
-
|
|
357
|
+
_chunk6RSKK4E7cjs.formatDurationCompact.call(void 0, selectedDurationMs / 1e3),
|
|
358
358
|
" call"
|
|
359
359
|
] })
|
|
360
360
|
) : null
|
|
@@ -369,7 +369,7 @@ function SchedulerContextPanel({
|
|
|
369
369
|
variant: selectedDurationMs === ms ? void 0 : "outline",
|
|
370
370
|
size: "small-legacy",
|
|
371
371
|
onClick: () => onSelectDuration(ms),
|
|
372
|
-
children:
|
|
372
|
+
children: _chunk6RSKK4E7cjs.formatDurationCompact.call(void 0, ms / 1e3)
|
|
373
373
|
},
|
|
374
374
|
ms
|
|
375
375
|
)) })
|
|
@@ -384,7 +384,7 @@ function SchedulerContextPanel({
|
|
|
384
384
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkKI4EGKNVcjs.cn.call(void 0, STRIP_ASIDE, locked && "max-lg:hidden"), children: [
|
|
385
385
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS, children: "Timezone" }),
|
|
386
386
|
timezone ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
387
|
-
|
|
387
|
+
_chunk6RSKK4E7cjs.Autocomplete,
|
|
388
388
|
{
|
|
389
389
|
value: timezone,
|
|
390
390
|
onChange: (tz) => {
|
|
@@ -395,7 +395,7 @@ function SchedulerContextPanel({
|
|
|
395
395
|
noOptionsText: "No matching timezone",
|
|
396
396
|
showClearAll: false
|
|
397
397
|
}
|
|
398
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
398
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-12 w-full" })
|
|
399
399
|
] })
|
|
400
400
|
] })
|
|
401
401
|
] });
|
|
@@ -471,21 +471,21 @@ var NOOP = () => void 0;
|
|
|
471
471
|
function DayCalendar({ monthOffset, onMonthOffsetChange, selectedDay, onSelectDay, slotsByDay }) {
|
|
472
472
|
const now = /* @__PURE__ */ new Date();
|
|
473
473
|
const startMonth = new Date(now.getFullYear(), now.getMonth(), 1);
|
|
474
|
-
const endMonth = new Date(now.getFullYear(), now.getMonth() +
|
|
474
|
+
const endMonth = new Date(now.getFullYear(), now.getMonth() + _chunk6RSKK4E7cjs.MAX_MONTH_OFFSET + 1, 0);
|
|
475
475
|
const visibleMonth = new Date(now.getFullYear(), now.getMonth() + monthOffset, 1);
|
|
476
476
|
const dayHasNoSlots = _react.useCallback.call(void 0,
|
|
477
477
|
(day) => !_optionalChain([slotsByDay, 'optionalAccess', _9 => _9.has, 'call', _10 => _10(calendarDayKey(day))]),
|
|
478
478
|
[slotsByDay]
|
|
479
479
|
);
|
|
480
480
|
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,
|
|
481
|
-
|
|
481
|
+
_chunk6RSKK4E7cjs.DatePickerCalendar,
|
|
482
482
|
{
|
|
483
483
|
mode: "single",
|
|
484
484
|
bare: true,
|
|
485
485
|
month: visibleMonth,
|
|
486
486
|
onMonthChange: (month) => {
|
|
487
487
|
const offset = (month.getFullYear() - now.getFullYear()) * 12 + (month.getMonth() - now.getMonth());
|
|
488
|
-
onMonthOffsetChange(Math.max(0, Math.min(
|
|
488
|
+
onMonthOffsetChange(Math.max(0, Math.min(_chunk6RSKK4E7cjs.MAX_MONTH_OFFSET, offset)));
|
|
489
489
|
},
|
|
490
490
|
fromDate: startMonth,
|
|
491
491
|
toDate: endMonth,
|
|
@@ -520,10 +520,10 @@ function SlotPickerSkeleton({ monthOffset = 0 }) {
|
|
|
520
520
|
}
|
|
521
521
|
function TimeChipsSkeleton() {
|
|
522
522
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
523
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: COLUMN_HEADING_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
523
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: COLUMN_HEADING_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "inline-block h-4 w-40 align-middle" }) }),
|
|
524
524
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CHIP_GRID_CLASS, children: Array.from({ length: 16 }, (_, i) => (
|
|
525
525
|
// h-11 md:h-12 — the loaded chip's own default-size height.
|
|
526
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
526
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: _chunkKI4EGKNVcjs.cn.call(void 0, CHIP_CLASS, "h-11 md:h-12") }, i)
|
|
527
527
|
)) })
|
|
528
528
|
] });
|
|
529
529
|
}
|
|
@@ -599,7 +599,7 @@ function SlotPicker({
|
|
|
599
599
|
monthLabelFor(monthOffset),
|
|
600
600
|
"."
|
|
601
601
|
] }),
|
|
602
|
-
monthOffset <
|
|
602
|
+
monthOffset < _chunk6RSKK4E7cjs.MAX_MONTH_OFFSET && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
603
603
|
_chunk7INXXQVKcjs.Button,
|
|
604
604
|
{
|
|
605
605
|
variant: "outline",
|
|
@@ -668,9 +668,9 @@ function BookingForm({
|
|
|
668
668
|
const inputClass = "bg-ods-card border-ods-border text-ods-text-primary placeholder-ods-text-secondary px-3 h-11 md:h-12";
|
|
669
669
|
const FORM_STACK = "flex flex-col gap-[var(--spacing-system-l)]";
|
|
670
670
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: submit, className: FORM_STACK, noValidate: true, children: [
|
|
671
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
672
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
673
|
-
|
|
671
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6RSKK4E7cjs.HoneypotField, { ...honeypotInputProps }),
|
|
672
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.FieldWrapper, { label: "Email", htmlFor: "ms-email", error: _optionalChain([errors, 'access', _17 => _17.email, 'optionalAccess', _18 => _18.message]), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
673
|
+
_chunkWPPBPRFUcjs.Input,
|
|
674
674
|
{
|
|
675
675
|
id: "ms-email",
|
|
676
676
|
type: "email",
|
|
@@ -683,8 +683,8 @@ function BookingForm({
|
|
|
683
683
|
}
|
|
684
684
|
) }),
|
|
685
685
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-2 gap-[var(--spacing-system-m)]", children: [
|
|
686
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
687
|
-
|
|
686
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.FieldWrapper, { label: "First Name", htmlFor: "ms-first-name", error: _optionalChain([errors, 'access', _19 => _19.firstName, 'optionalAccess', _20 => _20.message]), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
687
|
+
_chunkWPPBPRFUcjs.Input,
|
|
688
688
|
{
|
|
689
689
|
id: "ms-first-name",
|
|
690
690
|
required: true,
|
|
@@ -695,8 +695,8 @@ function BookingForm({
|
|
|
695
695
|
...register("firstName")
|
|
696
696
|
}
|
|
697
697
|
) }),
|
|
698
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
699
|
-
|
|
698
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.FieldWrapper, { label: "Last Name", htmlFor: "ms-last-name", error: _optionalChain([errors, 'access', _21 => _21.lastName, 'optionalAccess', _22 => _22.message]), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
699
|
+
_chunkWPPBPRFUcjs.Input,
|
|
700
700
|
{
|
|
701
701
|
id: "ms-last-name",
|
|
702
702
|
required: true,
|
|
@@ -709,14 +709,14 @@ function BookingForm({
|
|
|
709
709
|
) })
|
|
710
710
|
] }),
|
|
711
711
|
supportedFields.map((field) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
712
|
-
|
|
712
|
+
_chunkWPPBPRFUcjs.FieldWrapper,
|
|
713
713
|
{
|
|
714
714
|
label: field.label,
|
|
715
715
|
htmlFor: `ms-q-${field.name}`,
|
|
716
716
|
error: fieldError(field.name),
|
|
717
717
|
children: [
|
|
718
718
|
field.type === "textarea" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
719
|
-
|
|
719
|
+
_chunk6RSKK4E7cjs.Textarea,
|
|
720
720
|
{
|
|
721
721
|
id: `ms-q-${field.name}`,
|
|
722
722
|
className: "bg-ods-card border-ods-border text-ods-text-primary placeholder-ods-text-secondary px-3",
|
|
@@ -724,7 +724,7 @@ function BookingForm({
|
|
|
724
724
|
}
|
|
725
725
|
),
|
|
726
726
|
field.type === "text" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
727
|
-
|
|
727
|
+
_chunkWPPBPRFUcjs.Input,
|
|
728
728
|
{
|
|
729
729
|
id: `ms-q-${field.name}`,
|
|
730
730
|
className: "bg-ods-card border-ods-border text-ods-text-primary placeholder-ods-text-secondary px-3 h-11 md:h-12",
|
|
@@ -736,12 +736,12 @@ function BookingForm({
|
|
|
736
736
|
{
|
|
737
737
|
control,
|
|
738
738
|
name: `formFields.${field.name}`,
|
|
739
|
-
render: ({ field: rhf }) => field.type === "select" ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
740
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
741
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
742
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
743
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
744
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
739
|
+
render: ({ field: rhf }) => field.type === "select" ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk6RSKK4E7cjs.Select, { value: _nullishCoalesce(rhf.value, () => ( "")), onValueChange: rhf.onChange, children: [
|
|
740
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6RSKK4E7cjs.SelectTrigger, { id: `ms-q-${field.name}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6RSKK4E7cjs.SelectValue, { placeholder: "Select\u2026" }) }),
|
|
741
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6RSKK4E7cjs.SelectContent, { children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6RSKK4E7cjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
742
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6RSKK4E7cjs.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: [
|
|
743
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6RSKK4E7cjs.RadioGroupItem, { id: `ms-q-${field.name}-${opt}`, value: opt }),
|
|
744
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Label, { htmlFor: `ms-q-${field.name}-${opt}`, children: opt })
|
|
745
745
|
] }, opt)) })
|
|
746
746
|
}
|
|
747
747
|
),
|
|
@@ -755,7 +755,7 @@ function BookingForm({
|
|
|
755
755
|
// binds to this id — a second inline label would double the
|
|
756
756
|
// visible text AND the accessible name.
|
|
757
757
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
758
|
-
|
|
758
|
+
_chunkWPPBPRFUcjs.Checkbox,
|
|
759
759
|
{
|
|
760
760
|
id: `ms-q-${field.name}`,
|
|
761
761
|
checked: Boolean(rhf.value),
|
|
@@ -773,7 +773,7 @@ function BookingForm({
|
|
|
773
773
|
// box doesn't shove the submit button down the card. With no error the
|
|
774
774
|
// wrapper is `display:contents` and the panel below is the flex item,
|
|
775
775
|
// exactly as it was.
|
|
776
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
776
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.FieldWrapper, { error: _optionalChain([errors, 'access', _23 => _23.legalConsentResponses, 'optionalAccess', _24 => _24.message]), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)] border border-ods-border rounded-md p-[var(--spacing-system-m)]", children: [
|
|
777
777
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 text-ods-text-secondary", children: legalConsent.processingConsentText }),
|
|
778
778
|
legalConsent.communicationConsentText && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 text-ods-text-secondary", children: legalConsent.communicationConsentText }),
|
|
779
779
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -786,7 +786,7 @@ function BookingForm({
|
|
|
786
786
|
const current = responses.find((r) => r.communicationTypeId === box.communicationTypeId);
|
|
787
787
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
788
788
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
789
|
-
|
|
789
|
+
_chunkWPPBPRFUcjs.Checkbox,
|
|
790
790
|
{
|
|
791
791
|
id: `ms-consent-${box.communicationTypeId}`,
|
|
792
792
|
checked: _nullishCoalesce(_optionalChain([current, 'optionalAccess', _25 => _25.consented]), () => ( false)),
|
|
@@ -797,7 +797,7 @@ function BookingForm({
|
|
|
797
797
|
)
|
|
798
798
|
}
|
|
799
799
|
),
|
|
800
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
800
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Label, { htmlFor: `ms-consent-${box.communicationTypeId}`, children: box.label })
|
|
801
801
|
] }, box.communicationTypeId);
|
|
802
802
|
}) })
|
|
803
803
|
}
|
|
@@ -827,7 +827,7 @@ function Confirmation({ confirmation, timezone }) {
|
|
|
827
827
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-h6 text-ods-text-secondary", children: [
|
|
828
828
|
when,
|
|
829
829
|
" \xB7 ",
|
|
830
|
-
|
|
830
|
+
_chunk6RSKK4E7cjs.formatDurationCompact.call(void 0, confirmation.durationMs / 1e3)
|
|
831
831
|
] }),
|
|
832
832
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 text-ods-text-secondary", children: "A calendar invite is on its way to your email." })
|
|
833
833
|
] });
|
|
@@ -867,7 +867,7 @@ function DirectoryRow({
|
|
|
867
867
|
const nextLabel = useNextAvailableLabel(link.nextAvailableMs);
|
|
868
868
|
const subtitle = [
|
|
869
869
|
link.description,
|
|
870
|
-
link.durationsMinutes.length > 0 ? link.durationsMinutes.map((m) =>
|
|
870
|
+
link.durationsMinutes.length > 0 ? link.durationsMinutes.map((m) => _chunk6RSKK4E7cjs.formatDurationCompact.call(void 0, m * 60)).join(" / ") : null,
|
|
871
871
|
link.kind === "team" ? "Team" : null
|
|
872
872
|
].filter(Boolean).join(" \u2022 ");
|
|
873
873
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -881,8 +881,8 @@ function DirectoryRow({
|
|
|
881
881
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h3 text-ods-text-primary truncate", children: link.title }),
|
|
882
882
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 text-ods-text-secondary truncate", children: subtitle })
|
|
883
883
|
] }),
|
|
884
|
-
audienceLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
885
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
884
|
+
audienceLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6RSKK4E7cjs.StatusBadge, { text: `For ${audienceLabel}`, singleLine: true, className: "shrink-0 hidden sm:inline-flex" }),
|
|
885
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6RSKK4E7cjs.AvatarStack, { people: link.hosts, max: 3, size: "md", className: "flex shrink-0" }),
|
|
886
886
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "hidden md:flex w-44 shrink-0 flex-col items-end justify-center", children: [
|
|
887
887
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 text-ods-text-secondary", children: "Next available" }),
|
|
888
888
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 text-ods-text-primary min-h-5", children: link.nextAvailableMs == null ? "No times published" : _nullishCoalesce(nextLabel, () => ( " ")) })
|
|
@@ -895,16 +895,16 @@ function DirectoryRow({
|
|
|
895
895
|
function MeetingSchedulerDirectoryRowSkeleton() {
|
|
896
896
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-4 px-4 py-3 min-h-20 rounded-lg border border-ods-border bg-ods-card", children: [
|
|
897
897
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center gap-1", children: [
|
|
898
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
899
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
898
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-5 w-1/2" }),
|
|
899
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-4 w-1/3" })
|
|
900
900
|
] }),
|
|
901
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
902
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
901
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "hidden sm:block h-6 w-28 shrink-0" }),
|
|
902
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-10 w-10 shrink-0 rounded-full" }),
|
|
903
903
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "hidden md:flex w-44 shrink-0 flex-col items-end gap-1", children: [
|
|
904
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
905
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
904
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-4 w-24" }),
|
|
905
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-5 w-32" })
|
|
906
906
|
] }),
|
|
907
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
907
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "size-12 shrink-0 rounded-md" })
|
|
908
908
|
] });
|
|
909
909
|
}
|
|
910
910
|
var PAGINATION_SLOT_H = "h-[4.5rem]";
|
|
@@ -957,12 +957,12 @@ function MeetingSchedulerDirectory({
|
|
|
957
957
|
if (isLoading && !data) {
|
|
958
958
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkKI4EGKNVcjs.cn.call(void 0, "flex flex-col", className), children: [
|
|
959
959
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col gap-4", style: { minHeight: rowsMinHeight }, children: Array.from({ length: pageSize }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MeetingSchedulerDirectoryRowSkeleton, {}, i)) }),
|
|
960
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkKI4EGKNVcjs.cn.call(void 0, "mt-8 flex w-full items-center justify-center", PAGINATION_SLOT_H), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
960
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkKI4EGKNVcjs.cn.call(void 0, "mt-8 flex w-full items-center justify-center", PAGINATION_SLOT_H), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPPBPRFUcjs.Skeleton, { className: "h-10 w-64" }) })
|
|
961
961
|
] });
|
|
962
962
|
}
|
|
963
963
|
if (error) {
|
|
964
964
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkKI4EGKNVcjs.cn.call(void 0, "flex flex-col justify-center", className), style: { minHeight: rowsMinHeight + 104 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
965
|
-
|
|
965
|
+
_chunkLNUXUOPNcjs.EmptyState,
|
|
966
966
|
{
|
|
967
967
|
type: "generic",
|
|
968
968
|
title: "We couldn't load available call times",
|
|
@@ -973,7 +973,7 @@ function MeetingSchedulerDirectory({
|
|
|
973
973
|
}
|
|
974
974
|
if (rows.length === 0) {
|
|
975
975
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkKI4EGKNVcjs.cn.call(void 0, "flex flex-col justify-center", className), style: { minHeight: rowsMinHeight + 104 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
976
|
-
|
|
976
|
+
_chunkLNUXUOPNcjs.EmptyState,
|
|
977
977
|
{
|
|
978
978
|
type: "generic",
|
|
979
979
|
title: "No call times are published right now",
|
|
@@ -985,7 +985,7 @@ function MeetingSchedulerDirectory({
|
|
|
985
985
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkKI4EGKNVcjs.cn.call(void 0, "flex flex-col", className), children: [
|
|
986
986
|
/* @__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)) }),
|
|
987
987
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkKI4EGKNVcjs.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,
|
|
988
|
-
|
|
988
|
+
_chunk6I76UK2Zcjs.PersistentPaginationWrapper,
|
|
989
989
|
{
|
|
990
990
|
isLoading,
|
|
991
991
|
currentPage: page,
|
|
@@ -1194,7 +1194,7 @@ function HubSpotMeetingScheduler({
|
|
|
1194
1194
|
}).format(new Date(selectedSlot)),
|
|
1195
1195
|
" ",
|
|
1196
1196
|
"\xB7 ",
|
|
1197
|
-
|
|
1197
|
+
_chunk6RSKK4E7cjs.formatDurationCompact.call(void 0, durationMs / 1e3)
|
|
1198
1198
|
] }),
|
|
1199
1199
|
bookingError && bookingError !== "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-start gap-[var(--spacing-system-xs)]", children: [
|
|
1200
1200
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 text-ods-error", children: bookingError === "TEMPORARILY_UNAVAILABLE" ? "Scheduling is briefly unavailable \u2014 please try again in a minute." : bookingError === "MEETING_UNAVAILABLE" ? "This meeting type has reached its booking limit for today \u2014 try another time or contact us." : bookingError === "LINK_GONE" ? "This meeting type is no longer available." : "Please double-check your details and try again." }),
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
import {
|
|
4
4
|
PersistentPaginationWrapper
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-ZIZJDXUI.js";
|
|
6
6
|
import {
|
|
7
7
|
EmptyState
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-QVQLNKFS.js";
|
|
9
9
|
import {
|
|
10
10
|
Autocomplete,
|
|
11
11
|
AvatarStack,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
StatusBadge,
|
|
25
25
|
Textarea,
|
|
26
26
|
formatDurationCompact
|
|
27
|
-
} from "../../chunk-
|
|
27
|
+
} from "../../chunk-EYXZF46V.js";
|
|
28
28
|
import "../../chunk-7EUIW46X.js";
|
|
29
29
|
import "../../chunk-LXC6P2EO.js";
|
|
30
30
|
import "../../chunk-EL5YVPD5.js";
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
Input,
|
|
44
44
|
Label,
|
|
45
45
|
Skeleton
|
|
46
|
-
} from "../../chunk-
|
|
46
|
+
} from "../../chunk-B44VZF2Z.js";
|
|
47
47
|
import "../../chunk-6U3IUD57.js";
|
|
48
48
|
import {
|
|
49
49
|
Button
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
38
|
+
var _chunk6RSKK4E7cjs = require('../../chunk-6RSKK4E7.cjs');
|
|
39
39
|
require('../../chunk-C5RS3QLV.cjs');
|
|
40
40
|
require('../../chunk-XL4V2PYG.cjs');
|
|
41
41
|
require('../../chunk-BZFW3FOF.cjs');
|
|
@@ -45,7 +45,7 @@ require('../../chunk-3M2MFP2Y.cjs');
|
|
|
45
45
|
require('../../chunk-UTVOBFXR.cjs');
|
|
46
46
|
require('../../chunk-XQFFGR6U.cjs');
|
|
47
47
|
require('../../chunk-CEAAOVCV.cjs');
|
|
48
|
-
require('../../chunk-
|
|
48
|
+
require('../../chunk-WPPBPRFU.cjs');
|
|
49
49
|
require('../../chunk-WZW7C7TF.cjs');
|
|
50
50
|
require('../../chunk-7INXXQVK.cjs');
|
|
51
51
|
require('../../chunk-WBR7H6E3.cjs');
|
|
@@ -87,5 +87,5 @@ require('../../chunk-VRHGVLSL.cjs');
|
|
|
87
87
|
|
|
88
88
|
|
|
89
89
|
|
|
90
|
-
exports.AppHeader =
|
|
90
|
+
exports.AppHeader = _chunk6RSKK4E7cjs.AppHeader; exports.AppLayout = _chunk6RSKK4E7cjs.AppLayout; exports.AppLayoutDrawer = _chunk6RSKK4E7cjs.AppLayoutDrawerRoot; exports.AppLayoutDrawerBody = _chunk6RSKK4E7cjs.AppLayoutDrawerBody; exports.AppLayoutDrawerClose = _chunk6RSKK4E7cjs.AppLayoutDrawerClose; exports.AppLayoutDrawerContent = _chunk6RSKK4E7cjs.AppLayoutDrawerContent; exports.AppLayoutDrawerDescription = _chunk6RSKK4E7cjs.AppLayoutDrawerDescription; exports.AppLayoutDrawerFooter = _chunk6RSKK4E7cjs.AppLayoutDrawerFooter; exports.AppLayoutDrawerHeader = _chunk6RSKK4E7cjs.AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = _chunk6RSKK4E7cjs.AppLayoutDrawerTitle; exports.AppLayoutDrawerTrigger = _chunk6RSKK4E7cjs.AppLayoutDrawerTrigger; exports.ClientOnlyHeader = _chunk6RSKK4E7cjs.ClientOnlyHeader; exports.Header = _chunk6RSKK4E7cjs.Header; exports.HeaderButton = _chunk6RSKK4E7cjs.HeaderButton; exports.HeaderGlobalSearch = _chunk6RSKK4E7cjs.HeaderGlobalSearch; exports.HeaderMingoButton = _chunk6RSKK4E7cjs.HeaderMingoButton; exports.HeaderOrganizationFilter = _chunk6RSKK4E7cjs.HeaderOrganizationFilter; exports.HeaderSkeleton = _chunk6RSKK4E7cjs.HeaderSkeleton; exports.MOBILE_NAV_PANEL_ID = _chunk6RSKK4E7cjs.MOBILE_NAV_PANEL_ID; exports.MingoAiButton = _chunk6RSKK4E7cjs.MingoAiButton; exports.MobileBurgerMenu = _chunk6RSKK4E7cjs.MobileBurgerMenu; exports.MobileNavPanel = _chunk6RSKK4E7cjs.MobileNavPanel; exports.MobileNavigationDropdown = _chunk6RSKK4E7cjs.MobileNavigationDropdown; exports.MultiLevelNavigation = _chunk6RSKK4E7cjs.MultiLevelNavigation; exports.NAVIGATION_SIDEBAR_WIDTH_VAR = _chunk6RSKK4E7cjs.NAVIGATION_SIDEBAR_WIDTH_VAR; exports.NavigationSidebar = _chunk6RSKK4E7cjs.NavigationSidebar; exports.SlidingSidebar = _chunk6RSKK4E7cjs.SlidingSidebar; exports.StickySectionNav = _chunk6RSKK4E7cjs.StickySectionNav; exports.TicketAlertsButton = _chunk6RSKK4E7cjs.TicketAlertsButton; exports.TopNavigation = _chunk6RSKK4E7cjs.TopNavigation; exports.UnreadCountBadge = _chunk6RSKK4E7cjs.UnreadCountBadge; exports.UnreadDot = _chunk6RSKK4E7cjs.UnreadDot; exports.useAppLayoutDrawerContainer = _chunk6RSKK4E7cjs.useAppLayoutDrawerContainer; exports.useSectionNavigation = _chunk6RSKK4E7cjs.useSectionNavigation;
|
|
91
91
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
UnreadDot,
|
|
36
36
|
useAppLayoutDrawerContainer,
|
|
37
37
|
useSectionNavigation
|
|
38
|
-
} from "../../chunk-
|
|
38
|
+
} from "../../chunk-EYXZF46V.js";
|
|
39
39
|
import "../../chunk-7EUIW46X.js";
|
|
40
40
|
import "../../chunk-LXC6P2EO.js";
|
|
41
41
|
import "../../chunk-EL5YVPD5.js";
|
|
@@ -45,7 +45,7 @@ import "../../chunk-GJAHN7LH.js";
|
|
|
45
45
|
import "../../chunk-JMZH4KMJ.js";
|
|
46
46
|
import "../../chunk-W72U7OU7.js";
|
|
47
47
|
import "../../chunk-UWY722RH.js";
|
|
48
|
-
import "../../chunk-
|
|
48
|
+
import "../../chunk-B44VZF2Z.js";
|
|
49
49
|
import "../../chunk-6U3IUD57.js";
|
|
50
50
|
import "../../chunk-5OGHZNY5.js";
|
|
51
51
|
import "../../chunk-OHPI2HRK.js";
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
11
|
-
require('../../chunk-
|
|
12
|
-
require('../../chunk-
|
|
10
|
+
var _chunkRBYMJF2Vcjs = require('../../chunk-RBYMJF2V.cjs');
|
|
11
|
+
require('../../chunk-T7AE7CKV.cjs');
|
|
12
|
+
require('../../chunk-HKG7BZON.cjs');
|
|
13
13
|
require('../../chunk-NKEOD2AD.cjs');
|
|
14
|
-
require('../../chunk-
|
|
14
|
+
require('../../chunk-6RSKK4E7.cjs');
|
|
15
15
|
require('../../chunk-C5RS3QLV.cjs');
|
|
16
16
|
require('../../chunk-XL4V2PYG.cjs');
|
|
17
17
|
require('../../chunk-BZFW3FOF.cjs');
|
|
@@ -21,7 +21,7 @@ require('../../chunk-3M2MFP2Y.cjs');
|
|
|
21
21
|
require('../../chunk-UTVOBFXR.cjs');
|
|
22
22
|
require('../../chunk-XQFFGR6U.cjs');
|
|
23
23
|
require('../../chunk-CEAAOVCV.cjs');
|
|
24
|
-
require('../../chunk-
|
|
24
|
+
require('../../chunk-WPPBPRFU.cjs');
|
|
25
25
|
require('../../chunk-WZW7C7TF.cjs');
|
|
26
26
|
require('../../chunk-7INXXQVK.cjs');
|
|
27
27
|
require('../../chunk-WBR7H6E3.cjs');
|
|
@@ -36,5 +36,5 @@ require('../../chunk-VRHGVLSL.cjs');
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
exports.OnboardingGuideDetailView =
|
|
39
|
+
exports.OnboardingGuideDetailView = _chunkRBYMJF2Vcjs.OnboardingGuideDetailView; exports.OnboardingGuidesCatalogSkeleton = _chunkRBYMJF2Vcjs.OnboardingGuidesCatalogSkeleton; exports.OnboardingGuidesCatalogView = _chunkRBYMJF2Vcjs.OnboardingGuidesCatalogView; exports.onboardingGuideKeys = _chunkRBYMJF2Vcjs.onboardingGuideKeys; exports.useOnboardingGuide = _chunkRBYMJF2Vcjs.useOnboardingGuide; exports.useOnboardingGuideSections = _chunkRBYMJF2Vcjs.useOnboardingGuideSections; exports.useOnboardingGuides = _chunkRBYMJF2Vcjs.useOnboardingGuides;
|
|
40
40
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
useOnboardingGuide,
|
|
8
8
|
useOnboardingGuideSections,
|
|
9
9
|
useOnboardingGuides
|
|
10
|
-
} from "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
10
|
+
} from "../../chunk-VEXTUGUA.js";
|
|
11
|
+
import "../../chunk-DZ2Z7HRF.js";
|
|
12
|
+
import "../../chunk-ZXASQL3E.js";
|
|
13
13
|
import "../../chunk-KL6ZDLDF.js";
|
|
14
|
-
import "../../chunk-
|
|
14
|
+
import "../../chunk-EYXZF46V.js";
|
|
15
15
|
import "../../chunk-7EUIW46X.js";
|
|
16
16
|
import "../../chunk-LXC6P2EO.js";
|
|
17
17
|
import "../../chunk-EL5YVPD5.js";
|
|
@@ -21,7 +21,7 @@ import "../../chunk-GJAHN7LH.js";
|
|
|
21
21
|
import "../../chunk-JMZH4KMJ.js";
|
|
22
22
|
import "../../chunk-W72U7OU7.js";
|
|
23
23
|
import "../../chunk-UWY722RH.js";
|
|
24
|
-
import "../../chunk-
|
|
24
|
+
import "../../chunk-B44VZF2Z.js";
|
|
25
25
|
import "../../chunk-6U3IUD57.js";
|
|
26
26
|
import "../../chunk-5OGHZNY5.js";
|
|
27
27
|
import "../../chunk-OHPI2HRK.js";
|