@hkyhy/marsun-components-core 0.1.125 → 0.1.127
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/_virtual/index.js +5 -5
- package/dist/_virtual/index2.js +5 -5
- package/dist/components/Tools/Inbox/InboxBell/InboxBell.d.ts +5 -4
- package/dist/components/Tools/Inbox/InboxBell/InboxBell.js +346 -292
- package/dist/components/Tools/Inbox/InboxBell/InboxBell.js.map +1 -1
- package/dist/components/Tools/Inbox/InboxBell/inboxItemActions.d.ts +10 -4
- package/dist/components/Tools/Inbox/InboxBell/inboxItemActions.js +44 -46
- package/dist/components/Tools/Inbox/InboxBell/inboxItemActions.js.map +1 -1
- package/dist/components/Tools/Inbox/InboxBell/index.d.ts +1 -1
- package/dist/components/Tools/Inbox/InboxBell/style.module.scss.js +66 -58
- package/dist/components/Tools/Inbox/InboxBell/style.module.scss.js.map +1 -1
- package/dist/components/Tools/Inbox/index.d.ts +1 -1
- package/dist/components/Tools/index.d.ts +1 -1
- package/dist/index.js +74 -73
- package/dist/marsun-components-core.css +1 -1
- package/dist/node_modules/@antv/g-lite/dist/index.esm.js +1 -1
- package/dist/node_modules/@antv/g2/esm/data/kde.js +1 -1
- package/dist/node_modules/eventemitter3/index.js +1 -1
- package/dist/styles/global.css +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { InboxBell } from './InboxBell';
|
|
2
2
|
export type { InboxBellItem, InboxBellListResult, InboxBellListParams, InboxBellProps, InboxBellMessageType, InboxBellHandle, } from './InboxBell';
|
|
3
|
-
export { resolveInboxItemActions, filterInboxActionsForHost, normalizeInboxActions, inboxSceneLabel, isInboxButtonDriven, isTerminalActionStatus, } from './InboxBell';
|
|
3
|
+
export { resolveInboxItemActions, resolveInboxSceneKey, filterInboxActionsForHost, normalizeInboxActions, inboxSceneLabel, isInboxButtonDriven, isTerminalActionStatus, } from './InboxBell';
|
|
4
4
|
export type { InboxItemActionKind, InboxItemQuickAction, InboxItemActionsResolved, } from './InboxBell';
|
|
5
5
|
export { sanitizeInboxHtml } from './sanitizeInboxHtml';
|
|
6
6
|
export { INBOX_BADGE_REFRESH_EVENT, requestInboxBadgeRefresh, requestInboxBadgeRefreshAfterWrite, } from './requestInboxBadgeRefresh';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { InboxBell } from './Inbox';
|
|
2
2
|
export type { InboxBellItem, InboxBellListResult, InboxBellListParams, InboxBellProps, InboxBellMessageType, InboxBellHandle, InboxItemActionKind, InboxItemQuickAction, InboxItemActionsResolved, } from './Inbox';
|
|
3
|
-
export { resolveInboxItemActions, filterInboxActionsForHost, normalizeInboxActions, inboxSceneLabel, isInboxButtonDriven, isTerminalActionStatus, } from './Inbox';
|
|
3
|
+
export { resolveInboxItemActions, resolveInboxSceneKey, filterInboxActionsForHost, normalizeInboxActions, inboxSceneLabel, isInboxButtonDriven, isTerminalActionStatus, } from './Inbox';
|
|
4
4
|
export { INBOX_BADGE_REFRESH_EVENT, requestInboxBadgeRefresh, requestInboxBadgeRefreshAfterWrite, } from './Inbox';
|
|
5
5
|
export { ActionTrackingShell } from './ActionTracking';
|
|
6
6
|
export type { ActionTrackingShellProps } from './ActionTracking';
|
package/dist/index.js
CHANGED
|
@@ -314,33 +314,33 @@ import { downloadFileItem as Yx, getFileDownloadAuthHeaders as Wx, getFileDownlo
|
|
|
314
314
|
import { emptyTablePrefs as qx } from "./components/Table/tablePrefsTypes.js";
|
|
315
315
|
import { extractCitations as Qx, formatSessionTime as Jx, getSessionDisplayName as $x, isWelcomeOnlyMessages as ec, parseSessionMessages as tc, toDisplayMessages as rc } from "./components/AgentHub/Chat/utils/sessionMessages.js";
|
|
316
316
|
import { fetchAuthedArrayBuffer as ac, fetchAuthedObjectUrl as lc, fetchWithMarsunAuth as sc, needsAuthFetch as fc } from "./components/File/utils/authedFetch.js";
|
|
317
|
-
import { filterInboxActionsForHost as pc, inboxSceneLabel as ic, isInboxButtonDriven as nc, isTerminalActionStatus as dc, normalizeInboxActions as uc, resolveInboxItemActions as xc } from "./components/Tools/Inbox/InboxBell/inboxItemActions.js";
|
|
318
|
-
import { default as
|
|
319
|
-
import { formatLlmTextToHtml as
|
|
320
|
-
import { getFileExtension as
|
|
321
|
-
import { getTargetByTourId as
|
|
322
|
-
import { hasCitationMarkers as
|
|
323
|
-
import { hasPermission as
|
|
324
|
-
import { kneToMarsun as
|
|
325
|
-
import { modalClassNames as
|
|
326
|
-
import { normalizeLabelTips as
|
|
327
|
-
import { resolveMessageAdminPermissions as
|
|
328
|
-
import { sanitizeInboxHtml as
|
|
329
|
-
import { sanitizeMermaidChart as
|
|
330
|
-
import { useAutoScrollToBottom as
|
|
331
|
-
import { useChat as
|
|
332
|
-
import { useChatSessions as
|
|
333
|
-
import { useCitationPanel as
|
|
334
|
-
import { useConfirmModal as
|
|
335
|
-
import { useFullscreen as
|
|
336
|
-
import { useHorizontalScrollShadows as
|
|
337
|
-
import { useKBDocuments as
|
|
338
|
-
import { useKnowledgeBase as
|
|
339
|
-
import { useMarsunAuth as
|
|
340
|
-
import { useMsgCenterAppKey as
|
|
341
|
-
import { useContext as
|
|
342
|
-
import { useSSECompletion as
|
|
343
|
-
import { useTypewriter as
|
|
317
|
+
import { filterInboxActionsForHost as pc, inboxSceneLabel as ic, isInboxButtonDriven as nc, isTerminalActionStatus as dc, normalizeInboxActions as uc, resolveInboxItemActions as xc, resolveInboxSceneKey as cc } from "./components/Tools/Inbox/InboxBell/inboxItemActions.js";
|
|
318
|
+
import { default as Cc, multiSelectInterceptor as Fc, singleSelectInterceptor as Tc } from "./components/ReactFilter/filterInterceptors.js";
|
|
319
|
+
import { formatLlmTextToHtml as Pc, parseLlmText as gc } from "./components/LlmFormattedText/parseLlmText.js";
|
|
320
|
+
import { getFileExtension as Ec, getFileIcon as Rc, getFileTypeName as hc, normalizeExtension as Lc, normalizeFileDisplayItem as Mc, parseFileNameFromUrl as Dc } from "./components/File/fileDisplay.js";
|
|
321
|
+
import { getTargetByTourId as bc, resolveTourTarget as yc } from "./components/Tour/resolveTourTarget.js";
|
|
322
|
+
import { hasCitationMarkers as Bc, normalizeAssistantMarkdown as wc, normalizeDisplayText as vc, parseAssistantContent as Nc } from "./components/AgentHub/Chat/utils/messageContent.js";
|
|
323
|
+
import { hasPermission as kc } from "./components/Auth/hasPermission.js";
|
|
324
|
+
import { kneToMarsun as Hc, kneValueLabel as Kc, marsunToKne as Gc, marsunValueLabel as zc, mergeKneLabelMaps as Yc } from "./components/Filter/kneValueAdapter.js";
|
|
325
|
+
import { modalClassNames as Xc } from "./components/ReactModal/modalClassNames.js";
|
|
326
|
+
import { normalizeLabelTips as qc, withNormalizedLabelTips as jc } from "./components/Form/normalizeLabelTips.js";
|
|
327
|
+
import { resolveMessageAdminPermissions as Jc } from "./components/Tools/MessageCenter/MessageTemplateAdmin/types.js";
|
|
328
|
+
import { sanitizeInboxHtml as eS } from "./components/Tools/Inbox/sanitizeInboxHtml.js";
|
|
329
|
+
import { sanitizeMermaidChart as rS, stripProseFromMermaid as oS } from "./components/AgentHub/Chat/utils/sanitizeMermaidChart.js";
|
|
330
|
+
import { useAutoScrollToBottom as lS } from "./components/AgentHub/Chat/hooks/useAutoScrollToBottom.js";
|
|
331
|
+
import { useChat as fS } from "./components/AgentHub/Chat/hooks/useChat.js";
|
|
332
|
+
import { useChatSessions as pS } from "./components/AgentHub/Chat/hooks/useChatSessions.js";
|
|
333
|
+
import { useCitationPanel as nS } from "./components/AgentHub/Chat/hooks/useCitationPanel.js";
|
|
334
|
+
import { useConfirmModal as uS } from "./components/ReactModal/useConfirmModal.js";
|
|
335
|
+
import { useFullscreen as cS } from "./components/Layout/FullscreenBox/useFullscreen.js";
|
|
336
|
+
import { useHorizontalScrollShadows as CS } from "./components/Filter/useHorizontalScrollShadows.js";
|
|
337
|
+
import { useKBDocuments as TS } from "./components/AgentHub/KnowledgeBase/hooks/useKBDocuments.js";
|
|
338
|
+
import { useKnowledgeBase as PS } from "./components/AgentHub/KnowledgeBase/hooks/useKnowledgeBase.js";
|
|
339
|
+
import { useMarsunAuth as IS, useMarsunCore as ES, useMarsunFetch as RS } from "./provider/context.js";
|
|
340
|
+
import { useMsgCenterAppKey as LS } from "./components/Tools/MessageCenter/useMsgCenterAppKey.js";
|
|
341
|
+
import { useContext as DS } from "./components/ReactFilter/context.js";
|
|
342
|
+
import { useSSECompletion as bS } from "./components/AgentHub/Chat/hooks/useSSECompletion.js";
|
|
343
|
+
import { useTypewriter as OS } from "./components/AgentHub/Chat/hooks/useTypewriter.js";
|
|
344
344
|
export {
|
|
345
345
|
Je as ActionFilterBar,
|
|
346
346
|
et as ActionFollowModal,
|
|
@@ -744,7 +744,7 @@ export {
|
|
|
744
744
|
x as fetchWithTimeout,
|
|
745
745
|
Ei as filterEmpty,
|
|
746
746
|
pc as filterInboxActionsForHost,
|
|
747
|
-
|
|
747
|
+
Cc as filterInterceptors,
|
|
748
748
|
Mn as filterMsgCenterSwitchableApps,
|
|
749
749
|
Nn as filterVariableFeed,
|
|
750
750
|
Ce as findDepartmentRootId,
|
|
@@ -760,7 +760,7 @@ export {
|
|
|
760
760
|
E as formatDateTimeDisplay,
|
|
761
761
|
Mx as formatDispositionTriggerText,
|
|
762
762
|
A as formatFileSize,
|
|
763
|
-
|
|
763
|
+
Pc as formatLlmTextToHtml,
|
|
764
764
|
ye as formatPersonValueLabel,
|
|
765
765
|
y as formatPickerValue,
|
|
766
766
|
Jx as formatSessionTime,
|
|
@@ -772,9 +772,9 @@ export {
|
|
|
772
772
|
Dx as getDispositionAlertLevel,
|
|
773
773
|
Wx as getFileDownloadAuthHeaders,
|
|
774
774
|
Xx as getFileDownloadUrl,
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
775
|
+
Ec as getFileExtension,
|
|
776
|
+
Rc as getFileIcon,
|
|
777
|
+
hc as getFileTypeName,
|
|
778
778
|
of as getFilterValue,
|
|
779
779
|
Y as getLastActivityTime,
|
|
780
780
|
Dn as getMsgCenterAppKey,
|
|
@@ -784,9 +784,9 @@ export {
|
|
|
784
784
|
$x as getSessionDisplayName,
|
|
785
785
|
Q as getStoredPermissionMap,
|
|
786
786
|
J as getStoredUserPermissions,
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
787
|
+
bc as getTargetByTourId,
|
|
788
|
+
Bc as hasCitationMarkers,
|
|
789
|
+
kc as hasPermission,
|
|
790
790
|
Pm as hideColumnAtPath,
|
|
791
791
|
ic as inboxSceneLabel,
|
|
792
792
|
tm as injectCitationMarkdownLinks,
|
|
@@ -808,43 +808,43 @@ export {
|
|
|
808
808
|
Me as isValidEmployeeIdFormat,
|
|
809
809
|
O as isValidPickerValue,
|
|
810
810
|
ec as isWelcomeOnlyMessages,
|
|
811
|
-
|
|
812
|
-
|
|
811
|
+
Hc as kneToMarsun,
|
|
812
|
+
Kc as kneValueLabel,
|
|
813
813
|
lx as labelOfAction,
|
|
814
814
|
$ as loadPermissionDefinitions,
|
|
815
815
|
ee as loadUserRolePermissions,
|
|
816
|
-
|
|
817
|
-
|
|
816
|
+
Gc as marsunToKne,
|
|
817
|
+
zc as marsunValueLabel,
|
|
818
818
|
_i as matchFields,
|
|
819
819
|
Oe as matchPersonOptionSearch,
|
|
820
820
|
de as mergeDepartmentPathMaps,
|
|
821
|
-
|
|
821
|
+
Yc as mergeKneLabelMaps,
|
|
822
822
|
dx as mergeTablePrefs,
|
|
823
|
-
|
|
823
|
+
Xc as modalClassNames,
|
|
824
824
|
_n as msgCenterAppKeyFromSystemAppCode,
|
|
825
|
-
|
|
825
|
+
Fc as multiSelectInterceptor,
|
|
826
826
|
fc as needsAuthFetch,
|
|
827
827
|
Ox as normalizeActionFilters,
|
|
828
828
|
qu as normalizeActionList,
|
|
829
|
-
|
|
829
|
+
wc as normalizeAssistantMarkdown,
|
|
830
830
|
rm as normalizeCitation,
|
|
831
831
|
gx as normalizeDependsOn,
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
832
|
+
vc as normalizeDisplayText,
|
|
833
|
+
Lc as normalizeExtension,
|
|
834
|
+
Mc as normalizeFileDisplayItem,
|
|
835
835
|
ux as normalizeHiddenRowKeys,
|
|
836
836
|
uc as normalizeInboxActions,
|
|
837
|
-
|
|
837
|
+
qc as normalizeLabelTips,
|
|
838
838
|
Un as normalizeMentionHtmlToVarTokens,
|
|
839
839
|
Be as normalizePersonDtos,
|
|
840
840
|
we as normalizeRawPersonList,
|
|
841
841
|
Tx as normalizeTemplatePlaceholders,
|
|
842
842
|
Sd as pagedSuperSelectGetSearchProps,
|
|
843
843
|
Cd as pagedSuperSelectPagination,
|
|
844
|
-
|
|
844
|
+
Nc as parseAssistantContent,
|
|
845
845
|
om as parseCitationLinkHref,
|
|
846
|
-
|
|
847
|
-
|
|
846
|
+
Dc as parseFileNameFromUrl,
|
|
847
|
+
gc as parseLlmText,
|
|
848
848
|
B as parsePickerValue,
|
|
849
849
|
tc as parseSessionMessages,
|
|
850
850
|
xx as parseTablePrefs,
|
|
@@ -866,29 +866,30 @@ export {
|
|
|
866
866
|
Ex as resolveFilterVisible,
|
|
867
867
|
Rx as resolveHidden,
|
|
868
868
|
xc as resolveInboxItemActions,
|
|
869
|
+
cc as resolveInboxSceneKey,
|
|
869
870
|
C as resolveMaybeFn,
|
|
870
|
-
|
|
871
|
+
Jc as resolveMessageAdminPermissions,
|
|
871
872
|
Pn as resolveModalSizeAnchor,
|
|
872
873
|
gn as resolveModalWidth,
|
|
873
874
|
bn as resolveMsgCenterSwitchState,
|
|
874
875
|
ve as resolvePersonDepartmentName,
|
|
875
876
|
H as resolveRedirectUrl,
|
|
876
877
|
Ne as resolveSelectPersonOption,
|
|
877
|
-
|
|
878
|
+
yc as resolveTourTarget,
|
|
878
879
|
F as resolveVisible,
|
|
879
|
-
|
|
880
|
+
eS as sanitizeActionHtml,
|
|
880
881
|
sm as sanitizeCitationHtml,
|
|
881
|
-
|
|
882
|
+
rS as sanitizeMermaidChart,
|
|
882
883
|
te as savePermissionDefinitions,
|
|
883
884
|
re as saveUserRolePermissions,
|
|
884
885
|
cx as serializeTablePrefs,
|
|
885
886
|
Rm as setColumnWidthAtPath,
|
|
886
887
|
yn as setMsgCenterAppKey,
|
|
887
|
-
|
|
888
|
+
Tc as singleSelectInterceptor,
|
|
888
889
|
yi as stateToError,
|
|
889
890
|
Oi as stateToIsPass,
|
|
890
891
|
fm as stripCitationFrontmatter,
|
|
891
|
-
|
|
892
|
+
oS as stripProseFromMermaid,
|
|
892
893
|
On as subscribeMsgCenterAppKey,
|
|
893
894
|
M as toApiStartEnd,
|
|
894
895
|
D as toDateRange,
|
|
@@ -903,11 +904,11 @@ export {
|
|
|
903
904
|
W as touchLastActivity,
|
|
904
905
|
$r as treeToCascaderOptions,
|
|
905
906
|
Gn as upliftVarTokensToMentions,
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
907
|
+
lS as useAutoScrollToBottom,
|
|
908
|
+
fS as useChat,
|
|
909
|
+
pS as useChatSessions,
|
|
910
|
+
nS as useCitationPanel,
|
|
911
|
+
uS as useConfirmModal,
|
|
911
912
|
yp as useDrawer,
|
|
912
913
|
c as useFetchData,
|
|
913
914
|
Bi as useField,
|
|
@@ -920,32 +921,32 @@ export {
|
|
|
920
921
|
ff as useFlexBox,
|
|
921
922
|
wi as useFormApi,
|
|
922
923
|
vi as useFormContext,
|
|
923
|
-
|
|
924
|
+
cS as useFullscreen,
|
|
924
925
|
Ni as useGroup,
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
926
|
+
CS as useHorizontalScrollShadows,
|
|
927
|
+
TS as useKBDocuments,
|
|
928
|
+
PS as useKnowledgeBase,
|
|
929
|
+
IS as useMarsunAuth,
|
|
930
|
+
ES as useMarsunCore,
|
|
931
|
+
RS as useMarsunFetch,
|
|
931
932
|
Ml as useModal,
|
|
932
|
-
|
|
933
|
+
LS as useMsgCenterAppKey,
|
|
933
934
|
Ad as usePageShell,
|
|
934
935
|
Pd as usePageShellLoading,
|
|
935
936
|
rl as usePermissions,
|
|
936
937
|
ol as usePermissionsPass,
|
|
937
|
-
|
|
938
|
+
DS as useReactFilter,
|
|
938
939
|
Vi as useReset,
|
|
939
|
-
|
|
940
|
+
bS as useSSECompletion,
|
|
940
941
|
pf as useSearchParamsValue,
|
|
941
942
|
ki as useSubmit,
|
|
942
|
-
|
|
943
|
+
OS as useTypewriter,
|
|
943
944
|
ex as validateCreateActionPersons,
|
|
944
945
|
Nd as validateRangeAsc,
|
|
945
946
|
Hx as waterfallChartData,
|
|
946
947
|
df as withFieldItem,
|
|
947
948
|
xf as withFilterValue,
|
|
948
|
-
|
|
949
|
+
jc as withNormalizedLabelTips,
|
|
949
950
|
zn as wrapVarTokensForDisplay
|
|
950
951
|
};
|
|
951
952
|
//# sourceMappingURL=index.js.map
|