@flamingo-stack/openframe-frontend-core 0.0.802 → 0.0.803
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-7MV23NNT.cjs → chunk-2X3N6MSR.cjs} +88 -0
- package/dist/{chunk-HRMLGU6A.cjs → chunk-6JVNUGN3.cjs} +3 -3
- package/dist/{chunk-3W2PBWD5.cjs → chunk-CACULEQS.cjs} +4 -4
- package/dist/{chunk-VMQAJIQC.cjs → chunk-H4T3YHYH.cjs} +633 -630
- package/dist/{chunk-D3IQHAGL.cjs → chunk-HEMZOHNB.cjs} +11 -11
- package/dist/{chunk-M7E7ILE5.cjs → chunk-HVWMPUXK.cjs} +6 -6
- package/dist/{chunk-EJVJDLYC.cjs → chunk-I4BODSPV.cjs} +3 -3
- package/dist/{chunk-CRVXQYUZ.cjs → chunk-IE3CPPHJ.cjs} +24 -24
- package/dist/{chunk-E56LN23H.cjs → chunk-IYWX4GOG.cjs} +35 -13
- package/dist/{chunk-75BFVMNA.cjs → chunk-JTDOBGKE.cjs} +34 -34
- package/dist/{chunk-YD344MMX.cjs → chunk-KVL3QRFX.cjs} +7 -7
- package/dist/{chunk-2BUSXRZ7.cjs → chunk-MBZIARIL.cjs} +12 -12
- package/dist/{chunk-DSIIRR3G.cjs → chunk-MII4RDO4.cjs} +57 -57
- package/dist/{chunk-A7IT7MZO.cjs → chunk-NNQXP2ZM.cjs} +6 -6
- package/dist/{chunk-YMPCACQX.cjs → chunk-QFBRQ22U.cjs} +41 -41
- package/dist/{chunk-DYDS2P5G.cjs → chunk-T7B3FJY6.cjs} +2 -2
- package/dist/{chunk-DTBIIFZG.cjs → chunk-TELXF5WD.cjs} +14 -14
- package/dist/{chunk-7E4BC3AF.cjs → chunk-TVAU56UU.cjs} +46 -39
- package/dist/{chunk-NCQJIYDN.cjs → chunk-VKSO3UYU.cjs} +22 -22
- package/dist/{chunk-A7NRENMU.cjs → chunk-XOFGPSNP.cjs} +21 -21
- package/dist/{chunk-52NI57KM.cjs → chunk-YKQGYAG5.cjs} +51 -51
- package/dist/{cloud-tenants-3SWYRUXB.cjs → cloud-tenants-GKCZSLEV.cjs} +7 -7
- package/dist/components/case-studies/index.cjs +19 -19
- package/dist/components/chat/approval-batch-message.d.ts +3 -1
- package/dist/components/chat/approval-batch-message.d.ts.map +1 -1
- package/dist/components/chat/approval-batch-message.js +88 -0
- package/dist/components/chat/chat-composer.d.ts +3 -1
- package/dist/components/chat/chat-composer.d.ts.map +1 -1
- package/dist/components/chat/chat-composer.js +2 -0
- package/dist/components/chat/chat-context-memory-bar.d.ts +7 -1
- package/dist/components/chat/chat-context-memory-bar.d.ts.map +1 -1
- package/dist/components/chat/chat-context-memory-bar.js +11 -5
- package/dist/components/chat/embeddable-chat.d.ts +3 -0
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.js +1 -0
- package/dist/components/chat/index.cjs +4 -4
- package/dist/components/contact/index.cjs +8 -8
- package/dist/components/docs/index.cjs +11 -11
- package/dist/components/embeds/index.cjs +8 -8
- package/dist/components/faq/index.cjs +9 -9
- package/dist/components/features/board/ticket-card.js +5 -5
- package/dist/components/features/index.cjs +7 -7
- package/dist/components/help-center-pages/index.cjs +69 -69
- package/dist/components/index.cjs +42 -42
- package/dist/components/layout/page-layout.d.ts +1 -1
- package/dist/components/layout/page-layout.d.ts.map +1 -1
- package/dist/components/layout/title-block.d.ts +4 -2
- package/dist/components/layout/title-block.d.ts.map +1 -1
- package/dist/components/layout/title-block.js +21 -2
- package/dist/components/meeting-scheduler/index.cjs +39 -39
- package/dist/components/navigation/index.cjs +10 -10
- package/dist/components/onboarding-guides/index.cjs +9 -9
- package/dist/components/product-demo/index.cjs +18 -18
- package/dist/components/tickets/index.cjs +12 -12
- package/dist/components/ui/data-table/data-table-body.d.ts +6 -1
- package/dist/components/ui/data-table/data-table-body.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-body.js +3 -1
- package/dist/components/ui/device-card.d.ts +6 -1
- package/dist/components/ui/device-card.d.ts.map +1 -1
- package/dist/components/ui/device-card.js +2 -1
- package/dist/components/ui/index.cjs +7 -7
- package/dist/components/ui/page-actions.d.ts.map +1 -1
- package/dist/components/ui/page-actions.js +15 -12
- package/dist/{devices-MQILRW53.cjs → devices-XIXLFYRJ.cjs} +8 -8
- package/dist/{embeddable-chat-XZDZOHFY.cjs → embeddable-chat-SVDMLAER.cjs} +63 -62
- package/dist/index.cjs +11 -11
- package/dist/{knowledge-WQ3ABXZC.cjs → knowledge-3DKG5QG2.cjs} +8 -8
- package/dist/{logs-XRSJGB3I.cjs → logs-RIU2TTRZ.cjs} +15 -15
- package/dist/{policies-Q67ZXAGY.cjs → policies-F2ZB2J4L.cjs} +11 -11
- package/dist/{remote-session-4LYKEZSY.cjs → remote-session-GBMM5UPQ.cjs} +4 -4
- package/dist/{scripts-YX324R4S.cjs → scripts-XX5LMCRA.cjs} +14 -14
- package/dist/{software-update-PHMXJVAC.cjs → software-update-VYBM7SC6.cjs} +11 -11
- package/dist/{tickets-board-3FBVYSXR.cjs → tickets-board-5QIIA24E.cjs} +7 -7
- package/package.json +1 -1
- package/src/components/chat/approval-batch-message.tsx +109 -1
- package/src/components/chat/chat-composer.tsx +4 -0
- package/src/components/chat/chat-context-memory-bar.tsx +28 -5
- package/src/components/chat/embeddable-chat.tsx +4 -0
- package/src/components/features/board/ticket-card.tsx +7 -6
- package/src/components/layout/page-layout.tsx +1 -1
- package/src/components/layout/title-block.tsx +22 -3
- package/src/components/ui/data-table/data-table-body.tsx +9 -0
- package/src/components/ui/device-card.tsx +7 -1
- package/src/components/ui/page-actions.tsx +28 -14
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunk2X3N6MSRcjs = require('./chunk-2X3N6MSR.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
var _chunkZD6SZLO2cjs = require('./chunk-ZD6SZLO2.cjs');
|
|
@@ -3345,7 +3345,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
3345
3345
|
{
|
|
3346
3346
|
ref,
|
|
3347
3347
|
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
3348
|
-
|
|
3348
|
+
_chunk2X3N6MSRcjs.CHAT_BLOCK_CLASS,
|
|
3349
3349
|
// v2: the thread owns the space below the card.
|
|
3350
3350
|
!isV2 && "mb-[var(--spacing-system-xsf)]",
|
|
3351
3351
|
className
|
|
@@ -3353,7 +3353,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
3353
3353
|
...props,
|
|
3354
3354
|
children: [
|
|
3355
3355
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full whitespace-pre-line break-words text-ods-text-primary text-h4", children: _optionalChain([data, 'access', _49 => _49.explanation, 'optionalAccess', _50 => _50.trim, 'call', _51 => _51()]) || "Approval required" }),
|
|
3356
|
-
showFooterActions && status === "pending" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3356
|
+
showFooterActions && status === "pending" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.ApprovalWaitingLine, {}),
|
|
3357
3357
|
!showFooterActions ? null : status === "pending" ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
3358
3358
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3359
3359
|
_chunkAHBTZ7DNcjs.Button,
|
|
@@ -3385,14 +3385,14 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
3385
3385
|
children: "Reject"
|
|
3386
3386
|
}
|
|
3387
3387
|
)
|
|
3388
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3388
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.ApprovalStatusTag, { status, resolvedByName, inlineResolver: true }) })
|
|
3389
3389
|
]
|
|
3390
3390
|
}
|
|
3391
3391
|
);
|
|
3392
3392
|
}
|
|
3393
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, className: _chunk7JWFMAQBcjs.cn.call(void 0, "mb-[var(--spacing-system-xsf)]",
|
|
3393
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, className: _chunk7JWFMAQBcjs.cn.call(void 0, "mb-[var(--spacing-system-xsf)]", _chunk2X3N6MSRcjs.CHAT_BLOCK_CLASS, className), ...props, children: [
|
|
3394
3394
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ApprovalCardBody, { data }),
|
|
3395
|
-
showFooterActions && status === "pending" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3395
|
+
showFooterActions && status === "pending" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.ApprovalWaitingLine, {}),
|
|
3396
3396
|
!showFooterActions ? null : status === "pending" ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
3397
3397
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3398
3398
|
_chunkAHBTZ7DNcjs.Button,
|
|
@@ -3424,7 +3424,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
3424
3424
|
children: "Reject"
|
|
3425
3425
|
}
|
|
3426
3426
|
)
|
|
3427
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3427
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.ApprovalStatusTag, { status, resolvedByName, inlineResolver: true }) })
|
|
3428
3428
|
] });
|
|
3429
3429
|
}
|
|
3430
3430
|
);
|
|
@@ -3669,7 +3669,7 @@ var thoughtMdClasses = [
|
|
|
3669
3669
|
var ThinkingDisplay = _react.forwardRef.call(void 0,
|
|
3670
3670
|
({ className, text: text2, isStreaming = false, ...props }, ref) => {
|
|
3671
3671
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
3672
|
-
const { innerRef, isOverflowing, containerStyle } =
|
|
3672
|
+
const { innerRef, isOverflowing, containerStyle } = _chunk2X3N6MSRcjs.useCollapsible.call(void 0, {
|
|
3673
3673
|
expanded,
|
|
3674
3674
|
collapsedHeight: 19,
|
|
3675
3675
|
disableTransition: isStreaming
|
|
@@ -3684,7 +3684,7 @@ var ThinkingDisplay = _react.forwardRef.call(void 0,
|
|
|
3684
3684
|
setExpanded(!expanded);
|
|
3685
3685
|
}
|
|
3686
3686
|
};
|
|
3687
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
3687
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk7JWFMAQBcjs.cn.call(void 0, _chunk2X3N6MSRcjs.CHAT_BLOCK_FRAME_CLASS, "p-1.5", className), ...props, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3688
3688
|
"div",
|
|
3689
3689
|
{
|
|
3690
3690
|
role: "button",
|
|
@@ -3702,7 +3702,7 @@ var ThinkingDisplay = _react.forwardRef.call(void 0,
|
|
|
3702
3702
|
isStreaming && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC7GIHB3Vcjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" })
|
|
3703
3703
|
] }),
|
|
3704
3704
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, className: _chunk7JWFMAQBcjs.cn.call(void 0, "text-sm leading-snug text-ods-text-secondary", thoughtMdClasses), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SimpleMarkdownRenderer, { content: text2, textSize: "compact" }) }) }),
|
|
3705
|
-
canToggle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[19px] shrink-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3705
|
+
canToggle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[19px] shrink-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.ExpandChevron, { expanded }) })
|
|
3706
3706
|
]
|
|
3707
3707
|
}
|
|
3708
3708
|
) });
|
|
@@ -4043,7 +4043,7 @@ var iconTint = {
|
|
|
4043
4043
|
var ErrorMessageDisplay = _react.forwardRef.call(void 0,
|
|
4044
4044
|
({ className, title, details, type = "error", ...props }, ref) => {
|
|
4045
4045
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
4046
|
-
const { innerRef, containerStyle } =
|
|
4046
|
+
const { innerRef, containerStyle } = _chunk2X3N6MSRcjs.useCollapsible.call(void 0, { expanded });
|
|
4047
4047
|
const hasDetails = Boolean(details);
|
|
4048
4048
|
const isV2 = useChatAppearance() === _chunk3NGJ7NPTcjs.CHAT_APPEARANCE.V2;
|
|
4049
4049
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -4079,7 +4079,7 @@ var ErrorMessageDisplay = _react.forwardRef.call(void 0,
|
|
|
4079
4079
|
children: title
|
|
4080
4080
|
}
|
|
4081
4081
|
),
|
|
4082
|
-
hasDetails && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4082
|
+
hasDetails && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.ExpandChevron, { expanded })
|
|
4083
4083
|
]
|
|
4084
4084
|
}
|
|
4085
4085
|
),
|
|
@@ -4328,9 +4328,9 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
4328
4328
|
)
|
|
4329
4329
|
] }),
|
|
4330
4330
|
(ticketInfo.status || ticketInfo.statusName) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4331
|
-
|
|
4331
|
+
_chunk2X3N6MSRcjs.TicketStatusTag,
|
|
4332
4332
|
{
|
|
4333
|
-
...
|
|
4333
|
+
..._chunk2X3N6MSRcjs.resolveStatusTagProps.call(void 0, {
|
|
4334
4334
|
status: ticketInfo.status,
|
|
4335
4335
|
statusKind: ticketInfo.statusKind,
|
|
4336
4336
|
statusName: ticketInfo.statusName,
|
|
@@ -4933,11 +4933,11 @@ var remarkMentionChips = () => {
|
|
|
4933
4933
|
// src/components/chat/tool-execution-display.tsx
|
|
4934
4934
|
|
|
4935
4935
|
|
|
4936
|
-
var COMMAND_BODY_KEYS = new Set(
|
|
4936
|
+
var COMMAND_BODY_KEYS = new Set(_chunk2X3N6MSRcjs.COMMAND_BODY_ARG_KEYS);
|
|
4937
4937
|
var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
4938
4938
|
({ className, message, assistantType, variant = "admin", ...props }, ref) => {
|
|
4939
4939
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
4940
|
-
const { innerRef, containerStyle } =
|
|
4940
|
+
const { innerRef, containerStyle } = _chunk2X3N6MSRcjs.useCollapsible.call(void 0, { expanded });
|
|
4941
4941
|
const isClient = assistantType === "fae";
|
|
4942
4942
|
const isClientView = variant === "client";
|
|
4943
4943
|
const isExecuting = message.type === "EXECUTING_TOOL";
|
|
@@ -4980,7 +4980,7 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
|
4980
4980
|
}
|
|
4981
4981
|
),
|
|
4982
4982
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: renderStatusIcon() }),
|
|
4983
|
-
!isStaticRow && hasBody && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4983
|
+
!isStaticRow && hasBody && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.ExpandChevron, { expanded: isExpanded }) })
|
|
4984
4984
|
] });
|
|
4985
4985
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4986
4986
|
"div",
|
|
@@ -4990,7 +4990,7 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
|
4990
4990
|
// The command running block keeps its bordered box in both chats
|
|
4991
4991
|
// (Figma 1972-6109). CLIENT (Fae) only drops the tool icon below.
|
|
4992
4992
|
"flex w-full flex-col overflow-hidden",
|
|
4993
|
-
|
|
4993
|
+
_chunk2X3N6MSRcjs.CHAT_BLOCK_FRAME_CLASS,
|
|
4994
4994
|
className
|
|
4995
4995
|
),
|
|
4996
4996
|
...props,
|
|
@@ -5001,14 +5001,14 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
|
5001
5001
|
// It reads as a card: what was done, then one status line under it.
|
|
5002
5002
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-xsf)] p-[var(--spacing-system-sf)] text-left", children: [
|
|
5003
5003
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 whitespace-pre-wrap break-words text-ods-text-primary text-h4", children: previewText }),
|
|
5004
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5004
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.StatusLine, { tone: statusTone, label: statusLabel })
|
|
5005
5005
|
] })
|
|
5006
5006
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
5007
5007
|
hasBody ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "row", type: "button", "aria-expanded": expanded, onClick: () => setExpanded((prev) => !prev), children: headerContent }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full items-start gap-[var(--spacing-system-xs)] p-[var(--spacing-system-s)] text-left", children: headerContent }),
|
|
5008
5008
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, children: hasBody && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col items-start gap-0 border-t border-ods-border p-[var(--spacing-system-sf)] text-h6", children: [
|
|
5009
|
-
argEntries.map(([key, value]) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5009
|
+
argEntries.map(([key, value]) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.ArgRow, { argKey: key, value }, key)),
|
|
5010
5010
|
hasResult && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5011
|
-
|
|
5011
|
+
_chunk2X3N6MSRcjs.ResultBlock,
|
|
5012
5012
|
{
|
|
5013
5013
|
result: message.result,
|
|
5014
5014
|
className: argEntries.length > 0 ? "mt-[var(--spacing-system-xsf)]" : void 0
|
|
@@ -5083,7 +5083,7 @@ var MENTION_MARKER_REGEX = /(^|[^\w@])@[a-zA-Z]+:([A-Za-z0-9_.+/=-]*[A-Za-z0-9_+
|
|
|
5083
5083
|
var CARD_MARKER_REGEX = createCardMarkerScanner();
|
|
5084
5084
|
function formatMessageTimestamp(timestamp) {
|
|
5085
5085
|
const time = _chunk3NGJ7NPTcjs.formatTime.call(void 0, timestamp);
|
|
5086
|
-
return
|
|
5086
|
+
return _chunk2X3N6MSRcjs.isToday.call(void 0, timestamp) ? time : `${_chunk3NGJ7NPTcjs.formatDate.call(void 0, timestamp)} ${time}`;
|
|
5087
5087
|
}
|
|
5088
5088
|
function normalizeContent(content) {
|
|
5089
5089
|
if (typeof content === "string") {
|
|
@@ -5327,7 +5327,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
5327
5327
|
const faceBox = "h-5 w-5 flex-shrink-0";
|
|
5328
5328
|
const face = !showAvatar || isSystem ? null : !isHuman && !avatar && assistantIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: displayName, className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex items-center justify-center", faceBox), children: assistantIcon }) : !isHuman && !avatar && assistantType ? (
|
|
5329
5329
|
// An agent with no picture shows its packaged mark, never initials.
|
|
5330
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "img", "aria-label": displayName, title: displayName, className: _chunk7JWFMAQBcjs.cn.call(void 0, "inline-flex", faceBox), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5330
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "img", "aria-label": displayName, title: displayName, className: _chunk7JWFMAQBcjs.cn.call(void 0, "inline-flex", faceBox), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.AgentMark, { agent: assistantType, className: "h-full w-full rounded-full" }) })
|
|
5331
5331
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: displayName, className: "inline-flex flex-shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5332
5332
|
_chunk6UKH22NQcjs.SquareAvatar,
|
|
5333
5333
|
{
|
|
@@ -5414,7 +5414,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
5414
5414
|
);
|
|
5415
5415
|
} else if (segment.type === "approval_batch") {
|
|
5416
5416
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5417
|
-
|
|
5417
|
+
_chunk2X3N6MSRcjs.ApprovalBatchMessage,
|
|
5418
5418
|
{
|
|
5419
5419
|
data: segment.data,
|
|
5420
5420
|
status: segment.status,
|
|
@@ -7845,7 +7845,7 @@ function MingoWelcome({
|
|
|
7845
7845
|
onScroll: updateScrollFade,
|
|
7846
7846
|
className: "flex min-h-0 flex-1 flex-col gap-[var(--spacing-system-m)] overflow-y-auto overscroll-contain",
|
|
7847
7847
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col items-center justify-center gap-[var(--spacing-system-l)] px-[var(--spacing-system-l)] py-[var(--spacing-system-xxl)] text-center", children: [
|
|
7848
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7848
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.AgentMark, { agent: "mingo", className: "h-12 w-12" }),
|
|
7849
7849
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)]", children: [
|
|
7850
7850
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h2", children: heading }),
|
|
7851
7851
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
@@ -7971,7 +7971,7 @@ function GuideWelcome({
|
|
|
7971
7971
|
// Agent-mode identity glyph (chat-config Identity tab). Sized to
|
|
7972
7972
|
// match the default Mingo mark (48px).
|
|
7973
7973
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.EntityIcon, { icon: { name: icon.name, url: icon.url, props: icon.props }, size: 48 })
|
|
7974
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7974
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.AgentMark, { agent: "mingo", className: "h-12 w-12" }),
|
|
7975
7975
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)]", children: [
|
|
7976
7976
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h2", children: title }),
|
|
7977
7977
|
subtitleIsLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h4", className: "w-3/4 max-w-80" }) }) : subtitle ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle }) : null
|
|
@@ -8074,7 +8074,7 @@ function MingoArchiveList({
|
|
|
8074
8074
|
title: dialog.title || "Untitled Chat",
|
|
8075
8075
|
onClick: () => _optionalChain([onSelectDialog, 'optionalCall', _179 => _179(dialog.id)]),
|
|
8076
8076
|
trailing: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
8077
|
-
dialog.timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap text-ods-text-secondary text-h6", children:
|
|
8077
|
+
dialog.timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap text-ods-text-secondary text-h6", children: _chunk2X3N6MSRcjs.formatRelativeTime.call(void 0, dialog.timestamp) }),
|
|
8078
8078
|
dialog.owner && (dialog.owner.name || dialog.owner.avatarUrl) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8079
8079
|
_chunk6UKH22NQcjs.SquareAvatar,
|
|
8080
8080
|
{
|
|
@@ -8419,7 +8419,7 @@ function MingoChatRail({
|
|
|
8419
8419
|
"data-accent": "mingo",
|
|
8420
8420
|
"aria-label": "Mingo chats",
|
|
8421
8421
|
logo: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 items-center justify-between", children: [
|
|
8422
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8422
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.AgentMark, { agent: "mingo", className: "size-6 text-ods-text-primary" }),
|
|
8423
8423
|
onExpand && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8424
8424
|
_chunkAHBTZ7DNcjs.Button,
|
|
8425
8425
|
{
|
|
@@ -9129,11 +9129,13 @@ function useObjectUrl(file) {
|
|
|
9129
9129
|
|
|
9130
9130
|
|
|
9131
9131
|
var itemKey3 = (item) => `${item.type}:${item.id}`;
|
|
9132
|
+
var MEMORY_STRIP_CLASS = "relative flex items-center gap-[var(--spacing-system-xs)] border-b border-ods-border bg-ods-bg p-[var(--spacing-system-xs)]";
|
|
9132
9133
|
function ChatContextMemoryBar({
|
|
9133
9134
|
items,
|
|
9134
9135
|
onRemove,
|
|
9135
9136
|
resolveIcon: resolveIcon2,
|
|
9136
9137
|
disabled = false,
|
|
9138
|
+
pending = false,
|
|
9137
9139
|
className
|
|
9138
9140
|
}) {
|
|
9139
9141
|
const [open, setOpen] = _react.useState.call(void 0, false);
|
|
@@ -9152,7 +9154,13 @@ function ChatContextMemoryBar({
|
|
|
9152
9154
|
document.removeEventListener("touchstart", onOutside, true);
|
|
9153
9155
|
};
|
|
9154
9156
|
}, [open]);
|
|
9155
|
-
if (items.length === 0) return null;
|
|
9157
|
+
if (items.length === 0 && !pending) return null;
|
|
9158
|
+
if (items.length === 0) {
|
|
9159
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "aria-hidden": true, className: _chunk7JWFMAQBcjs.cn.call(void 0, MEMORY_STRIP_CLASS, className), children: [
|
|
9160
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 flex-1 truncate text-ods-text-secondary text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48 max-w-full" }) }),
|
|
9161
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "bare", size: "icon-sm", type: "button", tabIndex: -1, className: "invisible shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWHUL32Wcjs.Ellipsis01Icon, { size: 16 }) })
|
|
9162
|
+
] });
|
|
9163
|
+
}
|
|
9156
9164
|
return (
|
|
9157
9165
|
// `relative` anchors the popover to this strip; `bottom-full` floats it
|
|
9158
9166
|
// above, matching the context picker's placement over the input.
|
|
@@ -9160,10 +9168,7 @@ function ChatContextMemoryBar({
|
|
|
9160
9168
|
"div",
|
|
9161
9169
|
{
|
|
9162
9170
|
ref: rootRef,
|
|
9163
|
-
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
9164
|
-
"relative flex items-center gap-[var(--spacing-system-xs)] border-b border-ods-border bg-ods-bg p-[var(--spacing-system-xs)]",
|
|
9165
|
-
className
|
|
9166
|
-
),
|
|
9171
|
+
className: _chunk7JWFMAQBcjs.cn.call(void 0, MEMORY_STRIP_CLASS, className),
|
|
9167
9172
|
onKeyDown: (e) => {
|
|
9168
9173
|
if (e.key === "Escape" && open) {
|
|
9169
9174
|
e.preventDefault();
|
|
@@ -9435,6 +9440,7 @@ function ChatComposer({
|
|
|
9435
9440
|
onRemoveContextItem,
|
|
9436
9441
|
contextMemoryItems,
|
|
9437
9442
|
onRemoveContextMemoryItem,
|
|
9443
|
+
contextMemoryPending,
|
|
9438
9444
|
contextPickerOpen = false,
|
|
9439
9445
|
onOpenContextPicker,
|
|
9440
9446
|
onCloseContextPicker,
|
|
@@ -9523,6 +9529,7 @@ function ChatComposer({
|
|
|
9523
9529
|
{
|
|
9524
9530
|
items: memory,
|
|
9525
9531
|
onRemove: onRemoveContextMemoryItem,
|
|
9532
|
+
pending: contextMemoryPending,
|
|
9526
9533
|
resolveIcon: resolveContextIcon,
|
|
9527
9534
|
disabled: sending || locked,
|
|
9528
9535
|
className: "rounded-t-md"
|
|
@@ -12862,7 +12869,7 @@ function ChatCardLoader({
|
|
|
12862
12869
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
12863
12870
|
const discuss = discussFn ? {
|
|
12864
12871
|
label: useDisplay ? "Display" : "Ask Mingo",
|
|
12865
|
-
icon: useDisplay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 20 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12872
|
+
icon: useDisplay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 20 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.AgentMark, { agent: "mingo", className: "size-5" }),
|
|
12866
12873
|
run: () => discussFn(finalChatRef)
|
|
12867
12874
|
} : void 0;
|
|
12868
12875
|
const renderOpts = {
|
|
@@ -15683,7 +15690,7 @@ function createChatStreamReducer(options = {}) {
|
|
|
15683
15690
|
const status = approvalStatuses[requestId] || "pending";
|
|
15684
15691
|
if (!displayInline(approvalType)) {
|
|
15685
15692
|
const required = _nullishCoalesce(toolCalls.find((c) => c.requiresApproval), () => ( toolCalls[0]));
|
|
15686
|
-
const summary = required ?
|
|
15693
|
+
const summary = required ? _chunk2X3N6MSRcjs.getCommandText.call(void 0, required) : `Batch of ${toolCalls.length} tool calls`;
|
|
15687
15694
|
pendingEscalated.set(requestId, {
|
|
15688
15695
|
command: summary,
|
|
15689
15696
|
explanation: _optionalChain([required, 'optionalAccess', _536 => _536.toolExplanation]),
|
|
@@ -15716,7 +15723,7 @@ function createChatStreamReducer(options = {}) {
|
|
|
15716
15723
|
if (!call.requiresApproval) continue;
|
|
15717
15724
|
segments = accumulator.addApprovalRequest(
|
|
15718
15725
|
requestId,
|
|
15719
|
-
|
|
15726
|
+
_chunk2X3N6MSRcjs.getCommandText.call(void 0, call),
|
|
15720
15727
|
call.toolExplanation,
|
|
15721
15728
|
approvalType,
|
|
15722
15729
|
status,
|
|
@@ -15795,7 +15802,7 @@ function createChatStreamReducer(options = {}) {
|
|
|
15795
15802
|
if (!call.requiresApproval) continue;
|
|
15796
15803
|
segments = accumulator.addApprovalRequest(
|
|
15797
15804
|
requestId,
|
|
15798
|
-
|
|
15805
|
+
_chunk2X3N6MSRcjs.getCommandText.call(void 0, call),
|
|
15799
15806
|
call.toolExplanation,
|
|
15800
15807
|
escalatedData.approvalType,
|
|
15801
15808
|
status
|
|
@@ -18361,7 +18368,7 @@ function applyHistoryEvent(event, accumulator, approvalStatuses, options, escala
|
|
|
18361
18368
|
if (!call.requiresApproval) continue;
|
|
18362
18369
|
accumulator.addApprovalRequest(
|
|
18363
18370
|
event.requestId,
|
|
18364
|
-
|
|
18371
|
+
_chunk2X3N6MSRcjs.getCommandText.call(void 0, call),
|
|
18365
18372
|
call.toolExplanation,
|
|
18366
18373
|
approvalType,
|
|
18367
18374
|
status,
|
|
@@ -18422,7 +18429,7 @@ function applyHistoryEvent(event, accumulator, approvalStatuses, options, escala
|
|
|
18422
18429
|
if (!call.requiresApproval) continue;
|
|
18423
18430
|
accumulator.addApprovalRequest(
|
|
18424
18431
|
requestId,
|
|
18425
|
-
|
|
18432
|
+
_chunk2X3N6MSRcjs.getCommandText.call(void 0, call),
|
|
18426
18433
|
call.toolExplanation,
|
|
18427
18434
|
escalatedData.approvalType,
|
|
18428
18435
|
status
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkH4T3YHYHcjs = require('./chunk-H4T3YHYH.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkIYWX4GOGcjs = require('./chunk-IYWX4GOG.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -17,12 +17,12 @@ var _chunkE56LN23Hcjs = require('./chunk-E56LN23H.cjs');
|
|
|
17
17
|
var _chunkOG4XH6C5cjs = require('./chunk-OG4XH6C5.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkIE3CPPHJcjs = require('./chunk-IE3CPPHJ.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkTVAU56UUcjs = require('./chunk-TVAU56UU.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
@@ -119,7 +119,7 @@ function ContactForm({
|
|
|
119
119
|
successToastMessage = "Redirecting you to join our community...",
|
|
120
120
|
rescue: rescueForm = null
|
|
121
121
|
} = {}) {
|
|
122
|
-
const attachments =
|
|
122
|
+
const attachments = _chunkTVAU56UUcjs.useChatAttachments.call(void 0, );
|
|
123
123
|
const builtInSubmission = _chunkOG4XH6C5cjs.useContactSubmission.call(void 0, {
|
|
124
124
|
userId,
|
|
125
125
|
successRedirectUrl,
|
|
@@ -203,13 +203,13 @@ function ContactForm({
|
|
|
203
203
|
);
|
|
204
204
|
}),
|
|
205
205
|
className: "flex flex-grow flex-col space-y-4 content-md:space-y-6",
|
|
206
|
-
...
|
|
206
|
+
..._chunkIE3CPPHJcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
207
207
|
children: [
|
|
208
208
|
!showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("name") }),
|
|
209
209
|
!showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
|
|
210
210
|
!showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
|
|
211
211
|
!showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
|
|
212
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
212
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH4T3YHYHcjs.HoneypotField, { ...honeypotInputProps }),
|
|
213
213
|
extraTopField,
|
|
214
214
|
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: [
|
|
215
215
|
showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
@@ -261,17 +261,17 @@ function ContactForm({
|
|
|
261
261
|
{
|
|
262
262
|
control,
|
|
263
263
|
name: "companySize",
|
|
264
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
264
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIYWX4GOGcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
265
265
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
266
|
-
|
|
266
|
+
_chunkIYWX4GOGcjs.SelectTrigger,
|
|
267
267
|
{
|
|
268
268
|
id: "companySize",
|
|
269
269
|
"aria-label": "Company Size",
|
|
270
270
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
271
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
271
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIYWX4GOGcjs.SelectValue, { placeholder: "Select company size" })
|
|
272
272
|
}
|
|
273
273
|
),
|
|
274
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
274
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIYWX4GOGcjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIYWX4GOGcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
275
275
|
] })
|
|
276
276
|
}
|
|
277
277
|
),
|
|
@@ -284,17 +284,17 @@ function ContactForm({
|
|
|
284
284
|
{
|
|
285
285
|
control,
|
|
286
286
|
name: "referralSource",
|
|
287
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
287
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIYWX4GOGcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
288
288
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
289
|
-
|
|
289
|
+
_chunkIYWX4GOGcjs.SelectTrigger,
|
|
290
290
|
{
|
|
291
291
|
id: "referralSource",
|
|
292
292
|
"aria-label": "Referral Source",
|
|
293
293
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
294
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
294
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIYWX4GOGcjs.SelectValue, { placeholder: "Select an option" })
|
|
295
295
|
}
|
|
296
296
|
),
|
|
297
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
297
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIYWX4GOGcjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIYWX4GOGcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
298
298
|
] })
|
|
299
299
|
}
|
|
300
300
|
),
|
|
@@ -311,18 +311,18 @@ function ContactForm({
|
|
|
311
311
|
{
|
|
312
312
|
control,
|
|
313
313
|
name: "helpCategory",
|
|
314
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
314
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIYWX4GOGcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
315
315
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
316
|
-
|
|
316
|
+
_chunkIYWX4GOGcjs.SelectTrigger,
|
|
317
317
|
{
|
|
318
318
|
id: "helpCategory",
|
|
319
319
|
"aria-label": "Help Category",
|
|
320
320
|
"aria-required": true,
|
|
321
321
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
322
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
322
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIYWX4GOGcjs.SelectValue, { placeholder: "Choose your main interest" })
|
|
323
323
|
}
|
|
324
324
|
),
|
|
325
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
325
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIYWX4GOGcjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIYWX4GOGcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
326
326
|
] })
|
|
327
327
|
}
|
|
328
328
|
),
|
|
@@ -334,7 +334,7 @@ function ContactForm({
|
|
|
334
334
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTTZEDDR5cjs.RequiredMark, {})
|
|
335
335
|
] }),
|
|
336
336
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
337
|
-
|
|
337
|
+
_chunkH4T3YHYHcjs.Textarea,
|
|
338
338
|
{
|
|
339
339
|
id: "message",
|
|
340
340
|
...register("message"),
|
|
@@ -349,7 +349,7 @@ function ContactForm({
|
|
|
349
349
|
] }),
|
|
350
350
|
attachmentsEnabled && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
|
|
351
351
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
352
|
-
|
|
352
|
+
_chunkTVAU56UUcjs.ChatAttachmentChipStrip,
|
|
353
353
|
{
|
|
354
354
|
attachments: attachments.attachments,
|
|
355
355
|
onRemove: attachments.removeAttachment,
|
|
@@ -358,7 +358,7 @@ function ContactForm({
|
|
|
358
358
|
),
|
|
359
359
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
360
360
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
361
|
-
|
|
361
|
+
_chunkTVAU56UUcjs.ChatAttachmentAddButton,
|
|
362
362
|
{
|
|
363
363
|
attachmentsEnabled: true,
|
|
364
364
|
attachmentsCount: attachments.attachments.length,
|