@flamingo-stack/openframe-frontend-core 0.0.793 → 0.0.794
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-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-YDH5OVRQ.cjs → chunk-UAZTXYPC.cjs} +81 -79
- 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.map +1 -1
- package/dist/components/shared/roadmap/roadmap-grid.js +3 -1
- 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 +5 -1
- 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,15 @@ 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
821
|
columns = 2
|
|
820
822
|
}) {
|
|
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,
|
|
823
|
+
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: NO_VOTE }) }, i)) });
|
|
822
824
|
}
|
|
823
825
|
var DEFAULT_BUILD_REFRESH_URL = (taskId) => `/api/roadmap/${taskId}`;
|
|
824
826
|
var BACKLOG = "Backlog";
|
|
@@ -877,10 +879,10 @@ function RoadmapGridSingle({
|
|
|
877
879
|
// and scrolls.
|
|
878
880
|
// `data-loading-item`: how many items a quarter holds is read data (the loading-state gate measures it as a list).
|
|
879
881
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
880
|
-
|
|
882
|
+
_chunkFYPVCCCVcjs.RoadmapCard,
|
|
881
883
|
{
|
|
882
884
|
item,
|
|
883
|
-
id:
|
|
885
|
+
id: _chunkF73DM65Jcjs.devSectionAnchorId.call(void 0, "roadmap", item.id),
|
|
884
886
|
userVote: getVote(item.id),
|
|
885
887
|
onVote: (voteType) => onVote(item.id, voteType),
|
|
886
888
|
isVoting: votingTasks.has(item.id)
|
|
@@ -1000,7 +1002,7 @@ function RoadmapGrid({
|
|
|
1000
1002
|
}
|
|
1001
1003
|
if (items.length === 0) {
|
|
1002
1004
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1003
|
-
|
|
1005
|
+
_chunk2KLYMAHFcjs.EmptyState,
|
|
1004
1006
|
{
|
|
1005
1007
|
type: "generic",
|
|
1006
1008
|
title: "No roadmap items",
|
|
@@ -1022,7 +1024,7 @@ function RoadmapGrid({
|
|
|
1022
1024
|
);
|
|
1023
1025
|
}
|
|
1024
1026
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1025
|
-
|
|
1027
|
+
_chunkYPKAMHYAcjs.Accordion,
|
|
1026
1028
|
{
|
|
1027
1029
|
type: "multiple",
|
|
1028
1030
|
value: expandedQuarters,
|
|
@@ -1032,14 +1034,14 @@ function RoadmapGrid({
|
|
|
1032
1034
|
const itemCount = _optionalChain([itemsByQuarter, 'access', _19 => _19[quarter], 'optionalAccess', _20 => _20.length]) || 0;
|
|
1033
1035
|
const isExpanded = expandedQuarters.includes(quarter);
|
|
1034
1036
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1035
|
-
|
|
1037
|
+
_chunkYPKAMHYAcjs.AccordionItem,
|
|
1036
1038
|
{
|
|
1037
1039
|
value: quarter,
|
|
1038
1040
|
id: `quarter-${quarter.replace(/\s+/g, "-").toLowerCase()}`,
|
|
1039
1041
|
className: "border-0",
|
|
1040
1042
|
"data-loading-item": true,
|
|
1041
1043
|
children: [
|
|
1042
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1044
|
+
/* @__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
1045
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1044
1046
|
"h3",
|
|
1045
1047
|
{
|
|
@@ -1069,7 +1071,7 @@ function RoadmapGrid({
|
|
|
1069
1071
|
}
|
|
1070
1072
|
)
|
|
1071
1073
|
] }) }),
|
|
1072
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1074
|
+
/* @__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
1075
|
RoadmapGridSingle,
|
|
1074
1076
|
{
|
|
1075
1077
|
items: itemsByQuarter[quarter],
|
|
@@ -1095,8 +1097,8 @@ function RoadmapGrid({
|
|
|
1095
1097
|
var DEFAULT_ENDPOINT3 = "/api/roadmap";
|
|
1096
1098
|
var NO_ITEMS = [];
|
|
1097
1099
|
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 =
|
|
1100
|
+
var DEFAULT_SEARCH_PARAM_KEY2 = _chunkF73DM65Jcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1101
|
+
var DEFAULT_STATUS_PARAM_KEY2 = _chunkF73DM65Jcjs.DEV_SECTION_PARAM_KEYS.status;
|
|
1100
1102
|
function RoadmapView({
|
|
1101
1103
|
endpoint = DEFAULT_ENDPOINT3,
|
|
1102
1104
|
initialItems,
|
|
@@ -1115,23 +1117,23 @@ function RoadmapView({
|
|
|
1115
1117
|
const qs = listParams.toString();
|
|
1116
1118
|
const url = qs ? `${endpoint}?${qs}` : endpoint;
|
|
1117
1119
|
const initialData = _react.useMemo.call(void 0, () => initialItems ? { items: initialItems } : void 0, [initialItems]);
|
|
1118
|
-
const { data, setData, isLoading, error, reload } =
|
|
1120
|
+
const { data, setData, isLoading, error, reload } = _chunk3XAFK4WHcjs.useSelfFetch.call(void 0, url, {
|
|
1119
1121
|
initialData
|
|
1120
1122
|
});
|
|
1121
1123
|
const items = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _21 => _21.items]), () => ( []));
|
|
1122
1124
|
_chunkCWA6J7KCcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX });
|
|
1123
|
-
const syncInPage =
|
|
1125
|
+
const syncInPage = _chunkIQTVKPRGcjs.usePageDataSync.call(void 0, _optionalChain([data, 'optionalAccess', _22 => _22.sync]), isLoading && !data);
|
|
1124
1126
|
if (error) {
|
|
1125
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1127
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYPKAMHYAcjs.LoadError, { message: "Failed to load roadmap.", onRetry: reload });
|
|
1126
1128
|
}
|
|
1127
1129
|
if (isLoading && !data) {
|
|
1128
1130
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1129
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1131
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYPKAMHYAcjs.DataSyncLine, { loading: true }),
|
|
1130
1132
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapGrid, { items: NO_ITEMS, isLoading: true, groupByQuarter: true, showLeftMargin })
|
|
1131
1133
|
] });
|
|
1132
1134
|
}
|
|
1133
1135
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1134
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1136
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYPKAMHYAcjs.DataSyncLine, { sync: _optionalChain([data, 'optionalAccess', _23 => _23.sync]) }),
|
|
1135
1137
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1136
1138
|
RoadmapGrid,
|
|
1137
1139
|
{
|
|
@@ -1151,11 +1153,11 @@ function RoadmapView({
|
|
|
1151
1153
|
|
|
1152
1154
|
// src/components/shared/delivery/delivery-table.tsx
|
|
1153
1155
|
|
|
1154
|
-
var TABLE_FRAME_CLASS = `w-full ${
|
|
1156
|
+
var TABLE_FRAME_CLASS = `w-full ${_chunkUN6LC5PKcjs.CONTENT_CARD_SKELETON_FRAME_CLASS}`;
|
|
1155
1157
|
var ROW_SEPARATOR_CLASS = "border-b border-ods-border last:border-b-0";
|
|
1156
1158
|
var DELIVERY_TABLE_SKELETON_ROWS = 5;
|
|
1157
1159
|
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,
|
|
1160
|
+
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
1161
|
}
|
|
1160
1162
|
function DeliveryTable({ items, isLoading = false }) {
|
|
1161
1163
|
if (_chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || isLoading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliveryTableSkeleton, {});
|
|
@@ -1168,7 +1170,7 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1168
1170
|
// → `#delivery-<external_id>`; `useScrollToHash` in
|
|
1169
1171
|
// `delivery-lists.tsx` finds the row by id and scrolls. The
|
|
1170
1172
|
// 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,
|
|
1173
|
+
/* @__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
1174
|
)) }) });
|
|
1173
1175
|
}
|
|
1174
1176
|
|
|
@@ -1177,8 +1179,8 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1177
1179
|
|
|
1178
1180
|
var DEFAULT_COMPLETED_ENDPOINT = "/api/delivery/completed";
|
|
1179
1181
|
var DEFAULT_IN_PROGRESS_ENDPOINT = "/api/delivery/in-progress";
|
|
1180
|
-
var DEFAULT_SEARCH_PARAM_KEY3 =
|
|
1181
|
-
var DEFAULT_TASK_TYPE_PARAM_KEY =
|
|
1182
|
+
var DEFAULT_SEARCH_PARAM_KEY3 = _chunkF73DM65Jcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1183
|
+
var DEFAULT_TASK_TYPE_PARAM_KEY = _chunkF73DM65Jcjs.DEV_SECTION_PARAM_KEYS.deliveryTaskType;
|
|
1182
1184
|
function DeliveryLists({
|
|
1183
1185
|
completedApiEndpoint = DEFAULT_COMPLETED_ENDPOINT,
|
|
1184
1186
|
inProgressApiEndpoint = DEFAULT_IN_PROGRESS_ENDPOINT,
|
|
@@ -1253,18 +1255,18 @@ function DeliveryLists({
|
|
|
1253
1255
|
const filteredCompleted = _optionalChain([data, 'optionalAccess', _24 => _24.completed]) || [];
|
|
1254
1256
|
const filteredInProgress = _optionalChain([data, 'optionalAccess', _25 => _25.inProgress]) || [];
|
|
1255
1257
|
_chunkCWA6J7KCcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX });
|
|
1256
|
-
const syncInPage =
|
|
1258
|
+
const syncInPage = _chunkIQTVKPRGcjs.usePageDataSync.call(void 0, sync, isLoading && !data);
|
|
1257
1259
|
const showCompleted = true;
|
|
1258
1260
|
const showInProgress = true;
|
|
1259
1261
|
const hasActiveFilters = searchQuery !== "" || taskTypeFilter !== "all";
|
|
1260
1262
|
const hasResults = showCompleted && filteredCompleted.length > 0 || showInProgress && filteredInProgress.length > 0;
|
|
1261
1263
|
if (error) {
|
|
1262
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1264
|
+
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
1265
|
}
|
|
1264
1266
|
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,
|
|
1267
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYPKAMHYAcjs.DataSyncLine, { sync, loading: isLoading && !data }),
|
|
1266
1268
|
!isLoading && !hasResults && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1267
|
-
|
|
1269
|
+
_chunkIQTVKPRGcjs.ListEmptyState,
|
|
1268
1270
|
{
|
|
1269
1271
|
isFiltered: hasActiveFilters,
|
|
1270
1272
|
filtered: {
|
|
@@ -1489,7 +1491,7 @@ function legalDocumentStampLabel(doc) {
|
|
|
1489
1491
|
}
|
|
1490
1492
|
var LEGAL_DOCUMENT_SKELETON_SECTIONS = 3;
|
|
1491
1493
|
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,
|
|
1494
|
+
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
1495
|
}
|
|
1494
1496
|
function LegalDocumentPage({
|
|
1495
1497
|
docType,
|
|
@@ -1501,7 +1503,7 @@ function LegalDocumentPage({
|
|
|
1501
1503
|
emptyStateMessage: emptyStateMessageProp,
|
|
1502
1504
|
initialData = null,
|
|
1503
1505
|
apiEndpoint,
|
|
1504
|
-
MarkdownRenderer =
|
|
1506
|
+
MarkdownRenderer = _chunkYPKAMHYAcjs.RichMarkdownRenderer,
|
|
1505
1507
|
documentsEndpoint,
|
|
1506
1508
|
backButton,
|
|
1507
1509
|
faq,
|
|
@@ -1532,7 +1534,7 @@ function LegalDocumentPage({
|
|
|
1532
1534
|
titleSize: "h1",
|
|
1533
1535
|
titleWrap: true,
|
|
1534
1536
|
children: [
|
|
1535
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1537
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYPKAMHYAcjs.DataSyncLine, { sync: data ? { source: "github", syncedAt: data.lastSynced } : null, loading: isLoading }),
|
|
1536
1538
|
/* @__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
1539
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rounded-lg border border-ods-error bg-ods-error-secondary p-6", children: [
|
|
1538
1540
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "mb-2 text-ods-error", children: errorTitle }),
|
|
@@ -1552,11 +1554,11 @@ function LegalDocumentPage({
|
|
|
1552
1554
|
"for more information."
|
|
1553
1555
|
] })
|
|
1554
1556
|
] }) }) }) }) }),
|
|
1555
|
-
faqSlot && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1557
|
+
faqSlot && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFYHXMHY6cjs.FaqSection, { ..._chunkFYHXMHY6cjs.pageFaqProps.call(void 0, faqSlot) })
|
|
1556
1558
|
]
|
|
1557
1559
|
}
|
|
1558
1560
|
);
|
|
1559
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1561
|
+
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
1562
|
}
|
|
1561
1563
|
|
|
1562
1564
|
|
|
@@ -809,7 +809,7 @@ function StatusBadgeSkeleton({ variant, className }) {
|
|
|
809
809
|
as: "span",
|
|
810
810
|
className: _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
811
811
|
statusBadgeVariants({ variant, colorScheme: null }),
|
|
812
|
-
"box-content h-[1lh] w-12 border-transparent",
|
|
812
|
+
"box-content h-[1lh] w-12 border-transparent align-top",
|
|
813
813
|
className
|
|
814
814
|
)
|
|
815
815
|
}
|