@flamingo-stack/openframe-frontend-core 0.0.741 → 0.0.743
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/build/export-map.json +1 -1
- package/dist/{chunk-SFY4UYPY.cjs → chunk-4A6OF4HI.cjs} +44 -44
- package/dist/{chunk-VA7OMDZO.cjs → chunk-4FWURR3W.cjs} +50 -50
- package/dist/{chunk-WBANGORJ.cjs → chunk-4N7KGOBS.cjs} +3 -3
- package/dist/{chunk-PQ2M7P2U.cjs → chunk-5TCIRWHL.cjs} +9 -9
- package/dist/{chunk-FQN6STIM.cjs → chunk-6XCQXGQA.cjs} +20 -20
- package/dist/{chunk-BV5WZVOP.cjs → chunk-7YDF3QBN.cjs} +258 -257
- package/dist/{chunk-7ZFCR7UY.cjs → chunk-ABLUMGCI.cjs} +3 -3
- package/dist/{chunk-PX7FY655.cjs → chunk-ASMNNSUQ.cjs} +3 -3
- package/dist/{chunk-CWRVTQUO.cjs → chunk-BM6JZRVD.cjs} +101 -101
- package/dist/{chunk-LZ6NOVXX.cjs → chunk-BNTELSHZ.cjs} +103 -103
- package/dist/{chunk-SA7LDEVJ.cjs → chunk-CSJO7ZGN.cjs} +3 -3
- package/dist/{chunk-VOX4E6AX.cjs → chunk-DGFDBPO7.cjs} +7 -5
- package/dist/{chunk-KLI4OSRA.cjs → chunk-GAGNKWOC.cjs} +2 -2
- package/dist/{chunk-QEUGYHFB.cjs → chunk-IRWJKVVZ.cjs} +20 -20
- package/dist/{chunk-YRE3O65E.cjs → chunk-JGZEHBBD.cjs} +12 -12
- package/dist/{chunk-FICJS5OA.cjs → chunk-KTPR66EE.cjs} +4 -4
- package/dist/{chunk-YXKB5WRE.cjs → chunk-LJ46XYYP.cjs} +60 -48
- package/dist/{chunk-AAFW4STC.cjs → chunk-LU7TD6QS.cjs} +5 -5
- package/dist/{chunk-JFS6TZDX.cjs → chunk-MLZKPDPZ.cjs} +64 -64
- package/dist/{chunk-EKGL5K5K.cjs → chunk-MT7ELGCV.cjs} +17 -17
- package/dist/{chunk-HYBMADYO.cjs → chunk-NGUJVM6O.cjs} +22 -22
- package/dist/{chunk-3HPB4H4C.cjs → chunk-NTGIQP7O.cjs} +7 -7
- package/dist/{chunk-GABDE3FM.cjs → chunk-OWGLRE74.cjs} +19 -19
- package/dist/{chunk-IFS4AH77.cjs → chunk-QYLIHZKZ.cjs} +10 -10
- package/dist/{chunk-GVTDVS5U.cjs → chunk-R34JD6NP.cjs} +3 -3
- package/dist/{chunk-YQ37ZCD2.cjs → chunk-SQHTX5XP.cjs} +16 -16
- package/dist/{chunk-XJ36TEGE.cjs → chunk-TKASH5YC.cjs} +47 -47
- package/dist/{chunk-DSVNFRY5.cjs → chunk-U2O5YQRP.cjs} +38 -38
- package/dist/{chunk-5SVOGLNK.cjs → chunk-UL6ZZSL4.cjs} +6 -6
- package/dist/{chunk-O67V3HJR.cjs → chunk-URVIPSAJ.cjs} +24 -24
- package/dist/{chunk-GSWQZX23.cjs → chunk-UY6A6TEY.cjs} +2 -2
- package/dist/{chunk-DUVOQHQI.cjs → chunk-W2RM764D.cjs} +7 -7
- package/dist/{chunk-IK2RJUEA.cjs → chunk-WCY35GB5.cjs} +845 -810
- package/dist/{chunk-NTJE6SM6.cjs → chunk-WI2OTGKC.cjs} +2 -2
- package/dist/{chunk-ITPEFCQ2.cjs → chunk-XJO5ZHO6.cjs} +32 -32
- package/dist/{chunk-I6UE6YVM.cjs → chunk-Y2FN3E32.cjs} +6 -6
- package/dist/{chunk-4XL4YEZM.cjs → chunk-YDFKFLDQ.cjs} +8 -8
- package/dist/{chunk-HF7Z2E4W.cjs → chunk-YIOWV7LS.cjs} +2 -2
- package/dist/{chunk-B3XBJCOD.cjs → chunk-YJRMCFX3.cjs} +7 -7
- package/dist/{chunk-ZYOS7LVQ.cjs → chunk-YWMUZLU2.cjs} +89 -89
- package/dist/{chunk-ZJPDGVA6.cjs → chunk-ZP5DFF3Q.cjs} +28 -28
- package/dist/{cloud-tenants-MVJK52I2.cjs → cloud-tenants-DZC3ACG6.cjs} +24 -24
- package/dist/components/case-studies/index.cjs +37 -37
- package/dist/components/chat/entity-cards/onboarding-guide-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/onboarding-guide-card.js +22 -12
- package/dist/components/chat/index.cjs +17 -17
- package/dist/components/chat/tool-execution-display.d.ts.map +1 -1
- package/dist/components/chat/tool-execution-display.js +5 -4
- package/dist/components/contact/index.cjs +25 -25
- package/dist/components/docs/index.cjs +28 -28
- package/dist/components/embeds/index.cjs +25 -25
- package/dist/components/faq/index.cjs +26 -26
- package/dist/components/features/index.cjs +24 -24
- package/dist/components/features/scripts/schedule-form/schedule-interval-input.d.ts +1 -1
- package/dist/components/features/scripts/schedule-form/schedule-interval-input.d.ts.map +1 -1
- package/dist/components/features/scripts/schedule-form/schedule-interval-input.js +15 -13
- package/dist/components/features/scripts/schedule-form/schedule-offline-fields.d.ts.map +1 -1
- package/dist/components/features/scripts/schedule-form/schedule-offline-fields.js +9 -7
- package/dist/components/help-center-pages/index.cjs +144 -144
- package/dist/components/index.cjs +87 -85
- package/dist/components/meeting-scheduler/booking-form.d.ts +11 -1
- package/dist/components/meeting-scheduler/booking-form.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/booking-form.js +15 -3
- package/dist/components/meeting-scheduler/index.cjs +452 -158
- package/dist/components/meeting-scheduler/index.d.ts +16 -1
- package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.js +157 -5
- package/dist/components/meeting-scheduler/modal-header.d.ts +27 -0
- package/dist/components/meeting-scheduler/modal-header.d.ts.map +1 -0
- package/dist/components/meeting-scheduler/modal-header.js +104 -0
- package/dist/components/meeting-scheduler/slot-picker.d.ts +13 -2
- package/dist/components/meeting-scheduler/slot-picker.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/slot-picker.js +112 -73
- package/dist/components/navigation/index.cjs +27 -27
- package/dist/components/onboarding-guides/index.cjs +27 -27
- package/dist/components/product-demo/index.cjs +9 -9
- package/dist/components/related-content/index.cjs +12 -12
- package/dist/components/shared/product-release/product-release-card.d.ts.map +1 -1
- package/dist/components/shared/product-release/product-release-card.js +2 -0
- package/dist/components/tickets/index.cjs +30 -30
- package/dist/components/ui/index.cjs +26 -24
- package/dist/components/ui/radio-group.d.ts +6 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/radio-group.js +65 -58
- package/dist/components/ui/tab-navigation.d.ts +19 -1
- package/dist/components/ui/tab-navigation.d.ts.map +1 -1
- package/dist/components/ui/tab-navigation.js +32 -8
- package/dist/{devices-W3S7Q2PG.cjs → devices-MFGE2JQV.cjs} +25 -25
- package/dist/{embeddable-chat-6JKKFQEB.cjs → embeddable-chat-7ZEGCDVF.cjs} +92 -92
- package/dist/hooks/index.cjs +10 -10
- package/dist/index.cjs +32 -30
- package/dist/{knowledge-AIYQ4FC3.cjs → knowledge-7VPS2ZBU.cjs} +25 -25
- package/dist/{logs-7SHJ2ARE.cjs → logs-M3QPAUH7.cjs} +32 -32
- package/dist/{policies-EIZJ5SUP.cjs → policies-UAVE6X62.cjs} +28 -28
- package/dist/{remote-session-BZMNE6D2.cjs → remote-session-N4PJB5FW.cjs} +10 -10
- package/dist/{scripts-J2FWC7E4.cjs → scripts-EDQ3IQKW.cjs} +31 -31
- package/dist/{software-update-QAMNASVF.cjs → software-update-B2MZVNPK.cjs} +28 -28
- package/dist/{tickets-board-CEDHD3KB.cjs → tickets-board-O753S4ZB.cjs} +14 -14
- package/dist/utils/embed-authed-fetch.d.ts +33 -0
- package/dist/utils/embed-authed-fetch.d.ts.map +1 -1
- package/dist/utils/embed-authed-fetch.js +3 -1
- package/dist/utils/index.cjs +3 -1
- package/dist/{video-file-player-ZH2ILAPO.cjs → video-file-player-QZ3YOLHO.cjs} +2 -2
- package/package.json +1 -1
- package/src/components/chat/entity-cards/onboarding-guide-card.tsx +8 -1
- package/src/components/chat/tool-execution-display.tsx +21 -10
- package/src/components/features/scripts/schedule-form/schedule-interval-input.tsx +20 -13
- package/src/components/features/scripts/schedule-form/schedule-offline-fields.tsx +9 -5
- package/src/components/meeting-scheduler/booking-form.tsx +29 -3
- package/src/components/meeting-scheduler/index.tsx +224 -3
- package/src/components/meeting-scheduler/modal-header.tsx +145 -0
- package/src/components/meeting-scheduler/slot-picker.tsx +72 -8
- package/src/components/shared/product-release/product-release-card.tsx +2 -0
- package/src/components/ui/radio-group.tsx +51 -36
- package/src/components/ui/tab-navigation.tsx +54 -5
- package/src/utils/embed-authed-fetch.ts +42 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkQYLIHZKZcjs = require('./chunk-QYLIHZKZ.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -15,7 +15,7 @@ var _chunkIFS4AH77cjs = require('./chunk-IFS4AH77.cjs');
|
|
|
15
15
|
var _chunk63N4FN5Vcjs = require('./chunk-63N4FN5V.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkUY6A6TEYcjs = require('./chunk-UY6A6TEY.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
@@ -27,7 +27,7 @@ var _chunkGSWQZX23cjs = require('./chunk-GSWQZX23.cjs');
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkABLUMGCIcjs = require('./chunk-ABLUMGCI.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 _chunkR34JD6NPcjs = require('./chunk-R34JD6NP.cjs');
|
|
54
54
|
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
|
|
58
|
-
var
|
|
58
|
+
var _chunkKTPR66EEcjs = require('./chunk-KTPR66EE.cjs');
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
|
|
@@ -224,7 +224,7 @@ var Modal = _react.forwardRef.call(void 0, ({ isOpen, onClose, children, classNa
|
|
|
224
224
|
),
|
|
225
225
|
role: "dialog",
|
|
226
226
|
"aria-modal": "true",
|
|
227
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
227
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR34JD6NPcjs.ViewportBreakpoints, { children })
|
|
228
228
|
}
|
|
229
229
|
)
|
|
230
230
|
] });
|
|
@@ -363,7 +363,7 @@ var filePlayerLoad = null;
|
|
|
363
363
|
var filePlayerListeners = /* @__PURE__ */ new Set();
|
|
364
364
|
function loadFilePlayer() {
|
|
365
365
|
if (filePlayer || filePlayerLoad) return;
|
|
366
|
-
filePlayerLoad = Promise.resolve().then(() => _interopRequireWildcard(require("./video-file-player-
|
|
366
|
+
filePlayerLoad = Promise.resolve().then(() => _interopRequireWildcard(require("./video-file-player-QZ3YOLHO.cjs"))).then((module) => {
|
|
367
367
|
filePlayer = module.default;
|
|
368
368
|
for (const listener of filePlayerListeners) listener();
|
|
369
369
|
}).catch(() => void 0).finally(() => {
|
|
@@ -870,7 +870,7 @@ function EntityIcon({
|
|
|
870
870
|
size = 20,
|
|
871
871
|
className
|
|
872
872
|
}) {
|
|
873
|
-
const identity =
|
|
873
|
+
const identity = _chunkQYLIHZKZcjs.useAgentIdentityIcon.call(void 0, _optionalChain([icon, 'optionalAccess', _17 => _17.url]) ? null : _optionalChain([icon, 'optionalAccess', _18 => _18.name]));
|
|
874
874
|
if (!_optionalChain([icon, 'optionalAccess', _19 => _19.url]) && _optionalChain([identity, 'optionalAccess', _20 => _20.url])) {
|
|
875
875
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
876
876
|
_chunkHOTM4UM6cjs.next_image_default,
|
|
@@ -879,7 +879,7 @@ function EntityIcon({
|
|
|
879
879
|
alt: "",
|
|
880
880
|
width: size,
|
|
881
881
|
height: size,
|
|
882
|
-
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
882
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0, _chunkQYLIHZKZcjs.AGENT_PICTURE_CLASS, className),
|
|
883
883
|
unoptimized: true
|
|
884
884
|
}
|
|
885
885
|
);
|
|
@@ -898,8 +898,8 @@ function EntityIcon({
|
|
|
898
898
|
}
|
|
899
899
|
);
|
|
900
900
|
}
|
|
901
|
-
const Glyph =
|
|
902
|
-
const agentColor = identity ? { color:
|
|
901
|
+
const Glyph = _chunkKTPR66EEcjs.resolveIcon.call(void 0, _nullishCoalesce(_nullishCoalesce(_optionalChain([identity, 'optionalAccess', _22 => _22.name]), () => ( _optionalChain([icon, 'optionalAccess', _23 => _23.name]))), () => ( void 0)));
|
|
902
|
+
const agentColor = identity ? { color: _chunkQYLIHZKZcjs.AGENT_GLYPH_COLOR } : {};
|
|
903
903
|
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]), () => ( {})) });
|
|
904
904
|
}
|
|
905
905
|
|
|
@@ -912,7 +912,7 @@ function escapeRegExp(value) {
|
|
|
912
912
|
function formatDayHead(dateString, style) {
|
|
913
913
|
const ymd = splitYmd(dateString);
|
|
914
914
|
if (!ymd) return dateString;
|
|
915
|
-
return
|
|
915
|
+
return _chunkABLUMGCIcjs.formatDateWithTimezone.call(void 0, ymd.join("-"), null, style) || dateString;
|
|
916
916
|
}
|
|
917
917
|
function splitYmd(dateString) {
|
|
918
918
|
const head = dateString.split("T")[0];
|
|
@@ -1367,9 +1367,9 @@ function programMetaFormatters(fmt, opts = {}) {
|
|
|
1367
1367
|
|
|
1368
1368
|
// src/utils/program-meta-renderers.ts
|
|
1369
1369
|
var PROGRAM_META_RENDERERS = {
|
|
1370
|
-
date:
|
|
1371
|
-
duration:
|
|
1372
|
-
webinarMeta:
|
|
1370
|
+
date: _chunkABLUMGCIcjs.formatProgramDate,
|
|
1371
|
+
duration: _chunkABLUMGCIcjs.formatDurationCompact,
|
|
1372
|
+
webinarMeta: _chunkABLUMGCIcjs.formatWebinarTimeMeta
|
|
1373
1373
|
};
|
|
1374
1374
|
|
|
1375
1375
|
// src/components/chat/utils/chat-nav-resolution.ts
|
|
@@ -1487,11 +1487,11 @@ function EntityMetadataAuthorCell({
|
|
|
1487
1487
|
const fullName = trimmedName || "Unknown Author";
|
|
1488
1488
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex items-center gap-3 p-4 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
1489
1489
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1490
|
-
|
|
1490
|
+
_chunkABLUMGCIcjs.SquareAvatar,
|
|
1491
1491
|
{
|
|
1492
1492
|
src: author.avatar_url || "",
|
|
1493
1493
|
alt: fullName,
|
|
1494
|
-
fallback:
|
|
1494
|
+
fallback: _chunkABLUMGCIcjs.nameInitials.call(void 0, fullName, ""),
|
|
1495
1495
|
size: "md",
|
|
1496
1496
|
variant: "round"
|
|
1497
1497
|
}
|
|
@@ -1515,7 +1515,7 @@ function EntityAuthorCard({
|
|
|
1515
1515
|
const hasAuthor = !!_optionalChain([author, 'optionalAccess', _33 => _33.full_name]);
|
|
1516
1516
|
if (!hasAuthor && !renderEmptyAuthor) return null;
|
|
1517
1517
|
const effectiveAuthor = hasAuthor ? author : EMPTY_AUTHOR_PLACEHOLDER;
|
|
1518
|
-
const formatted = publishedAt ?
|
|
1518
|
+
const formatted = publishedAt ? _chunkABLUMGCIcjs.formatDate.call(void 0, publishedAt) : "";
|
|
1519
1519
|
const dateLabel = formatted === "Invalid Date" ? "" : formatted;
|
|
1520
1520
|
const showDateCell = !!dateLabel;
|
|
1521
1521
|
const extras = _nullishCoalesce(extraCells, () => ( []));
|
|
@@ -1723,7 +1723,7 @@ function PlatformBadge({ platform, size = "sm", showLabel = true, className }) {
|
|
|
1723
1723
|
return null;
|
|
1724
1724
|
}
|
|
1725
1725
|
const sizes = sizeClasses[size];
|
|
1726
|
-
const colors =
|
|
1726
|
+
const colors = _chunkKTPR66EEcjs.getPlatformBrandClasses.call(void 0, platform.name);
|
|
1727
1727
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1728
1728
|
"div",
|
|
1729
1729
|
{
|
|
@@ -1737,7 +1737,7 @@ function PlatformBadge({ platform, size = "sm", showLabel = true, className }) {
|
|
|
1737
1737
|
className
|
|
1738
1738
|
),
|
|
1739
1739
|
children: [
|
|
1740
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1740
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKTPR66EEcjs.PlatformMark, { platform: platform.name, className: sizes.icon }),
|
|
1741
1741
|
showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: sizes.text, children: platform.display_name || platform.name })
|
|
1742
1742
|
]
|
|
1743
1743
|
}
|
|
@@ -1834,7 +1834,7 @@ var SENTENCE_MARK = /([.:?!]+)(?=\s|$)/g;
|
|
|
1834
1834
|
var ONLY_MARKS = /^\s*[.:?!]+\s*$/;
|
|
1835
1835
|
function headingAccentClass(platform, tone = "accent") {
|
|
1836
1836
|
if (!platform) return "text-ods-accent";
|
|
1837
|
-
const classes =
|
|
1837
|
+
const classes = _chunkKTPR66EEcjs.getPlatformBrandClasses.call(void 0, platform);
|
|
1838
1838
|
return tone === "secondary" ? classes.secondaryText : classes.accentText;
|
|
1839
1839
|
}
|
|
1840
1840
|
function accentSentenceMarks(node, platform, tone = "accent") {
|
|
@@ -2184,7 +2184,7 @@ function ProductReleaseCard({
|
|
|
2184
2184
|
] }) }, `${cell.label}-${i}`)),
|
|
2185
2185
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3 p-4", children: [
|
|
2186
2186
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2187
|
-
|
|
2187
|
+
_chunkABLUMGCIcjs.SquareAvatar,
|
|
2188
2188
|
{
|
|
2189
2189
|
src: _nullishCoalesce(effectiveAuthor.avatar_url, () => ( void 0)),
|
|
2190
2190
|
alt: effectiveAuthor.full_name,
|
|
@@ -2239,6 +2239,8 @@ function ProductReleaseCard({
|
|
|
2239
2239
|
// affordance, so explicit ring styles match the `<span role>` form.
|
|
2240
2240
|
"my-1.5 flex w-full items-start gap-3 p-2",
|
|
2241
2241
|
"rounded-lg border border-ods-border bg-ods-card no-underline",
|
|
2242
|
+
// The play mark on a video cover shows on the card's hover.
|
|
2243
|
+
"group",
|
|
2242
2244
|
isInteractive ? "cursor-pointer transition-colors hover:border-ods-text-secondary/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent focus-visible:ring-offset-1 focus-visible:ring-offset-ods-card" : "cursor-default",
|
|
2243
2245
|
className
|
|
2244
2246
|
);
|
|
@@ -2519,7 +2521,7 @@ function BlogCard({
|
|
|
2519
2521
|
});
|
|
2520
2522
|
const { src: displayImage, onError: onImageError } = useCoverImageFallback(post.featured_image, placeholderUrl);
|
|
2521
2523
|
if (size === "sm") {
|
|
2522
|
-
const dateStr2 = post.published_at ?
|
|
2524
|
+
const dateStr2 = post.published_at ? _chunkABLUMGCIcjs.formatDateWithTimezone.call(void 0, post.published_at, null, "medium") : "";
|
|
2523
2525
|
const firstCategory = _optionalChain([post, 'access', _57 => _57.categories, 'optionalAccess', _58 => _58.find, 'call', _59 => _59((c) => c && c.name), 'optionalAccess', _60 => _60.name]);
|
|
2524
2526
|
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: [
|
|
2525
2527
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_IMAGE_SLOT, children: displayImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2549,7 +2551,7 @@ function BlogCard({
|
|
|
2549
2551
|
] });
|
|
2550
2552
|
}
|
|
2551
2553
|
if (size === "portrait") {
|
|
2552
|
-
const dateStr2 = post.published_at ?
|
|
2554
|
+
const dateStr2 = post.published_at ? _chunkABLUMGCIcjs.formatDateWithTimezone.call(void 0, post.published_at, null, "medium") : "";
|
|
2553
2555
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2554
2556
|
EntityPortraitCard,
|
|
2555
2557
|
{
|
|
@@ -2570,7 +2572,7 @@ function BlogCard({
|
|
|
2570
2572
|
}
|
|
2571
2573
|
);
|
|
2572
2574
|
}
|
|
2573
|
-
const dateStr = post.published_at ?
|
|
2575
|
+
const dateStr = post.published_at ? _chunkABLUMGCIcjs.formatDateWithTimezone.call(void 0, post.published_at, null, "medium") : "";
|
|
2574
2576
|
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: [
|
|
2575
2577
|
/* @__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,
|
|
2576
2578
|
_chunkHOTM4UM6cjs.next_image_default,
|
|
@@ -3070,7 +3072,7 @@ function CustomerInterviewCard({
|
|
|
3070
3072
|
// src/components/chat/types/entities/investor-update.ts
|
|
3071
3073
|
function formatInvestorUpdatePeriod(start, end, options) {
|
|
3072
3074
|
if (!start && !end) return "";
|
|
3073
|
-
const fmt = (d) =>
|
|
3075
|
+
const fmt = (d) => _chunkABLUMGCIcjs.formatDateWithTimezone.call(void 0, d, null, _optionalChain([options, 'optionalAccess', _128 => _128.monthFormat]) === "long" ? "monthYear" : "monthYearShort") || "?";
|
|
3074
3076
|
const s = start ? fmt(start) : "?";
|
|
3075
3077
|
const e = end ? fmt(end) : "?";
|
|
3076
3078
|
return `${s} - ${e}`;
|
|
@@ -3317,7 +3319,7 @@ function OnboardingGuideCard({
|
|
|
3317
3319
|
const coverImage = guide.featured_image || guide.main_video_thumbnail || guide.og_image_url || null;
|
|
3318
3320
|
const hasVideoCover = !!(guide.main_video_thumbnail || guide.highlight_video_thumbnail);
|
|
3319
3321
|
const stepLabel = typeof guide.step_order === "number" ? String(guide.step_order).padStart(2, "0") : "\u2014";
|
|
3320
|
-
const durationLabel = typeof guide.highlight_video_duration_ms === "number" && guide.highlight_video_duration_ms > 0 ?
|
|
3322
|
+
const durationLabel = typeof guide.highlight_video_duration_ms === "number" && guide.highlight_video_duration_ms > 0 ? _chunkABLUMGCIcjs.formatDurationMMSS.call(void 0, Math.floor(guide.highlight_video_duration_ms / 1e3)) : "";
|
|
3321
3323
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3322
3324
|
_chunkV45KLJQPcjs.next_link_default,
|
|
3323
3325
|
{
|
|
@@ -3386,18 +3388,28 @@ function OnboardingGuideCard({
|
|
|
3386
3388
|
const subtitleParts = [`Step ${guide.step_order}`, guide.section, author].filter(
|
|
3387
3389
|
(s) => typeof s === "string" && s.length > 0
|
|
3388
3390
|
);
|
|
3389
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3391
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3392
|
+
_chunkV45KLJQPcjs.next_link_default,
|
|
3393
|
+
{
|
|
3394
|
+
href,
|
|
3395
|
+
target,
|
|
3396
|
+
rel,
|
|
3397
|
+
prefetch: false,
|
|
3398
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0, COMPACT_CARD_OUTER, "group", className),
|
|
3399
|
+
children: [
|
|
3400
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_IMAGE_SLOT, children: [
|
|
3401
|
+
compactCover ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHOTM4UM6cjs.next_image_default, { src: compactCover, alt: guide.title, fill: true, sizes: "56px", className: "object-contain", unoptimized: true }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-full w-full items-center justify-center text-ods-accent", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.GraduationCap, { className: "h-4 w-4" }) }),
|
|
3402
|
+
hasVideoCover && compactCover && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63N4FN5Vcjs.CardHoverPlay, { size: "sm" })
|
|
3403
|
+
] }),
|
|
3404
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
|
|
3405
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, COMPACT_CARD_TITLE, "font-heading"), children: guide.title }) }),
|
|
3406
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-accent text-h6", children: subtitleParts.join(" \xB7 ") }) }),
|
|
3407
|
+
/* @__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: summary2 || COMPACT_CARD_ROW_FILLER }) })
|
|
3408
|
+
] }),
|
|
3409
|
+
/* @__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" }) })
|
|
3410
|
+
]
|
|
3411
|
+
}
|
|
3412
|
+
);
|
|
3401
3413
|
}
|
|
3402
3414
|
const t = HORIZONTAL_SIZE_TOKENS.default;
|
|
3403
3415
|
const summary = stripMarkdownPreview(guide.video_summary || guide.content || "");
|
|
@@ -3675,7 +3687,7 @@ function RoadmapCard({
|
|
|
3675
3687
|
]
|
|
3676
3688
|
}
|
|
3677
3689
|
) : null,
|
|
3678
|
-
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3690
|
+
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUY6A6TEYcjs.AvatarStack, { size: "xs", people: assigneePeople(item.assignees), className: "shrink-0" }) : null
|
|
3679
3691
|
] }),
|
|
3680
3692
|
/* @__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 }) })
|
|
3681
3693
|
] })
|
|
@@ -3762,7 +3774,7 @@ function RoadmapCard({
|
|
|
3762
3774
|
)
|
|
3763
3775
|
] }),
|
|
3764
3776
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
3765
|
-
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3777
|
+
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUY6A6TEYcjs.AvatarStack, { size: "xs", people: assigneePeople(item.assignees), className: "shrink-0" }) : null,
|
|
3766
3778
|
item.screenshots && item.screenshots.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3767
3779
|
_chunk2QMBXGMQcjs.Button,
|
|
3768
3780
|
{
|
|
@@ -4023,7 +4035,7 @@ function ProgramEditorialCard({
|
|
|
4023
4035
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-3 min-h-[3lh] text-ods-text-secondary text-h4", children: description }),
|
|
4024
4036
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: EDITORIAL_PERSON_ROW, children: profile && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
4025
4037
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4026
|
-
|
|
4038
|
+
_chunkABLUMGCIcjs.SquareAvatar,
|
|
4027
4039
|
{
|
|
4028
4040
|
variant: "round",
|
|
4029
4041
|
src: profile.avatarUrl || void 0,
|
|
@@ -4083,7 +4095,7 @@ function ProgramCard({
|
|
|
4083
4095
|
// Compact densities join plain strings, so the zone rides inline here; the
|
|
4084
4096
|
// default density below renders it as its own styled span instead.
|
|
4085
4097
|
} = programMetaLine(item, config.type, programMetaFormatters(PROGRAM_META_RENDERERS));
|
|
4086
|
-
const compactDate =
|
|
4098
|
+
const compactDate = _chunkABLUMGCIcjs.formatProgramDate.call(void 0, zonedDate, "medium");
|
|
4087
4099
|
if (size === "portrait") {
|
|
4088
4100
|
const profile = programItemToStripProfile(item);
|
|
4089
4101
|
const dateMeta = compactMetaLine;
|
|
@@ -4116,7 +4128,7 @@ function ProgramCard({
|
|
|
4116
4128
|
description: item.description,
|
|
4117
4129
|
cover: coverImage || placeholderUrl || null,
|
|
4118
4130
|
eyebrow,
|
|
4119
|
-
date:
|
|
4131
|
+
date: _chunkABLUMGCIcjs.formatProgramDate.call(void 0, zonedDate, "weekday"),
|
|
4120
4132
|
typeMeta: compactTypeMetaValue,
|
|
4121
4133
|
profile: programItemToStripProfile(item),
|
|
4122
4134
|
playable: isPlayable,
|
|
@@ -4144,7 +4156,7 @@ function ProgramCard({
|
|
|
4144
4156
|
/* @__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" }) })
|
|
4145
4157
|
] });
|
|
4146
4158
|
}
|
|
4147
|
-
const dateFormat =
|
|
4159
|
+
const dateFormat = _chunkABLUMGCIcjs.formatProgramDate.call(void 0, zonedDate, "weekday");
|
|
4148
4160
|
const { typeMeta: defaultTypeMeta, audience: defaultAudience } = programMetaLine(
|
|
4149
4161
|
item,
|
|
4150
4162
|
config.type,
|
|
@@ -4175,7 +4187,7 @@ function ProgramCard({
|
|
|
4175
4187
|
return null;
|
|
4176
4188
|
};
|
|
4177
4189
|
const endAt = "end_at" in item && typeof item.end_at === "string" ? item.end_at : null;
|
|
4178
|
-
const dateLabel = _nullishCoalesce(
|
|
4190
|
+
const dateLabel = _nullishCoalesce(_chunkABLUMGCIcjs.formatProgramDateRange.call(void 0, zonedDate, endAt), () => ( dateFormat));
|
|
4179
4191
|
const cardHeader = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DEFAULT_HEADER, children: [
|
|
4180
4192
|
coverImage && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DEFAULT_COVER_FRAME, children: [
|
|
4181
4193
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -4204,10 +4216,10 @@ function ProgramCard({
|
|
|
4204
4216
|
] })
|
|
4205
4217
|
] }),
|
|
4206
4218
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: DEFAULT_DESCRIPTION, children: item.description }),
|
|
4207
|
-
tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_TAG_ROW, children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4219
|
+
tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEFAULT_TAG_ROW, children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkABLUMGCIcjs.Tag, { as: "span", label: tag, variant: "outline" }, tag)) })
|
|
4208
4220
|
] }),
|
|
4209
4221
|
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,
|
|
4210
|
-
|
|
4222
|
+
_chunkABLUMGCIcjs.SquareAvatar,
|
|
4211
4223
|
{
|
|
4212
4224
|
variant: "round",
|
|
4213
4225
|
src: host.avatar || void 0,
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkKTPR66EEcjs = require('./chunk-KTPR66EE.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkDGFDBPO7cjs = require('./chunk-DGFDBPO7.cjs');
|
|
9
9
|
|
|
10
10
|
// src/hooks/ui/use-drag-and-drop-enabled.ts
|
|
11
|
-
var DRAG_AND_DROP_MEDIA_QUERY = `(pointer: fine) and (hover: hover) and ${
|
|
11
|
+
var DRAG_AND_DROP_MEDIA_QUERY = `(pointer: fine) and (hover: hover) and ${_chunkKTPR66EEcjs.breakpoints.md}`;
|
|
12
12
|
function useDragAndDropEnabled() {
|
|
13
|
-
return _nullishCoalesce(
|
|
13
|
+
return _nullishCoalesce(_chunkKTPR66EEcjs.useMediaQuery.call(void 0, DRAG_AND_DROP_MEDIA_QUERY), () => ( false));
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
// src/hooks/ui/use-horizontal-scrollbar.ts
|
|
@@ -236,7 +236,7 @@ function useLocalStorage(key, initialValue, options) {
|
|
|
236
236
|
});
|
|
237
237
|
const validate = _optionalChain([options, 'optionalAccess', _ => _.validate]);
|
|
238
238
|
const storage = _react.useMemo.call(void 0,
|
|
239
|
-
() =>
|
|
239
|
+
() => _chunkDGFDBPO7cjs.createLocalStorageAdapter.call(void 0, { key, validate, logTag: `[useLocalStorage:${key}]` }),
|
|
240
240
|
[key, validate]
|
|
241
241
|
);
|
|
242
242
|
const [storedValue, setStoredValue] = _react.useState.call(void 0, () => _nullishCoalesce(storage.load(), () => ( initialValue)));
|