@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/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 I } from "./utils/format.js";
8
- import { formatDateTimeDisplay as g, recentDayRange as R, recentDayRangeStrings as h, 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 y } from "./utils/pickerDate.js";
10
- import { REDIRECT_URL_PARAM as v, buildAbsoluteLocationRedirectUrl as B, buildLocationRedirectUrl as w, buildLoginPath as k, readRedirectUrlFromSearch as N, resolveRedirectUrl as U } from "./utils/authRedirect.js";
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 Te, EMPLOYEE_ID_MAX_LENGTH as ge, EMPLOYEE_ID_PATTERN as Re, EMPLOYEE_ID_SIX_DIGIT_PATTERN as he, 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 ye, normalizeRawPersonList as be, resolvePersonDepartmentName as ve, resolveSelectPersonOption as Be, toPersonOptions as we, toPersonSelectOptions as ke, toReviewerPersonOptions as Ne } from "./utils/personOption.js";
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 It } from "./components/AgentHub/Chat/Detail/ChatPanel/index.js";
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 ht } from "./components/AgentHub/Chat/Detail/ChatWidgetBlock/index.js";
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 yt } from "./components/AgentHub/Chat/Detail/CitationPanel/index.js";
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 wt } from "./components/Filter/CommonFilter/index.js";
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 Tr } from "./components/ReactFilter/FilterLines.js";
64
- import { default as Rr } from "./components/Filter/FilterList/index.js";
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 br } from "./components/Filter/FilterSelect/index.js";
70
- import { default as Br } from "./components/Filter/FilterSelectAddress/index.js";
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 To } from "./components/AgentHub/Chat/Detail/MermaidBlock/index.js";
90
- import { default as Ro } from "./components/AgentHub/Chat/Detail/MessageActions/index.js";
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 bo } from "./components/OrgTree/OrgTree.js";
96
- import { default as Bo } from "./components/Layout/PageHeaderLayout/index.js";
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 Ia } from "./components/AgentHub/Report/Detail/ReportTemplate/index.js";
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 ha } from "./components/AgentHub/Report/Detail/ReportWorkspace/index.js";
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 ba } from "./components/AgentHub/Chat/List/SessionSidebar/index.js";
121
- import { default as Ba } from "./components/Sparkline/Sparkline/index.js";
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 Tl } from "./components/ReactFilter/withFilterValue.js";
142
- import { ArrowLeft as Rl } from "./components/Icons/ArrowLeft.js";
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 bl } from "./components/Icons/Bot.js";
148
- import { CHUNK_METHOD_OPTIONS as Bl, EMBEDDING_MODEL_OPTIONS as wl, PARSE_STATUS_CONFIG as kl } from "./components/AgentHub/KnowledgeBase/constants/types.js";
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 Is, ResetButton as Ts, Select as gs, SubmitButton as Rs, Switch as hs, TableList as Ls, TextArea as Ds, TreeSelect as Es } from "./components/Form/kneFormInfo.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 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 bs } from "./components/Icons/ChevronLeft.js";
155
- import { ChevronRight as Bs } from "./components/Icons/ChevronRight.js";
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 Im } from "./components/Filter/useFilterLayoutMode.js";
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 hm } from "./components/Icons/FileArchive.js";
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 ym } from "./components/Icons/FileText.js";
181
- import { FilterLayoutProvider as vm, useFilterLayout as Bm } from "./components/Filter/FilterLayoutContext.js";
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 Tf } from "./components/Icons/Hash.js";
189
- import { House as Rf } from "./components/Icons/House.js";
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 yf } from "./components/Icons/Info.js";
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 wf } from "./components/Icons/LayoutGrid.js";
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 Ip } from "./components/Icons/PanelLeftOpen.js";
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 hp } from "./components/Icons/Pencil.js";
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 yp } from "./components/Icons/RotateCw.js";
215
+ import { RotateCw as bp } from "./components/Icons/RotateCw.js";
216
216
  import { SelectCascader as vp } from "@kne/super-select";
217
- import { default as wp } from "./components/ReactFilter/fields/SelectTreeFilterItem.js";
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 Ii, animateScrollTo as Ti, getScrollBottom as gi } from "./components/AgentHub/Chat/utils/smoothScroll.js";
237
- import { applyHiddenRows as hi, 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 yi, resolveFilterVisible as bi, resolveHidden as vi } from "./components/Filter/types.js";
239
- import { createIcon as wi } from "./components/Icons/createIcon.js";
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 In, marsunToKne as Tn, marsunValueLabel as gn, mergeKneLabelMaps as Rn } from "./components/Filter/kneValueAdapter.js";
249
- import { sanitizeMermaidChart as Ln, stripProseFromMermaid as Dn } from "./components/AgentHub/Chat/utils/sanitizeMermaidChart.js";
250
- import { useAutoScrollToBottom as Mn } from "./components/AgentHub/Chat/hooks/useAutoScrollToBottom.js";
251
- import { useChat as On } from "./components/AgentHub/Chat/hooks/useChat.js";
252
- import { useChatSessions as yn } from "./components/AgentHub/Chat/hooks/useChatSessions.js";
253
- import { useCitationPanel as vn } from "./components/AgentHub/Chat/hooks/useCitationPanel.js";
254
- import { useFullscreen as wn } from "./components/Layout/FullscreenBox/useFullscreen.js";
255
- import { useHorizontalScrollShadows as Nn } from "./components/Filter/useHorizontalScrollShadows.js";
256
- import { useKBDocuments as Hn } from "./components/AgentHub/KnowledgeBase/hooks/useKBDocuments.js";
257
- import { useKnowledgeBase as Kn } from "./components/AgentHub/KnowledgeBase/hooks/useKnowledgeBase.js";
258
- import { useMarsunAuth as Gn, useMarsunCore as Yn, useMarsunFetch as Wn } from "./provider/context.js";
259
- import { useContext as qn } from "./components/ReactFilter/context.js";
260
- import { useSSECompletion as jn } from "./components/AgentHub/Chat/hooks/useSSECompletion.js";
261
- import { useTypewriter as Qn } from "./components/AgentHub/Chat/hooks/useTypewriter.js";
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
- Rl as ArrowLeft,
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
- bl as Bot,
275
- Bl as CHUNK_METHOD_OPTIONS,
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
- It as ChatPanel,
290
+ Tt as ChatPanel,
290
291
  gt as ChatSuggestionRow,
291
- ht as ChatWidgetBlock,
292
+ Rt as ChatWidgetBlock,
292
293
  As as Check,
293
294
  _s as ChevronDown,
294
- bs as ChevronLeft,
295
- Bs as ChevronRight,
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
- yt as CitationPanel,
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
- wt as CommonFilter,
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
- wl as EMBEDDING_MODEL_OPTIONS,
324
- Te as EMPLOYEE_ID_FORMAT_MESSAGE,
324
+ Bl as EMBEDDING_MODEL_OPTIONS,
325
+ Ie as EMPLOYEE_ID_FORMAT_MESSAGE,
325
326
  ge as EMPLOYEE_ID_MAX_LENGTH,
326
- Re as EMPLOYEE_ID_PATTERN,
327
- he as EMPLOYEE_ID_SIX_DIGIT_PATTERN,
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
- hm as FileArchive,
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
- ym as FileText,
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
- Tr as FilterLines,
356
- Rr as FilterList,
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
- br as FilterSelect,
363
- Br as FilterSelectAddress,
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
- Tf as Hash,
386
- Rf as House,
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
- yf as Info,
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
- wf as LayoutGrid,
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
- To as MermaidBlock,
414
- Ro as MessageActions,
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
- bo as OrgTree,
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
- Bo as PageHeaderLayout,
430
+ wo as PageHeaderLayout,
430
431
  dp as PageShellProvider,
431
432
  ko as PageSpin,
432
433
  Cp as PanelLeftClose,
433
- Ip as PanelLeftOpen,
434
+ Tp as PanelLeftOpen,
434
435
  Uo as ParseStatusTag,
435
436
  gp as Pause,
436
- hp as Pencil,
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
- Is as RadioGroup,
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
- Ia as ReportTemplate,
461
+ Ta as ReportTemplate,
461
462
  ga as ReportVersionList,
462
- ha as ReportWorkspace,
463
- Ts as ResetButton,
464
- yp as RotateCw,
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
- wp as SelectTreeFilterItem,
475
+ Bp as SelectTreeFilterItem,
475
476
  Aa as SemanticTag,
476
477
  Np as Send,
477
478
  _a as SessionActionButtons,
478
- ba as SessionSidebar,
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
- Ba as Sparkline,
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
- Rs as SubmitButton,
493
+ hs as SubmitButton,
493
494
  up as SuperSelectFilterItem,
494
- hs as Switch,
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
- Ii as animateScrollFromTopToBottom,
519
- Ti as animateScrollTo,
519
+ Ti as animateScrollFromTopToBottom,
520
+ Ii as animateScrollTo,
520
521
  ls as applyColumnConfig,
521
522
  s as applyCssTokenOverrides,
522
- hi as applyHiddenRows,
523
+ Ri as applyHiddenRows,
523
524
  m as applyThemeToCssVariables,
524
- B as buildAbsoluteLocationRedirectUrl,
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
- w as buildLocationRedirectUrl,
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
- wi as createIcon,
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
- I as formatFileSize,
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
- In as kneValueLabel,
601
+ Tn as kneValueLabel,
601
602
  J as loadPermissionDefinitions,
602
603
  Q as loadUserRolePermissions,
603
- Tn as marsunToKne,
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
- Rn as mergeKneLabelMaps,
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
- ye as normalizePersonDtos,
619
- be as normalizeRawPersonList,
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
- y as parsePickerValue,
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
- R as recentDayRange,
633
- h as recentDayRangeStrings,
634
+ h as recentDayRange,
635
+ R as recentDayRangeStrings,
634
636
  L as recentYearRange,
635
637
  $l as resolveCitationTitle,
636
- yi as resolveFilterLabel,
637
- bi as resolveFilterVisible,
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
- Be as resolveSelectPersonOption,
646
+ we as resolveSelectPersonOption,
645
647
  C as resolveVisible,
646
648
  es as sanitizeCitationHtml,
647
- Ln as sanitizeMermaidChart,
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
- Dn as stripProseFromMermaid,
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
- we as toPersonOptions,
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
- Mn as useAutoScrollToBottom,
667
- On as useChat,
668
- yn as useChatSessions,
669
- vn as useCitationPanel,
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
- Bm as useFilterLayout,
675
- Im as useFilterLayoutMode,
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
- wn as useFullscreen,
682
+ Un as useFullscreen,
681
683
  Sf as useGroup,
682
- Nn as useHorizontalScrollShadows,
683
- Hn as useKBDocuments,
684
- Kn as useKnowledgeBase,
685
- Gn as useMarsunAuth,
686
- Yn as useMarsunCore,
687
- Wn as useMarsunFetch,
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
- qn as useReactFilter,
694
+ Jn as useReactFilter,
693
695
  Cf as useReset,
694
- jn as useSSECompletion,
696
+ $n as useSSECompletion,
695
697
  Sl as useSearchParamsValue,
696
698
  Pf as useSubmit,
697
- Qn as useTypewriter,
699
+ tu as useTypewriter,
698
700
  Pl as withFieldItem,
699
- Tl as withFilterValue
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}