@hkyhy/marsun-components-core 0.1.125 → 0.1.126

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.
@@ -1,8 +1,8 @@
1
- import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
2
- import { __require as o } from "../node_modules/pdfast/src/index.js";
3
- var t = o();
4
- const s = /* @__PURE__ */ r(t);
1
+ import { getDefaultExportFromCjs as t } from "./_commonjsHelpers.js";
2
+ import { __require as e } from "../node_modules/eventemitter3/index2.js";
3
+ var r = e();
4
+ const i = /* @__PURE__ */ t(r);
5
5
  export {
6
- s as default
6
+ i as default
7
7
  };
8
8
  //# sourceMappingURL=index.js.map
@@ -1,8 +1,8 @@
1
- import { getDefaultExportFromCjs as t } from "./_commonjsHelpers.js";
2
- import { __require as e } from "../node_modules/eventemitter3/index2.js";
3
- var r = e();
4
- const i = /* @__PURE__ */ t(r);
1
+ import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
2
+ import { __require as o } from "../node_modules/pdfast/src/index.js";
3
+ var t = o();
4
+ const s = /* @__PURE__ */ r(t);
5
5
  export {
6
- i as default
6
+ s as default
7
7
  };
8
8
  //# sourceMappingURL=index2.js.map
@@ -36,7 +36,8 @@ export type InboxBellItem = {
36
36
  month?: string;
37
37
  };
38
38
  export type InboxBellListResult = {
39
- itemList: InboxBellItem[];
39
+ /** 分页列表(Marsun list-api 唯一数组名) */
40
+ pageData: InboxBellItem[];
40
41
  total?: number;
41
42
  unreadTotal?: number;
42
43
  unreadByMessageType?: Partial<Record<string, number>>;
@@ -78,8 +79,8 @@ export type InboxBellProps = {
78
79
  /** 返回当前 JWT;空则不开 SSE */
79
80
  getAccessToken?: () => string | null | undefined;
80
81
  /**
81
- * 卡片底栏动作(认领/去执行等)。不传则底栏按钮一律走 onNavigate / href。
82
- * 业务仓拦截 claim_alert / start_action / create_task。
82
+ * 卡片底栏动作(认领/去执行/查看等)。不传则底栏按钮一律走 onNavigate / href。
83
+ * 业务仓拦截 claim_alert / start_action;铃铛不解析新建任务。
83
84
  */
84
85
  onItemAction?: (kind: InboxItemActionKind, item: InboxBellItem) => void | Promise<void>;
85
86
  };
@@ -95,5 +96,5 @@ declare const InboxBell: import('react').ForwardRefExoticComponent<InboxBellProp
95
96
  export default InboxBell;
96
97
  export { DEFAULT_INBOX_TOAST_PREFS, loadInboxToastPrefs, saveInboxToastPrefs, shouldToastForMessageType, } from './toastPrefs';
97
98
  export type { InboxToastPrefs } from './toastPrefs';
98
- export { resolveInboxItemActions, filterInboxActionsForHost, normalizeInboxActions, inboxSceneLabel, isInboxButtonDriven, isTerminalActionStatus, } from './inboxItemActions';
99
+ export { resolveInboxItemActions, resolveInboxSceneKey, filterInboxActionsForHost, normalizeInboxActions, inboxSceneLabel, isInboxButtonDriven, isTerminalActionStatus, } from './inboxItemActions';
99
100
  export type { InboxItemActionKind, InboxItemQuickAction, InboxItemActionsResolved, } from './inboxItemActions';