@web-utils/component 3.2.0 → 3.2.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 (58) hide show
  1. package/chunks/{FormTemp.0eqGAu6W.mjs → FormTemp.0ezzipG4.mjs} +5 -6
  2. package/chunks/FyUEditor.c06LkvIy.mjs +224 -0
  3. package/chunks/FyUEditor.vue_vue_type_style_index_0_lang.0-PDx197.mjs +167 -0
  4. package/chunks/IconTemp.tzsg5qth.mjs +29 -0
  5. package/chunks/ResizeObserver.sOHk2Cm-.mjs +51 -0
  6. package/chunks/{form-input-mixin.IKogWBfn.mjs → form-input-mixin.DLHG0EnH.mjs} +2 -2
  7. package/chunks/{form-item-mixin.BilKDUlK.mjs → form-item-mixin.gd9p9Rrj.mjs} +1 -1
  8. package/chunks/{index.LGsb2aDq.mjs → index.Uf8ONhVI.mjs} +3 -3
  9. package/data-display/index.mjs +129 -15
  10. package/data-table-picker/index.mjs +1 -1
  11. package/easy-popup/index.mjs +8 -7
  12. package/editable-tree/index.mjs +1 -1
  13. package/flex-column/index.mjs +1 -1
  14. package/flex-item/index.mjs +1 -1
  15. package/flex-row/index.mjs +1 -1
  16. package/flow-designer/index.mjs +218 -164
  17. package/flow-viewer/index.mjs +161 -73
  18. package/form-button/index.mjs +25 -11
  19. package/form-cascader/index.mjs +2 -2
  20. package/form-checkbox-group/index.mjs +2 -2
  21. package/form-date-picker/index.mjs +2 -2
  22. package/form-holder/index.mjs +1 -1
  23. package/form-input/index.mjs +2 -2
  24. package/form-input-email/index.mjs +2 -2
  25. package/form-input-id-card/index.mjs +2 -2
  26. package/form-input-number/index.mjs +2 -2
  27. package/form-input-phone-number/index.mjs +2 -2
  28. package/form-input-tag/index.mjs +155 -31
  29. package/form-input-time/index.mjs +2 -2
  30. package/form-item/index.mjs +1 -1
  31. package/form-radio-group/index.mjs +2 -2
  32. package/form-select/index.mjs +2 -2
  33. package/form-switch/index.mjs +2 -2
  34. package/form-textarea/index.mjs +2 -2
  35. package/form-view/index.mjs +12 -13
  36. package/fy-curd/index.mjs +4 -5
  37. package/fy-form/index.mjs +1 -1
  38. package/fy-form-design/index.mjs +498 -329
  39. package/fy-input-icon/index.mjs +20 -21
  40. package/fy-u-editor/index.mjs +75 -237
  41. package/highlight-j-s/index.mjs +4 -3
  42. package/icon-temp/index.mjs +7 -6
  43. package/index.mjs +446 -446
  44. package/nav-bar/index.mjs +7 -6
  45. package/package.json +4 -4
  46. package/page/index.mjs +1 -0
  47. package/page-header/index.mjs +3 -2
  48. package/page-skeleton/index.mjs +95 -17
  49. package/pageable-table/index.mjs +1 -1
  50. package/pageable-view/index.mjs +8 -8
  51. package/present-view/index.mjs +3 -4
  52. package/resize-observer/index.mjs +4 -3
  53. package/split-pane/index.mjs +3 -4
  54. package/swiper/index.mjs +3 -4
  55. package/table-view/index.mjs +1 -1
  56. package/watermark/index.mjs +1 -1
  57. package/web-types.json +1 -1
  58. package/x-input-tag/index.mjs +10 -9
@@ -1,45 +1,133 @@
1
- var _ = Object.defineProperty, b = Object.defineProperties;
2
- var x = Object.getOwnPropertyDescriptors;
1
+ var x = Object.defineProperty, k = Object.defineProperties;
2
+ var $ = Object.getOwnPropertyDescriptors;
3
3
  var g = Object.getOwnPropertySymbols;
4
- var M = Object.prototype.hasOwnProperty, V = Object.prototype.propertyIsEnumerable;
5
- var u = (i, t, e) => t in i ? _(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e, w = (i, t) => {
6
- for (var e in t || (t = {}))
7
- M.call(t, e) && u(i, e, t[e]);
4
+ var B = Object.prototype.hasOwnProperty, M = Object.prototype.propertyIsEnumerable;
5
+ var y = (i, e, t) => e in i ? x(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, v = (i, e) => {
6
+ for (var t in e || (e = {}))
7
+ B.call(e, t) && y(i, t, e[t]);
8
8
  if (g)
9
- for (var e of g(t))
10
- V.call(t, e) && u(i, e, t[e]);
9
+ for (var t of g(e))
10
+ M.call(e, t) && y(i, t, e[t]);
11
11
  return i;
12
- }, y = (i, t) => b(i, x(t));
13
- var v = (i, t, e) => new Promise((s, n) => {
12
+ }, w = (i, e) => k(i, $(e));
13
+ var m = (i, e, t) => new Promise((o, n) => {
14
14
  var l = (r) => {
15
15
  try {
16
- a(e.next(r));
17
- } catch (o) {
18
- n(o);
16
+ a(t.next(r));
17
+ } catch (s) {
18
+ n(s);
19
19
  }
20
20
  }, h = (r) => {
21
21
  try {
22
- a(e.throw(r));
23
- } catch (o) {
24
- n(o);
22
+ a(t.throw(r));
23
+ } catch (s) {
24
+ n(s);
25
25
  }
26
- }, a = (r) => r.done ? s(r.value) : Promise.resolve(r.value).then(l, h);
27
- a((e = e.apply(i, t)).next());
26
+ }, a = (r) => r.done ? o(r.value) : Promise.resolve(r.value).then(l, h);
27
+ a((t = t.apply(i, e)).next());
28
28
  });
29
- import A from "bpmn-js/lib/NavigatedViewer";
30
- import d from "diagram-js/lib/navigation/zoomscroll/ZoomScroll";
31
- import { create as p, attr as c, append as m } from "tiny-svg";
32
- import { query as E } from "min-dom";
33
- import $ from "@web-utils/component/easy-popup";
34
- import "@web-utils/component/easy-popup/style.css";
35
- import { n as F } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
36
- const f = d.prototype._handleWheel, S = {
29
+ import V from "bpmn-js/lib/NavigatedViewer";
30
+ import f from "diagram-js/lib/navigation/zoomscroll/ZoomScroll";
31
+ import { create as d, attr as c, append as p } from "tiny-svg";
32
+ import { query as C } from "min-dom";
33
+ import { getComputedWidth as E, getComputedHeight as W } from "@web-utils/core";
34
+ /* empty css */
35
+ import { n as _ } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
36
+ const A = {
37
+ name: "EasyPopup",
38
+ props: {
39
+ // 是否开启边界检测
40
+ border: {
41
+ type: Boolean,
42
+ default: !0
43
+ },
44
+ // 显示点偏移量
45
+ offset: {
46
+ type: Object,
47
+ default: () => ({ x: 6, y: 2 })
48
+ },
49
+ // 边界距离
50
+ borderWidth: {
51
+ type: Number,
52
+ default: 6
53
+ },
54
+ appendToBody: Boolean,
55
+ flexRow: Boolean,
56
+ flexColumn: Boolean,
57
+ hideOnMouseLeave: {
58
+ type: Boolean,
59
+ default: !0
60
+ },
61
+ interactive: Boolean
62
+ },
63
+ data() {
64
+ return {
65
+ // 是否显示
66
+ visible: !1,
67
+ rendered: !1,
68
+ // 触发点坐标
69
+ axis: { x: 0, y: 0 }
70
+ };
71
+ },
72
+ computed: {
73
+ position() {
74
+ return {
75
+ top: `${this.axis.y + this.offset.y}px`,
76
+ left: `${this.axis.x + this.offset.x}px`
77
+ };
78
+ }
79
+ },
80
+ watch: {
81
+ axis() {
82
+ return m(this, null, function* () {
83
+ if (this.border) {
84
+ yield this.$nextTick();
85
+ const i = E(this.$refs.container), e = W(this.$refs.container), t = document.body.offsetWidth, o = document.body.offsetHeight;
86
+ this.axis.x + this.offset.x + i >= t && (this.axis.x = t - i - this.borderWidth - this.offset.x), this.axis.y + this.offset.y + e >= o && (this.axis.y = o - e - this.borderWidth - this.offset.y);
87
+ }
88
+ });
89
+ }
90
+ },
91
+ destroyed() {
92
+ this.$el.remove();
93
+ },
94
+ methods: {
95
+ show({ clientX: i, clientY: e }) {
96
+ this.axis = { x: i, y: e }, this.visible || (document.addEventListener("click", this.doHide, !0), this.rendered = !0, this.visible = !0), this.appendToBody && document.body.appendChild(this.$el);
97
+ },
98
+ hide() {
99
+ this.visible = !1, document.removeEventListener("click", this.doHide);
100
+ },
101
+ doHide(i) {
102
+ this.interactive && this.$el.contains(i.target) || this.hide();
103
+ }
104
+ }
105
+ };
106
+ var F = function() {
107
+ var e = this, t = e._self._c;
108
+ return t("Transition", { attrs: { name: "easy-popup" } }, [e.rendered ? t("div", { directives: [{ name: "show", rawName: "v-show", value: e.visible, expression: "visible" }], ref: "container", class: [
109
+ "easy-popup",
110
+ { "easy-popup__visible": e.visible, "easy-popup__hide": !e.visible, "flex-row": e.flexRow, "flex-column": e.flexColumn }
111
+ ], style: e.position, on: { mouseleave: function(o) {
112
+ e.hideOnMouseLeave && e.hide();
113
+ } } }, [e._t("default")], 2) : e._e()]);
114
+ }, L = [], H = /* @__PURE__ */ _(
115
+ A,
116
+ F,
117
+ L,
118
+ !1,
119
+ null,
120
+ null,
121
+ null,
122
+ null
123
+ );
124
+ const S = H.exports, u = f.prototype._handleWheel, T = {
37
125
  __init__: ["zoomScroll"],
38
- zoomScroll: ["type", d]
39
- }, B = {
126
+ zoomScroll: ["type", f]
127
+ }, P = {
40
128
  name: "FlowViewer",
41
129
  components: {
42
- EasyPopup: $
130
+ EasyPopup: S
43
131
  },
44
132
  props: {
45
133
  xml: {
@@ -72,17 +160,17 @@ const f = d.prototype._handleWheel, S = {
72
160
  },
73
161
  watch: {
74
162
  xml(i) {
75
- var t;
76
- (t = this.bpmnViewer) == null || t.importXML(i);
163
+ var e;
164
+ (e = this.bpmnViewer) == null || e.importXML(i);
77
165
  }
78
166
  },
79
167
  mounted() {
80
- d.prototype._handleWheel = this.ctrlKey ? f : function(i) {
81
- const { target: t, deltaMode: e, clientX: s, clientY: n, deltaX: l, deltaY: h } = i;
82
- f.call(this, {
83
- target: t,
84
- deltaMode: e,
85
- clientX: s,
168
+ f.prototype._handleWheel = this.ctrlKey ? u : function(i) {
169
+ const { target: e, deltaMode: t, clientX: o, clientY: n, deltaX: l, deltaY: h } = i;
170
+ u.call(this, {
171
+ target: e,
172
+ deltaMode: t,
173
+ clientX: o,
86
174
  clientY: n,
87
175
  deltaX: l,
88
176
  deltaY: h,
@@ -91,25 +179,25 @@ const f = d.prototype._handleWheel, S = {
91
179
  },
92
180
  ctrlKey: !0
93
181
  });
94
- }, this.bpmnViewer = new A(y(w({}, this.options), {
182
+ }, this.bpmnViewer = new V(w(v({}, this.options), {
95
183
  container: this.$refs.container,
96
- additionalModules: [S]
184
+ additionalModules: [T]
97
185
  })), this.bpmnViewer.on("import.done", (i) => {
98
- const t = i.error, e = i.warnings;
99
- t ? this.$emit("error", t) : this.$emit("shown", e), this.canvas = this.bpmnViewer.get("canvas"), this.fitViewportCenter(), this.elementRegistry = this.bpmnViewer.get("elementRegistry");
100
- const s = this.bpmnViewer.get("eventBus");
101
- this.events && this.events.forEach((o) => {
102
- s.on(o, (k) => {
103
- this.$emit(o.replace(".", "-"), k.element);
186
+ const e = i.error, t = i.warnings;
187
+ e ? this.$emit("error", e) : this.$emit("shown", t), this.canvas = this.bpmnViewer.get("canvas"), this.fitViewportCenter(), this.elementRegistry = this.bpmnViewer.get("elementRegistry");
188
+ const o = this.bpmnViewer.get("eventBus");
189
+ this.events && this.events.forEach((s) => {
190
+ o.on(s, (b) => {
191
+ this.$emit(s.replace(".", "-"), b.element);
104
192
  });
105
- }), this.nodePopup && s.on("element.mousemove", (o) => {
106
- o.element.type === "bpmn:UserTask" && requestAnimationFrame(() => v(this, null, function* () {
107
- this.element = o.element, yield this.$nextTick(), this.$refs.popup.show(o.originalEvent);
193
+ }), this.nodePopup && o.on("element.mousemove", (s) => {
194
+ s.element.type === "bpmn:UserTask" && requestAnimationFrame(() => m(this, null, function* () {
195
+ this.element = s.element, yield this.$nextTick(), this.$refs.popup.show(s.originalEvent);
108
196
  }));
109
- }), this.nodePopup && s.on("element.out", () => {
197
+ }), this.nodePopup && o.on("element.out", () => {
110
198
  this.$refs.popup.hide(), this.element = {};
111
199
  }), this.highlightFlow(this.historicActivities, this.activities);
112
- const n = p("marker");
200
+ const n = d("marker");
113
201
  c(n, {
114
202
  id: "sequenceflow-arrow-green",
115
203
  viewBox: "0 0 20 20",
@@ -119,12 +207,12 @@ const f = d.prototype._handleWheel, S = {
119
207
  markerHeight: "10",
120
208
  orient: "auto"
121
209
  });
122
- const l = p("path");
210
+ const l = d("path");
123
211
  c(l, {
124
212
  d: "M 1 5 L 11 10 L 1 15 Z",
125
213
  style: "stroke-linecap: round; stroke-linejoin: round; stroke: var(--highlight-color); stroke-width: 1px; fill: var(--highlight-color);"
126
- }), m(n, l);
127
- const h = p("marker");
214
+ }), p(n, l);
215
+ const h = d("marker");
128
216
  c(h, {
129
217
  id: "conditional-default-flow-marker-green",
130
218
  viewBox: "0 0 20 20",
@@ -134,60 +222,60 @@ const f = d.prototype._handleWheel, S = {
134
222
  markerHeight: "10",
135
223
  orient: "auto"
136
224
  });
137
- const a = p("path");
225
+ const a = d("path");
138
226
  c(a, {
139
227
  d: "M 6 4 L 10 16",
140
228
  style: "stroke-linecap: round; stroke-linejoin: round; stroke: var(--highlight-color); stroke-width: 2px; fill: var(--highlight-color);"
141
- }), m(h, a);
142
- const r = E("defs", this.$el);
143
- m(r, n), m(r, h);
229
+ }), p(h, a);
230
+ const r = C("defs", this.$el);
231
+ p(r, n), p(r, h);
144
232
  }), this.bpmnViewer.importXML(this.xml), this.$watch(
145
233
  () => ({
146
234
  activities: this.activities,
147
235
  historicActivities: this.historicActivities
148
236
  }),
149
- ({ activities: i, historicActivities: t }) => {
150
- this.highlightFlow(t, i);
237
+ ({ activities: i, historicActivities: e }) => {
238
+ this.highlightFlow(e, i);
151
239
  }
152
240
  );
153
241
  },
154
242
  beforeDestroy() {
155
243
  var i;
156
- d.prototype._handleWheel = f, (i = this.bpmnViewer) == null || i.destroy();
244
+ f.prototype._handleWheel = u, (i = this.bpmnViewer) == null || i.destroy();
157
245
  },
158
246
  methods: {
159
247
  fitViewportCenter(i = "center") {
160
248
  this.canvas.zoom("fit-viewport", i);
161
249
  },
162
- highlightFlow(i, t) {
163
- this.elementRegistry.getAll().forEach((e) => {
250
+ highlightFlow(i, e) {
251
+ this.elementRegistry.getAll().forEach((t) => {
164
252
  [
165
253
  "bpmn:StartEvent",
166
254
  "bpmn:UserTask",
167
255
  "bpmn:ExclusiveGateway",
168
256
  "bpmn:ParallelGateway",
169
257
  "bpmn:EndEvent"
170
- ].includes(e.type) && (i.includes(e.id) && !t.includes(e.id) ? this.canvas.addMarker(e, "highlight") : this.canvas.removeMarker(e, "highlight")), e.type === "bpmn:SequenceFlow" && (i.includes(e.id) ? this.canvas.addMarker(e, "highlight-line") : this.canvas.removeMarker(e, "highlight-line")), e.type === "bpmn:UserTask" && (t.includes(e.id) ? this.canvas.addMarker(e, "highlight-current") : this.canvas.removeMarker(e, "highlight-current"));
258
+ ].includes(t.type) && (i.includes(t.id) && !e.includes(t.id) ? this.canvas.addMarker(t, "highlight") : this.canvas.removeMarker(t, "highlight")), t.type === "bpmn:SequenceFlow" && (i.includes(t.id) ? this.canvas.addMarker(t, "highlight-line") : this.canvas.removeMarker(t, "highlight-line")), t.type === "bpmn:UserTask" && (e.includes(t.id) ? this.canvas.addMarker(t, "highlight-current") : this.canvas.removeMarker(t, "highlight-current"));
171
259
  });
172
260
  }
173
261
  }
174
262
  };
175
- var C = function() {
176
- var t = this, e = t._self._c;
177
- return e("div", { ref: "container", staticClass: "flow-viewer flow-background-image", style: { "--highlight-color": t.highlightColor } }, [e("EasyPopup", { ref: "popup", attrs: { "append-to-body": "", "flex-column": "", offset: { x: 6, y: 6 } } }, [t._t("default", function() {
178
- return [t._v(" " + t._s(t.element) + " ")];
179
- }, { element: t.element })], 2)], 1);
180
- }, P = [], W = /* @__PURE__ */ F(
181
- B,
182
- C,
263
+ var R = function() {
264
+ var e = this, t = e._self._c;
265
+ return t("div", { ref: "container", staticClass: "flow-viewer flow-background-image", style: { "--highlight-color": e.highlightColor } }, [t("EasyPopup", { ref: "popup", attrs: { "append-to-body": "", "flex-column": "", offset: { x: 6, y: 6 } } }, [e._t("default", function() {
266
+ return [e._v(" " + e._s(e.element) + " ")];
267
+ }, { element: e.element })], 2)], 1);
268
+ }, X = [], q = /* @__PURE__ */ _(
183
269
  P,
270
+ R,
271
+ X,
184
272
  !1,
185
273
  null,
186
274
  null,
187
275
  null,
188
276
  null
189
277
  );
190
- const D = W.exports;
278
+ const G = q.exports;
191
279
  export {
192
- D as default
280
+ G as default
193
281
  };
@@ -1,6 +1,20 @@
1
- import n from "@web-utils/component/confirmable";
2
- import { n as o } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
1
+ import { c as o } from "../chunks/confirmable-mixin.GqdyYLEM.mjs";
2
+ import { n } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
3
3
  const t = {
4
+ name: "Confirmable",
5
+ mixins: [o]
6
+ }, e = null, l = null;
7
+ var a = /* @__PURE__ */ n(
8
+ t,
9
+ e,
10
+ l,
11
+ !1,
12
+ null,
13
+ null,
14
+ null,
15
+ null
16
+ );
17
+ const s = a.exports, r = {
4
18
  props: {
5
19
  type: {
6
20
  type: String,
@@ -30,21 +44,21 @@ const t = {
30
44
  default: "AwesomeButton"
31
45
  }
32
46
  }
33
- }, e = {
47
+ }, i = {
34
48
  name: "FormButton",
35
- mixins: [n, t]
36
- }, l = null, a = null;
37
- var r = /* @__PURE__ */ o(
38
- e,
39
- l,
40
- a,
49
+ mixins: [s, r]
50
+ }, u = null, c = null;
51
+ var f = /* @__PURE__ */ n(
52
+ i,
53
+ u,
54
+ c,
41
55
  !1,
42
56
  null,
43
57
  null,
44
58
  null,
45
59
  null
46
60
  );
47
- const u = r.exports;
61
+ const _ = f.exports;
48
62
  export {
49
- u as default
63
+ _ as default
50
64
  };
@@ -9,10 +9,10 @@ var o = (t, e, r) => e in t ? i(t, e, { enumerable: !0, configurable: !0, writab
9
9
  u.call(e, r) && o(t, r, e[r]);
10
10
  return t;
11
11
  };
12
- import { f as c } from "../chunks/form-input-mixin.IKogWBfn.mjs";
12
+ import { f as c } from "../chunks/form-input-mixin.DLHG0EnH.mjs";
13
13
  import { f as d } from "../chunks/form-pick-mixin.y-qhZJi6.mjs";
14
14
  import s from "element-ui/lib/cascader";
15
- import { d as m, n as f } from "../chunks/index.LGsb2aDq.mjs";
15
+ import { d as m, n as f } from "../chunks/index.Uf8ONhVI.mjs";
16
16
  import { findTreeChildren as h, setParent as y } from "@web-utils/core";
17
17
  import { cloneDeep as v } from "@web-utils/integrations/lodash";
18
18
  import { n as _ } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
@@ -9,9 +9,9 @@ var s = (t, e, r) => e in t ? a(t, e, { enumerable: !0, configurable: !0, writab
9
9
  p.call(e, r) && s(t, r, e[r]);
10
10
  return t;
11
11
  };
12
- import { f as h } from "../chunks/form-input-mixin.IKogWBfn.mjs";
12
+ import { f as h } from "../chunks/form-input-mixin.DLHG0EnH.mjs";
13
13
  import { f as c } from "../chunks/form-pick-mixin.y-qhZJi6.mjs";
14
- import { d as f, n as m } from "../chunks/index.LGsb2aDq.mjs";
14
+ import { d as f, n as m } from "../chunks/index.Uf8ONhVI.mjs";
15
15
  import n from "element-ui/lib/checkbox-group";
16
16
  import { n as d } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
17
17
  const b = Object.keys(n.props || n.default.props).filter(
@@ -10,10 +10,10 @@ var s = (t, e, r) => e in t ? m(t, e, { enumerable: !0, configurable: !0, writab
10
10
  h.call(e, r) && s(t, r, e[r]);
11
11
  return t;
12
12
  }, l = (t, e) => u(t, p(e));
13
- import { f } from "../chunks/form-input-mixin.IKogWBfn.mjs";
13
+ import { f } from "../chunks/form-input-mixin.DLHG0EnH.mjs";
14
14
  import { f as c } from "../chunks/form-pick-mixin.y-qhZJi6.mjs";
15
15
  import { toDate as o } from "@web-utils/integrations/dayjs";
16
- import { d as y, n as g } from "../chunks/index.LGsb2aDq.mjs";
16
+ import { d as y, n as g } from "../chunks/index.Uf8ONhVI.mjs";
17
17
  import { n as _ } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
18
18
  const k = [
19
19
  "type",
@@ -15,7 +15,7 @@ var o = (t, e, l) => new Promise((d, s) => {
15
15
  i((l = l.apply(t, e)).next());
16
16
  });
17
17
  import { warning as m } from "@web-utils/core";
18
- import { e as u } from "../chunks/index.LGsb2aDq.mjs";
18
+ import { e as u } from "../chunks/index.Uf8ONhVI.mjs";
19
19
  import { n as c } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
20
20
  const p = {
21
21
  name: "FormHolder",
@@ -9,9 +9,9 @@ var l = (r, e, t) => e in r ? a(r, e, { enumerable: !0, configurable: !0, writab
9
9
  i.call(e, t) && l(r, t, e[t]);
10
10
  return r;
11
11
  };
12
- import { f as m } from "../chunks/form-input-mixin.IKogWBfn.mjs";
12
+ import { f as m } from "../chunks/form-input-mixin.DLHG0EnH.mjs";
13
13
  import u from "element-ui/lib/input";
14
- import { d, n as f } from "../chunks/index.LGsb2aDq.mjs";
14
+ import { d, n as f } from "../chunks/index.Uf8ONhVI.mjs";
15
15
  import { n as c } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
16
16
  const _ = Object.keys(u.props || u.default.props).filter(
17
17
  (r) => !["value", "placeholder", "disabled"].includes(r)
@@ -9,9 +9,9 @@ var s = (t, e, r) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writab
9
9
  p.call(e, r) && s(t, r, e[r]);
10
10
  return t;
11
11
  };
12
- import { f as m } from "../chunks/form-input-mixin.IKogWBfn.mjs";
12
+ import { f as m } from "../chunks/form-input-mixin.DLHG0EnH.mjs";
13
13
  import a from "element-ui/lib/input";
14
- import { d, n as f } from "../chunks/index.LGsb2aDq.mjs";
14
+ import { d, n as f } from "../chunks/index.Uf8ONhVI.mjs";
15
15
  import { n as c } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
16
16
  const _ = (t, e, r) => e && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(e) ? r(new Error("invalid")) : r(), y = Object.keys(a.props || a.default.props).filter(
17
17
  (t) => !["value", "placeholder", "disabled"].includes(t)
@@ -9,10 +9,10 @@ var l = (t, e, r) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writab
9
9
  d.call(e, r) && l(t, r, e[r]);
10
10
  return t;
11
11
  };
12
- import { f as m } from "../chunks/form-input-mixin.IKogWBfn.mjs";
12
+ import { f as m } from "../chunks/form-input-mixin.DLHG0EnH.mjs";
13
13
  import { validateIdCard as a } from "@web-utils/core";
14
14
  import i from "element-ui/lib/input";
15
- import { d as f, n as c } from "../chunks/index.LGsb2aDq.mjs";
15
+ import { d as f, n as c } from "../chunks/index.Uf8ONhVI.mjs";
16
16
  import { n as _ } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
17
17
  const v = Object.keys(i.props || i.default.props).filter(
18
18
  (t) => !["value", "placeholder", "disabled"].includes(t)
@@ -9,8 +9,8 @@ var i = (r, e, t) => e in r ? p(r, e, { enumerable: !0, configurable: !0, writab
9
9
  l.call(e, t) && i(r, t, e[t]);
10
10
  return r;
11
11
  };
12
- import { f as a } from "../chunks/form-input-mixin.IKogWBfn.mjs";
13
- import { d as m, n as f } from "../chunks/index.LGsb2aDq.mjs";
12
+ import { f as a } from "../chunks/form-input-mixin.DLHG0EnH.mjs";
13
+ import { d as m, n as f } from "../chunks/index.Uf8ONhVI.mjs";
14
14
  import { i as c } from "../chunks/input-number-mixin.GE2zr_3s.mjs";
15
15
  import { n as d } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
16
16
  const _ = Object.keys(c.props).filter(
@@ -9,9 +9,9 @@ var l = (t, e, r) => e in t ? a(t, e, { enumerable: !0, configurable: !0, writab
9
9
  p.call(e, r) && l(t, r, e[r]);
10
10
  return t;
11
11
  };
12
- import { f as m } from "../chunks/form-input-mixin.IKogWBfn.mjs";
12
+ import { f as m } from "../chunks/form-input-mixin.DLHG0EnH.mjs";
13
13
  import { validatePhoneNum as d } from "@web-utils/core";
14
- import { d as f, n as c } from "../chunks/index.LGsb2aDq.mjs";
14
+ import { d as f, n as c } from "../chunks/index.Uf8ONhVI.mjs";
15
15
  import s from "element-ui/lib/input";
16
16
  import { n as _ } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
17
17
  const h = Object.keys(s.props || s.default.props).filter(