@flamingo-stack/openframe-frontend-core 0.0.584 → 0.0.585-1985.5484.1
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-3ELW4VML.js → chunk-276BXVOB.js} +3 -3
- package/dist/{chunk-Q66AMADB.cjs → chunk-27DK5GCC.cjs} +6 -6
- package/dist/{chunk-Q66AMADB.cjs.map → chunk-27DK5GCC.cjs.map} +1 -1
- package/dist/{chunk-TOUD3AGK.js → chunk-36GXR7BR.js} +5 -5
- package/dist/{chunk-QJR32JM2.cjs → chunk-3F7V7GFU.cjs} +212 -194
- package/dist/chunk-3F7V7GFU.cjs.map +1 -0
- package/dist/{chunk-33DHEEMP.cjs → chunk-4TN6C7ZG.cjs} +33 -33
- package/dist/{chunk-33DHEEMP.cjs.map → chunk-4TN6C7ZG.cjs.map} +1 -1
- package/dist/{chunk-VEHZNQ77.cjs → chunk-5LUPIYPH.cjs} +30 -30
- package/dist/{chunk-VEHZNQ77.cjs.map → chunk-5LUPIYPH.cjs.map} +1 -1
- package/dist/{chunk-JAJQ5P2Q.cjs → chunk-5YVCIBUH.cjs} +28 -28
- package/dist/{chunk-JAJQ5P2Q.cjs.map → chunk-5YVCIBUH.cjs.map} +1 -1
- package/dist/{chunk-ZHUBNWEX.cjs → chunk-6VFO4JUH.cjs} +6 -6
- package/dist/{chunk-ZHUBNWEX.cjs.map → chunk-6VFO4JUH.cjs.map} +1 -1
- package/dist/{chunk-5CJKZHWO.js → chunk-7554QJ6R.js} +5 -5
- package/dist/{chunk-EJKEDCTH.js → chunk-BNZFLIEG.js} +7 -7
- package/dist/{chunk-UCNEQKIT.cjs → chunk-BU2KLFRB.cjs} +5 -5
- package/dist/{chunk-UCNEQKIT.cjs.map → chunk-BU2KLFRB.cjs.map} +1 -1
- package/dist/{chunk-YFZDIEVC.js → chunk-CTZP2NJQ.js} +6 -6
- package/dist/{chunk-XWBND4G5.js → chunk-D7YISHXC.js} +17 -2
- package/dist/{chunk-XWBND4G5.js.map → chunk-D7YISHXC.js.map} +1 -1
- package/dist/{chunk-JFKK3ZOA.cjs → chunk-DZM7KTHE.cjs} +57 -57
- package/dist/{chunk-JFKK3ZOA.cjs.map → chunk-DZM7KTHE.cjs.map} +1 -1
- package/dist/{chunk-NNFQLTJ3.cjs → chunk-EMF64FWA.cjs} +31 -5
- package/dist/chunk-EMF64FWA.cjs.map +1 -0
- package/dist/{chunk-7X5TCK4R.cjs → chunk-F5SV627B.cjs} +10 -10
- package/dist/{chunk-7X5TCK4R.cjs.map → chunk-F5SV627B.cjs.map} +1 -1
- package/dist/{chunk-KP6VJP36.js → chunk-FCKOWGTE.js} +4 -4
- package/dist/{chunk-IIT5HWLY.cjs → chunk-FQJBV5ON.cjs} +11 -11
- package/dist/{chunk-IIT5HWLY.cjs.map → chunk-FQJBV5ON.cjs.map} +1 -1
- package/dist/{chunk-IKUSKKFZ.cjs → chunk-G45RGWHF.cjs} +159 -144
- package/dist/chunk-G45RGWHF.cjs.map +1 -0
- package/dist/{chunk-LNKULR4V.js → chunk-GG76BPXJ.js} +2 -2
- package/dist/{chunk-3ZA2OYRE.cjs → chunk-HAIRDHWL.cjs} +3 -3
- package/dist/{chunk-3ZA2OYRE.cjs.map → chunk-HAIRDHWL.cjs.map} +1 -1
- package/dist/{chunk-JWKAJTNA.cjs → chunk-HBI7AWUE.cjs} +28 -28
- package/dist/{chunk-JWKAJTNA.cjs.map → chunk-HBI7AWUE.cjs.map} +1 -1
- package/dist/{chunk-RURZ6QLN.js → chunk-HQRKC6P7.js} +3 -3
- package/dist/{chunk-VZSTL5VG.js → chunk-J4MVZ53H.js} +3 -3
- package/dist/{chunk-MYEG5ZDT.js → chunk-JKWWACNI.js} +3 -3
- package/dist/{chunk-6BJYPG2V.js → chunk-LNKBNY3A.js} +4 -4
- package/dist/{chunk-MCWAZ5XI.js → chunk-NFWAL6UV.js} +2 -2
- package/dist/{chunk-P2VRLSAP.cjs → chunk-QIVZG4XK.cjs} +21 -21
- package/dist/{chunk-P2VRLSAP.cjs.map → chunk-QIVZG4XK.cjs.map} +1 -1
- package/dist/{chunk-4T5KOD3G.js → chunk-SCMESLXP.js} +6 -6
- package/dist/{chunk-XPJKQ63S.js → chunk-UG6SHUGE.js} +3 -3
- package/dist/{chunk-MEJFHD5N.cjs → chunk-ULGI56BW.cjs} +19 -19
- package/dist/{chunk-MEJFHD5N.cjs.map → chunk-ULGI56BW.cjs.map} +1 -1
- package/dist/{chunk-VOAZU46B.cjs → chunk-VQ5FMCZA.cjs} +80 -80
- package/dist/{chunk-VOAZU46B.cjs.map → chunk-VQ5FMCZA.cjs.map} +1 -1
- package/dist/{chunk-TLKHLGAB.js → chunk-VSXFBO4D.js} +3 -3
- package/dist/{chunk-JVWRMLQZ.js → chunk-WXL2AR5I.js} +1330 -1312
- package/dist/chunk-WXL2AR5I.js.map +1 -0
- package/dist/{chunk-3LMYQGAJ.js → chunk-X7YSF6A3.js} +28 -2
- package/dist/chunk-X7YSF6A3.js.map +1 -0
- package/dist/{chunk-HCKEDTKJ.cjs → chunk-XK4S47LG.cjs} +15 -15
- package/dist/{chunk-HCKEDTKJ.cjs.map → chunk-XK4S47LG.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +10 -10
- package/dist/components/case-studies/index.js +4 -4
- package/dist/components/chat/entity-cards/program-card.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/index.js +2 -2
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/contact/index.js +4 -4
- package/dist/components/docs/index.cjs +8 -8
- package/dist/components/docs/index.js +7 -7
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/embeds/index.js +4 -4
- package/dist/components/faq/index.cjs +5 -5
- package/dist/components/faq/index.js +4 -4
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/features/index.js +3 -3
- package/dist/components/features/media-gallery-manager.d.ts.map +1 -1
- package/dist/components/features/push-button-selector.d.ts +9 -7
- package/dist/components/features/push-button-selector.d.ts.map +1 -1
- package/dist/components/features/release-media-manager.d.ts.map +1 -1
- package/dist/components/features/video.d.ts +8 -0
- package/dist/components/features/video.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +24 -24
- package/dist/components/help-center-pages/index.js +15 -15
- package/dist/components/index.cjs +53 -51
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +17 -15
- package/dist/components/index.js.map +1 -1
- package/dist/components/loading/unified-skeleton.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +31 -31
- package/dist/components/meeting-scheduler/index.js +3 -3
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/navigation/index.js +6 -6
- package/dist/components/onboarding-guides/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.js +6 -6
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +8 -8
- package/dist/components/tickets/index.js +7 -7
- package/dist/components/ui/index.cjs +6 -4
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +5 -3
- package/dist/components/ui/lazy-mount.d.ts +21 -0
- package/dist/components/ui/lazy-mount.d.ts.map +1 -0
- package/dist/index.cjs +20 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +19 -7
- package/dist/index.js.map +1 -1
- package/dist/types/marketing.d.ts +1 -1
- package/dist/types/marketing.d.ts.map +1 -1
- package/dist/utils/index.cjs +26 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +22 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/media-type.d.ts +26 -0
- package/dist/utils/media-type.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/components/chat/entity-cards/program-card.tsx +2 -2
- package/src/components/features/media-gallery-manager.tsx +4 -3
- package/src/components/features/push-button-selector.tsx +15 -12
- package/src/components/features/release-media-manager.tsx +3 -2
- package/src/components/features/video.tsx +28 -0
- package/src/components/loading/__tests__/unified-skeleton.test.tsx +16 -0
- package/src/components/loading/unified-skeleton.tsx +5 -1
- package/src/components/ui/__tests__/lazy-mount.test.tsx +46 -0
- package/src/components/ui/index.ts +3 -0
- package/src/components/ui/lazy-mount.tsx +38 -0
- package/src/types/.marketing.md +0 -1
- package/src/types/marketing.ts +4 -2
- package/src/utils/__tests__/media-type.test.ts +30 -0
- package/src/utils/index.ts +3 -0
- package/src/utils/media-type.ts +39 -0
- package/src/utils/vendor-media-stub.ts +7 -7
- package/dist/chunk-3LMYQGAJ.js.map +0 -1
- package/dist/chunk-IKUSKKFZ.cjs.map +0 -1
- package/dist/chunk-JVWRMLQZ.js.map +0 -1
- package/dist/chunk-NNFQLTJ3.cjs.map +0 -1
- package/dist/chunk-QJR32JM2.cjs.map +0 -1
- /package/dist/{chunk-3ELW4VML.js.map → chunk-276BXVOB.js.map} +0 -0
- /package/dist/{chunk-TOUD3AGK.js.map → chunk-36GXR7BR.js.map} +0 -0
- /package/dist/{chunk-5CJKZHWO.js.map → chunk-7554QJ6R.js.map} +0 -0
- /package/dist/{chunk-EJKEDCTH.js.map → chunk-BNZFLIEG.js.map} +0 -0
- /package/dist/{chunk-YFZDIEVC.js.map → chunk-CTZP2NJQ.js.map} +0 -0
- /package/dist/{chunk-KP6VJP36.js.map → chunk-FCKOWGTE.js.map} +0 -0
- /package/dist/{chunk-LNKULR4V.js.map → chunk-GG76BPXJ.js.map} +0 -0
- /package/dist/{chunk-RURZ6QLN.js.map → chunk-HQRKC6P7.js.map} +0 -0
- /package/dist/{chunk-VZSTL5VG.js.map → chunk-J4MVZ53H.js.map} +0 -0
- /package/dist/{chunk-MYEG5ZDT.js.map → chunk-JKWWACNI.js.map} +0 -0
- /package/dist/{chunk-6BJYPG2V.js.map → chunk-LNKBNY3A.js.map} +0 -0
- /package/dist/{chunk-MCWAZ5XI.js.map → chunk-NFWAL6UV.js.map} +0 -0
- /package/dist/{chunk-4T5KOD3G.js.map → chunk-SCMESLXP.js.map} +0 -0
- /package/dist/{chunk-XPJKQ63S.js.map → chunk-UG6SHUGE.js.map} +0 -0
- /package/dist/{chunk-TLKHLGAB.js.map → chunk-VSXFBO4D.js.map} +0 -0
|
@@ -36,7 +36,7 @@ var _chunk72OIVRPGcjs = require('./chunk-72OIVRPG.cjs');
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var _chunkEMF64FWAcjs = require('./chunk-EMF64FWA.cjs');
|
|
40
40
|
|
|
41
41
|
// src/components/related-content/related-content-section.tsx
|
|
42
42
|
var _react = require('react');
|
|
@@ -408,13 +408,13 @@ function cardEntry(definition) {
|
|
|
408
408
|
}
|
|
409
409
|
function programEntry(configKey) {
|
|
410
410
|
return cardEntry({
|
|
411
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
411
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMF64FWAcjs.ProgramCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
412
412
|
decode: decodeProgramRow,
|
|
413
413
|
render: (item, ctx) => {
|
|
414
414
|
const config = _optionalChain([ctx, 'access', _2 => _2.extras, 'optionalAccess', _3 => _3.programConfigs, 'optionalAccess', _4 => _4[configKey]]);
|
|
415
415
|
if (!config) return null;
|
|
416
416
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
417
|
-
|
|
417
|
+
_chunkEMF64FWAcjs.ProgramCard,
|
|
418
418
|
{
|
|
419
419
|
config,
|
|
420
420
|
item,
|
|
@@ -430,10 +430,10 @@ function programEntry(configKey) {
|
|
|
430
430
|
}
|
|
431
431
|
function roadmapEntry(cardType) {
|
|
432
432
|
return cardEntry({
|
|
433
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
433
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMF64FWAcjs.RoadmapCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
434
434
|
decode: decodeRoadmapRow,
|
|
435
435
|
render: (item, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
436
|
-
|
|
436
|
+
_chunkEMF64FWAcjs.RoadmapCard,
|
|
437
437
|
{
|
|
438
438
|
item,
|
|
439
439
|
href: ctx.href,
|
|
@@ -450,10 +450,10 @@ function roadmapEntry(cardType) {
|
|
|
450
450
|
}
|
|
451
451
|
var RELATED_CARD_REGISTRY = {
|
|
452
452
|
blog_post_existing: cardEntry({
|
|
453
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
453
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMF64FWAcjs.BlogCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
454
454
|
decode: decodeBlogRow,
|
|
455
455
|
render: (post, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
456
|
-
|
|
456
|
+
_chunkEMF64FWAcjs.BlogCard,
|
|
457
457
|
{
|
|
458
458
|
post,
|
|
459
459
|
size: ctx.legacySize,
|
|
@@ -465,10 +465,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
465
465
|
)
|
|
466
466
|
}),
|
|
467
467
|
case_study: cardEntry({
|
|
468
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
468
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMF64FWAcjs.CaseStudyCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
469
469
|
decode: decodeCaseStudyRow,
|
|
470
470
|
render: (study, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
471
|
-
|
|
471
|
+
_chunkEMF64FWAcjs.CaseStudyCard,
|
|
472
472
|
{
|
|
473
473
|
study,
|
|
474
474
|
size: ctx.legacySize,
|
|
@@ -480,10 +480,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
480
480
|
)
|
|
481
481
|
}),
|
|
482
482
|
customer_interview: cardEntry({
|
|
483
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
483
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMF64FWAcjs.CustomerInterviewCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
484
484
|
decode: decodeCustomerInterviewRow,
|
|
485
485
|
render: (interview, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
486
|
-
|
|
486
|
+
_chunkEMF64FWAcjs.CustomerInterviewCard,
|
|
487
487
|
{
|
|
488
488
|
interview,
|
|
489
489
|
size: ctx.legacySize,
|
|
@@ -501,13 +501,13 @@ var RELATED_CARD_REGISTRY = {
|
|
|
501
501
|
* record, and the three props the rail sets itself are read off it.
|
|
502
502
|
*/
|
|
503
503
|
product_release: cardEntry({
|
|
504
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
504
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMF64FWAcjs.ProductReleaseCardSkeleton, { size: size === "sm" ? "sm" : "lg" }),
|
|
505
505
|
decode: asRecord,
|
|
506
506
|
render: (release, ctx) => {
|
|
507
|
-
const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _5 => _5.extras, 'optionalAccess', _6 => _6.buildProductReleaseCardProps]), () => (
|
|
507
|
+
const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _5 => _5.extras, 'optionalAccess', _6 => _6.buildProductReleaseCardProps]), () => ( _chunkEMF64FWAcjs.buildProductReleaseCardProps));
|
|
508
508
|
const releaseProps = buildReleaseProps(release);
|
|
509
509
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
510
|
-
|
|
510
|
+
_chunkEMF64FWAcjs.ProductReleaseCard,
|
|
511
511
|
{
|
|
512
512
|
size: ctx.size === "sm" ? "sm" : "lg",
|
|
513
513
|
title: str(release, "title"),
|
|
@@ -523,10 +523,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
523
523
|
webinar: programEntry("webinar"),
|
|
524
524
|
event: programEntry("event"),
|
|
525
525
|
investor_update: cardEntry({
|
|
526
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
526
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMF64FWAcjs.InvestorUpdateCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
527
527
|
decode: decodeInvestorUpdateRow,
|
|
528
528
|
render: (update, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
529
|
-
|
|
529
|
+
_chunkEMF64FWAcjs.InvestorUpdateCard,
|
|
530
530
|
{
|
|
531
531
|
update,
|
|
532
532
|
size: ctx.legacySize,
|
|
@@ -541,10 +541,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
541
541
|
* step-numbered 'default' variant is for the guide detail page's "More in
|
|
542
542
|
* section" rail, not this full-width row. */
|
|
543
543
|
onboarding_guide: cardEntry({
|
|
544
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
544
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMF64FWAcjs.OnboardingGuideCardSkeleton, { size: size === "sm" ? "sm" : "catalog" }),
|
|
545
545
|
decode: decodeOnboardingGuideRow,
|
|
546
546
|
render: (guide, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
547
|
-
|
|
547
|
+
_chunkEMF64FWAcjs.OnboardingGuideCard,
|
|
548
548
|
{
|
|
549
549
|
guide,
|
|
550
550
|
size: ctx.size === "sm" ? "sm" : "catalog",
|
|
@@ -561,10 +561,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
561
561
|
* href: an object with `href: undefined` is still truthy and would wrap the
|
|
562
562
|
* card in a dead <a>. */
|
|
563
563
|
what_i_shipped: cardEntry({
|
|
564
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
564
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMF64FWAcjs.WhatIShippedCardSkeleton, {}),
|
|
565
565
|
decode: decodeEmployeeEntryRow,
|
|
566
566
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
567
|
-
|
|
567
|
+
_chunkEMF64FWAcjs.WhatIShippedCard,
|
|
568
568
|
{
|
|
569
569
|
entry,
|
|
570
570
|
placeholderUrl: ctx.placeholderUrl,
|
|
@@ -574,10 +574,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
574
574
|
}),
|
|
575
575
|
/** Same shared employee-entry shape + anchor contract as What I Shipped. */
|
|
576
576
|
how_i_work: cardEntry({
|
|
577
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
577
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMF64FWAcjs.HowIWorkCardSkeleton, {}),
|
|
578
578
|
decode: decodeEmployeeEntryRow,
|
|
579
579
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
580
|
-
|
|
580
|
+
_chunkEMF64FWAcjs.HowIWorkCard,
|
|
581
581
|
{
|
|
582
582
|
entry,
|
|
583
583
|
placeholderUrl: ctx.placeholderUrl,
|
|
@@ -598,7 +598,7 @@ function DefaultLinkPropsProvider({
|
|
|
598
598
|
children
|
|
599
599
|
}) {
|
|
600
600
|
if (!href) return children(null);
|
|
601
|
-
const newTab =
|
|
601
|
+
const newTab = _chunkEMF64FWAcjs.decideNewTab.call(void 0, { href, targetPlatform, currentSource: "" });
|
|
602
602
|
return children(newTab ? { href, target: "_blank", rel: "noopener noreferrer" } : { href });
|
|
603
603
|
}
|
|
604
604
|
function defaultResolveHref(ref) {
|
|
@@ -655,7 +655,7 @@ function useGroupItems(type, refs, buildUrl) {
|
|
|
655
655
|
const ids = refs.map((r) => r.id);
|
|
656
656
|
const url = ids.length > 0 ? buildUrl(type, ids) : null;
|
|
657
657
|
const { data, isLoading } = _chunk7PFDETEYcjs.useSelfFetch.call(void 0, url);
|
|
658
|
-
const items = data != null ?
|
|
658
|
+
const items = data != null ? _chunkEMF64FWAcjs.extractItems.call(void 0, data) : null;
|
|
659
659
|
return { items, isLoading };
|
|
660
660
|
}
|
|
661
661
|
function gridClassFor(columns) {
|
|
@@ -707,7 +707,7 @@ function ContentGroup({
|
|
|
707
707
|
}
|
|
708
708
|
if (!items || items.length === 0) return null;
|
|
709
709
|
const rowKey = (it) => {
|
|
710
|
-
const extracted =
|
|
710
|
+
const extracted = _chunkEMF64FWAcjs.extractItemId.call(void 0, type, it);
|
|
711
711
|
if (extracted !== null) return extracted;
|
|
712
712
|
return String(typeof it === "object" && it !== null ? it.id : void 0);
|
|
713
713
|
};
|
|
@@ -798,7 +798,7 @@ function RelatedContentSection({
|
|
|
798
798
|
);
|
|
799
799
|
const { data, isLoading } = _chunk7PFDETEYcjs.useSelfFetch.call(void 0, suggestUrl, { initialData });
|
|
800
800
|
const effectiveBuildListUrl = _react.useMemo.call(void 0,
|
|
801
|
-
() => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) =>
|
|
801
|
+
() => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) => _chunkEMF64FWAcjs.buildListUrl.call(void 0, type, ids, apiBaseUrl)))),
|
|
802
802
|
[buildListUrl2, apiBaseUrl]
|
|
803
803
|
);
|
|
804
804
|
const refs = _nullishCoalesce(_nullishCoalesce(contentRefs, () => ( _optionalChain([data, 'optionalAccess', _10 => _10.refs]))), () => ( []));
|
|
@@ -825,10 +825,10 @@ function RelatedContentSection({
|
|
|
825
825
|
}
|
|
826
826
|
let orderedTypes = _chunk72OIVRPGcjs.orderContentRefTypes.call(void 0, Object.keys(grouped));
|
|
827
827
|
if (entityType) {
|
|
828
|
-
const canonicalEntityType =
|
|
829
|
-
const sameType = orderedTypes.filter((t) =>
|
|
828
|
+
const canonicalEntityType = _chunkEMF64FWAcjs.canonicalContentRefType.call(void 0, entityType);
|
|
829
|
+
const sameType = orderedTypes.filter((t) => _chunkEMF64FWAcjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
|
|
830
830
|
if (sameType.length > 0) {
|
|
831
|
-
orderedTypes = [...sameType, ...orderedTypes.filter((t) =>
|
|
831
|
+
orderedTypes = [...sameType, ...orderedTypes.filter((t) => _chunkEMF64FWAcjs.canonicalContentRefType.call(void 0, t) !== canonicalEntityType)];
|
|
832
832
|
}
|
|
833
833
|
}
|
|
834
834
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
|
|
@@ -855,4 +855,4 @@ function RelatedContentSection({
|
|
|
855
855
|
|
|
856
856
|
|
|
857
857
|
exports.GROUP_PAGE_SIZE = GROUP_PAGE_SIZE; exports.RelatedContentSection = RelatedContentSection;
|
|
858
|
-
//# sourceMappingURL=chunk-
|
|
858
|
+
//# sourceMappingURL=chunk-5LUPIYPH.cjs.map
|