bkui-vue 0.0.1-beta.52 → 0.0.1-beta.53
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 +1 -1
- package/dist/index.esm.js +6 -5
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -0
- package/lib/directives/index.js +1 -1
- package/lib/directives/tooltips.d.ts +1 -0
- package/package.json +3 -1
package/dist/index.esm.js
CHANGED
@@ -109,7 +109,7 @@ var start = "start";
|
|
109
109
|
var end = "end";
|
110
110
|
var clippingParents = "clippingParents";
|
111
111
|
var viewport = "viewport";
|
112
|
-
var popper = "popper";
|
112
|
+
var popper$1 = "popper";
|
113
113
|
var reference = "reference";
|
114
114
|
var variationPlacements = /* @__PURE__ */ basePlacements.reduce(function(acc, placement) {
|
115
115
|
return acc.concat([placement + "-" + start, placement + "-" + end]);
|
@@ -789,9 +789,9 @@ function detectOverflow(state, options) {
|
|
789
789
|
if (options === void 0) {
|
790
790
|
options = {};
|
791
791
|
}
|
792
|
-
var _options = options, _options$placement = _options.placement, placement = _options$placement === void 0 ? state.placement : _options$placement, _options$boundary = _options.boundary, boundary = _options$boundary === void 0 ? clippingParents : _options$boundary, _options$rootBoundary = _options.rootBoundary, rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary, _options$elementConte = _options.elementContext, elementContext = _options$elementConte === void 0 ? popper : _options$elementConte, _options$altBoundary = _options.altBoundary, altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary, _options$padding = _options.padding, padding = _options$padding === void 0 ? 0 : _options$padding;
|
792
|
+
var _options = options, _options$placement = _options.placement, placement = _options$placement === void 0 ? state.placement : _options$placement, _options$boundary = _options.boundary, boundary = _options$boundary === void 0 ? clippingParents : _options$boundary, _options$rootBoundary = _options.rootBoundary, rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary, _options$elementConte = _options.elementContext, elementContext = _options$elementConte === void 0 ? popper$1 : _options$elementConte, _options$altBoundary = _options.altBoundary, altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary, _options$padding = _options.padding, padding = _options$padding === void 0 ? 0 : _options$padding;
|
793
793
|
var paddingObject = mergePaddingObject(typeof padding !== "number" ? padding : expandToHashMap(padding, basePlacements));
|
794
|
-
var altContext = elementContext === popper ? reference : popper;
|
794
|
+
var altContext = elementContext === popper$1 ? reference : popper$1;
|
795
795
|
var popperRect = state.rects.popper;
|
796
796
|
var element = state.elements[altBoundary ? altContext : elementContext];
|
797
797
|
var clippingClientRect = getClippingRect(isElement$2(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);
|
@@ -803,7 +803,7 @@ function detectOverflow(state, options) {
|
|
803
803
|
placement
|
804
804
|
});
|
805
805
|
var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets2));
|
806
|
-
var elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect;
|
806
|
+
var elementClientRect = elementContext === popper$1 ? popperClientRect : referenceClientRect;
|
807
807
|
var overflowOffsets = {
|
808
808
|
top: clippingClientRect.top - elementClientRect.top + paddingObject.top,
|
809
809
|
bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,
|
@@ -811,7 +811,7 @@ function detectOverflow(state, options) {
|
|
811
811
|
right: elementClientRect.right - clippingClientRect.right + paddingObject.right
|
812
812
|
};
|
813
813
|
var offsetData = state.modifiersData.offset;
|
814
|
-
if (elementContext === popper && offsetData) {
|
814
|
+
if (elementContext === popper$1 && offsetData) {
|
815
815
|
var offset2 = offsetData[placement];
|
816
816
|
Object.keys(overflowOffsets).forEach(function(key) {
|
817
817
|
var multiply = [right, bottom].indexOf(key) >= 0 ? 1 : -1;
|
@@ -10972,6 +10972,7 @@ const ClickOutside = {
|
|
10972
10972
|
nodeList.delete(el);
|
10973
10973
|
}
|
10974
10974
|
};
|
10975
|
+
var popper = "";
|
10975
10976
|
const tooltips = {
|
10976
10977
|
mounted(el, binding) {
|
10977
10978
|
const opts = initOptions();
|