@flamingo-stack/openframe-frontend-core 0.0.285 → 0.0.286
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-3MCHAFHB.js +89 -0
- package/dist/chunk-3MCHAFHB.js.map +1 -0
- package/dist/{chunk-IMNGGLKL.js → chunk-3ZXUQQL4.js} +2 -2
- package/dist/{chunk-44ZFLMYC.cjs → chunk-4WACBTZU.cjs} +30 -30
- package/dist/{chunk-44ZFLMYC.cjs.map → chunk-4WACBTZU.cjs.map} +1 -1
- package/dist/{chunk-23UOJUDF.js → chunk-5BTZOVDQ.js} +4 -4
- package/dist/chunk-5KD3S25X.cjs +312 -0
- package/dist/chunk-5KD3S25X.cjs.map +1 -0
- package/dist/chunk-6N26CURS.cjs +2417 -0
- package/dist/chunk-6N26CURS.cjs.map +1 -0
- package/dist/{chunk-XX7P4IL2.js → chunk-7NM7DEUK.js} +4 -143
- package/dist/chunk-7NM7DEUK.js.map +1 -0
- package/dist/chunk-BBZ7AX5H.cjs +290 -0
- package/dist/chunk-BBZ7AX5H.cjs.map +1 -0
- package/dist/chunk-C6SCWXDP.js +290 -0
- package/dist/chunk-C6SCWXDP.js.map +1 -0
- package/dist/{chunk-GVSTRN36.cjs → chunk-D3LEFMOA.cjs} +3 -3
- package/dist/{chunk-GVSTRN36.cjs.map → chunk-D3LEFMOA.cjs.map} +1 -1
- package/dist/{chunk-P45Q4QCU.cjs → chunk-D5YY5U6J.cjs} +19 -15
- package/dist/chunk-D5YY5U6J.cjs.map +1 -0
- package/dist/chunk-DDAT4RKX.js +2417 -0
- package/dist/chunk-DDAT4RKX.js.map +1 -0
- package/dist/{chunk-PVXCVPJD.cjs → chunk-EI4WALN2.cjs} +67 -1626
- package/dist/chunk-EI4WALN2.cjs.map +1 -0
- package/dist/{chunk-ZIODAAFY.cjs → chunk-EL5GCMPU.cjs} +20 -159
- package/dist/chunk-EL5GCMPU.cjs.map +1 -0
- package/dist/{chunk-VQW7CEGS.js → chunk-FSBDVT6R.js} +1831 -3672
- package/dist/chunk-FSBDVT6R.js.map +1 -0
- package/dist/{chunk-DPKUSBQH.cjs → chunk-GDF2R2ER.cjs} +1073 -2914
- package/dist/chunk-GDF2R2ER.cjs.map +1 -0
- package/dist/chunk-HLQW7MWJ.cjs +1594 -0
- package/dist/chunk-HLQW7MWJ.cjs.map +1 -0
- package/dist/chunk-I6ZPGKZ2.cjs +151 -0
- package/dist/chunk-I6ZPGKZ2.cjs.map +1 -0
- package/dist/{chunk-J66U3LPZ.cjs → chunk-KBKZYJRI.cjs} +33 -332
- package/dist/chunk-KBKZYJRI.cjs.map +1 -0
- package/dist/{chunk-USPATRSC.js → chunk-N6ZM5PYZ.js} +45 -344
- package/dist/chunk-N6ZM5PYZ.js.map +1 -0
- package/dist/{chunk-RGALV4UX.js → chunk-POKKCWKF.js} +3 -82
- package/dist/chunk-POKKCWKF.js.map +1 -0
- package/dist/{chunk-XDI5JSWB.cjs → chunk-QCKN37OP.cjs} +45 -41
- package/dist/chunk-QCKN37OP.cjs.map +1 -0
- package/dist/{chunk-KNCDUWY2.js → chunk-QF2X6PTD.js} +10 -6
- package/dist/{chunk-KNCDUWY2.js.map → chunk-QF2X6PTD.js.map} +1 -1
- package/dist/{chunk-Z3V2SGQZ.js → chunk-R2KT5GDD.js} +324 -1883
- package/dist/chunk-R2KT5GDD.js.map +1 -0
- package/dist/{chunk-RJUGNL2A.cjs → chunk-RQ6RTBKF.cjs} +16 -12
- package/dist/chunk-RQ6RTBKF.cjs.map +1 -0
- package/dist/chunk-TFSYSWPS.cjs +89 -0
- package/dist/chunk-TFSYSWPS.cjs.map +1 -0
- package/dist/chunk-TYZEMPPH.js +312 -0
- package/dist/chunk-TYZEMPPH.js.map +1 -0
- package/dist/{chunk-O5N57CRV.js → chunk-VCQ3CTYK.js} +12 -8
- package/dist/{chunk-O5N57CRV.js.map → chunk-VCQ3CTYK.js.map} +1 -1
- package/dist/chunk-VRSXJ5QJ.js +1599 -0
- package/dist/chunk-VRSXJ5QJ.js.map +1 -0
- package/dist/{chunk-53CFL7PH.js → chunk-XQL4WDML.js} +11 -7
- package/dist/{chunk-53CFL7PH.js.map → chunk-XQL4WDML.js.map} +1 -1
- package/dist/chunk-Y4JNA4W6.cjs +1599 -0
- package/dist/chunk-Y4JNA4W6.cjs.map +1 -0
- package/dist/{chunk-ZSUNQJRO.cjs → chunk-YETA25JW.cjs} +2 -81
- package/dist/chunk-YETA25JW.cjs.map +1 -0
- package/dist/chunk-YVB3VDIQ.js +1594 -0
- package/dist/chunk-YVB3VDIQ.js.map +1 -0
- package/dist/chunk-ZLN6SM2U.js +151 -0
- package/dist/chunk-ZLN6SM2U.js.map +1 -0
- package/dist/components/chat/chat-attachment-bar.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +12 -6
- package/dist/components/chat/index.cjs.map +1 -1
- package/dist/components/chat/index.js +45 -39
- package/dist/components/contact/index.cjs +11 -7
- package/dist/components/contact/index.cjs.map +1 -1
- package/dist/components/contact/index.js +10 -6
- package/dist/components/docs/doc-navigation-context.d.ts +39 -0
- package/dist/components/docs/doc-navigation-context.d.ts.map +1 -0
- package/dist/components/docs/doc-viewer.d.ts +66 -0
- package/dist/components/docs/doc-viewer.d.ts.map +1 -0
- package/dist/components/docs/index.cjs +34 -0
- package/dist/components/docs/index.cjs.map +1 -0
- package/dist/components/docs/index.d.ts +8 -0
- package/dist/components/docs/index.d.ts.map +1 -0
- package/dist/components/docs/index.js +34 -0
- package/dist/components/docs/index.js.map +1 -0
- package/dist/components/docs/use-document-tree.d.ts +41 -0
- package/dist/components/docs/use-document-tree.d.ts.map +1 -0
- package/dist/components/docs/use-scroll-spy.d.ts +16 -0
- package/dist/components/docs/use-scroll-spy.d.ts.map +1 -0
- package/dist/components/embeds/embed-iframe.d.ts +29 -0
- package/dist/components/embeds/embed-iframe.d.ts.map +1 -0
- package/dist/components/embeds/figma-embed.d.ts +27 -0
- package/dist/components/embeds/figma-embed.d.ts.map +1 -0
- package/dist/components/embeds/google-sheets-viewer.d.ts +8 -0
- package/dist/components/embeds/google-sheets-viewer.d.ts.map +1 -0
- package/dist/components/embeds/index.cjs +37 -0
- package/dist/components/embeds/index.cjs.map +1 -0
- package/dist/components/embeds/index.d.ts +9 -0
- package/dist/components/embeds/index.d.ts.map +1 -0
- package/dist/components/embeds/index.js +37 -0
- package/dist/components/embeds/index.js.map +1 -0
- package/dist/components/embeds/pdf-viewer.d.ts +10 -0
- package/dist/components/embeds/pdf-viewer.d.ts.map +1 -0
- package/dist/components/faq/index.cjs +12 -8
- package/dist/components/faq/index.cjs.map +1 -1
- package/dist/components/faq/index.js +11 -7
- package/dist/components/features/index.cjs +10 -6
- package/dist/components/features/index.cjs.map +1 -1
- package/dist/components/features/index.js +9 -5
- package/dist/components/index.cjs +247 -1120
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +645 -1518
- package/dist/components/index.js.map +1 -1
- package/dist/components/navigation/index.cjs +15 -6
- package/dist/components/navigation/index.cjs.map +1 -1
- package/dist/components/navigation/index.d.ts +2 -0
- package/dist/components/navigation/index.d.ts.map +1 -1
- package/dist/components/navigation/index.js +15 -6
- package/dist/components/navigation/multi-level-navigation.d.ts +28 -0
- package/dist/components/navigation/multi-level-navigation.d.ts.map +1 -0
- package/dist/components/onboarding-guides/index.cjs +34 -29
- package/dist/components/onboarding-guides/index.cjs.map +1 -1
- package/dist/components/onboarding-guides/index.js +13 -8
- package/dist/components/onboarding-guides/index.js.map +1 -1
- package/dist/components/related-content/index.cjs +12 -8
- package/dist/components/related-content/index.cjs.map +1 -1
- package/dist/components/related-content/index.js +11 -7
- package/dist/components/tickets/index.cjs +75 -70
- package/dist/components/tickets/index.cjs.map +1 -1
- package/dist/components/tickets/index.js +16 -11
- package/dist/components/tickets/index.js.map +1 -1
- package/dist/components/ui/index.cjs +12 -6
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +65 -59
- package/dist/embed-shims/index.cjs +3 -3
- package/dist/embed-shims/index.cjs.map +1 -1
- package/dist/embed-shims/index.js +8 -8
- package/dist/hooks/index.cjs +6 -3
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.js +7 -4
- package/dist/index.cjs +62 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +257 -201
- package/dist/types/doc-source.cjs +4 -0
- package/dist/types/doc-source.cjs.map +1 -0
- package/dist/types/doc-source.d.ts +86 -0
- package/dist/types/doc-source.d.ts.map +1 -0
- package/dist/types/doc-source.js +3 -0
- package/dist/types/doc-source.js.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/doc-path-utils.d.ts +24 -0
- package/dist/utils/doc-path-utils.d.ts.map +1 -0
- package/dist/utils/doc-tree-nav.d.ts +35 -0
- package/dist/utils/doc-tree-nav.d.ts.map +1 -0
- package/dist/utils/embed-url-converters.d.ts +16 -0
- package/dist/utils/embed-url-converters.d.ts.map +1 -0
- package/dist/utils/format.d.ts +9 -0
- package/dist/utils/format.d.ts.map +1 -1
- package/dist/utils/index.cjs +297 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +7 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +276 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/markdown-section-extractor.d.ts +23 -0
- package/dist/utils/markdown-section-extractor.d.ts.map +1 -0
- package/dist/utils/markdown-to-plain.d.ts +32 -0
- package/dist/utils/markdown-to-plain.d.ts.map +1 -0
- package/dist/utils/tree-builder.d.ts +30 -0
- package/dist/utils/tree-builder.d.ts.map +1 -0
- package/package.json +19 -1
- package/src/components/chat/chat-attachment-bar.tsx +6 -11
- package/src/components/docs/doc-navigation-context.tsx +123 -0
- package/src/components/docs/doc-viewer.tsx +345 -0
- package/src/components/docs/index.ts +12 -0
- package/src/components/docs/use-document-tree.ts +427 -0
- package/src/components/docs/use-scroll-spy.ts +93 -0
- package/src/components/embeds/embed-iframe.tsx +103 -0
- package/src/components/embeds/figma-embed.tsx +147 -0
- package/src/components/embeds/google-sheets-viewer.tsx +54 -0
- package/src/components/embeds/index.ts +11 -0
- package/src/components/embeds/pdf-viewer.tsx +64 -0
- package/src/components/index.ts +2 -0
- package/src/components/navigation/index.ts +5 -0
- package/src/components/navigation/multi-level-navigation.tsx +358 -0
- package/src/types/doc-source.ts +88 -0
- package/src/types/index.ts +4 -0
- package/src/utils/doc-path-utils.ts +47 -0
- package/src/utils/doc-tree-nav.ts +111 -0
- package/src/utils/embed-url-converters.ts +77 -0
- package/src/utils/format.ts +16 -0
- package/src/utils/index.ts +11 -0
- package/src/utils/markdown-section-extractor.ts +106 -0
- package/src/utils/markdown-to-plain.ts +69 -0
- package/src/utils/tree-builder.ts +114 -0
- package/dist/chunk-DPKUSBQH.cjs.map +0 -1
- package/dist/chunk-J66U3LPZ.cjs.map +0 -1
- package/dist/chunk-P45Q4QCU.cjs.map +0 -1
- package/dist/chunk-PVXCVPJD.cjs.map +0 -1
- package/dist/chunk-RGALV4UX.js.map +0 -1
- package/dist/chunk-RJUGNL2A.cjs.map +0 -1
- package/dist/chunk-USPATRSC.js.map +0 -1
- package/dist/chunk-VQW7CEGS.js.map +0 -1
- package/dist/chunk-XDI5JSWB.cjs.map +0 -1
- package/dist/chunk-XX7P4IL2.js.map +0 -1
- package/dist/chunk-Z3V2SGQZ.js.map +0 -1
- package/dist/chunk-ZIODAAFY.cjs.map +0 -1
- package/dist/chunk-ZSUNQJRO.cjs.map +0 -1
- /package/dist/{chunk-IMNGGLKL.js.map → chunk-3ZXUQQL4.js.map} +0 -0
- /package/dist/{chunk-23UOJUDF.js.map → chunk-5BTZOVDQ.js.map} +0 -0
package/dist/components/index.js
CHANGED
|
@@ -1,14 +1,50 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
+
import {
|
|
4
|
+
AnnouncementBarSkeleton,
|
|
5
|
+
ArticleLayoutSkeleton,
|
|
6
|
+
BlogCardGridSkeleton,
|
|
7
|
+
BreadcrumbSkeleton,
|
|
8
|
+
CardSkeleton,
|
|
9
|
+
CardSkeletonGrid,
|
|
10
|
+
CategorySidebarSkeleton,
|
|
11
|
+
DocNavigationProvider,
|
|
12
|
+
DocViewer,
|
|
13
|
+
HeroSkeleton,
|
|
14
|
+
InteractiveSkeleton,
|
|
15
|
+
MediaSkeleton,
|
|
16
|
+
PersistentFilterControls,
|
|
17
|
+
PersistentMobileDropdown,
|
|
18
|
+
PersistentSearchContainer,
|
|
19
|
+
PersistentSidebar,
|
|
20
|
+
ResultsHeaderSkeleton,
|
|
21
|
+
SearchContainerSkeleton,
|
|
22
|
+
SlackCommunitySkeleton,
|
|
23
|
+
StatsSectionSkeleton,
|
|
24
|
+
TextSkeleton,
|
|
25
|
+
TwoColumnLayoutSkeleton,
|
|
26
|
+
UnifiedSkeleton,
|
|
27
|
+
VendorDetailLayoutSkeleton,
|
|
28
|
+
VendorGridSkeleton,
|
|
29
|
+
useDocNavigation,
|
|
30
|
+
useDocumentTree,
|
|
31
|
+
useScrollSpy
|
|
32
|
+
} from "../chunk-YVB3VDIQ.js";
|
|
33
|
+
import {
|
|
34
|
+
EmbedIframe,
|
|
35
|
+
FigmaEmbed,
|
|
36
|
+
GoogleSheetsViewer,
|
|
37
|
+
PdfViewer
|
|
38
|
+
} from "../chunk-C6SCWXDP.js";
|
|
3
39
|
import {
|
|
4
40
|
FaqAccordion,
|
|
5
41
|
FaqDocumentPage,
|
|
6
42
|
FaqSection
|
|
7
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-QF2X6PTD.js";
|
|
8
44
|
import {
|
|
9
45
|
GROUP_PAGE_SIZE,
|
|
10
46
|
RelatedContentSection
|
|
11
|
-
} from "../chunk-
|
|
47
|
+
} from "../chunk-VCQ3CTYK.js";
|
|
12
48
|
import {
|
|
13
49
|
DeliveryRow,
|
|
14
50
|
DevCardRowContent,
|
|
@@ -20,20 +56,22 @@ import {
|
|
|
20
56
|
UnifiedPagination,
|
|
21
57
|
init_unified_pagination,
|
|
22
58
|
unified_pagination_exports
|
|
23
|
-
} from "../chunk-
|
|
59
|
+
} from "../chunk-XQL4WDML.js";
|
|
24
60
|
import {
|
|
25
61
|
ArticleAuthorByline,
|
|
26
|
-
DetailPageSkeleton
|
|
62
|
+
DetailPageSkeleton
|
|
63
|
+
} from "../chunk-ZLN6SM2U.js";
|
|
64
|
+
import {
|
|
27
65
|
DocSearchBar,
|
|
28
66
|
DocSearchResultRow,
|
|
29
67
|
formatRelativePath,
|
|
30
68
|
mapDocSearchResults,
|
|
31
69
|
resolveSearchResultAction,
|
|
32
70
|
useDocSearch
|
|
33
|
-
} from "../chunk-
|
|
71
|
+
} from "../chunk-7NM7DEUK.js";
|
|
34
72
|
import {
|
|
35
73
|
useSelfFetch
|
|
36
|
-
} from "../chunk-
|
|
74
|
+
} from "../chunk-3ZXUQQL4.js";
|
|
37
75
|
import "../chunk-4XLJWX2N.js";
|
|
38
76
|
import {
|
|
39
77
|
ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE,
|
|
@@ -42,11 +80,9 @@ import {
|
|
|
42
80
|
AIRequiredBadge,
|
|
43
81
|
AIStatusIndicator,
|
|
44
82
|
AIWarningsSection,
|
|
45
|
-
ANTHROPIC_SUPPORTED_IMAGE_MIME,
|
|
46
83
|
APPROVAL_STATUS,
|
|
47
84
|
ASSISTANT_TYPE,
|
|
48
85
|
AUTHOR_TYPE,
|
|
49
|
-
AUTO_CONTINUATION_DIRECTIVE_PREFIX,
|
|
50
86
|
Accordion,
|
|
51
87
|
AccordionContent,
|
|
52
88
|
AccordionItem,
|
|
@@ -109,11 +145,7 @@ import {
|
|
|
109
145
|
BreadcrumbSeparator,
|
|
110
146
|
BulletList,
|
|
111
147
|
CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER,
|
|
112
|
-
CHAT_ATTACHMENT_MARKDOWN_PATTERN,
|
|
113
148
|
CHAT_ATTACHMENT_MIME_TYPES,
|
|
114
|
-
CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM,
|
|
115
|
-
CHAT_ATTACHMENT_VIEW_URL_PREFIX,
|
|
116
|
-
CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED,
|
|
117
149
|
CHAT_CONTEXT_ITEMS_DEFAULT_MAX,
|
|
118
150
|
CHAT_TYPE,
|
|
119
151
|
CHIP_ACTION_BUTTON_CLASS,
|
|
@@ -124,7 +156,6 @@ import {
|
|
|
124
156
|
CONTEXT_LABEL_CLASS,
|
|
125
157
|
CONTEXT_ROW_CLASS,
|
|
126
158
|
CONTEXT_STATE_CLASS,
|
|
127
|
-
CUSTOM_ITEM_ID,
|
|
128
159
|
CUSTOM_PRESET_KEY,
|
|
129
160
|
CampaignCardAdmin,
|
|
130
161
|
CampaignCardAdminSkeleton,
|
|
@@ -191,7 +222,6 @@ import {
|
|
|
191
222
|
CveLink,
|
|
192
223
|
DEFAULT_CUSTOM_STATUS_COLOR,
|
|
193
224
|
DEFAULT_THEME,
|
|
194
|
-
DEV_SECTION_PARAM_KEYS,
|
|
195
225
|
DashboardInfoCard,
|
|
196
226
|
DataRoomDocCard,
|
|
197
227
|
DataRoomDocCardSkeleton,
|
|
@@ -297,7 +327,6 @@ import {
|
|
|
297
327
|
ListPageLayout,
|
|
298
328
|
LoadingProvider,
|
|
299
329
|
MESSAGE_ROLE,
|
|
300
|
-
MESSAGE_TYPE,
|
|
301
330
|
MarkdownEditor,
|
|
302
331
|
MediaGalleryManager,
|
|
303
332
|
MediaTypeSelector,
|
|
@@ -412,8 +441,6 @@ import {
|
|
|
412
441
|
RoadmapCard,
|
|
413
442
|
RoadmapCardSkeleton,
|
|
414
443
|
RoadmapVoteButton,
|
|
415
|
-
SCROLL_ANCHOR,
|
|
416
|
-
SCROLL_ANCHOR_WIRE_KEY,
|
|
417
444
|
SEOEditorPreview,
|
|
418
445
|
SYNTHETIC_REALTIME_ID_PREFIXES,
|
|
419
446
|
ScriptArguments,
|
|
@@ -455,7 +482,6 @@ import {
|
|
|
455
482
|
StartWithOpenFrameButton,
|
|
456
483
|
StatusFilterComponent,
|
|
457
484
|
StatusIndicator,
|
|
458
|
-
StickySectionNav,
|
|
459
485
|
Switch,
|
|
460
486
|
THEME_ATTRIBUTE,
|
|
461
487
|
THEME_STORAGE_KEY,
|
|
@@ -519,38 +545,27 @@ import {
|
|
|
519
545
|
alignJustify,
|
|
520
546
|
approvalMetaToBatchData,
|
|
521
547
|
badgeVariants,
|
|
522
|
-
buildAutoContinuationDirective,
|
|
523
|
-
buildChatAttachmentViewUrl,
|
|
524
548
|
buildChatRefKey,
|
|
525
|
-
buildDiscussAddendum,
|
|
526
549
|
buildNatsWsUrl,
|
|
527
550
|
buildProductReleaseCardProps,
|
|
528
551
|
chatChipClass,
|
|
529
|
-
clickupTaskUrl,
|
|
530
552
|
columnFromTicketStatus,
|
|
531
553
|
computeHistoryPrepend,
|
|
532
554
|
createColumnHelper,
|
|
533
555
|
createMessageSegmentAccumulator,
|
|
534
556
|
defaultBuildProductReleaseCardProps,
|
|
535
557
|
deriveColumns,
|
|
536
|
-
escapeMarkdownInline,
|
|
537
558
|
executeNavigation,
|
|
538
559
|
executeNavigationImperative,
|
|
539
560
|
exportToCSV,
|
|
540
|
-
extractEntityIdFilter,
|
|
541
561
|
extractErrorMessages,
|
|
542
562
|
extractIncompleteMessageState,
|
|
543
563
|
extractTextFromChunk,
|
|
544
564
|
fetchEmptyStateConfig,
|
|
545
565
|
fetchSlashCommands,
|
|
546
|
-
flattenAssistantContent,
|
|
547
566
|
flattenMessagePagesChronological,
|
|
548
567
|
flexRender,
|
|
549
|
-
formatChatAttachmentMarkdownForBubble,
|
|
550
568
|
formatInvestorUpdatePeriod,
|
|
551
|
-
formatRelativeTime,
|
|
552
|
-
formatReleaseDate,
|
|
553
|
-
formatSingularLookupInvocation,
|
|
554
569
|
getApprovalMeta,
|
|
555
570
|
getCommandText,
|
|
556
571
|
getCoreRowModel,
|
|
@@ -564,10 +579,8 @@ import {
|
|
|
564
579
|
getPaginationRowModel,
|
|
565
580
|
getProxiedImageUrl as getProxiedImageUrl2,
|
|
566
581
|
getSortedRowModel,
|
|
567
|
-
getStatusColorScheme,
|
|
568
582
|
getTabById,
|
|
569
583
|
getTabComponent,
|
|
570
|
-
getTaskTypeLabel,
|
|
571
584
|
getTicketStatusConfig,
|
|
572
585
|
getTicketStatusTag,
|
|
573
586
|
groupTicketsByStatus,
|
|
@@ -587,8 +600,6 @@ import {
|
|
|
587
600
|
noDataIconClasses,
|
|
588
601
|
normalizeContent,
|
|
589
602
|
parseChunkToAction,
|
|
590
|
-
parseScrollAnchor,
|
|
591
|
-
parseWireCommandOverride,
|
|
592
603
|
processHistoricalMessages,
|
|
593
604
|
processHistoricalMessagesWithErrors,
|
|
594
605
|
remarkCardLinks,
|
|
@@ -597,8 +608,6 @@ import {
|
|
|
597
608
|
resolveOnboardingIcon,
|
|
598
609
|
resolveStatusTagProps,
|
|
599
610
|
resolveTicketStatus,
|
|
600
|
-
sanitizeTitleForChat,
|
|
601
|
-
stripChatAttachmentMarkdown,
|
|
602
611
|
tintOnDark,
|
|
603
612
|
toggleVariants,
|
|
604
613
|
transformEventToProgram,
|
|
@@ -629,7 +638,6 @@ import {
|
|
|
629
638
|
useProxiedImageUrl,
|
|
630
639
|
useRealtimeChunkProcessor,
|
|
631
640
|
useSSE,
|
|
632
|
-
useSectionNavigation,
|
|
633
641
|
useSlashCommandRegistry,
|
|
634
642
|
useSlashCommands,
|
|
635
643
|
useSseChatAdapter,
|
|
@@ -639,7 +647,41 @@ import {
|
|
|
639
647
|
useTrackerClock,
|
|
640
648
|
useUnifiedChat,
|
|
641
649
|
usesCanonicalStatusStyle
|
|
642
|
-
} from "../chunk-
|
|
650
|
+
} from "../chunk-FSBDVT6R.js";
|
|
651
|
+
import {
|
|
652
|
+
ANTHROPIC_SUPPORTED_IMAGE_MIME,
|
|
653
|
+
AUTO_CONTINUATION_DIRECTIVE_PREFIX,
|
|
654
|
+
CHAT_ATTACHMENT_MARKDOWN_PATTERN,
|
|
655
|
+
CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM,
|
|
656
|
+
CHAT_ATTACHMENT_VIEW_URL_PREFIX,
|
|
657
|
+
CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED,
|
|
658
|
+
CUSTOM_ITEM_ID,
|
|
659
|
+
DEV_SECTION_PARAM_KEYS,
|
|
660
|
+
MESSAGE_TYPE,
|
|
661
|
+
MobileNavigationDropdown,
|
|
662
|
+
MultiLevelNavigation,
|
|
663
|
+
SCROLL_ANCHOR,
|
|
664
|
+
SCROLL_ANCHOR_WIRE_KEY,
|
|
665
|
+
StickySectionNav,
|
|
666
|
+
buildAutoContinuationDirective,
|
|
667
|
+
buildChatAttachmentViewUrl,
|
|
668
|
+
buildDiscussAddendum,
|
|
669
|
+
clickupTaskUrl,
|
|
670
|
+
escapeMarkdownInline,
|
|
671
|
+
extractEntityIdFilter,
|
|
672
|
+
flattenAssistantContent,
|
|
673
|
+
formatChatAttachmentMarkdownForBubble,
|
|
674
|
+
formatRelativeTime,
|
|
675
|
+
formatReleaseDate,
|
|
676
|
+
formatSingularLookupInvocation,
|
|
677
|
+
getStatusColorScheme,
|
|
678
|
+
getTaskTypeLabel,
|
|
679
|
+
parseScrollAnchor,
|
|
680
|
+
parseWireCommandOverride,
|
|
681
|
+
sanitizeTitleForChat,
|
|
682
|
+
stripChatAttachmentMarkdown,
|
|
683
|
+
useSectionNavigation
|
|
684
|
+
} from "../chunk-DDAT4RKX.js";
|
|
643
685
|
import {
|
|
644
686
|
CommandApprovalToast,
|
|
645
687
|
ToastCard,
|
|
@@ -650,7 +692,8 @@ import {
|
|
|
650
692
|
showToast,
|
|
651
693
|
useOnboardingState,
|
|
652
694
|
useToast
|
|
653
|
-
} from "../chunk-
|
|
695
|
+
} from "../chunk-N6ZM5PYZ.js";
|
|
696
|
+
import "../chunk-TYZEMPPH.js";
|
|
654
697
|
import {
|
|
655
698
|
useEndpointsRuntime
|
|
656
699
|
} from "../chunk-MJNXIEV2.js";
|
|
@@ -673,20 +716,6 @@ import {
|
|
|
673
716
|
ActionsMenuDropdown,
|
|
674
717
|
ArticleDetailLayout,
|
|
675
718
|
BlogImagePlaceholder,
|
|
676
|
-
COMPACT_CARD_ICON_SLOT,
|
|
677
|
-
COMPACT_CARD_IMAGE_SLOT,
|
|
678
|
-
COMPACT_CARD_META_ROW,
|
|
679
|
-
COMPACT_CARD_META_ROW_BOX,
|
|
680
|
-
COMPACT_CARD_OUTER,
|
|
681
|
-
COMPACT_CARD_OUTER_STATIC,
|
|
682
|
-
COMPACT_CARD_ROW_FILLER,
|
|
683
|
-
COMPACT_CARD_SKELETON_IMAGE_SLOT,
|
|
684
|
-
COMPACT_CARD_SKELETON_OUTER,
|
|
685
|
-
COMPACT_CARD_SUBTITLE,
|
|
686
|
-
COMPACT_CARD_SUMMARY,
|
|
687
|
-
COMPACT_CARD_TEXT_COL,
|
|
688
|
-
COMPACT_CARD_TITLE,
|
|
689
|
-
COMPACT_CARD_TITLE_ROW,
|
|
690
719
|
Card,
|
|
691
720
|
CardContent,
|
|
692
721
|
CardDescription,
|
|
@@ -694,7 +723,6 @@ import {
|
|
|
694
723
|
CardHeader,
|
|
695
724
|
CardHorizontal,
|
|
696
725
|
CardTitle,
|
|
697
|
-
DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID,
|
|
698
726
|
EMPTY_AUTHOR_PLACEHOLDER,
|
|
699
727
|
EntityAuthorCard,
|
|
700
728
|
EntityImage,
|
|
@@ -704,28 +732,19 @@ import {
|
|
|
704
732
|
EntityVideoSection,
|
|
705
733
|
ErrorState,
|
|
706
734
|
FilterPillRow,
|
|
707
|
-
HiddenTagsPopup,
|
|
708
|
-
ICON_REGISTRY,
|
|
709
735
|
LoadError,
|
|
710
736
|
MUX_IMAGE_ORIGIN,
|
|
711
737
|
MUX_STREAM_ORIGIN,
|
|
712
|
-
NEW_TAB_FEATURES,
|
|
713
738
|
NotFoundError,
|
|
714
739
|
OnboardingGuideCard,
|
|
715
740
|
OnboardingGuideCardSkeleton,
|
|
716
|
-
PAGE_HEADING_CLASS,
|
|
717
741
|
PageActions,
|
|
718
742
|
PageError,
|
|
719
|
-
PageHeading,
|
|
720
743
|
PageLayout,
|
|
721
744
|
PageShell,
|
|
722
745
|
RATIO_DISPLAY_GRID_CLASS,
|
|
723
746
|
RATIO_GRID_CLASS,
|
|
724
747
|
RatioTabs,
|
|
725
|
-
SECTION_HEADING_CLASS,
|
|
726
|
-
SOURCE_ICON_NAMES,
|
|
727
|
-
SOURCE_LABELS_BY_TABLE,
|
|
728
|
-
SearchInput,
|
|
729
748
|
SimpleMarkdownRenderer,
|
|
730
749
|
SquareAvatar,
|
|
731
750
|
StatusBadge,
|
|
@@ -734,67 +753,95 @@ import {
|
|
|
734
753
|
TabsContent,
|
|
735
754
|
TabsList,
|
|
736
755
|
TabsTrigger,
|
|
737
|
-
Tag,
|
|
738
756
|
TitleBlock,
|
|
739
757
|
Video,
|
|
740
758
|
VideoBiteCard,
|
|
741
759
|
VideoBitesDisplay,
|
|
742
760
|
buildAnchorProps,
|
|
743
761
|
computeIsNewTab,
|
|
744
|
-
decideNewTab,
|
|
745
|
-
defaultTableIdForDocumentType,
|
|
746
762
|
detectAspectRatio,
|
|
747
763
|
extractYouTubeId,
|
|
764
|
+
getCaptionsUrl,
|
|
765
|
+
groupByAspectRatio,
|
|
766
|
+
newTabAnchorAttrs,
|
|
767
|
+
ratioToCategory,
|
|
768
|
+
statusBadgeVariants,
|
|
769
|
+
useEntityCardLink,
|
|
770
|
+
usePageActionsBottomPadding,
|
|
771
|
+
useVideoOriginPreconnect,
|
|
772
|
+
useVideoWarmup
|
|
773
|
+
} from "../chunk-R2KT5GDD.js";
|
|
774
|
+
import {
|
|
775
|
+
COMPACT_CARD_ICON_SLOT,
|
|
776
|
+
COMPACT_CARD_IMAGE_SLOT,
|
|
777
|
+
COMPACT_CARD_META_ROW,
|
|
778
|
+
COMPACT_CARD_META_ROW_BOX,
|
|
779
|
+
COMPACT_CARD_OUTER,
|
|
780
|
+
COMPACT_CARD_OUTER_STATIC,
|
|
781
|
+
COMPACT_CARD_ROW_FILLER,
|
|
782
|
+
COMPACT_CARD_SKELETON_IMAGE_SLOT,
|
|
783
|
+
COMPACT_CARD_SKELETON_OUTER,
|
|
784
|
+
COMPACT_CARD_SUBTITLE,
|
|
785
|
+
COMPACT_CARD_SUMMARY,
|
|
786
|
+
COMPACT_CARD_TEXT_COL,
|
|
787
|
+
COMPACT_CARD_TITLE,
|
|
788
|
+
COMPACT_CARD_TITLE_ROW,
|
|
789
|
+
DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID,
|
|
790
|
+
HiddenTagsPopup,
|
|
791
|
+
ICON_REGISTRY,
|
|
792
|
+
NEW_TAB_FEATURES,
|
|
793
|
+
PAGE_HEADING_CLASS,
|
|
794
|
+
PageHeading,
|
|
795
|
+
SECTION_HEADING_CLASS,
|
|
796
|
+
SOURCE_ICON_NAMES,
|
|
797
|
+
SOURCE_LABELS_BY_TABLE,
|
|
798
|
+
SearchInput,
|
|
799
|
+
Tag,
|
|
800
|
+
decideNewTab,
|
|
801
|
+
defaultTableIdForDocumentType,
|
|
748
802
|
formatBioText,
|
|
749
803
|
formatLegalDate,
|
|
750
|
-
getCaptionsUrl,
|
|
751
804
|
getDynamicIcon,
|
|
752
805
|
getIconComponent,
|
|
753
806
|
getProxiedImageUrl,
|
|
754
807
|
getSourceIconName,
|
|
755
808
|
getSourceLabel,
|
|
756
|
-
groupByAspectRatio,
|
|
757
809
|
isCrossOriginUrl,
|
|
758
810
|
isModifierClick,
|
|
759
|
-
newTabAnchorAttrs,
|
|
760
811
|
normalizeIconKey,
|
|
761
|
-
ratioToCategory,
|
|
762
812
|
resolveContentHref,
|
|
763
813
|
resolveExternalNavigation,
|
|
764
814
|
resolveSourceIcon,
|
|
765
815
|
resolveSourceRowCTA,
|
|
766
816
|
safeHref,
|
|
767
|
-
statusBadgeVariants,
|
|
768
817
|
stripSameOriginToPath,
|
|
769
|
-
tagVariants
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
} from "../chunk-Z3V2SGQZ.js";
|
|
818
|
+
tagVariants
|
|
819
|
+
} from "../chunk-VRSXJ5QJ.js";
|
|
820
|
+
import {
|
|
821
|
+
contentFetch
|
|
822
|
+
} from "../chunk-3MCHAFHB.js";
|
|
775
823
|
import {
|
|
776
824
|
applyProxyAuth,
|
|
777
825
|
clearEmbedProxyAuth,
|
|
778
|
-
contentFetch,
|
|
779
826
|
embedAuthedFetch,
|
|
780
827
|
getAppType,
|
|
781
828
|
getEmbedProxyAuth,
|
|
782
829
|
getPersistedProxyEmail,
|
|
783
830
|
setEmbedProxyAuth
|
|
784
|
-
} from "../chunk-
|
|
831
|
+
} from "../chunk-POKKCWKF.js";
|
|
785
832
|
import {
|
|
786
833
|
useChatRuntime
|
|
787
834
|
} from "../chunk-LCNMR277.js";
|
|
788
|
-
import {
|
|
789
|
-
next_image_default
|
|
790
|
-
} from "../chunk-LXC6P2EO.js";
|
|
791
|
-
import "../chunk-EL5YVPD5.js";
|
|
792
835
|
import {
|
|
793
836
|
init_next_navigation,
|
|
794
837
|
usePathname,
|
|
795
838
|
useRouter,
|
|
796
839
|
useSearchParams
|
|
797
840
|
} from "../chunk-PLJLE4A4.js";
|
|
841
|
+
import {
|
|
842
|
+
next_image_default
|
|
843
|
+
} from "../chunk-LXC6P2EO.js";
|
|
844
|
+
import "../chunk-EL5YVPD5.js";
|
|
798
845
|
import {
|
|
799
846
|
Button,
|
|
800
847
|
DropdownMenu,
|
|
@@ -3370,118 +3417,9 @@ import { jsx as jsx24, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
|
3370
3417
|
// src/components/index.ts
|
|
3371
3418
|
init_pagination();
|
|
3372
3419
|
|
|
3373
|
-
// src/components/persistent-filter-controls.tsx
|
|
3374
|
-
init_cn();
|
|
3375
|
-
import { jsx as jsx25, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
3376
|
-
function PersistentFilterControls({
|
|
3377
|
-
isLoading,
|
|
3378
|
-
children,
|
|
3379
|
-
className,
|
|
3380
|
-
disabledOpacity = 0.6,
|
|
3381
|
-
transitionDuration = 300,
|
|
3382
|
-
preventInteraction = true
|
|
3383
|
-
}) {
|
|
3384
|
-
return /* @__PURE__ */ jsxs19(
|
|
3385
|
-
"div",
|
|
3386
|
-
{
|
|
3387
|
-
className: cn(
|
|
3388
|
-
"relative transition-all ease-in-out",
|
|
3389
|
-
isLoading && preventInteraction && "pointer-events-none",
|
|
3390
|
-
className
|
|
3391
|
-
),
|
|
3392
|
-
style: {
|
|
3393
|
-
opacity: isLoading ? disabledOpacity : 1,
|
|
3394
|
-
transitionDuration: `${transitionDuration}ms`
|
|
3395
|
-
},
|
|
3396
|
-
role: "region",
|
|
3397
|
-
"aria-label": "Filter controls",
|
|
3398
|
-
"aria-busy": isLoading,
|
|
3399
|
-
"data-loading": isLoading,
|
|
3400
|
-
children: [
|
|
3401
|
-
isLoading && /* @__PURE__ */ jsx25(
|
|
3402
|
-
"div",
|
|
3403
|
-
{
|
|
3404
|
-
className: "sr-only",
|
|
3405
|
-
role: "status",
|
|
3406
|
-
"aria-live": "polite",
|
|
3407
|
-
children: "Filters temporarily disabled while loading content"
|
|
3408
|
-
}
|
|
3409
|
-
),
|
|
3410
|
-
/* @__PURE__ */ jsx25(
|
|
3411
|
-
"div",
|
|
3412
|
-
{
|
|
3413
|
-
className: cn(
|
|
3414
|
-
"transition-all ease-in-out",
|
|
3415
|
-
isLoading && "cursor-not-allowed"
|
|
3416
|
-
),
|
|
3417
|
-
style: {
|
|
3418
|
-
transitionDuration: `${transitionDuration}ms`
|
|
3419
|
-
},
|
|
3420
|
-
children
|
|
3421
|
-
}
|
|
3422
|
-
),
|
|
3423
|
-
isLoading && /* @__PURE__ */ jsx25(
|
|
3424
|
-
"div",
|
|
3425
|
-
{
|
|
3426
|
-
className: "absolute top-2 right-2 z-10",
|
|
3427
|
-
role: "status",
|
|
3428
|
-
"aria-label": "Loading filters",
|
|
3429
|
-
children: /* @__PURE__ */ jsx25("div", { className: "w-4 h-4 border-2 border-ods-border border-t-[#FFC008] rounded-full animate-spin" })
|
|
3430
|
-
}
|
|
3431
|
-
)
|
|
3432
|
-
]
|
|
3433
|
-
}
|
|
3434
|
-
);
|
|
3435
|
-
}
|
|
3436
|
-
function PersistentSearchContainer({
|
|
3437
|
-
isLoading,
|
|
3438
|
-
children,
|
|
3439
|
-
className
|
|
3440
|
-
}) {
|
|
3441
|
-
return /* @__PURE__ */ jsx25(
|
|
3442
|
-
PersistentFilterControls,
|
|
3443
|
-
{
|
|
3444
|
-
isLoading,
|
|
3445
|
-
preventInteraction: false,
|
|
3446
|
-
className,
|
|
3447
|
-
children
|
|
3448
|
-
}
|
|
3449
|
-
);
|
|
3450
|
-
}
|
|
3451
|
-
function PersistentSidebar({
|
|
3452
|
-
isLoading,
|
|
3453
|
-
children,
|
|
3454
|
-
className
|
|
3455
|
-
}) {
|
|
3456
|
-
return /* @__PURE__ */ jsx25(
|
|
3457
|
-
PersistentFilterControls,
|
|
3458
|
-
{
|
|
3459
|
-
isLoading,
|
|
3460
|
-
disabledOpacity: 0.5,
|
|
3461
|
-
className: cn("lg:sticky lg:top-20", className),
|
|
3462
|
-
children
|
|
3463
|
-
}
|
|
3464
|
-
);
|
|
3465
|
-
}
|
|
3466
|
-
function PersistentMobileDropdown({
|
|
3467
|
-
isLoading,
|
|
3468
|
-
children,
|
|
3469
|
-
className
|
|
3470
|
-
}) {
|
|
3471
|
-
return /* @__PURE__ */ jsx25(
|
|
3472
|
-
PersistentFilterControls,
|
|
3473
|
-
{
|
|
3474
|
-
isLoading,
|
|
3475
|
-
disabledOpacity: 0.7,
|
|
3476
|
-
className: cn("lg:hidden", className),
|
|
3477
|
-
children
|
|
3478
|
-
}
|
|
3479
|
-
);
|
|
3480
|
-
}
|
|
3481
|
-
|
|
3482
3420
|
// src/components/persistent-pagination.tsx
|
|
3483
3421
|
init_cn();
|
|
3484
|
-
import { jsx as
|
|
3422
|
+
import { jsx as jsx25, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
3485
3423
|
function PersistentPagination({
|
|
3486
3424
|
isLoading,
|
|
3487
3425
|
children,
|
|
@@ -3492,7 +3430,7 @@ function PersistentPagination({
|
|
|
3492
3430
|
transitionDuration = 300,
|
|
3493
3431
|
showLoadingState = true
|
|
3494
3432
|
}) {
|
|
3495
|
-
return /* @__PURE__ */
|
|
3433
|
+
return /* @__PURE__ */ jsxs19(
|
|
3496
3434
|
"div",
|
|
3497
3435
|
{
|
|
3498
3436
|
className: cn(
|
|
@@ -3510,7 +3448,7 @@ function PersistentPagination({
|
|
|
3510
3448
|
"aria-busy": isLoading,
|
|
3511
3449
|
"data-loading": isLoading,
|
|
3512
3450
|
children: [
|
|
3513
|
-
isLoading && /* @__PURE__ */
|
|
3451
|
+
isLoading && /* @__PURE__ */ jsxs19(
|
|
3514
3452
|
"div",
|
|
3515
3453
|
{
|
|
3516
3454
|
className: "sr-only",
|
|
@@ -3524,7 +3462,7 @@ function PersistentPagination({
|
|
|
3524
3462
|
]
|
|
3525
3463
|
}
|
|
3526
3464
|
),
|
|
3527
|
-
/* @__PURE__ */
|
|
3465
|
+
/* @__PURE__ */ jsx25(
|
|
3528
3466
|
"div",
|
|
3529
3467
|
{
|
|
3530
3468
|
className: cn(
|
|
@@ -3581,7 +3519,7 @@ function PersistentPaginationWrapper({
|
|
|
3581
3519
|
const isPaginationDisabled = isLoading;
|
|
3582
3520
|
const hasNoResults = !hasResults && !isLoading;
|
|
3583
3521
|
const PaginationComponent = (init_unified_pagination(), __toCommonJS(unified_pagination_exports)).UnifiedPagination;
|
|
3584
|
-
return /* @__PURE__ */
|
|
3522
|
+
return /* @__PURE__ */ jsxs19(
|
|
3585
3523
|
"div",
|
|
3586
3524
|
{
|
|
3587
3525
|
className: cn(
|
|
@@ -3599,7 +3537,7 @@ function PersistentPaginationWrapper({
|
|
|
3599
3537
|
"data-loading": isLoading,
|
|
3600
3538
|
"data-has-results": hasResults,
|
|
3601
3539
|
children: [
|
|
3602
|
-
(isLoading || !hasResults) && /* @__PURE__ */
|
|
3540
|
+
(isLoading || !hasResults) && /* @__PURE__ */ jsx25(
|
|
3603
3541
|
"div",
|
|
3604
3542
|
{
|
|
3605
3543
|
className: "sr-only",
|
|
@@ -3608,7 +3546,7 @@ function PersistentPaginationWrapper({
|
|
|
3608
3546
|
children: isLoading ? `Pagination temporarily disabled while loading page ${displayCurrentPage} of ${displayTotalPages}` : `No results available - pagination disabled`
|
|
3609
3547
|
}
|
|
3610
3548
|
),
|
|
3611
|
-
/* @__PURE__ */
|
|
3549
|
+
/* @__PURE__ */ jsx25(
|
|
3612
3550
|
"div",
|
|
3613
3551
|
{
|
|
3614
3552
|
className: cn(
|
|
@@ -3619,7 +3557,7 @@ function PersistentPaginationWrapper({
|
|
|
3619
3557
|
transitionDuration: "300ms"
|
|
3620
3558
|
},
|
|
3621
3559
|
"aria-hidden": isPaginationDisabled,
|
|
3622
|
-
children: /* @__PURE__ */
|
|
3560
|
+
children: /* @__PURE__ */ jsx25(
|
|
3623
3561
|
PaginationComponent,
|
|
3624
3562
|
{
|
|
3625
3563
|
currentPage: displayCurrentPage,
|
|
@@ -3636,7 +3574,7 @@ function PersistentPaginationWrapper({
|
|
|
3636
3574
|
}
|
|
3637
3575
|
|
|
3638
3576
|
// src/components/pricing-display.tsx
|
|
3639
|
-
import { jsx as
|
|
3577
|
+
import { jsx as jsx26, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
3640
3578
|
var PRICING_STYLES = {
|
|
3641
3579
|
// Comparison table style (current default)
|
|
3642
3580
|
comparison: {
|
|
@@ -3672,19 +3610,19 @@ function PricingDisplay({
|
|
|
3672
3610
|
styleConfig = PRICING_STYLES.comparison
|
|
3673
3611
|
}) {
|
|
3674
3612
|
if (typeof pricing === "string") {
|
|
3675
|
-
return /* @__PURE__ */
|
|
3613
|
+
return /* @__PURE__ */ jsx26(LegacyPricingDisplay, { pricing, className, styleConfig });
|
|
3676
3614
|
}
|
|
3677
3615
|
const pricingArray = Array.isArray(pricing) ? pricing : [pricing];
|
|
3678
3616
|
if (!pricingArray || pricingArray.length === 0) {
|
|
3679
|
-
return /* @__PURE__ */
|
|
3617
|
+
return /* @__PURE__ */ jsx26("span", { className: `${styleConfig.priceTextColor} ${styleConfig.priceTextSize} ${styleConfig.fontFamily} ${className}`, children: "No pricing data" });
|
|
3680
3618
|
}
|
|
3681
3619
|
if (pricingArray.length === 1) {
|
|
3682
3620
|
const item = pricingArray[0];
|
|
3683
3621
|
const price = item.ranges?.[0]?.min || 0;
|
|
3684
3622
|
const unit = item.ranges?.[0]?.unit;
|
|
3685
|
-
return /* @__PURE__ */
|
|
3686
|
-
/* @__PURE__ */
|
|
3687
|
-
unit && /* @__PURE__ */
|
|
3623
|
+
return /* @__PURE__ */ jsxs20("span", { className: `${styleConfig.fontFamily} ${className}`, children: [
|
|
3624
|
+
/* @__PURE__ */ jsx26("span", { className: `${styleConfig.priceTextColor} ${styleConfig.priceTextSize}`, children: formatPriceValue(price, styleConfig.showTildePrefix) }),
|
|
3625
|
+
unit && /* @__PURE__ */ jsxs20("span", { className: `${styleConfig.secondaryTextColor} ${styleConfig.secondaryTextSize}`, children: [
|
|
3688
3626
|
"/",
|
|
3689
3627
|
unit
|
|
3690
3628
|
] })
|
|
@@ -3692,9 +3630,9 @@ function PricingDisplay({
|
|
|
3692
3630
|
}
|
|
3693
3631
|
const priceValues = pricingArray.map((item) => formatPriceValue(item.ranges?.[0]?.min || 0, styleConfig.showTildePrefix));
|
|
3694
3632
|
const itemWithUnit = pricingArray.find((item) => item.ranges?.[0]?.unit);
|
|
3695
|
-
return /* @__PURE__ */
|
|
3696
|
-
/* @__PURE__ */
|
|
3697
|
-
itemWithUnit && itemWithUnit.ranges?.[0]?.unit && /* @__PURE__ */
|
|
3633
|
+
return /* @__PURE__ */ jsxs20("span", { className: `${styleConfig.fontFamily} ${className}`, children: [
|
|
3634
|
+
/* @__PURE__ */ jsx26("span", { className: `${styleConfig.priceTextColor} ${styleConfig.priceTextSize}`, children: priceValues.join(" | ") }),
|
|
3635
|
+
itemWithUnit && itemWithUnit.ranges?.[0]?.unit && /* @__PURE__ */ jsxs20("span", { className: `${styleConfig.secondaryTextColor} ${styleConfig.secondaryTextSize}`, children: [
|
|
3698
3636
|
"/",
|
|
3699
3637
|
itemWithUnit.ranges[0].unit
|
|
3700
3638
|
] })
|
|
@@ -3715,7 +3653,7 @@ function LegacyPricingDisplay({
|
|
|
3715
3653
|
styleConfig = PRICING_STYLES.comparison
|
|
3716
3654
|
}) {
|
|
3717
3655
|
if (pricing === "Free" || pricing === "No pricing data") {
|
|
3718
|
-
return /* @__PURE__ */
|
|
3656
|
+
return /* @__PURE__ */ jsx26("span", { className: `${styleConfig.priceTextColor} ${styleConfig.priceTextSize} ${styleConfig.fontFamily} ${className}`, children: pricing });
|
|
3719
3657
|
}
|
|
3720
3658
|
const parsePricing = (pricingStr) => {
|
|
3721
3659
|
if (pricingStr.includes(", ")) {
|
|
@@ -3771,9 +3709,9 @@ function LegacyPricingDisplay({
|
|
|
3771
3709
|
};
|
|
3772
3710
|
};
|
|
3773
3711
|
const { mainValue, secondaryInfo } = parsePricing(pricing);
|
|
3774
|
-
return /* @__PURE__ */
|
|
3775
|
-
/* @__PURE__ */
|
|
3776
|
-
secondaryInfo && /* @__PURE__ */
|
|
3712
|
+
return /* @__PURE__ */ jsxs20("span", { className: `${styleConfig.fontFamily} ${className}`, children: [
|
|
3713
|
+
/* @__PURE__ */ jsx26("span", { className: `${styleConfig.priceTextColor} ${styleConfig.priceTextSize}`, children: mainValue }),
|
|
3714
|
+
secondaryInfo && /* @__PURE__ */ jsx26("span", { className: `${styleConfig.secondaryTextColor} ${styleConfig.secondaryTextSize}`, children: secondaryInfo })
|
|
3777
3715
|
] });
|
|
3778
3716
|
}
|
|
3779
3717
|
function formatPricingForDisplay(pricing) {
|
|
@@ -3781,7 +3719,7 @@ function formatPricingForDisplay(pricing) {
|
|
|
3781
3719
|
}
|
|
3782
3720
|
|
|
3783
3721
|
// src/components/results-count.tsx
|
|
3784
|
-
import { Fragment as Fragment6, jsx as
|
|
3722
|
+
import { Fragment as Fragment6, jsx as jsx27, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
3785
3723
|
function ResultsCount({
|
|
3786
3724
|
currentPage,
|
|
3787
3725
|
pageSize,
|
|
@@ -3797,7 +3735,7 @@ function ResultsCount({
|
|
|
3797
3735
|
const plural = resultType === "vendors" ? "vendors" : "posts";
|
|
3798
3736
|
const singular = resultType === "vendors" ? "vendor" : "post";
|
|
3799
3737
|
const displayType = totalResults === 1 ? singular : plural;
|
|
3800
|
-
return /* @__PURE__ */
|
|
3738
|
+
return /* @__PURE__ */ jsx27("div", { className: "mb-6", children: /* @__PURE__ */ jsx27("p", { className: "text-ods-text-secondary text-sm font-['DM_Sans']", children: totalResults > 0 && /* @__PURE__ */ jsxs21(Fragment6, { children: [
|
|
3801
3739
|
"Showing ",
|
|
3802
3740
|
startIndex,
|
|
3803
3741
|
"-",
|
|
@@ -3806,7 +3744,7 @@ function ResultsCount({
|
|
|
3806
3744
|
totalResults,
|
|
3807
3745
|
" ",
|
|
3808
3746
|
displayType,
|
|
3809
|
-
sortingMessage && /* @__PURE__ */
|
|
3747
|
+
sortingMessage && /* @__PURE__ */ jsxs21("span", { className: "ml-2 text-ods-accent", children: [
|
|
3810
3748
|
"\u2022 ",
|
|
3811
3749
|
sortingMessage
|
|
3812
3750
|
] })
|
|
@@ -3816,7 +3754,7 @@ function ResultsCount({
|
|
|
3816
3754
|
// src/components/vendor-tag.tsx
|
|
3817
3755
|
init_cn();
|
|
3818
3756
|
import { Hand, Sparkles } from "lucide-react";
|
|
3819
|
-
import { jsx as
|
|
3757
|
+
import { jsx as jsx28, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
3820
3758
|
function VendorTag({
|
|
3821
3759
|
type,
|
|
3822
3760
|
text,
|
|
@@ -3835,89 +3773,89 @@ function VendorTag({
|
|
|
3835
3773
|
return {
|
|
3836
3774
|
text: "Placeholder",
|
|
3837
3775
|
textColor: "text-ods-text-primary",
|
|
3838
|
-
icon: /* @__PURE__ */
|
|
3776
|
+
icon: /* @__PURE__ */ jsx28("div", { className: "w-4 h-4 rounded-sm flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsx28(Sparkles, { width: 10, height: 10, className: "text-ods-text-primary" }) })
|
|
3839
3777
|
};
|
|
3840
3778
|
case "ai":
|
|
3841
3779
|
return {
|
|
3842
3780
|
text: "AI Selected",
|
|
3843
3781
|
textColor: "text-ods-text-primary",
|
|
3844
|
-
icon: /* @__PURE__ */
|
|
3782
|
+
icon: /* @__PURE__ */ jsx28("div", { className: "w-4 h-4 rounded-sm flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsx28(Sparkles, { width: 10, height: 10, className: "text-ods-text-primary" }) })
|
|
3845
3783
|
};
|
|
3846
3784
|
case "manual":
|
|
3847
3785
|
return {
|
|
3848
3786
|
text: "Manually Selected",
|
|
3849
3787
|
textColor: "text-ods-text-secondary",
|
|
3850
|
-
icon: /* @__PURE__ */
|
|
3788
|
+
icon: /* @__PURE__ */ jsx28("div", { className: "w-4 h-4 rounded-sm flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsx28(Hand, { width: 10, height: 10, className: "text-ods-text-secondary" }) })
|
|
3851
3789
|
};
|
|
3852
3790
|
case "open-source":
|
|
3853
3791
|
return {
|
|
3854
3792
|
text: text || "Open Source",
|
|
3855
|
-
icon: /* @__PURE__ */
|
|
3793
|
+
icon: /* @__PURE__ */ jsx28(
|
|
3856
3794
|
"div",
|
|
3857
3795
|
{
|
|
3858
3796
|
className: "w-4 h-4 bg-ods-accent rounded-sm flex items-center justify-center flex-shrink-0",
|
|
3859
3797
|
style: accentColor ? { backgroundColor: accentColor } : void 0,
|
|
3860
|
-
children: /* @__PURE__ */
|
|
3798
|
+
children: /* @__PURE__ */ jsx28(OpenSourceIcon2, { width: 10, height: 10, className: "text-[#1A1A1A]" })
|
|
3861
3799
|
}
|
|
3862
3800
|
)
|
|
3863
3801
|
};
|
|
3864
3802
|
case "commercial":
|
|
3865
3803
|
return {
|
|
3866
3804
|
text: text || "Commercial Vendor",
|
|
3867
|
-
icon: /* @__PURE__ */
|
|
3805
|
+
icon: /* @__PURE__ */ jsx28("div", { className: "w-4 h-4 bg-ods-border rounded-sm flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsx28(CoinsIcon2, { width: 10, height: 10, className: "text-ods-text-secondary" }) })
|
|
3868
3806
|
};
|
|
3869
3807
|
case "free":
|
|
3870
3808
|
return {
|
|
3871
3809
|
text: text || "Free",
|
|
3872
|
-
icon: /* @__PURE__ */
|
|
3810
|
+
icon: /* @__PURE__ */ jsx28("div", { className: "w-4 h-4 bg-ods-accent rounded-sm flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsx28("span", { className: "text-[#1A1A1A] text-[8px] font-bold", children: "$" }) })
|
|
3873
3811
|
};
|
|
3874
3812
|
case "freemium":
|
|
3875
3813
|
return {
|
|
3876
3814
|
text: text || "Freemium",
|
|
3877
|
-
icon: /* @__PURE__ */
|
|
3815
|
+
icon: /* @__PURE__ */ jsx28("div", { className: "w-4 h-4 bg-ods-accent rounded-sm flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsx28("span", { className: "text-[#1A1A1A] text-[8px] font-bold", children: "$" }) })
|
|
3878
3816
|
};
|
|
3879
3817
|
case "paid":
|
|
3880
3818
|
return {
|
|
3881
3819
|
text: text || "Paid",
|
|
3882
|
-
icon: /* @__PURE__ */
|
|
3820
|
+
icon: /* @__PURE__ */ jsx28("div", { className: "w-4 h-4 bg-ods-border rounded-sm flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsx28(CoinsIcon2, { width: 10, height: 10, className: "text-ods-text-secondary" }) })
|
|
3883
3821
|
};
|
|
3884
3822
|
case "enterprise":
|
|
3885
3823
|
return {
|
|
3886
3824
|
text: text || "Enterprise",
|
|
3887
|
-
icon: /* @__PURE__ */
|
|
3825
|
+
icon: /* @__PURE__ */ jsx28("div", { className: "w-4 h-4 bg-ods-accent rounded-sm flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsx28("span", { className: "text-[#1A1A1A] text-[8px] font-bold", children: "E" }) })
|
|
3888
3826
|
};
|
|
3889
3827
|
case "recommended":
|
|
3890
3828
|
return {
|
|
3891
3829
|
text: text || "Recommended",
|
|
3892
|
-
icon: /* @__PURE__ */
|
|
3830
|
+
icon: /* @__PURE__ */ jsx28("div", { className: "w-4 h-4 bg-ods-accent rounded-sm flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsx28("span", { className: "text-[#1A1A1A] text-[8px] font-bold", children: "\u2605" }) })
|
|
3893
3831
|
};
|
|
3894
3832
|
case "classification":
|
|
3895
3833
|
const classificationType = text?.toLowerCase();
|
|
3896
3834
|
if (classificationType === "open_source") {
|
|
3897
3835
|
return {
|
|
3898
3836
|
text: "Open Source",
|
|
3899
|
-
icon: /* @__PURE__ */
|
|
3837
|
+
icon: /* @__PURE__ */ jsx28("div", { className: "w-4 h-4 bg-ods-accent rounded-sm flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsx28(OpenSourceIcon2, { width: 10, height: 10, className: "text-[#1A1A1A]" }) })
|
|
3900
3838
|
};
|
|
3901
3839
|
} else if (classificationType === "commercial") {
|
|
3902
3840
|
return {
|
|
3903
3841
|
text: "Commercial Vendor",
|
|
3904
|
-
icon: /* @__PURE__ */
|
|
3842
|
+
icon: /* @__PURE__ */ jsx28("div", { className: "w-4 h-4 bg-ods-border rounded-sm flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsx28(CoinsIcon2, { width: 10, height: 10, className: "text-ods-text-secondary" }) })
|
|
3905
3843
|
};
|
|
3906
3844
|
} else if (classificationType === "openframe_selected") {
|
|
3907
3845
|
return {
|
|
3908
3846
|
text: "OpenFrame Selected",
|
|
3909
|
-
icon: /* @__PURE__ */
|
|
3847
|
+
icon: /* @__PURE__ */ jsx28(OpenFrameLogo2, { lowerPathColor: "currentColor", upperPathColor: "currentColor", className: "h-4 w-4 text-ods-accent" })
|
|
3910
3848
|
};
|
|
3911
3849
|
} else {
|
|
3912
3850
|
return {
|
|
3913
3851
|
text: text || "Classification",
|
|
3914
|
-
icon: /* @__PURE__ */
|
|
3852
|
+
icon: /* @__PURE__ */ jsx28("div", { className: "w-4 h-4 bg-ods-accent rounded-sm flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsx28("span", { className: "text-[#1A1A1A] text-[8px] font-bold", children: "C" }) })
|
|
3915
3853
|
};
|
|
3916
3854
|
}
|
|
3917
3855
|
case "openframe_selected":
|
|
3918
3856
|
return {
|
|
3919
3857
|
text: text || "OpenFrame Selected",
|
|
3920
|
-
icon: /* @__PURE__ */
|
|
3858
|
+
icon: /* @__PURE__ */ jsx28(OpenFrameLogo2, { lowerPathColor: "currentColor", upperPathColor: "currentColor", className: "h-4 w-4 text-ods-accent" })
|
|
3921
3859
|
};
|
|
3922
3860
|
default:
|
|
3923
3861
|
return {
|
|
@@ -3927,9 +3865,9 @@ function VendorTag({
|
|
|
3927
3865
|
}
|
|
3928
3866
|
};
|
|
3929
3867
|
const { text: displayText, icon, textColor } = getTagContent();
|
|
3930
|
-
return /* @__PURE__ */
|
|
3868
|
+
return /* @__PURE__ */ jsxs22("div", { className: cn(baseClasses, className, hidden && "invisible"), children: [
|
|
3931
3869
|
icon,
|
|
3932
|
-
/* @__PURE__ */
|
|
3870
|
+
/* @__PURE__ */ jsx28("span", { className: cn(
|
|
3933
3871
|
"font-mono font-semibold uppercase",
|
|
3934
3872
|
textColor ? textColor : "text-ods-text-primary",
|
|
3935
3873
|
size === "sm" ? "text-[10px]" : "text-xs"
|
|
@@ -3938,12 +3876,12 @@ function VendorTag({
|
|
|
3938
3876
|
}
|
|
3939
3877
|
|
|
3940
3878
|
// src/components/selection-source-badge.tsx
|
|
3941
|
-
import { jsx as
|
|
3879
|
+
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
3942
3880
|
function SelectionSourceBadge({ source, hidden = false }) {
|
|
3943
3881
|
if (!source) {
|
|
3944
3882
|
return null;
|
|
3945
3883
|
}
|
|
3946
|
-
return /* @__PURE__ */
|
|
3884
|
+
return /* @__PURE__ */ jsx29(
|
|
3947
3885
|
VendorTag,
|
|
3948
3886
|
{
|
|
3949
3887
|
type: source?.toLowerCase(),
|
|
@@ -3956,848 +3894,26 @@ function SelectionSourceBadge({ source, hidden = false }) {
|
|
|
3956
3894
|
|
|
3957
3895
|
// src/components/user-display.tsx
|
|
3958
3896
|
init_cn();
|
|
3959
|
-
import { jsx as
|
|
3897
|
+
import { jsx as jsx30, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
3960
3898
|
function UserDisplay({ name, avatarUrl, subtitle, size = 32, className }) {
|
|
3961
|
-
return /* @__PURE__ */
|
|
3962
|
-
/* @__PURE__ */
|
|
3963
|
-
/* @__PURE__ */
|
|
3964
|
-
/* @__PURE__ */
|
|
3965
|
-
subtitle && /* @__PURE__ */
|
|
3966
|
-
] })
|
|
3967
|
-
] });
|
|
3968
|
-
}
|
|
3969
|
-
|
|
3970
|
-
// src/components/loading/page-layout-skeleton.tsx
|
|
3971
|
-
init_cn();
|
|
3972
|
-
|
|
3973
|
-
// src/components/loading/unified-skeleton.tsx
|
|
3974
|
-
init_cn();
|
|
3975
|
-
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
3976
|
-
function UnifiedSkeleton({
|
|
3977
|
-
className,
|
|
3978
|
-
variant = "default",
|
|
3979
|
-
width,
|
|
3980
|
-
height,
|
|
3981
|
-
animate = true,
|
|
3982
|
-
"aria-label": ariaLabel,
|
|
3983
|
-
...props
|
|
3984
|
-
}) {
|
|
3985
|
-
const baseClasses = "bg-[#2A2A2A]";
|
|
3986
|
-
const variantClasses = {
|
|
3987
|
-
default: "rounded-md",
|
|
3988
|
-
text: "rounded-sm",
|
|
3989
|
-
circular: "rounded-full",
|
|
3990
|
-
rectangular: "rounded-none"
|
|
3991
|
-
};
|
|
3992
|
-
const defaultHeights = {
|
|
3993
|
-
default: "h-4",
|
|
3994
|
-
text: "h-4",
|
|
3995
|
-
circular: "h-12 w-12",
|
|
3996
|
-
rectangular: "h-4"
|
|
3997
|
-
};
|
|
3998
|
-
const animationClasses = animate ? "animate-pulse motion-reduce:animate-none" : "";
|
|
3999
|
-
const style = {
|
|
4000
|
-
width,
|
|
4001
|
-
height
|
|
4002
|
-
};
|
|
4003
|
-
return /* @__PURE__ */ jsx32(
|
|
4004
|
-
"div",
|
|
4005
|
-
{
|
|
4006
|
-
className: cn(
|
|
4007
|
-
baseClasses,
|
|
4008
|
-
variantClasses[variant],
|
|
4009
|
-
!height && !style.height && defaultHeights[variant],
|
|
4010
|
-
!width && !style.width && variant !== "circular" && "w-full",
|
|
4011
|
-
animationClasses,
|
|
4012
|
-
className
|
|
4013
|
-
),
|
|
4014
|
-
style,
|
|
4015
|
-
role: "status",
|
|
4016
|
-
"aria-label": ariaLabel || "Loading content",
|
|
4017
|
-
...props
|
|
4018
|
-
}
|
|
4019
|
-
);
|
|
4020
|
-
}
|
|
4021
|
-
var TextSkeleton = {
|
|
4022
|
-
/**
|
|
4023
|
-
* Large heading skeleton (h1, h2)
|
|
4024
|
-
*/
|
|
4025
|
-
Heading: ({ className, ...props }) => /* @__PURE__ */ jsx32(
|
|
4026
|
-
UnifiedSkeleton,
|
|
4027
|
-
{
|
|
4028
|
-
variant: "text",
|
|
4029
|
-
className: cn("h-8 md:h-10 lg:h-12", className),
|
|
4030
|
-
"aria-label": "Loading heading",
|
|
4031
|
-
...props
|
|
4032
|
-
}
|
|
4033
|
-
),
|
|
4034
|
-
/**
|
|
4035
|
-
* Medium heading skeleton (h3, h4)
|
|
4036
|
-
*/
|
|
4037
|
-
Subheading: ({ className, ...props }) => /* @__PURE__ */ jsx32(
|
|
4038
|
-
UnifiedSkeleton,
|
|
4039
|
-
{
|
|
4040
|
-
variant: "text",
|
|
4041
|
-
className: cn("h-6 md:h-7 lg:h-8", className),
|
|
4042
|
-
"aria-label": "Loading subheading",
|
|
4043
|
-
...props
|
|
4044
|
-
}
|
|
4045
|
-
),
|
|
4046
|
-
/**
|
|
4047
|
-
* Body text skeleton
|
|
4048
|
-
*/
|
|
4049
|
-
Body: ({ className, ...props }) => /* @__PURE__ */ jsx32(
|
|
4050
|
-
UnifiedSkeleton,
|
|
4051
|
-
{
|
|
4052
|
-
variant: "text",
|
|
4053
|
-
className: cn("h-4 md:h-5", className),
|
|
4054
|
-
"aria-label": "Loading text",
|
|
4055
|
-
...props
|
|
4056
|
-
}
|
|
4057
|
-
),
|
|
4058
|
-
/**
|
|
4059
|
-
* Small text skeleton (captions, metadata)
|
|
4060
|
-
*/
|
|
4061
|
-
Caption: ({ className, ...props }) => /* @__PURE__ */ jsx32(
|
|
4062
|
-
UnifiedSkeleton,
|
|
4063
|
-
{
|
|
4064
|
-
variant: "text",
|
|
4065
|
-
className: cn("h-3 md:h-4", className),
|
|
4066
|
-
"aria-label": "Loading caption",
|
|
4067
|
-
...props
|
|
4068
|
-
}
|
|
4069
|
-
)
|
|
4070
|
-
};
|
|
4071
|
-
var InteractiveSkeleton = {
|
|
4072
|
-
/**
|
|
4073
|
-
* Button skeleton with proper touch targets
|
|
4074
|
-
*/
|
|
4075
|
-
Button: ({ className, ...props }) => /* @__PURE__ */ jsx32(
|
|
4076
|
-
UnifiedSkeleton,
|
|
4077
|
-
{
|
|
4078
|
-
variant: "default",
|
|
4079
|
-
className: cn("h-10 md:h-12 w-32 md:w-40", className),
|
|
4080
|
-
"aria-label": "Loading button",
|
|
4081
|
-
...props
|
|
4082
|
-
}
|
|
4083
|
-
),
|
|
4084
|
-
/**
|
|
4085
|
-
* Input field skeleton
|
|
4086
|
-
*/
|
|
4087
|
-
Input: ({ className, ...props }) => /* @__PURE__ */ jsx32(
|
|
4088
|
-
UnifiedSkeleton,
|
|
4089
|
-
{
|
|
4090
|
-
variant: "default",
|
|
4091
|
-
className: cn("h-10 md:h-12 w-full", className),
|
|
4092
|
-
"aria-label": "Loading input field",
|
|
4093
|
-
...props
|
|
4094
|
-
}
|
|
4095
|
-
),
|
|
4096
|
-
/**
|
|
4097
|
-
* Filter chip skeleton
|
|
4098
|
-
*/
|
|
4099
|
-
Chip: ({ className, ...props }) => /* @__PURE__ */ jsx32(
|
|
4100
|
-
UnifiedSkeleton,
|
|
4101
|
-
{
|
|
4102
|
-
variant: "default",
|
|
4103
|
-
className: cn("h-8 w-20 rounded-full", className),
|
|
4104
|
-
"aria-label": "Loading filter",
|
|
4105
|
-
...props
|
|
4106
|
-
}
|
|
4107
|
-
)
|
|
4108
|
-
};
|
|
4109
|
-
var MediaSkeleton = {
|
|
4110
|
-
/**
|
|
4111
|
-
* Avatar/profile image skeleton
|
|
4112
|
-
*/
|
|
4113
|
-
Avatar: ({ size = "md", className, ...props }) => {
|
|
4114
|
-
const sizeClasses3 = {
|
|
4115
|
-
sm: "h-8 w-8",
|
|
4116
|
-
md: "h-12 w-12",
|
|
4117
|
-
lg: "h-16 w-16"
|
|
4118
|
-
};
|
|
4119
|
-
return /* @__PURE__ */ jsx32(
|
|
4120
|
-
UnifiedSkeleton,
|
|
4121
|
-
{
|
|
4122
|
-
variant: "circular",
|
|
4123
|
-
className: cn(sizeClasses3[size], className),
|
|
4124
|
-
"aria-label": "Loading profile image",
|
|
4125
|
-
...props
|
|
4126
|
-
}
|
|
4127
|
-
);
|
|
4128
|
-
},
|
|
4129
|
-
/**
|
|
4130
|
-
* Card image skeleton (1200×630 OG aspect — matches entity-cards default
|
|
4131
|
-
* so loading state never causes a height shift when card data arrives)
|
|
4132
|
-
*/
|
|
4133
|
-
CardImage: ({ className, ...props }) => /* @__PURE__ */ jsx32(
|
|
4134
|
-
UnifiedSkeleton,
|
|
4135
|
-
{
|
|
4136
|
-
variant: "default",
|
|
4137
|
-
className: cn("aspect-[1200/630] w-full", className),
|
|
4138
|
-
"aria-label": "Loading image",
|
|
4139
|
-
...props
|
|
4140
|
-
}
|
|
4141
|
-
),
|
|
4142
|
-
/**
|
|
4143
|
-
* Icon skeleton
|
|
4144
|
-
*/
|
|
4145
|
-
Icon: ({ size = "md", className, ...props }) => {
|
|
4146
|
-
const sizeClasses3 = {
|
|
4147
|
-
sm: "h-4 w-4",
|
|
4148
|
-
md: "h-6 w-6",
|
|
4149
|
-
lg: "h-8 w-8"
|
|
4150
|
-
};
|
|
4151
|
-
return /* @__PURE__ */ jsx32(
|
|
4152
|
-
UnifiedSkeleton,
|
|
4153
|
-
{
|
|
4154
|
-
variant: "default",
|
|
4155
|
-
className: cn(sizeClasses3[size], className),
|
|
4156
|
-
"aria-label": "Loading icon",
|
|
4157
|
-
...props
|
|
4158
|
-
}
|
|
4159
|
-
);
|
|
4160
|
-
}
|
|
4161
|
-
};
|
|
4162
|
-
|
|
4163
|
-
// src/components/loading/card-skeleton.tsx
|
|
4164
|
-
init_cn();
|
|
4165
|
-
import { Fragment as Fragment7, jsx as jsx33, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
4166
|
-
function CardSkeleton({
|
|
4167
|
-
className,
|
|
4168
|
-
containerClassName,
|
|
4169
|
-
variant = "vendor",
|
|
4170
|
-
showActions = true,
|
|
4171
|
-
showMetadata = true,
|
|
4172
|
-
...props
|
|
4173
|
-
}) {
|
|
4174
|
-
const cardContent = {
|
|
4175
|
-
vendor: /* @__PURE__ */ jsx33(VendorCardContent, { showActions, showMetadata }),
|
|
4176
|
-
blog: /* @__PURE__ */ jsx33(BlogCardContent, { showActions, showMetadata }),
|
|
4177
|
-
category: /* @__PURE__ */ jsx33(CategoryCardContent, {}),
|
|
4178
|
-
alternative: /* @__PURE__ */ jsx33(AlternativeCardContent, { showActions })
|
|
4179
|
-
};
|
|
4180
|
-
return /* @__PURE__ */ jsx33(
|
|
4181
|
-
"div",
|
|
4182
|
-
{
|
|
4183
|
-
className: cn(
|
|
4184
|
-
containerClassName || "bg-ods-card border border-ods-border",
|
|
4185
|
-
"rounded-lg overflow-hidden",
|
|
4186
|
-
// Flex layouts for certain variants
|
|
4187
|
-
variant === "blog" && "h-full flex flex-col",
|
|
4188
|
-
variant === "vendor" && "h-full flex flex-col",
|
|
4189
|
-
className
|
|
4190
|
-
),
|
|
4191
|
-
role: "status",
|
|
4192
|
-
"aria-label": `Loading ${variant} card`,
|
|
4193
|
-
...props,
|
|
4194
|
-
children: cardContent[variant]
|
|
4195
|
-
}
|
|
4196
|
-
);
|
|
4197
|
-
}
|
|
4198
|
-
function VendorCardContent({ showActions, showMetadata }) {
|
|
4199
|
-
return /* @__PURE__ */ jsxs25("div", { className: "p-4 gap-3 flex flex-col", children: [
|
|
4200
|
-
/* @__PURE__ */ jsxs25("div", { className: "flex items-start gap-3 w-full", children: [
|
|
4201
|
-
/* @__PURE__ */ jsx33("div", { className: "w-[60px] h-[60px] bg-ods-bg border border-ods-border rounded-lg p-2 flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsx33(MediaSkeleton.Avatar, { size: "sm", className: "w-11 h-11" }) }),
|
|
4202
|
-
/* @__PURE__ */ jsxs25("div", { className: "flex-1 flex flex-col justify-center py-2 min-w-0 space-y-1", children: [
|
|
4203
|
-
/* @__PURE__ */ jsx33(TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
4204
|
-
/* @__PURE__ */ jsx33(TextSkeleton.Caption, { className: "w-1/2" })
|
|
4205
|
-
] })
|
|
4206
|
-
] }),
|
|
4207
|
-
/* @__PURE__ */ jsx33("div", { className: "w-full h-12 overflow-hidden flex items-center", children: /* @__PURE__ */ jsxs25("div", { className: "space-y-1 w-full", children: [
|
|
4208
|
-
/* @__PURE__ */ jsx33(TextSkeleton.Body, { className: "w-full" }),
|
|
4209
|
-
/* @__PURE__ */ jsx33(TextSkeleton.Body, { className: "w-2/3" })
|
|
4210
|
-
] }) }),
|
|
4211
|
-
/* @__PURE__ */ jsxs25("div", { className: "flex items-center justify-between gap-2 w-full min-w-0", children: [
|
|
4212
|
-
/* @__PURE__ */ jsxs25("div", { className: "flex items-center gap-3 md:gap-4 min-w-0 flex-shrink", children: [
|
|
4213
|
-
/* @__PURE__ */ jsxs25("div", { className: "flex items-center gap-1 flex-shrink-0", children: [
|
|
4214
|
-
/* @__PURE__ */ jsx33(MediaSkeleton.Icon, { size: "sm", className: "w-5 h-5" }),
|
|
4215
|
-
/* @__PURE__ */ jsx33(TextSkeleton.Caption, { className: "w-8" })
|
|
4216
|
-
] }),
|
|
4217
|
-
/* @__PURE__ */ jsxs25("div", { className: "flex items-center gap-1 flex-shrink-0", children: [
|
|
4218
|
-
/* @__PURE__ */ jsx33(MediaSkeleton.Icon, { size: "sm", className: "w-5 h-5" }),
|
|
4219
|
-
/* @__PURE__ */ jsx33(TextSkeleton.Caption, { className: "w-10" })
|
|
4220
|
-
] })
|
|
4221
|
-
] }),
|
|
4222
|
-
/* @__PURE__ */ jsx33("div", { className: "flex-shrink-0", children: /* @__PURE__ */ jsxs25("div", { className: "flex items-center gap-1.5 bg-ods-bg border border-ods-border rounded px-2.5 py-1.5", children: [
|
|
4223
|
-
/* @__PURE__ */ jsx33("div", { className: "w-4 h-4 bg-ods-border rounded-sm flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsx33(MediaSkeleton.Icon, { size: "sm", className: "w-2.5 h-2.5" }) }),
|
|
4224
|
-
/* @__PURE__ */ jsx33(TextSkeleton.Caption, { className: "w-16" })
|
|
4225
|
-
] }) })
|
|
4226
|
-
] })
|
|
4227
|
-
] });
|
|
4228
|
-
}
|
|
4229
|
-
function BlogCardContent({ showActions, showMetadata }) {
|
|
4230
|
-
return /* @__PURE__ */ jsxs25(Fragment7, { children: [
|
|
4231
|
-
/* @__PURE__ */ jsx33("div", { className: "blog-card-image-container relative w-full aspect-[1200/630] overflow-hidden bg-ods-bg", children: /* @__PURE__ */ jsx33(MediaSkeleton.CardImage, {}) }),
|
|
4232
|
-
/* @__PURE__ */ jsxs25("div", { className: "p-4 flex flex-col flex-grow", children: [
|
|
4233
|
-
/* @__PURE__ */ jsx33("div", { className: "mb-3 flex items-center min-h-[50.4px] md:min-h-[56px] lg:min-h-[61.6px]", children: /* @__PURE__ */ jsxs25("div", { className: "space-y-1 w-full", children: [
|
|
4234
|
-
/* @__PURE__ */ jsx33(TextSkeleton.Subheading, { className: "w-full" }),
|
|
4235
|
-
/* @__PURE__ */ jsx33(TextSkeleton.Subheading, { className: "w-3/4" })
|
|
4236
|
-
] }) }),
|
|
4237
|
-
/* @__PURE__ */ jsxs25("div", { className: "mb-3 flex gap-2 h-[28px] items-center", children: [
|
|
4238
|
-
/* @__PURE__ */ jsx33(InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
4239
|
-
/* @__PURE__ */ jsx33(InteractiveSkeleton.Chip, { className: "w-12" })
|
|
4240
|
-
] }),
|
|
4241
|
-
/* @__PURE__ */ jsx33("div", { className: "mb-3 flex items-center min-h-[42px] md:min-h-[45px] lg:min-h-[48px]", children: /* @__PURE__ */ jsxs25("div", { className: "space-y-1 w-full", children: [
|
|
4242
|
-
/* @__PURE__ */ jsx33(TextSkeleton.Body, { className: "w-full" }),
|
|
4243
|
-
/* @__PURE__ */ jsx33(TextSkeleton.Body, { className: "w-1/2" })
|
|
4244
|
-
] }) }),
|
|
4245
|
-
showActions && /* @__PURE__ */ jsx33("div", { className: "pt-2", children: /* @__PURE__ */ jsx33(InteractiveSkeleton.Button, { className: "w-24 h-8" }) }),
|
|
4246
|
-
showMetadata && /* @__PURE__ */ jsx33("div", { className: "mt-auto", children: /* @__PURE__ */ jsxs25("div", { className: "flex items-center justify-between gap-4 pt-4 border-t border-ods-border", children: [
|
|
4247
|
-
/* @__PURE__ */ jsxs25("div", { className: "flex items-center gap-2 min-w-0 flex-1", children: [
|
|
4248
|
-
/* @__PURE__ */ jsx33(MediaSkeleton.Avatar, { size: "sm" }),
|
|
4249
|
-
/* @__PURE__ */ jsx33(TextSkeleton.Caption, { className: "w-16" })
|
|
4250
|
-
] }),
|
|
4251
|
-
/* @__PURE__ */ jsxs25("div", { className: "flex items-center gap-3 text-[#767676] shrink-0", children: [
|
|
4252
|
-
/* @__PURE__ */ jsx33(TextSkeleton.Caption, { className: "w-12" }),
|
|
4253
|
-
/* @__PURE__ */ jsx33("div", { className: "w-1 h-1 bg-[#767676] rounded-full" }),
|
|
4254
|
-
/* @__PURE__ */ jsx33(TextSkeleton.Caption, { className: "w-16" })
|
|
4255
|
-
] })
|
|
4256
|
-
] }) })
|
|
4257
|
-
] })
|
|
4258
|
-
] });
|
|
4259
|
-
}
|
|
4260
|
-
function CategoryCardContent() {
|
|
4261
|
-
return /* @__PURE__ */ jsxs25("div", { className: "p-4 md:p-6 space-y-4", children: [
|
|
4262
|
-
/* @__PURE__ */ jsx33("div", { className: "flex gap-2 md:gap-3", children: Array.from({ length: 6 }).map((_, index) => /* @__PURE__ */ jsx33(
|
|
4263
|
-
MediaSkeleton.Icon,
|
|
4264
|
-
{
|
|
4265
|
-
size: "lg",
|
|
4266
|
-
className: "flex-shrink-0"
|
|
4267
|
-
},
|
|
4268
|
-
index
|
|
4269
|
-
)) }),
|
|
4270
|
-
/* @__PURE__ */ jsxs25("div", { className: "space-y-2", children: [
|
|
4271
|
-
/* @__PURE__ */ jsxs25("div", { className: "space-y-1", children: [
|
|
4272
|
-
/* @__PURE__ */ jsx33(TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
4273
|
-
/* @__PURE__ */ jsx33(TextSkeleton.Caption, { className: "w-1/2" })
|
|
4274
|
-
] }),
|
|
4275
|
-
/* @__PURE__ */ jsxs25("div", { className: "flex items-start md:items-end justify-between gap-4 md:gap-6", children: [
|
|
4276
|
-
/* @__PURE__ */ jsxs25("div", { className: "flex-1 space-y-2", children: [
|
|
4277
|
-
/* @__PURE__ */ jsx33(TextSkeleton.Body, { className: "w-full" }),
|
|
4278
|
-
/* @__PURE__ */ jsx33(TextSkeleton.Body, { className: "w-2/3" })
|
|
4279
|
-
] }),
|
|
4280
|
-
/* @__PURE__ */ jsx33(InteractiveSkeleton.Button, { className: "w-10 h-10 md:w-12 md:h-12 flex-shrink-0" })
|
|
4281
|
-
] })
|
|
4282
|
-
] })
|
|
4283
|
-
] });
|
|
4284
|
-
}
|
|
4285
|
-
function AlternativeCardContent({ showActions }) {
|
|
4286
|
-
return /* @__PURE__ */ jsxs25("div", { className: "flex items-start gap-4 p-4", children: [
|
|
4287
|
-
/* @__PURE__ */ jsx33(MediaSkeleton.Avatar, { size: "md", className: "flex-shrink-0" }),
|
|
4288
|
-
/* @__PURE__ */ jsxs25("div", { className: "flex-1 space-y-2", children: [
|
|
4289
|
-
/* @__PURE__ */ jsxs25("div", { className: "flex items-center justify-between", children: [
|
|
4290
|
-
/* @__PURE__ */ jsx33(TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
4291
|
-
/* @__PURE__ */ jsx33(TextSkeleton.Caption, { className: "w-16" })
|
|
4292
|
-
] }),
|
|
4293
|
-
/* @__PURE__ */ jsxs25("div", { className: "space-y-1", children: [
|
|
4294
|
-
/* @__PURE__ */ jsx33(TextSkeleton.Body, { className: "w-full" }),
|
|
4295
|
-
/* @__PURE__ */ jsx33(TextSkeleton.Body, { className: "w-5/6" })
|
|
4296
|
-
] }),
|
|
4297
|
-
showActions && /* @__PURE__ */ jsx33("div", { className: "pt-2", children: /* @__PURE__ */ jsx33(InteractiveSkeleton.Button, { className: "w-20 h-8" }) })
|
|
4298
|
-
] })
|
|
4299
|
-
] });
|
|
4300
|
-
}
|
|
4301
|
-
function CardSkeletonGrid({
|
|
4302
|
-
count = 6,
|
|
4303
|
-
variant = "vendor",
|
|
4304
|
-
className,
|
|
4305
|
-
containerClassName,
|
|
4306
|
-
...props
|
|
4307
|
-
}) {
|
|
4308
|
-
return /* @__PURE__ */ jsx33(
|
|
4309
|
-
"div",
|
|
4310
|
-
{
|
|
4311
|
-
className: cn(
|
|
4312
|
-
"grid gap-4 md:gap-6",
|
|
4313
|
-
// Responsive grid based on card type
|
|
4314
|
-
variant === "vendor" && "grid-cols-1 md:grid-cols-2 lg:grid-cols-3",
|
|
4315
|
-
variant === "blog" && "grid-cols-1 md:grid-cols-2",
|
|
4316
|
-
variant === "category" && "grid-cols-1 md:grid-cols-2 lg:grid-cols-4",
|
|
4317
|
-
variant === "alternative" && "grid-cols-1",
|
|
4318
|
-
className
|
|
4319
|
-
),
|
|
4320
|
-
role: "status",
|
|
4321
|
-
"aria-label": `Loading ${count} ${variant} cards`,
|
|
4322
|
-
children: Array.from({ length: count }, (_, index) => /* @__PURE__ */ jsx33(
|
|
4323
|
-
CardSkeleton,
|
|
4324
|
-
{
|
|
4325
|
-
variant,
|
|
4326
|
-
containerClassName,
|
|
4327
|
-
...props
|
|
4328
|
-
},
|
|
4329
|
-
index
|
|
4330
|
-
))
|
|
4331
|
-
}
|
|
4332
|
-
);
|
|
4333
|
-
}
|
|
4334
|
-
|
|
4335
|
-
// src/components/loading/page-layout-skeleton.tsx
|
|
4336
|
-
import { Fragment as Fragment8, jsx as jsx34, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
4337
|
-
function AnnouncementBarSkeleton() {
|
|
4338
|
-
return /* @__PURE__ */ jsx34("div", { className: "bg-[#2A2A2A] relative w-full animate-pulse", children: /* @__PURE__ */ jsx34("div", { className: "flex flex-row items-center relative w-full", children: /* @__PURE__ */ jsxs26("div", { className: "box-border flex flex-row gap-4 md:gap-6 items-center justify-start pl-4 md:pl-6 pr-12 md:pr-16 py-3 md:py-4 relative w-full", children: [
|
|
4339
|
-
/* @__PURE__ */ jsx34("div", { className: "relative shrink-0 w-6 h-6 md:w-8 md:h-8 bg-ods-border rounded" }),
|
|
4340
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex-1 min-w-0 space-y-1 md:space-y-2", children: [
|
|
4341
|
-
/* @__PURE__ */ jsx34("div", { className: "h-[14px] md:h-[18px] bg-ods-border rounded w-3/4 max-w-md" }),
|
|
4342
|
-
/* @__PURE__ */ jsx34("div", { className: "h-[12px] md:h-[18px] bg-ods-border rounded w-full max-w-lg hidden md:block" })
|
|
4343
|
-
] }),
|
|
4344
|
-
/* @__PURE__ */ jsx34("div", { className: "absolute right-2 top-2 w-6 h-6 bg-ods-border rounded" })
|
|
4345
|
-
] }) }) });
|
|
4346
|
-
}
|
|
4347
|
-
function HeroSkeleton() {
|
|
4348
|
-
return /* @__PURE__ */ jsxs26(
|
|
4349
|
-
"section",
|
|
4350
|
-
{
|
|
4351
|
-
className: "w-full flex flex-col items-center justify-center py-12 px-4 md:py-20 md:px-8 text-center animate-pulse",
|
|
4352
|
-
style: {
|
|
4353
|
-
background: "radial-gradient(circle at 50% 0%, #242323 0%, #1A1A1A 100%)"
|
|
4354
|
-
},
|
|
4355
|
-
children: [
|
|
4356
|
-
/* @__PURE__ */ jsx34(TextSkeleton.Heading, { className: "h-12 md:h-20 lg:h-24 mb-4 md:mb-6 max-w-4xl w-full" }),
|
|
4357
|
-
/* @__PURE__ */ jsxs26("div", { className: "space-y-3 mb-8 md:mb-10 max-w-4xl w-full px-2", children: [
|
|
4358
|
-
/* @__PURE__ */ jsx34(TextSkeleton.Body, { className: "h-5 md:h-7" }),
|
|
4359
|
-
/* @__PURE__ */ jsx34(TextSkeleton.Body, { className: "h-5 md:h-7 w-3/4 mx-auto" })
|
|
4360
|
-
] }),
|
|
4361
|
-
/* @__PURE__ */ jsx34(InteractiveSkeleton.Button, { className: "w-full md:w-64 h-12" })
|
|
4362
|
-
]
|
|
4363
|
-
}
|
|
4364
|
-
);
|
|
4365
|
-
}
|
|
4366
|
-
function SearchContainerSkeleton({
|
|
4367
|
-
className,
|
|
4368
|
-
showFilters = true
|
|
4369
|
-
}) {
|
|
4370
|
-
return /* @__PURE__ */ jsxs26("div", { className: cn("space-y-4", className || ""), children: [
|
|
4371
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex gap-2 md:gap-4", children: [
|
|
4372
|
-
/* @__PURE__ */ jsx34(InteractiveSkeleton.Input, { className: "flex-1" }),
|
|
4373
|
-
/* @__PURE__ */ jsx34(InteractiveSkeleton.Button, { className: "w-32 md:w-40" })
|
|
4374
|
-
] }),
|
|
4375
|
-
showFilters && /* @__PURE__ */ jsxs26("div", { className: "flex gap-2 flex-wrap", children: [
|
|
4376
|
-
/* @__PURE__ */ jsx34(InteractiveSkeleton.Chip, {}),
|
|
4377
|
-
/* @__PURE__ */ jsx34(InteractiveSkeleton.Chip, { className: "w-24" }),
|
|
4378
|
-
/* @__PURE__ */ jsx34(InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
4379
|
-
/* @__PURE__ */ jsx34(InteractiveSkeleton.Chip, { className: "w-20" })
|
|
4380
|
-
] })
|
|
4381
|
-
] });
|
|
4382
|
-
}
|
|
4383
|
-
function CategorySidebarSkeleton({ className }) {
|
|
4384
|
-
const items = [
|
|
4385
|
-
{ type: "file", width: "w-20", hasBadge: false },
|
|
4386
|
-
{ type: "folder", width: "w-24", hasBadge: true },
|
|
4387
|
-
{ type: "folder", width: "w-20", hasBadge: true },
|
|
4388
|
-
{ type: "folder", width: "w-24", hasBadge: true },
|
|
4389
|
-
{ type: "folder", width: "w-16", hasBadge: true },
|
|
4390
|
-
{ type: "folder", width: "w-20", hasBadge: true },
|
|
4391
|
-
{ type: "folder", width: "w-28", hasBadge: true },
|
|
4392
|
-
{ type: "folder", width: "w-16", hasBadge: true },
|
|
4393
|
-
{ type: "folder", width: "w-24", hasBadge: true },
|
|
4394
|
-
{ type: "file", width: "w-28" },
|
|
4395
|
-
{ type: "file", width: "w-36" }
|
|
4396
|
-
];
|
|
4397
|
-
return /* @__PURE__ */ jsxs26("div", { className: cn("w-full lg:w-[320px]", className), children: [
|
|
4398
|
-
/* @__PURE__ */ jsx34(UnifiedSkeleton, { className: "h-[14px] w-24 rounded mb-4" }),
|
|
4399
|
-
/* @__PURE__ */ jsx34("div", { className: "space-y-1.5", children: items.map((item, index) => /* @__PURE__ */ jsxs26(
|
|
4400
|
-
"div",
|
|
4401
|
-
{
|
|
4402
|
-
className: cn(
|
|
4403
|
-
"flex items-center justify-between py-4 px-4 rounded-lg border border-ods-border min-h-[50px]",
|
|
4404
|
-
index === 0 ? "bg-ods-accent/20" : "bg-ods-card"
|
|
4405
|
-
),
|
|
4406
|
-
children: [
|
|
4407
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex items-center gap-2.5", children: [
|
|
4408
|
-
/* @__PURE__ */ jsx34(UnifiedSkeleton, { className: "w-4 h-4 shrink-0 rounded" }),
|
|
4409
|
-
/* @__PURE__ */ jsx34(UnifiedSkeleton, { className: `h-[14px] ${item.width} rounded` })
|
|
4410
|
-
] }),
|
|
4411
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex items-center gap-2 h-[18px]", children: [
|
|
4412
|
-
item.hasBadge && /* @__PURE__ */ jsx34(UnifiedSkeleton, { className: "h-[18px] w-14 rounded" }),
|
|
4413
|
-
item.type === "folder" && /* @__PURE__ */ jsx34(UnifiedSkeleton, { className: "w-4 h-4 rounded" })
|
|
4414
|
-
] })
|
|
4415
|
-
]
|
|
4416
|
-
},
|
|
4417
|
-
index
|
|
4418
|
-
)) })
|
|
4419
|
-
] });
|
|
4420
|
-
}
|
|
4421
|
-
function BreadcrumbSkeleton({ className }) {
|
|
4422
|
-
return /* @__PURE__ */ jsxs26("div", { className: cn("flex items-center space-x-1 mb-6", className), children: [
|
|
4423
|
-
/* @__PURE__ */ jsx34(TextSkeleton.Caption, { className: "w-16" }),
|
|
4424
|
-
/* @__PURE__ */ jsx34(UnifiedSkeleton, { variant: "default", className: "w-4 h-4 rounded-full" }),
|
|
4425
|
-
/* @__PURE__ */ jsx34(TextSkeleton.Caption, { className: "w-24" }),
|
|
4426
|
-
/* @__PURE__ */ jsx34(UnifiedSkeleton, { variant: "default", className: "w-4 h-4 rounded-full" }),
|
|
4427
|
-
/* @__PURE__ */ jsx34(TextSkeleton.Caption, { className: "w-32" }),
|
|
4428
|
-
/* @__PURE__ */ jsx34(UnifiedSkeleton, { variant: "default", className: "w-4 h-4 rounded-full" }),
|
|
4429
|
-
/* @__PURE__ */ jsx34(TextSkeleton.Caption, { className: "w-24" })
|
|
4430
|
-
] });
|
|
4431
|
-
}
|
|
4432
|
-
function ResultsHeaderSkeleton({ className }) {
|
|
4433
|
-
return /* @__PURE__ */ jsx34("div", { className: cn("flex flex-col md:flex-row justify-between items-start md:items-center gap-4 mb-6", className), children: /* @__PURE__ */ jsx34("div", { className: "space-y-1", children: /* @__PURE__ */ jsx34(TextSkeleton.Body, { className: "w-48" }) }) });
|
|
4434
|
-
}
|
|
4435
|
-
function TwoColumnLayoutSkeleton({
|
|
4436
|
-
className,
|
|
4437
|
-
sidebarContent,
|
|
4438
|
-
mainContent,
|
|
4439
|
-
sidebarPosition = "left"
|
|
4440
|
-
}) {
|
|
4441
|
-
const sidebar = sidebarContent || /* @__PURE__ */ jsx34(CategorySidebarSkeleton, {});
|
|
4442
|
-
const main = mainContent || /* @__PURE__ */ jsx34(CardSkeletonGrid, { count: 6 });
|
|
4443
|
-
return /* @__PURE__ */ jsx34("div", { className: cn(
|
|
4444
|
-
"grid grid-cols-1 lg:grid-cols-[320px_1fr] gap-6 lg:gap-8",
|
|
4445
|
-
sidebarPosition === "right" && "lg:grid-cols-[1fr_320px]",
|
|
4446
|
-
className
|
|
4447
|
-
), children: sidebarPosition === "left" ? /* @__PURE__ */ jsxs26(Fragment8, { children: [
|
|
4448
|
-
/* @__PURE__ */ jsx34("aside", { className: "order-2 lg:order-1", children: sidebar }),
|
|
4449
|
-
/* @__PURE__ */ jsx34("main", { className: "order-1 lg:order-2", children: main })
|
|
4450
|
-
] }) : /* @__PURE__ */ jsxs26(Fragment8, { children: [
|
|
4451
|
-
/* @__PURE__ */ jsx34("main", { className: "order-1", children: main }),
|
|
4452
|
-
/* @__PURE__ */ jsx34("aside", { className: "order-2", children: sidebar })
|
|
4453
|
-
] }) });
|
|
4454
|
-
}
|
|
4455
|
-
function ArticleLayoutSkeleton({ className }) {
|
|
4456
|
-
return /* @__PURE__ */ jsxs26("article", { className: cn("max-w-4xl mx-auto", className), children: [
|
|
4457
|
-
/* @__PURE__ */ jsxs26("header", { className: "mb-8 md:mb-12 space-y-4 md:space-y-6", children: [
|
|
4458
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex gap-2", children: [
|
|
4459
|
-
/* @__PURE__ */ jsx34(InteractiveSkeleton.Chip, {}),
|
|
4460
|
-
/* @__PURE__ */ jsx34(InteractiveSkeleton.Chip, { className: "w-16" })
|
|
4461
|
-
] }),
|
|
4462
|
-
/* @__PURE__ */ jsxs26("div", { className: "space-y-3", children: [
|
|
4463
|
-
/* @__PURE__ */ jsx34(TextSkeleton.Heading, { className: "w-full" }),
|
|
4464
|
-
/* @__PURE__ */ jsx34(TextSkeleton.Heading, { className: "w-3/4" })
|
|
4465
|
-
] }),
|
|
4466
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex items-center gap-4 pt-4 border-t border-ods-divider", children: [
|
|
4467
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex items-center gap-2", children: [
|
|
4468
|
-
/* @__PURE__ */ jsx34(MediaSkeleton.Avatar, { size: "sm" }),
|
|
4469
|
-
/* @__PURE__ */ jsx34(TextSkeleton.Caption, { className: "w-24" })
|
|
4470
|
-
] }),
|
|
4471
|
-
/* @__PURE__ */ jsx34(TextSkeleton.Caption, { className: "w-20" }),
|
|
4472
|
-
/* @__PURE__ */ jsx34(TextSkeleton.Caption, { className: "w-16" })
|
|
4473
|
-
] })
|
|
4474
|
-
] }),
|
|
4475
|
-
/* @__PURE__ */ jsx34("div", { className: "mb-8 md:mb-12", children: /* @__PURE__ */ jsx34(MediaSkeleton.CardImage, { className: "w-full h-64 md:h-96" }) }),
|
|
4476
|
-
/* @__PURE__ */ jsxs26("div", { className: "prose prose-invert max-w-none space-y-6", children: [
|
|
4477
|
-
Array.from({ length: 12 }).map((_, index) => /* @__PURE__ */ jsxs26("div", { className: "space-y-2", children: [
|
|
4478
|
-
/* @__PURE__ */ jsx34(TextSkeleton.Body, { className: "w-full" }),
|
|
4479
|
-
/* @__PURE__ */ jsx34(TextSkeleton.Body, { className: "w-full" }),
|
|
4480
|
-
/* @__PURE__ */ jsx34(TextSkeleton.Body, { className: "w-5/6" }),
|
|
4481
|
-
/* @__PURE__ */ jsx34(TextSkeleton.Body, { className: "w-3/4" })
|
|
4482
|
-
] }, index)),
|
|
4483
|
-
/* @__PURE__ */ jsxs26("div", { className: "py-4", children: [
|
|
4484
|
-
/* @__PURE__ */ jsx34(TextSkeleton.Subheading, { className: "w-2/3 mb-4" }),
|
|
4485
|
-
/* @__PURE__ */ jsxs26("div", { className: "space-y-2", children: [
|
|
4486
|
-
/* @__PURE__ */ jsx34(TextSkeleton.Body, { className: "w-full" }),
|
|
4487
|
-
/* @__PURE__ */ jsx34(TextSkeleton.Body, { className: "w-4/5" })
|
|
4488
|
-
] })
|
|
4489
|
-
] })
|
|
3899
|
+
return /* @__PURE__ */ jsxs23("div", { className: cn("flex items-center gap-2 min-w-0", className), children: [
|
|
3900
|
+
/* @__PURE__ */ jsx30(SquareAvatar2, { src: avatarUrl ?? void 0, fallbackName: name, size }),
|
|
3901
|
+
/* @__PURE__ */ jsxs23("div", { className: "min-w-0 flex-1", children: [
|
|
3902
|
+
/* @__PURE__ */ jsx30("p", { className: "font-['DM_Sans'] text-lg leading-[22px] text-ods-text-primary truncate", children: name }),
|
|
3903
|
+
subtitle && /* @__PURE__ */ jsx30("span", { className: "font-['DM_Sans'] text-md leading-[16px] text-ods-text-secondary truncate", children: subtitle })
|
|
4490
3904
|
] })
|
|
4491
3905
|
] });
|
|
4492
3906
|
}
|
|
4493
|
-
function VendorDetailLayoutSkeleton({ className }) {
|
|
4494
|
-
return /* @__PURE__ */ jsx34("main", { className: cn("bg-ods-bg min-h-screen", className), children: /* @__PURE__ */ jsxs26("div", { className: "max-w-[1920px] mx-auto px-6 md:px-20 py-6 md:py-10", children: [
|
|
4495
|
-
/* @__PURE__ */ jsx34(BreadcrumbSkeleton, { className: "mb-6" }),
|
|
4496
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex flex-col lg:flex-row lg:gap-10", children: [
|
|
4497
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex-1 min-w-0", children: [
|
|
4498
|
-
/* @__PURE__ */ jsxs26("div", { className: "mb-10", children: [
|
|
4499
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex gap-6 mb-6", children: [
|
|
4500
|
-
/* @__PURE__ */ jsx34("div", { className: "w-20 h-20 bg-ods-card border border-ods-border rounded-lg animate-pulse flex-shrink-0" }),
|
|
4501
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex flex-col gap-3", children: [
|
|
4502
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex flex-col gap-2", children: [
|
|
4503
|
-
/* @__PURE__ */ jsx34("div", { className: "h-12 md:h-16 lg:h-20 bg-[#2A2A2A] rounded animate-pulse w-80 max-w-full" }),
|
|
4504
|
-
/* @__PURE__ */ jsx34("div", { className: "h-5 md:h-6 bg-[#2A2A2A] rounded animate-pulse w-32" })
|
|
4505
|
-
] }),
|
|
4506
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex items-center gap-2", children: [
|
|
4507
|
-
/* @__PURE__ */ jsx34("div", { className: "h-8 bg-[#2A2A2A] rounded animate-pulse w-20" }),
|
|
4508
|
-
/* @__PURE__ */ jsx34("div", { className: "h-8 bg-[#2A2A2A] rounded animate-pulse w-16" })
|
|
4509
|
-
] })
|
|
4510
|
-
] })
|
|
4511
|
-
] }),
|
|
4512
|
-
/* @__PURE__ */ jsx34("div", { className: "w-full h-[300px] md:h-[400px] lg:h-[500px] bg-ods-card border border-ods-border rounded-lg animate-pulse mb-2" }),
|
|
4513
|
-
/* @__PURE__ */ jsx34("div", { className: "text-center", children: /* @__PURE__ */ jsx34("div", { className: "h-4 bg-[#2A2A2A] rounded animate-pulse w-24 mx-auto" }) })
|
|
4514
|
-
] }),
|
|
4515
|
-
/* @__PURE__ */ jsx34("div", { className: "lg:hidden mb-10", children: /* @__PURE__ */ jsxs26("div", { className: "space-y-4", children: [
|
|
4516
|
-
/* @__PURE__ */ jsx34("div", { className: "h-12 bg-ods-card border border-ods-border rounded-lg animate-pulse" }),
|
|
4517
|
-
/* @__PURE__ */ jsxs26("div", { className: "space-y-2", children: [
|
|
4518
|
-
/* @__PURE__ */ jsx34("div", { className: "h-12 bg-ods-card border border-ods-border rounded-lg animate-pulse" }),
|
|
4519
|
-
/* @__PURE__ */ jsx34("div", { className: "h-12 bg-ods-card border border-ods-border rounded-lg animate-pulse" })
|
|
4520
|
-
] }),
|
|
4521
|
-
/* @__PURE__ */ jsxs26("div", { className: "border border-ods-border rounded-lg overflow-hidden", children: [
|
|
4522
|
-
/* @__PURE__ */ jsxs26("div", { className: "bg-ods-card p-4 flex items-center gap-3", children: [
|
|
4523
|
-
/* @__PURE__ */ jsx34("div", { className: "w-8 h-8 bg-[#2A2A2A] rounded animate-pulse" }),
|
|
4524
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex flex-col gap-1", children: [
|
|
4525
|
-
/* @__PURE__ */ jsx34("div", { className: "h-4 bg-[#2A2A2A] rounded animate-pulse w-20" }),
|
|
4526
|
-
/* @__PURE__ */ jsx34("div", { className: "h-6 bg-[#2A2A2A] rounded animate-pulse w-12" })
|
|
4527
|
-
] })
|
|
4528
|
-
] }),
|
|
4529
|
-
/* @__PURE__ */ jsx34("div", { className: "p-4 space-y-3", children: Array.from({ length: 4 }).map((_, i) => /* @__PURE__ */ jsxs26("div", { className: "flex items-center gap-3", children: [
|
|
4530
|
-
/* @__PURE__ */ jsx34("div", { className: "w-6 h-6 bg-[#2A2A2A] rounded animate-pulse" }),
|
|
4531
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex items-end gap-1", children: [
|
|
4532
|
-
/* @__PURE__ */ jsx34("div", { className: "h-4 bg-[#2A2A2A] rounded animate-pulse w-12" }),
|
|
4533
|
-
/* @__PURE__ */ jsx34("div", { className: "h-3 bg-[#2A2A2A] rounded animate-pulse w-8" })
|
|
4534
|
-
] })
|
|
4535
|
-
] }, i)) })
|
|
4536
|
-
] }),
|
|
4537
|
-
/* @__PURE__ */ jsxs26("div", { className: "space-y-3", children: [
|
|
4538
|
-
/* @__PURE__ */ jsx34("div", { className: "h-12 bg-ods-card border border-ods-border rounded-lg animate-pulse" }),
|
|
4539
|
-
/* @__PURE__ */ jsx34("div", { className: "h-12 bg-ods-card border border-ods-border rounded-lg animate-pulse" }),
|
|
4540
|
-
/* @__PURE__ */ jsx34("div", { className: "h-12 bg-ods-card border border-ods-border rounded-lg animate-pulse" })
|
|
4541
|
-
] })
|
|
4542
|
-
] }) }),
|
|
4543
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex flex-col gap-6 mb-20", children: [
|
|
4544
|
-
/* @__PURE__ */ jsx34("div", { className: "h-8 md:h-10 bg-[#2A2A2A] rounded animate-pulse w-48" }),
|
|
4545
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex flex-col gap-4", children: [
|
|
4546
|
-
/* @__PURE__ */ jsx34("div", { className: "h-5 bg-[#2A2A2A] rounded animate-pulse w-48" }),
|
|
4547
|
-
/* @__PURE__ */ jsx34("div", { className: "flex flex-wrap gap-2", children: Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ jsx34("div", { className: "h-10 bg-ods-card border border-ods-border rounded-lg animate-pulse w-24" }, i)) })
|
|
4548
|
-
] }),
|
|
4549
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex flex-col gap-4", children: [
|
|
4550
|
-
/* @__PURE__ */ jsx34("div", { className: "h-5 bg-[#2A2A2A] rounded animate-pulse w-52" }),
|
|
4551
|
-
/* @__PURE__ */ jsx34("div", { className: "flex flex-wrap gap-2", children: Array.from({ length: 4 }).map((_, i) => /* @__PURE__ */ jsx34("div", { className: "h-10 bg-ods-card border border-ods-border rounded-lg animate-pulse w-28" }, i)) })
|
|
4552
|
-
] })
|
|
4553
|
-
] }),
|
|
4554
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex flex-col gap-6 mb-20", children: [
|
|
4555
|
-
/* @__PURE__ */ jsx34("div", { className: "h-8 md:h-10 bg-[#2A2A2A] rounded animate-pulse w-64" }),
|
|
4556
|
-
/* @__PURE__ */ jsx34("div", { className: "bg-ods-card border border-ods-border rounded-lg p-6 md:p-8", children: /* @__PURE__ */ jsxs26("div", { className: "space-y-4", children: [
|
|
4557
|
-
/* @__PURE__ */ jsx34("div", { className: "h-6 bg-[#2A2A2A] rounded animate-pulse" }),
|
|
4558
|
-
/* @__PURE__ */ jsx34("div", { className: "h-6 bg-[#2A2A2A] rounded animate-pulse" }),
|
|
4559
|
-
/* @__PURE__ */ jsx34("div", { className: "h-6 bg-[#2A2A2A] rounded animate-pulse w-5/6" }),
|
|
4560
|
-
/* @__PURE__ */ jsx34("div", { className: "h-6 bg-[#2A2A2A] rounded animate-pulse w-4/5" })
|
|
4561
|
-
] }) })
|
|
4562
|
-
] }),
|
|
4563
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex flex-col gap-6 mb-20", children: [
|
|
4564
|
-
/* @__PURE__ */ jsx34("div", { className: "h-8 md:h-10 bg-[#2A2A2A] rounded animate-pulse w-72" }),
|
|
4565
|
-
/* @__PURE__ */ jsx34("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6", children: Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ jsxs26("div", { className: "bg-ods-card border border-ods-border rounded-lg p-4 flex gap-4", children: [
|
|
4566
|
-
/* @__PURE__ */ jsx34("div", { className: "w-12 h-12 bg-[#2A2A2A] rounded flex-shrink-0 animate-pulse" }),
|
|
4567
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex-1 space-y-2", children: [
|
|
4568
|
-
/* @__PURE__ */ jsx34("div", { className: "h-5 bg-[#2A2A2A] rounded animate-pulse w-3/4" }),
|
|
4569
|
-
/* @__PURE__ */ jsx34("div", { className: "h-4 bg-[#2A2A2A] rounded animate-pulse" })
|
|
4570
|
-
] })
|
|
4571
|
-
] }, i)) })
|
|
4572
|
-
] }),
|
|
4573
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex flex-col gap-6 mb-20", children: [
|
|
4574
|
-
/* @__PURE__ */ jsx34("div", { className: "h-8 md:h-10 bg-[#2A2A2A] rounded animate-pulse w-80" }),
|
|
4575
|
-
/* @__PURE__ */ jsxs26("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-6", children: [
|
|
4576
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex flex-col gap-6", children: [
|
|
4577
|
-
/* @__PURE__ */ jsx34("div", { className: "h-5 bg-[#2A2A2A] rounded animate-pulse w-16" }),
|
|
4578
|
-
Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ jsxs26("div", { className: "bg-ods-card border border-ods-border rounded-lg p-4 flex gap-3", children: [
|
|
4579
|
-
/* @__PURE__ */ jsx34("div", { className: "w-12 h-12 bg-ods-bg border border-ods-border rounded flex-shrink-0 animate-pulse" }),
|
|
4580
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex-1 space-y-2", children: [
|
|
4581
|
-
/* @__PURE__ */ jsx34("div", { className: "h-5 bg-[#2A2A2A] rounded animate-pulse w-2/3" }),
|
|
4582
|
-
/* @__PURE__ */ jsx34("div", { className: "h-4 bg-[#2A2A2A] rounded animate-pulse" })
|
|
4583
|
-
] })
|
|
4584
|
-
] }, i))
|
|
4585
|
-
] }),
|
|
4586
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex flex-col gap-6", children: [
|
|
4587
|
-
/* @__PURE__ */ jsx34("div", { className: "h-5 bg-[#2A2A2A] rounded animate-pulse w-16" }),
|
|
4588
|
-
Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ jsxs26("div", { className: "bg-ods-card border border-ods-border rounded-lg p-4 flex gap-3", children: [
|
|
4589
|
-
/* @__PURE__ */ jsx34("div", { className: "w-12 h-12 bg-ods-bg border border-ods-border rounded flex-shrink-0 animate-pulse" }),
|
|
4590
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex-1 space-y-2", children: [
|
|
4591
|
-
/* @__PURE__ */ jsx34("div", { className: "h-5 bg-[#2A2A2A] rounded animate-pulse w-2/3" }),
|
|
4592
|
-
/* @__PURE__ */ jsx34("div", { className: "h-4 bg-[#2A2A2A] rounded animate-pulse" })
|
|
4593
|
-
] })
|
|
4594
|
-
] }, i))
|
|
4595
|
-
] })
|
|
4596
|
-
] })
|
|
4597
|
-
] }),
|
|
4598
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex flex-col gap-6 mb-20", children: [
|
|
4599
|
-
/* @__PURE__ */ jsx34("div", { className: "h-8 md:h-10 bg-[#2A2A2A] rounded animate-pulse w-72" }),
|
|
4600
|
-
/* @__PURE__ */ jsx34("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6", children: Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ jsxs26("div", { className: "bg-ods-card border border-ods-border rounded-lg p-6 space-y-4", children: [
|
|
4601
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex items-start gap-4", children: [
|
|
4602
|
-
/* @__PURE__ */ jsx34("div", { className: "w-16 h-16 bg-ods-bg border border-ods-border rounded-lg animate-pulse flex-shrink-0" }),
|
|
4603
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex-1 space-y-2", children: [
|
|
4604
|
-
/* @__PURE__ */ jsx34("div", { className: "h-6 bg-[#2A2A2A] rounded animate-pulse w-3/4" }),
|
|
4605
|
-
/* @__PURE__ */ jsx34("div", { className: "h-4 bg-[#2A2A2A] rounded animate-pulse w-1/2" })
|
|
4606
|
-
] }),
|
|
4607
|
-
/* @__PURE__ */ jsx34("div", { className: "h-6 bg-[#2A2A2A] rounded animate-pulse w-20" })
|
|
4608
|
-
] }),
|
|
4609
|
-
/* @__PURE__ */ jsxs26("div", { className: "space-y-2", children: [
|
|
4610
|
-
/* @__PURE__ */ jsx34("div", { className: "h-4 bg-[#2A2A2A] rounded animate-pulse" }),
|
|
4611
|
-
/* @__PURE__ */ jsx34("div", { className: "h-4 bg-[#2A2A2A] rounded animate-pulse w-5/6" }),
|
|
4612
|
-
/* @__PURE__ */ jsx34("div", { className: "h-4 bg-[#2A2A2A] rounded animate-pulse w-4/5" })
|
|
4613
|
-
] }),
|
|
4614
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex items-center justify-between pt-2 border-t border-ods-border", children: [
|
|
4615
|
-
/* @__PURE__ */ jsx34("div", { className: "h-4 bg-[#2A2A2A] rounded animate-pulse w-16" }),
|
|
4616
|
-
/* @__PURE__ */ jsx34("div", { className: "h-4 bg-[#2A2A2A] rounded animate-pulse w-20" })
|
|
4617
|
-
] })
|
|
4618
|
-
] }, i)) }),
|
|
4619
|
-
/* @__PURE__ */ jsx34("div", { className: "h-12 bg-[#2A2A2A] rounded-md animate-pulse" })
|
|
4620
|
-
] }),
|
|
4621
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex flex-col gap-6 mb-20", children: [
|
|
4622
|
-
/* @__PURE__ */ jsx34("div", { className: "h-8 md:h-10 bg-[#2A2A2A] rounded animate-pulse w-64" }),
|
|
4623
|
-
/* @__PURE__ */ jsx34("div", { className: "space-y-3", children: /* @__PURE__ */ jsxs26("div", { className: "flex gap-3", children: [
|
|
4624
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex-1 bg-ods-bg border border-ods-border rounded-lg overflow-hidden", children: [
|
|
4625
|
-
/* @__PURE__ */ jsxs26("div", { className: "border-b border-ods-border p-3", children: [
|
|
4626
|
-
/* @__PURE__ */ jsx34("div", { className: "h-3 bg-[#2A2A2A] rounded animate-pulse w-8 mb-2" }),
|
|
4627
|
-
/* @__PURE__ */ jsx34("div", { className: "h-6 bg-[#2A2A2A] rounded animate-pulse w-full" })
|
|
4628
|
-
] }),
|
|
4629
|
-
/* @__PURE__ */ jsxs26("div", { className: "p-3", children: [
|
|
4630
|
-
/* @__PURE__ */ jsx34("div", { className: "h-3 bg-[#2A2A2A] rounded animate-pulse w-16 mb-2" }),
|
|
4631
|
-
/* @__PURE__ */ jsxs26("div", { className: "space-y-2", children: [
|
|
4632
|
-
/* @__PURE__ */ jsx34("div", { className: "h-4 bg-[#2A2A2A] rounded animate-pulse w-full" }),
|
|
4633
|
-
/* @__PURE__ */ jsx34("div", { className: "h-4 bg-[#2A2A2A] rounded animate-pulse w-3/4" }),
|
|
4634
|
-
/* @__PURE__ */ jsx34("div", { className: "h-4 bg-[#2A2A2A] rounded animate-pulse w-1/2" })
|
|
4635
|
-
] })
|
|
4636
|
-
] })
|
|
4637
|
-
] }),
|
|
4638
|
-
/* @__PURE__ */ jsx34("div", { className: "flex items-stretch", children: /* @__PURE__ */ jsx34("div", { className: "h-[120px] w-20 bg-[#2A2A2A] rounded-lg animate-pulse" }) })
|
|
4639
|
-
] }) }),
|
|
4640
|
-
/* @__PURE__ */ jsx34("div", { className: "space-y-4", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ jsxs26("div", { className: "bg-ods-card border border-ods-border rounded-lg p-4", children: [
|
|
4641
|
-
/* @__PURE__ */ jsx34("div", { className: "flex flex-col gap-3 mb-3 min-[420px]:flex-row min-[420px]:items-center min-[420px]:justify-between min-[420px]:gap-2", children: /* @__PURE__ */ jsxs26("div", { className: "flex items-center gap-2", children: [
|
|
4642
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex items-center gap-2 bg-ods-card border border-ods-border rounded-lg py-2 px-3", children: [
|
|
4643
|
-
/* @__PURE__ */ jsx34("div", { className: "w-8 h-8 bg-[#2A2A2A] rounded-lg animate-pulse" }),
|
|
4644
|
-
/* @__PURE__ */ jsx34("div", { className: "h-4 bg-[#2A2A2A] rounded animate-pulse w-20" })
|
|
4645
|
-
] }),
|
|
4646
|
-
/* @__PURE__ */ jsx34("div", { className: "h-4 bg-[#2A2A2A] rounded animate-pulse w-12" })
|
|
4647
|
-
] }) }),
|
|
4648
|
-
/* @__PURE__ */ jsxs26("div", { className: "space-y-2", children: [
|
|
4649
|
-
/* @__PURE__ */ jsx34("div", { className: "h-6 bg-[#2A2A2A] rounded animate-pulse w-2/3" }),
|
|
4650
|
-
/* @__PURE__ */ jsxs26("div", { className: "space-y-1", children: [
|
|
4651
|
-
/* @__PURE__ */ jsx34("div", { className: "h-4 bg-[#2A2A2A] rounded animate-pulse w-full" }),
|
|
4652
|
-
/* @__PURE__ */ jsx34("div", { className: "h-4 bg-[#2A2A2A] rounded animate-pulse w-4/5" }),
|
|
4653
|
-
/* @__PURE__ */ jsx34("div", { className: "h-4 bg-[#2A2A2A] rounded animate-pulse w-3/5" })
|
|
4654
|
-
] })
|
|
4655
|
-
] })
|
|
4656
|
-
] }, i)) })
|
|
4657
|
-
] })
|
|
4658
|
-
] }),
|
|
4659
|
-
/* @__PURE__ */ jsx34("div", { className: "hidden lg:block w-[290px] flex-shrink-0", children: /* @__PURE__ */ jsxs26("div", { className: "space-y-4", children: [
|
|
4660
|
-
/* @__PURE__ */ jsx34("div", { className: "h-12 bg-ods-card border border-ods-border rounded-lg animate-pulse" }),
|
|
4661
|
-
/* @__PURE__ */ jsxs26("div", { className: "space-y-2", children: [
|
|
4662
|
-
/* @__PURE__ */ jsx34("div", { className: "h-12 bg-ods-card border border-ods-border rounded-lg animate-pulse" }),
|
|
4663
|
-
/* @__PURE__ */ jsx34("div", { className: "h-12 bg-ods-card border border-ods-border rounded-lg animate-pulse" })
|
|
4664
|
-
] }),
|
|
4665
|
-
/* @__PURE__ */ jsxs26("div", { className: "border border-ods-border rounded-lg overflow-hidden", children: [
|
|
4666
|
-
/* @__PURE__ */ jsxs26("div", { className: "bg-ods-card p-4 flex items-center gap-3", children: [
|
|
4667
|
-
/* @__PURE__ */ jsx34("div", { className: "w-8 h-8 bg-[#2A2A2A] rounded animate-pulse" }),
|
|
4668
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex flex-col gap-1", children: [
|
|
4669
|
-
/* @__PURE__ */ jsx34("div", { className: "h-4 bg-[#2A2A2A] rounded animate-pulse w-20" }),
|
|
4670
|
-
/* @__PURE__ */ jsx34("div", { className: "h-6 bg-[#2A2A2A] rounded animate-pulse w-12" })
|
|
4671
|
-
] })
|
|
4672
|
-
] }),
|
|
4673
|
-
/* @__PURE__ */ jsx34("div", { className: "p-4 space-y-3", children: Array.from({ length: 4 }).map((_, i) => /* @__PURE__ */ jsxs26("div", { className: "flex items-center gap-3", children: [
|
|
4674
|
-
/* @__PURE__ */ jsx34("div", { className: "w-6 h-6 bg-[#2A2A2A] rounded animate-pulse" }),
|
|
4675
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex items-end gap-1", children: [
|
|
4676
|
-
/* @__PURE__ */ jsx34("div", { className: "h-4 bg-[#2A2A2A] rounded animate-pulse w-12" }),
|
|
4677
|
-
/* @__PURE__ */ jsx34("div", { className: "h-3 bg-[#2A2A2A] rounded animate-pulse w-8" })
|
|
4678
|
-
] })
|
|
4679
|
-
] }, i)) })
|
|
4680
|
-
] }),
|
|
4681
|
-
/* @__PURE__ */ jsxs26("div", { className: "space-y-3", children: [
|
|
4682
|
-
/* @__PURE__ */ jsx34("div", { className: "h-12 bg-ods-card border border-ods-border rounded-lg animate-pulse" }),
|
|
4683
|
-
/* @__PURE__ */ jsx34("div", { className: "h-12 bg-ods-card border border-ods-border rounded-lg animate-pulse" }),
|
|
4684
|
-
/* @__PURE__ */ jsx34("div", { className: "h-12 bg-ods-card border border-ods-border rounded-lg animate-pulse" })
|
|
4685
|
-
] })
|
|
4686
|
-
] }) })
|
|
4687
|
-
] })
|
|
4688
|
-
] }) });
|
|
4689
|
-
}
|
|
4690
|
-
function StatsSectionSkeleton({
|
|
4691
|
-
className,
|
|
4692
|
-
columns = 3
|
|
4693
|
-
}) {
|
|
4694
|
-
return /* @__PURE__ */ jsx34("div", { className: cn(
|
|
4695
|
-
"grid gap-6 mb-12 md:mb-16",
|
|
4696
|
-
columns === 3 && "grid-cols-1 md:grid-cols-3",
|
|
4697
|
-
columns === 4 && "grid-cols-1 md:grid-cols-2 lg:grid-cols-4",
|
|
4698
|
-
className
|
|
4699
|
-
), children: Array.from({ length: columns }).map((_, i) => /* @__PURE__ */ jsx34("div", { className: "bg-ods-card border border-ods-border rounded-lg p-6", children: /* @__PURE__ */ jsxs26("div", { className: "space-y-4", children: [
|
|
4700
|
-
/* @__PURE__ */ jsx34(MediaSkeleton.Icon, { size: "lg" }),
|
|
4701
|
-
/* @__PURE__ */ jsx34(TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
4702
|
-
/* @__PURE__ */ jsxs26("div", { className: "space-y-2", children: [
|
|
4703
|
-
/* @__PURE__ */ jsx34(TextSkeleton.Body, { className: "w-full" }),
|
|
4704
|
-
/* @__PURE__ */ jsx34(TextSkeleton.Body, { className: "w-3/4" })
|
|
4705
|
-
] })
|
|
4706
|
-
] }) }, i)) });
|
|
4707
|
-
}
|
|
4708
|
-
function BlogCardGridSkeleton({ className }) {
|
|
4709
|
-
return /* @__PURE__ */ jsx34("div", { className: cn("space-y-6", className), children: /* @__PURE__ */ jsx34(
|
|
4710
|
-
CardSkeletonGrid,
|
|
4711
|
-
{
|
|
4712
|
-
count: 4,
|
|
4713
|
-
variant: "blog",
|
|
4714
|
-
className: "grid-cols-1 md:grid-cols-2"
|
|
4715
|
-
}
|
|
4716
|
-
) });
|
|
4717
|
-
}
|
|
4718
|
-
function VendorGridSkeleton({ className }) {
|
|
4719
|
-
return /* @__PURE__ */ jsx34("div", { className: cn("space-y-6", className), children: /* @__PURE__ */ jsx34(
|
|
4720
|
-
CardSkeletonGrid,
|
|
4721
|
-
{
|
|
4722
|
-
count: 12,
|
|
4723
|
-
variant: "vendor",
|
|
4724
|
-
className: "grid-cols-1 md:grid-cols-2 lg:grid-cols-3"
|
|
4725
|
-
}
|
|
4726
|
-
) });
|
|
4727
|
-
}
|
|
4728
|
-
function SlackCommunitySkeleton() {
|
|
4729
|
-
return /* @__PURE__ */ jsx34(
|
|
4730
|
-
"section",
|
|
4731
|
-
{
|
|
4732
|
-
className: "w-full bg-ods-bg px-4 md:px-20 lg:px-20 py-12 md:py-20",
|
|
4733
|
-
"aria-label": "Slack Community Loading",
|
|
4734
|
-
children: /* @__PURE__ */ jsxs26("div", { className: "w-full flex flex-col gap-4 md:gap-6", children: [
|
|
4735
|
-
/* @__PURE__ */ jsx34("div", { className: "w-full", children: /* @__PURE__ */ jsx34("div", { className: "h-8 md:h-12 lg:h-14 bg-[#2A2A2A] rounded-lg animate-pulse max-w-md" }) }),
|
|
4736
|
-
/* @__PURE__ */ jsxs26("div", { className: "w-full flex flex-col lg:flex-row lg:justify-end lg:items-start gap-4 md:gap-6 min-w-0", children: [
|
|
4737
|
-
/* @__PURE__ */ jsx34("div", { className: "w-full lg:w-[290px] lg:max-w-[290px] bg-ods-bg border border-ods-border rounded flex flex-col flex-shrink-0 overflow-hidden animate-pulse", children: /* @__PURE__ */ jsxs26("div", { className: "p-4 space-y-4", children: [
|
|
4738
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex flex-col gap-2", children: [
|
|
4739
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex items-center justify-between", children: [
|
|
4740
|
-
/* @__PURE__ */ jsx34("div", { className: "h-4 bg-[#2A2A2A] rounded w-24" }),
|
|
4741
|
-
/* @__PURE__ */ jsx34("div", { className: "h-3 bg-[#2A2A2A] rounded w-16" })
|
|
4742
|
-
] }),
|
|
4743
|
-
/* @__PURE__ */ jsx34("div", { className: "h-3 bg-[#2A2A2A] rounded w-32" })
|
|
4744
|
-
] }),
|
|
4745
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex flex-col gap-1", children: [
|
|
4746
|
-
/* @__PURE__ */ jsx34("div", { className: "h-3 bg-[#2A2A2A] rounded w-16 mb-2" }),
|
|
4747
|
-
Array.from({ length: 5 }).map((_, i) => /* @__PURE__ */ jsxs26("div", { className: "flex items-center gap-2 px-2 py-3 min-h-[48px]", children: [
|
|
4748
|
-
/* @__PURE__ */ jsx34("div", { className: "w-4 h-4 bg-[#2A2A2A] rounded" }),
|
|
4749
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex-1", children: [
|
|
4750
|
-
/* @__PURE__ */ jsx34("div", { className: "h-3 bg-[#2A2A2A] rounded w-24 mb-1" }),
|
|
4751
|
-
/* @__PURE__ */ jsx34("div", { className: "h-2 bg-[#2A2A2A] rounded w-16" })
|
|
4752
|
-
] })
|
|
4753
|
-
] }, i))
|
|
4754
|
-
] }),
|
|
4755
|
-
/* @__PURE__ */ jsx34("div", { className: "border-t border-ods-border pt-3 mt-2", children: /* @__PURE__ */ jsxs26("div", { className: "space-y-2", children: [
|
|
4756
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex justify-between", children: [
|
|
4757
|
-
/* @__PURE__ */ jsx34("div", { className: "h-3 bg-[#2A2A2A] rounded w-16" }),
|
|
4758
|
-
/* @__PURE__ */ jsx34("div", { className: "h-3 bg-[#2A2A2A] rounded w-8" })
|
|
4759
|
-
] }),
|
|
4760
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex justify-between", children: [
|
|
4761
|
-
/* @__PURE__ */ jsx34("div", { className: "h-3 bg-[#2A2A2A] rounded w-20" }),
|
|
4762
|
-
/* @__PURE__ */ jsx34("div", { className: "h-3 bg-[#2A2A2A] rounded w-8" })
|
|
4763
|
-
] })
|
|
4764
|
-
] }) })
|
|
4765
|
-
] }) }),
|
|
4766
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex-1 min-h-[450px] h-[450px] md:min-h-[500px] md:h-[500px] lg:min-h-[600px] lg:h-[600px] bg-ods-card border border-ods-border rounded-lg flex flex-col min-w-0 animate-pulse", children: [
|
|
4767
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex items-center justify-between p-4 md:p-6 border-b border-ods-border bg-ods-bg h-[56px] md:h-[60px] flex-shrink-0", children: [
|
|
4768
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex items-center gap-2", children: [
|
|
4769
|
-
/* @__PURE__ */ jsx34("div", { className: "h-3 md:h-4 bg-[#2A2A2A] rounded w-3 md:w-4" }),
|
|
4770
|
-
/* @__PURE__ */ jsx34("div", { className: "h-3 md:h-4 bg-[#2A2A2A] rounded w-24 md:w-32" })
|
|
4771
|
-
] }),
|
|
4772
|
-
/* @__PURE__ */ jsx34("div", { className: "h-3 bg-[#2A2A2A] rounded w-12 md:w-16" })
|
|
4773
|
-
] }),
|
|
4774
|
-
/* @__PURE__ */ jsx34("div", { className: "flex-1 bg-ods-bg p-4 md:p-6 space-y-3 md:space-y-4 overflow-hidden min-h-[280px] md:min-h-[320px] lg:min-h-[420px]", children: Array.from({ length: 6 }).map((_, i) => /* @__PURE__ */ jsxs26("div", { className: "flex gap-2 md:gap-3", children: [
|
|
4775
|
-
/* @__PURE__ */ jsx34("div", { className: "w-10 h-10 md:w-12 md:h-12 bg-[#2A2A2A] rounded-lg flex-shrink-0" }),
|
|
4776
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex-1", children: [
|
|
4777
|
-
/* @__PURE__ */ jsxs26("div", { className: "flex items-center gap-2 mb-1", children: [
|
|
4778
|
-
/* @__PURE__ */ jsx34("div", { className: "h-3 bg-[#2A2A2A] rounded w-16 md:w-20" }),
|
|
4779
|
-
/* @__PURE__ */ jsx34("div", { className: "h-3 bg-[#2A2A2A] rounded w-12 md:w-16" })
|
|
4780
|
-
] }),
|
|
4781
|
-
/* @__PURE__ */ jsx34("div", { className: "h-3 md:h-4 bg-[#2A2A2A] rounded w-full" })
|
|
4782
|
-
] })
|
|
4783
|
-
] }, i)) }),
|
|
4784
|
-
/* @__PURE__ */ jsx34("div", { className: "p-4 md:p-6 border-t border-ods-border bg-ods-card h-[72px] md:h-[80px] flex-shrink-0", children: /* @__PURE__ */ jsx34("div", { className: "flex items-end gap-3 justify-center md:justify-end", children: /* @__PURE__ */ jsx34("div", { className: "h-10 md:h-12 bg-[#2A2A2A] rounded-lg w-28 md:w-32" }) }) })
|
|
4785
|
-
] })
|
|
4786
|
-
] })
|
|
4787
|
-
] })
|
|
4788
|
-
}
|
|
4789
|
-
);
|
|
4790
|
-
}
|
|
4791
3907
|
|
|
4792
3908
|
// src/components/loading/content-skeleton.tsx
|
|
4793
3909
|
init_cn();
|
|
4794
|
-
import { jsx as
|
|
3910
|
+
import { jsx as jsx31, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
4795
3911
|
function ParagraphSkeleton({
|
|
4796
3912
|
className,
|
|
4797
3913
|
lines = 4
|
|
4798
3914
|
}) {
|
|
4799
3915
|
const lineWidths = ["w-full", "w-full", "w-5/6", "w-3/4", "w-4/5", "w-2/3"];
|
|
4800
|
-
return /* @__PURE__ */
|
|
3916
|
+
return /* @__PURE__ */ jsx31("div", { className: cn("space-y-2", className), children: Array.from({ length: lines }).map((_, index) => /* @__PURE__ */ jsx31(
|
|
4801
3917
|
TextSkeleton.Body,
|
|
4802
3918
|
{
|
|
4803
3919
|
className: lineWidths[index % lineWidths.length]
|
|
@@ -4811,14 +3927,14 @@ function ListSkeleton({
|
|
|
4811
3927
|
showIcons = false,
|
|
4812
3928
|
showActions = false
|
|
4813
3929
|
}) {
|
|
4814
|
-
return /* @__PURE__ */
|
|
4815
|
-
/* @__PURE__ */
|
|
4816
|
-
showIcons && /* @__PURE__ */
|
|
4817
|
-
/* @__PURE__ */
|
|
3930
|
+
return /* @__PURE__ */ jsx31("div", { className: cn("space-y-3", className), children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ jsxs24("div", { className: "flex items-center justify-between", children: [
|
|
3931
|
+
/* @__PURE__ */ jsxs24("div", { className: "flex items-center gap-3", children: [
|
|
3932
|
+
showIcons && /* @__PURE__ */ jsx31(MediaSkeleton.Icon, { size: "sm" }),
|
|
3933
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Body, { className: "w-32 md:w-48" })
|
|
4818
3934
|
] }),
|
|
4819
|
-
showActions && /* @__PURE__ */
|
|
4820
|
-
/* @__PURE__ */
|
|
4821
|
-
/* @__PURE__ */
|
|
3935
|
+
showActions && /* @__PURE__ */ jsxs24("div", { className: "flex items-center gap-2", children: [
|
|
3936
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Caption, { className: "w-8" }),
|
|
3937
|
+
/* @__PURE__ */ jsx31(UnifiedSkeleton, { variant: "default", className: "w-4 h-4" })
|
|
4822
3938
|
] })
|
|
4823
3939
|
] }, index)) });
|
|
4824
3940
|
}
|
|
@@ -4827,14 +3943,14 @@ function TableSkeleton({
|
|
|
4827
3943
|
rows = 5,
|
|
4828
3944
|
columns = 4
|
|
4829
3945
|
}) {
|
|
4830
|
-
return /* @__PURE__ */
|
|
4831
|
-
/* @__PURE__ */
|
|
4832
|
-
/* @__PURE__ */
|
|
3946
|
+
return /* @__PURE__ */ jsxs24("div", { className: cn("space-y-4", className), children: [
|
|
3947
|
+
/* @__PURE__ */ jsx31("div", { className: "grid gap-4", style: { gridTemplateColumns: `repeat(${columns}, 1fr)` }, children: Array.from({ length: columns }).map((_, index) => /* @__PURE__ */ jsx31(TextSkeleton.Subheading, { className: "w-3/4" }, index)) }),
|
|
3948
|
+
/* @__PURE__ */ jsx31("div", { className: "space-y-3", children: Array.from({ length: rows }).map((_, rowIndex) => /* @__PURE__ */ jsx31(
|
|
4833
3949
|
"div",
|
|
4834
3950
|
{
|
|
4835
3951
|
className: "grid gap-4 py-2 border-b border-ods-divider",
|
|
4836
3952
|
style: { gridTemplateColumns: `repeat(${columns}, 1fr)` },
|
|
4837
|
-
children: Array.from({ length: columns }).map((_2, colIndex) => /* @__PURE__ */
|
|
3953
|
+
children: Array.from({ length: columns }).map((_2, colIndex) => /* @__PURE__ */ jsx31(TextSkeleton.Body, { className: "w-2/3" }, colIndex))
|
|
4838
3954
|
},
|
|
4839
3955
|
rowIndex
|
|
4840
3956
|
)) })
|
|
@@ -4844,15 +3960,15 @@ function FormSkeleton({
|
|
|
4844
3960
|
className,
|
|
4845
3961
|
fields = 4
|
|
4846
3962
|
}) {
|
|
4847
|
-
return /* @__PURE__ */
|
|
4848
|
-
Array.from({ length: fields }).map((_, index) => /* @__PURE__ */
|
|
4849
|
-
/* @__PURE__ */
|
|
4850
|
-
/* @__PURE__ */
|
|
4851
|
-
index % 3 === 0 && /* @__PURE__ */
|
|
3963
|
+
return /* @__PURE__ */ jsxs24("div", { className: cn("space-y-6", className), children: [
|
|
3964
|
+
Array.from({ length: fields }).map((_, index) => /* @__PURE__ */ jsxs24("div", { className: "space-y-2", children: [
|
|
3965
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Body, { className: "w-24" }),
|
|
3966
|
+
/* @__PURE__ */ jsx31(InteractiveSkeleton.Input, {}),
|
|
3967
|
+
index % 3 === 0 && /* @__PURE__ */ jsx31(TextSkeleton.Caption, { className: "w-48" })
|
|
4852
3968
|
] }, index)),
|
|
4853
|
-
/* @__PURE__ */
|
|
4854
|
-
/* @__PURE__ */
|
|
4855
|
-
/* @__PURE__ */
|
|
3969
|
+
/* @__PURE__ */ jsxs24("div", { className: "flex gap-4 pt-4", children: [
|
|
3970
|
+
/* @__PURE__ */ jsx31(InteractiveSkeleton.Button, {}),
|
|
3971
|
+
/* @__PURE__ */ jsx31(InteractiveSkeleton.Button, { className: "bg-ods-border" })
|
|
4856
3972
|
] })
|
|
4857
3973
|
] });
|
|
4858
3974
|
}
|
|
@@ -4861,7 +3977,7 @@ function NavigationSkeleton({
|
|
|
4861
3977
|
items = 6,
|
|
4862
3978
|
horizontal = true
|
|
4863
3979
|
}) {
|
|
4864
|
-
return /* @__PURE__ */
|
|
3980
|
+
return /* @__PURE__ */ jsx31(
|
|
4865
3981
|
"nav",
|
|
4866
3982
|
{
|
|
4867
3983
|
className: cn(
|
|
@@ -4871,7 +3987,7 @@ function NavigationSkeleton({
|
|
|
4871
3987
|
),
|
|
4872
3988
|
role: "status",
|
|
4873
3989
|
"aria-label": "Loading navigation",
|
|
4874
|
-
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */
|
|
3990
|
+
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ jsx31(TextSkeleton.Body, { className: "w-16 md:w-20" }, index))
|
|
4875
3991
|
}
|
|
4876
3992
|
);
|
|
4877
3993
|
}
|
|
@@ -4880,32 +3996,32 @@ function ProfileSkeleton({
|
|
|
4880
3996
|
showBio = true,
|
|
4881
3997
|
showStats = true
|
|
4882
3998
|
}) {
|
|
4883
|
-
return /* @__PURE__ */
|
|
4884
|
-
/* @__PURE__ */
|
|
4885
|
-
/* @__PURE__ */
|
|
4886
|
-
/* @__PURE__ */
|
|
4887
|
-
/* @__PURE__ */
|
|
4888
|
-
/* @__PURE__ */
|
|
4889
|
-
/* @__PURE__ */
|
|
3999
|
+
return /* @__PURE__ */ jsxs24("div", { className: cn("space-y-4", className), children: [
|
|
4000
|
+
/* @__PURE__ */ jsxs24("div", { className: "flex items-start gap-4", children: [
|
|
4001
|
+
/* @__PURE__ */ jsx31(MediaSkeleton.Avatar, { size: "lg" }),
|
|
4002
|
+
/* @__PURE__ */ jsxs24("div", { className: "flex-1 space-y-2", children: [
|
|
4003
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
4004
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Caption, { className: "w-1/3" }),
|
|
4005
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Body, { className: "w-2/3" })
|
|
4890
4006
|
] })
|
|
4891
4007
|
] }),
|
|
4892
|
-
showBio && /* @__PURE__ */
|
|
4893
|
-
/* @__PURE__ */
|
|
4894
|
-
/* @__PURE__ */
|
|
4895
|
-
/* @__PURE__ */
|
|
4008
|
+
showBio && /* @__PURE__ */ jsxs24("div", { className: "space-y-2", children: [
|
|
4009
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Body, { className: "w-full" }),
|
|
4010
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Body, { className: "w-4/5" }),
|
|
4011
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Body, { className: "w-3/4" })
|
|
4896
4012
|
] }),
|
|
4897
|
-
showStats && /* @__PURE__ */
|
|
4898
|
-
/* @__PURE__ */
|
|
4899
|
-
/* @__PURE__ */
|
|
4900
|
-
/* @__PURE__ */
|
|
4013
|
+
showStats && /* @__PURE__ */ jsxs24("div", { className: "flex gap-6", children: [
|
|
4014
|
+
/* @__PURE__ */ jsxs24("div", { className: "text-center", children: [
|
|
4015
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Subheading, { className: "w-8 mx-auto" }),
|
|
4016
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Caption, { className: "w-12 mx-auto" })
|
|
4901
4017
|
] }),
|
|
4902
|
-
/* @__PURE__ */
|
|
4903
|
-
/* @__PURE__ */
|
|
4904
|
-
/* @__PURE__ */
|
|
4018
|
+
/* @__PURE__ */ jsxs24("div", { className: "text-center", children: [
|
|
4019
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Subheading, { className: "w-8 mx-auto" }),
|
|
4020
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Caption, { className: "w-16 mx-auto" })
|
|
4905
4021
|
] }),
|
|
4906
|
-
/* @__PURE__ */
|
|
4907
|
-
/* @__PURE__ */
|
|
4908
|
-
/* @__PURE__ */
|
|
4022
|
+
/* @__PURE__ */ jsxs24("div", { className: "text-center", children: [
|
|
4023
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Subheading, { className: "w-8 mx-auto" }),
|
|
4024
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Caption, { className: "w-14 mx-auto" })
|
|
4909
4025
|
] })
|
|
4910
4026
|
] })
|
|
4911
4027
|
] });
|
|
@@ -4915,34 +4031,34 @@ function CommentSkeleton({
|
|
|
4915
4031
|
showRating = false,
|
|
4916
4032
|
showReplies = false
|
|
4917
4033
|
}) {
|
|
4918
|
-
return /* @__PURE__ */
|
|
4919
|
-
/* @__PURE__ */
|
|
4920
|
-
/* @__PURE__ */
|
|
4921
|
-
/* @__PURE__ */
|
|
4922
|
-
/* @__PURE__ */
|
|
4923
|
-
/* @__PURE__ */
|
|
4924
|
-
showRating && /* @__PURE__ */
|
|
4034
|
+
return /* @__PURE__ */ jsxs24("div", { className: cn("space-y-3", className), children: [
|
|
4035
|
+
/* @__PURE__ */ jsxs24("div", { className: "flex items-center gap-3", children: [
|
|
4036
|
+
/* @__PURE__ */ jsx31(MediaSkeleton.Avatar, { size: "sm" }),
|
|
4037
|
+
/* @__PURE__ */ jsxs24("div", { className: "flex-1 flex items-center gap-4", children: [
|
|
4038
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Body, { className: "w-24" }),
|
|
4039
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Caption, { className: "w-16" }),
|
|
4040
|
+
showRating && /* @__PURE__ */ jsx31("div", { className: "flex gap-1", children: Array.from({ length: 5 }).map((_, i) => /* @__PURE__ */ jsx31(MediaSkeleton.Icon, { size: "sm" }, i)) })
|
|
4925
4041
|
] })
|
|
4926
4042
|
] }),
|
|
4927
|
-
/* @__PURE__ */
|
|
4928
|
-
/* @__PURE__ */
|
|
4929
|
-
/* @__PURE__ */
|
|
4930
|
-
/* @__PURE__ */
|
|
4043
|
+
/* @__PURE__ */ jsxs24("div", { className: "ml-11 space-y-2", children: [
|
|
4044
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Body, { className: "w-full" }),
|
|
4045
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Body, { className: "w-3/4" }),
|
|
4046
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Body, { className: "w-1/2" })
|
|
4931
4047
|
] }),
|
|
4932
|
-
/* @__PURE__ */
|
|
4933
|
-
/* @__PURE__ */
|
|
4934
|
-
/* @__PURE__ */
|
|
4935
|
-
/* @__PURE__ */
|
|
4048
|
+
/* @__PURE__ */ jsxs24("div", { className: "ml-11 flex gap-4", children: [
|
|
4049
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Caption, { className: "w-12" }),
|
|
4050
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Caption, { className: "w-16" }),
|
|
4051
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Caption, { className: "w-8" })
|
|
4936
4052
|
] }),
|
|
4937
|
-
showReplies && /* @__PURE__ */
|
|
4938
|
-
/* @__PURE__ */
|
|
4939
|
-
/* @__PURE__ */
|
|
4940
|
-
/* @__PURE__ */
|
|
4941
|
-
/* @__PURE__ */
|
|
4053
|
+
showReplies && /* @__PURE__ */ jsx31("div", { className: "ml-11 pl-4 border-l border-ods-divider space-y-4", children: Array.from({ length: 2 }).map((_, index) => /* @__PURE__ */ jsxs24("div", { className: "space-y-2", children: [
|
|
4054
|
+
/* @__PURE__ */ jsxs24("div", { className: "flex items-center gap-3", children: [
|
|
4055
|
+
/* @__PURE__ */ jsx31(MediaSkeleton.Avatar, { size: "sm" }),
|
|
4056
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Body, { className: "w-20" }),
|
|
4057
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Caption, { className: "w-12" })
|
|
4942
4058
|
] }),
|
|
4943
|
-
/* @__PURE__ */
|
|
4944
|
-
/* @__PURE__ */
|
|
4945
|
-
/* @__PURE__ */
|
|
4059
|
+
/* @__PURE__ */ jsxs24("div", { className: "ml-11", children: [
|
|
4060
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Body, { className: "w-full" }),
|
|
4061
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Body, { className: "w-2/3" })
|
|
4946
4062
|
] })
|
|
4947
4063
|
] }, index)) })
|
|
4948
4064
|
] });
|
|
@@ -4954,35 +4070,35 @@ function FeatureListSkeleton({
|
|
|
4954
4070
|
grouped = false
|
|
4955
4071
|
}) {
|
|
4956
4072
|
if (grouped) {
|
|
4957
|
-
return /* @__PURE__ */
|
|
4958
|
-
/* @__PURE__ */
|
|
4959
|
-
/* @__PURE__ */
|
|
4960
|
-
showIcons && /* @__PURE__ */
|
|
4961
|
-
/* @__PURE__ */
|
|
4073
|
+
return /* @__PURE__ */ jsx31("div", { className: cn("space-y-6", className), children: Array.from({ length: 3 }).map((_, groupIndex) => /* @__PURE__ */ jsxs24("div", { className: "space-y-3", children: [
|
|
4074
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
4075
|
+
/* @__PURE__ */ jsx31("div", { className: "space-y-2", children: Array.from({ length: features / 3 }).map((_2, featureIndex) => /* @__PURE__ */ jsxs24("div", { className: "flex items-center gap-3", children: [
|
|
4076
|
+
showIcons && /* @__PURE__ */ jsx31(MediaSkeleton.Icon, { size: "sm" }),
|
|
4077
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Body, { className: "w-2/3" })
|
|
4962
4078
|
] }, featureIndex)) })
|
|
4963
4079
|
] }, groupIndex)) });
|
|
4964
4080
|
}
|
|
4965
|
-
return /* @__PURE__ */
|
|
4966
|
-
showIcons && /* @__PURE__ */
|
|
4967
|
-
/* @__PURE__ */
|
|
4081
|
+
return /* @__PURE__ */ jsx31("div", { className: cn("space-y-3", className), children: Array.from({ length: features }).map((_, index) => /* @__PURE__ */ jsxs24("div", { className: "flex items-center gap-3", children: [
|
|
4082
|
+
showIcons && /* @__PURE__ */ jsx31(MediaSkeleton.Icon, { size: "sm" }),
|
|
4083
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Body, { className: "w-2/3" })
|
|
4968
4084
|
] }, index)) });
|
|
4969
4085
|
}
|
|
4970
4086
|
function TimelineSkeleton({
|
|
4971
4087
|
className,
|
|
4972
4088
|
items = 5
|
|
4973
4089
|
}) {
|
|
4974
|
-
return /* @__PURE__ */
|
|
4975
|
-
/* @__PURE__ */
|
|
4976
|
-
/* @__PURE__ */
|
|
4977
|
-
index < items - 1 && /* @__PURE__ */
|
|
4090
|
+
return /* @__PURE__ */ jsx31("div", { className: cn("space-y-6", className), children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ jsxs24("div", { className: "flex gap-4", children: [
|
|
4091
|
+
/* @__PURE__ */ jsxs24("div", { className: "flex flex-col items-center", children: [
|
|
4092
|
+
/* @__PURE__ */ jsx31(MediaSkeleton.Icon, { size: "sm" }),
|
|
4093
|
+
index < items - 1 && /* @__PURE__ */ jsx31("div", { className: "w-px h-12 bg-ods-border mt-2" })
|
|
4978
4094
|
] }),
|
|
4979
|
-
/* @__PURE__ */
|
|
4980
|
-
/* @__PURE__ */
|
|
4981
|
-
/* @__PURE__ */
|
|
4982
|
-
/* @__PURE__ */
|
|
4095
|
+
/* @__PURE__ */ jsxs24("div", { className: "flex-1 space-y-2", children: [
|
|
4096
|
+
/* @__PURE__ */ jsxs24("div", { className: "flex items-center gap-3", children: [
|
|
4097
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Body, { className: "w-1/3" }),
|
|
4098
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Caption, { className: "w-16" })
|
|
4983
4099
|
] }),
|
|
4984
|
-
/* @__PURE__ */
|
|
4985
|
-
/* @__PURE__ */
|
|
4100
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Body, { className: "w-full" }),
|
|
4101
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Body, { className: "w-3/4" })
|
|
4986
4102
|
] })
|
|
4987
4103
|
] }, index)) });
|
|
4988
4104
|
}
|
|
@@ -4990,54 +4106,54 @@ function PricingSkeleton({
|
|
|
4990
4106
|
className,
|
|
4991
4107
|
plans = 3
|
|
4992
4108
|
}) {
|
|
4993
|
-
return /* @__PURE__ */
|
|
4109
|
+
return /* @__PURE__ */ jsx31("div", { className: cn(
|
|
4994
4110
|
"grid gap-6",
|
|
4995
4111
|
plans === 2 && "grid-cols-1 md:grid-cols-2",
|
|
4996
4112
|
plans === 3 && "grid-cols-1 md:grid-cols-3",
|
|
4997
4113
|
plans === 4 && "grid-cols-1 md:grid-cols-2 lg:grid-cols-4",
|
|
4998
4114
|
className
|
|
4999
|
-
), children: Array.from({ length: plans }).map((_, index) => /* @__PURE__ */
|
|
5000
|
-
/* @__PURE__ */
|
|
5001
|
-
/* @__PURE__ */
|
|
5002
|
-
/* @__PURE__ */
|
|
5003
|
-
/* @__PURE__ */
|
|
4115
|
+
), children: Array.from({ length: plans }).map((_, index) => /* @__PURE__ */ jsx31("div", { className: "bg-ods-card border border-ods-border rounded-lg p-6", children: /* @__PURE__ */ jsxs24("div", { className: "space-y-4", children: [
|
|
4116
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
4117
|
+
/* @__PURE__ */ jsxs24("div", { className: "space-y-1", children: [
|
|
4118
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Heading, { className: "w-1/3" }),
|
|
4119
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Caption, { className: "w-1/4" })
|
|
5004
4120
|
] }),
|
|
5005
|
-
/* @__PURE__ */
|
|
5006
|
-
/* @__PURE__ */
|
|
5007
|
-
/* @__PURE__ */
|
|
4121
|
+
/* @__PURE__ */ jsx31("div", { className: "space-y-3 py-4", children: Array.from({ length: 5 }).map((_2, featureIndex) => /* @__PURE__ */ jsxs24("div", { className: "flex items-center gap-2", children: [
|
|
4122
|
+
/* @__PURE__ */ jsx31(MediaSkeleton.Icon, { size: "sm" }),
|
|
4123
|
+
/* @__PURE__ */ jsx31(TextSkeleton.Body, { className: "w-3/4" })
|
|
5008
4124
|
] }, featureIndex)) }),
|
|
5009
|
-
/* @__PURE__ */
|
|
4125
|
+
/* @__PURE__ */ jsx31(InteractiveSkeleton.Button, { className: "w-full" })
|
|
5010
4126
|
] }) }, index)) });
|
|
5011
4127
|
}
|
|
5012
4128
|
|
|
5013
4129
|
// src/components/profile/ProfileLoadingSkeleton.tsx
|
|
5014
4130
|
init_cn();
|
|
5015
|
-
import { jsx as
|
|
4131
|
+
import { jsx as jsx32, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
5016
4132
|
function ProfileLoadingSkeleton({ className }) {
|
|
5017
|
-
return /* @__PURE__ */
|
|
5018
|
-
/* @__PURE__ */
|
|
5019
|
-
/* @__PURE__ */
|
|
5020
|
-
/* @__PURE__ */
|
|
5021
|
-
/* @__PURE__ */
|
|
5022
|
-
/* @__PURE__ */
|
|
4133
|
+
return /* @__PURE__ */ jsxs25("div", { className: cn("space-y-6", className), children: [
|
|
4134
|
+
/* @__PURE__ */ jsxs25("div", { className: "flex items-center space-x-4", children: [
|
|
4135
|
+
/* @__PURE__ */ jsx32("div", { className: "h-16 w-16 bg-gray-200 rounded-full animate-pulse" }),
|
|
4136
|
+
/* @__PURE__ */ jsxs25("div", { className: "space-y-2", children: [
|
|
4137
|
+
/* @__PURE__ */ jsx32("div", { className: "h-4 w-32 bg-gray-200 rounded animate-pulse" }),
|
|
4138
|
+
/* @__PURE__ */ jsx32("div", { className: "h-3 w-24 bg-gray-200 rounded animate-pulse" })
|
|
5023
4139
|
] })
|
|
5024
4140
|
] }),
|
|
5025
|
-
/* @__PURE__ */
|
|
5026
|
-
/* @__PURE__ */
|
|
5027
|
-
/* @__PURE__ */
|
|
5028
|
-
/* @__PURE__ */
|
|
4141
|
+
/* @__PURE__ */ jsxs25("div", { className: "space-y-4", children: [
|
|
4142
|
+
/* @__PURE__ */ jsx32("div", { className: "h-4 w-full bg-gray-200 rounded animate-pulse" }),
|
|
4143
|
+
/* @__PURE__ */ jsx32("div", { className: "h-4 w-3/4 bg-gray-200 rounded animate-pulse" }),
|
|
4144
|
+
/* @__PURE__ */ jsx32("div", { className: "h-4 w-1/2 bg-gray-200 rounded animate-pulse" })
|
|
5029
4145
|
] })
|
|
5030
4146
|
] });
|
|
5031
4147
|
}
|
|
5032
4148
|
|
|
5033
4149
|
// src/components/loading/msp-profile-form-skeleton.tsx
|
|
5034
4150
|
init_cn();
|
|
5035
|
-
import { jsx as
|
|
4151
|
+
import { jsx as jsx33, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
5036
4152
|
function MspProfileFormSkeleton({
|
|
5037
4153
|
className,
|
|
5038
4154
|
fields = 4
|
|
5039
4155
|
}) {
|
|
5040
|
-
return /* @__PURE__ */
|
|
4156
|
+
return /* @__PURE__ */ jsxs26(
|
|
5041
4157
|
"div",
|
|
5042
4158
|
{
|
|
5043
4159
|
className: cn(
|
|
@@ -5047,13 +4163,13 @@ function MspProfileFormSkeleton({
|
|
|
5047
4163
|
role: "status",
|
|
5048
4164
|
"aria-label": "Loading MSP profile form",
|
|
5049
4165
|
children: [
|
|
5050
|
-
/* @__PURE__ */
|
|
5051
|
-
/* @__PURE__ */
|
|
5052
|
-
/* @__PURE__ */
|
|
4166
|
+
/* @__PURE__ */ jsxs26("div", { className: "flex flex-col space-y-2 h-full", children: [
|
|
4167
|
+
/* @__PURE__ */ jsx33(TextSkeleton.Body, { className: "w-28" }),
|
|
4168
|
+
/* @__PURE__ */ jsx33("div", { className: "flex-1 min-h-[180px] md:min-h-full", children: /* @__PURE__ */ jsx33(UnifiedSkeleton, { className: "w-full h-full rounded-lg", "aria-label": "Loading company logo" }) })
|
|
5053
4169
|
] }),
|
|
5054
|
-
/* @__PURE__ */
|
|
5055
|
-
/* @__PURE__ */
|
|
5056
|
-
/* @__PURE__ */
|
|
4170
|
+
/* @__PURE__ */ jsx33("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: Array.from({ length: fields }).map((_, idx) => /* @__PURE__ */ jsxs26("div", { className: "space-y-2 flex flex-col", children: [
|
|
4171
|
+
/* @__PURE__ */ jsx33(TextSkeleton.Body, { className: "w-40" }),
|
|
4172
|
+
/* @__PURE__ */ jsx33(InteractiveSkeleton.Input, {})
|
|
5057
4173
|
] }, idx)) })
|
|
5058
4174
|
]
|
|
5059
4175
|
}
|
|
@@ -5062,9 +4178,9 @@ function MspProfileFormSkeleton({
|
|
|
5062
4178
|
|
|
5063
4179
|
// src/components/loading/category-card-skeleton.tsx
|
|
5064
4180
|
init_cn();
|
|
5065
|
-
import { jsx as
|
|
4181
|
+
import { jsx as jsx34, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
5066
4182
|
function CategoryCardSkeleton({ className }) {
|
|
5067
|
-
return /* @__PURE__ */
|
|
4183
|
+
return /* @__PURE__ */ jsxs27(
|
|
5068
4184
|
"article",
|
|
5069
4185
|
{
|
|
5070
4186
|
className: cn(
|
|
@@ -5074,7 +4190,7 @@ function CategoryCardSkeleton({ className }) {
|
|
|
5074
4190
|
role: "status",
|
|
5075
4191
|
"aria-label": "Loading category card",
|
|
5076
4192
|
children: [
|
|
5077
|
-
/* @__PURE__ */
|
|
4193
|
+
/* @__PURE__ */ jsx34("div", { className: "flex gap-6 mb-8 justify-center items-center", children: Array.from({ length: 10 }).map((_, i) => /* @__PURE__ */ jsx34(
|
|
5078
4194
|
UnifiedSkeleton,
|
|
5079
4195
|
{
|
|
5080
4196
|
variant: "circular",
|
|
@@ -5083,12 +4199,12 @@ function CategoryCardSkeleton({ className }) {
|
|
|
5083
4199
|
},
|
|
5084
4200
|
i
|
|
5085
4201
|
)) }),
|
|
5086
|
-
/* @__PURE__ */
|
|
5087
|
-
/* @__PURE__ */
|
|
5088
|
-
/* @__PURE__ */
|
|
5089
|
-
/* @__PURE__ */
|
|
4202
|
+
/* @__PURE__ */ jsxs27("div", { className: "flex-1 flex flex-col space-y-3", children: [
|
|
4203
|
+
/* @__PURE__ */ jsx34(TextSkeleton.Heading, { className: "w-3/4" }),
|
|
4204
|
+
/* @__PURE__ */ jsx34(TextSkeleton.Body, { className: "w-1/2" }),
|
|
4205
|
+
/* @__PURE__ */ jsx34(TextSkeleton.Body, { className: "w-full" })
|
|
5090
4206
|
] }),
|
|
5091
|
-
/* @__PURE__ */
|
|
4207
|
+
/* @__PURE__ */ jsx34("div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ jsx34(UnifiedSkeleton, { className: "w-12 h-12 rounded-[6px]", "aria-label": "Loading button" }) })
|
|
5092
4208
|
]
|
|
5093
4209
|
}
|
|
5094
4210
|
);
|
|
@@ -5096,22 +4212,22 @@ function CategoryCardSkeleton({ className }) {
|
|
|
5096
4212
|
|
|
5097
4213
|
// src/components/loading/category-vendor-selector-skeleton.tsx
|
|
5098
4214
|
init_cn();
|
|
5099
|
-
import { jsx as
|
|
4215
|
+
import { jsx as jsx35, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
5100
4216
|
function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
5101
|
-
return /* @__PURE__ */
|
|
4217
|
+
return /* @__PURE__ */ jsxs28(
|
|
5102
4218
|
"div",
|
|
5103
4219
|
{
|
|
5104
4220
|
className: cn("bg-ods-card border border-ods-border rounded-lg p-6", className),
|
|
5105
4221
|
role: "status",
|
|
5106
4222
|
"aria-label": "Loading category section",
|
|
5107
4223
|
children: [
|
|
5108
|
-
/* @__PURE__ */
|
|
5109
|
-
/* @__PURE__ */
|
|
5110
|
-
/* @__PURE__ */
|
|
4224
|
+
/* @__PURE__ */ jsxs28("div", { className: "mb-6 space-y-2 max-w-xl", children: [
|
|
4225
|
+
/* @__PURE__ */ jsx35(TextSkeleton.Heading, { className: "w-1/2" }),
|
|
4226
|
+
/* @__PURE__ */ jsx35(TextSkeleton.Body, { className: "w-3/4" })
|
|
5111
4227
|
] }),
|
|
5112
|
-
/* @__PURE__ */
|
|
5113
|
-
/* @__PURE__ */
|
|
5114
|
-
/* @__PURE__ */
|
|
4228
|
+
/* @__PURE__ */ jsx35("div", { className: "space-y-6", children: Array.from({ length: subcategories }).map((_, idx) => /* @__PURE__ */ jsxs28("div", { className: "space-y-2", children: [
|
|
4229
|
+
/* @__PURE__ */ jsx35(TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
4230
|
+
/* @__PURE__ */ jsx35("div", { className: "grid grid-cols-2 md:grid-cols-3 gap-4", children: Array.from({ length: 2 }).map((__, j) => /* @__PURE__ */ jsx35(UnifiedSkeleton, { className: "h-20 rounded-lg" }, j)) })
|
|
5115
4231
|
] }, idx)) })
|
|
5116
4232
|
]
|
|
5117
4233
|
}
|
|
@@ -5120,90 +4236,90 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
5120
4236
|
|
|
5121
4237
|
// src/components/loading/wizard-layout-skeleton.tsx
|
|
5122
4238
|
init_cn();
|
|
5123
|
-
import { jsx as
|
|
4239
|
+
import { jsx as jsx36, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
5124
4240
|
function WizardLayoutSkeleton({ steps = 6, className }) {
|
|
5125
|
-
return /* @__PURE__ */
|
|
5126
|
-
/* @__PURE__ */
|
|
5127
|
-
/* @__PURE__ */
|
|
5128
|
-
/* @__PURE__ */
|
|
5129
|
-
/* @__PURE__ */
|
|
4241
|
+
return /* @__PURE__ */ jsxs29("div", { className: cn("space-y-6", className), role: "status", "aria-label": "Loading wizard layout", children: [
|
|
4242
|
+
/* @__PURE__ */ jsx36("div", { className: "flex flex-wrap items-center gap-2", children: Array.from({ length: steps }).map((_, i) => /* @__PURE__ */ jsx36(UnifiedSkeleton, { className: "h-6 w-24 rounded" }, i)) }),
|
|
4243
|
+
/* @__PURE__ */ jsxs29("div", { className: "space-y-2 max-w-2xl", children: [
|
|
4244
|
+
/* @__PURE__ */ jsx36(TextSkeleton.Heading, { className: "w-2/3" }),
|
|
4245
|
+
/* @__PURE__ */ jsx36(TextSkeleton.Body, { className: "w-1/2" })
|
|
5130
4246
|
] }),
|
|
5131
|
-
/* @__PURE__ */
|
|
5132
|
-
/* @__PURE__ */
|
|
5133
|
-
/* @__PURE__ */
|
|
4247
|
+
/* @__PURE__ */ jsxs29("div", { className: "flex justify-between mt-10", children: [
|
|
4248
|
+
/* @__PURE__ */ jsx36(UnifiedSkeleton, { className: "h-10 w-24 rounded" }),
|
|
4249
|
+
/* @__PURE__ */ jsx36(UnifiedSkeleton, { className: "h-10 w-32 rounded" })
|
|
5134
4250
|
] })
|
|
5135
4251
|
] });
|
|
5136
4252
|
}
|
|
5137
4253
|
|
|
5138
4254
|
// src/components/loading/margin-report-skeleton.tsx
|
|
5139
|
-
import { jsx as
|
|
4255
|
+
import { jsx as jsx37, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
5140
4256
|
function MarginReportSkeleton({ animate = true, description, overlayContent }) {
|
|
5141
|
-
return /* @__PURE__ */
|
|
5142
|
-
/* @__PURE__ */
|
|
5143
|
-
/* @__PURE__ */
|
|
5144
|
-
/* @__PURE__ */
|
|
5145
|
-
/* @__PURE__ */
|
|
4257
|
+
return /* @__PURE__ */ jsxs30("main", { className: `bg-ods-bg ${animate ? "animate-pulse" : ""} relative min-h-screen`, children: [
|
|
4258
|
+
/* @__PURE__ */ jsxs30("div", { className: "max-w-[1920px] px-6 md:px-20 py-6 md:py-10 mx-auto space-y-10", children: [
|
|
4259
|
+
/* @__PURE__ */ jsxs30("div", { className: "space-y-3", children: [
|
|
4260
|
+
/* @__PURE__ */ jsx37("div", { className: "h-10 w-72 bg-[#2A2A2A] rounded" }),
|
|
4261
|
+
/* @__PURE__ */ jsx37("div", { className: "h-4 w-80 bg-[#2A2A2A] rounded" })
|
|
5146
4262
|
] }),
|
|
5147
|
-
/* @__PURE__ */
|
|
5148
|
-
/* @__PURE__ */
|
|
5149
|
-
/* @__PURE__ */
|
|
5150
|
-
/* @__PURE__ */
|
|
5151
|
-
/* @__PURE__ */
|
|
5152
|
-
/* @__PURE__ */
|
|
5153
|
-
/* @__PURE__ */
|
|
4263
|
+
/* @__PURE__ */ jsx37("div", { className: "grid grid-cols-1 md:grid-cols-3 gap-6", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ jsx37("div", { className: "h-32 bg-ods-card border border-ods-border rounded" }, i)) }),
|
|
4264
|
+
/* @__PURE__ */ jsxs30("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-6", children: [
|
|
4265
|
+
/* @__PURE__ */ jsxs30("div", { className: "bg-ods-card border border-ods-border rounded-lg p-6 flex items-center gap-4 animate-pulse", children: [
|
|
4266
|
+
/* @__PURE__ */ jsx37("div", { className: "w-14 h-14 rounded-lg bg-[#2A2A2A]" }),
|
|
4267
|
+
/* @__PURE__ */ jsxs30("div", { className: "flex-1 space-y-2", children: [
|
|
4268
|
+
/* @__PURE__ */ jsx37("div", { className: "h-4 bg-[#2A2A2A] rounded w-3/4" }),
|
|
4269
|
+
/* @__PURE__ */ jsx37("div", { className: "h-3 bg-[#2A2A2A] rounded w-1/2" })
|
|
5154
4270
|
] })
|
|
5155
4271
|
] }),
|
|
5156
|
-
/* @__PURE__ */
|
|
5157
|
-
/* @__PURE__ */
|
|
5158
|
-
/* @__PURE__ */
|
|
5159
|
-
/* @__PURE__ */
|
|
5160
|
-
/* @__PURE__ */
|
|
5161
|
-
/* @__PURE__ */
|
|
5162
|
-
/* @__PURE__ */
|
|
4272
|
+
/* @__PURE__ */ jsxs30("div", { className: "bg-ods-card border border-ods-border rounded-lg p-6 flex flex-col gap-4 animate-pulse", children: [
|
|
4273
|
+
/* @__PURE__ */ jsxs30("div", { className: "flex items-center justify-between gap-4", children: [
|
|
4274
|
+
/* @__PURE__ */ jsxs30("div", { className: "flex items-center gap-2", children: [
|
|
4275
|
+
/* @__PURE__ */ jsx37("div", { className: "w-10 h-10 rounded-lg bg-[#2A2A2A]" }),
|
|
4276
|
+
/* @__PURE__ */ jsxs30("div", { className: "space-y-1", children: [
|
|
4277
|
+
/* @__PURE__ */ jsx37("div", { className: "h-4 w-32 bg-[#2A2A2A] rounded" }),
|
|
4278
|
+
/* @__PURE__ */ jsx37("div", { className: "h-3 w-20 bg-[#2A2A2A] rounded" })
|
|
5163
4279
|
] })
|
|
5164
4280
|
] }),
|
|
5165
|
-
/* @__PURE__ */
|
|
4281
|
+
/* @__PURE__ */ jsx37("div", { className: "h-6 w-36 bg-[#2A2A2A] rounded" })
|
|
5166
4282
|
] }),
|
|
5167
|
-
/* @__PURE__ */
|
|
4283
|
+
/* @__PURE__ */ jsx37("div", { className: "h-4 w-40 bg-[#2A2A2A] rounded mt-4" })
|
|
5168
4284
|
] })
|
|
5169
4285
|
] }),
|
|
5170
|
-
/* @__PURE__ */
|
|
5171
|
-
/* @__PURE__ */
|
|
5172
|
-
/* @__PURE__ */
|
|
5173
|
-
/* @__PURE__ */
|
|
5174
|
-
/* @__PURE__ */
|
|
5175
|
-
/* @__PURE__ */
|
|
4286
|
+
/* @__PURE__ */ jsx37("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-6", children: ["Commercial Stack", "Open-Source Stack"].map((label, idx) => /* @__PURE__ */ jsxs30("div", { className: "bg-ods-card border border-ods-border rounded-lg overflow-hidden flex flex-col animate-pulse", children: [
|
|
4287
|
+
/* @__PURE__ */ jsxs30("div", { className: "flex items-center justify-between px-6 py-4", children: [
|
|
4288
|
+
/* @__PURE__ */ jsx37("div", { className: "h-6 w-40 bg-[#2A2A2A] rounded" }),
|
|
4289
|
+
/* @__PURE__ */ jsxs30("div", { className: "flex items-center gap-2", children: [
|
|
4290
|
+
/* @__PURE__ */ jsx37("div", { className: "h-5 w-20 bg-[#2A2A2A] rounded" }),
|
|
4291
|
+
/* @__PURE__ */ jsx37("div", { className: "h-4 w-10 bg-[#2A2A2A] rounded" })
|
|
5176
4292
|
] })
|
|
5177
4293
|
] }),
|
|
5178
|
-
/* @__PURE__ */
|
|
5179
|
-
/* @__PURE__ */
|
|
5180
|
-
/* @__PURE__ */
|
|
5181
|
-
/* @__PURE__ */
|
|
5182
|
-
/* @__PURE__ */
|
|
5183
|
-
/* @__PURE__ */
|
|
4294
|
+
/* @__PURE__ */ jsx37("div", { className: "flex-1 flex flex-col gap-3 p-3", children: Array.from({ length: 5 }).map((_, j) => /* @__PURE__ */ jsxs30("div", { className: "bg-ods-bg border border-ods-border rounded-lg px-4 py-3 flex items-center justify-between", children: [
|
|
4295
|
+
/* @__PURE__ */ jsxs30("div", { className: "flex items-center gap-3 min-w-0", children: [
|
|
4296
|
+
/* @__PURE__ */ jsx37("div", { className: "w-12 h-12 bg-[#2A2A2A] rounded-lg flex-shrink-0" }),
|
|
4297
|
+
/* @__PURE__ */ jsxs30("div", { className: "flex flex-col min-w-0", children: [
|
|
4298
|
+
/* @__PURE__ */ jsx37("div", { className: "h-4 w-32 bg-[#2A2A2A] rounded" }),
|
|
4299
|
+
/* @__PURE__ */ jsx37("div", { className: "hidden md:block h-3 w-24 bg-[#2A2A2A] rounded mt-1" })
|
|
5184
4300
|
] })
|
|
5185
4301
|
] }),
|
|
5186
|
-
/* @__PURE__ */
|
|
5187
|
-
/* @__PURE__ */
|
|
5188
|
-
/* @__PURE__ */
|
|
4302
|
+
/* @__PURE__ */ jsxs30("div", { className: "flex items-center gap-1 flex-shrink-0", children: [
|
|
4303
|
+
/* @__PURE__ */ jsx37("div", { className: "h-4 w-16 bg-[#2A2A2A] rounded" }),
|
|
4304
|
+
/* @__PURE__ */ jsx37("div", { className: "h-3 w-8 bg-[#2A2A2A] rounded" })
|
|
5189
4305
|
] })
|
|
5190
4306
|
] }, j)) })
|
|
5191
4307
|
] }, idx)) }),
|
|
5192
|
-
/* @__PURE__ */
|
|
5193
|
-
/* @__PURE__ */
|
|
5194
|
-
/* @__PURE__ */
|
|
5195
|
-
/* @__PURE__ */
|
|
5196
|
-
/* @__PURE__ */
|
|
5197
|
-
/* @__PURE__ */
|
|
5198
|
-
/* @__PURE__ */
|
|
4308
|
+
/* @__PURE__ */ jsx37("div", { className: "h-6 w-60 bg-[#2A2A2A] rounded" }),
|
|
4309
|
+
/* @__PURE__ */ jsx37("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ jsx37("div", { className: "h-48 bg-ods-card border border-ods-border rounded" }, i)) }),
|
|
4310
|
+
/* @__PURE__ */ jsxs30("div", { className: "border border-ods-border rounded-3xl p-8 space-y-6", children: [
|
|
4311
|
+
/* @__PURE__ */ jsxs30("div", { className: "flex items-start gap-6", children: [
|
|
4312
|
+
/* @__PURE__ */ jsxs30("div", { className: "flex-1 space-y-2 min-w-0", children: [
|
|
4313
|
+
/* @__PURE__ */ jsx37("div", { className: "h-8 w-72 bg-[#2A2A2A] rounded" }),
|
|
4314
|
+
/* @__PURE__ */ jsx37("div", { className: "h-4 w-3/4 bg-[#2A2A2A] rounded" })
|
|
5199
4315
|
] }),
|
|
5200
|
-
/* @__PURE__ */
|
|
4316
|
+
/* @__PURE__ */ jsx37("div", { className: "w-12 h-12 bg-[#2A2A2A] rounded-md shrink-0" })
|
|
5201
4317
|
] }),
|
|
5202
|
-
/* @__PURE__ */
|
|
4318
|
+
/* @__PURE__ */ jsx37("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ jsx37("div", { className: "h-32 bg-ods-card border border-ods-border rounded" }, i)) })
|
|
5203
4319
|
] })
|
|
5204
4320
|
] }),
|
|
5205
|
-
overlayContent && /* @__PURE__ */
|
|
5206
|
-
description && /* @__PURE__ */
|
|
4321
|
+
overlayContent && /* @__PURE__ */ jsx37("div", { className: "absolute inset-0 bg-ods-card/80 z-10 rounded-lg pointer-events-none", children: /* @__PURE__ */ jsxs30("div", { className: "fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 pointer-events-auto flex flex-col items-center gap-4 text-center px-4", children: [
|
|
4322
|
+
description && /* @__PURE__ */ jsx37("h3", { children: description }),
|
|
5207
4323
|
overlayContent
|
|
5208
4324
|
] }) })
|
|
5209
4325
|
] });
|
|
@@ -5211,18 +4327,18 @@ function MarginReportSkeleton({ animate = true, description, overlayContent }) {
|
|
|
5211
4327
|
|
|
5212
4328
|
// src/components/loading/users-grid-skeleton.tsx
|
|
5213
4329
|
init_cn();
|
|
5214
|
-
import { jsx as
|
|
4330
|
+
import { jsx as jsx38, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
5215
4331
|
function UsersGridSkeleton({ rows = 10, className }) {
|
|
5216
4332
|
const skeletonRows = Array.from({ length: rows });
|
|
5217
|
-
return /* @__PURE__ */
|
|
5218
|
-
/* @__PURE__ */
|
|
5219
|
-
/* @__PURE__ */
|
|
4333
|
+
return /* @__PURE__ */ jsx38("div", { className: cn("overflow-x-auto rounded-lg border border-ods-border bg-ods-card animate-pulse", className), children: /* @__PURE__ */ jsxs31("table", { className: "min-w-full divide-y divide-ods-border", children: [
|
|
4334
|
+
/* @__PURE__ */ jsx38("thead", { className: "bg-[#2A2A2A]", children: /* @__PURE__ */ jsx38("tr", { children: ["Name", "Email", "Role", "Created", "Last Sign-In"].map((h) => /* @__PURE__ */ jsx38("th", { className: "px-4 py-3 text-left text-[12px] font-medium text-ods-text-primary font-['DM_Sans']", children: h }, h)) }) }),
|
|
4335
|
+
/* @__PURE__ */ jsx38("tbody", { className: "divide-y divide-ods-border", children: skeletonRows.map((_, idx) => /* @__PURE__ */ jsx38("tr", { children: Array.from({ length: 5 }).map((__, cell) => /* @__PURE__ */ jsx38("td", { className: "px-4 py-3 whitespace-nowrap", children: /* @__PURE__ */ jsx38("div", { className: "h-4 bg-ods-border rounded w-full" }) }, cell)) }, idx)) })
|
|
5220
4336
|
] }) });
|
|
5221
4337
|
}
|
|
5222
4338
|
|
|
5223
4339
|
// src/components/loading/organization-icon-skeleton.tsx
|
|
5224
4340
|
init_cn();
|
|
5225
|
-
import { jsx as
|
|
4341
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
5226
4342
|
var sizeClasses2 = {
|
|
5227
4343
|
xs: "w-6 h-6",
|
|
5228
4344
|
sm: "w-8 h-8",
|
|
@@ -5249,27 +4365,27 @@ function OrganizationIconSkeleton({
|
|
|
5249
4365
|
!showBackground && "overflow-hidden",
|
|
5250
4366
|
className
|
|
5251
4367
|
);
|
|
5252
|
-
return /* @__PURE__ */
|
|
4368
|
+
return /* @__PURE__ */ jsx39(
|
|
5253
4369
|
"div",
|
|
5254
4370
|
{
|
|
5255
4371
|
className: containerClasses,
|
|
5256
4372
|
role: "status",
|
|
5257
4373
|
"aria-label": "Loading organization icon",
|
|
5258
|
-
children: /* @__PURE__ */
|
|
4374
|
+
children: /* @__PURE__ */ jsx39("div", { className: "w-1/2 h-1/2 bg-ods-border rounded-sm animate-pulse" })
|
|
5259
4375
|
}
|
|
5260
4376
|
);
|
|
5261
4377
|
}
|
|
5262
4378
|
|
|
5263
4379
|
// src/components/loading/organization-card-skeleton.tsx
|
|
5264
4380
|
init_cn();
|
|
5265
|
-
import { jsx as
|
|
4381
|
+
import { jsx as jsx40, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
5266
4382
|
function OrganizationCardSkeleton({
|
|
5267
4383
|
className,
|
|
5268
4384
|
containerClassName,
|
|
5269
4385
|
showFooter = true,
|
|
5270
4386
|
showDescription = true
|
|
5271
4387
|
}) {
|
|
5272
|
-
return /* @__PURE__ */
|
|
4388
|
+
return /* @__PURE__ */ jsx40(
|
|
5273
4389
|
"div",
|
|
5274
4390
|
{
|
|
5275
4391
|
className: cn(
|
|
@@ -5279,9 +4395,9 @@ function OrganizationCardSkeleton({
|
|
|
5279
4395
|
),
|
|
5280
4396
|
role: "status",
|
|
5281
4397
|
"aria-label": "Loading organization card",
|
|
5282
|
-
children: /* @__PURE__ */
|
|
5283
|
-
/* @__PURE__ */
|
|
5284
|
-
/* @__PURE__ */
|
|
4398
|
+
children: /* @__PURE__ */ jsxs32("div", { className: "p-4 gap-3 flex flex-col", children: [
|
|
4399
|
+
/* @__PURE__ */ jsxs32("div", { className: "flex items-start gap-3 w-full", children: [
|
|
4400
|
+
/* @__PURE__ */ jsx40(
|
|
5285
4401
|
OrganizationIconSkeleton,
|
|
5286
4402
|
{
|
|
5287
4403
|
size: "xl",
|
|
@@ -5290,29 +4406,29 @@ function OrganizationCardSkeleton({
|
|
|
5290
4406
|
className: "w-[60px] h-[60px]"
|
|
5291
4407
|
}
|
|
5292
4408
|
),
|
|
5293
|
-
/* @__PURE__ */
|
|
5294
|
-
/* @__PURE__ */
|
|
5295
|
-
/* @__PURE__ */
|
|
4409
|
+
/* @__PURE__ */ jsxs32("div", { className: "flex-1 flex flex-col justify-center py-2 min-w-0 space-y-1", children: [
|
|
4410
|
+
/* @__PURE__ */ jsx40(TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
4411
|
+
/* @__PURE__ */ jsx40(TextSkeleton.Caption, { className: "w-1/2" })
|
|
5296
4412
|
] })
|
|
5297
4413
|
] }),
|
|
5298
|
-
showDescription && /* @__PURE__ */
|
|
5299
|
-
/* @__PURE__ */
|
|
5300
|
-
/* @__PURE__ */
|
|
4414
|
+
showDescription && /* @__PURE__ */ jsx40("div", { className: "w-full h-12 overflow-hidden flex items-center", children: /* @__PURE__ */ jsxs32("div", { className: "space-y-1 w-full", children: [
|
|
4415
|
+
/* @__PURE__ */ jsx40(TextSkeleton.Body, { className: "w-full" }),
|
|
4416
|
+
/* @__PURE__ */ jsx40(TextSkeleton.Body, { className: "w-2/3" })
|
|
5301
4417
|
] }) }),
|
|
5302
|
-
showFooter && /* @__PURE__ */
|
|
5303
|
-
/* @__PURE__ */
|
|
5304
|
-
/* @__PURE__ */
|
|
5305
|
-
/* @__PURE__ */
|
|
5306
|
-
/* @__PURE__ */
|
|
4418
|
+
showFooter && /* @__PURE__ */ jsxs32("div", { className: "flex items-center justify-between gap-2 w-full min-w-0", children: [
|
|
4419
|
+
/* @__PURE__ */ jsxs32("div", { className: "flex items-center gap-3 md:gap-4 min-w-0 flex-shrink", children: [
|
|
4420
|
+
/* @__PURE__ */ jsxs32("div", { className: "flex items-center gap-1 flex-shrink-0", children: [
|
|
4421
|
+
/* @__PURE__ */ jsx40(MediaSkeleton.Icon, { size: "sm", className: "w-5 h-5" }),
|
|
4422
|
+
/* @__PURE__ */ jsx40(TextSkeleton.Caption, { className: "w-8" })
|
|
5307
4423
|
] }),
|
|
5308
|
-
/* @__PURE__ */
|
|
5309
|
-
/* @__PURE__ */
|
|
5310
|
-
/* @__PURE__ */
|
|
4424
|
+
/* @__PURE__ */ jsxs32("div", { className: "flex items-center gap-1 flex-shrink-0", children: [
|
|
4425
|
+
/* @__PURE__ */ jsx40(MediaSkeleton.Icon, { size: "sm", className: "w-5 h-5" }),
|
|
4426
|
+
/* @__PURE__ */ jsx40(TextSkeleton.Caption, { className: "w-10" })
|
|
5311
4427
|
] })
|
|
5312
4428
|
] }),
|
|
5313
|
-
/* @__PURE__ */
|
|
5314
|
-
/* @__PURE__ */
|
|
5315
|
-
/* @__PURE__ */
|
|
4429
|
+
/* @__PURE__ */ jsx40("div", { className: "flex-shrink-0", children: /* @__PURE__ */ jsxs32("div", { className: "flex items-center gap-1.5 bg-ods-bg border border-ods-border rounded px-2.5 py-1.5", children: [
|
|
4430
|
+
/* @__PURE__ */ jsx40("div", { className: "w-4 h-4 bg-ods-border rounded-sm flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsx40(MediaSkeleton.Icon, { size: "sm", className: "w-2.5 h-2.5" }) }),
|
|
4431
|
+
/* @__PURE__ */ jsx40(TextSkeleton.Caption, { className: "w-16" })
|
|
5316
4432
|
] }) })
|
|
5317
4433
|
] })
|
|
5318
4434
|
] })
|
|
@@ -5326,7 +4442,7 @@ function OrganizationCardSkeletonGrid({
|
|
|
5326
4442
|
showFooter = true,
|
|
5327
4443
|
showDescription = true
|
|
5328
4444
|
}) {
|
|
5329
|
-
return /* @__PURE__ */
|
|
4445
|
+
return /* @__PURE__ */ jsx40(
|
|
5330
4446
|
"div",
|
|
5331
4447
|
{
|
|
5332
4448
|
className: cn(
|
|
@@ -5335,7 +4451,7 @@ function OrganizationCardSkeletonGrid({
|
|
|
5335
4451
|
),
|
|
5336
4452
|
role: "status",
|
|
5337
4453
|
"aria-label": `Loading ${count} organization cards`,
|
|
5338
|
-
children: Array.from({ length: count }, (_, index) => /* @__PURE__ */
|
|
4454
|
+
children: Array.from({ length: count }, (_, index) => /* @__PURE__ */ jsx40(
|
|
5339
4455
|
OrganizationCardSkeleton,
|
|
5340
4456
|
{
|
|
5341
4457
|
containerClassName,
|
|
@@ -5350,9 +4466,9 @@ function OrganizationCardSkeletonGrid({
|
|
|
5350
4466
|
|
|
5351
4467
|
// src/components/loading/device-card-skeleton.tsx
|
|
5352
4468
|
init_cn();
|
|
5353
|
-
import { jsx as
|
|
4469
|
+
import { jsx as jsx41, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
5354
4470
|
function DeviceCardSkeleton({ className }) {
|
|
5355
|
-
return /* @__PURE__ */
|
|
4471
|
+
return /* @__PURE__ */ jsxs33(
|
|
5356
4472
|
"div",
|
|
5357
4473
|
{
|
|
5358
4474
|
className: cn(
|
|
@@ -5362,19 +4478,19 @@ function DeviceCardSkeleton({ className }) {
|
|
|
5362
4478
|
role: "status",
|
|
5363
4479
|
"aria-label": "Loading device card",
|
|
5364
4480
|
children: [
|
|
5365
|
-
/* @__PURE__ */
|
|
5366
|
-
/* @__PURE__ */
|
|
5367
|
-
/* @__PURE__ */
|
|
5368
|
-
/* @__PURE__ */
|
|
4481
|
+
/* @__PURE__ */ jsxs33("div", { className: "flex gap-4 items-center px-4 py-3", children: [
|
|
4482
|
+
/* @__PURE__ */ jsx41("div", { className: "w-8 h-8 bg-ods-bg border border-ods-border rounded-[6px] flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsx41("div", { className: "w-4 h-4 bg-ods-border rounded animate-pulse" }) }),
|
|
4483
|
+
/* @__PURE__ */ jsx41("div", { className: "flex-1 min-w-0", children: /* @__PURE__ */ jsx41("div", { className: "h-6 w-3/4 bg-ods-border rounded animate-pulse" }) }),
|
|
4484
|
+
/* @__PURE__ */ jsx41("div", { className: "w-12 h-12 bg-ods-border rounded-[6px] flex-shrink-0 animate-pulse" })
|
|
5369
4485
|
] }),
|
|
5370
|
-
/* @__PURE__ */
|
|
5371
|
-
/* @__PURE__ */
|
|
5372
|
-
/* @__PURE__ */
|
|
5373
|
-
/* @__PURE__ */
|
|
4486
|
+
/* @__PURE__ */ jsxs33("div", { className: "flex gap-4 items-center px-4 py-2", children: [
|
|
4487
|
+
/* @__PURE__ */ jsx41("div", { className: "w-24 h-6 bg-ods-border rounded flex-shrink-0 animate-pulse" }),
|
|
4488
|
+
/* @__PURE__ */ jsx41(OrganizationIconSkeleton, { size: "sm" }),
|
|
4489
|
+
/* @__PURE__ */ jsx41("div", { className: "flex-1 min-w-0", children: /* @__PURE__ */ jsx41("div", { className: "h-5 w-1/2 bg-ods-border rounded animate-pulse" }) })
|
|
5374
4490
|
] }),
|
|
5375
|
-
/* @__PURE__ */
|
|
5376
|
-
/* @__PURE__ */
|
|
5377
|
-
/* @__PURE__ */
|
|
4491
|
+
/* @__PURE__ */ jsxs33("div", { className: "flex gap-4 items-center px-4 py-2", children: [
|
|
4492
|
+
/* @__PURE__ */ jsx41("div", { className: "w-20 h-6 bg-ods-border rounded-full flex-shrink-0 animate-pulse" }),
|
|
4493
|
+
/* @__PURE__ */ jsx41("div", { className: "flex-1", children: /* @__PURE__ */ jsx41("div", { className: "h-5 w-40 bg-ods-border rounded animate-pulse" }) })
|
|
5378
4494
|
] })
|
|
5379
4495
|
]
|
|
5380
4496
|
}
|
|
@@ -5384,7 +4500,7 @@ function DeviceCardSkeletonGrid({
|
|
|
5384
4500
|
count = 12,
|
|
5385
4501
|
className
|
|
5386
4502
|
}) {
|
|
5387
|
-
return /* @__PURE__ */
|
|
4503
|
+
return /* @__PURE__ */ jsx41(
|
|
5388
4504
|
"div",
|
|
5389
4505
|
{
|
|
5390
4506
|
className: cn(
|
|
@@ -5393,22 +4509,22 @@ function DeviceCardSkeletonGrid({
|
|
|
5393
4509
|
),
|
|
5394
4510
|
role: "status",
|
|
5395
4511
|
"aria-label": `Loading ${count} device cards`,
|
|
5396
|
-
children: Array.from({ length: count }, (_, index) => /* @__PURE__ */
|
|
4512
|
+
children: Array.from({ length: count }, (_, index) => /* @__PURE__ */ jsx41(DeviceCardSkeleton, {}, index))
|
|
5397
4513
|
}
|
|
5398
4514
|
);
|
|
5399
4515
|
}
|
|
5400
4516
|
|
|
5401
4517
|
// src/components/vendor-page-skeleton.tsx
|
|
5402
|
-
import { jsx as
|
|
4518
|
+
import { jsx as jsx42 } from "react/jsx-runtime";
|
|
5403
4519
|
function VendorPageSkeleton() {
|
|
5404
|
-
return /* @__PURE__ */
|
|
4520
|
+
return /* @__PURE__ */ jsx42(VendorDetailLayoutSkeleton, {});
|
|
5405
4521
|
}
|
|
5406
4522
|
|
|
5407
4523
|
// src/components/why-it-matters.tsx
|
|
5408
|
-
import { jsx as
|
|
4524
|
+
import { jsx as jsx43, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
5409
4525
|
|
|
5410
4526
|
// src/components/yes-no-display.tsx
|
|
5411
|
-
import { jsx as
|
|
4527
|
+
import { jsx as jsx44, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
5412
4528
|
function YesNoDisplay({
|
|
5413
4529
|
value,
|
|
5414
4530
|
yesText = "Yes",
|
|
@@ -5417,20 +4533,20 @@ function YesNoDisplay({
|
|
|
5417
4533
|
className = ""
|
|
5418
4534
|
}) {
|
|
5419
4535
|
if (customText) {
|
|
5420
|
-
return /* @__PURE__ */
|
|
5421
|
-
/* @__PURE__ */
|
|
5422
|
-
/* @__PURE__ */
|
|
4536
|
+
return /* @__PURE__ */ jsxs35("div", { className: `flex items-center gap-2 ${className}`, children: [
|
|
4537
|
+
/* @__PURE__ */ jsx44(CheckCircleIcon2, { className: "h-6 w-6" }),
|
|
4538
|
+
/* @__PURE__ */ jsx44("span", { className: "text-ods-text-primary text-[16px]", children: customText })
|
|
5423
4539
|
] });
|
|
5424
4540
|
}
|
|
5425
4541
|
if (value) {
|
|
5426
|
-
return /* @__PURE__ */
|
|
5427
|
-
/* @__PURE__ */
|
|
5428
|
-
/* @__PURE__ */
|
|
4542
|
+
return /* @__PURE__ */ jsxs35("div", { className: `flex items-center gap-2 ${className}`, children: [
|
|
4543
|
+
/* @__PURE__ */ jsx44(CheckCircleIcon2, { className: "h-6 w-6" }),
|
|
4544
|
+
/* @__PURE__ */ jsx44("span", { className: "text-ods-text-primary text-[16px]", children: yesText })
|
|
5429
4545
|
] });
|
|
5430
4546
|
}
|
|
5431
|
-
return /* @__PURE__ */
|
|
5432
|
-
/* @__PURE__ */
|
|
5433
|
-
/* @__PURE__ */
|
|
4547
|
+
return /* @__PURE__ */ jsxs35("div", { className: `flex items-center gap-2 ${className}`, children: [
|
|
4548
|
+
/* @__PURE__ */ jsx44(XCircleIcon, { className: "h-6 w-6" }),
|
|
4549
|
+
/* @__PURE__ */ jsx44("span", { className: "text-ods-text-secondary text-[16px]", children: noText })
|
|
5434
4550
|
] });
|
|
5435
4551
|
}
|
|
5436
4552
|
function evaluateFeatureValue(value, dataType) {
|
|
@@ -5465,7 +4581,7 @@ function evaluateFeatureValue(value, dataType) {
|
|
|
5465
4581
|
|
|
5466
4582
|
// src/components/made-with-love.tsx
|
|
5467
4583
|
import { useState as useState6, useEffect as useEffect5 } from "react";
|
|
5468
|
-
import { jsx as
|
|
4584
|
+
import { jsx as jsx45, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
5469
4585
|
function MadeWithLove({
|
|
5470
4586
|
className = "",
|
|
5471
4587
|
size = "md",
|
|
@@ -5539,14 +4655,14 @@ function MadeWithLove({
|
|
|
5539
4655
|
marginLeft: "4px",
|
|
5540
4656
|
textDecoration: "none"
|
|
5541
4657
|
};
|
|
5542
|
-
return /* @__PURE__ */
|
|
4658
|
+
return /* @__PURE__ */ jsxs36(
|
|
5543
4659
|
"div",
|
|
5544
4660
|
{
|
|
5545
4661
|
style: containerStyle,
|
|
5546
4662
|
className,
|
|
5547
4663
|
children: [
|
|
5548
4664
|
"Made with love by",
|
|
5549
|
-
/* @__PURE__ */
|
|
4665
|
+
/* @__PURE__ */ jsxs36(
|
|
5550
4666
|
"a",
|
|
5551
4667
|
{
|
|
5552
4668
|
href: flamingoUrl,
|
|
@@ -5556,14 +4672,14 @@ function MadeWithLove({
|
|
|
5556
4672
|
onMouseEnter: () => setIsHovered(true),
|
|
5557
4673
|
onMouseLeave: () => setIsHovered(false),
|
|
5558
4674
|
children: [
|
|
5559
|
-
/* @__PURE__ */
|
|
4675
|
+
/* @__PURE__ */ jsx45("div", { style: logoStyle, children: /* @__PURE__ */ jsx45(
|
|
5560
4676
|
FlamingoLogo2,
|
|
5561
4677
|
{
|
|
5562
4678
|
size: config.logoSize,
|
|
5563
4679
|
color: "#f357bb"
|
|
5564
4680
|
}
|
|
5565
4681
|
) }),
|
|
5566
|
-
/* @__PURE__ */
|
|
4682
|
+
/* @__PURE__ */ jsx45("span", { style: textStyle, children: "Flamingo" })
|
|
5567
4683
|
]
|
|
5568
4684
|
}
|
|
5569
4685
|
)
|
|
@@ -5575,7 +4691,7 @@ function MadeWithLove({
|
|
|
5575
4691
|
// src/components/date-time-picker.tsx
|
|
5576
4692
|
init_cn();
|
|
5577
4693
|
import DatePicker2 from "react-datepicker";
|
|
5578
|
-
import { jsx as
|
|
4694
|
+
import { jsx as jsx46, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
5579
4695
|
var inputClassName = cn(
|
|
5580
4696
|
"flex h-10 w-full rounded-md border px-3 py-2 text-sm ring-offset-background",
|
|
5581
4697
|
"file:border-0 file:bg-transparent file:text-sm file:font-medium",
|
|
@@ -5599,9 +4715,9 @@ function DateTimePicker({
|
|
|
5599
4715
|
timeIntervals = 15,
|
|
5600
4716
|
dateFormat = "MMMM d, yyyy h:mm aa"
|
|
5601
4717
|
}) {
|
|
5602
|
-
return /* @__PURE__ */
|
|
5603
|
-
label && /* @__PURE__ */
|
|
5604
|
-
/* @__PURE__ */
|
|
4718
|
+
return /* @__PURE__ */ jsxs37("div", { className: cn("space-y-2", className), children: [
|
|
4719
|
+
label && /* @__PURE__ */ jsx46(Label, { className: "font-['Azeret_Mono'] text-[12px] font-semibold leading-[1em] tracking-[-0.02em] text-ods-text-secondary uppercase", children: label }),
|
|
4720
|
+
/* @__PURE__ */ jsx46("div", { className: "w-full", children: /* @__PURE__ */ jsx46(
|
|
5605
4721
|
DatePicker2,
|
|
5606
4722
|
{
|
|
5607
4723
|
selected: value,
|
|
@@ -5616,7 +4732,7 @@ function DateTimePicker({
|
|
|
5616
4732
|
className: inputClassName
|
|
5617
4733
|
}
|
|
5618
4734
|
) }),
|
|
5619
|
-
/* @__PURE__ */
|
|
4735
|
+
/* @__PURE__ */ jsx46("style", { dangerouslySetInnerHTML: { __html: `
|
|
5620
4736
|
.react-datepicker-wrapper {
|
|
5621
4737
|
width: 100% !important;
|
|
5622
4738
|
display: block !important;
|
|
@@ -5721,7 +4837,7 @@ function DateTimePicker({
|
|
|
5721
4837
|
|
|
5722
4838
|
// src/components/shared/product-release/product-releases-view.tsx
|
|
5723
4839
|
init_cn();
|
|
5724
|
-
import { Fragment as
|
|
4840
|
+
import { Fragment as Fragment7, jsx as jsx47, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
5725
4841
|
var DEFAULT_ENDPOINT = "/api/releases";
|
|
5726
4842
|
var DEFAULT_SEARCH_PARAM_KEY = DEV_SECTION_PARAM_KEYS.search;
|
|
5727
4843
|
var DEFAULT_STATUS_PARAM_KEY = DEV_SECTION_PARAM_KEYS.releaseStatus;
|
|
@@ -5750,7 +4866,7 @@ function ReleaseRow({
|
|
|
5750
4866
|
fallbackNavigate: router.push
|
|
5751
4867
|
});
|
|
5752
4868
|
};
|
|
5753
|
-
return /* @__PURE__ */
|
|
4869
|
+
return /* @__PURE__ */ jsx47(
|
|
5754
4870
|
ProductReleaseCard,
|
|
5755
4871
|
{
|
|
5756
4872
|
size: "lg",
|
|
@@ -5805,9 +4921,9 @@ function ProductReleasesView({
|
|
|
5805
4921
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
5806
4922
|
};
|
|
5807
4923
|
if (error) {
|
|
5808
|
-
return /* @__PURE__ */
|
|
4924
|
+
return /* @__PURE__ */ jsx47("div", { className: cn("w-full", className), children: /* @__PURE__ */ jsx47(LoadError, { message: "Failed to load releases.", onRetry: reload }) });
|
|
5809
4925
|
}
|
|
5810
|
-
return /* @__PURE__ */
|
|
4926
|
+
return /* @__PURE__ */ jsx47("div", { className: cn("w-full flex flex-col gap-[40px]", className), children: /* @__PURE__ */ jsx47("div", { className: "min-h-[600px]", children: showEmpty ? /* @__PURE__ */ jsx47("div", { className: "h-[600px] flex items-center justify-center", children: hasActiveFilters ? /* @__PURE__ */ jsx47(
|
|
5811
4927
|
EmptyState,
|
|
5812
4928
|
{
|
|
5813
4929
|
type: "search",
|
|
@@ -5817,7 +4933,7 @@ function ProductReleasesView({
|
|
|
5817
4933
|
ctaText: "Reset Filters",
|
|
5818
4934
|
onCtaClick: resetFilters
|
|
5819
4935
|
}
|
|
5820
|
-
) : /* @__PURE__ */
|
|
4936
|
+
) : /* @__PURE__ */ jsx47(
|
|
5821
4937
|
EmptyState,
|
|
5822
4938
|
{
|
|
5823
4939
|
type: "generic",
|
|
@@ -5825,20 +4941,20 @@ function ProductReleasesView({
|
|
|
5825
4941
|
description: "Check back soon for product updates!",
|
|
5826
4942
|
showCTA: false
|
|
5827
4943
|
}
|
|
5828
|
-
) }) : /* @__PURE__ */
|
|
5829
|
-
/* @__PURE__ */
|
|
4944
|
+
) }) : /* @__PURE__ */ jsxs38(Fragment7, { children: [
|
|
4945
|
+
/* @__PURE__ */ jsx47("div", { className: "flex flex-col gap-6", children: Array.from({ length: itemsPerPage }).map((_, i) => {
|
|
5830
4946
|
const release = releases[i];
|
|
5831
4947
|
const hasData = !!release;
|
|
5832
|
-
return /* @__PURE__ */
|
|
4948
|
+
return /* @__PURE__ */ jsx47(
|
|
5833
4949
|
"div",
|
|
5834
4950
|
{
|
|
5835
4951
|
style: { visibility: isLoading || hasData ? "visible" : "hidden" },
|
|
5836
|
-
children: isLoading ? /* @__PURE__ */
|
|
4952
|
+
children: isLoading ? /* @__PURE__ */ jsx47(ProductReleaseCardSkeleton, { size: "lg" }) : release ? /* @__PURE__ */ jsx47(ReleaseRow, { release, basePath, buildCardProps }) : /* @__PURE__ */ jsx47(ProductReleaseCardSkeleton, { size: "lg" })
|
|
5837
4953
|
},
|
|
5838
4954
|
release?.id ?? `slot-${i}`
|
|
5839
4955
|
);
|
|
5840
4956
|
}) }),
|
|
5841
|
-
/* @__PURE__ */
|
|
4957
|
+
/* @__PURE__ */ jsx47("div", { className: "mt-6 md:mt-8 flex justify-center", children: isLoading ? /* @__PURE__ */ jsx47("div", { className: "h-12 m-3 w-64" }) : releases.length > 0 && totalPages > 1 ? /* @__PURE__ */ jsx47(
|
|
5842
4958
|
PersistentPaginationWrapper,
|
|
5843
4959
|
{
|
|
5844
4960
|
isLoading: false,
|
|
@@ -5847,7 +4963,7 @@ function ProductReleasesView({
|
|
|
5847
4963
|
onPageChange: goToPage,
|
|
5848
4964
|
variant: "blog"
|
|
5849
4965
|
}
|
|
5850
|
-
) : /* @__PURE__ */
|
|
4966
|
+
) : /* @__PURE__ */ jsx47("div", { className: "h-12 m-3 w-64", style: { visibility: "hidden" } }) })
|
|
5851
4967
|
] }) }) });
|
|
5852
4968
|
}
|
|
5853
4969
|
|
|
@@ -5858,7 +4974,7 @@ import { useState as useState8, useEffect as useEffect6 } from "react";
|
|
|
5858
4974
|
|
|
5859
4975
|
// src/components/shared/media-gallery-strip.tsx
|
|
5860
4976
|
import { useState as useState7 } from "react";
|
|
5861
|
-
import { Fragment as
|
|
4977
|
+
import { Fragment as Fragment8, jsx as jsx48, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
5862
4978
|
function isGalleryImage(mediaType) {
|
|
5863
4979
|
return mediaType !== "video" && mediaType !== "demo";
|
|
5864
4980
|
}
|
|
@@ -5869,10 +4985,10 @@ function MediaGalleryStrip({ items, maxDisplay, className }) {
|
|
|
5869
4985
|
const display = typeof maxDisplay === "number" ? items.slice(0, Math.max(0, maxDisplay)) : items;
|
|
5870
4986
|
const galleryImages = display.filter((m) => isGalleryImage(m.media_type)).map((m) => m.media_url);
|
|
5871
4987
|
const tileClass = "shrink-0 w-[240px] h-[200px] rounded-md overflow-hidden border border-ods-border bg-black transition-opacity";
|
|
5872
|
-
return /* @__PURE__ */
|
|
5873
|
-
/* @__PURE__ */
|
|
4988
|
+
return /* @__PURE__ */ jsxs39(Fragment8, { children: [
|
|
4989
|
+
/* @__PURE__ */ jsx48("div", { className: `flex gap-6 overflow-x-auto w-full ${className ?? ""}`, children: display.map((mediaItem, index) => {
|
|
5874
4990
|
if (isGalleryImage(mediaItem.media_type)) {
|
|
5875
|
-
return /* @__PURE__ */
|
|
4991
|
+
return /* @__PURE__ */ jsx48(
|
|
5876
4992
|
"button",
|
|
5877
4993
|
{
|
|
5878
4994
|
type: "button",
|
|
@@ -5882,14 +4998,14 @@ function MediaGalleryStrip({ items, maxDisplay, className }) {
|
|
|
5882
4998
|
setGalleryIndex(display.slice(0, index).filter((m) => isGalleryImage(m.media_type)).length);
|
|
5883
4999
|
setGalleryOpen(true);
|
|
5884
5000
|
},
|
|
5885
|
-
children: /* @__PURE__ */
|
|
5001
|
+
children: /* @__PURE__ */ jsx48("img", { src: mediaItem.media_url, alt: mediaItem.title || `Media ${index + 1}`, className: "w-full h-full object-cover" })
|
|
5886
5002
|
},
|
|
5887
5003
|
mediaItem.id || index
|
|
5888
5004
|
);
|
|
5889
5005
|
}
|
|
5890
|
-
return /* @__PURE__ */
|
|
5006
|
+
return /* @__PURE__ */ jsx48("div", { className: tileClass, children: /* @__PURE__ */ jsx48(Video, { url: mediaItem.media_url, layout: "native" }) }, mediaItem.id || index);
|
|
5891
5007
|
}) }),
|
|
5892
|
-
galleryImages.length > 0 && /* @__PURE__ */
|
|
5008
|
+
galleryImages.length > 0 && /* @__PURE__ */ jsx48(
|
|
5893
5009
|
ImageGalleryModal,
|
|
5894
5010
|
{
|
|
5895
5011
|
images: galleryImages,
|
|
@@ -5903,9 +5019,9 @@ function MediaGalleryStrip({ items, maxDisplay, className }) {
|
|
|
5903
5019
|
|
|
5904
5020
|
// src/components/shared/product-release/release-detail-page.tsx
|
|
5905
5021
|
import { AlertTriangle, ExternalLink, BookMarked, Sparkles as Sparkles2, TrendingUp, Wrench } from "lucide-react";
|
|
5906
|
-
import { Fragment as
|
|
5022
|
+
import { Fragment as Fragment9, jsx as jsx49, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
5907
5023
|
function DefaultMarkdownRenderer({ content }) {
|
|
5908
|
-
return /* @__PURE__ */
|
|
5024
|
+
return /* @__PURE__ */ jsx49("div", { className: "whitespace-pre-wrap", children: content });
|
|
5909
5025
|
}
|
|
5910
5026
|
function ReleaseDetailPage({
|
|
5911
5027
|
authorHref,
|
|
@@ -5962,12 +5078,12 @@ function ReleaseDetailPage({
|
|
|
5962
5078
|
fetchLinkedTasks();
|
|
5963
5079
|
}, [release, RoadmapSection, DeliverySection, roadmapApiEndpoint, deliveryApiEndpoint]);
|
|
5964
5080
|
if (!initialData && isLoading) {
|
|
5965
|
-
return /* @__PURE__ */
|
|
5081
|
+
return /* @__PURE__ */ jsx49(PageShell, { children: /* @__PURE__ */ jsx49("div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ jsx49(DetailPageSkeleton, { bare: true, metadataColumns: 4, showImageGallery: true }) }) });
|
|
5966
5082
|
}
|
|
5967
5083
|
if (error || !release) {
|
|
5968
|
-
return /* @__PURE__ */
|
|
5969
|
-
/* @__PURE__ */
|
|
5970
|
-
/* @__PURE__ */
|
|
5084
|
+
return /* @__PURE__ */ jsx49(PageShell, { children: /* @__PURE__ */ jsxs40("div", { className: "text-center py-16", children: [
|
|
5085
|
+
/* @__PURE__ */ jsx49("h1", { className: "text-4xl font-bold text-ods-text-primary mb-4", children: "Release Not Found" }),
|
|
5086
|
+
/* @__PURE__ */ jsx49("p", { className: "text-xl text-ods-text-secondary", children: "The release you're looking for doesn't exist." })
|
|
5971
5087
|
] }) });
|
|
5972
5088
|
}
|
|
5973
5089
|
const hasBreakingChanges = Array.isArray(release.breaking_changes) && release.breaking_changes.length > 0;
|
|
@@ -5993,33 +5109,33 @@ function ReleaseDetailPage({
|
|
|
5993
5109
|
const featuresAdded = release.features_added;
|
|
5994
5110
|
const bugFixed = release.bugs_fixed;
|
|
5995
5111
|
const improvements = release.improvements;
|
|
5996
|
-
return /* @__PURE__ */
|
|
5112
|
+
return /* @__PURE__ */ jsx49(PageShell, { children: /* @__PURE__ */ jsx49(
|
|
5997
5113
|
PageLayout,
|
|
5998
5114
|
{
|
|
5999
5115
|
backButton: showBackButton ? { label: backLabel, onClick: () => router.push(backHref) } : void 0,
|
|
6000
|
-
children: /* @__PURE__ */
|
|
6001
|
-
/* @__PURE__ */
|
|
6002
|
-
/* @__PURE__ */
|
|
6003
|
-
/* @__PURE__ */
|
|
5116
|
+
children: /* @__PURE__ */ jsxs40("div", { className: "space-y-6 md:space-y-8", children: [
|
|
5117
|
+
/* @__PURE__ */ jsx49("div", { className: "flex flex-col md:flex-row md:items-end gap-4 w-full", children: /* @__PURE__ */ jsxs40("div", { className: "flex-1 flex flex-col gap-2", children: [
|
|
5118
|
+
/* @__PURE__ */ jsx49("h1", { className: "text-h1 tracking-[-1.12px] text-ods-text-primary", children: releaseTitle }),
|
|
5119
|
+
/* @__PURE__ */ jsxs40("p", { className: "text-h4 text-ods-text-secondary", children: [
|
|
6004
5120
|
"Version: ",
|
|
6005
5121
|
releaseVersion
|
|
6006
5122
|
] })
|
|
6007
5123
|
] }) }),
|
|
6008
|
-
/* @__PURE__ */
|
|
6009
|
-
/* @__PURE__ */
|
|
6010
|
-
/* @__PURE__ */
|
|
6011
|
-
/* @__PURE__ */
|
|
6012
|
-
/* @__PURE__ */
|
|
5124
|
+
/* @__PURE__ */ jsx49(EntityTagBadges, { tags: release.product_release_tags }),
|
|
5125
|
+
/* @__PURE__ */ jsxs40("div", { className: "grid grid-cols-1 md:grid-cols-4 border border-ods-border rounded-md overflow-hidden w-full", children: [
|
|
5126
|
+
/* @__PURE__ */ jsx49("div", { className: "bg-ods-card border-b md:border-b-0 md:border-r border-ods-border p-4 flex flex-col gap-3", children: /* @__PURE__ */ jsxs40("div", { className: "flex flex-col gap-0", children: [
|
|
5127
|
+
/* @__PURE__ */ jsx49("p", { className: "text-h4 text-ods-text-primary", children: releaseType.toLocaleUpperCase() }),
|
|
5128
|
+
/* @__PURE__ */ jsx49("p", { className: "font-['DM_Sans'] font-medium text-[14px] leading-[20px] text-ods-text-secondary", children: "Release Type" })
|
|
6013
5129
|
] }) }),
|
|
6014
|
-
/* @__PURE__ */
|
|
6015
|
-
/* @__PURE__ */
|
|
6016
|
-
/* @__PURE__ */
|
|
5130
|
+
/* @__PURE__ */ jsx49("div", { className: "bg-ods-card border-b md:border-b-0 md:border-r border-ods-border p-4 flex flex-col gap-3", children: /* @__PURE__ */ jsxs40("div", { className: "flex flex-col gap-0", children: [
|
|
5131
|
+
/* @__PURE__ */ jsx49("p", { className: "text-h4 text-ods-text-primary", children: releaseStatus.toLocaleUpperCase() }),
|
|
5132
|
+
/* @__PURE__ */ jsx49("p", { className: "font-['DM_Sans'] font-medium text-[14px] leading-[20px] text-ods-text-secondary", children: "Release Status" })
|
|
6017
5133
|
] }) }),
|
|
6018
|
-
/* @__PURE__ */
|
|
6019
|
-
/* @__PURE__ */
|
|
6020
|
-
/* @__PURE__ */
|
|
5134
|
+
/* @__PURE__ */ jsx49("div", { className: "bg-ods-card border-b md:border-b-0 md:border-r border-ods-border p-4 flex flex-col gap-3", children: /* @__PURE__ */ jsxs40("div", { className: "flex flex-col gap-0", children: [
|
|
5135
|
+
/* @__PURE__ */ jsx49("p", { className: "text-h4 text-ods-text-primary", children: formatReleaseDate(releaseDate) }),
|
|
5136
|
+
/* @__PURE__ */ jsx49("p", { className: "font-['DM_Sans'] font-medium text-[14px] leading-[20px] text-ods-text-secondary", children: "Release Date" })
|
|
6021
5137
|
] }) }),
|
|
6022
|
-
/* @__PURE__ */
|
|
5138
|
+
/* @__PURE__ */ jsx49(
|
|
6023
5139
|
EntityMetadataAuthorCell,
|
|
6024
5140
|
{
|
|
6025
5141
|
author: author ?? { full_name: null, avatar_url: null },
|
|
@@ -6027,9 +5143,9 @@ function ReleaseDetailPage({
|
|
|
6027
5143
|
}
|
|
6028
5144
|
)
|
|
6029
5145
|
] }),
|
|
6030
|
-
/* @__PURE__ */
|
|
6031
|
-
releaseSummary && /* @__PURE__ */
|
|
6032
|
-
VideoDisplaySection ? /* @__PURE__ */
|
|
5146
|
+
/* @__PURE__ */ jsx49(MediaGalleryStrip, { items: releaseMedia ?? [], maxDisplay: 5 }),
|
|
5147
|
+
releaseSummary && /* @__PURE__ */ jsx49("div", { className: "text-h4 text-ods-text-primary", children: /* @__PURE__ */ jsx49("p", { children: releaseSummary }) }),
|
|
5148
|
+
VideoDisplaySection ? /* @__PURE__ */ jsx49(
|
|
6033
5149
|
VideoDisplaySection,
|
|
6034
5150
|
{
|
|
6035
5151
|
mainVideoUrl,
|
|
@@ -6043,8 +5159,8 @@ function ReleaseDetailPage({
|
|
|
6043
5159
|
srtContent: release?.srt_content,
|
|
6044
5160
|
captionsUrl: release?.captionsUrl
|
|
6045
5161
|
}
|
|
6046
|
-
) : /* @__PURE__ */
|
|
6047
|
-
youtubeUrl && /* @__PURE__ */
|
|
5162
|
+
) : /* @__PURE__ */ jsxs40(Fragment9, { children: [
|
|
5163
|
+
youtubeUrl && /* @__PURE__ */ jsx49(
|
|
6048
5164
|
Video,
|
|
6049
5165
|
{
|
|
6050
5166
|
kind: "youtube",
|
|
@@ -6053,7 +5169,7 @@ function ReleaseDetailPage({
|
|
|
6053
5169
|
layout: "native"
|
|
6054
5170
|
}
|
|
6055
5171
|
),
|
|
6056
|
-
!youtubeUrl && mainVideoUrl && /* @__PURE__ */
|
|
5172
|
+
!youtubeUrl && mainVideoUrl && /* @__PURE__ */ jsx49(
|
|
6057
5173
|
Video,
|
|
6058
5174
|
{
|
|
6059
5175
|
url: mainVideoUrl,
|
|
@@ -6062,7 +5178,7 @@ function ReleaseDetailPage({
|
|
|
6062
5178
|
layout: "centered"
|
|
6063
5179
|
}
|
|
6064
5180
|
),
|
|
6065
|
-
highlightVideoUrl && /* @__PURE__ */
|
|
5181
|
+
highlightVideoUrl && /* @__PURE__ */ jsx49(
|
|
6066
5182
|
Video,
|
|
6067
5183
|
{
|
|
6068
5184
|
url: highlightVideoUrl,
|
|
@@ -6071,56 +5187,56 @@ function ReleaseDetailPage({
|
|
|
6071
5187
|
}
|
|
6072
5188
|
)
|
|
6073
5189
|
] }),
|
|
6074
|
-
releaseContent && /* @__PURE__ */
|
|
6075
|
-
hasBreakingChanges && /* @__PURE__ */
|
|
6076
|
-
/* @__PURE__ */
|
|
6077
|
-
/* @__PURE__ */
|
|
6078
|
-
/* @__PURE__ */
|
|
6079
|
-
/* @__PURE__ */
|
|
5190
|
+
releaseContent && /* @__PURE__ */ jsx49("div", { className: "text-h4 text-ods-text-primary", children: /* @__PURE__ */ jsx49(MarkdownRenderer, { content: releaseContent }) }),
|
|
5191
|
+
hasBreakingChanges && /* @__PURE__ */ jsx49(Card, { className: "border-red-500 bg-red-500/10", children: /* @__PURE__ */ jsx49(CardContent, { className: "p-6", children: /* @__PURE__ */ jsxs40("div", { className: "flex items-center gap-3", children: [
|
|
5192
|
+
/* @__PURE__ */ jsx49(AlertTriangle, { className: "h-6 w-6 text-red-500" }),
|
|
5193
|
+
/* @__PURE__ */ jsxs40("div", { children: [
|
|
5194
|
+
/* @__PURE__ */ jsx49("h3", { className: "font-bold text-red-500 text-lg", children: "Breaking Changes" }),
|
|
5195
|
+
/* @__PURE__ */ jsx49("p", { className: "text-ods-text-secondary", children: "This release contains breaking changes. Review carefully before upgrading." })
|
|
6080
5196
|
] })
|
|
6081
5197
|
] }) }) }),
|
|
6082
|
-
/* @__PURE__ */
|
|
5198
|
+
/* @__PURE__ */ jsx49(
|
|
6083
5199
|
ReleaseChangelogSection,
|
|
6084
5200
|
{
|
|
6085
5201
|
title: "Breaking Changes",
|
|
6086
5202
|
entries: breakingChanges || [],
|
|
6087
5203
|
isBreaking: true,
|
|
6088
5204
|
hideTitle: true,
|
|
6089
|
-
icon: /* @__PURE__ */
|
|
5205
|
+
icon: /* @__PURE__ */ jsx49(AlertTriangle, { className: "h-6 w-6" }),
|
|
6090
5206
|
SimpleMarkdownRenderer: MarkdownRenderer
|
|
6091
5207
|
}
|
|
6092
5208
|
),
|
|
6093
|
-
/* @__PURE__ */
|
|
5209
|
+
/* @__PURE__ */ jsx49(
|
|
6094
5210
|
ReleaseChangelogSection,
|
|
6095
5211
|
{
|
|
6096
5212
|
title: "Features Added",
|
|
6097
5213
|
entries: featuresAdded || [],
|
|
6098
|
-
icon: /* @__PURE__ */
|
|
5214
|
+
icon: /* @__PURE__ */ jsx49(Sparkles2, { className: "h-6 w-6" }),
|
|
6099
5215
|
previewFirst: true,
|
|
6100
5216
|
SimpleMarkdownRenderer: MarkdownRenderer
|
|
6101
5217
|
}
|
|
6102
5218
|
),
|
|
6103
|
-
/* @__PURE__ */
|
|
5219
|
+
/* @__PURE__ */ jsx49(
|
|
6104
5220
|
ReleaseChangelogSection,
|
|
6105
5221
|
{
|
|
6106
5222
|
title: "Bugs Fixed",
|
|
6107
5223
|
entries: bugFixed || [],
|
|
6108
|
-
icon: /* @__PURE__ */
|
|
5224
|
+
icon: /* @__PURE__ */ jsx49(Wrench, { className: "h-6 w-6" }),
|
|
6109
5225
|
previewFirst: true,
|
|
6110
5226
|
SimpleMarkdownRenderer: MarkdownRenderer
|
|
6111
5227
|
}
|
|
6112
5228
|
),
|
|
6113
|
-
/* @__PURE__ */
|
|
5229
|
+
/* @__PURE__ */ jsx49(
|
|
6114
5230
|
ReleaseChangelogSection,
|
|
6115
5231
|
{
|
|
6116
5232
|
title: "Improvements",
|
|
6117
5233
|
entries: improvements || [],
|
|
6118
|
-
icon: /* @__PURE__ */
|
|
5234
|
+
icon: /* @__PURE__ */ jsx49(TrendingUp, { className: "h-6 w-6" }),
|
|
6119
5235
|
previewFirst: true,
|
|
6120
5236
|
SimpleMarkdownRenderer: MarkdownRenderer
|
|
6121
5237
|
}
|
|
6122
5238
|
),
|
|
6123
|
-
!VideoDisplaySection && VideoSection && videoBites && videoBites.length > 0 && /* @__PURE__ */
|
|
5239
|
+
!VideoDisplaySection && VideoSection && videoBites && videoBites.length > 0 && /* @__PURE__ */ jsx49(
|
|
6124
5240
|
VideoSection,
|
|
6125
5241
|
{
|
|
6126
5242
|
bites: videoBites,
|
|
@@ -6128,9 +5244,9 @@ function ReleaseDetailPage({
|
|
|
6128
5244
|
filterPublished: true
|
|
6129
5245
|
}
|
|
6130
5246
|
),
|
|
6131
|
-
RoadmapSection && (roadmapLoading || roadmapTasks.length > 0) && /* @__PURE__ */
|
|
6132
|
-
/* @__PURE__ */
|
|
6133
|
-
/* @__PURE__ */
|
|
5247
|
+
RoadmapSection && (roadmapLoading || roadmapTasks.length > 0) && /* @__PURE__ */ jsxs40("div", { className: "space-y-4 w-full", children: [
|
|
5248
|
+
/* @__PURE__ */ jsx49("p", { className: "text-h5 tracking-[-0.28px] text-ods-text-secondary", children: "Related Roadmap Items" }),
|
|
5249
|
+
/* @__PURE__ */ jsx49(
|
|
6134
5250
|
RoadmapSection,
|
|
6135
5251
|
{
|
|
6136
5252
|
items: roadmapTasks,
|
|
@@ -6145,9 +5261,9 @@ function ReleaseDetailPage({
|
|
|
6145
5261
|
}
|
|
6146
5262
|
)
|
|
6147
5263
|
] }),
|
|
6148
|
-
DeliverySection && (deliveryLoading || deliveryData && (deliveryData.completed.length > 0 || deliveryData.inProgress.length > 0)) && /* @__PURE__ */
|
|
6149
|
-
/* @__PURE__ */
|
|
6150
|
-
/* @__PURE__ */
|
|
5264
|
+
DeliverySection && (deliveryLoading || deliveryData && (deliveryData.completed.length > 0 || deliveryData.inProgress.length > 0)) && /* @__PURE__ */ jsxs40("div", { className: "w-full space-y-4", children: [
|
|
5265
|
+
/* @__PURE__ */ jsx49("p", { className: "text-h5 tracking-[-0.28px] text-ods-text-secondary", children: "Related Enhancements and Bug-fixes" }),
|
|
5266
|
+
/* @__PURE__ */ jsx49(
|
|
6151
5267
|
DeliverySection,
|
|
6152
5268
|
{
|
|
6153
5269
|
data: deliveryData,
|
|
@@ -6155,13 +5271,13 @@ function ReleaseDetailPage({
|
|
|
6155
5271
|
}
|
|
6156
5272
|
)
|
|
6157
5273
|
] }),
|
|
6158
|
-
(githubReleases?.length || knowledgeBaseLinks?.length || migrationGuideUrl || documentationUrl) && /* @__PURE__ */
|
|
6159
|
-
/* @__PURE__ */
|
|
6160
|
-
/* @__PURE__ */
|
|
6161
|
-
githubReleases && githubReleases.length > 0 && /* @__PURE__ */
|
|
6162
|
-
/* @__PURE__ */
|
|
6163
|
-
/* @__PURE__ */
|
|
6164
|
-
/* @__PURE__ */
|
|
5274
|
+
(githubReleases?.length || knowledgeBaseLinks?.length || migrationGuideUrl || documentationUrl) && /* @__PURE__ */ jsxs40("div", { className: "space-y-1 w-full", children: [
|
|
5275
|
+
/* @__PURE__ */ jsx49("p", { className: "text-h5 tracking-[-0.28px] text-ods-text-secondary", children: "Related Links" }),
|
|
5276
|
+
/* @__PURE__ */ jsx49(Card, { className: "bg-ods-card border-ods-border p-6", children: /* @__PURE__ */ jsxs40("div", { className: "space-y-4", children: [
|
|
5277
|
+
githubReleases && githubReleases.length > 0 && /* @__PURE__ */ jsx49(Fragment9, { children: githubReleases.map((ghRelease) => /* @__PURE__ */ jsxs40("div", { className: "flex items-start gap-1", children: [
|
|
5278
|
+
/* @__PURE__ */ jsx49(GitHubIcon, { className: "shrink-0", width: 24, height: 24, color: "var(--color-text-secondary)" }),
|
|
5279
|
+
/* @__PURE__ */ jsx49("span", { className: "text-h4 text-ods-text-primary", children: "Github Release" }),
|
|
5280
|
+
/* @__PURE__ */ jsx49(
|
|
6165
5281
|
"a",
|
|
6166
5282
|
{
|
|
6167
5283
|
href: ghRelease.github_release_url,
|
|
@@ -6171,15 +5287,15 @@ function ReleaseDetailPage({
|
|
|
6171
5287
|
children: ghRelease.github_release_url.split("/").pop()
|
|
6172
5288
|
}
|
|
6173
5289
|
),
|
|
6174
|
-
/* @__PURE__ */
|
|
5290
|
+
/* @__PURE__ */ jsx49(ExternalLink, { className: "h-6 w-6 text-[#ffc008] shrink-0" })
|
|
6175
5291
|
] }, ghRelease.id)) }),
|
|
6176
|
-
knowledgeBaseLinks && knowledgeBaseLinks.length > 0 && /* @__PURE__ */
|
|
5292
|
+
knowledgeBaseLinks && knowledgeBaseLinks.length > 0 && /* @__PURE__ */ jsx49(Fragment9, { children: knowledgeBaseLinks.map((linkObj) => {
|
|
6177
5293
|
const path = typeof linkObj === "string" ? linkObj : linkObj.kb_article_path;
|
|
6178
5294
|
const linkId = typeof linkObj === "string" ? path : linkObj.id || path;
|
|
6179
|
-
return /* @__PURE__ */
|
|
6180
|
-
/* @__PURE__ */
|
|
6181
|
-
/* @__PURE__ */
|
|
6182
|
-
/* @__PURE__ */
|
|
5295
|
+
return /* @__PURE__ */ jsxs40("div", { className: "flex items-start gap-1", children: [
|
|
5296
|
+
/* @__PURE__ */ jsx49(BookMarked, { className: "h-6 w-6 text-ods-text-secondary shrink-0" }),
|
|
5297
|
+
/* @__PURE__ */ jsx49("span", { className: "text-h4 text-ods-text-primary", children: "Knowledge Base" }),
|
|
5298
|
+
/* @__PURE__ */ jsx49(
|
|
6183
5299
|
next_link_default,
|
|
6184
5300
|
{
|
|
6185
5301
|
href: path.startsWith("http") ? path : `/knowledge-base${path.startsWith("/") ? "" : "/"}${path}`,
|
|
@@ -6187,12 +5303,12 @@ function ReleaseDetailPage({
|
|
|
6187
5303
|
children: path.replace(/^\//, "").split("/").pop()?.replace(/-/g, " ") || "View Article"
|
|
6188
5304
|
}
|
|
6189
5305
|
),
|
|
6190
|
-
/* @__PURE__ */
|
|
5306
|
+
/* @__PURE__ */ jsx49(ExternalLink, { className: "h-6 w-6 text-[#ffc008] shrink-0" })
|
|
6191
5307
|
] }, linkId);
|
|
6192
5308
|
}) }),
|
|
6193
|
-
migrationGuideUrl && /* @__PURE__ */
|
|
6194
|
-
/* @__PURE__ */
|
|
6195
|
-
/* @__PURE__ */
|
|
5309
|
+
migrationGuideUrl && /* @__PURE__ */ jsxs40("div", { className: "flex items-start gap-1", children: [
|
|
5310
|
+
/* @__PURE__ */ jsx49(BookMarked, { className: "h-6 w-6 text-ods-text-secondary shrink-0" }),
|
|
5311
|
+
/* @__PURE__ */ jsx49(
|
|
6196
5312
|
"a",
|
|
6197
5313
|
{
|
|
6198
5314
|
href: migrationGuideUrl,
|
|
@@ -6202,11 +5318,11 @@ function ReleaseDetailPage({
|
|
|
6202
5318
|
children: "\u{1F4D6} Migration Guide"
|
|
6203
5319
|
}
|
|
6204
5320
|
),
|
|
6205
|
-
/* @__PURE__ */
|
|
5321
|
+
/* @__PURE__ */ jsx49(ExternalLink, { className: "h-6 w-6 text-[#ffc008] shrink-0" })
|
|
6206
5322
|
] }),
|
|
6207
|
-
documentationUrl && /* @__PURE__ */
|
|
6208
|
-
/* @__PURE__ */
|
|
6209
|
-
/* @__PURE__ */
|
|
5323
|
+
documentationUrl && /* @__PURE__ */ jsxs40("div", { className: "flex items-start gap-1", children: [
|
|
5324
|
+
/* @__PURE__ */ jsx49(BookMarked, { className: "h-6 w-6 text-ods-text-secondary shrink-0" }),
|
|
5325
|
+
/* @__PURE__ */ jsx49(
|
|
6210
5326
|
"a",
|
|
6211
5327
|
{
|
|
6212
5328
|
href: documentationUrl,
|
|
@@ -6216,7 +5332,7 @@ function ReleaseDetailPage({
|
|
|
6216
5332
|
children: "\u{1F4DA} Documentation"
|
|
6217
5333
|
}
|
|
6218
5334
|
),
|
|
6219
|
-
/* @__PURE__ */
|
|
5335
|
+
/* @__PURE__ */ jsx49(ExternalLink, { className: "h-6 w-6 text-[#ffc008] shrink-0" })
|
|
6220
5336
|
] })
|
|
6221
5337
|
] }) })
|
|
6222
5338
|
] })
|
|
@@ -6226,9 +5342,9 @@ function ReleaseDetailPage({
|
|
|
6226
5342
|
}
|
|
6227
5343
|
|
|
6228
5344
|
// src/components/shared/product-release/release-detail-skeleton.tsx
|
|
6229
|
-
import { jsx as
|
|
5345
|
+
import { jsx as jsx50 } from "react/jsx-runtime";
|
|
6230
5346
|
function ReleaseDetailSkeleton() {
|
|
6231
|
-
return /* @__PURE__ */
|
|
5347
|
+
return /* @__PURE__ */ jsx50(DetailPageSkeleton, { metadataColumns: 4, showImageGallery: true });
|
|
6232
5348
|
}
|
|
6233
5349
|
|
|
6234
5350
|
// src/components/shared/roadmap/roadmap-grid.tsx
|
|
@@ -6335,7 +5451,7 @@ function useRoadmapVoting(options = {}) {
|
|
|
6335
5451
|
|
|
6336
5452
|
// src/components/shared/roadmap/roadmap-grid.tsx
|
|
6337
5453
|
init_cn();
|
|
6338
|
-
import { jsx as
|
|
5454
|
+
import { jsx as jsx51, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
6339
5455
|
var DEFAULT_BUILD_REFRESH_URL = (taskId) => `/api/roadmap/${taskId}`;
|
|
6340
5456
|
var BACKLOG = "Backlog";
|
|
6341
5457
|
function getStatusPriority(status) {
|
|
@@ -6384,7 +5500,7 @@ function RoadmapGridSingle({
|
|
|
6384
5500
|
onVote,
|
|
6385
5501
|
votingTasks
|
|
6386
5502
|
}) {
|
|
6387
|
-
return /* @__PURE__ */
|
|
5503
|
+
return /* @__PURE__ */ jsx51("div", { className: `grid grid-cols-1 md:grid-cols-2 gap-6 ${showLeftMargin ? "md:ml-[120px]" : ""}`, children: items.map((item) => /* @__PURE__ */ jsx51(
|
|
6388
5504
|
RoadmapCard,
|
|
6389
5505
|
{
|
|
6390
5506
|
item,
|
|
@@ -6465,7 +5581,7 @@ function RoadmapGrid({
|
|
|
6465
5581
|
);
|
|
6466
5582
|
}, [hasActiveFilters, sortedQuartersKey, isInitialized, quartersToKeepClosed]);
|
|
6467
5583
|
if (items.length === 0) {
|
|
6468
|
-
return /* @__PURE__ */
|
|
5584
|
+
return /* @__PURE__ */ jsx51(
|
|
6469
5585
|
EmptyState,
|
|
6470
5586
|
{
|
|
6471
5587
|
type: "generic",
|
|
@@ -6475,7 +5591,7 @@ function RoadmapGrid({
|
|
|
6475
5591
|
);
|
|
6476
5592
|
}
|
|
6477
5593
|
if (!groupByQuarter) {
|
|
6478
|
-
return /* @__PURE__ */
|
|
5594
|
+
return /* @__PURE__ */ jsx51(
|
|
6479
5595
|
RoadmapGridSingle,
|
|
6480
5596
|
{
|
|
6481
5597
|
items,
|
|
@@ -6486,7 +5602,7 @@ function RoadmapGrid({
|
|
|
6486
5602
|
}
|
|
6487
5603
|
);
|
|
6488
5604
|
}
|
|
6489
|
-
return /* @__PURE__ */
|
|
5605
|
+
return /* @__PURE__ */ jsx51(
|
|
6490
5606
|
Accordion,
|
|
6491
5607
|
{
|
|
6492
5608
|
type: "multiple",
|
|
@@ -6496,15 +5612,15 @@ function RoadmapGrid({
|
|
|
6496
5612
|
children: sortedQuarters.map((quarter) => {
|
|
6497
5613
|
const itemCount = itemsByQuarter[quarter]?.length || 0;
|
|
6498
5614
|
const isExpanded = expandedQuarters.includes(quarter);
|
|
6499
|
-
return /* @__PURE__ */
|
|
5615
|
+
return /* @__PURE__ */ jsxs41(
|
|
6500
5616
|
AccordionItem,
|
|
6501
5617
|
{
|
|
6502
5618
|
value: quarter,
|
|
6503
5619
|
id: `quarter-${quarter.replace(/\s+/g, "-").toLowerCase()}`,
|
|
6504
5620
|
className: "border-0",
|
|
6505
5621
|
children: [
|
|
6506
|
-
/* @__PURE__ */
|
|
6507
|
-
/* @__PURE__ */
|
|
5622
|
+
/* @__PURE__ */ jsx51(AccordionTrigger, { className: "w-full p-0 hover:no-underline [&>svg]:h-5 [&>svg]:w-5 [&>svg]:text-ods-text-secondary [&>svg]:ml-auto [&>svg]:shrink-0", children: /* @__PURE__ */ jsxs41("div", { className: "flex items-center gap-3", children: [
|
|
5623
|
+
/* @__PURE__ */ jsxs41(
|
|
6508
5624
|
"h3",
|
|
6509
5625
|
{
|
|
6510
5626
|
className: cn(
|
|
@@ -6513,11 +5629,11 @@ function RoadmapGrid({
|
|
|
6513
5629
|
),
|
|
6514
5630
|
children: [
|
|
6515
5631
|
quarter,
|
|
6516
|
-
/* @__PURE__ */
|
|
5632
|
+
/* @__PURE__ */ jsx51("span", { className: "text-ods-accent", children: ":" })
|
|
6517
5633
|
]
|
|
6518
5634
|
}
|
|
6519
5635
|
),
|
|
6520
|
-
/* @__PURE__ */
|
|
5636
|
+
/* @__PURE__ */ jsxs41(
|
|
6521
5637
|
"span",
|
|
6522
5638
|
{
|
|
6523
5639
|
className: cn(
|
|
@@ -6528,12 +5644,12 @@ function RoadmapGrid({
|
|
|
6528
5644
|
itemCount,
|
|
6529
5645
|
" ",
|
|
6530
5646
|
itemCount === 1 ? "item" : "items",
|
|
6531
|
-
isInitialized && !isExpanded && /* @__PURE__ */
|
|
5647
|
+
isInitialized && !isExpanded && /* @__PURE__ */ jsx51("span", { className: "ml-2 text-ods-accent", children: "Click to expand" })
|
|
6532
5648
|
]
|
|
6533
5649
|
}
|
|
6534
5650
|
)
|
|
6535
5651
|
] }) }),
|
|
6536
|
-
/* @__PURE__ */
|
|
5652
|
+
/* @__PURE__ */ jsx51(AccordionContent, { className: "pt-4 pb-0 overflow-hidden data-[state=closed]:animate-none data-[state=open]:animate-none", children: /* @__PURE__ */ jsx51(
|
|
6537
5653
|
RoadmapGridSingle,
|
|
6538
5654
|
{
|
|
6539
5655
|
items: itemsByQuarter[quarter],
|
|
@@ -6553,36 +5669,36 @@ function RoadmapGrid({
|
|
|
6553
5669
|
}
|
|
6554
5670
|
|
|
6555
5671
|
// src/components/shared/roadmap/roadmap-grid-skeleton.tsx
|
|
6556
|
-
import { jsx as
|
|
5672
|
+
import { jsx as jsx52, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
6557
5673
|
function RoadmapCardSkeleton2() {
|
|
6558
|
-
return /* @__PURE__ */
|
|
6559
|
-
/* @__PURE__ */
|
|
6560
|
-
/* @__PURE__ */
|
|
6561
|
-
/* @__PURE__ */
|
|
6562
|
-
/* @__PURE__ */
|
|
6563
|
-
/* @__PURE__ */
|
|
6564
|
-
/* @__PURE__ */
|
|
5674
|
+
return /* @__PURE__ */ jsxs42("div", { className: "bg-ods-card border border-ods-border rounded-[6px] p-[24px] flex flex-col gap-[16px] min-h-[340px] relative", children: [
|
|
5675
|
+
/* @__PURE__ */ jsx52("div", { className: "absolute top-[24px] right-[24px]", children: /* @__PURE__ */ jsx52("div", { className: "h-[20px] w-[80px] bg-ods-border rounded animate-pulse" }) }),
|
|
5676
|
+
/* @__PURE__ */ jsxs42("div", { className: "flex items-center gap-[16px] pr-[120px]", children: [
|
|
5677
|
+
/* @__PURE__ */ jsx52("div", { className: "w-[80px] h-[80px] bg-ods-border rounded-lg flex-shrink-0 animate-pulse" }),
|
|
5678
|
+
/* @__PURE__ */ jsxs42("div", { className: "flex-1 min-w-0 flex flex-col gap-1", children: [
|
|
5679
|
+
/* @__PURE__ */ jsx52("div", { className: "min-h-[48px] flex items-center", children: /* @__PURE__ */ jsx52("div", { className: "h-[24px] w-full bg-ods-border rounded animate-pulse" }) }),
|
|
5680
|
+
/* @__PURE__ */ jsx52("div", { className: "min-h-[20px] flex items-center", children: /* @__PURE__ */ jsx52("div", { className: "h-[14px] w-1/2 bg-ods-border rounded animate-pulse" }) })
|
|
6565
5681
|
] })
|
|
6566
5682
|
] }),
|
|
6567
|
-
/* @__PURE__ */
|
|
6568
|
-
/* @__PURE__ */
|
|
6569
|
-
/* @__PURE__ */
|
|
6570
|
-
/* @__PURE__ */
|
|
5683
|
+
/* @__PURE__ */ jsx52("div", { className: "min-h-[72px] flex items-center", children: /* @__PURE__ */ jsxs42("div", { className: "w-full space-y-2", children: [
|
|
5684
|
+
/* @__PURE__ */ jsx52("div", { className: "h-[24px] bg-ods-border rounded animate-pulse" }),
|
|
5685
|
+
/* @__PURE__ */ jsx52("div", { className: "h-[24px] bg-ods-border rounded animate-pulse" }),
|
|
5686
|
+
/* @__PURE__ */ jsx52("div", { className: "h-[24px] w-4/5 bg-ods-border rounded animate-pulse" })
|
|
6571
5687
|
] }) }),
|
|
6572
|
-
/* @__PURE__ */
|
|
6573
|
-
/* @__PURE__ */
|
|
6574
|
-
/* @__PURE__ */
|
|
6575
|
-
/* @__PURE__ */
|
|
5688
|
+
/* @__PURE__ */ jsx52("div", { className: "flex-1" }),
|
|
5689
|
+
/* @__PURE__ */ jsxs42("div", { className: "flex items-center justify-between", children: [
|
|
5690
|
+
/* @__PURE__ */ jsx52("div", { className: "h-[48px] w-[120px] bg-ods-border rounded animate-pulse" }),
|
|
5691
|
+
/* @__PURE__ */ jsx52("div", { className: "h-[32px] w-[100px] bg-ods-border rounded animate-pulse" })
|
|
6576
5692
|
] })
|
|
6577
5693
|
] });
|
|
6578
5694
|
}
|
|
6579
5695
|
function RoadmapGridSkeleton({ count = 4, showLeftMargin = true }) {
|
|
6580
|
-
return /* @__PURE__ */
|
|
5696
|
+
return /* @__PURE__ */ jsx52("div", { className: `grid grid-cols-1 md:grid-cols-2 gap-6 ${showLeftMargin ? "md:ml-[120px]" : ""}`, children: Array.from({ length: count }).map((_, i) => /* @__PURE__ */ jsx52(RoadmapCardSkeleton2, {}, i)) });
|
|
6581
5697
|
}
|
|
6582
5698
|
|
|
6583
5699
|
// src/components/shared/roadmap/roadmap-view.tsx
|
|
6584
5700
|
import { useMemo as useMemo2 } from "react";
|
|
6585
|
-
import { jsx as
|
|
5701
|
+
import { jsx as jsx53 } from "react/jsx-runtime";
|
|
6586
5702
|
var DEFAULT_ENDPOINT2 = "/api/roadmap";
|
|
6587
5703
|
var DEFAULT_SEARCH_PARAM_KEY2 = DEV_SECTION_PARAM_KEYS.search;
|
|
6588
5704
|
var DEFAULT_STATUS_PARAM_KEY2 = DEV_SECTION_PARAM_KEYS.status;
|
|
@@ -6610,12 +5726,12 @@ function RoadmapView({
|
|
|
6610
5726
|
);
|
|
6611
5727
|
const items = data?.items ?? [];
|
|
6612
5728
|
if (error) {
|
|
6613
|
-
return /* @__PURE__ */
|
|
5729
|
+
return /* @__PURE__ */ jsx53(LoadError, { message: "Failed to load roadmap.", onRetry: reload });
|
|
6614
5730
|
}
|
|
6615
5731
|
if (isLoading && !data) {
|
|
6616
|
-
return /* @__PURE__ */
|
|
5732
|
+
return /* @__PURE__ */ jsx53(RoadmapGridSkeleton, { showLeftMargin });
|
|
6617
5733
|
}
|
|
6618
|
-
return /* @__PURE__ */
|
|
5734
|
+
return /* @__PURE__ */ jsx53(
|
|
6619
5735
|
RoadmapGrid,
|
|
6620
5736
|
{
|
|
6621
5737
|
items,
|
|
@@ -6635,43 +5751,43 @@ function RoadmapView({
|
|
|
6635
5751
|
import { useEffect as useEffect9, useState as useState11 } from "react";
|
|
6636
5752
|
|
|
6637
5753
|
// src/components/shared/delivery/delivery-table.tsx
|
|
6638
|
-
import { jsx as
|
|
5754
|
+
import { jsx as jsx54, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
6639
5755
|
function SkeletonRow() {
|
|
6640
|
-
return /* @__PURE__ */
|
|
6641
|
-
/* @__PURE__ */
|
|
6642
|
-
/* @__PURE__ */
|
|
6643
|
-
/* @__PURE__ */
|
|
6644
|
-
/* @__PURE__ */
|
|
6645
|
-
/* @__PURE__ */
|
|
6646
|
-
/* @__PURE__ */
|
|
6647
|
-
/* @__PURE__ */
|
|
5756
|
+
return /* @__PURE__ */ jsx54("div", { className: "border-b border-ods-border last:border-b-0 p-[12px] md:p-[16px]", children: /* @__PURE__ */ jsxs43("div", { className: "flex flex-col md:flex-row items-start justify-between gap-[12px] md:gap-[16px] w-full", children: [
|
|
5757
|
+
/* @__PURE__ */ jsxs43("div", { className: "flex-1 min-w-0 w-full md:w-auto flex flex-col gap-[12px] md:gap-[16px]", children: [
|
|
5758
|
+
/* @__PURE__ */ jsx54("div", { className: "min-h-[24px] flex items-center", children: /* @__PURE__ */ jsx54("div", { className: "h-[20px] bg-ods-border rounded animate-pulse w-full" }) }),
|
|
5759
|
+
/* @__PURE__ */ jsx54("div", { className: "min-h-[20px] flex items-center", children: /* @__PURE__ */ jsx54("div", { className: "h-[20px] bg-ods-border rounded animate-pulse w-1/2" }) }),
|
|
5760
|
+
/* @__PURE__ */ jsx54("div", { className: "min-h-[72px] flex items-center", children: /* @__PURE__ */ jsxs43("div", { className: "flex-1 space-y-1", children: [
|
|
5761
|
+
/* @__PURE__ */ jsx54("div", { className: "h-[20px] bg-ods-border rounded animate-pulse w-full" }),
|
|
5762
|
+
/* @__PURE__ */ jsx54("div", { className: "h-[20px] bg-ods-border rounded animate-pulse w-full" }),
|
|
5763
|
+
/* @__PURE__ */ jsx54("div", { className: "h-[20px] bg-ods-border rounded animate-pulse w-2/3" })
|
|
6648
5764
|
] }) })
|
|
6649
5765
|
] }),
|
|
6650
|
-
/* @__PURE__ */
|
|
6651
|
-
/* @__PURE__ */
|
|
6652
|
-
/* @__PURE__ */
|
|
5766
|
+
/* @__PURE__ */ jsxs43("div", { className: "flex-shrink-0 self-start flex flex-col gap-2", children: [
|
|
5767
|
+
/* @__PURE__ */ jsx54("div", { className: "h-[32px] w-[100px] bg-ods-border rounded animate-pulse" }),
|
|
5768
|
+
/* @__PURE__ */ jsx54("div", { className: "h-[32px] w-[120px] bg-ods-border rounded animate-pulse" })
|
|
6653
5769
|
] })
|
|
6654
5770
|
] }) });
|
|
6655
5771
|
}
|
|
6656
5772
|
function DeliveryTable({ items, isLoading = false }) {
|
|
6657
5773
|
if (isLoading) {
|
|
6658
|
-
return /* @__PURE__ */
|
|
5774
|
+
return /* @__PURE__ */ jsx54("div", { className: "bg-ods-card border border-ods-border rounded-[6px] overflow-hidden w-full", children: /* @__PURE__ */ jsx54("div", { className: "w-full", children: [1, 2, 3, 4, 5].map((i) => /* @__PURE__ */ jsx54(SkeletonRow, {}, i)) }) });
|
|
6659
5775
|
}
|
|
6660
5776
|
if (items.length === 0) {
|
|
6661
|
-
return /* @__PURE__ */
|
|
5777
|
+
return /* @__PURE__ */ jsx54("div", { className: "bg-ods-card border border-ods-border rounded-[6px] p-[40px] text-center w-full", children: /* @__PURE__ */ jsx54("p", { className: "text-ods-text-secondary text-[14px] font-['DM_Sans'] font-medium", children: "No tasks available" }) });
|
|
6662
5778
|
}
|
|
6663
|
-
return /* @__PURE__ */
|
|
5779
|
+
return /* @__PURE__ */ jsx54("div", { className: "bg-ods-card border border-ods-border rounded-[6px] overflow-hidden w-full", children: /* @__PURE__ */ jsx54("div", { className: "w-full", children: items.map((item) => /* @__PURE__ */ jsx54(
|
|
6664
5780
|
"div",
|
|
6665
5781
|
{
|
|
6666
5782
|
className: "border-b border-ods-border last:border-b-0",
|
|
6667
|
-
children: /* @__PURE__ */
|
|
5783
|
+
children: /* @__PURE__ */ jsx54(DeliveryRow, { item })
|
|
6668
5784
|
},
|
|
6669
5785
|
item.id
|
|
6670
5786
|
)) }) });
|
|
6671
5787
|
}
|
|
6672
5788
|
|
|
6673
5789
|
// src/components/shared/delivery/delivery-lists.tsx
|
|
6674
|
-
import { jsx as
|
|
5790
|
+
import { jsx as jsx55, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
6675
5791
|
var DEFAULT_COMPLETED_ENDPOINT = "/api/delivery/completed";
|
|
6676
5792
|
var DEFAULT_IN_PROGRESS_ENDPOINT = "/api/delivery/in-progress";
|
|
6677
5793
|
var DEFAULT_SEARCH_PARAM_KEY3 = DEV_SECTION_PARAM_KEYS.search;
|
|
@@ -6735,10 +5851,10 @@ function DeliveryLists({
|
|
|
6735
5851
|
const hasActiveFilters = searchQuery !== "" || taskTypeFilter !== "all";
|
|
6736
5852
|
const hasResults = showCompleted && filteredCompleted.length > 0 || showInProgress && filteredInProgress.length > 0;
|
|
6737
5853
|
if (error) {
|
|
6738
|
-
return /* @__PURE__ */
|
|
5854
|
+
return /* @__PURE__ */ jsx55("div", { className: "w-full", children: /* @__PURE__ */ jsx55(LoadError, { message: error, onRetry: () => window.location.reload() }) });
|
|
6739
5855
|
}
|
|
6740
|
-
return /* @__PURE__ */
|
|
6741
|
-
!isLoading && !hasResults && (hasActiveFilters ? /* @__PURE__ */
|
|
5856
|
+
return /* @__PURE__ */ jsxs44("div", { className: "w-full flex flex-col gap-[40px]", children: [
|
|
5857
|
+
!isLoading && !hasResults && (hasActiveFilters ? /* @__PURE__ */ jsx55(
|
|
6742
5858
|
EmptyState,
|
|
6743
5859
|
{
|
|
6744
5860
|
type: "search",
|
|
@@ -6753,7 +5869,7 @@ function DeliveryLists({
|
|
|
6753
5869
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
6754
5870
|
}
|
|
6755
5871
|
}
|
|
6756
|
-
) : /* @__PURE__ */
|
|
5872
|
+
) : /* @__PURE__ */ jsx55(
|
|
6757
5873
|
EmptyState,
|
|
6758
5874
|
{
|
|
6759
5875
|
type: "generic",
|
|
@@ -6762,12 +5878,12 @@ function DeliveryLists({
|
|
|
6762
5878
|
showCTA: false
|
|
6763
5879
|
}
|
|
6764
5880
|
)),
|
|
6765
|
-
showCompleted && (hasResults || isLoading) && /* @__PURE__ */
|
|
6766
|
-
/* @__PURE__ */
|
|
5881
|
+
showCompleted && (hasResults || isLoading) && /* @__PURE__ */ jsxs44("div", { className: "w-full", children: [
|
|
5882
|
+
/* @__PURE__ */ jsxs44("h3", { className: "text-h2 text-ods-text-primary tracking-[-0.48px] md:tracking-[-0.56px] lg:tracking-[-0.64px] mb-4", children: [
|
|
6767
5883
|
"Recently Completed",
|
|
6768
|
-
/* @__PURE__ */
|
|
5884
|
+
/* @__PURE__ */ jsx55("span", { className: "text-ods-accent", children: ":" })
|
|
6769
5885
|
] }),
|
|
6770
|
-
/* @__PURE__ */
|
|
5886
|
+
/* @__PURE__ */ jsx55(
|
|
6771
5887
|
DeliveryTable,
|
|
6772
5888
|
{
|
|
6773
5889
|
items: filteredCompleted,
|
|
@@ -6775,12 +5891,12 @@ function DeliveryLists({
|
|
|
6775
5891
|
}
|
|
6776
5892
|
)
|
|
6777
5893
|
] }),
|
|
6778
|
-
showInProgress && (hasResults || isLoading) && /* @__PURE__ */
|
|
6779
|
-
/* @__PURE__ */
|
|
5894
|
+
showInProgress && (hasResults || isLoading) && /* @__PURE__ */ jsxs44("div", { className: "w-full", children: [
|
|
5895
|
+
/* @__PURE__ */ jsxs44("h3", { className: "text-h2 text-ods-text-primary tracking-[-0.48px] md:tracking-[-0.56px] lg:tracking-[-0.64px] mb-4", children: [
|
|
6780
5896
|
"Active Tasks",
|
|
6781
|
-
/* @__PURE__ */
|
|
5897
|
+
/* @__PURE__ */ jsx55("span", { className: "text-ods-accent", children: ":" })
|
|
6782
5898
|
] }),
|
|
6783
|
-
/* @__PURE__ */
|
|
5899
|
+
/* @__PURE__ */ jsx55(
|
|
6784
5900
|
DeliveryTable,
|
|
6785
5901
|
{
|
|
6786
5902
|
items: filteredInProgress,
|
|
@@ -6846,7 +5962,7 @@ function useLegalDocs(docType, options = {}) {
|
|
|
6846
5962
|
}
|
|
6847
5963
|
|
|
6848
5964
|
// src/components/shared/legal-document/legal-document-page.tsx
|
|
6849
|
-
import { jsx as
|
|
5965
|
+
import { jsx as jsx56, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
6850
5966
|
function LegalDocumentPage({
|
|
6851
5967
|
docType,
|
|
6852
5968
|
title,
|
|
@@ -6869,58 +5985,58 @@ function LegalDocumentPage({
|
|
|
6869
5985
|
};
|
|
6870
5986
|
const fallbackLastUpdatedLabel = data?.lastSynced != null ? formatLegalDate(data.lastSynced) : null;
|
|
6871
5987
|
const effectiveLastUpdatedLabel = initialLastUpdatedLabel ?? fallbackLastUpdatedLabel;
|
|
6872
|
-
const customTitle = /* @__PURE__ */
|
|
6873
|
-
/* @__PURE__ */
|
|
6874
|
-
/* @__PURE__ */
|
|
6875
|
-
/* @__PURE__ */
|
|
5988
|
+
const customTitle = /* @__PURE__ */ jsxs45("div", { className: "flex flex-col gap-4", children: [
|
|
5989
|
+
/* @__PURE__ */ jsxs45(PageHeading, { children: [
|
|
5990
|
+
/* @__PURE__ */ jsx56("span", { children: title }),
|
|
5991
|
+
/* @__PURE__ */ jsx56("span", { className: "text-ods-accent", children: "." })
|
|
6876
5992
|
] }),
|
|
6877
|
-
/* @__PURE__ */
|
|
5993
|
+
/* @__PURE__ */ jsxs45("p", { className: "font-['DM_Sans'] text-base md:text-lg text-ods-text-secondary max-w-2xl", children: [
|
|
6878
5994
|
effectiveLastUpdatedLabel ? `Last Updated: ${effectiveLastUpdatedLabel}` : fallbackDescription,
|
|
6879
|
-
data?.sourceFile && /* @__PURE__ */
|
|
5995
|
+
data?.sourceFile && /* @__PURE__ */ jsxs45("span", { className: "block text-sm mt-1 opacity-75", children: [
|
|
6880
5996
|
"Source: ",
|
|
6881
5997
|
data.sourceFile
|
|
6882
5998
|
] })
|
|
6883
5999
|
] })
|
|
6884
6000
|
] });
|
|
6885
|
-
return /* @__PURE__ */
|
|
6886
|
-
/* @__PURE__ */
|
|
6887
|
-
/* @__PURE__ */
|
|
6001
|
+
return /* @__PURE__ */ jsx56(PageShell, { children: /* @__PURE__ */ jsxs45(PageLayout, { backButton: backCfg, children: [
|
|
6002
|
+
/* @__PURE__ */ jsx56("div", { className: "flex flex-col gap-4", children: customTitle }),
|
|
6003
|
+
/* @__PURE__ */ jsx56("div", { className: "flex flex-col lg:flex-row gap-6 lg:gap-10 items-start flex-1", children: /* @__PURE__ */ jsx56("div", { className: "flex-1", children: /* @__PURE__ */ jsx56("div", { className: "w-full", children: /* @__PURE__ */ jsx56("article", { className: "space-y-2", children: isLoading ? (
|
|
6888
6004
|
// Loading skeleton matching Knowledge Hub pattern
|
|
6889
|
-
/* @__PURE__ */
|
|
6890
|
-
/* @__PURE__ */
|
|
6891
|
-
/* @__PURE__ */
|
|
6892
|
-
/* @__PURE__ */
|
|
6893
|
-
/* @__PURE__ */
|
|
6894
|
-
/* @__PURE__ */
|
|
6005
|
+
/* @__PURE__ */ jsxs45("div", { className: "space-y-6", children: [
|
|
6006
|
+
/* @__PURE__ */ jsx56("div", { className: "h-10 bg-ods-skeleton rounded-lg w-3/4 animate-pulse" }),
|
|
6007
|
+
/* @__PURE__ */ jsxs45("div", { className: "space-y-4", children: [
|
|
6008
|
+
/* @__PURE__ */ jsx56("div", { className: "h-4 bg-ods-skeleton rounded w-full animate-pulse" }),
|
|
6009
|
+
/* @__PURE__ */ jsx56("div", { className: "h-4 bg-ods-skeleton rounded w-full animate-pulse" }),
|
|
6010
|
+
/* @__PURE__ */ jsx56("div", { className: "h-4 bg-ods-skeleton rounded w-5/6 animate-pulse" })
|
|
6895
6011
|
] }),
|
|
6896
|
-
/* @__PURE__ */
|
|
6897
|
-
/* @__PURE__ */
|
|
6898
|
-
/* @__PURE__ */
|
|
6899
|
-
/* @__PURE__ */
|
|
6012
|
+
/* @__PURE__ */ jsx56("div", { className: "h-32 bg-ods-card border border-ods-border rounded-lg animate-pulse" }),
|
|
6013
|
+
/* @__PURE__ */ jsxs45("div", { className: "space-y-4", children: [
|
|
6014
|
+
/* @__PURE__ */ jsx56("div", { className: "h-4 bg-ods-skeleton rounded w-full animate-pulse" }),
|
|
6015
|
+
/* @__PURE__ */ jsx56("div", { className: "h-4 bg-ods-skeleton rounded w-4/5 animate-pulse" })
|
|
6900
6016
|
] })
|
|
6901
6017
|
] })
|
|
6902
|
-
) : error ? /* @__PURE__ */
|
|
6903
|
-
/* @__PURE__ */
|
|
6904
|
-
/* @__PURE__ */
|
|
6905
|
-
/* @__PURE__ */
|
|
6018
|
+
) : error ? /* @__PURE__ */ jsxs45("div", { className: "text-center space-y-4", children: [
|
|
6019
|
+
/* @__PURE__ */ jsxs45("div", { className: "bg-red-900/20 border border-red-700 rounded-lg p-6", children: [
|
|
6020
|
+
/* @__PURE__ */ jsx56("p", { className: "text-red-400 mb-2", children: errorTitle }),
|
|
6021
|
+
/* @__PURE__ */ jsx56("p", { className: "text-red-300 text-sm", children: error })
|
|
6906
6022
|
] }),
|
|
6907
|
-
/* @__PURE__ */
|
|
6908
|
-
/* @__PURE__ */
|
|
6909
|
-
/* @__PURE__ */
|
|
6023
|
+
/* @__PURE__ */ jsxs45("div", { className: "text-ods-text-secondary", children: [
|
|
6024
|
+
/* @__PURE__ */ jsx56("p", { children: errorContactPrompt }),
|
|
6025
|
+
/* @__PURE__ */ jsx56("a", { href: `mailto:${contactEmail}`, className: "text-ods-accent hover:underline", children: contactEmail })
|
|
6910
6026
|
] })
|
|
6911
|
-
] }) : data ? /* @__PURE__ */
|
|
6027
|
+
] }) : data ? /* @__PURE__ */ jsx56(
|
|
6912
6028
|
MarkdownRenderer,
|
|
6913
6029
|
{
|
|
6914
6030
|
content: data.content,
|
|
6915
6031
|
sectionIds: data.sections || [],
|
|
6916
6032
|
demoteMarkdownH1ToH2: true
|
|
6917
6033
|
}
|
|
6918
|
-
) : /* @__PURE__ */
|
|
6919
|
-
/* @__PURE__ */
|
|
6920
|
-
/* @__PURE__ */
|
|
6034
|
+
) : /* @__PURE__ */ jsxs45("div", { className: "text-center text-ods-text-secondary py-16", children: [
|
|
6035
|
+
/* @__PURE__ */ jsx56("p", { className: "text-xl", children: emptyStateMessage }),
|
|
6036
|
+
/* @__PURE__ */ jsxs45("p", { className: "mt-2", children: [
|
|
6921
6037
|
"Please contact",
|
|
6922
6038
|
" ",
|
|
6923
|
-
/* @__PURE__ */
|
|
6039
|
+
/* @__PURE__ */ jsx56("a", { href: `mailto:${contactEmail}`, className: "text-ods-accent hover:underline", children: contactEmail }),
|
|
6924
6040
|
" ",
|
|
6925
6041
|
"for more information."
|
|
6926
6042
|
] })
|
|
@@ -6930,7 +6046,7 @@ function LegalDocumentPage({
|
|
|
6930
6046
|
|
|
6931
6047
|
// src/components/authors/author-detail-view.tsx
|
|
6932
6048
|
init_cn();
|
|
6933
|
-
import { jsx as
|
|
6049
|
+
import { jsx as jsx57, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
6934
6050
|
function AuthorDetailView({
|
|
6935
6051
|
author,
|
|
6936
6052
|
proxyImageUrl,
|
|
@@ -6945,9 +6061,9 @@ function AuthorDetailView({
|
|
|
6945
6061
|
}) ?? author.avatarUrl : null;
|
|
6946
6062
|
const subtitle = [author.jobTitle, author.company].filter(Boolean).join(" @ ");
|
|
6947
6063
|
const bioText = formatBioText(author.about);
|
|
6948
|
-
return /* @__PURE__ */
|
|
6949
|
-
/* @__PURE__ */
|
|
6950
|
-
/* @__PURE__ */
|
|
6064
|
+
return /* @__PURE__ */ jsxs46("div", { className: cn("flex flex-col gap-5 md:gap-6", className), children: [
|
|
6065
|
+
/* @__PURE__ */ jsxs46("div", { className: "flex gap-6 w-full items-start", children: [
|
|
6066
|
+
/* @__PURE__ */ jsx57("div", { className: "relative shrink-0 h-24 w-24", children: /* @__PURE__ */ jsx57("div", { className: "rounded-full overflow-hidden bg-ods-bg-secondary border border-ods-border w-full h-full relative", children: proxiedAvatar ? /* @__PURE__ */ jsx57(
|
|
6951
6067
|
next_image_default,
|
|
6952
6068
|
{
|
|
6953
6069
|
src: proxiedAvatar,
|
|
@@ -6956,12 +6072,12 @@ function AuthorDetailView({
|
|
|
6956
6072
|
className: "object-cover",
|
|
6957
6073
|
unoptimized: true
|
|
6958
6074
|
}
|
|
6959
|
-
) : /* @__PURE__ */
|
|
6960
|
-
/* @__PURE__ */
|
|
6961
|
-
/* @__PURE__ */
|
|
6962
|
-
subtitle && /* @__PURE__ */
|
|
6075
|
+
) : /* @__PURE__ */ jsx57("div", { className: "flex items-center justify-center h-full w-full text-3xl text-ods-text-secondary font-['Azeret_Mono']", children: author.fullName.charAt(0).toUpperCase() }) }) }),
|
|
6076
|
+
/* @__PURE__ */ jsxs46("div", { className: "min-w-0 flex flex-col justify-center gap-2", children: [
|
|
6077
|
+
/* @__PURE__ */ jsx57("p", { className: "text-h2 text-ods-text-primary leading-none truncate", children: author.fullName }),
|
|
6078
|
+
subtitle && /* @__PURE__ */ jsx57("p", { className: "font-body text-lg text-ods-text-secondary leading-none truncate", children: subtitle }),
|
|
6963
6079
|
author.socialLinks.length > 0 && // Ghost compact row (transparent 32px) — metadata, not CTAs.
|
|
6964
|
-
/* @__PURE__ */
|
|
6080
|
+
/* @__PURE__ */ jsx57(
|
|
6965
6081
|
SocialIconRow,
|
|
6966
6082
|
{
|
|
6967
6083
|
compact: true,
|
|
@@ -6974,8 +6090,8 @@ function AuthorDetailView({
|
|
|
6974
6090
|
)
|
|
6975
6091
|
] })
|
|
6976
6092
|
] }),
|
|
6977
|
-
bioText && /* @__PURE__ */
|
|
6978
|
-
author.knowsAbout.length > 0 && /* @__PURE__ */
|
|
6093
|
+
bioText && /* @__PURE__ */ jsx57("p", { className: "font-body text-base leading-relaxed text-ods-text-secondary", children: bioText }),
|
|
6094
|
+
author.knowsAbout.length > 0 && /* @__PURE__ */ jsx57("div", { className: "flex flex-wrap gap-2", children: author.knowsAbout.map((topic) => /* @__PURE__ */ jsx57(StatusBadge, { text: topic, variant: "button", colorScheme: "cyan", singleLine: true }, topic)) }),
|
|
6979
6095
|
children
|
|
6980
6096
|
] });
|
|
6981
6097
|
}
|
|
@@ -7258,8 +6374,10 @@ export {
|
|
|
7258
6374
|
DialogPortal,
|
|
7259
6375
|
DialogTitle,
|
|
7260
6376
|
DialogTrigger,
|
|
6377
|
+
DocNavigationProvider,
|
|
7261
6378
|
DocSearchBar,
|
|
7262
6379
|
DocSearchResultRow,
|
|
6380
|
+
DocViewer,
|
|
7263
6381
|
DocumentIcon,
|
|
7264
6382
|
DonutIcon,
|
|
7265
6383
|
DoubleChevronIcon,
|
|
@@ -7295,6 +6413,7 @@ export {
|
|
|
7295
6413
|
EMPTY_AUTHOR_PLACEHOLDER,
|
|
7296
6414
|
EditProfileIcon,
|
|
7297
6415
|
ElestioLogo,
|
|
6416
|
+
EmbedIframe,
|
|
7298
6417
|
EmbeddableChat,
|
|
7299
6418
|
EmptyState,
|
|
7300
6419
|
EmptyVendorIcon,
|
|
@@ -7322,6 +6441,7 @@ export {
|
|
|
7322
6441
|
FeatureList,
|
|
7323
6442
|
FeatureListSkeleton,
|
|
7324
6443
|
FieldWrapper,
|
|
6444
|
+
FigmaEmbed,
|
|
7325
6445
|
FigmaIcon,
|
|
7326
6446
|
FigmaPrototypeViewer,
|
|
7327
6447
|
FileCheckIcon,
|
|
@@ -7355,6 +6475,7 @@ export {
|
|
|
7355
6475
|
GlobeIcon,
|
|
7356
6476
|
GoogleGeminiIcon,
|
|
7357
6477
|
GoogleLogo,
|
|
6478
|
+
GoogleSheetsViewer,
|
|
7358
6479
|
GridViewIcon,
|
|
7359
6480
|
GuideModeBanner,
|
|
7360
6481
|
GuideWelcome,
|
|
@@ -7473,6 +6594,7 @@ export {
|
|
|
7473
6594
|
MlgLogo,
|
|
7474
6595
|
MobileBurgerMenu,
|
|
7475
6596
|
MobileNavPanel,
|
|
6597
|
+
MobileNavigationDropdown,
|
|
7476
6598
|
Modal,
|
|
7477
6599
|
ModalContent,
|
|
7478
6600
|
ModalFooter,
|
|
@@ -7490,6 +6612,7 @@ export {
|
|
|
7490
6612
|
MoreAboutButton,
|
|
7491
6613
|
MoreActionsMenu,
|
|
7492
6614
|
MspProfileFormSkeleton,
|
|
6615
|
+
MultiLevelNavigation,
|
|
7493
6616
|
NETWORK_CONFIG,
|
|
7494
6617
|
NEW_TAB_FEATURES,
|
|
7495
6618
|
NOCIcon,
|
|
@@ -7560,6 +6683,7 @@ export {
|
|
|
7560
6683
|
ParallaxImageShowcase,
|
|
7561
6684
|
PatchPolicyIcon,
|
|
7562
6685
|
PathsDisplay,
|
|
6686
|
+
PdfViewer,
|
|
7563
6687
|
PersistentFilterControls,
|
|
7564
6688
|
PersistentMobileDropdown,
|
|
7565
6689
|
PersistentPagination,
|
|
@@ -7955,7 +7079,9 @@ export {
|
|
|
7955
7079
|
useContentLoading,
|
|
7956
7080
|
useDataTable,
|
|
7957
7081
|
useDataTableContext,
|
|
7082
|
+
useDocNavigation,
|
|
7958
7083
|
useDocSearch,
|
|
7084
|
+
useDocumentTree,
|
|
7959
7085
|
useDynamicTheme,
|
|
7960
7086
|
useSseChatAdapter as useEmbeddedChat,
|
|
7961
7087
|
useEmptyStateConfig,
|
|
@@ -7975,6 +7101,7 @@ export {
|
|
|
7975
7101
|
useRealtimeChunkProcessor,
|
|
7976
7102
|
useRoadmapVoting,
|
|
7977
7103
|
useSSE,
|
|
7104
|
+
useScrollSpy,
|
|
7978
7105
|
useSectionNavigation,
|
|
7979
7106
|
useSlashCommandRegistry,
|
|
7980
7107
|
useSlashCommands,
|