@flamingo-stack/openframe-frontend-core 0.0.798 → 0.0.800
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-TJQGKIXB.cjs → chunk-3C6JR5Z5.cjs} +32 -32
- package/dist/{chunk-C2UZWRU5.cjs → chunk-5LTKE6D3.cjs} +16 -16
- package/dist/{chunk-FO3N6HDS.cjs → chunk-5PDOKPBF.cjs} +13 -13
- package/dist/{chunk-BWTCULUN.cjs → chunk-CDLOQCJC.cjs} +4 -4
- package/dist/{chunk-2M6HS23A.cjs → chunk-CM2UGR4I.cjs} +30 -30
- package/dist/{chunk-NK2FSEWD.cjs → chunk-DUSCG2EO.cjs} +4 -4
- package/dist/{chunk-FIKIPO4F.cjs → chunk-FAUVDMH4.cjs} +1 -1
- package/dist/{chunk-VUHPWSAE.cjs → chunk-FCT7VKWG.cjs} +25 -25
- package/dist/{chunk-SDV335EO.cjs → chunk-FFRFKWTZ.cjs} +4 -4
- package/dist/{chunk-XJD7IZR2.cjs → chunk-FS4TVAE7.cjs} +48 -48
- package/dist/{chunk-5IU64YEA.cjs → chunk-IX2D26OR.cjs} +39 -39
- package/dist/{chunk-ZXRAYCNB.cjs → chunk-KH5DRO4V.cjs} +3 -3
- package/dist/{chunk-AVAE5B2A.cjs → chunk-KVGWOJCX.cjs} +2 -2
- package/dist/{chunk-6YCUP6JJ.cjs → chunk-LTOSJI6B.cjs} +14 -14
- package/dist/{chunk-ND7ECICK.cjs → chunk-OEEFUB25.cjs} +70 -45
- package/dist/{chunk-EYE5FLHZ.cjs → chunk-OGUBSDU5.cjs} +11 -11
- package/dist/{chunk-6F2UHDCB.cjs → chunk-OUKKLSME.cjs} +3 -3
- package/dist/{chunk-W25OB2R6.cjs → chunk-PQNRSUQ6.cjs} +11 -11
- package/dist/{chunk-W5ZQDEDT.cjs → chunk-PZVBTLLQ.cjs} +147 -131
- package/dist/{chunk-PTQVGWJE.cjs → chunk-S7CBD6KF.cjs} +61 -61
- package/dist/{chunk-O6KQ64RI.cjs → chunk-UYGXJ5SQ.cjs} +2 -2
- package/dist/{chunk-WUBTAN27.cjs → chunk-WWWCFNKI.cjs} +68 -68
- package/dist/{chunk-KFDAL6NA.cjs → chunk-XAJPXPQ6.cjs} +2 -2
- package/dist/{chunk-ZOK4OWMJ.cjs → chunk-Y5XHMEBB.cjs} +2 -2
- package/dist/{chunk-T5OCU3EL.cjs → chunk-ZPVFFPQM.cjs} +4 -4
- package/dist/{cloud-tenants-XGL3DYSG.cjs → cloud-tenants-S3BDIJHM.cjs} +6 -6
- package/dist/components/case-studies/index.cjs +20 -20
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/contact/index.cjs +7 -7
- package/dist/components/docs/index.cjs +10 -10
- package/dist/components/embeds/index.cjs +7 -7
- package/dist/components/faq/index.cjs +8 -8
- package/dist/components/features/index.cjs +6 -6
- package/dist/components/help-center-pages/index.cjs +82 -82
- package/dist/components/index.cjs +52 -52
- package/dist/components/layout/page-heading.js +1 -1
- package/dist/components/loading/loading-fallback.d.ts +27 -3
- package/dist/components/loading/loading-fallback.d.ts.map +1 -1
- package/dist/components/loading/loading-fallback.js +17 -9
- package/dist/components/meeting-scheduler/index.cjs +38 -38
- package/dist/components/navigation/index.cjs +9 -9
- package/dist/components/onboarding-guides/index.cjs +9 -9
- package/dist/components/product-demo/index.cjs +15 -15
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/tickets/index.cjs +13 -13
- package/dist/components/ui/fade-preview.d.ts.map +1 -1
- package/dist/components/ui/fade-preview.js +9 -2
- package/dist/components/ui/index.cjs +6 -6
- package/dist/components/ui/index.d.ts +1 -1
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +9 -1
- package/dist/components/ui/markdown-editor.d.ts.map +1 -1
- package/dist/components/ui/trendline.d.ts +1 -1
- package/dist/components/ui/trendline.d.ts.map +1 -1
- package/dist/components/ui/trendline.js +11 -2
- package/dist/{devices-U2NQYDI7.cjs → devices-C6OOVBJK.cjs} +7 -7
- package/dist/{embeddable-chat-MPJLN4C6.cjs → embeddable-chat-2EBDLEVA.cjs} +62 -62
- package/dist/index.cjs +10 -10
- package/dist/{knowledge-BUY6TSK6.cjs → knowledge-YA5SFLQP.cjs} +7 -7
- package/dist/loading-standard/engine.d.mts +22 -4
- package/dist/loading-standard/engine.d.mts.map +1 -1
- package/dist/loading-standard/rule-examples.d.mts.map +1 -1
- package/dist/{logs-FUPQ7XYE.cjs → logs-LQX2CNVB.cjs} +14 -14
- package/dist/{policies-NASADYBK.cjs → policies-LWAUO6NR.cjs} +10 -10
- package/dist/{scripts-BGLTDQKV.cjs → scripts-W46RQ64X.cjs} +11 -11
- package/dist/{software-update-QDIZ32KU.cjs → software-update-OVR26DUF.cjs} +9 -9
- package/dist/utils/index.cjs +16 -1
- package/dist/utils/markdown-to-plain.d.ts.map +1 -1
- package/dist/utils/markdown-to-plain.js +16 -1
- package/package.json +1 -1
- package/src/components/layout/page-heading.tsx +3 -1
- package/src/components/loading/loading-fallback.tsx +52 -12
- package/src/components/ui/fade-preview.tsx +13 -2
- package/src/components/ui/index.ts +13 -1
- package/src/components/ui/markdown-editor.tsx +1 -0
- package/src/components/ui/trendline.tsx +27 -10
- package/src/loading-standard/engine.mjs +170 -14
- package/src/loading-standard/rule-examples.mjs +50 -0
- package/src/utils/markdown-to-plain.ts +23 -4
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk5LTKE6D3cjs = require('./chunk-5LTKE6D3.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkZPVFFPQMcjs = require('./chunk-ZPVFFPQM.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunk5PDOKPBFcjs = require('./chunk-5PDOKPBF.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -24,7 +24,7 @@ var _chunkFO3N6HDScjs = require('./chunk-FO3N6HDS.cjs');
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkPZVBTLLQcjs = require('./chunk-PZVBTLLQ.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
var _chunkE56LN23Hcjs = require('./chunk-E56LN23H.cjs');
|
|
@@ -36,14 +36,14 @@ var _chunkBWR5ACK3cjs = require('./chunk-BWR5ACK3.cjs');
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var _chunkFCT7VKWGcjs = require('./chunk-FCT7VKWG.cjs');
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
var
|
|
46
|
+
var _chunkOEEFUB25cjs = require('./chunk-OEEFUB25.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 _chunkFFRFKWTZcjs = require('./chunk-FFRFKWTZ.cjs');
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
|
|
@@ -67,7 +67,7 @@ var _chunkSDV335EOcjs = require('./chunk-SDV335EO.cjs');
|
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
var
|
|
70
|
+
var _chunkFAUVDMH4cjs = require('./chunk-FAUVDMH4.cjs');
|
|
71
71
|
|
|
72
72
|
|
|
73
73
|
|
|
@@ -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 = _chunkFCT7VKWGcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
118
|
+
var DEFAULT_STATUS_PARAM_KEY = _chunkFCT7VKWGcjs.DEV_SECTION_PARAM_KEYS.releaseStatus;
|
|
119
119
|
var DEFAULT_PAGE_PARAM_KEY = "page";
|
|
120
120
|
function ReleaseRow({
|
|
121
121
|
release,
|
|
@@ -124,7 +124,7 @@ 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 = _chunkFCT7VKWGcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _2 => _2.composeContentUrl]), {
|
|
128
128
|
type: "product_release",
|
|
129
129
|
slug: release.slug,
|
|
130
130
|
basePath,
|
|
@@ -132,9 +132,9 @@ function ReleaseRow({
|
|
|
132
132
|
});
|
|
133
133
|
const { target, rel } = _chunkYBTORXFYcjs.useEntityCardLink.call(void 0, { href: cta.href, targetPlatform: cta.targetPlatform });
|
|
134
134
|
const onClick = (e) => {
|
|
135
|
-
if (e.defaultPrevented ||
|
|
135
|
+
if (e.defaultPrevented || _chunkFAUVDMH4cjs.isModifierClick.call(void 0, e) || target === "_blank") return;
|
|
136
136
|
e.preventDefault();
|
|
137
|
-
|
|
137
|
+
_chunkOEEFUB25cjs.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
|
+
_chunkFAUVDMH4cjs.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 = _chunkFAUVDMH4cjs.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
|
+
} = _chunkFFRFKWTZcjs.useSelfFetch.call(void 0, inScope ? null : `${endpoint}?${listParams.toString()}`, {
|
|
184
184
|
initialData
|
|
185
185
|
});
|
|
186
186
|
const isLoading = inScope || fetching;
|
|
187
|
-
|
|
187
|
+
_chunk5LTKE6D3cjs.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, _chunkPZVBTLLQcjs.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
|
+
_chunk5LTKE6D3cjs.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, _chunkFAUVDMH4cjs.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
|
+
_chunkZPVFFPQMcjs.UnifiedPagination,
|
|
237
237
|
{
|
|
238
238
|
loading: isLoading,
|
|
239
239
|
currentPage,
|
|
@@ -298,7 +298,7 @@ function MediaGalleryStrip({ items, className }) {
|
|
|
298
298
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: tileClass, "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.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
|
+
_chunkFAUVDMH4cjs.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 = _chunkPZVBTLLQcjs.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 = _chunkOEEFUB25cjs.useCaptions.call(void 0, );
|
|
372
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPZVBTLLQcjs.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
|
+
} = _chunkFFRFKWTZcjs.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
|
+
_chunkPZVBTLLQcjs.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
|
+
_chunkFAUVDMH4cjs.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
|
+
_chunkFAUVDMH4cjs.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
|
+
_chunkFAUVDMH4cjs.EntityMetadataValueCell,
|
|
504
504
|
{
|
|
505
|
-
value: releaseDate ?
|
|
505
|
+
value: releaseDate ? _chunkFAUVDMH4cjs.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
|
+
_chunkFAUVDMH4cjs.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
|
|
@@ -556,7 +556,7 @@ function ReleaseDetailPage({
|
|
|
556
556
|
] })
|
|
557
557
|
] }) }) }),
|
|
558
558
|
loading ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
559
|
-
|
|
559
|
+
_chunkPZVBTLLQcjs.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
|
+
_chunkPZVBTLLQcjs.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
|
+
_chunkPZVBTLLQcjs.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
|
+
_chunkPZVBTLLQcjs.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, _chunkPZVBTLLQcjs.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
|
+
_chunkPZVBTLLQcjs.FadePreview,
|
|
623
623
|
{
|
|
624
624
|
hiddenCount: deliveryCount - 1,
|
|
625
625
|
collapsedHeight: DELIVERY_PREVIEW_HEIGHT,
|
|
@@ -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, _chunkOEEFUB25cjs.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 } = _chunkBWR5ACK3cjs.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 = _chunkOEEFUB25cjs.useIsHydrated.call(void 0, );
|
|
726
726
|
if (hydrated && loadedKey !== storageKey) {
|
|
727
727
|
setLoadedKey(storageKey);
|
|
728
728
|
setVotes(readStoredVotes(storageKey));
|
|
@@ -821,7 +821,7 @@ function RoadmapGridSkeleton({
|
|
|
821
821
|
columns = 2,
|
|
822
822
|
votes = true
|
|
823
823
|
}) {
|
|
824
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLKQ33CMYcjs.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, _chunkLKQ33CMYcjs.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, _chunkFAUVDMH4cjs.RoadmapCard, { loading: true, onVote: votes ? NO_VOTE : void 0 }) }, i)) });
|
|
825
825
|
}
|
|
826
826
|
var DEFAULT_BUILD_REFRESH_URL = (taskId) => `/api/roadmap/${taskId}`;
|
|
827
827
|
var BACKLOG = "Backlog";
|
|
@@ -880,10 +880,10 @@ function RoadmapGridSingle({
|
|
|
880
880
|
// and scrolls.
|
|
881
881
|
// `data-loading-item`: how many items a quarter holds is read data (the loading-state gate measures it as a list).
|
|
882
882
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
883
|
-
|
|
883
|
+
_chunkFAUVDMH4cjs.RoadmapCard,
|
|
884
884
|
{
|
|
885
885
|
item,
|
|
886
|
-
id:
|
|
886
|
+
id: _chunkFCT7VKWGcjs.devSectionAnchorId.call(void 0, "roadmap", item.id),
|
|
887
887
|
userVote: getVote(item.id),
|
|
888
888
|
onVote: onVote ? (voteType) => onVote(item.id, voteType) : void 0,
|
|
889
889
|
isVoting: votingTasks.has(item.id)
|
|
@@ -1031,7 +1031,7 @@ function RoadmapGrid({
|
|
|
1031
1031
|
}
|
|
1032
1032
|
if (items.length === 0) {
|
|
1033
1033
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1034
|
-
|
|
1034
|
+
_chunkZPVFFPQMcjs.EmptyState,
|
|
1035
1035
|
{
|
|
1036
1036
|
type: "generic",
|
|
1037
1037
|
title: "No roadmap items",
|
|
@@ -1053,7 +1053,7 @@ function RoadmapGrid({
|
|
|
1053
1053
|
);
|
|
1054
1054
|
}
|
|
1055
1055
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1056
|
-
|
|
1056
|
+
_chunkPZVBTLLQcjs.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
|
+
_chunkPZVBTLLQcjs.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, _chunkPZVBTLLQcjs.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, _chunkPZVBTLLQcjs.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],
|
|
@@ -1126,8 +1126,8 @@ function RoadmapGrid({
|
|
|
1126
1126
|
var DEFAULT_ENDPOINT3 = "/api/roadmap";
|
|
1127
1127
|
var NO_ITEMS = [];
|
|
1128
1128
|
var SYNCED_LIST_CLASS = "flex w-full flex-col gap-[var(--spacing-system-lf)]";
|
|
1129
|
-
var DEFAULT_SEARCH_PARAM_KEY2 =
|
|
1130
|
-
var DEFAULT_STATUS_PARAM_KEY2 =
|
|
1129
|
+
var DEFAULT_SEARCH_PARAM_KEY2 = _chunkFCT7VKWGcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1130
|
+
var DEFAULT_STATUS_PARAM_KEY2 = _chunkFCT7VKWGcjs.DEV_SECTION_PARAM_KEYS.status;
|
|
1131
1131
|
function RoadmapView({
|
|
1132
1132
|
endpoint = DEFAULT_ENDPOINT3,
|
|
1133
1133
|
initialItems,
|
|
@@ -1146,23 +1146,23 @@ function RoadmapView({
|
|
|
1146
1146
|
const qs = listParams.toString();
|
|
1147
1147
|
const url = qs ? `${endpoint}?${qs}` : endpoint;
|
|
1148
1148
|
const initialData = _react.useMemo.call(void 0, () => initialItems ? { items: initialItems } : void 0, [initialItems]);
|
|
1149
|
-
const { data, setData, isLoading, error, reload } =
|
|
1149
|
+
const { data, setData, isLoading, error, reload } = _chunkFFRFKWTZcjs.useSelfFetch.call(void 0, url, {
|
|
1150
1150
|
initialData
|
|
1151
1151
|
});
|
|
1152
1152
|
const items = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _21 => _21.items]), () => ( []));
|
|
1153
1153
|
_chunkBWR5ACK3cjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX });
|
|
1154
|
-
const syncInPage =
|
|
1154
|
+
const syncInPage = _chunk5LTKE6D3cjs.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, _chunkPZVBTLLQcjs.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, _chunkPZVBTLLQcjs.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, _chunkPZVBTLLQcjs.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, _chunk5LTKE6D3cjs.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, _chunk5LTKE6D3cjs.DeliveryRow, { item, id: _chunkFCT7VKWGcjs.devSectionAnchorId.call(void 0, "delivery", item.id) }) }, item.id)
|
|
1203
1203
|
)) }) });
|
|
1204
1204
|
}
|
|
1205
1205
|
|
|
@@ -1208,8 +1208,8 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1208
1208
|
|
|
1209
1209
|
var DEFAULT_COMPLETED_ENDPOINT = "/api/delivery/completed";
|
|
1210
1210
|
var DEFAULT_IN_PROGRESS_ENDPOINT = "/api/delivery/in-progress";
|
|
1211
|
-
var DEFAULT_SEARCH_PARAM_KEY3 =
|
|
1212
|
-
var DEFAULT_TASK_TYPE_PARAM_KEY =
|
|
1211
|
+
var DEFAULT_SEARCH_PARAM_KEY3 = _chunkFCT7VKWGcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1212
|
+
var DEFAULT_TASK_TYPE_PARAM_KEY = _chunkFCT7VKWGcjs.DEV_SECTION_PARAM_KEYS.deliveryTaskType;
|
|
1213
1213
|
function DeliveryLists({
|
|
1214
1214
|
completedApiEndpoint = DEFAULT_COMPLETED_ENDPOINT,
|
|
1215
1215
|
inProgressApiEndpoint = DEFAULT_IN_PROGRESS_ENDPOINT,
|
|
@@ -1284,18 +1284,18 @@ function DeliveryLists({
|
|
|
1284
1284
|
const filteredCompleted = _optionalChain([data, 'optionalAccess', _24 => _24.completed]) || [];
|
|
1285
1285
|
const filteredInProgress = _optionalChain([data, 'optionalAccess', _25 => _25.inProgress]) || [];
|
|
1286
1286
|
_chunkBWR5ACK3cjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX });
|
|
1287
|
-
const syncInPage =
|
|
1287
|
+
const syncInPage = _chunk5LTKE6D3cjs.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, _chunkPZVBTLLQcjs.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, _chunkPZVBTLLQcjs.DataSyncLine, { sync, loading: isLoading && !data }),
|
|
1297
1297
|
!isLoading && !hasResults && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1298
|
-
|
|
1298
|
+
_chunk5LTKE6D3cjs.ListEmptyState,
|
|
1299
1299
|
{
|
|
1300
1300
|
isFiltered: hasActiveFilters,
|
|
1301
1301
|
filtered: {
|
|
@@ -1520,7 +1520,7 @@ function legalDocumentStampLabel(doc) {
|
|
|
1520
1520
|
}
|
|
1521
1521
|
var LEGAL_DOCUMENT_SKELETON_SECTIONS = 3;
|
|
1522
1522
|
function LegalDocumentSkeleton({ sections = LEGAL_DOCUMENT_SKELETON_SECTIONS }) {
|
|
1523
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLKQ33CMYcjs.LoadingRegion, { label: "Loading the document", className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1523
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLKQ33CMYcjs.LoadingRegion, { label: "Loading the document", className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOEEFUB25cjs.MarkdownEngine, { loading: true, content: "", skeletonTitle: true, skeletonSections: sections, textSize: "article" }) });
|
|
1524
1524
|
}
|
|
1525
1525
|
function LegalDocumentPage({
|
|
1526
1526
|
docType,
|
|
@@ -1532,7 +1532,7 @@ function LegalDocumentPage({
|
|
|
1532
1532
|
emptyStateMessage: emptyStateMessageProp,
|
|
1533
1533
|
initialData = null,
|
|
1534
1534
|
apiEndpoint,
|
|
1535
|
-
MarkdownRenderer =
|
|
1535
|
+
MarkdownRenderer = _chunkPZVBTLLQcjs.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, _chunkPZVBTLLQcjs.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, _chunk5PDOKPBFcjs.FaqSection, { ..._chunk5PDOKPBFcjs.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, _chunkPZVBTLLQcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
1591
1591
|
}
|
|
1592
1592
|
|
|
1593
1593
|
|
|
@@ -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 _chunkFCT7VKWGcjs = require('./chunk-FCT7VKWG.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk3NGJ7NPTcjs = require('./chunk-3NGJ7NPT.cjs');
|
|
@@ -396,7 +396,7 @@ function useScrollSpy(sections, options = {}) {
|
|
|
396
396
|
// src/components/navigation/multi-level-navigation.tsx
|
|
397
397
|
var _lucidereact = require('lucide-react');
|
|
398
398
|
|
|
399
|
-
var DEFAULT_FOLDER_INDEX_FILE2 =
|
|
399
|
+
var DEFAULT_FOLDER_INDEX_FILE2 = _chunkFCT7VKWGcjs.DEFAULT_FOLDER_INDEX_FILE;
|
|
400
400
|
var NAV_LIST_CLASS = "space-y-2";
|
|
401
401
|
var NAV_ITEM_CLASS = "space-y-1";
|
|
402
402
|
var NAV_ROW_FRAME_CLASS = "relative w-full rounded-lg border transition-all duration-150";
|
|
@@ -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(); } }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkFAUVDMH4cjs = require('./chunk-FAUVDMH4.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -52,7 +52,7 @@ function ArticleAuthorByline({
|
|
|
52
52
|
proxyImageUrl,
|
|
53
53
|
className
|
|
54
54
|
}) {
|
|
55
|
-
const proxiedAvatar =
|
|
55
|
+
const proxiedAvatar = _chunkFAUVDMH4cjs.useProxiedImageUrl.call(void 0, avatar, { proxyImageUrl });
|
|
56
56
|
const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
57
57
|
if (loading && !author) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ArticleAuthorBylineSkeleton, { size, className });
|
|
58
58
|
if (!author) return null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkUYGXJ5SQcjs = require('./chunk-UYGXJ5SQ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -184,14 +184,14 @@ function UnifiedPagination({
|
|
|
184
184
|
}, 0);
|
|
185
185
|
};
|
|
186
186
|
if (loading) {
|
|
187
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
187
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUYGXJ5SQcjs.Pagination, { loading: true, currentPage, totalPages, onPageChange: handlePageChange }) });
|
|
188
188
|
}
|
|
189
189
|
if (totalPages <= 1) {
|
|
190
|
-
return reserveSpace ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none invisible", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
190
|
+
return reserveSpace ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none invisible", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUYGXJ5SQcjs.Pagination, { currentPage: 1, totalPages: 1, onPageChange: () => {
|
|
191
191
|
} }) }) }) : null;
|
|
192
192
|
}
|
|
193
193
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
194
|
-
|
|
194
|
+
_chunkUYGXJ5SQcjs.Pagination,
|
|
195
195
|
{
|
|
196
196
|
currentPage,
|
|
197
197
|
totalPages,
|
|
@@ -9,7 +9,7 @@ var _chunkLHV2R6QUcjs = require('./chunk-LHV2R6QU.cjs');
|
|
|
9
9
|
var _chunkFDZOE5TLcjs = require('./chunk-FDZOE5TL.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkPZVBTLLQcjs = require('./chunk-PZVBTLLQ.cjs');
|
|
13
13
|
require('./chunk-DTBIIFZG.cjs');
|
|
14
14
|
require('./chunk-NG3RKTQU.cjs');
|
|
15
15
|
require('./chunk-E56LN23H.cjs');
|
|
@@ -21,8 +21,8 @@ require('./chunk-24I6RFVU.cjs');
|
|
|
21
21
|
require('./chunk-A6P6DHEZ.cjs');
|
|
22
22
|
require('./chunk-MZ4KBSH7.cjs');
|
|
23
23
|
require('./chunk-YR74H7Z3.cjs');
|
|
24
|
-
require('./chunk-
|
|
25
|
-
require('./chunk-
|
|
24
|
+
require('./chunk-FCT7VKWG.cjs');
|
|
25
|
+
require('./chunk-OEEFUB25.cjs');
|
|
26
26
|
require('./chunk-7MV23NNT.cjs');
|
|
27
27
|
require('./chunk-ZD6SZLO2.cjs');
|
|
28
28
|
require('./chunk-3NGJ7NPT.cjs');
|
|
@@ -1823,8 +1823,8 @@ require('./chunk-7DNL734S.cjs');
|
|
|
1823
1823
|
require('./chunk-WWUSFOJ7.cjs');
|
|
1824
1824
|
require('./chunk-SKI6NKOE.cjs');
|
|
1825
1825
|
require('./chunk-EWPR7662.cjs');
|
|
1826
|
-
require('./chunk-
|
|
1827
|
-
require('./chunk-
|
|
1826
|
+
require('./chunk-FFRFKWTZ.cjs');
|
|
1827
|
+
require('./chunk-FAUVDMH4.cjs');
|
|
1828
1828
|
require('./chunk-YBTORXFY.cjs');
|
|
1829
1829
|
require('./chunk-2JCY5KQL.cjs');
|
|
1830
1830
|
require('./chunk-P4B6PVSG.cjs');
|
|
@@ -1918,7 +1918,7 @@ var getHref = () => "#";
|
|
|
1918
1918
|
function CloudTenantsScreen(_props) {
|
|
1919
1919
|
const cast = _chunkLHV2R6QUcjs.useProductDemoCast.call(void 0, );
|
|
1920
1920
|
const fixture = _react.useMemo.call(void 0, () => buildCloudTenantsFixture(cast), [cast]);
|
|
1921
|
-
const table = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1921
|
+
const table = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPZVBTLLQcjs.TenantsTableView, { rows: fixture.rows, getHref, now: fixture.now });
|
|
1922
1922
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full bg-ods-bg p-[var(--spacing-system-l)]", children: table });
|
|
1923
1923
|
}
|
|
1924
1924
|
|