@flamingo-stack/openframe-frontend-core 0.0.575 → 0.0.577-1943.5293.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-BGE7CKXC.js → chunk-2YCUEUIZ.js} +8 -8
- package/dist/{chunk-42PQFBUS.js → chunk-4D2BR756.js} +3 -3
- package/dist/{chunk-BTZF3JRS.js → chunk-4KR7JWKB.js} +4 -4
- package/dist/{chunk-7G23ANVM.cjs → chunk-5DPCIIJ7.cjs} +95 -95
- package/dist/{chunk-7G23ANVM.cjs.map → chunk-5DPCIIJ7.cjs.map} +1 -1
- package/dist/{chunk-K3XONUML.cjs → chunk-6FJABKPX.cjs} +11 -11
- package/dist/{chunk-K3XONUML.cjs.map → chunk-6FJABKPX.cjs.map} +1 -1
- package/dist/{chunk-K574Y2QR.cjs → chunk-6GJBSIRU.cjs} +3 -3
- package/dist/{chunk-K574Y2QR.cjs.map → chunk-6GJBSIRU.cjs.map} +1 -1
- package/dist/{chunk-7Z64COGD.cjs → chunk-72OIVRPG.cjs} +7 -7
- package/dist/{chunk-7Z64COGD.cjs.map → chunk-72OIVRPG.cjs.map} +1 -1
- package/dist/{chunk-XC7WPYPJ.cjs → chunk-75X6BRID.cjs} +171 -171
- package/dist/{chunk-XC7WPYPJ.cjs.map → chunk-75X6BRID.cjs.map} +1 -1
- package/dist/{chunk-QF5B6V4L.cjs → chunk-APFGR2KK.cjs} +41 -41
- package/dist/{chunk-QF5B6V4L.cjs.map → chunk-APFGR2KK.cjs.map} +1 -1
- package/dist/{chunk-2EPUD2VR.js → chunk-AQ5MZVYN.js} +3 -3
- package/dist/{chunk-T5DAFFK7.js → chunk-BBZ6NQL2.js} +2 -2
- package/dist/{chunk-IRJQH7RJ.cjs → chunk-CFTZAZ7R.cjs} +28 -28
- package/dist/{chunk-IRJQH7RJ.cjs.map → chunk-CFTZAZ7R.cjs.map} +1 -1
- package/dist/{chunk-UILNZL6J.cjs → chunk-CIUYHBAY.cjs} +5 -5
- package/dist/{chunk-UILNZL6J.cjs.map → chunk-CIUYHBAY.cjs.map} +1 -1
- package/dist/{chunk-QTVW5XBL.cjs → chunk-ET3Q4FIZ.cjs} +12 -12
- package/dist/{chunk-QTVW5XBL.cjs.map → chunk-ET3Q4FIZ.cjs.map} +1 -1
- package/dist/{chunk-IWISKP3F.js → chunk-FCVAVOXS.js} +3 -3
- package/dist/{chunk-PUL6X6HY.cjs → chunk-GDWBJFMG.cjs} +32 -32
- package/dist/{chunk-PUL6X6HY.cjs.map → chunk-GDWBJFMG.cjs.map} +1 -1
- package/dist/{chunk-ZQE7HN4Q.cjs → chunk-GPWU3PPR.cjs} +37 -37
- package/dist/{chunk-ZQE7HN4Q.cjs.map → chunk-GPWU3PPR.cjs.map} +1 -1
- package/dist/{chunk-BGZCZ2JS.cjs → chunk-HSOMYCUG.cjs} +11 -11
- package/dist/{chunk-BGZCZ2JS.cjs.map → chunk-HSOMYCUG.cjs.map} +1 -1
- package/dist/{chunk-DTSRMQIY.js → chunk-IQFXDS5O.js} +9 -9
- package/dist/{chunk-6D4RVZZJ.js → chunk-JCH6HGQD.js} +3 -3
- package/dist/{chunk-SIRFPFBQ.js → chunk-JQI726T3.js} +2 -2
- package/dist/{chunk-QDOBY3TP.cjs → chunk-KE2TCUOH.cjs} +327 -324
- package/dist/chunk-KE2TCUOH.cjs.map +1 -0
- package/dist/{chunk-7GLY26JF.js → chunk-LHR6AA65.js} +33 -6
- package/dist/chunk-LHR6AA65.js.map +1 -0
- package/dist/{chunk-OE7NV7H3.js → chunk-LYOGSVFO.js} +4 -4
- package/dist/{chunk-SPAAKHQA.cjs → chunk-MIY5FYX3.cjs} +8 -8
- package/dist/{chunk-SPAAKHQA.cjs.map → chunk-MIY5FYX3.cjs.map} +1 -1
- package/dist/{chunk-UPEIX7VG.js → chunk-NEKT67O5.js} +6 -6
- package/dist/{chunk-PBS4F534.js → chunk-NP3XN6ZX.js} +8 -5
- package/dist/chunk-NP3XN6ZX.js.map +1 -0
- package/dist/{chunk-3IUQLB47.cjs → chunk-NQCGDZJ3.cjs} +3 -3
- package/dist/{chunk-3IUQLB47.cjs.map → chunk-NQCGDZJ3.cjs.map} +1 -1
- package/dist/{chunk-BKXL7OYT.cjs → chunk-RCLJSENK.cjs} +6 -6
- package/dist/{chunk-BKXL7OYT.cjs.map → chunk-RCLJSENK.cjs.map} +1 -1
- package/dist/{chunk-WVKRSC65.js → chunk-RNUH5IHZ.js} +3 -3
- package/dist/{chunk-2IK6SB6F.js → chunk-RSMUAAPW.js} +4 -4
- package/dist/{chunk-KSKCQ3ZN.js → chunk-RUJKOU5F.js} +2 -2
- package/dist/{chunk-VIAZWBZ2.cjs → chunk-S4CLML75.cjs} +7 -7
- package/dist/{chunk-VIAZWBZ2.cjs.map → chunk-S4CLML75.cjs.map} +1 -1
- package/dist/{chunk-WAWMZSCP.js → chunk-THDGDYJ3.js} +6 -6
- package/dist/{chunk-KG7D35RU.js → chunk-TU32TSAK.js} +5 -5
- package/dist/{chunk-5QDGP3RI.js → chunk-U3SDSA5K.js} +5 -5
- package/dist/{chunk-SVUZUFT4.cjs → chunk-WOHHZZJK.cjs} +65 -65
- package/dist/{chunk-SVUZUFT4.cjs.map → chunk-WOHHZZJK.cjs.map} +1 -1
- package/dist/{chunk-3U2P63NQ.cjs → chunk-XBBCUC32.cjs} +15 -15
- package/dist/{chunk-3U2P63NQ.cjs.map → chunk-XBBCUC32.cjs.map} +1 -1
- package/dist/{chunk-GFSJXRX7.cjs → chunk-XBSW7IF6.cjs} +23 -23
- package/dist/{chunk-GFSJXRX7.cjs.map → chunk-XBSW7IF6.cjs.map} +1 -1
- package/dist/{chunk-RXJZXMDZ.cjs → chunk-XG2WNF4L.cjs} +26 -26
- package/dist/{chunk-RXJZXMDZ.cjs.map → chunk-XG2WNF4L.cjs.map} +1 -1
- package/dist/{chunk-S6LZN66D.cjs → chunk-YHNIPSG6.cjs} +33 -6
- package/dist/chunk-YHNIPSG6.cjs.map +1 -0
- package/dist/{chunk-5DRCLGOX.js → chunk-YLNZPFDW.js} +2 -2
- package/dist/{chunk-QQ5ZVCD4.js → chunk-Z2FZ5HP2.js} +3 -3
- package/dist/{chunk-ISULYCGY.js → chunk-ZBJ6XSDO.js} +4 -4
- 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/chart.d.ts +18 -3
- package/dist/components/chart.d.ts.map +1 -1
- 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/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 +153 -153
- package/dist/components/index.js +19 -19
- package/dist/components/meeting-scheduler/index.cjs +52 -48
- package/dist/components/meeting-scheduler/index.cjs.map +1 -1
- package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.js +17 -13
- package/dist/components/meeting-scheduler/index.js.map +1 -1
- 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 +4 -0
- package/dist/components/ui/button/button-styles.d.ts.map +1 -1
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/dropdown-button.d.ts +9 -1
- package/dist/components/ui/dropdown-button.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/index.cjs +10 -10
- package/dist/index.js +9 -9
- package/package.json +1 -1
- package/src/components/chart.tsx +21 -3
- package/src/components/meeting-scheduler/index.tsx +16 -14
- package/src/components/ui/button/button-styles.ts +14 -0
- package/src/components/ui/button/button.tsx +24 -5
- package/src/components/ui/dropdown-button.tsx +11 -0
- package/dist/chunk-7GLY26JF.js.map +0 -1
- package/dist/chunk-PBS4F534.js.map +0 -1
- package/dist/chunk-QDOBY3TP.cjs.map +0 -1
- package/dist/chunk-S6LZN66D.cjs.map +0 -1
- /package/dist/{chunk-BGE7CKXC.js.map → chunk-2YCUEUIZ.js.map} +0 -0
- /package/dist/{chunk-42PQFBUS.js.map → chunk-4D2BR756.js.map} +0 -0
- /package/dist/{chunk-BTZF3JRS.js.map → chunk-4KR7JWKB.js.map} +0 -0
- /package/dist/{chunk-2EPUD2VR.js.map → chunk-AQ5MZVYN.js.map} +0 -0
- /package/dist/{chunk-T5DAFFK7.js.map → chunk-BBZ6NQL2.js.map} +0 -0
- /package/dist/{chunk-IWISKP3F.js.map → chunk-FCVAVOXS.js.map} +0 -0
- /package/dist/{chunk-DTSRMQIY.js.map → chunk-IQFXDS5O.js.map} +0 -0
- /package/dist/{chunk-6D4RVZZJ.js.map → chunk-JCH6HGQD.js.map} +0 -0
- /package/dist/{chunk-SIRFPFBQ.js.map → chunk-JQI726T3.js.map} +0 -0
- /package/dist/{chunk-OE7NV7H3.js.map → chunk-LYOGSVFO.js.map} +0 -0
- /package/dist/{chunk-UPEIX7VG.js.map → chunk-NEKT67O5.js.map} +0 -0
- /package/dist/{chunk-WVKRSC65.js.map → chunk-RNUH5IHZ.js.map} +0 -0
- /package/dist/{chunk-2IK6SB6F.js.map → chunk-RSMUAAPW.js.map} +0 -0
- /package/dist/{chunk-KSKCQ3ZN.js.map → chunk-RUJKOU5F.js.map} +0 -0
- /package/dist/{chunk-WAWMZSCP.js.map → chunk-THDGDYJ3.js.map} +0 -0
- /package/dist/{chunk-KG7D35RU.js.map → chunk-TU32TSAK.js.map} +0 -0
- /package/dist/{chunk-5QDGP3RI.js.map → chunk-U3SDSA5K.js.map} +0 -0
- /package/dist/{chunk-5DRCLGOX.js.map → chunk-YLNZPFDW.js.map} +0 -0
- /package/dist/{chunk-QQ5ZVCD4.js.map → chunk-Z2FZ5HP2.js.map} +0 -0
- /package/dist/{chunk-ISULYCGY.js.map → chunk-ZBJ6XSDO.js.map} +0 -0
|
@@ -8,7 +8,7 @@ var _chunk7PFDETEYcjs = require('./chunk-7PFDETEY.cjs');
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunk72OIVRPGcjs = require('./chunk-72OIVRPG.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -36,7 +36,7 @@ var _chunk7Z64COGDcjs = require('./chunk-7Z64COGD.cjs');
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var _chunkMIY5FYX3cjs = require('./chunk-MIY5FYX3.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, _chunkMIY5FYX3cjs.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
|
+
_chunkMIY5FYX3cjs.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, _chunkMIY5FYX3cjs.RoadmapCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
434
434
|
decode: decodeRoadmapRow,
|
|
435
435
|
render: (item, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
436
|
-
|
|
436
|
+
_chunkMIY5FYX3cjs.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, _chunkMIY5FYX3cjs.BlogCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
454
454
|
decode: decodeBlogRow,
|
|
455
455
|
render: (post, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
456
|
-
|
|
456
|
+
_chunkMIY5FYX3cjs.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, _chunkMIY5FYX3cjs.CaseStudyCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
469
469
|
decode: decodeCaseStudyRow,
|
|
470
470
|
render: (study, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
471
|
-
|
|
471
|
+
_chunkMIY5FYX3cjs.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, _chunkMIY5FYX3cjs.CustomerInterviewCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
484
484
|
decode: decodeCustomerInterviewRow,
|
|
485
485
|
render: (interview, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
486
|
-
|
|
486
|
+
_chunkMIY5FYX3cjs.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, _chunkMIY5FYX3cjs.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]), () => ( _chunkMIY5FYX3cjs.buildProductReleaseCardProps));
|
|
508
508
|
const releaseProps = buildReleaseProps(release);
|
|
509
509
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
510
|
-
|
|
510
|
+
_chunkMIY5FYX3cjs.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, _chunkMIY5FYX3cjs.InvestorUpdateCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
527
527
|
decode: decodeInvestorUpdateRow,
|
|
528
528
|
render: (update, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
529
|
-
|
|
529
|
+
_chunkMIY5FYX3cjs.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, _chunkMIY5FYX3cjs.OnboardingGuideCardSkeleton, { size: size === "sm" ? "sm" : "catalog" }),
|
|
545
545
|
decode: decodeOnboardingGuideRow,
|
|
546
546
|
render: (guide, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
547
|
-
|
|
547
|
+
_chunkMIY5FYX3cjs.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, _chunkMIY5FYX3cjs.WhatIShippedCardSkeleton, {}),
|
|
565
565
|
decode: decodeEmployeeEntryRow,
|
|
566
566
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
567
|
-
|
|
567
|
+
_chunkMIY5FYX3cjs.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, _chunkMIY5FYX3cjs.HowIWorkCardSkeleton, {}),
|
|
578
578
|
decode: decodeEmployeeEntryRow,
|
|
579
579
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
580
|
-
|
|
580
|
+
_chunkMIY5FYX3cjs.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 = _chunkMIY5FYX3cjs.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,14 +655,14 @@ 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 ? _chunkMIY5FYX3cjs.extractItems.call(void 0, data) : null;
|
|
659
659
|
return { items, isLoading };
|
|
660
660
|
}
|
|
661
661
|
function gridClassFor(columns) {
|
|
662
662
|
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";
|
|
663
663
|
}
|
|
664
664
|
function resolveGroupConfig(type) {
|
|
665
|
-
return _nullishCoalesce(
|
|
665
|
+
return _nullishCoalesce(_chunk72OIVRPGcjs.CONTENT_REF_GROUPS[type], () => ( {
|
|
666
666
|
label: type,
|
|
667
667
|
order: 999,
|
|
668
668
|
layout: "grid",
|
|
@@ -697,7 +697,7 @@ function ContentGroup({
|
|
|
697
697
|
const totalGroupPages = Math.max(1, Math.ceil(refs.length / GROUP_PAGE_SIZE));
|
|
698
698
|
const safePage = Math.min(page, totalGroupPages);
|
|
699
699
|
const visibleGroupRefs = refs.length > GROUP_PAGE_SIZE ? refs.slice((safePage - 1) * GROUP_PAGE_SIZE, safePage * GROUP_PAGE_SIZE) : refs;
|
|
700
|
-
const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
700
|
+
const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk72OIVRPGcjs.Pagination, { currentPage: safePage, totalPages: totalGroupPages, onPageChange: setPage }) : null;
|
|
701
701
|
if (isLoading && !items) {
|
|
702
702
|
const skeletons = visibleGroupRefs.map((r) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: renderSkeletonForType(type, cardSize, adminCampaignCard) }, r.id));
|
|
703
703
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
@@ -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 = _chunkMIY5FYX3cjs.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
|
};
|
|
@@ -775,11 +775,11 @@ function RelatedContentSection({
|
|
|
775
775
|
types: includeTypes !== void 0 ? includeTypes.join(",") : void 0,
|
|
776
776
|
excludeTypes: excludeTypes && excludeTypes.length > 0 ? excludeTypes.join(",") : void 0
|
|
777
777
|
};
|
|
778
|
-
const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ?
|
|
778
|
+
const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ? _chunk72OIVRPGcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
|
|
779
779
|
apiBaseUrl,
|
|
780
780
|
extraParams: { authorId, ...typeFilterParams }
|
|
781
781
|
}) : null;
|
|
782
|
-
const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ?
|
|
782
|
+
const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ? _chunk72OIVRPGcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
|
|
783
783
|
apiBaseUrl,
|
|
784
784
|
entityType,
|
|
785
785
|
entityId,
|
|
@@ -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) => _chunkMIY5FYX3cjs.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]))), () => ( []));
|
|
@@ -823,12 +823,12 @@ function RelatedContentSection({
|
|
|
823
823
|
if (!grouped[ref.type]) grouped[ref.type] = [];
|
|
824
824
|
grouped[ref.type].push(ref);
|
|
825
825
|
}
|
|
826
|
-
let orderedTypes =
|
|
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 = _chunkMIY5FYX3cjs.canonicalContentRefType.call(void 0, entityType);
|
|
829
|
+
const sameType = orderedTypes.filter((t) => _chunkMIY5FYX3cjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
|
|
830
830
|
if (sameType.length > 0) {
|
|
831
|
-
orderedTypes = [...sameType, ...orderedTypes.filter((t) =>
|
|
831
|
+
orderedTypes = [...sameType, ...orderedTypes.filter((t) => _chunkMIY5FYX3cjs.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: [
|
|
@@ -844,7 +844,7 @@ function RelatedContentSection({
|
|
|
844
844
|
LinkProvider,
|
|
845
845
|
extras,
|
|
846
846
|
adminCampaignCard,
|
|
847
|
-
heading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children:
|
|
847
|
+
heading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: _chunk72OIVRPGcjs.getContentRefLabelOrTitleCase.call(void 0, type) })
|
|
848
848
|
},
|
|
849
849
|
type
|
|
850
850
|
))
|
|
@@ -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-GPWU3PPR.cjs.map
|