@flamingo-stack/openframe-frontend-core 0.0.619 → 0.0.620-snapshot.20260913213846
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-EIFU6N5L.cjs → chunk-2BJONQDE.cjs} +29 -29
- package/dist/{chunk-EIFU6N5L.cjs.map → chunk-2BJONQDE.cjs.map} +1 -1
- package/dist/{chunk-S44BHDOI.js → chunk-43JQ3SJS.js} +3 -2
- package/dist/{chunk-S44BHDOI.js.map → chunk-43JQ3SJS.js.map} +1 -1
- package/dist/{chunk-RTC3H5RW.js → chunk-5QUBQ4WP.js} +4 -4
- package/dist/{chunk-U7MQS4CR.cjs → chunk-5Y2V24GT.cjs} +80 -80
- package/dist/{chunk-U7MQS4CR.cjs.map → chunk-5Y2V24GT.cjs.map} +1 -1
- package/dist/{chunk-I7RWVDN4.js → chunk-5YVZQVSR.js} +5 -5
- package/dist/{chunk-JBXNDB5U.js → chunk-62TUSJHG.js} +7 -7
- package/dist/{chunk-DXR23SLZ.cjs → chunk-7EV2UHWQ.cjs} +204 -199
- package/dist/chunk-7EV2UHWQ.cjs.map +1 -0
- package/dist/{chunk-SKRI6QJ5.js → chunk-A7TZZQGS.js} +2 -2
- package/dist/{chunk-QVOS4BPC.cjs → chunk-ADT6RYCG.cjs} +57 -57
- package/dist/{chunk-QVOS4BPC.cjs.map → chunk-ADT6RYCG.cjs.map} +1 -1
- package/dist/{chunk-LPGBA4UZ.js → chunk-ALHMMNAZ.js} +3 -3
- package/dist/{chunk-D4ARG53E.js → chunk-CFZUWKQF.js} +6 -6
- package/dist/{chunk-5DUTXG6P.js → chunk-CKL3UD5N.js} +3 -3
- package/dist/{chunk-AU2Q75HU.cjs → chunk-CLPPOP5T.cjs} +6 -6
- package/dist/{chunk-AU2Q75HU.cjs.map → chunk-CLPPOP5T.cjs.map} +1 -1
- package/dist/{chunk-EYKTKDRK.cjs → chunk-CS7MVDUF.cjs} +3 -2
- package/dist/chunk-CS7MVDUF.cjs.map +1 -0
- package/dist/{chunk-ZPJ6KYAW.js → chunk-EYFFIJEY.js} +3 -3
- package/dist/{chunk-JA2SIJ7T.js → chunk-F4GW2DPW.js} +4 -4
- package/dist/{chunk-GNWKLE7O.cjs → chunk-HC6FZJMM.cjs} +32 -32
- package/dist/{chunk-GNWKLE7O.cjs.map → chunk-HC6FZJMM.cjs.map} +1 -1
- package/dist/{chunk-GAPXVAS6.cjs → chunk-IP4OYYDY.cjs} +400 -368
- package/dist/chunk-IP4OYYDY.cjs.map +1 -0
- package/dist/{chunk-3Z5ZIKDX.js → chunk-IQNG52SU.js} +9 -4
- package/dist/chunk-IQNG52SU.js.map +1 -0
- package/dist/{chunk-UP2OB7RI.cjs → chunk-IZ5GI3FP.cjs} +11 -11
- package/dist/{chunk-UP2OB7RI.cjs.map → chunk-IZ5GI3FP.cjs.map} +1 -1
- package/dist/{chunk-YNA7ZCDS.cjs → chunk-KDZLAUHJ.cjs} +28 -28
- package/dist/{chunk-YNA7ZCDS.cjs.map → chunk-KDZLAUHJ.cjs.map} +1 -1
- package/dist/{chunk-4ZGUSO7M.cjs → chunk-KTYYH3JV.cjs} +5 -5
- package/dist/{chunk-4ZGUSO7M.cjs.map → chunk-KTYYH3JV.cjs.map} +1 -1
- package/dist/{chunk-3BNNYHP2.js → chunk-L4FR7YIS.js} +3 -3
- package/dist/{chunk-M4V2O2MT.cjs → chunk-ME4C6DYA.cjs} +10 -10
- package/dist/{chunk-M4V2O2MT.cjs.map → chunk-ME4C6DYA.cjs.map} +1 -1
- package/dist/{chunk-NOW7NGUH.cjs → chunk-MSEHEEF7.cjs} +15 -15
- package/dist/{chunk-NOW7NGUH.cjs.map → chunk-MSEHEEF7.cjs.map} +1 -1
- package/dist/{chunk-HPIRQWNK.js → chunk-NFITQGUP.js} +3 -3
- package/dist/{chunk-P3I5KY4A.cjs → chunk-O3P2INXM.cjs} +20 -20
- package/dist/{chunk-P3I5KY4A.cjs.map → chunk-O3P2INXM.cjs.map} +1 -1
- package/dist/{chunk-OD4JKGQG.js → chunk-OEXGPFM2.js} +6 -6
- package/dist/{chunk-J27HVNT2.js → chunk-OHJZD7QU.js} +3 -3
- package/dist/{chunk-UWPZT3FY.cjs → chunk-PDGVOZCD.cjs} +6 -6
- package/dist/{chunk-UWPZT3FY.cjs.map → chunk-PDGVOZCD.cjs.map} +1 -1
- package/dist/{chunk-XRWY5ETC.cjs → chunk-Q2NPL4FU.cjs} +22 -22
- package/dist/{chunk-XRWY5ETC.cjs.map → chunk-Q2NPL4FU.cjs.map} +1 -1
- package/dist/{chunk-KQDGZS3U.cjs → chunk-QCZMCOAD.cjs} +33 -33
- package/dist/{chunk-KQDGZS3U.cjs.map → chunk-QCZMCOAD.cjs.map} +1 -1
- package/dist/{chunk-HF4EZICZ.cjs → chunk-RGVXFAWM.cjs} +3 -3
- package/dist/{chunk-HF4EZICZ.cjs.map → chunk-RGVXFAWM.cjs.map} +1 -1
- package/dist/{chunk-7HWVD42H.js → chunk-TMGTVVE2.js} +2 -2
- package/dist/{chunk-65SWJSQX.js → chunk-VRUJPZ2C.js} +39 -7
- package/dist/chunk-VRUJPZ2C.js.map +1 -0
- package/dist/{chunk-MJRXGAXS.js → chunk-YEIX26DQ.js} +5 -5
- package/dist/components/case-studies/index.cjs +10 -10
- package/dist/components/case-studies/index.js +4 -4
- package/dist/components/chat/entity-cards/dispatch.d.ts +6 -0
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/index.d.ts +1 -1
- package/dist/components/chat/entity-cards/index.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +5 -3
- package/dist/components/chat/index.cjs.map +1 -1
- package/dist/components/chat/index.js +4 -2
- package/dist/components/chat/utils/icon-registry.d.ts.map +1 -1
- 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/help-center-pages/index.cjs +24 -24
- package/dist/components/help-center-pages/index.js +15 -15
- package/dist/components/index.cjs +55 -53
- 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/meeting-scheduler/index.cjs +34 -34
- 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/accordion.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +6 -4
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +5 -3
- package/dist/index.cjs +10 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -7
- package/dist/index.js.map +1 -1
- package/dist/types/video-processing.d.ts +1 -1
- package/dist/types/video-processing.d.ts.map +1 -1
- package/dist/utils/index.cjs +8 -3
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js +9 -4
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/list-url.d.ts.map +1 -1
- package/dist/utils/source-icons.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/chat-card-label.test.tsx +24 -0
- package/src/components/chat/entity-cards/dispatch.tsx +40 -4
- package/src/components/chat/entity-cards/index.ts +1 -0
- package/src/components/chat/utils/icon-registry.ts +3 -0
- package/src/components/ui/accordion.tsx +4 -1
- package/src/types/video-processing.ts +2 -1
- package/src/utils/__tests__/list-url.test.ts +1 -0
- package/src/utils/list-url.ts +1 -0
- package/src/utils/source-icons.ts +3 -0
- package/dist/chunk-3Z5ZIKDX.js.map +0 -1
- package/dist/chunk-65SWJSQX.js.map +0 -1
- package/dist/chunk-DXR23SLZ.cjs.map +0 -1
- package/dist/chunk-EYKTKDRK.cjs.map +0 -1
- package/dist/chunk-GAPXVAS6.cjs.map +0 -1
- /package/dist/{chunk-RTC3H5RW.js.map → chunk-5QUBQ4WP.js.map} +0 -0
- /package/dist/{chunk-I7RWVDN4.js.map → chunk-5YVZQVSR.js.map} +0 -0
- /package/dist/{chunk-JBXNDB5U.js.map → chunk-62TUSJHG.js.map} +0 -0
- /package/dist/{chunk-SKRI6QJ5.js.map → chunk-A7TZZQGS.js.map} +0 -0
- /package/dist/{chunk-LPGBA4UZ.js.map → chunk-ALHMMNAZ.js.map} +0 -0
- /package/dist/{chunk-D4ARG53E.js.map → chunk-CFZUWKQF.js.map} +0 -0
- /package/dist/{chunk-5DUTXG6P.js.map → chunk-CKL3UD5N.js.map} +0 -0
- /package/dist/{chunk-ZPJ6KYAW.js.map → chunk-EYFFIJEY.js.map} +0 -0
- /package/dist/{chunk-JA2SIJ7T.js.map → chunk-F4GW2DPW.js.map} +0 -0
- /package/dist/{chunk-3BNNYHP2.js.map → chunk-L4FR7YIS.js.map} +0 -0
- /package/dist/{chunk-HPIRQWNK.js.map → chunk-NFITQGUP.js.map} +0 -0
- /package/dist/{chunk-OD4JKGQG.js.map → chunk-OEXGPFM2.js.map} +0 -0
- /package/dist/{chunk-J27HVNT2.js.map → chunk-OHJZD7QU.js.map} +0 -0
- /package/dist/{chunk-7HWVD42H.js.map → chunk-TMGTVVE2.js.map} +0 -0
- /package/dist/{chunk-MJRXGAXS.js.map → chunk-YEIX26DQ.js.map} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
createSseSubscription
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IQNG52SU.js";
|
|
5
5
|
import {
|
|
6
6
|
useChatIdentity
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VRUJPZ2C.js";
|
|
8
8
|
import {
|
|
9
9
|
embedAuthedFetch
|
|
10
10
|
} from "./chunk-FKBM6U43.js";
|
|
@@ -275,4 +275,4 @@ export {
|
|
|
275
275
|
TICKET_MARK_READ_DEBOUNCE_MS,
|
|
276
276
|
TOAST_COPY
|
|
277
277
|
};
|
|
278
|
-
//# sourceMappingURL=chunk-
|
|
278
|
+
//# sourceMappingURL=chunk-EYFFIJEY.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
getOSLabel,
|
|
5
5
|
getShellLabel,
|
|
6
6
|
getToolLabel
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IQNG52SU.js";
|
|
8
8
|
import {
|
|
9
9
|
useOnboardingState
|
|
10
10
|
} from "./chunk-S6WBBSII.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-KOLVBEW5.js";
|
|
14
14
|
import {
|
|
15
15
|
SECTION_HEADING_CLASS
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VRUJPZ2C.js";
|
|
17
17
|
import {
|
|
18
18
|
ToolIcon,
|
|
19
19
|
cn as cn2
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
InteractiveCard,
|
|
40
40
|
StatusBadge,
|
|
41
41
|
nameInitials
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-43JQ3SJS.js";
|
|
43
43
|
import {
|
|
44
44
|
next_image_default
|
|
45
45
|
} from "./chunk-MDKCTSDS.js";
|
|
@@ -524,4 +524,4 @@ export {
|
|
|
524
524
|
OnboardingStepCard,
|
|
525
525
|
OnboardingWalkthrough
|
|
526
526
|
};
|
|
527
|
-
//# sourceMappingURL=chunk-
|
|
527
|
+
//# sourceMappingURL=chunk-F4GW2DPW.js.map
|
|
@@ -41,7 +41,7 @@ var _chunkCCWI3622cjs = require('./chunk-CCWI3622.cjs');
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
var
|
|
44
|
+
var _chunkCS7MVDUFcjs = require('./chunk-CS7MVDUF.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, _chunkCS7MVDUFcjs.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
|
+
_chunkCS7MVDUFcjs.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, _chunkCS7MVDUFcjs.RoadmapCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
444
444
|
decode: decodeRoadmapRow,
|
|
445
445
|
render: (item, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
446
|
-
|
|
446
|
+
_chunkCS7MVDUFcjs.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, _chunkCS7MVDUFcjs.BlogCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
464
464
|
decode: decodeBlogRow,
|
|
465
465
|
render: (post, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
466
|
-
|
|
466
|
+
_chunkCS7MVDUFcjs.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, _chunkCS7MVDUFcjs.CaseStudyCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
479
479
|
decode: decodeCaseStudyRow,
|
|
480
480
|
render: (study, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
481
|
-
|
|
481
|
+
_chunkCS7MVDUFcjs.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, _chunkCS7MVDUFcjs.CustomerInterviewCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
494
494
|
decode: decodeCustomerInterviewRow,
|
|
495
495
|
render: (interview, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
496
|
-
|
|
496
|
+
_chunkCS7MVDUFcjs.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, _chunkCS7MVDUFcjs.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]), () => ( _chunkCS7MVDUFcjs.buildProductReleaseCardProps));
|
|
518
518
|
const releaseProps = buildReleaseProps(release);
|
|
519
519
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
520
|
-
|
|
520
|
+
_chunkCS7MVDUFcjs.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, _chunkCS7MVDUFcjs.InvestorUpdateCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
537
537
|
decode: decodeInvestorUpdateRow,
|
|
538
538
|
render: (update, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
539
|
-
|
|
539
|
+
_chunkCS7MVDUFcjs.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, _chunkCS7MVDUFcjs.OnboardingGuideCardSkeleton, { size: size === "sm" ? "sm" : "catalog" }),
|
|
555
555
|
decode: decodeOnboardingGuideRow,
|
|
556
556
|
render: (guide, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
557
|
-
|
|
557
|
+
_chunkCS7MVDUFcjs.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, _chunkCS7MVDUFcjs.WhatIShippedCardSkeleton, {}),
|
|
575
575
|
decode: decodeEmployeeEntryRow,
|
|
576
576
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
577
|
-
|
|
577
|
+
_chunkCS7MVDUFcjs.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, _chunkCS7MVDUFcjs.HowIWorkCardSkeleton, {}),
|
|
588
588
|
decode: decodeEmployeeEntryRow,
|
|
589
589
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
590
|
-
|
|
590
|
+
_chunkCS7MVDUFcjs.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, _chunkCS7MVDUFcjs.AiPromptCardSkeleton, {}),
|
|
601
601
|
decode: decodeEmployeeEntryRow,
|
|
602
602
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
603
|
-
|
|
603
|
+
_chunkCS7MVDUFcjs.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 = _chunkCS7MVDUFcjs.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,7 +678,7 @@ 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 ? _chunkCS7MVDUFcjs.extractItems.call(void 0, data) : null;
|
|
682
682
|
return { items, isLoading };
|
|
683
683
|
}
|
|
684
684
|
function gridClassFor(columns) {
|
|
@@ -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 = _chunkCS7MVDUFcjs.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
|
};
|
|
@@ -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) => _chunkCS7MVDUFcjs.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]))), () => ( []));
|
|
@@ -848,10 +848,10 @@ function RelatedContentSection({
|
|
|
848
848
|
}
|
|
849
849
|
let orderedTypes = _chunkEG4IKWY4cjs.orderContentRefTypes.call(void 0, Object.keys(grouped));
|
|
850
850
|
if (entityType) {
|
|
851
|
-
const canonicalEntityType =
|
|
852
|
-
const sameType = orderedTypes.filter((t) =>
|
|
851
|
+
const canonicalEntityType = _chunkCS7MVDUFcjs.canonicalContentRefType.call(void 0, entityType);
|
|
852
|
+
const sameType = orderedTypes.filter((t) => _chunkCS7MVDUFcjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
|
|
853
853
|
if (sameType.length > 0) {
|
|
854
|
-
orderedTypes = [...sameType, ...orderedTypes.filter((t) =>
|
|
854
|
+
orderedTypes = [...sameType, ...orderedTypes.filter((t) => _chunkCS7MVDUFcjs.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: [
|
|
@@ -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-HC6FZJMM.cjs.map
|