@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.
@@ -1,27 +1,44 @@
1
- var wt = Object.defineProperty, Ct = Object.defineProperties;
2
- var At = Object.getOwnPropertyDescriptors;
3
- var he = Object.getOwnPropertySymbols;
4
- var qe = Object.prototype.hasOwnProperty, Be = Object.prototype.propertyIsEnumerable;
5
- var Ne = (t, e, o) => e in t ? wt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o, D = (t, e) => {
6
- for (var o in e || (e = {}))
7
- qe.call(e, o) && Ne(t, o, e[o]);
8
- if (he)
9
- for (var o of he(e))
10
- Be.call(e, o) && Ne(t, o, e[o]);
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
- import { cloneDeep as Z, reduce as pt, pick as ge } from "lodash-es";
23
- import { Sketch as Tt } from "vue-color";
24
- const Lt = [
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
- ], kt = [
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
- ], Ae = {
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
- // linkPage: [
1795
- // {
1796
- // label: '链接项目页面',
1797
- // component: 'page-pick',
1798
- // onlyType: ['text', 'table']
1799
- // },
1800
- // {
1801
- // label: '跳转页面',
1802
- // component: 'page-pick',
1803
- // onlyType: ['image'],
1804
- // show: [{
1805
- // match: 'actionType',
1806
- // value: 'link'
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
- // href: [
4066
- // {
4067
- // label: '链接',
4068
- // component: 'textarea',
4069
- // excludeType: ['image'],
4070
- // show: [{
4071
- // match: 'linkPage',
4072
- // value: ''
4073
- // }]
4074
- // },
4075
- // {
4076
- // label: '链接',
4077
- // component: 'textarea',
4078
- // onlyType: ['image'],
4079
- // show: [{
4080
- // match: 'actionType',
4081
- // value: 'link',
4082
- // rule: 'and'
4083
- // }, {
4084
- // match: 'linkPage',
4085
- // value: ''
4086
- // }]
4087
- // }
4088
- // ],
4089
- // target: [
4090
- // {
4091
- // label: '链接方式',
4092
- // component: 'select',
4093
- // excludeType: ['image'],
4094
- // props: {
4095
- // options: [
4096
- // {
4097
- // label: '当前窗口',
4098
- // value: 'self'
4099
- // },
4100
- // {
4101
- // label: '新窗口',
4102
- // value: 'blank'
4103
- // },
4104
- // {
4105
- // label: '事件',
4106
- // value: 'event'
4107
- // },
4108
- // {
4109
- // label: '模板',
4110
- // value: 'template'
4111
- // }
4112
- // ]
4113
- // }
4114
- // },
4115
- // {
4116
- // label: '链接方式',
4117
- // component: 'select',
4118
- // onlyType: ['image'],
4119
- // props: {
4120
- // options: [
4121
- // {
4122
- // label: '当前窗口',
4123
- // value: 'self'
4124
- // },
4125
- // {
4126
- // label: '新窗口',
4127
- // value: 'blank'
4128
- // },
4129
- // {
4130
- // label: '事件',
4131
- // value: 'event'
4132
- // },
4133
- // {
4134
- // label: '模板',
4135
- // value: 'template'
4136
- // }
4137
- // ]
4138
- // },
4139
- // show: [{
4140
- // match: 'actionType',
4141
- // value: 'link'
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
- // targetTemplate: {
4189
- // label: '目标模板',
4190
- // component: 'template-pick',
4191
- // show: [{
4192
- // match: 'target',
4193
- // value: 'template'
4194
- // }]
4195
- // },
4196
- // transParams: {
4197
- // label: '传递参数',
4198
- // component: 'unit-config',
4199
- // layout: 'vertical',
4200
- // props: {
4201
- // indexTip: `【参数名】是跳转链接上携带参数的key值;
4202
- // 【参数值】是跳转链接上携带参数的value值。`,
4203
- // keyName: '参数名',
4204
- // fieldName: '参数值',
4205
- // layout: 'vertical'
4206
- // },
4207
- // show: [{
4208
- // match: 'actionType',
4209
- // value: 'link',
4210
- // rule: 'or'
4211
- // }, {
4212
- // match: 'actionType',
4213
- // value: undefined
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 A(t, e, o, n, a, l, r, m) {
6206
- var d = typeof t == "function" ? t.options : t;
6207
- e && (d.render = e, d.staticRenderFns = o, d._compiled = !0), n && (d.functional = !0), l && (d._scopeId = "data-v-" + l);
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 (r ? (c = function(y) {
6210
- y = y || // cached call
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, !y && typeof __VUE_SSR_CONTEXT__ != "undefined" && (y = __VUE_SSR_CONTEXT__), a && a.call(this, y), y && y._registeredComponents && y._registeredComponents.add(r);
6213
- }, d._ssrRegister = c) : a && (c = m ? function() {
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
- (d.functional ? this.parent : this).$root.$options.shadowRoot
6260
+ (u.functional ? this.parent : this).$root.$options.shadowRoot
6217
6261
  );
6218
6262
  } : a), c)
6219
- if (d.functional) {
6220
- d._injectStyles = c;
6221
- var g = d.render;
6222
- d.render = function(_, k) {
6223
- return c.call(k), g(_, k);
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 x = d.beforeCreate;
6227
- d.beforeCreate = x ? [].concat(x, c) : [c];
6270
+ var y = u.beforeCreate;
6271
+ u.beforeCreate = y ? [].concat(y, c) : [c];
6228
6272
  }
6229
6273
  return {
6230
- exports: t,
6231
- options: d
6274
+ exports: o,
6275
+ options: u
6232
6276
  };
6233
6277
  }
6234
- const $t = {
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(t) {
6267
- this.myValue = t;
6310
+ handler(o) {
6311
+ this.myValue = o;
6268
6312
  },
6269
6313
  immediate: !0
6270
6314
  }
6271
6315
  },
6272
6316
  methods: {
6273
- onInputChange(t) {
6274
- this.$emit("change", t.target.value);
6317
+ onInputChange(o) {
6318
+ this.$emit("change", o.target.value);
6275
6319
  }
6276
6320
  }
6277
6321
  };
6278
- var It = function() {
6279
- var e = this, o = e._self._c;
6280
- return o("div", [o("a-input", { attrs: { value: e.myValue, disabled: e.disabled }, on: { change: e.onInputChange } })], 1);
6281
- }, Ft = [], Vt = /* @__PURE__ */ A(
6282
- $t,
6283
- It,
6284
- Ft,
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 Mt = Vt.exports;
6292
- const Dt = {
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 t = this.value;
6354
- return typeof t == "string" ? parseFloat(t) : typeof t == "object" && t != null ? t[this.valueKey] : t;
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(t) {
6368
- return this.value != null && typeof this.value == "object" ? this.value[this[`${t}ValueKey`]] : Array.isArray(this[t]) ? this[t][0] && this[t][0].value : null;
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(t) {
6371
- let e = t;
6372
- const o = this.suffix;
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
- }) : o === "" || e == null ? this.$emit("change", e) : this.$emit("change", `${e}${o}`);
6421
+ }) : t === "" || e == null ? this.$emit("change", e) : this.$emit("change", `${e}${t}`);
6378
6422
  },
6379
- onPrefixChange(t) {
6380
- this.prefixValue = t, Array.isArray(this.prefix) && this.$emit("change", {
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(t) {
6387
- this.suffixValue = t, Array.isArray(this.suffix) && this.$emit("change", {
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(t) {
6394
- return typeof this.suffix == "string" ? t.replace(this.suffix, "") : Array.isArray(this.suffix) && this.value != null && typeof this.value == "object" ? t.replace(this.value[this.suffixValueKey], "") : t;
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 t = {
6442
+ const o = {
6399
6443
  useContainer: !0,
6400
6444
  useContainerTime: 0
6401
6445
  };
6402
- this.$emit("change", null, t, !1);
6446
+ this.$emit("change", null, o, !1);
6403
6447
  }
6404
6448
  }
6405
6449
  }
6406
6450
  };
6407
- var Ot = function() {
6408
- var e = this, o = e._self._c;
6409
- return o("div", { staticStyle: { display: "flex", "align-items": "center" } }, [!e.isVue3 && e.prefix ? [o("div", { staticClass: "prefix-section icon-section" }, [Array.isArray(e.prefix) && e.prefix.length > 0 ? [o("a-select", { attrs: { value: e.prefixValue }, on: { change: e.onPrefixChange } }, e._l(e.prefix, function(n, a) {
6410
- return o("a-select-option", { key: a, attrs: { value: n.value } }, [e._v(" " + e._s(n.label) + " ")]);
6411
- }), 1)] : o("span", [e._v(e._s(e.prefix))])], 2)] : e._e(), o("a-input-number", { style: D({
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 [o("a-select", { attrs: { value: e.prefixValue }, on: { change: e.onPrefixChange } }, e._l(e.prefix, function(n, a) {
6415
- return o("a-select-option", { key: a, attrs: { value: n.value } }, [e._v(" " + e._s(n.label) + " ")]);
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 [o("a-select", { attrs: { value: e.suffixValue }, on: { change: e.onSuffixChange } }, e._l(e.suffix, function(n, a) {
6419
- return o("a-select-option", { key: a, attrs: { value: n.value } }, [e._v(" " + e._s(n.label) + " ")]);
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 ? [o("div", { staticClass: "suffix-section icon-section" }, [Array.isArray(e.suffix) && e.suffix.length > 0 ? [o("a-select", { attrs: { value: e.suffixValue }, on: { change: e.onSuffixChange } }, e._l(e.suffix, function(n, a) {
6422
- return o("a-select-option", { key: a, attrs: { value: n.value } }, [e._v(" " + e._s(n.label) + " ")]);
6423
- }), 1)] : o("span", [e._v(e._s(e.suffix))])], 2)] : e._e()], 2);
6424
- }, zt = [], Rt = /* @__PURE__ */ A(
6425
- Dt,
6426
- Ot,
6427
- zt,
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 ut = Rt.exports;
6435
- const Pt = {
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(t) {
6469
- this.$emit("change", t.target.value);
6512
+ onRadioChange(o) {
6513
+ this.$emit("change", o.target.value);
6470
6514
  }
6471
6515
  }
6472
6516
  };
6473
- var Nt = function() {
6474
- var e = this, o = e._self._c;
6475
- return o("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) {
6476
- return o("a-radio-button", { key: n.value, attrs: { value: n.value } }, [e._v(" " + e._s(n.label) + " ")]);
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
- }, qt = [], Bt = /* @__PURE__ */ A(
6479
- Pt,
6480
- Nt,
6481
- qt,
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 Et = Bt.exports, Wt = () => {
6489
- }, jt = Object.assign, Gt = Array.isArray, De = (t) => typeof t == "function", Ht = (t) => typeof t == "symbol";
6490
- let We;
6491
- const Te = () => We || (We = typeof globalThis != "undefined" ? globalThis : typeof self != "undefined" ? self : typeof window != "undefined" ? window : typeof global != "undefined" ? global : {});
6492
- function Le(t) {
6493
- const e = t && t.__v_raw;
6494
- return e ? Le(e) : t;
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 Ut(t) {
6497
- return !(!t || t.__v_isRef !== !0);
6540
+ function no(o) {
6541
+ return !(!o || o.__v_isRef !== !0);
6498
6542
  }
6499
- new Set(Object.getOwnPropertyNames(Symbol).filter((t) => t !== "arguments" && t !== "caller").map((t) => Symbol[t]).filter(Ht));
6500
- const j = [];
6501
- function Oe(t, ...e) {
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 o = j.length ? j[j.length - 1].component : null, n = o && o.appContext.config.warnHandler, a = function() {
6505
- let l = j[j.length - 1];
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 r = [];
6552
+ const i = [];
6509
6553
  for (; l; ) {
6510
- const m = r[0];
6511
- m && m.vnode === l ? m.recurseCount++ : r.push({ vnode: l, recurseCount: 0 });
6512
- const d = l.component && l.component.parent;
6513
- l = d && d.vnode;
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 r;
6559
+ return i;
6516
6560
  }();
6517
6561
  if (n)
6518
- ze(n, o, 11, [t + e.join(""), o && o.proxy, a.map(({ vnode: l }) => `at <${Ke(o, l.type)}>`).join(`
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]: ${t}`, ...e];
6565
+ const l = [`[Vue warn]: ${o}`, ...e];
6522
6566
  a.length && l.push(`
6523
- `, ...function(r) {
6567
+ `, ...function(i) {
6524
6568
  const m = [];
6525
- return r.forEach((d, c) => {
6569
+ return i.forEach((u, c) => {
6526
6570
  m.push(...c === 0 ? [] : [`
6527
- `], ...function({ vnode: g, recurseCount: x }) {
6528
- const y = x > 0 ? `... (${x} recursive calls)` : "", _ = !!g.component && g.component.parent == null, k = ` at <${Ke(g.component, g.type, _)}`, $ = ">" + y;
6529
- return g.props ? [k, ...Kt(g.props), $] : [k + $];
6530
- }(d));
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 Kt(t) {
6536
- const e = [], o = Object.keys(t);
6537
- return o.slice(0, 3).forEach((n) => {
6538
- e.push(...ct(n, t[n]));
6539
- }), o.length > 3 && e.push(" ..."), e;
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 ct(t, e, o) {
6542
- return typeof e == "string" ? (e = JSON.stringify(e), o ? e : [`${t}=${e}`]) : typeof e == "number" || typeof e == "boolean" || e == null ? o ? e : [`${t}=${e}`] : Ut(e) ? (e = ct(t, Le(e.value), !0), o ? e : [`${t}=Ref<`, e, ">"]) : De(e) ? [`${t}=fn${e.name ? `<${e.name}>` : ""}`] : (e = Le(e), o ? e : [`${t}=`, 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 je = { 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" };
6545
- function ze(t, e, o, n) {
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 ? t(...n) : t();
6592
+ a = n ? o(...n) : o();
6549
6593
  } catch (l) {
6550
- (function(r, m, d, c = !0) {
6594
+ (function(i, m, u, c = !0) {
6551
6595
  const g = m ? m.vnode : null;
6552
6596
  if (m) {
6553
- let x = m.parent;
6554
- const y = m.proxy, _ = process.env.NODE_ENV !== "production" ? je[d] : d;
6555
- for (; x; ) {
6556
- const $ = x.ec;
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](r, y, _) === !1)
6603
+ if ($[I](i, x, S) === !1)
6560
6604
  return;
6561
6605
  }
6562
- x = x.parent;
6606
+ y = y.parent;
6563
6607
  }
6564
6608
  const k = m.appContext.config.errorHandler;
6565
6609
  if (k)
6566
- return void ze(k, null, 10, [r, y, _]);
6610
+ return void Ne(k, null, 10, [i, x, S]);
6567
6611
  }
6568
- (function(x, y, _, k = !0) {
6612
+ (function(y, x, S, k = !0) {
6569
6613
  if (process.env.NODE_ENV !== "production") {
6570
- const I = je[y];
6571
- if (_ && ($ = _, j.push($)), Oe("Unhandled error" + (I ? ` during execution of ${I}` : "")), _ && j.pop(), k)
6572
- throw x;
6573
- console.error(x);
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(x);
6619
+ console.error(y);
6576
6620
  var $;
6577
- })(r, d, g, c);
6578
- })(l, e, o);
6621
+ })(i, u, g, c);
6622
+ })(l, e, t);
6579
6623
  }
6580
6624
  return a;
6581
6625
  }
6582
- let be = !1, ke = !1;
6583
- const M = [];
6584
- let B = 0;
6585
- const X = [];
6586
- let O = null, q = 0;
6587
- const Yt = Promise.resolve();
6588
- function Xt(t) {
6589
- M.length && M.includes(t, be && t.allowRecurse ? B + 1 : B) || (t.id == null ? M.push(t) : M.splice(function(e) {
6590
- let o = B + 1, n = M.length;
6591
- for (; o < n; ) {
6592
- const a = o + n >>> 1, l = M[a], r = pe(l);
6593
- r < e || r === e && l.pre ? o = a + 1 : n = a;
6594
- }
6595
- return o;
6596
- }(t.id), 0, t), dt());
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 dt() {
6599
- be || ke || (ke = !0, Yt.then(mt));
6642
+ function bt() {
6643
+ be || $e || ($e = !0, ao.then(yt));
6600
6644
  }
6601
- const pe = (t) => t.id == null ? 1 / 0 : t.id, Zt = (t, e) => {
6602
- const o = pe(t) - pe(e);
6603
- if (o === 0) {
6604
- if (t.pre && !e.pre)
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 && !t.pre)
6650
+ if (e.pre && !o.pre)
6607
6651
  return 1;
6608
6652
  }
6609
- return o;
6653
+ return t;
6610
6654
  };
6611
- function mt(t) {
6612
- ke = !1, be = !0, process.env.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()), M.sort(Zt);
6613
- const e = process.env.NODE_ENV !== "production" ? (o) => Ge(t, o) : Wt;
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 (B = 0; B < M.length; B++) {
6616
- const o = M[B];
6617
- if (o && o.active !== !1) {
6618
- if (process.env.NODE_ENV !== "production" && e(o))
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
- ze(o, null, 14);
6664
+ Ne(t, null, 14);
6621
6665
  }
6622
6666
  }
6623
6667
  } finally {
6624
- B = 0, M.length = 0, function(o) {
6625
- if (X.length) {
6626
- const n = [...new Set(X)];
6627
- if (X.length = 0, O)
6628
- return void O.push(...n);
6629
- for (O = n, process.env.NODE_ENV !== "production" && (o = o || /* @__PURE__ */ new Map()), O.sort((a, l) => pe(a) - pe(l)), q = 0; q < O.length; q++)
6630
- process.env.NODE_ENV !== "production" && Ge(o, O[q]) || O[q]();
6631
- O = null, q = 0;
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
- }(t), be = !1, (M.length || X.length) && mt(t);
6677
+ }(o), be = !1, (O.length || J.length) && yt(o);
6634
6678
  }
6635
6679
  }
6636
- function Ge(t, e) {
6637
- if (t.has(e)) {
6638
- const o = t.get(e);
6639
- if (o > 100) {
6640
- const n = e.ownerInstance, a = n && ht(n.type);
6641
- return Oe(`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;
6642
- }
6643
- t.set(e, o + 1);
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
- t.set(e, 1);
6689
+ o.set(e, 1);
6646
6690
  }
6647
6691
  const ae = /* @__PURE__ */ new Set();
6648
- process.env.NODE_ENV !== "production" && (Te().__VUE_HMR_RUNTIME__ = { createRecord: Se(function(t, e) {
6649
- return fe.has(t) ? !1 : (fe.set(t, { initialDef: ie(e), instances: /* @__PURE__ */ new Set() }), !0);
6650
- }), rerender: Se(function(t, e) {
6651
- const o = fe.get(t);
6652
- o && (o.initialDef.render = e, [...o.instances].forEach((n) => {
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(t, e) {
6656
- const o = fe.get(t);
6657
- if (!o)
6699
+ }), reload: Se(function(o, e) {
6700
+ const t = he.get(o);
6701
+ if (!t)
6658
6702
  return;
6659
- e = ie(e), He(o.initialDef, e);
6660
- const n = [...o.instances];
6703
+ e = ie(e), Ye(t.initialDef, e);
6704
+ const n = [...t.instances];
6661
6705
  for (const l of n) {
6662
- const r = ie(l.type);
6663
- ae.has(r) || (r !== o.initialDef && He(r, e), ae.add(r)), l.appContext.propsCache.delete(l.type), l.appContext.emitsCache.delete(l.type), l.appContext.optionsCache.delete(l.type), l.ceReload ? (ae.add(r), l.ceReload(e.styles), ae.delete(r)) : l.parent ? Xt(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.");
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
- }, Gt(a) ? X.push(...a) : O && O.includes(a, a.allowRecurse ? q + 1 : q) || X.push(a), dt();
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 fe = /* @__PURE__ */ new Map();
6672
- function ie(t) {
6673
- return De(e = t) && "__vccOpts" in e ? t.__vccOpts : t;
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 He(t, e) {
6677
- jt(t, e);
6678
- for (const o in t)
6679
- o === "__file" || o in e || delete t[o];
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(t) {
6682
- return (e, o) => {
6725
+ function Se(o) {
6726
+ return (e, t) => {
6683
6727
  try {
6684
- return t(e, o);
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 _e;
6734
+ let we;
6691
6735
  process.env.NODE_ENV;
6692
- let Ue = "__VUE_INSTANCE_SETTERS__";
6693
- (_e = Te()[Ue]) || (_e = Te()[Ue] = []), _e.push((t) => t);
6694
- const Jt = /(?:^|[-_])(\w)/g, Qt = (t) => t.replace(Jt, (e) => e.toUpperCase()).replace(/[-_]/g, "");
6695
- function ht(t, e = !0) {
6696
- return De(t) ? t.displayName || t.name : t.name || e && t.__name;
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 Ke(t, e, o = !1) {
6699
- let n = ht(e);
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 && t && t.parent) {
6748
+ if (!n && o && o.parent) {
6705
6749
  const a = (l) => {
6706
- for (const r in l)
6707
- if (l[r] === e)
6708
- return r;
6750
+ for (const i in l)
6751
+ if (l[i] === e)
6752
+ return i;
6709
6753
  };
6710
- n = a(t.components || t.parent.type.components) || a(t.appContext.components);
6754
+ n = a(o.components || o.parent.type.components) || a(o.appContext.components);
6711
6755
  }
6712
- return n ? Qt(n) : o ? "App" : "Anonymous";
6756
+ return n ? po(n) : t ? "App" : "Anonymous";
6713
6757
  }
6714
- function eo(t) {
6715
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
6758
+ function uo(o) {
6759
+ return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
6716
6760
  }
6717
- var Ye, Xe = { exports: {} };
6718
- function to() {
6719
- return Ye || (Ye = 1, Xe.exports = function() {
6720
- var t = 1e3, e = 6e4, o = 36e5, n = "millisecond", a = "second", l = "minute", r = "hour", m = "day", d = "week", c = "month", g = "quarter", x = "year", y = "date", _ = "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(h) {
6721
- var s = ["th", "st", "nd", "rd"], i = h % 100;
6722
- return "[" + h + (s[(i - 20) % 10] || s[i] || s[0]) + "]";
6723
- } }, ce = function(h, s, i) {
6724
- var u = String(h);
6725
- return !u || u.length >= s ? h : "" + Array(s + 1 - u.length).join(i) + h;
6726
- }, Pe = { s: ce, z: function(h) {
6727
- var s = -h.utcOffset(), i = Math.abs(s), u = Math.floor(i / 60), p = i % 60;
6728
- return (s <= 0 ? "+" : "-") + ce(u, 2, "0") + ":" + ce(p, 2, "0");
6729
- }, m: function h(s, i) {
6730
- if (s.date() < i.date())
6731
- return -h(i, s);
6732
- var u = 12 * (i.year() - s.year()) + (i.month() - s.month()), p = s.clone().add(u, c), f = i - p < 0, b = s.clone().add(u + (f ? -1 : 1), c);
6733
- return +(-(u + (i - p) / (f ? p - b : b - p)) || 0);
6734
- }, a: function(h) {
6735
- return h < 0 ? Math.ceil(h) || 0 : Math.floor(h);
6736
- }, p: function(h) {
6737
- return { M: c, y: x, w: d, d: m, D: y, h: r, m: l, s: a, ms: n, Q: g }[h] || String(h || "").toLowerCase().replace(/s$/, "");
6738
- }, u: function(h) {
6739
- return h === void 0;
6740
- } }, U = "en", P = {};
6741
- P[U] = I;
6742
- var ye = "$isDayjsObject", de = function(h) {
6743
- return h instanceof te || !(!h || !h[ye]);
6744
- }, ee = function h(s, i, u) {
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 (!s)
6747
- return U;
6748
- if (typeof s == "string") {
6749
- var f = s.toLowerCase();
6750
- P[f] && (p = f), i && (P[f] = i, p = f);
6751
- var b = s.split("-");
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 h(b[0]);
6797
+ return f(b[0]);
6754
6798
  } else {
6755
- var S = s.name;
6756
- P[S] = s, p = S;
6799
+ var _ = r.name;
6800
+ R[_] = r, p = _;
6757
6801
  }
6758
- return !u && p && (U = p), p || !u && U;
6759
- }, C = function(h, s) {
6760
- if (de(h))
6761
- return h.clone();
6762
- var i = typeof s == "object" ? s : {};
6763
- return i.date = h, i.args = arguments, new te(i);
6764
- }, v = Pe;
6765
- v.l = ee, v.i = de, v.w = function(h, s) {
6766
- return C(h, { locale: s.$L, utc: s.$u, x: s.$x, $offset: s.$offset });
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 te = function() {
6769
- function h(i) {
6770
- this.$L = ee(i.locale, null, !0), this.parse(i), this.$x = this.$x || i.x || {}, this[ye] = !0;
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 s = h.prototype;
6773
- return s.parse = function(i) {
6774
- this.$d = function(u) {
6775
- var p = u.date, f = u.utc;
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 S = b[2] - 1 || 0, w = (b[7] || "0").substring(0, 3);
6786
- return f ? new Date(Date.UTC(b[1], S, b[3] || 1, b[4] || 0, b[5] || 0, b[6] || 0, w)) : new Date(b[1], S, b[3] || 1, b[4] || 0, b[5] || 0, b[6] || 0, w);
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
- }(i), this.init();
6791
- }, s.init = function() {
6792
- var i = this.$d;
6793
- this.$y = i.getFullYear(), this.$M = i.getMonth(), this.$D = i.getDate(), this.$W = i.getDay(), this.$H = i.getHours(), this.$m = i.getMinutes(), this.$s = i.getSeconds(), this.$ms = i.getMilliseconds();
6794
- }, s.$utils = function() {
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
- }, s.isValid = function() {
6797
- return this.$d.toString() !== _;
6798
- }, s.isSame = function(i, u) {
6799
- var p = C(i);
6800
- return this.startOf(u) <= p && p <= this.endOf(u);
6801
- }, s.isAfter = function(i, u) {
6802
- return C(i) < this.startOf(u);
6803
- }, s.isBefore = function(i, u) {
6804
- return this.endOf(u) < C(i);
6805
- }, s.$g = function(i, u, p) {
6806
- return v.u(i) ? this[u] : this.set(p, i);
6807
- }, s.unix = function() {
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
- }, s.valueOf = function() {
6853
+ }, r.valueOf = function() {
6810
6854
  return this.$d.getTime();
6811
- }, s.startOf = function(i, u) {
6812
- var p = this, f = !!v.u(u) || u, b = v.p(i), S = function(W, F) {
6813
- var N = v.w(p.$u ? Date.UTC(p.$y, F, W) : new Date(p.$y, F, W), p);
6814
- return f ? N : N.endOf(m);
6815
- }, w = function(W, F) {
6816
- return v.w(p.toDate()[W].apply(p.toDate("s"), (f ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(F)), p);
6817
- }, T = this.$W, L = this.$M, V = this.$D, K = "set" + (this.$u ? "UTC" : "");
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 x:
6820
- return f ? S(1, 0) : S(31, 11);
6863
+ case y:
6864
+ return h ? _(1, 0) : _(31, 11);
6821
6865
  case c:
6822
- return f ? S(1, L) : S(0, L + 1);
6823
- case d:
6824
- var E = this.$locale().weekStart || 0, oe = (T < E ? T + 7 : T) - E;
6825
- return S(f ? V - oe : V + (6 - oe), L);
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 y:
6828
- return w(K + "Hours", 0);
6829
- case r:
6830
- return w(K + "Minutes", 1);
6871
+ case x:
6872
+ return C(X + "Hours", 0);
6873
+ case i:
6874
+ return C(X + "Minutes", 1);
6831
6875
  case l:
6832
- return w(K + "Seconds", 2);
6876
+ return C(X + "Seconds", 2);
6833
6877
  case a:
6834
- return w(K + "Milliseconds", 3);
6878
+ return C(X + "Milliseconds", 3);
6835
6879
  default:
6836
6880
  return this.clone();
6837
6881
  }
6838
- }, s.endOf = function(i) {
6839
- return this.startOf(i, !1);
6840
- }, s.$set = function(i, u) {
6841
- var p, f = v.p(i), b = "set" + (this.$u ? "UTC" : ""), S = (p = {}, p[m] = b + "Date", p[y] = b + "Date", p[c] = b + "Month", p[x] = b + "FullYear", p[r] = b + "Hours", p[l] = b + "Minutes", p[a] = b + "Seconds", p[n] = b + "Milliseconds", p)[f], w = f === m ? this.$D + (u - this.$W) : u;
6842
- if (f === c || f === x) {
6843
- var T = this.clone().set(y, 1);
6844
- T.$d[S](w), T.init(), this.$d = T.set(y, Math.min(this.$D, T.daysInMonth())).$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
- S && this.$d[S](w);
6890
+ _ && this.$d[_](C);
6847
6891
  return this.init(), this;
6848
- }, s.set = function(i, u) {
6849
- return this.clone().$set(i, u);
6850
- }, s.get = function(i) {
6851
- return this[v.p(i)]();
6852
- }, s.add = function(i, u) {
6853
- var p, f = this;
6854
- i = Number(i);
6855
- var b = v.p(u), S = function(L) {
6856
- var V = C(f);
6857
- return v.w(V.date(V.date() + Math.round(L * i)), f);
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 + i);
6861
- if (b === x)
6862
- return this.set(x, this.$y + i);
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 S(1);
6865
- if (b === d)
6866
- return S(7);
6867
- var w = (p = {}, p[l] = e, p[r] = o, p[a] = t, p)[b] || 1, T = this.$d.getTime() + i * w;
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
- }, s.subtract = function(i, u) {
6870
- return this.add(-1 * i, u);
6871
- }, s.format = function(i) {
6872
- var u = this, p = this.$locale();
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 f = i || "YYYY-MM-DDTHH:mm:ssZ", b = v.z(this), S = this.$H, w = this.$m, T = this.$M, L = p.weekdays, V = p.months, K = p.meridiem, E = function(F, N, ne, me) {
6876
- return F && (F[N] || F(u, f)) || ne[N].slice(0, me);
6877
- }, oe = function(F) {
6878
- return v.s(S % 12 || 12, F, "0");
6879
- }, W = K || function(F, N, ne) {
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 ne ? me.toLowerCase() : me;
6925
+ return le ? me.toLowerCase() : me;
6882
6926
  };
6883
- return f.replace($, function(F, N) {
6884
- return N || function(ne) {
6885
- switch (ne) {
6927
+ return h.replace($, function(F, q) {
6928
+ return q || function(le) {
6929
+ switch (le) {
6886
6930
  case "YY":
6887
- return String(u.$y).slice(-2);
6931
+ return String(d.$y).slice(-2);
6888
6932
  case "YYYY":
6889
- return v.s(u.$y, 4, "0");
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 E(p.monthsShort, T, V, 3);
6939
+ return W(p.monthsShort, T, V, 3);
6896
6940
  case "MMMM":
6897
- return E(V, T);
6941
+ return W(V, T);
6898
6942
  case "D":
6899
- return u.$D;
6943
+ return d.$D;
6900
6944
  case "DD":
6901
- return v.s(u.$D, 2, "0");
6945
+ return v.s(d.$D, 2, "0");
6902
6946
  case "d":
6903
- return String(u.$W);
6947
+ return String(d.$W);
6904
6948
  case "dd":
6905
- return E(p.weekdaysMin, u.$W, L, 2);
6949
+ return W(p.weekdaysMin, d.$W, L, 2);
6906
6950
  case "ddd":
6907
- return E(p.weekdaysShort, u.$W, L, 3);
6951
+ return W(p.weekdaysShort, d.$W, L, 3);
6908
6952
  case "dddd":
6909
- return L[u.$W];
6953
+ return L[d.$W];
6910
6954
  case "H":
6911
- return String(S);
6955
+ return String(_);
6912
6956
  case "HH":
6913
- return v.s(S, 2, "0");
6957
+ return v.s(_, 2, "0");
6914
6958
  case "h":
6915
- return oe(1);
6959
+ return ne(1);
6916
6960
  case "hh":
6917
- return oe(2);
6961
+ return ne(2);
6918
6962
  case "a":
6919
- return W(S, w, !0);
6963
+ return j(_, C, !0);
6920
6964
  case "A":
6921
- return W(S, w, !1);
6965
+ return j(_, C, !1);
6922
6966
  case "m":
6923
- return String(w);
6967
+ return String(C);
6924
6968
  case "mm":
6925
- return v.s(w, 2, "0");
6969
+ return v.s(C, 2, "0");
6926
6970
  case "s":
6927
- return String(u.$s);
6971
+ return String(d.$s);
6928
6972
  case "ss":
6929
- return v.s(u.$s, 2, "0");
6973
+ return v.s(d.$s, 2, "0");
6930
6974
  case "SSS":
6931
- return v.s(u.$ms, 3, "0");
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
- }, s.utcOffset = function() {
6982
+ }, r.utcOffset = function() {
6939
6983
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
6940
- }, s.diff = function(i, u, p) {
6941
- var f, b = this, S = v.p(u), w = C(i), T = (w.utcOffset() - this.utcOffset()) * e, L = this - w, V = function() {
6942
- return v.m(b, w);
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 (S) {
6945
- case x:
6946
- f = V() / 12;
6988
+ switch (_) {
6989
+ case y:
6990
+ h = V() / 12;
6947
6991
  break;
6948
6992
  case c:
6949
- f = V();
6993
+ h = V();
6950
6994
  break;
6951
6995
  case g:
6952
- f = V() / 3;
6996
+ h = V() / 3;
6953
6997
  break;
6954
- case d:
6955
- f = (L - T) / 6048e5;
6998
+ case u:
6999
+ h = (L - T) / 6048e5;
6956
7000
  break;
6957
7001
  case m:
6958
- f = (L - T) / 864e5;
7002
+ h = (L - T) / 864e5;
6959
7003
  break;
6960
- case r:
6961
- f = L / o;
7004
+ case i:
7005
+ h = L / t;
6962
7006
  break;
6963
7007
  case l:
6964
- f = L / e;
7008
+ h = L / e;
6965
7009
  break;
6966
7010
  case a:
6967
- f = L / t;
7011
+ h = L / o;
6968
7012
  break;
6969
7013
  default:
6970
- f = L;
7014
+ h = L;
6971
7015
  }
6972
- return p ? f : v.a(f);
6973
- }, s.daysInMonth = function() {
7016
+ return p ? h : v.a(h);
7017
+ }, r.daysInMonth = function() {
6974
7018
  return this.endOf(c).$D;
6975
- }, s.$locale = function() {
6976
- return P[this.$L];
6977
- }, s.locale = function(i, u) {
6978
- if (!i)
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(), f = ee(i, u, !0);
6981
- return f && (p.$L = f), p;
6982
- }, s.clone = function() {
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
- }, s.toDate = function() {
7028
+ }, r.toDate = function() {
6985
7029
  return new Date(this.valueOf());
6986
- }, s.toJSON = function() {
7030
+ }, r.toJSON = function() {
6987
7031
  return this.isValid() ? this.toISOString() : null;
6988
- }, s.toISOString = function() {
7032
+ }, r.toISOString = function() {
6989
7033
  return this.$d.toISOString();
6990
- }, s.toString = function() {
7034
+ }, r.toString = function() {
6991
7035
  return this.$d.toUTCString();
6992
- }, h;
6993
- }(), ve = te.prototype;
6994
- return C.prototype = ve, [["$ms", n], ["$s", a], ["$m", l], ["$H", r], ["$W", m], ["$M", c], ["$y", x], ["$D", y]].forEach(function(h) {
6995
- ve[h[1]] = function(s) {
6996
- return this.$g(s, h[0], h[1]);
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
- }), C.extend = function(h, s) {
6999
- return h.$i || (h(s, te, C), h.$i = !0), C;
7000
- }, C.locale = ee, C.isDayjs = de, C.unix = function(h) {
7001
- return C(1e3 * h);
7002
- }, C.en = P[U], C.Ls = P, C.p = {}, C;
7003
- }()), Xe.exports;
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
- eo(to());
7006
- var ft = typeof global == "object" && global && global.Object === Object && global, oo = typeof self == "object" && self && self.Object === Object && self, R = ft || oo || Function("return this")(), J = R.Symbol, bt = Object.prototype, no = bt.hasOwnProperty, lo = bt.toString, re = J ? J.toStringTag : void 0, ao = Object.prototype.toString, Ze = J ? J.toStringTag : void 0;
7007
- function xe(t) {
7008
- return t == null ? t === void 0 ? "[object Undefined]" : "[object Null]" : Ze && Ze in Object(t) ? function(e) {
7009
- var o = no.call(e, re), n = e[re];
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[re] = void 0;
7055
+ e[se] = void 0;
7012
7056
  var a = !0;
7013
- } catch (r) {
7057
+ } catch (i) {
7014
7058
  }
7015
- var l = lo.call(e);
7016
- return a && (o ? e[re] = n : delete e[re]), l;
7017
- }(t) : function(e) {
7018
- return ao.call(e);
7019
- }(t);
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 xt(t) {
7022
- return t != null && typeof t == "object";
7065
+ function _t(o) {
7066
+ return o != null && typeof o == "object";
7023
7067
  }
7024
- function yt(t) {
7025
- var e = typeof t;
7026
- return t != null && (e == "object" || e == "function");
7068
+ function St(o) {
7069
+ var e = typeof o;
7070
+ return o != null && (e == "object" || e == "function");
7027
7071
  }
7028
- function io(t) {
7029
- if (!yt(t))
7072
+ function yo(o) {
7073
+ if (!St(o))
7030
7074
  return !1;
7031
- var e = xe(t);
7075
+ var e = ye(o);
7032
7076
  return e == "[object Function]" || e == "[object GeneratorFunction]" || e == "[object AsyncFunction]" || e == "[object Proxy]";
7033
7077
  }
7034
- var Je, we = R["__core-js_shared__"], Qe = (Je = /[^.]+$/.exec(we && we.keys && we.keys.IE_PROTO || "")) ? "Symbol(src)_1." + Je : "", ro = Function.prototype.toString;
7035
- function G(t) {
7036
- if (t != null) {
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 ro.call(t);
7082
+ return xo.call(o);
7039
7083
  } catch (e) {
7040
7084
  }
7041
7085
  try {
7042
- return t + "";
7086
+ return o + "";
7043
7087
  } catch (e) {
7044
7088
  }
7045
7089
  }
7046
7090
  return "";
7047
7091
  }
7048
- var so = /^\[object .+?Constructor\]$/, po = Function.prototype, uo = Object.prototype, co = po.toString, mo = uo.hasOwnProperty, ho = RegExp("^" + co.call(mo).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
7049
- function fo(t) {
7050
- return !(!yt(t) || (e = t, Qe && Qe in e)) && (io(t) ? ho : so).test(G(t));
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 H(t, e) {
7054
- var o = function(n, a) {
7097
+ function K(o, e) {
7098
+ var t = function(n, a) {
7055
7099
  return n == null ? void 0 : n[a];
7056
- }(t, e);
7057
- return fo(o) ? o : void 0;
7100
+ }(o, e);
7101
+ return Ao(t) ? t : void 0;
7058
7102
  }
7059
- var $e = H(R, "WeakMap");
7103
+ var Ie = K(z, "WeakMap");
7060
7104
  (function() {
7061
7105
  try {
7062
- var t = H(Object, "defineProperty");
7063
- return t({}, "", {}), t;
7106
+ var o = K(Object, "defineProperty");
7107
+ return o({}, "", {}), o;
7064
7108
  } catch (e) {
7065
7109
  }
7066
7110
  })();
7067
- function et(t) {
7068
- return xt(t) && xe(t) == "[object Arguments]";
7111
+ function nt(o) {
7112
+ return _t(o) && ye(o) == "[object Arguments]";
7069
7113
  }
7070
- var vt = Object.prototype, bo = vt.hasOwnProperty, xo = vt.propertyIsEnumerable;
7071
- et(function() {
7114
+ var wt = Object.prototype, To = wt.hasOwnProperty, Lo = wt.propertyIsEnumerable;
7115
+ nt(function() {
7072
7116
  return arguments;
7073
7117
  }());
7074
- var gt = typeof exports == "object" && exports && !exports.nodeType && exports, tt = gt && typeof module == "object" && module && !module.nodeType && module, ot = tt && tt.exports === gt ? R.Buffer : void 0;
7075
- ot && ot.isBuffer;
7076
- var St = typeof exports == "object" && exports && !exports.nodeType && exports, se = St && typeof module == "object" && module && !module.nodeType && module, Ce = se && se.exports === St && ft.process, Q = function() {
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 t = se && se.require && se.require("util").types;
7079
- return t || Ce && Ce.binding && Ce.binding("util");
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
- Q && Q.isTypedArray;
7084
- H(Object, "create");
7085
- var Ie = H(R, "Map"), Fe = H(R, "DataView"), Ve = H(R, "Promise"), Me = H(R, "Set"), nt = "[object Map]", lt = "[object Promise]", at = "[object Set]", it = "[object WeakMap]", rt = "[object DataView]", yo = G(Fe), vo = G(Ie), go = G(Ve), So = G(Me), _o = G($e), Y = xe;
7086
- (Fe && Y(new Fe(new ArrayBuffer(1))) != rt || Ie && Y(new Ie()) != nt || Ve && Y(Ve.resolve()) != lt || Me && Y(new Me()) != at || $e && Y(new $e()) != it) && (Y = function(t) {
7087
- var e = xe(t), o = e == "[object Object]" ? t.constructor : void 0, n = o ? G(o) : "";
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 yo:
7091
- return rt;
7092
- case vo:
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
- R.Uint8Array;
7104
- var st = J ? J.prototype : void 0;
7105
- st && st.valueOf;
7106
- Q && Q.isMap;
7107
- Q && Q.isSet;
7108
- const wo = (t, e) => {
7109
- if (typeof t == "string" && typeof e == "string")
7110
- return t.toLocaleLowerCase().includes(e.toLocaleLowerCase());
7111
- if (typeof t == "string" && Array.isArray(e)) {
7112
- const o = e.length;
7113
- for (let n = 0; n < o; 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" && t.toLocaleLowerCase().includes(a.toLocaleLowerCase()))
7159
+ if (typeof a == "string" && o.toLocaleLowerCase().includes(a.toLocaleLowerCase()))
7116
7160
  return !0;
7117
7161
  }
7118
7162
  }
7119
7163
  return !1;
7120
- }, Co = (t, e) => Object.prototype.hasOwnProperty.call(t, e);
7121
- const Ao = {
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(t) {
7206
+ onSelectChange(o) {
7163
7207
  if (this.graphic) {
7164
- const e = this.componentList.find((o) => o.type === t);
7208
+ const e = this.componentList.find((t) => t.type === o);
7165
7209
  if (e) {
7166
- const o = Z(this.selectedComponent), { events: n, dataType: a, dataFieldConfigType: l, id: r, keyName: m, top: d, left: c, width: g, height: x, zIndex: y } = o, _ = {}, k = ["type", "graphicType", "data"];
7167
- for (const I in o)
7168
- !k.includes(I) && Co(e, I) && (_[I] = Z(o[I]));
7169
- let $ = le(D(D({}, e), _), {
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: r,
7216
+ id: i,
7173
7217
  keyName: m,
7174
- top: d,
7218
+ top: u,
7175
7219
  left: c,
7176
7220
  width: g,
7177
- height: x,
7178
- zIndex: y
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", t);
7184
- this.$emit("update:value", t);
7227
+ this.$emit("change", o);
7228
+ this.$emit("update:value", o);
7185
7229
  }
7186
7230
  }
7187
7231
  };
7188
- var To = function() {
7189
- var e = this, o = e._self._c;
7190
- return o("a-select", { attrs: { value: e.value }, on: { change: e.onSelectChange } }, e._l(e.computedOptions, function(n) {
7191
- return o("a-select-option", { key: n.value, attrs: { value: n.value, disabled: n.disabled } }, [e._v(" " + e._s(n.label) + " ")]);
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
- }, Lo = [], ko = /* @__PURE__ */ A(
7194
- Ao,
7195
- To,
7196
- Lo,
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 $o = ko.exports;
7204
- const Io = {
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(t) {
7227
- this.$emit("change", t);
7270
+ onSwitchChange(o) {
7271
+ this.$emit("change", o);
7228
7272
  }
7229
7273
  }
7230
7274
  };
7231
- var Fo = function() {
7232
- var e = this, o = e._self._c;
7233
- return o("div", { style: { width: `${e.width}px` } }, [o("a-switch", { attrs: { disabled: e.disabled, checked: e.value }, on: { change: e.onSwitchChange } })], 1);
7234
- }, Vo = [], Mo = /* @__PURE__ */ A(
7235
- Io,
7236
- Fo,
7237
- Vo,
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 Do = Mo.exports;
7245
- const Oo = {
7288
+ const Wo = Eo.exports;
7289
+ const jo = {
7246
7290
  name: "ColorPicker",
7247
7291
  components: {
7248
- SketchPicker: Tt
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(t) {
7291
- t && (this.currentColor = t);
7334
+ value(o) {
7335
+ o && (this.currentColor = o);
7292
7336
  }
7293
7337
  },
7294
7338
  methods: {
7295
- handleVisibleChange(t) {
7296
- this.popoverVisible = t;
7339
+ handleVisibleChange(o) {
7340
+ this.popoverVisible = o;
7297
7341
  },
7298
- handleColorChange({ hex: t }) {
7299
- this.currentColor = t, this.$emit("input", t), this.$emit("change", t), this.$emit("update:value", t);
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 zo = function() {
7304
- var e = this, o = e._self._c;
7305
- return o("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() {
7306
- return [o("div", { staticClass: "name", on: { click: function(n) {
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
- } } }, [o("sketch-picker", { attrs: { value: { hex: e.currentColor }, disableAlpha: !0, presetColors: e.presetColors }, on: { input: e.handleColorChange } })], 1)];
7309
- }, proxy: !0 }]) }, [o("div", { staticClass: "popover-trigger", style: { backgroundColor: e.currentColor, height: e.size + "px", width: e.size + "px" } })]);
7310
- }, Ro = [], Po = /* @__PURE__ */ A(
7311
- Oo,
7312
- zo,
7313
- Ro,
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 Re = Po.exports;
7321
- const No = {
7364
+ const ze = Uo.exports;
7365
+ const Ko = {
7322
7366
  name: "ColorPick",
7323
7367
  components: {
7324
- PickColors: Re
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(t) {
7349
- this.$emit("change", t), this.$emit("input", t), this.$emit("update:value", t);
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(t) {
7357
- this.colorValue = t.hex;
7400
+ onChangColor(o) {
7401
+ this.colorValue = o.hex;
7358
7402
  }
7359
7403
  }
7360
7404
  };
7361
- var qo = function() {
7362
- var e = this, o = e._self._c;
7363
- return o("div", { staticClass: "color-pick" }, [o("a-input", { staticClass: "input", staticStyle: { flex: "1" }, attrs: { disabled: e.disabled }, model: { value: e.colorValue, callback: function(n) {
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() : o("pick-colors", { staticClass: "pick-colors", attrs: { size: 25 }, model: { value: e.colorValue, callback: function(n) {
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
- }, Bo = [], Eo = /* @__PURE__ */ A(
7369
- No,
7370
- qo,
7371
- Bo,
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 = Eo.exports;
7379
- const Wo = {
7422
+ const ue = Zo.exports;
7423
+ const Jo = {
7380
7424
  name: "ColorPickerGroup",
7381
7425
  components: {
7382
- ColorPick: Re
7426
+ ColorPick: ze
7383
7427
  },
7384
7428
  props: {
7385
7429
  // 当前颜色值
@@ -7422,28 +7466,28 @@ const Wo = {
7422
7466
  }
7423
7467
  }
7424
7468
  };
7425
- var jo = function() {
7426
- var e = this, o = e._self._c;
7427
- return o("div", { staticClass: "pick-color-group" }, [e._l(e.value, function(n, a) {
7428
- return o("ColorPick", { key: a, staticStyle: { margin: "5px" }, attrs: { size: e.size }, on: { change: e.handleColorChange }, model: { value: e.value[a], callback: function(l) {
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
- }), o("div", { staticClass: "popover-trigger", style: { backgroundColor: "#fff", height: e.size + "px", width: e.size + "px", margin: "5px" }, on: { click: e.addColor } }, [e._v("+")])], 2);
7432
- }, Go = [], Ho = /* @__PURE__ */ A(
7433
- Wo,
7434
- jo,
7435
- Go,
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 Uo = Ho.exports;
7443
- const Ko = {
7486
+ const on = tn.exports;
7487
+ const nn = {
7444
7488
  name: "ColorGroupPick",
7445
7489
  components: {
7446
- PickColors: Uo
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(t) {
7464
- this.$emit("change", t);
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 Yo = function() {
7472
- var e = this, o = e._self._c;
7473
- return o("div", { staticClass: "color-group-pick" }, [o("pick-colors", { attrs: { value: e.value, theme: e.theme, "add-color": "", max: e.max }, on: { change: e.onColorsChange, "overflow-max": e.onOverflowMax } })], 1);
7474
- }, Xo = [], Zo = /* @__PURE__ */ A(
7475
- Ko,
7476
- Yo,
7477
- Xo,
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 Jo = Zo.exports;
7485
- const Qo = {
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(t) {
7500
- this.$emit("change", t);
7543
+ onChange(o) {
7544
+ this.$emit("change", o);
7501
7545
  }
7502
7546
  }
7503
7547
  };
7504
- var en = function() {
7505
- var e = this, o = e._self._c;
7506
- return o("a-row", [o("a-col", { attrs: { span: 16 } }, [o("a-slider", { attrs: { value: e.value, min: 0, max: 1, step: 0.1 }, on: { change: e.onChange } })], 1), o("a-col", { staticStyle: { "padding-left": "10px" }, attrs: { span: 8 } }, [o("a-input-number", { staticStyle: { width: "100%" }, attrs: { value: e.value, min: 0, max: 1, step: 0.1 }, on: { change: e.onChange } })], 1)], 1);
7507
- }, tn = [], on = /* @__PURE__ */ A(
7508
- Qo,
7509
- en,
7510
- tn,
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 nn = on.exports;
7518
- const ln = {
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(t) {
7535
- this.$emit("change", t.target.value);
7578
+ onTextareaChange(o) {
7579
+ this.$emit("change", o.target.value);
7536
7580
  }
7537
7581
  }
7538
7582
  };
7539
- var an = function() {
7540
- var e = this, o = e._self._c;
7541
- return o("a-textarea", { attrs: { value: e.value, disabled: e.disabled, autoSize: {
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
- }, rn = [], sn = /* @__PURE__ */ A(
7545
- ln,
7546
- an,
7547
- rn,
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 pn = sn.exports, _t = "";
7555
- const un = {
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(t) {
7582
- this.dataList = JSON.parse(JSON.stringify(t || []));
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(t) {
7600
- this.dataList.splice(t, 1), this.$emit("change", this.dataList);
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(t, e) {
7606
- t.color = e, this.$emit("change", this.dataList);
7649
+ setColor(o, e) {
7650
+ o.color = e, this.$emit("change", this.dataList);
7607
7651
  }
7608
7652
  }
7609
7653
  };
7610
- var cn = function() {
7611
- var e = this, o = e._self._c;
7612
- return o("div", { staticClass: "mark-area-config" }, [o("div", { staticClass: "add" }, [e.isVue3 ? o("a-tooltip", { attrs: { title: e.indexTip, overlayClassName: "question-tooltip", color: "#fff" } }, [o("question-circle-outlined", { staticClass: "icon", staticStyle: { "margin-right": "207px", color: "#989898", "font-size": "18px", cursor: "pointer" } })], 1) : e._e(), e.isVue3 ? o("appstore-add-outlined", { staticClass: "icon", on: { click: e.onAdd } }) : o("span", { staticClass: "icon", on: { click: e.onAdd } }, [e._v("+")])], 1), e._l(e.dataList, function(n, a) {
7613
- return o("div", { key: a, staticClass: "config-item" }, [o("div", { staticClass: "item" }, [o("div", { staticStyle: { display: "flex", "justify-content": "space-between" } }, [o("span", [e._v("标域" + e._s(Number(a) + 1) + ":")]), n.isGenerate ? e._e() : o("span", { staticStyle: { color: "red", cursor: "pointer" }, on: { click: function(l) {
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("删除")])]), o("div", { staticStyle: { "margin-top": "10px" } }, [o("a-input-group", { staticStyle: { display: "flex", "margin-bottom": "12px" }, attrs: { compact: "" } }, [o("a-input", { attrs: { placeholder: "开始坐标", disabled: !!n.isGenerate }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
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" } }), o("div", { staticStyle: { padding: "0 5px" } }), o("a-input", { attrs: { placeholder: "开始坐标", disabled: !!n.isGenerate }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
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), o("a-input-group", { staticStyle: { display: "flex", "margin-bottom": "12px" }, attrs: { compact: "" } }, [o("a-input", { attrs: { placeholder: "结束坐标", disabled: !!n.isGenerate }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
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" } }), o("div", { staticStyle: { padding: "0 5px" } }), o("a-input", { attrs: { placeholder: "结束坐标", disabled: !!n.isGenerate }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
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), o("div", [e._v("标域颜色:")]), o("color-pick", { attrs: { value: n.color }, on: { change: function(l) {
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
- } } }), o("div", { staticStyle: { "margin-top": "12px" } }, [e._v("标域文字:")]), o("a-input", { on: { change: e.onInputChange }, model: { value: n.label, callback: function(l) {
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
- }, dn = [], mn = /* @__PURE__ */ A(
7638
- un,
7639
- cn,
7640
- dn,
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 hn = mn.exports;
7648
- const fn = {
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((t) => ({ label: t.keyName, value: t.keyName })),
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(t) {
7755
+ handler(o) {
7712
7756
  if (!this.selectedComponent)
7713
7757
  return;
7714
- this.dataList = JSON.parse(JSON.stringify(t || []));
7715
- const { xAxisMarkLineValue: e, yAxisMarkLineValue: o, axisMarkArea: n = [] } = this.selectedComponent;
7716
- if ((e == null ? void 0 : e.length) === 1 && (o == null ? void 0 : o.length) === 1 && e[0].value && o[0].value) {
7717
- const a = !!n.find((c) => c.isGenerate), l = ["{xMin}"], r = ["{yMin}"], m = {
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 o)
7727
- c.value && r.push(m[c.value] || c.value);
7728
- r.push("{yMax}");
7729
- let d = 0;
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 && r.forEach((x, y) => {
7732
- if (y < r.length - 1) {
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: x,
7779
+ startY: y,
7736
7780
  endX: l[g + 1],
7737
- endY: r[y + 1],
7781
+ endY: i[x + 1],
7738
7782
  color: "",
7739
7783
  label: "",
7740
7784
  isGenerate: !0
7741
7785
  };
7742
- a ? (_.color = n[d].color, _.label = n[d].label, n[d++] = _) : n.unshift(_);
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(t) {
7765
- this.dataList.splice(t, 1), this.$emit("change", this.dataList);
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(t, e) {
7771
- t.color = e, this.$emit("change", this.dataList);
7814
+ setColor(o, e) {
7815
+ o.color = e, this.$emit("change", this.dataList);
7772
7816
  },
7773
- setLineColor(t, e) {
7774
- t.lineColor = e, this.$emit("change", this.dataList);
7817
+ setLineColor(o, e) {
7818
+ o.lineColor = e, this.$emit("change", this.dataList);
7775
7819
  },
7776
- setLabelColor(t, e) {
7777
- t.labelColor = e, this.$emit("change", this.dataList);
7820
+ setLabelColor(o, e) {
7821
+ o.labelColor = e, this.$emit("change", this.dataList);
7778
7822
  },
7779
- setLineType(t, e) {
7780
- t.lineType = e, this.$emit("change", this.dataList);
7823
+ setLineType(o, e) {
7824
+ o.lineType = e, this.$emit("change", this.dataList);
7781
7825
  },
7782
- onClickMenuItem(t, e) {
7783
- let o = t.key;
7784
- o === "customValue" && (o = ""), e.type = t.key, e.value = o, this.$emit("change", this.dataList);
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(t, e) {
7787
- e.type = t, t === "customValue" && (e.value = ""), this.$emit("change", this.dataList);
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 bn = function() {
7792
- var e = this, o = e._self._c;
7793
- return o("div", { staticClass: "mark-link-config" }, [o("div", { staticClass: "add" }, [e.isVue3 ? o("a-tooltip", { attrs: { title: e.indexTip, overlayClassName: "question-tooltip", color: "#fff" } }, [o("question-circle-outlined", { staticClass: "icon", staticStyle: { "margin-right": "207px", color: "#989898", "font-size": "18px", cursor: "pointer" } })], 1) : e._e(), e.isVue3 ? o("appstore-add-outlined", { staticClass: "icon", on: { click: e.onAdd } }) : o("span", { staticClass: "icon", on: { click: e.onAdd } }, [e._v("+")])], 1), e._l(e.dataList, function(n, a) {
7794
- return o("div", { key: a, staticClass: "config-item" }, [o("div", { staticClass: "item" }, [o("div", { staticStyle: { display: "flex", "justify-content": "space-between" } }, [o("span", [e._v("标线" + e._s(Number(a) + 1) + ":")]), o("span", { staticStyle: { color: "red", cursor: "pointer" }, on: { click: function(l) {
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("删除")])]), o("div", { staticStyle: { "margin-top": "10px" } }, [o("div", { staticClass: "item-row" }, [o("div", { staticClass: "title" }, [e._v("值:")]), !n.type || n.type === "customValue" ? o("a-input", { staticStyle: { width: "100%" }, attrs: { placeholder: "请输入" }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonAfter", fn: function() {
7797
- return [o("a-dropdown", { attrs: { trigger: ["click"] }, scopedSlots: e._u([{ key: "overlay", fn: function() {
7798
- return [o("a-menu", { on: { click: function(l) {
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 o("a-menu-item", { key: l.value }, [e._v(e._s(l.label))]);
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 ? o("down-outlined", { staticStyle: { color: "#aaa" } }) : o("span", { staticStyle: { "font-size": "14px" } }, [e._v("⌵")])], 1)];
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" } }) : o("a-select", { staticStyle: { width: "100%" }, attrs: { options: e.calcList }, on: { change: function(l) {
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), o("div", { staticClass: "item-row" }, [o("div", { staticClass: "title" }, [e._v("文本:")]), o("a-input", { staticStyle: { width: "100%" }, attrs: { placeholder: "请输入" }, on: { change: e.onInputChange }, model: { value: n.label, callback: function(l) {
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), o("div", { staticClass: "item-row" }, [o("div", { staticClass: "title" }, [e._v("文本水平偏移量:")]), o("a-input-number", { staticStyle: { width: "100%" }, attrs: { placeholder: "请输入", controls: !1 }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonAfter", fn: function() {
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), o("div", { staticClass: "item-row" }, [o("div", { staticClass: "title" }, [e._v("文本垂直偏移量:")]), o("a-input-number", { staticStyle: { width: "100%" }, attrs: { placeholder: "请输入", controls: !1 }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonAfter", fn: function() {
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), o("div", { staticClass: "item-row" }, [o("div", { staticClass: "title" }, [e._v("标线类型:")]), o("a-select", { staticStyle: { width: "100%" }, attrs: { options: e.lineTypeOptions }, on: { change: function(l) {
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), o("div", { staticClass: "item-row" }, [o("div", { staticClass: "title" }, [e._v("标线颜色:")]), o("color-pick", { attrs: { value: n.lineColor || "" }, on: { change: function(l) {
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), o("div", { staticClass: "item-row" }, [o("div", { staticClass: "title" }, [e._v("文本颜色:")]), o("color-pick", { attrs: { value: n.labelColor || "" }, on: { change: function(l) {
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
- }, xn = [], yn = /* @__PURE__ */ A(
7831
- fn,
7832
- bn,
7833
- xn,
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 vn = yn.exports;
7841
- const gn = {
7884
+ const In = $n.exports;
7885
+ const Fn = {
7842
7886
  name: "FormGroup",
7843
7887
  components: {
7844
- PickColors: Re,
7845
- InputNumber: ut
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 (t) => t || "value";
7919
+ return (o) => o || "value";
7876
7920
  },
7877
7921
  useComponentType() {
7878
- return (t) => ({
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
- })[t];
7928
+ })[o];
7885
7929
  },
7886
7930
  myValue: {
7887
7931
  get() {
7888
7932
  return this.value;
7889
7933
  },
7890
- set(t) {
7891
- this.$emit("change", t);
7934
+ set(o) {
7935
+ this.$emit("change", o);
7892
7936
  }
7893
7937
  },
7894
7938
  newFormat() {
7895
- const t = this.selectedComponent.requestType || 0, e = this.selectedComponent.dataType || "", o = this.selectedComponent.DataSetFieldOptions || [], n = [...this.format];
7896
- return t === 1 && e === "request" ? n.forEach((a, l) => {
7897
- a.label === "索引" && (n[l] = le(D({}, 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: o.map((r) => ({
7901
- label: r,
7902
- value: r
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] = le(D({}, 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(t, e, o) {
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 = t == null ? void 0 : t.target, r = (l == null ? void 0 : l.value) != null ? l == null ? void 0 : l.value : t;
7919
- o ? n[e][o] = r : n[e] = r, this.myValue = n;
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 o;
7924
- const t = (o = this.value) == null ? void 0 : o.slice();
7925
- if (!Array.isArray(t))
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 = t.length;
7971
+ const e = o.length;
7928
7972
  if (this.max === -1 || this.max > e) {
7929
- const n = t[0];
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((r) => {
7933
- l[r] = "";
7934
- }), t.push(l);
7976
+ a.forEach((i) => {
7977
+ l[i] = "";
7978
+ }), o.push(l);
7935
7979
  } else
7936
- typeof n == "string" && t.push(n);
7937
- this.myValue = t;
7980
+ typeof n == "string" && o.push(n);
7981
+ this.myValue = o;
7938
7982
  } else
7939
7983
  this.$message.warn("已达到最大上限");
7940
7984
  },
7941
- onDelete(t) {
7942
- var o;
7943
- const e = (o = this.value) == null ? void 0 : o.slice();
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(t, 1), this.myValue = e;
7993
+ e.splice(o, 1), this.myValue = e;
7950
7994
  }
7951
7995
  },
7952
- isShow(t, e) {
7953
- let o = !0;
7954
- if (t.show) {
7955
- const { match: n, value: a } = t.show;
7956
- typeof a == "string" && e[n] === a || Array.isArray(a) && a.includes(e[n]) ? o = !0 : o = !1;
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 o;
8002
+ return t;
7959
8003
  }
7960
8004
  }
7961
8005
  };
7962
- var Sn = function() {
7963
- var e = this, o = e._self._c;
7964
- return o("div", { staticClass: "form-group" }, [e.isVue3 ? o("appstore-add-outlined", { staticClass: "icon add", on: { click: e.onAdd } }) : o("span", { staticClass: "icon add", on: { click: e.onAdd } }, [e._v("+")]), e.isVue3 ? o("draggable", { staticClass: "form", attrs: { "item-key": "id" }, scopedSlots: e._u([{ key: "item", fn: function({ element: n, index: a }) {
7965
- return [o("div", { staticClass: "form-row" }, e._l(e.newFormat, function(l, r) {
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 o("div", { directives: [{ name: "show", rawName: "v-show", value: e.isShow(l, n), expression: "isShow(f, e)" }], key: r, staticClass: "form-item" }, [Array.isArray(l.label) ? [o("span", { staticClass: "label" }, [e._v(" " + e._s(l.useLabelIndex ? l.label[a] + (a + 1) : l.label[a]) + " ")])] : o("span", { staticClass: "label" }, [e._v(" " + e._s(l.useLabelIndex ? l.label + (a + 1) : l.label) + " ")]), o(e.useComponentType(l.type), e._b(e._b({ tag: "component", staticClass: "value", style: {
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(d) {
7970
- return e.onValueChange(d, a, l.value);
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" } }) : o("draggable", { staticClass: "form", attrs: { list: e.myValue, "item-key": "id" }, model: { value: e.myValue, callback: function(n) {
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 [o("div", { staticClass: "form-row" }, e._l(e.newFormat, function(l, r) {
8022
+ return [t("div", { staticClass: "form-row" }, e._l(e.newFormat, function(l, i) {
7979
8023
  var m;
7980
- return o("div", { directives: [{ name: "show", rawName: "v-show", value: e.isShow(l, n), expression: "isShow(f, e)" }], key: r, staticClass: "form-item" }, [Array.isArray(l.label) ? [o("span", { staticClass: "label" }, [e._v(" " + e._s(l.useLabelIndex ? l.label[a] + (a + 1) : l.label[a]) + " ")])] : o("span", { staticClass: "label" }, [e._v(" " + e._s(l.useLabelIndex ? l.label + (a + 1) : l.label) + " ")]), o(e.useComponentType(l.type), e._b(e._b({ tag: "component", staticClass: "value", style: {
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(d) {
7983
- return e.onValueChange(d, a, l.value);
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), o("div", { staticClass: "icon-group" }, e._l(e.myValue, function(n, a) {
7987
- return o("div", { key: a, staticClass: "icon-item" }, [e.isVue3 ? o("minus-circle-outlined", { staticClass: "icon delete", on: { click: function(l) {
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
- } } }) : o("span", { staticClass: "icon delete", staticStyle: { "padding-bottom": "12px" }, on: { click: function(l) {
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
- }, _n = [], wn = /* @__PURE__ */ A(
7994
- gn,
7995
- Sn,
7996
- _n,
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 Cn = wn.exports;
8004
- const An = {
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(t) {
8020
- this.$emit("change", t);
8063
+ set(o) {
8064
+ this.$emit("change", o);
8021
8065
  }
8022
8066
  },
8023
8067
  options() {
8024
8068
  var e;
8025
- const { indicators: t = [] } = ((e = this.selectedComponent) == null ? void 0 : e.graphicConfig) || {};
8026
- return t.map((o) => ({
8027
- label: o.label,
8028
- value: o.label
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 Tn = function() {
8034
- var e = this, o = e._self._c;
8035
- return o("a-select", { attrs: { options: e.options }, model: { value: e.myValue, callback: function(n) {
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
- }, Ln = [], kn = /* @__PURE__ */ A(
8039
- An,
8040
- Tn,
8041
- Ln,
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 $n = kn.exports;
8049
- const In = [
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
- ], Fn = {
8114
+ ], En = {
8071
8115
  name: "VisualColorConfig",
8072
8116
  components: {
8073
- AppstoreAddOutlined: _t,
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: In
8134
+ ruleOptions: Bn
8091
8135
  };
8092
8136
  },
8093
8137
  watch: {
8094
8138
  value: {
8095
- handler(t) {
8096
- this.dataList = Z(t || []);
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(t) {
8113
- this.dataList.splice(t, 1), this.$emit("change", this.dataList);
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(t, e) {
8119
- typeof e == "object" && (e != null && e.target) || (t.color = e, this.$emit("change", this.dataList));
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 = Z(this.value || []);
8167
+ this.dataList = M(this.value || []);
8124
8168
  }
8125
8169
  };
8126
- var Vn = function() {
8127
- var e = this, o = e._self._c;
8128
- return o("div", { staticClass: "visual-color-config" }, [o("div", { staticClass: "add" }, [o("appstore-add-outlined", { staticClass: "icon", on: { click: e.onAdd } })], 1), e._l(e.dataList, function(n, a) {
8129
- return o("div", { key: a, staticClass: "config-item" }, [o("div", { staticClass: "item" }, [o("div", { staticStyle: { display: "flex", "justify-content": "space-between" } }, [o("span", [e._v("条件" + e._s(Number(a) + 1) + ":")]), o("span", { staticStyle: { color: "red", cursor: "pointer" }, on: { click: function(l) {
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("删除")])]), o("div", { staticStyle: { margin: "10px 0" } }, [o("a-input", { attrs: { placeholder: "请输入" }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
8132
- return [o("a-select", { staticStyle: { width: "100px" }, attrs: { options: e.ruleOptions }, on: { change: e.onInputChange }, model: { value: n.rule1, callback: function(l) {
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), o("div", { staticStyle: { margin: "15px 0 10px" } }, [o("a-input", { attrs: { placeholder: "请输入" }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
8138
- return [o("a-select", { staticStyle: { width: "100px" }, attrs: { options: e.ruleOptions }, on: { change: e.onInputChange }, model: { value: n.rule2, callback: function(l) {
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), o("div", { staticStyle: { margin: "10px 0" } }, [e._v("名称:")]), o("a-input", { attrs: { placeholder: "请输入名称" }, on: { change: e.onInputChange }, model: { value: n.name, callback: function(l) {
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" } }), o("div", { staticStyle: { margin: "10px 0" } }, [e._v("颜色:")]), o("color-pick", { attrs: { value: n.color }, on: { change: function(l) {
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
- }, Mn = [], Dn = /* @__PURE__ */ A(
8150
- Fn,
8151
- Vn,
8152
- Mn,
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 On = Dn.exports;
8160
- const zn = [
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
- ], Rn = {
8225
+ ], Kn = {
8182
8226
  name: "VisualSizeConfig",
8183
8227
  components: {
8184
- AppstoreAddOutlined: _t,
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: zn
8245
+ ruleOptions: Un
8202
8246
  };
8203
8247
  },
8204
8248
  watch: {
8205
8249
  value: {
8206
- handler(t) {
8207
- this.dataList = Z(t || []);
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(t) {
8224
- this.dataList.splice(t, 1), this.$emit("change", this.dataList);
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 = Z(this.value || []);
8275
+ this.dataList = M(this.value || []);
8232
8276
  }
8233
8277
  };
8234
- var Pn = function() {
8235
- var e = this, o = e._self._c;
8236
- return o("div", { staticClass: "visual-size-config" }, [o("div", { staticClass: "add" }, [o("appstore-add-outlined", { staticClass: "icon", on: { click: e.onAdd } })], 1), e._l(e.dataList, function(n, a) {
8237
- return o("div", { key: a, staticClass: "config-item" }, [o("div", { staticClass: "item" }, [o("div", { staticStyle: { display: "flex", "justify-content": "space-between" } }, [o("span", [e._v("条件" + e._s(Number(a) + 1) + ":")]), o("span", { staticStyle: { color: "red", cursor: "pointer" }, on: { click: function(l) {
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("删除")])]), o("div", { staticStyle: { margin: "10px 0" } }, [o("a-input", { attrs: { placeholder: "请输入" }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
8240
- return [o("a-select", { staticStyle: { width: "100px" }, attrs: { options: e.ruleOptions }, on: { change: e.onInputChange }, model: { value: n.rule1, callback: function(l) {
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), o("div", { staticStyle: { margin: "15px 0 10px" } }, [o("a-input", { attrs: { placeholder: "请输入" }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
8246
- return [o("a-select", { staticStyle: { width: "100px" }, attrs: { options: e.ruleOptions }, on: { change: e.onInputChange }, model: { value: n.rule2, callback: function(l) {
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), o("div", { staticStyle: { margin: "10px 0" } }, [e._v("尺寸:")]), o("a-input-number", { staticStyle: { width: "100%" }, attrs: { placeholder: "请输入" }, on: { change: e.onInputChange }, model: { value: n.size, callback: function(l) {
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
- }, Nn = [], qn = /* @__PURE__ */ A(
8256
- Rn,
8257
- Pn,
8258
- Nn,
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 Bn = qn.exports, z = (t, e) => wo(t, e);
8266
- const En = {
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: Mt,
8270
- EcanInputNumber: ut,
8271
- EcanRadioGroup: Et,
8272
- EcanSelect: $o,
8273
- EcanSwitch: Do,
8584
+ EcanInput: Wt,
8585
+ EcanInputNumber: ft,
8586
+ EcanRadioGroup: Jt,
8587
+ EcanSelect: Tt,
8588
+ EcanSwitch: Wo,
8274
8589
  EcanColorPick: ue,
8275
- EcanColorGroupPick: Jo,
8276
- EcanSlider: nn,
8277
- EcanTextarea: pn,
8278
- EcanMarkAreaConfig: hn,
8279
- EcanMarkLinkConfig: vn,
8280
- EcanFormGroup: Cn,
8281
- EcanGraphicFieldSelect: $n,
8282
- EcanVisualColorConfig: On,
8283
- EcanVisualSizeConfig: Bn
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 t = this.props;
8314
- if (t == null || typeof t != "object")
8631
+ const o = this.props;
8632
+ if (o == null || typeof o != "object")
8315
8633
  return {};
8316
8634
  const e = {};
8317
- for (const o in t) {
8318
- const n = Ae[o], a = n == null ? void 0 : n.show;
8319
- a ? this.getShowResult(a, t).isMatch && (e[o] = t[o]) : e[o] = t[o];
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 pt(e, (o, n, a) => {
8322
- const l = Ae[a];
8639
+ return mt(e, (t, n, a) => {
8640
+ const l = Te[a];
8323
8641
  if (Array.isArray(l)) {
8324
- const r = l.find((m) => {
8325
- const { onlyType: d, excludeType: c, dataVNoHas: g } = m;
8326
- let x = !1;
8327
- return d == null && c == null ? x = !0 : d ? x = z(this.selectedComponentType, d) : c && (x = !z(this.selectedComponentType, c)), x && m.show && (x = this.getShowResult(m.show, t).isMatch), g && isVue3 && (x = !1), x;
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
- r && this.setFormProps({ result: o, value: n, key: a, mapAttributeProp: r });
8647
+ i && this.setFormProps({ result: t, value: n, key: a, mapAttributeProp: i });
8330
8648
  } else
8331
- this.setFormProps({ result: o, value: n, key: a, mapAttributeProp: l });
8332
- return o;
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: t, mapAttributeProp: e, key: o, value: n }) {
8338
- if (t == null || typeof t != "object")
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: r,
8661
+ events: i,
8344
8662
  updateMode: m
8345
8663
  } = e;
8346
- t[o] = le(D({}, e), {
8664
+ o[t] = G(D({}, e), {
8347
8665
  valueProp: a,
8348
8666
  value: n,
8349
8667
  events: D({
8350
- [l]: (d, c = { useContainer: !1 }, g = !0) => {
8351
- [void 0, "component"].includes(m) && g && !d.target && this.$emit("change", { [o]: d }, c);
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
- }, r)
8671
+ }, i)
8354
8672
  });
8355
8673
  },
8356
8674
  // 判断关联的属性值是否满足
8357
- getShowResult(t = [], e) {
8358
- return t.reduce((o, n) => {
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
- o && (a = o);
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, o) {
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 Wn = function() {
8383
- var e = this, o = e._self._c;
8384
- return o("div", { staticClass: "props-to-form" }, e._l(e.formProps, function(n, a) {
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 o("div", { key: a, class: ["prop-item", { layout: n.layout === "vertical" }] }, [n.label ? o("span", { class: ["label", n.layout === "vertical" ? "label-vertical" : ""], style: { width: e.isVue3 ? "28%" : "38%" } }, [e._v(" " + e._s(n.label) + " ")]) : e._e(), o("div", { staticClass: "component-wrapper" }, [Array.isArray(n) ? e._l(n, function(r, m) {
8387
- return o("div", { key: m, staticClass: "component" }, [o("Ecan" + r.component[0].toUpperCase() + r.component.slice(1), e._g(e._b({ tag: "component", style: r.style, attrs: { disabled: e.disabled } }, "component", r.props, !1), r.events))], 1);
8388
- }) : e._e(), Array.isArray(n) ? e._e() : [n.component ? o("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 ? o("a-tooltip", { attrs: { title: n.props.tooltip, placement: "topRight", overlayClassName: "question-tooltip", color: "#fff" } }, [o("question-circle-outlined", { style: e.questionStyle })], 1) : e._e()]], 2)]);
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
- }, jn = [], Gn = /* @__PURE__ */ A(
8391
- En,
8392
- Wn,
8393
- jn,
8708
+ }, bl = [], yl = /* @__PURE__ */ w(
8709
+ fl,
8710
+ hl,
8711
+ bl,
8394
8712
  !1,
8395
8713
  null,
8396
- "dcfa4721",
8714
+ "eabcfd8d",
8397
8715
  null,
8398
8716
  null
8399
8717
  );
8400
- const Hn = Gn.exports;
8401
- const Un = {
8718
+ const xl = yl.exports;
8719
+ const vl = {
8402
8720
  name: "AttributeConfig",
8403
8721
  components: {
8404
- PropsToForm: Hn
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: kt,
8736
+ componentList: zt,
8417
8737
  activeKey: []
8418
8738
  };
8419
8739
  },
8420
8740
  emits: ["change"],
8421
8741
  computed: {
8422
8742
  searchProps() {
8423
- return pt(
8424
- Ae,
8425
- (t, e, o) => (Array.isArray(e) ? e.forEach((n) => {
8426
- z(n.label, this.searchValue) && t.push(o);
8427
- }) : !Array.isArray(e) && z(e.label, this.searchValue) && t.push(o), t),
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 o, n;
8433
- const t = (o = this.selectedComponent) == null ? void 0 : o.type;
8752
+ var t, n;
8753
+ const o = (t = this.selectedComponent) == null ? void 0 : t.type;
8434
8754
  let e = {};
8435
- if (t != null) {
8436
- const a = ((n = this.componentList) == null ? void 0 : n.find((r) => z(r.type, t))) || {}, l = ge(this.selectedComponent || {}, Object.keys(a || {}));
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 Lt.map((t) => {
8443
- const { props: e, title: o, enableProps: n, onlyType: a, excludeType: l, showSwitch: r, dataVNoHas: m } = t, d = [];
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, x;
8446
- m && isVue3 || (typeof c == "string" ? d.push(c) : z((g = this.selectedComponent) == null ? void 0 : g.type, c.onlyType) ? d.push(c.value) : z((x = this.selectedComponent) == null ? void 0 : x.type, c.excludeType) || d.push(c.value));
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: o,
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: r,
8454
- props: ge(this.finalProps, d)
8773
+ showSwitch: i,
8774
+ props: ge(this.finalProps, u)
8455
8775
  };
8456
- }).filter(({ props: t }) => Object.keys(t).length > 0);
8776
+ }).filter(({ props: o }) => Object.keys(o).length > 0);
8457
8777
  }
8458
8778
  },
8459
8779
  watch: {
8460
- searchValue(t) {
8780
+ searchValue(o) {
8461
8781
  },
8462
8782
  selectedComponent: {
8463
- handler(t) {
8464
- if (t && Object.keys(t).length === 1) {
8465
- const e = this.componentList.find((i) => i.type === "ecanBar"), {
8466
- id: o,
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: r,
8790
+ height: i,
8471
8791
  position: m,
8472
- top: d,
8792
+ top: u,
8473
8793
  left: c,
8474
8794
  zIndex: g,
8475
- rotate: x,
8476
- isShow: y,
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: Pe,
8483
- isOpenRequestTimer: U,
8484
- isViewRedrawing: P,
8485
- requestInterval: ye,
8802
+ requestHeaders: qe,
8803
+ isOpenRequestTimer: Y,
8804
+ isViewRedrawing: R,
8805
+ requestInterval: xe,
8486
8806
  requestSort: de,
8487
- requestParams: ee,
8488
- events: C,
8807
+ requestParams: te,
8808
+ events: A,
8489
8809
  dataType: v,
8490
- scale: te,
8810
+ scale: oe,
8491
8811
  requestParamsMode: ve,
8492
- customRequestParams: h
8493
- } = e, s = Ee(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(s);
8842
+ this.change(r);
8523
8843
  }
8524
8844
  },
8525
8845
  immediate: !0
8526
8846
  }
8527
8847
  },
8528
8848
  methods: {
8529
- onSwitchChange(t, e) {
8530
- e != null && this.change({ [e]: t });
8849
+ onSwitchChange(o, e) {
8850
+ e != null && this.change({ [e]: o });
8531
8851
  },
8532
- onSwitchClick(t, e) {
8852
+ onSwitchClick(o, e) {
8533
8853
  e == null || e.stopPropagation();
8534
8854
  },
8535
- isRenderForm(t, e) {
8536
- const { onlyType: o, excludeType: n } = t;
8537
- return o == null && n == null ? !0 : o ? z(e, o) : n ? !z(e, n) : !1;
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(t, e) {
8540
- return z(t, e);
8859
+ lowerCaseIncludes(o, e) {
8860
+ return N(o, e);
8541
8861
  },
8542
- change(...t) {
8543
- this.$emit("change", ...t);
8862
+ change(...o) {
8863
+ this.$emit("change", ...o);
8544
8864
  }
8545
8865
  }
8546
8866
  };
8547
- var Kn = function() {
8548
- var e = this, o = e._self._c;
8549
- return o("div", [o("a-collapse", { model: { value: e.activeKey, callback: function(n) {
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 ? o("a-collapse-panel", { key: String(a), attrs: { header: n.title }, scopedSlots: e._u([{ key: "extra", fn: function() {
8553
- return [typeof n.enableProps == "boolean" || n.showSwitch ? o("a-switch", { attrs: { checked: n.enableProps }, on: { change: (l) => e.onSwitchChange(l, n.enablePropsName), click: e.onSwitchClick } }) : e._e()];
8554
- }, proxy: !0 }], null, !0) }, [o("props-to-form", { attrs: { selectedComponentType: e.selectedComponentType, props: n.props, disabled: typeof n.enableProps == "boolean" ? !n.enableProps : !!n.showSwitch }, on: { change: e.change } })], 1) : o("div", { staticClass: "props-to-form-wrapper" }, [o("props-to-form", { attrs: { props: n.props }, on: { change: e.change } })], 1)] : e._e()];
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
- }, Yn = [], Xn = /* @__PURE__ */ A(
8557
- Un,
8558
- Kn,
8559
- Yn,
8876
+ }, _l = [], Sl = /* @__PURE__ */ w(
8877
+ vl,
8878
+ gl,
8879
+ _l,
8560
8880
  !1,
8561
8881
  null,
8562
- "631236ea",
8882
+ "cde71239",
8563
8883
  null,
8564
8884
  null
8565
8885
  );
8566
- const Zn = Xn.exports;
8886
+ const wl = Sl.exports;
8567
8887
  window.VUE_VERSION = "2";
8568
8888
  window.isVue3 = !1;
8569
- const tl = {
8570
- install(t, e) {
8571
- t.component("ChartPanel", Zn);
8889
+ const kl = {
8890
+ install(o, e) {
8891
+ o.component("ChartPanel", wl);
8572
8892
  }
8573
8893
  };
8574
8894
  export {
8575
- Zn as ChartPanel,
8576
- tl as default
8895
+ wl as ChartPanel,
8896
+ kl as default
8577
8897
  };