@flamingo-stack/openframe-frontend-core 0.0.367 → 0.0.368-snapshot.20260703182838
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-R7REILGJ.cjs → chunk-2YRPY6CP.cjs} +12 -12
- package/dist/{chunk-R7REILGJ.cjs.map → chunk-2YRPY6CP.cjs.map} +1 -1
- package/dist/{chunk-JA6Y4RQA.cjs → chunk-3GZU2H2F.cjs} +13 -13
- package/dist/{chunk-JA6Y4RQA.cjs.map → chunk-3GZU2H2F.cjs.map} +1 -1
- package/dist/{chunk-UJ4ENR2O.js → chunk-5R5PDZZ4.js} +2 -2
- package/dist/{chunk-B7NOIJR3.cjs → chunk-6PHV4NRE.cjs} +9 -9
- package/dist/{chunk-B7NOIJR3.cjs.map → chunk-6PHV4NRE.cjs.map} +1 -1
- package/dist/{chunk-VJNA6NSE.js → chunk-ARE7STTN.js} +3 -3
- package/dist/{chunk-SELQ4BMB.js → chunk-BMD3HYHB.js} +3 -3
- package/dist/{chunk-BW5TNAAB.cjs → chunk-C3CYMFQH.cjs} +19 -19
- package/dist/{chunk-BW5TNAAB.cjs.map → chunk-C3CYMFQH.cjs.map} +1 -1
- package/dist/{chunk-MHQ7FGTU.cjs → chunk-CZVFME5Y.cjs} +304 -304
- package/dist/{chunk-MHQ7FGTU.cjs.map → chunk-CZVFME5Y.cjs.map} +1 -1
- package/dist/{chunk-OYBPLAEL.cjs → chunk-F7X7FHRU.cjs} +73 -73
- package/dist/{chunk-OYBPLAEL.cjs.map → chunk-F7X7FHRU.cjs.map} +1 -1
- package/dist/{chunk-7RQM23VH.js → chunk-FQQ7Z2M4.js} +2 -2
- package/dist/{chunk-LB7GFBSI.js → chunk-FYBO6T5N.js} +2 -2
- package/dist/{chunk-BFIXLKD7.cjs → chunk-JKSLHSGN.cjs} +31 -31
- package/dist/{chunk-BFIXLKD7.cjs.map → chunk-JKSLHSGN.cjs.map} +1 -1
- package/dist/{chunk-BTPPX4OH.js → chunk-JZZ5K6PD.js} +4 -4
- package/dist/{chunk-XDAAWSBX.js → chunk-K65MUKDT.js} +3 -3
- package/dist/{chunk-AWSBFLM4.js → chunk-KSJLQMTA.js} +3 -3
- package/dist/{chunk-57YGF3UX.js → chunk-KXXSJUOY.js} +5 -5
- package/dist/{chunk-QCG3MBP6.cjs → chunk-LEAQNU26.cjs} +3 -3
- package/dist/{chunk-QCG3MBP6.cjs.map → chunk-LEAQNU26.cjs.map} +1 -1
- package/dist/{chunk-FGSAACQ6.js → chunk-M4XVYRK5.js} +3 -3
- package/dist/{chunk-3VGGQJIG.js → chunk-N7VM7F27.js} +11 -12
- package/dist/chunk-N7VM7F27.js.map +1 -0
- package/dist/{chunk-HY6SX7SY.cjs → chunk-NQ6FSKSD.cjs} +29 -29
- package/dist/{chunk-HY6SX7SY.cjs.map → chunk-NQ6FSKSD.cjs.map} +1 -1
- package/dist/{chunk-CCG4DARM.cjs → chunk-QXHTYNAW.cjs} +38 -2
- package/dist/{chunk-CCG4DARM.cjs.map → chunk-QXHTYNAW.cjs.map} +1 -1
- package/dist/{chunk-JCVQ25SH.js → chunk-RCCYW5EJ.js} +5 -5
- package/dist/{chunk-J4TUSKUD.cjs → chunk-RHKWZHHR.cjs} +5 -5
- package/dist/{chunk-J4TUSKUD.cjs.map → chunk-RHKWZHHR.cjs.map} +1 -1
- package/dist/{chunk-ZDXDRYAC.cjs → chunk-RR5VZIWO.cjs} +76 -77
- package/dist/chunk-RR5VZIWO.cjs.map +1 -0
- package/dist/{chunk-ZV4736W2.cjs → chunk-SCKLOLNC.cjs} +40 -40
- package/dist/{chunk-ZV4736W2.cjs.map → chunk-SCKLOLNC.cjs.map} +1 -1
- package/dist/{chunk-65R4KAF3.cjs → chunk-WG2QLZTD.cjs} +15 -15
- package/dist/{chunk-65R4KAF3.cjs.map → chunk-WG2QLZTD.cjs.map} +1 -1
- package/dist/{chunk-KY5R4WEH.js → chunk-WNIXFW5I.js} +2 -2
- package/dist/{chunk-5UYS6HX6.js → chunk-XPVK2FP3.js} +6 -6
- package/dist/{chunk-UZTGDV6N.js → chunk-YQA6IMJ7.js} +4556 -4520
- package/dist/chunk-YQA6IMJ7.js.map +1 -0
- package/dist/{chunk-ZYK4YPUJ.cjs → chunk-YW6KVM7X.cjs} +40 -40
- package/dist/{chunk-ZYK4YPUJ.cjs.map → chunk-YW6KVM7X.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +10 -10
- package/dist/components/case-studies/index.js +4 -4
- package/dist/components/chat/index.cjs +4 -4
- package/dist/components/chat/index.js +3 -3
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/contact/index.js +4 -4
- package/dist/components/docs/index.cjs +7 -7
- package/dist/components/docs/index.js +6 -6
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/embeds/index.js +4 -4
- package/dist/components/faq/index.cjs +6 -6
- package/dist/components/faq/index.js +5 -5
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/features/index.js +3 -3
- package/dist/components/help-center-pages/index.cjs +23 -23
- package/dist/components/help-center-pages/index.js +14 -14
- package/dist/components/icons-v2-generated/communication/index.d.ts +1 -0
- package/dist/components/icons-v2-generated/communication/index.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/communication/mingo-monochrome-icon.d.ts +8 -0
- package/dist/components/icons-v2-generated/communication/mingo-monochrome-icon.d.ts.map +1 -0
- package/dist/components/icons-v2-generated/index.cjs +4 -2
- package/dist/components/icons-v2-generated/index.cjs.map +1 -1
- package/dist/components/icons-v2-generated/index.js +3 -1
- package/dist/components/index.cjs +126 -126
- package/dist/components/index.js +12 -12
- package/dist/components/navigation/index.cjs +4 -4
- package/dist/components/navigation/index.js +3 -3
- package/dist/components/onboarding-guides/index.cjs +8 -8
- package/dist/components/onboarding-guides/index.js +7 -7
- package/dist/components/related-content/index.cjs +6 -6
- package/dist/components/related-content/index.js +5 -5
- package/dist/components/shared/media-gallery-strip.d.ts +1 -3
- package/dist/components/shared/media-gallery-strip.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +7 -7
- package/dist/components/tickets/index.js +6 -6
- package/dist/components/ui/index.cjs +4 -4
- package/dist/components/ui/index.js +3 -3
- package/dist/hooks/index.cjs +3 -3
- package/dist/hooks/index.js +2 -2
- package/dist/index.cjs +4 -4
- package/dist/index.js +3 -3
- package/package.json +1 -1
- package/src/components/icons-v2/communication/mingo-monochrome.svg +6 -0
- package/src/components/icons-v2-generated/communication/index.ts +1 -0
- package/src/components/icons-v2-generated/communication/mingo-monochrome-icon.tsx +33 -0
- package/src/components/shared/media-gallery-strip.tsx +4 -9
- package/src/components/shared/product-release/release-detail-page.tsx +1 -1
- package/dist/chunk-3VGGQJIG.js.map +0 -1
- package/dist/chunk-UZTGDV6N.js.map +0 -1
- package/dist/chunk-ZDXDRYAC.cjs.map +0 -1
- /package/dist/{chunk-UJ4ENR2O.js.map → chunk-5R5PDZZ4.js.map} +0 -0
- /package/dist/{chunk-VJNA6NSE.js.map → chunk-ARE7STTN.js.map} +0 -0
- /package/dist/{chunk-SELQ4BMB.js.map → chunk-BMD3HYHB.js.map} +0 -0
- /package/dist/{chunk-7RQM23VH.js.map → chunk-FQQ7Z2M4.js.map} +0 -0
- /package/dist/{chunk-LB7GFBSI.js.map → chunk-FYBO6T5N.js.map} +0 -0
- /package/dist/{chunk-BTPPX4OH.js.map → chunk-JZZ5K6PD.js.map} +0 -0
- /package/dist/{chunk-XDAAWSBX.js.map → chunk-K65MUKDT.js.map} +0 -0
- /package/dist/{chunk-AWSBFLM4.js.map → chunk-KSJLQMTA.js.map} +0 -0
- /package/dist/{chunk-57YGF3UX.js.map → chunk-KXXSJUOY.js.map} +0 -0
- /package/dist/{chunk-FGSAACQ6.js.map → chunk-M4XVYRK5.js.map} +0 -0
- /package/dist/{chunk-JCVQ25SH.js.map → chunk-RCCYW5EJ.js.map} +0 -0
- /package/dist/{chunk-KY5R4WEH.js.map → chunk-WNIXFW5I.js.map} +0 -0
- /package/dist/{chunk-5UYS6HX6.js.map → chunk-XPVK2FP3.js.map} +0 -0
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkWG2QLZTDcjs = require('./chunk-WG2QLZTD.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkRHKWZHHRcjs = require('./chunk-RHKWZHHR.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkLEAQNU26cjs = require('./chunk-LEAQNU26.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -40,12 +40,12 @@ var _chunkQCG3MBP6cjs = require('./chunk-QCG3MBP6.cjs');
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
var
|
|
43
|
+
var _chunkCZVFME5Ycjs = require('./chunk-CZVFME5Y.cjs');
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
var
|
|
48
|
+
var _chunk6PHV4NREcjs = require('./chunk-6PHV4NRE.cjs');
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
var _chunk3KEBI6TPcjs = require('./chunk-3KEBI6TP.cjs');
|
|
@@ -171,7 +171,7 @@ function PersistentPaginationWrapper({
|
|
|
171
171
|
const displayCurrentPage = hasResults ? currentPage : 1;
|
|
172
172
|
const isPaginationDisabled = isLoading;
|
|
173
173
|
const hasNoResults = !hasResults && !isLoading;
|
|
174
|
-
const PaginationComponent = (
|
|
174
|
+
const PaginationComponent = (_chunkWG2QLZTDcjs.init_unified_pagination.call(void 0, ), _chunkVRHGVLSLcjs.__toCommonJS.call(void 0, _chunkWG2QLZTDcjs.unified_pagination_exports)).UnifiedPagination;
|
|
175
175
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
176
176
|
"div",
|
|
177
177
|
{
|
|
@@ -230,8 +230,8 @@ function PersistentPaginationWrapper({
|
|
|
230
230
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
231
231
|
|
|
232
232
|
var DEFAULT_ENDPOINT = "/api/releases";
|
|
233
|
-
var DEFAULT_SEARCH_PARAM_KEY =
|
|
234
|
-
var DEFAULT_STATUS_PARAM_KEY =
|
|
233
|
+
var DEFAULT_SEARCH_PARAM_KEY = _chunkCZVFME5Ycjs.DEV_SECTION_PARAM_KEYS.search;
|
|
234
|
+
var DEFAULT_STATUS_PARAM_KEY = _chunkCZVFME5Ycjs.DEV_SECTION_PARAM_KEYS.releaseStatus;
|
|
235
235
|
var DEFAULT_PAGE_PARAM_KEY = "page";
|
|
236
236
|
function ReleaseRow({
|
|
237
237
|
release,
|
|
@@ -240,17 +240,17 @@ function ReleaseRow({
|
|
|
240
240
|
}) {
|
|
241
241
|
const runtime = _chunk3KEBI6TPcjs.useChatRuntime.call(void 0, );
|
|
242
242
|
const router = _chunkG7UE6RKVcjs.useRouter.call(void 0, );
|
|
243
|
-
const cta =
|
|
243
|
+
const cta = _chunkCZVFME5Ycjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _2 => _2.composeContentUrl]), {
|
|
244
244
|
type: "product_release",
|
|
245
245
|
slug: release.slug,
|
|
246
246
|
basePath,
|
|
247
247
|
platforms: release.product_release_platforms
|
|
248
248
|
});
|
|
249
|
-
const { target, rel } =
|
|
249
|
+
const { target, rel } = _chunkCZVFME5Ycjs.useEntityCardLink.call(void 0, { href: cta.href, targetPlatform: cta.targetPlatform });
|
|
250
250
|
const onClick = (e) => {
|
|
251
|
-
if (e.defaultPrevented ||
|
|
251
|
+
if (e.defaultPrevented || _chunkCZVFME5Ycjs.isModifierClick.call(void 0, e) || target === "_blank") return;
|
|
252
252
|
e.preventDefault();
|
|
253
|
-
|
|
253
|
+
_chunkCZVFME5Ycjs.executeNavigationImperative.call(void 0, {
|
|
254
254
|
runtime,
|
|
255
255
|
href: cta.href,
|
|
256
256
|
targetPlatform: cta.targetPlatform,
|
|
@@ -258,7 +258,7 @@ function ReleaseRow({
|
|
|
258
258
|
});
|
|
259
259
|
};
|
|
260
260
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
261
|
-
|
|
261
|
+
_chunkCZVFME5Ycjs.ProductReleaseCard,
|
|
262
262
|
{
|
|
263
263
|
size: "lg",
|
|
264
264
|
title: release.title,
|
|
@@ -274,7 +274,7 @@ function ProductReleasesView({
|
|
|
274
274
|
initialData,
|
|
275
275
|
itemsPerPage = 5,
|
|
276
276
|
basePath = "/releases",
|
|
277
|
-
buildCardProps =
|
|
277
|
+
buildCardProps = _chunkCZVFME5Ycjs.buildProductReleaseCardProps,
|
|
278
278
|
searchParamKey = DEFAULT_SEARCH_PARAM_KEY,
|
|
279
279
|
statusParamKey = DEFAULT_STATUS_PARAM_KEY,
|
|
280
280
|
pageParamKey = DEFAULT_PAGE_PARAM_KEY,
|
|
@@ -290,7 +290,7 @@ function ProductReleasesView({
|
|
|
290
290
|
const listParams = new URLSearchParams({ limit: String(itemsPerPage), offset: String(offset) });
|
|
291
291
|
if (search) listParams.set(searchParamKey, search);
|
|
292
292
|
if (status && status !== "all") listParams.set(statusParamKey, status);
|
|
293
|
-
const { data, isLoading, error, reload } =
|
|
293
|
+
const { data, isLoading, error, reload } = _chunkLEAQNU26cjs.useSelfFetch.call(void 0,
|
|
294
294
|
`${endpoint}?${listParams.toString()}`,
|
|
295
295
|
{ initialData }
|
|
296
296
|
);
|
|
@@ -312,10 +312,10 @@ function ProductReleasesView({
|
|
|
312
312
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
313
313
|
};
|
|
314
314
|
if (error) {
|
|
315
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
315
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCZVFME5Ycjs.LoadError, { message: "Failed to load releases.", onRetry: reload }) });
|
|
316
316
|
}
|
|
317
317
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "w-full flex flex-col gap-[40px]", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[600px]", children: showEmpty ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[600px] flex items-center justify-center", children: hasActiveFilters ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
318
|
-
|
|
318
|
+
_chunkWG2QLZTDcjs.EmptyState,
|
|
319
319
|
{
|
|
320
320
|
type: "search",
|
|
321
321
|
title: "No releases found",
|
|
@@ -325,7 +325,7 @@ function ProductReleasesView({
|
|
|
325
325
|
onCtaClick: resetFilters
|
|
326
326
|
}
|
|
327
327
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
328
|
-
|
|
328
|
+
_chunkWG2QLZTDcjs.EmptyState,
|
|
329
329
|
{
|
|
330
330
|
type: "generic",
|
|
331
331
|
title: "No releases available",
|
|
@@ -340,7 +340,7 @@ function ProductReleasesView({
|
|
|
340
340
|
"div",
|
|
341
341
|
{
|
|
342
342
|
style: { visibility: isLoading || hasData ? "visible" : "hidden" },
|
|
343
|
-
children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
343
|
+
children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCZVFME5Ycjs.ProductReleaseCardSkeleton, { size: "lg" }) : release ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReleaseRow, { release, basePath, buildCardProps }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCZVFME5Ycjs.ProductReleaseCardSkeleton, { size: "lg" })
|
|
344
344
|
},
|
|
345
345
|
_nullishCoalesce(_optionalChain([release, 'optionalAccess', _5 => _5.id]), () => ( `slot-${i}`))
|
|
346
346
|
);
|
|
@@ -364,15 +364,14 @@ var _react = require('react');
|
|
|
364
364
|
function isGalleryImage(mediaType) {
|
|
365
365
|
return mediaType !== "video" && mediaType !== "demo";
|
|
366
366
|
}
|
|
367
|
-
function MediaGalleryStrip({ items,
|
|
367
|
+
function MediaGalleryStrip({ items, className }) {
|
|
368
368
|
const [galleryOpen, setGalleryOpen] = _react.useState.call(void 0, false);
|
|
369
369
|
const [galleryIndex, setGalleryIndex] = _react.useState.call(void 0, 0);
|
|
370
370
|
if (!items || items.length === 0) return null;
|
|
371
|
-
const
|
|
372
|
-
const galleryImages = display.filter((m) => isGalleryImage(m.media_type)).map((m) => m.media_url);
|
|
371
|
+
const galleryImages = items.filter((m) => isGalleryImage(m.media_type)).map((m) => m.media_url);
|
|
373
372
|
const tileClass = "shrink-0 w-[240px] h-[200px] rounded-md overflow-hidden border border-ods-border bg-black transition-opacity";
|
|
374
373
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
375
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `flex gap-6 overflow-x-auto w-full ${_nullishCoalesce(className, () => ( ""))}`, children:
|
|
374
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `flex gap-6 overflow-x-auto w-full ${_nullishCoalesce(className, () => ( ""))}`, children: items.map((mediaItem, index) => {
|
|
376
375
|
if (isGalleryImage(mediaItem.media_type)) {
|
|
377
376
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
378
377
|
"button",
|
|
@@ -381,7 +380,7 @@ function MediaGalleryStrip({ items, maxDisplay, className }) {
|
|
|
381
380
|
className: `${tileClass} cursor-pointer hover:opacity-80`,
|
|
382
381
|
"aria-label": `Open ${mediaItem.title || `media ${index + 1}`} in gallery`,
|
|
383
382
|
onClick: () => {
|
|
384
|
-
setGalleryIndex(
|
|
383
|
+
setGalleryIndex(items.slice(0, index).filter((m) => isGalleryImage(m.media_type)).length);
|
|
385
384
|
setGalleryOpen(true);
|
|
386
385
|
},
|
|
387
386
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "img", { src: mediaItem.media_url, alt: mediaItem.title || `Media ${index + 1}`, className: "w-full h-full object-cover" })
|
|
@@ -389,10 +388,10 @@ function MediaGalleryStrip({ items, maxDisplay, className }) {
|
|
|
389
388
|
mediaItem.id || index
|
|
390
389
|
);
|
|
391
390
|
}
|
|
392
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: tileClass, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
391
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: tileClass, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCZVFME5Ycjs.Video, { url: mediaItem.media_url, layout: "native" }) }, mediaItem.id || index);
|
|
393
392
|
}) }),
|
|
394
393
|
galleryImages.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
395
|
-
|
|
394
|
+
_chunkCZVFME5Ycjs.ImageGalleryModal,
|
|
396
395
|
{
|
|
397
396
|
images: galleryImages,
|
|
398
397
|
isOpen: galleryOpen,
|
|
@@ -409,7 +408,7 @@ _chunkG7UE6RKVcjs.init_next_navigation.call(void 0, );
|
|
|
409
408
|
|
|
410
409
|
var _lucidereact = require('lucide-react');
|
|
411
410
|
|
|
412
|
-
var DefaultMarkdownRenderer =
|
|
411
|
+
var DefaultMarkdownRenderer = _chunkCZVFME5Ycjs.RichMarkdownRenderer;
|
|
413
412
|
function ReleaseDetailPage({
|
|
414
413
|
authorHref,
|
|
415
414
|
slug,
|
|
@@ -427,7 +426,7 @@ function ReleaseDetailPage({
|
|
|
427
426
|
shell = true
|
|
428
427
|
}) {
|
|
429
428
|
const router = _chunkG7UE6RKVcjs.useRouter.call(void 0, );
|
|
430
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
429
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCZVFME5Ycjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
431
430
|
const { data: fetchedRelease, error, isLoading } = useRelease(initialData ? void 0 : slug);
|
|
432
431
|
const release = initialData || fetchedRelease;
|
|
433
432
|
const showBackButton = backButton !== false;
|
|
@@ -445,7 +444,7 @@ function ReleaseDetailPage({
|
|
|
445
444
|
if (roadmapTasksData && roadmapTasksData.length > 0 && RoadmapSection) {
|
|
446
445
|
setRoadmapLoading(true);
|
|
447
446
|
const roadmapIds = roadmapTasksData.map((t) => t.clickup_task_id).join(",");
|
|
448
|
-
const roadmapResponse = await
|
|
447
|
+
const roadmapResponse = await _chunk6PHV4NREcjs.contentFetch.call(void 0, `${roadmapApiEndpoint}?task_ids=${roadmapIds}`);
|
|
449
448
|
const roadmapData = await roadmapResponse.json();
|
|
450
449
|
setRoadmapTasks(roadmapData.items || []);
|
|
451
450
|
setRoadmapLoading(false);
|
|
@@ -454,7 +453,7 @@ function ReleaseDetailPage({
|
|
|
454
453
|
if (deliveryTasksData && deliveryTasksData.length > 0 && DeliverySection) {
|
|
455
454
|
setDeliveryLoading(true);
|
|
456
455
|
const deliveryIds = deliveryTasksData.map((t) => t.clickup_task_id).join(",");
|
|
457
|
-
const deliveryResponse = await
|
|
456
|
+
const deliveryResponse = await _chunk6PHV4NREcjs.contentFetch.call(void 0, `${deliveryApiEndpoint}?task_ids=${deliveryIds}`);
|
|
458
457
|
const deliveryResponseData = await deliveryResponse.json();
|
|
459
458
|
setDeliveryData(deliveryResponseData);
|
|
460
459
|
setDeliveryLoading(false);
|
|
@@ -471,7 +470,7 @@ function ReleaseDetailPage({
|
|
|
471
470
|
return renderShell(
|
|
472
471
|
// Match the loaded page's top offset (TitleBlock's
|
|
473
472
|
// `pt-[var(--spacing-system-l)]`) so content doesn't jump on load.
|
|
474
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
473
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRHKWZHHRcjs.DetailPageSkeleton, { bare: true, metadataColumns: 4, showImageGallery: true }) })
|
|
475
474
|
);
|
|
476
475
|
}
|
|
477
476
|
if (error || !release) {
|
|
@@ -507,7 +506,7 @@ function ReleaseDetailPage({
|
|
|
507
506
|
const improvements = release.improvements;
|
|
508
507
|
return renderShell(
|
|
509
508
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
510
|
-
|
|
509
|
+
_chunkCZVFME5Ycjs.PageLayout,
|
|
511
510
|
{
|
|
512
511
|
title: releaseTitle,
|
|
513
512
|
subtitle: `Version: ${releaseVersion}`,
|
|
@@ -516,7 +515,7 @@ function ReleaseDetailPage({
|
|
|
516
515
|
backButton: showBackButton ? { label: backLabel, onClick: () => router.push(backHref) } : void 0,
|
|
517
516
|
children: [
|
|
518
517
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-6 md:space-y-8", children: [
|
|
519
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
518
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCZVFME5Ycjs.EntityTagBadges, { tags: release.product_release_tags }),
|
|
520
519
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 md:grid-cols-4 border border-ods-border rounded-md overflow-hidden w-full", children: [
|
|
521
520
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-ods-card border-b md:border-b-0 md:border-r border-ods-border p-4 flex flex-col gap-3", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-0", children: [
|
|
522
521
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-primary", children: releaseType.toLocaleUpperCase() }),
|
|
@@ -527,18 +526,18 @@ function ReleaseDetailPage({
|
|
|
527
526
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['DM_Sans'] font-medium text-[14px] leading-[20px] text-ods-text-secondary", children: "Release Status" })
|
|
528
527
|
] }) }),
|
|
529
528
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-ods-card border-b md:border-b-0 md:border-r border-ods-border p-4 flex flex-col gap-3", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-0", children: [
|
|
530
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-primary", children:
|
|
529
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-primary", children: _chunkCZVFME5Ycjs.formatReleaseDate.call(void 0, releaseDate) }),
|
|
531
530
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['DM_Sans'] font-medium text-[14px] leading-[20px] text-ods-text-secondary", children: "Release Date" })
|
|
532
531
|
] }) }),
|
|
533
532
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
534
|
-
|
|
533
|
+
_chunkCZVFME5Ycjs.EntityMetadataAuthorCell,
|
|
535
534
|
{
|
|
536
535
|
author: _nullishCoalesce(author, () => ( { full_name: null, avatar_url: null })),
|
|
537
536
|
authorHref: _optionalChain([author, 'optionalAccess', _6 => _6.full_name]) ? authorHref : void 0
|
|
538
537
|
}
|
|
539
538
|
)
|
|
540
539
|
] }),
|
|
541
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, MediaGalleryStrip, { items: _nullishCoalesce(releaseMedia, () => ( []))
|
|
540
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, MediaGalleryStrip, { items: _nullishCoalesce(releaseMedia, () => ( [])) }),
|
|
542
541
|
releaseSummary && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h4 text-ods-text-primary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { children: releaseSummary }) }),
|
|
543
542
|
VideoDisplaySection ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
544
543
|
VideoDisplaySection,
|
|
@@ -556,7 +555,7 @@ function ReleaseDetailPage({
|
|
|
556
555
|
}
|
|
557
556
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
558
557
|
youtubeUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
559
|
-
|
|
558
|
+
_chunkCZVFME5Ycjs.Video,
|
|
560
559
|
{
|
|
561
560
|
kind: "youtube",
|
|
562
561
|
url: youtubeUrl,
|
|
@@ -565,7 +564,7 @@ function ReleaseDetailPage({
|
|
|
565
564
|
}
|
|
566
565
|
),
|
|
567
566
|
!youtubeUrl && mainVideoUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
568
|
-
|
|
567
|
+
_chunkCZVFME5Ycjs.Video,
|
|
569
568
|
{
|
|
570
569
|
url: mainVideoUrl,
|
|
571
570
|
srtContent: _optionalChain([release, 'optionalAccess', _9 => _9.srt_content]),
|
|
@@ -574,7 +573,7 @@ function ReleaseDetailPage({
|
|
|
574
573
|
}
|
|
575
574
|
),
|
|
576
575
|
highlightVideoUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
577
|
-
|
|
576
|
+
_chunkCZVFME5Ycjs.Video,
|
|
578
577
|
{
|
|
579
578
|
url: highlightVideoUrl,
|
|
580
579
|
poster: highlightVideoThumbnail,
|
|
@@ -583,7 +582,7 @@ function ReleaseDetailPage({
|
|
|
583
582
|
)
|
|
584
583
|
] }),
|
|
585
584
|
releaseContent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h4 text-ods-text-primary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: releaseContent }) }),
|
|
586
|
-
hasBreakingChanges && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
585
|
+
hasBreakingChanges && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCZVFME5Ycjs.Card, { className: "border-red-500 bg-red-500/10", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCZVFME5Ycjs.CardContent, { className: "p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
587
586
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-6 w-6 text-red-500" }),
|
|
588
587
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
589
588
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-bold text-red-500 text-lg", children: "Breaking Changes" }),
|
|
@@ -591,7 +590,7 @@ function ReleaseDetailPage({
|
|
|
591
590
|
] })
|
|
592
591
|
] }) }) }),
|
|
593
592
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
594
|
-
|
|
593
|
+
_chunkCZVFME5Ycjs.ReleaseChangelogSection,
|
|
595
594
|
{
|
|
596
595
|
title: "Breaking Changes",
|
|
597
596
|
entries: breakingChanges || [],
|
|
@@ -602,7 +601,7 @@ function ReleaseDetailPage({
|
|
|
602
601
|
}
|
|
603
602
|
),
|
|
604
603
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
605
|
-
|
|
604
|
+
_chunkCZVFME5Ycjs.ReleaseChangelogSection,
|
|
606
605
|
{
|
|
607
606
|
title: "Features Added",
|
|
608
607
|
entries: featuresAdded || [],
|
|
@@ -612,7 +611,7 @@ function ReleaseDetailPage({
|
|
|
612
611
|
}
|
|
613
612
|
),
|
|
614
613
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
615
|
-
|
|
614
|
+
_chunkCZVFME5Ycjs.ReleaseChangelogSection,
|
|
616
615
|
{
|
|
617
616
|
title: "Bugs Fixed",
|
|
618
617
|
entries: bugFixed || [],
|
|
@@ -622,7 +621,7 @@ function ReleaseDetailPage({
|
|
|
622
621
|
}
|
|
623
622
|
),
|
|
624
623
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
625
|
-
|
|
624
|
+
_chunkCZVFME5Ycjs.ReleaseChangelogSection,
|
|
626
625
|
{
|
|
627
626
|
title: "Improvements",
|
|
628
627
|
entries: improvements || [],
|
|
@@ -661,7 +660,7 @@ function ReleaseDetailPage({
|
|
|
661
660
|
(() => {
|
|
662
661
|
const deliveryCount = deliveryData ? deliveryData.completed.length + deliveryData.inProgress.length : 0;
|
|
663
662
|
return deliveryLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliverySection, { data: deliveryData, isLoading: deliveryLoading }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
664
|
-
|
|
663
|
+
_chunkCZVFME5Ycjs.FadePreview,
|
|
665
664
|
{
|
|
666
665
|
hiddenCount: deliveryCount - 1,
|
|
667
666
|
collapsedHeight: 300,
|
|
@@ -673,7 +672,7 @@ function ReleaseDetailPage({
|
|
|
673
672
|
] }),
|
|
674
673
|
(_optionalChain([githubReleases, 'optionalAccess', _11 => _11.length]) || _optionalChain([knowledgeBaseLinks, 'optionalAccess', _12 => _12.length]) || migrationGuideUrl || documentationUrl) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1 w-full", children: [
|
|
675
674
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h5 tracking-[-0.28px] text-ods-text-secondary", children: "Related Links" }),
|
|
676
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
675
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCZVFME5Ycjs.Card, { className: "bg-ods-card border-ods-border p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
677
676
|
githubReleases && githubReleases.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: githubReleases.map((ghRelease) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-1", children: [
|
|
678
677
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLWNPMLIHcjs.GitHubIcon, { className: "shrink-0", width: 24, height: 24, color: "var(--color-text-secondary)" }),
|
|
679
678
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h4 text-ods-text-primary", children: "Github Release" }),
|
|
@@ -747,7 +746,7 @@ function ReleaseDetailPage({
|
|
|
747
746
|
// src/components/shared/product-release/release-detail-skeleton.tsx
|
|
748
747
|
|
|
749
748
|
function ReleaseDetailSkeleton() {
|
|
750
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
749
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRHKWZHHRcjs.DetailPageSkeleton, { metadataColumns: 4, showImageGallery: true });
|
|
751
750
|
}
|
|
752
751
|
|
|
753
752
|
// src/components/shared/roadmap/use-roadmap-voting.ts
|
|
@@ -798,7 +797,7 @@ function useRoadmapVoting(options = {}) {
|
|
|
798
797
|
action = "remove";
|
|
799
798
|
} else {
|
|
800
799
|
if (currentVote) {
|
|
801
|
-
await
|
|
800
|
+
await _chunk6PHV4NREcjs.contentFetch.call(void 0, voteApiEndpoint, {
|
|
802
801
|
method: "POST",
|
|
803
802
|
headers: { "Content-Type": "application/json" },
|
|
804
803
|
body: JSON.stringify({
|
|
@@ -816,7 +815,7 @@ function useRoadmapVoting(options = {}) {
|
|
|
816
815
|
[taskId]: newVote
|
|
817
816
|
}));
|
|
818
817
|
try {
|
|
819
|
-
const response = await
|
|
818
|
+
const response = await _chunk6PHV4NREcjs.contentFetch.call(void 0, voteApiEndpoint, {
|
|
820
819
|
method: "POST",
|
|
821
820
|
headers: { "Content-Type": "application/json" },
|
|
822
821
|
body: JSON.stringify({ taskId, voteType, action })
|
|
@@ -908,10 +907,10 @@ function RoadmapGridSingle({
|
|
|
908
907
|
// `useScrollToHash` in `roadmap-view.tsx` finds the card by id
|
|
909
908
|
// and scrolls.
|
|
910
909
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
911
|
-
|
|
910
|
+
_chunkCZVFME5Ycjs.RoadmapCard,
|
|
912
911
|
{
|
|
913
912
|
item,
|
|
914
|
-
id:
|
|
913
|
+
id: _chunkCZVFME5Ycjs.devSectionAnchorId.call(void 0, "roadmap", item.id),
|
|
915
914
|
userVote: getVote(item.id),
|
|
916
915
|
onVote: (voteType) => onVote(item.id, voteType),
|
|
917
916
|
isVoting: votingTasks.has(item.id)
|
|
@@ -938,7 +937,7 @@ function RoadmapGrid({
|
|
|
938
937
|
try {
|
|
939
938
|
const result = await toggleVote(taskId, voteType);
|
|
940
939
|
if (result.success) {
|
|
941
|
-
const response = await
|
|
940
|
+
const response = await _chunk6PHV4NREcjs.contentFetch.call(void 0, buildRefreshUrl(taskId));
|
|
942
941
|
if (response.ok) {
|
|
943
942
|
const data = await response.json();
|
|
944
943
|
if (data.item && onItemUpdate) onItemUpdate(data.item);
|
|
@@ -991,7 +990,7 @@ function RoadmapGrid({
|
|
|
991
990
|
}, [hasActiveFilters, sortedQuartersKey, isInitialized, quartersToKeepClosed]);
|
|
992
991
|
if (items.length === 0) {
|
|
993
992
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
994
|
-
|
|
993
|
+
_chunkWG2QLZTDcjs.EmptyState,
|
|
995
994
|
{
|
|
996
995
|
type: "generic",
|
|
997
996
|
title: "No roadmap items",
|
|
@@ -1012,7 +1011,7 @@ function RoadmapGrid({
|
|
|
1012
1011
|
);
|
|
1013
1012
|
}
|
|
1014
1013
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1015
|
-
|
|
1014
|
+
_chunkCZVFME5Ycjs.Accordion,
|
|
1016
1015
|
{
|
|
1017
1016
|
type: "multiple",
|
|
1018
1017
|
value: expandedQuarters,
|
|
@@ -1022,13 +1021,13 @@ function RoadmapGrid({
|
|
|
1022
1021
|
const itemCount = _optionalChain([itemsByQuarter, 'access', _21 => _21[quarter], 'optionalAccess', _22 => _22.length]) || 0;
|
|
1023
1022
|
const isExpanded = expandedQuarters.includes(quarter);
|
|
1024
1023
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1025
|
-
|
|
1024
|
+
_chunkCZVFME5Ycjs.AccordionItem,
|
|
1026
1025
|
{
|
|
1027
1026
|
value: quarter,
|
|
1028
1027
|
id: `quarter-${quarter.replace(/\s+/g, "-").toLowerCase()}`,
|
|
1029
1028
|
className: "border-0",
|
|
1030
1029
|
children: [
|
|
1031
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1030
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCZVFME5Ycjs.AccordionTrigger, { className: "w-full p-0 hover:no-underline [&>svg]:h-5 [&>svg]:w-5 [&>svg]:text-ods-text-secondary [&>svg]:ml-auto [&>svg]:shrink-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
1032
1031
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1033
1032
|
"h3",
|
|
1034
1033
|
{
|
|
@@ -1058,7 +1057,7 @@ function RoadmapGrid({
|
|
|
1058
1057
|
}
|
|
1059
1058
|
)
|
|
1060
1059
|
] }) }),
|
|
1061
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1060
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCZVFME5Ycjs.AccordionContent, { className: "pt-4 pb-0 overflow-hidden data-[state=closed]:animate-none data-[state=open]:animate-none", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1062
1061
|
RoadmapGridSingle,
|
|
1063
1062
|
{
|
|
1064
1063
|
items: itemsByQuarter[quarter],
|
|
@@ -1109,8 +1108,8 @@ function RoadmapGridSkeleton({ count = 4, showLeftMargin = true }) {
|
|
|
1109
1108
|
|
|
1110
1109
|
|
|
1111
1110
|
var DEFAULT_ENDPOINT2 = "/api/roadmap";
|
|
1112
|
-
var DEFAULT_SEARCH_PARAM_KEY2 =
|
|
1113
|
-
var DEFAULT_STATUS_PARAM_KEY2 =
|
|
1111
|
+
var DEFAULT_SEARCH_PARAM_KEY2 = _chunkCZVFME5Ycjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1112
|
+
var DEFAULT_STATUS_PARAM_KEY2 = _chunkCZVFME5Ycjs.DEV_SECTION_PARAM_KEYS.status;
|
|
1114
1113
|
function RoadmapView({
|
|
1115
1114
|
endpoint = DEFAULT_ENDPOINT2,
|
|
1116
1115
|
initialItems,
|
|
@@ -1129,14 +1128,14 @@ function RoadmapView({
|
|
|
1129
1128
|
const qs = listParams.toString();
|
|
1130
1129
|
const url = qs ? `${endpoint}?${qs}` : endpoint;
|
|
1131
1130
|
const initialData = _react.useMemo.call(void 0, () => initialItems ? { items: initialItems } : void 0, [initialItems]);
|
|
1132
|
-
const { data, setData, isLoading, error, reload } =
|
|
1131
|
+
const { data, setData, isLoading, error, reload } = _chunkLEAQNU26cjs.useSelfFetch.call(void 0,
|
|
1133
1132
|
url,
|
|
1134
1133
|
{ initialData }
|
|
1135
1134
|
);
|
|
1136
1135
|
const items = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _23 => _23.items]), () => ( []));
|
|
1137
|
-
|
|
1136
|
+
_chunk6PHV4NREcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunk6PHV4NREcjs.STICKY_HEADER_OFFSET_PX });
|
|
1138
1137
|
if (error) {
|
|
1139
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1138
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCZVFME5Ycjs.LoadError, { message: "Failed to load roadmap.", onRetry: reload });
|
|
1140
1139
|
}
|
|
1141
1140
|
if (isLoading && !data) {
|
|
1142
1141
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapGridSkeleton, { showLeftMargin });
|
|
@@ -1193,7 +1192,7 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1193
1192
|
"div",
|
|
1194
1193
|
{
|
|
1195
1194
|
className: "border-b border-ods-border last:border-b-0",
|
|
1196
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1195
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWG2QLZTDcjs.DeliveryRow, { item, id: _chunkCZVFME5Ycjs.devSectionAnchorId.call(void 0, "delivery", item.id) })
|
|
1197
1196
|
},
|
|
1198
1197
|
item.id
|
|
1199
1198
|
)
|
|
@@ -1205,8 +1204,8 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1205
1204
|
|
|
1206
1205
|
var DEFAULT_COMPLETED_ENDPOINT = "/api/delivery/completed";
|
|
1207
1206
|
var DEFAULT_IN_PROGRESS_ENDPOINT = "/api/delivery/in-progress";
|
|
1208
|
-
var DEFAULT_SEARCH_PARAM_KEY3 =
|
|
1209
|
-
var DEFAULT_TASK_TYPE_PARAM_KEY =
|
|
1207
|
+
var DEFAULT_SEARCH_PARAM_KEY3 = _chunkCZVFME5Ycjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1208
|
+
var DEFAULT_TASK_TYPE_PARAM_KEY = _chunkCZVFME5Ycjs.DEV_SECTION_PARAM_KEYS.deliveryTaskType;
|
|
1210
1209
|
function DeliveryLists({
|
|
1211
1210
|
completedApiEndpoint = DEFAULT_COMPLETED_ENDPOINT,
|
|
1212
1211
|
inProgressApiEndpoint = DEFAULT_IN_PROGRESS_ENDPOINT,
|
|
@@ -1236,8 +1235,8 @@ function DeliveryLists({
|
|
|
1236
1235
|
const queryString = params.toString();
|
|
1237
1236
|
const queryParam = queryString ? `?${queryString}` : "";
|
|
1238
1237
|
const [completedResponse, inProgressResponse] = await Promise.all([
|
|
1239
|
-
|
|
1240
|
-
|
|
1238
|
+
_chunk6PHV4NREcjs.contentFetch.call(void 0, `${completedApiEndpoint}${queryParam}`),
|
|
1239
|
+
_chunk6PHV4NREcjs.contentFetch.call(void 0, `${inProgressApiEndpoint}${queryParam}`)
|
|
1241
1240
|
]);
|
|
1242
1241
|
if (!completedResponse.ok || !inProgressResponse.ok) {
|
|
1243
1242
|
throw new Error("Failed to fetch delivery items");
|
|
@@ -1261,17 +1260,17 @@ function DeliveryLists({
|
|
|
1261
1260
|
}, [searchQuery, taskTypeFilter, completedApiEndpoint, inProgressApiEndpoint, searchParamKey, taskTypeParamKey]);
|
|
1262
1261
|
const filteredCompleted = _optionalChain([data, 'optionalAccess', _24 => _24.completed]) || [];
|
|
1263
1262
|
const filteredInProgress = _optionalChain([data, 'optionalAccess', _25 => _25.inProgress]) || [];
|
|
1264
|
-
|
|
1263
|
+
_chunk6PHV4NREcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunk6PHV4NREcjs.STICKY_HEADER_OFFSET_PX });
|
|
1265
1264
|
const showCompleted = true;
|
|
1266
1265
|
const showInProgress = true;
|
|
1267
1266
|
const hasActiveFilters = searchQuery !== "" || taskTypeFilter !== "all";
|
|
1268
1267
|
const hasResults = showCompleted && filteredCompleted.length > 0 || showInProgress && filteredInProgress.length > 0;
|
|
1269
1268
|
if (error) {
|
|
1270
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1269
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCZVFME5Ycjs.LoadError, { message: error, onRetry: () => window.location.reload() }) });
|
|
1271
1270
|
}
|
|
1272
1271
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full flex flex-col gap-[40px]", children: [
|
|
1273
1272
|
!isLoading && !hasResults && (hasActiveFilters ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1274
|
-
|
|
1273
|
+
_chunkWG2QLZTDcjs.EmptyState,
|
|
1275
1274
|
{
|
|
1276
1275
|
type: "search",
|
|
1277
1276
|
title: "No tasks found",
|
|
@@ -1286,7 +1285,7 @@ function DeliveryLists({
|
|
|
1286
1285
|
}
|
|
1287
1286
|
}
|
|
1288
1287
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1289
|
-
|
|
1288
|
+
_chunkWG2QLZTDcjs.EmptyState,
|
|
1290
1289
|
{
|
|
1291
1290
|
type: "generic",
|
|
1292
1291
|
title: "No tasks available",
|
|
@@ -1335,7 +1334,7 @@ function useLegalDocs(docType, options = {}) {
|
|
|
1335
1334
|
try {
|
|
1336
1335
|
setIsLoading(true);
|
|
1337
1336
|
setError(null);
|
|
1338
|
-
const response = await
|
|
1337
|
+
const response = await _chunk6PHV4NREcjs.contentFetch.call(void 0, effectiveEndpoint);
|
|
1339
1338
|
if (!response.ok) {
|
|
1340
1339
|
throw new Error(
|
|
1341
1340
|
`Failed to fetch ${docType} document: ${response.status} ${response.statusText}`
|
|
@@ -1388,7 +1387,7 @@ function LegalDocumentPage({
|
|
|
1388
1387
|
initialData = null,
|
|
1389
1388
|
initialLastUpdatedLabel = null,
|
|
1390
1389
|
apiEndpoint,
|
|
1391
|
-
MarkdownRenderer =
|
|
1390
|
+
MarkdownRenderer = _chunkCZVFME5Ycjs.RichMarkdownRenderer,
|
|
1392
1391
|
backButton,
|
|
1393
1392
|
shell = true
|
|
1394
1393
|
}) {
|
|
@@ -1398,10 +1397,10 @@ function LegalDocumentPage({
|
|
|
1398
1397
|
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _26 => _26.label]), () => ( "Back to home")),
|
|
1399
1398
|
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _27 => _27.href]), () => ( "/")))
|
|
1400
1399
|
};
|
|
1401
|
-
const fallbackLastUpdatedLabel = _optionalChain([data, 'optionalAccess', _28 => _28.lastSynced]) != null ?
|
|
1400
|
+
const fallbackLastUpdatedLabel = _optionalChain([data, 'optionalAccess', _28 => _28.lastSynced]) != null ? _chunkCZVFME5Ycjs.formatLegalDate.call(void 0, data.lastSynced) : null;
|
|
1402
1401
|
const effectiveLastUpdatedLabel = _nullishCoalesce(initialLastUpdatedLabel, () => ( fallbackLastUpdatedLabel));
|
|
1403
1402
|
const subtitle = effectiveLastUpdatedLabel ? `Last Updated: ${effectiveLastUpdatedLabel}` : fallbackDescription;
|
|
1404
|
-
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1403
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCZVFME5Ycjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: [
|
|
1405
1404
|
_optionalChain([data, 'optionalAccess', _29 => _29.sourceFile]) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "font-['DM_Sans'] text-sm text-ods-text-secondary opacity-75", children: [
|
|
1406
1405
|
"Source: ",
|
|
1407
1406
|
data.sourceFile
|
|
@@ -1448,7 +1447,7 @@ function LegalDocumentPage({
|
|
|
1448
1447
|
] })
|
|
1449
1448
|
] }) }) }) }) })
|
|
1450
1449
|
] });
|
|
1451
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1450
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCZVFME5Ycjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
1452
1451
|
}
|
|
1453
1452
|
|
|
1454
1453
|
|
|
@@ -1468,4 +1467,4 @@ function LegalDocumentPage({
|
|
|
1468
1467
|
|
|
1469
1468
|
|
|
1470
1469
|
exports.PersistentPagination = PersistentPagination; exports.usePaginationLoading = usePaginationLoading; exports.PersistentPaginationWrapper = PersistentPaginationWrapper; exports.ProductReleasesView = ProductReleasesView; exports.MediaGalleryStrip = MediaGalleryStrip; exports.ReleaseDetailPage = ReleaseDetailPage; exports.ReleaseDetailSkeleton = ReleaseDetailSkeleton; exports.useRoadmapVoting = useRoadmapVoting; exports.RoadmapGrid = RoadmapGrid; exports.RoadmapGridSkeleton = RoadmapGridSkeleton; exports.RoadmapView = RoadmapView; exports.DeliveryTable = DeliveryTable; exports.DeliveryLists = DeliveryLists; exports.useLegalDocs = useLegalDocs; exports.LegalDocumentPage = LegalDocumentPage;
|
|
1471
|
-
//# sourceMappingURL=chunk-
|
|
1470
|
+
//# sourceMappingURL=chunk-RR5VZIWO.cjs.map
|