@flamingo-stack/openframe-frontend-core 0.0.542 → 0.0.543-1802.4768.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-F3GGE6DI.cjs → chunk-2NX2VD7T.cjs} +87 -87
- package/dist/{chunk-F3GGE6DI.cjs.map → chunk-2NX2VD7T.cjs.map} +1 -1
- package/dist/{chunk-T4O3AEKV.cjs → chunk-3PMCWX36.cjs} +26 -26
- package/dist/{chunk-T4O3AEKV.cjs.map → chunk-3PMCWX36.cjs.map} +1 -1
- package/dist/{chunk-BETH6QZC.cjs → chunk-4PRMQKAK.cjs} +75 -73
- package/dist/chunk-4PRMQKAK.cjs.map +1 -0
- package/dist/{chunk-PZGOK2OC.js → chunk-5DPCASIW.js} +2 -2
- package/dist/{chunk-SEAKHM72.js → chunk-67XL4FMM.js} +2 -2
- package/dist/{chunk-DMYAVVD7.cjs → chunk-74T6MVF7.cjs} +7 -7
- package/dist/{chunk-DMYAVVD7.cjs.map → chunk-74T6MVF7.cjs.map} +1 -1
- package/dist/{chunk-VP4ZY2RA.js → chunk-7RPM4KRD.js} +49 -85
- package/dist/{chunk-VP4ZY2RA.js.map → chunk-7RPM4KRD.js.map} +1 -1
- package/dist/{chunk-4JDQXYFI.cjs → chunk-AF6W3O2N.cjs} +14 -14
- package/dist/{chunk-4JDQXYFI.cjs.map → chunk-AF6W3O2N.cjs.map} +1 -1
- package/dist/{chunk-JIAZRPQG.cjs → chunk-D5K5EHBR.cjs} +11 -11
- package/dist/{chunk-JIAZRPQG.cjs.map → chunk-D5K5EHBR.cjs.map} +1 -1
- package/dist/{chunk-FT5PZQVK.js → chunk-DR3MJCFM.js} +5 -5
- package/dist/{chunk-IRZHAWRW.cjs → chunk-ERP5RN6B.cjs} +4 -4
- package/dist/{chunk-IRZHAWRW.cjs.map → chunk-ERP5RN6B.cjs.map} +1 -1
- package/dist/{chunk-4IOPSFHF.cjs → chunk-EYL5Q7QI.cjs} +37 -37
- package/dist/{chunk-4IOPSFHF.cjs.map → chunk-EYL5Q7QI.cjs.map} +1 -1
- package/dist/{chunk-OLUROGWG.cjs → chunk-FZF5QY7O.cjs} +31 -31
- package/dist/{chunk-OLUROGWG.cjs.map → chunk-FZF5QY7O.cjs.map} +1 -1
- package/dist/{chunk-WFG72MKN.cjs → chunk-HABTZJ5S.cjs} +28 -26
- package/dist/chunk-HABTZJ5S.cjs.map +1 -0
- package/dist/{chunk-LOSJMXB7.cjs → chunk-HMRPSDDQ.cjs} +9 -9
- package/dist/{chunk-LOSJMXB7.cjs.map → chunk-HMRPSDDQ.cjs.map} +1 -1
- package/dist/{chunk-FMH3YY4H.js → chunk-HOMBXWT5.js} +2 -2
- package/dist/{chunk-QW36SYRQ.js → chunk-HZCGR4TA.js} +2 -2
- package/dist/{chunk-UL5EGPMV.js → chunk-LNMWDIIJ.js} +4 -4
- package/dist/{chunk-DVBUNH46.cjs → chunk-LYH3DPK3.cjs} +5 -5
- package/dist/{chunk-DVBUNH46.cjs.map → chunk-LYH3DPK3.cjs.map} +1 -1
- package/dist/{chunk-QEXFM2QX.js → chunk-MNDO73RD.js} +2 -2
- package/dist/{chunk-2GRFWONP.js → chunk-MSDEKLLM.js} +2 -2
- package/dist/{chunk-WNNZFBMS.js → chunk-N2LJBBQQ.js} +6 -4
- package/dist/{chunk-WNNZFBMS.js.map → chunk-N2LJBBQQ.js.map} +1 -1
- package/dist/{chunk-CE2GROZZ.cjs → chunk-QOZOU6M4.cjs} +562 -598
- package/dist/{chunk-CE2GROZZ.cjs.map → chunk-QOZOU6M4.cjs.map} +1 -1
- package/dist/{chunk-Y22S7NE3.js → chunk-R3QMKCGX.js} +9 -7
- package/dist/chunk-R3QMKCGX.js.map +1 -0
- package/dist/{chunk-QDO7Y54S.js → chunk-RDWDWUO2.js} +2 -2
- package/dist/{chunk-J2Z53KRG.js → chunk-U5PYLGAK.js} +2 -2
- package/dist/{chunk-AKZY45LV.js → chunk-VHTQSY6C.js} +2 -2
- package/dist/{chunk-FLSI72M2.cjs → chunk-VWJBF3BN.cjs} +3 -3
- package/dist/{chunk-FLSI72M2.cjs.map → chunk-VWJBF3BN.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +8 -8
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/chat/types/entities/onboarding-guide.d.ts +1 -0
- package/dist/components/chat/types/entities/onboarding-guide.d.ts.map +1 -1
- 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/index.cjs +3 -3
- package/dist/components/embeds/index.js +2 -2
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/captions-url.cjs +3 -2
- package/dist/components/features/captions-url.cjs.map +1 -1
- package/dist/components/features/captions-url.d.ts +8 -1
- package/dist/components/features/captions-url.d.ts.map +1 -1
- package/dist/components/features/captions-url.js +3 -2
- package/dist/components/features/captions-url.js.map +1 -1
- package/dist/components/features/entity-video-section.d.ts +7 -1
- package/dist/components/features/entity-video-section.d.ts.map +1 -1
- package/dist/components/features/highlight-config-section.d.ts +4 -6
- package/dist/components/features/highlight-config-section.d.ts.map +1 -1
- package/dist/components/features/highlight-video-combined-section.d.ts +1 -5
- package/dist/components/features/highlight-video-combined-section.d.ts.map +1 -1
- package/dist/components/features/highlight-video-section.d.ts +1 -5
- package/dist/components/features/highlight-video-section.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 +132 -132
- package/dist/components/index.js +11 -11
- package/dist/components/meeting-scheduler/index.cjs +34 -34
- 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/onboarding-guides/onboarding-guide-detail-view.d.ts.map +1 -1
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/shared/product-release/release-detail-page.d.ts +2 -0
- package/dist/components/shared/product-release/release-detail-page.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/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/types/customer-interview.d.ts +0 -2
- package/dist/types/customer-interview.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/types/entities/onboarding-guide.ts +1 -0
- package/src/components/features/captions-url.ts +10 -1
- package/src/components/features/entity-video-section.tsx +9 -0
- package/src/components/features/highlight-config-section.tsx +3 -20
- package/src/components/features/highlight-video-combined-section.tsx +0 -8
- package/src/components/features/highlight-video-section.tsx +0 -19
- package/src/components/onboarding-guides/onboarding-guide-detail-view.tsx +2 -0
- package/src/components/shared/product-release/release-detail-page.tsx +4 -0
- package/src/types/customer-interview.ts +0 -2
- package/dist/chunk-BETH6QZC.cjs.map +0 -1
- package/dist/chunk-WFG72MKN.cjs.map +0 -1
- package/dist/chunk-Y22S7NE3.js.map +0 -1
- /package/dist/{chunk-PZGOK2OC.js.map → chunk-5DPCASIW.js.map} +0 -0
- /package/dist/{chunk-SEAKHM72.js.map → chunk-67XL4FMM.js.map} +0 -0
- /package/dist/{chunk-FT5PZQVK.js.map → chunk-DR3MJCFM.js.map} +0 -0
- /package/dist/{chunk-FMH3YY4H.js.map → chunk-HOMBXWT5.js.map} +0 -0
- /package/dist/{chunk-QW36SYRQ.js.map → chunk-HZCGR4TA.js.map} +0 -0
- /package/dist/{chunk-UL5EGPMV.js.map → chunk-LNMWDIIJ.js.map} +0 -0
- /package/dist/{chunk-QEXFM2QX.js.map → chunk-MNDO73RD.js.map} +0 -0
- /package/dist/{chunk-2GRFWONP.js.map → chunk-MSDEKLLM.js.map} +0 -0
- /package/dist/{chunk-QDO7Y54S.js.map → chunk-RDWDWUO2.js.map} +0 -0
- /package/dist/{chunk-J2Z53KRG.js.map → chunk-U5PYLGAK.js.map} +0 -0
- /package/dist/{chunk-AKZY45LV.js.map → chunk-VHTQSY6C.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 _chunkVWJBF3BNcjs = require('./chunk-VWJBF3BN.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkAF6W3O2Ncjs = require('./chunk-AF6W3O2N.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkERP5RN6Bcjs = require('./chunk-ERP5RN6B.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkLYH3DPK3cjs = require('./chunk-LYH3DPK3.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
var _chunk4QYUNDS3cjs = require('./chunk-4QYUNDS3.cjs');
|
|
@@ -45,7 +45,7 @@ var _chunk4QYUNDS3cjs = require('./chunk-4QYUNDS3.cjs');
|
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
var
|
|
48
|
+
var _chunkQOZOU6M4cjs = require('./chunk-QOZOU6M4.cjs');
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
|
|
@@ -76,8 +76,8 @@ var _chunkKI4EGKNVcjs = require('./chunk-KI4EGKNV.cjs');
|
|
|
76
76
|
_chunkKI4EGKNVcjs.init_cn.call(void 0, );
|
|
77
77
|
var _jsxruntime = require('react/jsx-runtime');
|
|
78
78
|
var DEFAULT_ENDPOINT = "/api/releases";
|
|
79
|
-
var DEFAULT_SEARCH_PARAM_KEY =
|
|
80
|
-
var DEFAULT_STATUS_PARAM_KEY =
|
|
79
|
+
var DEFAULT_SEARCH_PARAM_KEY = _chunkQOZOU6M4cjs.DEV_SECTION_PARAM_KEYS.search;
|
|
80
|
+
var DEFAULT_STATUS_PARAM_KEY = _chunkQOZOU6M4cjs.DEV_SECTION_PARAM_KEYS.releaseStatus;
|
|
81
81
|
var DEFAULT_PAGE_PARAM_KEY = "page";
|
|
82
82
|
function ReleaseRow({
|
|
83
83
|
release,
|
|
@@ -86,17 +86,17 @@ function ReleaseRow({
|
|
|
86
86
|
}) {
|
|
87
87
|
const runtime = _chunk7OPWSWEJcjs.useChatRuntime.call(void 0, );
|
|
88
88
|
const router = _chunkSSJNN5BScjs.useRouter.call(void 0, );
|
|
89
|
-
const cta =
|
|
89
|
+
const cta = _chunkQOZOU6M4cjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _2 => _2.composeContentUrl]), {
|
|
90
90
|
type: "product_release",
|
|
91
91
|
slug: release.slug,
|
|
92
92
|
basePath,
|
|
93
93
|
platforms: release.product_release_platforms
|
|
94
94
|
});
|
|
95
|
-
const { target, rel } =
|
|
95
|
+
const { target, rel } = _chunkQOZOU6M4cjs.useEntityCardLink.call(void 0, { href: cta.href, targetPlatform: cta.targetPlatform });
|
|
96
96
|
const onClick = (e) => {
|
|
97
|
-
if (e.defaultPrevented ||
|
|
97
|
+
if (e.defaultPrevented || _chunkQOZOU6M4cjs.isModifierClick.call(void 0, e) || target === "_blank") return;
|
|
98
98
|
e.preventDefault();
|
|
99
|
-
|
|
99
|
+
_chunkQOZOU6M4cjs.executeNavigationImperative.call(void 0, {
|
|
100
100
|
runtime,
|
|
101
101
|
href: cta.href,
|
|
102
102
|
targetPlatform: cta.targetPlatform,
|
|
@@ -104,7 +104,7 @@ function ReleaseRow({
|
|
|
104
104
|
});
|
|
105
105
|
};
|
|
106
106
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
107
|
-
|
|
107
|
+
_chunkQOZOU6M4cjs.ProductReleaseCard,
|
|
108
108
|
{
|
|
109
109
|
size: "lg",
|
|
110
110
|
title: release.title,
|
|
@@ -120,7 +120,7 @@ function ProductReleasesView({
|
|
|
120
120
|
initialData,
|
|
121
121
|
itemsPerPage = 5,
|
|
122
122
|
basePath = "/releases",
|
|
123
|
-
buildCardProps =
|
|
123
|
+
buildCardProps = _chunkQOZOU6M4cjs.buildProductReleaseCardProps,
|
|
124
124
|
searchParamKey = DEFAULT_SEARCH_PARAM_KEY,
|
|
125
125
|
statusParamKey = DEFAULT_STATUS_PARAM_KEY,
|
|
126
126
|
pageParamKey = DEFAULT_PAGE_PARAM_KEY,
|
|
@@ -158,10 +158,10 @@ function ProductReleasesView({
|
|
|
158
158
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
159
159
|
};
|
|
160
160
|
if (error) {
|
|
161
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkKI4EGKNVcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
161
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkKI4EGKNVcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQOZOU6M4cjs.LoadError, { message: "Failed to load releases.", onRetry: reload }) });
|
|
162
162
|
}
|
|
163
163
|
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,
|
|
164
|
-
|
|
164
|
+
_chunkERP5RN6Bcjs.EmptyState,
|
|
165
165
|
{
|
|
166
166
|
type: "search",
|
|
167
167
|
title: "No releases found",
|
|
@@ -171,7 +171,7 @@ function ProductReleasesView({
|
|
|
171
171
|
onCtaClick: resetFilters
|
|
172
172
|
}
|
|
173
173
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
174
|
-
|
|
174
|
+
_chunkERP5RN6Bcjs.EmptyState,
|
|
175
175
|
{
|
|
176
176
|
type: "generic",
|
|
177
177
|
title: "No releases available",
|
|
@@ -186,13 +186,13 @@ function ProductReleasesView({
|
|
|
186
186
|
"div",
|
|
187
187
|
{
|
|
188
188
|
style: { visibility: isLoading || hasData ? "visible" : "hidden" },
|
|
189
|
-
children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
189
|
+
children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQOZOU6M4cjs.ProductReleaseCardSkeleton, { size: "lg" }) : release ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReleaseRow, { release, basePath, buildCardProps }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQOZOU6M4cjs.ProductReleaseCardSkeleton, { size: "lg" })
|
|
190
190
|
},
|
|
191
191
|
_nullishCoalesce(_optionalChain([release, 'optionalAccess', _5 => _5.id]), () => ( `slot-${i}`))
|
|
192
192
|
);
|
|
193
193
|
}) }),
|
|
194
194
|
/* @__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,
|
|
195
|
-
|
|
195
|
+
_chunkVWJBF3BNcjs.PersistentPaginationWrapper,
|
|
196
196
|
{
|
|
197
197
|
isLoading: false,
|
|
198
198
|
currentPage,
|
|
@@ -234,10 +234,10 @@ function MediaGalleryStrip({ items, className }) {
|
|
|
234
234
|
mediaItem.id || index
|
|
235
235
|
);
|
|
236
236
|
}
|
|
237
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: tileClass, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
237
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: tileClass, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQOZOU6M4cjs.Video, { url: mediaItem.media_url, layout: "native" }) }, mediaItem.id || index);
|
|
238
238
|
}) }),
|
|
239
239
|
galleryImages.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
240
|
-
|
|
240
|
+
_chunkQOZOU6M4cjs.ImageGalleryModal,
|
|
241
241
|
{
|
|
242
242
|
images: galleryImages,
|
|
243
243
|
isOpen: galleryOpen,
|
|
@@ -254,7 +254,7 @@ _chunkSSJNN5BScjs.init_next_navigation.call(void 0, );
|
|
|
254
254
|
|
|
255
255
|
var _lucidereact = require('lucide-react');
|
|
256
256
|
|
|
257
|
-
var DefaultMarkdownRenderer =
|
|
257
|
+
var DefaultMarkdownRenderer = _chunkQOZOU6M4cjs.RichMarkdownRenderer;
|
|
258
258
|
function ReleaseDetailPage({
|
|
259
259
|
authorHref,
|
|
260
260
|
slug,
|
|
@@ -271,7 +271,7 @@ function ReleaseDetailPage({
|
|
|
271
271
|
shell = true
|
|
272
272
|
}) {
|
|
273
273
|
const router = _chunkSSJNN5BScjs.useRouter.call(void 0, );
|
|
274
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
274
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQOZOU6M4cjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
275
275
|
const { data: fetchedRelease, error, isLoading } = useRelease(initialData ? void 0 : slug);
|
|
276
276
|
const release = initialData || fetchedRelease;
|
|
277
277
|
const showBackButton = backButton !== false;
|
|
@@ -315,7 +315,7 @@ function ReleaseDetailPage({
|
|
|
315
315
|
return renderShell(
|
|
316
316
|
// Match the loaded page's top offset (TitleBlock's
|
|
317
317
|
// `pt-[var(--spacing-system-l)]`) so content doesn't jump on load.
|
|
318
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
318
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLYH3DPK3cjs.DetailPageSkeleton, { bare: true, metadataColumns: 4, showImageGallery: true }) })
|
|
319
319
|
);
|
|
320
320
|
}
|
|
321
321
|
if (error || !release) {
|
|
@@ -351,7 +351,7 @@ function ReleaseDetailPage({
|
|
|
351
351
|
const improvements = release.improvements;
|
|
352
352
|
return renderShell(
|
|
353
353
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
354
|
-
|
|
354
|
+
_chunkQOZOU6M4cjs.PageLayout,
|
|
355
355
|
{
|
|
356
356
|
title: releaseTitle,
|
|
357
357
|
subtitle: `Version: ${releaseVersion}`,
|
|
@@ -360,7 +360,7 @@ function ReleaseDetailPage({
|
|
|
360
360
|
backButton: showBackButton ? { label: backLabel, onClick: () => router.push(backHref) } : void 0,
|
|
361
361
|
children: [
|
|
362
362
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-6 md:space-y-8", children: [
|
|
363
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
363
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQOZOU6M4cjs.EntityTagBadges, { tags: release.product_release_tags }),
|
|
364
364
|
/* @__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: [
|
|
365
365
|
/* @__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: [
|
|
366
366
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-primary", children: releaseType.toLocaleUpperCase() }),
|
|
@@ -371,11 +371,11 @@ function ReleaseDetailPage({
|
|
|
371
371
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 text-ods-text-secondary", children: "Release Status" })
|
|
372
372
|
] }) }),
|
|
373
373
|
/* @__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: [
|
|
374
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-primary", children:
|
|
374
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-primary", children: _chunkQOZOU6M4cjs.formatReleaseDate.call(void 0, releaseDate) }),
|
|
375
375
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 text-ods-text-secondary", children: "Release Date" })
|
|
376
376
|
] }) }),
|
|
377
377
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
378
|
-
|
|
378
|
+
_chunkQOZOU6M4cjs.EntityMetadataAuthorCell,
|
|
379
379
|
{
|
|
380
380
|
author: _nullishCoalesce(author, () => ( { full_name: null, avatar_url: null })),
|
|
381
381
|
authorHref: _optionalChain([author, 'optionalAccess', _6 => _6.full_name]) ? authorHref : void 0
|
|
@@ -393,16 +393,17 @@ function ReleaseDetailPage({
|
|
|
393
393
|
highlightVideoThumbnail,
|
|
394
394
|
title: releaseTitle,
|
|
395
395
|
videoBites,
|
|
396
|
-
bitesTitle:
|
|
396
|
+
bitesTitle: _chunkQOZOU6M4cjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
397
397
|
filterPublishedBites: true,
|
|
398
|
-
bitesProfile:
|
|
398
|
+
bitesProfile: _chunkQOZOU6M4cjs.toStripProfile.call(void 0, author),
|
|
399
399
|
bitesHref: typeof release.slug === "string" ? `/releases/${release.slug}` : void 0,
|
|
400
400
|
srtContent: _optionalChain([release, 'optionalAccess', _7 => _7.srt_content]),
|
|
401
|
-
captionsUrl: _optionalChain([release, 'optionalAccess', _8 => _8.captionsUrl])
|
|
401
|
+
captionsUrl: _optionalChain([release, 'optionalAccess', _8 => _8.captionsUrl]),
|
|
402
|
+
highlightCaptionsUrl: _optionalChain([release, 'optionalAccess', _9 => _9.highlightCaptionsUrl])
|
|
402
403
|
}
|
|
403
404
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
404
405
|
youtubeUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
405
|
-
|
|
406
|
+
_chunkQOZOU6M4cjs.Video,
|
|
406
407
|
{
|
|
407
408
|
kind: "youtube",
|
|
408
409
|
url: youtubeUrl,
|
|
@@ -411,25 +412,26 @@ function ReleaseDetailPage({
|
|
|
411
412
|
}
|
|
412
413
|
),
|
|
413
414
|
!youtubeUrl && mainVideoUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
414
|
-
|
|
415
|
+
_chunkQOZOU6M4cjs.Video,
|
|
415
416
|
{
|
|
416
417
|
url: mainVideoUrl,
|
|
417
|
-
srtContent: _optionalChain([release, 'optionalAccess',
|
|
418
|
-
captionsUrl: _optionalChain([release, 'optionalAccess',
|
|
418
|
+
srtContent: _optionalChain([release, 'optionalAccess', _10 => _10.srt_content]),
|
|
419
|
+
captionsUrl: _optionalChain([release, 'optionalAccess', _11 => _11.captionsUrl]),
|
|
419
420
|
layout: "centered"
|
|
420
421
|
}
|
|
421
422
|
),
|
|
422
423
|
highlightVideoUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
423
|
-
|
|
424
|
+
_chunkQOZOU6M4cjs.Video,
|
|
424
425
|
{
|
|
425
426
|
url: highlightVideoUrl,
|
|
426
427
|
poster: highlightVideoThumbnail,
|
|
428
|
+
captionsUrl: _optionalChain([release, 'optionalAccess', _12 => _12.highlightCaptionsUrl]),
|
|
427
429
|
layout: "centered"
|
|
428
430
|
}
|
|
429
431
|
)
|
|
430
432
|
] }),
|
|
431
433
|
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 }) }),
|
|
432
|
-
hasBreakingChanges && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
434
|
+
hasBreakingChanges && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQOZOU6M4cjs.Card, { className: "border-ods-error bg-ods-error/10", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQOZOU6M4cjs.CardContent, { className: "p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
433
435
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-6 w-6 text-ods-error" }),
|
|
434
436
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
435
437
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-h3 text-ods-error", children: "Breaking Changes" }),
|
|
@@ -437,7 +439,7 @@ function ReleaseDetailPage({
|
|
|
437
439
|
] })
|
|
438
440
|
] }) }) }),
|
|
439
441
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
440
|
-
|
|
442
|
+
_chunkQOZOU6M4cjs.ReleaseChangelogSection,
|
|
441
443
|
{
|
|
442
444
|
title: "Breaking Changes",
|
|
443
445
|
entries: breakingChanges || [],
|
|
@@ -448,7 +450,7 @@ function ReleaseDetailPage({
|
|
|
448
450
|
}
|
|
449
451
|
),
|
|
450
452
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
451
|
-
|
|
453
|
+
_chunkQOZOU6M4cjs.ReleaseChangelogSection,
|
|
452
454
|
{
|
|
453
455
|
title: "Features Added",
|
|
454
456
|
entries: featuresAdded || [],
|
|
@@ -458,7 +460,7 @@ function ReleaseDetailPage({
|
|
|
458
460
|
}
|
|
459
461
|
),
|
|
460
462
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
461
|
-
|
|
463
|
+
_chunkQOZOU6M4cjs.ReleaseChangelogSection,
|
|
462
464
|
{
|
|
463
465
|
title: "Bugs Fixed",
|
|
464
466
|
entries: bugFixed || [],
|
|
@@ -468,7 +470,7 @@ function ReleaseDetailPage({
|
|
|
468
470
|
}
|
|
469
471
|
),
|
|
470
472
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
471
|
-
|
|
473
|
+
_chunkQOZOU6M4cjs.ReleaseChangelogSection,
|
|
472
474
|
{
|
|
473
475
|
title: "Improvements",
|
|
474
476
|
entries: improvements || [],
|
|
@@ -499,7 +501,7 @@ function ReleaseDetailPage({
|
|
|
499
501
|
(() => {
|
|
500
502
|
const deliveryCount = deliveryData ? deliveryData.completed.length + deliveryData.inProgress.length : 0;
|
|
501
503
|
return deliveryLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliverySection, { data: deliveryData, isLoading: deliveryLoading }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
502
|
-
|
|
504
|
+
_chunkQOZOU6M4cjs.FadePreview,
|
|
503
505
|
{
|
|
504
506
|
hiddenCount: deliveryCount - 1,
|
|
505
507
|
collapsedHeight: 300,
|
|
@@ -509,9 +511,9 @@ function ReleaseDetailPage({
|
|
|
509
511
|
);
|
|
510
512
|
})()
|
|
511
513
|
] }),
|
|
512
|
-
(_optionalChain([githubReleases, 'optionalAccess',
|
|
514
|
+
(_optionalChain([githubReleases, 'optionalAccess', _13 => _13.length]) || _optionalChain([knowledgeBaseLinks, 'optionalAccess', _14 => _14.length]) || migrationGuideUrl || documentationUrl) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1 w-full", children: [
|
|
513
515
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h5 tracking-[-0.28px] text-ods-text-secondary", children: "Related Links" }),
|
|
514
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
516
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQOZOU6M4cjs.Card, { className: "bg-ods-card border-ods-border p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
515
517
|
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: [
|
|
516
518
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3M2MFP2Ycjs.GitHubIcon, { className: "shrink-0", width: 24, height: 24, color: "var(--color-text-secondary)" }),
|
|
517
519
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h4 text-ods-text-primary", children: "Github Release" }),
|
|
@@ -538,7 +540,7 @@ function ReleaseDetailPage({
|
|
|
538
540
|
{
|
|
539
541
|
href: path.startsWith("http") ? path : `/knowledge-base${path.startsWith("/") ? "" : "/"}${path}`,
|
|
540
542
|
className: "text-h4 text-ods-accent hover:underline",
|
|
541
|
-
children: _optionalChain([path, 'access',
|
|
543
|
+
children: _optionalChain([path, 'access', _15 => _15.replace, 'call', _16 => _16(/^\//, ""), 'access', _17 => _17.split, 'call', _18 => _18("/"), 'access', _19 => _19.pop, 'call', _20 => _20(), 'optionalAccess', _21 => _21.replace, 'call', _22 => _22(/-/g, " ")]) || "View Article"
|
|
542
544
|
}
|
|
543
545
|
),
|
|
544
546
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-6 w-6 text-ods-accent shrink-0" })
|
|
@@ -585,7 +587,7 @@ function ReleaseDetailPage({
|
|
|
585
587
|
// src/components/shared/product-release/release-detail-skeleton.tsx
|
|
586
588
|
|
|
587
589
|
function ReleaseDetailSkeleton() {
|
|
588
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
590
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLYH3DPK3cjs.DetailPageSkeleton, { metadataColumns: 4, showImageGallery: true });
|
|
589
591
|
}
|
|
590
592
|
|
|
591
593
|
// src/components/shared/roadmap/use-roadmap-voting.ts
|
|
@@ -746,10 +748,10 @@ function RoadmapGridSingle({
|
|
|
746
748
|
// `useScrollToHash` in `roadmap-view.tsx` finds the card by id
|
|
747
749
|
// and scrolls.
|
|
748
750
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
749
|
-
|
|
751
|
+
_chunkQOZOU6M4cjs.RoadmapCard,
|
|
750
752
|
{
|
|
751
753
|
item,
|
|
752
|
-
id:
|
|
754
|
+
id: _chunkQOZOU6M4cjs.devSectionAnchorId.call(void 0, "roadmap", item.id),
|
|
753
755
|
userVote: getVote(item.id),
|
|
754
756
|
onVote: (voteType) => onVote(item.id, voteType),
|
|
755
757
|
isVoting: votingTasks.has(item.id)
|
|
@@ -829,7 +831,7 @@ function RoadmapGrid({
|
|
|
829
831
|
}, [hasActiveFilters, sortedQuartersKey, isInitialized, quartersToKeepClosed]);
|
|
830
832
|
if (items.length === 0) {
|
|
831
833
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
832
|
-
|
|
834
|
+
_chunkERP5RN6Bcjs.EmptyState,
|
|
833
835
|
{
|
|
834
836
|
type: "generic",
|
|
835
837
|
title: "No roadmap items",
|
|
@@ -850,23 +852,23 @@ function RoadmapGrid({
|
|
|
850
852
|
);
|
|
851
853
|
}
|
|
852
854
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
853
|
-
|
|
855
|
+
_chunkQOZOU6M4cjs.Accordion,
|
|
854
856
|
{
|
|
855
857
|
type: "multiple",
|
|
856
858
|
value: expandedQuarters,
|
|
857
859
|
onValueChange: setExpandedQuarters,
|
|
858
860
|
className: "flex flex-col gap-10",
|
|
859
861
|
children: sortedQuarters.map((quarter) => {
|
|
860
|
-
const itemCount = _optionalChain([itemsByQuarter, 'access',
|
|
862
|
+
const itemCount = _optionalChain([itemsByQuarter, 'access', _23 => _23[quarter], 'optionalAccess', _24 => _24.length]) || 0;
|
|
861
863
|
const isExpanded = expandedQuarters.includes(quarter);
|
|
862
864
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
863
|
-
|
|
865
|
+
_chunkQOZOU6M4cjs.AccordionItem,
|
|
864
866
|
{
|
|
865
867
|
value: quarter,
|
|
866
868
|
id: `quarter-${quarter.replace(/\s+/g, "-").toLowerCase()}`,
|
|
867
869
|
className: "border-0",
|
|
868
870
|
children: [
|
|
869
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
871
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQOZOU6M4cjs.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: [
|
|
870
872
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
871
873
|
"h3",
|
|
872
874
|
{
|
|
@@ -896,7 +898,7 @@ function RoadmapGrid({
|
|
|
896
898
|
}
|
|
897
899
|
)
|
|
898
900
|
] }) }),
|
|
899
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
901
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQOZOU6M4cjs.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,
|
|
900
902
|
RoadmapGridSingle,
|
|
901
903
|
{
|
|
902
904
|
items: itemsByQuarter[quarter],
|
|
@@ -947,8 +949,8 @@ function RoadmapGridSkeleton({ count = 4, showLeftMargin = true }) {
|
|
|
947
949
|
|
|
948
950
|
|
|
949
951
|
var DEFAULT_ENDPOINT2 = "/api/roadmap";
|
|
950
|
-
var DEFAULT_SEARCH_PARAM_KEY2 =
|
|
951
|
-
var DEFAULT_STATUS_PARAM_KEY2 =
|
|
952
|
+
var DEFAULT_SEARCH_PARAM_KEY2 = _chunkQOZOU6M4cjs.DEV_SECTION_PARAM_KEYS.search;
|
|
953
|
+
var DEFAULT_STATUS_PARAM_KEY2 = _chunkQOZOU6M4cjs.DEV_SECTION_PARAM_KEYS.status;
|
|
952
954
|
function RoadmapView({
|
|
953
955
|
endpoint = DEFAULT_ENDPOINT2,
|
|
954
956
|
initialItems,
|
|
@@ -971,10 +973,10 @@ function RoadmapView({
|
|
|
971
973
|
url,
|
|
972
974
|
{ initialData }
|
|
973
975
|
);
|
|
974
|
-
const items = _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
976
|
+
const items = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _25 => _25.items]), () => ( []));
|
|
975
977
|
_chunk5RJUHUCIcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunk5RJUHUCIcjs.STICKY_HEADER_OFFSET_PX });
|
|
976
978
|
if (error) {
|
|
977
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
979
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQOZOU6M4cjs.LoadError, { message: "Failed to load roadmap.", onRetry: reload });
|
|
978
980
|
}
|
|
979
981
|
if (isLoading && !data) {
|
|
980
982
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapGridSkeleton, { showLeftMargin });
|
|
@@ -1031,7 +1033,7 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1031
1033
|
"div",
|
|
1032
1034
|
{
|
|
1033
1035
|
className: "border-b border-ods-border last:border-b-0",
|
|
1034
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1036
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAF6W3O2Ncjs.DeliveryRow, { item, id: _chunkQOZOU6M4cjs.devSectionAnchorId.call(void 0, "delivery", item.id) })
|
|
1035
1037
|
},
|
|
1036
1038
|
item.id
|
|
1037
1039
|
)
|
|
@@ -1043,8 +1045,8 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1043
1045
|
|
|
1044
1046
|
var DEFAULT_COMPLETED_ENDPOINT = "/api/delivery/completed";
|
|
1045
1047
|
var DEFAULT_IN_PROGRESS_ENDPOINT = "/api/delivery/in-progress";
|
|
1046
|
-
var DEFAULT_SEARCH_PARAM_KEY3 =
|
|
1047
|
-
var DEFAULT_TASK_TYPE_PARAM_KEY =
|
|
1048
|
+
var DEFAULT_SEARCH_PARAM_KEY3 = _chunkQOZOU6M4cjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1049
|
+
var DEFAULT_TASK_TYPE_PARAM_KEY = _chunkQOZOU6M4cjs.DEV_SECTION_PARAM_KEYS.deliveryTaskType;
|
|
1048
1050
|
function DeliveryLists({
|
|
1049
1051
|
completedApiEndpoint = DEFAULT_COMPLETED_ENDPOINT,
|
|
1050
1052
|
inProgressApiEndpoint = DEFAULT_IN_PROGRESS_ENDPOINT,
|
|
@@ -1097,19 +1099,19 @@ function DeliveryLists({
|
|
|
1097
1099
|
}
|
|
1098
1100
|
fetchDeliveryData();
|
|
1099
1101
|
}, [searchQuery, taskTypeFilter, completedApiEndpoint, inProgressApiEndpoint, searchParamKey, taskTypeParamKey]);
|
|
1100
|
-
const filteredCompleted = _optionalChain([data, 'optionalAccess',
|
|
1101
|
-
const filteredInProgress = _optionalChain([data, 'optionalAccess',
|
|
1102
|
+
const filteredCompleted = _optionalChain([data, 'optionalAccess', _26 => _26.completed]) || [];
|
|
1103
|
+
const filteredInProgress = _optionalChain([data, 'optionalAccess', _27 => _27.inProgress]) || [];
|
|
1102
1104
|
_chunk5RJUHUCIcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunk5RJUHUCIcjs.STICKY_HEADER_OFFSET_PX });
|
|
1103
1105
|
const showCompleted = true;
|
|
1104
1106
|
const showInProgress = true;
|
|
1105
1107
|
const hasActiveFilters = searchQuery !== "" || taskTypeFilter !== "all";
|
|
1106
1108
|
const hasResults = showCompleted && filteredCompleted.length > 0 || showInProgress && filteredInProgress.length > 0;
|
|
1107
1109
|
if (error) {
|
|
1108
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1110
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQOZOU6M4cjs.LoadError, { message: error, onRetry: () => window.location.reload() }) });
|
|
1109
1111
|
}
|
|
1110
1112
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full flex flex-col gap-[40px]", children: [
|
|
1111
1113
|
!isLoading && !hasResults && (hasActiveFilters ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1112
|
-
|
|
1114
|
+
_chunkERP5RN6Bcjs.EmptyState,
|
|
1113
1115
|
{
|
|
1114
1116
|
type: "search",
|
|
1115
1117
|
title: "No tasks found",
|
|
@@ -1124,7 +1126,7 @@ function DeliveryLists({
|
|
|
1124
1126
|
}
|
|
1125
1127
|
}
|
|
1126
1128
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1127
|
-
|
|
1129
|
+
_chunkERP5RN6Bcjs.EmptyState,
|
|
1128
1130
|
{
|
|
1129
1131
|
type: "generic",
|
|
1130
1132
|
title: "No tasks available",
|
|
@@ -1226,21 +1228,21 @@ function LegalDocumentPage({
|
|
|
1226
1228
|
initialData = null,
|
|
1227
1229
|
initialLastUpdatedLabel = null,
|
|
1228
1230
|
apiEndpoint,
|
|
1229
|
-
MarkdownRenderer =
|
|
1231
|
+
MarkdownRenderer = _chunkQOZOU6M4cjs.RichMarkdownRenderer,
|
|
1230
1232
|
backButton,
|
|
1231
1233
|
shell = true
|
|
1232
1234
|
}) {
|
|
1233
1235
|
const router = _chunkSSJNN5BScjs.useRouter.call(void 0, );
|
|
1234
1236
|
const { data, isLoading, error } = useLegalDocs(docType, { initialData, apiEndpoint });
|
|
1235
1237
|
const backCfg = backButton === false ? void 0 : {
|
|
1236
|
-
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess',
|
|
1237
|
-
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess',
|
|
1238
|
+
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _28 => _28.label]), () => ( "Back to home")),
|
|
1239
|
+
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _29 => _29.href]), () => ( "/")))
|
|
1238
1240
|
};
|
|
1239
|
-
const fallbackLastUpdatedLabel = _optionalChain([data, 'optionalAccess',
|
|
1241
|
+
const fallbackLastUpdatedLabel = _optionalChain([data, 'optionalAccess', _30 => _30.lastSynced]) != null ? _chunkQOZOU6M4cjs.formatLegalDate.call(void 0, data.lastSynced) : null;
|
|
1240
1242
|
const effectiveLastUpdatedLabel = _nullishCoalesce(initialLastUpdatedLabel, () => ( fallbackLastUpdatedLabel));
|
|
1241
1243
|
const subtitle = effectiveLastUpdatedLabel ? `Last Updated: ${effectiveLastUpdatedLabel}` : fallbackDescription;
|
|
1242
|
-
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1243
|
-
_optionalChain([data, 'optionalAccess',
|
|
1244
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQOZOU6M4cjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: [
|
|
1245
|
+
_optionalChain([data, 'optionalAccess', _31 => _31.sourceFile]) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-h6 text-ods-text-secondary opacity-75", children: [
|
|
1244
1246
|
"Source: ",
|
|
1245
1247
|
data.sourceFile
|
|
1246
1248
|
] }),
|
|
@@ -1286,7 +1288,7 @@ function LegalDocumentPage({
|
|
|
1286
1288
|
] })
|
|
1287
1289
|
] }) }) }) }) })
|
|
1288
1290
|
] });
|
|
1289
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1291
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQOZOU6M4cjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
1290
1292
|
}
|
|
1291
1293
|
|
|
1292
1294
|
|
|
@@ -1303,4 +1305,4 @@ function LegalDocumentPage({
|
|
|
1303
1305
|
|
|
1304
1306
|
|
|
1305
1307
|
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;
|
|
1306
|
-
//# sourceMappingURL=chunk-
|
|
1308
|
+
//# sourceMappingURL=chunk-4PRMQKAK.cjs.map
|