@flamingo-stack/openframe-frontend-core 0.0.819 → 0.0.820
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-JOXJDNHN.cjs → chunk-2TEUAOUZ.cjs} +3 -3
- package/dist/{chunk-IVQT5R6M.cjs → chunk-42K7MLVS.cjs} +13 -13
- package/dist/{chunk-U3OICGCV.cjs → chunk-5GUQBNQF.cjs} +42 -42
- package/dist/{chunk-S2ZA4TMJ.cjs → chunk-7X7PHALX.cjs} +5 -5
- package/dist/{chunk-2W3W3ZV6.cjs → chunk-ADBZCDFX.cjs} +11 -11
- package/dist/{chunk-I453QCEF.cjs → chunk-BHJDQYUN.cjs} +79 -79
- package/dist/{chunk-MYIOOA4E.cjs → chunk-CJ7VHMPD.cjs} +2 -2
- package/dist/{chunk-2S6BUXYD.cjs → chunk-DLQCSJTY.cjs} +3 -3
- package/dist/{chunk-2T3HXLZD.cjs → chunk-IJ3C4WL5.cjs} +41 -41
- package/dist/{chunk-CEXPWDT4.cjs → chunk-JQ3JZLYS.cjs} +2 -2
- package/dist/{chunk-VSKR26MV.cjs → chunk-L55EVW33.cjs} +2 -2
- package/dist/{chunk-Q6QQSCUC.cjs → chunk-MOPDE3OA.cjs} +10 -10
- package/dist/{chunk-2JFR6XVT.cjs → chunk-NSN3O47K.cjs} +28 -28
- package/dist/{chunk-WPHCVXES.cjs → chunk-STFOH6QU.cjs} +3 -3
- package/dist/{chunk-A36XVWIQ.cjs → chunk-TVOAFYT7.cjs} +35 -35
- package/dist/{chunk-TDQRDQVU.cjs → chunk-TYDSD3FV.cjs} +4 -4
- package/dist/{chunk-7IQU54VE.cjs → chunk-YAY7Z42C.cjs} +1 -1
- package/dist/{cloud-tenants-P5XJ5DPJ.cjs → cloud-tenants-ENCHNOF2.cjs} +3 -3
- package/dist/components/case-studies/index.cjs +12 -12
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.js +5 -6
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/utils/cited-sources.d.ts +9 -0
- package/dist/components/chat/utils/cited-sources.d.ts.map +1 -1
- package/dist/components/chat/utils/cited-sources.js +5 -0
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/docs/index.cjs +7 -7
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/faq/index.cjs +5 -5
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/help-center-pages/index.cjs +58 -58
- package/dist/components/index.cjs +33 -33
- package/dist/components/meeting-scheduler/index.cjs +26 -26
- package/dist/components/navigation/index.cjs +6 -6
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/product-demo/index.cjs +12 -12
- package/dist/components/tickets/index.cjs +8 -8
- package/dist/components/ui/index.cjs +3 -3
- package/dist/{devices-BSIWSRZG.cjs → devices-HRLHG4TR.cjs} +4 -4
- package/dist/{embeddable-chat-5L2PKTW3.cjs → embeddable-chat-ARMXVLUP.cjs} +8 -5
- package/dist/index.cjs +7 -7
- package/dist/{knowledge-2F3IPK73.cjs → knowledge-S2L5ZCAU.cjs} +3 -3
- package/dist/{logs-U3OCJ2OC.cjs → logs-UYQZSFS4.cjs} +11 -11
- package/dist/{policies-L3KHKE2G.cjs → policies-SMA4MW6L.cjs} +7 -7
- package/dist/{scripts-U4SLB5YC.cjs → scripts-TZNXTFRR.cjs} +8 -8
- package/dist/{software-update-QALYFCIO.cjs → software-update-YHDVBC7V.cjs} +6 -6
- package/package.json +1 -1
- package/src/components/chat/embeddable-chat.tsx +7 -8
- package/src/components/chat/utils/cited-sources.ts +10 -0
|
@@ -5,12 +5,12 @@ var _chunkFDZOE5TLcjs = require('./chunk-FDZOE5TL.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkBHJDQYUNcjs = require('./chunk-BHJDQYUN.cjs');
|
|
9
9
|
|
|
10
10
|
// src/components/product-demo/screens/devices-view.tsx
|
|
11
11
|
var _jsxruntime = require('react/jsx-runtime');
|
|
12
12
|
var DEVICES_SEARCH_QUERY = "Windows";
|
|
13
|
-
var TOOLBAR = { ...
|
|
13
|
+
var TOOLBAR = { ..._chunkBHJDQYUNcjs.IDLE_DEVICES_TOOLBAR, searchValue: DEVICES_SEARCH_QUERY };
|
|
14
14
|
var NO_HEADER = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, {});
|
|
15
15
|
var HIDDEN_WHEN_COMPACT = ["organization"];
|
|
16
16
|
var NO_DEVICES = [];
|
|
@@ -22,7 +22,7 @@ function DevicesScreenView({
|
|
|
22
22
|
loading = false
|
|
23
23
|
}) {
|
|
24
24
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25
|
-
|
|
25
|
+
_chunkBHJDQYUNcjs.DevicesPanelView,
|
|
26
26
|
{
|
|
27
27
|
className: "p-[var(--spacing-system-l)]",
|
|
28
28
|
headerSlot: NO_HEADER,
|
|
@@ -5,14 +5,14 @@ var _chunkLUID2IB3cjs = require('./chunk-LUID2IB3.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkL55EVW33cjs = require('./chunk-L55EVW33.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkBHJDQYUNcjs = require('./chunk-BHJDQYUN.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunkIJCSQFLDcjs = require('./chunk-IJCSQFLD.cjs');
|
|
@@ -22,7 +22,7 @@ var _chunkIJCSQFLDcjs = require('./chunk-IJCSQFLD.cjs');
|
|
|
22
22
|
var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkYAY7Z42Ccjs = require('./chunk-YAY7Z42C.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
@@ -143,14 +143,14 @@ function OnboardingGuidesCatalogView({
|
|
|
143
143
|
});
|
|
144
144
|
};
|
|
145
145
|
const source = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _6 => _6.source]), () => ( "openframe"));
|
|
146
|
-
const docSearch =
|
|
146
|
+
const docSearch = _chunkL55EVW33cjs.useDocSearch.call(void 0, {
|
|
147
147
|
source,
|
|
148
148
|
baseRoute: basePath,
|
|
149
149
|
onNavigate: (path) => router.push(path),
|
|
150
150
|
tableIds: ["onboarding-guides"]
|
|
151
151
|
});
|
|
152
152
|
const defaultRenderCard = (guide) => {
|
|
153
|
-
const cta =
|
|
153
|
+
const cta = _chunkYAY7Z42Ccjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
|
|
154
154
|
type: "onboarding_guide",
|
|
155
155
|
slug: guide.slug,
|
|
156
156
|
basePath,
|
|
@@ -161,7 +161,7 @@ function OnboardingGuidesCatalogView({
|
|
|
161
161
|
const renderCardFn = _nullishCoalesce(renderCard, () => ( defaultRenderCard));
|
|
162
162
|
const preControls = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_CONTROLS_CLASS, children: [
|
|
163
163
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
164
|
-
|
|
164
|
+
_chunkL55EVW33cjs.DocSearchBar,
|
|
165
165
|
{
|
|
166
166
|
placeholder: "Search onboarding guides, releases, case studies\u2026",
|
|
167
167
|
query: docSearch.query,
|
|
@@ -173,7 +173,7 @@ function OnboardingGuidesCatalogView({
|
|
|
173
173
|
}
|
|
174
174
|
),
|
|
175
175
|
(loading || sections.length > 0) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
176
|
-
|
|
176
|
+
_chunkBHJDQYUNcjs.FilterPillRow,
|
|
177
177
|
{
|
|
178
178
|
label: "Section",
|
|
179
179
|
selectedValue: activeSection,
|
|
@@ -184,7 +184,7 @@ function OnboardingGuidesCatalogView({
|
|
|
184
184
|
)
|
|
185
185
|
] });
|
|
186
186
|
if (!loading && selfFetch && guidesRes.error) {
|
|
187
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
187
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBHJDQYUNcjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
|
|
188
188
|
}
|
|
189
189
|
const view = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_VIEW_CLASS, children: [
|
|
190
190
|
preControls,
|
|
@@ -304,7 +304,7 @@ function OnboardingGuideDetailView({
|
|
|
304
304
|
slug,
|
|
305
305
|
guideEndpoint,
|
|
306
306
|
related = [],
|
|
307
|
-
MarkdownRenderer =
|
|
307
|
+
MarkdownRenderer = _chunkBHJDQYUNcjs.RichMarkdownRenderer,
|
|
308
308
|
renderRelatedCard,
|
|
309
309
|
backHref,
|
|
310
310
|
backLabel = "Back to Getting Started",
|
|
@@ -316,7 +316,7 @@ function OnboardingGuideDetailView({
|
|
|
316
316
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
317
317
|
const captions = _chunkOTGYA5F7cjs.useCaptions.call(void 0, );
|
|
318
318
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
319
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
319
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBHJDQYUNcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
320
320
|
const url = initialData ? null : slug && guideEndpoint ? guideEndpoint(slug) : null;
|
|
321
321
|
const scoped = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
322
322
|
const {
|
|
@@ -334,7 +334,7 @@ function OnboardingGuideDetailView({
|
|
|
334
334
|
const backCfg = { label: backLabel, onClick: () => router.push(resolvedBackHref) };
|
|
335
335
|
const loading = scoped || !guide && isLoading;
|
|
336
336
|
if (!loading && (error || !guide)) {
|
|
337
|
-
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
337
|
+
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBHJDQYUNcjs.LoadError, { message: "Guide not found.", onRetry: reload }));
|
|
338
338
|
}
|
|
339
339
|
const view = _nullishCoalesce(guide, () => ( EMPTY_ONBOARDING_GUIDE));
|
|
340
340
|
const { captionsUrl, highlightCaptionsUrl } = captions.forEntity("onboarding_guide", view);
|
|
@@ -342,7 +342,7 @@ function OnboardingGuideDetailView({
|
|
|
342
342
|
// worst), so it's the terminal fallback — no trailing `|| undefined` needed.
|
|
343
343
|
_chunkDVHSYPDBcjs.buildOgPlaceholderUrl.call(void 0, _optionalChain([runtime, 'optionalAccess', _11 => _11.endpoints]), view.title, { aspect: "wide" });
|
|
344
344
|
const defaultRenderRelatedCard = (g) => {
|
|
345
|
-
const cta =
|
|
345
|
+
const cta = _chunkYAY7Z42Ccjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
|
|
346
346
|
type: "onboarding_guide",
|
|
347
347
|
slug: g.slug,
|
|
348
348
|
basePath,
|
|
@@ -352,7 +352,7 @@ function OnboardingGuideDetailView({
|
|
|
352
352
|
};
|
|
353
353
|
const renderRelatedCardFn = _nullishCoalesce(renderRelatedCard, () => ( defaultRenderRelatedCard));
|
|
354
354
|
const page = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIJCSQFLDcjs.PageLayout, { title: view.title, loading, titleSize: "h1", titleWrap: true, backButton: backCfg, children: [
|
|
355
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
355
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBHJDQYUNcjs.EntityTagBadges, { tags: view.onboarding_guide_tags }),
|
|
356
356
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
357
357
|
_chunkIM366HS6cjs.EntityAuthorCard,
|
|
358
358
|
{
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkMOPDE3OAcjs = require('./chunk-MOPDE3OA.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ var _chunkSBFBNOKUcjs = require('./chunk-SBFBNOKU.cjs');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkSTFOH6QUcjs = require('./chunk-STFOH6QU.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -24,7 +24,7 @@ var _chunkWPHCVXEScjs = require('./chunk-WPHCVXES.cjs');
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkBHJDQYUNcjs = require('./chunk-BHJDQYUN.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
var _chunkIJCSQFLDcjs = require('./chunk-IJCSQFLD.cjs');
|
|
@@ -41,7 +41,7 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
var
|
|
44
|
+
var _chunkYAY7Z42Ccjs = require('./chunk-YAY7Z42C.cjs');
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
|
|
@@ -119,8 +119,8 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
119
119
|
var DEFAULT_ENDPOINT = "/api/releases";
|
|
120
120
|
var PRODUCT_RELEASES_PAGE_SIZE = 5;
|
|
121
121
|
var PAGER_ROW_CLASS = "flex w-full justify-center";
|
|
122
|
-
var DEFAULT_SEARCH_PARAM_KEY =
|
|
123
|
-
var DEFAULT_STATUS_PARAM_KEY =
|
|
122
|
+
var DEFAULT_SEARCH_PARAM_KEY = _chunkYAY7Z42Ccjs.DEV_SECTION_PARAM_KEYS.search;
|
|
123
|
+
var DEFAULT_STATUS_PARAM_KEY = _chunkYAY7Z42Ccjs.DEV_SECTION_PARAM_KEYS.releaseStatus;
|
|
124
124
|
var DEFAULT_PAGE_PARAM_KEY = "page";
|
|
125
125
|
function ReleaseRow({
|
|
126
126
|
release,
|
|
@@ -128,7 +128,7 @@ function ReleaseRow({
|
|
|
128
128
|
buildCardProps
|
|
129
129
|
}) {
|
|
130
130
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
131
|
-
const cta =
|
|
131
|
+
const cta = _chunkYAY7Z42Ccjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _2 => _2.composeContentUrl]), {
|
|
132
132
|
type: "product_release",
|
|
133
133
|
slug: release.slug,
|
|
134
134
|
basePath,
|
|
@@ -187,7 +187,7 @@ function ProductReleasesView({
|
|
|
187
187
|
initialData
|
|
188
188
|
});
|
|
189
189
|
const isLoading = inScope || fetching;
|
|
190
|
-
|
|
190
|
+
_chunkMOPDE3OAcjs.usePageDataSync.call(void 0, _optionalChain([data, 'optionalAccess', _3 => _3.sync]), isLoading && !data);
|
|
191
191
|
const releases = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _4 => _4.data]), () => ( []));
|
|
192
192
|
const totalCount = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _5 => _5.count]), () => ( 0));
|
|
193
193
|
const totalPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, totalCount, itemsPerPage);
|
|
@@ -206,10 +206,10 @@ function ProductReleasesView({
|
|
|
206
206
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
207
207
|
};
|
|
208
208
|
if (error) {
|
|
209
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
209
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBHJDQYUNcjs.LoadError, { message: "Failed to load releases.", onRetry: reload }) });
|
|
210
210
|
}
|
|
211
211
|
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,
|
|
212
|
-
|
|
212
|
+
_chunkMOPDE3OAcjs.ListEmptyState,
|
|
213
213
|
{
|
|
214
214
|
isFiltered: hasActiveFilters,
|
|
215
215
|
filtered: {
|
|
@@ -322,7 +322,7 @@ function MediaGalleryStripSkeleton({
|
|
|
322
322
|
var _lucidereact = require('lucide-react');
|
|
323
323
|
|
|
324
324
|
|
|
325
|
-
var DefaultMarkdownRenderer =
|
|
325
|
+
var DefaultMarkdownRenderer = _chunkBHJDQYUNcjs.RichMarkdownRenderer;
|
|
326
326
|
var CONTENT_STACK_CLASS = "space-y-6 content-md:space-y-8";
|
|
327
327
|
var RELEASE_TITLE_SKELETON_LINES = { phone: 7, md: 4, lg: 2 };
|
|
328
328
|
var METADATA_GRID_CLASS = "grid w-full grid-cols-1 overflow-hidden rounded-md border border-ods-border content-md:grid-cols-4";
|
|
@@ -372,7 +372,7 @@ function ReleaseDetailPage({
|
|
|
372
372
|
}) {
|
|
373
373
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
374
374
|
const captions = _chunkOTGYA5F7cjs.useCaptions.call(void 0, );
|
|
375
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
375
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBHJDQYUNcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
376
376
|
const seed = initialData == null ? void 0 : initialData;
|
|
377
377
|
const {
|
|
378
378
|
data: release,
|
|
@@ -478,7 +478,7 @@ function ReleaseDetailPage({
|
|
|
478
478
|
children: [
|
|
479
479
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CONTENT_STACK_CLASS, children: [
|
|
480
480
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
481
|
-
|
|
481
|
+
_chunkBHJDQYUNcjs.EntityTagBadges,
|
|
482
482
|
{
|
|
483
483
|
tags: view.product_release_tags,
|
|
484
484
|
max: RELEASE_TAG_ROW_MAX,
|
|
@@ -559,7 +559,7 @@ function ReleaseDetailPage({
|
|
|
559
559
|
] })
|
|
560
560
|
] }) }) }),
|
|
561
561
|
loading ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
562
|
-
|
|
562
|
+
_chunkBHJDQYUNcjs.ReleaseChangelogSection,
|
|
563
563
|
{
|
|
564
564
|
title: "Breaking Changes",
|
|
565
565
|
entries: breakingChanges || [],
|
|
@@ -571,7 +571,7 @@ function ReleaseDetailPage({
|
|
|
571
571
|
}
|
|
572
572
|
),
|
|
573
573
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
574
|
-
|
|
574
|
+
_chunkBHJDQYUNcjs.ReleaseChangelogSection,
|
|
575
575
|
{
|
|
576
576
|
title: "Features Added",
|
|
577
577
|
entries: featuresAdded || [],
|
|
@@ -581,7 +581,7 @@ function ReleaseDetailPage({
|
|
|
581
581
|
}
|
|
582
582
|
),
|
|
583
583
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
584
|
-
|
|
584
|
+
_chunkBHJDQYUNcjs.ReleaseChangelogSection,
|
|
585
585
|
{
|
|
586
586
|
title: "Bugs Fixed",
|
|
587
587
|
entries: bugFixed || [],
|
|
@@ -591,7 +591,7 @@ function ReleaseDetailPage({
|
|
|
591
591
|
}
|
|
592
592
|
),
|
|
593
593
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
594
|
-
|
|
594
|
+
_chunkBHJDQYUNcjs.ReleaseChangelogSection,
|
|
595
595
|
{
|
|
596
596
|
title: "Improvements",
|
|
597
597
|
entries: improvements || [],
|
|
@@ -620,9 +620,9 @@ function ReleaseDetailPage({
|
|
|
620
620
|
return deliveryLoading ? (
|
|
621
621
|
// The loaded preview's frame, its height written into the markup (`fixedHeight`), so the tables'
|
|
622
622
|
// loading state takes the collapsed preview's place, toggle row included. Inert: nothing to open yet.
|
|
623
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { inert: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
623
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { inert: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBHJDQYUNcjs.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 }) }) }) })
|
|
624
624
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
625
|
-
|
|
625
|
+
_chunkBHJDQYUNcjs.FadePreview,
|
|
626
626
|
{
|
|
627
627
|
hiddenCount: deliveryCount - 1,
|
|
628
628
|
collapsedHeight: DELIVERY_PREVIEW_HEIGHT,
|
|
@@ -886,7 +886,7 @@ function RoadmapGridSingle({
|
|
|
886
886
|
_chunkIM366HS6cjs.RoadmapCard,
|
|
887
887
|
{
|
|
888
888
|
item,
|
|
889
|
-
id:
|
|
889
|
+
id: _chunkYAY7Z42Ccjs.devSectionAnchorId.call(void 0, "roadmap", item.id),
|
|
890
890
|
userVote: getVote(item.id),
|
|
891
891
|
onVote: onVote ? (voteType) => onVote(item.id, voteType) : void 0,
|
|
892
892
|
isVoting: votingTasks.has(item.id)
|
|
@@ -1056,7 +1056,7 @@ function RoadmapGrid({
|
|
|
1056
1056
|
);
|
|
1057
1057
|
}
|
|
1058
1058
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1059
|
-
|
|
1059
|
+
_chunkBHJDQYUNcjs.Accordion,
|
|
1060
1060
|
{
|
|
1061
1061
|
type: "multiple",
|
|
1062
1062
|
value: expandedQuarters,
|
|
@@ -1066,14 +1066,14 @@ function RoadmapGrid({
|
|
|
1066
1066
|
const itemCount = _optionalChain([itemsByQuarter, 'access', _19 => _19[quarter], 'optionalAccess', _20 => _20.length]) || 0;
|
|
1067
1067
|
const isExpanded = expandedQuarters.includes(quarter);
|
|
1068
1068
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1069
|
-
|
|
1069
|
+
_chunkBHJDQYUNcjs.AccordionItem,
|
|
1070
1070
|
{
|
|
1071
1071
|
value: quarter,
|
|
1072
1072
|
id: `quarter-${quarter.replace(/\s+/g, "-").toLowerCase()}`,
|
|
1073
1073
|
className: "border-0",
|
|
1074
1074
|
"data-loading-item": true,
|
|
1075
1075
|
children: [
|
|
1076
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1076
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBHJDQYUNcjs.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: [
|
|
1077
1077
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1078
1078
|
"h3",
|
|
1079
1079
|
{
|
|
@@ -1103,7 +1103,7 @@ function RoadmapGrid({
|
|
|
1103
1103
|
}
|
|
1104
1104
|
)
|
|
1105
1105
|
] }) }),
|
|
1106
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1106
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBHJDQYUNcjs.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,
|
|
1107
1107
|
RoadmapGridSingle,
|
|
1108
1108
|
{
|
|
1109
1109
|
items: itemsByQuarter[quarter],
|
|
@@ -1129,8 +1129,8 @@ function RoadmapGrid({
|
|
|
1129
1129
|
var DEFAULT_ENDPOINT3 = "/api/roadmap";
|
|
1130
1130
|
var NO_ITEMS = [];
|
|
1131
1131
|
var SYNCED_LIST_CLASS = "flex w-full flex-col gap-[var(--spacing-system-lf)]";
|
|
1132
|
-
var DEFAULT_SEARCH_PARAM_KEY2 =
|
|
1133
|
-
var DEFAULT_STATUS_PARAM_KEY2 =
|
|
1132
|
+
var DEFAULT_SEARCH_PARAM_KEY2 = _chunkYAY7Z42Ccjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1133
|
+
var DEFAULT_STATUS_PARAM_KEY2 = _chunkYAY7Z42Ccjs.DEV_SECTION_PARAM_KEYS.status;
|
|
1134
1134
|
function RoadmapView({
|
|
1135
1135
|
endpoint = DEFAULT_ENDPOINT3,
|
|
1136
1136
|
initialItems,
|
|
@@ -1154,18 +1154,18 @@ function RoadmapView({
|
|
|
1154
1154
|
});
|
|
1155
1155
|
const items = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _21 => _21.items]), () => ( []));
|
|
1156
1156
|
_chunkT266OITJcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkA34UNP5Vcjs.STICKY_HEADER_OFFSET_PX });
|
|
1157
|
-
const syncInPage =
|
|
1157
|
+
const syncInPage = _chunkMOPDE3OAcjs.usePageDataSync.call(void 0, _optionalChain([data, 'optionalAccess', _22 => _22.sync]), isLoading && !data);
|
|
1158
1158
|
if (error) {
|
|
1159
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1159
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBHJDQYUNcjs.LoadError, { message: "Failed to load roadmap.", onRetry: reload });
|
|
1160
1160
|
}
|
|
1161
1161
|
if (isLoading && !data) {
|
|
1162
1162
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1163
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1163
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBHJDQYUNcjs.DataSyncLine, { loading: true }),
|
|
1164
1164
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapGrid, { items: NO_ITEMS, isLoading: true, groupByQuarter: true, showLeftMargin })
|
|
1165
1165
|
] });
|
|
1166
1166
|
}
|
|
1167
1167
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SYNCED_LIST_CLASS, children: [
|
|
1168
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1168
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBHJDQYUNcjs.DataSyncLine, { sync: _optionalChain([data, 'optionalAccess', _23 => _23.sync]) }),
|
|
1169
1169
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1170
1170
|
RoadmapGrid,
|
|
1171
1171
|
{
|
|
@@ -1189,7 +1189,7 @@ var TABLE_FRAME_CLASS = `w-full ${_chunkUEULXVW2cjs.CONTENT_CARD_SKELETON_FRAME_
|
|
|
1189
1189
|
var ROW_SEPARATOR_CLASS = "border-b border-ods-border last:border-b-0";
|
|
1190
1190
|
var DELIVERY_TABLE_SKELETON_ROWS = 5;
|
|
1191
1191
|
function DeliveryTableSkeleton() {
|
|
1192
|
-
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,
|
|
1192
|
+
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, _chunkMOPDE3OAcjs.DeliveryRow, { loading: true }) }) }) }) });
|
|
1193
1193
|
}
|
|
1194
1194
|
function DeliveryTable({ items, isLoading = false }) {
|
|
1195
1195
|
if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || isLoading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliveryTableSkeleton, {});
|
|
@@ -1202,7 +1202,7 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1202
1202
|
// → `#delivery-<external_id>`; `useScrollToHash` in
|
|
1203
1203
|
// `delivery-lists.tsx` finds the row by id and scrolls. The
|
|
1204
1204
|
// outer wrapper here ONLY exists for the row separators.
|
|
1205
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1205
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, className: ROW_SEPARATOR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMOPDE3OAcjs.DeliveryRow, { item, id: _chunkYAY7Z42Ccjs.devSectionAnchorId.call(void 0, "delivery", item.id) }) }, item.id)
|
|
1206
1206
|
)) }) });
|
|
1207
1207
|
}
|
|
1208
1208
|
|
|
@@ -1211,8 +1211,8 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1211
1211
|
|
|
1212
1212
|
var DEFAULT_COMPLETED_ENDPOINT = "/api/delivery/completed";
|
|
1213
1213
|
var DEFAULT_IN_PROGRESS_ENDPOINT = "/api/delivery/in-progress";
|
|
1214
|
-
var DEFAULT_SEARCH_PARAM_KEY3 =
|
|
1215
|
-
var DEFAULT_TASK_TYPE_PARAM_KEY =
|
|
1214
|
+
var DEFAULT_SEARCH_PARAM_KEY3 = _chunkYAY7Z42Ccjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1215
|
+
var DEFAULT_TASK_TYPE_PARAM_KEY = _chunkYAY7Z42Ccjs.DEV_SECTION_PARAM_KEYS.deliveryTaskType;
|
|
1216
1216
|
function DeliveryLists({
|
|
1217
1217
|
completedApiEndpoint = DEFAULT_COMPLETED_ENDPOINT,
|
|
1218
1218
|
inProgressApiEndpoint = DEFAULT_IN_PROGRESS_ENDPOINT,
|
|
@@ -1287,18 +1287,18 @@ function DeliveryLists({
|
|
|
1287
1287
|
const filteredCompleted = _optionalChain([data, 'optionalAccess', _24 => _24.completed]) || [];
|
|
1288
1288
|
const filteredInProgress = _optionalChain([data, 'optionalAccess', _25 => _25.inProgress]) || [];
|
|
1289
1289
|
_chunkT266OITJcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkA34UNP5Vcjs.STICKY_HEADER_OFFSET_PX });
|
|
1290
|
-
const syncInPage =
|
|
1290
|
+
const syncInPage = _chunkMOPDE3OAcjs.usePageDataSync.call(void 0, sync, isLoading && !data);
|
|
1291
1291
|
const showCompleted = true;
|
|
1292
1292
|
const showInProgress = true;
|
|
1293
1293
|
const hasActiveFilters = searchQuery !== "" || taskTypeFilter !== "all";
|
|
1294
1294
|
const hasResults = showCompleted && filteredCompleted.length > 0 || showInProgress && filteredInProgress.length > 0;
|
|
1295
1295
|
if (error) {
|
|
1296
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1296
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBHJDQYUNcjs.LoadError, { message: error, onRetry: () => window.location.reload() }) });
|
|
1297
1297
|
}
|
|
1298
1298
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[40px]", children: [
|
|
1299
|
-
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1299
|
+
!syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBHJDQYUNcjs.DataSyncLine, { sync, loading: isLoading && !data }),
|
|
1300
1300
|
!isLoading && !hasResults && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1301
|
-
|
|
1301
|
+
_chunkMOPDE3OAcjs.ListEmptyState,
|
|
1302
1302
|
{
|
|
1303
1303
|
isFiltered: hasActiveFilters,
|
|
1304
1304
|
filtered: {
|
|
@@ -1535,7 +1535,7 @@ function LegalDocumentPage({
|
|
|
1535
1535
|
emptyStateMessage: emptyStateMessageProp,
|
|
1536
1536
|
initialData = null,
|
|
1537
1537
|
apiEndpoint,
|
|
1538
|
-
MarkdownRenderer =
|
|
1538
|
+
MarkdownRenderer = _chunkBHJDQYUNcjs.RichMarkdownRenderer,
|
|
1539
1539
|
documentsEndpoint,
|
|
1540
1540
|
backButton,
|
|
1541
1541
|
faq,
|
|
@@ -1566,7 +1566,7 @@ function LegalDocumentPage({
|
|
|
1566
1566
|
titleSize: "h1",
|
|
1567
1567
|
titleWrap: true,
|
|
1568
1568
|
children: [
|
|
1569
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1569
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBHJDQYUNcjs.DataSyncLine, { sync: data ? { source: "github", syncedAt: data.lastSynced } : null, loading: isLoading }),
|
|
1570
1570
|
/* @__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: [
|
|
1571
1571
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rounded-lg border border-ods-error bg-ods-error-secondary p-6", children: [
|
|
1572
1572
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "mb-2 text-ods-error", children: errorTitle }),
|
|
@@ -1586,11 +1586,11 @@ function LegalDocumentPage({
|
|
|
1586
1586
|
"for more information."
|
|
1587
1587
|
] })
|
|
1588
1588
|
] }) }) }) }) }),
|
|
1589
|
-
faqSlot && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1589
|
+
faqSlot && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSTFOH6QUcjs.FaqSection, { ..._chunkSTFOH6QUcjs.pageFaqProps.call(void 0, faqSlot) })
|
|
1590
1590
|
]
|
|
1591
1591
|
}
|
|
1592
1592
|
);
|
|
1593
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1593
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBHJDQYUNcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
1594
1594
|
}
|
|
1595
1595
|
|
|
1596
1596
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkBHJDQYUNcjs = require('./chunk-BHJDQYUN.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -17,7 +17,7 @@ var _chunkIJCSQFLDcjs = require('./chunk-IJCSQFLD.cjs');
|
|
|
17
17
|
var _chunkT266OITJcjs = require('./chunk-T266OITJ.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkYAY7Z42Ccjs = require('./chunk-YAY7Z42C.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
@@ -203,13 +203,13 @@ function ContactForm({
|
|
|
203
203
|
);
|
|
204
204
|
}),
|
|
205
205
|
className: "flex flex-grow flex-col space-y-4 content-md:space-y-6",
|
|
206
|
-
...
|
|
206
|
+
..._chunkYAY7Z42Ccjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
207
207
|
children: [
|
|
208
208
|
!showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("name") }),
|
|
209
209
|
!showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
|
|
210
210
|
!showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
|
|
211
211
|
!showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
|
|
212
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
212
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBHJDQYUNcjs.HoneypotField, { ...honeypotInputProps }),
|
|
213
213
|
extraTopField,
|
|
214
214
|
showNameEmailRow && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
|
|
215
215
|
showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
@@ -334,7 +334,7 @@ function ContactForm({
|
|
|
334
334
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWF6TNZ3cjs.RequiredMark, {})
|
|
335
335
|
] }),
|
|
336
336
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
337
|
-
|
|
337
|
+
_chunkBHJDQYUNcjs.Textarea,
|
|
338
338
|
{
|
|
339
339
|
id: "message",
|
|
340
340
|
...register("message"),
|
|
@@ -6,7 +6,7 @@ var _chunkT266OITJcjs = require('./chunk-T266OITJ.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkYAY7Z42Ccjs = require('./chunk-YAY7Z42C.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
|
+
[_chunkYAY7Z42Ccjs.ShellTypeValues.POWERSHELL]: {
|
|
176
176
|
icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon,
|
|
177
177
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
178
178
|
},
|
|
179
|
-
[
|
|
179
|
+
[_chunkYAY7Z42Ccjs.ShellTypeValues.CMD]: {
|
|
180
180
|
icon: _chunkUXUYT4WKcjs.CmdIcon,
|
|
181
181
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
182
182
|
},
|
|
183
|
-
[
|
|
183
|
+
[_chunkYAY7Z42Ccjs.ShellTypeValues.BASH]: {
|
|
184
184
|
icon: _chunk5OG5ZTNMcjs.BashIcon,
|
|
185
185
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
186
186
|
},
|
|
187
|
-
[
|
|
187
|
+
[_chunkYAY7Z42Ccjs.ShellTypeValues.PYTHON]: {
|
|
188
188
|
icon: _chunkBF77UKGDcjs.PythonLogoIcon,
|
|
189
189
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
190
190
|
},
|
|
191
|
-
[
|
|
191
|
+
[_chunkYAY7Z42Ccjs.ShellTypeValues.NUSHELL]: {
|
|
192
192
|
icon: _chunkG37H4CBTcjs.NushellIcon,
|
|
193
193
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
194
194
|
},
|
|
195
|
-
[
|
|
195
|
+
[_chunkYAY7Z42Ccjs.ShellTypeValues.DENO]: {
|
|
196
196
|
icon: _chunkHUL6SF5Acjs.DenoIcon,
|
|
197
197
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
198
198
|
},
|
|
199
|
-
[
|
|
199
|
+
[_chunkYAY7Z42Ccjs.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 = _chunkYAY7Z42Ccjs.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) => _chunkYAY7Z42Ccjs.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 = _chunkYAY7Z42Ccjs.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: [
|