@flamingo-stack/openframe-frontend-core 0.0.774 → 0.0.776
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-L5CKY5WA.cjs → chunk-24OYQQZC.cjs} +13 -13
- package/dist/{chunk-LEVA5WO3.cjs → chunk-2AZAJ7RK.cjs} +39 -39
- package/dist/{chunk-U332FL4C.cjs → chunk-2MF547RG.cjs} +22 -22
- package/dist/{chunk-HTSRAQVG.cjs → chunk-2YB4X5WT.cjs} +4 -4
- package/dist/{chunk-SWEPHSIP.cjs → chunk-3V27UHSH.cjs} +4 -4
- package/dist/{chunk-EQBJHJS7.cjs → chunk-6HY2NH7D.cjs} +2 -2
- package/dist/{chunk-5Z3XL2VU.cjs → chunk-AMVI5VXM.cjs} +68 -68
- package/dist/{chunk-E5E7IE7X.cjs → chunk-BDYI6HBT.cjs} +12 -12
- package/dist/{chunk-VISK6LKE.cjs → chunk-DDXQGTWB.cjs} +2 -2
- package/dist/{chunk-IQQ3SLUK.cjs → chunk-F65RSJVV.cjs} +17 -17
- package/dist/{chunk-NX7P2T2U.cjs → chunk-IXZNBDXT.cjs} +11 -11
- package/dist/{chunk-KWZ62LPZ.cjs → chunk-KM2TVQCH.cjs} +98 -98
- package/dist/{chunk-Q7EXOVMT.cjs → chunk-L55XLH5A.cjs} +29 -29
- package/dist/{chunk-TOPGBOCN.cjs → chunk-LNCBN4BL.cjs} +2 -2
- package/dist/{chunk-VWUQVJ2D.cjs → chunk-MWH5ZTMB.cjs} +77 -77
- package/dist/{chunk-Y3EBUFX4.cjs → chunk-MYHS4W2H.cjs} +1 -1
- package/dist/{chunk-BTVO676B.cjs → chunk-NWZSYG4S.cjs} +74 -74
- package/dist/{chunk-TUXPFF4P.cjs → chunk-OJLZ7PGO.cjs} +28 -28
- package/dist/{chunk-TTQHSSHF.cjs → chunk-OTZQP53Y.cjs} +3 -3
- package/dist/{chunk-ZHGOXDA3.cjs → chunk-UM6HFGTI.cjs} +64 -57
- package/dist/{chunk-USMR73ND.cjs → chunk-WAQPW4CB.cjs} +4 -4
- package/dist/{chunk-4JZC624S.cjs → chunk-XN6LXMH5.cjs} +174 -173
- package/dist/{chunk-Q6B2DC65.cjs → chunk-XT5WEHFM.cjs} +3 -3
- package/dist/{chunk-UAKXZ2KD.cjs → chunk-YFTQ2ALU.cjs} +37 -37
- package/dist/{chunk-5AOKXXHV.cjs → chunk-Z5KX56TK.cjs} +4 -4
- package/dist/{cloud-tenants-7RNZ6GHM.cjs → cloud-tenants-QFE6QMR5.cjs} +7 -7
- package/dist/components/authors/author-detail-view.d.ts.map +1 -1
- package/dist/components/authors/author-detail-view.js +12 -2
- package/dist/components/case-studies/index.cjs +23 -23
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/contact/index.cjs +8 -8
- package/dist/components/docs/index.cjs +11 -11
- package/dist/components/embeds/index.cjs +8 -8
- package/dist/components/faq/index.cjs +9 -9
- package/dist/components/features/index.cjs +7 -7
- package/dist/components/features/use-file-playback.d.ts +6 -4
- package/dist/components/features/use-file-playback.d.ts.map +1 -1
- package/dist/components/features/use-file-playback.js +16 -7
- package/dist/components/help-center-pages/index.cjs +83 -83
- package/dist/components/index.cjs +66 -56
- package/dist/components/meeting-scheduler/index.cjs +37 -37
- package/dist/components/navigation/index.cjs +10 -10
- package/dist/components/onboarding-guides/index.cjs +10 -10
- package/dist/components/product-demo/index.cjs +16 -16
- package/dist/components/related-content/card-registry.d.ts +5 -0
- package/dist/components/related-content/card-registry.d.ts.map +1 -1
- package/dist/components/related-content/card-registry.js +2 -0
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/related-content/related-content-section.d.ts.map +1 -1
- package/dist/components/related-content/related-content-section.js +11 -6
- package/dist/components/tickets/index.cjs +13 -13
- package/dist/components/ui/index.cjs +7 -7
- package/dist/components/ui/photo-wall.d.ts +9 -1
- package/dist/components/ui/photo-wall.d.ts.map +1 -1
- package/dist/components/ui/photo-wall.js +8 -7
- package/dist/{devices-NNDBC6IH.cjs → devices-SFJDLXSW.cjs} +8 -8
- package/dist/{embeddable-chat-DI7ZZTBP.cjs → embeddable-chat-XZUWAK4W.cjs} +73 -73
- package/dist/index.cjs +11 -11
- package/dist/{knowledge-DPUMWQED.cjs → knowledge-SAK3ZGCO.cjs} +8 -8
- package/dist/{logs-EE25MWYM.cjs → logs-CYBGMFA5.cjs} +15 -15
- package/dist/{policies-H5LPZWEM.cjs → policies-XXDOICWF.cjs} +11 -11
- package/dist/{scripts-YGO4LOES.cjs → scripts-C5T2AQPA.cjs} +12 -12
- package/dist/{software-update-5BEB62ZH.cjs → software-update-XU5AI4TP.cjs} +10 -10
- package/dist/{video-file-player-4TXA7BZF.cjs → video-file-player-6ZFOZFER.cjs} +16 -7
- package/package.json +1 -1
- package/src/components/authors/author-detail-view.tsx +10 -2
- package/src/components/features/use-file-playback.ts +33 -14
- package/src/components/related-content/card-registry.tsx +7 -0
- package/src/components/related-content/related-content-section.tsx +12 -2
- package/src/components/ui/photo-wall.tsx +19 -8
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkKM2TVQCHcjs = require('./chunk-KM2TVQCH.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
@@ -104,7 +104,7 @@ var _chunkJKX2C3I2cjs = require('./chunk-JKX2C3I2.cjs');
|
|
|
104
104
|
var _chunkEWPR7662cjs = require('./chunk-EWPR7662.cjs');
|
|
105
105
|
|
|
106
106
|
|
|
107
|
-
var
|
|
107
|
+
var _chunkOJLZ7PGOcjs = require('./chunk-OJLZ7PGO.cjs');
|
|
108
108
|
|
|
109
109
|
|
|
110
110
|
|
|
@@ -127,7 +127,7 @@ var _chunkTUXPFF4Pcjs = require('./chunk-TUXPFF4P.cjs');
|
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
|
|
130
|
-
var
|
|
130
|
+
var _chunkMYHS4W2Hcjs = require('./chunk-MYHS4W2H.cjs');
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
|
|
@@ -189,7 +189,7 @@ var _react = require('react'); var _react2 = _interopRequireDefault(_react);
|
|
|
189
189
|
|
|
190
190
|
var _jsxruntime = require('react/jsx-runtime');
|
|
191
191
|
function ChatMessageRow({ displayName, avatarUrl, timeLabel, body, footer }) {
|
|
192
|
-
const proxiedAvatar =
|
|
192
|
+
const proxiedAvatar = _chunkMYHS4W2Hcjs.useProxiedImageUrl.call(void 0, _nullishCoalesce(avatarUrl, () => ( "")));
|
|
193
193
|
const resolvedAvatar = proxiedAvatar || avatarUrl || void 0;
|
|
194
194
|
const [failedSrc, setFailedSrc] = _react.useState.call(void 0, null);
|
|
195
195
|
const src = resolvedAvatar && resolvedAvatar !== failedSrc ? resolvedAvatar : void 0;
|
|
@@ -2006,7 +2006,7 @@ function lastPathSegment(url) {
|
|
|
2006
2006
|
function makeComposeContentUrl(opts) {
|
|
2007
2007
|
const suffixes = _nullishCoalesce(opts.suffixes, () => ( DEFAULT_CONTENT_SUFFIXES));
|
|
2008
2008
|
return ({ type: rawType, identifier, slug: slugHint, externalUrl, targetPlatform, platforms }) => {
|
|
2009
|
-
const type =
|
|
2009
|
+
const type = _chunkMYHS4W2Hcjs.canonicalContentRefType.call(void 0, rawType);
|
|
2010
2010
|
const override = opts.overrides && Object.prototype.hasOwnProperty.call(opts.overrides, type) ? opts.overrides[type] : void 0;
|
|
2011
2011
|
if (override) return { ...override(identifier), hostOverride: true };
|
|
2012
2012
|
const seg = _nullishCoalesce((Object.prototype.hasOwnProperty.call(suffixes, type) ? suffixes[type] : void 0), () => ( type));
|
|
@@ -2017,8 +2017,8 @@ function makeComposeContentUrl(opts) {
|
|
|
2017
2017
|
}
|
|
2018
2018
|
if (externalUrl) return { href: externalUrl, targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)) };
|
|
2019
2019
|
const claimedOwner = _nullishCoalesce(targetPlatform, () => ( primaryPlatformOf(platforms)));
|
|
2020
|
-
const owner = claimedOwner &&
|
|
2021
|
-
const origin = owner ?
|
|
2020
|
+
const owner = claimedOwner && _chunkKM2TVQCHcjs.byKey.call(void 0, claimedOwner) ? claimedOwner : null;
|
|
2021
|
+
const origin = owner ? _chunkKM2TVQCHcjs.getPlatformProductionUrl.call(void 0, owner) : opts.contentOrigin;
|
|
2022
2022
|
return {
|
|
2023
2023
|
href: `${origin.replace(/\/+$/, "")}/${seg}/${_optionalChain([slugHint, 'optionalAccess', _78 => _78.trim, 'call', _79 => _79()]) || identifier}`,
|
|
2024
2024
|
// Report the owner so `decideNewTab` can compare it against the current
|
|
@@ -2199,7 +2199,7 @@ function extractSections(markdown, options = {}) {
|
|
|
2199
2199
|
if (heading.level > opts.maxLevel) continue;
|
|
2200
2200
|
let title = heading.text;
|
|
2201
2201
|
if (opts.stripFormattingMarkers) {
|
|
2202
|
-
title =
|
|
2202
|
+
title = _chunkKM2TVQCHcjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
2203
2203
|
}
|
|
2204
2204
|
const baseId = _chunkXXJL5GY3cjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkXXJL5GY3cjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
2205
2205
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
@@ -2514,7 +2514,7 @@ function demoClockTimes(seed, options = {}) {
|
|
|
2514
2514
|
function openAskAi(source, options) {
|
|
2515
2515
|
const prompt = _optionalChain([options, 'optionalAccess', _86 => _86.prompt, 'optionalAccess', _87 => _87.trim, 'call', _88 => _88()]);
|
|
2516
2516
|
const detail = prompt ? { source: _nullishCoalesce(source, () => ( "")), prompt } : { source: _nullishCoalesce(source, () => ( "")) };
|
|
2517
|
-
window.dispatchEvent(new CustomEvent(
|
|
2517
|
+
window.dispatchEvent(new CustomEvent(_chunkKM2TVQCHcjs.ASK_AI_OPEN_EVENT, { detail }));
|
|
2518
2518
|
}
|
|
2519
2519
|
function MingoAiButton({
|
|
2520
2520
|
source,
|
|
@@ -2557,7 +2557,7 @@ function MingoAiButton({
|
|
|
2557
2557
|
{
|
|
2558
2558
|
...props,
|
|
2559
2559
|
type: "button",
|
|
2560
|
-
...{ [
|
|
2560
|
+
...{ [_chunkKM2TVQCHcjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" },
|
|
2561
2561
|
variant: field ? "glyph" : "transparent",
|
|
2562
2562
|
size: "wrap",
|
|
2563
2563
|
font: "regular",
|
|
@@ -2664,15 +2664,15 @@ function QuestionChips({
|
|
|
2664
2664
|
"span",
|
|
2665
2665
|
{
|
|
2666
2666
|
className: _nullishCoalesce(slotClassName, () => ( CHIP_SLOT_CLASS)),
|
|
2667
|
-
...prompt ? { [
|
|
2667
|
+
...prompt ? { [_chunkKM2TVQCHcjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" } : {},
|
|
2668
2668
|
children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2669
|
-
|
|
2669
|
+
_chunkKM2TVQCHcjs.QuickActionChipSkeleton,
|
|
2670
2670
|
{
|
|
2671
2671
|
variant: "question",
|
|
2672
2672
|
labelCh: SKELETON_LABEL_CH[slot % SKELETON_LABEL_CH.length]
|
|
2673
2673
|
}
|
|
2674
2674
|
) : prompt ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2675
|
-
|
|
2675
|
+
_chunkKM2TVQCHcjs.QuickActionChipButton,
|
|
2676
2676
|
{
|
|
2677
2677
|
variant: "question",
|
|
2678
2678
|
label: prompt.label,
|
|
@@ -2707,7 +2707,7 @@ function AskPrompts({
|
|
|
2707
2707
|
if (!loading && prompts.length === 0) return null;
|
|
2708
2708
|
const end = align === "end";
|
|
2709
2709
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2710
|
-
|
|
2710
|
+
_chunkKM2TVQCHcjs.ScrollShadow,
|
|
2711
2711
|
{
|
|
2712
2712
|
axis: "horizontal",
|
|
2713
2713
|
color: fadeColor,
|
|
@@ -2809,7 +2809,7 @@ function useAskPrompts({
|
|
|
2809
2809
|
const assistant = _chunkEWPR7662cjs.useAssistantRuntime.call(void 0, );
|
|
2810
2810
|
const base = assistantAvailable(assistant) ? assistant.askPromptsUrl : void 0;
|
|
2811
2811
|
const url = base && enabled ? buildAskPromptsUrl(base, { count, topic, exclude }) : null;
|
|
2812
|
-
const { data, dataUrl, error } =
|
|
2812
|
+
const { data, dataUrl, error } = _chunkOJLZ7PGOcjs.useSelfFetch.call(void 0, url);
|
|
2813
2813
|
const landed = url !== null && (dataUrl === url || error);
|
|
2814
2814
|
return { prompts: landed ? _nullishCoalesce(_optionalChain([data, 'optionalAccess', _97 => _97.prompts]), () => ( [])) : [], isLoading: !!base && !landed, supported: !!base };
|
|
2815
2815
|
}
|
|
@@ -3012,7 +3012,7 @@ function QuickActionMarquee({
|
|
|
3012
3012
|
);
|
|
3013
3013
|
if (items.length === 0) return null;
|
|
3014
3014
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3015
|
-
|
|
3015
|
+
_chunkKM2TVQCHcjs.QuickActionWall,
|
|
3016
3016
|
{
|
|
3017
3017
|
chips,
|
|
3018
3018
|
mode,
|
|
@@ -3139,7 +3139,7 @@ ChatTicketItem.displayName = "ChatTicketItem";
|
|
|
3139
3139
|
|
|
3140
3140
|
var ChatTicketList = _react.forwardRef.call(void 0,
|
|
3141
3141
|
({ className, tickets, onTicketClick, isLoading = false, skeletonCount = 5, ...props }, ref) => {
|
|
3142
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
3142
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkKM2TVQCHcjs.useScrollFade.call(void 0, );
|
|
3143
3143
|
if (isLoading) {
|
|
3144
3144
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, className: _chunk65VVJSQZcjs.cn.call(void 0, "flex min-h-0 flex-col gap-2", className), ...props, children: [
|
|
3145
3145
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "shrink-0 text-ods-text-secondary text-h5", children: "Your Chats:" }),
|
|
@@ -3159,8 +3159,8 @@ var ChatTicketList = _react.forwardRef.call(void 0,
|
|
|
3159
3159
|
),
|
|
3160
3160
|
children: [
|
|
3161
3161
|
/* @__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)) }),
|
|
3162
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3163
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3162
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKM2TVQCHcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
3163
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKM2TVQCHcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
3164
3164
|
]
|
|
3165
3165
|
}
|
|
3166
3166
|
)
|
|
@@ -3571,7 +3571,7 @@ function OnboardingCarousel({
|
|
|
3571
3571
|
var ADMIN_CONTENT_CARD_GRID_CLASS = "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-[var(--spacing-system-lf)]";
|
|
3572
3572
|
function AdminContentCardGridSkeleton({
|
|
3573
3573
|
count = 12,
|
|
3574
|
-
Skeleton =
|
|
3574
|
+
Skeleton = _chunkMYHS4W2Hcjs.AdminContentCardSkeleton,
|
|
3575
3575
|
className,
|
|
3576
3576
|
label = "Loading",
|
|
3577
3577
|
region = true
|
|
@@ -3594,7 +3594,7 @@ function AdminContentCardGrid({
|
|
|
3594
3594
|
itemKey,
|
|
3595
3595
|
renderCard,
|
|
3596
3596
|
empty,
|
|
3597
|
-
Skeleton =
|
|
3597
|
+
Skeleton = _chunkMYHS4W2Hcjs.AdminContentCardSkeleton,
|
|
3598
3598
|
className,
|
|
3599
3599
|
loadingLabel,
|
|
3600
3600
|
loadingRegion
|
|
@@ -3669,23 +3669,23 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
3669
3669
|
metaParts.push(
|
|
3670
3670
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
3671
3671
|
);
|
|
3672
|
-
const href =
|
|
3672
|
+
const href = _chunkMYHS4W2Hcjs.safeHref.call(void 0, item.url);
|
|
3673
3673
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3674
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3675
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3676
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3677
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3678
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3674
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOWDRZM73cjs.SlackIcon, { className: "h-5 w-5" }) }),
|
|
3675
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3676
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_TITLE, children: item.title }) }),
|
|
3677
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_SUMMARY, children: item.preview || _chunkMYHS4W2Hcjs.COMPACT_CARD_ROW_FILLER }) }),
|
|
3678
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
3679
3679
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
3680
3680
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
3681
|
-
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3681
|
+
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_SUMMARY, children: _chunkMYHS4W2Hcjs.COMPACT_CARD_ROW_FILLER }) }) })
|
|
3682
3682
|
] }),
|
|
3683
3683
|
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
|
|
3684
3684
|
] });
|
|
3685
3685
|
if (anchorProps) {
|
|
3686
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
3686
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkMYHS4W2Hcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
3687
3687
|
}
|
|
3688
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
3688
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkMYHS4W2Hcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkMYHS4W2Hcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
3689
3689
|
}
|
|
3690
3690
|
function SlackMessageCardSkeleton({
|
|
3691
3691
|
variant = "compact",
|
|
@@ -3693,7 +3693,7 @@ function SlackMessageCardSkeleton({
|
|
|
3693
3693
|
}) {
|
|
3694
3694
|
if (variant === "row") {
|
|
3695
3695
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3696
|
-
|
|
3696
|
+
_chunkMYHS4W2Hcjs.ActivityRowSkeleton,
|
|
3697
3697
|
{
|
|
3698
3698
|
lead: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3699
3699
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.UnifiedSkeleton, { className: "h-3.5 w-3.5 shrink-0 rounded" }),
|
|
@@ -3705,7 +3705,7 @@ function SlackMessageCardSkeleton({
|
|
|
3705
3705
|
);
|
|
3706
3706
|
}
|
|
3707
3707
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3708
|
-
|
|
3708
|
+
_chunkMYHS4W2Hcjs.CompactCardSkeleton,
|
|
3709
3709
|
{
|
|
3710
3710
|
titleWidth: "w-2/3",
|
|
3711
3711
|
rows: [{ width: "w-5/6" }, { width: "w-1/3" }],
|
|
@@ -3746,7 +3746,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3746
3746
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
3747
3747
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "max-w-[260px] shrink-0 truncate text-ods-text-primary text-h6", children: item.title }),
|
|
3748
3748
|
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,
|
|
3749
|
-
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3749
|
+
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.StatusBadge, { text: statusText, variant: "button", colorScheme: statusScheme(item.status) }) : null,
|
|
3750
3750
|
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "w-24 shrink-0 text-right text-ods-text-secondary text-h6", children: dateText }) : null
|
|
3751
3751
|
] });
|
|
3752
3752
|
}
|
|
@@ -3760,13 +3760,13 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3760
3760
|
metaParts.push(
|
|
3761
3761
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
3762
3762
|
);
|
|
3763
|
-
const href =
|
|
3763
|
+
const href = _chunkMYHS4W2Hcjs.safeHref.call(void 0, item.url);
|
|
3764
3764
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3765
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3765
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3766
3766
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
3767
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3767
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkMYHS4W2Hcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
3768
3768
|
priorityText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3769
|
-
|
|
3769
|
+
_chunkMYHS4W2Hcjs.StatusBadge,
|
|
3770
3770
|
{
|
|
3771
3771
|
text: priorityText,
|
|
3772
3772
|
variant: "button",
|
|
@@ -3775,7 +3775,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3775
3775
|
}
|
|
3776
3776
|
) : null,
|
|
3777
3777
|
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3778
|
-
|
|
3778
|
+
_chunkMYHS4W2Hcjs.StatusBadge,
|
|
3779
3779
|
{
|
|
3780
3780
|
text: statusText,
|
|
3781
3781
|
variant: "button",
|
|
@@ -3789,7 +3789,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3789
3789
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: item.customerEmail })
|
|
3790
3790
|
] }) : null,
|
|
3791
3791
|
/* @__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." }) }) }),
|
|
3792
|
-
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3792
|
+
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
3793
3793
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
3794
3794
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
3795
3795
|
] }, i)) }) }) : null
|
|
@@ -3797,9 +3797,9 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3797
3797
|
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
|
|
3798
3798
|
] });
|
|
3799
3799
|
if (anchorProps) {
|
|
3800
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
3800
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkMYHS4W2Hcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
3801
3801
|
}
|
|
3802
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
3802
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkMYHS4W2Hcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkMYHS4W2Hcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
3803
3803
|
}
|
|
3804
3804
|
function HubspotTicketCardSkeleton({
|
|
3805
3805
|
variant = "compact",
|
|
@@ -3814,7 +3814,7 @@ function HubspotTicketCardSkeleton({
|
|
|
3814
3814
|
] });
|
|
3815
3815
|
}
|
|
3816
3816
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3817
|
-
|
|
3817
|
+
_chunkMYHS4W2Hcjs.CompactCardSkeleton,
|
|
3818
3818
|
{
|
|
3819
3819
|
slot: false,
|
|
3820
3820
|
titleWidth: "w-2/3",
|
|
@@ -3832,10 +3832,10 @@ function HubspotTicketCardSkeleton({
|
|
|
3832
3832
|
function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
3833
3833
|
if (_chunkXFRBEXQNcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataRoomDocCardSkeleton, { className });
|
|
3834
3834
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3835
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3835
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3836
3836
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
3837
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3838
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3837
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkMYHS4W2Hcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
3838
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.StatusBadge, { text: badgeText, variant: "button", colorScheme: "cyan", className: "shrink-0" })
|
|
3839
3839
|
] }),
|
|
3840
3840
|
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: [
|
|
3841
3841
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/70", children: "Path:" }),
|
|
@@ -3846,13 +3846,13 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
|
3846
3846
|
_optionalChain([anchorProps, 'optionalAccess', _121 => _121.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
|
|
3847
3847
|
] });
|
|
3848
3848
|
if (!anchorProps) {
|
|
3849
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3849
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkMYHS4W2Hcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
3850
3850
|
}
|
|
3851
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
3851
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkMYHS4W2Hcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
3852
3852
|
}
|
|
3853
3853
|
function DataRoomDocCardSkeleton({ className }) {
|
|
3854
3854
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3855
|
-
|
|
3855
|
+
_chunkMYHS4W2Hcjs.CompactCardSkeleton,
|
|
3856
3856
|
{
|
|
3857
3857
|
slot: false,
|
|
3858
3858
|
titleWidth: "w-2/3",
|
|
@@ -3871,24 +3871,24 @@ function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
|
3871
3871
|
if (_chunkXFRBEXQNcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CampaignCardAdminSkeleton, { className });
|
|
3872
3872
|
const goalsCount = _optionalChain([campaign, 'access', _122 => _122.goals, 'optionalAccess', _123 => _123.length]) || 0;
|
|
3873
3873
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3874
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3875
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3876
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3877
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3878
|
-
campaign.start_date ?
|
|
3874
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
|
|
3875
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3876
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
|
|
3877
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_SUBTITLE, children: [
|
|
3878
|
+
campaign.start_date ? _chunkMYHS4W2Hcjs.formatDateShort.call(void 0, campaign.start_date) : null,
|
|
3879
3879
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
3880
3880
|
"Marketing campaign"
|
|
3881
3881
|
].filter(Boolean).join(" \xB7 ") }) }),
|
|
3882
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3882
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_SUMMARY, children: campaign.description || _chunkMYHS4W2Hcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
3883
3883
|
] })
|
|
3884
3884
|
] });
|
|
3885
3885
|
if (anchorProps) {
|
|
3886
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
3886
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkMYHS4W2Hcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: innerChildren });
|
|
3887
3887
|
}
|
|
3888
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3888
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkMYHS4W2Hcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: innerChildren });
|
|
3889
3889
|
}
|
|
3890
3890
|
function CampaignCardAdminSkeleton({ className }) {
|
|
3891
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3891
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.CompactCardSkeleton, { rows: [{ width: "w-1/2" }, { width: "w-11/12" }], className });
|
|
3892
3892
|
}
|
|
3893
3893
|
|
|
3894
3894
|
// src/components/chat/entity-cards/generic-entity-card.tsx
|
|
@@ -3896,14 +3896,14 @@ function CampaignCardAdminSkeleton({ className }) {
|
|
|
3896
3896
|
|
|
3897
3897
|
function GenericEntityCard({ item, className, anchorProps }) {
|
|
3898
3898
|
if (_chunkXFRBEXQNcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, GenericEntityCardSkeleton, { className });
|
|
3899
|
-
const href =
|
|
3899
|
+
const href = _chunkMYHS4W2Hcjs.safeHref.call(void 0, item.url);
|
|
3900
3900
|
const dateText = _chunkHY6BCZH7cjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
3901
3901
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3902
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3902
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3903
3903
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
3904
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3904
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkMYHS4W2Hcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
3905
3905
|
item.badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3906
|
-
|
|
3906
|
+
_chunkMYHS4W2Hcjs.StatusBadge,
|
|
3907
3907
|
{
|
|
3908
3908
|
text: item.badge.text,
|
|
3909
3909
|
variant: "button",
|
|
@@ -3921,18 +3921,18 @@ function GenericEntityCard({ item, className, anchorProps }) {
|
|
|
3921
3921
|
] }),
|
|
3922
3922
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate font-medium text-ods-text-primary", children: f.value })
|
|
3923
3923
|
] }, i)) }) : null,
|
|
3924
|
-
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3924
|
+
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }) }) }) : null
|
|
3925
3925
|
] }),
|
|
3926
3926
|
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
|
|
3927
3927
|
] });
|
|
3928
3928
|
if (anchorProps) {
|
|
3929
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
3929
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkMYHS4W2Hcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
3930
3930
|
}
|
|
3931
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, className: `${
|
|
3931
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, className: `${_chunkMYHS4W2Hcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkMYHS4W2Hcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
3932
3932
|
}
|
|
3933
3933
|
function GenericEntityCardSkeleton({ className }) {
|
|
3934
3934
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3935
|
-
|
|
3935
|
+
_chunkMYHS4W2Hcjs.CompactCardSkeleton,
|
|
3936
3936
|
{
|
|
3937
3937
|
slot: false,
|
|
3938
3938
|
titleWidth: "w-2/3",
|
|
@@ -5171,7 +5171,7 @@ function Section({ title, description, children }) {
|
|
|
5171
5171
|
] });
|
|
5172
5172
|
}
|
|
5173
5173
|
function ProxyCredentialsPanel({ description }) {
|
|
5174
|
-
const hydrated =
|
|
5174
|
+
const hydrated = _chunkKM2TVQCHcjs.useIsHydrated.call(void 0, );
|
|
5175
5175
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5176
5176
|
ProxyCredentialsForm,
|
|
5177
5177
|
{
|
|
@@ -5232,13 +5232,13 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
5232
5232
|
setStatus("Cleared. Requests use the session again.");
|
|
5233
5233
|
};
|
|
5234
5234
|
const setField = (field, value) => setOptional((prev) => ({ ...prev, [field]: value }));
|
|
5235
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5235
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.Card, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMYHS4W2Hcjs.CardContent, { className: "space-y-[var(--spacing-system-lf)] p-[var(--spacing-system-mf)]", children: [
|
|
5236
5236
|
/* @__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: [
|
|
5237
5237
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
5238
5238
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h3", children: "Proxy credentials" }),
|
|
5239
5239
|
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: description })
|
|
5240
5240
|
] }),
|
|
5241
|
-
activeEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5241
|
+
activeEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.StatusBadge, { singleLine: true, colorScheme: "success", text: `Active: ${activeEmail}` }) })
|
|
5242
5242
|
] }),
|
|
5243
5243
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5244
5244
|
Section,
|
|
@@ -5335,21 +5335,21 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
5335
5335
|
|
|
5336
5336
|
// src/components/chat/index.ts
|
|
5337
5337
|
var LoadedEmbeddableChat = _react.lazy.call(void 0,
|
|
5338
|
-
() => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-
|
|
5338
|
+
() => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-XZUWAK4W.cjs"))).then((module) => ({ default: module.EmbeddableChat }))
|
|
5339
5339
|
);
|
|
5340
5340
|
var EmbeddableChat = _react.forwardRef.call(void 0, (props, ref) => {
|
|
5341
5341
|
const [loadRequested, setLoadRequested] = _react.useState.call(void 0, false);
|
|
5342
5342
|
const load = loadRequested || Boolean(props.open) || Boolean(props.defaultOpen);
|
|
5343
|
-
_react.useEffect.call(void 0, () =>
|
|
5343
|
+
_react.useEffect.call(void 0, () => _chunkKM2TVQCHcjs.holdAskAiOpens.call(void 0, ), []);
|
|
5344
5344
|
_react.useEffect.call(void 0, () => {
|
|
5345
5345
|
if (load) return void 0;
|
|
5346
5346
|
const start = () => setLoadRequested(true);
|
|
5347
|
-
if (
|
|
5348
|
-
for (const name of
|
|
5349
|
-
const cancel =
|
|
5347
|
+
if (_chunkKM2TVQCHcjs.askAiOpenIsHeld.call(void 0, )) queueMicrotask(start);
|
|
5348
|
+
for (const name of _chunkKM2TVQCHcjs.ASK_AI_OPEN_EVENTS) window.addEventListener(name, start);
|
|
5349
|
+
const cancel = _chunkKM2TVQCHcjs.onAskAiIntent.call(void 0, start);
|
|
5350
5350
|
return () => {
|
|
5351
5351
|
cancel();
|
|
5352
|
-
for (const name of
|
|
5352
|
+
for (const name of _chunkKM2TVQCHcjs.ASK_AI_OPEN_EVENTS) window.removeEventListener(name, start);
|
|
5353
5353
|
};
|
|
5354
5354
|
}, [load]);
|
|
5355
5355
|
if (!load) return null;
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkMYHS4W2Hcjs = require('./chunk-MYHS4W2H.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
var _chunkSETFUCZAcjs = require('./chunk-SETFUCZA.cjs');
|
|
@@ -154,7 +154,7 @@ function pickBadgePaletteColor({
|
|
|
154
154
|
|
|
155
155
|
function PaletteBadge({ text, color, className, variant = "button" }) {
|
|
156
156
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
157
|
-
|
|
157
|
+
_chunkMYHS4W2Hcjs.StatusBadge,
|
|
158
158
|
{
|
|
159
159
|
text,
|
|
160
160
|
colorScheme: isBadgePaletteKey(color) ? color : "default",
|
|
@@ -243,7 +243,7 @@ var STATUS_BADGE_SCHEME = {
|
|
|
243
243
|
abandoned: "default"
|
|
244
244
|
};
|
|
245
245
|
function EmployeeEntryBadge({ children }) {
|
|
246
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
246
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.StatusBadge, { text: children, colorScheme: "default", variant: "button", singleLine: true });
|
|
247
247
|
}
|
|
248
248
|
function EmployeeEntryCard({
|
|
249
249
|
entry,
|
|
@@ -255,9 +255,9 @@ function EmployeeEntryCard({
|
|
|
255
255
|
anchorProps,
|
|
256
256
|
className
|
|
257
257
|
}) {
|
|
258
|
-
const authorAvatar =
|
|
258
|
+
const authorAvatar = _chunkMYHS4W2Hcjs.useProxiedImageUrl.call(void 0, _optionalChain([entry, 'access', _7 => _7.author, 'optionalAccess', _8 => _8.avatar_url]), { directHttps: false });
|
|
259
259
|
const card = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
260
|
-
|
|
260
|
+
_chunkMYHS4W2Hcjs.AdminContentCard,
|
|
261
261
|
{
|
|
262
262
|
imageUrl: entry.featured_image || entry.main_video_thumbnail,
|
|
263
263
|
placeholderUrl,
|
|
@@ -265,7 +265,7 @@ function EmployeeEntryCard({
|
|
|
265
265
|
summary: (_nullishCoalesce(entry.summary, () => ( ""))).slice(0, 140) || "No description",
|
|
266
266
|
badges: entry.status || extraBadges ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
267
267
|
entry.status ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
268
|
-
|
|
268
|
+
_chunkMYHS4W2Hcjs.StatusBadge,
|
|
269
269
|
{
|
|
270
270
|
text: entry.status,
|
|
271
271
|
colorScheme: _nullishCoalesce(STATUS_BADGE_SCHEME[entry.status], () => ( "default")),
|
|
@@ -301,7 +301,7 @@ function EmployeeEntryCard({
|
|
|
301
301
|
return anchorProps ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: "block h-full", children: card }) : card;
|
|
302
302
|
}
|
|
303
303
|
function EmployeeEntryCardSkeleton({ className, actions = false }) {
|
|
304
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
304
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.AdminContentCardSkeleton, { className, actions, subtitleRow: false });
|
|
305
305
|
}
|
|
306
306
|
|
|
307
307
|
// src/components/chat/entity-cards/what-i-shipped-card.tsx
|
|
@@ -389,40 +389,40 @@ function ProductReleaseCard({
|
|
|
389
389
|
changelogCounts,
|
|
390
390
|
loading = false
|
|
391
391
|
}) {
|
|
392
|
-
if (_chunkXFRBEXQNcjs.useLoadingScope.call(void 0, ) || loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
392
|
+
if (_chunkXFRBEXQNcjs.useLoadingScope.call(void 0, ) || loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.ProductReleaseCardSkeleton, { size, className });
|
|
393
393
|
if (size === "lg") {
|
|
394
394
|
const totalChangelog = (_nullishCoalesce(_optionalChain([changelogCounts, 'optionalAccess', _17 => _17.features]), () => ( 0))) + (_nullishCoalesce(_optionalChain([changelogCounts, 'optionalAccess', _18 => _18.fixes]), () => ( 0))) + (_nullishCoalesce(_optionalChain([changelogCounts, 'optionalAccess', _19 => _19.improvements]), () => ( 0))) + (_nullishCoalesce(_optionalChain([changelogCounts, 'optionalAccess', _20 => _20.breaking]), () => ( 0)));
|
|
395
395
|
const valueCells = [
|
|
396
396
|
releaseType && releaseTypeBadgeColor ? {
|
|
397
397
|
value: releaseType.toUpperCase(),
|
|
398
|
-
label:
|
|
398
|
+
label: _chunkMYHS4W2Hcjs.RELEASE_CARD_CELL_LABELS[0],
|
|
399
399
|
uppercase: true,
|
|
400
400
|
colorScheme: releaseTypeBadgeColor
|
|
401
|
-
} : { value: "\u2014", label:
|
|
401
|
+
} : { value: "\u2014", label: _chunkMYHS4W2Hcjs.RELEASE_CARD_CELL_LABELS[0], uppercase: false },
|
|
402
402
|
releaseStatus ? {
|
|
403
403
|
value: releaseStatus.toUpperCase(),
|
|
404
|
-
label:
|
|
404
|
+
label: _chunkMYHS4W2Hcjs.RELEASE_CARD_CELL_LABELS[1],
|
|
405
405
|
uppercase: true
|
|
406
|
-
} : { value: "\u2014", label:
|
|
406
|
+
} : { value: "\u2014", label: _chunkMYHS4W2Hcjs.RELEASE_CARD_CELL_LABELS[1], uppercase: false },
|
|
407
407
|
formattedDate ? {
|
|
408
408
|
value: formattedDate,
|
|
409
|
-
label:
|
|
409
|
+
label: _chunkMYHS4W2Hcjs.RELEASE_CARD_CELL_LABELS[2],
|
|
410
410
|
uppercase: false
|
|
411
|
-
} : { value: "\u2014", label:
|
|
411
|
+
} : { value: "\u2014", label: _chunkMYHS4W2Hcjs.RELEASE_CARD_CELL_LABELS[2], uppercase: false }
|
|
412
412
|
];
|
|
413
413
|
const effectiveAuthor = _optionalChain([author, 'optionalAccess', _21 => _21.full_name]) ? author : { full_name: "\u2014", avatar_url: null, job_title: "Unknown" };
|
|
414
|
-
const dividerClass =
|
|
414
|
+
const dividerClass = _chunkMYHS4W2Hcjs.RELEASE_CARD_CELL_DIVIDER_CLASS;
|
|
415
415
|
const interactive = !!anchorProps || !!onClick;
|
|
416
416
|
const frameClass = _chunk65VVJSQZcjs.cn.call(void 0,
|
|
417
|
-
interactive ?
|
|
418
|
-
|
|
417
|
+
interactive ? _chunkMYHS4W2Hcjs.CONTENT_CARD_FRAME_CLASS : _chunkMYHS4W2Hcjs.CONTENT_CARD_SKELETON_FRAME_CLASS,
|
|
418
|
+
_chunkMYHS4W2Hcjs.RELEASE_CARD_LG_FRAME_CLASS,
|
|
419
419
|
"focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent focus-visible:ring-offset-2 focus-visible:ring-offset-ods-bg",
|
|
420
420
|
"no-underline",
|
|
421
421
|
className
|
|
422
422
|
);
|
|
423
423
|
const innerLayout = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
424
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
425
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
424
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkMYHS4W2Hcjs.RELEASE_CARD_HERO_CLASS, children: [
|
|
425
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkMYHS4W2Hcjs.RELEASE_CARD_COVER_COLUMN_CLASS, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, _chunkMYHS4W2Hcjs.RELEASE_CARD_COVER_BOX_CLASS, "bg-ods-bg"), children: [
|
|
426
426
|
coverImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
427
427
|
_chunkE76ONBKFcjs.next_image_default,
|
|
428
428
|
{
|
|
@@ -436,16 +436,16 @@ function ProductReleaseCard({
|
|
|
436
436
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute inset-0 flex items-center justify-center text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Package, { className: "h-8 w-8" }) }),
|
|
437
437
|
hasVideoCover && coverImage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSETFUCZAcjs.CardHoverPlay, { size: "md" })
|
|
438
438
|
] }) }),
|
|
439
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
440
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
439
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkMYHS4W2Hcjs.RELEASE_CARD_TEXT_COLUMN_CLASS, children: [
|
|
440
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkMYHS4W2Hcjs.RELEASE_CARD_VERSION_ROW_CLASS, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.RELEASE_CARD_VERSION_CLASS, children: [
|
|
441
441
|
"v",
|
|
442
442
|
version
|
|
443
443
|
] }) }),
|
|
444
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
445
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
444
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkMYHS4W2Hcjs.RELEASE_CARD_TITLE_BOX_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: _chunkMYHS4W2Hcjs.RELEASE_CARD_TITLE_CLASS, children: title }) }),
|
|
445
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkMYHS4W2Hcjs.RELEASE_CARD_SUMMARY_BOX_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkMYHS4W2Hcjs.RELEASE_CARD_SUMMARY_CLASS, children: _nullishCoalesce(summary, () => ( "")) }) })
|
|
446
446
|
] })
|
|
447
447
|
] }),
|
|
448
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
448
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkMYHS4W2Hcjs.RELEASE_CARD_CHANGELOG_CLASS, children: totalChangelog > 0 && changelogCounts ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
449
449
|
changelogCounts.features > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { "data-loading-item": true, className: "inline-flex items-center gap-1.5", children: [
|
|
450
450
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Sparkles, { className: "h-3.5 w-3.5" }),
|
|
451
451
|
changelogCounts.features,
|
|
@@ -470,10 +470,10 @@ function ProductReleaseCard({
|
|
|
470
470
|
" breaking"
|
|
471
471
|
] })
|
|
472
472
|
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "data-loading-item": true, className: "text-ods-text-secondary", children: "No changelog entries yet" }) }),
|
|
473
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
474
|
-
valueCells.map((cell, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
473
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkMYHS4W2Hcjs.RELEASE_CARD_GRID_CLASS, children: [
|
|
474
|
+
valueCells.map((cell, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, _chunkMYHS4W2Hcjs.RELEASE_CARD_CELL_CLASS, dividerClass), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkMYHS4W2Hcjs.RELEASE_CARD_CELL_STACK_CLASS, children: [
|
|
475
475
|
cell.colorScheme ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
476
|
-
|
|
476
|
+
_chunkMYHS4W2Hcjs.StatusBadge,
|
|
477
477
|
{
|
|
478
478
|
text: cell.value,
|
|
479
479
|
variant: "card",
|
|
@@ -493,7 +493,7 @@ function ProductReleaseCard({
|
|
|
493
493
|
children: cell.uppercase ? cell.value.toLocaleUpperCase() : cell.value
|
|
494
494
|
}
|
|
495
495
|
),
|
|
496
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className:
|
|
496
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkMYHS4W2Hcjs.RELEASE_CARD_CELL_LABEL_CLASS, children: cell.label })
|
|
497
497
|
] }) }, `${cell.label}-${i}`)),
|
|
498
498
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3 p-4", children: [
|
|
499
499
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|