bitboss-ui 2.1.28 → 2.1.30

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.
Files changed (179) hide show
  1. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +1 -3
  2. package/dist/index106.js +7 -7
  3. package/dist/index111.js +1 -1
  4. package/dist/index113.js +1 -1
  5. package/dist/index121.js +10 -10
  6. package/dist/index129.js +1 -1
  7. package/dist/index13.js +1 -1
  8. package/dist/index131.js +4 -4
  9. package/dist/index133.js +1 -1
  10. package/dist/index139.js +2 -2
  11. package/dist/index15.js +8 -8
  12. package/dist/index17.js +3 -3
  13. package/dist/index19.js +8 -8
  14. package/dist/index209.js +13 -5
  15. package/dist/index21.js +16 -16
  16. package/dist/index210.js +5 -5
  17. package/dist/index211.js +4 -4
  18. package/dist/index212.js +5 -5
  19. package/dist/index213.js +4 -4
  20. package/dist/index214.js +5 -5
  21. package/dist/index215.js +5 -5
  22. package/dist/index216.js +2 -3
  23. package/dist/index217.js +2 -2
  24. package/dist/index218.js +2 -8
  25. package/dist/index219.js +11 -250
  26. package/dist/index220.js +18 -50
  27. package/dist/index221.js +63 -38
  28. package/dist/index223.js +13 -60
  29. package/dist/index224.js +116 -12
  30. package/dist/index226.js +34 -2
  31. package/dist/index227.js +4 -2
  32. package/dist/index228.js +197 -7
  33. package/dist/index23.js +15 -15
  34. package/dist/index230.js +2 -4
  35. package/dist/index231.js +4 -11
  36. package/dist/index232.js +2 -20
  37. package/dist/index233.js +12 -196
  38. package/dist/index234.js +5 -0
  39. package/dist/index235.js +17 -68
  40. package/dist/index236.js +14 -0
  41. package/dist/index237.js +51 -13
  42. package/dist/index238.js +15 -117
  43. package/dist/index239.js +14 -0
  44. package/dist/index240.js +17 -34
  45. package/dist/index241.js +29 -2
  46. package/dist/index242.js +16 -2
  47. package/dist/index243.js +6 -4
  48. package/dist/index244.js +101 -81
  49. package/dist/index246.js +99 -28
  50. package/dist/index248.js +228 -50
  51. package/dist/index249.js +5 -14
  52. package/dist/index25.js +3 -3
  53. package/dist/index250.js +2 -12
  54. package/dist/index251.js +5 -16
  55. package/dist/index252.js +5 -106
  56. package/dist/index253.js +10 -0
  57. package/dist/index254.js +245 -95
  58. package/dist/index255.js +54 -0
  59. package/dist/index256.js +44 -2
  60. package/dist/index257.js +4 -4
  61. package/dist/index258.js +59 -17
  62. package/dist/index259.js +86 -12
  63. package/dist/index261.js +180 -226
  64. package/dist/index262.js +2 -13
  65. package/dist/index263.js +7 -3
  66. package/dist/index264.js +6 -182
  67. package/dist/index265.js +3 -3
  68. package/dist/index266.js +6 -10
  69. package/dist/index267.js +16 -3
  70. package/dist/index268.js +9 -9
  71. package/dist/index269.js +23 -9
  72. package/dist/index27.js +1 -1
  73. package/dist/index270.js +10 -23
  74. package/dist/index271.js +3 -6
  75. package/dist/index272.js +3 -16
  76. package/dist/index273.js +1 -1
  77. package/dist/index275.js +9 -2
  78. package/dist/index276.js +5 -67
  79. package/dist/index277.js +67 -5
  80. package/dist/index278.js +2 -8
  81. package/dist/index279.js +5 -5
  82. package/dist/index280.js +7 -279
  83. package/dist/index281.js +7 -2
  84. package/dist/index282.js +10 -15
  85. package/dist/index283.js +280 -2
  86. package/dist/index284.js +2 -16
  87. package/dist/index285.js +125 -2
  88. package/dist/index286.js +2 -19
  89. package/dist/index287.js +15 -2
  90. package/dist/index288.js +2 -15
  91. package/dist/index289.js +16 -2
  92. package/dist/index29.js +87 -84
  93. package/dist/index290.js +2 -19
  94. package/dist/index291.js +16 -2
  95. package/dist/index292.js +2 -27
  96. package/dist/index293.js +19 -2
  97. package/dist/index294.js +2 -2
  98. package/dist/index295.js +3 -2
  99. package/dist/index297.js +7 -2
  100. package/dist/index298.js +3 -28
  101. package/dist/index299.js +1 -21
  102. package/dist/{index314.js → index300.js} +1 -1
  103. package/dist/index301.js +6 -7
  104. package/dist/index302.js +4 -7
  105. package/dist/index303.js +4 -11
  106. package/dist/index304.js +18 -5
  107. package/dist/index305.js +2 -4
  108. package/dist/index306.js +27 -3
  109. package/dist/index307.js +2 -3
  110. package/dist/index308.js +4 -0
  111. package/dist/index309.js +2 -3
  112. package/dist/index31.js +2 -2
  113. package/dist/index310.js +1 -1
  114. package/dist/index311.js +2 -4
  115. package/dist/index312.js +28 -3
  116. package/dist/index313.js +20 -15
  117. package/dist/index315.js +1 -1
  118. package/dist/index316.js +3 -125
  119. package/dist/index317.js +2 -2
  120. package/dist/index318.js +17 -2
  121. package/dist/index319.js +3 -5
  122. package/dist/index320.js +4 -4
  123. package/dist/index324.js +5 -7
  124. package/dist/index325.js +2 -7
  125. package/dist/index326.js +7 -18
  126. package/dist/index327.js +126 -44
  127. package/dist/index328.js +367 -56
  128. package/dist/index329.js +8 -58
  129. package/dist/index33.js +8 -8
  130. package/dist/index330.js +6 -2
  131. package/dist/index331.js +8 -228
  132. package/dist/index332.js +32 -7
  133. package/dist/index333.js +28 -6
  134. package/dist/index335.js +6 -92
  135. package/dist/index336.js +18 -32
  136. package/dist/index337.js +7 -28
  137. package/dist/index338.js +49 -0
  138. package/dist/index339.js +56 -6
  139. package/dist/index340.js +57 -128
  140. package/dist/index341.js +220 -361
  141. package/dist/index342.js +85 -480
  142. package/dist/index343.js +126 -47
  143. package/dist/index345.js +1 -1
  144. package/dist/index346.js +427 -120
  145. package/dist/index347.js +113 -422
  146. package/dist/index348.js +484 -123
  147. package/dist/index349.js +52 -0
  148. package/dist/index35.js +4 -4
  149. package/dist/index37.js +20 -20
  150. package/dist/index39.js +6 -6
  151. package/dist/index41.js +2 -2
  152. package/dist/index43.js +8 -8
  153. package/dist/index45.js +8 -8
  154. package/dist/index47.js +2 -2
  155. package/dist/index49.js +3 -3
  156. package/dist/index53.js +1 -1
  157. package/dist/index55.js +1 -1
  158. package/dist/index57.js +2 -2
  159. package/dist/index61.js +3 -3
  160. package/dist/index67.js +1 -1
  161. package/dist/index79.js +4 -4
  162. package/dist/index81.js +1 -1
  163. package/dist/index83.js +2 -2
  164. package/dist/index85.js +1 -1
  165. package/dist/index87.js +1 -1
  166. package/dist/index88.js +2 -2
  167. package/dist/index90.js +3 -3
  168. package/dist/index92.js +2 -2
  169. package/dist/index94.js +3 -3
  170. package/dist/utilities/functions/clampPrecision.d.ts +1 -0
  171. package/dist/utilities/functions/exceedsPrecision.d.ts +1 -0
  172. package/package.json +2 -2
  173. package/dist/index222.js +0 -7
  174. package/dist/index225.js +0 -4
  175. package/dist/index229.js +0 -9
  176. package/dist/index247.js +0 -19
  177. package/dist/index260.js +0 -8
  178. package/dist/index296.js +0 -4
  179. package/dist/index334.js +0 -10
package/dist/index285.js CHANGED
@@ -1,4 +1,127 @@
1
- var e = { exports: {} };
1
+ import { __module as k } from "./index286.js";
2
+ var nt = k.exports, G;
3
+ function it() {
4
+ return G ? k.exports : (G = 1, function(I, ot) {
5
+ (function(E, F) {
6
+ I.exports = F();
7
+ })(nt, function() {
8
+ var E = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, F = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, Q = /\d/, L = /\d\d/, s = /\d\d?/, x = /\d*[^-_:/,()\s\d]+/, m = {}, X = function(t) {
9
+ return (t = +t) + (t > 68 ? 1900 : 2e3);
10
+ }, o = function(t) {
11
+ return function(r) {
12
+ this[t] = +r;
13
+ };
14
+ }, R = [/[+-]\d\d:?(\d\d)?|Z/, function(t) {
15
+ (this.zone || (this.zone = {})).offset = function(r) {
16
+ if (!r || r === "Z") return 0;
17
+ var e = r.match(/([+-]|\d\d)/g), n = 60 * e[1] + (+e[2] || 0);
18
+ return n === 0 ? 0 : e[0] === "+" ? -n : n;
19
+ }(t);
20
+ }], P = function(t) {
21
+ var r = m[t];
22
+ return r && (r.indexOf ? r : r.s.concat(r.f));
23
+ }, V = function(t, r) {
24
+ var e, n = m.meridiem;
25
+ if (n) {
26
+ for (var f = 1; f <= 24; f += 1) if (t.indexOf(n(f, 0, r)) > -1) {
27
+ e = f > 12;
28
+ break;
29
+ }
30
+ } else e = t === (r ? "pm" : "PM");
31
+ return e;
32
+ }, J = { A: [x, function(t) {
33
+ this.afternoon = V(t, !1);
34
+ }], a: [x, function(t) {
35
+ this.afternoon = V(t, !0);
36
+ }], Q: [Q, function(t) {
37
+ this.month = 3 * (t - 1) + 1;
38
+ }], S: [Q, function(t) {
39
+ this.milliseconds = 100 * +t;
40
+ }], SS: [L, function(t) {
41
+ this.milliseconds = 10 * +t;
42
+ }], SSS: [/\d{3}/, function(t) {
43
+ this.milliseconds = +t;
44
+ }], s: [s, o("seconds")], ss: [s, o("seconds")], m: [s, o("minutes")], mm: [s, o("minutes")], H: [s, o("hours")], h: [s, o("hours")], HH: [s, o("hours")], hh: [s, o("hours")], D: [s, o("day")], DD: [L, o("day")], Do: [x, function(t) {
45
+ var r = m.ordinal, e = t.match(/\d+/);
46
+ if (this.day = e[0], r) for (var n = 1; n <= 31; n += 1) r(n).replace(/\[|\]/g, "") === t && (this.day = n);
47
+ }], w: [s, o("week")], ww: [L, o("week")], M: [s, o("month")], MM: [L, o("month")], MMM: [x, function(t) {
48
+ var r = P("months"), e = (P("monthsShort") || r.map(function(n) {
49
+ return n.slice(0, 3);
50
+ })).indexOf(t) + 1;
51
+ if (e < 1) throw new Error();
52
+ this.month = e % 12 || e;
53
+ }], MMMM: [x, function(t) {
54
+ var r = P("months").indexOf(t) + 1;
55
+ if (r < 1) throw new Error();
56
+ this.month = r % 12 || r;
57
+ }], Y: [/[+-]?\d+/, o("year")], YY: [L, function(t) {
58
+ this.year = X(t);
59
+ }], YYYY: [/\d{4}/, o("year")], Z: R, ZZ: R };
60
+ function K(t) {
61
+ var r, e;
62
+ r = t, e = m && m.formats;
63
+ for (var n = (t = r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(v, l, u) {
64
+ var i = u && u.toUpperCase();
65
+ return l || e[u] || E[u] || e[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(M, Y, D) {
66
+ return Y || D.slice(1);
67
+ });
68
+ })).match(F), f = n.length, h = 0; h < f; h += 1) {
69
+ var y = n[h], p = J[y], c = p && p[0], d = p && p[1];
70
+ n[h] = d ? { regex: c, parser: d } : y.replace(/^\[|\]$/g, "");
71
+ }
72
+ return function(v) {
73
+ for (var l = {}, u = 0, i = 0; u < f; u += 1) {
74
+ var M = n[u];
75
+ if (typeof M == "string") i += M.length;
76
+ else {
77
+ var Y = M.regex, D = M.parser, $ = v.slice(i), g = Y.exec($)[0];
78
+ D.call(l, g), v = v.replace(g, "");
79
+ }
80
+ }
81
+ return function(w) {
82
+ var S = w.afternoon;
83
+ if (S !== void 0) {
84
+ var a = w.hours;
85
+ S ? a < 12 && (w.hours += 12) : a === 12 && (w.hours = 0), delete w.afternoon;
86
+ }
87
+ }(l), l;
88
+ };
89
+ }
90
+ return function(t, r, e) {
91
+ e.p.customParseFormat = !0, t && t.parseTwoDigitYear && (X = t.parseTwoDigitYear);
92
+ var n = r.prototype, f = n.parse;
93
+ n.parse = function(h) {
94
+ var y = h.date, p = h.utc, c = h.args;
95
+ this.$u = p;
96
+ var d = c[1];
97
+ if (typeof d == "string") {
98
+ var v = c[2] === !0, l = c[3] === !0, u = v || l, i = c[2];
99
+ l && (i = c[2]), m = this.$locale(), !v && i && (m = e.Ls[i]), this.$d = function($, g, w, S) {
100
+ try {
101
+ if (["x", "X"].indexOf(g) > -1) return new Date((g === "X" ? 1e3 : 1) * $);
102
+ var a = K(g)($), _ = a.year, A = a.month, N = a.day, W = a.hours, tt = a.minutes, rt = a.seconds, et = a.milliseconds, j = a.zone, B = a.week, C = /* @__PURE__ */ new Date(), H = N || (_ || A ? 1 : C.getDate()), O = _ || C.getFullYear(), T = 0;
103
+ _ && !A || (T = A > 0 ? A - 1 : C.getMonth());
104
+ var Z, z = W || 0, q = tt || 0, U = rt || 0, b = et || 0;
105
+ return j ? new Date(Date.UTC(O, T, H, z, q, U, b + 60 * j.offset * 1e3)) : w ? new Date(Date.UTC(O, T, H, z, q, U, b)) : (Z = new Date(O, T, H, z, q, U, b), B && (Z = S(Z).week(B).toDate()), Z);
106
+ } catch {
107
+ return /* @__PURE__ */ new Date("");
108
+ }
109
+ }(y, d, p, e), this.init(), i && i !== !0 && (this.$L = this.locale(i).$L), u && y != this.format(d) && (this.$d = /* @__PURE__ */ new Date("")), m = {};
110
+ } else if (d instanceof Array) for (var M = d.length, Y = 1; Y <= M; Y += 1) {
111
+ c[1] = d[Y - 1];
112
+ var D = e.apply(this, c);
113
+ if (D.isValid()) {
114
+ this.$d = D.$d, this.$L = D.$L, this.init();
115
+ break;
116
+ }
117
+ Y === M && (this.$d = /* @__PURE__ */ new Date(""));
118
+ }
119
+ else f.call(this, h);
120
+ };
121
+ };
122
+ });
123
+ }(k), k.exports);
124
+ }
2
125
  export {
3
- e as __module
126
+ it as __require
4
127
  };
package/dist/index286.js CHANGED
@@ -1,21 +1,4 @@
1
- import { __module as r } from "./index287.js";
2
- import { __require as m } from "./index280.js";
3
- var u = r.exports, n;
4
- function f() {
5
- return n ? r.exports : (n = 1, function(i, s) {
6
- (function(o, t) {
7
- i.exports = t(m());
8
- })(u, function(o) {
9
- function t(e) {
10
- return e && typeof e == "object" && "default" in e ? e : { default: e };
11
- }
12
- var a = t(o), _ = { name: "it", weekdays: "domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"), weekdaysShort: "dom_lun_mar_mer_gio_ven_sab".split("_"), weekdaysMin: "do_lu_ma_me_gi_ve_sa".split("_"), months: "gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"), weekStart: 1, monthsShort: "gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"), formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "tra %s", past: "%s fa", s: "qualche secondo", m: "un minuto", mm: "%d minuti", h: "un' ora", hh: "%d ore", d: "un giorno", dd: "%d giorni", M: "un mese", MM: "%d mesi", y: "un anno", yy: "%d anni" }, ordinal: function(e) {
13
- return e + "º";
14
- } };
15
- return a.default.locale(_, null, !0), _;
16
- });
17
- }(r), r.exports);
18
- }
1
+ var o = { exports: {} };
19
2
  export {
20
- f as __require
3
+ o as __module
21
4
  };
package/dist/index287.js CHANGED
@@ -1,4 +1,17 @@
1
- var e = { exports: {} };
1
+ import { __module as e } from "./index288.js";
2
+ var a = e.exports, u;
3
+ function i() {
4
+ return u ? e.exports : (u = 1, function(_, o) {
5
+ (function(n, r) {
6
+ _.exports = r();
7
+ })(a, function() {
8
+ return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(n) {
9
+ var r = ["th", "st", "nd", "rd"], t = n % 100;
10
+ return "[" + n + (r[(t - 20) % 10] || r[t] || r[0]) + "]";
11
+ } };
12
+ });
13
+ }(e), e.exports);
14
+ }
2
15
  export {
3
- e as __module
16
+ i as __require
4
17
  };
package/dist/index288.js CHANGED
@@ -1,17 +1,4 @@
1
- import { __module as e } from "./index289.js";
2
- var a = e.exports, u;
3
- function i() {
4
- return u ? e.exports : (u = 1, function(_, o) {
5
- (function(n, r) {
6
- _.exports = r();
7
- })(a, function() {
8
- return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(n) {
9
- var r = ["th", "st", "nd", "rd"], t = n % 100;
10
- return "[" + n + (r[(t - 20) % 10] || r[t] || r[0]) + "]";
11
- } };
12
- });
13
- }(e), e.exports);
14
- }
1
+ var e = { exports: {} };
15
2
  export {
16
- i as __require
3
+ e as __module
17
4
  };
package/dist/index289.js CHANGED
@@ -1,4 +1,18 @@
1
- var e = { exports: {} };
1
+ import { __module as r } from "./index290.js";
2
+ var f = r.exports, o;
3
+ function m() {
4
+ return o ? r.exports : (o = 1, function(s, u) {
5
+ (function(n, e) {
6
+ s.exports = e();
7
+ })(f, function() {
8
+ return function(n, e) {
9
+ e.prototype.isSameOrAfter = function(t, i) {
10
+ return this.isSame(t, i) || this.isAfter(t, i);
11
+ };
12
+ };
13
+ });
14
+ }(r), r.exports);
15
+ }
2
16
  export {
3
- e as __module
17
+ m as __require
4
18
  };
package/dist/index29.js CHANGED
@@ -1,11 +1,12 @@
1
- import { defineComponent as M, computed as W, ref as T, watch as q, onMounted as j, createBlock as F, openBlock as K, normalizeClass as L, withCtx as i, createVNode as O, unref as g, createElementVNode as z, mergeProps as G, withModifiers as R, renderSlot as d } from "vue";
2
- import { clamp as m } from "./index207.js";
3
- import U from "./index235.js";
1
+ import { defineComponent as M, computed as T, ref as W, watchPostEffect as q, createBlock as F, openBlock as K, normalizeClass as L, withCtx as i, createVNode as O, unref as h, createElementVNode as z, mergeProps as G, withModifiers as R, renderSlot as p } from "vue";
2
+ import { clamp as c } from "./index207.js";
3
+ import { clampPrecision as U } from "./index249.js";
4
+ import { isNil as f } from "./index250.js";
5
+ import { isNotNil as g } from "./index140.js";
6
+ import j from "./index221.js";
4
7
  /* empty css */
5
- import H from "./index237.js";
6
- import { isNotNil as V } from "./index140.js";
7
- import { isNil as c } from "./index227.js";
8
- const X = ["id", "aria-describedby", "aria-valuemax", "aria-valuemin", "aria-valuenow", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required"], ne = /* @__PURE__ */ M({
8
+ import H from "./index223.js";
9
+ const X = ["id", "aria-describedby", "aria-valuemax", "aria-valuemin", "aria-valuenow", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required"], oe = /* @__PURE__ */ M({
9
10
  __name: "BaseNumberInput",
10
11
  props: {
11
12
  "append:icon": {},
@@ -19,7 +20,7 @@ const X = ["id", "aria-describedby", "aria-valuemax", "aria-valuemin", "aria-val
19
20
  id: {},
20
21
  loading: { type: Boolean },
21
22
  max: { default: Number.MAX_SAFE_INTEGER },
22
- maxPrecision: { default: 1 / 0 },
23
+ maxPrecision: { default: 8 },
23
24
  min: { default: Number.MIN_SAFE_INTEGER },
24
25
  modelValue: {},
25
26
  name: {},
@@ -30,110 +31,112 @@ const X = ["id", "aria-describedby", "aria-valuemax", "aria-valuemin", "aria-val
30
31
  step: { default: 1 }
31
32
  },
32
33
  emits: ["blur", "change", "click", "decrease", "focus", "increase", "input", "keydown", "keyup", "mousedown", "mouseup", "update:modelValue"],
33
- setup(N, { expose: w, emit: k }) {
34
- const n = N, r = k, E = W(() => ({
34
+ setup(N, { expose: V, emit: w }) {
35
+ const o = N, a = w, k = T(() => ({
35
36
  "bb-base-number-input": !0,
36
- "bb-base-number-input--disabled": n.disabled,
37
- "bb-base-number-input--errors": n.hasErrors,
38
- "bb-base-number-input--loading": n.loading,
39
- "bb-base-number-input--readonly": n.readonly,
40
- "bb-base-number-input--compact": n.compact
41
- })), s = T(null), f = (e) => {
42
- const t = Number(n.modelValue || 0);
43
- return m(t + e, n.min, n.max);
44
- }, a = () => {
45
- if (n.disabled || n.readonly) return;
46
- const e = f(n.step * -1);
47
- r("decrease", e), r("update:modelValue", e);
37
+ "bb-base-number-input--disabled": o.disabled,
38
+ "bb-base-number-input--errors": o.hasErrors,
39
+ "bb-base-number-input--loading": o.loading,
40
+ "bb-base-number-input--readonly": o.readonly,
41
+ "bb-base-number-input--compact": o.compact
42
+ })), u = W(null), b = (e) => {
43
+ const r = Number(o.modelValue || 0);
44
+ return c(r + e, o.min, o.max);
45
+ }, t = () => {
46
+ if (o.disabled || o.readonly) return;
47
+ const e = b(o.step * -1);
48
+ a("decrease", e), a("update:modelValue", e);
48
49
  }, l = () => {
49
- if (n.disabled || n.readonly) return;
50
- const e = f(n.step);
51
- r("increase", e), r("update:modelValue", e);
52
- }, B = (e) => {
53
- if (s.value && e.target instanceof HTMLInputElement) {
54
- const t = e.target.value;
55
- r("input", e);
56
- let o = t;
57
- o = C(o), o = $(o), o = v(o), o = S(o), b(o) && (o = A(o));
58
- let p = null;
59
- if (o) {
60
- const u = P(o);
61
- p = m(Number(u), n.min, n.max);
50
+ if (o.disabled || o.readonly) return;
51
+ const e = b(o.step);
52
+ a("increase", e), a("update:modelValue", e);
53
+ }, E = (e) => {
54
+ if (u.value && e.target instanceof HTMLInputElement) {
55
+ const r = e.target.value;
56
+ a("input", e);
57
+ let n = r;
58
+ n = I(n), n = v(n), n = B(n), n = P(n), y(n) && (n = S(n));
59
+ let d = null;
60
+ if (n) {
61
+ const m = C(n);
62
+ d = c(Number(m), o.min, o.max);
62
63
  }
63
- r("update:modelValue", p), s.value.value = o;
64
+ a("update:modelValue", d);
65
+ const s = U(n, o.maxPrecision);
66
+ u.value.value = s;
64
67
  }
65
- }, I = (e) => {
66
- e.key === "ArrowUp" ? (e.preventDefault(), l()) : e.key === "ArrowDown" && (e.preventDefault(), a());
67
- }, $ = (e) => e.replaceAll(",", "."), v = (e) => [...e[0] + e.slice(1).replaceAll("-", "")].reduce((u, h) => (h === "." && u.includes(".") || u.push(h), u), []).join("").replaceAll(/[^\d.-]/g, ""), S = (e) => e.startsWith(".") && e.length === 1 ? "0." : e.startsWith("-.") && e.length === 2 ? "-0." : e, C = (e) => e.slice(0, 20), A = (e) => m(Number(e), n.min, n.max).toString(), b = (e) => !(e.length === 0 || e.endsWith("00") || e.endsWith(".") || e.endsWith("-") || e.endsWith("-0") || /^-?0\.\d*0+/.test(e)), P = (e) => {
68
- let t = e.split("."), o = t.slice(0, 1).join("") || 0, p = t.slice(1).join("").slice(0, n.maxPrecision) || 0;
69
- return `${o}.${p}`;
70
- }, D = {
71
- onBlur: (e) => r("blur", e),
72
- onChange: (e) => r("change", e),
73
- onClick: (e) => r("click", e),
74
- onFocus: (e) => r("focus", e),
68
+ }, $ = (e) => {
69
+ e.key === "ArrowUp" ? (e.preventDefault(), l()) : e.key === "ArrowDown" && (e.preventDefault(), t());
70
+ }, v = (e) => e.replaceAll(",", "."), B = (e) => [...e[0] + e.slice(1).replaceAll("-", "")].reduce((s, m) => (m === "." && s.includes(".") || s.push(m), s), []).join("").replaceAll(/[^\d.-]/g, ""), P = (e) => e.startsWith(".") && e.length === 1 ? "0." : e.startsWith("-.") && e.length === 2 ? "-0." : e, I = (e) => e.slice(0, 20), S = (e) => c(Number(e), o.min, o.max).toString(), y = (e) => !(e.length === 0 || e.endsWith(".") || e.endsWith("-") || e.endsWith("-0") || /\.\d*0+$/.test(e)), C = (e) => {
71
+ let [r, n] = e.split(".");
72
+ return r = r || "0", n ? (n = (n == null ? void 0 : n.slice(0, o.maxPrecision)) || "0", `${r}.${n}`) : r;
73
+ }, A = {
74
+ onBlur: (e) => a("blur", e),
75
+ onChange: (e) => a("change", e),
76
+ onClick: (e) => a("click", e),
77
+ onFocus: (e) => a("focus", e),
75
78
  onKeydown: (e) => {
76
- I(e), r("keydown", e);
79
+ $(e), a("keydown", e);
77
80
  },
78
- onKeyup: (e) => r("keyup", e),
79
- onMousedown: (e) => r("mousedown", e),
80
- onMouseup: (e) => r("mouseup", e)
81
- }, y = (e) => {
82
- if (c(s.value)) return;
83
- const t = s.value.value;
84
- if (!c(e) && !b(t) && t.length > 0)
81
+ onKeyup: (e) => a("keyup", e),
82
+ onMousedown: (e) => a("mousedown", e),
83
+ onMouseup: (e) => a("mouseup", e)
84
+ }, D = (e) => {
85
+ if (f(u.value)) return;
86
+ const r = u.value.value;
87
+ if (!f(e) && !y(r) && r.length > 0)
85
88
  return;
86
- let o = e;
87
- c(o) && (o = ""), s.value.value = (o == null ? void 0 : o.toString()) || "";
89
+ let n = e;
90
+ f(n) && (n = ""), u.value.value = (n == null ? void 0 : n.toString()) || "";
88
91
  };
89
- return q(() => n.modelValue, y), j(() => {
90
- y(n.modelValue);
91
- }), w({
92
+ return q(() => {
93
+ D(o.modelValue);
94
+ }), V({
92
95
  increase: l,
93
- decrease: a
94
- }), (e, t) => (K(), F(H, {
95
- class: L(E.value)
96
+ decrease: t
97
+ }), (e, r) => (K(), F(H, {
98
+ class: L(k.value)
96
99
  }, {
97
100
  "prepend-outer": i(() => [
98
- d(e.$slots, "prepend-outer", {
99
- decrease: a,
101
+ p(e.$slots, "prepend-outer", {
102
+ decrease: t,
100
103
  increase: l
101
104
  })
102
105
  ]),
103
106
  "append-outer": i(() => [
104
- d(e.$slots, "append-outer", {
105
- decrease: a,
107
+ p(e.$slots, "append-outer", {
108
+ decrease: t,
106
109
  increase: l
107
110
  })
108
111
  ]),
109
112
  default: i(() => [
110
- O(U, {
111
- "append:icon": n["append:icon"],
112
- clearable: n.clearable && g(V)(e.modelValue),
113
- "prepend:icon": n["prepend:icon"],
114
- "onClick:clear": t[0] || (t[0] = (o) => e.$emit("update:modelValue", null))
113
+ O(j, {
114
+ "append:icon": o["append:icon"],
115
+ clearable: o.clearable && h(g)(e.modelValue),
116
+ "prepend:icon": o["prepend:icon"],
117
+ "onClick:clear": r[0] || (r[0] = (n) => e.$emit("update:modelValue", null))
115
118
  }, {
116
119
  prepend: i(() => [
117
- d(e.$slots, "prepend", {
118
- decrease: a,
120
+ p(e.$slots, "prepend", {
121
+ decrease: t,
119
122
  increase: l
120
123
  })
121
124
  ]),
122
125
  prefix: i(() => [
123
- d(e.$slots, "prefix", {
124
- decrease: a,
126
+ p(e.$slots, "prefix", {
127
+ decrease: t,
125
128
  increase: l
126
129
  })
127
130
  ]),
128
131
  append: i(() => [
129
- d(e.$slots, "append", {
130
- decrease: a,
132
+ p(e.$slots, "append", {
133
+ decrease: t,
131
134
  increase: l
132
135
  })
133
136
  ]),
134
137
  suffix: i(() => [
135
- d(e.$slots, "suffix", {
136
- decrease: a,
138
+ p(e.$slots, "suffix", {
139
+ decrease: t,
137
140
  increase: l
138
141
  })
139
142
  ]),
@@ -141,11 +144,11 @@ const X = ["id", "aria-describedby", "aria-valuemax", "aria-valuemin", "aria-val
141
144
  z("input", G({
142
145
  id: e.id,
143
146
  ref_key: "input",
144
- ref: s,
147
+ ref: u,
145
148
  "aria-describedby": e.ariaDescribedby,
146
149
  "aria-valuemax": e.max,
147
150
  "aria-valuemin": e.min,
148
- "aria-valuenow": g(V)(e.modelValue) ? e.modelValue : void 0,
151
+ "aria-valuenow": h(g)(e.modelValue) ? e.modelValue : void 0,
149
152
  autocomplete: e.autocomplete,
150
153
  autofocus: e.autofocus,
151
154
  class: "bb-base-number-input__input",
@@ -158,8 +161,8 @@ const X = ["id", "aria-describedby", "aria-valuemax", "aria-valuemin", "aria-val
158
161
  role: "spinbutton",
159
162
  size: "1",
160
163
  type: "text"
161
- }, D, {
162
- onInput: R(B, ["stop"])
164
+ }, A, {
165
+ onInput: R(E, ["stop"])
163
166
  }), null, 16, X)
164
167
  ]),
165
168
  _: 3
@@ -170,5 +173,5 @@ const X = ["id", "aria-describedby", "aria-valuemax", "aria-valuemin", "aria-val
170
173
  }
171
174
  });
172
175
  export {
173
- ne as default
176
+ oe as default
174
177
  };
package/dist/index290.js CHANGED
@@ -1,21 +1,4 @@
1
- import { __module as e } from "./index291.js";
2
- var f = e.exports, n;
3
- function l() {
4
- return n ? e.exports : (n = 1, function(c, s) {
5
- (function(i, t) {
6
- c.exports = t();
7
- })(f, function() {
8
- return function(i, t, u) {
9
- u.updateLocale = function(p, r) {
10
- var o = u.Ls[p];
11
- if (o) return (r ? Object.keys(r) : []).forEach(function(a) {
12
- o[a] = r[a];
13
- }), o;
14
- };
15
- };
16
- });
17
- }(e), e.exports);
18
- }
1
+ var e = { exports: {} };
19
2
  export {
20
- l as __require
3
+ e as __module
21
4
  };
package/dist/index291.js CHANGED
@@ -1,4 +1,18 @@
1
- var e = { exports: {} };
1
+ import { __module as e } from "./index292.js";
2
+ var f = e.exports, i;
3
+ function m() {
4
+ return i ? e.exports : (i = 1, function(s, u) {
5
+ (function(n, r) {
6
+ s.exports = r();
7
+ })(f, function() {
8
+ return function(n, r) {
9
+ r.prototype.isSameOrBefore = function(o, t) {
10
+ return this.isSame(o, t) || this.isBefore(o, t);
11
+ };
12
+ };
13
+ });
14
+ }(e), e.exports);
15
+ }
2
16
  export {
3
- e as __module
17
+ m as __require
4
18
  };
package/dist/index292.js CHANGED
@@ -1,29 +1,4 @@
1
- import { __module as i } from "./index293.js";
2
- var k = i.exports, o;
3
- function O() {
4
- return o ? i.exports : (o = 1, function(u, p) {
5
- (function(r, t) {
6
- u.exports = t();
7
- })(k, function() {
8
- var r = "week", t = "year";
9
- return function(v, d, a) {
10
- var n = d.prototype;
11
- n.week = function(e) {
12
- if (e === void 0 && (e = null), e !== null) return this.add(7 * (e - this.week()), "day");
13
- var s = this.$locale().yearStart || 1;
14
- if (this.month() === 11 && this.date() > 25) {
15
- var h = a(this).startOf(t).add(1, t).date(s), l = a(this).endOf(r);
16
- if (h.isBefore(l)) return 1;
17
- }
18
- var c = a(this).startOf(t).date(s).startOf(r).subtract(1, "millisecond"), f = this.diff(c, r, !0);
19
- return f < 0 ? a(this).startOf("week").week() : Math.ceil(f);
20
- }, n.weeks = function(e) {
21
- return e === void 0 && (e = null), this.week(e);
22
- };
23
- };
24
- });
25
- }(i), i.exports);
26
- }
1
+ var e = { exports: {} };
27
2
  export {
28
- O as __require
3
+ e as __module
29
4
  };
package/dist/index293.js CHANGED
@@ -1,4 +1,21 @@
1
- var e = { exports: {} };
1
+ import { __module as r } from "./index294.js";
2
+ import { __require as m } from "./index283.js";
3
+ var u = r.exports, n;
4
+ function f() {
5
+ return n ? r.exports : (n = 1, function(i, s) {
6
+ (function(o, t) {
7
+ i.exports = t(m());
8
+ })(u, function(o) {
9
+ function t(e) {
10
+ return e && typeof e == "object" && "default" in e ? e : { default: e };
11
+ }
12
+ var a = t(o), _ = { name: "it", weekdays: "domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"), weekdaysShort: "dom_lun_mar_mer_gio_ven_sab".split("_"), weekdaysMin: "do_lu_ma_me_gi_ve_sa".split("_"), months: "gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"), weekStart: 1, monthsShort: "gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"), formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "tra %s", past: "%s fa", s: "qualche secondo", m: "un minuto", mm: "%d minuti", h: "un' ora", hh: "%d ore", d: "un giorno", dd: "%d giorni", M: "un mese", MM: "%d mesi", y: "un anno", yy: "%d anni" }, ordinal: function(e) {
13
+ return e + "º";
14
+ } };
15
+ return a.default.locale(_, null, !0), _;
16
+ });
17
+ }(r), r.exports);
18
+ }
2
19
  export {
3
- e as __module
20
+ f as __require
4
21
  };
package/dist/index294.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index219.js";
1
+ var e = { exports: {} };
2
2
  export {
3
- f as default
3
+ e as __module
4
4
  };
package/dist/index295.js CHANGED
@@ -1,4 +1,5 @@
1
- import f from "./index220.js";
1
+ import o from "./index221.js";
2
+ /* empty css */
2
3
  export {
3
- f as default
4
+ o as default
4
5
  };
package/dist/index297.js CHANGED
@@ -1,4 +1,9 @@
1
- import f from "./index223.js";
1
+ const s = (t, e) => {
2
+ const o = t.__vccOpts || t;
3
+ for (const [r, c] of e)
4
+ o[r] = c;
5
+ return o;
6
+ };
2
7
  export {
3
- f as default
8
+ s as default
4
9
  };
package/dist/index298.js CHANGED
@@ -1,30 +1,5 @@
1
- function y(t, r) {
2
- return t > r ? 1 : -1;
3
- }
4
- function c(t, r) {
5
- var n = 5381;
6
- if (typeof t == "object" && t !== null && (t.toString === Object.prototype.toString || t.toString === Array.prototype.toString)) {
7
- r || (r = /* @__PURE__ */ new WeakSet());
8
- for (var p = Object.keys(t).sort(y), i = 0; i < p.length; i++) {
9
- var s = p[i], e = t[s];
10
- if (n = 33 * n ^ c(s, r), typeof e == "object" && e !== null && (t.toString === Object.prototype.toString || t.toString === Array.prototype.toString)) {
11
- if (r.has(e)) continue;
12
- r.add(e);
13
- }
14
- n = 33 * n ^ c(e, r);
15
- }
16
- return 33 * n ^ c(t.constructor, r);
17
- }
18
- var o = typeof t;
19
- try {
20
- t instanceof Date ? o += t.getTime() : o += String(t);
21
- } catch {
22
- o += String(Object.assign({}, t));
23
- }
24
- for (var a = 0; a < o.length; a++) n = 33 * n ^ o.charCodeAt(a);
25
- return n;
26
- }
1
+ import o from "./index224.js";
2
+ /* empty css */
27
3
  export {
28
- c as hash,
29
- y as sortNumbers
4
+ o as default
30
5
  };