@flamingo-stack/openframe-frontend-core 0.0.842 → 0.0.843
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/{chunk-YNKXXDOI.cjs → chunk-2H5D2PUC.cjs} +4 -4
- package/dist/{chunk-7UZYI4GV.cjs → chunk-2JZFXGHE.cjs} +2 -2
- package/dist/{chunk-GQJXOX5S.cjs → chunk-2WGA2IRN.cjs} +157 -85
- package/dist/{chunk-RAFWT3WG.cjs → chunk-3IXW2EKO.cjs} +24 -24
- package/dist/{chunk-3ONBCAD2.cjs → chunk-DUB2UVYS.cjs} +22 -33
- package/dist/{chunk-CQQRGM6D.cjs → chunk-HLMA6CDT.cjs} +31 -31
- package/dist/{chunk-ZOWAYKDN.cjs → chunk-OGINOWMT.cjs} +3 -3
- package/dist/{chunk-2HRQU4ZL.cjs → chunk-QBZ73IK7.cjs} +10 -10
- package/dist/{chunk-WOYARKPQ.cjs → chunk-QJRZVIQP.cjs} +7 -7
- package/dist/{chunk-SMZWXY4X.cjs → chunk-QKZQ5Q6E.cjs} +6 -1
- package/dist/{chunk-IVM35OAW.cjs → chunk-SOQVKIWM.cjs} +3 -3
- package/dist/{chunk-IVS23CAK.cjs → chunk-ZXEWBJUE.cjs} +3 -3
- package/dist/{cloud-tenants-U6Y2UZVF.cjs → cloud-tenants-VPYROTKH.cjs} +2 -2
- package/dist/components/case-studies/index.cjs +11 -11
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/docs/index.cjs +4 -4
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/features/devices/device-unread-indicator.d.ts +6 -0
- package/dist/components/features/devices/device-unread-indicator.d.ts.map +1 -0
- package/dist/components/features/devices/device-unread-indicator.js +12 -0
- package/dist/components/features/devices/devices-grid.d.ts.map +1 -1
- package/dist/components/features/devices/devices-grid.js +5 -1
- package/dist/components/features/devices/devices-table-columns.d.ts.map +1 -1
- package/dist/components/features/devices/devices-table-columns.js +3 -1
- package/dist/components/features/devices/devices-view-config.d.ts +6 -4
- package/dist/components/features/devices/devices-view-config.d.ts.map +1 -1
- package/dist/components/features/devices/index.d.ts +1 -0
- package/dist/components/features/devices/index.d.ts.map +1 -1
- package/dist/components/features/devices/index.js +2 -0
- package/dist/components/features/devices/types.d.ts +2 -0
- package/dist/components/features/devices/types.d.ts.map +1 -1
- package/dist/components/features/index.cjs +4 -2
- package/dist/components/help-center-pages/index.cjs +46 -46
- package/dist/components/index.cjs +25 -17
- package/dist/components/meeting-scheduler/index.cjs +20 -20
- package/dist/components/navigation/count-pill.d.ts +10 -0
- package/dist/components/navigation/count-pill.d.ts.map +1 -0
- package/dist/components/navigation/count-pill.js +18 -0
- package/dist/components/navigation/index.cjs +9 -3
- package/dist/components/navigation/index.d.ts +4 -0
- package/dist/components/navigation/index.d.ts.map +1 -1
- package/dist/components/navigation/index.js +5 -0
- package/dist/components/navigation/navigation-sidebar-grouped.d.ts.map +1 -1
- package/dist/components/navigation/navigation-sidebar-grouped.js +1 -12
- package/dist/components/navigation/unread-notifications-indicator.d.ts +19 -0
- package/dist/components/navigation/unread-notifications-indicator.d.ts.map +1 -0
- package/dist/components/navigation/unread-notifications-indicator.js +45 -0
- package/dist/components/onboarding-guides/index.cjs +3 -3
- package/dist/components/product-demo/fixtures/devices.d.ts.map +1 -1
- package/dist/components/product-demo/fixtures/devices.js +6 -1
- package/dist/components/product-demo/index.cjs +11 -11
- package/dist/components/tickets/index.cjs +5 -5
- package/dist/components/ui/index.cjs +2 -2
- package/dist/{devices-HB4GEMJH.cjs → devices-W76BAABE.cjs} +5 -5
- package/dist/index.cjs +11 -3
- package/dist/{knowledge-I53Z6DV7.cjs → knowledge-ILAIWOSY.cjs} +2 -2
- package/dist/{logs-SFLAZIQG.cjs → logs-VCPRFJGB.cjs} +9 -9
- package/dist/{policies-EIAGQO6T.cjs → policies-3BNAW4M5.cjs} +6 -6
- package/dist/{scripts-SNJ4UVRF.cjs → scripts-VFFSJDYV.cjs} +7 -7
- package/dist/{software-update-AZFRUC5N.cjs → software-update-VTBTLCZO.cjs} +7 -7
- package/package.json +1 -1
- package/src/components/features/devices/device-unread-indicator.tsx +14 -0
- package/src/components/features/devices/devices-grid.tsx +9 -1
- package/src/components/features/devices/devices-table-columns.tsx +3 -0
- package/src/components/features/devices/devices-view-config.tsx +6 -4
- package/src/components/features/devices/index.ts +1 -0
- package/src/components/features/devices/types.ts +2 -0
- package/src/components/navigation/count-pill.tsx +25 -0
- package/src/components/navigation/index.ts +4 -0
- package/src/components/navigation/navigation-sidebar-grouped.tsx +1 -14
- package/src/components/navigation/unread-notifications-indicator.tsx +69 -0
- package/src/components/product-demo/fixtures/devices.ts +7 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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 _chunkZXEWBJUEcjs = require('./chunk-ZXEWBJUE.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunk2H5D2PUCcjs = require('./chunk-2H5D2PUC.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -28,7 +28,7 @@ var _chunkMWQOM2EIcjs = require('./chunk-MWQOM2EI.cjs');
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunk2WGA2IRNcjs = require('./chunk-2WGA2IRN.cjs');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
@@ -693,7 +693,7 @@ function TicketOpenForm({ onSubmit, isSubmitting, supportSystemDown }) {
|
|
|
693
693
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
694
694
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3MBQRCQcjs.Label, { htmlFor: "ticket-content", className: "mb-1", children: "Your Message" }),
|
|
695
695
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
696
|
-
|
|
696
|
+
_chunk2WGA2IRNcjs.Textarea,
|
|
697
697
|
{
|
|
698
698
|
id: "ticket-content",
|
|
699
699
|
placeholder: "Describe your issue or question in detail...",
|
|
@@ -823,7 +823,7 @@ function TicketLinkedDeliveryCard({ clickup, className }) {
|
|
|
823
823
|
dateClosed: clickup.date_closed,
|
|
824
824
|
clickupUrl: _nullishCoalesce(clickup.clickup_url, () => ( ""))
|
|
825
825
|
};
|
|
826
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${_chunkEUEPGHY4cjs.CONTENT_CARD_SKELETON_FRAME_CLASS} ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
826
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${_chunkEUEPGHY4cjs.CONTENT_CARD_SKELETON_FRAME_CLASS} ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2H5D2PUCcjs.DeliveryRow, { item, href: clickup.delivery_href, caption: "Linked delivery" }) });
|
|
827
827
|
}
|
|
828
828
|
|
|
829
829
|
// src/components/tickets/ticket-reply-composer.tsx
|
|
@@ -905,13 +905,13 @@ function TicketReplyComposer({
|
|
|
905
905
|
}
|
|
906
906
|
)
|
|
907
907
|
] }),
|
|
908
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
909
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
910
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
911
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
908
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.AlertDialog, { open: closeDialogOpen, onOpenChange: setCloseDialogOpen, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2WGA2IRNcjs.AlertDialogContent, { className: "border-ods-border bg-ods-card", children: [
|
|
909
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2WGA2IRNcjs.AlertDialogHeader, { children: [
|
|
910
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.AlertDialogTitle, { className: "text-ods-text-primary", children: "Close this ticket?" }),
|
|
911
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.AlertDialogDescription, { className: "text-ods-text-secondary", children: "Add an optional resolution note below. You can reopen the ticket later if needed." })
|
|
912
912
|
] }),
|
|
913
913
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
914
|
-
|
|
914
|
+
_chunk2WGA2IRNcjs.Textarea,
|
|
915
915
|
{
|
|
916
916
|
value: resolution,
|
|
917
917
|
onChange: (e) => setResolution(e.target.value),
|
|
@@ -921,9 +921,9 @@ function TicketReplyComposer({
|
|
|
921
921
|
className: "mt-2"
|
|
922
922
|
}
|
|
923
923
|
),
|
|
924
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
924
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2WGA2IRNcjs.AlertDialogFooter, { children: [
|
|
925
925
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
926
|
-
|
|
926
|
+
_chunk2WGA2IRNcjs.AlertDialogCancel,
|
|
927
927
|
{
|
|
928
928
|
disabled: busy,
|
|
929
929
|
className: "border-ods-border bg-transparent text-ods-text-primary hover:bg-ods-border",
|
|
@@ -931,7 +931,7 @@ function TicketReplyComposer({
|
|
|
931
931
|
}
|
|
932
932
|
),
|
|
933
933
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
934
|
-
|
|
934
|
+
_chunk2WGA2IRNcjs.AlertDialogAction,
|
|
935
935
|
{
|
|
936
936
|
onClick: () => void confirmClose(),
|
|
937
937
|
disabled: busy,
|
|
@@ -1092,7 +1092,7 @@ function TicketTimelinePanel({ ticket }) {
|
|
|
1092
1092
|
avatarUrl: avatarSrc,
|
|
1093
1093
|
timeLabel: eng.createdAt ? _chunk6LDL3UZEcjs.formatRelativeTime.call(void 0, eng.createdAt) : null,
|
|
1094
1094
|
body: stripAttachmentsPreamble(_nullishCoalesce(eng.body, () => ( ""))),
|
|
1095
|
-
footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1095
|
+
footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.TicketAttachmentsList, { attachments: engAttachments, size: "compact" }) }) : null
|
|
1096
1096
|
},
|
|
1097
1097
|
eng.id
|
|
1098
1098
|
);
|
|
@@ -1339,7 +1339,7 @@ function TicketCenterAuthed({
|
|
|
1339
1339
|
const toggleRow = _react.useCallback.call(void 0, (id) => {
|
|
1340
1340
|
setExpandedTicketId((prev) => prev === id ? null : id);
|
|
1341
1341
|
}, []);
|
|
1342
|
-
const syncInPage =
|
|
1342
|
+
const syncInPage = _chunk2H5D2PUCcjs.usePageDataSync.call(void 0, sync, isLoading);
|
|
1343
1343
|
const merged = [...optimisticTickets, ...tickets];
|
|
1344
1344
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1345
1345
|
TicketCenterView,
|
|
@@ -1375,7 +1375,7 @@ function TicketCenterAuthed({
|
|
|
1375
1375
|
function TicketCenterPending({
|
|
1376
1376
|
region = true
|
|
1377
1377
|
} = {}) {
|
|
1378
|
-
const syncInPage =
|
|
1378
|
+
const syncInPage = _chunk2H5D2PUCcjs.usePageDataSync.call(void 0, null, true);
|
|
1379
1379
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPMJUYW3cjs.LoadingFallback, { label: "Loading tickets", status: region, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1380
1380
|
TicketCenterView,
|
|
1381
1381
|
{
|
|
@@ -1438,7 +1438,7 @@ function TicketListHeader({
|
|
|
1438
1438
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-3", children: [
|
|
1439
1439
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h5", children: "Your Current Tickets" }),
|
|
1440
1440
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3 text-ods-text-secondary text-h6", children: [
|
|
1441
|
-
sync !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1441
|
+
sync !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.DataSyncLine, { sync, loading: syncLoading, inline: true }),
|
|
1442
1442
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { inert: !onRefresh || void 0, "aria-hidden": !onRefresh || void 0, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1443
1443
|
_chunkFCZAUK4Dcjs.Button,
|
|
1444
1444
|
{
|
|
@@ -1473,7 +1473,7 @@ function HelpCenterCard(props) {
|
|
|
1473
1473
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterCardLoaded, { ...props });
|
|
1474
1474
|
}
|
|
1475
1475
|
function HelpCenterCardSkeleton({ id, ...props }) {
|
|
1476
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { id, className: HELP_CENTER_ROW_CLASS, "aria-hidden": true, ..._chunk63A4GZMBcjs.loadingItemProps.call(void 0, props), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: HELP_CENTER_SUMMARY_PAD_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1476
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { id, className: HELP_CENTER_ROW_CLASS, "aria-hidden": true, ..._chunk63A4GZMBcjs.loadingItemProps.call(void 0, props), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: HELP_CENTER_SUMMARY_PAD_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2H5D2PUCcjs.DevCardRowContent, { loading: true, title: "", subtitle: "", description: "", rightBadges: null }) }) });
|
|
1477
1477
|
}
|
|
1478
1478
|
function HelpCenterCardLoaded({
|
|
1479
1479
|
ticket,
|
|
@@ -1567,7 +1567,7 @@ function HelpCenterCardLoaded({
|
|
|
1567
1567
|
"aria-expanded": isExpandable ? isExpanded : void 0,
|
|
1568
1568
|
"aria-controls": isExpanded ? `help-center-drawer-${ticket.id}` : void 0,
|
|
1569
1569
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, "block", HELP_CENTER_SUMMARY_PAD_CLASS), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1570
|
-
|
|
1570
|
+
_chunk2H5D2PUCcjs.DevCardRowContent,
|
|
1571
1571
|
{
|
|
1572
1572
|
title,
|
|
1573
1573
|
subtitle,
|
|
@@ -1648,7 +1648,7 @@ function HelpCenterCreateFormBody({
|
|
|
1648
1648
|
subjectError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { id: "help-center-subject-error", className: "mt-1 text-ods-error text-h6", children: subjectError })
|
|
1649
1649
|
] });
|
|
1650
1650
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1651
|
-
|
|
1651
|
+
_chunkZXEWBJUEcjs.ContactForm,
|
|
1652
1652
|
{
|
|
1653
1653
|
rescue: null,
|
|
1654
1654
|
title: "Open a new ticket",
|
|
@@ -1698,7 +1698,7 @@ function HelpCenterList({ toast: toast2 = _chunkSSSI2RBVcjs.toast, backButton, t
|
|
|
1698
1698
|
const page = _chunkBLH2SFOOcjs.positiveInt.call(void 0, searchParams.get("page"), 1);
|
|
1699
1699
|
if (identity.isLoading) {
|
|
1700
1700
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1701
|
-
|
|
1701
|
+
_chunk2H5D2PUCcjs.DevSectionPage,
|
|
1702
1702
|
{
|
|
1703
1703
|
sectionKey: "tickets",
|
|
1704
1704
|
backButton,
|
|
@@ -1710,7 +1710,7 @@ function HelpCenterList({ toast: toast2 = _chunkSSSI2RBVcjs.toast, backButton, t
|
|
|
1710
1710
|
);
|
|
1711
1711
|
}
|
|
1712
1712
|
if (identity.authTier === "anon" || !_optionalChain([identity, 'access', _66 => _66.user, 'optionalAccess', _67 => _67.email])) {
|
|
1713
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1713
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2H5D2PUCcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1714
1714
|
_chunkCNMXP77Icjs.EmptyState,
|
|
1715
1715
|
{
|
|
1716
1716
|
type: "generic",
|
|
@@ -1841,7 +1841,7 @@ function HelpCenterListAuthed({
|
|
|
1841
1841
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { type: "button", variant: "accent", onClick: () => refetch(), children: "Retry" })
|
|
1842
1842
|
] }),
|
|
1843
1843
|
!error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: isLoading || !hasResults && isFetching ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterRowsFrame, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: pageSize, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterCard, { ticket: null, "data-loading-item": true }) }) }) : !hasResults ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1844
|
-
|
|
1844
|
+
_chunk2H5D2PUCcjs.ListEmptyState,
|
|
1845
1845
|
{
|
|
1846
1846
|
isFiltered: hasActiveFilters,
|
|
1847
1847
|
filtered: {
|
|
@@ -1881,7 +1881,7 @@ function HelpCenterListAuthed({
|
|
|
1881
1881
|
)) }) }),
|
|
1882
1882
|
!error && totalPages > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCNMXP77Icjs.UnifiedPagination, { currentPage: page, totalPages })
|
|
1883
1883
|
] });
|
|
1884
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1884
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2H5D2PUCcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, preControls: form, children: body });
|
|
1885
1885
|
}
|
|
1886
1886
|
function HelpCenterRowsFrame({ children }) {
|
|
1887
1887
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full overflow-clip rounded-[6px] border border-ods-border bg-ods-card", children });
|
|
@@ -18,7 +18,8 @@ var _chunkMWQOM2EIcjs = require('./chunk-MWQOM2EI.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
|
|
22
|
+
var _chunk2WGA2IRNcjs = require('./chunk-2WGA2IRN.cjs');
|
|
22
23
|
|
|
23
24
|
|
|
24
25
|
|
|
@@ -218,7 +219,7 @@ function NavItemRow({
|
|
|
218
219
|
className
|
|
219
220
|
}) {
|
|
220
221
|
const label = navLinkLabel(link);
|
|
221
|
-
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
222
|
+
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.UnreadCountBadge, { count: badge, className: "static shrink-0" }) : null;
|
|
222
223
|
const singleLine = !link.description && !link.builtOn;
|
|
223
224
|
const rowClassName = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
224
225
|
ROW_CLASSES[variant],
|
|
@@ -640,7 +641,7 @@ function SiteHeader({
|
|
|
640
641
|
leading: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
641
642
|
leading,
|
|
642
643
|
mobile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
643
|
-
|
|
644
|
+
_chunk2WGA2IRNcjs.HeaderButton,
|
|
644
645
|
{
|
|
645
646
|
className: "border-r border-ods-border lg:hidden",
|
|
646
647
|
onClick: mobile.onToggle,
|
|
@@ -947,7 +948,7 @@ function SiteFooter({
|
|
|
947
948
|
const bandPrimary = typeof nav.primaryCta === "object" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "accent", href: nav.primaryCta.href, children: nav.primaryCta.label }) : nav.primaryCta === "none" ? null : _nullishCoalesce(cta, () => ( null));
|
|
948
949
|
const columns = nav.footerColumns;
|
|
949
950
|
const accordion = columns.length > ACCORDION_OVER;
|
|
950
|
-
const socialRow = _nullishCoalesce(social, () => ( (nav.brand.social.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
951
|
+
const socialRow = _nullishCoalesce(social, () => ( (nav.brand.social.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.SocialIconRow, { compact: true, links: _chunk2WGA2IRNcjs.siteNavSocialLinks.call(void 0, nav.brand.social) }) : null)));
|
|
951
952
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
952
953
|
"footer",
|
|
953
954
|
{
|
|
@@ -1251,7 +1252,7 @@ function PageSectionBar({ sections: listed, label, brand, action }) {
|
|
|
1251
1252
|
});
|
|
1252
1253
|
if (sections.length === 0 && !inScope) return null;
|
|
1253
1254
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1254
|
-
|
|
1255
|
+
_chunk2WGA2IRNcjs.PageContainer,
|
|
1255
1256
|
{
|
|
1256
1257
|
as: "div",
|
|
1257
1258
|
backgroundClassName: "sticky z-30 border-b border-ods-border bg-ods-bg transition-[top] duration-300 ease-in-out motion-reduce:transition-none",
|
|
@@ -1347,20 +1348,8 @@ var idleIcon = (group) => _chunk63A4GZMBcjs.cn.call(void 0,
|
|
|
1347
1348
|
group === "row" ? "group-hover/nav-row:text-ods-text-primary" : "group-hover/nav-child:text-ods-text-primary"
|
|
1348
1349
|
);
|
|
1349
1350
|
var EXPANDED_ONLY = "opacity-0 transition-opacity duration-150 @[140px]/of-nav-sidebar:opacity-100 motion-reduce:transition-none";
|
|
1350
|
-
function CountPill({ count, className }) {
|
|
1351
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1352
|
-
"span",
|
|
1353
|
-
{
|
|
1354
|
-
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
1355
|
-
"flex h-6 min-w-6 shrink-0 items-center justify-center rounded-md bg-ods-accent px-[var(--spacing-system-xxs)]",
|
|
1356
|
-
className
|
|
1357
|
-
),
|
|
1358
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-on-accent text-h5", children: count > 99 ? "99+" : count })
|
|
1359
|
-
}
|
|
1360
|
-
);
|
|
1361
|
-
}
|
|
1362
1351
|
function RowEnd({ count }) {
|
|
1363
|
-
return count > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CountPill, { count, className: "ml-auto" }) : null;
|
|
1352
|
+
return count > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.CountPill, { count, className: "ml-auto" }) : null;
|
|
1364
1353
|
}
|
|
1365
1354
|
function RowLabel({ item, showLabel = true }) {
|
|
1366
1355
|
const unreadCount = _nullishCoalesce(item.unreadCount, () => ( 0));
|
|
@@ -1397,7 +1386,7 @@ function RowIcon({ item, size, className }) {
|
|
|
1397
1386
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "relative flex shrink-0 items-center justify-center", size === 20 ? "size-5" : "size-4", className),
|
|
1398
1387
|
children: [
|
|
1399
1388
|
sizedIcon(item.icon, size),
|
|
1400
|
-
(_nullishCoalesce(item.unreadCount, () => ( 0))) > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1389
|
+
(_nullishCoalesce(item.unreadCount, () => ( 0))) > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.UnreadDot, { size: "fixed", className: "@[140px]/of-nav-sidebar:hidden" })
|
|
1401
1390
|
]
|
|
1402
1391
|
}
|
|
1403
1392
|
);
|
|
@@ -1732,7 +1721,7 @@ function LoadedNavigationSidebarItemButton({
|
|
|
1732
1721
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1733
1722
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex flex-shrink-0 items-center justify-center", children: [
|
|
1734
1723
|
_react.cloneElement.call(void 0, item.icon, { color: "inherit" }),
|
|
1735
|
-
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1724
|
+
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.UnreadDot, { size: "fixed" })
|
|
1736
1725
|
] }),
|
|
1737
1726
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1738
1727
|
"span",
|
|
@@ -2350,7 +2339,7 @@ function toMenuGroups(entries) {
|
|
|
2350
2339
|
),
|
|
2351
2340
|
children: [
|
|
2352
2341
|
entry.icon,
|
|
2353
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2342
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.UnreadCountBadge, { count: _nullishCoalesce(entry.count, () => ( 0)) })
|
|
2354
2343
|
]
|
|
2355
2344
|
}
|
|
2356
2345
|
) : void 0,
|
|
@@ -2423,7 +2412,7 @@ function AccountPopover({
|
|
|
2423
2412
|
"aria-hidden": "true"
|
|
2424
2413
|
}
|
|
2425
2414
|
),
|
|
2426
|
-
unread && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2415
|
+
unread && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.UnreadDot, { size: "fixed" })
|
|
2427
2416
|
] }),
|
|
2428
2417
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2429
2418
|
"span",
|
|
@@ -2622,14 +2611,14 @@ function NotificationsBellButton({
|
|
|
2622
2611
|
variant = "cell",
|
|
2623
2612
|
className
|
|
2624
2613
|
}) {
|
|
2625
|
-
const ctx =
|
|
2614
|
+
const ctx = _chunk2WGA2IRNcjs.useOptionalNotifications.call(void 0, );
|
|
2626
2615
|
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _75 => _75.unreadCount]), () => ( fallbackUnreadCount))) > 0;
|
|
2627
2616
|
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _76 => _76.isOpen]), () => ( false));
|
|
2628
2617
|
const onClick = _optionalChain([ctx, 'optionalAccess', _77 => _77.toggle]);
|
|
2629
2618
|
const floating = variant === "floating";
|
|
2630
2619
|
const iconClassName = variant === "cell" ? "h-6 w-6" : "h-5 w-5";
|
|
2631
2620
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2632
|
-
|
|
2621
|
+
_chunk2WGA2IRNcjs.HeaderButton,
|
|
2633
2622
|
{
|
|
2634
2623
|
icon: isActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, { className: iconClassName }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCON36SEJcjs.BellIcon, { className: iconClassName }),
|
|
2635
2624
|
showUnreadDot: !isActive && hasUnread,
|
|
@@ -2659,7 +2648,7 @@ function TicketAlertsButton({ href, disabled, variant = "cell", className }) {
|
|
|
2659
2648
|
const target = targetId ? _chunk4ASUUB3Acjs.buildTicketOpenHref.call(void 0, href, targetId) : href;
|
|
2660
2649
|
const handleClick = () => _chunkXCVH5BCZcjs.executeNavigationImperative.call(void 0, { runtime, href: target });
|
|
2661
2650
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2662
|
-
|
|
2651
|
+
_chunk2WGA2IRNcjs.HeaderButton,
|
|
2663
2652
|
{
|
|
2664
2653
|
icon: (
|
|
2665
2654
|
// Glyph inherits HeaderButton's standard cell coloring (secondary at
|
|
@@ -2669,7 +2658,7 @@ function TicketAlertsButton({ href, disabled, variant = "cell", className }) {
|
|
|
2669
2658
|
// existing while updates are unread — never by tinting the glyph.
|
|
2670
2659
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative inline-flex", children: [
|
|
2671
2660
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk365ZKGGOcjs.LifeBuoyIcon, { className: variant === "compact" ? "h-5 w-5" : "h-6 w-6" }),
|
|
2672
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2661
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.UnreadCountBadge, { count: live.unreadTotal })
|
|
2673
2662
|
] })
|
|
2674
2663
|
),
|
|
2675
2664
|
"aria-label": `Support tickets \u2014 ${live.unreadTotal} unread ${live.unreadTotal === 1 ? "update" : "updates"}`,
|
|
@@ -2742,7 +2731,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
2742
2731
|
const dimmedClass = disabled ? "pointer-events-none opacity-50" : "";
|
|
2743
2732
|
const cellDivider = "border-l border-ods-border";
|
|
2744
2733
|
const renderCustomCells = (placement) => _optionalChain([customCells, 'optionalAccess', _78 => _78.filter, 'call', _79 => _79((cell) => (_nullishCoalesce(cell.placement, () => ( "start"))) === placement), 'access', _80 => _80.map, 'call', _81 => _81((cell) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2745
|
-
|
|
2734
|
+
_chunk2WGA2IRNcjs.HeaderButton,
|
|
2746
2735
|
{
|
|
2747
2736
|
type: "button",
|
|
2748
2737
|
icon: cell.icon,
|
|
@@ -2763,7 +2752,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
2763
2752
|
leading: (
|
|
2764
2753
|
// Mobile: Burger Menu Button
|
|
2765
2754
|
!isMdUp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2766
|
-
|
|
2755
|
+
_chunk2WGA2IRNcjs.HeaderButton,
|
|
2767
2756
|
{
|
|
2768
2757
|
onClick: onToggleMobileMenu,
|
|
2769
2758
|
isActive: isMobileMenuOpen,
|
|
@@ -2789,7 +2778,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
2789
2778
|
center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderGlobalSearch, { onSubmit: onSearch, className: _chunk63A4GZMBcjs.cn.call(void 0, "w-full", dimmedClass) }) : void 0,
|
|
2790
2779
|
sideActions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
2791
2780
|
showSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2792
|
-
|
|
2781
|
+
_chunk2WGA2IRNcjs.HeaderButton,
|
|
2793
2782
|
{
|
|
2794
2783
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ74QE57Tcjs.SearchIcon, { className: "h-6 w-6" }),
|
|
2795
2784
|
"aria-label": "Search",
|
|
@@ -2807,7 +2796,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
2807
2796
|
}
|
|
2808
2797
|
),
|
|
2809
2798
|
renderCustomCells("start"),
|
|
2810
|
-
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2799
|
+
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.TimeTrackerHeaderButton, { disabled, className: _chunk63A4GZMBcjs.cn.call(void 0, cellDivider, dimmedClass) }),
|
|
2811
2800
|
showNotifications && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2812
2801
|
NotificationsBellButton,
|
|
2813
2802
|
{
|
|
@@ -2826,7 +2815,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
2826
2815
|
),
|
|
2827
2816
|
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkS3QXLD4Xcjs.DropdownMenu, { children: [
|
|
2828
2817
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS3QXLD4Xcjs.DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2829
|
-
|
|
2818
|
+
_chunk2WGA2IRNcjs.HeaderButton,
|
|
2830
2819
|
{
|
|
2831
2820
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2832
2821
|
_chunkNFNSPLGCcjs.SquareAvatar,
|
|
@@ -3752,7 +3741,7 @@ function AppLayout({
|
|
|
3752
3741
|
disabled
|
|
3753
3742
|
}
|
|
3754
3743
|
),
|
|
3755
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3744
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.NotificationDrawer, { showClose: !desktopHeader }),
|
|
3756
3745
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3757
3746
|
"div",
|
|
3758
3747
|
{
|
|
@@ -3789,7 +3778,7 @@ function AppLayout({
|
|
|
3789
3778
|
style: bottomInset > 0 || dockFloats ? {
|
|
3790
3779
|
paddingBottom: bottomInset,
|
|
3791
3780
|
[COMPOSER_DOCK_INSET_VAR]: `${dockFloats ? dockHeight : 0}px`,
|
|
3792
|
-
...dockFloats && dockHeight > 0 ?
|
|
3781
|
+
...dockFloats && dockHeight > 0 ? _chunk2WGA2IRNcjs.previewFadeMask.call(void 0, `calc(100% - ${dockHeight}px)`) : {}
|
|
3793
3782
|
} : void 0,
|
|
3794
3783
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUAI4VMEFcjs.ContentAreaWidthContext.Provider, { value: contentAreaWidth, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOT6P57ZScjs.ComposerDockHeightContext.Provider, { value: hasDock ? dockHeight : 0, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: adaptive ? "ods-content-scope" : "contents", children }) }) })
|
|
3795
3784
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk2H5D2PUCcjs = require('./chunk-2H5D2PUC.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -23,7 +23,7 @@ var _chunkQPJUQ5YUcjs = require('./chunk-QPJUQ5YU.cjs');
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunk2WGA2IRNcjs = require('./chunk-2WGA2IRN.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
var _chunkWCK5T3UDcjs = require('./chunk-WCK5T3UD.cjs');
|
|
@@ -186,7 +186,7 @@ function ProductReleasesView({
|
|
|
186
186
|
initialData
|
|
187
187
|
});
|
|
188
188
|
const isLoading = inScope || fetching;
|
|
189
|
-
|
|
189
|
+
_chunk2H5D2PUCcjs.usePageDataSync.call(void 0, _optionalChain([data, 'optionalAccess', _3 => _3.sync]), isLoading && !data);
|
|
190
190
|
const releases = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _4 => _4.data]), () => ( []));
|
|
191
191
|
const totalCount = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _5 => _5.count]), () => ( 0));
|
|
192
192
|
const totalPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, totalCount, itemsPerPage);
|
|
@@ -205,10 +205,10 @@ function ProductReleasesView({
|
|
|
205
205
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
206
206
|
};
|
|
207
207
|
if (error) {
|
|
208
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
208
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.LoadError, { message: "Failed to load releases.", onRetry: reload }) });
|
|
209
209
|
}
|
|
210
210
|
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,
|
|
211
|
-
|
|
211
|
+
_chunk2H5D2PUCcjs.ListEmptyState,
|
|
212
212
|
{
|
|
213
213
|
isFiltered: hasActiveFilters,
|
|
214
214
|
filtered: {
|
|
@@ -321,7 +321,7 @@ function MediaGalleryStripSkeleton({
|
|
|
321
321
|
var _lucidereact = require('lucide-react');
|
|
322
322
|
|
|
323
323
|
|
|
324
|
-
var DefaultMarkdownRenderer =
|
|
324
|
+
var DefaultMarkdownRenderer = _chunk2WGA2IRNcjs.RichMarkdownRenderer;
|
|
325
325
|
var CONTENT_STACK_CLASS = "space-y-6 content-md:space-y-8";
|
|
326
326
|
var RELEASE_TITLE_SKELETON_LINES = { phone: 7, md: 4, lg: 2 };
|
|
327
327
|
var METADATA_GRID_CLASS = "grid w-full grid-cols-1 overflow-hidden rounded-md border border-ods-border content-md:grid-cols-4";
|
|
@@ -371,7 +371,7 @@ function ReleaseDetailPage({
|
|
|
371
371
|
}) {
|
|
372
372
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
373
373
|
const captions = _chunkWPMJUYW3cjs.useCaptions.call(void 0, );
|
|
374
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
374
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
375
375
|
const seed = initialData == null ? void 0 : initialData;
|
|
376
376
|
const {
|
|
377
377
|
data: release,
|
|
@@ -477,7 +477,7 @@ function ReleaseDetailPage({
|
|
|
477
477
|
children: [
|
|
478
478
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CONTENT_STACK_CLASS, children: [
|
|
479
479
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
480
|
-
|
|
480
|
+
_chunk2WGA2IRNcjs.EntityTagBadges,
|
|
481
481
|
{
|
|
482
482
|
tags: view.product_release_tags,
|
|
483
483
|
max: RELEASE_TAG_ROW_MAX,
|
|
@@ -558,7 +558,7 @@ function ReleaseDetailPage({
|
|
|
558
558
|
] })
|
|
559
559
|
] }) }) }),
|
|
560
560
|
loading ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
561
|
-
|
|
561
|
+
_chunk2WGA2IRNcjs.ReleaseChangelogSection,
|
|
562
562
|
{
|
|
563
563
|
title: "Breaking Changes",
|
|
564
564
|
entries: breakingChanges || [],
|
|
@@ -570,7 +570,7 @@ function ReleaseDetailPage({
|
|
|
570
570
|
}
|
|
571
571
|
),
|
|
572
572
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
573
|
-
|
|
573
|
+
_chunk2WGA2IRNcjs.ReleaseChangelogSection,
|
|
574
574
|
{
|
|
575
575
|
title: "Features Added",
|
|
576
576
|
entries: featuresAdded || [],
|
|
@@ -580,7 +580,7 @@ function ReleaseDetailPage({
|
|
|
580
580
|
}
|
|
581
581
|
),
|
|
582
582
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
583
|
-
|
|
583
|
+
_chunk2WGA2IRNcjs.ReleaseChangelogSection,
|
|
584
584
|
{
|
|
585
585
|
title: "Bugs Fixed",
|
|
586
586
|
entries: bugFixed || [],
|
|
@@ -590,7 +590,7 @@ function ReleaseDetailPage({
|
|
|
590
590
|
}
|
|
591
591
|
),
|
|
592
592
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
593
|
-
|
|
593
|
+
_chunk2WGA2IRNcjs.ReleaseChangelogSection,
|
|
594
594
|
{
|
|
595
595
|
title: "Improvements",
|
|
596
596
|
entries: improvements || [],
|
|
@@ -619,9 +619,9 @@ function ReleaseDetailPage({
|
|
|
619
619
|
return deliveryLoading ? (
|
|
620
620
|
// The loaded preview's frame, its height written into the markup (`fixedHeight`), so the tables'
|
|
621
621
|
// loading state takes the collapsed preview's place, toggle row included. Inert: nothing to open yet.
|
|
622
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { inert: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
622
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { inert: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.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 }) }) }) })
|
|
623
623
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
624
|
-
|
|
624
|
+
_chunk2WGA2IRNcjs.FadePreview,
|
|
625
625
|
{
|
|
626
626
|
hiddenCount: deliveryCount - 1,
|
|
627
627
|
collapsedHeight: DELIVERY_PREVIEW_HEIGHT,
|
|
@@ -1055,7 +1055,7 @@ function RoadmapGrid({
|
|
|
1055
1055
|
);
|
|
1056
1056
|
}
|
|
1057
1057
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1058
|
-
|
|
1058
|
+
_chunk2WGA2IRNcjs.Accordion,
|
|
1059
1059
|
{
|
|
1060
1060
|
type: "multiple",
|
|
1061
1061
|
value: expandedQuarters,
|
|
@@ -1065,14 +1065,14 @@ function RoadmapGrid({
|
|
|
1065
1065
|
const itemCount = _optionalChain([itemsByQuarter, 'access', _19 => _19[quarter], 'optionalAccess', _20 => _20.length]) || 0;
|
|
1066
1066
|
const isExpanded = expandedQuarters.includes(quarter);
|
|
1067
1067
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1068
|
-
|
|
1068
|
+
_chunk2WGA2IRNcjs.AccordionItem,
|
|
1069
1069
|
{
|
|
1070
1070
|
value: quarter,
|
|
1071
1071
|
id: `quarter-${quarter.replace(/\s+/g, "-").toLowerCase()}`,
|
|
1072
1072
|
className: "border-0",
|
|
1073
1073
|
"data-loading-item": true,
|
|
1074
1074
|
children: [
|
|
1075
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1075
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.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: [
|
|
1076
1076
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1077
1077
|
"h3",
|
|
1078
1078
|
{
|
|
@@ -1102,7 +1102,7 @@ function RoadmapGrid({
|
|
|
1102
1102
|
}
|
|
1103
1103
|
)
|
|
1104
1104
|
] }) }),
|
|
1105
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1105
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.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,
|
|
1106
1106
|
RoadmapGridSingle,
|
|
1107
1107
|
{
|
|
1108
1108
|
items: itemsByQuarter[quarter],
|
|
@@ -1153,18 +1153,18 @@ function RoadmapView({
|
|
|
1153
1153
|
});
|
|
1154
1154
|
const items = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _21 => _21.items]), () => ( []));
|
|
1155
1155
|
_chunkSSSI2RBVcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkXCVH5BCZcjs.STICKY_HEADER_OFFSET_PX });
|
|
1156
|
-
const syncInPage =
|
|
1156
|
+
const syncInPage = _chunk2H5D2PUCcjs.usePageDataSync.call(void 0, _optionalChain([data, 'optionalAccess', _22 => _22.sync]), isLoading && !data);
|
|
1157
1157
|
if (error) {
|
|
1158
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1158
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.LoadError, { message: "Failed to load roadmap.", onRetry: reload });
|
|
1159
1159
|
}
|
|
1160
1160
|
if (isLoading && !data) {
|
|
1161
1161
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1162
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1162
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.DataSyncLine, { loading: true }),
|
|
1163
1163
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapGrid, { items: NO_ITEMS, isLoading: true, groupByQuarter: true, showLeftMargin })
|
|
1164
1164
|
] });
|
|
1165
1165
|
}
|
|
1166
1166
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1167
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1167
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.DataSyncLine, { sync: _optionalChain([data, 'optionalAccess', _23 => _23.sync]) }),
|
|
1168
1168
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1169
1169
|
RoadmapGrid,
|
|
1170
1170
|
{
|
|
@@ -1188,7 +1188,7 @@ var TABLE_FRAME_CLASS = `w-full ${_chunkEUEPGHY4cjs.CONTENT_CARD_SKELETON_FRAME_
|
|
|
1188
1188
|
var ROW_SEPARATOR_CLASS = "border-b border-ods-border last:border-b-0";
|
|
1189
1189
|
var DELIVERY_TABLE_SKELETON_ROWS = 5;
|
|
1190
1190
|
function DeliveryTableSkeleton() {
|
|
1191
|
-
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,
|
|
1191
|
+
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, _chunk2H5D2PUCcjs.DeliveryRow, { loading: true }) }) }) }) });
|
|
1192
1192
|
}
|
|
1193
1193
|
function DeliveryTable({ items, isLoading = false }) {
|
|
1194
1194
|
if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || isLoading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliveryTableSkeleton, {});
|
|
@@ -1201,7 +1201,7 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1201
1201
|
// → `#delivery-<external_id>`; `useScrollToHash` in
|
|
1202
1202
|
// `delivery-lists.tsx` finds the row by id and scrolls. The
|
|
1203
1203
|
// outer wrapper here ONLY exists for the row separators.
|
|
1204
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1204
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2H5D2PUCcjs.DeliveryRow, { item, id: _chunk4ASUUB3Acjs.devSectionAnchorId.call(void 0, "delivery", item.id) }) }, item.id)
|
|
1205
1205
|
)) }) });
|
|
1206
1206
|
}
|
|
1207
1207
|
|
|
@@ -1286,18 +1286,18 @@ function DeliveryLists({
|
|
|
1286
1286
|
const filteredCompleted = _optionalChain([data, 'optionalAccess', _24 => _24.completed]) || [];
|
|
1287
1287
|
const filteredInProgress = _optionalChain([data, 'optionalAccess', _25 => _25.inProgress]) || [];
|
|
1288
1288
|
_chunkSSSI2RBVcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkXCVH5BCZcjs.STICKY_HEADER_OFFSET_PX });
|
|
1289
|
-
const syncInPage =
|
|
1289
|
+
const syncInPage = _chunk2H5D2PUCcjs.usePageDataSync.call(void 0, sync, isLoading && !data);
|
|
1290
1290
|
const showCompleted = true;
|
|
1291
1291
|
const showInProgress = true;
|
|
1292
1292
|
const hasActiveFilters = searchQuery !== "" || taskTypeFilter !== "all";
|
|
1293
1293
|
const hasResults = showCompleted && filteredCompleted.length > 0 || showInProgress && filteredInProgress.length > 0;
|
|
1294
1294
|
if (error) {
|
|
1295
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1295
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.LoadError, { message: error, onRetry: () => window.location.reload() }) });
|
|
1296
1296
|
}
|
|
1297
1297
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[40px]", children: [
|
|
1298
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1298
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.DataSyncLine, { sync, loading: isLoading && !data }),
|
|
1299
1299
|
!isLoading && !hasResults && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1300
|
-
|
|
1300
|
+
_chunk2H5D2PUCcjs.ListEmptyState,
|
|
1301
1301
|
{
|
|
1302
1302
|
isFiltered: hasActiveFilters,
|
|
1303
1303
|
filtered: {
|
|
@@ -1533,7 +1533,7 @@ function LegalDocumentPage({
|
|
|
1533
1533
|
emptyStateMessage: emptyStateMessageProp,
|
|
1534
1534
|
initialData = null,
|
|
1535
1535
|
apiEndpoint,
|
|
1536
|
-
MarkdownRenderer =
|
|
1536
|
+
MarkdownRenderer = _chunk2WGA2IRNcjs.RichMarkdownRenderer,
|
|
1537
1537
|
documentsEndpoint,
|
|
1538
1538
|
backButton,
|
|
1539
1539
|
shell = true
|
|
@@ -1561,7 +1561,7 @@ function LegalDocumentPage({
|
|
|
1561
1561
|
titleSize: "h1",
|
|
1562
1562
|
titleWrap: true,
|
|
1563
1563
|
children: [
|
|
1564
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1564
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.DataSyncLine, { sync: data ? { source: "github", syncedAt: data.lastSynced } : null, loading: isLoading }),
|
|
1565
1565
|
/* @__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: [
|
|
1566
1566
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rounded-lg border border-ods-error bg-ods-error-secondary p-6", children: [
|
|
1567
1567
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "mb-2 text-ods-error", children: errorTitle }),
|
|
@@ -1585,7 +1585,7 @@ function LegalDocumentPage({
|
|
|
1585
1585
|
]
|
|
1586
1586
|
}
|
|
1587
1587
|
);
|
|
1588
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1588
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WGA2IRNcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
1589
1589
|
}
|
|
1590
1590
|
|
|
1591
1591
|
|