@flamingo-stack/openframe-frontend-core 0.0.598-2039.5713.1 → 0.0.598
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/chat-protocol/index.cjs +1 -8
- package/dist/chat-protocol/index.cjs.map +1 -1
- package/dist/chat-protocol/index.d.ts +0 -1
- package/dist/chat-protocol/index.d.ts.map +1 -1
- package/dist/chat-protocol/index.js +2 -7
- package/dist/chat-protocol/index.js.map +1 -1
- package/dist/chat-protocol/nats-decoder.d.ts.map +1 -1
- package/dist/{chunk-TSCIVH7T.js → chunk-2JNCZDJR.js} +2 -2
- package/dist/{chunk-6NSGAH5H.cjs → chunk-2SYX2Z7R.cjs} +34 -34
- package/dist/{chunk-6NSGAH5H.cjs.map → chunk-2SYX2Z7R.cjs.map} +1 -1
- package/dist/{chunk-6ZHH37RS.cjs → chunk-3WSS7C2V.cjs} +15 -15
- package/dist/{chunk-6ZHH37RS.cjs.map → chunk-3WSS7C2V.cjs.map} +1 -1
- package/dist/{chunk-5L4ERWSW.js → chunk-75YW6ET4.js} +4 -4
- package/dist/{chunk-VKCETV3C.js → chunk-BK6CCQG6.js} +12 -12
- package/dist/{chunk-HM25MFZX.cjs → chunk-BPVHDDNY.cjs} +8 -8
- package/dist/{chunk-HM25MFZX.cjs.map → chunk-BPVHDDNY.cjs.map} +1 -1
- package/dist/{chunk-VIBREYUK.cjs → chunk-BZEWPW5A.cjs} +3 -3
- package/dist/{chunk-VIBREYUK.cjs.map → chunk-BZEWPW5A.cjs.map} +1 -1
- package/dist/{chunk-KYWU6F3O.cjs → chunk-DAPOBLAK.cjs} +39 -39
- package/dist/{chunk-KYWU6F3O.cjs.map → chunk-DAPOBLAK.cjs.map} +1 -1
- package/dist/{chunk-DHCA5BZP.cjs → chunk-DI3SVVY5.cjs} +85 -85
- package/dist/{chunk-DHCA5BZP.cjs.map → chunk-DI3SVVY5.cjs.map} +1 -1
- package/dist/{chunk-BLUL2TE3.js → chunk-EVMHJB6X.js} +4 -4
- package/dist/{chunk-S6WBBSII.js → chunk-EZM5DNII.js} +3 -3
- package/dist/{chunk-BVQEU5JB.js → chunk-GGQZBSFN.js} +2 -2
- package/dist/{chunk-KTX5B2FW.js → chunk-GHYFVT52.js} +439 -414
- package/dist/chunk-GHYFVT52.js.map +1 -0
- package/dist/{chunk-CCWI3622.cjs → chunk-H64ZHSYR.cjs} +4 -4
- package/dist/{chunk-CCWI3622.cjs.map → chunk-H64ZHSYR.cjs.map} +1 -1
- package/dist/{chunk-4T42D6YG.js → chunk-HLPAVYK7.js} +4 -4
- package/dist/{chunk-HFHBA3VV.cjs → chunk-HWAYIK4U.cjs} +22 -22
- package/dist/{chunk-HFHBA3VV.cjs.map → chunk-HWAYIK4U.cjs.map} +1 -1
- package/dist/{chunk-CF4QJPTN.cjs → chunk-JVZVVZOZ.cjs} +9 -9
- package/dist/{chunk-CF4QJPTN.cjs.map → chunk-JVZVVZOZ.cjs.map} +1 -1
- package/dist/{chunk-XV7RFACE.js → chunk-KHOZ52NR.js} +6 -6
- package/dist/{chunk-IW746HJ7.js → chunk-LRQCKSZC.js} +2 -2
- package/dist/{chunk-JJUV7Z4L.cjs → chunk-M4YQUHOR.cjs} +15 -15
- package/dist/{chunk-JJUV7Z4L.cjs.map → chunk-M4YQUHOR.cjs.map} +1 -1
- package/dist/{chunk-FKBM6U43.js → chunk-MYBXCWEI.js} +2 -2
- package/dist/{chunk-QTPHBCPI.js → chunk-NIAMPMKV.js} +4 -4
- package/dist/{chunk-UXOOVP77.cjs → chunk-O4VZOA2Q.cjs} +3 -3
- package/dist/{chunk-UXOOVP77.cjs.map → chunk-O4VZOA2Q.cjs.map} +1 -1
- package/dist/{chunk-ABNBTPI2.cjs → chunk-P24VPJTT.cjs} +15 -15
- package/dist/{chunk-ABNBTPI2.cjs.map → chunk-P24VPJTT.cjs.map} +1 -1
- package/dist/{chunk-4XPPQDEM.js → chunk-PTK3CINU.js} +5 -5
- package/dist/{chunk-7FUIRGMU.js → chunk-PX4IPM7Q.js} +3 -3
- package/dist/{chunk-NLT5R43J.cjs → chunk-QD64Q4I2.cjs} +9 -9
- package/dist/{chunk-NLT5R43J.cjs.map → chunk-QD64Q4I2.cjs.map} +1 -1
- package/dist/{chunk-TEVP4KNG.cjs → chunk-QIKBISZM.cjs} +522 -497
- package/dist/chunk-QIKBISZM.cjs.map +1 -0
- package/dist/{chunk-FGNUI4CC.js → chunk-R4UV366K.js} +6 -6
- package/dist/{chunk-UPKZU6QU.cjs → chunk-RDTOMWDN.cjs} +1 -1
- package/dist/chunk-RDTOMWDN.cjs.map +1 -0
- package/dist/{chunk-YB6FI2G3.js → chunk-RYXIRVDC.js} +1 -1
- package/dist/chunk-RYXIRVDC.js.map +1 -0
- package/dist/{chunk-QPAPUIF3.cjs → chunk-SAEJGTCI.cjs} +35 -35
- package/dist/{chunk-QPAPUIF3.cjs.map → chunk-SAEJGTCI.cjs.map} +1 -1
- package/dist/{chunk-66HTVTZZ.js → chunk-SE3PVN64.js} +2 -2
- package/dist/{chunk-3IXDZI3R.cjs → chunk-STYNZ4QM.cjs} +3 -3
- package/dist/{chunk-3IXDZI3R.cjs.map → chunk-STYNZ4QM.cjs.map} +1 -1
- package/dist/{chunk-CQRYXSHL.js → chunk-TZPVRWPU.js} +5 -5
- package/dist/{chunk-RU3IKVY2.js → chunk-UAAXUFK6.js} +3 -3
- package/dist/{chunk-F5NEZLTG.cjs → chunk-UE7OFLLS.cjs} +14 -14
- package/dist/{chunk-F5NEZLTG.cjs.map → chunk-UE7OFLLS.cjs.map} +1 -1
- package/dist/{chunk-VUR24QYH.cjs → chunk-UG7JNQZY.cjs} +37 -37
- package/dist/{chunk-VUR24QYH.cjs.map → chunk-UG7JNQZY.cjs.map} +1 -1
- package/dist/{chunk-UQSOFWXP.cjs → chunk-V2QK5W3O.cjs} +3 -3
- package/dist/{chunk-UQSOFWXP.cjs.map → chunk-V2QK5W3O.cjs.map} +1 -1
- package/dist/{chunk-ZABAXD4U.js → chunk-VIRTMRS4.js} +7 -7
- package/dist/{chunk-D565OOXC.cjs → chunk-VLJTJAHJ.cjs} +25 -25
- package/dist/{chunk-D565OOXC.cjs.map → chunk-VLJTJAHJ.cjs.map} +1 -1
- package/dist/{chunk-K5QV7ZAY.js → chunk-VNSRNVPD.js} +437 -756
- package/dist/chunk-VNSRNVPD.js.map +1 -0
- package/dist/{chunk-UQEOAPAI.cjs → chunk-WCBRZCU4.cjs} +9 -9
- package/dist/{chunk-UQEOAPAI.cjs.map → chunk-WCBRZCU4.cjs.map} +1 -1
- package/dist/{chunk-3XFDRL32.js → chunk-WDWCQD75.js} +9 -9
- package/dist/{chunk-QT35C6CW.js → chunk-WPN545FW.js} +12 -12
- package/dist/{chunk-F2KBCLUG.js → chunk-WZJOILPU.js} +2 -2
- package/dist/{chunk-KAADFO74.js → chunk-XNPAVMPB.js} +5 -5
- package/dist/{chunk-5PPYXXUO.cjs → chunk-YBPFIXV4.cjs} +522 -841
- package/dist/chunk-YBPFIXV4.cjs.map +1 -0
- package/dist/{chunk-EHAYNUOL.cjs → chunk-YH6IQTPI.cjs} +3 -3
- package/dist/{chunk-EHAYNUOL.cjs.map → chunk-YH6IQTPI.cjs.map} +1 -1
- package/dist/{chunk-AVAENPVE.cjs → chunk-YWBAIFI2.cjs} +105 -105
- package/dist/{chunk-AVAENPVE.cjs.map → chunk-YWBAIFI2.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +14 -14
- package/dist/components/case-studies/index.js +8 -8
- package/dist/components/chat/embeddable-chat.d.ts +19 -10
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/hooks/index.d.ts +0 -1
- package/dist/components/chat/hooks/index.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-chat-dialog-manager.d.ts +2 -2
- package/dist/components/chat/hooks/use-chat-dialog-manager.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-chat-history-hydration.d.ts +3 -13
- package/dist/components/chat/hooks/use-chat-history-hydration.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-nats-chat-adapter.d.ts +16 -2
- package/dist/components/chat/hooks/use-nats-chat-adapter.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-sse-chat-adapter.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-unified-chat.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +5 -9
- package/dist/components/chat/index.cjs.map +1 -1
- package/dist/components/chat/index.js +4 -8
- package/dist/components/chat/types/unified-chat-state.types.d.ts +6 -67
- package/dist/components/chat/types/unified-chat-state.types.d.ts.map +1 -1
- package/dist/components/chat/utils/index.d.ts +0 -1
- package/dist/components/chat/utils/index.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +9 -9
- package/dist/components/contact/index.js +8 -8
- package/dist/components/docs/index.cjs +12 -12
- package/dist/components/docs/index.js +11 -11
- package/dist/components/embeds/index.cjs +9 -9
- package/dist/components/embeds/index.js +8 -8
- package/dist/components/faq/index.cjs +10 -10
- package/dist/components/faq/index.js +9 -9
- package/dist/components/features/index.cjs +8 -8
- package/dist/components/features/index.js +7 -7
- package/dist/components/help-center-pages/index.cjs +31 -31
- package/dist/components/help-center-pages/index.js +22 -22
- package/dist/components/index.cjs +66 -70
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +22 -26
- package/dist/components/index.js.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +49 -49
- package/dist/components/meeting-scheduler/index.js +9 -9
- package/dist/components/navigation/index.cjs +11 -11
- package/dist/components/navigation/index.js +10 -10
- package/dist/components/onboarding-guides/index.cjs +12 -12
- package/dist/components/onboarding-guides/index.js +11 -11
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/related-content/index.js +6 -6
- package/dist/components/tickets/index.cjs +13 -13
- package/dist/components/tickets/index.js +12 -12
- package/dist/components/ui/data-table/data-table-body.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-skeleton.d.ts +31 -0
- package/dist/components/ui/data-table/data-table-skeleton.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +8 -12
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +7 -11
- package/dist/components/ui/table/table-empty-state.d.ts +1 -1
- package/dist/components/ui/table/table-empty-state.d.ts.map +1 -1
- package/dist/components/ui/table/table-skeleton.d.ts +1 -14
- package/dist/components/ui/table/table-skeleton.d.ts.map +1 -1
- package/dist/components/ui/table/table.d.ts +1 -1
- package/dist/components/ui/table/table.d.ts.map +1 -1
- package/dist/components/ui/table/types.d.ts +33 -6
- package/dist/components/ui/table/types.d.ts.map +1 -1
- package/dist/contexts/chat-runtime-context.d.ts +0 -12
- package/dist/contexts/chat-runtime-context.d.ts.map +1 -1
- package/dist/contexts/index.cjs +2 -2
- package/dist/contexts/index.js +1 -1
- package/dist/hooks/index.cjs +5 -5
- package/dist/hooks/index.js +4 -4
- package/dist/index.cjs +12 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -15
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/chat-protocol/index.ts +0 -1
- package/src/chat-protocol/nats-decoder.ts +5 -1
- package/src/components/chat/.embeddable-chat.md +2 -4
- package/src/components/chat/embeddable-chat.tsx +84 -131
- package/src/components/chat/hooks/.use-chat-dialog-manager.md +1 -3
- package/src/components/chat/hooks/.use-nats-chat-adapter.md +1 -3
- package/src/components/chat/hooks/.use-sse-chat-adapter.md +1 -8
- package/src/components/chat/hooks/.use-unified-chat.md +2 -2
- package/src/components/chat/hooks/index.ts +0 -2
- package/src/components/chat/hooks/use-chat-dialog-manager.ts +65 -38
- package/src/components/chat/hooks/use-chat-history-hydration.ts +24 -67
- package/src/components/chat/hooks/use-nats-chat-adapter.ts +150 -65
- package/src/components/chat/hooks/use-sse-chat-adapter.ts +59 -233
- package/src/components/chat/hooks/use-unified-chat.ts +0 -5
- package/src/components/chat/types/.unified-chat-state.types.md +1 -13
- package/src/components/chat/types/unified-chat-state.types.ts +6 -74
- package/src/components/chat/utils/index.ts +0 -7
- package/src/components/ui/data-table/data-table-body.tsx +8 -49
- package/src/components/ui/data-table/data-table-skeleton.tsx +100 -0
- package/src/components/ui/table/table-empty-state.tsx +5 -1
- package/src/components/ui/table/table-skeleton.tsx +14 -40
- package/src/components/ui/table/table.tsx +34 -15
- package/src/components/ui/table/types.ts +33 -6
- package/src/contexts/.chat-runtime-context.md +1 -3
- package/src/contexts/chat-runtime-context.tsx +0 -12
- package/dist/chat-protocol/wire-narrow.d.ts +0 -17
- package/dist/chat-protocol/wire-narrow.d.ts.map +0 -1
- package/dist/chunk-5PPYXXUO.cjs.map +0 -1
- package/dist/chunk-K5QV7ZAY.js.map +0 -1
- package/dist/chunk-KTX5B2FW.js.map +0 -1
- package/dist/chunk-TEVP4KNG.cjs.map +0 -1
- package/dist/chunk-UPKZU6QU.cjs.map +0 -1
- package/dist/chunk-YB6FI2G3.js.map +0 -1
- package/dist/components/chat/hooks/use-managed-dialog-list.d.ts +0 -68
- package/dist/components/chat/hooks/use-managed-dialog-list.d.ts.map +0 -1
- package/dist/components/chat/utils/chat-conversations-api.d.ts +0 -29
- package/dist/components/chat/utils/chat-conversations-api.d.ts.map +0 -1
- package/src/chat-protocol/wire-narrow.ts +0 -22
- package/src/components/chat/hooks/.use-managed-dialog-list.md +0 -31
- package/src/components/chat/hooks/__tests__/managed-dialog-list.test.ts +0 -280
- package/src/components/chat/hooks/__tests__/nats-adapter-managed-dialogs.test.ts +0 -172
- package/src/components/chat/hooks/__tests__/sse-managed-dialogs.test.ts +0 -310
- package/src/components/chat/hooks/use-managed-dialog-list.ts +0 -371
- package/src/components/chat/utils/.chat-conversations-api.md +0 -16
- package/src/components/chat/utils/__tests__/chat-conversations-api-golden.test.ts +0 -105
- package/src/components/chat/utils/chat-conversations-api.ts +0 -83
- /package/dist/{chunk-TSCIVH7T.js.map → chunk-2JNCZDJR.js.map} +0 -0
- /package/dist/{chunk-5L4ERWSW.js.map → chunk-75YW6ET4.js.map} +0 -0
- /package/dist/{chunk-VKCETV3C.js.map → chunk-BK6CCQG6.js.map} +0 -0
- /package/dist/{chunk-BLUL2TE3.js.map → chunk-EVMHJB6X.js.map} +0 -0
- /package/dist/{chunk-S6WBBSII.js.map → chunk-EZM5DNII.js.map} +0 -0
- /package/dist/{chunk-BVQEU5JB.js.map → chunk-GGQZBSFN.js.map} +0 -0
- /package/dist/{chunk-4T42D6YG.js.map → chunk-HLPAVYK7.js.map} +0 -0
- /package/dist/{chunk-XV7RFACE.js.map → chunk-KHOZ52NR.js.map} +0 -0
- /package/dist/{chunk-IW746HJ7.js.map → chunk-LRQCKSZC.js.map} +0 -0
- /package/dist/{chunk-FKBM6U43.js.map → chunk-MYBXCWEI.js.map} +0 -0
- /package/dist/{chunk-QTPHBCPI.js.map → chunk-NIAMPMKV.js.map} +0 -0
- /package/dist/{chunk-4XPPQDEM.js.map → chunk-PTK3CINU.js.map} +0 -0
- /package/dist/{chunk-7FUIRGMU.js.map → chunk-PX4IPM7Q.js.map} +0 -0
- /package/dist/{chunk-FGNUI4CC.js.map → chunk-R4UV366K.js.map} +0 -0
- /package/dist/{chunk-66HTVTZZ.js.map → chunk-SE3PVN64.js.map} +0 -0
- /package/dist/{chunk-CQRYXSHL.js.map → chunk-TZPVRWPU.js.map} +0 -0
- /package/dist/{chunk-RU3IKVY2.js.map → chunk-UAAXUFK6.js.map} +0 -0
- /package/dist/{chunk-ZABAXD4U.js.map → chunk-VIRTMRS4.js.map} +0 -0
- /package/dist/{chunk-3XFDRL32.js.map → chunk-WDWCQD75.js.map} +0 -0
- /package/dist/{chunk-QT35C6CW.js.map → chunk-WPN545FW.js.map} +0 -0
- /package/dist/{chunk-F2KBCLUG.js.map → chunk-WZJOILPU.js.map} +0 -0
- /package/dist/{chunk-KAADFO74.js.map → chunk-XNPAVMPB.js.map} +0 -0
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkBZEWPW5Acjs = require('../../chunk-BZEWPW5A.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkO4VZOA2Qcjs = require('../../chunk-O4VZOA2Q.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -24,19 +24,19 @@ var _chunkUXOOVP77cjs = require('../../chunk-UXOOVP77.cjs');
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkQIKBISZMcjs = require('../../chunk-QIKBISZM.cjs');
|
|
28
28
|
require('../../chunk-GQWM3ECA.cjs');
|
|
29
29
|
require('../../chunk-TON3YCCW.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
var
|
|
33
|
+
var _chunkM4YQUHORcjs = require('../../chunk-M4YQUHOR.cjs');
|
|
34
34
|
require('../../chunk-D55IENZJ.cjs');
|
|
35
35
|
require('../../chunk-N6CULJYR.cjs');
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var _chunkH64ZHSYRcjs = require('../../chunk-H64ZHSYR.cjs');
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
@@ -44,7 +44,7 @@ var _chunkCCWI3622cjs = require('../../chunk-CCWI3622.cjs');
|
|
|
44
44
|
var _chunkN6HNK25Acjs = require('../../chunk-N6HNK25A.cjs');
|
|
45
45
|
|
|
46
46
|
|
|
47
|
-
var
|
|
47
|
+
var _chunkYBPFIXV4cjs = require('../../chunk-YBPFIXV4.cjs');
|
|
48
48
|
require('../../chunk-YXWGSDK4.cjs');
|
|
49
49
|
require('../../chunk-SADRZ4YI.cjs');
|
|
50
50
|
require('../../chunk-KOQCA5X5.cjs');
|
|
@@ -55,11 +55,11 @@ require('../../chunk-XQFFGR6U.cjs');
|
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
|
|
58
|
-
var
|
|
58
|
+
var _chunkWCBRZCU4cjs = require('../../chunk-WCBRZCU4.cjs');
|
|
59
59
|
require('../../chunk-WLSFBRT5.cjs');
|
|
60
|
-
require('../../chunk-
|
|
60
|
+
require('../../chunk-YH6IQTPI.cjs');
|
|
61
61
|
require('../../chunk-63QUMV72.cjs');
|
|
62
|
-
require('../../chunk-
|
|
62
|
+
require('../../chunk-RDTOMWDN.cjs');
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
|
|
@@ -254,7 +254,7 @@ function useMeetingBooking(options) {
|
|
|
254
254
|
const seededOffset = _optionalChain([initialAvailability, 'optionalAccess', _3 => _3.meetingId]) === meetingId ? initialAvailability.monthOffset : void 0;
|
|
255
255
|
const [monthOffset, setMonthOffsetState] = _react.useState.call(void 0, _nullishCoalesce(seededOffset, () => ( 0)));
|
|
256
256
|
const setMonthOffset = _react.useCallback.call(void 0, (offset) => {
|
|
257
|
-
setMonthOffsetState(Math.max(0, Math.min(
|
|
257
|
+
setMonthOffsetState(Math.max(0, Math.min(_chunkQIKBISZMcjs.MAX_MONTH_OFFSET, offset)));
|
|
258
258
|
}, []);
|
|
259
259
|
const prevMeetingIdRef = _react.useRef.call(void 0, meetingId);
|
|
260
260
|
_react.useLayoutEffect.call(void 0, () => {
|
|
@@ -267,7 +267,7 @@ function useMeetingBooking(options) {
|
|
|
267
267
|
queryKey: meetingAvailabilityKey(apiBaseUrl, meetingId, monthOffset),
|
|
268
268
|
queryFn: async ({ signal }) => {
|
|
269
269
|
const params = new URLSearchParams({ meeting: meetingId, monthOffset: String(monthOffset) });
|
|
270
|
-
const res = await
|
|
270
|
+
const res = await _chunkH64ZHSYRcjs.contentFetch.call(void 0, `${apiBaseUrl}/api/meetings/availability?${params}`, { signal });
|
|
271
271
|
if (!res.ok) throw new Error(`availability ${res.status}`);
|
|
272
272
|
return await res.json();
|
|
273
273
|
},
|
|
@@ -284,7 +284,7 @@ function useMeetingBooking(options) {
|
|
|
284
284
|
const bookMutation = _reactquery.useMutation.call(void 0, {
|
|
285
285
|
mutationFn: async (payload) => {
|
|
286
286
|
try {
|
|
287
|
-
const res = await
|
|
287
|
+
const res = await _chunkH64ZHSYRcjs.contentFetch.call(void 0, `${apiBaseUrl}/api/meetings/book`, {
|
|
288
288
|
method: "POST",
|
|
289
289
|
headers: { "Content-Type": "application/json" },
|
|
290
290
|
body: JSON.stringify(payload)
|
|
@@ -381,7 +381,7 @@ var FIELD_CONTROLS = {
|
|
|
381
381
|
}
|
|
382
382
|
),
|
|
383
383
|
textarea: ({ field, id, registerName, error, register }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
384
|
-
|
|
384
|
+
_chunkQIKBISZMcjs.Textarea,
|
|
385
385
|
{
|
|
386
386
|
id,
|
|
387
387
|
required: field.required,
|
|
@@ -407,9 +407,9 @@ var FIELD_CONTROLS = {
|
|
|
407
407
|
{
|
|
408
408
|
control,
|
|
409
409
|
name: registerName,
|
|
410
|
-
render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
411
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
412
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
410
|
+
render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQIKBISZMcjs.Select, { value: _nullishCoalesce(rhf.value, () => ( "")), onValueChange: rhf.onChange, children: [
|
|
411
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQIKBISZMcjs.SelectTrigger, { id, "aria-required": field.required || void 0, "aria-invalid": Boolean(error), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQIKBISZMcjs.SelectValue, { placeholder: "Select\u2026" }) }),
|
|
412
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQIKBISZMcjs.SelectContent, { children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQIKBISZMcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
413
413
|
] })
|
|
414
414
|
}
|
|
415
415
|
),
|
|
@@ -419,14 +419,14 @@ var FIELD_CONTROLS = {
|
|
|
419
419
|
control,
|
|
420
420
|
name: registerName,
|
|
421
421
|
render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
422
|
-
|
|
422
|
+
_chunkQIKBISZMcjs.RadioGroup,
|
|
423
423
|
{
|
|
424
424
|
value: _nullishCoalesce(rhf.value, () => ( "")),
|
|
425
425
|
onValueChange: rhf.onChange,
|
|
426
426
|
"aria-required": field.required || void 0,
|
|
427
427
|
"aria-invalid": Boolean(error),
|
|
428
428
|
children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
429
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
429
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQIKBISZMcjs.RadioGroupItem, { id: `${id}-${opt}`, value: opt }),
|
|
430
430
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Label, { htmlFor: `${id}-${opt}`, children: opt })
|
|
431
431
|
] }, opt))
|
|
432
432
|
}
|
|
@@ -590,8 +590,8 @@ function BookingForm({
|
|
|
590
590
|
children: _nullishCoalesce(submitLabel, () => ( DEFAULT_SUBMIT_LABEL))
|
|
591
591
|
}
|
|
592
592
|
);
|
|
593
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: submit, className: FORM_STACK, noValidate: true, ...
|
|
594
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
593
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: submit, className: FORM_STACK, noValidate: true, ..._chunkQIKBISZMcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS, children: [
|
|
594
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQIKBISZMcjs.HoneypotField, { ...honeypotInputProps }),
|
|
595
595
|
fieldRows ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
596
596
|
placedRows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_GRID, children: row.map((slot, slotIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: slotColumnClass(row, slot, slotIndex), children: slotNode(slot.name) }, slot.name)) }, row.map((s) => s.name).join("|"))),
|
|
597
597
|
[...unplacedBuiltIns, ...unplacedFields].map((field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: slotNode(field.name) }, field.name))
|
|
@@ -604,7 +604,7 @@ function BookingForm({
|
|
|
604
604
|
supportedFields.map((field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: renderDeclaredField(field) }, field.name))
|
|
605
605
|
] }),
|
|
606
606
|
consent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
607
|
-
|
|
607
|
+
_chunkQIKBISZMcjs.CheckboxBlock,
|
|
608
608
|
{
|
|
609
609
|
id: "ms-host-consent",
|
|
610
610
|
checked: consented,
|
|
@@ -639,7 +639,7 @@ function BookingForm({
|
|
|
639
639
|
// same block the waitlist form uses): box + label in one
|
|
640
640
|
// bordered row.
|
|
641
641
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
642
|
-
|
|
642
|
+
_chunkQIKBISZMcjs.CheckboxBlock,
|
|
643
643
|
{
|
|
644
644
|
id: `ms-consent-${box.communicationTypeId}`,
|
|
645
645
|
checked: _nullishCoalesce(_optionalChain([current, 'optionalAccess', _22 => _22.consented]), () => ( false)),
|
|
@@ -721,7 +721,7 @@ function Confirmation({ confirmation, timezone }) {
|
|
|
721
721
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: [
|
|
722
722
|
when,
|
|
723
723
|
" \xB7 ",
|
|
724
|
-
|
|
724
|
+
_chunkWCBRZCU4cjs.formatDurationCompact.call(void 0, confirmation.durationMs / 1e3)
|
|
725
725
|
] }),
|
|
726
726
|
/* @__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." })
|
|
727
727
|
] });
|
|
@@ -755,7 +755,7 @@ function ContextPanelSkeleton({
|
|
|
755
755
|
backLabel = "Back"
|
|
756
756
|
}) {
|
|
757
757
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, PANEL_STACK, className), children: [
|
|
758
|
-
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
758
|
+
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQIKBISZMcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
|
|
759
759
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_BODY, children: [
|
|
760
760
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: STRIP_MAIN, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: IDENTITY_ROW, children: [
|
|
761
761
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xs)] lg:flex-none", children: [
|
|
@@ -803,13 +803,13 @@ function SchedulerContextPanel({
|
|
|
803
803
|
return zones.map((tz) => ({ value: tz, label: zoneLabel(tz) }));
|
|
804
804
|
}, [timezone]);
|
|
805
805
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, PANEL_STACK, className), children: [
|
|
806
|
-
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
806
|
+
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQIKBISZMcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
|
|
807
807
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_BODY, children: [
|
|
808
808
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_MAIN, children: [
|
|
809
809
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: IDENTITY_ROW, children: [
|
|
810
810
|
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: [
|
|
811
811
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
812
|
-
|
|
812
|
+
_chunkWCBRZCU4cjs.SquareAvatar,
|
|
813
813
|
{
|
|
814
814
|
variant: "round",
|
|
815
815
|
size: "sm",
|
|
@@ -824,7 +824,7 @@ function SchedulerContextPanel({
|
|
|
824
824
|
] })
|
|
825
825
|
] }, host.name)) }),
|
|
826
826
|
hosts.length > 3 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
827
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
827
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWCBRZCU4cjs.AvatarStack, { people: hosts, max: 4, size: "lg" }),
|
|
828
828
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: [
|
|
829
829
|
hosts.length,
|
|
830
830
|
" hosts on this calendar"
|
|
@@ -834,7 +834,7 @@ function SchedulerContextPanel({
|
|
|
834
834
|
// Post-selection, or a link that offers one length: a static line,
|
|
835
835
|
// which is what sits beside the host on the header-strip layouts.
|
|
836
836
|
selectedDurationMs != null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "shrink-0 text-ods-text-secondary text-h6", children: [
|
|
837
|
-
|
|
837
|
+
_chunkWCBRZCU4cjs.formatDurationCompact.call(void 0, selectedDurationMs / 1e3),
|
|
838
838
|
" call"
|
|
839
839
|
] })
|
|
840
840
|
) : null
|
|
@@ -850,7 +850,7 @@ function SchedulerContextPanel({
|
|
|
850
850
|
size: "small-legacy",
|
|
851
851
|
disabled,
|
|
852
852
|
onClick: () => onSelectDuration(ms),
|
|
853
|
-
children:
|
|
853
|
+
children: _chunkWCBRZCU4cjs.formatDurationCompact.call(void 0, ms / 1e3)
|
|
854
854
|
},
|
|
855
855
|
ms
|
|
856
856
|
)) })
|
|
@@ -865,7 +865,7 @@ function SchedulerContextPanel({
|
|
|
865
865
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, STRIP_ASIDE, locked && "max-lg:hidden"), children: [
|
|
866
866
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS, children: "Timezone" }),
|
|
867
867
|
timezone ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
868
|
-
|
|
868
|
+
_chunkQIKBISZMcjs.Autocomplete,
|
|
869
869
|
{
|
|
870
870
|
value: timezone,
|
|
871
871
|
disabled,
|
|
@@ -952,18 +952,18 @@ var NOOP = () => void 0;
|
|
|
952
952
|
function DayCalendar({ monthOffset, onMonthOffsetChange, selectedDay, onSelectDay, slotsByDay }) {
|
|
953
953
|
const now = /* @__PURE__ */ new Date();
|
|
954
954
|
const startMonth = new Date(now.getFullYear(), now.getMonth(), 1);
|
|
955
|
-
const endMonth = new Date(now.getFullYear(), now.getMonth() +
|
|
955
|
+
const endMonth = new Date(now.getFullYear(), now.getMonth() + _chunkQIKBISZMcjs.MAX_MONTH_OFFSET + 1, 0);
|
|
956
956
|
const visibleMonth = new Date(now.getFullYear(), now.getMonth() + monthOffset, 1);
|
|
957
957
|
const dayHasNoSlots = _react.useCallback.call(void 0, (day) => !_optionalChain([slotsByDay, 'optionalAccess', _27 => _27.has, 'call', _28 => _28(calendarDayKey(day))]), [slotsByDay]);
|
|
958
958
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col", "aria-busy": slotsByDay === null, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
959
|
-
|
|
959
|
+
_chunkQIKBISZMcjs.DatePickerCalendar,
|
|
960
960
|
{
|
|
961
961
|
mode: "single",
|
|
962
962
|
bare: true,
|
|
963
963
|
month: visibleMonth,
|
|
964
964
|
onMonthChange: (month) => {
|
|
965
965
|
const offset = (month.getFullYear() - now.getFullYear()) * 12 + (month.getMonth() - now.getMonth());
|
|
966
|
-
onMonthOffsetChange(Math.max(0, Math.min(
|
|
966
|
+
onMonthOffsetChange(Math.max(0, Math.min(_chunkQIKBISZMcjs.MAX_MONTH_OFFSET, offset)));
|
|
967
967
|
},
|
|
968
968
|
fromDate: startMonth,
|
|
969
969
|
toDate: endMonth,
|
|
@@ -1083,7 +1083,7 @@ function SlotPicker({
|
|
|
1083
1083
|
monthLabelFor(monthOffset),
|
|
1084
1084
|
"."
|
|
1085
1085
|
] }),
|
|
1086
|
-
monthOffset <
|
|
1086
|
+
monthOffset < _chunkQIKBISZMcjs.MAX_MONTH_OFFSET && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1087
1087
|
_chunkCJBSU3XBcjs.Button,
|
|
1088
1088
|
{
|
|
1089
1089
|
variant: "outline",
|
|
@@ -1105,7 +1105,7 @@ function SlotPicker({
|
|
|
1105
1105
|
|
|
1106
1106
|
|
|
1107
1107
|
function useNextAvailableLabel(ms) {
|
|
1108
|
-
const hydrated =
|
|
1108
|
+
const hydrated = _chunkYBPFIXV4cjs.useIsHydrated.call(void 0, );
|
|
1109
1109
|
return _react.useMemo.call(void 0, () => {
|
|
1110
1110
|
if (!hydrated || ms == null) return null;
|
|
1111
1111
|
try {
|
|
@@ -1129,7 +1129,7 @@ function DirectoryRow({
|
|
|
1129
1129
|
const nextLabel = useNextAvailableLabel(link.nextAvailableMs);
|
|
1130
1130
|
const subtitle = [
|
|
1131
1131
|
link.description,
|
|
1132
|
-
link.durationsMinutes.length > 0 ? link.durationsMinutes.map((m) =>
|
|
1132
|
+
link.durationsMinutes.length > 0 ? link.durationsMinutes.map((m) => _chunkWCBRZCU4cjs.formatDurationCompact.call(void 0, m * 60)).join(" / ") : null,
|
|
1133
1133
|
link.kind === "team" ? "Team" : null
|
|
1134
1134
|
].filter(Boolean).join(" \u2022 ");
|
|
1135
1135
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -1143,8 +1143,8 @@ function DirectoryRow({
|
|
|
1143
1143
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h3", children: link.title }),
|
|
1144
1144
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: subtitle })
|
|
1145
1145
|
] }),
|
|
1146
|
-
audienceLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1147
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1146
|
+
audienceLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWCBRZCU4cjs.StatusBadge, { text: `For ${audienceLabel}`, singleLine: true, className: "hidden shrink-0 sm:inline-flex" }),
|
|
1147
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWCBRZCU4cjs.AvatarStack, { people: link.hosts, max: 3, size: "md", className: "flex shrink-0" }),
|
|
1148
1148
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "hidden w-44 shrink-0 flex-col items-end justify-center md:flex", children: [
|
|
1149
1149
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "Next available" }),
|
|
1150
1150
|
/* @__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, () => ( " ")) })
|
|
@@ -1192,7 +1192,7 @@ function MeetingSchedulerDirectory({
|
|
|
1192
1192
|
setError(null);
|
|
1193
1193
|
try {
|
|
1194
1194
|
const qs = includeAll ? "?scope=all" : "";
|
|
1195
|
-
const res = await
|
|
1195
|
+
const res = await _chunkH64ZHSYRcjs.contentFetch.call(void 0, `${apiBaseUrl}/api/meetings${qs}`, { signal: controller.signal });
|
|
1196
1196
|
if (!res.ok) throw new Error(`meetings ${res.status}`);
|
|
1197
1197
|
const payload = await res.json();
|
|
1198
1198
|
if (active) setData(payload);
|
|
@@ -1213,7 +1213,7 @@ function MeetingSchedulerDirectory({
|
|
|
1213
1213
|
const purposes = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _31 => _31.purposes]), () => ( []));
|
|
1214
1214
|
return purposes.flatMap((p) => p.links.map((link) => ({ link, audienceLabel: p.label })));
|
|
1215
1215
|
}, [data]);
|
|
1216
|
-
const totalPages =
|
|
1216
|
+
const totalPages = _chunkH64ZHSYRcjs.pageCount.call(void 0, rows.length, pageSize);
|
|
1217
1217
|
const pageRows = rows.slice((page - 1) * pageSize, page * pageSize);
|
|
1218
1218
|
const rowsMinHeight = pageSize * 80 + (pageSize - 1) * 16;
|
|
1219
1219
|
if (isLoading && !data) {
|
|
@@ -1224,7 +1224,7 @@ function MeetingSchedulerDirectory({
|
|
|
1224
1224
|
}
|
|
1225
1225
|
if (error) {
|
|
1226
1226
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex flex-col justify-center", className), style: { minHeight: rowsMinHeight + 104 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1227
|
-
|
|
1227
|
+
_chunkO4VZOA2Qcjs.EmptyState,
|
|
1228
1228
|
{
|
|
1229
1229
|
type: "generic",
|
|
1230
1230
|
title: "We couldn't load available call times",
|
|
@@ -1235,7 +1235,7 @@ function MeetingSchedulerDirectory({
|
|
|
1235
1235
|
}
|
|
1236
1236
|
if (rows.length === 0) {
|
|
1237
1237
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex flex-col justify-center", className), style: { minHeight: rowsMinHeight + 104 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1238
|
-
|
|
1238
|
+
_chunkO4VZOA2Qcjs.EmptyState,
|
|
1239
1239
|
{
|
|
1240
1240
|
type: "generic",
|
|
1241
1241
|
title: "No call times are published right now",
|
|
@@ -1247,7 +1247,7 @@ function MeetingSchedulerDirectory({
|
|
|
1247
1247
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex flex-col", className), children: [
|
|
1248
1248
|
/* @__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)) }),
|
|
1249
1249
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk23V5BSHDcjs.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,
|
|
1250
|
-
|
|
1250
|
+
_chunkBZEWPW5Acjs.PersistentPaginationWrapper,
|
|
1251
1251
|
{
|
|
1252
1252
|
isLoading,
|
|
1253
1253
|
currentPage: page,
|
|
@@ -1346,7 +1346,7 @@ function HubSpotMeetingScheduler({
|
|
|
1346
1346
|
isSubmitting
|
|
1347
1347
|
} = useMeetingBooking({ meetingId, apiBaseUrl, initialAvailability });
|
|
1348
1348
|
const detailsFirst = flow === "details-first";
|
|
1349
|
-
const hydrated =
|
|
1349
|
+
const hydrated = _chunkYBPFIXV4cjs.useIsHydrated.call(void 0, );
|
|
1350
1350
|
const [pickedTimezone, setTimezone] = _react.useState.call(void 0, null);
|
|
1351
1351
|
const resolvedLocalTimezone = _react.useMemo.call(void 0, () => {
|
|
1352
1352
|
if (!hydrated) return null;
|
|
@@ -1371,8 +1371,8 @@ function HubSpotMeetingScheduler({
|
|
|
1371
1371
|
const [selectedSlot, setSelectedSlot] = _react.useState.call(void 0, null);
|
|
1372
1372
|
const [confirmation, setConfirmation] = _react.useState.call(void 0, null);
|
|
1373
1373
|
const [bookingError, setBookingError] = _react.useState.call(void 0, null);
|
|
1374
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
1375
|
-
const { toast } =
|
|
1374
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunkM4YQUHORcjs.useHumanitySignals.call(void 0, );
|
|
1375
|
+
const { toast } = _chunkM4YQUHORcjs.useToast.call(void 0, );
|
|
1376
1376
|
const autoAdvanceCount = _react.useRef.call(void 0, 0);
|
|
1377
1377
|
const [machineFor, setMachineFor] = _react.useState.call(void 0, meetingId);
|
|
1378
1378
|
if (machineFor !== meetingId) {
|
|
@@ -1545,7 +1545,7 @@ function HubSpotMeetingScheduler({
|
|
|
1545
1545
|
}).format(new Date(selectedSlot)),
|
|
1546
1546
|
" ",
|
|
1547
1547
|
"\xB7 ",
|
|
1548
|
-
|
|
1548
|
+
_chunkWCBRZCU4cjs.formatDurationCompact.call(void 0, durationMs / 1e3)
|
|
1549
1549
|
] }),
|
|
1550
1550
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1551
1551
|
DetailsForm,
|
|
@@ -1568,11 +1568,11 @@ function HubSpotMeetingScheduler({
|
|
|
1568
1568
|
)
|
|
1569
1569
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)] md:min-h-0 md:flex-1", children: [
|
|
1570
1570
|
bookingError === "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1571
|
-
|
|
1571
|
+
_chunkQIKBISZMcjs.Alert,
|
|
1572
1572
|
{
|
|
1573
1573
|
variant: "warning",
|
|
1574
1574
|
className: "mx-[var(--spacing-system-l)] mt-[var(--spacing-system-l)] w-auto lg:m-0 lg:w-full",
|
|
1575
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1575
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQIKBISZMcjs.AlertDescription, { children: "That time was just taken \u2014 pick another slot below. (If you already submitted, check your email for a confirmation before rebooking.)" })
|
|
1576
1576
|
}
|
|
1577
1577
|
),
|
|
1578
1578
|
timezone && durationMs != null ? (
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
import {
|
|
4
4
|
PersistentPaginationWrapper
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-LRQCKSZC.js";
|
|
6
6
|
import {
|
|
7
7
|
EmptyState
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-2JNCZDJR.js";
|
|
9
9
|
import {
|
|
10
10
|
Alert,
|
|
11
11
|
AlertDescription,
|
|
@@ -24,19 +24,19 @@ import {
|
|
|
24
24
|
SelectTrigger,
|
|
25
25
|
SelectValue,
|
|
26
26
|
Textarea
|
|
27
|
-
} from "../../chunk-
|
|
27
|
+
} from "../../chunk-GHYFVT52.js";
|
|
28
28
|
import "../../chunk-L2SLFCXP.js";
|
|
29
29
|
import "../../chunk-BJXDHKUX.js";
|
|
30
30
|
import {
|
|
31
31
|
useHumanitySignals,
|
|
32
32
|
useToast
|
|
33
|
-
} from "../../chunk-
|
|
33
|
+
} from "../../chunk-EZM5DNII.js";
|
|
34
34
|
import "../../chunk-ZRIVCLPR.js";
|
|
35
35
|
import "../../chunk-GBON2OCG.js";
|
|
36
36
|
import {
|
|
37
37
|
contentFetch,
|
|
38
38
|
pageCount
|
|
39
|
-
} from "../../chunk-
|
|
39
|
+
} from "../../chunk-GGQZBSFN.js";
|
|
40
40
|
import {
|
|
41
41
|
Checkbox,
|
|
42
42
|
FieldWrapper,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
} from "../../chunk-KOLVBEW5.js";
|
|
45
45
|
import {
|
|
46
46
|
useIsHydrated
|
|
47
|
-
} from "../../chunk-
|
|
47
|
+
} from "../../chunk-VNSRNVPD.js";
|
|
48
48
|
import "../../chunk-5LIDR7HL.js";
|
|
49
49
|
import "../../chunk-XXMHLZ3Y.js";
|
|
50
50
|
import "../../chunk-LPMDCQLL.js";
|
|
@@ -55,11 +55,11 @@ import {
|
|
|
55
55
|
SquareAvatar,
|
|
56
56
|
StatusBadge,
|
|
57
57
|
formatDurationCompact
|
|
58
|
-
} from "../../chunk-
|
|
58
|
+
} from "../../chunk-UAAXUFK6.js";
|
|
59
59
|
import "../../chunk-MDKCTSDS.js";
|
|
60
|
-
import "../../chunk-
|
|
60
|
+
import "../../chunk-MYBXCWEI.js";
|
|
61
61
|
import "../../chunk-OTX6XNSA.js";
|
|
62
|
-
import "../../chunk-
|
|
62
|
+
import "../../chunk-RYXIRVDC.js";
|
|
63
63
|
import {
|
|
64
64
|
Label,
|
|
65
65
|
Skeleton
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunk2SYX2Z7Rcjs = require('../../chunk-2SYX2Z7R.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
28
|
-
require('../../chunk-
|
|
27
|
+
var _chunkV2QK5W3Ocjs = require('../../chunk-V2QK5W3O.cjs');
|
|
28
|
+
require('../../chunk-QD64Q4I2.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
@@ -40,25 +40,25 @@ require('../../chunk-NLT5R43J.cjs');
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
var
|
|
43
|
+
var _chunkQIKBISZMcjs = require('../../chunk-QIKBISZM.cjs');
|
|
44
44
|
require('../../chunk-GQWM3ECA.cjs');
|
|
45
45
|
require('../../chunk-TON3YCCW.cjs');
|
|
46
|
-
require('../../chunk-
|
|
46
|
+
require('../../chunk-M4YQUHOR.cjs');
|
|
47
47
|
require('../../chunk-D55IENZJ.cjs');
|
|
48
48
|
require('../../chunk-N6CULJYR.cjs');
|
|
49
|
-
require('../../chunk-
|
|
49
|
+
require('../../chunk-H64ZHSYR.cjs');
|
|
50
50
|
require('../../chunk-N6HNK25A.cjs');
|
|
51
|
-
require('../../chunk-
|
|
51
|
+
require('../../chunk-YBPFIXV4.cjs');
|
|
52
52
|
require('../../chunk-YXWGSDK4.cjs');
|
|
53
53
|
require('../../chunk-SADRZ4YI.cjs');
|
|
54
54
|
require('../../chunk-KOQCA5X5.cjs');
|
|
55
55
|
require('../../chunk-GSQM4PDR.cjs');
|
|
56
56
|
require('../../chunk-XQFFGR6U.cjs');
|
|
57
|
-
require('../../chunk-
|
|
57
|
+
require('../../chunk-WCBRZCU4.cjs');
|
|
58
58
|
require('../../chunk-WLSFBRT5.cjs');
|
|
59
|
-
require('../../chunk-
|
|
59
|
+
require('../../chunk-YH6IQTPI.cjs');
|
|
60
60
|
require('../../chunk-63QUMV72.cjs');
|
|
61
|
-
require('../../chunk-
|
|
61
|
+
require('../../chunk-RDTOMWDN.cjs');
|
|
62
62
|
require('../../chunk-CHIHYC7Q.cjs');
|
|
63
63
|
require('../../chunk-WZW7C7TF.cjs');
|
|
64
64
|
require('../../chunk-CJBSU3XB.cjs');
|
|
@@ -101,5 +101,5 @@ require('../../chunk-K4RM5MEW.cjs');
|
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
|
|
104
|
-
exports.AppHeader =
|
|
104
|
+
exports.AppHeader = _chunk2SYX2Z7Rcjs.AppHeader; exports.AppLayout = _chunk2SYX2Z7Rcjs.AppLayout; exports.AppLayoutDrawer = _chunkQIKBISZMcjs.AppLayoutDrawerRoot; exports.AppLayoutDrawerBody = _chunkQIKBISZMcjs.AppLayoutDrawerBody; exports.AppLayoutDrawerClose = _chunkQIKBISZMcjs.AppLayoutDrawerClose; exports.AppLayoutDrawerContent = _chunkQIKBISZMcjs.AppLayoutDrawerContent; exports.AppLayoutDrawerDescription = _chunkQIKBISZMcjs.AppLayoutDrawerDescription; exports.AppLayoutDrawerFooter = _chunkQIKBISZMcjs.AppLayoutDrawerFooter; exports.AppLayoutDrawerHeader = _chunkQIKBISZMcjs.AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = _chunkQIKBISZMcjs.AppLayoutDrawerTitle; exports.AppLayoutDrawerTrigger = _chunkQIKBISZMcjs.AppLayoutDrawerTrigger; exports.ClientOnlyHeader = _chunk2SYX2Z7Rcjs.ClientOnlyHeader; exports.Header = _chunk2SYX2Z7Rcjs.Header; exports.HeaderButton = _chunkQIKBISZMcjs.HeaderButton; exports.HeaderGlobalSearch = _chunk2SYX2Z7Rcjs.HeaderGlobalSearch; exports.HeaderMingoButton = _chunk2SYX2Z7Rcjs.HeaderMingoButton; exports.HeaderOrganizationFilter = _chunk2SYX2Z7Rcjs.HeaderOrganizationFilter; exports.HeaderSkeleton = _chunk2SYX2Z7Rcjs.HeaderSkeleton; exports.MOBILE_NAV_PANEL_ID = _chunk2SYX2Z7Rcjs.MOBILE_NAV_PANEL_ID; exports.MingoAiButton = _chunk2SYX2Z7Rcjs.MingoAiButton; exports.MobileBurgerMenu = _chunk2SYX2Z7Rcjs.MobileBurgerMenu; exports.MobileNavPanel = _chunk2SYX2Z7Rcjs.MobileNavPanel; exports.MobileNavigationDropdown = _chunkV2QK5W3Ocjs.MobileNavigationDropdown; exports.MultiLevelNavigation = _chunkV2QK5W3Ocjs.MultiLevelNavigation; exports.NAVIGATION_SIDEBAR_WIDTH_VAR = _chunk2SYX2Z7Rcjs.NAVIGATION_SIDEBAR_WIDTH_VAR; exports.NavigationSidebar = _chunk2SYX2Z7Rcjs.NavigationSidebar; exports.SlidingSidebar = _chunk2SYX2Z7Rcjs.SlidingSidebar; exports.StickySectionNav = _chunkV2QK5W3Ocjs.StickySectionNav; exports.TicketAlertsButton = _chunk2SYX2Z7Rcjs.TicketAlertsButton; exports.TopNavigation = _chunk2SYX2Z7Rcjs.TopNavigation; exports.UnreadCountBadge = _chunkQIKBISZMcjs.UnreadCountBadge; exports.UnreadDot = _chunkQIKBISZMcjs.UnreadDot; exports.useAppLayoutDrawerContainer = _chunkQIKBISZMcjs.useAppLayoutDrawerContainer; exports.useSectionNavigation = _chunkV2QK5W3Ocjs.useSectionNavigation;
|
|
105
105
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -18,14 +18,14 @@ import {
|
|
|
18
18
|
SlidingSidebar,
|
|
19
19
|
TicketAlertsButton,
|
|
20
20
|
TopNavigation
|
|
21
|
-
} from "../../chunk-
|
|
21
|
+
} from "../../chunk-KHOZ52NR.js";
|
|
22
22
|
import {
|
|
23
23
|
MobileNavigationDropdown,
|
|
24
24
|
MultiLevelNavigation,
|
|
25
25
|
StickySectionNav,
|
|
26
26
|
useSectionNavigation
|
|
27
|
-
} from "../../chunk-
|
|
28
|
-
import "../../chunk-
|
|
27
|
+
} from "../../chunk-SE3PVN64.js";
|
|
28
|
+
import "../../chunk-TZPVRWPU.js";
|
|
29
29
|
import {
|
|
30
30
|
AppLayoutDrawerBody,
|
|
31
31
|
AppLayoutDrawerClose,
|
|
@@ -40,25 +40,25 @@ import {
|
|
|
40
40
|
UnreadCountBadge,
|
|
41
41
|
UnreadDot,
|
|
42
42
|
useAppLayoutDrawerContainer
|
|
43
|
-
} from "../../chunk-
|
|
43
|
+
} from "../../chunk-GHYFVT52.js";
|
|
44
44
|
import "../../chunk-L2SLFCXP.js";
|
|
45
45
|
import "../../chunk-BJXDHKUX.js";
|
|
46
|
-
import "../../chunk-
|
|
46
|
+
import "../../chunk-EZM5DNII.js";
|
|
47
47
|
import "../../chunk-ZRIVCLPR.js";
|
|
48
48
|
import "../../chunk-GBON2OCG.js";
|
|
49
|
-
import "../../chunk-
|
|
49
|
+
import "../../chunk-GGQZBSFN.js";
|
|
50
50
|
import "../../chunk-KOLVBEW5.js";
|
|
51
|
-
import "../../chunk-
|
|
51
|
+
import "../../chunk-VNSRNVPD.js";
|
|
52
52
|
import "../../chunk-5LIDR7HL.js";
|
|
53
53
|
import "../../chunk-XXMHLZ3Y.js";
|
|
54
54
|
import "../../chunk-LPMDCQLL.js";
|
|
55
55
|
import "../../chunk-IMDG23LW.js";
|
|
56
56
|
import "../../chunk-W72U7OU7.js";
|
|
57
|
-
import "../../chunk-
|
|
57
|
+
import "../../chunk-UAAXUFK6.js";
|
|
58
58
|
import "../../chunk-MDKCTSDS.js";
|
|
59
|
-
import "../../chunk-
|
|
59
|
+
import "../../chunk-MYBXCWEI.js";
|
|
60
60
|
import "../../chunk-OTX6XNSA.js";
|
|
61
|
-
import "../../chunk-
|
|
61
|
+
import "../../chunk-RYXIRVDC.js";
|
|
62
62
|
import "../../chunk-5JUTGEZE.js";
|
|
63
63
|
import "../../chunk-6U3IUD57.js";
|
|
64
64
|
import "../../chunk-XAUPFCIJ.js";
|
|
@@ -7,29 +7,29 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
11
|
-
require('../../chunk-
|
|
12
|
-
require('../../chunk-
|
|
13
|
-
require('../../chunk-
|
|
14
|
-
require('../../chunk-
|
|
10
|
+
var _chunkUG7JNQZYcjs = require('../../chunk-UG7JNQZY.cjs');
|
|
11
|
+
require('../../chunk-BPVHDDNY.cjs');
|
|
12
|
+
require('../../chunk-P24VPJTT.cjs');
|
|
13
|
+
require('../../chunk-STYNZ4QM.cjs');
|
|
14
|
+
require('../../chunk-QIKBISZM.cjs');
|
|
15
15
|
require('../../chunk-GQWM3ECA.cjs');
|
|
16
16
|
require('../../chunk-TON3YCCW.cjs');
|
|
17
|
-
require('../../chunk-
|
|
17
|
+
require('../../chunk-M4YQUHOR.cjs');
|
|
18
18
|
require('../../chunk-D55IENZJ.cjs');
|
|
19
19
|
require('../../chunk-N6CULJYR.cjs');
|
|
20
|
-
require('../../chunk-
|
|
20
|
+
require('../../chunk-H64ZHSYR.cjs');
|
|
21
21
|
require('../../chunk-N6HNK25A.cjs');
|
|
22
|
-
require('../../chunk-
|
|
22
|
+
require('../../chunk-YBPFIXV4.cjs');
|
|
23
23
|
require('../../chunk-YXWGSDK4.cjs');
|
|
24
24
|
require('../../chunk-SADRZ4YI.cjs');
|
|
25
25
|
require('../../chunk-KOQCA5X5.cjs');
|
|
26
26
|
require('../../chunk-GSQM4PDR.cjs');
|
|
27
27
|
require('../../chunk-XQFFGR6U.cjs');
|
|
28
|
-
require('../../chunk-
|
|
28
|
+
require('../../chunk-WCBRZCU4.cjs');
|
|
29
29
|
require('../../chunk-WLSFBRT5.cjs');
|
|
30
|
-
require('../../chunk-
|
|
30
|
+
require('../../chunk-YH6IQTPI.cjs');
|
|
31
31
|
require('../../chunk-63QUMV72.cjs');
|
|
32
|
-
require('../../chunk-
|
|
32
|
+
require('../../chunk-RDTOMWDN.cjs');
|
|
33
33
|
require('../../chunk-CHIHYC7Q.cjs');
|
|
34
34
|
require('../../chunk-WZW7C7TF.cjs');
|
|
35
35
|
require('../../chunk-CJBSU3XB.cjs');
|
|
@@ -45,5 +45,5 @@ require('../../chunk-K4RM5MEW.cjs');
|
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
exports.OnboardingGuideDetailView =
|
|
48
|
+
exports.OnboardingGuideDetailView = _chunkUG7JNQZYcjs.OnboardingGuideDetailView; exports.OnboardingGuidesCatalogSkeleton = _chunkUG7JNQZYcjs.OnboardingGuidesCatalogSkeleton; exports.OnboardingGuidesCatalogView = _chunkUG7JNQZYcjs.OnboardingGuidesCatalogView; exports.onboardingGuideKeys = _chunkUG7JNQZYcjs.onboardingGuideKeys; exports.useOnboardingGuide = _chunkUG7JNQZYcjs.useOnboardingGuide; exports.useOnboardingGuideSections = _chunkUG7JNQZYcjs.useOnboardingGuideSections; exports.useOnboardingGuides = _chunkUG7JNQZYcjs.useOnboardingGuides;
|
|
49
49
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -7,29 +7,29 @@ import {
|
|
|
7
7
|
useOnboardingGuide,
|
|
8
8
|
useOnboardingGuideSections,
|
|
9
9
|
useOnboardingGuides
|
|
10
|
-
} from "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
10
|
+
} from "../../chunk-WDWCQD75.js";
|
|
11
|
+
import "../../chunk-HLPAVYK7.js";
|
|
12
|
+
import "../../chunk-R4UV366K.js";
|
|
13
|
+
import "../../chunk-WZJOILPU.js";
|
|
14
|
+
import "../../chunk-GHYFVT52.js";
|
|
15
15
|
import "../../chunk-L2SLFCXP.js";
|
|
16
16
|
import "../../chunk-BJXDHKUX.js";
|
|
17
|
-
import "../../chunk-
|
|
17
|
+
import "../../chunk-EZM5DNII.js";
|
|
18
18
|
import "../../chunk-ZRIVCLPR.js";
|
|
19
19
|
import "../../chunk-GBON2OCG.js";
|
|
20
|
-
import "../../chunk-
|
|
20
|
+
import "../../chunk-GGQZBSFN.js";
|
|
21
21
|
import "../../chunk-KOLVBEW5.js";
|
|
22
|
-
import "../../chunk-
|
|
22
|
+
import "../../chunk-VNSRNVPD.js";
|
|
23
23
|
import "../../chunk-5LIDR7HL.js";
|
|
24
24
|
import "../../chunk-XXMHLZ3Y.js";
|
|
25
25
|
import "../../chunk-LPMDCQLL.js";
|
|
26
26
|
import "../../chunk-IMDG23LW.js";
|
|
27
27
|
import "../../chunk-W72U7OU7.js";
|
|
28
|
-
import "../../chunk-
|
|
28
|
+
import "../../chunk-UAAXUFK6.js";
|
|
29
29
|
import "../../chunk-MDKCTSDS.js";
|
|
30
|
-
import "../../chunk-
|
|
30
|
+
import "../../chunk-MYBXCWEI.js";
|
|
31
31
|
import "../../chunk-OTX6XNSA.js";
|
|
32
|
-
import "../../chunk-
|
|
32
|
+
import "../../chunk-RYXIRVDC.js";
|
|
33
33
|
import "../../chunk-5JUTGEZE.js";
|
|
34
34
|
import "../../chunk-6U3IUD57.js";
|
|
35
35
|
import "../../chunk-XAUPFCIJ.js";
|