bkui-vue 2.0.2-beta.11 → 2.0.2-beta.13
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/cli.css +1 -0
- package/dist/index.cjs.js +159 -133
- package/dist/index.esm.js +23773 -18863
- package/dist/index.umd.js +164 -138
- package/dist/style.variable.css +1 -1
- package/lib/cascader/index.js +10 -12
- package/lib/checkbox/index.js +1 -1
- package/lib/color-picker/index.js +1 -4
- package/lib/date-picker/index.js +1 -4
- package/lib/directives/index.js +1 -4
- package/lib/form/index.js +1 -4
- package/lib/image/index.js +1 -4
- package/lib/index.js +1 -1
- package/lib/input/index.d.ts +19 -0
- package/lib/input/index.js +12 -9
- package/lib/input/input.d.ts +15 -1
- package/lib/message/index.js +1 -1
- package/lib/pop-confirm/index.d.ts +584 -0
- package/lib/pop-confirm/index.js +7 -3
- package/lib/pop-confirm/pop-confirm.d.ts +292 -0
- package/lib/pop-confirm/props.d.ts +146 -0
- package/lib/popover/index.js +1 -4
- package/lib/search-select/index.js +1 -4
- package/lib/select/index.d.ts +19 -0
- package/lib/select/index.js +9 -5
- package/lib/select/select.d.ts +10 -0
- package/lib/tab/index.js +1 -4
- package/lib/table/index.js +1 -4
- package/lib/tag-input/index.js +1 -4
- package/lib/tree/index.js +17335 -15
- package/lib/tree/tree.css +28 -0
- package/lib/tree/tree.less +33 -2
- package/lib/tree/tree.variable.css +28 -0
- package/package.json +1 -1
- package/dist/style.css +0 -1
package/lib/tag-input/index.js
CHANGED
@@ -1363,9 +1363,6 @@ var tooltips = {
|
|
1363
1363
|
hide(el);
|
1364
1364
|
}, 100);
|
1365
1365
|
});
|
1366
|
-
el.addEventListener('click', function () {
|
1367
|
-
hide(el);
|
1368
|
-
});
|
1369
1366
|
popper.addEventListener('mouseleave', function () {
|
1370
1367
|
clearTimeout(delayTimeout);
|
1371
1368
|
hideTimeout = setTimeout(function () {
|
@@ -1379,7 +1376,7 @@ var tooltips = {
|
|
1379
1376
|
show(el);
|
1380
1377
|
clearTimeout(delayTimeout);
|
1381
1378
|
}, opts.delay);
|
1382
|
-
} else if (popper.hasAttribute('data-show')) {
|
1379
|
+
} else if (!el.contains(event.target) && popper.hasAttribute('data-show')) {
|
1383
1380
|
hide(el);
|
1384
1381
|
}
|
1385
1382
|
});
|