@flamingo-stack/openframe-frontend-core 0.0.735 → 0.0.736
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-XKB7YGQM.cjs → chunk-77SD7RXY.cjs} +18 -6
- package/dist/{chunk-T323E2Y6.cjs → chunk-7V2KP2TB.cjs} +4 -4
- package/dist/{chunk-W6E7XCBI.cjs → chunk-BDF3FNOC.cjs} +31 -31
- package/dist/{chunk-EQ7OOK4B.cjs → chunk-BL5GOCHP.cjs} +14 -14
- package/dist/{chunk-RH3AKULV.cjs → chunk-EJOXXJJB.cjs} +56 -4
- package/dist/{chunk-SHQZN5LF.cjs → chunk-EX2GYIGW.cjs} +6 -6
- package/dist/{chunk-3JP2OVH3.cjs → chunk-FTGVG6FW.cjs} +30 -30
- package/dist/{chunk-3X4N3IT7.cjs → chunk-JGGSRCRD.cjs} +16 -16
- package/dist/{chunk-MRVZ56GT.cjs → chunk-JM54CNZZ.cjs} +81 -81
- package/dist/{chunk-HBUUCLQM.cjs → chunk-L535OD7V.cjs} +2 -2
- package/dist/{chunk-6TTAILSV.cjs → chunk-LIH5OQLY.cjs} +3 -3
- package/dist/{chunk-OXJ57643.cjs → chunk-MGW5DO6P.cjs} +76 -17
- package/dist/{chunk-4F7V2MAC.cjs → chunk-NONQUGRP.cjs} +14 -14
- package/dist/{chunk-36CCUJOE.cjs → chunk-OJUMVOMP.cjs} +313 -313
- package/dist/{chunk-JDXQ6T5P.cjs → chunk-OV6BGMEL.cjs} +130 -179
- package/dist/{chunk-TUMUT7CV.cjs → chunk-P6Z3EBPJ.cjs} +11 -11
- package/dist/{chunk-NVCSVGNI.cjs → chunk-SZFA2LQR.cjs} +33 -33
- package/dist/{chunk-F7STMHT7.cjs → chunk-T27CVQBO.cjs} +65 -65
- package/dist/{chunk-EQH7BUNS.cjs → chunk-UBQSOB3X.cjs} +4 -4
- package/dist/{chunk-SZRZBCWC.cjs → chunk-URX2YTCL.cjs} +68 -68
- package/dist/{chunk-HLBFTDUL.cjs → chunk-VRNNIV5Y.cjs} +2 -2
- package/dist/{chunk-3FZZPR76.cjs → chunk-XLSVQJBA.cjs} +44 -44
- package/dist/{chunk-7HT3VHLJ.cjs → chunk-ZEX5WU35.cjs} +15 -15
- package/dist/{cloud-tenants-H5D57P4U.cjs → cloud-tenants-M55HMW6F.cjs} +7 -7
- package/dist/components/case-studies/index.cjs +19 -19
- package/dist/components/chat/index.cjs +9 -9
- package/dist/components/contact/index.cjs +8 -8
- package/dist/components/docs/index.cjs +11 -11
- package/dist/components/embeds/index.cjs +8 -8
- package/dist/components/faq/index.cjs +8 -8
- package/dist/components/features/index.cjs +7 -7
- package/dist/components/help-center-pages/index.cjs +99 -99
- package/dist/components/index.cjs +60 -60
- package/dist/components/meeting-scheduler/index.cjs +29 -29
- package/dist/components/navigation/index.cjs +10 -10
- package/dist/components/onboarding-guides/index.cjs +10 -10
- package/dist/components/pagination.d.ts +9 -1
- package/dist/components/pagination.d.ts.map +1 -1
- package/dist/components/pagination.js +72 -17
- package/dist/components/product-demo/index.cjs +6 -6
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/tickets/index.cjs +12 -12
- package/dist/components/ui/index.cjs +11 -11
- package/dist/components/unified-pagination.d.ts.map +1 -1
- package/dist/components/unified-pagination.js +16 -4
- package/dist/{devices-SQTEXY2H.cjs → devices-WWJZFG6E.cjs} +8 -8
- package/dist/{embeddable-chat-S5ODWE3L.cjs → embeddable-chat-76IJ6TQZ.cjs} +72 -72
- package/dist/index.cjs +15 -15
- package/dist/{knowledge-FO3TPLFO.cjs → knowledge-F4YFQT3G.cjs} +8 -8
- package/dist/{logs-Y4WQB2YR.cjs → logs-GAYEGEZM.cjs} +15 -15
- package/dist/{policies-D6VY2ODF.cjs → policies-ZOVJCJWX.cjs} +11 -11
- package/dist/{software-update-7XN6U7HC.cjs → software-update-H4YE5GMJ.cjs} +10 -10
- package/package.json +1 -1
- package/src/components/pagination.tsx +117 -21
- package/src/components/unified-pagination.tsx +23 -7
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkOV6BGMELcjs = require('./chunk-OV6BGMEL.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
@@ -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 _chunkEX2GYIGWcjs = require('./chunk-EX2GYIGW.cjs');
|
|
104
104
|
|
|
105
105
|
|
|
106
106
|
|
|
@@ -120,7 +120,7 @@ var _chunkSHQZN5LFcjs = require('./chunk-SHQZN5LF.cjs');
|
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
|
|
123
|
-
var
|
|
123
|
+
var _chunkEJOXXJJBcjs = require('./chunk-EJOXXJJB.cjs');
|
|
124
124
|
|
|
125
125
|
|
|
126
126
|
|
|
@@ -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(_chunkEJOXXJJBcjs.getProxiedImageUrl.call(void 0, _nullishCoalesce(url, () => ( "")), {
|
|
183
183
|
proxyPrefix: r.endpoints.imageProxyUrlPrefix,
|
|
184
184
|
skipDomains: r.endpoints.imageProxySkipDomains,
|
|
185
185
|
directHttps: true
|
|
@@ -1870,7 +1870,7 @@ function lastPathSegment(url) {
|
|
|
1870
1870
|
function makeComposeContentUrl(opts) {
|
|
1871
1871
|
const suffixes = _nullishCoalesce(opts.suffixes, () => ( DEFAULT_CONTENT_SUFFIXES));
|
|
1872
1872
|
return ({ type: rawType, identifier, slug: slugHint, externalUrl, targetPlatform, platforms }) => {
|
|
1873
|
-
const type =
|
|
1873
|
+
const type = _chunkEJOXXJJBcjs.canonicalContentRefType.call(void 0, rawType);
|
|
1874
1874
|
const override = opts.overrides && Object.prototype.hasOwnProperty.call(opts.overrides, type) ? opts.overrides[type] : void 0;
|
|
1875
1875
|
if (override) return { ...override(identifier), hostOverride: true };
|
|
1876
1876
|
const seg = _nullishCoalesce((Object.prototype.hasOwnProperty.call(suffixes, type) ? suffixes[type] : void 0), () => ( type));
|
|
@@ -1881,8 +1881,8 @@ function makeComposeContentUrl(opts) {
|
|
|
1881
1881
|
}
|
|
1882
1882
|
if (externalUrl) return { href: externalUrl, targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)) };
|
|
1883
1883
|
const claimedOwner = _nullishCoalesce(targetPlatform, () => ( primaryPlatformOf(platforms)));
|
|
1884
|
-
const owner = claimedOwner &&
|
|
1885
|
-
const origin = owner ?
|
|
1884
|
+
const owner = claimedOwner && _chunkOV6BGMELcjs.byKey.call(void 0, claimedOwner) ? claimedOwner : null;
|
|
1885
|
+
const origin = owner ? _chunkOV6BGMELcjs.getPlatformProductionUrl.call(void 0, owner) : opts.contentOrigin;
|
|
1886
1886
|
return {
|
|
1887
1887
|
href: `${origin.replace(/\/+$/, "")}/${seg}/${_optionalChain([slugHint, 'optionalAccess', _69 => _69.trim, 'call', _70 => _70()]) || identifier}`,
|
|
1888
1888
|
// Report the owner so `decideNewTab` can compare it against the current
|
|
@@ -2057,7 +2057,7 @@ function extractSections(markdown, options = {}) {
|
|
|
2057
2057
|
if (heading.level > opts.maxLevel) continue;
|
|
2058
2058
|
let title = heading.text;
|
|
2059
2059
|
if (opts.stripFormattingMarkers) {
|
|
2060
|
-
title =
|
|
2060
|
+
title = _chunkOV6BGMELcjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
2061
2061
|
}
|
|
2062
2062
|
const baseId = _chunkSA7LDEVJcjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkSA7LDEVJcjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
2063
2063
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
@@ -2334,7 +2334,7 @@ function pathMatchesAny(pathname, patterns) {
|
|
|
2334
2334
|
function openAskAi(source, options) {
|
|
2335
2335
|
const prompt = _optionalChain([options, 'optionalAccess', _77 => _77.prompt, 'optionalAccess', _78 => _78.trim, 'call', _79 => _79()]);
|
|
2336
2336
|
const detail = prompt ? { source: _nullishCoalesce(source, () => ( "")), prompt } : { source: _nullishCoalesce(source, () => ( "")) };
|
|
2337
|
-
window.dispatchEvent(new CustomEvent(
|
|
2337
|
+
window.dispatchEvent(new CustomEvent(_chunkOV6BGMELcjs.ASK_AI_OPEN_EVENT, { detail }));
|
|
2338
2338
|
}
|
|
2339
2339
|
function MingoAiButton({
|
|
2340
2340
|
source,
|
|
@@ -2480,13 +2480,13 @@ function QuestionChips({
|
|
|
2480
2480
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: count }, (_, slot) => {
|
|
2481
2481
|
const prompt = loading ? void 0 : prompts[slot];
|
|
2482
2482
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _nullishCoalesce(slotClassName, () => ( CHIP_SLOT_CLASS)), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2483
|
-
|
|
2483
|
+
_chunkOV6BGMELcjs.QuickActionChipSkeleton,
|
|
2484
2484
|
{
|
|
2485
2485
|
variant: "question",
|
|
2486
2486
|
labelCh: SKELETON_LABEL_CH[slot % SKELETON_LABEL_CH.length]
|
|
2487
2487
|
}
|
|
2488
2488
|
) : prompt ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2489
|
-
|
|
2489
|
+
_chunkOV6BGMELcjs.QuickActionChipButton,
|
|
2490
2490
|
{
|
|
2491
2491
|
variant: "question",
|
|
2492
2492
|
label: prompt.label,
|
|
@@ -2518,7 +2518,7 @@ function AskPrompts({
|
|
|
2518
2518
|
if (!loading && prompts.length === 0) return null;
|
|
2519
2519
|
const end = align === "end";
|
|
2520
2520
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2521
|
-
|
|
2521
|
+
_chunkOV6BGMELcjs.ScrollShadow,
|
|
2522
2522
|
{
|
|
2523
2523
|
axis: "horizontal",
|
|
2524
2524
|
color: fadeColor,
|
|
@@ -2620,7 +2620,7 @@ function useAskPrompts({
|
|
|
2620
2620
|
const assistant = _chunkEWPR7662cjs.useAssistantRuntime.call(void 0, );
|
|
2621
2621
|
const base = assistantAvailable(assistant) ? assistant.askPromptsUrl : void 0;
|
|
2622
2622
|
const url = base && enabled ? buildAskPromptsUrl(base, { count, topic, exclude }) : null;
|
|
2623
|
-
const { data, dataUrl, error } =
|
|
2623
|
+
const { data, dataUrl, error } = _chunkEX2GYIGWcjs.useSelfFetch.call(void 0, url);
|
|
2624
2624
|
const landed = url !== null && (dataUrl === url || error);
|
|
2625
2625
|
return { prompts: landed ? _nullishCoalesce(_optionalChain([data, 'optionalAccess', _88 => _88.prompts]), () => ( [])) : [], isLoading: !!base && !landed, supported: !!base };
|
|
2626
2626
|
}
|
|
@@ -2822,7 +2822,7 @@ function QuickActionMarquee({
|
|
|
2822
2822
|
);
|
|
2823
2823
|
if (items.length === 0) return null;
|
|
2824
2824
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2825
|
-
|
|
2825
|
+
_chunkOV6BGMELcjs.QuickActionWall,
|
|
2826
2826
|
{
|
|
2827
2827
|
chips,
|
|
2828
2828
|
mode,
|
|
@@ -2956,7 +2956,7 @@ ChatTicketItem.displayName = "ChatTicketItem";
|
|
|
2956
2956
|
|
|
2957
2957
|
var ChatTicketList = _react.forwardRef.call(void 0,
|
|
2958
2958
|
({ className, tickets, onTicketClick, isLoading = false, skeletonCount = 5, ...props }, ref) => {
|
|
2959
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
2959
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkOV6BGMELcjs.useScrollFade.call(void 0, );
|
|
2960
2960
|
if (isLoading) {
|
|
2961
2961
|
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: [
|
|
2962
2962
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "shrink-0 text-ods-text-secondary text-h5", children: "Your Chats:" }),
|
|
@@ -2976,8 +2976,8 @@ var ChatTicketList = _react.forwardRef.call(void 0,
|
|
|
2976
2976
|
),
|
|
2977
2977
|
children: [
|
|
2978
2978
|
/* @__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)) }),
|
|
2979
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2980
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2979
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOV6BGMELcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
2980
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOV6BGMELcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
2981
2981
|
]
|
|
2982
2982
|
}
|
|
2983
2983
|
)
|
|
@@ -3427,23 +3427,23 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
3427
3427
|
metaParts.push(
|
|
3428
3428
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
3429
3429
|
);
|
|
3430
|
-
const href =
|
|
3430
|
+
const href = _chunkEJOXXJJBcjs.safeHref.call(void 0, item.url);
|
|
3431
3431
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3432
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3433
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3434
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3435
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3436
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3432
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEJOXXJJBcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOWDRZM73cjs.SlackIcon, { className: "h-5 w-5" }) }),
|
|
3433
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEJOXXJJBcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3434
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEJOXXJJBcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEJOXXJJBcjs.COMPACT_CARD_TITLE, children: item.title }) }),
|
|
3435
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEJOXXJJBcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEJOXXJJBcjs.COMPACT_CARD_SUMMARY, children: item.preview || _chunkEJOXXJJBcjs.COMPACT_CARD_ROW_FILLER }) }),
|
|
3436
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEJOXXJJBcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEJOXXJJBcjs.COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
3437
3437
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
3438
3438
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
3439
|
-
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3439
|
+
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEJOXXJJBcjs.COMPACT_CARD_SUMMARY, children: _chunkEJOXXJJBcjs.COMPACT_CARD_ROW_FILLER }) }) })
|
|
3440
3440
|
] }),
|
|
3441
3441
|
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
|
|
3442
3442
|
] });
|
|
3443
3443
|
if (anchorProps) {
|
|
3444
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
3444
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkEJOXXJJBcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
3445
3445
|
}
|
|
3446
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
3446
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkEJOXXJJBcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEJOXXJJBcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
3447
3447
|
}
|
|
3448
3448
|
function SlackMessageCardSkeleton({
|
|
3449
3449
|
variant = "compact",
|
|
@@ -3458,12 +3458,12 @@ function SlackMessageCardSkeleton({
|
|
|
3458
3458
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
3459
3459
|
] });
|
|
3460
3460
|
}
|
|
3461
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
3462
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3463
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3464
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3465
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3466
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3461
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkEJOXXJJBcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
3462
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEJOXXJJBcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
3463
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEJOXXJJBcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3464
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEJOXXJJBcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
3465
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEJOXXJJBcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-5/6 rounded bg-ods-bg/60" }) }),
|
|
3466
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEJOXXJJBcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
3467
3467
|
] }),
|
|
3468
3468
|
/* @__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" }) })
|
|
3469
3469
|
] });
|
|
@@ -3499,7 +3499,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3499
3499
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
3500
3500
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "max-w-[260px] shrink-0 truncate text-ods-text-primary text-h6", children: item.title }),
|
|
3501
3501
|
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,
|
|
3502
|
-
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3502
|
+
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJOXXJJBcjs.StatusBadge, { text: statusText, variant: "button", colorScheme: statusScheme(item.status) }) : null,
|
|
3503
3503
|
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "w-24 shrink-0 text-right text-ods-text-secondary text-h6", children: dateText }) : null
|
|
3504
3504
|
] });
|
|
3505
3505
|
}
|
|
@@ -3513,13 +3513,13 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3513
3513
|
metaParts.push(
|
|
3514
3514
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
3515
3515
|
);
|
|
3516
|
-
const href =
|
|
3516
|
+
const href = _chunkEJOXXJJBcjs.safeHref.call(void 0, item.url);
|
|
3517
3517
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3518
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3518
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEJOXXJJBcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3519
3519
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
3520
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3520
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEJOXXJJBcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
3521
3521
|
priorityText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3522
|
-
|
|
3522
|
+
_chunkEJOXXJJBcjs.StatusBadge,
|
|
3523
3523
|
{
|
|
3524
3524
|
text: priorityText,
|
|
3525
3525
|
variant: "button",
|
|
@@ -3528,7 +3528,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3528
3528
|
}
|
|
3529
3529
|
) : null,
|
|
3530
3530
|
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3531
|
-
|
|
3531
|
+
_chunkEJOXXJJBcjs.StatusBadge,
|
|
3532
3532
|
{
|
|
3533
3533
|
text: statusText,
|
|
3534
3534
|
variant: "button",
|
|
@@ -3542,7 +3542,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3542
3542
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: item.customerEmail })
|
|
3543
3543
|
] }) : null,
|
|
3544
3544
|
/* @__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." }) }) }),
|
|
3545
|
-
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3545
|
+
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEJOXXJJBcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEJOXXJJBcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
3546
3546
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
3547
3547
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
3548
3548
|
] }, i)) }) }) : null
|
|
@@ -3550,9 +3550,9 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3550
3550
|
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
|
|
3551
3551
|
] });
|
|
3552
3552
|
if (anchorProps) {
|
|
3553
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
3553
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkEJOXXJJBcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
3554
3554
|
}
|
|
3555
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
3555
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkEJOXXJJBcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEJOXXJJBcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
3556
3556
|
}
|
|
3557
3557
|
function HubspotTicketCardSkeleton({
|
|
3558
3558
|
variant = "compact",
|
|
@@ -3566,8 +3566,8 @@ function HubspotTicketCardSkeleton({
|
|
|
3566
3566
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
3567
3567
|
] });
|
|
3568
3568
|
}
|
|
3569
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
3570
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3569
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkEJOXXJJBcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
3570
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEJOXXJJBcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3571
3571
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
3572
3572
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
3573
3573
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-12 rounded-full bg-ods-bg/60" }),
|
|
@@ -3580,7 +3580,7 @@ function HubspotTicketCardSkeleton({
|
|
|
3580
3580
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-3/4 rounded bg-ods-bg/60" }),
|
|
3581
3581
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-2/5 rounded bg-ods-bg/60" })
|
|
3582
3582
|
] }),
|
|
3583
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3583
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEJOXXJJBcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
3584
3584
|
] }),
|
|
3585
3585
|
/* @__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" }) })
|
|
3586
3586
|
] });
|
|
@@ -3591,10 +3591,10 @@ function HubspotTicketCardSkeleton({
|
|
|
3591
3591
|
|
|
3592
3592
|
function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
3593
3593
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3594
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3594
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEJOXXJJBcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3595
3595
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
3596
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3597
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3596
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEJOXXJJBcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
3597
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJOXXJJBcjs.StatusBadge, { text: badgeText, variant: "button", colorScheme: "cyan", className: "shrink-0" })
|
|
3598
3598
|
] }),
|
|
3599
3599
|
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: [
|
|
3600
3600
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/70", children: "Path:" }),
|
|
@@ -3605,13 +3605,13 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
|
3605
3605
|
_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
|
|
3606
3606
|
] });
|
|
3607
3607
|
if (!anchorProps) {
|
|
3608
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3608
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEJOXXJJBcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
3609
3609
|
}
|
|
3610
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
3610
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkEJOXXJJBcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
3611
3611
|
}
|
|
3612
3612
|
function DataRoomDocCardSkeleton({ className }) {
|
|
3613
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
3614
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3613
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkEJOXXJJBcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
3614
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEJOXXJJBcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3615
3615
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
3616
3616
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
3617
3617
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -3630,14 +3630,14 @@ function DataRoomDocCardSkeleton({ className }) {
|
|
|
3630
3630
|
|
|
3631
3631
|
|
|
3632
3632
|
function GenericEntityCard({ item, className, anchorProps }) {
|
|
3633
|
-
const href =
|
|
3633
|
+
const href = _chunkEJOXXJJBcjs.safeHref.call(void 0, item.url);
|
|
3634
3634
|
const dateText = _chunkFTTLBMHUcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
3635
3635
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3636
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3636
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEJOXXJJBcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3637
3637
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
3638
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3638
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEJOXXJJBcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
3639
3639
|
item.badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3640
|
-
|
|
3640
|
+
_chunkEJOXXJJBcjs.StatusBadge,
|
|
3641
3641
|
{
|
|
3642
3642
|
text: item.badge.text,
|
|
3643
3643
|
variant: "button",
|
|
@@ -3655,18 +3655,18 @@ function GenericEntityCard({ item, className, anchorProps }) {
|
|
|
3655
3655
|
] }),
|
|
3656
3656
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate font-medium text-ods-text-primary", children: f.value })
|
|
3657
3657
|
] }, i)) }) : null,
|
|
3658
|
-
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3658
|
+
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEJOXXJJBcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEJOXXJJBcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }) }) }) : null
|
|
3659
3659
|
] }),
|
|
3660
3660
|
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
|
|
3661
3661
|
] });
|
|
3662
3662
|
if (anchorProps) {
|
|
3663
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
3663
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkEJOXXJJBcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
3664
3664
|
}
|
|
3665
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, className: `${
|
|
3665
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, className: `${_chunkEJOXXJJBcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEJOXXJJBcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
3666
3666
|
}
|
|
3667
3667
|
function GenericEntityCardSkeleton({ className }) {
|
|
3668
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
3669
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3668
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkEJOXXJJBcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
3669
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEJOXXJJBcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3670
3670
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
3671
3671
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
3672
3672
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -4866,7 +4866,7 @@ function Section({ title, description, children }) {
|
|
|
4866
4866
|
] });
|
|
4867
4867
|
}
|
|
4868
4868
|
function ProxyCredentialsPanel({ description }) {
|
|
4869
|
-
const hydrated =
|
|
4869
|
+
const hydrated = _chunkOV6BGMELcjs.useIsHydrated.call(void 0, );
|
|
4870
4870
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4871
4871
|
ProxyCredentialsForm,
|
|
4872
4872
|
{
|
|
@@ -4927,13 +4927,13 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
4927
4927
|
setStatus("Cleared. Requests use the session again.");
|
|
4928
4928
|
};
|
|
4929
4929
|
const setField = (field, value) => setOptional((prev) => ({ ...prev, [field]: value }));
|
|
4930
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4930
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJOXXJJBcjs.Card, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkEJOXXJJBcjs.CardContent, { className: "space-y-[var(--spacing-system-lf)] p-[var(--spacing-system-mf)]", children: [
|
|
4931
4931
|
/* @__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: [
|
|
4932
4932
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
4933
4933
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h3", children: "Proxy credentials" }),
|
|
4934
4934
|
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: description })
|
|
4935
4935
|
] }),
|
|
4936
|
-
activeEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4936
|
+
activeEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJOXXJJBcjs.StatusBadge, { singleLine: true, colorScheme: "success", text: `Active: ${activeEmail}` }) })
|
|
4937
4937
|
] }),
|
|
4938
4938
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4939
4939
|
Section,
|
|
@@ -5030,10 +5030,10 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
5030
5030
|
|
|
5031
5031
|
// src/components/chat/index.ts
|
|
5032
5032
|
var LoadedEmbeddableChat = _react.lazy.call(void 0,
|
|
5033
|
-
() => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-
|
|
5033
|
+
() => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-76IJ6TQZ.cjs"))).then((module) => ({ default: module.EmbeddableChat }))
|
|
5034
5034
|
);
|
|
5035
5035
|
var EmbeddableChat = _react.forwardRef.call(void 0, (props, ref) => {
|
|
5036
|
-
_react.useEffect.call(void 0, () =>
|
|
5036
|
+
_react.useEffect.call(void 0, () => _chunkOV6BGMELcjs.holdAskAiOpens.call(void 0, ), []);
|
|
5037
5037
|
return _react.createElement.call(void 0, _react.Suspense, { fallback: null }, _react.createElement.call(void 0, LoadedEmbeddableChat, { ...props, ref }));
|
|
5038
5038
|
});
|
|
5039
5039
|
EmbeddableChat.displayName = "EmbeddableChat";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkT27CVQBOcjs = require('./chunk-T27CVQBO.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkOV6BGMELcjs = require('./chunk-OV6BGMEL.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkVOX4E6AXcjs = require('./chunk-VOX4E6AX.cjs');
|
|
@@ -44,7 +44,7 @@ function isSummaryData(value) {
|
|
|
44
44
|
}
|
|
45
45
|
function TicketLiveProvider({ children, enabled = true }) {
|
|
46
46
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
47
|
-
const identity =
|
|
47
|
+
const identity = _chunkOV6BGMELcjs.useChatIdentity.call(void 0, enabled);
|
|
48
48
|
const queryClient = _reactquery.useQueryClient.call(void 0, );
|
|
49
49
|
const streamUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _ => _.endpoints, 'access', _2 => _2.ticketStreamUrl]), () => ( TICKET_STREAM_ENDPOINT));
|
|
50
50
|
const readUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _3 => _3.endpoints, 'access', _4 => _4.ticketReadUrl]), () => ( TICKET_READ_ENDPOINT));
|
|
@@ -160,7 +160,7 @@ function TicketLiveProvider({ children, enabled = true }) {
|
|
|
160
160
|
_react2.default.useEffect(() => {
|
|
161
161
|
if (!streamEnabled) return void 0;
|
|
162
162
|
if (typeof window === "undefined") return void 0;
|
|
163
|
-
subscriptionRef.current =
|
|
163
|
+
subscriptionRef.current = _chunkT27CVQBOcjs.createSseSubscription.call(void 0, {
|
|
164
164
|
url: streamUrl,
|
|
165
165
|
onEvent: (name, data) => handlersRef.current.onEvent(name, data),
|
|
166
166
|
onStatusChange: (status) => handlersRef.current.onStatus(status),
|