bkui-vue 1.0.0 → 1.0.1
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/README.md +1 -0
- package/dist/index.cjs.js +47 -47
- package/dist/index.esm.js +10405 -10394
- package/dist/index.umd.js +47 -47
- package/dist/locale/en.esm.js +1 -1
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/en.umd.js +1 -1
- package/dist/locale/en.umd.js.map +1 -1
- package/dist/locale/zh-cn.esm.js +1 -1
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/index.d.ts +57 -111
- package/lib/affix/index.js +19 -19
- package/lib/alert/alert.d.ts +1 -1
- package/lib/alert/index.d.ts +82 -132
- package/lib/alert/index.js +20 -20
- package/lib/animate-number/index.d.ts +33 -96
- package/lib/backtop/index.d.ts +69 -117
- package/lib/badge/badge.d.ts +1 -1
- package/lib/badge/index.d.ts +120 -153
- package/lib/badge/index.js +19 -19
- package/lib/breadcrumb/index.d.ts +67 -119
- package/lib/breadcrumb/index.js +17 -17
- package/lib/button/button.d.ts +2 -2
- package/lib/button/index.d.ts +119 -155
- package/lib/button/index.js +19 -20
- package/lib/card/card.d.ts +1 -1
- package/lib/card/index.d.ts +129 -158
- package/lib/card/index.js +20 -22
- package/lib/cascader/cascader.d.ts +3 -3
- package/lib/cascader/index.d.ts +393 -354
- package/lib/cascader/index.js +233 -234
- package/lib/checkbox/checkbox.d.ts +1 -1
- package/lib/checkbox/index.d.ts +119 -161
- package/lib/checkbox/index.js +39 -41
- package/lib/code-diff/index.d.ts +65 -82
- package/lib/code-diff/index.js +381 -438
- package/lib/collapse/index.d.ts +144 -168
- package/lib/collapse/index.js +21 -21
- package/lib/collapse-transition/index.d.ts +19 -94
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +128 -154
- package/lib/color-picker/index.js +25 -28
- package/lib/config-provider/config-provider.d.ts +9 -0
- package/lib/config-provider/index.d.ts +168 -223
- package/lib/config-provider/index.js +19 -19
- package/lib/config-provider/token.d.ts +3 -0
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +74 -85
- package/lib/container/index.js +19 -19
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/time-spinner.d.ts +3 -3
- package/lib/date-picker/date-picker.d.ts +3 -3
- package/lib/date-picker/index.d.ts +384 -351
- package/lib/date-picker/index.js +92 -104
- package/lib/date-picker/panel/date-range.d.ts +1 -1
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +2 -2
- package/lib/date-picker/panel/time.d.ts +1 -1
- package/lib/date-picker/time-picker.d.ts +3 -3
- package/lib/dialog/index.d.ts +355 -309
- package/lib/dialog/index.js +227 -228
- package/lib/directives/index.js +27 -27
- package/lib/divider/index.d.ts +57 -111
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +94 -136
- package/lib/dropdown/index.js +17 -17
- package/lib/exception/index.d.ts +41 -102
- package/lib/exception/index.js +18 -19
- package/lib/fixed-navbar/index.d.ts +59 -113
- package/lib/form/form.css +3 -0
- package/lib/form/form.d.ts +1 -1
- package/lib/form/form.less +3 -0
- package/lib/form/form.variable.css +3 -0
- package/lib/form/index.d.ts +80 -132
- package/lib/form/index.js +29 -27
- package/lib/icon/angle-double-down-line.js +21 -21
- package/lib/icon/angle-double-left-line.js +21 -21
- package/lib/icon/angle-double-left.js +21 -21
- package/lib/icon/angle-double-right-line.js +21 -21
- package/lib/icon/angle-double-right.js +21 -21
- package/lib/icon/angle-double-up-line.js +21 -21
- package/lib/icon/angle-down-fill.js +21 -21
- package/lib/icon/angle-down-line.js +21 -21
- package/lib/icon/angle-down.js +21 -21
- package/lib/icon/angle-left.js +21 -21
- package/lib/icon/angle-right.js +21 -21
- package/lib/icon/angle-up-fill.js +21 -21
- package/lib/icon/angle-up.js +21 -21
- package/lib/icon/archive-fill.js +21 -21
- package/lib/icon/arrows-left.js +21 -21
- package/lib/icon/arrows-right.js +21 -21
- package/lib/icon/assistant.js +21 -21
- package/lib/icon/audio-fill.js +21 -21
- package/lib/icon/bk.js +21 -21
- package/lib/icon/circle.js +21 -21
- package/lib/icon/close-line.js +21 -21
- package/lib/icon/close.js +21 -21
- package/lib/icon/code.js +21 -21
- package/lib/icon/cog-shape.js +21 -21
- package/lib/icon/collapse-left.js +21 -21
- package/lib/icon/copy-shape.js +21 -21
- package/lib/icon/copy.js +21 -21
- package/lib/icon/data-shape.js +21 -21
- package/lib/icon/del.js +21 -21
- package/lib/icon/doc-fill.js +21 -21
- package/lib/icon/done.js +21 -21
- package/lib/icon/down-shape.js +21 -21
- package/lib/icon/down-small.js +21 -21
- package/lib/icon/edit-line.js +21 -21
- package/lib/icon/ellipsis.js +21 -21
- package/lib/icon/enlarge-line.js +21 -21
- package/lib/icon/error.js +21 -21
- package/lib/icon/excel-fill.js +21 -21
- package/lib/icon/exclamation-circle-shape.js +21 -21
- package/lib/icon/eye.js +21 -21
- package/lib/icon/filliscreen-line.js +21 -21
- package/lib/icon/fix-line.js +21 -21
- package/lib/icon/fix-shape.js +21 -21
- package/lib/icon/folder-open.js +21 -21
- package/lib/icon/folder-shape-open.js +21 -21
- package/lib/icon/folder-shape.js +21 -21
- package/lib/icon/folder.js +21 -21
- package/lib/icon/funnel.js +21 -21
- package/lib/icon/grag-fill.js +21 -21
- package/lib/icon/help-document-fill.js +21 -21
- package/lib/icon/help-fill.js +21 -21
- package/lib/icon/help.js +21 -21
- package/lib/icon/image-fill.js +22 -22
- package/lib/icon/img-error.js +22 -22
- package/lib/icon/img-placehoulder.js +22 -22
- package/lib/icon/index.js +192 -192
- package/lib/icon/info-line.js +22 -22
- package/lib/icon/info.js +22 -22
- package/lib/icon/left-shape.js +22 -22
- package/lib/icon/left-turn-line.js +22 -22
- package/lib/icon/loading.js +22 -22
- package/lib/icon/narrow-line.js +22 -22
- package/lib/icon/original.js +22 -22
- package/lib/icon/pdf-fill.js +22 -22
- package/lib/icon/play-shape.js +22 -22
- package/lib/icon/plus.js +22 -22
- package/lib/icon/ppt-fill.js +22 -22
- package/lib/icon/qq.js +22 -22
- package/lib/icon/right-shape.js +22 -22
- package/lib/icon/right-turn-line.js +22 -22
- package/lib/icon/search.js +22 -22
- package/lib/icon/share.js +22 -22
- package/lib/icon/spinner.js +22 -22
- package/lib/icon/success.js +22 -22
- package/lib/icon/switcher-loading.js +22 -22
- package/lib/icon/text-file.js +22 -22
- package/lib/icon/text-fill.js +22 -22
- package/lib/icon/transfer.js +22 -22
- package/lib/icon/tree-application-shape.js +22 -22
- package/lib/icon/unfull-screen.js +22 -22
- package/lib/icon/unvisible.js +22 -22
- package/lib/icon/up-shape.js +22 -22
- package/lib/icon/upload.js +22 -22
- package/lib/icon/video-fill.js +22 -22
- package/lib/icon/warn.js +22 -22
- package/lib/icon/weixin-pro.js +22 -22
- package/lib/icon/weixin.js +22 -22
- package/lib/image/index.d.ts +113 -149
- package/lib/image/index.js +19 -19
- package/lib/info-box/index.js +231 -232
- package/lib/input/index.d.ts +326 -293
- package/lib/input/index.js +256 -258
- package/lib/link/index.d.ts +73 -122
- package/lib/loading/index.d.ts +132 -158
- package/lib/loading/index.js +23 -25
- package/lib/loading/loading.d.ts +4 -4
- package/lib/locale/index.js +8 -12
- package/lib/locale/lang/en.d.ts +3 -0
- package/lib/menu/index.d.ts +51 -112
- package/lib/menu/index.js +25 -25
- package/lib/message/index.js +28 -30
- package/lib/message/messageConstructor.d.ts +5 -5
- package/lib/modal/index.d.ts +261 -249
- package/lib/modal/index.js +492 -33
- package/lib/navigation/index.d.ts +152 -188
- package/lib/notify/index.js +22 -24
- package/lib/notify/notifyConstructor.d.ts +1 -1
- package/lib/overflow-title/index.d.ts +314 -242
- package/lib/overflow-title/index.js +1 -1
- package/lib/pagination/index.d.ts +194 -205
- package/lib/pagination/index.js +49 -56
- package/lib/plugin-popover/index.js +192 -98
- package/lib/pop-confirm/index.d.ts +126 -159
- package/lib/pop-confirm/index.js +0 -1
- package/lib/pop-confirm/pop-confirm.d.ts +1 -1
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +374 -330
- package/lib/popover/index.js +192 -98
- package/lib/popover2/index.d.ts +8 -83
- package/lib/process/index.d.ts +93 -137
- package/lib/process/index.js +225 -226
- package/lib/progress/index.d.ts +178 -187
- package/lib/progress/index.js +19 -19
- package/lib/progress/progress.d.ts +2 -2
- package/lib/radio/index.d.ts +83 -135
- package/lib/radio/index.js +41 -43
- package/lib/rate/index.d.ts +55 -112
- package/lib/rate/index.js +19 -20
- package/lib/resize-layout/index.d.ts +156 -185
- package/lib/resize-layout/index.js +20 -21
- package/lib/resize-layout/resize-layout.d.ts +2 -2
- package/lib/search-select/index.d.ts +292 -327
- package/lib/search-select/index.js +239 -240
- package/lib/search-select/input.d.ts +2 -2
- package/lib/search-select/search-select.d.ts +3 -3
- package/lib/search-select/selected.d.ts +2 -2
- package/lib/select/index.d.ts +1234 -1135
- package/lib/select/index.js +259 -262
- package/lib/select/select.d.ts +121 -161
- package/lib/select/selectTagInput.d.ts +2 -2
- package/lib/shared/helper.d.ts +4 -0
- package/lib/shared/index.js +81 -63
- package/lib/sideslider/index.d.ts +247 -233
- package/lib/sideslider/index.js +241 -247
- package/lib/slider/index.d.ts +204 -204
- package/lib/slider/index.js +208 -209
- package/lib/steps/index.d.ts +114 -150
- package/lib/steps/index.js +227 -228
- package/lib/swiper/index.d.ts +81 -127
- package/lib/swiper/index.js +18 -18
- package/lib/switcher/index.d.ts +152 -174
- package/lib/switcher/index.js +20 -22
- package/lib/tab/index.d.ts +199 -211
- package/lib/tab/index.js +23 -25
- package/lib/table/components/table-column.d.ts +2 -2
- package/lib/table/index.d.ts +605 -593
- package/lib/table/index.js +81 -95
- package/lib/table/plugins/use-pagination.d.ts +1 -1
- package/lib/table/table.d.ts +1 -1
- package/lib/table/use-common.d.ts +67 -34
- package/lib/table-column/index.d.ts +207 -243
- package/lib/table-column/index.js +18 -19
- package/lib/tag/index.d.ts +95 -142
- package/lib/tag/index.js +19 -19
- package/lib/tag-input/index.d.ts +690 -498
- package/lib/tag-input/index.js +54 -62
- package/lib/tag-input/tag-input.d.ts +5 -5
- package/lib/time-picker/index.d.ts +442 -385
- package/lib/timeline/index.d.ts +50 -109
- package/lib/timeline/index.js +6 -6
- package/lib/transfer/index.d.ts +191 -206
- package/lib/tree/index.d.ts +322 -288
- package/lib/tree/index.js +36 -39
- package/lib/tree/tree.d.ts +1 -1
- package/lib/tree/use-tree-init.d.ts +1 -1
- package/lib/upload/index.d.ts +281 -254
- package/lib/upload/index.js +254 -257
- package/lib/upload/upload.d.ts +2 -2
- package/lib/virtual-render/index.d.ts +337 -242
- package/lib/virtual-render/index.js +30 -30
- package/lib/virtual-render/virtual-render.d.ts +1 -1
- package/package.json +6 -13
package/lib/input/index.js
CHANGED
@@ -13,304 +13,304 @@ var _typeof = (__webpack_require__(7425)["default"]);
|
|
13
13
|
function _regeneratorRuntime() {
|
14
14
|
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
15
15
|
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
16
|
-
return
|
16
|
+
return e;
|
17
17
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
18
|
-
var
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
18
|
+
var t,
|
19
|
+
e = {},
|
20
|
+
r = Object.prototype,
|
21
|
+
n = r.hasOwnProperty,
|
22
|
+
o = Object.defineProperty || function (t, e, r) {
|
23
|
+
t[e] = r.value;
|
23
24
|
},
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
function define(
|
29
|
-
return Object.defineProperty(
|
30
|
-
value:
|
25
|
+
i = "function" == typeof Symbol ? Symbol : {},
|
26
|
+
a = i.iterator || "@@iterator",
|
27
|
+
c = i.asyncIterator || "@@asyncIterator",
|
28
|
+
u = i.toStringTag || "@@toStringTag";
|
29
|
+
function define(t, e, r) {
|
30
|
+
return Object.defineProperty(t, e, {
|
31
|
+
value: r,
|
31
32
|
enumerable: !0,
|
32
33
|
configurable: !0,
|
33
34
|
writable: !0
|
34
|
-
}),
|
35
|
+
}), t[e];
|
35
36
|
}
|
36
37
|
try {
|
37
38
|
define({}, "");
|
38
|
-
} catch (
|
39
|
-
define = function define(
|
40
|
-
return
|
39
|
+
} catch (t) {
|
40
|
+
define = function define(t, e, r) {
|
41
|
+
return t[e] = r;
|
41
42
|
};
|
42
43
|
}
|
43
|
-
function wrap(
|
44
|
-
var
|
45
|
-
|
46
|
-
|
47
|
-
return
|
48
|
-
value: makeInvokeMethod(
|
49
|
-
}),
|
44
|
+
function wrap(t, e, r, n) {
|
45
|
+
var i = e && e.prototype instanceof Generator ? e : Generator,
|
46
|
+
a = Object.create(i.prototype),
|
47
|
+
c = new Context(n || []);
|
48
|
+
return o(a, "_invoke", {
|
49
|
+
value: makeInvokeMethod(t, r, c)
|
50
|
+
}), a;
|
50
51
|
}
|
51
|
-
function tryCatch(
|
52
|
+
function tryCatch(t, e, r) {
|
52
53
|
try {
|
53
54
|
return {
|
54
55
|
type: "normal",
|
55
|
-
arg:
|
56
|
+
arg: t.call(e, r)
|
56
57
|
};
|
57
|
-
} catch (
|
58
|
+
} catch (t) {
|
58
59
|
return {
|
59
60
|
type: "throw",
|
60
|
-
arg:
|
61
|
+
arg: t
|
61
62
|
};
|
62
63
|
}
|
63
64
|
}
|
64
|
-
|
65
|
-
var
|
65
|
+
e.wrap = wrap;
|
66
|
+
var h = "suspendedStart",
|
67
|
+
l = "suspendedYield",
|
68
|
+
f = "executing",
|
69
|
+
s = "completed",
|
70
|
+
y = {};
|
66
71
|
function Generator() {}
|
67
72
|
function GeneratorFunction() {}
|
68
73
|
function GeneratorFunctionPrototype() {}
|
69
|
-
var
|
70
|
-
define(
|
74
|
+
var p = {};
|
75
|
+
define(p, a, function () {
|
71
76
|
return this;
|
72
77
|
});
|
73
|
-
var
|
74
|
-
|
75
|
-
|
76
|
-
var
|
77
|
-
function defineIteratorMethods(
|
78
|
-
["next", "throw", "return"].forEach(function (
|
79
|
-
define(
|
80
|
-
return this._invoke(
|
78
|
+
var d = Object.getPrototypeOf,
|
79
|
+
v = d && d(d(values([])));
|
80
|
+
v && v !== r && n.call(v, a) && (p = v);
|
81
|
+
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
82
|
+
function defineIteratorMethods(t) {
|
83
|
+
["next", "throw", "return"].forEach(function (e) {
|
84
|
+
define(t, e, function (t) {
|
85
|
+
return this._invoke(e, t);
|
81
86
|
});
|
82
87
|
});
|
83
88
|
}
|
84
|
-
function AsyncIterator(
|
85
|
-
function invoke(
|
86
|
-
var
|
87
|
-
if ("throw" !==
|
88
|
-
var
|
89
|
-
|
90
|
-
return
|
91
|
-
invoke("next",
|
92
|
-
}, function (
|
93
|
-
invoke("throw",
|
94
|
-
}) :
|
95
|
-
|
96
|
-
}, function (
|
97
|
-
return invoke("throw",
|
89
|
+
function AsyncIterator(t, e) {
|
90
|
+
function invoke(r, o, i, a) {
|
91
|
+
var c = tryCatch(t[r], t, o);
|
92
|
+
if ("throw" !== c.type) {
|
93
|
+
var u = c.arg,
|
94
|
+
h = u.value;
|
95
|
+
return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
96
|
+
invoke("next", t, i, a);
|
97
|
+
}, function (t) {
|
98
|
+
invoke("throw", t, i, a);
|
99
|
+
}) : e.resolve(h).then(function (t) {
|
100
|
+
u.value = t, i(u);
|
101
|
+
}, function (t) {
|
102
|
+
return invoke("throw", t, i, a);
|
98
103
|
});
|
99
104
|
}
|
100
|
-
|
105
|
+
a(c.arg);
|
101
106
|
}
|
102
|
-
var
|
103
|
-
|
104
|
-
value: function value(
|
107
|
+
var r;
|
108
|
+
o(this, "_invoke", {
|
109
|
+
value: function value(t, n) {
|
105
110
|
function callInvokeWithMethodAndArg() {
|
106
|
-
return new
|
107
|
-
invoke(
|
111
|
+
return new e(function (e, r) {
|
112
|
+
invoke(t, n, e, r);
|
108
113
|
});
|
109
114
|
}
|
110
|
-
return
|
115
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
111
116
|
}
|
112
117
|
});
|
113
118
|
}
|
114
|
-
function makeInvokeMethod(
|
115
|
-
var
|
116
|
-
return function (
|
117
|
-
if (
|
118
|
-
if (
|
119
|
-
if ("throw" ===
|
120
|
-
return
|
119
|
+
function makeInvokeMethod(e, r, n) {
|
120
|
+
var o = h;
|
121
|
+
return function (i, a) {
|
122
|
+
if (o === f) throw new Error("Generator is already running");
|
123
|
+
if (o === s) {
|
124
|
+
if ("throw" === i) throw a;
|
125
|
+
return {
|
126
|
+
value: t,
|
127
|
+
done: !0
|
128
|
+
};
|
121
129
|
}
|
122
|
-
for (
|
123
|
-
var
|
124
|
-
if (
|
125
|
-
var
|
126
|
-
if (
|
127
|
-
if (
|
128
|
-
return
|
130
|
+
for (n.method = i, n.arg = a;;) {
|
131
|
+
var c = n.delegate;
|
132
|
+
if (c) {
|
133
|
+
var u = maybeInvokeDelegate(c, n);
|
134
|
+
if (u) {
|
135
|
+
if (u === y) continue;
|
136
|
+
return u;
|
129
137
|
}
|
130
138
|
}
|
131
|
-
if ("next" ===
|
132
|
-
if (
|
133
|
-
|
134
|
-
} else "return" ===
|
135
|
-
|
136
|
-
var
|
137
|
-
if ("normal" ===
|
138
|
-
if (
|
139
|
+
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
140
|
+
if (o === h) throw o = s, n.arg;
|
141
|
+
n.dispatchException(n.arg);
|
142
|
+
} else "return" === n.method && n.abrupt("return", n.arg);
|
143
|
+
o = f;
|
144
|
+
var p = tryCatch(e, r, n);
|
145
|
+
if ("normal" === p.type) {
|
146
|
+
if (o = n.done ? s : l, p.arg === y) continue;
|
139
147
|
return {
|
140
|
-
value:
|
141
|
-
done:
|
148
|
+
value: p.arg,
|
149
|
+
done: n.done
|
142
150
|
};
|
143
151
|
}
|
144
|
-
"throw" ===
|
152
|
+
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
145
153
|
}
|
146
154
|
};
|
147
155
|
}
|
148
|
-
function maybeInvokeDelegate(
|
149
|
-
var
|
150
|
-
|
151
|
-
if (
|
152
|
-
var
|
153
|
-
if ("throw" ===
|
154
|
-
var
|
155
|
-
return
|
156
|
+
function maybeInvokeDelegate(e, r) {
|
157
|
+
var n = r.method,
|
158
|
+
o = e.iterator[n];
|
159
|
+
if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
|
160
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
161
|
+
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
162
|
+
var a = i.arg;
|
163
|
+
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
|
156
164
|
}
|
157
|
-
function pushTryEntry(
|
158
|
-
var
|
159
|
-
tryLoc:
|
165
|
+
function pushTryEntry(t) {
|
166
|
+
var e = {
|
167
|
+
tryLoc: t[0]
|
160
168
|
};
|
161
|
-
1 in
|
169
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
162
170
|
}
|
163
|
-
function resetTryEntry(
|
164
|
-
var
|
165
|
-
|
171
|
+
function resetTryEntry(t) {
|
172
|
+
var e = t.completion || {};
|
173
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
166
174
|
}
|
167
|
-
function Context(
|
175
|
+
function Context(t) {
|
168
176
|
this.tryEntries = [{
|
169
177
|
tryLoc: "root"
|
170
|
-
}],
|
178
|
+
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
171
179
|
}
|
172
|
-
function values(
|
173
|
-
if (
|
174
|
-
var
|
175
|
-
if (
|
176
|
-
if ("function" == typeof
|
177
|
-
if (!isNaN(
|
178
|
-
var
|
179
|
-
|
180
|
-
for (; ++
|
181
|
-
return next.value =
|
180
|
+
function values(e) {
|
181
|
+
if (e || "" === e) {
|
182
|
+
var r = e[a];
|
183
|
+
if (r) return r.call(e);
|
184
|
+
if ("function" == typeof e.next) return e;
|
185
|
+
if (!isNaN(e.length)) {
|
186
|
+
var o = -1,
|
187
|
+
i = function next() {
|
188
|
+
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
189
|
+
return next.value = t, next.done = !0, next;
|
182
190
|
};
|
183
|
-
return
|
191
|
+
return i.next = i;
|
184
192
|
}
|
185
193
|
}
|
186
|
-
|
187
|
-
next: doneResult
|
188
|
-
};
|
189
|
-
}
|
190
|
-
function doneResult() {
|
191
|
-
return {
|
192
|
-
value: undefined,
|
193
|
-
done: !0
|
194
|
-
};
|
194
|
+
throw new TypeError(_typeof(e) + " is not iterable");
|
195
195
|
}
|
196
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype,
|
196
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
197
197
|
value: GeneratorFunctionPrototype,
|
198
198
|
configurable: !0
|
199
|
-
}),
|
199
|
+
}), o(GeneratorFunctionPrototype, "constructor", {
|
200
200
|
value: GeneratorFunction,
|
201
201
|
configurable: !0
|
202
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype,
|
203
|
-
var
|
204
|
-
return !!
|
205
|
-
},
|
206
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(
|
207
|
-
},
|
202
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
203
|
+
var e = "function" == typeof t && t.constructor;
|
204
|
+
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
205
|
+
}, e.mark = function (t) {
|
206
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
207
|
+
}, e.awrap = function (t) {
|
208
208
|
return {
|
209
|
-
__await:
|
209
|
+
__await: t
|
210
210
|
};
|
211
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype,
|
211
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
212
212
|
return this;
|
213
|
-
}),
|
214
|
-
void 0 ===
|
215
|
-
var
|
216
|
-
return
|
217
|
-
return
|
213
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
214
|
+
void 0 === i && (i = Promise);
|
215
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
216
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
217
|
+
return t.done ? t.value : a.next();
|
218
218
|
});
|
219
|
-
}, defineIteratorMethods(
|
219
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
220
220
|
return this;
|
221
|
-
}), define(
|
221
|
+
}), define(g, "toString", function () {
|
222
222
|
return "[object Generator]";
|
223
|
-
}),
|
224
|
-
var
|
225
|
-
|
226
|
-
for (var
|
227
|
-
return
|
228
|
-
for (;
|
229
|
-
var
|
230
|
-
if (
|
223
|
+
}), e.keys = function (t) {
|
224
|
+
var e = Object(t),
|
225
|
+
r = [];
|
226
|
+
for (var n in e) r.push(n);
|
227
|
+
return r.reverse(), function next() {
|
228
|
+
for (; r.length;) {
|
229
|
+
var t = r.pop();
|
230
|
+
if (t in e) return next.value = t, next.done = !1, next;
|
231
231
|
}
|
232
232
|
return next.done = !0, next;
|
233
233
|
};
|
234
|
-
},
|
234
|
+
}, e.values = values, Context.prototype = {
|
235
235
|
constructor: Context,
|
236
|
-
reset: function reset(
|
237
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent =
|
236
|
+
reset: function reset(e) {
|
237
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
|
238
238
|
},
|
239
239
|
stop: function stop() {
|
240
240
|
this.done = !0;
|
241
|
-
var
|
242
|
-
if ("throw" ===
|
241
|
+
var t = this.tryEntries[0].completion;
|
242
|
+
if ("throw" === t.type) throw t.arg;
|
243
243
|
return this.rval;
|
244
244
|
},
|
245
|
-
dispatchException: function dispatchException(
|
246
|
-
if (this.done) throw
|
247
|
-
var
|
248
|
-
function handle(
|
249
|
-
return
|
245
|
+
dispatchException: function dispatchException(e) {
|
246
|
+
if (this.done) throw e;
|
247
|
+
var r = this;
|
248
|
+
function handle(n, o) {
|
249
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
250
250
|
}
|
251
|
-
for (var
|
252
|
-
var
|
253
|
-
|
254
|
-
if ("root" ===
|
255
|
-
if (
|
256
|
-
var
|
257
|
-
|
258
|
-
if (
|
259
|
-
if (this.prev <
|
260
|
-
if (this.prev <
|
261
|
-
} else if (
|
262
|
-
if (this.prev <
|
251
|
+
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
252
|
+
var i = this.tryEntries[o],
|
253
|
+
a = i.completion;
|
254
|
+
if ("root" === i.tryLoc) return handle("end");
|
255
|
+
if (i.tryLoc <= this.prev) {
|
256
|
+
var c = n.call(i, "catchLoc"),
|
257
|
+
u = n.call(i, "finallyLoc");
|
258
|
+
if (c && u) {
|
259
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
260
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
261
|
+
} else if (c) {
|
262
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
263
263
|
} else {
|
264
|
-
if (!
|
265
|
-
if (this.prev <
|
264
|
+
if (!u) throw new Error("try statement without catch or finally");
|
265
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
266
266
|
}
|
267
267
|
}
|
268
268
|
}
|
269
269
|
},
|
270
|
-
abrupt: function abrupt(
|
271
|
-
for (var
|
272
|
-
var
|
273
|
-
if (
|
274
|
-
var
|
270
|
+
abrupt: function abrupt(t, e) {
|
271
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
272
|
+
var o = this.tryEntries[r];
|
273
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
274
|
+
var i = o;
|
275
275
|
break;
|
276
276
|
}
|
277
277
|
}
|
278
|
-
|
279
|
-
var
|
280
|
-
return
|
278
|
+
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
279
|
+
var a = i ? i.completion : {};
|
280
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
281
281
|
},
|
282
|
-
complete: function complete(
|
283
|
-
if ("throw" ===
|
284
|
-
return "break" ===
|
282
|
+
complete: function complete(t, e) {
|
283
|
+
if ("throw" === t.type) throw t.arg;
|
284
|
+
return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
|
285
285
|
},
|
286
|
-
finish: function finish(
|
287
|
-
for (var
|
288
|
-
var
|
289
|
-
if (
|
286
|
+
finish: function finish(t) {
|
287
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
288
|
+
var r = this.tryEntries[e];
|
289
|
+
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
290
290
|
}
|
291
291
|
},
|
292
|
-
"catch": function _catch(
|
293
|
-
for (var
|
294
|
-
var
|
295
|
-
if (
|
296
|
-
var
|
297
|
-
if ("throw" ===
|
298
|
-
var
|
299
|
-
resetTryEntry(
|
292
|
+
"catch": function _catch(t) {
|
293
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
294
|
+
var r = this.tryEntries[e];
|
295
|
+
if (r.tryLoc === t) {
|
296
|
+
var n = r.completion;
|
297
|
+
if ("throw" === n.type) {
|
298
|
+
var o = n.arg;
|
299
|
+
resetTryEntry(r);
|
300
300
|
}
|
301
|
-
return
|
301
|
+
return o;
|
302
302
|
}
|
303
303
|
}
|
304
304
|
throw new Error("illegal catch attempt");
|
305
305
|
},
|
306
|
-
delegateYield: function delegateYield(
|
306
|
+
delegateYield: function delegateYield(e, r, n) {
|
307
307
|
return this.delegate = {
|
308
|
-
iterator: values(
|
309
|
-
resultName:
|
310
|
-
nextLoc:
|
311
|
-
}, "next" === this.method && (this.arg =
|
308
|
+
iterator: values(e),
|
309
|
+
resultName: r,
|
310
|
+
nextLoc: n
|
311
|
+
}, "next" === this.method && (this.arg = t), y;
|
312
312
|
}
|
313
|
-
},
|
313
|
+
}, e;
|
314
314
|
}
|
315
315
|
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
316
316
|
|
@@ -319,14 +319,14 @@ module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.e
|
|
319
319
|
/***/ 7425:
|
320
320
|
/***/ ((module) => {
|
321
321
|
|
322
|
-
function _typeof(
|
322
|
+
function _typeof(o) {
|
323
323
|
"@babel/helpers - typeof";
|
324
324
|
|
325
|
-
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
326
|
-
return typeof
|
327
|
-
} : function (
|
328
|
-
return
|
329
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(
|
325
|
+
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
326
|
+
return typeof o;
|
327
|
+
} : function (o) {
|
328
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
329
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
|
330
330
|
}
|
331
331
|
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
332
332
|
|
@@ -429,31 +429,31 @@ function _arrayWithHoles(arr) {
|
|
429
429
|
if (Array.isArray(arr)) return arr;
|
430
430
|
}
|
431
431
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
432
|
-
function _iterableToArrayLimit(
|
433
|
-
var
|
434
|
-
if (null !=
|
435
|
-
var
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
432
|
+
function _iterableToArrayLimit(r, l) {
|
433
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
434
|
+
if (null != t) {
|
435
|
+
var e,
|
436
|
+
n,
|
437
|
+
i,
|
438
|
+
u,
|
439
|
+
a = [],
|
440
|
+
f = !0,
|
441
|
+
o = !1;
|
442
442
|
try {
|
443
|
-
if (
|
444
|
-
if (Object(
|
445
|
-
|
446
|
-
} else for (; !(
|
447
|
-
} catch (
|
448
|
-
|
443
|
+
if (i = (t = t.call(r)).next, 0 === l) {
|
444
|
+
if (Object(t) !== t) return;
|
445
|
+
f = !1;
|
446
|
+
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
447
|
+
} catch (r) {
|
448
|
+
o = !0, n = r;
|
449
449
|
} finally {
|
450
450
|
try {
|
451
|
-
if (!
|
451
|
+
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
452
452
|
} finally {
|
453
|
-
if (
|
453
|
+
if (o) throw n;
|
454
454
|
}
|
455
455
|
}
|
456
|
-
return
|
456
|
+
return a;
|
457
457
|
}
|
458
458
|
}
|
459
459
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
@@ -546,38 +546,38 @@ function _objectWithoutProperties(source, excluded) {
|
|
546
546
|
return target;
|
547
547
|
}
|
548
548
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
549
|
-
function _typeof(
|
549
|
+
function _typeof(o) {
|
550
550
|
"@babel/helpers - typeof";
|
551
551
|
|
552
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
553
|
-
return typeof
|
554
|
-
} : function (
|
555
|
-
return
|
556
|
-
}, _typeof(
|
552
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
553
|
+
return typeof o;
|
554
|
+
} : function (o) {
|
555
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
556
|
+
}, _typeof(o);
|
557
557
|
}
|
558
558
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
559
559
|
|
560
|
-
function
|
561
|
-
if (
|
562
|
-
var
|
563
|
-
if (
|
564
|
-
var
|
565
|
-
if (
|
560
|
+
function toPrimitive(t, r) {
|
561
|
+
if ("object" != _typeof(t) || !t) return t;
|
562
|
+
var e = t[Symbol.toPrimitive];
|
563
|
+
if (void 0 !== e) {
|
564
|
+
var i = e.call(t, r || "default");
|
565
|
+
if ("object" != _typeof(i)) return i;
|
566
566
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
567
567
|
}
|
568
|
-
return (
|
568
|
+
return ("string" === r ? String : Number)(t);
|
569
569
|
}
|
570
570
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
571
571
|
|
572
572
|
|
573
|
-
function
|
574
|
-
var
|
575
|
-
return _typeof(
|
573
|
+
function toPropertyKey(t) {
|
574
|
+
var i = toPrimitive(t, "string");
|
575
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
576
576
|
}
|
577
577
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
578
578
|
|
579
579
|
function _defineProperty(obj, key, value) {
|
580
|
-
key =
|
580
|
+
key = toPropertyKey(key);
|
581
581
|
if (key in obj) {
|
582
582
|
Object.defineProperty(obj, key, {
|
583
583
|
value: value,
|
@@ -694,7 +694,7 @@ function calcTextareaHeight(targetElement) {
|
|
694
694
|
height = Math.min(maxHeight, height);
|
695
695
|
}
|
696
696
|
result.height = "".concat(height, "px");
|
697
|
-
(_hiddenTextarea$paren = hiddenTextarea.parentNode) === null || _hiddenTextarea$paren === void 0
|
697
|
+
(_hiddenTextarea$paren = hiddenTextarea.parentNode) === null || _hiddenTextarea$paren === void 0 || _hiddenTextarea$paren.removeChild(hiddenTextarea);
|
698
698
|
hiddenTextarea = undefined;
|
699
699
|
return result;
|
700
700
|
}
|
@@ -707,8 +707,8 @@ var _excluded = ["class", "style"];
|
|
707
707
|
var _inputEmitEventsType;
|
708
708
|
|
709
709
|
|
710
|
-
function ownKeys(
|
711
|
-
function _objectSpread(
|
710
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
711
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
712
712
|
/*
|
713
713
|
* Tencent is pleased to support the open source community by making
|
714
714
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -799,13 +799,13 @@ function PastEventFunction(_value, _e) {
|
|
799
799
|
function CompositionEventFunction(evt) {
|
800
800
|
return evt;
|
801
801
|
}
|
802
|
-
var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmitEventsType, EVENTS.UPDATE, EventFunction),
|
802
|
+
var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_inputEmitEventsType, EVENTS.UPDATE, EventFunction), EVENTS.FOCUS, function (evt) {
|
803
803
|
return evt;
|
804
|
-
}),
|
804
|
+
}), EVENTS.BLUR, function (evt) {
|
805
805
|
return evt;
|
806
|
-
}),
|
806
|
+
}), EVENTS.CHANGE, EventFunction), EVENTS.CLEAR, function () {
|
807
807
|
return true;
|
808
|
-
}),
|
808
|
+
}), EVENTS.INPUT, EventFunction), EVENTS.KEYPRESS, EventFunction), EVENTS.KEYDOWN, EventFunction), EVENTS.KEYUP, EventFunction), EVENTS.ENTER, EventFunction), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_inputEmitEventsType, EVENTS.PASTE, PastEventFunction), EVENTS.COMPOSITIONSTART, CompositionEventFunction), EVENTS.COMPOSITIONUPDATE, CompositionEventFunction), EVENTS.COMPOSITIONEND, CompositionEventFunction));
|
809
809
|
/* harmony default export */ const input = ((0,external_vue_namespaceObject.defineComponent)({
|
810
810
|
// eslint-disable-next-line vue/no-reserved-component-names
|
811
811
|
name: 'Input',
|
@@ -837,8 +837,7 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
|
|
837
837
|
value: props.modelValue
|
838
838
|
});
|
839
839
|
var inputCls = (0,external_vue_namespaceObject.computed)(function () {
|
840
|
-
|
841
|
-
return (0,shared_namespaceObject.classes)((_classes = {}, _defineProperty(_classes, "".concat(inputClsPrefix.value, "--").concat(props.size), !!props.size), _defineProperty(_classes, "resizable", props.resize), _defineProperty(_classes, 'is-focused', isFocused.value), _defineProperty(_classes, 'is-readonly', props.readonly && !props.selectReadonly), _defineProperty(_classes, 'is-disabled', props.disabled), _defineProperty(_classes, 'is-simplicity', props.behavior === 'simplicity'), _defineProperty(_classes, "".concat(ctx.attrs["class"]), !!ctx.attrs["class"]), _classes), inputClsPrefix.value);
|
840
|
+
return (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(inputClsPrefix.value, "--").concat(props.size), !!props.size), "resizable", props.resize), 'is-focused', isFocused.value), 'is-readonly', props.readonly && !props.selectReadonly), 'is-disabled', props.disabled), 'is-simplicity', props.behavior === 'simplicity'), "".concat(ctx.attrs["class"]), !!ctx.attrs["class"]), inputClsPrefix.value);
|
842
841
|
});
|
843
842
|
var isOverflow = (0,external_vue_namespaceObject.ref)(false);
|
844
843
|
var textareaCalcStyle = (0,external_vue_namespaceObject.ref)({});
|
@@ -912,8 +911,7 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
|
|
912
911
|
}, "".concat(inputClsPrefix.value, "--clear-icon"), true), suffixCls);
|
913
912
|
});
|
914
913
|
var maxLengthCls = (0,external_vue_namespaceObject.computed)(function () {
|
915
|
-
|
916
|
-
return (0,shared_namespaceObject.classes)((_classes3 = {}, _defineProperty(_classes3, getCls('max-length'), true), _defineProperty(_classes3, 'is-over-limit', ceilMaxLength.value - modelValueLength.value < 0), _classes3));
|
914
|
+
return (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty({}, getCls('max-length'), true), 'is-over-limit', ceilMaxLength.value - modelValueLength.value < 0));
|
917
915
|
});
|
918
916
|
var getValueLimits = function getValueLimits(val) {
|
919
917
|
if (typeof props.maxcharacter === 'number') {
|
@@ -984,7 +982,7 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
|
|
984
982
|
}, function (val) {
|
985
983
|
if (props.withValidate) {
|
986
984
|
var _formItem$validate;
|
987
|
-
formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0
|
985
|
+
formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0 || _formItem$validate.call(formItem, 'change');
|
988
986
|
}
|
989
987
|
innerInputValue.value = {
|
990
988
|
value: val
|
@@ -1003,7 +1001,7 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
|
|
1003
1001
|
// Hack: 修复autofocus属性失效问题 原生autofocus属性只在页面加载时生效
|
1004
1002
|
if (Object.prototype.hasOwnProperty.call(ctx.attrs, 'autofocus')) {
|
1005
1003
|
var _inputRef$value2, _inputRef$value2$focu;
|
1006
|
-
(_inputRef$value2 = inputRef.value) === null || _inputRef$value2 === void 0 || (_inputRef$value2$focu = _inputRef$value2.focus) === null || _inputRef$value2$focu === void 0
|
1004
|
+
(_inputRef$value2 = inputRef.value) === null || _inputRef$value2 === void 0 || (_inputRef$value2$focu = _inputRef$value2.focus) === null || _inputRef$value2$focu === void 0 || _inputRef$value2$focu.call(_inputRef$value2);
|
1007
1005
|
}
|
1008
1006
|
});
|
1009
1007
|
(0,external_vue_namespaceObject.onBeforeUnmount)(function () {
|
@@ -1044,7 +1042,7 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
|
|
1044
1042
|
ctx.emit(EVENTS.BLUR, e);
|
1045
1043
|
if (props.withValidate) {
|
1046
1044
|
var _formItem$validate2;
|
1047
|
-
formItem === null || formItem === void 0 || (_formItem$validate2 = formItem.validate) === null || _formItem$validate2 === void 0
|
1045
|
+
formItem === null || formItem === void 0 || (_formItem$validate2 = formItem.validate) === null || _formItem$validate2 === void 0 || _formItem$validate2.call(formItem, 'blur');
|
1048
1046
|
}
|
1049
1047
|
}
|
1050
1048
|
// 事件句柄生成器
|