bkui-vue 2.0.1-beta.50 → 2.0.1-beta.51

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.esm.js CHANGED
@@ -7306,14 +7306,14 @@ const Vk = {
7306
7306
  o.value = !1, we(Y);
7307
7307
  }
7308
7308
  function W(Y) {
7309
- return typeof Y == "number";
7309
+ return typeof Y == "number" && !Number.isNaN(Y);
7310
7310
  }
7311
7311
  function de(Y, ne, K = !0) {
7312
- const re = Number(ne) || 1, Ce = Number.isInteger(e.precision) ? e.precision : 0, Pe = Number(Y), Re = W(re) ? re : 1;
7313
- if (Number.isNaN(Pe))
7312
+ const re = Number(ne), Ce = W(re) ? re : 1, Pe = Number.isInteger(e.precision) ? e.precision : 0, Re = Number(Y);
7313
+ if (Number.isNaN(Re))
7314
7314
  return W(e.min) ? e.min : 0;
7315
- let ze = Pe + (K ? Re : -1 * Re);
7316
- return W(e.max) && (ze = Math.min(ze, e.max)), W(e.min) && (ze = Math.max(ze, e.min)), +ze.toFixed(Ce);
7315
+ let ze = Re + (K ? Ce : -1 * Ce);
7316
+ return W(e.max) && (ze = Math.min(ze, e.max)), W(e.min) && (ze = Math.max(ze, e.min)), +ze.toFixed(Pe);
7317
7317
  }
7318
7318
  function _e(Y) {
7319
7319
  if (e.disabled)
@@ -36803,7 +36803,7 @@ const bq = (e, t) => {
36803
36803
  }, $q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
36804
36804
  __proto__: null,
36805
36805
  $bkPopover: Ih
36806
- }, Symbol.toStringTag, { value: "Module" })), xq = "2.0.1-beta.50";
36806
+ }, Symbol.toStringTag, { value: "Module" })), xq = "2.0.1-beta.51";
36807
36807
  window.__bkui_vue_version__ = xq;
36808
36808
  export {
36809
36809
  Ih as $bkPopover,