@flamingo-stack/openframe-frontend-core 0.0.761 → 0.0.763
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/build/export-map.json +1 -1
- package/dist/{chunk-7Z4EQOIX.cjs → chunk-22XAPV6N.cjs} +35 -35
- package/dist/{chunk-AXBVN5SW.cjs → chunk-2IFCRPNP.cjs} +38 -38
- package/dist/{chunk-TIV74DVS.cjs → chunk-3JUIDOHB.cjs} +43 -43
- package/dist/{chunk-CSJO7ZGN.cjs → chunk-3RYIF4OW.cjs} +3 -3
- package/dist/{chunk-35BJY5RR.cjs → chunk-47GZ33ND.cjs} +44 -44
- package/dist/{chunk-HQYWVNQL.cjs → chunk-4NGXJA3V.cjs} +4 -4
- package/dist/{chunk-GLQBCQOF.cjs → chunk-66FQUWKF.cjs} +59 -59
- package/dist/{chunk-LOM3S64Z.cjs → chunk-6XCE2VLH.cjs} +8 -8
- package/dist/{chunk-B7AOUPBV.cjs → chunk-AXGTRPF6.cjs} +20 -20
- package/dist/{chunk-6T6O36LT.cjs → chunk-CEJDHCFZ.cjs} +89 -89
- package/dist/{chunk-2ANICXS7.cjs → chunk-E4LA4BEH.cjs} +21 -21
- package/dist/{chunk-JHQNUWFM.cjs → chunk-EQZXJUYV.cjs} +3 -3
- package/dist/{chunk-LU7TD6QS.cjs → chunk-FQSXZC2K.cjs} +3 -3
- package/dist/{chunk-GKRHGVB4.cjs → chunk-G5NCY5IE.cjs} +100 -100
- package/dist/{chunk-QU5K52OP.cjs → chunk-GY2JESOC.cjs} +2 -2
- package/dist/{chunk-LOFDIDSD.cjs → chunk-GZKWF6NH.cjs} +9 -9
- package/dist/{chunk-NOFJH7MA.cjs → chunk-IJMPXTGV.cjs} +14 -14
- package/dist/{chunk-4EM7HIIM.cjs → chunk-IUIDZS6W.cjs} +574 -567
- package/dist/{chunk-VAZTFCVY.cjs → chunk-J4P47JHM.cjs} +20 -20
- package/dist/{chunk-G6IK3HC5.cjs → chunk-LUNXHJ53.cjs} +32 -32
- package/dist/{chunk-WBOHLXFC.cjs → chunk-LVKUMVUJ.cjs} +2 -2
- package/dist/{chunk-L2IQESTQ.cjs → chunk-M7YZGRAV.cjs} +2 -2
- package/dist/{chunk-R34JD6NP.cjs → chunk-MWLD6NXV.cjs} +3 -3
- package/dist/{chunk-W2RM764D.cjs → chunk-NET74KSQ.cjs} +5 -4
- package/dist/{chunk-B27XV2TC.cjs → chunk-NS64LMVE.cjs} +10 -10
- package/dist/{chunk-OBXZDUC3.cjs → chunk-O2VRIGDI.cjs} +83 -83
- package/dist/{chunk-QYLIHZKZ.cjs → chunk-OJJ4RL2T.cjs} +4 -4
- package/dist/{chunk-F64VMOIB.cjs → chunk-PE26VSWT.cjs} +19 -19
- package/dist/{chunk-D252ICCO.cjs → chunk-QCO32MEE.cjs} +17 -17
- package/dist/{chunk-KTPR66EE.cjs → chunk-R3TWQ3ZJ.cjs} +10 -0
- package/dist/{chunk-VUSXDMCE.cjs → chunk-RM6AHNM4.cjs} +7 -7
- package/dist/{chunk-T4BBZ5ST.cjs → chunk-RO72PRQI.cjs} +2 -2
- package/dist/{chunk-H45OTVYI.cjs → chunk-SU3EXXVC.cjs} +22 -22
- package/dist/{chunk-WI2OTGKC.cjs → chunk-SVP6DJFL.cjs} +2 -2
- package/dist/{chunk-SUHPBFNU.cjs → chunk-TQPQKBBL.cjs} +242 -240
- package/dist/{chunk-5E6JHOGX.cjs → chunk-TSJUL6IH.cjs} +3 -3
- package/dist/{chunk-EMSOBT6R.cjs → chunk-UUBHKQOH.cjs} +6 -6
- package/dist/{chunk-VUWPLQBY.cjs → chunk-XCH7SPGI.cjs} +44 -44
- package/dist/{chunk-6M54EVOA.cjs → chunk-ZUF5WDGE.cjs} +28 -28
- package/dist/{cloud-tenants-BDGV4N2T.cjs → cloud-tenants-4AGSRBJ2.cjs} +22 -22
- package/dist/components/case-studies/index.cjs +36 -36
- package/dist/components/chat/index.cjs +15 -15
- package/dist/components/contact/index.cjs +23 -23
- package/dist/components/docs/index.cjs +26 -26
- package/dist/components/embeds/index.cjs +23 -23
- package/dist/components/faq/index.cjs +24 -24
- package/dist/components/features/index.cjs +24 -22
- package/dist/components/features/walkthrough-video.d.ts +7 -0
- package/dist/components/features/walkthrough-video.d.ts.map +1 -1
- package/dist/components/features/walkthrough-video.js +9 -1
- package/dist/components/help-center-pages/index.cjs +125 -125
- package/dist/components/index.cjs +85 -83
- package/dist/components/meeting-scheduler/index.cjs +77 -77
- package/dist/components/navigation/index.cjs +25 -25
- package/dist/components/onboarding-guides/index.cjs +25 -25
- package/dist/components/product-demo/index.cjs +9 -9
- package/dist/components/related-content/index.cjs +10 -10
- package/dist/components/tickets/index.cjs +28 -28
- package/dist/components/ui/index.cjs +22 -22
- package/dist/{devices-Q5YHMXGV.cjs → devices-FKRZIBJP.cjs} +23 -23
- package/dist/{embeddable-chat-ST5IR6VN.cjs → embeddable-chat-HWQSP3DY.cjs} +93 -93
- package/dist/hooks/index.cjs +8 -8
- package/dist/index.cjs +30 -28
- package/dist/{knowledge-UJTJT36J.cjs → knowledge-25CBYZ7E.cjs} +23 -23
- package/dist/{logs-WMNITBLM.cjs → logs-HQ7NDBVV.cjs} +30 -30
- package/dist/platform-domains.cjs +2 -0
- package/dist/platform-domains.d.ts.map +1 -1
- package/dist/platform-domains.js +2 -0
- package/dist/{policies-TRXVBOH7.cjs → policies-2RV2CQD3.cjs} +26 -26
- package/dist/{remote-session-SKNXYG6K.cjs → remote-session-F72S6I7J.cjs} +9 -9
- package/dist/{scripts-HECY7XDL.cjs → scripts-32EM4WDI.cjs} +29 -29
- package/dist/{software-update-NNFLEMYD.cjs → software-update-WVIARIUG.cjs} +26 -26
- package/dist/{tickets-board-B2FH7Z4B.cjs → tickets-board-4PBXPSGJ.cjs} +12 -12
- package/dist/types/platform.d.ts +1 -1
- package/dist/types/platform.d.ts.map +1 -1
- package/dist/utils/index.cjs +13 -0
- package/dist/utils/platform-config.d.ts.map +1 -1
- package/dist/utils/platform-config.js +1 -0
- package/dist/utils/platform-identity.cjs +10 -0
- package/dist/utils/platform-identity.d.ts +3 -2
- package/dist/utils/platform-identity.d.ts.map +1 -1
- package/dist/utils/platform-identity.js +10 -0
- package/package.json +1 -1
- package/src/components/features/walkthrough-video.tsx +17 -0
- package/src/platform-domains.ts +2 -0
- package/src/styles/README.md +1 -0
- package/src/styles/ods-colors.css +16 -0
- package/src/types/platform.ts +1 -0
- package/src/utils/platform-config.tsx +1 -0
- package/src/utils/platform-identity.ts +19 -2
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkTQPQKBBLcjs = require('./chunk-TQPQKBBL.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkPE26VSWTcjs = require('./chunk-PE26VSWT.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
var _chunkSXGDKNVEcjs = require('./chunk-SXGDKNVE.cjs');
|
|
@@ -84,13 +84,13 @@ var _chunkBFMRU3R6cjs = require('./chunk-BFMRU3R6.cjs');
|
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
|
|
87
|
-
var
|
|
87
|
+
var _chunkNET74KSQcjs = require('./chunk-NET74KSQ.cjs');
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
|
|
91
91
|
|
|
92
92
|
|
|
93
|
-
var
|
|
93
|
+
var _chunk3RYIF4OWcjs = require('./chunk-3RYIF4OW.cjs');
|
|
94
94
|
|
|
95
95
|
|
|
96
96
|
var _chunkJKX2C3I2cjs = require('./chunk-JKX2C3I2.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 _chunkNS64LMVEcjs = require('./chunk-NS64LMVE.cjs');
|
|
104
104
|
|
|
105
105
|
|
|
106
106
|
|
|
@@ -120,7 +120,7 @@ var _chunkB27XV2TCcjs = require('./chunk-B27XV2TC.cjs');
|
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
|
|
123
|
-
var
|
|
123
|
+
var _chunk22XAPV6Ncjs = require('./chunk-22XAPV6N.cjs');
|
|
124
124
|
|
|
125
125
|
|
|
126
126
|
|
|
@@ -129,7 +129,7 @@ var _chunk7Z4EQOIXcjs = require('./chunk-7Z4EQOIX.cjs');
|
|
|
129
129
|
|
|
130
130
|
|
|
131
131
|
|
|
132
|
-
var
|
|
132
|
+
var _chunkEQZXJUYVcjs = require('./chunk-EQZXJUYV.cjs');
|
|
133
133
|
|
|
134
134
|
|
|
135
135
|
|
|
@@ -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(_chunk22XAPV6Ncjs.getProxiedImageUrl.call(void 0, _nullishCoalesce(url, () => ( "")), {
|
|
183
183
|
proxyPrefix: r.endpoints.imageProxyUrlPrefix,
|
|
184
184
|
skipDomains: r.endpoints.imageProxySkipDomains,
|
|
185
185
|
directHttps: true
|
|
@@ -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: _chunkEQZXJUYVcjs.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 }),
|
|
@@ -827,7 +827,7 @@ function isOSPlatform(deviceOS, targetPlatform) {
|
|
|
827
827
|
// src/utils/mobile-app.ts
|
|
828
828
|
var DOWNLOAD_PAGE_PATH = "/download";
|
|
829
829
|
function resolveMobileStoreUrl(links, userAgent, maxTouchPoints) {
|
|
830
|
-
const os =
|
|
830
|
+
const os = _chunkNET74KSQcjs.detectVisitorOs.call(void 0, userAgent, { maxTouchPoints });
|
|
831
831
|
if (os === "ios") return links.appStoreUrl;
|
|
832
832
|
if (os === "android") return links.googlePlayUrl;
|
|
833
833
|
return null;
|
|
@@ -1903,7 +1903,7 @@ function lastPathSegment(url) {
|
|
|
1903
1903
|
function makeComposeContentUrl(opts) {
|
|
1904
1904
|
const suffixes = _nullishCoalesce(opts.suffixes, () => ( DEFAULT_CONTENT_SUFFIXES));
|
|
1905
1905
|
return ({ type: rawType, identifier, slug: slugHint, externalUrl, targetPlatform, platforms }) => {
|
|
1906
|
-
const type =
|
|
1906
|
+
const type = _chunk22XAPV6Ncjs.canonicalContentRefType.call(void 0, rawType);
|
|
1907
1907
|
const override = opts.overrides && Object.prototype.hasOwnProperty.call(opts.overrides, type) ? opts.overrides[type] : void 0;
|
|
1908
1908
|
if (override) return { ...override(identifier), hostOverride: true };
|
|
1909
1909
|
const seg = _nullishCoalesce((Object.prototype.hasOwnProperty.call(suffixes, type) ? suffixes[type] : void 0), () => ( type));
|
|
@@ -1914,8 +1914,8 @@ function makeComposeContentUrl(opts) {
|
|
|
1914
1914
|
}
|
|
1915
1915
|
if (externalUrl) return { href: externalUrl, targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)) };
|
|
1916
1916
|
const claimedOwner = _nullishCoalesce(targetPlatform, () => ( primaryPlatformOf(platforms)));
|
|
1917
|
-
const owner = claimedOwner &&
|
|
1918
|
-
const origin = owner ?
|
|
1917
|
+
const owner = claimedOwner && _chunkTQPQKBBLcjs.byKey.call(void 0, claimedOwner) ? claimedOwner : null;
|
|
1918
|
+
const origin = owner ? _chunkTQPQKBBLcjs.getPlatformProductionUrl.call(void 0, owner) : opts.contentOrigin;
|
|
1919
1919
|
return {
|
|
1920
1920
|
href: `${origin.replace(/\/+$/, "")}/${seg}/${_optionalChain([slugHint, 'optionalAccess', _70 => _70.trim, 'call', _71 => _71()]) || identifier}`,
|
|
1921
1921
|
// Report the owner so `decideNewTab` can compare it against the current
|
|
@@ -2087,8 +2087,8 @@ var DEFAULT_OPTIONS = {
|
|
|
2087
2087
|
function extractSections(markdown, options = {}) {
|
|
2088
2088
|
const opts = { ...DEFAULT_OPTIONS, ...options };
|
|
2089
2089
|
const sections = [];
|
|
2090
|
-
const dedupe =
|
|
2091
|
-
const scanned =
|
|
2090
|
+
const dedupe = _chunk3RYIF4OWcjs.createHeadingIdDeduper.call(void 0, );
|
|
2091
|
+
const scanned = _chunk3RYIF4OWcjs.scanHeadings.call(void 0, markdown, {
|
|
2092
2092
|
skipFrontmatter: opts.skipCodeAndYamlBlocks,
|
|
2093
2093
|
skipFences: opts.skipCodeAndYamlBlocks
|
|
2094
2094
|
});
|
|
@@ -2096,9 +2096,9 @@ function extractSections(markdown, options = {}) {
|
|
|
2096
2096
|
if (heading.level > opts.maxLevel) continue;
|
|
2097
2097
|
let title = heading.text;
|
|
2098
2098
|
if (opts.stripFormattingMarkers) {
|
|
2099
|
-
title =
|
|
2099
|
+
title = _chunkTQPQKBBLcjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
2100
2100
|
}
|
|
2101
|
-
const baseId =
|
|
2101
|
+
const baseId = _chunk3RYIF4OWcjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunk3RYIF4OWcjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
2102
2102
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
2103
2103
|
sections.push({
|
|
2104
2104
|
id: opts.handleDuplicateIds ? dedupe(cleanId) : cleanId,
|
|
@@ -2411,7 +2411,7 @@ function demoClockTimes(seed, options = {}) {
|
|
|
2411
2411
|
function openAskAi(source, options) {
|
|
2412
2412
|
const prompt = _optionalChain([options, 'optionalAccess', _78 => _78.prompt, 'optionalAccess', _79 => _79.trim, 'call', _80 => _80()]);
|
|
2413
2413
|
const detail = prompt ? { source: _nullishCoalesce(source, () => ( "")), prompt } : { source: _nullishCoalesce(source, () => ( "")) };
|
|
2414
|
-
window.dispatchEvent(new CustomEvent(
|
|
2414
|
+
window.dispatchEvent(new CustomEvent(_chunkTQPQKBBLcjs.ASK_AI_OPEN_EVENT, { detail }));
|
|
2415
2415
|
}
|
|
2416
2416
|
function MingoAiButton({
|
|
2417
2417
|
source,
|
|
@@ -2423,10 +2423,10 @@ function MingoAiButton({
|
|
|
2423
2423
|
onClick,
|
|
2424
2424
|
...props
|
|
2425
2425
|
}) {
|
|
2426
|
-
const visitor =
|
|
2426
|
+
const visitor = _chunkNET74KSQcjs.useVisitorOs.call(void 0, );
|
|
2427
2427
|
const field = variant === "field";
|
|
2428
2428
|
const inPage = variant === "button";
|
|
2429
|
-
const commandKey = visitor.known &&
|
|
2429
|
+
const commandKey = visitor.known && _chunkNET74KSQcjs.usesCommandKey.call(void 0, visitor.os);
|
|
2430
2430
|
const assistant = _chunkEWPR7662cjs.useAssistantRuntime.call(void 0, );
|
|
2431
2431
|
const label = _nullishCoalesce(labelProp, () => ( _optionalChain([assistant, 'optionalAccess', _81 => _81.name])));
|
|
2432
2432
|
const icon = _nullishCoalesce(iconProp, () => ( _optionalChain([assistant, 'optionalAccess', _82 => _82.icon])));
|
|
@@ -2499,7 +2499,7 @@ function MingoAiButton({
|
|
|
2499
2499
|
children: icon
|
|
2500
2500
|
}
|
|
2501
2501
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2502
|
-
|
|
2502
|
+
_chunkPE26VSWTcjs.AgentMark,
|
|
2503
2503
|
{
|
|
2504
2504
|
agent: "mingo",
|
|
2505
2505
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "relative shrink-0 text-ods-text-primary", field ? "size-6" : "size-5")
|
|
@@ -2526,7 +2526,7 @@ function MingoAiButton({
|
|
|
2526
2526
|
"relative h-6 min-w-9 items-center justify-center rounded border border-ods-border px-[var(--spacing-system-xxs)] text-h6",
|
|
2527
2527
|
inPage ? "inline-flex" : "hidden lg:inline-flex"
|
|
2528
2528
|
),
|
|
2529
|
-
children: visitor.known ?
|
|
2529
|
+
children: visitor.known ? _chunkNET74KSQcjs.shortcutLabel.call(void 0, visitor.os, "K") : ""
|
|
2530
2530
|
}
|
|
2531
2531
|
)
|
|
2532
2532
|
]
|
|
@@ -2537,7 +2537,7 @@ function MingoAiButton({
|
|
|
2537
2537
|
// src/components/chat/ask-prompts.tsx
|
|
2538
2538
|
|
|
2539
2539
|
function AssistantGlyph({ icon, className }) {
|
|
2540
|
-
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,
|
|
2540
|
+
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, _chunkPE26VSWTcjs.AgentMark, { agent: "mingo", className: "size-full" }))) });
|
|
2541
2541
|
}
|
|
2542
2542
|
var DEFAULT_LOADING_SLOTS = 2;
|
|
2543
2543
|
var slotCount = (count, loading, prompts) => _nullishCoalesce(count, () => ( (loading ? DEFAULT_LOADING_SLOTS : prompts.length)));
|
|
@@ -2557,13 +2557,13 @@ function QuestionChips({
|
|
|
2557
2557
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: count }, (_, slot) => {
|
|
2558
2558
|
const prompt = loading ? void 0 : prompts[slot];
|
|
2559
2559
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _nullishCoalesce(slotClassName, () => ( CHIP_SLOT_CLASS)), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2560
|
-
|
|
2560
|
+
_chunkTQPQKBBLcjs.QuickActionChipSkeleton,
|
|
2561
2561
|
{
|
|
2562
2562
|
variant: "question",
|
|
2563
2563
|
labelCh: SKELETON_LABEL_CH[slot % SKELETON_LABEL_CH.length]
|
|
2564
2564
|
}
|
|
2565
2565
|
) : prompt ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2566
|
-
|
|
2566
|
+
_chunkTQPQKBBLcjs.QuickActionChipButton,
|
|
2567
2567
|
{
|
|
2568
2568
|
variant: "question",
|
|
2569
2569
|
label: prompt.label,
|
|
@@ -2595,7 +2595,7 @@ function AskPrompts({
|
|
|
2595
2595
|
if (!loading && prompts.length === 0) return null;
|
|
2596
2596
|
const end = align === "end";
|
|
2597
2597
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2598
|
-
|
|
2598
|
+
_chunkTQPQKBBLcjs.ScrollShadow,
|
|
2599
2599
|
{
|
|
2600
2600
|
axis: "horizontal",
|
|
2601
2601
|
color: fadeColor,
|
|
@@ -2697,7 +2697,7 @@ function useAskPrompts({
|
|
|
2697
2697
|
const assistant = _chunkEWPR7662cjs.useAssistantRuntime.call(void 0, );
|
|
2698
2698
|
const base = assistantAvailable(assistant) ? assistant.askPromptsUrl : void 0;
|
|
2699
2699
|
const url = base && enabled ? buildAskPromptsUrl(base, { count, topic, exclude }) : null;
|
|
2700
|
-
const { data, dataUrl, error } =
|
|
2700
|
+
const { data, dataUrl, error } = _chunkNS64LMVEcjs.useSelfFetch.call(void 0, url);
|
|
2701
2701
|
const landed = url !== null && (dataUrl === url || error);
|
|
2702
2702
|
return { prompts: landed ? _nullishCoalesce(_optionalChain([data, 'optionalAccess', _89 => _89.prompts]), () => ( [])) : [], isLoading: !!base && !landed, supported: !!base };
|
|
2703
2703
|
}
|
|
@@ -2899,7 +2899,7 @@ function QuickActionMarquee({
|
|
|
2899
2899
|
);
|
|
2900
2900
|
if (items.length === 0) return null;
|
|
2901
2901
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2902
|
-
|
|
2902
|
+
_chunkTQPQKBBLcjs.QuickActionWall,
|
|
2903
2903
|
{
|
|
2904
2904
|
chips,
|
|
2905
2905
|
mode,
|
|
@@ -2948,13 +2948,13 @@ var ChatTicketItem = _react.forwardRef.call(void 0,
|
|
|
2948
2948
|
);
|
|
2949
2949
|
}
|
|
2950
2950
|
if (!ticket) return null;
|
|
2951
|
-
const statusTagProps =
|
|
2951
|
+
const statusTagProps = _chunkPE26VSWTcjs.resolveStatusTagProps.call(void 0, {
|
|
2952
2952
|
status: ticket.status,
|
|
2953
2953
|
statusKind: ticket.statusKind,
|
|
2954
2954
|
statusName: ticket.statusLabel,
|
|
2955
2955
|
statusColor: ticket.statusColor
|
|
2956
2956
|
});
|
|
2957
|
-
const isResolved = ticket.statusKind === "RESOLVED" ||
|
|
2957
|
+
const isResolved = ticket.statusKind === "RESOLVED" || _chunkPE26VSWTcjs.resolveTicketStatus.call(void 0, ticket.status) === "RESOLVED";
|
|
2958
2958
|
const composedSubtitle = [ticket.ticketNumber, ticket.category, ticket.timeAgo].filter(Boolean).join(" \u2022 ");
|
|
2959
2959
|
const subtitle = _nullishCoalesce(ticket.subtitle, () => ( (ticket.unread ? UNREAD_NOTICE : composedSubtitle)));
|
|
2960
2960
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -2997,7 +2997,7 @@ var ChatTicketItem = _react.forwardRef.call(void 0,
|
|
|
2997
2997
|
)
|
|
2998
2998
|
] }),
|
|
2999
2999
|
ticket.linkedTaskLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3000
|
-
|
|
3000
|
+
_chunkEQZXJUYVcjs.Tag,
|
|
3001
3001
|
{
|
|
3002
3002
|
label: ticket.linkedTaskLabel,
|
|
3003
3003
|
variant: "outline",
|
|
@@ -3005,7 +3005,7 @@ var ChatTicketItem = _react.forwardRef.call(void 0,
|
|
|
3005
3005
|
className: "hidden shrink-0 sm:inline-flex"
|
|
3006
3006
|
}
|
|
3007
3007
|
),
|
|
3008
|
-
(statusTagProps.status || statusTagProps.label) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3008
|
+
(statusTagProps.status || statusTagProps.label) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPE26VSWTcjs.TicketStatusTag, { ...statusTagProps }),
|
|
3009
3009
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3010
3010
|
"div",
|
|
3011
3011
|
{
|
|
@@ -3033,7 +3033,7 @@ ChatTicketItem.displayName = "ChatTicketItem";
|
|
|
3033
3033
|
|
|
3034
3034
|
var ChatTicketList = _react.forwardRef.call(void 0,
|
|
3035
3035
|
({ className, tickets, onTicketClick, isLoading = false, skeletonCount = 5, ...props }, ref) => {
|
|
3036
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
3036
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkTQPQKBBLcjs.useScrollFade.call(void 0, );
|
|
3037
3037
|
if (isLoading) {
|
|
3038
3038
|
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: [
|
|
3039
3039
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "shrink-0 text-ods-text-secondary text-h5", children: "Your Chats:" }),
|
|
@@ -3053,8 +3053,8 @@ var ChatTicketList = _react.forwardRef.call(void 0,
|
|
|
3053
3053
|
),
|
|
3054
3054
|
children: [
|
|
3055
3055
|
/* @__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)) }),
|
|
3056
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3057
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3056
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTQPQKBBLcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
3057
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTQPQKBBLcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
3058
3058
|
]
|
|
3059
3059
|
}
|
|
3060
3060
|
)
|
|
@@ -3131,7 +3131,7 @@ var DialogListItem = _react.forwardRef.call(void 0,
|
|
|
3131
3131
|
_optionalChain([onClick, 'optionalCall', _108 => _108(e)]);
|
|
3132
3132
|
};
|
|
3133
3133
|
const formatTimestamp = (timestamp) => {
|
|
3134
|
-
return
|
|
3134
|
+
return _chunkEQZXJUYVcjs.formatDateWithTimezone.call(void 0, timestamp, _chunkEQZXJUYVcjs.VIEWER_TIMEZONE, "numericDateTime24h");
|
|
3135
3135
|
};
|
|
3136
3136
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3137
3137
|
"div",
|
|
@@ -3311,7 +3311,7 @@ var ChatTopNavigation = _react.forwardRef.call(void 0,
|
|
|
3311
3311
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-32" })
|
|
3312
3312
|
] })
|
|
3313
3313
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3314
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3314
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEQZXJUYVcjs.SquareAvatar, { src: _nullishCoalesce(avatarUrl, () => ( void 0)), alt: name, fallback: name, size: "md", variant: "round" }),
|
|
3315
3315
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
3316
3316
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h3", children: name }),
|
|
3317
3317
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: subtitle })
|
|
@@ -3478,7 +3478,7 @@ function parseChannelFromUrl(url) {
|
|
|
3478
3478
|
}
|
|
3479
3479
|
function SlackMessageCard({ item, variant = "compact", className, anchorProps }) {
|
|
3480
3480
|
const channel = _nullishCoalesce(_nullishCoalesce(item.channel, () => ( parseChannelFromUrl(item.url))), () => ( null));
|
|
3481
|
-
const dateText =
|
|
3481
|
+
const dateText = _chunkEQZXJUYVcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
3482
3482
|
if (variant === "row") {
|
|
3483
3483
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
3484
3484
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOWDRZM73cjs.SlackIcon, { className: "h-3.5 w-3.5 shrink-0" }),
|
|
@@ -3504,23 +3504,23 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
3504
3504
|
metaParts.push(
|
|
3505
3505
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
3506
3506
|
);
|
|
3507
|
-
const href =
|
|
3507
|
+
const href = _chunk22XAPV6Ncjs.safeHref.call(void 0, item.url);
|
|
3508
3508
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3509
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3510
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3511
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3512
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3513
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3509
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk22XAPV6Ncjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOWDRZM73cjs.SlackIcon, { className: "h-5 w-5" }) }),
|
|
3510
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk22XAPV6Ncjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3511
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk22XAPV6Ncjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk22XAPV6Ncjs.COMPACT_CARD_TITLE, children: item.title }) }),
|
|
3512
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk22XAPV6Ncjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk22XAPV6Ncjs.COMPACT_CARD_SUMMARY, children: item.preview || _chunk22XAPV6Ncjs.COMPACT_CARD_ROW_FILLER }) }),
|
|
3513
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk22XAPV6Ncjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk22XAPV6Ncjs.COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
3514
3514
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
3515
3515
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
3516
|
-
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3516
|
+
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk22XAPV6Ncjs.COMPACT_CARD_SUMMARY, children: _chunk22XAPV6Ncjs.COMPACT_CARD_ROW_FILLER }) }) })
|
|
3517
3517
|
] }),
|
|
3518
3518
|
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
|
|
3519
3519
|
] });
|
|
3520
3520
|
if (anchorProps) {
|
|
3521
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
3521
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunk22XAPV6Ncjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
3522
3522
|
}
|
|
3523
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
3523
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunk22XAPV6Ncjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk22XAPV6Ncjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
3524
3524
|
}
|
|
3525
3525
|
function SlackMessageCardSkeleton({
|
|
3526
3526
|
variant = "compact",
|
|
@@ -3535,12 +3535,12 @@ function SlackMessageCardSkeleton({
|
|
|
3535
3535
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-20 shrink-0 rounded" })
|
|
3536
3536
|
] });
|
|
3537
3537
|
}
|
|
3538
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
3539
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className:
|
|
3540
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3541
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3542
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3543
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3538
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk22XAPV6Ncjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
3539
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: _chunk22XAPV6Ncjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
3540
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk22XAPV6Ncjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3541
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk22XAPV6Ncjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "h-3.5 w-2/3 rounded" }) }),
|
|
3542
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk22XAPV6Ncjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "h-3 w-5/6 rounded" }) }),
|
|
3543
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk22XAPV6Ncjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "h-3 w-1/3 rounded" }) })
|
|
3544
3544
|
] }),
|
|
3545
3545
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "h-3.5 w-3.5 rounded" }) })
|
|
3546
3546
|
] });
|
|
@@ -3571,12 +3571,12 @@ function statusScheme(status) {
|
|
|
3571
3571
|
function HubspotTicketCard({ item, variant = "compact", className, anchorProps }) {
|
|
3572
3572
|
const statusText = _nullishCoalesce(item.statusLabel, () => ( formatToken(item.status)));
|
|
3573
3573
|
const priorityText = formatToken(item.priority);
|
|
3574
|
-
const dateText =
|
|
3574
|
+
const dateText = _chunkEQZXJUYVcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
3575
3575
|
if (variant === "row") {
|
|
3576
3576
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
3577
3577
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "max-w-[260px] shrink-0 truncate text-ods-text-primary text-h6", children: item.title }),
|
|
3578
3578
|
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,
|
|
3579
|
-
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3579
|
+
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk22XAPV6Ncjs.StatusBadge, { text: statusText, variant: "button", colorScheme: statusScheme(item.status) }) : null,
|
|
3580
3580
|
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "w-24 shrink-0 text-right text-ods-text-secondary text-h6", children: dateText }) : null
|
|
3581
3581
|
] });
|
|
3582
3582
|
}
|
|
@@ -3590,13 +3590,13 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3590
3590
|
metaParts.push(
|
|
3591
3591
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
3592
3592
|
);
|
|
3593
|
-
const href =
|
|
3593
|
+
const href = _chunk22XAPV6Ncjs.safeHref.call(void 0, item.url);
|
|
3594
3594
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3595
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3595
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk22XAPV6Ncjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3596
3596
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
3597
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3597
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk22XAPV6Ncjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
3598
3598
|
priorityText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3599
|
-
|
|
3599
|
+
_chunk22XAPV6Ncjs.StatusBadge,
|
|
3600
3600
|
{
|
|
3601
3601
|
text: priorityText,
|
|
3602
3602
|
variant: "button",
|
|
@@ -3605,7 +3605,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3605
3605
|
}
|
|
3606
3606
|
) : null,
|
|
3607
3607
|
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3608
|
-
|
|
3608
|
+
_chunk22XAPV6Ncjs.StatusBadge,
|
|
3609
3609
|
{
|
|
3610
3610
|
text: statusText,
|
|
3611
3611
|
variant: "button",
|
|
@@ -3619,7 +3619,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3619
3619
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: item.customerEmail })
|
|
3620
3620
|
] }) : null,
|
|
3621
3621
|
/* @__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." }) }) }),
|
|
3622
|
-
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3622
|
+
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk22XAPV6Ncjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk22XAPV6Ncjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
3623
3623
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
3624
3624
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
3625
3625
|
] }, i)) }) }) : null
|
|
@@ -3627,9 +3627,9 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3627
3627
|
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
|
|
3628
3628
|
] });
|
|
3629
3629
|
if (anchorProps) {
|
|
3630
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
3630
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunk22XAPV6Ncjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
3631
3631
|
}
|
|
3632
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
3632
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunk22XAPV6Ncjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk22XAPV6Ncjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
3633
3633
|
}
|
|
3634
3634
|
function HubspotTicketCardSkeleton({
|
|
3635
3635
|
variant = "compact",
|
|
@@ -3643,8 +3643,8 @@ function HubspotTicketCardSkeleton({
|
|
|
3643
3643
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-20 shrink-0 rounded" })
|
|
3644
3644
|
] });
|
|
3645
3645
|
}
|
|
3646
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
3647
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3646
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk22XAPV6Ncjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
3647
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk22XAPV6Ncjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3648
3648
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
3649
3649
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "h-3.5 w-2/3 rounded" }),
|
|
3650
3650
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "h-4 w-12 rounded-full" }),
|
|
@@ -3657,7 +3657,7 @@ function HubspotTicketCardSkeleton({
|
|
|
3657
3657
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "h-5 w-3/4 rounded" }),
|
|
3658
3658
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "h-5 w-2/5 rounded" })
|
|
3659
3659
|
] }),
|
|
3660
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3660
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk22XAPV6Ncjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "h-3 w-1/3 rounded" }) })
|
|
3661
3661
|
] }),
|
|
3662
3662
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "h-3.5 w-3.5 rounded" }) })
|
|
3663
3663
|
] });
|
|
@@ -3668,10 +3668,10 @@ function HubspotTicketCardSkeleton({
|
|
|
3668
3668
|
|
|
3669
3669
|
function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
3670
3670
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3671
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3671
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk22XAPV6Ncjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3672
3672
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
3673
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3674
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3673
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk22XAPV6Ncjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
3674
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk22XAPV6Ncjs.StatusBadge, { text: badgeText, variant: "button", colorScheme: "cyan", className: "shrink-0" })
|
|
3675
3675
|
] }),
|
|
3676
3676
|
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: [
|
|
3677
3677
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/70", children: "Path:" }),
|
|
@@ -3682,13 +3682,13 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
|
3682
3682
|
_optionalChain([anchorProps, 'optionalAccess', _113 => _113.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
|
|
3683
3683
|
] });
|
|
3684
3684
|
if (!anchorProps) {
|
|
3685
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3685
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk22XAPV6Ncjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
3686
3686
|
}
|
|
3687
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
3687
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunk22XAPV6Ncjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
3688
3688
|
}
|
|
3689
3689
|
function DataRoomDocCardSkeleton({ className }) {
|
|
3690
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
3691
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3690
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk22XAPV6Ncjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
3691
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk22XAPV6Ncjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3692
3692
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
3693
3693
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "h-3.5 w-2/3 rounded" }),
|
|
3694
3694
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "h-4 w-16 rounded-full" })
|
|
@@ -3707,14 +3707,14 @@ function DataRoomDocCardSkeleton({ className }) {
|
|
|
3707
3707
|
|
|
3708
3708
|
|
|
3709
3709
|
function GenericEntityCard({ item, className, anchorProps }) {
|
|
3710
|
-
const href =
|
|
3711
|
-
const dateText =
|
|
3710
|
+
const href = _chunk22XAPV6Ncjs.safeHref.call(void 0, item.url);
|
|
3711
|
+
const dateText = _chunkEQZXJUYVcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
3712
3712
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3713
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3713
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk22XAPV6Ncjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3714
3714
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
3715
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3715
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk22XAPV6Ncjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
3716
3716
|
item.badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3717
|
-
|
|
3717
|
+
_chunk22XAPV6Ncjs.StatusBadge,
|
|
3718
3718
|
{
|
|
3719
3719
|
text: item.badge.text,
|
|
3720
3720
|
variant: "button",
|
|
@@ -3732,18 +3732,18 @@ function GenericEntityCard({ item, className, anchorProps }) {
|
|
|
3732
3732
|
] }),
|
|
3733
3733
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate font-medium text-ods-text-primary", children: f.value })
|
|
3734
3734
|
] }, i)) }) : null,
|
|
3735
|
-
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3735
|
+
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk22XAPV6Ncjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk22XAPV6Ncjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }) }) }) : null
|
|
3736
3736
|
] }),
|
|
3737
3737
|
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
|
|
3738
3738
|
] });
|
|
3739
3739
|
if (anchorProps) {
|
|
3740
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
3740
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunk22XAPV6Ncjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
3741
3741
|
}
|
|
3742
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, className: `${
|
|
3742
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, className: `${_chunk22XAPV6Ncjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk22XAPV6Ncjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
3743
3743
|
}
|
|
3744
3744
|
function GenericEntityCardSkeleton({ className }) {
|
|
3745
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
3746
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3745
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk22XAPV6Ncjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
3746
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk22XAPV6Ncjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3747
3747
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
3748
3748
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "h-3.5 w-2/3 rounded" }),
|
|
3749
3749
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", className: "h-4 w-16 rounded-full" })
|
|
@@ -4868,7 +4868,7 @@ function InfoHint({ children, label, side = "top", className }) {
|
|
|
4868
4868
|
const describedById = _react.useId.call(void 0, );
|
|
4869
4869
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "inline-flex shrink-0 items-center", className), children: [
|
|
4870
4870
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4871
|
-
|
|
4871
|
+
_chunkEQZXJUYVcjs.FloatingTooltip,
|
|
4872
4872
|
{
|
|
4873
4873
|
content: children,
|
|
4874
4874
|
side,
|
|
@@ -4986,7 +4986,7 @@ function Section({ title, description, children }) {
|
|
|
4986
4986
|
] });
|
|
4987
4987
|
}
|
|
4988
4988
|
function ProxyCredentialsPanel({ description }) {
|
|
4989
|
-
const hydrated =
|
|
4989
|
+
const hydrated = _chunkTQPQKBBLcjs.useIsHydrated.call(void 0, );
|
|
4990
4990
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4991
4991
|
ProxyCredentialsForm,
|
|
4992
4992
|
{
|
|
@@ -5047,13 +5047,13 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
5047
5047
|
setStatus("Cleared. Requests use the session again.");
|
|
5048
5048
|
};
|
|
5049
5049
|
const setField = (field, value) => setOptional((prev) => ({ ...prev, [field]: value }));
|
|
5050
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5050
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk22XAPV6Ncjs.Card, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk22XAPV6Ncjs.CardContent, { className: "space-y-[var(--spacing-system-lf)] p-[var(--spacing-system-mf)]", children: [
|
|
5051
5051
|
/* @__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: [
|
|
5052
5052
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
5053
5053
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h3", children: "Proxy credentials" }),
|
|
5054
5054
|
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: description })
|
|
5055
5055
|
] }),
|
|
5056
|
-
activeEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5056
|
+
activeEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk22XAPV6Ncjs.StatusBadge, { singleLine: true, colorScheme: "success", text: `Active: ${activeEmail}` }) })
|
|
5057
5057
|
] }),
|
|
5058
5058
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5059
5059
|
Section,
|
|
@@ -5150,10 +5150,10 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
5150
5150
|
|
|
5151
5151
|
// src/components/chat/index.ts
|
|
5152
5152
|
var LoadedEmbeddableChat = _react.lazy.call(void 0,
|
|
5153
|
-
() => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-
|
|
5153
|
+
() => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-HWQSP3DY.cjs"))).then((module) => ({ default: module.EmbeddableChat }))
|
|
5154
5154
|
);
|
|
5155
5155
|
var EmbeddableChat = _react.forwardRef.call(void 0, (props, ref) => {
|
|
5156
|
-
_react.useEffect.call(void 0, () =>
|
|
5156
|
+
_react.useEffect.call(void 0, () => _chunkTQPQKBBLcjs.holdAskAiOpens.call(void 0, ), []);
|
|
5157
5157
|
return _react.createElement.call(void 0, _react.Suspense, { fallback: null }, _react.createElement.call(void 0, LoadedEmbeddableChat, { ...props, ref }));
|
|
5158
5158
|
});
|
|
5159
5159
|
EmbeddableChat.displayName = "EmbeddableChat";
|