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