bitboss-ui 2.1.32 → 2.1.33

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 (188) hide show
  1. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +6 -6
  2. package/dist/components/BaseColorInput/ColorPallette.vue.d.ts +2 -2
  3. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +4 -0
  4. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +27 -36
  5. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +5 -1
  6. package/dist/components/BbPopover/BbPopover.vue.d.ts +25 -32
  7. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +26 -31
  8. package/dist/components/{CommonPopover.vue.d.ts → CommonPopover2.vue.d.ts} +2 -7
  9. package/dist/composables/useCancelableFunction.d.ts +17 -0
  10. package/dist/index.css +1 -1
  11. package/dist/index106.js +9 -9
  12. package/dist/index111.js +1 -1
  13. package/dist/index113.js +1 -1
  14. package/dist/index121.js +11 -11
  15. package/dist/index129.js +1 -1
  16. package/dist/index13.js +1 -1
  17. package/dist/index131.js +111 -93
  18. package/dist/index133.js +1 -1
  19. package/dist/index135.js +2 -2
  20. package/dist/index139.js +1 -1
  21. package/dist/index140.js +292 -250
  22. package/dist/index141.js +1 -1
  23. package/dist/index142.js +2 -2
  24. package/dist/index15.js +72 -74
  25. package/dist/index17.js +3 -3
  26. package/dist/index19.js +8 -8
  27. package/dist/index21.js +15 -15
  28. package/dist/index212.js +3 -3
  29. package/dist/index213.js +2 -2
  30. package/dist/index214.js +2 -2
  31. package/dist/index215.js +13 -4
  32. package/dist/index216.js +2 -2
  33. package/dist/index217.js +7 -5
  34. package/dist/index218.js +3 -20
  35. package/dist/index219.js +80 -191
  36. package/dist/index221.js +28 -116
  37. package/dist/index222.js +19 -0
  38. package/dist/index223.js +49 -32
  39. package/dist/index224.js +15 -86
  40. package/dist/index225.js +5 -0
  41. package/dist/index226.js +11 -28
  42. package/dist/index227.js +14 -15
  43. package/dist/index228.js +2 -51
  44. package/dist/index229.js +2 -15
  45. package/dist/index23.js +153 -153
  46. package/dist/index230.js +6 -3
  47. package/dist/index231.js +16 -12
  48. package/dist/index232.js +9 -15
  49. package/dist/index233.js +3 -2
  50. package/dist/index234.js +9 -2
  51. package/dist/index235.js +121 -2
  52. package/dist/index237.js +23 -5
  53. package/dist/index238.js +4 -5
  54. package/dist/index239.js +23 -5
  55. package/dist/index240.js +5 -5
  56. package/dist/index241.js +5 -5
  57. package/dist/index242.js +5 -5
  58. package/dist/index243.js +5 -2
  59. package/dist/index244.js +5 -8
  60. package/dist/index245.js +5 -250
  61. package/dist/index246.js +5 -52
  62. package/dist/index247.js +2 -44
  63. package/dist/index248.js +8 -5
  64. package/dist/index249.js +243 -53
  65. package/dist/index25.js +1 -1
  66. package/dist/index250.js +52 -4
  67. package/dist/index251.js +44 -3
  68. package/dist/index252.js +5 -13
  69. package/dist/index253.js +54 -100
  70. package/dist/index254.js +108 -0
  71. package/dist/{index255.js → index256.js} +2 -2
  72. package/dist/index258.js +2 -183
  73. package/dist/index259.js +4 -7
  74. package/dist/index260.js +5 -2
  75. package/dist/index261.js +2 -2
  76. package/dist/index262.js +19 -6
  77. package/dist/index263.js +2 -7
  78. package/dist/index264.js +6 -17
  79. package/dist/index265.js +7 -12
  80. package/dist/index266.js +33 -5
  81. package/dist/index267.js +2 -229
  82. package/dist/index268.js +18 -5
  83. package/dist/index269.js +11 -9
  84. package/dist/index27.js +1 -1
  85. package/dist/index270.js +229 -3
  86. package/dist/index271.js +3 -9
  87. package/dist/index272.js +4 -23
  88. package/dist/index273.js +197 -3
  89. package/dist/index275.js +183 -6
  90. package/dist/index276.js +7 -16
  91. package/dist/index277.js +9 -9
  92. package/dist/index278.js +9 -8
  93. package/dist/index279.js +8 -33
  94. package/dist/index280.js +33 -28
  95. package/dist/index281.js +30 -0
  96. package/dist/index283.js +2 -5
  97. package/dist/index284.js +5 -8
  98. package/dist/index285.js +67 -2
  99. package/dist/index286.js +7 -5
  100. package/dist/index287.js +11 -3
  101. package/dist/index288.js +5 -3
  102. package/dist/index289.js +3 -7
  103. package/dist/index29.js +3 -3
  104. package/dist/index290.js +17 -11
  105. package/dist/index291.js +28 -2
  106. package/dist/index292.js +718 -4
  107. package/dist/index293.js +366 -3
  108. package/dist/index294.js +55 -14
  109. package/dist/index295.js +3 -28
  110. package/dist/index296.js +280 -4
  111. package/dist/index297.js +2 -5
  112. package/dist/index298.js +13 -277
  113. package/dist/index299.js +2 -2
  114. package/dist/index300.js +9 -9
  115. package/dist/index302.js +17 -14
  116. package/dist/index304.js +12 -16
  117. package/dist/index306.js +15 -11
  118. package/dist/index308.js +23 -15
  119. package/dist/index31.js +2 -2
  120. package/dist/index310.js +2 -27
  121. package/dist/index311.js +2 -2
  122. package/dist/index312.js +1 -1
  123. package/dist/index313.js +1 -1
  124. package/dist/index314.js +21 -1
  125. package/dist/index316.js +3 -22
  126. package/dist/index317.js +5 -0
  127. package/dist/index318.js +6 -3
  128. package/dist/index319.js +4 -3
  129. package/dist/index320.js +124 -5
  130. package/dist/index321.js +2 -2
  131. package/dist/index322.js +2 -125
  132. package/dist/index324.js +3 -5
  133. package/dist/index325.js +5 -718
  134. package/dist/index326.js +8 -366
  135. package/dist/index327.js +2 -58
  136. package/dist/index328.js +7 -0
  137. package/dist/index329.js +1 -1
  138. package/dist/index33.js +8 -8
  139. package/dist/index330.js +4 -2
  140. package/dist/index331.js +92 -7
  141. package/dist/index332.js +34 -5
  142. package/dist/index333.js +6 -8
  143. package/dist/index334.js +128 -57
  144. package/dist/index335.js +367 -56
  145. package/dist/index336.js +56 -6
  146. package/dist/index337.js +57 -128
  147. package/dist/index338.js +2 -369
  148. package/dist/index339.js +6 -6
  149. package/dist/index340.js +6 -18
  150. package/dist/index341.js +17 -226
  151. package/dist/index342.js +46 -6
  152. package/dist/index343.js +7 -46
  153. package/dist/index344.js +5 -92
  154. package/dist/index345.js +7 -128
  155. package/dist/index346.js +223 -431
  156. package/dist/index347.js +123 -121
  157. package/dist/index348.js +421 -473
  158. package/dist/index349.js +125 -48
  159. package/dist/index35.js +3 -3
  160. package/dist/index350.js +490 -0
  161. package/dist/index351.js +52 -0
  162. package/dist/index37.js +263 -271
  163. package/dist/index39.js +7 -7
  164. package/dist/index41.js +2 -2
  165. package/dist/index43.js +8 -8
  166. package/dist/index45.js +6 -6
  167. package/dist/index49.js +1 -1
  168. package/dist/index55.js +1 -1
  169. package/dist/index57.js +2 -2
  170. package/dist/index61.js +2 -2
  171. package/dist/index79.js +206 -182
  172. package/dist/index81.js +1 -1
  173. package/dist/index83.js +2 -2
  174. package/dist/index85.js +1 -1
  175. package/dist/index87.js +1 -1
  176. package/dist/index90.js +1 -1
  177. package/dist/index92.js +1 -1
  178. package/dist/index94.js +121 -117
  179. package/dist/index96.js +1 -1
  180. package/dist/utilities/functions/extractDomContainer.d.ts +1 -0
  181. package/dist/utilities/functions/parseWidthString.d.ts +6 -0
  182. package/package.json +2 -2
  183. package/dist/index236.js +0 -7
  184. package/dist/index257.js +0 -4
  185. package/dist/index274.js +0 -11
  186. package/dist/index282.js +0 -69
  187. package/dist/index315.js +0 -4
  188. package/dist/index323.js +0 -4
package/dist/index141.js CHANGED
@@ -1,4 +1,4 @@
1
- import { urlAlphabet as l } from "./index213.js";
1
+ import { urlAlphabet as l } from "./index214.js";
2
2
  let o = (t = 21) => {
3
3
  let e = "", r = crypto.getRandomValues(new Uint8Array(t |= 0));
4
4
  for (; t--; )
package/dist/index142.js CHANGED
@@ -1,5 +1,5 @@
1
- import { isArray as p } from "./index283.js";
2
- import { isPlainObject as i } from "./index284.js";
1
+ import { isArray as p } from "./index325.js";
2
+ import { isPlainObject as i } from "./index326.js";
3
3
  function f(e, n, u, l, r) {
4
4
  const o = {}.propertyIsEnumerable.call(l, n) ? "enumerable" : "nonenumerable";
5
5
  o === "enumerable" && (e[n] = u), r && o === "nonenumerable" && Object.defineProperty(e, n, {
package/dist/index15.js CHANGED
@@ -1,18 +1,17 @@
1
- import { defineComponent as I, ref as u, computed as L, createBlock as c, openBlock as m, normalizeClass as M, withCtx as t, createVNode as b, unref as i, createCommentVNode as _, withDirectives as N, createElementVNode as d, mergeProps as q, renderSlot as r, withModifiers as z, normalizeStyle as U } from "vue";
2
- import { isHex as F } from "./index215.js";
3
- import { isNotNil as S } from "./index143.js";
4
- import { useId as A } from "./index8.js";
5
- import { useLocale as K } from "./index216.js";
6
- import { useUntil as O } from "./index217.js";
7
- import { vMaska as P } from "./index218.js";
8
- import T from "./index219.js";
1
+ import { defineComponent as H, ref as s, computed as D, createBlock as E, openBlock as I, normalizeClass as L, withCtx as l, createVNode as d, unref as u, withDirectives as M, createElementVNode as p, mergeProps as _, renderSlot as r, withModifiers as q, normalizeStyle as N } from "vue";
2
+ import { isHex as z } from "./index272.js";
3
+ import { isNotNil as F } from "./index143.js";
4
+ import { useId as S } from "./index8.js";
5
+ import { useLocale as U } from "./index216.js";
6
+ import { vMaska as A } from "./index262.js";
7
+ import K from "./index273.js";
9
8
  /* empty css */
10
- import j from "./index135.js";
9
+ import O from "./index135.js";
11
10
  /* empty css */
12
- import G from "./index137.js";
13
- import J from "./index221.js";
11
+ import P from "./index137.js";
12
+ import T from "./index235.js";
14
13
  /* empty css */
15
- const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], R = ["aria-label"], W = { class: "bb-common-input-inner-container__suffix" }, de = /* @__PURE__ */ I({
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" }, re = /* @__PURE__ */ H({
16
15
  __name: "BaseColorInput",
17
16
  props: {
18
17
  "append:icon": {},
@@ -34,18 +33,18 @@ const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
34
33
  transitionDuration: { default: 250 }
35
34
  },
36
35
  emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
37
- setup(f, { emit: y }) {
38
- const n = f, a = y, k = u(
36
+ setup(b, { emit: f }) {
37
+ const n = b, a = f, y = s(
39
38
  null
40
- ), v = n.id ?? `bb_${A().id.value}`, C = u(null), V = u(null), { t: g } = K(), h = L(() => ({
39
+ ), v = n.id ?? `bb_${S().id.value}`, c = s(null), k = s(null), { t: V } = U(), C = D(() => ({
41
40
  "bb-base-color-input": !0,
42
41
  "bb-base-color-input--disabled": n.disabled,
43
42
  "bb-base-color-input--errors": n.hasErrors,
44
43
  "bb-base-color-input--loading": n.loading,
45
44
  "bb-base-color-input--readonly": n.readonly,
46
45
  "bb-base-color-input--compact": n.compact,
47
- "bb-base-color-input--active": l.value
48
- })), w = {
46
+ "bb-base-color-input--active": t.value
47
+ })), h = {
49
48
  onBlur: (e) => a("blur", e),
50
49
  onChange: (e) => a("change", e),
51
50
  onClick: (e) => a("click", e),
@@ -58,89 +57,68 @@ const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
58
57
  onMouseup: (e) => a("mouseup", e),
59
58
  onMaska: (e) => {
60
59
  const o = e.detail;
61
- F(o.masked) ? a("update:modelValue", o.masked) : o.masked === "" && a("update:modelValue", null);
60
+ z(o.masked) ? a("update:modelValue", o.masked) : o.masked === "" && a("update:modelValue", null);
62
61
  }
63
- }, $ = () => {
64
- D();
65
- }, B = {
62
+ }, g = () => {
63
+ $();
64
+ }, w = {
66
65
  mask: "!#HHHHHH",
67
66
  tokens: {
68
67
  H: { pattern: /[0-9a-fA-F]/ }
69
68
  },
70
69
  eager: !0
71
- }, l = u(!1), H = O(l), p = (e) => {
70
+ }, t = s(!1), m = (e) => {
72
71
  const o = e.target;
73
- o && o instanceof HTMLDialogElement && E();
74
- }, D = async () => {
75
- l.value = !0, document.addEventListener("click", p, { passive: !0 });
76
- }, E = async () => {
77
- l.value = !1, document.removeEventListener("click", p);
72
+ o && o instanceof HTMLDialogElement && B();
73
+ }, $ = async () => {
74
+ t.value = !0, document.addEventListener("click", m, { passive: !0 });
75
+ }, B = async () => {
76
+ t.value = !1, document.removeEventListener("click", m);
78
77
  };
79
- return (e, o) => (m(), c(G, {
78
+ return (e, o) => (I(), E(P, {
80
79
  ref_key: "wrapper",
81
- ref: k,
82
- class: M(h.value)
80
+ ref: y,
81
+ class: L(C.value)
83
82
  }, {
84
- "prepend-outer": t(() => [
83
+ "prepend-outer": l(() => [
85
84
  r(e.$slots, "prepend-outer")
86
85
  ]),
87
- "append-outer": t(() => [
86
+ "append-outer": l(() => [
88
87
  r(e.$slots, "append-outer")
89
88
  ]),
90
- default: t(() => [
91
- b(j, {
89
+ default: l(() => [
90
+ d(O, {
92
91
  ref_key: "innerContainer",
93
- ref: C,
92
+ ref: c,
94
93
  "append:icon": n["append:icon"],
95
- clearable: e.clearable && i(S)(e.modelValue),
94
+ clearable: e.clearable && u(F)(e.modelValue),
96
95
  "prepend:icon": n["prepend:icon"],
97
- "onClick:clear": o[2] || (o[2] = (s) => e.$emit("update:modelValue", null))
96
+ "onClick:clear": o[0] || (o[0] = (i) => e.$emit("update:modelValue", null))
98
97
  }, {
99
- prepend: t(() => [
98
+ prepend: l(() => [
100
99
  r(e.$slots, "prepend")
101
100
  ]),
102
- prefix: t(() => [
101
+ prefix: l(() => [
103
102
  r(e.$slots, "prefix")
104
103
  ]),
105
- append: t(() => [
106
- d("button", {
104
+ append: l(() => [
105
+ p("button", {
107
106
  ref: "indicator",
108
- "aria-label": i(g)("colorInput.paletteLabel").value,
107
+ "aria-label": u(V)("colorInput.paletteLabel").value,
109
108
  class: "bb-base-color-input__indicator",
110
- style: U({ backgroundColor: n.modelValue ?? void 0 }),
109
+ style: N({ backgroundColor: n.modelValue ?? void 0 }),
111
110
  type: "button",
112
- onClick: z($, ["stop"])
113
- }, null, 12, R),
111
+ onClick: q(g, ["stop"])
112
+ }, null, 12, G),
114
113
  r(e.$slots, "append", {}, () => [
115
- d("span", W, [
114
+ p("span", J, [
116
115
  r(e.$slots, "suffix")
117
116
  ])
118
117
  ])
119
118
  ]),
120
- default: t(() => [
121
- i(H) ? (m(), c(J, {
122
- key: 0,
123
- modelValue: l.value,
124
- "onUpdate:modelValue": o[1] || (o[1] = (s) => l.value = s),
125
- block: !0,
126
- class: "bb-base-color-input__pallette",
127
- dialog: "",
128
- offset: 4,
129
- "transition-duration": e.transitionDuration
130
- }, {
131
- default: t(() => [
132
- b(T, {
133
- ref_key: "pallette",
134
- ref: V,
135
- inert: !l.value,
136
- "model-value": e.modelValue,
137
- "onUpdate:modelValue": o[0] || (o[0] = (s) => a("update:modelValue", s))
138
- }, null, 8, ["inert", "model-value"])
139
- ]),
140
- _: 1
141
- }, 8, ["modelValue", "transition-duration"])) : _("", !0),
142
- N(d("input", q(w, {
143
- id: i(v),
119
+ default: l(() => [
120
+ M(p("input", _(h, {
121
+ id: u(v),
144
122
  "aria-describedby": e.ariaDescribedby,
145
123
  "aria-invalid": e.hasErrors ? !0 : void 0,
146
124
  autocomplete: e.autocomplete,
@@ -154,17 +132,37 @@ const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
154
132
  size: "1",
155
133
  type: "text",
156
134
  value: e.modelValue
157
- }), null, 16, Q), [
158
- [i(P), B]
135
+ }), null, 16, j), [
136
+ [u(A), w]
159
137
  ])
160
138
  ]),
161
139
  _: 3
162
- }, 8, ["append:icon", "clearable", "prepend:icon"])
140
+ }, 8, ["append:icon", "clearable", "prepend:icon"]),
141
+ d(T, {
142
+ modelValue: t.value,
143
+ "onUpdate:modelValue": o[2] || (o[2] = (i) => t.value = i),
144
+ anchor: c.value,
145
+ class: "bb-base-color-input__pallette",
146
+ dialog: "",
147
+ offset: 4,
148
+ "transition-duration": e.transitionDuration
149
+ }, {
150
+ default: l(() => [
151
+ d(K, {
152
+ ref_key: "pallette",
153
+ ref: k,
154
+ inert: !t.value,
155
+ "model-value": e.modelValue,
156
+ "onUpdate:modelValue": o[1] || (o[1] = (i) => a("update:modelValue", i))
157
+ }, null, 8, ["inert", "model-value"])
158
+ ]),
159
+ _: 1
160
+ }, 8, ["modelValue", "anchor", "transition-duration"])
163
161
  ]),
164
162
  _: 3
165
163
  }, 8, ["class"]));
166
164
  }
167
165
  });
168
166
  export {
169
- de as default
167
+ re as default
170
168
  };
package/dist/index17.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as E, ref as m, computed as n, watch as _, createElementBlock as p, openBlock as h, normalizeProps as i, guardReactiveProps as f, createCommentVNode as I, createElementVNode as l, mergeProps as k, renderSlot as F } from "vue";
2
- import { isCssColor as y } from "./index235.js";
3
- import { when as N } from "./index250.js";
4
- import { booleanishToBoolean as S } from "./index233.js";
2
+ import { isCssColor as y } from "./index228.js";
3
+ import { when as N } from "./index259.js";
4
+ import { booleanishToBoolean as S } from "./index267.js";
5
5
  const A = {
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 j, ref as k, toRef as d, createBlock as z, openBlock as G, unref as B, withCtx as s, renderSlot as l, normalizeProps as b, guardReactiveProps as v, createVNode as R, mergeProps as T } from "vue";
2
2
  import W from "./index17.js";
3
3
  /* empty css */
4
- import K from "./index224.js";
4
+ import K from "./index219.js";
5
5
  /* empty css */
6
- import { useItemsGetter as N } from "./index226.js";
7
- import { useIndexById as w } from "./index227.js";
8
- import { useBaseOptions as U } from "./index228.js";
9
- import { useCoherence as q } from "./index229.js";
10
- import { hash as J } from "./index230.js";
11
- import { useHashedWatcher as C } from "./index231.js";
12
- import { usePrefill as Q } from "./index232.js";
6
+ import { useItemsGetter as N } from "./index221.js";
7
+ import { useIndexById as w } from "./index222.js";
8
+ import { useBaseOptions as U } from "./index223.js";
9
+ import { useCoherence as q } from "./index224.js";
10
+ import { hash as J } from "./index225.js";
11
+ import { useHashedWatcher as C } from "./index226.js";
12
+ import { usePrefill as Q } from "./index227.js";
13
13
  const de = /* @__PURE__ */ j({
14
14
  __name: "BaseCheckboxGroup",
15
15
  props: {
package/dist/index21.js CHANGED
@@ -5,21 +5,21 @@ import { _config as C } from "./index4.js";
5
5
  import { useId as F } from "./index8.js";
6
6
  import f from "./index13.js";
7
7
  /* empty css */
8
- import s from "./index236.js";
9
- import G from "./index237.js";
10
- import J from "./index238.js";
11
- import K from "./index239.js";
12
- import Q from "./index240.js";
13
- import X from "./index241.js";
14
- import ee from "./index242.js";
15
- import { hash as M } from "./index230.js";
16
- import { last as ae } from "./index243.js";
17
- import { useLogger as te } from "./index244.js";
18
- import oe from "./index245.js";
19
- import le from "./index246.js";
20
- import re from "./index247.js";
21
- import B from "./index248.js";
22
- import se from "./index249.js";
8
+ import s from "./index240.js";
9
+ import G from "./index241.js";
10
+ import J from "./index242.js";
11
+ import K from "./index243.js";
12
+ import Q from "./index244.js";
13
+ import X from "./index245.js";
14
+ import ee from "./index246.js";
15
+ import { hash as M } from "./index225.js";
16
+ import { last as ae } from "./index247.js";
17
+ import { useLogger as te } from "./index248.js";
18
+ import oe from "./index249.js";
19
+ import le from "./index250.js";
20
+ import re from "./index251.js";
21
+ import B from "./index252.js";
22
+ import se from "./index253.js";
23
23
  import { useLocale as de } from "./index216.js";
24
24
  const ie = { class: "bb-base-date-picker" }, ne = { class: "bb-base-date-picker__body" }, ue = { class: "bb-base-date-picker__controls" }, me = { class: "sr-only" }, pe = { class: "sr-only" }, ce = { class: "sr-only" }, fe = {
25
25
  style: { transform: "rotate(180deg)" },
package/dist/index212.js CHANGED
@@ -1,6 +1,6 @@
1
- import { getCurrentScope as O, onScopeDispose as W, onMounted as S, nextTick as C, watch as F, isRef as P, getCurrentInstance as g, toValue as b, hasInjectionContext as k, inject as v } from "vue";
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
2
  function V(e) {
3
- return O() ? (W(e), !0) : !1;
3
+ return S() ? (C(e), !0) : !1;
4
4
  }
5
5
  const w = /* @__PURE__ */ new WeakMap(), E = (...e) => {
6
6
  var r;
@@ -89,7 +89,7 @@ function N(e, r, n = {}) {
89
89
  );
90
90
  }
91
91
  function K(e, r = !0, n) {
92
- L() ? S(e, n) : r ? e() : C(e);
92
+ L() ? O(e, n) : r ? e() : W(e);
93
93
  }
94
94
  function Q(e, r, n = {}) {
95
95
  const {
package/dist/index213.js CHANGED
@@ -1,4 +1,4 @@
1
- const t = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
1
+ const n = (t, a, m) => Math.min(Math.max(t, a), m);
2
2
  export {
3
- t as urlAlphabet
3
+ n as clamp
4
4
  };
package/dist/index214.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/index215.js CHANGED
@@ -1,6 +1,15 @@
1
- function x(e) {
2
- return /^#([A-Fa-f0-9]{6})$/.test(e);
3
- }
1
+ const c = (t, r) => {
2
+ if (typeof t == "string") {
3
+ const e = /^(\d+)([a-zA-Z%]+)?$/, n = t.match(e);
4
+ if (n) {
5
+ const [, o, a] = n;
6
+ return a ? t : o + "px";
7
+ } else if (t in r)
8
+ return r[t] + "px";
9
+ throw new Error(`Invalid size: ${t}`);
10
+ }
11
+ return t + "px";
12
+ };
4
13
  export {
5
- x as isHex
14
+ c as parseSize
6
15
  };
package/dist/index216.js CHANGED
@@ -1,6 +1,6 @@
1
- import { locales as t } from "./index289.js";
1
+ import { locales as t } from "./index286.js";
2
2
  import { _config as m } from "./index4.js";
3
- import { get as c } from "./index290.js";
3
+ import { get as c } from "./index287.js";
4
4
  import { readonly as l, computed as n } from "vue";
5
5
  const p = (o, ...r) => l(
6
6
  n(() => c(t[m.locale], o).replace(
package/dist/index217.js CHANGED
@@ -1,13 +1,15 @@
1
- import { ref as a, watch as c, toValue as u } from "vue";
2
- const i = (e, { initialValue: o = !1, nextValue: r = !0 } = {}) => {
3
- const t = a(o), n = c(
1
+ import { ref as c, watch as f, toValue as u } from "vue";
2
+ const p = (e, { initialValue: r = !1, nextValue: o = !0 } = {}) => {
3
+ const t = c(r);
4
+ if (r) return t;
5
+ const n = f(
4
6
  () => u(e),
5
7
  (s) => {
6
- s && (t.value = r, n());
8
+ s && (t.value = o, n());
7
9
  }
8
10
  );
9
11
  return t;
10
12
  };
11
13
  export {
12
- i as useUntil
14
+ p as useUntil
13
15
  };
package/dist/index218.js CHANGED
@@ -1,22 +1,5 @@
1
- import { MaskInput as r } from "./index258.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 == null ? void 0 : 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 t from "./index288.js";
2
+ const r = t;
20
3
  export {
21
- k as vMaska
4
+ r as throttle
22
5
  };