@flamingo-stack/openframe-frontend-core 0.0.801 → 0.0.802
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-LOCJD7TD.cjs → chunk-2BUSXRZ7.cjs} +7 -7
- package/dist/{chunk-237MLBT7.cjs → chunk-52NI57KM.cjs} +37 -37
- package/dist/{chunk-LEEBFBI4.cjs → chunk-75BFVMNA.cjs} +23 -23
- package/dist/{chunk-PJMLRXAG.cjs → chunk-A7IT7MZO.cjs} +2 -2
- package/dist/{chunk-CJSUMYTH.cjs → chunk-A7NRENMU.cjs} +10 -10
- package/dist/{chunk-SHOE6ATQ.cjs → chunk-D3IQHAGL.cjs} +2 -2
- package/dist/{chunk-YUGX72P4.cjs → chunk-DSIIRR3G.cjs} +28 -28
- package/dist/{chunk-PY6SPYUR.cjs → chunk-EJVJDLYC.cjs} +3 -3
- package/dist/{chunk-XYPNYTCV.cjs → chunk-HRMLGU6A.cjs} +3 -3
- package/dist/{chunk-QAUQYQWT.cjs → chunk-M7E7ILE5.cjs} +4 -4
- package/dist/{chunk-THQKEA2T.cjs → chunk-NCQJIYDN.cjs} +7 -7
- package/dist/{chunk-BWR5ACK3.cjs → chunk-OG4XH6C5.cjs} +3 -1
- package/dist/{chunk-Z66FOMSA.cjs → chunk-VMQAJIQC.cjs} +26 -26
- package/dist/{chunk-QNIUDJAK.cjs → chunk-YD344MMX.cjs} +2 -2
- package/dist/{chunk-3YPEXJVQ.cjs → chunk-YMPCACQX.cjs} +13 -13
- package/dist/{cloud-tenants-X7QHAIX2.cjs → cloud-tenants-3SWYRUXB.cjs} +3 -3
- package/dist/components/case-studies/index.cjs +12 -12
- 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 +5 -5
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/help-center-pages/download-apps-page.d.ts +9 -2
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/download-apps-page.js +39 -15
- package/dist/components/help-center-pages/index.cjs +104 -79
- package/dist/components/index.cjs +26 -26
- package/dist/components/meeting-scheduler/index.cjs +26 -26
- package/dist/components/navigation/index.cjs +4 -4
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/product-demo/index.cjs +12 -12
- package/dist/components/tickets/index.cjs +7 -7
- package/dist/components/ui/index.cjs +3 -3
- package/dist/{devices-VBFYZVVG.cjs → devices-MQILRW53.cjs} +4 -4
- package/dist/hooks/index.cjs +2 -2
- package/dist/index.cjs +7 -5
- package/dist/{knowledge-RJZJFD2Y.cjs → knowledge-WQ3ABXZC.cjs} +3 -3
- package/dist/{logs-3WZ4GROE.cjs → logs-XRSJGB3I.cjs} +11 -11
- package/dist/{policies-E6WQEXDF.cjs → policies-Q67ZXAGY.cjs} +7 -7
- package/dist/{scripts-JLCM42F4.cjs → scripts-YX324R4S.cjs} +8 -8
- package/dist/{software-update-BVBHAROC.cjs → software-update-PHMXJVAC.cjs} +6 -6
- package/dist/types/downloads.d.ts +5 -0
- package/dist/types/downloads.d.ts.map +1 -1
- package/dist/types/downloads.js +3 -1
- package/dist/types/index.cjs +2 -0
- package/package.json +1 -1
- package/src/components/help-center-pages/download-apps-page.tsx +42 -13
- package/src/types/downloads.ts +6 -0
|
@@ -5,7 +5,7 @@ var _chunkZPVFFPQMcjs = require('./chunk-ZPVFFPQM.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkYD344MMXcjs = require('./chunk-YD344MMX.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -15,7 +15,7 @@ var _chunkHEVW75L3cjs = require('./chunk-HEVW75L3.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkVMQAJIQCcjs = require('./chunk-VMQAJIQC.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
var _chunkE56LN23Hcjs = require('./chunk-E56LN23H.cjs');
|
|
@@ -105,7 +105,7 @@ function PageDataSyncProvider({
|
|
|
105
105
|
function PageDataSyncRow({ inline = false }) {
|
|
106
106
|
const context = _react.useContext.call(void 0, PageDataSyncContext);
|
|
107
107
|
if (!context) return null;
|
|
108
|
-
const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
108
|
+
const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.DataSyncLine, { sync: context.state.sync, loading: context.state.loading, stated: context.stated, inline });
|
|
109
109
|
return context.stated ? line : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "contents", "data-loading-optional": "", children: line });
|
|
110
110
|
}
|
|
111
111
|
function usePageDataSync(sync, loading) {
|
|
@@ -166,7 +166,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
166
166
|
preControls,
|
|
167
167
|
(search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
168
168
|
search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
169
|
-
|
|
169
|
+
_chunkVMQAJIQCcjs.SearchInput,
|
|
170
170
|
{
|
|
171
171
|
showDropdown: false,
|
|
172
172
|
placeholder: search.placeholder,
|
|
@@ -176,7 +176,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
176
176
|
}
|
|
177
177
|
),
|
|
178
178
|
filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
179
|
-
|
|
179
|
+
_chunkVMQAJIQCcjs.StatusFilterComponent,
|
|
180
180
|
{
|
|
181
181
|
selectedStatus: currentFilterValue,
|
|
182
182
|
onStatusChange: handleFilterChange,
|
|
@@ -223,12 +223,12 @@ function DevSectionPage({
|
|
|
223
223
|
backButton: backCfg,
|
|
224
224
|
children: [
|
|
225
225
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DevSectionView, { sectionKey, showHeading: false, preControls, children }),
|
|
226
|
-
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
226
|
+
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYD344MMXcjs.FaqSection, { ..._chunkYD344MMXcjs.pageFaqProps.call(void 0, faq) })
|
|
227
227
|
]
|
|
228
228
|
}
|
|
229
229
|
)
|
|
230
230
|
);
|
|
231
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
231
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
// src/components/shared/dev-section/dev-card-row.tsx
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk2BUSXRZ7cjs = require('./chunk-2BUSXRZ7.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ var _chunkZPVFFPQMcjs = require('./chunk-ZPVFFPQM.cjs');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkYD344MMXcjs = require('./chunk-YD344MMX.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -24,14 +24,14 @@ var _chunkQNIUDJAKcjs = require('./chunk-QNIUDJAK.cjs');
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkVMQAJIQCcjs = require('./chunk-VMQAJIQC.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
var _chunkE56LN23Hcjs = require('./chunk-E56LN23H.cjs');
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _chunkOG4XH6C5cjs = require('./chunk-OG4XH6C5.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
@@ -184,7 +184,7 @@ function ProductReleasesView({
|
|
|
184
184
|
initialData
|
|
185
185
|
});
|
|
186
186
|
const isLoading = inScope || fetching;
|
|
187
|
-
|
|
187
|
+
_chunk2BUSXRZ7cjs.usePageDataSync.call(void 0, _optionalChain([data, 'optionalAccess', _3 => _3.sync]), isLoading && !data);
|
|
188
188
|
const releases = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _4 => _4.data]), () => ( []));
|
|
189
189
|
const totalCount = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _5 => _5.count]), () => ( 0));
|
|
190
190
|
const totalPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, totalCount, itemsPerPage);
|
|
@@ -203,10 +203,10 @@ function ProductReleasesView({
|
|
|
203
203
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
204
204
|
};
|
|
205
205
|
if (error) {
|
|
206
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
206
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.LoadError, { message: "Failed to load releases.", onRetry: reload }) });
|
|
207
207
|
}
|
|
208
208
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7JWFMAQBcjs.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,
|
|
209
|
-
|
|
209
|
+
_chunk2BUSXRZ7cjs.ListEmptyState,
|
|
210
210
|
{
|
|
211
211
|
isFiltered: hasActiveFilters,
|
|
212
212
|
filtered: {
|
|
@@ -319,7 +319,7 @@ function MediaGalleryStripSkeleton({
|
|
|
319
319
|
var _lucidereact = require('lucide-react');
|
|
320
320
|
|
|
321
321
|
|
|
322
|
-
var DefaultMarkdownRenderer =
|
|
322
|
+
var DefaultMarkdownRenderer = _chunkVMQAJIQCcjs.RichMarkdownRenderer;
|
|
323
323
|
var CONTENT_STACK_CLASS = "space-y-6 content-md:space-y-8";
|
|
324
324
|
var RELEASE_TITLE_SKELETON_LINES = { phone: 7, md: 4, lg: 2 };
|
|
325
325
|
var METADATA_GRID_CLASS = "grid w-full grid-cols-1 overflow-hidden rounded-md border border-ods-border content-md:grid-cols-4";
|
|
@@ -369,7 +369,7 @@ function ReleaseDetailPage({
|
|
|
369
369
|
}) {
|
|
370
370
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
371
371
|
const captions = _chunk7E4BC3AFcjs.useCaptions.call(void 0, );
|
|
372
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
372
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
373
373
|
const seed = initialData == null ? void 0 : initialData;
|
|
374
374
|
const {
|
|
375
375
|
data: release,
|
|
@@ -475,7 +475,7 @@ function ReleaseDetailPage({
|
|
|
475
475
|
children: [
|
|
476
476
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CONTENT_STACK_CLASS, children: [
|
|
477
477
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
478
|
-
|
|
478
|
+
_chunkVMQAJIQCcjs.EntityTagBadges,
|
|
479
479
|
{
|
|
480
480
|
tags: view.product_release_tags,
|
|
481
481
|
max: RELEASE_TAG_ROW_MAX,
|
|
@@ -556,7 +556,7 @@ function ReleaseDetailPage({
|
|
|
556
556
|
] })
|
|
557
557
|
] }) }) }),
|
|
558
558
|
loading ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
559
|
-
|
|
559
|
+
_chunkVMQAJIQCcjs.ReleaseChangelogSection,
|
|
560
560
|
{
|
|
561
561
|
title: "Breaking Changes",
|
|
562
562
|
entries: breakingChanges || [],
|
|
@@ -568,7 +568,7 @@ function ReleaseDetailPage({
|
|
|
568
568
|
}
|
|
569
569
|
),
|
|
570
570
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
571
|
-
|
|
571
|
+
_chunkVMQAJIQCcjs.ReleaseChangelogSection,
|
|
572
572
|
{
|
|
573
573
|
title: "Features Added",
|
|
574
574
|
entries: featuresAdded || [],
|
|
@@ -578,7 +578,7 @@ function ReleaseDetailPage({
|
|
|
578
578
|
}
|
|
579
579
|
),
|
|
580
580
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
581
|
-
|
|
581
|
+
_chunkVMQAJIQCcjs.ReleaseChangelogSection,
|
|
582
582
|
{
|
|
583
583
|
title: "Bugs Fixed",
|
|
584
584
|
entries: bugFixed || [],
|
|
@@ -588,7 +588,7 @@ function ReleaseDetailPage({
|
|
|
588
588
|
}
|
|
589
589
|
),
|
|
590
590
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
591
|
-
|
|
591
|
+
_chunkVMQAJIQCcjs.ReleaseChangelogSection,
|
|
592
592
|
{
|
|
593
593
|
title: "Improvements",
|
|
594
594
|
entries: improvements || [],
|
|
@@ -617,9 +617,9 @@ function ReleaseDetailPage({
|
|
|
617
617
|
return deliveryLoading ? (
|
|
618
618
|
// The loaded preview's frame, its height written into the markup (`fixedHeight`), so the tables'
|
|
619
619
|
// loading state takes the collapsed preview's place, toggle row included. Inert: nothing to open yet.
|
|
620
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { inert: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
620
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { inert: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.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 }) }) }) })
|
|
621
621
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
622
|
-
|
|
622
|
+
_chunkVMQAJIQCcjs.FadePreview,
|
|
623
623
|
{
|
|
624
624
|
hiddenCount: deliveryCount - 1,
|
|
625
625
|
collapsedHeight: DELIVERY_PREVIEW_HEIGHT,
|
|
@@ -719,7 +719,7 @@ function readStoredVotes(storageKey) {
|
|
|
719
719
|
function useRoadmapVoting(options = {}) {
|
|
720
720
|
const voteApiEndpoint = _nullishCoalesce(options.voteApiEndpoint, () => ( DEFAULT_VOTE_ENDPOINT));
|
|
721
721
|
const storageKey = _nullishCoalesce(options.storageKey, () => ( DEFAULT_STORAGE_KEY));
|
|
722
|
-
const { getSignals } =
|
|
722
|
+
const { getSignals } = _chunkOG4XH6C5cjs.useHumanitySignals.call(void 0, );
|
|
723
723
|
const [votes, setVotes] = _react.useState.call(void 0, NO_VOTES);
|
|
724
724
|
const [loadedKey, setLoadedKey] = _react.useState.call(void 0, null);
|
|
725
725
|
const hydrated = _chunk7E4BC3AFcjs.useIsHydrated.call(void 0, );
|
|
@@ -1053,7 +1053,7 @@ function RoadmapGrid({
|
|
|
1053
1053
|
);
|
|
1054
1054
|
}
|
|
1055
1055
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1056
|
-
|
|
1056
|
+
_chunkVMQAJIQCcjs.Accordion,
|
|
1057
1057
|
{
|
|
1058
1058
|
type: "multiple",
|
|
1059
1059
|
value: expandedQuarters,
|
|
@@ -1063,14 +1063,14 @@ function RoadmapGrid({
|
|
|
1063
1063
|
const itemCount = _optionalChain([itemsByQuarter, 'access', _19 => _19[quarter], 'optionalAccess', _20 => _20.length]) || 0;
|
|
1064
1064
|
const isExpanded = expandedQuarters.includes(quarter);
|
|
1065
1065
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1066
|
-
|
|
1066
|
+
_chunkVMQAJIQCcjs.AccordionItem,
|
|
1067
1067
|
{
|
|
1068
1068
|
value: quarter,
|
|
1069
1069
|
id: `quarter-${quarter.replace(/\s+/g, "-").toLowerCase()}`,
|
|
1070
1070
|
className: "border-0",
|
|
1071
1071
|
"data-loading-item": true,
|
|
1072
1072
|
children: [
|
|
1073
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1073
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.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: [
|
|
1074
1074
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1075
1075
|
"h3",
|
|
1076
1076
|
{
|
|
@@ -1100,7 +1100,7 @@ function RoadmapGrid({
|
|
|
1100
1100
|
}
|
|
1101
1101
|
)
|
|
1102
1102
|
] }) }),
|
|
1103
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1103
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.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,
|
|
1104
1104
|
RoadmapGridSingle,
|
|
1105
1105
|
{
|
|
1106
1106
|
items: itemsByQuarter[quarter],
|
|
@@ -1150,19 +1150,19 @@ function RoadmapView({
|
|
|
1150
1150
|
initialData
|
|
1151
1151
|
});
|
|
1152
1152
|
const items = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _21 => _21.items]), () => ( []));
|
|
1153
|
-
|
|
1154
|
-
const syncInPage =
|
|
1153
|
+
_chunkOG4XH6C5cjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX });
|
|
1154
|
+
const syncInPage = _chunk2BUSXRZ7cjs.usePageDataSync.call(void 0, _optionalChain([data, 'optionalAccess', _22 => _22.sync]), isLoading && !data);
|
|
1155
1155
|
if (error) {
|
|
1156
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1156
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.LoadError, { message: "Failed to load roadmap.", onRetry: reload });
|
|
1157
1157
|
}
|
|
1158
1158
|
if (isLoading && !data) {
|
|
1159
1159
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1160
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1160
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.DataSyncLine, { loading: true }),
|
|
1161
1161
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapGrid, { items: NO_ITEMS, isLoading: true, groupByQuarter: true, showLeftMargin })
|
|
1162
1162
|
] });
|
|
1163
1163
|
}
|
|
1164
1164
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1165
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1165
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.DataSyncLine, { sync: _optionalChain([data, 'optionalAccess', _23 => _23.sync]) }),
|
|
1166
1166
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1167
1167
|
RoadmapGrid,
|
|
1168
1168
|
{
|
|
@@ -1186,7 +1186,7 @@ var TABLE_FRAME_CLASS = `w-full ${_chunkYBTORXFYcjs.CONTENT_CARD_SKELETON_FRAME_
|
|
|
1186
1186
|
var ROW_SEPARATOR_CLASS = "border-b border-ods-border last:border-b-0";
|
|
1187
1187
|
var DELIVERY_TABLE_SKELETON_ROWS = 5;
|
|
1188
1188
|
function DeliveryTableSkeleton() {
|
|
1189
|
-
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, _chunk7JWFMAQBcjs.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,
|
|
1189
|
+
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, _chunk7JWFMAQBcjs.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, _chunk2BUSXRZ7cjs.DeliveryRow, { loading: true }) }) }) }) });
|
|
1190
1190
|
}
|
|
1191
1191
|
function DeliveryTable({ items, isLoading = false }) {
|
|
1192
1192
|
if (_chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || isLoading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliveryTableSkeleton, {});
|
|
@@ -1199,7 +1199,7 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1199
1199
|
// → `#delivery-<external_id>`; `useScrollToHash` in
|
|
1200
1200
|
// `delivery-lists.tsx` finds the row by id and scrolls. The
|
|
1201
1201
|
// outer wrapper here ONLY exists for the row separators.
|
|
1202
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1202
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2BUSXRZ7cjs.DeliveryRow, { item, id: _chunkCRVXQYUZcjs.devSectionAnchorId.call(void 0, "delivery", item.id) }) }, item.id)
|
|
1203
1203
|
)) }) });
|
|
1204
1204
|
}
|
|
1205
1205
|
|
|
@@ -1283,19 +1283,19 @@ function DeliveryLists({
|
|
|
1283
1283
|
]);
|
|
1284
1284
|
const filteredCompleted = _optionalChain([data, 'optionalAccess', _24 => _24.completed]) || [];
|
|
1285
1285
|
const filteredInProgress = _optionalChain([data, 'optionalAccess', _25 => _25.inProgress]) || [];
|
|
1286
|
-
|
|
1287
|
-
const syncInPage =
|
|
1286
|
+
_chunkOG4XH6C5cjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX });
|
|
1287
|
+
const syncInPage = _chunk2BUSXRZ7cjs.usePageDataSync.call(void 0, sync, isLoading && !data);
|
|
1288
1288
|
const showCompleted = true;
|
|
1289
1289
|
const showInProgress = true;
|
|
1290
1290
|
const hasActiveFilters = searchQuery !== "" || taskTypeFilter !== "all";
|
|
1291
1291
|
const hasResults = showCompleted && filteredCompleted.length > 0 || showInProgress && filteredInProgress.length > 0;
|
|
1292
1292
|
if (error) {
|
|
1293
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1293
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.LoadError, { message: error, onRetry: () => window.location.reload() }) });
|
|
1294
1294
|
}
|
|
1295
1295
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[40px]", children: [
|
|
1296
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1296
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.DataSyncLine, { sync, loading: isLoading && !data }),
|
|
1297
1297
|
!isLoading && !hasResults && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1298
|
-
|
|
1298
|
+
_chunk2BUSXRZ7cjs.ListEmptyState,
|
|
1299
1299
|
{
|
|
1300
1300
|
isFiltered: hasActiveFilters,
|
|
1301
1301
|
filtered: {
|
|
@@ -1532,7 +1532,7 @@ function LegalDocumentPage({
|
|
|
1532
1532
|
emptyStateMessage: emptyStateMessageProp,
|
|
1533
1533
|
initialData = null,
|
|
1534
1534
|
apiEndpoint,
|
|
1535
|
-
MarkdownRenderer =
|
|
1535
|
+
MarkdownRenderer = _chunkVMQAJIQCcjs.RichMarkdownRenderer,
|
|
1536
1536
|
documentsEndpoint,
|
|
1537
1537
|
backButton,
|
|
1538
1538
|
faq,
|
|
@@ -1563,7 +1563,7 @@ function LegalDocumentPage({
|
|
|
1563
1563
|
titleSize: "h1",
|
|
1564
1564
|
titleWrap: true,
|
|
1565
1565
|
children: [
|
|
1566
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1566
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.DataSyncLine, { sync: data ? { source: "github", syncedAt: data.lastSynced } : null, loading: isLoading }),
|
|
1567
1567
|
/* @__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: _chunk7JWFMAQBcjs.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: [
|
|
1568
1568
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rounded-lg border border-ods-error bg-ods-error-secondary p-6", children: [
|
|
1569
1569
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "mb-2 text-ods-error", children: errorTitle }),
|
|
@@ -1583,11 +1583,11 @@ function LegalDocumentPage({
|
|
|
1583
1583
|
"for more information."
|
|
1584
1584
|
] })
|
|
1585
1585
|
] }) }) }) }) }),
|
|
1586
|
-
faqSlot && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1586
|
+
faqSlot && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYD344MMXcjs.FaqSection, { ..._chunkYD344MMXcjs.pageFaqProps.call(void 0, faqSlot) })
|
|
1587
1587
|
]
|
|
1588
1588
|
}
|
|
1589
1589
|
);
|
|
1590
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1590
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
1591
1591
|
}
|
|
1592
1592
|
|
|
1593
1593
|
|
|
@@ -18,7 +18,7 @@ var _chunk3W2PBWD5cjs = require('./chunk-3W2PBWD5.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkVMQAJIQCcjs = require('./chunk-VMQAJIQC.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
var _chunkNG3RKTQUcjs = require('./chunk-NG3RKTQU.cjs');
|
|
@@ -27,7 +27,7 @@ var _chunkNG3RKTQUcjs = require('./chunk-NG3RKTQU.cjs');
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkOG4XH6C5cjs = require('./chunk-OG4XH6C5.cjs');
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
var _chunkVXAKQRV7cjs = require('./chunk-VXAKQRV7.cjs');
|
|
@@ -193,7 +193,7 @@ function NavItemRow({
|
|
|
193
193
|
className
|
|
194
194
|
}) {
|
|
195
195
|
const label = navLinkLabel(link);
|
|
196
|
-
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
196
|
+
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.UnreadCountBadge, { count: badge, className: "static shrink-0" }) : null;
|
|
197
197
|
const singleLine = !link.description && !link.builtOn;
|
|
198
198
|
const rowClassName = _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
199
199
|
ROW_CLASSES[variant],
|
|
@@ -488,8 +488,8 @@ function SiteHeader({
|
|
|
488
488
|
}) {
|
|
489
489
|
const [show, setShow] = _react.useState.call(void 0, true);
|
|
490
490
|
const lastScrollY = _react.useRef.call(void 0, 0);
|
|
491
|
-
const activeId =
|
|
492
|
-
const { openId, close, getTriggerProps, getPanelProps } =
|
|
491
|
+
const activeId = _chunkOG4XH6C5cjs.useActiveSection.call(void 0, nav.menus, pathname);
|
|
492
|
+
const { openId, close, getTriggerProps, getPanelProps } = _chunkOG4XH6C5cjs.useNavMenus.call(void 0, { pathname });
|
|
493
493
|
const [trail, setTrail] = _react.useState.call(void 0, { id: null, from: null });
|
|
494
494
|
if (trail.id !== openId) setTrail({ id: openId, from: trail.id });
|
|
495
495
|
const previousId = trail.id === openId ? trail.from : trail.id;
|
|
@@ -615,7 +615,7 @@ function SiteHeader({
|
|
|
615
615
|
leading: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
616
616
|
leading,
|
|
617
617
|
mobile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
618
|
-
|
|
618
|
+
_chunkVMQAJIQCcjs.HeaderButton,
|
|
619
619
|
{
|
|
620
620
|
className: "border-r border-ods-border lg:hidden",
|
|
621
621
|
onClick: mobile.onToggle,
|
|
@@ -707,9 +707,9 @@ function MobileNavSheetBody({
|
|
|
707
707
|
const sheetRef = _react.useRef.call(void 0, null);
|
|
708
708
|
const menus = [..._nullishCoalesce(nav.mobileMenus, () => ( nav.menus)), ..._nullishCoalesce(extraMenus, () => ( []))];
|
|
709
709
|
_overlays.usePreventScroll.call(void 0, );
|
|
710
|
-
|
|
710
|
+
_chunkOG4XH6C5cjs.useFocusTrap.call(void 0, sheetRef, true, { onEscape: onClose });
|
|
711
711
|
const [openGroups, setOpenGroups] = _react.useState.call(void 0, () => {
|
|
712
|
-
const active =
|
|
712
|
+
const active = _chunkOG4XH6C5cjs.resolveActiveSection.call(void 0, menus, pathname);
|
|
713
713
|
return active ? { [active]: true } : {};
|
|
714
714
|
});
|
|
715
715
|
const primaryCta = typeof nav.primaryCta === "object" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "accent", href: nav.primaryCta.href, onClick: onClose, className: "w-full", children: nav.primaryCta.label }) : nav.primaryCta === "none" ? null : _nullishCoalesce(cta, () => ( null));
|
|
@@ -923,7 +923,7 @@ function SiteFooter({
|
|
|
923
923
|
const columns = nav.footerColumns;
|
|
924
924
|
const accordion = columns.length > ACCORDION_OVER;
|
|
925
925
|
const socialRow = _nullishCoalesce(social, () => ( (nav.brand.social.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
926
|
-
|
|
926
|
+
_chunkVMQAJIQCcjs.SocialIconRow,
|
|
927
927
|
{
|
|
928
928
|
compact: true,
|
|
929
929
|
links: nav.brand.social.map((link) => ({
|
|
@@ -1031,7 +1031,7 @@ function SlidingSidebar({ config }) {
|
|
|
1031
1031
|
const asideRef = _react.useRef.call(void 0, null);
|
|
1032
1032
|
const prefersReducedMotion = _framermotion.useReducedMotion.call(void 0, );
|
|
1033
1033
|
_overlays.usePreventScroll.call(void 0, { isDisabled: !config.isOpen });
|
|
1034
|
-
|
|
1034
|
+
_chunkOG4XH6C5cjs.useFocusTrap.call(void 0, asideRef, config.isOpen, { onEscape: config.onClose, contain: false });
|
|
1035
1035
|
const toggleExpanded = (itemId) => {
|
|
1036
1036
|
const newExpanded = new Set(expandedItems);
|
|
1037
1037
|
if (newExpanded.has(itemId)) {
|
|
@@ -1236,7 +1236,7 @@ function PageSectionBar({ sections: listed, label, brand, action }) {
|
|
|
1236
1236
|
});
|
|
1237
1237
|
if (sections.length === 0 && !inScope) return null;
|
|
1238
1238
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1239
|
-
|
|
1239
|
+
_chunkVMQAJIQCcjs.PageContainer,
|
|
1240
1240
|
{
|
|
1241
1241
|
as: "div",
|
|
1242
1242
|
backgroundClassName: "sticky z-30 border-b border-ods-border bg-ods-bg transition-[top] duration-300 ease-in-out motion-reduce:transition-none",
|
|
@@ -1339,7 +1339,7 @@ function LoadedNavigationSidebarItemButton({
|
|
|
1339
1339
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1340
1340
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex flex-shrink-0 items-center justify-center", children: [
|
|
1341
1341
|
_react.cloneElement.call(void 0, item.icon, { color: "inherit" }),
|
|
1342
|
-
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1342
|
+
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.UnreadDot, { size: "fixed" })
|
|
1343
1343
|
] }),
|
|
1344
1344
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1345
1345
|
"span",
|
|
@@ -1757,7 +1757,7 @@ function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
|
1757
1757
|
else window.location.assign(target);
|
|
1758
1758
|
};
|
|
1759
1759
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1760
|
-
|
|
1760
|
+
_chunkVMQAJIQCcjs.HeaderButton,
|
|
1761
1761
|
{
|
|
1762
1762
|
icon: (
|
|
1763
1763
|
// Glyph inherits HeaderButton's standard cell coloring (secondary at
|
|
@@ -1767,7 +1767,7 @@ function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
|
1767
1767
|
// existing while updates are unread — never by tinting the glyph.
|
|
1768
1768
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative inline-flex", children: [
|
|
1769
1769
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk365ZKGGOcjs.LifeBuoyIcon, { className: "h-6 w-6" }),
|
|
1770
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1770
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.UnreadCountBadge, { count: live.unreadTotal })
|
|
1771
1771
|
] })
|
|
1772
1772
|
),
|
|
1773
1773
|
"aria-label": `Support tickets \u2014 ${live.unreadTotal} unread ${live.unreadTotal === 1 ? "update" : "updates"}`,
|
|
@@ -1844,7 +1844,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1844
1844
|
leading: (
|
|
1845
1845
|
// Mobile: Burger Menu Button
|
|
1846
1846
|
!isMdUp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1847
|
-
|
|
1847
|
+
_chunkVMQAJIQCcjs.HeaderButton,
|
|
1848
1848
|
{
|
|
1849
1849
|
onClick: onToggleMobileMenu,
|
|
1850
1850
|
isActive: isMobileMenuOpen,
|
|
@@ -1870,7 +1870,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1870
1870
|
center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderGlobalSearch, { onSubmit: onSearch, className: _chunk7JWFMAQBcjs.cn.call(void 0, "w-full", dimmedClass) }) : void 0,
|
|
1871
1871
|
sideActions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1872
1872
|
showSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1873
|
-
|
|
1873
|
+
_chunkVMQAJIQCcjs.HeaderButton,
|
|
1874
1874
|
{
|
|
1875
1875
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ74QE57Tcjs.SearchIcon, { className: "h-6 w-6" }),
|
|
1876
1876
|
"aria-label": "Search",
|
|
@@ -1887,7 +1887,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1887
1887
|
className: _chunk7JWFMAQBcjs.cn.call(void 0, "hidden lg:flex", dimmedClass)
|
|
1888
1888
|
}
|
|
1889
1889
|
),
|
|
1890
|
-
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1890
|
+
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.TimeTrackerHeaderButton, { disabled, className: _chunk7JWFMAQBcjs.cn.call(void 0, cellDivider, dimmedClass) }),
|
|
1891
1891
|
showNotifications && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1892
1892
|
NotificationsHeaderButton,
|
|
1893
1893
|
{
|
|
@@ -1907,7 +1907,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1907
1907
|
),
|
|
1908
1908
|
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNL3G642Ucjs.DropdownMenu, { children: [
|
|
1909
1909
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNL3G642Ucjs.DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1910
|
-
|
|
1910
|
+
_chunkVMQAJIQCcjs.HeaderButton,
|
|
1911
1911
|
{
|
|
1912
1912
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1913
1913
|
_chunk6UKH22NQcjs.SquareAvatar,
|
|
@@ -1992,12 +1992,12 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1992
1992
|
);
|
|
1993
1993
|
});
|
|
1994
1994
|
function NotificationsHeaderButton({ fallbackUnreadCount, disabled, dimmedClass }) {
|
|
1995
|
-
const ctx =
|
|
1995
|
+
const ctx = _chunkVMQAJIQCcjs.useOptionalNotifications.call(void 0, );
|
|
1996
1996
|
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _56 => _56.unreadCount]), () => ( fallbackUnreadCount))) > 0;
|
|
1997
1997
|
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _57 => _57.isOpen]), () => ( false));
|
|
1998
1998
|
const onClick = _optionalChain([ctx, 'optionalAccess', _58 => _58.toggle]);
|
|
1999
1999
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2000
|
-
|
|
2000
|
+
_chunkVMQAJIQCcjs.HeaderButton,
|
|
2001
2001
|
{
|
|
2002
2002
|
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" }),
|
|
2003
2003
|
showUnreadDot: !isActive && hasUnread,
|
|
@@ -2449,7 +2449,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
2449
2449
|
}) {
|
|
2450
2450
|
const panelRef = _react.useRef.call(void 0, null);
|
|
2451
2451
|
_overlays.usePreventScroll.call(void 0, { isDisabled: !isOpen });
|
|
2452
|
-
|
|
2452
|
+
_chunkOG4XH6C5cjs.useFocusTrap.call(void 0, panelRef, isOpen, { onEscape: onClose });
|
|
2453
2453
|
const handleItemClick = _react.useCallback.call(void 0,
|
|
2454
2454
|
(item) => {
|
|
2455
2455
|
if (item.onClick) {
|
|
@@ -2650,7 +2650,7 @@ function AppLayout({
|
|
|
2650
2650
|
}),
|
|
2651
2651
|
[]
|
|
2652
2652
|
);
|
|
2653
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2653
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.AppLayoutDrawerContainerContext.Provider, { value: drawerContainer, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.AppLayoutDrawerCoordinationContext.Provider, { value: drawerCoordination, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex h-screen flex-col bg-ods-bg", className), children: [
|
|
2654
2654
|
topBar,
|
|
2655
2655
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1", children: [
|
|
2656
2656
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, NavigationSidebar, { config: sidebarConfig, disabled, pushOnTablet: hasSidePanel }),
|
|
@@ -2674,7 +2674,7 @@ function AppLayout({
|
|
|
2674
2674
|
disabled
|
|
2675
2675
|
}
|
|
2676
2676
|
),
|
|
2677
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2677
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.NotificationDrawer, {}),
|
|
2678
2678
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2679
2679
|
"div",
|
|
2680
2680
|
{
|
|
@@ -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 _chunkVMQAJIQCcjs = require('./chunk-VMQAJIQC.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -72,7 +72,7 @@ function DocSearchBar({
|
|
|
72
72
|
renderResult
|
|
73
73
|
}) {
|
|
74
74
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
75
|
-
|
|
75
|
+
_chunkVMQAJIQCcjs.SearchInput,
|
|
76
76
|
{
|
|
77
77
|
placeholder,
|
|
78
78
|
value: query,
|
|
@@ -5,14 +5,14 @@ var _chunkY5XHMEBBcjs = require('./chunk-Y5XHMEBB.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkA7IT7MZOcjs = require('./chunk-A7IT7MZO.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkVMQAJIQCcjs = require('./chunk-VMQAJIQC.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunkE56LN23Hcjs = require('./chunk-E56LN23H.cjs');
|
|
@@ -143,7 +143,7 @@ function OnboardingGuidesCatalogView({
|
|
|
143
143
|
});
|
|
144
144
|
};
|
|
145
145
|
const source = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _6 => _6.source]), () => ( "openframe"));
|
|
146
|
-
const docSearch =
|
|
146
|
+
const docSearch = _chunkA7IT7MZOcjs.useDocSearch.call(void 0, {
|
|
147
147
|
source,
|
|
148
148
|
baseRoute: basePath,
|
|
149
149
|
onNavigate: (path) => router.push(path),
|
|
@@ -161,7 +161,7 @@ function OnboardingGuidesCatalogView({
|
|
|
161
161
|
const renderCardFn = _nullishCoalesce(renderCard, () => ( defaultRenderCard));
|
|
162
162
|
const preControls = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_CONTROLS_CLASS, children: [
|
|
163
163
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
164
|
-
|
|
164
|
+
_chunkA7IT7MZOcjs.DocSearchBar,
|
|
165
165
|
{
|
|
166
166
|
placeholder: "Search onboarding guides, releases, case studies\u2026",
|
|
167
167
|
query: docSearch.query,
|
|
@@ -173,7 +173,7 @@ function OnboardingGuidesCatalogView({
|
|
|
173
173
|
}
|
|
174
174
|
),
|
|
175
175
|
(loading || sections.length > 0) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
176
|
-
|
|
176
|
+
_chunkVMQAJIQCcjs.FilterPillRow,
|
|
177
177
|
{
|
|
178
178
|
label: "Section",
|
|
179
179
|
selectedValue: activeSection,
|
|
@@ -184,7 +184,7 @@ function OnboardingGuidesCatalogView({
|
|
|
184
184
|
)
|
|
185
185
|
] });
|
|
186
186
|
if (!loading && selfFetch && guidesRes.error) {
|
|
187
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
187
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
|
|
188
188
|
}
|
|
189
189
|
const view = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_VIEW_CLASS, children: [
|
|
190
190
|
preControls,
|
|
@@ -304,7 +304,7 @@ function OnboardingGuideDetailView({
|
|
|
304
304
|
slug,
|
|
305
305
|
guideEndpoint,
|
|
306
306
|
related = [],
|
|
307
|
-
MarkdownRenderer =
|
|
307
|
+
MarkdownRenderer = _chunkVMQAJIQCcjs.RichMarkdownRenderer,
|
|
308
308
|
renderRelatedCard,
|
|
309
309
|
backHref,
|
|
310
310
|
backLabel = "Back to Getting Started",
|
|
@@ -316,7 +316,7 @@ function OnboardingGuideDetailView({
|
|
|
316
316
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
317
317
|
const captions = _chunk7E4BC3AFcjs.useCaptions.call(void 0, );
|
|
318
318
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
319
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
319
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
320
320
|
const url = initialData ? null : slug && guideEndpoint ? guideEndpoint(slug) : null;
|
|
321
321
|
const scoped = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
322
322
|
const {
|
|
@@ -334,7 +334,7 @@ function OnboardingGuideDetailView({
|
|
|
334
334
|
const backCfg = { label: backLabel, onClick: () => router.push(resolvedBackHref) };
|
|
335
335
|
const loading = scoped || !guide && isLoading;
|
|
336
336
|
if (!loading && (error || !guide)) {
|
|
337
|
-
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
337
|
+
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.LoadError, { message: "Guide not found.", onRetry: reload }));
|
|
338
338
|
}
|
|
339
339
|
const view = _nullishCoalesce(guide, () => ( EMPTY_ONBOARDING_GUIDE));
|
|
340
340
|
const { captionsUrl, highlightCaptionsUrl } = captions.forEntity("onboarding_guide", view);
|
|
@@ -352,7 +352,7 @@ function OnboardingGuideDetailView({
|
|
|
352
352
|
};
|
|
353
353
|
const renderRelatedCardFn = _nullishCoalesce(renderRelatedCard, () => ( defaultRenderRelatedCard));
|
|
354
354
|
const page = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkE56LN23Hcjs.PageLayout, { title: view.title, loading, titleSize: "h1", titleWrap: true, backButton: backCfg, children: [
|
|
355
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
355
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.EntityTagBadges, { tags: view.onboarding_guide_tags }),
|
|
356
356
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
357
357
|
_chunkFAUVDMH4cjs.EntityAuthorCard,
|
|
358
358
|
{
|