@flamingo-stack/openframe-frontend-core 0.0.835 → 0.0.837
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/route-styles-server.mjs +6 -1
- package/dist/{chunk-DQ6JYOHD.cjs → chunk-4644MFU2.cjs} +8 -8
- package/dist/{chunk-AZRDKZNG.cjs → chunk-66ENLZYE.cjs} +4 -4
- package/dist/{chunk-UQS2RI5Y.cjs → chunk-7XRFAHJF.cjs} +5 -5
- package/dist/{chunk-UQ52NWTB.cjs → chunk-BWJHIPB6.cjs} +40 -40
- package/dist/{chunk-IUHV55D7.cjs → chunk-D4DRZIUK.cjs} +9 -9
- package/dist/{chunk-EQB3NSY6.cjs → chunk-EDBQXRKN.cjs} +123 -145
- package/dist/{chunk-4OP2VVPV.cjs → chunk-FEISG7YJ.cjs} +3 -3
- package/dist/{chunk-SFJXIHFR.cjs → chunk-FU7VLVYI.cjs} +11 -11
- package/dist/{chunk-I7QIIZAI.cjs → chunk-J63RYNMW.cjs} +19 -19
- package/dist/{chunk-UFF4TRZH.cjs → chunk-KBPKMASF.cjs} +3 -3
- package/dist/{chunk-XXHCM2XS.cjs → chunk-NAB6HCQ3.cjs} +39 -39
- package/dist/{chunk-VMFBLMP6.cjs → chunk-RJJPOPF7.cjs} +2 -2
- package/dist/{chunk-M5PGFNJG.cjs → chunk-S3CSQIDW.cjs} +53 -53
- package/dist/{chunk-DAOVWHCN.cjs → chunk-S5HBEMZN.cjs} +47 -47
- package/dist/{chunk-VQG2A7GA.cjs → chunk-TRZEFT2N.cjs} +2 -2
- package/dist/{chunk-WAMDWVYC.cjs → chunk-UU5MDCD4.cjs} +11 -11
- package/dist/{chunk-LQDPAMXK.cjs → chunk-WAYYHZFS.cjs} +18 -18
- package/dist/{chunk-D6ZSRGH2.cjs → chunk-Z7A7IZWL.cjs} +10 -5
- package/dist/{chunk-HBFYEBXN.cjs → chunk-ZWI6A4SG.cjs} +4 -4
- package/dist/{cloud-tenants-THCHEWBM.cjs → cloud-tenants-MJHJKTLX.cjs} +5 -5
- package/dist/components/case-studies/index.cjs +17 -17
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/mingo-quick-action-wall.d.ts.map +1 -1
- package/dist/components/chat/mingo-quick-action-wall.js +11 -6
- package/dist/components/contact/index.cjs +6 -6
- package/dist/components/docs/index.cjs +9 -9
- package/dist/components/embeds/index.cjs +6 -6
- package/dist/components/faq/index.cjs +7 -7
- package/dist/components/features/devices/device-selector/device-selector.d.ts.map +1 -1
- package/dist/components/features/devices/device-selector/device-selector.js +0 -10
- package/dist/components/features/devices/device-selector/narrowing.d.ts +2 -2
- package/dist/components/features/devices/devices-filter-toolbar.d.ts +1 -2
- package/dist/components/features/devices/devices-filter-toolbar.d.ts.map +1 -1
- package/dist/components/features/devices/devices-filter-toolbar.js +0 -2
- package/dist/components/features/devices/devices-list.d.ts +1 -1
- package/dist/components/features/devices/devices-list.d.ts.map +1 -1
- package/dist/components/features/devices/devices-list.js +0 -9
- package/dist/components/features/devices/devices-panel-view.d.ts.map +1 -1
- package/dist/components/features/devices/devices-panel-view.js +0 -1
- package/dist/components/features/index.cjs +5 -5
- package/dist/components/help-center-pages/index.cjs +62 -62
- package/dist/components/index.cjs +38 -38
- package/dist/components/meeting-scheduler/index.cjs +30 -30
- package/dist/components/navigation/index.cjs +8 -8
- package/dist/components/onboarding-guides/index.cjs +7 -7
- package/dist/components/product-demo/index.cjs +14 -14
- package/dist/components/tickets/index.cjs +10 -10
- package/dist/components/ui/index.cjs +5 -5
- package/dist/{devices-MPRDMXXU.cjs → devices-CXVCHKOY.cjs} +6 -6
- package/dist/{embeddable-chat-TRGESG7U.cjs → embeddable-chat-M7L3DBNO.cjs} +71 -71
- package/dist/index.cjs +9 -9
- package/dist/{knowledge-TFTDHYGR.cjs → knowledge-FLQDJJPG.cjs} +6 -6
- package/dist/{logs-CSSJG4F7.cjs → logs-D5QE4XXT.cjs} +12 -12
- package/dist/{policies-ELFYUN5P.cjs → policies-W62WSRBO.cjs} +9 -9
- package/dist/{scripts-37L6FIKG.cjs → scripts-MVJAIKSW.cjs} +10 -10
- package/dist/{software-update-BSA4NLHO.cjs → software-update-XP5CN7YZ.cjs} +8 -8
- package/package.json +1 -1
- package/src/components/chat/mingo-quick-action-wall.tsx +18 -7
- package/src/components/features/devices/device-selector/device-selector.tsx +1 -12
- package/src/components/features/devices/device-selector/narrowing.ts +2 -2
- package/src/components/features/devices/devices-filter-toolbar.tsx +0 -3
- package/src/components/features/devices/devices-list.tsx +1 -11
- package/src/components/features/devices/devices-panel-view.tsx +0 -1
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkFU7VLVYIcjs = require('./chunk-FU7VLVYI.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkWVNUCKB7cjs = require('./chunk-WVNUCKB7.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunk4644MFU2cjs = require('./chunk-4644MFU2.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -23,7 +23,7 @@ var _chunkDQ6JYOHDcjs = require('./chunk-DQ6JYOHD.cjs');
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkEDBQXRKNcjs = require('./chunk-EDBQXRKN.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
var _chunkFNNDGOR3cjs = require('./chunk-FNNDGOR3.cjs');
|
|
@@ -35,13 +35,13 @@ var _chunkLWMWY3JOcjs = require('./chunk-LWMWY3JO.cjs');
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
38
|
+
var _chunkWAYYHZFScjs = require('./chunk-WAYYHZFS.cjs');
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
var
|
|
44
|
+
var _chunkZ7A7IZWLcjs = require('./chunk-Z7A7IZWL.cjs');
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
var _chunkEWCFJLNUcjs = require('./chunk-EWCFJLNU.cjs');
|
|
@@ -118,8 +118,8 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
118
118
|
var DEFAULT_ENDPOINT = "/api/releases";
|
|
119
119
|
var PRODUCT_RELEASES_PAGE_SIZE = 5;
|
|
120
120
|
var PAGER_ROW_CLASS = "flex w-full justify-center";
|
|
121
|
-
var DEFAULT_SEARCH_PARAM_KEY =
|
|
122
|
-
var DEFAULT_STATUS_PARAM_KEY =
|
|
121
|
+
var DEFAULT_SEARCH_PARAM_KEY = _chunkWAYYHZFScjs.DEV_SECTION_PARAM_KEYS.search;
|
|
122
|
+
var DEFAULT_STATUS_PARAM_KEY = _chunkWAYYHZFScjs.DEV_SECTION_PARAM_KEYS.releaseStatus;
|
|
123
123
|
var DEFAULT_PAGE_PARAM_KEY = "page";
|
|
124
124
|
function ReleaseRow({
|
|
125
125
|
release,
|
|
@@ -127,7 +127,7 @@ function ReleaseRow({
|
|
|
127
127
|
buildCardProps
|
|
128
128
|
}) {
|
|
129
129
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
130
|
-
const cta =
|
|
130
|
+
const cta = _chunkWAYYHZFScjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _2 => _2.composeContentUrl]), {
|
|
131
131
|
type: "product_release",
|
|
132
132
|
slug: release.slug,
|
|
133
133
|
basePath,
|
|
@@ -186,7 +186,7 @@ function ProductReleasesView({
|
|
|
186
186
|
initialData
|
|
187
187
|
});
|
|
188
188
|
const isLoading = inScope || fetching;
|
|
189
|
-
|
|
189
|
+
_chunkFU7VLVYIcjs.usePageDataSync.call(void 0, _optionalChain([data, 'optionalAccess', _3 => _3.sync]), isLoading && !data);
|
|
190
190
|
const releases = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _4 => _4.data]), () => ( []));
|
|
191
191
|
const totalCount = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _5 => _5.count]), () => ( 0));
|
|
192
192
|
const totalPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, totalCount, itemsPerPage);
|
|
@@ -205,10 +205,10 @@ function ProductReleasesView({
|
|
|
205
205
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
206
206
|
};
|
|
207
207
|
if (error) {
|
|
208
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
208
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEDBQXRKNcjs.LoadError, { message: "Failed to load releases.", onRetry: reload }) });
|
|
209
209
|
}
|
|
210
210
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.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,
|
|
211
|
-
|
|
211
|
+
_chunkFU7VLVYIcjs.ListEmptyState,
|
|
212
212
|
{
|
|
213
213
|
isFiltered: hasActiveFilters,
|
|
214
214
|
filtered: {
|
|
@@ -321,7 +321,7 @@ function MediaGalleryStripSkeleton({
|
|
|
321
321
|
var _lucidereact = require('lucide-react');
|
|
322
322
|
|
|
323
323
|
|
|
324
|
-
var DefaultMarkdownRenderer =
|
|
324
|
+
var DefaultMarkdownRenderer = _chunkEDBQXRKNcjs.RichMarkdownRenderer;
|
|
325
325
|
var CONTENT_STACK_CLASS = "space-y-6 content-md:space-y-8";
|
|
326
326
|
var RELEASE_TITLE_SKELETON_LINES = { phone: 7, md: 4, lg: 2 };
|
|
327
327
|
var METADATA_GRID_CLASS = "grid w-full grid-cols-1 overflow-hidden rounded-md border border-ods-border content-md:grid-cols-4";
|
|
@@ -370,8 +370,8 @@ function ReleaseDetailPage({
|
|
|
370
370
|
shell = true
|
|
371
371
|
}) {
|
|
372
372
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
373
|
-
const captions =
|
|
374
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
373
|
+
const captions = _chunkZ7A7IZWLcjs.useCaptions.call(void 0, );
|
|
374
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEDBQXRKNcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
375
375
|
const seed = initialData == null ? void 0 : initialData;
|
|
376
376
|
const {
|
|
377
377
|
data: release,
|
|
@@ -477,7 +477,7 @@ function ReleaseDetailPage({
|
|
|
477
477
|
children: [
|
|
478
478
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CONTENT_STACK_CLASS, children: [
|
|
479
479
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
480
|
-
|
|
480
|
+
_chunkEDBQXRKNcjs.EntityTagBadges,
|
|
481
481
|
{
|
|
482
482
|
tags: view.product_release_tags,
|
|
483
483
|
max: RELEASE_TAG_ROW_MAX,
|
|
@@ -558,7 +558,7 @@ function ReleaseDetailPage({
|
|
|
558
558
|
] })
|
|
559
559
|
] }) }) }),
|
|
560
560
|
loading ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
561
|
-
|
|
561
|
+
_chunkEDBQXRKNcjs.ReleaseChangelogSection,
|
|
562
562
|
{
|
|
563
563
|
title: "Breaking Changes",
|
|
564
564
|
entries: breakingChanges || [],
|
|
@@ -570,7 +570,7 @@ function ReleaseDetailPage({
|
|
|
570
570
|
}
|
|
571
571
|
),
|
|
572
572
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
573
|
-
|
|
573
|
+
_chunkEDBQXRKNcjs.ReleaseChangelogSection,
|
|
574
574
|
{
|
|
575
575
|
title: "Features Added",
|
|
576
576
|
entries: featuresAdded || [],
|
|
@@ -580,7 +580,7 @@ function ReleaseDetailPage({
|
|
|
580
580
|
}
|
|
581
581
|
),
|
|
582
582
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
583
|
-
|
|
583
|
+
_chunkEDBQXRKNcjs.ReleaseChangelogSection,
|
|
584
584
|
{
|
|
585
585
|
title: "Bugs Fixed",
|
|
586
586
|
entries: bugFixed || [],
|
|
@@ -590,7 +590,7 @@ function ReleaseDetailPage({
|
|
|
590
590
|
}
|
|
591
591
|
),
|
|
592
592
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
593
|
-
|
|
593
|
+
_chunkEDBQXRKNcjs.ReleaseChangelogSection,
|
|
594
594
|
{
|
|
595
595
|
title: "Improvements",
|
|
596
596
|
entries: improvements || [],
|
|
@@ -619,9 +619,9 @@ function ReleaseDetailPage({
|
|
|
619
619
|
return deliveryLoading ? (
|
|
620
620
|
// The loaded preview's frame, its height written into the markup (`fixedHeight`), so the tables'
|
|
621
621
|
// loading state takes the collapsed preview's place, toggle row included. Inert: nothing to open yet.
|
|
622
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { inert: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
622
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { inert: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEDBQXRKNcjs.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 }) }) }) })
|
|
623
623
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
624
|
-
|
|
624
|
+
_chunkEDBQXRKNcjs.FadePreview,
|
|
625
625
|
{
|
|
626
626
|
hiddenCount: deliveryCount - 1,
|
|
627
627
|
collapsedHeight: DELIVERY_PREVIEW_HEIGHT,
|
|
@@ -701,7 +701,7 @@ function ReleaseDetailPage({
|
|
|
701
701
|
]
|
|
702
702
|
}
|
|
703
703
|
);
|
|
704
|
-
return renderShell(loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
704
|
+
return renderShell(loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ7A7IZWLcjs.LoadingFallback, { label: "Loading the release", children: page }) : page);
|
|
705
705
|
}
|
|
706
706
|
|
|
707
707
|
// src/components/shared/roadmap/use-roadmap-voting.ts
|
|
@@ -724,7 +724,7 @@ function useRoadmapVoting(options = {}) {
|
|
|
724
724
|
const { getSignals } = _chunkLWMWY3JOcjs.useHumanitySignals.call(void 0, );
|
|
725
725
|
const [votes, setVotes] = _react.useState.call(void 0, NO_VOTES);
|
|
726
726
|
const [loadedKey, setLoadedKey] = _react.useState.call(void 0, null);
|
|
727
|
-
const hydrated =
|
|
727
|
+
const hydrated = _chunkZ7A7IZWLcjs.useIsHydrated.call(void 0, );
|
|
728
728
|
if (hydrated && loadedKey !== storageKey) {
|
|
729
729
|
setLoadedKey(storageKey);
|
|
730
730
|
setVotes(readStoredVotes(storageKey));
|
|
@@ -885,7 +885,7 @@ function RoadmapGridSingle({
|
|
|
885
885
|
_chunkH3WTYAVRcjs.RoadmapCard,
|
|
886
886
|
{
|
|
887
887
|
item,
|
|
888
|
-
id:
|
|
888
|
+
id: _chunkWAYYHZFScjs.devSectionAnchorId.call(void 0, "roadmap", item.id),
|
|
889
889
|
userVote: getVote(item.id),
|
|
890
890
|
onVote: onVote ? (voteType) => onVote(item.id, voteType) : void 0,
|
|
891
891
|
isVoting: votingTasks.has(item.id)
|
|
@@ -1055,7 +1055,7 @@ function RoadmapGrid({
|
|
|
1055
1055
|
);
|
|
1056
1056
|
}
|
|
1057
1057
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1058
|
-
|
|
1058
|
+
_chunkEDBQXRKNcjs.Accordion,
|
|
1059
1059
|
{
|
|
1060
1060
|
type: "multiple",
|
|
1061
1061
|
value: expandedQuarters,
|
|
@@ -1065,14 +1065,14 @@ function RoadmapGrid({
|
|
|
1065
1065
|
const itemCount = _optionalChain([itemsByQuarter, 'access', _19 => _19[quarter], 'optionalAccess', _20 => _20.length]) || 0;
|
|
1066
1066
|
const isExpanded = expandedQuarters.includes(quarter);
|
|
1067
1067
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1068
|
-
|
|
1068
|
+
_chunkEDBQXRKNcjs.AccordionItem,
|
|
1069
1069
|
{
|
|
1070
1070
|
value: quarter,
|
|
1071
1071
|
id: `quarter-${quarter.replace(/\s+/g, "-").toLowerCase()}`,
|
|
1072
1072
|
className: "border-0",
|
|
1073
1073
|
"data-loading-item": true,
|
|
1074
1074
|
children: [
|
|
1075
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1075
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEDBQXRKNcjs.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: [
|
|
1076
1076
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1077
1077
|
"h3",
|
|
1078
1078
|
{
|
|
@@ -1102,7 +1102,7 @@ function RoadmapGrid({
|
|
|
1102
1102
|
}
|
|
1103
1103
|
)
|
|
1104
1104
|
] }) }),
|
|
1105
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1105
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEDBQXRKNcjs.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,
|
|
1106
1106
|
RoadmapGridSingle,
|
|
1107
1107
|
{
|
|
1108
1108
|
items: itemsByQuarter[quarter],
|
|
@@ -1128,8 +1128,8 @@ function RoadmapGrid({
|
|
|
1128
1128
|
var DEFAULT_ENDPOINT3 = "/api/roadmap";
|
|
1129
1129
|
var NO_ITEMS = [];
|
|
1130
1130
|
var SYNCED_LIST_CLASS = "flex w-full flex-col gap-[var(--spacing-system-lf)]";
|
|
1131
|
-
var DEFAULT_SEARCH_PARAM_KEY2 =
|
|
1132
|
-
var DEFAULT_STATUS_PARAM_KEY2 =
|
|
1131
|
+
var DEFAULT_SEARCH_PARAM_KEY2 = _chunkWAYYHZFScjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1132
|
+
var DEFAULT_STATUS_PARAM_KEY2 = _chunkWAYYHZFScjs.DEV_SECTION_PARAM_KEYS.status;
|
|
1133
1133
|
function RoadmapView({
|
|
1134
1134
|
endpoint = DEFAULT_ENDPOINT3,
|
|
1135
1135
|
initialItems,
|
|
@@ -1153,18 +1153,18 @@ function RoadmapView({
|
|
|
1153
1153
|
});
|
|
1154
1154
|
const items = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _21 => _21.items]), () => ( []));
|
|
1155
1155
|
_chunkLWMWY3JOcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkZABZIM2Ycjs.STICKY_HEADER_OFFSET_PX });
|
|
1156
|
-
const syncInPage =
|
|
1156
|
+
const syncInPage = _chunkFU7VLVYIcjs.usePageDataSync.call(void 0, _optionalChain([data, 'optionalAccess', _22 => _22.sync]), isLoading && !data);
|
|
1157
1157
|
if (error) {
|
|
1158
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1158
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEDBQXRKNcjs.LoadError, { message: "Failed to load roadmap.", onRetry: reload });
|
|
1159
1159
|
}
|
|
1160
1160
|
if (isLoading && !data) {
|
|
1161
1161
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1162
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1162
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEDBQXRKNcjs.DataSyncLine, { loading: true }),
|
|
1163
1163
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapGrid, { items: NO_ITEMS, isLoading: true, groupByQuarter: true, showLeftMargin })
|
|
1164
1164
|
] });
|
|
1165
1165
|
}
|
|
1166
1166
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1167
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1167
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEDBQXRKNcjs.DataSyncLine, { sync: _optionalChain([data, 'optionalAccess', _23 => _23.sync]) }),
|
|
1168
1168
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1169
1169
|
RoadmapGrid,
|
|
1170
1170
|
{
|
|
@@ -1188,7 +1188,7 @@ var TABLE_FRAME_CLASS = `w-full ${_chunkTD4CC4KVcjs.CONTENT_CARD_SKELETON_FRAME_
|
|
|
1188
1188
|
var ROW_SEPARATOR_CLASS = "border-b border-ods-border last:border-b-0";
|
|
1189
1189
|
var DELIVERY_TABLE_SKELETON_ROWS = 5;
|
|
1190
1190
|
function DeliveryTableSkeleton() {
|
|
1191
|
-
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, _chunk63A4GZMBcjs.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,
|
|
1191
|
+
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, _chunk63A4GZMBcjs.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, _chunkFU7VLVYIcjs.DeliveryRow, { loading: true }) }) }) }) });
|
|
1192
1192
|
}
|
|
1193
1193
|
function DeliveryTable({ items, isLoading = false }) {
|
|
1194
1194
|
if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || isLoading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliveryTableSkeleton, {});
|
|
@@ -1201,7 +1201,7 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1201
1201
|
// → `#delivery-<external_id>`; `useScrollToHash` in
|
|
1202
1202
|
// `delivery-lists.tsx` finds the row by id and scrolls. The
|
|
1203
1203
|
// outer wrapper here ONLY exists for the row separators.
|
|
1204
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1204
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFU7VLVYIcjs.DeliveryRow, { item, id: _chunkWAYYHZFScjs.devSectionAnchorId.call(void 0, "delivery", item.id) }) }, item.id)
|
|
1205
1205
|
)) }) });
|
|
1206
1206
|
}
|
|
1207
1207
|
|
|
@@ -1210,8 +1210,8 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1210
1210
|
|
|
1211
1211
|
var DEFAULT_COMPLETED_ENDPOINT = "/api/delivery/completed";
|
|
1212
1212
|
var DEFAULT_IN_PROGRESS_ENDPOINT = "/api/delivery/in-progress";
|
|
1213
|
-
var DEFAULT_SEARCH_PARAM_KEY3 =
|
|
1214
|
-
var DEFAULT_TASK_TYPE_PARAM_KEY =
|
|
1213
|
+
var DEFAULT_SEARCH_PARAM_KEY3 = _chunkWAYYHZFScjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1214
|
+
var DEFAULT_TASK_TYPE_PARAM_KEY = _chunkWAYYHZFScjs.DEV_SECTION_PARAM_KEYS.deliveryTaskType;
|
|
1215
1215
|
function DeliveryLists({
|
|
1216
1216
|
completedApiEndpoint = DEFAULT_COMPLETED_ENDPOINT,
|
|
1217
1217
|
inProgressApiEndpoint = DEFAULT_IN_PROGRESS_ENDPOINT,
|
|
@@ -1286,18 +1286,18 @@ function DeliveryLists({
|
|
|
1286
1286
|
const filteredCompleted = _optionalChain([data, 'optionalAccess', _24 => _24.completed]) || [];
|
|
1287
1287
|
const filteredInProgress = _optionalChain([data, 'optionalAccess', _25 => _25.inProgress]) || [];
|
|
1288
1288
|
_chunkLWMWY3JOcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkZABZIM2Ycjs.STICKY_HEADER_OFFSET_PX });
|
|
1289
|
-
const syncInPage =
|
|
1289
|
+
const syncInPage = _chunkFU7VLVYIcjs.usePageDataSync.call(void 0, sync, isLoading && !data);
|
|
1290
1290
|
const showCompleted = true;
|
|
1291
1291
|
const showInProgress = true;
|
|
1292
1292
|
const hasActiveFilters = searchQuery !== "" || taskTypeFilter !== "all";
|
|
1293
1293
|
const hasResults = showCompleted && filteredCompleted.length > 0 || showInProgress && filteredInProgress.length > 0;
|
|
1294
1294
|
if (error) {
|
|
1295
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1295
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEDBQXRKNcjs.LoadError, { message: error, onRetry: () => window.location.reload() }) });
|
|
1296
1296
|
}
|
|
1297
1297
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[40px]", children: [
|
|
1298
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1298
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEDBQXRKNcjs.DataSyncLine, { sync, loading: isLoading && !data }),
|
|
1299
1299
|
!isLoading && !hasResults && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1300
|
-
|
|
1300
|
+
_chunkFU7VLVYIcjs.ListEmptyState,
|
|
1301
1301
|
{
|
|
1302
1302
|
isFiltered: hasActiveFilters,
|
|
1303
1303
|
filtered: {
|
|
@@ -1521,7 +1521,7 @@ function legalDocumentStampLabel(doc) {
|
|
|
1521
1521
|
}
|
|
1522
1522
|
var LEGAL_DOCUMENT_SKELETON_SECTIONS = 3;
|
|
1523
1523
|
function LegalDocumentSkeleton({ sections = LEGAL_DOCUMENT_SKELETON_SECTIONS }) {
|
|
1524
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { label: "Loading the document", className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1524
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { label: "Loading the document", className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ7A7IZWLcjs.MarkdownEngine, { loading: true, content: "", skeletonTitle: true, skeletonSections: sections, textSize: "article" }) });
|
|
1525
1525
|
}
|
|
1526
1526
|
function LegalDocumentPage({
|
|
1527
1527
|
docType,
|
|
@@ -1533,7 +1533,7 @@ function LegalDocumentPage({
|
|
|
1533
1533
|
emptyStateMessage: emptyStateMessageProp,
|
|
1534
1534
|
initialData = null,
|
|
1535
1535
|
apiEndpoint,
|
|
1536
|
-
MarkdownRenderer =
|
|
1536
|
+
MarkdownRenderer = _chunkEDBQXRKNcjs.RichMarkdownRenderer,
|
|
1537
1537
|
documentsEndpoint,
|
|
1538
1538
|
backButton,
|
|
1539
1539
|
shell = true
|
|
@@ -1561,7 +1561,7 @@ function LegalDocumentPage({
|
|
|
1561
1561
|
titleSize: "h1",
|
|
1562
1562
|
titleWrap: true,
|
|
1563
1563
|
children: [
|
|
1564
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1564
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEDBQXRKNcjs.DataSyncLine, { sync: data ? { source: "github", syncedAt: data.lastSynced } : null, loading: isLoading }),
|
|
1565
1565
|
/* @__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: _chunk63A4GZMBcjs.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: [
|
|
1566
1566
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rounded-lg border border-ods-error bg-ods-error-secondary p-6", children: [
|
|
1567
1567
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "mb-2 text-ods-error", children: errorTitle }),
|
|
@@ -1581,11 +1581,11 @@ function LegalDocumentPage({
|
|
|
1581
1581
|
"for more information."
|
|
1582
1582
|
] })
|
|
1583
1583
|
] }) }) }) }) }),
|
|
1584
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1584
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4644MFU2cjs.SharedPageFaq, {})
|
|
1585
1585
|
]
|
|
1586
1586
|
}
|
|
1587
1587
|
);
|
|
1588
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1588
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEDBQXRKNcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
1589
1589
|
}
|
|
1590
1590
|
|
|
1591
1591
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunk24I6RFVUcjs = require('./chunk-24I6RFVU.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkZ7A7IZWLcjs = require('./chunk-Z7A7IZWL.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkMG3HJIGGcjs = require('./chunk-MG3HJIGG.cjs');
|
|
@@ -268,7 +268,7 @@ var DrawerContent = _react.forwardRef.call(void 0,
|
|
|
268
268
|
...props,
|
|
269
269
|
children: [
|
|
270
270
|
applyInlineSize ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
271
|
-
|
|
271
|
+
_chunkZ7A7IZWLcjs.PanelResizeHandle,
|
|
272
272
|
{
|
|
273
273
|
variant: "overlay",
|
|
274
274
|
side: resolvedSide,
|
|
@@ -6,7 +6,7 @@ var _chunkLWMWY3JOcjs = require('./chunk-LWMWY3JO.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkWAYYHZFScjs = require('./chunk-WAYYHZFS.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunkSXGDKNVEcjs = require('./chunk-SXGDKNVE.cjs');
|
|
@@ -172,31 +172,31 @@ CveLink.displayName = "CveLink";
|
|
|
172
172
|
// src/components/platform/ShellTypeBadge.tsx
|
|
173
173
|
|
|
174
174
|
var shellIconMap = {
|
|
175
|
-
[
|
|
175
|
+
[_chunkWAYYHZFScjs.ShellTypeValues.POWERSHELL]: {
|
|
176
176
|
icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon,
|
|
177
177
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
178
178
|
},
|
|
179
|
-
[
|
|
179
|
+
[_chunkWAYYHZFScjs.ShellTypeValues.CMD]: {
|
|
180
180
|
icon: _chunkUXUYT4WKcjs.CmdIcon,
|
|
181
181
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
182
182
|
},
|
|
183
|
-
[
|
|
183
|
+
[_chunkWAYYHZFScjs.ShellTypeValues.BASH]: {
|
|
184
184
|
icon: _chunk5OG5ZTNMcjs.BashIcon,
|
|
185
185
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
186
186
|
},
|
|
187
|
-
[
|
|
187
|
+
[_chunkWAYYHZFScjs.ShellTypeValues.PYTHON]: {
|
|
188
188
|
icon: _chunkBF77UKGDcjs.PythonLogoIcon,
|
|
189
189
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
190
190
|
},
|
|
191
|
-
[
|
|
191
|
+
[_chunkWAYYHZFScjs.ShellTypeValues.NUSHELL]: {
|
|
192
192
|
icon: _chunkG37H4CBTcjs.NushellIcon,
|
|
193
193
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
194
194
|
},
|
|
195
|
-
[
|
|
195
|
+
[_chunkWAYYHZFScjs.ShellTypeValues.DENO]: {
|
|
196
196
|
icon: _chunkHUL6SF5Acjs.DenoIcon,
|
|
197
197
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
198
198
|
},
|
|
199
|
-
[
|
|
199
|
+
[_chunkWAYYHZFScjs.ShellTypeValues.SHELL]: {
|
|
200
200
|
icon: _chunk6RMATQNNcjs.ShellIcon,
|
|
201
201
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
202
202
|
}
|
|
@@ -207,7 +207,7 @@ var defaultIconConfig = {
|
|
|
207
207
|
};
|
|
208
208
|
var ShellTypeBadge = ({ shellType, className, iconClassName }) => {
|
|
209
209
|
const normalizedType = _optionalChain([shellType, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]);
|
|
210
|
-
const label =
|
|
210
|
+
const label = _chunkWAYYHZFScjs.getShellLabel.call(void 0, normalizedType);
|
|
211
211
|
const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
|
|
212
212
|
const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
|
|
213
213
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex items-center gap-1", className), children: [
|
|
@@ -223,7 +223,7 @@ function formatSupportedPlatforms(platforms) {
|
|
|
223
223
|
if (!platforms || platforms.length === 0) {
|
|
224
224
|
return "All Platforms";
|
|
225
225
|
}
|
|
226
|
-
return platforms.map((platform) =>
|
|
226
|
+
return platforms.map((platform) => _chunkWAYYHZFScjs.getOSLabel.call(void 0, platform)).join(", ");
|
|
227
227
|
}
|
|
228
228
|
function InfoCell({ label, value, avatar, className }) {
|
|
229
229
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
|
|
@@ -253,7 +253,7 @@ var ScriptInfoSection = ({
|
|
|
253
253
|
author,
|
|
254
254
|
className
|
|
255
255
|
}) => {
|
|
256
|
-
const shellLabel =
|
|
256
|
+
const shellLabel = _chunkWAYYHZFScjs.getShellLabel.call(void 0, shellType);
|
|
257
257
|
const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
|
|
258
258
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", className), children: [
|
|
259
259
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border p-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1", children: [
|
|
@@ -18,7 +18,7 @@ var _chunkOT6P57ZScjs = require('./chunk-OT6P57ZS.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkZ7A7IZWLcjs = require('./chunk-Z7A7IZWL.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -2253,7 +2253,7 @@ function extractSections(markdown, options = {}) {
|
|
|
2253
2253
|
if (heading.level > opts.maxLevel) continue;
|
|
2254
2254
|
let title = heading.text;
|
|
2255
2255
|
if (opts.stripFormattingMarkers) {
|
|
2256
|
-
title =
|
|
2256
|
+
title = _chunkZ7A7IZWLcjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
2257
2257
|
}
|
|
2258
2258
|
const baseId = _chunkZABZIM2Ycjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkZABZIM2Ycjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
2259
2259
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
@@ -2510,7 +2510,7 @@ function demoClockTimes(seed, options = {}) {
|
|
|
2510
2510
|
function openAskAi(source, options) {
|
|
2511
2511
|
const prompt = _optionalChain([options, 'optionalAccess', _96 => _96.prompt, 'optionalAccess', _97 => _97.trim, 'call', _98 => _98()]);
|
|
2512
2512
|
const detail = prompt ? { source: _nullishCoalesce(source, () => ( "")), prompt } : { source: _nullishCoalesce(source, () => ( "")) };
|
|
2513
|
-
window.dispatchEvent(new CustomEvent(
|
|
2513
|
+
window.dispatchEvent(new CustomEvent(_chunkZ7A7IZWLcjs.ASK_AI_OPEN_EVENT, { detail }));
|
|
2514
2514
|
}
|
|
2515
2515
|
function MingoAiButton({
|
|
2516
2516
|
source,
|
|
@@ -2553,7 +2553,7 @@ function MingoAiButton({
|
|
|
2553
2553
|
{
|
|
2554
2554
|
...props,
|
|
2555
2555
|
type: "button",
|
|
2556
|
-
...{ [
|
|
2556
|
+
...{ [_chunkZ7A7IZWLcjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" },
|
|
2557
2557
|
variant: field ? "glyph" : "transparent",
|
|
2558
2558
|
size: "wrap",
|
|
2559
2559
|
font: "regular",
|
|
@@ -2578,7 +2578,7 @@ function MingoAiButton({
|
|
|
2578
2578
|
),
|
|
2579
2579
|
children: [
|
|
2580
2580
|
!field && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
2581
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2581
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ7A7IZWLcjs.MingoEdgeLight, { className: "rounded-md" }),
|
|
2582
2582
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "pointer-events-none absolute inset-0 overflow-hidden rounded-md", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2583
2583
|
"span",
|
|
2584
2584
|
{
|
|
@@ -2794,9 +2794,9 @@ function QuestionChips({
|
|
|
2794
2794
|
{
|
|
2795
2795
|
"data-loading-item": true,
|
|
2796
2796
|
className: _nullishCoalesce(slotClassName, () => ( CHIP_SLOT_CLASS)),
|
|
2797
|
-
...prompt ? { [
|
|
2797
|
+
...prompt ? { [_chunkZ7A7IZWLcjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" } : {},
|
|
2798
2798
|
children: (loading || prompt) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2799
|
-
|
|
2799
|
+
_chunkZ7A7IZWLcjs.QuickActionChipButton,
|
|
2800
2800
|
{
|
|
2801
2801
|
loading,
|
|
2802
2802
|
variant: "question",
|
|
@@ -3007,7 +3007,7 @@ function QuickActionMarquee({
|
|
|
3007
3007
|
);
|
|
3008
3008
|
if (items.length === 0) return null;
|
|
3009
3009
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3010
|
-
|
|
3010
|
+
_chunkZ7A7IZWLcjs.QuickActionWall,
|
|
3011
3011
|
{
|
|
3012
3012
|
chips,
|
|
3013
3013
|
mode,
|
|
@@ -3252,7 +3252,7 @@ function ComposerSheet({
|
|
|
3252
3252
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabFoot, { side: "left" }),
|
|
3253
3253
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabFoot, { side: "right" }),
|
|
3254
3254
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3255
|
-
|
|
3255
|
+
_chunkZ7A7IZWLcjs.PanelResizeHandle,
|
|
3256
3256
|
{
|
|
3257
3257
|
side: "bottom",
|
|
3258
3258
|
size: _nullishCoalesce(resolved, () => ( minHeight)),
|
|
@@ -3355,7 +3355,7 @@ var ChatSidebar = _react.forwardRef.call(void 0,
|
|
|
3355
3355
|
hasNextPage,
|
|
3356
3356
|
isFetchingNextPage,
|
|
3357
3357
|
onLoadMore,
|
|
3358
|
-
pageSize =
|
|
3358
|
+
pageSize = _chunkZ7A7IZWLcjs.CHAT_HISTORY_PAGE_SIZE,
|
|
3359
3359
|
...props
|
|
3360
3360
|
}, ref) => {
|
|
3361
3361
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || !!isLoading && dialogs.length === 0 && !children;
|
|
@@ -3653,7 +3653,7 @@ function AdminContentCardGridSkeleton({
|
|
|
3653
3653
|
label = "Loading",
|
|
3654
3654
|
region = true
|
|
3655
3655
|
}) {
|
|
3656
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3656
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ7A7IZWLcjs.LoadingFallback, { label, status: region, className: _chunk63A4GZMBcjs.cn.call(void 0, ADMIN_CONTENT_CARD_GRID_CLASS, className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: GRID_CELL_CLASS, "data-loading-item": true, children: loadingCardOf(loadingCard, Skeleton) }) }) });
|
|
3657
3657
|
}
|
|
3658
3658
|
function AdminContentCardGrid({
|
|
3659
3659
|
items,
|
|
@@ -5245,7 +5245,7 @@ function Section({ title, description, children }) {
|
|
|
5245
5245
|
] });
|
|
5246
5246
|
}
|
|
5247
5247
|
function ProxyCredentialsPanel({ description }) {
|
|
5248
|
-
const hydrated =
|
|
5248
|
+
const hydrated = _chunkZ7A7IZWLcjs.useIsHydrated.call(void 0, );
|
|
5249
5249
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5250
5250
|
ProxyCredentialsForm,
|
|
5251
5251
|
{
|
|
@@ -5409,12 +5409,12 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
5409
5409
|
|
|
5410
5410
|
// src/components/chat/index.ts
|
|
5411
5411
|
var LoadedEmbeddableChat = _react.lazy.call(void 0,
|
|
5412
|
-
() => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-
|
|
5412
|
+
() => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-M7L3DBNO.cjs"))).then((module) => ({ default: module.EmbeddableChat }))
|
|
5413
5413
|
);
|
|
5414
5414
|
var EmbeddableChat = _react.forwardRef.call(void 0, (props, ref) => {
|
|
5415
5415
|
const [loadRequested, setLoadRequested] = _react.useState.call(void 0, false);
|
|
5416
5416
|
const load = loadRequested || Boolean(props.open) || Boolean(props.defaultOpen);
|
|
5417
|
-
_react.useEffect.call(void 0, () =>
|
|
5417
|
+
_react.useEffect.call(void 0, () => _chunkZ7A7IZWLcjs.holdAskAiOpens.call(void 0, ), []);
|
|
5418
5418
|
const { loadStyles } = props;
|
|
5419
5419
|
_react.useEffect.call(void 0, () => {
|
|
5420
5420
|
if (load) _optionalChain([loadStyles, 'optionalCall', _204 => _204()]);
|
|
@@ -5422,12 +5422,12 @@ var EmbeddableChat = _react.forwardRef.call(void 0, (props, ref) => {
|
|
|
5422
5422
|
_react.useEffect.call(void 0, () => {
|
|
5423
5423
|
if (load) return void 0;
|
|
5424
5424
|
const start = () => setLoadRequested(true);
|
|
5425
|
-
if (
|
|
5426
|
-
for (const name of
|
|
5427
|
-
const cancel =
|
|
5425
|
+
if (_chunkZ7A7IZWLcjs.askAiOpenIsHeld.call(void 0, )) queueMicrotask(start);
|
|
5426
|
+
for (const name of _chunkZ7A7IZWLcjs.ASK_AI_OPEN_EVENTS) window.addEventListener(name, start);
|
|
5427
|
+
const cancel = _chunkZ7A7IZWLcjs.onAskAiIntent.call(void 0, start);
|
|
5428
5428
|
return () => {
|
|
5429
5429
|
cancel();
|
|
5430
|
-
for (const name of
|
|
5430
|
+
for (const name of _chunkZ7A7IZWLcjs.ASK_AI_OPEN_EVENTS) window.removeEventListener(name, start);
|
|
5431
5431
|
};
|
|
5432
5432
|
}, [load]);
|
|
5433
5433
|
if (!load) return null;
|
|
@@ -8266,6 +8266,7 @@ function PageTopicLabel({ className }) {
|
|
|
8266
8266
|
// src/components/chat/mingo-quick-action-wall.tsx
|
|
8267
8267
|
|
|
8268
8268
|
var QUICK_ACTION_SET_SLOTS = 4;
|
|
8269
|
+
var QUICK_ACTION_SKELETON_COUNT = QUICK_ACTION_SET_SLOTS;
|
|
8269
8270
|
function QuickActionSet({
|
|
8270
8271
|
chips,
|
|
8271
8272
|
theme,
|
|
@@ -8293,18 +8294,17 @@ function QuickActionSet({
|
|
|
8293
8294
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "flex shrink-0 flex-col gap-[var(--spacing-system-xxs)] @container", className),
|
|
8294
8295
|
children: [
|
|
8295
8296
|
showTopic && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageTopicLabel, { className: "text-right" }),
|
|
8296
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 gap-[var(--spacing-system-xs)] @[18rem]:grid-cols-2 @[48rem]:grid-cols-4", children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count:
|
|
8297
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 gap-[var(--spacing-system-xs)] @[18rem]:grid-cols-2 @[48rem]:grid-cols-4", children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: QUICK_ACTION_SKELETON_COUNT, children: (i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Slot, { "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8297
8298
|
QuickActionChipButton,
|
|
8298
8299
|
{
|
|
8299
8300
|
loading: true,
|
|
8300
8301
|
fill: true,
|
|
8301
8302
|
label: "",
|
|
8302
8303
|
icon: true,
|
|
8303
|
-
labelCh: WALL_SKELETON_LABEL_CH[i % WALL_SKELETON_LABEL_CH.length]
|
|
8304
|
-
"data-loading-item": true
|
|
8304
|
+
labelCh: WALL_SKELETON_LABEL_CH[i % WALL_SKELETON_LABEL_CH.length]
|
|
8305
8305
|
}
|
|
8306
8306
|
) }) }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
8307
|
-
shown.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Slot, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, QuickActionChipFromData, { chip, defaultTheme: theme, fill: true
|
|
8307
|
+
shown.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Slot, { "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, QuickActionChipFromData, { chip, defaultTheme: theme, fill: true }) }, chip.id)),
|
|
8308
8308
|
overflows && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Slot, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8309
8309
|
_chunkYJZ7R3W5cjs.ActionsMenuDropdown,
|
|
8310
8310
|
{
|
|
@@ -8337,10 +8337,15 @@ function QuickActionSet({
|
|
|
8337
8337
|
}
|
|
8338
8338
|
);
|
|
8339
8339
|
}
|
|
8340
|
-
function Slot({
|
|
8340
|
+
function Slot({
|
|
8341
|
+
unused = false,
|
|
8342
|
+
children,
|
|
8343
|
+
...rest
|
|
8344
|
+
}) {
|
|
8341
8345
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8342
8346
|
"div",
|
|
8343
8347
|
{
|
|
8348
|
+
..._chunk63A4GZMBcjs.loadingItemProps.call(void 0, rest),
|
|
8344
8349
|
"data-testid": "quick-action-slot",
|
|
8345
8350
|
"aria-hidden": unused || void 0,
|
|
8346
8351
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "min-w-0", unused && "invisible"),
|