@flamingo-stack/openframe-frontend-core 0.0.751 → 0.0.753
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/build/export-map.json +1 -1
- package/dist/{chunk-FHT7SMA7.cjs → chunk-35BJY5RR.cjs} +47 -47
- package/dist/{chunk-ALPRQ3ZX.cjs → chunk-3GG3QAPT.cjs} +15 -15
- package/dist/{chunk-34TWK3JE.cjs → chunk-5E6JHOGX.cjs} +3 -3
- package/dist/{chunk-OFO75R2O.cjs → chunk-7Z4EQOIX.cjs} +174 -174
- package/dist/{chunk-C6LPOYDM.cjs → chunk-AG4HR6Z6.cjs} +8 -8
- package/dist/{chunk-XJ3J4UIS.cjs → chunk-B27XV2TC.cjs} +19 -19
- package/dist/{chunk-MJFTWHV6.cjs → chunk-C6JHDRK3.cjs} +6 -6
- package/dist/{chunk-2YXOD2KL.cjs → chunk-H3RYUTND.cjs} +5 -0
- package/dist/{chunk-53I4YHRT.cjs → chunk-ITQZK3UT.cjs} +3 -3
- package/dist/{chunk-H52GKJ36.cjs → chunk-J3E5UN2O.cjs} +19 -19
- package/dist/{chunk-5WC535NJ.cjs → chunk-JLAYELWS.cjs} +40 -40
- package/dist/{chunk-UGCRLRCT.cjs → chunk-NO5UJLLQ.cjs} +2 -5
- package/dist/{chunk-5P7WBA2U.cjs → chunk-QXQHCX2R.cjs} +4 -4
- package/dist/{chunk-ESRA7NUI.cjs → chunk-R45NJ5ZA.cjs} +90 -90
- package/dist/{chunk-CVBHB4OZ.cjs → chunk-RGYLC3US.cjs} +7 -7
- package/dist/{chunk-TPH4SRR2.cjs → chunk-SDF5UUTE.cjs} +800 -659
- package/dist/{chunk-3TELPOVH.cjs → chunk-T4BBZ5ST.cjs} +2 -2
- package/dist/{chunk-CLAJIQ7E.cjs → chunk-UNRNLSG4.cjs} +19 -19
- package/dist/{chunk-NOUROZYH.cjs → chunk-UVTJT5BK.cjs} +24 -24
- package/dist/{chunk-77IKUBSH.cjs → chunk-W77VPNBJ.cjs} +12 -12
- package/dist/{chunk-DGEB5GUZ.cjs → chunk-WBOHLXFC.cjs} +2 -2
- package/dist/{chunk-X4LAMJHD.cjs → chunk-WIT36ZTN.cjs} +113 -113
- package/dist/{chunk-QOONZMSQ.cjs → chunk-XSOGT6DF.cjs} +28 -28
- package/dist/{chunk-LIGDPFDM.cjs → chunk-XW6WSW36.cjs} +771 -771
- package/dist/{chunk-4WNBVNGP.cjs → chunk-Y7AZCDLZ.cjs} +20 -20
- package/dist/{chunk-SDOCZTST.cjs → chunk-Z6TUOE6L.cjs} +41 -41
- package/dist/{chunk-RVLQHSID.cjs → chunk-ZGADZHLD.cjs} +101 -101
- package/dist/{chunk-MU7FFN6M.cjs → chunk-ZJ77IOMY.cjs} +83 -83
- package/dist/{cloud-tenants-JDPC2DYF.cjs → cloud-tenants-7LTS4DAP.cjs} +11 -11
- package/dist/components/case-studies/index.cjs +24 -24
- package/dist/components/chat/chat-dialog-menu-items.js +6 -6
- package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
- package/dist/components/chat/chat-message-enhanced.js +3 -0
- package/dist/components/chat/chat-panel-context.d.ts +3 -0
- package/dist/components/chat/chat-panel-context.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.d.ts +20 -0
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.js +78 -8
- package/dist/components/chat/hooks/index.d.ts +1 -0
- package/dist/components/chat/hooks/index.d.ts.map +1 -1
- package/dist/components/chat/hooks/index.js +1 -0
- package/dist/components/chat/hooks/use-what-to-ask.d.ts +69 -0
- package/dist/components/chat/hooks/use-what-to-ask.d.ts.map +1 -0
- package/dist/components/chat/hooks/use-what-to-ask.js +106 -0
- package/dist/components/chat/index.cjs +15 -7
- package/dist/components/chat/index.d.ts +1 -0
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +1 -0
- package/dist/components/chat/mingo-chat-header.d.ts +4 -2
- package/dist/components/chat/mingo-chat-header.d.ts.map +1 -1
- package/dist/components/chat/mingo-chat-header.js +7 -2
- package/dist/components/chat/suggestions-display.d.ts +11 -0
- package/dist/components/chat/suggestions-display.d.ts.map +1 -0
- package/dist/components/chat/suggestions-display.js +27 -0
- package/dist/components/chat/types/message.types.d.ts +27 -1
- package/dist/components/chat/types/message.types.d.ts.map +1 -1
- package/dist/components/chat/utils/extract-incomplete-message-state.d.ts.map +1 -1
- package/dist/components/chat/utils/extract-incomplete-message-state.js +2 -0
- package/dist/components/chat/utils/message-segment-accumulator.d.ts.map +1 -1
- package/dist/components/chat/utils/message-segment-accumulator.js +3 -0
- package/dist/components/contact/index.cjs +12 -12
- package/dist/components/docs/index.cjs +15 -15
- package/dist/components/embeds/index.cjs +12 -12
- package/dist/components/faq/index.cjs +13 -13
- package/dist/components/features/index.cjs +11 -11
- package/dist/components/help-center-pages/index.cjs +112 -112
- package/dist/components/index.cjs +69 -61
- package/dist/components/loading/loading-region.d.ts.map +1 -1
- package/dist/components/loading/loading-region.js +2 -5
- package/dist/components/loading/unified-skeleton.d.ts +2 -0
- package/dist/components/loading/unified-skeleton.d.ts.map +1 -1
- package/dist/components/loading/unified-skeleton.js +5 -0
- package/dist/components/meeting-scheduler/index.cjs +72 -72
- package/dist/components/navigation/index.cjs +14 -14
- package/dist/components/onboarding-guides/index.cjs +14 -14
- package/dist/components/product-demo/index.cjs +12 -12
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/tickets/index.cjs +17 -17
- package/dist/components/ui/file-manager/index.cjs +30 -30
- package/dist/components/ui/index.cjs +19 -11
- package/dist/{devices-ADQWD37J.cjs → devices-CGDJAYRB.cjs} +12 -12
- package/dist/{embeddable-chat-7YF2JMPS.cjs → embeddable-chat-CMEHSDV7.cjs} +165 -93
- package/dist/index.cjs +23 -15
- package/dist/{knowledge-TNS64EGK.cjs → knowledge-X5I4QJKV.cjs} +12 -12
- package/dist/{logs-754MDDE4.cjs → logs-GDGIRJFI.cjs} +19 -19
- package/dist/{policies-Q23DPIH6.cjs → policies-2UOCENDX.cjs} +15 -15
- package/dist/{remote-session-ZKP2W3IS.cjs → remote-session-57DGC4X3.cjs} +6 -6
- package/dist/{scripts-DCYLK2RZ.cjs → scripts-AS4GEG6L.cjs} +18 -18
- package/dist/{software-update-XCMGUIER.cjs → software-update-ADPUFMFY.cjs} +15 -15
- package/dist/{tickets-board-BNW4AYFL.cjs → tickets-board-EP6L3BSV.cjs} +7 -7
- package/package.json +1 -1
- package/src/components/chat/chat-dialog-menu-items.tsx +6 -6
- package/src/components/chat/chat-message-enhanced.tsx +3 -0
- package/src/components/chat/chat-panel-context.tsx +3 -0
- package/src/components/chat/embeddable-chat.tsx +132 -9
- package/src/components/chat/hooks/index.ts +1 -0
- package/src/components/chat/hooks/use-what-to-ask.ts +203 -0
- package/src/components/chat/index.ts +1 -0
- package/src/components/chat/mingo-chat-header.tsx +11 -4
- package/src/components/chat/suggestions-display.tsx +41 -0
- package/src/components/chat/types/message.types.ts +31 -1
- package/src/components/chat/utils/extract-incomplete-message-state.ts +2 -0
- package/src/components/chat/utils/message-segment-accumulator.ts +4 -0
- package/src/components/loading/loading-region.tsx +4 -9
- package/src/components/loading/unified-skeleton.tsx +13 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkT4BBZ5STcjs = require('./chunk-T4BBZ5ST.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -14,7 +14,7 @@ var _chunk3TELPOVHcjs = require('./chunk-3TELPOVH.cjs');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkB27XV2TCcjs = require('./chunk-B27XV2TC.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
@@ -39,13 +39,13 @@ var _chunkXJ3J4UIScjs = require('./chunk-XJ3J4UIS.cjs');
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
var
|
|
42
|
+
var _chunk7Z4EQOIXcjs = require('./chunk-7Z4EQOIX.cjs');
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
var _chunkBLH2SFOOcjs = require('./chunk-BLH2SFOO.cjs');
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
var
|
|
48
|
+
var _chunkNO5UJLLQcjs = require('./chunk-NO5UJLLQ.cjs');
|
|
49
49
|
|
|
50
50
|
// src/components/related-content/related-content-section.tsx
|
|
51
51
|
var _react = require('react');
|
|
@@ -443,13 +443,13 @@ function cardEntry(definition) {
|
|
|
443
443
|
}
|
|
444
444
|
function programEntry(configKey) {
|
|
445
445
|
return cardEntry({
|
|
446
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
446
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.ProgramCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
447
447
|
decode: decodeProgramRow,
|
|
448
448
|
render: (item, ctx) => {
|
|
449
449
|
const config = _optionalChain([ctx, 'access', _2 => _2.extras, 'optionalAccess', _3 => _3.programConfigs, 'optionalAccess', _4 => _4[configKey]]);
|
|
450
450
|
if (!config) return null;
|
|
451
451
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
452
|
-
|
|
452
|
+
_chunk7Z4EQOIXcjs.ProgramCard,
|
|
453
453
|
{
|
|
454
454
|
config,
|
|
455
455
|
item,
|
|
@@ -466,10 +466,10 @@ function programEntry(configKey) {
|
|
|
466
466
|
}
|
|
467
467
|
function roadmapEntry(cardType) {
|
|
468
468
|
return cardEntry({
|
|
469
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
469
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.RoadmapCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
470
470
|
decode: decodeRoadmapRow,
|
|
471
471
|
render: (item, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
472
|
-
|
|
472
|
+
_chunk7Z4EQOIXcjs.RoadmapCard,
|
|
473
473
|
{
|
|
474
474
|
item,
|
|
475
475
|
href: ctx.href,
|
|
@@ -486,10 +486,10 @@ function roadmapEntry(cardType) {
|
|
|
486
486
|
}
|
|
487
487
|
var RELATED_CARD_REGISTRY = {
|
|
488
488
|
blog_post_existing: cardEntry({
|
|
489
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
489
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.BlogCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
490
490
|
decode: decodeBlogRow,
|
|
491
491
|
render: (post, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
492
|
-
|
|
492
|
+
_chunk7Z4EQOIXcjs.BlogCard,
|
|
493
493
|
{
|
|
494
494
|
post,
|
|
495
495
|
size: ctx.legacySize,
|
|
@@ -501,10 +501,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
501
501
|
)
|
|
502
502
|
}),
|
|
503
503
|
case_study: cardEntry({
|
|
504
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
504
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.CaseStudyCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
505
505
|
decode: decodeCaseStudyRow,
|
|
506
506
|
render: (study, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
507
|
-
|
|
507
|
+
_chunk7Z4EQOIXcjs.CaseStudyCard,
|
|
508
508
|
{
|
|
509
509
|
study,
|
|
510
510
|
size: ctx.legacySize,
|
|
@@ -516,10 +516,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
516
516
|
)
|
|
517
517
|
}),
|
|
518
518
|
customer_interview: cardEntry({
|
|
519
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
519
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.CustomerInterviewCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
520
520
|
decode: decodeCustomerInterviewRow,
|
|
521
521
|
render: (interview, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
522
|
-
|
|
522
|
+
_chunk7Z4EQOIXcjs.CustomerInterviewCard,
|
|
523
523
|
{
|
|
524
524
|
interview,
|
|
525
525
|
size: ctx.legacySize,
|
|
@@ -537,13 +537,13 @@ var RELATED_CARD_REGISTRY = {
|
|
|
537
537
|
* record, and the three props the rail sets itself are read off it.
|
|
538
538
|
*/
|
|
539
539
|
product_release: cardEntry({
|
|
540
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
540
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.ProductReleaseCardSkeleton, { size: size === "sm" ? "sm" : "lg" }),
|
|
541
541
|
decode: asRecord,
|
|
542
542
|
render: (release, ctx) => {
|
|
543
|
-
const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _5 => _5.extras, 'optionalAccess', _6 => _6.buildProductReleaseCardProps]), () => (
|
|
543
|
+
const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _5 => _5.extras, 'optionalAccess', _6 => _6.buildProductReleaseCardProps]), () => ( _chunk7Z4EQOIXcjs.buildProductReleaseCardProps));
|
|
544
544
|
const releaseProps = buildReleaseProps(release);
|
|
545
545
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
546
|
-
|
|
546
|
+
_chunk7Z4EQOIXcjs.ProductReleaseCard,
|
|
547
547
|
{
|
|
548
548
|
size: ctx.size === "sm" ? "sm" : "lg",
|
|
549
549
|
title: str(release, "title"),
|
|
@@ -559,10 +559,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
559
559
|
webinar: programEntry("webinar"),
|
|
560
560
|
event: programEntry("event"),
|
|
561
561
|
investor_update: cardEntry({
|
|
562
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
562
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.InvestorUpdateCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
563
563
|
decode: decodeInvestorUpdateRow,
|
|
564
564
|
render: (update, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
565
|
-
|
|
565
|
+
_chunk7Z4EQOIXcjs.InvestorUpdateCard,
|
|
566
566
|
{
|
|
567
567
|
update,
|
|
568
568
|
size: ctx.legacySize,
|
|
@@ -577,10 +577,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
577
577
|
* step-numbered 'default' variant is for the guide detail page's "More in
|
|
578
578
|
* section" rail, not this full-width row. */
|
|
579
579
|
onboarding_guide: cardEntry({
|
|
580
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
580
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.OnboardingGuideCardSkeleton, { size: size === "sm" ? "sm" : "catalog" }),
|
|
581
581
|
decode: decodeOnboardingGuideRow,
|
|
582
582
|
render: (guide, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
583
|
-
|
|
583
|
+
_chunk7Z4EQOIXcjs.OnboardingGuideCard,
|
|
584
584
|
{
|
|
585
585
|
guide,
|
|
586
586
|
size: ctx.size === "sm" ? "sm" : "catalog",
|
|
@@ -597,10 +597,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
597
597
|
* href: an object with `href: undefined` is still truthy and would wrap the
|
|
598
598
|
* card in a dead <a>. */
|
|
599
599
|
what_i_shipped: cardEntry({
|
|
600
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
600
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB27XV2TCcjs.WhatIShippedCardSkeleton, {}),
|
|
601
601
|
decode: decodeEmployeeEntryRow,
|
|
602
602
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
603
|
-
|
|
603
|
+
_chunkB27XV2TCcjs.WhatIShippedCard,
|
|
604
604
|
{
|
|
605
605
|
entry,
|
|
606
606
|
placeholderUrl: ctx.placeholderUrl,
|
|
@@ -610,10 +610,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
610
610
|
}),
|
|
611
611
|
/** Same shared employee-entry shape + anchor contract as What I Shipped. */
|
|
612
612
|
how_i_work: cardEntry({
|
|
613
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
613
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB27XV2TCcjs.HowIWorkCardSkeleton, {}),
|
|
614
614
|
decode: decodeEmployeeEntryRow,
|
|
615
615
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
616
|
-
|
|
616
|
+
_chunkB27XV2TCcjs.HowIWorkCard,
|
|
617
617
|
{
|
|
618
618
|
entry,
|
|
619
619
|
placeholderUrl: ctx.placeholderUrl,
|
|
@@ -623,10 +623,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
623
623
|
}),
|
|
624
624
|
/** Same shared employee-entry shape + anchor contract as What I Shipped. */
|
|
625
625
|
ai_prompt: cardEntry({
|
|
626
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
626
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB27XV2TCcjs.AiPromptCardSkeleton, {}),
|
|
627
627
|
decode: decodeEmployeeEntryRow,
|
|
628
628
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
629
|
-
|
|
629
|
+
_chunkB27XV2TCcjs.AiPromptCard,
|
|
630
630
|
{
|
|
631
631
|
entry,
|
|
632
632
|
placeholderUrl: ctx.placeholderUrl,
|
|
@@ -647,7 +647,7 @@ function DefaultLinkPropsProvider({
|
|
|
647
647
|
children
|
|
648
648
|
}) {
|
|
649
649
|
if (!href) return children(null);
|
|
650
|
-
const newTab =
|
|
650
|
+
const newTab = _chunk7Z4EQOIXcjs.decideNewTab.call(void 0, { href, targetPlatform, currentSource: "" });
|
|
651
651
|
return children(newTab ? { href, target: "_blank", rel: "noopener noreferrer" } : { href });
|
|
652
652
|
}
|
|
653
653
|
function defaultResolveHref(ref) {
|
|
@@ -705,9 +705,9 @@ function useGroupItems(type, refs, buildUrl) {
|
|
|
705
705
|
const url = ids.length > 0 ? buildUrl(type, ids) : null;
|
|
706
706
|
const [pages, setPages] = _react.useState.call(void 0, () => /* @__PURE__ */ new Map());
|
|
707
707
|
const cached = url !== null ? pages.get(url) : void 0;
|
|
708
|
-
const { data, dataUrl, error } =
|
|
708
|
+
const { data, dataUrl, error } = _chunkB27XV2TCcjs.useSelfFetch.call(void 0, cached ? null : url);
|
|
709
709
|
if (data != null && dataUrl !== null && !pages.has(dataUrl)) {
|
|
710
|
-
setPages(new Map(pages).set(dataUrl,
|
|
710
|
+
setPages(new Map(pages).set(dataUrl, _chunk7Z4EQOIXcjs.extractItems.call(void 0, data)));
|
|
711
711
|
}
|
|
712
712
|
if (url === null) return { items: null, isLoading: false };
|
|
713
713
|
return { items: _nullishCoalesce(cached, () => ( (error ? [] : null))), isLoading: !cached && !error };
|
|
@@ -716,7 +716,7 @@ function gridClassFor(columns) {
|
|
|
716
716
|
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";
|
|
717
717
|
}
|
|
718
718
|
function resolveGroupConfig(type) {
|
|
719
|
-
return _nullishCoalesce(
|
|
719
|
+
return _nullishCoalesce(_chunkB27XV2TCcjs.CONTENT_REF_GROUPS[type], () => ( {
|
|
720
720
|
label: type,
|
|
721
721
|
order: 999,
|
|
722
722
|
layout: "grid",
|
|
@@ -748,10 +748,10 @@ function ContentGroup({
|
|
|
748
748
|
const totalGroupPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, refs.length, GROUP_PAGE_SIZE);
|
|
749
749
|
const pageRefs = refs.slice((page - 1) * GROUP_PAGE_SIZE, page * GROUP_PAGE_SIZE);
|
|
750
750
|
const { items, isLoading } = useGroupItems(type, pageRefs, buildUrl);
|
|
751
|
-
const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
751
|
+
const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT4BBZ5STcjs.Pagination, { currentPage: page, totalPages: totalGroupPages, onPageChange: setPage }) : null;
|
|
752
752
|
if (isLoading) {
|
|
753
753
|
const skeletons = pageRefs.map((r) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: renderSkeletonForType(type, cardSize, adminCampaignCard) }, r.id));
|
|
754
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
754
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label: "Loading related content", className: "space-y-4", children: [
|
|
755
755
|
heading,
|
|
756
756
|
isListLayout ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: skeletons }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: gridClassFor(columns), children: skeletons }),
|
|
757
757
|
groupPagination
|
|
@@ -759,7 +759,7 @@ function ContentGroup({
|
|
|
759
759
|
}
|
|
760
760
|
if (!items) return null;
|
|
761
761
|
const rowKey = (it) => {
|
|
762
|
-
const extracted =
|
|
762
|
+
const extracted = _chunk7Z4EQOIXcjs.extractItemId.call(void 0, type, it);
|
|
763
763
|
if (extracted !== null) return extracted;
|
|
764
764
|
return String(typeof it === "object" && it !== null ? it.id : void 0);
|
|
765
765
|
};
|
|
@@ -827,11 +827,11 @@ function RelatedContentSection({
|
|
|
827
827
|
types: includeTypes !== void 0 ? includeTypes.join(",") : void 0,
|
|
828
828
|
excludeTypes: excludeTypes && excludeTypes.length > 0 ? excludeTypes.join(",") : void 0
|
|
829
829
|
};
|
|
830
|
-
const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ?
|
|
830
|
+
const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ? _chunkB27XV2TCcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
|
|
831
831
|
apiBaseUrl,
|
|
832
832
|
extraParams: { authorId, ...typeFilterParams }
|
|
833
833
|
}) : null;
|
|
834
|
-
const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ?
|
|
834
|
+
const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ? _chunkB27XV2TCcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
|
|
835
835
|
apiBaseUrl,
|
|
836
836
|
entityType,
|
|
837
837
|
entityId,
|
|
@@ -848,9 +848,9 @@ function RelatedContentSection({
|
|
|
848
848
|
() => !suggestionsDisabled && initialItems ? { refs: initialItems } : void 0,
|
|
849
849
|
[initialItems, suggestionsDisabled]
|
|
850
850
|
);
|
|
851
|
-
const { data, isLoading } =
|
|
851
|
+
const { data, isLoading } = _chunkB27XV2TCcjs.useSelfFetch.call(void 0, suggestUrl, { initialData });
|
|
852
852
|
const effectiveBuildListUrl = _react.useMemo.call(void 0,
|
|
853
|
-
() => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) =>
|
|
853
|
+
() => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) => _chunk7Z4EQOIXcjs.buildListUrl.call(void 0, type, ids, apiBaseUrl)))),
|
|
854
854
|
[buildListUrl2, apiBaseUrl]
|
|
855
855
|
);
|
|
856
856
|
const refs = _nullishCoalesce(_nullishCoalesce(contentRefs, () => ( _optionalChain([data, 'optionalAccess', _10 => _10.refs]))), () => ( []));
|
|
@@ -860,13 +860,13 @@ function RelatedContentSection({
|
|
|
860
860
|
if (!showWhenEmpty) return null;
|
|
861
861
|
if (isLoading) {
|
|
862
862
|
const skeletonType = _nullishCoalesce(_nullishCoalesce(_optionalChain([includeTypes, 'optionalAccess', _11 => _11[0]]), () => ( entityType)), () => ( "blog_post_existing"));
|
|
863
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
864
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children:
|
|
863
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label: "Loading related content", className: "space-y-8", children: [
|
|
864
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: _chunk7Z4EQOIXcjs.accentSentenceMarks.call(void 0, title) }),
|
|
865
865
|
/* @__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)) })
|
|
866
866
|
] });
|
|
867
867
|
}
|
|
868
868
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
|
|
869
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children:
|
|
869
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children: _chunk7Z4EQOIXcjs.accentSentenceMarks.call(void 0, title) }),
|
|
870
870
|
_nullishCoalesce(emptyState, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: emptyStateText })))
|
|
871
871
|
] });
|
|
872
872
|
}
|
|
@@ -875,16 +875,16 @@ function RelatedContentSection({
|
|
|
875
875
|
if (!grouped[ref.type]) grouped[ref.type] = [];
|
|
876
876
|
grouped[ref.type].push(ref);
|
|
877
877
|
}
|
|
878
|
-
let orderedTypes =
|
|
878
|
+
let orderedTypes = _chunkB27XV2TCcjs.orderContentRefTypes.call(void 0, Object.keys(grouped));
|
|
879
879
|
if (entityType) {
|
|
880
|
-
const canonicalEntityType =
|
|
881
|
-
const sameType = orderedTypes.filter((t) =>
|
|
880
|
+
const canonicalEntityType = _chunk7Z4EQOIXcjs.canonicalContentRefType.call(void 0, entityType);
|
|
881
|
+
const sameType = orderedTypes.filter((t) => _chunk7Z4EQOIXcjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
|
|
882
882
|
if (sameType.length > 0) {
|
|
883
|
-
orderedTypes = [...sameType, ...orderedTypes.filter((t) =>
|
|
883
|
+
orderedTypes = [...sameType, ...orderedTypes.filter((t) => _chunk7Z4EQOIXcjs.canonicalContentRefType.call(void 0, t) !== canonicalEntityType)];
|
|
884
884
|
}
|
|
885
885
|
}
|
|
886
886
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
|
|
887
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children:
|
|
887
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: _chunk7Z4EQOIXcjs.accentSentenceMarks.call(void 0, title) }),
|
|
888
888
|
orderedTypes.map((type) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
889
889
|
ContentGroup,
|
|
890
890
|
{
|
|
@@ -896,7 +896,7 @@ function RelatedContentSection({
|
|
|
896
896
|
LinkProvider,
|
|
897
897
|
extras,
|
|
898
898
|
adminCampaignCard,
|
|
899
|
-
heading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children:
|
|
899
|
+
heading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: _chunkB27XV2TCcjs.getContentRefLabelOrTitleCase.call(void 0, type) })
|
|
900
900
|
},
|
|
901
901
|
type
|
|
902
902
|
))
|
|
@@ -125,7 +125,7 @@ var _chunkHTRILBJDcjs = require('./chunk-HTRILBJD.cjs');
|
|
|
125
125
|
var _chunkMGF3FUKDcjs = require('./chunk-MGF3FUKD.cjs');
|
|
126
126
|
|
|
127
127
|
|
|
128
|
-
var
|
|
128
|
+
var _chunkNO5UJLLQcjs = require('./chunk-NO5UJLLQ.cjs');
|
|
129
129
|
|
|
130
130
|
|
|
131
131
|
|
|
@@ -140,7 +140,7 @@ var _chunkV45KLJQPcjs = require('./chunk-V45KLJQP.cjs');
|
|
|
140
140
|
var _chunkOF336YWGcjs = require('./chunk-OF336YWG.cjs');
|
|
141
141
|
|
|
142
142
|
|
|
143
|
-
var
|
|
143
|
+
var _chunkH3RYUTNDcjs = require('./chunk-H3RYUTND.cjs');
|
|
144
144
|
|
|
145
145
|
|
|
146
146
|
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
@@ -1292,7 +1292,7 @@ function ActionSkeletons({
|
|
|
1292
1292
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: items.map((action, idx) => {
|
|
1293
1293
|
const isIconOnly = action ? !action.label || !!action.iconOnlyOnDesktop : emptyFallback === "icon";
|
|
1294
1294
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1295
|
-
|
|
1295
|
+
_chunkH3RYUTNDcjs.UnifiedSkeleton,
|
|
1296
1296
|
{
|
|
1297
1297
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
1298
1298
|
SKELETON_HEIGHT,
|
|
@@ -1361,7 +1361,7 @@ function IconButtonsVariant({
|
|
|
1361
1361
|
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP6F6PHVKcjs.ActionsMenuDropdown, { groups: menuActions })
|
|
1362
1362
|
] })
|
|
1363
1363
|
] }),
|
|
1364
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex content-md:hidden", className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1364
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex content-md:hidden", className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: MOBILE_TRIGGER_SKELETON_CLASS }) : useSingleActionMobile && singleAction ? renderActionButton(singleAction, { iconOnly: true }) : hasMobileMenuItems ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP6F6PHVKcjs.ActionsMenuDropdown, { groups: mobileMenuGroups }) : null })
|
|
1365
1365
|
] });
|
|
1366
1366
|
}
|
|
1367
1367
|
function PrimaryButtonsVariant({
|
|
@@ -1381,7 +1381,7 @@ function PrimaryButtonsVariant({
|
|
|
1381
1381
|
// into a labelled button, not a square one.
|
|
1382
1382
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions, emptyFallback: "label" })
|
|
1383
1383
|
) : desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton(action) }, `desktop-${actionKey(action, idx)}`)) }),
|
|
1384
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "hidden items-center md:content-max-md:flex", ACTIONS_GAP, className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1384
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "hidden items-center md:content-max-md:flex", ACTIONS_GAP, className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: MOBILE_TRIGGER_SKELETON_CLASS }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompactPrimaryActions, { actions: desktopActions }) }),
|
|
1385
1385
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileBottomActions, { actions: sortedActions, loading })
|
|
1386
1386
|
] });
|
|
1387
1387
|
}
|
|
@@ -1404,7 +1404,7 @@ function MenuPrimaryVariant({
|
|
|
1404
1404
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton({ ...action, variant: action.variant || "accent" }) }, `desktop-${actionKey(action, idx)}`))
|
|
1405
1405
|
] })
|
|
1406
1406
|
] }),
|
|
1407
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex content-md:hidden", className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1407
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex content-md:hidden", className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: MOBILE_TRIGGER_SKELETON_CLASS }) : hasMobileMenuItems || selector ? (
|
|
1408
1408
|
// The selector rides into the menu as its header row: on mobile the
|
|
1409
1409
|
// title row has no room for it, and hiding it entirely (what
|
|
1410
1410
|
// `icon-buttons` does) would leave no way to switch views at all.
|
|
@@ -1521,7 +1521,7 @@ function TitleBlock({
|
|
|
1521
1521
|
loading ? null : subtitle
|
|
1522
1522
|
);
|
|
1523
1523
|
const titleNode = loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1524
|
-
|
|
1524
|
+
_chunkH3RYUTNDcjs.UnifiedSkeleton,
|
|
1525
1525
|
{
|
|
1526
1526
|
as: "span",
|
|
1527
1527
|
"aria-hidden": true,
|
|
@@ -1590,7 +1590,7 @@ function TitleBlock({
|
|
|
1590
1590
|
className: "truncate text-ods-text-secondary text-h6",
|
|
1591
1591
|
"aria-hidden": !loading && !subtitle ? true : void 0,
|
|
1592
1592
|
children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1593
|
-
|
|
1593
|
+
_chunkH3RYUTNDcjs.UnifiedSkeleton,
|
|
1594
1594
|
{
|
|
1595
1595
|
as: "span",
|
|
1596
1596
|
"aria-hidden": true,
|
|
@@ -2576,19 +2576,19 @@ function RemoteDesktopViewSkeleton({
|
|
|
2576
2576
|
onBack,
|
|
2577
2577
|
region = true
|
|
2578
2578
|
}) {
|
|
2579
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageLayout, { className: PAGE_CLASS, backButton: onBack ? { label: "Back", onClick: onBack } : void 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2579
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageLayout, { className: PAGE_CLASS, backButton: onBack ? { label: "Back", onClick: onBack } : void 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label: "Loading the remote session", announce: region, className: "contents", children: [
|
|
2580
2580
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CONTROLS_BAR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CONTROLS_ROW_CLASS, children: [
|
|
2581
2581
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-mf)]", children: [
|
|
2582
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2582
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-9 w-9 flex-shrink-0 rounded-md" }),
|
|
2583
2583
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
2584
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2585
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2584
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-48" }),
|
|
2585
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-36" })
|
|
2586
2586
|
] })
|
|
2587
2587
|
] }),
|
|
2588
2588
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
2589
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2590
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2591
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2589
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-11 w-11 rounded-lg md:h-12 md:w-12" }),
|
|
2590
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-11 w-11 rounded-lg md:h-12 md:w-12" }),
|
|
2591
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-11 w-11 rounded-lg md:h-12 md:w-12" })
|
|
2592
2592
|
] })
|
|
2593
2593
|
] }) }),
|
|
2594
2594
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-0 min-w-0 flex-1 rounded-lg bg-black" })
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkT4BBZ5STcjs = require('./chunk-T4BBZ5ST.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -179,11 +179,11 @@ function UnifiedPagination({
|
|
|
179
179
|
}, 0);
|
|
180
180
|
};
|
|
181
181
|
if (totalPages <= 1) {
|
|
182
|
-
return reserveSpace ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none invisible", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
182
|
+
return reserveSpace ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none invisible", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT4BBZ5STcjs.Pagination, { currentPage: 1, totalPages: 1, onPageChange: () => {
|
|
183
183
|
} }) }) }) : null;
|
|
184
184
|
}
|
|
185
185
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
186
|
-
|
|
186
|
+
_chunkT4BBZ5STcjs.Pagination,
|
|
187
187
|
{
|
|
188
188
|
currentPage,
|
|
189
189
|
totalPages,
|