sun-card-design 1.1.10 → 1.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mobile/sun-card-design-mobile.es10.js +1 -1
- package/dist/mobile/sun-card-design-mobile.es11.js +1 -1
- package/dist/mobile/sun-card-design-mobile.es12.js +1 -1
- package/dist/mobile/sun-card-design-mobile.es13.js +3 -3
- package/dist/mobile/sun-card-design-mobile.es14.js +1 -1
- package/dist/mobile/sun-card-design-mobile.es15.js +1 -1
- package/dist/mobile/sun-card-design-mobile.es16.js +1 -1
- package/dist/mobile/sun-card-design-mobile.es17.js +1 -1
- package/dist/mobile/sun-card-design-mobile.es18.js +1 -1
- package/dist/mobile/sun-card-design-mobile.es19.js +1 -1
- package/dist/mobile/sun-card-design-mobile.es2.js +39 -23
- package/dist/mobile/sun-card-design-mobile.es20.js +1 -1
- package/dist/mobile/sun-card-design-mobile.es21.js +3 -3
- package/dist/mobile/sun-card-design-mobile.es22.js +1 -1
- package/dist/mobile/sun-card-design-mobile.es23.js +3 -3
- package/dist/mobile/sun-card-design-mobile.es24.js +1 -1
- package/dist/mobile/sun-card-design-mobile.es25.js +9 -3
- package/dist/mobile/sun-card-design-mobile.es27.js +54 -0
- package/dist/mobile/sun-card-design-mobile.es3.js +1 -1
- package/dist/mobile/sun-card-design-mobile.es33.js +2 -35
- package/dist/mobile/sun-card-design-mobile.es35.js +7 -34
- package/dist/mobile/sun-card-design-mobile.es38.js +120 -32
- package/dist/mobile/sun-card-design-mobile.es4.js +1 -1
- package/dist/mobile/{sun-card-design-mobile.es49.js → sun-card-design-mobile.es43.js} +3 -3
- package/dist/mobile/sun-card-design-mobile.es5.js +2 -8
- package/dist/mobile/{sun-card-design-mobile.es64.js → sun-card-design-mobile.es56.js} +2 -2
- package/dist/mobile/sun-card-design-mobile.es57.js +49 -0
- package/dist/mobile/sun-card-design-mobile.es6.js +2 -2
- package/dist/mobile/sun-card-design-mobile.es7.js +2 -2
- package/dist/mobile/sun-card-design-mobile.es8.js +1 -1
- package/dist/mobile/sun-card-design-mobile.es9.js +2 -2
- package/dist/pc/sun-card-design-pc.es10.js +1 -1
- package/dist/pc/sun-card-design-pc.es11.js +1 -1
- package/dist/pc/sun-card-design-pc.es12.js +1 -1
- package/dist/pc/sun-card-design-pc.es13.js +3 -3
- package/dist/pc/sun-card-design-pc.es14.js +1 -1
- package/dist/pc/sun-card-design-pc.es15.js +1 -1
- package/dist/pc/sun-card-design-pc.es16.js +1 -1
- package/dist/pc/sun-card-design-pc.es17.js +1 -1
- package/dist/pc/sun-card-design-pc.es18.js +1 -1
- package/dist/pc/sun-card-design-pc.es19.js +1 -1
- package/dist/pc/sun-card-design-pc.es2.js +33 -22
- package/dist/pc/sun-card-design-pc.es20.js +1 -1
- package/dist/pc/sun-card-design-pc.es21.js +3 -3
- package/dist/pc/sun-card-design-pc.es22.js +1 -1
- package/dist/pc/sun-card-design-pc.es23.js +3 -3
- package/dist/pc/sun-card-design-pc.es24.js +1 -1
- package/dist/pc/sun-card-design-pc.es25.js +9 -3
- package/dist/pc/sun-card-design-pc.es27.js +54 -0
- package/dist/pc/sun-card-design-pc.es3.js +1 -1
- package/dist/pc/sun-card-design-pc.es33.js +2 -35
- package/dist/pc/sun-card-design-pc.es35.js +7 -34
- package/dist/pc/sun-card-design-pc.es38.js +120 -32
- package/dist/pc/sun-card-design-pc.es4.js +1 -1
- package/dist/pc/{sun-card-design-pc.es49.js → sun-card-design-pc.es43.js} +3 -3
- package/dist/pc/sun-card-design-pc.es5.js +2 -8
- package/dist/pc/{sun-card-design-pc.es64.js → sun-card-design-pc.es56.js} +2 -2
- package/dist/pc/sun-card-design-pc.es57.js +49 -0
- package/dist/pc/sun-card-design-pc.es6.js +2 -2
- package/dist/pc/sun-card-design-pc.es7.js +2 -2
- package/dist/pc/sun-card-design-pc.es8.js +1 -1
- package/dist/pc/sun-card-design-pc.es9.js +2 -2
- package/dist/sun-card-design.css +1 -1
- package/package.json +48 -16
- package/dist/mobile/sun-card-design-mobile.es32.js +0 -37
- package/dist/mobile/sun-card-design-mobile.es34.js +0 -37
- package/dist/mobile/sun-card-design-mobile.es36.js +0 -37
- package/dist/mobile/sun-card-design-mobile.es37.js +0 -37
- package/dist/mobile/sun-card-design-mobile.es39.js +0 -4
- package/dist/mobile/sun-card-design-mobile.es41.js +0 -10
- package/dist/mobile/sun-card-design-mobile.es44.js +0 -125
- package/dist/mobile/sun-card-design-mobile.es58.js +0 -842
- package/dist/mobile/sun-card-design-mobile.es59.js +0 -139
- package/dist/mobile/sun-card-design-mobile.es67.js +0 -37
- package/dist/mobile/sun-card-design-mobile.es68.js +0 -37
- package/dist/mobile/sun-card-design-mobile.es70.js +0 -37
- package/dist/mobile/sun-card-design-mobile.es71.js +0 -68
- package/dist/mobile/sun-card-design-mobile.es72.js +0 -107
- package/dist/mobile/sun-card-design-mobile.es73.js +0 -85
- package/dist/mobile/sun-card-design-mobile.es74.js +0 -4
- package/dist/mobile/sun-card-design-mobile.es75.js +0 -148
- package/dist/mobile/sun-card-design-mobile.es76.js +0 -4
- package/dist/mobile/sun-card-design-mobile.es77.js +0 -4
- package/dist/mobile/sun-card-design-mobile.es78.js +0 -4
- package/dist/mobile/sun-card-design-mobile.es79.js +0 -4
- package/dist/mobile/sun-card-design-mobile.es80.js +0 -4
- package/dist/mobile/sun-card-design-mobile.es81.js +0 -4
- package/dist/mobile/sun-card-design-mobile.es82.js +0 -4
- package/dist/mobile/sun-card-design-mobile.es83.js +0 -4
- package/dist/mobile/sun-card-design-mobile.es84.js +0 -175
- package/dist/mobile/sun-card-design-mobile.es85.js +0 -44
- package/dist/mobile/sun-card-design-mobile.es86.js +0 -148
- package/dist/mobile/sun-card-design-mobile.es87.js +0 -112
- package/dist/mobile/sun-card-design-mobile.es88.js +0 -153
- package/dist/mobile/sun-card-design-mobile.es89.js +0 -49
- package/dist/mobile/sun-card-design-mobile.es90.js +0 -153
- package/dist/mobile/sun-card-design-mobile.es91.js +0 -49
- package/dist/pc/sun-card-design-pc.es32.js +0 -37
- package/dist/pc/sun-card-design-pc.es34.js +0 -37
- package/dist/pc/sun-card-design-pc.es36.js +0 -37
- package/dist/pc/sun-card-design-pc.es37.js +0 -37
- package/dist/pc/sun-card-design-pc.es39.js +0 -4
- package/dist/pc/sun-card-design-pc.es41.js +0 -10
- package/dist/pc/sun-card-design-pc.es44.js +0 -125
- package/dist/pc/sun-card-design-pc.es58.js +0 -842
- package/dist/pc/sun-card-design-pc.es59.js +0 -139
- package/dist/pc/sun-card-design-pc.es68.js +0 -37
- package/dist/pc/sun-card-design-pc.es70.js +0 -37
- package/dist/pc/sun-card-design-pc.es71.js +0 -68
- package/dist/pc/sun-card-design-pc.es72.js +0 -107
- package/dist/pc/sun-card-design-pc.es73.js +0 -85
- package/dist/pc/sun-card-design-pc.es74.js +0 -4
- package/dist/pc/sun-card-design-pc.es75.js +0 -148
- package/dist/pc/sun-card-design-pc.es76.js +0 -4
- package/dist/pc/sun-card-design-pc.es77.js +0 -4
- package/dist/pc/sun-card-design-pc.es78.js +0 -4
- package/dist/pc/sun-card-design-pc.es79.js +0 -4
- package/dist/pc/sun-card-design-pc.es80.js +0 -4
- package/dist/pc/sun-card-design-pc.es81.js +0 -4
- package/dist/pc/sun-card-design-pc.es82.js +0 -4
- package/dist/pc/sun-card-design-pc.es83.js +0 -4
- package/dist/pc/sun-card-design-pc.es84.js +0 -175
- package/dist/pc/sun-card-design-pc.es85.js +0 -44
- package/dist/pc/sun-card-design-pc.es86.js +0 -148
- package/dist/pc/sun-card-design-pc.es87.js +0 -112
- package/dist/pc/sun-card-design-pc.es88.js +0 -153
- package/dist/pc/sun-card-design-pc.es89.js +0 -49
- package/dist/pc/sun-card-design-pc.es90.js +0 -153
- package/dist/pc/sun-card-design-pc.es91.js +0 -49
- /package/dist/mobile/{sun-card-design-mobile.es28.js → sun-card-design-mobile.es29.js} +0 -0
- /package/dist/pc/{sun-card-design-pc.es28.js → sun-card-design-pc.es29.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolveComponent, createElementBlock, openBlock, createElementVNode, createVNode, unref } from "vue";
|
|
2
2
|
import { renderTextByVariables } from "./sun-card-design-mobile.es26.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import _export_sfc from "./sun-card-design-mobile.
|
|
4
|
+
import _export_sfc from "./sun-card-design-mobile.es29.js";
|
|
5
5
|
const _hoisted_1 = { class: "main-rate" };
|
|
6
6
|
const _sfc_main = {
|
|
7
7
|
__name: "rateComp",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolveComponent, createElementBlock, openBlock, createElementVNode, createVNode, normalizeStyle, withCtx, createTextVNode, toDisplayString, unref } from "vue";
|
|
2
2
|
import { renderTextByVariables } from "./sun-card-design-mobile.es26.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import _export_sfc from "./sun-card-design-mobile.
|
|
4
|
+
import _export_sfc from "./sun-card-design-mobile.es29.js";
|
|
5
5
|
const _hoisted_1 = { class: "main-tag" };
|
|
6
6
|
const _sfc_main = {
|
|
7
7
|
__name: "tagComp",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { resolveComponent, createElementBlock, openBlock, createElementVNode, createVNode, normalizeStyle } from "vue";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import _export_sfc from "./sun-card-design-mobile.
|
|
3
|
+
import _export_sfc from "./sun-card-design-mobile.es29.js";
|
|
4
4
|
const _hoisted_1 = { class: "main-divider" };
|
|
5
5
|
const _sfc_main = {
|
|
6
6
|
__name: "dividerComp",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref, computed, resolveComponent, createElementBlock, openBlock, Fragment, createElementVNode, createVNode, normalizeStyle, withCtx, unref, createTextVNode } from "vue";
|
|
2
|
-
import { panoramaSvg } from "./sun-card-design-mobile.
|
|
3
|
-
import PanoramaView from "./sun-card-design-mobile.
|
|
2
|
+
import { panoramaSvg } from "./sun-card-design-mobile.es35.js";
|
|
3
|
+
import PanoramaView from "./sun-card-design-mobile.es43.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import _export_sfc from "./sun-card-design-mobile.
|
|
5
|
+
import _export_sfc from "./sun-card-design-mobile.es29.js";
|
|
6
6
|
const _hoisted_1 = { class: "main-panorama" };
|
|
7
7
|
const _hoisted_2 = ["src"];
|
|
8
8
|
const _hoisted_3 = ["innerHTML"];
|
|
@@ -2,7 +2,7 @@ import { resolveComponent, createElementBlock, openBlock, createVNode, withCtx,
|
|
|
2
2
|
import html2canvas from "html2canvas";
|
|
3
3
|
import { renderTextByVariables } from "./sun-card-design-mobile.es26.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import _export_sfc from "./sun-card-design-mobile.
|
|
5
|
+
import _export_sfc from "./sun-card-design-mobile.es29.js";
|
|
6
6
|
const _hoisted_1 = { class: "main-button" };
|
|
7
7
|
const _sfc_main = {
|
|
8
8
|
__name: "generateImgComp",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolveComponent, createElementBlock, openBlock, createVNode, withCtx, Fragment, renderList, createBlock, normalizeStyle, createElementVNode } from "vue";
|
|
2
2
|
import FormItem from "./sun-card-design-mobile.es25.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import _export_sfc from "./sun-card-design-mobile.
|
|
4
|
+
import _export_sfc from "./sun-card-design-mobile.es29.js";
|
|
5
5
|
const _hoisted_1 = { class: "main-grid" };
|
|
6
6
|
const _sfc_main = {
|
|
7
7
|
__name: "gridComp",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolveComponent, createElementBlock, openBlock, createVNode, withCtx, unref } from "vue";
|
|
2
2
|
import { renderTextByVariables } from "./sun-card-design-mobile.es26.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import _export_sfc from "./sun-card-design-mobile.
|
|
4
|
+
import _export_sfc from "./sun-card-design-mobile.es29.js";
|
|
5
5
|
const _hoisted_1 = { class: "main-input" };
|
|
6
6
|
const _sfc_main = {
|
|
7
7
|
__name: "inputComp",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolveComponent, createElementBlock, openBlock, createVNode, withCtx, unref } from "vue";
|
|
2
2
|
import { renderTextByVariables } from "./sun-card-design-mobile.es26.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import _export_sfc from "./sun-card-design-mobile.
|
|
4
|
+
import _export_sfc from "./sun-card-design-mobile.es29.js";
|
|
5
5
|
const _hoisted_1 = { class: "main-select" };
|
|
6
6
|
const _sfc_main = {
|
|
7
7
|
__name: "selectComp",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolveComponent, createElementBlock, openBlock, createVNode, withCtx, unref } from "vue";
|
|
2
2
|
import { renderTextByVariables } from "./sun-card-design-mobile.es26.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import _export_sfc from "./sun-card-design-mobile.
|
|
4
|
+
import _export_sfc from "./sun-card-design-mobile.es29.js";
|
|
5
5
|
const _hoisted_1 = { class: "main-enterpriseSearch" };
|
|
6
6
|
const _sfc_main = {
|
|
7
7
|
__name: "enterpriseSearch",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed, resolveComponent, createElementBlock, openBlock, normalizeStyle, createVNode } from "vue";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import _export_sfc from "./sun-card-design-mobile.
|
|
3
|
+
import _export_sfc from "./sun-card-design-mobile.es29.js";
|
|
4
4
|
const _sfc_main = {
|
|
5
5
|
__name: "tableComp",
|
|
6
6
|
props: ["record"],
|
|
@@ -1,48 +1,64 @@
|
|
|
1
|
-
import { createElementBlock, openBlock,
|
|
1
|
+
import { ref, createElementBlock, openBlock, Fragment, createElementVNode, createVNode, normalizeStyle, renderList, createBlock } from "vue";
|
|
2
2
|
import FormItem from "./sun-card-design-mobile.es25.js";
|
|
3
3
|
import { previewData } from "./sun-card-design-mobile.es26.js";
|
|
4
|
+
import _sfc_main$1 from "./sun-card-design-mobile.es27.js";
|
|
4
5
|
/* empty css */
|
|
5
|
-
import _export_sfc from "./sun-card-design-mobile.
|
|
6
|
+
import _export_sfc from "./sun-card-design-mobile.es29.js";
|
|
6
7
|
const _sfc_main = {
|
|
7
8
|
__name: "mobilePanel",
|
|
8
|
-
props: ["record", "config"],
|
|
9
|
+
props: ["record", "config", "useBuiltIn"],
|
|
9
10
|
emits: ["clickEvent", "fileUpdateEvent"],
|
|
10
11
|
setup(__props, { emit: __emit }) {
|
|
12
|
+
const emit = __emit;
|
|
11
13
|
const props = __props;
|
|
14
|
+
const modalRef = ref();
|
|
12
15
|
if (props?.config?.variableList) {
|
|
13
16
|
previewData.variableList = JSON.parse(JSON.stringify(props?.config?.variableList));
|
|
14
17
|
console.info("config: " + props?.config);
|
|
15
18
|
}
|
|
16
|
-
const emit = __emit;
|
|
17
19
|
const onClick = (record) => {
|
|
18
20
|
emit("clickEvent", record);
|
|
21
|
+
if (props.useBuiltIn) {
|
|
22
|
+
builtInOperation(record);
|
|
23
|
+
}
|
|
19
24
|
};
|
|
20
25
|
const onUpdated = (record) => {
|
|
21
26
|
emit("fileUpdateEvent", record);
|
|
22
27
|
};
|
|
28
|
+
function builtInOperation(record) {
|
|
29
|
+
if (record.options.clickEventConfig.type === "modal") {
|
|
30
|
+
modalRef.value.onOpen(record);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
23
33
|
return (_ctx, _cache) => {
|
|
24
|
-
return openBlock(), createElementBlock(
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
34
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
35
|
+
createElementVNode("div", {
|
|
36
|
+
class: "msg-main mb-main",
|
|
37
|
+
style: normalizeStyle({
|
|
38
|
+
background: props.record.config.background,
|
|
39
|
+
padding: props.record.config.padding + "px",
|
|
40
|
+
borderRadius: `${props.record.config.borderRadius}px`
|
|
41
|
+
})
|
|
42
|
+
}, [
|
|
43
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(props.record.list, (item, index) => {
|
|
44
|
+
return openBlock(), createBlock(FormItem, {
|
|
45
|
+
recordData: props.record,
|
|
46
|
+
record: item,
|
|
47
|
+
key: index,
|
|
48
|
+
onClickEvent: onClick,
|
|
49
|
+
onFileUpdateEvent: onUpdated
|
|
50
|
+
}, null, 8, ["recordData", "record"]);
|
|
51
|
+
}), 128))
|
|
52
|
+
], 4),
|
|
53
|
+
createVNode(_sfc_main$1, {
|
|
54
|
+
ref_key: "modalRef",
|
|
55
|
+
ref: modalRef
|
|
56
|
+
}, null, 512)
|
|
57
|
+
], 64);
|
|
42
58
|
};
|
|
43
59
|
}
|
|
44
60
|
};
|
|
45
|
-
const MobilePanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
61
|
+
const MobilePanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-aab7e40b"]]);
|
|
46
62
|
export {
|
|
47
63
|
MobilePanel as default
|
|
48
64
|
};
|
|
@@ -2,7 +2,7 @@ import { ref, onMounted, nextTick, onBeforeUnmount, createElementBlock, openBloc
|
|
|
2
2
|
import { previewData } from "./sun-card-design-mobile.es26.js";
|
|
3
3
|
import * as echarts from "echarts";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import _export_sfc from "./sun-card-design-mobile.
|
|
5
|
+
import _export_sfc from "./sun-card-design-mobile.es29.js";
|
|
6
6
|
const _hoisted_1 = { class: "barChart-table" };
|
|
7
7
|
const _sfc_main = {
|
|
8
8
|
__name: "barChartComp",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref, computed, onMounted, onUnmounted, createElementBlock, openBlock, normalizeStyle } from "vue";
|
|
2
2
|
import * as THREE from "three";
|
|
3
|
-
import { OrbitControls } from "
|
|
4
|
-
import { CSS2DRenderer, CSS2DObject } from "
|
|
3
|
+
import { OrbitControls } from "three/examples/jsm/controls/OrbitControls.js";
|
|
4
|
+
import { CSS2DRenderer, CSS2DObject } from "three/examples/jsm/renderers/CSS2DRenderer.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import _export_sfc from "./sun-card-design-mobile.
|
|
6
|
+
import _export_sfc from "./sun-card-design-mobile.es29.js";
|
|
7
7
|
const _sfc_main = {
|
|
8
8
|
__name: "barChart3dComp",
|
|
9
9
|
props: ["record"],
|
|
@@ -2,7 +2,7 @@ import { ref, onMounted, nextTick, onBeforeUnmount, createElementBlock, openBloc
|
|
|
2
2
|
import { previewData } from "./sun-card-design-mobile.es26.js";
|
|
3
3
|
import * as echarts from "echarts";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import _export_sfc from "./sun-card-design-mobile.
|
|
5
|
+
import _export_sfc from "./sun-card-design-mobile.es29.js";
|
|
6
6
|
const _hoisted_1 = { class: "pieChart-table" };
|
|
7
7
|
const _sfc_main = {
|
|
8
8
|
__name: "pieChartComp",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref, computed, onMounted, onUnmounted, createElementBlock, openBlock, normalizeStyle } from "vue";
|
|
2
2
|
import * as THREE from "three";
|
|
3
|
-
import { OrbitControls } from "
|
|
4
|
-
import { CSS2DRenderer, CSS2DObject } from "
|
|
3
|
+
import { OrbitControls } from "three/examples/jsm/controls/OrbitControls.js";
|
|
4
|
+
import { CSS2DRenderer, CSS2DObject } from "three/examples/jsm/renderers/CSS2DRenderer.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import _export_sfc from "./sun-card-design-mobile.
|
|
6
|
+
import _export_sfc from "./sun-card-design-mobile.es29.js";
|
|
7
7
|
const _sfc_main = {
|
|
8
8
|
__name: "pieChart3dComp",
|
|
9
9
|
props: ["record"],
|
|
@@ -2,7 +2,7 @@ import { ref, onMounted, nextTick, onBeforeUnmount, createElementBlock, openBloc
|
|
|
2
2
|
import { previewData } from "./sun-card-design-mobile.es26.js";
|
|
3
3
|
import * as echarts from "echarts";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import _export_sfc from "./sun-card-design-mobile.
|
|
5
|
+
import _export_sfc from "./sun-card-design-mobile.es29.js";
|
|
6
6
|
const _hoisted_1 = { class: "lineChart-table" };
|
|
7
7
|
const _sfc_main = {
|
|
8
8
|
__name: "lineChartComp",
|
|
@@ -4,7 +4,7 @@ import Text from "./sun-card-design-mobile.es4.js";
|
|
|
4
4
|
import Button from "./sun-card-design-mobile.es5.js";
|
|
5
5
|
import Grid from "./sun-card-design-mobile.es15.js";
|
|
6
6
|
import File from "./sun-card-design-mobile.es7.js";
|
|
7
|
-
import Upload from "./sun-card-design-mobile.
|
|
7
|
+
import Upload from "./sun-card-design-mobile.es56.js";
|
|
8
8
|
import Picture from "./sun-card-design-mobile.es6.js";
|
|
9
9
|
import Tag from "./sun-card-design-mobile.es11.js";
|
|
10
10
|
import Rate from "./sun-card-design-mobile.es10.js";
|
|
@@ -22,8 +22,9 @@ import LineChart from "./sun-card-design-mobile.es24.js";
|
|
|
22
22
|
import BarChart3D from "./sun-card-design-mobile.es21.js";
|
|
23
23
|
import PieChart3D from "./sun-card-design-mobile.es23.js";
|
|
24
24
|
import Panorama from "./sun-card-design-mobile.es13.js";
|
|
25
|
+
import SunIcon from "./sun-card-design-mobile.es57.js";
|
|
25
26
|
/* empty css */
|
|
26
|
-
import _export_sfc from "./sun-card-design-mobile.
|
|
27
|
+
import _export_sfc from "./sun-card-design-mobile.es29.js";
|
|
27
28
|
const _hoisted_1 = {
|
|
28
29
|
key: 0,
|
|
29
30
|
class: "main-box"
|
|
@@ -142,12 +143,17 @@ const _sfc_main = {
|
|
|
142
143
|
__props.record.type === "panorama" ? (openBlock(), createBlock(Panorama, {
|
|
143
144
|
key: 22,
|
|
144
145
|
record: props.record
|
|
146
|
+
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
147
|
+
__props.record.type === "sunIcon" ? (openBlock(), createBlock(SunIcon, {
|
|
148
|
+
key: 23,
|
|
149
|
+
record: props.record,
|
|
150
|
+
onClickEvent: onClick
|
|
145
151
|
}, null, 8, ["record"])) : createCommentVNode("", true)
|
|
146
152
|
])) : createCommentVNode("", true);
|
|
147
153
|
};
|
|
148
154
|
}
|
|
149
155
|
};
|
|
150
|
-
const FormItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
156
|
+
const FormItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-286fa478"]]);
|
|
151
157
|
export {
|
|
152
158
|
FormItem as default
|
|
153
159
|
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ref, createElementBlock, openBlock, createVNode, unref, withCtx, isRef } from "vue";
|
|
2
|
+
import { Popup, DatePicker } from "@nutui/nutui";
|
|
3
|
+
const _hoisted_1 = { class: "modal-main" };
|
|
4
|
+
const _sfc_main = {
|
|
5
|
+
__name: "modal",
|
|
6
|
+
setup(__props, { expose: __expose }) {
|
|
7
|
+
const dateShow = ref(false);
|
|
8
|
+
const minDate = new Date(2020, 0, 1);
|
|
9
|
+
const maxDate = new Date(2025, 10, 1);
|
|
10
|
+
const currentDate = new Date(2022, 4, 10, 10, 10);
|
|
11
|
+
const confirm = ({ selectedValue, selectedOptions }) => {
|
|
12
|
+
console.error(selectedValue);
|
|
13
|
+
};
|
|
14
|
+
const onOpen = (record) => {
|
|
15
|
+
if (record.options.clickEventConfig.modalComponent === "date") {
|
|
16
|
+
dateShow.value = true;
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
const close = () => {
|
|
20
|
+
dateShow.value = false;
|
|
21
|
+
};
|
|
22
|
+
__expose({
|
|
23
|
+
onOpen
|
|
24
|
+
});
|
|
25
|
+
return (_ctx, _cache) => {
|
|
26
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
27
|
+
createVNode(unref(Popup), {
|
|
28
|
+
position: "bottom",
|
|
29
|
+
visible: dateShow.value,
|
|
30
|
+
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => dateShow.value = $event)
|
|
31
|
+
}, {
|
|
32
|
+
default: withCtx(() => [
|
|
33
|
+
createVNode(unref(DatePicker), {
|
|
34
|
+
class: "pic",
|
|
35
|
+
modelValue: unref(currentDate),
|
|
36
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(currentDate) ? currentDate.value = $event : null),
|
|
37
|
+
visible: true,
|
|
38
|
+
"min-date": unref(minDate),
|
|
39
|
+
"max-date": unref(maxDate),
|
|
40
|
+
"is-show-chinese": true,
|
|
41
|
+
"three-dimensional": false,
|
|
42
|
+
onConfirm: confirm,
|
|
43
|
+
onCancel: close
|
|
44
|
+
}, null, 8, ["modelValue", "min-date", "max-date"])
|
|
45
|
+
]),
|
|
46
|
+
_: 1
|
|
47
|
+
}, 8, ["visible"])
|
|
48
|
+
]);
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
export {
|
|
53
|
+
_sfc_main as default
|
|
54
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createElementBlock, openBlock, normalizeStyle, createCommentVNode, createElementVNode, toDisplayString, unref } from "vue";
|
|
2
2
|
import { renderTextByVariables } from "./sun-card-design-mobile.es26.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import _export_sfc from "./sun-card-design-mobile.
|
|
4
|
+
import _export_sfc from "./sun-card-design-mobile.es29.js";
|
|
5
5
|
const _sfc_main = {
|
|
6
6
|
__name: "titleComp",
|
|
7
7
|
props: ["record"],
|