@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.
- package/chunks/{FormTemp.0eqGAu6W.mjs → FormTemp.0ezzipG4.mjs} +5 -6
- package/chunks/FyUEditor.c06LkvIy.mjs +224 -0
- package/chunks/FyUEditor.vue_vue_type_style_index_0_lang.0-PDx197.mjs +167 -0
- package/chunks/IconTemp.tzsg5qth.mjs +29 -0
- package/chunks/ResizeObserver.sOHk2Cm-.mjs +51 -0
- package/chunks/{form-input-mixin.IKogWBfn.mjs → form-input-mixin.DLHG0EnH.mjs} +2 -2
- package/chunks/{form-item-mixin.BilKDUlK.mjs → form-item-mixin.gd9p9Rrj.mjs} +1 -1
- package/chunks/{index.LGsb2aDq.mjs → index.Uf8ONhVI.mjs} +3 -3
- package/data-display/index.mjs +129 -15
- package/data-table-picker/index.mjs +1 -1
- package/easy-popup/index.mjs +8 -7
- 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 +218 -164
- package/flow-viewer/index.mjs +161 -73
- package/form-button/index.mjs +25 -11
- 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 +155 -31
- 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 +12 -13
- package/fy-curd/index.mjs +4 -5
- package/fy-form/index.mjs +1 -1
- package/fy-form-design/index.mjs +498 -329
- package/fy-input-icon/index.mjs +20 -21
- package/fy-u-editor/index.mjs +75 -237
- package/highlight-j-s/index.mjs +4 -3
- package/icon-temp/index.mjs +7 -6
- package/index.mjs +446 -446
- package/nav-bar/index.mjs +7 -6
- package/package.json +4 -4
- package/page/index.mjs +1 -0
- package/page-header/index.mjs +3 -2
- package/page-skeleton/index.mjs +95 -17
- package/pageable-table/index.mjs +1 -1
- package/pageable-view/index.mjs +8 -8
- package/present-view/index.mjs +3 -4
- package/resize-observer/index.mjs +4 -3
- package/split-pane/index.mjs +3 -4
- package/swiper/index.mjs +3 -4
- 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 +10 -9
package/flow-viewer/index.mjs
CHANGED
|
@@ -1,45 +1,133 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var x = Object.defineProperty, k = Object.defineProperties;
|
|
2
|
+
var $ = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var g = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
for (var
|
|
7
|
-
|
|
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
|
|
10
|
-
|
|
9
|
+
for (var t of g(e))
|
|
10
|
+
M.call(e, t) && y(i, t, e[t]);
|
|
11
11
|
return i;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
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(
|
|
17
|
-
} catch (
|
|
18
|
-
n(
|
|
16
|
+
a(t.next(r));
|
|
17
|
+
} catch (s) {
|
|
18
|
+
n(s);
|
|
19
19
|
}
|
|
20
20
|
}, h = (r) => {
|
|
21
21
|
try {
|
|
22
|
-
a(
|
|
23
|
-
} catch (
|
|
24
|
-
n(
|
|
22
|
+
a(t.throw(r));
|
|
23
|
+
} catch (s) {
|
|
24
|
+
n(s);
|
|
25
25
|
}
|
|
26
|
-
}, a = (r) => r.done ?
|
|
27
|
-
a((
|
|
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
|
|
30
|
-
import
|
|
31
|
-
import { create as
|
|
32
|
-
import { query as
|
|
33
|
-
import
|
|
34
|
-
|
|
35
|
-
import { n as
|
|
36
|
-
const
|
|
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",
|
|
39
|
-
},
|
|
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
|
|
76
|
-
(
|
|
163
|
+
var e;
|
|
164
|
+
(e = this.bpmnViewer) == null || e.importXML(i);
|
|
77
165
|
}
|
|
78
166
|
},
|
|
79
167
|
mounted() {
|
|
80
|
-
|
|
81
|
-
const { target:
|
|
82
|
-
|
|
83
|
-
target:
|
|
84
|
-
deltaMode:
|
|
85
|
-
clientX:
|
|
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
|
|
182
|
+
}, this.bpmnViewer = new V(w(v({}, this.options), {
|
|
95
183
|
container: this.$refs.container,
|
|
96
|
-
additionalModules: [
|
|
184
|
+
additionalModules: [T]
|
|
97
185
|
})), this.bpmnViewer.on("import.done", (i) => {
|
|
98
|
-
const
|
|
99
|
-
|
|
100
|
-
const
|
|
101
|
-
this.events && this.events.forEach((
|
|
102
|
-
|
|
103
|
-
this.$emit(
|
|
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 &&
|
|
106
|
-
|
|
107
|
-
this.element =
|
|
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 &&
|
|
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 =
|
|
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 =
|
|
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
|
-
}),
|
|
127
|
-
const h =
|
|
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 =
|
|
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
|
-
}),
|
|
142
|
-
const r =
|
|
143
|
-
|
|
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:
|
|
150
|
-
this.highlightFlow(
|
|
237
|
+
({ activities: i, historicActivities: e }) => {
|
|
238
|
+
this.highlightFlow(e, i);
|
|
151
239
|
}
|
|
152
240
|
);
|
|
153
241
|
},
|
|
154
242
|
beforeDestroy() {
|
|
155
243
|
var i;
|
|
156
|
-
|
|
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,
|
|
163
|
-
this.elementRegistry.getAll().forEach((
|
|
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(
|
|
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
|
|
176
|
-
var
|
|
177
|
-
return
|
|
178
|
-
return [
|
|
179
|
-
}, { element:
|
|
180
|
-
},
|
|
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
|
|
278
|
+
const G = q.exports;
|
|
191
279
|
export {
|
|
192
|
-
|
|
280
|
+
G as default
|
|
193
281
|
};
|
package/form-button/index.mjs
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { n
|
|
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
|
-
},
|
|
47
|
+
}, i = {
|
|
34
48
|
name: "FormButton",
|
|
35
|
-
mixins: [
|
|
36
|
-
},
|
|
37
|
-
var
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
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
|
|
61
|
+
const _ = f.exports;
|
|
48
62
|
export {
|
|
49
|
-
|
|
63
|
+
_ as default
|
|
50
64
|
};
|
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.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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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",
|
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.Uf8ONhVI.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.DLHG0EnH.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.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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
13
|
-
import { d as m, n as f } from "../chunks/index.
|
|
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.
|
|
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.
|
|
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(
|