bkui-vue 0.0.1-beta.108 → 0.0.1-beta.110
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 +7 -7
- package/dist/index.esm.js +10 -17
- package/dist/index.umd.js +7 -7
- package/dist/style.css +1 -1
- package/lib/date-picker/date-picker.css +2 -2
- package/lib/date-picker/date-picker.d.ts +1 -1
- package/lib/date-picker/date-picker.less +4 -2
- package/lib/date-picker/date-picker.variable.css +2 -2
- package/lib/date-picker/index.d.ts +3 -3
- package/lib/date-picker/index.js +1 -1
- package/lib/form/index.js +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -23108,11 +23108,8 @@ var Component$7 = defineComponent({
|
|
23108
23108
|
state.showClose = true;
|
23109
23109
|
}
|
23110
23110
|
};
|
23111
|
-
const handleInputMouseleave = (
|
23112
|
-
|
23113
|
-
if ((_a = e.toElement) == null ? void 0 : _a.classList.contains("clear-action")) {
|
23114
|
-
return;
|
23115
|
-
}
|
23111
|
+
const handleInputMouseleave = (_e) => {
|
23112
|
+
console.log("handleInputMouseleave");
|
23116
23113
|
state.showClose = false;
|
23117
23114
|
};
|
23118
23115
|
const emitChange = (type) => {
|
@@ -23230,7 +23227,6 @@ var Component$7 = defineComponent({
|
|
23230
23227
|
const onPickSuccess = () => {
|
23231
23228
|
var _a;
|
23232
23229
|
state.visible = false;
|
23233
|
-
console.error("onPickSuccess");
|
23234
23230
|
nextTick(() => {
|
23235
23231
|
emit("pick-success");
|
23236
23232
|
});
|
@@ -23305,9 +23301,7 @@ var Component$7 = defineComponent({
|
|
23305
23301
|
var _a, _b, _c;
|
23306
23302
|
const defaultTrigger = createVNode("div", null, [createVNode("span", {
|
23307
23303
|
"class": ["icon-wrapper", this.disabled ? "disabled" : ""],
|
23308
|
-
"onClick": this.handleIconClick
|
23309
|
-
"onMouseenter": this.handleInputMouseenter,
|
23310
|
-
"onMouseleave": this.handleInputMouseleave
|
23304
|
+
"onClick": this.handleIconClick
|
23311
23305
|
}, [this.type === "time" || this.type === "timerange" ? createVNode("svg", {
|
23312
23306
|
"class": "picker-icon",
|
23313
23307
|
"x": "0px",
|
@@ -23364,13 +23358,11 @@ var Component$7 = defineComponent({
|
|
23364
23358
|
"onFocus": this.handleFocus,
|
23365
23359
|
"onClick": this.handleFocus,
|
23366
23360
|
"onBlur": this.handleBlur,
|
23367
|
-
"onMouseenter": this.handleInputMouseenter,
|
23368
|
-
"onMouseleave": this.handleInputMouseleave,
|
23369
23361
|
"onKeydown": this.handleKeydown,
|
23370
23362
|
"onChange": this.handleInputChange
|
23371
|
-
}, null), this.clearable && this.showClose ? createVNode(
|
23372
|
-
"
|
23373
|
-
"
|
23363
|
+
}, null), this.clearable && this.showClose ? createVNode(close$1, {
|
23364
|
+
"onClick": this.handleClear,
|
23365
|
+
"class": "clear-action"
|
23374
23366
|
}, null) : ""]);
|
23375
23367
|
const shortcutsSlot = this.hasShortcuts ? {
|
23376
23368
|
shortcuts: () => {
|
@@ -23382,7 +23374,9 @@ var Component$7 = defineComponent({
|
|
23382
23374
|
"class": ["bk-date-picker", this.type === "datetimerange" ? "long" : "", this.longWidthCls]
|
23383
23375
|
}, [createVNode("div", {
|
23384
23376
|
"ref": "triggerRef",
|
23385
|
-
"class": "bk-date-picker-rel"
|
23377
|
+
"class": "bk-date-picker-rel",
|
23378
|
+
"onMouseenter": this.handleInputMouseenter,
|
23379
|
+
"onMouseleave": this.handleInputMouseleave
|
23386
23380
|
}, [(_c = (_b = (_a = this.$slots).trigger) == null ? void 0 : _b.call(_a)) != null ? _c : defaultTrigger]), createVNode(Teleport, {
|
23387
23381
|
"to": "body",
|
23388
23382
|
"disabled": !this.appendToBody
|
@@ -25134,8 +25128,7 @@ var FormItem = defineComponent({
|
|
25134
25128
|
if (data2 === false) {
|
25135
25129
|
return Promise.reject(rule.message);
|
25136
25130
|
}
|
25137
|
-
|
25138
|
-
}, () => {
|
25131
|
+
}).then(() => doValidate(), () => {
|
25139
25132
|
state.isError = true;
|
25140
25133
|
state.errorMessage = rule.message;
|
25141
25134
|
return Promise.reject(rule.message);
|