@flamingo-stack/openframe-frontend-core 0.0.260 → 0.0.261
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-LCYDTEEK.cjs → chunk-2XUWR7AH.cjs} +18 -16
- package/dist/chunk-2XUWR7AH.cjs.map +1 -0
- package/dist/{chunk-FBH73RRM.cjs → chunk-36HLBLDK.cjs} +297 -295
- package/dist/chunk-36HLBLDK.cjs.map +1 -0
- package/dist/{chunk-CBIQDPHK.js → chunk-6AIXHYBZ.js} +5 -3
- package/dist/{chunk-CBIQDPHK.js.map → chunk-6AIXHYBZ.js.map} +1 -1
- package/dist/{chunk-EB76VWM4.cjs → chunk-7MNBE7XA.cjs} +2 -95
- package/dist/chunk-7MNBE7XA.cjs.map +1 -0
- package/dist/{chunk-KQQDN2WK.cjs → chunk-A56L7UQG.cjs} +12 -12
- package/dist/{chunk-KQQDN2WK.cjs.map → chunk-A56L7UQG.cjs.map} +1 -1
- package/dist/{chunk-2VZQJIVA.js → chunk-ALEKX56R.js} +3 -3
- package/dist/{chunk-NNDLCSGR.cjs → chunk-C3FAOQAH.cjs} +25 -25
- package/dist/{chunk-NNDLCSGR.cjs.map → chunk-C3FAOQAH.cjs.map} +1 -1
- package/dist/chunk-ERFO4JFK.js +104 -0
- package/dist/chunk-ERFO4JFK.js.map +1 -0
- package/dist/{chunk-LQKMMVCC.js → chunk-GBUGYHDY.js} +14 -3
- package/dist/chunk-GBUGYHDY.js.map +1 -0
- package/dist/{chunk-D4ESVTUT.cjs → chunk-J5R3QIOJ.cjs} +14 -3
- package/dist/chunk-J5R3QIOJ.cjs.map +1 -0
- package/dist/chunk-TT2VBR7P.cjs +104 -0
- package/dist/chunk-TT2VBR7P.cjs.map +1 -0
- package/dist/{chunk-ACJPRIZC.js → chunk-TZ3PV5NT.js} +2 -2
- package/dist/{chunk-RUMSS73U.js → chunk-U7UDESAU.js} +7 -5
- package/dist/{chunk-RUMSS73U.js.map → chunk-U7UDESAU.js.map} +1 -1
- package/dist/{chunk-NAOTZAKM.js → chunk-URJQGMNH.js} +247 -340
- package/dist/chunk-URJQGMNH.js.map +1 -0
- package/dist/{chunk-AIQ4DGO7.cjs → chunk-XKA7UFED.cjs} +34 -34
- package/dist/{chunk-AIQ4DGO7.cjs.map → chunk-XKA7UFED.cjs.map} +1 -1
- package/dist/{chunk-YMZZ5THD.js → chunk-YC357BPF.js} +2 -2
- package/dist/components/chat/index.cjs +4 -3
- package/dist/components/chat/index.cjs.map +1 -1
- package/dist/components/chat/index.js +3 -2
- package/dist/components/contact/index.cjs +5 -4
- package/dist/components/contact/index.cjs.map +1 -1
- package/dist/components/contact/index.js +4 -3
- package/dist/components/faq/index.cjs +3 -2
- package/dist/components/faq/index.cjs.map +1 -1
- package/dist/components/faq/index.js +2 -1
- package/dist/components/faq-accordion.d.ts +4 -3
- package/dist/components/faq-accordion.d.ts.map +1 -1
- package/dist/components/features/entity-tag-badges.d.ts +1 -0
- package/dist/components/features/entity-tag-badges.d.ts.map +1 -1
- package/dist/components/features/index.cjs +8 -4
- package/dist/components/features/index.cjs.map +1 -1
- package/dist/components/features/index.js +7 -3
- package/dist/components/index.cjs +85 -81
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +13 -9
- package/dist/components/index.js.map +1 -1
- package/dist/components/navigation/index.cjs +4 -3
- package/dist/components/navigation/index.cjs.map +1 -1
- package/dist/components/navigation/index.js +3 -2
- package/dist/components/onboarding-guides/index.cjs +25 -23
- package/dist/components/onboarding-guides/index.cjs.map +1 -1
- package/dist/components/onboarding-guides/index.js +5 -3
- package/dist/components/onboarding-guides/index.js.map +1 -1
- package/dist/components/related-content/index.cjs +5 -4
- package/dist/components/related-content/index.cjs.map +1 -1
- package/dist/components/related-content/index.js +4 -3
- package/dist/components/tickets/index.cjs +67 -65
- package/dist/components/tickets/index.cjs.map +1 -1
- package/dist/components/tickets/index.js +8 -6
- package/dist/components/tickets/index.js.map +1 -1
- package/dist/components/ui/index.cjs +7 -5
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +6 -4
- package/dist/index.cjs +10 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -5
- package/package.json +1 -1
- package/src/components/faq-accordion.tsx +12 -7
- package/src/components/features/entity-tag-badges.tsx +4 -1
- package/dist/chunk-D4ESVTUT.cjs.map +0 -1
- package/dist/chunk-EB76VWM4.cjs.map +0 -1
- package/dist/chunk-FBH73RRM.cjs.map +0 -1
- package/dist/chunk-LCYDTEEK.cjs.map +0 -1
- package/dist/chunk-LQKMMVCC.js.map +0 -1
- package/dist/chunk-NAOTZAKM.js.map +0 -1
- /package/dist/{chunk-2VZQJIVA.js.map → chunk-ALEKX56R.js.map} +0 -0
- /package/dist/{chunk-ACJPRIZC.js.map → chunk-TZ3PV5NT.js.map} +0 -0
- /package/dist/{chunk-YMZZ5THD.js.map → chunk-YC357BPF.js.map} +0 -0
|
@@ -81,8 +81,7 @@ var _chunkPXXS27EEcjs = require('./chunk-PXXS27EE.cjs');
|
|
|
81
81
|
|
|
82
82
|
|
|
83
83
|
|
|
84
|
-
|
|
85
|
-
var _chunkEB76VWM4cjs = require('./chunk-EB76VWM4.cjs');
|
|
84
|
+
var _chunk7MNBE7XAcjs = require('./chunk-7MNBE7XA.cjs');
|
|
86
85
|
|
|
87
86
|
|
|
88
87
|
|
|
@@ -104,6 +103,9 @@ var _chunkBZFW3FOFcjs = require('./chunk-BZFW3FOF.cjs');
|
|
|
104
103
|
var _chunkG7UE6RKVcjs = require('./chunk-G7UE6RKV.cjs');
|
|
105
104
|
|
|
106
105
|
|
|
106
|
+
var _chunkTT2VBR7Pcjs = require('./chunk-TT2VBR7P.cjs');
|
|
107
|
+
|
|
108
|
+
|
|
107
109
|
|
|
108
110
|
|
|
109
111
|
|
|
@@ -515,7 +517,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
515
517
|
}
|
|
516
518
|
)
|
|
517
519
|
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
518
|
-
|
|
520
|
+
_chunk7MNBE7XAcjs.Tag,
|
|
519
521
|
{
|
|
520
522
|
label: status === "approved" ? "Approved" : "Rejected",
|
|
521
523
|
variant: status === "approved" ? "success" : "error",
|
|
@@ -865,7 +867,7 @@ var ApprovalBatchMessage = _react.forwardRef.call(void 0,
|
|
|
865
867
|
}
|
|
866
868
|
)
|
|
867
869
|
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
868
|
-
|
|
870
|
+
_chunk7MNBE7XAcjs.Tag,
|
|
869
871
|
{
|
|
870
872
|
label: status === "approved" ? "Approved" : "Rejected",
|
|
871
873
|
variant: status === "approved" ? "success" : "error",
|
|
@@ -995,7 +997,7 @@ var ThinkingDisplay = _react.forwardRef.call(void 0,
|
|
|
995
997
|
{
|
|
996
998
|
ref: innerRef,
|
|
997
999
|
className: _chunkFIG2RKZFcjs.cn.call(void 0, "text-sm leading-snug text-ods-text-secondary", thoughtMdClasses),
|
|
998
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1000
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MNBE7XAcjs.SimpleMarkdownRenderer, { content: text, textSize: "compact" })
|
|
999
1001
|
}
|
|
1000
1002
|
) }),
|
|
1001
1003
|
canToggle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[19px] flex items-center shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExpandChevron, { expanded }) })
|
|
@@ -1327,7 +1329,7 @@ function TicketStatusTag({
|
|
|
1327
1329
|
} : void 0;
|
|
1328
1330
|
const customColorClasses = color ? "bg-[var(--tag-bg)] hover:bg-[var(--tag-bg-hover)] active:bg-[var(--tag-bg-active)]" : void 0;
|
|
1329
1331
|
const tag = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1330
|
-
|
|
1332
|
+
_chunk7MNBE7XAcjs.Tag,
|
|
1331
1333
|
{
|
|
1332
1334
|
label: _nullishCoalesce(label, () => ( config.label)),
|
|
1333
1335
|
variant: _nullishCoalesce(variant, () => ( config.variant)),
|
|
@@ -1340,7 +1342,7 @@ function TicketStatusTag({
|
|
|
1340
1342
|
return tag;
|
|
1341
1343
|
}
|
|
1342
1344
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1343
|
-
|
|
1345
|
+
_chunk7MNBE7XAcjs.ActionsMenuDropdown,
|
|
1344
1346
|
{
|
|
1345
1347
|
align: "start",
|
|
1346
1348
|
groups: [
|
|
@@ -1364,7 +1366,7 @@ function TicketStatusTag({
|
|
|
1364
1366
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
1365
1367
|
// Reuse the tag's variant styling, but split into a label section and a
|
|
1366
1368
|
// separated chevron section (the common dropdown-button seam).
|
|
1367
|
-
|
|
1369
|
+
_chunk7MNBE7XAcjs.tagVariants.call(void 0, { variant: _nullishCoalesce(variant, () => ( config.variant)) }),
|
|
1368
1370
|
"w-fit shrink-0 items-stretch justify-start gap-0 overflow-hidden p-0",
|
|
1369
1371
|
"disabled:opacity-60 disabled:cursor-not-allowed",
|
|
1370
1372
|
// Custom color: bg/hover/active from the CSS vars set above.
|
|
@@ -1468,7 +1470,7 @@ var ChatHeader = React.forwardRef(
|
|
|
1468
1470
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-4 px-4 py-3", children: [
|
|
1469
1471
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
1470
1472
|
userIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center w-16 h-16 rounded-full bg-ods-accent", children: userIcon }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1471
|
-
|
|
1473
|
+
_chunk7MNBE7XAcjs.SquareAvatar,
|
|
1472
1474
|
{
|
|
1473
1475
|
src: userAvatar,
|
|
1474
1476
|
alt: userName,
|
|
@@ -2578,7 +2580,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
2578
2580
|
// Host-supplied brand icon (e.g. Mingo): render it directly,
|
|
2579
2581
|
// no filled pill — the icon carries its own brand accent.
|
|
2580
2582
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center flex-shrink-0", children: assistantIcon })
|
|
2581
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2583
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MNBE7XAcjs.SquareAvatar, { ...avatarProps })),
|
|
2582
2584
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
2583
2585
|
"text-h3 !font-mono !font-medium flex-1",
|
|
2584
2586
|
authorType === "system" ? "text-ods-open-yellow" : authorType === "admin" ? "text-ods-open-yellow" : authorType === "mingo" ? "text-ods-flamingo-cyan" : authorType === "fae" ? "text-ods-flamingo-pink" : "text-ods-text-secondary"
|
|
@@ -2597,7 +2599,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
2597
2599
|
);
|
|
2598
2600
|
if (!parts || parts.length === 0) {
|
|
2599
2601
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: wrapperClass, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2600
|
-
|
|
2602
|
+
_chunk7MNBE7XAcjs.SimpleMarkdownRenderer,
|
|
2601
2603
|
{
|
|
2602
2604
|
content: segment.text,
|
|
2603
2605
|
textSize: "compact",
|
|
@@ -2609,7 +2611,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
2609
2611
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: wrapperClass, children: parts.map((part, pIdx) => {
|
|
2610
2612
|
if (part.kind === "text") {
|
|
2611
2613
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2612
|
-
|
|
2614
|
+
_chunk7MNBE7XAcjs.SimpleMarkdownRenderer,
|
|
2613
2615
|
{
|
|
2614
2616
|
content: part.text,
|
|
2615
2617
|
textSize: "compact",
|
|
@@ -3192,7 +3194,7 @@ ChatMessageList.displayName = "ChatMessageList";
|
|
|
3192
3194
|
// src/components/chat/hooks/use-proxied-image-url.ts
|
|
3193
3195
|
function useProxiedImageUrl(url) {
|
|
3194
3196
|
const r = _chunkMEAR2WHScjs.useRequiredChatRuntime.call(void 0, );
|
|
3195
|
-
return _nullishCoalesce(
|
|
3197
|
+
return _nullishCoalesce(_chunk7MNBE7XAcjs.getProxiedImageUrl.call(void 0, _nullishCoalesce(url, () => ( "")), {
|
|
3196
3198
|
proxyPrefix: r.endpoints.imageProxyUrlPrefix,
|
|
3197
3199
|
skipDomains: r.endpoints.imageProxySkipDomains,
|
|
3198
3200
|
directHttps: true
|
|
@@ -3221,7 +3223,7 @@ function ChatMessageRow({
|
|
|
3221
3223
|
width: 40,
|
|
3222
3224
|
height: 40
|
|
3223
3225
|
}
|
|
3224
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-8 h-8 md:w-10 md:h-10 rounded-lg flex-shrink-0 flex items-center justify-center bg-ods-bg border border-ods-border text-[12px] font-medium text-ods-text-primary font-body", children:
|
|
3226
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-8 h-8 md:w-10 md:h-10 rounded-lg flex-shrink-0 flex items-center justify-center bg-ods-bg border border-ods-border text-[12px] font-medium text-ods-text-primary font-body", children: _chunk7MNBE7XAcjs.getFirstLastInitials.call(void 0, displayName) || "?" }),
|
|
3225
3227
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 max-w-full", children: [
|
|
3226
3228
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 max-w-full mb-1 min-w-0", children: [
|
|
3227
3229
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[14px] md:text-[15px] font-bold leading-[1.33] text-ods-text-primary font-body tracking-[-0.02em] truncate", children: displayName }),
|
|
@@ -3304,7 +3306,7 @@ function ChipButton({ chip }) {
|
|
|
3304
3306
|
type: "button",
|
|
3305
3307
|
onClick: chip.onSelect,
|
|
3306
3308
|
className: "shrink-0 rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent",
|
|
3307
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3309
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MNBE7XAcjs.Tag, { variant: _nullishCoalesce(chip.variant, () => ( "outline")), icon: chip.icon, label: chip.label })
|
|
3308
3310
|
}
|
|
3309
3311
|
);
|
|
3310
3312
|
}
|
|
@@ -3336,7 +3338,7 @@ function ChatQuickActionRow({
|
|
|
3336
3338
|
children: [
|
|
3337
3339
|
visibleChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChipButton, { chip }, chip.id)),
|
|
3338
3340
|
hiddenChips.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3339
|
-
|
|
3341
|
+
_chunk7MNBE7XAcjs.ActionsMenuDropdown,
|
|
3340
3342
|
{
|
|
3341
3343
|
triggerAriaLabel: "More quick actions",
|
|
3342
3344
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
@@ -3357,7 +3359,7 @@ function ChatQuickActionRow({
|
|
|
3357
3359
|
type: "button",
|
|
3358
3360
|
"aria-label": "More quick actions",
|
|
3359
3361
|
className: "shrink-0 rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent",
|
|
3360
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3362
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MNBE7XAcjs.Tag, { variant: "outline", label: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC6ASEPZLcjs.Ellipsis01Icon, { size: 16 }) })
|
|
3361
3363
|
}
|
|
3362
3364
|
)
|
|
3363
3365
|
}
|
|
@@ -3372,7 +3374,7 @@ function ChatQuickActionRow({
|
|
|
3372
3374
|
"aria-hidden": true,
|
|
3373
3375
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-1",
|
|
3374
3376
|
children: chips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3375
|
-
|
|
3377
|
+
_chunk7MNBE7XAcjs.Tag,
|
|
3376
3378
|
{
|
|
3377
3379
|
variant: _nullishCoalesce(chip.variant, () => ( "outline")),
|
|
3378
3380
|
icon: chip.icon,
|
|
@@ -3442,7 +3444,7 @@ var ChatTicketItem = React6.forwardRef(
|
|
|
3442
3444
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 text-ods-text-secondary truncate", title: subtitle, children: subtitle })
|
|
3443
3445
|
] }),
|
|
3444
3446
|
ticket.linkedTaskLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3445
|
-
|
|
3447
|
+
_chunk7MNBE7XAcjs.Tag,
|
|
3446
3448
|
{
|
|
3447
3449
|
label: ticket.linkedTaskLabel,
|
|
3448
3450
|
variant: "outline",
|
|
@@ -3703,7 +3705,7 @@ function MingoChatHistoryRow({
|
|
|
3703
3705
|
menuOpen ? "opacity-100" : "opacity-0 group-hover/row:opacity-100 focus-within:opacity-100"
|
|
3704
3706
|
),
|
|
3705
3707
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3706
|
-
|
|
3708
|
+
_chunk7MNBE7XAcjs.ActionsMenuDropdown,
|
|
3707
3709
|
{
|
|
3708
3710
|
triggerAriaLabel: "Chat actions",
|
|
3709
3711
|
groups: [{ items: menuItems }],
|
|
@@ -4083,7 +4085,7 @@ function MingoWelcome({
|
|
|
4083
4085
|
onClick: onStartGuideChat,
|
|
4084
4086
|
className: "shrink-0 rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent",
|
|
4085
4087
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4086
|
-
|
|
4088
|
+
_chunk7MNBE7XAcjs.Tag,
|
|
4087
4089
|
{
|
|
4088
4090
|
variant: hasExistingChats ? "outline" : "primary",
|
|
4089
4091
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC6ASEPZLcjs.CompassIcon, { size: 16 }),
|
|
@@ -4212,12 +4214,12 @@ function GuideWelcome({
|
|
|
4212
4214
|
type: "button",
|
|
4213
4215
|
onClick: () => _optionalChain([onQuickAction, 'optionalCall', _49 => _49(action)]),
|
|
4214
4216
|
className: "rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent",
|
|
4215
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4217
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MNBE7XAcjs.Tag, { variant: "outline", label: action.label })
|
|
4216
4218
|
},
|
|
4217
4219
|
action.id
|
|
4218
4220
|
)),
|
|
4219
4221
|
overflowActions.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4220
|
-
|
|
4222
|
+
_chunk7MNBE7XAcjs.ActionsMenuDropdown,
|
|
4221
4223
|
{
|
|
4222
4224
|
triggerAriaLabel: "More quick actions",
|
|
4223
4225
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
@@ -4234,7 +4236,7 @@ function GuideWelcome({
|
|
|
4234
4236
|
type: "button",
|
|
4235
4237
|
"aria-label": "More quick actions",
|
|
4236
4238
|
className: "rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent",
|
|
4237
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4239
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MNBE7XAcjs.Tag, { variant: "outline", label: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC6ASEPZLcjs.Ellipsis01Icon, { size: 16 }) })
|
|
4238
4240
|
}
|
|
4239
4241
|
)
|
|
4240
4242
|
}
|
|
@@ -4645,7 +4647,7 @@ function ChatPanelHeaderMobile({
|
|
|
4645
4647
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 min-w-0 items-end gap-[var(--spacing-system-m)] pt-[var(--spacing-system-xl)]", children: [
|
|
4646
4648
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-1 min-w-0 flex-col gap-[var(--spacing-system-xs)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 truncate text-h2 text-ods-text-primary", title, children: title }) }),
|
|
4647
4649
|
menuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4648
|
-
|
|
4650
|
+
_chunk7MNBE7XAcjs.ActionsMenuDropdown,
|
|
4649
4651
|
{
|
|
4650
4652
|
groups: [{ items: menuItems }],
|
|
4651
4653
|
triggerAriaLabel: "Chat actions",
|
|
@@ -4710,7 +4712,7 @@ function ChatPanelHeader({
|
|
|
4710
4712
|
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-h3 text-ods-text-primary", children: title }) }),
|
|
4711
4713
|
isArchivedView && onRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC6ASEPZLcjs.Refresh01LeftIcon, { size: 24 }) }),
|
|
4712
4714
|
showBack && !isArchivedView && menuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4713
|
-
|
|
4715
|
+
_chunk7MNBE7XAcjs.ActionsMenuDropdown,
|
|
4714
4716
|
{
|
|
4715
4717
|
triggerAriaLabel: "Chat actions",
|
|
4716
4718
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
@@ -5498,15 +5500,15 @@ _chunkG7UE6RKVcjs.init_next_navigation.call(void 0, );
|
|
|
5498
5500
|
|
|
5499
5501
|
// src/components/chat/utils/execute-navigation.ts
|
|
5500
5502
|
function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
5501
|
-
const isNewTab = runtime ?
|
|
5503
|
+
const isNewTab = runtime ? _chunk7MNBE7XAcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
5502
5504
|
if (isNewTab) {
|
|
5503
5505
|
if (_optionalChain([runtime, 'optionalAccess', _59 => _59.navigation, 'access', _60 => _60.openExternal])) runtime.navigation.openExternal(href);
|
|
5504
|
-
else window.open(href, "_blank",
|
|
5506
|
+
else window.open(href, "_blank", _chunk7MNBE7XAcjs.NEW_TAB_FEATURES);
|
|
5505
5507
|
return;
|
|
5506
5508
|
}
|
|
5507
5509
|
const handled = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _61 => _61.navigation, 'access', _62 => _62.navigate, 'optionalCall', _63 => _63({ href, path, targetPlatform })]), () => ( false));
|
|
5508
5510
|
if (!handled) {
|
|
5509
|
-
const target =
|
|
5511
|
+
const target = _chunk7MNBE7XAcjs.stripSameOriginToPath.call(void 0, href);
|
|
5510
5512
|
if (fallbackNavigate) fallbackNavigate(target);
|
|
5511
5513
|
else window.location.assign(target);
|
|
5512
5514
|
}
|
|
@@ -5562,8 +5564,8 @@ function NavLinkAnchorViaRuntime({
|
|
|
5562
5564
|
const runtime = _chunkMEAR2WHScjs.useRequiredChatRuntime.call(void 0, );
|
|
5563
5565
|
const router = _chunkG7UE6RKVcjs.useRouter.call(void 0, );
|
|
5564
5566
|
const panel = useChatPanel();
|
|
5565
|
-
const resolvedHref =
|
|
5566
|
-
const isNewTab =
|
|
5567
|
+
const resolvedHref = _chunk7MNBE7XAcjs.resolveHrefForRuntime.call(void 0, href, runtime);
|
|
5568
|
+
const isNewTab = _chunk7MNBE7XAcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
5567
5569
|
const onClick = (e) => {
|
|
5568
5570
|
const handled = handleChatNavClick(e, runtime, {
|
|
5569
5571
|
href: resolvedHref,
|
|
@@ -5576,7 +5578,7 @@ function NavLinkAnchorViaRuntime({
|
|
|
5576
5578
|
"a",
|
|
5577
5579
|
{
|
|
5578
5580
|
href: resolvedHref,
|
|
5579
|
-
...
|
|
5581
|
+
..._chunk7MNBE7XAcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
5580
5582
|
onClick,
|
|
5581
5583
|
className,
|
|
5582
5584
|
children
|
|
@@ -5947,7 +5949,7 @@ function ChatVideoEntityCard({
|
|
|
5947
5949
|
const highlightUrl = readString(m.highlightVideoUrl);
|
|
5948
5950
|
const highlightPoster = readString(m.highlightVideoPoster);
|
|
5949
5951
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5950
|
-
|
|
5952
|
+
_chunk7MNBE7XAcjs.EntityVideoSection,
|
|
5951
5953
|
{
|
|
5952
5954
|
mainVideoUrl: videoUrl,
|
|
5953
5955
|
youtubeUrl,
|
|
@@ -6164,7 +6166,7 @@ function ProductReleaseCard({
|
|
|
6164
6166
|
className: _chunkFIG2RKZFcjs.cn.call(void 0, "bg-ods-card p-4 flex flex-col gap-3", dividerClass),
|
|
6165
6167
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-0", children: [
|
|
6166
6168
|
cell.colorScheme ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6167
|
-
|
|
6169
|
+
_chunkTT2VBR7Pcjs.StatusBadge,
|
|
6168
6170
|
{
|
|
6169
6171
|
text: cell.value,
|
|
6170
6172
|
variant: "card",
|
|
@@ -6191,7 +6193,7 @@ function ProductReleaseCard({
|
|
|
6191
6193
|
)),
|
|
6192
6194
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "bg-ods-card p-4 flex items-center gap-3", children: [
|
|
6193
6195
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6194
|
-
|
|
6196
|
+
_chunk7MNBE7XAcjs.SquareAvatar,
|
|
6195
6197
|
{
|
|
6196
6198
|
src: _nullishCoalesce(effectiveAuthor.avatar_url, () => ( void 0)),
|
|
6197
6199
|
alt: effectiveAuthor.full_name,
|
|
@@ -6515,12 +6517,12 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
6515
6517
|
|
|
6516
6518
|
function BlogCardSkeleton({ size = "default" }) {
|
|
6517
6519
|
if (size === "sm") {
|
|
6518
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
6519
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6520
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
6521
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6522
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6523
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6520
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SKELETON_OUTER, children: [
|
|
6521
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
6522
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
6523
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
6524
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-2/5 rounded bg-ods-bg/70" }) }),
|
|
6525
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
6524
6526
|
] })
|
|
6525
6527
|
] });
|
|
6526
6528
|
}
|
|
@@ -6550,13 +6552,13 @@ function BlogCard({
|
|
|
6550
6552
|
hasEmbeddedVideo = false,
|
|
6551
6553
|
priority = false
|
|
6552
6554
|
}) {
|
|
6553
|
-
const { target, rel } =
|
|
6555
|
+
const { target, rel } = _chunk7MNBE7XAcjs.useEntityCardLink.call(void 0, {
|
|
6554
6556
|
href,
|
|
6555
6557
|
targetPlatform,
|
|
6556
6558
|
target: targetProp,
|
|
6557
6559
|
rel: relProp
|
|
6558
6560
|
});
|
|
6559
|
-
const placeholderUrl =
|
|
6561
|
+
const placeholderUrl = _chunk7MNBE7XAcjs.useEntityCardPlaceholder.call(void 0, {
|
|
6560
6562
|
title: post.title,
|
|
6561
6563
|
placeholderUrl: placeholderUrlProp,
|
|
6562
6564
|
aspect: size === "sm" ? "square" : "wide"
|
|
@@ -6572,10 +6574,10 @@ function BlogCard({
|
|
|
6572
6574
|
href,
|
|
6573
6575
|
target,
|
|
6574
6576
|
rel,
|
|
6575
|
-
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
6577
|
+
className: _chunkFIG2RKZFcjs.cn.call(void 0, _chunk7MNBE7XAcjs.COMPACT_CARD_OUTER, className),
|
|
6576
6578
|
"aria-label": `Read article: ${post.title}`,
|
|
6577
6579
|
children: [
|
|
6578
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6580
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_IMAGE_SLOT, children: displayImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6579
6581
|
_chunkXL4V2PYGcjs.next_image_default,
|
|
6580
6582
|
{
|
|
6581
6583
|
src: displayImage,
|
|
@@ -6587,17 +6589,17 @@ function BlogCard({
|
|
|
6587
6589
|
onError: () => setImageError(true)
|
|
6588
6590
|
}
|
|
6589
6591
|
) : null }),
|
|
6590
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
6591
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
6592
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
6593
|
-
hasEmbeddedVideo ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6592
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
6593
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0, _chunk7MNBE7XAcjs.COMPACT_CARD_TITLE_ROW, "gap-1.5"), children: [
|
|
6594
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0, _chunk7MNBE7XAcjs.COMPACT_CARD_TITLE, "font-['DM_Sans']"), children: post.title }),
|
|
6595
|
+
hasEmbeddedVideo ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTT2VBR7Pcjs.StatusBadge, { text: "Video", variant: "button", colorScheme: "cyan", className: "shrink-0" }) : null
|
|
6594
6596
|
] }),
|
|
6595
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6597
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SUBTITLE, children: [
|
|
6596
6598
|
dateStr2,
|
|
6597
6599
|
dateStr2 && firstCategory ? " \xB7 " : "",
|
|
6598
6600
|
_nullishCoalesce(firstCategory, () => ( "Blog Post"))
|
|
6599
6601
|
] }) }),
|
|
6600
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6602
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SUMMARY, children: post.summary || _chunk7MNBE7XAcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
6601
6603
|
] })
|
|
6602
6604
|
]
|
|
6603
6605
|
}
|
|
@@ -6719,12 +6721,12 @@ var hideOnError = (e) => {
|
|
|
6719
6721
|
};
|
|
6720
6722
|
function CaseStudyCardSkeleton({ size = "default" }) {
|
|
6721
6723
|
if (size === "sm") {
|
|
6722
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
6723
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6724
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
6725
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6726
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6727
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6724
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SKELETON_OUTER, children: [
|
|
6725
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
6726
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
6727
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
6728
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
6729
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
6728
6730
|
] })
|
|
6729
6731
|
] });
|
|
6730
6732
|
}
|
|
@@ -6753,21 +6755,21 @@ function CaseStudyCard({
|
|
|
6753
6755
|
size = "default",
|
|
6754
6756
|
className
|
|
6755
6757
|
}) {
|
|
6756
|
-
const { target, rel } =
|
|
6758
|
+
const { target, rel } = _chunk7MNBE7XAcjs.useEntityCardLink.call(void 0, {
|
|
6757
6759
|
href,
|
|
6758
6760
|
targetPlatform,
|
|
6759
6761
|
target: targetProp,
|
|
6760
6762
|
rel: relProp
|
|
6761
6763
|
});
|
|
6762
|
-
const placeholderUrl =
|
|
6764
|
+
const placeholderUrl = _chunk7MNBE7XAcjs.useEntityCardPlaceholder.call(void 0, {
|
|
6763
6765
|
title: study.title,
|
|
6764
6766
|
placeholderUrl: placeholderUrlProp,
|
|
6765
6767
|
aspect: size === "sm" ? "square" : "wide"
|
|
6766
6768
|
});
|
|
6767
6769
|
const coverImage = study.featured_image || placeholderUrl || null;
|
|
6768
6770
|
if (size === "sm") {
|
|
6769
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
6770
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6771
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, _chunk7MNBE7XAcjs.COMPACT_CARD_OUTER, className), children: [
|
|
6772
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_IMAGE_SLOT, children: coverImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6771
6773
|
"img",
|
|
6772
6774
|
{
|
|
6773
6775
|
src: coverImage,
|
|
@@ -6776,14 +6778,14 @@ function CaseStudyCard({
|
|
|
6776
6778
|
onError: hideOnError
|
|
6777
6779
|
}
|
|
6778
6780
|
) : null }),
|
|
6779
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
6780
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6781
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6782
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6781
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
6782
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TITLE, children: study.title }) }),
|
|
6783
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SUBTITLE, children: [_optionalChain([study, 'access', _87 => _87.msp, 'optionalAccess', _88 => _88.name]), _optionalChain([study, 'access', _89 => _89.user, 'optionalAccess', _90 => _90.full_name])].filter(Boolean).join(" \xB7 ") || "Case study" }) }),
|
|
6784
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SUMMARY, children: study.summary || _chunk7MNBE7XAcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
6783
6785
|
] })
|
|
6784
6786
|
] });
|
|
6785
6787
|
}
|
|
6786
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, "block h-full", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
6788
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, "block h-full", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7MNBE7XAcjs.Card, { className: "bg-ods-card border border-ods-border hover:border-ods-accent transition-colors p-6 flex flex-col gap-6 overflow-hidden", children: [
|
|
6787
6789
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative w-full aspect-[1200/630] rounded-sm overflow-hidden bg-ods-bg shrink-0", children: coverImage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6788
6790
|
_chunkXL4V2PYGcjs.next_image_default,
|
|
6789
6791
|
{
|
|
@@ -6846,12 +6848,12 @@ var hideOnError2 = (e) => {
|
|
|
6846
6848
|
};
|
|
6847
6849
|
function CustomerInterviewCardSkeleton({ size = "default" }) {
|
|
6848
6850
|
if (size === "sm") {
|
|
6849
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
6850
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6851
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
6852
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6853
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6854
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6851
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SKELETON_OUTER, children: [
|
|
6852
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
6853
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
6854
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
6855
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-2/5 rounded bg-ods-bg/70" }) }),
|
|
6856
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
6855
6857
|
] })
|
|
6856
6858
|
] });
|
|
6857
6859
|
}
|
|
@@ -6885,21 +6887,21 @@ function CustomerInterviewCard({
|
|
|
6885
6887
|
size = "default",
|
|
6886
6888
|
className
|
|
6887
6889
|
}) {
|
|
6888
|
-
const { target, rel } =
|
|
6890
|
+
const { target, rel } = _chunk7MNBE7XAcjs.useEntityCardLink.call(void 0, {
|
|
6889
6891
|
href,
|
|
6890
6892
|
targetPlatform,
|
|
6891
6893
|
target: targetProp,
|
|
6892
6894
|
rel: relProp
|
|
6893
6895
|
});
|
|
6894
|
-
const placeholderUrl =
|
|
6896
|
+
const placeholderUrl = _chunk7MNBE7XAcjs.useEntityCardPlaceholder.call(void 0, {
|
|
6895
6897
|
title: interview.title,
|
|
6896
6898
|
placeholderUrl: placeholderUrlProp,
|
|
6897
6899
|
aspect: size === "sm" ? "square" : "wide"
|
|
6898
6900
|
});
|
|
6899
6901
|
const thumbnailUrl = interview.featured_image || placeholderUrl || null;
|
|
6900
6902
|
if (size === "sm") {
|
|
6901
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
6902
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
6903
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, _chunk7MNBE7XAcjs.COMPACT_CARD_OUTER, className), children: [
|
|
6904
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_IMAGE_SLOT, children: [
|
|
6903
6905
|
thumbnailUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6904
6906
|
"img",
|
|
6905
6907
|
{
|
|
@@ -6911,14 +6913,14 @@ function CustomerInterviewCard({
|
|
|
6911
6913
|
) : null,
|
|
6912
6914
|
interview.main_video_url ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Video, { className: "h-4 w-4 text-white" }) }) : null
|
|
6913
6915
|
] }),
|
|
6914
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
6915
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6916
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6917
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6916
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
6917
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TITLE, children: interview.title }) }),
|
|
6918
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SUBTITLE, children: [_optionalChain([interview, 'access', _107 => _107.user, 'optionalAccess', _108 => _108.full_name]), _optionalChain([interview, 'access', _109 => _109.msp, 'optionalAccess', _110 => _110.name])].filter(Boolean).join(" \xB7 ") || "Customer interview" }) }),
|
|
6919
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SUMMARY, children: interview.video_summary || _chunk7MNBE7XAcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
6918
6920
|
] })
|
|
6919
6921
|
] });
|
|
6920
6922
|
}
|
|
6921
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, "block h-full", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
6923
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, "block h-full", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7MNBE7XAcjs.Card, { className: "bg-ods-card border border-ods-border hover:border-ods-accent transition-colors p-6 flex flex-col gap-6 overflow-hidden", children: [
|
|
6922
6924
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full aspect-[1200/630] rounded-sm overflow-hidden bg-ods-bg shrink-0 relative", children: thumbnailUrl ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
6923
6925
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6924
6926
|
"img",
|
|
@@ -6985,15 +6987,15 @@ function formatInvestorUpdatePeriod(start, end, options) {
|
|
|
6985
6987
|
|
|
6986
6988
|
function InvestorUpdateCardSkeleton({ size = "default" }) {
|
|
6987
6989
|
if (size === "sm") {
|
|
6988
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
6989
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6990
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
6991
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
6990
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SKELETON_OUTER, children: [
|
|
6991
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
6992
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
6993
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-2`, children: [
|
|
6992
6994
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-1/2 rounded bg-ods-bg" }),
|
|
6993
6995
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-8 rounded bg-ods-bg/70 shrink-0" })
|
|
6994
6996
|
] }),
|
|
6995
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6996
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6997
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) }),
|
|
6998
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
6997
6999
|
] })
|
|
6998
7000
|
] });
|
|
6999
7001
|
}
|
|
@@ -7017,13 +7019,13 @@ function InvestorUpdateCard({
|
|
|
7017
7019
|
size = "default",
|
|
7018
7020
|
className
|
|
7019
7021
|
}) {
|
|
7020
|
-
const { target, rel } =
|
|
7022
|
+
const { target, rel } = _chunk7MNBE7XAcjs.useEntityCardLink.call(void 0, {
|
|
7021
7023
|
href,
|
|
7022
7024
|
targetPlatform,
|
|
7023
7025
|
target: targetProp,
|
|
7024
7026
|
rel: relProp
|
|
7025
7027
|
});
|
|
7026
|
-
const placeholderUrl =
|
|
7028
|
+
const placeholderUrl = _chunk7MNBE7XAcjs.useEntityCardPlaceholder.call(void 0, {
|
|
7027
7029
|
title: _nullishCoalesce(update.title, () => ( `Update #${_nullishCoalesce(update.update_number, () => ( ""))}`)),
|
|
7028
7030
|
placeholderUrl: placeholderUrlProp,
|
|
7029
7031
|
aspect: size === "sm" ? "square" : "wide"
|
|
@@ -7031,8 +7033,8 @@ function InvestorUpdateCard({
|
|
|
7031
7033
|
const coverImage = update.featured_image || placeholderUrl || null;
|
|
7032
7034
|
if (size === "sm") {
|
|
7033
7035
|
const periodText = formatInvestorUpdatePeriod(update.period_start, update.period_end);
|
|
7034
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: `${
|
|
7035
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7036
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
7037
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_IMAGE_SLOT, children: coverImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7036
7038
|
"img",
|
|
7037
7039
|
{
|
|
7038
7040
|
src: coverImage,
|
|
@@ -7044,16 +7046,16 @@ function InvestorUpdateCard({
|
|
|
7044
7046
|
}
|
|
7045
7047
|
}
|
|
7046
7048
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-full w-full items-center justify-center text-ods-accent", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Calendar, { className: "h-4 w-4" }) }) }),
|
|
7047
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
7048
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
7049
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
7049
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
7050
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_TITLE_ROW} gap-2`, children: [
|
|
7051
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_TITLE} min-w-0`, children: update.title || `Update #${_nullishCoalesce(update.update_number, () => ( "?"))}` }),
|
|
7050
7052
|
update.update_number ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "shrink-0 rounded bg-ods-accent/10 px-1.5 py-0.5 text-[10px] font-medium text-ods-accent", children: [
|
|
7051
7053
|
"#",
|
|
7052
7054
|
update.update_number
|
|
7053
7055
|
] }) : null
|
|
7054
7056
|
] }),
|
|
7055
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7056
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7057
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SUBTITLE, children: periodText || "Investor update" }) }),
|
|
7058
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SUMMARY, children: (update.strategic_update || update.content || "").slice(0, 120) || _chunk7MNBE7XAcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
7057
7059
|
] })
|
|
7058
7060
|
] });
|
|
7059
7061
|
}
|
|
@@ -7544,7 +7546,7 @@ function AutocompleteInner(props, ref) {
|
|
|
7544
7546
|
className: "flex-1 flex items-center gap-2 min-w-0 overflow-hidden px-2",
|
|
7545
7547
|
children: [
|
|
7546
7548
|
multiple && visibleTags.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7547
|
-
|
|
7549
|
+
_chunk7MNBE7XAcjs.Tag,
|
|
7548
7550
|
{
|
|
7549
7551
|
variant: "outline",
|
|
7550
7552
|
labelClassName: "truncate max-w-[90px]",
|
|
@@ -7712,7 +7714,7 @@ function AutocompleteInner(props, ref) {
|
|
|
7712
7714
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6JINAOI7cjs.FieldWrapper, { label, error, className, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", ref: containerRef, children: [
|
|
7713
7715
|
popover,
|
|
7714
7716
|
multiple && showHiddenTags && hiddenTagsCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7715
|
-
|
|
7717
|
+
_chunk7MNBE7XAcjs.HiddenTagsPopup,
|
|
7716
7718
|
{
|
|
7717
7719
|
ref: hiddenTagsPopupRef,
|
|
7718
7720
|
items: hiddenTags,
|
|
@@ -7744,7 +7746,7 @@ function AutocompleteInner(props, ref) {
|
|
|
7744
7746
|
"aria-hidden": "true",
|
|
7745
7747
|
className: "absolute left-0 top-0 flex gap-2 pointer-events-none invisible -z-10",
|
|
7746
7748
|
children: selectedOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7747
|
-
|
|
7749
|
+
_chunk7MNBE7XAcjs.Tag,
|
|
7748
7750
|
{
|
|
7749
7751
|
variant: "outline",
|
|
7750
7752
|
labelClassName: "truncate max-w-[90px]",
|
|
@@ -9505,7 +9507,7 @@ function TagsManager({
|
|
|
9505
9507
|
}
|
|
9506
9508
|
),
|
|
9507
9509
|
selectedTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9508
|
-
|
|
9510
|
+
_chunk7MNBE7XAcjs.Tag,
|
|
9509
9511
|
{
|
|
9510
9512
|
label: tag.name,
|
|
9511
9513
|
variant: "outline",
|
|
@@ -11798,10 +11800,10 @@ function ListPageLayout({
|
|
|
11798
11800
|
}, [debouncedSearchValue, onSearch, searchValue]);
|
|
11799
11801
|
const hasMobileFilter = mobileFilterGroups && mobileFilterGroups.length > 0 || mobileSortConfig && mobileSortConfig.columns.length > 0;
|
|
11800
11802
|
if (error) {
|
|
11801
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11803
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MNBE7XAcjs.PageError, { message: error });
|
|
11802
11804
|
}
|
|
11803
11805
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11804
|
-
|
|
11806
|
+
_chunk7MNBE7XAcjs.ListPageContainer,
|
|
11805
11807
|
{
|
|
11806
11808
|
title,
|
|
11807
11809
|
headerActions,
|
|
@@ -11893,7 +11895,7 @@ function EntityImage({ src, alt, fallbackText, className }) {
|
|
|
11893
11895
|
setImageFailed(false);
|
|
11894
11896
|
}, [src]);
|
|
11895
11897
|
const showFallback = imageFailed || !src;
|
|
11896
|
-
const initials =
|
|
11898
|
+
const initials = _chunk7MNBE7XAcjs.getFirstLastInitials.call(void 0, _nullishCoalesce(fallbackText, () => ( alt)));
|
|
11897
11899
|
if (showFallback) {
|
|
11898
11900
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11899
11901
|
"div",
|
|
@@ -11956,7 +11958,7 @@ function TitleBlock({
|
|
|
11956
11958
|
children: [
|
|
11957
11959
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)] flex-1 min-w-0", children: [
|
|
11958
11960
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11959
|
-
|
|
11961
|
+
_chunk7MNBE7XAcjs.BackButton,
|
|
11960
11962
|
{
|
|
11961
11963
|
onClick: backButton.onClick,
|
|
11962
11964
|
label: backButton.label,
|
|
@@ -11979,7 +11981,7 @@ function TitleBlock({
|
|
|
11979
11981
|
] }) : title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-h2 text-ods-text-primary", children: title })
|
|
11980
11982
|
] }),
|
|
11981
11983
|
(hasActions || hasMenuActions || selector) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 items-center shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11982
|
-
|
|
11984
|
+
_chunk7MNBE7XAcjs.PageActions,
|
|
11983
11985
|
{
|
|
11984
11986
|
variant: actionsVariant,
|
|
11985
11987
|
actions: _nullishCoalesce(actions, () => ( [])),
|
|
@@ -14122,7 +14124,7 @@ function DashboardInfoCard({
|
|
|
14122
14124
|
_nullishCoalesce(titleSlot, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h5 text-ods-text-secondary", children: title }))),
|
|
14123
14125
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
14124
14126
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "text-h2 text-ods-text-primary", valueClassName), children: formattedValue }),
|
|
14125
|
-
percentage !== void 0 && (progressVariant === "warning" || progressVariant === "error" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14127
|
+
percentage !== void 0 && (progressVariant === "warning" || progressVariant === "error" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MNBE7XAcjs.Tag, { variant: progressVariant, label: `${percentage}%` }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-h4 text-ods-text-secondary", children: [
|
|
14126
14128
|
"(",
|
|
14127
14129
|
percentage,
|
|
14128
14130
|
"%)"
|
|
@@ -14313,7 +14315,7 @@ function DeviceCard({
|
|
|
14313
14315
|
] }),
|
|
14314
14316
|
(statusTag || device.lastSeen) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2 items-center w-full", children: [
|
|
14315
14317
|
statusTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14316
|
-
|
|
14318
|
+
_chunk7MNBE7XAcjs.Tag,
|
|
14317
14319
|
{
|
|
14318
14320
|
variant: statusTag.variant,
|
|
14319
14321
|
icon: statusTag.icon,
|
|
@@ -14327,7 +14329,7 @@ function DeviceCard({
|
|
|
14327
14329
|
formatLastSeen(device.lastSeen)
|
|
14328
14330
|
] })
|
|
14329
14331
|
] }),
|
|
14330
|
-
device.tags && device.tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 items-center w-full flex-wrap", children: device.tags.map((tag, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14332
|
+
device.tags && device.tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 items-center w-full flex-wrap", children: device.tags.map((tag, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MNBE7XAcjs.Tag, { variant: "outline", label: tag }, index)) })
|
|
14331
14333
|
]
|
|
14332
14334
|
}
|
|
14333
14335
|
);
|
|
@@ -14404,7 +14406,7 @@ function FeatureCardGrid({
|
|
|
14404
14406
|
if (allCardsHaveNoBorders) {
|
|
14405
14407
|
finalCardClassName = "bg-transparent p-0 overflow-visible border-0 shadow-none rounded-none";
|
|
14406
14408
|
}
|
|
14407
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14409
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MNBE7XAcjs.Card, { className: `${finalCardClassName} ${className}`, children: Array.from({ length: rows }, (_, rowIndex) => {
|
|
14408
14410
|
const startIndex = rowIndex * itemsPerRow;
|
|
14409
14411
|
const rowItems = items.slice(startIndex, startIndex + itemsPerRow);
|
|
14410
14412
|
const isLastRow = rowIndex === rows - 1;
|
|
@@ -14434,7 +14436,7 @@ function FeatureCardGrid({
|
|
|
14434
14436
|
item.icon && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
|
|
14435
14437
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, item.icon, { size: 80, color: item.iconColor }),
|
|
14436
14438
|
item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14437
|
-
|
|
14439
|
+
_chunkTT2VBR7Pcjs.StatusBadge,
|
|
14438
14440
|
{
|
|
14439
14441
|
text: item.badge.text,
|
|
14440
14442
|
variant: item.badge.variant || "card",
|
|
@@ -14443,7 +14445,7 @@ function FeatureCardGrid({
|
|
|
14443
14445
|
)
|
|
14444
14446
|
] }),
|
|
14445
14447
|
!item.icon && item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-start justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14446
|
-
|
|
14448
|
+
_chunkTT2VBR7Pcjs.StatusBadge,
|
|
14447
14449
|
{
|
|
14448
14450
|
text: item.badge.text,
|
|
14449
14451
|
variant: item.badge.variant || "card",
|
|
@@ -14713,7 +14715,7 @@ function DropdownButton({
|
|
|
14713
14715
|
[disabled]
|
|
14714
14716
|
);
|
|
14715
14717
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14716
|
-
|
|
14718
|
+
_chunk7MNBE7XAcjs.ActionsMenuDropdown,
|
|
14717
14719
|
{
|
|
14718
14720
|
groups: [{ items }],
|
|
14719
14721
|
open,
|
|
@@ -15655,7 +15657,7 @@ var SectionButton = ({
|
|
|
15655
15657
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 flex-wrap", children: [
|
|
15656
15658
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkFIG2RKZFcjs.cn.call(void 0, titleClasses, "font-medium text-lg leading-[24px] whitespace-normal break-words"), children: section.title }),
|
|
15657
15659
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15658
|
-
|
|
15660
|
+
_chunkTT2VBR7Pcjs.StatusBadge,
|
|
15659
15661
|
{
|
|
15660
15662
|
text: section.badge.text,
|
|
15661
15663
|
variant: section.badge.variant || "button",
|
|
@@ -15674,7 +15676,7 @@ var SectionButton = ({
|
|
|
15674
15676
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-2 flex-wrap w-full", children: [
|
|
15675
15677
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0, titleClasses, "font-bold text-[18px] leading-[24px] tracking-[-0.36px]"), style: { textAlign: "left" }, children: section.title }),
|
|
15676
15678
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15677
|
-
|
|
15679
|
+
_chunkTT2VBR7Pcjs.StatusBadge,
|
|
15678
15680
|
{
|
|
15679
15681
|
text: section.badge.text,
|
|
15680
15682
|
variant: section.badge.variant || "button",
|
|
@@ -15946,7 +15948,7 @@ function renderUnifiedUI(state, handlers, config, iframeRef) {
|
|
|
15946
15948
|
sandbox: "allow-scripts allow-same-origin allow-popups allow-presentation",
|
|
15947
15949
|
title: config.title,
|
|
15948
15950
|
loading: "eager",
|
|
15949
|
-
...
|
|
15951
|
+
..._chunk7MNBE7XAcjs.fetchPriorityProp.call(void 0, "high")
|
|
15950
15952
|
},
|
|
15951
15953
|
iframeKey
|
|
15952
15954
|
),
|
|
@@ -16784,7 +16786,7 @@ function MediaGalleryManager({
|
|
|
16784
16786
|
const renderMediaItem = _react.useCallback.call(void 0, (mediaItem, index) => {
|
|
16785
16787
|
const isDeleting = deletingIndex === index;
|
|
16786
16788
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
16787
|
-
|
|
16789
|
+
_chunk7MNBE7XAcjs.Card,
|
|
16788
16790
|
{
|
|
16789
16791
|
className: "relative group border-ods-border hover:border-ods-accent/30 transition-colors",
|
|
16790
16792
|
draggable: true,
|
|
@@ -17744,7 +17746,7 @@ var SelectButton = React89.default.forwardRef(
|
|
|
17744
17746
|
}
|
|
17745
17747
|
)
|
|
17746
17748
|
] }),
|
|
17747
|
-
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17749
|
+
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MNBE7XAcjs.Tag, { variant: tagVariant, className: "shrink-0", label: tag }),
|
|
17748
17750
|
selected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17749
17751
|
_chunkC6ASEPZLcjs.CheckCircleIcon,
|
|
17750
17752
|
{
|
|
@@ -18166,7 +18168,7 @@ var StartWithOpenFrameButton = React65.forwardRef(({ children = "Start Free Tria
|
|
|
18166
18168
|
}
|
|
18167
18169
|
) : void 0,
|
|
18168
18170
|
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18169
|
-
|
|
18171
|
+
_chunkTT2VBR7Pcjs.StatusBadge,
|
|
18170
18172
|
{
|
|
18171
18173
|
text: "Beta",
|
|
18172
18174
|
variant: "button",
|
|
@@ -21461,7 +21463,7 @@ function TicketCard({
|
|
|
21461
21463
|
),
|
|
21462
21464
|
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _385 => _385.assignees, 'optionalAccess', _386 => _386.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
|
|
21463
21465
|
ticket.assignees.slice(0, MAX_VISIBLE_ASSIGNEES).map((a) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21464
|
-
|
|
21466
|
+
_chunk7MNBE7XAcjs.SquareAvatar,
|
|
21465
21467
|
{
|
|
21466
21468
|
src: a.avatarUrl,
|
|
21467
21469
|
alt: _nullishCoalesce(_nullishCoalesce(a.name, () => ( a.initials)), () => ( a.id)),
|
|
@@ -21540,8 +21542,8 @@ function TicketTagRow({ tags }) {
|
|
|
21540
21542
|
const visible = tags.slice(0, MAX_VISIBLE_TAGS);
|
|
21541
21543
|
const hidden = tags.length - visible.length;
|
|
21542
21544
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-8 flex-wrap items-start gap-[var(--spacing-system-xxs)] overflow-clip", children: [
|
|
21543
|
-
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21544
|
-
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21545
|
+
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MNBE7XAcjs.Tag, { variant: "outline", label: tag }, tag)),
|
|
21546
|
+
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MNBE7XAcjs.Tag, { variant: "outline", label: `+${hidden}` })
|
|
21545
21547
|
] });
|
|
21546
21548
|
}
|
|
21547
21549
|
|
|
@@ -23457,7 +23459,7 @@ var AppHeader = React89.default.memo(function AppHeader2({
|
|
|
23457
23459
|
HeaderButton,
|
|
23458
23460
|
{
|
|
23459
23461
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23460
|
-
|
|
23462
|
+
_chunk7MNBE7XAcjs.SquareAvatar,
|
|
23461
23463
|
{
|
|
23462
23464
|
src: userAvatarUrl || void 0,
|
|
23463
23465
|
alt: userName || "User",
|
|
@@ -23479,7 +23481,7 @@ var AppHeader = React89.default.memo(function AppHeader2({
|
|
|
23479
23481
|
children: [
|
|
23480
23482
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "bg-ods-card border-b border-ods-border p-3 flex items-center gap-2", children: [
|
|
23481
23483
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23482
|
-
|
|
23484
|
+
_chunk7MNBE7XAcjs.SquareAvatar,
|
|
23483
23485
|
{
|
|
23484
23486
|
src: userAvatarUrl || void 0,
|
|
23485
23487
|
alt: userName || "User",
|
|
@@ -23698,7 +23700,7 @@ var MobileBurgerMenu = React89.default.memo(function MobileBurgerMenu2({
|
|
|
23698
23700
|
"aria-disabled": disabled || void 0,
|
|
23699
23701
|
children: [
|
|
23700
23702
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23701
|
-
|
|
23703
|
+
_chunk7MNBE7XAcjs.SquareAvatar,
|
|
23702
23704
|
{
|
|
23703
23705
|
src: user.userAvatarUrl || void 0,
|
|
23704
23706
|
alt: user.userName || "User",
|
|
@@ -24675,7 +24677,7 @@ function OnboardingStepCard({
|
|
|
24675
24677
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[32px] w-[120px] bg-ods-border rounded-[6px] animate-pulse" })
|
|
24676
24678
|
] }) : isCompleted ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
24677
24679
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24678
|
-
|
|
24680
|
+
_chunkTT2VBR7Pcjs.StatusBadge,
|
|
24679
24681
|
{
|
|
24680
24682
|
text: "COMPLETED",
|
|
24681
24683
|
variant: "card",
|
|
@@ -24693,7 +24695,7 @@ function OnboardingStepCard({
|
|
|
24693
24695
|
}
|
|
24694
24696
|
)
|
|
24695
24697
|
] }) : isSkipped ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24696
|
-
|
|
24698
|
+
_chunkTT2VBR7Pcjs.StatusBadge,
|
|
24697
24699
|
{
|
|
24698
24700
|
text: "SKIPPED",
|
|
24699
24701
|
variant: "card",
|
|
@@ -27496,7 +27498,7 @@ function TagSearchInput({
|
|
|
27496
27498
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 flex items-center pl-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, { className: "text-ods-text-secondary size-4 md:size-6" }) }),
|
|
27497
27499
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex-1 flex items-center gap-2 min-w-0 overflow-hidden px-2", children: [
|
|
27498
27500
|
visibleTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27499
|
-
|
|
27501
|
+
_chunk7MNBE7XAcjs.Tag,
|
|
27500
27502
|
{
|
|
27501
27503
|
variant: "outline",
|
|
27502
27504
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -27556,7 +27558,7 @@ function TagSearchInput({
|
|
|
27556
27558
|
}
|
|
27557
27559
|
),
|
|
27558
27560
|
showHiddenTags && hiddenCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27559
|
-
|
|
27561
|
+
_chunk7MNBE7XAcjs.HiddenTagsPopup,
|
|
27560
27562
|
{
|
|
27561
27563
|
ref: hiddenTagsPopupRef,
|
|
27562
27564
|
items: hiddenTags,
|
|
@@ -27586,7 +27588,7 @@ function TagSearchInput({
|
|
|
27586
27588
|
"aria-hidden": "true",
|
|
27587
27589
|
className: "absolute left-0 top-0 flex gap-2 pointer-events-none invisible -z-10",
|
|
27588
27590
|
children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27589
|
-
|
|
27591
|
+
_chunk7MNBE7XAcjs.Tag,
|
|
27590
27592
|
{
|
|
27591
27593
|
variant: "outline",
|
|
27592
27594
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -28494,7 +28496,7 @@ function ColorPresetSelect({
|
|
|
28494
28496
|
}
|
|
28495
28497
|
];
|
|
28496
28498
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28497
|
-
|
|
28499
|
+
_chunk7MNBE7XAcjs.ActionsMenuDropdown,
|
|
28498
28500
|
{
|
|
28499
28501
|
groups,
|
|
28500
28502
|
align: "start",
|
|
@@ -28644,7 +28646,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
28644
28646
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactcolorful.HexColorPicker, { color: value, onChange }),
|
|
28645
28647
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
28646
28648
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28647
|
-
|
|
28649
|
+
_chunk7MNBE7XAcjs.ActionsMenuDropdown,
|
|
28648
28650
|
{
|
|
28649
28651
|
groups: formatGroups,
|
|
28650
28652
|
align: "start",
|
|
@@ -28861,7 +28863,7 @@ function CompactAssigneeDropdown({
|
|
|
28861
28863
|
className
|
|
28862
28864
|
),
|
|
28863
28865
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28864
|
-
|
|
28866
|
+
_chunk7MNBE7XAcjs.SquareAvatar,
|
|
28865
28867
|
{
|
|
28866
28868
|
src: currentAssignee.avatarSrc,
|
|
28867
28869
|
alt: currentAssignee.name,
|
|
@@ -28927,7 +28929,7 @@ function CompactAssigneeDropdown({
|
|
|
28927
28929
|
),
|
|
28928
28930
|
children: [
|
|
28929
28931
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28930
|
-
|
|
28932
|
+
_chunk7MNBE7XAcjs.SquareAvatar,
|
|
28931
28933
|
{
|
|
28932
28934
|
src: opt.imageUrl,
|
|
28933
28935
|
alt: opt.label,
|
|
@@ -28962,7 +28964,7 @@ function DefaultAssigneeDropdown({
|
|
|
28962
28964
|
const opt = option;
|
|
28963
28965
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-sf)] w-full min-w-0", children: [
|
|
28964
28966
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28965
|
-
|
|
28967
|
+
_chunk7MNBE7XAcjs.SquareAvatar,
|
|
28966
28968
|
{
|
|
28967
28969
|
src: opt.imageUrl,
|
|
28968
28970
|
alt: opt.label,
|
|
@@ -28990,7 +28992,7 @@ function DefaultAssigneeDropdown({
|
|
|
28990
28992
|
loading: isLoading,
|
|
28991
28993
|
showChevron: false,
|
|
28992
28994
|
startAdornment: hasAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28993
|
-
|
|
28995
|
+
_chunk7MNBE7XAcjs.SquareAvatar,
|
|
28994
28996
|
{
|
|
28995
28997
|
src: currentAssignee.avatarSrc,
|
|
28996
28998
|
alt: currentAssignee.name,
|
|
@@ -29009,7 +29011,7 @@ function DefaultAssigneeDropdown({
|
|
|
29009
29011
|
if (hasAssignee) {
|
|
29010
29012
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex items-center gap-[var(--spacing-system-xs)] min-w-0", className), children: [
|
|
29011
29013
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29012
|
-
|
|
29014
|
+
_chunk7MNBE7XAcjs.SquareAvatar,
|
|
29013
29015
|
{
|
|
29014
29016
|
src: currentAssignee.avatarSrc,
|
|
29015
29017
|
alt: currentAssignee.name,
|
|
@@ -29083,7 +29085,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
29083
29085
|
),
|
|
29084
29086
|
children: [
|
|
29085
29087
|
attachment.thumbnailSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29086
|
-
|
|
29088
|
+
_chunk7MNBE7XAcjs.SquareAvatar,
|
|
29087
29089
|
{
|
|
29088
29090
|
src: attachment.thumbnailSrc,
|
|
29089
29091
|
alt: attachment.fileName,
|
|
@@ -29167,7 +29169,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
29167
29169
|
),
|
|
29168
29170
|
children: [
|
|
29169
29171
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29170
|
-
|
|
29172
|
+
_chunk7MNBE7XAcjs.SquareAvatar,
|
|
29171
29173
|
{
|
|
29172
29174
|
src: note.authorAvatar,
|
|
29173
29175
|
alt: note.authorName,
|
|
@@ -29368,7 +29370,7 @@ function TicketInfoSection({
|
|
|
29368
29370
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-2 lg:grid-cols-[1fr_1fr_1fr_auto] gap-4 px-4 py-3 bg-ods-card border-b border-ods-border items-center", children: [
|
|
29369
29371
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 min-w-0", children: [
|
|
29370
29372
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29371
|
-
|
|
29373
|
+
_chunk7MNBE7XAcjs.SquareAvatar,
|
|
29372
29374
|
{
|
|
29373
29375
|
src: _optionalChain([organization, 'optionalAccess', _613 => _613.imageSrc]),
|
|
29374
29376
|
alt: _optionalChain([organization, 'optionalAccess', _614 => _614.name]),
|
|
@@ -29443,9 +29445,9 @@ function TicketInfoSection({
|
|
|
29443
29445
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
29444
29446
|
createdAt && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 gap-4 px-4 py-3 bg-ods-bg border-b border-ods-border items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: createdAt, label: "Created" }) }),
|
|
29445
29447
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 p-4 bg-ods-bg border-b border-ods-border", children: [
|
|
29446
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29448
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MNBE7XAcjs.SimpleMarkdownRenderer, { content: description }),
|
|
29447
29449
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
29448
|
-
tags && tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Tags", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2 min-w-0", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29450
|
+
tags && tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Tags", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2 min-w-0", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MNBE7XAcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
29449
29451
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29450
29452
|
TicketNotesSection,
|
|
29451
29453
|
{
|
|
@@ -29642,18 +29644,18 @@ function TaskTypeIcon({ customItemId, className = "h-5 w-5" }) {
|
|
|
29642
29644
|
|
|
29643
29645
|
function RoadmapCardSkeleton({ size = "default" }) {
|
|
29644
29646
|
if (size === "sm") {
|
|
29645
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
29647
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SKELETON_OUTER, children: [
|
|
29646
29648
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "block h-12 w-12 aspect-square shrink-0 self-start rounded-md bg-ods-bg border border-ods-border p-1.5" }),
|
|
29647
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
29648
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
29649
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
29650
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-2`, children: [
|
|
29649
29651
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-1/2 rounded bg-ods-bg" }),
|
|
29650
29652
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-12 rounded bg-ods-bg/70 shrink-0" })
|
|
29651
29653
|
] }),
|
|
29652
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
29654
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX} flex-nowrap gap-2`, children: [
|
|
29653
29655
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-2/5 rounded bg-ods-bg/60 flex-1" }),
|
|
29654
29656
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-10 rounded bg-ods-bg/40 shrink-0" })
|
|
29655
29657
|
] }),
|
|
29656
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
29658
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-5/6 rounded bg-ods-bg/40" }) })
|
|
29657
29659
|
] })
|
|
29658
29660
|
] });
|
|
29659
29661
|
}
|
|
@@ -29692,9 +29694,9 @@ function RoadmapCard({
|
|
|
29692
29694
|
}) {
|
|
29693
29695
|
const [showScreenshots, setShowScreenshots] = _react.useState.call(void 0, false);
|
|
29694
29696
|
const logoUrl = item.icon && item.icon.startsWith("http") ? item.icon : null;
|
|
29695
|
-
const iconSrc = logoUrl ?
|
|
29697
|
+
const iconSrc = logoUrl ? _chunk7MNBE7XAcjs.getProxiedImageUrl.call(void 0, logoUrl, { directHttps: true }) || logoUrl : null;
|
|
29696
29698
|
if (size === "sm") {
|
|
29697
|
-
const compactHref =
|
|
29699
|
+
const compactHref = _chunk7MNBE7XAcjs.safeHref.call(void 0, _nullishCoalesce(href, () => ( null)));
|
|
29698
29700
|
const hasVotes = (_nullishCoalesce(item.upvotes, () => ( 0))) > 0 || (_nullishCoalesce(item.downvotes, () => ( 0))) > 0;
|
|
29699
29701
|
const hasFigma = !!item.figmaUrl;
|
|
29700
29702
|
const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _620 => _620.screenshots, 'optionalAccess', _621 => _621.length]), () => ( 0))) > 0;
|
|
@@ -29719,11 +29721,11 @@ function RoadmapCard({
|
|
|
29719
29721
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _622 => _622.title, 'optionalAccess', _623 => _623.substring, 'call', _624 => _624(0, 2)]) || "??" })
|
|
29720
29722
|
}
|
|
29721
29723
|
),
|
|
29722
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
29723
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
29724
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
29724
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
29725
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_TITLE_ROW} gap-2`, children: [
|
|
29726
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_TITLE} min-w-0`, children: item.title }),
|
|
29725
29727
|
item.status && item.status.trim().length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29726
|
-
|
|
29728
|
+
_chunkTT2VBR7Pcjs.StatusBadge,
|
|
29727
29729
|
{
|
|
29728
29730
|
text: item.status.toUpperCase(),
|
|
29729
29731
|
colorScheme: getStatusColorScheme(item.status),
|
|
@@ -29733,7 +29735,7 @@ function RoadmapCard({
|
|
|
29733
29735
|
}
|
|
29734
29736
|
) : null
|
|
29735
29737
|
] }),
|
|
29736
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
29738
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX} gap-2 text-ods-text-secondary`, children: [
|
|
29737
29739
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-[11px] leading-4 min-w-0 flex-1", children: (() => {
|
|
29738
29740
|
const parts = [
|
|
29739
29741
|
item.quarter,
|
|
@@ -29771,13 +29773,13 @@ function RoadmapCard({
|
|
|
29771
29773
|
}
|
|
29772
29774
|
) : null
|
|
29773
29775
|
] }),
|
|
29774
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
29776
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SUMMARY, children: item.description || _chunk7MNBE7XAcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
29775
29777
|
] })
|
|
29776
29778
|
] });
|
|
29777
29779
|
if (!compactHref) {
|
|
29778
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
29780
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
29779
29781
|
}
|
|
29780
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: compactHref, target, rel, className: `${
|
|
29782
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: compactHref, target, rel, className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
29781
29783
|
}
|
|
29782
29784
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `bg-ods-card border border-ods-border rounded-[6px] p-[24px] flex flex-col gap-[16px] hover:border-ods-accent transition-all h-full ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
29783
29785
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-[16px] items-center w-full", children: [
|
|
@@ -29801,7 +29803,7 @@ function RoadmapCard({
|
|
|
29801
29803
|
] }) })
|
|
29802
29804
|
] }),
|
|
29803
29805
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden md:block", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29804
|
-
|
|
29806
|
+
_chunkTT2VBR7Pcjs.StatusBadge,
|
|
29805
29807
|
{
|
|
29806
29808
|
text: item.status.toUpperCase(),
|
|
29807
29809
|
colorScheme: getStatusColorScheme(item.status),
|
|
@@ -29810,7 +29812,7 @@ function RoadmapCard({
|
|
|
29810
29812
|
) })
|
|
29811
29813
|
] }),
|
|
29812
29814
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29813
|
-
|
|
29815
|
+
_chunkTT2VBR7Pcjs.StatusBadge,
|
|
29814
29816
|
{
|
|
29815
29817
|
text: item.status.toUpperCase(),
|
|
29816
29818
|
colorScheme: getStatusColorScheme(item.status),
|
|
@@ -29857,7 +29859,7 @@ function RoadmapCard({
|
|
|
29857
29859
|
}
|
|
29858
29860
|
),
|
|
29859
29861
|
(() => {
|
|
29860
|
-
const figmaSafe =
|
|
29862
|
+
const figmaSafe = _chunk7MNBE7XAcjs.safeHref.call(void 0, item.figmaUrl);
|
|
29861
29863
|
return figmaSafe ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29862
29864
|
_chunkN5UOJC3Vcjs.Button,
|
|
29863
29865
|
{
|
|
@@ -29870,7 +29872,7 @@ function RoadmapCard({
|
|
|
29870
29872
|
) : null;
|
|
29871
29873
|
})(),
|
|
29872
29874
|
item.targetVersion && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29873
|
-
|
|
29875
|
+
_chunkTT2VBR7Pcjs.StatusBadge,
|
|
29874
29876
|
{
|
|
29875
29877
|
text: `${item.targetVersion} VERSION`,
|
|
29876
29878
|
className: "border border-ods-border"
|
|
@@ -29998,7 +30000,7 @@ function ReviewStateBadge({ state, className = "" }) {
|
|
|
29998
30000
|
function GitHubActivityCard({ item, variant = "compact", className, anchorProps }) {
|
|
29999
30001
|
const kind = _nullishCoalesce(item.kind, () => ( "commit"));
|
|
30000
30002
|
const repo = _nullishCoalesce(_nullishCoalesce(item.repo, () => ( parseRepoFromUrl(item.url))), () => ( ""));
|
|
30001
|
-
const dateText =
|
|
30003
|
+
const dateText = _chunk7MNBE7XAcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
30002
30004
|
const idLabel = formatActivityId(item.id, kind);
|
|
30003
30005
|
const { display: title, reviewState } = parseGithubTitle(item.title, kind);
|
|
30004
30006
|
const primaryText = kind === "pr_review" ? title.replace(/^by\s+/i, "").trim() || "Reviewer" : title;
|
|
@@ -30023,24 +30025,24 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
30023
30025
|
if (idLabel) metaParts.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "code", { className: "font-mono", children: idLabel }, "id"));
|
|
30024
30026
|
if (repo) metaParts.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-mono truncate", children: repo }, "repo"));
|
|
30025
30027
|
if (dateText) metaParts.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date"));
|
|
30026
|
-
const href =
|
|
30028
|
+
const href = _chunk7MNBE7XAcjs.safeHref.call(void 0, item.url);
|
|
30027
30029
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
30028
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30029
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
30030
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
30030
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
|
|
30031
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
30032
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
|
|
30031
30033
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
30032
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30034
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TITLE, children: primaryText })
|
|
30033
30035
|
] }),
|
|
30034
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30036
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React89.default.Fragment, { children: [
|
|
30035
30037
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary/40 shrink-0", children: "\xB7" }) : null,
|
|
30036
30038
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
30037
30039
|
] }, i)) }) }),
|
|
30038
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30040
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SUMMARY, children: _chunk7MNBE7XAcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
30039
30041
|
] }),
|
|
30040
30042
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) }) : null
|
|
30041
30043
|
] });
|
|
30042
30044
|
if (anchorProps) {
|
|
30043
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
30045
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
30044
30046
|
}
|
|
30045
30047
|
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30046
30048
|
"a",
|
|
@@ -30048,10 +30050,10 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
30048
30050
|
href,
|
|
30049
30051
|
target: "_blank",
|
|
30050
30052
|
rel: "noopener noreferrer",
|
|
30051
|
-
className: `${
|
|
30053
|
+
className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`,
|
|
30052
30054
|
children: body
|
|
30053
30055
|
}
|
|
30054
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
30056
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
30055
30057
|
}
|
|
30056
30058
|
function GitHubActivityCardSkeleton({ variant = "compact", className }) {
|
|
30057
30059
|
if (variant === "row") {
|
|
@@ -30065,12 +30067,12 @@ function GitHubActivityCardSkeleton({ variant = "compact", className }) {
|
|
|
30065
30067
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 bg-ods-bg/60 rounded shrink-0" })
|
|
30066
30068
|
] });
|
|
30067
30069
|
}
|
|
30068
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
30069
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30070
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
30071
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30072
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30073
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30070
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
30071
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
30072
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
30073
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
30074
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
30075
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SUMMARY, children: _chunk7MNBE7XAcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
30074
30076
|
] }),
|
|
30075
30077
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
30076
30078
|
] });
|
|
@@ -30094,7 +30096,7 @@ function parseChannelFromUrl(url) {
|
|
|
30094
30096
|
}
|
|
30095
30097
|
function SlackMessageCard({ item, variant = "compact", className, anchorProps }) {
|
|
30096
30098
|
const channel = _nullishCoalesce(_nullishCoalesce(item.channel, () => ( parseChannelFromUrl(item.url))), () => ( null));
|
|
30097
|
-
const dateText =
|
|
30099
|
+
const dateText = _chunk7MNBE7XAcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
30098
30100
|
if (variant === "row") {
|
|
30099
30101
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex items-center gap-3 min-w-0 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
30100
30102
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLGLPNWS6cjs.SlackIcon, { className: "h-3.5 w-3.5 shrink-0" }),
|
|
@@ -30117,21 +30119,21 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
30117
30119
|
);
|
|
30118
30120
|
}
|
|
30119
30121
|
if (dateText) metaParts.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date"));
|
|
30120
|
-
const href =
|
|
30122
|
+
const href = _chunk7MNBE7XAcjs.safeHref.call(void 0, item.url);
|
|
30121
30123
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
30122
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30123
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
30124
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30125
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30126
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30124
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLGLPNWS6cjs.SlackIcon, { className: "h-5 w-5" }) }),
|
|
30125
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
30126
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TITLE, children: item.title }) }),
|
|
30127
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SUMMARY, children: item.preview || _chunk7MNBE7XAcjs.COMPACT_CARD_ROW_FILLER }) }),
|
|
30128
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React89.default.Fragment, { children: [
|
|
30127
30129
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary/40 shrink-0", children: "\xB7" }) : null,
|
|
30128
30130
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
30129
|
-
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30131
|
+
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SUMMARY, children: _chunk7MNBE7XAcjs.COMPACT_CARD_ROW_FILLER }) }) })
|
|
30130
30132
|
] }),
|
|
30131
30133
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) }) : null
|
|
30132
30134
|
] });
|
|
30133
30135
|
if (anchorProps) {
|
|
30134
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
30136
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
30135
30137
|
}
|
|
30136
30138
|
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30137
30139
|
"a",
|
|
@@ -30139,10 +30141,10 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
30139
30141
|
href,
|
|
30140
30142
|
target: "_blank",
|
|
30141
30143
|
rel: "noopener noreferrer",
|
|
30142
|
-
className: `${
|
|
30144
|
+
className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`,
|
|
30143
30145
|
children: body
|
|
30144
30146
|
}
|
|
30145
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
30147
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
30146
30148
|
}
|
|
30147
30149
|
function SlackMessageCardSkeleton({ variant = "compact", className }) {
|
|
30148
30150
|
if (variant === "row") {
|
|
@@ -30154,12 +30156,12 @@ function SlackMessageCardSkeleton({ variant = "compact", className }) {
|
|
|
30154
30156
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 bg-ods-bg/60 rounded shrink-0" })
|
|
30155
30157
|
] });
|
|
30156
30158
|
}
|
|
30157
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
30158
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30159
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
30160
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30161
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30162
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30159
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
30160
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
30161
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
30162
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
30163
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-5/6 rounded bg-ods-bg/60" }) }),
|
|
30164
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
30163
30165
|
] }),
|
|
30164
30166
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
30165
30167
|
] });
|
|
@@ -30190,12 +30192,12 @@ function statusScheme(status) {
|
|
|
30190
30192
|
function HubspotTicketCard({ item, variant = "compact", className, anchorProps }) {
|
|
30191
30193
|
const statusText = _nullishCoalesce(item.statusLabel, () => ( formatToken(item.status)));
|
|
30192
30194
|
const priorityText = formatToken(item.priority);
|
|
30193
|
-
const dateText =
|
|
30195
|
+
const dateText = _chunk7MNBE7XAcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
30194
30196
|
if (variant === "row") {
|
|
30195
30197
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex items-center gap-3 min-w-0 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
30196
30198
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary text-sm font-medium truncate max-w-[260px] shrink-0", children: item.title }),
|
|
30197
30199
|
item.preview ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-sm flex-1 min-w-0 truncate", children: item.preview }) : null,
|
|
30198
|
-
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30200
|
+
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTT2VBR7Pcjs.StatusBadge, { text: statusText, variant: "button", colorScheme: statusScheme(item.status) }) : null,
|
|
30199
30201
|
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-xs w-24 shrink-0 text-right", children: dateText }) : null
|
|
30200
30202
|
] });
|
|
30201
30203
|
}
|
|
@@ -30206,13 +30208,13 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
30206
30208
|
);
|
|
30207
30209
|
}
|
|
30208
30210
|
if (dateText) metaParts.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date"));
|
|
30209
|
-
const href =
|
|
30211
|
+
const href = _chunk7MNBE7XAcjs.safeHref.call(void 0, item.url);
|
|
30210
30212
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
30211
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
30213
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
30212
30214
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex flex-wrap items-center gap-1.5 min-w-0", children: [
|
|
30213
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
30215
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_TITLE} shrink min-w-0`, children: item.title }),
|
|
30214
30216
|
priorityText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30215
|
-
|
|
30217
|
+
_chunkTT2VBR7Pcjs.StatusBadge,
|
|
30216
30218
|
{
|
|
30217
30219
|
text: priorityText,
|
|
30218
30220
|
variant: "button",
|
|
@@ -30221,7 +30223,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
30221
30223
|
}
|
|
30222
30224
|
) : null,
|
|
30223
30225
|
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30224
|
-
|
|
30226
|
+
_chunkTT2VBR7Pcjs.StatusBadge,
|
|
30225
30227
|
{
|
|
30226
30228
|
text: statusText,
|
|
30227
30229
|
variant: "button",
|
|
@@ -30235,7 +30237,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
30235
30237
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: item.customerEmail })
|
|
30236
30238
|
] }) : null,
|
|
30237
30239
|
/* @__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-[13px] leading-5 text-ods-text-secondary", children: item.preview || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "italic text-ods-text-secondary/60", children: "No description provided." }) }) }),
|
|
30238
|
-
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30240
|
+
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React89.default.Fragment, { children: [
|
|
30239
30241
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary/40 shrink-0", children: "\xB7" }) : null,
|
|
30240
30242
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
30241
30243
|
] }, i)) }) }) : null
|
|
@@ -30243,7 +30245,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
30243
30245
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) }) : null
|
|
30244
30246
|
] });
|
|
30245
30247
|
if (anchorProps) {
|
|
30246
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
30248
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
30247
30249
|
}
|
|
30248
30250
|
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30249
30251
|
"a",
|
|
@@ -30251,10 +30253,10 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
30251
30253
|
href,
|
|
30252
30254
|
target: "_blank",
|
|
30253
30255
|
rel: "noopener noreferrer",
|
|
30254
|
-
className: `${
|
|
30256
|
+
className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`,
|
|
30255
30257
|
children: body
|
|
30256
30258
|
}
|
|
30257
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
30259
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
30258
30260
|
}
|
|
30259
30261
|
function HubspotTicketCardSkeleton({ variant = "compact", className }) {
|
|
30260
30262
|
if (variant === "row") {
|
|
@@ -30265,8 +30267,8 @@ function HubspotTicketCardSkeleton({ variant = "compact", className }) {
|
|
|
30265
30267
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 bg-ods-bg/60 rounded shrink-0" })
|
|
30266
30268
|
] });
|
|
30267
30269
|
}
|
|
30268
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
30269
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
30270
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
30271
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
30270
30272
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex flex-wrap items-center gap-1.5 min-w-0", children: [
|
|
30271
30273
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
30272
30274
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-12 rounded-full bg-ods-bg/60" }),
|
|
@@ -30279,7 +30281,7 @@ function HubspotTicketCardSkeleton({ variant = "compact", className }) {
|
|
|
30279
30281
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-3/4 rounded bg-ods-bg/60" }),
|
|
30280
30282
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-2/5 rounded bg-ods-bg/60" })
|
|
30281
30283
|
] }),
|
|
30282
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30284
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
30283
30285
|
] }),
|
|
30284
30286
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
30285
30287
|
] });
|
|
@@ -30290,10 +30292,10 @@ function HubspotTicketCardSkeleton({ variant = "compact", className }) {
|
|
|
30290
30292
|
|
|
30291
30293
|
function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
30292
30294
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
30293
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
30295
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
30294
30296
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex flex-wrap items-center gap-1.5 min-w-0", children: [
|
|
30295
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
30296
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30297
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_TITLE} shrink min-w-0`, children: item.title }),
|
|
30298
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTT2VBR7Pcjs.StatusBadge, { text: badgeText, variant: "button", colorScheme: "cyan", className: "shrink-0" })
|
|
30297
30299
|
] }),
|
|
30298
30300
|
item.path ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1 text-[11px] leading-4 text-ods-text-secondary", children: [
|
|
30299
30301
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/70", children: "Path:" }),
|
|
@@ -30304,13 +30306,13 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
|
30304
30306
|
_optionalChain([anchorProps, 'optionalAccess', _628 => _628.href]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) }) : null
|
|
30305
30307
|
] });
|
|
30306
30308
|
if (!anchorProps) {
|
|
30307
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
30309
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
30308
30310
|
}
|
|
30309
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
30311
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
30310
30312
|
}
|
|
30311
30313
|
function DataRoomDocCardSkeleton({ className }) {
|
|
30312
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
30313
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
30314
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
30315
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
30314
30316
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-1.5 min-w-0", children: [
|
|
30315
30317
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
30316
30318
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -31902,12 +31904,12 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
31902
31904
|
|
|
31903
31905
|
function ProgramCardSkeleton({ size = "default" }) {
|
|
31904
31906
|
if (size === "sm") {
|
|
31905
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
31906
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
31907
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
31908
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
31909
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
31910
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
31907
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SKELETON_OUTER, children: [
|
|
31908
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
31909
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
31910
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
31911
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-2/5 rounded bg-ods-bg/70" }) }),
|
|
31912
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
31911
31913
|
] }),
|
|
31912
31914
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
31913
31915
|
] });
|
|
@@ -32020,13 +32022,13 @@ function ProgramCard({
|
|
|
32020
32022
|
wholeCardClickable = false,
|
|
32021
32023
|
className
|
|
32022
32024
|
}) {
|
|
32023
|
-
const { target, rel } =
|
|
32025
|
+
const { target, rel } = _chunk7MNBE7XAcjs.useEntityCardLink.call(void 0, {
|
|
32024
32026
|
href,
|
|
32025
32027
|
targetPlatform,
|
|
32026
32028
|
target: targetProp,
|
|
32027
32029
|
rel: relProp
|
|
32028
32030
|
});
|
|
32029
|
-
const placeholderUrl =
|
|
32031
|
+
const placeholderUrl = _chunk7MNBE7XAcjs.useEntityCardPlaceholder.call(void 0, {
|
|
32030
32032
|
title: item.title,
|
|
32031
32033
|
placeholderUrl: placeholderUrlProp,
|
|
32032
32034
|
aspect: size === "sm" ? "square" : "wide"
|
|
@@ -32048,21 +32050,21 @@ function ProgramCard({
|
|
|
32048
32050
|
let typeMeta = null;
|
|
32049
32051
|
if (config.type === "podcast" && "duration_seconds" in item && !isScheduled) {
|
|
32050
32052
|
const dur = item.duration_seconds;
|
|
32051
|
-
if (typeof dur === "number" && dur > 0) typeMeta =
|
|
32053
|
+
if (typeof dur === "number" && dur > 0) typeMeta = _chunk7MNBE7XAcjs.formatDurationCompact.call(void 0, dur);
|
|
32052
32054
|
} else if (config.type === "event" && "location_name" in item) {
|
|
32053
32055
|
const loc = item.location_name;
|
|
32054
32056
|
if (typeof loc === "string" && loc.trim().length > 0) typeMeta = loc;
|
|
32055
32057
|
} else if (config.type === "webinar" && "start_at" in item) {
|
|
32056
32058
|
const w = item;
|
|
32057
|
-
const time =
|
|
32058
|
-
const dur =
|
|
32059
|
+
const time = _chunk7MNBE7XAcjs.formatTimeWithTimezone.call(void 0, w.start_at, null);
|
|
32060
|
+
const dur = _chunk7MNBE7XAcjs.formatDurationFromRange.call(void 0, w.start_at, w.end_at);
|
|
32059
32061
|
typeMeta = dur ? `${time} \xB7 ${dur}` : time;
|
|
32060
32062
|
}
|
|
32061
32063
|
const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _671 => _671.labels, 'optionalAccess', _672 => _672.singular])].filter(
|
|
32062
32064
|
(s) => typeof s === "string" && s.length > 0
|
|
32063
32065
|
);
|
|
32064
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
32065
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
32066
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, _chunk7MNBE7XAcjs.COMPACT_CARD_OUTER, className), children: [
|
|
32067
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_IMAGE_SLOT, children: [
|
|
32066
32068
|
compactCover ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32067
32069
|
_chunkXL4V2PYGcjs.next_image_default,
|
|
32068
32070
|
{
|
|
@@ -32076,10 +32078,10 @@ function ProgramCard({
|
|
|
32076
32078
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-full w-full items-center justify-center text-ods-accent", children: config.type === "podcast" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Play, { className: "w-4 h-4" }) : config.type === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Video, { className: "w-4 h-4" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Clock, { className: "w-4 h-4" }) }),
|
|
32077
32079
|
config.type === "podcast" && !isScheduled && compactCover && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Play, { className: "w-4 h-4 text-white", fill: "white" }) })
|
|
32078
32080
|
] }),
|
|
32079
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
32080
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32081
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32082
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32081
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
32082
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0, _chunk7MNBE7XAcjs.COMPACT_CARD_TITLE, "font-['Azeret_Mono']"), children: item.title }) }),
|
|
32083
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-[11px] leading-4 text-[var(--color-accent-primary)]", children: subtitleParts.join(" \xB7 ") }) }),
|
|
32084
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SUMMARY, children: item.description || _chunk7MNBE7XAcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
32083
32085
|
] }),
|
|
32084
32086
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) })
|
|
32085
32087
|
] });
|
|
@@ -32090,7 +32092,7 @@ function ProgramCard({
|
|
|
32090
32092
|
if (config.type === "podcast" && "duration_seconds" in item && !isScheduled) {
|
|
32091
32093
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
32092
32094
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Clock, { className: "w-4 h-4 text-ods-text-secondary" }),
|
|
32093
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-['DM_Sans'] text-ods-text-secondary", children:
|
|
32095
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-['DM_Sans'] text-ods-text-secondary", children: _chunk7MNBE7XAcjs.formatDurationCompact.call(void 0, item.duration_seconds) })
|
|
32094
32096
|
] });
|
|
32095
32097
|
}
|
|
32096
32098
|
if (config.type === "event" && "location_name" in item) {
|
|
@@ -32098,11 +32100,11 @@ function ProgramCard({
|
|
|
32098
32100
|
}
|
|
32099
32101
|
if (config.type === "webinar" && "start_at" in item) {
|
|
32100
32102
|
const webinarItem = item;
|
|
32101
|
-
const duration =
|
|
32103
|
+
const duration = _chunk7MNBE7XAcjs.formatDurationFromRange.call(void 0, webinarItem.start_at, webinarItem.end_at);
|
|
32102
32104
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
32103
32105
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Video, { className: "w-4 h-4 text-ods-text-secondary" }),
|
|
32104
32106
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "font-['DM_Sans'] text-ods-text-secondary", children: [
|
|
32105
|
-
|
|
32107
|
+
_chunk7MNBE7XAcjs.formatTimeWithTimezone.call(void 0, webinarItem.start_at, null),
|
|
32106
32108
|
duration && ` \xB7 ${duration}`
|
|
32107
32109
|
] }),
|
|
32108
32110
|
webinarItem.timezone && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "font-['DM_Sans'] text-xs text-ods-text-secondary", children: [
|
|
@@ -32144,7 +32146,7 @@ function ProgramCard({
|
|
|
32144
32146
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['DM_Sans'] text-sm md:text-base text-ods-text-secondary leading-relaxed line-clamp-3 min-h-[4.5rem]", children: item.description }) })
|
|
32145
32147
|
] }),
|
|
32146
32148
|
hosts.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:text-right", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap md:justify-end gap-2", children: hosts.map((host, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32147
|
-
|
|
32149
|
+
_chunk7MNBE7XAcjs.SquareAvatar,
|
|
32148
32150
|
{
|
|
32149
32151
|
variant: "round",
|
|
32150
32152
|
src: host.avatar || void 0,
|
|
@@ -32217,29 +32219,29 @@ function ProgramCard({
|
|
|
32217
32219
|
function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
32218
32220
|
const goalsCount = _optionalChain([campaign, 'access', _673 => _673.goals, 'optionalAccess', _674 => _674.length]) || 0;
|
|
32219
32221
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
32220
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32221
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
32222
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32223
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32222
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
|
|
32223
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
32224
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
|
|
32225
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SUBTITLE, children: [
|
|
32224
32226
|
campaign.start_date ? formatDateShort(campaign.start_date) : null,
|
|
32225
32227
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
32226
32228
|
"Marketing campaign"
|
|
32227
32229
|
].filter(Boolean).join(" \xB7 ") }) }),
|
|
32228
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32230
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SUMMARY, children: campaign.description || _chunk7MNBE7XAcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
32229
32231
|
] })
|
|
32230
32232
|
] });
|
|
32231
32233
|
if (anchorProps) {
|
|
32232
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
32234
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: innerChildren });
|
|
32233
32235
|
}
|
|
32234
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
32236
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: innerChildren });
|
|
32235
32237
|
}
|
|
32236
32238
|
function CampaignCardAdminSkeleton({ className }) {
|
|
32237
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
32238
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32239
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
32240
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32241
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32242
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32239
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
32240
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
32241
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
32242
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
32243
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
32244
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
32243
32245
|
] })
|
|
32244
32246
|
] });
|
|
32245
32247
|
}
|
|
@@ -32248,14 +32250,14 @@ function CampaignCardAdminSkeleton({ className }) {
|
|
|
32248
32250
|
|
|
32249
32251
|
|
|
32250
32252
|
function GenericEntityCard({ item, className, anchorProps }) {
|
|
32251
|
-
const href =
|
|
32252
|
-
const dateText =
|
|
32253
|
+
const href = _chunk7MNBE7XAcjs.safeHref.call(void 0, item.url);
|
|
32254
|
+
const dateText = _chunk7MNBE7XAcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
32253
32255
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
32254
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
32256
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
32255
32257
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex flex-wrap items-center gap-1.5 min-w-0", children: [
|
|
32256
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
32258
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_TITLE} shrink min-w-0`, children: item.title }),
|
|
32257
32259
|
item.badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32258
|
-
|
|
32260
|
+
_chunkTT2VBR7Pcjs.StatusBadge,
|
|
32259
32261
|
{
|
|
32260
32262
|
text: item.badge.text,
|
|
32261
32263
|
variant: "button",
|
|
@@ -32273,18 +32275,18 @@ function GenericEntityCard({ item, className, anchorProps }) {
|
|
|
32273
32275
|
] }),
|
|
32274
32276
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary font-medium truncate", children: f.value })
|
|
32275
32277
|
] }, i)) }) : null,
|
|
32276
|
-
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32278
|
+
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }) }) }) : null
|
|
32277
32279
|
] }),
|
|
32278
32280
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) }) : null
|
|
32279
32281
|
] });
|
|
32280
32282
|
if (anchorProps) {
|
|
32281
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
32283
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
32282
32284
|
}
|
|
32283
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${
|
|
32285
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
32284
32286
|
}
|
|
32285
32287
|
function GenericEntityCardSkeleton({ className }) {
|
|
32286
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
32287
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
32288
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk7MNBE7XAcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
32289
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7MNBE7XAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
32288
32290
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-1.5 min-w-0", children: [
|
|
32289
32291
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
32290
32292
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -32353,7 +32355,7 @@ function CardMedia({
|
|
|
32353
32355
|
}) {
|
|
32354
32356
|
if (imageSrc) {
|
|
32355
32357
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative block size-10 shrink-0", children: [
|
|
32356
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute inset-0 flex items-center justify-center rounded-sm border border-ods-border bg-ods-bg text-xs font-medium text-ods-text-primary", children:
|
|
32358
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute inset-0 flex items-center justify-center rounded-sm border border-ods-border bg-ods-bg text-xs font-medium text-ods-text-primary", children: _chunk7MNBE7XAcjs.getFirstLastInitials.call(void 0, imageAlt) || "?" }),
|
|
32357
32359
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32358
32360
|
"img",
|
|
32359
32361
|
{
|
|
@@ -32398,7 +32400,7 @@ function MingoInfoCard({
|
|
|
32398
32400
|
status ? (
|
|
32399
32401
|
// Reuse the shared Tag palette (single source of truth for colours)
|
|
32400
32402
|
// without rendering Tag's `<div>` — span-only for `<p>` validity.
|
|
32401
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
32403
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0, _chunk7MNBE7XAcjs.tagVariants.call(void 0, { variant: _nullishCoalesce(status.variant, () => ( "success")) }), "shrink-0"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate uppercase tracking-[-0.28px]", children: status.label }) })
|
|
32402
32404
|
) : null
|
|
32403
32405
|
] });
|
|
32404
32406
|
const contentClass = _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
@@ -32416,7 +32418,7 @@ function MingoInfoCard({
|
|
|
32416
32418
|
children: [
|
|
32417
32419
|
isAnchor ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: _chunkFIG2RKZFcjs.cn.call(void 0, contentClass, "no-underline"), children: content }) : onClick ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick, className: contentClass, children: content }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: contentClass, children: content }),
|
|
32418
32420
|
hasMenu && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32419
|
-
|
|
32421
|
+
_chunk7MNBE7XAcjs.ActionsMenuDropdown,
|
|
32420
32422
|
{
|
|
32421
32423
|
groups: menuGroups,
|
|
32422
32424
|
triggerAriaLabel: menuAriaLabel,
|
|
@@ -32474,7 +32476,7 @@ function GitHubChatCard({
|
|
|
32474
32476
|
const title = kind === "pr_review" ? display.replace(/^by\s+/i, "").trim() || "Reviewer" : display;
|
|
32475
32477
|
const status = kind === "pr_review" && reviewState ? { label: reviewStateLabel(reviewState), variant: reviewStateToVariant(reviewState) } : { label: kindLabel(kind), variant: "grey" };
|
|
32476
32478
|
const idLabel = formatActivityId(chatRef.id, kind);
|
|
32477
|
-
const dateText =
|
|
32479
|
+
const dateText = _chunk7MNBE7XAcjs.formatDateUTC.call(void 0, _nullishCoalesce(chatRef.date, () => ( null)), { fallback: "", timezone: "local" });
|
|
32478
32480
|
const description = [idLabel, dateText].filter(Boolean).join(" \xB7 ") || void 0;
|
|
32479
32481
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32480
32482
|
MingoInfoCard,
|
|
@@ -32483,7 +32485,7 @@ function GitHubChatCard({
|
|
|
32483
32485
|
description,
|
|
32484
32486
|
icon: githubKindIcon(kind),
|
|
32485
32487
|
status,
|
|
32486
|
-
anchorProps:
|
|
32488
|
+
anchorProps: _chunk7MNBE7XAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
32487
32489
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
32488
32490
|
menuAriaLabel: "Activity actions"
|
|
32489
32491
|
}
|
|
@@ -32543,7 +32545,7 @@ function HubspotTicketChatCard({
|
|
|
32543
32545
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
32544
32546
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC6ASEPZLcjs.TagIcon, { size: 24 }),
|
|
32545
32547
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
32546
|
-
anchorProps:
|
|
32548
|
+
anchorProps: _chunk7MNBE7XAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
32547
32549
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
32548
32550
|
label: "Open Ticket Details",
|
|
32549
32551
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC6ASEPZLcjs.TagIcon, { size: 20 })
|
|
@@ -32566,7 +32568,7 @@ function SlackChatCard({
|
|
|
32566
32568
|
title,
|
|
32567
32569
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
32568
32570
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC6ASEPZLcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
32569
|
-
anchorProps:
|
|
32571
|
+
anchorProps: _chunk7MNBE7XAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
32570
32572
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
32571
32573
|
menuAriaLabel: "Message actions"
|
|
32572
32574
|
}
|
|
@@ -32577,7 +32579,7 @@ function DataRoomDocChatCard({
|
|
|
32577
32579
|
isNewTab,
|
|
32578
32580
|
discuss
|
|
32579
32581
|
}) {
|
|
32580
|
-
const badgeText = chatRef.sourceRepo ?
|
|
32582
|
+
const badgeText = chatRef.sourceRepo ? _chunk7MNBE7XAcjs.getSourceLabel.call(void 0, chatRef.sourceRepo) : "Document";
|
|
32581
32583
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32582
32584
|
MingoInfoCard,
|
|
32583
32585
|
{
|
|
@@ -32585,7 +32587,7 @@ function DataRoomDocChatCard({
|
|
|
32585
32587
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
32586
32588
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC6ASEPZLcjs.FileContentIcon, { size: 24 }),
|
|
32587
32589
|
status: { label: badgeText, variant: "grey" },
|
|
32588
|
-
anchorProps:
|
|
32590
|
+
anchorProps: _chunk7MNBE7XAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
32589
32591
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
32590
32592
|
menuAriaLabel: "Document actions"
|
|
32591
32593
|
}
|
|
@@ -32604,7 +32606,7 @@ function GenericFinancialChatCard({
|
|
|
32604
32606
|
title: chatRef.title,
|
|
32605
32607
|
description: subtitle,
|
|
32606
32608
|
icon,
|
|
32607
|
-
anchorProps:
|
|
32609
|
+
anchorProps: _chunk7MNBE7XAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
32608
32610
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
32609
32611
|
menuAriaLabel: "Document actions"
|
|
32610
32612
|
}
|
|
@@ -32624,7 +32626,7 @@ function ChatCardWithDiscuss({
|
|
|
32624
32626
|
displayAction,
|
|
32625
32627
|
children
|
|
32626
32628
|
}) {
|
|
32627
|
-
const { Icon: SourceIcon, label: sourceLabel } =
|
|
32629
|
+
const { Icon: SourceIcon, label: sourceLabel } = _chunk7MNBE7XAcjs.resolveSourceIcon.call(void 0, {
|
|
32628
32630
|
sourceRepo: chatRef.sourceRepo,
|
|
32629
32631
|
documentType: chatRef.type
|
|
32630
32632
|
});
|
|
@@ -32727,7 +32729,7 @@ function EntityMingoCard({
|
|
|
32727
32729
|
imageAlt: typeof title === "string" ? title : void 0,
|
|
32728
32730
|
icon: fallbackIcon,
|
|
32729
32731
|
status,
|
|
32730
|
-
anchorProps:
|
|
32732
|
+
anchorProps: _chunk7MNBE7XAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
32731
32733
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
32732
32734
|
menuAriaLabel
|
|
32733
32735
|
}
|
|
@@ -32873,15 +32875,15 @@ function ProgramChatCard({
|
|
|
32873
32875
|
const isScheduled = _optionalChain([item, 'optionalAccess', _727 => _727.status]) === "scheduled";
|
|
32874
32876
|
let typeMeta;
|
|
32875
32877
|
if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _728 => _728.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
|
|
32876
|
-
typeMeta =
|
|
32878
|
+
typeMeta = _chunk7MNBE7XAcjs.formatDurationCompact.call(void 0, item.duration_seconds);
|
|
32877
32879
|
} else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _729 => _729.location_name]) === "string" && item.location_name.trim().length > 0) {
|
|
32878
32880
|
typeMeta = item.location_name;
|
|
32879
32881
|
} else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _730 => _730.start_at])) {
|
|
32880
|
-
const time =
|
|
32881
|
-
const dur =
|
|
32882
|
+
const time = _chunk7MNBE7XAcjs.formatTimeWithTimezone.call(void 0, item.start_at, null);
|
|
32883
|
+
const dur = _chunk7MNBE7XAcjs.formatDurationFromRange.call(void 0, item.start_at, item.end_at);
|
|
32882
32884
|
typeMeta = dur ? `${time} \xB7 ${dur}` : time;
|
|
32883
32885
|
}
|
|
32884
|
-
const itemDate =
|
|
32886
|
+
const itemDate = _chunk7MNBE7XAcjs.formatDateUTC.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _731 => _731.date]), () => ( null)), { fallback: "", timezone: "local" });
|
|
32885
32887
|
const meta = [itemDate, typeMeta].filter(Boolean).join(" \xB7 ");
|
|
32886
32888
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32887
32889
|
EntityMingoCard,
|
|
@@ -33235,7 +33237,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
33235
33237
|
bareInline: true,
|
|
33236
33238
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
33237
33239
|
displayAction: true,
|
|
33238
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33240
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MNBE7XAcjs.OnboardingGuideCardSkeleton, { size: "sm" }),
|
|
33239
33241
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33240
33242
|
OnboardingGuideChatCard,
|
|
33241
33243
|
{
|
|
@@ -33300,7 +33302,7 @@ function ChatCardLoader({
|
|
|
33300
33302
|
}) {
|
|
33301
33303
|
const runtime = _chunkMEAR2WHScjs.useRequiredChatRuntime.call(void 0, );
|
|
33302
33304
|
const resolvedChatRef = React89.default.useMemo(() => {
|
|
33303
|
-
const cta =
|
|
33305
|
+
const cta = _chunk7MNBE7XAcjs.resolveSourceRowCTA.call(void 0,
|
|
33304
33306
|
{
|
|
33305
33307
|
sourceRepo: chatRef.sourceRepo,
|
|
33306
33308
|
documentType: chatRef.type,
|
|
@@ -33310,9 +33312,9 @@ function ChatCardLoader({
|
|
|
33310
33312
|
targetPlatform: chatRef.targetPlatform,
|
|
33311
33313
|
path: typeof _optionalChain([chatRef, 'access', _775 => _775.metadata, 'optionalAccess', _776 => _776.path]) === "string" ? chatRef.metadata.path : null
|
|
33312
33314
|
},
|
|
33313
|
-
|
|
33315
|
+
_chunk7MNBE7XAcjs.sourceRowCtxFromRuntime.call(void 0, runtime, { baseRoute, chipBasePlatform })
|
|
33314
33316
|
);
|
|
33315
|
-
const finalHref = cta.href ?
|
|
33317
|
+
const finalHref = cta.href ? _chunk7MNBE7XAcjs.resolveHrefForRuntime.call(void 0, cta.href, runtime) : null;
|
|
33316
33318
|
return {
|
|
33317
33319
|
...chatRef,
|
|
33318
33320
|
url: _nullishCoalesce(finalHref, () => ( chatRef.url)),
|
|
@@ -33328,9 +33330,9 @@ function ChatCardLoader({
|
|
|
33328
33330
|
if (!entry) return null;
|
|
33329
33331
|
const finalChatRef = fetchEntry && !resolvedChatRef.url && item && fetchEntry.fallbackHref ? {
|
|
33330
33332
|
...resolvedChatRef,
|
|
33331
|
-
url:
|
|
33333
|
+
url: _chunk7MNBE7XAcjs.safeHref.call(void 0, fetchEntry.fallbackHref(item))
|
|
33332
33334
|
} : resolvedChatRef;
|
|
33333
|
-
const isNewTab =
|
|
33335
|
+
const isNewTab = _chunk7MNBE7XAcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
|
|
33334
33336
|
const useDisplay = !!entry.displayAction && !!onDisplay;
|
|
33335
33337
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
33336
33338
|
const discuss = discussFn ? {
|
|
@@ -36316,7 +36318,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
|
|
|
36316
36318
|
const { active = true } = runtimeOptions;
|
|
36317
36319
|
const runtime = _chunkMEAR2WHScjs.useRequiredChatRuntime.call(void 0, );
|
|
36318
36320
|
const source = runtime.source || DEFAULT_CHAT_SOURCE;
|
|
36319
|
-
const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _941 => _941.tableIdForDocumentType]), () => (
|
|
36321
|
+
const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _941 => _941.tableIdForDocumentType]), () => ( _chunk7MNBE7XAcjs.defaultTableIdForDocumentType));
|
|
36320
36322
|
const persistedRef = _react.useRef.call(void 0, null);
|
|
36321
36323
|
if (persistedRef.current === null) {
|
|
36322
36324
|
pruneStaleChatStorage(source);
|
|
@@ -38157,7 +38159,7 @@ function SourceChip({
|
|
|
38157
38159
|
}) {
|
|
38158
38160
|
const runtime = _chunkMEAR2WHScjs.useRequiredChatRuntime.call(void 0, );
|
|
38159
38161
|
const router = _chunkG7UE6RKVcjs.useRouter.call(void 0, );
|
|
38160
|
-
const cta =
|
|
38162
|
+
const cta = _chunk7MNBE7XAcjs.resolveSourceRowCTA.call(void 0,
|
|
38161
38163
|
{
|
|
38162
38164
|
sourceRepo: src.sourceRepo,
|
|
38163
38165
|
documentType: src.documentType,
|
|
@@ -38167,15 +38169,15 @@ function SourceChip({
|
|
|
38167
38169
|
targetPlatform: _nullishCoalesce(src.targetPlatform, () => ( null)),
|
|
38168
38170
|
path: src.path
|
|
38169
38171
|
},
|
|
38170
|
-
|
|
38172
|
+
_chunk7MNBE7XAcjs.sourceRowCtxFromRuntime.call(void 0, runtime, { baseRoute, chipBasePlatform })
|
|
38171
38173
|
);
|
|
38172
38174
|
const Icon2 = cta.icon;
|
|
38173
38175
|
const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon2, { className: "h-3.5 w-3.5" });
|
|
38174
38176
|
const chipClass = chatChipClass({ tone: "secondary" });
|
|
38175
|
-
const decideTab = (href, targetPlatform) =>
|
|
38177
|
+
const decideTab = (href, targetPlatform) => _chunk7MNBE7XAcjs.computeIsNewTab.call(void 0, runtime, href, targetPlatform);
|
|
38176
38178
|
if (src.items && src.items.length > 0) {
|
|
38177
38179
|
const dropdownItems = src.items.map((item) => {
|
|
38178
|
-
const itemCta =
|
|
38180
|
+
const itemCta = _chunk7MNBE7XAcjs.resolveSourceRowCTA.call(void 0,
|
|
38179
38181
|
{
|
|
38180
38182
|
sourceRepo: src.sourceRepo,
|
|
38181
38183
|
documentType: item.documentType,
|
|
@@ -38185,7 +38187,7 @@ function SourceChip({
|
|
|
38185
38187
|
targetPlatform: _nullishCoalesce(item.targetPlatform, () => ( null)),
|
|
38186
38188
|
path: item.path
|
|
38187
38189
|
},
|
|
38188
|
-
|
|
38190
|
+
_chunk7MNBE7XAcjs.sourceRowCtxFromRuntime.call(void 0, runtime, { baseRoute, chipBasePlatform })
|
|
38189
38191
|
);
|
|
38190
38192
|
const ItemIcon = itemCta.icon;
|
|
38191
38193
|
return {
|
|
@@ -38254,14 +38256,14 @@ function SourceChip({
|
|
|
38254
38256
|
if (handled && !isNewTab && onClose) onClose();
|
|
38255
38257
|
};
|
|
38256
38258
|
if (cta.href && !!src.externalUrl) {
|
|
38257
|
-
const resolvedHref =
|
|
38259
|
+
const resolvedHref = _chunk7MNBE7XAcjs.resolveHrefForRuntime.call(void 0, cta.href, runtime);
|
|
38258
38260
|
const isNewTab = decideTab(resolvedHref, _nullishCoalesce(cta.targetPlatform, () => ( null)));
|
|
38259
38261
|
return wrapChip(
|
|
38260
38262
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38261
38263
|
"a",
|
|
38262
38264
|
{
|
|
38263
38265
|
href: resolvedHref,
|
|
38264
|
-
...
|
|
38266
|
+
..._chunk7MNBE7XAcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
38265
38267
|
onClick: buildClickHandler(resolvedHref, null, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
38266
38268
|
className: chipClass,
|
|
38267
38269
|
children: chipBody(src.name)
|
|
@@ -38270,14 +38272,14 @@ function SourceChip({
|
|
|
38270
38272
|
);
|
|
38271
38273
|
}
|
|
38272
38274
|
if (cta.href) {
|
|
38273
|
-
const resolvedHref =
|
|
38275
|
+
const resolvedHref = _chunk7MNBE7XAcjs.resolveHrefForRuntime.call(void 0, cta.href, runtime);
|
|
38274
38276
|
const isNewTab = decideTab(resolvedHref, _nullishCoalesce(cta.targetPlatform, () => ( null)));
|
|
38275
38277
|
return wrapChip(
|
|
38276
38278
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38277
38279
|
"a",
|
|
38278
38280
|
{
|
|
38279
38281
|
href: resolvedHref,
|
|
38280
|
-
...
|
|
38282
|
+
..._chunk7MNBE7XAcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
38281
38283
|
onClick: buildClickHandler(resolvedHref, src.path, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
38282
38284
|
className: chipClass,
|
|
38283
38285
|
title: displayName,
|
|
@@ -38404,7 +38406,7 @@ function EmbeddableChatInner({
|
|
|
38404
38406
|
}
|
|
38405
38407
|
}
|
|
38406
38408
|
}, [open, onOpenChange]);
|
|
38407
|
-
const [isOpen = false, setIsOpen] =
|
|
38409
|
+
const [isOpen = false, setIsOpen] = _chunk7MNBE7XAcjs.useControllableState.call(void 0, {
|
|
38408
38410
|
prop: open,
|
|
38409
38411
|
defaultProp: _nullishCoalesce(defaultOpen, () => ( false)),
|
|
38410
38412
|
onChange: onOpenChange
|
|
@@ -38446,9 +38448,9 @@ function EmbeddableChatInner({
|
|
|
38446
38448
|
() => ({
|
|
38447
38449
|
fetchCommands: (prefix, signal) => fetchSlashCommands(prefix, signal, commandsUrl),
|
|
38448
38450
|
resolveSourceIcon: (sourceId) => {
|
|
38449
|
-
const iconName =
|
|
38451
|
+
const iconName = _chunk7MNBE7XAcjs.getSourceIconName.call(void 0, sourceId);
|
|
38450
38452
|
if (!iconName) return void 0;
|
|
38451
|
-
return { Icon:
|
|
38453
|
+
return { Icon: _chunk7MNBE7XAcjs.getIconComponent.call(void 0, iconName), label: sourceId };
|
|
38452
38454
|
},
|
|
38453
38455
|
onAction: (cmd, actionId) => {
|
|
38454
38456
|
dispatchSlashCommandAction(actionId, cmd.id, chatInputRef);
|
|
@@ -39672,4 +39674,4 @@ function EmbeddableChatInner({
|
|
|
39672
39674
|
|
|
39673
39675
|
|
|
39674
39676
|
exports.Label = Label; exports.AllowedDomainsInput = AllowedDomainsInput; exports.Autocomplete = Autocomplete; exports.CheckboxBlock = CheckboxBlock; exports.CheckboxWithDescription = CheckboxWithDescription; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.HoneypotField = HoneypotField; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.InputTrigger = InputTrigger; exports.InteractiveCard = InteractiveCard; exports.MediaTypeSelector = MediaTypeSelector; exports.PageLoader = PageLoader; exports.CompactPageLoader = CompactPageLoader; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.RadioGroupBlock = RadioGroupBlock; exports.Switch = Switch; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.Textarea = Textarea; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AspectRatio = AspectRatio; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.ImageGalleryModal = ImageGalleryModal; exports.Modal = Modal2; exports.ModalContent = ModalContent2; exports.ModalHeader = ModalHeader2; exports.ModalTitle = ModalTitle2; exports.ModalFooter = ModalFooter2; exports.Modal2 = Modal; exports.ModalContent2 = ModalContent; exports.ModalHeader2 = ModalHeader; exports.ModalTitle2 = ModalTitle; exports.ModalFooter2 = ModalFooter; exports.Separator = Separator2; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetPortal = SheetPortal; exports.SheetOverlay = SheetOverlay; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.MenubarMenu = MenubarMenu; exports.MenubarGroup = MenubarGroup; exports.MenubarPortal = MenubarPortal; exports.MenubarSub = MenubarSub; exports.MenubarRadioGroup = MenubarRadioGroup; exports.Menubar = Menubar; exports.MenubarTrigger = MenubarTrigger; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarSubContent = MenubarSubContent; exports.MenubarContent = MenubarContent; exports.MenubarItem = MenubarItem; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarLabel = MenubarLabel; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.Progress = Progress; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.StatusIndicator = StatusIndicator; exports.HoverDropdown = HoverDropdown; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.ThinkingDisplay = ThinkingDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.ColorSwatch = ColorSwatch; exports.getPlatformAccentColor = getPlatformAccentColor; exports.getCurrentPlatform = getCurrentPlatform; exports.HEX_PATTERN = HEX_PATTERN; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.remarkCardLinks = remarkCardLinks; exports.BlockCard = BlockCard; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.ChatMessageList = ChatMessageList; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.ChatQuickAction = ChatQuickAction; exports.ChatQuickActionRow = ChatQuickActionRow; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.GuideModeBanner = GuideModeBanner; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.COMPACT_HEADER_BUTTON = COMPACT_HEADER_BUTTON; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.FlamingoLogo = FlamingoLogo; exports.OpenmspLogo = OpenmspLogo; exports.PlatformBadge = PlatformBadge; exports.AdminContentCard = AdminContentCard; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.ProductReleaseCard = ProductReleaseCard; exports.ProductReleaseCardSkeleton = ProductReleaseCardSkeleton; exports.formatReleaseDate = formatReleaseDate; exports.formatDateShort = formatDateShort; exports.formatDateSlashUTC = formatDateSlashUTC; exports.resolveReleaseCover = resolveReleaseCover; exports.releaseTypeToBadgeColor = releaseTypeToBadgeColor; exports.defaultBuildProductReleaseCardProps = defaultBuildProductReleaseCardProps; exports.buildProductReleaseCardProps = buildProductReleaseCardProps; exports.BlogCardSkeleton = BlogCardSkeleton; exports.BlogCard = BlogCard; exports.CaseStudyCardSkeleton = CaseStudyCardSkeleton; exports.CaseStudyCard = CaseStudyCard; exports.CustomerInterviewCardSkeleton = CustomerInterviewCardSkeleton; exports.CustomerInterviewCard = CustomerInterviewCard; exports.formatInvestorUpdatePeriod = formatInvestorUpdatePeriod; exports.InvestorUpdateCardSkeleton = InvestorUpdateCardSkeleton; exports.InvestorUpdateCard = InvestorUpdateCard; exports.RoadmapVoteButton = RoadmapVoteButton; exports.getStatusColorScheme = getStatusColorScheme; exports.CUSTOM_ITEM_ID = CUSTOM_ITEM_ID; exports.getTaskTypeLabel = getTaskTypeLabel; exports.TaskTypeIcon = TaskTypeIcon; exports.RoadmapCardSkeleton = RoadmapCardSkeleton; exports.RoadmapCard = RoadmapCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.ProgramCardSkeleton = ProgramCardSkeleton; exports.ProgramCard = ProgramCard; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.getAppType = getAppType; exports.getEmbedProxyAuth = getEmbedProxyAuth; exports.getPersistedProxyEmail = getPersistedProxyEmail; exports.setEmbedProxyAuth = setEmbedProxyAuth; exports.clearEmbedProxyAuth = clearEmbedProxyAuth; exports.applyProxyAuth = applyProxyAuth; exports.setEmbedAuthAdapter = setEmbedAuthAdapter; exports.embedAuthedFetch = embedAuthedFetch; exports.extractItems = extractItems; exports.extractItemId = extractItemId; exports.useChatCardItem = useChatCardItem; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.buildChatRefKey = buildChatRefKey; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.transformEventToProgram = transformEventToProgram; exports.transformPodcastToProgram = transformPodcastToProgram; exports.transformWebinarToProgram = transformWebinarToProgram; exports.useChunkCatchup = useChunkCatchup; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.parseChunkToAction = parseChunkToAction; exports.isControlChunk = isControlChunk; exports.isErrorChunk = isErrorChunk; exports.isMetadataChunk = isMetadataChunk; exports.extractTextFromChunk = extractTextFromChunk; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.useRealtimeChunkProcessor = useRealtimeChunkProcessor; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.flattenAssistantContent = flattenAssistantContent; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.useSseChatAdapter = useSseChatAdapter; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useUnifiedChat = useUnifiedChat; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.clickupTaskUrl = clickupTaskUrl; exports.EmbeddableChat = EmbeddableChat; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.ListPageLayout = ListPageLayout; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.PageHeading = PageHeading; exports.EntityImage = EntityImage; exports.TitleBlock = TitleBlock; exports.PageLayout = PageLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.DESIGN_PALETTE = DESIGN_PALETTE; exports.hexToRgb = hexToRgb2; exports.getContrastRatio = getContrastRatio; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.formatRelativeTime = formatRelativeTime; exports.formatAbsoluteDate = formatAbsoluteDate; exports.formatDateTime = formatDateTime; exports.getDetailedTimeDifference = getDetailedTimeDifference; exports.isToday = isToday; exports.isWithinMinutes = isWithinMinutes; exports.createUTCTimestamp = createUTCTimestamp; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TASK_TYPE_LABELS = TASK_TYPE_LABELS; exports.TASK_TYPE_TEXT_COLORS = TASK_TYPE_TEXT_COLORS; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.TMCG_SOCIAL_PLATFORMS = TMCG_SOCIAL_PLATFORMS; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.scrollElementIntoView = scrollElementIntoView; exports.canonicalContentRefType = canonicalContentRefType; exports.buildListUrl = buildListUrl; exports.CONTENT_REF_GROUPS = CONTENT_REF_GROUPS; exports.getContentRefLabel = getContentRefLabel; exports.getContentRefLabelOrTitleCase = getContentRefLabelOrTitleCase; exports.orderContentRefTypes = orderContentRefTypes; exports.BenefitCard = BenefitCard; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.FloatingTooltip = FloatingTooltip; exports.DashboardInfoCard = DashboardInfoCard; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.TruncateText = TruncateText; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.TabSelector = TabSelector; exports.TitleContentBlock = TitleContentBlock; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.Pagination = Pagination; exports.PaginationContent = PaginationContent; exports.PaginationItem = PaginationItem; exports.PaginationLink = PaginationLink; exports.PaginationEllipsis = PaginationEllipsis; exports.PaginationPrevious = PaginationPrevious; exports.PaginationNext = PaginationNext; exports.init_pagination = init_pagination; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.TableEmptyState = TableEmptyState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.PlatformFilterComponent = PlatformFilterComponent; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.SEOEditorPreview = SEOEditorPreview; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.VideoSourceSelector = VideoSourceSelector; exports.ConfidenceBadge = ConfidenceBadge; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses2; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.DataTableHeader = DataTableHeader; exports.DataTableEmpty = DataTableEmpty; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP2; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE2; exports.DataTableSkeleton = DataTableSkeleton; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.AssigneeDropdown = AssigneeDropdown; exports.TicketDetailSection = TicketDetailSection; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.MobileNavPanel = MobileNavPanel; exports.SlidingSidebar = SlidingSidebar; exports.StickySectionNav = StickySectionNav; exports.useSectionNavigation = useSectionNavigation; exports.NavigationSidebar = NavigationSidebar; exports.HeaderButton = HeaderButton; exports.HeaderGlobalSearch = HeaderGlobalSearch; exports.HeaderMingoButton = HeaderMingoButton; exports.HeaderOrganizationFilter = HeaderOrganizationFilter; exports.AppHeader = AppHeader; exports.MobileBurgerMenu = MobileBurgerMenu; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayout = AppLayout; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.SoftwareInfo = SoftwareInfo; exports.SoftwareSourceBadge = SoftwareSourceBadge; exports.CveLink = CveLink; exports.ToolBadge = ToolBadge; exports.ShellTypeBadge = ShellTypeBadge; exports.ScriptInfoSection = ScriptInfoSection; exports.ScriptArguments = ScriptArguments; exports.OnboardingStepCard = OnboardingStepCard; exports.OnboardingWalkthrough = OnboardingWalkthrough; exports.LOG_SEVERITY_COLORS = LOG_SEVERITY_COLORS; exports.LOG_SEVERITY_LABELS = LOG_SEVERITY_LABELS; exports.LogSeverityDot = LogSeverityDot; exports.LogsList = LogsList; exports.assets = assets;
|
|
39675
|
-
//# sourceMappingURL=chunk-
|
|
39677
|
+
//# sourceMappingURL=chunk-36HLBLDK.cjs.map
|