bkui-vue 0.0.2-beta.54 → 0.0.2-beta.55

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
@@ -1338,7 +1338,7 @@ Go.exports;
1338
1338
  while (l);
1339
1339
  return g;
1340
1340
  }
1341
- function ot(a, l) {
1341
+ function ut(a, l) {
1342
1342
  return bd(Y9(a, l, Nn), a + "");
1343
1343
  }
1344
1344
  function tp(a) {
@@ -1505,7 +1505,7 @@ Go.exports;
1505
1505
  function Ms(a, l) {
1506
1506
  return tt(a) ? a : vd(a, l) ? [a] : e3(yt(a));
1507
1507
  }
1508
- var rp = ot;
1508
+ var rp = ut;
1509
1509
  function Is(a, l, g) {
1510
1510
  var M = a.length;
1511
1511
  return g = g === n ? M : g, !l && g >= M ? a : si(a, l, g);
@@ -1606,7 +1606,7 @@ Go.exports;
1606
1606
  };
1607
1607
  }
1608
1608
  function ka(a) {
1609
- return ot(function(l, g) {
1609
+ return ut(function(l, g) {
1610
1610
  var M = -1, D = g.length, _ = D > 1 ? g[D - 1] : n, V = D > 2 ? g[2] : n;
1611
1611
  for (_ = a.length > 3 && typeof _ == "function" ? (D--, _) : n, V && dn(g[0], g[1], V) && (_ = D < 3 ? n : _, D = 1), l = Nt(l); ++M < D; ) {
1612
1612
  var X = g[M];
@@ -1790,7 +1790,7 @@ Go.exports;
1790
1790
  }
1791
1791
  function ud(a) {
1792
1792
  return Ui(function(l) {
1793
- return l = jt(l, Fn($e())), ot(function(g) {
1793
+ return l = jt(l, Fn($e())), ut(function(g) {
1794
1794
  var M = this;
1795
1795
  return a(l, function(D) {
1796
1796
  return Hn(D, M, g);
@@ -2349,12 +2349,12 @@ Go.exports;
2349
2349
  l[M - 1] = arguments[M];
2350
2350
  return ps(tt(g) ? Mn(g) : [g], sn(l, 1));
2351
2351
  }
2352
- var _p = ot(function(a, l) {
2352
+ var _p = ut(function(a, l) {
2353
2353
  return _t(a) ? xr(a, sn(l, 1, _t, !0)) : [];
2354
- }), Qp = ot(function(a, l) {
2354
+ }), Qp = ut(function(a, l) {
2355
2355
  var g = ai(l);
2356
2356
  return _t(g) && (g = n), _t(a) ? xr(a, sn(l, 1, _t, !0), $e(g, 2)) : [];
2357
- }), Wp = ot(function(a, l) {
2357
+ }), Wp = ut(function(a, l) {
2358
2358
  var g = ai(l);
2359
2359
  return _t(g) && (g = n), _t(a) ? xr(a, sn(l, 1, _t, !0), n, g) : [];
2360
2360
  });
@@ -2423,13 +2423,13 @@ Go.exports;
2423
2423
  var l = a == null ? 0 : a.length;
2424
2424
  return l ? si(a, 0, -1) : [];
2425
2425
  }
2426
- var Xp = ot(function(a) {
2426
+ var Xp = ut(function(a) {
2427
2427
  var l = jt(a, rd);
2428
2428
  return l.length && l[0] === a[0] ? Uc(l) : [];
2429
- }), qp = ot(function(a) {
2429
+ }), qp = ut(function(a) {
2430
2430
  var l = ai(a), g = jt(a, rd);
2431
2431
  return l === ai(g) ? l = n : g.pop(), g.length && g[0] === a[0] ? Uc(g, $e(l, 2)) : [];
2432
- }), e5 = ot(function(a) {
2432
+ }), e5 = ut(function(a) {
2433
2433
  var l = ai(a), g = jt(a, rd);
2434
2434
  return l = typeof l == "function" ? l : n, l && g.pop(), g.length && g[0] === a[0] ? Uc(g, n, l) : [];
2435
2435
  });
@@ -2450,7 +2450,7 @@ Go.exports;
2450
2450
  function i5(a, l) {
2451
2451
  return a && a.length ? v9(a, at(l)) : n;
2452
2452
  }
2453
- var s5 = ot(r3);
2453
+ var s5 = ut(r3);
2454
2454
  function r3(a, l) {
2455
2455
  return a && a.length && l && l.length ? ed(a, l) : a;
2456
2456
  }
@@ -2537,12 +2537,12 @@ Go.exports;
2537
2537
  function M5(a, l) {
2538
2538
  return a && a.length ? to(a, $e(l, 3)) : [];
2539
2539
  }
2540
- var I5 = ot(function(a) {
2540
+ var I5 = ut(function(a) {
2541
2541
  return ws(sn(a, 1, _t, !0));
2542
- }), L5 = ot(function(a) {
2542
+ }), L5 = ut(function(a) {
2543
2543
  var l = ai(a);
2544
2544
  return _t(l) && (l = n), ws(sn(a, 1, _t, !0), $e(l, 2));
2545
- }), N5 = ot(function(a) {
2545
+ }), N5 = ut(function(a) {
2546
2546
  var l = ai(a);
2547
2547
  return l = typeof l == "function" ? l : n, ws(sn(a, 1, _t, !0), n, l);
2548
2548
  });
@@ -2574,24 +2574,24 @@ Go.exports;
2574
2574
  return Hn(l, n, M);
2575
2575
  });
2576
2576
  }
2577
- var k5 = ot(function(a, l) {
2577
+ var k5 = ut(function(a, l) {
2578
2578
  return _t(a) ? xr(a, l) : [];
2579
- }), D5 = ot(function(a) {
2579
+ }), D5 = ut(function(a) {
2580
2580
  return ad(vs(a, _t));
2581
- }), j5 = ot(function(a) {
2581
+ }), j5 = ut(function(a) {
2582
2582
  var l = ai(a);
2583
2583
  return _t(l) && (l = n), ad(vs(a, _t), $e(l, 2));
2584
- }), O5 = ot(function(a) {
2584
+ }), O5 = ut(function(a) {
2585
2585
  var l = ai(a);
2586
2586
  return l = typeof l == "function" ? l : n, ad(vs(a, _t), n, l);
2587
- }), E5 = ot(wd);
2587
+ }), E5 = ut(wd);
2588
2588
  function A5(a, l) {
2589
2589
  return N9(a || [], l || [], Tr);
2590
2590
  }
2591
2591
  function z5(a, l) {
2592
2592
  return N9(a || [], l || [], Dr);
2593
2593
  }
2594
- var P5 = ot(function(a) {
2594
+ var P5 = ut(function(a) {
2595
2595
  var l = a.length, g = l > 1 ? a[l - 1] : n;
2596
2596
  return g = typeof g == "function" ? (a.pop(), g) : n, l3(a, g);
2597
2597
  });
@@ -2692,7 +2692,7 @@ Go.exports;
2692
2692
  var D = a.length;
2693
2693
  return g < 0 && (g = Kt(D + g, 0)), po(a) ? g <= D && a.indexOf(l, g) > -1 : !!D && wa(a, l, g) > -1;
2694
2694
  }
2695
- var ny = ot(function(a, l, g) {
2695
+ var ny = ut(function(a, l, g) {
2696
2696
  var M = -1, D = typeof l == "function", _ = In(a) ? fe(a.length) : [];
2697
2697
  return Cs(a, function(V) {
2698
2698
  _[++M] = D ? Hn(l, V, g) : Sr(V, l, g);
@@ -2749,7 +2749,7 @@ Go.exports;
2749
2749
  var M = tt(a) ? Ac : ap;
2750
2750
  return g && dn(a, l, g) && (l = n), M(a, $e(l, 3));
2751
2751
  }
2752
- var gy = ot(function(a, l) {
2752
+ var gy = ut(function(a, l) {
2753
2753
  if (a == null)
2754
2754
  return [];
2755
2755
  var g = l.length;
@@ -2776,14 +2776,14 @@ Go.exports;
2776
2776
  return --a > 0 && (g = l.apply(this, arguments)), a <= 1 && (l = n), g;
2777
2777
  };
2778
2778
  }
2779
- var Md = ot(function(a, l, g) {
2779
+ var Md = ut(function(a, l, g) {
2780
2780
  var M = x;
2781
2781
  if (g.length) {
2782
2782
  var D = ys(g, ja(Md));
2783
2783
  M |= T;
2784
2784
  }
2785
2785
  return Yi(a, M, l, g, D);
2786
- }), h3 = ot(function(a, l, g) {
2786
+ }), h3 = ut(function(a, l, g) {
2787
2787
  var M = x | w;
2788
2788
  if (g.length) {
2789
2789
  var D = ys(g, ja(h3));
@@ -2848,9 +2848,9 @@ Go.exports;
2848
2848
  }
2849
2849
  return Vn.cancel = Gn, Vn.flush = fn, Vn;
2850
2850
  }
2851
- var vy = ot(function(a, l) {
2851
+ var vy = ut(function(a, l) {
2852
2852
  return a9(a, 1, l);
2853
- }), py = ot(function(a, l, g) {
2853
+ }), py = ut(function(a, l, g) {
2854
2854
  return a9(a, ri(l) || 0, g);
2855
2855
  });
2856
2856
  function yy(a) {
@@ -2893,15 +2893,15 @@ Go.exports;
2893
2893
  var Cy = rp(function(a, l) {
2894
2894
  l = l.length == 1 && tt(l[0]) ? jt(l[0], Fn($e())) : jt(sn(l, 1), Fn($e()));
2895
2895
  var g = l.length;
2896
- return ot(function(M) {
2896
+ return ut(function(M) {
2897
2897
  for (var D = -1, _ = ln(M.length, g); ++D < _; )
2898
2898
  M[D] = l[D].call(this, M[D]);
2899
2899
  return Hn(a, this, M);
2900
2900
  });
2901
- }), Id = ot(function(a, l) {
2901
+ }), Id = ut(function(a, l) {
2902
2902
  var g = ys(l, ja(Id));
2903
2903
  return Yi(a, T, n, l, g);
2904
- }), p3 = ot(function(a, l) {
2904
+ }), p3 = ut(function(a, l) {
2905
2905
  var g = ys(l, ja(p3));
2906
2906
  return Yi(a, N, n, l, g);
2907
2907
  }), wy = Ui(function(a, l) {
@@ -2910,12 +2910,12 @@ Go.exports;
2910
2910
  function My(a, l) {
2911
2911
  if (typeof a != "function")
2912
2912
  throw new ti(o);
2913
- return l = l === n ? l : at(l), ot(a, l);
2913
+ return l = l === n ? l : at(l), ut(a, l);
2914
2914
  }
2915
2915
  function Iy(a, l) {
2916
2916
  if (typeof a != "function")
2917
2917
  throw new ti(o);
2918
- return l = l == null ? 0 : Kt(at(l), 0), ot(function(g) {
2918
+ return l = l == null ? 0 : Kt(at(l), 0), ut(function(g) {
2919
2919
  var M = g[l], D = Is(g, 0, l);
2920
2920
  return M && ps(D, M), Hn(a, this, D);
2921
2921
  });
@@ -3156,7 +3156,7 @@ Go.exports;
3156
3156
  var g = Sa(a);
3157
3157
  return l == null ? g : i9(g, l);
3158
3158
  }
3159
- var rb = ot(function(a, l) {
3159
+ var rb = ut(function(a, l) {
3160
3160
  a = Nt(a);
3161
3161
  var g = -1, M = l.length, D = M > 2 ? l[2] : n;
3162
3162
  for (D && dn(l[0], l[1], D) && (M = 1); ++g < M; )
@@ -3165,7 +3165,7 @@ Go.exports;
3165
3165
  (we === n || vi(we, Na[be]) && !Ct.call(a, be)) && (a[be] = _[be]);
3166
3166
  }
3167
3167
  return a;
3168
- }), lb = ot(function(a) {
3168
+ }), lb = ut(function(a) {
3169
3169
  return a.push(n, H9), Hn(T3, n, a);
3170
3170
  });
3171
3171
  function ob(a, l) {
@@ -3206,7 +3206,7 @@ Go.exports;
3206
3206
  l != null && typeof l.toString != "function" && (l = _l.call(l)), a[l] = g;
3207
3207
  }, kd(Nn)), yb = R9(function(a, l, g) {
3208
3208
  l != null && typeof l.toString != "function" && (l = _l.call(l)), Ct.call(a, l) ? a[l].push(g) : a[l] = [g];
3209
- }, $e), bb = ot(Sr);
3209
+ }, $e), bb = ut(Sr);
3210
3210
  function tn(a) {
3211
3211
  return In(a) ? t9(a) : Xc(a);
3212
3212
  }
@@ -3494,7 +3494,7 @@ function print() { __p += __j.call(arguments, '') }
3494
3494
  function O3(a, l, g) {
3495
3495
  return a = yt(a), l = g ? n : l, l === n ? j2(a) ? _2(a) : M2(a) : a.match(l) || [];
3496
3496
  }
3497
- var E3 = ot(function(a, l) {
3497
+ var E3 = ut(function(a, l) {
3498
3498
  try {
3499
3499
  return Hn(a, n, l);
3500
3500
  } catch (g) {
@@ -3511,7 +3511,7 @@ function print() { __p += __j.call(arguments, '') }
3511
3511
  if (typeof M[1] != "function")
3512
3512
  throw new ti(o);
3513
3513
  return [g(M[0]), M[1]];
3514
- }) : [], ot(function(M) {
3514
+ }) : [], ut(function(M) {
3515
3515
  for (var D = -1; ++D < l; ) {
3516
3516
  var _ = a[D];
3517
3517
  if (Hn(_[0], this, M))
@@ -3543,11 +3543,11 @@ function print() { __p += __j.call(arguments, '') }
3543
3543
  function vC(a, l) {
3544
3544
  return m9(a, ii(l, m));
3545
3545
  }
3546
- var pC = ot(function(a, l) {
3546
+ var pC = ut(function(a, l) {
3547
3547
  return function(g) {
3548
3548
  return Sr(g, a, l);
3549
3549
  };
3550
- }), yC = ot(function(a, l) {
3550
+ }), yC = ut(function(a, l) {
3551
3551
  return function(g) {
3552
3552
  return Sr(a, g, l);
3553
3553
  };
@@ -3574,7 +3574,7 @@ function print() { __p += __j.call(arguments, '') }
3574
3574
  function Od() {
3575
3575
  }
3576
3576
  function CC(a) {
3577
- return a = at(a), ot(function(l) {
3577
+ return a = at(a), ut(function(l) {
3578
3578
  return v9(l, a);
3579
3579
  });
3580
3580
  }
@@ -3696,7 +3696,7 @@ function print() { __p += __j.call(arguments, '') }
3696
3696
  return this.filter(a).head();
3697
3697
  }, ft.prototype.findLast = function(a) {
3698
3698
  return this.reverse().find(a);
3699
- }, ft.prototype.invokeMap = ot(function(a, l) {
3699
+ }, ft.prototype.invokeMap = ut(function(a, l) {
3700
3700
  return typeof a == "function" ? new ft(this) : this.map(function(g) {
3701
3701
  return Sr(g, a, l);
3702
3702
  });
@@ -10416,7 +10416,7 @@ const CL = {
10416
10416
  resize: p.bool.def(!0),
10417
10417
  autosize: p.oneOfType([Boolean, Object]).def(!1)
10418
10418
  };
10419
- let ut = /* @__PURE__ */ function(e) {
10419
+ let ot = /* @__PURE__ */ function(e) {
10420
10420
  return e.UPDATE = "update:modelValue", e.FOCUS = "focus", e.BLUR = "blur", e.CHANGE = "change", e.CLEAR = "clear", e.INPUT = "input", e.KEYPRESS = "keypress", e.KEYDOWN = "keydown", e.KEYUP = "keyup", e.ENTER = "enter", e.PASTE = "paste", e.COMPOSITIONSTART = "compositionstart", e.COMPOSITIONUPDATE = "compositionupdate", e.COMPOSITIONEND = "compositionend", e;
10421
10421
  }({});
10422
10422
  function Xs(e, t) {
@@ -10429,20 +10429,20 @@ function Qd(e) {
10429
10429
  return e;
10430
10430
  }
10431
10431
  const ML = {
10432
- [ut.UPDATE]: Xs,
10433
- [ut.FOCUS]: (e) => e,
10434
- [ut.BLUR]: (e) => e,
10435
- [ut.CHANGE]: Xs,
10436
- [ut.CLEAR]: () => !0,
10437
- [ut.INPUT]: Xs,
10438
- [ut.KEYPRESS]: Xs,
10439
- [ut.KEYDOWN]: Xs,
10440
- [ut.KEYUP]: Xs,
10441
- [ut.ENTER]: Xs,
10442
- [ut.PASTE]: wL,
10443
- [ut.COMPOSITIONSTART]: Qd,
10444
- [ut.COMPOSITIONUPDATE]: Qd,
10445
- [ut.COMPOSITIONEND]: Qd
10432
+ [ot.UPDATE]: Xs,
10433
+ [ot.FOCUS]: (e) => e,
10434
+ [ot.BLUR]: (e) => e,
10435
+ [ot.CHANGE]: Xs,
10436
+ [ot.CLEAR]: () => !0,
10437
+ [ot.INPUT]: Xs,
10438
+ [ot.KEYPRESS]: Xs,
10439
+ [ot.KEYDOWN]: Xs,
10440
+ [ot.KEYUP]: Xs,
10441
+ [ot.ENTER]: Xs,
10442
+ [ot.PASTE]: wL,
10443
+ [ot.COMPOSITIONSTART]: Qd,
10444
+ [ot.COMPOSITIONUPDATE]: Qd,
10445
+ [ot.COMPOSITIONEND]: Qd
10446
10446
  }, IL = /* @__PURE__ */ ye({
10447
10447
  // eslint-disable-next-line vue/no-reserved-component-names
10448
10448
  name: "Input",
@@ -10561,40 +10561,40 @@ const ML = {
10561
10561
  if (e.disabled)
10562
10562
  return;
10563
10563
  const Ce = J.value ? e.min : "";
10564
- t.emit(ut.UPDATE, Ce, null), t.emit(ut.CHANGE, Ce, null), t.emit(ut.CLEAR);
10564
+ t.emit(ot.UPDATE, Ce, null), t.emit(ot.CHANGE, Ce, null), t.emit(ot.CLEAR);
10565
10565
  }
10566
10566
  function Z(Ce) {
10567
- r.value = !0, t.emit(ut.FOCUS, Ce);
10567
+ r.value = !0, t.emit(ot.FOCUS, Ce);
10568
10568
  }
10569
10569
  function te(Ce) {
10570
10570
  var xe;
10571
- r.value = !1, C.value = le(), t.emit(ut.BLUR, Ce), e.withValidate && ((xe = i == null ? void 0 : i.validate) == null || xe.call(i, "blur"));
10571
+ r.value = !1, C.value = le(), t.emit(ot.BLUR, Ce), e.withValidate && ((xe = i == null ? void 0 : i.validate) == null || xe.call(i, "blur"));
10572
10572
  }
10573
10573
  function Y(Ce) {
10574
10574
  return (xe) => {
10575
10575
  if (xe.stopPropagation(), de.value && !e.overMaxLengthLimit) {
10576
10576
  const _e = A(xe.target.value);
10577
- if (_e.len >= k.value && (Ce === ut.KEYDOWN || Ce === ut.INPUT) && !o.value) {
10577
+ if (_e.len >= k.value && (Ce === ot.KEYDOWN || Ce === ot.INPUT) && !o.value) {
10578
10578
  const ce = _e.pos > 0 ? xe.target.value.slice(0, _e.pos) : xe.target.value;
10579
10579
  y.value = {
10580
10580
  value: ce
10581
- }, t.emit(ut.UPDATE, ce, xe), t.emit(ut.INPUT, ce, xe);
10581
+ }, t.emit(ot.UPDATE, ce, xe), t.emit(ot.INPUT, ce, xe);
10582
10582
  return;
10583
10583
  }
10584
10584
  }
10585
- if (!(o.value && [ut.INPUT, ut.CHANGE].some((_e) => Ce === _e))) {
10586
- if (Ce === ut.INPUT)
10587
- t.emit(ut.UPDATE, xe.target.value, xe);
10588
- else if (Ce === ut.CHANGE && J.value && xe.target.value !== "") {
10585
+ if (!(o.value && [ot.INPUT, ot.CHANGE, ot.KEYDOWN].some((_e) => Ce === _e))) {
10586
+ if (Ce === ot.INPUT)
10587
+ t.emit(ot.UPDATE, xe.target.value, xe);
10588
+ else if (Ce === ot.CHANGE && J.value && xe.target.value !== "") {
10589
10589
  const _e = z(xe.target.value, 0);
10590
- t.emit(ut.UPDATE, _e, xe), t.emit(Ce, _e, xe);
10590
+ t.emit(ot.UPDATE, _e, xe), t.emit(Ce, _e, xe);
10591
10591
  return;
10592
10592
  }
10593
10593
  t.emit(Ce, xe.target.value, xe);
10594
10594
  }
10595
10595
  };
10596
10596
  }
10597
- const [q, B, ee, ue, me, ie] = [ut.KEYUP, ut.KEYDOWN, ut.KEYPRESS, ut.PASTE, ut.CHANGE, ut.INPUT].map(Y);
10597
+ const [q, B, ee, ue, me, ie] = [ot.KEYUP, ot.KEYDOWN, ot.KEYPRESS, ot.PASTE, ot.CHANGE, ot.INPUT].map(Y);
10598
10598
  function K() {
10599
10599
  o.value = !0;
10600
10600
  }
@@ -10610,13 +10610,13 @@ const ML = {
10610
10610
  if (e.disabled)
10611
10611
  return;
10612
10612
  const xe = z(e.modelValue, e.step);
10613
- t.emit(ut.UPDATE, xe, Ce), t.emit(ut.CHANGE, xe, Ce);
10613
+ t.emit(ot.UPDATE, xe, Ce), t.emit(ot.CHANGE, xe, Ce);
10614
10614
  }
10615
10615
  function oe(Ce) {
10616
10616
  if (e.disabled)
10617
10617
  return;
10618
10618
  const xe = z(e.modelValue, e.step, !1);
10619
- t.emit(ut.UPDATE, xe, Ce), t.emit(ut.CHANGE, xe, Ce);
10619
+ t.emit(ot.UPDATE, xe, Ce), t.emit(ot.CHANGE, xe, Ce);
10620
10620
  }
10621
10621
  function G(Ce) {
10622
10622
  return `${d.value}--${Ce}`;