@web-utils/component 2.7.12 → 2.7.14

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.
Files changed (110) hide show
  1. package/dist/chunks/{ConfigSelect.vue_vue_type_template_lang.e7a9d5b7.js → ConfigSelect.vue_vue_type_template_lang.dfc91f07.js} +20 -15
  2. package/dist/chunks/{ConfigTable.vue_vue_type_template_lang.e9060616.js → ConfigTable.vue_vue_type_template_lang.b27540fd.js} +1 -1
  3. package/dist/chunks/{ConfigUpload.vue_vue_type_template_lang.48dd814b.js → ConfigUpload.vue_vue_type_template_lang.129c0ced.js} +18 -13
  4. package/dist/chunks/{WidgetConfig.vue_vue_type_template_lang.d3cd0479.js → WidgetConfig.vue_vue_type_template_lang.3cc74fe8.js} +16 -16
  5. package/dist/chunks/{WidgetForm.vue_vue_type_template_lang.fbb7d6b7.js → WidgetForm.vue_vue_type_template_lang.d4b05679.js} +10 -10
  6. package/dist/chunks/{WidgetFormGroup.vue_vue_type_template_lang.47789aae.js → WidgetFormGroup.vue_vue_type_template_lang.bdcb6d37.js} +13 -13
  7. package/dist/chunks/{WidgetFormTable.vue_vue_type_template_lang.30625146.js → WidgetFormTable.vue_vue_type_template_lang.e2b788ba.js} +4 -3
  8. package/dist/chunks/{dataformat.d3fd2d1b.js → dataformat.65b92bfe.js} +36 -35
  9. package/dist/chunks/detail.d67573b1.js +28 -0
  10. package/dist/chunks/dic.70feb9b4.js +135 -0
  11. package/dist/chunks/{event.43b42228.js → event.dd6f522d.js} +3 -3
  12. package/dist/chunks/{init.3b47bb80.js → init.7c58eb34.js} +10 -10
  13. package/dist/chunks/{monaco.1dbdc960.js → monaco.cefcb9f5.js} +92 -85
  14. package/dist/chunks/{packages.6f252850.js → packages.1fc9ccba.js} +1 -1
  15. package/dist/chunks/slot.4b391395.js +27 -0
  16. package/dist/chunks/util.23fe58fb.js +261 -0
  17. package/dist/components/afd-column/index.js +1 -1
  18. package/dist/components/affix/index.js +2 -2
  19. package/dist/components/base.css +1 -1
  20. package/dist/components/carousel/index.js +2 -2
  21. package/dist/components/chat/index.js +9 -9
  22. package/dist/components/column/index.js +25 -25
  23. package/dist/components/column-default/index.js +3 -2
  24. package/dist/components/column-dynamic/index.js +1 -1
  25. package/dist/components/column-menu/index.js +11 -11
  26. package/dist/components/column-slot/index.js +54 -53
  27. package/dist/components/config-custom/index.js +3 -3
  28. package/dist/components/config-event/index.js +5 -5
  29. package/dist/components/config-rate/index.js +1 -1
  30. package/dist/components/config-rate/style.css +1 -1
  31. package/dist/components/config-select/index.js +3 -3
  32. package/dist/components/config-switch/index.js +5 -5
  33. package/dist/components/config-switch/style.css +1 -1
  34. package/dist/components/config-table/index.js +3 -3
  35. package/dist/components/config-tree/index.js +3 -3
  36. package/dist/components/config-tree/style.css +1 -1
  37. package/dist/components/config-upload/index.js +1 -1
  38. package/dist/components/dialog-excel/index.js +37 -40
  39. package/dist/components/dialog-filter/index.js +19 -19
  40. package/dist/components/dialog-form/index.js +1 -1
  41. package/dist/components/element-dialog/index.js +2 -2
  42. package/dist/components/element-dialog/style.css +1 -1
  43. package/dist/components/flow/index.js +17 -18
  44. package/dist/components/flow-node/index.js +1 -1
  45. package/dist/components/form-temp/index.js +3 -3
  46. package/dist/components/fy-array/index.js +2 -2
  47. package/dist/components/fy-cascader/index.js +13 -13
  48. package/dist/components/fy-checkbox/index.js +4 -4
  49. package/dist/components/fy-code/index.js +1 -1
  50. package/dist/components/fy-curd/index.js +68 -69
  51. package/dist/components/fy-date/index.js +1 -1
  52. package/dist/components/fy-dialog-form/index.js +11 -11
  53. package/dist/components/fy-draggable/index.js +5 -7
  54. package/dist/components/fy-dynamic/index.js +32 -28
  55. package/dist/components/fy-empty/index.js +1 -1
  56. package/dist/components/fy-form/index.js +153 -141
  57. package/dist/components/fy-form-design/index.js +31 -31
  58. package/dist/components/fy-input/index.js +60 -46
  59. package/dist/components/fy-input-color/index.js +34 -29
  60. package/dist/components/fy-input-icon/index.js +1 -1
  61. package/dist/components/fy-input-map/index.js +14 -14
  62. package/dist/components/fy-input-number/index.js +1 -1
  63. package/dist/components/fy-input-table/index.js +2 -2
  64. package/dist/components/fy-input-tree/index.js +12 -12
  65. package/dist/components/fy-radio/index.js +1 -1
  66. package/dist/components/fy-rate/index.js +1 -1
  67. package/dist/components/fy-select/index.js +3 -3
  68. package/dist/components/fy-slider/index.js +2 -2
  69. package/dist/components/fy-switch/index.js +1 -1
  70. package/dist/components/fy-tabs/index.js +2 -2
  71. package/dist/components/fy-time/index.js +2 -2
  72. package/dist/components/fy-title/index.js +1 -1
  73. package/dist/components/fy-tree/index.js +3 -3
  74. package/dist/components/fy-u-editor/index.js +26 -24
  75. package/dist/components/fy-upload/index.js +198 -312
  76. package/dist/components/header-menu/index.js +2 -2
  77. package/dist/components/header-search/index.js +16 -15
  78. package/dist/components/image-cropper/index.js +299 -0
  79. package/dist/components/image-cropper/style.css +1 -0
  80. package/dist/components/image-preview/index.js +346 -0
  81. package/dist/components/image-preview/style.css +1 -0
  82. package/dist/components/keyboard/index.js +58 -63
  83. package/dist/components/license/index.js +7 -7
  84. package/dist/components/login/index.js +37 -32
  85. package/dist/components/name-avatar/index.js +1 -1
  86. package/dist/components/pageable-table/index.js +1 -1
  87. package/dist/components/pageable-view/index.js +26 -26
  88. package/dist/components/photo-swipe/index.js +71 -166
  89. package/dist/components/queue/index.js +6 -6
  90. package/dist/components/record-video/index.js +18 -18
  91. package/dist/components/search/index.js +3 -3
  92. package/dist/components/sign/index.js +64 -59
  93. package/dist/components/skeleton/index.js +1 -1
  94. package/dist/components/table-page/index.js +5 -5
  95. package/dist/components/text-ellipsis/index.js +11 -10
  96. package/dist/components/verify/index.js +25 -25
  97. package/dist/components/widget-config/index.js +8 -8
  98. package/dist/components/widget-form/index.js +7 -7
  99. package/dist/components/widget-form-group/index.js +8 -8
  100. package/dist/components/widget-form-item/index.js +14 -13
  101. package/dist/components/widget-form-table/index.js +14 -14
  102. package/dist/index.css +109 -40
  103. package/dist/index.es.js +4069 -3731
  104. package/package.json +6 -56
  105. package/web-types.json +28 -10
  106. package/dist/chunks/detail.ac4d421a.js +0 -28
  107. package/dist/chunks/dic.79d9f595.js +0 -133
  108. package/dist/chunks/slot.1b8d2b1b.js +0 -27
  109. package/dist/chunks/util.80e28481.js +0 -250
  110. package/dist/components/photo-swipe/style.css +0 -1
@@ -1,4 +1,4 @@
1
- import { M as MonacoEditor } from "../../chunks/monaco.1dbdc960.js";
1
+ import { M as MonacoEditor } from "../../chunks/monaco.cefcb9f5.js";
2
2
  import { s as staticRenderFns, r as render } from "../../chunks/ConfigEvent.vue_vue_type_template_lang.5e8ed6cc.js";
3
3
  import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
4
4
  const __vue2_script = {
@@ -25,13 +25,13 @@ const __vue2_script = {
25
25
  "data.prop": {
26
26
  handler() {
27
27
  const { change: n, click: t, focus: s, blur: o } = this.data;
28
- this.$set(this, "change", n ? n + "" : `({value}) => {\r
28
+ this.$set(this, "change", n ? `${n}` : `({value}) => {\r
29
29
  \r
30
- }`), this.$set(this, "click", t ? t + "" : `({value}) => {\r
30
+ }`), this.$set(this, "click", t ? `${t}` : `({value}) => {\r
31
31
  \r
32
- }`), this.$set(this, "focus", s ? s + "" : `({value}) => {\r
32
+ }`), this.$set(this, "focus", s ? `${s}` : `({value}) => {\r
33
33
  \r
34
- }`), this.$set(this, "blur", o ? o + "" : `({value}) => {\r
34
+ }`), this.$set(this, "blur", o ? `${o}` : `({value}) => {\r
35
35
  \r
36
36
  }`);
37
37
  },
@@ -55,7 +55,7 @@ var n = /* @__PURE__ */ a(
55
55
  o,
56
56
  !1,
57
57
  r,
58
- "1c86355d",
58
+ "64e64f97",
59
59
  null,
60
60
  null
61
61
  );
@@ -1 +1 @@
1
- .el-tag[data-v-1c86355d]{vertical-align:top}.el-tag+.el-tag[data-v-1c86355d]{margin-left:5px}.input-new-tag[data-v-1c86355d]{width:90px;margin-left:5px;vertical-align:bottom}.color-picker[data-v-1c86355d]{left:10px;vertical-align:top}
1
+ .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}
@@ -1,6 +1,6 @@
1
1
  import Draggable from "vuedraggable";
2
- import { M as MonacoEditor } from "../../chunks/monaco.1dbdc960.js";
3
- import { s as staticRenderFns, r as render } from "../../chunks/ConfigSelect.vue_vue_type_template_lang.e7a9d5b7.js";
2
+ import { M as MonacoEditor } from "../../chunks/monaco.cefcb9f5.js";
3
+ import { s as staticRenderFns, r as render } from "../../chunks/ConfigSelect.vue_vue_type_template_lang.dfc91f07.js";
4
4
  import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
5
5
  const __vue2_script = {
6
6
  name: "ConfigSelect",
@@ -34,7 +34,7 @@ const __vue2_script = {
34
34
  "data.prop": {
35
35
  handler() {
36
36
  const { dicFormatter: e } = this.data;
37
- this.dicFormatter = e ? e + "" : `(res) => {\r
37
+ this.dicFormatter = e ? `${e}` : `(res) => {\r
38
38
  return res.data\r
39
39
  }`;
40
40
  },
@@ -11,22 +11,22 @@ const s = {
11
11
  }
12
12
  }
13
13
  }, e = {};
14
- var l = /* @__PURE__ */ a(
14
+ var c = /* @__PURE__ */ a(
15
15
  s,
16
16
  o,
17
17
  n,
18
18
  !1,
19
- r,
20
- "8b486734",
19
+ l,
20
+ "2c9c8280",
21
21
  null,
22
22
  null
23
23
  );
24
- function r(i) {
24
+ function l(r) {
25
25
  for (let t in e)
26
26
  this[t] = e[t];
27
27
  }
28
28
  const u = /* @__PURE__ */ function() {
29
- return l.exports;
29
+ return c.exports;
30
30
  }();
31
31
  export {
32
32
  u as default
@@ -1 +1 @@
1
- .dic[data-v-8b486734]{display:flex;margin-bottom:5px}
1
+ .dic[data-v-2c9c8280]{display:flex;margin-bottom:5px}
@@ -1,5 +1,5 @@
1
- import { M as MonacoEditor } from "../../chunks/monaco.1dbdc960.js";
2
- import { s as staticRenderFns, r as render, A as AfdColumn } from "../../chunks/ConfigTable.vue_vue_type_template_lang.e9060616.js";
1
+ import { M as MonacoEditor } from "../../chunks/monaco.cefcb9f5.js";
2
+ import { s as staticRenderFns, r as render, A as AfdColumn } from "../../chunks/ConfigTable.vue_vue_type_template_lang.b27540fd.js";
3
3
  import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
4
4
  const __vue2_script = {
5
5
  name: "ConfigTable",
@@ -23,7 +23,7 @@ const __vue2_script = {
23
23
  "data.prop": {
24
24
  handler() {
25
25
  const { onLoad: e, formatter: t } = this.data;
26
- this.onLoad = e ? e + "" : "", this.formatter = t ? t + "" : "";
26
+ this.onLoad = e ? `${e}` : "", this.formatter = t ? `${t}` : "";
27
27
  },
28
28
  immediate: !0
29
29
  },
@@ -1,4 +1,4 @@
1
- import { M as MonacoEditor } from "../../chunks/monaco.1dbdc960.js";
1
+ import { M as MonacoEditor } from "../../chunks/monaco.cefcb9f5.js";
2
2
  import Draggable from "vuedraggable";
3
3
  import { s as staticRenderFns, r as render } from "../../chunks/ConfigTree.vue_vue_type_style_index_0_scoped_true_lang.89ec5376.js";
4
4
  import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
@@ -44,7 +44,7 @@ const __vue2_script = {
44
44
  handler() {
45
45
  this.$set(this.data, "cascader", this.data.cascaderItem), this.$delete(this.data, "cascaderItem");
46
46
  const { dicFormatter: e } = this.data;
47
- this.dicFormatter = e ? e + "" : `(res) => {\r
47
+ this.dicFormatter = e ? `${e}` : `(res) => {\r
48
48
  return res.data\r
49
49
  }`;
50
50
  },
@@ -106,7 +106,7 @@ var __component__ = /* @__PURE__ */ normalizeComponent(
106
106
  staticRenderFns,
107
107
  !1,
108
108
  __vue2_injectStyles,
109
- "657de8b2",
109
+ "42ed5e40",
110
110
  null,
111
111
  null
112
112
  );
@@ -1 +1 @@
1
- .custom-tree-node[data-v-657de8b2]{flex:1;display:flex;align-items:center;justify-content:space-between;font-size:14px;padding-right:8px}
1
+ .custom-tree-node[data-v-42ed5e40]{flex:1;display:flex;align-items:center;justify-content:space-between;font-size:14px;padding-right:8px}
@@ -1,4 +1,4 @@
1
- import { s as n, r as o } from "../../chunks/ConfigUpload.vue_vue_type_template_lang.48dd814b.js";
1
+ import { s as n, r as o } from "../../chunks/ConfigUpload.vue_vue_type_template_lang.129c0ced.js";
2
2
  import { n as s } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
3
3
  const i = {
4
4
  name: "ConfigUpload",
@@ -1,8 +1,8 @@
1
- import { d as p } from "../../chunks/detail.ac4d421a.js";
2
- import { d as a } from "../../chunks/util.80e28481.js";
3
- import { n as c } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
1
+ import { d as u } from "../../chunks/detail.d67573b1.js";
2
+ import { d as a } from "../../chunks/util.23fe58fb.js";
3
+ import { n as p } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
4
4
  var d = function() {
5
- var t = this, s = t.$createElement, e = t._self._c || s;
5
+ var t = this, r = t.$createElement, e = t._self._c || r;
6
6
  return t.box ? e("div", [e("ElementDialog", {
7
7
  staticClass: "avue-dialog",
8
8
  attrs: {
@@ -12,8 +12,8 @@ var d = function() {
12
12
  width: t.crud.isMobile ? "100%" : "30%"
13
13
  },
14
14
  on: {
15
- "update:visible": function(r) {
16
- t.box = r;
15
+ "update:visible": function(s) {
16
+ t.box = s;
17
17
  }
18
18
  },
19
19
  scopedSlots: t._u([{
@@ -34,7 +34,7 @@ var d = function() {
34
34
  size: t.crud.isMediumSize
35
35
  },
36
36
  on: {
37
- click: function(r) {
37
+ click: function(s) {
38
38
  t.box = !1;
39
39
  }
40
40
  }
@@ -48,8 +48,8 @@ var d = function() {
48
48
  },
49
49
  model: {
50
50
  value: t.form,
51
- callback: function(r) {
52
- t.form = r;
51
+ callback: function(s) {
52
+ t.form = s;
53
53
  },
54
54
  expression: "form"
55
55
  }
@@ -79,17 +79,16 @@ const m = {
79
79
  data: this.handleSum()
80
80
  }), this.box = !1;
81
81
  },
82
- //计算统计
82
+ // 计算统计
83
83
  handleSum() {
84
- const t = this.crud.tableOption, s = this.crud.propOption;
85
- let e = this.form.type ? this.crud.list : this.crud.tableSelect, r = [];
86
- return this.form.params.includes("data") && e.forEach((i) => {
87
- let o = a(i);
88
- s.forEach((l) => {
89
- let u = l.parentProp ? (this.crud.cascaderDIC[row.$index] || {})[l.prop] : this.crud.DIC[l.prop];
90
- o[l.prop] = p(o, l, t, u);
91
- }), r.push(o);
92
- }), this.form.params.includes("sum") && t.showSummary && r.push(this.crud.sumsList), r;
84
+ const t = this.crud.tableOption, r = this.crud.propOption, e = this.form.type ? this.crud.list : this.crud.tableSelect, s = [];
85
+ return this.form.params.includes("data") && e.forEach((o) => {
86
+ const i = a(o);
87
+ r.forEach((n) => {
88
+ const c = n.parentProp ? (this.crud.cascaderDIC[row.$index] || {})[n.prop] : this.crud.DIC[n.prop];
89
+ i[n.prop] = u(i, n, t, c);
90
+ }), s.push(i);
91
+ }), this.form.params.includes("sum") && t.showSummary && s.push(this.crud.sumsList), s;
93
92
  },
94
93
  getOption() {
95
94
  this.option = {
@@ -133,7 +132,7 @@ const m = {
133
132
  type: "checkbox",
134
133
  span: 24,
135
134
  value: ["header", "data"].concat((() => {
136
- let t = [];
135
+ const t = [];
137
136
  return this.crud.isHeader && t.push("headers"), this.crud.isShowSummary && t.push("sum"), t;
138
137
  })()),
139
138
  dicData: [{
@@ -144,7 +143,7 @@ const m = {
144
143
  label: "数据源",
145
144
  value: "data"
146
145
  }].concat((() => {
147
- let t = [];
146
+ const t = [];
148
147
  return t.push({
149
148
  label: "复杂表头",
150
149
  value: "headers",
@@ -160,39 +159,37 @@ const m = {
160
159
  }, this.form.type = this.crud.selectLen == 0;
161
160
  },
162
161
  getColumnOption() {
163
- let t = a(this.crud.columnOption), s = [];
164
- const e = (r = []) => {
165
- r.forEach((i, o) => {
166
- let l = i.children;
167
- l && !Array.isArray(l) ? delete i.children : i.showColumn === !1 ? r.splice(o, 1) : (s.push(i.prop), i.children && e(l));
162
+ const t = a(this.crud.columnOption), r = [], e = (s = []) => {
163
+ s.forEach((o, i) => {
164
+ const n = o.children;
165
+ n && !Array.isArray(n) ? delete o.children : o.showColumn === !1 ? s.splice(i, 1) : (r.push(o.prop), o.children && e(n));
168
166
  });
169
167
  };
170
- e(t), this.columnOption = t, this.form.prop = s;
168
+ e(t), this.columnOption = t, this.form.prop = r;
171
169
  },
172
170
  getColumn() {
173
- let t = a(this.columnOption), s = this.$refs.form.getPropRef("prop").$refs.temp.getHalfList();
171
+ const t = a(this.columnOption), r = this.$refs.form.getPropRef("prop").$refs.temp.getHalfList();
174
172
  if (!this.form.params)
175
173
  return [];
176
174
  if (this.form.params.includes("headers")) {
177
- const e = (r = []) => {
178
- r.forEach((i, o) => {
179
- s.includes(i.prop) ? i.children && e(i.children) : r.splice(o, 1);
175
+ const e = (s = []) => {
176
+ s.forEach((o, i) => {
177
+ r.includes(o.prop) ? o.children && e(o.children) : s.splice(i, 1);
180
178
  });
181
179
  };
182
180
  return e(t), t;
183
181
  } else {
184
- let e = [];
185
- const r = (i = []) => {
186
- i.forEach((o) => {
187
- o.children ? r(o.children) : s.includes(o.prop) && e.push(o);
182
+ const e = [], s = (o = []) => {
183
+ o.forEach((i) => {
184
+ i.children ? s(i.children) : r.includes(i.prop) && e.push(i);
188
185
  });
189
186
  };
190
- return r(t), e;
187
+ return s(t), e;
191
188
  }
192
189
  }
193
190
  }
194
- }, n = {};
195
- var f = /* @__PURE__ */ c(
191
+ }, l = {};
192
+ var f = /* @__PURE__ */ p(
196
193
  m,
197
194
  d,
198
195
  h,
@@ -203,8 +200,8 @@ var f = /* @__PURE__ */ c(
203
200
  null
204
201
  );
205
202
  function b(t) {
206
- for (let s in n)
207
- this[s] = n[s];
203
+ for (let r in l)
204
+ this[r] = l[r];
208
205
  }
209
206
  const x = /* @__PURE__ */ function() {
210
207
  return f.exports;
@@ -1,4 +1,4 @@
1
- import { d as n } from "../../chunks/util.80e28481.js";
1
+ import { d as u } from "../../chunks/util.23fe58fb.js";
2
2
  import { n as o } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
3
3
  var r = function() {
4
4
  var e = this, l = e.$createElement, t = e._self._c || l;
@@ -47,9 +47,9 @@ var r = function() {
47
47
  on: {
48
48
  click: e.handleValueClear
49
49
  }
50
- }, [e._v(" 清空数据 ")])], 1)], 1), e._l(e.list, function(i, s) {
50
+ }, [e._v(" 清空数据 ")])], 1)], 1), e._l(e.list, function(i, a) {
51
51
  return t("ElCol", {
52
- key: s,
52
+ key: a,
53
53
  staticClass: "avue-crud__filter-item",
54
54
  attrs: {
55
55
  md: 12,
@@ -64,14 +64,14 @@ var r = function() {
64
64
  size: e.crud.isMediumSize
65
65
  },
66
66
  on: {
67
- change: function(a) {
68
- return e.handleChange(s);
67
+ change: function(s) {
68
+ return e.handleChange(a);
69
69
  }
70
70
  },
71
71
  model: {
72
72
  value: i.text,
73
- callback: function(a) {
74
- e.$set(i, "text", a);
73
+ callback: function(s) {
74
+ e.$set(i, "text", s);
75
75
  },
76
76
  expression: "column.text"
77
77
  }
@@ -84,8 +84,8 @@ var r = function() {
84
84
  },
85
85
  model: {
86
86
  value: i.symbol,
87
- callback: function(a) {
88
- e.$set(i, "symbol", a);
87
+ callback: function(s) {
88
+ e.$set(i, "symbol", s);
89
89
  },
90
90
  expression: "column.symbol"
91
91
  }
@@ -96,8 +96,8 @@ var r = function() {
96
96
  },
97
97
  model: {
98
98
  value: i.value,
99
- callback: function(a) {
100
- e.$set(i, "value", a);
99
+ callback: function(s) {
100
+ e.$set(i, "value", s);
101
101
  },
102
102
  expression: "column.value"
103
103
  }
@@ -110,8 +110,8 @@ var r = function() {
110
110
  icon: "el-icon-minus"
111
111
  },
112
112
  on: {
113
- click: function(a) {
114
- return e.handleDelete(s);
113
+ click: function(s) {
114
+ return e.handleDelete(a);
115
115
  }
116
116
  }
117
117
  })], 1);
@@ -189,8 +189,8 @@ const d = {
189
189
  this.getColumnOption(), this.box = !0;
190
190
  },
191
191
  getColumnOption() {
192
- let e = [];
193
- n(this.crud.propOption).forEach((t) => {
192
+ const e = [];
193
+ u(this.crud.propOption).forEach((t) => {
194
194
  t.showColumn !== !1 && e.push(Object.assign(t, {
195
195
  value: t.prop
196
196
  }));
@@ -206,7 +206,7 @@ const d = {
206
206
  this.list.forEach((e) => e.value = "");
207
207
  },
208
208
  handleSubmit() {
209
- let e = [];
209
+ const e = [];
210
210
  this.list.forEach((l) => {
211
211
  e.push([l.text, l.symbol, l.value]);
212
212
  }), this.crud.$emit("filter", e), this.box = !1;
@@ -223,7 +223,7 @@ const d = {
223
223
  });
224
224
  }
225
225
  }
226
- }, u = {};
226
+ }, n = {};
227
227
  var m = /* @__PURE__ */ o(
228
228
  d,
229
229
  r,
@@ -235,8 +235,8 @@ var m = /* @__PURE__ */ o(
235
235
  null
236
236
  );
237
237
  function v(e) {
238
- for (let l in u)
239
- this[l] = u[l];
238
+ for (let l in n)
239
+ this[l] = n[l];
240
240
  }
241
241
  const _ = /* @__PURE__ */ function() {
242
242
  return m.exports;
@@ -1,5 +1,5 @@
1
1
  import { c } from "../../chunks/config.46422d7f.js";
2
- import { d as l, o as r, u, j as a } from "../../chunks/util.80e28481.js";
2
+ import { d as l, o as r, u, j as a } from "../../chunks/util.23fe58fb.js";
3
3
  import { isBlank as o } from "@web-utils/core";
4
4
  import { n as h } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
5
5
  var p = function() {
@@ -23,7 +23,7 @@ var r = function() {
23
23
  value: {
24
24
  onMove: e.updatePopper
25
25
  },
26
- expression: "{onMove:updatePopper}",
26
+ expression: "{ onMove: updatePopper }",
27
27
  arg: e.fullScreen
28
28
  }],
29
29
  staticClass: "el-dialog__wrapper",
@@ -67,7 +67,7 @@ var r = function() {
67
67
  click: e.toggleFullScreen
68
68
  }
69
69
  }) : e._e(), e.showClose ? t("ElButton", {
70
- staticClass: "header-button",
70
+ staticClass: "header-button header-dialog-close",
71
71
  attrs: {
72
72
  "aria-label": "Close",
73
73
  type: "text",
@@ -1 +1 @@
1
- .element-dialog.el-dialog.el-dialog-resizeable{display:flex;flex-direction:column}.element-dialog.el-dialog.el-dialog-resizeable .el-dialog__body{position:relative;flex:1 1 auto;padding:0}.element-dialog.el-dialog.el-dialog-resizeable .el-dialog__header{position:relative;font-size:18px}.element-dialog.el-dialog.el-dialog-resizeable .el-dialog__footer{padding-bottom:10px;text-align:right}.element-dialog.el-dialog.el-dialog-resizeable .fullscreen-btn{position:absolute;top:14px;right:50px;padding:2px;color:#fff;background:0 0;border:none;outline:0;cursor:pointer}.element-dialog.el-dialog.el-dialog-resizeable .fullscreen-btn:hover{background:#e34e55}.element-dialog.el-dialog.el-dialog-resizeable .fullscreen-btn .el-icon-full-screen,.element-dialog.el-dialog.el-dialog-resizeable .fullscreen-btn .el-icon-copy-document{padding:4px;font-size:13px}.element-dialog.el-dialog.el-dialog-resizeable .dialog-head-group{position:absolute;top:50%;right:14px;transform:translateY(-50%)}.element-dialog.el-dialog.is-fullscreen{position:absolute;top:0!important;left:0!important;width:100%!important;height:100%!important}.element-dialog.el-dialog.el-dialog--center .el-dialog__header{justify-content:center}.element-dialog.el-dialog.el-dialog--flex-column .el-dialog__body{display:flex;flex-direction:column}.element-dialog.el-dialog.el-dialog--flex-row .el-dialog__body{display:flex;flex-direction:row}.element-dialog.el-dialog.el-dialog__body-padding .el-dialog__body{padding:10px}.element-dialog.el-dialog .el-dialog__body{padding:0}.element-dialog.el-dialog .el-dialog__header{display:flex;flex-direction:row;position:relative;align-items:center;padding:4px 10px;font-size:16px;background-color:#409eff}.element-dialog.el-dialog .el-dialog__header .el-dialog__title{color:#fff;font-weight:400;font-size:16px}.element-dialog.el-dialog .header-button-wrapper{position:absolute;top:50%;right:10px;display:flex;transform:translateY(-50%)}.element-dialog.el-dialog .header-button{padding:2px;color:#fff;border:none;outline:0;cursor:pointer}.element-dialog.el-dialog .header-button:hover{background:#e34e55}
1
+ .element-dialog.el-dialog.el-dialog-resizeable{display:flex;flex-direction:column}.element-dialog.el-dialog.el-dialog-resizeable .el-dialog__body{position:relative;flex:1 1 auto;padding:0}.element-dialog.el-dialog.el-dialog-resizeable .el-dialog__header{position:relative;font-size:18px}.element-dialog.el-dialog.el-dialog-resizeable .el-dialog__footer{padding-bottom:10px;text-align:right}.element-dialog.el-dialog.el-dialog-resizeable .dialog-head-group{position:absolute;top:50%;right:14px;transform:translateY(-50%)}.element-dialog.el-dialog.is-fullscreen{position:absolute;top:0!important;left:0!important;width:100%!important;height:100%!important}.element-dialog.el-dialog.el-dialog--center .el-dialog__header{justify-content:center}.element-dialog.el-dialog.el-dialog--flex-column .el-dialog__body{display:flex;flex-direction:column}.element-dialog.el-dialog.el-dialog--flex-row .el-dialog__body{display:flex;flex-direction:row}.element-dialog.el-dialog.el-dialog__body-padding .el-dialog__body{padding:10px}.element-dialog.el-dialog .el-dialog__body{padding:0}.element-dialog.el-dialog .el-dialog__header{display:flex;flex-direction:row;position:relative;align-items:center;padding:4px 10px;font-size:16px;background-color:#409eff}.element-dialog.el-dialog .el-dialog__header .el-dialog__title{color:#fff;font-weight:400;font-size:16px}.element-dialog.el-dialog .header-button-wrapper{position:absolute;top:50%;right:10px;display:flex;transform:translateY(-50%)}.element-dialog.el-dialog .header-button{padding:2px;color:#fff;border:none;outline:0;cursor:pointer}.element-dialog.el-dialog .header-button.header-dialog-close:hover{background:#e34e55}.element-dialog.el-dialog .header-button:hover{background:rgba(0,0,0,.3)}
@@ -1,5 +1,5 @@
1
- import { s as l, r as u } from "../../chunks/util.80e28481.js";
2
- import { n as c } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
1
+ import { s as l, r as c } from "../../chunks/util.23fe58fb.js";
2
+ import { n as u } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
3
3
  var h = function() {
4
4
  var t = this, e = t.$createElement, n = t._self._c || e;
5
5
  return n("div", {
@@ -98,14 +98,14 @@ const m = {
98
98
  },
99
99
  jsplumbSourceOptions: {
100
100
  filter: ".avue-flow__node-drag",
101
- /* "span"表示标签,".className"表示类,"#id"表示元素id*/
101
+ /* "span"表示标签,".className"表示类,"#id"表示元素id */
102
102
  filterExclude: !1,
103
103
  anchor: "Continuous",
104
104
  allowLoopback: !1
105
105
  },
106
106
  jsplumbTargetOptions: {
107
107
  filter: ".avue-flow__node-drag",
108
- /*"span"表示标签,".className"表示类,"#id"表示元素id */
108
+ /* "span"表示标签,".className"表示类,"#id"表示元素id */
109
109
  filterExclude: !1,
110
110
  anchor: "Continuous",
111
111
  allowLoopback: !1
@@ -131,7 +131,7 @@ const m = {
131
131
  }
132
132
  },
133
133
  created() {
134
- this.id = u(), this.jsplumbSetting.Container = this.id;
134
+ this.id = c(), this.jsplumbSetting.Container = this.id;
135
135
  },
136
136
  mounted() {
137
137
  this.init();
@@ -147,8 +147,8 @@ const m = {
147
147
  },
148
148
  // 是否具有该线
149
149
  hasLine(t, e) {
150
- for (var n = 0; n < this.data.lineList.length; n++) {
151
- var i = this.data.lineList[n];
150
+ for (let n = 0; n < this.data.lineList.length; n++) {
151
+ const i = this.data.lineList[n];
152
152
  if (i.from === t && i.to === e)
153
153
  return !0;
154
154
  }
@@ -170,12 +170,12 @@ const m = {
170
170
  },
171
171
  // 改变节点的位置
172
172
  changeNodeSite({ index: t, left: e, top: n }) {
173
- for (var i = 0; i < this.option.nodeList.length; i++)
173
+ for (let i = 0; i < this.option.nodeList.length; i++)
174
174
  i === t && (this.$set(this.option.nodeList[i], "left", e), this.$set(this.option.nodeList[i], "top", n));
175
175
  },
176
- //删除节点
176
+ // 删除节点
177
177
  deleteNode(t) {
178
- return this.$confirm("确定要删除节点" + t + "?", "提示", {
178
+ return this.$confirm(`确定要删除节点${t}?`, "提示", {
179
179
  confirmButtonText: "确定",
180
180
  cancelButtonText: "取消",
181
181
  type: "warning",
@@ -191,10 +191,9 @@ const m = {
191
191
  },
192
192
  // 添加新的节点
193
193
  addNode(t) {
194
- const e = this.option.nodeList.length;
195
- let n = "node" + e;
194
+ const e = this.option.nodeList.length, n = `node${e}`;
196
195
  this.option.nodeList.push({
197
- id: "node" + e,
196
+ id: `node${e}`,
198
197
  name: t,
199
198
  left: 0,
200
199
  top: 0
@@ -206,11 +205,11 @@ const m = {
206
205
  },
207
206
  loadEasyFlow() {
208
207
  for (var t = 0; t < this.option.nodeList.length; t++) {
209
- let e = this.option.nodeList[t];
208
+ const e = this.option.nodeList[t];
210
209
  this.jsPlumb.makeSource(e.id, this.jsplumbSourceOptions), this.jsPlumb.makeTarget(e.id, this.jsplumbTargetOptions), this.jsPlumb.draggable(e.id);
211
210
  }
212
211
  for (var t = 0; t < this.option.lineList.length; t++) {
213
- let n = this.option.lineList[t];
212
+ const n = this.option.lineList[t];
214
213
  this.jsPlumb.connect({
215
214
  source: n.from,
216
215
  target: n.to
@@ -234,7 +233,7 @@ const m = {
234
233
  });
235
234
  }), t.jsPlumb.bind("connection", function(e) {
236
235
  console.log("connection", e);
237
- let n = e.source.id, i = e.target.id;
236
+ const n = e.source.id, i = e.target.id;
238
237
  t.loadEasyFlowFinish && t.option.lineList.push({
239
238
  from: n,
240
239
  to: i
@@ -247,7 +246,7 @@ const m = {
247
246
  console.log("contextmenu", e);
248
247
  }), t.jsPlumb.bind("beforeDrop", function(e) {
249
248
  console.log("beforeDrop", e);
250
- let n = e.sourceId, i = e.targetId;
249
+ const n = e.sourceId, i = e.targetId;
251
250
  return n === i ? (t.$message.error("不能连接自己"), !1) : t.hasLine(n, i) ? (t.$message.error("不能重复连线"), !1) : t.hashOppositeLine(n, i) ? (t.$message.error("不能回环哦"), !1) : !0;
252
251
  }), t.jsPlumb.bind("beforeDetach", function(e) {
253
252
  console.log("beforeDetach", e);
@@ -256,7 +255,7 @@ const m = {
256
255
  }
257
256
  }
258
257
  }, r = {};
259
- var f = /* @__PURE__ */ c(
258
+ var f = /* @__PURE__ */ u(
260
259
  m,
261
260
  h,
262
261
  d,
@@ -1,4 +1,4 @@
1
- import { s as n } from "../../chunks/util.80e28481.js";
1
+ import { s as n } from "../../chunks/util.23fe58fb.js";
2
2
  import { n as r } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
3
3
  var l = function() {
4
4
  var e = this, o = e.$createElement, t = e._self._c || o;
@@ -1,6 +1,6 @@
1
- import { g as a, a as u } from "../../chunks/dataformat.d3fd2d1b.js";
2
- import { s as p } from "../../chunks/slot.1b8d2b1b.js";
3
- import { u as s } from "../../chunks/util.80e28481.js";
1
+ import { g as a, a as u } from "../../chunks/dataformat.65b92bfe.js";
2
+ import { s as p } from "../../chunks/slot.4b391395.js";
3
+ import { u as s } from "../../chunks/util.23fe58fb.js";
4
4
  import { n as c } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
5
5
  var i = function() {
6
6
  var e = this, n = e.$createElement, o = e._self._c || n;
@@ -1,5 +1,5 @@
1
- import { p as a, e as o } from "../../chunks/event.43b42228.js";
2
- import { x as c } from "../../chunks/util.80e28481.js";
1
+ import { p as a, e as o } from "../../chunks/event.dd6f522d.js";
2
+ import { x as c } from "../../chunks/util.23fe58fb.js";
3
3
  import { n as p } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
4
4
  var u = function() {
5
5
  var t = this, s = t.$createElement, e = t._self._c || s;
@@ -1,7 +1,7 @@
1
- import { p as d, e as u } from "../../chunks/event.43b42228.js";
1
+ import { p as d, e as u } from "../../chunks/event.dd6f522d.js";
2
2
  import { n as p } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
3
3
  var h = function() {
4
- var e = this, t = e.$createElement, s = e._self._c || t;
4
+ var e = this, l = e.$createElement, s = e._self._c || l;
5
5
  return s("ElCascader", {
6
6
  attrs: {
7
7
  options: e.dic,
@@ -21,14 +21,14 @@ var h = function() {
21
21
  blur: e.handleBlur
22
22
  },
23
23
  nativeOn: {
24
- click: function(l) {
24
+ click: function(t) {
25
25
  return e.handleClick.apply(null, arguments);
26
26
  }
27
27
  },
28
28
  scopedSlots: e._u([{
29
29
  key: "default",
30
- fn: function(l) {
31
- var a = l.data, n = l.node;
30
+ fn: function(t) {
31
+ var a = t.data, n = t.node;
32
32
  return [e.$scopedSlots.default ? e._t("default", null, {
33
33
  data: a,
34
34
  node: n
@@ -37,8 +37,8 @@ var h = function() {
37
37
  }], null, !0),
38
38
  model: {
39
39
  value: e.text,
40
- callback: function(l) {
41
- e.text = l;
40
+ callback: function(t) {
41
+ e.text = t;
42
42
  },
43
43
  expression: "text"
44
44
  }
@@ -94,14 +94,14 @@ const y = {
94
94
  multiple: this.multiple,
95
95
  emitPath: this.emitPath,
96
96
  lazy: this.lazy,
97
- lazyLoad: (e, t) => {
98
- let s = (l) => {
99
- let a = (n, i, c) => {
97
+ lazyLoad: (e, l) => {
98
+ const s = (t) => {
99
+ const a = (n, i, c) => {
100
100
  n.forEach((r) => {
101
101
  r[this.valueKey] === i ? r[this.childrenKey] = c : r[this.childrenKey] && a(r[this.childrenKey]);
102
102
  });
103
103
  };
104
- a(this.dic, e[this.valueKey], l), t(l);
104
+ a(this.dic, e[this.valueKey], t), l(t);
105
105
  };
106
106
  this.lazyLoad && this.lazyLoad(e, s);
107
107
  },
@@ -121,8 +121,8 @@ var v = /* @__PURE__ */ p(
121
121
  null
122
122
  );
123
123
  function _(e) {
124
- for (let t in o)
125
- this[t] = o[t];
124
+ for (let l in o)
125
+ this[l] = o[l];
126
126
  }
127
127
  const g = /* @__PURE__ */ function() {
128
128
  return v.exports;