bitboss-ui 2.1.78 → 2.1.80

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 (187) hide show
  1. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +7 -1
  2. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +9 -2
  3. package/dist/components/BbButton/BbButton.vue.d.ts +22 -2
  4. package/dist/components/BbDialog/BbDialog.vue.d.ts +6 -2
  5. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +12 -1
  6. package/dist/components/BbSelect/BbSelect.vue.d.ts +9 -2
  7. package/dist/index.css +1 -1
  8. package/dist/index107.js +9 -9
  9. package/dist/index112.js +1 -1
  10. package/dist/index114.js +1 -1
  11. package/dist/index120.js +1 -1
  12. package/dist/index122.js +13 -13
  13. package/dist/index13.js +2 -2
  14. package/dist/index130.js +1 -1
  15. package/dist/index132.js +5 -5
  16. package/dist/index134.js +1 -1
  17. package/dist/index139.js +1 -1
  18. package/dist/index141.js +2 -2
  19. package/dist/index142.js +1 -1
  20. package/dist/index15.js +5 -5
  21. package/dist/index17.js +3 -3
  22. package/dist/index19.js +8 -8
  23. package/dist/index21.js +14 -14
  24. package/dist/index214.js +2 -138
  25. package/dist/index215.js +138 -2
  26. package/dist/index216.js +2 -2
  27. package/dist/index217.js +1 -1
  28. package/dist/index218.js +1 -1
  29. package/dist/index220.js +1 -1
  30. package/dist/index222.js +5 -4
  31. package/dist/index223.js +5 -13
  32. package/dist/index224.js +5 -20
  33. package/dist/index225.js +5 -201
  34. package/dist/index226.js +7 -0
  35. package/dist/index227.js +3 -135
  36. package/dist/index228.js +4 -0
  37. package/dist/index229.js +6 -2
  38. package/dist/index23.js +11 -11
  39. package/dist/index230.js +8 -51
  40. package/dist/index231.js +268 -17
  41. package/dist/index232.js +46 -100
  42. package/dist/index233.js +54 -0
  43. package/dist/index234.js +28 -96
  44. package/dist/index235.js +62 -0
  45. package/dist/index236.js +13 -3
  46. package/dist/index237.js +86 -5
  47. package/dist/index239.js +29 -5
  48. package/dist/index240.js +17 -5
  49. package/dist/index241.js +51 -5
  50. package/dist/index242.js +15 -5
  51. package/dist/index243.js +12 -2
  52. package/dist/index244.js +15 -187
  53. package/dist/index245.js +10 -3
  54. package/dist/index246.js +3 -2
  55. package/dist/index247.js +3 -10
  56. package/dist/index248.js +3 -8
  57. package/dist/index249.js +5 -13
  58. package/dist/index25.js +41 -40
  59. package/dist/index250.js +5 -13
  60. package/dist/index251.js +5 -4
  61. package/dist/index252.js +2 -23
  62. package/dist/index253.js +3 -3
  63. package/dist/index254.js +20 -3
  64. package/dist/index255.js +134 -17
  65. package/dist/index257.js +187 -14
  66. package/dist/index258.js +3 -12
  67. package/dist/index259.js +12 -28
  68. package/dist/index260.js +12 -15
  69. package/dist/index261.js +9 -4
  70. package/dist/index262.js +2 -229
  71. package/dist/index263.js +11 -10
  72. package/dist/index264.js +6 -3
  73. package/dist/index265.js +15 -66
  74. package/dist/index266.js +9 -2
  75. package/dist/index267.js +2 -3
  76. package/dist/index268.js +8 -9
  77. package/dist/index27.js +1 -1
  78. package/dist/index271.js +23 -5
  79. package/dist/index272.js +2 -6
  80. package/dist/index273.js +4 -16
  81. package/dist/index274.js +201 -3
  82. package/dist/index276.js +3 -9
  83. package/dist/index277.js +3 -5
  84. package/dist/index278.js +4 -6
  85. package/dist/index279.js +40 -267
  86. package/dist/index280.js +7 -52
  87. package/dist/index281.js +17 -51
  88. package/dist/index282.js +12 -32
  89. package/dist/index283.js +100 -54
  90. package/dist/index285.js +95 -81
  91. package/dist/index287.js +227 -7
  92. package/dist/index288.js +34 -8
  93. package/dist/index289.js +8 -6
  94. package/dist/index29.js +3 -3
  95. package/dist/index293.js +66 -40
  96. package/dist/index296.js +7 -4
  97. package/dist/index297.js +280 -7
  98. package/dist/index298.js +2 -3
  99. package/dist/index299.js +16 -3
  100. package/dist/index300.js +2 -17
  101. package/dist/index301.js +16 -2
  102. package/dist/index302.js +2 -3
  103. package/dist/index303.js +27 -2
  104. package/dist/index304.js +2 -28
  105. package/dist/index305.js +2 -4
  106. package/dist/index306.js +2 -3
  107. package/dist/index307.js +2 -5
  108. package/dist/index308.js +2 -280
  109. package/dist/index309.js +28 -2
  110. package/dist/index31.js +2 -2
  111. package/dist/index310.js +2 -125
  112. package/dist/index311.js +3 -2
  113. package/dist/index312.js +17 -15
  114. package/dist/index313.js +125 -2
  115. package/dist/index314.js +2 -16
  116. package/dist/index315.js +15 -2
  117. package/dist/index316.js +2 -16
  118. package/dist/index317.js +19 -2
  119. package/dist/index318.js +2 -19
  120. package/dist/index319.js +3 -2
  121. package/dist/index320.js +3 -5
  122. package/dist/index321.js +719 -27
  123. package/dist/index322.js +366 -2
  124. package/dist/index323.js +57 -2
  125. package/dist/index324.js +4 -2
  126. package/dist/index325.js +5 -2
  127. package/dist/index326.js +5 -2
  128. package/dist/index327.js +3 -2
  129. package/dist/index328.js +3 -719
  130. package/dist/index329.js +2 -366
  131. package/dist/index33.js +8 -8
  132. package/dist/index330.js +2 -57
  133. package/dist/index331.js +6 -2
  134. package/dist/index332.js +2 -3
  135. package/dist/index333.js +5 -6
  136. package/dist/index334.js +6 -34
  137. package/dist/index335.js +19 -6
  138. package/dist/index336.js +7 -127
  139. package/dist/index337.js +12 -395
  140. package/dist/index338.js +6 -46
  141. package/dist/index339.js +58 -8
  142. package/dist/index340.js +58 -6
  143. package/dist/index341.js +4 -8
  144. package/dist/index342.js +35 -58
  145. package/dist/index343.js +6 -58
  146. package/dist/index344.js +123 -222
  147. package/dist/index345.js +388 -83
  148. package/dist/index346.js +8 -5
  149. package/dist/index347.js +5 -6
  150. package/dist/index348.js +8 -19
  151. package/dist/index349.js +22 -9
  152. package/dist/index35.js +4 -4
  153. package/dist/index351.js +133 -6
  154. package/dist/index352.js +89 -130
  155. package/dist/index353.js +222 -514
  156. package/dist/index354.js +47 -22
  157. package/dist/index355.js +522 -0
  158. package/dist/index356.js +435 -44
  159. package/dist/index357.js +114 -427
  160. package/dist/index358.js +48 -126
  161. package/dist/index37.js +108 -99
  162. package/dist/index39.js +4 -4
  163. package/dist/index41.js +2 -2
  164. package/dist/index43.js +8 -8
  165. package/dist/index45.js +6 -6
  166. package/dist/index49.js +2 -2
  167. package/dist/index53.js +1 -1
  168. package/dist/index55.js +1 -1
  169. package/dist/index57.js +2 -2
  170. package/dist/index61.js +74 -58
  171. package/dist/index67.js +1 -1
  172. package/dist/index78.js +28 -25
  173. package/dist/index80.js +4 -4
  174. package/dist/index82.js +1 -1
  175. package/dist/index84.js +2 -2
  176. package/dist/index86.js +3 -3
  177. package/dist/index88.js +1 -1
  178. package/dist/index91.js +60 -60
  179. package/dist/index93.js +2 -2
  180. package/dist/index95.js +5 -5
  181. package/dist/index97.js +1 -1
  182. package/package.json +1 -1
  183. package/dist/index238.js +0 -7
  184. package/dist/index256.js +0 -14
  185. package/dist/index275.js +0 -36
  186. package/dist/index284.js +0 -4
  187. package/dist/index350.js +0 -17
package/dist/index132.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as R, mergeModels as U, ref as L, computed as v, useTemplateRef as W, useModel as x, watch as m, onBeforeUnmount as F, createElementBlock as I, openBlock as g, Fragment as _, renderSlot as k, createCommentVNode as C, createVNode as j, normalizeProps as q, mergeProps as B, withCtx as T, createElementVNode as f, normalizeStyle as G, createBlock as H, unref as J } from "vue";
2
2
  import { useId as K } from "./index8.js";
3
- import { useLocale as Q } from "./index223.js";
4
- import { useUntil as X } from "./index250.js";
3
+ import { useLocale as Q } from "./index236.js";
4
+ import { useUntil as X } from "./index260.js";
5
5
  import Y from "./index13.js";
6
6
  /* empty css */
7
- import Z from "./index227.js";
7
+ import Z from "./index255.js";
8
8
  /* empty css */
9
9
  import { useElementSize as ee } from "./index141.js";
10
- import { extractDomContainer as V } from "./index251.js";
11
- import { parseWidthString as te } from "./index252.js";
10
+ import { extractDomContainer as V } from "./index247.js";
11
+ import { parseWidthString as te } from "./index271.js";
12
12
  const ce = /* @__PURE__ */ R({
13
13
  inheritAttrs: !1,
14
14
  __name: "BbTooltip",
package/dist/index134.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as $, computed as g, resolveComponent as y, createElementBlock as f, openBlock as i, Fragment as k, renderList as h, normalizeClass as b, createElementVNode as s, renderSlot as t, createVNode as v, createSlots as B, withCtx as _, mergeProps as C } from "vue";
2
- import { flattenTree as T } from "./index271.js";
2
+ import { flattenTree as T } from "./index222.js";
3
3
  const w = { class: "bb-tree-row" }, E = { class: "bb-tree-main-content" }, N = /* @__PURE__ */ $({
4
4
  __name: "BbTree",
5
5
  props: {
package/dist/index139.js CHANGED
@@ -1,4 +1,4 @@
1
- import { clamp as s } from "./index216.js";
1
+ import { clamp as s } from "./index214.js";
2
2
  const o = (n, e, r = !1) => {
3
3
  const t = n * 100 / e;
4
4
  return r ? s(t, 0, 100) : t;
package/dist/index141.js CHANGED
@@ -1,5 +1,5 @@
1
- import { tryOnMounted as D, toArray as L, notNullish as Z, noop as V, tryOnScopeDispose as P, useThrottleFn as q, isClient as ee, watchImmediate as te, useDebounceFn as ne, pxValue as G, injectLocal as oe, isObject as le } from "./index214.js";
2
- import { bypassFilter as We, createFilterWrapper as ye, debounceFilter as Te, debouncedWatch as Ie, getLifeCycleTarget as Me, throttleFilter as _e, debouncedWatch as Re, watchWithFilter as Ae } from "./index214.js";
1
+ import { tryOnMounted as D, toArray as L, notNullish as Z, noop as V, tryOnScopeDispose as P, useThrottleFn as q, isClient as ee, watchImmediate as te, useDebounceFn as ne, pxValue as G, injectLocal as oe, isObject as le } from "./index215.js";
2
+ import { bypassFilter as We, createFilterWrapper as ye, debounceFilter as Te, debouncedWatch as Ie, getLifeCycleTarget as Me, throttleFilter as _e, debouncedWatch as Re, watchWithFilter as Ae } from "./index215.js";
3
3
  import { shallowRef as S, getCurrentInstance as ue, onMounted as se, computed as g, watch as B, toValue as w, reactive as U, ref as J, watchEffect as re, hasInjectionContext as ie, unref as ce } from "vue";
4
4
  const R = ee ? window : void 0;
5
5
  function W(o) {
package/dist/index142.js CHANGED
@@ -1,4 +1,4 @@
1
- import { urlAlphabet as l } from "./index215.js";
1
+ import { urlAlphabet as l } from "./index216.js";
2
2
  let o = (t = 21) => {
3
3
  let e = "", r = crypto.getRandomValues(new Uint8Array(t |= 0));
4
4
  for (; t--; )
package/dist/index15.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as H, ref as s, computed as M, createBlock as D, openBlock as E, normalizeClass as I, withCtx as l, createVNode as d, unref as u, withDirectives as L, createElementVNode as p, mergeProps as _, renderSlot as r, withModifiers as q, normalizeStyle as N } from "vue";
2
- import { isHex as z } from "./index222.js";
2
+ import { isHex as z } from "./index273.js";
3
3
  import { isNotNil as F } from "./index144.js";
4
4
  import { useId as S } from "./index8.js";
5
- import { useLocale as U } from "./index223.js";
6
- import { vMaska as A } from "./index224.js";
7
- import K from "./index225.js";
5
+ import { useLocale as U } from "./index236.js";
6
+ import { vMaska as A } from "./index254.js";
7
+ import K from "./index274.js";
8
8
  /* empty css */
9
9
  import O from "./index136.js";
10
10
  /* empty css */
11
11
  import P from "./index138.js";
12
- import T from "./index227.js";
12
+ import T from "./index255.js";
13
13
  /* empty css */
14
14
  const j = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], G = ["aria-label"], J = { class: "bb-common-input-inner-container__suffix" }, ie = /* @__PURE__ */ H({
15
15
  __name: "BaseColorInput",
package/dist/index17.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as _, ref as i, computed as t, watch as F, createElementBlock as p, openBlock as h, normalizeProps as d, guardReactiveProps as f, createCommentVNode as L, createElementVNode as s, mergeProps as k, renderSlot as M } from "vue";
2
- import { isCssColor as y } from "./index246.js";
3
- import { booleanishToBoolean as q } from "./index266.js";
4
- import { isEqual as A } from "./index267.js";
2
+ import { isCssColor as y } from "./index262.js";
3
+ import { booleanishToBoolean as q } from "./index272.js";
4
+ import { isEqual as A } from "./index248.js";
5
5
  const N = {
6
6
  "aria-hidden": "true",
7
7
  class: "bb-base-checkbox-container"
package/dist/index19.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as z, ref as B, toRef as p, computed as G, createBlock as R, openBlock as W, unref as T, withCtx as n, renderSlot as s, normalizeProps as f, guardReactiveProps as h, createVNode as K, mergeProps as w } from "vue";
2
2
  import N from "./index17.js";
3
3
  /* empty css */
4
- import U from "./index285.js";
4
+ import U from "./index237.js";
5
5
  /* empty css */
6
- import { useItemsGetter as q } from "./index259.js";
7
- import { useIndexById as C } from "./index231.js";
8
- import { useBaseOptions as J } from "./index230.js";
9
- import { useCoherence as Q } from "./index257.js";
10
- import { hash as X } from "./index254.js";
11
- import { useHashedWatcher as $ } from "./index258.js";
12
- import { usePrefill as Y } from "./index260.js";
6
+ import { useItemsGetter as q } from "./index239.js";
7
+ import { useIndexById as C } from "./index240.js";
8
+ import { useBaseOptions as J } from "./index241.js";
9
+ import { useCoherence as Q } from "./index242.js";
10
+ import { hash as X } from "./index227.js";
11
+ import { useHashedWatcher as $ } from "./index243.js";
12
+ import { usePrefill as Y } from "./index244.js";
13
13
  const ce = /* @__PURE__ */ z({
14
14
  __name: "BaseCheckboxGroup",
15
15
  props: {
package/dist/index21.js CHANGED
@@ -5,20 +5,20 @@ import { _config as Q } from "./index4.js";
5
5
  import { useId as X } from "./index8.js";
6
6
  import b from "./index13.js";
7
7
  /* empty css */
8
- import d from "./index237.js";
9
- import ee from "./index240.js";
10
- import ae from "./index241.js";
11
- import te from "./index277.js";
12
- import { hash as B } from "./index254.js";
13
- import { last as le } from "./index229.js";
14
- import { validateDateFormat as L } from "./index278.js";
15
- import { useLogger as oe } from "./index248.js";
16
- import re from "./index279.js";
17
- import se from "./index280.js";
18
- import de from "./index281.js";
19
- import S from "./index282.js";
20
- import ie from "./index283.js";
21
- import { useLocale as ne } from "./index223.js";
8
+ import d from "./index223.js";
9
+ import ee from "./index224.js";
10
+ import ae from "./index225.js";
11
+ import te from "./index226.js";
12
+ import { hash as B } from "./index227.js";
13
+ import { last as le } from "./index228.js";
14
+ import { validateDateFormat as L } from "./index229.js";
15
+ import { useLogger as oe } from "./index230.js";
16
+ import re from "./index231.js";
17
+ import se from "./index232.js";
18
+ import de from "./index233.js";
19
+ import S from "./index234.js";
20
+ import ie from "./index235.js";
21
+ import { useLocale as ne } from "./index236.js";
22
22
  const ue = { class: "bb-base-date-picker" }, me = { class: "bb-base-date-picker__body" }, ce = { class: "bb-base-date-picker__controls" }, pe = { class: "sr-only" }, fe = { class: "sr-only" }, be = { class: "sr-only" }, ve = {
23
23
  style: { transform: "rotate(180deg)" },
24
24
  viewBox: "0 0 24 24",
package/dist/index214.js CHANGED
@@ -1,140 +1,4 @@
1
- import { onMounted as O, nextTick as W, getCurrentScope as S, onScopeDispose as C, watch as F, getCurrentInstance as g, isRef as P, toValue as b, hasInjectionContext as k, inject as v } from "vue";
2
- function V(e) {
3
- return S() ? (C(e), !0) : !1;
4
- }
5
- const w = /* @__PURE__ */ new WeakMap(), E = (...e) => {
6
- var r;
7
- const n = e[0], t = (r = g()) == null ? void 0 : r.proxy;
8
- if (t == null && !k())
9
- throw new Error("injectLocal must be called in setup");
10
- return t && w.has(t) && n in w.get(t) ? w.get(t)[n] : v(...e);
11
- }, G = typeof window < "u" && typeof document < "u";
12
- typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
13
- const _ = (e) => e != null, M = Object.prototype.toString, q = (e) => M.call(e) === "[object Object]", d = () => {
14
- };
15
- function y(e, r) {
16
- function n(...t) {
17
- return new Promise((o, i) => {
18
- Promise.resolve(e(() => r.apply(this, t), { fn: r, thisArg: this, args: t })).then(o).catch(i);
19
- });
20
- }
21
- return n;
22
- }
23
- const A = (e) => e();
24
- function x(e, r = {}) {
25
- let n, t, o = d;
26
- const i = (c) => {
27
- clearTimeout(c), o(), o = d;
28
- };
29
- let u;
30
- return (c) => {
31
- const a = b(e), l = b(r.maxWait);
32
- return n && i(n), a <= 0 || l !== void 0 && l <= 0 ? (t && (i(t), t = null), Promise.resolve(c())) : new Promise((f, p) => {
33
- o = r.rejectOnCancel ? p : f, u = c, l && !t && (t = setTimeout(() => {
34
- n && i(n), t = null, f(u());
35
- }, l)), n = setTimeout(() => {
36
- t && i(t), t = null, f(c());
37
- }, a);
38
- });
39
- };
40
- }
41
- function I(...e) {
42
- let r = 0, n, t = !0, o = d, i, u, s, c, a;
43
- !P(e[0]) && typeof e[0] == "object" ? { delay: u, trailing: s = !0, leading: c = !0, rejectOnCancel: a = !1 } = e[0] : [u, s = !0, c = !0, a = !1] = e;
44
- const l = () => {
45
- n && (clearTimeout(n), n = void 0, o(), o = d);
46
- };
47
- return (p) => {
48
- const m = b(u), j = Date.now() - r, h = () => i = p();
49
- return l(), m <= 0 ? (r = Date.now(), h()) : (j > m && (c || !t) ? (r = Date.now(), h()) : s && (i = new Promise((T, D) => {
50
- o = a ? D : T, n = setTimeout(() => {
51
- r = Date.now(), t = !0, T(h()), l();
52
- }, Math.max(0, m - j));
53
- })), !c && !n && (n = setTimeout(() => t = !0, m)), t = !1, i);
54
- };
55
- }
56
- function z(e) {
57
- return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
58
- }
59
- function L(e) {
60
- return g();
61
- }
62
- function B(e) {
63
- return Array.isArray(e) ? e : [e];
64
- }
65
- function H(e, r = 200, n = {}) {
66
- return y(
67
- x(r, n),
68
- e
69
- );
70
- }
71
- function J(e, r = 200, n = !1, t = !0, o = !1) {
72
- return y(
73
- I(r, n, t, o),
74
- e
75
- );
76
- }
77
- function N(e, r, n = {}) {
78
- const {
79
- eventFilter: t = A,
80
- ...o
81
- } = n;
82
- return F(
83
- e,
84
- y(
85
- t,
86
- r
87
- ),
88
- o
89
- );
90
- }
91
- function K(e, r = !0, n) {
92
- L() ? O(e, n) : r ? e() : W(e);
93
- }
94
- function Q(e, r, n = {}) {
95
- const {
96
- debounce: t = 0,
97
- maxWait: o = void 0,
98
- ...i
99
- } = n;
100
- return N(
101
- e,
102
- r,
103
- {
104
- ...i,
105
- eventFilter: x(t, { maxWait: o })
106
- }
107
- );
108
- }
109
- function U(e, r, n) {
110
- return F(
111
- e,
112
- r,
113
- {
114
- ...n,
115
- immediate: !0
116
- }
117
- );
118
- }
1
+ const n = (t, a, m) => Math.min(Math.max(t, a), m);
119
2
  export {
120
- A as bypassFilter,
121
- y as createFilterWrapper,
122
- x as debounceFilter,
123
- Q as debouncedWatch,
124
- L as getLifeCycleTarget,
125
- E as injectLocal,
126
- G as isClient,
127
- q as isObject,
128
- d as noop,
129
- _ as notNullish,
130
- z as pxValue,
131
- I as throttleFilter,
132
- B as toArray,
133
- K as tryOnMounted,
134
- V as tryOnScopeDispose,
135
- H as useDebounceFn,
136
- J as useThrottleFn,
137
- Q as watchDebounced,
138
- U as watchImmediate,
139
- N as watchWithFilter
3
+ n as clamp
140
4
  };
package/dist/index215.js CHANGED
@@ -1,4 +1,140 @@
1
- const t = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
1
+ import { onMounted as O, nextTick as W, getCurrentScope as S, onScopeDispose as C, watch as F, getCurrentInstance as g, isRef as P, toValue as b, hasInjectionContext as k, inject as v } from "vue";
2
+ function V(e) {
3
+ return S() ? (C(e), !0) : !1;
4
+ }
5
+ const w = /* @__PURE__ */ new WeakMap(), E = (...e) => {
6
+ var r;
7
+ const n = e[0], t = (r = g()) == null ? void 0 : r.proxy;
8
+ if (t == null && !k())
9
+ throw new Error("injectLocal must be called in setup");
10
+ return t && w.has(t) && n in w.get(t) ? w.get(t)[n] : v(...e);
11
+ }, G = typeof window < "u" && typeof document < "u";
12
+ typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
13
+ const _ = (e) => e != null, M = Object.prototype.toString, q = (e) => M.call(e) === "[object Object]", d = () => {
14
+ };
15
+ function y(e, r) {
16
+ function n(...t) {
17
+ return new Promise((o, i) => {
18
+ Promise.resolve(e(() => r.apply(this, t), { fn: r, thisArg: this, args: t })).then(o).catch(i);
19
+ });
20
+ }
21
+ return n;
22
+ }
23
+ const A = (e) => e();
24
+ function x(e, r = {}) {
25
+ let n, t, o = d;
26
+ const i = (c) => {
27
+ clearTimeout(c), o(), o = d;
28
+ };
29
+ let u;
30
+ return (c) => {
31
+ const a = b(e), l = b(r.maxWait);
32
+ return n && i(n), a <= 0 || l !== void 0 && l <= 0 ? (t && (i(t), t = null), Promise.resolve(c())) : new Promise((f, p) => {
33
+ o = r.rejectOnCancel ? p : f, u = c, l && !t && (t = setTimeout(() => {
34
+ n && i(n), t = null, f(u());
35
+ }, l)), n = setTimeout(() => {
36
+ t && i(t), t = null, f(c());
37
+ }, a);
38
+ });
39
+ };
40
+ }
41
+ function I(...e) {
42
+ let r = 0, n, t = !0, o = d, i, u, s, c, a;
43
+ !P(e[0]) && typeof e[0] == "object" ? { delay: u, trailing: s = !0, leading: c = !0, rejectOnCancel: a = !1 } = e[0] : [u, s = !0, c = !0, a = !1] = e;
44
+ const l = () => {
45
+ n && (clearTimeout(n), n = void 0, o(), o = d);
46
+ };
47
+ return (p) => {
48
+ const m = b(u), j = Date.now() - r, h = () => i = p();
49
+ return l(), m <= 0 ? (r = Date.now(), h()) : (j > m && (c || !t) ? (r = Date.now(), h()) : s && (i = new Promise((T, D) => {
50
+ o = a ? D : T, n = setTimeout(() => {
51
+ r = Date.now(), t = !0, T(h()), l();
52
+ }, Math.max(0, m - j));
53
+ })), !c && !n && (n = setTimeout(() => t = !0, m)), t = !1, i);
54
+ };
55
+ }
56
+ function z(e) {
57
+ return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
58
+ }
59
+ function L(e) {
60
+ return g();
61
+ }
62
+ function B(e) {
63
+ return Array.isArray(e) ? e : [e];
64
+ }
65
+ function H(e, r = 200, n = {}) {
66
+ return y(
67
+ x(r, n),
68
+ e
69
+ );
70
+ }
71
+ function J(e, r = 200, n = !1, t = !0, o = !1) {
72
+ return y(
73
+ I(r, n, t, o),
74
+ e
75
+ );
76
+ }
77
+ function N(e, r, n = {}) {
78
+ const {
79
+ eventFilter: t = A,
80
+ ...o
81
+ } = n;
82
+ return F(
83
+ e,
84
+ y(
85
+ t,
86
+ r
87
+ ),
88
+ o
89
+ );
90
+ }
91
+ function K(e, r = !0, n) {
92
+ L() ? O(e, n) : r ? e() : W(e);
93
+ }
94
+ function Q(e, r, n = {}) {
95
+ const {
96
+ debounce: t = 0,
97
+ maxWait: o = void 0,
98
+ ...i
99
+ } = n;
100
+ return N(
101
+ e,
102
+ r,
103
+ {
104
+ ...i,
105
+ eventFilter: x(t, { maxWait: o })
106
+ }
107
+ );
108
+ }
109
+ function U(e, r, n) {
110
+ return F(
111
+ e,
112
+ r,
113
+ {
114
+ ...n,
115
+ immediate: !0
116
+ }
117
+ );
118
+ }
2
119
  export {
3
- t as urlAlphabet
120
+ A as bypassFilter,
121
+ y as createFilterWrapper,
122
+ x as debounceFilter,
123
+ Q as debouncedWatch,
124
+ L as getLifeCycleTarget,
125
+ E as injectLocal,
126
+ G as isClient,
127
+ q as isObject,
128
+ d as noop,
129
+ _ as notNullish,
130
+ z as pxValue,
131
+ I as throttleFilter,
132
+ B as toArray,
133
+ K as tryOnMounted,
134
+ V as tryOnScopeDispose,
135
+ H as useDebounceFn,
136
+ J as useThrottleFn,
137
+ Q as watchDebounced,
138
+ U as watchImmediate,
139
+ N as watchWithFilter
4
140
  };
package/dist/index216.js CHANGED
@@ -1,4 +1,4 @@
1
- const n = (t, a, m) => Math.min(Math.max(t, a), m);
1
+ const t = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
2
2
  export {
3
- n as clamp
3
+ t as urlAlphabet
4
4
  };
package/dist/index217.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getType as t } from "./index296.js";
1
+ import { getType as t } from "./index341.js";
2
2
  function o(r) {
3
3
  return t(r) === "Array";
4
4
  }
package/dist/index218.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getType as o } from "./index296.js";
1
+ import { getType as o } from "./index341.js";
2
2
  function c(e) {
3
3
  if (o(e) !== "Object")
4
4
  return !1;
package/dist/index220.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as l, createElementBlock as n, openBlock as r, unref as a, createElementVNode as t } from "vue";
2
- import { useLocale as s } from "./index223.js";
2
+ import { useLocale as s } from "./index236.js";
3
3
  const c = ["aria-label"], b = /* @__PURE__ */ l({
4
4
  __name: "ClearableButton",
5
5
  setup(u) {
package/dist/index222.js CHANGED
@@ -1,6 +1,7 @@
1
- function x(e) {
2
- return /^#([A-Fa-f0-9]{6})$/.test(e);
3
- }
1
+ const o = (l, n, f = (r) => r, u) => l.map((r) => Array.isArray(r[n]) ? [
2
+ f(r, u),
3
+ ...o(r[n], n, f, f(r, u))
4
+ ] : [f(r, u)]).flat();
4
5
  export {
5
- x as isHex
6
+ o as flattenTree
6
7
  };
package/dist/index223.js CHANGED
@@ -1,15 +1,7 @@
1
- import { locales as t } from "./index297.js";
2
- import { _config as m } from "./index4.js";
3
- import { get as c } from "./index247.js";
4
- import { readonly as l, computed as n } from "vue";
5
- const p = (o, ...r) => l(
6
- n(() => c(t[m.locale], o).replace(
7
- /\{(\d+)\}/g,
8
- (a, e) => r[e]
9
- ))
10
- ), d = () => ({
11
- t: p
12
- });
1
+ import { getDefaultExportFromCjs as r } from "./index331.js";
2
+ import { __require as o } from "./index297.js";
3
+ var t = o();
4
+ const s = /* @__PURE__ */ r(t);
13
5
  export {
14
- d as useLocale
6
+ s as default
15
7
  };
package/dist/index224.js CHANGED
@@ -1,22 +1,7 @@
1
- import { MaskInput as r } from "./index244.js";
2
- const u = /* @__PURE__ */ new WeakMap(), p = (a, n) => {
3
- if (a.arg == null || a.instance == null) return;
4
- const s = "setup" in a.instance.$.type;
5
- a.arg in a.instance ? a.instance[a.arg] = n : s && console.warn("Maska: please expose `%s` using defineExpose", a.arg);
6
- }, k = (a, n) => {
7
- var s;
8
- const t = a instanceof HTMLInputElement ? a : a.querySelector("input");
9
- if (t == null || t?.type === "file") return;
10
- let e = {};
11
- if (n.value != null && (e = typeof n.value == "string" ? { mask: n.value } : { ...n.value }), n.arg != null) {
12
- const l = (o) => {
13
- const i = n.modifiers.unmasked ? o.unmasked : n.modifiers.completed ? o.completed : o.masked;
14
- p(n, i);
15
- };
16
- e.onMaska = e.onMaska == null ? l : Array.isArray(e.onMaska) ? [...e.onMaska, l] : [e.onMaska, l];
17
- }
18
- u.has(t) ? (s = u.get(t)) == null || s.update(e) : u.set(t, new r(t, e));
19
- };
1
+ import { getDefaultExportFromCjs as r } from "./index331.js";
2
+ import { __require as e } from "./index299.js";
3
+ var t = e();
4
+ const m = /* @__PURE__ */ r(t);
20
5
  export {
21
- k as vMaska
6
+ m as default
22
7
  };