@flamingo-stack/openframe-frontend-core 0.0.732 → 0.0.734
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-YGKVHSNQ.cjs → chunk-2OHBH6PS.cjs} +42 -42
- package/dist/{chunk-MEDDKM3A.cjs → chunk-3HPB4H4C.cjs} +2 -2
- package/dist/{chunk-BS4EZZCN.cjs → chunk-3NANWZO3.cjs} +15 -15
- package/dist/{chunk-5HMGK3N6.cjs → chunk-4Q34V7MD.cjs} +20 -20
- package/dist/{chunk-22ZK7BA3.cjs → chunk-4V672TEI.cjs} +1127 -1072
- package/dist/{chunk-OI7VCXYU.cjs → chunk-5DDFSGCE.cjs} +40 -40
- package/dist/{chunk-CUF3IYIB.cjs → chunk-5OGT7H2S.cjs} +28 -28
- package/dist/{chunk-C5NERNE6.cjs → chunk-73ZW3265.cjs} +93 -93
- package/dist/{chunk-GID62YEN.cjs → chunk-AAFW4STC.cjs} +3 -3
- package/dist/{chunk-MVZ6XFPK.cjs → chunk-AOTOOGNX.cjs} +8 -8
- package/dist/{chunk-SJRR745G.cjs → chunk-BP6R5WDW.cjs} +44 -44
- package/dist/{chunk-OJ3XU3YZ.cjs → chunk-CMUEFHM3.cjs} +4 -4
- package/dist/{chunk-3BLBWZ6A.cjs → chunk-D34BLEIR.cjs} +7 -7
- package/dist/{chunk-XOQ2UUVS.cjs → chunk-DHIISS4W.cjs} +50 -40
- package/dist/{chunk-RIXGLS5Y.cjs → chunk-DUVOQHQI.cjs} +4 -4
- package/dist/{chunk-E3N24573.cjs → chunk-DUXLZPMJ.cjs} +9 -9
- package/dist/{chunk-6KDGIOLP.cjs → chunk-EMBH2EJO.cjs} +89 -89
- package/dist/{chunk-N466AJGN.cjs → chunk-FA5SMA7L.cjs} +17 -17
- package/dist/{chunk-AEVGCB3Y.cjs → chunk-FCGLSWKR.cjs} +4 -4
- package/dist/{chunk-MANNIJ42.cjs → chunk-FICJS5OA.cjs} +6 -0
- package/dist/{chunk-KLXHCNDC.cjs → chunk-FTTLBMHU.cjs} +3 -3
- package/dist/{chunk-7DUXR4HL.cjs → chunk-GVTDVS5U.cjs} +3 -3
- package/dist/{chunk-ZWMPAFGB.cjs → chunk-HAWQA5FI.cjs} +236 -236
- package/dist/{chunk-BDTX2OEE.cjs → chunk-JRC3KXKV.cjs} +32 -32
- package/dist/{chunk-PRWBVIWW.cjs → chunk-KSXZABGH.cjs} +59 -59
- package/dist/{chunk-G37LT2ID.cjs → chunk-L4ZNR5V7.cjs} +38 -38
- package/dist/{chunk-I46MQ4R5.cjs → chunk-L7WJBJU7.cjs} +73 -73
- package/dist/{chunk-NYY25425.cjs → chunk-MYBTNOS6.cjs} +2 -2
- package/dist/{chunk-HELVKMRG.cjs → chunk-NTJE6SM6.cjs} +2 -2
- package/dist/{chunk-5HSMTSHU.cjs → chunk-OV7QQHLG.cjs} +24 -24
- package/dist/{chunk-6HHUU56Y.cjs → chunk-R65UD6BH.cjs} +14 -14
- package/dist/{chunk-CC3LINHF.cjs → chunk-SA7LDEVJ.cjs} +3 -3
- package/dist/{chunk-TLDCSTTQ.cjs → chunk-TLQQP2EL.cjs} +10 -10
- 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-HU7YZD33.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/layout/page-heading.d.ts +9 -1
- package/dist/components/layout/page-heading.d.ts.map +1 -1
- package/dist/components/layout/page-heading.js +15 -5
- 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-CKLN7BHY.cjs} +22 -22
- package/dist/{embeddable-chat-BKPYNOIM.cjs → embeddable-chat-FTAX4SVV.cjs} +95 -92
- package/dist/hooks/index.cjs +8 -8
- package/dist/index.cjs +27 -27
- package/dist/{knowledge-5ZCVKUYV.cjs → knowledge-NRLHSCC5.cjs} +22 -22
- package/dist/{logs-CL4OJASB.cjs → logs-BR6SLYAF.cjs} +29 -29
- package/dist/{policies-7D44ZVS5.cjs → policies-MQRXBYG2.cjs} +25 -25
- package/dist/{remote-session-QB3CIZRM.cjs → remote-session-Z4YZFG5E.cjs} +9 -9
- package/dist/{software-update-AX6TZL26.cjs → software-update-RUGIQP7N.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/layout/page-heading.tsx +37 -7
- package/src/components/ui/searchable-select.tsx +124 -32
|
@@ -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") {
|
|
@@ -1856,13 +1856,23 @@ function SectionHeading({
|
|
|
1856
1856
|
const accentClassName = headingAccentClass(platform, tone);
|
|
1857
1857
|
const layout = SECTION_HEADING_LAYOUT[level];
|
|
1858
1858
|
const Tag2 = presentational ? "div" : level === "page" ? "h1" : "h2";
|
|
1859
|
+
const eyebrowNode = eyebrow ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `text-h5 ${accentClassName}`, children: eyebrow }) : null;
|
|
1860
|
+
const headingText = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1861
|
+
accentSentenceMarks(title, platform, tone),
|
|
1862
|
+
punctuation ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: accentClassName, children: punctuation }) : null
|
|
1863
|
+
] });
|
|
1859
1864
|
const stack = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: layout.stack, children: [
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1865
|
+
eyebrowNode && level === "page" ? (
|
|
1866
|
+
// `contents`: the element names the heading and draws no box, so the stack lays its two children out as before.
|
|
1867
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tag2, { className: "contents", children: [
|
|
1868
|
+
eyebrowNode,
|
|
1869
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `block ${layout.heading}`, "data-section-heading": true, children: headingText })
|
|
1870
|
+
] })
|
|
1871
|
+
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1872
|
+
eyebrowNode,
|
|
1873
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag2, { className: layout.heading, "data-section-heading": true, children: headingText })
|
|
1864
1874
|
] }),
|
|
1865
|
-
intro ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: layout.intro, children: intro }) : null
|
|
1875
|
+
intro ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: layout.intro, "data-section-intro": true, children: intro }) : null
|
|
1866
1876
|
] });
|
|
1867
1877
|
if (!action) return className ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: stack }) : stack;
|
|
1868
1878
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -2135,7 +2145,7 @@ function ProductReleaseCard({
|
|
|
2135
2145
|
] }) }, `${cell.label}-${i}`)),
|
|
2136
2146
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3 p-4", children: [
|
|
2137
2147
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2138
|
-
|
|
2148
|
+
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
2139
2149
|
{
|
|
2140
2150
|
src: _nullishCoalesce(effectiveAuthor.avatar_url, () => ( void 0)),
|
|
2141
2151
|
alt: effectiveAuthor.full_name,
|
|
@@ -2470,7 +2480,7 @@ function BlogCard({
|
|
|
2470
2480
|
});
|
|
2471
2481
|
const { src: displayImage, onError: onImageError } = useCoverImageFallback(post.featured_image, placeholderUrl);
|
|
2472
2482
|
if (size === "sm") {
|
|
2473
|
-
const dateStr2 = post.published_at ?
|
|
2483
|
+
const dateStr2 = post.published_at ? _chunkFTTLBMHUcjs.formatDateWithTimezone.call(void 0, post.published_at, null, "medium") : "";
|
|
2474
2484
|
const firstCategory = _optionalChain([post, 'access', _57 => _57.categories, 'optionalAccess', _58 => _58.find, 'call', _59 => _59((c) => c && c.name), 'optionalAccess', _60 => _60.name]);
|
|
2475
2485
|
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
2486
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_IMAGE_SLOT, children: displayImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2500,7 +2510,7 @@ function BlogCard({
|
|
|
2500
2510
|
] });
|
|
2501
2511
|
}
|
|
2502
2512
|
if (size === "portrait") {
|
|
2503
|
-
const dateStr2 = post.published_at ?
|
|
2513
|
+
const dateStr2 = post.published_at ? _chunkFTTLBMHUcjs.formatDateWithTimezone.call(void 0, post.published_at, null, "medium") : "";
|
|
2504
2514
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2505
2515
|
EntityPortraitCard,
|
|
2506
2516
|
{
|
|
@@ -2521,7 +2531,7 @@ function BlogCard({
|
|
|
2521
2531
|
}
|
|
2522
2532
|
);
|
|
2523
2533
|
}
|
|
2524
|
-
const dateStr = post.published_at ?
|
|
2534
|
+
const dateStr = post.published_at ? _chunkFTTLBMHUcjs.formatDateWithTimezone.call(void 0, post.published_at, null, "medium") : "";
|
|
2525
2535
|
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
2536
|
/* @__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
2537
|
_chunkUR4K2NSLcjs.next_image_default,
|
|
@@ -3021,7 +3031,7 @@ function CustomerInterviewCard({
|
|
|
3021
3031
|
// src/components/chat/types/entities/investor-update.ts
|
|
3022
3032
|
function formatInvestorUpdatePeriod(start, end, options) {
|
|
3023
3033
|
if (!start && !end) return "";
|
|
3024
|
-
const fmt = (d) =>
|
|
3034
|
+
const fmt = (d) => _chunkFTTLBMHUcjs.formatDateWithTimezone.call(void 0, d, null, _optionalChain([options, 'optionalAccess', _128 => _128.monthFormat]) === "long" ? "monthYear" : "monthYearShort") || "?";
|
|
3025
3035
|
const s = start ? fmt(start) : "?";
|
|
3026
3036
|
const e = end ? fmt(end) : "?";
|
|
3027
3037
|
return `${s} - ${e}`;
|
|
@@ -3268,7 +3278,7 @@ function OnboardingGuideCard({
|
|
|
3268
3278
|
const coverImage = guide.featured_image || guide.main_video_thumbnail || guide.og_image_url || null;
|
|
3269
3279
|
const hasVideoCover = !!(guide.main_video_thumbnail || guide.highlight_video_thumbnail);
|
|
3270
3280
|
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 ?
|
|
3281
|
+
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
3282
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3273
3283
|
_chunkV45KLJQPcjs.next_link_default,
|
|
3274
3284
|
{
|
|
@@ -3626,7 +3636,7 @@ function RoadmapCard({
|
|
|
3626
3636
|
]
|
|
3627
3637
|
}
|
|
3628
3638
|
) : null,
|
|
3629
|
-
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3639
|
+
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
3640
|
] }),
|
|
3631
3641
|
/* @__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
3642
|
] })
|
|
@@ -3713,7 +3723,7 @@ function RoadmapCard({
|
|
|
3713
3723
|
)
|
|
3714
3724
|
] }),
|
|
3715
3725
|
/* @__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,
|
|
3726
|
+
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
3727
|
item.screenshots && item.screenshots.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3718
3728
|
_chunkAZL332TKcjs.Button,
|
|
3719
3729
|
{
|
|
@@ -3974,7 +3984,7 @@ function ProgramEditorialCard({
|
|
|
3974
3984
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-3 min-h-[3lh] text-ods-text-secondary text-h4", children: description }),
|
|
3975
3985
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: EDITORIAL_PERSON_ROW, children: profile && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3976
3986
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3977
|
-
|
|
3987
|
+
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
3978
3988
|
{
|
|
3979
3989
|
variant: "round",
|
|
3980
3990
|
src: profile.avatarUrl || void 0,
|
|
@@ -4034,7 +4044,7 @@ function ProgramCard({
|
|
|
4034
4044
|
// Compact densities join plain strings, so the zone rides inline here; the
|
|
4035
4045
|
// default density below renders it as its own styled span instead.
|
|
4036
4046
|
} = programMetaLine(item, config.type, programMetaFormatters(PROGRAM_META_RENDERERS));
|
|
4037
|
-
const compactDate =
|
|
4047
|
+
const compactDate = _chunkFTTLBMHUcjs.formatProgramDate.call(void 0, zonedDate, "medium");
|
|
4038
4048
|
if (size === "portrait") {
|
|
4039
4049
|
const profile = programItemToStripProfile(item);
|
|
4040
4050
|
const dateMeta = compactMetaLine;
|
|
@@ -4067,7 +4077,7 @@ function ProgramCard({
|
|
|
4067
4077
|
description: item.description,
|
|
4068
4078
|
cover: coverImage || placeholderUrl || null,
|
|
4069
4079
|
eyebrow,
|
|
4070
|
-
date:
|
|
4080
|
+
date: _chunkFTTLBMHUcjs.formatProgramDate.call(void 0, zonedDate, "weekday"),
|
|
4071
4081
|
typeMeta: compactTypeMetaValue,
|
|
4072
4082
|
profile: programItemToStripProfile(item),
|
|
4073
4083
|
playable: isPlayable,
|
|
@@ -4095,7 +4105,7 @@ function ProgramCard({
|
|
|
4095
4105
|
/* @__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
4106
|
] });
|
|
4097
4107
|
}
|
|
4098
|
-
const dateFormat =
|
|
4108
|
+
const dateFormat = _chunkFTTLBMHUcjs.formatProgramDate.call(void 0, zonedDate, "weekday");
|
|
4099
4109
|
const { typeMeta: defaultTypeMeta, audience: defaultAudience } = programMetaLine(
|
|
4100
4110
|
item,
|
|
4101
4111
|
config.type,
|
|
@@ -4126,7 +4136,7 @@ function ProgramCard({
|
|
|
4126
4136
|
return null;
|
|
4127
4137
|
};
|
|
4128
4138
|
const endAt = "end_at" in item && typeof item.end_at === "string" ? item.end_at : null;
|
|
4129
|
-
const dateLabel = _nullishCoalesce(
|
|
4139
|
+
const dateLabel = _nullishCoalesce(_chunkFTTLBMHUcjs.formatProgramDateRange.call(void 0, zonedDate, endAt), () => ( dateFormat));
|
|
4130
4140
|
const cardHeader = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DEFAULT_HEADER, children: [
|
|
4131
4141
|
coverImage && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DEFAULT_COVER_FRAME, children: [
|
|
4132
4142
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -4155,10 +4165,10 @@ function ProgramCard({
|
|
|
4155
4165
|
] })
|
|
4156
4166
|
] }),
|
|
4157
4167
|
/* @__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,
|
|
4168
|
+
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
4169
|
] }),
|
|
4160
4170
|
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
|
-
|
|
4171
|
+
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
4162
4172
|
{
|
|
4163
4173
|
variant: "round",
|
|
4164
4174
|
src: host.avatar || void 0,
|
|
@@ -5,7 +5,7 @@ var _chunkPX7FY655cjs = require('./chunk-PX7FY655.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkFICJS5OAcjs = require('./chunk-FICJS5OA.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
@@ -71,9 +71,9 @@ function useVisitorOs() {
|
|
|
71
71
|
// src/utils/platform-config.tsx
|
|
72
72
|
|
|
73
73
|
function renderPlatformIcon(platformName, className) {
|
|
74
|
-
return _react.createElement.call(void 0,
|
|
74
|
+
return _react.createElement.call(void 0, _chunkFICJS5OAcjs.PlatformMark, {
|
|
75
75
|
platform: platformName,
|
|
76
|
-
className: _chunk3ATAYP36cjs.cn.call(void 0, className,
|
|
76
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0, className, _chunkFICJS5OAcjs.getPlatformBrandClasses.call(void 0, platformName).accentText)
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
var platformIcons = {
|
|
@@ -112,7 +112,7 @@ function getPlatformIconComponent(platformName, className = "h-6 w-6") {
|
|
|
112
112
|
return renderPlatformIcon(platformName, className);
|
|
113
113
|
}
|
|
114
114
|
function getPlatformColorClass(platformName) {
|
|
115
|
-
return
|
|
115
|
+
return _chunkFICJS5OAcjs.getPlatformBrandClasses.call(void 0, platformName).accentBg;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
// src/utils/access-code-client.ts
|
|
@@ -10,18 +10,18 @@ var _chunkUYHKZN5Dcjs = require('./chunk-UYHKZN5D.cjs');
|
|
|
10
10
|
var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkMYBTNOS6cjs = require('./chunk-MYBTNOS6.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkFTTLBMHUcjs = require('./chunk-FTTLBMHU.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkGVTDVS5Ucjs = require('./chunk-GVTDVS5U.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkFICJS5OAcjs = require('./chunk-FICJS5OA.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
var _chunkAZL332TKcjs = require('./chunk-AZL332TK.cjs');
|
|
@@ -217,7 +217,7 @@ var Modal = _react.forwardRef.call(void 0,
|
|
|
217
217
|
),
|
|
218
218
|
role: "dialog",
|
|
219
219
|
"aria-modal": "true",
|
|
220
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ModalContext.Provider, { value: { onClose }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
220
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ModalContext.Provider, { value: { onClose }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGVTDVS5Ucjs.ViewportBreakpoints, { children }) })
|
|
221
221
|
}
|
|
222
222
|
)
|
|
223
223
|
]
|
|
@@ -446,7 +446,7 @@ function SlashCommandSuggestions({
|
|
|
446
446
|
className
|
|
447
447
|
),
|
|
448
448
|
children: commands.map((cmd, idx) => {
|
|
449
|
-
const Icon =
|
|
449
|
+
const Icon = _chunkFICJS5OAcjs.resolveIcon.call(void 0, cmd.iconName);
|
|
450
450
|
const legacyMeta = !cmd.iconName && cmd.primarySourceId && resolveSourceIcon ? resolveSourceIcon(cmd.primarySourceId) : void 0;
|
|
451
451
|
const LegacyIcon = _optionalChain([legacyMeta, 'optionalAccess', _4 => _4.Icon]);
|
|
452
452
|
const title = _nullishCoalesce(_nullishCoalesce(cmd.label, () => ( _optionalChain([legacyMeta, 'optionalAccess', _5 => _5.label]))), () => ( cmd.id));
|
|
@@ -542,7 +542,7 @@ function buildChipEl(token, label, icon) {
|
|
|
542
542
|
span.className = "mx-0.5 inline-flex h-9 items-center select-none align-top";
|
|
543
543
|
span.innerHTML = _server.renderToStaticMarkup.call(void 0,
|
|
544
544
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
545
|
-
|
|
545
|
+
_chunkFTTLBMHUcjs.Tag,
|
|
546
546
|
{
|
|
547
547
|
as: "span",
|
|
548
548
|
variant: "badge",
|
|
@@ -930,7 +930,7 @@ var ChatInput = _react.forwardRef.call(void 0, (allProps, ref) => {
|
|
|
930
930
|
className: "flex min-h-11 w-full items-center justify-center gap-[var(--spacing-system-xs)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-sf)] md:min-h-12",
|
|
931
931
|
children: [
|
|
932
932
|
awaitingTeam && awaitingTeam.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
933
|
-
|
|
933
|
+
_chunkMYBTNOS6cjs.AvatarStack,
|
|
934
934
|
{
|
|
935
935
|
people: awaitingTeam,
|
|
936
936
|
total: awaitingTeamCount,
|
|
@@ -1097,7 +1097,7 @@ ChatInput.displayName = "ChatInput";
|
|
|
1097
1097
|
|
|
1098
1098
|
// src/utils/format-date.ts
|
|
1099
1099
|
var INVALID_DATE_PLACEHOLDER = "\u2014";
|
|
1100
|
-
var render = (input, fields) =>
|
|
1100
|
+
var render = (input, fields) => _chunkFTTLBMHUcjs.formatDateWithTimezone.call(void 0, input, _chunkFTTLBMHUcjs.VIEWER_TIMEZONE, fields, { viewerLocale: true }) || INVALID_DATE_PLACEHOLDER;
|
|
1101
1101
|
var formatDate = (input) => render(input, { dateStyle: "short" });
|
|
1102
1102
|
var formatTime = (input) => render(input, { timeStyle: "short" });
|
|
1103
1103
|
|