sun-card-design 1.1.37 → 1.1.38
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/package.json +1 -1
- package/dist/mobile/sun-card-design-mobile.es61.js +0 -98
- package/dist/mobile/sun-card-design-mobile.es62.js +0 -98
- package/dist/public/sun-card-designer.css +0 -1
- package/dist/sun-card-designer.es.js +0 -25
- package/dist/sun-card-designer.es10.js +0 -167
- package/dist/sun-card-designer.es11.js +0 -197
- package/dist/sun-card-designer.es12.js +0 -203
- package/dist/sun-card-designer.es13.js +0 -130
- package/dist/sun-card-designer.es14.js +0 -120
- package/dist/sun-card-designer.es151.js +0 -4
- package/dist/sun-card-designer.es152.js +0 -4
- package/dist/sun-card-designer.es153.js +0 -4
- package/dist/sun-card-designer.es154.js +0 -4
- package/dist/sun-card-designer.es155.js +0 -82
- package/dist/sun-card-designer.es156.js +0 -91
- package/dist/sun-card-designer.es157.js +0 -92
- package/dist/sun-card-designer.es158.js +0 -191
- package/dist/sun-card-designer.es159.js +0 -86
- package/dist/sun-card-designer.es16.js +0 -10
- package/dist/sun-card-designer.es160.js +0 -238
- package/dist/sun-card-designer.es161.js +0 -113
- package/dist/sun-card-designer.es162.js +0 -49
- package/dist/sun-card-designer.es163.js +0 -43
- package/dist/sun-card-designer.es164.js +0 -39
- package/dist/sun-card-designer.es165.js +0 -46
- package/dist/sun-card-designer.es166.js +0 -58
- package/dist/sun-card-designer.es167.js +0 -56
- package/dist/sun-card-designer.es168.js +0 -58
- package/dist/sun-card-designer.es169.js +0 -73
- package/dist/sun-card-designer.es17.js +0 -333
- package/dist/sun-card-designer.es170.js +0 -59
- package/dist/sun-card-designer.es171.js +0 -69
- package/dist/sun-card-designer.es172.js +0 -182
- package/dist/sun-card-designer.es173.js +0 -176
- package/dist/sun-card-designer.es174.js +0 -184
- package/dist/sun-card-designer.es175.js +0 -409
- package/dist/sun-card-designer.es176.js +0 -365
- package/dist/sun-card-designer.es177.js +0 -70
- package/dist/sun-card-designer.es178.js +0 -68
- package/dist/sun-card-designer.es179.js +0 -184
- package/dist/sun-card-designer.es18.js +0 -68
- package/dist/sun-card-designer.es180.js +0 -193
- package/dist/sun-card-designer.es181.js +0 -193
- package/dist/sun-card-designer.es182.js +0 -193
- package/dist/sun-card-designer.es184.js +0 -228
- package/dist/sun-card-designer.es185.js +0 -71
- package/dist/sun-card-designer.es19.js +0 -611
- package/dist/sun-card-designer.es196.js +0 -4
- package/dist/sun-card-designer.es20.js +0 -225
- package/dist/sun-card-designer.es201.js +0 -125
- package/dist/sun-card-designer.es21.js +0 -69
- package/dist/sun-card-designer.es22.js +0 -719
- package/dist/sun-card-designer.es220.js +0 -63
- package/dist/sun-card-designer.es221.js +0 -80
- package/dist/sun-card-designer.es222.js +0 -82
- package/dist/sun-card-designer.es223.js +0 -94
- package/dist/sun-card-designer.es224.js +0 -87
- package/dist/sun-card-designer.es225.js +0 -226
- package/dist/sun-card-designer.es226.js +0 -105
- package/dist/sun-card-designer.es227.js +0 -45
- package/dist/sun-card-designer.es228.js +0 -31
- package/dist/sun-card-designer.es229.js +0 -29
- package/dist/sun-card-designer.es23.js +0 -211
- package/dist/sun-card-designer.es230.js +0 -32
- package/dist/sun-card-designer.es231.js +0 -46
- package/dist/sun-card-designer.es232.js +0 -42
- package/dist/sun-card-designer.es233.js +0 -44
- package/dist/sun-card-designer.es234.js +0 -61
- package/dist/sun-card-designer.es235.js +0 -46
- package/dist/sun-card-designer.es236.js +0 -54
- package/dist/sun-card-designer.es237.js +0 -130
- package/dist/sun-card-designer.es238.js +0 -127
- package/dist/sun-card-designer.es239.js +0 -132
- package/dist/sun-card-designer.es24.js +0 -265
- package/dist/sun-card-designer.es240.js +0 -375
- package/dist/sun-card-designer.es241.js +0 -348
- package/dist/sun-card-designer.es242.js +0 -69
- package/dist/sun-card-designer.es243.js +0 -65
- package/dist/sun-card-designer.es244.js +0 -87
- package/dist/sun-card-designer.es245.js +0 -98
- package/dist/sun-card-designer.es246.js +0 -98
- package/dist/sun-card-designer.es247.js +0 -98
- package/dist/sun-card-designer.es25.js +0 -857
- package/dist/sun-card-designer.es26.js +0 -768
- package/dist/sun-card-designer.es260.js +0 -125
- package/dist/sun-card-designer.es27.js +0 -264
- package/dist/sun-card-designer.es273.js +0 -192
- package/dist/sun-card-designer.es28.js +0 -809
- package/dist/sun-card-designer.es29.js +0 -220
- package/dist/sun-card-designer.es3.js +0 -506
- package/dist/sun-card-designer.es30.js +0 -809
- package/dist/sun-card-designer.es31.js +0 -220
- package/dist/sun-card-designer.es32.js +0 -820
- package/dist/sun-card-designer.es33.js +0 -225
- package/dist/sun-card-designer.es34.js +0 -69
- package/dist/sun-card-designer.es35.js +0 -375
- package/dist/sun-card-designer.es36.js +0 -186
- package/dist/sun-card-designer.es37.js +0 -119
- package/dist/sun-card-designer.es38.js +0 -354
- package/dist/sun-card-designer.es39.js +0 -127
- package/dist/sun-card-designer.es4.js +0 -365
- package/dist/sun-card-designer.es40.js +0 -100
- package/dist/sun-card-designer.es41.js +0 -214
- package/dist/sun-card-designer.es42.js +0 -119
- package/dist/sun-card-designer.es43.js +0 -250
- package/dist/sun-card-designer.es44.js +0 -118
- package/dist/sun-card-designer.es45.js +0 -64
- package/dist/sun-card-designer.es46.js +0 -223
- package/dist/sun-card-designer.es47.js +0 -196
- package/dist/sun-card-designer.es48.js +0 -77
- package/dist/sun-card-designer.es49.js +0 -85
- package/dist/sun-card-designer.es5.js +0 -317
- package/dist/sun-card-designer.es50.js +0 -85
- package/dist/sun-card-designer.es51.js +0 -64
- package/dist/sun-card-designer.es52.js +0 -283
- package/dist/sun-card-designer.es53.js +0 -64
- package/dist/sun-card-designer.es54.js +0 -142
- package/dist/sun-card-designer.es55.js +0 -52
- package/dist/sun-card-designer.es56.js +0 -85
- package/dist/sun-card-designer.es57.js +0 -258
- package/dist/sun-card-designer.es58.js +0 -226
- package/dist/sun-card-designer.es59.js +0 -169
- package/dist/sun-card-designer.es6.js +0 -190
- package/dist/sun-card-designer.es60.js +0 -280
- package/dist/sun-card-designer.es61.js +0 -168
- package/dist/sun-card-designer.es62.js +0 -219
- package/dist/sun-card-designer.es63.js +0 -168
- package/dist/sun-card-designer.es64.js +0 -275
- package/dist/sun-card-designer.es65.js +0 -760
- package/dist/sun-card-designer.es66.js +0 -272
- package/dist/sun-card-designer.es67.js +0 -559
- package/dist/sun-card-designer.es68.js +0 -124
- package/dist/sun-card-designer.es69.js +0 -528
- package/dist/sun-card-designer.es7.js +0 -65
- package/dist/sun-card-designer.es70.js +0 -185
- package/dist/sun-card-designer.es71.js +0 -107
- package/dist/sun-card-designer.es72.js +0 -153
- package/dist/sun-card-designer.es73.js +0 -315
- package/dist/sun-card-designer.es74.js +0 -114
- package/dist/sun-card-designer.es76.js +0 -4211
- package/dist/sun-card-designer.es79.js +0 -4
- package/dist/sun-card-designer.es8.js +0 -171
- package/dist/sun-card-designer.es80.js +0 -4
- package/dist/sun-card-designer.es81.js +0 -4
- package/dist/sun-card-designer.es84.js +0 -228
- package/dist/sun-card-designer.es87.js +0 -52
- package/dist/sun-card-designer.es88.js +0 -52
- package/dist/sun-card-designer.es9.js +0 -207
- package/dist/sun-card-designer.es91.js +0 -344
- package/dist/sun-card-designer.es92.js +0 -199
- package/dist/sun-card-designer.es95.js +0 -180
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import { ref, computed, resolveComponent, createElementBlock, openBlock, createElementVNode, createVNode, withCtx, createBlock, createCommentVNode } from "vue";
|
|
2
|
-
import OpenVariable from "./sun-card-designer.es91.js";
|
|
3
|
-
import EditInput from "./sun-card-designer.es92.js";
|
|
4
|
-
import "./sun-card-designer.es13.js";
|
|
5
|
-
/* empty css */
|
|
6
|
-
import _export_sfc from "./sun-card-designer.es16.js";
|
|
7
|
-
const _hoisted_1 = { class: "file-action" };
|
|
8
|
-
const _sfc_main = {
|
|
9
|
-
__name: "fileActionPes",
|
|
10
|
-
props: ["record", "sourceData"],
|
|
11
|
-
setup(__props) {
|
|
12
|
-
const props = __props;
|
|
13
|
-
const editInputRef = ref();
|
|
14
|
-
const selectTreeChange = (params) => {
|
|
15
|
-
const { item, node } = params;
|
|
16
|
-
editInputRef.value.insertToken(`{${item.name}#${node}}`);
|
|
17
|
-
};
|
|
18
|
-
const selectChange = (record) => {
|
|
19
|
-
editInputRef.value.insertToken(`{${record.name}}`);
|
|
20
|
-
};
|
|
21
|
-
const inGridWithVariableName = computed(() => {
|
|
22
|
-
return true;
|
|
23
|
-
});
|
|
24
|
-
const onChange = () => {
|
|
25
|
-
props.record.options.promptParams = null;
|
|
26
|
-
props.record.options.updateText = "重新生成";
|
|
27
|
-
props.record.options.isAddMaterial = false;
|
|
28
|
-
};
|
|
29
|
-
return (_ctx, _cache) => {
|
|
30
|
-
const _component_a_form_item = resolveComponent("a-form-item");
|
|
31
|
-
const _component_a_switch = resolveComponent("a-switch");
|
|
32
|
-
const _component_a_input = resolveComponent("a-input");
|
|
33
|
-
const _component_a_textarea = resolveComponent("a-textarea");
|
|
34
|
-
const _component_a_col = resolveComponent("a-col");
|
|
35
|
-
const _component_a_row = resolveComponent("a-row");
|
|
36
|
-
const _component_a_form = resolveComponent("a-form");
|
|
37
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
38
|
-
_cache[4] || (_cache[4] = createElementVNode("div", { class: "title" }, "操作", -1)),
|
|
39
|
-
createVNode(_component_a_form, { layout: "vertical" }, {
|
|
40
|
-
default: withCtx(() => [
|
|
41
|
-
createVNode(_component_a_row, { gutter: [16, 16] }, {
|
|
42
|
-
default: withCtx(() => [
|
|
43
|
-
createVNode(_component_a_col, { span: 24 }, {
|
|
44
|
-
default: withCtx(() => [
|
|
45
|
-
createVNode(_component_a_form_item, { label: "URL" }, {
|
|
46
|
-
default: withCtx(() => [
|
|
47
|
-
createVNode(OpenVariable, {
|
|
48
|
-
disabled: inGridWithVariableName.value,
|
|
49
|
-
onOnSelect: selectChange,
|
|
50
|
-
onOnSelectTree: selectTreeChange
|
|
51
|
-
}, null, 8, ["disabled"]),
|
|
52
|
-
createVNode(EditInput, {
|
|
53
|
-
ref_key: "editInputRef",
|
|
54
|
-
ref: editInputRef,
|
|
55
|
-
record: props.record.options,
|
|
56
|
-
filed: "openUrl",
|
|
57
|
-
minRows: 2
|
|
58
|
-
}, null, 8, ["record"])
|
|
59
|
-
]),
|
|
60
|
-
_: 1
|
|
61
|
-
}),
|
|
62
|
-
createVNode(_component_a_form_item, { label: "重新生成" }, {
|
|
63
|
-
default: withCtx(() => [
|
|
64
|
-
createVNode(_component_a_switch, {
|
|
65
|
-
checked: props.record.options.isUpdate,
|
|
66
|
-
"onUpdate:checked": _cache[0] || (_cache[0] = ($event) => props.record.options.isUpdate = $event),
|
|
67
|
-
onChange
|
|
68
|
-
}, null, 8, ["checked"])
|
|
69
|
-
]),
|
|
70
|
-
_: 1
|
|
71
|
-
}),
|
|
72
|
-
props.record.options.isUpdate ? (openBlock(), createBlock(_component_a_form_item, {
|
|
73
|
-
key: 0,
|
|
74
|
-
label: "提交文案"
|
|
75
|
-
}, {
|
|
76
|
-
default: withCtx(() => [
|
|
77
|
-
createVNode(_component_a_input, {
|
|
78
|
-
value: props.record.options.updateText,
|
|
79
|
-
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => props.record.options.updateText = $event),
|
|
80
|
-
placeholder: "输入提交文案"
|
|
81
|
-
}, null, 8, ["value"])
|
|
82
|
-
]),
|
|
83
|
-
_: 1
|
|
84
|
-
})) : createCommentVNode("", true),
|
|
85
|
-
props.record.options.isUpdate ? (openBlock(), createBlock(_component_a_form_item, {
|
|
86
|
-
key: 1,
|
|
87
|
-
label: "补充材料"
|
|
88
|
-
}, {
|
|
89
|
-
default: withCtx(() => [
|
|
90
|
-
createVNode(_component_a_switch, {
|
|
91
|
-
checked: props.record.options.isAddMaterial,
|
|
92
|
-
"onUpdate:checked": _cache[2] || (_cache[2] = ($event) => props.record.options.isAddMaterial = $event)
|
|
93
|
-
}, null, 8, ["checked"])
|
|
94
|
-
]),
|
|
95
|
-
_: 1
|
|
96
|
-
})) : createCommentVNode("", true),
|
|
97
|
-
props.record.options.isUpdate ? (openBlock(), createBlock(_component_a_form_item, {
|
|
98
|
-
key: 2,
|
|
99
|
-
label: "提示参数"
|
|
100
|
-
}, {
|
|
101
|
-
default: withCtx(() => [
|
|
102
|
-
createVNode(_component_a_textarea, {
|
|
103
|
-
value: props.record.options.promptParams,
|
|
104
|
-
"onUpdate:value": _cache[3] || (_cache[3] = ($event) => props.record.options.promptParams = $event),
|
|
105
|
-
rows: 3,
|
|
106
|
-
placeholder: "输入提示词或参数"
|
|
107
|
-
}, null, 8, ["value"])
|
|
108
|
-
]),
|
|
109
|
-
_: 1
|
|
110
|
-
})) : createCommentVNode("", true)
|
|
111
|
-
]),
|
|
112
|
-
_: 1
|
|
113
|
-
})
|
|
114
|
-
]),
|
|
115
|
-
_: 1
|
|
116
|
-
})
|
|
117
|
-
]),
|
|
118
|
-
_: 1
|
|
119
|
-
})
|
|
120
|
-
]);
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
};
|
|
124
|
-
const FileActionPes = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5321d42a"]]);
|
|
125
|
-
export {
|
|
126
|
-
FileActionPes as default
|
|
127
|
-
};
|
|
@@ -1,365 +0,0 @@
|
|
|
1
|
-
import { ref, watch, createElementBlock, openBlock, createElementVNode, createBlock, createCommentVNode, unref } from "vue";
|
|
2
|
-
import CardPes from "./sun-card-designer.es17.js";
|
|
3
|
-
import TitlePes from "./sun-card-designer.es18.js";
|
|
4
|
-
import TitleStylePes from "./sun-card-designer.es19.js";
|
|
5
|
-
import TitleActionPes from "./sun-card-designer.es20.js";
|
|
6
|
-
import TextBasePes from "./sun-card-designer.es21.js";
|
|
7
|
-
import TextStylePes from "./sun-card-designer.es22.js";
|
|
8
|
-
import TextActionPes from "./sun-card-designer.es23.js";
|
|
9
|
-
import GridBasePes from "./sun-card-designer.es24.js";
|
|
10
|
-
import GridStylePes from "./sun-card-designer.es25.js";
|
|
11
|
-
import SingleColumnStylePes from "./sun-card-designer.es26.js";
|
|
12
|
-
import MultipleColumnBasePes from "./sun-card-designer.es27.js";
|
|
13
|
-
import MultipleColumnStylePes from "./sun-card-designer.es28.js";
|
|
14
|
-
import MultipleLineBasePes from "./sun-card-designer.es29.js";
|
|
15
|
-
import MultipleLineStylePes from "./sun-card-designer.es30.js";
|
|
16
|
-
import GridListBasePes from "./sun-card-designer.es31.js";
|
|
17
|
-
import GridListStylePes from "./sun-card-designer.es32.js";
|
|
18
|
-
import ColumnsActionPes from "./sun-card-designer.es33.js";
|
|
19
|
-
import ButtonBasePes from "./sun-card-designer.es34.js";
|
|
20
|
-
import ButtonStylePes from "./sun-card-designer.es35.js";
|
|
21
|
-
import ButtonActionPes from "./sun-card-designer.es36.js";
|
|
22
|
-
import FileBasePes from "./sun-card-designer.es37.js";
|
|
23
|
-
import FileStylePes from "./sun-card-designer.es38.js";
|
|
24
|
-
import FileActionPes from "./sun-card-designer.es39.js";
|
|
25
|
-
import UploadBasePes from "./sun-card-designer.es40.js";
|
|
26
|
-
import UploadStylePes from "./sun-card-designer.es41.js";
|
|
27
|
-
import PictureBasePes from "./sun-card-designer.es42.js";
|
|
28
|
-
import PictureStylePes from "./sun-card-designer.es43.js";
|
|
29
|
-
import PictureActionPes from "./sun-card-designer.es44.js";
|
|
30
|
-
import TagBasePes from "./sun-card-designer.es45.js";
|
|
31
|
-
import TagStylePes from "./sun-card-designer.es46.js";
|
|
32
|
-
import TagActionPes from "./sun-card-designer.es47.js";
|
|
33
|
-
import RateBasePes from "./sun-card-designer.es48.js";
|
|
34
|
-
import RateStylePes from "./sun-card-designer.es49.js";
|
|
35
|
-
import DividerStylePes from "./sun-card-designer.es50.js";
|
|
36
|
-
import AudioBasePes from "./sun-card-designer.es51.js";
|
|
37
|
-
import AudioStylePes from "./sun-card-designer.es52.js";
|
|
38
|
-
import VideoBasePes from "./sun-card-designer.es53.js";
|
|
39
|
-
import VideoStylePes from "./sun-card-designer.es54.js";
|
|
40
|
-
import GenerateImgBasePes from "./sun-card-designer.es55.js";
|
|
41
|
-
import GenerateImgStylePes from "./sun-card-designer.es56.js";
|
|
42
|
-
import SunIconStylePes from "./sun-card-designer.es57.js";
|
|
43
|
-
import SunIconActionPes from "./sun-card-designer.es58.js";
|
|
44
|
-
import InputPes from "./sun-card-designer.es59.js";
|
|
45
|
-
import SelectBasePes from "./sun-card-designer.es60.js";
|
|
46
|
-
import EnterpriseSearchPes from "./sun-card-designer.es61.js";
|
|
47
|
-
import TableBasePes from "./sun-card-designer.es62.js";
|
|
48
|
-
import TableStylePes from "./sun-card-designer.es63.js";
|
|
49
|
-
import BarChartBasePes from "./sun-card-designer.es64.js";
|
|
50
|
-
import BarChartStylePes from "./sun-card-designer.es65.js";
|
|
51
|
-
import LineChartBasePes from "./sun-card-designer.es66.js";
|
|
52
|
-
import LineChartStylePes from "./sun-card-designer.es67.js";
|
|
53
|
-
import PieChartBasePes from "./sun-card-designer.es68.js";
|
|
54
|
-
import PieChartStylePes from "./sun-card-designer.es69.js";
|
|
55
|
-
import PieChart3DBasePes from "./sun-card-designer.es70.js";
|
|
56
|
-
import PieChart3DStylePes from "./sun-card-designer.es71.js";
|
|
57
|
-
import BarChart3DBasePes from "./sun-card-designer.es72.js";
|
|
58
|
-
import BarChart3DStylePes from "./sun-card-designer.es73.js";
|
|
59
|
-
import { emptyPes } from "./sun-card-designer.es6.js";
|
|
60
|
-
import PanoramaStylePes from "./sun-card-designer.es74.js";
|
|
61
|
-
import { useCardManageStore } from "./sun-card-designer.es13.js";
|
|
62
|
-
/* empty css */
|
|
63
|
-
import _export_sfc from "./sun-card-designer.es16.js";
|
|
64
|
-
const _hoisted_1 = { class: "pes-box" };
|
|
65
|
-
const _hoisted_2 = { key: 0 };
|
|
66
|
-
const _hoisted_3 = {
|
|
67
|
-
key: 1,
|
|
68
|
-
class: "pes-empty"
|
|
69
|
-
};
|
|
70
|
-
const _hoisted_4 = ["innerHTML"];
|
|
71
|
-
const _sfc_main = {
|
|
72
|
-
__name: "indexPes",
|
|
73
|
-
props: ["recordData"],
|
|
74
|
-
setup(__props) {
|
|
75
|
-
const cardManageStore = useCardManageStore();
|
|
76
|
-
const props = __props;
|
|
77
|
-
const currentRecord = ref({});
|
|
78
|
-
const currentUuid = ref(null);
|
|
79
|
-
watch(
|
|
80
|
-
() => cardManageStore.currentSelectUuid,
|
|
81
|
-
(val) => {
|
|
82
|
-
currentUuid.value = val;
|
|
83
|
-
if (!val) {
|
|
84
|
-
currentRecord.value = {};
|
|
85
|
-
return;
|
|
86
|
-
}
|
|
87
|
-
if (val === "card") {
|
|
88
|
-
currentRecord.value = props.recordData;
|
|
89
|
-
return;
|
|
90
|
-
}
|
|
91
|
-
getRecord(val);
|
|
92
|
-
}
|
|
93
|
-
);
|
|
94
|
-
const getRecord = (uuid, list = props.recordData.list) => {
|
|
95
|
-
for (let i = 0; i < list.length; i++) {
|
|
96
|
-
if (list[i].uuid === uuid) {
|
|
97
|
-
currentRecord.value = list[i];
|
|
98
|
-
}
|
|
99
|
-
if (["grid", "singleColumn", "multipleColumn", "multipleLine", "gridList"].includes(list[i].type)) {
|
|
100
|
-
list[i].columns.forEach((e) => {
|
|
101
|
-
if (e.uuid === uuid) {
|
|
102
|
-
currentRecord.value = e;
|
|
103
|
-
}
|
|
104
|
-
getRecord(uuid, e.list);
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
};
|
|
109
|
-
return (_ctx, _cache) => {
|
|
110
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
111
|
-
!!currentUuid.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
112
|
-
_cache[0] || (_cache[0] = createElementVNode("h5", { class: "title" }, "基础配置", -1)),
|
|
113
|
-
currentRecord.value.type === "card" ? (openBlock(), createBlock(CardPes, {
|
|
114
|
-
key: 0,
|
|
115
|
-
record: currentRecord.value
|
|
116
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
117
|
-
currentRecord.value.type === "grid" ? (openBlock(), createBlock(GridBasePes, {
|
|
118
|
-
key: 1,
|
|
119
|
-
record: currentRecord.value
|
|
120
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
121
|
-
currentRecord.value.type === "grid" ? (openBlock(), createBlock(GridStylePes, {
|
|
122
|
-
key: 2,
|
|
123
|
-
record: currentRecord.value
|
|
124
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
125
|
-
currentRecord.value.type === "singleColumn" ? (openBlock(), createBlock(SingleColumnStylePes, {
|
|
126
|
-
key: 3,
|
|
127
|
-
record: currentRecord.value
|
|
128
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
129
|
-
currentRecord.value.type === "multipleColumn" ? (openBlock(), createBlock(MultipleColumnBasePes, {
|
|
130
|
-
key: 4,
|
|
131
|
-
record: currentRecord.value
|
|
132
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
133
|
-
currentRecord.value.type === "multipleColumn" ? (openBlock(), createBlock(MultipleColumnStylePes, {
|
|
134
|
-
key: 5,
|
|
135
|
-
record: currentRecord.value
|
|
136
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
137
|
-
currentRecord.value.type === "multipleLine" ? (openBlock(), createBlock(MultipleLineBasePes, {
|
|
138
|
-
key: 6,
|
|
139
|
-
record: currentRecord.value
|
|
140
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
141
|
-
currentRecord.value.type === "multipleLine" ? (openBlock(), createBlock(MultipleLineStylePes, {
|
|
142
|
-
key: 7,
|
|
143
|
-
record: currentRecord.value
|
|
144
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
145
|
-
currentRecord.value.type === "gridList" ? (openBlock(), createBlock(GridListBasePes, {
|
|
146
|
-
key: 8,
|
|
147
|
-
record: currentRecord.value
|
|
148
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
149
|
-
currentRecord.value.type === "gridList" ? (openBlock(), createBlock(GridListStylePes, {
|
|
150
|
-
key: 9,
|
|
151
|
-
record: currentRecord.value
|
|
152
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
153
|
-
currentRecord.value.type === "columns" ? (openBlock(), createBlock(ColumnsActionPes, {
|
|
154
|
-
key: 10,
|
|
155
|
-
record: currentRecord.value
|
|
156
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
157
|
-
currentRecord.value.type === "title" ? (openBlock(), createBlock(TitlePes, {
|
|
158
|
-
key: 11,
|
|
159
|
-
record: currentRecord.value,
|
|
160
|
-
sourceData: __props.recordData
|
|
161
|
-
}, null, 8, ["record", "sourceData"])) : createCommentVNode("", true),
|
|
162
|
-
currentRecord.value.type === "title" ? (openBlock(), createBlock(TitleStylePes, {
|
|
163
|
-
key: 12,
|
|
164
|
-
record: currentRecord.value
|
|
165
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
166
|
-
currentRecord.value.type === "title" ? (openBlock(), createBlock(TitleActionPes, {
|
|
167
|
-
key: 13,
|
|
168
|
-
record: currentRecord.value
|
|
169
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
170
|
-
currentRecord.value.type === "text" ? (openBlock(), createBlock(TextBasePes, {
|
|
171
|
-
key: 14,
|
|
172
|
-
record: currentRecord.value,
|
|
173
|
-
sourceData: __props.recordData
|
|
174
|
-
}, null, 8, ["record", "sourceData"])) : createCommentVNode("", true),
|
|
175
|
-
currentRecord.value.type === "text" ? (openBlock(), createBlock(TextStylePes, {
|
|
176
|
-
key: 15,
|
|
177
|
-
record: currentRecord.value
|
|
178
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
179
|
-
currentRecord.value.type === "text" ? (openBlock(), createBlock(TextActionPes, {
|
|
180
|
-
key: 16,
|
|
181
|
-
record: currentRecord.value
|
|
182
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
183
|
-
currentRecord.value.type === "button" ? (openBlock(), createBlock(ButtonBasePes, {
|
|
184
|
-
key: 17,
|
|
185
|
-
record: currentRecord.value,
|
|
186
|
-
sourceData: __props.recordData
|
|
187
|
-
}, null, 8, ["record", "sourceData"])) : createCommentVNode("", true),
|
|
188
|
-
currentRecord.value.type === "button" ? (openBlock(), createBlock(ButtonStylePes, {
|
|
189
|
-
key: 18,
|
|
190
|
-
record: currentRecord.value
|
|
191
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
192
|
-
currentRecord.value.type === "button" ? (openBlock(), createBlock(ButtonActionPes, {
|
|
193
|
-
key: 19,
|
|
194
|
-
record: currentRecord.value
|
|
195
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
196
|
-
currentRecord.value.type === "file" ? (openBlock(), createBlock(FileBasePes, {
|
|
197
|
-
key: 20,
|
|
198
|
-
record: currentRecord.value,
|
|
199
|
-
sourceData: __props.recordData
|
|
200
|
-
}, null, 8, ["record", "sourceData"])) : createCommentVNode("", true),
|
|
201
|
-
currentRecord.value.type === "file" ? (openBlock(), createBlock(FileStylePes, {
|
|
202
|
-
key: 21,
|
|
203
|
-
record: currentRecord.value
|
|
204
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
205
|
-
currentRecord.value.type === "file" ? (openBlock(), createBlock(FileActionPes, {
|
|
206
|
-
key: 22,
|
|
207
|
-
record: currentRecord.value,
|
|
208
|
-
sourceData: __props.recordData
|
|
209
|
-
}, null, 8, ["record", "sourceData"])) : createCommentVNode("", true),
|
|
210
|
-
currentRecord.value.type === "upload" ? (openBlock(), createBlock(UploadBasePes, {
|
|
211
|
-
key: 23,
|
|
212
|
-
record: currentRecord.value
|
|
213
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
214
|
-
currentRecord.value.type === "upload" ? (openBlock(), createBlock(UploadStylePes, {
|
|
215
|
-
key: 24,
|
|
216
|
-
record: currentRecord.value
|
|
217
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
218
|
-
currentRecord.value.type === "picture" ? (openBlock(), createBlock(PictureBasePes, {
|
|
219
|
-
key: 25,
|
|
220
|
-
record: currentRecord.value,
|
|
221
|
-
sourceData: __props.recordData
|
|
222
|
-
}, null, 8, ["record", "sourceData"])) : createCommentVNode("", true),
|
|
223
|
-
currentRecord.value.type === "picture" ? (openBlock(), createBlock(PictureStylePes, {
|
|
224
|
-
key: 26,
|
|
225
|
-
record: currentRecord.value
|
|
226
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
227
|
-
currentRecord.value.type === "picture" ? (openBlock(), createBlock(PictureActionPes, {
|
|
228
|
-
key: 27,
|
|
229
|
-
record: currentRecord.value,
|
|
230
|
-
sourceData: __props.recordData
|
|
231
|
-
}, null, 8, ["record", "sourceData"])) : createCommentVNode("", true),
|
|
232
|
-
currentRecord.value.type === "tag" ? (openBlock(), createBlock(TagBasePes, {
|
|
233
|
-
key: 28,
|
|
234
|
-
record: currentRecord.value
|
|
235
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
236
|
-
currentRecord.value.type === "tag" ? (openBlock(), createBlock(TagStylePes, {
|
|
237
|
-
key: 29,
|
|
238
|
-
record: currentRecord.value
|
|
239
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
240
|
-
currentRecord.value.type === "tag" ? (openBlock(), createBlock(TagActionPes, {
|
|
241
|
-
key: 30,
|
|
242
|
-
record: currentRecord.value
|
|
243
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
244
|
-
currentRecord.value.type === "rate" ? (openBlock(), createBlock(RateBasePes, {
|
|
245
|
-
key: 31,
|
|
246
|
-
record: currentRecord.value
|
|
247
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
248
|
-
currentRecord.value.type === "rate" ? (openBlock(), createBlock(RateStylePes, {
|
|
249
|
-
key: 32,
|
|
250
|
-
record: currentRecord.value
|
|
251
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
252
|
-
currentRecord.value.type === "divider" ? (openBlock(), createBlock(DividerStylePes, {
|
|
253
|
-
key: 33,
|
|
254
|
-
record: currentRecord.value
|
|
255
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
256
|
-
currentRecord.value.type === "audio" ? (openBlock(), createBlock(AudioBasePes, {
|
|
257
|
-
key: 34,
|
|
258
|
-
record: currentRecord.value
|
|
259
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
260
|
-
currentRecord.value.type === "audio" ? (openBlock(), createBlock(AudioStylePes, {
|
|
261
|
-
key: 35,
|
|
262
|
-
record: currentRecord.value
|
|
263
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
264
|
-
currentRecord.value.type === "video" ? (openBlock(), createBlock(VideoBasePes, {
|
|
265
|
-
key: 36,
|
|
266
|
-
record: currentRecord.value
|
|
267
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
268
|
-
currentRecord.value.type === "video" ? (openBlock(), createBlock(VideoStylePes, {
|
|
269
|
-
key: 37,
|
|
270
|
-
record: currentRecord.value
|
|
271
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
272
|
-
currentRecord.value.type === "generateImg" ? (openBlock(), createBlock(GenerateImgBasePes, {
|
|
273
|
-
key: 38,
|
|
274
|
-
record: currentRecord.value
|
|
275
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
276
|
-
currentRecord.value.type === "generateImg" ? (openBlock(), createBlock(GenerateImgStylePes, {
|
|
277
|
-
key: 39,
|
|
278
|
-
record: currentRecord.value
|
|
279
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
280
|
-
currentRecord.value.type === "sunIcon" ? (openBlock(), createBlock(SunIconStylePes, {
|
|
281
|
-
key: 40,
|
|
282
|
-
record: currentRecord.value
|
|
283
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
284
|
-
currentRecord.value.type === "sunIcon" ? (openBlock(), createBlock(SunIconActionPes, {
|
|
285
|
-
key: 41,
|
|
286
|
-
record: currentRecord.value
|
|
287
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
288
|
-
currentRecord.value.type === "input" ? (openBlock(), createBlock(InputPes, {
|
|
289
|
-
key: 42,
|
|
290
|
-
record: currentRecord.value
|
|
291
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
292
|
-
currentRecord.value.type === "select" ? (openBlock(), createBlock(SelectBasePes, {
|
|
293
|
-
key: 43,
|
|
294
|
-
record: currentRecord.value
|
|
295
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
296
|
-
currentRecord.value.type === "enterpriseSearch" ? (openBlock(), createBlock(EnterpriseSearchPes, {
|
|
297
|
-
key: 44,
|
|
298
|
-
record: currentRecord.value
|
|
299
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
300
|
-
currentRecord.value.type === "table" ? (openBlock(), createBlock(TableBasePes, {
|
|
301
|
-
key: 45,
|
|
302
|
-
record: currentRecord.value
|
|
303
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
304
|
-
currentRecord.value.type === "table" ? (openBlock(), createBlock(TableStylePes, {
|
|
305
|
-
key: 46,
|
|
306
|
-
record: currentRecord.value
|
|
307
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
308
|
-
currentRecord.value.type === "barChart" ? (openBlock(), createBlock(BarChartBasePes, {
|
|
309
|
-
key: 47,
|
|
310
|
-
record: currentRecord.value
|
|
311
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
312
|
-
currentRecord.value.type === "barChart" ? (openBlock(), createBlock(BarChartStylePes, {
|
|
313
|
-
key: 48,
|
|
314
|
-
record: currentRecord.value
|
|
315
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
316
|
-
currentRecord.value.type === "barChart3D" ? (openBlock(), createBlock(BarChart3DBasePes, {
|
|
317
|
-
key: 49,
|
|
318
|
-
record: currentRecord.value
|
|
319
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
320
|
-
currentRecord.value.type === "barChart3D" ? (openBlock(), createBlock(BarChart3DStylePes, {
|
|
321
|
-
key: 50,
|
|
322
|
-
record: currentRecord.value
|
|
323
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
324
|
-
currentRecord.value.type === "lineChart" ? (openBlock(), createBlock(LineChartBasePes, {
|
|
325
|
-
key: 51,
|
|
326
|
-
record: currentRecord.value
|
|
327
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
328
|
-
currentRecord.value.type === "lineChart" ? (openBlock(), createBlock(LineChartStylePes, {
|
|
329
|
-
key: 52,
|
|
330
|
-
record: currentRecord.value
|
|
331
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
332
|
-
currentRecord.value.type === "pieChart" ? (openBlock(), createBlock(PieChartBasePes, {
|
|
333
|
-
key: 53,
|
|
334
|
-
record: currentRecord.value
|
|
335
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
336
|
-
currentRecord.value.type === "pieChart" ? (openBlock(), createBlock(PieChartStylePes, {
|
|
337
|
-
key: 54,
|
|
338
|
-
record: currentRecord.value
|
|
339
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
340
|
-
currentRecord.value.type === "pieChart3D" ? (openBlock(), createBlock(PieChart3DBasePes, {
|
|
341
|
-
key: 55,
|
|
342
|
-
record: currentRecord.value
|
|
343
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
344
|
-
currentRecord.value.type === "pieChart3D" ? (openBlock(), createBlock(PieChart3DStylePes, {
|
|
345
|
-
key: 56,
|
|
346
|
-
record: currentRecord.value
|
|
347
|
-
}, null, 8, ["record"])) : createCommentVNode("", true),
|
|
348
|
-
currentRecord.value.type === "panorama" ? (openBlock(), createBlock(PanoramaStylePes, {
|
|
349
|
-
key: 57,
|
|
350
|
-
record: currentRecord.value
|
|
351
|
-
}, null, 8, ["record"])) : createCommentVNode("", true)
|
|
352
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
353
|
-
createElementVNode("div", {
|
|
354
|
-
innerHTML: unref(emptyPes)()
|
|
355
|
-
}, null, 8, _hoisted_4),
|
|
356
|
-
_cache[1] || (_cache[1] = createElementVNode("div", { style: { "color": "#999", "margin-top": "10px", "font-size": "13px" } }, "可选中一个元素查看相关配置", -1))
|
|
357
|
-
]))
|
|
358
|
-
]);
|
|
359
|
-
};
|
|
360
|
-
}
|
|
361
|
-
};
|
|
362
|
-
const Properties = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e18074a5"]]);
|
|
363
|
-
export {
|
|
364
|
-
Properties as default
|
|
365
|
-
};
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { ref, resolveComponent, createElementBlock, openBlock, createElementVNode, createVNode, withCtx, createTextVNode } from "vue";
|
|
2
|
-
/* empty css */
|
|
3
|
-
import _export_sfc from "./sun-card-designer.es16.js";
|
|
4
|
-
const _hoisted_1 = { class: "upload-base-pes" };
|
|
5
|
-
const _sfc_main = {
|
|
6
|
-
__name: "uploadBasePes",
|
|
7
|
-
props: ["record"],
|
|
8
|
-
setup(__props) {
|
|
9
|
-
const props = __props;
|
|
10
|
-
const parseTypeOptions = ref([
|
|
11
|
-
{ label: "轻量化解析(推荐)", value: "lightweight" },
|
|
12
|
-
{ label: "精细化解析", value: "refinement" },
|
|
13
|
-
{ label: "Excel KV解析", value: "excelKv" }
|
|
14
|
-
]);
|
|
15
|
-
return (_ctx, _cache) => {
|
|
16
|
-
const _component_a_checkbox = resolveComponent("a-checkbox");
|
|
17
|
-
const _component_a_checkbox_group = resolveComponent("a-checkbox-group");
|
|
18
|
-
const _component_a_form_item = resolveComponent("a-form-item");
|
|
19
|
-
const _component_a_select = resolveComponent("a-select");
|
|
20
|
-
const _component_a_col = resolveComponent("a-col");
|
|
21
|
-
const _component_a_row = resolveComponent("a-row");
|
|
22
|
-
const _component_a_form = resolveComponent("a-form");
|
|
23
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
24
|
-
_cache[7] || (_cache[7] = createElementVNode("div", { class: "title" }, "数据", -1)),
|
|
25
|
-
createVNode(_component_a_form, { layout: "vertical" }, {
|
|
26
|
-
default: withCtx(() => [
|
|
27
|
-
createVNode(_component_a_row, { gutter: [16, 16] }, {
|
|
28
|
-
default: withCtx(() => [
|
|
29
|
-
createVNode(_component_a_col, { span: 24 }, {
|
|
30
|
-
default: withCtx(() => [
|
|
31
|
-
createVNode(_component_a_form_item, { label: "支持的文件格式" }, {
|
|
32
|
-
default: withCtx(() => [
|
|
33
|
-
createVNode(_component_a_checkbox_group, {
|
|
34
|
-
value: props.record.options.format,
|
|
35
|
-
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => props.record.options.format = $event)
|
|
36
|
-
}, {
|
|
37
|
-
default: withCtx(() => [
|
|
38
|
-
createVNode(_component_a_checkbox, { value: "pdf" }, {
|
|
39
|
-
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
40
|
-
createTextVNode("PDF", -1)
|
|
41
|
-
])]),
|
|
42
|
-
_: 1
|
|
43
|
-
}),
|
|
44
|
-
createVNode(_component_a_checkbox, { value: "word" }, {
|
|
45
|
-
default: withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
46
|
-
createTextVNode("Word", -1)
|
|
47
|
-
])]),
|
|
48
|
-
_: 1
|
|
49
|
-
}),
|
|
50
|
-
createVNode(_component_a_checkbox, { value: "excle" }, {
|
|
51
|
-
default: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
52
|
-
createTextVNode("Excel", -1)
|
|
53
|
-
])]),
|
|
54
|
-
_: 1
|
|
55
|
-
}),
|
|
56
|
-
createVNode(_component_a_checkbox, { value: "txt" }, {
|
|
57
|
-
default: withCtx(() => [..._cache[5] || (_cache[5] = [
|
|
58
|
-
createTextVNode("TXT", -1)
|
|
59
|
-
])]),
|
|
60
|
-
_: 1
|
|
61
|
-
}),
|
|
62
|
-
createVNode(_component_a_checkbox, { value: "ppt" }, {
|
|
63
|
-
default: withCtx(() => [..._cache[6] || (_cache[6] = [
|
|
64
|
-
createTextVNode("PPT", -1)
|
|
65
|
-
])]),
|
|
66
|
-
_: 1
|
|
67
|
-
})
|
|
68
|
-
]),
|
|
69
|
-
_: 1
|
|
70
|
-
}, 8, ["value"])
|
|
71
|
-
]),
|
|
72
|
-
_: 1
|
|
73
|
-
}),
|
|
74
|
-
createVNode(_component_a_form_item, { label: "解析方式" }, {
|
|
75
|
-
default: withCtx(() => [
|
|
76
|
-
createVNode(_component_a_select, {
|
|
77
|
-
value: props.record.options.completeParsefastParsekvParse,
|
|
78
|
-
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => props.record.options.completeParsefastParsekvParse = $event),
|
|
79
|
-
options: parseTypeOptions.value
|
|
80
|
-
}, null, 8, ["value", "options"])
|
|
81
|
-
]),
|
|
82
|
-
_: 1
|
|
83
|
-
})
|
|
84
|
-
]),
|
|
85
|
-
_: 1
|
|
86
|
-
})
|
|
87
|
-
]),
|
|
88
|
-
_: 1
|
|
89
|
-
})
|
|
90
|
-
]),
|
|
91
|
-
_: 1
|
|
92
|
-
})
|
|
93
|
-
]);
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
};
|
|
97
|
-
const UploadBasePes = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6f41b8b2"]]);
|
|
98
|
-
export {
|
|
99
|
-
UploadBasePes as default
|
|
100
|
-
};
|