@ecan-bi/chart-config-panel 1.0.8 → 1.0.10
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/vue2/index.cjs +7 -5
- package/dist/vue2/index.mjs +1381 -1061
- package/dist/vue2/style.css +1 -1
- package/dist/vue3/index.cjs +11 -9
- package/dist/vue3/index.mjs +2343 -1935
- package/dist/vue3/style.css +1 -1
- package/package.json +1 -1
package/dist/vue2/index.mjs
CHANGED
|
@@ -1,27 +1,44 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
for (var
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var
|
|
10
|
-
|
|
11
|
-
return t;
|
|
12
|
-
}, le = (t, e) => Ct(t, At(e));
|
|
13
|
-
var Ee = (t, e) => {
|
|
14
|
-
var o = {};
|
|
15
|
-
for (var n in t)
|
|
16
|
-
qe.call(t, n) && e.indexOf(n) < 0 && (o[n] = t[n]);
|
|
17
|
-
if (t != null && he)
|
|
18
|
-
for (var n of he(t))
|
|
19
|
-
e.indexOf(n) < 0 && Be.call(t, n) && (o[n] = t[n]);
|
|
1
|
+
var $t = Object.defineProperty, It = Object.defineProperties;
|
|
2
|
+
var Ft = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var fe = Object.getOwnPropertySymbols;
|
|
4
|
+
var Ee = Object.prototype.hasOwnProperty, We = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Be = (o, e, t) => e in o ? $t(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, D = (o, e) => {
|
|
6
|
+
for (var t in e || (e = {}))
|
|
7
|
+
Ee.call(e, t) && Be(o, t, e[t]);
|
|
8
|
+
if (fe)
|
|
9
|
+
for (var t of fe(e))
|
|
10
|
+
We.call(e, t) && Be(o, t, e[t]);
|
|
20
11
|
return o;
|
|
12
|
+
}, G = (o, e) => It(o, Ft(e));
|
|
13
|
+
var je = (o, e) => {
|
|
14
|
+
var t = {};
|
|
15
|
+
for (var n in o)
|
|
16
|
+
Ee.call(o, n) && e.indexOf(n) < 0 && (t[n] = o[n]);
|
|
17
|
+
if (o != null && fe)
|
|
18
|
+
for (var n of fe(o))
|
|
19
|
+
e.indexOf(n) < 0 && We.call(o, n) && (t[n] = o[n]);
|
|
20
|
+
return t;
|
|
21
21
|
};
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
var Ge = (o, e, t) => new Promise((n, a) => {
|
|
23
|
+
var l = (u) => {
|
|
24
|
+
try {
|
|
25
|
+
m(t.next(u));
|
|
26
|
+
} catch (c) {
|
|
27
|
+
a(c);
|
|
28
|
+
}
|
|
29
|
+
}, i = (u) => {
|
|
30
|
+
try {
|
|
31
|
+
m(t.throw(u));
|
|
32
|
+
} catch (c) {
|
|
33
|
+
a(c);
|
|
34
|
+
}
|
|
35
|
+
}, m = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(l, i);
|
|
36
|
+
m((t = t.apply(o, e)).next());
|
|
37
|
+
});
|
|
38
|
+
import { cloneDeep as M, reduce as mt, pick as ge } from "lodash-es";
|
|
39
|
+
import { Sketch as Vt } from "vue-color";
|
|
40
|
+
import { defineComponent as Dt, ref as Ot, watch as Mt, onMounted as Pt, unref as _e } from "vue";
|
|
41
|
+
const Nt = [
|
|
25
42
|
{
|
|
26
43
|
title: "基本属性",
|
|
27
44
|
excludeType: ["border"],
|
|
@@ -346,6 +363,24 @@ const Lt = [
|
|
|
346
363
|
"endValue"
|
|
347
364
|
]
|
|
348
365
|
},
|
|
366
|
+
// {
|
|
367
|
+
// title: '链接',
|
|
368
|
+
// onlyType: ['pie'],
|
|
369
|
+
// props: [
|
|
370
|
+
// 'linkPage',
|
|
371
|
+
// 'href',
|
|
372
|
+
// 'target',
|
|
373
|
+
// 'targetTemplate',
|
|
374
|
+
// 'transParams'
|
|
375
|
+
// ]
|
|
376
|
+
// },
|
|
377
|
+
{
|
|
378
|
+
title: "链接",
|
|
379
|
+
onlyType: ["pie"],
|
|
380
|
+
props: [
|
|
381
|
+
"linkConfig"
|
|
382
|
+
]
|
|
383
|
+
},
|
|
349
384
|
{
|
|
350
385
|
title: "无数据提示",
|
|
351
386
|
enableProps: "noDataTip",
|
|
@@ -500,7 +535,7 @@ const Lt = [
|
|
|
500
535
|
"indDetailIconColor"
|
|
501
536
|
]
|
|
502
537
|
}
|
|
503
|
-
],
|
|
538
|
+
], zt = [
|
|
504
539
|
{
|
|
505
540
|
id: "",
|
|
506
541
|
name: "饼图",
|
|
@@ -608,7 +643,13 @@ const Lt = [
|
|
|
608
643
|
noDataTip: !1,
|
|
609
644
|
tipText: "暂无数据",
|
|
610
645
|
tipTextColor: "#000000",
|
|
611
|
-
tipTextFontSize: "18px"
|
|
646
|
+
tipTextFontSize: "18px",
|
|
647
|
+
// linkPage: '',
|
|
648
|
+
// href: '',
|
|
649
|
+
// target: 'self',
|
|
650
|
+
// targetTemplate: '',
|
|
651
|
+
// transParams: []
|
|
652
|
+
linkConfig: []
|
|
612
653
|
},
|
|
613
654
|
{
|
|
614
655
|
id: "",
|
|
@@ -1470,7 +1511,7 @@ const Lt = [
|
|
|
1470
1511
|
axisMarkPoint: [],
|
|
1471
1512
|
markPointFormatter: "{x}, {y}"
|
|
1472
1513
|
}
|
|
1473
|
-
],
|
|
1514
|
+
], Te = {
|
|
1474
1515
|
// zIndex: {
|
|
1475
1516
|
// label: '层级',
|
|
1476
1517
|
// component: 'input-number',
|
|
@@ -1791,22 +1832,19 @@ const Lt = [
|
|
|
1791
1832
|
// ]
|
|
1792
1833
|
// }
|
|
1793
1834
|
// },
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
// }]
|
|
1808
|
-
// }
|
|
1809
|
-
// ],
|
|
1835
|
+
linkPage: [
|
|
1836
|
+
{
|
|
1837
|
+
label: "链接项目页面",
|
|
1838
|
+
component: "page-pick",
|
|
1839
|
+
onlyType: ["pie"]
|
|
1840
|
+
}
|
|
1841
|
+
],
|
|
1842
|
+
linkConfig: {
|
|
1843
|
+
label: "",
|
|
1844
|
+
component: "link-config",
|
|
1845
|
+
layout: "vertical",
|
|
1846
|
+
onlyType: "pie"
|
|
1847
|
+
},
|
|
1810
1848
|
fontSize: {
|
|
1811
1849
|
label: "字号",
|
|
1812
1850
|
component: "input-number",
|
|
@@ -4062,86 +4100,90 @@ const Lt = [
|
|
|
4062
4100
|
// value: 'primary'
|
|
4063
4101
|
// }]
|
|
4064
4102
|
// },
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4103
|
+
href: [
|
|
4104
|
+
{
|
|
4105
|
+
label: "链接",
|
|
4106
|
+
component: "textarea",
|
|
4107
|
+
onlyType: ["pie"],
|
|
4108
|
+
show: [{
|
|
4109
|
+
match: "linkPage",
|
|
4110
|
+
value: ""
|
|
4111
|
+
}]
|
|
4112
|
+
}
|
|
4113
|
+
// {
|
|
4114
|
+
// label: '链接',
|
|
4115
|
+
// component: 'textarea',
|
|
4116
|
+
// onlyType: ['image'],
|
|
4117
|
+
// show: [{
|
|
4118
|
+
// match: 'actionType',
|
|
4119
|
+
// value: 'link',
|
|
4120
|
+
// rule: 'and'
|
|
4121
|
+
// }, {
|
|
4122
|
+
// match: 'linkPage',
|
|
4123
|
+
// value: ''
|
|
4124
|
+
// }]
|
|
4125
|
+
// }
|
|
4126
|
+
],
|
|
4127
|
+
target: [
|
|
4128
|
+
{
|
|
4129
|
+
label: "链接方式",
|
|
4130
|
+
component: "select",
|
|
4131
|
+
onlyType: ["pie"],
|
|
4132
|
+
props: {
|
|
4133
|
+
options: [
|
|
4134
|
+
{
|
|
4135
|
+
label: "当前窗口",
|
|
4136
|
+
value: "self"
|
|
4137
|
+
},
|
|
4138
|
+
{
|
|
4139
|
+
label: "新窗口",
|
|
4140
|
+
value: "blank"
|
|
4141
|
+
},
|
|
4142
|
+
{
|
|
4143
|
+
label: "事件",
|
|
4144
|
+
value: "event"
|
|
4145
|
+
},
|
|
4146
|
+
{
|
|
4147
|
+
label: "模板",
|
|
4148
|
+
value: "template"
|
|
4149
|
+
},
|
|
4150
|
+
{
|
|
4151
|
+
label: "平台标签页",
|
|
4152
|
+
value: "ygt-tab"
|
|
4153
|
+
}
|
|
4154
|
+
]
|
|
4155
|
+
}
|
|
4156
|
+
}
|
|
4157
|
+
// {
|
|
4158
|
+
// label: '链接方式',
|
|
4159
|
+
// component: 'select',
|
|
4160
|
+
// onlyType: ['image'],
|
|
4161
|
+
// props: {
|
|
4162
|
+
// options: [
|
|
4163
|
+
// {
|
|
4164
|
+
// label: '当前窗口',
|
|
4165
|
+
// value: 'self'
|
|
4166
|
+
// },
|
|
4167
|
+
// {
|
|
4168
|
+
// label: '新窗口',
|
|
4169
|
+
// value: 'blank'
|
|
4170
|
+
// },
|
|
4171
|
+
// {
|
|
4172
|
+
// label: '事件',
|
|
4173
|
+
// value: 'event'
|
|
4174
|
+
// },
|
|
4175
|
+
// {
|
|
4176
|
+
// label: '模板',
|
|
4177
|
+
// value: 'template'
|
|
4178
|
+
// }
|
|
4179
|
+
// ]
|
|
4180
|
+
// },
|
|
4181
|
+
// show: [{
|
|
4182
|
+
// match: 'actionType',
|
|
4183
|
+
// value: 'link'
|
|
4184
|
+
// }]
|
|
4185
|
+
// }
|
|
4186
|
+
],
|
|
4145
4187
|
// clickTarget: {
|
|
4146
4188
|
// label: '点击类型',
|
|
4147
4189
|
// component: 'select',
|
|
@@ -4185,34 +4227,36 @@ const Lt = [
|
|
|
4185
4227
|
// value: 'close'
|
|
4186
4228
|
// }]
|
|
4187
4229
|
// },
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4230
|
+
targetTemplate: {
|
|
4231
|
+
label: "目标模板",
|
|
4232
|
+
component: "template-pick",
|
|
4233
|
+
onlyType: ["pie"],
|
|
4234
|
+
show: [{
|
|
4235
|
+
match: "target",
|
|
4236
|
+
value: "template"
|
|
4237
|
+
}]
|
|
4238
|
+
},
|
|
4239
|
+
transParams: {
|
|
4240
|
+
label: "传递参数",
|
|
4241
|
+
component: "unit-config",
|
|
4242
|
+
layout: "vertical",
|
|
4243
|
+
onlyType: ["pie"],
|
|
4244
|
+
props: {
|
|
4245
|
+
indexTip: `【参数名】是跳转链接上携带参数的key值;
|
|
4246
|
+
【参数值】是跳转链接上携带参数的value值。`,
|
|
4247
|
+
keyName: "参数名",
|
|
4248
|
+
fieldName: "参数值",
|
|
4249
|
+
layout: "vertical"
|
|
4250
|
+
},
|
|
4251
|
+
show: [{
|
|
4252
|
+
match: "actionType",
|
|
4253
|
+
value: "link",
|
|
4254
|
+
rule: "or"
|
|
4255
|
+
}, {
|
|
4256
|
+
match: "actionType",
|
|
4257
|
+
value: void 0
|
|
4258
|
+
}]
|
|
4259
|
+
},
|
|
4216
4260
|
// borderWidth: {
|
|
4217
4261
|
// label: '边框宽度',
|
|
4218
4262
|
// component: 'input-number',
|
|
@@ -6202,36 +6246,36 @@ const Lt = [
|
|
|
6202
6246
|
}
|
|
6203
6247
|
}
|
|
6204
6248
|
};
|
|
6205
|
-
function
|
|
6206
|
-
var
|
|
6207
|
-
e && (
|
|
6249
|
+
function w(o, e, t, n, a, l, i, m) {
|
|
6250
|
+
var u = typeof o == "function" ? o.options : o;
|
|
6251
|
+
e && (u.render = e, u.staticRenderFns = t, u._compiled = !0), n && (u.functional = !0), l && (u._scopeId = "data-v-" + l);
|
|
6208
6252
|
var c;
|
|
6209
|
-
if (
|
|
6210
|
-
|
|
6253
|
+
if (i ? (c = function(x) {
|
|
6254
|
+
x = x || // cached call
|
|
6211
6255
|
this.$vnode && this.$vnode.ssrContext || // stateful
|
|
6212
|
-
this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !
|
|
6213
|
-
},
|
|
6256
|
+
this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !x && typeof __VUE_SSR_CONTEXT__ != "undefined" && (x = __VUE_SSR_CONTEXT__), a && a.call(this, x), x && x._registeredComponents && x._registeredComponents.add(i);
|
|
6257
|
+
}, u._ssrRegister = c) : a && (c = m ? function() {
|
|
6214
6258
|
a.call(
|
|
6215
6259
|
this,
|
|
6216
|
-
(
|
|
6260
|
+
(u.functional ? this.parent : this).$root.$options.shadowRoot
|
|
6217
6261
|
);
|
|
6218
6262
|
} : a), c)
|
|
6219
|
-
if (
|
|
6220
|
-
|
|
6221
|
-
var g =
|
|
6222
|
-
|
|
6223
|
-
return c.call(k), g(
|
|
6263
|
+
if (u.functional) {
|
|
6264
|
+
u._injectStyles = c;
|
|
6265
|
+
var g = u.render;
|
|
6266
|
+
u.render = function(S, k) {
|
|
6267
|
+
return c.call(k), g(S, k);
|
|
6224
6268
|
};
|
|
6225
6269
|
} else {
|
|
6226
|
-
var
|
|
6227
|
-
|
|
6270
|
+
var y = u.beforeCreate;
|
|
6271
|
+
u.beforeCreate = y ? [].concat(y, c) : [c];
|
|
6228
6272
|
}
|
|
6229
6273
|
return {
|
|
6230
|
-
exports:
|
|
6231
|
-
options:
|
|
6274
|
+
exports: o,
|
|
6275
|
+
options: u
|
|
6232
6276
|
};
|
|
6233
6277
|
}
|
|
6234
|
-
const
|
|
6278
|
+
const Rt = {
|
|
6235
6279
|
name: "Input",
|
|
6236
6280
|
components: {
|
|
6237
6281
|
// AInput: Input
|
|
@@ -6263,33 +6307,33 @@ const $t = {
|
|
|
6263
6307
|
computed: {},
|
|
6264
6308
|
watch: {
|
|
6265
6309
|
value: {
|
|
6266
|
-
handler(
|
|
6267
|
-
this.myValue =
|
|
6310
|
+
handler(o) {
|
|
6311
|
+
this.myValue = o;
|
|
6268
6312
|
},
|
|
6269
6313
|
immediate: !0
|
|
6270
6314
|
}
|
|
6271
6315
|
},
|
|
6272
6316
|
methods: {
|
|
6273
|
-
onInputChange(
|
|
6274
|
-
this.$emit("change",
|
|
6317
|
+
onInputChange(o) {
|
|
6318
|
+
this.$emit("change", o.target.value);
|
|
6275
6319
|
}
|
|
6276
6320
|
}
|
|
6277
6321
|
};
|
|
6278
|
-
var
|
|
6279
|
-
var e = this,
|
|
6280
|
-
return
|
|
6281
|
-
},
|
|
6282
|
-
|
|
6283
|
-
|
|
6284
|
-
|
|
6322
|
+
var qt = function() {
|
|
6323
|
+
var e = this, t = e._self._c;
|
|
6324
|
+
return t("div", [t("a-input", { attrs: { value: e.myValue, disabled: e.disabled }, on: { change: e.onInputChange } })], 1);
|
|
6325
|
+
}, Bt = [], Et = /* @__PURE__ */ w(
|
|
6326
|
+
Rt,
|
|
6327
|
+
qt,
|
|
6328
|
+
Bt,
|
|
6285
6329
|
!1,
|
|
6286
6330
|
null,
|
|
6287
6331
|
"004eecbd",
|
|
6288
6332
|
null,
|
|
6289
6333
|
null
|
|
6290
6334
|
);
|
|
6291
|
-
const
|
|
6292
|
-
const
|
|
6335
|
+
const Wt = Et.exports;
|
|
6336
|
+
const jt = {
|
|
6293
6337
|
name: "InputNumber",
|
|
6294
6338
|
props: {
|
|
6295
6339
|
value: {
|
|
@@ -6350,8 +6394,8 @@ const Dt = {
|
|
|
6350
6394
|
},
|
|
6351
6395
|
computed: {
|
|
6352
6396
|
inputValue() {
|
|
6353
|
-
const
|
|
6354
|
-
return typeof
|
|
6397
|
+
const o = this.value;
|
|
6398
|
+
return typeof o == "string" ? parseFloat(o) : typeof o == "object" && o != null ? o[this.valueKey] : o;
|
|
6355
6399
|
}
|
|
6356
6400
|
},
|
|
6357
6401
|
watch: {
|
|
@@ -6364,75 +6408,75 @@ const Dt = {
|
|
|
6364
6408
|
}
|
|
6365
6409
|
},
|
|
6366
6410
|
methods: {
|
|
6367
|
-
getPrefixOrSuffixValue(
|
|
6368
|
-
return this.value != null && typeof this.value == "object" ? this.value[this[`${
|
|
6411
|
+
getPrefixOrSuffixValue(o) {
|
|
6412
|
+
return this.value != null && typeof this.value == "object" ? this.value[this[`${o}ValueKey`]] : Array.isArray(this[o]) ? this[o][0] && this[o][0].value : null;
|
|
6369
6413
|
},
|
|
6370
|
-
onInputChange(
|
|
6371
|
-
let e =
|
|
6372
|
-
const
|
|
6414
|
+
onInputChange(o) {
|
|
6415
|
+
let e = o;
|
|
6416
|
+
const t = this.suffix;
|
|
6373
6417
|
Array.isArray(this.prefix) || Array.isArray(this.suffix) ? this.$emit("change", {
|
|
6374
6418
|
[this.valueKey]: e,
|
|
6375
6419
|
[this.prefixValueKey]: this.prefixValue,
|
|
6376
6420
|
[this.suffixValueKey]: this.suffixValue
|
|
6377
|
-
}) :
|
|
6421
|
+
}) : t === "" || e == null ? this.$emit("change", e) : this.$emit("change", `${e}${t}`);
|
|
6378
6422
|
},
|
|
6379
|
-
onPrefixChange(
|
|
6380
|
-
this.prefixValue =
|
|
6423
|
+
onPrefixChange(o) {
|
|
6424
|
+
this.prefixValue = o, Array.isArray(this.prefix) && this.$emit("change", {
|
|
6381
6425
|
[this.valueKey]: this.inputValue,
|
|
6382
6426
|
[this.prefixValueKey]: this.prefixValue,
|
|
6383
6427
|
[this.suffixValueKey]: this.suffixValue
|
|
6384
6428
|
});
|
|
6385
6429
|
},
|
|
6386
|
-
onSuffixChange(
|
|
6387
|
-
this.suffixValue =
|
|
6430
|
+
onSuffixChange(o) {
|
|
6431
|
+
this.suffixValue = o, Array.isArray(this.suffix) && this.$emit("change", {
|
|
6388
6432
|
[this.valueKey]: this.inputValue,
|
|
6389
6433
|
[this.prefixValueKey]: this.prefixValue,
|
|
6390
6434
|
[this.suffixValueKey]: this.suffixValue
|
|
6391
6435
|
});
|
|
6392
6436
|
},
|
|
6393
|
-
parser(
|
|
6394
|
-
return typeof this.suffix == "string" ?
|
|
6437
|
+
parser(o) {
|
|
6438
|
+
return typeof this.suffix == "string" ? o.replace(this.suffix, "") : Array.isArray(this.suffix) && this.value != null && typeof this.value == "object" ? o.replace(this.value[this.suffixValueKey], "") : o;
|
|
6395
6439
|
},
|
|
6396
6440
|
onInputBlur() {
|
|
6397
6441
|
if (this.useBlurEvent) {
|
|
6398
|
-
const
|
|
6442
|
+
const o = {
|
|
6399
6443
|
useContainer: !0,
|
|
6400
6444
|
useContainerTime: 0
|
|
6401
6445
|
};
|
|
6402
|
-
this.$emit("change", null,
|
|
6446
|
+
this.$emit("change", null, o, !1);
|
|
6403
6447
|
}
|
|
6404
6448
|
}
|
|
6405
6449
|
}
|
|
6406
6450
|
};
|
|
6407
|
-
var
|
|
6408
|
-
var e = this,
|
|
6409
|
-
return
|
|
6410
|
-
return
|
|
6411
|
-
}), 1)] :
|
|
6451
|
+
var Gt = function() {
|
|
6452
|
+
var e = this, t = e._self._c;
|
|
6453
|
+
return t("div", { staticStyle: { display: "flex", "align-items": "center" } }, [!e.isVue3 && e.prefix ? [t("div", { staticClass: "prefix-section icon-section" }, [Array.isArray(e.prefix) && e.prefix.length > 0 ? [t("a-select", { attrs: { value: e.prefixValue }, on: { change: e.onPrefixChange } }, e._l(e.prefix, function(n, a) {
|
|
6454
|
+
return t("a-select-option", { key: a, attrs: { value: n.value } }, [e._v(" " + e._s(n.label) + " ")]);
|
|
6455
|
+
}), 1)] : t("span", [e._v(e._s(e.prefix))])], 2)] : e._e(), t("a-input-number", { style: D({
|
|
6412
6456
|
flex: 1
|
|
6413
6457
|
}, e.isVue3 ? {} : { borderRadius: `${e.prefix ? 0 : "4px"} ${e.suffix ? 0 : "4px"} ${e.suffix ? 0 : "4px"} ${e.prefix ? 0 : "4px"}` }), attrs: { value: e.inputValue, min: e.min, max: e.max, step: e.step, parser: e.parser, "addon-before": Array.isArray(e.prefix) ? void 0 : e.prefix, "addon-after": Array.isArray(e.suffix) ? void 0 : e.suffix }, on: { change: e.onInputChange, blur: e.onInputBlur }, scopedSlots: e._u([Array.isArray(e.prefix) && e.prefix.length > 0 ? { key: "addonBefore", fn: function() {
|
|
6414
|
-
return [
|
|
6415
|
-
return
|
|
6458
|
+
return [t("a-select", { attrs: { value: e.prefixValue }, on: { change: e.onPrefixChange } }, e._l(e.prefix, function(n, a) {
|
|
6459
|
+
return t("a-select-option", { key: a, attrs: { value: n.value } }, [e._v(" " + e._s(n.label) + " ")]);
|
|
6416
6460
|
}), 1)];
|
|
6417
6461
|
}, proxy: !0 } : null, Array.isArray(e.suffix) && e.suffix.length > 0 ? { key: "addonAfter", fn: function() {
|
|
6418
|
-
return [
|
|
6419
|
-
return
|
|
6462
|
+
return [t("a-select", { attrs: { value: e.suffixValue }, on: { change: e.onSuffixChange } }, e._l(e.suffix, function(n, a) {
|
|
6463
|
+
return t("a-select-option", { key: a, attrs: { value: n.value } }, [e._v(" " + e._s(n.label) + " ")]);
|
|
6420
6464
|
}), 1)];
|
|
6421
|
-
}, proxy: !0 } : null], null, !0) }), !e.isVue3 && e.suffix ? [
|
|
6422
|
-
return
|
|
6423
|
-
}), 1)] :
|
|
6424
|
-
},
|
|
6425
|
-
|
|
6426
|
-
|
|
6427
|
-
|
|
6465
|
+
}, proxy: !0 } : null], null, !0) }), !e.isVue3 && e.suffix ? [t("div", { staticClass: "suffix-section icon-section" }, [Array.isArray(e.suffix) && e.suffix.length > 0 ? [t("a-select", { attrs: { value: e.suffixValue }, on: { change: e.onSuffixChange } }, e._l(e.suffix, function(n, a) {
|
|
6466
|
+
return t("a-select-option", { key: a, attrs: { value: n.value } }, [e._v(" " + e._s(n.label) + " ")]);
|
|
6467
|
+
}), 1)] : t("span", [e._v(e._s(e.suffix))])], 2)] : e._e()], 2);
|
|
6468
|
+
}, Ht = [], Ut = /* @__PURE__ */ w(
|
|
6469
|
+
jt,
|
|
6470
|
+
Gt,
|
|
6471
|
+
Ht,
|
|
6428
6472
|
!1,
|
|
6429
6473
|
null,
|
|
6430
6474
|
"d6ca6a85",
|
|
6431
6475
|
null,
|
|
6432
6476
|
null
|
|
6433
6477
|
);
|
|
6434
|
-
const
|
|
6435
|
-
const
|
|
6478
|
+
const ft = Ut.exports;
|
|
6479
|
+
const Kt = {
|
|
6436
6480
|
name: "RadioGroup",
|
|
6437
6481
|
components: {
|
|
6438
6482
|
// RenderVNode
|
|
@@ -6465,314 +6509,314 @@ const Pt = {
|
|
|
6465
6509
|
this.size = window.isVue3 ? "default" : "small";
|
|
6466
6510
|
},
|
|
6467
6511
|
methods: {
|
|
6468
|
-
onRadioChange(
|
|
6469
|
-
this.$emit("change",
|
|
6512
|
+
onRadioChange(o) {
|
|
6513
|
+
this.$emit("change", o.target.value);
|
|
6470
6514
|
}
|
|
6471
6515
|
}
|
|
6472
6516
|
};
|
|
6473
|
-
var
|
|
6474
|
-
var e = this,
|
|
6475
|
-
return
|
|
6476
|
-
return
|
|
6517
|
+
var Yt = function() {
|
|
6518
|
+
var e = this, t = e._self._c;
|
|
6519
|
+
return t("a-radio-group", { staticStyle: { "white-space": "nowrap" }, attrs: { value: e.value, optionType: e.optionType, size: e.size }, on: { change: e.onRadioChange } }, e._l(e.options, function(n) {
|
|
6520
|
+
return t("a-radio-button", { key: n.value, attrs: { value: n.value } }, [e._v(" " + e._s(n.label) + " ")]);
|
|
6477
6521
|
}), 1);
|
|
6478
|
-
},
|
|
6479
|
-
|
|
6480
|
-
|
|
6481
|
-
|
|
6522
|
+
}, Xt = [], Zt = /* @__PURE__ */ w(
|
|
6523
|
+
Kt,
|
|
6524
|
+
Yt,
|
|
6525
|
+
Xt,
|
|
6482
6526
|
!1,
|
|
6483
6527
|
null,
|
|
6484
6528
|
"1201737e",
|
|
6485
6529
|
null,
|
|
6486
6530
|
null
|
|
6487
6531
|
);
|
|
6488
|
-
const
|
|
6489
|
-
},
|
|
6490
|
-
let
|
|
6491
|
-
const
|
|
6492
|
-
function
|
|
6493
|
-
const e =
|
|
6494
|
-
return e ?
|
|
6532
|
+
const Jt = Zt.exports, Qt = () => {
|
|
6533
|
+
}, eo = Object.assign, to = Array.isArray, Me = (o) => typeof o == "function", oo = (o) => typeof o == "symbol";
|
|
6534
|
+
let He;
|
|
6535
|
+
const Le = () => He || (He = typeof globalThis != "undefined" ? globalThis : typeof self != "undefined" ? self : typeof window != "undefined" ? window : typeof global != "undefined" ? global : {});
|
|
6536
|
+
function ke(o) {
|
|
6537
|
+
const e = o && o.__v_raw;
|
|
6538
|
+
return e ? ke(e) : o;
|
|
6495
6539
|
}
|
|
6496
|
-
function
|
|
6497
|
-
return !(!
|
|
6540
|
+
function no(o) {
|
|
6541
|
+
return !(!o || o.__v_isRef !== !0);
|
|
6498
6542
|
}
|
|
6499
|
-
new Set(Object.getOwnPropertyNames(Symbol).filter((
|
|
6500
|
-
const
|
|
6501
|
-
function
|
|
6543
|
+
new Set(Object.getOwnPropertyNames(Symbol).filter((o) => o !== "arguments" && o !== "caller").map((o) => Symbol[o]).filter(oo));
|
|
6544
|
+
const H = [];
|
|
6545
|
+
function Pe(o, ...e) {
|
|
6502
6546
|
if (process.env.NODE_ENV === "production")
|
|
6503
6547
|
return;
|
|
6504
|
-
const
|
|
6505
|
-
let l =
|
|
6548
|
+
const t = H.length ? H[H.length - 1].component : null, n = t && t.appContext.config.warnHandler, a = function() {
|
|
6549
|
+
let l = H[H.length - 1];
|
|
6506
6550
|
if (!l)
|
|
6507
6551
|
return [];
|
|
6508
|
-
const
|
|
6552
|
+
const i = [];
|
|
6509
6553
|
for (; l; ) {
|
|
6510
|
-
const m =
|
|
6511
|
-
m && m.vnode === l ? m.recurseCount++ :
|
|
6512
|
-
const
|
|
6513
|
-
l =
|
|
6554
|
+
const m = i[0];
|
|
6555
|
+
m && m.vnode === l ? m.recurseCount++ : i.push({ vnode: l, recurseCount: 0 });
|
|
6556
|
+
const u = l.component && l.component.parent;
|
|
6557
|
+
l = u && u.vnode;
|
|
6514
6558
|
}
|
|
6515
|
-
return
|
|
6559
|
+
return i;
|
|
6516
6560
|
}();
|
|
6517
6561
|
if (n)
|
|
6518
|
-
|
|
6562
|
+
Ne(n, t, 11, [o + e.join(""), t && t.proxy, a.map(({ vnode: l }) => `at <${Ze(t, l.type)}>`).join(`
|
|
6519
6563
|
`), a]);
|
|
6520
6564
|
else {
|
|
6521
|
-
const l = [`[Vue warn]: ${
|
|
6565
|
+
const l = [`[Vue warn]: ${o}`, ...e];
|
|
6522
6566
|
a.length && l.push(`
|
|
6523
|
-
`, ...function(
|
|
6567
|
+
`, ...function(i) {
|
|
6524
6568
|
const m = [];
|
|
6525
|
-
return
|
|
6569
|
+
return i.forEach((u, c) => {
|
|
6526
6570
|
m.push(...c === 0 ? [] : [`
|
|
6527
|
-
`], ...function({ vnode: g, recurseCount:
|
|
6528
|
-
const
|
|
6529
|
-
return g.props ? [k, ...
|
|
6530
|
-
}(
|
|
6571
|
+
`], ...function({ vnode: g, recurseCount: y }) {
|
|
6572
|
+
const x = y > 0 ? `... (${y} recursive calls)` : "", S = !!g.component && g.component.parent == null, k = ` at <${Ze(g.component, g.type, S)}`, $ = ">" + x;
|
|
6573
|
+
return g.props ? [k, ...lo(g.props), $] : [k + $];
|
|
6574
|
+
}(u));
|
|
6531
6575
|
}), m;
|
|
6532
6576
|
}(a)), console.warn(...l);
|
|
6533
6577
|
}
|
|
6534
6578
|
}
|
|
6535
|
-
function
|
|
6536
|
-
const e = [],
|
|
6537
|
-
return
|
|
6538
|
-
e.push(...
|
|
6539
|
-
}),
|
|
6579
|
+
function lo(o) {
|
|
6580
|
+
const e = [], t = Object.keys(o);
|
|
6581
|
+
return t.slice(0, 3).forEach((n) => {
|
|
6582
|
+
e.push(...ht(n, o[n]));
|
|
6583
|
+
}), t.length > 3 && e.push(" ..."), e;
|
|
6540
6584
|
}
|
|
6541
|
-
function
|
|
6542
|
-
return typeof e == "string" ? (e = JSON.stringify(e),
|
|
6585
|
+
function ht(o, e, t) {
|
|
6586
|
+
return typeof e == "string" ? (e = JSON.stringify(e), t ? e : [`${o}=${e}`]) : typeof e == "number" || typeof e == "boolean" || e == null ? t ? e : [`${o}=${e}`] : no(e) ? (e = ht(o, ke(e.value), !0), t ? e : [`${o}=Ref<`, e, ">"]) : Me(e) ? [`${o}=fn${e.name ? `<${e.name}>` : ""}`] : (e = ke(e), t ? e : [`${o}=`, e]);
|
|
6543
6587
|
}
|
|
6544
|
-
const
|
|
6545
|
-
function
|
|
6588
|
+
const Ue = { sp: "serverPrefetch hook", bc: "beforeCreate hook", c: "created hook", bm: "beforeMount hook", m: "mounted hook", bu: "beforeUpdate hook", u: "updated", bum: "beforeUnmount hook", um: "unmounted hook", a: "activated hook", da: "deactivated hook", ec: "errorCaptured hook", rtc: "renderTracked hook", rtg: "renderTriggered hook", 0: "setup function", 1: "render function", 2: "watcher getter", 3: "watcher callback", 4: "watcher cleanup function", 5: "native event handler", 6: "component event handler", 7: "vnode hook", 8: "directive hook", 9: "transition hook", 10: "app errorHandler", 11: "app warnHandler", 12: "ref function", 13: "async component loader", 14: "scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core" };
|
|
6589
|
+
function Ne(o, e, t, n) {
|
|
6546
6590
|
let a;
|
|
6547
6591
|
try {
|
|
6548
|
-
a = n ?
|
|
6592
|
+
a = n ? o(...n) : o();
|
|
6549
6593
|
} catch (l) {
|
|
6550
|
-
(function(
|
|
6594
|
+
(function(i, m, u, c = !0) {
|
|
6551
6595
|
const g = m ? m.vnode : null;
|
|
6552
6596
|
if (m) {
|
|
6553
|
-
let
|
|
6554
|
-
const
|
|
6555
|
-
for (;
|
|
6556
|
-
const $ =
|
|
6597
|
+
let y = m.parent;
|
|
6598
|
+
const x = m.proxy, S = process.env.NODE_ENV !== "production" ? Ue[u] : u;
|
|
6599
|
+
for (; y; ) {
|
|
6600
|
+
const $ = y.ec;
|
|
6557
6601
|
if ($) {
|
|
6558
6602
|
for (let I = 0; I < $.length; I++)
|
|
6559
|
-
if ($[I](
|
|
6603
|
+
if ($[I](i, x, S) === !1)
|
|
6560
6604
|
return;
|
|
6561
6605
|
}
|
|
6562
|
-
|
|
6606
|
+
y = y.parent;
|
|
6563
6607
|
}
|
|
6564
6608
|
const k = m.appContext.config.errorHandler;
|
|
6565
6609
|
if (k)
|
|
6566
|
-
return void
|
|
6610
|
+
return void Ne(k, null, 10, [i, x, S]);
|
|
6567
6611
|
}
|
|
6568
|
-
(function(
|
|
6612
|
+
(function(y, x, S, k = !0) {
|
|
6569
6613
|
if (process.env.NODE_ENV !== "production") {
|
|
6570
|
-
const I =
|
|
6571
|
-
if (
|
|
6572
|
-
throw
|
|
6573
|
-
console.error(
|
|
6614
|
+
const I = Ue[x];
|
|
6615
|
+
if (S && ($ = S, H.push($)), Pe("Unhandled error" + (I ? ` during execution of ${I}` : "")), S && H.pop(), k)
|
|
6616
|
+
throw y;
|
|
6617
|
+
console.error(y);
|
|
6574
6618
|
} else
|
|
6575
|
-
console.error(
|
|
6619
|
+
console.error(y);
|
|
6576
6620
|
var $;
|
|
6577
|
-
})(
|
|
6578
|
-
})(l, e,
|
|
6621
|
+
})(i, u, g, c);
|
|
6622
|
+
})(l, e, t);
|
|
6579
6623
|
}
|
|
6580
6624
|
return a;
|
|
6581
6625
|
}
|
|
6582
|
-
let be = !1,
|
|
6583
|
-
const
|
|
6584
|
-
let
|
|
6585
|
-
const
|
|
6586
|
-
let
|
|
6587
|
-
const
|
|
6588
|
-
function
|
|
6589
|
-
|
|
6590
|
-
let
|
|
6591
|
-
for (;
|
|
6592
|
-
const a =
|
|
6593
|
-
|
|
6594
|
-
}
|
|
6595
|
-
return
|
|
6596
|
-
}(
|
|
6626
|
+
let be = !1, $e = !1;
|
|
6627
|
+
const O = [];
|
|
6628
|
+
let E = 0;
|
|
6629
|
+
const J = [];
|
|
6630
|
+
let P = null, B = 0;
|
|
6631
|
+
const ao = Promise.resolve();
|
|
6632
|
+
function io(o) {
|
|
6633
|
+
O.length && O.includes(o, be && o.allowRecurse ? E + 1 : E) || (o.id == null ? O.push(o) : O.splice(function(e) {
|
|
6634
|
+
let t = E + 1, n = O.length;
|
|
6635
|
+
for (; t < n; ) {
|
|
6636
|
+
const a = t + n >>> 1, l = O[a], i = pe(l);
|
|
6637
|
+
i < e || i === e && l.pre ? t = a + 1 : n = a;
|
|
6638
|
+
}
|
|
6639
|
+
return t;
|
|
6640
|
+
}(o.id), 0, o), bt());
|
|
6597
6641
|
}
|
|
6598
|
-
function
|
|
6599
|
-
be ||
|
|
6642
|
+
function bt() {
|
|
6643
|
+
be || $e || ($e = !0, ao.then(yt));
|
|
6600
6644
|
}
|
|
6601
|
-
const pe = (
|
|
6602
|
-
const
|
|
6603
|
-
if (
|
|
6604
|
-
if (
|
|
6645
|
+
const pe = (o) => o.id == null ? 1 / 0 : o.id, so = (o, e) => {
|
|
6646
|
+
const t = pe(o) - pe(e);
|
|
6647
|
+
if (t === 0) {
|
|
6648
|
+
if (o.pre && !e.pre)
|
|
6605
6649
|
return -1;
|
|
6606
|
-
if (e.pre && !
|
|
6650
|
+
if (e.pre && !o.pre)
|
|
6607
6651
|
return 1;
|
|
6608
6652
|
}
|
|
6609
|
-
return
|
|
6653
|
+
return t;
|
|
6610
6654
|
};
|
|
6611
|
-
function
|
|
6612
|
-
|
|
6613
|
-
const e = process.env.NODE_ENV !== "production" ? (
|
|
6655
|
+
function yt(o) {
|
|
6656
|
+
$e = !1, be = !0, process.env.NODE_ENV !== "production" && (o = o || /* @__PURE__ */ new Map()), O.sort(so);
|
|
6657
|
+
const e = process.env.NODE_ENV !== "production" ? (t) => Ke(o, t) : Qt;
|
|
6614
6658
|
try {
|
|
6615
|
-
for (
|
|
6616
|
-
const
|
|
6617
|
-
if (
|
|
6618
|
-
if (process.env.NODE_ENV !== "production" && e(
|
|
6659
|
+
for (E = 0; E < O.length; E++) {
|
|
6660
|
+
const t = O[E];
|
|
6661
|
+
if (t && t.active !== !1) {
|
|
6662
|
+
if (process.env.NODE_ENV !== "production" && e(t))
|
|
6619
6663
|
continue;
|
|
6620
|
-
|
|
6664
|
+
Ne(t, null, 14);
|
|
6621
6665
|
}
|
|
6622
6666
|
}
|
|
6623
6667
|
} finally {
|
|
6624
|
-
|
|
6625
|
-
if (
|
|
6626
|
-
const n = [...new Set(
|
|
6627
|
-
if (
|
|
6628
|
-
return void
|
|
6629
|
-
for (
|
|
6630
|
-
process.env.NODE_ENV !== "production" &&
|
|
6631
|
-
|
|
6668
|
+
E = 0, O.length = 0, function(t) {
|
|
6669
|
+
if (J.length) {
|
|
6670
|
+
const n = [...new Set(J)];
|
|
6671
|
+
if (J.length = 0, P)
|
|
6672
|
+
return void P.push(...n);
|
|
6673
|
+
for (P = n, process.env.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()), P.sort((a, l) => pe(a) - pe(l)), B = 0; B < P.length; B++)
|
|
6674
|
+
process.env.NODE_ENV !== "production" && Ke(t, P[B]) || P[B]();
|
|
6675
|
+
P = null, B = 0;
|
|
6632
6676
|
}
|
|
6633
|
-
}(
|
|
6677
|
+
}(o), be = !1, (O.length || J.length) && yt(o);
|
|
6634
6678
|
}
|
|
6635
6679
|
}
|
|
6636
|
-
function
|
|
6637
|
-
if (
|
|
6638
|
-
const
|
|
6639
|
-
if (
|
|
6640
|
-
const n = e.ownerInstance, a = n &&
|
|
6641
|
-
return
|
|
6642
|
-
}
|
|
6643
|
-
|
|
6680
|
+
function Ke(o, e) {
|
|
6681
|
+
if (o.has(e)) {
|
|
6682
|
+
const t = o.get(e);
|
|
6683
|
+
if (t > 100) {
|
|
6684
|
+
const n = e.ownerInstance, a = n && xt(n.type);
|
|
6685
|
+
return Pe(`Maximum recursive updates exceeded${a ? ` in component <${a}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`), !0;
|
|
6686
|
+
}
|
|
6687
|
+
o.set(e, t + 1);
|
|
6644
6688
|
} else
|
|
6645
|
-
|
|
6689
|
+
o.set(e, 1);
|
|
6646
6690
|
}
|
|
6647
6691
|
const ae = /* @__PURE__ */ new Set();
|
|
6648
|
-
process.env.NODE_ENV !== "production" && (
|
|
6649
|
-
return
|
|
6650
|
-
}), rerender: Se(function(
|
|
6651
|
-
const
|
|
6652
|
-
|
|
6692
|
+
process.env.NODE_ENV !== "production" && (Le().__VUE_HMR_RUNTIME__ = { createRecord: Se(function(o, e) {
|
|
6693
|
+
return he.has(o) ? !1 : (he.set(o, { initialDef: ie(e), instances: /* @__PURE__ */ new Set() }), !0);
|
|
6694
|
+
}), rerender: Se(function(o, e) {
|
|
6695
|
+
const t = he.get(o);
|
|
6696
|
+
t && (t.initialDef.render = e, [...t.instances].forEach((n) => {
|
|
6653
6697
|
e && (n.render = e, ie(n.type).render = e), n.renderCache = [], n.update();
|
|
6654
6698
|
}));
|
|
6655
|
-
}), reload: Se(function(
|
|
6656
|
-
const
|
|
6657
|
-
if (!
|
|
6699
|
+
}), reload: Se(function(o, e) {
|
|
6700
|
+
const t = he.get(o);
|
|
6701
|
+
if (!t)
|
|
6658
6702
|
return;
|
|
6659
|
-
e = ie(e),
|
|
6660
|
-
const n = [...
|
|
6703
|
+
e = ie(e), Ye(t.initialDef, e);
|
|
6704
|
+
const n = [...t.instances];
|
|
6661
6705
|
for (const l of n) {
|
|
6662
|
-
const
|
|
6663
|
-
ae.has(
|
|
6706
|
+
const i = ie(l.type);
|
|
6707
|
+
ae.has(i) || (i !== t.initialDef && Ye(i, e), ae.add(i)), l.appContext.propsCache.delete(l.type), l.appContext.emitsCache.delete(l.type), l.appContext.optionsCache.delete(l.type), l.ceReload ? (ae.add(i), l.ceReload(e.styles), ae.delete(i)) : l.parent ? io(l.parent.update) : l.appContext.reload ? l.appContext.reload() : typeof window != "undefined" ? window.location.reload() : console.warn("[HMR] Root or manually mounted instance modified. Full reload required.");
|
|
6664
6708
|
}
|
|
6665
6709
|
a = () => {
|
|
6666
6710
|
for (const l of n)
|
|
6667
6711
|
ae.delete(ie(l.type));
|
|
6668
|
-
},
|
|
6712
|
+
}, to(a) ? J.push(...a) : P && P.includes(a, a.allowRecurse ? B + 1 : B) || J.push(a), bt();
|
|
6669
6713
|
var a;
|
|
6670
6714
|
}) });
|
|
6671
|
-
const
|
|
6672
|
-
function ie(
|
|
6673
|
-
return
|
|
6715
|
+
const he = /* @__PURE__ */ new Map();
|
|
6716
|
+
function ie(o) {
|
|
6717
|
+
return Me(e = o) && "__vccOpts" in e ? o.__vccOpts : o;
|
|
6674
6718
|
var e;
|
|
6675
6719
|
}
|
|
6676
|
-
function
|
|
6677
|
-
|
|
6678
|
-
for (const
|
|
6679
|
-
|
|
6720
|
+
function Ye(o, e) {
|
|
6721
|
+
eo(o, e);
|
|
6722
|
+
for (const t in o)
|
|
6723
|
+
t === "__file" || t in e || delete o[t];
|
|
6680
6724
|
}
|
|
6681
|
-
function Se(
|
|
6682
|
-
return (e,
|
|
6725
|
+
function Se(o) {
|
|
6726
|
+
return (e, t) => {
|
|
6683
6727
|
try {
|
|
6684
|
-
return
|
|
6728
|
+
return o(e, t);
|
|
6685
6729
|
} catch (n) {
|
|
6686
6730
|
console.error(n), console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.");
|
|
6687
6731
|
}
|
|
6688
6732
|
};
|
|
6689
6733
|
}
|
|
6690
|
-
let
|
|
6734
|
+
let we;
|
|
6691
6735
|
process.env.NODE_ENV;
|
|
6692
|
-
let
|
|
6693
|
-
(
|
|
6694
|
-
const
|
|
6695
|
-
function
|
|
6696
|
-
return
|
|
6736
|
+
let Xe = "__VUE_INSTANCE_SETTERS__";
|
|
6737
|
+
(we = Le()[Xe]) || (we = Le()[Xe] = []), we.push((o) => o);
|
|
6738
|
+
const ro = /(?:^|[-_])(\w)/g, po = (o) => o.replace(ro, (e) => e.toUpperCase()).replace(/[-_]/g, "");
|
|
6739
|
+
function xt(o, e = !0) {
|
|
6740
|
+
return Me(o) ? o.displayName || o.name : o.name || e && o.__name;
|
|
6697
6741
|
}
|
|
6698
|
-
function
|
|
6699
|
-
let n =
|
|
6742
|
+
function Ze(o, e, t = !1) {
|
|
6743
|
+
let n = xt(e);
|
|
6700
6744
|
if (!n && e.__file) {
|
|
6701
6745
|
const a = e.__file.match(/([^/\\]+)\.\w+$/);
|
|
6702
6746
|
a && (n = a[1]);
|
|
6703
6747
|
}
|
|
6704
|
-
if (!n &&
|
|
6748
|
+
if (!n && o && o.parent) {
|
|
6705
6749
|
const a = (l) => {
|
|
6706
|
-
for (const
|
|
6707
|
-
if (l[
|
|
6708
|
-
return
|
|
6750
|
+
for (const i in l)
|
|
6751
|
+
if (l[i] === e)
|
|
6752
|
+
return i;
|
|
6709
6753
|
};
|
|
6710
|
-
n = a(
|
|
6754
|
+
n = a(o.components || o.parent.type.components) || a(o.appContext.components);
|
|
6711
6755
|
}
|
|
6712
|
-
return n ?
|
|
6756
|
+
return n ? po(n) : t ? "App" : "Anonymous";
|
|
6713
6757
|
}
|
|
6714
|
-
function
|
|
6715
|
-
return
|
|
6758
|
+
function uo(o) {
|
|
6759
|
+
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
|
|
6716
6760
|
}
|
|
6717
|
-
var
|
|
6718
|
-
function
|
|
6719
|
-
return
|
|
6720
|
-
var
|
|
6721
|
-
var
|
|
6722
|
-
return "[" +
|
|
6723
|
-
} }, ce = function(
|
|
6724
|
-
var
|
|
6725
|
-
return !
|
|
6726
|
-
},
|
|
6727
|
-
var
|
|
6728
|
-
return (
|
|
6729
|
-
}, m: function
|
|
6730
|
-
if (
|
|
6731
|
-
return -
|
|
6732
|
-
var
|
|
6733
|
-
return +(-(
|
|
6734
|
-
}, a: function(
|
|
6735
|
-
return
|
|
6736
|
-
}, p: function(
|
|
6737
|
-
return { M: c, y
|
|
6738
|
-
}, u: function(
|
|
6739
|
-
return
|
|
6740
|
-
} },
|
|
6741
|
-
|
|
6742
|
-
var
|
|
6743
|
-
return
|
|
6744
|
-
},
|
|
6761
|
+
var Je, Qe = { exports: {} };
|
|
6762
|
+
function co() {
|
|
6763
|
+
return Je || (Je = 1, Qe.exports = function() {
|
|
6764
|
+
var o = 1e3, e = 6e4, t = 36e5, n = "millisecond", a = "second", l = "minute", i = "hour", m = "day", u = "week", c = "month", g = "quarter", y = "year", x = "date", S = "Invalid Date", k = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, $ = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, I = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(f) {
|
|
6765
|
+
var r = ["th", "st", "nd", "rd"], s = f % 100;
|
|
6766
|
+
return "[" + f + (r[(s - 20) % 10] || r[s] || r[0]) + "]";
|
|
6767
|
+
} }, ce = function(f, r, s) {
|
|
6768
|
+
var d = String(f);
|
|
6769
|
+
return !d || d.length >= r ? f : "" + Array(r + 1 - d.length).join(s) + f;
|
|
6770
|
+
}, qe = { s: ce, z: function(f) {
|
|
6771
|
+
var r = -f.utcOffset(), s = Math.abs(r), d = Math.floor(s / 60), p = s % 60;
|
|
6772
|
+
return (r <= 0 ? "+" : "-") + ce(d, 2, "0") + ":" + ce(p, 2, "0");
|
|
6773
|
+
}, m: function f(r, s) {
|
|
6774
|
+
if (r.date() < s.date())
|
|
6775
|
+
return -f(s, r);
|
|
6776
|
+
var d = 12 * (s.year() - r.year()) + (s.month() - r.month()), p = r.clone().add(d, c), h = s - p < 0, b = r.clone().add(d + (h ? -1 : 1), c);
|
|
6777
|
+
return +(-(d + (s - p) / (h ? p - b : b - p)) || 0);
|
|
6778
|
+
}, a: function(f) {
|
|
6779
|
+
return f < 0 ? Math.ceil(f) || 0 : Math.floor(f);
|
|
6780
|
+
}, p: function(f) {
|
|
6781
|
+
return { M: c, y, w: u, d: m, D: x, h: i, m: l, s: a, ms: n, Q: g }[f] || String(f || "").toLowerCase().replace(/s$/, "");
|
|
6782
|
+
}, u: function(f) {
|
|
6783
|
+
return f === void 0;
|
|
6784
|
+
} }, Y = "en", R = {};
|
|
6785
|
+
R[Y] = I;
|
|
6786
|
+
var xe = "$isDayjsObject", de = function(f) {
|
|
6787
|
+
return f instanceof oe || !(!f || !f[xe]);
|
|
6788
|
+
}, te = function f(r, s, d) {
|
|
6745
6789
|
var p;
|
|
6746
|
-
if (!
|
|
6747
|
-
return
|
|
6748
|
-
if (typeof
|
|
6749
|
-
var
|
|
6750
|
-
|
|
6751
|
-
var b =
|
|
6790
|
+
if (!r)
|
|
6791
|
+
return Y;
|
|
6792
|
+
if (typeof r == "string") {
|
|
6793
|
+
var h = r.toLowerCase();
|
|
6794
|
+
R[h] && (p = h), s && (R[h] = s, p = h);
|
|
6795
|
+
var b = r.split("-");
|
|
6752
6796
|
if (!p && b.length > 1)
|
|
6753
|
-
return
|
|
6797
|
+
return f(b[0]);
|
|
6754
6798
|
} else {
|
|
6755
|
-
var
|
|
6756
|
-
|
|
6799
|
+
var _ = r.name;
|
|
6800
|
+
R[_] = r, p = _;
|
|
6757
6801
|
}
|
|
6758
|
-
return !
|
|
6759
|
-
},
|
|
6760
|
-
if (de(
|
|
6761
|
-
return
|
|
6762
|
-
var
|
|
6763
|
-
return
|
|
6764
|
-
}, v =
|
|
6765
|
-
v.l =
|
|
6766
|
-
return
|
|
6802
|
+
return !d && p && (Y = p), p || !d && Y;
|
|
6803
|
+
}, A = function(f, r) {
|
|
6804
|
+
if (de(f))
|
|
6805
|
+
return f.clone();
|
|
6806
|
+
var s = typeof r == "object" ? r : {};
|
|
6807
|
+
return s.date = f, s.args = arguments, new oe(s);
|
|
6808
|
+
}, v = qe;
|
|
6809
|
+
v.l = te, v.i = de, v.w = function(f, r) {
|
|
6810
|
+
return A(f, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
|
|
6767
6811
|
};
|
|
6768
|
-
var
|
|
6769
|
-
function
|
|
6770
|
-
this.$L =
|
|
6812
|
+
var oe = function() {
|
|
6813
|
+
function f(s) {
|
|
6814
|
+
this.$L = te(s.locale, null, !0), this.parse(s), this.$x = this.$x || s.x || {}, this[xe] = !0;
|
|
6771
6815
|
}
|
|
6772
|
-
var
|
|
6773
|
-
return
|
|
6774
|
-
this.$d = function(
|
|
6775
|
-
var p =
|
|
6816
|
+
var r = f.prototype;
|
|
6817
|
+
return r.parse = function(s) {
|
|
6818
|
+
this.$d = function(d) {
|
|
6819
|
+
var p = d.date, h = d.utc;
|
|
6776
6820
|
if (p === null)
|
|
6777
6821
|
return /* @__PURE__ */ new Date(NaN);
|
|
6778
6822
|
if (v.u(p))
|
|
@@ -6782,343 +6826,343 @@ function to() {
|
|
|
6782
6826
|
if (typeof p == "string" && !/Z$/i.test(p)) {
|
|
6783
6827
|
var b = p.match(k);
|
|
6784
6828
|
if (b) {
|
|
6785
|
-
var
|
|
6786
|
-
return
|
|
6829
|
+
var _ = b[2] - 1 || 0, C = (b[7] || "0").substring(0, 3);
|
|
6830
|
+
return h ? new Date(Date.UTC(b[1], _, b[3] || 1, b[4] || 0, b[5] || 0, b[6] || 0, C)) : new Date(b[1], _, b[3] || 1, b[4] || 0, b[5] || 0, b[6] || 0, C);
|
|
6787
6831
|
}
|
|
6788
6832
|
}
|
|
6789
6833
|
return new Date(p);
|
|
6790
|
-
}(
|
|
6791
|
-
},
|
|
6792
|
-
var
|
|
6793
|
-
this.$y =
|
|
6794
|
-
},
|
|
6834
|
+
}(s), this.init();
|
|
6835
|
+
}, r.init = function() {
|
|
6836
|
+
var s = this.$d;
|
|
6837
|
+
this.$y = s.getFullYear(), this.$M = s.getMonth(), this.$D = s.getDate(), this.$W = s.getDay(), this.$H = s.getHours(), this.$m = s.getMinutes(), this.$s = s.getSeconds(), this.$ms = s.getMilliseconds();
|
|
6838
|
+
}, r.$utils = function() {
|
|
6795
6839
|
return v;
|
|
6796
|
-
},
|
|
6797
|
-
return this.$d.toString() !==
|
|
6798
|
-
},
|
|
6799
|
-
var p =
|
|
6800
|
-
return this.startOf(
|
|
6801
|
-
},
|
|
6802
|
-
return
|
|
6803
|
-
},
|
|
6804
|
-
return this.endOf(
|
|
6805
|
-
},
|
|
6806
|
-
return v.u(
|
|
6807
|
-
},
|
|
6840
|
+
}, r.isValid = function() {
|
|
6841
|
+
return this.$d.toString() !== S;
|
|
6842
|
+
}, r.isSame = function(s, d) {
|
|
6843
|
+
var p = A(s);
|
|
6844
|
+
return this.startOf(d) <= p && p <= this.endOf(d);
|
|
6845
|
+
}, r.isAfter = function(s, d) {
|
|
6846
|
+
return A(s) < this.startOf(d);
|
|
6847
|
+
}, r.isBefore = function(s, d) {
|
|
6848
|
+
return this.endOf(d) < A(s);
|
|
6849
|
+
}, r.$g = function(s, d, p) {
|
|
6850
|
+
return v.u(s) ? this[d] : this.set(p, s);
|
|
6851
|
+
}, r.unix = function() {
|
|
6808
6852
|
return Math.floor(this.valueOf() / 1e3);
|
|
6809
|
-
},
|
|
6853
|
+
}, r.valueOf = function() {
|
|
6810
6854
|
return this.$d.getTime();
|
|
6811
|
-
},
|
|
6812
|
-
var p = this,
|
|
6813
|
-
var
|
|
6814
|
-
return
|
|
6815
|
-
},
|
|
6816
|
-
return v.w(p.toDate()[
|
|
6817
|
-
}, T = this.$W, L = this.$M, V = this.$D,
|
|
6855
|
+
}, r.startOf = function(s, d) {
|
|
6856
|
+
var p = this, h = !!v.u(d) || d, b = v.p(s), _ = function(j, F) {
|
|
6857
|
+
var q = v.w(p.$u ? Date.UTC(p.$y, F, j) : new Date(p.$y, F, j), p);
|
|
6858
|
+
return h ? q : q.endOf(m);
|
|
6859
|
+
}, C = function(j, F) {
|
|
6860
|
+
return v.w(p.toDate()[j].apply(p.toDate("s"), (h ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(F)), p);
|
|
6861
|
+
}, T = this.$W, L = this.$M, V = this.$D, X = "set" + (this.$u ? "UTC" : "");
|
|
6818
6862
|
switch (b) {
|
|
6819
|
-
case
|
|
6820
|
-
return
|
|
6863
|
+
case y:
|
|
6864
|
+
return h ? _(1, 0) : _(31, 11);
|
|
6821
6865
|
case c:
|
|
6822
|
-
return
|
|
6823
|
-
case
|
|
6824
|
-
var
|
|
6825
|
-
return
|
|
6866
|
+
return h ? _(1, L) : _(0, L + 1);
|
|
6867
|
+
case u:
|
|
6868
|
+
var W = this.$locale().weekStart || 0, ne = (T < W ? T + 7 : T) - W;
|
|
6869
|
+
return _(h ? V - ne : V + (6 - ne), L);
|
|
6826
6870
|
case m:
|
|
6827
|
-
case
|
|
6828
|
-
return
|
|
6829
|
-
case
|
|
6830
|
-
return
|
|
6871
|
+
case x:
|
|
6872
|
+
return C(X + "Hours", 0);
|
|
6873
|
+
case i:
|
|
6874
|
+
return C(X + "Minutes", 1);
|
|
6831
6875
|
case l:
|
|
6832
|
-
return
|
|
6876
|
+
return C(X + "Seconds", 2);
|
|
6833
6877
|
case a:
|
|
6834
|
-
return
|
|
6878
|
+
return C(X + "Milliseconds", 3);
|
|
6835
6879
|
default:
|
|
6836
6880
|
return this.clone();
|
|
6837
6881
|
}
|
|
6838
|
-
},
|
|
6839
|
-
return this.startOf(
|
|
6840
|
-
},
|
|
6841
|
-
var p,
|
|
6842
|
-
if (
|
|
6843
|
-
var T = this.clone().set(
|
|
6844
|
-
T.$d[
|
|
6882
|
+
}, r.endOf = function(s) {
|
|
6883
|
+
return this.startOf(s, !1);
|
|
6884
|
+
}, r.$set = function(s, d) {
|
|
6885
|
+
var p, h = v.p(s), b = "set" + (this.$u ? "UTC" : ""), _ = (p = {}, p[m] = b + "Date", p[x] = b + "Date", p[c] = b + "Month", p[y] = b + "FullYear", p[i] = b + "Hours", p[l] = b + "Minutes", p[a] = b + "Seconds", p[n] = b + "Milliseconds", p)[h], C = h === m ? this.$D + (d - this.$W) : d;
|
|
6886
|
+
if (h === c || h === y) {
|
|
6887
|
+
var T = this.clone().set(x, 1);
|
|
6888
|
+
T.$d[_](C), T.init(), this.$d = T.set(x, Math.min(this.$D, T.daysInMonth())).$d;
|
|
6845
6889
|
} else
|
|
6846
|
-
|
|
6890
|
+
_ && this.$d[_](C);
|
|
6847
6891
|
return this.init(), this;
|
|
6848
|
-
},
|
|
6849
|
-
return this.clone().$set(
|
|
6850
|
-
},
|
|
6851
|
-
return this[v.p(
|
|
6852
|
-
},
|
|
6853
|
-
var p,
|
|
6854
|
-
|
|
6855
|
-
var b = v.p(
|
|
6856
|
-
var V =
|
|
6857
|
-
return v.w(V.date(V.date() + Math.round(L *
|
|
6892
|
+
}, r.set = function(s, d) {
|
|
6893
|
+
return this.clone().$set(s, d);
|
|
6894
|
+
}, r.get = function(s) {
|
|
6895
|
+
return this[v.p(s)]();
|
|
6896
|
+
}, r.add = function(s, d) {
|
|
6897
|
+
var p, h = this;
|
|
6898
|
+
s = Number(s);
|
|
6899
|
+
var b = v.p(d), _ = function(L) {
|
|
6900
|
+
var V = A(h);
|
|
6901
|
+
return v.w(V.date(V.date() + Math.round(L * s)), h);
|
|
6858
6902
|
};
|
|
6859
6903
|
if (b === c)
|
|
6860
|
-
return this.set(c, this.$M +
|
|
6861
|
-
if (b ===
|
|
6862
|
-
return this.set(
|
|
6904
|
+
return this.set(c, this.$M + s);
|
|
6905
|
+
if (b === y)
|
|
6906
|
+
return this.set(y, this.$y + s);
|
|
6863
6907
|
if (b === m)
|
|
6864
|
-
return
|
|
6865
|
-
if (b ===
|
|
6866
|
-
return
|
|
6867
|
-
var
|
|
6908
|
+
return _(1);
|
|
6909
|
+
if (b === u)
|
|
6910
|
+
return _(7);
|
|
6911
|
+
var C = (p = {}, p[l] = e, p[i] = t, p[a] = o, p)[b] || 1, T = this.$d.getTime() + s * C;
|
|
6868
6912
|
return v.w(T, this);
|
|
6869
|
-
},
|
|
6870
|
-
return this.add(-1 *
|
|
6871
|
-
},
|
|
6872
|
-
var
|
|
6913
|
+
}, r.subtract = function(s, d) {
|
|
6914
|
+
return this.add(-1 * s, d);
|
|
6915
|
+
}, r.format = function(s) {
|
|
6916
|
+
var d = this, p = this.$locale();
|
|
6873
6917
|
if (!this.isValid())
|
|
6874
|
-
return p.invalidDate ||
|
|
6875
|
-
var
|
|
6876
|
-
return F && (F[
|
|
6877
|
-
},
|
|
6878
|
-
return v.s(
|
|
6879
|
-
},
|
|
6918
|
+
return p.invalidDate || S;
|
|
6919
|
+
var h = s || "YYYY-MM-DDTHH:mm:ssZ", b = v.z(this), _ = this.$H, C = this.$m, T = this.$M, L = p.weekdays, V = p.months, X = p.meridiem, W = function(F, q, le, me) {
|
|
6920
|
+
return F && (F[q] || F(d, h)) || le[q].slice(0, me);
|
|
6921
|
+
}, ne = function(F) {
|
|
6922
|
+
return v.s(_ % 12 || 12, F, "0");
|
|
6923
|
+
}, j = X || function(F, q, le) {
|
|
6880
6924
|
var me = F < 12 ? "AM" : "PM";
|
|
6881
|
-
return
|
|
6925
|
+
return le ? me.toLowerCase() : me;
|
|
6882
6926
|
};
|
|
6883
|
-
return
|
|
6884
|
-
return
|
|
6885
|
-
switch (
|
|
6927
|
+
return h.replace($, function(F, q) {
|
|
6928
|
+
return q || function(le) {
|
|
6929
|
+
switch (le) {
|
|
6886
6930
|
case "YY":
|
|
6887
|
-
return String(
|
|
6931
|
+
return String(d.$y).slice(-2);
|
|
6888
6932
|
case "YYYY":
|
|
6889
|
-
return v.s(
|
|
6933
|
+
return v.s(d.$y, 4, "0");
|
|
6890
6934
|
case "M":
|
|
6891
6935
|
return T + 1;
|
|
6892
6936
|
case "MM":
|
|
6893
6937
|
return v.s(T + 1, 2, "0");
|
|
6894
6938
|
case "MMM":
|
|
6895
|
-
return
|
|
6939
|
+
return W(p.monthsShort, T, V, 3);
|
|
6896
6940
|
case "MMMM":
|
|
6897
|
-
return
|
|
6941
|
+
return W(V, T);
|
|
6898
6942
|
case "D":
|
|
6899
|
-
return
|
|
6943
|
+
return d.$D;
|
|
6900
6944
|
case "DD":
|
|
6901
|
-
return v.s(
|
|
6945
|
+
return v.s(d.$D, 2, "0");
|
|
6902
6946
|
case "d":
|
|
6903
|
-
return String(
|
|
6947
|
+
return String(d.$W);
|
|
6904
6948
|
case "dd":
|
|
6905
|
-
return
|
|
6949
|
+
return W(p.weekdaysMin, d.$W, L, 2);
|
|
6906
6950
|
case "ddd":
|
|
6907
|
-
return
|
|
6951
|
+
return W(p.weekdaysShort, d.$W, L, 3);
|
|
6908
6952
|
case "dddd":
|
|
6909
|
-
return L[
|
|
6953
|
+
return L[d.$W];
|
|
6910
6954
|
case "H":
|
|
6911
|
-
return String(
|
|
6955
|
+
return String(_);
|
|
6912
6956
|
case "HH":
|
|
6913
|
-
return v.s(
|
|
6957
|
+
return v.s(_, 2, "0");
|
|
6914
6958
|
case "h":
|
|
6915
|
-
return
|
|
6959
|
+
return ne(1);
|
|
6916
6960
|
case "hh":
|
|
6917
|
-
return
|
|
6961
|
+
return ne(2);
|
|
6918
6962
|
case "a":
|
|
6919
|
-
return
|
|
6963
|
+
return j(_, C, !0);
|
|
6920
6964
|
case "A":
|
|
6921
|
-
return
|
|
6965
|
+
return j(_, C, !1);
|
|
6922
6966
|
case "m":
|
|
6923
|
-
return String(
|
|
6967
|
+
return String(C);
|
|
6924
6968
|
case "mm":
|
|
6925
|
-
return v.s(
|
|
6969
|
+
return v.s(C, 2, "0");
|
|
6926
6970
|
case "s":
|
|
6927
|
-
return String(
|
|
6971
|
+
return String(d.$s);
|
|
6928
6972
|
case "ss":
|
|
6929
|
-
return v.s(
|
|
6973
|
+
return v.s(d.$s, 2, "0");
|
|
6930
6974
|
case "SSS":
|
|
6931
|
-
return v.s(
|
|
6975
|
+
return v.s(d.$ms, 3, "0");
|
|
6932
6976
|
case "Z":
|
|
6933
6977
|
return b;
|
|
6934
6978
|
}
|
|
6935
6979
|
return null;
|
|
6936
6980
|
}(F) || b.replace(":", "");
|
|
6937
6981
|
});
|
|
6938
|
-
},
|
|
6982
|
+
}, r.utcOffset = function() {
|
|
6939
6983
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
6940
|
-
},
|
|
6941
|
-
var
|
|
6942
|
-
return v.m(b,
|
|
6984
|
+
}, r.diff = function(s, d, p) {
|
|
6985
|
+
var h, b = this, _ = v.p(d), C = A(s), T = (C.utcOffset() - this.utcOffset()) * e, L = this - C, V = function() {
|
|
6986
|
+
return v.m(b, C);
|
|
6943
6987
|
};
|
|
6944
|
-
switch (
|
|
6945
|
-
case
|
|
6946
|
-
|
|
6988
|
+
switch (_) {
|
|
6989
|
+
case y:
|
|
6990
|
+
h = V() / 12;
|
|
6947
6991
|
break;
|
|
6948
6992
|
case c:
|
|
6949
|
-
|
|
6993
|
+
h = V();
|
|
6950
6994
|
break;
|
|
6951
6995
|
case g:
|
|
6952
|
-
|
|
6996
|
+
h = V() / 3;
|
|
6953
6997
|
break;
|
|
6954
|
-
case
|
|
6955
|
-
|
|
6998
|
+
case u:
|
|
6999
|
+
h = (L - T) / 6048e5;
|
|
6956
7000
|
break;
|
|
6957
7001
|
case m:
|
|
6958
|
-
|
|
7002
|
+
h = (L - T) / 864e5;
|
|
6959
7003
|
break;
|
|
6960
|
-
case
|
|
6961
|
-
|
|
7004
|
+
case i:
|
|
7005
|
+
h = L / t;
|
|
6962
7006
|
break;
|
|
6963
7007
|
case l:
|
|
6964
|
-
|
|
7008
|
+
h = L / e;
|
|
6965
7009
|
break;
|
|
6966
7010
|
case a:
|
|
6967
|
-
|
|
7011
|
+
h = L / o;
|
|
6968
7012
|
break;
|
|
6969
7013
|
default:
|
|
6970
|
-
|
|
7014
|
+
h = L;
|
|
6971
7015
|
}
|
|
6972
|
-
return p ?
|
|
6973
|
-
},
|
|
7016
|
+
return p ? h : v.a(h);
|
|
7017
|
+
}, r.daysInMonth = function() {
|
|
6974
7018
|
return this.endOf(c).$D;
|
|
6975
|
-
},
|
|
6976
|
-
return
|
|
6977
|
-
},
|
|
6978
|
-
if (!
|
|
7019
|
+
}, r.$locale = function() {
|
|
7020
|
+
return R[this.$L];
|
|
7021
|
+
}, r.locale = function(s, d) {
|
|
7022
|
+
if (!s)
|
|
6979
7023
|
return this.$L;
|
|
6980
|
-
var p = this.clone(),
|
|
6981
|
-
return
|
|
6982
|
-
},
|
|
7024
|
+
var p = this.clone(), h = te(s, d, !0);
|
|
7025
|
+
return h && (p.$L = h), p;
|
|
7026
|
+
}, r.clone = function() {
|
|
6983
7027
|
return v.w(this.$d, this);
|
|
6984
|
-
},
|
|
7028
|
+
}, r.toDate = function() {
|
|
6985
7029
|
return new Date(this.valueOf());
|
|
6986
|
-
},
|
|
7030
|
+
}, r.toJSON = function() {
|
|
6987
7031
|
return this.isValid() ? this.toISOString() : null;
|
|
6988
|
-
},
|
|
7032
|
+
}, r.toISOString = function() {
|
|
6989
7033
|
return this.$d.toISOString();
|
|
6990
|
-
},
|
|
7034
|
+
}, r.toString = function() {
|
|
6991
7035
|
return this.$d.toUTCString();
|
|
6992
|
-
},
|
|
6993
|
-
}(), ve =
|
|
6994
|
-
return
|
|
6995
|
-
ve[
|
|
6996
|
-
return this.$g(
|
|
7036
|
+
}, f;
|
|
7037
|
+
}(), ve = oe.prototype;
|
|
7038
|
+
return A.prototype = ve, [["$ms", n], ["$s", a], ["$m", l], ["$H", i], ["$W", m], ["$M", c], ["$y", y], ["$D", x]].forEach(function(f) {
|
|
7039
|
+
ve[f[1]] = function(r) {
|
|
7040
|
+
return this.$g(r, f[0], f[1]);
|
|
6997
7041
|
};
|
|
6998
|
-
}),
|
|
6999
|
-
return
|
|
7000
|
-
},
|
|
7001
|
-
return
|
|
7002
|
-
},
|
|
7003
|
-
}()),
|
|
7042
|
+
}), A.extend = function(f, r) {
|
|
7043
|
+
return f.$i || (f(r, oe, A), f.$i = !0), A;
|
|
7044
|
+
}, A.locale = te, A.isDayjs = de, A.unix = function(f) {
|
|
7045
|
+
return A(1e3 * f);
|
|
7046
|
+
}, A.en = R[Y], A.Ls = R, A.p = {}, A;
|
|
7047
|
+
}()), Qe.exports;
|
|
7004
7048
|
}
|
|
7005
|
-
|
|
7006
|
-
var
|
|
7007
|
-
function
|
|
7008
|
-
return
|
|
7009
|
-
var
|
|
7049
|
+
uo(co());
|
|
7050
|
+
var vt = typeof global == "object" && global && global.Object === Object && global, mo = typeof self == "object" && self && self.Object === Object && self, z = vt || mo || Function("return this")(), Q = z.Symbol, gt = Object.prototype, fo = gt.hasOwnProperty, ho = gt.toString, se = Q ? Q.toStringTag : void 0, bo = Object.prototype.toString, et = Q ? Q.toStringTag : void 0;
|
|
7051
|
+
function ye(o) {
|
|
7052
|
+
return o == null ? o === void 0 ? "[object Undefined]" : "[object Null]" : et && et in Object(o) ? function(e) {
|
|
7053
|
+
var t = fo.call(e, se), n = e[se];
|
|
7010
7054
|
try {
|
|
7011
|
-
e[
|
|
7055
|
+
e[se] = void 0;
|
|
7012
7056
|
var a = !0;
|
|
7013
|
-
} catch (
|
|
7057
|
+
} catch (i) {
|
|
7014
7058
|
}
|
|
7015
|
-
var l =
|
|
7016
|
-
return a && (
|
|
7017
|
-
}(
|
|
7018
|
-
return
|
|
7019
|
-
}(
|
|
7059
|
+
var l = ho.call(e);
|
|
7060
|
+
return a && (t ? e[se] = n : delete e[se]), l;
|
|
7061
|
+
}(o) : function(e) {
|
|
7062
|
+
return bo.call(e);
|
|
7063
|
+
}(o);
|
|
7020
7064
|
}
|
|
7021
|
-
function
|
|
7022
|
-
return
|
|
7065
|
+
function _t(o) {
|
|
7066
|
+
return o != null && typeof o == "object";
|
|
7023
7067
|
}
|
|
7024
|
-
function
|
|
7025
|
-
var e = typeof
|
|
7026
|
-
return
|
|
7068
|
+
function St(o) {
|
|
7069
|
+
var e = typeof o;
|
|
7070
|
+
return o != null && (e == "object" || e == "function");
|
|
7027
7071
|
}
|
|
7028
|
-
function
|
|
7029
|
-
if (!
|
|
7072
|
+
function yo(o) {
|
|
7073
|
+
if (!St(o))
|
|
7030
7074
|
return !1;
|
|
7031
|
-
var e =
|
|
7075
|
+
var e = ye(o);
|
|
7032
7076
|
return e == "[object Function]" || e == "[object GeneratorFunction]" || e == "[object AsyncFunction]" || e == "[object Proxy]";
|
|
7033
7077
|
}
|
|
7034
|
-
var
|
|
7035
|
-
function
|
|
7036
|
-
if (
|
|
7078
|
+
var tt, Ce = z["__core-js_shared__"], ot = (tt = /[^.]+$/.exec(Ce && Ce.keys && Ce.keys.IE_PROTO || "")) ? "Symbol(src)_1." + tt : "", xo = Function.prototype.toString;
|
|
7079
|
+
function U(o) {
|
|
7080
|
+
if (o != null) {
|
|
7037
7081
|
try {
|
|
7038
|
-
return
|
|
7082
|
+
return xo.call(o);
|
|
7039
7083
|
} catch (e) {
|
|
7040
7084
|
}
|
|
7041
7085
|
try {
|
|
7042
|
-
return
|
|
7086
|
+
return o + "";
|
|
7043
7087
|
} catch (e) {
|
|
7044
7088
|
}
|
|
7045
7089
|
}
|
|
7046
7090
|
return "";
|
|
7047
7091
|
}
|
|
7048
|
-
var
|
|
7049
|
-
function
|
|
7050
|
-
return !(!
|
|
7092
|
+
var vo = /^\[object .+?Constructor\]$/, go = Function.prototype, _o = Object.prototype, So = go.toString, wo = _o.hasOwnProperty, Co = RegExp("^" + So.call(wo).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
|
|
7093
|
+
function Ao(o) {
|
|
7094
|
+
return !(!St(o) || (e = o, ot && ot in e)) && (yo(o) ? Co : vo).test(U(o));
|
|
7051
7095
|
var e;
|
|
7052
7096
|
}
|
|
7053
|
-
function
|
|
7054
|
-
var
|
|
7097
|
+
function K(o, e) {
|
|
7098
|
+
var t = function(n, a) {
|
|
7055
7099
|
return n == null ? void 0 : n[a];
|
|
7056
|
-
}(
|
|
7057
|
-
return
|
|
7100
|
+
}(o, e);
|
|
7101
|
+
return Ao(t) ? t : void 0;
|
|
7058
7102
|
}
|
|
7059
|
-
var
|
|
7103
|
+
var Ie = K(z, "WeakMap");
|
|
7060
7104
|
(function() {
|
|
7061
7105
|
try {
|
|
7062
|
-
var
|
|
7063
|
-
return
|
|
7106
|
+
var o = K(Object, "defineProperty");
|
|
7107
|
+
return o({}, "", {}), o;
|
|
7064
7108
|
} catch (e) {
|
|
7065
7109
|
}
|
|
7066
7110
|
})();
|
|
7067
|
-
function
|
|
7068
|
-
return
|
|
7111
|
+
function nt(o) {
|
|
7112
|
+
return _t(o) && ye(o) == "[object Arguments]";
|
|
7069
7113
|
}
|
|
7070
|
-
var
|
|
7071
|
-
|
|
7114
|
+
var wt = Object.prototype, To = wt.hasOwnProperty, Lo = wt.propertyIsEnumerable;
|
|
7115
|
+
nt(function() {
|
|
7072
7116
|
return arguments;
|
|
7073
7117
|
}());
|
|
7074
|
-
var
|
|
7075
|
-
|
|
7076
|
-
var
|
|
7118
|
+
var Ct = typeof exports == "object" && exports && !exports.nodeType && exports, lt = Ct && typeof module == "object" && module && !module.nodeType && module, at = lt && lt.exports === Ct ? z.Buffer : void 0;
|
|
7119
|
+
at && at.isBuffer;
|
|
7120
|
+
var At = typeof exports == "object" && exports && !exports.nodeType && exports, re = At && typeof module == "object" && module && !module.nodeType && module, Ae = re && re.exports === At && vt.process, ee = function() {
|
|
7077
7121
|
try {
|
|
7078
|
-
var
|
|
7079
|
-
return
|
|
7122
|
+
var o = re && re.require && re.require("util").types;
|
|
7123
|
+
return o || Ae && Ae.binding && Ae.binding("util");
|
|
7080
7124
|
} catch (e) {
|
|
7081
7125
|
}
|
|
7082
7126
|
}();
|
|
7083
|
-
|
|
7084
|
-
|
|
7085
|
-
var
|
|
7086
|
-
(
|
|
7087
|
-
var e =
|
|
7127
|
+
ee && ee.isTypedArray;
|
|
7128
|
+
K(Object, "create");
|
|
7129
|
+
var Fe = K(z, "Map"), Ve = K(z, "DataView"), De = K(z, "Promise"), Oe = K(z, "Set"), it = "[object Map]", st = "[object Promise]", rt = "[object Set]", pt = "[object WeakMap]", ut = "[object DataView]", ko = U(Ve), $o = U(Fe), Io = U(De), Fo = U(Oe), Vo = U(Ie), Z = ye;
|
|
7130
|
+
(Ve && Z(new Ve(new ArrayBuffer(1))) != ut || Fe && Z(new Fe()) != it || De && Z(De.resolve()) != st || Oe && Z(new Oe()) != rt || Ie && Z(new Ie()) != pt) && (Z = function(o) {
|
|
7131
|
+
var e = ye(o), t = e == "[object Object]" ? o.constructor : void 0, n = t ? U(t) : "";
|
|
7088
7132
|
if (n)
|
|
7089
7133
|
switch (n) {
|
|
7090
|
-
case
|
|
7091
|
-
return
|
|
7092
|
-
case
|
|
7093
|
-
return nt;
|
|
7094
|
-
case go:
|
|
7095
|
-
return lt;
|
|
7096
|
-
case So:
|
|
7097
|
-
return at;
|
|
7098
|
-
case _o:
|
|
7134
|
+
case ko:
|
|
7135
|
+
return ut;
|
|
7136
|
+
case $o:
|
|
7099
7137
|
return it;
|
|
7138
|
+
case Io:
|
|
7139
|
+
return st;
|
|
7140
|
+
case Fo:
|
|
7141
|
+
return rt;
|
|
7142
|
+
case Vo:
|
|
7143
|
+
return pt;
|
|
7100
7144
|
}
|
|
7101
7145
|
return e;
|
|
7102
7146
|
});
|
|
7103
|
-
|
|
7104
|
-
var
|
|
7105
|
-
|
|
7106
|
-
|
|
7107
|
-
|
|
7108
|
-
const
|
|
7109
|
-
if (typeof
|
|
7110
|
-
return
|
|
7111
|
-
if (typeof
|
|
7112
|
-
const
|
|
7113
|
-
for (let n = 0; n <
|
|
7147
|
+
z.Uint8Array;
|
|
7148
|
+
var ct = Q ? Q.prototype : void 0;
|
|
7149
|
+
ct && ct.valueOf;
|
|
7150
|
+
ee && ee.isMap;
|
|
7151
|
+
ee && ee.isSet;
|
|
7152
|
+
const Do = (o, e) => {
|
|
7153
|
+
if (typeof o == "string" && typeof e == "string")
|
|
7154
|
+
return o.toLocaleLowerCase().includes(e.toLocaleLowerCase());
|
|
7155
|
+
if (typeof o == "string" && Array.isArray(e)) {
|
|
7156
|
+
const t = e.length;
|
|
7157
|
+
for (let n = 0; n < t; n++) {
|
|
7114
7158
|
const a = e[n];
|
|
7115
|
-
if (typeof a == "string" &&
|
|
7159
|
+
if (typeof a == "string" && o.toLocaleLowerCase().includes(a.toLocaleLowerCase()))
|
|
7116
7160
|
return !0;
|
|
7117
7161
|
}
|
|
7118
7162
|
}
|
|
7119
7163
|
return !1;
|
|
7120
|
-
},
|
|
7121
|
-
const
|
|
7164
|
+
}, Oo = (o, e) => Object.prototype.hasOwnProperty.call(o, e);
|
|
7165
|
+
const Mo = {
|
|
7122
7166
|
name: "EcanSelect",
|
|
7123
7167
|
components: {
|
|
7124
7168
|
// ASelect: Select,
|
|
@@ -7159,49 +7203,49 @@ const Ao = {
|
|
|
7159
7203
|
},
|
|
7160
7204
|
inject: ["componentList", "selectedComponent"],
|
|
7161
7205
|
methods: {
|
|
7162
|
-
onSelectChange(
|
|
7206
|
+
onSelectChange(o) {
|
|
7163
7207
|
if (this.graphic) {
|
|
7164
|
-
const e = this.componentList.find((
|
|
7208
|
+
const e = this.componentList.find((t) => t.type === o);
|
|
7165
7209
|
if (e) {
|
|
7166
|
-
const
|
|
7167
|
-
for (const I in
|
|
7168
|
-
!k.includes(I) &&
|
|
7169
|
-
let $ =
|
|
7210
|
+
const t = M(this.selectedComponent), { events: n, dataType: a, dataFieldConfigType: l, id: i, keyName: m, top: u, left: c, width: g, height: y, zIndex: x } = t, S = {}, k = ["type", "graphicType", "data"];
|
|
7211
|
+
for (const I in t)
|
|
7212
|
+
!k.includes(I) && Oo(e, I) && (S[I] = M(t[I]));
|
|
7213
|
+
let $ = G(D(D({}, e), S), {
|
|
7170
7214
|
events: n,
|
|
7171
7215
|
dataType: a,
|
|
7172
|
-
id:
|
|
7216
|
+
id: i,
|
|
7173
7217
|
keyName: m,
|
|
7174
|
-
top:
|
|
7218
|
+
top: u,
|
|
7175
7219
|
left: c,
|
|
7176
7220
|
width: g,
|
|
7177
|
-
height:
|
|
7178
|
-
zIndex:
|
|
7221
|
+
height: y,
|
|
7222
|
+
zIndex: x
|
|
7179
7223
|
});
|
|
7180
7224
|
l && ($.dataFieldConfigType = l), this.$emit("change", $, { all: !0 });
|
|
7181
7225
|
}
|
|
7182
7226
|
} else
|
|
7183
|
-
this.$emit("change",
|
|
7184
|
-
this.$emit("update:value",
|
|
7227
|
+
this.$emit("change", o);
|
|
7228
|
+
this.$emit("update:value", o);
|
|
7185
7229
|
}
|
|
7186
7230
|
}
|
|
7187
7231
|
};
|
|
7188
|
-
var
|
|
7189
|
-
var e = this,
|
|
7190
|
-
return
|
|
7191
|
-
return
|
|
7232
|
+
var Po = function() {
|
|
7233
|
+
var e = this, t = e._self._c;
|
|
7234
|
+
return t("a-select", { attrs: { value: e.value }, on: { change: e.onSelectChange } }, e._l(e.computedOptions, function(n) {
|
|
7235
|
+
return t("a-select-option", { key: n.value, attrs: { value: n.value, disabled: n.disabled } }, [e._v(" " + e._s(n.label) + " ")]);
|
|
7192
7236
|
}), 1);
|
|
7193
|
-
},
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7237
|
+
}, No = [], zo = /* @__PURE__ */ w(
|
|
7238
|
+
Mo,
|
|
7239
|
+
Po,
|
|
7240
|
+
No,
|
|
7197
7241
|
!1,
|
|
7198
7242
|
null,
|
|
7199
7243
|
"9283c55b",
|
|
7200
7244
|
null,
|
|
7201
7245
|
null
|
|
7202
7246
|
);
|
|
7203
|
-
const
|
|
7204
|
-
const
|
|
7247
|
+
const Tt = zo.exports;
|
|
7248
|
+
const Ro = {
|
|
7205
7249
|
name: "Switch",
|
|
7206
7250
|
components: {
|
|
7207
7251
|
// ASwitch: Switch
|
|
@@ -7223,29 +7267,29 @@ const Io = {
|
|
|
7223
7267
|
emits: ["change"],
|
|
7224
7268
|
// Vue 3 支持,Vue 2 忽略
|
|
7225
7269
|
methods: {
|
|
7226
|
-
onSwitchChange(
|
|
7227
|
-
this.$emit("change",
|
|
7270
|
+
onSwitchChange(o) {
|
|
7271
|
+
this.$emit("change", o);
|
|
7228
7272
|
}
|
|
7229
7273
|
}
|
|
7230
7274
|
};
|
|
7231
|
-
var
|
|
7232
|
-
var e = this,
|
|
7233
|
-
return
|
|
7234
|
-
},
|
|
7235
|
-
|
|
7236
|
-
|
|
7237
|
-
|
|
7275
|
+
var qo = function() {
|
|
7276
|
+
var e = this, t = e._self._c;
|
|
7277
|
+
return t("div", { style: { width: `${e.width}px` } }, [t("a-switch", { attrs: { disabled: e.disabled, checked: e.value }, on: { change: e.onSwitchChange } })], 1);
|
|
7278
|
+
}, Bo = [], Eo = /* @__PURE__ */ w(
|
|
7279
|
+
Ro,
|
|
7280
|
+
qo,
|
|
7281
|
+
Bo,
|
|
7238
7282
|
!1,
|
|
7239
7283
|
null,
|
|
7240
7284
|
"2976c406",
|
|
7241
7285
|
null,
|
|
7242
7286
|
null
|
|
7243
7287
|
);
|
|
7244
|
-
const
|
|
7245
|
-
const
|
|
7288
|
+
const Wo = Eo.exports;
|
|
7289
|
+
const jo = {
|
|
7246
7290
|
name: "ColorPicker",
|
|
7247
7291
|
components: {
|
|
7248
|
-
SketchPicker:
|
|
7292
|
+
SketchPicker: Vt
|
|
7249
7293
|
// APopover: Popover
|
|
7250
7294
|
},
|
|
7251
7295
|
props: {
|
|
@@ -7287,41 +7331,41 @@ const Oo = {
|
|
|
7287
7331
|
};
|
|
7288
7332
|
},
|
|
7289
7333
|
watch: {
|
|
7290
|
-
value(
|
|
7291
|
-
|
|
7334
|
+
value(o) {
|
|
7335
|
+
o && (this.currentColor = o);
|
|
7292
7336
|
}
|
|
7293
7337
|
},
|
|
7294
7338
|
methods: {
|
|
7295
|
-
handleVisibleChange(
|
|
7296
|
-
this.popoverVisible =
|
|
7339
|
+
handleVisibleChange(o) {
|
|
7340
|
+
this.popoverVisible = o;
|
|
7297
7341
|
},
|
|
7298
|
-
handleColorChange({ hex:
|
|
7299
|
-
this.currentColor =
|
|
7342
|
+
handleColorChange({ hex: o }) {
|
|
7343
|
+
this.currentColor = o, this.$emit("input", o), this.$emit("change", o), this.$emit("update:value", o);
|
|
7300
7344
|
}
|
|
7301
7345
|
}
|
|
7302
7346
|
};
|
|
7303
|
-
var
|
|
7304
|
-
var e = this,
|
|
7305
|
-
return
|
|
7306
|
-
return [
|
|
7347
|
+
var Go = function() {
|
|
7348
|
+
var e = this, t = e._self._c;
|
|
7349
|
+
return t("a-popover", { attrs: { visible: e.popoverVisible, trigger: "click", placement: "bottomLeft", overlayClassName: "color-picker-popover", getPopupContainer: (n) => n.parentNode, destroyTooltipOnHide: !0 }, on: { visibleChange: e.handleVisibleChange }, scopedSlots: e._u([{ key: "content", fn: function() {
|
|
7350
|
+
return [t("div", { staticClass: "name", on: { click: function(n) {
|
|
7307
7351
|
n.stopPropagation();
|
|
7308
|
-
} } }, [
|
|
7309
|
-
}, proxy: !0 }]) }, [
|
|
7310
|
-
},
|
|
7311
|
-
|
|
7312
|
-
|
|
7313
|
-
|
|
7352
|
+
} } }, [t("sketch-picker", { attrs: { value: { hex: e.currentColor }, disableAlpha: !0, presetColors: e.presetColors }, on: { input: e.handleColorChange } })], 1)];
|
|
7353
|
+
}, proxy: !0 }]) }, [t("div", { staticClass: "popover-trigger", style: { backgroundColor: e.currentColor, height: e.size + "px", width: e.size + "px" } })]);
|
|
7354
|
+
}, Ho = [], Uo = /* @__PURE__ */ w(
|
|
7355
|
+
jo,
|
|
7356
|
+
Go,
|
|
7357
|
+
Ho,
|
|
7314
7358
|
!1,
|
|
7315
7359
|
null,
|
|
7316
7360
|
"c77d9ba2",
|
|
7317
7361
|
null,
|
|
7318
7362
|
null
|
|
7319
7363
|
);
|
|
7320
|
-
const
|
|
7321
|
-
const
|
|
7364
|
+
const ze = Uo.exports;
|
|
7365
|
+
const Ko = {
|
|
7322
7366
|
name: "ColorPick",
|
|
7323
7367
|
components: {
|
|
7324
|
-
PickColors:
|
|
7368
|
+
PickColors: ze
|
|
7325
7369
|
// AInput: Input
|
|
7326
7370
|
},
|
|
7327
7371
|
props: {
|
|
@@ -7345,41 +7389,41 @@ const No = {
|
|
|
7345
7389
|
get() {
|
|
7346
7390
|
return this.value;
|
|
7347
7391
|
},
|
|
7348
|
-
set(
|
|
7349
|
-
this.$emit("change",
|
|
7392
|
+
set(o) {
|
|
7393
|
+
this.$emit("change", o), this.$emit("input", o), this.$emit("update:value", o);
|
|
7350
7394
|
}
|
|
7351
7395
|
}
|
|
7352
7396
|
},
|
|
7353
7397
|
created() {
|
|
7354
7398
|
},
|
|
7355
7399
|
methods: {
|
|
7356
|
-
onChangColor(
|
|
7357
|
-
this.colorValue =
|
|
7400
|
+
onChangColor(o) {
|
|
7401
|
+
this.colorValue = o.hex;
|
|
7358
7402
|
}
|
|
7359
7403
|
}
|
|
7360
7404
|
};
|
|
7361
|
-
var
|
|
7362
|
-
var e = this,
|
|
7363
|
-
return
|
|
7405
|
+
var Yo = function() {
|
|
7406
|
+
var e = this, t = e._self._c;
|
|
7407
|
+
return t("div", { staticClass: "color-pick" }, [t("a-input", { staticClass: "input", staticStyle: { flex: "1" }, attrs: { disabled: e.disabled }, model: { value: e.colorValue, callback: function(n) {
|
|
7364
7408
|
e.colorValue = n;
|
|
7365
|
-
}, expression: "colorValue" } }), e.disabled ? e._e() :
|
|
7409
|
+
}, expression: "colorValue" } }), e.disabled ? e._e() : t("pick-colors", { staticClass: "pick-colors", attrs: { size: 25 }, model: { value: e.colorValue, callback: function(n) {
|
|
7366
7410
|
e.colorValue = n;
|
|
7367
7411
|
}, expression: "colorValue" } })], 1);
|
|
7368
|
-
},
|
|
7369
|
-
|
|
7370
|
-
|
|
7371
|
-
|
|
7412
|
+
}, Xo = [], Zo = /* @__PURE__ */ w(
|
|
7413
|
+
Ko,
|
|
7414
|
+
Yo,
|
|
7415
|
+
Xo,
|
|
7372
7416
|
!1,
|
|
7373
7417
|
null,
|
|
7374
7418
|
"a79249c3",
|
|
7375
7419
|
null,
|
|
7376
7420
|
null
|
|
7377
7421
|
);
|
|
7378
|
-
const ue =
|
|
7379
|
-
const
|
|
7422
|
+
const ue = Zo.exports;
|
|
7423
|
+
const Jo = {
|
|
7380
7424
|
name: "ColorPickerGroup",
|
|
7381
7425
|
components: {
|
|
7382
|
-
ColorPick:
|
|
7426
|
+
ColorPick: ze
|
|
7383
7427
|
},
|
|
7384
7428
|
props: {
|
|
7385
7429
|
// 当前颜色值
|
|
@@ -7422,28 +7466,28 @@ const Wo = {
|
|
|
7422
7466
|
}
|
|
7423
7467
|
}
|
|
7424
7468
|
};
|
|
7425
|
-
var
|
|
7426
|
-
var e = this,
|
|
7427
|
-
return
|
|
7428
|
-
return
|
|
7469
|
+
var Qo = function() {
|
|
7470
|
+
var e = this, t = e._self._c;
|
|
7471
|
+
return t("div", { staticClass: "pick-color-group" }, [e._l(e.value, function(n, a) {
|
|
7472
|
+
return t("ColorPick", { key: a, staticStyle: { margin: "5px" }, attrs: { size: e.size }, on: { change: e.handleColorChange }, model: { value: e.value[a], callback: function(l) {
|
|
7429
7473
|
e.$set(e.value, a, l);
|
|
7430
7474
|
}, expression: "value[index]" } });
|
|
7431
|
-
}),
|
|
7432
|
-
},
|
|
7433
|
-
|
|
7434
|
-
|
|
7435
|
-
|
|
7475
|
+
}), t("div", { staticClass: "popover-trigger", style: { backgroundColor: "#fff", height: e.size + "px", width: e.size + "px", margin: "5px" }, on: { click: e.addColor } }, [e._v("+")])], 2);
|
|
7476
|
+
}, en = [], tn = /* @__PURE__ */ w(
|
|
7477
|
+
Jo,
|
|
7478
|
+
Qo,
|
|
7479
|
+
en,
|
|
7436
7480
|
!1,
|
|
7437
7481
|
null,
|
|
7438
7482
|
"932bd405",
|
|
7439
7483
|
null,
|
|
7440
7484
|
null
|
|
7441
7485
|
);
|
|
7442
|
-
const
|
|
7443
|
-
const
|
|
7486
|
+
const on = tn.exports;
|
|
7487
|
+
const nn = {
|
|
7444
7488
|
name: "ColorGroupPick",
|
|
7445
7489
|
components: {
|
|
7446
|
-
PickColors:
|
|
7490
|
+
PickColors: on
|
|
7447
7491
|
},
|
|
7448
7492
|
props: {
|
|
7449
7493
|
value: {
|
|
@@ -7460,29 +7504,29 @@ const Ko = {
|
|
|
7460
7504
|
};
|
|
7461
7505
|
},
|
|
7462
7506
|
methods: {
|
|
7463
|
-
onColorsChange(
|
|
7464
|
-
this.$emit("change",
|
|
7507
|
+
onColorsChange(o) {
|
|
7508
|
+
this.$emit("change", o);
|
|
7465
7509
|
},
|
|
7466
7510
|
onOverflowMax() {
|
|
7467
7511
|
message.warn(`已经超出最大添加个数:${this.max}`);
|
|
7468
7512
|
}
|
|
7469
7513
|
}
|
|
7470
7514
|
};
|
|
7471
|
-
var
|
|
7472
|
-
var e = this,
|
|
7473
|
-
return
|
|
7474
|
-
},
|
|
7475
|
-
|
|
7476
|
-
|
|
7477
|
-
|
|
7515
|
+
var ln = function() {
|
|
7516
|
+
var e = this, t = e._self._c;
|
|
7517
|
+
return t("div", { staticClass: "color-group-pick" }, [t("pick-colors", { attrs: { value: e.value, theme: e.theme, "add-color": "", max: e.max }, on: { change: e.onColorsChange, "overflow-max": e.onOverflowMax } })], 1);
|
|
7518
|
+
}, an = [], sn = /* @__PURE__ */ w(
|
|
7519
|
+
nn,
|
|
7520
|
+
ln,
|
|
7521
|
+
an,
|
|
7478
7522
|
!1,
|
|
7479
7523
|
null,
|
|
7480
7524
|
"dbed4801",
|
|
7481
7525
|
null,
|
|
7482
7526
|
null
|
|
7483
7527
|
);
|
|
7484
|
-
const
|
|
7485
|
-
const
|
|
7528
|
+
const rn = sn.exports;
|
|
7529
|
+
const pn = {
|
|
7486
7530
|
name: "Slider",
|
|
7487
7531
|
components: {
|
|
7488
7532
|
// ASlider: Slider
|
|
@@ -7496,26 +7540,26 @@ const Qo = {
|
|
|
7496
7540
|
emits: ["change"],
|
|
7497
7541
|
// Vue 3 中可选,Vue 2 中会被忽略
|
|
7498
7542
|
methods: {
|
|
7499
|
-
onChange(
|
|
7500
|
-
this.$emit("change",
|
|
7543
|
+
onChange(o) {
|
|
7544
|
+
this.$emit("change", o);
|
|
7501
7545
|
}
|
|
7502
7546
|
}
|
|
7503
7547
|
};
|
|
7504
|
-
var
|
|
7505
|
-
var e = this,
|
|
7506
|
-
return
|
|
7507
|
-
},
|
|
7508
|
-
|
|
7509
|
-
|
|
7510
|
-
|
|
7548
|
+
var un = function() {
|
|
7549
|
+
var e = this, t = e._self._c;
|
|
7550
|
+
return t("a-row", [t("a-col", { attrs: { span: 16 } }, [t("a-slider", { attrs: { value: e.value, min: 0, max: 1, step: 0.1 }, on: { change: e.onChange } })], 1), t("a-col", { staticStyle: { "padding-left": "10px" }, attrs: { span: 8 } }, [t("a-input-number", { staticStyle: { width: "100%" }, attrs: { value: e.value, min: 0, max: 1, step: 0.1 }, on: { change: e.onChange } })], 1)], 1);
|
|
7551
|
+
}, cn = [], dn = /* @__PURE__ */ w(
|
|
7552
|
+
pn,
|
|
7553
|
+
un,
|
|
7554
|
+
cn,
|
|
7511
7555
|
!1,
|
|
7512
7556
|
null,
|
|
7513
7557
|
"02978b05",
|
|
7514
7558
|
null,
|
|
7515
7559
|
null
|
|
7516
7560
|
);
|
|
7517
|
-
const
|
|
7518
|
-
const
|
|
7561
|
+
const mn = dn.exports;
|
|
7562
|
+
const fn = {
|
|
7519
7563
|
name: "Textarea",
|
|
7520
7564
|
components: {
|
|
7521
7565
|
// ATextarea: window.isVue3 ? Textarea : Input.TextArea
|
|
@@ -7531,28 +7575,28 @@ const ln = {
|
|
|
7531
7575
|
}
|
|
7532
7576
|
},
|
|
7533
7577
|
methods: {
|
|
7534
|
-
onTextareaChange(
|
|
7535
|
-
this.$emit("change",
|
|
7578
|
+
onTextareaChange(o) {
|
|
7579
|
+
this.$emit("change", o.target.value);
|
|
7536
7580
|
}
|
|
7537
7581
|
}
|
|
7538
7582
|
};
|
|
7539
|
-
var
|
|
7540
|
-
var e = this,
|
|
7541
|
-
return
|
|
7583
|
+
var hn = function() {
|
|
7584
|
+
var e = this, t = e._self._c;
|
|
7585
|
+
return t("a-textarea", { attrs: { value: e.value, disabled: e.disabled, autoSize: {
|
|
7542
7586
|
minRows: 3
|
|
7543
7587
|
} }, on: { change: e.onTextareaChange } });
|
|
7544
|
-
},
|
|
7545
|
-
|
|
7546
|
-
|
|
7547
|
-
|
|
7588
|
+
}, bn = [], yn = /* @__PURE__ */ w(
|
|
7589
|
+
fn,
|
|
7590
|
+
hn,
|
|
7591
|
+
bn,
|
|
7548
7592
|
!1,
|
|
7549
7593
|
null,
|
|
7550
7594
|
"3c2ddd12",
|
|
7551
7595
|
null,
|
|
7552
7596
|
null
|
|
7553
7597
|
);
|
|
7554
|
-
const
|
|
7555
|
-
const
|
|
7598
|
+
const xn = yn.exports, Re = "", vn = "", gn = "";
|
|
7599
|
+
const _n = {
|
|
7556
7600
|
components: {
|
|
7557
7601
|
ColorPick: ue
|
|
7558
7602
|
},
|
|
@@ -7578,8 +7622,8 @@ const un = {
|
|
|
7578
7622
|
},
|
|
7579
7623
|
watch: {
|
|
7580
7624
|
value: {
|
|
7581
|
-
handler(
|
|
7582
|
-
this.dataList = JSON.parse(JSON.stringify(
|
|
7625
|
+
handler(o) {
|
|
7626
|
+
this.dataList = JSON.parse(JSON.stringify(o || []));
|
|
7583
7627
|
},
|
|
7584
7628
|
immediate: !0,
|
|
7585
7629
|
deep: !0
|
|
@@ -7596,56 +7640,56 @@ const un = {
|
|
|
7596
7640
|
label: ""
|
|
7597
7641
|
}), this.$emit("change", this.dataList);
|
|
7598
7642
|
},
|
|
7599
|
-
onDelete(
|
|
7600
|
-
this.dataList.splice(
|
|
7643
|
+
onDelete(o) {
|
|
7644
|
+
this.dataList.splice(o, 1), this.$emit("change", this.dataList);
|
|
7601
7645
|
},
|
|
7602
7646
|
onInputChange() {
|
|
7603
7647
|
this.$emit("change", this.dataList);
|
|
7604
7648
|
},
|
|
7605
|
-
setColor(
|
|
7606
|
-
|
|
7649
|
+
setColor(o, e) {
|
|
7650
|
+
o.color = e, this.$emit("change", this.dataList);
|
|
7607
7651
|
}
|
|
7608
7652
|
}
|
|
7609
7653
|
};
|
|
7610
|
-
var
|
|
7611
|
-
var e = this,
|
|
7612
|
-
return
|
|
7613
|
-
return
|
|
7654
|
+
var Sn = function() {
|
|
7655
|
+
var e = this, t = e._self._c;
|
|
7656
|
+
return t("div", { staticClass: "mark-area-config" }, [t("div", { staticClass: "add" }, [e.isVue3 ? t("a-tooltip", { attrs: { title: e.indexTip, overlayClassName: "question-tooltip", color: "#fff" } }, [t("question-circle-outlined", { staticClass: "icon", staticStyle: { "margin-right": "207px", color: "#989898", "font-size": "18px", cursor: "pointer" } })], 1) : e._e(), e.isVue3 ? t("appstore-add-outlined", { staticClass: "icon", on: { click: e.onAdd } }) : t("span", { staticClass: "icon", on: { click: e.onAdd } }, [e._v("+")])], 1), e._l(e.dataList, function(n, a) {
|
|
7657
|
+
return t("div", { key: a, staticClass: "config-item" }, [t("div", { staticClass: "item" }, [t("div", { staticStyle: { display: "flex", "justify-content": "space-between" } }, [t("span", [e._v("标域" + e._s(Number(a) + 1) + ":")]), n.isGenerate ? e._e() : t("span", { staticStyle: { color: "red", cursor: "pointer" }, on: { click: function(l) {
|
|
7614
7658
|
e.onDelete(Number(a));
|
|
7615
|
-
} } }, [e._v("删除")])]),
|
|
7659
|
+
} } }, [e._v("删除")])]), t("div", { staticStyle: { "margin-top": "10px" } }, [t("a-input-group", { staticStyle: { display: "flex", "margin-bottom": "12px" }, attrs: { compact: "" } }, [t("a-input", { attrs: { placeholder: "开始坐标", disabled: !!n.isGenerate }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
|
|
7616
7660
|
return [e._v(" x1 ")];
|
|
7617
7661
|
}, proxy: !0 }], null, !0), model: { value: n.startX, callback: function(l) {
|
|
7618
7662
|
e.$set(n, "startX", l);
|
|
7619
|
-
}, expression: "data.startX" } }),
|
|
7663
|
+
}, expression: "data.startX" } }), t("div", { staticStyle: { padding: "0 5px" } }), t("a-input", { attrs: { placeholder: "开始坐标", disabled: !!n.isGenerate }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
|
|
7620
7664
|
return [e._v(" y1 ")];
|
|
7621
7665
|
}, proxy: !0 }], null, !0), model: { value: n.startY, callback: function(l) {
|
|
7622
7666
|
e.$set(n, "startY", l);
|
|
7623
|
-
}, expression: "data.startY" } })], 1),
|
|
7667
|
+
}, expression: "data.startY" } })], 1), t("a-input-group", { staticStyle: { display: "flex", "margin-bottom": "12px" }, attrs: { compact: "" } }, [t("a-input", { attrs: { placeholder: "结束坐标", disabled: !!n.isGenerate }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
|
|
7624
7668
|
return [e._v(" x2 ")];
|
|
7625
7669
|
}, proxy: !0 }], null, !0), model: { value: n.endX, callback: function(l) {
|
|
7626
7670
|
e.$set(n, "endX", l);
|
|
7627
|
-
}, expression: "data.endX" } }),
|
|
7671
|
+
}, expression: "data.endX" } }), t("div", { staticStyle: { padding: "0 5px" } }), t("a-input", { attrs: { placeholder: "结束坐标", disabled: !!n.isGenerate }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
|
|
7628
7672
|
return [e._v(" y2 ")];
|
|
7629
7673
|
}, proxy: !0 }], null, !0), model: { value: n.endY, callback: function(l) {
|
|
7630
7674
|
e.$set(n, "endY", l);
|
|
7631
|
-
}, expression: "data.endY" } })], 1),
|
|
7675
|
+
}, expression: "data.endY" } })], 1), t("div", [e._v("标域颜色:")]), t("color-pick", { attrs: { value: n.color }, on: { change: function(l) {
|
|
7632
7676
|
return e.setColor(n, l);
|
|
7633
|
-
} } }),
|
|
7677
|
+
} } }), t("div", { staticStyle: { "margin-top": "12px" } }, [e._v("标域文字:")]), t("a-input", { on: { change: e.onInputChange }, model: { value: n.label, callback: function(l) {
|
|
7634
7678
|
e.$set(n, "label", l);
|
|
7635
7679
|
}, expression: "data.label" } })], 1)])]);
|
|
7636
7680
|
})], 2);
|
|
7637
|
-
},
|
|
7638
|
-
|
|
7639
|
-
|
|
7640
|
-
|
|
7681
|
+
}, wn = [], Cn = /* @__PURE__ */ w(
|
|
7682
|
+
_n,
|
|
7683
|
+
Sn,
|
|
7684
|
+
wn,
|
|
7641
7685
|
!1,
|
|
7642
7686
|
null,
|
|
7643
7687
|
"2201b980",
|
|
7644
7688
|
null,
|
|
7645
7689
|
null
|
|
7646
7690
|
);
|
|
7647
|
-
const
|
|
7648
|
-
const
|
|
7691
|
+
const An = Cn.exports;
|
|
7692
|
+
const Tn = {
|
|
7649
7693
|
components: {
|
|
7650
7694
|
ColorPick: ue
|
|
7651
7695
|
},
|
|
@@ -7682,7 +7726,7 @@ const fn = {
|
|
|
7682
7726
|
};
|
|
7683
7727
|
},
|
|
7684
7728
|
computed: {
|
|
7685
|
-
componentList: () => globalThis.renderUsedComponentList.map((
|
|
7729
|
+
componentList: () => globalThis.renderUsedComponentList.map((o) => ({ label: o.keyName, value: o.keyName })),
|
|
7686
7730
|
calcList: () => [
|
|
7687
7731
|
{
|
|
7688
7732
|
label: "平均值",
|
|
@@ -7708,13 +7752,13 @@ const fn = {
|
|
|
7708
7752
|
},
|
|
7709
7753
|
watch: {
|
|
7710
7754
|
value: {
|
|
7711
|
-
handler(
|
|
7755
|
+
handler(o) {
|
|
7712
7756
|
if (!this.selectedComponent)
|
|
7713
7757
|
return;
|
|
7714
|
-
this.dataList = JSON.parse(JSON.stringify(
|
|
7715
|
-
const { xAxisMarkLineValue: e, yAxisMarkLineValue:
|
|
7716
|
-
if ((e == null ? void 0 : e.length) === 1 && (
|
|
7717
|
-
const a = !!n.find((c) => c.isGenerate), l = ["{xMin}"],
|
|
7758
|
+
this.dataList = JSON.parse(JSON.stringify(o || []));
|
|
7759
|
+
const { xAxisMarkLineValue: e, yAxisMarkLineValue: t, axisMarkArea: n = [] } = this.selectedComponent;
|
|
7760
|
+
if ((e == null ? void 0 : e.length) === 1 && (t == null ? void 0 : t.length) === 1 && e[0].value && t[0].value) {
|
|
7761
|
+
const a = !!n.find((c) => c.isGenerate), l = ["{xMin}"], i = ["{yMin}"], m = {
|
|
7718
7762
|
"{max}": "最大值",
|
|
7719
7763
|
"{min}": "最小值",
|
|
7720
7764
|
"{average}": "平均值",
|
|
@@ -7723,23 +7767,23 @@ const fn = {
|
|
|
7723
7767
|
for (const c of e)
|
|
7724
7768
|
c.value && l.push(m[c.value] || c.value);
|
|
7725
7769
|
l.push("{xMax}");
|
|
7726
|
-
for (const c of
|
|
7727
|
-
c.value &&
|
|
7728
|
-
|
|
7729
|
-
let
|
|
7770
|
+
for (const c of t)
|
|
7771
|
+
c.value && i.push(m[c.value] || c.value);
|
|
7772
|
+
i.push("{yMax}");
|
|
7773
|
+
let u = 0;
|
|
7730
7774
|
l.forEach((c, g) => {
|
|
7731
|
-
g < l.length - 1 &&
|
|
7732
|
-
if (
|
|
7733
|
-
const
|
|
7775
|
+
g < l.length - 1 && i.forEach((y, x) => {
|
|
7776
|
+
if (x < i.length - 1) {
|
|
7777
|
+
const S = {
|
|
7734
7778
|
startX: c,
|
|
7735
|
-
startY:
|
|
7779
|
+
startY: y,
|
|
7736
7780
|
endX: l[g + 1],
|
|
7737
|
-
endY:
|
|
7781
|
+
endY: i[x + 1],
|
|
7738
7782
|
color: "",
|
|
7739
7783
|
label: "",
|
|
7740
7784
|
isGenerate: !0
|
|
7741
7785
|
};
|
|
7742
|
-
a ? (
|
|
7786
|
+
a ? (S.color = n[u].color, S.label = n[u].label, n[u++] = S) : n.unshift(S);
|
|
7743
7787
|
}
|
|
7744
7788
|
});
|
|
7745
7789
|
});
|
|
@@ -7761,88 +7805,88 @@ const fn = {
|
|
|
7761
7805
|
type: "customValue"
|
|
7762
7806
|
}), this.$emit("change", this.dataList);
|
|
7763
7807
|
},
|
|
7764
|
-
onDelete(
|
|
7765
|
-
this.dataList.splice(
|
|
7808
|
+
onDelete(o) {
|
|
7809
|
+
this.dataList.splice(o, 1), this.$emit("change", this.dataList);
|
|
7766
7810
|
},
|
|
7767
7811
|
onInputChange() {
|
|
7768
7812
|
this.$emit("change", this.dataList);
|
|
7769
7813
|
},
|
|
7770
|
-
setColor(
|
|
7771
|
-
|
|
7814
|
+
setColor(o, e) {
|
|
7815
|
+
o.color = e, this.$emit("change", this.dataList);
|
|
7772
7816
|
},
|
|
7773
|
-
setLineColor(
|
|
7774
|
-
|
|
7817
|
+
setLineColor(o, e) {
|
|
7818
|
+
o.lineColor = e, this.$emit("change", this.dataList);
|
|
7775
7819
|
},
|
|
7776
|
-
setLabelColor(
|
|
7777
|
-
|
|
7820
|
+
setLabelColor(o, e) {
|
|
7821
|
+
o.labelColor = e, this.$emit("change", this.dataList);
|
|
7778
7822
|
},
|
|
7779
|
-
setLineType(
|
|
7780
|
-
|
|
7823
|
+
setLineType(o, e) {
|
|
7824
|
+
o.lineType = e, this.$emit("change", this.dataList);
|
|
7781
7825
|
},
|
|
7782
|
-
onClickMenuItem(
|
|
7783
|
-
let
|
|
7784
|
-
|
|
7826
|
+
onClickMenuItem(o, e) {
|
|
7827
|
+
let t = o.key;
|
|
7828
|
+
t === "customValue" && (t = ""), e.type = o.key, e.value = t, this.$emit("change", this.dataList);
|
|
7785
7829
|
},
|
|
7786
|
-
onSelectChange(
|
|
7787
|
-
e.type =
|
|
7830
|
+
onSelectChange(o, e) {
|
|
7831
|
+
e.type = o, o === "customValue" && (e.value = ""), this.$emit("change", this.dataList);
|
|
7788
7832
|
}
|
|
7789
7833
|
}
|
|
7790
7834
|
};
|
|
7791
|
-
var
|
|
7792
|
-
var e = this,
|
|
7793
|
-
return
|
|
7794
|
-
return
|
|
7835
|
+
var Ln = function() {
|
|
7836
|
+
var e = this, t = e._self._c;
|
|
7837
|
+
return t("div", { staticClass: "mark-link-config" }, [t("div", { staticClass: "add" }, [e.isVue3 ? t("a-tooltip", { attrs: { title: e.indexTip, overlayClassName: "question-tooltip", color: "#fff" } }, [t("question-circle-outlined", { staticClass: "icon", staticStyle: { "margin-right": "207px", color: "#989898", "font-size": "18px", cursor: "pointer" } })], 1) : e._e(), e.isVue3 ? t("appstore-add-outlined", { staticClass: "icon", on: { click: e.onAdd } }) : t("span", { staticClass: "icon", on: { click: e.onAdd } }, [e._v("+")])], 1), e._l(e.dataList, function(n, a) {
|
|
7838
|
+
return t("div", { key: a, staticClass: "config-item" }, [t("div", { staticClass: "item" }, [t("div", { staticStyle: { display: "flex", "justify-content": "space-between" } }, [t("span", [e._v("标线" + e._s(Number(a) + 1) + ":")]), t("span", { staticStyle: { color: "red", cursor: "pointer" }, on: { click: function(l) {
|
|
7795
7839
|
e.onDelete(Number(a));
|
|
7796
|
-
} } }, [e._v("删除")])]),
|
|
7797
|
-
return [
|
|
7798
|
-
return [
|
|
7840
|
+
} } }, [e._v("删除")])]), t("div", { staticStyle: { "margin-top": "10px" } }, [t("div", { staticClass: "item-row" }, [t("div", { staticClass: "title" }, [e._v("值:")]), !n.type || n.type === "customValue" ? t("a-input", { staticStyle: { width: "100%" }, attrs: { placeholder: "请输入" }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonAfter", fn: function() {
|
|
7841
|
+
return [t("a-dropdown", { attrs: { trigger: ["click"] }, scopedSlots: e._u([{ key: "overlay", fn: function() {
|
|
7842
|
+
return [t("a-menu", { on: { click: function(l) {
|
|
7799
7843
|
return e.onClickMenuItem(l, n);
|
|
7800
7844
|
} } }, e._l(e.calcList, function(l) {
|
|
7801
|
-
return
|
|
7845
|
+
return t("a-menu-item", { key: l.value }, [e._v(e._s(l.label))]);
|
|
7802
7846
|
}), 1)];
|
|
7803
|
-
}, proxy: !0 }], null, !0) }, [e.isVue3 ?
|
|
7847
|
+
}, proxy: !0 }], null, !0) }, [e.isVue3 ? t("down-outlined", { staticStyle: { color: "#aaa" } }) : t("span", { staticStyle: { "font-size": "14px" } }, [e._v("⌵")])], 1)];
|
|
7804
7848
|
}, proxy: !0 }], null, !0), model: { value: n.value, callback: function(l) {
|
|
7805
7849
|
e.$set(n, "value", l);
|
|
7806
|
-
}, expression: "data.value" } }) :
|
|
7850
|
+
}, expression: "data.value" } }) : t("a-select", { staticStyle: { width: "100%" }, attrs: { options: e.calcList }, on: { change: function(l) {
|
|
7807
7851
|
return e.onSelectChange(l, n);
|
|
7808
7852
|
} }, model: { value: n.value, callback: function(l) {
|
|
7809
7853
|
e.$set(n, "value", l);
|
|
7810
|
-
}, expression: "data.value" } })], 1),
|
|
7854
|
+
}, expression: "data.value" } })], 1), t("div", { staticClass: "item-row" }, [t("div", { staticClass: "title" }, [e._v("文本:")]), t("a-input", { staticStyle: { width: "100%" }, attrs: { placeholder: "请输入" }, on: { change: e.onInputChange }, model: { value: n.label, callback: function(l) {
|
|
7811
7855
|
e.$set(n, "label", l);
|
|
7812
|
-
}, expression: "data.label" } })], 1),
|
|
7856
|
+
}, expression: "data.label" } })], 1), t("div", { staticClass: "item-row" }, [t("div", { staticClass: "title" }, [e._v("文本水平偏移量:")]), t("a-input-number", { staticStyle: { width: "100%" }, attrs: { placeholder: "请输入", controls: !1 }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonAfter", fn: function() {
|
|
7813
7857
|
return [e._v(" px ")];
|
|
7814
7858
|
}, proxy: !0 }], null, !0), model: { value: n.offsetHorizontal, callback: function(l) {
|
|
7815
7859
|
e.$set(n, "offsetHorizontal", l);
|
|
7816
|
-
}, expression: "data.offsetHorizontal" } })], 1),
|
|
7860
|
+
}, expression: "data.offsetHorizontal" } })], 1), t("div", { staticClass: "item-row" }, [t("div", { staticClass: "title" }, [e._v("文本垂直偏移量:")]), t("a-input-number", { staticStyle: { width: "100%" }, attrs: { placeholder: "请输入", controls: !1 }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonAfter", fn: function() {
|
|
7817
7861
|
return [e._v(" px ")];
|
|
7818
7862
|
}, proxy: !0 }], null, !0), model: { value: n.offsetVertical, callback: function(l) {
|
|
7819
7863
|
e.$set(n, "offsetVertical", l);
|
|
7820
|
-
}, expression: "data.offsetVertical" } })], 1),
|
|
7864
|
+
}, expression: "data.offsetVertical" } })], 1), t("div", { staticClass: "item-row" }, [t("div", { staticClass: "title" }, [e._v("标线类型:")]), t("a-select", { staticStyle: { width: "100%" }, attrs: { options: e.lineTypeOptions }, on: { change: function(l) {
|
|
7821
7865
|
return e.setLineType(n, l);
|
|
7822
7866
|
} }, model: { value: n.lineType, callback: function(l) {
|
|
7823
7867
|
e.$set(n, "lineType", l);
|
|
7824
|
-
}, expression: "data.lineType" } })], 1),
|
|
7868
|
+
}, expression: "data.lineType" } })], 1), t("div", { staticClass: "item-row" }, [t("div", { staticClass: "title" }, [e._v("标线颜色:")]), t("color-pick", { attrs: { value: n.lineColor || "" }, on: { change: function(l) {
|
|
7825
7869
|
return e.setLineColor(n, l);
|
|
7826
|
-
} } })], 1),
|
|
7870
|
+
} } })], 1), t("div", { staticClass: "item-row" }, [t("div", { staticClass: "title" }, [e._v("文本颜色:")]), t("color-pick", { attrs: { value: n.labelColor || "" }, on: { change: function(l) {
|
|
7827
7871
|
return e.setLabelColor(n, l);
|
|
7828
7872
|
} } })], 1)])])]);
|
|
7829
7873
|
})], 2);
|
|
7830
|
-
},
|
|
7831
|
-
|
|
7832
|
-
|
|
7833
|
-
|
|
7874
|
+
}, kn = [], $n = /* @__PURE__ */ w(
|
|
7875
|
+
Tn,
|
|
7876
|
+
Ln,
|
|
7877
|
+
kn,
|
|
7834
7878
|
!1,
|
|
7835
7879
|
null,
|
|
7836
7880
|
"fe59467a",
|
|
7837
7881
|
null,
|
|
7838
7882
|
null
|
|
7839
7883
|
);
|
|
7840
|
-
const
|
|
7841
|
-
const
|
|
7884
|
+
const In = $n.exports;
|
|
7885
|
+
const Fn = {
|
|
7842
7886
|
name: "FormGroup",
|
|
7843
7887
|
components: {
|
|
7844
|
-
PickColors:
|
|
7845
|
-
InputNumber:
|
|
7888
|
+
PickColors: ze,
|
|
7889
|
+
InputNumber: ft
|
|
7846
7890
|
// Draggable: () => import('vuedraggable')
|
|
7847
7891
|
},
|
|
7848
7892
|
inject: ["selectedComponent", "componentList", "renderUsedComponentList", "theme"],
|
|
@@ -7872,136 +7916,136 @@ const gn = {
|
|
|
7872
7916
|
},
|
|
7873
7917
|
computed: {
|
|
7874
7918
|
formatTypeValue() {
|
|
7875
|
-
return (
|
|
7919
|
+
return (o) => o || "value";
|
|
7876
7920
|
},
|
|
7877
7921
|
useComponentType() {
|
|
7878
|
-
return (
|
|
7922
|
+
return (o) => ({
|
|
7879
7923
|
input: "AInput",
|
|
7880
7924
|
select: "ASelect",
|
|
7881
7925
|
color: "PickColors",
|
|
7882
7926
|
"input-number": "InputNumber",
|
|
7883
7927
|
switch: "ASwitch"
|
|
7884
|
-
})[
|
|
7928
|
+
})[o];
|
|
7885
7929
|
},
|
|
7886
7930
|
myValue: {
|
|
7887
7931
|
get() {
|
|
7888
7932
|
return this.value;
|
|
7889
7933
|
},
|
|
7890
|
-
set(
|
|
7891
|
-
this.$emit("change",
|
|
7934
|
+
set(o) {
|
|
7935
|
+
this.$emit("change", o);
|
|
7892
7936
|
}
|
|
7893
7937
|
},
|
|
7894
7938
|
newFormat() {
|
|
7895
|
-
const
|
|
7896
|
-
return
|
|
7897
|
-
a.label === "索引" && (n[l] =
|
|
7939
|
+
const o = this.selectedComponent.requestType || 0, e = this.selectedComponent.dataType || "", t = this.selectedComponent.DataSetFieldOptions || [], n = [...this.format];
|
|
7940
|
+
return o === 1 && e === "request" ? n.forEach((a, l) => {
|
|
7941
|
+
a.label === "索引" && (n[l] = G(D({}, n[l]), {
|
|
7898
7942
|
type: "select",
|
|
7899
7943
|
props: {
|
|
7900
|
-
options:
|
|
7901
|
-
label:
|
|
7902
|
-
value:
|
|
7944
|
+
options: t.map((i) => ({
|
|
7945
|
+
label: i,
|
|
7946
|
+
value: i
|
|
7903
7947
|
}))
|
|
7904
7948
|
}
|
|
7905
7949
|
}));
|
|
7906
7950
|
}) : n.forEach((a, l) => {
|
|
7907
|
-
a.label === "索引" && (n[l] =
|
|
7951
|
+
a.label === "索引" && (n[l] = G(D({}, n[l]), {
|
|
7908
7952
|
type: "input"
|
|
7909
7953
|
}));
|
|
7910
7954
|
}), n;
|
|
7911
7955
|
}
|
|
7912
7956
|
},
|
|
7913
7957
|
methods: {
|
|
7914
|
-
onValueChange(
|
|
7958
|
+
onValueChange(o, e, t) {
|
|
7915
7959
|
var a;
|
|
7916
7960
|
const n = (a = this.value) == null ? void 0 : a.slice();
|
|
7917
7961
|
if (Array.isArray(n)) {
|
|
7918
|
-
const l =
|
|
7919
|
-
|
|
7962
|
+
const l = o == null ? void 0 : o.target, i = (l == null ? void 0 : l.value) != null ? l == null ? void 0 : l.value : o;
|
|
7963
|
+
t ? n[e][t] = i : n[e] = i, this.myValue = n;
|
|
7920
7964
|
}
|
|
7921
7965
|
},
|
|
7922
7966
|
onAdd() {
|
|
7923
|
-
var
|
|
7924
|
-
const
|
|
7925
|
-
if (!Array.isArray(
|
|
7967
|
+
var t;
|
|
7968
|
+
const o = (t = this.value) == null ? void 0 : t.slice();
|
|
7969
|
+
if (!Array.isArray(o))
|
|
7926
7970
|
return;
|
|
7927
|
-
const e =
|
|
7971
|
+
const e = o.length;
|
|
7928
7972
|
if (this.max === -1 || this.max > e) {
|
|
7929
|
-
const n =
|
|
7973
|
+
const n = o[0];
|
|
7930
7974
|
if (Object.prototype.toString.call(n) === "[object Object]") {
|
|
7931
7975
|
const a = Object.keys(n), l = {};
|
|
7932
|
-
a.forEach((
|
|
7933
|
-
l[
|
|
7934
|
-
}),
|
|
7976
|
+
a.forEach((i) => {
|
|
7977
|
+
l[i] = "";
|
|
7978
|
+
}), o.push(l);
|
|
7935
7979
|
} else
|
|
7936
|
-
typeof n == "string" &&
|
|
7937
|
-
this.myValue =
|
|
7980
|
+
typeof n == "string" && o.push(n);
|
|
7981
|
+
this.myValue = o;
|
|
7938
7982
|
} else
|
|
7939
7983
|
this.$message.warn("已达到最大上限");
|
|
7940
7984
|
},
|
|
7941
|
-
onDelete(
|
|
7942
|
-
var
|
|
7943
|
-
const e = (
|
|
7985
|
+
onDelete(o) {
|
|
7986
|
+
var t;
|
|
7987
|
+
const e = (t = this.value) == null ? void 0 : t.slice();
|
|
7944
7988
|
if (Array.isArray(e)) {
|
|
7945
7989
|
if (e.length === 1) {
|
|
7946
7990
|
this.$message.warn("已经是最后一条数据,无法删除");
|
|
7947
7991
|
return;
|
|
7948
7992
|
}
|
|
7949
|
-
e.splice(
|
|
7993
|
+
e.splice(o, 1), this.myValue = e;
|
|
7950
7994
|
}
|
|
7951
7995
|
},
|
|
7952
|
-
isShow(
|
|
7953
|
-
let
|
|
7954
|
-
if (
|
|
7955
|
-
const { match: n, value: a } =
|
|
7956
|
-
typeof a == "string" && e[n] === a || Array.isArray(a) && a.includes(e[n]) ?
|
|
7996
|
+
isShow(o, e) {
|
|
7997
|
+
let t = !0;
|
|
7998
|
+
if (o.show) {
|
|
7999
|
+
const { match: n, value: a } = o.show;
|
|
8000
|
+
typeof a == "string" && e[n] === a || Array.isArray(a) && a.includes(e[n]) ? t = !0 : t = !1;
|
|
7957
8001
|
}
|
|
7958
|
-
return
|
|
8002
|
+
return t;
|
|
7959
8003
|
}
|
|
7960
8004
|
}
|
|
7961
8005
|
};
|
|
7962
|
-
var
|
|
7963
|
-
var e = this,
|
|
7964
|
-
return
|
|
7965
|
-
return [
|
|
8006
|
+
var Vn = function() {
|
|
8007
|
+
var e = this, t = e._self._c;
|
|
8008
|
+
return t("div", { staticClass: "form-group" }, [e.isVue3 ? t("appstore-add-outlined", { staticClass: "icon add", on: { click: e.onAdd } }) : t("span", { staticClass: "icon add", on: { click: e.onAdd } }, [e._v("+")]), e.isVue3 ? t("draggable", { staticClass: "form", attrs: { "item-key": "id" }, scopedSlots: e._u([{ key: "item", fn: function({ element: n, index: a }) {
|
|
8009
|
+
return [t("div", { staticClass: "form-row" }, e._l(e.newFormat, function(l, i) {
|
|
7966
8010
|
var m;
|
|
7967
|
-
return
|
|
8011
|
+
return t("div", { directives: [{ name: "show", rawName: "v-show", value: e.isShow(l, n), expression: "isShow(f, e)" }], key: i, staticClass: "form-item" }, [Array.isArray(l.label) ? [t("span", { staticClass: "label" }, [e._v(" " + e._s(l.useLabelIndex ? l.label[a] + (a + 1) : l.label[a]) + " ")])] : t("span", { staticClass: "label" }, [e._v(" " + e._s(l.useLabelIndex ? l.label + (a + 1) : l.label) + " ")]), t(e.useComponentType(l.type), e._b(e._b({ tag: "component", staticClass: "value", style: {
|
|
7968
8012
|
width: !["color", "switch"].includes(l.type) && e.format.length > 1 ? "110px" : ""
|
|
7969
|
-
}, attrs: { theme: e.theme, "use-blur-event": !1 }, on: { change: function(
|
|
7970
|
-
return e.onValueChange(
|
|
8013
|
+
}, attrs: { theme: e.theme, "use-blur-event": !1 }, on: { change: function(u) {
|
|
8014
|
+
return e.onValueChange(u, a, l.value);
|
|
7971
8015
|
} } }, "component", e._d({}, [e.formatTypeValue(l.typeValue), typeof n == "string" ? n : (m = n[l.value]) != null ? m : l.defaultValue])), "component", l.props, !1))], 2);
|
|
7972
8016
|
}), 0)];
|
|
7973
8017
|
} }], null, !1, 220332434), model: { value: e.myValue, callback: function(n) {
|
|
7974
8018
|
e.myValue = n;
|
|
7975
|
-
}, expression: "myValue" } }) :
|
|
8019
|
+
}, expression: "myValue" } }) : t("draggable", { staticClass: "form", attrs: { list: e.myValue, "item-key": "id" }, model: { value: e.myValue, callback: function(n) {
|
|
7976
8020
|
e.myValue = n;
|
|
7977
8021
|
}, expression: "myValue" } }, [e._l(e.myValue, function(n, a) {
|
|
7978
|
-
return [
|
|
8022
|
+
return [t("div", { staticClass: "form-row" }, e._l(e.newFormat, function(l, i) {
|
|
7979
8023
|
var m;
|
|
7980
|
-
return
|
|
8024
|
+
return t("div", { directives: [{ name: "show", rawName: "v-show", value: e.isShow(l, n), expression: "isShow(f, e)" }], key: i, staticClass: "form-item" }, [Array.isArray(l.label) ? [t("span", { staticClass: "label" }, [e._v(" " + e._s(l.useLabelIndex ? l.label[a] + (a + 1) : l.label[a]) + " ")])] : t("span", { staticClass: "label" }, [e._v(" " + e._s(l.useLabelIndex ? l.label + (a + 1) : l.label) + " ")]), t(e.useComponentType(l.type), e._b(e._b({ tag: "component", staticClass: "value", style: {
|
|
7981
8025
|
width: !["color", "switch"].includes(l.type) && e.format.length > 1 ? "110px" : ""
|
|
7982
|
-
}, attrs: { "use-blur-event": !1 }, on: { change: function(
|
|
7983
|
-
return e.onValueChange(
|
|
8026
|
+
}, attrs: { "use-blur-event": !1 }, on: { change: function(u) {
|
|
8027
|
+
return e.onValueChange(u, a, l.value);
|
|
7984
8028
|
} } }, "component", e._d({}, [e.formatTypeValue(l.typeValue), typeof n == "string" ? n : (m = n[l.value]) != null ? m : l.defaultValue])), "component", l.props, !1))], 2);
|
|
7985
8029
|
}), 0)];
|
|
7986
|
-
})], 2),
|
|
7987
|
-
return
|
|
8030
|
+
})], 2), t("div", { staticClass: "icon-group" }, e._l(e.myValue, function(n, a) {
|
|
8031
|
+
return t("div", { key: a, staticClass: "icon-item" }, [e.isVue3 ? t("minus-circle-outlined", { staticClass: "icon delete", on: { click: function(l) {
|
|
7988
8032
|
return e.onDelete(a);
|
|
7989
|
-
} } }) :
|
|
8033
|
+
} } }) : t("span", { staticClass: "icon delete", staticStyle: { "padding-bottom": "12px" }, on: { click: function(l) {
|
|
7990
8034
|
return e.onDelete(a);
|
|
7991
8035
|
} } }, [e._v("-")])], 1);
|
|
7992
8036
|
}), 0)], 1);
|
|
7993
|
-
},
|
|
7994
|
-
|
|
7995
|
-
|
|
7996
|
-
|
|
8037
|
+
}, Dn = [], On = /* @__PURE__ */ w(
|
|
8038
|
+
Fn,
|
|
8039
|
+
Vn,
|
|
8040
|
+
Dn,
|
|
7997
8041
|
!1,
|
|
7998
8042
|
null,
|
|
7999
8043
|
"a826f5d7",
|
|
8000
8044
|
null,
|
|
8001
8045
|
null
|
|
8002
8046
|
);
|
|
8003
|
-
const
|
|
8004
|
-
const
|
|
8047
|
+
const Mn = On.exports;
|
|
8048
|
+
const Pn = {
|
|
8005
8049
|
name: "GraphicFieldSelect",
|
|
8006
8050
|
props: {
|
|
8007
8051
|
value: {
|
|
@@ -8016,37 +8060,37 @@ const An = {
|
|
|
8016
8060
|
get() {
|
|
8017
8061
|
return this.value;
|
|
8018
8062
|
},
|
|
8019
|
-
set(
|
|
8020
|
-
this.$emit("change",
|
|
8063
|
+
set(o) {
|
|
8064
|
+
this.$emit("change", o);
|
|
8021
8065
|
}
|
|
8022
8066
|
},
|
|
8023
8067
|
options() {
|
|
8024
8068
|
var e;
|
|
8025
|
-
const { indicators:
|
|
8026
|
-
return
|
|
8027
|
-
label:
|
|
8028
|
-
value:
|
|
8069
|
+
const { indicators: o = [] } = ((e = this.selectedComponent) == null ? void 0 : e.graphicConfig) || {};
|
|
8070
|
+
return o.map((t) => ({
|
|
8071
|
+
label: t.label,
|
|
8072
|
+
value: t.label
|
|
8029
8073
|
}));
|
|
8030
8074
|
}
|
|
8031
8075
|
}
|
|
8032
8076
|
};
|
|
8033
|
-
var
|
|
8034
|
-
var e = this,
|
|
8035
|
-
return
|
|
8077
|
+
var Nn = function() {
|
|
8078
|
+
var e = this, t = e._self._c;
|
|
8079
|
+
return t("a-select", { attrs: { options: e.options }, model: { value: e.myValue, callback: function(n) {
|
|
8036
8080
|
e.myValue = n;
|
|
8037
8081
|
}, expression: "myValue" } });
|
|
8038
|
-
},
|
|
8039
|
-
|
|
8040
|
-
|
|
8041
|
-
|
|
8082
|
+
}, zn = [], Rn = /* @__PURE__ */ w(
|
|
8083
|
+
Pn,
|
|
8084
|
+
Nn,
|
|
8085
|
+
zn,
|
|
8042
8086
|
!1,
|
|
8043
8087
|
null,
|
|
8044
8088
|
"cbd51c5b",
|
|
8045
8089
|
null,
|
|
8046
8090
|
null
|
|
8047
8091
|
);
|
|
8048
|
-
const
|
|
8049
|
-
const
|
|
8092
|
+
const qn = Rn.exports;
|
|
8093
|
+
const Bn = [
|
|
8050
8094
|
{
|
|
8051
8095
|
label: "大于",
|
|
8052
8096
|
value: ">"
|
|
@@ -8067,10 +8111,10 @@ const In = [
|
|
|
8067
8111
|
label: "等于",
|
|
8068
8112
|
value: "=="
|
|
8069
8113
|
}
|
|
8070
|
-
],
|
|
8114
|
+
], En = {
|
|
8071
8115
|
name: "VisualColorConfig",
|
|
8072
8116
|
components: {
|
|
8073
|
-
AppstoreAddOutlined:
|
|
8117
|
+
AppstoreAddOutlined: Re,
|
|
8074
8118
|
ColorPick: ue
|
|
8075
8119
|
},
|
|
8076
8120
|
props: {
|
|
@@ -8087,13 +8131,13 @@ const In = [
|
|
|
8087
8131
|
data() {
|
|
8088
8132
|
return {
|
|
8089
8133
|
dataList: [],
|
|
8090
|
-
ruleOptions:
|
|
8134
|
+
ruleOptions: Bn
|
|
8091
8135
|
};
|
|
8092
8136
|
},
|
|
8093
8137
|
watch: {
|
|
8094
8138
|
value: {
|
|
8095
|
-
handler(
|
|
8096
|
-
this.dataList =
|
|
8139
|
+
handler(o) {
|
|
8140
|
+
this.dataList = M(o || []);
|
|
8097
8141
|
},
|
|
8098
8142
|
immediate: !0,
|
|
8099
8143
|
deep: !0
|
|
@@ -8109,55 +8153,55 @@ const In = [
|
|
|
8109
8153
|
color: ""
|
|
8110
8154
|
}), this.$emit("change", this.dataList);
|
|
8111
8155
|
},
|
|
8112
|
-
onDelete(
|
|
8113
|
-
this.dataList.splice(
|
|
8156
|
+
onDelete(o) {
|
|
8157
|
+
this.dataList.splice(o, 1), this.$emit("change", this.dataList);
|
|
8114
8158
|
},
|
|
8115
8159
|
onInputChange() {
|
|
8116
8160
|
this.$emit("change", this.dataList);
|
|
8117
8161
|
},
|
|
8118
|
-
setColor(
|
|
8119
|
-
typeof e == "object" && (e != null && e.target) || (
|
|
8162
|
+
setColor(o, e) {
|
|
8163
|
+
typeof e == "object" && (e != null && e.target) || (o.color = e, this.$emit("change", this.dataList));
|
|
8120
8164
|
}
|
|
8121
8165
|
},
|
|
8122
8166
|
mounted() {
|
|
8123
|
-
this.dataList =
|
|
8167
|
+
this.dataList = M(this.value || []);
|
|
8124
8168
|
}
|
|
8125
8169
|
};
|
|
8126
|
-
var
|
|
8127
|
-
var e = this,
|
|
8128
|
-
return
|
|
8129
|
-
return
|
|
8170
|
+
var Wn = function() {
|
|
8171
|
+
var e = this, t = e._self._c;
|
|
8172
|
+
return t("div", { staticClass: "visual-color-config" }, [t("div", { staticClass: "add" }, [t("appstore-add-outlined", { staticClass: "icon", on: { click: e.onAdd } })], 1), e._l(e.dataList, function(n, a) {
|
|
8173
|
+
return t("div", { key: a, staticClass: "config-item" }, [t("div", { staticClass: "item" }, [t("div", { staticStyle: { display: "flex", "justify-content": "space-between" } }, [t("span", [e._v("条件" + e._s(Number(a) + 1) + ":")]), t("span", { staticStyle: { color: "red", cursor: "pointer" }, on: { click: function(l) {
|
|
8130
8174
|
e.onDelete(Number(a));
|
|
8131
|
-
} } }, [e._v("删除")])]),
|
|
8132
|
-
return [
|
|
8175
|
+
} } }, [e._v("删除")])]), t("div", { staticStyle: { margin: "10px 0" } }, [t("a-input", { attrs: { placeholder: "请输入" }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
|
|
8176
|
+
return [t("a-select", { staticStyle: { width: "100px" }, attrs: { options: e.ruleOptions }, on: { change: e.onInputChange }, model: { value: n.rule1, callback: function(l) {
|
|
8133
8177
|
e.$set(n, "rule1", l);
|
|
8134
8178
|
}, expression: "data.rule1" } })];
|
|
8135
8179
|
}, proxy: !0 }], null, !0), model: { value: n.value1, callback: function(l) {
|
|
8136
8180
|
e.$set(n, "value1", l);
|
|
8137
|
-
}, expression: "data.value1" } })], 1),
|
|
8138
|
-
return [
|
|
8181
|
+
}, expression: "data.value1" } })], 1), t("div", { staticStyle: { margin: "15px 0 10px" } }, [t("a-input", { attrs: { placeholder: "请输入" }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
|
|
8182
|
+
return [t("a-select", { staticStyle: { width: "100px" }, attrs: { options: e.ruleOptions }, on: { change: e.onInputChange }, model: { value: n.rule2, callback: function(l) {
|
|
8139
8183
|
e.$set(n, "rule2", l);
|
|
8140
8184
|
}, expression: "data.rule2" } })];
|
|
8141
8185
|
}, proxy: !0 }], null, !0), model: { value: n.value2, callback: function(l) {
|
|
8142
8186
|
e.$set(n, "value2", l);
|
|
8143
|
-
}, expression: "data.value2" } })], 1),
|
|
8187
|
+
}, expression: "data.value2" } })], 1), t("div", { staticStyle: { margin: "10px 0" } }, [e._v("名称:")]), t("a-input", { attrs: { placeholder: "请输入名称" }, on: { change: e.onInputChange }, model: { value: n.name, callback: function(l) {
|
|
8144
8188
|
e.$set(n, "name", l);
|
|
8145
|
-
}, expression: "data.name" } }),
|
|
8189
|
+
}, expression: "data.name" } }), t("div", { staticStyle: { margin: "10px 0" } }, [e._v("颜色:")]), t("color-pick", { attrs: { value: n.color }, on: { change: function(l) {
|
|
8146
8190
|
return e.setColor(n, l);
|
|
8147
8191
|
} } })], 1)]);
|
|
8148
8192
|
})], 2);
|
|
8149
|
-
},
|
|
8150
|
-
|
|
8151
|
-
|
|
8152
|
-
|
|
8193
|
+
}, jn = [], Gn = /* @__PURE__ */ w(
|
|
8194
|
+
En,
|
|
8195
|
+
Wn,
|
|
8196
|
+
jn,
|
|
8153
8197
|
!1,
|
|
8154
8198
|
null,
|
|
8155
8199
|
"d1d2fffe",
|
|
8156
8200
|
null,
|
|
8157
8201
|
null
|
|
8158
8202
|
);
|
|
8159
|
-
const
|
|
8160
|
-
const
|
|
8203
|
+
const Hn = Gn.exports;
|
|
8204
|
+
const Un = [
|
|
8161
8205
|
{
|
|
8162
8206
|
label: "大于",
|
|
8163
8207
|
value: ">"
|
|
@@ -8178,10 +8222,10 @@ const zn = [
|
|
|
8178
8222
|
label: "等于",
|
|
8179
8223
|
value: "=="
|
|
8180
8224
|
}
|
|
8181
|
-
],
|
|
8225
|
+
], Kn = {
|
|
8182
8226
|
name: "VisualSizeConfig",
|
|
8183
8227
|
components: {
|
|
8184
|
-
AppstoreAddOutlined:
|
|
8228
|
+
AppstoreAddOutlined: Re,
|
|
8185
8229
|
ColorPick: ue
|
|
8186
8230
|
},
|
|
8187
8231
|
props: {
|
|
@@ -8198,13 +8242,13 @@ const zn = [
|
|
|
8198
8242
|
data() {
|
|
8199
8243
|
return {
|
|
8200
8244
|
dataList: [],
|
|
8201
|
-
ruleOptions:
|
|
8245
|
+
ruleOptions: Un
|
|
8202
8246
|
};
|
|
8203
8247
|
},
|
|
8204
8248
|
watch: {
|
|
8205
8249
|
value: {
|
|
8206
|
-
handler(
|
|
8207
|
-
this.dataList =
|
|
8250
|
+
handler(o) {
|
|
8251
|
+
this.dataList = M(o || []);
|
|
8208
8252
|
},
|
|
8209
8253
|
immediate: !0,
|
|
8210
8254
|
deep: !0
|
|
@@ -8220,67 +8264,341 @@ const zn = [
|
|
|
8220
8264
|
color: ""
|
|
8221
8265
|
}), this.$emit("change", this.dataList);
|
|
8222
8266
|
},
|
|
8223
|
-
onDelete(
|
|
8224
|
-
this.dataList.splice(
|
|
8267
|
+
onDelete(o) {
|
|
8268
|
+
this.dataList.splice(o, 1), this.$emit("change", this.dataList);
|
|
8225
8269
|
},
|
|
8226
8270
|
onInputChange() {
|
|
8227
8271
|
this.$emit("change", this.dataList);
|
|
8228
8272
|
}
|
|
8229
8273
|
},
|
|
8230
8274
|
mounted() {
|
|
8231
|
-
this.dataList =
|
|
8275
|
+
this.dataList = M(this.value || []);
|
|
8232
8276
|
}
|
|
8233
8277
|
};
|
|
8234
|
-
var
|
|
8235
|
-
var e = this,
|
|
8236
|
-
return
|
|
8237
|
-
return
|
|
8278
|
+
var Yn = function() {
|
|
8279
|
+
var e = this, t = e._self._c;
|
|
8280
|
+
return t("div", { staticClass: "visual-size-config" }, [t("div", { staticClass: "add" }, [t("appstore-add-outlined", { staticClass: "icon", on: { click: e.onAdd } })], 1), e._l(e.dataList, function(n, a) {
|
|
8281
|
+
return t("div", { key: a, staticClass: "config-item" }, [t("div", { staticClass: "item" }, [t("div", { staticStyle: { display: "flex", "justify-content": "space-between" } }, [t("span", [e._v("条件" + e._s(Number(a) + 1) + ":")]), t("span", { staticStyle: { color: "red", cursor: "pointer" }, on: { click: function(l) {
|
|
8238
8282
|
e.onDelete(Number(a));
|
|
8239
|
-
} } }, [e._v("删除")])]),
|
|
8240
|
-
return [
|
|
8283
|
+
} } }, [e._v("删除")])]), t("div", { staticStyle: { margin: "10px 0" } }, [t("a-input", { attrs: { placeholder: "请输入" }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
|
|
8284
|
+
return [t("a-select", { staticStyle: { width: "100px" }, attrs: { options: e.ruleOptions }, on: { change: e.onInputChange }, model: { value: n.rule1, callback: function(l) {
|
|
8241
8285
|
e.$set(n, "rule1", l);
|
|
8242
8286
|
}, expression: "data.rule1" } })];
|
|
8243
8287
|
}, proxy: !0 }], null, !0), model: { value: n.value1, callback: function(l) {
|
|
8244
8288
|
e.$set(n, "value1", l);
|
|
8245
|
-
}, expression: "data.value1" } })], 1),
|
|
8246
|
-
return [
|
|
8289
|
+
}, expression: "data.value1" } })], 1), t("div", { staticStyle: { margin: "15px 0 10px" } }, [t("a-input", { attrs: { placeholder: "请输入" }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
|
|
8290
|
+
return [t("a-select", { staticStyle: { width: "100px" }, attrs: { options: e.ruleOptions }, on: { change: e.onInputChange }, model: { value: n.rule2, callback: function(l) {
|
|
8247
8291
|
e.$set(n, "rule2", l);
|
|
8248
8292
|
}, expression: "data.rule2" } })];
|
|
8249
8293
|
}, proxy: !0 }], null, !0), model: { value: n.value2, callback: function(l) {
|
|
8250
8294
|
e.$set(n, "value2", l);
|
|
8251
|
-
}, expression: "data.value2" } })], 1),
|
|
8295
|
+
}, expression: "data.value2" } })], 1), t("div", { staticStyle: { margin: "10px 0" } }, [e._v("尺寸:")]), t("a-input-number", { staticStyle: { width: "100%" }, attrs: { placeholder: "请输入" }, on: { change: e.onInputChange }, model: { value: n.size, callback: function(l) {
|
|
8252
8296
|
e.$set(n, "size", l);
|
|
8253
8297
|
}, expression: "data.size" } })], 1)]);
|
|
8254
8298
|
})], 2);
|
|
8255
|
-
},
|
|
8256
|
-
|
|
8257
|
-
|
|
8258
|
-
|
|
8299
|
+
}, Xn = [], Zn = /* @__PURE__ */ w(
|
|
8300
|
+
Kn,
|
|
8301
|
+
Yn,
|
|
8302
|
+
Xn,
|
|
8259
8303
|
!1,
|
|
8260
8304
|
null,
|
|
8261
8305
|
"ed0b93ce",
|
|
8262
8306
|
null,
|
|
8263
8307
|
null
|
|
8264
8308
|
);
|
|
8265
|
-
const
|
|
8266
|
-
const
|
|
8309
|
+
const Jn = Zn.exports;
|
|
8310
|
+
const Qn = {
|
|
8311
|
+
name: "PagePick",
|
|
8312
|
+
props: {
|
|
8313
|
+
value: {
|
|
8314
|
+
type: [String, Object],
|
|
8315
|
+
default: ""
|
|
8316
|
+
}
|
|
8317
|
+
},
|
|
8318
|
+
emits: ["change"],
|
|
8319
|
+
data() {
|
|
8320
|
+
return {
|
|
8321
|
+
pageList: []
|
|
8322
|
+
};
|
|
8323
|
+
},
|
|
8324
|
+
inject: ["pageId", "request"],
|
|
8325
|
+
computed: {
|
|
8326
|
+
myValue: {
|
|
8327
|
+
get() {
|
|
8328
|
+
return this.value;
|
|
8329
|
+
},
|
|
8330
|
+
set(o) {
|
|
8331
|
+
this.$emit("change", o);
|
|
8332
|
+
}
|
|
8333
|
+
}
|
|
8334
|
+
},
|
|
8335
|
+
mounted() {
|
|
8336
|
+
this.handlePageList();
|
|
8337
|
+
},
|
|
8338
|
+
methods: {
|
|
8339
|
+
handlePageList() {
|
|
8340
|
+
return Ge(this, null, function* () {
|
|
8341
|
+
var o;
|
|
8342
|
+
if (this.request)
|
|
8343
|
+
try {
|
|
8344
|
+
const e = yield this.request.get(`/page/others/${this.pageId}`);
|
|
8345
|
+
this.pageList = [{ pageName: "无", pageId: "" }].concat(((o = e == null ? void 0 : e.data) == null ? void 0 : o.data) || []);
|
|
8346
|
+
} catch (e) {
|
|
8347
|
+
console.error(e);
|
|
8348
|
+
}
|
|
8349
|
+
});
|
|
8350
|
+
}
|
|
8351
|
+
}
|
|
8352
|
+
};
|
|
8353
|
+
var el = function() {
|
|
8354
|
+
var e = this, t = e._self._c;
|
|
8355
|
+
return t("a-select", { attrs: { options: e.pageList, "field-names": { label: "pageName", value: "pageId" } }, model: { value: e.myValue, callback: function(n) {
|
|
8356
|
+
e.myValue = n;
|
|
8357
|
+
}, expression: "myValue" } });
|
|
8358
|
+
}, tl = [], ol = /* @__PURE__ */ w(
|
|
8359
|
+
Qn,
|
|
8360
|
+
el,
|
|
8361
|
+
tl,
|
|
8362
|
+
!1,
|
|
8363
|
+
null,
|
|
8364
|
+
"441c3a79",
|
|
8365
|
+
null,
|
|
8366
|
+
null
|
|
8367
|
+
);
|
|
8368
|
+
const Lt = ol.exports, nl = Dt({
|
|
8369
|
+
components: {
|
|
8370
|
+
AppstoreAddOutlined: Re,
|
|
8371
|
+
MinusCircleOutlined: gn,
|
|
8372
|
+
QuestionCircleOutlined: vn
|
|
8373
|
+
},
|
|
8374
|
+
props: {
|
|
8375
|
+
value: {
|
|
8376
|
+
type: Array,
|
|
8377
|
+
default: () => []
|
|
8378
|
+
},
|
|
8379
|
+
indexTip: {
|
|
8380
|
+
type: String,
|
|
8381
|
+
default: ""
|
|
8382
|
+
},
|
|
8383
|
+
keyName: {
|
|
8384
|
+
type: String,
|
|
8385
|
+
defalut: "别名"
|
|
8386
|
+
},
|
|
8387
|
+
fieldName: {
|
|
8388
|
+
type: String,
|
|
8389
|
+
defalut: "字段"
|
|
8390
|
+
},
|
|
8391
|
+
layout: {
|
|
8392
|
+
type: String,
|
|
8393
|
+
default: ""
|
|
8394
|
+
},
|
|
8395
|
+
isColumnLink: {
|
|
8396
|
+
type: Boolean,
|
|
8397
|
+
defalut: !1
|
|
8398
|
+
}
|
|
8399
|
+
},
|
|
8400
|
+
emits: ["change"],
|
|
8401
|
+
setup(o, { emit: e }) {
|
|
8402
|
+
const t = Ot([]), n = () => {
|
|
8403
|
+
t.value.push({
|
|
8404
|
+
keyName: "",
|
|
8405
|
+
fieldName: ""
|
|
8406
|
+
}), e("change", _e(t));
|
|
8407
|
+
}, a = (i) => {
|
|
8408
|
+
t.value.splice(i, 1), e("change", _e(t));
|
|
8409
|
+
}, l = () => {
|
|
8410
|
+
e("change", _e(t));
|
|
8411
|
+
};
|
|
8412
|
+
return Mt(() => o.value, (i) => {
|
|
8413
|
+
t.value = M(i || []);
|
|
8414
|
+
}, {
|
|
8415
|
+
immediate: !0,
|
|
8416
|
+
deep: !0
|
|
8417
|
+
}), Pt(() => {
|
|
8418
|
+
t.value = M(o.value || []);
|
|
8419
|
+
}), {
|
|
8420
|
+
dataList: t,
|
|
8421
|
+
onAdd: n,
|
|
8422
|
+
onDelete: a,
|
|
8423
|
+
onInputChange: l
|
|
8424
|
+
};
|
|
8425
|
+
}
|
|
8426
|
+
});
|
|
8427
|
+
var ll = function() {
|
|
8428
|
+
var e = this, t = e._self._c;
|
|
8429
|
+
return e._self._setupProxy, t("div", { staticClass: "unit-config" }, [t("div", { staticClass: "add", class: { vertical: e.isColumnLink } }, [t("a-tooltip", { attrs: { title: e.indexTip, overlayClassName: "question-tooltip", color: "#fff" } }, [t("question-circle-outlined", { staticClass: "icon question-icon" })], 1), t("appstore-add-outlined", { staticClass: "icon add-icon", on: { click: e.onAdd } })], 1), e._l(e.dataList, function(n, a) {
|
|
8430
|
+
return t("div", { key: a, staticClass: "config-item", class: e.layout ? "vertical" : "" }, [e.layout ? [t("div", { staticStyle: { width: "100%" } }, [t("div", { staticClass: "item" }, [e._v(" " + e._s(e.keyName) + ": "), t("a-input", { staticStyle: { width: "70%" }, on: { change: e.onInputChange }, model: { value: n.keyName, callback: function(l) {
|
|
8431
|
+
e.$set(n, "keyName", l);
|
|
8432
|
+
}, expression: "data.keyName" } })], 1), t("div", { staticClass: "item" }, [e._v(" " + e._s(e.fieldName) + ": "), t("a-input", { staticStyle: { width: "70%" }, on: { change: e.onInputChange }, model: { value: n.fieldName, callback: function(l) {
|
|
8433
|
+
e.$set(n, "fieldName", l);
|
|
8434
|
+
}, expression: "data.fieldName" } })], 1)]), t("minus-circle-outlined", { staticClass: "icon", staticStyle: { "font-size": "16px" }, on: { click: function(l) {
|
|
8435
|
+
return e.onDelete(a);
|
|
8436
|
+
} } })] : [t("div", { staticClass: "item" }, [e._v(" " + e._s(e.keyName) + ": "), t("a-input", { staticStyle: { width: "85px" }, on: { change: e.onInputChange }, model: { value: n.keyName, callback: function(l) {
|
|
8437
|
+
e.$set(n, "keyName", l);
|
|
8438
|
+
}, expression: "data.keyName" } })], 1), t("div", { staticClass: "item" }, [e._v(" " + e._s(e.fieldName) + ": "), t("a-input", { staticStyle: { width: "85px" }, on: { change: e.onInputChange }, model: { value: n.fieldName, callback: function(l) {
|
|
8439
|
+
e.$set(n, "fieldName", l);
|
|
8440
|
+
}, expression: "data.fieldName" } })], 1), t("minus-circle-outlined", { staticClass: "icon", staticStyle: { "font-size": "16px" }, on: { click: function(l) {
|
|
8441
|
+
return e.onDelete(a);
|
|
8442
|
+
} } })]], 2);
|
|
8443
|
+
})], 2);
|
|
8444
|
+
}, al = [], il = /* @__PURE__ */ w(
|
|
8445
|
+
nl,
|
|
8446
|
+
ll,
|
|
8447
|
+
al,
|
|
8448
|
+
!1,
|
|
8449
|
+
null,
|
|
8450
|
+
"91cabbb1",
|
|
8451
|
+
null,
|
|
8452
|
+
null
|
|
8453
|
+
);
|
|
8454
|
+
const kt = il.exports;
|
|
8455
|
+
const sl = `【参数名】是跳转链接上携带参数的key值;
|
|
8456
|
+
【参数值】是跳转链接上携带参数的value值。`, rl = () => ({
|
|
8457
|
+
rule: "",
|
|
8458
|
+
data: {
|
|
8459
|
+
linkPage: "",
|
|
8460
|
+
href: "",
|
|
8461
|
+
target: "self",
|
|
8462
|
+
targetTemplate: "",
|
|
8463
|
+
transParams: []
|
|
8464
|
+
}
|
|
8465
|
+
}), dt = (o = {}) => {
|
|
8466
|
+
const e = M(o.data) || {};
|
|
8467
|
+
return G(D({}, M(o)), {
|
|
8468
|
+
rule: o.rule || "",
|
|
8469
|
+
data: G(D({}, e), {
|
|
8470
|
+
linkPage: e.linkPage || "",
|
|
8471
|
+
href: e.href || "",
|
|
8472
|
+
target: e.target || "self",
|
|
8473
|
+
targetTemplate: e.targetTemplate || "",
|
|
8474
|
+
transParams: Array.isArray(e.transParams) ? e.transParams : []
|
|
8475
|
+
})
|
|
8476
|
+
});
|
|
8477
|
+
}, pl = {
|
|
8478
|
+
name: "LinkConfig",
|
|
8479
|
+
components: {
|
|
8480
|
+
PagePick: Lt,
|
|
8481
|
+
SelectConfig: Tt,
|
|
8482
|
+
UnitConfig: kt
|
|
8483
|
+
},
|
|
8484
|
+
props: {
|
|
8485
|
+
value: {
|
|
8486
|
+
type: Array,
|
|
8487
|
+
default: () => []
|
|
8488
|
+
},
|
|
8489
|
+
disabled: {
|
|
8490
|
+
type: Boolean,
|
|
8491
|
+
default: !1
|
|
8492
|
+
}
|
|
8493
|
+
},
|
|
8494
|
+
emits: ["change"],
|
|
8495
|
+
data() {
|
|
8496
|
+
return {
|
|
8497
|
+
dataList: [],
|
|
8498
|
+
transParamsTip: sl,
|
|
8499
|
+
targetOptions: [
|
|
8500
|
+
{
|
|
8501
|
+
label: "当前窗口",
|
|
8502
|
+
value: "self"
|
|
8503
|
+
},
|
|
8504
|
+
{
|
|
8505
|
+
label: "新窗口",
|
|
8506
|
+
value: "blank"
|
|
8507
|
+
},
|
|
8508
|
+
{
|
|
8509
|
+
label: "事件",
|
|
8510
|
+
value: "event"
|
|
8511
|
+
},
|
|
8512
|
+
{
|
|
8513
|
+
label: "模板",
|
|
8514
|
+
value: "template"
|
|
8515
|
+
},
|
|
8516
|
+
{
|
|
8517
|
+
label: "平台标签页",
|
|
8518
|
+
value: "ygt-tab"
|
|
8519
|
+
}
|
|
8520
|
+
]
|
|
8521
|
+
};
|
|
8522
|
+
},
|
|
8523
|
+
watch: {
|
|
8524
|
+
value: {
|
|
8525
|
+
handler(o) {
|
|
8526
|
+
this.dataList = (Array.isArray(o) ? o : []).map(dt);
|
|
8527
|
+
},
|
|
8528
|
+
immediate: !0,
|
|
8529
|
+
deep: !0
|
|
8530
|
+
}
|
|
8531
|
+
},
|
|
8532
|
+
mounted() {
|
|
8533
|
+
this.dataList = (Array.isArray(this.value) ? this.value : []).map(dt);
|
|
8534
|
+
},
|
|
8535
|
+
methods: {
|
|
8536
|
+
onAdd() {
|
|
8537
|
+
this.dataList.push(rl()), this.onInputChange();
|
|
8538
|
+
},
|
|
8539
|
+
onDelete(o) {
|
|
8540
|
+
this.dataList.splice(o, 1), this.onInputChange();
|
|
8541
|
+
},
|
|
8542
|
+
onInputChange() {
|
|
8543
|
+
this.$emit("change", M(this.dataList));
|
|
8544
|
+
},
|
|
8545
|
+
setDataValue(o, e, t) {
|
|
8546
|
+
o.data[e] = t, e === "linkPage" && t && (o.data.href = ""), this.onInputChange();
|
|
8547
|
+
},
|
|
8548
|
+
setHref(o, e) {
|
|
8549
|
+
o.data.href = e != null && e.target ? e.target.value : e, this.onInputChange();
|
|
8550
|
+
}
|
|
8551
|
+
}
|
|
8552
|
+
};
|
|
8553
|
+
var ul = function() {
|
|
8554
|
+
var e = this, t = e._self._c;
|
|
8555
|
+
return t("div", { staticClass: "link-config" }, [t("a-button", { staticStyle: { "margin-bottom": "15px" }, attrs: { size: "small", type: "primary" }, on: { click: e.onAdd } }, [e._v("新增配置")]), e._l(e.dataList, function(n, a) {
|
|
8556
|
+
return t("div", { key: a, staticClass: "config-item" }, [t("div", { staticClass: "item" }, [t("div", { staticClass: "item-header" }, [t("span", [e._v("规则" + e._s(Number(a) + 1))]), t("span", { staticClass: "delete", on: { click: function(l) {
|
|
8557
|
+
e.onDelete(Number(a));
|
|
8558
|
+
} } }, [e._v("删除")])]), t("div", { staticClass: "item-row" }, [t("div", { staticClass: "title" }, [e._v("规则:")]), t("a-input", { staticClass: "full-width", attrs: { disabled: e.disabled, placeholder: "请输入" }, on: { change: e.onInputChange }, model: { value: n.rule, callback: function(l) {
|
|
8559
|
+
e.$set(n, "rule", l);
|
|
8560
|
+
}, expression: "item.rule" } })], 1), t("div", { staticClass: "item-row" }, [t("div", { staticClass: "title" }, [e._v("页面:")]), t("page-pick", { staticClass: "full-width", attrs: { value: n.data.linkPage, disabled: e.disabled }, on: { change: function(l) {
|
|
8561
|
+
return e.setDataValue(n, "linkPage", l);
|
|
8562
|
+
} } })], 1), n.data.linkPage ? e._e() : t("div", { staticClass: "item-row" }, [t("div", { staticClass: "title" }, [e._v("链接:")]), t("a-textarea", { staticClass: "full-width", attrs: { value: n.data.href, disabled: e.disabled, "auto-size": { minRows: 3 } }, on: { change: function(l) {
|
|
8563
|
+
return e.setHref(n, l);
|
|
8564
|
+
} } })], 1), t("div", { staticClass: "item-row" }, [t("div", { staticClass: "title" }, [e._v("方式:")]), t("select-config", { staticClass: "full-width", attrs: { value: n.data.target, options: e.targetOptions, disabled: e.disabled }, on: { change: function(l) {
|
|
8565
|
+
return e.setDataValue(n, "target", l);
|
|
8566
|
+
} } })], 1), t("div", { staticClass: "item-row trans-params-row" }, [t("div", { staticClass: "title" }, [e._v("参数:")]), t("unit-config", { staticClass: "trans-params-config", attrs: { value: n.data.transParams, "index-tip": e.transParamsTip, "key-name": "参数名", "field-name": "参数值", layout: "vertical", isColumnLink: !0 }, on: { change: function(l) {
|
|
8567
|
+
return e.setDataValue(n, "transParams", l);
|
|
8568
|
+
} } })], 1)])]);
|
|
8569
|
+
})], 2);
|
|
8570
|
+
}, cl = [], dl = /* @__PURE__ */ w(
|
|
8571
|
+
pl,
|
|
8572
|
+
ul,
|
|
8573
|
+
cl,
|
|
8574
|
+
!1,
|
|
8575
|
+
null,
|
|
8576
|
+
"b64fe316",
|
|
8577
|
+
null,
|
|
8578
|
+
null
|
|
8579
|
+
);
|
|
8580
|
+
const ml = dl.exports, N = (o, e) => Do(o, e);
|
|
8581
|
+
const fl = {
|
|
8267
8582
|
name: "PropsToForm",
|
|
8268
8583
|
components: {
|
|
8269
|
-
EcanInput:
|
|
8270
|
-
EcanInputNumber:
|
|
8271
|
-
EcanRadioGroup:
|
|
8272
|
-
EcanSelect:
|
|
8273
|
-
EcanSwitch:
|
|
8584
|
+
EcanInput: Wt,
|
|
8585
|
+
EcanInputNumber: ft,
|
|
8586
|
+
EcanRadioGroup: Jt,
|
|
8587
|
+
EcanSelect: Tt,
|
|
8588
|
+
EcanSwitch: Wo,
|
|
8274
8589
|
EcanColorPick: ue,
|
|
8275
|
-
EcanColorGroupPick:
|
|
8276
|
-
EcanSlider:
|
|
8277
|
-
EcanTextarea:
|
|
8278
|
-
EcanMarkAreaConfig:
|
|
8279
|
-
EcanMarkLinkConfig:
|
|
8280
|
-
EcanFormGroup:
|
|
8281
|
-
EcanGraphicFieldSelect:
|
|
8282
|
-
EcanVisualColorConfig:
|
|
8283
|
-
EcanVisualSizeConfig:
|
|
8590
|
+
EcanColorGroupPick: rn,
|
|
8591
|
+
EcanSlider: mn,
|
|
8592
|
+
EcanTextarea: xn,
|
|
8593
|
+
EcanMarkAreaConfig: An,
|
|
8594
|
+
EcanMarkLinkConfig: In,
|
|
8595
|
+
EcanFormGroup: Mn,
|
|
8596
|
+
EcanGraphicFieldSelect: qn,
|
|
8597
|
+
EcanVisualColorConfig: Hn,
|
|
8598
|
+
EcanVisualSizeConfig: Jn,
|
|
8599
|
+
EcanPagePick: Lt,
|
|
8600
|
+
EcanUnitConfig: kt,
|
|
8601
|
+
EcanLinkConfig: ml
|
|
8284
8602
|
},
|
|
8285
8603
|
props: {
|
|
8286
8604
|
props: {
|
|
@@ -8310,59 +8628,59 @@ const En = {
|
|
|
8310
8628
|
},
|
|
8311
8629
|
computed: {
|
|
8312
8630
|
formProps() {
|
|
8313
|
-
const
|
|
8314
|
-
if (
|
|
8631
|
+
const o = this.props;
|
|
8632
|
+
if (o == null || typeof o != "object")
|
|
8315
8633
|
return {};
|
|
8316
8634
|
const e = {};
|
|
8317
|
-
for (const
|
|
8318
|
-
const n =
|
|
8319
|
-
a ? this.getShowResult(a,
|
|
8635
|
+
for (const t in o) {
|
|
8636
|
+
const n = Te[t], a = n == null ? void 0 : n.show;
|
|
8637
|
+
a ? this.getShowResult(a, o).isMatch && (e[t] = o[t]) : e[t] = o[t];
|
|
8320
8638
|
}
|
|
8321
|
-
return
|
|
8322
|
-
const l =
|
|
8639
|
+
return mt(e, (t, n, a) => {
|
|
8640
|
+
const l = Te[a];
|
|
8323
8641
|
if (Array.isArray(l)) {
|
|
8324
|
-
const
|
|
8325
|
-
const { onlyType:
|
|
8326
|
-
let
|
|
8327
|
-
return
|
|
8642
|
+
const i = l.find((m) => {
|
|
8643
|
+
const { onlyType: u, excludeType: c, dataVNoHas: g } = m;
|
|
8644
|
+
let y = !1;
|
|
8645
|
+
return u == null && c == null ? y = !0 : u ? y = N(this.selectedComponentType, u) : c && (y = !N(this.selectedComponentType, c)), y && m.show && (y = this.getShowResult(m.show, o).isMatch), g && isVue3 && (y = !1), y;
|
|
8328
8646
|
});
|
|
8329
|
-
|
|
8647
|
+
i && this.setFormProps({ result: t, value: n, key: a, mapAttributeProp: i });
|
|
8330
8648
|
} else
|
|
8331
|
-
this.setFormProps({ result:
|
|
8332
|
-
return
|
|
8649
|
+
this.setFormProps({ result: t, value: n, key: a, mapAttributeProp: l });
|
|
8650
|
+
return t;
|
|
8333
8651
|
}, {});
|
|
8334
8652
|
}
|
|
8335
8653
|
},
|
|
8336
8654
|
methods: {
|
|
8337
|
-
setFormProps({ result:
|
|
8338
|
-
if (
|
|
8655
|
+
setFormProps({ result: o, mapAttributeProp: e, key: t, value: n }) {
|
|
8656
|
+
if (o == null || typeof o != "object")
|
|
8339
8657
|
return;
|
|
8340
8658
|
const {
|
|
8341
8659
|
valueProp: a = "value",
|
|
8342
8660
|
changeValueEventName: l = "change",
|
|
8343
|
-
events:
|
|
8661
|
+
events: i,
|
|
8344
8662
|
updateMode: m
|
|
8345
8663
|
} = e;
|
|
8346
|
-
t
|
|
8664
|
+
o[t] = G(D({}, e), {
|
|
8347
8665
|
valueProp: a,
|
|
8348
8666
|
value: n,
|
|
8349
8667
|
events: D({
|
|
8350
|
-
[l]: (
|
|
8351
|
-
[void 0, "component"].includes(m) && g && !
|
|
8668
|
+
[l]: (u, c = { useContainer: !1 }, g = !0) => {
|
|
8669
|
+
[void 0, "component"].includes(m) && g && !u.target && this.$emit("change", { [t]: u }, c);
|
|
8352
8670
|
}
|
|
8353
|
-
},
|
|
8671
|
+
}, i)
|
|
8354
8672
|
});
|
|
8355
8673
|
},
|
|
8356
8674
|
// 判断关联的属性值是否满足
|
|
8357
|
-
getShowResult(
|
|
8358
|
-
return
|
|
8675
|
+
getShowResult(o = [], e) {
|
|
8676
|
+
return o.reduce((t, n) => {
|
|
8359
8677
|
let a = {
|
|
8360
8678
|
isMatch: !0,
|
|
8361
8679
|
rule: null
|
|
8362
8680
|
};
|
|
8363
|
-
|
|
8681
|
+
t && (a = t);
|
|
8364
8682
|
let l = !1;
|
|
8365
|
-
if (n.valueRule === "not" ? l = e[n.match] !== n.value : l = e[n.match] === n.value,
|
|
8683
|
+
if (n.valueRule === "not" ? l = e[n.match] !== n.value : l = e[n.match] === n.value, t) {
|
|
8366
8684
|
if (a.rule)
|
|
8367
8685
|
switch (a.rule) {
|
|
8368
8686
|
case "and":
|
|
@@ -8379,118 +8697,120 @@ const En = {
|
|
|
8379
8697
|
}
|
|
8380
8698
|
}
|
|
8381
8699
|
};
|
|
8382
|
-
var
|
|
8383
|
-
var e = this,
|
|
8384
|
-
return
|
|
8700
|
+
var hl = function() {
|
|
8701
|
+
var e = this, t = e._self._c;
|
|
8702
|
+
return t("div", { staticClass: "props-to-form" }, e._l(e.formProps, function(n, a) {
|
|
8385
8703
|
var l;
|
|
8386
|
-
return
|
|
8387
|
-
return
|
|
8388
|
-
}) : e._e(), Array.isArray(n) ? e._e() : [n.component ?
|
|
8704
|
+
return t("div", { key: a, class: ["prop-item", { layout: n.layout === "vertical" }] }, [n.label ? t("span", { class: ["label", n.layout === "vertical" ? "label-vertical" : ""], style: { width: e.isVue3 ? "28%" : "38%" } }, [e._v(" " + e._s(n.label) + " ")]) : e._e(), t("div", { staticClass: "component-wrapper" }, [Array.isArray(n) ? e._l(n, function(i, m) {
|
|
8705
|
+
return t("div", { key: m, staticClass: "component" }, [t("Ecan" + i.component[0].toUpperCase() + i.component.slice(1), e._g(e._b({ tag: "component", style: i.style, attrs: { disabled: e.disabled } }, "component", i.props, !1), i.events))], 1);
|
|
8706
|
+
}) : e._e(), Array.isArray(n) ? e._e() : [n.component ? t("Ecan" + n.component[0].toUpperCase() + n.component.slice(1), e._g(e._b(e._b({ tag: "component", staticClass: "component", style: n.style, attrs: { disabled: e.disabled } }, "component", e._d({}, [n.valueProp, n.value])), "component", n.props, !1), n.events)) : e._e(), (l = n == null ? void 0 : n.props) != null && l.tooltip ? t("a-tooltip", { attrs: { title: n.props.tooltip, placement: "topRight", overlayClassName: "question-tooltip", color: "#fff" } }, [t("question-circle-outlined", { style: e.questionStyle })], 1) : e._e()]], 2)]);
|
|
8389
8707
|
}), 0);
|
|
8390
|
-
},
|
|
8391
|
-
|
|
8392
|
-
|
|
8393
|
-
|
|
8708
|
+
}, bl = [], yl = /* @__PURE__ */ w(
|
|
8709
|
+
fl,
|
|
8710
|
+
hl,
|
|
8711
|
+
bl,
|
|
8394
8712
|
!1,
|
|
8395
8713
|
null,
|
|
8396
|
-
"
|
|
8714
|
+
"eabcfd8d",
|
|
8397
8715
|
null,
|
|
8398
8716
|
null
|
|
8399
8717
|
);
|
|
8400
|
-
const
|
|
8401
|
-
const
|
|
8718
|
+
const xl = yl.exports;
|
|
8719
|
+
const vl = {
|
|
8402
8720
|
name: "AttributeConfig",
|
|
8403
8721
|
components: {
|
|
8404
|
-
PropsToForm:
|
|
8722
|
+
PropsToForm: xl
|
|
8405
8723
|
},
|
|
8406
|
-
props: ["searchValue", "selectedComponent", "selectedComponentType", "renderUsedComponentList"],
|
|
8724
|
+
props: ["searchValue", "selectedComponent", "selectedComponentType", "renderUsedComponentList", "pageId", "request"],
|
|
8407
8725
|
provide() {
|
|
8408
8726
|
return {
|
|
8409
8727
|
componentList: this.componentList,
|
|
8410
8728
|
selectedComponent: this.selectedComponent,
|
|
8411
|
-
renderUsedComponentList: this.renderUsedComponentList
|
|
8729
|
+
renderUsedComponentList: this.renderUsedComponentList,
|
|
8730
|
+
pageId: this.pageId || "",
|
|
8731
|
+
request: this.request
|
|
8412
8732
|
};
|
|
8413
8733
|
},
|
|
8414
8734
|
data() {
|
|
8415
8735
|
return {
|
|
8416
|
-
componentList:
|
|
8736
|
+
componentList: zt,
|
|
8417
8737
|
activeKey: []
|
|
8418
8738
|
};
|
|
8419
8739
|
},
|
|
8420
8740
|
emits: ["change"],
|
|
8421
8741
|
computed: {
|
|
8422
8742
|
searchProps() {
|
|
8423
|
-
return
|
|
8424
|
-
|
|
8425
|
-
(
|
|
8426
|
-
|
|
8427
|
-
}) : !Array.isArray(e) &&
|
|
8743
|
+
return mt(
|
|
8744
|
+
Te,
|
|
8745
|
+
(o, e, t) => (Array.isArray(e) ? e.forEach((n) => {
|
|
8746
|
+
N(n.label, this.searchValue) && o.push(t);
|
|
8747
|
+
}) : !Array.isArray(e) && N(e.label, this.searchValue) && o.push(t), o),
|
|
8428
8748
|
[]
|
|
8429
8749
|
);
|
|
8430
8750
|
},
|
|
8431
8751
|
finalProps() {
|
|
8432
|
-
var
|
|
8433
|
-
const
|
|
8752
|
+
var t, n;
|
|
8753
|
+
const o = (t = this.selectedComponent) == null ? void 0 : t.type;
|
|
8434
8754
|
let e = {};
|
|
8435
|
-
if (
|
|
8436
|
-
const a = ((n = this.componentList) == null ? void 0 : n.find((
|
|
8755
|
+
if (o != null) {
|
|
8756
|
+
const a = ((n = this.componentList) == null ? void 0 : n.find((i) => N(i.type, o))) || {}, l = ge(this.selectedComponent || {}, Object.keys(a || {}));
|
|
8437
8757
|
e = D(D({}, a), l);
|
|
8438
8758
|
}
|
|
8439
8759
|
return ge(e, this.searchProps);
|
|
8440
8760
|
},
|
|
8441
8761
|
detailPropsGroups() {
|
|
8442
|
-
return
|
|
8443
|
-
const { props: e, title:
|
|
8762
|
+
return Nt.map((o) => {
|
|
8763
|
+
const { props: e, title: t, enableProps: n, onlyType: a, excludeType: l, showSwitch: i, dataVNoHas: m } = o, u = [];
|
|
8444
8764
|
return e.forEach((c) => {
|
|
8445
|
-
var g,
|
|
8446
|
-
m && isVue3 || (typeof c == "string" ?
|
|
8765
|
+
var g, y;
|
|
8766
|
+
m && isVue3 || (typeof c == "string" ? u.push(c) : N((g = this.selectedComponent) == null ? void 0 : g.type, c.onlyType) ? u.push(c.value) : N((y = this.selectedComponent) == null ? void 0 : y.type, c.excludeType) || u.push(c.value));
|
|
8447
8767
|
}), {
|
|
8448
|
-
title:
|
|
8768
|
+
title: t,
|
|
8449
8769
|
enableProps: typeof n == "string" && this.selectedComponent ? this.selectedComponent[n] : void 0,
|
|
8450
8770
|
enablePropsName: n,
|
|
8451
8771
|
onlyType: a,
|
|
8452
8772
|
excludeType: l,
|
|
8453
|
-
showSwitch:
|
|
8454
|
-
props: ge(this.finalProps,
|
|
8773
|
+
showSwitch: i,
|
|
8774
|
+
props: ge(this.finalProps, u)
|
|
8455
8775
|
};
|
|
8456
|
-
}).filter(({ props:
|
|
8776
|
+
}).filter(({ props: o }) => Object.keys(o).length > 0);
|
|
8457
8777
|
}
|
|
8458
8778
|
},
|
|
8459
8779
|
watch: {
|
|
8460
|
-
searchValue(
|
|
8780
|
+
searchValue(o) {
|
|
8461
8781
|
},
|
|
8462
8782
|
selectedComponent: {
|
|
8463
|
-
handler(
|
|
8464
|
-
if (
|
|
8465
|
-
const e = this.componentList.find((
|
|
8466
|
-
id:
|
|
8783
|
+
handler(o) {
|
|
8784
|
+
if (o && Object.keys(o).length === 1) {
|
|
8785
|
+
const e = this.componentList.find((s) => s.type === "ecanBar"), {
|
|
8786
|
+
id: t,
|
|
8467
8787
|
name: n,
|
|
8468
8788
|
keyName: a,
|
|
8469
8789
|
width: l,
|
|
8470
|
-
height:
|
|
8790
|
+
height: i,
|
|
8471
8791
|
position: m,
|
|
8472
|
-
top:
|
|
8792
|
+
top: u,
|
|
8473
8793
|
left: c,
|
|
8474
8794
|
zIndex: g,
|
|
8475
|
-
rotate:
|
|
8476
|
-
isShow:
|
|
8477
|
-
isRender:
|
|
8795
|
+
rotate: y,
|
|
8796
|
+
isShow: x,
|
|
8797
|
+
isRender: S,
|
|
8478
8798
|
requestUrl: k,
|
|
8479
8799
|
requestType: $,
|
|
8480
8800
|
requestMethod: I,
|
|
8481
8801
|
dataSetParam: ce,
|
|
8482
|
-
requestHeaders:
|
|
8483
|
-
isOpenRequestTimer:
|
|
8484
|
-
isViewRedrawing:
|
|
8485
|
-
requestInterval:
|
|
8802
|
+
requestHeaders: qe,
|
|
8803
|
+
isOpenRequestTimer: Y,
|
|
8804
|
+
isViewRedrawing: R,
|
|
8805
|
+
requestInterval: xe,
|
|
8486
8806
|
requestSort: de,
|
|
8487
|
-
requestParams:
|
|
8488
|
-
events:
|
|
8807
|
+
requestParams: te,
|
|
8808
|
+
events: A,
|
|
8489
8809
|
dataType: v,
|
|
8490
|
-
scale:
|
|
8810
|
+
scale: oe,
|
|
8491
8811
|
requestParamsMode: ve,
|
|
8492
|
-
customRequestParams:
|
|
8493
|
-
} = e,
|
|
8812
|
+
customRequestParams: f
|
|
8813
|
+
} = e, r = je(e, [
|
|
8494
8814
|
"id",
|
|
8495
8815
|
"name",
|
|
8496
8816
|
"keyName",
|
|
@@ -8519,59 +8839,59 @@ const Un = {
|
|
|
8519
8839
|
"requestParamsMode",
|
|
8520
8840
|
"customRequestParams"
|
|
8521
8841
|
]);
|
|
8522
|
-
this.change(
|
|
8842
|
+
this.change(r);
|
|
8523
8843
|
}
|
|
8524
8844
|
},
|
|
8525
8845
|
immediate: !0
|
|
8526
8846
|
}
|
|
8527
8847
|
},
|
|
8528
8848
|
methods: {
|
|
8529
|
-
onSwitchChange(
|
|
8530
|
-
e != null && this.change({ [e]:
|
|
8849
|
+
onSwitchChange(o, e) {
|
|
8850
|
+
e != null && this.change({ [e]: o });
|
|
8531
8851
|
},
|
|
8532
|
-
onSwitchClick(
|
|
8852
|
+
onSwitchClick(o, e) {
|
|
8533
8853
|
e == null || e.stopPropagation();
|
|
8534
8854
|
},
|
|
8535
|
-
isRenderForm(
|
|
8536
|
-
const { onlyType:
|
|
8537
|
-
return
|
|
8855
|
+
isRenderForm(o, e) {
|
|
8856
|
+
const { onlyType: t, excludeType: n } = o;
|
|
8857
|
+
return t == null && n == null ? !0 : t ? N(e, t) : n ? !N(e, n) : !1;
|
|
8538
8858
|
},
|
|
8539
|
-
lowerCaseIncludes(
|
|
8540
|
-
return
|
|
8859
|
+
lowerCaseIncludes(o, e) {
|
|
8860
|
+
return N(o, e);
|
|
8541
8861
|
},
|
|
8542
|
-
change(...
|
|
8543
|
-
this.$emit("change", ...
|
|
8862
|
+
change(...o) {
|
|
8863
|
+
this.$emit("change", ...o);
|
|
8544
8864
|
}
|
|
8545
8865
|
}
|
|
8546
8866
|
};
|
|
8547
|
-
var
|
|
8548
|
-
var e = this,
|
|
8549
|
-
return
|
|
8867
|
+
var gl = function() {
|
|
8868
|
+
var e = this, t = e._self._c;
|
|
8869
|
+
return t("div", [t("a-collapse", { model: { value: e.activeKey, callback: function(n) {
|
|
8550
8870
|
e.activeKey = n;
|
|
8551
8871
|
}, expression: "activeKey" } }, [e._l(e.detailPropsGroups, function(n, a) {
|
|
8552
|
-
return [e.isRenderForm(n, e.selectedComponentType) ? [n.title ?
|
|
8553
|
-
return [typeof n.enableProps == "boolean" || n.showSwitch ?
|
|
8554
|
-
}, proxy: !0 }], null, !0) }, [
|
|
8872
|
+
return [e.isRenderForm(n, e.selectedComponentType) ? [n.title ? t("a-collapse-panel", { key: String(a), attrs: { header: n.title }, scopedSlots: e._u([{ key: "extra", fn: function() {
|
|
8873
|
+
return [typeof n.enableProps == "boolean" || n.showSwitch ? t("a-switch", { attrs: { checked: n.enableProps }, on: { change: (l) => e.onSwitchChange(l, n.enablePropsName), click: e.onSwitchClick } }) : e._e()];
|
|
8874
|
+
}, proxy: !0 }], null, !0) }, [t("props-to-form", { attrs: { selectedComponentType: e.selectedComponentType, props: n.props, disabled: typeof n.enableProps == "boolean" ? !n.enableProps : !!n.showSwitch }, on: { change: e.change } })], 1) : t("div", { staticClass: "props-to-form-wrapper" }, [t("props-to-form", { attrs: { props: n.props }, on: { change: e.change } })], 1)] : e._e()];
|
|
8555
8875
|
})], 2)], 1);
|
|
8556
|
-
},
|
|
8557
|
-
|
|
8558
|
-
|
|
8559
|
-
|
|
8876
|
+
}, _l = [], Sl = /* @__PURE__ */ w(
|
|
8877
|
+
vl,
|
|
8878
|
+
gl,
|
|
8879
|
+
_l,
|
|
8560
8880
|
!1,
|
|
8561
8881
|
null,
|
|
8562
|
-
"
|
|
8882
|
+
"cde71239",
|
|
8563
8883
|
null,
|
|
8564
8884
|
null
|
|
8565
8885
|
);
|
|
8566
|
-
const
|
|
8886
|
+
const wl = Sl.exports;
|
|
8567
8887
|
window.VUE_VERSION = "2";
|
|
8568
8888
|
window.isVue3 = !1;
|
|
8569
|
-
const
|
|
8570
|
-
install(
|
|
8571
|
-
|
|
8889
|
+
const kl = {
|
|
8890
|
+
install(o, e) {
|
|
8891
|
+
o.component("ChartPanel", wl);
|
|
8572
8892
|
}
|
|
8573
8893
|
};
|
|
8574
8894
|
export {
|
|
8575
|
-
|
|
8576
|
-
|
|
8895
|
+
wl as ChartPanel,
|
|
8896
|
+
kl as default
|
|
8577
8897
|
};
|