bhd-components 0.7.35 → 0.7.36

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.
@@ -12,5 +12,6 @@ declare const BhdMessage: {
12
12
  useMessage: (...arg: any) => any;
13
13
  warning: (...arg: any) => any;
14
14
  _InternalPanelDoNotUseOrYouWillBeFired: (...arg: any) => any;
15
+ config: (config: import("antd/es/message/interface").ConfigOptions) => void;
15
16
  };
16
17
  export default BhdMessage;
@@ -3,9 +3,10 @@ import { _ as _object_spread_props } from "@swc/helpers/_/_object_spread_props";
3
3
  import { jsx as _jsx } from "@ice/jsx-runtime/jsx-runtime";
4
4
  import * as React from "react";
5
5
  import styles from "./index.module.less";
6
+ import { message as AntdMessage } from "antd";
6
7
  import { message } from "../bhdTipModal/modal";
7
8
  import { ExclamationCircleFilled } from "../icons/index";
8
- const BhdMessage = {
9
+ const BhdMessage = _object_spread_props(_object_spread({}, AntdMessage), {
9
10
  customSuccess: (config)=>{
10
11
  let className = styles.customSuccess;
11
12
  console.log("customSuccess", message);
@@ -54,5 +55,5 @@ const BhdMessage = {
54
55
  useMessage: (...arg)=>message.useMessage(...arg),
55
56
  warning: (...arg)=>message.warning(...arg),
56
57
  _InternalPanelDoNotUseOrYouWillBeFired: (...arg)=>message._InternalPanelDoNotUseOrYouWillBeFired(...arg)
57
- };
58
+ });
58
59
  export default BhdMessage;
@@ -12,5 +12,6 @@ declare const BhdMessage: {
12
12
  useMessage: (...arg: any) => any;
13
13
  warning: (...arg: any) => any;
14
14
  _InternalPanelDoNotUseOrYouWillBeFired: (...arg: any) => any;
15
+ config: (config: import("antd/es/message/interface").ConfigOptions) => void;
15
16
  };
16
17
  export default BhdMessage;
@@ -5,9 +5,10 @@ var _message, _message1, _message2, _message3, _message4, _message5, _message6,
5
5
  import { jsx as _jsx } from "@ice/jsx-runtime/jsx-runtime";
6
6
  import * as React from "react";
7
7
  import styles from "./index.module.less";
8
+ import { message as AntdMessage } from "antd";
8
9
  import { message } from "../bhdTipModal/modal";
9
10
  import { ExclamationCircleFilled } from "../icons/index";
10
- var BhdMessage = {
11
+ var BhdMessage = _object_spread_props(_object_spread({}, AntdMessage), {
11
12
  customSuccess: function(config) {
12
13
  var className = styles.customSuccess;
13
14
  console.log("customSuccess", message);
@@ -101,5 +102,5 @@ var BhdMessage = {
101
102
  }
102
103
  return (_message8 = message)._InternalPanelDoNotUseOrYouWillBeFired.apply(_message8, _to_consumable_array(arg));
103
104
  }
104
- };
105
+ });
105
106
  export default BhdMessage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bhd-components",
3
- "version": "0.7.35",
3
+ "version": "0.7.36",
4
4
  "description": "组件功能描述",
5
5
  "files": [
6
6
  "esm",