bkui-vue 0.0.3-beta.2 → 0.0.3-beta.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/dist/index.cjs.js +48 -48
- package/dist/index.esm.js +10567 -10537
- package/dist/index.umd.js +48 -48
- 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 +380 -437
- 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/index.d.ts +156 -223
- package/lib/config-provider/index.js +19 -19
- 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 +345 -302
- 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.d.ts +1 -1
- package/lib/form/index.d.ts +80 -132
- package/lib/form/index.js +25 -26
- 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 +229 -230
- 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 +130 -156
- package/lib/loading/index.js +23 -25
- package/lib/loading/loading.d.ts +1 -1
- package/lib/locale/index.js +0 -4
- 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 +251 -246
- package/lib/modal/index.js +24 -24
- 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/index.js +62 -64
- package/lib/sideslider/index.d.ts +237 -226
- package/lib/sideslider/index.js +227 -227
- 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 +161 -132
- package/lib/table/plugins/use-pagination.d.ts +3 -2
- package/lib/table/table.css +12 -5
- package/lib/table/table.d.ts +1 -1
- package/lib/table/table.less +15 -5
- package/lib/table/table.variable.css +12 -5
- package/lib/table/use-attributes.d.ts +40 -1
- package/lib/table/use-common.d.ts +68 -34
- package/lib/table-column/index.d.ts +206 -242
- 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 +334 -293
- 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 +1 -1
package/lib/input/index.js
CHANGED
@@ -12,304 +12,304 @@ var _typeof = (__webpack_require__(7425)["default"]);
|
|
12
12
|
function _regeneratorRuntime() {
|
13
13
|
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
14
14
|
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
15
|
-
return
|
15
|
+
return e;
|
16
16
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
17
|
-
var
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
17
|
+
var t,
|
18
|
+
e = {},
|
19
|
+
r = Object.prototype,
|
20
|
+
n = r.hasOwnProperty,
|
21
|
+
o = Object.defineProperty || function (t, e, r) {
|
22
|
+
t[e] = r.value;
|
22
23
|
},
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
function define(
|
28
|
-
return Object.defineProperty(
|
29
|
-
value:
|
24
|
+
i = "function" == typeof Symbol ? Symbol : {},
|
25
|
+
a = i.iterator || "@@iterator",
|
26
|
+
c = i.asyncIterator || "@@asyncIterator",
|
27
|
+
u = i.toStringTag || "@@toStringTag";
|
28
|
+
function define(t, e, r) {
|
29
|
+
return Object.defineProperty(t, e, {
|
30
|
+
value: r,
|
30
31
|
enumerable: !0,
|
31
32
|
configurable: !0,
|
32
33
|
writable: !0
|
33
|
-
}),
|
34
|
+
}), t[e];
|
34
35
|
}
|
35
36
|
try {
|
36
37
|
define({}, "");
|
37
|
-
} catch (
|
38
|
-
define = function define(
|
39
|
-
return
|
38
|
+
} catch (t) {
|
39
|
+
define = function define(t, e, r) {
|
40
|
+
return t[e] = r;
|
40
41
|
};
|
41
42
|
}
|
42
|
-
function wrap(
|
43
|
-
var
|
44
|
-
|
45
|
-
|
46
|
-
return
|
47
|
-
value: makeInvokeMethod(
|
48
|
-
}),
|
43
|
+
function wrap(t, e, r, n) {
|
44
|
+
var i = e && e.prototype instanceof Generator ? e : Generator,
|
45
|
+
a = Object.create(i.prototype),
|
46
|
+
c = new Context(n || []);
|
47
|
+
return o(a, "_invoke", {
|
48
|
+
value: makeInvokeMethod(t, r, c)
|
49
|
+
}), a;
|
49
50
|
}
|
50
|
-
function tryCatch(
|
51
|
+
function tryCatch(t, e, r) {
|
51
52
|
try {
|
52
53
|
return {
|
53
54
|
type: "normal",
|
54
|
-
arg:
|
55
|
+
arg: t.call(e, r)
|
55
56
|
};
|
56
|
-
} catch (
|
57
|
+
} catch (t) {
|
57
58
|
return {
|
58
59
|
type: "throw",
|
59
|
-
arg:
|
60
|
+
arg: t
|
60
61
|
};
|
61
62
|
}
|
62
63
|
}
|
63
|
-
|
64
|
-
var
|
64
|
+
e.wrap = wrap;
|
65
|
+
var h = "suspendedStart",
|
66
|
+
l = "suspendedYield",
|
67
|
+
f = "executing",
|
68
|
+
s = "completed",
|
69
|
+
y = {};
|
65
70
|
function Generator() {}
|
66
71
|
function GeneratorFunction() {}
|
67
72
|
function GeneratorFunctionPrototype() {}
|
68
|
-
var
|
69
|
-
define(
|
73
|
+
var p = {};
|
74
|
+
define(p, a, function () {
|
70
75
|
return this;
|
71
76
|
});
|
72
|
-
var
|
73
|
-
|
74
|
-
|
75
|
-
var
|
76
|
-
function defineIteratorMethods(
|
77
|
-
["next", "throw", "return"].forEach(function (
|
78
|
-
define(
|
79
|
-
return this._invoke(
|
77
|
+
var d = Object.getPrototypeOf,
|
78
|
+
v = d && d(d(values([])));
|
79
|
+
v && v !== r && n.call(v, a) && (p = v);
|
80
|
+
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
81
|
+
function defineIteratorMethods(t) {
|
82
|
+
["next", "throw", "return"].forEach(function (e) {
|
83
|
+
define(t, e, function (t) {
|
84
|
+
return this._invoke(e, t);
|
80
85
|
});
|
81
86
|
});
|
82
87
|
}
|
83
|
-
function AsyncIterator(
|
84
|
-
function invoke(
|
85
|
-
var
|
86
|
-
if ("throw" !==
|
87
|
-
var
|
88
|
-
|
89
|
-
return
|
90
|
-
invoke("next",
|
91
|
-
}, function (
|
92
|
-
invoke("throw",
|
93
|
-
}) :
|
94
|
-
|
95
|
-
}, function (
|
96
|
-
return invoke("throw",
|
88
|
+
function AsyncIterator(t, e) {
|
89
|
+
function invoke(r, o, i, a) {
|
90
|
+
var c = tryCatch(t[r], t, o);
|
91
|
+
if ("throw" !== c.type) {
|
92
|
+
var u = c.arg,
|
93
|
+
h = u.value;
|
94
|
+
return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
95
|
+
invoke("next", t, i, a);
|
96
|
+
}, function (t) {
|
97
|
+
invoke("throw", t, i, a);
|
98
|
+
}) : e.resolve(h).then(function (t) {
|
99
|
+
u.value = t, i(u);
|
100
|
+
}, function (t) {
|
101
|
+
return invoke("throw", t, i, a);
|
97
102
|
});
|
98
103
|
}
|
99
|
-
|
104
|
+
a(c.arg);
|
100
105
|
}
|
101
|
-
var
|
102
|
-
|
103
|
-
value: function value(
|
106
|
+
var r;
|
107
|
+
o(this, "_invoke", {
|
108
|
+
value: function value(t, n) {
|
104
109
|
function callInvokeWithMethodAndArg() {
|
105
|
-
return new
|
106
|
-
invoke(
|
110
|
+
return new e(function (e, r) {
|
111
|
+
invoke(t, n, e, r);
|
107
112
|
});
|
108
113
|
}
|
109
|
-
return
|
114
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
110
115
|
}
|
111
116
|
});
|
112
117
|
}
|
113
|
-
function makeInvokeMethod(
|
114
|
-
var
|
115
|
-
return function (
|
116
|
-
if (
|
117
|
-
if (
|
118
|
-
if ("throw" ===
|
119
|
-
return
|
118
|
+
function makeInvokeMethod(e, r, n) {
|
119
|
+
var o = h;
|
120
|
+
return function (i, a) {
|
121
|
+
if (o === f) throw new Error("Generator is already running");
|
122
|
+
if (o === s) {
|
123
|
+
if ("throw" === i) throw a;
|
124
|
+
return {
|
125
|
+
value: t,
|
126
|
+
done: !0
|
127
|
+
};
|
120
128
|
}
|
121
|
-
for (
|
122
|
-
var
|
123
|
-
if (
|
124
|
-
var
|
125
|
-
if (
|
126
|
-
if (
|
127
|
-
return
|
129
|
+
for (n.method = i, n.arg = a;;) {
|
130
|
+
var c = n.delegate;
|
131
|
+
if (c) {
|
132
|
+
var u = maybeInvokeDelegate(c, n);
|
133
|
+
if (u) {
|
134
|
+
if (u === y) continue;
|
135
|
+
return u;
|
128
136
|
}
|
129
137
|
}
|
130
|
-
if ("next" ===
|
131
|
-
if (
|
132
|
-
|
133
|
-
} else "return" ===
|
134
|
-
|
135
|
-
var
|
136
|
-
if ("normal" ===
|
137
|
-
if (
|
138
|
+
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
139
|
+
if (o === h) throw o = s, n.arg;
|
140
|
+
n.dispatchException(n.arg);
|
141
|
+
} else "return" === n.method && n.abrupt("return", n.arg);
|
142
|
+
o = f;
|
143
|
+
var p = tryCatch(e, r, n);
|
144
|
+
if ("normal" === p.type) {
|
145
|
+
if (o = n.done ? s : l, p.arg === y) continue;
|
138
146
|
return {
|
139
|
-
value:
|
140
|
-
done:
|
147
|
+
value: p.arg,
|
148
|
+
done: n.done
|
141
149
|
};
|
142
150
|
}
|
143
|
-
"throw" ===
|
151
|
+
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
144
152
|
}
|
145
153
|
};
|
146
154
|
}
|
147
|
-
function maybeInvokeDelegate(
|
148
|
-
var
|
149
|
-
|
150
|
-
if (
|
151
|
-
var
|
152
|
-
if ("throw" ===
|
153
|
-
var
|
154
|
-
return
|
155
|
+
function maybeInvokeDelegate(e, r) {
|
156
|
+
var n = r.method,
|
157
|
+
o = e.iterator[n];
|
158
|
+
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;
|
159
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
160
|
+
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
161
|
+
var a = i.arg;
|
162
|
+
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);
|
155
163
|
}
|
156
|
-
function pushTryEntry(
|
157
|
-
var
|
158
|
-
tryLoc:
|
164
|
+
function pushTryEntry(t) {
|
165
|
+
var e = {
|
166
|
+
tryLoc: t[0]
|
159
167
|
};
|
160
|
-
1 in
|
168
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
161
169
|
}
|
162
|
-
function resetTryEntry(
|
163
|
-
var
|
164
|
-
|
170
|
+
function resetTryEntry(t) {
|
171
|
+
var e = t.completion || {};
|
172
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
165
173
|
}
|
166
|
-
function Context(
|
174
|
+
function Context(t) {
|
167
175
|
this.tryEntries = [{
|
168
176
|
tryLoc: "root"
|
169
|
-
}],
|
177
|
+
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
170
178
|
}
|
171
|
-
function values(
|
172
|
-
if (
|
173
|
-
var
|
174
|
-
if (
|
175
|
-
if ("function" == typeof
|
176
|
-
if (!isNaN(
|
177
|
-
var
|
178
|
-
|
179
|
-
for (; ++
|
180
|
-
return next.value =
|
179
|
+
function values(e) {
|
180
|
+
if (e || "" === e) {
|
181
|
+
var r = e[a];
|
182
|
+
if (r) return r.call(e);
|
183
|
+
if ("function" == typeof e.next) return e;
|
184
|
+
if (!isNaN(e.length)) {
|
185
|
+
var o = -1,
|
186
|
+
i = function next() {
|
187
|
+
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
188
|
+
return next.value = t, next.done = !0, next;
|
181
189
|
};
|
182
|
-
return
|
190
|
+
return i.next = i;
|
183
191
|
}
|
184
192
|
}
|
185
|
-
|
186
|
-
next: doneResult
|
187
|
-
};
|
188
|
-
}
|
189
|
-
function doneResult() {
|
190
|
-
return {
|
191
|
-
value: undefined,
|
192
|
-
done: !0
|
193
|
-
};
|
193
|
+
throw new TypeError(_typeof(e) + " is not iterable");
|
194
194
|
}
|
195
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype,
|
195
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
196
196
|
value: GeneratorFunctionPrototype,
|
197
197
|
configurable: !0
|
198
|
-
}),
|
198
|
+
}), o(GeneratorFunctionPrototype, "constructor", {
|
199
199
|
value: GeneratorFunction,
|
200
200
|
configurable: !0
|
201
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype,
|
202
|
-
var
|
203
|
-
return !!
|
204
|
-
},
|
205
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(
|
206
|
-
},
|
201
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
202
|
+
var e = "function" == typeof t && t.constructor;
|
203
|
+
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
204
|
+
}, e.mark = function (t) {
|
205
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
206
|
+
}, e.awrap = function (t) {
|
207
207
|
return {
|
208
|
-
__await:
|
208
|
+
__await: t
|
209
209
|
};
|
210
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype,
|
210
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
211
211
|
return this;
|
212
|
-
}),
|
213
|
-
void 0 ===
|
214
|
-
var
|
215
|
-
return
|
216
|
-
return
|
212
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
213
|
+
void 0 === i && (i = Promise);
|
214
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
215
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
216
|
+
return t.done ? t.value : a.next();
|
217
217
|
});
|
218
|
-
}, defineIteratorMethods(
|
218
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
219
219
|
return this;
|
220
|
-
}), define(
|
220
|
+
}), define(g, "toString", function () {
|
221
221
|
return "[object Generator]";
|
222
|
-
}),
|
223
|
-
var
|
224
|
-
|
225
|
-
for (var
|
226
|
-
return
|
227
|
-
for (;
|
228
|
-
var
|
229
|
-
if (
|
222
|
+
}), e.keys = function (t) {
|
223
|
+
var e = Object(t),
|
224
|
+
r = [];
|
225
|
+
for (var n in e) r.push(n);
|
226
|
+
return r.reverse(), function next() {
|
227
|
+
for (; r.length;) {
|
228
|
+
var t = r.pop();
|
229
|
+
if (t in e) return next.value = t, next.done = !1, next;
|
230
230
|
}
|
231
231
|
return next.done = !0, next;
|
232
232
|
};
|
233
|
-
},
|
233
|
+
}, e.values = values, Context.prototype = {
|
234
234
|
constructor: Context,
|
235
|
-
reset: function reset(
|
236
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent =
|
235
|
+
reset: function reset(e) {
|
236
|
+
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);
|
237
237
|
},
|
238
238
|
stop: function stop() {
|
239
239
|
this.done = !0;
|
240
|
-
var
|
241
|
-
if ("throw" ===
|
240
|
+
var t = this.tryEntries[0].completion;
|
241
|
+
if ("throw" === t.type) throw t.arg;
|
242
242
|
return this.rval;
|
243
243
|
},
|
244
|
-
dispatchException: function dispatchException(
|
245
|
-
if (this.done) throw
|
246
|
-
var
|
247
|
-
function handle(
|
248
|
-
return
|
244
|
+
dispatchException: function dispatchException(e) {
|
245
|
+
if (this.done) throw e;
|
246
|
+
var r = this;
|
247
|
+
function handle(n, o) {
|
248
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
249
249
|
}
|
250
|
-
for (var
|
251
|
-
var
|
252
|
-
|
253
|
-
if ("root" ===
|
254
|
-
if (
|
255
|
-
var
|
256
|
-
|
257
|
-
if (
|
258
|
-
if (this.prev <
|
259
|
-
if (this.prev <
|
260
|
-
} else if (
|
261
|
-
if (this.prev <
|
250
|
+
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
251
|
+
var i = this.tryEntries[o],
|
252
|
+
a = i.completion;
|
253
|
+
if ("root" === i.tryLoc) return handle("end");
|
254
|
+
if (i.tryLoc <= this.prev) {
|
255
|
+
var c = n.call(i, "catchLoc"),
|
256
|
+
u = n.call(i, "finallyLoc");
|
257
|
+
if (c && u) {
|
258
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
259
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
260
|
+
} else if (c) {
|
261
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
262
262
|
} else {
|
263
|
-
if (!
|
264
|
-
if (this.prev <
|
263
|
+
if (!u) throw new Error("try statement without catch or finally");
|
264
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
265
265
|
}
|
266
266
|
}
|
267
267
|
}
|
268
268
|
},
|
269
|
-
abrupt: function abrupt(
|
270
|
-
for (var
|
271
|
-
var
|
272
|
-
if (
|
273
|
-
var
|
269
|
+
abrupt: function abrupt(t, e) {
|
270
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
271
|
+
var o = this.tryEntries[r];
|
272
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
273
|
+
var i = o;
|
274
274
|
break;
|
275
275
|
}
|
276
276
|
}
|
277
|
-
|
278
|
-
var
|
279
|
-
return
|
277
|
+
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
278
|
+
var a = i ? i.completion : {};
|
279
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
280
280
|
},
|
281
|
-
complete: function complete(
|
282
|
-
if ("throw" ===
|
283
|
-
return "break" ===
|
281
|
+
complete: function complete(t, e) {
|
282
|
+
if ("throw" === t.type) throw t.arg;
|
283
|
+
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;
|
284
284
|
},
|
285
|
-
finish: function finish(
|
286
|
-
for (var
|
287
|
-
var
|
288
|
-
if (
|
285
|
+
finish: function finish(t) {
|
286
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
287
|
+
var r = this.tryEntries[e];
|
288
|
+
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
289
289
|
}
|
290
290
|
},
|
291
|
-
"catch": function _catch(
|
292
|
-
for (var
|
293
|
-
var
|
294
|
-
if (
|
295
|
-
var
|
296
|
-
if ("throw" ===
|
297
|
-
var
|
298
|
-
resetTryEntry(
|
291
|
+
"catch": function _catch(t) {
|
292
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
293
|
+
var r = this.tryEntries[e];
|
294
|
+
if (r.tryLoc === t) {
|
295
|
+
var n = r.completion;
|
296
|
+
if ("throw" === n.type) {
|
297
|
+
var o = n.arg;
|
298
|
+
resetTryEntry(r);
|
299
299
|
}
|
300
|
-
return
|
300
|
+
return o;
|
301
301
|
}
|
302
302
|
}
|
303
303
|
throw new Error("illegal catch attempt");
|
304
304
|
},
|
305
|
-
delegateYield: function delegateYield(
|
305
|
+
delegateYield: function delegateYield(e, r, n) {
|
306
306
|
return this.delegate = {
|
307
|
-
iterator: values(
|
308
|
-
resultName:
|
309
|
-
nextLoc:
|
310
|
-
}, "next" === this.method && (this.arg =
|
307
|
+
iterator: values(e),
|
308
|
+
resultName: r,
|
309
|
+
nextLoc: n
|
310
|
+
}, "next" === this.method && (this.arg = t), y;
|
311
311
|
}
|
312
|
-
},
|
312
|
+
}, e;
|
313
313
|
}
|
314
314
|
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
315
315
|
|
@@ -318,14 +318,14 @@ module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.e
|
|
318
318
|
/***/ 7425:
|
319
319
|
/***/ ((module) => {
|
320
320
|
|
321
|
-
function _typeof(
|
321
|
+
function _typeof(o) {
|
322
322
|
"@babel/helpers - typeof";
|
323
323
|
|
324
|
-
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
325
|
-
return typeof
|
326
|
-
} : function (
|
327
|
-
return
|
328
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(
|
324
|
+
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
325
|
+
return typeof o;
|
326
|
+
} : function (o) {
|
327
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
328
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
|
329
329
|
}
|
330
330
|
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
331
331
|
|
@@ -428,31 +428,31 @@ function _arrayWithHoles(arr) {
|
|
428
428
|
if (Array.isArray(arr)) return arr;
|
429
429
|
}
|
430
430
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
431
|
-
function _iterableToArrayLimit(
|
432
|
-
var
|
433
|
-
if (null !=
|
434
|
-
var
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
431
|
+
function _iterableToArrayLimit(r, l) {
|
432
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
433
|
+
if (null != t) {
|
434
|
+
var e,
|
435
|
+
n,
|
436
|
+
i,
|
437
|
+
u,
|
438
|
+
a = [],
|
439
|
+
f = !0,
|
440
|
+
o = !1;
|
441
441
|
try {
|
442
|
-
if (
|
443
|
-
if (Object(
|
444
|
-
|
445
|
-
} else for (; !(
|
446
|
-
} catch (
|
447
|
-
|
442
|
+
if (i = (t = t.call(r)).next, 0 === l) {
|
443
|
+
if (Object(t) !== t) return;
|
444
|
+
f = !1;
|
445
|
+
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
446
|
+
} catch (r) {
|
447
|
+
o = !0, n = r;
|
448
448
|
} finally {
|
449
449
|
try {
|
450
|
-
if (!
|
450
|
+
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
451
451
|
} finally {
|
452
|
-
if (
|
452
|
+
if (o) throw n;
|
453
453
|
}
|
454
454
|
}
|
455
|
-
return
|
455
|
+
return a;
|
456
456
|
}
|
457
457
|
}
|
458
458
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
@@ -545,38 +545,38 @@ function _objectWithoutProperties(source, excluded) {
|
|
545
545
|
return target;
|
546
546
|
}
|
547
547
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
548
|
-
function _typeof(
|
548
|
+
function _typeof(o) {
|
549
549
|
"@babel/helpers - typeof";
|
550
550
|
|
551
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
552
|
-
return typeof
|
553
|
-
} : function (
|
554
|
-
return
|
555
|
-
}, _typeof(
|
551
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
552
|
+
return typeof o;
|
553
|
+
} : function (o) {
|
554
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
555
|
+
}, _typeof(o);
|
556
556
|
}
|
557
557
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
558
558
|
|
559
|
-
function
|
560
|
-
if (
|
561
|
-
var
|
562
|
-
if (
|
563
|
-
var
|
564
|
-
if (
|
559
|
+
function toPrimitive(t, r) {
|
560
|
+
if ("object" != _typeof(t) || !t) return t;
|
561
|
+
var e = t[Symbol.toPrimitive];
|
562
|
+
if (void 0 !== e) {
|
563
|
+
var i = e.call(t, r || "default");
|
564
|
+
if ("object" != _typeof(i)) return i;
|
565
565
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
566
566
|
}
|
567
|
-
return (
|
567
|
+
return ("string" === r ? String : Number)(t);
|
568
568
|
}
|
569
569
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
570
570
|
|
571
571
|
|
572
|
-
function
|
573
|
-
var
|
574
|
-
return _typeof(
|
572
|
+
function toPropertyKey(t) {
|
573
|
+
var i = toPrimitive(t, "string");
|
574
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
575
575
|
}
|
576
576
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
577
577
|
|
578
578
|
function _defineProperty(obj, key, value) {
|
579
|
-
key =
|
579
|
+
key = toPropertyKey(key);
|
580
580
|
if (key in obj) {
|
581
581
|
Object.defineProperty(obj, key, {
|
582
582
|
value: value,
|
@@ -693,7 +693,7 @@ function calcTextareaHeight(targetElement) {
|
|
693
693
|
height = Math.min(maxHeight, height);
|
694
694
|
}
|
695
695
|
result.height = "".concat(height, "px");
|
696
|
-
(_hiddenTextarea$paren = hiddenTextarea.parentNode) === null || _hiddenTextarea$paren === void 0
|
696
|
+
(_hiddenTextarea$paren = hiddenTextarea.parentNode) === null || _hiddenTextarea$paren === void 0 || _hiddenTextarea$paren.removeChild(hiddenTextarea);
|
697
697
|
hiddenTextarea = undefined;
|
698
698
|
return result;
|
699
699
|
}
|
@@ -706,8 +706,8 @@ var _excluded = ["class", "style"];
|
|
706
706
|
var _inputEmitEventsType;
|
707
707
|
|
708
708
|
|
709
|
-
function ownKeys(
|
710
|
-
function _objectSpread(
|
709
|
+
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; }
|
710
|
+
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; }
|
711
711
|
/*
|
712
712
|
* Tencent is pleased to support the open source community by making
|
713
713
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -798,13 +798,13 @@ function PastEventFunction(_value, _e) {
|
|
798
798
|
function CompositionEventFunction(evt) {
|
799
799
|
return evt;
|
800
800
|
}
|
801
|
-
var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmitEventsType, EVENTS.UPDATE, EventFunction),
|
801
|
+
var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_inputEmitEventsType, EVENTS.UPDATE, EventFunction), EVENTS.FOCUS, function (evt) {
|
802
802
|
return evt;
|
803
|
-
}),
|
803
|
+
}), EVENTS.BLUR, function (evt) {
|
804
804
|
return evt;
|
805
|
-
}),
|
805
|
+
}), EVENTS.CHANGE, EventFunction), EVENTS.CLEAR, function () {
|
806
806
|
return true;
|
807
|
-
}),
|
807
|
+
}), 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));
|
808
808
|
/* harmony default export */ const input = ((0,external_vue_namespaceObject.defineComponent)({
|
809
809
|
// eslint-disable-next-line vue/no-reserved-component-names
|
810
810
|
name: 'Input',
|
@@ -836,8 +836,7 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
|
|
836
836
|
value: props.modelValue
|
837
837
|
});
|
838
838
|
var inputCls = (0,external_vue_namespaceObject.computed)(function () {
|
839
|
-
|
840
|
-
return (0,external_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);
|
839
|
+
return (0,external_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);
|
841
840
|
});
|
842
841
|
var isOverflow = (0,external_vue_namespaceObject.ref)(false);
|
843
842
|
var textareaCalcStyle = (0,external_vue_namespaceObject.ref)({});
|
@@ -911,8 +910,7 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
|
|
911
910
|
}, "".concat(inputClsPrefix.value, "--clear-icon"), true), suffixCls);
|
912
911
|
});
|
913
912
|
var maxLengthCls = (0,external_vue_namespaceObject.computed)(function () {
|
914
|
-
|
915
|
-
return (0,external_shared_namespaceObject.classes)((_classes3 = {}, _defineProperty(_classes3, getCls('max-length'), true), _defineProperty(_classes3, 'is-over-limit', ceilMaxLength.value - modelValueLength.value < 0), _classes3));
|
913
|
+
return (0,external_shared_namespaceObject.classes)(_defineProperty(_defineProperty({}, getCls('max-length'), true), 'is-over-limit', ceilMaxLength.value - modelValueLength.value < 0));
|
916
914
|
});
|
917
915
|
var getValueLimits = function getValueLimits(val) {
|
918
916
|
if (typeof props.maxcharacter === 'number') {
|
@@ -983,7 +981,7 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
|
|
983
981
|
}, function (val) {
|
984
982
|
if (props.withValidate) {
|
985
983
|
var _formItem$validate;
|
986
|
-
formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0
|
984
|
+
formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0 || _formItem$validate.call(formItem, 'change');
|
987
985
|
}
|
988
986
|
innerInputValue.value = {
|
989
987
|
value: val
|
@@ -1002,7 +1000,7 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
|
|
1002
1000
|
// Hack: 修复autofocus属性失效问题 原生autofocus属性只在页面加载时生效
|
1003
1001
|
if (Object.prototype.hasOwnProperty.call(ctx.attrs, 'autofocus')) {
|
1004
1002
|
var _inputRef$value2, _inputRef$value2$focu;
|
1005
|
-
(_inputRef$value2 = inputRef.value) === null || _inputRef$value2 === void 0 || (_inputRef$value2$focu = _inputRef$value2.focus) === null || _inputRef$value2$focu === void 0
|
1003
|
+
(_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);
|
1006
1004
|
}
|
1007
1005
|
});
|
1008
1006
|
(0,external_vue_namespaceObject.onBeforeUnmount)(function () {
|
@@ -1043,7 +1041,7 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
|
|
1043
1041
|
ctx.emit(EVENTS.BLUR, e);
|
1044
1042
|
if (props.withValidate) {
|
1045
1043
|
var _formItem$validate2;
|
1046
|
-
formItem === null || formItem === void 0 || (_formItem$validate2 = formItem.validate) === null || _formItem$validate2 === void 0
|
1044
|
+
formItem === null || formItem === void 0 || (_formItem$validate2 = formItem.validate) === null || _formItem$validate2 === void 0 || _formItem$validate2.call(formItem, 'blur');
|
1047
1045
|
}
|
1048
1046
|
}
|
1049
1047
|
// 事件句柄生成器
|