@flamingo-stack/openframe-frontend-core 0.0.367 → 0.0.368
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-HY6SX7SY.cjs → chunk-NQ6FSKSD.cjs} +29 -29
- package/dist/{chunk-HY6SX7SY.cjs.map → chunk-NQ6FSKSD.cjs.map} +1 -1
- package/dist/{chunk-3VGGQJIG.js → chunk-P2HOULCM.js} +6 -6
- 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-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/{chunk-ZDXDRYAC.cjs → chunk-YZRMI3KT.cjs} +71 -71
- package/dist/{chunk-ZDXDRYAC.cjs.map → chunk-YZRMI3KT.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/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/dist/chunk-UZTGDV6N.js.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-3VGGQJIG.js.map → chunk-P2HOULCM.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
|
);
|
|
@@ -389,10 +389,10 @@ function MediaGalleryStrip({ items, maxDisplay, className }) {
|
|
|
389
389
|
mediaItem.id || index
|
|
390
390
|
);
|
|
391
391
|
}
|
|
392
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: tileClass, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
392
|
+
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
393
|
}) }),
|
|
394
394
|
galleryImages.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
395
|
-
|
|
395
|
+
_chunkCZVFME5Ycjs.ImageGalleryModal,
|
|
396
396
|
{
|
|
397
397
|
images: galleryImages,
|
|
398
398
|
isOpen: galleryOpen,
|
|
@@ -409,7 +409,7 @@ _chunkG7UE6RKVcjs.init_next_navigation.call(void 0, );
|
|
|
409
409
|
|
|
410
410
|
var _lucidereact = require('lucide-react');
|
|
411
411
|
|
|
412
|
-
var DefaultMarkdownRenderer =
|
|
412
|
+
var DefaultMarkdownRenderer = _chunkCZVFME5Ycjs.RichMarkdownRenderer;
|
|
413
413
|
function ReleaseDetailPage({
|
|
414
414
|
authorHref,
|
|
415
415
|
slug,
|
|
@@ -427,7 +427,7 @@ function ReleaseDetailPage({
|
|
|
427
427
|
shell = true
|
|
428
428
|
}) {
|
|
429
429
|
const router = _chunkG7UE6RKVcjs.useRouter.call(void 0, );
|
|
430
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
430
|
+
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
431
|
const { data: fetchedRelease, error, isLoading } = useRelease(initialData ? void 0 : slug);
|
|
432
432
|
const release = initialData || fetchedRelease;
|
|
433
433
|
const showBackButton = backButton !== false;
|
|
@@ -445,7 +445,7 @@ function ReleaseDetailPage({
|
|
|
445
445
|
if (roadmapTasksData && roadmapTasksData.length > 0 && RoadmapSection) {
|
|
446
446
|
setRoadmapLoading(true);
|
|
447
447
|
const roadmapIds = roadmapTasksData.map((t) => t.clickup_task_id).join(",");
|
|
448
|
-
const roadmapResponse = await
|
|
448
|
+
const roadmapResponse = await _chunk6PHV4NREcjs.contentFetch.call(void 0, `${roadmapApiEndpoint}?task_ids=${roadmapIds}`);
|
|
449
449
|
const roadmapData = await roadmapResponse.json();
|
|
450
450
|
setRoadmapTasks(roadmapData.items || []);
|
|
451
451
|
setRoadmapLoading(false);
|
|
@@ -454,7 +454,7 @@ function ReleaseDetailPage({
|
|
|
454
454
|
if (deliveryTasksData && deliveryTasksData.length > 0 && DeliverySection) {
|
|
455
455
|
setDeliveryLoading(true);
|
|
456
456
|
const deliveryIds = deliveryTasksData.map((t) => t.clickup_task_id).join(",");
|
|
457
|
-
const deliveryResponse = await
|
|
457
|
+
const deliveryResponse = await _chunk6PHV4NREcjs.contentFetch.call(void 0, `${deliveryApiEndpoint}?task_ids=${deliveryIds}`);
|
|
458
458
|
const deliveryResponseData = await deliveryResponse.json();
|
|
459
459
|
setDeliveryData(deliveryResponseData);
|
|
460
460
|
setDeliveryLoading(false);
|
|
@@ -471,7 +471,7 @@ function ReleaseDetailPage({
|
|
|
471
471
|
return renderShell(
|
|
472
472
|
// Match the loaded page's top offset (TitleBlock's
|
|
473
473
|
// `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,
|
|
474
|
+
/* @__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
475
|
);
|
|
476
476
|
}
|
|
477
477
|
if (error || !release) {
|
|
@@ -507,7 +507,7 @@ function ReleaseDetailPage({
|
|
|
507
507
|
const improvements = release.improvements;
|
|
508
508
|
return renderShell(
|
|
509
509
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
510
|
-
|
|
510
|
+
_chunkCZVFME5Ycjs.PageLayout,
|
|
511
511
|
{
|
|
512
512
|
title: releaseTitle,
|
|
513
513
|
subtitle: `Version: ${releaseVersion}`,
|
|
@@ -516,7 +516,7 @@ function ReleaseDetailPage({
|
|
|
516
516
|
backButton: showBackButton ? { label: backLabel, onClick: () => router.push(backHref) } : void 0,
|
|
517
517
|
children: [
|
|
518
518
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-6 md:space-y-8", children: [
|
|
519
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
519
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCZVFME5Ycjs.EntityTagBadges, { tags: release.product_release_tags }),
|
|
520
520
|
/* @__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
521
|
/* @__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
522
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-primary", children: releaseType.toLocaleUpperCase() }),
|
|
@@ -527,11 +527,11 @@ function ReleaseDetailPage({
|
|
|
527
527
|
/* @__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
528
|
] }) }),
|
|
529
529
|
/* @__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:
|
|
530
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-primary", children: _chunkCZVFME5Ycjs.formatReleaseDate.call(void 0, releaseDate) }),
|
|
531
531
|
/* @__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
532
|
] }) }),
|
|
533
533
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
534
|
-
|
|
534
|
+
_chunkCZVFME5Ycjs.EntityMetadataAuthorCell,
|
|
535
535
|
{
|
|
536
536
|
author: _nullishCoalesce(author, () => ( { full_name: null, avatar_url: null })),
|
|
537
537
|
authorHref: _optionalChain([author, 'optionalAccess', _6 => _6.full_name]) ? authorHref : void 0
|
|
@@ -556,7 +556,7 @@ function ReleaseDetailPage({
|
|
|
556
556
|
}
|
|
557
557
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
558
558
|
youtubeUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
559
|
-
|
|
559
|
+
_chunkCZVFME5Ycjs.Video,
|
|
560
560
|
{
|
|
561
561
|
kind: "youtube",
|
|
562
562
|
url: youtubeUrl,
|
|
@@ -565,7 +565,7 @@ function ReleaseDetailPage({
|
|
|
565
565
|
}
|
|
566
566
|
),
|
|
567
567
|
!youtubeUrl && mainVideoUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
568
|
-
|
|
568
|
+
_chunkCZVFME5Ycjs.Video,
|
|
569
569
|
{
|
|
570
570
|
url: mainVideoUrl,
|
|
571
571
|
srtContent: _optionalChain([release, 'optionalAccess', _9 => _9.srt_content]),
|
|
@@ -574,7 +574,7 @@ function ReleaseDetailPage({
|
|
|
574
574
|
}
|
|
575
575
|
),
|
|
576
576
|
highlightVideoUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
577
|
-
|
|
577
|
+
_chunkCZVFME5Ycjs.Video,
|
|
578
578
|
{
|
|
579
579
|
url: highlightVideoUrl,
|
|
580
580
|
poster: highlightVideoThumbnail,
|
|
@@ -583,7 +583,7 @@ function ReleaseDetailPage({
|
|
|
583
583
|
)
|
|
584
584
|
] }),
|
|
585
585
|
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,
|
|
586
|
+
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
587
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-6 w-6 text-red-500" }),
|
|
588
588
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
589
589
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-bold text-red-500 text-lg", children: "Breaking Changes" }),
|
|
@@ -591,7 +591,7 @@ function ReleaseDetailPage({
|
|
|
591
591
|
] })
|
|
592
592
|
] }) }) }),
|
|
593
593
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
594
|
-
|
|
594
|
+
_chunkCZVFME5Ycjs.ReleaseChangelogSection,
|
|
595
595
|
{
|
|
596
596
|
title: "Breaking Changes",
|
|
597
597
|
entries: breakingChanges || [],
|
|
@@ -602,7 +602,7 @@ function ReleaseDetailPage({
|
|
|
602
602
|
}
|
|
603
603
|
),
|
|
604
604
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
605
|
-
|
|
605
|
+
_chunkCZVFME5Ycjs.ReleaseChangelogSection,
|
|
606
606
|
{
|
|
607
607
|
title: "Features Added",
|
|
608
608
|
entries: featuresAdded || [],
|
|
@@ -612,7 +612,7 @@ function ReleaseDetailPage({
|
|
|
612
612
|
}
|
|
613
613
|
),
|
|
614
614
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
615
|
-
|
|
615
|
+
_chunkCZVFME5Ycjs.ReleaseChangelogSection,
|
|
616
616
|
{
|
|
617
617
|
title: "Bugs Fixed",
|
|
618
618
|
entries: bugFixed || [],
|
|
@@ -622,7 +622,7 @@ function ReleaseDetailPage({
|
|
|
622
622
|
}
|
|
623
623
|
),
|
|
624
624
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
625
|
-
|
|
625
|
+
_chunkCZVFME5Ycjs.ReleaseChangelogSection,
|
|
626
626
|
{
|
|
627
627
|
title: "Improvements",
|
|
628
628
|
entries: improvements || [],
|
|
@@ -661,7 +661,7 @@ function ReleaseDetailPage({
|
|
|
661
661
|
(() => {
|
|
662
662
|
const deliveryCount = deliveryData ? deliveryData.completed.length + deliveryData.inProgress.length : 0;
|
|
663
663
|
return deliveryLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliverySection, { data: deliveryData, isLoading: deliveryLoading }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
664
|
-
|
|
664
|
+
_chunkCZVFME5Ycjs.FadePreview,
|
|
665
665
|
{
|
|
666
666
|
hiddenCount: deliveryCount - 1,
|
|
667
667
|
collapsedHeight: 300,
|
|
@@ -673,7 +673,7 @@ function ReleaseDetailPage({
|
|
|
673
673
|
] }),
|
|
674
674
|
(_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
675
|
/* @__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,
|
|
676
|
+
/* @__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
677
|
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
678
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLWNPMLIHcjs.GitHubIcon, { className: "shrink-0", width: 24, height: 24, color: "var(--color-text-secondary)" }),
|
|
679
679
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h4 text-ods-text-primary", children: "Github Release" }),
|
|
@@ -747,7 +747,7 @@ function ReleaseDetailPage({
|
|
|
747
747
|
// src/components/shared/product-release/release-detail-skeleton.tsx
|
|
748
748
|
|
|
749
749
|
function ReleaseDetailSkeleton() {
|
|
750
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
750
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRHKWZHHRcjs.DetailPageSkeleton, { metadataColumns: 4, showImageGallery: true });
|
|
751
751
|
}
|
|
752
752
|
|
|
753
753
|
// src/components/shared/roadmap/use-roadmap-voting.ts
|
|
@@ -798,7 +798,7 @@ function useRoadmapVoting(options = {}) {
|
|
|
798
798
|
action = "remove";
|
|
799
799
|
} else {
|
|
800
800
|
if (currentVote) {
|
|
801
|
-
await
|
|
801
|
+
await _chunk6PHV4NREcjs.contentFetch.call(void 0, voteApiEndpoint, {
|
|
802
802
|
method: "POST",
|
|
803
803
|
headers: { "Content-Type": "application/json" },
|
|
804
804
|
body: JSON.stringify({
|
|
@@ -816,7 +816,7 @@ function useRoadmapVoting(options = {}) {
|
|
|
816
816
|
[taskId]: newVote
|
|
817
817
|
}));
|
|
818
818
|
try {
|
|
819
|
-
const response = await
|
|
819
|
+
const response = await _chunk6PHV4NREcjs.contentFetch.call(void 0, voteApiEndpoint, {
|
|
820
820
|
method: "POST",
|
|
821
821
|
headers: { "Content-Type": "application/json" },
|
|
822
822
|
body: JSON.stringify({ taskId, voteType, action })
|
|
@@ -908,10 +908,10 @@ function RoadmapGridSingle({
|
|
|
908
908
|
// `useScrollToHash` in `roadmap-view.tsx` finds the card by id
|
|
909
909
|
// and scrolls.
|
|
910
910
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
911
|
-
|
|
911
|
+
_chunkCZVFME5Ycjs.RoadmapCard,
|
|
912
912
|
{
|
|
913
913
|
item,
|
|
914
|
-
id:
|
|
914
|
+
id: _chunkCZVFME5Ycjs.devSectionAnchorId.call(void 0, "roadmap", item.id),
|
|
915
915
|
userVote: getVote(item.id),
|
|
916
916
|
onVote: (voteType) => onVote(item.id, voteType),
|
|
917
917
|
isVoting: votingTasks.has(item.id)
|
|
@@ -938,7 +938,7 @@ function RoadmapGrid({
|
|
|
938
938
|
try {
|
|
939
939
|
const result = await toggleVote(taskId, voteType);
|
|
940
940
|
if (result.success) {
|
|
941
|
-
const response = await
|
|
941
|
+
const response = await _chunk6PHV4NREcjs.contentFetch.call(void 0, buildRefreshUrl(taskId));
|
|
942
942
|
if (response.ok) {
|
|
943
943
|
const data = await response.json();
|
|
944
944
|
if (data.item && onItemUpdate) onItemUpdate(data.item);
|
|
@@ -991,7 +991,7 @@ function RoadmapGrid({
|
|
|
991
991
|
}, [hasActiveFilters, sortedQuartersKey, isInitialized, quartersToKeepClosed]);
|
|
992
992
|
if (items.length === 0) {
|
|
993
993
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
994
|
-
|
|
994
|
+
_chunkWG2QLZTDcjs.EmptyState,
|
|
995
995
|
{
|
|
996
996
|
type: "generic",
|
|
997
997
|
title: "No roadmap items",
|
|
@@ -1012,7 +1012,7 @@ function RoadmapGrid({
|
|
|
1012
1012
|
);
|
|
1013
1013
|
}
|
|
1014
1014
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1015
|
-
|
|
1015
|
+
_chunkCZVFME5Ycjs.Accordion,
|
|
1016
1016
|
{
|
|
1017
1017
|
type: "multiple",
|
|
1018
1018
|
value: expandedQuarters,
|
|
@@ -1022,13 +1022,13 @@ function RoadmapGrid({
|
|
|
1022
1022
|
const itemCount = _optionalChain([itemsByQuarter, 'access', _21 => _21[quarter], 'optionalAccess', _22 => _22.length]) || 0;
|
|
1023
1023
|
const isExpanded = expandedQuarters.includes(quarter);
|
|
1024
1024
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1025
|
-
|
|
1025
|
+
_chunkCZVFME5Ycjs.AccordionItem,
|
|
1026
1026
|
{
|
|
1027
1027
|
value: quarter,
|
|
1028
1028
|
id: `quarter-${quarter.replace(/\s+/g, "-").toLowerCase()}`,
|
|
1029
1029
|
className: "border-0",
|
|
1030
1030
|
children: [
|
|
1031
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1031
|
+
/* @__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
1032
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1033
1033
|
"h3",
|
|
1034
1034
|
{
|
|
@@ -1058,7 +1058,7 @@ function RoadmapGrid({
|
|
|
1058
1058
|
}
|
|
1059
1059
|
)
|
|
1060
1060
|
] }) }),
|
|
1061
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1061
|
+
/* @__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
1062
|
RoadmapGridSingle,
|
|
1063
1063
|
{
|
|
1064
1064
|
items: itemsByQuarter[quarter],
|
|
@@ -1109,8 +1109,8 @@ function RoadmapGridSkeleton({ count = 4, showLeftMargin = true }) {
|
|
|
1109
1109
|
|
|
1110
1110
|
|
|
1111
1111
|
var DEFAULT_ENDPOINT2 = "/api/roadmap";
|
|
1112
|
-
var DEFAULT_SEARCH_PARAM_KEY2 =
|
|
1113
|
-
var DEFAULT_STATUS_PARAM_KEY2 =
|
|
1112
|
+
var DEFAULT_SEARCH_PARAM_KEY2 = _chunkCZVFME5Ycjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1113
|
+
var DEFAULT_STATUS_PARAM_KEY2 = _chunkCZVFME5Ycjs.DEV_SECTION_PARAM_KEYS.status;
|
|
1114
1114
|
function RoadmapView({
|
|
1115
1115
|
endpoint = DEFAULT_ENDPOINT2,
|
|
1116
1116
|
initialItems,
|
|
@@ -1129,14 +1129,14 @@ function RoadmapView({
|
|
|
1129
1129
|
const qs = listParams.toString();
|
|
1130
1130
|
const url = qs ? `${endpoint}?${qs}` : endpoint;
|
|
1131
1131
|
const initialData = _react.useMemo.call(void 0, () => initialItems ? { items: initialItems } : void 0, [initialItems]);
|
|
1132
|
-
const { data, setData, isLoading, error, reload } =
|
|
1132
|
+
const { data, setData, isLoading, error, reload } = _chunkLEAQNU26cjs.useSelfFetch.call(void 0,
|
|
1133
1133
|
url,
|
|
1134
1134
|
{ initialData }
|
|
1135
1135
|
);
|
|
1136
1136
|
const items = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _23 => _23.items]), () => ( []));
|
|
1137
|
-
|
|
1137
|
+
_chunk6PHV4NREcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunk6PHV4NREcjs.STICKY_HEADER_OFFSET_PX });
|
|
1138
1138
|
if (error) {
|
|
1139
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1139
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCZVFME5Ycjs.LoadError, { message: "Failed to load roadmap.", onRetry: reload });
|
|
1140
1140
|
}
|
|
1141
1141
|
if (isLoading && !data) {
|
|
1142
1142
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapGridSkeleton, { showLeftMargin });
|
|
@@ -1193,7 +1193,7 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1193
1193
|
"div",
|
|
1194
1194
|
{
|
|
1195
1195
|
className: "border-b border-ods-border last:border-b-0",
|
|
1196
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1196
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWG2QLZTDcjs.DeliveryRow, { item, id: _chunkCZVFME5Ycjs.devSectionAnchorId.call(void 0, "delivery", item.id) })
|
|
1197
1197
|
},
|
|
1198
1198
|
item.id
|
|
1199
1199
|
)
|
|
@@ -1205,8 +1205,8 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1205
1205
|
|
|
1206
1206
|
var DEFAULT_COMPLETED_ENDPOINT = "/api/delivery/completed";
|
|
1207
1207
|
var DEFAULT_IN_PROGRESS_ENDPOINT = "/api/delivery/in-progress";
|
|
1208
|
-
var DEFAULT_SEARCH_PARAM_KEY3 =
|
|
1209
|
-
var DEFAULT_TASK_TYPE_PARAM_KEY =
|
|
1208
|
+
var DEFAULT_SEARCH_PARAM_KEY3 = _chunkCZVFME5Ycjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1209
|
+
var DEFAULT_TASK_TYPE_PARAM_KEY = _chunkCZVFME5Ycjs.DEV_SECTION_PARAM_KEYS.deliveryTaskType;
|
|
1210
1210
|
function DeliveryLists({
|
|
1211
1211
|
completedApiEndpoint = DEFAULT_COMPLETED_ENDPOINT,
|
|
1212
1212
|
inProgressApiEndpoint = DEFAULT_IN_PROGRESS_ENDPOINT,
|
|
@@ -1236,8 +1236,8 @@ function DeliveryLists({
|
|
|
1236
1236
|
const queryString = params.toString();
|
|
1237
1237
|
const queryParam = queryString ? `?${queryString}` : "";
|
|
1238
1238
|
const [completedResponse, inProgressResponse] = await Promise.all([
|
|
1239
|
-
|
|
1240
|
-
|
|
1239
|
+
_chunk6PHV4NREcjs.contentFetch.call(void 0, `${completedApiEndpoint}${queryParam}`),
|
|
1240
|
+
_chunk6PHV4NREcjs.contentFetch.call(void 0, `${inProgressApiEndpoint}${queryParam}`)
|
|
1241
1241
|
]);
|
|
1242
1242
|
if (!completedResponse.ok || !inProgressResponse.ok) {
|
|
1243
1243
|
throw new Error("Failed to fetch delivery items");
|
|
@@ -1261,17 +1261,17 @@ function DeliveryLists({
|
|
|
1261
1261
|
}, [searchQuery, taskTypeFilter, completedApiEndpoint, inProgressApiEndpoint, searchParamKey, taskTypeParamKey]);
|
|
1262
1262
|
const filteredCompleted = _optionalChain([data, 'optionalAccess', _24 => _24.completed]) || [];
|
|
1263
1263
|
const filteredInProgress = _optionalChain([data, 'optionalAccess', _25 => _25.inProgress]) || [];
|
|
1264
|
-
|
|
1264
|
+
_chunk6PHV4NREcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunk6PHV4NREcjs.STICKY_HEADER_OFFSET_PX });
|
|
1265
1265
|
const showCompleted = true;
|
|
1266
1266
|
const showInProgress = true;
|
|
1267
1267
|
const hasActiveFilters = searchQuery !== "" || taskTypeFilter !== "all";
|
|
1268
1268
|
const hasResults = showCompleted && filteredCompleted.length > 0 || showInProgress && filteredInProgress.length > 0;
|
|
1269
1269
|
if (error) {
|
|
1270
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1270
|
+
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
1271
|
}
|
|
1272
1272
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full flex flex-col gap-[40px]", children: [
|
|
1273
1273
|
!isLoading && !hasResults && (hasActiveFilters ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1274
|
-
|
|
1274
|
+
_chunkWG2QLZTDcjs.EmptyState,
|
|
1275
1275
|
{
|
|
1276
1276
|
type: "search",
|
|
1277
1277
|
title: "No tasks found",
|
|
@@ -1286,7 +1286,7 @@ function DeliveryLists({
|
|
|
1286
1286
|
}
|
|
1287
1287
|
}
|
|
1288
1288
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1289
|
-
|
|
1289
|
+
_chunkWG2QLZTDcjs.EmptyState,
|
|
1290
1290
|
{
|
|
1291
1291
|
type: "generic",
|
|
1292
1292
|
title: "No tasks available",
|
|
@@ -1335,7 +1335,7 @@ function useLegalDocs(docType, options = {}) {
|
|
|
1335
1335
|
try {
|
|
1336
1336
|
setIsLoading(true);
|
|
1337
1337
|
setError(null);
|
|
1338
|
-
const response = await
|
|
1338
|
+
const response = await _chunk6PHV4NREcjs.contentFetch.call(void 0, effectiveEndpoint);
|
|
1339
1339
|
if (!response.ok) {
|
|
1340
1340
|
throw new Error(
|
|
1341
1341
|
`Failed to fetch ${docType} document: ${response.status} ${response.statusText}`
|
|
@@ -1388,7 +1388,7 @@ function LegalDocumentPage({
|
|
|
1388
1388
|
initialData = null,
|
|
1389
1389
|
initialLastUpdatedLabel = null,
|
|
1390
1390
|
apiEndpoint,
|
|
1391
|
-
MarkdownRenderer =
|
|
1391
|
+
MarkdownRenderer = _chunkCZVFME5Ycjs.RichMarkdownRenderer,
|
|
1392
1392
|
backButton,
|
|
1393
1393
|
shell = true
|
|
1394
1394
|
}) {
|
|
@@ -1398,10 +1398,10 @@ function LegalDocumentPage({
|
|
|
1398
1398
|
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _26 => _26.label]), () => ( "Back to home")),
|
|
1399
1399
|
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _27 => _27.href]), () => ( "/")))
|
|
1400
1400
|
};
|
|
1401
|
-
const fallbackLastUpdatedLabel = _optionalChain([data, 'optionalAccess', _28 => _28.lastSynced]) != null ?
|
|
1401
|
+
const fallbackLastUpdatedLabel = _optionalChain([data, 'optionalAccess', _28 => _28.lastSynced]) != null ? _chunkCZVFME5Ycjs.formatLegalDate.call(void 0, data.lastSynced) : null;
|
|
1402
1402
|
const effectiveLastUpdatedLabel = _nullishCoalesce(initialLastUpdatedLabel, () => ( fallbackLastUpdatedLabel));
|
|
1403
1403
|
const subtitle = effectiveLastUpdatedLabel ? `Last Updated: ${effectiveLastUpdatedLabel}` : fallbackDescription;
|
|
1404
|
-
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1404
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCZVFME5Ycjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: [
|
|
1405
1405
|
_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
1406
|
"Source: ",
|
|
1407
1407
|
data.sourceFile
|
|
@@ -1448,7 +1448,7 @@ function LegalDocumentPage({
|
|
|
1448
1448
|
] })
|
|
1449
1449
|
] }) }) }) }) })
|
|
1450
1450
|
] });
|
|
1451
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1451
|
+
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
1452
|
}
|
|
1453
1453
|
|
|
1454
1454
|
|
|
@@ -1468,4 +1468,4 @@ function LegalDocumentPage({
|
|
|
1468
1468
|
|
|
1469
1469
|
|
|
1470
1470
|
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-
|
|
1471
|
+
//# sourceMappingURL=chunk-YZRMI3KT.cjs.map
|