hfl-comp-editor 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/dist/Attr-6xFWM3Vu.js +148 -0
- package/dist/Attr-7IY8eomx.js +336 -0
- package/dist/Attr-B1lXQOcv.js +201 -0
- package/dist/Attr-BAFtdDJg.js +305 -0
- package/dist/Attr-BBfczLXs.js +35 -0
- package/dist/Attr-BJEwiBrV.js +347 -0
- package/dist/Attr-BSvQn17t.js +411 -0
- package/dist/Attr-BUi4qTa1.js +257 -0
- package/dist/Attr-BYTYcvxt.js +435 -0
- package/dist/Attr-Bd_KJyxw.js +144 -0
- package/dist/Attr-BlEZH7i5.js +206 -0
- package/dist/Attr-BzqtLYFT.js +83 -0
- package/dist/Attr-C-1cDzAO.js +444 -0
- package/dist/Attr-CGmxDUiy.js +287 -0
- package/dist/Attr-CMLRxsB2.js +58 -0
- package/dist/Attr-CdlKmBzx.js +440 -0
- package/dist/Attr-Ch7a_SzC.js +284 -0
- package/dist/Attr-CsGMFQbV.js +429 -0
- package/dist/Attr-CwBX8Ixx.js +469 -0
- package/dist/Attr-CxqxzwQc.js +83 -0
- package/dist/Attr-D3B0BZze.js +308 -0
- package/dist/Attr-DC81_k2o.js +419 -0
- package/dist/Attr-DCo4QQ6l.js +300 -0
- package/dist/Attr-DG-ZsTFh.js +284 -0
- package/dist/Attr-DTQie-tN.js +317 -0
- package/dist/Attr-DU8CYIuB.js +143 -0
- package/dist/Attr-DXBKgc-D.js +240 -0
- package/dist/Attr-DZjrJBsB.js +133 -0
- package/dist/Attr-DeYdKMTp.js +212 -0
- package/dist/Attr-DqZehffz.js +390 -0
- package/dist/Attr-DyPnTU_-.js +192 -0
- package/dist/Attr-Puy692v9.js +35 -0
- package/dist/Attr-QInC_B1l.js +220 -0
- package/dist/Attr-SERejxJB.js +352 -0
- package/dist/Attr-fHaif05A.js +336 -0
- package/dist/Attr-fXg38IuK.js +350 -0
- package/dist/Attr-zq-mrp3n.js +230 -0
- package/dist/CommonDialog-QF1aBScV.js +88 -0
- package/dist/Data-3Z8HAwsQ.js +114 -0
- package/dist/Data-5SkWiZJq.js +61 -0
- package/dist/Data-8qir1zkg.js +132 -0
- package/dist/Data-B-1t1lrw.js +33 -0
- package/dist/Data-B16GKLdS.js +28 -0
- package/dist/Data-B1NLEGCo.js +28 -0
- package/dist/Data-BHnbikUM.js +61 -0
- package/dist/Data-BIX1G8En.js +28 -0
- package/dist/Data-BIf_LVvT.js +28 -0
- package/dist/Data-BK0YuSm6.js +274 -0
- package/dist/Data-BSYecM6e.js +55 -0
- package/dist/Data-BieQQuAE.js +61 -0
- package/dist/Data-BlkRJax1.js +122 -0
- package/dist/Data-ByFhMXr6.js +28 -0
- package/dist/Data-C-hEawMb.js +61 -0
- package/dist/Data-C81gX-qD.js +132 -0
- package/dist/Data-CI4BvrsJ.js +160 -0
- package/dist/Data-CK4izlXC.js +28 -0
- package/dist/Data-CKp_qC9x.js +76 -0
- package/dist/Data-CXPaTnki.js +92 -0
- package/dist/Data-D6_XEjHE.js +28 -0
- package/dist/Data-DCasQYvr.js +68 -0
- package/dist/Data-DFrVaR7Z.js +91 -0
- package/dist/Data-DNl6KlmC.js +28 -0
- package/dist/Data-DYXfwgwx.js +58 -0
- package/dist/Data-Daq2k2Ay.js +91 -0
- package/dist/Data-Dm8096ND.js +132 -0
- package/dist/Data-Dv9sBHPV.js +20 -0
- package/dist/Data-DxzFcXWX.js +73 -0
- package/dist/Data-I3pQ4LFc.js +73 -0
- package/dist/Data-IsmvG2dc.js +62 -0
- package/dist/Data-Mm8YIWYs.js +83 -0
- package/dist/Data-Yzqs7Kl-.js +28 -0
- package/dist/Data-hM43y-W1.js +272 -0
- package/dist/Data-oKzG4eiW.js +61 -0
- package/dist/Data-suoeP6V2.js +115 -0
- package/dist/Data-wlTKE3sJ.js +61 -0
- package/dist/ElementIconDialog-DpPWksjB.js +8699 -0
- package/dist/ItemEditorDialog-ndgNCmLn.js +215 -0
- package/dist/ShortCutsItemEditorDialog-zbAyBYdn.js +288 -0
- package/dist/_plugin-vue_export-helper-Bos-KsiI.js +6535 -0
- package/dist/common-D8VQk1vN.js +882 -0
- package/dist/constant-CU9c_PNt.js +289 -0
- package/dist/hfl-comp-editor.es.js +63 -0
- package/dist/hfl-comp-editor.umd.js +73 -0
- package/dist/vite.svg +1 -0
- package/package.json +45 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { _ as c, g as i } from "./_plugin-vue_export-helper-Bos-KsiI.js";
|
|
2
|
+
import { resolveComponent as p, createElementBlock as f, openBlock as V, createVNode as l, withCtx as u, createTextVNode as x } from "vue";
|
|
3
|
+
const v = {
|
|
4
|
+
__name: "Data",
|
|
5
|
+
props: ["pageId", "formSize"],
|
|
6
|
+
setup(m, { expose: t }) {
|
|
7
|
+
t();
|
|
8
|
+
const a = m, e = i(a.pageId), r = computed(() => e.curComponent), s = computed(() => r.value.propValue || {}), o = { props: a, editorStore: e, curComponent: r, propValue: s, get useEditorStore() {
|
|
9
|
+
return i;
|
|
10
|
+
} };
|
|
11
|
+
return Object.defineProperty(o, "__isScriptSetup", { enumerable: !1, value: !0 }), o;
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
function b(m, t, a, e, r, s) {
|
|
15
|
+
const o = p("el-input"), d = p("el-form-item"), _ = p("el-form");
|
|
16
|
+
return V(), f("div", { class: "data-list" }, [
|
|
17
|
+
l(_, {
|
|
18
|
+
size: e.props.formSize,
|
|
19
|
+
"label-width": "100px",
|
|
20
|
+
"label-position": "left",
|
|
21
|
+
style: { padding: "10px" }
|
|
22
|
+
}, {
|
|
23
|
+
default: u(() => [
|
|
24
|
+
l(d, {
|
|
25
|
+
label: "取值缓存",
|
|
26
|
+
title: "从缓存地址取值"
|
|
27
|
+
}, {
|
|
28
|
+
default: u(() => [
|
|
29
|
+
l(o, {
|
|
30
|
+
modelValue: e.propValue.dataCK,
|
|
31
|
+
"onUpdate:modelValue": t[0] || (t[0] = (n) => e.propValue.dataCK = n),
|
|
32
|
+
type: "text",
|
|
33
|
+
class: "common-item"
|
|
34
|
+
}, null, 8, ["modelValue"])
|
|
35
|
+
]),
|
|
36
|
+
_: 1
|
|
37
|
+
}),
|
|
38
|
+
x(),
|
|
39
|
+
l(d, {
|
|
40
|
+
label: "解析数值",
|
|
41
|
+
title: "从取值对象中解释数值"
|
|
42
|
+
}, {
|
|
43
|
+
default: u(() => [
|
|
44
|
+
l(o, {
|
|
45
|
+
modelValue: e.propValue.valueKey,
|
|
46
|
+
"onUpdate:modelValue": t[1] || (t[1] = (n) => e.propValue.valueKey = n),
|
|
47
|
+
type: "text",
|
|
48
|
+
class: "common-item"
|
|
49
|
+
}, null, 8, ["modelValue"])
|
|
50
|
+
]),
|
|
51
|
+
_: 1
|
|
52
|
+
})
|
|
53
|
+
]),
|
|
54
|
+
_: 1
|
|
55
|
+
}, 8, ["size"])
|
|
56
|
+
]);
|
|
57
|
+
}
|
|
58
|
+
const C = /* @__PURE__ */ c(v, [["render", b], ["__scopeId", "data-v-3a87a3a9"], ["__file", "Data.vue"]]);
|
|
59
|
+
export {
|
|
60
|
+
C as default
|
|
61
|
+
};
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { _ as x, g as V } from "./_plugin-vue_export-helper-Bos-KsiI.js";
|
|
2
|
+
import { I as C } from "./ItemEditorDialog-ndgNCmLn.js";
|
|
3
|
+
import { resolveComponent as p, createElementBlock as v, openBlock as f, createVNode as o, createTextVNode as r, withCtx as a, createBlock as y, createCommentVNode as D } from "vue";
|
|
4
|
+
const S = {
|
|
5
|
+
__name: "Data",
|
|
6
|
+
props: ["pageId", "formSize"],
|
|
7
|
+
setup(_, { expose: t }) {
|
|
8
|
+
t();
|
|
9
|
+
const c = _, e = V(c.pageId), s = computed(() => e.curComponent), u = computed(() => s.value.propValue || {}), i = ref(null), d = { props: c, editorStore: e, curComponent: s, propValue: u, itemDataRef: i, setStaticData: () => {
|
|
10
|
+
i.value?.show({
|
|
11
|
+
staticData: u.value.items || [],
|
|
12
|
+
callBack: function(m) {
|
|
13
|
+
u.value.items = m || [];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
}, get useEditorStore() {
|
|
17
|
+
return V;
|
|
18
|
+
}, ItemEditorDialog: C };
|
|
19
|
+
return Object.defineProperty(d, "__isScriptSetup", { enumerable: !1, value: !0 }), d;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
function g(_, t, c, e, s, u) {
|
|
23
|
+
const i = p("el-switch"), n = p("el-form-item"), d = p("el-button"), m = p("el-input"), b = p("el-form");
|
|
24
|
+
return f(), v("div", { class: "data-list" }, [
|
|
25
|
+
o(b, {
|
|
26
|
+
size: e.props.formSize,
|
|
27
|
+
"label-width": "100px",
|
|
28
|
+
"label-position": "left",
|
|
29
|
+
style: { padding: "10px" }
|
|
30
|
+
}, {
|
|
31
|
+
default: a(() => [
|
|
32
|
+
o(n, { label: "静态数源" }, {
|
|
33
|
+
default: a(() => [
|
|
34
|
+
o(i, {
|
|
35
|
+
modelValue: e.propValue.staticData,
|
|
36
|
+
"onUpdate:modelValue": t[0] || (t[0] = (l) => e.propValue.staticData = l)
|
|
37
|
+
}, null, 8, ["modelValue"])
|
|
38
|
+
]),
|
|
39
|
+
_: 1
|
|
40
|
+
}),
|
|
41
|
+
r(),
|
|
42
|
+
e.propValue.staticData ? (f(), y(n, {
|
|
43
|
+
key: 0,
|
|
44
|
+
label: "数据"
|
|
45
|
+
}, {
|
|
46
|
+
default: a(() => [
|
|
47
|
+
o(d, {
|
|
48
|
+
type: "primary",
|
|
49
|
+
icon: "edit",
|
|
50
|
+
class: "common-item",
|
|
51
|
+
onClick: e.setStaticData
|
|
52
|
+
}, {
|
|
53
|
+
default: a(() => [
|
|
54
|
+
r("点击设置")
|
|
55
|
+
]),
|
|
56
|
+
_: 1
|
|
57
|
+
})
|
|
58
|
+
]),
|
|
59
|
+
_: 1
|
|
60
|
+
})) : D("", !0),
|
|
61
|
+
r(),
|
|
62
|
+
e.propValue.staticData ? D("", !0) : (f(), y(n, {
|
|
63
|
+
key: 1,
|
|
64
|
+
label: "数源缓存",
|
|
65
|
+
title: "数据源的缓存地址"
|
|
66
|
+
}, {
|
|
67
|
+
default: a(() => [
|
|
68
|
+
o(m, {
|
|
69
|
+
modelValue: e.propValue.dsCacheKey,
|
|
70
|
+
"onUpdate:modelValue": t[1] || (t[1] = (l) => e.propValue.dsCacheKey = l),
|
|
71
|
+
type: "text",
|
|
72
|
+
class: "common-item"
|
|
73
|
+
}, null, 8, ["modelValue"])
|
|
74
|
+
]),
|
|
75
|
+
_: 1
|
|
76
|
+
})),
|
|
77
|
+
r(),
|
|
78
|
+
o(n, { label: "默认项" }, {
|
|
79
|
+
default: a(() => [
|
|
80
|
+
o(m, {
|
|
81
|
+
modelValue: e.propValue.defaultValue,
|
|
82
|
+
"onUpdate:modelValue": t[2] || (t[2] = (l) => e.propValue.defaultValue = l),
|
|
83
|
+
type: "text",
|
|
84
|
+
class: "common-item"
|
|
85
|
+
}, null, 8, ["modelValue"])
|
|
86
|
+
]),
|
|
87
|
+
_: 1
|
|
88
|
+
}),
|
|
89
|
+
r(),
|
|
90
|
+
o(n, {
|
|
91
|
+
label: "取值缓存",
|
|
92
|
+
title: "从缓存地址取值"
|
|
93
|
+
}, {
|
|
94
|
+
default: a(() => [
|
|
95
|
+
o(m, {
|
|
96
|
+
modelValue: e.propValue.fromCacheKey,
|
|
97
|
+
"onUpdate:modelValue": t[3] || (t[3] = (l) => e.propValue.fromCacheKey = l),
|
|
98
|
+
type: "text",
|
|
99
|
+
class: "common-item"
|
|
100
|
+
}, null, 8, ["modelValue"])
|
|
101
|
+
]),
|
|
102
|
+
_: 1
|
|
103
|
+
}),
|
|
104
|
+
r(),
|
|
105
|
+
o(n, {
|
|
106
|
+
label: "存值缓存",
|
|
107
|
+
title: "将值存入缓存地址"
|
|
108
|
+
}, {
|
|
109
|
+
default: a(() => [
|
|
110
|
+
o(m, {
|
|
111
|
+
modelValue: e.propValue.toCacheKey,
|
|
112
|
+
"onUpdate:modelValue": t[4] || (t[4] = (l) => e.propValue.toCacheKey = l),
|
|
113
|
+
type: "text",
|
|
114
|
+
class: "common-item"
|
|
115
|
+
}, null, 8, ["modelValue"])
|
|
116
|
+
]),
|
|
117
|
+
_: 1
|
|
118
|
+
})
|
|
119
|
+
]),
|
|
120
|
+
_: 1
|
|
121
|
+
}, 8, ["size"]),
|
|
122
|
+
r(),
|
|
123
|
+
o(e.ItemEditorDialog, {
|
|
124
|
+
ref: "itemDataRef",
|
|
125
|
+
title: "选项编辑"
|
|
126
|
+
}, null, 512)
|
|
127
|
+
]);
|
|
128
|
+
}
|
|
129
|
+
const w = /* @__PURE__ */ x(S, [["render", g], ["__scopeId", "data-v-c53b941e"], ["__file", "Data.vue"]]);
|
|
130
|
+
export {
|
|
131
|
+
w as default
|
|
132
|
+
};
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { I as v } from "./ItemEditorDialog-ndgNCmLn.js";
|
|
2
|
+
import { _ as I, g } from "./_plugin-vue_export-helper-Bos-KsiI.js";
|
|
3
|
+
import { g as y, t as b } from "./common-D8VQk1vN.js";
|
|
4
|
+
import { resolveComponent as s, createElementBlock as S, openBlock as V, createVNode as o, createTextVNode as r, withCtx as n, createBlock as D, createCommentVNode as x } from "vue";
|
|
5
|
+
const k = {
|
|
6
|
+
__name: "Data",
|
|
7
|
+
props: ["pageId", "formSize"],
|
|
8
|
+
setup(_, { expose: t }) {
|
|
9
|
+
t();
|
|
10
|
+
const i = _, e = g(i.pageId), c = computed(() => e.curComponent), u = computed(() => c.value.propValue || {}), d = ref(null), a = () => {
|
|
11
|
+
d.value?.show({
|
|
12
|
+
staticData: u.value.items || [],
|
|
13
|
+
callBack: function(p) {
|
|
14
|
+
u.value.items = p || [];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}, f = computed({
|
|
18
|
+
get: () => {
|
|
19
|
+
let p = u.value.props || {};
|
|
20
|
+
return b(p);
|
|
21
|
+
},
|
|
22
|
+
set: (p) => {
|
|
23
|
+
u.value.props = y(p, {});
|
|
24
|
+
}
|
|
25
|
+
}), m = { props: i, editorStore: e, curComponent: c, propValue: u, itemDataRef: d, setData: a, customProps: f, ItemEditorDialog: v, get useEditorStore() {
|
|
26
|
+
return g;
|
|
27
|
+
}, get getJsonObject() {
|
|
28
|
+
return y;
|
|
29
|
+
}, get toJsonStr() {
|
|
30
|
+
return b;
|
|
31
|
+
} };
|
|
32
|
+
return Object.defineProperty(m, "__isScriptSetup", { enumerable: !1, value: !0 }), m;
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
function K(_, t, i, e, c, u) {
|
|
36
|
+
const d = s("el-switch"), a = s("el-form-item"), f = s("el-button"), m = s("el-input"), p = s("OmitInput"), C = s("el-form");
|
|
37
|
+
return V(), S("div", { class: "data-list" }, [
|
|
38
|
+
o(C, {
|
|
39
|
+
size: e.props.formSize,
|
|
40
|
+
"label-width": "100px",
|
|
41
|
+
"label-position": "left",
|
|
42
|
+
style: { padding: "10px" }
|
|
43
|
+
}, {
|
|
44
|
+
default: n(() => [
|
|
45
|
+
o(a, { label: "静态数据" }, {
|
|
46
|
+
default: n(() => [
|
|
47
|
+
o(d, {
|
|
48
|
+
modelValue: e.propValue.staticData,
|
|
49
|
+
"onUpdate:modelValue": t[0] || (t[0] = (l) => e.propValue.staticData = l)
|
|
50
|
+
}, null, 8, ["modelValue"])
|
|
51
|
+
]),
|
|
52
|
+
_: 1
|
|
53
|
+
}),
|
|
54
|
+
r(),
|
|
55
|
+
e.propValue.staticData ? (V(), D(a, {
|
|
56
|
+
key: 0,
|
|
57
|
+
label: "数据"
|
|
58
|
+
}, {
|
|
59
|
+
default: n(() => [
|
|
60
|
+
o(f, {
|
|
61
|
+
type: "primary",
|
|
62
|
+
icon: "edit",
|
|
63
|
+
class: "common-item",
|
|
64
|
+
onClick: e.setData
|
|
65
|
+
}, {
|
|
66
|
+
default: n(() => [
|
|
67
|
+
r("点击设置")
|
|
68
|
+
]),
|
|
69
|
+
_: 1
|
|
70
|
+
})
|
|
71
|
+
]),
|
|
72
|
+
_: 1
|
|
73
|
+
})) : x("", !0),
|
|
74
|
+
r(),
|
|
75
|
+
e.propValue.staticData ? x("", !0) : (V(), D(a, {
|
|
76
|
+
key: 1,
|
|
77
|
+
label: "数源缓存",
|
|
78
|
+
title: "从缓存地址获取数据源"
|
|
79
|
+
}, {
|
|
80
|
+
default: n(() => [
|
|
81
|
+
o(m, {
|
|
82
|
+
modelValue: e.propValue.dsCacheKey,
|
|
83
|
+
"onUpdate:modelValue": t[1] || (t[1] = (l) => e.propValue.dsCacheKey = l),
|
|
84
|
+
type: "text",
|
|
85
|
+
class: "common-item"
|
|
86
|
+
}, null, 8, ["modelValue"])
|
|
87
|
+
]),
|
|
88
|
+
_: 1
|
|
89
|
+
})),
|
|
90
|
+
r(),
|
|
91
|
+
o(a, { label: "默认选项" }, {
|
|
92
|
+
default: n(() => [
|
|
93
|
+
o(m, {
|
|
94
|
+
modelValue: e.propValue.defaultValue,
|
|
95
|
+
"onUpdate:modelValue": t[2] || (t[2] = (l) => e.propValue.defaultValue = l),
|
|
96
|
+
type: "text",
|
|
97
|
+
class: "common-item"
|
|
98
|
+
}, null, 8, ["modelValue"])
|
|
99
|
+
]),
|
|
100
|
+
_: 1
|
|
101
|
+
}),
|
|
102
|
+
r(),
|
|
103
|
+
o(a, {
|
|
104
|
+
label: "取值缓存",
|
|
105
|
+
title: "从缓存地址取值"
|
|
106
|
+
}, {
|
|
107
|
+
default: n(() => [
|
|
108
|
+
o(m, {
|
|
109
|
+
modelValue: e.propValue.fromCacheKey,
|
|
110
|
+
"onUpdate:modelValue": t[3] || (t[3] = (l) => e.propValue.fromCacheKey = l),
|
|
111
|
+
type: "text",
|
|
112
|
+
class: "common-item"
|
|
113
|
+
}, null, 8, ["modelValue"])
|
|
114
|
+
]),
|
|
115
|
+
_: 1
|
|
116
|
+
}),
|
|
117
|
+
r(),
|
|
118
|
+
o(a, {
|
|
119
|
+
label: "存值缓存",
|
|
120
|
+
title: "将值存入缓存地址"
|
|
121
|
+
}, {
|
|
122
|
+
default: n(() => [
|
|
123
|
+
o(m, {
|
|
124
|
+
modelValue: e.propValue.toCacheKey,
|
|
125
|
+
"onUpdate:modelValue": t[4] || (t[4] = (l) => e.propValue.toCacheKey = l),
|
|
126
|
+
type: "text",
|
|
127
|
+
class: "common-item"
|
|
128
|
+
}, null, 8, ["modelValue"])
|
|
129
|
+
]),
|
|
130
|
+
_: 1
|
|
131
|
+
}),
|
|
132
|
+
r(),
|
|
133
|
+
o(a, {
|
|
134
|
+
label: "props",
|
|
135
|
+
title: "options的配置"
|
|
136
|
+
}, {
|
|
137
|
+
default: n(() => [
|
|
138
|
+
o(p, {
|
|
139
|
+
modelValue: e.customProps,
|
|
140
|
+
"onUpdate:modelValue": t[5] || (t[5] = (l) => e.customProps = l),
|
|
141
|
+
dialogTitle: "options的配置编辑(json格式对象)",
|
|
142
|
+
class: "common-item"
|
|
143
|
+
}, null, 8, ["modelValue"])
|
|
144
|
+
]),
|
|
145
|
+
_: 1
|
|
146
|
+
})
|
|
147
|
+
]),
|
|
148
|
+
_: 1
|
|
149
|
+
}, 8, ["size"]),
|
|
150
|
+
r(),
|
|
151
|
+
o(e.ItemEditorDialog, {
|
|
152
|
+
ref: "itemDataRef",
|
|
153
|
+
title: "选项编辑"
|
|
154
|
+
}, null, 512)
|
|
155
|
+
]);
|
|
156
|
+
}
|
|
157
|
+
const z = /* @__PURE__ */ I(k, [["render", K], ["__scopeId", "data-v-d957c338"], ["__file", "Data.vue"]]);
|
|
158
|
+
export {
|
|
159
|
+
z as default
|
|
160
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { _ as c, g as s } from "./_plugin-vue_export-helper-Bos-KsiI.js";
|
|
2
|
+
import { resolveComponent as l, createElementBlock as _, openBlock as u, createVNode as d } from "vue";
|
|
3
|
+
const i = {
|
|
4
|
+
__name: "Data",
|
|
5
|
+
props: ["pageId", "formSize"],
|
|
6
|
+
setup(n, { expose: p }) {
|
|
7
|
+
p();
|
|
8
|
+
const o = n, e = s(o.pageId), r = computed(() => e.curComponent), a = computed(() => r.value.propValue || {}), t = { props: o, editorStore: e, curComponent: r, propValue: a, get useEditorStore() {
|
|
9
|
+
return s;
|
|
10
|
+
} };
|
|
11
|
+
return Object.defineProperty(t, "__isScriptSetup", { enumerable: !1, value: !0 }), t;
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
function m(n, p, o, e, r, a) {
|
|
15
|
+
const t = l("el-form");
|
|
16
|
+
return u(), _("div", { class: "data-list" }, [
|
|
17
|
+
d(t, {
|
|
18
|
+
size: e.props.formSize,
|
|
19
|
+
"label-width": "100px",
|
|
20
|
+
"label-position": "left",
|
|
21
|
+
style: { padding: "10px" }
|
|
22
|
+
}, null, 8, ["size"])
|
|
23
|
+
]);
|
|
24
|
+
}
|
|
25
|
+
const g = /* @__PURE__ */ c(i, [["render", m], ["__scopeId", "data-v-9cd851e1"], ["__file", "Data.vue"]]);
|
|
26
|
+
export {
|
|
27
|
+
g as default
|
|
28
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { _ as f, g as i } from "./_plugin-vue_export-helper-Bos-KsiI.js";
|
|
2
|
+
import { resolveComponent as u, createElementBlock as V, openBlock as x, createVNode as t, withCtx as n, createTextVNode as c } from "vue";
|
|
3
|
+
const g = {
|
|
4
|
+
__name: "Data",
|
|
5
|
+
props: ["pageId", "formSize"],
|
|
6
|
+
setup(d, { expose: o }) {
|
|
7
|
+
o();
|
|
8
|
+
const p = d, e = i(p.pageId), r = computed(() => e.curComponent), s = computed(() => r.value.propValue || {}), l = { props: p, editorStore: e, curComponent: r, propValue: s, get useEditorStore() {
|
|
9
|
+
return i;
|
|
10
|
+
} };
|
|
11
|
+
return Object.defineProperty(l, "__isScriptSetup", { enumerable: !1, value: !0 }), l;
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
function C(d, o, p, e, r, s) {
|
|
15
|
+
const l = u("el-input"), m = u("el-form-item"), _ = u("el-form");
|
|
16
|
+
return x(), V("div", { class: "data-list" }, [
|
|
17
|
+
t(_, {
|
|
18
|
+
size: e.props.formSize,
|
|
19
|
+
"label-width": "110px",
|
|
20
|
+
"label-position": "left",
|
|
21
|
+
style: { padding: "10px" }
|
|
22
|
+
}, {
|
|
23
|
+
default: n(() => [
|
|
24
|
+
t(m, {
|
|
25
|
+
label: "取-总数",
|
|
26
|
+
title: "从缓存地址获取总数值"
|
|
27
|
+
}, {
|
|
28
|
+
default: n(() => [
|
|
29
|
+
t(l, {
|
|
30
|
+
modelValue: e.propValue.countFCK,
|
|
31
|
+
"onUpdate:modelValue": o[0] || (o[0] = (a) => e.propValue.countFCK = a),
|
|
32
|
+
type: "text",
|
|
33
|
+
class: "common-item"
|
|
34
|
+
}, null, 8, ["modelValue"])
|
|
35
|
+
]),
|
|
36
|
+
_: 1
|
|
37
|
+
}),
|
|
38
|
+
c(),
|
|
39
|
+
t(m, {
|
|
40
|
+
label: "存-当前页数",
|
|
41
|
+
title: "将当前页数值存入缓存地址"
|
|
42
|
+
}, {
|
|
43
|
+
default: n(() => [
|
|
44
|
+
t(l, {
|
|
45
|
+
modelValue: e.propValue.pageIndexTCK,
|
|
46
|
+
"onUpdate:modelValue": o[1] || (o[1] = (a) => e.propValue.pageIndexTCK = a),
|
|
47
|
+
type: "text",
|
|
48
|
+
class: "common-item"
|
|
49
|
+
}, null, 8, ["modelValue"])
|
|
50
|
+
]),
|
|
51
|
+
_: 1
|
|
52
|
+
}),
|
|
53
|
+
c(),
|
|
54
|
+
t(m, {
|
|
55
|
+
label: "存-显示数目",
|
|
56
|
+
title: "将显示数目值存入缓存地址"
|
|
57
|
+
}, {
|
|
58
|
+
default: n(() => [
|
|
59
|
+
t(l, {
|
|
60
|
+
modelValue: e.propValue.pageSizeTCK,
|
|
61
|
+
"onUpdate:modelValue": o[2] || (o[2] = (a) => e.propValue.pageSizeTCK = a),
|
|
62
|
+
type: "text",
|
|
63
|
+
class: "common-item"
|
|
64
|
+
}, null, 8, ["modelValue"])
|
|
65
|
+
]),
|
|
66
|
+
_: 1
|
|
67
|
+
})
|
|
68
|
+
]),
|
|
69
|
+
_: 1
|
|
70
|
+
}, 8, ["size"])
|
|
71
|
+
]);
|
|
72
|
+
}
|
|
73
|
+
const v = /* @__PURE__ */ f(g, [["render", C], ["__scopeId", "data-v-d08157bd"], ["__file", "Data.vue"]]);
|
|
74
|
+
export {
|
|
75
|
+
v as default
|
|
76
|
+
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { _ as v, g as c } from "./_plugin-vue_export-helper-Bos-KsiI.js";
|
|
2
|
+
import { resolveComponent as r, createElementBlock as _, openBlock as i, createVNode as t, withCtx as n, createTextVNode as f, Fragment as I, renderList as x } from "vue";
|
|
3
|
+
const S = {
|
|
4
|
+
__name: "Data",
|
|
5
|
+
props: ["pageId", "formSize"],
|
|
6
|
+
setup(s, { expose: o }) {
|
|
7
|
+
o();
|
|
8
|
+
const p = s, e = c(p.pageId), u = computed(() => e.curComponent), m = computed(() => u.value.propValue || {}), a = { props: p, editorStore: e, curComponent: u, propValue: m, pageSourceArr: [
|
|
9
|
+
{
|
|
10
|
+
value: "DB",
|
|
11
|
+
label: "数据库"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
value: "FILE",
|
|
15
|
+
label: "文件"
|
|
16
|
+
}
|
|
17
|
+
], get useEditorStore() {
|
|
18
|
+
return c;
|
|
19
|
+
} };
|
|
20
|
+
return Object.defineProperty(a, "__isScriptSetup", { enumerable: !1, value: !0 }), a;
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
function C(s, o, p, e, u, m) {
|
|
24
|
+
const d = r("el-input"), a = r("el-form-item"), V = r("el-option"), b = r("el-select"), g = r("el-form");
|
|
25
|
+
return i(), _("div", { class: "data-list" }, [
|
|
26
|
+
t(g, {
|
|
27
|
+
size: "small",
|
|
28
|
+
"label-width": "100px",
|
|
29
|
+
"label-position": "left",
|
|
30
|
+
style: { padding: "10px" }
|
|
31
|
+
}, {
|
|
32
|
+
default: n(() => [
|
|
33
|
+
t(a, { label: "页面ID" }, {
|
|
34
|
+
default: n(() => [
|
|
35
|
+
t(d, {
|
|
36
|
+
modelValue: e.propValue.subpageId,
|
|
37
|
+
"onUpdate:modelValue": o[0] || (o[0] = (l) => e.propValue.subpageId = l),
|
|
38
|
+
type: "text",
|
|
39
|
+
class: "common-item"
|
|
40
|
+
}, null, 8, ["modelValue"])
|
|
41
|
+
]),
|
|
42
|
+
_: 1
|
|
43
|
+
}),
|
|
44
|
+
f(),
|
|
45
|
+
t(a, {
|
|
46
|
+
label: "ID缓存地址",
|
|
47
|
+
title: "页面Id的缓存地址"
|
|
48
|
+
}, {
|
|
49
|
+
default: n(() => [
|
|
50
|
+
t(d, {
|
|
51
|
+
modelValue: e.propValue.subpageIdCK,
|
|
52
|
+
"onUpdate:modelValue": o[1] || (o[1] = (l) => e.propValue.subpageIdCK = l),
|
|
53
|
+
type: "text",
|
|
54
|
+
class: "common-item"
|
|
55
|
+
}, null, 8, ["modelValue"])
|
|
56
|
+
]),
|
|
57
|
+
_: 1
|
|
58
|
+
}),
|
|
59
|
+
f(),
|
|
60
|
+
t(a, {
|
|
61
|
+
label: "配置来源",
|
|
62
|
+
title: "配置数据的来源,是数据库还是文件,不选则根据全局配置"
|
|
63
|
+
}, {
|
|
64
|
+
default: n(() => [
|
|
65
|
+
t(b, {
|
|
66
|
+
modelValue: e.propValue.pageSource,
|
|
67
|
+
"onUpdate:modelValue": o[2] || (o[2] = (l) => e.propValue.pageSource = l),
|
|
68
|
+
placeholder: "请选择",
|
|
69
|
+
clearable: "",
|
|
70
|
+
class: "common-item"
|
|
71
|
+
}, {
|
|
72
|
+
default: n(() => [
|
|
73
|
+
(i(), _(I, null, x(e.pageSourceArr, (l) => t(V, {
|
|
74
|
+
key: l.value,
|
|
75
|
+
label: l.label,
|
|
76
|
+
value: l.value
|
|
77
|
+
}, null, 8, ["label", "value"])), 64))
|
|
78
|
+
]),
|
|
79
|
+
_: 1
|
|
80
|
+
}, 8, ["modelValue"])
|
|
81
|
+
]),
|
|
82
|
+
_: 1
|
|
83
|
+
})
|
|
84
|
+
]),
|
|
85
|
+
_: 1
|
|
86
|
+
})
|
|
87
|
+
]);
|
|
88
|
+
}
|
|
89
|
+
const k = /* @__PURE__ */ v(S, [["render", C], ["__scopeId", "data-v-7b9e7549"], ["__file", "Data.vue"]]);
|
|
90
|
+
export {
|
|
91
|
+
k as default
|
|
92
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { _ as c, g as s } from "./_plugin-vue_export-helper-Bos-KsiI.js";
|
|
2
|
+
import { resolveComponent as l, createElementBlock as _, openBlock as u, createVNode as d } from "vue";
|
|
3
|
+
const i = {
|
|
4
|
+
__name: "Data",
|
|
5
|
+
props: ["pageId", "formSize"],
|
|
6
|
+
setup(n, { expose: p }) {
|
|
7
|
+
p();
|
|
8
|
+
const o = n, e = s(o.pageId), r = computed(() => e.curComponent), a = computed(() => r.value.propValue || {}), t = { props: o, editorStore: e, curComponent: r, propValue: a, get useEditorStore() {
|
|
9
|
+
return s;
|
|
10
|
+
} };
|
|
11
|
+
return Object.defineProperty(t, "__isScriptSetup", { enumerable: !1, value: !0 }), t;
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
function m(n, p, o, e, r, a) {
|
|
15
|
+
const t = l("el-form");
|
|
16
|
+
return u(), _("div", { class: "data-list" }, [
|
|
17
|
+
d(t, {
|
|
18
|
+
size: e.props.formSize,
|
|
19
|
+
"label-width": "100px",
|
|
20
|
+
"label-position": "left",
|
|
21
|
+
style: { padding: "10px" }
|
|
22
|
+
}, null, 8, ["size"])
|
|
23
|
+
]);
|
|
24
|
+
}
|
|
25
|
+
const v = /* @__PURE__ */ c(i, [["render", m], ["__scopeId", "data-v-df7c5af1"], ["__file", "Data.vue"]]);
|
|
26
|
+
export {
|
|
27
|
+
v as default
|
|
28
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { _ as f, g as _ } from "./_plugin-vue_export-helper-Bos-KsiI.js";
|
|
2
|
+
import { resolveComponent as r, createElementBlock as V, openBlock as x, createVNode as t, withCtx as n, createTextVNode as b } from "vue";
|
|
3
|
+
const g = {
|
|
4
|
+
__name: "Data",
|
|
5
|
+
props: ["pageId", "formSize"],
|
|
6
|
+
setup(c, { expose: o }) {
|
|
7
|
+
o();
|
|
8
|
+
const a = c, e = _(a.pageId), p = computed(() => e.curComponent), m = computed(() => p.value.propValue || {}), l = { props: a, editorStore: e, curComponent: p, propValue: m, openPicUrl: () => {
|
|
9
|
+
}, get useEditorStore() {
|
|
10
|
+
return _;
|
|
11
|
+
} };
|
|
12
|
+
return Object.defineProperty(l, "__isScriptSetup", { enumerable: !1, value: !0 }), l;
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
function C(c, o, a, e, p, m) {
|
|
16
|
+
const s = r("el-button"), l = r("el-input"), i = r("el-form-item"), d = r("el-form");
|
|
17
|
+
return x(), V("div", { class: "data-list" }, [
|
|
18
|
+
t(d, {
|
|
19
|
+
size: e.props.formSize,
|
|
20
|
+
"label-width": "100px",
|
|
21
|
+
"label-position": "left",
|
|
22
|
+
style: { padding: "10px" }
|
|
23
|
+
}, {
|
|
24
|
+
default: n(() => [
|
|
25
|
+
t(i, { label: "地址" }, {
|
|
26
|
+
default: n(() => [
|
|
27
|
+
t(l, {
|
|
28
|
+
modelValue: e.propValue.url,
|
|
29
|
+
"onUpdate:modelValue": o[0] || (o[0] = (u) => e.propValue.url = u),
|
|
30
|
+
type: "text",
|
|
31
|
+
class: "common-item",
|
|
32
|
+
clearable: ""
|
|
33
|
+
}, {
|
|
34
|
+
append: n(() => [
|
|
35
|
+
t(s, {
|
|
36
|
+
icon: "search",
|
|
37
|
+
onClick: e.openPicUrl
|
|
38
|
+
})
|
|
39
|
+
]),
|
|
40
|
+
_: 1
|
|
41
|
+
}, 8, ["modelValue"])
|
|
42
|
+
]),
|
|
43
|
+
_: 1
|
|
44
|
+
}),
|
|
45
|
+
b(),
|
|
46
|
+
t(i, {
|
|
47
|
+
label: "地址缓存",
|
|
48
|
+
title: "从缓存中获取图片url地址"
|
|
49
|
+
}, {
|
|
50
|
+
default: n(() => [
|
|
51
|
+
t(l, {
|
|
52
|
+
modelValue: e.propValue.urlCK,
|
|
53
|
+
"onUpdate:modelValue": o[1] || (o[1] = (u) => e.propValue.urlCK = u),
|
|
54
|
+
type: "text",
|
|
55
|
+
class: "common-item"
|
|
56
|
+
}, null, 8, ["modelValue"])
|
|
57
|
+
]),
|
|
58
|
+
_: 1
|
|
59
|
+
})
|
|
60
|
+
]),
|
|
61
|
+
_: 1
|
|
62
|
+
}, 8, ["size"])
|
|
63
|
+
]);
|
|
64
|
+
}
|
|
65
|
+
const U = /* @__PURE__ */ f(g, [["render", C], ["__scopeId", "data-v-166a856f"], ["__file", "Data.vue"]]);
|
|
66
|
+
export {
|
|
67
|
+
U as default
|
|
68
|
+
};
|