sun-card-design 1.1.41 → 1.1.43

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 (30) hide show
  1. package/dist/mobile/sun-card-design-mobile.es21.js +3 -2
  2. package/dist/mobile/sun-card-design-mobile.es23.js +3 -2
  3. package/dist/mobile/sun-card-design-mobile.es25.js +6 -6
  4. package/dist/mobile/sun-card-design-mobile.es32.js +1 -1
  5. package/dist/mobile/sun-card-design-mobile.es51.js +4 -0
  6. package/dist/mobile/sun-card-design-mobile.es56.js +207 -45
  7. package/dist/mobile/sun-card-design-mobile.es57.js +45 -207
  8. package/dist/mobile/sun-card-design-mobile.es58.js +70 -47
  9. package/dist/mobile/sun-card-design-mobile.es59.js +20 -9
  10. package/dist/mobile/sun-card-design-mobile.es60.js +7 -7
  11. package/dist/mobile/sun-card-design-mobile.es61.js +5 -5
  12. package/dist/mobile/sun-card-design-mobile.es62.js +5 -5
  13. package/dist/mobile/sun-card-design-mobile.es63.js +98 -0
  14. package/dist/pc/sun-card-design-pc.es21.js +3 -2
  15. package/dist/pc/sun-card-design-pc.es23.js +3 -2
  16. package/dist/pc/sun-card-design-pc.es25.js +6 -6
  17. package/dist/pc/sun-card-design-pc.es32.js +1 -1
  18. package/dist/pc/sun-card-design-pc.es51.js +4 -0
  19. package/dist/pc/sun-card-design-pc.es56.js +207 -45
  20. package/dist/pc/sun-card-design-pc.es57.js +47 -70
  21. package/dist/pc/sun-card-design-pc.es58.js +9 -20
  22. package/dist/pc/sun-card-design-pc.es59.js +7 -7
  23. package/dist/pc/sun-card-design-pc.es60.js +5 -5
  24. package/dist/pc/sun-card-design-pc.es61.js +98 -0
  25. package/dist/public/sun-card-design.css +1 -1
  26. package/package.json +1 -1
  27. package/dist/mobile/sun-card-design-mobile.es55.js +0 -226
  28. package/dist/pc/sun-card-design-pc.es55.js +0 -226
  29. /package/dist/mobile/{sun-card-design-mobile.es65.js → sun-card-design-mobile.es66.js} +0 -0
  30. /package/dist/pc/{sun-card-design-pc.es65.js → sun-card-design-pc.es66.js} +0 -0
@@ -1,64 +1,87 @@
1
- import { markRaw, defineComponent, h, computed, createElementBlock, openBlock, normalizeStyle, createElementVNode, createBlock, resolveDynamicComponent } from "vue";
2
- import * as Icons from "@ant-design/icons-vue";
3
- import { customIcon } from "./sun-card-design-mobile.es65.js";
1
+ import { resolveComponent, createElementBlock, openBlock, normalizeStyle, createVNode, withCtx, Fragment, renderList, createBlock, createElementVNode } from "vue";
2
+ import FormItem from "./sun-card-design-mobile.es25.js";
4
3
  /* empty css */
5
4
  import _export_sfc from "./sun-card-design-mobile.es28.js";
6
5
  const _sfc_main = {
7
- __name: "sunIconComp",
8
- props: ["record"],
9
- emits: ["clickEvent"],
6
+ __name: "singleColumn",
7
+ props: ["record", "recordData", "columnsIndex"],
8
+ emits: ["clickEvent", "clickColumnsEvent", "fileUpdateEvent"],
10
9
  setup(__props, { emit: __emit }) {
11
10
  const props = __props;
12
11
  const emit = __emit;
13
- const customIconComponents = Object.entries(customIcon || {}).reduce((acc, [key, svg]) => {
14
- const normalized = svg.replace(/fill="#000000"/gi, 'fill="currentColor"');
15
- acc[key] = markRaw(
16
- defineComponent({
17
- name: `CustomIcon${key}`,
18
- setup() {
19
- return () => h("span", { innerHTML: normalized });
20
- }
21
- })
22
- );
23
- return acc;
24
- }, {});
25
- const iconMap = { ...Icons, ...customIconComponents };
26
- const iconComponent = computed(() => {
27
- const name = props?.record?.options?.style?.iconName || "CheckCircleOutlined";
28
- return iconMap[name] || Icons["CheckCircleOutlined"];
29
- });
30
- const iconStyle = computed(() => {
31
- const color = props?.record?.options?.style?.color || "#000000";
32
- const justifyContent = props?.record?.options?.style?.justifyContent || "flex-start";
33
- return {
34
- color,
35
- display: "flex",
36
- justifyContent,
37
- alignItems: "center",
38
- width: "100%"
39
- };
40
- });
41
- function onClick() {
42
- if (props.record.options.clickEvent) {
43
- emit("clickEvent", props.record);
12
+ const onClick = (record) => {
13
+ emit("clickEvent", record);
14
+ };
15
+ const onUpdate = (record) => {
16
+ emit("fileUpdateEvent", record);
17
+ };
18
+ const onClickColumns = (record) => {
19
+ if (!record.options.clickEvent) return;
20
+ emit("clickColumnsEvent", record);
21
+ };
22
+ const getBackground = () => {
23
+ if (isGradientColor(props.recordData.config.background)) {
24
+ return "none";
44
25
  }
26
+ return props.recordData.config.background;
27
+ };
28
+ function isGradientColor(color) {
29
+ return /^(linear|radial)-gradient\(.*\)$/.test(color);
45
30
  }
46
31
  return (_ctx, _cache) => {
32
+ const _component_a_col = resolveComponent("a-col");
33
+ const _component_a_row = resolveComponent("a-row");
47
34
  return openBlock(), createElementBlock("div", {
48
- class: "main-icon",
49
- style: normalizeStyle({ padding: `${props.record.options?.style?.tbPadding || 0}px ${props.record.options?.style?.lrPadding || 0}px` })
35
+ class: "main-singleColumn",
36
+ style: normalizeStyle({ background: getBackground() })
50
37
  }, [
51
- createElementVNode("span", {
52
- style: normalizeStyle(iconStyle.value),
53
- onClick
54
- }, [
55
- (openBlock(), createBlock(resolveDynamicComponent(iconComponent.value), { style: { "height": "18px", "width": "18px" } }))
56
- ], 4)
38
+ createVNode(_component_a_row, {
39
+ gutter: [props.record.options.style.lrGutter, props.record.options.style.tbGutter]
40
+ }, {
41
+ default: withCtx(() => [
42
+ (openBlock(true), createElementBlock(Fragment, null, renderList(props.record.columns, (item, index) => {
43
+ return openBlock(), createBlock(_component_a_col, {
44
+ key: index.toString(),
45
+ flex: props.record.columns[index]?.flex,
46
+ span: 24
47
+ }, {
48
+ default: withCtx(() => [
49
+ createElementVNode("div", {
50
+ class: "box",
51
+ style: normalizeStyle({
52
+ background: props.record.options.style?.background,
53
+ border: props.record.options.style?.borderColor === "none" ? "none" : "1px solid " + (props.record.options.style?.borderColor || "transparent"),
54
+ borderRadius: props.record.options.style?.borderRadius + "px",
55
+ padding: props.record.options.style?.tbPadding + "px " + props.record.options.style?.lrPadding + "px",
56
+ justifyContent: props.record.options.style?.alignItems || "start",
57
+ minHeight: props.record.options.style?.minHeight + "px" || "48px",
58
+ boxShadow: props.record.options.style?.boxShadow || null
59
+ })
60
+ }, [
61
+ (openBlock(true), createElementBlock(Fragment, null, renderList(item.list, (element, index2) => {
62
+ return openBlock(), createBlock(FormItem, {
63
+ record: element,
64
+ key: index2,
65
+ recordData: props.recordData,
66
+ columnsIndex: props.columnsIndex,
67
+ onClickEvent: onClick,
68
+ onFileUpdateEvent: onUpdate,
69
+ onClickColumnsEvent: onClickColumns
70
+ }, null, 8, ["record", "recordData", "columnsIndex"]);
71
+ }), 128))
72
+ ], 4)
73
+ ]),
74
+ _: 2
75
+ }, 1032, ["flex"]);
76
+ }), 128))
77
+ ]),
78
+ _: 1
79
+ }, 8, ["gutter"])
57
80
  ], 4);
58
81
  };
59
82
  }
60
83
  };
61
- const SunIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4b920fa7"]]);
84
+ const SingleColumn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1fc2bfb4"]]);
62
85
  export {
63
- SunIcon as default
86
+ SingleColumn as default
64
87
  };
@@ -2,13 +2,20 @@ import { resolveComponent, createElementBlock, openBlock, normalizeStyle, create
2
2
  import FormItem from "./sun-card-design-mobile.es25.js";
3
3
  /* empty css */
4
4
  import _export_sfc from "./sun-card-design-mobile.es28.js";
5
+ const _hoisted_1 = ["onClick"];
5
6
  const _sfc_main = {
6
- __name: "singleColumn",
7
+ __name: "multipleColumn",
7
8
  props: ["record", "recordData", "columnsIndex"],
8
9
  emits: ["clickEvent", "clickColumnsEvent", "fileUpdateEvent"],
9
10
  setup(__props, { emit: __emit }) {
10
11
  const props = __props;
11
12
  const emit = __emit;
13
+ const getIndex = (index) => {
14
+ if (index !== void 0) {
15
+ return index;
16
+ }
17
+ return props.columnsIndex;
18
+ };
12
19
  const onClick = (record) => {
13
20
  emit("clickEvent", record);
14
21
  };
@@ -32,7 +39,7 @@ const _sfc_main = {
32
39
  const _component_a_col = resolveComponent("a-col");
33
40
  const _component_a_row = resolveComponent("a-row");
34
41
  return openBlock(), createElementBlock("div", {
35
- class: "main-singleColumn",
42
+ class: "main-grid",
36
43
  style: normalizeStyle({ background: getBackground() })
37
44
  }, [
38
45
  createVNode(_component_a_row, {
@@ -43,7 +50,10 @@ const _sfc_main = {
43
50
  return openBlock(), createBlock(_component_a_col, {
44
51
  key: index.toString(),
45
52
  flex: props.record.columns[index]?.flex,
46
- span: 24
53
+ span: 24,
54
+ style: normalizeStyle({
55
+ flex: props.record.columns[index]?.flex
56
+ })
47
57
  }, {
48
58
  default: withCtx(() => [
49
59
  createElementVNode("div", {
@@ -56,23 +66,24 @@ const _sfc_main = {
56
66
  justifyContent: props.record.options.style?.alignItems || "start",
57
67
  minHeight: props.record.options.style?.minHeight + "px" || "48px",
58
68
  boxShadow: props.record.options.style?.boxShadow || null
59
- })
69
+ }),
70
+ onClick: ($event) => onClickColumns(item)
60
71
  }, [
61
72
  (openBlock(true), createElementBlock(Fragment, null, renderList(item.list, (element, index2) => {
62
73
  return openBlock(), createBlock(FormItem, {
63
74
  record: element,
64
75
  key: index2,
65
76
  recordData: props.recordData,
66
- columnsIndex: props.columnsIndex,
77
+ columnsIndex: getIndex(item.index),
67
78
  onClickEvent: onClick,
68
79
  onFileUpdateEvent: onUpdate,
69
80
  onClickColumnsEvent: onClickColumns
70
81
  }, null, 8, ["record", "recordData", "columnsIndex"]);
71
82
  }), 128))
72
- ], 4)
83
+ ], 12, _hoisted_1)
73
84
  ]),
74
85
  _: 2
75
- }, 1032, ["flex"]);
86
+ }, 1032, ["flex", "style"]);
76
87
  }), 128))
77
88
  ]),
78
89
  _: 1
@@ -81,7 +92,7 @@ const _sfc_main = {
81
92
  };
82
93
  }
83
94
  };
84
- const SingleColumn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1fc2bfb4"]]);
95
+ const MultipleColumn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-20b79e7a"]]);
85
96
  export {
86
- SingleColumn as default
97
+ MultipleColumn as default
87
98
  };
@@ -1,10 +1,10 @@
1
- import { resolveComponent, createElementBlock, openBlock, normalizeStyle, createVNode, withCtx, Fragment, renderList, createBlock, createElementVNode } from "vue";
1
+ import { resolveComponent, createElementBlock, openBlock, normalizeStyle, createVNode, withCtx, Fragment, renderList, createBlock, createElementVNode, normalizeClass } from "vue";
2
2
  import FormItem from "./sun-card-design-mobile.es25.js";
3
3
  /* empty css */
4
4
  import _export_sfc from "./sun-card-design-mobile.es28.js";
5
5
  const _hoisted_1 = ["onClick"];
6
6
  const _sfc_main = {
7
- __name: "multipleColumn",
7
+ __name: "multipleLine",
8
8
  props: ["record", "recordData", "columnsIndex"],
9
9
  emits: ["clickEvent", "clickColumnsEvent", "fileUpdateEvent"],
10
10
  setup(__props, { emit: __emit }) {
@@ -52,12 +52,12 @@ const _sfc_main = {
52
52
  flex: props.record.columns[index]?.flex,
53
53
  span: 24,
54
54
  style: normalizeStyle({
55
- flex: props.record.columns[index]?.flex
55
+ flex: _ctx.none
56
56
  })
57
57
  }, {
58
58
  default: withCtx(() => [
59
59
  createElementVNode("div", {
60
- class: "box",
60
+ class: normalizeClass(["box", { active: _ctx.currentUuid === item.uuid }]),
61
61
  style: normalizeStyle({
62
62
  background: props.record.options.style?.background,
63
63
  border: props.record.options.style?.borderColor === "none" ? "none" : "1px solid " + (props.record.options.style?.borderColor || "transparent"),
@@ -80,7 +80,7 @@ const _sfc_main = {
80
80
  onClickColumnsEvent: onClickColumns
81
81
  }, null, 8, ["record", "recordData", "columnsIndex"]);
82
82
  }), 128))
83
- ], 12, _hoisted_1)
83
+ ], 14, _hoisted_1)
84
84
  ]),
85
85
  _: 2
86
86
  }, 1032, ["flex", "style"]);
@@ -92,7 +92,7 @@ const _sfc_main = {
92
92
  };
93
93
  }
94
94
  };
95
- const MultipleColumn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-20b79e7a"]]);
95
+ const MultipleLine = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c1ba89a8"]]);
96
96
  export {
97
- MultipleColumn as default
97
+ MultipleLine as default
98
98
  };
@@ -4,7 +4,7 @@ import FormItem from "./sun-card-design-mobile.es25.js";
4
4
  import _export_sfc from "./sun-card-design-mobile.es28.js";
5
5
  const _hoisted_1 = ["onClick"];
6
6
  const _sfc_main = {
7
- __name: "multipleLine",
7
+ __name: "gridList",
8
8
  props: ["record", "recordData", "columnsIndex"],
9
9
  emits: ["clickEvent", "clickColumnsEvent", "fileUpdateEvent"],
10
10
  setup(__props, { emit: __emit }) {
@@ -50,7 +50,7 @@ const _sfc_main = {
50
50
  return openBlock(), createBlock(_component_a_col, {
51
51
  key: index.toString(),
52
52
  flex: props.record.columns[index]?.flex,
53
- span: 24,
53
+ span: 24 / props.record.options.autoNumber,
54
54
  style: normalizeStyle({
55
55
  flex: _ctx.none
56
56
  })
@@ -83,7 +83,7 @@ const _sfc_main = {
83
83
  ], 14, _hoisted_1)
84
84
  ]),
85
85
  _: 2
86
- }, 1032, ["flex", "style"]);
86
+ }, 1032, ["flex", "span", "style"]);
87
87
  }), 128))
88
88
  ]),
89
89
  _: 1
@@ -92,7 +92,7 @@ const _sfc_main = {
92
92
  };
93
93
  }
94
94
  };
95
- const MultipleLine = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c1ba89a8"]]);
95
+ const GridList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c6c62c4f"]]);
96
96
  export {
97
- MultipleLine as default
97
+ GridList as default
98
98
  };
@@ -4,7 +4,7 @@ import FormItem from "./sun-card-design-mobile.es25.js";
4
4
  import _export_sfc from "./sun-card-design-mobile.es28.js";
5
5
  const _hoisted_1 = ["onClick"];
6
6
  const _sfc_main = {
7
- __name: "gridList",
7
+ __name: "multipleLine",
8
8
  props: ["record", "recordData", "columnsIndex"],
9
9
  emits: ["clickEvent", "clickColumnsEvent", "fileUpdateEvent"],
10
10
  setup(__props, { emit: __emit }) {
@@ -50,7 +50,7 @@ const _sfc_main = {
50
50
  return openBlock(), createBlock(_component_a_col, {
51
51
  key: index.toString(),
52
52
  flex: props.record.columns[index]?.flex,
53
- span: 24 / props.record.options.autoNumber,
53
+ span: 24,
54
54
  style: normalizeStyle({
55
55
  flex: _ctx.none
56
56
  })
@@ -83,7 +83,7 @@ const _sfc_main = {
83
83
  ], 14, _hoisted_1)
84
84
  ]),
85
85
  _: 2
86
- }, 1032, ["flex", "span", "style"]);
86
+ }, 1032, ["flex", "style"]);
87
87
  }), 128))
88
88
  ]),
89
89
  _: 1
@@ -92,7 +92,7 @@ const _sfc_main = {
92
92
  };
93
93
  }
94
94
  };
95
- const GridList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c6c62c4f"]]);
95
+ const MultipleLine = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c1ba89a8"]]);
96
96
  export {
97
- GridList as default
97
+ MultipleLine as default
98
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
+ };
@@ -2,6 +2,7 @@ import { ref, computed, onMounted, onUnmounted, createElementBlock, openBlock, n
2
2
  import * as THREE from "three";
3
3
  import { OrbitControls } from "three/examples/jsm/controls/OrbitControls.js";
4
4
  import { CSS2DRenderer, CSS2DObject } from "three/examples/jsm/renderers/CSS2DRenderer.js";
5
+ import Pic1 from "./sun-card-design-pc.es51.js";
5
6
  /* empty css */
6
7
  import _export_sfc from "./sun-card-design-pc.es28.js";
7
8
  const _sfc_main = {
@@ -61,7 +62,7 @@ const _sfc_main = {
61
62
  renderer.outputColorSpace = THREE.SRGBColorSpace;
62
63
  containerRef.value.appendChild(renderer.domElement);
63
64
  try {
64
- const jpgUrl = new URL("/assets/pic1.jpg", import.meta.url).href;
65
+ const jpgUrl = new URL(Pic1, import.meta.url).href;
65
66
  const textureLoader = new THREE.TextureLoader();
66
67
  textureLoader.load(
67
68
  jpgUrl,
@@ -369,7 +370,7 @@ const _sfc_main = {
369
370
  };
370
371
  }
371
372
  };
372
- const BarChart3D = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8a4e4da8"]]);
373
+ const BarChart3D = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1c984e5e"]]);
373
374
  export {
374
375
  BarChart3D as default
375
376
  };
@@ -2,6 +2,7 @@ import { ref, computed, onMounted, onUnmounted, createElementBlock, openBlock, n
2
2
  import * as THREE from "three";
3
3
  import { OrbitControls } from "three/examples/jsm/controls/OrbitControls.js";
4
4
  import { CSS2DRenderer, CSS2DObject } from "three/examples/jsm/renderers/CSS2DRenderer.js";
5
+ import Pic1 from "./sun-card-design-pc.es51.js";
5
6
  /* empty css */
6
7
  import _export_sfc from "./sun-card-design-pc.es28.js";
7
8
  const _sfc_main = {
@@ -72,7 +73,7 @@ const _sfc_main = {
72
73
  renderer.outputColorSpace = THREE.SRGBColorSpace;
73
74
  containerRef.value.appendChild(renderer.domElement);
74
75
  try {
75
- const jpgUrl = new URL("/assets/pic1.jpg", import.meta.url).href;
76
+ const jpgUrl = new URL(Pic1, import.meta.url).href;
76
77
  const textureLoader = new THREE.TextureLoader();
77
78
  textureLoader.load(
78
79
  jpgUrl,
@@ -342,7 +343,7 @@ const _sfc_main = {
342
343
  };
343
344
  }
344
345
  };
345
- const PieChart3D = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-26df6fca"]]);
346
+ const PieChart3D = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c0e183de"]]);
346
347
  export {
347
348
  PieChart3D as default
348
349
  };
@@ -4,7 +4,7 @@ import Text from "./sun-card-design-pc.es4.js";
4
4
  import Button from "./sun-card-design-pc.es5.js";
5
5
  import Grid from "./sun-card-design-pc.es15.js";
6
6
  import File from "./sun-card-design-pc.es7.js";
7
- import Upload from "./sun-card-design-pc.es55.js";
7
+ import Upload from "./sun-card-design-pc.es56.js";
8
8
  import Picture from "./sun-card-design-pc.es6.js";
9
9
  import Tag from "./sun-card-design-pc.es11.js";
10
10
  import Rate from "./sun-card-design-pc.es10.js";
@@ -22,11 +22,11 @@ import LineChart from "./sun-card-design-pc.es24.js";
22
22
  import BarChart3D from "./sun-card-design-pc.es21.js";
23
23
  import PieChart3D from "./sun-card-design-pc.es23.js";
24
24
  import Panorama from "./sun-card-design-pc.es13.js";
25
- import SunIcon from "./sun-card-design-pc.es56.js";
26
- import SingleColumn from "./sun-card-design-pc.es57.js";
27
- import MultipleColumn from "./sun-card-design-pc.es58.js";
28
- import MultipleLine from "./sun-card-design-pc.es59.js";
29
- import GridList from "./sun-card-design-pc.es60.js";
25
+ import SunIcon from "./sun-card-design-pc.es57.js";
26
+ import SingleColumn from "./sun-card-design-pc.es58.js";
27
+ import MultipleColumn from "./sun-card-design-pc.es59.js";
28
+ import MultipleLine from "./sun-card-design-pc.es60.js";
29
+ import GridList from "./sun-card-design-pc.es61.js";
30
30
  /* empty css */
31
31
  import _export_sfc from "./sun-card-design-pc.es28.js";
32
32
  const _hoisted_1 = {