@flamingo-stack/openframe-frontend-core 0.0.738 → 0.0.739
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-FTTLBMHU.cjs → chunk-7ZFCR7UY.cjs} +2 -2
- package/dist/{chunk-EG545WGV.cjs → chunk-B3XBJCOD.cjs} +9 -9
- package/dist/{chunk-BRKTN6UR.cjs → chunk-BV5WZVOP.cjs} +199 -199
- package/dist/{chunk-GQZOUVXC.cjs → chunk-CUDTMCXK.cjs} +34 -34
- package/dist/{chunk-7LTG6CJ3.cjs → chunk-DSVNFRY5.cjs} +35 -35
- package/dist/{chunk-XGHZIYQN.cjs → chunk-DTLHY2ZF.cjs} +19 -19
- package/dist/{chunk-66R4NGGU.cjs → chunk-EGN4I5Q7.cjs} +76 -76
- package/dist/{chunk-2UZS3ZH7.cjs → chunk-ENCAIAMY.cjs} +5 -5
- package/dist/{chunk-5BKAUXLR.cjs → chunk-FL6UO7IR.cjs} +4 -4
- package/dist/{chunk-N2CISBJJ.cjs → chunk-GABDE3FM.cjs} +10 -10
- package/dist/{chunk-MYBTNOS6.cjs → chunk-GSWQZX23.cjs} +2 -2
- package/dist/{chunk-JZNESLJX.cjs → chunk-HF7Z2E4W.cjs} +2 -2
- package/dist/chunk-HOTM4UM6.cjs +84 -0
- package/dist/{chunk-EAY6ZUES.cjs → chunk-I5MSCD57.cjs} +2 -2
- package/dist/{chunk-3BBOAMWJ.cjs → chunk-KLI4OSRA.cjs} +2 -2
- package/dist/{chunk-N5NDPULP.cjs → chunk-NX6JQT25.cjs} +6 -6
- package/dist/{chunk-FG7HTGT3.cjs → chunk-O67V3HJR.cjs} +14 -14
- package/dist/{chunk-UMO55S55.cjs → chunk-PQ2M7P2U.cjs} +5 -5
- package/dist/{chunk-R36NZTUJ.cjs → chunk-Q7GG3WC5.cjs} +24 -24
- package/dist/{chunk-4YQNJJWM.cjs → chunk-RGFT3P3L.cjs} +90 -90
- package/dist/{chunk-4T6ETBL4.cjs → chunk-S2CA5WE4.cjs} +82 -82
- package/dist/{chunk-U5BRSRXA.cjs → chunk-SB4VWA5V.cjs} +644 -621
- package/dist/{chunk-MLKL2YVE.cjs → chunk-SFY4UYPY.cjs} +44 -44
- package/dist/{chunk-MTNNYSP3.cjs → chunk-TF7J6VXG.cjs} +20 -20
- package/dist/{chunk-KQ4IKALJ.cjs → chunk-UI3HROSI.cjs} +35 -35
- package/dist/{chunk-2SBHPHLS.cjs → chunk-UXFJXIUT.cjs} +4 -4
- package/dist/{chunk-XMNLPQ75.cjs → chunk-UYP3G6PB.cjs} +12 -12
- package/dist/{chunk-HNYLTEIS.cjs → chunk-V2ZFH42N.cjs} +13 -13
- package/dist/{chunk-GAF4L3JW.cjs → chunk-WBANGORJ.cjs} +3 -3
- package/dist/{chunk-7GETNFZ5.cjs → chunk-WMKNZI4G.cjs} +38 -38
- package/dist/{chunk-LY5VOKV7.cjs → chunk-YRE3O65E.cjs} +12 -12
- package/dist/{chunk-7F3V45AH.cjs → chunk-YXKB5WRE.cjs} +66 -75
- package/dist/{cloud-tenants-FTQGWXHS.cjs → cloud-tenants-QSFSO3PA.cjs} +15 -15
- package/dist/components/case-studies/index.cjs +27 -27
- package/dist/components/chat/index.cjs +11 -11
- package/dist/components/contact/index.cjs +16 -16
- package/dist/components/docs/index.cjs +19 -19
- package/dist/components/embeds/index.cjs +16 -16
- package/dist/components/faq/index.cjs +17 -17
- package/dist/components/features/index.cjs +15 -15
- package/dist/components/features/walkthrough-video.d.ts +3 -0
- package/dist/components/features/walkthrough-video.d.ts.map +1 -1
- package/dist/components/features/walkthrough-video.js +36 -13
- package/dist/components/help-center-pages/index.cjs +118 -118
- package/dist/components/index.cjs +80 -80
- package/dist/components/meeting-scheduler/index.cjs +57 -57
- package/dist/components/navigation/index.cjs +18 -18
- package/dist/components/onboarding-guides/index.cjs +18 -18
- package/dist/components/product-demo/index.cjs +8 -8
- package/dist/components/related-content/index.cjs +9 -9
- package/dist/components/tickets/index.cjs +21 -21
- package/dist/components/ui/index.cjs +15 -15
- package/dist/{devices-MPI5HUQS.cjs → devices-C7XLWJFC.cjs} +16 -16
- package/dist/embed-shims/index.cjs +2 -2
- package/dist/embed-shims/next-image.cjs +2 -2
- package/dist/embed-shims/next-image.d.ts.map +1 -1
- package/dist/embed-shims/next-image.js +6 -2
- package/dist/{embeddable-chat-7WLUDBGK.cjs → embeddable-chat-6JKKFQEB.cjs} +82 -82
- package/dist/hooks/index.cjs +3 -3
- package/dist/index.cjs +22 -21
- package/dist/{knowledge-BS663XXL.cjs → knowledge-3QKWTOE7.cjs} +16 -16
- package/dist/{logs-KS2A2VN5.cjs → logs-JXD75NR4.cjs} +23 -23
- package/dist/{policies-H3OK6H4Q.cjs → policies-ZPN53PFQ.cjs} +19 -19
- package/dist/{remote-session-EHKXU4HI.cjs → remote-session-DNFZ5OLY.cjs} +8 -8
- package/dist/{software-update-HMMMWIL3.cjs → software-update-CRSIBS3K.cjs} +19 -19
- package/dist/{tickets-board-3YJKOOZE.cjs → tickets-board-CKZRB6YV.cjs} +9 -9
- package/package.json +1 -1
- package/src/components/features/walkthrough-video.tsx +59 -18
- package/src/components/ui/dropdown-button.tsx +1 -1
- package/src/embed-shims/next-image.tsx +15 -4
- package/dist/chunk-UR4K2NSL.cjs +0 -69
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkBV5WZVOPcjs = require('./chunk-BV5WZVOP.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkGABDE3FMcjs = require('./chunk-GABDE3FM.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
var _chunkSXGDKNVEcjs = require('./chunk-SXGDKNVE.cjs');
|
|
@@ -100,7 +100,7 @@ var _chunkJKX2C3I2cjs = require('./chunk-JKX2C3I2.cjs');
|
|
|
100
100
|
var _chunkEWPR7662cjs = require('./chunk-EWPR7662.cjs');
|
|
101
101
|
|
|
102
102
|
|
|
103
|
-
var
|
|
103
|
+
var _chunkYRE3O65Ecjs = require('./chunk-YRE3O65E.cjs');
|
|
104
104
|
|
|
105
105
|
|
|
106
106
|
|
|
@@ -120,7 +120,7 @@ var _chunkLY5VOKV7cjs = require('./chunk-LY5VOKV7.cjs');
|
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
|
|
123
|
-
var
|
|
123
|
+
var _chunkYXKB5WREcjs = require('./chunk-YXKB5WRE.cjs');
|
|
124
124
|
|
|
125
125
|
|
|
126
126
|
|
|
@@ -129,7 +129,7 @@ var _chunk7F3V45AHcjs = require('./chunk-7F3V45AH.cjs');
|
|
|
129
129
|
|
|
130
130
|
|
|
131
131
|
|
|
132
|
-
var
|
|
132
|
+
var _chunk7ZFCR7UYcjs = require('./chunk-7ZFCR7UY.cjs');
|
|
133
133
|
|
|
134
134
|
|
|
135
135
|
|
|
@@ -141,7 +141,7 @@ var _chunkFTTLBMHUcjs = require('./chunk-FTTLBMHU.cjs');
|
|
|
141
141
|
var _chunkVOX4E6AXcjs = require('./chunk-VOX4E6AX.cjs');
|
|
142
142
|
|
|
143
143
|
|
|
144
|
-
var
|
|
144
|
+
var _chunkHOTM4UM6cjs = require('./chunk-HOTM4UM6.cjs');
|
|
145
145
|
|
|
146
146
|
|
|
147
147
|
var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
|
|
@@ -179,7 +179,7 @@ var _react = require('react'); var _react2 = _interopRequireDefault(_react);
|
|
|
179
179
|
// src/components/chat/hooks/use-proxied-image-url.ts
|
|
180
180
|
function useProxiedImageUrl(url) {
|
|
181
181
|
const r = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
|
|
182
|
-
return _nullishCoalesce(
|
|
182
|
+
return _nullishCoalesce(_chunkYXKB5WREcjs.getProxiedImageUrl.call(void 0, _nullishCoalesce(url, () => ( "")), {
|
|
183
183
|
proxyPrefix: r.endpoints.imageProxyUrlPrefix,
|
|
184
184
|
skipDomains: r.endpoints.imageProxySkipDomains,
|
|
185
185
|
directHttps: true
|
|
@@ -196,7 +196,7 @@ function ChatMessageRow({ displayName, avatarUrl, timeLabel, body, footer }) {
|
|
|
196
196
|
const hasBody = typeof body === "string" ? body.trim().length > 0 : body != null && body !== false;
|
|
197
197
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 gap-2 md:gap-3", children: [
|
|
198
198
|
src ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
199
|
-
|
|
199
|
+
_chunkHOTM4UM6cjs.next_image_default,
|
|
200
200
|
{
|
|
201
201
|
src,
|
|
202
202
|
alt: displayName,
|
|
@@ -205,7 +205,7 @@ function ChatMessageRow({ displayName, avatarUrl, timeLabel, body, footer }) {
|
|
|
205
205
|
height: 40,
|
|
206
206
|
onError: () => setFailedSrc(_nullishCoalesce(resolvedAvatar, () => ( null)))
|
|
207
207
|
}
|
|
208
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-text-primary text-h6 md:h-10 md:w-10", children:
|
|
208
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-text-primary text-h6 md:h-10 md:w-10", children: _chunk7ZFCR7UYcjs.personInitials.call(void 0, displayName) || "?" }),
|
|
209
209
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 max-w-full flex-1", children: [
|
|
210
210
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-1 flex min-w-0 max-w-full items-center gap-2", children: [
|
|
211
211
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate font-body text-[14px] font-bold leading-[1.33] tracking-[-0.02em] text-ods-text-primary md:text-[15px]", children: displayName }),
|
|
@@ -1897,7 +1897,7 @@ function lastPathSegment(url) {
|
|
|
1897
1897
|
function makeComposeContentUrl(opts) {
|
|
1898
1898
|
const suffixes = _nullishCoalesce(opts.suffixes, () => ( DEFAULT_CONTENT_SUFFIXES));
|
|
1899
1899
|
return ({ type: rawType, identifier, slug: slugHint, externalUrl, targetPlatform, platforms }) => {
|
|
1900
|
-
const type =
|
|
1900
|
+
const type = _chunkYXKB5WREcjs.canonicalContentRefType.call(void 0, rawType);
|
|
1901
1901
|
const override = opts.overrides && Object.prototype.hasOwnProperty.call(opts.overrides, type) ? opts.overrides[type] : void 0;
|
|
1902
1902
|
if (override) return { ...override(identifier), hostOverride: true };
|
|
1903
1903
|
const seg = _nullishCoalesce((Object.prototype.hasOwnProperty.call(suffixes, type) ? suffixes[type] : void 0), () => ( type));
|
|
@@ -1908,8 +1908,8 @@ function makeComposeContentUrl(opts) {
|
|
|
1908
1908
|
}
|
|
1909
1909
|
if (externalUrl) return { href: externalUrl, targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)) };
|
|
1910
1910
|
const claimedOwner = _nullishCoalesce(targetPlatform, () => ( primaryPlatformOf(platforms)));
|
|
1911
|
-
const owner = claimedOwner &&
|
|
1912
|
-
const origin = owner ?
|
|
1911
|
+
const owner = claimedOwner && _chunkBV5WZVOPcjs.byKey.call(void 0, claimedOwner) ? claimedOwner : null;
|
|
1912
|
+
const origin = owner ? _chunkBV5WZVOPcjs.getPlatformProductionUrl.call(void 0, owner) : opts.contentOrigin;
|
|
1913
1913
|
return {
|
|
1914
1914
|
href: `${origin.replace(/\/+$/, "")}/${seg}/${_optionalChain([slugHint, 'optionalAccess', _69 => _69.trim, 'call', _70 => _70()]) || identifier}`,
|
|
1915
1915
|
// Report the owner so `decideNewTab` can compare it against the current
|
|
@@ -2084,7 +2084,7 @@ function extractSections(markdown, options = {}) {
|
|
|
2084
2084
|
if (heading.level > opts.maxLevel) continue;
|
|
2085
2085
|
let title = heading.text;
|
|
2086
2086
|
if (opts.stripFormattingMarkers) {
|
|
2087
|
-
title =
|
|
2087
|
+
title = _chunkBV5WZVOPcjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
2088
2088
|
}
|
|
2089
2089
|
const baseId = _chunkSA7LDEVJcjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkSA7LDEVJcjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
2090
2090
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
@@ -2399,7 +2399,7 @@ function demoClockTimes(seed, options = {}) {
|
|
|
2399
2399
|
function openAskAi(source, options) {
|
|
2400
2400
|
const prompt = _optionalChain([options, 'optionalAccess', _77 => _77.prompt, 'optionalAccess', _78 => _78.trim, 'call', _79 => _79()]);
|
|
2401
2401
|
const detail = prompt ? { source: _nullishCoalesce(source, () => ( "")), prompt } : { source: _nullishCoalesce(source, () => ( "")) };
|
|
2402
|
-
window.dispatchEvent(new CustomEvent(
|
|
2402
|
+
window.dispatchEvent(new CustomEvent(_chunkBV5WZVOPcjs.ASK_AI_OPEN_EVENT, { detail }));
|
|
2403
2403
|
}
|
|
2404
2404
|
function MingoAiButton({
|
|
2405
2405
|
source,
|
|
@@ -2487,7 +2487,7 @@ function MingoAiButton({
|
|
|
2487
2487
|
children: icon
|
|
2488
2488
|
}
|
|
2489
2489
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2490
|
-
|
|
2490
|
+
_chunkGABDE3FMcjs.AgentMark,
|
|
2491
2491
|
{
|
|
2492
2492
|
agent: "mingo",
|
|
2493
2493
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "relative shrink-0 text-ods-text-primary", field ? "size-6" : "size-5")
|
|
@@ -2525,7 +2525,7 @@ function MingoAiButton({
|
|
|
2525
2525
|
// src/components/chat/ask-prompts.tsx
|
|
2526
2526
|
|
|
2527
2527
|
function AssistantGlyph({ icon, className }) {
|
|
2528
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "inline-flex shrink-0 items-center justify-center overflow-hidden rounded-full", className), children: _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2528
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "inline-flex shrink-0 items-center justify-center overflow-hidden rounded-full", className), children: _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGABDE3FMcjs.AgentMark, { agent: "mingo", className: "size-full" }))) });
|
|
2529
2529
|
}
|
|
2530
2530
|
var DEFAULT_LOADING_SLOTS = 2;
|
|
2531
2531
|
var slotCount = (count, loading, prompts) => _nullishCoalesce(count, () => ( (loading ? DEFAULT_LOADING_SLOTS : prompts.length)));
|
|
@@ -2545,13 +2545,13 @@ function QuestionChips({
|
|
|
2545
2545
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: count }, (_, slot) => {
|
|
2546
2546
|
const prompt = loading ? void 0 : prompts[slot];
|
|
2547
2547
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _nullishCoalesce(slotClassName, () => ( CHIP_SLOT_CLASS)), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2548
|
-
|
|
2548
|
+
_chunkBV5WZVOPcjs.QuickActionChipSkeleton,
|
|
2549
2549
|
{
|
|
2550
2550
|
variant: "question",
|
|
2551
2551
|
labelCh: SKELETON_LABEL_CH[slot % SKELETON_LABEL_CH.length]
|
|
2552
2552
|
}
|
|
2553
2553
|
) : prompt ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2554
|
-
|
|
2554
|
+
_chunkBV5WZVOPcjs.QuickActionChipButton,
|
|
2555
2555
|
{
|
|
2556
2556
|
variant: "question",
|
|
2557
2557
|
label: prompt.label,
|
|
@@ -2583,7 +2583,7 @@ function AskPrompts({
|
|
|
2583
2583
|
if (!loading && prompts.length === 0) return null;
|
|
2584
2584
|
const end = align === "end";
|
|
2585
2585
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2586
|
-
|
|
2586
|
+
_chunkBV5WZVOPcjs.ScrollShadow,
|
|
2587
2587
|
{
|
|
2588
2588
|
axis: "horizontal",
|
|
2589
2589
|
color: fadeColor,
|
|
@@ -2685,7 +2685,7 @@ function useAskPrompts({
|
|
|
2685
2685
|
const assistant = _chunkEWPR7662cjs.useAssistantRuntime.call(void 0, );
|
|
2686
2686
|
const base = assistantAvailable(assistant) ? assistant.askPromptsUrl : void 0;
|
|
2687
2687
|
const url = base && enabled ? buildAskPromptsUrl(base, { count, topic, exclude }) : null;
|
|
2688
|
-
const { data, dataUrl, error } =
|
|
2688
|
+
const { data, dataUrl, error } = _chunkYRE3O65Ecjs.useSelfFetch.call(void 0, url);
|
|
2689
2689
|
const landed = url !== null && (dataUrl === url || error);
|
|
2690
2690
|
return { prompts: landed ? _nullishCoalesce(_optionalChain([data, 'optionalAccess', _88 => _88.prompts]), () => ( [])) : [], isLoading: !!base && !landed, supported: !!base };
|
|
2691
2691
|
}
|
|
@@ -2887,7 +2887,7 @@ function QuickActionMarquee({
|
|
|
2887
2887
|
);
|
|
2888
2888
|
if (items.length === 0) return null;
|
|
2889
2889
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2890
|
-
|
|
2890
|
+
_chunkBV5WZVOPcjs.QuickActionWall,
|
|
2891
2891
|
{
|
|
2892
2892
|
chips,
|
|
2893
2893
|
mode,
|
|
@@ -2936,13 +2936,13 @@ var ChatTicketItem = _react.forwardRef.call(void 0,
|
|
|
2936
2936
|
);
|
|
2937
2937
|
}
|
|
2938
2938
|
if (!ticket) return null;
|
|
2939
|
-
const statusTagProps =
|
|
2939
|
+
const statusTagProps = _chunkGABDE3FMcjs.resolveStatusTagProps.call(void 0, {
|
|
2940
2940
|
status: ticket.status,
|
|
2941
2941
|
statusKind: ticket.statusKind,
|
|
2942
2942
|
statusName: ticket.statusLabel,
|
|
2943
2943
|
statusColor: ticket.statusColor
|
|
2944
2944
|
});
|
|
2945
|
-
const isResolved = ticket.statusKind === "RESOLVED" ||
|
|
2945
|
+
const isResolved = ticket.statusKind === "RESOLVED" || _chunkGABDE3FMcjs.resolveTicketStatus.call(void 0, ticket.status) === "RESOLVED";
|
|
2946
2946
|
const composedSubtitle = [ticket.ticketNumber, ticket.category, ticket.timeAgo].filter(Boolean).join(" \u2022 ");
|
|
2947
2947
|
const subtitle = _nullishCoalesce(ticket.subtitle, () => ( (ticket.unread ? UNREAD_NOTICE : composedSubtitle)));
|
|
2948
2948
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -2985,7 +2985,7 @@ var ChatTicketItem = _react.forwardRef.call(void 0,
|
|
|
2985
2985
|
)
|
|
2986
2986
|
] }),
|
|
2987
2987
|
ticket.linkedTaskLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2988
|
-
|
|
2988
|
+
_chunk7ZFCR7UYcjs.Tag,
|
|
2989
2989
|
{
|
|
2990
2990
|
label: ticket.linkedTaskLabel,
|
|
2991
2991
|
variant: "outline",
|
|
@@ -2993,7 +2993,7 @@ var ChatTicketItem = _react.forwardRef.call(void 0,
|
|
|
2993
2993
|
className: "hidden shrink-0 sm:inline-flex"
|
|
2994
2994
|
}
|
|
2995
2995
|
),
|
|
2996
|
-
(statusTagProps.status || statusTagProps.label) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2996
|
+
(statusTagProps.status || statusTagProps.label) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGABDE3FMcjs.TicketStatusTag, { ...statusTagProps }),
|
|
2997
2997
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2998
2998
|
"div",
|
|
2999
2999
|
{
|
|
@@ -3021,7 +3021,7 @@ ChatTicketItem.displayName = "ChatTicketItem";
|
|
|
3021
3021
|
|
|
3022
3022
|
var ChatTicketList = _react.forwardRef.call(void 0,
|
|
3023
3023
|
({ className, tickets, onTicketClick, isLoading = false, skeletonCount = 5, ...props }, ref) => {
|
|
3024
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
3024
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkBV5WZVOPcjs.useScrollFade.call(void 0, );
|
|
3025
3025
|
if (isLoading) {
|
|
3026
3026
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, className: _chunk3ATAYP36cjs.cn.call(void 0, "flex min-h-0 flex-col gap-2", className), ...props, children: [
|
|
3027
3027
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "shrink-0 text-ods-text-secondary text-h5", children: "Your Chats:" }),
|
|
@@ -3041,8 +3041,8 @@ var ChatTicketList = _react.forwardRef.call(void 0,
|
|
|
3041
3041
|
),
|
|
3042
3042
|
children: [
|
|
3043
3043
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: scrollRef, className: "h-full overflow-y-auto overscroll-contain", onScroll: updateFade, children: tickets.map((ticket) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatTicketItem, { ticket, onClick: onTicketClick }, ticket.id)) }),
|
|
3044
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3045
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3044
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBV5WZVOPcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
3045
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBV5WZVOPcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
3046
3046
|
]
|
|
3047
3047
|
}
|
|
3048
3048
|
)
|
|
@@ -3119,7 +3119,7 @@ var DialogListItem = _react.forwardRef.call(void 0,
|
|
|
3119
3119
|
_optionalChain([onClick, 'optionalCall', _107 => _107(e)]);
|
|
3120
3120
|
};
|
|
3121
3121
|
const formatTimestamp = (timestamp) => {
|
|
3122
|
-
return
|
|
3122
|
+
return _chunk7ZFCR7UYcjs.formatDateWithTimezone.call(void 0, timestamp, _chunk7ZFCR7UYcjs.VIEWER_TIMEZONE, "numericDateTime24h");
|
|
3123
3123
|
};
|
|
3124
3124
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3125
3125
|
"div",
|
|
@@ -3299,7 +3299,7 @@ var ChatTopNavigation = _react.forwardRef.call(void 0,
|
|
|
3299
3299
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5M5C6UV4cjs.Skeleton, { className: "h-4 w-32" })
|
|
3300
3300
|
] })
|
|
3301
3301
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3302
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3302
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7ZFCR7UYcjs.SquareAvatar, { src: _nullishCoalesce(avatarUrl, () => ( void 0)), alt: name, fallback: name, size: "md", variant: "round" }),
|
|
3303
3303
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
3304
3304
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h3", children: name }),
|
|
3305
3305
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: subtitle })
|
|
@@ -3466,7 +3466,7 @@ function parseChannelFromUrl(url) {
|
|
|
3466
3466
|
}
|
|
3467
3467
|
function SlackMessageCard({ item, variant = "compact", className, anchorProps }) {
|
|
3468
3468
|
const channel = _nullishCoalesce(_nullishCoalesce(item.channel, () => ( parseChannelFromUrl(item.url))), () => ( null));
|
|
3469
|
-
const dateText =
|
|
3469
|
+
const dateText = _chunk7ZFCR7UYcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
3470
3470
|
if (variant === "row") {
|
|
3471
3471
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
3472
3472
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOWDRZM73cjs.SlackIcon, { className: "h-3.5 w-3.5 shrink-0" }),
|
|
@@ -3492,23 +3492,23 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
3492
3492
|
metaParts.push(
|
|
3493
3493
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
3494
3494
|
);
|
|
3495
|
-
const href =
|
|
3495
|
+
const href = _chunkYXKB5WREcjs.safeHref.call(void 0, item.url);
|
|
3496
3496
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3497
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3498
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3499
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3500
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3501
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3497
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYXKB5WREcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOWDRZM73cjs.SlackIcon, { className: "h-5 w-5" }) }),
|
|
3498
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkYXKB5WREcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3499
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYXKB5WREcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYXKB5WREcjs.COMPACT_CARD_TITLE, children: item.title }) }),
|
|
3500
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYXKB5WREcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYXKB5WREcjs.COMPACT_CARD_SUMMARY, children: item.preview || _chunkYXKB5WREcjs.COMPACT_CARD_ROW_FILLER }) }),
|
|
3501
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYXKB5WREcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYXKB5WREcjs.COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
3502
3502
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
3503
3503
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
3504
|
-
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3504
|
+
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYXKB5WREcjs.COMPACT_CARD_SUMMARY, children: _chunkYXKB5WREcjs.COMPACT_CARD_ROW_FILLER }) }) })
|
|
3505
3505
|
] }),
|
|
3506
3506
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
|
|
3507
3507
|
] });
|
|
3508
3508
|
if (anchorProps) {
|
|
3509
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
3509
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkYXKB5WREcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
3510
3510
|
}
|
|
3511
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
3511
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkYXKB5WREcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkYXKB5WREcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
3512
3512
|
}
|
|
3513
3513
|
function SlackMessageCardSkeleton({
|
|
3514
3514
|
variant = "compact",
|
|
@@ -3523,12 +3523,12 @@ function SlackMessageCardSkeleton({
|
|
|
3523
3523
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
3524
3524
|
] });
|
|
3525
3525
|
}
|
|
3526
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
3527
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3528
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3529
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3530
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3531
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3526
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkYXKB5WREcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
3527
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYXKB5WREcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
3528
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkYXKB5WREcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3529
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYXKB5WREcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
3530
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYXKB5WREcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-5/6 rounded bg-ods-bg/60" }) }),
|
|
3531
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYXKB5WREcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
3532
3532
|
] }),
|
|
3533
3533
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
3534
3534
|
] });
|
|
@@ -3559,12 +3559,12 @@ function statusScheme(status) {
|
|
|
3559
3559
|
function HubspotTicketCard({ item, variant = "compact", className, anchorProps }) {
|
|
3560
3560
|
const statusText = _nullishCoalesce(item.statusLabel, () => ( formatToken(item.status)));
|
|
3561
3561
|
const priorityText = formatToken(item.priority);
|
|
3562
|
-
const dateText =
|
|
3562
|
+
const dateText = _chunk7ZFCR7UYcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
3563
3563
|
if (variant === "row") {
|
|
3564
3564
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
3565
3565
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "max-w-[260px] shrink-0 truncate text-ods-text-primary text-h6", children: item.title }),
|
|
3566
3566
|
item.preview ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1 truncate text-ods-text-secondary text-h6", children: item.preview }) : null,
|
|
3567
|
-
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3567
|
+
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYXKB5WREcjs.StatusBadge, { text: statusText, variant: "button", colorScheme: statusScheme(item.status) }) : null,
|
|
3568
3568
|
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "w-24 shrink-0 text-right text-ods-text-secondary text-h6", children: dateText }) : null
|
|
3569
3569
|
] });
|
|
3570
3570
|
}
|
|
@@ -3578,13 +3578,13 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3578
3578
|
metaParts.push(
|
|
3579
3579
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
3580
3580
|
);
|
|
3581
|
-
const href =
|
|
3581
|
+
const href = _chunkYXKB5WREcjs.safeHref.call(void 0, item.url);
|
|
3582
3582
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3583
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3583
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkYXKB5WREcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3584
3584
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
3585
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3585
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkYXKB5WREcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
3586
3586
|
priorityText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3587
|
-
|
|
3587
|
+
_chunkYXKB5WREcjs.StatusBadge,
|
|
3588
3588
|
{
|
|
3589
3589
|
text: priorityText,
|
|
3590
3590
|
variant: "button",
|
|
@@ -3593,7 +3593,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3593
3593
|
}
|
|
3594
3594
|
) : null,
|
|
3595
3595
|
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3596
|
-
|
|
3596
|
+
_chunkYXKB5WREcjs.StatusBadge,
|
|
3597
3597
|
{
|
|
3598
3598
|
text: statusText,
|
|
3599
3599
|
variant: "button",
|
|
@@ -3607,7 +3607,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3607
3607
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: item.customerEmail })
|
|
3608
3608
|
] }) : null,
|
|
3609
3609
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-4 whitespace-pre-wrap break-words text-ods-text-secondary text-h6", children: item.preview || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "italic text-ods-text-secondary/60", children: "No description provided." }) }) }),
|
|
3610
|
-
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3610
|
+
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYXKB5WREcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYXKB5WREcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
3611
3611
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
3612
3612
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
3613
3613
|
] }, i)) }) }) : null
|
|
@@ -3615,9 +3615,9 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3615
3615
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
|
|
3616
3616
|
] });
|
|
3617
3617
|
if (anchorProps) {
|
|
3618
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
3618
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkYXKB5WREcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
3619
3619
|
}
|
|
3620
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
3620
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkYXKB5WREcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkYXKB5WREcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
3621
3621
|
}
|
|
3622
3622
|
function HubspotTicketCardSkeleton({
|
|
3623
3623
|
variant = "compact",
|
|
@@ -3631,8 +3631,8 @@ function HubspotTicketCardSkeleton({
|
|
|
3631
3631
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
3632
3632
|
] });
|
|
3633
3633
|
}
|
|
3634
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
3635
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3634
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkYXKB5WREcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
3635
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkYXKB5WREcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3636
3636
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
3637
3637
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
3638
3638
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-12 rounded-full bg-ods-bg/60" }),
|
|
@@ -3645,7 +3645,7 @@ function HubspotTicketCardSkeleton({
|
|
|
3645
3645
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-3/4 rounded bg-ods-bg/60" }),
|
|
3646
3646
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-2/5 rounded bg-ods-bg/60" })
|
|
3647
3647
|
] }),
|
|
3648
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3648
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYXKB5WREcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
3649
3649
|
] }),
|
|
3650
3650
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
3651
3651
|
] });
|
|
@@ -3656,10 +3656,10 @@ function HubspotTicketCardSkeleton({
|
|
|
3656
3656
|
|
|
3657
3657
|
function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
3658
3658
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3659
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3659
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkYXKB5WREcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3660
3660
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
3661
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3662
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3661
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkYXKB5WREcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
3662
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYXKB5WREcjs.StatusBadge, { text: badgeText, variant: "button", colorScheme: "cyan", className: "shrink-0" })
|
|
3663
3663
|
] }),
|
|
3664
3664
|
item.path ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1 text-ods-text-secondary text-h6", children: [
|
|
3665
3665
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/70", children: "Path:" }),
|
|
@@ -3670,13 +3670,13 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
|
3670
3670
|
_optionalChain([anchorProps, 'optionalAccess', _112 => _112.href]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
|
|
3671
3671
|
] });
|
|
3672
3672
|
if (!anchorProps) {
|
|
3673
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3673
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkYXKB5WREcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
3674
3674
|
}
|
|
3675
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
3675
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkYXKB5WREcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
3676
3676
|
}
|
|
3677
3677
|
function DataRoomDocCardSkeleton({ className }) {
|
|
3678
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
3679
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3678
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkYXKB5WREcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
3679
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkYXKB5WREcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3680
3680
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
3681
3681
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
3682
3682
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -3695,14 +3695,14 @@ function DataRoomDocCardSkeleton({ className }) {
|
|
|
3695
3695
|
|
|
3696
3696
|
|
|
3697
3697
|
function GenericEntityCard({ item, className, anchorProps }) {
|
|
3698
|
-
const href =
|
|
3699
|
-
const dateText =
|
|
3698
|
+
const href = _chunkYXKB5WREcjs.safeHref.call(void 0, item.url);
|
|
3699
|
+
const dateText = _chunk7ZFCR7UYcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
3700
3700
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3701
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3701
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkYXKB5WREcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3702
3702
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
3703
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3703
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkYXKB5WREcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
3704
3704
|
item.badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3705
|
-
|
|
3705
|
+
_chunkYXKB5WREcjs.StatusBadge,
|
|
3706
3706
|
{
|
|
3707
3707
|
text: item.badge.text,
|
|
3708
3708
|
variant: "button",
|
|
@@ -3720,18 +3720,18 @@ function GenericEntityCard({ item, className, anchorProps }) {
|
|
|
3720
3720
|
] }),
|
|
3721
3721
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate font-medium text-ods-text-primary", children: f.value })
|
|
3722
3722
|
] }, i)) }) : null,
|
|
3723
|
-
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3723
|
+
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYXKB5WREcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYXKB5WREcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }) }) }) : null
|
|
3724
3724
|
] }),
|
|
3725
3725
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
|
|
3726
3726
|
] });
|
|
3727
3727
|
if (anchorProps) {
|
|
3728
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
3728
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkYXKB5WREcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
3729
3729
|
}
|
|
3730
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, className: `${
|
|
3730
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, className: `${_chunkYXKB5WREcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkYXKB5WREcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
3731
3731
|
}
|
|
3732
3732
|
function GenericEntityCardSkeleton({ className }) {
|
|
3733
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
3734
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3733
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkYXKB5WREcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
3734
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkYXKB5WREcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3735
3735
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
3736
3736
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
3737
3737
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -4813,7 +4813,7 @@ function InfoHint({ children, label, side = "top", className }) {
|
|
|
4813
4813
|
const describedById = _react.useId.call(void 0, );
|
|
4814
4814
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "inline-flex shrink-0 items-center", className), children: [
|
|
4815
4815
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4816
|
-
|
|
4816
|
+
_chunk7ZFCR7UYcjs.FloatingTooltip,
|
|
4817
4817
|
{
|
|
4818
4818
|
content: children,
|
|
4819
4819
|
side,
|
|
@@ -4931,7 +4931,7 @@ function Section({ title, description, children }) {
|
|
|
4931
4931
|
] });
|
|
4932
4932
|
}
|
|
4933
4933
|
function ProxyCredentialsPanel({ description }) {
|
|
4934
|
-
const hydrated =
|
|
4934
|
+
const hydrated = _chunkBV5WZVOPcjs.useIsHydrated.call(void 0, );
|
|
4935
4935
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4936
4936
|
ProxyCredentialsForm,
|
|
4937
4937
|
{
|
|
@@ -4992,13 +4992,13 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
4992
4992
|
setStatus("Cleared. Requests use the session again.");
|
|
4993
4993
|
};
|
|
4994
4994
|
const setField = (field, value) => setOptional((prev) => ({ ...prev, [field]: value }));
|
|
4995
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4995
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYXKB5WREcjs.Card, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYXKB5WREcjs.CardContent, { className: "space-y-[var(--spacing-system-lf)] p-[var(--spacing-system-mf)]", children: [
|
|
4996
4996
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "header", { className: "flex flex-col gap-[var(--spacing-system-sf)] sm:flex-row sm:items-start sm:justify-between", children: [
|
|
4997
4997
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
4998
4998
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h3", children: "Proxy credentials" }),
|
|
4999
4999
|
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: description })
|
|
5000
5000
|
] }),
|
|
5001
|
-
activeEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5001
|
+
activeEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYXKB5WREcjs.StatusBadge, { singleLine: true, colorScheme: "success", text: `Active: ${activeEmail}` }) })
|
|
5002
5002
|
] }),
|
|
5003
5003
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5004
5004
|
Section,
|
|
@@ -5095,10 +5095,10 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
5095
5095
|
|
|
5096
5096
|
// src/components/chat/index.ts
|
|
5097
5097
|
var LoadedEmbeddableChat = _react.lazy.call(void 0,
|
|
5098
|
-
() => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-
|
|
5098
|
+
() => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-6JKKFQEB.cjs"))).then((module) => ({ default: module.EmbeddableChat }))
|
|
5099
5099
|
);
|
|
5100
5100
|
var EmbeddableChat = _react.forwardRef.call(void 0, (props, ref) => {
|
|
5101
|
-
_react.useEffect.call(void 0, () =>
|
|
5101
|
+
_react.useEffect.call(void 0, () => _chunkBV5WZVOPcjs.holdAskAiOpens.call(void 0, ), []);
|
|
5102
5102
|
return _react.createElement.call(void 0, _react.Suspense, { fallback: null }, _react.createElement.call(void 0, LoadedEmbeddableChat, { ...props, ref }));
|
|
5103
5103
|
});
|
|
5104
5104
|
EmbeddableChat.displayName = "EmbeddableChat";
|