@hkyhy/marsun-components-core 0.1.18 → 0.1.21

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 (200) hide show
  1. package/dist/components/AgentHub/Chat/Detail/ChatAgentFab/index.d.ts +24 -0
  2. package/dist/components/AgentHub/Chat/Detail/ChatAgentFab/index.js +95 -0
  3. package/dist/components/AgentHub/Chat/Detail/ChatAgentFab/index.js.map +1 -0
  4. package/dist/components/AgentHub/Chat/Detail/ChatAgentFab/style.module.scss.js +15 -0
  5. package/dist/components/AgentHub/Chat/Detail/ChatAgentFab/style.module.scss.js.map +1 -0
  6. package/dist/components/AgentHub/Chat/Detail/ChatAgentFabLayout/index.d.ts +16 -0
  7. package/dist/components/AgentHub/Chat/Detail/ChatAgentFabLayout/index.js +37 -0
  8. package/dist/components/AgentHub/Chat/Detail/ChatAgentFabLayout/index.js.map +1 -0
  9. package/dist/components/AgentHub/Chat/Detail/ChatAgentFabLayout/style.module.scss.js +9 -0
  10. package/dist/components/AgentHub/Chat/Detail/ChatAgentFabLayout/style.module.scss.js.map +1 -0
  11. package/dist/components/AgentHub/Chat/Detail/ChatFollowUpSuggestions/index.d.ts +14 -0
  12. package/dist/components/AgentHub/Chat/Detail/ChatFollowUpSuggestions/index.js +79 -0
  13. package/dist/components/AgentHub/Chat/Detail/ChatFollowUpSuggestions/index.js.map +1 -0
  14. package/dist/components/AgentHub/Chat/Detail/ChatFollowUpSuggestions/style.module.scss.js +18 -0
  15. package/dist/components/AgentHub/Chat/Detail/ChatFollowUpSuggestions/style.module.scss.js.map +1 -0
  16. package/dist/components/AgentHub/Chat/Detail/ChatInput/index.d.ts +2 -0
  17. package/dist/components/AgentHub/Chat/Detail/ChatInput/index.js +60 -49
  18. package/dist/components/AgentHub/Chat/Detail/ChatInput/index.js.map +1 -1
  19. package/dist/components/AgentHub/Chat/Detail/ChatInput/style.module.scss.js +7 -6
  20. package/dist/components/AgentHub/Chat/Detail/ChatInput/style.module.scss.js.map +1 -1
  21. package/dist/components/AgentHub/Chat/Detail/ChatPanel/index.d.ts +17 -4
  22. package/dist/components/AgentHub/Chat/Detail/ChatPanel/index.js +104 -68
  23. package/dist/components/AgentHub/Chat/Detail/ChatPanel/index.js.map +1 -1
  24. package/dist/components/AgentHub/Chat/Detail/ChatPanel/style.module.scss.js +13 -8
  25. package/dist/components/AgentHub/Chat/Detail/ChatPanel/style.module.scss.js.map +1 -1
  26. package/dist/components/AgentHub/Chat/Detail/ChatSuggestionRow/index.js +5 -4
  27. package/dist/components/AgentHub/Chat/Detail/ChatSuggestionRow/index.js.map +1 -1
  28. package/dist/components/AgentHub/Chat/Detail/ChatSuggestionRow/style.module.scss.js +2 -2
  29. package/dist/components/AgentHub/Chat/Detail/ChatWidgetBlock/ChatWidgetSparkline.d.ts +7 -0
  30. package/dist/components/AgentHub/Chat/Detail/ChatWidgetBlock/ChatWidgetSparkline.js +55 -0
  31. package/dist/components/AgentHub/Chat/Detail/ChatWidgetBlock/ChatWidgetSparkline.js.map +1 -0
  32. package/dist/components/AgentHub/Chat/Detail/ChatWidgetBlock/index.d.ts +10 -0
  33. package/dist/components/AgentHub/Chat/Detail/ChatWidgetBlock/index.js +120 -0
  34. package/dist/components/AgentHub/Chat/Detail/ChatWidgetBlock/index.js.map +1 -0
  35. package/dist/components/AgentHub/Chat/Detail/ChatWidgetBlock/style.module.scss.js +32 -0
  36. package/dist/components/AgentHub/Chat/Detail/ChatWidgetBlock/style.module.scss.js.map +1 -0
  37. package/dist/components/AgentHub/Chat/Detail/CitationContent/style.module.scss.js +2 -2
  38. package/dist/components/AgentHub/Chat/Detail/MessageItem/index.js +130 -114
  39. package/dist/components/AgentHub/Chat/Detail/MessageItem/index.js.map +1 -1
  40. package/dist/components/AgentHub/Chat/Detail/MessageItem/style.module.scss.js +20 -18
  41. package/dist/components/AgentHub/Chat/Detail/MessageItem/style.module.scss.js.map +1 -1
  42. package/dist/components/AgentHub/Chat/Detail/index.d.ts +8 -0
  43. package/dist/components/AgentHub/Chat/hooks/index.d.ts +2 -0
  44. package/dist/components/AgentHub/Chat/hooks/useCitationPanel.d.ts +11 -0
  45. package/dist/components/AgentHub/Chat/hooks/useCitationPanel.js +22 -0
  46. package/dist/components/AgentHub/Chat/hooks/useCitationPanel.js.map +1 -0
  47. package/dist/components/AgentHub/types.d.ts +21 -0
  48. package/dist/components/Auth/ProtectedRoute.js +20 -14
  49. package/dist/components/Auth/ProtectedRoute.js.map +1 -1
  50. package/dist/components/File/index.d.ts +2 -0
  51. package/dist/components/File/utils/download.d.ts +20 -0
  52. package/dist/components/File/utils/download.js +30 -0
  53. package/dist/components/File/utils/download.js.map +1 -0
  54. package/dist/components/Filter/FilterDateRange/index.d.ts +6 -1
  55. package/dist/components/Filter/FilterDateRange/index.js +84 -62
  56. package/dist/components/Filter/FilterDateRange/index.js.map +1 -1
  57. package/dist/components/Filter/types.d.ts +1 -0
  58. package/dist/components/Filter/types.js.map +1 -1
  59. package/dist/components/Icons/index.d.ts +3 -1
  60. package/dist/components/Icons/index.js +157 -151
  61. package/dist/components/Icons/index.js.map +1 -1
  62. package/dist/index.d.ts +14 -0
  63. package/dist/index.js +377 -298
  64. package/dist/index.js.map +1 -1
  65. package/dist/marsun-components-core.css +1 -1
  66. package/dist/node_modules/axios/index.js +41 -0
  67. package/dist/node_modules/axios/index.js.map +1 -0
  68. package/dist/node_modules/axios/lib/adapters/adapters.js +66 -0
  69. package/dist/node_modules/axios/lib/adapters/adapters.js.map +1 -0
  70. package/dist/node_modules/axios/lib/adapters/fetch.js +324 -0
  71. package/dist/node_modules/axios/lib/adapters/fetch.js.map +1 -0
  72. package/dist/node_modules/axios/lib/adapters/xhr.js +86 -0
  73. package/dist/node_modules/axios/lib/adapters/xhr.js.map +1 -0
  74. package/dist/node_modules/axios/lib/axios.js +47 -0
  75. package/dist/node_modules/axios/lib/axios.js.map +1 -0
  76. package/dist/node_modules/axios/lib/cancel/CancelToken.js +78 -0
  77. package/dist/node_modules/axios/lib/cancel/CancelToken.js.map +1 -0
  78. package/dist/node_modules/axios/lib/cancel/CanceledError.js +19 -0
  79. package/dist/node_modules/axios/lib/cancel/CanceledError.js.map +1 -0
  80. package/dist/node_modules/axios/lib/cancel/isCancel.js +7 -0
  81. package/dist/node_modules/axios/lib/cancel/isCancel.js.map +1 -0
  82. package/dist/node_modules/axios/lib/core/Axios.js +168 -0
  83. package/dist/node_modules/axios/lib/core/Axios.js.map +1 -0
  84. package/dist/node_modules/axios/lib/core/AxiosError.js +110 -0
  85. package/dist/node_modules/axios/lib/core/AxiosError.js.map +1 -0
  86. package/dist/node_modules/axios/lib/core/AxiosHeaders.js +193 -0
  87. package/dist/node_modules/axios/lib/core/AxiosHeaders.js.map +1 -0
  88. package/dist/node_modules/axios/lib/core/InterceptorManager.js +60 -0
  89. package/dist/node_modules/axios/lib/core/InterceptorManager.js.map +1 -0
  90. package/dist/node_modules/axios/lib/core/buildFullPath.js +30 -0
  91. package/dist/node_modules/axios/lib/core/buildFullPath.js.map +1 -0
  92. package/dist/node_modules/axios/lib/core/dispatchRequest.js +43 -0
  93. package/dist/node_modules/axios/lib/core/dispatchRequest.js.map +1 -0
  94. package/dist/node_modules/axios/lib/core/mergeConfig.js +94 -0
  95. package/dist/node_modules/axios/lib/core/mergeConfig.js.map +1 -0
  96. package/dist/node_modules/axios/lib/core/settle.js +15 -0
  97. package/dist/node_modules/axios/lib/core/settle.js.map +1 -0
  98. package/dist/node_modules/axios/lib/core/transformData.js +14 -0
  99. package/dist/node_modules/axios/lib/core/transformData.js.map +1 -0
  100. package/dist/node_modules/axios/lib/defaults/index.js +96 -0
  101. package/dist/node_modules/axios/lib/defaults/index.js.map +1 -0
  102. package/dist/node_modules/axios/lib/defaults/transitional.js +12 -0
  103. package/dist/node_modules/axios/lib/defaults/transitional.js.map +1 -0
  104. package/dist/node_modules/axios/lib/env/data.js +5 -0
  105. package/dist/node_modules/axios/lib/env/data.js.map +1 -0
  106. package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +31 -0
  107. package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js.map +1 -0
  108. package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js +78 -0
  109. package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js.map +1 -0
  110. package/dist/node_modules/axios/lib/helpers/bind.js +9 -0
  111. package/dist/node_modules/axios/lib/helpers/bind.js.map +1 -0
  112. package/dist/node_modules/axios/lib/helpers/buildURL.js +24 -0
  113. package/dist/node_modules/axios/lib/helpers/buildURL.js.map +1 -0
  114. package/dist/node_modules/axios/lib/helpers/combineURLs.js +7 -0
  115. package/dist/node_modules/axios/lib/helpers/combineURLs.js.map +1 -0
  116. package/dist/node_modules/axios/lib/helpers/composeSignals.js +33 -0
  117. package/dist/node_modules/axios/lib/helpers/composeSignals.js.map +1 -0
  118. package/dist/node_modules/axios/lib/helpers/cookies.js +44 -0
  119. package/dist/node_modules/axios/lib/helpers/cookies.js.map +1 -0
  120. package/dist/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +43 -0
  121. package/dist/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js.map +1 -0
  122. package/dist/node_modules/axios/lib/helpers/formDataToJSON.js +47 -0
  123. package/dist/node_modules/axios/lib/helpers/formDataToJSON.js.map +1 -0
  124. package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js +7 -0
  125. package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js.map +1 -0
  126. package/dist/node_modules/axios/lib/helpers/isAxiosError.js +8 -0
  127. package/dist/node_modules/axios/lib/helpers/isAxiosError.js.map +1 -0
  128. package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js +9 -0
  129. package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js.map +1 -0
  130. package/dist/node_modules/axios/lib/helpers/null.js +5 -0
  131. package/dist/node_modules/axios/lib/helpers/null.js.map +1 -0
  132. package/dist/node_modules/axios/lib/helpers/parseHeaders.js +31 -0
  133. package/dist/node_modules/axios/lib/helpers/parseHeaders.js.map +1 -0
  134. package/dist/node_modules/axios/lib/helpers/parseProtocol.js +8 -0
  135. package/dist/node_modules/axios/lib/helpers/parseProtocol.js.map +1 -0
  136. package/dist/node_modules/axios/lib/helpers/progressEventReducer.js +41 -0
  137. package/dist/node_modules/axios/lib/helpers/progressEventReducer.js.map +1 -0
  138. package/dist/node_modules/axios/lib/helpers/resolveConfig.js +54 -0
  139. package/dist/node_modules/axios/lib/helpers/resolveConfig.js.map +1 -0
  140. package/dist/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +34 -0
  141. package/dist/node_modules/axios/lib/helpers/sanitizeHeaderValue.js.map +1 -0
  142. package/dist/node_modules/axios/lib/helpers/speedometer.js +20 -0
  143. package/dist/node_modules/axios/lib/helpers/speedometer.js.map +1 -0
  144. package/dist/node_modules/axios/lib/helpers/spread.js +9 -0
  145. package/dist/node_modules/axios/lib/helpers/spread.js.map +1 -0
  146. package/dist/node_modules/axios/lib/helpers/throttle.js +16 -0
  147. package/dist/node_modules/axios/lib/helpers/throttle.js.map +1 -0
  148. package/dist/node_modules/axios/lib/helpers/toFormData.js +115 -0
  149. package/dist/node_modules/axios/lib/helpers/toFormData.js.map +1 -0
  150. package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js +15 -0
  151. package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js.map +1 -0
  152. package/dist/node_modules/axios/lib/helpers/trackStream.js +67 -0
  153. package/dist/node_modules/axios/lib/helpers/trackStream.js.map +1 -0
  154. package/dist/node_modules/axios/lib/helpers/validator.js +58 -0
  155. package/dist/node_modules/axios/lib/helpers/validator.js.map +1 -0
  156. package/dist/node_modules/axios/lib/platform/browser/classes/Blob.js +5 -0
  157. package/dist/node_modules/axios/lib/platform/browser/classes/Blob.js.map +1 -0
  158. package/dist/node_modules/axios/lib/platform/browser/classes/FormData.js +5 -0
  159. package/dist/node_modules/axios/lib/platform/browser/classes/FormData.js.map +1 -0
  160. package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +6 -0
  161. package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js.map +1 -0
  162. package/dist/node_modules/axios/lib/platform/browser/index.js +16 -0
  163. package/dist/node_modules/axios/lib/platform/browser/index.js.map +1 -0
  164. package/dist/node_modules/axios/lib/platform/common/utils.js +10 -0
  165. package/dist/node_modules/axios/lib/platform/common/utils.js.map +1 -0
  166. package/dist/node_modules/axios/lib/platform/index.js +10 -0
  167. package/dist/node_modules/axios/lib/platform/index.js.map +1 -0
  168. package/dist/node_modules/axios/lib/utils.js +303 -0
  169. package/dist/node_modules/axios/lib/utils.js.map +1 -0
  170. package/dist/styles/global.css +1 -1
  171. package/dist/types/auth.d.ts +18 -0
  172. package/dist/utils/authRedirect.d.ts +6 -0
  173. package/dist/utils/authRedirect.js +33 -0
  174. package/dist/utils/authRedirect.js.map +1 -0
  175. package/dist/utils/createMarsunRequest.d.ts +26 -0
  176. package/dist/utils/createMarsunRequest.js +53 -0
  177. package/dist/utils/createMarsunRequest.js.map +1 -0
  178. package/dist/utils/date.d.ts +16 -0
  179. package/dist/utils/date.js +36 -0
  180. package/dist/utils/date.js.map +1 -0
  181. package/dist/utils/department/departmentPath.d.ts +18 -0
  182. package/dist/utils/department/departmentPath.js +63 -0
  183. package/dist/utils/department/departmentPath.js.map +1 -0
  184. package/dist/utils/department/departmentScope.d.ts +20 -0
  185. package/dist/utils/department/departmentScope.js +63 -0
  186. package/dist/utils/department/departmentScope.js.map +1 -0
  187. package/dist/utils/department/types.d.ts +12 -0
  188. package/dist/utils/permissionStorage.d.ts +13 -0
  189. package/dist/utils/permissionStorage.js +43 -0
  190. package/dist/utils/permissionStorage.js.map +1 -0
  191. package/dist/utils/personOption.d.ts +49 -0
  192. package/dist/utils/personOption.js +90 -0
  193. package/dist/utils/personOption.js.map +1 -0
  194. package/dist/utils/sessionActivity.d.ts +5 -0
  195. package/dist/utils/sessionActivity.js +18 -0
  196. package/dist/utils/sessionActivity.js.map +1 -0
  197. package/dist/utils/user/employeeId.d.ts +8 -0
  198. package/dist/utils/user/employeeId.js +14 -0
  199. package/dist/utils/user/employeeId.js.map +1 -0
  200. package/package.json +26 -1
package/dist/index.js CHANGED
@@ -1,311 +1,390 @@
1
1
  import { applyCssTokenOverrides as o, applyThemeToCssVariables as r, generateTheme as a } from "./theme/theme.js";
2
- import { DEFAULT_PRIMARY_COLOR as l, LAYOUT_TOKENS as i, PALETTE as f } from "./theme/constants.js";
3
- import { fetchWithTimeout as n, useFetchData as p } from "./hooks/useFetchData.js";
2
+ import { DEFAULT_PRIMARY_COLOR as i, LAYOUT_TOKENS as l, PALETTE as n } from "./theme/constants.js";
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
5
  import { formatFileSize as c } from "./utils/format.js";
6
- import { default as S } from "./components/Upload/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
- import { default as Ke } from "./components/AgentHub/AgentHubAccessGuard.js";
9
- import { default as Ve } from "./components/AgentHub/AgentHubIndexRedirect.js";
10
- import { default as Xe } from "./components/AgentHub/ChatSessionAccessGuard.js";
11
- import { default as We } from "./components/Tour/AppTour/index.js";
12
- import { default as Je } from "./components/AgentHub/Chat/Form/Form.js";
13
- import { default as Ze } from "./components/AgentHub/Chat/List/ChatCard/index.js";
14
- import { default as et } from "./components/AgentHub/Chat/Action/CreateButton.js";
15
- import { default as ot } from "./components/AgentHub/Chat/List/FilterBar.js";
16
- import { default as at } from "./components/AgentHub/Chat/Modal/FormModal.js";
17
- import { default as lt } from "./components/AgentHub/Chat/Detail/ChatInput/index.js";
18
- import { default as ft } from "./components/AgentHub/Chat/Action/ManageActionButtons.js";
19
- import { default as nt } from "./components/AgentHub/Chat/Detail/ChatPanel/index.js";
20
- import { default as dt } from "./components/AgentHub/Chat/Detail/ChatSuggestionRow/index.js";
21
- import { default as xt } from "./components/AgentHub/Chat/Detail/CitationContent/index.js";
22
- import { default as ct } from "./components/AgentHub/Chat/Detail/CitationInlineBadge/index.js";
23
- import { default as St } from "./components/AgentHub/Chat/Detail/CitationMarkdownContent/index.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
- import { default as It } from "./components/Filter/CommonFilter/index.js";
27
- import { default as Lt } from "./components/AgentHub/KnowledgeBase/Action/CreateButton.js";
28
- import { default as Ot } from "./components/AgentHub/KnowledgeBase/Detail/DocumentTable/index.js";
29
- import { default as Dt } from "./components/Form/FetchSelect.js";
30
- import { default as Rt } from "./components/Form/FetchTreeSelect.js";
31
- import { default as yt } from "./components/File/FileLink/index.js";
32
- import { default as bt } from "./components/File/FilePreview/index.js";
33
- import { default as Ut } from "./components/File/FilePreviewLink/index.js";
34
- import { default as _t } from "./components/File/FilePreviewModal/index.js";
35
- import { default as Kt } from "./components/Tag/FileTags.js";
36
- import { default as Vt } from "./components/Filter/FilterDateRange/index.js";
37
- import { default as Xt } from "./components/Filter/FilterInput/index.js";
38
- import { default as Wt } from "./components/Filter/FilterNumberRange/index.js";
39
- import { default as Jt } from "./components/Filter/FilterPanel/index.js";
40
- import { default as Zt } from "./components/Filter/FilterPopover/index.js";
41
- import { default as eo } from "./components/Filter/FilterSelect/index.js";
42
- import { default as oo } from "./components/Filter/FilterTreeSelect/index.js";
43
- import { default as ao } from "./components/Filter/FilterTrigger/index.js";
44
- import { default as lo } from "./components/AgentHub/KnowledgeBase/List/FilterBar.js";
45
- import { default as fo } from "./components/AgentHub/KnowledgeBase/Modal/FormModal.js";
46
- import { default as no } from "./components/AgentHub/KnowledgeBase/Form/Form.js";
47
- import { default as uo } from "./components/AgentHub/KnowledgeBase/List/KnowledgeCard/index.js";
48
- import { default as Co } from "./components/LlmFormattedText/LlmFormattedText/index.js";
49
- import { default as Fo } from "./components/AgentHub/KnowledgeBase/Action/ManageActionButtons.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
- import { default as Ao } from "./components/AgentHub/Chat/Detail/MessageEditPopover/index.js";
54
- import { default as wo } from "./components/AgentHub/Chat/Detail/MessageItem/index.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";
6
+ import { recentDayRange as P, recentDayRangeStrings as g, recentYearRange as F, toApiStartEnd as h, toDateRange as T, toDateTimeRange as I } from "./utils/date.js";
7
+ import { REDIRECT_URL_PARAM as M, buildLocationRedirectUrl as R, buildLoginPath as A, readRedirectUrlFromSearch as E, resolveRedirectUrl as L } from "./utils/authRedirect.js";
8
+ import { DEFAULT_LAST_ACTIVITY_STORAGE_KEY as _, clearLastActivity as b, getLastActivityTime as w, touchLastActivity as U } from "./utils/sessionActivity.js";
9
+ import { PERMISSIONS_STORAGE_KEY as y, PERMISSION_DEFINITIONS_KEY as N, USER_ROLE_PERMISSIONS_KEY as B, getStoredPermissionMap as k, getStoredUserPermissions as H, loadPermissionDefinitions as z, loadUserRolePermissions as K, savePermissionDefinitions as G, saveUserRolePermissions as Y } from "./utils/permissionStorage.js";
10
+ import { createMarsunRequest as q } from "./utils/createMarsunRequest.js";
11
+ import { buildDepartmentPathMapFromFlat as W, buildDepartmentPathMapFromTree as j, buildDepartmentPathMaps as J, buildLeafDepartmentPathMap as Q, getDepartmentPath as Z, mergeDepartmentPathMaps as $, toDepartmentPathMaps as ee } from "./utils/department/departmentPath.js";
12
+ import { collectDepartmentIds as oe, extractDepartmentSubtree as re, findDepartmentRootId as ae, flattenDepartments as se, getNormalUserAccessibleDepartmentIds as ie, getNormalUserDepartmentTree as le, intersectDepartmentIds as ne } from "./utils/department/departmentScope.js";
13
+ import { EMPLOYEE_ID_FORMAT_MESSAGE as fe, EMPLOYEE_ID_SIX_DIGIT_PATTERN as pe, employeeIdFormatRule as de, isValidEmployeeIdFormat as ue } from "./utils/user/employeeId.js";
14
+ import { buildPersonOptionLookup as Ce, createPersonSelectFilter as ce, formatPersonValueLabel as Se, matchPersonOptionSearch as Pe, normalizePersonDtos as ge, normalizeRawPersonList as Fe, resolvePersonDepartmentName as he, resolveSelectPersonOption as Te, toPersonOptions as Ie, toPersonSelectOptions as De, toReviewerPersonOptions as Me } from "./utils/personOption.js";
15
+ import { default as Ae } from "./components/Upload/index.js";
16
+ import { ArrowLeft as Le, ArrowLeftRight as Oe, BarChart3 as _e, BookOpen as be, Bot as we, Check as Ue, ChevronDown as ve, ChevronLeft as ye, ChevronRight as Ne, ChevronUp as Be, CircleAlert as ke, CircleCheck as He, CircleHelp as ze, CirclePlay as Ke, CircleX as Ge, ClipboardCheck as Ye, Clock as Ve, CloudDownload as qe, CloudUpload as Xe, Code as We, Copy as je, Crown as Je, Database as Qe, Download as Ze, Eye as $e, File as et, FileArchive as tt, FileImage as ot, FileSpreadsheet as rt, FileText as at, Flag as st, Flame as it, Folder as lt, FolderOpen as nt, Hash as mt, House as ft, ICON_NAMES as pt, ICON_REGISTRY as dt, Import as ut, Inbox as xt, Info as Ct, LayoutDashboard as ct, LayoutGrid as St, Loader2 as Pt, Lock as gt, LogOut as Ft, Maximize2 as ht, MessageCircle as Tt, MessageSquare as It, Minimize2 as Dt, PanelLeftClose as Mt, PanelLeftOpen as Rt, Pause as At, Pencil as Et, Plus as Lt, Presentation as Ot, RefreshCw as _t, RotateCw as bt, Send as wt, Settings as Ut, Shield as vt, ShieldCheck as yt, SlidersHorizontal as Nt, Square as Bt, Star as kt, ThumbsDown as Ht, ThumbsUp as zt, Trash2 as Kt, Trophy as Gt, Undo2 as Yt, Upload as Vt, User as qt, UserPlus as Xt, UserRoundCog as Wt, Users as jt, X as Jt, createIcon as Qt } from "./components/Icons/index.js";
17
+ import { default as $t } from "./components/AgentHub/AgentHubAccessGuard.js";
18
+ import { default as to } from "./components/AgentHub/AgentHubIndexRedirect.js";
19
+ import { default as ro } from "./components/AgentHub/ChatSessionAccessGuard.js";
20
+ import { default as so } from "./components/Tour/AppTour/index.js";
21
+ import { default as lo } from "./components/AgentHub/Chat/Detail/ChatAgentFab/index.js";
22
+ import { default as mo } from "./components/AgentHub/Chat/Detail/ChatAgentFabLayout/index.js";
23
+ import { default as po } from "./components/AgentHub/Chat/Form/Form.js";
24
+ import { default as xo } from "./components/AgentHub/Chat/List/ChatCard/index.js";
25
+ import { default as co } from "./components/AgentHub/Chat/Action/CreateButton.js";
26
+ import { default as Po } from "./components/AgentHub/Chat/List/FilterBar.js";
27
+ import { default as Fo } from "./components/AgentHub/Chat/Detail/ChatFollowUpSuggestions/index.js";
28
+ import { default as To } from "./components/AgentHub/Chat/Modal/FormModal.js";
29
+ import { default as Do } from "./components/AgentHub/Chat/Detail/ChatInput/index.js";
30
+ import { default as Ro } from "./components/AgentHub/Chat/Action/ManageActionButtons.js";
31
+ import { default as Eo } from "./components/AgentHub/Chat/Detail/ChatPanel/index.js";
32
+ import { default as Oo } from "./components/AgentHub/Chat/Detail/ChatSuggestionRow/index.js";
33
+ import { default as bo } from "./components/AgentHub/Chat/Detail/ChatWidgetBlock/index.js";
34
+ import { default as Uo } from "./components/AgentHub/Chat/Detail/CitationContent/index.js";
35
+ import { default as yo } from "./components/AgentHub/Chat/Detail/CitationInlineBadge/index.js";
36
+ import { default as Bo } from "./components/AgentHub/Chat/Detail/CitationMarkdownContent/index.js";
37
+ import { default as Ho } from "./components/AgentHub/Chat/Detail/CitationPanel/index.js";
38
+ import { default as Ko } from "./components/Descriptions/CommonDescriptions.js";
39
+ import { default as Yo } from "./components/Filter/CommonFilter/index.js";
40
+ import { default as qo } from "./components/AgentHub/KnowledgeBase/Action/CreateButton.js";
41
+ import { default as Wo } from "./components/AgentHub/KnowledgeBase/Detail/DocumentTable/index.js";
42
+ import { default as Jo } from "./components/Form/FetchSelect.js";
43
+ import { default as Zo } from "./components/Form/FetchTreeSelect.js";
44
+ import { default as er } from "./components/File/FileLink/index.js";
45
+ import { default as or } from "./components/File/FilePreview/index.js";
46
+ import { default as ar } from "./components/File/FilePreviewLink/index.js";
47
+ import { default as ir } from "./components/File/FilePreviewModal/index.js";
48
+ import { default as nr } from "./components/Tag/FileTags.js";
49
+ import { default as fr } from "./components/Filter/FilterDateRange/index.js";
50
+ import { default as dr } from "./components/Filter/FilterInput/index.js";
51
+ import { default as xr } from "./components/Filter/FilterNumberRange/index.js";
52
+ import { default as cr } from "./components/Filter/FilterPanel/index.js";
53
+ import { default as Pr } from "./components/Filter/FilterPopover/index.js";
54
+ import { default as Fr } from "./components/Filter/FilterSelect/index.js";
55
+ import { default as Tr } from "./components/Filter/FilterTreeSelect/index.js";
56
+ import { default as Dr } from "./components/Filter/FilterTrigger/index.js";
57
+ import { default as Rr } from "./components/AgentHub/KnowledgeBase/List/FilterBar.js";
58
+ import { default as Er } from "./components/AgentHub/KnowledgeBase/Modal/FormModal.js";
59
+ import { default as Or } from "./components/AgentHub/KnowledgeBase/Form/Form.js";
60
+ import { default as br } from "./components/AgentHub/KnowledgeBase/List/KnowledgeCard/index.js";
61
+ import { default as Ur } from "./components/LlmFormattedText/LlmFormattedText/index.js";
62
+ import { default as yr } from "./components/AgentHub/KnowledgeBase/Action/ManageActionButtons.js";
63
+ import { default as Br } from "./provider/MarsunCoreProvider.js";
64
+ import { default as Hr } from "./components/AgentHub/Chat/Detail/MermaidBlock/index.js";
65
+ import { default as Kr } from "./components/AgentHub/Chat/Detail/MessageActions/index.js";
66
+ import { default as Yr } from "./components/AgentHub/Chat/Detail/MessageEditPopover/index.js";
67
+ import { default as qr } from "./components/AgentHub/Chat/Detail/MessageItem/index.js";
68
+ import { default as Wr } from "./components/Layout/ModulePageShell/index.js";
69
+ import { default as Jr } from "./components/Layout/PageHeaderLayout/index.js";
70
+ import { default as Zr } from "./components/Layout/PageSpin/index.js";
71
+ import { default as ea } from "./components/AgentHub/KnowledgeBase/Detail/ParseStatusTag/index.js";
72
+ import { default as oa } from "./components/Auth/PermissionGuard.js";
73
+ import { default as aa } from "./components/Form/PersonOptionRow/index.js";
74
+ import { default as ia } from "./components/Auth/ProtectedRoute.js";
75
+ import { SEMANTIC_COLORS as na, default as ma } from "./components/Tag/SemanticTag.js";
76
+ import { default as pa } from "./components/AgentHub/Chat/Action/SessionActionButtons.js";
77
+ import { default as ua } from "./components/AgentHub/Chat/List/SessionSidebar/index.js";
78
+ import { default as Ca } from "./components/Sparkline/Sparkline/index.js";
79
+ import { default as Sa } from "./components/Stat/StatCard/index.js";
80
+ import { default as ga } from "./components/Stat/StatCardList.js";
81
+ import { default as ha } from "./components/Stat/StatPendingBreakdown/index.js";
82
+ import { default as Ia } from "./components/Form/StepForm.js";
83
+ import { default as Ma } from "./components/Modal/StepModal/index.js";
84
+ import { default as Aa } from "./components/Tag/Tags/index.js";
85
+ import { default as La } from "./components/AgentHub/Chat/Detail/ThinkingSection/index.js";
86
+ import { default as _a } from "./components/TooltipInfo/TooltipInfo.js";
87
+ import { default as wa } from "./components/VirtualScrollbar/VirtualScrollbar/index.js";
88
+ import { CHUNK_METHOD_OPTIONS as va, EMBEDDING_MODEL_OPTIONS as ya, PARSE_STATUS_CONFIG as Na } from "./components/AgentHub/KnowledgeBase/constants/types.js";
89
+ import { CITATION_LINK_PREFIX as ka, citationDisplayNumber as Ha, citationIdToIndex as za, countUniqueCitedSources as Ka, detectCitationIdBase as Ga, extractCitationIdsFromContent as Ya, extractCitationTitle as Va, formatCitationDocBasename as qa, formatCitationMeta as Xa, formatCitationPositions as Wa, injectCitationMarkdownLinks as ja, normalizeCitation as Ja, parseCitationLinkHref as Qa, prepareCitationContent as Za, resolveCitationTitle as $a, sanitizeCitationHtml as es, stripCitationFrontmatter as ts } from "./components/AgentHub/Chat/utils/citationContent.js";
90
+ import { FileItem as rs } from "./components/File/FileItem/index.js";
91
+ import { FilterProvider as ss, useFilterRegister as is, useFilterState as ls } from "./components/Filter/useFilterState.js";
92
+ import { PageShellProvider as ms, usePageShell as fs, usePageShellLoading as ps } from "./components/Layout/PageShell/PageShellContext.js";
93
+ import { downloadFileItem as us, getFileDownloadAuthHeaders as xs, getFileDownloadUrl as Cs } from "./components/File/utils/download.js";
94
+ import { extractCitations as Ss, formatSessionTime as Ps, getSessionDisplayName as gs, isWelcomeOnlyMessages as Fs, parseSessionMessages as hs, toDisplayMessages as Ts } from "./components/AgentHub/Chat/utils/sessionMessages.js";
95
+ import { formatLlmTextToHtml as Ds, parseLlmText as Ms } from "./components/LlmFormattedText/parseLlmText.js";
96
+ import { getFileExtension as As, getFileIcon as Es, getFileTypeName as Ls, normalizeExtension as Os, normalizeFileDisplayItem as _s, parseFileNameFromUrl as bs } from "./components/File/fileDisplay.js";
97
+ import { hasCitationMarkers as Us, normalizeAssistantMarkdown as vs, normalizeDisplayText as ys, parseAssistantContent as Ns } from "./components/AgentHub/Chat/utils/messageContent.js";
98
+ import { hasPermission as ks } from "./components/Auth/hasPermission.js";
99
+ import { resolveHidden as zs } from "./components/Filter/types.js";
100
+ import { sanitizeMermaidChart as Gs, stripProseFromMermaid as Ys } from "./components/AgentHub/Chat/utils/sanitizeMermaidChart.js";
101
+ import { useAutoScrollToBottom as qs } from "./components/AgentHub/Chat/hooks/useAutoScrollToBottom.js";
102
+ import { useChat as Ws } from "./components/AgentHub/Chat/hooks/useChat.js";
103
+ import { useChatSessions as Js } from "./components/AgentHub/Chat/hooks/useChatSessions.js";
104
+ import { useCitationPanel as Zs } from "./components/AgentHub/Chat/hooks/useCitationPanel.js";
105
+ import { useKBDocuments as ei } from "./components/AgentHub/KnowledgeBase/hooks/useKBDocuments.js";
106
+ import { useKnowledgeBase as oi } from "./components/AgentHub/KnowledgeBase/hooks/useKnowledgeBase.js";
107
+ import { useMarsunAuth as ai, useMarsunCore as si, useMarsunFetch as ii } from "./provider/context.js";
108
+ import { useSSECompletion as ni } from "./components/AgentHub/Chat/hooks/useSSECompletion.js";
109
+ import { useTypewriter as fi } from "./components/AgentHub/Chat/hooks/useTypewriter.js";
95
110
  export {
96
- Ke as AgentHubAccessGuard,
97
- Ve as AgentHubIndexRedirect,
98
- Xe as AgentHubSessionAccessGuard,
99
- We as AppTour,
100
- g as ArrowLeft,
101
- T as ArrowLeftRight,
102
- P as BarChart3,
103
- M as BookOpen,
104
- I as Bot,
105
- cr as CHUNK_METHOD_OPTIONS,
106
- gr as CITATION_LINK_PREFIX,
107
- Je as ChatAssistantForm,
108
- Ze as ChatCard,
109
- et as ChatCreateButton,
110
- ot as ChatFilterBar,
111
- at as ChatFormModal,
112
- lt as ChatInput,
113
- ft as ChatManageActionButtons,
114
- nt as ChatPanel,
115
- dt as ChatSuggestionRow,
116
- A as Check,
117
- L as ChevronDown,
118
- w as ChevronLeft,
119
- O as ChevronRight,
120
- B as ChevronUp,
121
- D as CircleAlert,
122
- k as CircleCheck,
123
- R as CircleHelp,
124
- v as CirclePlay,
125
- y as CircleX,
126
- xt as CitationContent,
127
- ct as CitationInlineBadge,
128
- St as CitationMarkdownContent,
129
- gt as CitationPanel,
130
- E as ClipboardCheck,
131
- b as Clock,
132
- N as CloudDownload,
133
- U as CloudUpload,
134
- H as Code,
135
- Pt as CommonDescriptions,
136
- It as CommonFilter,
137
- S as CommonUpload,
138
- _ as Copy,
139
- Lt as CreateButton,
140
- z as Crown,
141
- l as DEFAULT_PRIMARY_COLOR,
142
- K as Database,
143
- Ot as DocumentTable,
144
- G as Download,
145
- Fr as EMBEDDING_MODEL_OPTIONS,
146
- V as Eye,
147
- Dt as FetchSelect,
148
- Rt as FetchTreeSelect,
149
- q as File,
150
- X as FileArchive,
151
- Y as FileImage,
152
- Ur as FileItemView,
153
- yt as FileLink,
154
- bt as FilePreview,
155
- Ut as FilePreviewLink,
156
- _t as FilePreviewModal,
157
- W as FileSpreadsheet,
158
- Kt as FileTags,
159
- j as FileText,
160
- Vt as FilterDateRange,
161
- Xt as FilterInput,
162
- Wt as FilterNumberRange,
163
- Jt as FilterPanel,
164
- Zt as FilterPopover,
165
- _r as FilterProvider,
166
- eo as FilterSelect,
167
- oo as FilterTreeSelect,
168
- ao as FilterTrigger,
169
- J as Flag,
170
- Q as Flame,
171
- Z as Folder,
172
- $ as FolderOpen,
173
- ee as Hash,
174
- te as House,
175
- oe as ICON_NAMES,
176
- re as ICON_REGISTRY,
177
- ae as Import,
178
- se as Inbox,
179
- le as Info,
180
- lo as KBFilterBar,
181
- fo as KBFormModal,
182
- no as KnowledgeBaseForm,
183
- uo as KnowledgeCard,
184
- i as LAYOUT_TOKENS,
185
- ie as LayoutDashboard,
186
- fe as LayoutGrid,
187
- Co as LlmFormattedText,
188
- me as Loader2,
189
- ne as Lock,
190
- pe as LogOut,
191
- Fo as ManageActionButtons,
192
- ho as MarsunCoreProvider,
193
- To as MermaidBlock,
194
- Mo as MessageActions,
195
- de as MessageCircle,
196
- Ao as MessageEditPopover,
197
- wo as MessageItem,
198
- ue as MessageSquare,
199
- Bo as ModulePageShell,
200
- f as PALETTE,
201
- Sr as PARSE_STATUS_CONFIG,
202
- ko as PageHeaderLayout,
203
- Vr as PageShellProvider,
204
- vo as PageSpin,
205
- xe as PanelLeftClose,
206
- Ce as PanelLeftOpen,
207
- Eo as ParseStatusTag,
208
- ce as Pause,
209
- Fe as Pencil,
210
- No as PermissionGuard,
211
- Ho as PersonOptionRow,
212
- Se as Plus,
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,
223
- Ie as Shield,
224
- Ae as ShieldCheck,
225
- Le as SlidersHorizontal,
226
- Jo as Sparkline,
227
- we as Square,
228
- Oe as Star,
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,
236
- Be as ThumbsDown,
237
- De as ThumbsUp,
238
- dr as TooltipInfo,
239
- ke as Trash2,
240
- Re as Trophy,
241
- ve as Undo2,
242
- ye as Upload,
243
- Ee as User,
244
- be as UserPlus,
245
- Ne as UserRoundCog,
246
- Ue as Users,
247
- xr as VirtualScrollbar,
248
- He as X,
111
+ $t as AgentHubAccessGuard,
112
+ to as AgentHubIndexRedirect,
113
+ ro as AgentHubSessionAccessGuard,
114
+ so as AppTour,
115
+ Le as ArrowLeft,
116
+ Oe as ArrowLeftRight,
117
+ _e as BarChart3,
118
+ be as BookOpen,
119
+ we as Bot,
120
+ va as CHUNK_METHOD_OPTIONS,
121
+ ka as CITATION_LINK_PREFIX,
122
+ lo as ChatAgentFab,
123
+ mo as ChatAgentFabLayout,
124
+ po as ChatAssistantForm,
125
+ xo as ChatCard,
126
+ co as ChatCreateButton,
127
+ Po as ChatFilterBar,
128
+ Fo as ChatFollowUpSuggestions,
129
+ To as ChatFormModal,
130
+ Do as ChatInput,
131
+ Ro as ChatManageActionButtons,
132
+ Eo as ChatPanel,
133
+ Oo as ChatSuggestionRow,
134
+ bo as ChatWidgetBlock,
135
+ Ue as Check,
136
+ ve as ChevronDown,
137
+ ye as ChevronLeft,
138
+ Ne as ChevronRight,
139
+ Be as ChevronUp,
140
+ ke as CircleAlert,
141
+ He as CircleCheck,
142
+ ze as CircleHelp,
143
+ Ke as CirclePlay,
144
+ Ge as CircleX,
145
+ Uo as CitationContent,
146
+ yo as CitationInlineBadge,
147
+ Bo as CitationMarkdownContent,
148
+ Ho as CitationPanel,
149
+ Ye as ClipboardCheck,
150
+ Ve as Clock,
151
+ qe as CloudDownload,
152
+ Xe as CloudUpload,
153
+ We as Code,
154
+ Ko as CommonDescriptions,
155
+ Yo as CommonFilter,
156
+ Ae as CommonUpload,
157
+ je as Copy,
158
+ qo as CreateButton,
159
+ Je as Crown,
160
+ _ as DEFAULT_LAST_ACTIVITY_STORAGE_KEY,
161
+ i as DEFAULT_PRIMARY_COLOR,
162
+ Qe as Database,
163
+ Wo as DocumentTable,
164
+ Ze as Download,
165
+ ya as EMBEDDING_MODEL_OPTIONS,
166
+ fe as EMPLOYEE_ID_FORMAT_MESSAGE,
167
+ pe as EMPLOYEE_ID_SIX_DIGIT_PATTERN,
168
+ $e as Eye,
169
+ Jo as FetchSelect,
170
+ Zo as FetchTreeSelect,
171
+ et as File,
172
+ tt as FileArchive,
173
+ ot as FileImage,
174
+ rs as FileItemView,
175
+ er as FileLink,
176
+ or as FilePreview,
177
+ ar as FilePreviewLink,
178
+ ir as FilePreviewModal,
179
+ rt as FileSpreadsheet,
180
+ nr as FileTags,
181
+ at as FileText,
182
+ fr as FilterDateRange,
183
+ dr as FilterInput,
184
+ xr as FilterNumberRange,
185
+ cr as FilterPanel,
186
+ Pr as FilterPopover,
187
+ ss as FilterProvider,
188
+ Fr as FilterSelect,
189
+ Tr as FilterTreeSelect,
190
+ Dr as FilterTrigger,
191
+ st as Flag,
192
+ it as Flame,
193
+ lt as Folder,
194
+ nt as FolderOpen,
195
+ mt as Hash,
196
+ ft as House,
197
+ pt as ICON_NAMES,
198
+ dt as ICON_REGISTRY,
199
+ ut as Import,
200
+ xt as Inbox,
201
+ Ct as Info,
202
+ Rr as KBFilterBar,
203
+ Er as KBFormModal,
204
+ Or as KnowledgeBaseForm,
205
+ br as KnowledgeCard,
206
+ l as LAYOUT_TOKENS,
207
+ ct as LayoutDashboard,
208
+ St as LayoutGrid,
209
+ Ur as LlmFormattedText,
210
+ Pt as Loader2,
211
+ gt as Lock,
212
+ Ft as LogOut,
213
+ yr as ManageActionButtons,
214
+ Br as MarsunCoreProvider,
215
+ ht as Maximize2,
216
+ Hr as MermaidBlock,
217
+ Kr as MessageActions,
218
+ Tt as MessageCircle,
219
+ Yr as MessageEditPopover,
220
+ qr as MessageItem,
221
+ It as MessageSquare,
222
+ Dt as Minimize2,
223
+ Wr as ModulePageShell,
224
+ n as PALETTE,
225
+ Na as PARSE_STATUS_CONFIG,
226
+ y as PERMISSIONS_STORAGE_KEY,
227
+ N as PERMISSION_DEFINITIONS_KEY,
228
+ Jr as PageHeaderLayout,
229
+ ms as PageShellProvider,
230
+ Zr as PageSpin,
231
+ Mt as PanelLeftClose,
232
+ Rt as PanelLeftOpen,
233
+ ea as ParseStatusTag,
234
+ At as Pause,
235
+ Et as Pencil,
236
+ oa as PermissionGuard,
237
+ aa as PersonOptionRow,
238
+ Lt as Plus,
239
+ Ot as Presentation,
240
+ ia as ProtectedRoute,
241
+ M as REDIRECT_URL_PARAM,
242
+ _t as RefreshCw,
243
+ bt as RotateCw,
244
+ na as SEMANTIC_COLORS,
245
+ ma as SemanticTag,
246
+ wt as Send,
247
+ pa as SessionActionButtons,
248
+ ua as SessionSidebar,
249
+ Ut as Settings,
250
+ vt as Shield,
251
+ yt as ShieldCheck,
252
+ Nt as SlidersHorizontal,
253
+ Ca as Sparkline,
254
+ Bt as Square,
255
+ kt as Star,
256
+ Sa as StatCard,
257
+ ga as StatCardList,
258
+ ha as StatPendingBreakdown,
259
+ Ia as StepForm,
260
+ Ma as StepModal,
261
+ Aa as Tags,
262
+ La as ThinkingSection,
263
+ Ht as ThumbsDown,
264
+ zt as ThumbsUp,
265
+ _a as TooltipInfo,
266
+ Kt as Trash2,
267
+ Gt as Trophy,
268
+ B as USER_ROLE_PERMISSIONS_KEY,
269
+ Yt as Undo2,
270
+ Vt as Upload,
271
+ qt as User,
272
+ Xt as UserPlus,
273
+ Wt as UserRoundCog,
274
+ jt as Users,
275
+ wa as VirtualScrollbar,
276
+ Jt as X,
249
277
  o as applyCssTokenOverrides,
250
278
  r as applyThemeToCssVariables,
251
- Tr as citationDisplayNumber,
252
- Pr as citationIdToIndex,
253
- Mr as countUniqueCitedSources,
254
- _e as createIcon,
255
- Ir as detectCitationIdBase,
256
- Ar as extractCitationIdsFromContent,
257
- Lr as extractCitationTitle,
258
- Wr as extractCitations,
259
- n as fetchWithTimeout,
260
- wr as formatCitationDocBasename,
261
- Or as formatCitationMeta,
262
- Br as formatCitationPositions,
279
+ W as buildDepartmentPathMapFromFlat,
280
+ j as buildDepartmentPathMapFromTree,
281
+ J as buildDepartmentPathMaps,
282
+ Q as buildLeafDepartmentPathMap,
283
+ R as buildLocationRedirectUrl,
284
+ A as buildLoginPath,
285
+ Ce as buildPersonOptionLookup,
286
+ Ha as citationDisplayNumber,
287
+ za as citationIdToIndex,
288
+ b as clearLastActivity,
289
+ oe as collectDepartmentIds,
290
+ Ka as countUniqueCitedSources,
291
+ Qt as createIcon,
292
+ q as createMarsunRequest,
293
+ ce as createPersonSelectFilter,
294
+ Ga as detectCitationIdBase,
295
+ us as downloadFileItem,
296
+ de as employeeIdFormatRule,
297
+ Ya as extractCitationIdsFromContent,
298
+ Va as extractCitationTitle,
299
+ Ss as extractCitations,
300
+ re as extractDepartmentSubtree,
301
+ f as fetchWithTimeout,
302
+ ae as findDepartmentRootId,
303
+ se as flattenDepartments,
304
+ qa as formatCitationDocBasename,
305
+ Xa as formatCitationMeta,
306
+ Wa as formatCitationPositions,
263
307
  c as formatFileSize,
264
- ta as formatLlmTextToHtml,
265
- jr as formatSessionTime,
308
+ Ds as formatLlmTextToHtml,
309
+ Se as formatPersonValueLabel,
310
+ Ps as formatSessionTime,
266
311
  a as generateTheme,
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,
312
+ Z as getDepartmentPath,
313
+ xs as getFileDownloadAuthHeaders,
314
+ Cs as getFileDownloadUrl,
315
+ As as getFileExtension,
316
+ Es as getFileIcon,
317
+ Ls as getFileTypeName,
318
+ w as getLastActivityTime,
319
+ ie as getNormalUserAccessibleDepartmentIds,
320
+ le as getNormalUserDepartmentTree,
321
+ gs as getSessionDisplayName,
322
+ k as getStoredPermissionMap,
323
+ H as getStoredUserPermissions,
324
+ Us as hasCitationMarkers,
325
+ ks as hasPermission,
326
+ ja as injectCitationMarkdownLinks,
327
+ ne as intersectDepartmentIds,
328
+ ue as isValidEmployeeIdFormat,
329
+ Fs as isWelcomeOnlyMessages,
330
+ z as loadPermissionDefinitions,
331
+ K as loadUserRolePermissions,
332
+ Pe as matchPersonOptionSearch,
333
+ $ as mergeDepartmentPathMaps,
334
+ vs as normalizeAssistantMarkdown,
335
+ Ja as normalizeCitation,
336
+ ys as normalizeDisplayText,
337
+ Os as normalizeExtension,
338
+ _s as normalizeFileDisplayItem,
339
+ ge as normalizePersonDtos,
340
+ Fe as normalizeRawPersonList,
341
+ Ns as parseAssistantContent,
342
+ Qa as parseCitationLinkHref,
343
+ bs as parseFileNameFromUrl,
344
+ Ms as parseLlmText,
345
+ hs as parseSessionMessages,
346
+ Za as prepareCitationContent,
347
+ E as readRedirectUrlFromSearch,
348
+ P as recentDayRange,
349
+ g as recentDayRangeStrings,
350
+ F as recentYearRange,
351
+ $a as resolveCitationTitle,
352
+ zs as resolveHidden,
288
353
  u as resolveMaybeFn,
354
+ he as resolvePersonDepartmentName,
355
+ L as resolveRedirectUrl,
356
+ Te as resolveSelectPersonOption,
289
357
  x as resolveVisible,
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,
358
+ es as sanitizeCitationHtml,
359
+ Gs as sanitizeMermaidChart,
360
+ G as savePermissionDefinitions,
361
+ Y as saveUserRolePermissions,
362
+ ts as stripCitationFrontmatter,
363
+ Ys as stripProseFromMermaid,
364
+ h as toApiStartEnd,
365
+ T as toDateRange,
366
+ I as toDateTimeRange,
367
+ ee as toDepartmentPathMaps,
368
+ Ts as toDisplayMessages,
369
+ Ie as toPersonOptions,
370
+ De as toPersonSelectOptions,
371
+ Me as toReviewerPersonOptions,
372
+ U as touchLastActivity,
373
+ qs as useAutoScrollToBottom,
374
+ Ws as useChat,
375
+ Js as useChatSessions,
376
+ Zs as useCitationPanel,
298
377
  p as useFetchData,
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
378
+ is as useFilterRegister,
379
+ ls as useFilterState,
380
+ ei as useKBDocuments,
381
+ oi as useKnowledgeBase,
382
+ ai as useMarsunAuth,
383
+ si as useMarsunCore,
384
+ ii as useMarsunFetch,
385
+ fs as usePageShell,
386
+ ps as usePageShellLoading,
387
+ ni as useSSECompletion,
388
+ fi as useTypewriter
310
389
  };
311
390
  //# sourceMappingURL=index.js.map