@bsgoal/common 2.15.16 → 2.15.18
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.mjs +12 -3
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/bsgoal-base-dialog/demo.vue +253 -2
- package/src/components/bsgoal-base-dialog/index.vue +10 -3
- package/src/components/bsgoal-base-form/index.vue +2 -2
- package/src/directives/directiveBase.js +3 -1
package/dist/index.mjs
CHANGED
|
@@ -112,7 +112,9 @@ const wi = (o) => {
|
|
|
112
112
|
});
|
|
113
113
|
},
|
|
114
114
|
mounted(o) {
|
|
115
|
-
|
|
115
|
+
setTimeout(() => {
|
|
116
|
+
wi(o);
|
|
117
|
+
}, 100);
|
|
116
118
|
},
|
|
117
119
|
unmounted(o) {
|
|
118
120
|
window.removeEventListener("resize", wi(o));
|
|
@@ -4100,7 +4102,7 @@ const Ip = { class: "bsgoal-base-form" }, Np = { key: 1 }, Cp = Object.assign({
|
|
|
4100
4102
|
const T = {};
|
|
4101
4103
|
for (const G of Object.keys(C))
|
|
4102
4104
|
if (!G.startsWith("_")) {
|
|
4103
|
-
const te = C[G], ee = Number.
|
|
4105
|
+
const te = C[G], ee = Number.parseFloat(te);
|
|
4104
4106
|
T[G] = (ee || ["0", 0].includes(te)) && !/^0.+/i.test(`${te}`) ? ee : te;
|
|
4105
4107
|
}
|
|
4106
4108
|
return T;
|
|
@@ -6330,6 +6332,13 @@ const s1 = { class: "bsgoal-base-dialog" }, c1 = { class: "base_dialog" }, f1 =
|
|
|
6330
6332
|
footer: {
|
|
6331
6333
|
type: [Boolean],
|
|
6332
6334
|
default: !0
|
|
6335
|
+
},
|
|
6336
|
+
/**
|
|
6337
|
+
* 是否重新渲染整个视图
|
|
6338
|
+
*/
|
|
6339
|
+
isRefresh: {
|
|
6340
|
+
type: [Boolean],
|
|
6341
|
+
default: !0
|
|
6333
6342
|
}
|
|
6334
6343
|
},
|
|
6335
6344
|
emits: ["update:modelValue", "on-confirm", "on-show", "on-hide"],
|
|
@@ -6411,7 +6420,7 @@ const s1 = { class: "bsgoal-base-dialog" }, c1 = { class: "base_dialog" }, f1 =
|
|
|
6411
6420
|
}
|
|
6412
6421
|
])
|
|
6413
6422
|
}, [
|
|
6414
|
-
Ve(h.$slots, "default")
|
|
6423
|
+
p.value && o.isRefresh ? Ve(h.$slots, "default", { key: 0 }) : _e("", !0)
|
|
6415
6424
|
], 2)
|
|
6416
6425
|
]),
|
|
6417
6426
|
_: 3
|