@flamingo-stack/openframe-frontend-core 0.0.733 → 0.0.734
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-TIMCHP4X.cjs → chunk-2OHBH6PS.cjs} +42 -42
- package/dist/{chunk-AV5533DH.cjs → chunk-3NANWZO3.cjs} +11 -11
- package/dist/{chunk-HSWHOCZ3.cjs → chunk-4Q34V7MD.cjs} +16 -16
- package/dist/{chunk-3KGICRH7.cjs → chunk-4V672TEI.cjs} +311 -311
- package/dist/{chunk-FNRMDDVN.cjs → chunk-5DDFSGCE.cjs} +33 -33
- package/dist/{chunk-IC4FT3A6.cjs → chunk-5OGT7H2S.cjs} +11 -11
- package/dist/{chunk-GB3CHAW7.cjs → chunk-73ZW3265.cjs} +75 -75
- package/dist/{chunk-U4T5NLZD.cjs → chunk-AOTOOGNX.cjs} +3 -3
- package/dist/{chunk-XY632BCH.cjs → chunk-CMUEFHM3.cjs} +4 -4
- package/dist/{chunk-EMG3T55N.cjs → chunk-D34BLEIR.cjs} +2 -2
- package/dist/{chunk-P3R23TOE.cjs → chunk-DHIISS4W.cjs} +15 -5
- package/dist/{chunk-3UTPZW36.cjs → chunk-EMBH2EJO.cjs} +65 -65
- package/dist/{chunk-E26I4XH6.cjs → chunk-FA5SMA7L.cjs} +4 -4
- package/dist/{chunk-YIXKH2JO.cjs → chunk-HAWQA5FI.cjs} +107 -107
- package/dist/{chunk-CJVAA7KL.cjs → chunk-JRC3KXKV.cjs} +30 -30
- package/dist/{chunk-EQORT7NK.cjs → chunk-KSXZABGH.cjs} +31 -31
- package/dist/{chunk-ZBNA6TCW.cjs → chunk-L7WJBJU7.cjs} +63 -63
- package/dist/{chunk-XDWY6HAW.cjs → chunk-OV7QQHLG.cjs} +15 -15
- package/dist/{chunk-ATMBJBOI.cjs → chunk-R65UD6BH.cjs} +12 -12
- package/dist/{chunk-J7JKPTGO.cjs → chunk-TLQQP2EL.cjs} +6 -6
- package/dist/{cloud-tenants-3GOGR3EN.cjs → cloud-tenants-HU7YZD33.cjs} +6 -6
- package/dist/components/case-studies/index.cjs +18 -18
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/contact/index.cjs +7 -7
- package/dist/components/docs/index.cjs +10 -10
- package/dist/components/embeds/index.cjs +7 -7
- package/dist/components/faq/index.cjs +7 -7
- package/dist/components/features/index.cjs +6 -6
- package/dist/components/help-center-pages/index.cjs +96 -96
- package/dist/components/index.cjs +53 -53
- package/dist/components/layout/page-heading.d.ts +9 -1
- package/dist/components/layout/page-heading.d.ts.map +1 -1
- package/dist/components/layout/page-heading.js +15 -5
- package/dist/components/meeting-scheduler/index.cjs +23 -23
- package/dist/components/navigation/index.cjs +9 -9
- package/dist/components/onboarding-guides/index.cjs +9 -9
- package/dist/components/product-demo/index.cjs +6 -6
- package/dist/components/related-content/index.cjs +4 -4
- package/dist/components/tickets/index.cjs +10 -10
- package/dist/components/ui/index.cjs +6 -6
- package/dist/{devices-POZXTP7X.cjs → devices-CKLN7BHY.cjs} +7 -7
- package/dist/{embeddable-chat-I3Y5GCCR.cjs → embeddable-chat-FTAX4SVV.cjs} +71 -71
- package/dist/index.cjs +10 -10
- package/dist/{knowledge-AP34IMXN.cjs → knowledge-NRLHSCC5.cjs} +7 -7
- package/dist/{logs-CEVMIOPW.cjs → logs-BR6SLYAF.cjs} +14 -14
- package/dist/{policies-AMBMRCGB.cjs → policies-MQRXBYG2.cjs} +10 -10
- package/dist/{software-update-Z3MWMSHI.cjs → software-update-RUGIQP7N.cjs} +9 -9
- package/package.json +1 -1
- package/src/components/layout/page-heading.tsx +37 -7
|
@@ -14,7 +14,7 @@ var _chunkOXJ57643cjs = require('./chunk-OXJ57643.cjs');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkTLQQP2ELcjs = require('./chunk-TLQQP2EL.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
@@ -39,7 +39,7 @@ var _chunkJ7JKPTGOcjs = require('./chunk-J7JKPTGO.cjs');
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
var
|
|
42
|
+
var _chunkDHIISS4Wcjs = require('./chunk-DHIISS4W.cjs');
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
var _chunkBLH2SFOOcjs = require('./chunk-BLH2SFOO.cjs');
|
|
@@ -440,13 +440,13 @@ function cardEntry(definition) {
|
|
|
440
440
|
}
|
|
441
441
|
function programEntry(configKey) {
|
|
442
442
|
return cardEntry({
|
|
443
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
443
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDHIISS4Wcjs.ProgramCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
444
444
|
decode: decodeProgramRow,
|
|
445
445
|
render: (item, ctx) => {
|
|
446
446
|
const config = _optionalChain([ctx, 'access', _2 => _2.extras, 'optionalAccess', _3 => _3.programConfigs, 'optionalAccess', _4 => _4[configKey]]);
|
|
447
447
|
if (!config) return null;
|
|
448
448
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
449
|
-
|
|
449
|
+
_chunkDHIISS4Wcjs.ProgramCard,
|
|
450
450
|
{
|
|
451
451
|
config,
|
|
452
452
|
item,
|
|
@@ -463,10 +463,10 @@ function programEntry(configKey) {
|
|
|
463
463
|
}
|
|
464
464
|
function roadmapEntry(cardType) {
|
|
465
465
|
return cardEntry({
|
|
466
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
466
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDHIISS4Wcjs.RoadmapCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
467
467
|
decode: decodeRoadmapRow,
|
|
468
468
|
render: (item, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
469
|
-
|
|
469
|
+
_chunkDHIISS4Wcjs.RoadmapCard,
|
|
470
470
|
{
|
|
471
471
|
item,
|
|
472
472
|
href: ctx.href,
|
|
@@ -483,10 +483,10 @@ function roadmapEntry(cardType) {
|
|
|
483
483
|
}
|
|
484
484
|
var RELATED_CARD_REGISTRY = {
|
|
485
485
|
blog_post_existing: cardEntry({
|
|
486
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
486
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDHIISS4Wcjs.BlogCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
487
487
|
decode: decodeBlogRow,
|
|
488
488
|
render: (post, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
489
|
-
|
|
489
|
+
_chunkDHIISS4Wcjs.BlogCard,
|
|
490
490
|
{
|
|
491
491
|
post,
|
|
492
492
|
size: ctx.legacySize,
|
|
@@ -498,10 +498,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
498
498
|
)
|
|
499
499
|
}),
|
|
500
500
|
case_study: cardEntry({
|
|
501
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
501
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDHIISS4Wcjs.CaseStudyCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
502
502
|
decode: decodeCaseStudyRow,
|
|
503
503
|
render: (study, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
504
|
-
|
|
504
|
+
_chunkDHIISS4Wcjs.CaseStudyCard,
|
|
505
505
|
{
|
|
506
506
|
study,
|
|
507
507
|
size: ctx.legacySize,
|
|
@@ -513,10 +513,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
513
513
|
)
|
|
514
514
|
}),
|
|
515
515
|
customer_interview: cardEntry({
|
|
516
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
516
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDHIISS4Wcjs.CustomerInterviewCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
517
517
|
decode: decodeCustomerInterviewRow,
|
|
518
518
|
render: (interview, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
519
|
-
|
|
519
|
+
_chunkDHIISS4Wcjs.CustomerInterviewCard,
|
|
520
520
|
{
|
|
521
521
|
interview,
|
|
522
522
|
size: ctx.legacySize,
|
|
@@ -534,13 +534,13 @@ var RELATED_CARD_REGISTRY = {
|
|
|
534
534
|
* record, and the three props the rail sets itself are read off it.
|
|
535
535
|
*/
|
|
536
536
|
product_release: cardEntry({
|
|
537
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
537
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDHIISS4Wcjs.ProductReleaseCardSkeleton, { size: size === "sm" ? "sm" : "lg" }),
|
|
538
538
|
decode: asRecord,
|
|
539
539
|
render: (release, ctx) => {
|
|
540
|
-
const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _5 => _5.extras, 'optionalAccess', _6 => _6.buildProductReleaseCardProps]), () => (
|
|
540
|
+
const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _5 => _5.extras, 'optionalAccess', _6 => _6.buildProductReleaseCardProps]), () => ( _chunkDHIISS4Wcjs.buildProductReleaseCardProps));
|
|
541
541
|
const releaseProps = buildReleaseProps(release);
|
|
542
542
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
543
|
-
|
|
543
|
+
_chunkDHIISS4Wcjs.ProductReleaseCard,
|
|
544
544
|
{
|
|
545
545
|
size: ctx.size === "sm" ? "sm" : "lg",
|
|
546
546
|
title: str(release, "title"),
|
|
@@ -556,10 +556,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
556
556
|
webinar: programEntry("webinar"),
|
|
557
557
|
event: programEntry("event"),
|
|
558
558
|
investor_update: cardEntry({
|
|
559
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
559
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDHIISS4Wcjs.InvestorUpdateCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
560
560
|
decode: decodeInvestorUpdateRow,
|
|
561
561
|
render: (update, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
562
|
-
|
|
562
|
+
_chunkDHIISS4Wcjs.InvestorUpdateCard,
|
|
563
563
|
{
|
|
564
564
|
update,
|
|
565
565
|
size: ctx.legacySize,
|
|
@@ -574,10 +574,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
574
574
|
* step-numbered 'default' variant is for the guide detail page's "More in
|
|
575
575
|
* section" rail, not this full-width row. */
|
|
576
576
|
onboarding_guide: cardEntry({
|
|
577
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
577
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDHIISS4Wcjs.OnboardingGuideCardSkeleton, { size: size === "sm" ? "sm" : "catalog" }),
|
|
578
578
|
decode: decodeOnboardingGuideRow,
|
|
579
579
|
render: (guide, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
580
|
-
|
|
580
|
+
_chunkDHIISS4Wcjs.OnboardingGuideCard,
|
|
581
581
|
{
|
|
582
582
|
guide,
|
|
583
583
|
size: ctx.size === "sm" ? "sm" : "catalog",
|
|
@@ -594,10 +594,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
594
594
|
* href: an object with `href: undefined` is still truthy and would wrap the
|
|
595
595
|
* card in a dead <a>. */
|
|
596
596
|
what_i_shipped: cardEntry({
|
|
597
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
597
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTLQQP2ELcjs.WhatIShippedCardSkeleton, {}),
|
|
598
598
|
decode: decodeEmployeeEntryRow,
|
|
599
599
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
600
|
-
|
|
600
|
+
_chunkTLQQP2ELcjs.WhatIShippedCard,
|
|
601
601
|
{
|
|
602
602
|
entry,
|
|
603
603
|
placeholderUrl: ctx.placeholderUrl,
|
|
@@ -607,10 +607,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
607
607
|
}),
|
|
608
608
|
/** Same shared employee-entry shape + anchor contract as What I Shipped. */
|
|
609
609
|
how_i_work: cardEntry({
|
|
610
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
610
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTLQQP2ELcjs.HowIWorkCardSkeleton, {}),
|
|
611
611
|
decode: decodeEmployeeEntryRow,
|
|
612
612
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
613
|
-
|
|
613
|
+
_chunkTLQQP2ELcjs.HowIWorkCard,
|
|
614
614
|
{
|
|
615
615
|
entry,
|
|
616
616
|
placeholderUrl: ctx.placeholderUrl,
|
|
@@ -620,10 +620,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
620
620
|
}),
|
|
621
621
|
/** Same shared employee-entry shape + anchor contract as What I Shipped. */
|
|
622
622
|
ai_prompt: cardEntry({
|
|
623
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
623
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTLQQP2ELcjs.AiPromptCardSkeleton, {}),
|
|
624
624
|
decode: decodeEmployeeEntryRow,
|
|
625
625
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
626
|
-
|
|
626
|
+
_chunkTLQQP2ELcjs.AiPromptCard,
|
|
627
627
|
{
|
|
628
628
|
entry,
|
|
629
629
|
placeholderUrl: ctx.placeholderUrl,
|
|
@@ -644,7 +644,7 @@ function DefaultLinkPropsProvider({
|
|
|
644
644
|
children
|
|
645
645
|
}) {
|
|
646
646
|
if (!href) return children(null);
|
|
647
|
-
const newTab =
|
|
647
|
+
const newTab = _chunkDHIISS4Wcjs.decideNewTab.call(void 0, { href, targetPlatform, currentSource: "" });
|
|
648
648
|
return children(newTab ? { href, target: "_blank", rel: "noopener noreferrer" } : { href });
|
|
649
649
|
}
|
|
650
650
|
function defaultResolveHref(ref) {
|
|
@@ -702,9 +702,9 @@ function useGroupItems(type, refs, buildUrl) {
|
|
|
702
702
|
const url = ids.length > 0 ? buildUrl(type, ids) : null;
|
|
703
703
|
const [pages, setPages] = _react.useState.call(void 0, () => /* @__PURE__ */ new Map());
|
|
704
704
|
const cached = url !== null ? pages.get(url) : void 0;
|
|
705
|
-
const { data, dataUrl, error } =
|
|
705
|
+
const { data, dataUrl, error } = _chunkTLQQP2ELcjs.useSelfFetch.call(void 0, cached ? null : url);
|
|
706
706
|
if (data != null && dataUrl !== null && !pages.has(dataUrl)) {
|
|
707
|
-
setPages(new Map(pages).set(dataUrl,
|
|
707
|
+
setPages(new Map(pages).set(dataUrl, _chunkDHIISS4Wcjs.extractItems.call(void 0, data)));
|
|
708
708
|
}
|
|
709
709
|
if (url === null) return { items: null, isLoading: false };
|
|
710
710
|
return { items: _nullishCoalesce(cached, () => ( (error ? [] : null))), isLoading: !cached && !error };
|
|
@@ -713,7 +713,7 @@ function gridClassFor(columns) {
|
|
|
713
713
|
return columns === 3 ? "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6" : "grid grid-cols-1 sm:grid-cols-2 gap-6";
|
|
714
714
|
}
|
|
715
715
|
function resolveGroupConfig(type) {
|
|
716
|
-
return _nullishCoalesce(
|
|
716
|
+
return _nullishCoalesce(_chunkTLQQP2ELcjs.CONTENT_REF_GROUPS[type], () => ( {
|
|
717
717
|
label: type,
|
|
718
718
|
order: 999,
|
|
719
719
|
layout: "grid",
|
|
@@ -756,7 +756,7 @@ function ContentGroup({
|
|
|
756
756
|
}
|
|
757
757
|
if (!items) return null;
|
|
758
758
|
const rowKey = (it) => {
|
|
759
|
-
const extracted =
|
|
759
|
+
const extracted = _chunkDHIISS4Wcjs.extractItemId.call(void 0, type, it);
|
|
760
760
|
if (extracted !== null) return extracted;
|
|
761
761
|
return String(typeof it === "object" && it !== null ? it.id : void 0);
|
|
762
762
|
};
|
|
@@ -824,11 +824,11 @@ function RelatedContentSection({
|
|
|
824
824
|
types: includeTypes !== void 0 ? includeTypes.join(",") : void 0,
|
|
825
825
|
excludeTypes: excludeTypes && excludeTypes.length > 0 ? excludeTypes.join(",") : void 0
|
|
826
826
|
};
|
|
827
|
-
const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ?
|
|
827
|
+
const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ? _chunkTLQQP2ELcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
|
|
828
828
|
apiBaseUrl,
|
|
829
829
|
extraParams: { authorId, ...typeFilterParams }
|
|
830
830
|
}) : null;
|
|
831
|
-
const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ?
|
|
831
|
+
const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ? _chunkTLQQP2ELcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
|
|
832
832
|
apiBaseUrl,
|
|
833
833
|
entityType,
|
|
834
834
|
entityId,
|
|
@@ -845,9 +845,9 @@ function RelatedContentSection({
|
|
|
845
845
|
() => !suggestionsDisabled && initialItems ? { refs: initialItems } : void 0,
|
|
846
846
|
[initialItems, suggestionsDisabled]
|
|
847
847
|
);
|
|
848
|
-
const { data, isLoading } =
|
|
848
|
+
const { data, isLoading } = _chunkTLQQP2ELcjs.useSelfFetch.call(void 0, suggestUrl, { initialData });
|
|
849
849
|
const effectiveBuildListUrl = _react.useMemo.call(void 0,
|
|
850
|
-
() => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) =>
|
|
850
|
+
() => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) => _chunkDHIISS4Wcjs.buildListUrl.call(void 0, type, ids, apiBaseUrl)))),
|
|
851
851
|
[buildListUrl2, apiBaseUrl]
|
|
852
852
|
);
|
|
853
853
|
const refs = _nullishCoalesce(_nullishCoalesce(contentRefs, () => ( _optionalChain([data, 'optionalAccess', _10 => _10.refs]))), () => ( []));
|
|
@@ -858,12 +858,12 @@ function RelatedContentSection({
|
|
|
858
858
|
if (isLoading) {
|
|
859
859
|
const skeletonType = _nullishCoalesce(_nullishCoalesce(_optionalChain([includeTypes, 'optionalAccess', _11 => _11[0]]), () => ( entityType)), () => ( "blog_post_existing"));
|
|
860
860
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
|
|
861
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children:
|
|
861
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: _chunkDHIISS4Wcjs.accentSentenceMarks.call(void 0, title) }),
|
|
862
862
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: gridClassFor(columns), children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: renderSkeletonForType(skeletonType, "default", adminCampaignCard) }, i)) })
|
|
863
863
|
] });
|
|
864
864
|
}
|
|
865
865
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
|
|
866
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children:
|
|
866
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children: _chunkDHIISS4Wcjs.accentSentenceMarks.call(void 0, title) }),
|
|
867
867
|
_nullishCoalesce(emptyState, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: emptyStateText })))
|
|
868
868
|
] });
|
|
869
869
|
}
|
|
@@ -872,16 +872,16 @@ function RelatedContentSection({
|
|
|
872
872
|
if (!grouped[ref.type]) grouped[ref.type] = [];
|
|
873
873
|
grouped[ref.type].push(ref);
|
|
874
874
|
}
|
|
875
|
-
let orderedTypes =
|
|
875
|
+
let orderedTypes = _chunkTLQQP2ELcjs.orderContentRefTypes.call(void 0, Object.keys(grouped));
|
|
876
876
|
if (entityType) {
|
|
877
|
-
const canonicalEntityType =
|
|
878
|
-
const sameType = orderedTypes.filter((t) =>
|
|
877
|
+
const canonicalEntityType = _chunkDHIISS4Wcjs.canonicalContentRefType.call(void 0, entityType);
|
|
878
|
+
const sameType = orderedTypes.filter((t) => _chunkDHIISS4Wcjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
|
|
879
879
|
if (sameType.length > 0) {
|
|
880
|
-
orderedTypes = [...sameType, ...orderedTypes.filter((t) =>
|
|
880
|
+
orderedTypes = [...sameType, ...orderedTypes.filter((t) => _chunkDHIISS4Wcjs.canonicalContentRefType.call(void 0, t) !== canonicalEntityType)];
|
|
881
881
|
}
|
|
882
882
|
}
|
|
883
883
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
|
|
884
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children:
|
|
884
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: _chunkDHIISS4Wcjs.accentSentenceMarks.call(void 0, title) }),
|
|
885
885
|
orderedTypes.map((type) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
886
886
|
ContentGroup,
|
|
887
887
|
{
|
|
@@ -893,7 +893,7 @@ function RelatedContentSection({
|
|
|
893
893
|
LinkProvider,
|
|
894
894
|
extras,
|
|
895
895
|
adminCampaignCard,
|
|
896
|
-
heading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children:
|
|
896
|
+
heading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: _chunkTLQQP2ELcjs.getContentRefLabelOrTitleCase.call(void 0, type) })
|
|
897
897
|
},
|
|
898
898
|
type
|
|
899
899
|
))
|
|
@@ -10,13 +10,13 @@ var _chunkHEVW75L3cjs = require('./chunk-HEVW75L3.cjs');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunk4V672TEIcjs = require('./chunk-4V672TEI.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
var _chunkL4ZNR5V7cjs = require('./chunk-L4ZNR5V7.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkEMBH2EJOcjs = require('./chunk-EMBH2EJO.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
@@ -25,7 +25,7 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkDHIISS4Wcjs = require('./chunk-DHIISS4W.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
var _chunkMYBTNOS6cjs = require('./chunk-MYBTNOS6.cjs');
|
|
@@ -71,7 +71,7 @@ function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
|
71
71
|
var _react = require('react');
|
|
72
72
|
|
|
73
73
|
function DevSectionView({ sectionKey, hero, preControls, children, showHeading = true }) {
|
|
74
|
-
const section =
|
|
74
|
+
const section = _chunkEMBH2EJOcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
75
75
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
76
76
|
const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
|
|
77
77
|
const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
|
|
@@ -122,7 +122,7 @@ function DevSectionView({ sectionKey, hero, preControls, children, showHeading =
|
|
|
122
122
|
preControls,
|
|
123
123
|
(search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
124
124
|
search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
125
|
-
|
|
125
|
+
_chunk4V672TEIcjs.SearchInput,
|
|
126
126
|
{
|
|
127
127
|
showDropdown: false,
|
|
128
128
|
placeholder: search.placeholder,
|
|
@@ -132,7 +132,7 @@ function DevSectionView({ sectionKey, hero, preControls, children, showHeading =
|
|
|
132
132
|
}
|
|
133
133
|
),
|
|
134
134
|
filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
135
|
-
|
|
135
|
+
_chunk4V672TEIcjs.StatusFilterComponent,
|
|
136
136
|
{
|
|
137
137
|
selectedStatus: currentFilterValue,
|
|
138
138
|
onStatusChange: handleFilterChange,
|
|
@@ -156,7 +156,7 @@ function DevSectionPage({
|
|
|
156
156
|
shell = true
|
|
157
157
|
}) {
|
|
158
158
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
159
|
-
const section =
|
|
159
|
+
const section = _chunkEMBH2EJOcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
160
160
|
const backCfg = backButton === false ? void 0 : {
|
|
161
161
|
label: _nullishCoalesce((backButton ? backButton.label : void 0), () => ( "Back to home")),
|
|
162
162
|
onClick: () => router.push(_nullishCoalesce((backButton ? backButton.href : void 0), () => ( "/")))
|
|
@@ -180,7 +180,7 @@ function DevSectionPage({
|
|
|
180
180
|
}
|
|
181
181
|
)
|
|
182
182
|
);
|
|
183
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
183
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4V672TEIcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
// src/components/shared/dev-section/dev-card-row.tsx
|
|
@@ -240,7 +240,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
240
240
|
const taskType = item.taskType;
|
|
241
241
|
const typeBadgeLabel = _chunkHEVW75L3cjs.TASK_TYPE_LABELS[taskType] || "TASK";
|
|
242
242
|
const typeBadgeTextColor = _chunkHEVW75L3cjs.TASK_TYPE_TEXT_COLORS[taskType] || "";
|
|
243
|
-
const statusBadgeScheme =
|
|
243
|
+
const statusBadgeScheme = _chunkDHIISS4Wcjs.getStatusColorScheme.call(void 0, item.status);
|
|
244
244
|
const relativeTime = getRelativeTime(item.dateUpdated);
|
|
245
245
|
const subtitle = `ACTIVE ${relativeTime}${item.listNames.length > 0 ? `, ${item.listNames.join(", ")}` : ""}, ${item.id}`;
|
|
246
246
|
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col items-start justify-between gap-[12px] content-md:flex-row content-md:gap-[16px]", children: [
|
|
@@ -252,7 +252,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
252
252
|
] }),
|
|
253
253
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-shrink-0 flex-row items-center gap-2 self-stretch content-md:w-auto content-md:flex-col content-md:items-end content-md:self-start", children: [
|
|
254
254
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
255
|
-
|
|
255
|
+
_chunkDHIISS4Wcjs.StatusBadge,
|
|
256
256
|
{
|
|
257
257
|
text: item.status.toUpperCase(),
|
|
258
258
|
colorScheme: statusBadgeScheme,
|
|
@@ -261,7 +261,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
261
261
|
}
|
|
262
262
|
),
|
|
263
263
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
264
|
-
|
|
264
|
+
_chunkDHIISS4Wcjs.StatusBadge,
|
|
265
265
|
{
|
|
266
266
|
text: typeBadgeLabel,
|
|
267
267
|
variant: "card",
|
|
@@ -6,7 +6,7 @@ var _chunkBP6R5WDWcjs = require('./chunk-BP6R5WDW.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkEMBH2EJOcjs = require('./chunk-EMBH2EJO.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunkSXGDKNVEcjs = require('./chunk-SXGDKNVE.cjs');
|
|
@@ -57,7 +57,7 @@ var _chunkJKX2C3I2cjs = require('./chunk-JKX2C3I2.cjs');
|
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
var
|
|
60
|
+
var _chunkDHIISS4Wcjs = require('./chunk-DHIISS4W.cjs');
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
var _chunkFTTLBMHUcjs = require('./chunk-FTTLBMHU.cjs');
|
|
@@ -177,31 +177,31 @@ CveLink.displayName = "CveLink";
|
|
|
177
177
|
// src/components/platform/ShellTypeBadge.tsx
|
|
178
178
|
|
|
179
179
|
var shellIconMap = {
|
|
180
|
-
[
|
|
180
|
+
[_chunkEMBH2EJOcjs.ShellTypeValues.POWERSHELL]: {
|
|
181
181
|
icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon,
|
|
182
182
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
183
183
|
},
|
|
184
|
-
[
|
|
184
|
+
[_chunkEMBH2EJOcjs.ShellTypeValues.CMD]: {
|
|
185
185
|
icon: _chunkUXUYT4WKcjs.CmdIcon,
|
|
186
186
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
187
187
|
},
|
|
188
|
-
[
|
|
188
|
+
[_chunkEMBH2EJOcjs.ShellTypeValues.BASH]: {
|
|
189
189
|
icon: _chunk5OG5ZTNMcjs.BashIcon,
|
|
190
190
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
191
191
|
},
|
|
192
|
-
[
|
|
192
|
+
[_chunkEMBH2EJOcjs.ShellTypeValues.PYTHON]: {
|
|
193
193
|
icon: _chunkBF77UKGDcjs.PythonLogoIcon,
|
|
194
194
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
195
195
|
},
|
|
196
|
-
[
|
|
196
|
+
[_chunkEMBH2EJOcjs.ShellTypeValues.NUSHELL]: {
|
|
197
197
|
icon: _chunkG37H4CBTcjs.NushellIcon,
|
|
198
198
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
199
199
|
},
|
|
200
|
-
[
|
|
200
|
+
[_chunkEMBH2EJOcjs.ShellTypeValues.DENO]: {
|
|
201
201
|
icon: _chunkHUL6SF5Acjs.DenoIcon,
|
|
202
202
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
203
203
|
},
|
|
204
|
-
[
|
|
204
|
+
[_chunkEMBH2EJOcjs.ShellTypeValues.SHELL]: {
|
|
205
205
|
icon: _chunk6RMATQNNcjs.ShellIcon,
|
|
206
206
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
207
207
|
}
|
|
@@ -212,7 +212,7 @@ var defaultIconConfig = {
|
|
|
212
212
|
};
|
|
213
213
|
var ShellTypeBadge = ({ shellType, className, iconClassName }) => {
|
|
214
214
|
const normalizedType = _optionalChain([shellType, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]);
|
|
215
|
-
const label =
|
|
215
|
+
const label = _chunkEMBH2EJOcjs.getShellLabel.call(void 0, normalizedType);
|
|
216
216
|
const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
|
|
217
217
|
const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
|
|
218
218
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-center gap-1", className), children: [
|
|
@@ -228,7 +228,7 @@ function formatSupportedPlatforms(platforms) {
|
|
|
228
228
|
if (!platforms || platforms.length === 0) {
|
|
229
229
|
return "All Platforms";
|
|
230
230
|
}
|
|
231
|
-
return platforms.map((platform) =>
|
|
231
|
+
return platforms.map((platform) => _chunkEMBH2EJOcjs.getOSLabel.call(void 0, platform)).join(", ");
|
|
232
232
|
}
|
|
233
233
|
function InfoCell({ label, value, avatar, className }) {
|
|
234
234
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
|
|
@@ -248,7 +248,7 @@ var ScriptInfoSection = ({
|
|
|
248
248
|
author,
|
|
249
249
|
className
|
|
250
250
|
}) => {
|
|
251
|
-
const shellLabel =
|
|
251
|
+
const shellLabel = _chunkEMBH2EJOcjs.getShellLabel.call(void 0, shellType);
|
|
252
252
|
const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
|
|
253
253
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", className), children: [
|
|
254
254
|
/* @__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: [
|
|
@@ -423,7 +423,7 @@ function OnboardingStepCard({
|
|
|
423
423
|
onSkip();
|
|
424
424
|
};
|
|
425
425
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
426
|
-
|
|
426
|
+
_chunkDHIISS4Wcjs.InteractiveCard,
|
|
427
427
|
{
|
|
428
428
|
clickable: false,
|
|
429
429
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
@@ -449,7 +449,7 @@ function OnboardingStepCard({
|
|
|
449
449
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[32px] w-[100px] animate-pulse rounded-[6px] bg-ods-border" }),
|
|
450
450
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[32px] w-[120px] animate-pulse rounded-[6px] bg-ods-border" })
|
|
451
451
|
] }) : isCompleted ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
452
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
452
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDHIISS4Wcjs.StatusBadge, { text: "COMPLETED", variant: "card", colorScheme: "success" }),
|
|
453
453
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
454
454
|
_chunkAZL332TKcjs.Button,
|
|
455
455
|
{
|
|
@@ -460,7 +460,7 @@ function OnboardingStepCard({
|
|
|
460
460
|
children: step.completedText
|
|
461
461
|
}
|
|
462
462
|
)
|
|
463
|
-
] }) : isSkipped ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
463
|
+
] }) : isSkipped ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDHIISS4Wcjs.StatusBadge, { text: "SKIPPED", variant: "card", colorScheme: "default" }) }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
464
464
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { variant: "outline", onClick: handleSkip, children: "Skip Step" }),
|
|
465
465
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { variant: "accent", onClick: handleAction, disabled: isProcessing, leftIcon: step.actionIcon("black"), children: step.actionText })
|
|
466
466
|
] })
|
|
@@ -577,7 +577,7 @@ function OnboardingWalkthrough({
|
|
|
577
577
|
const isAllComplete = allStepsComplete(steps);
|
|
578
578
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full space-y-4", className), children: [
|
|
579
579
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-start justify-between gap-3 md:flex-row md:items-center md:gap-0", children: [
|
|
580
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
580
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkDHIISS4Wcjs.SECTION_HEADING_CLASS, children: _chunkDHIISS4Wcjs.accentSentenceMarks.call(void 0, title) }),
|
|
581
581
|
isLoadingCompletion ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[48px] w-full animate-pulse rounded-[6px] bg-ods-border md:w-[160px]" }) : isAllComplete ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { variant: "accent", onClick: handleDismiss, className: "w-full md:w-auto", children: "Close Onboarding" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { variant: "outline", onClick: handleDismiss, className: "w-full md:w-auto", children: "Skip Onboarding" })
|
|
582
582
|
] }),
|
|
583
583
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, spacing), children: steps.map((step) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|