bitboss-ui 2.0.110 → 2.0.111

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 (154) hide show
  1. package/dist/index100.js +9 -9
  2. package/dist/index111.js +12 -12
  3. package/dist/index119.js +2 -2
  4. package/dist/index121.js +5 -5
  5. package/dist/index125.js +1 -1
  6. package/dist/index127.js +1 -1
  7. package/dist/index128.js +1 -1
  8. package/dist/index129.js +1 -1
  9. package/dist/index13.js +2 -2
  10. package/dist/index131.js +1 -1
  11. package/dist/index133.js +2 -2
  12. package/dist/index15.js +5 -5
  13. package/dist/index17.js +3 -3
  14. package/dist/index19.js +8 -8
  15. package/dist/index206.js +3 -2
  16. package/dist/index207.js +8 -3
  17. package/dist/index208.js +3 -41
  18. package/dist/index209.js +2 -6
  19. package/dist/index21.js +16 -16
  20. package/dist/index210.js +53 -7
  21. package/dist/index212.js +12 -14
  22. package/dist/index213.js +2 -13
  23. package/dist/index214.js +4 -3
  24. package/dist/index215.js +2 -3
  25. package/dist/index216.js +20 -2
  26. package/dist/index217.js +4 -4
  27. package/dist/index218.js +13 -2
  28. package/dist/index219.js +5 -126
  29. package/dist/index220.js +16 -5
  30. package/dist/index221.js +13 -122
  31. package/dist/index222.js +18 -15
  32. package/dist/index223.js +14 -15
  33. package/dist/index224.js +18 -18
  34. package/dist/index225.js +24 -12
  35. package/dist/index226.js +2 -2
  36. package/dist/index227.js +250 -2
  37. package/dist/index228.js +50 -18
  38. package/dist/index229.js +39 -48
  39. package/dist/index23.js +18 -18
  40. package/dist/index230.js +7 -0
  41. package/dist/index231.js +60 -13
  42. package/dist/index232.js +3 -5
  43. package/dist/index233.js +38 -366
  44. package/dist/index234.js +6 -4
  45. package/dist/index235.js +7 -86
  46. package/dist/index236.js +17 -0
  47. package/dist/index237.js +123 -22
  48. package/dist/index238.js +123 -15
  49. package/dist/index239.js +2 -48
  50. package/dist/index240.js +5 -15
  51. package/dist/index241.js +368 -11
  52. package/dist/index242.js +86 -16
  53. package/dist/index244.js +27 -0
  54. package/dist/index245.js +17 -100
  55. package/dist/index246.js +50 -0
  56. package/dist/index247.js +15 -19
  57. package/dist/index248.js +12 -27
  58. package/dist/index249.js +16 -250
  59. package/dist/index25.js +7 -7
  60. package/dist/index250.js +2 -52
  61. package/dist/index251.js +2 -44
  62. package/dist/index252.js +105 -4
  63. package/dist/index254.js +100 -2
  64. package/dist/index256.js +2 -12
  65. package/dist/index257.js +18 -2
  66. package/dist/index258.js +12 -2
  67. package/dist/index263.js +3 -3
  68. package/dist/index265.js +28 -6
  69. package/dist/index266.js +6 -16
  70. package/dist/index267.js +16 -9
  71. package/dist/index268.js +219 -426
  72. package/dist/index269.js +9 -2
  73. package/dist/index27.js +1 -1
  74. package/dist/index270.js +9 -89
  75. package/dist/index271.js +8 -7
  76. package/dist/index272.js +3 -11
  77. package/dist/index274.js +7 -28
  78. package/dist/index276.js +174 -279
  79. package/dist/index277.js +7 -6
  80. package/dist/index278.js +11 -2
  81. package/dist/index279.js +281 -2
  82. package/dist/index280.js +6 -2
  83. package/dist/index281.js +2 -2
  84. package/dist/index284.js +2 -126
  85. package/dist/index285.js +2 -176
  86. package/dist/index286.js +2 -3
  87. package/dist/index288.js +2 -7
  88. package/dist/index289.js +1 -21
  89. package/dist/index29.js +3 -3
  90. package/dist/index290.js +4 -0
  91. package/dist/index291.js +2 -9
  92. package/dist/index292.js +21 -7
  93. package/dist/index294.js +413 -418
  94. package/dist/index295.js +2 -127
  95. package/dist/index296.js +89 -3
  96. package/dist/index297.js +2 -17
  97. package/dist/index298.js +126 -3
  98. package/dist/index299.js +22 -3
  99. package/dist/index301.js +200 -2
  100. package/dist/index302.js +3 -2
  101. package/dist/index303.js +17 -2
  102. package/dist/index304.js +436 -2
  103. package/dist/index305.js +127 -2
  104. package/dist/index306.js +3 -22
  105. package/dist/index307.js +5 -0
  106. package/dist/index308.js +4 -4
  107. package/dist/index309.js +2 -67
  108. package/dist/index31.js +2 -2
  109. package/dist/index310.js +67 -2
  110. package/dist/index312.js +5 -3
  111. package/dist/index313.js +8 -3
  112. package/dist/index314.js +3 -3
  113. package/dist/index315.js +3 -58
  114. package/dist/index316.js +3 -5
  115. package/dist/index317.js +57 -7
  116. package/dist/index318.js +4 -53
  117. package/dist/index319.js +7 -53
  118. package/dist/index320.js +18 -3
  119. package/dist/index321.js +6 -32
  120. package/dist/index322.js +32 -6
  121. package/dist/index323.js +53 -47
  122. package/dist/index324.js +53 -7
  123. package/dist/index325.js +45 -17
  124. package/dist/index326.js +1 -1
  125. package/dist/index327.js +1 -1
  126. package/dist/index33.js +8 -8
  127. package/dist/index35.js +4 -4
  128. package/dist/index37.js +21 -21
  129. package/dist/index39.js +5 -5
  130. package/dist/index41.js +2 -2
  131. package/dist/index43.js +8 -8
  132. package/dist/index45.js +16 -15
  133. package/dist/index47.js +2 -2
  134. package/dist/index49.js +2 -2
  135. package/dist/index53.js +1 -1
  136. package/dist/index55.js +1 -1
  137. package/dist/index57.js +2 -2
  138. package/dist/index61.js +1 -1
  139. package/dist/index77.js +1 -1
  140. package/dist/index79.js +2 -2
  141. package/dist/index81.js +1 -1
  142. package/dist/index84.js +4 -4
  143. package/dist/index86.js +2 -2
  144. package/dist/index88.js +3 -3
  145. package/dist/index90.js +1 -1
  146. package/dist/style.css +1 -1
  147. package/package.json +2 -2
  148. package/dist/index211.js +0 -10
  149. package/dist/index243.js +0 -108
  150. package/dist/index253.js +0 -62
  151. package/dist/index255.js +0 -20
  152. package/dist/index273.js +0 -226
  153. package/dist/index293.js +0 -202
  154. /package/dist/{index300.js → index287.js} +0 -0
package/dist/index100.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as P, mergeModels as b, computed as I, toRef as m, reactive as R, useModel as B, watch as j, openBlock as g, createElementBlock as k, Fragment as x, renderSlot as r, unref as E, createCommentVNode as G, renderList as U } from "vue";
2
- import { useItemValue as W } from "./index291.js";
3
- import { isNil as H } from "./index258.js";
4
- import { indexBy as q } from "./index292.js";
5
- import { hash as w } from "./index215.js";
6
- import { useItemsGetter as z } from "./index237.js";
7
- import { usePrefill as J } from "./index242.js";
8
- import { useIndexById as K } from "./index238.js";
9
- import { useBaseOptions as Q } from "./index239.js";
10
- import { useHashedWatcher as X } from "./index241.js";
2
+ import { useItemValue as W } from "./index270.js";
3
+ import { isNil as H } from "./index251.js";
4
+ import { indexBy as q } from "./index271.js";
5
+ import { hash as w } from "./index208.js";
6
+ import { useItemsGetter as z } from "./index244.js";
7
+ import { usePrefill as J } from "./index249.js";
8
+ import { useIndexById as K } from "./index245.js";
9
+ import { useBaseOptions as Q } from "./index246.js";
10
+ import { useHashedWatcher as X } from "./index248.js";
11
11
  const ne = /* @__PURE__ */ P({
12
12
  __name: "BbRows",
13
13
  props: /* @__PURE__ */ b({
package/dist/index111.js CHANGED
@@ -1,21 +1,21 @@
1
1
  import { defineComponent as me, mergeModels as K, ref as fe, computed as v, toRef as j, useModel as Q, watch as X, reactive as ye, openBlock as n, createBlock as Y, resolveDynamicComponent as he, normalizeClass as p, unref as b, withCtx as ve, createElementBlock as d, toDisplayString as m, createCommentVNode as _, createElementVNode as o, renderSlot as f, isRef as ke, Fragment as I, renderList as T, createVNode as Z, createTextVNode as _e, mergeProps as ge } from "vue";
2
- import { add as Ce } from "./index310.js";
3
- import { clamp as we } from "./index206.js";
4
- import { isNil as $ } from "./index258.js";
2
+ import { add as Ce } from "./index309.js";
3
+ import { clamp as we } from "./index209.js";
4
+ import { isNil as $ } from "./index251.js";
5
5
  import { useId as Ve } from "./index8.js";
6
- import { useItemValue as Be } from "./index291.js";
7
- import { when as Ie } from "./index217.js";
6
+ import { useItemValue as Be } from "./index270.js";
7
+ import { when as Ie } from "./index214.js";
8
8
  import ee from "./index17.js";
9
9
  /* empty css */
10
10
  import Te from "./index31.js";
11
11
  /* empty css */
12
- import { hash as le } from "./index215.js";
13
- import { useItemsGetter as $e } from "./index237.js";
14
- import { usePrefill as Ae } from "./index242.js";
15
- import { useIndexById as xe } from "./index238.js";
16
- import { useBaseOptions as Ne } from "./index239.js";
17
- import { useHashedWatcher as Le } from "./index241.js";
18
- import { useLocale as Se } from "./index213.js";
12
+ import { hash as le } from "./index208.js";
13
+ import { useItemsGetter as $e } from "./index244.js";
14
+ import { usePrefill as Ae } from "./index249.js";
15
+ import { useIndexById as xe } from "./index245.js";
16
+ import { useBaseOptions as Ne } from "./index246.js";
17
+ import { useHashedWatcher as Le } from "./index248.js";
18
+ import { useLocale as Se } from "./index218.js";
19
19
  const He = {
20
20
  key: 0,
21
21
  class: "sr-only"
package/dist/index119.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as l, openBlock as e, createBlock as o, withCtx as r, createElementVNode as c, normalizeClass as m, createVNode as i, TransitionGroup as u, createElementBlock as p, Fragment as f, renderList as _, unref as n, mergeProps as d } from "vue";
2
2
  import { state as k, useToast as b } from "./index11.js";
3
- import C from "./index212.js";
4
- import B from "./index309.js";
3
+ import C from "./index236.js";
4
+ import B from "./index310.js";
5
5
  const V = /* @__PURE__ */ l({
6
6
  __name: "BbToast",
7
7
  props: {
package/dist/index121.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as V, ref as a, watch as H, computed as z, openBlock as B, createElementBlock as I, mergeProps as R, createElementVNode as c, renderSlot as E, normalizeProps as S, guardReactiveProps as U, unref as u, createVNode as W, withCtx as C, createBlock as j, createCommentVNode as q } from "vue";
2
- import { useFloating as A, arrow as G } from "./index219.js";
2
+ import { useFloating as A, arrow as G } from "./index237.js";
3
3
  import { useId as J } from "./index8.js";
4
4
  import { wait as L } from "./index130.js";
5
5
  import K from "./index13.js";
6
6
  /* empty css */
7
- import { throttle as m } from "./index207.js";
8
- import { waitFor as Q } from "./index209.js";
7
+ import { throttle as m } from "./index232.js";
8
+ import { waitFor as Q } from "./index234.js";
9
9
  import X from "./index263.js";
10
10
  /* empty css */
11
- import { useLocale as Y } from "./index213.js";
12
- import { autoUpdate as Z, flip as x, shift as ee, hide as te } from "./index233.js";
11
+ import { useLocale as Y } from "./index218.js";
12
+ import { autoUpdate as Z, flip as x, shift as ee, hide as te } from "./index241.js";
13
13
  const me = /* @__PURE__ */ V({
14
14
  __name: "BbTooltip",
15
15
  props: {
package/dist/index125.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, openBlock as o, createElementBlock as a, createElementVNode as t, renderSlot as p, createTextVNode as b, toDisplayString as m, unref as u, withModifiers as d, createCommentVNode as _ } from "vue";
2
- import { useLocale as f } from "./index213.js";
2
+ import { useLocale as f } from "./index218.js";
3
3
  const h = { class: "bb-chip" }, L = { class: "bb-chip__content" }, k = ["aria-label"], B = /* @__PURE__ */ i({
4
4
  __name: "BbChip",
5
5
  props: {
package/dist/index127.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as v, ref as p, getCurrentInstance as c, onServerPrefetch as w, onBeforeMount as z, inject as _, watch as b, computed as f, openBlock as h, createElementBlock as $, mergeProps as g } from "vue";
2
- import { isCssColor as I } from "./index216.js";
2
+ import { isCssColor as I } from "./index213.js";
3
3
  const B = ["innerHTML"], k = /* @__PURE__ */ v({
4
4
  __name: "BbIcon",
5
5
  props: {
package/dist/index128.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as v, ref as r, onMounted as p, onBeforeUnmount as h, openBlock as i, createBlock as l, resolveDynamicComponent as u, normalizeStyle as m, withCtx as f, renderSlot as d } from "vue";
2
- import { throttle as g } from "./index207.js";
2
+ import { throttle as g } from "./index232.js";
3
3
  const O = /* @__PURE__ */ v({
4
4
  __name: "BbSmoothHeight",
5
5
  props: {
package/dist/index129.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, computed as s, openBlock as b, createElementBlock as a, normalizeProps as _, guardReactiveProps as x, createStaticVNode as m } from "vue";
2
- import { isCssColor as u } from "./index216.js";
2
+ import { isCssColor as u } from "./index213.js";
3
3
  const f = /* @__PURE__ */ p({
4
4
  __name: "BbSpinner",
5
5
  props: {
package/dist/index13.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as h, getCurrentInstance as p, shallowRef as C, watch as x, computed as d, openBlock as S, createBlock as L, resolveDynamicComponent as B, unref as N, mergeProps as $, withCtx as F, renderSlot as w, createTextVNode as A, toDisplayString as P, resolveComponent as f } from "vue";
2
2
  import { _config as a } from "./index4.js";
3
- import { useLogger as m } from "./index211.js";
4
- import { hash as v } from "./index215.js";
3
+ import { useLogger as m } from "./index207.js";
4
+ import { hash as v } from "./index208.js";
5
5
  const q = /* @__PURE__ */ h({
6
6
  __name: "BaseButton",
7
7
  props: {
package/dist/index131.js CHANGED
@@ -1,4 +1,4 @@
1
- import { clamp as o } from "./index206.js";
1
+ import { clamp as o } from "./index209.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/index133.js CHANGED
@@ -1,5 +1,5 @@
1
- import { isArray as p } from "./index316.js";
2
- import { isPlainObject as c } from "./index317.js";
1
+ import { isArray as p } from "./index312.js";
2
+ import { isPlainObject as c } from "./index313.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,10 +1,10 @@
1
1
  import { defineComponent as v, ref as h, computed as g, watchPostEffect as C, openBlock as w, createElementBlock as B, Fragment as V, createVNode as t, normalizeClass as H, withCtx as n, renderSlot as l, createElementVNode as s, normalizeStyle as E, withModifiers as q, withDirectives as I, mergeProps as $, unref as d } from "vue";
2
- import M from "./index229.js";
2
+ import M from "./index210.js";
3
3
  /* empty css */
4
- import L from "./index231.js";
5
- import { vMaska as z } from "./index228.js";
6
- import { isHex as D } from "./index234.js";
7
- import { useLocale as F } from "./index213.js";
4
+ import L from "./index212.js";
5
+ import { vMaska as z } from "./index216.js";
6
+ import { isHex as D } from "./index217.js";
7
+ import { useLocale as F } from "./index218.js";
8
8
  const P = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], N = ["aria-invalid", "aria-label", "disabled", "required"], J = /* @__PURE__ */ v({
9
9
  __name: "BaseColorInput",
10
10
  props: {
package/dist/index17.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as E, ref as m, computed as n, watch as _, openBlock as p, createElementBlock as h, normalizeProps as i, guardReactiveProps as f, mergeProps as k, createCommentVNode as I, createElementVNode as l, renderSlot as F } from "vue";
2
- import { isCssColor as y } from "./index216.js";
3
- import { when as N } from "./index217.js";
4
- import { booleanishToBoolean as S } from "./index218.js";
2
+ import { isCssColor as y } from "./index213.js";
3
+ import { when as N } from "./index214.js";
4
+ import { booleanishToBoolean as S } from "./index215.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, openBlock as z, createBlock as G, unref as B, withCtx as s, renderSlot as l, normalizeProps as h, guardReactiveProps as b, createVNode as R, mergeProps as T } from "vue";
2
2
  import W from "./index17.js";
3
3
  /* empty css */
4
- import K from "./index235.js";
4
+ import K from "./index242.js";
5
5
  /* empty css */
6
- import { useItemsGetter as N } from "./index237.js";
7
- import { useIndexById as w } from "./index238.js";
8
- import { useBaseOptions as U } from "./index239.js";
9
- import { useCoherence as q } from "./index240.js";
10
- import { hash as J } from "./index215.js";
11
- import { useHashedWatcher as C } from "./index241.js";
12
- import { usePrefill as Q } from "./index242.js";
6
+ import { useItemsGetter as N } from "./index244.js";
7
+ import { useIndexById as w } from "./index245.js";
8
+ import { useBaseOptions as U } from "./index246.js";
9
+ import { useCoherence as q } from "./index247.js";
10
+ import { hash as J } from "./index208.js";
11
+ import { useHashedWatcher as C } from "./index248.js";
12
+ import { usePrefill as Q } from "./index249.js";
13
13
  const de = /* @__PURE__ */ j({
14
14
  __name: "BaseCheckboxGroup",
15
15
  props: {
package/dist/index206.js CHANGED
@@ -1,4 +1,5 @@
1
- const n = (t, a, m) => Math.min(Math.max(t, a), m);
1
+ import r from "./index268.js";
2
+ const t = r;
2
3
  export {
3
- n as clamp
4
+ t as deburr
4
5
  };
package/dist/index207.js CHANGED
@@ -1,5 +1,10 @@
1
- import t from "./index270.js";
2
- const r = t;
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
+ });
3
8
  export {
4
- r as throttle
9
+ e as useLogger
5
10
  };
package/dist/index208.js CHANGED
@@ -1,43 +1,5 @@
1
- import { unrefElement as A } from "./index132.js";
2
- import { toValue as n, notNullish as g, tryOnScopeDispose as y } from "./index205.js";
3
- import { ref as i, computed as D, watch as F } from "vue";
4
- import { createFocusTrap as T } from "./index268.js";
5
- function E(f, a = {}) {
6
- let e;
7
- const { immediate: l, ...p } = a, r = i(!1), s = i(!1), c = (t) => e && e.activate(t), u = (t) => e && e.deactivate(t), v = () => {
8
- e && (e.pause(), s.value = !0);
9
- }, m = () => {
10
- e && (e.unpause(), s.value = !1);
11
- }, d = D(() => {
12
- const t = n(f);
13
- return (Array.isArray(t) ? t : [t]).map((h) => {
14
- const o = n(h);
15
- return typeof o == "string" ? o : A(o);
16
- }).filter(g);
17
- });
18
- return F(
19
- d,
20
- (t) => {
21
- t.length && (e = T(t, {
22
- ...p,
23
- onActivate() {
24
- r.value = !0, a.onActivate && a.onActivate();
25
- },
26
- onDeactivate() {
27
- r.value = !1, a.onDeactivate && a.onDeactivate();
28
- }
29
- }), l && c());
30
- },
31
- { flush: "post" }
32
- ), y(() => u()), {
33
- hasFocus: r,
34
- isPaused: s,
35
- activate: c,
36
- deactivate: u,
37
- pause: v,
38
- unpause: m
39
- };
40
- }
1
+ import { hash as o } from "./index265.js";
2
+ const t = (r, h = "bb") => `${h}${o(r)}`;
41
3
  export {
42
- E as useFocusTrap
4
+ t as hash
43
5
  };
package/dist/index209.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 n = (t, a, m) => Math.min(Math.max(t, a), m);
6
2
  export {
7
- o as waitFor
3
+ n as clamp
8
4
  };
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 "./index220.js";
9
- import G from "./index222.js";
10
- import J from "./index223.js";
11
- import K from "./index224.js";
12
- import Q from "./index225.js";
13
- import X from "./index247.js";
14
- import ee from "./index248.js";
15
- import { hash as M } from "./index215.js";
16
- import { last as ae } from "./index227.js";
17
- import { useLogger as te } from "./index211.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
- import { useLocale as de } from "./index213.js";
8
+ import s from "./index219.js";
9
+ import G from "./index220.js";
10
+ import J from "./index221.js";
11
+ import K from "./index222.js";
12
+ import Q from "./index223.js";
13
+ import X from "./index224.js";
14
+ import ee from "./index225.js";
15
+ import { hash as M } from "./index208.js";
16
+ import { last as ae } from "./index226.js";
17
+ import { useLogger as te } from "./index207.js";
18
+ import oe from "./index227.js";
19
+ import le from "./index228.js";
20
+ import re from "./index229.js";
21
+ import B from "./index230.js";
22
+ import se from "./index231.js";
23
+ import { useLocale as de } from "./index218.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,9 +1,55 @@
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
+ import { defineComponent as f, ref as d, openBlock as r, createElementBlock as _, renderSlot as e, createElementVNode as t, createBlock as s, unref as p, createCommentVNode as i, createVNode as c } from "vue";
2
+ /* empty css */
3
+ /* empty css */
4
+ import a from "./index127.js";
5
+ /* empty css */
6
+ import $ from "./index129.js";
7
+ /* empty css */
8
+ import b from "./index322.js";
9
+ const y = { class: "bb-common-input-inner-container__prefix" }, k = { class: "bb-common-input-inner-container__suffix" }, S = /* @__PURE__ */ f({
10
+ __name: "CommonInputInnerContainer",
11
+ props: {
12
+ "append:icon": {},
13
+ "prepend:icon": {},
14
+ preventFocus: { type: Boolean }
15
+ },
16
+ setup(m) {
17
+ const u = m, o = d(), l = () => {
18
+ var n;
19
+ !o.value || u.preventFocus || (n = o.value.querySelector("input")) == null || n.focus();
20
+ };
21
+ return (n, C) => (r(), _("span", {
22
+ ref_key: "container",
23
+ ref: o,
24
+ class: "bb-common-input-inner-container",
25
+ onClick: l
26
+ }, [
27
+ e(n.$slots, "prepend", {}, () => [
28
+ t("span", y, [
29
+ e(n.$slots, "prefix")
30
+ ])
31
+ ]),
32
+ n.$props["prepend:icon"] ? (r(), s(p(a), {
33
+ key: 0,
34
+ class: "bb-common-input-inner-container__prepend-icon",
35
+ type: n.$props["prepend:icon"]
36
+ }, null, 8, ["type"])) : i("", !0),
37
+ e(n.$slots, "default"),
38
+ n.$props["append:icon"] ? (r(), s(p(a), {
39
+ key: 1,
40
+ class: "bb-common-input-inner-container__append-icon",
41
+ type: n.$props["append:icon"]
42
+ }, null, 8, ["type"])) : i("", !0),
43
+ c(p($)),
44
+ c(b),
45
+ e(n.$slots, "append", {}, () => [
46
+ t("span", k, [
47
+ e(n.$slots, "suffix")
48
+ ])
49
+ ])
50
+ ], 512));
51
+ }
52
+ });
7
53
  export {
8
- d as useModalsState
54
+ S as default
9
55
  };
package/dist/index212.js CHANGED
@@ -1,17 +1,15 @@
1
- import { defineComponent as a, getCurrentInstance as c, openBlock as l, createBlock as u, Teleport as f, unref as d, renderSlot as m } from "vue";
2
- const i = /* @__PURE__ */ a({
3
- __name: "BbTeleport",
4
- props: {
5
- target: {}
6
- },
7
- setup(o) {
8
- var t, e;
9
- const r = o, n = !!((e = (t = c()) == null ? void 0 : t.proxy) != null && e.$nuxt), p = r.target || (n ? "#teleports" : "body");
10
- return (s, _) => (l(), u(f, { to: d(p) }, [
11
- m(s.$slots, "default")
12
- ], 8, ["to"]));
13
- }
14
- });
1
+ import { openBlock as t, createElementBlock as n, renderSlot as e } from "vue";
2
+ /* empty css */
3
+ import r from "./index274.js";
4
+ const s = {}, c = { class: "bb-common-input-outer-container" };
5
+ function p(o, a) {
6
+ return t(), n("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]]);
15
13
  export {
16
14
  i as default
17
15
  };
package/dist/index213.js CHANGED
@@ -1,15 +1,4 @@
1
- import { locales as t } from "./index271.js";
2
- import { _config as m } from "./index4.js";
3
- import { get as c } from "./index272.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
+ const s = (r) => !!r && !!r.match(/^(#|var\(--|(rgb|hsl)a?\()/);
13
2
  export {
14
- d as useLocale
3
+ s as isCssColor
15
4
  };
package/dist/index214.js CHANGED
@@ -1,5 +1,6 @@
1
- import r from "./index273.js";
2
- const t = r;
1
+ import { curry as e } from "./index275.js";
2
+ const t = (n, o, r) => n(r) ? o(r) : r, s = e(t);
3
3
  export {
4
- t as deburr
4
+ t as baseWhen,
5
+ s as when
5
6
  };
package/dist/index215.js CHANGED
@@ -1,5 +1,4 @@
1
- import { hash as o } from "./index274.js";
2
- const t = (r, h = "bb") => `${h}${o(r)}`;
1
+ const o = (e) => typeof e == "boolean" ? e : e === "true";
3
2
  export {
4
- t as hash
3
+ o as booleanishToBoolean
5
4
  };
package/dist/index216.js CHANGED
@@ -1,4 +1,22 @@
1
- const s = (r) => !!r && !!r.match(/^(#|var\(--|(rgb|hsl)a?\()/);
1
+ import { MaskInput as r } from "./index276.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
+ };
2
20
  export {
3
- s as isCssColor
21
+ k as vMaska
4
22
  };
package/dist/index217.js CHANGED
@@ -1,6 +1,6 @@
1
- import { curry as e } from "./index275.js";
2
- const t = (n, o, r) => n(r) ? o(r) : r, s = e(t);
1
+ function x(e) {
2
+ return /^#([A-Fa-f0-9]{6})$/.test(e);
3
+ }
3
4
  export {
4
- t as baseWhen,
5
- s as when
5
+ x as isHex
6
6
  };
package/dist/index218.js CHANGED
@@ -1,4 +1,15 @@
1
- const o = (e) => typeof e == "boolean" ? e : e === "true";
1
+ import { locales as t } from "./index277.js";
2
+ import { _config as m } from "./index4.js";
3
+ import { get as c } from "./index278.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
+ });
2
13
  export {
3
- o as booleanishToBoolean
14
+ d as useLocale
4
15
  };