@hkyhy/marsun-components-core 0.1.34 → 0.1.36

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/index.js CHANGED
@@ -2,481 +2,493 @@ import { applyCssTokenOverrides as o, applyThemeToCssVariables as r, generateThe
2
2
  import { DEFAULT_PRIMARY_COLOR as l, LAYOUT_TOKENS as i, PALETTE as m } from "./theme/constants.js";
3
3
  import { fetchWithTimeout as f, useFetchData as p } from "./hooks/useFetchData.js";
4
4
  import { resolveMaybeFn as u, resolveVisible as x } from "./utils/resolveMaybeFn.js";
5
- import { formatFileSize as C } from "./utils/format.js";
5
+ import { formatFileSize as c } from "./utils/format.js";
6
6
  import { recentDayRange as S, recentDayRangeStrings as P, recentYearRange as T, toApiStartEnd as g, toDateRange as h, toDateTimeRange as I } from "./utils/date.js";
7
- import { formatPickerValue as M, isValidPickerValue as R, parsePickerValue as E } from "./utils/pickerDate.js";
8
- import { REDIRECT_URL_PARAM as L, buildAbsoluteLocationRedirectUrl as O, buildLocationRedirectUrl as _, buildLoginPath as b, readRedirectUrlFromSearch as U, resolveRedirectUrl as y } from "./utils/authRedirect.js";
9
- import { DEFAULT_LAST_ACTIVITY_STORAGE_KEY as B, clearLastActivity as w, getLastActivityTime as N, touchLastActivity as k } from "./utils/sessionActivity.js";
10
- import { PERMISSIONS_STORAGE_KEY as G, PERMISSION_DEFINITIONS_KEY as z, USER_ROLE_PERMISSIONS_KEY as K, getStoredPermissionMap as V, getStoredUserPermissions as Y, loadPermissionDefinitions as W, loadUserRolePermissions as q, savePermissionDefinitions as X, saveUserRolePermissions as Z } from "./utils/permissionStorage.js";
7
+ import { formatPickerValue as M, isValidPickerValue as E, parsePickerValue as R } from "./utils/pickerDate.js";
8
+ import { REDIRECT_URL_PARAM as L, buildAbsoluteLocationRedirectUrl as O, buildLocationRedirectUrl as _, buildLoginPath as b, readRedirectUrlFromSearch as y, resolveRedirectUrl as U } from "./utils/authRedirect.js";
9
+ import { DEFAULT_LAST_ACTIVITY_STORAGE_KEY as w, clearLastActivity as B, getLastActivityTime as N, touchLastActivity as k } from "./utils/sessionActivity.js";
10
+ import { PERMISSIONS_STORAGE_KEY as K, PERMISSION_DEFINITIONS_KEY as z, USER_ROLE_PERMISSIONS_KEY as G, getStoredPermissionMap as Y, getStoredUserPermissions as V, loadPermissionDefinitions as W, loadUserRolePermissions as X, savePermissionDefinitions as q, saveUserRolePermissions as Z } from "./utils/permissionStorage.js";
11
11
  import { createMarsunRequest as J } from "./utils/createMarsunRequest.js";
12
12
  import { buildDepartmentPathMapFromFlat as $, buildDepartmentPathMapFromTree as ee, buildDepartmentPathMaps as te, buildLeafDepartmentPathMap as oe, getDepartmentPath as re, mergeDepartmentPathMaps as ae, toDepartmentPathMaps as se } from "./utils/department/departmentPath.js";
13
13
  import { collectDepartmentIds as ie, extractDepartmentSubtree as me, findDepartmentRootId as ne, flattenDepartments as fe, getNormalUserAccessibleDepartmentIds as pe, getNormalUserDepartmentTree as de, intersectDepartmentIds as ue } from "./utils/department/departmentScope.js";
14
- import { EMPLOYEE_ID_FORMAT_MESSAGE as ce, EMPLOYEE_ID_SIX_DIGIT_PATTERN as Ce, employeeIdFormatRule as Fe, isValidEmployeeIdFormat as Se } from "./utils/user/employeeId.js";
15
- import { buildPersonOptionLookup as Te, createPersonSelectFilter as ge, formatPersonValueLabel as he, matchPersonOptionSearch as Ie, normalizePersonDtos as De, normalizeRawPersonList as Me, resolvePersonDepartmentName as Re, resolveSelectPersonOption as Ee, toPersonOptions as Ae, toPersonSelectOptions as Le, toReviewerPersonOptions as Oe } from "./utils/personOption.js";
14
+ import { EMPLOYEE_ID_FORMAT_MESSAGE as Ce, EMPLOYEE_ID_SIX_DIGIT_PATTERN as ce, employeeIdFormatRule as Fe, isValidEmployeeIdFormat as Se } from "./utils/user/employeeId.js";
15
+ import { buildPersonOptionLookup as Te, createPersonSelectFilter as ge, formatPersonValueLabel as he, matchPersonOptionSearch as Ie, normalizePersonDtos as De, normalizeRawPersonList as Me, resolvePersonDepartmentName as Ee, resolveSelectPersonOption as Re, toPersonOptions as Ae, toPersonSelectOptions as Le, toReviewerPersonOptions as Oe } from "./utils/personOption.js";
16
16
  import { default as be } from "./components/Upload/index.js";
17
- import { ArrowLeft as ye, ArrowLeftRight as ve, BarChart3 as Be, Bell as we, BookOpen as Ne, Bot as ke, Check as He, ChevronDown as Ge, ChevronLeft as ze, ChevronRight as Ke, ChevronUp as Ve, CircleAlert as Ye, CircleCheck as We, CircleHelp as qe, CirclePlay as Xe, CircleX as Ze, ClipboardCheck as je, Clock as Je, CloudDownload as Qe, CloudUpload as $e, Code as et, Copy as tt, Crown as ot, Database as rt, Download as at, Eye as st, File as lt, FileArchive as it, FileImage as mt, FileSpreadsheet as nt, FileText as ft, Flag as pt, Flame as dt, Folder as ut, FolderOpen as xt, Hash as ct, House as Ct, ICON_NAMES as Ft, ICON_REGISTRY as St, Import as Pt, Inbox as Tt, Info as gt, LayoutDashboard as ht, LayoutGrid as It, ListTodo as Dt, Loader2 as Mt, Lock as Rt, LogOut as Et, Maximize2 as At, MessageCircle as Lt, MessageSquare as Ot, Minimize2 as _t, PanelLeftClose as bt, PanelLeftOpen as Ut, Pause as yt, Pencil as vt, Plus as Bt, Presentation as wt, RefreshCw as Nt, RotateCw as kt, Send as Ht, Settings as Gt, Shield as zt, ShieldCheck as Kt, SlidersHorizontal as Vt, Square as Yt, Star as Wt, ThumbsDown as qt, ThumbsUp as Xt, Trash2 as Zt, Trophy as jt, Undo2 as Jt, Upload as Qt, User as $t, UserPlus as eo, UserRoundCog as to, Users as oo, X as ro, createIcon as ao } from "./components/Icons/index.js";
18
- import { default as lo } from "./components/AgentHub/AgentHubAccessGuard.js";
19
- import { default as mo } from "./components/AgentHub/AgentHubIndexRedirect.js";
20
- import { default as fo } from "./components/AgentHub/ChatSessionAccessGuard.js";
21
- import { default as uo } from "./components/Layout/AgentAppShell/AgentAppShell.js";
17
+ import { ArrowLeft as Ue, ArrowLeftRight as ve, BarChart3 as we, Bell as Be, BookOpen as Ne, Bot as ke, Check as He, ChevronDown as Ke, ChevronLeft as ze, ChevronRight as Ge, ChevronUp as Ye, CircleAlert as Ve, CircleCheck as We, CircleHelp as Xe, CirclePlay as qe, CircleX as Ze, ClipboardCheck as je, Clock as Je, CloudDownload as Qe, CloudUpload as $e, Code as et, Copy as tt, Crown as ot, Database as rt, Download as at, Eye as st, EyeOff as lt, File as it, FileArchive as mt, FileImage as nt, FileSpreadsheet as ft, FileText as pt, Flag as dt, Flame as ut, Folder as xt, FolderOpen as Ct, Hash as ct, House as Ft, ICON_NAMES as St, ICON_REGISTRY as Pt, Import as Tt, Inbox as gt, Info as ht, LayoutDashboard as It, LayoutGrid as Dt, ListTodo as Mt, Loader2 as Et, Lock as Rt, LogOut as At, Maximize2 as Lt, MessageCircle as Ot, MessageSquare as _t, Minimize2 as bt, PanelLeftClose as yt, PanelLeftOpen as Ut, Pause as vt, Pencil as wt, Plus as Bt, Presentation as Nt, RefreshCw as kt, RotateCw as Ht, Send as Kt, Settings as zt, Shield as Gt, ShieldCheck as Yt, SlidersHorizontal as Vt, Square as Wt, Star as Xt, ThumbsDown as qt, ThumbsUp as Zt, Trash2 as jt, Trophy as Jt, Undo2 as Qt, Upload as $t, User as eo, UserPlus as to, UserRoundCog as oo, Users as ro, X as ao, createIcon as so } from "./components/Icons/index.js";
18
+ import { default as io } from "./components/AgentHub/AgentHubAccessGuard.js";
19
+ import { default as no } from "./components/AgentHub/AgentHubIndexRedirect.js";
20
+ import { default as po } from "./components/AgentHub/ChatSessionAccessGuard.js";
21
+ import { default as xo } from "./components/Layout/AgentAppShell/AgentAppShell.js";
22
22
  import { default as co } from "./components/Tour/AppTour/index.js";
23
- import { default as Fo } from "./components/AgentHub/Chat/Detail/ChatAgentFab/index.js";
24
- import { default as Po } from "./components/AgentHub/Chat/Detail/ChatAgentFabLayout/index.js";
25
- import { default as go } from "./components/AgentHub/Chat/Form/Form.js";
26
- import { default as Io } from "./components/AgentHub/Chat/List/ChatCard/index.js";
27
- import { default as Mo } from "./components/AgentHub/Chat/Action/CreateButton.js";
28
- import { default as Eo } from "./components/AgentHub/Chat/List/FilterBar.js";
29
- import { default as Lo } from "./components/AgentHub/Chat/Detail/ChatFollowUpSuggestions/index.js";
30
- import { default as _o } from "./components/AgentHub/Chat/Modal/FormModal.js";
23
+ import { default as So } from "./components/AgentHub/Chat/Detail/ChatAgentFab/index.js";
24
+ import { default as To } from "./components/AgentHub/Chat/Detail/ChatAgentFabLayout/index.js";
25
+ import { default as ho } from "./components/AgentHub/Chat/Form/Form.js";
26
+ import { default as Do } from "./components/AgentHub/Chat/List/ChatCard/index.js";
27
+ import { default as Eo } from "./components/AgentHub/Chat/Action/CreateButton.js";
28
+ import { default as Ao } from "./components/AgentHub/Chat/List/FilterBar.js";
29
+ import { default as Oo } from "./components/AgentHub/Chat/Detail/ChatFollowUpSuggestions/index.js";
30
+ import { default as bo } from "./components/AgentHub/Chat/Modal/FormModal.js";
31
31
  import { default as Uo } from "./components/AgentHub/Chat/Detail/ChatInput/index.js";
32
- import { default as vo } from "./components/AgentHub/Chat/Action/ManageActionButtons.js";
33
- import { default as wo } from "./components/AgentHub/Chat/Detail/ChatPanel/index.js";
34
- import { default as ko } from "./components/AgentHub/Chat/Detail/ChatSuggestionRow/index.js";
35
- import { default as Go } from "./components/AgentHub/Chat/Detail/ChatWidgetBlock/index.js";
36
- import { default as Ko } from "./components/AgentHub/Chat/Detail/CitationContent/index.js";
37
- import { default as Yo } from "./components/AgentHub/Chat/Detail/CitationInlineBadge/index.js";
32
+ import { default as wo } from "./components/AgentHub/Chat/Action/ManageActionButtons.js";
33
+ import { default as No } from "./components/AgentHub/Chat/Detail/ChatPanel/index.js";
34
+ import { default as Ho } from "./components/AgentHub/Chat/Detail/ChatSuggestionRow/index.js";
35
+ import { default as zo } from "./components/AgentHub/Chat/Detail/ChatWidgetBlock/index.js";
36
+ import { default as Yo } from "./components/AgentHub/Chat/Detail/CitationContent/index.js";
37
+ import { default as Wo } from "./components/AgentHub/Chat/Detail/CitationInlineBadge/index.js";
38
38
  import { default as qo } from "./components/AgentHub/Chat/Detail/CitationMarkdownContent/index.js";
39
- import { default as Zo } from "./components/AgentHub/Chat/Detail/CitationPanel/index.js";
40
- import { default as Jo } from "./components/Descriptions/CommonDescriptions.js";
41
- import { default as $o } from "./components/Filter/CommonFilter/index.js";
42
- import { default as tr } from "./components/Layout/ContentCard/index.js";
43
- import { default as rr } from "./components/AgentHub/KnowledgeBase/Action/CreateButton.js";
44
- import { default as sr } from "./components/AgentHub/KnowledgeBase/Detail/DocumentTable/index.js";
45
- import { default as ir } from "./components/Empty/Empty.js";
46
- import { default as nr } from "./components/Form/FetchSelect.js";
47
- import { default as pr } from "./components/Form/FetchTreeSelect.js";
48
- import { default as ur } from "./components/File/FileLink/index.js";
39
+ import { default as jo } from "./components/AgentHub/Chat/Detail/CitationPanel/index.js";
40
+ import { default as Qo } from "./components/Descriptions/CommonDescriptions.js";
41
+ import { default as er } from "./components/Filter/CommonFilter/index.js";
42
+ import { default as or } from "./components/Layout/ContentCard/index.js";
43
+ import { default as ar } from "./components/AgentHub/KnowledgeBase/Action/CreateButton.js";
44
+ import { default as lr } from "./components/AgentHub/KnowledgeBase/Detail/DocumentTable/index.js";
45
+ import { default as mr } from "./components/Empty/Empty.js";
46
+ import { default as fr } from "./components/Form/FetchSelect.js";
47
+ import { default as dr } from "./components/Form/FetchTreeSelect.js";
48
+ import { default as xr } from "./components/File/FileLink/index.js";
49
49
  import { default as cr } from "./components/File/FilePreview/index.js";
50
- import { default as Fr } from "./components/File/FilePreviewLink/index.js";
51
- import { default as Pr } from "./components/File/FilePreviewModal/index.js";
52
- import { default as gr } from "./components/Tag/FileTags.js";
53
- import { default as Ir, treeToCascaderOptions as Dr } from "./components/Filter/FilterCascader/index.js";
50
+ import { default as Sr } from "./components/File/FilePreviewLink/index.js";
51
+ import { default as Tr } from "./components/File/FilePreviewModal/index.js";
52
+ import { default as hr } from "./components/Tag/FileTags.js";
53
+ import { default as Dr, treeToCascaderOptions as Mr } from "./components/Filter/FilterCascader/index.js";
54
54
  import { default as Rr } from "./components/Filter/FilterDatePicker/index.js";
55
- import { default as Ar } from "./components/Filter/FilterDateRange/index.js";
56
- import { default as Or } from "./components/Filter/FilterInput/index.js";
57
- import { default as br } from "./components/Filter/FilterNumberRange/index.js";
58
- import { default as yr } from "./components/Filter/FilterPanel/index.js";
55
+ import { default as Lr } from "./components/Filter/FilterDateRange/index.js";
56
+ import { default as _r } from "./components/Filter/FilterInput/index.js";
57
+ import { default as yr } from "./components/Filter/FilterNumberRange/index.js";
58
+ import { default as vr } from "./components/Filter/FilterPanel/index.js";
59
59
  import { default as Br } from "./components/Filter/FilterPopover/index.js";
60
- import { default as Nr } from "./components/Filter/FilterSelect/index.js";
61
- import { default as Hr } from "./components/Filter/FilterTreeSelect/index.js";
62
- import { default as zr } from "./components/Filter/FilterTrigger/index.js";
60
+ import { default as kr } from "./components/Filter/FilterSelect/index.js";
61
+ import { default as Kr } from "./components/Filter/FilterTreeSelect/index.js";
62
+ import { default as Gr } from "./components/Filter/FilterTrigger/index.js";
63
63
  import { default as Vr } from "./components/Form/FormDataSync.js";
64
- import { default as Wr } from "./components/InteractiveBlock/InteractiveBlock.js";
65
- import { default as Xr } from "./components/AgentHub/KnowledgeBase/List/FilterBar.js";
66
- import { default as jr } from "./components/AgentHub/KnowledgeBase/Modal/FormModal.js";
67
- import { default as Qr } from "./components/AgentHub/KnowledgeBase/Form/Form.js";
68
- import { default as ea } from "./components/AgentHub/KnowledgeBase/List/KnowledgeCard/index.js";
69
- import { default as oa } from "./components/LlmFormattedText/LlmFormattedText/index.js";
70
- import { default as aa } from "./components/AgentHub/KnowledgeBase/Action/ManageActionButtons.js";
71
- import { default as la } from "./provider/MarsunCoreProvider.js";
72
- import { default as ma } from "./components/AgentHub/Chat/Detail/MermaidBlock/index.js";
73
- import { default as fa } from "./components/AgentHub/Chat/Detail/MessageActions/index.js";
74
- import { default as da } from "./components/AgentHub/Chat/Detail/MessageEditPopover/index.js";
75
- import { default as xa } from "./components/AgentHub/Chat/Detail/MessageItem/index.js";
76
- import { default as Ca } from "./components/Modal/Modal/index.js";
77
- import { default as Sa } from "./components/Layout/ModulePageShell/index.js";
78
- import { default as Ta } from "./components/Layout/PageHeaderLayout/index.js";
79
- import { default as ha } from "./components/Layout/PageSpin/index.js";
80
- import { default as Da } from "./components/AgentHub/KnowledgeBase/Detail/ParseStatusTag/index.js";
64
+ import { default as Xr } from "./components/InteractiveBlock/InteractiveBlock.js";
65
+ import { default as Zr } from "./components/AgentHub/KnowledgeBase/List/FilterBar.js";
66
+ import { default as Jr } from "./components/AgentHub/KnowledgeBase/Modal/FormModal.js";
67
+ import { default as $r } from "./components/AgentHub/KnowledgeBase/Form/Form.js";
68
+ import { default as ta } from "./components/AgentHub/KnowledgeBase/List/KnowledgeCard/index.js";
69
+ import { default as ra } from "./components/LlmFormattedText/LlmFormattedText/index.js";
70
+ import { default as sa } from "./components/AgentHub/KnowledgeBase/Action/ManageActionButtons.js";
71
+ import { default as ia } from "./provider/MarsunCoreProvider.js";
72
+ import { default as na } from "./components/AgentHub/Chat/Detail/MermaidBlock/index.js";
73
+ import { default as pa } from "./components/AgentHub/Chat/Detail/MessageActions/index.js";
74
+ import { default as ua } from "./components/AgentHub/Chat/Detail/MessageEditPopover/index.js";
75
+ import { default as Ca } from "./components/AgentHub/Chat/Detail/MessageItem/index.js";
76
+ import { default as Fa } from "./components/Modal/Modal/index.js";
77
+ import { default as Pa } from "./components/Layout/ModulePageShell/index.js";
78
+ import { default as ga } from "./components/Layout/PageHeaderLayout/index.js";
79
+ import { default as Ia } from "./components/Layout/PageSpin/index.js";
80
+ import { default as Ma } from "./components/AgentHub/KnowledgeBase/Detail/ParseStatusTag/index.js";
81
81
  import { default as Ra } from "./components/Auth/PermissionGuard.js";
82
- import { default as Aa } from "./components/Form/PersonOptionRow/index.js";
83
- import { default as Oa } from "./components/Auth/ProtectedRoute.js";
84
- import { default as ba } from "./components/AgentHub/Report/Detail/ReportMetaStrip/index.js";
85
- import { default as ya } from "./components/AgentHub/Report/Detail/ReportTemplate/index.js";
86
- import { SEMANTIC_COLORS as Ba, default as wa } from "./components/Tag/SemanticTag.js";
87
- import { default as ka } from "./components/AgentHub/Chat/Action/SessionActionButtons.js";
88
- import { default as Ga } from "./components/AgentHub/Chat/List/SessionSidebar/index.js";
89
- import { default as Ka } from "./components/Sparkline/Sparkline/index.js";
90
- import { default as Ya } from "./components/Stat/StatCard/index.js";
82
+ import { default as La } from "./components/Form/PersonOptionRow/index.js";
83
+ import { default as _a } from "./components/Auth/ProtectedRoute.js";
84
+ import { default as ya } from "./components/AgentHub/Report/Detail/ReportMetaStrip/index.js";
85
+ import { default as va } from "./components/AgentHub/Report/Detail/ReportTemplate/index.js";
86
+ import { SEMANTIC_COLORS as Ba, default as Na } from "./components/Tag/SemanticTag.js";
87
+ import { default as Ha } from "./components/AgentHub/Chat/Action/SessionActionButtons.js";
88
+ import { default as za } from "./components/AgentHub/Chat/List/SessionSidebar/index.js";
89
+ import { default as Ya } from "./components/Sparkline/Sparkline/index.js";
90
+ import { default as Wa } from "./components/Stat/StatCard/index.js";
91
91
  import { default as qa } from "./components/Stat/StatCardList.js";
92
- import { default as Za } from "./components/Stat/StatPendingBreakdown/index.js";
93
- import { default as Ja } from "./components/Form/StepForm.js";
94
- import { default as $a } from "./components/Modal/StepModal/index.js";
95
- import { default as ts } from "./components/Table/Table.js";
96
- import { default as rs } from "./components/Tag/Tags/index.js";
97
- import { default as ss } from "./components/AgentHub/Chat/Detail/ThinkingSection/index.js";
98
- import { default as is } from "./components/TooltipInfo/TooltipInfo.js";
99
- import { default as ns } from "./components/Auth/UserProfileCard/UserProfileCard.js";
100
- import { default as ps } from "./components/VirtualScrollbar/VirtualScrollbar/index.js";
101
- import { CHUNK_METHOD_OPTIONS as us, EMBEDDING_MODEL_OPTIONS as xs, PARSE_STATUS_CONFIG as cs } from "./components/AgentHub/KnowledgeBase/constants/types.js";
102
- import { CITATION_LINK_PREFIX as Fs, citationDisplayNumber as Ss, citationIdToIndex as Ps, countUniqueCitedSources as Ts, detectCitationIdBase as gs, extractCitationIdsFromContent as hs, extractCitationTitle as Is, formatCitationDocBasename as Ds, formatCitationMeta as Ms, formatCitationPositions as Rs, injectCitationMarkdownLinks as Es, normalizeCitation as As, parseCitationLinkHref as Ls, prepareCitationContent as Os, resolveCitationTitle as _s, sanitizeCitationHtml as bs, stripCitationFrontmatter as Us } from "./components/AgentHub/Chat/utils/citationContent.js";
103
- import { COLUMN_CONFIG_COL_KEY as vs, applyColumnConfig as Bs, columnsToConfig as ws } from "./components/Table/columnConfigUtils.js";
104
- import { CancelButton as ks, Form as Hs, FormInfo as Gs, FormModal as zs, FormSteps as Ks, FormStepsModal as Vs, Input as Ys, InputNumber as Ws, List as qs, MultiField as Xs, RadioGroup as Zs, ResetButton as js, Select as Js, SubmitButton as Qs, Switch as $s, TableList as el, TextArea as tl } from "./components/Form/kneFormInfo.js";
105
- import { FileItem as rl } from "./components/File/FileItem/index.js";
106
- import { FilterProvider as sl, useFilterDeps as ll, useFilterFieldBridge as il, useFilterRegister as ml, useFilterState as nl } from "./components/Filter/useFilterState.js";
107
- import { GroupList as pl, RULES as dl, default as ul, compileErrMsg as xl, computedFieldValueFromFormData as cl, computedFormDataFormState as Cl, filterEmpty as Fl, findField as Sl, formUtils as Pl, interceptors as Tl, isEmpty as gl, isNotEmpty as hl, matchFields as Il, preset as Dl, stateToError as Ml, stateToIsPass as Rl, useField as El, useFormApi as Al, useFormContext as Ll, useGroup as Ol, useReset as _l, useSubmit as bl } from "@kne/react-form";
108
- import { MODAL_SIZE_BODY_HEIGHT as yl, MODAL_SIZE_WIDTH as vl, resolveModalSizeAnchor as Bl, resolveModalWidth as wl } from "./components/Modal/utils/resolveModalSize.js";
109
- import { PageShellProvider as kl, usePageShell as Hl, usePageShellLoading as Gl } from "./components/Layout/PageShell/PageShellContext.js";
110
- import { animateScrollFromTopToBottom as Kl, animateScrollTo as Vl, getScrollBottom as Yl } from "./components/AgentHub/Chat/utils/smoothScroll.js";
111
- import { buildDepsKey as ql, normalizeDependsOn as Xl, resolveFilterLabel as Zl, resolveFilterVisible as jl, resolveHidden as Jl } from "./components/Filter/types.js";
112
- import { downloadFileItem as $l, getFileDownloadAuthHeaders as ei, getFileDownloadUrl as ti } from "./components/File/utils/download.js";
113
- import { extractCitations as ri, formatSessionTime as ai, getSessionDisplayName as si, isWelcomeOnlyMessages as li, parseSessionMessages as ii, toDisplayMessages as mi } from "./components/AgentHub/Chat/utils/sessionMessages.js";
114
- import { formatLlmTextToHtml as fi, parseLlmText as pi } from "./components/LlmFormattedText/parseLlmText.js";
115
- import { getFileExtension as ui, getFileIcon as xi, getFileTypeName as ci, normalizeExtension as Ci, normalizeFileDisplayItem as Fi, parseFileNameFromUrl as Si } from "./components/File/fileDisplay.js";
116
- import { hasCitationMarkers as Ti, normalizeAssistantMarkdown as gi, normalizeDisplayText as hi, parseAssistantContent as Ii } from "./components/AgentHub/Chat/utils/messageContent.js";
117
- import { hasPermission as Mi } from "./components/Auth/hasPermission.js";
118
- import { sanitizeMermaidChart as Ei, stripProseFromMermaid as Ai } from "./components/AgentHub/Chat/utils/sanitizeMermaidChart.js";
119
- import { useAutoScrollToBottom as Oi } from "./components/AgentHub/Chat/hooks/useAutoScrollToBottom.js";
120
- import { useChat as bi } from "./components/AgentHub/Chat/hooks/useChat.js";
121
- import { useChatSessions as yi } from "./components/AgentHub/Chat/hooks/useChatSessions.js";
122
- import { useCitationPanel as Bi } from "./components/AgentHub/Chat/hooks/useCitationPanel.js";
123
- import { useKBDocuments as Ni } from "./components/AgentHub/KnowledgeBase/hooks/useKBDocuments.js";
124
- import { useKnowledgeBase as Hi } from "./components/AgentHub/KnowledgeBase/hooks/useKnowledgeBase.js";
125
- import { useMarsunAuth as zi, useMarsunCore as Ki, useMarsunFetch as Vi } from "./provider/context.js";
126
- import { useSSECompletion as Wi } from "./components/AgentHub/Chat/hooks/useSSECompletion.js";
127
- import { useTypewriter as Xi } from "./components/AgentHub/Chat/hooks/useTypewriter.js";
92
+ import { default as ja } from "./components/Stat/StatPendingBreakdown/index.js";
93
+ import { default as Qa } from "./components/Form/StepForm.js";
94
+ import { default as es } from "./components/Modal/StepModal/index.js";
95
+ import { default as os } from "./components/Table/Table.js";
96
+ import { default as as } from "./components/Tag/Tags/index.js";
97
+ import { default as ls } from "./components/AgentHub/Chat/Detail/ThinkingSection/index.js";
98
+ import { default as ms } from "./components/TooltipInfo/TooltipInfo.js";
99
+ import { default as fs } from "./components/Auth/UserProfileCard/UserProfileCard.js";
100
+ import { default as ds } from "./components/VirtualScrollbar/VirtualScrollbar/index.js";
101
+ import { CHUNK_METHOD_OPTIONS as xs, EMBEDDING_MODEL_OPTIONS as Cs, PARSE_STATUS_CONFIG as cs } from "./components/AgentHub/KnowledgeBase/constants/types.js";
102
+ import { CITATION_LINK_PREFIX as Ss, citationDisplayNumber as Ps, citationIdToIndex as Ts, countUniqueCitedSources as gs, detectCitationIdBase as hs, extractCitationIdsFromContent as Is, extractCitationTitle as Ds, formatCitationDocBasename as Ms, formatCitationMeta as Es, formatCitationPositions as Rs, injectCitationMarkdownLinks as As, normalizeCitation as Ls, parseCitationLinkHref as Os, prepareCitationContent as _s, resolveCitationTitle as bs, sanitizeCitationHtml as ys, stripCitationFrontmatter as Us } from "./components/AgentHub/Chat/utils/citationContent.js";
103
+ import { COLUMN_CONFIG_COL_KEY as ws, FLEX_SPACER_COL_KEY as Bs, applyColumnConfig as Ns, columnsToConfig as ks, hideColumnAtPath as Hs, isInternalColumnKey as Ks } from "./components/Table/columnConfigUtils.js";
104
+ import { CancelButton as Gs, Form as Ys, FormInfo as Vs, FormModal as Ws, FormSteps as Xs, FormStepsModal as qs, Input as Zs, InputNumber as js, List as Js, MultiField as Qs, RadioGroup as $s, ResetButton as el, Select as tl, SubmitButton as ol, Switch as rl, TableList as al, TextArea as sl } from "./components/Form/kneFormInfo.js";
105
+ import { FileItem as il } from "./components/File/FileItem/index.js";
106
+ import { FilterProvider as nl, useFilterDeps as fl, useFilterFieldBridge as pl, useFilterRegister as dl, useFilterState as ul } from "./components/Filter/useFilterState.js";
107
+ import { GroupList as Cl, RULES as cl, default as Fl, compileErrMsg as Sl, computedFieldValueFromFormData as Pl, computedFormDataFormState as Tl, filterEmpty as gl, findField as hl, formUtils as Il, interceptors as Dl, isEmpty as Ml, isNotEmpty as El, matchFields as Rl, preset as Al, stateToError as Ll, stateToIsPass as Ol, useField as _l, useFormApi as bl, useFormContext as yl, useGroup as Ul, useReset as vl, useSubmit as wl } from "@kne/react-form";
108
+ import { MODAL_SIZE_BODY_HEIGHT as Nl, MODAL_SIZE_WIDTH as kl, resolveModalSizeAnchor as Hl, resolveModalWidth as Kl } from "./components/Modal/utils/resolveModalSize.js";
109
+ import { PageShellProvider as Gl, usePageShell as Yl, usePageShellLoading as Vl } from "./components/Layout/PageShell/PageShellContext.js";
110
+ import { animateScrollFromTopToBottom as Xl, animateScrollTo as ql, getScrollBottom as Zl } from "./components/AgentHub/Chat/utils/smoothScroll.js";
111
+ import { applyHiddenRows as Jl, mergeTablePrefs as Ql, normalizeHiddenRowKeys as $l, parseTablePrefs as ei, serializeTablePrefs as ti } from "./components/Table/tablePrefsUtils.js";
112
+ import { buildDepsKey as ri, normalizeDependsOn as ai, resolveFilterLabel as si, resolveFilterVisible as li, resolveHidden as ii } from "./components/Filter/types.js";
113
+ import { downloadFileItem as ni, getFileDownloadAuthHeaders as fi, getFileDownloadUrl as pi } from "./components/File/utils/download.js";
114
+ import { emptyTablePrefs as ui } from "./components/Table/tablePrefsTypes.js";
115
+ import { extractCitations as Ci, formatSessionTime as ci, getSessionDisplayName as Fi, isWelcomeOnlyMessages as Si, parseSessionMessages as Pi, toDisplayMessages as Ti } from "./components/AgentHub/Chat/utils/sessionMessages.js";
116
+ import { formatLlmTextToHtml as hi, parseLlmText as Ii } from "./components/LlmFormattedText/parseLlmText.js";
117
+ import { getFileExtension as Mi, getFileIcon as Ei, getFileTypeName as Ri, normalizeExtension as Ai, normalizeFileDisplayItem as Li, parseFileNameFromUrl as Oi } from "./components/File/fileDisplay.js";
118
+ import { hasCitationMarkers as bi, normalizeAssistantMarkdown as yi, normalizeDisplayText as Ui, parseAssistantContent as vi } from "./components/AgentHub/Chat/utils/messageContent.js";
119
+ import { hasPermission as Bi } from "./components/Auth/hasPermission.js";
120
+ import { sanitizeMermaidChart as ki, stripProseFromMermaid as Hi } from "./components/AgentHub/Chat/utils/sanitizeMermaidChart.js";
121
+ import { useAutoScrollToBottom as zi } from "./components/AgentHub/Chat/hooks/useAutoScrollToBottom.js";
122
+ import { useChat as Yi } from "./components/AgentHub/Chat/hooks/useChat.js";
123
+ import { useChatSessions as Wi } from "./components/AgentHub/Chat/hooks/useChatSessions.js";
124
+ import { useCitationPanel as qi } from "./components/AgentHub/Chat/hooks/useCitationPanel.js";
125
+ import { useKBDocuments as ji } from "./components/AgentHub/KnowledgeBase/hooks/useKBDocuments.js";
126
+ import { useKnowledgeBase as Qi } from "./components/AgentHub/KnowledgeBase/hooks/useKnowledgeBase.js";
127
+ import { useMarsunAuth as em, useMarsunCore as tm, useMarsunFetch as om } from "./provider/context.js";
128
+ import { useSSECompletion as am } from "./components/AgentHub/Chat/hooks/useSSECompletion.js";
129
+ import { useTypewriter as lm } from "./components/AgentHub/Chat/hooks/useTypewriter.js";
128
130
  export {
129
- uo as AgentAppShell,
130
- lo as AgentHubAccessGuard,
131
- mo as AgentHubIndexRedirect,
132
- fo as AgentHubSessionAccessGuard,
131
+ xo as AgentAppShell,
132
+ io as AgentHubAccessGuard,
133
+ no as AgentHubIndexRedirect,
134
+ po as AgentHubSessionAccessGuard,
133
135
  co as AppTour,
134
- ye as ArrowLeft,
136
+ Ue as ArrowLeft,
135
137
  ve as ArrowLeftRight,
136
- Be as BarChart3,
137
- we as Bell,
138
+ we as BarChart3,
139
+ Be as Bell,
138
140
  Ne as BookOpen,
139
141
  ke as Bot,
140
- us as CHUNK_METHOD_OPTIONS,
141
- Fs as CITATION_LINK_PREFIX,
142
- vs as COLUMN_CONFIG_COL_KEY,
143
- ks as CancelButton,
144
- Fo as ChatAgentFab,
145
- Po as ChatAgentFabLayout,
146
- go as ChatAssistantForm,
147
- Io as ChatCard,
148
- Mo as ChatCreateButton,
149
- Eo as ChatFilterBar,
150
- Lo as ChatFollowUpSuggestions,
151
- _o as ChatFormModal,
142
+ xs as CHUNK_METHOD_OPTIONS,
143
+ Ss as CITATION_LINK_PREFIX,
144
+ ws as COLUMN_CONFIG_COL_KEY,
145
+ Gs as CancelButton,
146
+ So as ChatAgentFab,
147
+ To as ChatAgentFabLayout,
148
+ ho as ChatAssistantForm,
149
+ Do as ChatCard,
150
+ Eo as ChatCreateButton,
151
+ Ao as ChatFilterBar,
152
+ Oo as ChatFollowUpSuggestions,
153
+ bo as ChatFormModal,
152
154
  Uo as ChatInput,
153
- vo as ChatManageActionButtons,
154
- wo as ChatPanel,
155
- ko as ChatSuggestionRow,
156
- Go as ChatWidgetBlock,
155
+ wo as ChatManageActionButtons,
156
+ No as ChatPanel,
157
+ Ho as ChatSuggestionRow,
158
+ zo as ChatWidgetBlock,
157
159
  He as Check,
158
- Ge as ChevronDown,
160
+ Ke as ChevronDown,
159
161
  ze as ChevronLeft,
160
- Ke as ChevronRight,
161
- Ve as ChevronUp,
162
- Ye as CircleAlert,
162
+ Ge as ChevronRight,
163
+ Ye as ChevronUp,
164
+ Ve as CircleAlert,
163
165
  We as CircleCheck,
164
- qe as CircleHelp,
165
- Xe as CirclePlay,
166
+ Xe as CircleHelp,
167
+ qe as CirclePlay,
166
168
  Ze as CircleX,
167
- Ko as CitationContent,
168
- Yo as CitationInlineBadge,
169
+ Yo as CitationContent,
170
+ Wo as CitationInlineBadge,
169
171
  qo as CitationMarkdownContent,
170
- Zo as CitationPanel,
172
+ jo as CitationPanel,
171
173
  je as ClipboardCheck,
172
174
  Je as Clock,
173
175
  Qe as CloudDownload,
174
176
  $e as CloudUpload,
175
177
  et as Code,
176
- Jo as CommonDescriptions,
177
- $o as CommonFilter,
178
+ Qo as CommonDescriptions,
179
+ er as CommonFilter,
178
180
  be as CommonUpload,
179
- tr as ContentCard,
181
+ or as ContentCard,
180
182
  tt as Copy,
181
- rr as CreateButton,
183
+ ar as CreateButton,
182
184
  ot as Crown,
183
- B as DEFAULT_LAST_ACTIVITY_STORAGE_KEY,
185
+ w as DEFAULT_LAST_ACTIVITY_STORAGE_KEY,
184
186
  l as DEFAULT_PRIMARY_COLOR,
185
187
  rt as Database,
186
- sr as DocumentTable,
188
+ lr as DocumentTable,
187
189
  at as Download,
188
- xs as EMBEDDING_MODEL_OPTIONS,
189
- ce as EMPLOYEE_ID_FORMAT_MESSAGE,
190
- Ce as EMPLOYEE_ID_SIX_DIGIT_PATTERN,
191
- ir as Empty,
190
+ Cs as EMBEDDING_MODEL_OPTIONS,
191
+ Ce as EMPLOYEE_ID_FORMAT_MESSAGE,
192
+ ce as EMPLOYEE_ID_SIX_DIGIT_PATTERN,
193
+ mr as Empty,
192
194
  st as Eye,
193
- nr as FetchSelect,
194
- pr as FetchTreeSelect,
195
- lt as File,
196
- it as FileArchive,
197
- mt as FileImage,
198
- rl as FileItemView,
199
- ur as FileLink,
195
+ lt as EyeOff,
196
+ Bs as FLEX_SPACER_COL_KEY,
197
+ fr as FetchSelect,
198
+ dr as FetchTreeSelect,
199
+ it as File,
200
+ mt as FileArchive,
201
+ nt as FileImage,
202
+ il as FileItemView,
203
+ xr as FileLink,
200
204
  cr as FilePreview,
201
- Fr as FilePreviewLink,
202
- Pr as FilePreviewModal,
203
- nt as FileSpreadsheet,
204
- gr as FileTags,
205
- ft as FileText,
206
- Ir as FilterCascader,
205
+ Sr as FilePreviewLink,
206
+ Tr as FilePreviewModal,
207
+ ft as FileSpreadsheet,
208
+ hr as FileTags,
209
+ pt as FileText,
210
+ Dr as FilterCascader,
207
211
  Rr as FilterDatePicker,
208
- Ar as FilterDateRange,
209
- Or as FilterInput,
210
- br as FilterNumberRange,
211
- yr as FilterPanel,
212
+ Lr as FilterDateRange,
213
+ _r as FilterInput,
214
+ yr as FilterNumberRange,
215
+ vr as FilterPanel,
212
216
  Br as FilterPopover,
213
- sl as FilterProvider,
214
- Nr as FilterSelect,
215
- Hr as FilterTreeSelect,
216
- zr as FilterTrigger,
217
- pt as Flag,
218
- dt as Flame,
219
- ut as Folder,
220
- xt as FolderOpen,
221
- Hs as Form,
217
+ nl as FilterProvider,
218
+ kr as FilterSelect,
219
+ Kr as FilterTreeSelect,
220
+ Gr as FilterTrigger,
221
+ dt as Flag,
222
+ ut as Flame,
223
+ xt as Folder,
224
+ Ct as FolderOpen,
225
+ Ys as Form,
222
226
  Vr as FormDataSync,
223
- Gs as FormInfo,
224
- zs as FormModal,
225
- Ks as FormSteps,
226
- Vs as FormStepsModal,
227
- pl as GroupList,
227
+ Vs as FormInfo,
228
+ Ws as FormModal,
229
+ Xs as FormSteps,
230
+ qs as FormStepsModal,
231
+ Cl as GroupList,
228
232
  ct as Hash,
229
- Ct as House,
230
- Ft as ICON_NAMES,
231
- St as ICON_REGISTRY,
232
- Pt as Import,
233
- Tt as Inbox,
234
- gt as Info,
235
- Ys as Input,
236
- Ws as InputNumber,
237
- Wr as InteractiveBlock,
238
- Xr as KBFilterBar,
239
- jr as KBFormModal,
240
- Qr as KnowledgeBaseForm,
241
- ea as KnowledgeCard,
233
+ Ft as House,
234
+ St as ICON_NAMES,
235
+ Pt as ICON_REGISTRY,
236
+ Tt as Import,
237
+ gt as Inbox,
238
+ ht as Info,
239
+ Zs as Input,
240
+ js as InputNumber,
241
+ Xr as InteractiveBlock,
242
+ Zr as KBFilterBar,
243
+ Jr as KBFormModal,
244
+ $r as KnowledgeBaseForm,
245
+ ta as KnowledgeCard,
242
246
  i as LAYOUT_TOKENS,
243
- ht as LayoutDashboard,
244
- It as LayoutGrid,
245
- qs as List,
246
- Dt as ListTodo,
247
- oa as LlmFormattedText,
248
- Mt as Loader2,
247
+ It as LayoutDashboard,
248
+ Dt as LayoutGrid,
249
+ Js as List,
250
+ Mt as ListTodo,
251
+ ra as LlmFormattedText,
252
+ Et as Loader2,
249
253
  Rt as Lock,
250
- Et as LogOut,
251
- yl as MODAL_SIZE_BODY_HEIGHT,
252
- vl as MODAL_SIZE_WIDTH,
253
- aa as ManageActionButtons,
254
- la as MarsunCoreProvider,
255
- At as Maximize2,
256
- ma as MermaidBlock,
257
- fa as MessageActions,
258
- Lt as MessageCircle,
259
- da as MessageEditPopover,
260
- xa as MessageItem,
261
- Ot as MessageSquare,
262
- _t as Minimize2,
263
- Ca as Modal,
264
- Sa as ModulePageShell,
265
- Xs as MultiField,
254
+ At as LogOut,
255
+ Nl as MODAL_SIZE_BODY_HEIGHT,
256
+ kl as MODAL_SIZE_WIDTH,
257
+ sa as ManageActionButtons,
258
+ ia as MarsunCoreProvider,
259
+ Lt as Maximize2,
260
+ na as MermaidBlock,
261
+ pa as MessageActions,
262
+ Ot as MessageCircle,
263
+ ua as MessageEditPopover,
264
+ Ca as MessageItem,
265
+ _t as MessageSquare,
266
+ bt as Minimize2,
267
+ Fa as Modal,
268
+ Pa as ModulePageShell,
269
+ Qs as MultiField,
266
270
  m as PALETTE,
267
271
  cs as PARSE_STATUS_CONFIG,
268
- G as PERMISSIONS_STORAGE_KEY,
272
+ K as PERMISSIONS_STORAGE_KEY,
269
273
  z as PERMISSION_DEFINITIONS_KEY,
270
- Ta as PageHeaderLayout,
271
- kl as PageShellProvider,
272
- ha as PageSpin,
273
- bt as PanelLeftClose,
274
+ ga as PageHeaderLayout,
275
+ Gl as PageShellProvider,
276
+ Ia as PageSpin,
277
+ yt as PanelLeftClose,
274
278
  Ut as PanelLeftOpen,
275
- Da as ParseStatusTag,
276
- yt as Pause,
277
- vt as Pencil,
279
+ Ma as ParseStatusTag,
280
+ vt as Pause,
281
+ wt as Pencil,
278
282
  Ra as PermissionGuard,
279
- Aa as PersonOptionRow,
283
+ La as PersonOptionRow,
280
284
  Bt as Plus,
281
- wt as Presentation,
282
- Oa as ProtectedRoute,
285
+ Nt as Presentation,
286
+ _a as ProtectedRoute,
283
287
  L as REDIRECT_URL_PARAM,
284
- dl as RULES,
285
- Zs as RadioGroup,
286
- ul as ReactForm,
287
- Nt as RefreshCw,
288
- ba as ReportMetaStrip,
289
- ya as ReportTemplate,
290
- js as ResetButton,
291
- kt as RotateCw,
288
+ cl as RULES,
289
+ $s as RadioGroup,
290
+ Fl as ReactForm,
291
+ kt as RefreshCw,
292
+ ya as ReportMetaStrip,
293
+ va as ReportTemplate,
294
+ el as ResetButton,
295
+ Ht as RotateCw,
292
296
  Ba as SEMANTIC_COLORS,
293
- Js as Select,
294
- wa as SemanticTag,
295
- Ht as Send,
296
- ka as SessionActionButtons,
297
- Ga as SessionSidebar,
298
- Gt as Settings,
299
- zt as Shield,
300
- Kt as ShieldCheck,
297
+ tl as Select,
298
+ Na as SemanticTag,
299
+ Kt as Send,
300
+ Ha as SessionActionButtons,
301
+ za as SessionSidebar,
302
+ zt as Settings,
303
+ Gt as Shield,
304
+ Yt as ShieldCheck,
301
305
  Vt as SlidersHorizontal,
302
- Ka as Sparkline,
303
- Yt as Square,
304
- Wt as Star,
305
- Ya as StatCard,
306
+ Ya as Sparkline,
307
+ Wt as Square,
308
+ Xt as Star,
309
+ Wa as StatCard,
306
310
  qa as StatCardList,
307
- Za as StatPendingBreakdown,
308
- Ja as StepForm,
309
- $a as StepModal,
310
- Qs as SubmitButton,
311
- $s as Switch,
312
- ts as Table,
313
- el as TableList,
314
- rs as Tags,
315
- tl as TextArea,
316
- ss as ThinkingSection,
311
+ ja as StatPendingBreakdown,
312
+ Qa as StepForm,
313
+ es as StepModal,
314
+ ol as SubmitButton,
315
+ rl as Switch,
316
+ os as Table,
317
+ al as TableList,
318
+ as as Tags,
319
+ sl as TextArea,
320
+ ls as ThinkingSection,
317
321
  qt as ThumbsDown,
318
- Xt as ThumbsUp,
319
- is as TooltipInfo,
320
- Zt as Trash2,
321
- jt as Trophy,
322
- K as USER_ROLE_PERMISSIONS_KEY,
323
- Jt as Undo2,
324
- Qt as Upload,
325
- $t as User,
326
- eo as UserPlus,
327
- ns as UserProfileCard,
328
- to as UserRoundCog,
329
- oo as Users,
330
- ps as VirtualScrollbar,
331
- ro as X,
332
- Kl as animateScrollFromTopToBottom,
333
- Vl as animateScrollTo,
334
- Bs as applyColumnConfig,
322
+ Zt as ThumbsUp,
323
+ ms as TooltipInfo,
324
+ jt as Trash2,
325
+ Jt as Trophy,
326
+ G as USER_ROLE_PERMISSIONS_KEY,
327
+ Qt as Undo2,
328
+ $t as Upload,
329
+ eo as User,
330
+ to as UserPlus,
331
+ fs as UserProfileCard,
332
+ oo as UserRoundCog,
333
+ ro as Users,
334
+ ds as VirtualScrollbar,
335
+ ao as X,
336
+ Xl as animateScrollFromTopToBottom,
337
+ ql as animateScrollTo,
338
+ Ns as applyColumnConfig,
335
339
  o as applyCssTokenOverrides,
340
+ Jl as applyHiddenRows,
336
341
  r as applyThemeToCssVariables,
337
342
  O as buildAbsoluteLocationRedirectUrl,
338
343
  $ as buildDepartmentPathMapFromFlat,
339
344
  ee as buildDepartmentPathMapFromTree,
340
345
  te as buildDepartmentPathMaps,
341
- ql as buildDepsKey,
346
+ ri as buildDepsKey,
342
347
  oe as buildLeafDepartmentPathMap,
343
348
  _ as buildLocationRedirectUrl,
344
349
  b as buildLoginPath,
345
350
  Te as buildPersonOptionLookup,
346
- Ss as citationDisplayNumber,
347
- Ps as citationIdToIndex,
348
- w as clearLastActivity,
351
+ Ps as citationDisplayNumber,
352
+ Ts as citationIdToIndex,
353
+ B as clearLastActivity,
349
354
  ie as collectDepartmentIds,
350
- ws as columnsToConfig,
351
- xl as compileErrMsg,
352
- cl as computedFieldValueFromFormData,
353
- Cl as computedFormDataFormState,
354
- Ts as countUniqueCitedSources,
355
- ao as createIcon,
355
+ ks as columnsToConfig,
356
+ Sl as compileErrMsg,
357
+ Pl as computedFieldValueFromFormData,
358
+ Tl as computedFormDataFormState,
359
+ gs as countUniqueCitedSources,
360
+ so as createIcon,
356
361
  J as createMarsunRequest,
357
362
  ge as createPersonSelectFilter,
358
- gs as detectCitationIdBase,
359
- $l as downloadFileItem,
363
+ hs as detectCitationIdBase,
364
+ ni as downloadFileItem,
360
365
  Fe as employeeIdFormatRule,
361
- hs as extractCitationIdsFromContent,
362
- Is as extractCitationTitle,
363
- ri as extractCitations,
366
+ ui as emptyTablePrefs,
367
+ Is as extractCitationIdsFromContent,
368
+ Ds as extractCitationTitle,
369
+ Ci as extractCitations,
364
370
  me as extractDepartmentSubtree,
365
371
  f as fetchWithTimeout,
366
- Fl as filterEmpty,
372
+ gl as filterEmpty,
367
373
  ne as findDepartmentRootId,
368
- Sl as findField,
374
+ hl as findField,
369
375
  fe as flattenDepartments,
370
- Pl as formUtils,
371
- Ds as formatCitationDocBasename,
372
- Ms as formatCitationMeta,
376
+ Il as formUtils,
377
+ Ms as formatCitationDocBasename,
378
+ Es as formatCitationMeta,
373
379
  Rs as formatCitationPositions,
374
- C as formatFileSize,
375
- fi as formatLlmTextToHtml,
380
+ c as formatFileSize,
381
+ hi as formatLlmTextToHtml,
376
382
  he as formatPersonValueLabel,
377
383
  M as formatPickerValue,
378
- ai as formatSessionTime,
384
+ ci as formatSessionTime,
379
385
  a as generateTheme,
380
386
  re as getDepartmentPath,
381
- ei as getFileDownloadAuthHeaders,
382
- ti as getFileDownloadUrl,
383
- ui as getFileExtension,
384
- xi as getFileIcon,
385
- ci as getFileTypeName,
387
+ fi as getFileDownloadAuthHeaders,
388
+ pi as getFileDownloadUrl,
389
+ Mi as getFileExtension,
390
+ Ei as getFileIcon,
391
+ Ri as getFileTypeName,
386
392
  N as getLastActivityTime,
387
393
  pe as getNormalUserAccessibleDepartmentIds,
388
394
  de as getNormalUserDepartmentTree,
389
- Yl as getScrollBottom,
390
- si as getSessionDisplayName,
391
- V as getStoredPermissionMap,
392
- Y as getStoredUserPermissions,
393
- Ti as hasCitationMarkers,
394
- Mi as hasPermission,
395
- Es as injectCitationMarkdownLinks,
396
- Tl as interceptors,
395
+ Zl as getScrollBottom,
396
+ Fi as getSessionDisplayName,
397
+ Y as getStoredPermissionMap,
398
+ V as getStoredUserPermissions,
399
+ bi as hasCitationMarkers,
400
+ Bi as hasPermission,
401
+ Hs as hideColumnAtPath,
402
+ As as injectCitationMarkdownLinks,
403
+ Dl as interceptors,
397
404
  ue as intersectDepartmentIds,
398
- gl as isEmpty,
399
- hl as isNotEmpty,
405
+ Ml as isEmpty,
406
+ Ks as isInternalColumnKey,
407
+ El as isNotEmpty,
400
408
  Se as isValidEmployeeIdFormat,
401
- R as isValidPickerValue,
402
- li as isWelcomeOnlyMessages,
409
+ E as isValidPickerValue,
410
+ Si as isWelcomeOnlyMessages,
403
411
  W as loadPermissionDefinitions,
404
- q as loadUserRolePermissions,
405
- Il as matchFields,
412
+ X as loadUserRolePermissions,
413
+ Rl as matchFields,
406
414
  Ie as matchPersonOptionSearch,
407
415
  ae as mergeDepartmentPathMaps,
408
- gi as normalizeAssistantMarkdown,
409
- As as normalizeCitation,
410
- Xl as normalizeDependsOn,
411
- hi as normalizeDisplayText,
412
- Ci as normalizeExtension,
413
- Fi as normalizeFileDisplayItem,
416
+ Ql as mergeTablePrefs,
417
+ yi as normalizeAssistantMarkdown,
418
+ Ls as normalizeCitation,
419
+ ai as normalizeDependsOn,
420
+ Ui as normalizeDisplayText,
421
+ Ai as normalizeExtension,
422
+ Li as normalizeFileDisplayItem,
423
+ $l as normalizeHiddenRowKeys,
414
424
  De as normalizePersonDtos,
415
425
  Me as normalizeRawPersonList,
416
- Ii as parseAssistantContent,
417
- Ls as parseCitationLinkHref,
418
- Si as parseFileNameFromUrl,
419
- pi as parseLlmText,
420
- E as parsePickerValue,
421
- ii as parseSessionMessages,
422
- Os as prepareCitationContent,
423
- Dl as preset,
424
- U as readRedirectUrlFromSearch,
426
+ vi as parseAssistantContent,
427
+ Os as parseCitationLinkHref,
428
+ Oi as parseFileNameFromUrl,
429
+ Ii as parseLlmText,
430
+ R as parsePickerValue,
431
+ Pi as parseSessionMessages,
432
+ ei as parseTablePrefs,
433
+ _s as prepareCitationContent,
434
+ Al as preset,
435
+ y as readRedirectUrlFromSearch,
425
436
  S as recentDayRange,
426
437
  P as recentDayRangeStrings,
427
438
  T as recentYearRange,
428
- _s as resolveCitationTitle,
429
- Zl as resolveFilterLabel,
430
- jl as resolveFilterVisible,
431
- Jl as resolveHidden,
439
+ bs as resolveCitationTitle,
440
+ si as resolveFilterLabel,
441
+ li as resolveFilterVisible,
442
+ ii as resolveHidden,
432
443
  u as resolveMaybeFn,
433
- Bl as resolveModalSizeAnchor,
434
- wl as resolveModalWidth,
435
- Re as resolvePersonDepartmentName,
436
- y as resolveRedirectUrl,
437
- Ee as resolveSelectPersonOption,
444
+ Hl as resolveModalSizeAnchor,
445
+ Kl as resolveModalWidth,
446
+ Ee as resolvePersonDepartmentName,
447
+ U as resolveRedirectUrl,
448
+ Re as resolveSelectPersonOption,
438
449
  x as resolveVisible,
439
- bs as sanitizeCitationHtml,
440
- Ei as sanitizeMermaidChart,
441
- X as savePermissionDefinitions,
450
+ ys as sanitizeCitationHtml,
451
+ ki as sanitizeMermaidChart,
452
+ q as savePermissionDefinitions,
442
453
  Z as saveUserRolePermissions,
443
- Ml as stateToError,
444
- Rl as stateToIsPass,
454
+ ti as serializeTablePrefs,
455
+ Ll as stateToError,
456
+ Ol as stateToIsPass,
445
457
  Us as stripCitationFrontmatter,
446
- Ai as stripProseFromMermaid,
458
+ Hi as stripProseFromMermaid,
447
459
  g as toApiStartEnd,
448
460
  h as toDateRange,
449
461
  I as toDateTimeRange,
450
462
  se as toDepartmentPathMaps,
451
- mi as toDisplayMessages,
463
+ Ti as toDisplayMessages,
452
464
  Ae as toPersonOptions,
453
465
  Le as toPersonSelectOptions,
454
466
  Oe as toReviewerPersonOptions,
455
467
  k as touchLastActivity,
456
- Dr as treeToCascaderOptions,
457
- Oi as useAutoScrollToBottom,
458
- bi as useChat,
459
- yi as useChatSessions,
460
- Bi as useCitationPanel,
468
+ Mr as treeToCascaderOptions,
469
+ zi as useAutoScrollToBottom,
470
+ Yi as useChat,
471
+ Wi as useChatSessions,
472
+ qi as useCitationPanel,
461
473
  p as useFetchData,
462
- El as useField,
463
- ll as useFilterDeps,
464
- il as useFilterFieldBridge,
465
- ml as useFilterRegister,
466
- nl as useFilterState,
467
- Al as useFormApi,
468
- Ll as useFormContext,
469
- Ol as useGroup,
470
- Ni as useKBDocuments,
471
- Hi as useKnowledgeBase,
472
- zi as useMarsunAuth,
473
- Ki as useMarsunCore,
474
- Vi as useMarsunFetch,
475
- Hl as usePageShell,
476
- Gl as usePageShellLoading,
477
- _l as useReset,
478
- Wi as useSSECompletion,
479
- bl as useSubmit,
480
- Xi as useTypewriter
474
+ _l as useField,
475
+ fl as useFilterDeps,
476
+ pl as useFilterFieldBridge,
477
+ dl as useFilterRegister,
478
+ ul as useFilterState,
479
+ bl as useFormApi,
480
+ yl as useFormContext,
481
+ Ul as useGroup,
482
+ ji as useKBDocuments,
483
+ Qi as useKnowledgeBase,
484
+ em as useMarsunAuth,
485
+ tm as useMarsunCore,
486
+ om as useMarsunFetch,
487
+ Yl as usePageShell,
488
+ Vl as usePageShellLoading,
489
+ vl as useReset,
490
+ am as useSSECompletion,
491
+ wl as useSubmit,
492
+ lm as useTypewriter
481
493
  };
482
494
  //# sourceMappingURL=index.js.map