bitboss-ui 2.0.176 → 2.1.1

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 (195) hide show
  1. package/dist/components/BaseButton/BaseButton.vue.d.ts +1 -1
  2. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +0 -4
  3. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +0 -4
  4. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +1 -1
  5. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +0 -4
  6. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +1 -1
  7. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +33 -29
  8. package/dist/components/BbPopover/BbPopover.vue.d.ts +2 -2
  9. package/dist/components/BbSelect/BbSelect.vue.d.ts +0 -4
  10. package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +2 -2
  11. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +2 -2
  12. package/dist/index.css +1 -1
  13. package/dist/index106.js +8 -8
  14. package/dist/index107.js +29 -31
  15. package/dist/index111.js +1 -1
  16. package/dist/index113.js +1 -1
  17. package/dist/index121.js +11 -11
  18. package/dist/index129.js +1 -1
  19. package/dist/index13.js +1 -1
  20. package/dist/index131.js +13 -14
  21. package/dist/index133.js +1 -1
  22. package/dist/index136.js +1 -1
  23. package/dist/index138.js +1 -1
  24. package/dist/index139.js +2 -2
  25. package/dist/index15.js +13 -14
  26. package/dist/index17.js +3 -3
  27. package/dist/index19.js +8 -8
  28. package/dist/index207.js +2 -2
  29. package/dist/index208.js +2 -2
  30. package/dist/index209.js +13 -13
  31. package/dist/index21.js +16 -16
  32. package/dist/index210.js +12 -65
  33. package/dist/index211.js +13 -0
  34. package/dist/index212.js +33 -176
  35. package/dist/index213.js +59 -79
  36. package/dist/index215.js +13 -29
  37. package/dist/index216.js +4 -17
  38. package/dist/index217.js +18 -49
  39. package/dist/index218.js +197 -15
  40. package/dist/index220.js +113 -12
  41. package/dist/index222.js +3 -34
  42. package/dist/index223.js +86 -2
  43. package/dist/index225.js +29 -2
  44. package/dist/index226.js +17 -5
  45. package/dist/index227.js +51 -5
  46. package/dist/index228.js +15 -5
  47. package/dist/index229.js +3 -5
  48. package/dist/index23.js +45 -46
  49. package/dist/index230.js +12 -5
  50. package/dist/index231.js +16 -5
  51. package/dist/index232.js +2 -2
  52. package/dist/index233.js +4 -2
  53. package/dist/index234.js +5 -2
  54. package/dist/index235.js +5 -13
  55. package/dist/index236.js +5 -11
  56. package/dist/index237.js +5 -20
  57. package/dist/index238.js +5 -113
  58. package/dist/index239.js +7 -0
  59. package/dist/index240.js +2 -106
  60. package/dist/index241.js +4 -0
  61. package/dist/index242.js +2 -100
  62. package/dist/index244.js +12 -4
  63. package/dist/index245.js +5 -196
  64. package/dist/index246.js +108 -0
  65. package/dist/index248.js +100 -12
  66. package/dist/index25.js +45 -51
  67. package/dist/index250.js +3 -3
  68. package/dist/index251.js +176 -12
  69. package/dist/index252.js +5 -3
  70. package/dist/index253.js +4 -4
  71. package/dist/index254.js +8 -5
  72. package/dist/index255.js +248 -6
  73. package/dist/index256.js +42 -240
  74. package/dist/index257.js +35 -43
  75. package/dist/index258.js +5 -44
  76. package/dist/index259.js +60 -5
  77. package/dist/index260.js +2 -60
  78. package/dist/index263.js +9 -8
  79. package/dist/index264.js +3 -23
  80. package/dist/index265.js +6 -10
  81. package/dist/index266.js +16 -3
  82. package/dist/index267.js +3 -41
  83. package/dist/index268.js +9 -7
  84. package/dist/index269.js +8 -14
  85. package/dist/index27.js +1 -1
  86. package/dist/index270.js +23 -3
  87. package/dist/index271.js +9 -6
  88. package/dist/index272.js +8 -16
  89. package/dist/index273.js +2 -9
  90. package/dist/index274.js +5 -9
  91. package/dist/index275.js +66 -7
  92. package/dist/index276.js +5 -2
  93. package/dist/index277.js +8 -5
  94. package/dist/index278.js +7 -67
  95. package/dist/index279.js +10 -4
  96. package/dist/index280.js +2 -8
  97. package/dist/{index348.js → index281.js} +1 -1
  98. package/dist/index283.js +7 -3
  99. package/dist/index284.js +4 -3
  100. package/dist/index285.js +5 -17
  101. package/dist/index286.js +4 -28
  102. package/dist/index287.js +3 -2
  103. package/dist/index288.js +17 -4
  104. package/dist/index289.js +28 -4
  105. package/dist/index29.js +3 -3
  106. package/dist/index290.js +3 -280
  107. package/dist/index291.js +3 -2
  108. package/dist/index292.js +271 -116
  109. package/dist/index293.js +2 -2
  110. package/dist/index294.js +123 -13
  111. package/dist/index295.js +2 -2
  112. package/dist/index296.js +13 -14
  113. package/dist/index298.js +9 -9
  114. package/dist/index300.js +14 -17
  115. package/dist/index302.js +19 -3
  116. package/dist/index303.js +2 -7
  117. package/dist/index304.js +3 -11
  118. package/dist/index305.js +1 -1
  119. package/dist/index306.js +2 -3
  120. package/dist/index307.js +6 -3
  121. package/dist/index308.js +18 -5
  122. package/dist/index309.js +2 -2
  123. package/dist/index31.js +2 -2
  124. package/dist/index310.js +27 -5
  125. package/dist/index311.js +2 -19
  126. package/dist/index312.js +2 -2
  127. package/dist/index313.js +2 -27
  128. package/dist/index314.js +2 -2
  129. package/dist/index315.js +1 -1
  130. package/dist/index316.js +21 -1
  131. package/dist/index318.js +5 -2
  132. package/dist/index319.js +701 -22
  133. package/dist/index320.js +356 -0
  134. package/dist/index321.js +53 -466
  135. package/dist/index322.js +1 -1
  136. package/dist/index323.js +8 -5
  137. package/dist/index324.js +6 -200
  138. package/dist/index325.js +7 -700
  139. package/dist/index326.js +7 -354
  140. package/dist/index327.js +221 -51
  141. package/dist/index328.js +58 -2
  142. package/dist/index329.js +58 -7
  143. package/dist/index33.js +8 -8
  144. package/dist/index330.js +32 -46
  145. package/dist/index331.js +27 -128
  146. package/dist/index333.js +128 -6
  147. package/dist/index334.js +366 -16
  148. package/dist/index335.js +46 -32
  149. package/dist/index336.js +7 -28
  150. package/dist/index337.js +21 -0
  151. package/dist/index338.js +92 -57
  152. package/dist/index340.js +3 -8
  153. package/dist/index341.js +128 -5
  154. package/dist/index342.js +434 -6
  155. package/dist/index343.js +125 -226
  156. package/dist/index344.js +474 -85
  157. package/dist/index345.js +43 -478
  158. package/dist/index35.js +4 -4
  159. package/dist/index37.js +19 -20
  160. package/dist/index39.js +13 -13
  161. package/dist/index41.js +2 -2
  162. package/dist/index43.js +8 -8
  163. package/dist/index45.js +8 -8
  164. package/dist/index47.js +2 -2
  165. package/dist/index49.js +3 -3
  166. package/dist/index53.js +1 -1
  167. package/dist/index55.js +1 -1
  168. package/dist/index57.js +1 -1
  169. package/dist/index61.js +3 -3
  170. package/dist/index67.js +1 -1
  171. package/dist/index79.js +18 -19
  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 +152 -225
  177. package/dist/index92.js +2 -2
  178. package/dist/index94.js +11 -12
  179. package/dist/index96.js +1 -1
  180. package/dist/types/CommonProps.d.ts +0 -4
  181. package/package.json +2 -3
  182. package/dist/components/BbTeleport.vue.d.ts +0 -20
  183. package/dist/index219.js +0 -5
  184. package/dist/index221.js +0 -18
  185. package/dist/index224.js +0 -6
  186. package/dist/index249.js +0 -8
  187. package/dist/index282.js +0 -9
  188. package/dist/index317.js +0 -4
  189. package/dist/index332.js +0 -371
  190. package/dist/index339.js +0 -60
  191. package/dist/index346.js +0 -131
  192. package/dist/index349.js +0 -49
  193. package/dist/index350.js +0 -438
  194. package/dist/index351.js +0 -129
  195. /package/dist/{index247.js → index243.js} +0 -0
package/dist/index111.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as v, ref as a, onMounted as m, onBeforeUnmount as p, createBlock as i, openBlock as l, resolveDynamicComponent as u, normalizeStyle as d, withCtx as f, renderSlot as h } from "vue";
2
- import { throttle as g } from "./index270.js";
2
+ import { throttle as g } from "./index267.js";
3
3
  const O = /* @__PURE__ */ v({
4
4
  __name: "BbSmoothHeight",
5
5
  props: {
package/dist/index113.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, computed as s, createElementBlock as b, openBlock as a, normalizeProps as _, guardReactiveProps as x, createStaticVNode as m } from "vue";
2
- import { isCssColor as u } from "./index223.js";
2
+ import { isCssColor as u } from "./index232.js";
3
3
  const f = /* @__PURE__ */ p({
4
4
  __name: "BbSpinner",
5
5
  props: {
package/dist/index121.js CHANGED
@@ -1,21 +1,21 @@
1
1
  import { defineComponent as ue, ref as K, computed as h, toRef as O, watch as D, reactive as pe, createBlock as Q, openBlock as n, resolveDynamicComponent as me, normalizeClass as p, unref as v, withCtx as fe, createElementBlock as d, createCommentVNode as g, createElementVNode as o, toDisplayString as m, renderSlot as f, Fragment as A, renderList as B, createVNode as X, createTextVNode as ye, mergeProps as he } from "vue";
2
- import { add as ve } from "./index276.js";
3
- import { clamp as ke } from "./index208.js";
2
+ import { add as ve } from "./index273.js";
3
+ import { clamp as ke } from "./index207.js";
4
4
  import { isNil as T } from "./index262.js";
5
5
  import { useId as _e } from "./index8.js";
6
- import { useItemValue as ge } from "./index274.js";
7
- import { when as Ce } from "./index224.js";
6
+ import { useItemValue as ge } from "./index271.js";
7
+ import { when as Ce } from "./index233.js";
8
8
  import Y from "./index17.js";
9
9
  /* empty css */
10
10
  import we from "./index31.js";
11
11
  /* empty css */
12
- import { hash as E } from "./index219.js";
13
- import { useItemsGetter as Ie } from "./index215.js";
14
- import { usePrefill as Ve } from "./index221.js";
15
- import { useIndexById as Ae } from "./index216.js";
16
- import { useBaseOptions as Be } from "./index217.js";
17
- import { useHashedWatcher as Te } from "./index220.js";
18
- import { useLocale as $e } from "./index235.js";
12
+ import { hash as E } from "./index229.js";
13
+ import { useItemsGetter as Ie } from "./index225.js";
14
+ import { usePrefill as Ve } from "./index231.js";
15
+ import { useIndexById as Ae } from "./index226.js";
16
+ import { useBaseOptions as Be } from "./index227.js";
17
+ import { useHashedWatcher as Te } from "./index230.js";
18
+ import { useLocale as $e } from "./index210.js";
19
19
  const xe = {
20
20
  key: 0,
21
21
  class: "sr-only"
package/dist/index129.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as a, createElementBlock as o, openBlock as e, normalizeClass as c, createVNode as l, TransitionGroup as m, withCtx as i, Fragment as p, renderList as u, unref as r, createBlock as f, mergeProps as _ } from "vue";
2
2
  import { useToast as d, state as k } from "./index11.js";
3
- import b from "./index278.js";
3
+ import b from "./index275.js";
4
4
  const $ = /* @__PURE__ */ a({
5
5
  __name: "BbToast",
6
6
  props: {
package/dist/index13.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as m, getCurrentInstance as h, computed as r, createBlock as i, openBlock as u, mergeProps as c, withCtx as d, renderSlot as p, createTextVNode as f, toDisplayString as v, resolveDynamicComponent as C } from "vue";
2
- import S from "./index222.js";
2
+ import S from "./index212.js";
3
3
  const A = /* @__PURE__ */ m({
4
4
  __name: "BaseButton",
5
5
  props: {
package/dist/index131.js CHANGED
@@ -1,15 +1,15 @@
1
- import { defineComponent as V, mergeModels as h, ref as k, useModel as $, createBlock as y, openBlock as B, unref as n, normalizeClass as D, withCtx as d, createElementVNode as u, createCommentVNode as O, renderSlot as C, normalizeProps as P, guardReactiveProps as z } from "vue";
2
- import { throttle as m } from "./index270.js";
1
+ import { defineComponent as h, mergeModels as T, ref as k, useModel as $, createBlock as y, openBlock as B, unref as n, normalizeClass as D, withCtx as d, createElementVNode as u, createCommentVNode as O, renderSlot as C, normalizeProps as P, guardReactiveProps as z } from "vue";
2
+ import { throttle as m } from "./index267.js";
3
3
  import { useId as F } from "./index8.js";
4
- import { useLocale as N } from "./index235.js";
5
- import { useUntil as U } from "./index236.js";
4
+ import { useLocale as N } from "./index210.js";
5
+ import { useUntil as U } from "./index211.js";
6
6
  import H from "./index13.js";
7
7
  /* empty css */
8
- import I from "./index238.js";
8
+ import I from "./index220.js";
9
9
  /* empty css */
10
- const W = /* @__PURE__ */ V({
10
+ const W = /* @__PURE__ */ h({
11
11
  __name: "BbTooltip",
12
- props: /* @__PURE__ */ h({
12
+ props: /* @__PURE__ */ T({
13
13
  arrowPadding: { default: 10 },
14
14
  block: { type: Boolean },
15
15
  disabled: { type: Boolean },
@@ -19,7 +19,6 @@ const W = /* @__PURE__ */ V({
19
19
  padding: { default: 10 },
20
20
  placement: { default: "top" },
21
21
  showClose: { type: Boolean, default: !0 },
22
- teleportTarget: {},
23
22
  theme: { default: "default" },
24
23
  transitionDuration: { default: 250 },
25
24
  timeout: { default: 0 }
@@ -32,23 +31,23 @@ const W = /* @__PURE__ */ V({
32
31
  const a = p, { t: L } = N(), c = `bb_${a.id ?? F().id.value}`, s = k(), f = k(!0), o = $(p, "modelValue"), v = U(o);
33
32
  let i;
34
33
  const b = () => {
35
- o.value || a.disabled || (clearTimeout(i), document.addEventListener("mousemove", g, { passive: !0 }), i = setTimeout(() => {
36
- T(), document.addEventListener("keydown", w, { passive: !0 });
34
+ o.value || a.disabled || (clearTimeout(i), document.addEventListener("mousemove", w, { passive: !0 }), i = setTimeout(() => {
35
+ V(), document.addEventListener("keydown", g, { passive: !0 });
37
36
  }, a.timeout));
38
- }, E = b, g = m((e) => {
37
+ }, E = b, w = m((e) => {
39
38
  const t = e.target;
40
39
  if (t && t instanceof HTMLElement) {
41
40
  let r = !0;
42
41
  s.value && s.value.$el.contains(t) && (r = !1), r && l();
43
42
  }
44
- }, a.transitionDuration), w = (e) => {
43
+ }, a.transitionDuration), g = (e) => {
45
44
  o.value && e.key === "Escape" && l();
46
45
  }, M = () => {
47
46
  f.value = !1, l();
48
- }, T = m(async () => {
47
+ }, V = m(async () => {
49
48
  f.value && (o.value = !0);
50
49
  }, a.transitionDuration), l = m(async () => {
51
- clearTimeout(i), document.removeEventListener("mousemove", g), document.removeEventListener("keydown", w), o.value = !1;
50
+ clearTimeout(i), document.removeEventListener("mousemove", w), document.removeEventListener("keydown", g), o.value = !1;
52
51
  }, a.transitionDuration);
53
52
  return (e, t) => (B(), y(I, {
54
53
  ref_key: "wrapper",
package/dist/index133.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 "./index277.js";
2
+ import { flattenTree as T } from "./index274.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/index136.js CHANGED
@@ -1,4 +1,4 @@
1
- import { clamp as o } from "./index208.js";
1
+ import { clamp as o } from "./index207.js";
2
2
  const r = (t, e) => t * 100 / e, p = (t, e) => t / 100 * e, l = (t, e, n) => r(t - e, n - e), P = ({
3
3
  value: t = 0,
4
4
  originalBounds: e,
package/dist/index138.js CHANGED
@@ -1,4 +1,4 @@
1
- import { urlAlphabet as l } from "./index207.js";
1
+ import { urlAlphabet as l } from "./index208.js";
2
2
  let o = (t = 21) => {
3
3
  let e = "", r = crypto.getRandomValues(new Uint8Array(t |= 0));
4
4
  for (; t--; )
package/dist/index139.js CHANGED
@@ -1,5 +1,5 @@
1
- import { isArray as p } from "./index279.js";
2
- import { isPlainObject as c } from "./index280.js";
1
+ import { isArray as p } from "./index276.js";
2
+ import { isPlainObject as c } from "./index277.js";
3
3
  function i(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,16 +1,16 @@
1
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 "./index244.js";
2
+ import { isHex as F } from "./index216.js";
3
3
  import { isNotNil as S } from "./index140.js";
4
- import { useId as T } from "./index8.js";
5
- import { useLocale as A } from "./index235.js";
6
- import { useUntil as K } from "./index236.js";
7
- import { vMaska as O } from "./index237.js";
8
- import P from "./index245.js";
4
+ import { useId as A } from "./index8.js";
5
+ import { useLocale as K } from "./index210.js";
6
+ import { useUntil as O } from "./index211.js";
7
+ import { vMaska as P } from "./index217.js";
8
+ import T from "./index218.js";
9
9
  /* empty css */
10
- import j from "./index210.js";
10
+ import j from "./index213.js";
11
11
  /* empty css */
12
- import G from "./index209.js";
13
- import J from "./index238.js";
12
+ import G from "./index215.js";
13
+ import J from "./index220.js";
14
14
  /* empty css */
15
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({
16
16
  __name: "BaseColorInput",
@@ -31,14 +31,13 @@ const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
31
31
  "prepend:icon": {},
32
32
  readonly: { type: Boolean },
33
33
  required: { type: Boolean },
34
- teleportTarget: {},
35
34
  transitionDuration: { default: 250 }
36
35
  },
37
36
  emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
38
37
  setup(f, { emit: y }) {
39
38
  const n = f, a = y, k = u(
40
39
  null
41
- ), v = n.id ?? `bb_${T().id.value}`, C = u(null), V = u(null), { t: g } = A(), h = L(() => ({
40
+ ), v = n.id ?? `bb_${A().id.value}`, C = u(null), V = u(null), { t: g } = K(), h = L(() => ({
42
41
  "bb-base-color-input": !0,
43
42
  "bb-base-color-input--disabled": n.disabled,
44
43
  "bb-base-color-input--errors": n.hasErrors,
@@ -69,7 +68,7 @@ const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
69
68
  H: { pattern: /[0-9a-fA-F]/ }
70
69
  },
71
70
  eager: !0
72
- }, l = u(!1), H = K(l), p = (e) => {
71
+ }, l = u(!1), H = O(l), p = (e) => {
73
72
  const o = e.target;
74
73
  o && o instanceof HTMLDialogElement && E();
75
74
  }, D = async () => {
@@ -130,7 +129,7 @@ const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
130
129
  "transition-duration": e.transitionDuration
131
130
  }, {
132
131
  default: t(() => [
133
- b(P, {
132
+ b(T, {
134
133
  ref_key: "pallette",
135
134
  ref: V,
136
135
  inert: !l.value,
@@ -156,7 +155,7 @@ const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
156
155
  type: "text",
157
156
  value: e.modelValue
158
157
  }), null, 16, Q), [
159
- [i(O), B]
158
+ [i(P), B]
160
159
  ])
161
160
  ]),
162
161
  _: 3
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 "./index223.js";
3
- import { when as N } from "./index224.js";
4
- import { booleanishToBoolean as S } from "./index225.js";
2
+ import { isCssColor as y } from "./index232.js";
3
+ import { when as N } from "./index233.js";
4
+ import { booleanishToBoolean as S } from "./index260.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 "./index213.js";
4
+ import K from "./index223.js";
5
5
  /* empty css */
6
- import { useItemsGetter as N } from "./index215.js";
7
- import { useIndexById as w } from "./index216.js";
8
- import { useBaseOptions as U } from "./index217.js";
9
- import { useCoherence as q } from "./index218.js";
10
- import { hash as J } from "./index219.js";
11
- import { useHashedWatcher as C } from "./index220.js";
12
- import { usePrefill as Q } from "./index221.js";
6
+ import { useItemsGetter as N } from "./index225.js";
7
+ import { useIndexById as w } from "./index226.js";
8
+ import { useBaseOptions as U } from "./index227.js";
9
+ import { useCoherence as q } from "./index228.js";
10
+ import { hash as J } from "./index229.js";
11
+ import { useHashedWatcher as C } from "./index230.js";
12
+ import { usePrefill as Q } from "./index231.js";
13
13
  const de = /* @__PURE__ */ j({
14
14
  __name: "BaseCheckboxGroup",
15
15
  props: {
package/dist/index207.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/index208.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/index209.js CHANGED
@@ -1,15 +1,15 @@
1
- import { createElementBlock as t, openBlock as n, renderSlot as e } from "vue";
2
- /* empty css */
3
- import r from "./index282.js";
4
- const s = {}, c = { class: "bb-common-input-outer-container" };
5
- function p(o, a) {
6
- return n(), t("span", c, [
7
- e(o.$slots, "prepend-outer"),
8
- e(o.$slots, "default"),
9
- e(o.$slots, "append-outer")
10
- ]);
11
- }
12
- const i = /* @__PURE__ */ r(s, [["render", p]]);
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
+ };
13
13
  export {
14
- i as default
14
+ c as parseSize
15
15
  };
package/dist/index21.js CHANGED
@@ -5,22 +5,22 @@ 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 "./index226.js";
9
- import G from "./index229.js";
10
- import J from "./index230.js";
11
- import K from "./index231.js";
12
- import Q from "./index228.js";
13
- import X from "./index253.js";
14
- import ee from "./index254.js";
15
- import { hash as M } from "./index219.js";
16
- import { last as ae } from "./index234.js";
17
- import { useLogger as te } from "./index255.js";
18
- import oe from "./index256.js";
19
- import le from "./index257.js";
20
- import re from "./index258.js";
21
- import B from "./index259.js";
22
- import se from "./index260.js";
23
- import { useLocale as de } from "./index235.js";
8
+ import s from "./index234.js";
9
+ import G from "./index237.js";
10
+ import J from "./index238.js";
11
+ import K from "./index239.js";
12
+ import Q from "./index236.js";
13
+ import X from "./index252.js";
14
+ import ee from "./index253.js";
15
+ import { hash as M } from "./index229.js";
16
+ import { last as ae } from "./index242.js";
17
+ import { useLogger as te } from "./index254.js";
18
+ import oe from "./index255.js";
19
+ import le from "./index256.js";
20
+ import re from "./index257.js";
21
+ import B from "./index258.js";
22
+ import se from "./index259.js";
23
+ import { useLocale as de } from "./index210.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)" },
26
26
  viewBox: "0 0 24 24",
package/dist/index210.js CHANGED
@@ -1,68 +1,15 @@
1
- import { defineComponent as _, ref as $, createElementBlock as k, openBlock as r, normalizeClass as y, renderSlot as n, createBlock as c, createCommentVNode as s, createVNode as p, createElementVNode as l, unref as i } from "vue";
2
- /* empty css */
3
- /* empty css */
4
- import m from "./index85.js";
5
- /* empty css */
6
- import C from "./index113.js";
7
- /* empty css */
8
- import h from "./index335.js";
9
- import B from "./index336.js";
10
- /* empty css */
11
- const v = { class: "bb-common-input-inner-container__prefix" }, I = { class: "bb-common-input-inner-container__suffix" }, A = /* @__PURE__ */ _({
12
- __name: "CommonInputInnerContainer",
13
- props: {
14
- "append:icon": {},
15
- clearable: { type: Boolean },
16
- "prepend:icon": {},
17
- preventFocus: { type: Boolean }
18
- },
19
- emits: ["click:clear"],
20
- setup(u, { emit: d }) {
21
- const t = u, f = d, o = $(), a = () => {
22
- var e;
23
- !o.value || t.preventFocus || (e = o.value.querySelector("input")) == null || e.focus();
24
- }, b = () => {
25
- f("click:clear"), a();
26
- };
27
- return (e, E) => (r(), k("span", {
28
- ref_key: "container",
29
- ref: o,
30
- class: y(["bb-common-input-inner-container", {
31
- "bb-common-input-inner-container--clearable": t.clearable
32
- }]),
33
- onClick: a
34
- }, [
35
- n(e.$slots, "prepend", {}, () => [
36
- l("span", v, [
37
- n(e.$slots, "prefix")
38
- ])
39
- ]),
40
- e.$props["prepend:icon"] ? (r(), c(i(m), {
41
- key: 0,
42
- class: "bb-common-input-inner-container__prepend-icon",
43
- type: e.$props["prepend:icon"]
44
- }, null, 8, ["type"])) : s("", !0),
45
- n(e.$slots, "default"),
46
- p(B, {
47
- "aria-hidden": !e.clearable,
48
- tabindex: e.clearable ? 0 : -1,
49
- onClick: b
50
- }, null, 8, ["aria-hidden", "tabindex"]),
51
- e.$props["append:icon"] ? (r(), c(i(m), {
52
- key: 1,
53
- class: "bb-common-input-inner-container__append-icon",
54
- type: e.$props["append:icon"]
55
- }, null, 8, ["type"])) : s("", !0),
56
- p(h),
57
- p(i(C)),
58
- n(e.$slots, "append", {}, () => [
59
- l("span", I, [
60
- n(e.$slots, "suffix")
61
- ])
62
- ])
63
- ], 2));
64
- }
1
+ import { locales as t } from "./index278.js";
2
+ import { _config as m } from "./index4.js";
3
+ import { get as c } from "./index279.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
65
12
  });
66
13
  export {
67
- A as default
14
+ d as useLocale
68
15
  };
@@ -0,0 +1,13 @@
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(
4
+ () => u(e),
5
+ (s) => {
6
+ s && (t.value = r, n());
7
+ }
8
+ );
9
+ return t;
10
+ };
11
+ export {
12
+ i as useUntil
13
+ };