@flamingo-stack/openframe-frontend-core 0.0.761 → 0.0.762
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-7Z4EQOIX.cjs → chunk-22XAPV6N.cjs} +35 -35
- package/dist/{chunk-AXBVN5SW.cjs → chunk-2IFCRPNP.cjs} +38 -38
- package/dist/{chunk-CSJO7ZGN.cjs → chunk-3RYIF4OW.cjs} +3 -3
- package/dist/{chunk-G6IK3HC5.cjs → chunk-3WPWUUFU.cjs} +32 -32
- package/dist/{chunk-35BJY5RR.cjs → chunk-47GZ33ND.cjs} +44 -44
- package/dist/{chunk-HQYWVNQL.cjs → chunk-4NGXJA3V.cjs} +4 -4
- package/dist/{chunk-GLQBCQOF.cjs → chunk-4VAMNI27.cjs} +59 -59
- package/dist/{chunk-4EM7HIIM.cjs → chunk-72XMAKDA.cjs} +566 -566
- package/dist/{chunk-B7AOUPBV.cjs → chunk-AXGTRPF6.cjs} +20 -20
- package/dist/{chunk-6T6O36LT.cjs → chunk-CEJDHCFZ.cjs} +89 -89
- package/dist/{chunk-NOFJH7MA.cjs → chunk-CZ3OVWUL.cjs} +14 -14
- package/dist/{chunk-GKRHGVB4.cjs → chunk-DYJWZIPU.cjs} +100 -100
- package/dist/{chunk-6M54EVOA.cjs → chunk-DZ6BYXQF.cjs} +28 -28
- package/dist/{chunk-2ANICXS7.cjs → chunk-E4LA4BEH.cjs} +21 -21
- package/dist/{chunk-JHQNUWFM.cjs → chunk-EQZXJUYV.cjs} +3 -3
- package/dist/{chunk-LU7TD6QS.cjs → chunk-FQSXZC2K.cjs} +3 -3
- package/dist/{chunk-QU5K52OP.cjs → chunk-GY2JESOC.cjs} +2 -2
- package/dist/{chunk-LOFDIDSD.cjs → chunk-GZKWF6NH.cjs} +9 -9
- package/dist/{chunk-VAZTFCVY.cjs → chunk-J4P47JHM.cjs} +20 -20
- package/dist/{chunk-WBOHLXFC.cjs → chunk-LVKUMVUJ.cjs} +2 -2
- package/dist/{chunk-L2IQESTQ.cjs → chunk-M7YZGRAV.cjs} +2 -2
- package/dist/{chunk-R34JD6NP.cjs → chunk-MWLD6NXV.cjs} +3 -3
- package/dist/{chunk-TIV74DVS.cjs → chunk-N52HFJTK.cjs} +43 -43
- package/dist/{chunk-W2RM764D.cjs → chunk-NET74KSQ.cjs} +5 -4
- package/dist/{chunk-B27XV2TC.cjs → chunk-NS64LMVE.cjs} +10 -10
- package/dist/{chunk-OBXZDUC3.cjs → chunk-NSR7K57R.cjs} +83 -83
- package/dist/{chunk-QYLIHZKZ.cjs → chunk-OJJ4RL2T.cjs} +4 -4
- package/dist/{chunk-F64VMOIB.cjs → chunk-PE26VSWT.cjs} +19 -19
- package/dist/{chunk-EMSOBT6R.cjs → chunk-PFXR3RF3.cjs} +6 -6
- package/dist/{chunk-D252ICCO.cjs → chunk-QCO32MEE.cjs} +17 -17
- package/dist/{chunk-KTPR66EE.cjs → chunk-R3TWQ3ZJ.cjs} +10 -0
- package/dist/{chunk-VUSXDMCE.cjs → chunk-RM6AHNM4.cjs} +7 -7
- package/dist/{chunk-T4BBZ5ST.cjs → chunk-RO72PRQI.cjs} +2 -2
- package/dist/{chunk-WI2OTGKC.cjs → chunk-SVP6DJFL.cjs} +2 -2
- package/dist/{chunk-H45OTVYI.cjs → chunk-TGVV7STM.cjs} +22 -22
- package/dist/{chunk-SUHPBFNU.cjs → chunk-TQPQKBBL.cjs} +242 -240
- package/dist/{chunk-5E6JHOGX.cjs → chunk-TSJUL6IH.cjs} +3 -3
- package/dist/{chunk-LOM3S64Z.cjs → chunk-TWAHPTWW.cjs} +8 -8
- package/dist/{chunk-VUWPLQBY.cjs → chunk-XCH7SPGI.cjs} +44 -44
- package/dist/{cloud-tenants-BDGV4N2T.cjs → cloud-tenants-M5SIL6QZ.cjs} +22 -22
- package/dist/components/case-studies/index.cjs +36 -36
- package/dist/components/chat/index.cjs +15 -15
- package/dist/components/contact/index.cjs +23 -23
- package/dist/components/docs/index.cjs +26 -26
- package/dist/components/embeds/index.cjs +23 -23
- package/dist/components/faq/index.cjs +24 -24
- package/dist/components/features/index.cjs +22 -22
- package/dist/components/help-center-pages/index.cjs +125 -125
- package/dist/components/index.cjs +83 -83
- package/dist/components/meeting-scheduler/index.cjs +77 -77
- package/dist/components/navigation/index.cjs +25 -25
- package/dist/components/onboarding-guides/index.cjs +25 -25
- package/dist/components/product-demo/index.cjs +9 -9
- package/dist/components/related-content/index.cjs +10 -10
- package/dist/components/tickets/index.cjs +28 -28
- package/dist/components/ui/index.cjs +22 -22
- package/dist/{devices-Q5YHMXGV.cjs → devices-TZY7RF7M.cjs} +23 -23
- package/dist/{embeddable-chat-ST5IR6VN.cjs → embeddable-chat-HWQSP3DY.cjs} +93 -93
- package/dist/hooks/index.cjs +8 -8
- package/dist/index.cjs +28 -28
- package/dist/{knowledge-UJTJT36J.cjs → knowledge-UKC2BLQP.cjs} +23 -23
- package/dist/{logs-WMNITBLM.cjs → logs-MFVTQ5NN.cjs} +30 -30
- package/dist/platform-domains.cjs +2 -0
- package/dist/platform-domains.d.ts.map +1 -1
- package/dist/platform-domains.js +2 -0
- package/dist/{policies-TRXVBOH7.cjs → policies-BETELENB.cjs} +26 -26
- package/dist/{remote-session-SKNXYG6K.cjs → remote-session-F72S6I7J.cjs} +9 -9
- package/dist/{scripts-HECY7XDL.cjs → scripts-XDT3ZAXU.cjs} +29 -29
- package/dist/{software-update-NNFLEMYD.cjs → software-update-EW5X7R2X.cjs} +26 -26
- package/dist/{tickets-board-B2FH7Z4B.cjs → tickets-board-4PBXPSGJ.cjs} +12 -12
- package/dist/types/platform.d.ts +1 -1
- package/dist/types/platform.d.ts.map +1 -1
- package/dist/utils/index.cjs +13 -0
- package/dist/utils/platform-config.d.ts.map +1 -1
- package/dist/utils/platform-config.js +1 -0
- package/dist/utils/platform-identity.cjs +10 -0
- package/dist/utils/platform-identity.d.ts +3 -2
- package/dist/utils/platform-identity.d.ts.map +1 -1
- package/dist/utils/platform-identity.js +10 -0
- package/package.json +1 -1
- package/src/platform-domains.ts +2 -0
- package/src/styles/README.md +1 -0
- package/src/styles/ods-colors.css +16 -0
- package/src/types/platform.ts +1 -0
- package/src/utils/platform-config.tsx +1 -0
- package/src/utils/platform-identity.ts +19 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkOJJ4RL2Tcjs = require('./chunk-OJJ4RL2T.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -15,7 +15,7 @@ var _chunkQYLIHZKZcjs = require('./chunk-QYLIHZKZ.cjs');
|
|
|
15
15
|
var _chunk63N4FN5Vcjs = require('./chunk-63N4FN5V.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkM7YZGRAVcjs = require('./chunk-M7YZGRAV.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
@@ -27,7 +27,7 @@ var _chunkL2IQESTQcjs = require('./chunk-L2IQESTQ.cjs');
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkEQZXJUYVcjs = require('./chunk-EQZXJUYV.cjs');
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
var _chunk32ASZMTVcjs = require('./chunk-32ASZMTV.cjs');
|
|
@@ -50,12 +50,12 @@ var _chunkI5MSCD57cjs = require('./chunk-I5MSCD57.cjs');
|
|
|
50
50
|
var _chunkCW3ML76Ucjs = require('./chunk-CW3ML76U.cjs');
|
|
51
51
|
|
|
52
52
|
|
|
53
|
-
var
|
|
53
|
+
var _chunkMWLD6NXVcjs = require('./chunk-MWLD6NXV.cjs');
|
|
54
54
|
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
|
|
58
|
-
var
|
|
58
|
+
var _chunkR3TWQ3ZJcjs = require('./chunk-R3TWQ3ZJ.cjs');
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
|
|
@@ -227,7 +227,7 @@ var Modal = _react.forwardRef.call(void 0, ({ isOpen, onClose, children, classNa
|
|
|
227
227
|
),
|
|
228
228
|
role: "dialog",
|
|
229
229
|
"aria-modal": "true",
|
|
230
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
230
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMWLD6NXVcjs.ViewportBreakpoints, { children })
|
|
231
231
|
}
|
|
232
232
|
)
|
|
233
233
|
] });
|
|
@@ -821,7 +821,7 @@ function EntityIcon({
|
|
|
821
821
|
size = 20,
|
|
822
822
|
className
|
|
823
823
|
}) {
|
|
824
|
-
const identity =
|
|
824
|
+
const identity = _chunkOJJ4RL2Tcjs.useAgentIdentityIcon.call(void 0, _optionalChain([icon, 'optionalAccess', _14 => _14.url]) ? null : _optionalChain([icon, 'optionalAccess', _15 => _15.name]));
|
|
825
825
|
if (!_optionalChain([icon, 'optionalAccess', _16 => _16.url]) && _optionalChain([identity, 'optionalAccess', _17 => _17.url])) {
|
|
826
826
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
827
827
|
_chunkHOTM4UM6cjs.next_image_default,
|
|
@@ -830,7 +830,7 @@ function EntityIcon({
|
|
|
830
830
|
alt: "",
|
|
831
831
|
width: size,
|
|
832
832
|
height: size,
|
|
833
|
-
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
833
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0, _chunkOJJ4RL2Tcjs.AGENT_PICTURE_CLASS, className),
|
|
834
834
|
unoptimized: true
|
|
835
835
|
}
|
|
836
836
|
);
|
|
@@ -849,8 +849,8 @@ function EntityIcon({
|
|
|
849
849
|
}
|
|
850
850
|
);
|
|
851
851
|
}
|
|
852
|
-
const Glyph =
|
|
853
|
-
const agentColor = identity ? { color:
|
|
852
|
+
const Glyph = _chunkR3TWQ3ZJcjs.resolveIcon.call(void 0, _nullishCoalesce(_nullishCoalesce(_optionalChain([identity, 'optionalAccess', _19 => _19.name]), () => ( _optionalChain([icon, 'optionalAccess', _20 => _20.name]))), () => ( void 0)));
|
|
853
|
+
const agentColor = identity ? { color: _chunkOJJ4RL2Tcjs.AGENT_GLYPH_COLOR } : {};
|
|
854
854
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Glyph, { size, className, ...agentColor, ..._nullishCoalesce(_optionalChain([identity, 'optionalAccess', _21 => _21.props]), () => ( {})), ..._nullishCoalesce(_optionalChain([icon, 'optionalAccess', _22 => _22.props]), () => ( {})) });
|
|
855
855
|
}
|
|
856
856
|
|
|
@@ -915,7 +915,7 @@ function escapeRegExp(value) {
|
|
|
915
915
|
function formatDayHead(dateString, style) {
|
|
916
916
|
const ymd = splitYmd(dateString);
|
|
917
917
|
if (!ymd) return dateString;
|
|
918
|
-
return
|
|
918
|
+
return _chunkEQZXJUYVcjs.formatDateWithTimezone.call(void 0, ymd.join("-"), null, style) || dateString;
|
|
919
919
|
}
|
|
920
920
|
function splitYmd(dateString) {
|
|
921
921
|
const head = dateString.split("T")[0];
|
|
@@ -1370,9 +1370,9 @@ function programMetaFormatters(fmt, opts = {}) {
|
|
|
1370
1370
|
|
|
1371
1371
|
// src/utils/program-meta-renderers.ts
|
|
1372
1372
|
var PROGRAM_META_RENDERERS = {
|
|
1373
|
-
date:
|
|
1374
|
-
duration:
|
|
1375
|
-
webinarMeta:
|
|
1373
|
+
date: _chunkEQZXJUYVcjs.formatProgramDate,
|
|
1374
|
+
duration: _chunkEQZXJUYVcjs.formatDurationCompact,
|
|
1375
|
+
webinarMeta: _chunkEQZXJUYVcjs.formatWebinarTimeMeta
|
|
1376
1376
|
};
|
|
1377
1377
|
|
|
1378
1378
|
// src/components/chat/utils/chat-nav-resolution.ts
|
|
@@ -1490,11 +1490,11 @@ function EntityMetadataAuthorCell({
|
|
|
1490
1490
|
const fullName = trimmedName || "Unknown Author";
|
|
1491
1491
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex items-center gap-3 p-4 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
1492
1492
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1493
|
-
|
|
1493
|
+
_chunkEQZXJUYVcjs.SquareAvatar,
|
|
1494
1494
|
{
|
|
1495
1495
|
src: author.avatar_url || "",
|
|
1496
1496
|
alt: fullName,
|
|
1497
|
-
fallback:
|
|
1497
|
+
fallback: _chunkEQZXJUYVcjs.nameInitials.call(void 0, fullName, ""),
|
|
1498
1498
|
size: "md",
|
|
1499
1499
|
variant: "round"
|
|
1500
1500
|
}
|
|
@@ -1518,7 +1518,7 @@ function EntityAuthorCard({
|
|
|
1518
1518
|
const hasAuthor = !!_optionalChain([author, 'optionalAccess', _33 => _33.full_name]);
|
|
1519
1519
|
if (!hasAuthor && !renderEmptyAuthor) return null;
|
|
1520
1520
|
const effectiveAuthor = hasAuthor ? author : EMPTY_AUTHOR_PLACEHOLDER;
|
|
1521
|
-
const formatted = publishedAt ?
|
|
1521
|
+
const formatted = publishedAt ? _chunkEQZXJUYVcjs.formatDate.call(void 0, publishedAt) : "";
|
|
1522
1522
|
const dateLabel = formatted === "Invalid Date" ? "" : formatted;
|
|
1523
1523
|
const showDateCell = !!dateLabel;
|
|
1524
1524
|
const extras = _nullishCoalesce(extraCells, () => ( []));
|
|
@@ -1726,7 +1726,7 @@ function PlatformBadge({ platform, size = "sm", showLabel = true, className }) {
|
|
|
1726
1726
|
return null;
|
|
1727
1727
|
}
|
|
1728
1728
|
const sizes = sizeClasses[size];
|
|
1729
|
-
const colors =
|
|
1729
|
+
const colors = _chunkR3TWQ3ZJcjs.getPlatformBrandClasses.call(void 0, platform.name);
|
|
1730
1730
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1731
1731
|
"div",
|
|
1732
1732
|
{
|
|
@@ -1740,7 +1740,7 @@ function PlatformBadge({ platform, size = "sm", showLabel = true, className }) {
|
|
|
1740
1740
|
className
|
|
1741
1741
|
),
|
|
1742
1742
|
children: [
|
|
1743
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1743
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR3TWQ3ZJcjs.PlatformMark, { platform: platform.name, className: sizes.icon }),
|
|
1744
1744
|
showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: sizes.text, children: platform.display_name || platform.name })
|
|
1745
1745
|
]
|
|
1746
1746
|
}
|
|
@@ -1849,7 +1849,7 @@ var SENTENCE_MARK = /([.:?!]+)(?=\s|$)/g;
|
|
|
1849
1849
|
var ONLY_MARKS = /^\s*[.:?!]+\s*$/;
|
|
1850
1850
|
function headingAccentClass(platform, tone = "accent") {
|
|
1851
1851
|
if (!platform) return "text-ods-accent";
|
|
1852
|
-
const classes =
|
|
1852
|
+
const classes = _chunkR3TWQ3ZJcjs.getPlatformBrandClasses.call(void 0, platform);
|
|
1853
1853
|
return tone === "secondary" ? classes.secondaryText : classes.accentText;
|
|
1854
1854
|
}
|
|
1855
1855
|
function accentSentenceMarks(node, platform, tone = "accent") {
|
|
@@ -2200,7 +2200,7 @@ function ProductReleaseCard({
|
|
|
2200
2200
|
] }) }, `${cell.label}-${i}`)),
|
|
2201
2201
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3 p-4", children: [
|
|
2202
2202
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2203
|
-
|
|
2203
|
+
_chunkEQZXJUYVcjs.SquareAvatar,
|
|
2204
2204
|
{
|
|
2205
2205
|
src: _nullishCoalesce(effectiveAuthor.avatar_url, () => ( void 0)),
|
|
2206
2206
|
alt: effectiveAuthor.full_name,
|
|
@@ -2537,7 +2537,7 @@ function BlogCard({
|
|
|
2537
2537
|
});
|
|
2538
2538
|
const { src: displayImage, onError: onImageError } = useCoverImageFallback(post.featured_image, placeholderUrl);
|
|
2539
2539
|
if (size === "sm") {
|
|
2540
|
-
const dateStr2 = post.published_at ?
|
|
2540
|
+
const dateStr2 = post.published_at ? _chunkEQZXJUYVcjs.formatDateWithTimezone.call(void 0, post.published_at, null, "medium") : "";
|
|
2541
2541
|
const firstCategory = _optionalChain([post, 'access', _57 => _57.categories, 'optionalAccess', _58 => _58.find, 'call', _59 => _59((c) => c && c.name), 'optionalAccess', _60 => _60.name]);
|
|
2542
2542
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target, rel, className: _chunk3ATAYP36cjs.cn.call(void 0, COMPACT_CARD_OUTER, className), children: [
|
|
2543
2543
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_IMAGE_SLOT, children: displayImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2567,7 +2567,7 @@ function BlogCard({
|
|
|
2567
2567
|
] });
|
|
2568
2568
|
}
|
|
2569
2569
|
if (size === "portrait") {
|
|
2570
|
-
const dateStr2 = post.published_at ?
|
|
2570
|
+
const dateStr2 = post.published_at ? _chunkEQZXJUYVcjs.formatDateWithTimezone.call(void 0, post.published_at, null, "medium") : "";
|
|
2571
2571
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2572
2572
|
EntityPortraitCard,
|
|
2573
2573
|
{
|
|
@@ -2588,7 +2588,7 @@ function BlogCard({
|
|
|
2588
2588
|
}
|
|
2589
2589
|
);
|
|
2590
2590
|
}
|
|
2591
|
-
const dateStr = post.published_at ?
|
|
2591
|
+
const dateStr = post.published_at ? _chunkEQZXJUYVcjs.formatDateWithTimezone.call(void 0, post.published_at, null, "medium") : "";
|
|
2592
2592
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "article", { className: _chunk3ATAYP36cjs.cn.call(void 0, CONTENT_CARD_FRAME_CLASS, "flex h-full flex-col", className), role: "article", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target, rel, className: "flex h-full flex-col focus:outline-none", children: [
|
|
2593
2593
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-[1200/630] w-full overflow-hidden bg-ods-bg", children: displayImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2594
2594
|
_chunkHOTM4UM6cjs.next_image_default,
|
|
@@ -3088,7 +3088,7 @@ function CustomerInterviewCard({
|
|
|
3088
3088
|
// src/components/chat/types/entities/investor-update.ts
|
|
3089
3089
|
function formatInvestorUpdatePeriod(start, end, options) {
|
|
3090
3090
|
if (!start && !end) return "";
|
|
3091
|
-
const fmt = (d) =>
|
|
3091
|
+
const fmt = (d) => _chunkEQZXJUYVcjs.formatDateWithTimezone.call(void 0, d, null, _optionalChain([options, 'optionalAccess', _128 => _128.monthFormat]) === "long" ? "monthYear" : "monthYearShort") || "?";
|
|
3092
3092
|
const s = start ? fmt(start) : "?";
|
|
3093
3093
|
const e = end ? fmt(end) : "?";
|
|
3094
3094
|
return `${s} - ${e}`;
|
|
@@ -3329,7 +3329,7 @@ function OnboardingGuideCard({
|
|
|
3329
3329
|
const coverImage = guide.featured_image || guide.main_video_thumbnail || guide.og_image_url || null;
|
|
3330
3330
|
const hasVideoCover = !!(guide.main_video_thumbnail || guide.highlight_video_thumbnail);
|
|
3331
3331
|
const stepLabel = typeof guide.step_order === "number" ? String(guide.step_order).padStart(2, "0") : "\u2014";
|
|
3332
|
-
const durationLabel = typeof guide.highlight_video_duration_ms === "number" && guide.highlight_video_duration_ms > 0 ?
|
|
3332
|
+
const durationLabel = typeof guide.highlight_video_duration_ms === "number" && guide.highlight_video_duration_ms > 0 ? _chunkEQZXJUYVcjs.formatDurationMMSS.call(void 0, Math.floor(guide.highlight_video_duration_ms / 1e3)) : "";
|
|
3333
3333
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3334
3334
|
_chunkV45KLJQPcjs.next_link_default,
|
|
3335
3335
|
{
|
|
@@ -3694,7 +3694,7 @@ function RoadmapCard({
|
|
|
3694
3694
|
]
|
|
3695
3695
|
}
|
|
3696
3696
|
) : null,
|
|
3697
|
-
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3697
|
+
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM7YZGRAVcjs.AvatarStack, { size: "xs", people: assigneePeople(item.assignees), className: "shrink-0" }) : null
|
|
3698
3698
|
] }),
|
|
3699
3699
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_SUMMARY, children: item.description || COMPACT_CARD_ROW_FILLER }) })
|
|
3700
3700
|
] })
|
|
@@ -3781,7 +3781,7 @@ function RoadmapCard({
|
|
|
3781
3781
|
)
|
|
3782
3782
|
] }),
|
|
3783
3783
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
3784
|
-
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3784
|
+
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM7YZGRAVcjs.AvatarStack, { size: "xs", people: assigneePeople(item.assignees), className: "shrink-0" }) : null,
|
|
3785
3785
|
item.screenshots && item.screenshots.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3786
3786
|
_chunk2QMBXGMQcjs.Button,
|
|
3787
3787
|
{
|
|
@@ -4042,7 +4042,7 @@ function ProgramEditorialCard({
|
|
|
4042
4042
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-3 min-h-[3lh] text-ods-text-secondary text-h4", children: description }),
|
|
4043
4043
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: EDITORIAL_PERSON_ROW, children: profile && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
4044
4044
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4045
|
-
|
|
4045
|
+
_chunkEQZXJUYVcjs.SquareAvatar,
|
|
4046
4046
|
{
|
|
4047
4047
|
variant: "round",
|
|
4048
4048
|
src: profile.avatarUrl || void 0,
|
|
@@ -4102,7 +4102,7 @@ function ProgramCard({
|
|
|
4102
4102
|
// Compact densities join plain strings, so the zone rides inline here; the
|
|
4103
4103
|
// default density below renders it as its own styled span instead.
|
|
4104
4104
|
} = programMetaLine(item, config.type, programMetaFormatters(PROGRAM_META_RENDERERS));
|
|
4105
|
-
const compactDate =
|
|
4105
|
+
const compactDate = _chunkEQZXJUYVcjs.formatProgramDate.call(void 0, zonedDate, "medium");
|
|
4106
4106
|
if (size === "portrait") {
|
|
4107
4107
|
const profile = programItemToStripProfile(item);
|
|
4108
4108
|
const dateMeta = compactMetaLine;
|
|
@@ -4135,7 +4135,7 @@ function ProgramCard({
|
|
|
4135
4135
|
description: item.description,
|
|
4136
4136
|
cover: coverImage || placeholderUrl || null,
|
|
4137
4137
|
eyebrow,
|
|
4138
|
-
date:
|
|
4138
|
+
date: _chunkEQZXJUYVcjs.formatProgramDate.call(void 0, zonedDate, "weekday"),
|
|
4139
4139
|
typeMeta: compactTypeMetaValue,
|
|
4140
4140
|
profile: programItemToStripProfile(item),
|
|
4141
4141
|
playable: isPlayable,
|
|
@@ -4163,7 +4163,7 @@ function ProgramCard({
|
|
|
4163
4163
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) })
|
|
4164
4164
|
] });
|
|
4165
4165
|
}
|
|
4166
|
-
const dateFormat =
|
|
4166
|
+
const dateFormat = _chunkEQZXJUYVcjs.formatProgramDate.call(void 0, zonedDate, "weekday");
|
|
4167
4167
|
const { typeMeta: defaultTypeMeta, audience: defaultAudience } = programMetaLine(
|
|
4168
4168
|
item,
|
|
4169
4169
|
config.type,
|
|
@@ -4194,7 +4194,7 @@ function ProgramCard({
|
|
|
4194
4194
|
return null;
|
|
4195
4195
|
};
|
|
4196
4196
|
const endAt = "end_at" in item && typeof item.end_at === "string" ? item.end_at : null;
|
|
4197
|
-
const dateLabel = _nullishCoalesce(
|
|
4197
|
+
const dateLabel = _nullishCoalesce(_chunkEQZXJUYVcjs.formatProgramDateRange.call(void 0, zonedDate, endAt), () => ( dateFormat));
|
|
4198
4198
|
const cardHeader = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DEFAULT_HEADER, children: [
|
|
4199
4199
|
coverImage && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DEFAULT_COVER_FRAME, children: [
|
|
4200
4200
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -4223,10 +4223,10 @@ function ProgramCard({
|
|
|
4223
4223
|
] })
|
|
4224
4224
|
] }),
|
|
4225
4225
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: DEFAULT_DESCRIPTION, children: item.description }),
|
|
4226
|
-
tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_TAG_ROW, children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4226
|
+
tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_TAG_ROW, children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEQZXJUYVcjs.Tag, { as: "span", label: tag, variant: "outline" }, tag)) })
|
|
4227
4227
|
] }),
|
|
4228
4228
|
hosts.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2 md:justify-end", children: hosts.map((host, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4229
|
-
|
|
4229
|
+
_chunkEQZXJUYVcjs.SquareAvatar,
|
|
4230
4230
|
{
|
|
4231
4231
|
variant: "round",
|
|
4232
4232
|
src: host.avatar || void 0,
|
|
@@ -10,7 +10,7 @@ var _chunkA6P6DHEZcjs = require('./chunk-A6P6DHEZ.cjs');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkGZKWF6NHcjs = require('./chunk-GZKWF6NH.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 _chunkEQZXJUYVcjs = require('./chunk-EQZXJUYV.cjs');
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
var _chunkRUHKTWGBcjs = require('./chunk-RUHKTWGB.cjs');
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
|
|
112
|
-
var
|
|
112
|
+
var _chunkR3TWQ3ZJcjs = require('./chunk-R3TWQ3ZJ.cjs');
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
var _chunkHOTM4UM6cjs = require('./chunk-HOTM4UM6.cjs');
|
|
@@ -417,10 +417,10 @@ function TruncateText({
|
|
|
417
417
|
as = "div"
|
|
418
418
|
}) {
|
|
419
419
|
const isMultiLine = lines > 1;
|
|
420
|
-
const { ref, isTruncated } =
|
|
420
|
+
const { ref, isTruncated } = _chunkR3TWQ3ZJcjs.useIsTruncated.call(void 0, children, { multiline: isMultiLine });
|
|
421
421
|
const clampClass = isMultiLine ? LINE_CLAMP_CLASS[lines] : "truncate block";
|
|
422
422
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
423
|
-
|
|
423
|
+
_chunkEQZXJUYVcjs.FloatingTooltip,
|
|
424
424
|
{
|
|
425
425
|
content: _nullishCoalesce(tooltip, () => ( children)),
|
|
426
426
|
side,
|
|
@@ -747,7 +747,7 @@ function AutocompleteInner(props, ref) {
|
|
|
747
747
|
),
|
|
748
748
|
children: [
|
|
749
749
|
multiple && visibleTags.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
750
|
-
|
|
750
|
+
_chunkEQZXJUYVcjs.Tag,
|
|
751
751
|
{
|
|
752
752
|
variant: "outline",
|
|
753
753
|
className: wrapTags ? "max-w-full" : void 0,
|
|
@@ -972,7 +972,7 @@ function AutocompleteInner(props, ref) {
|
|
|
972
972
|
"aria-hidden": "true",
|
|
973
973
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
974
974
|
children: selectedOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
975
|
-
|
|
975
|
+
_chunkEQZXJUYVcjs.Tag,
|
|
976
976
|
{
|
|
977
977
|
variant: "outline",
|
|
978
978
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -1453,11 +1453,11 @@ function usePageActionsBottomPadding(variant) {
|
|
|
1453
1453
|
|
|
1454
1454
|
var ENTITY_IMAGE_SIZE = "size-[52px] content-md:size-[60px]";
|
|
1455
1455
|
function EntityImage({ src, alt, fallbackText, sizeClassName, className }) {
|
|
1456
|
-
const resolvedSrc =
|
|
1456
|
+
const resolvedSrc = _chunkR3TWQ3ZJcjs.useAuthedImageSrc.call(void 0, src);
|
|
1457
1457
|
const [failedSrc, setFailedSrc] = _react2.default.useState(null);
|
|
1458
1458
|
const imageFailed = resolvedSrc !== void 0 && failedSrc === resolvedSrc;
|
|
1459
1459
|
const showFallback = imageFailed || !resolvedSrc;
|
|
1460
|
-
const initials =
|
|
1460
|
+
const initials = _chunkEQZXJUYVcjs.personInitials.call(void 0, _nullishCoalesce(fallbackText, () => ( alt)));
|
|
1461
1461
|
if (showFallback) {
|
|
1462
1462
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1463
1463
|
"div",
|
|
@@ -1522,8 +1522,8 @@ function TitleBlock({
|
|
|
1522
1522
|
const titleClass = titleSize === "h1" ? "text-h1" : "text-h2";
|
|
1523
1523
|
const titleOverflowClass = titleWrap ? "break-words" : "truncate";
|
|
1524
1524
|
const skeletonSize = TITLE_SKELETON_SIZE[titleSize];
|
|
1525
|
-
const { ref: titleRef, isTruncated: titleTruncated } =
|
|
1526
|
-
const { ref: subtitleRef, isTruncated: subtitleTruncated } =
|
|
1525
|
+
const { ref: titleRef, isTruncated: titleTruncated } = _chunkR3TWQ3ZJcjs.useIsTruncated.call(void 0, loading ? null : title);
|
|
1526
|
+
const { ref: subtitleRef, isTruncated: subtitleTruncated } = _chunkR3TWQ3ZJcjs.useIsTruncated.call(void 0,
|
|
1527
1527
|
loading ? null : subtitle
|
|
1528
1528
|
);
|
|
1529
1529
|
const titleNode = loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -1567,7 +1567,7 @@ function TitleBlock({
|
|
|
1567
1567
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
1568
1568
|
(loading || title) && (titleAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-m)]", children: [
|
|
1569
1569
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1570
|
-
|
|
1570
|
+
_chunkEQZXJUYVcjs.FloatingTooltip,
|
|
1571
1571
|
{
|
|
1572
1572
|
content: title,
|
|
1573
1573
|
side: "bottom",
|
|
@@ -1584,12 +1584,12 @@ function TitleBlock({
|
|
|
1584
1584
|
}
|
|
1585
1585
|
),
|
|
1586
1586
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
1587
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1587
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEQZXJUYVcjs.FloatingTooltip, { content: title, side: "bottom", disabled: !titleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { ref: titleRef, className: _chunk3ATAYP36cjs.cn.call(void 0, titleClass, "text-ods-text-primary", titleOverflowClass), children: titleNode }) })),
|
|
1588
1588
|
hasSubtitleRow && /* The NBSP is a pure spacer, reached only in `'always'` mode: an
|
|
1589
1589
|
empty `p` collapses to zero height (its only content would be
|
|
1590
1590
|
collapsible whitespace), which is exactly the shift that mode
|
|
1591
1591
|
exists to prevent. Hidden from AT — it carries no meaning. */
|
|
1592
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1592
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEQZXJUYVcjs.FloatingTooltip, { content: subtitle, side: "bottom", disabled: !subtitleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1593
1593
|
"p",
|
|
1594
1594
|
{
|
|
1595
1595
|
ref: subtitleRef,
|
|
@@ -1607,7 +1607,7 @@ function TitleBlock({
|
|
|
1607
1607
|
) })
|
|
1608
1608
|
] })
|
|
1609
1609
|
] }) : title && (titleAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-m)]", children: [
|
|
1610
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1610
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEQZXJUYVcjs.FloatingTooltip, { content: title, side: "bottom", disabled: !titleTruncated, triggerClassName: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1611
1611
|
_chunkOF336YWGcjs.PageTitle,
|
|
1612
1612
|
{
|
|
1613
1613
|
ref: titleRef,
|
|
@@ -1733,7 +1733,7 @@ function RemoteSessionViewers({ viewers, max = 4, className }) {
|
|
|
1733
1733
|
children: [
|
|
1734
1734
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center", children: [
|
|
1735
1735
|
faces.map((viewer, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1736
|
-
|
|
1736
|
+
_chunkEQZXJUYVcjs.SquareAvatar,
|
|
1737
1737
|
{
|
|
1738
1738
|
variant: "round",
|
|
1739
1739
|
sizePx: 32,
|
|
@@ -1767,7 +1767,7 @@ function RemoteSessionViewers({ viewers, max = 4, className }) {
|
|
|
1767
1767
|
),
|
|
1768
1768
|
children: [
|
|
1769
1769
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1770
|
-
|
|
1770
|
+
_chunkEQZXJUYVcjs.SquareAvatar,
|
|
1771
1771
|
{
|
|
1772
1772
|
variant: "round",
|
|
1773
1773
|
sizePx: 24,
|
|
@@ -1813,7 +1813,7 @@ function RemoteSessionScope({ children, className }) {
|
|
|
1813
1813
|
function RemoteSessionOrgLogo({ name, logoUrl, sizePx, className }) {
|
|
1814
1814
|
if (logoUrl) {
|
|
1815
1815
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1816
|
-
|
|
1816
|
+
_chunkEQZXJUYVcjs.SquareAvatar,
|
|
1817
1817
|
{
|
|
1818
1818
|
variant: "square",
|
|
1819
1819
|
fit: "contain",
|
|
@@ -1923,7 +1923,7 @@ function RemoteAccessRequestCard({
|
|
|
1923
1923
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RemoteSessionOrgLogo, { name: organizationName, logoUrl: party.organizationLogoUrl, sizePx: 64 }),
|
|
1924
1924
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
1925
1925
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full truncate text-ods-text-primary text-h3", children: organizationName }),
|
|
1926
|
-
siteUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full truncate text-ods-text-secondary text-h4", children:
|
|
1926
|
+
siteUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full truncate text-ods-text-secondary text-h4", children: _chunkEQZXJUYVcjs.formatUrlForDisplay.call(void 0, siteUrl, { keepWww: true }) })
|
|
1927
1927
|
] }),
|
|
1928
1928
|
openableSite && onOpenSite && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.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" }) })
|
|
1929
1929
|
] }),
|
|
@@ -2042,7 +2042,7 @@ function RemoteSessionSummary({
|
|
|
2042
2042
|
...dragHandlers,
|
|
2043
2043
|
children: [
|
|
2044
2044
|
technician ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2045
|
-
|
|
2045
|
+
_chunkEQZXJUYVcjs.SquareAvatar,
|
|
2046
2046
|
{
|
|
2047
2047
|
variant: "round",
|
|
2048
2048
|
sizePx: 48,
|
|
@@ -2098,7 +2098,7 @@ var RemoteSessionMinimizedChip = _react.forwardRef.call(void 0,
|
|
|
2098
2098
|
...dragHandlers,
|
|
2099
2099
|
children: [
|
|
2100
2100
|
technician ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2101
|
-
|
|
2101
|
+
_chunkEQZXJUYVcjs.SquareAvatar,
|
|
2102
2102
|
{
|
|
2103
2103
|
sizePx: 48,
|
|
2104
2104
|
src: _nullishCoalesce(party.technicianAvatarUrl, () => ( void 0)),
|
|
@@ -2248,7 +2248,7 @@ function RemoteSessionChatMessageRow({
|
|
|
2248
2248
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
2249
2249
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[var(--spacing-system-xs)]", children: [
|
|
2250
2250
|
isTechnician && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2251
|
-
|
|
2251
|
+
_chunkEQZXJUYVcjs.SquareAvatar,
|
|
2252
2252
|
{
|
|
2253
2253
|
variant: "round",
|
|
2254
2254
|
sizePx: 16,
|
|
@@ -2283,7 +2283,7 @@ function RemoteDesktopChatMessageRow({
|
|
|
2283
2283
|
}) {
|
|
2284
2284
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-[var(--spacing-system-xxs)]", children: [
|
|
2285
2285
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
2286
|
-
isTechnician && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2286
|
+
isTechnician && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEQZXJUYVcjs.SquareAvatar, { variant: "round", sizePx: 24, src: avatarUrl, alt: authorName, className: "shrink-0" }),
|
|
2287
2287
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2288
2288
|
"span",
|
|
2289
2289
|
{
|
|
@@ -2294,7 +2294,7 @@ function RemoteDesktopChatMessageRow({
|
|
|
2294
2294
|
children: authorName
|
|
2295
2295
|
}
|
|
2296
2296
|
),
|
|
2297
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { suppressHydrationWarning: true, className: "shrink-0 text-ods-text-secondary text-h6", children:
|
|
2297
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { suppressHydrationWarning: true, className: "shrink-0 text-ods-text-secondary text-h6", children: _chunkGZKWF6NHcjs.formatTime.call(void 0, sentAt) })
|
|
2298
2298
|
] }),
|
|
2299
2299
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "whitespace-pre-wrap text-ods-text-primary text-h4", children: body })
|
|
2300
2300
|
] });
|
|
@@ -2339,7 +2339,7 @@ function RemoteDesktopChatPanel({
|
|
|
2339
2339
|
message.id
|
|
2340
2340
|
)) }) }),
|
|
2341
2341
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2342
|
-
|
|
2342
|
+
_chunkGZKWF6NHcjs.ChatInput,
|
|
2343
2343
|
{
|
|
2344
2344
|
placeholder: "Enter your Message...",
|
|
2345
2345
|
onSend,
|
|
@@ -2706,9 +2706,9 @@ function KeepRecordingModal({
|
|
|
2706
2706
|
if (!canKeep || isPending) return;
|
|
2707
2707
|
onConfirm({ reason, description: reason === "OTHER" ? trimmed : null });
|
|
2708
2708
|
};
|
|
2709
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2709
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkGZKWF6NHcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
2710
2710
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
2711
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2711
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGZKWF6NHcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGZKWF6NHcjs.ModalTitle, { children: "Keep this recording" }) }),
|
|
2712
2712
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2713
2713
|
KeepNotice,
|
|
2714
2714
|
{
|
|
@@ -2746,7 +2746,7 @@ function KeepRecordingModal({
|
|
|
2746
2746
|
}
|
|
2747
2747
|
)
|
|
2748
2748
|
] }),
|
|
2749
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2749
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkGZKWF6NHcjs.ModalFooter, { children: [
|
|
2750
2750
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
2751
2751
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
2752
2752
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2776,9 +2776,9 @@ function ReleaseKeepingModal({
|
|
|
2776
2776
|
isPending = false,
|
|
2777
2777
|
onConfirm
|
|
2778
2778
|
}) {
|
|
2779
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2779
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkGZKWF6NHcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
2780
2780
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
2781
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2781
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGZKWF6NHcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGZKWF6NHcjs.ModalTitle, { children: "Release Keeping" }) }),
|
|
2782
2782
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-xsf)] text-ods-text-primary text-h4", children: [
|
|
2783
2783
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { children: [
|
|
2784
2784
|
"Kept by ",
|
|
@@ -2795,7 +2795,7 @@ function ReleaseKeepingModal({
|
|
|
2795
2795
|
] })
|
|
2796
2796
|
] }),
|
|
2797
2797
|
/* @__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." }),
|
|
2798
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2798
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkGZKWF6NHcjs.ModalFooter, { children: [
|
|
2799
2799
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
2800
2800
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
2801
2801
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { type: "button", variant: "accent", onClick: onConfirm, loading: isPending, className: "flex-1", children: "Release Keeping" })
|
|
@@ -2837,9 +2837,9 @@ function AssignTicketModal({
|
|
|
2837
2837
|
if (ticketIds.length === 0 || isPending) return;
|
|
2838
2838
|
onConfirm(ticketIds);
|
|
2839
2839
|
};
|
|
2840
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2840
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkGZKWF6NHcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
2841
2841
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
2842
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2842
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGZKWF6NHcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGZKWF6NHcjs.ModalTitle, { children: "Assign Ticket" }) }),
|
|
2843
2843
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2844
2844
|
Autocomplete,
|
|
2845
2845
|
{
|
|
@@ -2858,7 +2858,7 @@ function AssignTicketModal({
|
|
|
2858
2858
|
disabled: isPending
|
|
2859
2859
|
}
|
|
2860
2860
|
),
|
|
2861
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2861
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkGZKWF6NHcjs.ModalFooter, { children: [
|
|
2862
2862
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
2863
2863
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
2864
2864
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2877,11 +2877,11 @@ function AssignTicketModal({
|
|
|
2877
2877
|
] });
|
|
2878
2878
|
}
|
|
2879
2879
|
function UnassignTicketModal({ isOpen, onClose, isPending = false, onConfirm }) {
|
|
2880
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2880
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkGZKWF6NHcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
2881
2881
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
2882
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2882
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGZKWF6NHcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGZKWF6NHcjs.ModalTitle, { children: "Unassign Ticket" }) }),
|
|
2883
2883
|
/* @__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." }),
|
|
2884
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2884
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkGZKWF6NHcjs.ModalFooter, { children: [
|
|
2885
2885
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
2886
2886
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
2887
2887
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { type: "button", variant: "destructive", onClick: onConfirm, loading: isPending, className: "flex-1", children: "Unassign" })
|
|
@@ -2961,7 +2961,7 @@ var STATUS_TAG = {
|
|
|
2961
2961
|
function RemoteSessionStatusTag({ status, className }) {
|
|
2962
2962
|
const { label, variant } = STATUS_TAG[status];
|
|
2963
2963
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2964
|
-
|
|
2964
|
+
_chunkEQZXJUYVcjs.Tag,
|
|
2965
2965
|
{
|
|
2966
2966
|
label,
|
|
2967
2967
|
variant,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkR3TWQ3ZJcjs = require('./chunk-R3TWQ3ZJ.cjs');
|
|
5
5
|
|
|
6
6
|
// src/hooks/ui/use-debounce.ts
|
|
7
7
|
var _react = require('react');
|
|
@@ -131,10 +131,10 @@ function useSuppressCloneFocus(active) {
|
|
|
131
131
|
// src/hooks/ui/use-prefers-reduced-motion.ts
|
|
132
132
|
var PREFERS_REDUCED_MOTION_QUERY = "(prefers-reduced-motion: reduce)";
|
|
133
133
|
function usePrefersReducedMotion() {
|
|
134
|
-
return
|
|
134
|
+
return _chunkR3TWQ3ZJcjs.useMediaQuery.call(void 0, PREFERS_REDUCED_MOTION_QUERY) === true;
|
|
135
135
|
}
|
|
136
136
|
function usePrefersReducedMotionState() {
|
|
137
|
-
return
|
|
137
|
+
return _chunkR3TWQ3ZJcjs.useMediaQuery.call(void 0, PREFERS_REDUCED_MOTION_QUERY);
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
// src/hooks/ui/use-in-view.ts
|