@flamingo-stack/openframe-frontend-core 0.0.622 → 0.0.623-snapshot.20260914025439
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-DV7IBKJI.cjs → chunk-2MMEPNSX.cjs} +8 -8
- package/dist/{chunk-DV7IBKJI.cjs.map → chunk-2MMEPNSX.cjs.map} +1 -1
- package/dist/{chunk-F4GW2DPW.js → chunk-56CBPVCF.js} +5 -5
- package/dist/{chunk-CLPPOP5T.cjs → chunk-5JOKGJSG.cjs} +11 -11
- package/dist/{chunk-CLPPOP5T.cjs.map → chunk-5JOKGJSG.cjs.map} +1 -1
- package/dist/{chunk-C6Y5FZMJ.cjs → chunk-AO6CJFQU.cjs} +18 -18
- package/dist/{chunk-C6Y5FZMJ.cjs.map → chunk-AO6CJFQU.cjs.map} +1 -1
- package/dist/{chunk-2BJONQDE.cjs → chunk-BC4GLCNE.cjs} +42 -42
- package/dist/{chunk-2BJONQDE.cjs.map → chunk-BC4GLCNE.cjs.map} +1 -1
- package/dist/{chunk-XAUPFCIJ.js → chunk-BXKM4GFD.js} +9 -2
- package/dist/chunk-BXKM4GFD.js.map +1 -0
- package/dist/{chunk-IP4OYYDY.cjs → chunk-C4Y3TEKO.cjs} +174 -174
- package/dist/{chunk-IP4OYYDY.cjs.map → chunk-C4Y3TEKO.cjs.map} +1 -1
- package/dist/{chunk-QUL55PJP.js → chunk-CP4YNYQA.js} +4 -4
- package/dist/{chunk-KTYYH3JV.cjs → chunk-D3IW3CSH.cjs} +5 -5
- package/dist/{chunk-KTYYH3JV.cjs.map → chunk-D3IW3CSH.cjs.map} +1 -1
- package/dist/{chunk-6TML2UIF.cjs → chunk-DPFMA6JD.cjs} +63 -63
- package/dist/{chunk-6TML2UIF.cjs.map → chunk-DPFMA6JD.cjs.map} +1 -1
- package/dist/{chunk-ME4C6DYA.cjs → chunk-DY4XQFGC.cjs} +12 -12
- package/dist/{chunk-ME4C6DYA.cjs.map → chunk-DY4XQFGC.cjs.map} +1 -1
- package/dist/{chunk-43JQ3SJS.js → chunk-EW6PYGB3.js} +2 -2
- package/dist/{chunk-EQ7AOKFK.js → chunk-F2G5BTBR.js} +9 -9
- package/dist/{chunk-A7TZZQGS.js → chunk-GRZHXAX6.js} +2 -2
- package/dist/{chunk-CKL3UD5N.js → chunk-HAYYFOUU.js} +4 -4
- package/dist/{chunk-HC6FZJMM.cjs → chunk-ISXADEGT.cjs} +39 -39
- package/dist/{chunk-HC6FZJMM.cjs.map → chunk-ISXADEGT.cjs.map} +1 -1
- package/dist/{chunk-KDZLAUHJ.cjs → chunk-IUMRVY4I.cjs} +28 -28
- package/dist/{chunk-KDZLAUHJ.cjs.map → chunk-IUMRVY4I.cjs.map} +1 -1
- package/dist/{chunk-PDGVOZCD.cjs → chunk-JEMBYNOG.cjs} +6 -6
- package/dist/{chunk-PDGVOZCD.cjs.map → chunk-JEMBYNOG.cjs.map} +1 -1
- package/dist/{chunk-7E24VV6D.js → chunk-JT4FL2DK.js} +8 -8
- package/dist/{chunk-IQNG52SU.js → chunk-KEHI5NAD.js} +189 -140
- package/dist/{chunk-IQNG52SU.js.map → chunk-KEHI5NAD.js.map} +1 -1
- package/dist/{chunk-NFITQGUP.js → chunk-KKD35GSD.js} +4 -4
- package/dist/{chunk-EYFFIJEY.js → chunk-LDR3QNOT.js} +3 -3
- package/dist/{chunk-CS7MVDUF.cjs → chunk-MP2K44EK.cjs} +8 -8
- package/dist/{chunk-CS7MVDUF.cjs.map → chunk-MP2K44EK.cjs.map} +1 -1
- package/dist/{chunk-RGVXFAWM.cjs → chunk-N3CTSPDZ.cjs} +3 -3
- package/dist/{chunk-RGVXFAWM.cjs.map → chunk-N3CTSPDZ.cjs.map} +1 -1
- package/dist/{chunk-IZ5GI3FP.cjs → chunk-NOQDSRSK.cjs} +11 -11
- package/dist/{chunk-IZ5GI3FP.cjs.map → chunk-NOQDSRSK.cjs.map} +1 -1
- package/dist/{chunk-5QUBQ4WP.js → chunk-NULR47FR.js} +4 -4
- package/dist/{chunk-7EV2UHWQ.cjs → chunk-OKMMP5PU.cjs} +734 -685
- package/dist/chunk-OKMMP5PU.cjs.map +1 -0
- package/dist/{chunk-Q2NPL4FU.cjs → chunk-OYP7ZNHW.cjs} +24 -24
- package/dist/{chunk-Q2NPL4FU.cjs.map → chunk-OYP7ZNHW.cjs.map} +1 -1
- package/dist/{chunk-CFZUWKQF.js → chunk-Q6QF35QE.js} +6 -6
- package/dist/{chunk-L4FR7YIS.js → chunk-QHH2GXHS.js} +3 -3
- package/dist/{chunk-VRUJPZ2C.js → chunk-RFUYCKBZ.js} +3 -3
- package/dist/{chunk-QCZMCOAD.cjs → chunk-TTSGX6AB.cjs} +33 -33
- package/dist/{chunk-QCZMCOAD.cjs.map → chunk-TTSGX6AB.cjs.map} +1 -1
- package/dist/{chunk-5G3L6327.cjs → chunk-U7TTQV4N.cjs} +3 -3
- package/dist/{chunk-5G3L6327.cjs.map → chunk-U7TTQV4N.cjs.map} +1 -1
- package/dist/{chunk-7OYQ6RVB.cjs → chunk-WKDNZXJK.cjs} +94 -94
- package/dist/{chunk-7OYQ6RVB.cjs.map → chunk-WKDNZXJK.cjs.map} +1 -1
- package/dist/{chunk-CJBSU3XB.cjs → chunk-WRJVEB2J.cjs} +9 -2
- package/dist/chunk-WRJVEB2J.cjs.map +1 -0
- package/dist/{chunk-YEIX26DQ.js → chunk-WSEDVYDY.js} +6 -6
- package/dist/{chunk-VBIFSOPQ.js → chunk-X3LC6R37.js} +3 -3
- package/dist/{chunk-5WGOAJ4B.js → chunk-X7LJRNMJ.js} +2 -2
- package/dist/{chunk-EG4IKWY4.cjs → chunk-YB6RCW77.cjs} +7 -7
- package/dist/{chunk-EG4IKWY4.cjs.map → chunk-YB6RCW77.cjs.map} +1 -1
- package/dist/{chunk-5YVZQVSR.js → chunk-YBEAX6QC.js} +5 -5
- package/dist/{chunk-FHR2JU2J.js → chunk-YQCA4ZEJ.js} +2 -2
- package/dist/{chunk-TMGTVVE2.js → chunk-YWFMYZ4G.js} +3 -3
- package/dist/{chunk-OHJZD7QU.js → chunk-ZYPB57IM.js} +4 -4
- package/dist/{chunk-O3P2INXM.cjs → chunk-ZZECM2I2.cjs} +27 -27
- package/dist/{chunk-O3P2INXM.cjs.map → chunk-ZZECM2I2.cjs.map} +1 -1
- package/dist/components/calendar.cjs +4 -4
- package/dist/components/calendar.js +1 -1
- package/dist/components/case-studies/index.cjs +12 -12
- package/dist/components/case-studies/index.js +6 -6
- package/dist/components/chat/index.cjs +4 -4
- package/dist/components/chat/index.js +3 -3
- package/dist/components/contact/index.cjs +7 -7
- package/dist/components/contact/index.js +6 -6
- package/dist/components/docs/index.cjs +10 -10
- package/dist/components/docs/index.js +9 -9
- package/dist/components/embeds/index.cjs +7 -7
- package/dist/components/embeds/index.js +6 -6
- package/dist/components/faq/index.cjs +7 -7
- package/dist/components/faq/index.js +6 -6
- package/dist/components/features/command-box.d.ts +11 -1
- package/dist/components/features/command-box.d.ts.map +1 -1
- package/dist/components/features/index.cjs +6 -6
- package/dist/components/features/index.js +5 -5
- package/dist/components/help-center-pages/index.cjs +28 -28
- package/dist/components/help-center-pages/index.js +19 -19
- package/dist/components/index.cjs +70 -70
- package/dist/components/index.js +19 -19
- package/dist/components/meeting-scheduler/index.cjs +46 -46
- package/dist/components/meeting-scheduler/index.js +7 -7
- package/dist/components/navigation/index.cjs +9 -9
- package/dist/components/navigation/index.js +8 -8
- package/dist/components/onboarding-guides/index.cjs +9 -9
- package/dist/components/onboarding-guides/index.js +8 -8
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/related-content/index.js +4 -4
- package/dist/components/tickets/index.cjs +11 -11
- package/dist/components/tickets/index.js +10 -10
- package/dist/components/ui/button/button-styles.d.ts +1 -0
- package/dist/components/ui/button/button-styles.d.ts.map +1 -1
- package/dist/components/ui/button/button.d.ts +1 -1
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/fade-preview.d.ts +25 -7
- package/dist/components/ui/fade-preview.d.ts.map +1 -1
- package/dist/components/ui/file-manager/index.cjs +11 -11
- package/dist/components/ui/file-manager/index.js +1 -1
- package/dist/components/ui/index.cjs +6 -6
- package/dist/components/ui/index.js +5 -5
- package/dist/components/ui/page-actions.d.ts +2 -2
- package/dist/components/ui/page-actions.d.ts.map +1 -1
- package/dist/index.cjs +10 -10
- package/dist/index.js +9 -9
- package/package.json +1 -1
- package/src/components/features/.command-box.md +2 -1
- package/src/components/features/command-box.tsx +36 -3
- package/src/components/ui/.fade-preview.md +5 -1
- package/src/components/ui/button/button-styles.ts +6 -0
- package/src/components/ui/button/button.tsx +1 -0
- package/src/components/ui/fade-preview.tsx +92 -20
- package/src/components/ui/page-actions.tsx +2 -2
- package/src/stories/Button.stories.tsx +6 -1
- package/dist/chunk-7EV2UHWQ.cjs.map +0 -1
- package/dist/chunk-CJBSU3XB.cjs.map +0 -1
- package/dist/chunk-XAUPFCIJ.js.map +0 -1
- /package/dist/{chunk-F4GW2DPW.js.map → chunk-56CBPVCF.js.map} +0 -0
- /package/dist/{chunk-QUL55PJP.js.map → chunk-CP4YNYQA.js.map} +0 -0
- /package/dist/{chunk-43JQ3SJS.js.map → chunk-EW6PYGB3.js.map} +0 -0
- /package/dist/{chunk-EQ7AOKFK.js.map → chunk-F2G5BTBR.js.map} +0 -0
- /package/dist/{chunk-A7TZZQGS.js.map → chunk-GRZHXAX6.js.map} +0 -0
- /package/dist/{chunk-CKL3UD5N.js.map → chunk-HAYYFOUU.js.map} +0 -0
- /package/dist/{chunk-7E24VV6D.js.map → chunk-JT4FL2DK.js.map} +0 -0
- /package/dist/{chunk-NFITQGUP.js.map → chunk-KKD35GSD.js.map} +0 -0
- /package/dist/{chunk-EYFFIJEY.js.map → chunk-LDR3QNOT.js.map} +0 -0
- /package/dist/{chunk-5QUBQ4WP.js.map → chunk-NULR47FR.js.map} +0 -0
- /package/dist/{chunk-CFZUWKQF.js.map → chunk-Q6QF35QE.js.map} +0 -0
- /package/dist/{chunk-L4FR7YIS.js.map → chunk-QHH2GXHS.js.map} +0 -0
- /package/dist/{chunk-VRUJPZ2C.js.map → chunk-RFUYCKBZ.js.map} +0 -0
- /package/dist/{chunk-YEIX26DQ.js.map → chunk-WSEDVYDY.js.map} +0 -0
- /package/dist/{chunk-VBIFSOPQ.js.map → chunk-X3LC6R37.js.map} +0 -0
- /package/dist/{chunk-5WGOAJ4B.js.map → chunk-X7LJRNMJ.js.map} +0 -0
- /package/dist/{chunk-5YVZQVSR.js.map → chunk-YBEAX6QC.js.map} +0 -0
- /package/dist/{chunk-FHR2JU2J.js.map → chunk-YQCA4ZEJ.js.map} +0 -0
- /package/dist/{chunk-TMGTVVE2.js.map → chunk-YWFMYZ4G.js.map} +0 -0
- /package/dist/{chunk-OHJZD7QU.js.map → chunk-ZYPB57IM.js.map} +0 -0
|
@@ -8,7 +8,7 @@ var _chunk3IXDZI3Rcjs = require('./chunk-3IXDZI3R.cjs');
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkYB6RCW77cjs = require('./chunk-YB6RCW77.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
var _chunkCCWI3622cjs = require('./chunk-CCWI3622.cjs');
|
|
@@ -41,7 +41,7 @@ var _chunkCCWI3622cjs = require('./chunk-CCWI3622.cjs');
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
var
|
|
44
|
+
var _chunkMP2K44EKcjs = require('./chunk-MP2K44EK.cjs');
|
|
45
45
|
|
|
46
46
|
// src/components/related-content/related-content-section.tsx
|
|
47
47
|
var _react = require('react');
|
|
@@ -418,13 +418,13 @@ function cardEntry(definition) {
|
|
|
418
418
|
}
|
|
419
419
|
function programEntry(configKey) {
|
|
420
420
|
return cardEntry({
|
|
421
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
421
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.ProgramCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
422
422
|
decode: decodeProgramRow,
|
|
423
423
|
render: (item, ctx) => {
|
|
424
424
|
const config = _optionalChain([ctx, 'access', _2 => _2.extras, 'optionalAccess', _3 => _3.programConfigs, 'optionalAccess', _4 => _4[configKey]]);
|
|
425
425
|
if (!config) return null;
|
|
426
426
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
427
|
-
|
|
427
|
+
_chunkMP2K44EKcjs.ProgramCard,
|
|
428
428
|
{
|
|
429
429
|
config,
|
|
430
430
|
item,
|
|
@@ -440,10 +440,10 @@ function programEntry(configKey) {
|
|
|
440
440
|
}
|
|
441
441
|
function roadmapEntry(cardType) {
|
|
442
442
|
return cardEntry({
|
|
443
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
443
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.RoadmapCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
444
444
|
decode: decodeRoadmapRow,
|
|
445
445
|
render: (item, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
446
|
-
|
|
446
|
+
_chunkMP2K44EKcjs.RoadmapCard,
|
|
447
447
|
{
|
|
448
448
|
item,
|
|
449
449
|
href: ctx.href,
|
|
@@ -460,10 +460,10 @@ function roadmapEntry(cardType) {
|
|
|
460
460
|
}
|
|
461
461
|
var RELATED_CARD_REGISTRY = {
|
|
462
462
|
blog_post_existing: cardEntry({
|
|
463
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
463
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.BlogCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
464
464
|
decode: decodeBlogRow,
|
|
465
465
|
render: (post, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
466
|
-
|
|
466
|
+
_chunkMP2K44EKcjs.BlogCard,
|
|
467
467
|
{
|
|
468
468
|
post,
|
|
469
469
|
size: ctx.legacySize,
|
|
@@ -475,10 +475,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
475
475
|
)
|
|
476
476
|
}),
|
|
477
477
|
case_study: cardEntry({
|
|
478
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
478
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.CaseStudyCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
479
479
|
decode: decodeCaseStudyRow,
|
|
480
480
|
render: (study, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
481
|
-
|
|
481
|
+
_chunkMP2K44EKcjs.CaseStudyCard,
|
|
482
482
|
{
|
|
483
483
|
study,
|
|
484
484
|
size: ctx.legacySize,
|
|
@@ -490,10 +490,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
490
490
|
)
|
|
491
491
|
}),
|
|
492
492
|
customer_interview: cardEntry({
|
|
493
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
493
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.CustomerInterviewCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
494
494
|
decode: decodeCustomerInterviewRow,
|
|
495
495
|
render: (interview, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
496
|
-
|
|
496
|
+
_chunkMP2K44EKcjs.CustomerInterviewCard,
|
|
497
497
|
{
|
|
498
498
|
interview,
|
|
499
499
|
size: ctx.legacySize,
|
|
@@ -511,13 +511,13 @@ var RELATED_CARD_REGISTRY = {
|
|
|
511
511
|
* record, and the three props the rail sets itself are read off it.
|
|
512
512
|
*/
|
|
513
513
|
product_release: cardEntry({
|
|
514
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
514
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.ProductReleaseCardSkeleton, { size: size === "sm" ? "sm" : "lg" }),
|
|
515
515
|
decode: asRecord,
|
|
516
516
|
render: (release, ctx) => {
|
|
517
|
-
const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _5 => _5.extras, 'optionalAccess', _6 => _6.buildProductReleaseCardProps]), () => (
|
|
517
|
+
const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _5 => _5.extras, 'optionalAccess', _6 => _6.buildProductReleaseCardProps]), () => ( _chunkMP2K44EKcjs.buildProductReleaseCardProps));
|
|
518
518
|
const releaseProps = buildReleaseProps(release);
|
|
519
519
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
520
|
-
|
|
520
|
+
_chunkMP2K44EKcjs.ProductReleaseCard,
|
|
521
521
|
{
|
|
522
522
|
size: ctx.size === "sm" ? "sm" : "lg",
|
|
523
523
|
title: str(release, "title"),
|
|
@@ -533,10 +533,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
533
533
|
webinar: programEntry("webinar"),
|
|
534
534
|
event: programEntry("event"),
|
|
535
535
|
investor_update: cardEntry({
|
|
536
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
536
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.InvestorUpdateCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
537
537
|
decode: decodeInvestorUpdateRow,
|
|
538
538
|
render: (update, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
539
|
-
|
|
539
|
+
_chunkMP2K44EKcjs.InvestorUpdateCard,
|
|
540
540
|
{
|
|
541
541
|
update,
|
|
542
542
|
size: ctx.legacySize,
|
|
@@ -551,10 +551,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
551
551
|
* step-numbered 'default' variant is for the guide detail page's "More in
|
|
552
552
|
* section" rail, not this full-width row. */
|
|
553
553
|
onboarding_guide: cardEntry({
|
|
554
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
554
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.OnboardingGuideCardSkeleton, { size: size === "sm" ? "sm" : "catalog" }),
|
|
555
555
|
decode: decodeOnboardingGuideRow,
|
|
556
556
|
render: (guide, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
557
|
-
|
|
557
|
+
_chunkMP2K44EKcjs.OnboardingGuideCard,
|
|
558
558
|
{
|
|
559
559
|
guide,
|
|
560
560
|
size: ctx.size === "sm" ? "sm" : "catalog",
|
|
@@ -571,10 +571,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
571
571
|
* href: an object with `href: undefined` is still truthy and would wrap the
|
|
572
572
|
* card in a dead <a>. */
|
|
573
573
|
what_i_shipped: cardEntry({
|
|
574
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
574
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.WhatIShippedCardSkeleton, {}),
|
|
575
575
|
decode: decodeEmployeeEntryRow,
|
|
576
576
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
577
|
-
|
|
577
|
+
_chunkMP2K44EKcjs.WhatIShippedCard,
|
|
578
578
|
{
|
|
579
579
|
entry,
|
|
580
580
|
placeholderUrl: ctx.placeholderUrl,
|
|
@@ -584,10 +584,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
584
584
|
}),
|
|
585
585
|
/** Same shared employee-entry shape + anchor contract as What I Shipped. */
|
|
586
586
|
how_i_work: cardEntry({
|
|
587
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
587
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.HowIWorkCardSkeleton, {}),
|
|
588
588
|
decode: decodeEmployeeEntryRow,
|
|
589
589
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
590
|
-
|
|
590
|
+
_chunkMP2K44EKcjs.HowIWorkCard,
|
|
591
591
|
{
|
|
592
592
|
entry,
|
|
593
593
|
placeholderUrl: ctx.placeholderUrl,
|
|
@@ -597,10 +597,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
597
597
|
}),
|
|
598
598
|
/** Same shared employee-entry shape + anchor contract as What I Shipped. */
|
|
599
599
|
ai_prompt: cardEntry({
|
|
600
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
600
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.AiPromptCardSkeleton, {}),
|
|
601
601
|
decode: decodeEmployeeEntryRow,
|
|
602
602
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
603
|
-
|
|
603
|
+
_chunkMP2K44EKcjs.AiPromptCard,
|
|
604
604
|
{
|
|
605
605
|
entry,
|
|
606
606
|
placeholderUrl: ctx.placeholderUrl,
|
|
@@ -621,7 +621,7 @@ function DefaultLinkPropsProvider({
|
|
|
621
621
|
children
|
|
622
622
|
}) {
|
|
623
623
|
if (!href) return children(null);
|
|
624
|
-
const newTab =
|
|
624
|
+
const newTab = _chunkMP2K44EKcjs.decideNewTab.call(void 0, { href, targetPlatform, currentSource: "" });
|
|
625
625
|
return children(newTab ? { href, target: "_blank", rel: "noopener noreferrer" } : { href });
|
|
626
626
|
}
|
|
627
627
|
function defaultResolveHref(ref) {
|
|
@@ -678,14 +678,14 @@ function useGroupItems(type, refs, buildUrl) {
|
|
|
678
678
|
const ids = refs.map((r) => r.id);
|
|
679
679
|
const url = ids.length > 0 ? buildUrl(type, ids) : null;
|
|
680
680
|
const { data, isLoading } = _chunk3IXDZI3Rcjs.useSelfFetch.call(void 0, url);
|
|
681
|
-
const items = data != null ?
|
|
681
|
+
const items = data != null ? _chunkMP2K44EKcjs.extractItems.call(void 0, data) : null;
|
|
682
682
|
return { items, isLoading };
|
|
683
683
|
}
|
|
684
684
|
function gridClassFor(columns) {
|
|
685
685
|
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";
|
|
686
686
|
}
|
|
687
687
|
function resolveGroupConfig(type) {
|
|
688
|
-
return _nullishCoalesce(
|
|
688
|
+
return _nullishCoalesce(_chunkYB6RCW77cjs.CONTENT_REF_GROUPS[type], () => ( {
|
|
689
689
|
label: type,
|
|
690
690
|
order: 999,
|
|
691
691
|
layout: "grid",
|
|
@@ -720,7 +720,7 @@ function ContentGroup({
|
|
|
720
720
|
const totalGroupPages = _chunkCCWI3622cjs.pageCount.call(void 0, refs.length, GROUP_PAGE_SIZE);
|
|
721
721
|
const safePage = Math.min(page, totalGroupPages);
|
|
722
722
|
const visibleGroupRefs = refs.length > GROUP_PAGE_SIZE ? refs.slice((safePage - 1) * GROUP_PAGE_SIZE, safePage * GROUP_PAGE_SIZE) : refs;
|
|
723
|
-
const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
723
|
+
const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYB6RCW77cjs.Pagination, { currentPage: safePage, totalPages: totalGroupPages, onPageChange: setPage }) : null;
|
|
724
724
|
if (isLoading && !items) {
|
|
725
725
|
const skeletons = visibleGroupRefs.map((r) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: renderSkeletonForType(type, cardSize, adminCampaignCard) }, r.id));
|
|
726
726
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
@@ -730,7 +730,7 @@ function ContentGroup({
|
|
|
730
730
|
}
|
|
731
731
|
if (!items || items.length === 0) return null;
|
|
732
732
|
const rowKey = (it) => {
|
|
733
|
-
const extracted =
|
|
733
|
+
const extracted = _chunkMP2K44EKcjs.extractItemId.call(void 0, type, it);
|
|
734
734
|
if (extracted !== null) return extracted;
|
|
735
735
|
return String(typeof it === "object" && it !== null ? it.id : void 0);
|
|
736
736
|
};
|
|
@@ -798,11 +798,11 @@ function RelatedContentSection({
|
|
|
798
798
|
types: includeTypes !== void 0 ? includeTypes.join(",") : void 0,
|
|
799
799
|
excludeTypes: excludeTypes && excludeTypes.length > 0 ? excludeTypes.join(",") : void 0
|
|
800
800
|
};
|
|
801
|
-
const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ?
|
|
801
|
+
const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ? _chunkYB6RCW77cjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
|
|
802
802
|
apiBaseUrl,
|
|
803
803
|
extraParams: { authorId, ...typeFilterParams }
|
|
804
804
|
}) : null;
|
|
805
|
-
const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ?
|
|
805
|
+
const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ? _chunkYB6RCW77cjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
|
|
806
806
|
apiBaseUrl,
|
|
807
807
|
entityType,
|
|
808
808
|
entityId,
|
|
@@ -821,7 +821,7 @@ function RelatedContentSection({
|
|
|
821
821
|
);
|
|
822
822
|
const { data, isLoading } = _chunk3IXDZI3Rcjs.useSelfFetch.call(void 0, suggestUrl, { initialData });
|
|
823
823
|
const effectiveBuildListUrl = _react.useMemo.call(void 0,
|
|
824
|
-
() => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) =>
|
|
824
|
+
() => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) => _chunkMP2K44EKcjs.buildListUrl.call(void 0, type, ids, apiBaseUrl)))),
|
|
825
825
|
[buildListUrl2, apiBaseUrl]
|
|
826
826
|
);
|
|
827
827
|
const refs = _nullishCoalesce(_nullishCoalesce(contentRefs, () => ( _optionalChain([data, 'optionalAccess', _10 => _10.refs]))), () => ( []));
|
|
@@ -846,12 +846,12 @@ function RelatedContentSection({
|
|
|
846
846
|
if (!grouped[ref.type]) grouped[ref.type] = [];
|
|
847
847
|
grouped[ref.type].push(ref);
|
|
848
848
|
}
|
|
849
|
-
let orderedTypes =
|
|
849
|
+
let orderedTypes = _chunkYB6RCW77cjs.orderContentRefTypes.call(void 0, Object.keys(grouped));
|
|
850
850
|
if (entityType) {
|
|
851
|
-
const canonicalEntityType =
|
|
852
|
-
const sameType = orderedTypes.filter((t) =>
|
|
851
|
+
const canonicalEntityType = _chunkMP2K44EKcjs.canonicalContentRefType.call(void 0, entityType);
|
|
852
|
+
const sameType = orderedTypes.filter((t) => _chunkMP2K44EKcjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
|
|
853
853
|
if (sameType.length > 0) {
|
|
854
|
-
orderedTypes = [...sameType, ...orderedTypes.filter((t) =>
|
|
854
|
+
orderedTypes = [...sameType, ...orderedTypes.filter((t) => _chunkMP2K44EKcjs.canonicalContentRefType.call(void 0, t) !== canonicalEntityType)];
|
|
855
855
|
}
|
|
856
856
|
}
|
|
857
857
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
|
|
@@ -867,7 +867,7 @@ function RelatedContentSection({
|
|
|
867
867
|
LinkProvider,
|
|
868
868
|
extras,
|
|
869
869
|
adminCampaignCard,
|
|
870
|
-
heading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children:
|
|
870
|
+
heading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: _chunkYB6RCW77cjs.getContentRefLabelOrTitleCase.call(void 0, type) })
|
|
871
871
|
},
|
|
872
872
|
type
|
|
873
873
|
))
|
|
@@ -878,4 +878,4 @@ function RelatedContentSection({
|
|
|
878
878
|
|
|
879
879
|
|
|
880
880
|
exports.GROUP_PAGE_SIZE = GROUP_PAGE_SIZE; exports.RelatedContentSection = RelatedContentSection;
|
|
881
|
-
//# sourceMappingURL=chunk-
|
|
881
|
+
//# sourceMappingURL=chunk-ISXADEGT.cjs.map
|