@flamingo-stack/openframe-frontend-core 0.0.824 → 0.0.825
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/build/export-map.json +1 -1
- package/dist/chat-protocol/events.d.ts +0 -3
- package/dist/chat-protocol/events.d.ts.map +1 -1
- package/dist/chat-protocol/frames.d.ts +10 -7
- package/dist/chat-protocol/frames.d.ts.map +1 -1
- package/dist/chat-protocol/index.cjs +238 -234
- package/dist/chat-protocol/leading-frames.d.ts.map +1 -1
- package/dist/chat-protocol/leading-frames.js +6 -3
- package/dist/chat-protocol/progress.d.ts +13 -20
- package/dist/chat-protocol/progress.d.ts.map +1 -1
- package/dist/chat-protocol/progress.js +13 -11
- package/dist/{chunk-TQ7TUEK2.cjs → chunk-2U7GXE3T.cjs} +2754 -2784
- package/dist/{chunk-A3SR6HHX.cjs → chunk-47SHKOCY.cjs} +53 -53
- package/dist/{chunk-WSBAIZXL.cjs → chunk-4IY5FKYL.cjs} +11 -11
- package/dist/{chunk-M7EBCYKN.cjs → chunk-5S2GW6YG.cjs} +2 -2
- package/dist/{chunk-SOSVC6HB.cjs → chunk-6LVJKPR3.cjs} +3 -3
- package/dist/{chunk-HDOU3AXV.cjs → chunk-7DJWIVQC.cjs} +19 -19
- package/dist/{chunk-C3RAE7RO.cjs → chunk-AO6YVNAH.cjs} +104 -104
- package/dist/{chunk-EZTCN43H.cjs → chunk-APTFXX2C.cjs} +39 -39
- package/dist/{chunk-WMTV6M5B.cjs → chunk-AUBR3FGY.cjs} +9 -9
- package/dist/{chunk-GXBIYPDM.cjs → chunk-BN7QENV7.cjs} +4 -4
- package/dist/{chunk-2M4E2V25.cjs → chunk-DNZCSPMU.cjs} +7 -7
- package/dist/{chunk-J5U3XHFJ.cjs → chunk-IMMTH3F3.cjs} +10 -10
- package/dist/{chunk-2IHGR57J.cjs → chunk-MALCUN2G.cjs} +6 -6
- package/dist/{chunk-MROW2JWE.cjs → chunk-MHR4C465.cjs} +3 -3
- package/dist/{chunk-5N26M6CK.cjs → chunk-N7IDLF2G.cjs} +32 -32
- package/dist/{chunk-B2VRNRTY.cjs → chunk-NL34HKLS.cjs} +47 -47
- package/dist/{chunk-XUMZMIHR.cjs → chunk-P25RVNGX.cjs} +16 -16
- package/dist/{chunk-TTMTNG3U.cjs → chunk-XJMLZ63Y.cjs} +4 -4
- package/dist/{cloud-tenants-VYXMNISG.cjs → cloud-tenants-M4VFFN33.cjs} +4 -4
- package/dist/components/case-studies/index.cjs +16 -16
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.js +0 -3
- package/dist/components/chat/hooks/use-sse-chat-adapter.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-sse-chat-adapter.js +0 -2
- package/dist/components/chat/hooks/use-unified-chat.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-unified-chat.js +0 -1
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/stream/chat-dialog-store.d.ts.map +1 -1
- package/dist/components/chat/stream/chat-dialog-store.js +0 -1
- package/dist/components/chat/stream/chat-stream-reducer.d.ts +0 -4
- package/dist/components/chat/stream/chat-stream-reducer.d.ts.map +1 -1
- package/dist/components/chat/stream/chat-stream-reducer.js +6 -13
- package/dist/components/chat/types/unified-chat-state.types.d.ts +0 -5
- package/dist/components/chat/types/unified-chat-state.types.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/docs/index.cjs +8 -8
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/faq/index.cjs +6 -6
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/help-center-pages/index.cjs +61 -61
- package/dist/components/index.cjs +37 -37
- package/dist/components/meeting-scheduler/index.cjs +29 -29
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.cjs +6 -6
- package/dist/components/product-demo/index.cjs +13 -13
- package/dist/components/tickets/index.cjs +9 -9
- package/dist/components/ui/index.cjs +4 -4
- package/dist/{devices-NTYNZEGJ.cjs → devices-DW5NDXMD.cjs} +5 -5
- package/dist/{embeddable-chat-JAUO4O2T.cjs → embeddable-chat-NBJMXEXB.cjs} +63 -66
- package/dist/index.cjs +8 -8
- package/dist/{knowledge-I2LW27EP.cjs → knowledge-EYJG2TNW.cjs} +5 -5
- package/dist/{logs-KLZHXSOU.cjs → logs-2LV7DTSL.cjs} +12 -12
- package/dist/{policies-SMDAHDKL.cjs → policies-HSDYIQBX.cjs} +8 -8
- package/dist/{scripts-OMBBPNTU.cjs → scripts-UI6V7ANQ.cjs} +9 -9
- package/dist/{software-update-ZIJYNJIC.cjs → software-update-WMLY7VHH.cjs} +7 -7
- package/package.json +1 -1
- package/src/chat-protocol/events.ts +0 -3
- package/src/chat-protocol/frames.ts +12 -8
- package/src/chat-protocol/leading-frames.ts +7 -4
- package/src/chat-protocol/progress.ts +31 -28
- package/src/components/chat/embeddable-chat.tsx +0 -5
- package/src/components/chat/hooks/use-sse-chat-adapter.ts +0 -2
- package/src/components/chat/hooks/use-unified-chat.ts +0 -1
- package/src/components/chat/stream/chat-dialog-store.ts +0 -1
- package/src/components/chat/stream/chat-stream-reducer.ts +6 -17
- package/src/components/chat/types/unified-chat-state.types.ts +0 -6
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk5S2GW6YGcjs = require('./chunk-5S2GW6YG.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkXJMLZ63Ycjs = require('./chunk-XJMLZ63Y.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ var _chunkTTMTNG3Ucjs = require('./chunk-TTMTNG3U.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkAO6YVNAHcjs = require('./chunk-AO6YVNAH.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
var _chunkEHANO6UEcjs = require('./chunk-EHANO6UE.cjs');
|
|
@@ -39,11 +39,11 @@ var _chunk24I6RFVUcjs = require('./chunk-24I6RFVU.cjs');
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
var
|
|
42
|
+
var _chunkP25RVNGXcjs = require('./chunk-P25RVNGX.cjs');
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
var
|
|
46
|
+
var _chunk2U7GXE3Tcjs = require('./chunk-2U7GXE3T.cjs');
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
var _chunkOBQ5WUNGcjs = require('./chunk-OBQ5WUNG.cjs');
|
|
@@ -199,7 +199,7 @@ function NavItemRow({
|
|
|
199
199
|
className
|
|
200
200
|
}) {
|
|
201
201
|
const label = navLinkLabel(link);
|
|
202
|
-
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
202
|
+
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO6YVNAHcjs.UnreadCountBadge, { count: badge, className: "static shrink-0" }) : null;
|
|
203
203
|
const singleLine = !link.description && !link.builtOn;
|
|
204
204
|
const rowClassName = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
205
205
|
ROW_CLASSES[variant],
|
|
@@ -256,7 +256,7 @@ function loadFeatureCard() {
|
|
|
256
256
|
}
|
|
257
257
|
function subscribeToFeatureCard(listener) {
|
|
258
258
|
featureCardListeners.add(listener);
|
|
259
|
-
const cancel =
|
|
259
|
+
const cancel = _chunkP25RVNGXcjs.afterPageLoad.call(void 0, loadFeatureCard);
|
|
260
260
|
return () => {
|
|
261
261
|
featureCardListeners.delete(listener);
|
|
262
262
|
cancel();
|
|
@@ -621,7 +621,7 @@ function SiteHeader({
|
|
|
621
621
|
leading: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
622
622
|
leading,
|
|
623
623
|
mobile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
624
|
-
|
|
624
|
+
_chunkAO6YVNAHcjs.HeaderButton,
|
|
625
625
|
{
|
|
626
626
|
className: "border-r border-ods-border lg:hidden",
|
|
627
627
|
onClick: mobile.onToggle,
|
|
@@ -647,7 +647,7 @@ function SiteHeader({
|
|
|
647
647
|
centerClassName: "justify-start pl-[var(--spacing-system-xlf)]",
|
|
648
648
|
cta: hasRight ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
649
649
|
mingo && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
650
|
-
|
|
650
|
+
_chunkP25RVNGXcjs.MingoAiButton,
|
|
651
651
|
{
|
|
652
652
|
source: mingo.source,
|
|
653
653
|
icon: mingo.icon,
|
|
@@ -751,7 +751,7 @@ function MobileNavSheetBody({
|
|
|
751
751
|
] }),
|
|
752
752
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-0 flex-1 overflow-y-auto overflow-x-hidden overscroll-contain px-5", children: [
|
|
753
753
|
askAI && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
754
|
-
|
|
754
|
+
_chunkP25RVNGXcjs.MingoAiButton,
|
|
755
755
|
{
|
|
756
756
|
variant: "field",
|
|
757
757
|
source: askAI.source,
|
|
@@ -929,7 +929,7 @@ function SiteFooter({
|
|
|
929
929
|
const columns = nav.footerColumns;
|
|
930
930
|
const accordion = columns.length > ACCORDION_OVER;
|
|
931
931
|
const socialRow = _nullishCoalesce(social, () => ( (nav.brand.social.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
932
|
-
|
|
932
|
+
_chunkAO6YVNAHcjs.SocialIconRow,
|
|
933
933
|
{
|
|
934
934
|
compact: true,
|
|
935
935
|
links: nav.brand.social.map((link) => ({
|
|
@@ -1032,7 +1032,7 @@ var _framermotion = require('framer-motion');
|
|
|
1032
1032
|
|
|
1033
1033
|
function SlidingSidebar({ config }) {
|
|
1034
1034
|
const [expandedItems, setExpandedItems] = _react.useState.call(void 0, /* @__PURE__ */ new Set());
|
|
1035
|
-
const mounted =
|
|
1035
|
+
const mounted = _chunk2U7GXE3Tcjs.useIsHydrated.call(void 0, );
|
|
1036
1036
|
const headerHeight = _chunk24I6RFVUcjs.useHeaderHeight.call(void 0, );
|
|
1037
1037
|
const asideRef = _react.useRef.call(void 0, null);
|
|
1038
1038
|
const prefersReducedMotion = _framermotion.useReducedMotion.call(void 0, );
|
|
@@ -1207,7 +1207,7 @@ function SlidingSidebar({ config }) {
|
|
|
1207
1207
|
// src/components/navigation/page-section-bar.tsx
|
|
1208
1208
|
|
|
1209
1209
|
|
|
1210
|
-
var SECTION_BAR_HEIGHT_PX =
|
|
1210
|
+
var SECTION_BAR_HEIGHT_PX = _chunk5S2GW6YGcjs.STICKY_SECTION_NAV_HEIGHT_PX;
|
|
1211
1211
|
var PAGE_ANCHOR_SCROLL_MARGIN_CLASS = "scroll-mt-36";
|
|
1212
1212
|
var PAGE_ANCHOR_SCOPE_CLASS = "[&_[id]]:scroll-mt-36";
|
|
1213
1213
|
var PAGE_ANCHOR_GAP_PX = 16;
|
|
@@ -1235,21 +1235,21 @@ function PageSectionBar({ sections: listed, label, brand, action }) {
|
|
|
1235
1235
|
const sections = useRenderedSections(listed);
|
|
1236
1236
|
const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
1237
1237
|
const headerBottom = _chunk24I6RFVUcjs.useHeaderHeight.call(void 0, void 0, { stuckOnly: true });
|
|
1238
|
-
const { activeSection, handleSectionClick } =
|
|
1238
|
+
const { activeSection, handleSectionClick } = _chunk5S2GW6YGcjs.useScrollSpy.call(void 0, sections, {
|
|
1239
1239
|
syncHash: true,
|
|
1240
1240
|
aboveFirst: "none",
|
|
1241
1241
|
headerOffset: headerBottom + SECTION_BAR_HEIGHT_PX + PAGE_ANCHOR_GAP_PX
|
|
1242
1242
|
});
|
|
1243
1243
|
if (sections.length === 0 && !inScope) return null;
|
|
1244
1244
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1245
|
-
|
|
1245
|
+
_chunkAO6YVNAHcjs.PageContainer,
|
|
1246
1246
|
{
|
|
1247
1247
|
as: "div",
|
|
1248
1248
|
backgroundClassName: "sticky z-30 border-b border-ods-border bg-ods-bg transition-[top] duration-300 ease-in-out motion-reduce:transition-none",
|
|
1249
1249
|
backgroundStyle: { top: headerBottom },
|
|
1250
1250
|
contentPadding: SECTION_BAR_INSET_CLASS,
|
|
1251
1251
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1252
|
-
|
|
1252
|
+
_chunk5S2GW6YGcjs.StickySectionNav,
|
|
1253
1253
|
{
|
|
1254
1254
|
orientation: "horizontal",
|
|
1255
1255
|
label,
|
|
@@ -1258,7 +1258,7 @@ function PageSectionBar({ sections: listed, label, brand, action }) {
|
|
|
1258
1258
|
onSectionClick: handleSectionClick,
|
|
1259
1259
|
brand,
|
|
1260
1260
|
action: action && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1261
|
-
|
|
1261
|
+
_chunk2U7GXE3Tcjs.NavLinkAnchorViaRuntime,
|
|
1262
1262
|
{
|
|
1263
1263
|
href: action.href,
|
|
1264
1264
|
onClick: (event) => {
|
|
@@ -1345,7 +1345,7 @@ function LoadedNavigationSidebarItemButton({
|
|
|
1345
1345
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1346
1346
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex flex-shrink-0 items-center justify-center", children: [
|
|
1347
1347
|
_react.cloneElement.call(void 0, item.icon, { color: "inherit" }),
|
|
1348
|
-
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1348
|
+
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO6YVNAHcjs.UnreadDot, { size: "fixed" })
|
|
1349
1349
|
] }),
|
|
1350
1350
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1351
1351
|
"span",
|
|
@@ -1455,7 +1455,7 @@ function NavigationSidebar({ config, disabled = false, pushOnTablet = false }) {
|
|
|
1455
1455
|
setTabletFor(isTablet);
|
|
1456
1456
|
if (isTablet) setTabletMinimized(true);
|
|
1457
1457
|
}
|
|
1458
|
-
const hydrated =
|
|
1458
|
+
const hydrated = _chunk2U7GXE3Tcjs.useIsHydrated.call(void 0, );
|
|
1459
1459
|
const minimized = hydrated ? isTablet ? tabletMinimized : desktopMinimized : _nullishCoalesce(config.minimized, () => ( false));
|
|
1460
1460
|
const [transitionsEnabled, setTransitionsEnabled] = _react.useState.call(void 0, false);
|
|
1461
1461
|
const isOverlayOpen = isTablet && !minimized;
|
|
@@ -1647,7 +1647,7 @@ function HeaderGlobalSearch({
|
|
|
1647
1647
|
"form",
|
|
1648
1648
|
{
|
|
1649
1649
|
onSubmit: handleSubmit,
|
|
1650
|
-
...
|
|
1650
|
+
..._chunkP25RVNGXcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
1651
1651
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
1652
1652
|
"flex h-full flex-1 items-center gap-2 px-3",
|
|
1653
1653
|
// Transparent so the cell inherits the bar's background
|
|
@@ -1754,14 +1754,14 @@ function HeaderOrganizationFilter({
|
|
|
1754
1754
|
// src/components/navigation/ticket-alerts-button.tsx
|
|
1755
1755
|
|
|
1756
1756
|
function TicketAlertsButton({ href, disabled, className }) {
|
|
1757
|
-
const live =
|
|
1757
|
+
const live = _chunkXJMLZ63Ycjs.useOptionalTicketLive.call(void 0, );
|
|
1758
1758
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
1759
1759
|
if (!live || !live.authed || live.unreadTotal === 0) return null;
|
|
1760
1760
|
const targetId = live.nextUnreadTicketId;
|
|
1761
|
-
const target = targetId ?
|
|
1761
|
+
const target = targetId ? _chunkP25RVNGXcjs.buildTicketOpenHref.call(void 0, href, targetId) : href;
|
|
1762
1762
|
const handleClick = () => _chunkA34UNP5Vcjs.executeNavigationImperative.call(void 0, { runtime, href: target });
|
|
1763
1763
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1764
|
-
|
|
1764
|
+
_chunkAO6YVNAHcjs.HeaderButton,
|
|
1765
1765
|
{
|
|
1766
1766
|
icon: (
|
|
1767
1767
|
// Glyph inherits HeaderButton's standard cell coloring (secondary at
|
|
@@ -1771,7 +1771,7 @@ function TicketAlertsButton({ href, disabled, className }) {
|
|
|
1771
1771
|
// existing while updates are unread — never by tinting the glyph.
|
|
1772
1772
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative inline-flex", children: [
|
|
1773
1773
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk365ZKGGOcjs.LifeBuoyIcon, { className: "h-6 w-6" }),
|
|
1774
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1774
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO6YVNAHcjs.UnreadCountBadge, { count: live.unreadTotal })
|
|
1775
1775
|
] })
|
|
1776
1776
|
),
|
|
1777
1777
|
"aria-label": `Support tickets \u2014 ${live.unreadTotal} unread ${live.unreadTotal === 1 ? "update" : "updates"}`,
|
|
@@ -1847,7 +1847,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1847
1847
|
leading: (
|
|
1848
1848
|
// Mobile: Burger Menu Button
|
|
1849
1849
|
!isMdUp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1850
|
-
|
|
1850
|
+
_chunkAO6YVNAHcjs.HeaderButton,
|
|
1851
1851
|
{
|
|
1852
1852
|
onClick: onToggleMobileMenu,
|
|
1853
1853
|
isActive: isMobileMenuOpen,
|
|
@@ -1873,7 +1873,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1873
1873
|
center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderGlobalSearch, { onSubmit: onSearch, className: _chunk63A4GZMBcjs.cn.call(void 0, "w-full", dimmedClass) }) : void 0,
|
|
1874
1874
|
sideActions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1875
1875
|
showSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1876
|
-
|
|
1876
|
+
_chunkAO6YVNAHcjs.HeaderButton,
|
|
1877
1877
|
{
|
|
1878
1878
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ74QE57Tcjs.SearchIcon, { className: "h-6 w-6" }),
|
|
1879
1879
|
"aria-label": "Search",
|
|
@@ -1890,7 +1890,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1890
1890
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "hidden lg:flex", dimmedClass)
|
|
1891
1891
|
}
|
|
1892
1892
|
),
|
|
1893
|
-
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1893
|
+
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO6YVNAHcjs.TimeTrackerHeaderButton, { disabled, className: _chunk63A4GZMBcjs.cn.call(void 0, cellDivider, dimmedClass) }),
|
|
1894
1894
|
showNotifications && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1895
1895
|
NotificationsHeaderButton,
|
|
1896
1896
|
{
|
|
@@ -1909,7 +1909,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1909
1909
|
),
|
|
1910
1910
|
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkS3QXLD4Xcjs.DropdownMenu, { children: [
|
|
1911
1911
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS3QXLD4Xcjs.DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1912
|
-
|
|
1912
|
+
_chunkAO6YVNAHcjs.HeaderButton,
|
|
1913
1913
|
{
|
|
1914
1914
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1915
1915
|
_chunkBOS7OIC4cjs.SquareAvatar,
|
|
@@ -1994,12 +1994,12 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1994
1994
|
);
|
|
1995
1995
|
});
|
|
1996
1996
|
function NotificationsHeaderButton({ fallbackUnreadCount, disabled, dimmedClass }) {
|
|
1997
|
-
const ctx =
|
|
1997
|
+
const ctx = _chunkAO6YVNAHcjs.useOptionalNotifications.call(void 0, );
|
|
1998
1998
|
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _56 => _56.unreadCount]), () => ( fallbackUnreadCount))) > 0;
|
|
1999
1999
|
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _57 => _57.isOpen]), () => ( false));
|
|
2000
2000
|
const onClick = _optionalChain([ctx, 'optionalAccess', _58 => _58.toggle]);
|
|
2001
2001
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2002
|
-
|
|
2002
|
+
_chunkAO6YVNAHcjs.HeaderButton,
|
|
2003
2003
|
{
|
|
2004
2004
|
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" }),
|
|
2005
2005
|
showUnreadDot: !isActive && hasUnread,
|
|
@@ -2652,7 +2652,7 @@ function AppLayout({
|
|
|
2652
2652
|
}),
|
|
2653
2653
|
[]
|
|
2654
2654
|
);
|
|
2655
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2655
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO6YVNAHcjs.AppLayoutDrawerContainerContext.Provider, { value: drawerContainer, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO6YVNAHcjs.AppLayoutDrawerCoordinationContext.Provider, { value: drawerCoordination, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex h-screen flex-col bg-ods-bg", className), children: [
|
|
2656
2656
|
topBar,
|
|
2657
2657
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1", children: [
|
|
2658
2658
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, NavigationSidebar, { config: sidebarConfig, disabled, pushOnTablet: hasSidePanel }),
|
|
@@ -2676,7 +2676,7 @@ function AppLayout({
|
|
|
2676
2676
|
disabled
|
|
2677
2677
|
}
|
|
2678
2678
|
),
|
|
2679
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2679
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO6YVNAHcjs.NotificationDrawer, {}),
|
|
2680
2680
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2681
2681
|
"div",
|
|
2682
2682
|
{
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkIMMTH3F3cjs = require('./chunk-IMMTH3F3.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ var _chunkSBFBNOKUcjs = require('./chunk-SBFBNOKU.cjs');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkDNZCSPMUcjs = require('./chunk-DNZCSPMU.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -24,7 +24,7 @@ var _chunk2M4E2V25cjs = require('./chunk-2M4E2V25.cjs');
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkAO6YVNAHcjs = require('./chunk-AO6YVNAH.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
var _chunkIJCSQFLDcjs = require('./chunk-IJCSQFLD.cjs');
|
|
@@ -41,13 +41,13 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
var
|
|
44
|
+
var _chunkP25RVNGXcjs = require('./chunk-P25RVNGX.cjs');
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
|
|
50
|
-
var
|
|
50
|
+
var _chunk2U7GXE3Tcjs = require('./chunk-2U7GXE3T.cjs');
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
var _chunkEWCFJLNUcjs = require('./chunk-EWCFJLNU.cjs');
|
|
@@ -119,8 +119,8 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
119
119
|
var DEFAULT_ENDPOINT = "/api/releases";
|
|
120
120
|
var PRODUCT_RELEASES_PAGE_SIZE = 5;
|
|
121
121
|
var PAGER_ROW_CLASS = "flex w-full justify-center";
|
|
122
|
-
var DEFAULT_SEARCH_PARAM_KEY =
|
|
123
|
-
var DEFAULT_STATUS_PARAM_KEY =
|
|
122
|
+
var DEFAULT_SEARCH_PARAM_KEY = _chunkP25RVNGXcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
123
|
+
var DEFAULT_STATUS_PARAM_KEY = _chunkP25RVNGXcjs.DEV_SECTION_PARAM_KEYS.releaseStatus;
|
|
124
124
|
var DEFAULT_PAGE_PARAM_KEY = "page";
|
|
125
125
|
function ReleaseRow({
|
|
126
126
|
release,
|
|
@@ -128,7 +128,7 @@ function ReleaseRow({
|
|
|
128
128
|
buildCardProps
|
|
129
129
|
}) {
|
|
130
130
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
131
|
-
const cta =
|
|
131
|
+
const cta = _chunkP25RVNGXcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _2 => _2.composeContentUrl]), {
|
|
132
132
|
type: "product_release",
|
|
133
133
|
slug: release.slug,
|
|
134
134
|
basePath,
|
|
@@ -187,7 +187,7 @@ function ProductReleasesView({
|
|
|
187
187
|
initialData
|
|
188
188
|
});
|
|
189
189
|
const isLoading = inScope || fetching;
|
|
190
|
-
|
|
190
|
+
_chunkIMMTH3F3cjs.usePageDataSync.call(void 0, _optionalChain([data, 'optionalAccess', _3 => _3.sync]), isLoading && !data);
|
|
191
191
|
const releases = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _4 => _4.data]), () => ( []));
|
|
192
192
|
const totalCount = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _5 => _5.count]), () => ( 0));
|
|
193
193
|
const totalPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, totalCount, itemsPerPage);
|
|
@@ -206,10 +206,10 @@ function ProductReleasesView({
|
|
|
206
206
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
207
207
|
};
|
|
208
208
|
if (error) {
|
|
209
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
209
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO6YVNAHcjs.LoadError, { message: "Failed to load releases.", onRetry: reload }) });
|
|
210
210
|
}
|
|
211
211
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.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,
|
|
212
|
-
|
|
212
|
+
_chunkIMMTH3F3cjs.ListEmptyState,
|
|
213
213
|
{
|
|
214
214
|
isFiltered: hasActiveFilters,
|
|
215
215
|
filtered: {
|
|
@@ -322,7 +322,7 @@ function MediaGalleryStripSkeleton({
|
|
|
322
322
|
var _lucidereact = require('lucide-react');
|
|
323
323
|
|
|
324
324
|
|
|
325
|
-
var DefaultMarkdownRenderer =
|
|
325
|
+
var DefaultMarkdownRenderer = _chunkAO6YVNAHcjs.RichMarkdownRenderer;
|
|
326
326
|
var CONTENT_STACK_CLASS = "space-y-6 content-md:space-y-8";
|
|
327
327
|
var RELEASE_TITLE_SKELETON_LINES = { phone: 7, md: 4, lg: 2 };
|
|
328
328
|
var METADATA_GRID_CLASS = "grid w-full grid-cols-1 overflow-hidden rounded-md border border-ods-border content-md:grid-cols-4";
|
|
@@ -371,8 +371,8 @@ function ReleaseDetailPage({
|
|
|
371
371
|
shell = true
|
|
372
372
|
}) {
|
|
373
373
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
374
|
-
const captions =
|
|
375
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
374
|
+
const captions = _chunk2U7GXE3Tcjs.useCaptions.call(void 0, );
|
|
375
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO6YVNAHcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
376
376
|
const seed = initialData == null ? void 0 : initialData;
|
|
377
377
|
const {
|
|
378
378
|
data: release,
|
|
@@ -478,7 +478,7 @@ function ReleaseDetailPage({
|
|
|
478
478
|
children: [
|
|
479
479
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CONTENT_STACK_CLASS, children: [
|
|
480
480
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
481
|
-
|
|
481
|
+
_chunkAO6YVNAHcjs.EntityTagBadges,
|
|
482
482
|
{
|
|
483
483
|
tags: view.product_release_tags,
|
|
484
484
|
max: RELEASE_TAG_ROW_MAX,
|
|
@@ -559,7 +559,7 @@ function ReleaseDetailPage({
|
|
|
559
559
|
] })
|
|
560
560
|
] }) }) }),
|
|
561
561
|
loading ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
562
|
-
|
|
562
|
+
_chunkAO6YVNAHcjs.ReleaseChangelogSection,
|
|
563
563
|
{
|
|
564
564
|
title: "Breaking Changes",
|
|
565
565
|
entries: breakingChanges || [],
|
|
@@ -571,7 +571,7 @@ function ReleaseDetailPage({
|
|
|
571
571
|
}
|
|
572
572
|
),
|
|
573
573
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
574
|
-
|
|
574
|
+
_chunkAO6YVNAHcjs.ReleaseChangelogSection,
|
|
575
575
|
{
|
|
576
576
|
title: "Features Added",
|
|
577
577
|
entries: featuresAdded || [],
|
|
@@ -581,7 +581,7 @@ function ReleaseDetailPage({
|
|
|
581
581
|
}
|
|
582
582
|
),
|
|
583
583
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
584
|
-
|
|
584
|
+
_chunkAO6YVNAHcjs.ReleaseChangelogSection,
|
|
585
585
|
{
|
|
586
586
|
title: "Bugs Fixed",
|
|
587
587
|
entries: bugFixed || [],
|
|
@@ -591,7 +591,7 @@ function ReleaseDetailPage({
|
|
|
591
591
|
}
|
|
592
592
|
),
|
|
593
593
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
594
|
-
|
|
594
|
+
_chunkAO6YVNAHcjs.ReleaseChangelogSection,
|
|
595
595
|
{
|
|
596
596
|
title: "Improvements",
|
|
597
597
|
entries: improvements || [],
|
|
@@ -620,9 +620,9 @@ function ReleaseDetailPage({
|
|
|
620
620
|
return deliveryLoading ? (
|
|
621
621
|
// The loaded preview's frame, its height written into the markup (`fixedHeight`), so the tables'
|
|
622
622
|
// loading state takes the collapsed preview's place, toggle row included. Inert: nothing to open yet.
|
|
623
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { inert: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
623
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { inert: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO6YVNAHcjs.FadePreview, { fixedHeight: true, collapsedHeight: DELIVERY_PREVIEW_HEIGHT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DELIVERY_TABLES_STACK_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliverySection, { data: deliveryData, isLoading: deliveryLoading }) }) }) })
|
|
624
624
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
625
|
-
|
|
625
|
+
_chunkAO6YVNAHcjs.FadePreview,
|
|
626
626
|
{
|
|
627
627
|
hiddenCount: deliveryCount - 1,
|
|
628
628
|
collapsedHeight: DELIVERY_PREVIEW_HEIGHT,
|
|
@@ -702,7 +702,7 @@ function ReleaseDetailPage({
|
|
|
702
702
|
]
|
|
703
703
|
}
|
|
704
704
|
);
|
|
705
|
-
return renderShell(loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
705
|
+
return renderShell(loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2U7GXE3Tcjs.LoadingFallback, { label: "Loading the release", children: page }) : page);
|
|
706
706
|
}
|
|
707
707
|
|
|
708
708
|
// src/components/shared/roadmap/use-roadmap-voting.ts
|
|
@@ -725,7 +725,7 @@ function useRoadmapVoting(options = {}) {
|
|
|
725
725
|
const { getSignals } = _chunkT266OITJcjs.useHumanitySignals.call(void 0, );
|
|
726
726
|
const [votes, setVotes] = _react.useState.call(void 0, NO_VOTES);
|
|
727
727
|
const [loadedKey, setLoadedKey] = _react.useState.call(void 0, null);
|
|
728
|
-
const hydrated =
|
|
728
|
+
const hydrated = _chunk2U7GXE3Tcjs.useIsHydrated.call(void 0, );
|
|
729
729
|
if (hydrated && loadedKey !== storageKey) {
|
|
730
730
|
setLoadedKey(storageKey);
|
|
731
731
|
setVotes(readStoredVotes(storageKey));
|
|
@@ -886,7 +886,7 @@ function RoadmapGridSingle({
|
|
|
886
886
|
_chunk2IWAHBCCcjs.RoadmapCard,
|
|
887
887
|
{
|
|
888
888
|
item,
|
|
889
|
-
id:
|
|
889
|
+
id: _chunkP25RVNGXcjs.devSectionAnchorId.call(void 0, "roadmap", item.id),
|
|
890
890
|
userVote: getVote(item.id),
|
|
891
891
|
onVote: onVote ? (voteType) => onVote(item.id, voteType) : void 0,
|
|
892
892
|
isVoting: votingTasks.has(item.id)
|
|
@@ -1056,7 +1056,7 @@ function RoadmapGrid({
|
|
|
1056
1056
|
);
|
|
1057
1057
|
}
|
|
1058
1058
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1059
|
-
|
|
1059
|
+
_chunkAO6YVNAHcjs.Accordion,
|
|
1060
1060
|
{
|
|
1061
1061
|
type: "multiple",
|
|
1062
1062
|
value: expandedQuarters,
|
|
@@ -1066,14 +1066,14 @@ function RoadmapGrid({
|
|
|
1066
1066
|
const itemCount = _optionalChain([itemsByQuarter, 'access', _19 => _19[quarter], 'optionalAccess', _20 => _20.length]) || 0;
|
|
1067
1067
|
const isExpanded = expandedQuarters.includes(quarter);
|
|
1068
1068
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1069
|
-
|
|
1069
|
+
_chunkAO6YVNAHcjs.AccordionItem,
|
|
1070
1070
|
{
|
|
1071
1071
|
value: quarter,
|
|
1072
1072
|
id: `quarter-${quarter.replace(/\s+/g, "-").toLowerCase()}`,
|
|
1073
1073
|
className: "border-0",
|
|
1074
1074
|
"data-loading-item": true,
|
|
1075
1075
|
children: [
|
|
1076
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1076
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO6YVNAHcjs.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: QUARTER_HEAD_CLASS, children: [
|
|
1077
1077
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1078
1078
|
"h3",
|
|
1079
1079
|
{
|
|
@@ -1103,7 +1103,7 @@ function RoadmapGrid({
|
|
|
1103
1103
|
}
|
|
1104
1104
|
)
|
|
1105
1105
|
] }) }),
|
|
1106
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1106
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO6YVNAHcjs.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,
|
|
1107
1107
|
RoadmapGridSingle,
|
|
1108
1108
|
{
|
|
1109
1109
|
items: itemsByQuarter[quarter],
|
|
@@ -1129,8 +1129,8 @@ function RoadmapGrid({
|
|
|
1129
1129
|
var DEFAULT_ENDPOINT3 = "/api/roadmap";
|
|
1130
1130
|
var NO_ITEMS = [];
|
|
1131
1131
|
var SYNCED_LIST_CLASS = "flex w-full flex-col gap-[var(--spacing-system-lf)]";
|
|
1132
|
-
var DEFAULT_SEARCH_PARAM_KEY2 =
|
|
1133
|
-
var DEFAULT_STATUS_PARAM_KEY2 =
|
|
1132
|
+
var DEFAULT_SEARCH_PARAM_KEY2 = _chunkP25RVNGXcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1133
|
+
var DEFAULT_STATUS_PARAM_KEY2 = _chunkP25RVNGXcjs.DEV_SECTION_PARAM_KEYS.status;
|
|
1134
1134
|
function RoadmapView({
|
|
1135
1135
|
endpoint = DEFAULT_ENDPOINT3,
|
|
1136
1136
|
initialItems,
|
|
@@ -1154,18 +1154,18 @@ function RoadmapView({
|
|
|
1154
1154
|
});
|
|
1155
1155
|
const items = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _21 => _21.items]), () => ( []));
|
|
1156
1156
|
_chunkT266OITJcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkA34UNP5Vcjs.STICKY_HEADER_OFFSET_PX });
|
|
1157
|
-
const syncInPage =
|
|
1157
|
+
const syncInPage = _chunkIMMTH3F3cjs.usePageDataSync.call(void 0, _optionalChain([data, 'optionalAccess', _22 => _22.sync]), isLoading && !data);
|
|
1158
1158
|
if (error) {
|
|
1159
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1159
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO6YVNAHcjs.LoadError, { message: "Failed to load roadmap.", onRetry: reload });
|
|
1160
1160
|
}
|
|
1161
1161
|
if (isLoading && !data) {
|
|
1162
1162
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1163
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1163
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO6YVNAHcjs.DataSyncLine, { loading: true }),
|
|
1164
1164
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapGrid, { items: NO_ITEMS, isLoading: true, groupByQuarter: true, showLeftMargin })
|
|
1165
1165
|
] });
|
|
1166
1166
|
}
|
|
1167
1167
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1168
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1168
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO6YVNAHcjs.DataSyncLine, { sync: _optionalChain([data, 'optionalAccess', _23 => _23.sync]) }),
|
|
1169
1169
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1170
1170
|
RoadmapGrid,
|
|
1171
1171
|
{
|
|
@@ -1189,7 +1189,7 @@ var TABLE_FRAME_CLASS = `w-full ${_chunkUEULXVW2cjs.CONTENT_CARD_SKELETON_FRAME_
|
|
|
1189
1189
|
var ROW_SEPARATOR_CLASS = "border-b border-ods-border last:border-b-0";
|
|
1190
1190
|
var DELIVERY_TABLE_SKELETON_ROWS = 5;
|
|
1191
1191
|
function DeliveryTableSkeleton() {
|
|
1192
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: TABLE_FRAME_CLASS, "aria-hidden": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: DELIVERY_TABLE_SKELETON_ROWS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1192
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: TABLE_FRAME_CLASS, "aria-hidden": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: DELIVERY_TABLE_SKELETON_ROWS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIMMTH3F3cjs.DeliveryRow, { loading: true }) }) }) }) });
|
|
1193
1193
|
}
|
|
1194
1194
|
function DeliveryTable({ items, isLoading = false }) {
|
|
1195
1195
|
if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || isLoading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliveryTableSkeleton, {});
|
|
@@ -1202,7 +1202,7 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1202
1202
|
// → `#delivery-<external_id>`; `useScrollToHash` in
|
|
1203
1203
|
// `delivery-lists.tsx` finds the row by id and scrolls. The
|
|
1204
1204
|
// outer wrapper here ONLY exists for the row separators.
|
|
1205
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1205
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIMMTH3F3cjs.DeliveryRow, { item, id: _chunkP25RVNGXcjs.devSectionAnchorId.call(void 0, "delivery", item.id) }) }, item.id)
|
|
1206
1206
|
)) }) });
|
|
1207
1207
|
}
|
|
1208
1208
|
|
|
@@ -1211,8 +1211,8 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1211
1211
|
|
|
1212
1212
|
var DEFAULT_COMPLETED_ENDPOINT = "/api/delivery/completed";
|
|
1213
1213
|
var DEFAULT_IN_PROGRESS_ENDPOINT = "/api/delivery/in-progress";
|
|
1214
|
-
var DEFAULT_SEARCH_PARAM_KEY3 =
|
|
1215
|
-
var DEFAULT_TASK_TYPE_PARAM_KEY =
|
|
1214
|
+
var DEFAULT_SEARCH_PARAM_KEY3 = _chunkP25RVNGXcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1215
|
+
var DEFAULT_TASK_TYPE_PARAM_KEY = _chunkP25RVNGXcjs.DEV_SECTION_PARAM_KEYS.deliveryTaskType;
|
|
1216
1216
|
function DeliveryLists({
|
|
1217
1217
|
completedApiEndpoint = DEFAULT_COMPLETED_ENDPOINT,
|
|
1218
1218
|
inProgressApiEndpoint = DEFAULT_IN_PROGRESS_ENDPOINT,
|
|
@@ -1287,18 +1287,18 @@ function DeliveryLists({
|
|
|
1287
1287
|
const filteredCompleted = _optionalChain([data, 'optionalAccess', _24 => _24.completed]) || [];
|
|
1288
1288
|
const filteredInProgress = _optionalChain([data, 'optionalAccess', _25 => _25.inProgress]) || [];
|
|
1289
1289
|
_chunkT266OITJcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkA34UNP5Vcjs.STICKY_HEADER_OFFSET_PX });
|
|
1290
|
-
const syncInPage =
|
|
1290
|
+
const syncInPage = _chunkIMMTH3F3cjs.usePageDataSync.call(void 0, sync, isLoading && !data);
|
|
1291
1291
|
const showCompleted = true;
|
|
1292
1292
|
const showInProgress = true;
|
|
1293
1293
|
const hasActiveFilters = searchQuery !== "" || taskTypeFilter !== "all";
|
|
1294
1294
|
const hasResults = showCompleted && filteredCompleted.length > 0 || showInProgress && filteredInProgress.length > 0;
|
|
1295
1295
|
if (error) {
|
|
1296
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1296
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO6YVNAHcjs.LoadError, { message: error, onRetry: () => window.location.reload() }) });
|
|
1297
1297
|
}
|
|
1298
1298
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[40px]", children: [
|
|
1299
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1299
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO6YVNAHcjs.DataSyncLine, { sync, loading: isLoading && !data }),
|
|
1300
1300
|
!isLoading && !hasResults && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1301
|
-
|
|
1301
|
+
_chunkIMMTH3F3cjs.ListEmptyState,
|
|
1302
1302
|
{
|
|
1303
1303
|
isFiltered: hasActiveFilters,
|
|
1304
1304
|
filtered: {
|
|
@@ -1523,7 +1523,7 @@ function legalDocumentStampLabel(doc) {
|
|
|
1523
1523
|
}
|
|
1524
1524
|
var LEGAL_DOCUMENT_SKELETON_SECTIONS = 3;
|
|
1525
1525
|
function LegalDocumentSkeleton({ sections = LEGAL_DOCUMENT_SKELETON_SECTIONS }) {
|
|
1526
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { label: "Loading the document", className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1526
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { label: "Loading the document", className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2U7GXE3Tcjs.MarkdownEngine, { loading: true, content: "", skeletonTitle: true, skeletonSections: sections, textSize: "article" }) });
|
|
1527
1527
|
}
|
|
1528
1528
|
function LegalDocumentPage({
|
|
1529
1529
|
docType,
|
|
@@ -1535,7 +1535,7 @@ function LegalDocumentPage({
|
|
|
1535
1535
|
emptyStateMessage: emptyStateMessageProp,
|
|
1536
1536
|
initialData = null,
|
|
1537
1537
|
apiEndpoint,
|
|
1538
|
-
MarkdownRenderer =
|
|
1538
|
+
MarkdownRenderer = _chunkAO6YVNAHcjs.RichMarkdownRenderer,
|
|
1539
1539
|
documentsEndpoint,
|
|
1540
1540
|
backButton,
|
|
1541
1541
|
faq,
|
|
@@ -1566,7 +1566,7 @@ function LegalDocumentPage({
|
|
|
1566
1566
|
titleSize: "h1",
|
|
1567
1567
|
titleWrap: true,
|
|
1568
1568
|
children: [
|
|
1569
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1569
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO6YVNAHcjs.DataSyncLine, { sync: data ? { source: "github", syncedAt: data.lastSynced } : null, loading: isLoading }),
|
|
1570
1570
|
/* @__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: _chunk63A4GZMBcjs.cn.call(void 0, "flex-1", isLoading && "w-full"), 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 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LegalDocumentSkeleton, {}) : error ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4 text-center", children: [
|
|
1571
1571
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rounded-lg border border-ods-error bg-ods-error-secondary p-6", children: [
|
|
1572
1572
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "mb-2 text-ods-error", children: errorTitle }),
|
|
@@ -1586,11 +1586,11 @@ function LegalDocumentPage({
|
|
|
1586
1586
|
"for more information."
|
|
1587
1587
|
] })
|
|
1588
1588
|
] }) }) }) }) }),
|
|
1589
|
-
faqSlot && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1589
|
+
faqSlot && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDNZCSPMUcjs.FaqSection, { ..._chunkDNZCSPMUcjs.pageFaqProps.call(void 0, faqSlot) })
|
|
1590
1590
|
]
|
|
1591
1591
|
}
|
|
1592
1592
|
);
|
|
1593
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1593
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO6YVNAHcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
1594
1594
|
}
|
|
1595
1595
|
|
|
1596
1596
|
|