@web-utils/component 2.8.0 → 2.8.1

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,36 +1,36 @@
1
1
  var g = Object.defineProperty;
2
- var b = Object.getOwnPropertySymbols;
2
+ var _ = Object.getOwnPropertySymbols;
3
3
  var y = Object.prototype.hasOwnProperty, $ = Object.prototype.propertyIsEnumerable;
4
- var _ = (t, s, a) => s in t ? g(t, s, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[s] = a, m = (t, s) => {
4
+ var b = (t, s, a) => s in t ? g(t, s, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[s] = a, r = (t, s) => {
5
5
  for (var a in s || (s = {}))
6
- y.call(s, a) && _(t, a, s[a]);
7
- if (b)
8
- for (var a of b(s))
9
- $.call(s, a) && _(t, a, s[a]);
6
+ y.call(s, a) && b(t, a, s[a]);
7
+ if (_)
8
+ for (var a of _(s))
9
+ $.call(s, a) && b(t, a, s[a]);
10
10
  return t;
11
11
  };
12
- var f = (t, s, a) => new Promise((l, o) => {
12
+ var h = (t, s, a) => new Promise((l, o) => {
13
13
  var n = (p) => {
14
14
  try {
15
15
  d(a.next(p));
16
16
  } catch (u) {
17
17
  o(u);
18
18
  }
19
- }, r = (p) => {
19
+ }, c = (p) => {
20
20
  try {
21
21
  d(a.throw(p));
22
22
  } catch (u) {
23
23
  o(u);
24
24
  }
25
- }, d = (p) => p.done ? l(p.value) : Promise.resolve(p.value).then(n, r);
25
+ }, d = (p) => p.done ? l(p.value) : Promise.resolve(p.value).then(n, c);
26
26
  d((a = a.apply(t, s)).next());
27
27
  });
28
28
  import { isBlank } from "@web-utils/core";
29
- import * as monaco from "monaco-editor/esm/vs/editor/editor.api";
30
- import "monaco-editor/esm/vs/basic-languages/javascript/javascript.contribution";
29
+ import { c as convert } from "../chunks/json-beautifier.21cfffea.mjs";
31
30
  import { d as deepClone } from "../chunks/util.17330567.mjs";
32
31
  import Draggable from "vuedraggable";
33
32
  import { n as normalizeComponent } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
33
+ import { MonacoEditor } from "@web-utils/component";
34
34
  const fields$1 = [
35
35
  {
36
36
  title: "布局字段",
@@ -437,289 +437,7 @@ const fields$1 = [
437
437
  display: !0
438
438
  }]
439
439
  }
440
- ], escapable = /[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, keyable = /^[a-zA-Z_$][0-9a-zA-Z_$]*$/;
441
- let gap, indent;
442
- const meta = {
443
- // table of character substitutions
444
- "\b": "\\b",
445
- " ": "\\t",
446
- "\n": "\\n",
447
- "\f": "\\f",
448
- "\r": "\\r",
449
- '"': '\\"',
450
- "'": "\\'",
451
- "\\": "\\\\"
452
- };
453
- let rep;
454
- function convert(t, s = {}) {
455
- const a = s.space || 2, l = s.dropQuotesOnKeys != !1, o = s.dropQuotesOnNumbers || !1, n = s.inlineShortArrays || !1, r = s.inlineShortArraysDepth || 1, d = s.quoteType || "single", p = s.minify || !1;
456
- o && walkObjectAndDropQuotesOnNumbers(t);
457
- let u = stringify(t, null, p ? void 0 : a, l, d);
458
- if (n && !p) {
459
- let c = inlineShortArraysInResult(u);
460
- if (r > 1)
461
- for (let h = 1; h < r && (u = c, c = inlineShortArraysInResult(u), c != u); h++)
462
- ;
463
- u = c;
464
- }
465
- return u;
466
- }
467
- function walkObjectAndDropQuotesOnNumbers(t) {
468
- if (!isObject(t))
469
- return;
470
- const s = Object.keys(t);
471
- s && s.forEach(function(a) {
472
- const l = t[a];
473
- if (typeof l == "string") {
474
- const o = l - 0;
475
- t[a] = isNaN(o) ? l : o;
476
- } else
477
- (isObject(l) || Array.isArray(l)) && walkObjectAndDropQuotesOnNumbers(l);
478
- });
479
- }
480
- function isObject(t) {
481
- return t && typeof t == "object";
482
- }
483
- function inlineShortArraysInResult(t, s) {
484
- if (s || (s = 80), typeof s != "number" || s < 20)
485
- throw `Invalid width '${s}'. Expecting number equal or larger than 20.`;
486
- const a = t.split(`
487
- `);
488
- let l = 0, o = null, n = [];
489
- for (; l < a.length; ) {
490
- const r = !!a[l].match(/\[/), d = !!a[l].match(/\],?/);
491
- if (r && !d)
492
- n = [a[l]], o = l;
493
- else if (d && !r && o) {
494
- n.push((a[l] || "").trim());
495
- const p = n.join(" ");
496
- p.length < s && (a.splice(o, l - o + 1, p), l = o), o = null, n = [];
497
- } else
498
- o && n.push((a[l] || "").trim());
499
- l += 1;
500
- }
501
- return a.join(`
502
- `);
503
- }
504
- function stringify(t, s, a, l, o) {
505
- let n;
506
- if (gap = "", indent = "", typeof a == "number")
507
- for (n = 0; n < a; n += 1)
508
- indent += " ";
509
- else
510
- typeof a == "string" && (indent = a);
511
- if (rep = s, s && typeof s != "function" && (typeof s != "object" || typeof s.length != "number"))
512
- throw new Error("JSON.stringify");
513
- return str("", { "": t }, l, o);
514
- }
515
- function str(t, s, a, l) {
516
- let o, n, r, d;
517
- const p = gap;
518
- let u, c = s[t];
519
- switch (c && typeof c == "object" && typeof c.toJSON == "function" && (c = c.toJSON(t)), typeof rep == "function" && (c = rep.call(s, t, c)), typeof c) {
520
- case "function":
521
- return c;
522
- case "string":
523
- return quote(c, l);
524
- case "number":
525
- return isFinite(c) ? String(c) : "null";
526
- case "boolean":
527
- case "null":
528
- return String(c);
529
- case "object":
530
- if (!c)
531
- return "null";
532
- if (gap += indent, u = [], Object.prototype.toString.apply(c) === "[object Array]") {
533
- for (d = c.length, o = 0; o < d; o += 1)
534
- u[o] = str(o, c, a, l) || "null";
535
- return r = u.length === 0 ? "[]" : gap ? `[
536
- ${gap}${u.join(`,
537
- ${gap}`)}
538
- ${p}]` : `[${u.join(",")}]`, gap = p, r;
539
- }
540
- if (rep && typeof rep == "object")
541
- for (d = rep.length, o = 0; o < d; o += 1)
542
- typeof rep[o] == "string" && (n = rep[o], r = str(n, c, a, l), r && u.push((a ? condQuoteKey(n, l) : quote(n, l)) + (gap ? ": " : ":") + r));
543
- else
544
- for (n in c)
545
- Object.prototype.hasOwnProperty.call(c, n) && (r = str(n, c, a, l), r && u.push((a ? condQuoteKey(n, l) : quote(n, l)) + (gap ? ": " : ":") + r));
546
- return r = u.length === 0 ? "{}" : gap ? `{
547
- ${gap}${u.join(`,
548
- ${gap}`)}
549
- ${p}}` : `{${u.join(",")}}`, gap = p, r;
550
- }
551
- }
552
- function quote(t, s) {
553
- escapable.lastIndex = 0;
554
- let a = '"';
555
- return s === "single" && (a = "'"), escapable.test(t) ? a + t.replace(escapable, function(l) {
556
- const o = meta[l];
557
- return typeof o == "string" ? o : `\\u${`0000${l.charCodeAt(0).toString(16)}`.slice(-4)}`;
558
- }) + a : a + t + a;
559
- }
560
- function condQuoteKey(t, s) {
561
- return keyable.test(t) ? t : quote(t, s);
562
- }
563
- function noop() {
564
- }
565
- const MonacoEditor = {
566
- name: "MonacoEditor",
567
- props: {
568
- diffEditor: { type: Boolean, default: !1 },
569
- // 是否使用diff模式
570
- width: { type: [String, Number], default: "100%" },
571
- height: { type: [String, Number], default: "100%" },
572
- original: String,
573
- // 只有在diff模式下有效
574
- value: [String, Object],
575
- language: { type: String, default: "javascript" },
576
- theme: { type: String, default: "vs" },
577
- readOnly: { type: Boolean, default: !1 },
578
- options: {
579
- type: Object,
580
- default() {
581
- return {};
582
- }
583
- },
584
- editorMounted: { type: Function, default: noop },
585
- editorBeforeMount: { type: Function, default: noop },
586
- keyIndex: { type: String }
587
- },
588
- watch: {
589
- options: {
590
- deep: !0,
591
- handler(t) {
592
- this.editor && this.editor.updateOptions(t);
593
- }
594
- },
595
- keyIndex() {
596
- let t = this.value;
597
- typeof t == "object" && (t = convert(t)), this.editor && t !== this._getValue() && this._setValue(t);
598
- },
599
- language() {
600
- if (this.editor)
601
- if (this.diffEditor) {
602
- const { original: t, modified: s } = this.editor.getModel();
603
- monaco.editor.setModelLanguage(t, this.language), monaco.editor.setModelLanguage(s, this.language);
604
- } else
605
- monaco.editor.setModelLanguage(this.editor.getModel(), this.language);
606
- },
607
- theme() {
608
- this.editor && monaco.editor.setTheme(this.theme);
609
- },
610
- style() {
611
- this.editor && this.$nextTick(() => {
612
- this.editor.layout();
613
- });
614
- },
615
- value(t) {
616
- this.editor && t !== this._getValue() && this._setValue(t);
617
- }
618
- },
619
- computed: {
620
- style() {
621
- return {
622
- width: /^\d+$/.test(this.width) ? `${this.width}px` : this.width,
623
- height: /^\d+$/.test(this.height) ? `${this.height}px` : this.height,
624
- position: "relative"
625
- };
626
- }
627
- },
628
- mounted() {
629
- this.initMonaco();
630
- },
631
- beforeDestroy() {
632
- this.editor && this.editor.dispose();
633
- },
634
- render(t) {
635
- const s = this.options.fullScreen;
636
- return t("div", { class: "monaco_editor_container", style: this.style }, [
637
- s ? t("i", {
638
- class: "el-icon-full-screen",
639
- style: {
640
- width: "1.2em",
641
- height: "1.2em",
642
- position: "absolute",
643
- left: "0px",
644
- top: "0px",
645
- zIndex: "1",
646
- cursor: "pointer"
647
- },
648
- on: { click: this._handleFullScreen }
649
- }) : ""
650
- ]);
651
- },
652
- methods: {
653
- initMonaco() {
654
- const { value: t, language: s, theme: a, readOnly: l, options: o } = this;
655
- Object.assign(o, this._editorBeforeMount()), this.editor = monaco.editor[this.diffEditor ? "createDiffEditor" : "create"](this.$el, m({
656
- value: typeof t == "string" ? t : convert(t),
657
- language: s,
658
- theme: a,
659
- readOnly: l
660
- }, o)), this.diffEditor && this._setModel(this.value, this.original), this._editorMounted(this.editor);
661
- },
662
- _handleFullScreen() {
663
- this.isMaximum ? this.minEditor() : this.maxEditor();
664
- },
665
- // 放大
666
- maxEditor() {
667
- this.isMaximum = !0;
668
- const t = this.$el;
669
- this.originSize = {
670
- width: t.clientWidth,
671
- height: t.clientHeight
672
- }, t.classList.add("editor-fullscreen"), this.editor.layout({
673
- height: document.body.clientHeight,
674
- width: document.body.clientWidth
675
- }), document.addEventListener("keyup", (s) => {
676
- s.keyCode == 27 && this.minEditor();
677
- });
678
- },
679
- // 缩小
680
- minEditor() {
681
- this.isMaximum = !1, this.$el.classList.remove("editor-fullscreen"), this.editor.layout({
682
- height: this.originSize.height,
683
- width: this.originSize.width
684
- }), document.removeEventListener("keyup", () => {
685
- });
686
- },
687
- _getEditor() {
688
- return this.editor ? this.diffEditor ? this.editor.modifiedEditor : this.editor : null;
689
- },
690
- _setModel(t, s) {
691
- const { language: a } = this, l = monaco.editor.createModel(s, a), o = monaco.editor.createModel(t, a);
692
- this.editor.setModel({
693
- original: l,
694
- modified: o
695
- });
696
- },
697
- _setValue(t) {
698
- const s = this._getEditor();
699
- if (s)
700
- return s.setValue(t);
701
- },
702
- _getValue() {
703
- const t = this._getEditor();
704
- return t ? t.getValue() : "";
705
- },
706
- _editorBeforeMount() {
707
- return this.editorBeforeMount(monaco) || {};
708
- },
709
- _editorMounted(t) {
710
- this.editorMounted(t, monaco), this.diffEditor ? t.onDidUpdateDiff((s) => {
711
- const a = this._getValue();
712
- this._emitChange(a, s);
713
- }) : t.onDidChangeModelContent((s) => {
714
- const a = this._getValue();
715
- this._emitChange(a, s);
716
- });
717
- },
718
- _emitChange(t, s) {
719
- this.$emit("change", t, s), this.$emit("input", t);
720
- }
721
- }
722
- }, widgetEmpty = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUMAAADXCAYAAACAszPmAAAAAXNSR0IArs4c6QAADXRJREFUeAHt3cuLZGcZB+BvLk2PM0ZxFMdJXEQCYRIialrUmPgXuM0qkI3GnVl4ScBtUEFFXOhCEBQ3oiDi36BGkWQ0gpgIZgK59EhIxhBn0nMfz+nqwq6e6upT019933vqPAVxuuty3vc8b/fPU3UufWB9ff1GciNAgMDABQ6363/y5MmBM8y3+mfPnmU2H5lnEwgt0P5OHwzdoeYIECBQSEAYFoJWhgCB2ALCMPZ8dEeAQCEBYVgIWhkCBGILCMPY89EdAQKFBIRhIWhlCBCILbB5aE3sFnVHgEAtgfaQk0Xddh7St6haO+vstj4zw/DPr26knz/3dnrr4vXN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UIEIgqIAyjTkZfBAgUFRCGRbkVI0AgqoAwjDoZfREgUFRAGBblVowAgagCwjDqZPRFgEBRAWFYlFsxAgSiCgjDqJPRFwECRQWEYVFuxQgQiCogDKNORl8ECBQVEIZFuRUjQCCqgDCMOhl9ESBQVEAYFuVWjACBqALCMOpk9EWAQFEBYViUWzECBKIKCMOok9EXAQJFBYRhUW7FCBCIKiAMo05GXwQIFBUQhkW5FSNAIKqAMIw6GX0RIFBU4H8RUTV123y9kQAAAABJRU5ErkJggg==", history = {
723
441
  data() {
724
442
  return {
725
443
  historySteps: {
@@ -748,7 +466,7 @@ const MonacoEditor = {
748
466
  return deepClone(steps[index]);
749
467
  }
750
468
  }
751
- this.historySteps = m(m({}, this.historySteps), data);
469
+ this.historySteps = r(r({}, this.historySteps), data);
752
470
  const { index, steps } = this.historySteps;
753
471
  return deepClone(steps[index]);
754
472
  },
@@ -1057,14 +775,14 @@ const __vue2_script$q = {
1057
775
  return;
1058
776
  }
1059
777
  const o = deepClone(s.children.column[a]);
1060
- o.prop || (o.prop = `a${Date.now()}${Math.ceil(Math.random() * 99999)}`), o.subfield = !0, delete o.icon, this.$set(s.children.column, a, m({}, o)), this.selectWidget = s.children.column[a], this.$emit("change");
778
+ o.prop || (o.prop = `a${Date.now()}${Math.ceil(Math.random() * 99999)}`), o.subfield = !0, delete o.icon, this.$set(s.children.column, a, r({}, o)), this.selectWidget = s.children.column[a], this.$emit("change");
1061
779
  },
1062
780
  handleWidgetTableSelect(t) {
1063
781
  this.selectWidget = t;
1064
782
  },
1065
783
  handleWidgetTableClone(t, s) {
1066
784
  const a = deepClone(s);
1067
- a.prop = `a${Date.now()}${Math.ceil(Math.random() * 99999)}`, this.$set(t.children.column, t.children.column.length, m({}, a)), this.$nextTick(() => {
785
+ a.prop = `a${Date.now()}${Math.ceil(Math.random() * 99999)}`, this.$set(t.children.column, t.children.column.length, r({}, a)), this.$nextTick(() => {
1068
786
  this.selectWidget = t.children.column[t.children.column.length - 1], this.$emit("change");
1069
787
  });
1070
788
  },
@@ -1316,7 +1034,7 @@ const __vue2_script$p = {
1316
1034
  },
1317
1035
  handleWidgetTableClone(t, s) {
1318
1036
  const a = deepClone(s);
1319
- a.prop = `a${Date.now()}${Math.ceil(Math.random() * 99999)}`, this.$set(t.children.column, t.children.column.length, m({}, a)), this.$nextTick(() => {
1037
+ a.prop = `a${Date.now()}${Math.ceil(Math.random() * 99999)}`, this.$set(t.children.column, t.children.column.length, r({}, a)), this.$nextTick(() => {
1320
1038
  this.selectWidget = t.children.column[t.children.column.length - 1], this.$emit("change");
1321
1039
  });
1322
1040
  },
@@ -1333,7 +1051,7 @@ const __vue2_script$p = {
1333
1051
  return;
1334
1052
  }
1335
1053
  const o = deepClone(s.children.column[a]);
1336
- o.prop || (o.prop = `a${Date.now()}${Math.ceil(Math.random() * 99999)}`), delete o.icon, o.type === "dynamic" ? o.span = 24 : o.span = 12, this.$set(s.children.column, a, m({}, o)), this.selectWidget = s.children.column[a], this.$emit("change");
1054
+ o.prop || (o.prop = `a${Date.now()}${Math.ceil(Math.random() * 99999)}`), delete o.icon, o.type === "dynamic" ? o.span = 24 : o.span = 12, this.$set(s.children.column, a, r({}, o)), this.selectWidget = s.children.column[a], this.$emit("change");
1337
1055
  }
1338
1056
  }
1339
1057
  }, __cssModules$p = {};
@@ -3493,7 +3211,7 @@ var render$c = function() {
3493
3211
  icon: "el-icon-plus"
3494
3212
  },
3495
3213
  on: {
3496
- click: function(r) {
3214
+ click: function(c) {
3497
3215
  return t.handleNodeAdd(n);
3498
3216
  }
3499
3217
  }
@@ -3505,7 +3223,7 @@ var render$c = function() {
3505
3223
  icon: "el-icon-delete"
3506
3224
  },
3507
3225
  on: {
3508
- click: function(r) {
3226
+ click: function(c) {
3509
3227
  return t.handleNodeRemove(o, n);
3510
3228
  }
3511
3229
  }
@@ -3990,7 +3708,7 @@ var __component__$c = /* @__PURE__ */ normalizeComponent(
3990
3708
  staticRenderFns$c,
3991
3709
  !1,
3992
3710
  __vue2_injectStyles$c,
3993
- "3c348f5c",
3711
+ "3235e132",
3994
3712
  null,
3995
3713
  null
3996
3714
  );
@@ -6059,22 +5777,22 @@ const __vue2_script$2 = {
6059
5777
  this.data.children.column = t;
6060
5778
  },
6061
5779
  handleOnLoad(t) {
6062
- const { url: s, method: a, needPage: l, currentPageKey: o, pageSizeKey: n, totalKey: r, recordsKey: d, resKey: p, auto: u } = t;
5780
+ const { url: s, method: a, needPage: l, currentPageKey: o, pageSizeKey: n, totalKey: c, recordsKey: d, resKey: p, auto: u } = t;
6063
5781
  if (!u)
6064
5782
  return;
6065
5783
  if (!s) {
6066
5784
  this.onLoad = "(res, cb) => { }";
6067
5785
  return;
6068
5786
  }
6069
- let { props: c } = this.data;
6070
- c || (c = { label: "label", value: "value" });
6071
- const { value: h } = c, v = `(res, cb) => {
5787
+ let { props: m } = this.data;
5788
+ m || (m = { label: "label", value: "value" });
5789
+ const { value: f } = m, v = `(res, cb) => {
6072
5790
  let { page, value, data } = res
6073
5791
  if (!page) page = { currentPage: 1, pageSize: 10 }
6074
5792
  const { currentPage, pageSize } = page
6075
5793
  let params = { ...data, ${o || "current"}: currentPage, ${n || "page"}: pageSize }
6076
5794
 
6077
- if (value) params['${h}'] = value
5795
+ if (value) params['${f}'] = value
6078
5796
 
6079
5797
  if ('${a || "get"}' == 'get') params = { params: { ...params } }
6080
5798
 
@@ -6084,7 +5802,7 @@ const __vue2_script$2 = {
6084
5802
 
6085
5803
  let result = {}
6086
5804
  if (${l}) {
6087
- const total = this.getAsVal(response, '${r || "total"}')
5805
+ const total = this.getAsVal(response, '${c || "total"}')
6088
5806
  if (total || total == 0) {
6089
5807
  result.total = total
6090
5808
  } else {
@@ -6103,7 +5821,7 @@ const __vue2_script$2 = {
6103
5821
  if (value) {
6104
5822
  const records = result.data
6105
5823
  if (records && records.length > 0) cb(records[0])
6106
- else this.$message.error('根据${h}: ' + value + ' 查询不到结果')
5824
+ else this.$message.error('根据${f}: ' + value + ' 查询不到结果')
6107
5825
  } else cb(result)
6108
5826
  })
6109
5827
  }`;
@@ -6765,9 +6483,9 @@ var render = function() {
6765
6483
  "ghost-class": "ghost",
6766
6484
  sort: !1
6767
6485
  }
6768
- }, [t._l(l.list, function(n, r) {
6486
+ }, [t._l(l.list, function(n, c) {
6769
6487
  return [a("li", {
6770
- key: `c_${r}`,
6488
+ key: `c_${c}`,
6771
6489
  staticClass: "field-label"
6772
6490
  }, [a("a", {
6773
6491
  on: {
@@ -6864,9 +6582,9 @@ var render = function() {
6864
6582
  "ghost-class": "ghost",
6865
6583
  sort: !1
6866
6584
  }
6867
- }, [t._l(l.list, function(n, r) {
6585
+ }, [t._l(l.list, function(n, c) {
6868
6586
  return [t.includeFields.includes(n.type) ? a("li", {
6869
- key: `c_${r}`,
6587
+ key: `c_${c}`,
6870
6588
  staticClass: "field-label"
6871
6589
  }, [a("a", {
6872
6590
  on: {
@@ -7328,7 +7046,7 @@ var render = function() {
7328
7046
  }, staticRenderFns = [];
7329
7047
  const FyFormDesign_vue_vue_type_style_index_0_lang = "", __vue2_script = {
7330
7048
  name: "FyFormDesign",
7331
- components: { Draggable, MonacoEditor, WidgetForm, FormConfig, WidgetConfig },
7049
+ components: { Draggable, WidgetForm, FormConfig, WidgetConfig },
7332
7050
  mixins: [history],
7333
7051
  props: {
7334
7052
  options: {
@@ -7436,7 +7154,7 @@ const FyFormDesign_vue_vue_type_style_index_0_lang = "", __vue2_script = {
7436
7154
  console.error("非法配置"), options = { column: [] };
7437
7155
  }
7438
7156
  this.transAvueOptionsToFormDesigner(options).then((t) => {
7439
- this.widgetForm = m(m({}, this.widgetForm), t);
7157
+ this.widgetForm = r(r({}, this.widgetForm), t);
7440
7158
  });
7441
7159
  },
7442
7160
  deep: !0
@@ -7454,7 +7172,7 @@ const FyFormDesign_vue_vue_type_style_index_0_lang = "", __vue2_script = {
7454
7172
  methods: {
7455
7173
  // 组件初始化时加载本地存储中的options(需开启storage),若不存在则读取用户配置的options
7456
7174
  handleLoadStorage() {
7457
- return f(this, null, function* () {
7175
+ return h(this, null, function* () {
7458
7176
  let options = this.options;
7459
7177
  if (typeof options == "string")
7460
7178
  try {
@@ -7465,7 +7183,7 @@ const FyFormDesign_vue_vue_type_style_index_0_lang = "", __vue2_script = {
7465
7183
  options.column || (options.column = []), this.widgetForm = this.initHistory({
7466
7184
  index: 0,
7467
7185
  maxStep: 20,
7468
- steps: [yield this.transAvueOptionsToFormDesigner(m(m({}, this.widgetForm), options))],
7186
+ steps: [yield this.transAvueOptionsToFormDesigner(r(r({}, this.widgetForm), options))],
7469
7187
  storage: this.storage
7470
7188
  }), this.undoRedo && window.addEventListener("keydown", (t) => {
7471
7189
  (t.metaKey && !t.shiftKey && t.keyCode === 90 || t.ctrlKey && !t.shiftKey && t.keyCode === 90) && (this.widgetForm = this.handleUndo()), (t.metaKey && t.shiftKey && t.keyCode === 90 || t.ctrlKey && t.shiftKey && t.keyCode === 90 || t.ctrlKey && t.keyCode === 89) && (this.widgetForm = this.handleRedo());
@@ -7512,7 +7230,7 @@ const FyFormDesign_vue_vue_type_style_index_0_lang = "", __vue2_script = {
7512
7230
  // 生成JSON - 弹窗 - 确定
7513
7231
  handleGenerate() {
7514
7232
  this.transformToAvueOptions(this.widgetForm).then((t) => {
7515
- this.configOption.generateType && this.configOption.generateType === "string" ? this.$emit("submit", convert(t, m({
7233
+ this.configOption.generateType && this.configOption.generateType === "string" ? this.$emit("submit", convert(t, r({
7516
7234
  minify: !0
7517
7235
  }, this.configOption))) : this.$emit("submit", t);
7518
7236
  });
@@ -7521,7 +7239,7 @@ const FyFormDesign_vue_vue_type_style_index_0_lang = "", __vue2_script = {
7521
7239
  handleCopy() {
7522
7240
  this.transformToAvueOptions(this.widgetForm).then((t) => {
7523
7241
  this.$Clipboard({
7524
- text: convert(t, m({
7242
+ text: convert(t, r({
7525
7243
  minify: !0
7526
7244
  }, this.configOption))
7527
7245
  }).then(() => {
@@ -7670,7 +7388,7 @@ const FyFormDesign_vue_vue_type_style_index_0_lang = "", __vue2_script = {
7670
7388
  a.dicQueryConfig = l;
7671
7389
  }
7672
7390
  a.dicUrl ? a.dicOption = "remote" : a.dicOption = "static", a.dicData ? a.props && a.dicData.forEach((l) => {
7673
- const { label: o, value: n, desc: r } = a.props;
7391
+ const { label: o, value: n, desc: c } = a.props;
7674
7392
  if (o) {
7675
7393
  const d = l[o];
7676
7394
  delete l[o], l.label = d;
@@ -7679,9 +7397,9 @@ const FyFormDesign_vue_vue_type_style_index_0_lang = "", __vue2_script = {
7679
7397
  const d = l[n];
7680
7398
  delete l[n], l.value = d;
7681
7399
  }
7682
- if (r) {
7683
- const d = l[r];
7684
- delete l[r], l.desc = d;
7400
+ if (c) {
7401
+ const d = l[c];
7402
+ delete l[c], l.desc = d;
7685
7403
  }
7686
7404
  }) : a.dicData = [];
7687
7405
  } else if (["upload"].includes(a.type)) {
@@ -7733,9 +7451,9 @@ const FyFormDesign_vue_vue_type_style_index_0_lang = "", __vue2_script = {
7733
7451
  });
7734
7452
  },
7735
7453
  getData() {
7736
- return f(this, arguments, function* (t = "json", s = {}) {
7454
+ return h(this, arguments, function* (t = "json", s = {}) {
7737
7455
  if (t === "string")
7738
- return convert(yield this.transformToAvueOptions(this.widgetForm), m({
7456
+ return convert(yield this.transformToAvueOptions(this.widgetForm), r({
7739
7457
  minify: !0
7740
7458
  }, s));
7741
7459
  if (t === "app") {
@@ -1 +1 @@
1
- .dic[data-v-75f24f72]{display:flex;margin-bottom:5px}.el-tag[data-v-64e64f97]{vertical-align:top}.el-tag+.el-tag[data-v-64e64f97]{margin-left:5px}.input-new-tag[data-v-64e64f97]{width:90px;margin-left:5px;vertical-align:bottom}.color-picker[data-v-64e64f97]{left:10px;vertical-align:top}.custom-tree-node[data-v-3c348f5c]{display:flex;flex:1;align-items:center;justify-content:space-between;padding-right:8px;font-size:14px}.form-designer{height:100%;background:#fff;outline:1px solid #e4e7ed}.form-designer ::-webkit-scrollbar{width:0!important;height:0!important}.form-designer ::-webkit-scrollbar-track{background-color:#0000!important;border-radius:10px!important;box-shadow:inset 0 0 6px #0000!important}.form-designer ::-webkit-scrollbar-thumb{background-color:#fff!important;border-radius:10px!important;box-shadow:inset 0 0 6px #0000!important}.form-designer .fields-list{width:100%;height:100%;padding:10px 0}.form-designer .fields-list .field-title{padding:8px 12px;font-size:13px}.form-designer .fields-list ul{position:relative;margin:0;padding:0 10px 10px;overflow:hidden}.form-designer .fields-list .field-label{position:relative;left:0;display:block;float:left;width:47%;margin:1%;overflow:hidden;color:#333;font-size:12px;line-height:26px;white-space:nowrap;text-overflow:ellipsis;border:1px solid #f4f6fc}.form-designer .fields-list .field-label:hover{color:#409eff;border:1px dashed #409eff}.form-designer .fields-list .field-label>a{display:block;color:#333;background:#f4f6fc;border:1px solid #f4f6fc;cursor:move}.form-designer .fields-list .field-label>a .icon{display:inline-block;margin-right:6px;margin-left:8px;font-size:14px;vertical-align:middle}.form-designer .fields-list .field-label>a span{display:inline-block;vertical-align:middle}.form-designer .fields-list .field-label-disabled{position:relative;left:0;display:block;float:left;width:48%;margin:1%;overflow:hidden;color:#333;font-size:12px;line-height:26px;white-space:nowrap;text-overflow:ellipsis;border:1px solid #f4f6fc}.form-designer .fields-list .field-label-disabled:hover{color:gray;border:1px dashed gray}.form-designer .fields-list .field-label-disabled>a{display:block;background:#f4f6fc;border:1px solid #f4f6fc;cursor:not-allowed}.form-designer .fields-list .field-label-disabled>a .icon{display:inline-block;margin-right:6px;margin-left:8px;font-size:14px;vertical-align:middle}.form-designer .fields-list .field-label-disabled>a span{display:inline-block;vertical-align:middle}.form-designer .widget-container{flex:1;border-right:1px solid #e0e0e0;border-left:1px solid #e0e0e0}.form-designer .widget-container .widget-container-header{display:flex;align-items:center;justify-content:space-between;height:45px!important;border-bottom:solid 2px #e4e7ed}.form-designer .widget-container .el-main{position:relative;padding:0}.form-designer .widget-form-container{position:relative;inset:0;height:100%}.form-designer .widget-form-container .el-form,.form-designer .widget-form-container .el-form .el-row{height:100%}.form-designer .widget-form-container .widget-form-list{height:100%;min-height:calc(100% - 45px);padding-bottom:50px;overflow:hidden;overflow-y:scroll}.form-designer .widget-form-container .widget-form-list .widget-form-item{position:relative;min-height:30px;margin:0;padding:5px 10px 18px;border-left:5px solid transparent}.form-designer .widget-form-container .widget-form-list .widget-form-item.required .el-form-item__label:before{margin-right:4px;color:#f56c6c;content:"*"}.form-designer .widget-form-container .widget-form-list .widget-form-item:after{position:absolute;inset:0;z-index:1001;display:block}.form-designer .widget-form-container .widget-form-list .widget-form-item:hover{background:#ecf8ff;cursor:move}.form-designer .widget-form-container .widget-form-list .widget-form-item.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-item .widget-action-delete{position:absolute;right:10px;bottom:-32px;z-index:1002}.form-designer .widget-form-container .widget-form-list .widget-form-item .widget-action-clone{position:absolute;right:50px;bottom:-32px;z-index:1002}.form-designer .widget-form-container .widget-form-list .widget-form-table{position:relative;float:left;width:100%;padding:2px}.form-designer .widget-form-container .widget-form-list .widget-form-table__content{display:flex;width:100%;height:100%;min-height:103px;padding:10px 5px;overflow-y:hidden;outline:1px dashed #ccc;outline-offset:-1px}.form-designer .widget-form-container .widget-form-list .widget-form-table__content::-webkit-scrollbar{width:6px!important;height:6px!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__content::-webkit-scrollbar-thumb{background-color:#e5e7eb!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__content .ghost{position:relative;box-sizing:border-box;width:0!important;min-width:0!important;height:100%;min-height:90px;margin:1px 2px 0;padding:0!important;overflow:hidden;font-size:0;background:white;border-left:5px solid #409eff;outline:none 0;content:""}.form-designer .widget-form-container .widget-form-list .widget-form-table__item{position:relative;width:33.3%;min-width:33.3%;height:100%;padding:1px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item.required .el-table__header .cell:before{margin-right:4px;color:#f56c6c;content:"*"}.form-designer .widget-form-container .widget-form-list .widget-form-table__item.active{outline:1px solid #409eff;outline-offset:-1px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item:hover{outline:1px solid #409eff;outline-offset:-1px;cursor:move}.form-designer .widget-form-container .widget-form-list .widget-form-table__item:after{position:absolute;inset:0;z-index:1001;display:block;content:""}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-delete{position:absolute;right:0;bottom:0;z-index:1002}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-clone{position:absolute;right:30px;bottom:0;z-index:1002}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-clone i{font-size:10px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .el-button--small.is-circle{padding:5px}.form-designer .widget-form-container .widget-form-list .widget-form-table.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table:hover{background:#ecf8ff;cursor:move}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-delete{position:absolute;right:10px;bottom:-12px;z-index:1001}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-clear{position:absolute;right:50px;bottom:-12px;z-index:1001}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-clone{position:absolute;right:90px;bottom:-12px;z-index:1001}.form-designer .widget-form-container .widget-form-list .widget-form-group{position:relative;float:left;width:100%;padding:2px}.form-designer .widget-form-container .widget-form-list .widget-form-group__head{margin:10px}.form-designer .widget-form-container .widget-form-list .widget-form-group__body{height:100%;min-height:150px;padding-bottom:15px;overflow:hidden;outline:1px dashed #ccc;outline-offset:-1px}.form-designer .widget-form-container .widget-form-list .widget-form-group__body .ghost{position:relative;box-sizing:border-box;width:0!important;min-width:0!important;height:100%;min-height:57px;margin:1px 2px 0;padding:0!important;overflow:hidden;font-size:0;background:white;border-left:5px solid #409eff;outline:none 0;content:""}.form-designer .widget-form-container .widget-form-list .widget-form-group__item{position:relative;margin:3px;padding:10px;background:white;border-left:5px solid transparent}.form-designer .widget-form-container .widget-form-list .widget-form-group__item.required .el-form-item__label:before{margin-right:4px;color:#f56c6c;content:"*"}.form-designer .widget-form-container .widget-form-list .widget-form-group__item.active{outline:1px solid #409eff;outline-offset:-1px}.form-designer .widget-form-container .widget-form-list .widget-form-group__item:hover{outline:1px solid #409eff;outline-offset:-1px;cursor:move}.form-designer .widget-form-container .widget-form-list .widget-form-group__item:after{position:absolute;inset:0;z-index:1001;display:block;content:""}.form-designer .widget-form-container .widget-form-list .widget-form-group__item--delete{position:absolute;right:0;bottom:-24px;z-index:1002}.form-designer .widget-form-container .widget-form-list .widget-form-group__item--clone{position:absolute;right:34px;bottom:-24px;z-index:1002}.form-designer .widget-form-container .widget-form-list .widget-form-group.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group:hover{background:#ecf8ff;cursor:move}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-delete{position:absolute;right:10px;bottom:-12px;z-index:1001}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-clear{position:absolute;right:50px;bottom:-12px;z-index:1001}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-clone{position:absolute;right:90px;bottom:-12px;z-index:1001}.form-designer .widget-form-container .widget-form-list .iconfont{font-size:13px}.form-designer .widget-form-container .widget-form-list .el-button--small.is-circle{padding:7px}.form-designer .widget-form-container .ghost{position:relative;box-sizing:border-box;width:100%;height:0!important;margin:2px 0;padding:0!important;overflow:hidden;font-size:0;background:white;border-top:5px solid #409eff;outline:none 0;content:""}.form-designer .widget-config-container{height:100%;padding-top:5px}.form-designer .widget-config-container .el-tabs{height:100%}.form-designer .widget-config-container .el-tabs__header{z-index:1000;height:45px;margin:0;background:white}.form-designer .widget-config-container .el-tabs__content{height:calc(100% - 45px);overflow-y:scroll}.form-designer .widget-config-container .widget-config .el-tabs__header{position:relative;top:0;display:block;margin:0}.form-designer .widget-config-container .widget-config .el-tabs__content{margin-top:0}.form-designer .widget-config-container .widget-config .ghost{background:#fff;border:1px dashed #409eff}.form-designer .widget-config-container .widget-config ul{margin:0;padding:0}.form-designer .widget-config-container .widget-config ul li{display:flex;align-items:center;width:100%}.form-designer .widget-config-container .widget-config ul li .ghost{height:35px;font-size:0;list-style:none}.form-designer .widget-config-container .avue-group__item{padding:0}.form-designer .el-container{height:100%}.form-designer .el-container .el-main{height:calc(100% - 45px)}.form-designer .el-container .el-aside{background:#fff}.form-designer .danger{color:#f56c6c}.form-designer .warning{color:#e6a23c}.form-designer .el-input-number.is-controls-right .el-input-number__decrease{border-left:none}.form-designer .el-input-number.is-controls-right .el-input-number__increase{border-bottom:none;border-left:none}.form-designer .el-date-editor,.form-designer .el-cascader,.form-designer .el-select,.form-designer .el-input-number{width:100%}.form-designer .editor-fullscreen{position:fixed!important;inset:0;z-index:1003;box-sizing:border-box;width:100%;height:100%!important;padding:20px;background:#fff}.form-designer .editor-fullscreen i{top:20px!important;left:25px!important}.afd-drawer-foot{position:absolute;right:0;bottom:0;left:0;display:flex;padding:20px}.afd-drawer-foot button{width:50%}.afd-drawer-foot>span{display:inline-block;width:50%}.afd-drawer-foot>span button{width:100%}.afd-preview-form{height:83vh;overflow-y:auto}
1
+ .dic[data-v-75f24f72]{display:flex;margin-bottom:5px}.el-tag[data-v-64e64f97]{vertical-align:top}.el-tag+.el-tag[data-v-64e64f97]{margin-left:5px}.input-new-tag[data-v-64e64f97]{width:90px;margin-left:5px;vertical-align:bottom}.color-picker[data-v-64e64f97]{left:10px;vertical-align:top}.custom-tree-node[data-v-3235e132]{display:flex;flex:1;align-items:center;justify-content:space-between;padding-right:8px;font-size:14px}.form-designer{height:100%;background:#fff;outline:1px solid #e4e7ed}.form-designer ::-webkit-scrollbar{width:0!important;height:0!important}.form-designer ::-webkit-scrollbar-track{background-color:#0000!important;border-radius:10px!important;box-shadow:inset 0 0 6px #0000!important}.form-designer ::-webkit-scrollbar-thumb{background-color:#fff!important;border-radius:10px!important;box-shadow:inset 0 0 6px #0000!important}.form-designer .fields-list{width:100%;height:100%;padding:10px 0}.form-designer .fields-list .field-title{padding:8px 12px;font-size:13px}.form-designer .fields-list ul{position:relative;margin:0;padding:0 10px 10px;overflow:hidden}.form-designer .fields-list .field-label{position:relative;left:0;display:block;float:left;width:47%;margin:1%;overflow:hidden;color:#333;font-size:12px;line-height:26px;white-space:nowrap;text-overflow:ellipsis;border:1px solid #f4f6fc}.form-designer .fields-list .field-label:hover{color:#409eff;border:1px dashed #409eff}.form-designer .fields-list .field-label>a{display:block;color:#333;background:#f4f6fc;border:1px solid #f4f6fc;cursor:move}.form-designer .fields-list .field-label>a .icon{display:inline-block;margin-right:6px;margin-left:8px;font-size:14px;vertical-align:middle}.form-designer .fields-list .field-label>a span{display:inline-block;vertical-align:middle}.form-designer .fields-list .field-label-disabled{position:relative;left:0;display:block;float:left;width:48%;margin:1%;overflow:hidden;color:#333;font-size:12px;line-height:26px;white-space:nowrap;text-overflow:ellipsis;border:1px solid #f4f6fc}.form-designer .fields-list .field-label-disabled:hover{color:gray;border:1px dashed gray}.form-designer .fields-list .field-label-disabled>a{display:block;background:#f4f6fc;border:1px solid #f4f6fc;cursor:not-allowed}.form-designer .fields-list .field-label-disabled>a .icon{display:inline-block;margin-right:6px;margin-left:8px;font-size:14px;vertical-align:middle}.form-designer .fields-list .field-label-disabled>a span{display:inline-block;vertical-align:middle}.form-designer .widget-container{flex:1;border-right:1px solid #e0e0e0;border-left:1px solid #e0e0e0}.form-designer .widget-container .widget-container-header{display:flex;align-items:center;justify-content:space-between;height:45px!important;border-bottom:solid 2px #e4e7ed}.form-designer .widget-container .el-main{position:relative;padding:0}.form-designer .widget-form-container{position:relative;inset:0;height:100%}.form-designer .widget-form-container .el-form,.form-designer .widget-form-container .el-form .el-row{height:100%}.form-designer .widget-form-container .widget-form-list{height:100%;min-height:calc(100% - 45px);padding-bottom:50px;overflow:hidden;overflow-y:scroll}.form-designer .widget-form-container .widget-form-list .widget-form-item{position:relative;min-height:30px;margin:0;padding:5px 10px 18px;border-left:5px solid transparent}.form-designer .widget-form-container .widget-form-list .widget-form-item.required .el-form-item__label:before{margin-right:4px;color:#f56c6c;content:"*"}.form-designer .widget-form-container .widget-form-list .widget-form-item:after{position:absolute;inset:0;z-index:1001;display:block}.form-designer .widget-form-container .widget-form-list .widget-form-item:hover{background:#ecf8ff;cursor:move}.form-designer .widget-form-container .widget-form-list .widget-form-item.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-item .widget-action-delete{position:absolute;right:10px;bottom:-32px;z-index:1002}.form-designer .widget-form-container .widget-form-list .widget-form-item .widget-action-clone{position:absolute;right:50px;bottom:-32px;z-index:1002}.form-designer .widget-form-container .widget-form-list .widget-form-table{position:relative;float:left;width:100%;padding:2px}.form-designer .widget-form-container .widget-form-list .widget-form-table__content{display:flex;width:100%;height:100%;min-height:103px;padding:10px 5px;overflow-y:hidden;outline:1px dashed #ccc;outline-offset:-1px}.form-designer .widget-form-container .widget-form-list .widget-form-table__content::-webkit-scrollbar{width:6px!important;height:6px!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__content::-webkit-scrollbar-thumb{background-color:#e5e7eb!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__content .ghost{position:relative;box-sizing:border-box;width:0!important;min-width:0!important;height:100%;min-height:90px;margin:1px 2px 0;padding:0!important;overflow:hidden;font-size:0;background:white;border-left:5px solid #409eff;outline:none 0;content:""}.form-designer .widget-form-container .widget-form-list .widget-form-table__item{position:relative;width:33.3%;min-width:33.3%;height:100%;padding:1px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item.required .el-table__header .cell:before{margin-right:4px;color:#f56c6c;content:"*"}.form-designer .widget-form-container .widget-form-list .widget-form-table__item.active{outline:1px solid #409eff;outline-offset:-1px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item:hover{outline:1px solid #409eff;outline-offset:-1px;cursor:move}.form-designer .widget-form-container .widget-form-list .widget-form-table__item:after{position:absolute;inset:0;z-index:1001;display:block;content:""}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-delete{position:absolute;right:0;bottom:0;z-index:1002}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-clone{position:absolute;right:30px;bottom:0;z-index:1002}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-clone i{font-size:10px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .el-button--small.is-circle{padding:5px}.form-designer .widget-form-container .widget-form-list .widget-form-table.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table:hover{background:#ecf8ff;cursor:move}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-delete{position:absolute;right:10px;bottom:-12px;z-index:1001}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-clear{position:absolute;right:50px;bottom:-12px;z-index:1001}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-clone{position:absolute;right:90px;bottom:-12px;z-index:1001}.form-designer .widget-form-container .widget-form-list .widget-form-group{position:relative;float:left;width:100%;padding:2px}.form-designer .widget-form-container .widget-form-list .widget-form-group__head{margin:10px}.form-designer .widget-form-container .widget-form-list .widget-form-group__body{height:100%;min-height:150px;padding-bottom:15px;overflow:hidden;outline:1px dashed #ccc;outline-offset:-1px}.form-designer .widget-form-container .widget-form-list .widget-form-group__body .ghost{position:relative;box-sizing:border-box;width:0!important;min-width:0!important;height:100%;min-height:57px;margin:1px 2px 0;padding:0!important;overflow:hidden;font-size:0;background:white;border-left:5px solid #409eff;outline:none 0;content:""}.form-designer .widget-form-container .widget-form-list .widget-form-group__item{position:relative;margin:3px;padding:10px;background:white;border-left:5px solid transparent}.form-designer .widget-form-container .widget-form-list .widget-form-group__item.required .el-form-item__label:before{margin-right:4px;color:#f56c6c;content:"*"}.form-designer .widget-form-container .widget-form-list .widget-form-group__item.active{outline:1px solid #409eff;outline-offset:-1px}.form-designer .widget-form-container .widget-form-list .widget-form-group__item:hover{outline:1px solid #409eff;outline-offset:-1px;cursor:move}.form-designer .widget-form-container .widget-form-list .widget-form-group__item:after{position:absolute;inset:0;z-index:1001;display:block;content:""}.form-designer .widget-form-container .widget-form-list .widget-form-group__item--delete{position:absolute;right:0;bottom:-24px;z-index:1002}.form-designer .widget-form-container .widget-form-list .widget-form-group__item--clone{position:absolute;right:34px;bottom:-24px;z-index:1002}.form-designer .widget-form-container .widget-form-list .widget-form-group.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group:hover{background:#ecf8ff;cursor:move}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-delete{position:absolute;right:10px;bottom:-12px;z-index:1001}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-clear{position:absolute;right:50px;bottom:-12px;z-index:1001}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-clone{position:absolute;right:90px;bottom:-12px;z-index:1001}.form-designer .widget-form-container .widget-form-list .iconfont{font-size:13px}.form-designer .widget-form-container .widget-form-list .el-button--small.is-circle{padding:7px}.form-designer .widget-form-container .ghost{position:relative;box-sizing:border-box;width:100%;height:0!important;margin:2px 0;padding:0!important;overflow:hidden;font-size:0;background:white;border-top:5px solid #409eff;outline:none 0;content:""}.form-designer .widget-config-container{height:100%;padding-top:5px}.form-designer .widget-config-container .el-tabs{height:100%}.form-designer .widget-config-container .el-tabs__header{z-index:1000;height:45px;margin:0;background:white}.form-designer .widget-config-container .el-tabs__content{height:calc(100% - 45px);overflow-y:scroll}.form-designer .widget-config-container .widget-config .el-tabs__header{position:relative;top:0;display:block;margin:0}.form-designer .widget-config-container .widget-config .el-tabs__content{margin-top:0}.form-designer .widget-config-container .widget-config .ghost{background:#fff;border:1px dashed #409eff}.form-designer .widget-config-container .widget-config ul{margin:0;padding:0}.form-designer .widget-config-container .widget-config ul li{display:flex;align-items:center;width:100%}.form-designer .widget-config-container .widget-config ul li .ghost{height:35px;font-size:0;list-style:none}.form-designer .widget-config-container .avue-group__item{padding:0}.form-designer .el-container{height:100%}.form-designer .el-container .el-main{height:calc(100% - 45px)}.form-designer .el-container .el-aside{background:#fff}.form-designer .danger{color:#f56c6c}.form-designer .warning{color:#e6a23c}.form-designer .el-input-number.is-controls-right .el-input-number__decrease{border-left:none}.form-designer .el-input-number.is-controls-right .el-input-number__increase{border-bottom:none;border-left:none}.form-designer .el-date-editor,.form-designer .el-cascader,.form-designer .el-select,.form-designer .el-input-number{width:100%}.form-designer .editor-fullscreen{position:fixed!important;inset:0;z-index:1003;box-sizing:border-box;width:100%;height:100%!important;padding:20px;background:#fff}.form-designer .editor-fullscreen i{top:20px!important;left:25px!important}.afd-drawer-foot{position:absolute;right:0;bottom:0;left:0;display:flex;padding:20px}.afd-drawer-foot button{width:50%}.afd-drawer-foot>span{display:inline-block;width:50%}.afd-drawer-foot>span button{width:100%}.afd-preview-form{height:83vh;overflow-y:auto}