bkui-vue 0.0.1-beta.456 → 0.0.1-beta.457
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 +16 -16
- package/dist/index.esm.js +14 -7
- package/dist/index.umd.js +20 -20
- package/lib/form/index.d.ts +2 -1
- package/lib/form/index.js +1 -1
- package/lib/modal/index.js +1 -1
- package/lib/plugin-popover/index.js +1 -1
- package/lib/popover/index.js +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -11159,10 +11159,10 @@ var Component$u = defineComponent({
|
|
11159
11159
|
},
|
11160
11160
|
computed: {
|
11161
11161
|
dialogWidth() {
|
11162
|
-
return /^\d
|
11162
|
+
return /^\d+\.?\d*$/.test(`${this.width}`) ? `${this.width}px` : this.width;
|
11163
11163
|
},
|
11164
11164
|
dialogHeight() {
|
11165
|
-
return /^\d
|
11165
|
+
return /^\d+\.?\d*$/.test(`${this.height}`) ? `${this.height}px` : this.height;
|
11166
11166
|
},
|
11167
11167
|
compStyle() {
|
11168
11168
|
return {
|
@@ -13627,13 +13627,20 @@ var usePopperId = (props2, prefix = "#") => {
|
|
13627
13627
|
}
|
13628
13628
|
};
|
13629
13629
|
const resolveCommonBoundary = () => {
|
13630
|
-
if (!/^body$/i.test(props2.boundary)
|
13631
|
-
if (
|
13632
|
-
|
13633
|
-
|
13630
|
+
if (!/^body$/i.test(props2.boundary)) {
|
13631
|
+
if (typeof props2.boundary === "string") {
|
13632
|
+
if (!isAvailableId(props2.boundary)) {
|
13633
|
+
console.error("props.boundary is not available selector");
|
13634
|
+
resolvedBoundary = "body";
|
13635
|
+
return;
|
13636
|
+
}
|
13637
|
+
resolvedBoundary = props2.boundary;
|
13638
|
+
return;
|
13639
|
+
}
|
13640
|
+
if (isElement(props2.boundary)) {
|
13641
|
+
resolvedBoundary = props2.boundary;
|
13634
13642
|
return;
|
13635
13643
|
}
|
13636
|
-
resolvedBoundary = props2.boundary;
|
13637
13644
|
}
|
13638
13645
|
};
|
13639
13646
|
resolveBoundary(resolveParentBoundary);
|