hfn-components 0.1.7 → 0.1.8

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.
@@ -55,6 +55,10 @@ export declare const HtChart: import("hfn-components/es/utils").SFCWithInstall<i
55
55
  readonly type: BooleanConstructor;
56
56
  readonly default: false;
57
57
  };
58
+ readonly lineColor: {
59
+ readonly type: import("vue").PropType<string[]>;
60
+ readonly default: readonly [];
61
+ };
58
62
  }, {
59
63
  props: import("@vue/shared").LooseRequired<{
60
64
  readonly chartData: any[];
@@ -71,6 +75,7 @@ export declare const HtChart: import("hfn-components/es/utils").SFCWithInstall<i
71
75
  readonly watchResize: boolean;
72
76
  readonly showLegend: boolean;
73
77
  readonly downLoadAutn: boolean;
78
+ readonly lineColor: string[];
74
79
  } & {}>;
75
80
  myChart: import("vue").ShallowRef<any>;
76
81
  isEmpty: import("vue").Ref<boolean>;
@@ -141,6 +146,10 @@ export declare const HtChart: import("hfn-components/es/utils").SFCWithInstall<i
141
146
  readonly type: BooleanConstructor;
142
147
  readonly default: false;
143
148
  };
149
+ readonly lineColor: {
150
+ readonly type: import("vue").PropType<string[]>;
151
+ readonly default: readonly [];
152
+ };
144
153
  }>>, {
145
154
  readonly chartData: any[];
146
155
  readonly chartId: string;
@@ -156,6 +165,7 @@ export declare const HtChart: import("hfn-components/es/utils").SFCWithInstall<i
156
165
  readonly watchResize: boolean;
157
166
  readonly showLegend: boolean;
158
167
  readonly downLoadAutn: boolean;
168
+ readonly lineColor: string[];
159
169
  }, {}>> & Record<string, any>;
160
170
  export default HtChart;
161
171
  export * from './src/HtChart';
@@ -57,5 +57,9 @@ export declare const chartProps: {
57
57
  readonly type: BooleanConstructor;
58
58
  readonly default: false;
59
59
  };
60
+ readonly lineColor: {
61
+ readonly type: PropType<string[]>;
62
+ readonly default: readonly [];
63
+ };
60
64
  };
61
65
  export type chartProp = ExtractPropTypes<typeof chartProps>;
@@ -76,6 +76,10 @@ const chartProps = {
76
76
  downLoadAutn: {
77
77
  type: Boolean,
78
78
  default: false
79
+ },
80
+ lineColor: {
81
+ type: Array,
82
+ default: []
79
83
  }
80
84
  };
81
85
 
@@ -62,6 +62,10 @@ declare const _default: import("vue").DefineComponent<{
62
62
  readonly type: BooleanConstructor;
63
63
  readonly default: false;
64
64
  };
65
+ readonly lineColor: {
66
+ readonly type: import("vue").PropType<string[]>;
67
+ readonly default: readonly [];
68
+ };
65
69
  }, {
66
70
  props: import("@vue/shared").LooseRequired<{
67
71
  readonly chartData: any[];
@@ -78,6 +82,7 @@ declare const _default: import("vue").DefineComponent<{
78
82
  readonly watchResize: boolean;
79
83
  readonly showLegend: boolean;
80
84
  readonly downLoadAutn: boolean;
85
+ readonly lineColor: string[];
81
86
  } & {}>;
82
87
  myChart: import("vue").ShallowRef<any>;
83
88
  isEmpty: Ref<boolean>;
@@ -148,6 +153,10 @@ declare const _default: import("vue").DefineComponent<{
148
153
  readonly type: BooleanConstructor;
149
154
  readonly default: false;
150
155
  };
156
+ readonly lineColor: {
157
+ readonly type: import("vue").PropType<string[]>;
158
+ readonly default: readonly [];
159
+ };
151
160
  }>>, {
152
161
  readonly chartData: any[];
153
162
  readonly chartId: string;
@@ -163,5 +172,6 @@ declare const _default: import("vue").DefineComponent<{
163
172
  readonly watchResize: boolean;
164
173
  readonly showLegend: boolean;
165
174
  readonly downLoadAutn: boolean;
175
+ readonly lineColor: string[];
166
176
  }, {}>;
167
177
  export default _default;
@@ -86,6 +86,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
86
86
  $setup.noData ? (openBlock(), createElementBlock("div", _hoisted_5, "\u6682\u65E0\u6570\u636E")) : createCommentVNode("v-if", true)
87
87
  ]);
88
88
  }
89
- var chart = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/zhanghang/Documents/project/component-library/packages/components/chart/src/HtChart.vue"]]);
89
+ var chart = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/libiluo/Desktop/company/component-library/packages/components/chart/src/HtChart.vue"]]);
90
90
 
91
91
  export { chart as default };
@@ -31,6 +31,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
31
31
  }
32
32
  );
33
33
  const drawGraph = () => {
34
+ echartOptions.color = props.lineColor;
34
35
  setEchartXAxis(echartOptions, props.chartType, props.xAxisData);
35
36
  setEchartYAxis(echartOptions, props);
36
37
  setEchartTooltip(echartOptions, props);
@@ -30,6 +30,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
30
30
  /* TEXT */
31
31
  ));
32
32
  }
33
- var ColumnDeal = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/zhanghang/Documents/project/component-library/packages/components/elTable/src/columnDeal.vue"]]);
33
+ var ColumnDeal = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/libiluo/Desktop/company/component-library/packages/components/elTable/src/columnDeal.vue"]]);
34
34
 
35
35
  export { ColumnDeal as default };
@@ -46,6 +46,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
46
46
  [$setup["vLoading"], $setup.props.loading]
47
47
  ]);
48
48
  }
49
- var elTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/zhanghang/Documents/project/component-library/packages/components/elTable/src/elTable.vue"]]);
49
+ var elTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/libiluo/Desktop/company/component-library/packages/components/elTable/src/elTable.vue"]]);
50
50
 
51
51
  export { elTable as default };
@@ -444,6 +444,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
444
444
  /* STABLE_FRAGMENT */
445
445
  );
446
446
  }
447
- var Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/zhanghang/Documents/project/component-library/packages/components/table/HtTable.vue"]]);
447
+ var Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/libiluo/Desktop/company/component-library/packages/components/table/HtTable.vue"]]);
448
448
 
449
449
  export { Table as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hfn-components",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "module": "es/index.mjs",