@flamingo-stack/openframe-frontend-core 0.0.764 → 0.0.765
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-RYSNH2VY.cjs → chunk-2OPYWMAV.cjs} +25 -25
- package/dist/{chunk-JD7CL2I6.cjs → chunk-2Y36SQSZ.cjs} +4 -4
- package/dist/{chunk-JJ2S6C5U.cjs → chunk-B3W7RCQF.cjs} +16 -16
- package/dist/{chunk-7GUWPGB4.cjs → chunk-BVA7YX4P.cjs} +16 -16
- package/dist/{chunk-VL6IXTAI.cjs → chunk-FMH2DYBC.cjs} +178 -178
- package/dist/{chunk-FQWBIKF4.cjs → chunk-JB424IQK.cjs} +15 -15
- package/dist/{chunk-ZG6F5A3A.cjs → chunk-MDB65HQC.cjs} +15 -15
- package/dist/{chunk-5AV5R5RC.cjs → chunk-PYK4ZSEZ.cjs} +2 -2
- package/dist/{chunk-XFNWHCRM.cjs → chunk-QQ7LKNNP.cjs} +3 -3
- package/dist/{chunk-IDGOMHTC.cjs → chunk-RQQVN7LC.cjs} +33 -33
- package/dist/{chunk-RM6AHNM4.cjs → chunk-UI2TLQWA.cjs} +2 -2
- package/dist/{chunk-LNGR4DXA.cjs → chunk-VLJFAGMR.cjs} +7 -7
- package/dist/{chunk-2IFCRPNP.cjs → chunk-WA4X55XY.cjs} +10 -1
- package/dist/{cloud-tenants-N5CLYDPU.cjs → cloud-tenants-6PSTDE3F.cjs} +3 -3
- package/dist/components/case-studies/index.cjs +11 -11
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/docs/index.cjs +6 -6
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/faq/index.cjs +4 -4
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/help-center-pages/index.cjs +51 -51
- package/dist/components/index.cjs +19 -19
- package/dist/components/meeting-scheduler/index.cjs +21 -21
- package/dist/components/navigation/index.cjs +4 -4
- package/dist/components/onboarding-guides/index.cjs +6 -6
- package/dist/components/product-demo/index.cjs +8 -8
- package/dist/components/tickets/index.cjs +6 -6
- package/dist/components/ui/index.cjs +3 -3
- package/dist/components/ui/page-actions.d.ts +2 -1
- package/dist/components/ui/page-actions.d.ts.map +1 -1
- package/dist/components/ui/page-actions.js +10 -1
- package/dist/{devices-557PMFDC.cjs → devices-O5PZ4IR6.cjs} +4 -4
- package/dist/index.cjs +4 -4
- package/dist/{knowledge-4JTOUDAR.cjs → knowledge-4OU73KTO.cjs} +3 -3
- package/dist/{logs-7YWAOPZ2.cjs → logs-R6ZH32UU.cjs} +11 -11
- package/dist/{policies-W5JEPQTA.cjs → policies-XN4TDX3G.cjs} +7 -7
- package/dist/{remote-session-F72S6I7J.cjs → remote-session-7NSC7DI5.cjs} +4 -4
- package/dist/{scripts-FY5IPOIM.cjs → scripts-53VHKMY3.cjs} +10 -10
- package/dist/{software-update-5BOGZOHG.cjs → software-update-KLJSMAUM.cjs} +7 -7
- package/package.json +1 -1
- package/src/components/ui/page-actions.tsx +26 -2
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkUI2TLQWAcjs = require('./chunk-UI2TLQWA.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkPYK4ZSEZcjs = require('./chunk-PYK4ZSEZ.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkFMH2DYBCcjs = require('./chunk-FMH2DYBC.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkWA4X55XYcjs = require('./chunk-WA4X55XY.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
var _chunkT5FRANE6cjs = require('./chunk-T5FRANE6.cjs');
|
|
@@ -146,7 +146,7 @@ function OnboardingGuidesCatalogView({
|
|
|
146
146
|
});
|
|
147
147
|
};
|
|
148
148
|
const source = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _6 => _6.source]), () => ( "openframe"));
|
|
149
|
-
const docSearch =
|
|
149
|
+
const docSearch = _chunkPYK4ZSEZcjs.useDocSearch.call(void 0, {
|
|
150
150
|
source,
|
|
151
151
|
baseRoute: basePath,
|
|
152
152
|
onNavigate: (path) => router.push(path),
|
|
@@ -164,7 +164,7 @@ function OnboardingGuidesCatalogView({
|
|
|
164
164
|
const renderCardFn = _nullishCoalesce(renderCard, () => ( defaultRenderCard));
|
|
165
165
|
const preControls = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
166
166
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
167
|
-
|
|
167
|
+
_chunkPYK4ZSEZcjs.DocSearchBar,
|
|
168
168
|
{
|
|
169
169
|
placeholder: "Search onboarding guides, releases, case studies\u2026",
|
|
170
170
|
query: docSearch.query,
|
|
@@ -176,7 +176,7 @@ function OnboardingGuidesCatalogView({
|
|
|
176
176
|
}
|
|
177
177
|
),
|
|
178
178
|
sections.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
179
|
-
|
|
179
|
+
_chunkFMH2DYBCcjs.FilterPillRow,
|
|
180
180
|
{
|
|
181
181
|
label: "Section",
|
|
182
182
|
selectedValue: activeSection,
|
|
@@ -186,7 +186,7 @@ function OnboardingGuidesCatalogView({
|
|
|
186
186
|
)
|
|
187
187
|
] });
|
|
188
188
|
if (selfFetch && guidesRes.error) {
|
|
189
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
189
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
|
|
190
190
|
}
|
|
191
191
|
if (selfFetch && guidesRes.data == null && isLoading) {
|
|
192
192
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OnboardingGuidesCatalogSkeleton, {});
|
|
@@ -218,7 +218,7 @@ function OnboardingGuideDetailView({
|
|
|
218
218
|
slug,
|
|
219
219
|
guideEndpoint,
|
|
220
220
|
related = [],
|
|
221
|
-
MarkdownRenderer =
|
|
221
|
+
MarkdownRenderer = _chunkFMH2DYBCcjs.RichMarkdownRenderer,
|
|
222
222
|
renderRelatedCard,
|
|
223
223
|
backHref,
|
|
224
224
|
backLabel = "Back to Getting Started",
|
|
@@ -230,7 +230,7 @@ function OnboardingGuideDetailView({
|
|
|
230
230
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
231
231
|
const captions = _chunk74ALTXXCcjs.useCaptions.call(void 0, );
|
|
232
232
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
233
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
233
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
234
234
|
const url = initialData ? null : slug && guideEndpoint ? guideEndpoint(slug) : null;
|
|
235
235
|
const { data: guide, isLoading, error, reload } = _chunkNS64LMVEcjs.useSelfFetch.call(void 0, url, { initialData });
|
|
236
236
|
const { ref: videoWarmupRef } = _chunk3RFQPQ7Zcjs.useVideoWarmup.call(void 0, {
|
|
@@ -238,13 +238,13 @@ function OnboardingGuideDetailView({
|
|
|
238
238
|
supabaseStorageOrigin: _optionalChain([runtime, 'optionalAccess', _9 => _9.endpoints, 'access', _10 => _10.supabaseStorageOrigin])
|
|
239
239
|
});
|
|
240
240
|
if (error || !guide && !isLoading) {
|
|
241
|
-
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
241
|
+
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.LoadError, { message: "Guide not found.", onRetry: reload }));
|
|
242
242
|
}
|
|
243
243
|
if (!guide) {
|
|
244
244
|
return renderShell(
|
|
245
245
|
// Match the loaded page's top offset (TitleBlock's
|
|
246
246
|
// `pt-[var(--spacing-system-l)]`) so content doesn't jump on load.
|
|
247
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
247
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUI2TLQWAcjs.DetailPageSkeleton, { bare: true, showImageGallery: false }) })
|
|
248
248
|
);
|
|
249
249
|
}
|
|
250
250
|
const { captionsUrl, highlightCaptionsUrl } = captions.forEntity("onboarding_guide", guide);
|
|
@@ -263,14 +263,14 @@ function OnboardingGuideDetailView({
|
|
|
263
263
|
const renderRelatedCardFn = _nullishCoalesce(renderRelatedCard, () => ( defaultRenderRelatedCard));
|
|
264
264
|
return renderShell(
|
|
265
265
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
266
|
-
|
|
266
|
+
_chunkWA4X55XYcjs.PageLayout,
|
|
267
267
|
{
|
|
268
268
|
title: guide.title,
|
|
269
269
|
titleSize: "h1",
|
|
270
270
|
titleWrap: true,
|
|
271
271
|
backButton: { label: backLabel, onClick: () => router.push(resolvedBackHref) },
|
|
272
272
|
children: [
|
|
273
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
273
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.EntityTagBadges, { tags: guide.onboarding_guide_tags }),
|
|
274
274
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
275
275
|
_chunk22XAPV6Ncjs.EntityAuthorCard,
|
|
276
276
|
{
|
|
@@ -314,7 +314,7 @@ function OnboardingGuideDetailView({
|
|
|
314
314
|
}
|
|
315
315
|
),
|
|
316
316
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
317
|
-
|
|
317
|
+
_chunkUI2TLQWAcjs.ArticleAuthorByline,
|
|
318
318
|
{
|
|
319
319
|
author: _nullishCoalesce(_optionalChain([guide, 'access', _13 => _13.author, 'optionalAccess', _14 => _14.full_name]), () => ( null)),
|
|
320
320
|
avatar: _optionalChain([guide, 'access', _15 => _15.author, 'optionalAccess', _16 => _16.avatar_url]),
|
|
@@ -12,7 +12,7 @@ var _chunkPERN37KOcjs = require('./chunk-PERN37KO.cjs');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkFMH2DYBCcjs = require('./chunk-FMH2DYBC.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunkGY2JESOCcjs = require('./chunk-GY2JESOC.cjs');
|
|
@@ -184,7 +184,7 @@ function NavItemRow({
|
|
|
184
184
|
className
|
|
185
185
|
}) {
|
|
186
186
|
const label = navLinkLabel(link);
|
|
187
|
-
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
187
|
+
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.UnreadCountBadge, { count: badge, className: "static shrink-0" }) : null;
|
|
188
188
|
const singleLine = !link.description && !link.builtOn;
|
|
189
189
|
const rowClassName = _chunk3ATAYP36cjs.cn.call(void 0,
|
|
190
190
|
ROW_CLASSES[variant],
|
|
@@ -572,7 +572,7 @@ function SiteHeader({
|
|
|
572
572
|
leading: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
573
573
|
leading,
|
|
574
574
|
mobile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
575
|
-
|
|
575
|
+
_chunkFMH2DYBCcjs.HeaderButton,
|
|
576
576
|
{
|
|
577
577
|
className: "border-r border-ods-border lg:hidden",
|
|
578
578
|
onClick: mobile.onToggle,
|
|
@@ -878,7 +878,7 @@ function SiteFooter({
|
|
|
878
878
|
const columns = nav.footerColumns;
|
|
879
879
|
const accordion = columns.length > ACCORDION_OVER;
|
|
880
880
|
const socialRow = _nullishCoalesce(social, () => ( (nav.brand.social.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
881
|
-
|
|
881
|
+
_chunkFMH2DYBCcjs.SocialIconRow,
|
|
882
882
|
{
|
|
883
883
|
compact: true,
|
|
884
884
|
links: nav.brand.social.map((link) => ({
|
|
@@ -1254,7 +1254,7 @@ var NavigationSidebarItemButton = _react.memo.call(void 0, function NavigationSi
|
|
|
1254
1254
|
_react.cloneElement.call(void 0, item.icon, {
|
|
1255
1255
|
color: isActive && !disabled ? "text-ods-accent" : "text-ods-text-secondary"
|
|
1256
1256
|
}),
|
|
1257
|
-
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1257
|
+
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.UnreadDot, { size: "fixed" })
|
|
1258
1258
|
] }),
|
|
1259
1259
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1260
1260
|
"span",
|
|
@@ -1681,7 +1681,7 @@ function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
|
1681
1681
|
else window.location.assign(target);
|
|
1682
1682
|
};
|
|
1683
1683
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1684
|
-
|
|
1684
|
+
_chunkFMH2DYBCcjs.HeaderButton,
|
|
1685
1685
|
{
|
|
1686
1686
|
icon: (
|
|
1687
1687
|
// Glyph inherits HeaderButton's standard cell coloring (secondary at
|
|
@@ -1691,7 +1691,7 @@ function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
|
1691
1691
|
// existing while updates are unread — never by tinting the glyph.
|
|
1692
1692
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative inline-flex", children: [
|
|
1693
1693
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk365ZKGGOcjs.LifeBuoyIcon, { className: "h-6 w-6" }),
|
|
1694
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1694
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.UnreadCountBadge, { count: live.unreadTotal })
|
|
1695
1695
|
] })
|
|
1696
1696
|
),
|
|
1697
1697
|
"aria-label": `Support tickets \u2014 ${live.unreadTotal} unread ${live.unreadTotal === 1 ? "update" : "updates"}`,
|
|
@@ -1767,7 +1767,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1767
1767
|
leading: (
|
|
1768
1768
|
// Mobile: Burger Menu Button
|
|
1769
1769
|
!isMdUp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1770
|
-
|
|
1770
|
+
_chunkFMH2DYBCcjs.HeaderButton,
|
|
1771
1771
|
{
|
|
1772
1772
|
onClick: onToggleMobileMenu,
|
|
1773
1773
|
isActive: isMobileMenuOpen,
|
|
@@ -1793,7 +1793,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1793
1793
|
center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderGlobalSearch, { onSubmit: onSearch, className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full", dimmedClass) }) : void 0,
|
|
1794
1794
|
sideActions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1795
1795
|
showSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1796
|
-
|
|
1796
|
+
_chunkFMH2DYBCcjs.HeaderButton,
|
|
1797
1797
|
{
|
|
1798
1798
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ74QE57Tcjs.SearchIcon, { className: "h-6 w-6" }),
|
|
1799
1799
|
"aria-label": "Search",
|
|
@@ -1810,7 +1810,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1810
1810
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "hidden lg:flex", dimmedClass)
|
|
1811
1811
|
}
|
|
1812
1812
|
),
|
|
1813
|
-
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1813
|
+
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.TimeTrackerHeaderButton, { disabled, className: _chunk3ATAYP36cjs.cn.call(void 0, cellDivider, dimmedClass) }),
|
|
1814
1814
|
showNotifications && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1815
1815
|
NotificationsHeaderButton,
|
|
1816
1816
|
{
|
|
@@ -1830,7 +1830,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1830
1830
|
),
|
|
1831
1831
|
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkAKK3EO37cjs.DropdownMenu, { children: [
|
|
1832
1832
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAKK3EO37cjs.DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1833
|
-
|
|
1833
|
+
_chunkFMH2DYBCcjs.HeaderButton,
|
|
1834
1834
|
{
|
|
1835
1835
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1836
1836
|
_chunkEQZXJUYVcjs.SquareAvatar,
|
|
@@ -1915,12 +1915,12 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1915
1915
|
);
|
|
1916
1916
|
});
|
|
1917
1917
|
function NotificationsHeaderButton({ fallbackUnreadCount, disabled, dimmedClass }) {
|
|
1918
|
-
const ctx =
|
|
1918
|
+
const ctx = _chunkFMH2DYBCcjs.useOptionalNotifications.call(void 0, );
|
|
1919
1919
|
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _52 => _52.unreadCount]), () => ( fallbackUnreadCount))) > 0;
|
|
1920
1920
|
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _53 => _53.isOpen]), () => ( false));
|
|
1921
1921
|
const onClick = _optionalChain([ctx, 'optionalAccess', _54 => _54.toggle]);
|
|
1922
1922
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1923
|
-
|
|
1923
|
+
_chunkFMH2DYBCcjs.HeaderButton,
|
|
1924
1924
|
{
|
|
1925
1925
|
icon: isActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, { className: "h-6 w-6" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCON36SEJcjs.BellIcon, { className: "h-6 w-6" }),
|
|
1926
1926
|
showUnreadDot: !isActive && hasUnread,
|
|
@@ -2593,7 +2593,7 @@ function AppLayout({
|
|
|
2593
2593
|
}),
|
|
2594
2594
|
[]
|
|
2595
2595
|
);
|
|
2596
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2596
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.AppLayoutDrawerContainerContext.Provider, { value: drawerContainer, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.AppLayoutDrawerCoordinationContext.Provider, { value: drawerCoordination, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex h-screen flex-col bg-ods-bg", className), children: [
|
|
2597
2597
|
topBar,
|
|
2598
2598
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1", children: [
|
|
2599
2599
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, NavigationSidebar, { config: sidebarConfig, disabled, pushOnTablet: hasSidePanel }),
|
|
@@ -2617,7 +2617,7 @@ function AppLayout({
|
|
|
2617
2617
|
disabled
|
|
2618
2618
|
}
|
|
2619
2619
|
),
|
|
2620
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2620
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.NotificationDrawer, {}),
|
|
2621
2621
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2622
2622
|
"div",
|
|
2623
2623
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
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 _chunkFMH2DYBCcjs = require('./chunk-FMH2DYBC.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -70,7 +70,7 @@ function DocSearchBar({
|
|
|
70
70
|
renderResult
|
|
71
71
|
}) {
|
|
72
72
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
73
|
-
|
|
73
|
+
_chunkFMH2DYBCcjs.SearchInput,
|
|
74
74
|
{
|
|
75
75
|
placeholder,
|
|
76
76
|
value: query,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkFMH2DYBCcjs = require('./chunk-FMH2DYBC.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkCKR42OBKcjs = require('./chunk-CKR42OBK.cjs');
|
|
@@ -48,7 +48,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
|
|
|
48
48
|
] });
|
|
49
49
|
}
|
|
50
50
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
51
|
-
|
|
51
|
+
_chunkFMH2DYBCcjs.EmbedViewerFrame,
|
|
52
52
|
{
|
|
53
53
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCKR42OBKcjs.GoogleSheetsIcon, { className: "h-5 w-5 shrink-0" }),
|
|
54
54
|
title: displayName,
|
|
@@ -83,7 +83,7 @@ function PdfViewer({ src, fileName, onPreview, onDownload, height }) {
|
|
|
83
83
|
] });
|
|
84
84
|
}
|
|
85
85
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
86
|
-
|
|
86
|
+
_chunkFMH2DYBCcjs.EmbedViewerFrame,
|
|
87
87
|
{
|
|
88
88
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM7ZSKWT3cjs.AdobePdfIcon, { className: "h-5 w-5 shrink-0" }),
|
|
89
89
|
title: displayName,
|
|
@@ -6,7 +6,7 @@ var _chunkLVKUMVUJcjs = require('./chunk-LVKUMVUJ.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkVLJFAGMRcjs = require('./chunk-VLJFAGMR.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunkTSJUL6IHcjs = require('./chunk-TSJUL6IH.cjs');
|
|
@@ -16,7 +16,7 @@ var _chunkTSJUL6IHcjs = require('./chunk-TSJUL6IH.cjs');
|
|
|
16
16
|
var _chunk3FC6AKEJcjs = require('./chunk-3FC6AKEJ.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkUI2TLQWAcjs = require('./chunk-UI2TLQWA.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
@@ -29,10 +29,10 @@ var _chunkRM6AHNM4cjs = require('./chunk-RM6AHNM4.cjs');
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkFMH2DYBCcjs = require('./chunk-FMH2DYBC.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var _chunkWA4X55XYcjs = require('./chunk-WA4X55XY.cjs');
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
@@ -190,10 +190,10 @@ function ProductReleasesView({
|
|
|
190
190
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
191
191
|
};
|
|
192
192
|
if (error) {
|
|
193
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
193
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.LoadError, { message: "Failed to load releases.", onRetry: reload }) });
|
|
194
194
|
}
|
|
195
195
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex w-full 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: "flex h-[600px] items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
196
|
-
|
|
196
|
+
_chunkVLJFAGMRcjs.ListEmptyState,
|
|
197
197
|
{
|
|
198
198
|
isFiltered: hasActiveFilters,
|
|
199
199
|
filtered: {
|
|
@@ -288,7 +288,7 @@ function MediaGalleryStrip({ items, className }) {
|
|
|
288
288
|
var _lucidereact = require('lucide-react');
|
|
289
289
|
|
|
290
290
|
|
|
291
|
-
var DefaultMarkdownRenderer =
|
|
291
|
+
var DefaultMarkdownRenderer = _chunkFMH2DYBCcjs.RichMarkdownRenderer;
|
|
292
292
|
var DEFAULT_ENDPOINT2 = "/api/releases";
|
|
293
293
|
function ReleaseDetailPage({
|
|
294
294
|
authorHref,
|
|
@@ -307,7 +307,7 @@ function ReleaseDetailPage({
|
|
|
307
307
|
}) {
|
|
308
308
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
309
309
|
const captions = _chunk74ALTXXCcjs.useCaptions.call(void 0, );
|
|
310
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
310
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
311
311
|
const seed = initialData == null ? void 0 : initialData;
|
|
312
312
|
const {
|
|
313
313
|
data: release,
|
|
@@ -366,7 +366,7 @@ function ReleaseDetailPage({
|
|
|
366
366
|
return renderShell(
|
|
367
367
|
// Match the loaded page's top offset (TitleBlock's
|
|
368
368
|
// `pt-[var(--spacing-system-l)]`) so content doesn't jump on load.
|
|
369
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
369
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUI2TLQWAcjs.DetailPageSkeleton, { bare: true, metadataColumns: 4, showImageGallery: true }) })
|
|
370
370
|
);
|
|
371
371
|
}
|
|
372
372
|
if (error || !release) {
|
|
@@ -405,7 +405,7 @@ function ReleaseDetailPage({
|
|
|
405
405
|
const improvements = release.improvements;
|
|
406
406
|
return renderShell(
|
|
407
407
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
408
|
-
|
|
408
|
+
_chunkWA4X55XYcjs.PageLayout,
|
|
409
409
|
{
|
|
410
410
|
title: releaseTitle,
|
|
411
411
|
subtitle: `Version: ${releaseVersion}`,
|
|
@@ -414,7 +414,7 @@ function ReleaseDetailPage({
|
|
|
414
414
|
backButton: showBackButton ? { label: backLabel, onClick: () => router.push(backHref) } : void 0,
|
|
415
415
|
children: [
|
|
416
416
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-6 content-md:space-y-8", children: [
|
|
417
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
417
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.EntityTagBadges, { tags: release.product_release_tags }),
|
|
418
418
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid w-full grid-cols-1 overflow-hidden rounded-md border border-ods-border content-md:grid-cols-4", children: [
|
|
419
419
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-col gap-3 border-b border-ods-border bg-ods-card p-4 content-md:border-b-0 content-md:border-r", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-0", children: [
|
|
420
420
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: releaseType.toLocaleUpperCase() }),
|
|
@@ -476,7 +476,7 @@ function ReleaseDetailPage({
|
|
|
476
476
|
] })
|
|
477
477
|
] }) }) }),
|
|
478
478
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
479
|
-
|
|
479
|
+
_chunkFMH2DYBCcjs.ReleaseChangelogSection,
|
|
480
480
|
{
|
|
481
481
|
title: "Breaking Changes",
|
|
482
482
|
entries: breakingChanges || [],
|
|
@@ -487,7 +487,7 @@ function ReleaseDetailPage({
|
|
|
487
487
|
}
|
|
488
488
|
),
|
|
489
489
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
490
|
-
|
|
490
|
+
_chunkFMH2DYBCcjs.ReleaseChangelogSection,
|
|
491
491
|
{
|
|
492
492
|
title: "Features Added",
|
|
493
493
|
entries: featuresAdded || [],
|
|
@@ -497,7 +497,7 @@ function ReleaseDetailPage({
|
|
|
497
497
|
}
|
|
498
498
|
),
|
|
499
499
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
500
|
-
|
|
500
|
+
_chunkFMH2DYBCcjs.ReleaseChangelogSection,
|
|
501
501
|
{
|
|
502
502
|
title: "Bugs Fixed",
|
|
503
503
|
entries: bugFixed || [],
|
|
@@ -507,7 +507,7 @@ function ReleaseDetailPage({
|
|
|
507
507
|
}
|
|
508
508
|
),
|
|
509
509
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
510
|
-
|
|
510
|
+
_chunkFMH2DYBCcjs.ReleaseChangelogSection,
|
|
511
511
|
{
|
|
512
512
|
title: "Improvements",
|
|
513
513
|
entries: improvements || [],
|
|
@@ -533,7 +533,7 @@ function ReleaseDetailPage({
|
|
|
533
533
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "tracking-[-0.28px] text-ods-text-secondary text-h5", children: "Related Enhancements and Bug-fixes" }),
|
|
534
534
|
(() => {
|
|
535
535
|
const deliveryCount = deliveryData ? deliveryData.completed.length + deliveryData.inProgress.length : 0;
|
|
536
|
-
return deliveryLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliverySection, { data: deliveryData, isLoading: deliveryLoading }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
536
|
+
return deliveryLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliverySection, { data: deliveryData, isLoading: deliveryLoading }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.FadePreview, { hiddenCount: deliveryCount - 1, collapsedHeight: 300, resetKey: deliveryCount, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliverySection, { data: deliveryData, isLoading: false }) }) });
|
|
537
537
|
})()
|
|
538
538
|
] }),
|
|
539
539
|
(_optionalChain([githubReleases, 'optionalAccess', _8 => _8.length]) || _optionalChain([knowledgeBaseLinks, 'optionalAccess', _9 => _9.length]) || migrationGuideUrl || documentationUrl) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
@@ -897,7 +897,7 @@ function RoadmapGrid({
|
|
|
897
897
|
);
|
|
898
898
|
}
|
|
899
899
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
900
|
-
|
|
900
|
+
_chunkFMH2DYBCcjs.Accordion,
|
|
901
901
|
{
|
|
902
902
|
type: "multiple",
|
|
903
903
|
value: expandedQuarters,
|
|
@@ -907,13 +907,13 @@ function RoadmapGrid({
|
|
|
907
907
|
const itemCount = _optionalChain([itemsByQuarter, 'access', _18 => _18[quarter], 'optionalAccess', _19 => _19.length]) || 0;
|
|
908
908
|
const isExpanded = expandedQuarters.includes(quarter);
|
|
909
909
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
910
|
-
|
|
910
|
+
_chunkFMH2DYBCcjs.AccordionItem,
|
|
911
911
|
{
|
|
912
912
|
value: quarter,
|
|
913
913
|
id: `quarter-${quarter.replace(/\s+/g, "-").toLowerCase()}`,
|
|
914
914
|
className: "border-0",
|
|
915
915
|
children: [
|
|
916
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
916
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.AccordionTrigger, { className: "w-full p-0 hover:no-underline [&>svg]:ml-auto [&>svg]:h-5 [&>svg]:w-5 [&>svg]:shrink-0 [&>svg]:text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
917
917
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
918
918
|
"h3",
|
|
919
919
|
{
|
|
@@ -943,7 +943,7 @@ function RoadmapGrid({
|
|
|
943
943
|
}
|
|
944
944
|
)
|
|
945
945
|
] }) }),
|
|
946
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
946
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.AccordionContent, { className: "overflow-hidden pb-0 pt-4 data-[state=closed]:animate-none data-[state=open]:animate-none", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
947
947
|
RoadmapGridSingle,
|
|
948
948
|
{
|
|
949
949
|
items: itemsByQuarter[quarter],
|
|
@@ -1007,18 +1007,18 @@ function RoadmapView({
|
|
|
1007
1007
|
});
|
|
1008
1008
|
const items = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _20 => _20.items]), () => ( []));
|
|
1009
1009
|
_chunkXCH7SPGIcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunk3RYIF4OWcjs.STICKY_HEADER_OFFSET_PX });
|
|
1010
|
-
const syncInPage =
|
|
1010
|
+
const syncInPage = _chunkVLJFAGMRcjs.usePageDataSync.call(void 0, _optionalChain([data, 'optionalAccess', _21 => _21.sync]), isLoading && !data);
|
|
1011
1011
|
if (error) {
|
|
1012
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1012
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.LoadError, { message: "Failed to load roadmap.", onRetry: reload });
|
|
1013
1013
|
}
|
|
1014
1014
|
if (isLoading && !data) {
|
|
1015
1015
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1016
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1016
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.DataSyncLine, { loading: true }),
|
|
1017
1017
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapGridSkeleton, { showLeftMargin })
|
|
1018
1018
|
] });
|
|
1019
1019
|
}
|
|
1020
1020
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1021
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1021
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.DataSyncLine, { sync: _optionalChain([data, 'optionalAccess', _22 => _22.sync]) }),
|
|
1022
1022
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1023
1023
|
RoadmapGrid,
|
|
1024
1024
|
{
|
|
@@ -1068,7 +1068,7 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1068
1068
|
// → `#delivery-<external_id>`; `useScrollToHash` in
|
|
1069
1069
|
// `delivery-lists.tsx` finds the row by id and scrolls. The
|
|
1070
1070
|
// outer wrapper here ONLY exists for the row separators.
|
|
1071
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border last:border-b-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1071
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border last:border-b-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVLJFAGMRcjs.DeliveryRow, { item, id: _chunkT5FRANE6cjs.devSectionAnchorId.call(void 0, "delivery", item.id) }) }, item.id)
|
|
1072
1072
|
)) }) });
|
|
1073
1073
|
}
|
|
1074
1074
|
|
|
@@ -1142,18 +1142,18 @@ function DeliveryLists({
|
|
|
1142
1142
|
const filteredCompleted = _optionalChain([data, 'optionalAccess', _23 => _23.completed]) || [];
|
|
1143
1143
|
const filteredInProgress = _optionalChain([data, 'optionalAccess', _24 => _24.inProgress]) || [];
|
|
1144
1144
|
_chunkXCH7SPGIcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunk3RYIF4OWcjs.STICKY_HEADER_OFFSET_PX });
|
|
1145
|
-
const syncInPage =
|
|
1145
|
+
const syncInPage = _chunkVLJFAGMRcjs.usePageDataSync.call(void 0, sync, isLoading && !data);
|
|
1146
1146
|
const showCompleted = true;
|
|
1147
1147
|
const showInProgress = true;
|
|
1148
1148
|
const hasActiveFilters = searchQuery !== "" || taskTypeFilter !== "all";
|
|
1149
1149
|
const hasResults = showCompleted && filteredCompleted.length > 0 || showInProgress && filteredInProgress.length > 0;
|
|
1150
1150
|
if (error) {
|
|
1151
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1151
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.LoadError, { message: error, onRetry: () => window.location.reload() }) });
|
|
1152
1152
|
}
|
|
1153
1153
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[40px]", children: [
|
|
1154
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1154
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.DataSyncLine, { sync, loading: isLoading && !data }),
|
|
1155
1155
|
!isLoading && !hasResults && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1156
|
-
|
|
1156
|
+
_chunkVLJFAGMRcjs.ListEmptyState,
|
|
1157
1157
|
{
|
|
1158
1158
|
isFiltered: hasActiveFilters,
|
|
1159
1159
|
filtered: {
|
|
@@ -1383,7 +1383,7 @@ function LegalDocumentPage({
|
|
|
1383
1383
|
emptyStateMessage: emptyStateMessageProp,
|
|
1384
1384
|
initialData = null,
|
|
1385
1385
|
apiEndpoint,
|
|
1386
|
-
MarkdownRenderer =
|
|
1386
|
+
MarkdownRenderer = _chunkFMH2DYBCcjs.RichMarkdownRenderer,
|
|
1387
1387
|
documentsEndpoint,
|
|
1388
1388
|
backButton,
|
|
1389
1389
|
faq,
|
|
@@ -1403,8 +1403,8 @@ function LegalDocumentPage({
|
|
|
1403
1403
|
const errorTitle = _nullishCoalesce(errorTitleProp, () => ( `Unable to load ${title}`));
|
|
1404
1404
|
const emptyStateMessage = _nullishCoalesce(emptyStateMessageProp, () => ( `${title} is not available at this time.`));
|
|
1405
1405
|
const subtitle = _nullishCoalesce(legalDocumentStampLabel(data), () => ( fallbackDescription));
|
|
1406
|
-
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1407
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1406
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWA4X55XYcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: [
|
|
1407
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.DataSyncLine, { sync: data ? { source: "github", syncedAt: data.lastSynced } : null, loading: isLoading && !data }),
|
|
1408
1408
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-1 flex-col items-start gap-6 lg:flex-row lg:gap-10", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "article", { className: "space-y-2", children: isLoading ? (
|
|
1409
1409
|
// Loading skeleton matching Knowledge Hub pattern
|
|
1410
1410
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-6", children: [
|
|
@@ -1441,7 +1441,7 @@ function LegalDocumentPage({
|
|
|
1441
1441
|
] }) }) }) }) }),
|
|
1442
1442
|
faqSlot && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3FC6AKEJcjs.FaqSection, { ..._chunk3FC6AKEJcjs.pageFaqProps.call(void 0, faqSlot) })
|
|
1443
1443
|
] });
|
|
1444
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1444
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
1445
1445
|
}
|
|
1446
1446
|
|
|
1447
1447
|
|
|
@@ -1,7 +1,7 @@
|
|
|
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 _chunkWA4X55XYcjs = require('./chunk-WA4X55XY.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk22XAPV6Ncjs = require('./chunk-22XAPV6N.cjs');
|
|
@@ -74,7 +74,7 @@ function DetailPageSkeleton({
|
|
|
74
74
|
] });
|
|
75
75
|
if (bare) return content;
|
|
76
76
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
77
|
-
|
|
77
|
+
_chunkWA4X55XYcjs.PageLayout,
|
|
78
78
|
{
|
|
79
79
|
showHeader: false,
|
|
80
80
|
className: "mx-auto max-w-[1280px] bg-ods-bg px-6 py-6 content-md:px-20 content-md:py-10",
|
|
@@ -15,10 +15,10 @@ var _chunkHEVW75L3cjs = require('./chunk-HEVW75L3.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkFMH2DYBCcjs = require('./chunk-FMH2DYBC.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkWA4X55XYcjs = require('./chunk-WA4X55XY.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
var _chunkT5FRANE6cjs = require('./chunk-T5FRANE6.cjs');
|
|
@@ -95,7 +95,7 @@ function PageDataSyncProvider({ children }) {
|
|
|
95
95
|
function PageDataSyncRow({ inline = false }) {
|
|
96
96
|
const context = _react.useContext.call(void 0, PageDataSyncContext);
|
|
97
97
|
if (!context) return null;
|
|
98
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
98
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.DataSyncLine, { sync: context.state.sync, loading: context.state.loading, inline });
|
|
99
99
|
}
|
|
100
100
|
function usePageDataSync(sync, loading) {
|
|
101
101
|
const context = _react.useContext.call(void 0, PageDataSyncContext);
|
|
@@ -155,7 +155,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
155
155
|
preControls,
|
|
156
156
|
(search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
157
157
|
search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
158
|
-
|
|
158
|
+
_chunkFMH2DYBCcjs.SearchInput,
|
|
159
159
|
{
|
|
160
160
|
showDropdown: false,
|
|
161
161
|
placeholder: search.placeholder,
|
|
@@ -165,7 +165,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
165
165
|
}
|
|
166
166
|
),
|
|
167
167
|
filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
168
|
-
|
|
168
|
+
_chunkFMH2DYBCcjs.StatusFilterComponent,
|
|
169
169
|
{
|
|
170
170
|
selectedStatus: currentFilterValue,
|
|
171
171
|
onStatusChange: handleFilterChange,
|
|
@@ -203,7 +203,7 @@ function DevSectionPage({
|
|
|
203
203
|
// duplicate title. (The hero icon is intentionally dropped: TitleBlock is
|
|
204
204
|
// frozen and renders title-only.)
|
|
205
205
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
206
|
-
|
|
206
|
+
_chunkWA4X55XYcjs.PageLayout,
|
|
207
207
|
{
|
|
208
208
|
title: _nullishCoalesce(title, () => ( section.hero.title)),
|
|
209
209
|
subtitle: _nullishCoalesce(subtitle, () => ( section.hero.description)),
|
|
@@ -217,7 +217,7 @@ function DevSectionPage({
|
|
|
217
217
|
}
|
|
218
218
|
)
|
|
219
219
|
);
|
|
220
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
220
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
// src/components/shared/dev-section/dev-card-row.tsx
|