@web-utils/component 3.3.15 → 3.3.16
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/address-input/index.mjs +1 -3
- package/affix/index.mjs +4 -6
- package/aside-menu/index.mjs +8 -10
- package/avatar/index.mjs +1 -3
- package/awesome-button/index.mjs +20 -22
- package/capsule-tab/index.mjs +4 -6
- package/card/index.mjs +4 -6
- package/carousel/index.mjs +1 -3
- package/chat/index.mjs +2 -4
- package/chunk-file-uploader/index.mjs +1 -3
- package/chunks/{FormTemp.BO_zCjBT.mjs → FormTemp.Cf9d5N_a.mjs} +7 -9
- package/chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs +10 -0
- package/chunks/{dataformat.J6EgqBfr.mjs → dataformat.skVZSF57.mjs} +1 -1
- package/chunks/{dic.6ODiMBAw.mjs → dic.28d_-7EJ.mjs} +1 -1
- package/chunks/{event.ChkcZtyR.mjs → event.m1ZDHbkO.mjs} +2 -2
- package/chunks/{init.BbPaCwke.mjs → init.DBM2D2IY.mjs} +2 -2
- package/chunks/json-beautifier.vs8mCOxd.mjs +124 -0
- package/chunks/{util.ThVOTZAO.mjs → util.B_LEdJSZ.mjs} +55 -55
- package/code-mirror-editor/index.mjs +1 -3
- package/color-picker/index.mjs +4 -6
- package/comment/index.mjs +1 -3
- package/confirm-button/index.mjs +5 -7
- package/confirmable/index.mjs +5 -7
- package/context-menu/index.mjs +1 -3
- package/count-up/index.mjs +4 -6
- package/custom-scrollbar/index.mjs +1 -3
- package/data-box/index.mjs +5 -7
- package/data-card/index.mjs +4 -6
- package/data-cardtext/index.mjs +1 -3
- package/data-display/index.mjs +6 -8
- package/data-icons/index.mjs +4 -6
- package/data-imgtext/index.mjs +6 -8
- package/data-operatext/index.mjs +3 -5
- package/data-panel/index.mjs +5 -7
- package/data-pay/index.mjs +7 -9
- package/data-price/index.mjs +3 -5
- package/data-progress/index.mjs +1 -3
- package/data-rotate/index.mjs +3 -5
- package/data-table-picker/index.mjs +1 -3
- package/data-tabs/index.mjs +3 -5
- package/dialog-form/index.mjs +2 -4
- package/dynamic-table/index.mjs +1 -3
- package/e-charts/index.mjs +1 -3
- package/easy-popup/index.mjs +7 -9
- package/editable-progress/index.mjs +6 -8
- package/editable-tree/index.mjs +1 -3
- package/egd-collapse/index.mjs +4 -6
- package/egd-collapse-item/index.mjs +1 -3
- package/element-dialog/index.mjs +5 -7
- package/empty-view/index.mjs +3 -5
- package/error-view/index.mjs +3 -5
- package/flex-column/index.mjs +4 -6
- package/flex-item/index.mjs +1 -3
- package/flex-row/index.mjs +4 -6
- package/flex-scroller/index.mjs +6 -8
- package/flow/index.mjs +2 -4
- package/flow-designer/index.mjs +123 -155
- package/flow-node/index.mjs +8 -10
- package/flow-viewer/index.mjs +1 -3
- package/form-button/index.mjs +5 -7
- package/form-cascader/index.mjs +1 -3
- package/form-checkbox-group/index.mjs +4 -6
- package/form-date-picker/index.mjs +1 -3
- package/form-holder/index.mjs +11 -13
- package/form-input/index.mjs +5 -7
- package/form-input-email/index.mjs +6 -8
- package/form-input-id-card/index.mjs +13 -15
- package/form-input-number/index.mjs +5 -7
- package/form-input-phone-number/index.mjs +9 -11
- package/form-input-tag/index.mjs +6 -8
- package/form-input-time/index.mjs +7 -9
- package/form-item-config-provider/index.mjs +4 -6
- package/form-radio-group/index.mjs +22 -24
- package/form-select/index.mjs +17 -19
- package/form-switch/index.mjs +5 -7
- package/form-textarea/index.mjs +1 -3
- package/form-view/index.mjs +1 -3
- package/fy-array/index.mjs +4 -6
- package/fy-article/index.mjs +4 -6
- package/fy-cascader/index.mjs +2 -4
- package/fy-checkbox/index.mjs +12 -14
- package/fy-code/index.mjs +6 -8
- package/fy-curd/index.mjs +6 -32
- package/fy-date/index.mjs +6 -8
- package/fy-draggable/index.mjs +2 -4
- package/fy-dynamic/index.mjs +3 -5
- package/fy-empty/index.mjs +2 -4
- package/fy-form/index.mjs +6 -12
- package/fy-form-design/index.mjs +95 -151
- package/fy-form-design/style.css +1 -1
- package/fy-input/index.mjs +5 -7
- package/fy-input-color/index.mjs +9 -11
- package/fy-input-icon/index.mjs +3 -5
- package/fy-input-map/index.mjs +2 -4
- package/fy-input-number/index.mjs +5 -7
- package/fy-input-table/index.mjs +2 -4
- package/fy-input-tree/index.mjs +2 -4
- package/fy-progress/index.mjs +3 -5
- package/fy-radio/index.mjs +4 -6
- package/fy-rate/index.mjs +5 -7
- package/fy-select/index.mjs +4 -6
- package/fy-slider/index.mjs +7 -9
- package/fy-switch/index.mjs +3 -5
- package/fy-tabs/index.mjs +5 -7
- package/fy-time/index.mjs +5 -7
- package/fy-title/index.mjs +5 -7
- package/fy-tree/index.mjs +2 -4
- package/fy-u-editor/index.mjs +2 -4
- package/fy-upload/index.mjs +3 -5
- package/guide-steps/index.mjs +1 -3
- package/highlight-j-s/index.mjs +8 -10
- package/icon-card/index.mjs +4 -6
- package/icon-temp/index.mjs +6 -8
- package/iframe-window/index.mjs +6 -8
- package/image-cropper/index.mjs +5 -7
- package/image-preview/index.mjs +2 -4
- package/image-viewer/index.mjs +4 -6
- package/input-number/index.mjs +1 -3
- package/input-number-range/index.mjs +11 -13
- package/keep-view-alive/index.mjs +12 -14
- package/keyboard/index.mjs +1 -3
- package/license/index.mjs +19 -21
- package/loading-view/index.mjs +3 -5
- package/login/index.mjs +2 -4
- package/monaco-editor/index.mjs +2 -4
- package/name-avatar/index.mjs +4 -6
- package/nav-bar/index.mjs +3 -5
- package/not-implement/index.mjs +3 -5
- package/notice/index.mjs +1 -3
- package/package.json +8 -8
- package/page/index.mjs +6 -8
- package/page-header/index.mjs +4 -6
- package/page-index/index.mjs +17 -19
- package/page-index-top/index.mjs +11 -13
- package/page-skeleton/index.mjs +6 -8
- package/page-skeleton-new/index.mjs +1 -3
- package/pageable-table/index.mjs +8 -10
- package/pageable-view/index.mjs +24 -26
- package/photo-swipe/index.mjs +7 -9
- package/present-view/index.mjs +1 -3
- package/queue/index.mjs +4 -6
- package/record-video/index.mjs +4 -6
- package/resize-observer/index.mjs +4 -6
- package/search/index.mjs +6 -8
- package/search-popover/index.mjs +2 -4
- package/sign/index.mjs +2 -4
- package/sign-panel/index.mjs +5 -7
- package/skeleton/index.mjs +5 -7
- package/split-pane/index.mjs +1 -5
- package/stateful/index.mjs +4 -6
- package/static-pageable-table/index.mjs +8 -10
- package/swiper/index.mjs +4 -6
- package/tab/index.mjs +1 -3
- package/tab-item/index.mjs +1 -3
- package/table-column/index.mjs +1 -3
- package/table-view/index.mjs +1 -3
- package/tag-render/index.mjs +16 -18
- package/text-ellipsis/index.mjs +6 -8
- package/tinymce-editor/index.mjs +1 -5
- package/toolbar-button/index.mjs +8 -10
- package/verify/index.mjs +8 -10
- package/vue-cron/index.mjs +1 -3
- package/vue-qr-code/index.mjs +9 -11
- package/vue-quill-editor/index.mjs +1 -3
- package/vue-tags-input/index.mjs +12 -14
- package/vue-tree-select/index.mjs +1 -27
- package/vue-video-player/index.mjs +1 -3
- package/watermark/index.mjs +14 -16
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +8 -10
- package/chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs +0 -32
- package/chunks/json-beautifier.CvdU9XNm.mjs +0 -126
package/flow-node/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { s as o } from "../chunks/util.
|
|
2
|
-
import { n } from "../chunks/_plugin-vue2_normalizer.
|
|
3
|
-
const
|
|
1
|
+
import { s as o } from "../chunks/util.B_LEdJSZ.mjs";
|
|
2
|
+
import { n as s } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
|
+
const n = {
|
|
4
4
|
name: "FlowNode",
|
|
5
5
|
props: {
|
|
6
6
|
active: [String, Number],
|
|
@@ -47,20 +47,18 @@ const s = {
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
|
-
var
|
|
50
|
+
var d = function() {
|
|
51
51
|
var e = this, t = e._self._c;
|
|
52
52
|
return t("div", { ref: "node", style: e.flowNodeContainer, attrs: { left: e.node.left, top: e.node.top, disabled: "", mask: !1 }, on: { mouseenter: e.showDelete, mouseleave: e.hideDelete, mouseup: e.changeNodeSite } }, [t("div", { class: ["avue-flow__node", { active: e.active === e.node.id }] }, [t("div", { staticClass: "avue-flow__node-header" }, [t("i", { staticClass: "el-icon-rank", class: e.b("node-drag") }), e._t("header", null, { node: e.node })], 2), t("div", { staticClass: "avue-flow__node-body" }, [e._t("default", null, { node: e.node })], 2)])]);
|
|
53
|
-
},
|
|
54
|
-
|
|
55
|
-
l,
|
|
53
|
+
}, r = [], a = /* @__PURE__ */ s(
|
|
54
|
+
n,
|
|
56
55
|
d,
|
|
56
|
+
r,
|
|
57
57
|
!1,
|
|
58
58
|
null,
|
|
59
|
-
null,
|
|
60
|
-
null,
|
|
61
59
|
null
|
|
62
60
|
);
|
|
63
|
-
const u =
|
|
61
|
+
const u = a.exports;
|
|
64
62
|
export {
|
|
65
63
|
u as default
|
|
66
64
|
};
|
package/flow-viewer/index.mjs
CHANGED
|
@@ -32,7 +32,7 @@ import { create as p, attr as c, append as m } from "tiny-svg";
|
|
|
32
32
|
import { query as E } from "min-dom";
|
|
33
33
|
import $ from "../easy-popup/index.mjs";
|
|
34
34
|
import "../easy-popup/style.css";
|
|
35
|
-
import { n as F } from "../chunks/_plugin-vue2_normalizer.
|
|
35
|
+
import { n as F } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
36
36
|
const f = d.prototype._handleWheel, S = {
|
|
37
37
|
__init__: ["zoomScroll"],
|
|
38
38
|
zoomScroll: ["type", d]
|
|
@@ -177,8 +177,6 @@ var C = function() {
|
|
|
177
177
|
P,
|
|
178
178
|
!1,
|
|
179
179
|
null,
|
|
180
|
-
null,
|
|
181
|
-
null,
|
|
182
180
|
null
|
|
183
181
|
);
|
|
184
182
|
const D = W.exports;
|
package/form-button/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import n from "../confirmable/index.mjs";
|
|
2
|
-
import { n as o } from "../chunks/_plugin-vue2_normalizer.
|
|
2
|
+
import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
3
|
const t = {
|
|
4
4
|
props: {
|
|
5
5
|
type: {
|
|
@@ -33,18 +33,16 @@ const t = {
|
|
|
33
33
|
}, e = {
|
|
34
34
|
name: "FormButton",
|
|
35
35
|
mixins: [n, t]
|
|
36
|
-
},
|
|
36
|
+
}, a = null, l = null;
|
|
37
37
|
var r = /* @__PURE__ */ o(
|
|
38
38
|
e,
|
|
39
|
-
l,
|
|
40
39
|
a,
|
|
40
|
+
l,
|
|
41
41
|
!1,
|
|
42
42
|
null,
|
|
43
|
-
null,
|
|
44
|
-
null,
|
|
45
43
|
null
|
|
46
44
|
);
|
|
47
|
-
const
|
|
45
|
+
const p = r.exports;
|
|
48
46
|
export {
|
|
49
|
-
|
|
47
|
+
p as default
|
|
50
48
|
};
|
package/form-cascader/index.mjs
CHANGED
|
@@ -15,7 +15,7 @@ import s from "element-ui/lib/cascader";
|
|
|
15
15
|
import { d as m, n as f } from "../chunks/index.DwCBGcYk.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
|
-
import { n as _ } from "../chunks/_plugin-vue2_normalizer.
|
|
18
|
+
import { n as _ } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
19
19
|
const b = Object.keys(s.props || s.default.props).filter(
|
|
20
20
|
(t) => !["value", "placeholder", "disabled", "options", "showAllLevels", "show-all-levels", "separator"].includes(t)
|
|
21
21
|
), S = {
|
|
@@ -104,8 +104,6 @@ var k = function() {
|
|
|
104
104
|
P,
|
|
105
105
|
!1,
|
|
106
106
|
null,
|
|
107
|
-
null,
|
|
108
|
-
null,
|
|
109
107
|
null
|
|
110
108
|
);
|
|
111
109
|
const B = w.exports;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
var a = Object.defineProperty;
|
|
2
2
|
var i = Object.getOwnPropertySymbols;
|
|
3
|
-
var
|
|
3
|
+
var p = Object.prototype.hasOwnProperty, u = Object.prototype.propertyIsEnumerable;
|
|
4
4
|
var s = (t, e, r) => e in t ? a(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, l = (t, e) => {
|
|
5
5
|
for (var r in e || (e = {}))
|
|
6
|
-
|
|
6
|
+
p.call(e, r) && s(t, r, e[r]);
|
|
7
7
|
if (i)
|
|
8
8
|
for (var r of i(e))
|
|
9
|
-
|
|
9
|
+
u.call(e, r) && s(t, r, e[r]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
12
|
import { f as h } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
13
13
|
import { f as c } from "../chunks/form-pick-mixin.BFTIVn_i.mjs";
|
|
14
14
|
import { d as f, n as m } from "../chunks/index.DwCBGcYk.mjs";
|
|
15
15
|
import n from "element-ui/lib/checkbox-group";
|
|
16
|
-
import { n as d } from "../chunks/_plugin-vue2_normalizer.
|
|
16
|
+
import { n as d } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
17
17
|
const b = Object.keys(n.props || n.default.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), y = {
|
|
18
18
|
name: "FormCheckboxGroup",
|
|
19
19
|
mixins: [h, c],
|
|
@@ -126,8 +126,6 @@ var _ = function() {
|
|
|
126
126
|
v,
|
|
127
127
|
!1,
|
|
128
128
|
null,
|
|
129
|
-
null,
|
|
130
|
-
null,
|
|
131
129
|
null
|
|
132
130
|
);
|
|
133
131
|
const B = x.exports;
|
|
@@ -14,7 +14,7 @@ import { f } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
|
14
14
|
import { f as c } from "../chunks/form-pick-mixin.BFTIVn_i.mjs";
|
|
15
15
|
import { toDate as o } from "@web-utils/integrations/dayjs";
|
|
16
16
|
import { d as y, n as g } from "../chunks/index.DwCBGcYk.mjs";
|
|
17
|
-
import { n as _ } from "../chunks/_plugin-vue2_normalizer.
|
|
17
|
+
import { n as _ } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
18
18
|
const k = [
|
|
19
19
|
"type",
|
|
20
20
|
"timeArrowControl",
|
|
@@ -164,8 +164,6 @@ var x = function() {
|
|
|
164
164
|
S,
|
|
165
165
|
!1,
|
|
166
166
|
null,
|
|
167
|
-
null,
|
|
168
|
-
null,
|
|
169
167
|
null
|
|
170
168
|
);
|
|
171
169
|
const M = v.exports;
|
package/form-holder/index.mjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
var o = (t, e,
|
|
1
|
+
var o = (t, e, i) => new Promise((d, s) => {
|
|
2
2
|
var n = (r) => {
|
|
3
3
|
try {
|
|
4
|
-
i
|
|
4
|
+
l(i.next(r));
|
|
5
5
|
} catch (a) {
|
|
6
6
|
s(a);
|
|
7
7
|
}
|
|
8
8
|
}, f = (r) => {
|
|
9
9
|
try {
|
|
10
|
-
i
|
|
10
|
+
l(i.throw(r));
|
|
11
11
|
} catch (a) {
|
|
12
12
|
s(a);
|
|
13
13
|
}
|
|
14
|
-
},
|
|
15
|
-
|
|
14
|
+
}, l = (r) => r.done ? d(r.value) : Promise.resolve(r.value).then(n, f);
|
|
15
|
+
l((i = i.apply(t, e)).next());
|
|
16
16
|
});
|
|
17
17
|
import { warning as m } from "@web-utils/core";
|
|
18
|
-
import { e as
|
|
19
|
-
import { n as
|
|
18
|
+
import { e as c } from "../chunks/index.DwCBGcYk.mjs";
|
|
19
|
+
import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
20
20
|
const p = {
|
|
21
21
|
name: "FormHolder",
|
|
22
22
|
provide() {
|
|
@@ -77,7 +77,7 @@ const p = {
|
|
|
77
77
|
},
|
|
78
78
|
created() {
|
|
79
79
|
this.required || m.call(
|
|
80
|
-
|
|
80
|
+
c(this, (t) => ["FormView", "FormHolder"].includes(t.$options.name)),
|
|
81
81
|
"一般情况下不建议设置 required=false,因为 required 设置为 false 后必填字段要自行维护,在处理表格时会比较复杂,请自行权衡利弊"
|
|
82
82
|
);
|
|
83
83
|
},
|
|
@@ -97,16 +97,14 @@ const p = {
|
|
|
97
97
|
}
|
|
98
98
|
};
|
|
99
99
|
var _ = function() {
|
|
100
|
-
var e = this,
|
|
101
|
-
return
|
|
102
|
-
}, h = [], b = /* @__PURE__ */
|
|
100
|
+
var e = this, i = e._self._c;
|
|
101
|
+
return i("ElForm", e._g(e._b({ ref: "form", staticClass: "clear-fix", attrs: { model: e.model, size: e.size, disabled: e.disabled, "label-width": e.labelWidth, "label-position": e.labelPosition } }, "ElForm", e.$attrs, !1), e.$listeners), [e._t("default")], 2);
|
|
102
|
+
}, h = [], b = /* @__PURE__ */ u(
|
|
103
103
|
p,
|
|
104
104
|
_,
|
|
105
105
|
h,
|
|
106
106
|
!1,
|
|
107
107
|
null,
|
|
108
|
-
null,
|
|
109
|
-
null,
|
|
110
108
|
null
|
|
111
109
|
);
|
|
112
110
|
const q = b.exports;
|
package/form-input/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
var
|
|
1
|
+
var u = Object.defineProperty;
|
|
2
2
|
var s = Object.getOwnPropertySymbols;
|
|
3
3
|
var p = Object.prototype.hasOwnProperty, i = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var l = (r, e, t) => e in r ?
|
|
4
|
+
var l = (r, e, t) => e in r ? u(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, o = (r, e) => {
|
|
5
5
|
for (var t in e || (e = {}))
|
|
6
6
|
p.call(e, t) && l(r, t, e[t]);
|
|
7
7
|
if (s)
|
|
@@ -10,10 +10,10 @@ var l = (r, e, t) => e in r ? a(r, e, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
return r;
|
|
11
11
|
};
|
|
12
12
|
import { f as m } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
13
|
-
import
|
|
13
|
+
import a from "element-ui/lib/input";
|
|
14
14
|
import { d, n as f } from "../chunks/index.DwCBGcYk.mjs";
|
|
15
|
-
import { n as c } from "../chunks/_plugin-vue2_normalizer.
|
|
16
|
-
const _ = Object.keys(
|
|
15
|
+
import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
16
|
+
const _ = Object.keys(a.props || a.default.props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), y = {
|
|
17
17
|
name: "FormInput",
|
|
18
18
|
mixins: [m],
|
|
19
19
|
props: {
|
|
@@ -57,8 +57,6 @@ var v = function() {
|
|
|
57
57
|
b,
|
|
58
58
|
!1,
|
|
59
59
|
null,
|
|
60
|
-
null,
|
|
61
|
-
null,
|
|
62
60
|
null
|
|
63
61
|
);
|
|
64
62
|
const $ = h.exports;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
var u = Object.defineProperty;
|
|
2
|
-
var
|
|
2
|
+
var l = Object.getOwnPropertySymbols;
|
|
3
3
|
var i = Object.prototype.hasOwnProperty, p = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var s = (t, e, r) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r,
|
|
4
|
+
var s = (t, e, r) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, o = (t, e) => {
|
|
5
5
|
for (var r in e || (e = {}))
|
|
6
6
|
i.call(e, r) && s(t, r, e[r]);
|
|
7
|
-
if (
|
|
8
|
-
for (var r of
|
|
7
|
+
if (l)
|
|
8
|
+
for (var r of l(e))
|
|
9
9
|
p.call(e, r) && s(t, r, e[r]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
12
|
import { f as m } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
13
13
|
import a from "element-ui/lib/input";
|
|
14
14
|
import { d, n as f } from "../chunks/index.DwCBGcYk.mjs";
|
|
15
|
-
import { n as c } from "../chunks/_plugin-vue2_normalizer.
|
|
15
|
+
import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.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((t) => !["value", "placeholder", "disabled"].includes(t)), v = {
|
|
17
17
|
name: "FormInputEmail",
|
|
18
18
|
mixins: [m],
|
|
@@ -27,7 +27,7 @@ const _ = (t, e, r) => e && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-
|
|
|
27
27
|
},
|
|
28
28
|
computed: {
|
|
29
29
|
inputProps() {
|
|
30
|
-
return d(
|
|
30
|
+
return d(o(o({}, f(this.$attrs)), this.$props), y);
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
methods: {
|
|
@@ -56,8 +56,6 @@ var h = function() {
|
|
|
56
56
|
b,
|
|
57
57
|
!1,
|
|
58
58
|
null,
|
|
59
|
-
null,
|
|
60
|
-
null,
|
|
61
59
|
null
|
|
62
60
|
);
|
|
63
61
|
const F = x.exports;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
var u = Object.defineProperty;
|
|
2
2
|
var s = Object.getOwnPropertySymbols;
|
|
3
3
|
var p = Object.prototype.hasOwnProperty, d = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var
|
|
4
|
+
var a = (t, e, r) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, n = (t, e) => {
|
|
5
5
|
for (var r in e || (e = {}))
|
|
6
|
-
p.call(e, r) &&
|
|
6
|
+
p.call(e, r) && a(t, r, e[r]);
|
|
7
7
|
if (s)
|
|
8
8
|
for (var r of s(e))
|
|
9
|
-
d.call(e, r) &&
|
|
9
|
+
d.call(e, r) && a(t, r, e[r]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
12
|
import { f as m } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
13
|
-
import { validateIdCard as
|
|
13
|
+
import { validateIdCard as l } from "@web-utils/core";
|
|
14
14
|
import i from "element-ui/lib/input";
|
|
15
15
|
import { d as f, n as c } from "../chunks/index.DwCBGcYk.mjs";
|
|
16
|
-
import { n as _ } from "../chunks/_plugin-vue2_normalizer.
|
|
16
|
+
import { n as _ } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
17
17
|
const v = Object.keys(i.props || i.default.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), y = {
|
|
18
18
|
name: "FormInputIdCard",
|
|
19
19
|
mixins: [m],
|
|
@@ -28,15 +28,15 @@ const v = Object.keys(i.props || i.default.props).filter((t) => !["value", "plac
|
|
|
28
28
|
},
|
|
29
29
|
computed: {
|
|
30
30
|
inputProps() {
|
|
31
|
-
return f(
|
|
31
|
+
return f(n(n({}, c(this.$attrs)), this.$props), v);
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
methods: {
|
|
35
|
-
validateIdCard:
|
|
35
|
+
validateIdCard: l,
|
|
36
36
|
getRules() {
|
|
37
37
|
return [
|
|
38
38
|
{
|
|
39
|
-
validator:
|
|
39
|
+
validator: l,
|
|
40
40
|
message: "请输入正确的身份证号码!"
|
|
41
41
|
}
|
|
42
42
|
];
|
|
@@ -46,11 +46,11 @@ const v = Object.keys(i.props || i.default.props).filter((t) => !["value", "plac
|
|
|
46
46
|
var I = function() {
|
|
47
47
|
var e = this, r = e._self._c;
|
|
48
48
|
return r("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
|
|
49
|
-
return [r("ElInput", e._g(e._b({ class: { "is-readonly": e.readonly }, attrs: { value: e.value, readonly: e.readonly, maxlength: e.maxLength, disabled: e.inputDisabled, placeholder: e.computePlaceholder }, on: { input: (
|
|
50
|
-
}, proxy: !0 }, { key: "error", fn: function({ error:
|
|
51
|
-
return [e.$scopedSlots.error && e.$scopedSlots.error(
|
|
52
|
-
return [e._v(" " + e._s(
|
|
53
|
-
}, { error:
|
|
49
|
+
return [r("ElInput", e._g(e._b({ class: { "is-readonly": e.readonly }, attrs: { value: e.value, readonly: e.readonly, maxlength: e.maxLength, disabled: e.inputDisabled, placeholder: e.computePlaceholder }, on: { input: (o) => e.$emit("input", o) } }, "ElInput", e.inputProps, !1), e.listeners)), e.$slots.warn ? r("div", { staticClass: "el-form-item__error" }, [e._t("warn")], 2) : e._e()];
|
|
50
|
+
}, proxy: !0 }, { key: "error", fn: function({ error: o }) {
|
|
51
|
+
return [e.$scopedSlots.error && e.$scopedSlots.error(o) ? r("div", { staticClass: "el-form-item__error" }, [e._t("error", function() {
|
|
52
|
+
return [e._v(" " + e._s(o) + " ")];
|
|
53
|
+
}, { error: o })], 2) : e._e()];
|
|
54
54
|
} }, { key: "label", fn: function() {
|
|
55
55
|
return [e._t("label")];
|
|
56
56
|
}, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
|
|
@@ -60,8 +60,6 @@ var I = function() {
|
|
|
60
60
|
b,
|
|
61
61
|
!1,
|
|
62
62
|
null,
|
|
63
|
-
null,
|
|
64
|
-
null,
|
|
65
63
|
null
|
|
66
64
|
);
|
|
67
65
|
const S = h.exports;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
var p = Object.defineProperty;
|
|
2
2
|
var o = Object.getOwnPropertySymbols;
|
|
3
|
-
var s = Object.prototype.hasOwnProperty,
|
|
3
|
+
var s = Object.prototype.hasOwnProperty, a = Object.prototype.propertyIsEnumerable;
|
|
4
4
|
var i = (r, e, t) => e in r ? p(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, u = (r, e) => {
|
|
5
5
|
for (var t in e || (e = {}))
|
|
6
6
|
s.call(e, t) && i(r, t, e[t]);
|
|
7
7
|
if (o)
|
|
8
8
|
for (var t of o(e))
|
|
9
|
-
|
|
9
|
+
a.call(e, t) && i(r, t, e[t]);
|
|
10
10
|
return r;
|
|
11
11
|
};
|
|
12
|
-
import { f as
|
|
12
|
+
import { f as l } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
13
13
|
import { d as m, n as f } from "../chunks/index.DwCBGcYk.mjs";
|
|
14
14
|
import { i as c } from "../chunks/input-number-mixin.CzjtGf2n.mjs";
|
|
15
|
-
import { n as d } from "../chunks/_plugin-vue2_normalizer.
|
|
15
|
+
import { n as d } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
16
16
|
const _ = Object.keys(c.props).filter((r) => !["value", "placeholder", "disabled", "precision", "max", "min"].includes(r)), y = {
|
|
17
17
|
name: "FormInputNumber",
|
|
18
|
-
mixins: [
|
|
18
|
+
mixins: [l],
|
|
19
19
|
props: {
|
|
20
20
|
value: {
|
|
21
21
|
type: [String, Number]
|
|
@@ -64,8 +64,6 @@ var b = function() {
|
|
|
64
64
|
x,
|
|
65
65
|
!1,
|
|
66
66
|
null,
|
|
67
|
-
null,
|
|
68
|
-
null,
|
|
69
67
|
null
|
|
70
68
|
);
|
|
71
69
|
const F = I.exports;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
var
|
|
1
|
+
var u = Object.defineProperty;
|
|
2
2
|
var o = Object.getOwnPropertySymbols;
|
|
3
3
|
var i = Object.prototype.hasOwnProperty, p = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var
|
|
4
|
+
var s = (t, e, r) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, n = (t, e) => {
|
|
5
5
|
for (var r in e || (e = {}))
|
|
6
|
-
i.call(e, r) &&
|
|
6
|
+
i.call(e, r) && s(t, r, e[r]);
|
|
7
7
|
if (o)
|
|
8
8
|
for (var r of o(e))
|
|
9
|
-
p.call(e, r) &&
|
|
9
|
+
p.call(e, r) && s(t, r, e[r]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
12
|
import { f as m } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
13
13
|
import { validatePhoneNum as d } from "@web-utils/core";
|
|
14
14
|
import { d as f, n as c } from "../chunks/index.DwCBGcYk.mjs";
|
|
15
|
-
import
|
|
16
|
-
import { n as _ } from "../chunks/_plugin-vue2_normalizer.
|
|
17
|
-
const h = Object.keys(
|
|
15
|
+
import l from "element-ui/lib/input";
|
|
16
|
+
import { n as _ } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
17
|
+
const h = Object.keys(l.props || l.default.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), y = {
|
|
18
18
|
name: "FormInputPhoneNumber",
|
|
19
19
|
mixins: [m],
|
|
20
20
|
props: {
|
|
@@ -49,8 +49,8 @@ var b = function() {
|
|
|
49
49
|
var e = this, r = e._self._c;
|
|
50
50
|
return r("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
|
|
51
51
|
return [r("ElInput", e._g(e._b({ class: { "is-readonly": e.readonly }, attrs: { value: e.value, readonly: e.readonly, maxlength: e.maxLength, disabled: e.inputDisabled, placeholder: e.computePlaceholder }, on: { input: e.emitInput } }, "ElInput", e.inputProps, !1), e.listeners))];
|
|
52
|
-
}, proxy: !0 }, { key: "error", fn: function({ error:
|
|
53
|
-
return [e._t("error", null, { error:
|
|
52
|
+
}, proxy: !0 }, { key: "error", fn: function({ error: a }) {
|
|
53
|
+
return [e._t("error", null, { error: a })];
|
|
54
54
|
} }, { key: "label", fn: function() {
|
|
55
55
|
return [e._t("label")];
|
|
56
56
|
}, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
|
|
@@ -60,8 +60,6 @@ var b = function() {
|
|
|
60
60
|
v,
|
|
61
61
|
!1,
|
|
62
62
|
null,
|
|
63
|
-
null,
|
|
64
|
-
null,
|
|
65
63
|
null
|
|
66
64
|
);
|
|
67
65
|
const R = I.exports;
|
package/form-input-tag/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
var
|
|
1
|
+
var u = Object.defineProperty;
|
|
2
2
|
var a = Object.getOwnPropertySymbols;
|
|
3
3
|
var p = Object.prototype.hasOwnProperty, i = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var l = (t, e, r) => e in t ?
|
|
4
|
+
var l = (t, e, r) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, n = (t, e) => {
|
|
5
5
|
for (var r in e || (e = {}))
|
|
6
6
|
p.call(e, r) && l(t, r, e[r]);
|
|
7
7
|
if (a)
|
|
@@ -11,13 +11,13 @@ var l = (t, e, r) => e in t ? s(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
};
|
|
12
12
|
import { f as m } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
13
13
|
import { d, n as c } from "../chunks/index.DwCBGcYk.mjs";
|
|
14
|
-
import
|
|
14
|
+
import s from "../x-input-tag/index.mjs";
|
|
15
15
|
import "../x-input-tag/style.css";
|
|
16
|
-
import { n as f } from "../chunks/_plugin-vue2_normalizer.
|
|
17
|
-
const _ = Object.keys(
|
|
16
|
+
import { n as f } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
17
|
+
const _ = Object.keys(s.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), b = {
|
|
18
18
|
name: "FormInputTag",
|
|
19
19
|
components: {
|
|
20
|
-
XInputTag:
|
|
20
|
+
XInputTag: s
|
|
21
21
|
},
|
|
22
22
|
mixins: [m],
|
|
23
23
|
props: {
|
|
@@ -56,8 +56,6 @@ var y = function() {
|
|
|
56
56
|
v,
|
|
57
57
|
!1,
|
|
58
58
|
null,
|
|
59
|
-
null,
|
|
60
|
-
null,
|
|
61
59
|
null
|
|
62
60
|
);
|
|
63
61
|
const M = I.exports;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
var s = Object.defineProperty;
|
|
2
|
-
var
|
|
2
|
+
var i = Object.getOwnPropertySymbols;
|
|
3
3
|
var m = Object.prototype.hasOwnProperty, p = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var
|
|
4
|
+
var l = (r, e, t) => e in r ? s(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, a = (r, e) => {
|
|
5
5
|
for (var t in e || (e = {}))
|
|
6
|
-
m.call(e, t) &&
|
|
7
|
-
if (
|
|
8
|
-
for (var t of
|
|
9
|
-
p.call(e, t) &&
|
|
6
|
+
m.call(e, t) && l(r, t, e[t]);
|
|
7
|
+
if (i)
|
|
8
|
+
for (var t of i(e))
|
|
9
|
+
p.call(e, t) && l(r, t, e[t]);
|
|
10
10
|
return r;
|
|
11
11
|
};
|
|
12
12
|
import { f as u } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
13
13
|
import o from "element-ui/lib/time-picker";
|
|
14
14
|
import { d as f, n as d } from "../chunks/index.DwCBGcYk.mjs";
|
|
15
|
-
import { n as c } from "../chunks/_plugin-vue2_normalizer.
|
|
15
|
+
import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
16
16
|
const _ = Object.keys(o.props || o.default.props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), g = {
|
|
17
17
|
name: "FormInputTime",
|
|
18
18
|
mixins: [u],
|
|
@@ -80,8 +80,6 @@ var y = function() {
|
|
|
80
80
|
b,
|
|
81
81
|
!1,
|
|
82
82
|
null,
|
|
83
|
-
null,
|
|
84
|
-
null,
|
|
85
83
|
null
|
|
86
84
|
);
|
|
87
85
|
const k = v.exports;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "../chunks/_plugin-vue2_normalizer.
|
|
2
|
-
const
|
|
1
|
+
import { n as e } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
|
+
const r = {
|
|
3
3
|
name: "FormItemConfigProvider",
|
|
4
4
|
provide() {
|
|
5
5
|
return {
|
|
@@ -38,15 +38,13 @@ const n = {
|
|
|
38
38
|
render() {
|
|
39
39
|
return this.$scopedSlots.default();
|
|
40
40
|
}
|
|
41
|
-
},
|
|
41
|
+
}, n = null, t = null;
|
|
42
42
|
var l = /* @__PURE__ */ e(
|
|
43
|
-
n,
|
|
44
43
|
r,
|
|
44
|
+
n,
|
|
45
45
|
t,
|
|
46
46
|
!1,
|
|
47
47
|
null,
|
|
48
|
-
null,
|
|
49
|
-
null,
|
|
50
48
|
null
|
|
51
49
|
);
|
|
52
50
|
const i = l.exports;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
var u = Object.defineProperty;
|
|
2
2
|
var n = Object.getOwnPropertySymbols;
|
|
3
3
|
var p = Object.prototype.hasOwnProperty, f = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var s = (
|
|
5
|
-
for (var
|
|
6
|
-
p.call(e,
|
|
4
|
+
var s = (o, e, r) => e in o ? u(o, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : o[e] = r, t = (o, e) => {
|
|
5
|
+
for (var r in e || (e = {}))
|
|
6
|
+
p.call(e, r) && s(o, r, e[r]);
|
|
7
7
|
if (n)
|
|
8
|
-
for (var
|
|
9
|
-
f.call(e,
|
|
10
|
-
return
|
|
8
|
+
for (var r of n(e))
|
|
9
|
+
f.call(e, r) && s(o, r, e[r]);
|
|
10
|
+
return o;
|
|
11
11
|
};
|
|
12
12
|
import { f as c } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
13
13
|
import { f as h } from "../chunks/form-pick-mixin.BFTIVn_i.mjs";
|
|
14
14
|
import a from "element-ui/lib/radio-group";
|
|
15
15
|
import { d, n as m } from "../chunks/index.DwCBGcYk.mjs";
|
|
16
|
-
import { n as y } from "../chunks/_plugin-vue2_normalizer.
|
|
17
|
-
const v = Object.keys(a.props || a.default.props).filter((
|
|
16
|
+
import { n as y } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
17
|
+
const v = Object.keys(a.props || a.default.props).filter((o) => !["value", "placeholder", "disabled"].includes(o)), _ = {
|
|
18
18
|
name: "FormRadioGroup",
|
|
19
19
|
mixins: [c, h],
|
|
20
20
|
props: {
|
|
@@ -78,26 +78,26 @@ const v = Object.keys(a.props || a.default.props).filter((l) => !["value", "plac
|
|
|
78
78
|
}
|
|
79
79
|
},
|
|
80
80
|
methods: {
|
|
81
|
-
emitInput(
|
|
82
|
-
this.$emit("input",
|
|
81
|
+
emitInput(o) {
|
|
82
|
+
this.$emit("input", o);
|
|
83
83
|
},
|
|
84
|
-
toggle(
|
|
85
|
-
this.value ===
|
|
84
|
+
toggle(o) {
|
|
85
|
+
this.value === o[this.valueKey] ? this.emitInput(null) : this.emitInput(o[this.valueKey]);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
};
|
|
89
89
|
var b = function() {
|
|
90
|
-
var e = this,
|
|
91
|
-
return
|
|
92
|
-
return [
|
|
93
|
-
return
|
|
94
|
-
return i.preventDefault(), i.stopPropagation(), e.toggle(
|
|
95
|
-
} } }, [e._v(" " + e._s(
|
|
96
|
-
}) : e._l(e.innerOptions, function(
|
|
97
|
-
return
|
|
90
|
+
var e = this, r = e._self._c;
|
|
91
|
+
return r("FormItem", e._b({ class: ["form-radio-group", { "form-radio-group-row": e.fillRow, inline: e.inline }, e.ellipsis ? "form-radio-group-row-ellipsis" : "form-radio-group-row-break-word"], attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
|
|
92
|
+
return [r("ElRadioGroup", e._g(e._b({ class: { "over-flow": e.overFlow }, attrs: { value: e.value, disabled: e.inputDisabled, placeholder: e.computePlaceholder }, on: { input: (l) => e.$emit("input", l) } }, "ElRadioGroup", e.inputProps, !1), e.listeners), [e.allowCancel ? e._l(e.innerOptions, function(l) {
|
|
93
|
+
return r("ElRadio", { key: l[e.valueKey], attrs: { label: l[e.valueKey] }, nativeOn: { click: function(i) {
|
|
94
|
+
return i.preventDefault(), i.stopPropagation(), e.toggle(l);
|
|
95
|
+
} } }, [e._v(" " + e._s(l[e.labelKey]) + " ")]);
|
|
96
|
+
}) : e._l(e.innerOptions, function(l) {
|
|
97
|
+
return r("ElRadio", { key: l[e.valueKey], attrs: { label: l[e.valueKey] } }, [e._v(" " + e._s(l[e.labelKey]) + " ")]);
|
|
98
98
|
})], 2), e._t("append")];
|
|
99
|
-
}, proxy: !0 }, { key: "error", fn: function({ error:
|
|
100
|
-
return [e._t("error", null, { error:
|
|
99
|
+
}, proxy: !0 }, { key: "error", fn: function({ error: l }) {
|
|
100
|
+
return [e._t("error", null, { error: l })];
|
|
101
101
|
} }, { key: "label", fn: function() {
|
|
102
102
|
return [e._t("label")];
|
|
103
103
|
}, proxy: !0 }, { key: "below", fn: function() {
|
|
@@ -109,8 +109,6 @@ var b = function() {
|
|
|
109
109
|
g,
|
|
110
110
|
!1,
|
|
111
111
|
null,
|
|
112
|
-
null,
|
|
113
|
-
null,
|
|
114
112
|
null
|
|
115
113
|
);
|
|
116
114
|
const F = K.exports;
|