@flamingo-stack/openframe-frontend-core 0.0.800 → 0.0.801
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-WWWCFNKI.cjs → chunk-237MLBT7.cjs} +48 -48
- package/dist/{chunk-CDLOQCJC.cjs → chunk-3W2PBWD5.cjs} +4 -4
- package/dist/{chunk-IX2D26OR.cjs → chunk-3YPEXJVQ.cjs} +39 -39
- package/dist/{chunk-OEEFUB25.cjs → chunk-7E4BC3AF.cjs} +15 -13
- package/dist/{chunk-CM2UGR4I.cjs → chunk-CJSUMYTH.cjs} +19 -19
- package/dist/{chunk-FCT7VKWG.cjs → chunk-CRVXQYUZ.cjs} +18 -18
- package/dist/{chunk-XAJPXPQ6.cjs → chunk-DYDS2P5G.cjs} +2 -2
- package/dist/{chunk-3C6JR5Z5.cjs → chunk-LEEBFBI4.cjs} +32 -32
- package/dist/{chunk-5LTKE6D3.cjs → chunk-LOCJD7TD.cjs} +10 -10
- package/dist/{chunk-OGUBSDU5.cjs → chunk-PJMLRXAG.cjs} +6 -6
- package/dist/{chunk-KH5DRO4V.cjs → chunk-PY6SPYUR.cjs} +3 -3
- package/dist/{chunk-DUSCG2EO.cjs → chunk-QAUQYQWT.cjs} +4 -4
- package/dist/{chunk-5PDOKPBF.cjs → chunk-QNIUDJAK.cjs} +7 -7
- package/dist/{chunk-LTOSJI6B.cjs → chunk-SHOE6ATQ.cjs} +11 -11
- package/dist/{chunk-PQNRSUQ6.cjs → chunk-THQKEA2T.cjs} +9 -9
- package/dist/{chunk-OUKKLSME.cjs → chunk-XYPNYTCV.cjs} +3 -3
- package/dist/{chunk-S7CBD6KF.cjs → chunk-YUGX72P4.cjs} +53 -53
- package/dist/{chunk-PZVBTLLQ.cjs → chunk-Z66FOMSA.cjs} +105 -105
- package/dist/{cloud-tenants-S3BDIJHM.cjs → cloud-tenants-X7QHAIX2.cjs} +4 -4
- package/dist/components/case-studies/index.cjs +16 -16
- package/dist/components/chat/chat-context-picker.d.ts.map +1 -1
- package/dist/components/chat/chat-context-picker.js +16 -14
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/docs/index.cjs +8 -8
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/faq/index.cjs +6 -6
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/help-center-pages/index.cjs +61 -61
- package/dist/components/index.cjs +38 -38
- package/dist/components/meeting-scheduler/index.cjs +29 -29
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.cjs +6 -6
- package/dist/components/product-demo/index.cjs +13 -13
- package/dist/components/tickets/index.cjs +9 -9
- package/dist/components/ui/index.cjs +4 -4
- package/dist/{devices-C6OOVBJK.cjs → devices-VBFYZVVG.cjs} +5 -5
- package/dist/{embeddable-chat-2EBDLEVA.cjs → embeddable-chat-XZDZOHFY.cjs} +59 -59
- package/dist/index.cjs +8 -8
- package/dist/{knowledge-YA5SFLQP.cjs → knowledge-RJZJFD2Y.cjs} +5 -5
- package/dist/loading-standard/engine.d.mts +1 -0
- package/dist/loading-standard/engine.d.mts.map +1 -1
- package/dist/loading-standard/rule-examples.d.mts.map +1 -1
- package/dist/{logs-LQX2CNVB.cjs → logs-3WZ4GROE.cjs} +12 -12
- package/dist/{policies-LWAUO6NR.cjs → policies-E6WQEXDF.cjs} +8 -8
- package/dist/{scripts-W46RQ64X.cjs → scripts-JLCM42F4.cjs} +9 -9
- package/dist/{software-update-OVR26DUF.cjs → software-update-BVBHAROC.cjs} +7 -7
- package/package.json +1 -1
- package/src/components/chat/chat-context-picker.tsx +30 -16
- package/src/loading-standard/engine.mjs +49 -2
- package/src/loading-standard/rule-examples.mjs +35 -3
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkLOCJD7TDcjs = require('./chunk-LOCJD7TD.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 _chunkQNIUDJAKcjs = require('./chunk-QNIUDJAK.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -24,7 +24,7 @@ var _chunk5PDOKPBFcjs = require('./chunk-5PDOKPBF.cjs');
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkZ66FOMSAcjs = require('./chunk-Z66FOMSA.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 _chunkCRVXQYUZcjs = require('./chunk-CRVXQYUZ.cjs');
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
var
|
|
46
|
+
var _chunk7E4BC3AFcjs = require('./chunk-7E4BC3AF.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 = _chunkCRVXQYUZcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
118
|
+
var DEFAULT_STATUS_PARAM_KEY = _chunkCRVXQYUZcjs.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 = _chunkCRVXQYUZcjs.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
|
+
_chunk7E4BC3AFcjs.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
|
+
_chunkLOCJD7TDcjs.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, _chunkZ66FOMSAcjs.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
|
+
_chunkLOCJD7TDcjs.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 = _chunkZ66FOMSAcjs.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 = _chunk7E4BC3AFcjs.useCaptions.call(void 0, );
|
|
372
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ66FOMSAcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
373
373
|
const seed = initialData == null ? void 0 : initialData;
|
|
374
374
|
const {
|
|
375
375
|
data: release,
|
|
@@ -475,7 +475,7 @@ function ReleaseDetailPage({
|
|
|
475
475
|
children: [
|
|
476
476
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CONTENT_STACK_CLASS, children: [
|
|
477
477
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
478
|
-
|
|
478
|
+
_chunkZ66FOMSAcjs.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
|
+
_chunkZ66FOMSAcjs.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
|
+
_chunkZ66FOMSAcjs.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
|
+
_chunkZ66FOMSAcjs.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
|
+
_chunkZ66FOMSAcjs.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, _chunkZ66FOMSAcjs.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
|
+
_chunkZ66FOMSAcjs.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, _chunk7E4BC3AFcjs.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 = _chunk7E4BC3AFcjs.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: _chunkCRVXQYUZcjs.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
|
+
_chunkZ66FOMSAcjs.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
|
+
_chunkZ66FOMSAcjs.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, _chunkZ66FOMSAcjs.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, _chunkZ66FOMSAcjs.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 = _chunkCRVXQYUZcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1130
|
+
var DEFAULT_STATUS_PARAM_KEY2 = _chunkCRVXQYUZcjs.DEV_SECTION_PARAM_KEYS.status;
|
|
1131
1131
|
function RoadmapView({
|
|
1132
1132
|
endpoint = DEFAULT_ENDPOINT3,
|
|
1133
1133
|
initialItems,
|
|
@@ -1151,18 +1151,18 @@ function RoadmapView({
|
|
|
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 = _chunkLOCJD7TDcjs.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, _chunkZ66FOMSAcjs.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, _chunkZ66FOMSAcjs.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, _chunkZ66FOMSAcjs.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, _chunkLOCJD7TDcjs.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, _chunkLOCJD7TDcjs.DeliveryRow, { item, id: _chunkCRVXQYUZcjs.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 = _chunkCRVXQYUZcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1212
|
+
var DEFAULT_TASK_TYPE_PARAM_KEY = _chunkCRVXQYUZcjs.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 = _chunkLOCJD7TDcjs.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, _chunkZ66FOMSAcjs.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, _chunkZ66FOMSAcjs.DataSyncLine, { sync, loading: isLoading && !data }),
|
|
1297
1297
|
!isLoading && !hasResults && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1298
|
-
|
|
1298
|
+
_chunkLOCJD7TDcjs.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, _chunk7E4BC3AFcjs.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 = _chunkZ66FOMSAcjs.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, _chunkZ66FOMSAcjs.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, _chunkQNIUDJAKcjs.FaqSection, { ..._chunkQNIUDJAKcjs.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, _chunkZ66FOMSAcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
1591
1591
|
}
|
|
1592
1592
|
|
|
1593
1593
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkCRVXQYUZcjs = require('./chunk-CRVXQYUZ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk7E4BC3AFcjs = require('./chunk-7E4BC3AF.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk5GJM7VRRcjs = require('./chunk-5GJM7VRR.cjs');
|
|
@@ -44,7 +44,7 @@ function isSummaryData(value) {
|
|
|
44
44
|
}
|
|
45
45
|
function TicketLiveProvider({ children, enabled = true }) {
|
|
46
46
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
47
|
-
const identity =
|
|
47
|
+
const identity = _chunk7E4BC3AFcjs.useChatIdentity.call(void 0, enabled);
|
|
48
48
|
const queryClient = _reactquery.useQueryClient.call(void 0, );
|
|
49
49
|
const streamUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _ => _.endpoints, 'access', _2 => _2.ticketStreamUrl]), () => ( TICKET_STREAM_ENDPOINT));
|
|
50
50
|
const readUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _3 => _3.endpoints, 'access', _4 => _4.ticketReadUrl]), () => ( TICKET_READ_ENDPOINT));
|
|
@@ -160,7 +160,7 @@ function TicketLiveProvider({ children, enabled = true }) {
|
|
|
160
160
|
_react2.default.useEffect(() => {
|
|
161
161
|
if (!streamEnabled) return void 0;
|
|
162
162
|
if (typeof window === "undefined") return void 0;
|
|
163
|
-
subscriptionRef.current =
|
|
163
|
+
subscriptionRef.current = _chunkCRVXQYUZcjs.createSseSubscription.call(void 0, {
|
|
164
164
|
url: streamUrl,
|
|
165
165
|
onEvent: (name, data) => handlersRef.current.onEvent(name, data),
|
|
166
166
|
onStatusChange: (status) => handlersRef.current.onStatus(status),
|