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