hfn-components 0.5.2 → 0.5.4
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.
- package/dist/index.css +1 -1
- package/es/components/chart/src/HtChart.vue.mjs +1 -1
- package/es/components/elTable/index.d.ts +2 -2
- package/es/components/elTable/src/columnDeal.vue.mjs +1 -1
- package/es/components/elTable/src/elTable.vue.d.ts +2 -2
- package/es/components/elTable/src/elTable.vue.mjs +1 -1
- package/es/components/htTarget/src/htTarget.vue.mjs +6 -3
- package/es/components/pieChart/src/HtPieChart.vue.mjs +1 -1
- package/es/components/table/HtTable.vue.d.ts +2 -2
- package/es/components/table/HtTable.vue.mjs +1 -1
- package/es/components/table/index.d.ts +2 -2
- package/es/css/index.css +59 -0
- package/package.json +1 -1
- package/theme-chalk/ht-target.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/target.scss +13 -0
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.echart-box{display:flex;flex-direction:column;height:100%;position:relative;width:100%}.echart-content{flex:auto}.echart-lenged{box-sizing:border-box;display:flex;flex-wrap:wrap;font-size:12px;height:auto;margin-top:6px;padding-right:22px;position:relative;width:100%;z-index:999}.bg-span{height:2px;width:14px}.bg-span,.bg-span-bar{display:inline-block;margin-right:6px}.bg-span-bar{border-radius:2px;height:10px;width:16px}.span-box{cursor:pointer;margin-left:5px;margin-right:6px}.noData,.span-box{align-items:center;display:flex}.noData{bottom:0;color:#ccc;font-size:16px;justify-content:center;position:absolute}._100,.noData{height:100%;width:100%}.dialog{padding:24px!important;width:860px!important}.factor-content{display:flex;flex-direction:column;flex-wrap:wrap;height:380px;width:100%}.factor_item{
|
|
1
|
+
.echart-box{display:flex;flex-direction:column;height:100%;position:relative;width:100%}.echart-content{flex:auto}.echart-lenged{box-sizing:border-box;display:flex;flex-wrap:wrap;font-size:12px;height:auto;margin-top:6px;padding-right:22px;position:relative;width:100%;z-index:999}.bg-span{height:2px;width:14px}.bg-span,.bg-span-bar{display:inline-block;margin-right:6px}.bg-span-bar{border-radius:2px;height:10px;width:16px}.span-box{cursor:pointer;margin-left:5px;margin-right:6px}.noData,.span-box{align-items:center;display:flex}.noData{bottom:0;color:#ccc;font-size:16px;justify-content:center;position:absolute}._100,.noData{height:100%;width:100%}.dialog{padding:24px!important;width:860px!important}.factor-content{display:flex;flex-direction:column;flex-wrap:wrap;height:380px;width:100%}.factor_item{width:33.33%}.check_item,.factor_item{display:flex;margin-bottom:10px}.check_item{justify-content:space-between}.flex-alignCnter{align-items:center;cursor:pointer;display:flex}.target-head{display:grid;grid:auto/repeat(5,1fr)}.flow-col{border-left:1px solid #e8e8e8;height:520px;overflow-y:auto;padding-left:10px}
|
|
@@ -85,6 +85,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
85
85
|
$setup.noData ? (openBlock(), createElementBlock("div", _hoisted_5, "\u6682\u65E0\u6570\u636E")) : createCommentVNode("v-if", true)
|
|
86
86
|
]);
|
|
87
87
|
}
|
|
88
|
-
var chart = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/
|
|
88
|
+
var chart = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/zhanghang/Documents/project/component-library/packages/components/chart/src/HtChart.vue"]]);
|
|
89
89
|
|
|
90
90
|
export { chart as default };
|
|
@@ -21,9 +21,9 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
|
|
|
21
21
|
key: string;
|
|
22
22
|
}[]>;
|
|
23
23
|
props: import("@vue/shared").LooseRequired<{
|
|
24
|
-
readonly loading: boolean;
|
|
25
24
|
readonly dataSource: unknown[];
|
|
26
25
|
readonly tableColumn: import("./src/elTable").ElTableColumns[];
|
|
26
|
+
readonly loading: boolean;
|
|
27
27
|
readonly headerColor: string;
|
|
28
28
|
} & {}>;
|
|
29
29
|
readonly ElTable: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
@@ -797,9 +797,9 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
|
|
|
797
797
|
readonly default: "#f0f0f0";
|
|
798
798
|
};
|
|
799
799
|
}>>, {
|
|
800
|
-
readonly loading: boolean;
|
|
801
800
|
readonly dataSource: unknown[];
|
|
802
801
|
readonly tableColumn: import("./src/elTable").ElTableColumns[];
|
|
802
|
+
readonly loading: boolean;
|
|
803
803
|
readonly headerColor: string;
|
|
804
804
|
}, {}>> & Record<string, any>;
|
|
805
805
|
export default HtElTable;
|
|
@@ -37,6 +37,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37
37
|
/* TEXT */
|
|
38
38
|
));
|
|
39
39
|
}
|
|
40
|
-
var ColumnDeal = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/
|
|
40
|
+
var ColumnDeal = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/zhanghang/Documents/project/component-library/packages/components/elTable/src/columnDeal.vue"]]);
|
|
41
41
|
|
|
42
42
|
export { ColumnDeal as default };
|
|
@@ -21,9 +21,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
21
|
key: string;
|
|
22
22
|
}[]>;
|
|
23
23
|
props: import("@vue/shared").LooseRequired<{
|
|
24
|
-
readonly loading: boolean;
|
|
25
24
|
readonly dataSource: unknown[];
|
|
26
25
|
readonly tableColumn: import("./elTable").ElTableColumns[];
|
|
26
|
+
readonly loading: boolean;
|
|
27
27
|
readonly headerColor: string;
|
|
28
28
|
} & {}>;
|
|
29
29
|
readonly ElTable: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
@@ -797,9 +797,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
797
797
|
readonly default: "#f0f0f0";
|
|
798
798
|
};
|
|
799
799
|
}>>, {
|
|
800
|
-
readonly loading: boolean;
|
|
801
800
|
readonly dataSource: unknown[];
|
|
802
801
|
readonly tableColumn: import("./elTable").ElTableColumns[];
|
|
802
|
+
readonly loading: boolean;
|
|
803
803
|
readonly headerColor: string;
|
|
804
804
|
}, {}>;
|
|
805
805
|
export default _default;
|
|
@@ -103,6 +103,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
103
103
|
[$setup["vLoading"], $setup.props.loading]
|
|
104
104
|
]);
|
|
105
105
|
}
|
|
106
|
-
var elTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/
|
|
106
|
+
var elTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/zhanghang/Documents/project/component-library/packages/components/elTable/src/elTable.vue"]]);
|
|
107
107
|
|
|
108
108
|
export { elTable as default };
|
|
@@ -91,7 +91,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
91
91
|
modelValue: $setup.selectedHead,
|
|
92
92
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $setup.selectedHead = $event),
|
|
93
93
|
onChange: $setup.headChange,
|
|
94
|
-
|
|
94
|
+
class: "target-head"
|
|
95
95
|
}, {
|
|
96
96
|
default: withCtx(() => [
|
|
97
97
|
(openBlock(true), createElementBlock(
|
|
@@ -191,7 +191,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
191
191
|
_: 1
|
|
192
192
|
/* STABLE */
|
|
193
193
|
}),
|
|
194
|
-
createVNode($setup["ElCol"], {
|
|
194
|
+
createVNode($setup["ElCol"], {
|
|
195
|
+
span: 6,
|
|
196
|
+
class: "flow-col"
|
|
197
|
+
}, {
|
|
195
198
|
default: withCtx(() => [
|
|
196
199
|
(openBlock(true), createElementBlock(
|
|
197
200
|
Fragment,
|
|
@@ -231,6 +234,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
231
234
|
}, 8, ["modelValue"])
|
|
232
235
|
]);
|
|
233
236
|
}
|
|
234
|
-
var htTarget = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/
|
|
237
|
+
var htTarget = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/zhanghang/Documents/project/component-library/packages/components/htTarget/src/htTarget.vue"]]);
|
|
235
238
|
|
|
236
239
|
export { htTarget as default };
|
|
@@ -56,6 +56,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
56
56
|
$setup.noData ? (openBlock(), createElementBlock("div", _hoisted_5, "\u6682\u65E0\u6570\u636E")) : createCommentVNode("v-if", true)
|
|
57
57
|
]);
|
|
58
58
|
}
|
|
59
|
-
var htPieChart = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/
|
|
59
|
+
var htPieChart = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/zhanghang/Documents/project/component-library/packages/components/pieChart/src/HtPieChart.vue"]]);
|
|
60
60
|
|
|
61
61
|
export { htPieChart as default };
|
|
@@ -108,11 +108,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
108
108
|
};
|
|
109
109
|
}, {
|
|
110
110
|
props: import("@vue/shared").LooseRequired<{
|
|
111
|
+
readonly dataSource: unknown[];
|
|
111
112
|
readonly loading: boolean;
|
|
112
113
|
readonly pageSize: number;
|
|
113
114
|
readonly total: number;
|
|
114
115
|
readonly columns: TableColumns[];
|
|
115
|
-
readonly dataSource: unknown[];
|
|
116
116
|
readonly selectedKeys: (string | number)[];
|
|
117
117
|
readonly actions: import("./HtTable").ActionItem[];
|
|
118
118
|
readonly nowPage: number;
|
|
@@ -1817,11 +1817,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1817
1817
|
onHandleSelectAll?: ((...args: any[]) => any) | undefined;
|
|
1818
1818
|
onResizeColumn?: ((...args: any[]) => any) | undefined;
|
|
1819
1819
|
}, {
|
|
1820
|
+
readonly dataSource: unknown[];
|
|
1820
1821
|
readonly loading: boolean;
|
|
1821
1822
|
readonly pageSize: number;
|
|
1822
1823
|
readonly total: number;
|
|
1823
1824
|
readonly columns: TableColumns[];
|
|
1824
|
-
readonly dataSource: unknown[];
|
|
1825
1825
|
readonly selectedKeys: (string | number)[];
|
|
1826
1826
|
readonly actions: import("./HtTable").ActionItem[];
|
|
1827
1827
|
readonly nowPage: number;
|
|
@@ -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/
|
|
447
|
+
var Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/zhanghang/Documents/project/component-library/packages/components/table/HtTable.vue"]]);
|
|
448
448
|
|
|
449
449
|
export { Table as default };
|
|
@@ -105,11 +105,11 @@ export declare const HtTable: import("hfn-components/es/utils").SFCWithInstall<i
|
|
|
105
105
|
};
|
|
106
106
|
}, {
|
|
107
107
|
props: import("@vue/shared").LooseRequired<{
|
|
108
|
+
readonly dataSource: unknown[];
|
|
108
109
|
readonly loading: boolean;
|
|
109
110
|
readonly pageSize: number;
|
|
110
111
|
readonly total: number;
|
|
111
112
|
readonly columns: import("./HtTable").TableColumns[];
|
|
112
|
-
readonly dataSource: unknown[];
|
|
113
113
|
readonly selectedKeys: (string | number)[];
|
|
114
114
|
readonly actions: import("./HtTable").ActionItem[];
|
|
115
115
|
readonly nowPage: number;
|
|
@@ -1814,11 +1814,11 @@ export declare const HtTable: import("hfn-components/es/utils").SFCWithInstall<i
|
|
|
1814
1814
|
onHandleSelectAll?: ((...args: any[]) => any) | undefined;
|
|
1815
1815
|
onResizeColumn?: ((...args: any[]) => any) | undefined;
|
|
1816
1816
|
}, {
|
|
1817
|
+
readonly dataSource: unknown[];
|
|
1817
1818
|
readonly loading: boolean;
|
|
1818
1819
|
readonly pageSize: number;
|
|
1819
1820
|
readonly total: number;
|
|
1820
1821
|
readonly columns: import("./HtTable").TableColumns[];
|
|
1821
|
-
readonly dataSource: unknown[];
|
|
1822
1822
|
readonly selectedKeys: (string | number)[];
|
|
1823
1823
|
readonly actions: import("./HtTable").ActionItem[];
|
|
1824
1824
|
readonly nowPage: number;
|
package/es/css/index.css
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
.echart-box {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
position: relative;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.echart-content {
|
|
10
|
+
flex: auto;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.echart-lenged {
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: auto;
|
|
16
|
+
margin-top: 6px;
|
|
17
|
+
padding-right: 22px;
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-wrap: wrap;
|
|
21
|
+
font-size: 12px;
|
|
22
|
+
position: relative;
|
|
23
|
+
z-index: 999;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.bg-span {
|
|
27
|
+
display: inline-block;
|
|
28
|
+
width: 14px;
|
|
29
|
+
height: 2px;
|
|
30
|
+
margin-right: 6px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.bg-span-bar {
|
|
34
|
+
display: inline-block;
|
|
35
|
+
width: 16px;
|
|
36
|
+
height: 10px;
|
|
37
|
+
border-radius: 2px;
|
|
38
|
+
margin-right: 6px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.span-box {
|
|
42
|
+
margin-left: 5px;
|
|
43
|
+
margin-right: 6px;
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.noData {
|
|
50
|
+
width: 100%;
|
|
51
|
+
height: 100%;
|
|
52
|
+
font-size: 16px;
|
|
53
|
+
display: flex;
|
|
54
|
+
justify-content: center;
|
|
55
|
+
align-items: center;
|
|
56
|
+
position: absolute;
|
|
57
|
+
bottom: 0px;
|
|
58
|
+
color: #ccc;
|
|
59
|
+
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.dialog{padding:24px!important;width:860px!important}.factor-content{display:flex;flex-direction:column;flex-wrap:wrap;height:380px;width:100%}.factor_item{
|
|
1
|
+
.dialog{padding:24px!important;width:860px!important}.factor-content{display:flex;flex-direction:column;flex-wrap:wrap;height:380px;width:100%}.factor_item{width:33.33%}.check_item,.factor_item{display:flex;margin-bottom:10px}.check_item{justify-content:space-between}.flex-alignCnter{align-items:center;cursor:pointer;display:flex}.target-head{display:grid;grid:auto/repeat(5,1fr)}.flow-col{border-left:1px solid #e8e8e8;height:520px;overflow-y:auto;padding-left:10px}
|
package/theme-chalk/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.echart-box{display:flex;flex-direction:column;height:100%;position:relative;width:100%}.echart-content{flex:auto}.echart-lenged{box-sizing:border-box;display:flex;flex-wrap:wrap;font-size:12px;height:auto;margin-top:6px;padding-right:22px;position:relative;width:100%;z-index:999}.bg-span{height:2px;width:14px}.bg-span,.bg-span-bar{display:inline-block;margin-right:6px}.bg-span-bar{border-radius:2px;height:10px;width:16px}.span-box{cursor:pointer;margin-left:5px;margin-right:6px}.noData,.span-box{align-items:center;display:flex}.noData{bottom:0;color:#ccc;font-size:16px;justify-content:center;position:absolute}._100,.noData{height:100%;width:100%}.dialog{padding:24px!important;width:860px!important}.factor-content{display:flex;flex-direction:column;flex-wrap:wrap;height:380px;width:100%}.factor_item{
|
|
1
|
+
.echart-box{display:flex;flex-direction:column;height:100%;position:relative;width:100%}.echart-content{flex:auto}.echart-lenged{box-sizing:border-box;display:flex;flex-wrap:wrap;font-size:12px;height:auto;margin-top:6px;padding-right:22px;position:relative;width:100%;z-index:999}.bg-span{height:2px;width:14px}.bg-span,.bg-span-bar{display:inline-block;margin-right:6px}.bg-span-bar{border-radius:2px;height:10px;width:16px}.span-box{cursor:pointer;margin-left:5px;margin-right:6px}.noData,.span-box{align-items:center;display:flex}.noData{bottom:0;color:#ccc;font-size:16px;justify-content:center;position:absolute}._100,.noData{height:100%;width:100%}.dialog{padding:24px!important;width:860px!important}.factor-content{display:flex;flex-direction:column;flex-wrap:wrap;height:380px;width:100%}.factor_item{width:33.33%}.check_item,.factor_item{display:flex;margin-bottom:10px}.check_item{justify-content:space-between}.flex-alignCnter{align-items:center;cursor:pointer;display:flex}.target-head{display:grid;grid:auto/repeat(5,1fr)}.flow-col{border-left:1px solid #e8e8e8;height:520px;overflow-y:auto;padding-left:10px}
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
.check_item {
|
|
18
18
|
display: flex;
|
|
19
19
|
justify-content: space-between;
|
|
20
|
+
margin-bottom: 10px;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
.flex-alignCnter {
|
|
@@ -24,3 +25,15 @@
|
|
|
24
25
|
align-items: center;
|
|
25
26
|
cursor: pointer;
|
|
26
27
|
}
|
|
28
|
+
|
|
29
|
+
.target-head {
|
|
30
|
+
display: grid;
|
|
31
|
+
grid: auto / repeat(5, 1fr)
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.flow-col {
|
|
35
|
+
height: 520px;
|
|
36
|
+
overflow-y: auto;
|
|
37
|
+
border-left: 1px solid #e8e8e8;
|
|
38
|
+
padding-left: 10px;
|
|
39
|
+
}
|