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