hfn-components 0.1.0 → 0.1.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.
Files changed (57) hide show
  1. package/dist/index.css +1 -0
  2. package/es/component.mjs +2 -0
  3. package/es/components/chart/index.d.ts +151 -0
  4. package/es/components/chart/index.mjs +7 -0
  5. package/es/components/chart/src/HtChart.d.ts +57 -0
  6. package/es/components/chart/src/HtChart.mjs +77 -0
  7. package/es/components/chart/src/HtChart.vue.d.ts +157 -0
  8. package/es/components/chart/src/HtChart.vue.mjs +91 -0
  9. package/es/components/chart/src/HtChart.vue2.mjs +94 -0
  10. package/es/components/chart/src/chartConfig.d.ts +7 -0
  11. package/es/components/chart/src/chartConfig.mjs +88 -0
  12. package/es/components/chart/style/index.d.ts +1 -0
  13. package/es/components/elTable/index.d.ts +84 -37
  14. package/es/components/elTable/index.mjs +1 -1
  15. package/es/components/elTable/src/columnDeal.vue.d.ts +27 -15
  16. package/es/components/elTable/src/columnDeal.vue.mjs +2 -2
  17. package/es/components/elTable/src/columnDeal.vue2.mjs +2 -4
  18. package/es/components/elTable/src/elTable.d.ts +14 -2
  19. package/es/components/elTable/src/elTable.mjs +11 -1
  20. package/es/components/elTable/src/elTable.vue.d.ts +84 -37
  21. package/es/components/elTable/src/elTable.vue.mjs +9 -3
  22. package/es/components/elTable/src/elTable.vue2.mjs +3 -3
  23. package/es/components/index.d.ts +1 -0
  24. package/es/components/index.mjs +3 -1
  25. package/es/components/table/HtTable.d.ts +1 -1
  26. package/es/components/table/HtTable.vue.d.ts +6 -6
  27. package/es/components/table/HtTable.vue.mjs +8 -2
  28. package/es/components/table/HtTable.vue2.mjs +11 -15
  29. package/es/components/table/index.d.ts +6 -6
  30. package/es/constants/table.d.ts +45 -2
  31. package/es/constants/table.mjs +4 -3
  32. package/es/css/index.css +59 -0
  33. package/es/index.mjs +3 -1
  34. package/es/utils/chart.d.ts +7 -0
  35. package/es/utils/chart.mjs +163 -0
  36. package/es/utils/common.d.ts +1 -1
  37. package/es/utils/index.d.ts +1 -0
  38. package/es/utils/index.mjs +1 -0
  39. package/es/utils/tool.mjs +1 -1
  40. package/global.d.ts +8 -9
  41. package/package.json +4 -2
  42. package/theme-chalk/ht-chart.css +1 -0
  43. package/theme-chalk/index.css +1 -0
  44. package/theme-chalk/src/chart.scss +53 -0
  45. package/theme-chalk/src/index.scss +1 -0
  46. package/es/components/button/HtButton.vue.d.ts +0 -19
  47. package/es/components/button/HtButton.vue.mjs +0 -16
  48. package/es/components/button/HtButton.vue2.mjs +0 -42
  49. package/es/components/button/index.d.ts +0 -20
  50. package/es/components/button/index.mjs +0 -6
  51. package/es/components/button/instance.d.ts +0 -2
  52. package/es/components/button/instance.mjs +0 -1
  53. package/es/components/eleTable/index.d.ts +0 -0
  54. package/es/components/eleTable/src/eleTable.d.ts +0 -0
  55. package/es/components/eleTable/src/eleTable.mjs +0 -1
  56. package/es/components/eleTable/src/eleTable.vue.mjs +0 -10
  57. /package/es/components/{eleTable → chart/style}/index.mjs +0 -0
@@ -0,0 +1,88 @@
1
+ import * as echarts from 'echarts/core';
2
+ export { echarts as default };
3
+ import { BarChart, LineChart } from 'echarts/charts';
4
+ import { TitleComponent, TooltipComponent, GridComponent, LegendComponent, DatasetComponent, TransformComponent } from 'echarts/components';
5
+ import { LabelLayout, UniversalTransition } from 'echarts/features';
6
+ import { CanvasRenderer } from 'echarts/renderers';
7
+
8
+ echarts.use([
9
+ TitleComponent,
10
+ TooltipComponent,
11
+ GridComponent,
12
+ LegendComponent,
13
+ DatasetComponent,
14
+ TransformComponent,
15
+ BarChart,
16
+ LineChart,
17
+ LabelLayout,
18
+ UniversalTransition,
19
+ CanvasRenderer
20
+ ]);
21
+ const BASIC_CHART_CONFIG = {
22
+ title: {
23
+ text: "",
24
+ // top: '5%',
25
+ left: "0%",
26
+ textStyle: {
27
+ fontSize: 12,
28
+ color: "rgba(0,0,0,0.7)",
29
+ fontWeight: "normal"
30
+ }
31
+ },
32
+ // 图例
33
+ legend: {
34
+ left: "0%",
35
+ show: false
36
+ },
37
+ xAxis: {},
38
+ yAxis: {},
39
+ grid: {
40
+ // top: '12%',
41
+ top: "8%",
42
+ left: "3%",
43
+ right: "3%",
44
+ bottom: "1%",
45
+ containLabel: true
46
+ },
47
+ // 线条颜色
48
+ color: [
49
+ "#C13431",
50
+ "#1E85D2",
51
+ "#FD984F",
52
+ "#63B9BB",
53
+ "#BBB162",
54
+ "#AE76C1",
55
+ "#5E92F6",
56
+ "#F5BC32",
57
+ "#DA8484",
58
+ "#41982E",
59
+ "#437095",
60
+ "#8060A7",
61
+ "#7D0A0D",
62
+ "#572AFF",
63
+ "#2BE8F8",
64
+ "#FF1493",
65
+ "#E066FF",
66
+ "#27408B",
67
+ "#5191A3",
68
+ "#D5634C",
69
+ "#92d6fd",
70
+ "#b92e2d",
71
+ "#187bc9",
72
+ "#90bae0",
73
+ "#187bc9",
74
+ "#0070C9",
75
+ "#5470c6",
76
+ "#91cc75",
77
+ "#fac858",
78
+ "#ee6666",
79
+ "#73c0de",
80
+ "#3ba272",
81
+ "#fc8452",
82
+ "#9a60b4",
83
+ "#ea7ccc"
84
+ ],
85
+ series: []
86
+ };
87
+
88
+ export { BASIC_CHART_CONFIG };
@@ -0,0 +1 @@
1
+ import 'hfn-components/es/theme-chalk/src/chart.scss';
@@ -13,9 +13,9 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
13
13
  };
14
14
  }, {
15
15
  props: import("@vue/shared").LooseRequired<{
16
+ readonly loading: boolean;
16
17
  readonly dataSource: unknown[];
17
18
  readonly tableColumn: import("./src/elTable").ElTableColumns[];
18
- readonly loading: boolean;
19
19
  } & {}>;
20
20
  readonly ElTable: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
21
21
  data: {
@@ -23,14 +23,14 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
23
23
  default: () => never[];
24
24
  };
25
25
  size: {
26
- readonly type: import("vue").PropType<import("element-plus").ButtonType<StringConstructor, "" | "small" | "default" | "large", never>>;
26
+ readonly type: import("vue").PropType<import("element-plus").ButtonType<StringConstructor, "" | "default" | "small" | "large", never>>;
27
27
  readonly required: false;
28
28
  readonly validator: ((val: unknown) => boolean) | undefined;
29
29
  __epPropKey: true;
30
30
  };
31
- width: (NumberConstructor | StringConstructor)[];
32
- height: (NumberConstructor | StringConstructor)[];
33
- maxHeight: (NumberConstructor | StringConstructor)[];
31
+ width: (StringConstructor | NumberConstructor)[];
32
+ height: (StringConstructor | NumberConstructor)[];
33
+ maxHeight: (StringConstructor | NumberConstructor)[];
34
34
  fit: {
35
35
  type: BooleanConstructor;
36
36
  default: boolean;
@@ -54,7 +54,7 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
54
54
  headerCellClassName: import("vue").PropType<import("element-plus").CellCls<any> | undefined>;
55
55
  headerCellStyle: import("vue").PropType<import("element-plus").CellStyle<any> | undefined>;
56
56
  highlightCurrentRow: BooleanConstructor;
57
- currentRowKey: (NumberConstructor | StringConstructor)[];
57
+ currentRowKey: (StringConstructor | NumberConstructor)[];
58
58
  emptyText: StringConstructor;
59
59
  expandRowKeys: import("vue").PropType<any[] | undefined>;
60
60
  defaultExpandAll: BooleanConstructor;
@@ -130,7 +130,7 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
130
130
  handleHeaderFooterMousewheel: (event: any, data: any) => void;
131
131
  handleMouseLeave: () => void;
132
132
  tableId: string;
133
- tableSize: import("vue").ComputedRef<"" | "small" | "default" | "large">;
133
+ tableSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
134
134
  isHidden: import("vue").Ref<boolean>;
135
135
  isEmpty: import("vue").ComputedRef<boolean>;
136
136
  renderExpanded: import("vue").Ref<null>;
@@ -201,14 +201,14 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
201
201
  default: () => never[];
202
202
  };
203
203
  size: {
204
- readonly type: import("vue").PropType<import("element-plus").ButtonType<StringConstructor, "" | "small" | "default" | "large", never>>;
204
+ readonly type: import("vue").PropType<import("element-plus").ButtonType<StringConstructor, "" | "default" | "small" | "large", never>>;
205
205
  readonly required: false;
206
206
  readonly validator: ((val: unknown) => boolean) | undefined;
207
207
  __epPropKey: true;
208
208
  };
209
- width: (NumberConstructor | StringConstructor)[];
210
- height: (NumberConstructor | StringConstructor)[];
211
- maxHeight: (NumberConstructor | StringConstructor)[];
209
+ width: (StringConstructor | NumberConstructor)[];
210
+ height: (StringConstructor | NumberConstructor)[];
211
+ maxHeight: (StringConstructor | NumberConstructor)[];
212
212
  fit: {
213
213
  type: BooleanConstructor;
214
214
  default: boolean;
@@ -232,7 +232,7 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
232
232
  headerCellClassName: import("vue").PropType<import("element-plus").CellCls<any> | undefined>;
233
233
  headerCellStyle: import("vue").PropType<import("element-plus").CellStyle<any> | undefined>;
234
234
  highlightCurrentRow: BooleanConstructor;
235
- currentRowKey: (NumberConstructor | StringConstructor)[];
235
+ currentRowKey: (StringConstructor | NumberConstructor)[];
236
236
  emptyText: StringConstructor;
237
237
  expandRowKeys: import("vue").PropType<any[] | undefined>;
238
238
  defaultExpandAll: BooleanConstructor;
@@ -335,11 +335,11 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
335
335
  property: StringConstructor;
336
336
  prop: StringConstructor;
337
337
  width: {
338
- type: (NumberConstructor | StringConstructor)[];
338
+ type: (StringConstructor | NumberConstructor)[];
339
339
  default: string;
340
340
  };
341
341
  minWidth: {
342
- type: (NumberConstructor | StringConstructor)[];
342
+ type: (StringConstructor | NumberConstructor)[];
343
343
  default: string;
344
344
  };
345
345
  renderHeader: import("vue").PropType<(data: {
@@ -397,11 +397,11 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
397
397
  property: StringConstructor;
398
398
  prop: StringConstructor;
399
399
  width: {
400
- type: (NumberConstructor | StringConstructor)[];
400
+ type: (StringConstructor | NumberConstructor)[];
401
401
  default: string;
402
402
  };
403
403
  minWidth: {
404
- type: (NumberConstructor | StringConstructor)[];
404
+ type: (StringConstructor | NumberConstructor)[];
405
405
  default: string;
406
406
  };
407
407
  renderHeader: import("vue").PropType<(data: {
@@ -471,11 +471,11 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
471
471
  property: StringConstructor;
472
472
  prop: StringConstructor;
473
473
  width: {
474
- type: (NumberConstructor | StringConstructor)[];
474
+ type: (StringConstructor | NumberConstructor)[];
475
475
  default: string;
476
476
  };
477
477
  minWidth: {
478
- type: (NumberConstructor | StringConstructor)[];
478
+ type: (StringConstructor | NumberConstructor)[];
479
479
  default: string;
480
480
  };
481
481
  renderHeader: import("vue").PropType<(data: {
@@ -533,11 +533,11 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
533
533
  property: StringConstructor;
534
534
  prop: StringConstructor;
535
535
  width: {
536
- type: (NumberConstructor | StringConstructor)[];
536
+ type: (StringConstructor | NumberConstructor)[];
537
537
  default: string;
538
538
  };
539
539
  minWidth: {
540
- type: (NumberConstructor | StringConstructor)[];
540
+ type: (StringConstructor | NumberConstructor)[];
541
541
  default: string;
542
542
  };
543
543
  renderHeader: import("vue").PropType<(data: {
@@ -596,29 +596,76 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
596
596
  filterMultiple: boolean;
597
597
  }, {}>>;
598
598
  readonly vLoading: import("vue").Directive<import("element-plus/es/components/loading/src/directive").ElementLoading, import("element-plus/es/components/loading/src/directive").LoadingBinding>;
599
+ readonly TABLE_KEY: {
600
+ readonly index: "序号";
601
+ readonly year: "年份";
602
+ readonly cucmulativeReturn: "区间收益";
603
+ readonly excessReturn: "超额区间收益";
604
+ readonly vol: "年化波动率";
605
+ readonly excessVol: "超额年化波动率";
606
+ readonly sharpeRatio: "夏普比率";
607
+ readonly excessSharpeRatio: "超额夏普比率";
608
+ readonly calmarRatio: "卡玛比率";
609
+ readonly excessCalmarRatio: "超额卡玛比率";
610
+ readonly sortinoRatio: "索提诺比率";
611
+ readonly excessSortinoRatio: "超额索提诺比率";
612
+ readonly downsideDev: "下行风险";
613
+ readonly excessDownsideDev: "超额下行风险";
614
+ readonly maxDrawdown: "最大回撤";
615
+ readonly excessMaxDrawdown: "超额最大回撤";
616
+ readonly maxDrawdownDays: "最大回撤回补期(天)";
617
+ readonly excessMaxDrawdownDays: "超额最大回撤回补期(天)";
618
+ readonly maxNormalDays: "最长连续不创新高天数(天)";
619
+ readonly excessMaxNormalDays: "超额最长连续不创新高天数(天)";
620
+ readonly '01': "1月";
621
+ readonly '02': "2月";
622
+ readonly '03': "3月";
623
+ readonly '04': "4月";
624
+ readonly '05': "5月";
625
+ readonly '06': "6月";
626
+ readonly '07': "7月";
627
+ readonly '08': "8月";
628
+ readonly '09': "9月";
629
+ readonly '10': "10月";
630
+ readonly '11': "11月";
631
+ readonly '12': "12月";
632
+ readonly MonthlyPositiveRatio: "月胜率";
633
+ readonly all_year: "全年";
634
+ };
599
635
  ColumnDeal: import("vue").DefineComponent<{
600
- dealType: {
601
- type: StringConstructor;
602
- required: true;
636
+ readonly dealType: {
637
+ readonly type: import("vue").PropType<"basicText4" | "colorText" | "colorPercentage" | "percentage" | "notProcessed">;
638
+ readonly default: "";
603
639
  };
604
- text: {
605
- type: (NumberConstructor | StringConstructor)[];
606
- required: true;
640
+ readonly text: {
641
+ readonly type: import("vue").PropType<string | number | undefined>;
642
+ readonly default: undefined;
607
643
  };
608
644
  }, {
609
- props: any;
610
- readonly CLOUMN_DEAL: Record<string, Function>;
645
+ props: import("@vue/shared").LooseRequired<{
646
+ readonly dealType: "basicText4" | "colorText" | "colorPercentage" | "percentage" | "notProcessed";
647
+ readonly text?: string | number | undefined;
648
+ } & {}>;
649
+ readonly CLOUMN_DEAL: {
650
+ basicText4: (val: string | number | undefined) => string;
651
+ colorText: (val: string | number | undefined) => string;
652
+ colorPercentage: (val: string | number | undefined) => string;
653
+ percentage: (val: string | number | undefined) => string;
654
+ notProcessed: null;
655
+ };
611
656
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
612
- dealType: {
613
- type: StringConstructor;
614
- required: true;
657
+ readonly dealType: {
658
+ readonly type: import("vue").PropType<"basicText4" | "colorText" | "colorPercentage" | "percentage" | "notProcessed">;
659
+ readonly default: "";
615
660
  };
616
- text: {
617
- type: (NumberConstructor | StringConstructor)[];
618
- required: true;
661
+ readonly text: {
662
+ readonly type: import("vue").PropType<string | number | undefined>;
663
+ readonly default: undefined;
619
664
  };
620
- }>>, {}, {}>;
621
- readonly TABLE_KEY: Record<string, string>;
665
+ }>>, {
666
+ readonly text: string | number | undefined;
667
+ readonly dealType: "basicText4" | "colorText" | "colorPercentage" | "percentage" | "notProcessed";
668
+ }, {}>;
622
669
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
623
670
  readonly dataSource: {
624
671
  readonly type: ArrayConstructor;
@@ -633,9 +680,9 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
633
680
  readonly default: false;
634
681
  };
635
682
  }>>, {
683
+ readonly loading: boolean;
636
684
  readonly dataSource: unknown[];
637
685
  readonly tableColumn: import("./src/elTable").ElTableColumns[];
638
- readonly loading: boolean;
639
686
  }, {}>> & Record<string, any>;
640
687
  export default HtElTable;
641
688
  export * from './src/elTable';
@@ -1,6 +1,6 @@
1
1
  import elTable from './src/elTable.vue.mjs';
2
2
  import { withInstall } from '../../utils/common.mjs';
3
- export { elTableProps } from './src/elTable.mjs';
3
+ export { columnDealProps, elTableProps } from './src/elTable.mjs';
4
4
 
5
5
  const HtElTable = withInstall(elTable);
6
6
 
@@ -1,23 +1,35 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
- dealType: {
3
- type: StringConstructor;
4
- required: true;
2
+ readonly dealType: {
3
+ readonly type: import("vue").PropType<"basicText4" | "colorText" | "colorPercentage" | "percentage" | "notProcessed">;
4
+ readonly default: "";
5
5
  };
6
- text: {
7
- type: (NumberConstructor | StringConstructor)[];
8
- required: true;
6
+ readonly text: {
7
+ readonly type: import("vue").PropType<string | number | undefined>;
8
+ readonly default: undefined;
9
9
  };
10
10
  }, {
11
- props: any;
12
- readonly CLOUMN_DEAL: Record<string, Function>;
11
+ props: import("@vue/shared").LooseRequired<{
12
+ readonly dealType: "basicText4" | "colorText" | "colorPercentage" | "percentage" | "notProcessed";
13
+ readonly text?: string | number | undefined;
14
+ } & {}>;
15
+ readonly CLOUMN_DEAL: {
16
+ basicText4: (val: string | number | undefined) => string;
17
+ colorText: (val: string | number | undefined) => string;
18
+ colorPercentage: (val: string | number | undefined) => string;
19
+ percentage: (val: string | number | undefined) => string;
20
+ notProcessed: null;
21
+ };
13
22
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
14
- dealType: {
15
- type: StringConstructor;
16
- required: true;
23
+ readonly dealType: {
24
+ readonly type: import("vue").PropType<"basicText4" | "colorText" | "colorPercentage" | "percentage" | "notProcessed">;
25
+ readonly default: "";
17
26
  };
18
- text: {
19
- type: (NumberConstructor | StringConstructor)[];
20
- required: true;
27
+ readonly text: {
28
+ readonly type: import("vue").PropType<string | number | undefined>;
29
+ readonly default: undefined;
21
30
  };
22
- }>>, {}, {}>;
31
+ }>>, {
32
+ readonly text: string | number | undefined;
33
+ readonly dealType: "basicText4" | "colorText" | "colorPercentage" | "percentage" | "notProcessed";
34
+ }, {}>;
23
35
  export default _default;
@@ -18,14 +18,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
18
18
  {
19
19
  style: normalizeStyle({ color: $setup.props.text > 0 ? "red" : $setup.props.text < 0 ? "green" : "" })
20
20
  },
21
- toDisplayString($setup.CLOUMN_DEAL[$setup.props.dealType]($setup.props.text)),
21
+ toDisplayString($setup.props.text !== void 0 ? $setup.CLOUMN_DEAL[$setup.props.dealType]($setup.props.text) : "-"),
22
22
  5
23
23
  /* TEXT, STYLE */
24
24
  )
25
25
  ])) : (openBlock(), createElementBlock(
26
26
  "div",
27
27
  _hoisted_3,
28
- toDisplayString($setup.CLOUMN_DEAL[$setup.props.dealType]($setup.props.text)),
28
+ toDisplayString($setup.props.text !== void 0 ? $setup.CLOUMN_DEAL[$setup.props.dealType]($setup.props.text) : "-"),
29
29
  1
30
30
  /* TEXT */
31
31
  ));
@@ -1,12 +1,10 @@
1
1
  import { defineComponent } from 'vue';
2
2
  import { CLOUMN_DEAL } from '../../../constants/table.mjs';
3
+ import { columnDealProps } from './elTable.mjs';
3
4
 
4
5
  var _sfc_main = /* @__PURE__ */ defineComponent({
5
6
  __name: "columnDeal",
6
- props: {
7
- dealType: { type: String, required: true },
8
- text: { type: [String, Number], required: true }
9
- },
7
+ props: columnDealProps,
10
8
  setup(__props, { expose: __expose }) {
11
9
  __expose();
12
10
  const props = __props;
@@ -1,7 +1,8 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
+ import type { clounmKyeType, dealKeyType } from 'hfn-components/es/constants';
2
3
  export interface ElTableColumns {
3
- key: string;
4
- dealType: string;
4
+ key: clounmKyeType;
5
+ dealType: dealKeyType;
5
6
  width: string | number;
6
7
  }
7
8
  export declare const elTableProps: {
@@ -18,4 +19,15 @@ export declare const elTableProps: {
18
19
  readonly default: false;
19
20
  };
20
21
  };
22
+ export declare const columnDealProps: {
23
+ readonly dealType: {
24
+ readonly type: PropType<"basicText4" | "colorText" | "colorPercentage" | "percentage" | "notProcessed">;
25
+ readonly default: "";
26
+ };
27
+ readonly text: {
28
+ readonly type: PropType<string | number | undefined>;
29
+ readonly default: undefined;
30
+ };
31
+ };
21
32
  export type ElTableProps = ExtractPropTypes<typeof elTableProps>;
33
+ export type ColumnDealProps = ExtractPropTypes<typeof columnDealProps>;
@@ -12,5 +12,15 @@ const elTableProps = {
12
12
  default: false
13
13
  }
14
14
  };
15
+ const columnDealProps = {
16
+ dealType: {
17
+ type: String,
18
+ default: ""
19
+ },
20
+ text: {
21
+ type: [String, Number],
22
+ default: void 0
23
+ }
24
+ };
15
25
 
16
- export { elTableProps };
26
+ export { columnDealProps, elTableProps };