@flamingo-stack/openframe-frontend-core 0.0.768 → 0.0.769
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-PFY23KN7.cjs → chunk-3AZZFTT6.cjs} +4 -4
- package/dist/{chunk-S4QS5E5A.cjs → chunk-5HWBW7WU.cjs} +2 -2
- package/dist/{chunk-NPVYID2L.cjs → chunk-BIHMMGRP.cjs} +35 -35
- package/dist/{chunk-VADRKMLE.cjs → chunk-D45Q3WEP.cjs} +3 -3
- package/dist/{chunk-DE7U72NZ.cjs → chunk-DEJB5WHZ.cjs} +7 -7
- package/dist/{chunk-OEVNX4OR.cjs → chunk-EZTHTSWZ.cjs} +16 -16
- package/dist/{chunk-U6UIG4OP.cjs → chunk-IEPWXEA6.cjs} +12 -12
- package/dist/{chunk-STHQJNND.cjs → chunk-L5WSNX4H.cjs} +195 -182
- package/dist/{chunk-XI2CHCOD.cjs → chunk-MZLWB5AH.cjs} +1 -1
- package/dist/{chunk-57KIBZFQ.cjs → chunk-QC47HVA4.cjs} +26 -26
- package/dist/{chunk-OGHLIUF4.cjs → chunk-SV6K7ZLA.cjs} +15 -15
- package/dist/{chunk-6EEE76VU.cjs → chunk-UIXWG2IW.cjs} +16 -16
- package/dist/{chunk-2ZYCYLPL.cjs → chunk-YTPEJIAO.cjs} +3 -3
- package/dist/{cloud-tenants-I5HABFNZ.cjs → cloud-tenants-3BEIT4LX.cjs} +3 -3
- package/dist/components/case-studies/index.cjs +13 -13
- 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/features/remote-session/remote-session-keep-modals.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-session-keep-modals.js +1 -1
- package/dist/components/help-center-pages/index.cjs +55 -55
- package/dist/components/index.cjs +20 -20
- package/dist/components/meeting-scheduler/index.cjs +28 -28
- package/dist/components/navigation/index.cjs +4 -4
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/product-demo/index.cjs +13 -13
- package/dist/components/tickets/index.cjs +6 -6
- package/dist/components/ui/date-picker.d.ts.map +1 -1
- package/dist/components/ui/date-picker.js +16 -3
- package/dist/components/ui/index.cjs +3 -3
- package/dist/{devices-OS26UG7Y.cjs → devices-ZCOK24D4.cjs} +4 -4
- package/dist/index.cjs +4 -4
- package/dist/{knowledge-JD2OFKEL.cjs → knowledge-W47QGTEK.cjs} +3 -3
- package/dist/{logs-KGKNFROP.cjs → logs-3DMPE2TM.cjs} +11 -11
- package/dist/{policies-J2XL6XQK.cjs → policies-UWHW765K.cjs} +7 -7
- package/dist/{remote-session-RHQ2K27H.cjs → remote-session-WVORQV7V.cjs} +4 -4
- package/dist/{scripts-MJONVIWL.cjs → scripts-BH7V2ZC4.cjs} +10 -10
- package/dist/{software-update-VSMTHJR4.cjs → software-update-W6AAGJ2H.cjs} +7 -7
- package/package.json +1 -1
- package/src/components/features/remote-session/remote-session-keep-modals.tsx +2 -1
- package/src/components/ui/date-picker.tsx +41 -14
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
var _chunkGGORS7G6cjs = require('./chunk-GGORS7G6.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkL5WSNX4Hcjs = require('./chunk-L5WSNX4H.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkMZLWB5AHcjs = require('./chunk-MZLWB5AH.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
@@ -36,7 +36,7 @@ function FaqDocumentPage({
|
|
|
36
36
|
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _ => _.label]), () => ( "Back to home")),
|
|
37
37
|
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _2 => _2.href]), () => ( "/")))
|
|
38
38
|
};
|
|
39
|
-
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
39
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
40
40
|
_chunkGGORS7G6cjs.FaqSection,
|
|
41
41
|
{
|
|
42
42
|
initialFaqs,
|
|
@@ -53,7 +53,7 @@ function FaqDocumentPage({
|
|
|
53
53
|
skeletonNav
|
|
54
54
|
}
|
|
55
55
|
) });
|
|
56
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
56
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
|
|
@@ -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 _chunkL5WSNX4Hcjs = require('./chunk-L5WSNX4H.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
|
+
_chunkL5WSNX4Hcjs.SearchInput,
|
|
74
74
|
{
|
|
75
75
|
placeholder,
|
|
76
76
|
value: query,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkDEJB5WHZcjs = require('./chunk-DEJB5WHZ.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -26,10 +26,10 @@ var _chunkGGORS7G6cjs = require('./chunk-GGORS7G6.cjs');
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkL5WSNX4Hcjs = require('./chunk-L5WSNX4H.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkMZLWB5AHcjs = require('./chunk-MZLWB5AH.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
@@ -179,7 +179,7 @@ function ProductReleasesView({
|
|
|
179
179
|
initialData
|
|
180
180
|
});
|
|
181
181
|
const isLoading = inScope || fetching;
|
|
182
|
-
|
|
182
|
+
_chunkDEJB5WHZcjs.usePageDataSync.call(void 0, _optionalChain([data, 'optionalAccess', _3 => _3.sync]), isLoading && !data);
|
|
183
183
|
const releases = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _4 => _4.data]), () => ( []));
|
|
184
184
|
const totalCount = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _5 => _5.count]), () => ( 0));
|
|
185
185
|
const totalPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, totalCount, itemsPerPage);
|
|
@@ -198,10 +198,10 @@ function ProductReleasesView({
|
|
|
198
198
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
199
199
|
};
|
|
200
200
|
if (error) {
|
|
201
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
201
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.LoadError, { message: "Failed to load releases.", onRetry: reload }) });
|
|
202
202
|
}
|
|
203
203
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk65VVJSQZcjs.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,
|
|
204
|
-
|
|
204
|
+
_chunkDEJB5WHZcjs.ListEmptyState,
|
|
205
205
|
{
|
|
206
206
|
isFiltered: hasActiveFilters,
|
|
207
207
|
filtered: {
|
|
@@ -314,7 +314,7 @@ function MediaGalleryStripSkeleton({
|
|
|
314
314
|
var _lucidereact = require('lucide-react');
|
|
315
315
|
|
|
316
316
|
|
|
317
|
-
var DefaultMarkdownRenderer =
|
|
317
|
+
var DefaultMarkdownRenderer = _chunkL5WSNX4Hcjs.RichMarkdownRenderer;
|
|
318
318
|
var CONTENT_STACK_CLASS = "space-y-6 content-md:space-y-8";
|
|
319
319
|
var RELEASE_TITLE_SKELETON_LINES = { phone: 7, md: 4, lg: 2 };
|
|
320
320
|
var METADATA_GRID_CLASS = "grid w-full grid-cols-1 overflow-hidden rounded-md border border-ods-border content-md:grid-cols-4";
|
|
@@ -364,7 +364,7 @@ function ReleaseDetailPage({
|
|
|
364
364
|
}) {
|
|
365
365
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
366
366
|
const captions = _chunkZXFOMNI5cjs.useCaptions.call(void 0, );
|
|
367
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
367
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
368
368
|
const seed = initialData == null ? void 0 : initialData;
|
|
369
369
|
const {
|
|
370
370
|
data: release,
|
|
@@ -457,7 +457,7 @@ function ReleaseDetailPage({
|
|
|
457
457
|
const bugFixed = view.bugs_fixed;
|
|
458
458
|
const improvements = view.improvements;
|
|
459
459
|
const page = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
460
|
-
|
|
460
|
+
_chunkMZLWB5AHcjs.PageLayout,
|
|
461
461
|
{
|
|
462
462
|
title: releaseTitle,
|
|
463
463
|
subtitle: loading ? void 0 : `Version: ${releaseVersion}`,
|
|
@@ -470,7 +470,7 @@ function ReleaseDetailPage({
|
|
|
470
470
|
children: [
|
|
471
471
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CONTENT_STACK_CLASS, children: [
|
|
472
472
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
473
|
-
|
|
473
|
+
_chunkL5WSNX4Hcjs.EntityTagBadges,
|
|
474
474
|
{
|
|
475
475
|
tags: view.product_release_tags,
|
|
476
476
|
max: RELEASE_TAG_ROW_FOLD,
|
|
@@ -551,7 +551,7 @@ function ReleaseDetailPage({
|
|
|
551
551
|
] })
|
|
552
552
|
] }) }) }),
|
|
553
553
|
loading ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
554
|
-
|
|
554
|
+
_chunkL5WSNX4Hcjs.ReleaseChangelogSection,
|
|
555
555
|
{
|
|
556
556
|
title: "Breaking Changes",
|
|
557
557
|
entries: breakingChanges || [],
|
|
@@ -563,7 +563,7 @@ function ReleaseDetailPage({
|
|
|
563
563
|
}
|
|
564
564
|
),
|
|
565
565
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
566
|
-
|
|
566
|
+
_chunkL5WSNX4Hcjs.ReleaseChangelogSection,
|
|
567
567
|
{
|
|
568
568
|
title: "Features Added",
|
|
569
569
|
entries: featuresAdded || [],
|
|
@@ -573,7 +573,7 @@ function ReleaseDetailPage({
|
|
|
573
573
|
}
|
|
574
574
|
),
|
|
575
575
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
576
|
-
|
|
576
|
+
_chunkL5WSNX4Hcjs.ReleaseChangelogSection,
|
|
577
577
|
{
|
|
578
578
|
title: "Bugs Fixed",
|
|
579
579
|
entries: bugFixed || [],
|
|
@@ -583,7 +583,7 @@ function ReleaseDetailPage({
|
|
|
583
583
|
}
|
|
584
584
|
),
|
|
585
585
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
586
|
-
|
|
586
|
+
_chunkL5WSNX4Hcjs.ReleaseChangelogSection,
|
|
587
587
|
{
|
|
588
588
|
title: "Improvements",
|
|
589
589
|
entries: improvements || [],
|
|
@@ -612,9 +612,9 @@ function ReleaseDetailPage({
|
|
|
612
612
|
return deliveryLoading ? (
|
|
613
613
|
// The loaded preview's frame, its height written into the markup (`fixedHeight`), so the tables'
|
|
614
614
|
// loading state takes the collapsed preview's place, toggle row included. Inert: nothing to open yet.
|
|
615
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { inert: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
615
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { inert: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.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 }) }) }) })
|
|
616
616
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
617
|
-
|
|
617
|
+
_chunkL5WSNX4Hcjs.FadePreview,
|
|
618
618
|
{
|
|
619
619
|
hiddenCount: deliveryCount - 1,
|
|
620
620
|
collapsedHeight: DELIVERY_PREVIEW_HEIGHT,
|
|
@@ -1013,7 +1013,7 @@ function RoadmapGrid({
|
|
|
1013
1013
|
);
|
|
1014
1014
|
}
|
|
1015
1015
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1016
|
-
|
|
1016
|
+
_chunkL5WSNX4Hcjs.Accordion,
|
|
1017
1017
|
{
|
|
1018
1018
|
type: "multiple",
|
|
1019
1019
|
value: expandedQuarters,
|
|
@@ -1023,13 +1023,13 @@ function RoadmapGrid({
|
|
|
1023
1023
|
const itemCount = _optionalChain([itemsByQuarter, 'access', _20 => _20[quarter], 'optionalAccess', _21 => _21.length]) || 0;
|
|
1024
1024
|
const isExpanded = expandedQuarters.includes(quarter);
|
|
1025
1025
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1026
|
-
|
|
1026
|
+
_chunkL5WSNX4Hcjs.AccordionItem,
|
|
1027
1027
|
{
|
|
1028
1028
|
value: quarter,
|
|
1029
1029
|
id: `quarter-${quarter.replace(/\s+/g, "-").toLowerCase()}`,
|
|
1030
1030
|
className: "border-0",
|
|
1031
1031
|
children: [
|
|
1032
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1032
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.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: [
|
|
1033
1033
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1034
1034
|
"h3",
|
|
1035
1035
|
{
|
|
@@ -1059,7 +1059,7 @@ function RoadmapGrid({
|
|
|
1059
1059
|
}
|
|
1060
1060
|
)
|
|
1061
1061
|
] }) }),
|
|
1062
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1062
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.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,
|
|
1063
1063
|
RoadmapGridSingle,
|
|
1064
1064
|
{
|
|
1065
1065
|
items: itemsByQuarter[quarter],
|
|
@@ -1109,18 +1109,18 @@ function RoadmapView({
|
|
|
1109
1109
|
});
|
|
1110
1110
|
const items = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _22 => _22.items]), () => ( []));
|
|
1111
1111
|
_chunkXVFM6SJAcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkXXJL5GY3cjs.STICKY_HEADER_OFFSET_PX });
|
|
1112
|
-
const syncInPage =
|
|
1112
|
+
const syncInPage = _chunkDEJB5WHZcjs.usePageDataSync.call(void 0, _optionalChain([data, 'optionalAccess', _23 => _23.sync]), isLoading && !data);
|
|
1113
1113
|
if (error) {
|
|
1114
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1114
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.LoadError, { message: "Failed to load roadmap.", onRetry: reload });
|
|
1115
1115
|
}
|
|
1116
1116
|
if (isLoading && !data) {
|
|
1117
1117
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1118
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1118
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.DataSyncLine, { loading: true }),
|
|
1119
1119
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapGridQuarterSkeleton, { showLeftMargin })
|
|
1120
1120
|
] });
|
|
1121
1121
|
}
|
|
1122
1122
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1123
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1123
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.DataSyncLine, { sync: _optionalChain([data, 'optionalAccess', _24 => _24.sync]) }),
|
|
1124
1124
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1125
1125
|
RoadmapGrid,
|
|
1126
1126
|
{
|
|
@@ -1144,7 +1144,7 @@ var TABLE_FRAME_CLASS = `w-full ${_chunk4EJU462Ocjs.CONTENT_CARD_SKELETON_FRAME_
|
|
|
1144
1144
|
var ROW_SEPARATOR_CLASS = "border-b border-ods-border last:border-b-0";
|
|
1145
1145
|
var DELIVERY_TABLE_SKELETON_ROWS = 5;
|
|
1146
1146
|
function DeliveryTableSkeleton() {
|
|
1147
|
-
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: Array.from({ length: DELIVERY_TABLE_SKELETON_ROWS }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1147
|
+
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: Array.from({ length: DELIVERY_TABLE_SKELETON_ROWS }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDEJB5WHZcjs.DeliveryRowSkeleton, {}) }, i)) }) });
|
|
1148
1148
|
}
|
|
1149
1149
|
function DeliveryTable({ items, isLoading = false }) {
|
|
1150
1150
|
if (isLoading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliveryTableSkeleton, {});
|
|
@@ -1157,7 +1157,7 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1157
1157
|
// → `#delivery-<external_id>`; `useScrollToHash` in
|
|
1158
1158
|
// `delivery-lists.tsx` finds the row by id and scrolls. The
|
|
1159
1159
|
// outer wrapper here ONLY exists for the row separators.
|
|
1160
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1160
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDEJB5WHZcjs.DeliveryRow, { item, id: _chunkUBPSA3RMcjs.devSectionAnchorId.call(void 0, "delivery", item.id) }) }, item.id)
|
|
1161
1161
|
)) }) });
|
|
1162
1162
|
}
|
|
1163
1163
|
|
|
@@ -1242,18 +1242,18 @@ function DeliveryLists({
|
|
|
1242
1242
|
const filteredCompleted = _optionalChain([data, 'optionalAccess', _25 => _25.completed]) || [];
|
|
1243
1243
|
const filteredInProgress = _optionalChain([data, 'optionalAccess', _26 => _26.inProgress]) || [];
|
|
1244
1244
|
_chunkXVFM6SJAcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkXXJL5GY3cjs.STICKY_HEADER_OFFSET_PX });
|
|
1245
|
-
const syncInPage =
|
|
1245
|
+
const syncInPage = _chunkDEJB5WHZcjs.usePageDataSync.call(void 0, sync, isLoading && !data);
|
|
1246
1246
|
const showCompleted = true;
|
|
1247
1247
|
const showInProgress = true;
|
|
1248
1248
|
const hasActiveFilters = searchQuery !== "" || taskTypeFilter !== "all";
|
|
1249
1249
|
const hasResults = showCompleted && filteredCompleted.length > 0 || showInProgress && filteredInProgress.length > 0;
|
|
1250
1250
|
if (error) {
|
|
1251
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1251
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.LoadError, { message: error, onRetry: () => window.location.reload() }) });
|
|
1252
1252
|
}
|
|
1253
1253
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[40px]", children: [
|
|
1254
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1254
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.DataSyncLine, { sync, loading: isLoading && !data }),
|
|
1255
1255
|
!isLoading && !hasResults && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1256
|
-
|
|
1256
|
+
_chunkDEJB5WHZcjs.ListEmptyState,
|
|
1257
1257
|
{
|
|
1258
1258
|
isFiltered: hasActiveFilters,
|
|
1259
1259
|
filtered: {
|
|
@@ -1478,7 +1478,7 @@ function legalDocumentStampLabel(doc) {
|
|
|
1478
1478
|
}
|
|
1479
1479
|
var LEGAL_DOCUMENT_SKELETON_SECTIONS = 3;
|
|
1480
1480
|
function LegalDocumentSkeleton({ sections = LEGAL_DOCUMENT_SKELETON_SECTIONS }) {
|
|
1481
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWEANWBJHcjs.LoadingRegion, { label: "Loading the document", className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1481
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWEANWBJHcjs.LoadingRegion, { label: "Loading the document", className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.RichMarkdownRendererSkeleton, { title: true, sections }) });
|
|
1482
1482
|
}
|
|
1483
1483
|
function LegalDocumentPage({
|
|
1484
1484
|
docType,
|
|
@@ -1490,7 +1490,7 @@ function LegalDocumentPage({
|
|
|
1490
1490
|
emptyStateMessage: emptyStateMessageProp,
|
|
1491
1491
|
initialData = null,
|
|
1492
1492
|
apiEndpoint,
|
|
1493
|
-
MarkdownRenderer =
|
|
1493
|
+
MarkdownRenderer = _chunkL5WSNX4Hcjs.RichMarkdownRenderer,
|
|
1494
1494
|
documentsEndpoint,
|
|
1495
1495
|
backButton,
|
|
1496
1496
|
faq,
|
|
@@ -1512,7 +1512,7 @@ function LegalDocumentPage({
|
|
|
1512
1512
|
const emptyStateMessage = _nullishCoalesce(emptyStateMessageProp, () => ( `${title} is not available at this time.`));
|
|
1513
1513
|
const subtitle = isLoading ? void 0 : _nullishCoalesce(legalDocumentStampLabel(data), () => ( fallbackDescription));
|
|
1514
1514
|
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1515
|
-
|
|
1515
|
+
_chunkMZLWB5AHcjs.PageLayout,
|
|
1516
1516
|
{
|
|
1517
1517
|
title,
|
|
1518
1518
|
subtitle,
|
|
@@ -1521,7 +1521,7 @@ function LegalDocumentPage({
|
|
|
1521
1521
|
titleSize: "h1",
|
|
1522
1522
|
titleWrap: true,
|
|
1523
1523
|
children: [
|
|
1524
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1524
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.DataSyncLine, { sync: data ? { source: "github", syncedAt: data.lastSynced } : null, loading: isLoading }),
|
|
1525
1525
|
/* @__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: _chunk65VVJSQZcjs.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: [
|
|
1526
1526
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rounded-lg border border-ods-error bg-ods-error-secondary p-6", children: [
|
|
1527
1527
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "mb-2 text-ods-error", children: errorTitle }),
|
|
@@ -1545,7 +1545,7 @@ function LegalDocumentPage({
|
|
|
1545
1545
|
]
|
|
1546
1546
|
}
|
|
1547
1547
|
);
|
|
1548
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1548
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
1549
1549
|
}
|
|
1550
1550
|
|
|
1551
1551
|
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkL5WSNX4Hcjs = require('./chunk-L5WSNX4H.cjs');
|
|
6
6
|
|
|
7
7
|
// src/components/product-demo/screens/devices-view.tsx
|
|
8
8
|
var _jsxruntime = require('react/jsx-runtime');
|
|
9
9
|
var DEVICES_SEARCH_QUERY = "Windows";
|
|
10
|
-
var TOOLBAR = { ...
|
|
10
|
+
var TOOLBAR = { ..._chunkL5WSNX4Hcjs.IDLE_DEVICES_TOOLBAR, searchValue: DEVICES_SEARCH_QUERY };
|
|
11
11
|
var NO_HEADER = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, {});
|
|
12
12
|
var HIDDEN_WHEN_COMPACT = ["organization"];
|
|
13
13
|
var NO_DEVICES = [];
|
|
@@ -19,7 +19,7 @@ function DevicesScreenView({
|
|
|
19
19
|
loading = false
|
|
20
20
|
}) {
|
|
21
21
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22
|
-
|
|
22
|
+
_chunkL5WSNX4Hcjs.DevicesPanelView,
|
|
23
23
|
{
|
|
24
24
|
className: "p-[var(--spacing-system-l)]",
|
|
25
25
|
headerSlot: NO_HEADER,
|
|
@@ -15,10 +15,10 @@ var _chunkHEVW75L3cjs = require('./chunk-HEVW75L3.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkL5WSNX4Hcjs = require('./chunk-L5WSNX4H.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkMZLWB5AHcjs = require('./chunk-MZLWB5AH.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
var _chunkUBPSA3RMcjs = require('./chunk-UBPSA3RM.cjs');
|
|
@@ -106,7 +106,7 @@ function PageDataSyncProvider({
|
|
|
106
106
|
function PageDataSyncRow({ inline = false }) {
|
|
107
107
|
const context = _react.useContext.call(void 0, PageDataSyncContext);
|
|
108
108
|
if (!context) return null;
|
|
109
|
-
const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
109
|
+
const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.DataSyncLine, { sync: context.state.sync, loading: context.state.loading, stated: context.stated, inline });
|
|
110
110
|
return context.stated ? line : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "contents", "data-loading-optional": "", children: line });
|
|
111
111
|
}
|
|
112
112
|
function usePageDataSync(sync, loading) {
|
|
@@ -167,7 +167,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
167
167
|
preControls,
|
|
168
168
|
(search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
169
169
|
search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
170
|
-
|
|
170
|
+
_chunkL5WSNX4Hcjs.SearchInput,
|
|
171
171
|
{
|
|
172
172
|
showDropdown: false,
|
|
173
173
|
placeholder: search.placeholder,
|
|
@@ -177,7 +177,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
177
177
|
}
|
|
178
178
|
),
|
|
179
179
|
filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
180
|
-
|
|
180
|
+
_chunkL5WSNX4Hcjs.StatusFilterComponent,
|
|
181
181
|
{
|
|
182
182
|
selectedStatus: currentFilterValue,
|
|
183
183
|
onStatusChange: handleFilterChange,
|
|
@@ -215,7 +215,7 @@ function DevSectionPage({
|
|
|
215
215
|
// duplicate title. (The hero icon is intentionally dropped: TitleBlock is
|
|
216
216
|
// frozen and renders title-only.)
|
|
217
217
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
218
|
-
|
|
218
|
+
_chunkMZLWB5AHcjs.PageLayout,
|
|
219
219
|
{
|
|
220
220
|
title: _nullishCoalesce(title, () => ( section.hero.title)),
|
|
221
221
|
subtitle: _nullishCoalesce(subtitle, () => ( section.hero.description)),
|
|
@@ -229,7 +229,7 @@ function DevSectionPage({
|
|
|
229
229
|
}
|
|
230
230
|
)
|
|
231
231
|
);
|
|
232
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
232
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
// src/components/shared/dev-section/dev-card-row.tsx
|
|
@@ -18,7 +18,7 @@ var _chunk2TS3FEPQcjs = require('./chunk-2TS3FEPQ.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkL5WSNX4Hcjs = require('./chunk-L5WSNX4H.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
var _chunkRB7VLVMDcjs = require('./chunk-RB7VLVMD.cjs');
|
|
@@ -192,7 +192,7 @@ function NavItemRow({
|
|
|
192
192
|
className
|
|
193
193
|
}) {
|
|
194
194
|
const label = navLinkLabel(link);
|
|
195
|
-
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
195
|
+
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.UnreadCountBadge, { count: badge, className: "static shrink-0" }) : null;
|
|
196
196
|
const singleLine = !link.description && !link.builtOn;
|
|
197
197
|
const rowClassName = _chunk65VVJSQZcjs.cn.call(void 0,
|
|
198
198
|
ROW_CLASSES[variant],
|
|
@@ -580,7 +580,7 @@ function SiteHeader({
|
|
|
580
580
|
leading: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
581
581
|
leading,
|
|
582
582
|
mobile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
583
|
-
|
|
583
|
+
_chunkL5WSNX4Hcjs.HeaderButton,
|
|
584
584
|
{
|
|
585
585
|
className: "border-r border-ods-border lg:hidden",
|
|
586
586
|
onClick: mobile.onToggle,
|
|
@@ -886,7 +886,7 @@ function SiteFooter({
|
|
|
886
886
|
const columns = nav.footerColumns;
|
|
887
887
|
const accordion = columns.length > ACCORDION_OVER;
|
|
888
888
|
const socialRow = _nullishCoalesce(social, () => ( (nav.brand.social.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
889
|
-
|
|
889
|
+
_chunkL5WSNX4Hcjs.SocialIconRow,
|
|
890
890
|
{
|
|
891
891
|
compact: true,
|
|
892
892
|
links: nav.brand.social.map((link) => ({
|
|
@@ -1199,7 +1199,7 @@ function PageSectionBar({ sections: listed, label, brand, action }) {
|
|
|
1199
1199
|
});
|
|
1200
1200
|
if (sections.length === 0 && !inScope) return null;
|
|
1201
1201
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1202
|
-
|
|
1202
|
+
_chunkL5WSNX4Hcjs.PageContainer,
|
|
1203
1203
|
{
|
|
1204
1204
|
as: "div",
|
|
1205
1205
|
backgroundClassName: "sticky z-30 border-b border-ods-border bg-ods-bg transition-[top] duration-300 ease-in-out motion-reduce:transition-none",
|
|
@@ -1334,7 +1334,7 @@ var NavigationSidebarItemButton = _react.memo.call(void 0, function NavigationSi
|
|
|
1334
1334
|
_react.cloneElement.call(void 0, item.icon, {
|
|
1335
1335
|
color: isActive && !disabled ? "text-ods-accent" : "text-ods-text-secondary"
|
|
1336
1336
|
}),
|
|
1337
|
-
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1337
|
+
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.UnreadDot, { size: "fixed" })
|
|
1338
1338
|
] }),
|
|
1339
1339
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1340
1340
|
"span",
|
|
@@ -1761,7 +1761,7 @@ function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
|
1761
1761
|
else window.location.assign(target);
|
|
1762
1762
|
};
|
|
1763
1763
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1764
|
-
|
|
1764
|
+
_chunkL5WSNX4Hcjs.HeaderButton,
|
|
1765
1765
|
{
|
|
1766
1766
|
icon: (
|
|
1767
1767
|
// Glyph inherits HeaderButton's standard cell coloring (secondary at
|
|
@@ -1771,7 +1771,7 @@ function TicketAlertsButton({ href, onNavigate, 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, _chunkL5WSNX4Hcjs.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
|
+
_chunkL5WSNX4Hcjs.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: _chunk65VVJSQZcjs.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
|
+
_chunkL5WSNX4Hcjs.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: _chunk65VVJSQZcjs.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, _chunkL5WSNX4Hcjs.TimeTrackerHeaderButton, { disabled, className: _chunk65VVJSQZcjs.cn.call(void 0, cellDivider, dimmedClass) }),
|
|
1894
1894
|
showNotifications && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1895
1895
|
NotificationsHeaderButton,
|
|
1896
1896
|
{
|
|
@@ -1910,7 +1910,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1910
1910
|
),
|
|
1911
1911
|
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXIFEZ2JTcjs.DropdownMenu, { children: [
|
|
1912
1912
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIFEZ2JTcjs.DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1913
|
-
|
|
1913
|
+
_chunkL5WSNX4Hcjs.HeaderButton,
|
|
1914
1914
|
{
|
|
1915
1915
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1916
1916
|
_chunkHY6BCZH7cjs.SquareAvatar,
|
|
@@ -1995,12 +1995,12 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1995
1995
|
);
|
|
1996
1996
|
});
|
|
1997
1997
|
function NotificationsHeaderButton({ fallbackUnreadCount, disabled, dimmedClass }) {
|
|
1998
|
-
const ctx =
|
|
1998
|
+
const ctx = _chunkL5WSNX4Hcjs.useOptionalNotifications.call(void 0, );
|
|
1999
1999
|
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _56 => _56.unreadCount]), () => ( fallbackUnreadCount))) > 0;
|
|
2000
2000
|
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _57 => _57.isOpen]), () => ( false));
|
|
2001
2001
|
const onClick = _optionalChain([ctx, 'optionalAccess', _58 => _58.toggle]);
|
|
2002
2002
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2003
|
-
|
|
2003
|
+
_chunkL5WSNX4Hcjs.HeaderButton,
|
|
2004
2004
|
{
|
|
2005
2005
|
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" }),
|
|
2006
2006
|
showUnreadDot: !isActive && hasUnread,
|
|
@@ -2673,7 +2673,7 @@ function AppLayout({
|
|
|
2673
2673
|
}),
|
|
2674
2674
|
[]
|
|
2675
2675
|
);
|
|
2676
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2676
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.AppLayoutDrawerContainerContext.Provider, { value: drawerContainer, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.AppLayoutDrawerCoordinationContext.Provider, { value: drawerCoordination, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "flex h-screen flex-col bg-ods-bg", className), children: [
|
|
2677
2677
|
topBar,
|
|
2678
2678
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1", children: [
|
|
2679
2679
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, NavigationSidebar, { config: sidebarConfig, disabled, pushOnTablet: hasSidePanel }),
|
|
@@ -2697,7 +2697,7 @@ function AppLayout({
|
|
|
2697
2697
|
disabled
|
|
2698
2698
|
}
|
|
2699
2699
|
),
|
|
2700
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2700
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.NotificationDrawer, {}),
|
|
2701
2701
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2702
2702
|
"div",
|
|
2703
2703
|
{
|
|
@@ -5,17 +5,17 @@ var _chunkZVNL5OK6cjs = require('./chunk-ZVNL5OK6.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk5HWBW7WUcjs = require('./chunk-5HWBW7WU.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkL5WSNX4Hcjs = require('./chunk-L5WSNX4H.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkMZLWB5AHcjs = require('./chunk-MZLWB5AH.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
var _chunkUBPSA3RMcjs = require('./chunk-UBPSA3RM.cjs');
|
|
@@ -152,7 +152,7 @@ function OnboardingGuidesCatalogView({
|
|
|
152
152
|
});
|
|
153
153
|
};
|
|
154
154
|
const source = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _6 => _6.source]), () => ( "openframe"));
|
|
155
|
-
const docSearch =
|
|
155
|
+
const docSearch = _chunk5HWBW7WUcjs.useDocSearch.call(void 0, {
|
|
156
156
|
source,
|
|
157
157
|
baseRoute: basePath,
|
|
158
158
|
onNavigate: (path) => router.push(path),
|
|
@@ -170,7 +170,7 @@ function OnboardingGuidesCatalogView({
|
|
|
170
170
|
const renderCardFn = _nullishCoalesce(renderCard, () => ( defaultRenderCard));
|
|
171
171
|
const preControls = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_CONTROLS_CLASS, children: [
|
|
172
172
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
173
|
-
|
|
173
|
+
_chunk5HWBW7WUcjs.DocSearchBar,
|
|
174
174
|
{
|
|
175
175
|
placeholder: "Search onboarding guides, releases, case studies\u2026",
|
|
176
176
|
query: docSearch.query,
|
|
@@ -182,7 +182,7 @@ function OnboardingGuidesCatalogView({
|
|
|
182
182
|
}
|
|
183
183
|
),
|
|
184
184
|
(loading || sections.length > 0) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
185
|
-
|
|
185
|
+
_chunkL5WSNX4Hcjs.FilterPillRow,
|
|
186
186
|
{
|
|
187
187
|
label: "Section",
|
|
188
188
|
selectedValue: activeSection,
|
|
@@ -193,7 +193,7 @@ function OnboardingGuidesCatalogView({
|
|
|
193
193
|
)
|
|
194
194
|
] });
|
|
195
195
|
if (!loading && selfFetch && guidesRes.error) {
|
|
196
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
196
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
|
|
197
197
|
}
|
|
198
198
|
const view = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_VIEW_CLASS, children: [
|
|
199
199
|
preControls,
|
|
@@ -313,7 +313,7 @@ function OnboardingGuideDetailView({
|
|
|
313
313
|
slug,
|
|
314
314
|
guideEndpoint,
|
|
315
315
|
related = [],
|
|
316
|
-
MarkdownRenderer =
|
|
316
|
+
MarkdownRenderer = _chunkL5WSNX4Hcjs.RichMarkdownRenderer,
|
|
317
317
|
renderRelatedCard,
|
|
318
318
|
backHref,
|
|
319
319
|
backLabel = "Back to Getting Started",
|
|
@@ -325,7 +325,7 @@ function OnboardingGuideDetailView({
|
|
|
325
325
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
326
326
|
const captions = _chunkZXFOMNI5cjs.useCaptions.call(void 0, );
|
|
327
327
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
328
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
328
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
329
329
|
const url = initialData ? null : slug && guideEndpoint ? guideEndpoint(slug) : null;
|
|
330
330
|
const scoped = _chunkXFRBEXQNcjs.useLoadingScope.call(void 0, );
|
|
331
331
|
const {
|
|
@@ -343,7 +343,7 @@ function OnboardingGuideDetailView({
|
|
|
343
343
|
const backCfg = { label: backLabel, onClick: () => router.push(resolvedBackHref) };
|
|
344
344
|
const loading = scoped || !guide && isLoading;
|
|
345
345
|
if (!loading && (error || !guide)) {
|
|
346
|
-
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
346
|
+
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.LoadError, { message: "Guide not found.", onRetry: reload }));
|
|
347
347
|
}
|
|
348
348
|
const view = _nullishCoalesce(guide, () => ( EMPTY_ONBOARDING_GUIDE));
|
|
349
349
|
const { captionsUrl, highlightCaptionsUrl } = captions.forEntity("onboarding_guide", view);
|
|
@@ -360,8 +360,8 @@ function OnboardingGuideDetailView({
|
|
|
360
360
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4EJU462Ocjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
|
|
361
361
|
};
|
|
362
362
|
const renderRelatedCardFn = _nullishCoalesce(renderRelatedCard, () => ( defaultRenderRelatedCard));
|
|
363
|
-
const page = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
364
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
363
|
+
const page = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMZLWB5AHcjs.PageLayout, { title: view.title, loading, titleSize: "h1", titleWrap: true, backButton: backCfg, children: [
|
|
364
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL5WSNX4Hcjs.EntityTagBadges, { tags: view.onboarding_guide_tags }),
|
|
365
365
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
366
366
|
_chunk4EJU462Ocjs.EntityAuthorCard,
|
|
367
367
|
{
|