@flamingo-stack/openframe-frontend-core 0.0.718 → 0.0.720
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-MIQLUUVF.cjs → chunk-2C72EWQR.cjs} +93 -29
- package/dist/{chunk-IWCPXJEE.js → chunk-3HZ6XSZC.js} +2 -4
- package/dist/{chunk-ZXCZYMN4.cjs → chunk-4SIZCHVZ.cjs} +13 -15
- package/dist/{chunk-BOTM373R.cjs → chunk-5XDCCQ4A.cjs} +15 -15
- package/dist/{chunk-DXCBOZVT.cjs → chunk-6BLN5WDS.cjs} +41 -41
- package/dist/{chunk-DCD5WZUF.js → chunk-6W46LVK4.js} +5 -5
- package/dist/{chunk-JHQ334WS.js → chunk-742BGXNX.js} +2 -0
- package/dist/{chunk-AECTRMGQ.cjs → chunk-7GRPR7XA.cjs} +13 -1
- package/dist/{chunk-45F7PXUI.js → chunk-7HYEQKN6.js} +6 -6
- package/dist/{chunk-N2PF5CFX.js → chunk-7IOU6BJE.js} +12 -11
- package/dist/{chunk-BWIN42ZA.cjs → chunk-7LPR4RZ3.cjs} +34 -36
- package/dist/chunk-AFTRPEXO.js +13 -0
- package/dist/{chunk-JPD4NXH6.js → chunk-AZRI4XBP.js} +1 -1
- package/dist/{chunk-4QFWGLZO.js → chunk-B2N4YX66.js} +1 -1
- package/dist/{chunk-QXZCLQNV.js → chunk-B5LNX4GZ.js} +2 -2
- package/dist/{chunk-GN4A7PMB.cjs → chunk-DHNJSQGX.cjs} +91 -91
- package/dist/{chunk-NDZ5ZXOQ.cjs → chunk-DOPOHO6H.cjs} +20 -20
- package/dist/{chunk-Z3CVSPO3.cjs → chunk-DYDDAA6O.cjs} +519 -518
- package/dist/{chunk-2RKFMUNW.cjs → chunk-EVMM3JE6.cjs} +64 -63
- package/dist/chunk-EWPR7662.cjs +13 -0
- package/dist/{chunk-AGVXKD4K.js → chunk-FSQQZFVG.js} +12 -0
- package/dist/{chunk-TTVOLEUS.js → chunk-GANIUMRU.js} +89 -2
- package/dist/{chunk-S2FUFMLW.cjs → chunk-HFEYEPOG.cjs} +27 -27
- package/dist/{chunk-LE5WKGJV.cjs → chunk-HTS46FFY.cjs} +3 -3
- package/dist/{chunk-6A43ZDWV.cjs → chunk-IL3ZWNM2.cjs} +4 -4
- package/dist/{chunk-PSVSEN4J.cjs → chunk-IMTY3GRR.cjs} +2 -0
- package/dist/{chunk-YC5COB5V.cjs → chunk-ISCZ6UNF.cjs} +85 -89
- package/dist/{chunk-XGHGGBM3.js → chunk-K2BYVPGR.js} +3 -3
- package/dist/{chunk-HWVUR735.cjs → chunk-KSGMZHVV.cjs} +2 -2
- package/dist/{chunk-SGFTTJKO.js → chunk-LO3KCLEF.js} +1 -1
- package/dist/{chunk-MA4Q5RBP.cjs → chunk-NYSMDM4J.cjs} +2 -2
- package/dist/{chunk-67QBMN4R.js → chunk-O3MKJU6A.js} +6 -6
- package/dist/{chunk-APJZBDQN.js → chunk-PSMJYZMV.js} +27 -26
- package/dist/{chunk-JH2SIWPQ.js → chunk-PXAKSPLZ.js} +1586 -1263
- package/dist/{chunk-TBCZCRQ5.js → chunk-Q5327DXK.js} +13 -17
- package/dist/{chunk-EZC2F5OT.cjs → chunk-QF464PPL.cjs} +39 -39
- package/dist/{chunk-UWQWMGJ7.cjs → chunk-RDP5UZXQ.cjs} +888 -565
- package/dist/{chunk-ETYLOZOB.cjs → chunk-RFUOIQSG.cjs} +100 -13
- package/dist/{chunk-DC4RTYWK.cjs → chunk-RZQGIWK3.cjs} +3 -3
- package/dist/{chunk-PQ6HBLZ7.js → chunk-TORERAXD.js} +105 -41
- package/dist/{chunk-6YPTUHM7.js → chunk-URW23QUM.js} +1 -1
- package/dist/{chunk-QBCDSTLE.cjs → chunk-UWJMDFDO.cjs} +18 -18
- package/dist/{chunk-YEMCCYIF.js → chunk-V6B2FBZK.js} +5 -5
- package/dist/{chunk-JIWMBIVZ.js → chunk-VBHGJFA3.js} +10 -10
- package/dist/{chunk-Z5UWW3Z2.cjs → chunk-VF2CJXZ2.cjs} +81 -65
- package/dist/{chunk-DEZDMTBM.js → chunk-VYVPII4W.js} +8 -10
- package/dist/{chunk-MM7MCIXL.js → chunk-VYZCKY5K.js} +9 -9
- package/dist/{chunk-E7YCPY7K.cjs → chunk-XSM46FHD.cjs} +3 -3
- package/dist/{chunk-NZ5BHDFZ.js → chunk-XW3Q623Q.js} +1 -1
- package/dist/{chunk-LOYPRJWA.js → chunk-YK3X74SF.js} +67 -51
- package/dist/{chunk-WALCXC7J.cjs → chunk-ZHD3F2TH.cjs} +3 -3
- package/dist/{chunk-KBJJQFYU.js → chunk-ZPHOQDAE.js} +1 -1
- package/dist/{cloud-tenants-TAKOWXLD.js → cloud-tenants-RKQRSDNE.js} +9 -9
- package/dist/{cloud-tenants-PFDF7O5U.cjs → cloud-tenants-UQZASXUB.cjs} +10 -10
- package/dist/components/case-studies/index.cjs +23 -23
- package/dist/components/case-studies/index.js +10 -10
- package/dist/components/chat/ask-prompts.d.ts +10 -2
- package/dist/components/chat/ask-prompts.d.ts.map +1 -1
- package/dist/components/chat/assistant-ask-prompts.d.ts +27 -0
- package/dist/components/chat/assistant-ask-prompts.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/hooks/index.d.ts +1 -0
- package/dist/components/chat/hooks/index.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-ask-prompts.d.ts +63 -0
- package/dist/components/chat/hooks/use-ask-prompts.d.ts.map +1 -0
- package/dist/components/chat/index.cjs +23 -6
- package/dist/components/chat/index.d.ts +1 -0
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +22 -5
- package/dist/components/chat/utils/icon-library.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +11 -11
- package/dist/components/contact/index.js +10 -10
- package/dist/components/docs/index.cjs +14 -14
- package/dist/components/docs/index.js +13 -13
- package/dist/components/embeds/index.cjs +11 -11
- package/dist/components/embeds/index.js +10 -10
- package/dist/components/faq/faq-ask-card.d.ts +44 -0
- package/dist/components/faq/faq-ask-card.d.ts.map +1 -0
- package/dist/components/faq/faq-document-page.d.ts +5 -1
- package/dist/components/faq/faq-document-page.d.ts.map +1 -1
- package/dist/components/faq/faq-section.d.ts +18 -5
- package/dist/components/faq/faq-section.d.ts.map +1 -1
- package/dist/components/faq/index.cjs +13 -12
- package/dist/components/faq/index.d.ts +1 -0
- package/dist/components/faq/index.d.ts.map +1 -1
- package/dist/components/faq/index.js +12 -11
- package/dist/components/features/auth/auth-benefits-panel.d.ts.map +1 -1
- package/dist/components/features/index.cjs +10 -10
- package/dist/components/features/index.js +9 -9
- package/dist/components/features/remote-session/remote-desktop-view.d.ts +6 -2
- package/dist/components/features/remote-session/remote-desktop-view.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +104 -105
- package/dist/components/help-center-pages/index.js +28 -29
- package/dist/components/help-center-pages/trust-center-page.d.ts +4 -1
- package/dist/components/help-center-pages/trust-center-page.d.ts.map +1 -1
- package/dist/components/index.cjs +109 -197
- package/dist/components/index.js +228 -316
- package/dist/components/meeting-scheduler/index.cjs +50 -51
- package/dist/components/meeting-scheduler/index.js +12 -13
- package/dist/components/navigation/index.cjs +13 -13
- package/dist/components/navigation/index.js +12 -12
- package/dist/components/navigation/mingo-ai-button.d.ts +1 -1
- package/dist/components/navigation/mingo-ai-button.d.ts.map +1 -1
- package/dist/components/onboarding-guides/index.cjs +13 -14
- package/dist/components/onboarding-guides/index.js +12 -13
- package/dist/components/product-demo/index.cjs +7 -7
- package/dist/components/product-demo/index.js +7 -7
- package/dist/components/related-content/index.cjs +5 -7
- package/dist/components/related-content/index.js +4 -6
- package/dist/components/related-content/related-content-section.d.ts +6 -6
- package/dist/components/related-content/related-content-section.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +15 -15
- package/dist/components/tickets/index.js +14 -14
- package/dist/components/ui/index.cjs +26 -10
- package/dist/components/ui/index.js +25 -9
- package/dist/contexts/assistant-runtime-context.d.ts +74 -0
- package/dist/contexts/assistant-runtime-context.d.ts.map +1 -0
- package/dist/contexts/index.cjs +7 -1
- package/dist/contexts/index.d.ts +1 -0
- package/dist/contexts/index.d.ts.map +1 -1
- package/dist/contexts/index.js +6 -0
- package/dist/{devices-KRCGZMGA.cjs → devices-7Q2EUM7B.cjs} +11 -11
- package/dist/{devices-LHEX7O5T.js → devices-U3Y4IIW4.js} +9 -9
- package/dist/hooks/index.cjs +3 -4
- package/dist/hooks/index.js +2 -3
- package/dist/hooks/use-self-fetch.d.ts +3 -0
- package/dist/hooks/use-self-fetch.d.ts.map +1 -1
- package/dist/index.cjs +34 -14
- package/dist/index.js +33 -13
- package/dist/{knowledge-RZSFNR33.js → knowledge-NST53EXE.js} +9 -9
- package/dist/{knowledge-KLVPVEYZ.cjs → knowledge-UYIZ74MA.cjs} +11 -11
- package/dist/{logs-OX3XTVL2.cjs → logs-HTH7X7KV.cjs} +18 -18
- package/dist/{logs-E5DOV5JO.js → logs-JVTRG232.js} +9 -9
- package/dist/{policies-MC2S4S5G.js → policies-DTXTRK56.js} +9 -9
- package/dist/{policies-FOSCIZGK.cjs → policies-MXK2HB4W.cjs} +14 -14
- package/dist/{remote-session-JQ2BPIE3.js → remote-session-LAJZKQBN.js} +3 -3
- package/dist/{remote-session-DRFE5XZE.cjs → remote-session-SKKF4PBV.cjs} +5 -5
- package/dist/{software-update-D4OEIH65.js → software-update-6RHMPM3W.js} +9 -9
- package/dist/{software-update-HOBSTWVO.cjs → software-update-P6BSM6HX.cjs} +14 -14
- package/dist/utils/index.cjs +26 -2
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +25 -3
- package/dist/utils/list-url.d.ts.map +1 -1
- package/dist/utils/source-icons.d.ts.map +1 -1
- package/dist/utils/trial.d.ts +18 -0
- package/dist/utils/trial.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/components/chat/ask-prompts.tsx +25 -3
- package/src/components/chat/assistant-ask-prompts.tsx +78 -0
- package/src/components/chat/entity-cards/dispatch.tsx +38 -4
- package/src/components/chat/hooks/index.ts +12 -0
- package/src/components/chat/hooks/use-ask-prompts.ts +188 -0
- package/src/components/chat/index.ts +1 -0
- package/src/components/chat/utils/icon-library.tsx +6 -0
- package/src/components/faq/faq-ask-card.tsx +115 -0
- package/src/components/faq/faq-document-page.tsx +6 -1
- package/src/components/faq/faq-section.tsx +27 -5
- package/src/components/faq/index.ts +1 -0
- package/src/components/features/auth/auth-benefits-panel.tsx +5 -4
- package/src/components/features/remote-session/remote-desktop-view.tsx +86 -63
- package/src/components/help-center-pages/trust-center-page.tsx +5 -2
- package/src/components/navigation/mingo-ai-button.tsx +27 -6
- package/src/components/related-content/related-content-section.tsx +46 -47
- package/src/contexts/assistant-runtime-context.tsx +84 -0
- package/src/contexts/index.ts +9 -0
- package/src/hooks/use-self-fetch.ts +7 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/list-url.ts +4 -0
- package/src/utils/source-icons.ts +10 -2
- package/src/utils/trial.ts +19 -0
- package/dist/chunk-AUMKE74M.cjs +0 -16
- package/dist/chunk-G3GRYDMS.js +0 -16
- package/dist/chunk-GEDY7HQI.cjs +0 -85
- package/dist/chunk-YBQQNDC7.js +0 -85
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkKSGMZHVVcjs = require('../../chunk-KSGMZHVV.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkNYSMDM4Jcjs = require('../../chunk-NYSMDM4J.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -16,7 +16,7 @@ var _chunkMA4Q5RBPcjs = require('../../chunk-MA4Q5RBP.cjs');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkDYDDAA6Ocjs = require('../../chunk-DYDDAA6O.cjs');
|
|
20
20
|
require('../../chunk-4HJRHEXD.cjs');
|
|
21
21
|
require('../../chunk-HQQE74RO.cjs');
|
|
22
22
|
require('../../chunk-DEY6XXGO.cjs');
|
|
@@ -27,30 +27,28 @@ require('../../chunk-DEY6XXGO.cjs');
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkVF2CJXZ2cjs = require('../../chunk-VF2CJXZ2.cjs');
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
var
|
|
36
|
+
var _chunk4SIZCHVZcjs = require('../../chunk-4SIZCHVZ.cjs');
|
|
37
37
|
require('../../chunk-B4NCVYEQ.cjs');
|
|
38
38
|
require('../../chunk-MZ4KBSH7.cjs');
|
|
39
39
|
require('../../chunk-A6P6DHEZ.cjs');
|
|
40
40
|
require('../../chunk-WBNAEYTQ.cjs');
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
var _chunkAUMKE74Mcjs = require('../../chunk-AUMKE74M.cjs');
|
|
44
|
-
|
|
45
|
-
|
|
46
43
|
var _chunkLX22Y43Bcjs = require('../../chunk-LX22Y43B.cjs');
|
|
47
44
|
|
|
48
45
|
|
|
49
46
|
|
|
50
47
|
|
|
51
|
-
var
|
|
48
|
+
var _chunkRDP5UZXQcjs = require('../../chunk-RDP5UZXQ.cjs');
|
|
52
49
|
require('../../chunk-KT3U3ZRP.cjs');
|
|
53
|
-
require('../../chunk-
|
|
50
|
+
require('../../chunk-EWPR7662.cjs');
|
|
51
|
+
require('../../chunk-RZQGIWK3.cjs');
|
|
54
52
|
require('../../chunk-FFT56TYB.cjs');
|
|
55
53
|
|
|
56
54
|
|
|
@@ -59,11 +57,11 @@ require('../../chunk-WVOTC7HW.cjs');
|
|
|
59
57
|
require('../../chunk-7DNL734S.cjs');
|
|
60
58
|
|
|
61
59
|
|
|
62
|
-
var
|
|
60
|
+
var _chunkRFUOIQSGcjs = require('../../chunk-RFUOIQSG.cjs');
|
|
63
61
|
require('../../chunk-AL2GUHAJ.cjs');
|
|
64
62
|
|
|
65
63
|
|
|
66
|
-
var
|
|
64
|
+
var _chunkIMTY3GRRcjs = require('../../chunk-IMTY3GRR.cjs');
|
|
67
65
|
|
|
68
66
|
|
|
69
67
|
|
|
@@ -74,7 +72,8 @@ var _chunkF5BPGWGTcjs = require('../../chunk-F5BPGWGT.cjs');
|
|
|
74
72
|
require('../../chunk-MGHIV4L6.cjs');
|
|
75
73
|
|
|
76
74
|
|
|
77
|
-
|
|
75
|
+
|
|
76
|
+
var _chunk7GRPR7XAcjs = require('../../chunk-7GRPR7XA.cjs');
|
|
78
77
|
require('../../chunk-UJ7AXHRZ.cjs');
|
|
79
78
|
require('../../chunk-AAYNCJMW.cjs');
|
|
80
79
|
require('../../chunk-ULWVKHSI.cjs');
|
|
@@ -380,7 +379,7 @@ function useMeetingBooking(options) {
|
|
|
380
379
|
const seededOffset = _optionalChain([initialAvailability, 'optionalAccess', _12 => _12.meetingId]) === meetingId ? initialAvailability.monthOffset : void 0;
|
|
381
380
|
const [monthOffset, setMonthOffsetState] = _react.useState.call(void 0, _nullishCoalesce(seededOffset, () => ( 0)));
|
|
382
381
|
const setMonthOffset = _react.useCallback.call(void 0, (offset) => {
|
|
383
|
-
setMonthOffsetState(Math.max(0, Math.min(
|
|
382
|
+
setMonthOffsetState(Math.max(0, Math.min(_chunkRDP5UZXQcjs.MAX_MONTH_OFFSET, offset)));
|
|
384
383
|
}, []);
|
|
385
384
|
const prevMeetingIdRef = _react.useRef.call(void 0, meetingId);
|
|
386
385
|
_react.useLayoutEffect.call(void 0, () => {
|
|
@@ -393,7 +392,7 @@ function useMeetingBooking(options) {
|
|
|
393
392
|
queryKey: meetingAvailabilityKey(apiBaseUrl, meetingId, monthOffset),
|
|
394
393
|
queryFn: async ({ signal }) => {
|
|
395
394
|
const params = new URLSearchParams({ meeting: meetingId, monthOffset: String(monthOffset) });
|
|
396
|
-
const res = await
|
|
395
|
+
const res = await _chunk7GRPR7XAcjs.contentFetch.call(void 0, `${apiBaseUrl}/api/meetings/availability?${params}`, { signal });
|
|
397
396
|
if (!res.ok) throw new Error(`availability ${res.status}`);
|
|
398
397
|
return await res.json();
|
|
399
398
|
},
|
|
@@ -410,7 +409,7 @@ function useMeetingBooking(options) {
|
|
|
410
409
|
const bookMutation = _reactquery.useMutation.call(void 0, {
|
|
411
410
|
mutationFn: async (payload) => {
|
|
412
411
|
try {
|
|
413
|
-
const res = await
|
|
412
|
+
const res = await _chunk7GRPR7XAcjs.contentFetch.call(void 0, `${apiBaseUrl}/api/meetings/book`, {
|
|
414
413
|
method: "POST",
|
|
415
414
|
headers: { "Content-Type": "application/json" },
|
|
416
415
|
body: JSON.stringify(payload)
|
|
@@ -510,7 +509,7 @@ var FIELD_CONTROLS = {
|
|
|
510
509
|
}
|
|
511
510
|
),
|
|
512
511
|
textarea: ({ field, id, registerName, error, register }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
513
|
-
|
|
512
|
+
_chunkDYDDAA6Ocjs.Textarea,
|
|
514
513
|
{
|
|
515
514
|
id,
|
|
516
515
|
required: field.required,
|
|
@@ -566,18 +565,18 @@ var FIELD_CONTROLS = {
|
|
|
566
565
|
{
|
|
567
566
|
control,
|
|
568
567
|
name: registerName,
|
|
569
|
-
render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
568
|
+
render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVF2CJXZ2cjs.Select, { value: _nullishCoalesce(rhf.value, () => ( "")), onValueChange: rhf.onChange, children: [
|
|
570
569
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
571
|
-
|
|
570
|
+
_chunkVF2CJXZ2cjs.SelectTrigger,
|
|
572
571
|
{
|
|
573
572
|
id,
|
|
574
573
|
"aria-required": field.required || void 0,
|
|
575
574
|
"aria-invalid": Boolean(error),
|
|
576
575
|
invalid: Boolean(error),
|
|
577
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
576
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectValue, { placeholder: "Select\u2026" })
|
|
578
577
|
}
|
|
579
578
|
),
|
|
580
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
579
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectContent, { children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.SelectItem, { value: opt, children: optionLabel(field, opt) }, opt)) })
|
|
581
580
|
] })
|
|
582
581
|
}
|
|
583
582
|
),
|
|
@@ -587,14 +586,14 @@ var FIELD_CONTROLS = {
|
|
|
587
586
|
control,
|
|
588
587
|
name: registerName,
|
|
589
588
|
render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
590
|
-
|
|
589
|
+
_chunkDYDDAA6Ocjs.RadioGroup,
|
|
591
590
|
{
|
|
592
591
|
value: _nullishCoalesce(rhf.value, () => ( "")),
|
|
593
592
|
onValueChange: rhf.onChange,
|
|
594
593
|
"aria-required": field.required || void 0,
|
|
595
594
|
"aria-invalid": Boolean(error),
|
|
596
595
|
children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
597
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
596
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDYDDAA6Ocjs.RadioGroupItem, { id: `${id}-${opt}`, value: opt }),
|
|
598
597
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.Label, { htmlFor: `${id}-${opt}`, children: optionLabel(field, opt) })
|
|
599
598
|
] }, opt))
|
|
600
599
|
}
|
|
@@ -733,7 +732,7 @@ function BookingForm({
|
|
|
733
732
|
() => [...BUILT_IN_BOOKING_FIELDS.map((field) => field.name), ...supportedFields.map((field) => field.name)],
|
|
734
733
|
[supportedFields]
|
|
735
734
|
);
|
|
736
|
-
const formRescue =
|
|
735
|
+
const formRescue = _chunk4SIZCHVZcjs.useRescuedForm.call(void 0,
|
|
737
736
|
{ watch, getValues, setValue },
|
|
738
737
|
{
|
|
739
738
|
rescue,
|
|
@@ -742,7 +741,7 @@ function BookingForm({
|
|
|
742
741
|
fieldPath: (name) => BUILT_IN_BOOKING_FIELDS.some((field) => field.name === name) ? name : `formFields.${name}`
|
|
743
742
|
}
|
|
744
743
|
);
|
|
745
|
-
const { toast } =
|
|
744
|
+
const { toast } = _chunk4SIZCHVZcjs.useToast.call(void 0, );
|
|
746
745
|
const onInvalid = () => {
|
|
747
746
|
if (deniedEmailDomains && emailDomainDenied(getValues("email"), deniedEmailDomains)) {
|
|
748
747
|
toast({
|
|
@@ -830,8 +829,8 @@ function BookingForm({
|
|
|
830
829
|
children: _nullishCoalesce(submitLabel, () => ( DEFAULT_SUBMIT_LABEL))
|
|
831
830
|
}
|
|
832
831
|
);
|
|
833
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: submit, className: FORM_STACK, noValidate: true, ...
|
|
834
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
832
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: submit, className: FORM_STACK, noValidate: true, ..._chunkRDP5UZXQcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS, children: [
|
|
833
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDYDDAA6Ocjs.HoneypotField, { ...honeypotInputProps }),
|
|
835
834
|
fieldRows ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
836
835
|
placedRows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_GRID, children: row.map((slot, slotIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: slotColumnClass(row, slot, slotIndex), children: slotNode(slot.name) }, slot.name)) }, row.map((s) => s.name).join("|"))),
|
|
837
836
|
[...unplacedBuiltIns, ...unplacedFields].map((field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: slotNode(field.name) }, field.name))
|
|
@@ -844,7 +843,7 @@ function BookingForm({
|
|
|
844
843
|
supportedFields.map((field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: renderDeclaredField(field) }, field.name))
|
|
845
844
|
] }),
|
|
846
845
|
consent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
847
|
-
|
|
846
|
+
_chunkDYDDAA6Ocjs.CheckboxBlock,
|
|
848
847
|
{
|
|
849
848
|
id: "ms-host-consent",
|
|
850
849
|
checked: consented,
|
|
@@ -879,7 +878,7 @@ function BookingForm({
|
|
|
879
878
|
// same block the waitlist form uses): box + label in one
|
|
880
879
|
// bordered row.
|
|
881
880
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
882
|
-
|
|
881
|
+
_chunkDYDDAA6Ocjs.CheckboxBlock,
|
|
883
882
|
{
|
|
884
883
|
id: `ms-consent-${box.communicationTypeId}`,
|
|
885
884
|
checked: _nullishCoalesce(_optionalChain([current, 'optionalAccess', _34 => _34.consented]), () => ( false)),
|
|
@@ -976,7 +975,7 @@ function ContextPanelSkeleton({
|
|
|
976
975
|
backLabel = "Back"
|
|
977
976
|
}) {
|
|
978
977
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, PANEL_STACK, className), children: [
|
|
979
|
-
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
978
|
+
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
|
|
980
979
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_BODY, children: [
|
|
981
980
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: STRIP_MAIN, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: IDENTITY_ROW, children: [
|
|
982
981
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xs)] content-lg:flex-none", children: [
|
|
@@ -1012,7 +1011,7 @@ function SchedulerContextPanel({
|
|
|
1012
1011
|
className
|
|
1013
1012
|
}) {
|
|
1014
1013
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, PANEL_STACK, className), children: [
|
|
1015
|
-
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1014
|
+
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
|
|
1016
1015
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_BODY, children: [
|
|
1017
1016
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_MAIN, children: [
|
|
1018
1017
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: IDENTITY_ROW, children: [
|
|
@@ -1033,7 +1032,7 @@ function SchedulerContextPanel({
|
|
|
1033
1032
|
] })
|
|
1034
1033
|
] }, host.name)) }),
|
|
1035
1034
|
hosts.length > 3 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
1036
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1035
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIMTY3GRRcjs.AvatarStack, { people: hosts, max: 4, size: "lg", label: "Hosts" }),
|
|
1037
1036
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: [
|
|
1038
1037
|
hosts.length,
|
|
1039
1038
|
" hosts on this calendar"
|
|
@@ -1074,7 +1073,7 @@ function SchedulerContextPanel({
|
|
|
1074
1073
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, STRIP_ASIDE, locked && "content-max-lg:hidden"), children: [
|
|
1075
1074
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS, children: "Timezone" }),
|
|
1076
1075
|
timezone ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1077
|
-
|
|
1076
|
+
_chunkDYDDAA6Ocjs.TimezoneSelect,
|
|
1078
1077
|
{
|
|
1079
1078
|
value: timezone,
|
|
1080
1079
|
disabled,
|
|
@@ -1157,18 +1156,18 @@ var NOOP = () => void 0;
|
|
|
1157
1156
|
function DayCalendar({ monthOffset, onMonthOffsetChange, selectedDay, onSelectDay, slotsByDay }) {
|
|
1158
1157
|
const now = /* @__PURE__ */ new Date();
|
|
1159
1158
|
const startMonth = new Date(now.getFullYear(), now.getMonth(), 1);
|
|
1160
|
-
const endMonth = new Date(now.getFullYear(), now.getMonth() +
|
|
1159
|
+
const endMonth = new Date(now.getFullYear(), now.getMonth() + _chunkRDP5UZXQcjs.MAX_MONTH_OFFSET + 1, 0);
|
|
1161
1160
|
const visibleMonth = new Date(now.getFullYear(), now.getMonth() + monthOffset, 1);
|
|
1162
1161
|
const dayHasNoSlots = _react.useCallback.call(void 0, (day) => !_optionalChain([slotsByDay, 'optionalAccess', _36 => _36.has, 'call', _37 => _37(calendarDayKey(day))]), [slotsByDay]);
|
|
1163
1162
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col", "aria-busy": slotsByDay === null, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1164
|
-
|
|
1163
|
+
_chunkDYDDAA6Ocjs.DatePickerCalendar,
|
|
1165
1164
|
{
|
|
1166
1165
|
mode: "single",
|
|
1167
1166
|
bare: true,
|
|
1168
1167
|
month: visibleMonth,
|
|
1169
1168
|
onMonthChange: (month) => {
|
|
1170
1169
|
const offset = (month.getFullYear() - now.getFullYear()) * 12 + (month.getMonth() - now.getMonth());
|
|
1171
|
-
onMonthOffsetChange(Math.max(0, Math.min(
|
|
1170
|
+
onMonthOffsetChange(Math.max(0, Math.min(_chunkRDP5UZXQcjs.MAX_MONTH_OFFSET, offset)));
|
|
1172
1171
|
},
|
|
1173
1172
|
fromDate: startMonth,
|
|
1174
1173
|
toDate: endMonth,
|
|
@@ -1284,7 +1283,7 @@ function SlotPicker({
|
|
|
1284
1283
|
monthLabelFor(monthOffset),
|
|
1285
1284
|
"."
|
|
1286
1285
|
] }),
|
|
1287
|
-
monthOffset <
|
|
1286
|
+
monthOffset < _chunkRDP5UZXQcjs.MAX_MONTH_OFFSET && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1288
1287
|
_chunkDFQYAYBHcjs.Button,
|
|
1289
1288
|
{
|
|
1290
1289
|
variant: "outline",
|
|
@@ -1306,7 +1305,7 @@ function SlotPicker({
|
|
|
1306
1305
|
|
|
1307
1306
|
|
|
1308
1307
|
function useNextAvailableLabel(ms) {
|
|
1309
|
-
const hydrated =
|
|
1308
|
+
const hydrated = _chunkRDP5UZXQcjs.useIsHydrated.call(void 0, );
|
|
1310
1309
|
return _react.useMemo.call(void 0, () => {
|
|
1311
1310
|
if (!hydrated || ms == null) return null;
|
|
1312
1311
|
return _chunkF5BPGWGTcjs.formatDateWithTimezone.call(void 0, ms, _chunkF5BPGWGTcjs.VIEWER_TIMEZONE, "shortWeekdayDateTime", { viewerLocale: true }) || null;
|
|
@@ -1334,8 +1333,8 @@ function DirectoryRow({
|
|
|
1334
1333
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h3", children: link.title }),
|
|
1335
1334
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: subtitle })
|
|
1336
1335
|
] }),
|
|
1337
|
-
audienceLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1338
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1336
|
+
audienceLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRFUOIQSGcjs.StatusBadge, { text: `For ${audienceLabel}`, singleLine: true, className: "hidden shrink-0 content-sm:inline-flex" }),
|
|
1337
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIMTY3GRRcjs.AvatarStack, { people: link.hosts, max: 3, size: "md", label: "Hosts", className: "flex shrink-0" }),
|
|
1339
1338
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "hidden w-44 shrink-0 flex-col items-end justify-center content-md:flex", children: [
|
|
1340
1339
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "Next available" }),
|
|
1341
1340
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-h-5 text-ods-text-primary text-h6", children: link.nextAvailableMs == null ? "No times published" : _nullishCoalesce(nextLabel, () => ( " ")) })
|
|
@@ -1383,7 +1382,7 @@ function MeetingSchedulerDirectory({
|
|
|
1383
1382
|
setError(null);
|
|
1384
1383
|
try {
|
|
1385
1384
|
const qs = includeAll ? "?scope=all" : "";
|
|
1386
|
-
const res = await
|
|
1385
|
+
const res = await _chunk7GRPR7XAcjs.contentFetch.call(void 0, `${apiBaseUrl}/api/meetings${qs}`, { signal: controller.signal });
|
|
1387
1386
|
if (!res.ok) throw new Error(`meetings ${res.status}`);
|
|
1388
1387
|
const payload = await res.json();
|
|
1389
1388
|
if (active) setData(payload);
|
|
@@ -1404,7 +1403,7 @@ function MeetingSchedulerDirectory({
|
|
|
1404
1403
|
const purposes = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _40 => _40.purposes]), () => ( []));
|
|
1405
1404
|
return purposes.flatMap((p) => p.links.map((link) => ({ link, audienceLabel: p.label })));
|
|
1406
1405
|
}, [data]);
|
|
1407
|
-
const totalPages =
|
|
1406
|
+
const totalPages = _chunk7GRPR7XAcjs.pageCount.call(void 0, rows.length, pageSize);
|
|
1408
1407
|
const pageRows = rows.slice((page - 1) * pageSize, page * pageSize);
|
|
1409
1408
|
const rowsMinHeight = pageSize * 80 + (pageSize - 1) * 16;
|
|
1410
1409
|
if (isLoading && !data) {
|
|
@@ -1415,7 +1414,7 @@ function MeetingSchedulerDirectory({
|
|
|
1415
1414
|
}
|
|
1416
1415
|
if (error) {
|
|
1417
1416
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex flex-col justify-center", className), style: { minHeight: rowsMinHeight + 104 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1418
|
-
|
|
1417
|
+
_chunkNYSMDM4Jcjs.EmptyState,
|
|
1419
1418
|
{
|
|
1420
1419
|
type: "generic",
|
|
1421
1420
|
title: "We couldn't load available call times",
|
|
@@ -1426,7 +1425,7 @@ function MeetingSchedulerDirectory({
|
|
|
1426
1425
|
}
|
|
1427
1426
|
if (rows.length === 0) {
|
|
1428
1427
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex flex-col justify-center", className), style: { minHeight: rowsMinHeight + 104 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1429
|
-
|
|
1428
|
+
_chunkNYSMDM4Jcjs.EmptyState,
|
|
1430
1429
|
{
|
|
1431
1430
|
type: "generic",
|
|
1432
1431
|
title: "No call times are published right now",
|
|
@@ -1438,7 +1437,7 @@ function MeetingSchedulerDirectory({
|
|
|
1438
1437
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex flex-col", className), children: [
|
|
1439
1438
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col gap-4", style: { minHeight: rowsMinHeight }, children: pageRows.map(({ link, audienceLabel }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DirectoryRow, { link, audienceLabel, bookingBasePath }, link.id)) }),
|
|
1440
1439
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mt-8 flex w-full items-center justify-center", PAGINATION_SLOT_H), children: totalPages > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1441
|
-
|
|
1440
|
+
_chunkKSGMZHVVcjs.PersistentPaginationWrapper,
|
|
1442
1441
|
{
|
|
1443
1442
|
isLoading,
|
|
1444
1443
|
currentPage: page,
|
|
@@ -1539,7 +1538,7 @@ function HubSpotMeetingScheduler({
|
|
|
1539
1538
|
isSubmitting
|
|
1540
1539
|
} = useMeetingBooking({ meetingId, apiBaseUrl, initialAvailability });
|
|
1541
1540
|
const detailsFirst = flow === "details-first";
|
|
1542
|
-
const hydrated =
|
|
1541
|
+
const hydrated = _chunkRDP5UZXQcjs.useIsHydrated.call(void 0, );
|
|
1543
1542
|
const [pickedTimezone, setTimezone] = _react.useState.call(void 0, null);
|
|
1544
1543
|
const resolvedLocalTimezone = _react.useMemo.call(void 0, () => {
|
|
1545
1544
|
if (!hydrated) return null;
|
|
@@ -1572,8 +1571,8 @@ function HubSpotMeetingScheduler({
|
|
|
1572
1571
|
const [selectedSlot, setSelectedSlot] = _react.useState.call(void 0, null);
|
|
1573
1572
|
const [confirmation, setConfirmation] = _react.useState.call(void 0, null);
|
|
1574
1573
|
const [bookingError, setBookingError] = _react.useState.call(void 0, null);
|
|
1575
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
1576
|
-
const { toast } =
|
|
1574
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunk4SIZCHVZcjs.useHumanitySignals.call(void 0, );
|
|
1575
|
+
const { toast } = _chunk4SIZCHVZcjs.useToast.call(void 0, );
|
|
1577
1576
|
const autoAdvanceCount = _react.useRef.call(void 0, 0);
|
|
1578
1577
|
const [machineFor, setMachineFor] = _react.useState.call(void 0, meetingId);
|
|
1579
1578
|
if (machineFor !== meetingId) {
|
|
@@ -1647,7 +1646,7 @@ function HubSpotMeetingScheduler({
|
|
|
1647
1646
|
return;
|
|
1648
1647
|
}
|
|
1649
1648
|
if (result.ok && result.confirmation) {
|
|
1650
|
-
|
|
1649
|
+
_chunk4SIZCHVZcjs.completeFormRescue.call(void 0, rescue, payload[_chunkGQ7JJUITcjs.FORM_RESCUE_ATTEMPT_FIELD]);
|
|
1651
1650
|
setConfirmation(result.confirmation);
|
|
1652
1651
|
setStep("confirmed");
|
|
1653
1652
|
_optionalChain([onBooked, 'optionalCall', _46 => _46(result.confirmation)]);
|
|
@@ -1770,11 +1769,11 @@ function HubSpotMeetingScheduler({
|
|
|
1770
1769
|
)
|
|
1771
1770
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)] content-md:min-h-0 content-md:flex-1", children: [
|
|
1772
1771
|
bookingError === "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1773
|
-
|
|
1772
|
+
_chunkDYDDAA6Ocjs.Alert,
|
|
1774
1773
|
{
|
|
1775
1774
|
variant: "warning",
|
|
1776
1775
|
className: "mx-[var(--spacing-system-l)] mt-[var(--spacing-system-l)] w-auto content-lg:m-0 content-lg:w-full",
|
|
1777
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1776
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDYDDAA6Ocjs.AlertDescription, { children: "That time was just taken \u2014 pick another slot below. (If you already submitted, check your email for a confirmation before rebooking.)" })
|
|
1778
1777
|
}
|
|
1779
1778
|
),
|
|
1780
1779
|
timezone && durationMs != null ? (
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
import {
|
|
4
4
|
PersistentPaginationWrapper
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-B2N4YX66.js";
|
|
6
6
|
import {
|
|
7
7
|
EmptyState
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-URW23QUM.js";
|
|
9
9
|
import {
|
|
10
10
|
Alert,
|
|
11
11
|
AlertDescription,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
RadioGroupItem,
|
|
17
17
|
Textarea,
|
|
18
18
|
TimezoneSelect
|
|
19
|
-
} from "../../chunk-
|
|
19
|
+
} from "../../chunk-7IOU6BJE.js";
|
|
20
20
|
import "../../chunk-ILNN6QRW.js";
|
|
21
21
|
import "../../chunk-LQYXMEYF.js";
|
|
22
22
|
import "../../chunk-4JPLYOS6.js";
|
|
@@ -27,20 +27,17 @@ import {
|
|
|
27
27
|
SelectItem,
|
|
28
28
|
SelectTrigger,
|
|
29
29
|
SelectValue
|
|
30
|
-
} from "../../chunk-
|
|
30
|
+
} from "../../chunk-YK3X74SF.js";
|
|
31
31
|
import {
|
|
32
32
|
completeFormRescue,
|
|
33
33
|
useHumanitySignals,
|
|
34
34
|
useRescuedForm,
|
|
35
35
|
useToast
|
|
36
|
-
} from "../../chunk-
|
|
36
|
+
} from "../../chunk-3HZ6XSZC.js";
|
|
37
37
|
import "../../chunk-3K5ZLZE7.js";
|
|
38
38
|
import "../../chunk-HFL2F4RM.js";
|
|
39
39
|
import "../../chunk-YYYVS7CX.js";
|
|
40
40
|
import "../../chunk-WSDT7LYL.js";
|
|
41
|
-
import {
|
|
42
|
-
contentFetch
|
|
43
|
-
} from "../../chunk-G3GRYDMS.js";
|
|
44
41
|
import {
|
|
45
42
|
Checkbox
|
|
46
43
|
} from "../../chunk-PLWMIU72.js";
|
|
@@ -48,9 +45,10 @@ import {
|
|
|
48
45
|
HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
49
46
|
MAX_MONTH_OFFSET,
|
|
50
47
|
useIsHydrated
|
|
51
|
-
} from "../../chunk-
|
|
48
|
+
} from "../../chunk-PXAKSPLZ.js";
|
|
52
49
|
import "../../chunk-2NASBO7O.js";
|
|
53
|
-
import "../../chunk-
|
|
50
|
+
import "../../chunk-AFTRPEXO.js";
|
|
51
|
+
import "../../chunk-ZPHOQDAE.js";
|
|
54
52
|
import "../../chunk-P3JMAMHP.js";
|
|
55
53
|
import {
|
|
56
54
|
FORM_RESCUE_ATTEMPT_FIELD
|
|
@@ -59,11 +57,11 @@ import "../../chunk-34I6XI3N.js";
|
|
|
59
57
|
import "../../chunk-GY4IZG22.js";
|
|
60
58
|
import {
|
|
61
59
|
StatusBadge
|
|
62
|
-
} from "../../chunk-
|
|
60
|
+
} from "../../chunk-GANIUMRU.js";
|
|
63
61
|
import "../../chunk-H3PKYE4N.js";
|
|
64
62
|
import {
|
|
65
63
|
AvatarStack
|
|
66
|
-
} from "../../chunk-
|
|
64
|
+
} from "../../chunk-742BGXNX.js";
|
|
67
65
|
import {
|
|
68
66
|
SquareAvatar,
|
|
69
67
|
VIEWER_TIMEZONE,
|
|
@@ -73,8 +71,9 @@ import {
|
|
|
73
71
|
} from "../../chunk-IYVFSLWJ.js";
|
|
74
72
|
import "../../chunk-FBZMAPWO.js";
|
|
75
73
|
import {
|
|
74
|
+
contentFetch,
|
|
76
75
|
pageCount
|
|
77
|
-
} from "../../chunk-
|
|
76
|
+
} from "../../chunk-FSQQZFVG.js";
|
|
78
77
|
import "../../chunk-E4ABZWTJ.js";
|
|
79
78
|
import "../../chunk-KEKCQENI.js";
|
|
80
79
|
import "../../chunk-ADBE7QF3.js";
|
|
@@ -24,15 +24,15 @@
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkQF464PPLcjs = require('../../chunk-QF464PPL.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
35
|
-
require('../../chunk-
|
|
34
|
+
var _chunkHTS46FFYcjs = require('../../chunk-HTS46FFY.cjs');
|
|
35
|
+
require('../../chunk-XSM46FHD.cjs');
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
@@ -47,35 +47,35 @@ require('../../chunk-E7YCPY7K.cjs');
|
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
|
|
50
|
-
var
|
|
50
|
+
var _chunkDYDDAA6Ocjs = require('../../chunk-DYDDAA6O.cjs');
|
|
51
51
|
require('../../chunk-4HJRHEXD.cjs');
|
|
52
52
|
require('../../chunk-HQQE74RO.cjs');
|
|
53
53
|
require('../../chunk-DEY6XXGO.cjs');
|
|
54
|
-
require('../../chunk-
|
|
55
|
-
require('../../chunk-
|
|
54
|
+
require('../../chunk-VF2CJXZ2.cjs');
|
|
55
|
+
require('../../chunk-4SIZCHVZ.cjs');
|
|
56
56
|
require('../../chunk-B4NCVYEQ.cjs');
|
|
57
57
|
require('../../chunk-MZ4KBSH7.cjs');
|
|
58
58
|
require('../../chunk-A6P6DHEZ.cjs');
|
|
59
59
|
require('../../chunk-WBNAEYTQ.cjs');
|
|
60
|
-
require('../../chunk-AUMKE74M.cjs');
|
|
61
60
|
require('../../chunk-LX22Y43B.cjs');
|
|
62
61
|
|
|
63
62
|
|
|
64
63
|
|
|
65
64
|
|
|
66
|
-
var
|
|
65
|
+
var _chunkRDP5UZXQcjs = require('../../chunk-RDP5UZXQ.cjs');
|
|
67
66
|
require('../../chunk-KT3U3ZRP.cjs');
|
|
68
|
-
require('../../chunk-
|
|
67
|
+
require('../../chunk-EWPR7662.cjs');
|
|
68
|
+
require('../../chunk-RZQGIWK3.cjs');
|
|
69
69
|
require('../../chunk-FFT56TYB.cjs');
|
|
70
70
|
require('../../chunk-GQ7JJUIT.cjs');
|
|
71
71
|
require('../../chunk-WVOTC7HW.cjs');
|
|
72
72
|
require('../../chunk-7DNL734S.cjs');
|
|
73
|
-
require('../../chunk-
|
|
73
|
+
require('../../chunk-RFUOIQSG.cjs');
|
|
74
74
|
require('../../chunk-AL2GUHAJ.cjs');
|
|
75
|
-
require('../../chunk-
|
|
75
|
+
require('../../chunk-IMTY3GRR.cjs');
|
|
76
76
|
require('../../chunk-F5BPGWGT.cjs');
|
|
77
77
|
require('../../chunk-MGHIV4L6.cjs');
|
|
78
|
-
require('../../chunk-
|
|
78
|
+
require('../../chunk-7GRPR7XA.cjs');
|
|
79
79
|
require('../../chunk-UJ7AXHRZ.cjs');
|
|
80
80
|
require('../../chunk-AAYNCJMW.cjs');
|
|
81
81
|
require('../../chunk-ULWVKHSI.cjs');
|
|
@@ -138,4 +138,4 @@ require('../../chunk-QBJ4SE23.cjs');
|
|
|
138
138
|
|
|
139
139
|
|
|
140
140
|
|
|
141
|
-
exports.ASK_AI_OPEN_EVENT =
|
|
141
|
+
exports.ASK_AI_OPEN_EVENT = _chunkRDP5UZXQcjs.ASK_AI_OPEN_EVENT; exports.AppHeader = _chunkQF464PPLcjs.AppHeader; exports.AppLayout = _chunkQF464PPLcjs.AppLayout; exports.AppLayoutDrawer = _chunkDYDDAA6Ocjs.AppLayoutDrawerRoot; exports.AppLayoutDrawerBody = _chunkDYDDAA6Ocjs.AppLayoutDrawerBody; exports.AppLayoutDrawerClose = _chunkDYDDAA6Ocjs.AppLayoutDrawerClose; exports.AppLayoutDrawerContent = _chunkDYDDAA6Ocjs.AppLayoutDrawerContent; exports.AppLayoutDrawerDescription = _chunkDYDDAA6Ocjs.AppLayoutDrawerDescription; exports.AppLayoutDrawerFooter = _chunkDYDDAA6Ocjs.AppLayoutDrawerFooter; exports.AppLayoutDrawerHeader = _chunkDYDDAA6Ocjs.AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = _chunkDYDDAA6Ocjs.AppLayoutDrawerTitle; exports.AppLayoutDrawerTrigger = _chunkDYDDAA6Ocjs.AppLayoutDrawerTrigger; exports.HeaderButton = _chunkDYDDAA6Ocjs.HeaderButton; exports.HeaderGlobalSearch = _chunkQF464PPLcjs.HeaderGlobalSearch; exports.HeaderMingoButton = _chunkQF464PPLcjs.HeaderMingoButton; exports.HeaderOrganizationFilter = _chunkQF464PPLcjs.HeaderOrganizationFilter; exports.MOBILE_NAV_SHEET_ID = _chunkQF464PPLcjs.MOBILE_NAV_SHEET_ID; exports.MingoAiButton = _chunkRDP5UZXQcjs.MingoAiButton; exports.MobileBurgerMenu = _chunkQF464PPLcjs.MobileBurgerMenu; exports.MobileNavSheet = _chunkQF464PPLcjs.MobileNavSheet; exports.MobileNavigationDropdown = _chunkHTS46FFYcjs.MobileNavigationDropdown; exports.MultiLevelNavigation = _chunkHTS46FFYcjs.MultiLevelNavigation; exports.NAVIGATION_SIDEBAR_WIDTH_VAR = _chunkQF464PPLcjs.NAVIGATION_SIDEBAR_WIDTH_VAR; exports.NavItemRow = _chunkQF464PPLcjs.NavItemRow; exports.NavPanel = _chunkQF464PPLcjs.NavPanel; exports.NavigationItemBadge = _chunkQF464PPLcjs.NavigationItemBadge; exports.NavigationSidebar = _chunkQF464PPLcjs.NavigationSidebar; exports.SIDE_PANEL_FRAME_WIDTH = _chunkQF464PPLcjs.SIDE_PANEL_FRAME_WIDTH; exports.SiteFooter = _chunkQF464PPLcjs.SiteFooter; exports.SiteHeader = _chunkQF464PPLcjs.SiteHeader; exports.SlidingSidebar = _chunkQF464PPLcjs.SlidingSidebar; exports.StickySectionNav = _chunkHTS46FFYcjs.StickySectionNav; exports.TicketAlertsButton = _chunkQF464PPLcjs.TicketAlertsButton; exports.TopNavigation = _chunkQF464PPLcjs.TopNavigation; exports.UnreadCountBadge = _chunkDYDDAA6Ocjs.UnreadCountBadge; exports.UnreadDot = _chunkDYDDAA6Ocjs.UnreadDot; exports.defaultRenderSiteNavLink = _chunkQF464PPLcjs.defaultRenderSiteNavLink; exports.isMegaMenu = _chunkQF464PPLcjs.isMegaMenu; exports.navLinkLabel = _chunkQF464PPLcjs.navLinkLabel; exports.openAskAi = _chunkRDP5UZXQcjs.openAskAi; exports.siteNavHasMobileMenus = _chunkQF464PPLcjs.siteNavHasMobileMenus; exports.useAppLayoutDrawerContainer = _chunkDYDDAA6Ocjs.useAppLayoutDrawerContainer; exports.useScrollSpy = _chunkHTS46FFYcjs.useScrollSpy; exports.useSectionNavigation = _chunkHTS46FFYcjs.useSectionNavigation;
|
|
@@ -24,15 +24,15 @@ import {
|
|
|
24
24
|
isMegaMenu,
|
|
25
25
|
navLinkLabel,
|
|
26
26
|
siteNavHasMobileMenus
|
|
27
|
-
} from "../../chunk-
|
|
27
|
+
} from "../../chunk-V6B2FBZK.js";
|
|
28
28
|
import {
|
|
29
29
|
MobileNavigationDropdown,
|
|
30
30
|
MultiLevelNavigation,
|
|
31
31
|
StickySectionNav,
|
|
32
32
|
useScrollSpy,
|
|
33
33
|
useSectionNavigation
|
|
34
|
-
} from "../../chunk-
|
|
35
|
-
import "../../chunk-
|
|
34
|
+
} from "../../chunk-XW3Q623Q.js";
|
|
35
|
+
import "../../chunk-AZRI4XBP.js";
|
|
36
36
|
import {
|
|
37
37
|
AppLayoutDrawerBody,
|
|
38
38
|
AppLayoutDrawerClose,
|
|
@@ -47,35 +47,35 @@ import {
|
|
|
47
47
|
UnreadCountBadge,
|
|
48
48
|
UnreadDot,
|
|
49
49
|
useAppLayoutDrawerContainer
|
|
50
|
-
} from "../../chunk-
|
|
50
|
+
} from "../../chunk-7IOU6BJE.js";
|
|
51
51
|
import "../../chunk-ILNN6QRW.js";
|
|
52
52
|
import "../../chunk-LQYXMEYF.js";
|
|
53
53
|
import "../../chunk-4JPLYOS6.js";
|
|
54
|
-
import "../../chunk-
|
|
55
|
-
import "../../chunk-
|
|
54
|
+
import "../../chunk-YK3X74SF.js";
|
|
55
|
+
import "../../chunk-3HZ6XSZC.js";
|
|
56
56
|
import "../../chunk-3K5ZLZE7.js";
|
|
57
57
|
import "../../chunk-HFL2F4RM.js";
|
|
58
58
|
import "../../chunk-YYYVS7CX.js";
|
|
59
59
|
import "../../chunk-WSDT7LYL.js";
|
|
60
|
-
import "../../chunk-G3GRYDMS.js";
|
|
61
60
|
import "../../chunk-PLWMIU72.js";
|
|
62
61
|
import {
|
|
63
62
|
ASK_AI_OPEN_EVENT,
|
|
64
63
|
MingoAiButton,
|
|
65
64
|
openAskAi
|
|
66
|
-
} from "../../chunk-
|
|
65
|
+
} from "../../chunk-PXAKSPLZ.js";
|
|
67
66
|
import "../../chunk-2NASBO7O.js";
|
|
68
|
-
import "../../chunk-
|
|
67
|
+
import "../../chunk-AFTRPEXO.js";
|
|
68
|
+
import "../../chunk-ZPHOQDAE.js";
|
|
69
69
|
import "../../chunk-P3JMAMHP.js";
|
|
70
70
|
import "../../chunk-CMZ3QTFQ.js";
|
|
71
71
|
import "../../chunk-34I6XI3N.js";
|
|
72
72
|
import "../../chunk-GY4IZG22.js";
|
|
73
|
-
import "../../chunk-
|
|
73
|
+
import "../../chunk-GANIUMRU.js";
|
|
74
74
|
import "../../chunk-H3PKYE4N.js";
|
|
75
|
-
import "../../chunk-
|
|
75
|
+
import "../../chunk-742BGXNX.js";
|
|
76
76
|
import "../../chunk-IYVFSLWJ.js";
|
|
77
77
|
import "../../chunk-FBZMAPWO.js";
|
|
78
|
-
import "../../chunk-
|
|
78
|
+
import "../../chunk-FSQQZFVG.js";
|
|
79
79
|
import "../../chunk-E4ABZWTJ.js";
|
|
80
80
|
import "../../chunk-KEKCQENI.js";
|
|
81
81
|
import "../../chunk-ADBE7QF3.js";
|
|
@@ -59,6 +59,6 @@ export declare function openAskAi(source?: string, options?: {
|
|
|
59
59
|
* It is the lib `Button` (`transparent`, or `glyph` for the menu row, at the
|
|
60
60
|
* `wrap` size): the launcher's own box, ring and collapse are classes on it.
|
|
61
61
|
*/
|
|
62
|
-
export declare function MingoAiButton({ source, icon, label, shortcutHint, variant, className, onClick, ...props }: MingoAiButtonProps): React.JSX.Element;
|
|
62
|
+
export declare function MingoAiButton({ source, icon: iconProp, label: labelProp, shortcutHint, variant, className, onClick, ...props }: MingoAiButtonProps): React.JSX.Element | null;
|
|
63
63
|
export default MingoAiButton;
|
|
64
64
|
//# sourceMappingURL=mingo-ai-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mingo-ai-button.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/mingo-ai-button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"mingo-ai-button.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/mingo-ai-button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,MAAM,WAAW,kBAAmB,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACvF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;0EAGsE;IACtE,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB;;sEAEkE;IAClE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;mDAC+C;IAC/C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;;;iBAMa;IACb,OAAO,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;CACzC;AAID,oEAAoE;AACpE,eAAO,MAAM,iBAAiB,gBAAgB,CAAC;AAE/C,2CAA2C;AAC3C,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,mFAAmF;IACnF,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAI9E;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,aAAa,CAAC,EAC5B,MAAM,EACN,IAAI,EAAE,QAAQ,EACd,KAAK,EAAE,SAAS,EAChB,YAAoB,EACpB,OAAkB,EAClB,SAAS,EACT,OAAO,EACP,GAAG,KAAK,EACT,EAAE,kBAAkB,4BAuIpB;AAED,eAAe,aAAa,CAAC"}
|