bitboss-ui 2.0.31 → 2.0.32

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 (142) hide show
  1. package/dist/index104.js +46 -50
  2. package/dist/index106.js +5 -5
  3. package/dist/index114.js +1 -1
  4. package/dist/index116.js +5 -5
  5. package/dist/index118.js +1 -1
  6. package/dist/index122.js +1 -1
  7. package/dist/index123.js +1 -1
  8. package/dist/index124.js +1 -1
  9. package/dist/index126.js +1 -1
  10. package/dist/index128.js +91 -87
  11. package/dist/index129.js +1 -1
  12. package/dist/index13.js +1 -1
  13. package/dist/index15.js +3 -3
  14. package/dist/index17.js +2 -2
  15. package/dist/index19.js +14 -14
  16. package/dist/index198.js +2 -81
  17. package/dist/index199.js +115 -2
  18. package/dist/index200.js +5 -2
  19. package/dist/index201.js +16 -4
  20. package/dist/index202.js +16 -2
  21. package/dist/index203.js +19 -8
  22. package/dist/index204.js +19 -3
  23. package/dist/index205.js +27 -3
  24. package/dist/index206.js +3 -35
  25. package/dist/index207.js +2 -6
  26. package/dist/index208.js +8 -7
  27. package/dist/index209.js +245 -277
  28. package/dist/index21.js +15 -15
  29. package/dist/index210.js +51 -15
  30. package/dist/index211.js +44 -16
  31. package/dist/index212.js +5 -19
  32. package/dist/index213.js +49 -19
  33. package/dist/index214.js +156 -25
  34. package/dist/index215.js +84 -3
  35. package/dist/index217.js +3 -249
  36. package/dist/index218.js +35 -52
  37. package/dist/index219.js +5 -43
  38. package/dist/index220.js +7 -5
  39. package/dist/index221.js +3 -49
  40. package/dist/index222.js +2 -126
  41. package/dist/index223.js +4 -123
  42. package/dist/index224.js +2 -2
  43. package/dist/index225.js +43 -174
  44. package/dist/index227.js +15 -0
  45. package/dist/index228.js +126 -13
  46. package/dist/index229.js +123 -5
  47. package/dist/index23.js +5 -5
  48. package/dist/index230.js +2 -369
  49. package/dist/index231.js +168 -152
  50. package/dist/index232.js +5 -84
  51. package/dist/index233.js +371 -0
  52. package/dist/index234.js +2 -2
  53. package/dist/index235.js +2 -18
  54. package/dist/index236.js +17 -105
  55. package/dist/index237.js +108 -0
  56. package/dist/{index238.js → index239.js} +1 -1
  57. package/dist/index243.js +281 -3
  58. package/dist/index244.js +6 -9
  59. package/dist/index245.js +2 -23
  60. package/dist/index246.js +2 -6
  61. package/dist/index247.js +2 -16
  62. package/dist/index248.js +2 -9
  63. package/dist/index249.js +2 -4
  64. package/dist/index25.js +1 -1
  65. package/dist/index250.js +2 -224
  66. package/dist/index251.js +2 -431
  67. package/dist/index252.js +2 -89
  68. package/dist/index253.js +2 -2
  69. package/dist/index254.js +2 -9
  70. package/dist/index255.js +27 -5
  71. package/dist/index256.js +22 -2
  72. package/dist/index258.js +7 -2
  73. package/dist/index259.js +3 -2
  74. package/dist/index260.js +12 -2
  75. package/dist/index261.js +9 -2
  76. package/dist/index262.js +9 -2
  77. package/dist/index263.js +17 -2
  78. package/dist/index264.js +224 -2
  79. package/dist/index265.js +431 -2
  80. package/dist/index266.js +85 -24
  81. package/dist/index267.js +4 -22
  82. package/dist/index268.js +8 -0
  83. package/dist/index269.js +16 -7
  84. package/dist/index27.js +3 -3
  85. package/dist/index270.js +3 -200
  86. package/dist/index271.js +8 -65
  87. package/dist/index272.js +23 -5
  88. package/dist/index273.js +9 -2
  89. package/dist/index274.js +196 -122
  90. package/dist/index275.js +1 -1
  91. package/dist/index277.js +2 -22
  92. package/dist/index278.js +128 -0
  93. package/dist/index279.js +22 -3
  94. package/dist/index281.js +434 -7
  95. package/dist/index282.js +126 -16
  96. package/dist/index283.js +3 -436
  97. package/dist/index284.js +3 -127
  98. package/dist/index285.js +211 -3
  99. package/dist/index286.js +2 -3
  100. package/dist/index287.js +15 -211
  101. package/dist/index288.js +5 -79
  102. package/dist/index29.js +2 -2
  103. package/dist/index290.js +7 -4
  104. package/dist/index291.js +19 -4
  105. package/dist/index292.js +64 -57
  106. package/dist/index293.js +10 -14
  107. package/dist/index294.js +4 -2
  108. package/dist/index295.js +4 -7
  109. package/dist/index296.js +57 -17
  110. package/dist/index297.js +79 -11
  111. package/dist/index299.js +34 -46
  112. package/dist/index300.js +46 -34
  113. package/dist/index301.js +2 -480
  114. package/dist/index302.js +482 -0
  115. package/dist/index304.js +416 -42
  116. package/dist/index305.js +47 -2
  117. package/dist/index31.js +2 -2
  118. package/dist/index33.js +3 -3
  119. package/dist/index35.js +13 -13
  120. package/dist/index37.js +4 -4
  121. package/dist/index39.js +2 -2
  122. package/dist/index41.js +2 -2
  123. package/dist/index43.js +6 -6
  124. package/dist/index45.js +2 -2
  125. package/dist/index47.js +2 -2
  126. package/dist/index53.js +1 -1
  127. package/dist/index55.js +1 -1
  128. package/dist/index71.js +3 -3
  129. package/dist/index75.js +2 -2
  130. package/dist/index77.js +1 -1
  131. package/dist/index80.js +2 -2
  132. package/dist/index82.js +1 -1
  133. package/dist/index84.js +3 -3
  134. package/dist/index86.js +1 -1
  135. package/package.json +1 -1
  136. package/dist/index216.js +0 -4
  137. package/dist/index226.js +0 -45
  138. package/dist/index240.js +0 -4
  139. package/dist/index280.js +0 -14
  140. package/dist/index303.js +0 -423
  141. /package/dist/{index298.js → index289.js} +0 -0
  142. /package/dist/{index257.js → index306.js} +0 -0
package/dist/index129.js CHANGED
@@ -1,4 +1,4 @@
1
- import { isArray as b, isPlainObject as m } from "./index293.js";
1
+ import { isArray as b, isPlainObject as m } from "./index287.js";
2
2
  function i(e, n, l, o, r) {
3
3
  const u = {}.propertyIsEnumerable.call(o, n) ? "enumerable" : "nonenumerable";
4
4
  u === "enumerable" && (e[n] = l), r && u === "nonenumerable" && Object.defineProperty(e, n, {
package/dist/index13.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as y, getCurrentInstance as p, computed as s, resolveComponent as d, openBlock as k, createBlock as h, resolveDynamicComponent as C, mergeProps as x, withCtx as S, renderSlot as L, createTextVNode as B, toDisplayString as N } from "vue";
2
2
  import { _config as o } from "./index4.js";
3
- import { useLogger as m } from "./index203.js";
3
+ import { useLogger as m } from "./index208.js";
4
4
  const P = /* @__PURE__ */ y({
5
5
  __name: "BaseButton",
6
6
  props: {
package/dist/index15.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as C, ref as b, computed as n, watch as E, openBlock as m, createElementBlock as p, normalizeProps as c, guardReactiveProps as h, mergeProps as f, createCommentVNode as I, createElementVNode as s, renderSlot as q } from "vue";
2
- import { isCssColor as k } from "./index200.js";
3
- import { when as F } from "./index201.js";
4
- import { booleanishToBoolean as N } from "./index202.js";
2
+ import { isCssColor as k } from "./index222.js";
3
+ import { when as F } from "./index223.js";
4
+ import { booleanishToBoolean as N } from "./index224.js";
5
5
  const S = {
6
6
  "aria-hidden": "true",
7
7
  class: "bb-base-checkbox-container"
package/dist/index17.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as $, ref as p, toRef as l, openBlock as B, createBlock as w, unref as f, withCtx as i, renderSlot as s, normalizeProps as b, guardReactiveProps as h, createVNode as O, mergeProps as v } from "vue";
2
- import { useOptions as z } from "./index231.js";
2
+ import { useOptions as z } from "./index214.js";
3
3
  import F from "./index15.js";
4
4
  /* empty css */
5
- import M from "./index232.js";
5
+ import M from "./index215.js";
6
6
  /* empty css */
7
7
  const G = /* @__PURE__ */ $({
8
8
  __name: "BaseCheckboxGroup",
package/dist/index19.js CHANGED
@@ -3,20 +3,20 @@ import { defineComponent as $, ref as f, watch as x, openBlock as u, createEleme
3
3
  /* empty css */
4
4
  import p from "./index13.js";
5
5
  /* empty css */
6
- import r from "./index209.js";
7
- import z from "./index210.js";
8
- import U from "./index211.js";
9
- import W from "./index212.js";
10
- import E from "./index213.js";
11
- import T from "./index214.js";
12
- import { hash as g } from "./index215.js";
13
- import { last as j } from "./index216.js";
14
- import { useLogger as H } from "./index203.js";
15
- import P from "./index217.js";
16
- import Z from "./index218.js";
17
- import q from "./index219.js";
18
- import w from "./index220.js";
19
- import F from "./index221.js";
6
+ import r from "./index200.js";
7
+ import z from "./index201.js";
8
+ import U from "./index202.js";
9
+ import W from "./index203.js";
10
+ import E from "./index204.js";
11
+ import T from "./index205.js";
12
+ import { hash as g } from "./index206.js";
13
+ import { last as j } from "./index207.js";
14
+ import { useLogger as H } from "./index208.js";
15
+ import P from "./index209.js";
16
+ import Z from "./index210.js";
17
+ import q from "./index211.js";
18
+ import w from "./index212.js";
19
+ import F from "./index213.js";
20
20
  const G = { class: "bb-base-date-picker" }, I = { class: "bb-base-date-picker__body" }, J = { class: "bb-base-date-picker__controls" }, K = /* @__PURE__ */ l("span", { class: "sr-only" }, "Seleziona un mese", -1), Q = /* @__PURE__ */ l("svg", {
21
21
  fill: "none",
22
22
  height: "6",
package/dist/index198.js CHANGED
@@ -1,83 +1,4 @@
1
- import { getCurrentScope as g, onScopeDispose as D, unref as x, onMounted as O, nextTick as S, isRef as C, getCurrentInstance as F } from "vue";
2
- function G(e) {
3
- return g() ? (D(e), !0) : !1;
4
- }
5
- function d(e) {
6
- return typeof e == "function" ? e() : x(e);
7
- }
8
- const L = typeof window < "u" && typeof document < "u";
9
- typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
10
- const V = (e) => e != null, P = Object.prototype.toString, A = (e) => P.call(e) === "[object Object]", m = () => {
11
- };
12
- function h(e, r) {
13
- function t(...n) {
14
- return new Promise((o, i) => {
15
- Promise.resolve(e(() => r.apply(this, n), { fn: r, thisArg: this, args: n })).then(o).catch(i);
16
- });
17
- }
18
- return t;
19
- }
20
- function W(e, r = {}) {
21
- let t, n, o = m;
22
- const i = (l) => {
23
- clearTimeout(l), o(), o = m;
24
- };
25
- return (l) => {
26
- const c = d(e), u = d(r.maxWait);
27
- return t && i(t), c <= 0 || u !== void 0 && u <= 0 ? (n && (i(n), n = null), Promise.resolve(l())) : new Promise((s, T) => {
28
- o = r.rejectOnCancel ? T : s, u && !n && (n = setTimeout(() => {
29
- t && i(t), n = null, s(l());
30
- }, u)), t = setTimeout(() => {
31
- n && i(n), n = null, s(l());
32
- }, c);
33
- });
34
- };
35
- }
36
- function M(...e) {
37
- let r = 0, t, n = !0, o = m, i, a, l, c, u;
38
- !C(e[0]) && typeof e[0] == "object" ? { delay: a, trailing: l = !0, leading: c = !0, rejectOnCancel: u = !1 } = e[0] : [a, l = !0, c = !0, u = !1] = e;
39
- const s = () => {
40
- t && (clearTimeout(t), t = void 0, o(), o = m);
41
- };
42
- return (w) => {
43
- const f = d(a), y = Date.now() - r, p = () => i = w();
44
- return s(), f <= 0 ? (r = Date.now(), p()) : (y > f && (c || !n) ? (r = Date.now(), p()) : l && (i = new Promise((b, j) => {
45
- o = u ? j : b, t = setTimeout(() => {
46
- r = Date.now(), n = !0, b(p()), s();
47
- }, Math.max(0, f - y));
48
- })), !c && !t && (t = setTimeout(() => n = !0, f)), n = !1, i);
49
- };
50
- }
51
- function R(e) {
52
- return F();
53
- }
54
- function E(e, r = 200, t = {}) {
55
- return h(
56
- W(r, t),
57
- e
58
- );
59
- }
60
- function I(e, r = 200, t = !1, n = !0, o = !1) {
61
- return h(
62
- M(r, t, n, o),
63
- e
64
- );
65
- }
66
- function N(e, r = !0, t) {
67
- R() ? O(e, t) : r ? e() : S(e);
68
- }
1
+ const n = (t, a, m) => Math.min(Math.max(t, a), m);
69
2
  export {
70
- h as createFilterWrapper,
71
- W as debounceFilter,
72
- R as getLifeCycleTarget,
73
- L as isClient,
74
- A as isObject,
75
- m as noop,
76
- V as notNullish,
77
- M as throttleFilter,
78
- d as toValue,
79
- N as tryOnMounted,
80
- G as tryOnScopeDispose,
81
- E as useDebounceFn,
82
- I as useThrottleFn
3
+ n as clamp
83
4
  };
package/dist/index199.js CHANGED
@@ -1,4 +1,117 @@
1
- const n = (t, a, m) => Math.min(Math.max(t, a), m);
1
+ import { getCurrentScope as F, onScopeDispose as O, unref as g, watch as x, onMounted as S, nextTick as W, isRef as C, getCurrentInstance as P } from "vue";
2
+ function V(e) {
3
+ return F() ? (O(e), !0) : !1;
4
+ }
5
+ function m(e) {
6
+ return typeof e == "function" ? e() : g(e);
7
+ }
8
+ const A = typeof window < "u" && typeof document < "u";
9
+ typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
10
+ const E = (e) => e != null, v = Object.prototype.toString, I = (e) => v.call(e) === "[object Object]", p = () => {
11
+ };
12
+ function h(e, o) {
13
+ function t(...n) {
14
+ return new Promise((r, i) => {
15
+ Promise.resolve(e(() => o.apply(this, n), { fn: o, thisArg: this, args: n })).then(r).catch(i);
16
+ });
17
+ }
18
+ return t;
19
+ }
20
+ const M = (e) => e();
21
+ function T(e, o = {}) {
22
+ let t, n, r = p;
23
+ const i = (c) => {
24
+ clearTimeout(c), r(), r = p;
25
+ };
26
+ return (c) => {
27
+ const l = m(e), u = m(o.maxWait);
28
+ return t && i(t), l <= 0 || u !== void 0 && u <= 0 ? (n && (i(n), n = null), Promise.resolve(c())) : new Promise((s, w) => {
29
+ r = o.rejectOnCancel ? w : s, u && !n && (n = setTimeout(() => {
30
+ t && i(t), n = null, s(c());
31
+ }, u)), t = setTimeout(() => {
32
+ n && i(n), n = null, s(c());
33
+ }, l);
34
+ });
35
+ };
36
+ }
37
+ function R(...e) {
38
+ let o = 0, t, n = !0, r = p, i, a, c, l, u;
39
+ !C(e[0]) && typeof e[0] == "object" ? { delay: a, trailing: c = !0, leading: l = !0, rejectOnCancel: u = !1 } = e[0] : [a, c = !0, l = !0, u = !1] = e;
40
+ const s = () => {
41
+ t && (clearTimeout(t), t = void 0, r(), r = p);
42
+ };
43
+ return (j) => {
44
+ const f = m(a), b = Date.now() - o, d = () => i = j();
45
+ return s(), f <= 0 ? (o = Date.now(), d()) : (b > f && (l || !n) ? (o = Date.now(), d()) : c && (i = new Promise((y, D) => {
46
+ r = u ? D : y, t = setTimeout(() => {
47
+ o = Date.now(), n = !0, y(d()), s();
48
+ }, Math.max(0, f - b));
49
+ })), !l && !t && (t = setTimeout(() => n = !0, f)), n = !1, i);
50
+ };
51
+ }
52
+ function k(e) {
53
+ return P();
54
+ }
55
+ function N(e, o = 200, t = {}) {
56
+ return h(
57
+ T(o, t),
58
+ e
59
+ );
60
+ }
61
+ function _(e, o = 200, t = !1, n = !0, r = !1) {
62
+ return h(
63
+ R(o, t, n, r),
64
+ e
65
+ );
66
+ }
67
+ function G(e, o, t = {}) {
68
+ const {
69
+ eventFilter: n = M,
70
+ ...r
71
+ } = t;
72
+ return x(
73
+ e,
74
+ h(
75
+ n,
76
+ o
77
+ ),
78
+ r
79
+ );
80
+ }
81
+ function q(e, o = !0, t) {
82
+ k() ? S(e, t) : o ? e() : W(e);
83
+ }
84
+ function z(e, o, t = {}) {
85
+ const {
86
+ debounce: n = 0,
87
+ maxWait: r = void 0,
88
+ ...i
89
+ } = t;
90
+ return G(
91
+ e,
92
+ o,
93
+ {
94
+ ...i,
95
+ eventFilter: T(n, { maxWait: r })
96
+ }
97
+ );
98
+ }
2
99
  export {
3
- n as clamp
100
+ M as bypassFilter,
101
+ h as createFilterWrapper,
102
+ T as debounceFilter,
103
+ z as debouncedWatch,
104
+ k as getLifeCycleTarget,
105
+ A as isClient,
106
+ I as isObject,
107
+ p as noop,
108
+ E as notNullish,
109
+ R as throttleFilter,
110
+ m as toValue,
111
+ q as tryOnMounted,
112
+ V as tryOnScopeDispose,
113
+ N as useDebounceFn,
114
+ _ as useThrottleFn,
115
+ z as watchDebounced,
116
+ G as watchWithFilter
4
117
  };
package/dist/index200.js CHANGED
@@ -1,4 +1,7 @@
1
- const s = (r) => !!r && !!r.match(/^(#|var\(--|(rgb|hsl)a?\()/);
1
+ import { getDefaultExportFromCjs as r } from "./index244.js";
2
+ import { __require as o } from "./index243.js";
3
+ var t = o();
4
+ const s = /* @__PURE__ */ r(t);
2
5
  export {
3
- s as isCssColor
6
+ s as default
4
7
  };
package/dist/index201.js CHANGED
@@ -1,6 +1,18 @@
1
- import { curry as e } from "./index249.js";
2
- const t = (n, o, r) => n(r) ? o(r) : r, s = e(t);
1
+ import { getDefaultExportFromCjs as f, commonjsGlobal as n } from "./index244.js";
2
+ import { __module as e } from "./index246.js";
3
+ (function(s, a) {
4
+ (function(i, t) {
5
+ s.exports = t();
6
+ })(n, function() {
7
+ return function(i, t) {
8
+ t.prototype.isSameOrAfter = function(r, o) {
9
+ return this.isSame(r, o) || this.isAfter(r, o);
10
+ };
11
+ };
12
+ });
13
+ })(e);
14
+ var m = e.exports;
15
+ const c = /* @__PURE__ */ f(m);
3
16
  export {
4
- t as baseWhen,
5
- s as when
17
+ c as default
6
18
  };
package/dist/index202.js CHANGED
@@ -1,4 +1,18 @@
1
- const o = (e) => typeof e == "boolean" ? e : e === "true";
1
+ import { getDefaultExportFromCjs as i, commonjsGlobal as n } from "./index244.js";
2
+ import { __module as t } from "./index247.js";
3
+ (function(s, a) {
4
+ (function(f, o) {
5
+ s.exports = o();
6
+ })(n, function() {
7
+ return function(f, o) {
8
+ o.prototype.isSameOrBefore = function(e, r) {
9
+ return this.isSame(e, r) || this.isBefore(e, r);
10
+ };
11
+ };
12
+ });
13
+ })(t);
14
+ var m = t.exports;
15
+ const c = /* @__PURE__ */ i(m);
2
16
  export {
3
- o as booleanishToBoolean
17
+ c as default
4
18
  };
package/dist/index203.js CHANGED
@@ -1,10 +1,21 @@
1
- const o = "bitboss-ui | ", e = () => ({
2
- warn: (r) => console.warn(`${o}${r}`),
3
- error: (r) => console.error(`${o}${r}`),
4
- throw: (r) => {
5
- throw new Error(`${o}${r}`);
6
- }
7
- });
1
+ import { getDefaultExportFromCjs as i, commonjsGlobal as m } from "./index244.js";
2
+ import { __module as _ } from "./index248.js";
3
+ import { __require as s } from "./index243.js";
4
+ (function(n, d) {
5
+ (function(t, o) {
6
+ n.exports = o(s());
7
+ })(m, function(t) {
8
+ function o(e) {
9
+ return e && typeof e == "object" && "default" in e ? e : { default: e };
10
+ }
11
+ var a = o(t), r = { 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) {
12
+ return e + "º";
13
+ } };
14
+ return a.default.locale(r, null, !0), r;
15
+ });
16
+ })(_);
17
+ var u = _.exports;
18
+ const p = /* @__PURE__ */ i(u);
8
19
  export {
9
- e as useLogger
20
+ p as default
10
21
  };
package/dist/index204.js CHANGED
@@ -1,5 +1,21 @@
1
- import r from "./index250.js";
2
- const t = r;
1
+ import { getDefaultExportFromCjs as p, commonjsGlobal as s } from "./index244.js";
2
+ import { __module as n } from "./index249.js";
3
+ (function(u, l) {
4
+ (function(c, e) {
5
+ u.exports = e();
6
+ })(s, function() {
7
+ return function(c, e, r) {
8
+ r.updateLocale = function(f, o) {
9
+ var t = r.Ls[f];
10
+ if (t) return (o ? Object.keys(o) : []).forEach(function(a) {
11
+ t[a] = o[a];
12
+ }), t;
13
+ };
14
+ };
15
+ });
16
+ })(n);
17
+ var i = n.exports;
18
+ const x = /* @__PURE__ */ p(i);
3
19
  export {
4
- t as deburr
20
+ x as default
5
21
  };
package/dist/index205.js CHANGED
@@ -1,5 +1,29 @@
1
- import t from "./index252.js";
2
- const r = t;
1
+ import { getDefaultExportFromCjs as c, commonjsGlobal as k } from "./index244.js";
2
+ import { __module as n } from "./index250.js";
3
+ (function(f, p) {
4
+ (function(r, e) {
5
+ f.exports = e();
6
+ })(k, function() {
7
+ var r = "week", e = "year";
8
+ return function(w, u, a) {
9
+ var o = u.prototype;
10
+ o.week = function(t) {
11
+ if (t === void 0 && (t = null), t !== null) return this.add(7 * (t - this.week()), "day");
12
+ var s = this.$locale().yearStart || 1;
13
+ if (this.month() === 11 && this.date() > 25) {
14
+ var l = a(this).startOf(e).add(1, e).date(s), d = a(this).endOf(r);
15
+ if (l.isBefore(d)) return 1;
16
+ }
17
+ var h = a(this).startOf(e).date(s).startOf(r).subtract(1, "millisecond"), i = this.diff(h, r, !0);
18
+ return i < 0 ? a(this).startOf("week").week() : Math.ceil(i);
19
+ }, o.weeks = function(t) {
20
+ return t === void 0 && (t = null), this.week(t);
21
+ };
22
+ };
23
+ });
24
+ })(n);
25
+ var m = n.exports;
26
+ const x = /* @__PURE__ */ c(m);
3
27
  export {
4
- r as throttle
28
+ x as default
5
29
  };
package/dist/index206.js CHANGED
@@ -1,37 +1,5 @@
1
- import { unrefElement as m } from "./index128.js";
2
- import { ref as u, watch as l } from "vue";
3
- import { createFocusTrap as d } from "./index251.js";
4
- import { tryOnScopeDispose as D } from "./index198.js";
5
- function O(i, a = {}) {
6
- let e;
7
- const { immediate: f, ...n } = a, c = u(!1), s = u(!1), o = (t) => e && e.activate(t), r = (t) => e && e.deactivate(t), v = () => {
8
- e && (e.pause(), s.value = !0);
9
- }, p = () => {
10
- e && (e.unpause(), s.value = !1);
11
- };
12
- return l(
13
- () => m(i),
14
- (t) => {
15
- t && (e = d(t, {
16
- ...n,
17
- onActivate() {
18
- c.value = !0, a.onActivate && a.onActivate();
19
- },
20
- onDeactivate() {
21
- c.value = !1, a.onDeactivate && a.onDeactivate();
22
- }
23
- }), f && o());
24
- },
25
- { flush: "post" }
26
- ), D(() => r()), {
27
- hasFocus: c,
28
- isPaused: s,
29
- activate: o,
30
- deactivate: r,
31
- pause: v,
32
- unpause: p
33
- };
34
- }
1
+ import { hash as o } from "./index255.js";
2
+ const t = (r, h = "bb") => `${h}${o(r)}`;
35
3
  export {
36
- O as useFocusTrap
4
+ t as hash
37
5
  };
package/dist/index207.js CHANGED
@@ -1,8 +1,4 @@
1
- const o = (e, t = 50) => new Promise((r) => {
2
- const n = setInterval(() => {
3
- e() && (clearInterval(n), r());
4
- }, t);
5
- });
1
+ const e = (t) => t[t.length - 1];
6
2
  export {
7
- o as waitFor
3
+ e as last
8
4
  };
package/dist/index208.js CHANGED
@@ -1,9 +1,10 @@
1
- import { ref as e } from "vue";
2
- const o = e(0), s = () => {
3
- o.value++;
4
- }, a = () => {
5
- o.value--;
6
- }, d = () => ({ openedModals: o, modalHasOpened: s, modalHasClosed: a });
1
+ const o = "bitboss-ui | ", e = () => ({
2
+ warn: (r) => console.warn(`${o}${r}`),
3
+ error: (r) => console.error(`${o}${r}`),
4
+ throw: (r) => {
5
+ throw new Error(`${o}${r}`);
6
+ }
7
+ });
7
8
  export {
8
- d as useModalsState
9
+ e as useLogger
9
10
  };