@flamingo-stack/openframe-frontend-core 0.0.759 → 0.0.761
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-4IXA5CJT.cjs → chunk-4EM7HIIM.cjs} +105 -105
- package/dist/{chunk-WBSYC6EY.cjs → chunk-6M54EVOA.cjs} +9 -9
- package/dist/{chunk-XXM74P3N.cjs → chunk-6T6O36LT.cjs} +16 -16
- package/dist/{chunk-DHFQECP3.cjs → chunk-B7AOUPBV.cjs} +11 -11
- package/dist/{chunk-G7RDJACG.cjs → chunk-D252ICCO.cjs} +4 -4
- package/dist/{chunk-I4W4DQ6C.cjs → chunk-EMSOBT6R.cjs} +4 -4
- package/dist/{chunk-SYACKQYF.cjs → chunk-G6IK3HC5.cjs} +17 -17
- package/dist/{chunk-6VDOHVYE.cjs → chunk-GKRHGVB4.cjs} +68 -68
- package/dist/{chunk-S23DIVIP.cjs → chunk-GLQBCQOF.cjs} +26 -26
- package/dist/{chunk-CDA2MY7U.cjs → chunk-H45OTVYI.cjs} +10 -10
- package/dist/{chunk-F7WIKBRI.cjs → chunk-HQYWVNQL.cjs} +4 -4
- package/dist/{chunk-SIOSQMIB.cjs → chunk-LOM3S64Z.cjs} +3 -3
- package/dist/{chunk-EFCX5SYN.cjs → chunk-NOFJH7MA.cjs} +6 -6
- package/dist/{chunk-WGFTIEHY.cjs → chunk-OBXZDUC3.cjs} +43 -43
- package/dist/{chunk-QTYSYEHK.cjs → chunk-SUHPBFNU.cjs} +11 -6
- package/dist/{chunk-O75A3FBT.cjs → chunk-TIV74DVS.cjs} +36 -36
- package/dist/{chunk-7ITYKDJN.cjs → chunk-VAZTFCVY.cjs} +7 -7
- package/dist/{cloud-tenants-YUMG3O36.cjs → cloud-tenants-BDGV4N2T.cjs} +4 -4
- package/dist/components/case-studies/index.cjs +14 -14
- package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
- package/dist/components/chat/chat-message-enhanced.js +9 -6
- package/dist/components/chat/chat-message-list.d.ts.map +1 -1
- package/dist/components/chat/chat-message-list.js +2 -0
- package/dist/components/chat/chat-sidebar.js +1 -1
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/types/component.types.d.ts +10 -0
- package/dist/components/chat/types/component.types.d.ts.map +1 -1
- 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 +56 -56
- package/dist/components/index.cjs +36 -36
- package/dist/components/meeting-scheduler/index.cjs +22 -22
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/navigation/navigation-sidebar-item.js +1 -1
- package/dist/components/onboarding-guides/index.cjs +6 -6
- package/dist/components/product-demo/index.cjs +7 -7
- package/dist/components/tickets/index.cjs +9 -9
- package/dist/components/ui/index.cjs +4 -4
- package/dist/{devices-EFDFNWIV.cjs → devices-Q5YHMXGV.cjs} +5 -5
- package/dist/{embeddable-chat-LTXUQWEK.cjs → embeddable-chat-ST5IR6VN.cjs} +66 -66
- package/dist/index.cjs +8 -8
- package/dist/{knowledge-UT2XI45N.cjs → knowledge-UJTJT36J.cjs} +5 -5
- package/dist/{logs-ZTYEI35Y.cjs → logs-WMNITBLM.cjs} +12 -12
- package/dist/{policies-S3IF2U3D.cjs → policies-TRXVBOH7.cjs} +8 -8
- package/dist/{scripts-IZWNCX5A.cjs → scripts-HECY7XDL.cjs} +9 -9
- package/dist/{software-update-6T4GFJPA.cjs → software-update-NNFLEMYD.cjs} +7 -7
- package/package.json +1 -1
- package/src/components/chat/chat-message-enhanced.tsx +19 -9
- package/src/components/chat/chat-message-list.tsx +2 -0
- package/src/components/chat/chat-sidebar.tsx +1 -1
- package/src/components/chat/types/component.types.ts +10 -0
- package/src/components/navigation/navigation-sidebar-item.tsx +1 -1
|
@@ -6,14 +6,14 @@ var _chunkWBOHLXFCcjs = require('./chunk-WBOHLXFC.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkH45OTVYIcjs = require('./chunk-H45OTVYI.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunk5E6JHOGXcjs = require('./chunk-5E6JHOGX.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkVAZTFCVYcjs = require('./chunk-VAZTFCVY.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
var _chunkVUSXDMCEcjs = require('./chunk-VUSXDMCE.cjs');
|
|
@@ -29,7 +29,7 @@ var _chunkVUSXDMCEcjs = require('./chunk-VUSXDMCE.cjs');
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunk4EM7HIIMcjs = require('./chunk-4EM7HIIM.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
var _chunkAXBVN5SWcjs = require('./chunk-AXBVN5SW.cjs');
|
|
@@ -41,12 +41,12 @@ var _chunkVUWPLQBYcjs = require('./chunk-VUWPLQBY.cjs');
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
var
|
|
44
|
+
var _chunk6T6O36LTcjs = require('./chunk-6T6O36LT.cjs');
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
|
|
49
|
-
var
|
|
49
|
+
var _chunkSUHPBFNUcjs = require('./chunk-SUHPBFNU.cjs');
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
var _chunkEWCFJLNUcjs = require('./chunk-EWCFJLNU.cjs');
|
|
@@ -108,8 +108,8 @@ var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
|
108
108
|
// src/components/shared/product-release/product-releases-view.tsx
|
|
109
109
|
var _jsxruntime = require('react/jsx-runtime');
|
|
110
110
|
var DEFAULT_ENDPOINT = "/api/releases";
|
|
111
|
-
var DEFAULT_SEARCH_PARAM_KEY =
|
|
112
|
-
var DEFAULT_STATUS_PARAM_KEY =
|
|
111
|
+
var DEFAULT_SEARCH_PARAM_KEY = _chunk6T6O36LTcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
112
|
+
var DEFAULT_STATUS_PARAM_KEY = _chunk6T6O36LTcjs.DEV_SECTION_PARAM_KEYS.releaseStatus;
|
|
113
113
|
var DEFAULT_PAGE_PARAM_KEY = "page";
|
|
114
114
|
function ReleaseRow({
|
|
115
115
|
release,
|
|
@@ -118,7 +118,7 @@ function ReleaseRow({
|
|
|
118
118
|
}) {
|
|
119
119
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
120
120
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
121
|
-
const cta =
|
|
121
|
+
const cta = _chunk6T6O36LTcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _2 => _2.composeContentUrl]), {
|
|
122
122
|
type: "product_release",
|
|
123
123
|
slug: release.slug,
|
|
124
124
|
basePath,
|
|
@@ -128,7 +128,7 @@ function ReleaseRow({
|
|
|
128
128
|
const onClick = (e) => {
|
|
129
129
|
if (e.defaultPrevented || _chunk7Z4EQOIXcjs.isModifierClick.call(void 0, e) || target === "_blank") return;
|
|
130
130
|
e.preventDefault();
|
|
131
|
-
|
|
131
|
+
_chunkSUHPBFNUcjs.executeNavigationImperative.call(void 0, {
|
|
132
132
|
runtime,
|
|
133
133
|
href: cta.href,
|
|
134
134
|
targetPlatform: cta.targetPlatform,
|
|
@@ -190,10 +190,10 @@ function ProductReleasesView({
|
|
|
190
190
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
191
191
|
};
|
|
192
192
|
if (error) {
|
|
193
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
193
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4EM7HIIMcjs.LoadError, { message: "Failed to load releases.", onRetry: reload }) });
|
|
194
194
|
}
|
|
195
195
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.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,
|
|
196
|
-
|
|
196
|
+
_chunkH45OTVYIcjs.ListEmptyState,
|
|
197
197
|
{
|
|
198
198
|
isFiltered: hasActiveFilters,
|
|
199
199
|
filtered: {
|
|
@@ -288,7 +288,7 @@ function MediaGalleryStrip({ items, className }) {
|
|
|
288
288
|
var _lucidereact = require('lucide-react');
|
|
289
289
|
|
|
290
290
|
|
|
291
|
-
var DefaultMarkdownRenderer =
|
|
291
|
+
var DefaultMarkdownRenderer = _chunk4EM7HIIMcjs.RichMarkdownRenderer;
|
|
292
292
|
var DEFAULT_ENDPOINT2 = "/api/releases";
|
|
293
293
|
function ReleaseDetailPage({
|
|
294
294
|
authorHref,
|
|
@@ -306,8 +306,8 @@ function ReleaseDetailPage({
|
|
|
306
306
|
shell = true
|
|
307
307
|
}) {
|
|
308
308
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
309
|
-
const captions =
|
|
310
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
309
|
+
const captions = _chunkSUHPBFNUcjs.useCaptions.call(void 0, );
|
|
310
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4EM7HIIMcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
311
311
|
const seed = initialData == null ? void 0 : initialData;
|
|
312
312
|
const {
|
|
313
313
|
data: release,
|
|
@@ -414,7 +414,7 @@ function ReleaseDetailPage({
|
|
|
414
414
|
backButton: showBackButton ? { label: backLabel, onClick: () => router.push(backHref) } : void 0,
|
|
415
415
|
children: [
|
|
416
416
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-6 content-md:space-y-8", children: [
|
|
417
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
417
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4EM7HIIMcjs.EntityTagBadges, { tags: release.product_release_tags }),
|
|
418
418
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid w-full grid-cols-1 overflow-hidden rounded-md border border-ods-border content-md:grid-cols-4", children: [
|
|
419
419
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-col gap-3 border-b border-ods-border bg-ods-card p-4 content-md:border-b-0 content-md:border-r", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-0", children: [
|
|
420
420
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: releaseType.toLocaleUpperCase() }),
|
|
@@ -476,7 +476,7 @@ function ReleaseDetailPage({
|
|
|
476
476
|
] })
|
|
477
477
|
] }) }) }),
|
|
478
478
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
479
|
-
|
|
479
|
+
_chunk4EM7HIIMcjs.ReleaseChangelogSection,
|
|
480
480
|
{
|
|
481
481
|
title: "Breaking Changes",
|
|
482
482
|
entries: breakingChanges || [],
|
|
@@ -487,7 +487,7 @@ function ReleaseDetailPage({
|
|
|
487
487
|
}
|
|
488
488
|
),
|
|
489
489
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
490
|
-
|
|
490
|
+
_chunk4EM7HIIMcjs.ReleaseChangelogSection,
|
|
491
491
|
{
|
|
492
492
|
title: "Features Added",
|
|
493
493
|
entries: featuresAdded || [],
|
|
@@ -497,7 +497,7 @@ function ReleaseDetailPage({
|
|
|
497
497
|
}
|
|
498
498
|
),
|
|
499
499
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
500
|
-
|
|
500
|
+
_chunk4EM7HIIMcjs.ReleaseChangelogSection,
|
|
501
501
|
{
|
|
502
502
|
title: "Bugs Fixed",
|
|
503
503
|
entries: bugFixed || [],
|
|
@@ -507,7 +507,7 @@ function ReleaseDetailPage({
|
|
|
507
507
|
}
|
|
508
508
|
),
|
|
509
509
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
510
|
-
|
|
510
|
+
_chunk4EM7HIIMcjs.ReleaseChangelogSection,
|
|
511
511
|
{
|
|
512
512
|
title: "Improvements",
|
|
513
513
|
entries: improvements || [],
|
|
@@ -533,7 +533,7 @@ function ReleaseDetailPage({
|
|
|
533
533
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "tracking-[-0.28px] text-ods-text-secondary text-h5", children: "Related Enhancements and Bug-fixes" }),
|
|
534
534
|
(() => {
|
|
535
535
|
const deliveryCount = deliveryData ? deliveryData.completed.length + deliveryData.inProgress.length : 0;
|
|
536
|
-
return deliveryLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliverySection, { data: deliveryData, isLoading: deliveryLoading }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
536
|
+
return deliveryLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliverySection, { data: deliveryData, isLoading: deliveryLoading }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4EM7HIIMcjs.FadePreview, { hiddenCount: deliveryCount - 1, collapsedHeight: 300, resetKey: deliveryCount, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliverySection, { data: deliveryData, isLoading: false }) }) });
|
|
537
537
|
})()
|
|
538
538
|
] }),
|
|
539
539
|
(_optionalChain([githubReleases, 'optionalAccess', _8 => _8.length]) || _optionalChain([knowledgeBaseLinks, 'optionalAccess', _9 => _9.length]) || migrationGuideUrl || documentationUrl) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
@@ -629,7 +629,7 @@ function useRoadmapVoting(options = {}) {
|
|
|
629
629
|
const { getSignals } = _chunkVUWPLQBYcjs.useHumanitySignals.call(void 0, );
|
|
630
630
|
const [votes, setVotes] = _react.useState.call(void 0, NO_VOTES);
|
|
631
631
|
const [loadedKey, setLoadedKey] = _react.useState.call(void 0, null);
|
|
632
|
-
const hydrated =
|
|
632
|
+
const hydrated = _chunkSUHPBFNUcjs.useIsHydrated.call(void 0, );
|
|
633
633
|
if (hydrated && loadedKey !== storageKey) {
|
|
634
634
|
setLoadedKey(storageKey);
|
|
635
635
|
setVotes(readStoredVotes(storageKey));
|
|
@@ -781,7 +781,7 @@ function RoadmapGridSingle({
|
|
|
781
781
|
_chunk7Z4EQOIXcjs.RoadmapCard,
|
|
782
782
|
{
|
|
783
783
|
item,
|
|
784
|
-
id:
|
|
784
|
+
id: _chunk6T6O36LTcjs.devSectionAnchorId.call(void 0, "roadmap", item.id),
|
|
785
785
|
userVote: getVote(item.id),
|
|
786
786
|
onVote: (voteType) => onVote(item.id, voteType),
|
|
787
787
|
isVoting: votingTasks.has(item.id)
|
|
@@ -897,7 +897,7 @@ function RoadmapGrid({
|
|
|
897
897
|
);
|
|
898
898
|
}
|
|
899
899
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
900
|
-
|
|
900
|
+
_chunk4EM7HIIMcjs.Accordion,
|
|
901
901
|
{
|
|
902
902
|
type: "multiple",
|
|
903
903
|
value: expandedQuarters,
|
|
@@ -907,13 +907,13 @@ function RoadmapGrid({
|
|
|
907
907
|
const itemCount = _optionalChain([itemsByQuarter, 'access', _18 => _18[quarter], 'optionalAccess', _19 => _19.length]) || 0;
|
|
908
908
|
const isExpanded = expandedQuarters.includes(quarter);
|
|
909
909
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
910
|
-
|
|
910
|
+
_chunk4EM7HIIMcjs.AccordionItem,
|
|
911
911
|
{
|
|
912
912
|
value: quarter,
|
|
913
913
|
id: `quarter-${quarter.replace(/\s+/g, "-").toLowerCase()}`,
|
|
914
914
|
className: "border-0",
|
|
915
915
|
children: [
|
|
916
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
916
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4EM7HIIMcjs.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: "flex items-center gap-3", children: [
|
|
917
917
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
918
918
|
"h3",
|
|
919
919
|
{
|
|
@@ -943,7 +943,7 @@ function RoadmapGrid({
|
|
|
943
943
|
}
|
|
944
944
|
)
|
|
945
945
|
] }) }),
|
|
946
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
946
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4EM7HIIMcjs.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,
|
|
947
947
|
RoadmapGridSingle,
|
|
948
948
|
{
|
|
949
949
|
items: itemsByQuarter[quarter],
|
|
@@ -982,8 +982,8 @@ function RoadmapGridSkeleton({ region = true, count = 4, showLeftMargin = true }
|
|
|
982
982
|
|
|
983
983
|
var DEFAULT_ENDPOINT3 = "/api/roadmap";
|
|
984
984
|
var SYNCED_LIST_CLASS = "flex w-full flex-col gap-[var(--spacing-system-lf)]";
|
|
985
|
-
var DEFAULT_SEARCH_PARAM_KEY2 =
|
|
986
|
-
var DEFAULT_STATUS_PARAM_KEY2 =
|
|
985
|
+
var DEFAULT_SEARCH_PARAM_KEY2 = _chunk6T6O36LTcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
986
|
+
var DEFAULT_STATUS_PARAM_KEY2 = _chunk6T6O36LTcjs.DEV_SECTION_PARAM_KEYS.status;
|
|
987
987
|
function RoadmapView({
|
|
988
988
|
endpoint = DEFAULT_ENDPOINT3,
|
|
989
989
|
initialItems,
|
|
@@ -1007,18 +1007,18 @@ function RoadmapView({
|
|
|
1007
1007
|
});
|
|
1008
1008
|
const items = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _20 => _20.items]), () => ( []));
|
|
1009
1009
|
_chunkVUWPLQBYcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkCSJO7ZGNcjs.STICKY_HEADER_OFFSET_PX });
|
|
1010
|
-
const syncInPage =
|
|
1010
|
+
const syncInPage = _chunkH45OTVYIcjs.usePageDataSync.call(void 0, _optionalChain([data, 'optionalAccess', _21 => _21.sync]), isLoading && !data);
|
|
1011
1011
|
if (error) {
|
|
1012
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1012
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4EM7HIIMcjs.LoadError, { message: "Failed to load roadmap.", onRetry: reload });
|
|
1013
1013
|
}
|
|
1014
1014
|
if (isLoading && !data) {
|
|
1015
1015
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1016
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1016
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4EM7HIIMcjs.DataSyncLine, { loading: true }),
|
|
1017
1017
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapGridSkeleton, { showLeftMargin })
|
|
1018
1018
|
] });
|
|
1019
1019
|
}
|
|
1020
1020
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1021
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1021
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4EM7HIIMcjs.DataSyncLine, { sync: _optionalChain([data, 'optionalAccess', _22 => _22.sync]) }),
|
|
1022
1022
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1023
1023
|
RoadmapGrid,
|
|
1024
1024
|
{
|
|
@@ -1068,7 +1068,7 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1068
1068
|
// → `#delivery-<external_id>`; `useScrollToHash` in
|
|
1069
1069
|
// `delivery-lists.tsx` finds the row by id and scrolls. The
|
|
1070
1070
|
// outer wrapper here ONLY exists for the row separators.
|
|
1071
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border last:border-b-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1071
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border last:border-b-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH45OTVYIcjs.DeliveryRow, { item, id: _chunk6T6O36LTcjs.devSectionAnchorId.call(void 0, "delivery", item.id) }) }, item.id)
|
|
1072
1072
|
)) }) });
|
|
1073
1073
|
}
|
|
1074
1074
|
|
|
@@ -1077,8 +1077,8 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1077
1077
|
|
|
1078
1078
|
var DEFAULT_COMPLETED_ENDPOINT = "/api/delivery/completed";
|
|
1079
1079
|
var DEFAULT_IN_PROGRESS_ENDPOINT = "/api/delivery/in-progress";
|
|
1080
|
-
var DEFAULT_SEARCH_PARAM_KEY3 =
|
|
1081
|
-
var DEFAULT_TASK_TYPE_PARAM_KEY =
|
|
1080
|
+
var DEFAULT_SEARCH_PARAM_KEY3 = _chunk6T6O36LTcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1081
|
+
var DEFAULT_TASK_TYPE_PARAM_KEY = _chunk6T6O36LTcjs.DEV_SECTION_PARAM_KEYS.deliveryTaskType;
|
|
1082
1082
|
function DeliveryLists({
|
|
1083
1083
|
completedApiEndpoint = DEFAULT_COMPLETED_ENDPOINT,
|
|
1084
1084
|
inProgressApiEndpoint = DEFAULT_IN_PROGRESS_ENDPOINT,
|
|
@@ -1142,18 +1142,18 @@ function DeliveryLists({
|
|
|
1142
1142
|
const filteredCompleted = _optionalChain([data, 'optionalAccess', _23 => _23.completed]) || [];
|
|
1143
1143
|
const filteredInProgress = _optionalChain([data, 'optionalAccess', _24 => _24.inProgress]) || [];
|
|
1144
1144
|
_chunkVUWPLQBYcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkCSJO7ZGNcjs.STICKY_HEADER_OFFSET_PX });
|
|
1145
|
-
const syncInPage =
|
|
1145
|
+
const syncInPage = _chunkH45OTVYIcjs.usePageDataSync.call(void 0, sync, isLoading && !data);
|
|
1146
1146
|
const showCompleted = true;
|
|
1147
1147
|
const showInProgress = true;
|
|
1148
1148
|
const hasActiveFilters = searchQuery !== "" || taskTypeFilter !== "all";
|
|
1149
1149
|
const hasResults = showCompleted && filteredCompleted.length > 0 || showInProgress && filteredInProgress.length > 0;
|
|
1150
1150
|
if (error) {
|
|
1151
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1151
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4EM7HIIMcjs.LoadError, { message: error, onRetry: () => window.location.reload() }) });
|
|
1152
1152
|
}
|
|
1153
1153
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[40px]", children: [
|
|
1154
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1154
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4EM7HIIMcjs.DataSyncLine, { sync, loading: isLoading && !data }),
|
|
1155
1155
|
!isLoading && !hasResults && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1156
|
-
|
|
1156
|
+
_chunkH45OTVYIcjs.ListEmptyState,
|
|
1157
1157
|
{
|
|
1158
1158
|
isFiltered: hasActiveFilters,
|
|
1159
1159
|
filtered: {
|
|
@@ -1383,7 +1383,7 @@ function LegalDocumentPage({
|
|
|
1383
1383
|
emptyStateMessage: emptyStateMessageProp,
|
|
1384
1384
|
initialData = null,
|
|
1385
1385
|
apiEndpoint,
|
|
1386
|
-
MarkdownRenderer =
|
|
1386
|
+
MarkdownRenderer = _chunk4EM7HIIMcjs.RichMarkdownRenderer,
|
|
1387
1387
|
documentsEndpoint,
|
|
1388
1388
|
backButton,
|
|
1389
1389
|
faq,
|
|
@@ -1404,7 +1404,7 @@ function LegalDocumentPage({
|
|
|
1404
1404
|
const emptyStateMessage = _nullishCoalesce(emptyStateMessageProp, () => ( `${title} is not available at this time.`));
|
|
1405
1405
|
const subtitle = _nullishCoalesce(legalDocumentStampLabel(data), () => ( fallbackDescription));
|
|
1406
1406
|
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkAXBVN5SWcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: [
|
|
1407
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1407
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4EM7HIIMcjs.DataSyncLine, { sync: data ? { source: "github", syncedAt: data.lastSynced } : null, loading: isLoading && !data }),
|
|
1408
1408
|
/* @__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: "flex-1", 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 ? (
|
|
1409
1409
|
// Loading skeleton matching Knowledge Hub pattern
|
|
1410
1410
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-6", children: [
|
|
@@ -1439,9 +1439,9 @@ function LegalDocumentPage({
|
|
|
1439
1439
|
"for more information."
|
|
1440
1440
|
] })
|
|
1441
1441
|
] }) }) }) }) }),
|
|
1442
|
-
faqSlot && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1442
|
+
faqSlot && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVAZTFCVYcjs.FaqSection, { ..._chunkVAZTFCVYcjs.pageFaqProps.call(void 0, faqSlot) })
|
|
1443
1443
|
] });
|
|
1444
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1444
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4EM7HIIMcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
1445
1445
|
}
|
|
1446
1446
|
|
|
1447
1447
|
|
|
@@ -5039,6 +5039,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
5039
5039
|
approvalVariant,
|
|
5040
5040
|
appearance: appearanceProp,
|
|
5041
5041
|
authorType: authorTypeProp,
|
|
5042
|
+
selfAuthorType,
|
|
5042
5043
|
assistantIcon,
|
|
5043
5044
|
contextItems,
|
|
5044
5045
|
resolveContextIcon,
|
|
@@ -5050,12 +5051,14 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
5050
5051
|
NavLinkAnchor,
|
|
5051
5052
|
...props
|
|
5052
5053
|
}, ref) => {
|
|
5053
|
-
const
|
|
5054
|
+
const isHuman = role === "user";
|
|
5054
5055
|
const isError = role === "error";
|
|
5055
5056
|
const inheritedAppearance = useChatAppearance();
|
|
5056
5057
|
const appearance = _nullishCoalesce(appearanceProp, () => ( inheritedAppearance));
|
|
5057
5058
|
const isV2 = appearance === _chunkLOFDIDSDcjs.CHAT_APPEARANCE.V2;
|
|
5058
|
-
const authorType = _nullishCoalesce(authorTypeProp, () => ( (
|
|
5059
|
+
const authorType = _nullishCoalesce(authorTypeProp, () => ( (isHuman ? "user" : assistantType === "mingo" ? "mingo" : "fae")));
|
|
5060
|
+
const isOtherPerson = isHuman && selfAuthorType !== void 0 && authorType !== "system" && authorType !== selfAuthorType;
|
|
5061
|
+
const isUser = isHuman && !isOtherPerson;
|
|
5059
5062
|
const hasMarkerSupport = !!renderEntityCard;
|
|
5060
5063
|
const segments = _react.useMemo.call(void 0, () => normalizeContent(content), [content]);
|
|
5061
5064
|
const askRuns = _react.useMemo.call(void 0, () => groupAskRuns(segments), [segments]);
|
|
@@ -5233,10 +5236,10 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
5233
5236
|
});
|
|
5234
5237
|
};
|
|
5235
5238
|
const isSystem = authorType === "system";
|
|
5236
|
-
const showName = isSystem || authorType === "admin" && !isUser;
|
|
5237
|
-
const displayName = name || (
|
|
5239
|
+
const showName = isSystem || isOtherPerson || authorType === "admin" && !isUser;
|
|
5240
|
+
const displayName = name || (isHuman ? "User" : assistantType === "mingo" ? "Mingo" : "Fae");
|
|
5238
5241
|
const faceBox = "h-5 w-5 flex-shrink-0";
|
|
5239
|
-
const face = !showAvatar || isSystem ? null : !
|
|
5242
|
+
const face = !showAvatar || isSystem ? null : !isHuman && !avatar && assistantIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: displayName, className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-center justify-center", faceBox), children: assistantIcon }) : !isHuman && !avatar && assistantType ? (
|
|
5240
5243
|
// An agent with no picture shows its packaged mark, never initials.
|
|
5241
5244
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "img", "aria-label": displayName, title: displayName, className: _chunk3ATAYP36cjs.cn.call(void 0, "inline-flex", faceBox), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64VMOIBcjs.AgentMark, { agent: assistantType, className: "h-full w-full rounded-full" }) })
|
|
5242
5245
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: displayName, className: "inline-flex flex-shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -5376,7 +5379,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
5376
5379
|
);
|
|
5377
5380
|
ChatMessageEnhanced.displayName = "ChatMessageEnhanced";
|
|
5378
5381
|
var MemoizedChatMessageEnhanced = _react.memo.call(void 0, ChatMessageEnhanced, (prevProps, nextProps) => {
|
|
5379
|
-
return prevProps.role === nextProps.role && prevProps.content === nextProps.content && prevProps.name === nextProps.name && prevProps.avatar === nextProps.avatar && prevProps.isTyping === nextProps.isTyping && _optionalChain([prevProps, 'access', _99 => _99.timestamp, 'optionalAccess', _100 => _100.getTime, 'call', _101 => _101()]) === _optionalChain([nextProps, 'access', _102 => _102.timestamp, 'optionalAccess', _103 => _103.getTime, 'call', _104 => _104()]) && prevProps.showAvatar === nextProps.showAvatar && prevProps.assistantType === nextProps.assistantType && prevProps.approvalVariant === nextProps.approvalVariant && prevProps.appearance === nextProps.appearance && prevProps.authorType === nextProps.authorType && prevProps.assistantIcon === nextProps.assistantIcon && prevProps.className === nextProps.className && // Reference equality — the host re-uses the same array instance per
|
|
5382
|
+
return prevProps.role === nextProps.role && prevProps.content === nextProps.content && prevProps.name === nextProps.name && prevProps.avatar === nextProps.avatar && prevProps.isTyping === nextProps.isTyping && _optionalChain([prevProps, 'access', _99 => _99.timestamp, 'optionalAccess', _100 => _100.getTime, 'call', _101 => _101()]) === _optionalChain([nextProps, 'access', _102 => _102.timestamp, 'optionalAccess', _103 => _103.getTime, 'call', _104 => _104()]) && prevProps.showAvatar === nextProps.showAvatar && prevProps.assistantType === nextProps.assistantType && prevProps.approvalVariant === nextProps.approvalVariant && prevProps.appearance === nextProps.appearance && prevProps.authorType === nextProps.authorType && prevProps.selfAuthorType === nextProps.selfAuthorType && prevProps.assistantIcon === nextProps.assistantIcon && prevProps.className === nextProps.className && // Reference equality — the host re-uses the same array instance per
|
|
5380
5383
|
// message (it's set once on the optimistic send and never mutated).
|
|
5381
5384
|
prevProps.contextItems === nextProps.contextItems && prevProps.resolveContextIcon === nextProps.resolveContextIcon && prevProps.renderContextItem === nextProps.renderContextItem && // Host keeps this stable (module const / useCallback), so reference
|
|
5382
5385
|
// equality holds across streaming chunks.
|
|
@@ -5581,6 +5584,7 @@ var ChatMessageList = _react.forwardRef.call(void 0,
|
|
|
5581
5584
|
contentClassName,
|
|
5582
5585
|
assistantType,
|
|
5583
5586
|
approvalVariant,
|
|
5587
|
+
selfAuthorType,
|
|
5584
5588
|
appearance = _chunkLOFDIDSDcjs.CHAT_APPEARANCE.CLASSIC,
|
|
5585
5589
|
assistantIcon,
|
|
5586
5590
|
pendingApprovals,
|
|
@@ -5986,6 +5990,7 @@ var ChatMessageList = _react.forwardRef.call(void 0,
|
|
|
5986
5990
|
assistantType: message.assistantType || assistantType,
|
|
5987
5991
|
approvalVariant,
|
|
5988
5992
|
authorType: message.authorType,
|
|
5993
|
+
selfAuthorType,
|
|
5989
5994
|
assistantIcon: message.role !== "user" ? assistantIcon : void 0,
|
|
5990
5995
|
contextItems: message.contextItems,
|
|
5991
5996
|
resolveContextIcon,
|