@flamingo-stack/openframe-frontend-core 0.0.732 → 0.0.733
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-MEDDKM3A.cjs → chunk-3HPB4H4C.cjs} +2 -2
- package/dist/{chunk-22ZK7BA3.cjs → chunk-3KGICRH7.cjs} +1127 -1072
- package/dist/{chunk-6KDGIOLP.cjs → chunk-3UTPZW36.cjs} +89 -89
- package/dist/{chunk-GID62YEN.cjs → chunk-AAFW4STC.cjs} +3 -3
- package/dist/{chunk-6HHUU56Y.cjs → chunk-ATMBJBOI.cjs} +14 -14
- package/dist/{chunk-BS4EZZCN.cjs → chunk-AV5533DH.cjs} +15 -15
- package/dist/{chunk-SJRR745G.cjs → chunk-BP6R5WDW.cjs} +44 -44
- package/dist/{chunk-BDTX2OEE.cjs → chunk-CJVAA7KL.cjs} +32 -32
- package/dist/{chunk-RIXGLS5Y.cjs → chunk-DUVOQHQI.cjs} +4 -4
- package/dist/{chunk-E3N24573.cjs → chunk-DUXLZPMJ.cjs} +9 -9
- package/dist/{chunk-N466AJGN.cjs → chunk-E26I4XH6.cjs} +17 -17
- package/dist/{chunk-3BLBWZ6A.cjs → chunk-EMG3T55N.cjs} +7 -7
- package/dist/{chunk-PRWBVIWW.cjs → chunk-EQORT7NK.cjs} +59 -59
- package/dist/{chunk-AEVGCB3Y.cjs → chunk-FCGLSWKR.cjs} +4 -4
- package/dist/{chunk-MANNIJ42.cjs → chunk-FICJS5OA.cjs} +6 -0
- package/dist/{chunk-OI7VCXYU.cjs → chunk-FNRMDDVN.cjs} +40 -40
- package/dist/{chunk-KLXHCNDC.cjs → chunk-FTTLBMHU.cjs} +3 -3
- package/dist/{chunk-C5NERNE6.cjs → chunk-GB3CHAW7.cjs} +93 -93
- package/dist/{chunk-7DUXR4HL.cjs → chunk-GVTDVS5U.cjs} +3 -3
- package/dist/{chunk-5HMGK3N6.cjs → chunk-HSWHOCZ3.cjs} +20 -20
- package/dist/{chunk-CUF3IYIB.cjs → chunk-IC4FT3A6.cjs} +28 -28
- package/dist/{chunk-TLDCSTTQ.cjs → chunk-J7JKPTGO.cjs} +10 -10
- package/dist/{chunk-G37LT2ID.cjs → chunk-L4ZNR5V7.cjs} +38 -38
- package/dist/{chunk-NYY25425.cjs → chunk-MYBTNOS6.cjs} +2 -2
- package/dist/{chunk-HELVKMRG.cjs → chunk-NTJE6SM6.cjs} +2 -2
- package/dist/{chunk-XOQ2UUVS.cjs → chunk-P3R23TOE.cjs} +35 -35
- package/dist/{chunk-CC3LINHF.cjs → chunk-SA7LDEVJ.cjs} +3 -3
- package/dist/{chunk-YGKVHSNQ.cjs → chunk-TIMCHP4X.cjs} +42 -42
- package/dist/{chunk-MVZ6XFPK.cjs → chunk-U4T5NLZD.cjs} +8 -8
- package/dist/{chunk-5HSMTSHU.cjs → chunk-XDWY6HAW.cjs} +24 -24
- package/dist/{chunk-OJ3XU3YZ.cjs → chunk-XY632BCH.cjs} +4 -4
- package/dist/{chunk-ZWMPAFGB.cjs → chunk-YIXKH2JO.cjs} +236 -236
- package/dist/{chunk-I46MQ4R5.cjs → chunk-ZBNA6TCW.cjs} +73 -73
- package/dist/{chunk-QMTC3BK3.cjs → chunk-ZJNYWNCB.cjs} +21 -21
- package/dist/{chunk-HH4BMYDX.cjs → chunk-ZRYKDN2J.cjs} +19 -19
- package/dist/{cloud-tenants-ILRE74JY.cjs → cloud-tenants-3GOGR3EN.cjs} +21 -21
- package/dist/components/case-studies/index.cjs +34 -34
- package/dist/components/chat/embeddable-chat.d.ts +16 -0
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.js +5 -2
- package/dist/components/chat/index.cjs +15 -15
- package/dist/components/chat/utils/icon-library.d.ts.map +1 -1
- package/dist/components/chat/utils/icon-library.js +6 -0
- package/dist/components/contact/index.cjs +22 -22
- package/dist/components/docs/index.cjs +25 -25
- package/dist/components/embeds/index.cjs +22 -22
- package/dist/components/faq/index.cjs +22 -22
- package/dist/components/features/index.cjs +21 -21
- package/dist/components/help-center-pages/index.cjs +137 -137
- package/dist/components/index.cjs +76 -76
- package/dist/components/meeting-scheduler/index.cjs +63 -63
- package/dist/components/navigation/index.cjs +24 -24
- package/dist/components/onboarding-guides/index.cjs +24 -24
- package/dist/components/product-demo/index.cjs +8 -8
- package/dist/components/related-content/index.cjs +9 -9
- package/dist/components/tickets/index.cjs +25 -25
- package/dist/components/ui/index.cjs +21 -21
- package/dist/components/ui/searchable-select.d.ts +29 -3
- package/dist/components/ui/searchable-select.d.ts.map +1 -1
- package/dist/components/ui/searchable-select.js +101 -45
- package/dist/{devices-A6SFNGE4.cjs → devices-POZXTP7X.cjs} +22 -22
- package/dist/{embeddable-chat-BKPYNOIM.cjs → embeddable-chat-I3Y5GCCR.cjs} +95 -92
- package/dist/hooks/index.cjs +8 -8
- package/dist/index.cjs +27 -27
- package/dist/{knowledge-5ZCVKUYV.cjs → knowledge-AP34IMXN.cjs} +22 -22
- package/dist/{logs-CL4OJASB.cjs → logs-CEVMIOPW.cjs} +29 -29
- package/dist/{policies-7D44ZVS5.cjs → policies-AMBMRCGB.cjs} +25 -25
- package/dist/{remote-session-QB3CIZRM.cjs → remote-session-Z4YZFG5E.cjs} +9 -9
- package/dist/{software-update-AX6TZL26.cjs → software-update-Z3MWMSHI.cjs} +25 -25
- package/dist/{tickets-board-7FAV2YWF.cjs → tickets-board-JOSYLOS7.cjs} +12 -12
- package/package.json +1 -1
- package/src/components/chat/embeddable-chat.tsx +29 -2
- package/src/components/chat/utils/icon-library.tsx +7 -0
- package/src/components/ui/searchable-select.tsx +124 -32
|
@@ -10,7 +10,7 @@ var _chunkA6P6DHEZcjs = require('./chunk-A6P6DHEZ.cjs');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkDUXLZPMJcjs = require('./chunk-DUXLZPMJ.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 _chunkFTTLBMHUcjs = require('./chunk-FTTLBMHU.cjs');
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
var _chunkRUHKTWGBcjs = require('./chunk-RUHKTWGB.cjs');
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
|
|
112
|
-
var
|
|
112
|
+
var _chunkFICJS5OAcjs = require('./chunk-FICJS5OA.cjs');
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
var _chunkUR4K2NSLcjs = require('./chunk-UR4K2NSL.cjs');
|
|
@@ -411,10 +411,10 @@ function TruncateText({
|
|
|
411
411
|
as = "div"
|
|
412
412
|
}) {
|
|
413
413
|
const isMultiLine = lines > 1;
|
|
414
|
-
const { ref, isTruncated } =
|
|
414
|
+
const { ref, isTruncated } = _chunkFICJS5OAcjs.useIsTruncated.call(void 0, children, { multiline: isMultiLine });
|
|
415
415
|
const clampClass = isMultiLine ? LINE_CLAMP_CLASS[lines] : "truncate block";
|
|
416
416
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
417
|
-
|
|
417
|
+
_chunkFTTLBMHUcjs.FloatingTooltip,
|
|
418
418
|
{
|
|
419
419
|
content: _nullishCoalesce(tooltip, () => ( children)),
|
|
420
420
|
side,
|
|
@@ -741,7 +741,7 @@ function AutocompleteInner(props, ref) {
|
|
|
741
741
|
),
|
|
742
742
|
children: [
|
|
743
743
|
multiple && visibleTags.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
744
|
-
|
|
744
|
+
_chunkFTTLBMHUcjs.Tag,
|
|
745
745
|
{
|
|
746
746
|
variant: "outline",
|
|
747
747
|
className: wrapTags ? "max-w-full" : void 0,
|
|
@@ -966,7 +966,7 @@ function AutocompleteInner(props, ref) {
|
|
|
966
966
|
"aria-hidden": "true",
|
|
967
967
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
968
968
|
children: selectedOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
969
|
-
|
|
969
|
+
_chunkFTTLBMHUcjs.Tag,
|
|
970
970
|
{
|
|
971
971
|
variant: "outline",
|
|
972
972
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -1446,11 +1446,11 @@ function usePageActionsBottomPadding(variant) {
|
|
|
1446
1446
|
|
|
1447
1447
|
var ENTITY_IMAGE_SIZE = "size-[52px] content-md:size-[60px]";
|
|
1448
1448
|
function EntityImage({ src, alt, fallbackText, sizeClassName, className }) {
|
|
1449
|
-
const resolvedSrc =
|
|
1449
|
+
const resolvedSrc = _chunkFICJS5OAcjs.useAuthedImageSrc.call(void 0, src);
|
|
1450
1450
|
const [failedSrc, setFailedSrc] = _react2.default.useState(null);
|
|
1451
1451
|
const imageFailed = resolvedSrc !== void 0 && failedSrc === resolvedSrc;
|
|
1452
1452
|
const showFallback = imageFailed || !resolvedSrc;
|
|
1453
|
-
const initials =
|
|
1453
|
+
const initials = _chunkFTTLBMHUcjs.personInitials.call(void 0, _nullishCoalesce(fallbackText, () => ( alt)));
|
|
1454
1454
|
if (showFallback) {
|
|
1455
1455
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1456
1456
|
"div",
|
|
@@ -1523,8 +1523,8 @@ function TitleBlock({
|
|
|
1523
1523
|
const titleClass = titleSize === "h1" ? "text-h1" : "text-h2";
|
|
1524
1524
|
const titleOverflowClass = titleWrap ? "break-words" : "truncate";
|
|
1525
1525
|
const skeletonSize = TITLE_SKELETON_SIZE[titleSize];
|
|
1526
|
-
const { ref: titleRef, isTruncated: titleTruncated } =
|
|
1527
|
-
const { ref: subtitleRef, isTruncated: subtitleTruncated } =
|
|
1526
|
+
const { ref: titleRef, isTruncated: titleTruncated } = _chunkFICJS5OAcjs.useIsTruncated.call(void 0, loading ? null : title);
|
|
1527
|
+
const { ref: subtitleRef, isTruncated: subtitleTruncated } = _chunkFICJS5OAcjs.useIsTruncated.call(void 0,
|
|
1528
1528
|
loading ? null : subtitle
|
|
1529
1529
|
);
|
|
1530
1530
|
const titleNode = loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TitleTextSkeleton, { widthClass: skeletonSize.width, heightClass: skeletonSize.height }) : title;
|
|
@@ -1561,7 +1561,7 @@ function TitleBlock({
|
|
|
1561
1561
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
1562
1562
|
(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: [
|
|
1563
1563
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1564
|
-
|
|
1564
|
+
_chunkFTTLBMHUcjs.FloatingTooltip,
|
|
1565
1565
|
{
|
|
1566
1566
|
content: title,
|
|
1567
1567
|
side: "bottom",
|
|
@@ -1578,12 +1578,12 @@ function TitleBlock({
|
|
|
1578
1578
|
}
|
|
1579
1579
|
),
|
|
1580
1580
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
1581
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1581
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFTTLBMHUcjs.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 }) })),
|
|
1582
1582
|
hasSubtitleRow && /* The NBSP is a pure spacer, reached only in `'always'` mode: an
|
|
1583
1583
|
empty `p` collapses to zero height (its only content would be
|
|
1584
1584
|
collapsible whitespace), which is exactly the shift that mode
|
|
1585
1585
|
exists to prevent. Hidden from AT — it carries no meaning. */
|
|
1586
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1586
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFTTLBMHUcjs.FloatingTooltip, { content: subtitle, side: "bottom", disabled: !subtitleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1587
1587
|
"p",
|
|
1588
1588
|
{
|
|
1589
1589
|
ref: subtitleRef,
|
|
@@ -1594,7 +1594,7 @@ function TitleBlock({
|
|
|
1594
1594
|
) })
|
|
1595
1595
|
] })
|
|
1596
1596
|
] }) : title && (titleAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-m)]", children: [
|
|
1597
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1597
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFTTLBMHUcjs.FloatingTooltip, { content: title, side: "bottom", disabled: !titleTruncated, triggerClassName: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1598
1598
|
_chunkOF336YWGcjs.PageTitle,
|
|
1599
1599
|
{
|
|
1600
1600
|
ref: titleRef,
|
|
@@ -1720,7 +1720,7 @@ function RemoteSessionViewers({ viewers, max = 4, className }) {
|
|
|
1720
1720
|
children: [
|
|
1721
1721
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center", children: [
|
|
1722
1722
|
faces.map((viewer, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1723
|
-
|
|
1723
|
+
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
1724
1724
|
{
|
|
1725
1725
|
variant: "round",
|
|
1726
1726
|
sizePx: 32,
|
|
@@ -1754,7 +1754,7 @@ function RemoteSessionViewers({ viewers, max = 4, className }) {
|
|
|
1754
1754
|
),
|
|
1755
1755
|
children: [
|
|
1756
1756
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1757
|
-
|
|
1757
|
+
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
1758
1758
|
{
|
|
1759
1759
|
variant: "round",
|
|
1760
1760
|
sizePx: 24,
|
|
@@ -1800,7 +1800,7 @@ function RemoteSessionScope({ children, className }) {
|
|
|
1800
1800
|
function RemoteSessionOrgLogo({ name, logoUrl, sizePx, className }) {
|
|
1801
1801
|
if (logoUrl) {
|
|
1802
1802
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1803
|
-
|
|
1803
|
+
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
1804
1804
|
{
|
|
1805
1805
|
variant: "square",
|
|
1806
1806
|
fit: "contain",
|
|
@@ -1910,7 +1910,7 @@ function RemoteAccessRequestCard({
|
|
|
1910
1910
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RemoteSessionOrgLogo, { name: organizationName, logoUrl: party.organizationLogoUrl, sizePx: 64 }),
|
|
1911
1911
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
1912
1912
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full truncate text-ods-text-primary text-h3", children: organizationName }),
|
|
1913
|
-
siteUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full truncate text-ods-text-secondary text-h4", children:
|
|
1913
|
+
siteUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full truncate text-ods-text-secondary text-h4", children: _chunkFTTLBMHUcjs.formatUrlForDisplay.call(void 0, siteUrl, { keepWww: true }) })
|
|
1914
1914
|
] }),
|
|
1915
1915
|
openableSite && onOpenSite && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.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" }) })
|
|
1916
1916
|
] }),
|
|
@@ -2029,7 +2029,7 @@ function RemoteSessionSummary({
|
|
|
2029
2029
|
...dragHandlers,
|
|
2030
2030
|
children: [
|
|
2031
2031
|
technician ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2032
|
-
|
|
2032
|
+
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
2033
2033
|
{
|
|
2034
2034
|
variant: "round",
|
|
2035
2035
|
sizePx: 48,
|
|
@@ -2085,7 +2085,7 @@ var RemoteSessionMinimizedChip = _react.forwardRef.call(void 0,
|
|
|
2085
2085
|
...dragHandlers,
|
|
2086
2086
|
children: [
|
|
2087
2087
|
technician ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2088
|
-
|
|
2088
|
+
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
2089
2089
|
{
|
|
2090
2090
|
sizePx: 48,
|
|
2091
2091
|
src: _nullishCoalesce(party.technicianAvatarUrl, () => ( void 0)),
|
|
@@ -2235,7 +2235,7 @@ function RemoteSessionChatMessageRow({
|
|
|
2235
2235
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
2236
2236
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[var(--spacing-system-xs)]", children: [
|
|
2237
2237
|
isTechnician && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2238
|
-
|
|
2238
|
+
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
2239
2239
|
{
|
|
2240
2240
|
variant: "round",
|
|
2241
2241
|
sizePx: 16,
|
|
@@ -2270,7 +2270,7 @@ function RemoteDesktopChatMessageRow({
|
|
|
2270
2270
|
}) {
|
|
2271
2271
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-[var(--spacing-system-xxs)]", children: [
|
|
2272
2272
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
2273
|
-
isTechnician && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2273
|
+
isTechnician && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFTTLBMHUcjs.SquareAvatar, { variant: "round", sizePx: 24, src: avatarUrl, alt: authorName, className: "shrink-0" }),
|
|
2274
2274
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2275
2275
|
"span",
|
|
2276
2276
|
{
|
|
@@ -2281,7 +2281,7 @@ function RemoteDesktopChatMessageRow({
|
|
|
2281
2281
|
children: authorName
|
|
2282
2282
|
}
|
|
2283
2283
|
),
|
|
2284
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { suppressHydrationWarning: true, className: "shrink-0 text-ods-text-secondary text-h6", children:
|
|
2284
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { suppressHydrationWarning: true, className: "shrink-0 text-ods-text-secondary text-h6", children: _chunkDUXLZPMJcjs.formatTime.call(void 0, sentAt) })
|
|
2285
2285
|
] }),
|
|
2286
2286
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "whitespace-pre-wrap text-ods-text-primary text-h4", children: body })
|
|
2287
2287
|
] });
|
|
@@ -2326,7 +2326,7 @@ function RemoteDesktopChatPanel({
|
|
|
2326
2326
|
message.id
|
|
2327
2327
|
)) }) }),
|
|
2328
2328
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2329
|
-
|
|
2329
|
+
_chunkDUXLZPMJcjs.ChatInput,
|
|
2330
2330
|
{
|
|
2331
2331
|
placeholder: "Enter your Message...",
|
|
2332
2332
|
onSend,
|
|
@@ -2690,9 +2690,9 @@ function KeepRecordingModal({
|
|
|
2690
2690
|
if (!canKeep || isPending) return;
|
|
2691
2691
|
onConfirm({ reason, description: reason === "OTHER" ? trimmed : null });
|
|
2692
2692
|
};
|
|
2693
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2693
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDUXLZPMJcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
2694
2694
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
2695
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2695
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDUXLZPMJcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDUXLZPMJcjs.ModalTitle, { children: "Keep this recording" }) }),
|
|
2696
2696
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2697
2697
|
KeepNotice,
|
|
2698
2698
|
{
|
|
@@ -2730,7 +2730,7 @@ function KeepRecordingModal({
|
|
|
2730
2730
|
}
|
|
2731
2731
|
)
|
|
2732
2732
|
] }),
|
|
2733
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2733
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDUXLZPMJcjs.ModalFooter, { children: [
|
|
2734
2734
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
2735
2735
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
2736
2736
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2760,9 +2760,9 @@ function ReleaseKeepingModal({
|
|
|
2760
2760
|
isPending = false,
|
|
2761
2761
|
onConfirm
|
|
2762
2762
|
}) {
|
|
2763
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2763
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDUXLZPMJcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
2764
2764
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
2765
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2765
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDUXLZPMJcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDUXLZPMJcjs.ModalTitle, { children: "Release Keeping" }) }),
|
|
2766
2766
|
/* @__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: [
|
|
2767
2767
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { children: [
|
|
2768
2768
|
"Kept by ",
|
|
@@ -2779,7 +2779,7 @@ function ReleaseKeepingModal({
|
|
|
2779
2779
|
] })
|
|
2780
2780
|
] }),
|
|
2781
2781
|
/* @__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." }),
|
|
2782
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2782
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDUXLZPMJcjs.ModalFooter, { children: [
|
|
2783
2783
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
2784
2784
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
2785
2785
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { type: "button", variant: "accent", onClick: onConfirm, loading: isPending, className: "flex-1", children: "Release Keeping" })
|
|
@@ -2821,9 +2821,9 @@ function AssignTicketModal({
|
|
|
2821
2821
|
if (ticketIds.length === 0 || isPending) return;
|
|
2822
2822
|
onConfirm(ticketIds);
|
|
2823
2823
|
};
|
|
2824
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2824
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDUXLZPMJcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
2825
2825
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
2826
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2826
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDUXLZPMJcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDUXLZPMJcjs.ModalTitle, { children: "Assign Ticket" }) }),
|
|
2827
2827
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2828
2828
|
Autocomplete,
|
|
2829
2829
|
{
|
|
@@ -2842,7 +2842,7 @@ function AssignTicketModal({
|
|
|
2842
2842
|
disabled: isPending
|
|
2843
2843
|
}
|
|
2844
2844
|
),
|
|
2845
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2845
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDUXLZPMJcjs.ModalFooter, { children: [
|
|
2846
2846
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
2847
2847
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
2848
2848
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2861,11 +2861,11 @@ function AssignTicketModal({
|
|
|
2861
2861
|
] });
|
|
2862
2862
|
}
|
|
2863
2863
|
function UnassignTicketModal({ isOpen, onClose, isPending = false, onConfirm }) {
|
|
2864
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2864
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDUXLZPMJcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
2865
2865
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
2866
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2866
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDUXLZPMJcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDUXLZPMJcjs.ModalTitle, { children: "Unassign Ticket" }) }),
|
|
2867
2867
|
/* @__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." }),
|
|
2868
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2868
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDUXLZPMJcjs.ModalFooter, { children: [
|
|
2869
2869
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
2870
2870
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
2871
2871
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { type: "button", variant: "destructive", onClick: onConfirm, loading: isPending, className: "flex-1", children: "Unassign" })
|
|
@@ -2945,7 +2945,7 @@ var STATUS_TAG = {
|
|
|
2945
2945
|
function RemoteSessionStatusTag({ status, className }) {
|
|
2946
2946
|
const { label, variant } = STATUS_TAG[status];
|
|
2947
2947
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2948
|
-
|
|
2948
|
+
_chunkFTTLBMHUcjs.Tag,
|
|
2949
2949
|
{
|
|
2950
2950
|
label,
|
|
2951
2951
|
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(); } }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkFTTLBMHUcjs = require('./chunk-FTTLBMHU.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
@@ -44,7 +44,7 @@ function AvatarStack({
|
|
|
44
44
|
"aria-label": `${label}: ${names}${unnamed > 0 ? ` and ${unnamed} more` : ""}`,
|
|
45
45
|
children: [
|
|
46
46
|
visible.map((person, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
47
|
-
|
|
47
|
+
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
48
48
|
{
|
|
49
49
|
variant: "round",
|
|
50
50
|
size,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkFICJS5OAcjs = require('./chunk-FICJS5OA.cjs');
|
|
5
5
|
|
|
6
6
|
// src/components/tool-icon.tsx
|
|
7
7
|
var _react = require('react');
|
|
@@ -12,7 +12,7 @@ function toolIcon(toolType) {
|
|
|
12
12
|
const words = toolType.toLowerCase().split("_").filter(Boolean);
|
|
13
13
|
let icon = null;
|
|
14
14
|
for (let count = words.length; count >= 1 && !icon; count -= 1) {
|
|
15
|
-
icon =
|
|
15
|
+
icon = _chunkFICJS5OAcjs.findIcon.call(void 0, `${words.slice(0, count).join("-")}-logo-grey`);
|
|
16
16
|
}
|
|
17
17
|
TOOL_ICONS.set(toolType, icon);
|
|
18
18
|
return icon;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkFCGLSWKRcjs = require('./chunk-FCGLSWKR.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -15,7 +15,7 @@ var _chunkAEVGCB3Ycjs = require('./chunk-AEVGCB3Y.cjs');
|
|
|
15
15
|
var _chunkYADG5Q7Ccjs = require('./chunk-YADG5Q7C.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkMYBTNOS6cjs = require('./chunk-MYBTNOS6.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
@@ -27,7 +27,7 @@ var _chunkNYY25425cjs = require('./chunk-NYY25425.cjs');
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkFTTLBMHUcjs = require('./chunk-FTTLBMHU.cjs');
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
var _chunk32ASZMTVcjs = require('./chunk-32ASZMTV.cjs');
|
|
@@ -50,12 +50,12 @@ var _chunkEAY6ZUEScjs = require('./chunk-EAY6ZUES.cjs');
|
|
|
50
50
|
var _chunkCW3ML76Ucjs = require('./chunk-CW3ML76U.cjs');
|
|
51
51
|
|
|
52
52
|
|
|
53
|
-
var
|
|
53
|
+
var _chunkGVTDVS5Ucjs = require('./chunk-GVTDVS5U.cjs');
|
|
54
54
|
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
|
|
58
|
-
var
|
|
58
|
+
var _chunkFICJS5OAcjs = require('./chunk-FICJS5OA.cjs');
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
var _chunkUR4K2NSLcjs = require('./chunk-UR4K2NSL.cjs');
|
|
@@ -223,7 +223,7 @@ var Modal = _react.forwardRef.call(void 0, ({ isOpen, onClose, children, classNa
|
|
|
223
223
|
),
|
|
224
224
|
role: "dialog",
|
|
225
225
|
"aria-modal": "true",
|
|
226
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
226
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGVTDVS5Ucjs.ViewportBreakpoints, { children })
|
|
227
227
|
}
|
|
228
228
|
)
|
|
229
229
|
] });
|
|
@@ -878,7 +878,7 @@ function EntityIcon({
|
|
|
878
878
|
size = 20,
|
|
879
879
|
className
|
|
880
880
|
}) {
|
|
881
|
-
const identity =
|
|
881
|
+
const identity = _chunkFCGLSWKRcjs.useAgentIdentityIcon.call(void 0, _optionalChain([icon, 'optionalAccess', _17 => _17.url]) ? null : _optionalChain([icon, 'optionalAccess', _18 => _18.name]));
|
|
882
882
|
if (!_optionalChain([icon, 'optionalAccess', _19 => _19.url]) && _optionalChain([identity, 'optionalAccess', _20 => _20.url])) {
|
|
883
883
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
884
884
|
_chunkUR4K2NSLcjs.next_image_default,
|
|
@@ -887,7 +887,7 @@ function EntityIcon({
|
|
|
887
887
|
alt: "",
|
|
888
888
|
width: size,
|
|
889
889
|
height: size,
|
|
890
|
-
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
890
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0, _chunkFCGLSWKRcjs.AGENT_PICTURE_CLASS, className),
|
|
891
891
|
unoptimized: true
|
|
892
892
|
}
|
|
893
893
|
);
|
|
@@ -906,8 +906,8 @@ function EntityIcon({
|
|
|
906
906
|
}
|
|
907
907
|
);
|
|
908
908
|
}
|
|
909
|
-
const Glyph =
|
|
910
|
-
const agentColor = identity ? { color:
|
|
909
|
+
const Glyph = _chunkFICJS5OAcjs.resolveIcon.call(void 0, _nullishCoalesce(_nullishCoalesce(_optionalChain([identity, 'optionalAccess', _22 => _22.name]), () => ( _optionalChain([icon, 'optionalAccess', _23 => _23.name]))), () => ( void 0)));
|
|
910
|
+
const agentColor = identity ? { color: _chunkFCGLSWKRcjs.AGENT_GLYPH_COLOR } : {};
|
|
911
911
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Glyph, { size, className, ...agentColor, ..._nullishCoalesce(_optionalChain([identity, 'optionalAccess', _24 => _24.props]), () => ( {})), ..._nullishCoalesce(_optionalChain([icon, 'optionalAccess', _25 => _25.props]), () => ( {})) });
|
|
912
912
|
}
|
|
913
913
|
|
|
@@ -920,7 +920,7 @@ function escapeRegExp(value) {
|
|
|
920
920
|
function formatDayHead(dateString, style) {
|
|
921
921
|
const ymd = splitYmd(dateString);
|
|
922
922
|
if (!ymd) return dateString;
|
|
923
|
-
return
|
|
923
|
+
return _chunkFTTLBMHUcjs.formatDateWithTimezone.call(void 0, ymd.join("-"), null, style) || dateString;
|
|
924
924
|
}
|
|
925
925
|
function splitYmd(dateString) {
|
|
926
926
|
const head = dateString.split("T")[0];
|
|
@@ -1375,9 +1375,9 @@ function programMetaFormatters(fmt, opts = {}) {
|
|
|
1375
1375
|
|
|
1376
1376
|
// src/utils/program-meta-renderers.ts
|
|
1377
1377
|
var PROGRAM_META_RENDERERS = {
|
|
1378
|
-
date:
|
|
1379
|
-
duration:
|
|
1380
|
-
webinarMeta:
|
|
1378
|
+
date: _chunkFTTLBMHUcjs.formatProgramDate,
|
|
1379
|
+
duration: _chunkFTTLBMHUcjs.formatDurationCompact,
|
|
1380
|
+
webinarMeta: _chunkFTTLBMHUcjs.formatWebinarTimeMeta
|
|
1381
1381
|
};
|
|
1382
1382
|
|
|
1383
1383
|
// src/components/chat/utils/decide-new-tab.ts
|
|
@@ -1448,11 +1448,11 @@ function EntityMetadataAuthorCell({
|
|
|
1448
1448
|
const fullName = trimmedName || "Unknown Author";
|
|
1449
1449
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex items-center gap-3 p-4 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
1450
1450
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1451
|
-
|
|
1451
|
+
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
1452
1452
|
{
|
|
1453
1453
|
src: author.avatar_url || "",
|
|
1454
1454
|
alt: fullName,
|
|
1455
|
-
fallback:
|
|
1455
|
+
fallback: _chunkFTTLBMHUcjs.nameInitials.call(void 0, fullName, ""),
|
|
1456
1456
|
size: "md",
|
|
1457
1457
|
variant: "round"
|
|
1458
1458
|
}
|
|
@@ -1476,7 +1476,7 @@ function EntityAuthorCard({
|
|
|
1476
1476
|
const hasAuthor = !!_optionalChain([author, 'optionalAccess', _33 => _33.full_name]);
|
|
1477
1477
|
if (!hasAuthor && !renderEmptyAuthor) return null;
|
|
1478
1478
|
const effectiveAuthor = hasAuthor ? author : EMPTY_AUTHOR_PLACEHOLDER;
|
|
1479
|
-
const formatted = publishedAt ?
|
|
1479
|
+
const formatted = publishedAt ? _chunkFTTLBMHUcjs.formatDate.call(void 0, publishedAt) : "";
|
|
1480
1480
|
const dateLabel = formatted === "Invalid Date" ? "" : formatted;
|
|
1481
1481
|
const showDateCell = !!dateLabel;
|
|
1482
1482
|
const extras = _nullishCoalesce(extraCells, () => ( []));
|
|
@@ -1684,7 +1684,7 @@ function PlatformBadge({ platform, size = "sm", showLabel = true, className }) {
|
|
|
1684
1684
|
return null;
|
|
1685
1685
|
}
|
|
1686
1686
|
const sizes = sizeClasses[size];
|
|
1687
|
-
const colors =
|
|
1687
|
+
const colors = _chunkFICJS5OAcjs.getPlatformBrandClasses.call(void 0, platform.name);
|
|
1688
1688
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1689
1689
|
"div",
|
|
1690
1690
|
{
|
|
@@ -1698,7 +1698,7 @@ function PlatformBadge({ platform, size = "sm", showLabel = true, className }) {
|
|
|
1698
1698
|
className
|
|
1699
1699
|
),
|
|
1700
1700
|
children: [
|
|
1701
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1701
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFICJS5OAcjs.PlatformMark, { platform: platform.name, className: sizes.icon }),
|
|
1702
1702
|
showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: sizes.text, children: platform.display_name || platform.name })
|
|
1703
1703
|
]
|
|
1704
1704
|
}
|
|
@@ -1795,7 +1795,7 @@ var SENTENCE_MARK = /([.:?!]+)(?=\s|$)/g;
|
|
|
1795
1795
|
var ONLY_MARKS = /^\s*[.:?!]+\s*$/;
|
|
1796
1796
|
function headingAccentClass(platform, tone = "accent") {
|
|
1797
1797
|
if (!platform) return "text-ods-accent";
|
|
1798
|
-
const classes =
|
|
1798
|
+
const classes = _chunkFICJS5OAcjs.getPlatformBrandClasses.call(void 0, platform);
|
|
1799
1799
|
return tone === "secondary" ? classes.secondaryText : classes.accentText;
|
|
1800
1800
|
}
|
|
1801
1801
|
function accentSentenceMarks(node, platform, tone = "accent") {
|
|
@@ -2135,7 +2135,7 @@ function ProductReleaseCard({
|
|
|
2135
2135
|
] }) }, `${cell.label}-${i}`)),
|
|
2136
2136
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3 p-4", children: [
|
|
2137
2137
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2138
|
-
|
|
2138
|
+
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
2139
2139
|
{
|
|
2140
2140
|
src: _nullishCoalesce(effectiveAuthor.avatar_url, () => ( void 0)),
|
|
2141
2141
|
alt: effectiveAuthor.full_name,
|
|
@@ -2470,7 +2470,7 @@ function BlogCard({
|
|
|
2470
2470
|
});
|
|
2471
2471
|
const { src: displayImage, onError: onImageError } = useCoverImageFallback(post.featured_image, placeholderUrl);
|
|
2472
2472
|
if (size === "sm") {
|
|
2473
|
-
const dateStr2 = post.published_at ?
|
|
2473
|
+
const dateStr2 = post.published_at ? _chunkFTTLBMHUcjs.formatDateWithTimezone.call(void 0, post.published_at, null, "medium") : "";
|
|
2474
2474
|
const firstCategory = _optionalChain([post, 'access', _57 => _57.categories, 'optionalAccess', _58 => _58.find, 'call', _59 => _59((c) => c && c.name), 'optionalAccess', _60 => _60.name]);
|
|
2475
2475
|
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: [
|
|
2476
2476
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_IMAGE_SLOT, children: displayImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2500,7 +2500,7 @@ function BlogCard({
|
|
|
2500
2500
|
] });
|
|
2501
2501
|
}
|
|
2502
2502
|
if (size === "portrait") {
|
|
2503
|
-
const dateStr2 = post.published_at ?
|
|
2503
|
+
const dateStr2 = post.published_at ? _chunkFTTLBMHUcjs.formatDateWithTimezone.call(void 0, post.published_at, null, "medium") : "";
|
|
2504
2504
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2505
2505
|
EntityPortraitCard,
|
|
2506
2506
|
{
|
|
@@ -2521,7 +2521,7 @@ function BlogCard({
|
|
|
2521
2521
|
}
|
|
2522
2522
|
);
|
|
2523
2523
|
}
|
|
2524
|
-
const dateStr = post.published_at ?
|
|
2524
|
+
const dateStr = post.published_at ? _chunkFTTLBMHUcjs.formatDateWithTimezone.call(void 0, post.published_at, null, "medium") : "";
|
|
2525
2525
|
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: [
|
|
2526
2526
|
/* @__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,
|
|
2527
2527
|
_chunkUR4K2NSLcjs.next_image_default,
|
|
@@ -3021,7 +3021,7 @@ function CustomerInterviewCard({
|
|
|
3021
3021
|
// src/components/chat/types/entities/investor-update.ts
|
|
3022
3022
|
function formatInvestorUpdatePeriod(start, end, options) {
|
|
3023
3023
|
if (!start && !end) return "";
|
|
3024
|
-
const fmt = (d) =>
|
|
3024
|
+
const fmt = (d) => _chunkFTTLBMHUcjs.formatDateWithTimezone.call(void 0, d, null, _optionalChain([options, 'optionalAccess', _128 => _128.monthFormat]) === "long" ? "monthYear" : "monthYearShort") || "?";
|
|
3025
3025
|
const s = start ? fmt(start) : "?";
|
|
3026
3026
|
const e = end ? fmt(end) : "?";
|
|
3027
3027
|
return `${s} - ${e}`;
|
|
@@ -3268,7 +3268,7 @@ function OnboardingGuideCard({
|
|
|
3268
3268
|
const coverImage = guide.featured_image || guide.main_video_thumbnail || guide.og_image_url || null;
|
|
3269
3269
|
const hasVideoCover = !!(guide.main_video_thumbnail || guide.highlight_video_thumbnail);
|
|
3270
3270
|
const stepLabel = typeof guide.step_order === "number" ? String(guide.step_order).padStart(2, "0") : "\u2014";
|
|
3271
|
-
const durationLabel = typeof guide.highlight_video_duration_ms === "number" && guide.highlight_video_duration_ms > 0 ?
|
|
3271
|
+
const durationLabel = typeof guide.highlight_video_duration_ms === "number" && guide.highlight_video_duration_ms > 0 ? _chunkFTTLBMHUcjs.formatDurationMMSS.call(void 0, Math.floor(guide.highlight_video_duration_ms / 1e3)) : "";
|
|
3272
3272
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3273
3273
|
_chunkV45KLJQPcjs.next_link_default,
|
|
3274
3274
|
{
|
|
@@ -3626,7 +3626,7 @@ function RoadmapCard({
|
|
|
3626
3626
|
]
|
|
3627
3627
|
}
|
|
3628
3628
|
) : null,
|
|
3629
|
-
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3629
|
+
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYBTNOS6cjs.AvatarStack, { size: "xs", people: assigneePeople(item.assignees), className: "shrink-0" }) : null
|
|
3630
3630
|
] }),
|
|
3631
3631
|
/* @__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 }) })
|
|
3632
3632
|
] })
|
|
@@ -3713,7 +3713,7 @@ function RoadmapCard({
|
|
|
3713
3713
|
)
|
|
3714
3714
|
] }),
|
|
3715
3715
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
3716
|
-
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3716
|
+
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYBTNOS6cjs.AvatarStack, { size: "xs", people: assigneePeople(item.assignees), className: "shrink-0" }) : null,
|
|
3717
3717
|
item.screenshots && item.screenshots.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3718
3718
|
_chunkAZL332TKcjs.Button,
|
|
3719
3719
|
{
|
|
@@ -3974,7 +3974,7 @@ function ProgramEditorialCard({
|
|
|
3974
3974
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-3 min-h-[3lh] text-ods-text-secondary text-h4", children: description }),
|
|
3975
3975
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: EDITORIAL_PERSON_ROW, children: profile && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3976
3976
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3977
|
-
|
|
3977
|
+
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
3978
3978
|
{
|
|
3979
3979
|
variant: "round",
|
|
3980
3980
|
src: profile.avatarUrl || void 0,
|
|
@@ -4034,7 +4034,7 @@ function ProgramCard({
|
|
|
4034
4034
|
// Compact densities join plain strings, so the zone rides inline here; the
|
|
4035
4035
|
// default density below renders it as its own styled span instead.
|
|
4036
4036
|
} = programMetaLine(item, config.type, programMetaFormatters(PROGRAM_META_RENDERERS));
|
|
4037
|
-
const compactDate =
|
|
4037
|
+
const compactDate = _chunkFTTLBMHUcjs.formatProgramDate.call(void 0, zonedDate, "medium");
|
|
4038
4038
|
if (size === "portrait") {
|
|
4039
4039
|
const profile = programItemToStripProfile(item);
|
|
4040
4040
|
const dateMeta = compactMetaLine;
|
|
@@ -4067,7 +4067,7 @@ function ProgramCard({
|
|
|
4067
4067
|
description: item.description,
|
|
4068
4068
|
cover: coverImage || placeholderUrl || null,
|
|
4069
4069
|
eyebrow,
|
|
4070
|
-
date:
|
|
4070
|
+
date: _chunkFTTLBMHUcjs.formatProgramDate.call(void 0, zonedDate, "weekday"),
|
|
4071
4071
|
typeMeta: compactTypeMetaValue,
|
|
4072
4072
|
profile: programItemToStripProfile(item),
|
|
4073
4073
|
playable: isPlayable,
|
|
@@ -4095,7 +4095,7 @@ function ProgramCard({
|
|
|
4095
4095
|
/* @__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" }) })
|
|
4096
4096
|
] });
|
|
4097
4097
|
}
|
|
4098
|
-
const dateFormat =
|
|
4098
|
+
const dateFormat = _chunkFTTLBMHUcjs.formatProgramDate.call(void 0, zonedDate, "weekday");
|
|
4099
4099
|
const { typeMeta: defaultTypeMeta, audience: defaultAudience } = programMetaLine(
|
|
4100
4100
|
item,
|
|
4101
4101
|
config.type,
|
|
@@ -4126,7 +4126,7 @@ function ProgramCard({
|
|
|
4126
4126
|
return null;
|
|
4127
4127
|
};
|
|
4128
4128
|
const endAt = "end_at" in item && typeof item.end_at === "string" ? item.end_at : null;
|
|
4129
|
-
const dateLabel = _nullishCoalesce(
|
|
4129
|
+
const dateLabel = _nullishCoalesce(_chunkFTTLBMHUcjs.formatProgramDateRange.call(void 0, zonedDate, endAt), () => ( dateFormat));
|
|
4130
4130
|
const cardHeader = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DEFAULT_HEADER, children: [
|
|
4131
4131
|
coverImage && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DEFAULT_COVER_FRAME, children: [
|
|
4132
4132
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -4155,10 +4155,10 @@ function ProgramCard({
|
|
|
4155
4155
|
] })
|
|
4156
4156
|
] }),
|
|
4157
4157
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: DEFAULT_DESCRIPTION, children: item.description }),
|
|
4158
|
-
tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_TAG_ROW, children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4158
|
+
tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_TAG_ROW, children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFTTLBMHUcjs.Tag, { as: "span", label: tag, variant: "outline" }, tag)) })
|
|
4159
4159
|
] }),
|
|
4160
4160
|
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,
|
|
4161
|
-
|
|
4161
|
+
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
4162
4162
|
{
|
|
4163
4163
|
variant: "round",
|
|
4164
4164
|
src: host.avatar || void 0,
|
|
@@ -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 _chunkFICJS5OAcjs = require('./chunk-FICJS5OA.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 _chunkFICJS5OAcjs.useMediaQuery.call(void 0, PREFERS_REDUCED_MOTION_QUERY) === true;
|
|
135
135
|
}
|
|
136
136
|
function usePrefersReducedMotionState() {
|
|
137
|
-
return
|
|
137
|
+
return _chunkFICJS5OAcjs.useMediaQuery.call(void 0, PREFERS_REDUCED_MOTION_QUERY);
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
// src/hooks/ui/use-in-view.ts
|