sun-card-design 1.1.38 → 1.1.40
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/README.md +6 -1
- package/dist/mobile/sun-card-design-mobile.es11.js +3 -3
- package/dist/mobile/sun-card-design-mobile.es3.js +4 -4
- package/dist/mobile/sun-card-design-mobile.es4.js +5 -5
- package/dist/mobile/sun-card-design-mobile.es56.js +3 -4
- package/dist/mobile/sun-card-design-mobile.es6.js +2 -10
- package/dist/mobile/sun-card-design-mobile.es61.js +98 -0
- package/dist/mobile/sun-card-design-mobile.es62.js +98 -0
- package/dist/pc/sun-card-design-pc.es11.js +3 -3
- package/dist/pc/sun-card-design-pc.es3.js +4 -4
- package/dist/pc/sun-card-design-pc.es4.js +5 -5
- package/dist/pc/sun-card-design-pc.es56.js +3 -4
- package/dist/pc/sun-card-design-pc.es6.js +2 -10
- package/dist/public/sun-card-design.css +1 -1
- package/package.json +98 -96
package/README.md
CHANGED
|
@@ -22,10 +22,10 @@ const _sfc_main = {
|
|
|
22
22
|
style: normalizeStyle({ padding: `${props.record.options?.style?.tbPadding || 0}px ${props.record.options?.style?.lrPadding || 0}px` })
|
|
23
23
|
}, [
|
|
24
24
|
createVNode(_component_a_tag, {
|
|
25
|
-
color: props.record.options.style.
|
|
25
|
+
color: props.record.options.style.background,
|
|
26
26
|
style: normalizeStyle({
|
|
27
27
|
color: props.record.options.style.color,
|
|
28
|
-
fontSize: props.record.options.style.
|
|
28
|
+
fontSize: props.record.options.style.fontSize + "px"
|
|
29
29
|
}),
|
|
30
30
|
onClick
|
|
31
31
|
}, {
|
|
@@ -39,7 +39,7 @@ const _sfc_main = {
|
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
|
-
const Tag = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
42
|
+
const Tag = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6bc73f7b"]]);
|
|
43
43
|
export {
|
|
44
44
|
Tag as default
|
|
45
45
|
};
|
|
@@ -25,7 +25,7 @@ const _sfc_main = {
|
|
|
25
25
|
"center": "center",
|
|
26
26
|
"right": "flex-end"
|
|
27
27
|
};
|
|
28
|
-
return obj[props.record.options.style.
|
|
28
|
+
return obj[props.record.options.style.textAlign];
|
|
29
29
|
};
|
|
30
30
|
return (_ctx, _cache) => {
|
|
31
31
|
return openBlock(), createElementBlock("div", {
|
|
@@ -40,7 +40,7 @@ const _sfc_main = {
|
|
|
40
40
|
width: formatPx(props.record.options.hasLineStyle?.width, 5),
|
|
41
41
|
height: formatPx(
|
|
42
42
|
props.record.options.hasLineStyle?.height,
|
|
43
|
-
props.record.options.style.
|
|
43
|
+
props.record.options.style.fontSize ?? 16
|
|
44
44
|
),
|
|
45
45
|
borderRadius: formatPx(props.record.options.hasLineStyle?.borderRadius, 1),
|
|
46
46
|
marginRight: formatPx(props.record.options.hasLineStyle?.marginRight, 6)
|
|
@@ -49,7 +49,7 @@ const _sfc_main = {
|
|
|
49
49
|
createElementVNode("div", {
|
|
50
50
|
style: normalizeStyle({
|
|
51
51
|
fontWeight: "500",
|
|
52
|
-
fontSize: props.record.options.style.
|
|
52
|
+
fontSize: props.record.options.style.fontSize + "px",
|
|
53
53
|
color: props.record.options.style.color
|
|
54
54
|
})
|
|
55
55
|
}, toDisplayString(unref(renderTextByVariables)(props.record.options.defaultValue, props.columnsIndex)), 5)
|
|
@@ -57,7 +57,7 @@ const _sfc_main = {
|
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
|
-
const Title = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
60
|
+
const Title = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1093ec93"]]);
|
|
61
61
|
export {
|
|
62
62
|
Title as default
|
|
63
63
|
};
|
|
@@ -51,7 +51,7 @@ const _sfc_main = {
|
|
|
51
51
|
width: formatPx(props.record.options.hasLineStyle?.width, 4),
|
|
52
52
|
height: formatPx(
|
|
53
53
|
props.record.options.hasLineStyle?.height,
|
|
54
|
-
props.record.options.style.
|
|
54
|
+
props.record.options.style.fontSize + "px" || "14px"
|
|
55
55
|
),
|
|
56
56
|
borderRadius: formatPx(props.record.options.hasLineStyle?.borderRadius, 2),
|
|
57
57
|
marginRight: formatPx(props.record.options.hasLineStyle?.marginRight, 6)
|
|
@@ -59,10 +59,10 @@ const _sfc_main = {
|
|
|
59
59
|
}, null, 4)) : createCommentVNode("", true),
|
|
60
60
|
createElementVNode("div", {
|
|
61
61
|
style: normalizeStyle({
|
|
62
|
-
color: props.record.options.style.
|
|
63
|
-
fontSize: props.record.options.style.
|
|
62
|
+
color: props.record.options.style.color,
|
|
63
|
+
fontSize: props.record.options.style.fontSize + "px",
|
|
64
64
|
textAlign: props.record.options.style.textAlign,
|
|
65
|
-
textDecoration: props.record.options.style.
|
|
65
|
+
textDecoration: props.record.options.style.textDecoration,
|
|
66
66
|
textIndent: props.record.options.style.textIndent + "em"
|
|
67
67
|
}),
|
|
68
68
|
onClick
|
|
@@ -74,7 +74,7 @@ const _sfc_main = {
|
|
|
74
74
|
};
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
const Text = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
77
|
+
const Text = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1705860f"]]);
|
|
78
78
|
export {
|
|
79
79
|
Text as default
|
|
80
80
|
};
|
|
@@ -29,12 +29,11 @@ const _sfc_main = {
|
|
|
29
29
|
});
|
|
30
30
|
const iconStyle = computed(() => {
|
|
31
31
|
const color = props?.record?.options?.style?.color || "#000000";
|
|
32
|
-
const
|
|
33
|
-
const map = { left: "flex-start", center: "center", right: "flex-end" };
|
|
32
|
+
const justifyContent = props?.record?.options?.style?.justifyContent || "flex-start";
|
|
34
33
|
return {
|
|
35
34
|
color,
|
|
36
35
|
display: "flex",
|
|
37
|
-
justifyContent
|
|
36
|
+
justifyContent,
|
|
38
37
|
alignItems: "center",
|
|
39
38
|
width: "100%"
|
|
40
39
|
};
|
|
@@ -59,7 +58,7 @@ const _sfc_main = {
|
|
|
59
58
|
};
|
|
60
59
|
}
|
|
61
60
|
};
|
|
62
|
-
const SunIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
61
|
+
const SunIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4b920fa7"]]);
|
|
63
62
|
export {
|
|
64
63
|
SunIcon as default
|
|
65
64
|
};
|
|
@@ -27,14 +27,6 @@ const _sfc_main = {
|
|
|
27
27
|
emit("clickEvent", props.record);
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
|
-
const getAlign = () => {
|
|
31
|
-
const obj = {
|
|
32
|
-
"left": "flex-start",
|
|
33
|
-
"center": "center",
|
|
34
|
-
"right": "flex-end"
|
|
35
|
-
};
|
|
36
|
-
return obj[props.record.options.style.align];
|
|
37
|
-
};
|
|
38
30
|
const getHeight = () => {
|
|
39
31
|
const mode = props.record.options.style.mode;
|
|
40
32
|
const width = props.record.options.style.width;
|
|
@@ -79,7 +71,7 @@ const _sfc_main = {
|
|
|
79
71
|
return (_ctx, _cache) => {
|
|
80
72
|
return openBlock(), createElementBlock("div", {
|
|
81
73
|
class: "main-picture",
|
|
82
|
-
style: normalizeStyle({ "justify-content":
|
|
74
|
+
style: normalizeStyle({ "justify-content": props.record.options.style.justifyContent, padding: `${props.record.options?.style?.tbPadding || 0}px ${props.record.options?.style?.lrPadding || 0}px` })
|
|
83
75
|
}, [
|
|
84
76
|
createElementVNode("div", {
|
|
85
77
|
class: "picture-container",
|
|
@@ -99,7 +91,7 @@ const _sfc_main = {
|
|
|
99
91
|
};
|
|
100
92
|
}
|
|
101
93
|
};
|
|
102
|
-
const Picture = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
94
|
+
const Picture = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ff07b8c5"]]);
|
|
103
95
|
export {
|
|
104
96
|
Picture as default
|
|
105
97
|
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { resolveComponent, createElementBlock, openBlock, normalizeStyle, createVNode, withCtx, Fragment, renderList, createBlock, createElementVNode, normalizeClass } from "vue";
|
|
2
|
+
import FormItem from "./sun-card-design-mobile.es25.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
import _export_sfc from "./sun-card-design-mobile.es28.js";
|
|
5
|
+
const _hoisted_1 = ["onClick"];
|
|
6
|
+
const _sfc_main = {
|
|
7
|
+
__name: "multipleLine",
|
|
8
|
+
props: ["record", "recordData", "columnsIndex"],
|
|
9
|
+
emits: ["clickEvent", "clickColumnsEvent", "fileUpdateEvent"],
|
|
10
|
+
setup(__props, { emit: __emit }) {
|
|
11
|
+
const props = __props;
|
|
12
|
+
const emit = __emit;
|
|
13
|
+
const getIndex = (index) => {
|
|
14
|
+
if (index !== void 0) {
|
|
15
|
+
return index;
|
|
16
|
+
}
|
|
17
|
+
return props.columnsIndex;
|
|
18
|
+
};
|
|
19
|
+
const onClick = (record) => {
|
|
20
|
+
emit("clickEvent", record);
|
|
21
|
+
};
|
|
22
|
+
const onUpdate = (record) => {
|
|
23
|
+
emit("fileUpdateEvent", record);
|
|
24
|
+
};
|
|
25
|
+
const onClickColumns = (record) => {
|
|
26
|
+
if (!record.options.clickEvent) return;
|
|
27
|
+
emit("clickColumnsEvent", record);
|
|
28
|
+
};
|
|
29
|
+
const getBackground = () => {
|
|
30
|
+
if (isGradientColor(props.recordData.config.background)) {
|
|
31
|
+
return "none";
|
|
32
|
+
}
|
|
33
|
+
return props.recordData.config.background;
|
|
34
|
+
};
|
|
35
|
+
function isGradientColor(color) {
|
|
36
|
+
return /^(linear|radial)-gradient\(.*\)$/.test(color);
|
|
37
|
+
}
|
|
38
|
+
return (_ctx, _cache) => {
|
|
39
|
+
const _component_a_col = resolveComponent("a-col");
|
|
40
|
+
const _component_a_row = resolveComponent("a-row");
|
|
41
|
+
return openBlock(), createElementBlock("div", {
|
|
42
|
+
class: "main-grid",
|
|
43
|
+
style: normalizeStyle({ background: getBackground() })
|
|
44
|
+
}, [
|
|
45
|
+
createVNode(_component_a_row, {
|
|
46
|
+
gutter: [props.record.options.style.lrGutter, props.record.options.style.tbGutter]
|
|
47
|
+
}, {
|
|
48
|
+
default: withCtx(() => [
|
|
49
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(props.record.columns, (item, index) => {
|
|
50
|
+
return openBlock(), createBlock(_component_a_col, {
|
|
51
|
+
key: index.toString(),
|
|
52
|
+
flex: props.record.columns[index]?.flex,
|
|
53
|
+
span: 24,
|
|
54
|
+
style: normalizeStyle({
|
|
55
|
+
flex: _ctx.none
|
|
56
|
+
})
|
|
57
|
+
}, {
|
|
58
|
+
default: withCtx(() => [
|
|
59
|
+
createElementVNode("div", {
|
|
60
|
+
class: normalizeClass(["box", { active: _ctx.currentUuid === item.uuid }]),
|
|
61
|
+
style: normalizeStyle({
|
|
62
|
+
background: props.record.options.style?.background,
|
|
63
|
+
border: props.record.options.style?.borderColor === "none" ? "none" : "1px solid " + (props.record.options.style?.borderColor || "transparent"),
|
|
64
|
+
borderRadius: props.record.options.style?.borderRadius + "px",
|
|
65
|
+
padding: props.record.options.style?.tbPadding + "px " + props.record.options.style?.lrPadding + "px",
|
|
66
|
+
justifyContent: props.record.options.style?.alignItems || "start",
|
|
67
|
+
minHeight: props.record.options.style?.minHeight + "px" || "48px",
|
|
68
|
+
boxShadow: props.record.options.style?.boxShadow || null
|
|
69
|
+
}),
|
|
70
|
+
onClick: ($event) => onClickColumns(item)
|
|
71
|
+
}, [
|
|
72
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(item.list, (element, index2) => {
|
|
73
|
+
return openBlock(), createBlock(FormItem, {
|
|
74
|
+
record: element,
|
|
75
|
+
key: index2,
|
|
76
|
+
recordData: props.recordData,
|
|
77
|
+
columnsIndex: getIndex(item.index),
|
|
78
|
+
onClickEvent: onClick,
|
|
79
|
+
onFileUpdateEvent: onUpdate,
|
|
80
|
+
onClickColumnsEvent: onClickColumns
|
|
81
|
+
}, null, 8, ["record", "recordData", "columnsIndex"]);
|
|
82
|
+
}), 128))
|
|
83
|
+
], 14, _hoisted_1)
|
|
84
|
+
]),
|
|
85
|
+
_: 2
|
|
86
|
+
}, 1032, ["flex", "style"]);
|
|
87
|
+
}), 128))
|
|
88
|
+
]),
|
|
89
|
+
_: 1
|
|
90
|
+
}, 8, ["gutter"])
|
|
91
|
+
], 4);
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
const MultipleLine = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c1ba89a8"]]);
|
|
96
|
+
export {
|
|
97
|
+
MultipleLine as default
|
|
98
|
+
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { resolveComponent, createElementBlock, openBlock, normalizeStyle, createVNode, withCtx, Fragment, renderList, createBlock, createElementVNode, normalizeClass } from "vue";
|
|
2
|
+
import FormItem from "./sun-card-design-mobile.es25.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
import _export_sfc from "./sun-card-design-mobile.es28.js";
|
|
5
|
+
const _hoisted_1 = ["onClick"];
|
|
6
|
+
const _sfc_main = {
|
|
7
|
+
__name: "gridList",
|
|
8
|
+
props: ["record", "recordData", "columnsIndex"],
|
|
9
|
+
emits: ["clickEvent", "clickColumnsEvent", "fileUpdateEvent"],
|
|
10
|
+
setup(__props, { emit: __emit }) {
|
|
11
|
+
const props = __props;
|
|
12
|
+
const emit = __emit;
|
|
13
|
+
const getIndex = (index) => {
|
|
14
|
+
if (index !== void 0) {
|
|
15
|
+
return index;
|
|
16
|
+
}
|
|
17
|
+
return props.columnsIndex;
|
|
18
|
+
};
|
|
19
|
+
const onClick = (record) => {
|
|
20
|
+
emit("clickEvent", record);
|
|
21
|
+
};
|
|
22
|
+
const onUpdate = (record) => {
|
|
23
|
+
emit("fileUpdateEvent", record);
|
|
24
|
+
};
|
|
25
|
+
const onClickColumns = (record) => {
|
|
26
|
+
if (!record.options.clickEvent) return;
|
|
27
|
+
emit("clickColumnsEvent", record);
|
|
28
|
+
};
|
|
29
|
+
const getBackground = () => {
|
|
30
|
+
if (isGradientColor(props.recordData.config.background)) {
|
|
31
|
+
return "none";
|
|
32
|
+
}
|
|
33
|
+
return props.recordData.config.background;
|
|
34
|
+
};
|
|
35
|
+
function isGradientColor(color) {
|
|
36
|
+
return /^(linear|radial)-gradient\(.*\)$/.test(color);
|
|
37
|
+
}
|
|
38
|
+
return (_ctx, _cache) => {
|
|
39
|
+
const _component_a_col = resolveComponent("a-col");
|
|
40
|
+
const _component_a_row = resolveComponent("a-row");
|
|
41
|
+
return openBlock(), createElementBlock("div", {
|
|
42
|
+
class: "main-grid",
|
|
43
|
+
style: normalizeStyle({ background: getBackground() })
|
|
44
|
+
}, [
|
|
45
|
+
createVNode(_component_a_row, {
|
|
46
|
+
gutter: [props.record.options.style.lrGutter, props.record.options.style.tbGutter]
|
|
47
|
+
}, {
|
|
48
|
+
default: withCtx(() => [
|
|
49
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(props.record.columns, (item, index) => {
|
|
50
|
+
return openBlock(), createBlock(_component_a_col, {
|
|
51
|
+
key: index.toString(),
|
|
52
|
+
flex: props.record.columns[index]?.flex,
|
|
53
|
+
span: 24 / props.record.options.autoNumber,
|
|
54
|
+
style: normalizeStyle({
|
|
55
|
+
flex: _ctx.none
|
|
56
|
+
})
|
|
57
|
+
}, {
|
|
58
|
+
default: withCtx(() => [
|
|
59
|
+
createElementVNode("div", {
|
|
60
|
+
class: normalizeClass(["box", { active: _ctx.currentUuid === item.uuid }]),
|
|
61
|
+
style: normalizeStyle({
|
|
62
|
+
background: props.record.options.style?.background,
|
|
63
|
+
border: props.record.options.style?.borderColor === "none" ? "none" : "1px solid " + (props.record.options.style?.borderColor || "transparent"),
|
|
64
|
+
borderRadius: props.record.options.style?.borderRadius + "px",
|
|
65
|
+
padding: props.record.options.style?.tbPadding + "px " + props.record.options.style?.lrPadding + "px",
|
|
66
|
+
justifyContent: props.record.options.style?.alignItems || "start",
|
|
67
|
+
minHeight: props.record.options.style?.minHeight + "px" || "48px",
|
|
68
|
+
boxShadow: props.record.options.style?.boxShadow || null
|
|
69
|
+
}),
|
|
70
|
+
onClick: ($event) => onClickColumns(item)
|
|
71
|
+
}, [
|
|
72
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(item.list, (element, index2) => {
|
|
73
|
+
return openBlock(), createBlock(FormItem, {
|
|
74
|
+
record: element,
|
|
75
|
+
key: index2,
|
|
76
|
+
recordData: props.recordData,
|
|
77
|
+
columnsIndex: getIndex(item.index),
|
|
78
|
+
onClickEvent: onClick,
|
|
79
|
+
onFileUpdateEvent: onUpdate,
|
|
80
|
+
onClickColumnsEvent: onClickColumns
|
|
81
|
+
}, null, 8, ["record", "recordData", "columnsIndex"]);
|
|
82
|
+
}), 128))
|
|
83
|
+
], 14, _hoisted_1)
|
|
84
|
+
]),
|
|
85
|
+
_: 2
|
|
86
|
+
}, 1032, ["flex", "span", "style"]);
|
|
87
|
+
}), 128))
|
|
88
|
+
]),
|
|
89
|
+
_: 1
|
|
90
|
+
}, 8, ["gutter"])
|
|
91
|
+
], 4);
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
const GridList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c6c62c4f"]]);
|
|
96
|
+
export {
|
|
97
|
+
GridList as default
|
|
98
|
+
};
|
|
@@ -22,10 +22,10 @@ const _sfc_main = {
|
|
|
22
22
|
style: normalizeStyle({ padding: `${props.record.options?.style?.tbPadding || 0}px ${props.record.options?.style?.lrPadding || 0}px` })
|
|
23
23
|
}, [
|
|
24
24
|
createVNode(_component_a_tag, {
|
|
25
|
-
color: props.record.options.style.
|
|
25
|
+
color: props.record.options.style.background,
|
|
26
26
|
style: normalizeStyle({
|
|
27
27
|
color: props.record.options.style.color,
|
|
28
|
-
fontSize: props.record.options.style.
|
|
28
|
+
fontSize: props.record.options.style.fontSize + "px"
|
|
29
29
|
}),
|
|
30
30
|
onClick
|
|
31
31
|
}, {
|
|
@@ -39,7 +39,7 @@ const _sfc_main = {
|
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
|
-
const Tag = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
42
|
+
const Tag = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6bc73f7b"]]);
|
|
43
43
|
export {
|
|
44
44
|
Tag as default
|
|
45
45
|
};
|
|
@@ -25,7 +25,7 @@ const _sfc_main = {
|
|
|
25
25
|
"center": "center",
|
|
26
26
|
"right": "flex-end"
|
|
27
27
|
};
|
|
28
|
-
return obj[props.record.options.style.
|
|
28
|
+
return obj[props.record.options.style.textAlign];
|
|
29
29
|
};
|
|
30
30
|
return (_ctx, _cache) => {
|
|
31
31
|
return openBlock(), createElementBlock("div", {
|
|
@@ -40,7 +40,7 @@ const _sfc_main = {
|
|
|
40
40
|
width: formatPx(props.record.options.hasLineStyle?.width, 5),
|
|
41
41
|
height: formatPx(
|
|
42
42
|
props.record.options.hasLineStyle?.height,
|
|
43
|
-
props.record.options.style.
|
|
43
|
+
props.record.options.style.fontSize ?? 16
|
|
44
44
|
),
|
|
45
45
|
borderRadius: formatPx(props.record.options.hasLineStyle?.borderRadius, 1),
|
|
46
46
|
marginRight: formatPx(props.record.options.hasLineStyle?.marginRight, 6)
|
|
@@ -49,7 +49,7 @@ const _sfc_main = {
|
|
|
49
49
|
createElementVNode("div", {
|
|
50
50
|
style: normalizeStyle({
|
|
51
51
|
fontWeight: "500",
|
|
52
|
-
fontSize: props.record.options.style.
|
|
52
|
+
fontSize: props.record.options.style.fontSize + "px",
|
|
53
53
|
color: props.record.options.style.color
|
|
54
54
|
})
|
|
55
55
|
}, toDisplayString(unref(renderTextByVariables)(props.record.options.defaultValue, props.columnsIndex)), 5)
|
|
@@ -57,7 +57,7 @@ const _sfc_main = {
|
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
|
-
const Title = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
60
|
+
const Title = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1093ec93"]]);
|
|
61
61
|
export {
|
|
62
62
|
Title as default
|
|
63
63
|
};
|
|
@@ -51,7 +51,7 @@ const _sfc_main = {
|
|
|
51
51
|
width: formatPx(props.record.options.hasLineStyle?.width, 4),
|
|
52
52
|
height: formatPx(
|
|
53
53
|
props.record.options.hasLineStyle?.height,
|
|
54
|
-
props.record.options.style.
|
|
54
|
+
props.record.options.style.fontSize + "px" || "14px"
|
|
55
55
|
),
|
|
56
56
|
borderRadius: formatPx(props.record.options.hasLineStyle?.borderRadius, 2),
|
|
57
57
|
marginRight: formatPx(props.record.options.hasLineStyle?.marginRight, 6)
|
|
@@ -59,10 +59,10 @@ const _sfc_main = {
|
|
|
59
59
|
}, null, 4)) : createCommentVNode("", true),
|
|
60
60
|
createElementVNode("div", {
|
|
61
61
|
style: normalizeStyle({
|
|
62
|
-
color: props.record.options.style.
|
|
63
|
-
fontSize: props.record.options.style.
|
|
62
|
+
color: props.record.options.style.color,
|
|
63
|
+
fontSize: props.record.options.style.fontSize + "px",
|
|
64
64
|
textAlign: props.record.options.style.textAlign,
|
|
65
|
-
textDecoration: props.record.options.style.
|
|
65
|
+
textDecoration: props.record.options.style.textDecoration,
|
|
66
66
|
textIndent: props.record.options.style.textIndent + "em"
|
|
67
67
|
}),
|
|
68
68
|
onClick
|
|
@@ -74,7 +74,7 @@ const _sfc_main = {
|
|
|
74
74
|
};
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
const Text = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
77
|
+
const Text = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1705860f"]]);
|
|
78
78
|
export {
|
|
79
79
|
Text as default
|
|
80
80
|
};
|
|
@@ -29,12 +29,11 @@ const _sfc_main = {
|
|
|
29
29
|
});
|
|
30
30
|
const iconStyle = computed(() => {
|
|
31
31
|
const color = props?.record?.options?.style?.color || "#000000";
|
|
32
|
-
const
|
|
33
|
-
const map = { left: "flex-start", center: "center", right: "flex-end" };
|
|
32
|
+
const justifyContent = props?.record?.options?.style?.justifyContent || "flex-start";
|
|
34
33
|
return {
|
|
35
34
|
color,
|
|
36
35
|
display: "flex",
|
|
37
|
-
justifyContent
|
|
36
|
+
justifyContent,
|
|
38
37
|
alignItems: "center",
|
|
39
38
|
width: "100%"
|
|
40
39
|
};
|
|
@@ -59,7 +58,7 @@ const _sfc_main = {
|
|
|
59
58
|
};
|
|
60
59
|
}
|
|
61
60
|
};
|
|
62
|
-
const SunIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
61
|
+
const SunIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4b920fa7"]]);
|
|
63
62
|
export {
|
|
64
63
|
SunIcon as default
|
|
65
64
|
};
|
|
@@ -27,14 +27,6 @@ const _sfc_main = {
|
|
|
27
27
|
emit("clickEvent", props.record);
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
|
-
const getAlign = () => {
|
|
31
|
-
const obj = {
|
|
32
|
-
"left": "flex-start",
|
|
33
|
-
"center": "center",
|
|
34
|
-
"right": "flex-end"
|
|
35
|
-
};
|
|
36
|
-
return obj[props.record.options.style.align];
|
|
37
|
-
};
|
|
38
30
|
const getHeight = () => {
|
|
39
31
|
const mode = props.record.options.style.mode;
|
|
40
32
|
const width = props.record.options.style.width;
|
|
@@ -79,7 +71,7 @@ const _sfc_main = {
|
|
|
79
71
|
return (_ctx, _cache) => {
|
|
80
72
|
return openBlock(), createElementBlock("div", {
|
|
81
73
|
class: "main-picture",
|
|
82
|
-
style: normalizeStyle({ "justify-content":
|
|
74
|
+
style: normalizeStyle({ "justify-content": props.record.options.style.justifyContent, padding: `${props.record.options?.style?.tbPadding || 0}px ${props.record.options?.style?.lrPadding || 0}px` })
|
|
83
75
|
}, [
|
|
84
76
|
createElementVNode("div", {
|
|
85
77
|
class: "picture-container",
|
|
@@ -99,7 +91,7 @@ const _sfc_main = {
|
|
|
99
91
|
};
|
|
100
92
|
}
|
|
101
93
|
};
|
|
102
|
-
const Picture = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
94
|
+
const Picture = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ff07b8c5"]]);
|
|
103
95
|
export {
|
|
104
96
|
Picture as default
|
|
105
97
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.main-title[data-v-
|
|
1
|
+
.main-title[data-v-1093ec93]{display:flex;align-items:center;width:100%}.main-title .line[data-v-1093ec93]{width:5px;border-radius:2px;margin-right:6px}.main-title h3[data-v-1093ec93]{margin:0}.main-text[data-v-1705860f]{display:flex;align-items:center;width:100%}.main-text .line[data-v-1705860f]{width:4px;border-radius:1px;margin-right:6px}.main-button[data-v-a265d74a]{display:flex;align-items:center;margin:0;padding:0;width:100%}.main-grid[data-v-812d703d]{width:100%}.main-grid .box[data-v-812d703d]{display:flex;flex-direction:column;width:100%;min-height:48px;border:1px solid #e9e9e9;overflow:hidden}.main-title[data-v-42f0f48a]{width:100%}.main-title .file-box[data-v-42f0f48a]{display:grid;grid-template-columns:32px 1fr;grid-column-gap:10px;align-items:flex-start}.main-title .file-box .file-icon[data-v-42f0f48a]{grid-column:1 / 2;grid-row:1 / span 2;display:flex;align-items:flex-start}.main-title .file-box .file-icon.align-center[data-v-42f0f48a]{align-self:center}.main-title .file-box .name[data-v-42f0f48a]{grid-column:2 / 3;grid-row:1 / 2;margin:0;line-height:1.2;align-self:flex-start}.main-title .file-box .name.align-center[data-v-42f0f48a]{grid-row:1 / span 2;align-self:center}.main-title .file-box .subtitle[data-v-42f0f48a]{grid-column:2 / 3;grid-row:2 / 3;margin-top:4px;line-height:1.4;word-break:break-word;white-space:normal}.main-title .file-box[data-v-42f0f48a] svg path{fill:currentColor!important}.upload-comp[data-v-4363e2fe]{display:flex;flex-direction:column;align-items:flex-start;width:100%;overflow:hidden;border-radius:6px}.upload-comp .parse-type-info[data-v-4363e2fe]{margin-top:8px;display:flex;align-items:center}.upload-comp .upload-progress[data-v-4363e2fe]{display:flex;position:absolute;left:50%;top:12px;width:90%;transform:translate(-50%);z-index:1000;display:inline-flex;align-items:center;gap:12px;background:#404040f2;color:#fff;padding:10px 16px;border-radius:12px;box-shadow:0 6px 18px #0003}.upload-comp .upload-progress .spinner[data-v-4363e2fe]{width:28px;height:28px;border-radius:50%;border:3px solid rgba(255,255,255,.2);border-top-color:#4ad46a;animation:spin-4363e2fe 1s linear infinite}.upload-comp .upload-progress .progress-text-container[data-v-4363e2fe]{flex:1;display:flex;align-items:center;justify-content:space-between}.upload-comp .upload-progress .progress-text[data-v-4363e2fe]{font-size:14px;color:#fff}.upload-comp .upload-progress .cancel-btn[data-v-4363e2fe]{background:#666;color:#eee;border:none}@keyframes spin-4363e2fe{to{transform:rotate(360deg)}}.upload-comp .file-list[data-v-4363e2fe]{width:100%;margin-top:6px}.upload-comp .file-item-name[data-v-4363e2fe]{font-size:13px;color:#333}.main-picture[data-v-ff07b8c5]{display:flex;width:100%}.main-picture .picture-container[data-v-ff07b8c5]{background-color:#fff;border-radius:4px}.main-picture h3[data-v-ff07b8c5]{margin:0}.main-tag[data-v-6bc73f7b],.main-rate[data-v-20282c61]{width:100%}.main-rate[data-v-20282c61] .ant-rate-star-full,.main-rate[data-v-20282c61] .ant-rate-star-half,.main-rate[data-v-20282c61] .ant-rate-star-active{color:#ff9500}.main-divider[data-v-bd99764a]{display:flex;justify-content:center;align-items:center;width:100%}.custom-player[data-v-f85fd551]{--play-btn-color: #4a6bff;--progress-color: linear-gradient(90deg, #ff4d4d, #f9cb28);width:100%;position:relative}.custom-player audio[data-v-f85fd551]{display:none}.controls[data-v-f85fd551]{display:flex;align-items:center}.play-btn[data-v-f85fd551]{width:32px;height:32px;background:var(--play-btn-color);border-radius:50%;border:none;cursor:pointer;position:relative;margin-right:15px;transition:all .3s}.play-btn[data-v-f85fd551]:before{content:"";position:absolute;left:50%;top:50%;transform:translate(-35%,-50%);width:0;height:0;border-top:8px solid transparent;border-bottom:8px solid transparent;border-left:12px solid white}.play-btn.paused[data-v-f85fd551]:before{width:14px;height:16px;border:none;background:linear-gradient(to right,white 0 4px,transparent 4px) left center / 4px 16px no-repeat,linear-gradient(to right,white 0 4px,transparent 4px) right center / 4px 16px no-repeat;transform:translate(-50%,-50%)}.progress-container[data-v-f85fd551]{flex:1;height:4px;background:#0000001a;border-radius:2px;cursor:pointer}.progress-bar[data-v-f85fd551]{height:100%;width:0;background:var(--progress-color);border-radius:2px;position:relative}.progress-bar[data-v-f85fd551]:after{content:"";position:absolute;right:-6px;top:50%;transform:translateY(-50%);width:12px;height:12px;background:#fff;border-radius:50%;box-shadow:0 0 4px #0000004d;opacity:0;transition:opacity .2s}.progress-container:hover .progress-bar[data-v-f85fd551]:after{opacity:1}.main-audio[data-v-3a42929f],.main-select[data-v-5707ab7d]{width:100%}.main-select h3[data-v-5707ab7d],.main-select[data-v-5707ab7d] .ant-form-item{margin:0}.main-video[data-v-ba6459c2]{width:100%}.main-video .custom-video[data-v-ba6459c2]{width:100%;outline:none;background:#000}.main-input[data-v-f4e2b8e3]{width:100%}.main-input h3[data-v-f4e2b8e3],.main-input[data-v-f4e2b8e3] .ant-form-item{margin:0}.main-button[data-v-4806336e]{display:flex;align-items:center;margin:0;width:100%}.main-enterpriseSearch[data-v-d616ad69]{width:100%}.main-enterpriseSearch h3[data-v-d616ad69],.main-enterpriseSearch[data-v-d616ad69] .ant-form-item{margin:0}.main-table[data-v-f6dd6b54]{width:100%}.main-table[data-v-f6dd6b54] .ant-table{font-size:var(--tbl-font-size)}.main-table[data-v-f6dd6b54] .ant-table-cell{padding:var(--tbl-cell-padding)!important;font-size:var(--tbl-font-size)}.barChart-table[data-v-bdc1c7d2],.pieChart-table[data-v-28332879],.lineChart-table[data-v-c3a80733]{width:100%}.mian-barChart3d[data-v-8a4e4da8]{width:100%;background:#f7f7fc;border-radius:6px}.main-pieChart3d[data-v-26df6fca]{width:100%;background:#f7f7fc}.canvas[data-v-d6ec0f1f]{display:flex;justify-content:center;align-items:center;position:fixed;left:0;top:0;width:100%;height:100%;z-index:9999;background:#0009}.canvas .canvas-view[data-v-d6ec0f1f]{position:relative;width:calc(100% - 60px);height:calc(100% - 100px);border-radius:10px;background-color:#3e8be4ad;overflow:hidden}.canvas .icon[data-v-d6ec0f1f]{position:absolute;top:30px;right:10px;font-size:26px;color:#fff}.main-panorama[data-v-bf23cf13]{width:100%;border-radius:6px}.main-panorama .panorama-box[data-v-bf23cf13]{overflow:hidden;position:relative;z-index:1}.main-panorama .panorama-box .panorama-box-icon[data-v-bf23cf13]{position:absolute;right:10px;top:10px;cursor:pointer}.main-icon[data-v-4b920fa7],.main-singleColumn[data-v-1fc2bfb4]{width:100%}.main-singleColumn .box[data-v-1fc2bfb4]{display:flex;flex-direction:column;width:100%;min-height:48px;border:1px solid #e9e9e9;overflow:hidden}.main-grid[data-v-20b79e7a]{width:100%}.main-grid .box[data-v-20b79e7a]{display:flex;flex-direction:column;width:100%;min-height:48px;border:1px solid #e9e9e9;overflow:hidden}.main-grid[data-v-c1ba89a8]{width:100%}.main-grid .box[data-v-c1ba89a8]{display:flex;flex-direction:column;width:100%;min-height:48px;border:1px solid #e9e9e9;overflow:hidden}.main-grid[data-v-c6c62c4f]{width:100%}.main-grid .box[data-v-c6c62c4f]{display:flex;flex-direction:column;width:100%;min-height:48px;border:1px solid #e9e9e9;overflow:hidden}.main-box[data-v-1202bb9d]{position:relative}.msg-main[data-v-9e0be1d2]{height:auto;border:1px solid #f1f1f1;overflow:hidden}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sun-card-design",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.40",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Vue3 卡片设计组件库,支持 PC 和移动端预览",
|
|
6
6
|
"keywords": [
|
|
@@ -15,12 +15,103 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|
|
18
|
-
"url": "
|
|
18
|
+
"url": ""
|
|
19
19
|
},
|
|
20
|
-
"homepage": "
|
|
20
|
+
"homepage": "",
|
|
21
21
|
"type": "module",
|
|
22
22
|
"exports": {
|
|
23
|
-
"./
|
|
23
|
+
"./pc": {
|
|
24
|
+
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
25
|
+
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
26
|
+
},
|
|
27
|
+
"./pc/title": {
|
|
28
|
+
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
29
|
+
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
30
|
+
},
|
|
31
|
+
"./pc/text": {
|
|
32
|
+
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
33
|
+
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
34
|
+
},
|
|
35
|
+
"./pc/button": {
|
|
36
|
+
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
37
|
+
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
38
|
+
},
|
|
39
|
+
"./pc/file": {
|
|
40
|
+
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
41
|
+
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
42
|
+
},
|
|
43
|
+
"./pc/picture": {
|
|
44
|
+
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
45
|
+
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
46
|
+
},
|
|
47
|
+
"./pc/tag": {
|
|
48
|
+
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
49
|
+
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
50
|
+
},
|
|
51
|
+
"./pc/rate": {
|
|
52
|
+
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
53
|
+
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
54
|
+
},
|
|
55
|
+
"./pc/divider": {
|
|
56
|
+
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
57
|
+
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
58
|
+
},
|
|
59
|
+
"./pc/audio": {
|
|
60
|
+
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
61
|
+
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
62
|
+
},
|
|
63
|
+
"./pc/video": {
|
|
64
|
+
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
65
|
+
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
66
|
+
},
|
|
67
|
+
"./pc/generate-img": {
|
|
68
|
+
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
69
|
+
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
70
|
+
},
|
|
71
|
+
"./pc/panorama": {
|
|
72
|
+
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
73
|
+
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
74
|
+
},
|
|
75
|
+
"./pc/grid": {
|
|
76
|
+
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
77
|
+
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
78
|
+
},
|
|
79
|
+
"./pc/input": {
|
|
80
|
+
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
81
|
+
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
82
|
+
},
|
|
83
|
+
"./pc/select": {
|
|
84
|
+
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
85
|
+
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
86
|
+
},
|
|
87
|
+
"./pc/enterprise-search": {
|
|
88
|
+
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
89
|
+
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
90
|
+
},
|
|
91
|
+
"./pc/table": {
|
|
92
|
+
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
93
|
+
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
94
|
+
},
|
|
95
|
+
"./pc/bar-chart": {
|
|
96
|
+
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
97
|
+
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
98
|
+
},
|
|
99
|
+
"./pc/bar-chart-3d": {
|
|
100
|
+
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
101
|
+
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
102
|
+
},
|
|
103
|
+
"./pc/pie-chart": {
|
|
104
|
+
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
105
|
+
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
106
|
+
},
|
|
107
|
+
"./pc/pie-chart-3d": {
|
|
108
|
+
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
109
|
+
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
110
|
+
},
|
|
111
|
+
"./pc/line-chart": {
|
|
112
|
+
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
113
|
+
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
114
|
+
},
|
|
24
115
|
"./mobile": {
|
|
25
116
|
"import": "./dist/mobile/sun-card-design-mobile.es.js",
|
|
26
117
|
"require": "./dist/mobile/sun-card-design-mobile.umd.js"
|
|
@@ -113,98 +204,7 @@
|
|
|
113
204
|
"import": "./dist/mobile/sun-card-design-mobile.es.js",
|
|
114
205
|
"require": "./dist/mobile/sun-card-design-mobile.umd.js"
|
|
115
206
|
},
|
|
116
|
-
"./
|
|
117
|
-
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
118
|
-
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
119
|
-
},
|
|
120
|
-
"./pc/title": {
|
|
121
|
-
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
122
|
-
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
123
|
-
},
|
|
124
|
-
"./pc/text": {
|
|
125
|
-
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
126
|
-
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
127
|
-
},
|
|
128
|
-
"./pc/button": {
|
|
129
|
-
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
130
|
-
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
131
|
-
},
|
|
132
|
-
"./pc/file": {
|
|
133
|
-
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
134
|
-
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
135
|
-
},
|
|
136
|
-
"./pc/picture": {
|
|
137
|
-
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
138
|
-
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
139
|
-
},
|
|
140
|
-
"./pc/tag": {
|
|
141
|
-
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
142
|
-
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
143
|
-
},
|
|
144
|
-
"./pc/rate": {
|
|
145
|
-
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
146
|
-
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
147
|
-
},
|
|
148
|
-
"./pc/divider": {
|
|
149
|
-
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
150
|
-
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
151
|
-
},
|
|
152
|
-
"./pc/audio": {
|
|
153
|
-
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
154
|
-
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
155
|
-
},
|
|
156
|
-
"./pc/video": {
|
|
157
|
-
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
158
|
-
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
159
|
-
},
|
|
160
|
-
"./pc/generate-img": {
|
|
161
|
-
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
162
|
-
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
163
|
-
},
|
|
164
|
-
"./pc/panorama": {
|
|
165
|
-
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
166
|
-
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
167
|
-
},
|
|
168
|
-
"./pc/grid": {
|
|
169
|
-
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
170
|
-
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
171
|
-
},
|
|
172
|
-
"./pc/input": {
|
|
173
|
-
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
174
|
-
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
175
|
-
},
|
|
176
|
-
"./pc/select": {
|
|
177
|
-
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
178
|
-
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
179
|
-
},
|
|
180
|
-
"./pc/enterprise-search": {
|
|
181
|
-
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
182
|
-
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
183
|
-
},
|
|
184
|
-
"./pc/table": {
|
|
185
|
-
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
186
|
-
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
187
|
-
},
|
|
188
|
-
"./pc/bar-chart": {
|
|
189
|
-
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
190
|
-
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
191
|
-
},
|
|
192
|
-
"./pc/bar-chart-3d": {
|
|
193
|
-
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
194
|
-
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
195
|
-
},
|
|
196
|
-
"./pc/pie-chart": {
|
|
197
|
-
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
198
|
-
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
199
|
-
},
|
|
200
|
-
"./pc/pie-chart-3d": {
|
|
201
|
-
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
202
|
-
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
203
|
-
},
|
|
204
|
-
"./pc/line-chart": {
|
|
205
|
-
"import": "./dist/pc/sun-card-design-pc.es.js",
|
|
206
|
-
"require": "./dist/pc/sun-card-design-pc.umd.js"
|
|
207
|
-
}
|
|
207
|
+
"./style.css": "./dist/public/sun-card-design.css"
|
|
208
208
|
},
|
|
209
209
|
"files": [
|
|
210
210
|
"dist"
|
|
@@ -228,12 +228,14 @@
|
|
|
228
228
|
"@liripeng/vue-audio-player": "^2.0.4",
|
|
229
229
|
"@tweenjs/tween.js": "^25.0.0",
|
|
230
230
|
"ant-design-vue": "^4.1.2",
|
|
231
|
+
"crypto-js": "^4.2.0",
|
|
231
232
|
"echarts": "^5.4.3",
|
|
232
233
|
"html2canvas": "^1.4.1",
|
|
233
234
|
"pinia": "^3.0.3",
|
|
234
235
|
"strip-json-comments": "^5.0.3",
|
|
235
236
|
"sun-select-color": "^0.1.4",
|
|
236
237
|
"three": "^0.180.0",
|
|
238
|
+
"vite-plugin-javascript-obfuscator": "^3.1.0",
|
|
237
239
|
"vue": "^3.5.0",
|
|
238
240
|
"vue-color": "^3.3.1",
|
|
239
241
|
"vue-router": "^4.5.1",
|