@flamingo-stack/openframe-frontend-core 0.0.745 → 0.0.748
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-7PQOZLVP.cjs → chunk-46EIXJFC.cjs} +20 -20
- package/dist/{chunk-FNIFUCXU.cjs → chunk-4AZHFLOM.cjs} +5 -5
- package/dist/{chunk-YJRMCFX3.cjs → chunk-4MGZYY6U.cjs} +7 -7
- package/dist/{chunk-QES5NV4T.cjs → chunk-6XP6RNFD.cjs} +1040 -1010
- package/dist/{chunk-75BF7YJR.cjs → chunk-7Y3VMMJB.cjs} +13 -13
- package/dist/{chunk-GAGNKWOC.cjs → chunk-BBM2ICOY.cjs} +2 -2
- package/dist/{chunk-DJO7YMT3.cjs → chunk-BBTSJYTR.cjs} +232 -227
- package/dist/{chunk-4N7KGOBS.cjs → chunk-BEC43GHL.cjs} +3 -3
- package/dist/{chunk-NFINQ7IZ.cjs → chunk-D4XZL27V.cjs} +6 -6
- package/dist/{chunk-PM5ELQBL.cjs → chunk-EH3LOWGY.cjs} +32 -32
- package/dist/{chunk-7KHQHYXL.cjs → chunk-G2ELX3DG.cjs} +18 -18
- package/dist/{chunk-M4FKV2U5.cjs → chunk-GE4PCDNZ.cjs} +12 -12
- package/dist/{chunk-GEEKJ7SH.cjs → chunk-H34A2765.cjs} +74 -74
- package/dist/{chunk-URVIPSAJ.cjs → chunk-HNLI4OU5.cjs} +14 -14
- package/dist/{chunk-ABLUMGCI.cjs → chunk-JHQNUWFM.cjs} +83 -33
- package/dist/{chunk-3LX5AGZO.cjs → chunk-JNBOQ7F2.cjs} +24 -24
- package/dist/{chunk-RIGSZEXS.cjs → chunk-JOPFX3PJ.cjs} +90 -90
- package/dist/{chunk-UY6A6TEY.cjs → chunk-L2IQESTQ.cjs} +2 -2
- package/dist/{chunk-HVR7DPAY.cjs → chunk-OZUJYBQ2.cjs} +4 -4
- package/dist/{chunk-LJ46XYYP.cjs → chunk-P7KTAXXE.cjs} +41 -27
- package/dist/{chunk-OWGLRE74.cjs → chunk-PSIKUDUV.cjs} +8 -8
- package/dist/{chunk-4A6OF4HI.cjs → chunk-PSSGIZXZ.cjs} +44 -44
- package/dist/{chunk-YIOWV7LS.cjs → chunk-QPSQ5WLG.cjs} +2 -2
- package/dist/{chunk-GQ2TRIOV.cjs → chunk-TRXCQADV.cjs} +35 -35
- package/dist/{chunk-U2O5YQRP.cjs → chunk-U6XWGK53.cjs} +33 -33
- package/dist/{chunk-HMSCUL4R.cjs → chunk-UNR74CAC.cjs} +4 -4
- package/dist/{chunk-JGZEHBBD.cjs → chunk-YIRX6C7V.cjs} +10 -10
- package/dist/{chunk-6IQDQQ56.cjs → chunk-YKJQM2O6.cjs} +38 -38
- package/dist/{chunk-5TCIRWHL.cjs → chunk-YRULLK7N.cjs} +5 -5
- package/dist/{chunk-GOTEXQZN.cjs → chunk-ZNUSYMH7.cjs} +80 -80
- package/dist/{cloud-tenants-DECPWIYQ.cjs → cloud-tenants-V5727B7F.cjs} +13 -13
- package/dist/components/case-studies/index.cjs +31 -29
- package/dist/components/case-studies/share-experience-section.d.ts.map +1 -1
- package/dist/components/case-studies/share-experience-section.js +6 -5
- package/dist/components/chat/index.cjs +9 -9
- package/dist/components/contact/index.cjs +14 -14
- package/dist/components/docs/index.cjs +17 -17
- package/dist/components/embeds/index.cjs +14 -14
- package/dist/components/faq/index.cjs +15 -15
- package/dist/components/features/index.cjs +13 -13
- package/dist/components/help-center-pages/index.cjs +116 -116
- package/dist/components/index.cjs +121 -125
- package/dist/components/layout/page-heading.d.ts +16 -0
- package/dist/components/layout/page-heading.d.ts.map +1 -1
- package/dist/components/layout/page-heading.js +16 -2
- package/dist/components/meeting-scheduler/index.cjs +63 -63
- package/dist/components/navigation/index.cjs +16 -16
- package/dist/components/onboarding-guides/index.cjs +16 -16
- package/dist/components/product-demo/index.cjs +9 -9
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/tickets/index.cjs +19 -19
- package/dist/components/ui/filter-checkbox-item.d.ts +8 -2
- package/dist/components/ui/filter-checkbox-item.d.ts.map +1 -1
- package/dist/components/ui/filter-checkbox-item.js +14 -4
- package/dist/components/ui/index.cjs +15 -13
- package/dist/components/ui/layout-hold.d.ts +4 -3
- package/dist/components/ui/layout-hold.d.ts.map +1 -1
- package/dist/components/ui/layout-hold.js +29 -9
- package/dist/components/unified-filter-logic.js +1 -1
- package/dist/components/vendor-tag.d.ts +12 -0
- package/dist/components/vendor-tag.d.ts.map +1 -1
- package/dist/components/vendor-tag.js +50 -47
- package/dist/{devices-HJKDRWQX.cjs → devices-WWMXIIHI.cjs} +14 -14
- package/dist/{embeddable-chat-3SKFBO2P.cjs → embeddable-chat-IJHCGQ24.cjs} +80 -80
- package/dist/index.cjs +22 -18
- package/dist/{knowledge-NH2CGY2C.cjs → knowledge-JZP4RIXB.cjs} +14 -14
- package/dist/{logs-KZYIDYQK.cjs → logs-WIRYFNUC.cjs} +21 -21
- package/dist/{policies-UAVTPIKM.cjs → policies-X7OJYA7G.cjs} +17 -17
- package/dist/{remote-session-N4PJB5FW.cjs → remote-session-IYT4LWJC.cjs} +7 -7
- package/dist/{scripts-FRPY43KU.cjs → scripts-GRMT2NGW.cjs} +20 -20
- package/dist/{software-update-AEJJNLX5.cjs → software-update-G3QOB7RT.cjs} +17 -17
- package/dist/{tickets-board-O753S4ZB.cjs → tickets-board-4MT6ZB4F.cjs} +8 -8
- package/dist/utils/format.d.ts.map +1 -1
- package/dist/utils/format.js +2 -3
- package/dist/utils/index.cjs +123 -72
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +8 -6
- package/dist/utils/markdown-to-plain.d.ts.map +1 -1
- package/dist/utils/markdown-to-plain.js +12 -7
- package/dist/utils/vendor-classification.d.ts +43 -17
- package/dist/utils/vendor-classification.d.ts.map +1 -1
- package/dist/utils/vendor-classification.js +73 -22
- package/package.json +7 -2
- package/src/components/case-studies/share-experience-section.tsx +9 -6
- package/src/components/layout/page-heading.tsx +52 -11
- package/src/components/ui/filter-checkbox-item.tsx +21 -5
- package/src/components/ui/layout-hold.tsx +38 -10
- package/src/components/unified-filter-logic.tsx +1 -1
- package/src/components/vendor-tag.tsx +73 -69
- package/src/utils/format.ts +2 -3
- package/src/utils/index.ts +7 -5
- package/src/utils/markdown-to-plain.ts +25 -16
- package/src/utils/vendor-classification.ts +113 -34
- package/dist/utils/format-text-stub.d.ts +0 -5
- package/dist/utils/format-text-stub.d.ts.map +0 -1
- package/dist/utils/format-text-stub.js +0 -20
- package/src/utils/format-text-stub.ts +0 -17
|
@@ -1,11 +1,11 @@
|
|
|
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 _chunkBEC43GHLcjs = require('./chunk-BEC43GHL.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk7Y3VMMJBcjs = require('./chunk-7Y3VMMJB.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -14,13 +14,13 @@ var _chunkHEVW75L3cjs = require('./chunk-HEVW75L3.cjs');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunk6XP6RNFDcjs = require('./chunk-6XP6RNFD.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkU6XWGK53cjs = require('./chunk-U6XWGK53.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkZNUSYMH7cjs = require('./chunk-ZNUSYMH7.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
@@ -29,10 +29,10 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkP7KTAXXEcjs = require('./chunk-P7KTAXXE.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var _chunkL2IQESTQcjs = require('./chunk-L2IQESTQ.cjs');
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
var _chunkV45KLJQPcjs = require('./chunk-V45KLJQP.cjs');
|
|
@@ -45,7 +45,7 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
45
45
|
function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
46
46
|
if (isFiltered) {
|
|
47
47
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
48
|
-
|
|
48
|
+
_chunkBEC43GHLcjs.EmptyState,
|
|
49
49
|
{
|
|
50
50
|
type: "search",
|
|
51
51
|
title: filtered.title,
|
|
@@ -58,7 +58,7 @@ function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
|
58
58
|
}
|
|
59
59
|
const hasCta = Boolean(empty.ctaText && (empty.onCtaClick || empty.ctaHref));
|
|
60
60
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
61
|
-
|
|
61
|
+
_chunkBEC43GHLcjs.EmptyState,
|
|
62
62
|
{
|
|
63
63
|
type: "generic",
|
|
64
64
|
title: empty.title,
|
|
@@ -75,7 +75,7 @@ function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
|
75
75
|
var _react = require('react');
|
|
76
76
|
|
|
77
77
|
function DevSectionView({ sectionKey, hero, preControls, children, showHeading = true }) {
|
|
78
|
-
const section =
|
|
78
|
+
const section = _chunkZNUSYMH7cjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
79
79
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
80
80
|
const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
|
|
81
81
|
const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
|
|
@@ -126,7 +126,7 @@ function DevSectionView({ sectionKey, hero, preControls, children, showHeading =
|
|
|
126
126
|
preControls,
|
|
127
127
|
(search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
128
128
|
search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
129
|
-
|
|
129
|
+
_chunk6XP6RNFDcjs.SearchInput,
|
|
130
130
|
{
|
|
131
131
|
showDropdown: false,
|
|
132
132
|
placeholder: search.placeholder,
|
|
@@ -136,7 +136,7 @@ function DevSectionView({ sectionKey, hero, preControls, children, showHeading =
|
|
|
136
136
|
}
|
|
137
137
|
),
|
|
138
138
|
filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
139
|
-
|
|
139
|
+
_chunk6XP6RNFDcjs.StatusFilterComponent,
|
|
140
140
|
{
|
|
141
141
|
selectedStatus: currentFilterValue,
|
|
142
142
|
onStatusChange: handleFilterChange,
|
|
@@ -161,7 +161,7 @@ function DevSectionPage({
|
|
|
161
161
|
shell = true
|
|
162
162
|
}) {
|
|
163
163
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
164
|
-
const section =
|
|
164
|
+
const section = _chunkZNUSYMH7cjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
165
165
|
const backCfg = backButton === false ? void 0 : {
|
|
166
166
|
label: _nullishCoalesce((backButton ? backButton.label : void 0), () => ( "Back to home")),
|
|
167
167
|
onClick: () => router.push(_nullishCoalesce((backButton ? backButton.href : void 0), () => ( "/")))
|
|
@@ -174,7 +174,7 @@ function DevSectionPage({
|
|
|
174
174
|
// duplicate title. (The hero icon is intentionally dropped: TitleBlock is
|
|
175
175
|
// frozen and renders title-only.)
|
|
176
176
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
177
|
-
|
|
177
|
+
_chunkU6XWGK53cjs.PageLayout,
|
|
178
178
|
{
|
|
179
179
|
title: _nullishCoalesce(title, () => ( section.hero.title)),
|
|
180
180
|
subtitle: _nullishCoalesce(subtitle, () => ( section.hero.description)),
|
|
@@ -183,12 +183,12 @@ function DevSectionPage({
|
|
|
183
183
|
backButton: backCfg,
|
|
184
184
|
children: [
|
|
185
185
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DevSectionView, { sectionKey, showHeading: false, preControls, children }),
|
|
186
|
-
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
186
|
+
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Y3VMMJBcjs.FaqSection, { ..._chunk7Y3VMMJBcjs.pageFaqProps.call(void 0, faq) })
|
|
187
187
|
]
|
|
188
188
|
}
|
|
189
189
|
)
|
|
190
190
|
);
|
|
191
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
191
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6XP6RNFDcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
// src/components/shared/dev-section/dev-card-row.tsx
|
|
@@ -248,7 +248,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
248
248
|
const taskType = item.taskType;
|
|
249
249
|
const typeBadgeLabel = _chunkHEVW75L3cjs.TASK_TYPE_LABELS[taskType] || "TASK";
|
|
250
250
|
const typeBadgeTextColor = _chunkHEVW75L3cjs.TASK_TYPE_TEXT_COLORS[taskType] || "";
|
|
251
|
-
const statusBadgeScheme =
|
|
251
|
+
const statusBadgeScheme = _chunkP7KTAXXEcjs.getStatusColorScheme.call(void 0, item.status);
|
|
252
252
|
const relativeTime = getRelativeTime(item.dateUpdated);
|
|
253
253
|
const subtitle = `ACTIVE ${relativeTime}${item.listNames.length > 0 ? `, ${item.listNames.join(", ")}` : ""}, ${item.id}`;
|
|
254
254
|
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col items-start justify-between gap-[12px] content-md:flex-row content-md:gap-[16px]", children: [
|
|
@@ -260,7 +260,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
260
260
|
] }),
|
|
261
261
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-shrink-0 flex-row items-center gap-2 self-stretch content-md:w-auto content-md:flex-col content-md:items-end content-md:self-start", children: [
|
|
262
262
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
263
|
-
|
|
263
|
+
_chunkP7KTAXXEcjs.StatusBadge,
|
|
264
264
|
{
|
|
265
265
|
text: item.status.toUpperCase(),
|
|
266
266
|
colorScheme: statusBadgeScheme,
|
|
@@ -269,7 +269,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
269
269
|
}
|
|
270
270
|
),
|
|
271
271
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
272
|
-
|
|
272
|
+
_chunkP7KTAXXEcjs.StatusBadge,
|
|
273
273
|
{
|
|
274
274
|
text: typeBadgeLabel,
|
|
275
275
|
variant: "card",
|
|
@@ -277,7 +277,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
277
277
|
}
|
|
278
278
|
),
|
|
279
279
|
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
280
|
-
|
|
280
|
+
_chunkL2IQESTQcjs.AvatarStack,
|
|
281
281
|
{
|
|
282
282
|
size: "xs",
|
|
283
283
|
className: "ml-auto content-md:ml-0",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk6XP6RNFDcjs = require('./chunk-6XP6RNFD.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkCKR42OBKcjs = require('./chunk-CKR42OBK.cjs');
|
|
@@ -14,7 +14,7 @@ var _chunkM7ZSKWT3cjs = require('./chunk-M7ZSKWT3.cjs');
|
|
|
14
14
|
var _chunkW2RM764Dcjs = require('./chunk-W2RM764D.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkJHQNUWFMcjs = require('./chunk-JHQNUWFM.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunk2QMBXGMQcjs = require('./chunk-2QMBXGMQ.cjs');
|
|
@@ -29,7 +29,7 @@ function FileDownloadCard({ fileName, mimeType, fileSize, fileUrl }) {
|
|
|
29
29
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h3", children: fileName || "File" }),
|
|
30
30
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-2 flex items-center justify-center gap-3 text-ods-text-secondary text-h6", children: [
|
|
31
31
|
mimeType && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: mimeType }),
|
|
32
|
-
typeof fileSize === "number" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children:
|
|
32
|
+
typeof fileSize === "number" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: _chunkJHQNUWFMcjs.formatFileSize.call(void 0, fileSize) })
|
|
33
33
|
] })
|
|
34
34
|
] }),
|
|
35
35
|
fileUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { variant: "accent", href: fileUrl, openInNewTab: true, leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Download, { className: "h-4 w-4" }), children: "Download File" })
|
|
@@ -48,7 +48,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
|
|
|
48
48
|
] });
|
|
49
49
|
}
|
|
50
50
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
51
|
-
|
|
51
|
+
_chunk6XP6RNFDcjs.EmbedViewerFrame,
|
|
52
52
|
{
|
|
53
53
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCKR42OBKcjs.GoogleSheetsIcon, { className: "h-5 w-5 shrink-0" }),
|
|
54
54
|
title: displayName,
|
|
@@ -83,7 +83,7 @@ function PdfViewer({ src, fileName, onPreview, onDownload, height }) {
|
|
|
83
83
|
] });
|
|
84
84
|
}
|
|
85
85
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
86
|
-
|
|
86
|
+
_chunk6XP6RNFDcjs.EmbedViewerFrame,
|
|
87
87
|
{
|
|
88
88
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM7ZSKWT3cjs.AdobePdfIcon, { className: "h-5 w-5 shrink-0" }),
|
|
89
89
|
title: displayName,
|
|
@@ -1,14 +1,14 @@
|
|
|
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 _chunkU6XWGK53cjs = require('./chunk-U6XWGK53.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkP7KTAXXEcjs = require('./chunk-P7KTAXXE.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkJHQNUWFMcjs = require('./chunk-JHQNUWFM.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
var _chunkHOTM4UM6cjs = require('./chunk-HOTM4UM6.cjs');
|
|
@@ -66,7 +66,7 @@ function DetailPageSkeleton({
|
|
|
66
66
|
] });
|
|
67
67
|
if (bare) return content;
|
|
68
68
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
69
|
-
|
|
69
|
+
_chunkU6XWGK53cjs.PageLayout,
|
|
70
70
|
{
|
|
71
71
|
showHeader: false,
|
|
72
72
|
className: "mx-auto max-w-[1280px] bg-ods-bg px-6 py-6 content-md:px-20 content-md:py-10",
|
|
@@ -79,7 +79,7 @@ function DetailPageSkeleton({
|
|
|
79
79
|
var _lucidereact = require('lucide-react');
|
|
80
80
|
|
|
81
81
|
function formatDate(value) {
|
|
82
|
-
return
|
|
82
|
+
return _chunkJHQNUWFMcjs.formatDateWithTimezone.call(void 0, value, null, "long");
|
|
83
83
|
}
|
|
84
84
|
function ArticleAuthorByline({
|
|
85
85
|
author,
|
|
@@ -95,7 +95,7 @@ function ArticleAuthorByline({
|
|
|
95
95
|
}) {
|
|
96
96
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
97
97
|
if (!author) return null;
|
|
98
|
-
const proxiedAvatar = avatar ? proxyImageUrl ? proxyImageUrl(avatar) : _nullishCoalesce(
|
|
98
|
+
const proxiedAvatar = avatar ? proxyImageUrl ? proxyImageUrl(avatar) : _nullishCoalesce(_chunkP7KTAXXEcjs.getProxiedImageUrl.call(void 0, avatar, {
|
|
99
99
|
proxyPrefix: _optionalChain([runtime, 'optionalAccess', _2 => _2.endpoints, 'access', _3 => _3.imageProxyUrlPrefix]),
|
|
100
100
|
skipDomains: _optionalChain([runtime, 'optionalAccess', _4 => _4.endpoints, 'access', _5 => _5.imageProxySkipDomains]),
|
|
101
101
|
directHttps: true
|
|
@@ -103,7 +103,7 @@ function ArticleAuthorByline({
|
|
|
103
103
|
const avatarSizeClass = size === "lg" ? "w-16 h-16" : "w-14 h-14";
|
|
104
104
|
const avatarIconClass = size === "lg" ? "w-8 h-8" : "w-7 h-7";
|
|
105
105
|
const avatarDim = size === "lg" ? 64 : 56;
|
|
106
|
-
const formattedBio =
|
|
106
|
+
const formattedBio = _chunkJHQNUWFMcjs.formatBioText.call(void 0, _nullishCoalesce(bio, () => ( null)));
|
|
107
107
|
const dateLabel = publishedAt ? formatDate(publishedAt) : "";
|
|
108
108
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
109
109
|
"div",
|