@flamingo-stack/openframe-frontend-core 0.0.793 → 0.0.795
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/{case-study-card-MCAM232N.cjs → case-study-card-KU4ZIONR.cjs} +2 -2
- package/dist/{chunk-HMV32LV4.cjs → chunk-2KLYMAHF.cjs} +4 -4
- package/dist/{chunk-ZZPGSLMO.cjs → chunk-3XAFK4WH.cjs} +8 -8
- package/dist/{chunk-P2JY2XCV.cjs → chunk-43ZVXQJK.cjs} +52 -52
- package/dist/{chunk-YDH5OVRQ.cjs → chunk-4BYNNQBC.cjs} +117 -86
- package/dist/{chunk-CB24ILOB.cjs → chunk-6TUI5KQS.cjs} +39 -39
- package/dist/{chunk-ZW2TS775.cjs → chunk-6VP5UWZG.cjs} +2 -2
- package/dist/{chunk-XGE2WCOH.cjs → chunk-A6E5ZNQR.cjs} +3 -3
- package/dist/{chunk-BI6FE3HO.cjs → chunk-BFCGOHQG.cjs} +32 -32
- package/dist/{chunk-DWYMZ3LO.cjs → chunk-CLEZ6TWZ.cjs} +68 -68
- package/dist/{chunk-7EH7KKFW.cjs → chunk-F73DM65J.cjs} +71 -71
- package/dist/{chunk-IHLGPIFO.cjs → chunk-FOWQ4XTB.cjs} +2 -2
- package/dist/{chunk-VUQNTCAL.cjs → chunk-FYHXMHY6.cjs} +13 -13
- package/dist/{chunk-OZIPPOSJ.cjs → chunk-FYPVCCCV.cjs} +101 -101
- package/dist/{chunk-5MIGBLDC.cjs → chunk-HXL7AUPG.cjs} +17 -17
- package/dist/{chunk-UNUJ5YQ5.cjs → chunk-IJ23KNYI.cjs} +4 -4
- package/dist/{chunk-FEARCFP4.cjs → chunk-IQTVKPRG.cjs} +22 -22
- package/dist/{chunk-LVBSVUHD.cjs → chunk-KQPU5N7T.cjs} +13 -13
- package/dist/{chunk-TBGVWIF7.cjs → chunk-NGGEYE5R.cjs} +2 -2
- package/dist/{chunk-BTI4RRU2.cjs → chunk-NIW4ETGC.cjs} +4 -4
- package/dist/{chunk-SXEIK7RU.cjs → chunk-OK467OQJ.cjs} +2 -2
- package/dist/{chunk-FBA6S4ES.cjs → chunk-QDW64E6T.cjs} +99 -99
- package/dist/{chunk-CKSAUEEL.cjs → chunk-U4D4ABXK.cjs} +38 -38
- package/dist/{chunk-C5EPWKM7.cjs → chunk-UN6LC5PK.cjs} +1 -1
- package/dist/{chunk-ZCNEO273.cjs → chunk-YPKAMHYA.cjs} +157 -157
- package/dist/{chunk-LMZICTQW.cjs → chunk-YYKXX5NA.cjs} +11 -11
- package/dist/{chunk-CASWVIJC.cjs → chunk-ZIMPE7D5.cjs} +3 -3
- package/dist/{cloud-tenants-BISHVU2T.cjs → cloud-tenants-Z3AYAXF5.cjs} +7 -7
- package/dist/components/case-studies/index.cjs +22 -22
- package/dist/components/chat/index.cjs +6 -6
- package/dist/components/contact/index.cjs +8 -8
- package/dist/components/docs/index.cjs +11 -11
- package/dist/components/embeds/index.cjs +8 -8
- package/dist/components/faq/index.cjs +9 -9
- package/dist/components/features/index.cjs +7 -7
- package/dist/components/help-center-pages/index.cjs +84 -84
- package/dist/components/index.cjs +56 -56
- package/dist/components/meeting-scheduler/index.cjs +40 -40
- package/dist/components/navigation/index.cjs +10 -10
- package/dist/components/onboarding-guides/index.cjs +10 -10
- package/dist/components/product-demo/index.cjs +16 -16
- package/dist/components/related-content/index.cjs +6 -6
- package/dist/components/shared/roadmap/roadmap-grid.d.ts +6 -1
- package/dist/components/shared/roadmap/roadmap-grid.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-grid.js +39 -8
- package/dist/components/tickets/index.cjs +14 -14
- package/dist/components/ui/index.cjs +7 -7
- package/dist/components/ui/status-badge.d.ts.map +1 -1
- package/dist/components/ui/status-badge.js +1 -1
- package/dist/{devices-GMR73ZF3.cjs → devices-P6XQL23S.cjs} +8 -8
- package/dist/{embeddable-chat-54X3TTG4.cjs → embeddable-chat-6BNLOSBB.cjs} +67 -67
- package/dist/index.cjs +11 -11
- package/dist/{knowledge-XC2K5VQO.cjs → knowledge-IU5ORU7U.cjs} +8 -8
- package/dist/{logs-LBGQLETC.cjs → logs-DCFTQVKA.cjs} +15 -15
- package/dist/{policies-3XVE6266.cjs → policies-ESC6XCVH.cjs} +11 -11
- package/dist/{scripts-NE5IL4NC.cjs → scripts-24PIP2VO.cjs} +12 -12
- package/dist/{software-update-EJDKTFAP.cjs → software-update-47GDTKMI.cjs} +10 -10
- package/package.json +1 -1
- package/src/components/shared/roadmap/roadmap-grid.tsx +41 -8
- package/src/components/ui/status-badge.tsx +4 -2
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkIQTVKPRGcjs = require('./chunk-IQTVKPRG.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk2KLYMAHFcjs = require('./chunk-2KLYMAHF.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkFYHXMHY6cjs = require('./chunk-FYHXMHY6.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -24,7 +24,7 @@ var _chunkVUQNTCALcjs = require('./chunk-VUQNTCAL.cjs');
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkYPKAMHYAcjs = require('./chunk-YPKAMHYA.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
var _chunkRPC4P7GYcjs = require('./chunk-RPC4P7GY.cjs');
|
|
@@ -36,14 +36,14 @@ var _chunkCWA6J7KCcjs = require('./chunk-CWA6J7KC.cjs');
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var _chunkF73DM65Jcjs = require('./chunk-F73DM65J.cjs');
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
var
|
|
46
|
+
var _chunkQDW64E6Tcjs = require('./chunk-QDW64E6T.cjs');
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
var _chunkEWCFJLNUcjs = require('./chunk-EWCFJLNU.cjs');
|
|
@@ -57,7 +57,7 @@ var _chunkOJZBZH56cjs = require('./chunk-OJZBZH56.cjs');
|
|
|
57
57
|
var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
var
|
|
60
|
+
var _chunk3XAFK4WHcjs = require('./chunk-3XAFK4WH.cjs');
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
|
|
@@ -67,7 +67,7 @@ var _chunkZZPGSLMOcjs = require('./chunk-ZZPGSLMO.cjs');
|
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
var
|
|
70
|
+
var _chunkFYPVCCCVcjs = require('./chunk-FYPVCCCV.cjs');
|
|
71
71
|
|
|
72
72
|
|
|
73
73
|
|
|
@@ -76,7 +76,7 @@ var _chunkOZIPPOSJcjs = require('./chunk-OZIPPOSJ.cjs');
|
|
|
76
76
|
|
|
77
77
|
|
|
78
78
|
|
|
79
|
-
var
|
|
79
|
+
var _chunkUN6LC5PKcjs = require('./chunk-UN6LC5PK.cjs');
|
|
80
80
|
|
|
81
81
|
|
|
82
82
|
|
|
@@ -114,8 +114,8 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
114
114
|
var DEFAULT_ENDPOINT = "/api/releases";
|
|
115
115
|
var PRODUCT_RELEASES_PAGE_SIZE = 5;
|
|
116
116
|
var PAGER_ROW_CLASS = "flex w-full justify-center";
|
|
117
|
-
var DEFAULT_SEARCH_PARAM_KEY =
|
|
118
|
-
var DEFAULT_STATUS_PARAM_KEY =
|
|
117
|
+
var DEFAULT_SEARCH_PARAM_KEY = _chunkF73DM65Jcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
118
|
+
var DEFAULT_STATUS_PARAM_KEY = _chunkF73DM65Jcjs.DEV_SECTION_PARAM_KEYS.releaseStatus;
|
|
119
119
|
var DEFAULT_PAGE_PARAM_KEY = "page";
|
|
120
120
|
function ReleaseRow({
|
|
121
121
|
release,
|
|
@@ -124,17 +124,17 @@ function ReleaseRow({
|
|
|
124
124
|
}) {
|
|
125
125
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
126
126
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
127
|
-
const cta =
|
|
127
|
+
const cta = _chunkF73DM65Jcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _2 => _2.composeContentUrl]), {
|
|
128
128
|
type: "product_release",
|
|
129
129
|
slug: release.slug,
|
|
130
130
|
basePath,
|
|
131
131
|
platforms: release.product_release_platforms
|
|
132
132
|
});
|
|
133
|
-
const { target, rel } =
|
|
133
|
+
const { target, rel } = _chunkUN6LC5PKcjs.useEntityCardLink.call(void 0, { href: cta.href, targetPlatform: cta.targetPlatform });
|
|
134
134
|
const onClick = (e) => {
|
|
135
|
-
if (e.defaultPrevented ||
|
|
135
|
+
if (e.defaultPrevented || _chunkFYPVCCCVcjs.isModifierClick.call(void 0, e) || target === "_blank") return;
|
|
136
136
|
e.preventDefault();
|
|
137
|
-
|
|
137
|
+
_chunkQDW64E6Tcjs.executeNavigationImperative.call(void 0, {
|
|
138
138
|
runtime,
|
|
139
139
|
href: cta.href,
|
|
140
140
|
targetPlatform: cta.targetPlatform,
|
|
@@ -142,7 +142,7 @@ function ReleaseRow({
|
|
|
142
142
|
});
|
|
143
143
|
};
|
|
144
144
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
145
|
-
|
|
145
|
+
_chunkFYPVCCCVcjs.ProductReleaseCard,
|
|
146
146
|
{
|
|
147
147
|
size: "lg",
|
|
148
148
|
title: release.title,
|
|
@@ -158,7 +158,7 @@ function ProductReleasesView({
|
|
|
158
158
|
initialData,
|
|
159
159
|
itemsPerPage = PRODUCT_RELEASES_PAGE_SIZE,
|
|
160
160
|
basePath = "/releases",
|
|
161
|
-
buildCardProps =
|
|
161
|
+
buildCardProps = _chunkFYPVCCCVcjs.buildProductReleaseCardProps,
|
|
162
162
|
searchParamKey = DEFAULT_SEARCH_PARAM_KEY,
|
|
163
163
|
statusParamKey = DEFAULT_STATUS_PARAM_KEY,
|
|
164
164
|
pageParamKey = DEFAULT_PAGE_PARAM_KEY,
|
|
@@ -180,11 +180,11 @@ function ProductReleasesView({
|
|
|
180
180
|
isLoading: fetching,
|
|
181
181
|
error,
|
|
182
182
|
reload
|
|
183
|
-
} =
|
|
183
|
+
} = _chunk3XAFK4WHcjs.useSelfFetch.call(void 0, inScope ? null : `${endpoint}?${listParams.toString()}`, {
|
|
184
184
|
initialData
|
|
185
185
|
});
|
|
186
186
|
const isLoading = inScope || fetching;
|
|
187
|
-
|
|
187
|
+
_chunkIQTVKPRGcjs.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: _chunk6YZNUHXTcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
206
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYPKAMHYAcjs.LoadError, { message: "Failed to load releases.", onRetry: reload }) });
|
|
207
207
|
}
|
|
208
208
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk6YZNUHXTcjs.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
|
+
_chunkIQTVKPRGcjs.ListEmptyState,
|
|
210
210
|
{
|
|
211
211
|
isFiltered: hasActiveFilters,
|
|
212
212
|
filtered: {
|
|
@@ -227,13 +227,13 @@ function ProductReleasesView({
|
|
|
227
227
|
style: { visibility: isLoading || release ? "visible" : "hidden" },
|
|
228
228
|
children: !isLoading && release ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReleaseRow, { release, basePath, buildCardProps }) : (
|
|
229
229
|
// Read, or a hidden slot past the page's last release: the card draws its own skeleton.
|
|
230
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
230
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFYPVCCCVcjs.ProductReleaseCard, { loading: true, size: "lg", title: "", version: "", formattedDate: "" })
|
|
231
231
|
)
|
|
232
232
|
}
|
|
233
233
|
);
|
|
234
234
|
} }) }),
|
|
235
235
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-6 flex justify-center content-md:mt-8", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
236
|
-
|
|
236
|
+
_chunk2KLYMAHFcjs.UnifiedPagination,
|
|
237
237
|
{
|
|
238
238
|
loading: isLoading,
|
|
239
239
|
currentPage,
|
|
@@ -295,10 +295,10 @@ function MediaGalleryStrip({ items, className }) {
|
|
|
295
295
|
mediaItem.id || index
|
|
296
296
|
);
|
|
297
297
|
}
|
|
298
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: tileClass, "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
298
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: tileClass, "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.Video, { url: mediaItem.media_url, layout: "native" }) }, mediaItem.id || index);
|
|
299
299
|
}) }),
|
|
300
300
|
galleryImages.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
301
|
-
|
|
301
|
+
_chunkFYPVCCCVcjs.ImageGalleryModal,
|
|
302
302
|
{
|
|
303
303
|
images: galleryImages,
|
|
304
304
|
isOpen: galleryOpen,
|
|
@@ -319,7 +319,7 @@ function MediaGalleryStripSkeleton({
|
|
|
319
319
|
var _lucidereact = require('lucide-react');
|
|
320
320
|
|
|
321
321
|
|
|
322
|
-
var DefaultMarkdownRenderer =
|
|
322
|
+
var DefaultMarkdownRenderer = _chunkYPKAMHYAcjs.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";
|
|
@@ -368,14 +368,14 @@ function ReleaseDetailPage({
|
|
|
368
368
|
shell = true
|
|
369
369
|
}) {
|
|
370
370
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
371
|
-
const captions =
|
|
372
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
371
|
+
const captions = _chunkQDW64E6Tcjs.useCaptions.call(void 0, );
|
|
372
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYPKAMHYAcjs.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,
|
|
376
376
|
isLoading,
|
|
377
377
|
error
|
|
378
|
-
} =
|
|
378
|
+
} = _chunk3XAFK4WHcjs.useSelfFetch.call(void 0, slug ? `${endpoint}/${encodeURIComponent(slug)}` : null, {
|
|
379
379
|
initialData: seed
|
|
380
380
|
});
|
|
381
381
|
const showBackButton = backButton !== false;
|
|
@@ -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
|
+
_chunkYPKAMHYAcjs.EntityTagBadges,
|
|
479
479
|
{
|
|
480
480
|
tags: view.product_release_tags,
|
|
481
481
|
max: RELEASE_TAG_ROW_MAX,
|
|
@@ -484,7 +484,7 @@ function ReleaseDetailPage({
|
|
|
484
484
|
),
|
|
485
485
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: METADATA_GRID_CLASS, children: [
|
|
486
486
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
487
|
-
|
|
487
|
+
_chunkFYPVCCCVcjs.EntityMetadataValueCell,
|
|
488
488
|
{
|
|
489
489
|
value: releaseType,
|
|
490
490
|
label: RELEASE_TYPE_LABEL,
|
|
@@ -492,7 +492,7 @@ function ReleaseDetailPage({
|
|
|
492
492
|
}
|
|
493
493
|
),
|
|
494
494
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
495
|
-
|
|
495
|
+
_chunkFYPVCCCVcjs.EntityMetadataValueCell,
|
|
496
496
|
{
|
|
497
497
|
value: releaseStatus,
|
|
498
498
|
label: RELEASE_STATUS_LABEL,
|
|
@@ -500,16 +500,16 @@ function ReleaseDetailPage({
|
|
|
500
500
|
}
|
|
501
501
|
),
|
|
502
502
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
503
|
-
|
|
503
|
+
_chunkFYPVCCCVcjs.EntityMetadataValueCell,
|
|
504
504
|
{
|
|
505
|
-
value: releaseDate ?
|
|
505
|
+
value: releaseDate ? _chunkFYPVCCCVcjs.formatReleaseDate.call(void 0, releaseDate) : "",
|
|
506
506
|
label: RELEASE_DATE_LABEL,
|
|
507
507
|
className: METADATA_CELL_EDGE_CLASS,
|
|
508
508
|
uppercase: false
|
|
509
509
|
}
|
|
510
510
|
),
|
|
511
511
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
512
|
-
|
|
512
|
+
_chunkFYPVCCCVcjs.EntityMetadataAuthorCell,
|
|
513
513
|
{
|
|
514
514
|
author: _nullishCoalesce(author, () => ( { full_name: null, avatar_url: null })),
|
|
515
515
|
authorHref: _optionalChain([author, 'optionalAccess', _8 => _8.full_name]) ? authorHref : void 0
|
|
@@ -527,18 +527,18 @@ function ReleaseDetailPage({
|
|
|
527
527
|
highlightVideoThumbnail,
|
|
528
528
|
title: releaseTitle,
|
|
529
529
|
videoBites,
|
|
530
|
-
bitesTitle:
|
|
530
|
+
bitesTitle: _chunkUN6LC5PKcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
531
531
|
filterPublishedBites: true,
|
|
532
|
-
bitesProfile:
|
|
532
|
+
bitesProfile: _chunkUN6LC5PKcjs.toStripProfile.call(void 0, author),
|
|
533
533
|
bitesHref: typeof view.slug === "string" ? `/releases/${view.slug}` : void 0,
|
|
534
534
|
captionsUrl,
|
|
535
535
|
highlightCaptionsUrl
|
|
536
536
|
}
|
|
537
537
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
538
|
-
youtubeUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
539
|
-
!youtubeUrl && mainVideoUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
538
|
+
youtubeUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.Video, { kind: "youtube", url: youtubeUrl, title: `${releaseTitle} - Video`, layout: "native" }),
|
|
539
|
+
!youtubeUrl && mainVideoUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.Video, { url: mainVideoUrl, captionsUrl, layout: "centered" }),
|
|
540
540
|
highlightVideoUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
541
|
-
|
|
541
|
+
_chunkUN6LC5PKcjs.Video,
|
|
542
542
|
{
|
|
543
543
|
url: highlightVideoUrl,
|
|
544
544
|
poster: highlightVideoThumbnail,
|
|
@@ -548,7 +548,7 @@ function ReleaseDetailPage({
|
|
|
548
548
|
)
|
|
549
549
|
] }) }),
|
|
550
550
|
releaseContent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-primary text-h4", "data-loading-optional": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: releaseContent }) }),
|
|
551
|
-
hasBreakingChanges && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
551
|
+
hasBreakingChanges && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.Card, { className: "border-ods-error bg-ods-error/10", "data-loading-optional": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.CardContent, { className: "p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
552
552
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-6 w-6 text-ods-error" }),
|
|
553
553
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
554
554
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-error text-h3", children: "Breaking Changes" }),
|
|
@@ -556,7 +556,7 @@ function ReleaseDetailPage({
|
|
|
556
556
|
] })
|
|
557
557
|
] }) }) }),
|
|
558
558
|
loading ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
559
|
-
|
|
559
|
+
_chunkYPKAMHYAcjs.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
|
+
_chunkYPKAMHYAcjs.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
|
+
_chunkYPKAMHYAcjs.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
|
+
_chunkYPKAMHYAcjs.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, _chunkYPKAMHYAcjs.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
|
+
_chunkYPKAMHYAcjs.FadePreview,
|
|
623
623
|
{
|
|
624
624
|
hiddenCount: deliveryCount - 1,
|
|
625
625
|
collapsedHeight: DELIVERY_PREVIEW_HEIGHT,
|
|
@@ -631,7 +631,7 @@ function ReleaseDetailPage({
|
|
|
631
631
|
] }),
|
|
632
632
|
(_optionalChain([githubReleases, 'optionalAccess', _9 => _9.length]) || _optionalChain([knowledgeBaseLinks, 'optionalAccess', _10 => _10.length]) || migrationGuideUrl || documentationUrl) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", "data-loading-optional": true, children: [
|
|
633
633
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "tracking-[-0.28px] text-ods-text-secondary text-h5", children: "Related Links" }),
|
|
634
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
634
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.Card, { className: "border-ods-border bg-ods-card p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
635
635
|
githubReleases && githubReleases.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: githubReleases.map((ghRelease) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-1", children: [
|
|
636
636
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEWCFJLNUcjs.GithubClassicIcon, { className: "shrink-0", size: 24, color: "var(--color-text-secondary)" }),
|
|
637
637
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary text-h4", children: "Github Release" }),
|
|
@@ -699,7 +699,7 @@ function ReleaseDetailPage({
|
|
|
699
699
|
]
|
|
700
700
|
}
|
|
701
701
|
);
|
|
702
|
-
return renderShell(loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
702
|
+
return renderShell(loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDW64E6Tcjs.LoadingFallback, { label: "Loading the release", children: page }) : page);
|
|
703
703
|
}
|
|
704
704
|
|
|
705
705
|
// src/components/shared/roadmap/use-roadmap-voting.ts
|
|
@@ -722,7 +722,7 @@ function useRoadmapVoting(options = {}) {
|
|
|
722
722
|
const { getSignals } = _chunkCWA6J7KCcjs.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
|
-
const hydrated =
|
|
725
|
+
const hydrated = _chunkQDW64E6Tcjs.useIsHydrated.call(void 0, );
|
|
726
726
|
if (hydrated && loadedKey !== storageKey) {
|
|
727
727
|
setLoadedKey(storageKey);
|
|
728
728
|
setVotes(readStoredVotes(storageKey));
|
|
@@ -812,13 +812,16 @@ function roadmapGridClass(columns, showLeftMargin) {
|
|
|
812
812
|
return `grid grid-cols-1 gap-6 ${columns === 2 ? "content-md:grid-cols-2" : ""} ${showLeftMargin ? "content-md:ml-[120px]" : ""}`;
|
|
813
813
|
}
|
|
814
814
|
var ROADMAP_GRID_SKELETON_CARDS = 4;
|
|
815
|
+
var NO_VOTE = () => {
|
|
816
|
+
};
|
|
815
817
|
function RoadmapGridSkeleton({
|
|
816
818
|
region = true,
|
|
817
819
|
count = ROADMAP_GRID_SKELETON_CARDS,
|
|
818
820
|
showLeftMargin = true,
|
|
819
|
-
columns = 2
|
|
821
|
+
columns = 2,
|
|
822
|
+
votes = true
|
|
820
823
|
}) {
|
|
821
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGD6RPLHXcjs.LoadingRegion, { label: "Loading the roadmap", announce: region, className: roadmapGridClass(columns, showLeftMargin), children: Array.from({ length: count }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
824
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGD6RPLHXcjs.LoadingRegion, { label: "Loading the roadmap", announce: region, className: roadmapGridClass(columns, showLeftMargin), children: Array.from({ length: count }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFYPVCCCVcjs.RoadmapCard, { loading: true, onVote: votes ? NO_VOTE : void 0 }) }, i)) });
|
|
822
825
|
}
|
|
823
826
|
var DEFAULT_BUILD_REFRESH_URL = (taskId) => `/api/roadmap/${taskId}`;
|
|
824
827
|
var BACKLOG = "Backlog";
|
|
@@ -877,12 +880,12 @@ function RoadmapGridSingle({
|
|
|
877
880
|
// and scrolls.
|
|
878
881
|
// `data-loading-item`: how many items a quarter holds is read data (the loading-state gate measures it as a list).
|
|
879
882
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
880
|
-
|
|
883
|
+
_chunkFYPVCCCVcjs.RoadmapCard,
|
|
881
884
|
{
|
|
882
885
|
item,
|
|
883
|
-
id:
|
|
886
|
+
id: _chunkF73DM65Jcjs.devSectionAnchorId.call(void 0, "roadmap", item.id),
|
|
884
887
|
userVote: getVote(item.id),
|
|
885
|
-
onVote: (voteType) => onVote(item.id, voteType),
|
|
888
|
+
onVote: onVote ? (voteType) => onVote(item.id, voteType) : void 0,
|
|
886
889
|
isVoting: votingTasks.has(item.id)
|
|
887
890
|
}
|
|
888
891
|
) }, item.id)
|
|
@@ -902,13 +905,23 @@ function RoadmapQuarterHeadSkeleton() {
|
|
|
902
905
|
function RoadmapGridQuarterSkeleton({
|
|
903
906
|
showLeftMargin = true,
|
|
904
907
|
columns = 2,
|
|
905
|
-
count
|
|
908
|
+
count,
|
|
909
|
+
votes = true
|
|
906
910
|
}) {
|
|
907
911
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: QUARTER_LIST_CLASS, "aria-hidden": true, children: [
|
|
908
912
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.LoadingItems, { count: ROADMAP_SKELETON_CLOSED_QUARTERS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapQuarterHeadSkeleton, {}) }) }),
|
|
909
913
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", "data-loading-item": true, children: [
|
|
910
914
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapQuarterHeadSkeleton, {}),
|
|
911
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: QUARTER_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: QUARTER_CONTENT_INNER_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
915
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: QUARTER_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: QUARTER_CONTENT_INNER_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
916
|
+
RoadmapGridSkeleton,
|
|
917
|
+
{
|
|
918
|
+
region: false,
|
|
919
|
+
count,
|
|
920
|
+
showLeftMargin,
|
|
921
|
+
columns,
|
|
922
|
+
votes
|
|
923
|
+
}
|
|
924
|
+
) }) })
|
|
912
925
|
] })
|
|
913
926
|
] });
|
|
914
927
|
}
|
|
@@ -919,6 +932,7 @@ function RoadmapGrid({
|
|
|
919
932
|
columns = 2,
|
|
920
933
|
buildRefreshUrl = DEFAULT_BUILD_REFRESH_URL,
|
|
921
934
|
votingOptions,
|
|
935
|
+
votes = true,
|
|
922
936
|
groupByQuarter = false,
|
|
923
937
|
hasActiveFilters = false,
|
|
924
938
|
quartersToKeepClosed = 2,
|
|
@@ -996,11 +1010,28 @@ function RoadmapGrid({
|
|
|
996
1010
|
);
|
|
997
1011
|
}, [hasActiveFilters, sortedQuartersKey, isInitialized, quartersToKeepClosed]);
|
|
998
1012
|
if (inScope || isLoading) {
|
|
999
|
-
return groupByQuarter ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1013
|
+
return groupByQuarter ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1014
|
+
RoadmapGridQuarterSkeleton,
|
|
1015
|
+
{
|
|
1016
|
+
showLeftMargin,
|
|
1017
|
+
columns,
|
|
1018
|
+
count: skeletonCount,
|
|
1019
|
+
votes
|
|
1020
|
+
}
|
|
1021
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1022
|
+
RoadmapGridSkeleton,
|
|
1023
|
+
{
|
|
1024
|
+
region: !inScope,
|
|
1025
|
+
count: skeletonCount,
|
|
1026
|
+
showLeftMargin,
|
|
1027
|
+
columns,
|
|
1028
|
+
votes
|
|
1029
|
+
}
|
|
1030
|
+
);
|
|
1000
1031
|
}
|
|
1001
1032
|
if (items.length === 0) {
|
|
1002
1033
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1003
|
-
|
|
1034
|
+
_chunk2KLYMAHFcjs.EmptyState,
|
|
1004
1035
|
{
|
|
1005
1036
|
type: "generic",
|
|
1006
1037
|
title: "No roadmap items",
|
|
@@ -1016,13 +1047,13 @@ function RoadmapGrid({
|
|
|
1016
1047
|
showLeftMargin,
|
|
1017
1048
|
columns,
|
|
1018
1049
|
getVote,
|
|
1019
|
-
onVote: handleVote,
|
|
1050
|
+
onVote: votes ? handleVote : void 0,
|
|
1020
1051
|
votingTasks
|
|
1021
1052
|
}
|
|
1022
1053
|
);
|
|
1023
1054
|
}
|
|
1024
1055
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1025
|
-
|
|
1056
|
+
_chunkYPKAMHYAcjs.Accordion,
|
|
1026
1057
|
{
|
|
1027
1058
|
type: "multiple",
|
|
1028
1059
|
value: expandedQuarters,
|
|
@@ -1032,14 +1063,14 @@ function RoadmapGrid({
|
|
|
1032
1063
|
const itemCount = _optionalChain([itemsByQuarter, 'access', _19 => _19[quarter], 'optionalAccess', _20 => _20.length]) || 0;
|
|
1033
1064
|
const isExpanded = expandedQuarters.includes(quarter);
|
|
1034
1065
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1035
|
-
|
|
1066
|
+
_chunkYPKAMHYAcjs.AccordionItem,
|
|
1036
1067
|
{
|
|
1037
1068
|
value: quarter,
|
|
1038
1069
|
id: `quarter-${quarter.replace(/\s+/g, "-").toLowerCase()}`,
|
|
1039
1070
|
className: "border-0",
|
|
1040
1071
|
"data-loading-item": true,
|
|
1041
1072
|
children: [
|
|
1042
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1073
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYPKAMHYAcjs.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: [
|
|
1043
1074
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1044
1075
|
"h3",
|
|
1045
1076
|
{
|
|
@@ -1069,14 +1100,14 @@ function RoadmapGrid({
|
|
|
1069
1100
|
}
|
|
1070
1101
|
)
|
|
1071
1102
|
] }) }),
|
|
1072
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1103
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYPKAMHYAcjs.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,
|
|
1073
1104
|
RoadmapGridSingle,
|
|
1074
1105
|
{
|
|
1075
1106
|
items: itemsByQuarter[quarter],
|
|
1076
1107
|
showLeftMargin,
|
|
1077
1108
|
columns,
|
|
1078
1109
|
getVote,
|
|
1079
|
-
onVote: handleVote,
|
|
1110
|
+
onVote: votes ? handleVote : void 0,
|
|
1080
1111
|
votingTasks
|
|
1081
1112
|
}
|
|
1082
1113
|
) })
|
|
@@ -1095,8 +1126,8 @@ function RoadmapGrid({
|
|
|
1095
1126
|
var DEFAULT_ENDPOINT3 = "/api/roadmap";
|
|
1096
1127
|
var NO_ITEMS = [];
|
|
1097
1128
|
var SYNCED_LIST_CLASS = "flex w-full flex-col gap-[var(--spacing-system-lf)]";
|
|
1098
|
-
var DEFAULT_SEARCH_PARAM_KEY2 =
|
|
1099
|
-
var DEFAULT_STATUS_PARAM_KEY2 =
|
|
1129
|
+
var DEFAULT_SEARCH_PARAM_KEY2 = _chunkF73DM65Jcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1130
|
+
var DEFAULT_STATUS_PARAM_KEY2 = _chunkF73DM65Jcjs.DEV_SECTION_PARAM_KEYS.status;
|
|
1100
1131
|
function RoadmapView({
|
|
1101
1132
|
endpoint = DEFAULT_ENDPOINT3,
|
|
1102
1133
|
initialItems,
|
|
@@ -1115,23 +1146,23 @@ function RoadmapView({
|
|
|
1115
1146
|
const qs = listParams.toString();
|
|
1116
1147
|
const url = qs ? `${endpoint}?${qs}` : endpoint;
|
|
1117
1148
|
const initialData = _react.useMemo.call(void 0, () => initialItems ? { items: initialItems } : void 0, [initialItems]);
|
|
1118
|
-
const { data, setData, isLoading, error, reload } =
|
|
1149
|
+
const { data, setData, isLoading, error, reload } = _chunk3XAFK4WHcjs.useSelfFetch.call(void 0, url, {
|
|
1119
1150
|
initialData
|
|
1120
1151
|
});
|
|
1121
1152
|
const items = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _21 => _21.items]), () => ( []));
|
|
1122
1153
|
_chunkCWA6J7KCcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX });
|
|
1123
|
-
const syncInPage =
|
|
1154
|
+
const syncInPage = _chunkIQTVKPRGcjs.usePageDataSync.call(void 0, _optionalChain([data, 'optionalAccess', _22 => _22.sync]), isLoading && !data);
|
|
1124
1155
|
if (error) {
|
|
1125
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1156
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYPKAMHYAcjs.LoadError, { message: "Failed to load roadmap.", onRetry: reload });
|
|
1126
1157
|
}
|
|
1127
1158
|
if (isLoading && !data) {
|
|
1128
1159
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1129
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1160
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYPKAMHYAcjs.DataSyncLine, { loading: true }),
|
|
1130
1161
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapGrid, { items: NO_ITEMS, isLoading: true, groupByQuarter: true, showLeftMargin })
|
|
1131
1162
|
] });
|
|
1132
1163
|
}
|
|
1133
1164
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1134
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1165
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYPKAMHYAcjs.DataSyncLine, { sync: _optionalChain([data, 'optionalAccess', _23 => _23.sync]) }),
|
|
1135
1166
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1136
1167
|
RoadmapGrid,
|
|
1137
1168
|
{
|
|
@@ -1151,11 +1182,11 @@ function RoadmapView({
|
|
|
1151
1182
|
|
|
1152
1183
|
// src/components/shared/delivery/delivery-table.tsx
|
|
1153
1184
|
|
|
1154
|
-
var TABLE_FRAME_CLASS = `w-full ${
|
|
1185
|
+
var TABLE_FRAME_CLASS = `w-full ${_chunkUN6LC5PKcjs.CONTENT_CARD_SKELETON_FRAME_CLASS}`;
|
|
1155
1186
|
var ROW_SEPARATOR_CLASS = "border-b border-ods-border last:border-b-0";
|
|
1156
1187
|
var DELIVERY_TABLE_SKELETON_ROWS = 5;
|
|
1157
1188
|
function DeliveryTableSkeleton() {
|
|
1158
|
-
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, _chunk6YZNUHXTcjs.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, _chunk6YZNUHXTcjs.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, _chunkIQTVKPRGcjs.DeliveryRow, { loading: true }) }) }) }) });
|
|
1159
1190
|
}
|
|
1160
1191
|
function DeliveryTable({ items, isLoading = false }) {
|
|
1161
1192
|
if (_chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || isLoading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliveryTableSkeleton, {});
|
|
@@ -1168,7 +1199,7 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1168
1199
|
// → `#delivery-<external_id>`; `useScrollToHash` in
|
|
1169
1200
|
// `delivery-lists.tsx` finds the row by id and scrolls. The
|
|
1170
1201
|
// outer wrapper here ONLY exists for the row separators.
|
|
1171
|
-
/* @__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, _chunkIQTVKPRGcjs.DeliveryRow, { item, id: _chunkF73DM65Jcjs.devSectionAnchorId.call(void 0, "delivery", item.id) }) }, item.id)
|
|
1172
1203
|
)) }) });
|
|
1173
1204
|
}
|
|
1174
1205
|
|
|
@@ -1177,8 +1208,8 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1177
1208
|
|
|
1178
1209
|
var DEFAULT_COMPLETED_ENDPOINT = "/api/delivery/completed";
|
|
1179
1210
|
var DEFAULT_IN_PROGRESS_ENDPOINT = "/api/delivery/in-progress";
|
|
1180
|
-
var DEFAULT_SEARCH_PARAM_KEY3 =
|
|
1181
|
-
var DEFAULT_TASK_TYPE_PARAM_KEY =
|
|
1211
|
+
var DEFAULT_SEARCH_PARAM_KEY3 = _chunkF73DM65Jcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1212
|
+
var DEFAULT_TASK_TYPE_PARAM_KEY = _chunkF73DM65Jcjs.DEV_SECTION_PARAM_KEYS.deliveryTaskType;
|
|
1182
1213
|
function DeliveryLists({
|
|
1183
1214
|
completedApiEndpoint = DEFAULT_COMPLETED_ENDPOINT,
|
|
1184
1215
|
inProgressApiEndpoint = DEFAULT_IN_PROGRESS_ENDPOINT,
|
|
@@ -1253,18 +1284,18 @@ function DeliveryLists({
|
|
|
1253
1284
|
const filteredCompleted = _optionalChain([data, 'optionalAccess', _24 => _24.completed]) || [];
|
|
1254
1285
|
const filteredInProgress = _optionalChain([data, 'optionalAccess', _25 => _25.inProgress]) || [];
|
|
1255
1286
|
_chunkCWA6J7KCcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX });
|
|
1256
|
-
const syncInPage =
|
|
1287
|
+
const syncInPage = _chunkIQTVKPRGcjs.usePageDataSync.call(void 0, sync, isLoading && !data);
|
|
1257
1288
|
const showCompleted = true;
|
|
1258
1289
|
const showInProgress = true;
|
|
1259
1290
|
const hasActiveFilters = searchQuery !== "" || taskTypeFilter !== "all";
|
|
1260
1291
|
const hasResults = showCompleted && filteredCompleted.length > 0 || showInProgress && filteredInProgress.length > 0;
|
|
1261
1292
|
if (error) {
|
|
1262
|
-
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, _chunkYPKAMHYAcjs.LoadError, { message: error, onRetry: () => window.location.reload() }) });
|
|
1263
1294
|
}
|
|
1264
1295
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[40px]", children: [
|
|
1265
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1296
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYPKAMHYAcjs.DataSyncLine, { sync, loading: isLoading && !data }),
|
|
1266
1297
|
!isLoading && !hasResults && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1267
|
-
|
|
1298
|
+
_chunkIQTVKPRGcjs.ListEmptyState,
|
|
1268
1299
|
{
|
|
1269
1300
|
isFiltered: hasActiveFilters,
|
|
1270
1301
|
filtered: {
|
|
@@ -1489,7 +1520,7 @@ function legalDocumentStampLabel(doc) {
|
|
|
1489
1520
|
}
|
|
1490
1521
|
var LEGAL_DOCUMENT_SKELETON_SECTIONS = 3;
|
|
1491
1522
|
function LegalDocumentSkeleton({ sections = LEGAL_DOCUMENT_SKELETON_SECTIONS }) {
|
|
1492
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGD6RPLHXcjs.LoadingRegion, { label: "Loading the document", className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1523
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGD6RPLHXcjs.LoadingRegion, { label: "Loading the document", className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDW64E6Tcjs.MarkdownEngine, { loading: true, content: "", skeletonTitle: true, skeletonSections: sections, textSize: "article" }) });
|
|
1493
1524
|
}
|
|
1494
1525
|
function LegalDocumentPage({
|
|
1495
1526
|
docType,
|
|
@@ -1501,7 +1532,7 @@ function LegalDocumentPage({
|
|
|
1501
1532
|
emptyStateMessage: emptyStateMessageProp,
|
|
1502
1533
|
initialData = null,
|
|
1503
1534
|
apiEndpoint,
|
|
1504
|
-
MarkdownRenderer =
|
|
1535
|
+
MarkdownRenderer = _chunkYPKAMHYAcjs.RichMarkdownRenderer,
|
|
1505
1536
|
documentsEndpoint,
|
|
1506
1537
|
backButton,
|
|
1507
1538
|
faq,
|
|
@@ -1532,7 +1563,7 @@ function LegalDocumentPage({
|
|
|
1532
1563
|
titleSize: "h1",
|
|
1533
1564
|
titleWrap: true,
|
|
1534
1565
|
children: [
|
|
1535
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1566
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYPKAMHYAcjs.DataSyncLine, { sync: data ? { source: "github", syncedAt: data.lastSynced } : null, loading: isLoading }),
|
|
1536
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: _chunk6YZNUHXTcjs.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: [
|
|
1537
1568
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rounded-lg border border-ods-error bg-ods-error-secondary p-6", children: [
|
|
1538
1569
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "mb-2 text-ods-error", children: errorTitle }),
|
|
@@ -1552,11 +1583,11 @@ function LegalDocumentPage({
|
|
|
1552
1583
|
"for more information."
|
|
1553
1584
|
] })
|
|
1554
1585
|
] }) }) }) }) }),
|
|
1555
|
-
faqSlot && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1586
|
+
faqSlot && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFYHXMHY6cjs.FaqSection, { ..._chunkFYHXMHY6cjs.pageFaqProps.call(void 0, faqSlot) })
|
|
1556
1587
|
]
|
|
1557
1588
|
}
|
|
1558
1589
|
);
|
|
1559
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1590
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYPKAMHYAcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
1560
1591
|
}
|
|
1561
1592
|
|
|
1562
1593
|
|