sun-card-design 1.2.2 → 1.2.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.
Files changed (64) hide show
  1. package/dist/mobile/sun-card-design-mobile.es10.js +13 -7
  2. package/dist/mobile/sun-card-design-mobile.es11.js +19 -12
  3. package/dist/mobile/sun-card-design-mobile.es12.js +11 -9
  4. package/dist/mobile/sun-card-design-mobile.es13.js +28 -22
  5. package/dist/mobile/sun-card-design-mobile.es14.js +13 -7
  6. package/dist/mobile/sun-card-design-mobile.es15.js +43 -23
  7. package/dist/mobile/sun-card-design-mobile.es16.js +13 -7
  8. package/dist/mobile/sun-card-design-mobile.es17.js +14 -8
  9. package/dist/mobile/sun-card-design-mobile.es18.js +14 -8
  10. package/dist/mobile/sun-card-design-mobile.es19.js +21 -11
  11. package/dist/mobile/sun-card-design-mobile.es20.js +45 -17
  12. package/dist/mobile/sun-card-design-mobile.es21.js +16 -9
  13. package/dist/mobile/sun-card-design-mobile.es22.js +19 -12
  14. package/dist/mobile/sun-card-design-mobile.es23.js +16 -9
  15. package/dist/mobile/sun-card-design-mobile.es24.js +80 -21
  16. package/dist/mobile/sun-card-design-mobile.es3.js +41 -28
  17. package/dist/mobile/sun-card-design-mobile.es37.js +19 -18
  18. package/dist/mobile/sun-card-design-mobile.es4.js +54 -32
  19. package/dist/mobile/sun-card-design-mobile.es5.js +27 -18
  20. package/dist/mobile/sun-card-design-mobile.es55.js +26 -29
  21. package/dist/mobile/sun-card-design-mobile.es56.js +21 -20
  22. package/dist/mobile/sun-card-design-mobile.es57.js +44 -25
  23. package/dist/mobile/sun-card-design-mobile.es58.js +43 -23
  24. package/dist/mobile/sun-card-design-mobile.es59.js +38 -21
  25. package/dist/mobile/sun-card-design-mobile.es6.js +32 -18
  26. package/dist/mobile/sun-card-design-mobile.es60.js +38 -21
  27. package/dist/mobile/sun-card-design-mobile.es65.js +33 -0
  28. package/dist/mobile/sun-card-design-mobile.es7.js +41 -35
  29. package/dist/mobile/sun-card-design-mobile.es8.js +28 -22
  30. package/dist/mobile/sun-card-design-mobile.es9.js +21 -12
  31. package/dist/pc/sun-card-design-pc.es10.js +13 -7
  32. package/dist/pc/sun-card-design-pc.es11.js +19 -12
  33. package/dist/pc/sun-card-design-pc.es12.js +11 -9
  34. package/dist/pc/sun-card-design-pc.es13.js +28 -22
  35. package/dist/pc/sun-card-design-pc.es14.js +13 -7
  36. package/dist/pc/sun-card-design-pc.es15.js +43 -23
  37. package/dist/pc/sun-card-design-pc.es16.js +13 -7
  38. package/dist/pc/sun-card-design-pc.es17.js +14 -8
  39. package/dist/pc/sun-card-design-pc.es18.js +14 -8
  40. package/dist/pc/sun-card-design-pc.es19.js +21 -11
  41. package/dist/pc/sun-card-design-pc.es2.js +11 -2
  42. package/dist/pc/sun-card-design-pc.es20.js +45 -17
  43. package/dist/pc/sun-card-design-pc.es21.js +16 -9
  44. package/dist/pc/sun-card-design-pc.es22.js +19 -12
  45. package/dist/pc/sun-card-design-pc.es23.js +16 -9
  46. package/dist/pc/sun-card-design-pc.es24.js +80 -21
  47. package/dist/pc/sun-card-design-pc.es3.js +41 -28
  48. package/dist/pc/sun-card-design-pc.es37.js +19 -18
  49. package/dist/pc/sun-card-design-pc.es4.js +54 -32
  50. package/dist/pc/sun-card-design-pc.es5.js +27 -18
  51. package/dist/pc/sun-card-design-pc.es55.js +26 -29
  52. package/dist/pc/sun-card-design-pc.es56.js +21 -20
  53. package/dist/pc/sun-card-design-pc.es57.js +44 -25
  54. package/dist/pc/sun-card-design-pc.es58.js +43 -23
  55. package/dist/pc/sun-card-design-pc.es59.js +38 -21
  56. package/dist/pc/sun-card-design-pc.es6.js +32 -18
  57. package/dist/pc/sun-card-design-pc.es60.js +38 -21
  58. package/dist/pc/sun-card-design-pc.es65.js +33 -0
  59. package/dist/pc/sun-card-design-pc.es7.js +41 -35
  60. package/dist/pc/sun-card-design-pc.es8.js +28 -22
  61. package/dist/pc/sun-card-design-pc.es9.js +21 -12
  62. package/dist/public/sun-card-design.css +1 -1
  63. package/package.json +1 -1
  64. package/dist/mobile/sun-card-design-mobile.es61.js +0 -162
@@ -1,14 +1,25 @@
1
- import { ref, computed, watch, resolveComponent, createElementBlock, openBlock, normalizeStyle, createElementVNode, createVNode, withCtx, TransitionGroup, Fragment, renderList, createBlock, Transition, createCommentVNode } from "vue";
1
+ import { useCssVars, computed, ref, watch, resolveComponent, createElementBlock, openBlock, createElementVNode, createVNode, withCtx, TransitionGroup, Fragment, renderList, createBlock, normalizeStyle, Transition, createCommentVNode } from "vue";
2
2
  import FormItem from "./sun-card-design-pc.es25.js";
3
3
  /* empty css */
4
4
  import _export_sfc from "./sun-card-design-pc.es28.js";
5
- const _hoisted_1 = { class: "expand-list-container" };
6
- const _hoisted_2 = ["onClick"];
5
+ const _hoisted_1 = { class: "main-grid" };
6
+ const _hoisted_2 = { class: "expand-list-container" };
7
+ const _hoisted_3 = ["onClick"];
7
8
  const _sfc_main = {
8
9
  __name: "multipleLine",
9
10
  props: ["record", "recordData", "columnsIndex"],
10
11
  emits: ["clickEvent", "clickColumnsEvent", "fileUpdateEvent"],
11
12
  setup(__props, { emit: __emit }) {
13
+ useCssVars((_ctx) => ({
14
+ "v4ea7c6cc": mainBackground.value,
15
+ "v717295b4": boxBackground.value,
16
+ "v3ff7e7b2": boxBorder.value,
17
+ "v43b732e4": boxBorderRadius.value,
18
+ "ea198d6a": boxPadding.value,
19
+ "v7ffc2562": boxJustifyContent.value,
20
+ "v037b965a": boxMinHeight.value,
21
+ "v5c8feca6": boxShadow.value
22
+ }));
12
23
  const props = __props;
13
24
  const emit = __emit;
14
25
  const currentDisplayCount = ref(0);
@@ -66,7 +77,7 @@ const _sfc_main = {
66
77
  function isGradientColor(color) {
67
78
  return /^(linear|radial)-gradient\(.*\)$/.test(color);
68
79
  }
69
- const getBackground = computed(() => {
80
+ const mainBackground = computed(() => {
70
81
  if (!props.recordData?.config?.background) {
71
82
  return "transparent";
72
83
  }
@@ -75,14 +86,29 @@ const _sfc_main = {
75
86
  }
76
87
  return props.recordData.config.background;
77
88
  });
89
+ const boxBackground = computed(() => props.record.options.style?.background);
90
+ const boxBorder = computed(() => {
91
+ const borderColor = props.record.options.style?.borderColor;
92
+ if (borderColor === "none") return "none";
93
+ return `1px solid ${borderColor || "transparent"}`;
94
+ });
95
+ const boxBorderRadius = computed(() => `${props.record.options.style?.borderRadius}px`);
96
+ const boxPadding = computed(() => {
97
+ const tb = props.record.options.style?.tbPadding;
98
+ const lr = props.record.options.style?.lrPadding;
99
+ return `${tb}px ${lr}px`;
100
+ });
101
+ const boxJustifyContent = computed(() => props.record.options.style?.alignItems || "start");
102
+ const boxMinHeight = computed(() => {
103
+ const minH = props.record.options.style?.minHeight;
104
+ return minH ? `${minH}px` : "48px";
105
+ });
106
+ const boxShadow = computed(() => props.record.options.style?.boxShadow || null);
78
107
  return (_ctx, _cache) => {
79
108
  const _component_a_col = resolveComponent("a-col");
80
109
  const _component_a_row = resolveComponent("a-row");
81
- return openBlock(), createElementBlock("div", {
82
- class: "main-grid",
83
- style: normalizeStyle({ background: getBackground.value })
84
- }, [
85
- createElementVNode("div", _hoisted_1, [
110
+ return openBlock(), createElementBlock("div", _hoisted_1, [
111
+ createElementVNode("div", _hoisted_2, [
86
112
  createVNode(_component_a_row, {
87
113
  gutter: [props.record.options.style.lrGutter, props.record.options.style.tbGutter]
88
114
  }, {
@@ -106,15 +132,6 @@ const _sfc_main = {
106
132
  default: withCtx(() => [
107
133
  createElementVNode("div", {
108
134
  class: "box",
109
- style: normalizeStyle({
110
- background: props.record.options.style?.background,
111
- border: props.record.options.style?.borderColor === "none" ? "none" : "1px solid " + (props.record.options.style?.borderColor || "transparent"),
112
- borderRadius: props.record.options.style?.borderRadius + "px",
113
- padding: props.record.options.style?.tbPadding + "px " + props.record.options.style?.lrPadding + "px",
114
- justifyContent: props.record.options.style?.alignItems || "start",
115
- minHeight: props.record.options.style?.minHeight + "px" || "48px",
116
- boxShadow: props.record.options.style?.boxShadow || null
117
- }),
118
135
  onClick: ($event) => onClickColumns(item)
119
136
  }, [
120
137
  (openBlock(true), createElementBlock(Fragment, null, renderList(item.list, (element, index2) => {
@@ -128,7 +145,7 @@ const _sfc_main = {
128
145
  onClickColumnsEvent: onClickColumns
129
146
  }, null, 8, ["record", "recordData", "columnsIndex"]);
130
147
  }), 128))
131
- ], 12, _hoisted_2)
148
+ ], 8, _hoisted_3)
132
149
  ]),
133
150
  _: 2
134
151
  }, 1032, ["flex", "style"]);
@@ -152,11 +169,11 @@ const _sfc_main = {
152
169
  ]),
153
170
  _: 1
154
171
  })
155
- ], 4);
172
+ ]);
156
173
  };
157
174
  }
158
175
  };
159
- const MultipleLine = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-dad6f574"]]);
176
+ const MultipleLine = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a2abd56b"]]);
160
177
  export {
161
178
  MultipleLine as default
162
179
  };
@@ -1,13 +1,24 @@
1
- import { ref, watch, createElementBlock, openBlock, normalizeStyle, createElementVNode } from "vue";
1
+ import { useCssVars, computed, ref, watch, createElementBlock, openBlock, createElementVNode } from "vue";
2
2
  import { renderTextByVariables } from "./sun-card-design-pc.es26.js";
3
3
  import { IMG } from "./sun-card-design-pc.es32.js";
4
4
  /* empty css */
5
5
  import _export_sfc from "./sun-card-design-pc.es28.js";
6
+ const _hoisted_1 = { class: "main-picture" };
6
7
  const _sfc_main = {
7
8
  __name: "pictureComp",
8
9
  props: ["record", "columnsIndex"],
9
10
  emits: ["clickEvent"],
10
11
  setup(__props, { emit: __emit }) {
12
+ useCssVars((_ctx) => ({
13
+ "v7d193be8": mainPadding.value,
14
+ "v8d70cd24": mainJustifyContent.value,
15
+ "v4a05b1f0": pictureBorderRadius.value,
16
+ "v72e847f4": pictureWidth.value,
17
+ "v5f5c868e": pictureHeight.value,
18
+ "v07f5297b": pictureBackgroundImage.value,
19
+ "v52dadbe1": pictureBackgroundSize.value,
20
+ "v49268241": pictureAspectRatio.value
21
+ }));
11
22
  const props = __props;
12
23
  const emit = __emit;
13
24
  const currentImageUrl = ref(IMG);
@@ -27,6 +38,22 @@ const _sfc_main = {
27
38
  emit("clickEvent", props.record);
28
39
  }
29
40
  };
41
+ const mainPadding = computed(() => {
42
+ const tb = props.record.options?.style?.tbPadding ?? 0;
43
+ const lr = props.record.options?.style?.lrPadding ?? 0;
44
+ return `${tb}px ${lr}px`;
45
+ });
46
+ const mainJustifyContent = computed(() => props.record.options.style.justifyContent);
47
+ const pictureWidth = computed(
48
+ () => props.record.options.style.mode === "fixed" ? props.record.options.style.width + "px" : "100%"
49
+ );
50
+ const pictureHeight = computed(() => getHeight());
51
+ const pictureBackgroundImage = computed(() => `url(${currentImageUrl.value})`);
52
+ const pictureBackgroundSize = computed(() => props.record.options.style.cuttingMode);
53
+ const pictureAspectRatio = computed(() => getAspectRatio());
54
+ const pictureBorderRadius = computed(
55
+ () => props.record.options.style.borderRadius + "px"
56
+ );
30
57
  const getHeight = () => {
31
58
  const mode = props.record.options.style.mode;
32
59
  const width = props.record.options.style.width;
@@ -69,29 +96,16 @@ const _sfc_main = {
69
96
  img.src = url;
70
97
  }
71
98
  return (_ctx, _cache) => {
72
- return openBlock(), createElementBlock("div", {
73
- class: "main-picture",
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` })
75
- }, [
99
+ return openBlock(), createElementBlock("div", _hoisted_1, [
76
100
  createElementVNode("div", {
77
101
  class: "picture-container",
78
- style: normalizeStyle({
79
- width: props.record.options.style.mode === "fixed" ? props.record.options.style.width + "px" : "100%",
80
- height: getHeight(),
81
- backgroundImage: `url(${currentImageUrl.value})`,
82
- backgroundSize: props.record.options.style.cuttingMode,
83
- backgroundPosition: "center",
84
- backgroundRepeat: "no-repeat",
85
- aspectRatio: getAspectRatio(),
86
- borderRadius: props.record.options.style.borderRadius + "px"
87
- }),
88
102
  onClick
89
- }, null, 4)
90
- ], 4);
103
+ })
104
+ ]);
91
105
  };
92
106
  }
93
107
  };
94
- const Picture = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b7f1d53f"]]);
108
+ const Picture = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3c52305a"]]);
95
109
  export {
96
110
  Picture as default
97
111
  };
@@ -1,14 +1,25 @@
1
- import { ref, computed, watch, resolveComponent, createElementBlock, openBlock, normalizeStyle, createElementVNode, createVNode, withCtx, TransitionGroup, Fragment, renderList, createBlock, Transition, createCommentVNode } from "vue";
1
+ import { useCssVars, computed, ref, watch, resolveComponent, createElementBlock, openBlock, createElementVNode, createVNode, withCtx, TransitionGroup, Fragment, renderList, createBlock, normalizeStyle, Transition, createCommentVNode } from "vue";
2
2
  import FormItem from "./sun-card-design-pc.es25.js";
3
3
  /* empty css */
4
4
  import _export_sfc from "./sun-card-design-pc.es28.js";
5
- const _hoisted_1 = { class: "expand-list-container" };
6
- const _hoisted_2 = ["onClick"];
5
+ const _hoisted_1 = { class: "main-grid" };
6
+ const _hoisted_2 = { class: "expand-list-container" };
7
+ const _hoisted_3 = ["onClick"];
7
8
  const _sfc_main = {
8
9
  __name: "gridList",
9
10
  props: ["record", "recordData", "columnsIndex"],
10
11
  emits: ["clickEvent", "clickColumnsEvent", "fileUpdateEvent"],
11
12
  setup(__props, { emit: __emit }) {
13
+ useCssVars((_ctx) => ({
14
+ "e795ea16": mainBackground.value,
15
+ "v52f0af2a": boxBackground.value,
16
+ "v35f8ede9": boxBorder.value,
17
+ "v905b184a": boxBorderRadius.value,
18
+ "v5512f9f4": boxPadding.value,
19
+ "cb5e66f4": boxJustifyContent.value,
20
+ "v81172188": boxMinHeight.value,
21
+ "v5290f2dd": boxShadow.value
22
+ }));
12
23
  const props = __props;
13
24
  const emit = __emit;
14
25
  const currentDisplayRows = ref(0);
@@ -66,7 +77,7 @@ const _sfc_main = {
66
77
  function isGradientColor(color) {
67
78
  return /^(linear|radial)-gradient\(.*\)$/.test(color);
68
79
  }
69
- const getBackground = computed(() => {
80
+ const mainBackground = computed(() => {
70
81
  if (!props.recordData?.config?.background) {
71
82
  return "transparent";
72
83
  }
@@ -75,14 +86,29 @@ const _sfc_main = {
75
86
  }
76
87
  return props.recordData.config.background;
77
88
  });
89
+ const boxBackground = computed(() => props.record.options.style?.background);
90
+ const boxBorder = computed(() => {
91
+ const borderColor = props.record.options.style?.borderColor;
92
+ if (borderColor === "none") return "none";
93
+ return `1px solid ${borderColor || "transparent"}`;
94
+ });
95
+ const boxBorderRadius = computed(() => `${props.record.options.style?.borderRadius}px`);
96
+ const boxPadding = computed(() => {
97
+ const tb = props.record.options.style?.tbPadding;
98
+ const lr = props.record.options.style?.lrPadding;
99
+ return `${tb}px ${lr}px`;
100
+ });
101
+ const boxJustifyContent = computed(() => props.record.options.style?.alignItems || "start");
102
+ const boxMinHeight = computed(() => {
103
+ const minH = props.record.options.style?.minHeight;
104
+ return minH ? `${minH}px` : "48px";
105
+ });
106
+ const boxShadow = computed(() => props.record.options.style?.boxShadow || null);
78
107
  return (_ctx, _cache) => {
79
108
  const _component_a_col = resolveComponent("a-col");
80
109
  const _component_a_row = resolveComponent("a-row");
81
- return openBlock(), createElementBlock("div", {
82
- class: "main-grid",
83
- style: normalizeStyle({ background: getBackground.value })
84
- }, [
85
- createElementVNode("div", _hoisted_1, [
110
+ return openBlock(), createElementBlock("div", _hoisted_1, [
111
+ createElementVNode("div", _hoisted_2, [
86
112
  createVNode(_component_a_row, {
87
113
  gutter: [props.record.options.style.lrGutter, props.record.options.style.tbGutter]
88
114
  }, {
@@ -106,15 +132,6 @@ const _sfc_main = {
106
132
  default: withCtx(() => [
107
133
  createElementVNode("div", {
108
134
  class: "box",
109
- style: normalizeStyle({
110
- background: props.record.options.style?.background,
111
- border: props.record.options.style?.borderColor === "none" ? "none" : "1px solid " + (props.record.options.style?.borderColor || "transparent"),
112
- borderRadius: props.record.options.style?.borderRadius + "px",
113
- padding: props.record.options.style?.tbPadding + "px " + props.record.options.style?.lrPadding + "px",
114
- justifyContent: props.record.options.style?.alignItems || "start",
115
- minHeight: props.record.options.style?.minHeight + "px" || "48px",
116
- boxShadow: props.record.options.style?.boxShadow || null
117
- }),
118
135
  onClick: ($event) => onClickColumns(item)
119
136
  }, [
120
137
  (openBlock(true), createElementBlock(Fragment, null, renderList(item.list, (element, index2) => {
@@ -128,7 +145,7 @@ const _sfc_main = {
128
145
  onClickColumnsEvent: onClickColumns
129
146
  }, null, 8, ["record", "recordData", "columnsIndex"]);
130
147
  }), 128))
131
- ], 12, _hoisted_2)
148
+ ], 8, _hoisted_3)
132
149
  ]),
133
150
  _: 2
134
151
  }, 1032, ["flex", "span", "style"]);
@@ -152,11 +169,11 @@ const _sfc_main = {
152
169
  ]),
153
170
  _: 1
154
171
  })
155
- ], 4);
172
+ ]);
156
173
  };
157
174
  }
158
175
  };
159
- const GridList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-159c873b"]]);
176
+ const GridList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-eba68839"]]);
160
177
  export {
161
178
  GridList as default
162
179
  };
@@ -84,6 +84,39 @@ const customIcon = {
84
84
  src: "https://lf-coze-web-cdn.coze.cn/obj/coze-web-cn/ui-builder/img/grid2.png"
85
85
  }
86
86
  ])
87
+ },
88
+ {
89
+ id: "-4",
90
+ name: "X轴-Test4",
91
+ type: "Array",
92
+ defaultValue: JSON.stringify(["水", "木", "火", "土", "金"])
93
+ },
94
+ {
95
+ id: "-5",
96
+ name: "Y轴-Test5",
97
+ type: "Array",
98
+ defaultValue: JSON.stringify([
99
+ {
100
+ "name": "数据a",
101
+ "data": [
102
+ 2,
103
+ 4,
104
+ 6,
105
+ 8,
106
+ 9
107
+ ]
108
+ },
109
+ {
110
+ "name": "数据b",
111
+ "data": [
112
+ 1,
113
+ 3,
114
+ 5,
115
+ 7,
116
+ 10
117
+ ]
118
+ }
119
+ ])
87
120
  }
88
121
  ];
89
122
  export {
@@ -1,14 +1,31 @@
1
- import { resolveComponent, createElementBlock, openBlock, normalizeStyle, createElementVNode, createCommentVNode, unref, normalizeClass, toDisplayString, createVNode, withCtx, createTextVNode } from "vue";
1
+ import { useCssVars, computed, resolveComponent, createElementBlock, openBlock, createElementVNode, createCommentVNode, unref, normalizeClass, toDisplayString, createVNode, withCtx, createTextVNode } from "vue";
2
2
  import { fileIconSvg } from "./sun-card-design-pc.es34.js";
3
3
  import { renderTextByVariables } from "./sun-card-design-pc.es26.js";
4
4
  /* empty css */
5
5
  import _export_sfc from "./sun-card-design-pc.es28.js";
6
- const _hoisted_1 = ["innerHTML"];
6
+ const _hoisted_1 = { class: "main-title" };
7
+ const _hoisted_2 = ["innerHTML"];
8
+ const _hoisted_3 = {
9
+ key: 0,
10
+ class: "subtitle"
11
+ };
12
+ const _hoisted_4 = { class: "content" };
7
13
  const _sfc_main = {
8
14
  __name: "fileComp",
9
15
  props: ["record", "columnsIndex"],
10
16
  emits: ["clickEvent", "fileUpdateEvent"],
11
17
  setup(__props, { emit: __emit }) {
18
+ useCssVars((_ctx) => ({
19
+ "v28a3f134": mainPadding.value,
20
+ "c5dc5af4": iconColor.value,
21
+ "v75fd12ff": nameFontSize.value,
22
+ "v1cd0a414": nameFontWeight.value,
23
+ "v397d8fb4": nameColor.value,
24
+ "v2df3358c": subtitleFontSize.value,
25
+ "v3f0c4047": subtitleColor.value,
26
+ "v090d17a5": contentFontSize.value,
27
+ "v511e3cce": contentColor.value
28
+ }));
12
29
  const props = __props;
13
30
  const emit = __emit;
14
31
  const onClick = () => {
@@ -19,12 +36,22 @@ const _sfc_main = {
19
36
  };
20
37
  const toPx = (v) => typeof v === "number" ? `${v}px` : v || void 0;
21
38
  const colorSafe = (v) => v && typeof v === "string" ? v : "#000000";
39
+ const mainPadding = computed(() => {
40
+ const tb = props.record.options?.style?.tbPadding ?? 2;
41
+ const lr = props.record.options?.style?.lrPadding ?? 2;
42
+ return `${tb}px ${lr}px`;
43
+ });
44
+ const iconColor = computed(() => colorSafe(props.record.options.style.iconColor));
45
+ const nameFontSize = computed(() => toPx(props.record.options.style.nameSize));
46
+ const nameFontWeight = computed(() => props.record.options.style.nameWeight);
47
+ const nameColor = computed(() => colorSafe(props.record.options.style.nameColor));
48
+ const subtitleFontSize = computed(() => toPx(props.record.options.style.subtitleSize));
49
+ const subtitleColor = computed(() => colorSafe(props.record.options.style.subtitleColor));
50
+ const contentFontSize = computed(() => toPx(props.record.options.style.contentSize));
51
+ const contentColor = computed(() => colorSafe(props.record.options.style.contentColor));
22
52
  return (_ctx, _cache) => {
23
53
  const _component_a_button = resolveComponent("a-button");
24
- return openBlock(), createElementBlock("div", {
25
- class: "main-title",
26
- style: normalizeStyle({ padding: `${props.record.options?.style?.tbPadding || 2}px ${props.record.options?.style?.lrPadding || 2}px` })
27
- }, [
54
+ return openBlock(), createElementBlock("div", _hoisted_1, [
28
55
  createElementVNode("div", null, [
29
56
  createElementVNode("div", {
30
57
  class: "file-box",
@@ -32,38 +59,17 @@ const _sfc_main = {
32
59
  }, [
33
60
  createElementVNode("div", {
34
61
  class: normalizeClass(["file-icon", { "align-center": !props.record.options.subtitle }]),
35
- style: normalizeStyle({ color: colorSafe(props.record.options.style.iconColor) }),
36
62
  innerHTML: unref(fileIconSvg)()
37
- }, null, 14, _hoisted_1),
63
+ }, null, 10, _hoisted_2),
38
64
  createElementVNode("div", {
39
- class: normalizeClass(["name", { "align-center": !props.record.options.subtitle }]),
40
- style: normalizeStyle({
41
- fontSize: toPx(props.record.options.style.nameSize),
42
- fontWeight: props.record.options.style.nameWeight,
43
- color: colorSafe(props.record.options.style.nameColor)
44
- })
45
- }, toDisplayString(unref(renderTextByVariables)(props.record.options.defaultValue, props.columnsIndex)), 7),
46
- props.record.options.subtitle ? (openBlock(), createElementBlock("div", {
47
- key: 0,
48
- class: "subtitle",
49
- style: normalizeStyle({
50
- fontSize: toPx(props.record.options.style.subtitleSize),
51
- color: colorSafe(props.record.options.style.subtitleColor)
52
- })
53
- }, toDisplayString(unref(renderTextByVariables)(props.record.options.subtitle, props.columnsIndex)), 5)) : createCommentVNode("", true)
65
+ class: normalizeClass(["name", { "align-center": !props.record.options.subtitle }])
66
+ }, toDisplayString(unref(renderTextByVariables)(props.record.options.defaultValue, props.columnsIndex)), 3),
67
+ props.record.options.subtitle ? (openBlock(), createElementBlock("div", _hoisted_3, toDisplayString(unref(renderTextByVariables)(props.record.options.subtitle, props.columnsIndex)), 1)) : createCommentVNode("", true)
54
68
  ]),
55
- createElementVNode("div", {
56
- class: "content",
57
- style: normalizeStyle({
58
- fontSize: toPx(props.record.options.style.contentSize),
59
- marginTop: "6px",
60
- marginLeft: "6px",
61
- color: colorSafe(props.record.options.style.contentColor)
62
- })
63
- }, toDisplayString(unref(renderTextByVariables)(props.record.options.content, props.columnsIndex)), 5),
69
+ createElementVNode("div", _hoisted_4, toDisplayString(unref(renderTextByVariables)(props.record.options.content, props.columnsIndex)), 1),
64
70
  props.record.options?.isUpdate ? (openBlock(), createElementBlock("div", {
65
71
  key: 0,
66
- style: { "margin-top": "8px" },
72
+ class: "update-wrapper",
67
73
  onClick: onUpdate
68
74
  }, [
69
75
  createVNode(_component_a_button, {
@@ -77,11 +83,11 @@ const _sfc_main = {
77
83
  })
78
84
  ])) : createCommentVNode("", true)
79
85
  ])
80
- ], 4);
86
+ ]);
81
87
  };
82
88
  }
83
89
  };
84
- const File = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-42f0f48a"]]);
90
+ const File = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2e5b5c55"]]);
85
91
  export {
86
92
  File as default
87
93
  };
@@ -1,42 +1,48 @@
1
- import { computed, createElementBlock, openBlock, normalizeStyle, createElementVNode } from "vue";
1
+ import { useCssVars, computed, createElementBlock, openBlock, createElementVNode } from "vue";
2
2
  /* empty css */
3
3
  import _export_sfc from "./sun-card-design-pc.es28.js";
4
- const _hoisted_1 = ["src"];
4
+ const _hoisted_1 = { class: "main-video" };
5
+ const _hoisted_2 = ["src"];
5
6
  const _sfc_main = {
6
7
  __name: "videoComp",
7
8
  props: ["record"],
8
9
  setup(__props) {
9
- const props = __props;
10
- const wrapperStyle = computed(() => ({
11
- width: "100%",
12
- padding: `${props.record.options?.style?.tbPadding || 0}px ${props.record.options?.style?.lrPadding || 0}px`
10
+ useCssVars((_ctx) => ({
11
+ "v52484b0f": mainPadding.value,
12
+ "a5745798": videoWidth.value,
13
+ "v3cb48f0e": videoHeight.value
13
14
  }));
14
- const videoStyle = computed(() => {
15
+ const props = __props;
16
+ const mainPadding = computed(() => {
17
+ const tb = props.record.options?.style?.tbPadding ?? 0;
18
+ const lr = props.record.options?.style?.lrPadding ?? 0;
19
+ return `${tb}px ${lr}px`;
20
+ });
21
+ const videoWidth = computed(() => {
22
+ const style = props.record?.options?.style || {};
23
+ if (style.mode === "fixed") {
24
+ return style.width ? `${style.width}px` : "360px";
25
+ }
26
+ return "100%";
27
+ });
28
+ const videoHeight = computed(() => {
15
29
  const style = props.record?.options?.style || {};
16
30
  if (style.mode === "fixed") {
17
- const width = style.width ? `${style.width}px` : "360px";
18
- const height = style.height;
19
- return { width, height };
31
+ return style.height;
20
32
  }
21
- return { width: "100%" };
33
+ return "auto";
22
34
  });
23
35
  return (_ctx, _cache) => {
24
- return openBlock(), createElementBlock("div", {
25
- class: "main-video",
26
- style: normalizeStyle(wrapperStyle.value)
27
- }, [
36
+ return openBlock(), createElementBlock("div", _hoisted_1, [
28
37
  createElementVNode("video", {
29
38
  class: "custom-video",
30
- src: props.record.options.src,
31
- style: normalizeStyle(videoStyle.value),
32
- controls: "",
33
- preload: "metadata"
34
- }, null, 12, _hoisted_1)
35
- ], 4);
39
+ src: props.record.options.src
40
+ }, null, 8, _hoisted_2)
41
+ ]);
36
42
  };
37
43
  }
38
44
  };
39
- const Video = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ba6459c2"]]);
45
+ const Video = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0f3451bb"]]);
40
46
  export {
41
47
  Video as default
42
48
  };
@@ -1,32 +1,41 @@
1
- import { computed, createElementBlock, openBlock, normalizeStyle, createVNode } from "vue";
1
+ import { useCssVars, computed, createElementBlock, openBlock, createVNode } from "vue";
2
2
  import Audio$1 from "./sun-card-design-pc.es37.js";
3
3
  /* empty css */
4
4
  import _export_sfc from "./sun-card-design-pc.es28.js";
5
+ const _hoisted_1 = { class: "main-audio" };
5
6
  const _sfc_main = {
6
7
  __name: "audioComp",
7
8
  props: ["record"],
8
9
  setup(__props) {
9
- const props = __props;
10
- const wrapperStyle = computed(() => ({
11
- "--play-btn-color": props.record?.options?.style?.playBtnColor || "#4a6bff",
12
- "--progress-color": props.record?.options?.style?.progressColor || "#409eff",
13
- padding: `${props.record.options?.style?.tbPadding || 0}px ${props.record.options?.style?.lrPadding || 0}px`
10
+ useCssVars((_ctx) => ({
11
+ "v531bdc3e": mainPadding.value,
12
+ "d014cb56": playBtnColor.value,
13
+ "ca40c048": progressColor.value
14
14
  }));
15
+ const props = __props;
16
+ const mainPadding = computed(() => {
17
+ const tb = props.record.options?.style?.tbPadding ?? 0;
18
+ const lr = props.record.options?.style?.lrPadding ?? 0;
19
+ return `${tb}px ${lr}px`;
20
+ });
21
+ const playBtnColor = computed(
22
+ () => props.record?.options?.style?.playBtnColor || "#4a6bff"
23
+ );
24
+ const progressColor = computed(
25
+ () => props.record?.options?.style?.progressColor || "#409eff"
26
+ );
15
27
  return (_ctx, _cache) => {
16
- return openBlock(), createElementBlock("div", {
17
- class: "main-audio",
18
- style: normalizeStyle(wrapperStyle.value)
19
- }, [
28
+ return openBlock(), createElementBlock("div", _hoisted_1, [
20
29
  createVNode(Audio$1, {
21
30
  src: props.record.options.src,
22
31
  playBtnColor: props.record?.options?.style?.playBtnColor,
23
32
  progressColor: props.record?.options?.style?.progressColor
24
33
  }, null, 8, ["src", "playBtnColor", "progressColor"])
25
- ], 4);
34
+ ]);
26
35
  };
27
36
  }
28
37
  };
29
- const Audio = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3a42929f"]]);
38
+ const Audio = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5033a60d"]]);
30
39
  export {
31
40
  Audio as default
32
41
  };
@@ -1 +1 @@
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-b7f1d53f]{display:flex;width:100%}.main-picture .picture-container[data-v-b7f1d53f]{background-color:#fff;border-radius:4px}.main-picture h3[data-v-b7f1d53f]{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-c4da076f]{width:100%}.main-enterpriseSearch h3[data-v-c4da076f],.main-enterpriseSearch[data-v-c4da076f] .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-6b648570]{width:100%;background:#f7f7fc;border-radius:6px}.main-pieChart3d[data-v-b39e3b32]{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-dad6f574]{width:100%}.main-grid .box[data-v-dad6f574]{display:flex;flex-direction:column;width:100%;min-height:48px;border:1px solid #e9e9e9;overflow:hidden}.main-grid .expand-more[data-v-dad6f574]{text-align:center;padding:12px 0;cursor:pointer;color:#1677ff;font-size:14px;transition:color .3s}.main-grid .expand-more[data-v-dad6f574]:hover{color:#4096ff}.expand-list-container[data-v-dad6f574]{width:100%}.expand-list-group[data-v-dad6f574]{display:contents}.expand-list-enter-active[data-v-dad6f574]{transition:all .4s cubic-bezier(.4,0,.2,1);opacity:0;transform:translateY(-20px)}.expand-list-enter-to[data-v-dad6f574]{opacity:1;transform:translateY(0)}.expand-list-enter-from[data-v-dad6f574]{opacity:0;transform:translateY(-20px)}.expand-list-move[data-v-dad6f574]{transition:transform .4s cubic-bezier(.4,0,.2,1)}.expand-col-item[data-v-dad6f574]{transition:opacity .3s ease,transform .3s ease}.fade-enter-active[data-v-dad6f574],.fade-leave-active[data-v-dad6f574]{transition:opacity .3s ease}.fade-enter-from[data-v-dad6f574],.fade-leave-to[data-v-dad6f574]{opacity:0}.main-grid[data-v-159c873b]{width:100%}.main-grid .box[data-v-159c873b]{display:flex;flex-direction:column;width:100%;min-height:48px;overflow:hidden}.main-grid .expand-more[data-v-159c873b]{text-align:center;padding:12px 0;cursor:pointer;color:#1677ff;font-size:14px;transition:color .3s}.main-grid .expand-more[data-v-159c873b]:hover{color:#4096ff}.expand-list-container[data-v-159c873b]{width:100%}.expand-list-group[data-v-159c873b]{display:contents}.expand-list-enter-active[data-v-159c873b]{transition:all .4s cubic-bezier(.4,0,.2,1);opacity:0;transform:translateY(-20px)}.expand-list-enter-to[data-v-159c873b]{opacity:1;transform:translateY(0)}.expand-list-enter-from[data-v-159c873b]{opacity:0;transform:translateY(-20px)}.expand-list-move[data-v-159c873b]{transition:transform .4s cubic-bezier(.4,0,.2,1)}.expand-col-item[data-v-159c873b]{transition:opacity .3s ease,transform .3s ease}.fade-enter-active[data-v-159c873b],.fade-leave-active[data-v-159c873b]{transition:opacity .3s ease}.fade-enter-from[data-v-159c873b],.fade-leave-to[data-v-159c873b]{opacity:0}.main-box[data-v-1202bb9d]{position:relative}.msg-main[data-v-9e0be1d2]{height:auto;border:1px solid #f1f1f1;overflow:hidden}
1
+ .main-title[data-v-1857c02b]{display:flex;align-items:center;width:100%;padding:var(--c2791288);justify-content:var(--v4447debe)}.main-title .line[data-v-1857c02b]{background:var(--b78e19c4);width:var(--v23ce99d6);height:var(--v3c35a717);border-radius:var(--v43484464);margin-right:var(--v8adc6dc4)}.main-title .title-text[data-v-1857c02b]{font-weight:500;font-size:var(--v6ef5dde8);color:var(--v2097d672)}.main-title h3[data-v-1857c02b]{margin:0}.main-text[data-v-aca7c48b]{display:flex;align-items:center;width:100%;padding:var(--v2ef23bcf);justify-content:var(--v7cd0636a)}.main-text .line[data-v-aca7c48b]{width:var(--v350187a9);border-radius:var(--f3e766ca);margin-right:var(--v5ce1ccb1);background:var(--v56e0b12b);height:var(--v516073a4)}.main-text .text-content[data-v-aca7c48b]{color:var(--v61204fad);font-size:var(--v2b41b734);text-align:var(--v6102b74f);text-decoration:var(--v5da192b4);text-indent:var(--v65d64cbc)}.main-text .text-title[data-v-aca7c48b]{font-weight:600}.main-button[data-v-600d0258]{display:flex;align-items:center;margin:0;width:100%;padding:var(--v11775a22);justify-content:var(--df9919aa)}.btn[data-v-600d0258]{background:var(--d3ce6c7e);color:var(--v655eeaf0);border-radius:var(--v50bed09e);width:var(--v6675e953);float:var(--v6587dde9)}.main-grid[data-v-5e173df1]{width:100%;background:var(--v006886e2)}.main-grid .box[data-v-5e173df1]{display:flex;flex-direction:column;width:100%;background:var(--v6ee75b91);border:var(--v74cc240f);border-radius:var(--v91dc14fe);padding:var(--v1eb2eee4);justify-content:var(--v709306a8);min-height:var(--v77428154);box-shadow:var(--dd37adfa);overflow:hidden}.main-title[data-v-2e5b5c55]{width:100%;padding:var(--v28a3f134)}.main-title .file-box[data-v-2e5b5c55]{display:grid;grid-template-columns:32px 1fr;grid-column-gap:10px;align-items:flex-start}.main-title .file-box .file-icon[data-v-2e5b5c55]{color:var(--c5dc5af4);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-2e5b5c55]{align-self:center}.main-title .file-box .name[data-v-2e5b5c55]{font-size:var(--v75fd12ff);font-weight:var(--v1cd0a414);color:var(--v397d8fb4);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-2e5b5c55]{grid-row:1 / span 2;align-self:center}.main-title .file-box .subtitle[data-v-2e5b5c55]{font-size:var(--v2df3358c);color:var(--v3f0c4047);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-2e5b5c55] svg path{fill:currentColor!important}.main-title .content[data-v-2e5b5c55]{font-size:var(--v090d17a5);margin-top:6px;margin-left:6px;color:var(--v511e3cce)}.main-title .update-wrapper[data-v-2e5b5c55]{margin-top:8px}.upload-comp[data-v-94c9d418]{display:flex;flex-direction:column;align-items:flex-start;width:100%;padding:var(--v29b9f64c);overflow:hidden;border-radius:6px}.upload-comp .parse-type-info[data-v-94c9d418]{margin-top:8px;display:flex;align-items:center}.upload-comp .upload-progress[data-v-94c9d418]{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-94c9d418]{width:28px;height:28px;border-radius:50%;border:3px solid rgba(255,255,255,.2);border-top-color:#4ad46a;animation:spin-94c9d418 1s linear infinite}.upload-comp .upload-progress .progress-text-container[data-v-94c9d418]{flex:1;display:flex;align-items:center;justify-content:space-between}.upload-comp .upload-progress .progress-text[data-v-94c9d418]{font-size:14px;color:#fff}.upload-comp .upload-progress .cancel-btn[data-v-94c9d418]{background:#666;color:#eee;border:none}@keyframes spin-94c9d418{to{transform:rotate(360deg)}}.upload-comp .file-list[data-v-94c9d418]{width:100%;margin-top:6px}.upload-comp .file-item-name[data-v-94c9d418]{font-size:13px;color:#333}.upload-comp .upload-btn[data-v-94c9d418]{background-color:var(--v34ef9fda);border-color:var(--v34ef9fda);font-size:var(--v964bed5e);height:auto;padding:4px 12px;min-height:28px}.main-picture[data-v-3c52305a]{display:flex;width:100%;padding:var(--v7d193be8);justify-content:var(--v8d70cd24)}.main-picture .picture-container[data-v-3c52305a]{background-color:#fff;border-radius:var(--v4a05b1f0);width:var(--v72e847f4);height:var(--v5f5c868e);background-image:var(--v07f5297b);background-size:var(--v52dadbe1);background-position:center;background-repeat:no-repeat;aspect-ratio:var(--v49268241)}.main-picture h3[data-v-3c52305a]{margin:0}.main-tag[data-v-6d50d817]{width:100%;padding:var(--v709d157f)}.main-tag-inner[data-v-6d50d817]{color:var(--cd06f03c);font-size:var(--c3dff7de)}.main-rate[data-v-560a4494]{width:100%;padding:var(--v328335d6)}.main-rate[data-v-560a4494] .ant-rate-star-full,.main-rate[data-v-560a4494] .ant-rate-star-half,.main-rate[data-v-560a4494] .ant-rate-star-active{color:#ff9500}.main-divider[data-v-230f14f5]{display:flex;justify-content:center;align-items:center;width:100%}.main-divider .main-divider-line[data-v-230f14f5]{margin-top:var(--v19341f66);margin-bottom:var(--v65036833);background:var(--v971adb30)}.custom-player[data-v-bcdfd85b]{--play-btn-color: var(--v5a9e689c);--progress-color: var(--v6bf7e675);width:100%;position:relative}.custom-player audio[data-v-bcdfd85b]{display:none}.controls[data-v-bcdfd85b]{display:flex;align-items:center}.play-btn[data-v-bcdfd85b]{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-bcdfd85b]: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-bcdfd85b]: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-bcdfd85b]{flex:1;height:4px;background:#0000001a;border-radius:2px;cursor:pointer}.progress-bar[data-v-bcdfd85b]{height:100%;width:var(--v317312bf);background:var(--progress-color);border-radius:2px;position:relative}.progress-bar[data-v-bcdfd85b]: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-bcdfd85b]:after{opacity:1}.main-audio[data-v-5033a60d]{width:100%;padding:var(--v531bdc3e);--play-btn-color: var(--d014cb56);--progress-color: var(--ca40c048)}.main-select[data-v-571dd7f7]{width:100%;padding:var(--v238a1ca9)}.main-select h3[data-v-571dd7f7],.main-select[data-v-571dd7f7] .ant-form-item{margin:0}.main-select .select-full-width[data-v-571dd7f7]{width:100%}.main-video[data-v-0f3451bb]{width:100%;padding:var(--v52484b0f)}.main-video .custom-video[data-v-0f3451bb]{width:var(--a5745798);height:var(--v3cb48f0e);outline:none;background:#000}.main-input[data-v-5a467bf8]{width:100%;padding:var(--v0cbc7152)}.main-input h3[data-v-5a467bf8],.main-input[data-v-5a467bf8] .ant-form-item{margin:0}.main-button[data-v-a9ba174d]{display:flex;align-items:center;margin:0;width:100%;padding:var(--a09d9796)}.main-enterpriseSearch[data-v-c8667f37]{width:100%;padding:var(--v0fe1127a)}.main-enterpriseSearch h3[data-v-c8667f37],.main-enterpriseSearch[data-v-c8667f37] .ant-form-item{margin:0}.main-enterpriseSearch .select-full-width[data-v-c8667f37]{width:100%}.main-table[data-v-287563f8]{width:100%;padding:var(--v541db8cf);--tbl-font-size: var(--v4a954456);--tbl-cell-padding: var(--v0db5956c)}.main-table[data-v-287563f8] .ant-table{font-size:var(--tbl-font-size)}.main-table[data-v-287563f8] .ant-table-cell{padding:var(--tbl-cell-padding)!important;font-size:var(--tbl-font-size)}.barChart-table[data-v-7dec52de]{width:100%;padding:var(--v69bb11f9)}.barChart-table .chart-container[data-v-7dec52de]{width:var(--fdb12af2);height:var(--ec1226f4)}.pieChart-table[data-v-1b08cbef]{width:100%;padding:var(--v25b54c2e)}.pieChart-table .chart-container[data-v-1b08cbef]{width:var(--v645c6497);height:var(--v0d613476)}.lineChart-table[data-v-98c749fb]{width:100%;padding:var(--v6ebd4fce)}.lineChart-table .chart-container[data-v-98c749fb]{width:var(--v26a8c3dc);height:var(--e20dab4a)}.mian-barChart3d[data-v-248d2e73]{width:var(--a570858a);height:var(--v3c3e1f5c);padding:var(--v7cb5d476);background:#f7f7fc;border-radius:6px}.main-pieChart3d[data-v-98ee1777]{width:var(--v32d4b67a);height:var(--v5b600c6c);padding:var(--v9bd7c186);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-5eba5d7a]{width:100%;border-radius:6px;padding:var(--v214cfc8c)}.main-panorama .panorama-box[data-v-5eba5d7a]{width:var(--a34b451a);height:var(--v0322571a);border-radius:var(--a89180de);overflow:hidden;position:relative;z-index:1}.main-panorama .panorama-box .panorama-box-icon[data-v-5eba5d7a]{position:absolute;right:10px;top:10px;cursor:pointer}.main-panorama .panorama-img[data-v-5eba5d7a]{width:100%;height:100%}.main-icon[data-v-44bda71e]{width:100%;padding:var(--v6be6b256)}.icon-wrapper[data-v-44bda71e]{color:var(--v721317b0);display:flex;justify-content:var(--v3508a8a4);align-items:center;width:100%}.icon-inner[data-v-44bda71e]{width:18px;height:18px}.main-singleColumn[data-v-59fe29b6]{width:100%;background:var(--aef0278a)}.main-singleColumn .box[data-v-59fe29b6]{display:flex;flex-direction:column;width:100%;background:var(--v53508665);border:var(--v1883d8e3);border-radius:var(--v25dbbb55);padding:var(--v7835238c);justify-content:var(--a9b3c500);min-height:var(--v790a2bfc);box-shadow:var(--v351bddd7);overflow:hidden}.main-grid[data-v-ed08be23]{width:100%;background:var(--v5bd67528)}.main-grid .box[data-v-ed08be23]{display:flex;flex-direction:column;width:100%;background:var(--v0ec6abd8);border:var(--v9216a054);border-radius:var(--v47435ff0);padding:var(--v18e114b2);justify-content:var(--v69535d1a);min-height:var(--v9e7e6ba2);box-shadow:var(--v58e6966c);overflow:hidden}.main-grid[data-v-a2abd56b]{width:100%;background:var(--v4ea7c6cc)}.main-grid .box[data-v-a2abd56b]{display:flex;flex-direction:column;width:100%;background:var(--v717295b4);border:var(--v3ff7e7b2);border-radius:var(--v43b732e4);padding:var(--ea198d6a);justify-content:var(--v7ffc2562);min-height:var(--v037b965a);box-shadow:var(--v5c8feca6);overflow:hidden}.main-grid .expand-more[data-v-a2abd56b]{text-align:center;padding:12px 0;cursor:pointer;color:#1677ff;font-size:14px;transition:color .3s}.main-grid .expand-more[data-v-a2abd56b]:hover{color:#4096ff}.expand-list-container[data-v-a2abd56b]{width:100%}.expand-list-group[data-v-a2abd56b]{display:contents}.expand-list-enter-active[data-v-a2abd56b]{transition:all .4s cubic-bezier(.4,0,.2,1);opacity:0;transform:translateY(-20px)}.expand-list-enter-to[data-v-a2abd56b]{opacity:1;transform:translateY(0)}.expand-list-enter-from[data-v-a2abd56b]{opacity:0;transform:translateY(-20px)}.expand-list-move[data-v-a2abd56b]{transition:transform .4s cubic-bezier(.4,0,.2,1)}.expand-col-item[data-v-a2abd56b]{transition:opacity .3s ease,transform .3s ease}.fade-enter-active[data-v-a2abd56b],.fade-leave-active[data-v-a2abd56b]{transition:opacity .3s ease}.fade-enter-from[data-v-a2abd56b],.fade-leave-to[data-v-a2abd56b]{opacity:0}.main-grid[data-v-eba68839]{width:100%;background:var(--e795ea16)}.main-grid .box[data-v-eba68839]{display:flex;flex-direction:column;width:100%;background:var(--v52f0af2a);border:var(--v35f8ede9);border-radius:var(--v905b184a);padding:var(--v5512f9f4);justify-content:var(--cb5e66f4);min-height:var(--v81172188);box-shadow:var(--v5290f2dd);overflow:hidden}.main-grid .expand-more[data-v-eba68839]{text-align:center;padding:12px 0;cursor:pointer;color:#1677ff;font-size:14px;transition:color .3s}.main-grid .expand-more[data-v-eba68839]:hover{color:#4096ff}.expand-list-container[data-v-eba68839]{width:100%}.expand-list-group[data-v-eba68839]{display:contents}.expand-list-enter-active[data-v-eba68839]{transition:all .4s cubic-bezier(.4,0,.2,1);opacity:0;transform:translateY(-20px)}.expand-list-enter-to[data-v-eba68839]{opacity:1;transform:translateY(0)}.expand-list-enter-from[data-v-eba68839]{opacity:0;transform:translateY(-20px)}.expand-list-move[data-v-eba68839]{transition:transform .4s cubic-bezier(.4,0,.2,1)}.expand-col-item[data-v-eba68839]{transition:opacity .3s ease,transform .3s ease}.fade-enter-active[data-v-eba68839],.fade-leave-active[data-v-eba68839]{transition:opacity .3s ease}.fade-enter-from[data-v-eba68839],.fade-leave-to[data-v-eba68839]{opacity:0}.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.2.2",
3
+ "version": "1.2.4",
4
4
  "private": false,
5
5
  "description": "Vue3 卡片设计组件库,支持 PC 和移动端预览",
6
6
  "keywords": [