@web-utils/component 2.8.1 → 2.8.2

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 (83) hide show
  1. package/base.css +1 -1
  2. package/card/index.mjs +33 -37
  3. package/chat/index.mjs +132 -123
  4. package/chunks/{dataformat.25e22176.mjs → dataformat.ab62230f.mjs} +1 -1
  5. package/chunks/{detail.6e53ede8.mjs → detail.6e46de33.mjs} +1 -1
  6. package/chunks/dic.7f13b573.mjs +130 -0
  7. package/chunks/{event.a018cb06.mjs → event.1ac32f1d.mjs} +2 -2
  8. package/chunks/{init.f04c7036.mjs → init.47ce5ed9.mjs} +2 -2
  9. package/chunks/util.505913d9.mjs +266 -0
  10. package/column/index.mjs +2 -2
  11. package/column-default/index.mjs +1 -1
  12. package/column-dynamic/index.mjs +1 -1
  13. package/column-menu/index.mjs +81 -79
  14. package/column-slot/index.mjs +8 -7
  15. package/comment/index.mjs +6 -10
  16. package/data-pay/index.mjs +16 -13
  17. package/data-table-picker/index.mjs +22 -22
  18. package/dialog-excel/index.mjs +8 -8
  19. package/dialog-filter/index.mjs +4 -2
  20. package/dialog-form/index.mjs +6 -6
  21. package/editable-tree/index.mjs +5 -5
  22. package/flow/index.mjs +11 -11
  23. package/flow/style.css +1 -1
  24. package/flow-node/index.mjs +2 -2
  25. package/form-button/index.mjs +16 -38
  26. package/form-group/index.mjs +28 -33
  27. package/form-temp/index.mjs +15 -27
  28. package/fy-array/index.mjs +44 -42
  29. package/fy-cascader/index.mjs +1 -1
  30. package/fy-checkbox/index.mjs +2 -1
  31. package/fy-code/index.mjs +1 -1
  32. package/fy-curd/index.mjs +29 -31
  33. package/fy-date/index.mjs +1 -1
  34. package/fy-dialog-form/index.mjs +5 -11
  35. package/fy-draggable/index.mjs +3 -3
  36. package/fy-dynamic/index.mjs +3 -3
  37. package/fy-empty/index.mjs +1 -1
  38. package/fy-form/index.mjs +133 -122
  39. package/fy-form-design/index.mjs +2595 -2610
  40. package/fy-form-design/style.css +1 -1
  41. package/fy-input/index.mjs +10 -15
  42. package/fy-input-color/index.mjs +1 -1
  43. package/fy-input-icon/index.mjs +21 -16
  44. package/fy-input-map/index.mjs +22 -19
  45. package/fy-input-number/index.mjs +1 -1
  46. package/fy-input-table/index.mjs +1 -1
  47. package/fy-input-tree/index.mjs +5 -6
  48. package/fy-radio/index.mjs +3 -1
  49. package/fy-rate/index.mjs +2 -1
  50. package/fy-select/index.mjs +29 -28
  51. package/fy-slider/index.mjs +2 -2
  52. package/fy-switch/index.mjs +2 -1
  53. package/fy-tabs/index.mjs +19 -17
  54. package/fy-time/index.mjs +1 -1
  55. package/fy-title/index.mjs +1 -1
  56. package/fy-tree/index.mjs +8 -6
  57. package/fy-u-editor/index.mjs +10 -14
  58. package/fy-upload/index.mjs +85 -84
  59. package/header-menu/index.mjs +1 -1
  60. package/header-search/index.mjs +7 -5
  61. package/image-cropper/index.mjs +1 -1
  62. package/image-preview/index.mjs +1 -1
  63. package/index.cjs +39 -39
  64. package/index.css +1 -1
  65. package/index.mjs +16577 -16591
  66. package/license/index.mjs +1 -1
  67. package/login/index.mjs +1 -1
  68. package/monaco-editor/index.mjs +3 -3
  69. package/package.json +1 -1
  70. package/process-designer/index.mjs +10 -2
  71. package/queue/index.mjs +3 -8
  72. package/queue/style.css +1 -0
  73. package/record-video/index.mjs +1 -1
  74. package/search/index.mjs +2 -2
  75. package/search-popover/index.mjs +25 -24
  76. package/sign/index.mjs +17 -18
  77. package/sign/style.css +1 -1
  78. package/table-page/index.mjs +21 -23
  79. package/text-ellipsis/index.mjs +1 -1
  80. package/verify/index.mjs +1 -1
  81. package/web-types.json +52 -166
  82. package/chunks/dic.e8280157.mjs +0 -130
  83. package/chunks/util.17330567.mjs +0 -266
@@ -1,22 +1,19 @@
1
- import { dialog as o } from "@web-utils/vue/mixin/dialog";
2
- import { f as r } from "../chunks/index.57f871af.mjs";
3
- import { n as s } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
4
- var a = function() {
1
+ import { f as n } from "../chunks/index.57f871af.mjs";
2
+ import { n as o } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
3
+ var r = function() {
5
4
  var e = this, t = e.$createElement, l = e._self._c || t;
6
5
  return l("ElementDialog", {
6
+ ref: "dialog",
7
7
  attrs: {
8
- visible: e.show,
8
+ visible: e.visible,
9
9
  title: e.title,
10
10
  width: e.width,
11
11
  height: e.height,
12
+ embed: "",
12
13
  "flex-column": ""
13
14
  },
14
15
  on: {
15
- "update:visible": function(n) {
16
- e.show = n;
17
- },
18
- close: e.close,
19
- closed: e.closed
16
+ close: e.close
20
17
  },
21
18
  scopedSlots: e._u([{
22
19
  key: "default",
@@ -66,11 +63,11 @@ var a = function() {
66
63
  proxy: !0
67
64
  }], null, !0)
68
65
  });
69
- }, c = [];
70
- const u = {
66
+ }, s = [];
67
+ const a = {
71
68
  name: "DataTablePicker",
72
- mixins: [o],
73
69
  props: {
70
+ visible: Boolean,
74
71
  api: Function,
75
72
  columns: Array,
76
73
  title: String,
@@ -99,7 +96,7 @@ const u = {
99
96
  };
100
97
  },
101
98
  methods: {
102
- filterTableColumnProperties: r,
99
+ filterTableColumnProperties: n,
103
100
  selectionChange(e) {
104
101
  this.selectedRows = e;
105
102
  },
@@ -109,29 +106,32 @@ const u = {
109
106
  toggleRowSelection(e) {
110
107
  this.$refs.pageableTable.$refs.table.toggleRowSelection(e);
111
108
  },
109
+ close() {
110
+ this.$refs.dialog.hide();
111
+ },
112
112
  confirm() {
113
113
  var e;
114
114
  this.multiple ? (e = this.selectedRows) != null && e.length ? (this.$emit("confirm", this.selectedRows), this.close()) : this.$message.warning("请选择") : this.currentRow ? (this.$emit("confirm", this.currentRow), this.close()) : this.$message.warning("请选择");
115
115
  }
116
116
  }
117
117
  }, i = {};
118
- var h = /* @__PURE__ */ s(
119
- u,
118
+ var c = /* @__PURE__ */ o(
120
119
  a,
121
- c,
120
+ r,
121
+ s,
122
122
  !1,
123
- m,
123
+ u,
124
124
  null,
125
125
  null,
126
126
  null
127
127
  );
128
- function m(e) {
128
+ function u(e) {
129
129
  for (let t in i)
130
130
  this[t] = i[t];
131
131
  }
132
- const d = /* @__PURE__ */ function() {
133
- return h.exports;
132
+ const f = /* @__PURE__ */ function() {
133
+ return c.exports;
134
134
  }();
135
135
  export {
136
- d as default
136
+ f as default
137
137
  };
@@ -1,6 +1,6 @@
1
- import { d as u } from "../chunks/detail.6e53ede8.mjs";
2
- import { d as a } from "../chunks/util.17330567.mjs";
3
- import { n as p } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
1
+ import { d as p } from "../chunks/detail.6e46de33.mjs";
2
+ import { d as a } from "../chunks/util.505913d9.mjs";
3
+ import { n as u } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
4
4
  var d = function() {
5
5
  var t = this, r = t.$createElement, e = t._self._c || r;
6
6
  return t.box ? e("div", [e("ElementDialog", {
@@ -85,8 +85,8 @@ const m = {
85
85
  return this.form.params.includes("data") && e.forEach((o) => {
86
86
  const i = a(o);
87
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);
88
+ const c = n.parentProp ? (this.crud.cascaderDIC[n.$index] || {})[n.prop] : this.crud.DIC[n.prop];
89
+ i[n.prop] = p(i, n, t, c);
90
90
  }), s.push(i);
91
91
  }), this.form.params.includes("sum") && t.showSummary && s.push(this.crud.sumsList), s;
92
92
  },
@@ -110,7 +110,7 @@ const m = {
110
110
  value: !0
111
111
  }, {
112
112
  label: "选中的数据(当前页选中的数据)",
113
- disabled: this.crud.tableOption.selection != !0,
113
+ disabled: this.crud.tableOption.selection !== !0,
114
114
  value: !1
115
115
  }]
116
116
  },
@@ -156,7 +156,7 @@ const m = {
156
156
  })())
157
157
  }
158
158
  ]
159
- }, this.form.type = this.crud.selectLen == 0;
159
+ }, this.form.type = this.crud.selectLen === 0;
160
160
  },
161
161
  getColumnOption() {
162
162
  const t = a(this.crud.columnOption), r = [], e = (s = []) => {
@@ -189,7 +189,7 @@ const m = {
189
189
  }
190
190
  }
191
191
  }, l = {};
192
- var f = /* @__PURE__ */ p(
192
+ var f = /* @__PURE__ */ u(
193
193
  m,
194
194
  d,
195
195
  h,
@@ -1,4 +1,4 @@
1
- import { d as u } from "../chunks/util.17330567.mjs";
1
+ import { d as u } from "../chunks/util.505913d9.mjs";
2
2
  import { n as o } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
3
3
  var r = function() {
4
4
  var e = this, l = e.$createElement, t = e._self._c || l;
@@ -203,7 +203,9 @@ const d = {
203
203
  this.list = [];
204
204
  },
205
205
  handleValueClear() {
206
- this.list.forEach((e) => e.value = "");
206
+ this.list.forEach((e) => {
207
+ e.value = "";
208
+ });
207
209
  },
208
210
  handleSubmit() {
209
211
  const e = [];
@@ -1,5 +1,5 @@
1
- import { isEmpty as n } from "@web-utils/core";
2
- import { d as l } from "../chunks/util.17330567.mjs";
1
+ import { isEmpty as a } from "@web-utils/core";
2
+ import { d as l } from "../chunks/util.505913d9.mjs";
3
3
  import r from "vue";
4
4
  import { n as c } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
5
5
  var d = function() {
@@ -94,7 +94,7 @@ const i = {
94
94
  }
95
95
  },
96
96
  methods: {
97
- isEmpty: n,
97
+ isEmpty: a,
98
98
  deepClone: l,
99
99
  submit() {
100
100
  this.$refs.form.submit();
@@ -125,7 +125,7 @@ i.showForm = (e) => {
125
125
  const t = r.extend(i), o = new t().$mount();
126
126
  return document.body.appendChild(o.$el), o.show(e), o;
127
127
  };
128
- const u = i, a = {};
128
+ const u = i, n = {};
129
129
  var p = /* @__PURE__ */ c(
130
130
  u,
131
131
  d,
@@ -137,8 +137,8 @@ var p = /* @__PURE__ */ c(
137
137
  null
138
138
  );
139
139
  function b(e) {
140
- for (let t in a)
141
- this[t] = a[t];
140
+ for (let t in n)
141
+ this[t] = n[t];
142
142
  }
143
143
  const v = /* @__PURE__ */ function() {
144
144
  return p.exports;
@@ -30,8 +30,8 @@ import { hasOwn as m, isVerticalScrollbarVisible as M, scrollbarWidth as K, comp
30
30
  import { addResizeListener as C, removeResizeListener as v } from "@web-utils/integrations/resize";
31
31
  import { cloneDeep as g } from "@web-utils/integrations/lodash";
32
32
  import { a as z, b as S, c as y } from "../chunks/index.57f871af.mjs";
33
- import { n as I } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
34
- var V = function() {
33
+ import { n as V } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
34
+ var A = function() {
35
35
  var e = this, i = e.$createElement, t = e._self._c || i;
36
36
  return t("div", {
37
37
  staticClass: "editable-tree"
@@ -378,7 +378,7 @@ var V = function() {
378
378
  curNode: e.curNode,
379
379
  curData: e.curData
380
380
  })], 2)]) : e._e()], 1)], 1);
381
- }, A = [];
381
+ }, I = [];
382
382
  const O = {
383
383
  name: "EditableTree",
384
384
  props: {
@@ -822,10 +822,10 @@ const O = {
822
822
  }
823
823
  }
824
824
  }, $ = {};
825
- var F = /* @__PURE__ */ I(
825
+ var F = /* @__PURE__ */ V(
826
826
  O,
827
- V,
828
827
  A,
828
+ I,
829
829
  !1,
830
830
  j,
831
831
  null,
package/flow/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { s as l, r as c } from "../chunks/util.17330567.mjs";
1
+ import { s as l, r as c } from "../chunks/util.505913d9.mjs";
2
2
  import { n as u } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
3
3
  var h = function() {
4
4
  var t = this, e = t.$createElement, n = t._self._c || e;
@@ -43,7 +43,7 @@ var h = function() {
43
43
  })], 2)];
44
44
  })], 2)]);
45
45
  }, d = [];
46
- const m = {
46
+ const f = {
47
47
  name: "Flow",
48
48
  props: {
49
49
  value: {
@@ -138,7 +138,7 @@ const m = {
138
138
  },
139
139
  methods: {
140
140
  init() {
141
- this.jsPlumb = jsPlumb.getInstance(), this.$nextTick(() => {
141
+ this.jsPlumb = window.jsPlumb.getInstance(), this.$nextTick(() => {
142
142
  this.jsPlumbInit();
143
143
  });
144
144
  },
@@ -204,15 +204,15 @@ const m = {
204
204
  });
205
205
  },
206
206
  loadEasyFlow() {
207
- for (var t = 0; t < this.option.nodeList.length; t++) {
207
+ for (let t = 0; t < this.option.nodeList.length; t++) {
208
208
  const e = this.option.nodeList[t];
209
209
  this.jsPlumb.makeSource(e.id, this.jsplumbSourceOptions), this.jsPlumb.makeTarget(e.id, this.jsplumbTargetOptions), this.jsPlumb.draggable(e.id);
210
210
  }
211
- for (var t = 0; t < this.option.lineList.length; t++) {
212
- const n = this.option.lineList[t];
211
+ for (let t = 0; t < this.option.lineList.length; t++) {
212
+ const e = this.option.lineList[t];
213
213
  this.jsPlumb.connect({
214
- source: n.from,
215
- target: n.to
214
+ source: e.from,
215
+ target: e.to
216
216
  }, this.jsplumbConnectOptions);
217
217
  }
218
218
  this.$nextTick(function() {
@@ -255,8 +255,8 @@ const m = {
255
255
  }
256
256
  }
257
257
  }, r = {};
258
- var f = /* @__PURE__ */ u(
259
- m,
258
+ var m = /* @__PURE__ */ u(
259
+ f,
260
260
  h,
261
261
  d,
262
262
  !1,
@@ -270,7 +270,7 @@ function p(t) {
270
270
  this[e] = r[e];
271
271
  }
272
272
  const j = /* @__PURE__ */ function() {
273
- return f.exports;
273
+ return m.exports;
274
274
  }();
275
275
  export {
276
276
  j as default
package/flow/style.css CHANGED
@@ -1 +1 @@
1
- .avue-flow{position:relative}.avue-flow .avue-draggable{padding:0}.avue-flow__node{position:relative;display:flex;flex-direction:column;box-sizing:border-box;width:200px;height:80px;overflow:hidden;border:1px solid #eee;border-radius:5px;box-shadow:"#66a6e0 0px 0px 12px 0px"}.avue-flow__node--active{border-color:#f56c6c;border-width:2px}.avue-flow__node-drag{display:inline-block;margin:0 5px}.avue-flow__node-header{flex:1;background-color:#66a6e0}.avue-flow__node-body{display:flex;flex:1.5;align-items:center;justify-content:center;text-align:center;background:#fff}
1
+ .avue-flow{position:relative}.avue-flow .avue-draggable{padding:0}.avue-flow__node{position:relative;display:flex;flex-direction:column;box-sizing:border-box;width:200px;height:80px;overflow:hidden;border:1px solid #eee;border-radius:5px;box-shadow:#66a6e0 0 0 12px}.avue-flow__node--active{border-color:#f56c6c;border-width:2px}.avue-flow__node-drag{display:inline-block;margin:0 5px}.avue-flow__node-header{flex:1;background-color:#66a6e0}.avue-flow__node-body{display:flex;flex:1.5;align-items:center;justify-content:center;text-align:center;background:#fff}
@@ -1,4 +1,4 @@
1
- import { s as n } from "../chunks/util.17330567.mjs";
1
+ import { s as n } from "../chunks/util.505913d9.mjs";
2
2
  import { n as r } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
3
3
  var l = function() {
4
4
  var e = this, o = e.$createElement, t = e._self._c || o;
@@ -72,7 +72,7 @@ const i = {
72
72
  },
73
73
  // 鼠标移动后抬起
74
74
  changeNodeSite() {
75
- this.node.left == this.$refs.node.style.left && this.node.top == this.$refs.node.style.top || this.$emit("changeNodeSite", {
75
+ this.node.left === this.$refs.node.style.left && this.node.top === this.$refs.node.style.top || this.$emit("changeNodeSite", {
76
76
  index: this.index,
77
77
  left: Number(this.$refs.node.style.left.replace("px", "")),
78
78
  top: Number(this.$refs.node.style.top.replace("px", ""))
@@ -1,28 +1,6 @@
1
- import { c as r } from "../chunks/confirmable-mixin.2bfe1ab9.mjs";
1
+ import { Confirmable as n } from "@web-utils/component";
2
2
  import { n as o } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
3
- const i = {
4
- name: "Confirmable",
5
- mixins: [r]
6
- };
7
- let s, _;
8
- const t = {};
9
- var a = /* @__PURE__ */ o(
10
- i,
11
- s,
12
- _,
13
- !1,
14
- u,
15
- null,
16
- null,
17
- null
18
- );
19
- function u(l) {
20
- for (let n in t)
21
- this[n] = t[n];
22
- }
23
- const c = /* @__PURE__ */ function() {
24
- return a.exports;
25
- }(), p = {
3
+ const l = {
26
4
  props: {
27
5
  type: {
28
6
  type: String,
@@ -52,29 +30,29 @@ const c = /* @__PURE__ */ function() {
52
30
  default: "AwesomeButton"
53
31
  }
54
32
  }
55
- }, f = {
33
+ }, r = {
56
34
  name: "FormButton",
57
- mixins: [c, p]
35
+ mixins: [n, l]
58
36
  };
59
- let m, d;
37
+ let a, i;
60
38
  const e = {};
61
- var v = /* @__PURE__ */ o(
62
- f,
63
- m,
64
- d,
39
+ var u = /* @__PURE__ */ o(
40
+ r,
41
+ a,
42
+ i,
65
43
  !1,
66
- g,
44
+ s,
67
45
  null,
68
46
  null,
69
47
  null
70
48
  );
71
- function g(l) {
72
- for (let n in e)
73
- this[n] = e[n];
49
+ function s(p) {
50
+ for (let t in e)
51
+ this[t] = e[t];
74
52
  }
75
- const B = /* @__PURE__ */ function() {
76
- return v.exports;
53
+ const f = /* @__PURE__ */ function() {
54
+ return u.exports;
77
55
  }();
78
56
  export {
79
- B as default
57
+ f as default
80
58
  };
@@ -1,5 +1,5 @@
1
- import { n as o } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
2
- var s = function() {
1
+ import { n } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
2
+ var l = function() {
3
3
  var e = this, a = e.$createElement, t = e._self._c || a;
4
4
  return e.display ? t("div", {
5
5
  class: ["avue-group", {
@@ -15,8 +15,8 @@ var s = function() {
15
15
  },
16
16
  model: {
17
17
  value: e.activeName,
18
- callback: function(l) {
19
- e.activeName = l;
18
+ callback: function(o) {
19
+ e.activeName = o;
20
20
  },
21
21
  expression: "activeName"
22
22
  }
@@ -24,26 +24,25 @@ var s = function() {
24
24
  attrs: {
25
25
  name: 1,
26
26
  disabled: !e.arrow
27
- }
28
- }, [e.$slots.header && e.header ? t("div", {
29
- staticClass: "avue-group__header",
30
- attrs: {
31
- slot: "title"
32
- },
33
- slot: "title"
34
- }, [e._t("header")], 2) : (e.label || e.icon) && e.header ? t("div", {
35
- staticClass: "avue-group__header",
36
- attrs: {
37
- slot: "title"
38
27
  },
39
- slot: "title"
40
- }, [e.icon ? t("i", {
41
- class: [e.icon, "avue-group__icon"]
42
- }) : e._e(), e.label ? t("h1", {
43
- staticClass: "avue-group__title"
44
- }, [e._v(" " + e._s(e.label) + " ")]) : e._e()]) : e._e(), e._t("default")], 2)], 1)], 2) : e._e();
45
- }, n = [];
46
- const i = {
28
+ scopedSlots: e._u([{
29
+ key: "title",
30
+ fn: function() {
31
+ return [t("div", {
32
+ staticClass: "avue-group__header"
33
+ }, [e._t("header", function() {
34
+ return [e.icon ? t("i", {
35
+ class: [e.icon, "avue-group__icon"]
36
+ }) : e._e(), e.label ? t("h1", {
37
+ staticClass: "avue-group__title"
38
+ }, [e._v(" " + e._s(e.label) + " ")]) : e._e()];
39
+ })], 2)];
40
+ },
41
+ proxy: !0
42
+ }], null, !0)
43
+ }, [e._t("default")], 2)], 1)], 2) : e._e();
44
+ }, s = [];
45
+ const u = {
47
46
  name: "FormGroup",
48
47
  props: {
49
48
  arrow: {
@@ -65,10 +64,6 @@ const i = {
65
64
  type: Boolean,
66
65
  default: !0
67
66
  },
68
- card: {
69
- type: Boolean,
70
- default: !1
71
- },
72
67
  label: {
73
68
  type: String
74
69
  }
@@ -100,10 +95,10 @@ const i = {
100
95
  }
101
96
  }
102
97
  }, r = {};
103
- var u = /* @__PURE__ */ o(
104
- i,
98
+ var i = /* @__PURE__ */ n(
99
+ u,
100
+ l,
105
101
  s,
106
- n,
107
102
  !1,
108
103
  c,
109
104
  null,
@@ -114,9 +109,9 @@ function c(e) {
114
109
  for (let a in r)
115
110
  this[a] = r[a];
116
111
  }
117
- const d = /* @__PURE__ */ function() {
118
- return u.exports;
112
+ const p = /* @__PURE__ */ function() {
113
+ return i.exports;
119
114
  }();
120
115
  export {
121
- d as default
116
+ p as default
122
117
  };
@@ -1,8 +1,8 @@
1
- import { g as a, a as u } from "../chunks/dataformat.25e22176.mjs";
2
- import { s as p } from "../chunks/slot.4b391395.mjs";
3
- import { u as s } from "../chunks/util.17330567.mjs";
4
- import { n as c } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
5
- var i = function() {
1
+ import { g as a, a as u } from "../chunks/dataformat.ab62230f.mjs";
2
+ import { s } from "../chunks/slot.4b391395.mjs";
3
+ import { u as p } from "../chunks/util.505913d9.mjs";
4
+ import { n as m } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
5
+ var c = function() {
6
6
  var e = this, n = e.$createElement, o = e._self._c || n;
7
7
  return o(e.getComponent(e.column.type, e.column.component), e._g(e._b({
8
8
  ref: "temp",
@@ -28,8 +28,8 @@ var i = function() {
28
28
  scopedSlots: e._u([e._l(e.columnSlot, function(t) {
29
29
  return {
30
30
  key: t,
31
- fn: function(r) {
32
- return [e._t(t, null, null, r)];
31
+ fn: function(l) {
32
+ return [e._t(t, null, null, l)];
33
33
  }
34
34
  };
35
35
  })], null, !0),
@@ -45,18 +45,12 @@ var i = function() {
45
45
  innerHTML: e._s(e.params.html)
46
46
  }
47
47
  }) : e._e()]);
48
- }, m = [];
48
+ }, i = [];
49
49
  const d = {
50
50
  name: "FormTemp",
51
- mixins: [p],
51
+ mixins: [s],
52
52
  props: {
53
53
  value: [String, Object, Number, Boolean, Array],
54
- uploadBefore: Function,
55
- uploadDelete: Function,
56
- uploadAfter: Function,
57
- uploadPreview: Function,
58
- uploadError: Function,
59
- uploadExceed: Function,
60
54
  columnSlot: {
61
55
  type: Array,
62
56
  default: () => []
@@ -65,9 +59,6 @@ const d = {
65
59
  type: Object,
66
60
  default: () => ({})
67
61
  },
68
- clearable: {
69
- type: Boolean
70
- },
71
62
  enter: {
72
63
  type: Boolean,
73
64
  default: !1
@@ -85,9 +76,6 @@ const d = {
85
76
  dic: {
86
77
  type: Array
87
78
  },
88
- placeholder: {
89
- type: String
90
- },
91
79
  size: {
92
80
  type: String
93
81
  },
@@ -119,18 +107,18 @@ const d = {
119
107
  }
120
108
  },
121
109
  methods: {
122
- uploadFun: s,
110
+ uploadFun: p,
123
111
  getComponent: a,
124
112
  getPlaceholder: u,
125
113
  enterChange() {
126
114
  typeof this.column.enter == "function" ? this.column.enter({ value: this.text, column: this.column }) : this.enter && this.$emit("enter");
127
115
  }
128
116
  }
129
- }, l = {};
130
- var y = /* @__PURE__ */ c(
117
+ }, r = {};
118
+ var y = /* @__PURE__ */ m(
131
119
  d,
120
+ c,
132
121
  i,
133
- m,
134
122
  !1,
135
123
  f,
136
124
  null,
@@ -138,8 +126,8 @@ var y = /* @__PURE__ */ c(
138
126
  null
139
127
  );
140
128
  function f(e) {
141
- for (let n in l)
142
- this[n] = l[n];
129
+ for (let n in r)
130
+ this[n] = r[n];
143
131
  }
144
132
  const v = /* @__PURE__ */ function() {
145
133
  return y.exports;