@flamingo-stack/openframe-frontend-core 0.0.564 → 0.0.565-1861.5100.1
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-PKCZL56Y.cjs → chunk-4H7L4OSR.cjs} +4 -4
- package/dist/{chunk-PKCZL56Y.cjs.map → chunk-4H7L4OSR.cjs.map} +1 -1
- package/dist/chunk-5I3BSQ6D.js +2 -0
- package/dist/{chunk-6OPEULTD.cjs → chunk-BKDSNVGH.cjs} +9 -9
- package/dist/{chunk-6OPEULTD.cjs.map → chunk-BKDSNVGH.cjs.map} +1 -1
- package/dist/{chunk-OYFXHET4.cjs → chunk-BWMVI2KD.cjs} +7 -7
- package/dist/{chunk-OYFXHET4.cjs.map → chunk-BWMVI2KD.cjs.map} +1 -1
- package/dist/{chunk-YFLSOYX4.cjs → chunk-DLSDYLY3.cjs} +11 -11
- package/dist/{chunk-YFLSOYX4.cjs.map → chunk-DLSDYLY3.cjs.map} +1 -1
- package/dist/{chunk-NQ6UF4LP.js → chunk-EQEMZU45.js} +4 -4
- package/dist/{chunk-FG4BSJ4A.cjs → chunk-GG2HJQW3.cjs} +26 -26
- package/dist/{chunk-FG4BSJ4A.cjs.map → chunk-GG2HJQW3.cjs.map} +1 -1
- package/dist/{chunk-O3SEC45L.js → chunk-GG6CAELN.js} +4 -4
- package/dist/{chunk-J7R3VZL5.cjs → chunk-GZL5SAUI.cjs} +19 -15
- package/dist/chunk-GZL5SAUI.cjs.map +1 -0
- package/dist/{chunk-ASULU3T2.js → chunk-H4RCJ4IB.js} +7 -3
- package/dist/{chunk-ASULU3T2.js.map → chunk-H4RCJ4IB.js.map} +1 -1
- package/dist/{chunk-U5EVZLL5.cjs → chunk-KHEOXHF4.cjs} +5 -5
- package/dist/{chunk-U5EVZLL5.cjs.map → chunk-KHEOXHF4.cjs.map} +1 -1
- package/dist/{chunk-Z4VU6MJ4.js → chunk-LOWWLH2W.js} +2 -2
- package/dist/{chunk-NUKQWLOG.js → chunk-MIKGZY7V.js} +5 -5
- package/dist/{chunk-BK7V6CH5.js → chunk-MSUSONUK.js} +3297 -3209
- package/dist/chunk-MSUSONUK.js.map +1 -0
- package/dist/{chunk-PT4GS4CE.cjs → chunk-NAYXROCV.cjs} +3 -3
- package/dist/{chunk-PT4GS4CE.cjs.map → chunk-NAYXROCV.cjs.map} +1 -1
- package/dist/{chunk-G2VDS3M5.js → chunk-OEN3GTRL.js} +2 -2
- package/dist/{chunk-XFI5PCER.cjs → chunk-OTDVQBLI.cjs} +31 -31
- package/dist/{chunk-XFI5PCER.cjs.map → chunk-OTDVQBLI.cjs.map} +1 -1
- package/dist/{chunk-WGDZW237.cjs → chunk-PBH2BQYR.cjs} +86 -86
- package/dist/{chunk-WGDZW237.cjs.map → chunk-PBH2BQYR.cjs.map} +1 -1
- package/dist/{chunk-E6PW7GRQ.cjs → chunk-PZH3CZTJ.cjs} +89 -75
- package/dist/chunk-PZH3CZTJ.cjs.map +1 -0
- package/dist/{chunk-GEC2NHQH.cjs → chunk-QWVON3LG.cjs} +20 -20
- package/dist/{chunk-GEC2NHQH.cjs.map → chunk-QWVON3LG.cjs.map} +1 -1
- package/dist/{chunk-X4JKXYY5.js → chunk-SQ53GVCG.js} +2 -2
- package/dist/{chunk-AZPUAPXW.cjs → chunk-TA5P2M7V.cjs} +796 -708
- package/dist/chunk-TA5P2M7V.cjs.map +1 -0
- package/dist/chunk-UGAHDPNU.cjs +2 -0
- package/dist/{chunk-ZTM35Q76.cjs.map → chunk-UGAHDPNU.cjs.map} +1 -1
- package/dist/{chunk-T3P56JKN.js → chunk-XPLZB74T.js} +2 -2
- package/dist/{chunk-CQNK6RS6.js → chunk-XSK7ZQ3C.js} +2 -2
- package/dist/{chunk-TDYF6Q2D.js → chunk-XZNKPEWB.js} +2 -2
- package/dist/{chunk-VVDLVCPW.cjs → chunk-Y6IGG6RZ.cjs} +39 -39
- package/dist/{chunk-VVDLVCPW.cjs.map → chunk-Y6IGG6RZ.cjs.map} +1 -1
- package/dist/{chunk-7D62XVHH.js → chunk-YVOMHB73.js} +35 -21
- package/dist/chunk-YVOMHB73.js.map +1 -0
- package/dist/{chunk-CP7TMQBH.js → chunk-ZUVVJ24E.js} +2 -2
- package/dist/{chunk-DPMOEYEM.js → chunk-ZYC4O76Y.js} +2 -2
- package/dist/components/case-studies/index.cjs +8 -8
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/chat/entity-cards/employee-entry-card.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/comment-card.d.ts +18 -2
- package/dist/components/comment-card.d.ts.map +1 -1
- package/dist/components/comment-composer.d.ts +42 -0
- package/dist/components/comment-composer.d.ts.map +1 -0
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/docs/index.cjs +5 -5
- package/dist/components/docs/index.js +4 -4
- package/dist/components/embeds/claude-embed.d.ts +31 -0
- package/dist/components/embeds/claude-embed.d.ts.map +1 -0
- package/dist/components/embeds/index.cjs +6 -4
- package/dist/components/embeds/index.cjs.map +1 -1
- package/dist/components/embeds/index.d.ts +2 -0
- package/dist/components/embeds/index.d.ts.map +1 -1
- package/dist/components/embeds/index.js +5 -3
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/array-entry-manager.d.ts.map +1 -1
- package/dist/components/features/clickup-tasks-manager.d.ts +6 -1
- package/dist/components/features/clickup-tasks-manager.d.ts.map +1 -1
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/help-center-pages/index.cjs +22 -22
- package/dist/components/help-center-pages/index.js +13 -13
- package/dist/components/index.cjs +281 -204
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +647 -570
- package/dist/components/index.js.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +30 -30
- package/dist/components/meeting-scheduler/index.js +3 -3
- package/dist/components/navigation/index.cjs +2 -2
- package/dist/components/navigation/index.js +1 -1
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/shared/delivery/delivery-row.d.ts +5 -1
- package/dist/components/shared/delivery/delivery-row.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-grid.d.ts +10 -1
- package/dist/components/shared/roadmap/roadmap-grid.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +6 -6
- package/dist/components/tickets/index.js +5 -5
- package/dist/components/ui/card.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +4 -2
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.d.ts +1 -1
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +3 -1
- package/dist/components/ui/markdown/rich/embed-overrides.d.ts.map +1 -1
- package/dist/components/ui/markdown/rich/shortcodes.d.ts.map +1 -1
- package/dist/components/ui/table/index.d.ts +1 -1
- package/dist/components/ui/table/index.d.ts.map +1 -1
- package/dist/components/ui/table/table-row.d.ts.map +1 -1
- package/dist/components/ui/table/table-skeleton.d.ts +15 -2
- package/dist/components/ui/table/table-skeleton.d.ts.map +1 -1
- package/dist/components/ui/table/table.d.ts.map +1 -1
- package/dist/components/ui/table/types.d.ts +2 -0
- package/dist/components/ui/table/types.d.ts.map +1 -1
- package/dist/index.cjs +6 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -1
- package/dist/types/department.d.ts +41 -0
- package/dist/types/department.d.ts.map +1 -0
- package/dist/types/design-doc.d.ts +247 -0
- package/dist/types/design-doc.d.ts.map +1 -0
- package/dist/types/employee.d.ts +25 -2
- package/dist/types/employee.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/marketing.d.ts +1 -1
- package/dist/types/marketing.d.ts.map +1 -1
- package/dist/types/profile.d.ts +2 -1
- package/dist/types/profile.d.ts.map +1 -1
- package/dist/types/team.d.ts +15 -1
- package/dist/types/team.d.ts.map +1 -1
- package/dist/types/user.d.ts +3 -1
- package/dist/types/user.d.ts.map +1 -1
- package/dist/utils/embed-url-converters.d.ts +17 -0
- package/dist/utils/embed-url-converters.d.ts.map +1 -1
- package/dist/utils/index.cjs +12 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js +12 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/.comment-card.md +4 -5
- package/src/components/chat/entity-cards/employee-entry-card.tsx +6 -0
- package/src/components/comment-card.tsx +42 -17
- package/src/components/comment-composer.tsx +117 -0
- package/src/components/embeds/claude-embed.tsx +84 -0
- package/src/components/embeds/index.ts +2 -0
- package/src/components/features/array-entry-manager.tsx +2 -1
- package/src/components/features/clickup-tasks-manager.tsx +8 -1
- package/src/components/index.ts +1 -0
- package/src/components/shared/delivery/delivery-row.tsx +17 -1
- package/src/components/shared/roadmap/roadmap-grid.tsx +21 -1
- package/src/components/ui/card.tsx +4 -1
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/markdown/rich/__tests__/shortcodes.test.ts +44 -0
- package/src/components/ui/markdown/rich/embed-overrides.tsx +4 -0
- package/src/components/ui/markdown/rich/shortcodes.ts +12 -0
- package/src/components/ui/table/index.ts +1 -1
- package/src/components/ui/table/table-row.tsx +7 -2
- package/src/components/ui/table/table-skeleton.tsx +20 -3
- package/src/components/ui/table/table.tsx +1 -0
- package/src/components/ui/table/types.ts +2 -0
- package/src/types/department.ts +44 -0
- package/src/types/design-doc.ts +295 -0
- package/src/types/employee.ts +27 -2
- package/src/types/index.ts +2 -0
- package/src/types/marketing.ts +1 -0
- package/src/types/profile.ts +3 -1
- package/src/types/team.ts +17 -1
- package/src/types/user.ts +4 -1
- package/src/utils/__tests__/claude-embed-url.test.ts +42 -0
- package/src/utils/embed-url-converters.ts +32 -0
- package/dist/chunk-7D62XVHH.js.map +0 -1
- package/dist/chunk-AZPUAPXW.cjs.map +0 -1
- package/dist/chunk-BK7V6CH5.js.map +0 -1
- package/dist/chunk-E6PW7GRQ.cjs.map +0 -1
- package/dist/chunk-J7R3VZL5.cjs.map +0 -1
- package/dist/chunk-MVWSLZG7.js +0 -2
- package/dist/chunk-ZTM35Q76.cjs +0 -2
- /package/dist/{chunk-MVWSLZG7.js.map → chunk-5I3BSQ6D.js.map} +0 -0
- /package/dist/{chunk-NQ6UF4LP.js.map → chunk-EQEMZU45.js.map} +0 -0
- /package/dist/{chunk-O3SEC45L.js.map → chunk-GG6CAELN.js.map} +0 -0
- /package/dist/{chunk-Z4VU6MJ4.js.map → chunk-LOWWLH2W.js.map} +0 -0
- /package/dist/{chunk-NUKQWLOG.js.map → chunk-MIKGZY7V.js.map} +0 -0
- /package/dist/{chunk-G2VDS3M5.js.map → chunk-OEN3GTRL.js.map} +0 -0
- /package/dist/{chunk-X4JKXYY5.js.map → chunk-SQ53GVCG.js.map} +0 -0
- /package/dist/{chunk-T3P56JKN.js.map → chunk-XPLZB74T.js.map} +0 -0
- /package/dist/{chunk-CQNK6RS6.js.map → chunk-XSK7ZQ3C.js.map} +0 -0
- /package/dist/{chunk-TDYF6Q2D.js.map → chunk-XZNKPEWB.js.map} +0 -0
- /package/dist/{chunk-CP7TMQBH.js.map → chunk-ZUVVJ24E.js.map} +0 -0
- /package/dist/{chunk-DPMOEYEM.js.map → chunk-ZYC4O76Y.js.map} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
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 _chunkNAYXROCVcjs = require('./chunk-NAYXROCV.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkGZL5SAUIcjs = require('./chunk-GZL5SAUI.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk4H7L4OSRcjs = require('./chunk-4H7L4OSR.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkKHEOXHF4cjs = require('./chunk-KHEOXHF4.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
var _chunkNKEOD2ADcjs = require('./chunk-NKEOD2AD.cjs');
|
|
@@ -46,7 +46,7 @@ var _chunkNKEOD2ADcjs = require('./chunk-NKEOD2AD.cjs');
|
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
|
|
49
|
-
var
|
|
49
|
+
var _chunkTA5P2M7Vcjs = require('./chunk-TA5P2M7V.cjs');
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
|
|
@@ -77,8 +77,8 @@ var _chunkKI4EGKNVcjs = require('./chunk-KI4EGKNV.cjs');
|
|
|
77
77
|
_chunkKI4EGKNVcjs.init_cn.call(void 0, );
|
|
78
78
|
var _jsxruntime = require('react/jsx-runtime');
|
|
79
79
|
var DEFAULT_ENDPOINT = "/api/releases";
|
|
80
|
-
var DEFAULT_SEARCH_PARAM_KEY =
|
|
81
|
-
var DEFAULT_STATUS_PARAM_KEY =
|
|
80
|
+
var DEFAULT_SEARCH_PARAM_KEY = _chunkTA5P2M7Vcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
81
|
+
var DEFAULT_STATUS_PARAM_KEY = _chunkTA5P2M7Vcjs.DEV_SECTION_PARAM_KEYS.releaseStatus;
|
|
82
82
|
var DEFAULT_PAGE_PARAM_KEY = "page";
|
|
83
83
|
function ReleaseRow({
|
|
84
84
|
release,
|
|
@@ -87,17 +87,17 @@ function ReleaseRow({
|
|
|
87
87
|
}) {
|
|
88
88
|
const runtime = _chunkCEAAOVCVcjs.useChatRuntime.call(void 0, );
|
|
89
89
|
const router = _chunkSSJNN5BScjs.useRouter.call(void 0, );
|
|
90
|
-
const cta =
|
|
90
|
+
const cta = _chunkTA5P2M7Vcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _2 => _2.composeContentUrl]), {
|
|
91
91
|
type: "product_release",
|
|
92
92
|
slug: release.slug,
|
|
93
93
|
basePath,
|
|
94
94
|
platforms: release.product_release_platforms
|
|
95
95
|
});
|
|
96
|
-
const { target, rel } =
|
|
96
|
+
const { target, rel } = _chunkTA5P2M7Vcjs.useEntityCardLink.call(void 0, { href: cta.href, targetPlatform: cta.targetPlatform });
|
|
97
97
|
const onClick = (e) => {
|
|
98
|
-
if (e.defaultPrevented ||
|
|
98
|
+
if (e.defaultPrevented || _chunkTA5P2M7Vcjs.isModifierClick.call(void 0, e) || target === "_blank") return;
|
|
99
99
|
e.preventDefault();
|
|
100
|
-
|
|
100
|
+
_chunkTA5P2M7Vcjs.executeNavigationImperative.call(void 0, {
|
|
101
101
|
runtime,
|
|
102
102
|
href: cta.href,
|
|
103
103
|
targetPlatform: cta.targetPlatform,
|
|
@@ -105,7 +105,7 @@ function ReleaseRow({
|
|
|
105
105
|
});
|
|
106
106
|
};
|
|
107
107
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
108
|
-
|
|
108
|
+
_chunkTA5P2M7Vcjs.ProductReleaseCard,
|
|
109
109
|
{
|
|
110
110
|
size: "lg",
|
|
111
111
|
title: release.title,
|
|
@@ -121,7 +121,7 @@ function ProductReleasesView({
|
|
|
121
121
|
initialData,
|
|
122
122
|
itemsPerPage = 5,
|
|
123
123
|
basePath = "/releases",
|
|
124
|
-
buildCardProps =
|
|
124
|
+
buildCardProps = _chunkTA5P2M7Vcjs.buildProductReleaseCardProps,
|
|
125
125
|
searchParamKey = DEFAULT_SEARCH_PARAM_KEY,
|
|
126
126
|
statusParamKey = DEFAULT_STATUS_PARAM_KEY,
|
|
127
127
|
pageParamKey = DEFAULT_PAGE_PARAM_KEY,
|
|
@@ -159,10 +159,10 @@ function ProductReleasesView({
|
|
|
159
159
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
160
160
|
};
|
|
161
161
|
if (error) {
|
|
162
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkKI4EGKNVcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
162
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkKI4EGKNVcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTA5P2M7Vcjs.LoadError, { message: "Failed to load releases.", onRetry: reload }) });
|
|
163
163
|
}
|
|
164
164
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkKI4EGKNVcjs.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,
|
|
165
|
-
|
|
165
|
+
_chunk4H7L4OSRcjs.EmptyState,
|
|
166
166
|
{
|
|
167
167
|
type: "search",
|
|
168
168
|
title: "No releases found",
|
|
@@ -172,7 +172,7 @@ function ProductReleasesView({
|
|
|
172
172
|
onCtaClick: resetFilters
|
|
173
173
|
}
|
|
174
174
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
175
|
-
|
|
175
|
+
_chunk4H7L4OSRcjs.EmptyState,
|
|
176
176
|
{
|
|
177
177
|
type: "generic",
|
|
178
178
|
title: "No releases available",
|
|
@@ -187,13 +187,13 @@ function ProductReleasesView({
|
|
|
187
187
|
"div",
|
|
188
188
|
{
|
|
189
189
|
style: { visibility: isLoading || hasData ? "visible" : "hidden" },
|
|
190
|
-
children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
190
|
+
children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTA5P2M7Vcjs.ProductReleaseCardSkeleton, { size: "lg" }) : release ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReleaseRow, { release, basePath, buildCardProps }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTA5P2M7Vcjs.ProductReleaseCardSkeleton, { size: "lg" })
|
|
191
191
|
},
|
|
192
192
|
_nullishCoalesce(_optionalChain([release, 'optionalAccess', _5 => _5.id]), () => ( `slot-${i}`))
|
|
193
193
|
);
|
|
194
194
|
}) }),
|
|
195
195
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-6 md:mt-8 flex justify-center", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-12 m-3 w-64" }) : releases.length > 0 && totalPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
196
|
-
|
|
196
|
+
_chunkNAYXROCVcjs.PersistentPaginationWrapper,
|
|
197
197
|
{
|
|
198
198
|
isLoading: false,
|
|
199
199
|
currentPage,
|
|
@@ -235,10 +235,10 @@ function MediaGalleryStrip({ items, className }) {
|
|
|
235
235
|
mediaItem.id || index
|
|
236
236
|
);
|
|
237
237
|
}
|
|
238
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: tileClass, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
238
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: tileClass, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTA5P2M7Vcjs.Video, { url: mediaItem.media_url, layout: "native" }) }, mediaItem.id || index);
|
|
239
239
|
}) }),
|
|
240
240
|
galleryImages.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
241
|
-
|
|
241
|
+
_chunkTA5P2M7Vcjs.ImageGalleryModal,
|
|
242
242
|
{
|
|
243
243
|
images: galleryImages,
|
|
244
244
|
isOpen: galleryOpen,
|
|
@@ -255,7 +255,7 @@ _chunkSSJNN5BScjs.init_next_navigation.call(void 0, );
|
|
|
255
255
|
|
|
256
256
|
var _lucidereact = require('lucide-react');
|
|
257
257
|
|
|
258
|
-
var DefaultMarkdownRenderer =
|
|
258
|
+
var DefaultMarkdownRenderer = _chunkTA5P2M7Vcjs.RichMarkdownRenderer;
|
|
259
259
|
function ReleaseDetailPage({
|
|
260
260
|
authorHref,
|
|
261
261
|
slug,
|
|
@@ -272,8 +272,8 @@ function ReleaseDetailPage({
|
|
|
272
272
|
shell = true
|
|
273
273
|
}) {
|
|
274
274
|
const router = _chunkSSJNN5BScjs.useRouter.call(void 0, );
|
|
275
|
-
const captions =
|
|
276
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
275
|
+
const captions = _chunkTA5P2M7Vcjs.useCaptions.call(void 0, );
|
|
276
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTA5P2M7Vcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
277
277
|
const { data: fetchedRelease, error, isLoading } = useRelease(initialData ? void 0 : slug);
|
|
278
278
|
const release = initialData || fetchedRelease;
|
|
279
279
|
const showBackButton = backButton !== false;
|
|
@@ -317,7 +317,7 @@ function ReleaseDetailPage({
|
|
|
317
317
|
return renderShell(
|
|
318
318
|
// Match the loaded page's top offset (TitleBlock's
|
|
319
319
|
// `pt-[var(--spacing-system-l)]`) so content doesn't jump on load.
|
|
320
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
320
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKHEOXHF4cjs.DetailPageSkeleton, { bare: true, metadataColumns: 4, showImageGallery: true }) })
|
|
321
321
|
);
|
|
322
322
|
}
|
|
323
323
|
if (error || !release) {
|
|
@@ -356,7 +356,7 @@ function ReleaseDetailPage({
|
|
|
356
356
|
const improvements = release.improvements;
|
|
357
357
|
return renderShell(
|
|
358
358
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
359
|
-
|
|
359
|
+
_chunkTA5P2M7Vcjs.PageLayout,
|
|
360
360
|
{
|
|
361
361
|
title: releaseTitle,
|
|
362
362
|
subtitle: `Version: ${releaseVersion}`,
|
|
@@ -365,7 +365,7 @@ function ReleaseDetailPage({
|
|
|
365
365
|
backButton: showBackButton ? { label: backLabel, onClick: () => router.push(backHref) } : void 0,
|
|
366
366
|
children: [
|
|
367
367
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-6 md:space-y-8", children: [
|
|
368
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
368
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTA5P2M7Vcjs.EntityTagBadges, { tags: release.product_release_tags }),
|
|
369
369
|
/* @__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: [
|
|
370
370
|
/* @__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: [
|
|
371
371
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-primary", children: releaseType.toLocaleUpperCase() }),
|
|
@@ -376,11 +376,11 @@ function ReleaseDetailPage({
|
|
|
376
376
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 text-ods-text-secondary", children: "Release Status" })
|
|
377
377
|
] }) }),
|
|
378
378
|
/* @__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: [
|
|
379
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-primary", children:
|
|
379
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-primary", children: _chunkTA5P2M7Vcjs.formatReleaseDate.call(void 0, releaseDate) }),
|
|
380
380
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 text-ods-text-secondary", children: "Release Date" })
|
|
381
381
|
] }) }),
|
|
382
382
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
383
|
-
|
|
383
|
+
_chunkTA5P2M7Vcjs.EntityMetadataAuthorCell,
|
|
384
384
|
{
|
|
385
385
|
author: _nullishCoalesce(author, () => ( { full_name: null, avatar_url: null })),
|
|
386
386
|
authorHref: _optionalChain([author, 'optionalAccess', _6 => _6.full_name]) ? authorHref : void 0
|
|
@@ -398,9 +398,9 @@ function ReleaseDetailPage({
|
|
|
398
398
|
highlightVideoThumbnail,
|
|
399
399
|
title: releaseTitle,
|
|
400
400
|
videoBites,
|
|
401
|
-
bitesTitle:
|
|
401
|
+
bitesTitle: _chunkTA5P2M7Vcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
402
402
|
filterPublishedBites: true,
|
|
403
|
-
bitesProfile:
|
|
403
|
+
bitesProfile: _chunkTA5P2M7Vcjs.toStripProfile.call(void 0, author),
|
|
404
404
|
bitesHref: typeof release.slug === "string" ? `/releases/${release.slug}` : void 0,
|
|
405
405
|
srtContent: _optionalChain([release, 'optionalAccess', _7 => _7.srt_content]),
|
|
406
406
|
captionsUrl,
|
|
@@ -408,7 +408,7 @@ function ReleaseDetailPage({
|
|
|
408
408
|
}
|
|
409
409
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
410
410
|
youtubeUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
411
|
-
|
|
411
|
+
_chunkTA5P2M7Vcjs.Video,
|
|
412
412
|
{
|
|
413
413
|
kind: "youtube",
|
|
414
414
|
url: youtubeUrl,
|
|
@@ -417,7 +417,7 @@ function ReleaseDetailPage({
|
|
|
417
417
|
}
|
|
418
418
|
),
|
|
419
419
|
!youtubeUrl && mainVideoUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
420
|
-
|
|
420
|
+
_chunkTA5P2M7Vcjs.Video,
|
|
421
421
|
{
|
|
422
422
|
url: mainVideoUrl,
|
|
423
423
|
srtContent: _optionalChain([release, 'optionalAccess', _8 => _8.srt_content]),
|
|
@@ -426,7 +426,7 @@ function ReleaseDetailPage({
|
|
|
426
426
|
}
|
|
427
427
|
),
|
|
428
428
|
highlightVideoUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
429
|
-
|
|
429
|
+
_chunkTA5P2M7Vcjs.Video,
|
|
430
430
|
{
|
|
431
431
|
url: highlightVideoUrl,
|
|
432
432
|
poster: highlightVideoThumbnail,
|
|
@@ -436,7 +436,7 @@ function ReleaseDetailPage({
|
|
|
436
436
|
)
|
|
437
437
|
] }),
|
|
438
438
|
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 }) }),
|
|
439
|
-
hasBreakingChanges && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
439
|
+
hasBreakingChanges && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTA5P2M7Vcjs.Card, { className: "border-ods-error bg-ods-error/10", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTA5P2M7Vcjs.CardContent, { className: "p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
440
440
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-6 w-6 text-ods-error" }),
|
|
441
441
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
442
442
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-h3 text-ods-error", children: "Breaking Changes" }),
|
|
@@ -444,7 +444,7 @@ function ReleaseDetailPage({
|
|
|
444
444
|
] })
|
|
445
445
|
] }) }) }),
|
|
446
446
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
447
|
-
|
|
447
|
+
_chunkTA5P2M7Vcjs.ReleaseChangelogSection,
|
|
448
448
|
{
|
|
449
449
|
title: "Breaking Changes",
|
|
450
450
|
entries: breakingChanges || [],
|
|
@@ -455,7 +455,7 @@ function ReleaseDetailPage({
|
|
|
455
455
|
}
|
|
456
456
|
),
|
|
457
457
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
458
|
-
|
|
458
|
+
_chunkTA5P2M7Vcjs.ReleaseChangelogSection,
|
|
459
459
|
{
|
|
460
460
|
title: "Features Added",
|
|
461
461
|
entries: featuresAdded || [],
|
|
@@ -465,7 +465,7 @@ function ReleaseDetailPage({
|
|
|
465
465
|
}
|
|
466
466
|
),
|
|
467
467
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
468
|
-
|
|
468
|
+
_chunkTA5P2M7Vcjs.ReleaseChangelogSection,
|
|
469
469
|
{
|
|
470
470
|
title: "Bugs Fixed",
|
|
471
471
|
entries: bugFixed || [],
|
|
@@ -475,7 +475,7 @@ function ReleaseDetailPage({
|
|
|
475
475
|
}
|
|
476
476
|
),
|
|
477
477
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
478
|
-
|
|
478
|
+
_chunkTA5P2M7Vcjs.ReleaseChangelogSection,
|
|
479
479
|
{
|
|
480
480
|
title: "Improvements",
|
|
481
481
|
entries: improvements || [],
|
|
@@ -506,7 +506,7 @@ function ReleaseDetailPage({
|
|
|
506
506
|
(() => {
|
|
507
507
|
const deliveryCount = deliveryData ? deliveryData.completed.length + deliveryData.inProgress.length : 0;
|
|
508
508
|
return deliveryLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliverySection, { data: deliveryData, isLoading: deliveryLoading }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
509
|
-
|
|
509
|
+
_chunkTA5P2M7Vcjs.FadePreview,
|
|
510
510
|
{
|
|
511
511
|
hiddenCount: deliveryCount - 1,
|
|
512
512
|
collapsedHeight: 300,
|
|
@@ -518,7 +518,7 @@ function ReleaseDetailPage({
|
|
|
518
518
|
] }),
|
|
519
519
|
(_optionalChain([githubReleases, 'optionalAccess', _9 => _9.length]) || _optionalChain([knowledgeBaseLinks, 'optionalAccess', _10 => _10.length]) || migrationGuideUrl || documentationUrl) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1 w-full", children: [
|
|
520
520
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h5 tracking-[-0.28px] text-ods-text-secondary", children: "Related Links" }),
|
|
521
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
521
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTA5P2M7Vcjs.Card, { className: "bg-ods-card border-ods-border p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
522
522
|
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: [
|
|
523
523
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3M2MFP2Ycjs.GitHubIcon, { className: "shrink-0", width: 24, height: 24, color: "var(--color-text-secondary)" }),
|
|
524
524
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h4 text-ods-text-primary", children: "Github Release" }),
|
|
@@ -592,7 +592,7 @@ function ReleaseDetailPage({
|
|
|
592
592
|
// src/components/shared/product-release/release-detail-skeleton.tsx
|
|
593
593
|
|
|
594
594
|
function ReleaseDetailSkeleton() {
|
|
595
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
595
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKHEOXHF4cjs.DetailPageSkeleton, { metadataColumns: 4, showImageGallery: true });
|
|
596
596
|
}
|
|
597
597
|
|
|
598
598
|
// src/components/shared/roadmap/use-roadmap-voting.ts
|
|
@@ -742,33 +742,45 @@ function computeDefaultExpandedQuarters(quarters, quartersToKeepClosed) {
|
|
|
742
742
|
function RoadmapGridSingle({
|
|
743
743
|
items,
|
|
744
744
|
showLeftMargin,
|
|
745
|
+
columns = 2,
|
|
745
746
|
getVote,
|
|
746
747
|
onVote,
|
|
747
748
|
votingTasks
|
|
748
749
|
}) {
|
|
749
|
-
return
|
|
750
|
-
//
|
|
751
|
-
//
|
|
752
|
-
// `buildDevSectionUrl('roadmap', <id>)` → `#roadmap-<external_id>`;
|
|
753
|
-
// `useScrollToHash` in `roadmap-view.tsx` finds the card by id
|
|
754
|
-
// and scrolls.
|
|
750
|
+
return (
|
|
751
|
+
// LITERAL class strings: an interpolated `md:grid-cols-${n}` is invisible
|
|
752
|
+
// to Tailwind's scanner and is never generated.
|
|
755
753
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
756
|
-
|
|
754
|
+
"div",
|
|
757
755
|
{
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
756
|
+
className: `grid grid-cols-1 gap-6 ${columns === 2 ? "md:grid-cols-2" : ""} ${showLeftMargin ? "md:ml-[120px]" : ""}`,
|
|
757
|
+
children: items.map((item) => (
|
|
758
|
+
// DOM id + sticky-header scroll offset live ON RoadmapCard's own
|
|
759
|
+
// outer element (no wrapper div). Anchor mirrors
|
|
760
|
+
// `buildDevSectionUrl('roadmap', <id>)` → `#roadmap-<external_id>`;
|
|
761
|
+
// `useScrollToHash` in `roadmap-view.tsx` finds the card by id
|
|
762
|
+
// and scrolls.
|
|
763
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
764
|
+
_chunkTA5P2M7Vcjs.RoadmapCard,
|
|
765
|
+
{
|
|
766
|
+
item,
|
|
767
|
+
id: _chunkTA5P2M7Vcjs.devSectionAnchorId.call(void 0, "roadmap", item.id),
|
|
768
|
+
userVote: getVote(item.id),
|
|
769
|
+
onVote: (voteType) => onVote(item.id, voteType),
|
|
770
|
+
isVoting: votingTasks.has(item.id)
|
|
771
|
+
},
|
|
772
|
+
item.id
|
|
773
|
+
)
|
|
774
|
+
))
|
|
775
|
+
}
|
|
765
776
|
)
|
|
766
|
-
)
|
|
777
|
+
);
|
|
767
778
|
}
|
|
768
779
|
function RoadmapGrid({
|
|
769
780
|
items,
|
|
770
781
|
onItemUpdate,
|
|
771
782
|
showLeftMargin = true,
|
|
783
|
+
columns = 2,
|
|
772
784
|
buildRefreshUrl = DEFAULT_BUILD_REFRESH_URL,
|
|
773
785
|
votingOptions,
|
|
774
786
|
groupByQuarter = false,
|
|
@@ -836,7 +848,7 @@ function RoadmapGrid({
|
|
|
836
848
|
}, [hasActiveFilters, sortedQuartersKey, isInitialized, quartersToKeepClosed]);
|
|
837
849
|
if (items.length === 0) {
|
|
838
850
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
839
|
-
|
|
851
|
+
_chunk4H7L4OSRcjs.EmptyState,
|
|
840
852
|
{
|
|
841
853
|
type: "generic",
|
|
842
854
|
title: "No roadmap items",
|
|
@@ -850,6 +862,7 @@ function RoadmapGrid({
|
|
|
850
862
|
{
|
|
851
863
|
items,
|
|
852
864
|
showLeftMargin,
|
|
865
|
+
columns,
|
|
853
866
|
getVote,
|
|
854
867
|
onVote: handleVote,
|
|
855
868
|
votingTasks
|
|
@@ -857,7 +870,7 @@ function RoadmapGrid({
|
|
|
857
870
|
);
|
|
858
871
|
}
|
|
859
872
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
860
|
-
|
|
873
|
+
_chunkTA5P2M7Vcjs.Accordion,
|
|
861
874
|
{
|
|
862
875
|
type: "multiple",
|
|
863
876
|
value: expandedQuarters,
|
|
@@ -867,13 +880,13 @@ function RoadmapGrid({
|
|
|
867
880
|
const itemCount = _optionalChain([itemsByQuarter, 'access', _19 => _19[quarter], 'optionalAccess', _20 => _20.length]) || 0;
|
|
868
881
|
const isExpanded = expandedQuarters.includes(quarter);
|
|
869
882
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
870
|
-
|
|
883
|
+
_chunkTA5P2M7Vcjs.AccordionItem,
|
|
871
884
|
{
|
|
872
885
|
value: quarter,
|
|
873
886
|
id: `quarter-${quarter.replace(/\s+/g, "-").toLowerCase()}`,
|
|
874
887
|
className: "border-0",
|
|
875
888
|
children: [
|
|
876
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
889
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTA5P2M7Vcjs.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: [
|
|
877
890
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
878
891
|
"h3",
|
|
879
892
|
{
|
|
@@ -903,11 +916,12 @@ function RoadmapGrid({
|
|
|
903
916
|
}
|
|
904
917
|
)
|
|
905
918
|
] }) }),
|
|
906
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
919
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTA5P2M7Vcjs.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,
|
|
907
920
|
RoadmapGridSingle,
|
|
908
921
|
{
|
|
909
922
|
items: itemsByQuarter[quarter],
|
|
910
923
|
showLeftMargin,
|
|
924
|
+
columns,
|
|
911
925
|
getVote,
|
|
912
926
|
onVote: handleVote,
|
|
913
927
|
votingTasks
|
|
@@ -954,8 +968,8 @@ function RoadmapGridSkeleton({ count = 4, showLeftMargin = true }) {
|
|
|
954
968
|
|
|
955
969
|
|
|
956
970
|
var DEFAULT_ENDPOINT2 = "/api/roadmap";
|
|
957
|
-
var DEFAULT_SEARCH_PARAM_KEY2 =
|
|
958
|
-
var DEFAULT_STATUS_PARAM_KEY2 =
|
|
971
|
+
var DEFAULT_SEARCH_PARAM_KEY2 = _chunkTA5P2M7Vcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
972
|
+
var DEFAULT_STATUS_PARAM_KEY2 = _chunkTA5P2M7Vcjs.DEV_SECTION_PARAM_KEYS.status;
|
|
959
973
|
function RoadmapView({
|
|
960
974
|
endpoint = DEFAULT_ENDPOINT2,
|
|
961
975
|
initialItems,
|
|
@@ -981,7 +995,7 @@ function RoadmapView({
|
|
|
981
995
|
const items = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _21 => _21.items]), () => ( []));
|
|
982
996
|
_chunkNK3M6F5Acjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkNK3M6F5Acjs.STICKY_HEADER_OFFSET_PX });
|
|
983
997
|
if (error) {
|
|
984
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
998
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTA5P2M7Vcjs.LoadError, { message: "Failed to load roadmap.", onRetry: reload });
|
|
985
999
|
}
|
|
986
1000
|
if (isLoading && !data) {
|
|
987
1001
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapGridSkeleton, { showLeftMargin });
|
|
@@ -1038,7 +1052,7 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1038
1052
|
"div",
|
|
1039
1053
|
{
|
|
1040
1054
|
className: "border-b border-ods-border last:border-b-0",
|
|
1041
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1055
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGZL5SAUIcjs.DeliveryRow, { item, id: _chunkTA5P2M7Vcjs.devSectionAnchorId.call(void 0, "delivery", item.id) })
|
|
1042
1056
|
},
|
|
1043
1057
|
item.id
|
|
1044
1058
|
)
|
|
@@ -1050,8 +1064,8 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1050
1064
|
|
|
1051
1065
|
var DEFAULT_COMPLETED_ENDPOINT = "/api/delivery/completed";
|
|
1052
1066
|
var DEFAULT_IN_PROGRESS_ENDPOINT = "/api/delivery/in-progress";
|
|
1053
|
-
var DEFAULT_SEARCH_PARAM_KEY3 =
|
|
1054
|
-
var DEFAULT_TASK_TYPE_PARAM_KEY =
|
|
1067
|
+
var DEFAULT_SEARCH_PARAM_KEY3 = _chunkTA5P2M7Vcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1068
|
+
var DEFAULT_TASK_TYPE_PARAM_KEY = _chunkTA5P2M7Vcjs.DEV_SECTION_PARAM_KEYS.deliveryTaskType;
|
|
1055
1069
|
function DeliveryLists({
|
|
1056
1070
|
completedApiEndpoint = DEFAULT_COMPLETED_ENDPOINT,
|
|
1057
1071
|
inProgressApiEndpoint = DEFAULT_IN_PROGRESS_ENDPOINT,
|
|
@@ -1112,11 +1126,11 @@ function DeliveryLists({
|
|
|
1112
1126
|
const hasActiveFilters = searchQuery !== "" || taskTypeFilter !== "all";
|
|
1113
1127
|
const hasResults = showCompleted && filteredCompleted.length > 0 || showInProgress && filteredInProgress.length > 0;
|
|
1114
1128
|
if (error) {
|
|
1115
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1129
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTA5P2M7Vcjs.LoadError, { message: error, onRetry: () => window.location.reload() }) });
|
|
1116
1130
|
}
|
|
1117
1131
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full flex flex-col gap-[40px]", children: [
|
|
1118
1132
|
!isLoading && !hasResults && (hasActiveFilters ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1119
|
-
|
|
1133
|
+
_chunk4H7L4OSRcjs.EmptyState,
|
|
1120
1134
|
{
|
|
1121
1135
|
type: "search",
|
|
1122
1136
|
title: "No tasks found",
|
|
@@ -1131,7 +1145,7 @@ function DeliveryLists({
|
|
|
1131
1145
|
}
|
|
1132
1146
|
}
|
|
1133
1147
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1134
|
-
|
|
1148
|
+
_chunk4H7L4OSRcjs.EmptyState,
|
|
1135
1149
|
{
|
|
1136
1150
|
type: "generic",
|
|
1137
1151
|
title: "No tasks available",
|
|
@@ -1233,7 +1247,7 @@ function LegalDocumentPage({
|
|
|
1233
1247
|
initialData = null,
|
|
1234
1248
|
initialLastUpdatedLabel = null,
|
|
1235
1249
|
apiEndpoint,
|
|
1236
|
-
MarkdownRenderer =
|
|
1250
|
+
MarkdownRenderer = _chunkTA5P2M7Vcjs.RichMarkdownRenderer,
|
|
1237
1251
|
backButton,
|
|
1238
1252
|
shell = true
|
|
1239
1253
|
}) {
|
|
@@ -1243,10 +1257,10 @@ function LegalDocumentPage({
|
|
|
1243
1257
|
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _24 => _24.label]), () => ( "Back to home")),
|
|
1244
1258
|
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _25 => _25.href]), () => ( "/")))
|
|
1245
1259
|
};
|
|
1246
|
-
const fallbackLastUpdatedLabel = _optionalChain([data, 'optionalAccess', _26 => _26.lastSynced]) != null ?
|
|
1260
|
+
const fallbackLastUpdatedLabel = _optionalChain([data, 'optionalAccess', _26 => _26.lastSynced]) != null ? _chunkTA5P2M7Vcjs.formatLegalDate.call(void 0, data.lastSynced) : null;
|
|
1247
1261
|
const effectiveLastUpdatedLabel = _nullishCoalesce(initialLastUpdatedLabel, () => ( fallbackLastUpdatedLabel));
|
|
1248
1262
|
const subtitle = effectiveLastUpdatedLabel ? `Last Updated: ${effectiveLastUpdatedLabel}` : fallbackDescription;
|
|
1249
|
-
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1263
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkTA5P2M7Vcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: [
|
|
1250
1264
|
_optionalChain([data, 'optionalAccess', _27 => _27.sourceFile]) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-h6 text-ods-text-secondary opacity-75", children: [
|
|
1251
1265
|
"Source: ",
|
|
1252
1266
|
data.sourceFile
|
|
@@ -1293,7 +1307,7 @@ function LegalDocumentPage({
|
|
|
1293
1307
|
] })
|
|
1294
1308
|
] }) }) }) }) })
|
|
1295
1309
|
] });
|
|
1296
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1310
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTA5P2M7Vcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
1297
1311
|
}
|
|
1298
1312
|
|
|
1299
1313
|
|
|
@@ -1310,4 +1324,4 @@ function LegalDocumentPage({
|
|
|
1310
1324
|
|
|
1311
1325
|
|
|
1312
1326
|
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;
|
|
1313
|
-
//# sourceMappingURL=chunk-
|
|
1327
|
+
//# sourceMappingURL=chunk-PZH3CZTJ.cjs.map
|