@web-utils/component 2.7.3 → 2.7.5
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/chunks/AfdColumn.vue_vue_type_template_lang.768f2ed2.js +302 -0
- package/dist/chunks/ConfigArray.vue_vue_type_template_lang.66483daa.js +51 -0
- package/dist/chunks/ConfigColor.vue_vue_type_template_lang.cd880091.js +24 -0
- package/dist/chunks/ConfigCustom.vue_vue_type_template_lang.6e03d7fd.js +52 -0
- package/dist/chunks/ConfigDate.vue_vue_type_template_lang.420fa897.js +104 -0
- package/dist/chunks/ConfigDynamic.vue_vue_type_template_lang.82d24ab0.js +133 -0
- package/dist/chunks/ConfigEvent.vue_vue_type_template_lang.5e8ed6cc.js +96 -0
- package/dist/chunks/ConfigGroup.vue_vue_type_template_lang.44117322.js +48 -0
- package/dist/chunks/ConfigInput.vue_vue_type_template_lang.cc1eb052.js +96 -0
- package/dist/chunks/ConfigMap.vue_vue_type_template_lang.daee4d38.js +31 -0
- package/dist/chunks/ConfigNumber.vue_vue_type_template_lang.d60231d7.js +130 -0
- package/dist/chunks/ConfigRate.vue_vue_type_style_index_0_scoped_true_lang.cf5d437d.js +125 -0
- package/dist/chunks/ConfigSelect.vue_vue_type_template_lang.7db7e57f.js +483 -0
- package/dist/chunks/ConfigSlider.vue_vue_type_template_lang.27b8cc7b.js +99 -0
- package/dist/chunks/ConfigSwitch.vue_vue_type_style_index_0_scoped_true_lang.4caf1bd0.js +54 -0
- package/dist/chunks/ConfigTable.vue_vue_type_template_lang.3e8136d9.js +341 -0
- package/dist/chunks/ConfigTextarea.vue_vue_type_template_lang.5cddf41c.js +88 -0
- package/dist/chunks/ConfigTitle.vue_vue_type_template_lang.57d9deb5.js +87 -0
- package/dist/chunks/ConfigTree.vue_vue_type_style_index_0_scoped_true_lang.3770c37e.js +464 -0
- package/dist/chunks/ConfigUEditor.vue_vue_type_template_lang.9726b4f5.js +240 -0
- package/dist/chunks/ConfigUpload.vue_vue_type_template_lang.531a9b2a.js +471 -0
- package/dist/chunks/FormConfig.vue_vue_type_template_lang.85b4ee87.js +232 -0
- package/dist/chunks/WidgetConfig.vue_vue_type_template_lang.fbbbff76.js +1765 -0
- package/dist/chunks/WidgetForm.vue_vue_type_template_lang.82248338.js +242 -0
- package/dist/chunks/WidgetFormGroup.vue_vue_type_template_lang.c636aabd.js +266 -0
- package/dist/chunks/WidgetFormItem.vue_vue_type_template_lang.48d55a5c.js +24 -0
- package/dist/chunks/WidgetFormTable.vue_vue_type_template_lang.30625146.js +228 -0
- package/dist/chunks/{dataformat.3cfcf62c.js → dataformat.d3fd2d1b.js} +25 -24
- package/dist/chunks/{detail.a3249549.js → detail.ac4d421a.js} +7 -7
- package/dist/chunks/{dic.5f7e3523.js → dic.79d9f595.js} +28 -27
- package/dist/chunks/{event.b76c568a.js → event.43b42228.js} +7 -6
- package/dist/chunks/{init.352281f5.js → init.3b47bb80.js} +8 -7
- package/dist/chunks/monaco.1dbdc960.js +283 -0
- package/dist/chunks/{packages.5d7a86c4.js → packages.6f252850.js} +5 -61
- package/dist/chunks/{util.5053d54e.js → util.80e28481.js} +37 -51
- package/dist/components/afd-column/index.js +54 -0
- package/dist/components/chat/index.js +1 -1
- package/dist/components/code/index.js +1 -1
- package/dist/components/column/index.js +8 -7
- package/dist/components/column-default/index.js +1 -1
- package/dist/components/column-dynamic/index.js +1 -1
- package/dist/components/column-menu/index.js +1 -1
- package/dist/components/column-slot/index.js +27 -26
- package/dist/components/config-array/index.js +26 -0
- package/dist/components/config-color/index.js +26 -0
- package/dist/components/config-custom/index.js +60 -0
- package/dist/components/config-date/index.js +26 -0
- package/dist/components/config-dynamic/index.js +26 -0
- package/dist/components/config-event/index.js +72 -0
- package/dist/components/config-group/index.js +34 -0
- package/dist/components/config-input/index.js +26 -0
- package/dist/components/config-map/index.js +26 -0
- package/dist/components/config-number/index.js +26 -0
- package/dist/components/config-rate/index.js +69 -0
- package/dist/components/config-rate/style.css +1 -0
- package/dist/components/config-select/index.js +88 -0
- package/dist/components/config-slider/index.js +26 -0
- package/dist/components/config-switch/index.js +31 -0
- package/dist/components/config-switch/style.css +1 -0
- package/dist/components/config-table/index.js +120 -0
- package/dist/components/config-textarea/index.js +26 -0
- package/dist/components/config-title/index.js +31 -0
- package/dist/components/config-tree/index.js +120 -0
- package/dist/components/config-tree/style.css +1 -0
- package/dist/components/config-u-editor/index.js +32 -0
- package/dist/components/config-upload/index.js +56 -0
- package/dist/components/custom-scrollbar/index.js +6 -1
- package/dist/components/dialog-excel/index.js +2 -2
- package/dist/components/dialog-filter/index.js +1 -1
- package/dist/components/dialog-form/index.js +8 -7
- package/dist/components/flex-item/index.js +4 -1
- package/dist/components/flow/index.js +1 -1
- package/dist/components/flow-node/index.js +1 -1
- package/dist/components/form-config/index.js +26 -0
- package/dist/components/form-group/index.js +1 -1
- package/dist/components/form-temp/index.js +2 -2
- package/dist/components/{array → fy-array}/index.js +5 -5
- package/dist/components/{array → fy-array}/style.css +0 -0
- package/dist/components/fy-cascader/index.js +1 -1
- package/dist/components/fy-checkbox/index.js +1 -1
- package/dist/components/fy-curd/index.js +7 -6
- package/dist/components/fy-date/index.js +1 -1
- package/dist/components/fy-dialog-form/index.js +9 -8
- package/dist/components/{draggable → fy-draggable}/index.js +2 -2
- package/dist/components/{draggable → fy-draggable}/style.css +0 -0
- package/dist/components/fy-dynamic/index.js +2 -2
- package/dist/components/{empty → fy-empty}/index.js +6 -6
- package/dist/components/{empty → fy-empty}/style.css +0 -0
- package/dist/components/fy-form/index.js +9 -8
- package/dist/components/fy-form-design/index.js +1255 -0
- package/dist/components/fy-form-design/style.css +1 -0
- package/dist/components/fy-input/index.js +1 -1
- package/dist/components/fy-input-color/index.js +1 -1
- package/dist/components/fy-input-icon/index.js +1 -1
- package/dist/components/fy-input-map/index.js +4 -4
- package/dist/components/fy-input-number/index.js +1 -1
- package/dist/components/fy-input-table/index.js +4 -4
- package/dist/components/fy-input-tree/index.js +2 -2
- package/dist/components/fy-radio/index.js +1 -1
- package/dist/components/fy-rate/index.js +1 -1
- package/dist/components/fy-select/index.js +18 -17
- package/dist/components/fy-slider/index.js +2 -2
- package/dist/components/fy-switch/index.js +1 -1
- package/dist/components/fy-time/index.js +2 -2
- package/dist/components/fy-title/index.js +1 -1
- package/dist/components/fy-tree/index.js +7 -6
- package/dist/components/fy-upload/index.js +11 -10
- package/dist/components/header-menu/index.js +1 -1
- package/dist/components/header-search/index.js +2 -2
- package/dist/components/license/index.js +5 -5
- package/dist/components/login/index.js +9 -8
- package/dist/components/record-video/index.js +1 -1
- package/dist/components/search/index.js +10 -9
- package/dist/components/sign/index.js +1 -1
- package/dist/components/table-column/index.js +4 -1
- package/dist/components/table-page/index.js +1 -1
- package/dist/components/text-ellipsis/index.js +1 -1
- package/dist/components/verify/index.js +1 -1
- package/dist/components/watermark/index.js +5 -1
- package/dist/components/widget-config/index.js +107 -0
- package/dist/components/widget-form/index.js +68 -0
- package/dist/components/widget-form-group/index.js +91 -0
- package/dist/components/widget-form-item/index.js +70 -0
- package/dist/components/widget-form-table/index.js +90 -0
- package/dist/index.css +761 -201
- package/dist/index.es.js +24100 -16510
- package/package.json +5 -3
- package/web-types.json +1880 -1781
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { d as h } from "../../chunks/detail.
|
|
2
|
-
import {
|
|
3
|
-
import { s as C } from "../../chunks/dic.
|
|
1
|
+
import { d as h } from "../../chunks/detail.ac4d421a.js";
|
|
2
|
+
import { o as f, u as b, x as g, k as p, n as y, d as _ } from "../../chunks/util.80e28481.js";
|
|
3
|
+
import { s as C } from "../../chunks/dic.79d9f595.js";
|
|
4
|
+
import { isBlank as a } from "@web-utils/core";
|
|
4
5
|
import { n as $ } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
5
6
|
var v = function() {
|
|
6
7
|
var e = this, t = e.$createElement, l = e._self._c || t;
|
|
@@ -39,26 +40,26 @@ var v = function() {
|
|
|
39
40
|
}, {
|
|
40
41
|
key: "default",
|
|
41
42
|
fn: function(n) {
|
|
42
|
-
var r = n.row,
|
|
43
|
+
var r = n.row, i = n.$index;
|
|
43
44
|
return [r.$cellEdit && e.column.cell ? l("ElFormItem", {
|
|
44
45
|
attrs: {
|
|
45
|
-
prop: e.crud.isTree ? "" : `list.${
|
|
46
|
+
prop: e.crud.isTree ? "" : `list.${i}.${e.column.prop}`,
|
|
46
47
|
label: e.vaildLabel(e.column, r, " "),
|
|
47
48
|
"label-width": e.vaildLabel(e.column, r, "1px"),
|
|
48
49
|
rules: e.column.rules
|
|
49
50
|
}
|
|
50
51
|
}, [l("ElTooltip", {
|
|
51
52
|
attrs: {
|
|
52
|
-
content: (e.crud.listError[`list.${
|
|
53
|
-
disabled: !(e.crud.listError[`list.${
|
|
53
|
+
content: (e.crud.listError[`list.${i}.${e.column.prop}`] || {}).msg,
|
|
54
|
+
disabled: !(e.crud.listError[`list.${i}.${e.column.prop}`] || {}).valid,
|
|
54
55
|
placement: "top"
|
|
55
56
|
}
|
|
56
57
|
}, [e.crud.getSlotName(e.column, "F", e.crud.$scopedSlots) ? e._t(e.crud.getSlotName(e.column, "F"), null, null, {
|
|
57
58
|
row: r,
|
|
58
59
|
dic: e.crud.DIC[e.column.prop],
|
|
59
60
|
size: e.crud.isMediumSize,
|
|
60
|
-
index:
|
|
61
|
-
disabled: e.crud.btnDisabledList[
|
|
61
|
+
index: i,
|
|
62
|
+
disabled: e.crud.btnDisabledList[i],
|
|
62
63
|
label: e.handleDetail(r, e.column),
|
|
63
64
|
$cell: r.$cellEdit
|
|
64
65
|
}) : l("FormTemp", e._b({
|
|
@@ -66,20 +67,20 @@ var v = function() {
|
|
|
66
67
|
column: e.column,
|
|
67
68
|
size: e.crud.isMediumSize,
|
|
68
69
|
"table-data": {
|
|
69
|
-
index:
|
|
70
|
+
index: i,
|
|
70
71
|
row: r,
|
|
71
72
|
label: e.handleDetail(r, e.column)
|
|
72
73
|
},
|
|
73
|
-
dic: (e.crud.cascaderDIC[
|
|
74
|
+
dic: (e.crud.cascaderDIC[i] || {})[e.column.prop] || e.crud.DIC[e.column.prop],
|
|
74
75
|
props: e.column.props || e.crud.tableOption.props,
|
|
75
76
|
readonly: e.column.readonly,
|
|
76
|
-
disabled: e.crud.disabled || e.crud.tableOption.disabled || e.column.disabled || e.crud.btnDisabledList[
|
|
77
|
+
disabled: e.crud.disabled || e.crud.tableOption.disabled || e.column.disabled || e.crud.btnDisabledList[i],
|
|
77
78
|
clearable: e.optVal(e.column.clearable, !1),
|
|
78
79
|
"column-slot": e.crud.mainSlot
|
|
79
80
|
},
|
|
80
81
|
on: {
|
|
81
82
|
change: function(o) {
|
|
82
|
-
return e.columnChange(r, e.column,
|
|
83
|
+
return e.columnChange(r, e.column, i);
|
|
83
84
|
}
|
|
84
85
|
},
|
|
85
86
|
scopedSlots: e._u([e._l(e.crud.mainSlot, function(o) {
|
|
@@ -99,7 +100,7 @@ var v = function() {
|
|
|
99
100
|
}
|
|
100
101
|
}, "FormTemp", e.uploadFun(e.column, e.crud), !1))], 2)], 1) : e.crud.$scopedSlots[e.column.prop] ? e._t(e.column.prop, null, {
|
|
101
102
|
row: r,
|
|
102
|
-
index:
|
|
103
|
+
index: i,
|
|
103
104
|
dic: e.crud.DIC[e.column.prop],
|
|
104
105
|
size: e.crud.isMediumSize,
|
|
105
106
|
label: e.handleDetail(r, e.column)
|
|
@@ -189,7 +190,7 @@ const d = {}, D = {
|
|
|
189
190
|
});
|
|
190
191
|
},
|
|
191
192
|
methods: {
|
|
192
|
-
isBlank:
|
|
193
|
+
isBlank: a,
|
|
193
194
|
optVal: f,
|
|
194
195
|
uploadFun: b,
|
|
195
196
|
isMediaType(e, t) {
|
|
@@ -208,35 +209,35 @@ const d = {}, D = {
|
|
|
208
209
|
[...this.crud.propOption];
|
|
209
210
|
const l = e.cascader;
|
|
210
211
|
l.join(","), l.forEach((n) => {
|
|
211
|
-
const r = n,
|
|
212
|
-
|
|
212
|
+
const r = n, i = t[e.prop], o = t.$index, c = this.findObject(this.columnOption, r);
|
|
213
|
+
a(c) || (a(this.crud.cascaderDIC[o]) && this.$set(this.crud.cascaderDIC, o, {}), this.crud.cascaderIndexList.includes(o) && l.forEach((s) => {
|
|
213
214
|
this.$set(this.crud.cascaderDIC[o], s.prop, []), l.forEach((u) => t[u] = "");
|
|
214
|
-
}), !(
|
|
215
|
+
}), !(a(l) || a(i) || a(c)) && C({
|
|
215
216
|
column: c,
|
|
216
|
-
value:
|
|
217
|
+
value: i,
|
|
217
218
|
form: t
|
|
218
219
|
}).then((s) => {
|
|
219
220
|
const u = s || [];
|
|
220
|
-
this.crud.cascaderIndexList.includes(o) || this.crud.cascaderIndexList.push(o), this.crud.cascaderDicList[o] || this.$set(this.crud.cascaderDicList, o, {}), this.crud.cascaderDicList[o][r] || this.$set(this.crud.cascaderDicList[o], r, u), this.$set(this.crud.cascaderDIC[o], r, u), !
|
|
221
|
+
this.crud.cascaderIndexList.includes(o) || this.crud.cascaderIndexList.push(o), this.crud.cascaderDicList[o] || this.$set(this.crud.cascaderDicList, o, {}), this.crud.cascaderDicList[o][r] || this.$set(this.crud.cascaderDicList[o], r, u), this.$set(this.crud.cascaderDIC[o], r, u), !a(u[c.cascaderIndex]) && !a(u) && !a(c.cascaderIndex) && (t[r] = u[c.cascaderIndex][(c.props || {}).value || p.value]);
|
|
221
222
|
}));
|
|
222
223
|
});
|
|
223
224
|
});
|
|
224
225
|
},
|
|
225
226
|
handleDetail(e, t) {
|
|
226
227
|
let l, n = t.parentProp ? (this.crud.cascaderDIC[e.$index] || {})[t.prop] : this.crud.DIC[t.prop];
|
|
227
|
-
return l = h(e, t, this.crud.tableOption, n), !
|
|
228
|
+
return l = h(e, t, this.crud.tableOption, n), !a(n) && this.crud.tableOption.filterDic !== !0 && (e["$" + t.prop] = l), l;
|
|
228
229
|
},
|
|
229
230
|
corArray(e, t) {
|
|
230
231
|
let l = this.handleDetail(e, t);
|
|
231
|
-
return Array.isArray(l) || (l =
|
|
232
|
+
return Array.isArray(l) || (l = a(l) ? [] : l.split(y)), _(l);
|
|
232
233
|
},
|
|
233
234
|
openImg(e, t, l) {
|
|
234
235
|
let n = this.getImgList(e, t);
|
|
235
236
|
n = n.map((r) => ({ thumbUrl: r, url: r, type: t.fileType })), this.$ImagePreview(n, l);
|
|
236
237
|
},
|
|
237
238
|
getImgList(e, t) {
|
|
238
|
-
var
|
|
239
|
-
let l = ((
|
|
239
|
+
var i, o;
|
|
240
|
+
let l = ((i = t.propsHttp) == null ? void 0 : i.home) || "", n = ((o = t.props) == null ? void 0 : o.value) || p.value, r = this.corArray(e, t);
|
|
240
241
|
return r.forEach((c, s) => {
|
|
241
242
|
r[s] = l + (c[n] ? c[n] : c);
|
|
242
243
|
}), r;
|
|
@@ -257,9 +258,9 @@ function k(e) {
|
|
|
257
258
|
for (let t in m)
|
|
258
259
|
this[t] = m[t];
|
|
259
260
|
}
|
|
260
|
-
const
|
|
261
|
+
const O = /* @__PURE__ */ function() {
|
|
261
262
|
return x.exports;
|
|
262
263
|
}();
|
|
263
264
|
export {
|
|
264
|
-
|
|
265
|
+
O as default
|
|
265
266
|
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { s as t, r } from "../../chunks/ConfigArray.vue_vue_type_template_lang.66483daa.js";
|
|
2
|
+
import { n as e } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
|
+
const s = {
|
|
4
|
+
name: "ConfigArray",
|
|
5
|
+
props: ["data"]
|
|
6
|
+
}, o = {};
|
|
7
|
+
var a = /* @__PURE__ */ e(
|
|
8
|
+
s,
|
|
9
|
+
r,
|
|
10
|
+
t,
|
|
11
|
+
!1,
|
|
12
|
+
i,
|
|
13
|
+
null,
|
|
14
|
+
null,
|
|
15
|
+
null
|
|
16
|
+
);
|
|
17
|
+
function i(l) {
|
|
18
|
+
for (let n in o)
|
|
19
|
+
this[n] = o[n];
|
|
20
|
+
}
|
|
21
|
+
const u = /* @__PURE__ */ function() {
|
|
22
|
+
return a.exports;
|
|
23
|
+
}();
|
|
24
|
+
export {
|
|
25
|
+
u as default
|
|
26
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { s as t, r as e } from "../../chunks/ConfigColor.vue_vue_type_template_lang.cd880091.js";
|
|
2
|
+
import { n as r } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
|
+
const s = {
|
|
4
|
+
name: "ConfigColor",
|
|
5
|
+
props: ["data"]
|
|
6
|
+
}, n = {};
|
|
7
|
+
var l = /* @__PURE__ */ r(
|
|
8
|
+
s,
|
|
9
|
+
e,
|
|
10
|
+
t,
|
|
11
|
+
!1,
|
|
12
|
+
a,
|
|
13
|
+
null,
|
|
14
|
+
null,
|
|
15
|
+
null
|
|
16
|
+
);
|
|
17
|
+
function a(i) {
|
|
18
|
+
for (let o in n)
|
|
19
|
+
this[o] = n[o];
|
|
20
|
+
}
|
|
21
|
+
const u = /* @__PURE__ */ function() {
|
|
22
|
+
return l.exports;
|
|
23
|
+
}();
|
|
24
|
+
export {
|
|
25
|
+
u as default
|
|
26
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { M as MonacoEditor } from "../../chunks/monaco.1dbdc960.js";
|
|
2
|
+
import { s as staticRenderFns, r as render } from "../../chunks/ConfigCustom.vue_vue_type_template_lang.6e03d7fd.js";
|
|
3
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
4
|
+
const __vue2_script = {
|
|
5
|
+
name: "ConfigCustom",
|
|
6
|
+
components: { MonacoEditor },
|
|
7
|
+
props: ["data"],
|
|
8
|
+
data() {
|
|
9
|
+
return {
|
|
10
|
+
params: this.data.params || {},
|
|
11
|
+
event: this.data.event || {},
|
|
12
|
+
options: {
|
|
13
|
+
fullScreen: !0,
|
|
14
|
+
minimap: {
|
|
15
|
+
enabled: !1
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
watch: {
|
|
21
|
+
"data.params"(t) {
|
|
22
|
+
this.params = t || {};
|
|
23
|
+
},
|
|
24
|
+
"data.event"(t) {
|
|
25
|
+
this.event = t || {};
|
|
26
|
+
},
|
|
27
|
+
params(val) {
|
|
28
|
+
try {
|
|
29
|
+
this.data.params = eval("(" + val + ")");
|
|
30
|
+
} catch (t) {
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
event(val) {
|
|
34
|
+
try {
|
|
35
|
+
this.data.event = eval("(" + val + ")");
|
|
36
|
+
} catch (t) {
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}, __cssModules = {};
|
|
41
|
+
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
42
|
+
__vue2_script,
|
|
43
|
+
render,
|
|
44
|
+
staticRenderFns,
|
|
45
|
+
!1,
|
|
46
|
+
__vue2_injectStyles,
|
|
47
|
+
null,
|
|
48
|
+
null,
|
|
49
|
+
null
|
|
50
|
+
);
|
|
51
|
+
function __vue2_injectStyles(t) {
|
|
52
|
+
for (let e in __cssModules)
|
|
53
|
+
this[e] = __cssModules[e];
|
|
54
|
+
}
|
|
55
|
+
const ConfigCustom = /* @__PURE__ */ function() {
|
|
56
|
+
return __component__.exports;
|
|
57
|
+
}();
|
|
58
|
+
export {
|
|
59
|
+
ConfigCustom as default
|
|
60
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { s as o, r as e } from "../../chunks/ConfigDate.vue_vue_type_template_lang.420fa897.js";
|
|
2
|
+
import { n as s } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
|
+
const r = {
|
|
4
|
+
name: "ConfigDate",
|
|
5
|
+
props: ["data"]
|
|
6
|
+
}, t = {};
|
|
7
|
+
var a = /* @__PURE__ */ s(
|
|
8
|
+
r,
|
|
9
|
+
e,
|
|
10
|
+
o,
|
|
11
|
+
!1,
|
|
12
|
+
i,
|
|
13
|
+
null,
|
|
14
|
+
null,
|
|
15
|
+
null
|
|
16
|
+
);
|
|
17
|
+
function i(l) {
|
|
18
|
+
for (let n in t)
|
|
19
|
+
this[n] = t[n];
|
|
20
|
+
}
|
|
21
|
+
const u = /* @__PURE__ */ function() {
|
|
22
|
+
return a.exports;
|
|
23
|
+
}();
|
|
24
|
+
export {
|
|
25
|
+
u as default
|
|
26
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { s as t, r as e } from "../../chunks/ConfigDynamic.vue_vue_type_template_lang.82d24ab0.js";
|
|
2
|
+
import { n as s } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
|
+
const r = {
|
|
4
|
+
name: "ConfigDynamic",
|
|
5
|
+
props: ["data"]
|
|
6
|
+
}, o = {};
|
|
7
|
+
var a = /* @__PURE__ */ s(
|
|
8
|
+
r,
|
|
9
|
+
e,
|
|
10
|
+
t,
|
|
11
|
+
!1,
|
|
12
|
+
i,
|
|
13
|
+
null,
|
|
14
|
+
null,
|
|
15
|
+
null
|
|
16
|
+
);
|
|
17
|
+
function i(c) {
|
|
18
|
+
for (let n in o)
|
|
19
|
+
this[n] = o[n];
|
|
20
|
+
}
|
|
21
|
+
const m = /* @__PURE__ */ function() {
|
|
22
|
+
return a.exports;
|
|
23
|
+
}();
|
|
24
|
+
export {
|
|
25
|
+
m as default
|
|
26
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { M as MonacoEditor } from "../../chunks/monaco.1dbdc960.js";
|
|
2
|
+
import { s as staticRenderFns, r as render } from "../../chunks/ConfigEvent.vue_vue_type_template_lang.5e8ed6cc.js";
|
|
3
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
4
|
+
const __vue2_script = {
|
|
5
|
+
name: "ConfigEvent",
|
|
6
|
+
components: { MonacoEditor },
|
|
7
|
+
props: ["data"],
|
|
8
|
+
data() {
|
|
9
|
+
return {
|
|
10
|
+
change: "",
|
|
11
|
+
click: "",
|
|
12
|
+
focus: "",
|
|
13
|
+
blur: "",
|
|
14
|
+
options: {
|
|
15
|
+
fullScreen: !0,
|
|
16
|
+
minimap: {
|
|
17
|
+
enabled: !1
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
},
|
|
22
|
+
watch: {
|
|
23
|
+
"data.prop": {
|
|
24
|
+
handler() {
|
|
25
|
+
const { change: n, click: t, focus: s, blur: o } = this.data;
|
|
26
|
+
this.$set(this, "change", n ? n + "" : `({value}) => {\r
|
|
27
|
+
\r
|
|
28
|
+
}`), this.$set(this, "click", t ? t + "" : `({value}) => {\r
|
|
29
|
+
\r
|
|
30
|
+
}`), this.$set(this, "focus", s ? s + "" : `({value}) => {\r
|
|
31
|
+
\r
|
|
32
|
+
}`), this.$set(this, "blur", o ? o + "" : `({value}) => {\r
|
|
33
|
+
\r
|
|
34
|
+
}`);
|
|
35
|
+
},
|
|
36
|
+
immediate: !0
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
mounted() {
|
|
40
|
+
this.$nextTick(() => {
|
|
41
|
+
const event = ["change", "click", "focus", "blur"];
|
|
42
|
+
event.forEach((e) => {
|
|
43
|
+
this.$watch(`${e}`, (val) => {
|
|
44
|
+
try {
|
|
45
|
+
this.$set(this.data, e, eval(val));
|
|
46
|
+
} catch (n) {
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
}, __cssModules = {};
|
|
53
|
+
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
54
|
+
__vue2_script,
|
|
55
|
+
render,
|
|
56
|
+
staticRenderFns,
|
|
57
|
+
!1,
|
|
58
|
+
__vue2_injectStyles,
|
|
59
|
+
null,
|
|
60
|
+
null,
|
|
61
|
+
null
|
|
62
|
+
);
|
|
63
|
+
function __vue2_injectStyles(n) {
|
|
64
|
+
for (let t in __cssModules)
|
|
65
|
+
this[t] = __cssModules[t];
|
|
66
|
+
}
|
|
67
|
+
const ConfigEvent = /* @__PURE__ */ function() {
|
|
68
|
+
return __component__.exports;
|
|
69
|
+
}();
|
|
70
|
+
export {
|
|
71
|
+
ConfigEvent as default
|
|
72
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { s as e, r as t } from "../../chunks/ConfigGroup.vue_vue_type_template_lang.44117322.js";
|
|
2
|
+
import { n as r } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
|
+
const s = {
|
|
4
|
+
name: "ConfigGroup",
|
|
5
|
+
props: ["data"],
|
|
6
|
+
data() {
|
|
7
|
+
return {
|
|
8
|
+
iconList: [{
|
|
9
|
+
label: "element-ui",
|
|
10
|
+
list: ["el-icon-info", "el-icon-error", "el-icon-success", "el-icon-warning", "el-icon-question"]
|
|
11
|
+
}]
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
}, o = {};
|
|
15
|
+
var i = /* @__PURE__ */ r(
|
|
16
|
+
s,
|
|
17
|
+
t,
|
|
18
|
+
e,
|
|
19
|
+
!1,
|
|
20
|
+
l,
|
|
21
|
+
null,
|
|
22
|
+
null,
|
|
23
|
+
null
|
|
24
|
+
);
|
|
25
|
+
function l(c) {
|
|
26
|
+
for (let n in o)
|
|
27
|
+
this[n] = o[n];
|
|
28
|
+
}
|
|
29
|
+
const _ = /* @__PURE__ */ function() {
|
|
30
|
+
return i.exports;
|
|
31
|
+
}();
|
|
32
|
+
export {
|
|
33
|
+
_ as default
|
|
34
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { s as o, r as e } from "../../chunks/ConfigInput.vue_vue_type_template_lang.cc1eb052.js";
|
|
2
|
+
import { n as s } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
|
+
const r = {
|
|
4
|
+
name: "ConfigInput",
|
|
5
|
+
props: ["data", "defaultValues"]
|
|
6
|
+
}, t = {};
|
|
7
|
+
var a = /* @__PURE__ */ s(
|
|
8
|
+
r,
|
|
9
|
+
e,
|
|
10
|
+
o,
|
|
11
|
+
!1,
|
|
12
|
+
l,
|
|
13
|
+
null,
|
|
14
|
+
null,
|
|
15
|
+
null
|
|
16
|
+
);
|
|
17
|
+
function l(u) {
|
|
18
|
+
for (let n in t)
|
|
19
|
+
this[n] = t[n];
|
|
20
|
+
}
|
|
21
|
+
const c = /* @__PURE__ */ function() {
|
|
22
|
+
return a.exports;
|
|
23
|
+
}();
|
|
24
|
+
export {
|
|
25
|
+
c as default
|
|
26
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { s as t, r as e } from "../../chunks/ConfigMap.vue_vue_type_template_lang.daee4d38.js";
|
|
2
|
+
import { n as s } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
|
+
const r = {
|
|
4
|
+
name: "ConfigMap",
|
|
5
|
+
props: ["data"]
|
|
6
|
+
}, o = {};
|
|
7
|
+
var a = /* @__PURE__ */ s(
|
|
8
|
+
r,
|
|
9
|
+
e,
|
|
10
|
+
t,
|
|
11
|
+
!1,
|
|
12
|
+
i,
|
|
13
|
+
null,
|
|
14
|
+
null,
|
|
15
|
+
null
|
|
16
|
+
);
|
|
17
|
+
function i(l) {
|
|
18
|
+
for (let n in o)
|
|
19
|
+
this[n] = o[n];
|
|
20
|
+
}
|
|
21
|
+
const p = /* @__PURE__ */ function() {
|
|
22
|
+
return a.exports;
|
|
23
|
+
}();
|
|
24
|
+
export {
|
|
25
|
+
p as default
|
|
26
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { s as t, r as e } from "../../chunks/ConfigNumber.vue_vue_type_template_lang.d60231d7.js";
|
|
2
|
+
import { n as r } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
|
+
const s = {
|
|
4
|
+
name: "ConfigNumber",
|
|
5
|
+
props: ["data"]
|
|
6
|
+
}, o = {};
|
|
7
|
+
var a = /* @__PURE__ */ r(
|
|
8
|
+
s,
|
|
9
|
+
e,
|
|
10
|
+
t,
|
|
11
|
+
!1,
|
|
12
|
+
i,
|
|
13
|
+
null,
|
|
14
|
+
null,
|
|
15
|
+
null
|
|
16
|
+
);
|
|
17
|
+
function i(l) {
|
|
18
|
+
for (let n in o)
|
|
19
|
+
this[n] = o[n];
|
|
20
|
+
}
|
|
21
|
+
const c = /* @__PURE__ */ function() {
|
|
22
|
+
return a.exports;
|
|
23
|
+
}();
|
|
24
|
+
export {
|
|
25
|
+
c as default
|
|
26
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { s as o, r as i } from "../../chunks/ConfigRate.vue_vue_type_style_index_0_scoped_true_lang.cf5d437d.js";
|
|
2
|
+
import { n as a } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
|
+
const l = {
|
|
4
|
+
name: "ConfigRate",
|
|
5
|
+
props: ["data"],
|
|
6
|
+
data() {
|
|
7
|
+
return {
|
|
8
|
+
textVisible: !1,
|
|
9
|
+
textValue: "",
|
|
10
|
+
colorVisible: !1,
|
|
11
|
+
colorValue: "",
|
|
12
|
+
iconVisible: !1,
|
|
13
|
+
iconValue: ""
|
|
14
|
+
};
|
|
15
|
+
},
|
|
16
|
+
methods: {
|
|
17
|
+
handleTextClose(t) {
|
|
18
|
+
this.data.texts.splice(this.data.texts.indexOf(t), 1);
|
|
19
|
+
},
|
|
20
|
+
showTextInput() {
|
|
21
|
+
this.textVisible = !0, this.$nextTick(() => {
|
|
22
|
+
this.$refs.textTag.$refs.input.focus();
|
|
23
|
+
});
|
|
24
|
+
},
|
|
25
|
+
handleTextConfirm() {
|
|
26
|
+
this.textValue && this.data.texts.push(this.textValue), this.textVisible = !1, this.textValue = "";
|
|
27
|
+
},
|
|
28
|
+
handleColorClose(t) {
|
|
29
|
+
this.data.colors.splice(this.data.colors.indexOf(t), 1);
|
|
30
|
+
},
|
|
31
|
+
handleColorConfirm() {
|
|
32
|
+
this.colorValue && this.data.colors.push(this.colorValue), this.colorValue = "";
|
|
33
|
+
}
|
|
34
|
+
// handleIconClose(tag) {
|
|
35
|
+
// this.data.iconClasses.splice(this.data.iconClasses.indexOf(tag), 1);
|
|
36
|
+
// },
|
|
37
|
+
// showIconInput() {
|
|
38
|
+
// this.iconVisible = true;
|
|
39
|
+
// this.$nextTick(() => {
|
|
40
|
+
// this.$refs.iconTag.$refs.input.focus();
|
|
41
|
+
// });
|
|
42
|
+
// },
|
|
43
|
+
// handleIconConfirm() {
|
|
44
|
+
// if (this.iconValue) this.data.iconClasses.push(this.iconValue);
|
|
45
|
+
// this.iconVisible = false;
|
|
46
|
+
// this.iconValue = '';
|
|
47
|
+
// }
|
|
48
|
+
}
|
|
49
|
+
}, s = {};
|
|
50
|
+
var n = /* @__PURE__ */ a(
|
|
51
|
+
l,
|
|
52
|
+
i,
|
|
53
|
+
o,
|
|
54
|
+
!1,
|
|
55
|
+
r,
|
|
56
|
+
"0922df2b",
|
|
57
|
+
null,
|
|
58
|
+
null
|
|
59
|
+
);
|
|
60
|
+
function r(t) {
|
|
61
|
+
for (let e in s)
|
|
62
|
+
this[e] = s[e];
|
|
63
|
+
}
|
|
64
|
+
const u = /* @__PURE__ */ function() {
|
|
65
|
+
return n.exports;
|
|
66
|
+
}();
|
|
67
|
+
export {
|
|
68
|
+
u as default
|
|
69
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.el-tag[data-v-0922df2b]{vertical-align:top}.el-tag+.el-tag[data-v-0922df2b]{margin-left:5px}.input-new-tag[data-v-0922df2b]{width:90px;margin-left:5px;vertical-align:bottom}.color-picker[data-v-0922df2b]{left:10px;vertical-align:top}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import Draggable from "vuedraggable";
|
|
2
|
+
import { M as MonacoEditor } from "../../chunks/monaco.1dbdc960.js";
|
|
3
|
+
import { s as staticRenderFns, r as render } from "../../chunks/ConfigSelect.vue_vue_type_template_lang.7db7e57f.js";
|
|
4
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
5
|
+
const __vue2_script = {
|
|
6
|
+
name: "ConfigSelect",
|
|
7
|
+
components: { Draggable, MonacoEditor },
|
|
8
|
+
props: ["data"],
|
|
9
|
+
data() {
|
|
10
|
+
return {
|
|
11
|
+
option: {
|
|
12
|
+
column: [{
|
|
13
|
+
type: "input",
|
|
14
|
+
prop: "key",
|
|
15
|
+
label: "key"
|
|
16
|
+
}, {
|
|
17
|
+
type: "input",
|
|
18
|
+
prop: "value",
|
|
19
|
+
label: "value"
|
|
20
|
+
}]
|
|
21
|
+
},
|
|
22
|
+
options: {
|
|
23
|
+
fullScreen: !0,
|
|
24
|
+
minimap: {
|
|
25
|
+
enabled: !1
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
dicFormatter: ""
|
|
29
|
+
};
|
|
30
|
+
},
|
|
31
|
+
watch: {
|
|
32
|
+
"data.prop": {
|
|
33
|
+
handler() {
|
|
34
|
+
const { dicFormatter: e } = this.data;
|
|
35
|
+
this.dicFormatter = e ? e + "" : `(res) => {\r
|
|
36
|
+
return res.data\r
|
|
37
|
+
}`;
|
|
38
|
+
},
|
|
39
|
+
immediate: !0
|
|
40
|
+
},
|
|
41
|
+
dicFormatter: {
|
|
42
|
+
handler(val) {
|
|
43
|
+
try {
|
|
44
|
+
this.data.dicFormatter = eval(val);
|
|
45
|
+
} catch (e) {
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
methods: {
|
|
51
|
+
handleRemoveFields(e) {
|
|
52
|
+
this.data.dicData.splice(e, 1);
|
|
53
|
+
},
|
|
54
|
+
handleAddFields() {
|
|
55
|
+
const e = Math.ceil(Math.random() * 99999);
|
|
56
|
+
this.data.dicData.push({ label: `字段${e}`, value: `col_${e}` });
|
|
57
|
+
},
|
|
58
|
+
handleRemoveCascaderItemFields(e) {
|
|
59
|
+
this.data.cascader.splice(e, 1);
|
|
60
|
+
},
|
|
61
|
+
handleAddCascaderItemFields() {
|
|
62
|
+
this.data.cascader || (this.$set(this.data, "cascader", []), delete this.data.cascaderItem), this.data.cascader.push("");
|
|
63
|
+
},
|
|
64
|
+
handleTabClick({ name: e }) {
|
|
65
|
+
e == "remote" && !this.data.dicQueryConfig && (this.data.dicQueryConfig = []);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}, __cssModules = {};
|
|
69
|
+
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
70
|
+
__vue2_script,
|
|
71
|
+
render,
|
|
72
|
+
staticRenderFns,
|
|
73
|
+
!1,
|
|
74
|
+
__vue2_injectStyles,
|
|
75
|
+
null,
|
|
76
|
+
null,
|
|
77
|
+
null
|
|
78
|
+
);
|
|
79
|
+
function __vue2_injectStyles(e) {
|
|
80
|
+
for (let t in __cssModules)
|
|
81
|
+
this[t] = __cssModules[t];
|
|
82
|
+
}
|
|
83
|
+
const ConfigSelect = /* @__PURE__ */ function() {
|
|
84
|
+
return __component__.exports;
|
|
85
|
+
}();
|
|
86
|
+
export {
|
|
87
|
+
ConfigSelect as default
|
|
88
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { s as t, r as e } from "../../chunks/ConfigSlider.vue_vue_type_template_lang.27b8cc7b.js";
|
|
2
|
+
import { n as r } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
|
+
const s = {
|
|
4
|
+
name: "ConfigSlider",
|
|
5
|
+
props: ["data"]
|
|
6
|
+
}, o = {};
|
|
7
|
+
var i = /* @__PURE__ */ r(
|
|
8
|
+
s,
|
|
9
|
+
e,
|
|
10
|
+
t,
|
|
11
|
+
!1,
|
|
12
|
+
l,
|
|
13
|
+
null,
|
|
14
|
+
null,
|
|
15
|
+
null
|
|
16
|
+
);
|
|
17
|
+
function l(a) {
|
|
18
|
+
for (let n in o)
|
|
19
|
+
this[n] = o[n];
|
|
20
|
+
}
|
|
21
|
+
const u = /* @__PURE__ */ function() {
|
|
22
|
+
return i.exports;
|
|
23
|
+
}();
|
|
24
|
+
export {
|
|
25
|
+
u as default
|
|
26
|
+
};
|