@hkyhy/marsun-components-core 0.1.26 → 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/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 -291
- 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,146 +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 { default as qa } from "./components/
|
|
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 {
|
|
117
|
-
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";
|
|
118
119
|
export {
|
|
120
|
+
fo as AgentAppShell,
|
|
119
121
|
ao as AgentHubAccessGuard,
|
|
120
|
-
|
|
122
|
+
lo as AgentHubIndexRedirect,
|
|
121
123
|
mo as AgentHubSessionAccessGuard,
|
|
122
|
-
|
|
124
|
+
uo as AppTour,
|
|
123
125
|
we as ArrowLeft,
|
|
124
126
|
ye as ArrowLeftRight,
|
|
125
127
|
Be as BarChart3,
|
|
126
128
|
Ne as BookOpen,
|
|
127
129
|
ve as Bot,
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
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,
|
|
144
146
|
ke as Check,
|
|
145
147
|
He as ChevronDown,
|
|
146
148
|
ze as ChevronLeft,
|
|
@@ -151,64 +153,64 @@ export {
|
|
|
151
153
|
qe as CircleHelp,
|
|
152
154
|
Xe as CirclePlay,
|
|
153
155
|
We as CircleX,
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
156
|
+
zo as CitationContent,
|
|
157
|
+
Ko as CitationInlineBadge,
|
|
158
|
+
Yo as CitationMarkdownContent,
|
|
159
|
+
Xo as CitationPanel,
|
|
158
160
|
je as ClipboardCheck,
|
|
159
161
|
Je as Clock,
|
|
160
162
|
Qe as CloudDownload,
|
|
161
163
|
Ze as CloudUpload,
|
|
162
164
|
$e as Code,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
+
jo as CommonDescriptions,
|
|
166
|
+
Qo as CommonFilter,
|
|
165
167
|
_e as CommonUpload,
|
|
166
168
|
et as Copy,
|
|
167
|
-
|
|
169
|
+
$o as CreateButton,
|
|
168
170
|
tt as Crown,
|
|
169
171
|
B as DEFAULT_LAST_ACTIVITY_STORAGE_KEY,
|
|
170
|
-
|
|
172
|
+
l as DEFAULT_PRIMARY_COLOR,
|
|
171
173
|
ot as Database,
|
|
172
|
-
|
|
174
|
+
tr as DocumentTable,
|
|
173
175
|
rt as Download,
|
|
174
|
-
|
|
176
|
+
Qa as EMBEDDING_MODEL_OPTIONS,
|
|
175
177
|
ce as EMPLOYEE_ID_FORMAT_MESSAGE,
|
|
176
178
|
Ce as EMPLOYEE_ID_SIX_DIGIT_PATTERN,
|
|
177
|
-
|
|
179
|
+
rr as Empty,
|
|
178
180
|
at as Eye,
|
|
179
|
-
|
|
180
|
-
|
|
181
|
+
sr as FetchSelect,
|
|
182
|
+
ir as FetchTreeSelect,
|
|
181
183
|
st as File,
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
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,
|
|
189
191
|
mt as FileSpreadsheet,
|
|
190
|
-
|
|
192
|
+
Sr as FileTags,
|
|
191
193
|
nt as FileText,
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
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,
|
|
202
204
|
ft as Flag,
|
|
203
205
|
pt as Flame,
|
|
204
206
|
dt as Folder,
|
|
205
207
|
ut as FolderOpen,
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
208
|
+
Ps as Form,
|
|
209
|
+
gs as FormInfo,
|
|
210
|
+
Ts as FormModal,
|
|
211
|
+
hs as FormSteps,
|
|
212
|
+
Is as FormStepsModal,
|
|
213
|
+
zs as GroupList,
|
|
212
214
|
xt as Hash,
|
|
213
215
|
ct as House,
|
|
214
216
|
Ct as ICON_NAMES,
|
|
@@ -216,83 +218,83 @@ export {
|
|
|
216
218
|
Ft as Import,
|
|
217
219
|
Pt as Inbox,
|
|
218
220
|
gt as Info,
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
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,
|
|
226
228
|
Tt as LayoutDashboard,
|
|
227
229
|
ht as LayoutGrid,
|
|
228
|
-
|
|
229
|
-
|
|
230
|
+
Rs as List,
|
|
231
|
+
Yr as LlmFormattedText,
|
|
230
232
|
It as Loader2,
|
|
231
233
|
Mt as Lock,
|
|
232
234
|
Dt as LogOut,
|
|
233
|
-
|
|
234
|
-
|
|
235
|
+
Xr as ManageActionButtons,
|
|
236
|
+
jr as MarsunCoreProvider,
|
|
235
237
|
Rt as Maximize2,
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
238
|
+
Qr as MermaidBlock,
|
|
239
|
+
$r as MessageActions,
|
|
240
|
+
At as MessageCircle,
|
|
241
|
+
ta as MessageEditPopover,
|
|
242
|
+
ra as MessageItem,
|
|
243
|
+
Et as MessageSquare,
|
|
242
244
|
Lt as Minimize2,
|
|
243
|
-
|
|
244
|
-
|
|
245
|
+
sa as ModulePageShell,
|
|
246
|
+
As as MultiField,
|
|
245
247
|
m as PALETTE,
|
|
246
|
-
|
|
248
|
+
Za as PARSE_STATUS_CONFIG,
|
|
247
249
|
z as PERMISSIONS_STORAGE_KEY,
|
|
248
250
|
G as PERMISSION_DEFINITIONS_KEY,
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
251
|
+
ia as PageHeaderLayout,
|
|
252
|
+
fl as PageShellProvider,
|
|
253
|
+
na as PageSpin,
|
|
252
254
|
Ot as PanelLeftClose,
|
|
253
255
|
bt as PanelLeftOpen,
|
|
254
|
-
|
|
256
|
+
pa as ParseStatusTag,
|
|
255
257
|
_t as Pause,
|
|
256
258
|
Ut as Pencil,
|
|
257
|
-
|
|
258
|
-
|
|
259
|
+
ua as PermissionGuard,
|
|
260
|
+
ca as PersonOptionRow,
|
|
259
261
|
wt as Plus,
|
|
260
262
|
yt as Presentation,
|
|
261
|
-
|
|
263
|
+
Sa as ProtectedRoute,
|
|
262
264
|
L as REDIRECT_URL_PARAM,
|
|
263
|
-
|
|
264
|
-
|
|
265
|
+
Gs as RULES,
|
|
266
|
+
Ks as ReactForm,
|
|
265
267
|
Bt as RefreshCw,
|
|
266
|
-
|
|
268
|
+
Es as ResetButton,
|
|
267
269
|
Nt as RotateCw,
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
270
|
+
Pa as SEMANTIC_COLORS,
|
|
271
|
+
Ls as Select,
|
|
272
|
+
ga as SemanticTag,
|
|
271
273
|
vt as Send,
|
|
272
|
-
|
|
273
|
-
|
|
274
|
+
ha as SessionActionButtons,
|
|
275
|
+
Ma as SessionSidebar,
|
|
274
276
|
kt as Settings,
|
|
275
277
|
Ht as Shield,
|
|
276
278
|
zt as ShieldCheck,
|
|
277
279
|
Gt as SlidersHorizontal,
|
|
278
|
-
|
|
280
|
+
Ra as Sparkline,
|
|
279
281
|
Kt as Square,
|
|
280
282
|
Vt as Star,
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
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,
|
|
293
295
|
Yt as ThumbsDown,
|
|
294
296
|
qt as ThumbsUp,
|
|
295
|
-
|
|
297
|
+
Va as TooltipInfo,
|
|
296
298
|
Xt as Trash2,
|
|
297
299
|
Wt as Trophy,
|
|
298
300
|
K as USER_ROLE_PERMISSIONS_KEY,
|
|
@@ -300,13 +302,13 @@ export {
|
|
|
300
302
|
Jt as Upload,
|
|
301
303
|
Qt as User,
|
|
302
304
|
Zt as UserPlus,
|
|
303
|
-
|
|
305
|
+
qa as UserProfileCard,
|
|
304
306
|
$t as UserRoundCog,
|
|
305
307
|
eo as Users,
|
|
306
|
-
|
|
308
|
+
Wa as VirtualScrollbar,
|
|
307
309
|
to as X,
|
|
308
|
-
|
|
309
|
-
|
|
310
|
+
xl as animateScrollFromTopToBottom,
|
|
311
|
+
cl as animateScrollTo,
|
|
310
312
|
o as applyCssTokenOverrides,
|
|
311
313
|
r as applyThemeToCssVariables,
|
|
312
314
|
O as buildAbsoluteLocationRedirectUrl,
|
|
@@ -317,131 +319,131 @@ export {
|
|
|
317
319
|
b as buildLocationRedirectUrl,
|
|
318
320
|
_ as buildLoginPath,
|
|
319
321
|
ge as buildPersonOptionLookup,
|
|
320
|
-
|
|
321
|
-
|
|
322
|
+
ts as citationDisplayNumber,
|
|
323
|
+
os as citationIdToIndex,
|
|
322
324
|
N as clearLastActivity,
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
325
|
+
ie as collectDepartmentIds,
|
|
326
|
+
Vs as compileErrMsg,
|
|
327
|
+
Ys as computedFieldValueFromFormData,
|
|
328
|
+
qs as computedFormDataFormState,
|
|
329
|
+
rs as countUniqueCitedSources,
|
|
328
330
|
oo as createIcon,
|
|
329
331
|
Q as createMarsunRequest,
|
|
330
332
|
Te as createPersonSelectFilter,
|
|
331
|
-
|
|
332
|
-
|
|
333
|
+
as as detectCitationIdBase,
|
|
334
|
+
Fl as downloadFileItem,
|
|
333
335
|
Se as employeeIdFormatRule,
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
336
|
+
ss as extractCitationIdsFromContent,
|
|
337
|
+
ls as extractCitationTitle,
|
|
338
|
+
hl as extractCitations,
|
|
337
339
|
me as extractDepartmentSubtree,
|
|
338
340
|
f as fetchWithTimeout,
|
|
339
|
-
|
|
341
|
+
Xs as filterEmpty,
|
|
340
342
|
ne as findDepartmentRootId,
|
|
341
|
-
|
|
343
|
+
Ws as findField,
|
|
342
344
|
fe as flattenDepartments,
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
345
|
+
js as formUtils,
|
|
346
|
+
is as formatCitationDocBasename,
|
|
347
|
+
ms as formatCitationMeta,
|
|
348
|
+
ns as formatCitationPositions,
|
|
347
349
|
C as formatFileSize,
|
|
348
|
-
|
|
350
|
+
Ll as formatLlmTextToHtml,
|
|
349
351
|
he as formatPersonValueLabel,
|
|
350
352
|
D as formatPickerValue,
|
|
351
|
-
|
|
353
|
+
Il as formatSessionTime,
|
|
352
354
|
a as generateTheme,
|
|
353
355
|
re as getDepartmentPath,
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
356
|
+
Pl as getFileDownloadAuthHeaders,
|
|
357
|
+
gl as getFileDownloadUrl,
|
|
358
|
+
_l as getFileExtension,
|
|
359
|
+
Ul as getFileIcon,
|
|
360
|
+
wl as getFileTypeName,
|
|
359
361
|
v as getLastActivityTime,
|
|
360
362
|
pe as getNormalUserAccessibleDepartmentIds,
|
|
361
363
|
de as getNormalUserDepartmentTree,
|
|
362
|
-
|
|
363
|
-
|
|
364
|
+
Cl as getScrollBottom,
|
|
365
|
+
Ml as getSessionDisplayName,
|
|
364
366
|
V as getStoredPermissionMap,
|
|
365
367
|
Y as getStoredUserPermissions,
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
368
|
+
kl as hasCitationMarkers,
|
|
369
|
+
Vl as hasPermission,
|
|
370
|
+
fs as injectCitationMarkdownLinks,
|
|
371
|
+
Js as interceptors,
|
|
370
372
|
ue as intersectDepartmentIds,
|
|
371
|
-
|
|
372
|
-
|
|
373
|
+
Qs as isEmpty,
|
|
374
|
+
Zs as isNotEmpty,
|
|
373
375
|
Fe as isValidEmployeeIdFormat,
|
|
374
376
|
R as isValidPickerValue,
|
|
375
|
-
|
|
377
|
+
Dl as isWelcomeOnlyMessages,
|
|
376
378
|
q as loadPermissionDefinitions,
|
|
377
379
|
X as loadUserRolePermissions,
|
|
378
|
-
|
|
380
|
+
$s as matchFields,
|
|
379
381
|
Ie as matchPersonOptionSearch,
|
|
380
382
|
ae as mergeDepartmentPathMaps,
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
383
|
+
Hl as normalizeAssistantMarkdown,
|
|
384
|
+
ps as normalizeCitation,
|
|
385
|
+
zl as normalizeDisplayText,
|
|
386
|
+
yl as normalizeExtension,
|
|
387
|
+
Bl as normalizeFileDisplayItem,
|
|
386
388
|
Me as normalizePersonDtos,
|
|
387
389
|
De as normalizeRawPersonList,
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
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,
|
|
396
398
|
U as readRedirectUrlFromSearch,
|
|
397
399
|
F as recentDayRange,
|
|
398
400
|
P as recentDayRangeStrings,
|
|
399
401
|
g as recentYearRange,
|
|
400
|
-
|
|
401
|
-
|
|
402
|
+
xs as resolveCitationTitle,
|
|
403
|
+
ql as resolveHidden,
|
|
402
404
|
u as resolveMaybeFn,
|
|
403
405
|
Re as resolvePersonDepartmentName,
|
|
404
406
|
w as resolveRedirectUrl,
|
|
405
|
-
|
|
407
|
+
Ae as resolveSelectPersonOption,
|
|
406
408
|
x as resolveVisible,
|
|
407
|
-
|
|
408
|
-
|
|
409
|
+
cs as sanitizeCitationHtml,
|
|
410
|
+
Wl as sanitizeMermaidChart,
|
|
409
411
|
W as savePermissionDefinitions,
|
|
410
412
|
j as saveUserRolePermissions,
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
413
|
+
tl as stateToError,
|
|
414
|
+
ol as stateToIsPass,
|
|
415
|
+
Cs as stripCitationFrontmatter,
|
|
416
|
+
jl as stripProseFromMermaid,
|
|
415
417
|
T as toApiStartEnd,
|
|
416
418
|
h as toDateRange,
|
|
417
419
|
I as toDateTimeRange,
|
|
418
420
|
se as toDepartmentPathMaps,
|
|
419
|
-
|
|
420
|
-
|
|
421
|
+
Al as toDisplayMessages,
|
|
422
|
+
Ee as toPersonOptions,
|
|
421
423
|
Le as toPersonSelectOptions,
|
|
422
424
|
Oe as toReviewerPersonOptions,
|
|
423
425
|
k as touchLastActivity,
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
426
|
+
Ql as useAutoScrollToBottom,
|
|
427
|
+
$l as useChat,
|
|
428
|
+
ti as useChatSessions,
|
|
429
|
+
ri as useCitationPanel,
|
|
428
430
|
p as useFetchData,
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
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
|
|
446
448
|
};
|
|
447
449
|
//# sourceMappingURL=index.js.map
|