hfn-components 0.3.1 → 0.3.2

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.
@@ -717,7 +717,7 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
717
717
  };
718
718
  readonly dealFunction: {
719
719
  readonly type: FunctionConstructor;
720
- readonly default: () => () => void;
720
+ readonly default: () => void;
721
721
  };
722
722
  readonly row: {
723
723
  readonly type: ObjectConstructor;
@@ -748,7 +748,7 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
748
748
  };
749
749
  readonly dealFunction: {
750
750
  readonly type: FunctionConstructor;
751
- readonly default: () => () => void;
751
+ readonly default: () => void;
752
752
  };
753
753
  readonly row: {
754
754
  readonly type: ObjectConstructor;
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<{
9
9
  };
10
10
  readonly dealFunction: {
11
11
  readonly type: FunctionConstructor;
12
- readonly default: () => () => void;
12
+ readonly default: () => void;
13
13
  };
14
14
  readonly row: {
15
15
  readonly type: ObjectConstructor;
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<{
40
40
  };
41
41
  readonly dealFunction: {
42
42
  readonly type: FunctionConstructor;
43
- readonly default: () => () => void;
43
+ readonly default: () => void;
44
44
  };
45
45
  readonly row: {
46
46
  readonly type: ObjectConstructor;
@@ -25,7 +25,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
25
25
  )
26
26
  ])) : _ctx.dealType === "customDeal" ? (openBlock(), createElementBlock("div", {
27
27
  key: 2,
28
- innerHTML: _ctx.dealFunction(_ctx.row)()
28
+ innerHTML: _ctx.dealFunction(_ctx.row, _ctx.text)
29
29
  }, null, 8, _hoisted_3)) : (openBlock(), createElementBlock(
30
30
  "div",
31
31
  _hoisted_4,
@@ -36,7 +36,7 @@ export declare const columnDealProps: {
36
36
  };
37
37
  readonly dealFunction: {
38
38
  readonly type: FunctionConstructor;
39
- readonly default: () => () => void;
39
+ readonly default: () => void;
40
40
  };
41
41
  readonly row: {
42
42
  readonly type: ObjectConstructor;
@@ -27,7 +27,7 @@ const columnDealProps = {
27
27
  },
28
28
  dealFunction: {
29
29
  type: Function,
30
- default: () => () => {
30
+ default: () => {
31
31
  }
32
32
  },
33
33
  row: {
@@ -717,7 +717,7 @@ declare const _default: import("vue").DefineComponent<{
717
717
  };
718
718
  readonly dealFunction: {
719
719
  readonly type: FunctionConstructor;
720
- readonly default: () => () => void;
720
+ readonly default: () => void;
721
721
  };
722
722
  readonly row: {
723
723
  readonly type: ObjectConstructor;
@@ -748,7 +748,7 @@ declare const _default: import("vue").DefineComponent<{
748
748
  };
749
749
  readonly dealFunction: {
750
750
  readonly type: FunctionConstructor;
751
- readonly default: () => () => void;
751
+ readonly default: () => void;
752
752
  };
753
753
  readonly row: {
754
754
  readonly type: ObjectConstructor;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hfn-components",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "module": "es/index.mjs",