@flamingo-stack/openframe-frontend-core 0.0.801 → 0.0.803
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/export-map.json +1 -1
- package/dist/{chunk-7MV23NNT.cjs → chunk-2X3N6MSR.cjs} +88 -0
- package/dist/{chunk-XYPNYTCV.cjs → chunk-6JVNUGN3.cjs} +3 -3
- package/dist/{chunk-3W2PBWD5.cjs → chunk-CACULEQS.cjs} +4 -4
- package/dist/{chunk-Z66FOMSA.cjs → chunk-H4T3YHYH.cjs} +646 -643
- package/dist/{chunk-SHOE6ATQ.cjs → chunk-HEMZOHNB.cjs} +13 -13
- package/dist/{chunk-QAUQYQWT.cjs → chunk-HVWMPUXK.cjs} +6 -6
- package/dist/{chunk-PY6SPYUR.cjs → chunk-I4BODSPV.cjs} +3 -3
- package/dist/{chunk-CRVXQYUZ.cjs → chunk-IE3CPPHJ.cjs} +24 -24
- package/dist/{chunk-E56LN23H.cjs → chunk-IYWX4GOG.cjs} +35 -13
- package/dist/{chunk-LEEBFBI4.cjs → chunk-JTDOBGKE.cjs} +41 -41
- package/dist/{chunk-QNIUDJAK.cjs → chunk-KVL3QRFX.cjs} +9 -9
- package/dist/{chunk-LOCJD7TD.cjs → chunk-MBZIARIL.cjs} +12 -12
- package/dist/{chunk-YUGX72P4.cjs → chunk-MII4RDO4.cjs} +61 -61
- package/dist/{chunk-PJMLRXAG.cjs → chunk-NNQXP2ZM.cjs} +6 -6
- package/dist/{chunk-BWR5ACK3.cjs → chunk-OG4XH6C5.cjs} +3 -1
- package/dist/{chunk-3YPEXJVQ.cjs → chunk-QFBRQ22U.cjs} +41 -41
- package/dist/{chunk-DYDS2P5G.cjs → chunk-T7B3FJY6.cjs} +2 -2
- package/dist/{chunk-DTBIIFZG.cjs → chunk-TELXF5WD.cjs} +14 -14
- package/dist/{chunk-7E4BC3AF.cjs → chunk-TVAU56UU.cjs} +46 -39
- package/dist/{chunk-THQKEA2T.cjs → chunk-VKSO3UYU.cjs} +26 -26
- package/dist/{chunk-CJSUMYTH.cjs → chunk-XOFGPSNP.cjs} +21 -21
- package/dist/{chunk-237MLBT7.cjs → chunk-YKQGYAG5.cjs} +55 -55
- package/dist/{cloud-tenants-X7QHAIX2.cjs → cloud-tenants-GKCZSLEV.cjs} +8 -8
- package/dist/components/case-studies/index.cjs +20 -20
- package/dist/components/chat/approval-batch-message.d.ts +3 -1
- package/dist/components/chat/approval-batch-message.d.ts.map +1 -1
- package/dist/components/chat/approval-batch-message.js +88 -0
- package/dist/components/chat/chat-composer.d.ts +3 -1
- package/dist/components/chat/chat-composer.d.ts.map +1 -1
- package/dist/components/chat/chat-composer.js +2 -0
- package/dist/components/chat/chat-context-memory-bar.d.ts +7 -1
- package/dist/components/chat/chat-context-memory-bar.d.ts.map +1 -1
- package/dist/components/chat/chat-context-memory-bar.js +11 -5
- package/dist/components/chat/embeddable-chat.d.ts +3 -0
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.js +1 -0
- package/dist/components/chat/index.cjs +4 -4
- package/dist/components/contact/index.cjs +9 -9
- package/dist/components/docs/index.cjs +12 -12
- package/dist/components/embeds/index.cjs +9 -9
- package/dist/components/faq/index.cjs +10 -10
- package/dist/components/features/board/ticket-card.js +5 -5
- package/dist/components/features/index.cjs +8 -8
- package/dist/components/help-center-pages/download-apps-page.d.ts +9 -2
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/download-apps-page.js +39 -15
- package/dist/components/help-center-pages/index.cjs +121 -96
- package/dist/components/index.cjs +44 -44
- package/dist/components/layout/page-layout.d.ts +1 -1
- package/dist/components/layout/page-layout.d.ts.map +1 -1
- package/dist/components/layout/title-block.d.ts +4 -2
- package/dist/components/layout/title-block.d.ts.map +1 -1
- package/dist/components/layout/title-block.js +21 -2
- package/dist/components/meeting-scheduler/index.cjs +45 -45
- package/dist/components/navigation/index.cjs +11 -11
- package/dist/components/onboarding-guides/index.cjs +10 -10
- package/dist/components/product-demo/index.cjs +19 -19
- package/dist/components/tickets/index.cjs +13 -13
- package/dist/components/ui/data-table/data-table-body.d.ts +6 -1
- package/dist/components/ui/data-table/data-table-body.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-body.js +3 -1
- package/dist/components/ui/device-card.d.ts +6 -1
- package/dist/components/ui/device-card.d.ts.map +1 -1
- package/dist/components/ui/device-card.js +2 -1
- package/dist/components/ui/index.cjs +8 -8
- package/dist/components/ui/page-actions.d.ts.map +1 -1
- package/dist/components/ui/page-actions.js +15 -12
- package/dist/{devices-VBFYZVVG.cjs → devices-XIXLFYRJ.cjs} +9 -9
- package/dist/{embeddable-chat-XZDZOHFY.cjs → embeddable-chat-SVDMLAER.cjs} +63 -62
- package/dist/hooks/index.cjs +2 -2
- package/dist/index.cjs +14 -12
- package/dist/{knowledge-RJZJFD2Y.cjs → knowledge-3DKG5QG2.cjs} +9 -9
- package/dist/{logs-3WZ4GROE.cjs → logs-RIU2TTRZ.cjs} +16 -16
- package/dist/{policies-E6WQEXDF.cjs → policies-F2ZB2J4L.cjs} +12 -12
- package/dist/{remote-session-4LYKEZSY.cjs → remote-session-GBMM5UPQ.cjs} +4 -4
- package/dist/{scripts-JLCM42F4.cjs → scripts-XX5LMCRA.cjs} +15 -15
- package/dist/{software-update-BVBHAROC.cjs → software-update-VYBM7SC6.cjs} +12 -12
- package/dist/{tickets-board-3FBVYSXR.cjs → tickets-board-5QIIA24E.cjs} +7 -7
- package/dist/types/downloads.d.ts +5 -0
- package/dist/types/downloads.d.ts.map +1 -1
- package/dist/types/downloads.js +3 -1
- package/dist/types/index.cjs +2 -0
- package/package.json +1 -1
- package/src/components/chat/approval-batch-message.tsx +109 -1
- package/src/components/chat/chat-composer.tsx +4 -0
- package/src/components/chat/chat-context-memory-bar.tsx +28 -5
- package/src/components/chat/embeddable-chat.tsx +4 -0
- package/src/components/features/board/ticket-card.tsx +7 -6
- package/src/components/help-center-pages/download-apps-page.tsx +42 -13
- package/src/components/layout/page-layout.tsx +1 -1
- package/src/components/layout/title-block.tsx +22 -3
- package/src/components/ui/data-table/data-table-body.tsx +9 -0
- package/src/components/ui/device-card.tsx +7 -1
- package/src/components/ui/page-actions.tsx +28 -14
- package/src/types/downloads.ts +6 -0
|
@@ -5,26 +5,26 @@ var _chunkY5XHMEBBcjs = require('./chunk-Y5XHMEBB.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkNNQXP2ZMcjs = require('./chunk-NNQXP2ZM.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkH4T3YHYHcjs = require('./chunk-H4T3YHYH.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkIYWX4GOGcjs = require('./chunk-IYWX4GOG.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkIE3CPPHJcjs = require('./chunk-IE3CPPHJ.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkTVAU56UUcjs = require('./chunk-TVAU56UU.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
var _chunkZD6SZLO2cjs = require('./chunk-ZD6SZLO2.cjs');
|
|
@@ -143,14 +143,14 @@ function OnboardingGuidesCatalogView({
|
|
|
143
143
|
});
|
|
144
144
|
};
|
|
145
145
|
const source = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _6 => _6.source]), () => ( "openframe"));
|
|
146
|
-
const docSearch =
|
|
146
|
+
const docSearch = _chunkNNQXP2ZMcjs.useDocSearch.call(void 0, {
|
|
147
147
|
source,
|
|
148
148
|
baseRoute: basePath,
|
|
149
149
|
onNavigate: (path) => router.push(path),
|
|
150
150
|
tableIds: ["onboarding-guides"]
|
|
151
151
|
});
|
|
152
152
|
const defaultRenderCard = (guide) => {
|
|
153
|
-
const cta =
|
|
153
|
+
const cta = _chunkIE3CPPHJcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
|
|
154
154
|
type: "onboarding_guide",
|
|
155
155
|
slug: guide.slug,
|
|
156
156
|
basePath,
|
|
@@ -161,7 +161,7 @@ function OnboardingGuidesCatalogView({
|
|
|
161
161
|
const renderCardFn = _nullishCoalesce(renderCard, () => ( defaultRenderCard));
|
|
162
162
|
const preControls = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_CONTROLS_CLASS, children: [
|
|
163
163
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
164
|
-
|
|
164
|
+
_chunkNNQXP2ZMcjs.DocSearchBar,
|
|
165
165
|
{
|
|
166
166
|
placeholder: "Search onboarding guides, releases, case studies\u2026",
|
|
167
167
|
query: docSearch.query,
|
|
@@ -173,7 +173,7 @@ function OnboardingGuidesCatalogView({
|
|
|
173
173
|
}
|
|
174
174
|
),
|
|
175
175
|
(loading || sections.length > 0) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
176
|
-
|
|
176
|
+
_chunkH4T3YHYHcjs.FilterPillRow,
|
|
177
177
|
{
|
|
178
178
|
label: "Section",
|
|
179
179
|
selectedValue: activeSection,
|
|
@@ -184,7 +184,7 @@ function OnboardingGuidesCatalogView({
|
|
|
184
184
|
)
|
|
185
185
|
] });
|
|
186
186
|
if (!loading && selfFetch && guidesRes.error) {
|
|
187
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
187
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH4T3YHYHcjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
|
|
188
188
|
}
|
|
189
189
|
const view = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_VIEW_CLASS, children: [
|
|
190
190
|
preControls,
|
|
@@ -200,7 +200,7 @@ function OnboardingGuidesCatalogView({
|
|
|
200
200
|
)
|
|
201
201
|
] });
|
|
202
202
|
if (!loading) return view;
|
|
203
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
203
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTVAU56UUcjs.LoadingFallback, { label: "Loading onboarding guides", children: view });
|
|
204
204
|
}
|
|
205
205
|
function OnboardingCatalogSections({
|
|
206
206
|
grouped,
|
|
@@ -304,7 +304,7 @@ function OnboardingGuideDetailView({
|
|
|
304
304
|
slug,
|
|
305
305
|
guideEndpoint,
|
|
306
306
|
related = [],
|
|
307
|
-
MarkdownRenderer =
|
|
307
|
+
MarkdownRenderer = _chunkH4T3YHYHcjs.RichMarkdownRenderer,
|
|
308
308
|
renderRelatedCard,
|
|
309
309
|
backHref,
|
|
310
310
|
backLabel = "Back to Getting Started",
|
|
@@ -314,9 +314,9 @@ function OnboardingGuideDetailView({
|
|
|
314
314
|
}) {
|
|
315
315
|
const resolvedBackHref = _nullishCoalesce(backHref, () => ( basePath));
|
|
316
316
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
317
|
-
const captions =
|
|
317
|
+
const captions = _chunkTVAU56UUcjs.useCaptions.call(void 0, );
|
|
318
318
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
319
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
319
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH4T3YHYHcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
320
320
|
const url = initialData ? null : slug && guideEndpoint ? guideEndpoint(slug) : null;
|
|
321
321
|
const scoped = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
322
322
|
const {
|
|
@@ -334,7 +334,7 @@ function OnboardingGuideDetailView({
|
|
|
334
334
|
const backCfg = { label: backLabel, onClick: () => router.push(resolvedBackHref) };
|
|
335
335
|
const loading = scoped || !guide && isLoading;
|
|
336
336
|
if (!loading && (error || !guide)) {
|
|
337
|
-
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
337
|
+
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH4T3YHYHcjs.LoadError, { message: "Guide not found.", onRetry: reload }));
|
|
338
338
|
}
|
|
339
339
|
const view = _nullishCoalesce(guide, () => ( EMPTY_ONBOARDING_GUIDE));
|
|
340
340
|
const { captionsUrl, highlightCaptionsUrl } = captions.forEntity("onboarding_guide", view);
|
|
@@ -342,7 +342,7 @@ function OnboardingGuideDetailView({
|
|
|
342
342
|
// worst), so it's the terminal fallback — no trailing `|| undefined` needed.
|
|
343
343
|
_chunkXR323UBYcjs.buildOgPlaceholderUrl.call(void 0, _optionalChain([runtime, 'optionalAccess', _11 => _11.endpoints]), view.title, { aspect: "wide" });
|
|
344
344
|
const defaultRenderRelatedCard = (g) => {
|
|
345
|
-
const cta =
|
|
345
|
+
const cta = _chunkIE3CPPHJcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
|
|
346
346
|
type: "onboarding_guide",
|
|
347
347
|
slug: g.slug,
|
|
348
348
|
basePath,
|
|
@@ -351,8 +351,8 @@ function OnboardingGuideDetailView({
|
|
|
351
351
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFAUVDMH4cjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
|
|
352
352
|
};
|
|
353
353
|
const renderRelatedCardFn = _nullishCoalesce(renderRelatedCard, () => ( defaultRenderRelatedCard));
|
|
354
|
-
const page = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
355
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
354
|
+
const page = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIYWX4GOGcjs.PageLayout, { title: view.title, loading, titleSize: "h1", titleWrap: true, backButton: backCfg, children: [
|
|
355
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH4T3YHYHcjs.EntityTagBadges, { tags: view.onboarding_guide_tags }),
|
|
356
356
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
357
357
|
_chunkFAUVDMH4cjs.EntityAuthorCard,
|
|
358
358
|
{
|
|
@@ -370,7 +370,7 @@ function OnboardingGuideDetailView({
|
|
|
370
370
|
),
|
|
371
371
|
!loading && (view.main_video_url || view.youtube_url) && // A guide's video is optional: the loading state leaves it out.
|
|
372
372
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: videoWarmupRef, "data-loading-optional": "", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
373
|
-
|
|
373
|
+
_chunkTVAU56UUcjs.EntityVideoSection,
|
|
374
374
|
{
|
|
375
375
|
mainVideoUrl: view.main_video_url,
|
|
376
376
|
youtubeUrl: view.youtube_url || void 0,
|
|
@@ -387,7 +387,7 @@ function OnboardingGuideDetailView({
|
|
|
387
387
|
) }),
|
|
388
388
|
(loading || view.content) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: BODY_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: _nullishCoalesce(view.content, () => ( "")) }) }),
|
|
389
389
|
loading ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "contents", "data-loading-optional": "", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
390
|
-
|
|
390
|
+
_chunkTVAU56UUcjs.VideoBitesStrip,
|
|
391
391
|
{
|
|
392
392
|
bites: _nullishCoalesce(view.video_bites, () => ( [])),
|
|
393
393
|
filterPublished: true,
|
|
@@ -410,7 +410,7 @@ function OnboardingGuideDetailView({
|
|
|
410
410
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RelatedGuides, { section: view.section, related, renderCard: renderRelatedCardFn }),
|
|
411
411
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: relatedContent }, "related-content")
|
|
412
412
|
] });
|
|
413
|
-
return renderShell(loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
413
|
+
return renderShell(loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTVAU56UUcjs.LoadingFallback, { label: "Loading the guide", children: page }) : page);
|
|
414
414
|
}
|
|
415
415
|
|
|
416
416
|
// src/components/onboarding-guides/hooks/use-onboarding-guides.ts
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkMBZIARILcjs = require('./chunk-MBZIARIL.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ var _chunkZPVFFPQMcjs = require('./chunk-ZPVFFPQM.cjs');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkKVL3QRFXcjs = require('./chunk-KVL3QRFX.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -24,26 +24,26 @@ var _chunkQNIUDJAKcjs = require('./chunk-QNIUDJAK.cjs');
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkH4T3YHYHcjs = require('./chunk-H4T3YHYH.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkIYWX4GOGcjs = require('./chunk-IYWX4GOG.cjs');
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _chunkOG4XH6C5cjs = require('./chunk-OG4XH6C5.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var _chunkIE3CPPHJcjs = require('./chunk-IE3CPPHJ.cjs');
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
var
|
|
46
|
+
var _chunkTVAU56UUcjs = require('./chunk-TVAU56UU.cjs');
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
var _chunkEWCFJLNUcjs = require('./chunk-EWCFJLNU.cjs');
|
|
@@ -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 = _chunkIE3CPPHJcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
118
|
+
var DEFAULT_STATUS_PARAM_KEY = _chunkIE3CPPHJcjs.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 = _chunkIE3CPPHJcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _2 => _2.composeContentUrl]), {
|
|
128
128
|
type: "product_release",
|
|
129
129
|
slug: release.slug,
|
|
130
130
|
basePath,
|
|
@@ -134,7 +134,7 @@ function ReleaseRow({
|
|
|
134
134
|
const onClick = (e) => {
|
|
135
135
|
if (e.defaultPrevented || _chunkFAUVDMH4cjs.isModifierClick.call(void 0, e) || target === "_blank") return;
|
|
136
136
|
e.preventDefault();
|
|
137
|
-
|
|
137
|
+
_chunkTVAU56UUcjs.executeNavigationImperative.call(void 0, {
|
|
138
138
|
runtime,
|
|
139
139
|
href: cta.href,
|
|
140
140
|
targetPlatform: cta.targetPlatform,
|
|
@@ -184,7 +184,7 @@ function ProductReleasesView({
|
|
|
184
184
|
initialData
|
|
185
185
|
});
|
|
186
186
|
const isLoading = inScope || fetching;
|
|
187
|
-
|
|
187
|
+
_chunkMBZIARILcjs.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, _chunkH4T3YHYHcjs.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
|
+
_chunkMBZIARILcjs.ListEmptyState,
|
|
210
210
|
{
|
|
211
211
|
isFiltered: hasActiveFilters,
|
|
212
212
|
filtered: {
|
|
@@ -319,7 +319,7 @@ function MediaGalleryStripSkeleton({
|
|
|
319
319
|
var _lucidereact = require('lucide-react');
|
|
320
320
|
|
|
321
321
|
|
|
322
|
-
var DefaultMarkdownRenderer =
|
|
322
|
+
var DefaultMarkdownRenderer = _chunkH4T3YHYHcjs.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,8 +368,8 @@ 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 = _chunkTVAU56UUcjs.useCaptions.call(void 0, );
|
|
372
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH4T3YHYHcjs.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,
|
|
@@ -462,7 +462,7 @@ function ReleaseDetailPage({
|
|
|
462
462
|
const bugFixed = view.bugs_fixed;
|
|
463
463
|
const improvements = view.improvements;
|
|
464
464
|
const page = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
465
|
-
|
|
465
|
+
_chunkIYWX4GOGcjs.PageLayout,
|
|
466
466
|
{
|
|
467
467
|
title: releaseTitle,
|
|
468
468
|
subtitle: loading ? void 0 : `Version: ${releaseVersion}`,
|
|
@@ -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
|
+
_chunkH4T3YHYHcjs.EntityTagBadges,
|
|
479
479
|
{
|
|
480
480
|
tags: view.product_release_tags,
|
|
481
481
|
max: RELEASE_TAG_ROW_MAX,
|
|
@@ -556,7 +556,7 @@ function ReleaseDetailPage({
|
|
|
556
556
|
] })
|
|
557
557
|
] }) }) }),
|
|
558
558
|
loading ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
559
|
-
|
|
559
|
+
_chunkH4T3YHYHcjs.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
|
+
_chunkH4T3YHYHcjs.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
|
+
_chunkH4T3YHYHcjs.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
|
+
_chunkH4T3YHYHcjs.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, _chunkH4T3YHYHcjs.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
|
+
_chunkH4T3YHYHcjs.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, _chunkTVAU56UUcjs.LoadingFallback, { label: "Loading the release", children: page }) : page);
|
|
703
703
|
}
|
|
704
704
|
|
|
705
705
|
// src/components/shared/roadmap/use-roadmap-voting.ts
|
|
@@ -719,10 +719,10 @@ function readStoredVotes(storageKey) {
|
|
|
719
719
|
function useRoadmapVoting(options = {}) {
|
|
720
720
|
const voteApiEndpoint = _nullishCoalesce(options.voteApiEndpoint, () => ( DEFAULT_VOTE_ENDPOINT));
|
|
721
721
|
const storageKey = _nullishCoalesce(options.storageKey, () => ( DEFAULT_STORAGE_KEY));
|
|
722
|
-
const { getSignals } =
|
|
722
|
+
const { getSignals } = _chunkOG4XH6C5cjs.useHumanitySignals.call(void 0, );
|
|
723
723
|
const [votes, setVotes] = _react.useState.call(void 0, NO_VOTES);
|
|
724
724
|
const [loadedKey, setLoadedKey] = _react.useState.call(void 0, null);
|
|
725
|
-
const hydrated =
|
|
725
|
+
const hydrated = _chunkTVAU56UUcjs.useIsHydrated.call(void 0, );
|
|
726
726
|
if (hydrated && loadedKey !== storageKey) {
|
|
727
727
|
setLoadedKey(storageKey);
|
|
728
728
|
setVotes(readStoredVotes(storageKey));
|
|
@@ -883,7 +883,7 @@ function RoadmapGridSingle({
|
|
|
883
883
|
_chunkFAUVDMH4cjs.RoadmapCard,
|
|
884
884
|
{
|
|
885
885
|
item,
|
|
886
|
-
id:
|
|
886
|
+
id: _chunkIE3CPPHJcjs.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)
|
|
@@ -1053,7 +1053,7 @@ function RoadmapGrid({
|
|
|
1053
1053
|
);
|
|
1054
1054
|
}
|
|
1055
1055
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1056
|
-
|
|
1056
|
+
_chunkH4T3YHYHcjs.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
|
+
_chunkH4T3YHYHcjs.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, _chunkH4T3YHYHcjs.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, _chunkH4T3YHYHcjs.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 = _chunkIE3CPPHJcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1130
|
+
var DEFAULT_STATUS_PARAM_KEY2 = _chunkIE3CPPHJcjs.DEV_SECTION_PARAM_KEYS.status;
|
|
1131
1131
|
function RoadmapView({
|
|
1132
1132
|
endpoint = DEFAULT_ENDPOINT3,
|
|
1133
1133
|
initialItems,
|
|
@@ -1150,19 +1150,19 @@ function RoadmapView({
|
|
|
1150
1150
|
initialData
|
|
1151
1151
|
});
|
|
1152
1152
|
const items = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _21 => _21.items]), () => ( []));
|
|
1153
|
-
|
|
1154
|
-
const syncInPage =
|
|
1153
|
+
_chunkOG4XH6C5cjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX });
|
|
1154
|
+
const syncInPage = _chunkMBZIARILcjs.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, _chunkH4T3YHYHcjs.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, _chunkH4T3YHYHcjs.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, _chunkH4T3YHYHcjs.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, _chunkMBZIARILcjs.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, _chunkMBZIARILcjs.DeliveryRow, { item, id: _chunkIE3CPPHJcjs.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 = _chunkIE3CPPHJcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1212
|
+
var DEFAULT_TASK_TYPE_PARAM_KEY = _chunkIE3CPPHJcjs.DEV_SECTION_PARAM_KEYS.deliveryTaskType;
|
|
1213
1213
|
function DeliveryLists({
|
|
1214
1214
|
completedApiEndpoint = DEFAULT_COMPLETED_ENDPOINT,
|
|
1215
1215
|
inProgressApiEndpoint = DEFAULT_IN_PROGRESS_ENDPOINT,
|
|
@@ -1283,19 +1283,19 @@ function DeliveryLists({
|
|
|
1283
1283
|
]);
|
|
1284
1284
|
const filteredCompleted = _optionalChain([data, 'optionalAccess', _24 => _24.completed]) || [];
|
|
1285
1285
|
const filteredInProgress = _optionalChain([data, 'optionalAccess', _25 => _25.inProgress]) || [];
|
|
1286
|
-
|
|
1287
|
-
const syncInPage =
|
|
1286
|
+
_chunkOG4XH6C5cjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX });
|
|
1287
|
+
const syncInPage = _chunkMBZIARILcjs.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, _chunkH4T3YHYHcjs.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, _chunkH4T3YHYHcjs.DataSyncLine, { sync, loading: isLoading && !data }),
|
|
1297
1297
|
!isLoading && !hasResults && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1298
|
-
|
|
1298
|
+
_chunkMBZIARILcjs.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, _chunkTVAU56UUcjs.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 = _chunkH4T3YHYHcjs.RichMarkdownRenderer,
|
|
1536
1536
|
documentsEndpoint,
|
|
1537
1537
|
backButton,
|
|
1538
1538
|
faq,
|
|
@@ -1554,7 +1554,7 @@ function LegalDocumentPage({
|
|
|
1554
1554
|
const emptyStateMessage = _nullishCoalesce(emptyStateMessageProp, () => ( `${title} is not available at this time.`));
|
|
1555
1555
|
const subtitle = isLoading ? void 0 : _nullishCoalesce(legalDocumentStampLabel(data), () => ( fallbackDescription));
|
|
1556
1556
|
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1557
|
-
|
|
1557
|
+
_chunkIYWX4GOGcjs.PageLayout,
|
|
1558
1558
|
{
|
|
1559
1559
|
title,
|
|
1560
1560
|
subtitle,
|
|
@@ -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, _chunkH4T3YHYHcjs.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, _chunkKVL3QRFXcjs.FaqSection, { ..._chunkKVL3QRFXcjs.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, _chunkH4T3YHYHcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
1591
1591
|
}
|
|
1592
1592
|
|
|
1593
1593
|
|
|
@@ -9,21 +9,21 @@ var _chunkLHV2R6QUcjs = require('./chunk-LHV2R6QU.cjs');
|
|
|
9
9
|
var _chunkFDZOE5TLcjs = require('./chunk-FDZOE5TL.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
require('./chunk-
|
|
12
|
+
var _chunkH4T3YHYHcjs = require('./chunk-H4T3YHYH.cjs');
|
|
13
|
+
require('./chunk-TELXF5WD.cjs');
|
|
14
14
|
require('./chunk-NG3RKTQU.cjs');
|
|
15
|
-
require('./chunk-
|
|
15
|
+
require('./chunk-IYWX4GOG.cjs');
|
|
16
16
|
require('./chunk-HQQE74RO.cjs');
|
|
17
17
|
require('./chunk-DEY6XXGO.cjs');
|
|
18
|
-
require('./chunk-
|
|
18
|
+
require('./chunk-OG4XH6C5.cjs');
|
|
19
19
|
require('./chunk-VXAKQRV7.cjs');
|
|
20
20
|
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-
|
|
26
|
-
require('./chunk-
|
|
24
|
+
require('./chunk-IE3CPPHJ.cjs');
|
|
25
|
+
require('./chunk-TVAU56UU.cjs');
|
|
26
|
+
require('./chunk-2X3N6MSR.cjs');
|
|
27
27
|
require('./chunk-ZD6SZLO2.cjs');
|
|
28
28
|
require('./chunk-3NGJ7NPT.cjs');
|
|
29
29
|
require('./chunk-JTIGKLKJ.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, _chunkH4T3YHYHcjs.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
|
|