@hkyhy/marsun-components-core 0.1.17 → 0.1.18

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.
Files changed (25) hide show
  1. package/dist/components/Layout/ModulePageShell/index.d.ts +17 -0
  2. package/dist/components/Layout/ModulePageShell/index.js +42 -0
  3. package/dist/components/Layout/ModulePageShell/index.js.map +1 -0
  4. package/dist/components/Layout/ModulePageShell/style.module.scss.js +10 -0
  5. package/dist/components/Layout/ModulePageShell/style.module.scss.js.map +1 -0
  6. package/dist/components/Layout/PageHeaderLayout/index.d.ts +3 -1
  7. package/dist/components/Layout/PageHeaderLayout/index.js +43 -34
  8. package/dist/components/Layout/PageHeaderLayout/index.js.map +1 -1
  9. package/dist/components/Layout/PageHeaderLayout/style.module.scss.js +5 -4
  10. package/dist/components/Layout/PageHeaderLayout/style.module.scss.js.map +1 -1
  11. package/dist/components/Layout/PageShell/PageShellContext.d.ts +20 -0
  12. package/dist/components/Layout/PageShell/PageShellContext.js +39 -0
  13. package/dist/components/Layout/PageShell/PageShellContext.js.map +1 -0
  14. package/dist/components/Layout/PageShell/index.d.ts +2 -0
  15. package/dist/components/Layout/PageSpin/index.d.ts +9 -0
  16. package/dist/components/Layout/PageSpin/index.js +9 -0
  17. package/dist/components/Layout/PageSpin/index.js.map +1 -0
  18. package/dist/components/Layout/PageSpin/style.module.scss.js +7 -0
  19. package/dist/components/Layout/PageSpin/style.module.scss.js.map +1 -0
  20. package/dist/components/Layout/index.d.ts +6 -0
  21. package/dist/index.js +152 -144
  22. package/dist/index.js.map +1 -1
  23. package/dist/marsun-components-core.css +1 -1
  24. package/dist/styles/global.css +1 -1
  25. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import { fetchWithTimeout as n, useFetchData as p } from "./hooks/useFetchData.j
4
4
  import { resolveMaybeFn as u, resolveVisible as x } from "./utils/resolveMaybeFn.js";
5
5
  import { formatFileSize as c } from "./utils/format.js";
6
6
  import { default as S } from "./components/Upload/index.js";
7
- import { ArrowLeft as h, ArrowLeftRight as g, BarChart3 as M, BookOpen as P, Bot as I, Check as A, ChevronDown as L, ChevronLeft as w, ChevronRight as O, ChevronUp as B, CircleAlert as D, CircleCheck as k, CircleHelp as R, CirclePlay as y, CircleX as E, ClipboardCheck as b, Clock as v, CloudDownload as N, CloudUpload as U, Code as H, Copy as _, Crown as z, Database as K, Download as G, Eye as V, File as q, FileArchive as X, FileImage as Y, FileSpreadsheet as W, FileText as j, Flag as J, Flame as Q, Folder as Z, FolderOpen as $, Hash as ee, House as te, ICON_NAMES as oe, ICON_REGISTRY as re, Import as ae, Inbox as se, Info as le, LayoutDashboard as ie, LayoutGrid as fe, Loader2 as me, Lock as ne, LogOut as pe, MessageCircle as de, MessageSquare as ue, PanelLeftClose as xe, PanelLeftOpen as Ce, Pause as ce, Pencil as Fe, Plus as Se, Presentation as Te, RefreshCw as he, RotateCw as ge, Send as Me, Settings as Pe, Shield as Ie, ShieldCheck as Ae, SlidersHorizontal as Le, Square as we, Star as Oe, ThumbsDown as Be, ThumbsUp as De, Trash2 as ke, Trophy as Re, Undo2 as ye, Upload as Ee, User as be, UserPlus as ve, UserRoundCog as Ne, Users as Ue, X as He, createIcon as _e } from "./components/Icons/index.js";
7
+ import { ArrowLeft as g, ArrowLeftRight as T, BarChart3 as P, BookOpen as M, Bot as I, Check as A, ChevronDown as L, ChevronLeft as w, ChevronRight as O, ChevronUp as B, CircleAlert as D, CircleCheck as k, CircleHelp as R, CirclePlay as v, CircleX as y, ClipboardCheck as E, Clock as b, CloudDownload as N, CloudUpload as U, Code as H, Copy as _, Crown as z, Database as K, Download as G, Eye as V, File as q, FileArchive as X, FileImage as Y, FileSpreadsheet as W, FileText as j, Flag as J, Flame as Q, Folder as Z, FolderOpen as $, Hash as ee, House as te, ICON_NAMES as oe, ICON_REGISTRY as re, Import as ae, Inbox as se, Info as le, LayoutDashboard as ie, LayoutGrid as fe, Loader2 as me, Lock as ne, LogOut as pe, MessageCircle as de, MessageSquare as ue, PanelLeftClose as xe, PanelLeftOpen as Ce, Pause as ce, Pencil as Fe, Plus as Se, Presentation as he, RefreshCw as ge, RotateCw as Te, Send as Pe, Settings as Me, Shield as Ie, ShieldCheck as Ae, SlidersHorizontal as Le, Square as we, Star as Oe, ThumbsDown as Be, ThumbsUp as De, Trash2 as ke, Trophy as Re, Undo2 as ve, Upload as ye, User as Ee, UserPlus as be, UserRoundCog as Ne, Users as Ue, X as He, createIcon as _e } from "./components/Icons/index.js";
8
8
  import { default as Ke } from "./components/AgentHub/AgentHubAccessGuard.js";
9
9
  import { default as Ve } from "./components/AgentHub/AgentHubIndexRedirect.js";
10
10
  import { default as Xe } from "./components/AgentHub/ChatSessionAccessGuard.js";
@@ -21,15 +21,15 @@ import { default as dt } from "./components/AgentHub/Chat/Detail/ChatSuggestionR
21
21
  import { default as xt } from "./components/AgentHub/Chat/Detail/CitationContent/index.js";
22
22
  import { default as ct } from "./components/AgentHub/Chat/Detail/CitationInlineBadge/index.js";
23
23
  import { default as St } from "./components/AgentHub/Chat/Detail/CitationMarkdownContent/index.js";
24
- import { default as ht } from "./components/AgentHub/Chat/Detail/CitationPanel/index.js";
25
- import { default as Mt } from "./components/Descriptions/CommonDescriptions.js";
24
+ import { default as gt } from "./components/AgentHub/Chat/Detail/CitationPanel/index.js";
25
+ import { default as Pt } from "./components/Descriptions/CommonDescriptions.js";
26
26
  import { default as It } from "./components/Filter/CommonFilter/index.js";
27
27
  import { default as Lt } from "./components/AgentHub/KnowledgeBase/Action/CreateButton.js";
28
28
  import { default as Ot } from "./components/AgentHub/KnowledgeBase/Detail/DocumentTable/index.js";
29
29
  import { default as Dt } from "./components/Form/FetchSelect.js";
30
30
  import { default as Rt } from "./components/Form/FetchTreeSelect.js";
31
- import { default as Et } from "./components/File/FileLink/index.js";
32
- import { default as vt } from "./components/File/FilePreview/index.js";
31
+ import { default as yt } from "./components/File/FileLink/index.js";
32
+ import { default as bt } from "./components/File/FilePreview/index.js";
33
33
  import { default as Ut } from "./components/File/FilePreviewLink/index.js";
34
34
  import { default as _t } from "./components/File/FilePreviewModal/index.js";
35
35
  import { default as Kt } from "./components/Tag/FileTags.js";
@@ -47,60 +47,63 @@ import { default as no } from "./components/AgentHub/KnowledgeBase/Form/Form.js"
47
47
  import { default as uo } from "./components/AgentHub/KnowledgeBase/List/KnowledgeCard/index.js";
48
48
  import { default as Co } from "./components/LlmFormattedText/LlmFormattedText/index.js";
49
49
  import { default as Fo } from "./components/AgentHub/KnowledgeBase/Action/ManageActionButtons.js";
50
- import { default as To } from "./provider/MarsunCoreProvider.js";
51
- import { default as go } from "./components/AgentHub/Chat/Detail/MermaidBlock/index.js";
52
- import { default as Po } from "./components/AgentHub/Chat/Detail/MessageActions/index.js";
50
+ import { default as ho } from "./provider/MarsunCoreProvider.js";
51
+ import { default as To } from "./components/AgentHub/Chat/Detail/MermaidBlock/index.js";
52
+ import { default as Mo } from "./components/AgentHub/Chat/Detail/MessageActions/index.js";
53
53
  import { default as Ao } from "./components/AgentHub/Chat/Detail/MessageEditPopover/index.js";
54
54
  import { default as wo } from "./components/AgentHub/Chat/Detail/MessageItem/index.js";
55
- import { default as Bo } from "./components/Layout/PageHeaderLayout/index.js";
56
- import { default as ko } from "./components/AgentHub/KnowledgeBase/Detail/ParseStatusTag/index.js";
57
- import { default as yo } from "./components/Auth/PermissionGuard.js";
58
- import { default as bo } from "./components/Form/PersonOptionRow/index.js";
59
- import { default as No } from "./components/Auth/ProtectedRoute.js";
60
- import { SEMANTIC_COLORS as Ho, default as _o } from "./components/Tag/SemanticTag.js";
61
- import { default as Ko } from "./components/AgentHub/Chat/Action/SessionActionButtons.js";
62
- import { default as Vo } from "./components/AgentHub/Chat/List/SessionSidebar/index.js";
63
- import { default as Xo } from "./components/Sparkline/Sparkline/index.js";
64
- import { default as Wo } from "./components/Stat/StatCard/index.js";
65
- import { default as Jo } from "./components/Stat/StatCardList.js";
66
- import { default as Zo } from "./components/Stat/StatPendingBreakdown/index.js";
67
- import { default as er } from "./components/Form/StepForm.js";
68
- import { default as or } from "./components/Modal/StepModal/index.js";
69
- import { default as ar } from "./components/Tag/Tags/index.js";
70
- import { default as lr } from "./components/AgentHub/Chat/Detail/ThinkingSection/index.js";
71
- import { default as fr } from "./components/TooltipInfo/TooltipInfo.js";
72
- import { default as nr } from "./components/VirtualScrollbar/VirtualScrollbar/index.js";
73
- import { CHUNK_METHOD_OPTIONS as dr, EMBEDDING_MODEL_OPTIONS as ur, PARSE_STATUS_CONFIG as xr } from "./components/AgentHub/KnowledgeBase/constants/types.js";
74
- import { CITATION_LINK_PREFIX as cr, citationDisplayNumber as Fr, citationIdToIndex as Sr, countUniqueCitedSources as Tr, detectCitationIdBase as hr, extractCitationIdsFromContent as gr, extractCitationTitle as Mr, formatCitationDocBasename as Pr, formatCitationMeta as Ir, formatCitationPositions as Ar, injectCitationMarkdownLinks as Lr, normalizeCitation as wr, parseCitationLinkHref as Or, prepareCitationContent as Br, resolveCitationTitle as Dr, sanitizeCitationHtml as kr, stripCitationFrontmatter as Rr } from "./components/AgentHub/Chat/utils/citationContent.js";
75
- import { FileItem as Er } from "./components/File/FileItem/index.js";
76
- import { FilterProvider as vr, useFilterRegister as Nr, useFilterState as Ur } from "./components/Filter/useFilterState.js";
77
- import { extractCitations as _r, formatSessionTime as zr, getSessionDisplayName as Kr, isWelcomeOnlyMessages as Gr, parseSessionMessages as Vr, toDisplayMessages as qr } from "./components/AgentHub/Chat/utils/sessionMessages.js";
78
- import { formatLlmTextToHtml as Yr, parseLlmText as Wr } from "./components/LlmFormattedText/parseLlmText.js";
79
- import { getFileExtension as Jr, getFileIcon as Qr, getFileTypeName as Zr, normalizeExtension as $r, normalizeFileDisplayItem as ea, parseFileNameFromUrl as ta } from "./components/File/fileDisplay.js";
80
- import { hasCitationMarkers as ra, normalizeAssistantMarkdown as aa, normalizeDisplayText as sa, parseAssistantContent as la } from "./components/AgentHub/Chat/utils/messageContent.js";
81
- import { hasPermission as fa } from "./components/Auth/hasPermission.js";
82
- import { resolveHidden as na } from "./components/Filter/types.js";
83
- import { sanitizeMermaidChart as da, stripProseFromMermaid as ua } from "./components/AgentHub/Chat/utils/sanitizeMermaidChart.js";
84
- import { useAutoScrollToBottom as Ca } from "./components/AgentHub/Chat/hooks/useAutoScrollToBottom.js";
85
- import { useChat as Fa } from "./components/AgentHub/Chat/hooks/useChat.js";
86
- import { useChatSessions as Ta } from "./components/AgentHub/Chat/hooks/useChatSessions.js";
87
- import { useKBDocuments as ga } from "./components/AgentHub/KnowledgeBase/hooks/useKBDocuments.js";
88
- import { useKnowledgeBase as Pa } from "./components/AgentHub/KnowledgeBase/hooks/useKnowledgeBase.js";
89
- import { useMarsunAuth as Aa, useMarsunCore as La, useMarsunFetch as wa } from "./provider/context.js";
90
- import { useSSECompletion as Ba } from "./components/AgentHub/Chat/hooks/useSSECompletion.js";
91
- import { useTypewriter as ka } from "./components/AgentHub/Chat/hooks/useTypewriter.js";
55
+ import { default as Bo } from "./components/Layout/ModulePageShell/index.js";
56
+ import { default as ko } from "./components/Layout/PageHeaderLayout/index.js";
57
+ import { default as vo } from "./components/Layout/PageSpin/index.js";
58
+ import { default as Eo } from "./components/AgentHub/KnowledgeBase/Detail/ParseStatusTag/index.js";
59
+ import { default as No } from "./components/Auth/PermissionGuard.js";
60
+ import { default as Ho } from "./components/Form/PersonOptionRow/index.js";
61
+ import { default as zo } from "./components/Auth/ProtectedRoute.js";
62
+ import { SEMANTIC_COLORS as Go, default as Vo } from "./components/Tag/SemanticTag.js";
63
+ import { default as Xo } from "./components/AgentHub/Chat/Action/SessionActionButtons.js";
64
+ import { default as Wo } from "./components/AgentHub/Chat/List/SessionSidebar/index.js";
65
+ import { default as Jo } from "./components/Sparkline/Sparkline/index.js";
66
+ import { default as Zo } from "./components/Stat/StatCard/index.js";
67
+ import { default as er } from "./components/Stat/StatCardList.js";
68
+ import { default as or } from "./components/Stat/StatPendingBreakdown/index.js";
69
+ import { default as ar } from "./components/Form/StepForm.js";
70
+ import { default as lr } from "./components/Modal/StepModal/index.js";
71
+ import { default as fr } from "./components/Tag/Tags/index.js";
72
+ import { default as nr } from "./components/AgentHub/Chat/Detail/ThinkingSection/index.js";
73
+ import { default as dr } from "./components/TooltipInfo/TooltipInfo.js";
74
+ import { default as xr } from "./components/VirtualScrollbar/VirtualScrollbar/index.js";
75
+ import { CHUNK_METHOD_OPTIONS as cr, EMBEDDING_MODEL_OPTIONS as Fr, PARSE_STATUS_CONFIG as Sr } from "./components/AgentHub/KnowledgeBase/constants/types.js";
76
+ import { CITATION_LINK_PREFIX as gr, citationDisplayNumber as Tr, citationIdToIndex as Pr, countUniqueCitedSources as Mr, detectCitationIdBase as Ir, extractCitationIdsFromContent as Ar, extractCitationTitle as Lr, formatCitationDocBasename as wr, formatCitationMeta as Or, formatCitationPositions as Br, injectCitationMarkdownLinks as Dr, normalizeCitation as kr, parseCitationLinkHref as Rr, prepareCitationContent as vr, resolveCitationTitle as yr, sanitizeCitationHtml as Er, stripCitationFrontmatter as br } from "./components/AgentHub/Chat/utils/citationContent.js";
77
+ import { FileItem as Ur } from "./components/File/FileItem/index.js";
78
+ import { FilterProvider as _r, useFilterRegister as zr, useFilterState as Kr } from "./components/Filter/useFilterState.js";
79
+ import { PageShellProvider as Vr, usePageShell as qr, usePageShellLoading as Xr } from "./components/Layout/PageShell/PageShellContext.js";
80
+ import { extractCitations as Wr, formatSessionTime as jr, getSessionDisplayName as Jr, isWelcomeOnlyMessages as Qr, parseSessionMessages as Zr, toDisplayMessages as $r } from "./components/AgentHub/Chat/utils/sessionMessages.js";
81
+ import { formatLlmTextToHtml as ta, parseLlmText as oa } from "./components/LlmFormattedText/parseLlmText.js";
82
+ import { getFileExtension as aa, getFileIcon as sa, getFileTypeName as la, normalizeExtension as ia, normalizeFileDisplayItem as fa, parseFileNameFromUrl as ma } from "./components/File/fileDisplay.js";
83
+ import { hasCitationMarkers as pa, normalizeAssistantMarkdown as da, normalizeDisplayText as ua, parseAssistantContent as xa } from "./components/AgentHub/Chat/utils/messageContent.js";
84
+ import { hasPermission as ca } from "./components/Auth/hasPermission.js";
85
+ import { resolveHidden as Sa } from "./components/Filter/types.js";
86
+ import { sanitizeMermaidChart as ga, stripProseFromMermaid as Ta } from "./components/AgentHub/Chat/utils/sanitizeMermaidChart.js";
87
+ import { useAutoScrollToBottom as Ma } from "./components/AgentHub/Chat/hooks/useAutoScrollToBottom.js";
88
+ import { useChat as Aa } from "./components/AgentHub/Chat/hooks/useChat.js";
89
+ import { useChatSessions as wa } from "./components/AgentHub/Chat/hooks/useChatSessions.js";
90
+ import { useKBDocuments as Ba } from "./components/AgentHub/KnowledgeBase/hooks/useKBDocuments.js";
91
+ import { useKnowledgeBase as ka } from "./components/AgentHub/KnowledgeBase/hooks/useKnowledgeBase.js";
92
+ import { useMarsunAuth as va, useMarsunCore as ya, useMarsunFetch as Ea } from "./provider/context.js";
93
+ import { useSSECompletion as Na } from "./components/AgentHub/Chat/hooks/useSSECompletion.js";
94
+ import { useTypewriter as Ha } from "./components/AgentHub/Chat/hooks/useTypewriter.js";
92
95
  export {
93
96
  Ke as AgentHubAccessGuard,
94
97
  Ve as AgentHubIndexRedirect,
95
98
  Xe as AgentHubSessionAccessGuard,
96
99
  We as AppTour,
97
- h as ArrowLeft,
98
- g as ArrowLeftRight,
99
- M as BarChart3,
100
- P as BookOpen,
100
+ g as ArrowLeft,
101
+ T as ArrowLeftRight,
102
+ P as BarChart3,
103
+ M as BookOpen,
101
104
  I as Bot,
102
- dr as CHUNK_METHOD_OPTIONS,
103
- cr as CITATION_LINK_PREFIX,
105
+ cr as CHUNK_METHOD_OPTIONS,
106
+ gr as CITATION_LINK_PREFIX,
104
107
  Je as ChatAssistantForm,
105
108
  Ze as ChatCard,
106
109
  et as ChatCreateButton,
@@ -118,18 +121,18 @@ export {
118
121
  D as CircleAlert,
119
122
  k as CircleCheck,
120
123
  R as CircleHelp,
121
- y as CirclePlay,
122
- E as CircleX,
124
+ v as CirclePlay,
125
+ y as CircleX,
123
126
  xt as CitationContent,
124
127
  ct as CitationInlineBadge,
125
128
  St as CitationMarkdownContent,
126
- ht as CitationPanel,
127
- b as ClipboardCheck,
128
- v as Clock,
129
+ gt as CitationPanel,
130
+ E as ClipboardCheck,
131
+ b as Clock,
129
132
  N as CloudDownload,
130
133
  U as CloudUpload,
131
134
  H as Code,
132
- Mt as CommonDescriptions,
135
+ Pt as CommonDescriptions,
133
136
  It as CommonFilter,
134
137
  S as CommonUpload,
135
138
  _ as Copy,
@@ -139,16 +142,16 @@ export {
139
142
  K as Database,
140
143
  Ot as DocumentTable,
141
144
  G as Download,
142
- ur as EMBEDDING_MODEL_OPTIONS,
145
+ Fr as EMBEDDING_MODEL_OPTIONS,
143
146
  V as Eye,
144
147
  Dt as FetchSelect,
145
148
  Rt as FetchTreeSelect,
146
149
  q as File,
147
150
  X as FileArchive,
148
151
  Y as FileImage,
149
- Er as FileItemView,
150
- Et as FileLink,
151
- vt as FilePreview,
152
+ Ur as FileItemView,
153
+ yt as FileLink,
154
+ bt as FilePreview,
152
155
  Ut as FilePreviewLink,
153
156
  _t as FilePreviewModal,
154
157
  W as FileSpreadsheet,
@@ -159,7 +162,7 @@ export {
159
162
  Wt as FilterNumberRange,
160
163
  Jt as FilterPanel,
161
164
  Zt as FilterPopover,
162
- vr as FilterProvider,
165
+ _r as FilterProvider,
163
166
  eo as FilterSelect,
164
167
  oo as FilterTreeSelect,
165
168
  ao as FilterTrigger,
@@ -186,118 +189,123 @@ export {
186
189
  ne as Lock,
187
190
  pe as LogOut,
188
191
  Fo as ManageActionButtons,
189
- To as MarsunCoreProvider,
190
- go as MermaidBlock,
191
- Po as MessageActions,
192
+ ho as MarsunCoreProvider,
193
+ To as MermaidBlock,
194
+ Mo as MessageActions,
192
195
  de as MessageCircle,
193
196
  Ao as MessageEditPopover,
194
197
  wo as MessageItem,
195
198
  ue as MessageSquare,
199
+ Bo as ModulePageShell,
196
200
  f as PALETTE,
197
- xr as PARSE_STATUS_CONFIG,
198
- Bo as PageHeaderLayout,
201
+ Sr as PARSE_STATUS_CONFIG,
202
+ ko as PageHeaderLayout,
203
+ Vr as PageShellProvider,
204
+ vo as PageSpin,
199
205
  xe as PanelLeftClose,
200
206
  Ce as PanelLeftOpen,
201
- ko as ParseStatusTag,
207
+ Eo as ParseStatusTag,
202
208
  ce as Pause,
203
209
  Fe as Pencil,
204
- yo as PermissionGuard,
205
- bo as PersonOptionRow,
210
+ No as PermissionGuard,
211
+ Ho as PersonOptionRow,
206
212
  Se as Plus,
207
- Te as Presentation,
208
- No as ProtectedRoute,
209
- he as RefreshCw,
210
- ge as RotateCw,
211
- Ho as SEMANTIC_COLORS,
212
- _o as SemanticTag,
213
- Me as Send,
214
- Ko as SessionActionButtons,
215
- Vo as SessionSidebar,
216
- Pe as Settings,
213
+ he as Presentation,
214
+ zo as ProtectedRoute,
215
+ ge as RefreshCw,
216
+ Te as RotateCw,
217
+ Go as SEMANTIC_COLORS,
218
+ Vo as SemanticTag,
219
+ Pe as Send,
220
+ Xo as SessionActionButtons,
221
+ Wo as SessionSidebar,
222
+ Me as Settings,
217
223
  Ie as Shield,
218
224
  Ae as ShieldCheck,
219
225
  Le as SlidersHorizontal,
220
- Xo as Sparkline,
226
+ Jo as Sparkline,
221
227
  we as Square,
222
228
  Oe as Star,
223
- Wo as StatCard,
224
- Jo as StatCardList,
225
- Zo as StatPendingBreakdown,
226
- er as StepForm,
227
- or as StepModal,
228
- ar as Tags,
229
- lr as ThinkingSection,
229
+ Zo as StatCard,
230
+ er as StatCardList,
231
+ or as StatPendingBreakdown,
232
+ ar as StepForm,
233
+ lr as StepModal,
234
+ fr as Tags,
235
+ nr as ThinkingSection,
230
236
  Be as ThumbsDown,
231
237
  De as ThumbsUp,
232
- fr as TooltipInfo,
238
+ dr as TooltipInfo,
233
239
  ke as Trash2,
234
240
  Re as Trophy,
235
- ye as Undo2,
236
- Ee as Upload,
237
- be as User,
238
- ve as UserPlus,
241
+ ve as Undo2,
242
+ ye as Upload,
243
+ Ee as User,
244
+ be as UserPlus,
239
245
  Ne as UserRoundCog,
240
246
  Ue as Users,
241
- nr as VirtualScrollbar,
247
+ xr as VirtualScrollbar,
242
248
  He as X,
243
249
  o as applyCssTokenOverrides,
244
250
  r as applyThemeToCssVariables,
245
- Fr as citationDisplayNumber,
246
- Sr as citationIdToIndex,
247
- Tr as countUniqueCitedSources,
251
+ Tr as citationDisplayNumber,
252
+ Pr as citationIdToIndex,
253
+ Mr as countUniqueCitedSources,
248
254
  _e as createIcon,
249
- hr as detectCitationIdBase,
250
- gr as extractCitationIdsFromContent,
251
- Mr as extractCitationTitle,
252
- _r as extractCitations,
255
+ Ir as detectCitationIdBase,
256
+ Ar as extractCitationIdsFromContent,
257
+ Lr as extractCitationTitle,
258
+ Wr as extractCitations,
253
259
  n as fetchWithTimeout,
254
- Pr as formatCitationDocBasename,
255
- Ir as formatCitationMeta,
256
- Ar as formatCitationPositions,
260
+ wr as formatCitationDocBasename,
261
+ Or as formatCitationMeta,
262
+ Br as formatCitationPositions,
257
263
  c as formatFileSize,
258
- Yr as formatLlmTextToHtml,
259
- zr as formatSessionTime,
264
+ ta as formatLlmTextToHtml,
265
+ jr as formatSessionTime,
260
266
  a as generateTheme,
261
- Jr as getFileExtension,
262
- Qr as getFileIcon,
263
- Zr as getFileTypeName,
264
- Kr as getSessionDisplayName,
265
- ra as hasCitationMarkers,
266
- fa as hasPermission,
267
- Lr as injectCitationMarkdownLinks,
268
- Gr as isWelcomeOnlyMessages,
269
- aa as normalizeAssistantMarkdown,
270
- wr as normalizeCitation,
271
- sa as normalizeDisplayText,
272
- $r as normalizeExtension,
273
- ea as normalizeFileDisplayItem,
274
- la as parseAssistantContent,
275
- Or as parseCitationLinkHref,
276
- ta as parseFileNameFromUrl,
277
- Wr as parseLlmText,
278
- Vr as parseSessionMessages,
279
- Br as prepareCitationContent,
280
- Dr as resolveCitationTitle,
281
- na as resolveHidden,
267
+ aa as getFileExtension,
268
+ sa as getFileIcon,
269
+ la as getFileTypeName,
270
+ Jr as getSessionDisplayName,
271
+ pa as hasCitationMarkers,
272
+ ca as hasPermission,
273
+ Dr as injectCitationMarkdownLinks,
274
+ Qr as isWelcomeOnlyMessages,
275
+ da as normalizeAssistantMarkdown,
276
+ kr as normalizeCitation,
277
+ ua as normalizeDisplayText,
278
+ ia as normalizeExtension,
279
+ fa as normalizeFileDisplayItem,
280
+ xa as parseAssistantContent,
281
+ Rr as parseCitationLinkHref,
282
+ ma as parseFileNameFromUrl,
283
+ oa as parseLlmText,
284
+ Zr as parseSessionMessages,
285
+ vr as prepareCitationContent,
286
+ yr as resolveCitationTitle,
287
+ Sa as resolveHidden,
282
288
  u as resolveMaybeFn,
283
289
  x as resolveVisible,
284
- kr as sanitizeCitationHtml,
285
- da as sanitizeMermaidChart,
286
- Rr as stripCitationFrontmatter,
287
- ua as stripProseFromMermaid,
288
- qr as toDisplayMessages,
289
- Ca as useAutoScrollToBottom,
290
- Fa as useChat,
291
- Ta as useChatSessions,
290
+ Er as sanitizeCitationHtml,
291
+ ga as sanitizeMermaidChart,
292
+ br as stripCitationFrontmatter,
293
+ Ta as stripProseFromMermaid,
294
+ $r as toDisplayMessages,
295
+ Ma as useAutoScrollToBottom,
296
+ Aa as useChat,
297
+ wa as useChatSessions,
292
298
  p as useFetchData,
293
- Nr as useFilterRegister,
294
- Ur as useFilterState,
295
- ga as useKBDocuments,
296
- Pa as useKnowledgeBase,
297
- Aa as useMarsunAuth,
298
- La as useMarsunCore,
299
- wa as useMarsunFetch,
300
- Ba as useSSECompletion,
301
- ka as useTypewriter
299
+ zr as useFilterRegister,
300
+ Kr as useFilterState,
301
+ Ba as useKBDocuments,
302
+ ka as useKnowledgeBase,
303
+ va as useMarsunAuth,
304
+ ya as useMarsunCore,
305
+ Ea as useMarsunFetch,
306
+ qr as usePageShell,
307
+ Xr as usePageShellLoading,
308
+ Na as useSSECompletion,
309
+ Ha as useTypewriter
302
310
  };
303
311
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}