@hkyhy/marsun-components-core 0.1.63 → 0.1.65
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/Form/index.d.ts +1 -0
- package/dist/components/Form/kneFormInfo.d.ts +7 -1
- package/dist/components/Form/kneFormInfo.js +39 -21
- package/dist/components/Form/kneFormInfo.js.map +1 -1
- package/dist/components/Form/normalizeLabelTips.d.ts +14 -0
- package/dist/components/Form/normalizeLabelTips.js +40 -0
- package/dist/components/Form/normalizeLabelTips.js.map +1 -0
- package/dist/components/StateBar/StateBar.d.ts +17 -2
- package/dist/components/StateBar/StateBar.js +74 -33
- package/dist/components/StateBar/StateBar.js.map +1 -1
- package/dist/components/StateBar/index.d.ts +1 -1
- package/dist/components/StateBar/style.module.scss.js +10 -8
- package/dist/components/StateBar/style.module.scss.js.map +1 -1
- package/dist/index.js +139 -136
- 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
|
@@ -4,17 +4,17 @@ import { applyCssTokenOverrides as s, applyThemeToCssVariables as m, generateThe
|
|
|
4
4
|
import { DEFAULT_PRIMARY_COLOR as i, LAYOUT_TOKENS as n, PALETTE as u } from "./theme/constants.js";
|
|
5
5
|
import { fetchWithTimeout as d, useFetchData as c } from "./hooks/useFetchData.js";
|
|
6
6
|
import { resolveMaybeFn as S, resolveVisible as C } from "./utils/resolveMaybeFn.js";
|
|
7
|
-
import { formatFileSize as
|
|
8
|
-
import { formatDateTimeDisplay as g, recentDayRange as
|
|
9
|
-
import { formatPickerValue as O, isValidPickerValue as _, parsePickerValue as
|
|
10
|
-
import { REDIRECT_URL_PARAM as v, buildAbsoluteLocationRedirectUrl as
|
|
7
|
+
import { formatFileSize as T } from "./utils/format.js";
|
|
8
|
+
import { formatDateTimeDisplay as g, recentDayRange as h, recentDayRangeStrings as R, recentYearRange as L, toApiStartEnd as D, toDateRange as E, toDateTimeRange as M } from "./utils/date.js";
|
|
9
|
+
import { formatPickerValue as O, isValidPickerValue as _, parsePickerValue as b } from "./utils/pickerDate.js";
|
|
10
|
+
import { REDIRECT_URL_PARAM as v, buildAbsoluteLocationRedirectUrl as w, buildLocationRedirectUrl as B, buildLoginPath as k, readRedirectUrlFromSearch as N, resolveRedirectUrl as U } from "./utils/authRedirect.js";
|
|
11
11
|
import { DEFAULT_LAST_ACTIVITY_STORAGE_KEY as V, clearLastActivity as K, getLastActivityTime as z, touchLastActivity as G } from "./utils/sessionActivity.js";
|
|
12
12
|
import { PERMISSIONS_STORAGE_KEY as W, PERMISSION_DEFINITIONS_KEY as X, USER_ROLE_PERMISSIONS_KEY as q, getStoredPermissionMap as Z, getStoredUserPermissions as j, loadPermissionDefinitions as J, loadUserRolePermissions as Q, savePermissionDefinitions as $, saveUserRolePermissions as ee } from "./utils/permissionStorage.js";
|
|
13
13
|
import { createMarsunRequest as re, isMarsunEnvelope as oe } from "./utils/createMarsunRequest.js";
|
|
14
14
|
import { buildDepartmentPathMapFromFlat as le, buildDepartmentPathMapFromTree as se, buildDepartmentPathMaps as me, buildLeafDepartmentPathMap as fe, getDepartmentPath as pe, mergeDepartmentPathMaps as ie, toDepartmentPathMaps as ne } from "./utils/department/departmentPath.js";
|
|
15
15
|
import { collectDepartmentIds as xe, extractDepartmentSubtree as de, findDepartmentRootId as ce, flattenDepartments as Fe, getNormalUserAccessibleDepartmentIds as Se, getNormalUserDepartmentTree as Ce, intersectDepartmentIds as Pe } from "./utils/department/departmentScope.js";
|
|
16
|
-
import { EMPLOYEE_ID_FORMAT_MESSAGE as
|
|
17
|
-
import { buildPersonOptionLookup as Me, createPersonSelectFilter as Ae, formatPersonValueLabel as Oe, matchPersonOptionSearch as _e, normalizePersonDtos as
|
|
16
|
+
import { EMPLOYEE_ID_FORMAT_MESSAGE as Ie, EMPLOYEE_ID_MAX_LENGTH as ge, EMPLOYEE_ID_PATTERN as he, EMPLOYEE_ID_SIX_DIGIT_PATTERN as Re, employeeIdFormatRule as Le, isValidEmployeeIdFormat as De } from "./utils/user/employeeId.js";
|
|
17
|
+
import { buildPersonOptionLookup as Me, createPersonSelectFilter as Ae, formatPersonValueLabel as Oe, matchPersonOptionSearch as _e, normalizePersonDtos as be, normalizeRawPersonList as ye, resolvePersonDepartmentName as ve, resolveSelectPersonOption as we, toPersonOptions as Be, toPersonSelectOptions as ke, toReviewerPersonOptions as Ne } from "./utils/personOption.js";
|
|
18
18
|
import { default as He } from "./components/Upload/index.js";
|
|
19
19
|
import { default as Ke } from "./components/AgentHub/AgentHubAccessGuard.js";
|
|
20
20
|
import { default as Ge } from "./components/AgentHub/AgentHubIndexRedirect.js";
|
|
@@ -32,15 +32,15 @@ import { default as ut } from "./components/AgentHub/Chat/Detail/ChatFollowUpSug
|
|
|
32
32
|
import { default as dt } from "./components/AgentHub/Chat/Modal/FormModal.js";
|
|
33
33
|
import { default as Ft } from "./components/AgentHub/Chat/Detail/ChatInput/index.js";
|
|
34
34
|
import { default as Ct } from "./components/AgentHub/Chat/Action/ManageActionButtons.js";
|
|
35
|
-
import { default as
|
|
35
|
+
import { default as Tt } from "./components/AgentHub/Chat/Detail/ChatPanel/index.js";
|
|
36
36
|
import { default as gt } from "./components/AgentHub/Chat/Detail/ChatSuggestionRow/index.js";
|
|
37
|
-
import { default as
|
|
37
|
+
import { default as Rt } from "./components/AgentHub/Chat/Detail/ChatWidgetBlock/index.js";
|
|
38
38
|
import { default as Dt } from "./components/AgentHub/Chat/Detail/CitationContent/index.js";
|
|
39
39
|
import { default as Mt } from "./components/AgentHub/Chat/Detail/CitationInlineBadge/index.js";
|
|
40
40
|
import { default as Ot } from "./components/AgentHub/Chat/Detail/CitationMarkdownContent/index.js";
|
|
41
|
-
import { default as
|
|
41
|
+
import { default as bt } from "./components/AgentHub/Chat/Detail/CitationPanel/index.js";
|
|
42
42
|
import { default as vt } from "./components/Descriptions/CommonDescriptions.js";
|
|
43
|
-
import { default as
|
|
43
|
+
import { default as Bt } from "./components/Filter/CommonFilter/index.js";
|
|
44
44
|
import { default as Nt } from "./components/Layout/ContentCard/index.js";
|
|
45
45
|
import { default as Ht } from "./components/AgentHub/KnowledgeBase/Action/CreateButton.js";
|
|
46
46
|
import { default as Kt } from "./components/AgentHub/KnowledgeBase/Detail/DocumentTable/index.js";
|
|
@@ -60,14 +60,14 @@ import { default as xr } from "./components/Filter/FilterDatePicker/index.js";
|
|
|
60
60
|
import { default as cr } from "./components/Filter/FilterDateRange/index.js";
|
|
61
61
|
import { default as Sr } from "./components/Filter/FilterInput/index.js";
|
|
62
62
|
import { default as Pr } from "./components/ReactFilter/FilterItemContainer.js";
|
|
63
|
-
import { default as
|
|
64
|
-
import { default as
|
|
63
|
+
import { default as Ir } from "./components/ReactFilter/FilterLines.js";
|
|
64
|
+
import { default as hr } from "./components/Filter/FilterList/index.js";
|
|
65
65
|
import { default as Lr } from "./components/Filter/FilterNumberRange/index.js";
|
|
66
66
|
import { default as Er } from "./components/ReactFilter/FilterOuter.js";
|
|
67
67
|
import { default as Ar } from "./components/Filter/FilterPanel/index.js";
|
|
68
68
|
import { default as _r } from "./components/Filter/FilterPopover/index.js";
|
|
69
|
-
import { default as
|
|
70
|
-
import { default as
|
|
69
|
+
import { default as yr } from "./components/Filter/FilterSelect/index.js";
|
|
70
|
+
import { default as wr } from "./components/Filter/FilterSelectAddress/index.js";
|
|
71
71
|
import { default as kr } from "./components/Filter/FilterSelectFunction/index.js";
|
|
72
72
|
import { default as Ur } from "./components/Filter/FilterSelectIndustry/index.js";
|
|
73
73
|
import { default as Vr } from "./components/Filter/FilterSelectTableList/index.js";
|
|
@@ -86,14 +86,14 @@ import { default as uo } from "./components/AgentHub/KnowledgeBase/List/Knowledg
|
|
|
86
86
|
import { default as co } from "./components/LlmFormattedText/LlmFormattedText/index.js";
|
|
87
87
|
import { default as So } from "./components/AgentHub/KnowledgeBase/Action/ManageActionButtons.js";
|
|
88
88
|
import { default as Po } from "./provider/MarsunCoreProvider.js";
|
|
89
|
-
import { default as
|
|
90
|
-
import { default as
|
|
89
|
+
import { default as Io } from "./components/AgentHub/Chat/Detail/MermaidBlock/index.js";
|
|
90
|
+
import { default as ho } from "./components/AgentHub/Chat/Detail/MessageActions/index.js";
|
|
91
91
|
import { default as Lo } from "./components/AgentHub/Chat/Detail/MessageEditPopover/index.js";
|
|
92
92
|
import { default as Eo } from "./components/AgentHub/Chat/Detail/MessageItem/index.js";
|
|
93
93
|
import { default as Ao } from "./components/Modal/Modal/index.js";
|
|
94
94
|
import { default as _o } from "./components/Layout/ModulePageShell/index.js";
|
|
95
|
-
import { default as
|
|
96
|
-
import { default as
|
|
95
|
+
import { default as yo } from "./components/OrgTree/OrgTree.js";
|
|
96
|
+
import { default as wo } from "./components/Layout/PageHeaderLayout/index.js";
|
|
97
97
|
import { default as ko } from "./components/Layout/PageSpin/index.js";
|
|
98
98
|
import { default as Uo } from "./components/AgentHub/KnowledgeBase/Detail/ParseStatusTag/index.js";
|
|
99
99
|
import { default as Vo } from "./components/PermissionBindPanel/PermissionBindPanel.js";
|
|
@@ -111,14 +111,14 @@ import { default as ua } from "./components/AgentHub/Report/Detail/ReportArchive
|
|
|
111
111
|
import { default as da } from "./components/AgentHub/Report/Detail/ReportExportLayout/index.js";
|
|
112
112
|
import { default as Fa } from "./components/AgentHub/Report/Detail/ReportHtmlPreview/index.js";
|
|
113
113
|
import { default as Ca } from "./components/AgentHub/Report/Detail/ReportMetaStrip/index.js";
|
|
114
|
-
import { default as
|
|
114
|
+
import { default as Ta } from "./components/AgentHub/Report/Detail/ReportTemplate/index.js";
|
|
115
115
|
import { default as ga } from "./components/AgentHub/Report/Detail/ReportVersionList/index.js";
|
|
116
|
-
import { default as
|
|
116
|
+
import { default as Ra } from "./components/AgentHub/Report/Detail/ReportWorkspace/index.js";
|
|
117
117
|
import { default as Da } from "./components/SegmentedRadio/SegmentedRadio.js";
|
|
118
118
|
import { SEMANTIC_COLORS as Ma, default as Aa } from "./components/Tag/SemanticTag.js";
|
|
119
119
|
import { default as _a } from "./components/AgentHub/Chat/Action/SessionActionButtons.js";
|
|
120
|
-
import { default as
|
|
121
|
-
import { default as
|
|
120
|
+
import { default as ya } from "./components/AgentHub/Chat/List/SessionSidebar/index.js";
|
|
121
|
+
import { default as wa } from "./components/Sparkline/Sparkline/index.js";
|
|
122
122
|
import { default as ka } from "./components/Stat/StatCard/index.js";
|
|
123
123
|
import { default as Ua } from "./components/Stat/StatCardList.js";
|
|
124
124
|
import { default as Va } from "./components/Stat/StatPendingBreakdown/index.js";
|
|
@@ -138,21 +138,21 @@ import { default as xl } from "./components/ReactFilter/getFilterValue.js";
|
|
|
138
138
|
import { default as cl } from "./components/ReactFilter/pickSelectValues.js";
|
|
139
139
|
import { default as Sl } from "./components/ReactFilter/useSearchParamsValue.js";
|
|
140
140
|
import { default as Pl } from "./components/ReactFilter/withFieldItem.js";
|
|
141
|
-
import { default as
|
|
142
|
-
import { ArrowLeft as
|
|
141
|
+
import { default as Il } from "./components/ReactFilter/withFilterValue.js";
|
|
142
|
+
import { ArrowLeft as hl } from "./components/Icons/ArrowLeft.js";
|
|
143
143
|
import { ArrowLeftRight as Ll } from "./components/Icons/ArrowLeftRight.js";
|
|
144
144
|
import { BarChart3 as El } from "./components/Icons/BarChart3.js";
|
|
145
145
|
import { Bell as Al } from "./components/Icons/Bell.js";
|
|
146
146
|
import { BookOpen as _l } from "./components/Icons/BookOpen.js";
|
|
147
|
-
import { Bot as
|
|
148
|
-
import { CHUNK_METHOD_OPTIONS as
|
|
147
|
+
import { Bot as yl } from "./components/Icons/Bot.js";
|
|
148
|
+
import { CHUNK_METHOD_OPTIONS as wl, EMBEDDING_MODEL_OPTIONS as Bl, PARSE_STATUS_CONFIG as kl } from "./components/AgentHub/KnowledgeBase/constants/types.js";
|
|
149
149
|
import { CITATION_LINK_PREFIX as Ul, citationDisplayNumber as Hl, citationIdToIndex as Vl, countUniqueCitedSources as Kl, detectCitationIdBase as zl, extractCitationIdsFromContent as Gl, extractCitationTitle as Yl, formatCitationDocBasename as Wl, formatCitationMeta as Xl, formatCitationPositions as ql, injectCitationMarkdownLinks as Zl, normalizeCitation as jl, parseCitationLinkHref as Jl, prepareCitationContent as Ql, resolveCitationTitle as $l, sanitizeCitationHtml as es, stripCitationFrontmatter as ts } from "./components/AgentHub/Chat/utils/citationContent.js";
|
|
150
150
|
import { COLUMN_CONFIG_COL_KEY as os, FLEX_SPACER_COL_KEY as as, applyColumnConfig as ls, columnsToConfig as ss, hideColumnAtPath as ms, isInternalColumnKey as fs } from "./components/Table/columnConfigUtils.js";
|
|
151
|
-
import { CancelButton as is, Form as ns, FormInfo as us, FormModal as xs, FormSteps as ds, FormStepsModal as cs, Input as Fs, InputNumber as Ss, List as Cs, MultiField as Ps, RadioGroup as
|
|
151
|
+
import { CancelButton as is, Form as ns, FormInfo as us, FormModal as xs, FormSteps as ds, FormStepsModal as cs, Input as Fs, InputNumber as Ss, List as Cs, MultiField as Ps, RadioGroup as Ts, ResetButton as Is, Select as gs, SubmitButton as hs, Switch as Rs, TableList as Ls, TextArea as Ds, TreeSelect as Es } from "./components/Form/kneFormInfo.js";
|
|
152
152
|
import { Check as As } from "./components/Icons/Check.js";
|
|
153
153
|
import { ChevronDown as _s } from "./components/Icons/ChevronDown.js";
|
|
154
|
-
import { ChevronLeft as
|
|
155
|
-
import { ChevronRight as
|
|
154
|
+
import { ChevronLeft as ys } from "./components/Icons/ChevronLeft.js";
|
|
155
|
+
import { ChevronRight as ws } from "./components/Icons/ChevronRight.js";
|
|
156
156
|
import { ChevronUp as ks } from "./components/Icons/ChevronUp.js";
|
|
157
157
|
import { CircleAlert as Us } from "./components/Icons/CircleAlert.js";
|
|
158
158
|
import { CircleCheck as Vs } from "./components/Icons/CircleCheck.js";
|
|
@@ -171,28 +171,28 @@ import { Download as nm } from "./components/Icons/Download.js";
|
|
|
171
171
|
import { Eye as xm } from "./components/Icons/Eye.js";
|
|
172
172
|
import { EyeOff as cm } from "./components/Icons/EyeOff.js";
|
|
173
173
|
import { FILTER_CLASS as Sm } from "./components/ReactFilter/filterClassNames.js";
|
|
174
|
-
import { FILTER_MOBILE_BREAKPOINT as Pm, useFilterLayoutMode as
|
|
174
|
+
import { FILTER_MOBILE_BREAKPOINT as Pm, useFilterLayoutMode as Tm } from "./components/Filter/useFilterLayoutMode.js";
|
|
175
175
|
import { File as gm } from "./components/Icons/File.js";
|
|
176
|
-
import { FileArchive as
|
|
176
|
+
import { FileArchive as Rm } from "./components/Icons/FileArchive.js";
|
|
177
177
|
import { FileImage as Dm } from "./components/Icons/FileImage.js";
|
|
178
178
|
import { FileItem as Mm } from "./components/File/FileItem/index.js";
|
|
179
179
|
import { FileSpreadsheet as Om } from "./components/Icons/FileSpreadsheet.js";
|
|
180
|
-
import { FileText as
|
|
181
|
-
import { FilterLayoutProvider as vm, useFilterLayout as
|
|
180
|
+
import { FileText as bm } from "./components/Icons/FileText.js";
|
|
181
|
+
import { FilterLayoutProvider as vm, useFilterLayout as wm } from "./components/Filter/FilterLayoutContext.js";
|
|
182
182
|
import { FilterProvider as km, useFilterDeps as Nm, useFilterFieldBridge as Um, useFilterRegister as Hm, useFilterState as Vm } from "./components/Filter/useFilterState.js";
|
|
183
183
|
import { Flag as zm } from "./components/Icons/Flag.js";
|
|
184
184
|
import { Flame as Ym } from "./components/Icons/Flame.js";
|
|
185
185
|
import { Folder as Xm } from "./components/Icons/Folder.js";
|
|
186
186
|
import { FolderOpen as Zm } from "./components/Icons/FolderOpen.js";
|
|
187
187
|
import { GroupList as Jm, RULES as Qm, default as $m, compileErrMsg as ef, computedFieldValueFromFormData as tf, computedFormDataFormState as rf, filterEmpty as of, findField as af, formUtils as lf, interceptors as sf, isEmpty as mf, isNotEmpty as ff, matchFields as pf, preset as nf, stateToError as uf, stateToIsPass as xf, useField as df, useFormApi as cf, useFormContext as Ff, useGroup as Sf, useReset as Cf, useSubmit as Pf } from "@kne/react-form";
|
|
188
|
-
import { Hash as
|
|
189
|
-
import { House as
|
|
188
|
+
import { Hash as If } from "./components/Icons/Hash.js";
|
|
189
|
+
import { House as hf } from "./components/Icons/House.js";
|
|
190
190
|
import { ICON_NAMES as Lf, ICON_REGISTRY as Df } from "./components/Icons/registry.js";
|
|
191
191
|
import { Import as Mf } from "./components/Icons/Import.js";
|
|
192
192
|
import { Inbox as Of } from "./components/Icons/Inbox.js";
|
|
193
|
-
import { Info as
|
|
193
|
+
import { Info as bf } from "./components/Icons/Info.js";
|
|
194
194
|
import { LayoutDashboard as vf } from "./components/Icons/LayoutDashboard.js";
|
|
195
|
-
import { LayoutGrid as
|
|
195
|
+
import { LayoutGrid as Bf } from "./components/Icons/LayoutGrid.js";
|
|
196
196
|
import { ListTodo as Nf } from "./components/Icons/ListTodo.js";
|
|
197
197
|
import { Loader2 as Hf } from "./components/Icons/Loader2.js";
|
|
198
198
|
import { Lock as Kf } from "./components/Icons/Lock.js";
|
|
@@ -206,15 +206,15 @@ import * as o from "./components/ReactFilter/fields/index.js";
|
|
|
206
206
|
import { NumberRangeFilterItem as lp, InputFilterItem as sp, SelectAddressFilterItem as mp, SelectCascaderFilterItem as fp, SelectFunctionFilterItem as pp, SelectIndustryFilterItem as ip, SelectTableListFilterItem as np, SuperSelectFilterItem as up } from "./components/ReactFilter/fields/index.js";
|
|
207
207
|
import { PageShellProvider as dp, usePageShell as cp, usePageShellLoading as Fp } from "./components/Layout/PageShell/PageShellContext.js";
|
|
208
208
|
import { PanelLeftClose as Cp } from "./components/Icons/PanelLeftClose.js";
|
|
209
|
-
import { PanelLeftOpen as
|
|
209
|
+
import { PanelLeftOpen as Tp } from "./components/Icons/PanelLeftOpen.js";
|
|
210
210
|
import { Pause as gp } from "./components/Icons/Pause.js";
|
|
211
|
-
import { Pencil as
|
|
211
|
+
import { Pencil as Rp } from "./components/Icons/Pencil.js";
|
|
212
212
|
import { Plus as Dp } from "./components/Icons/Plus.js";
|
|
213
213
|
import { Presentation as Mp } from "./components/Icons/Presentation.js";
|
|
214
214
|
import { RefreshCw as Op } from "./components/Icons/RefreshCw.js";
|
|
215
|
-
import { RotateCw as
|
|
215
|
+
import { RotateCw as bp } from "./components/Icons/RotateCw.js";
|
|
216
216
|
import { SelectCascader as vp } from "@kne/super-select";
|
|
217
|
-
import { default as
|
|
217
|
+
import { default as Bp } from "./components/ReactFilter/fields/SelectTreeFilterItem.js";
|
|
218
218
|
import { Send as Np } from "./components/Icons/Send.js";
|
|
219
219
|
import { Settings as Hp } from "./components/Icons/Settings.js";
|
|
220
220
|
import { Shield as Kp } from "./components/Icons/Shield.js";
|
|
@@ -233,10 +233,10 @@ import { UserPlus as ui } from "./components/Icons/UserPlus.js";
|
|
|
233
233
|
import { UserRoundCog as di } from "./components/Icons/UserRoundCog.js";
|
|
234
234
|
import { Users as Fi } from "./components/Icons/Users.js";
|
|
235
235
|
import { X as Ci } from "./components/Icons/X.js";
|
|
236
|
-
import { animateScrollFromTopToBottom as
|
|
237
|
-
import { applyHiddenRows as
|
|
238
|
-
import { buildDepsKey as Oi, normalizeDependsOn as _i, resolveFilterLabel as
|
|
239
|
-
import { createIcon as
|
|
236
|
+
import { animateScrollFromTopToBottom as Ti, animateScrollTo as Ii, getScrollBottom as gi } from "./components/AgentHub/Chat/utils/smoothScroll.js";
|
|
237
|
+
import { applyHiddenRows as Ri, mergeTablePrefs as Li, normalizeHiddenRowKeys as Di, parseTablePrefs as Ei, serializeTablePrefs as Mi } from "./components/Table/tablePrefsUtils.js";
|
|
238
|
+
import { buildDepsKey as Oi, normalizeDependsOn as _i, resolveFilterLabel as bi, resolveFilterVisible as yi, resolveHidden as vi } from "./components/Filter/types.js";
|
|
239
|
+
import { createIcon as Bi } from "./components/Icons/createIcon.js";
|
|
240
240
|
import { downloadFileItem as Ni, getFileDownloadAuthHeaders as Ui, getFileDownloadUrl as Hi } from "./components/File/utils/download.js";
|
|
241
241
|
import { emptyTablePrefs as Ki } from "./components/Table/tablePrefsTypes.js";
|
|
242
242
|
import { extractCitations as Gi, formatSessionTime as Yi, getSessionDisplayName as Wi, isWelcomeOnlyMessages as Xi, parseSessionMessages as qi, toDisplayMessages as Zi } from "./components/AgentHub/Chat/utils/sessionMessages.js";
|
|
@@ -245,20 +245,21 @@ import { formatLlmTextToHtml as tn, parseLlmText as rn } from "./components/LlmF
|
|
|
245
245
|
import { getFileExtension as an, getFileIcon as ln, getFileTypeName as sn, normalizeExtension as mn, normalizeFileDisplayItem as fn, parseFileNameFromUrl as pn } from "./components/File/fileDisplay.js";
|
|
246
246
|
import { hasCitationMarkers as un, normalizeAssistantMarkdown as xn, normalizeDisplayText as dn, parseAssistantContent as cn } from "./components/AgentHub/Chat/utils/messageContent.js";
|
|
247
247
|
import { hasPermission as Sn } from "./components/Auth/hasPermission.js";
|
|
248
|
-
import { kneToMarsun as Pn, kneValueLabel as
|
|
249
|
-
import {
|
|
250
|
-
import {
|
|
251
|
-
import {
|
|
252
|
-
import {
|
|
253
|
-
import {
|
|
254
|
-
import {
|
|
255
|
-
import {
|
|
256
|
-
import {
|
|
257
|
-
import {
|
|
258
|
-
import {
|
|
259
|
-
import {
|
|
260
|
-
import {
|
|
261
|
-
import {
|
|
248
|
+
import { kneToMarsun as Pn, kneValueLabel as Tn, marsunToKne as In, marsunValueLabel as gn, mergeKneLabelMaps as hn } from "./components/Filter/kneValueAdapter.js";
|
|
249
|
+
import { normalizeLabelTips as Ln, withNormalizedLabelTips as Dn } from "./components/Form/normalizeLabelTips.js";
|
|
250
|
+
import { sanitizeMermaidChart as Mn, stripProseFromMermaid as An } from "./components/AgentHub/Chat/utils/sanitizeMermaidChart.js";
|
|
251
|
+
import { useAutoScrollToBottom as _n } from "./components/AgentHub/Chat/hooks/useAutoScrollToBottom.js";
|
|
252
|
+
import { useChat as yn } from "./components/AgentHub/Chat/hooks/useChat.js";
|
|
253
|
+
import { useChatSessions as wn } from "./components/AgentHub/Chat/hooks/useChatSessions.js";
|
|
254
|
+
import { useCitationPanel as kn } from "./components/AgentHub/Chat/hooks/useCitationPanel.js";
|
|
255
|
+
import { useFullscreen as Un } from "./components/Layout/FullscreenBox/useFullscreen.js";
|
|
256
|
+
import { useHorizontalScrollShadows as Vn } from "./components/Filter/useHorizontalScrollShadows.js";
|
|
257
|
+
import { useKBDocuments as zn } from "./components/AgentHub/KnowledgeBase/hooks/useKBDocuments.js";
|
|
258
|
+
import { useKnowledgeBase as Yn } from "./components/AgentHub/KnowledgeBase/hooks/useKnowledgeBase.js";
|
|
259
|
+
import { useMarsunAuth as Xn, useMarsunCore as qn, useMarsunFetch as Zn } from "./provider/context.js";
|
|
260
|
+
import { useContext as Jn } from "./components/ReactFilter/context.js";
|
|
261
|
+
import { useSSECompletion as $n } from "./components/AgentHub/Chat/hooks/useSSECompletion.js";
|
|
262
|
+
import { useTypewriter as tu } from "./components/AgentHub/Chat/hooks/useTypewriter.js";
|
|
262
263
|
export {
|
|
263
264
|
qe as AdvancedFilter,
|
|
264
265
|
je as AgentAppShell,
|
|
@@ -266,13 +267,13 @@ export {
|
|
|
266
267
|
Ge as AgentHubIndexRedirect,
|
|
267
268
|
We as AgentHubSessionAccessGuard,
|
|
268
269
|
Qe as AppTour,
|
|
269
|
-
|
|
270
|
+
hl as ArrowLeft,
|
|
270
271
|
Ll as ArrowLeftRight,
|
|
271
272
|
El as BarChart3,
|
|
272
273
|
Al as Bell,
|
|
273
274
|
_l as BookOpen,
|
|
274
|
-
|
|
275
|
-
|
|
275
|
+
yl as Bot,
|
|
276
|
+
wl as CHUNK_METHOD_OPTIONS,
|
|
276
277
|
Ul as CITATION_LINK_PREFIX,
|
|
277
278
|
os as COLUMN_CONFIG_COL_KEY,
|
|
278
279
|
is as CancelButton,
|
|
@@ -286,13 +287,13 @@ export {
|
|
|
286
287
|
dt as ChatFormModal,
|
|
287
288
|
Ft as ChatInput,
|
|
288
289
|
Ct as ChatManageActionButtons,
|
|
289
|
-
|
|
290
|
+
Tt as ChatPanel,
|
|
290
291
|
gt as ChatSuggestionRow,
|
|
291
|
-
|
|
292
|
+
Rt as ChatWidgetBlock,
|
|
292
293
|
As as Check,
|
|
293
294
|
_s as ChevronDown,
|
|
294
|
-
|
|
295
|
-
|
|
295
|
+
ys as ChevronLeft,
|
|
296
|
+
ws as ChevronRight,
|
|
296
297
|
ks as ChevronUp,
|
|
297
298
|
Us as CircleAlert,
|
|
298
299
|
Vs as CircleCheck,
|
|
@@ -302,14 +303,14 @@ export {
|
|
|
302
303
|
Dt as CitationContent,
|
|
303
304
|
Mt as CitationInlineBadge,
|
|
304
305
|
Ot as CitationMarkdownContent,
|
|
305
|
-
|
|
306
|
+
bt as CitationPanel,
|
|
306
307
|
Zs as ClipboardCheck,
|
|
307
308
|
Js as Clock,
|
|
308
309
|
$s as CloudDownload,
|
|
309
310
|
tm as CloudUpload,
|
|
310
311
|
om as Code,
|
|
311
312
|
vt as CommonDescriptions,
|
|
312
|
-
|
|
313
|
+
Bt as CommonFilter,
|
|
313
314
|
He as CommonUpload,
|
|
314
315
|
Nt as ContentCard,
|
|
315
316
|
lm as Copy,
|
|
@@ -320,11 +321,11 @@ export {
|
|
|
320
321
|
pm as Database,
|
|
321
322
|
Kt as DocumentTable,
|
|
322
323
|
nm as Download,
|
|
323
|
-
|
|
324
|
-
|
|
324
|
+
Bl as EMBEDDING_MODEL_OPTIONS,
|
|
325
|
+
Ie as EMPLOYEE_ID_FORMAT_MESSAGE,
|
|
325
326
|
ge as EMPLOYEE_ID_MAX_LENGTH,
|
|
326
|
-
|
|
327
|
-
|
|
327
|
+
he as EMPLOYEE_ID_PATTERN,
|
|
328
|
+
Re as EMPLOYEE_ID_SIX_DIGIT_PATTERN,
|
|
328
329
|
Gt as Empty,
|
|
329
330
|
xm as Eye,
|
|
330
331
|
cm as EyeOff,
|
|
@@ -334,7 +335,7 @@ export {
|
|
|
334
335
|
Wt as FetchSelect,
|
|
335
336
|
qt as FetchTreeSelect,
|
|
336
337
|
gm as File,
|
|
337
|
-
|
|
338
|
+
Rm as FileArchive,
|
|
338
339
|
Dm as FileImage,
|
|
339
340
|
Mm as FileItemView,
|
|
340
341
|
jt as FileLink,
|
|
@@ -343,7 +344,7 @@ export {
|
|
|
343
344
|
rr as FilePreviewModal,
|
|
344
345
|
Om as FileSpreadsheet,
|
|
345
346
|
ar as FileTags,
|
|
346
|
-
|
|
347
|
+
bm as FileText,
|
|
347
348
|
sr as Filter,
|
|
348
349
|
fr as FilterCascader,
|
|
349
350
|
nr as FilterCity,
|
|
@@ -352,15 +353,15 @@ export {
|
|
|
352
353
|
Sr as FilterInput,
|
|
353
354
|
Pr as FilterItemContainer,
|
|
354
355
|
vm as FilterLayoutProvider,
|
|
355
|
-
|
|
356
|
-
|
|
356
|
+
Ir as FilterLines,
|
|
357
|
+
hr as FilterList,
|
|
357
358
|
Lr as FilterNumberRange,
|
|
358
359
|
Er as FilterOuter,
|
|
359
360
|
Ar as FilterPanel,
|
|
360
361
|
_r as FilterPopover,
|
|
361
362
|
km as FilterProvider,
|
|
362
|
-
|
|
363
|
-
|
|
363
|
+
yr as FilterSelect,
|
|
364
|
+
wr as FilterSelectAddress,
|
|
364
365
|
kr as FilterSelectFunction,
|
|
365
366
|
Ur as FilterSelectIndustry,
|
|
366
367
|
Vr as FilterSelectTableList,
|
|
@@ -382,13 +383,13 @@ export {
|
|
|
382
383
|
to as FullscreenBox,
|
|
383
384
|
ro as FullscreenToggle,
|
|
384
385
|
Jm as GroupList,
|
|
385
|
-
|
|
386
|
-
|
|
386
|
+
If as Hash,
|
|
387
|
+
hf as House,
|
|
387
388
|
Lf as ICON_NAMES,
|
|
388
389
|
Df as ICON_REGISTRY,
|
|
389
390
|
Mf as Import,
|
|
390
391
|
Of as Inbox,
|
|
391
|
-
|
|
392
|
+
bf as Info,
|
|
392
393
|
Fs as Input,
|
|
393
394
|
Ss as InputNumber,
|
|
394
395
|
ao as InteractiveBlock,
|
|
@@ -398,7 +399,7 @@ export {
|
|
|
398
399
|
uo as KnowledgeCard,
|
|
399
400
|
n as LAYOUT_TOKENS,
|
|
400
401
|
vf as LayoutDashboard,
|
|
401
|
-
|
|
402
|
+
Bf as LayoutGrid,
|
|
402
403
|
Cs as List,
|
|
403
404
|
Nf as ListTodo,
|
|
404
405
|
co as LlmFormattedText,
|
|
@@ -410,8 +411,8 @@ export {
|
|
|
410
411
|
So as ManageActionButtons,
|
|
411
412
|
Po as MarsunCoreProvider,
|
|
412
413
|
Jf as Maximize2,
|
|
413
|
-
|
|
414
|
-
|
|
414
|
+
Io as MermaidBlock,
|
|
415
|
+
ho as MessageActions,
|
|
415
416
|
$f as MessageCircle,
|
|
416
417
|
Lo as MessageEditPopover,
|
|
417
418
|
Eo as MessageItem,
|
|
@@ -421,19 +422,19 @@ export {
|
|
|
421
422
|
_o as ModulePageShell,
|
|
422
423
|
Ps as MultiField,
|
|
423
424
|
lp as NumberRangeFilterItem,
|
|
424
|
-
|
|
425
|
+
yo as OrgTree,
|
|
425
426
|
u as PALETTE,
|
|
426
427
|
kl as PARSE_STATUS_CONFIG,
|
|
427
428
|
W as PERMISSIONS_STORAGE_KEY,
|
|
428
429
|
X as PERMISSION_DEFINITIONS_KEY,
|
|
429
|
-
|
|
430
|
+
wo as PageHeaderLayout,
|
|
430
431
|
dp as PageShellProvider,
|
|
431
432
|
ko as PageSpin,
|
|
432
433
|
Cp as PanelLeftClose,
|
|
433
|
-
|
|
434
|
+
Tp as PanelLeftOpen,
|
|
434
435
|
Uo as ParseStatusTag,
|
|
435
436
|
gp as Pause,
|
|
436
|
-
|
|
437
|
+
Rp as Pencil,
|
|
437
438
|
Vo as PermissionBindPanel,
|
|
438
439
|
zo as PermissionGuard,
|
|
439
440
|
Yo as Permissions,
|
|
@@ -444,7 +445,7 @@ export {
|
|
|
444
445
|
ea as ProtectedRoute,
|
|
445
446
|
v as REDIRECT_URL_PARAM,
|
|
446
447
|
Qm as RULES,
|
|
447
|
-
|
|
448
|
+
Ts as RadioGroup,
|
|
448
449
|
ra as ReactDatePickerFilterItem,
|
|
449
450
|
aa as ReactDateRangePickerFilterItem,
|
|
450
451
|
sa as ReactFilterItem,
|
|
@@ -457,11 +458,11 @@ export {
|
|
|
457
458
|
da as ReportExportLayout,
|
|
458
459
|
Fa as ReportHtmlPreview,
|
|
459
460
|
Ca as ReportMetaStrip,
|
|
460
|
-
|
|
461
|
+
Ta as ReportTemplate,
|
|
461
462
|
ga as ReportVersionList,
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
463
|
+
Ra as ReportWorkspace,
|
|
464
|
+
Is as ResetButton,
|
|
465
|
+
bp as RotateCw,
|
|
465
466
|
Ma as SEMANTIC_COLORS,
|
|
466
467
|
Da as SegmentedRadio,
|
|
467
468
|
gs as Select,
|
|
@@ -471,16 +472,16 @@ export {
|
|
|
471
472
|
pp as SelectFunctionFilterItem,
|
|
472
473
|
ip as SelectIndustryFilterItem,
|
|
473
474
|
np as SelectTableListFilterItem,
|
|
474
|
-
|
|
475
|
+
Bp as SelectTreeFilterItem,
|
|
475
476
|
Aa as SemanticTag,
|
|
476
477
|
Np as Send,
|
|
477
478
|
_a as SessionActionButtons,
|
|
478
|
-
|
|
479
|
+
ya as SessionSidebar,
|
|
479
480
|
Hp as Settings,
|
|
480
481
|
Kp as Shield,
|
|
481
482
|
Gp as ShieldCheck,
|
|
482
483
|
Wp as SlidersHorizontal,
|
|
483
|
-
|
|
484
|
+
wa as Sparkline,
|
|
484
485
|
qp as Square,
|
|
485
486
|
jp as Star,
|
|
486
487
|
ka as StatCard,
|
|
@@ -489,9 +490,9 @@ export {
|
|
|
489
490
|
za as StateBar,
|
|
490
491
|
Ya as StepForm,
|
|
491
492
|
Xa as StepModal,
|
|
492
|
-
|
|
493
|
+
hs as SubmitButton,
|
|
493
494
|
up as SuperSelectFilterItem,
|
|
494
|
-
|
|
495
|
+
Rs as Switch,
|
|
495
496
|
Za as Table,
|
|
496
497
|
Ls as TableList,
|
|
497
498
|
Ja as Tags,
|
|
@@ -515,19 +516,19 @@ export {
|
|
|
515
516
|
Fi as Users,
|
|
516
517
|
pl as VirtualScrollbar,
|
|
517
518
|
Ci as X,
|
|
518
|
-
|
|
519
|
-
|
|
519
|
+
Ti as animateScrollFromTopToBottom,
|
|
520
|
+
Ii as animateScrollTo,
|
|
520
521
|
ls as applyColumnConfig,
|
|
521
522
|
s as applyCssTokenOverrides,
|
|
522
|
-
|
|
523
|
+
Ri as applyHiddenRows,
|
|
523
524
|
m as applyThemeToCssVariables,
|
|
524
|
-
|
|
525
|
+
w as buildAbsoluteLocationRedirectUrl,
|
|
525
526
|
le as buildDepartmentPathMapFromFlat,
|
|
526
527
|
se as buildDepartmentPathMapFromTree,
|
|
527
528
|
me as buildDepartmentPathMaps,
|
|
528
529
|
Oi as buildDepsKey,
|
|
529
530
|
fe as buildLeafDepartmentPathMap,
|
|
530
|
-
|
|
531
|
+
B as buildLocationRedirectUrl,
|
|
531
532
|
k as buildLoginPath,
|
|
532
533
|
Me as buildPersonOptionLookup,
|
|
533
534
|
Hl as citationDisplayNumber,
|
|
@@ -541,7 +542,7 @@ export {
|
|
|
541
542
|
Wo as computedIsPass,
|
|
542
543
|
Kl as countUniqueCitedSources,
|
|
543
544
|
nl as createFilterValueMapper,
|
|
544
|
-
|
|
545
|
+
Bi as createIcon,
|
|
545
546
|
re as createMarsunRequest,
|
|
546
547
|
Ae as createPersonSelectFilter,
|
|
547
548
|
zl as detectCitationIdBase,
|
|
@@ -563,7 +564,7 @@ export {
|
|
|
563
564
|
Xl as formatCitationMeta,
|
|
564
565
|
ql as formatCitationPositions,
|
|
565
566
|
g as formatDateTimeDisplay,
|
|
566
|
-
|
|
567
|
+
T as formatFileSize,
|
|
567
568
|
tn as formatLlmTextToHtml,
|
|
568
569
|
Oe as formatPersonValueLabel,
|
|
569
570
|
O as formatPickerValue,
|
|
@@ -597,15 +598,15 @@ export {
|
|
|
597
598
|
_ as isValidPickerValue,
|
|
598
599
|
Xi as isWelcomeOnlyMessages,
|
|
599
600
|
Pn as kneToMarsun,
|
|
600
|
-
|
|
601
|
+
Tn as kneValueLabel,
|
|
601
602
|
J as loadPermissionDefinitions,
|
|
602
603
|
Q as loadUserRolePermissions,
|
|
603
|
-
|
|
604
|
+
In as marsunToKne,
|
|
604
605
|
gn as marsunValueLabel,
|
|
605
606
|
pf as matchFields,
|
|
606
607
|
_e as matchPersonOptionSearch,
|
|
607
608
|
ie as mergeDepartmentPathMaps,
|
|
608
|
-
|
|
609
|
+
hn as mergeKneLabelMaps,
|
|
609
610
|
Li as mergeTablePrefs,
|
|
610
611
|
Qi as multiSelectInterceptor,
|
|
611
612
|
xn as normalizeAssistantMarkdown,
|
|
@@ -615,13 +616,14 @@ export {
|
|
|
615
616
|
mn as normalizeExtension,
|
|
616
617
|
fn as normalizeFileDisplayItem,
|
|
617
618
|
Di as normalizeHiddenRowKeys,
|
|
618
|
-
|
|
619
|
-
be as
|
|
619
|
+
Ln as normalizeLabelTips,
|
|
620
|
+
be as normalizePersonDtos,
|
|
621
|
+
ye as normalizeRawPersonList,
|
|
620
622
|
cn as parseAssistantContent,
|
|
621
623
|
Jl as parseCitationLinkHref,
|
|
622
624
|
pn as parseFileNameFromUrl,
|
|
623
625
|
rn as parseLlmText,
|
|
624
|
-
|
|
626
|
+
b as parsePickerValue,
|
|
625
627
|
qi as parseSessionMessages,
|
|
626
628
|
Ei as parseTablePrefs,
|
|
627
629
|
cl as pickSelectValues,
|
|
@@ -629,22 +631,22 @@ export {
|
|
|
629
631
|
nf as preset,
|
|
630
632
|
o as reactFilterFields,
|
|
631
633
|
N as readRedirectUrlFromSearch,
|
|
632
|
-
|
|
633
|
-
|
|
634
|
+
h as recentDayRange,
|
|
635
|
+
R as recentDayRangeStrings,
|
|
634
636
|
L as recentYearRange,
|
|
635
637
|
$l as resolveCitationTitle,
|
|
636
|
-
|
|
637
|
-
|
|
638
|
+
bi as resolveFilterLabel,
|
|
639
|
+
yi as resolveFilterVisible,
|
|
638
640
|
vi as resolveHidden,
|
|
639
641
|
S as resolveMaybeFn,
|
|
640
642
|
qf as resolveModalSizeAnchor,
|
|
641
643
|
Zf as resolveModalWidth,
|
|
642
644
|
ve as resolvePersonDepartmentName,
|
|
643
645
|
U as resolveRedirectUrl,
|
|
644
|
-
|
|
646
|
+
we as resolveSelectPersonOption,
|
|
645
647
|
C as resolveVisible,
|
|
646
648
|
es as sanitizeCitationHtml,
|
|
647
|
-
|
|
649
|
+
Mn as sanitizeMermaidChart,
|
|
648
650
|
$ as savePermissionDefinitions,
|
|
649
651
|
ee as saveUserRolePermissions,
|
|
650
652
|
Mi as serializeTablePrefs,
|
|
@@ -652,50 +654,51 @@ export {
|
|
|
652
654
|
uf as stateToError,
|
|
653
655
|
xf as stateToIsPass,
|
|
654
656
|
ts as stripCitationFrontmatter,
|
|
655
|
-
|
|
657
|
+
An as stripProseFromMermaid,
|
|
656
658
|
D as toApiStartEnd,
|
|
657
659
|
E as toDateRange,
|
|
658
660
|
M as toDateTimeRange,
|
|
659
661
|
ne as toDepartmentPathMaps,
|
|
660
662
|
Zi as toDisplayMessages,
|
|
661
|
-
|
|
663
|
+
Be as toPersonOptions,
|
|
662
664
|
ke as toPersonSelectOptions,
|
|
663
665
|
Ne as toReviewerPersonOptions,
|
|
664
666
|
G as touchLastActivity,
|
|
665
667
|
pr as treeToCascaderOptions,
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
668
|
+
_n as useAutoScrollToBottom,
|
|
669
|
+
yn as useChat,
|
|
670
|
+
wn as useChatSessions,
|
|
671
|
+
kn as useCitationPanel,
|
|
670
672
|
c as useFetchData,
|
|
671
673
|
df as useField,
|
|
672
674
|
Nm as useFilterDeps,
|
|
673
675
|
Um as useFilterFieldBridge,
|
|
674
|
-
|
|
675
|
-
|
|
676
|
+
wm as useFilterLayout,
|
|
677
|
+
Tm as useFilterLayoutMode,
|
|
676
678
|
Hm as useFilterRegister,
|
|
677
679
|
Vm as useFilterState,
|
|
678
680
|
cf as useFormApi,
|
|
679
681
|
Ff as useFormContext,
|
|
680
|
-
|
|
682
|
+
Un as useFullscreen,
|
|
681
683
|
Sf as useGroup,
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
684
|
+
Vn as useHorizontalScrollShadows,
|
|
685
|
+
zn as useKBDocuments,
|
|
686
|
+
Yn as useKnowledgeBase,
|
|
687
|
+
Xn as useMarsunAuth,
|
|
688
|
+
qn as useMarsunCore,
|
|
689
|
+
Zn as useMarsunFetch,
|
|
688
690
|
cp as usePageShell,
|
|
689
691
|
Fp as usePageShellLoading,
|
|
690
692
|
Xo as usePermissions,
|
|
691
693
|
qo as usePermissionsPass,
|
|
692
|
-
|
|
694
|
+
Jn as useReactFilter,
|
|
693
695
|
Cf as useReset,
|
|
694
|
-
|
|
696
|
+
$n as useSSECompletion,
|
|
695
697
|
Sl as useSearchParamsValue,
|
|
696
698
|
Pf as useSubmit,
|
|
697
|
-
|
|
699
|
+
tu as useTypewriter,
|
|
698
700
|
Pl as withFieldItem,
|
|
699
|
-
|
|
701
|
+
Il as withFilterValue,
|
|
702
|
+
Dn as withNormalizedLabelTips
|
|
700
703
|
};
|
|
701
704
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|