@web-utils/component 3.2.2 → 3.3.0
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.
- package/chunks/{FormTemp.0ezzipG4.mjs → FormTemp.2IfXIr8o.mjs} +6 -5
- package/chunks/{form-input-mixin.DLHG0EnH.mjs → form-input-mixin.IKogWBfn.mjs} +2 -2
- package/chunks/{form-item-mixin.gd9p9Rrj.mjs → form-item-mixin.BilKDUlK.mjs} +1 -1
- package/chunks/{index.Uf8ONhVI.mjs → index.LGsb2aDq.mjs} +3 -3
- package/data-display/index.mjs +15 -129
- package/data-table-picker/index.mjs +1 -1
- package/easy-popup/index.mjs +7 -8
- package/editable-tree/index.mjs +1 -1
- package/flex-column/index.mjs +1 -1
- package/flex-item/index.mjs +1 -1
- package/flex-row/index.mjs +1 -1
- package/flow-designer/index.mjs +164 -218
- package/flow-viewer/index.mjs +73 -161
- package/form-button/index.mjs +11 -25
- package/form-cascader/index.mjs +2 -2
- package/form-checkbox-group/index.mjs +2 -2
- package/form-date-picker/index.mjs +2 -2
- package/form-holder/index.mjs +1 -1
- package/form-input/index.mjs +2 -2
- package/form-input-email/index.mjs +2 -2
- package/form-input-id-card/index.mjs +2 -2
- package/form-input-number/index.mjs +2 -2
- package/form-input-phone-number/index.mjs +2 -2
- package/form-input-tag/index.mjs +31 -155
- package/form-input-time/index.mjs +2 -2
- package/form-item/index.mjs +1 -1
- package/form-radio-group/index.mjs +2 -2
- package/form-select/index.mjs +2 -2
- package/form-switch/index.mjs +2 -2
- package/form-textarea/index.mjs +2 -2
- package/form-view/index.mjs +13 -12
- package/fy-curd/index.mjs +5 -4
- package/fy-form/index.mjs +1 -1
- package/fy-form-design/index.mjs +329 -498
- package/fy-input-icon/index.mjs +21 -20
- package/fy-u-editor/index.mjs +237 -75
- package/highlight-j-s/index.mjs +3 -4
- package/icon-temp/index.mjs +6 -7
- package/index.mjs +328 -328
- package/nav-bar/index.mjs +6 -7
- package/package.json +1 -1
- package/page/index.mjs +0 -1
- package/page-header/index.mjs +2 -3
- package/page-skeleton/index.mjs +17 -95
- package/pageable-table/index.mjs +1 -1
- package/pageable-view/index.mjs +8 -8
- package/present-view/index.mjs +4 -3
- package/resize-observer/index.mjs +3 -4
- package/split-pane/index.mjs +4 -3
- package/swiper/index.mjs +4 -3
- package/table-view/index.mjs +1 -1
- package/watermark/index.mjs +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +9 -10
- package/chunks/FyUEditor.c06LkvIy.mjs +0 -224
- package/chunks/FyUEditor.vue_vue_type_style_index_0_lang.0-PDx197.mjs +0 -167
- package/chunks/IconTemp.tzsg5qth.mjs +0 -29
- package/chunks/ResizeObserver.sOHk2Cm-.mjs +0 -51
package/flow-viewer/index.mjs
CHANGED
|
@@ -1,133 +1,45 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var _ = Object.defineProperty, b = Object.defineProperties;
|
|
2
|
+
var x = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var g = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
for (var
|
|
7
|
-
|
|
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]);
|
|
8
8
|
if (g)
|
|
9
|
-
for (var
|
|
10
|
-
|
|
9
|
+
for (var e of g(t))
|
|
10
|
+
V.call(t, e) && u(i, e, t[e]);
|
|
11
11
|
return i;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
12
|
+
}, y = (i, t) => b(i, x(t));
|
|
13
|
+
var v = (i, t, e) => new Promise((s, n) => {
|
|
14
14
|
var l = (r) => {
|
|
15
15
|
try {
|
|
16
|
-
a(
|
|
17
|
-
} catch (
|
|
18
|
-
n(
|
|
16
|
+
a(e.next(r));
|
|
17
|
+
} catch (o) {
|
|
18
|
+
n(o);
|
|
19
19
|
}
|
|
20
20
|
}, h = (r) => {
|
|
21
21
|
try {
|
|
22
|
-
a(
|
|
23
|
-
} catch (
|
|
24
|
-
n(
|
|
22
|
+
a(e.throw(r));
|
|
23
|
+
} catch (o) {
|
|
24
|
+
n(o);
|
|
25
25
|
}
|
|
26
|
-
}, a = (r) => r.done ?
|
|
27
|
-
a((
|
|
26
|
+
}, a = (r) => r.done ? s(r.value) : Promise.resolve(r.value).then(l, h);
|
|
27
|
+
a((e = e.apply(i, t)).next());
|
|
28
28
|
});
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import { create as
|
|
32
|
-
import { query as
|
|
33
|
-
import
|
|
34
|
-
|
|
35
|
-
import { n as
|
|
36
|
-
const
|
|
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 = {
|
|
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 "./easy-popup/index.mjs";
|
|
34
|
+
import "./easy-popup/style.css";
|
|
35
|
+
import { n as F } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
36
|
+
const f = d.prototype._handleWheel, S = {
|
|
125
37
|
__init__: ["zoomScroll"],
|
|
126
|
-
zoomScroll: ["type",
|
|
127
|
-
},
|
|
38
|
+
zoomScroll: ["type", d]
|
|
39
|
+
}, B = {
|
|
128
40
|
name: "FlowViewer",
|
|
129
41
|
components: {
|
|
130
|
-
EasyPopup:
|
|
42
|
+
EasyPopup: $
|
|
131
43
|
},
|
|
132
44
|
props: {
|
|
133
45
|
xml: {
|
|
@@ -160,17 +72,17 @@ const S = H.exports, u = f.prototype._handleWheel, T = {
|
|
|
160
72
|
},
|
|
161
73
|
watch: {
|
|
162
74
|
xml(i) {
|
|
163
|
-
var
|
|
164
|
-
(
|
|
75
|
+
var t;
|
|
76
|
+
(t = this.bpmnViewer) == null || t.importXML(i);
|
|
165
77
|
}
|
|
166
78
|
},
|
|
167
79
|
mounted() {
|
|
168
|
-
|
|
169
|
-
const { target:
|
|
170
|
-
|
|
171
|
-
target:
|
|
172
|
-
deltaMode:
|
|
173
|
-
clientX:
|
|
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,
|
|
174
86
|
clientY: n,
|
|
175
87
|
deltaX: l,
|
|
176
88
|
deltaY: h,
|
|
@@ -179,25 +91,25 @@ const S = H.exports, u = f.prototype._handleWheel, T = {
|
|
|
179
91
|
},
|
|
180
92
|
ctrlKey: !0
|
|
181
93
|
});
|
|
182
|
-
}, this.bpmnViewer = new
|
|
94
|
+
}, this.bpmnViewer = new A(y(w({}, this.options), {
|
|
183
95
|
container: this.$refs.container,
|
|
184
|
-
additionalModules: [
|
|
96
|
+
additionalModules: [S]
|
|
185
97
|
})), this.bpmnViewer.on("import.done", (i) => {
|
|
186
|
-
const
|
|
187
|
-
|
|
188
|
-
const
|
|
189
|
-
this.events && this.events.forEach((
|
|
190
|
-
|
|
191
|
-
this.$emit(
|
|
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);
|
|
192
104
|
});
|
|
193
|
-
}), this.nodePopup &&
|
|
194
|
-
|
|
195
|
-
this.element =
|
|
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);
|
|
196
108
|
}));
|
|
197
|
-
}), this.nodePopup &&
|
|
109
|
+
}), this.nodePopup && s.on("element.out", () => {
|
|
198
110
|
this.$refs.popup.hide(), this.element = {};
|
|
199
111
|
}), this.highlightFlow(this.historicActivities, this.activities);
|
|
200
|
-
const n =
|
|
112
|
+
const n = p("marker");
|
|
201
113
|
c(n, {
|
|
202
114
|
id: "sequenceflow-arrow-green",
|
|
203
115
|
viewBox: "0 0 20 20",
|
|
@@ -207,12 +119,12 @@ const S = H.exports, u = f.prototype._handleWheel, T = {
|
|
|
207
119
|
markerHeight: "10",
|
|
208
120
|
orient: "auto"
|
|
209
121
|
});
|
|
210
|
-
const l =
|
|
122
|
+
const l = p("path");
|
|
211
123
|
c(l, {
|
|
212
124
|
d: "M 1 5 L 11 10 L 1 15 Z",
|
|
213
125
|
style: "stroke-linecap: round; stroke-linejoin: round; stroke: var(--highlight-color); stroke-width: 1px; fill: var(--highlight-color);"
|
|
214
|
-
}),
|
|
215
|
-
const h =
|
|
126
|
+
}), m(n, l);
|
|
127
|
+
const h = p("marker");
|
|
216
128
|
c(h, {
|
|
217
129
|
id: "conditional-default-flow-marker-green",
|
|
218
130
|
viewBox: "0 0 20 20",
|
|
@@ -222,60 +134,60 @@ const S = H.exports, u = f.prototype._handleWheel, T = {
|
|
|
222
134
|
markerHeight: "10",
|
|
223
135
|
orient: "auto"
|
|
224
136
|
});
|
|
225
|
-
const a =
|
|
137
|
+
const a = p("path");
|
|
226
138
|
c(a, {
|
|
227
139
|
d: "M 6 4 L 10 16",
|
|
228
140
|
style: "stroke-linecap: round; stroke-linejoin: round; stroke: var(--highlight-color); stroke-width: 2px; fill: var(--highlight-color);"
|
|
229
|
-
}),
|
|
230
|
-
const r =
|
|
231
|
-
|
|
141
|
+
}), m(h, a);
|
|
142
|
+
const r = E("defs", this.$el);
|
|
143
|
+
m(r, n), m(r, h);
|
|
232
144
|
}), this.bpmnViewer.importXML(this.xml), this.$watch(
|
|
233
145
|
() => ({
|
|
234
146
|
activities: this.activities,
|
|
235
147
|
historicActivities: this.historicActivities
|
|
236
148
|
}),
|
|
237
|
-
({ activities: i, historicActivities:
|
|
238
|
-
this.highlightFlow(
|
|
149
|
+
({ activities: i, historicActivities: t }) => {
|
|
150
|
+
this.highlightFlow(t, i);
|
|
239
151
|
}
|
|
240
152
|
);
|
|
241
153
|
},
|
|
242
154
|
beforeDestroy() {
|
|
243
155
|
var i;
|
|
244
|
-
|
|
156
|
+
d.prototype._handleWheel = f, (i = this.bpmnViewer) == null || i.destroy();
|
|
245
157
|
},
|
|
246
158
|
methods: {
|
|
247
159
|
fitViewportCenter(i = "center") {
|
|
248
160
|
this.canvas.zoom("fit-viewport", i);
|
|
249
161
|
},
|
|
250
|
-
highlightFlow(i,
|
|
251
|
-
this.elementRegistry.getAll().forEach((
|
|
162
|
+
highlightFlow(i, t) {
|
|
163
|
+
this.elementRegistry.getAll().forEach((e) => {
|
|
252
164
|
[
|
|
253
165
|
"bpmn:StartEvent",
|
|
254
166
|
"bpmn:UserTask",
|
|
255
167
|
"bpmn:ExclusiveGateway",
|
|
256
168
|
"bpmn:ParallelGateway",
|
|
257
169
|
"bpmn:EndEvent"
|
|
258
|
-
].includes(
|
|
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"));
|
|
259
171
|
});
|
|
260
172
|
}
|
|
261
173
|
}
|
|
262
174
|
};
|
|
263
|
-
var
|
|
264
|
-
var
|
|
265
|
-
return
|
|
266
|
-
return [
|
|
267
|
-
}, { element:
|
|
268
|
-
},
|
|
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,
|
|
269
183
|
P,
|
|
270
|
-
R,
|
|
271
|
-
X,
|
|
272
184
|
!1,
|
|
273
185
|
null,
|
|
274
186
|
null,
|
|
275
187
|
null,
|
|
276
188
|
null
|
|
277
189
|
);
|
|
278
|
-
const
|
|
190
|
+
const D = W.exports;
|
|
279
191
|
export {
|
|
280
|
-
|
|
192
|
+
D as default
|
|
281
193
|
};
|
package/form-button/index.mjs
CHANGED
|
@@ -1,20 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { n } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
1
|
+
import n from "./confirmable/index.mjs";
|
|
2
|
+
import { n as o } 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 = {
|
|
18
4
|
props: {
|
|
19
5
|
type: {
|
|
20
6
|
type: String,
|
|
@@ -44,21 +30,21 @@ const s = a.exports, r = {
|
|
|
44
30
|
default: "AwesomeButton"
|
|
45
31
|
}
|
|
46
32
|
}
|
|
47
|
-
},
|
|
33
|
+
}, e = {
|
|
48
34
|
name: "FormButton",
|
|
49
|
-
mixins: [
|
|
50
|
-
},
|
|
51
|
-
var
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
35
|
+
mixins: [n, t]
|
|
36
|
+
}, l = null, a = null;
|
|
37
|
+
var r = /* @__PURE__ */ o(
|
|
38
|
+
e,
|
|
39
|
+
l,
|
|
40
|
+
a,
|
|
55
41
|
!1,
|
|
56
42
|
null,
|
|
57
43
|
null,
|
|
58
44
|
null,
|
|
59
45
|
null
|
|
60
46
|
);
|
|
61
|
-
const
|
|
47
|
+
const u = r.exports;
|
|
62
48
|
export {
|
|
63
|
-
|
|
49
|
+
u as default
|
|
64
50
|
};
|
package/form-cascader/index.mjs
CHANGED
|
@@ -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.
|
|
12
|
+
import { f as c } from "../chunks/form-input-mixin.IKogWBfn.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.
|
|
15
|
+
import { d as m, n as f } from "../chunks/index.LGsb2aDq.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.
|
|
12
|
+
import { f as h } from "../chunks/form-input-mixin.IKogWBfn.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.
|
|
14
|
+
import { d as f, n as m } from "../chunks/index.LGsb2aDq.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.
|
|
13
|
+
import { f } from "../chunks/form-input-mixin.IKogWBfn.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.
|
|
16
|
+
import { d as y, n as g } from "../chunks/index.LGsb2aDq.mjs";
|
|
17
17
|
import { n as _ } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
18
18
|
const k = [
|
|
19
19
|
"type",
|
package/form-holder/index.mjs
CHANGED
|
@@ -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.
|
|
18
|
+
import { e as u } from "../chunks/index.LGsb2aDq.mjs";
|
|
19
19
|
import { n as c } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
20
20
|
const p = {
|
|
21
21
|
name: "FormHolder",
|
package/form-input/index.mjs
CHANGED
|
@@ -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.
|
|
12
|
+
import { f as m } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
13
13
|
import u from "element-ui/lib/input";
|
|
14
|
-
import { d, n as f } from "../chunks/index.
|
|
14
|
+
import { d, n as f } from "../chunks/index.LGsb2aDq.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.
|
|
12
|
+
import { f as m } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
13
13
|
import a from "element-ui/lib/input";
|
|
14
|
-
import { d, n as f } from "../chunks/index.
|
|
14
|
+
import { d, n as f } from "../chunks/index.LGsb2aDq.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.
|
|
12
|
+
import { f as m } from "../chunks/form-input-mixin.IKogWBfn.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.
|
|
15
|
+
import { d as f, n as c } from "../chunks/index.LGsb2aDq.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.
|
|
13
|
-
import { d as m, n as f } from "../chunks/index.
|
|
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";
|
|
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.
|
|
12
|
+
import { f as m } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
13
13
|
import { validatePhoneNum as d } from "@web-utils/core";
|
|
14
|
-
import { d as f, n as c } from "../chunks/index.
|
|
14
|
+
import { d as f, n as c } from "../chunks/index.LGsb2aDq.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(
|