@flamingo-stack/openframe-frontend-core 0.0.719 → 0.0.721
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/index.cjs +6 -0
- package/dist/assets/index.d.ts +1 -0
- package/dist/assets/index.d.ts.map +1 -1
- package/dist/assets/index.js +5 -1
- package/dist/assets/mobile-app-qr.d.ts +17 -0
- package/dist/assets/mobile-app-qr.d.ts.map +1 -0
- package/dist/{chunk-2JLP2X2M.js → chunk-2P2M27EW.js} +2396 -2369
- package/dist/{chunk-IWCPXJEE.js → chunk-2TXGR7IK.js} +138 -63
- package/dist/{chunk-FVQJBII6.js → chunk-3LY7V3RF.js} +3 -3
- package/dist/{chunk-HCFNEKO3.cjs → chunk-3R32ZNA2.cjs} +46 -46
- package/dist/{chunk-WSDT7LYL.js → chunk-3UBWDR65.js} +1 -1
- package/dist/{chunk-NZ5BHDFZ.js → chunk-44Q6MV7C.js} +2 -2
- package/dist/{chunk-CMZ3QTFQ.js → chunk-4I3K6LEH.js} +24 -0
- package/dist/{chunk-ZXCZYMN4.cjs → chunk-4LY6R4TN.cjs} +137 -62
- package/dist/{chunk-EAHOB64X.js → chunk-57UTI7ZH.js} +106 -42
- package/dist/{chunk-XGHGGBM3.js → chunk-5QXE5HMV.js} +4 -4
- package/dist/{chunk-NYWESHOQ.cjs → chunk-6AJIOW3S.cjs} +57 -57
- package/dist/{chunk-4QFWGLZO.js → chunk-6YBUQAOH.js} +1 -1
- package/dist/{chunk-JHQ334WS.js → chunk-742BGXNX.js} +2 -0
- package/dist/{chunk-D6PMVWDI.js → chunk-74N742ZG.js} +6 -6
- package/dist/{chunk-AECTRMGQ.cjs → chunk-7GRPR7XA.cjs} +13 -1
- package/dist/{chunk-4HJRHEXD.cjs → chunk-7Z5FMQYR.cjs} +22 -22
- package/dist/chunk-AFTRPEXO.js +13 -0
- package/dist/{chunk-WBNAEYTQ.cjs → chunk-BYUIFT7Q.cjs} +6 -6
- package/dist/{chunk-LCLDFMDF.cjs → chunk-BYVVE7HP.cjs} +58 -58
- package/dist/{chunk-JPD4NXH6.js → chunk-CO3FOZIH.js} +1 -1
- package/dist/{chunk-E7YCPY7K.cjs → chunk-D2DH6VZL.cjs} +3 -3
- package/dist/{chunk-HWVUR735.cjs → chunk-DFM572VH.cjs} +2 -2
- package/dist/{chunk-YDPKUAP4.js → chunk-DJ4IFQNQ.js} +2 -0
- package/dist/{chunk-5U3KWQXP.js → chunk-E6SMMMKV.js} +13 -13
- package/dist/chunk-EWPR7662.cjs +13 -0
- package/dist/{chunk-SWAVO7BB.cjs → chunk-F7ORKKEF.cjs} +108 -108
- package/dist/{chunk-AGVXKD4K.js → chunk-FSQQZFVG.js} +12 -0
- package/dist/{chunk-ETYLOZOB.cjs → chunk-GCK75D7F.cjs} +109 -22
- package/dist/{chunk-ZKNZ2CXW.cjs → chunk-GGBYZKMS.cjs} +11 -11
- package/dist/{chunk-Y4MB25KW.js → chunk-GYAXV3MZ.js} +3 -3
- package/dist/{chunk-UWQWMGJ7.cjs → chunk-HJMSNOBT.cjs} +1040 -696
- package/dist/{chunk-DFQYAYBH.cjs → chunk-HQIOMFJH.cjs} +2 -0
- package/dist/{chunk-JH2SIWPQ.js → chunk-HXB7SEYG.js} +1611 -1267
- package/dist/{chunk-LE5WKGJV.cjs → chunk-I2254QN6.cjs} +16 -16
- package/dist/{chunk-PSVSEN4J.cjs → chunk-IMTY3GRR.cjs} +2 -0
- package/dist/{chunk-ILNN6QRW.js → chunk-JDBZ4ZHU.js} +3 -3
- package/dist/{chunk-GQ7JJUIT.cjs → chunk-K2JUJ37D.cjs} +25 -1
- package/dist/{chunk-6YPTUHM7.js → chunk-K76ACBR3.js} +3 -3
- package/dist/{chunk-2NASBO7O.js → chunk-KFOAV77K.js} +2 -2
- package/dist/{chunk-CU6NWO2M.js → chunk-LAXKEBDD.js} +14 -18
- package/dist/{chunk-5YAGX5DY.js → chunk-LGKMR7NZ.js} +7 -7
- package/dist/{chunk-E2V2EH2G.cjs → chunk-LODMNSQY.cjs} +16 -16
- package/dist/{chunk-4D6NMPOO.js → chunk-NJ5TBTJG.js} +7 -7
- package/dist/{chunk-TDZ76NCB.cjs → chunk-NMPVK53I.cjs} +29 -29
- package/dist/{chunk-TTVOLEUS.js → chunk-NPSJE7J3.js} +90 -3
- package/dist/{chunk-H5VIMBRN.cjs → chunk-O5EHOJZD.cjs} +4 -4
- package/dist/{chunk-KT3U3ZRP.cjs → chunk-OKE5BIQH.cjs} +8 -8
- package/dist/{chunk-DC4RTYWK.cjs → chunk-QLTXT562.cjs} +5 -5
- package/dist/{chunk-H5V7GRN5.js → chunk-QQCFPMAA.js} +5 -7
- package/dist/{chunk-7BREFV7G.cjs → chunk-QYS4YVEP.cjs} +34 -36
- package/dist/{chunk-7BCY77W6.js → chunk-RCI3PALX.js} +8 -10
- package/dist/{chunk-P3JMAMHP.js → chunk-REETLEL5.js} +1 -1
- package/dist/{chunk-4JIGEK7C.cjs → chunk-RJMWJAJO.cjs} +97 -33
- package/dist/{chunk-WS7WRR5Z.cjs → chunk-RQZQHLNS.cjs} +86 -90
- package/dist/{chunk-FFT56TYB.cjs → chunk-RUZIICXT.cjs} +2 -2
- package/dist/{chunk-AJHSQ5XK.js → chunk-S63QBBT7.js} +6 -6
- package/dist/{chunk-TELAANY6.js → chunk-UXU7Y5BH.js} +2 -2
- package/dist/{chunk-NQVS4G7G.cjs → chunk-UZTOI6FJ.cjs} +773 -746
- package/dist/{chunk-DFEPUYTF.cjs → chunk-VFICDEYJ.cjs} +45 -47
- package/dist/{chunk-LOZLHG2U.cjs → chunk-XE2K53GH.cjs} +20 -20
- package/dist/{chunk-QBCDSTLE.cjs → chunk-XXO52RZR.cjs} +26 -26
- package/dist/{chunk-TTEFN6VO.js → chunk-ZLUFEWZZ.js} +10 -10
- package/dist/{chunk-MA4Q5RBP.cjs → chunk-ZSOFLPQN.cjs} +9 -9
- package/dist/{chunk-KBJJQFYU.js → chunk-ZZEKXGFS.js} +2 -2
- package/dist/{cloud-tenants-FBUO66GW.cjs → cloud-tenants-HZHKRUIW.cjs} +16 -16
- package/dist/{cloud-tenants-DNBPNQNP.js → cloud-tenants-Q4TCJS5Y.js} +15 -15
- package/dist/components/calendar.cjs +4 -4
- package/dist/components/calendar.js +1 -1
- package/dist/components/case-studies/index.cjs +30 -30
- package/dist/components/case-studies/index.js +16 -16
- 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 +27 -10
- 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 +26 -9
- package/dist/components/chat/utils/icon-library.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +17 -17
- package/dist/components/contact/index.js +16 -16
- package/dist/components/docs/index.cjs +20 -20
- package/dist/components/docs/index.js +19 -19
- package/dist/components/embeds/index.cjs +17 -17
- package/dist/components/embeds/index.js +16 -16
- 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 +19 -18
- 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 +18 -17
- package/dist/components/features/auth/auth-benefits-panel.d.ts.map +1 -1
- package/dist/components/features/index.cjs +16 -16
- package/dist/components/features/index.js +15 -15
- package/dist/components/help-center-pages/download-apps-page.d.ts +55 -0
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -0
- package/dist/components/help-center-pages/index.cjs +333 -119
- package/dist/components/help-center-pages/index.d.ts +1 -0
- package/dist/components/help-center-pages/index.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.js +251 -37
- 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 +131 -217
- package/dist/components/index.js +236 -322
- package/dist/components/meeting-scheduler/index.cjs +61 -62
- package/dist/components/meeting-scheduler/index.js +18 -19
- package/dist/components/navigation/index.cjs +19 -19
- package/dist/components/navigation/index.js +18 -18
- 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 +19 -20
- package/dist/components/onboarding-guides/index.js +18 -19
- package/dist/components/product-demo/index.cjs +8 -8
- package/dist/components/product-demo/index.js +8 -8
- package/dist/components/related-content/index.cjs +7 -9
- package/dist/components/related-content/index.js +6 -8
- package/dist/components/tickets/index.cjs +21 -21
- package/dist/components/tickets/index.js +20 -20
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/file-manager/index.cjs +11 -11
- package/dist/components/ui/file-manager/index.js +1 -1
- package/dist/components/ui/index.cjs +34 -16
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +33 -15
- package/dist/components/ui/mobile-app-qr.d.ts +23 -0
- package/dist/components/ui/mobile-app-qr.d.ts.map +1 -0
- package/dist/components/ui/store-badges.d.ts +7 -4
- package/dist/components/ui/store-badges.d.ts.map +1 -1
- package/dist/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-5A5TY4JD.cjs → devices-6XHUFIC6.cjs} +17 -17
- package/dist/{devices-PLDAEUSL.js → devices-NOUGVTES.js} +15 -15
- package/dist/hooks/index.cjs +10 -5
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +9 -4
- package/dist/hooks/use-downloads.d.ts +41 -0
- package/dist/hooks/use-downloads.d.ts.map +1 -0
- package/dist/index.cjs +80 -20
- package/dist/index.js +79 -19
- package/dist/{knowledge-G6Q5KRWV.js → knowledge-2YTUXQ2Z.js} +15 -15
- package/dist/{knowledge-FKTJ723Z.cjs → knowledge-ANEKPMO2.cjs} +17 -17
- package/dist/{logs-CJCXUBU6.cjs → logs-U3IB3HUM.cjs} +25 -25
- package/dist/{logs-QMV6XIC4.js → logs-WVQIONUT.js} +15 -15
- package/dist/{policies-G6D7AX6F.js → policies-66EGDW2H.js} +15 -15
- package/dist/{policies-QMRTK3CY.cjs → policies-UFRN2EQF.cjs} +20 -20
- package/dist/{remote-session-DBD6OSTX.js → remote-session-6WEUJZDC.js} +5 -5
- package/dist/{remote-session-2JVI7RVA.cjs → remote-session-A75X5NPC.cjs} +7 -7
- package/dist/{software-update-PNZMRDBT.cjs → software-update-2MHKL76D.cjs} +20 -20
- package/dist/{software-update-6BQM6BKH.js → software-update-3ZD3MXF3.js} +15 -15
- package/dist/{tickets-board-BHLPAVNJ.cjs → tickets-board-IFWMIZ35.cjs} +9 -9
- package/dist/{tickets-board-PYDNELSK.js → tickets-board-MYXG3V72.js} +4 -4
- package/dist/types/downloads.d.ts +67 -0
- package/dist/types/downloads.d.ts.map +1 -0
- package/dist/types/index.cjs +24 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +16 -1
- package/dist/utils/index.cjs +46 -2
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +40 -3
- package/dist/utils/list-url.d.ts.map +1 -1
- package/dist/utils/mobile-app.cjs +46 -0
- package/dist/utils/mobile-app.d.ts +40 -0
- package/dist/utils/mobile-app.d.ts.map +1 -0
- package/dist/utils/mobile-app.js +40 -0
- package/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 +7 -1
- package/src/assets/index.ts +1 -0
- package/src/assets/mobile-app-qr.ts +19 -0
- 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/help-center-pages/download-apps-page.tsx +364 -0
- package/src/components/help-center-pages/index.ts +1 -0
- 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/ui/button/button.tsx +3 -0
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/mobile-app-qr.tsx +40 -0
- package/src/components/ui/store-badges.tsx +17 -9
- package/src/contexts/assistant-runtime-context.tsx +84 -0
- package/src/contexts/index.ts +9 -0
- package/src/hooks/index.ts +1 -0
- package/src/hooks/use-downloads.ts +138 -0
- package/src/types/downloads.ts +82 -0
- package/src/types/index.ts +1 -0
- package/src/utils/index.ts +3 -0
- package/src/utils/list-url.ts +4 -0
- package/src/utils/mobile-app.ts +57 -0
- package/src/utils/source-icons.ts +10 -2
- package/src/utils/trial.ts +19 -0
- package/dist/chunk-6X3O67OL.cjs +0 -89
- package/dist/chunk-AUMKE74M.cjs +0 -16
- package/dist/chunk-G3GRYDMS.js +0 -16
- package/dist/chunk-RR6PY34K.js +0 -89
|
@@ -2,29 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkUZTOI6FJcjs = require('./chunk-UZTOI6FJ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkBYVVE7HPcjs = require('./chunk-BYVVE7HP.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunk4LY6R4TNcjs = require('./chunk-4LY6R4TN.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkHJMSNOBTcjs = require('./chunk-HJMSNOBT.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkGCK75D7Fcjs = require('./chunk-GCK75D7F.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
@@ -32,7 +32,7 @@ var _chunkETYLOZOBcjs = require('./chunk-ETYLOZOB.cjs');
|
|
|
32
32
|
var _chunkXXBLN4BPcjs = require('./chunk-XXBLN4BP.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var _chunkHQIOMFJHcjs = require('./chunk-HQIOMFJH.cjs');
|
|
36
36
|
|
|
37
37
|
// src/components/contact/contact-form.tsx
|
|
38
38
|
var _zod = require('@hookform/resolvers/zod');
|
|
@@ -115,14 +115,14 @@ function ContactForm({
|
|
|
115
115
|
successToastMessage = "Redirecting you to join our community...",
|
|
116
116
|
rescue: rescueForm = null
|
|
117
117
|
} = {}) {
|
|
118
|
-
const attachments =
|
|
119
|
-
const builtInSubmission =
|
|
118
|
+
const attachments = _chunkHJMSNOBTcjs.useChatAttachments.call(void 0, );
|
|
119
|
+
const builtInSubmission = _chunk4LY6R4TNcjs.useContactSubmission.call(void 0, {
|
|
120
120
|
userId,
|
|
121
121
|
successRedirectUrl,
|
|
122
122
|
successToastMessage
|
|
123
123
|
});
|
|
124
124
|
const [customSubmitting, setCustomSubmitting] = _react.useState.call(void 0, false);
|
|
125
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
125
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunk4LY6R4TNcjs.useHumanitySignals.call(void 0, );
|
|
126
126
|
const isSubmitting = onCustomSubmit ? customSubmitting : builtInSubmission.isSubmitting;
|
|
127
127
|
const isSuccess = onCustomSubmit ? false : builtInSubmission.isSuccess;
|
|
128
128
|
const form = _reacthookform.useForm.call(void 0, {
|
|
@@ -148,7 +148,7 @@ function ContactForm({
|
|
|
148
148
|
),
|
|
149
149
|
[hideFields]
|
|
150
150
|
);
|
|
151
|
-
const rescue =
|
|
151
|
+
const rescue = _chunk4LY6R4TNcjs.useRescuedForm.call(void 0, form, { rescue: rescueForm, fields: rescueFieldNames, getSignals });
|
|
152
152
|
const handleFormSubmit = async (data) => {
|
|
153
153
|
if (isSubmitting) return;
|
|
154
154
|
if (attachmentsEnabled && attachments.hasInflightUploads) return;
|
|
@@ -186,7 +186,7 @@ function ContactForm({
|
|
|
186
186
|
className: `flex h-full flex-col ${!noBorder ? "rounded-2xl border border-ods-border content-md:rounded-3xl" : ""} ${!noPadding ? "p-6 content-md:p-8 content-lg:p-10" : ""}`,
|
|
187
187
|
children: [
|
|
188
188
|
(title || subtitle) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 content-md:mb-8", children: [
|
|
189
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
189
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkGCK75D7Fcjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunkGCK75D7Fcjs.accentSentenceMarks.call(void 0, title) }),
|
|
190
190
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: subtitle })
|
|
191
191
|
] }),
|
|
192
192
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -199,13 +199,13 @@ function ContactForm({
|
|
|
199
199
|
);
|
|
200
200
|
}),
|
|
201
201
|
className: "flex flex-grow flex-col space-y-4 content-md:space-y-6",
|
|
202
|
-
...
|
|
202
|
+
..._chunkHJMSNOBTcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
203
203
|
children: [
|
|
204
204
|
!showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("name") }),
|
|
205
205
|
!showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
|
|
206
206
|
!showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
|
|
207
207
|
!showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
|
|
208
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
208
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.HoneypotField, { ...honeypotInputProps }),
|
|
209
209
|
extraTopField,
|
|
210
210
|
showNameEmailRow && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
|
|
211
211
|
showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
@@ -257,17 +257,17 @@ function ContactForm({
|
|
|
257
257
|
{
|
|
258
258
|
control,
|
|
259
259
|
name: "companySize",
|
|
260
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
260
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBYVVE7HPcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
261
261
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
262
|
-
|
|
262
|
+
_chunkBYVVE7HPcjs.SelectTrigger,
|
|
263
263
|
{
|
|
264
264
|
id: "companySize",
|
|
265
265
|
"aria-label": "Company Size",
|
|
266
266
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
267
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
267
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBYVVE7HPcjs.SelectValue, { placeholder: "Select company size" })
|
|
268
268
|
}
|
|
269
269
|
),
|
|
270
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
270
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBYVVE7HPcjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBYVVE7HPcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
271
271
|
] })
|
|
272
272
|
}
|
|
273
273
|
),
|
|
@@ -280,17 +280,17 @@ function ContactForm({
|
|
|
280
280
|
{
|
|
281
281
|
control,
|
|
282
282
|
name: "referralSource",
|
|
283
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
283
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBYVVE7HPcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
284
284
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
285
|
-
|
|
285
|
+
_chunkBYVVE7HPcjs.SelectTrigger,
|
|
286
286
|
{
|
|
287
287
|
id: "referralSource",
|
|
288
288
|
"aria-label": "Referral Source",
|
|
289
289
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
290
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
290
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBYVVE7HPcjs.SelectValue, { placeholder: "Select an option" })
|
|
291
291
|
}
|
|
292
292
|
),
|
|
293
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
293
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBYVVE7HPcjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBYVVE7HPcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
294
294
|
] })
|
|
295
295
|
}
|
|
296
296
|
),
|
|
@@ -307,18 +307,18 @@ function ContactForm({
|
|
|
307
307
|
{
|
|
308
308
|
control,
|
|
309
309
|
name: "helpCategory",
|
|
310
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
310
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBYVVE7HPcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
311
311
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
312
|
-
|
|
312
|
+
_chunkBYVVE7HPcjs.SelectTrigger,
|
|
313
313
|
{
|
|
314
314
|
id: "helpCategory",
|
|
315
315
|
"aria-label": "Help Category",
|
|
316
316
|
"aria-required": true,
|
|
317
317
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
318
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
318
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBYVVE7HPcjs.SelectValue, { placeholder: "Choose your main interest" })
|
|
319
319
|
}
|
|
320
320
|
),
|
|
321
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
321
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBYVVE7HPcjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBYVVE7HPcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
322
322
|
] })
|
|
323
323
|
}
|
|
324
324
|
),
|
|
@@ -330,7 +330,7 @@ function ContactForm({
|
|
|
330
330
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.RequiredMark, {})
|
|
331
331
|
] }),
|
|
332
332
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
333
|
-
|
|
333
|
+
_chunkUZTOI6FJcjs.Textarea,
|
|
334
334
|
{
|
|
335
335
|
id: "message",
|
|
336
336
|
...register("message"),
|
|
@@ -345,7 +345,7 @@ function ContactForm({
|
|
|
345
345
|
] }),
|
|
346
346
|
attachmentsEnabled && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
|
|
347
347
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
348
|
-
|
|
348
|
+
_chunkHJMSNOBTcjs.ChatAttachmentChipStrip,
|
|
349
349
|
{
|
|
350
350
|
attachments: attachments.attachments,
|
|
351
351
|
onRemove: attachments.removeAttachment,
|
|
@@ -354,7 +354,7 @@ function ContactForm({
|
|
|
354
354
|
),
|
|
355
355
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
356
356
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
357
|
-
|
|
357
|
+
_chunkHJMSNOBTcjs.ChatAttachmentAddButton,
|
|
358
358
|
{
|
|
359
359
|
attachmentsEnabled: true,
|
|
360
360
|
attachmentsCount: attachments.attachments.length,
|
|
@@ -368,7 +368,7 @@ function ContactForm({
|
|
|
368
368
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-auto flex w-full flex-col items-center justify-end gap-4 pt-2 content-md:flex-row content-md:gap-6", children: [
|
|
369
369
|
footerText && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-center text-ods-text-secondary text-h6 content-md:text-left", children: footerText }),
|
|
370
370
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
371
|
-
|
|
371
|
+
_chunkHQIOMFJHcjs.Button,
|
|
372
372
|
{
|
|
373
373
|
type: "submit",
|
|
374
374
|
loading: isSubmitting,
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
AvatarStack,
|
|
7
7
|
resolveIcon
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-742BGXNX.js";
|
|
9
9
|
import {
|
|
10
10
|
SquareAvatar,
|
|
11
11
|
Tag,
|
|
@@ -25,10 +25,11 @@ import {
|
|
|
25
25
|
} from "./chunk-FBZMAPWO.js";
|
|
26
26
|
import {
|
|
27
27
|
NEAR_VIEWPORT_ROOT_MARGIN,
|
|
28
|
+
contentFetch,
|
|
28
29
|
useImageEdgeColor,
|
|
29
30
|
useNearViewport,
|
|
30
31
|
useOgPlaceholderUrl
|
|
31
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-FSQQZFVG.js";
|
|
32
33
|
import {
|
|
33
34
|
useChatRuntime
|
|
34
35
|
} from "./chunk-E4ABZWTJ.js";
|
|
@@ -51,7 +52,7 @@ import {
|
|
|
51
52
|
} from "./chunk-N45D4ZXQ.js";
|
|
52
53
|
import {
|
|
53
54
|
Button
|
|
54
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-DJ4IFQNQ.js";
|
|
55
56
|
import {
|
|
56
57
|
next_link_default
|
|
57
58
|
} from "./chunk-DAAVMYUT.js";
|
|
@@ -1888,6 +1889,10 @@ var BUILDERS = {
|
|
|
1888
1889
|
design_doc: (ids, b) => `${b}/api/design-docs?ids=${ids.join(",")}`,
|
|
1889
1890
|
openframe_tenant: (ids, b) => `${b}/api/openframe-tenants?ids=${ids.join(",")}`,
|
|
1890
1891
|
prospect_call: (ids, b) => `${b}/api/prospect-calls?ids=${ids.join(",")}`,
|
|
1892
|
+
// The public website's own pages (live source; ChatRef-shaped items like the objects above).
|
|
1893
|
+
site_page: (ids, b) => `${b}/api/site-pages?ids=${ids.join(",")}`,
|
|
1894
|
+
// The OpenMSP vendor directory (indexed source).
|
|
1895
|
+
vendor: (ids, b) => `${b}/api/vendors/cards?ids=${ids.join(",")}`,
|
|
1891
1896
|
// Code intelligence — per-object card hydration, same `handleEntityCardList`
|
|
1892
1897
|
// shape as the internal objects above.
|
|
1893
1898
|
code_rule: (ids, b) => `${b}/api/code-rules/cards?ids=${ids.join(",")}`,
|
|
@@ -5318,6 +5323,87 @@ function ProgramCard({
|
|
|
5318
5323
|
] });
|
|
5319
5324
|
}
|
|
5320
5325
|
|
|
5326
|
+
// src/hooks/use-self-fetch.ts
|
|
5327
|
+
import { useEffect as useEffect7, useRef as useRef4, useState as useState10 } from "react";
|
|
5328
|
+
function useSelfFetch(url, options) {
|
|
5329
|
+
const initialData = options?.initialData;
|
|
5330
|
+
const revalidateOnVisibleAfterMs = options?.revalidateOnVisibleAfterMs;
|
|
5331
|
+
const [data, setData] = useState10(initialData ?? null);
|
|
5332
|
+
const [dataUrl, setDataUrl] = useState10(initialData !== void 0 ? url : null);
|
|
5333
|
+
const [isLoading, setIsLoading] = useState10(initialData === void 0 && url !== null);
|
|
5334
|
+
const [error, setError] = useState10(false);
|
|
5335
|
+
const [reloadKey, setReloadKey] = useState10(0);
|
|
5336
|
+
const [mountedAt] = useState10(() => Date.now());
|
|
5337
|
+
const dataAtRef = useRef4(initialData !== void 0 ? mountedAt : 0);
|
|
5338
|
+
const dataUrlRef = useRef4(initialData !== void 0 ? url : null);
|
|
5339
|
+
const [syncedProps, setSyncedProps] = useState10({ url, initialData });
|
|
5340
|
+
if (syncedProps.url !== url || syncedProps.initialData !== initialData) {
|
|
5341
|
+
setSyncedProps({ url, initialData });
|
|
5342
|
+
if (syncedProps.initialData !== initialData && initialData !== void 0) {
|
|
5343
|
+
setData(initialData);
|
|
5344
|
+
setDataUrl(url);
|
|
5345
|
+
}
|
|
5346
|
+
if (syncedProps.url !== url && url === null) {
|
|
5347
|
+
setIsLoading(false);
|
|
5348
|
+
}
|
|
5349
|
+
}
|
|
5350
|
+
useEffect7(() => {
|
|
5351
|
+
if (url === null) return void 0;
|
|
5352
|
+
if (dataUrlRef.current === url) return void 0;
|
|
5353
|
+
const ctrl = new AbortController();
|
|
5354
|
+
let cancelled = false;
|
|
5355
|
+
async function load() {
|
|
5356
|
+
try {
|
|
5357
|
+
setIsLoading(true);
|
|
5358
|
+
setError(false);
|
|
5359
|
+
const res = await contentFetch(url, { signal: ctrl.signal });
|
|
5360
|
+
if (!res.ok) throw new Error(`Request failed (${res.status})`);
|
|
5361
|
+
const json = await res.json();
|
|
5362
|
+
if (!cancelled) {
|
|
5363
|
+
setData(json);
|
|
5364
|
+
setDataUrl(url);
|
|
5365
|
+
dataUrlRef.current = url;
|
|
5366
|
+
dataAtRef.current = Date.now();
|
|
5367
|
+
}
|
|
5368
|
+
} catch (err) {
|
|
5369
|
+
if (cancelled || err?.name === "AbortError") return;
|
|
5370
|
+
setError(true);
|
|
5371
|
+
console.error("useSelfFetch:", url, err);
|
|
5372
|
+
} finally {
|
|
5373
|
+
if (!cancelled) setIsLoading(false);
|
|
5374
|
+
}
|
|
5375
|
+
}
|
|
5376
|
+
void load();
|
|
5377
|
+
return () => {
|
|
5378
|
+
cancelled = true;
|
|
5379
|
+
ctrl.abort();
|
|
5380
|
+
};
|
|
5381
|
+
}, [url, reloadKey]);
|
|
5382
|
+
const forceReload = () => {
|
|
5383
|
+
dataUrlRef.current = null;
|
|
5384
|
+
setReloadKey((k) => k + 1);
|
|
5385
|
+
};
|
|
5386
|
+
useEffect7(() => {
|
|
5387
|
+
if (!revalidateOnVisibleAfterMs || url === null) return void 0;
|
|
5388
|
+
const onVisible = () => {
|
|
5389
|
+
if (document.visibilityState !== "visible") return;
|
|
5390
|
+
if (Date.now() - dataAtRef.current < revalidateOnVisibleAfterMs) return;
|
|
5391
|
+
forceReload();
|
|
5392
|
+
};
|
|
5393
|
+
document.addEventListener("visibilitychange", onVisible);
|
|
5394
|
+
return () => document.removeEventListener("visibilitychange", onVisible);
|
|
5395
|
+
}, [url, revalidateOnVisibleAfterMs]);
|
|
5396
|
+
return {
|
|
5397
|
+
data,
|
|
5398
|
+
dataUrl,
|
|
5399
|
+
setData,
|
|
5400
|
+
isLoading,
|
|
5401
|
+
error,
|
|
5402
|
+
// Force a re-fetch of the current url (error-retry affordance).
|
|
5403
|
+
reload: forceReload
|
|
5404
|
+
};
|
|
5405
|
+
}
|
|
5406
|
+
|
|
5321
5407
|
export {
|
|
5322
5408
|
Card,
|
|
5323
5409
|
CardHeader,
|
|
@@ -5420,6 +5506,7 @@ export {
|
|
|
5420
5506
|
eventAudience,
|
|
5421
5507
|
programMetaFormatters,
|
|
5422
5508
|
PROGRAM_META_RENDERERS,
|
|
5509
|
+
useSelfFetch,
|
|
5423
5510
|
decideNewTab,
|
|
5424
5511
|
isSameOriginAbsoluteHref,
|
|
5425
5512
|
computeIsNewTab,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkBYVVE7HPcjs = require('./chunk-BYVVE7HP.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkGCK75D7Fcjs = require('./chunk-GCK75D7F.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -66,7 +66,7 @@ function DetailPageSkeleton({
|
|
|
66
66
|
] });
|
|
67
67
|
if (bare) return content;
|
|
68
68
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
69
|
-
|
|
69
|
+
_chunkBYVVE7HPcjs.PageLayout,
|
|
70
70
|
{
|
|
71
71
|
showHeader: false,
|
|
72
72
|
className: "mx-auto max-w-[1280px] bg-ods-bg px-6 py-6 content-md:px-20 content-md:py-10",
|
|
@@ -95,7 +95,7 @@ function ArticleAuthorByline({
|
|
|
95
95
|
}) {
|
|
96
96
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
97
97
|
if (!author) return null;
|
|
98
|
-
const proxiedAvatar = avatar ? proxyImageUrl ? proxyImageUrl(avatar) : _nullishCoalesce(
|
|
98
|
+
const proxiedAvatar = avatar ? proxyImageUrl ? proxyImageUrl(avatar) : _nullishCoalesce(_chunkGCK75D7Fcjs.getProxiedImageUrl.call(void 0, avatar, {
|
|
99
99
|
proxyPrefix: _optionalChain([runtime, 'optionalAccess', _2 => _2.endpoints, 'access', _3 => _3.imageProxyUrlPrefix]),
|
|
100
100
|
skipDomains: _optionalChain([runtime, 'optionalAccess', _4 => _4.endpoints, 'access', _5 => _5.imageProxySkipDomains]),
|
|
101
101
|
directHttps: true
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkRUZIICXTcjs = require('./chunk-RUZIICXT.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -28,7 +28,7 @@ var _chunkULWVKHSIcjs = require('./chunk-ULWVKHSI.cjs');
|
|
|
28
28
|
var _chunkVX4E6YSBcjs = require('./chunk-VX4E6YSB.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunkHQIOMFJHcjs = require('./chunk-HQIOMFJH.cjs');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
@@ -610,15 +610,15 @@ function TicketStatusTag({
|
|
|
610
610
|
);
|
|
611
611
|
if (disabled || !options || options.length === 0 || !onSelect) {
|
|
612
612
|
if (disabled && disabledReason) {
|
|
613
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
614
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
615
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
613
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRUZIICXTcjs.Tooltip, { children: [
|
|
614
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "w-fit shrink-0 cursor-not-allowed", children: tag }) }),
|
|
615
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.TooltipContent, { children: disabledReason })
|
|
616
616
|
] }) });
|
|
617
617
|
}
|
|
618
618
|
return tag;
|
|
619
619
|
}
|
|
620
620
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
621
|
-
|
|
621
|
+
_chunkRUZIICXTcjs.ActionsMenuDropdown,
|
|
622
622
|
{
|
|
623
623
|
align: "start",
|
|
624
624
|
groups: [
|
|
@@ -995,7 +995,7 @@ var ApprovalBatchMessage = _react.forwardRef.call(void 0,
|
|
|
995
995
|
};
|
|
996
996
|
const actionButtons = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
997
997
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
998
|
-
|
|
998
|
+
_chunkHQIOMFJHcjs.Button,
|
|
999
999
|
{
|
|
1000
1000
|
size: "small-legacy",
|
|
1001
1001
|
variant: "accent",
|
|
@@ -1010,7 +1010,7 @@ var ApprovalBatchMessage = _react.forwardRef.call(void 0,
|
|
|
1010
1010
|
}
|
|
1011
1011
|
),
|
|
1012
1012
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1013
|
-
|
|
1013
|
+
_chunkHQIOMFJHcjs.Button,
|
|
1014
1014
|
{
|
|
1015
1015
|
size: "small-legacy",
|
|
1016
1016
|
variant: "outline",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkIMTY3GRRcjs = require('./chunk-IMTY3GRR.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -18,7 +18,7 @@ var _chunkAAYNCJMWcjs = require('./chunk-AAYNCJMW.cjs');
|
|
|
18
18
|
var _chunkVX4E6YSBcjs = require('./chunk-VX4E6YSB.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkHQIOMFJHcjs = require('./chunk-HQIOMFJH.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
@@ -392,7 +392,7 @@ function MingoOnboardingCard({
|
|
|
392
392
|
] }),
|
|
393
393
|
description ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full text-ods-text-secondary text-h6", children: description }) : null,
|
|
394
394
|
hasActions ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-[var(--spacing-system-xs)] flex flex-wrap items-center gap-[var(--spacing-system-xxs)]", children: actions.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
395
|
-
|
|
395
|
+
_chunkHQIOMFJHcjs.Button,
|
|
396
396
|
{
|
|
397
397
|
type: "button",
|
|
398
398
|
variant: "outline",
|
|
@@ -440,7 +440,7 @@ function SlashCommandSuggestions({
|
|
|
440
440
|
className
|
|
441
441
|
),
|
|
442
442
|
children: commands.map((cmd, idx) => {
|
|
443
|
-
const Icon =
|
|
443
|
+
const Icon = _chunkIMTY3GRRcjs.resolveIcon.call(void 0, cmd.iconName);
|
|
444
444
|
const legacyMeta = !cmd.iconName && cmd.primarySourceId && resolveSourceIcon ? resolveSourceIcon(cmd.primarySourceId) : void 0;
|
|
445
445
|
const LegacyIcon = _optionalChain([legacyMeta, 'optionalAccess', _4 => _4.Icon]);
|
|
446
446
|
const title = _nullishCoalesce(_nullishCoalesce(cmd.label, () => ( _optionalChain([legacyMeta, 'optionalAccess', _5 => _5.label]))), () => ( cmd.id));
|
|
@@ -924,7 +924,7 @@ var ChatInput = _react.forwardRef.call(void 0, (allProps, ref) => {
|
|
|
924
924
|
className: "flex min-h-11 w-full items-center justify-center gap-[var(--spacing-system-xs)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-sf)] md:min-h-12",
|
|
925
925
|
children: [
|
|
926
926
|
awaitingTeam && awaitingTeam.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
927
|
-
|
|
927
|
+
_chunkIMTY3GRRcjs.AvatarStack,
|
|
928
928
|
{
|
|
929
929
|
people: awaitingTeam,
|
|
930
930
|
total: awaitingTeamCount,
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
useSelfFetch
|
|
4
|
-
} from "./chunk-RR6PY34K.js";
|
|
5
2
|
import {
|
|
6
3
|
Pagination
|
|
7
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3UBWDR65.js";
|
|
8
5
|
import {
|
|
9
6
|
AiPromptCard,
|
|
10
7
|
AiPromptCardSkeleton,
|
|
@@ -38,11 +35,12 @@ import {
|
|
|
38
35
|
extractItemId,
|
|
39
36
|
extractItems,
|
|
40
37
|
getContentRefLabelOrTitleCase,
|
|
41
|
-
orderContentRefTypes
|
|
42
|
-
|
|
38
|
+
orderContentRefTypes,
|
|
39
|
+
useSelfFetch
|
|
40
|
+
} from "./chunk-NPSJE7J3.js";
|
|
43
41
|
import {
|
|
44
42
|
pageCount
|
|
45
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-FSQQZFVG.js";
|
|
46
44
|
|
|
47
45
|
// src/components/related-content/related-content-section.tsx
|
|
48
46
|
import { useMemo, useState } from "react";
|