@flamingo-stack/openframe-frontend-core 0.0.782 → 0.0.784
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-TS6TISIF.cjs → chunk-4LQKUZQL.cjs} +15 -15
- package/dist/{chunk-C5UUWXHE.cjs → chunk-4T2ZBCVJ.cjs} +55 -55
- package/dist/{chunk-7DKDVJMR.cjs → chunk-6F3IS3RD.cjs} +3 -3
- package/dist/{chunk-ISB7LW3D.cjs → chunk-CBDSML44.cjs} +32 -32
- package/dist/{chunk-QV4GHAWN.cjs → chunk-CZPUVFON.cjs} +51 -51
- package/dist/{chunk-C42BXIY7.cjs → chunk-FQE5MGRD.cjs} +11 -11
- package/dist/{chunk-LTF6UDGO.cjs → chunk-GI5QCHOV.cjs} +6 -6
- package/dist/{chunk-E2ZZOYSM.cjs → chunk-GMIXTXAO.cjs} +15 -3
- package/dist/{chunk-2EXD2RSC.cjs → chunk-GTYVI4QR.cjs} +4 -4
- package/dist/{chunk-JGKPEGZN.cjs → chunk-JYLECAIR.cjs} +41 -41
- package/dist/{chunk-YX7X5QQN.cjs → chunk-KVPHCBQV.cjs} +12 -12
- package/dist/{chunk-MDGDL3C7.cjs → chunk-L33AEGH4.cjs} +22 -22
- package/dist/{chunk-A4YUTS6Q.cjs → chunk-MYXC6PEG.cjs} +329 -329
- package/dist/{chunk-VH3KQSI2.cjs → chunk-MZQGHDTE.cjs} +3 -3
- package/dist/{chunk-GFRKNUJZ.cjs → chunk-NZJ5WW2D.cjs} +21 -21
- package/dist/{chunk-N7QNWHJA.cjs → chunk-STYH4ISW.cjs} +23 -23
- package/dist/{chunk-IZKEWQJN.cjs → chunk-U5R4MY4F.cjs} +4 -4
- package/dist/{chunk-VZUV2FCP.cjs → chunk-V5PJQ4C2.cjs} +6 -6
- package/dist/{chunk-7OJMOG34.cjs → chunk-WMXNSSJZ.cjs} +48 -48
- package/dist/{chunk-I7LRZR4Q.cjs → chunk-XVFESSEB.cjs} +7 -7
- package/dist/{cloud-tenants-LXKEG5N4.cjs → cloud-tenants-HUFCDOSC.cjs} +6 -6
- package/dist/components/case-studies/index.cjs +18 -18
- package/dist/components/chat/embeddable-chat.js +120 -98
- package/dist/components/chat/index.cjs +4 -4
- package/dist/components/contact/index.cjs +7 -7
- package/dist/components/docs/index.cjs +10 -10
- package/dist/components/embeds/index.cjs +7 -7
- package/dist/components/faq/index.cjs +8 -8
- package/dist/components/features/board/board-column.d.ts +1 -1
- package/dist/components/features/board/board-column.d.ts.map +1 -1
- package/dist/components/features/board/ticket-card.d.ts +1 -1
- package/dist/components/features/board/ticket-card.d.ts.map +1 -1
- package/dist/components/features/index.cjs +6 -6
- package/dist/components/help-center-pages/index.cjs +72 -72
- package/dist/components/index.cjs +40 -40
- package/dist/components/media-carousel.d.ts +1 -1
- package/dist/components/media-carousel.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +38 -38
- package/dist/components/navigation/app-header.d.ts +1 -1
- package/dist/components/navigation/app-header.d.ts.map +1 -1
- package/dist/components/navigation/index.cjs +9 -9
- package/dist/components/navigation/mobile-burger-menu.d.ts +1 -1
- package/dist/components/navigation/mobile-burger-menu.d.ts.map +1 -1
- package/dist/components/navigation/navigation-sidebar-item.d.ts +1 -1
- package/dist/components/navigation/navigation-sidebar-item.d.ts.map +1 -1
- package/dist/components/onboarding-guides/index.cjs +8 -8
- package/dist/components/product-demo/index.cjs +16 -16
- package/dist/components/tickets/index.cjs +11 -11
- package/dist/components/ui/index.cjs +6 -6
- package/dist/components/ui/markdown/engine.d.ts +1 -1
- package/dist/components/ui/markdown/engine.d.ts.map +1 -1
- package/dist/components/ui/modal-v2.d.ts.map +1 -1
- package/dist/components/ui/modal-v2.js +16 -4
- package/dist/{devices-PYJRYIQN.cjs → devices-KRWVEY76.cjs} +7 -7
- package/dist/{embeddable-chat-7MSM62UC.cjs → embeddable-chat-AZEPJAPN.cjs} +178 -156
- package/dist/index.cjs +10 -10
- package/dist/{knowledge-R4H2ZDX2.cjs → knowledge-Z3FM7U3W.cjs} +7 -7
- package/dist/{logs-YWL6NK24.cjs → logs-CNJYF5CO.cjs} +14 -14
- package/dist/{policies-3COFYSKB.cjs → policies-U32LUDZ4.cjs} +10 -10
- package/dist/{remote-session-IEOWFBF7.cjs → remote-session-ST6JEZML.cjs} +5 -5
- package/dist/{scripts-72EJDICT.cjs → scripts-2Y6ISOOK.cjs} +13 -13
- package/dist/{software-update-PPUVCLPO.cjs → software-update-EEN7PQR3.cjs} +10 -10
- package/package.json +3 -3
- package/src/components/chat/embeddable-chat.tsx +21 -4
- package/src/components/ui/modal-v2.tsx +22 -4
|
@@ -38,7 +38,7 @@ var _chunkWSBWP7IWcjs = require('./chunk-WSBWP7IW.cjs');
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
var
|
|
41
|
+
var _chunkGMIXTXAOcjs = require('./chunk-GMIXTXAO.cjs');
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
|
@@ -3263,7 +3263,7 @@ function onAskAiIntent(run) {
|
|
|
3263
3263
|
|
|
3264
3264
|
// src/components/chat/chat-appearance-context.tsx
|
|
3265
3265
|
|
|
3266
|
-
var ChatAppearanceContext = _react.createContext.call(void 0,
|
|
3266
|
+
var ChatAppearanceContext = _react.createContext.call(void 0, _chunkGMIXTXAOcjs.CHAT_APPEARANCE.CLASSIC);
|
|
3267
3267
|
function useChatAppearance() {
|
|
3268
3268
|
return _react.useContext.call(void 0, ChatAppearanceContext);
|
|
3269
3269
|
}
|
|
@@ -3302,7 +3302,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
3302
3302
|
...props
|
|
3303
3303
|
}, ref) => {
|
|
3304
3304
|
const [isProcessing, setIsProcessing] = _react.useState.call(void 0, false);
|
|
3305
|
-
const isV2 = useChatAppearance() ===
|
|
3305
|
+
const isV2 = useChatAppearance() === _chunkGMIXTXAOcjs.CHAT_APPEARANCE.V2;
|
|
3306
3306
|
const handleApprove = async () => {
|
|
3307
3307
|
setIsProcessing(true);
|
|
3308
3308
|
try {
|
|
@@ -3434,7 +3434,7 @@ EscalationOfferMessage.displayName = "EscalationOfferMessage";
|
|
|
3434
3434
|
|
|
3435
3435
|
var AiAssistantInfo = _react.forwardRef.call(void 0,
|
|
3436
3436
|
({ className, icon, leading, title, body, timestamp, ...props }, ref) => {
|
|
3437
|
-
const isV2 = useChatAppearance() ===
|
|
3437
|
+
const isV2 = useChatAppearance() === _chunkGMIXTXAOcjs.CHAT_APPEARANCE.V2;
|
|
3438
3438
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3439
3439
|
"div",
|
|
3440
3440
|
{
|
|
@@ -3450,7 +3450,7 @@ var AiAssistantInfo = _react.forwardRef.call(void 0,
|
|
|
3450
3450
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
3451
3451
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-start", children: [
|
|
3452
3452
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 flex-1 truncate text-ods-text-primary text-h4", title, children: title }),
|
|
3453
|
-
timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-right text-ods-text-secondary text-h6", children:
|
|
3453
|
+
timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-right text-ods-text-secondary text-h6", children: _chunkGMIXTXAOcjs.formatTime.call(void 0, timestamp) })
|
|
3454
3454
|
] }),
|
|
3455
3455
|
body != null && body !== "" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full break-words text-ods-text-secondary text-h4", children: body })
|
|
3456
3456
|
] })
|
|
@@ -4027,7 +4027,7 @@ var ErrorMessageDisplay = _react.forwardRef.call(void 0,
|
|
|
4027
4027
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
4028
4028
|
const { innerRef, containerStyle } = _chunkBE4OUWTAcjs.useCollapsible.call(void 0, { expanded });
|
|
4029
4029
|
const hasDetails = Boolean(details);
|
|
4030
|
-
const isV2 = useChatAppearance() ===
|
|
4030
|
+
const isV2 = useChatAppearance() === _chunkGMIXTXAOcjs.CHAT_APPEARANCE.V2;
|
|
4031
4031
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4032
4032
|
"div",
|
|
4033
4033
|
{
|
|
@@ -5012,8 +5012,8 @@ ToolExecutionDisplay.displayName = "ToolExecutionDisplay";
|
|
|
5012
5012
|
|
|
5013
5013
|
// src/components/chat/chat-message-layout.ts
|
|
5014
5014
|
var CHAT_MESSAGE_ROW_PADDING_CLASS = {
|
|
5015
|
-
[
|
|
5016
|
-
[
|
|
5015
|
+
[_chunkGMIXTXAOcjs.CHAT_APPEARANCE.CLASSIC]: "py-[var(--spacing-system-s)]",
|
|
5016
|
+
[_chunkGMIXTXAOcjs.CHAT_APPEARANCE.V2]: "py-[calc(var(--spacing-system-m)/2)]"
|
|
5017
5017
|
};
|
|
5018
5018
|
var CHAT_MESSAGE_STACK_CLASS = "grid min-w-0 grid-cols-1 gap-[var(--spacing-system-xxs)]";
|
|
5019
5019
|
var CHAT_MESSAGE_HEADER_CLASS = "flex items-center gap-[var(--spacing-system-xs)]";
|
|
@@ -5054,8 +5054,8 @@ var remarkStripCitations = () => {
|
|
|
5054
5054
|
var MENTION_MARKER_REGEX = /(^|[^\w@])@[a-zA-Z]+:([A-Za-z0-9_.+/=-]*[A-Za-z0-9_+/=])/g;
|
|
5055
5055
|
var CARD_MARKER_REGEX = createCardMarkerScanner();
|
|
5056
5056
|
function formatMessageTimestamp(timestamp) {
|
|
5057
|
-
const time =
|
|
5058
|
-
return _chunkBE4OUWTAcjs.isToday.call(void 0, timestamp) ? time : `${
|
|
5057
|
+
const time = _chunkGMIXTXAOcjs.formatTime.call(void 0, timestamp);
|
|
5058
|
+
return _chunkBE4OUWTAcjs.isToday.call(void 0, timestamp) ? time : `${_chunkGMIXTXAOcjs.formatDate.call(void 0, timestamp)} ${time}`;
|
|
5059
5059
|
}
|
|
5060
5060
|
function normalizeContent(content) {
|
|
5061
5061
|
if (typeof content === "string") {
|
|
@@ -5111,7 +5111,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
5111
5111
|
const isError = role === "error";
|
|
5112
5112
|
const inheritedAppearance = useChatAppearance();
|
|
5113
5113
|
const appearance = _nullishCoalesce(appearanceProp, () => ( inheritedAppearance));
|
|
5114
|
-
const isV2 = appearance ===
|
|
5114
|
+
const isV2 = appearance === _chunkGMIXTXAOcjs.CHAT_APPEARANCE.V2;
|
|
5115
5115
|
const authorType = _nullishCoalesce(authorTypeProp, () => ( (isHuman ? "user" : assistantType === "mingo" ? "mingo" : "fae")));
|
|
5116
5116
|
const isOtherPerson = isHuman && selfAuthorType !== void 0 && authorType !== "system" && authorType !== selfAuthorType;
|
|
5117
5117
|
const isUser = isHuman && !isOtherPerson;
|
|
@@ -5317,7 +5317,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
5317
5317
|
"div",
|
|
5318
5318
|
{
|
|
5319
5319
|
ref,
|
|
5320
|
-
className: _chunkMGEUZRNQcjs.cn.call(void 0, "relative", CHAT_MESSAGE_ROW_PADDING_CLASS[
|
|
5320
|
+
className: _chunkMGEUZRNQcjs.cn.call(void 0, "relative", CHAT_MESSAGE_ROW_PADDING_CLASS[_chunkGMIXTXAOcjs.CHAT_APPEARANCE.V2], className),
|
|
5321
5321
|
...props,
|
|
5322
5322
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatAppearanceContext.Provider, { value: appearance, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SystemEventMessage, { text: name, timestamp }) })
|
|
5323
5323
|
}
|
|
@@ -5329,7 +5329,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
5329
5329
|
ref,
|
|
5330
5330
|
className: _chunkMGEUZRNQcjs.cn.call(void 0,
|
|
5331
5331
|
"relative",
|
|
5332
|
-
CHAT_MESSAGE_ROW_PADDING_CLASS[isV2 ?
|
|
5332
|
+
CHAT_MESSAGE_ROW_PADDING_CLASS[isV2 ? _chunkGMIXTXAOcjs.CHAT_APPEARANCE.V2 : _chunkGMIXTXAOcjs.CHAT_APPEARANCE.CLASSIC],
|
|
5333
5333
|
className
|
|
5334
5334
|
),
|
|
5335
5335
|
...props,
|
|
@@ -5660,7 +5660,7 @@ var ChatMessageList = _react.forwardRef.call(void 0,
|
|
|
5660
5660
|
approvalVariant,
|
|
5661
5661
|
selfAuthorType,
|
|
5662
5662
|
nameEveryTurn,
|
|
5663
|
-
appearance =
|
|
5663
|
+
appearance = _chunkGMIXTXAOcjs.CHAT_APPEARANCE.CLASSIC,
|
|
5664
5664
|
assistantIcon,
|
|
5665
5665
|
pendingApprovals,
|
|
5666
5666
|
hasNextPage,
|
|
@@ -7537,7 +7537,7 @@ function MingoChatHistoryRow({
|
|
|
7537
7537
|
!loading && "cursor-pointer focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ods-accent"
|
|
7538
7538
|
),
|
|
7539
7539
|
children: [
|
|
7540
|
-
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNNNRN4OFcjs.TextLineSkeleton, { type: "h4", className:
|
|
7540
|
+
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNNNRN4OFcjs.TextLineSkeleton, { type: "h4", className: _chunkGMIXTXAOcjs.SKELETON_TITLE_WIDTHS[skeletonIndex % _chunkGMIXTXAOcjs.SKELETON_TITLE_WIDTHS.length] }) : null,
|
|
7541
7541
|
!loading && unread > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-8 min-w-8 shrink-0 items-center justify-center rounded-md bg-ods-accent px-[var(--spacing-system-xsf)] text-ods-text-on-accent text-h5", children: unread > 99 ? "99+" : unread }) : null,
|
|
7542
7542
|
loading ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7543
7543
|
"span",
|
|
@@ -7663,7 +7663,7 @@ function MingoChatHistory({
|
|
|
7663
7663
|
const isLoading = _chunkMGEUZRNQcjs.useLoadingScope.call(void 0, ) || loading;
|
|
7664
7664
|
const groups = _react.useMemo.call(void 0, () => groupDialogs(dialogs), [dialogs]);
|
|
7665
7665
|
const noSearchResults = groups.length === 0 && !!_optionalChain([searchQuery, 'optionalAccess', _167 => _167.trim, 'call', _168 => _168()]);
|
|
7666
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
7666
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkGMIXTXAOcjs.useScrollFade.call(void 0, );
|
|
7667
7667
|
const sentinelRef = _react.useRef.call(void 0, null);
|
|
7668
7668
|
const onLoadMoreRef = _react.useRef.call(void 0, onLoadMore);
|
|
7669
7669
|
const isLoadingMoreRef = _react.useRef.call(void 0, isLoadingMore);
|
|
@@ -7728,8 +7728,8 @@ function MingoChatHistory({
|
|
|
7728
7728
|
]
|
|
7729
7729
|
}
|
|
7730
7730
|
),
|
|
7731
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7732
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7731
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGMIXTXAOcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop, color: "var(--color-bg-card)", className: "h-12" }),
|
|
7732
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGMIXTXAOcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom, color: "var(--color-bg-card)", className: "h-12" })
|
|
7733
7733
|
] }) });
|
|
7734
7734
|
}
|
|
7735
7735
|
|
|
@@ -7785,7 +7785,7 @@ function MingoWelcome({
|
|
|
7785
7785
|
} catch (e7) {
|
|
7786
7786
|
}
|
|
7787
7787
|
}, [promoStorage, promoStorageKey]);
|
|
7788
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateScrollFade } =
|
|
7788
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateScrollFade } = _chunkGMIXTXAOcjs.useScrollFade.call(void 0, );
|
|
7789
7789
|
const showPinnedRegion = !!dialogHistory || !historyLoading && !loadError;
|
|
7790
7790
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
7791
7791
|
"div",
|
|
@@ -7825,8 +7825,8 @@ function MingoWelcome({
|
|
|
7825
7825
|
] })
|
|
7826
7826
|
}
|
|
7827
7827
|
),
|
|
7828
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7829
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7828
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGMIXTXAOcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop, className: "h-12" }),
|
|
7829
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGMIXTXAOcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom, className: "h-12" })
|
|
7830
7830
|
] }) })))),
|
|
7831
7831
|
showPinnedRegion && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col gap-[var(--spacing-system-m)]", children: [
|
|
7832
7832
|
resolvedPromo && !promoDismissed && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex shrink-0 items-center gap-[var(--spacing-system-m)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-m)] pr-[var(--spacing-system-xl)]", children: [
|
|
@@ -7906,7 +7906,7 @@ function GuideWelcome({
|
|
|
7906
7906
|
children,
|
|
7907
7907
|
className
|
|
7908
7908
|
}) {
|
|
7909
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateScrollFade } =
|
|
7909
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateScrollFade } = _chunkGMIXTXAOcjs.useScrollFade.call(void 0, );
|
|
7910
7910
|
const subtitleIsLoading = _chunkMGEUZRNQcjs.useLoadingScope.call(void 0, ) || subtitleLoading && !subtitle;
|
|
7911
7911
|
const chipItems = _react.useMemo.call(void 0,
|
|
7912
7912
|
() => quickActions.map((action) => ({
|
|
@@ -7953,8 +7953,8 @@ function GuideWelcome({
|
|
|
7953
7953
|
]
|
|
7954
7954
|
}
|
|
7955
7955
|
),
|
|
7956
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7957
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7956
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGMIXTXAOcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop, className: "h-12" }),
|
|
7957
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGMIXTXAOcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom, className: "h-12" })
|
|
7958
7958
|
] }),
|
|
7959
7959
|
quickActions.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7960
7960
|
QuickActionWall,
|
|
@@ -8038,9 +8038,9 @@ function MingoArchiveList({
|
|
|
8038
8038
|
className: "flex min-h-0 flex-1 flex-col gap-[var(--spacing-system-xxs)] px-[var(--spacing-system-xs)] pt-[var(--spacing-system-mf)]",
|
|
8039
8039
|
children: [
|
|
8040
8040
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "shrink-0 px-[var(--spacing-system-xs)] pt-[var(--spacing-system-xs)] text-ods-text-secondary text-h5", children: "Archived Chats" }),
|
|
8041
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col gap-[var(--spacing-system-xxs)] overflow-y-auto overscroll-contain pb-[var(--spacing-system-mf)]", children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8041
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col gap-[var(--spacing-system-xxs)] overflow-y-auto overscroll-contain pb-[var(--spacing-system-mf)]", children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGMIXTXAOcjs.ChatListItemLoadingPage, { count: pageSize, trailing: true }) : dialogs.length > 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
8042
8042
|
dialogs.map((dialog) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8043
|
-
|
|
8043
|
+
_chunkGMIXTXAOcjs.ChatListItem,
|
|
8044
8044
|
{
|
|
8045
8045
|
"data-loading-item": true,
|
|
8046
8046
|
title: dialog.title || "Untitled Chat",
|
|
@@ -8351,7 +8351,7 @@ function MingoChatRail({
|
|
|
8351
8351
|
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFLS6DZENcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXLTOM62Pcjs.Refresh01RightIcon, {}), onClick: onRetry, children: "Try again" })
|
|
8352
8352
|
] });
|
|
8353
8353
|
} else if (loading) {
|
|
8354
|
-
list = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8354
|
+
list = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGMIXTXAOcjs.ChatListItemLoadingPage, { count: pageSize });
|
|
8355
8355
|
} else if (dialogs.length === 0 && !draftTitle) {
|
|
8356
8356
|
list = hasSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "px-[var(--spacing-system-xs)] py-[var(--spacing-system-s)] text-ods-text-secondary text-h6", children: "No chats found" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8357
8357
|
ChatListEmptyState,
|
|
@@ -8363,7 +8363,7 @@ function MingoChatRail({
|
|
|
8363
8363
|
);
|
|
8364
8364
|
} else {
|
|
8365
8365
|
list = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
8366
|
-
draftTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8366
|
+
draftTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGMIXTXAOcjs.ChatListItem, { active: true, title: draftTitle, tabIndex: -1, className: "cursor-default" }),
|
|
8367
8367
|
dialogs.map((dialog) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8368
8368
|
MingoChatRailRow,
|
|
8369
8369
|
{
|
|
@@ -8385,7 +8385,7 @@ function MingoChatRail({
|
|
|
8385
8385
|
] });
|
|
8386
8386
|
}
|
|
8387
8387
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8388
|
-
|
|
8388
|
+
_chunkGMIXTXAOcjs.ChatNavSidebar,
|
|
8389
8389
|
{
|
|
8390
8390
|
className,
|
|
8391
8391
|
"data-accent": "mingo",
|
|
@@ -8444,7 +8444,7 @@ function MingoChatRailRow({ dialog, active, status, onSelect, menuItems, ...prop
|
|
|
8444
8444
|
const title = dialog.title || "Untitled Chat";
|
|
8445
8445
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ..._chunkMGEUZRNQcjs.loadingItemProps.call(void 0, props), className: "group/row relative shrink-0", children: [
|
|
8446
8446
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8447
|
-
|
|
8447
|
+
_chunkGMIXTXAOcjs.ChatListItem,
|
|
8448
8448
|
{
|
|
8449
8449
|
active,
|
|
8450
8450
|
title,
|
|
@@ -8667,8 +8667,8 @@ function RenameChatModal({ isOpen, initialName = "", onClose, onSave }) {
|
|
|
8667
8667
|
const save = () => {
|
|
8668
8668
|
if (canSave) onSave(name.trim());
|
|
8669
8669
|
};
|
|
8670
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8671
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8670
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkGMIXTXAOcjs.Modal, { isOpen, onClose, className: "md:max-w-[600px]", children: [
|
|
8671
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGMIXTXAOcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGMIXTXAOcjs.ModalTitle, { children: "Rename Chat" }) }),
|
|
8672
8672
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
8673
8673
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOMTH355Icjs.Label, { htmlFor: "rename-chat-input", variant: "large", children: "Chat Name" }),
|
|
8674
8674
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -8685,27 +8685,27 @@ function RenameChatModal({ isOpen, initialName = "", onClose, onSave }) {
|
|
|
8685
8685
|
}
|
|
8686
8686
|
)
|
|
8687
8687
|
] }),
|
|
8688
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8688
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkGMIXTXAOcjs.ModalFooter, { children: [
|
|
8689
8689
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFLS6DZENcjs.Button, { variant: "outline", type: "button", onClick: onClose, className: footerBtn, children: "Cancel" }),
|
|
8690
8690
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFLS6DZENcjs.Button, { variant: "accent", type: "button", onClick: save, disabled: !canSave, className: footerBtn, children: "Save" })
|
|
8691
8691
|
] })
|
|
8692
8692
|
] });
|
|
8693
8693
|
}
|
|
8694
8694
|
function ArchiveChatModal({ isOpen, onClose, onConfirm }) {
|
|
8695
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8696
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8695
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkGMIXTXAOcjs.Modal, { isOpen, onClose, className: "md:max-w-[600px]", children: [
|
|
8696
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGMIXTXAOcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGMIXTXAOcjs.ModalTitle, { children: "Archive Chat" }) }),
|
|
8697
8697
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full text-ods-text-primary text-h4", children: "This chat will be hidden from your current chats." }),
|
|
8698
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8698
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkGMIXTXAOcjs.ModalFooter, { children: [
|
|
8699
8699
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFLS6DZENcjs.Button, { variant: "outline", type: "button", onClick: onClose, className: footerBtn, children: "Cancel" }),
|
|
8700
8700
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFLS6DZENcjs.Button, { variant: "destructive", type: "button", onClick: onConfirm, className: footerBtn, children: "Archive Chat" })
|
|
8701
8701
|
] })
|
|
8702
8702
|
] });
|
|
8703
8703
|
}
|
|
8704
8704
|
function UnarchiveChatModal({ isOpen, onClose, onConfirm }) {
|
|
8705
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8706
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8705
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkGMIXTXAOcjs.Modal, { isOpen, onClose, className: "md:max-w-[600px]", children: [
|
|
8706
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGMIXTXAOcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGMIXTXAOcjs.ModalTitle, { children: "Unarchive Chat" }) }),
|
|
8707
8707
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full text-ods-text-primary text-h4", children: "This chat will be moved back to your current chats." }),
|
|
8708
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8708
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkGMIXTXAOcjs.ModalFooter, { children: [
|
|
8709
8709
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFLS6DZENcjs.Button, { variant: "outline", type: "button", onClick: onClose, className: footerBtn, children: "Cancel" }),
|
|
8710
8710
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFLS6DZENcjs.Button, { variant: "accent", type: "button", onClick: onConfirm, className: footerBtn, children: "Unarchive Chat" })
|
|
8711
8711
|
] })
|
|
@@ -9299,7 +9299,7 @@ var ModelDisplay = _react2.default.forwardRef(
|
|
|
9299
9299
|
const isLoading = _chunkMGEUZRNQcjs.useLoadingScope.call(void 0, ) || loading;
|
|
9300
9300
|
const icon = getProviderIcon(provider);
|
|
9301
9301
|
const name = displayName || modelName;
|
|
9302
|
-
const isV2 = useChatAppearance() ===
|
|
9302
|
+
const isV2 = useChatAppearance() === _chunkGMIXTXAOcjs.CHAT_APPEARANCE.V2;
|
|
9303
9303
|
const formatCount = (count) => isV2 ? count.toLocaleString("en-US") : formatTokenCount(count);
|
|
9304
9304
|
if (isLoading) {
|
|
9305
9305
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, "aria-hidden": true, className: _chunkMGEUZRNQcjs.cn.call(void 0, MODEL_DISPLAY_ROW_CLASS, className), ...props, children: [
|
|
@@ -9427,7 +9427,7 @@ function ChatComposer({
|
|
|
9427
9427
|
}, [entityTypes]);
|
|
9428
9428
|
const resolveContextIcon = _react.useCallback.call(void 0, (item) => iconByType.get(item.type), [iconByType]);
|
|
9429
9429
|
const inputNode = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9430
|
-
|
|
9430
|
+
_chunkGMIXTXAOcjs.ChatInput,
|
|
9431
9431
|
{
|
|
9432
9432
|
ref: inputRef,
|
|
9433
9433
|
onSend,
|
|
@@ -12940,12 +12940,12 @@ function makeBatchDedupKey(item) {
|
|
|
12940
12940
|
return `${item.messageType}:${seq}:${type}:${text2}:${integratedToolType}:${toolFunction}:${approvalRequestId}`;
|
|
12941
12941
|
}
|
|
12942
12942
|
function getChatTypeMessageType(chatType) {
|
|
12943
|
-
return chatType ===
|
|
12943
|
+
return chatType === _chunkGMIXTXAOcjs.CHAT_TYPE.ADMIN ? "admin-message" : "message";
|
|
12944
12944
|
}
|
|
12945
12945
|
function useChunkCatchup({
|
|
12946
12946
|
dialogId,
|
|
12947
12947
|
onChunkReceived,
|
|
12948
|
-
chatTypes = [
|
|
12948
|
+
chatTypes = [_chunkGMIXTXAOcjs.CHAT_TYPE.CLIENT],
|
|
12949
12949
|
fetchChunks
|
|
12950
12950
|
}) {
|
|
12951
12951
|
const processedSequenceKeys = _react.useRef.call(void 0, /* @__PURE__ */ new Set());
|
|
@@ -18062,12 +18062,12 @@ function decodeNatsChunk(chunk) {
|
|
|
18062
18062
|
|
|
18063
18063
|
// src/components/chat/utils/process-historical-messages.ts
|
|
18064
18064
|
function getOwnerDisplayName(owner) {
|
|
18065
|
-
if (_optionalChain([owner, 'optionalAccess', _614 => _614.type]) ===
|
|
18065
|
+
if (_optionalChain([owner, 'optionalAccess', _614 => _614.type]) === _chunkGMIXTXAOcjs.OWNER_TYPE.ADMIN && owner.user) {
|
|
18066
18066
|
const { firstName, lastName } = owner.user;
|
|
18067
18067
|
const name = [firstName, lastName].filter(Boolean).join(" ");
|
|
18068
18068
|
if (name) return name;
|
|
18069
18069
|
}
|
|
18070
|
-
return _optionalChain([owner, 'optionalAccess', _615 => _615.type]) ===
|
|
18070
|
+
return _optionalChain([owner, 'optionalAccess', _615 => _615.type]) === _chunkGMIXTXAOcjs.OWNER_TYPE.ADMIN ? "Admin" : "You";
|
|
18071
18071
|
}
|
|
18072
18072
|
function getOwnerAvatar(owner) {
|
|
18073
18073
|
return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _616 => _616.user, 'optionalAccess', _617 => _617.image, 'optionalAccess', _618 => _618.imageUrl]), () => ( void 0));
|
|
@@ -18499,10 +18499,10 @@ function processHistoricalMessages(messages, options = {}) {
|
|
|
18499
18499
|
pushStandaloneMessages(processedMessages, msg, messageDataArray);
|
|
18500
18500
|
return;
|
|
18501
18501
|
}
|
|
18502
|
-
const isUserMessage = _optionalChain([msg, 'access', _631 => _631.owner, 'optionalAccess', _632 => _632.type]) ===
|
|
18502
|
+
const isUserMessage = _optionalChain([msg, 'access', _631 => _631.owner, 'optionalAccess', _632 => _632.type]) === _chunkGMIXTXAOcjs.OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _633 => _633.owner, 'optionalAccess', _634 => _634.type]) === _chunkGMIXTXAOcjs.OWNER_TYPE.ADMIN;
|
|
18503
18503
|
if (isUserMessage) {
|
|
18504
18504
|
flushAssistantMessage();
|
|
18505
|
-
const userAuthorType = _optionalChain([msg, 'access', _635 => _635.owner, 'optionalAccess', _636 => _636.type]) ===
|
|
18505
|
+
const userAuthorType = _optionalChain([msg, 'access', _635 => _635.owner, 'optionalAccess', _636 => _636.type]) === _chunkGMIXTXAOcjs.OWNER_TYPE.ADMIN ? "admin" : "user";
|
|
18506
18506
|
messageDataArray.forEach((data) => {
|
|
18507
18507
|
if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
|
|
18508
18508
|
const rawContext = data.contextItems;
|
|
@@ -18553,7 +18553,7 @@ function processHistoricalMessages(messages, options = {}) {
|
|
|
18553
18553
|
});
|
|
18554
18554
|
const nextMsg = messages[index + 1];
|
|
18555
18555
|
const isLastMessage = index === messages.length - 1;
|
|
18556
|
-
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _639 => _639.owner, 'optionalAccess', _640 => _640.type]) ===
|
|
18556
|
+
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _639 => _639.owner, 'optionalAccess', _640 => _640.type]) === _chunkGMIXTXAOcjs.OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _641 => _641.owner, 'optionalAccess', _642 => _642.type]) === _chunkGMIXTXAOcjs.OWNER_TYPE.ADMIN);
|
|
18557
18557
|
if (isLastMessage || nextIsFromUser) {
|
|
18558
18558
|
flushAssistantMessage();
|
|
18559
18559
|
}
|
|
@@ -5,12 +5,12 @@ var _chunkCBKXU77Hcjs = require('./chunk-CBKXU77H.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkSTYH4ISWcjs = require('./chunk-STYH4ISW.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkWMXNSSJZcjs = require('./chunk-WMXNSSJZ.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -74,7 +74,7 @@ function FaqAccordion({ items, defaultOpenIds = [], loading: loadingProp, skelet
|
|
|
74
74
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
75
75
|
"div",
|
|
76
76
|
{
|
|
77
|
-
id:
|
|
77
|
+
id: _chunkWMXNSSJZcjs.faqItemAnchor.call(void 0, item.id),
|
|
78
78
|
className: _chunkMGEUZRNQcjs.cn.call(void 0, ROW_FRAME_CLASS, "hover:bg-ods-bg-hover"),
|
|
79
79
|
"data-loading-item": true,
|
|
80
80
|
children: [
|
|
@@ -140,14 +140,14 @@ function FaqAccordionSkeleton({
|
|
|
140
140
|
|
|
141
141
|
var PICK_ROOT_MARGIN = "600px";
|
|
142
142
|
function faqAskCardShown(assistant) {
|
|
143
|
-
return
|
|
143
|
+
return _chunkSTYH4ISWcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
|
|
144
144
|
}
|
|
145
145
|
function FaqAskCard({ topic, exclude, count, title, description, onOpen }) {
|
|
146
146
|
const { ref, inView } = _chunkOJZBZH56cjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
|
|
147
147
|
const [reached, setReached] = _react.useState.call(void 0, false);
|
|
148
148
|
if (inView && !reached) setReached(true);
|
|
149
149
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
150
|
-
|
|
150
|
+
_chunkSTYH4ISWcjs.AssistantAskPrompts,
|
|
151
151
|
{
|
|
152
152
|
variant: "card",
|
|
153
153
|
topic,
|
|
@@ -268,7 +268,7 @@ function groupFaqsBySection(faqs) {
|
|
|
268
268
|
}
|
|
269
269
|
let group = byName.get(name);
|
|
270
270
|
if (!group) {
|
|
271
|
-
group = { section: name, slug:
|
|
271
|
+
group = { section: name, slug: _chunkWMXNSSJZcjs.faqSectionSlug.call(void 0, name), items: [] };
|
|
272
272
|
byName.set(name, group);
|
|
273
273
|
}
|
|
274
274
|
group.items.push(item);
|
|
@@ -324,7 +324,7 @@ function GroupedFaqList({
|
|
|
324
324
|
}, [slugKey]);
|
|
325
325
|
const [hashTarget, setHashTarget] = _react.useState.call(void 0, null);
|
|
326
326
|
_react.useEffect.call(void 0, () => {
|
|
327
|
-
const refresh = () => setHashTarget(
|
|
327
|
+
const refresh = () => setHashTarget(_chunkWMXNSSJZcjs.parseFaqHash.call(void 0, window.location.hash));
|
|
328
328
|
refresh();
|
|
329
329
|
window.addEventListener("hashchange", refresh);
|
|
330
330
|
return () => window.removeEventListener("hashchange", refresh);
|
|
@@ -9,10 +9,10 @@ var _chunkSTEJZPIOcjs = require('./chunk-STEJZPIO.cjs');
|
|
|
9
9
|
var _chunkDKOLQPE7cjs = require('./chunk-DKOLQPE7.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkMYXC6PEGcjs = require('./chunk-MYXC6PEG.cjs');
|
|
13
13
|
require('./chunk-MKF6XX5A.cjs');
|
|
14
14
|
require('./chunk-ZFOMRALU.cjs');
|
|
15
|
-
require('./chunk-
|
|
15
|
+
require('./chunk-4LQKUZQL.cjs');
|
|
16
16
|
require('./chunk-HQQE74RO.cjs');
|
|
17
17
|
require('./chunk-DEY6XXGO.cjs');
|
|
18
18
|
require('./chunk-CBKXU77H.cjs');
|
|
@@ -21,11 +21,11 @@ require('./chunk-24I6RFVU.cjs');
|
|
|
21
21
|
require('./chunk-A6P6DHEZ.cjs');
|
|
22
22
|
require('./chunk-MZ4KBSH7.cjs');
|
|
23
23
|
require('./chunk-UPQMFK5B.cjs');
|
|
24
|
-
require('./chunk-
|
|
25
|
-
require('./chunk-
|
|
24
|
+
require('./chunk-STYH4ISW.cjs');
|
|
25
|
+
require('./chunk-WMXNSSJZ.cjs');
|
|
26
26
|
require('./chunk-BE4OUWTA.cjs');
|
|
27
27
|
require('./chunk-WSBWP7IW.cjs');
|
|
28
|
-
require('./chunk-
|
|
28
|
+
require('./chunk-GMIXTXAO.cjs');
|
|
29
29
|
require('./chunk-FS7CBRF4.cjs');
|
|
30
30
|
require('./chunk-ZOZR3QI2.cjs');
|
|
31
31
|
require('./chunk-OMV5S5PI.cjs');
|
|
@@ -1918,7 +1918,7 @@ var getHref = () => "#";
|
|
|
1918
1918
|
function CloudTenantsScreen(_props) {
|
|
1919
1919
|
const cast = _chunkSTEJZPIOcjs.useProductDemoCast.call(void 0, );
|
|
1920
1920
|
const fixture = _react.useMemo.call(void 0, () => buildCloudTenantsFixture(cast), [cast]);
|
|
1921
|
-
const table = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1921
|
+
const table = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYXC6PEGcjs.TenantsTableView, { rows: fixture.rows, getHref, now: fixture.now });
|
|
1922
1922
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full bg-ods-bg p-[var(--spacing-system-l)]", children: table });
|
|
1923
1923
|
}
|
|
1924
1924
|
|
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
var _chunkDTKGIG4Acjs = require('../../chunk-DTKGIG4A.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkL33AEGH4cjs = require('../../chunk-L33AEGH4.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkMYXC6PEGcjs = require('../../chunk-MYXC6PEG.cjs');
|
|
14
14
|
require('../../chunk-MKF6XX5A.cjs');
|
|
15
15
|
require('../../chunk-ZFOMRALU.cjs');
|
|
16
|
-
require('../../chunk-
|
|
16
|
+
require('../../chunk-4LQKUZQL.cjs');
|
|
17
17
|
require('../../chunk-HQQE74RO.cjs');
|
|
18
18
|
require('../../chunk-DEY6XXGO.cjs');
|
|
19
19
|
require('../../chunk-CBKXU77H.cjs');
|
|
@@ -22,14 +22,14 @@ require('../../chunk-24I6RFVU.cjs');
|
|
|
22
22
|
require('../../chunk-A6P6DHEZ.cjs');
|
|
23
23
|
require('../../chunk-MZ4KBSH7.cjs');
|
|
24
24
|
require('../../chunk-UPQMFK5B.cjs');
|
|
25
|
-
require('../../chunk-
|
|
25
|
+
require('../../chunk-STYH4ISW.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkWMXNSSJZcjs = require('../../chunk-WMXNSSJZ.cjs');
|
|
30
30
|
require('../../chunk-BE4OUWTA.cjs');
|
|
31
31
|
require('../../chunk-WSBWP7IW.cjs');
|
|
32
|
-
require('../../chunk-
|
|
32
|
+
require('../../chunk-GMIXTXAO.cjs');
|
|
33
33
|
require('../../chunk-FS7CBRF4.cjs');
|
|
34
34
|
require('../../chunk-ZOZR3QI2.cjs');
|
|
35
35
|
require('../../chunk-OMV5S5PI.cjs');
|
|
@@ -1931,9 +1931,9 @@ function ShareExperienceSection({
|
|
|
1931
1931
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-h2", children: howItWorksTitle }),
|
|
1932
1932
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4", children: howItWorksBody })
|
|
1933
1933
|
] }),
|
|
1934
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1934
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMYXC6PEGcjs.BenefitCardGrid, { columns: 4, children: [
|
|
1935
1935
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1936
|
-
|
|
1936
|
+
_chunkMYXC6PEGcjs.BenefitCard,
|
|
1937
1937
|
{
|
|
1938
1938
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMJQLBIZMcjs.G2Icon, { color: "var(--social-g2)", size: 24 }) }),
|
|
1939
1939
|
title: "G2",
|
|
@@ -1942,7 +1942,7 @@ function ShareExperienceSection({
|
|
|
1942
1942
|
}
|
|
1943
1943
|
),
|
|
1944
1944
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1945
|
-
|
|
1945
|
+
_chunkMYXC6PEGcjs.BenefitCard,
|
|
1946
1946
|
{
|
|
1947
1947
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkA2VKPXOBcjs.CapterraIcon, { size: 24 }) }),
|
|
1948
1948
|
title: "Capterra",
|
|
@@ -1951,7 +1951,7 @@ function ShareExperienceSection({
|
|
|
1951
1951
|
}
|
|
1952
1952
|
),
|
|
1953
1953
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1954
|
-
|
|
1954
|
+
_chunkMYXC6PEGcjs.BenefitCard,
|
|
1955
1955
|
{
|
|
1956
1956
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTLKSZG3Dcjs.TrustpilotIcon, { size: 24 }) }),
|
|
1957
1957
|
title: "TrustPilot",
|
|
@@ -1960,7 +1960,7 @@ function ShareExperienceSection({
|
|
|
1960
1960
|
}
|
|
1961
1961
|
),
|
|
1962
1962
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1963
|
-
|
|
1963
|
+
_chunkMYXC6PEGcjs.BenefitCard,
|
|
1964
1964
|
{
|
|
1965
1965
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkILYW6BQNcjs.GetappIcon, { size: 24 }) }),
|
|
1966
1966
|
title: "GetApp",
|
|
@@ -1969,7 +1969,7 @@ function ShareExperienceSection({
|
|
|
1969
1969
|
}
|
|
1970
1970
|
)
|
|
1971
1971
|
] }),
|
|
1972
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1972
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL33AEGH4cjs.ContactForm, { ...DEFAULT_CONTACT_FORM_PROPS, ...contactFormProps })
|
|
1973
1973
|
] }) })
|
|
1974
1974
|
] });
|
|
1975
1975
|
}
|
|
@@ -1986,7 +1986,7 @@ function EntityQuotesPanel({ quotes, className }) {
|
|
|
1986
1986
|
// Optional per record, so the loading state draws none: the gate leaves the loaded panel out of its comparison.
|
|
1987
1987
|
// A plain block around the one panel, so the parent's spacing applies to it as it did to the panel.
|
|
1988
1988
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-optional": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1989
|
-
|
|
1989
|
+
_chunkMYXC6PEGcjs.StackedRowsPanel,
|
|
1990
1990
|
{
|
|
1991
1991
|
className,
|
|
1992
1992
|
title: `${_chunkDTKGIG4Acjs.ENTITY_QUOTES_TITLE} \xB7 ${quotes.length}`,
|
|
@@ -2024,19 +2024,19 @@ function QuoteCardTile({ quote, decorative, className, loading, ...props }) {
|
|
|
2024
2024
|
className: _chunkMGEUZRNQcjs.cn.call(void 0, QUOTE_CARD_CLASS, "hover:border-ods-border-hover", className),
|
|
2025
2025
|
...props,
|
|
2026
2026
|
children: [
|
|
2027
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2028
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2027
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYXC6PEGcjs.PersonCell, { size: "lg", name: `"${quote.text}"`, secondary: quote.attribution, avatarUrl: quote.logoUrl }),
|
|
2028
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWMXNSSJZcjs.CardHitLayer, { href: quote.href, label: `${quote.text}, ${quote.attribution}`, decorative })
|
|
2029
2029
|
]
|
|
2030
2030
|
}
|
|
2031
2031
|
);
|
|
2032
2032
|
}
|
|
2033
2033
|
function QuoteCardTileSkeleton({ className }) {
|
|
2034
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkODDUGLYFcjs.Card, { variant: "panel", className: _chunkMGEUZRNQcjs.cn.call(void 0, QUOTE_CARD_CLASS, className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkA3UZFFR3cjs.LoadingRegion, { label: "Loading a customer story", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2034
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkODDUGLYFcjs.Card, { variant: "panel", className: _chunkMGEUZRNQcjs.cn.call(void 0, QUOTE_CARD_CLASS, className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkA3UZFFR3cjs.LoadingRegion, { label: "Loading a customer story", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYXC6PEGcjs.PersonCell, { loading: true, size: "lg" }) }) });
|
|
2035
2035
|
}
|
|
2036
2036
|
var QUOTE_STRIP_SKELETON_CARDS = 4;
|
|
2037
2037
|
function QuoteCardsStripSkeleton({ count, className }) {
|
|
2038
2038
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2039
|
-
|
|
2039
|
+
_chunkWMXNSSJZcjs.CardsStrip,
|
|
2040
2040
|
{
|
|
2041
2041
|
className,
|
|
2042
2042
|
showTitle: false,
|
|
@@ -2055,7 +2055,7 @@ function QuoteCardsStrip({ quotes, loading = false, skeletonCount, className })
|
|
|
2055
2055
|
}
|
|
2056
2056
|
if (quotes.length === 0) return null;
|
|
2057
2057
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2058
|
-
|
|
2058
|
+
_chunkWMXNSSJZcjs.CardsStrip,
|
|
2059
2059
|
{
|
|
2060
2060
|
className,
|
|
2061
2061
|
showTitle: false,
|