@pisell/materials 2.2.15 → 2.2.17

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.
@@ -35,7 +35,7 @@ module.exports = __toCommonJS(iconfont_exports);
35
35
  var import_icons = require("@ant-design/icons");
36
36
  var import_react = __toESM(require("react"));
37
37
  var MyIcon = (0, import_icons.createFromIconfontCN)({
38
- scriptUrl: "https://at.alicdn.com/t/c/font_4075221_cy8sszjz7t7.js"
38
+ scriptUrl: "https://unpkg.com/@pisell/materials@3.0.37/iconfont/iconfont.js"
39
39
  // 在 iconfont.cn 上生成
40
40
  });
41
41
  var IconFont = (props) => {
@@ -32,12 +32,27 @@ export interface PisellModalProps extends ModalProps {
32
32
  }
33
33
  declare const PisellModal: {
34
34
  (props: PisellModalProps): React.JSX.Element;
35
- confirm: (props: import("./components/functions").PisellModalFuncProps) => any;
36
- info: (props: import("./components/functions").PisellModalFuncProps) => any;
37
- error: (props: import("./components/functions").PisellModalFuncProps) => any;
35
+ confirm: (props: import("./components/functions").PisellModalFuncProps) => {
36
+ destroy: () => void;
37
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
38
+ };
39
+ info: (props: import("./components/functions").PisellModalFuncProps) => {
40
+ destroy: () => void;
41
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
42
+ };
43
+ error: (props: import("./components/functions").PisellModalFuncProps) => {
44
+ destroy: () => void;
45
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
46
+ };
38
47
  warn: (props: import("./components/functions").PisellModalFuncProps) => any;
39
- warning: (props: import("./components/functions").PisellModalFuncProps) => any;
40
- success: (props: import("./components/functions").PisellModalFuncProps) => any;
48
+ warning: (props: import("./components/functions").PisellModalFuncProps) => {
49
+ destroy: () => void;
50
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
51
+ };
52
+ success: (props: import("./components/functions").PisellModalFuncProps) => {
53
+ destroy: () => void;
54
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
55
+ };
41
56
  Information: (props: import("./components/Information").InformationProps) => React.JSX.Element;
42
57
  };
43
58
  export default PisellModal;
@@ -29,5 +29,4 @@
29
29
 
30
30
  .materials-grid-table-wrap {
31
31
  flex: 1;
32
- overflow: hidden;
33
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "2.2.15",
3
+ "version": "2.2.17",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -43,7 +43,8 @@
43
43
  "build",
44
44
  "lowcode",
45
45
  "dist",
46
- "antd"
46
+ "antd",
47
+ "iconfont"
47
48
  ],
48
49
  "dependencies": {
49
50
  "antd": "^5.6.3",
@@ -63,8 +64,8 @@
63
64
  "crypto-js": "^4.2.0",
64
65
  "@zxing/library": "0.21.2",
65
66
  "@pisell/icon": "0.0.11",
66
- "@pisell/utils": "1.0.28",
67
- "@pisell/date-picker": "1.0.96"
67
+ "@pisell/utils": "1.0.29",
68
+ "@pisell/date-picker": "1.0.98"
68
69
  },
69
70
  "peerDependencies": {
70
71
  "react": "^18.0.0",