@flamingo-stack/openframe-frontend-core 0.0.776 → 0.0.780
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/case-study-card-WXMWYGSW.cjs +25 -0
- package/dist/{chunk-2MF547RG.cjs → chunk-2JO5HNEF.cjs} +28 -26
- package/dist/{chunk-DDXQGTWB.cjs → chunk-2W3VDE4D.cjs} +5 -5
- package/dist/{chunk-R3JX4MXD.cjs → chunk-3ZLPYEL5.cjs} +10 -10
- package/dist/{chunk-3V27UHSH.cjs → chunk-4BBOHZM3.cjs} +17 -17
- package/dist/{chunk-XT5WEHFM.cjs → chunk-4NRVV3KO.cjs} +3 -3
- package/dist/{chunk-DGFDBPO7.cjs → chunk-5GJM7VRR.cjs} +1 -94
- package/dist/{chunk-E64HPPRH.cjs → chunk-5PK22JP7.cjs} +50 -50
- package/dist/{chunk-57B5RUYD.cjs → chunk-64KBI5MI.cjs} +2 -2
- package/dist/{chunk-ASMNNSUQ.cjs → chunk-7PNRXJX2.cjs} +3 -3
- package/dist/{chunk-OTZQP53Y.cjs → chunk-AQXEM7GI.cjs} +8 -8
- package/dist/{chunk-VFZFCRAL.cjs → chunk-AQXKXZWB.cjs} +4 -4
- package/dist/{chunk-VFUMM6JC.cjs → chunk-BEMGJDXI.cjs} +2 -2
- package/dist/{chunk-HY6BCZH7.cjs → chunk-BNUZKBNV.cjs} +3 -3
- package/dist/{chunk-2YB4X5WT.cjs → chunk-DQALLDTZ.cjs} +6 -6
- package/dist/{chunk-MWH5ZTMB.cjs → chunk-F3BASIMT.cjs} +97 -95
- package/dist/{chunk-Z5KX56TK.cjs → chunk-HUPDPANN.cjs} +4 -4
- package/dist/{chunk-2AZAJ7RK.cjs → chunk-I4IC3BRC.cjs} +53 -53
- package/dist/{chunk-BDYI6HBT.cjs → chunk-IE3QCYBT.cjs} +18 -16
- package/dist/{chunk-UM6HFGTI.cjs → chunk-ILRQXZBA.cjs} +53 -51
- package/dist/{chunk-CZIMISAR.cjs → chunk-JB2SEF6Q.cjs} +7 -7
- package/dist/{chunk-AMVI5VXM.cjs → chunk-KA3VQ6X2.cjs} +91 -89
- package/dist/{chunk-LJT2KRE2.cjs → chunk-KLTUTZBO.cjs} +24 -24
- package/dist/{chunk-EHJE3UWZ.cjs → chunk-LBGAHB6X.cjs} +20 -20
- package/dist/{chunk-LNCBN4BL.cjs → chunk-MLX6Z7TU.cjs} +2 -2
- package/dist/chunk-OH5LAH3X.cjs +1456 -0
- package/dist/{chunk-XXJL5GY3.cjs → chunk-OJZBZH56.cjs} +3 -3
- package/dist/{chunk-IXZNBDXT.cjs → chunk-OMHQZXCD.cjs} +28 -28
- package/dist/{chunk-KM2TVQCH.cjs → chunk-OWQVDWTK.cjs} +259 -247
- package/dist/{chunk-YFTQ2ALU.cjs → chunk-PQBGSVZE.cjs} +116 -82
- package/dist/{chunk-OJLZ7PGO.cjs → chunk-QEFDGI3Z.cjs} +37 -35
- package/dist/{chunk-6HY2NH7D.cjs → chunk-QIQYD75I.cjs} +2 -2
- package/dist/{chunk-RB7VLVMD.cjs → chunk-R6BKQKIF.cjs} +9 -7
- package/dist/{chunk-V3W56L2D.cjs → chunk-SIDDZZKL.cjs} +38 -38
- package/dist/chunk-SZHDXXMK.cjs +102 -0
- package/dist/{chunk-5P4TDV7V.cjs → chunk-TUAATMUE.cjs} +5 -93
- package/dist/{chunk-F65RSJVV.cjs → chunk-TVDQMG7I.cjs} +23 -21
- package/dist/{chunk-XN6LXMH5.cjs → chunk-UPAE4IV5.cjs} +595 -591
- package/dist/chunk-V4FXUIMH.cjs +92 -0
- package/dist/{chunk-2JRSYWFP.cjs → chunk-VXAKQRV7.cjs} +5 -5
- package/dist/{chunk-L55XLH5A.cjs → chunk-WR7KJML6.cjs} +33 -31
- package/dist/{chunk-5QP3K2CE.cjs → chunk-XEYL6AFZ.cjs} +9 -9
- package/dist/{chunk-MYHS4W2H.cjs → chunk-YG72MEHY.cjs} +213 -1647
- package/dist/{chunk-WAQPW4CB.cjs → chunk-YNECNYQF.cjs} +6 -6
- package/dist/{chunk-NWZSYG4S.cjs → chunk-YWQ3VXPL.cjs} +114 -112
- package/dist/{chunk-24OYQQZC.cjs → chunk-ZGWS3NJR.cjs} +22 -22
- package/dist/{cloud-tenants-QFE6QMR5.cjs → cloud-tenants-2ZLGCSGK.cjs} +27 -24
- package/dist/components/case-studies/index.cjs +45 -41
- package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
- package/dist/components/chat/chat-message-enhanced.js +8 -4
- package/dist/components/chat/chat-message-list.d.ts.map +1 -1
- package/dist/components/chat/chat-message-list.js +2 -0
- package/dist/components/chat/index.cjs +21 -17
- package/dist/components/chat/types/component.types.d.ts +9 -0
- package/dist/components/chat/types/component.types.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +28 -25
- package/dist/components/docs/index.cjs +31 -28
- package/dist/components/embeds/index.cjs +28 -25
- package/dist/components/faq/index.cjs +29 -26
- package/dist/components/features/index.cjs +28 -24
- package/dist/components/features/video-hover-preview.d.ts.map +1 -1
- package/dist/components/features/video-hover-preview.js +2 -5
- package/dist/components/features/video.d.ts.map +1 -1
- package/dist/components/features/video.js +1 -44
- package/dist/components/help-center-pages/index.cjs +131 -127
- package/dist/components/index.cjs +94 -90
- package/dist/components/meeting-scheduler/index.cjs +95 -92
- package/dist/components/navigation/index.cjs +30 -27
- package/dist/components/navigation/nav-panel.d.ts.map +1 -1
- package/dist/components/navigation/nav-panel.js +47 -13
- package/dist/components/onboarding-guides/index.cjs +30 -27
- package/dist/components/product-demo/index.cjs +38 -35
- package/dist/components/related-content/index.cjs +15 -12
- package/dist/components/tickets/index.cjs +33 -30
- package/dist/components/ui/index.cjs +28 -24
- package/dist/{devices-SFJDLXSW.cjs → devices-UOBQFPV3.cjs} +28 -25
- package/dist/{embeddable-chat-XZUWAK4W.cjs → embeddable-chat-SFQWRUIV.cjs} +99 -95
- package/dist/hooks/index.cjs +12 -10
- package/dist/index.cjs +36 -30
- package/dist/{knowledge-SAK3ZGCO.cjs → knowledge-5K3LTHGB.cjs} +28 -25
- package/dist/{logs-CYBGMFA5.cjs → logs-WU3N6ESS.cjs} +35 -32
- package/dist/{policies-XXDOICWF.cjs → policies-2IYASCQO.cjs} +31 -28
- package/dist/{remote-session-TC3BZDBZ.cjs → remote-session-TGM2OTTV.cjs} +12 -10
- package/dist/{scripts-C5T2AQPA.cjs → scripts-IQBKOQEY.cjs} +34 -31
- package/dist/{software-update-XU5AI4TP.cjs → software-update-GJLDO5X5.cjs} +31 -28
- package/dist/{tickets-board-YT25IX3O.cjs → tickets-board-FB5AGLJD.cjs} +16 -14
- package/dist/{video-file-player-6ZFOZFER.cjs → video-file-player-SIJW5UWU.cjs} +3 -2
- package/package.json +1 -1
- package/src/components/chat/chat-message-enhanced.tsx +13 -4
- package/src/components/chat/chat-message-list.tsx +2 -0
- package/src/components/chat/types/component.types.ts +9 -0
- package/src/components/features/video-hover-preview.tsx +37 -46
- package/src/components/features/video.tsx +1 -61
- package/src/components/navigation/nav-panel.tsx +74 -14
|
@@ -22,10 +22,12 @@
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
+
var _chunkYG72MEHYcjs = require('./chunk-YG72MEHY.cjs');
|
|
25
26
|
|
|
26
27
|
|
|
27
28
|
|
|
28
|
-
|
|
29
|
+
|
|
30
|
+
var _chunkOH5LAH3Xcjs = require('./chunk-OH5LAH3X.cjs');
|
|
29
31
|
|
|
30
32
|
|
|
31
33
|
var _chunkSETFUCZAcjs = require('./chunk-SETFUCZA.cjs');
|
|
@@ -33,10 +35,10 @@ var _chunkSETFUCZAcjs = require('./chunk-SETFUCZA.cjs');
|
|
|
33
35
|
|
|
34
36
|
|
|
35
37
|
|
|
36
|
-
var
|
|
38
|
+
var _chunkBNUZKBNVcjs = require('./chunk-BNUZKBNV.cjs');
|
|
37
39
|
|
|
38
40
|
|
|
39
|
-
var
|
|
41
|
+
var _chunk7PNRXJX2cjs = require('./chunk-7PNRXJX2.cjs');
|
|
40
42
|
|
|
41
43
|
|
|
42
44
|
var _chunkE76ONBKFcjs = require('./chunk-E76ONBKF.cjs');
|
|
@@ -154,7 +156,7 @@ function pickBadgePaletteColor({
|
|
|
154
156
|
|
|
155
157
|
function PaletteBadge({ text, color, className, variant = "button" }) {
|
|
156
158
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
157
|
-
|
|
159
|
+
_chunkOH5LAH3Xcjs.StatusBadge,
|
|
158
160
|
{
|
|
159
161
|
text,
|
|
160
162
|
colorScheme: isBadgePaletteKey(color) ? color : "default",
|
|
@@ -243,7 +245,7 @@ var STATUS_BADGE_SCHEME = {
|
|
|
243
245
|
abandoned: "default"
|
|
244
246
|
};
|
|
245
247
|
function EmployeeEntryBadge({ children }) {
|
|
246
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
248
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.StatusBadge, { text: children, colorScheme: "default", variant: "button", singleLine: true });
|
|
247
249
|
}
|
|
248
250
|
function EmployeeEntryCard({
|
|
249
251
|
entry,
|
|
@@ -255,9 +257,9 @@ function EmployeeEntryCard({
|
|
|
255
257
|
anchorProps,
|
|
256
258
|
className
|
|
257
259
|
}) {
|
|
258
|
-
const authorAvatar =
|
|
260
|
+
const authorAvatar = _chunkYG72MEHYcjs.useProxiedImageUrl.call(void 0, _optionalChain([entry, 'access', _7 => _7.author, 'optionalAccess', _8 => _8.avatar_url]), { directHttps: false });
|
|
259
261
|
const card = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
260
|
-
|
|
262
|
+
_chunkYG72MEHYcjs.AdminContentCard,
|
|
261
263
|
{
|
|
262
264
|
imageUrl: entry.featured_image || entry.main_video_thumbnail,
|
|
263
265
|
placeholderUrl,
|
|
@@ -265,7 +267,7 @@ function EmployeeEntryCard({
|
|
|
265
267
|
summary: (_nullishCoalesce(entry.summary, () => ( ""))).slice(0, 140) || "No description",
|
|
266
268
|
badges: entry.status || extraBadges ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
267
269
|
entry.status ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
268
|
-
|
|
270
|
+
_chunkOH5LAH3Xcjs.StatusBadge,
|
|
269
271
|
{
|
|
270
272
|
text: entry.status,
|
|
271
273
|
colorScheme: _nullishCoalesce(STATUS_BADGE_SCHEME[entry.status], () => ( "default")),
|
|
@@ -301,7 +303,7 @@ function EmployeeEntryCard({
|
|
|
301
303
|
return anchorProps ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: "block h-full", children: card }) : card;
|
|
302
304
|
}
|
|
303
305
|
function EmployeeEntryCardSkeleton({ className, actions = false }) {
|
|
304
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
306
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYG72MEHYcjs.AdminContentCardSkeleton, { className, actions, subtitleRow: false });
|
|
305
307
|
}
|
|
306
308
|
|
|
307
309
|
// src/components/chat/entity-cards/what-i-shipped-card.tsx
|
|
@@ -311,7 +313,7 @@ function WhatIShippedCard({ entry, placeholderUrl, actions, anchorProps, classNa
|
|
|
311
313
|
EmployeeEntryCard,
|
|
312
314
|
{
|
|
313
315
|
entry,
|
|
314
|
-
dateLabel:
|
|
316
|
+
dateLabel: _chunkBNUZKBNVcjs.formatEntryMonthUTC.call(void 0, entry.entry_month, "short"),
|
|
315
317
|
placeholderUrl,
|
|
316
318
|
actions,
|
|
317
319
|
anchorProps,
|
|
@@ -331,7 +333,7 @@ function HowIWorkCard({ entry, placeholderUrl, actions, anchorProps, className }
|
|
|
331
333
|
EmployeeEntryCard,
|
|
332
334
|
{
|
|
333
335
|
entry,
|
|
334
|
-
dateLabel: entry.session_date ?
|
|
336
|
+
dateLabel: entry.session_date ? _chunkBNUZKBNVcjs.formatDateUTC.call(void 0, entry.session_date, { fallback: "" }) || null : null,
|
|
335
337
|
extraBadges: entry.discipline ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmployeeEntryBadge, { children: disciplineLabel(entry.discipline) }) : null,
|
|
336
338
|
untitledLabel: "Untitled session",
|
|
337
339
|
placeholderUrl,
|
|
@@ -352,7 +354,7 @@ function AiPromptCard({ entry, placeholderUrl, actions, anchorProps, className }
|
|
|
352
354
|
EmployeeEntryCard,
|
|
353
355
|
{
|
|
354
356
|
entry,
|
|
355
|
-
dateLabel: entry.published_at ?
|
|
357
|
+
dateLabel: entry.published_at ? _chunkBNUZKBNVcjs.formatDateUTC.call(void 0, entry.published_at, { fallback: "" }) || null : null,
|
|
356
358
|
extraBadges: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
357
359
|
departmentName ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DepartmentBadge, { department: { name: departmentName, color: _nullishCoalesce(_optionalChain([entry, 'access', _15 => _15.department, 'optionalAccess', _16 => _16.color]), () => ( null)) } }) : null,
|
|
358
360
|
steps > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmployeeEntryBadge, { children: `${steps} steps` }) : null
|
|
@@ -389,40 +391,40 @@ function ProductReleaseCard({
|
|
|
389
391
|
changelogCounts,
|
|
390
392
|
loading = false
|
|
391
393
|
}) {
|
|
392
|
-
if (_chunkXFRBEXQNcjs.useLoadingScope.call(void 0, ) || loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
394
|
+
if (_chunkXFRBEXQNcjs.useLoadingScope.call(void 0, ) || loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYG72MEHYcjs.ProductReleaseCardSkeleton, { size, className });
|
|
393
395
|
if (size === "lg") {
|
|
394
396
|
const totalChangelog = (_nullishCoalesce(_optionalChain([changelogCounts, 'optionalAccess', _17 => _17.features]), () => ( 0))) + (_nullishCoalesce(_optionalChain([changelogCounts, 'optionalAccess', _18 => _18.fixes]), () => ( 0))) + (_nullishCoalesce(_optionalChain([changelogCounts, 'optionalAccess', _19 => _19.improvements]), () => ( 0))) + (_nullishCoalesce(_optionalChain([changelogCounts, 'optionalAccess', _20 => _20.breaking]), () => ( 0)));
|
|
395
397
|
const valueCells = [
|
|
396
398
|
releaseType && releaseTypeBadgeColor ? {
|
|
397
399
|
value: releaseType.toUpperCase(),
|
|
398
|
-
label:
|
|
400
|
+
label: _chunkYG72MEHYcjs.RELEASE_CARD_CELL_LABELS[0],
|
|
399
401
|
uppercase: true,
|
|
400
402
|
colorScheme: releaseTypeBadgeColor
|
|
401
|
-
} : { value: "\u2014", label:
|
|
403
|
+
} : { value: "\u2014", label: _chunkYG72MEHYcjs.RELEASE_CARD_CELL_LABELS[0], uppercase: false },
|
|
402
404
|
releaseStatus ? {
|
|
403
405
|
value: releaseStatus.toUpperCase(),
|
|
404
|
-
label:
|
|
406
|
+
label: _chunkYG72MEHYcjs.RELEASE_CARD_CELL_LABELS[1],
|
|
405
407
|
uppercase: true
|
|
406
|
-
} : { value: "\u2014", label:
|
|
408
|
+
} : { value: "\u2014", label: _chunkYG72MEHYcjs.RELEASE_CARD_CELL_LABELS[1], uppercase: false },
|
|
407
409
|
formattedDate ? {
|
|
408
410
|
value: formattedDate,
|
|
409
|
-
label:
|
|
411
|
+
label: _chunkYG72MEHYcjs.RELEASE_CARD_CELL_LABELS[2],
|
|
410
412
|
uppercase: false
|
|
411
|
-
} : { value: "\u2014", label:
|
|
413
|
+
} : { value: "\u2014", label: _chunkYG72MEHYcjs.RELEASE_CARD_CELL_LABELS[2], uppercase: false }
|
|
412
414
|
];
|
|
413
415
|
const effectiveAuthor = _optionalChain([author, 'optionalAccess', _21 => _21.full_name]) ? author : { full_name: "\u2014", avatar_url: null, job_title: "Unknown" };
|
|
414
|
-
const dividerClass =
|
|
416
|
+
const dividerClass = _chunkYG72MEHYcjs.RELEASE_CARD_CELL_DIVIDER_CLASS;
|
|
415
417
|
const interactive = !!anchorProps || !!onClick;
|
|
416
418
|
const frameClass = _chunk65VVJSQZcjs.cn.call(void 0,
|
|
417
|
-
interactive ?
|
|
418
|
-
|
|
419
|
+
interactive ? _chunkOH5LAH3Xcjs.CONTENT_CARD_FRAME_CLASS : _chunkOH5LAH3Xcjs.CONTENT_CARD_SKELETON_FRAME_CLASS,
|
|
420
|
+
_chunkYG72MEHYcjs.RELEASE_CARD_LG_FRAME_CLASS,
|
|
419
421
|
"focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent focus-visible:ring-offset-2 focus-visible:ring-offset-ods-bg",
|
|
420
422
|
"no-underline",
|
|
421
423
|
className
|
|
422
424
|
);
|
|
423
425
|
const innerLayout = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
424
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
425
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
426
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkYG72MEHYcjs.RELEASE_CARD_HERO_CLASS, children: [
|
|
427
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkYG72MEHYcjs.RELEASE_CARD_COVER_COLUMN_CLASS, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, _chunkYG72MEHYcjs.RELEASE_CARD_COVER_BOX_CLASS, "bg-ods-bg"), children: [
|
|
426
428
|
coverImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
427
429
|
_chunkE76ONBKFcjs.next_image_default,
|
|
428
430
|
{
|
|
@@ -436,16 +438,16 @@ function ProductReleaseCard({
|
|
|
436
438
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute inset-0 flex items-center justify-center text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Package, { className: "h-8 w-8" }) }),
|
|
437
439
|
hasVideoCover && coverImage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSETFUCZAcjs.CardHoverPlay, { size: "md" })
|
|
438
440
|
] }) }),
|
|
439
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
440
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
441
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkYG72MEHYcjs.RELEASE_CARD_TEXT_COLUMN_CLASS, children: [
|
|
442
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkYG72MEHYcjs.RELEASE_CARD_VERSION_ROW_CLASS, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkYG72MEHYcjs.RELEASE_CARD_VERSION_CLASS, children: [
|
|
441
443
|
"v",
|
|
442
444
|
version
|
|
443
445
|
] }) }),
|
|
444
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
445
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
446
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkYG72MEHYcjs.RELEASE_CARD_TITLE_BOX_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: _chunkYG72MEHYcjs.RELEASE_CARD_TITLE_CLASS, children: title }) }),
|
|
447
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkYG72MEHYcjs.RELEASE_CARD_SUMMARY_BOX_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkYG72MEHYcjs.RELEASE_CARD_SUMMARY_CLASS, children: _nullishCoalesce(summary, () => ( "")) }) })
|
|
446
448
|
] })
|
|
447
449
|
] }),
|
|
448
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
450
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkYG72MEHYcjs.RELEASE_CARD_CHANGELOG_CLASS, children: totalChangelog > 0 && changelogCounts ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
449
451
|
changelogCounts.features > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { "data-loading-item": true, className: "inline-flex items-center gap-1.5", children: [
|
|
450
452
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Sparkles, { className: "h-3.5 w-3.5" }),
|
|
451
453
|
changelogCounts.features,
|
|
@@ -470,10 +472,10 @@ function ProductReleaseCard({
|
|
|
470
472
|
" breaking"
|
|
471
473
|
] })
|
|
472
474
|
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "data-loading-item": true, className: "text-ods-text-secondary", children: "No changelog entries yet" }) }),
|
|
473
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
474
|
-
valueCells.map((cell, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
475
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkYG72MEHYcjs.RELEASE_CARD_GRID_CLASS, children: [
|
|
476
|
+
valueCells.map((cell, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, _chunkYG72MEHYcjs.RELEASE_CARD_CELL_CLASS, dividerClass), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkYG72MEHYcjs.RELEASE_CARD_CELL_STACK_CLASS, children: [
|
|
475
477
|
cell.colorScheme ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
476
|
-
|
|
478
|
+
_chunkOH5LAH3Xcjs.StatusBadge,
|
|
477
479
|
{
|
|
478
480
|
text: cell.value,
|
|
479
481
|
variant: "card",
|
|
@@ -493,11 +495,11 @@ function ProductReleaseCard({
|
|
|
493
495
|
children: cell.uppercase ? cell.value.toLocaleUpperCase() : cell.value
|
|
494
496
|
}
|
|
495
497
|
),
|
|
496
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className:
|
|
498
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkYG72MEHYcjs.RELEASE_CARD_CELL_LABEL_CLASS, children: cell.label })
|
|
497
499
|
] }) }, `${cell.label}-${i}`)),
|
|
498
500
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3 p-4", children: [
|
|
499
501
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
500
|
-
|
|
502
|
+
_chunkBNUZKBNVcjs.SquareAvatar,
|
|
501
503
|
{
|
|
502
504
|
src: _nullishCoalesce(effectiveAuthor.avatar_url, () => ( void 0)),
|
|
503
505
|
alt: effectiveAuthor.full_name,
|
|
@@ -622,7 +624,7 @@ function useSelfFetch(givenUrl, options) {
|
|
|
622
624
|
try {
|
|
623
625
|
setIsLoading(true);
|
|
624
626
|
setError(false);
|
|
625
|
-
const res = await
|
|
627
|
+
const res = await _chunk7PNRXJX2cjs.contentFetch.call(void 0, url, { signal: ctrl.signal });
|
|
626
628
|
if (!res.ok) throw new Error(`Request failed (${res.status})`);
|
|
627
629
|
const json = await res.json();
|
|
628
630
|
if (!cancelled) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkHUPDPANNcjs = require('./chunk-HUPDPANN.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkXFRBEXQNcjs = require('./chunk-XFRBEXQN.cjs');
|
|
@@ -120,7 +120,7 @@ function PersistentPaginationWrapper({
|
|
|
120
120
|
},
|
|
121
121
|
"aria-hidden": isPaginationDisabled,
|
|
122
122
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
123
|
-
|
|
123
|
+
_chunkHUPDPANNcjs.UnifiedPagination,
|
|
124
124
|
{
|
|
125
125
|
currentPage: displayCurrentPage,
|
|
126
126
|
totalPages: displayTotalPages,
|
|
@@ -4,14 +4,16 @@
|
|
|
4
4
|
var _chunk24I6RFVUcjs = require('./chunk-24I6RFVU.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk7PNRXJX2cjs = require('./chunk-7PNRXJX2.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkAQXKXZWBcjs = require('./chunk-AQXKXZWB.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
+
var _chunkSZHDXXMKcjs = require('./chunk-SZHDXXMK.cjs');
|
|
13
14
|
|
|
14
|
-
|
|
15
|
+
|
|
16
|
+
var _chunk5GJM7VRRcjs = require('./chunk-5GJM7VRR.cjs');
|
|
15
17
|
|
|
16
18
|
|
|
17
19
|
|
|
@@ -53,7 +55,7 @@ function useResizablePanelSize({
|
|
|
53
55
|
storageKey
|
|
54
56
|
}) {
|
|
55
57
|
const storage = _react.useMemo.call(void 0,
|
|
56
|
-
() => enabled && storageKey ?
|
|
58
|
+
() => enabled && storageKey ? _chunk5GJM7VRRcjs.createLocalStorageAdapter.call(void 0, {
|
|
57
59
|
key: `${storageKey}${CHOSEN_SIZE_KEY_SUFFIX}`,
|
|
58
60
|
validate: isStoredPanelSize,
|
|
59
61
|
logTag: `[panel-size:${storageKey}]`
|
|
@@ -67,7 +69,7 @@ function useResizablePanelSize({
|
|
|
67
69
|
const clampSize = _react.useCallback.call(void 0,
|
|
68
70
|
(value) => {
|
|
69
71
|
const ceiling = available > 0 ? Math.min(maxSize, available - reserve) : maxSize;
|
|
70
|
-
return
|
|
72
|
+
return _chunk7PNRXJX2cjs.clamp.call(void 0, value, minSize, Math.max(minSize, ceiling));
|
|
71
73
|
},
|
|
72
74
|
[available, reserve, minSize, maxSize]
|
|
73
75
|
);
|
|
@@ -401,7 +403,7 @@ var DrawerContent = _react.forwardRef.call(void 0,
|
|
|
401
403
|
ref: panelRef,
|
|
402
404
|
className: _chunk65VVJSQZcjs.cn.call(void 0, drawerPanelVariants({ side, flush, size }), className, panelClassName),
|
|
403
405
|
style: { ...sizeStyle, ...panelStyle },
|
|
404
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIFEZ2JTcjs.PortalContainerContext.Provider, { value: portalHost, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIFEZ2JTcjs.CollisionBoundaryContext.Provider, { value: null, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
406
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIFEZ2JTcjs.PortalContainerContext.Provider, { value: portalHost, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIFEZ2JTcjs.CollisionBoundaryContext.Provider, { value: null, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAQXKXZWBcjs.ViewportBreakpoints, { children }) }) })
|
|
405
407
|
}
|
|
406
408
|
),
|
|
407
409
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: setPortalHost, className: "contents" })
|
|
@@ -465,7 +467,7 @@ function HoverDropdown({
|
|
|
465
467
|
const timeoutRef = _react.useRef.call(void 0, void 0);
|
|
466
468
|
const containerRef = _react.useRef.call(void 0, null);
|
|
467
469
|
const panelRef = _react.useRef.call(void 0, null);
|
|
468
|
-
|
|
470
|
+
_chunkSZHDXXMKcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
469
471
|
const el = panelRef.current;
|
|
470
472
|
const container = containerRef.current;
|
|
471
473
|
if (!el || !container) return;
|
|
@@ -10,7 +10,7 @@ var _chunkA6P6DHEZcjs = require('./chunk-A6P6DHEZ.cjs');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkXEYL6AFZcjs = require('./chunk-XEYL6AFZ.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -102,14 +102,14 @@ var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
|
|
105
|
-
var
|
|
105
|
+
var _chunkBNUZKBNVcjs = require('./chunk-BNUZKBNV.cjs');
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
var _chunkRUHKTWGBcjs = require('./chunk-RUHKTWGB.cjs');
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
|
|
112
|
-
var
|
|
112
|
+
var _chunkV4FXUIMHcjs = require('./chunk-V4FXUIMH.cjs');
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
var _chunkE76ONBKFcjs = require('./chunk-E76ONBKF.cjs');
|
|
@@ -234,10 +234,10 @@ function TruncateText({
|
|
|
234
234
|
as = "div"
|
|
235
235
|
}) {
|
|
236
236
|
const isMultiLine = lines > 1;
|
|
237
|
-
const { ref, isTruncated } =
|
|
237
|
+
const { ref, isTruncated } = _chunkV4FXUIMHcjs.useIsTruncated.call(void 0, children, { multiline: isMultiLine });
|
|
238
238
|
const clampClass = isMultiLine ? LINE_CLAMP_CLASS[lines] : "truncate block";
|
|
239
239
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
240
|
-
|
|
240
|
+
_chunkBNUZKBNVcjs.FloatingTooltip,
|
|
241
241
|
{
|
|
242
242
|
content: _nullishCoalesce(tooltip, () => ( children)),
|
|
243
243
|
side,
|
|
@@ -576,7 +576,7 @@ function AutocompleteInner(props, ref) {
|
|
|
576
576
|
),
|
|
577
577
|
children: [
|
|
578
578
|
multiple && visibleTags.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
579
|
-
|
|
579
|
+
_chunkBNUZKBNVcjs.Tag,
|
|
580
580
|
{
|
|
581
581
|
variant: "outline",
|
|
582
582
|
className: wrapTags ? "max-w-full" : void 0,
|
|
@@ -810,7 +810,7 @@ function AutocompleteInner(props, ref) {
|
|
|
810
810
|
"aria-hidden": "true",
|
|
811
811
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
812
812
|
children: selectedOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
813
|
-
|
|
813
|
+
_chunkBNUZKBNVcjs.Tag,
|
|
814
814
|
{
|
|
815
815
|
variant: "outline",
|
|
816
816
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -1306,13 +1306,13 @@ var ENTITY_IMAGE_SIZE = _chunkXFRBEXQNcjs.TILE_SIZE.entity;
|
|
|
1306
1306
|
var ENTITY_IMAGE_RADIUS_CLASS = "rounded-md";
|
|
1307
1307
|
function EntityImage({ src, alt, fallbackText, sizeClassName, className }) {
|
|
1308
1308
|
const held = _chunkXFRBEXQNcjs.useLoadingScope.call(void 0, );
|
|
1309
|
-
const authedSrc =
|
|
1309
|
+
const authedSrc = _chunkV4FXUIMHcjs.useAuthedImageSrc.call(void 0, held ? void 0 : src);
|
|
1310
1310
|
const resolvedSrc = authedSrc;
|
|
1311
1311
|
const [failedSrc, setFailedSrc] = _react2.default.useState(null);
|
|
1312
1312
|
const imageFailed = resolvedSrc !== void 0 && failedSrc === resolvedSrc;
|
|
1313
1313
|
if (held) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EntityImageSkeleton, { sizeClassName, className });
|
|
1314
1314
|
const showFallback = imageFailed || !resolvedSrc;
|
|
1315
|
-
const initials =
|
|
1315
|
+
const initials = _chunkBNUZKBNVcjs.personInitials.call(void 0, _nullishCoalesce(fallbackText, () => ( alt)));
|
|
1316
1316
|
if (showFallback) {
|
|
1317
1317
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1318
1318
|
"div",
|
|
@@ -1408,10 +1408,10 @@ function TitleBlock({
|
|
|
1408
1408
|
const titleClass = titleSize === "h1" ? "text-h1" : "text-h2";
|
|
1409
1409
|
const titleOverflowClass = titleWrap ? "break-words" : "truncate";
|
|
1410
1410
|
const skeletonSize = TITLE_SKELETON_SIZE[titleSize];
|
|
1411
|
-
const { ref: titleRef, isTruncated: titleTruncated } =
|
|
1411
|
+
const { ref: titleRef, isTruncated: titleTruncated } = _chunkV4FXUIMHcjs.useIsTruncated.call(void 0,
|
|
1412
1412
|
titleLoading ? null : title
|
|
1413
1413
|
);
|
|
1414
|
-
const { ref: subtitleRef, isTruncated: subtitleTruncated } =
|
|
1414
|
+
const { ref: subtitleRef, isTruncated: subtitleTruncated } = _chunkV4FXUIMHcjs.useIsTruncated.call(void 0,
|
|
1415
1415
|
subtitleLoading ? null : subtitle
|
|
1416
1416
|
);
|
|
1417
1417
|
const titleNode = titleLoading && titleWrap && titleSkeletonLines ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -1486,7 +1486,7 @@ function TitleBlock({
|
|
|
1486
1486
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
1487
1487
|
(titleLoading || title) && (titleAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-m)]", children: [
|
|
1488
1488
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1489
|
-
|
|
1489
|
+
_chunkBNUZKBNVcjs.FloatingTooltip,
|
|
1490
1490
|
{
|
|
1491
1491
|
content: title,
|
|
1492
1492
|
side: "bottom",
|
|
@@ -1503,12 +1503,12 @@ function TitleBlock({
|
|
|
1503
1503
|
}
|
|
1504
1504
|
),
|
|
1505
1505
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
1506
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1506
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBNUZKBNVcjs.FloatingTooltip, { content: title, side: "bottom", disabled: !titleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageTitle, { ref: titleRef, className: _chunk65VVJSQZcjs.cn.call(void 0, titleClass, "text-ods-text-primary", titleOverflowClass), children: titleNode }) })),
|
|
1507
1507
|
hasSubtitleRow && /* The NBSP is a pure spacer, reached only in `'always'` mode: an
|
|
1508
1508
|
empty `p` collapses to zero height (its only content would be
|
|
1509
1509
|
collapsible whitespace), which is exactly the shift that mode
|
|
1510
1510
|
exists to prevent. Hidden from AT — it carries no meaning. */
|
|
1511
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1511
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBNUZKBNVcjs.FloatingTooltip, { content: subtitle, side: "bottom", disabled: !subtitleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1512
1512
|
"p",
|
|
1513
1513
|
{
|
|
1514
1514
|
ref: subtitleRef,
|
|
@@ -1526,7 +1526,7 @@ function TitleBlock({
|
|
|
1526
1526
|
) })
|
|
1527
1527
|
] })
|
|
1528
1528
|
] }) : title && (titleAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-m)]", children: [
|
|
1529
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1529
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBNUZKBNVcjs.FloatingTooltip, { content: title, side: "bottom", disabled: !titleTruncated, triggerClassName: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1530
1530
|
PageTitle,
|
|
1531
1531
|
{
|
|
1532
1532
|
ref: titleRef,
|
|
@@ -1654,7 +1654,7 @@ function RemoteSessionViewers({ viewers, max = 4, className }) {
|
|
|
1654
1654
|
children: [
|
|
1655
1655
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center", children: [
|
|
1656
1656
|
faces.map((viewer, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1657
|
-
|
|
1657
|
+
_chunkBNUZKBNVcjs.SquareAvatar,
|
|
1658
1658
|
{
|
|
1659
1659
|
variant: "round",
|
|
1660
1660
|
sizePx: 32,
|
|
@@ -1688,7 +1688,7 @@ function RemoteSessionViewers({ viewers, max = 4, className }) {
|
|
|
1688
1688
|
),
|
|
1689
1689
|
children: [
|
|
1690
1690
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1691
|
-
|
|
1691
|
+
_chunkBNUZKBNVcjs.SquareAvatar,
|
|
1692
1692
|
{
|
|
1693
1693
|
variant: "round",
|
|
1694
1694
|
sizePx: 24,
|
|
@@ -1734,7 +1734,7 @@ function RemoteSessionScope({ children, className }) {
|
|
|
1734
1734
|
function RemoteSessionOrgLogo({ name, logoUrl, sizePx, className }) {
|
|
1735
1735
|
if (logoUrl) {
|
|
1736
1736
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1737
|
-
|
|
1737
|
+
_chunkBNUZKBNVcjs.SquareAvatar,
|
|
1738
1738
|
{
|
|
1739
1739
|
variant: "square",
|
|
1740
1740
|
fit: "contain",
|
|
@@ -1844,7 +1844,7 @@ function RemoteAccessRequestCard({
|
|
|
1844
1844
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RemoteSessionOrgLogo, { name: organizationName, logoUrl: party.organizationLogoUrl, sizePx: 64 }),
|
|
1845
1845
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
1846
1846
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full truncate text-ods-text-primary text-h3", children: organizationName }),
|
|
1847
|
-
siteUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full truncate text-ods-text-secondary text-h4", children:
|
|
1847
|
+
siteUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full truncate text-ods-text-secondary text-h4", children: _chunkBNUZKBNVcjs.formatUrlForDisplay.call(void 0, siteUrl, { keepWww: true }) })
|
|
1848
1848
|
] }),
|
|
1849
1849
|
openableSite && onOpenSite && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTF5D5MNOcjs.Button, { variant: "outline", size: "icon", "aria-label": "Open website", onClick: () => onOpenSite(openableSite), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEDVT7OAScjs.ExternalLinkIcon, { size: 24, color: "currentColor" }) })
|
|
1850
1850
|
] }),
|
|
@@ -1963,7 +1963,7 @@ function RemoteSessionSummary({
|
|
|
1963
1963
|
...dragHandlers,
|
|
1964
1964
|
children: [
|
|
1965
1965
|
technician ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1966
|
-
|
|
1966
|
+
_chunkBNUZKBNVcjs.SquareAvatar,
|
|
1967
1967
|
{
|
|
1968
1968
|
variant: "round",
|
|
1969
1969
|
sizePx: 48,
|
|
@@ -2019,7 +2019,7 @@ var RemoteSessionMinimizedChip = _react.forwardRef.call(void 0,
|
|
|
2019
2019
|
...dragHandlers,
|
|
2020
2020
|
children: [
|
|
2021
2021
|
technician ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2022
|
-
|
|
2022
|
+
_chunkBNUZKBNVcjs.SquareAvatar,
|
|
2023
2023
|
{
|
|
2024
2024
|
sizePx: 48,
|
|
2025
2025
|
src: _nullishCoalesce(party.technicianAvatarUrl, () => ( void 0)),
|
|
@@ -2169,7 +2169,7 @@ function RemoteSessionChatMessageRow({
|
|
|
2169
2169
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
2170
2170
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[var(--spacing-system-xs)]", children: [
|
|
2171
2171
|
isTechnician && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2172
|
-
|
|
2172
|
+
_chunkBNUZKBNVcjs.SquareAvatar,
|
|
2173
2173
|
{
|
|
2174
2174
|
variant: "round",
|
|
2175
2175
|
sizePx: 16,
|
|
@@ -2207,9 +2207,9 @@ function RemoteDesktopChatMessageRow({
|
|
|
2207
2207
|
}) {
|
|
2208
2208
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: MESSAGE_ROW_CLASS, children: [
|
|
2209
2209
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: MESSAGE_HEAD_CLASS, children: [
|
|
2210
|
-
isTechnician && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2210
|
+
isTechnician && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBNUZKBNVcjs.SquareAvatar, { variant: "round", sizePx: 24, src: avatarUrl, alt: authorName, className: "shrink-0" }),
|
|
2211
2211
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk65VVJSQZcjs.cn.call(void 0, MESSAGE_NAME_CLASS, isTechnician ? "text-ods-accent" : "text-ods-text-secondary"), children: authorName }),
|
|
2212
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { suppressHydrationWarning: true, className: "shrink-0 text-ods-text-secondary text-h6", children:
|
|
2212
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { suppressHydrationWarning: true, className: "shrink-0 text-ods-text-secondary text-h6", children: _chunkXEYL6AFZcjs.formatTime.call(void 0, sentAt) })
|
|
2213
2213
|
] }),
|
|
2214
2214
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "whitespace-pre-wrap text-ods-text-primary text-h4", children: body })
|
|
2215
2215
|
] });
|
|
@@ -2271,7 +2271,7 @@ function RemoteDesktopChatPanel({
|
|
|
2271
2271
|
message.id
|
|
2272
2272
|
)) }) }),
|
|
2273
2273
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2274
|
-
|
|
2274
|
+
_chunkXEYL6AFZcjs.ChatInput,
|
|
2275
2275
|
{
|
|
2276
2276
|
placeholder: "Enter your Message...",
|
|
2277
2277
|
onSend,
|
|
@@ -2638,9 +2638,9 @@ function KeepRecordingModal({
|
|
|
2638
2638
|
if (!canKeep || isPending) return;
|
|
2639
2639
|
onConfirm({ reason, description: reason === "OTHER" ? trimmed : null });
|
|
2640
2640
|
};
|
|
2641
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2641
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXEYL6AFZcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
2642
2642
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
2643
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2643
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXEYL6AFZcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXEYL6AFZcjs.ModalTitle, { children: "Keep this recording" }) }),
|
|
2644
2644
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2645
2645
|
KeepNotice,
|
|
2646
2646
|
{
|
|
@@ -2678,7 +2678,7 @@ function KeepRecordingModal({
|
|
|
2678
2678
|
}
|
|
2679
2679
|
)
|
|
2680
2680
|
] }),
|
|
2681
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2681
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXEYL6AFZcjs.ModalFooter, { children: [
|
|
2682
2682
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTF5D5MNOcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
2683
2683
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
2684
2684
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2708,9 +2708,9 @@ function ReleaseKeepingModal({
|
|
|
2708
2708
|
isPending = false,
|
|
2709
2709
|
onConfirm
|
|
2710
2710
|
}) {
|
|
2711
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2711
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXEYL6AFZcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
2712
2712
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
2713
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2713
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXEYL6AFZcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXEYL6AFZcjs.ModalTitle, { children: "Release Keeping" }) }),
|
|
2714
2714
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-xsf)] break-words text-ods-text-primary text-h4", children: [
|
|
2715
2715
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { children: [
|
|
2716
2716
|
"Kept by ",
|
|
@@ -2727,7 +2727,7 @@ function ReleaseKeepingModal({
|
|
|
2727
2727
|
] })
|
|
2728
2728
|
] }),
|
|
2729
2729
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, KeepNotice, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkILWSAV64cjs.HourglassIcon, { size: 24, color: "currentColor" }), title: `It will expire on ${expiresOn}`, children: dueOn ? `It was due to expire on ${dueOn}. Releasing gives it 3 days' grace, and it shows amber until then. Whoever placed the Keep is reminded the day before it goes. Nothing is deleted now.` : "Nothing is deleted now." }),
|
|
2730
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2730
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXEYL6AFZcjs.ModalFooter, { children: [
|
|
2731
2731
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTF5D5MNOcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
2732
2732
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
2733
2733
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTF5D5MNOcjs.Button, { type: "button", variant: "accent", onClick: onConfirm, loading: isPending, className: "flex-1", children: "Release Keeping" })
|
|
@@ -2769,9 +2769,9 @@ function AssignTicketModal({
|
|
|
2769
2769
|
if (ticketIds.length === 0 || isPending) return;
|
|
2770
2770
|
onConfirm(ticketIds);
|
|
2771
2771
|
};
|
|
2772
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2772
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXEYL6AFZcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
2773
2773
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
2774
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2774
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXEYL6AFZcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXEYL6AFZcjs.ModalTitle, { children: "Assign Ticket" }) }),
|
|
2775
2775
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2776
2776
|
Autocomplete,
|
|
2777
2777
|
{
|
|
@@ -2790,7 +2790,7 @@ function AssignTicketModal({
|
|
|
2790
2790
|
disabled: isPending
|
|
2791
2791
|
}
|
|
2792
2792
|
),
|
|
2793
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2793
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXEYL6AFZcjs.ModalFooter, { children: [
|
|
2794
2794
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTF5D5MNOcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
2795
2795
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
2796
2796
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2809,11 +2809,11 @@ function AssignTicketModal({
|
|
|
2809
2809
|
] });
|
|
2810
2810
|
}
|
|
2811
2811
|
function UnassignTicketModal({ isOpen, onClose, isPending = false, onConfirm }) {
|
|
2812
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2812
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXEYL6AFZcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
2813
2813
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
2814
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2814
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXEYL6AFZcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXEYL6AFZcjs.ModalTitle, { children: "Unassign Ticket" }) }),
|
|
2815
2815
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full text-ods-text-primary text-h4", children: "This Ticket will no longer be linked to this remote session. The ticket itself stays as it is, and you can assign it again anytime." }),
|
|
2816
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2816
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXEYL6AFZcjs.ModalFooter, { children: [
|
|
2817
2817
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTF5D5MNOcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
2818
2818
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
2819
2819
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTF5D5MNOcjs.Button, { type: "button", variant: "destructive", onClick: onConfirm, loading: isPending, className: "flex-1", children: "Unassign" })
|
|
@@ -2893,7 +2893,7 @@ var STATUS_TAG = {
|
|
|
2893
2893
|
function RemoteSessionStatusTag({ status, className }) {
|
|
2894
2894
|
const { label, variant } = STATUS_TAG[status];
|
|
2895
2895
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2896
|
-
|
|
2896
|
+
_chunkBNUZKBNVcjs.Tag,
|
|
2897
2897
|
{
|
|
2898
2898
|
label,
|
|
2899
2899
|
variant,
|