bitboss-ui 2.0.145 → 2.0.147

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 (170) hide show
  1. package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +9 -0
  2. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +10 -0
  3. package/dist/index100.js +9 -9
  4. package/dist/index111.js +12 -12
  5. package/dist/index117.js +18 -14
  6. package/dist/index119.js +2 -2
  7. package/dist/index121.js +6 -6
  8. package/dist/index123.js +1 -1
  9. package/dist/index125.js +1 -1
  10. package/dist/index127.js +1 -1
  11. package/dist/index128.js +1 -1
  12. package/dist/index129.js +1 -1
  13. package/dist/index13.js +1 -1
  14. package/dist/index131.js +1 -1
  15. package/dist/index133.js +1 -1
  16. package/dist/index134.js +2 -2
  17. package/dist/index15.js +8 -8
  18. package/dist/index17.js +3 -3
  19. package/dist/index19.js +8 -8
  20. package/dist/index207.js +2 -2
  21. package/dist/index208.js +2 -2
  22. package/dist/index209.js +4 -5
  23. package/dist/index21.js +16 -16
  24. package/dist/index210.js +40 -15
  25. package/dist/index211.js +19 -15
  26. package/dist/index212.js +94 -19
  27. package/dist/index214.js +199 -18
  28. package/dist/index216.js +66 -3
  29. package/dist/index218.js +13 -8
  30. package/dist/index219.js +12 -249
  31. package/dist/index220.js +2 -52
  32. package/dist/index221.js +4 -44
  33. package/dist/index222.js +2 -5
  34. package/dist/index223.js +80 -54
  35. package/dist/index225.js +29 -2
  36. package/dist/index226.js +17 -4
  37. package/dist/index227.js +51 -2
  38. package/dist/index228.js +15 -34
  39. package/dist/index229.js +3 -4
  40. package/dist/index23.js +16 -16
  41. package/dist/index230.js +11 -40
  42. package/dist/index231.js +15 -19
  43. package/dist/index232.js +28 -88
  44. package/dist/index233.js +5 -0
  45. package/dist/index234.js +3 -200
  46. package/dist/index235.js +8 -0
  47. package/dist/index236.js +7 -66
  48. package/dist/index237.js +10 -0
  49. package/dist/index238.js +14 -12
  50. package/dist/index239.js +5 -86
  51. package/dist/index240.js +18 -0
  52. package/dist/index241.js +16 -29
  53. package/dist/index242.js +17 -15
  54. package/dist/index243.js +15 -51
  55. package/dist/index244.js +19 -15
  56. package/dist/index245.js +27 -12
  57. package/dist/index246.js +2 -16
  58. package/dist/index247.js +245 -120
  59. package/dist/index248.js +52 -2
  60. package/dist/index249.js +43 -5
  61. package/dist/index25.js +7 -7
  62. package/dist/index250.js +5 -2
  63. package/dist/index251.js +60 -3
  64. package/dist/index252.js +125 -3
  65. package/dist/index253.js +2 -7
  66. package/dist/index254.js +2 -15
  67. package/dist/index255.js +18 -2
  68. package/dist/index256.js +126 -2
  69. package/dist/index257.js +105 -17
  70. package/dist/index259.js +47 -53
  71. package/dist/index261.js +12 -100
  72. package/dist/index262.js +230 -0
  73. package/dist/index263.js +368 -11
  74. package/dist/index264.js +2 -228
  75. package/dist/index265.js +2 -369
  76. package/dist/index266.js +174 -8
  77. package/dist/index267.js +9 -2
  78. package/dist/index268.js +2 -8
  79. package/dist/index269.js +6 -23
  80. package/dist/index27.js +1 -1
  81. package/dist/index270.js +16 -9
  82. package/dist/index271.js +9 -6
  83. package/dist/index272.js +23 -16
  84. package/dist/index273.js +8 -280
  85. package/dist/index274.js +4 -6
  86. package/dist/index275.js +431 -2
  87. package/dist/index276.js +3 -2
  88. package/dist/index277.js +3 -2
  89. package/dist/index278.js +3 -2
  90. package/dist/index280.js +7 -2
  91. package/dist/index281.js +7 -2
  92. package/dist/index282.js +11 -2
  93. package/dist/index283.js +3 -2
  94. package/dist/index284.js +17 -2
  95. package/dist/index285.js +9 -2
  96. package/dist/index287.js +1 -21
  97. package/dist/index288.js +202 -0
  98. package/dist/index289.js +8 -7
  99. package/dist/index29.js +3 -3
  100. package/dist/index290.js +224 -7
  101. package/dist/index291.js +2 -11
  102. package/dist/index292.js +88 -3
  103. package/dist/index293.js +281 -2
  104. package/dist/index294.js +5 -430
  105. package/dist/index295.js +2 -176
  106. package/dist/index296.js +2 -3
  107. package/dist/index297.js +2 -3
  108. package/dist/index298.js +2 -3
  109. package/dist/index300.js +2 -3
  110. package/dist/index301.js +2 -17
  111. package/dist/index302.js +2 -9
  112. package/dist/index303.js +2 -200
  113. package/dist/index304.js +2 -2
  114. package/dist/index305.js +2 -8
  115. package/dist/index306.js +22 -224
  116. package/dist/index308.js +2 -89
  117. package/dist/index31.js +2 -2
  118. package/dist/index310.js +1 -1
  119. package/dist/index311.js +1 -1
  120. package/dist/index312.js +1 -1
  121. package/dist/index315.js +67 -5
  122. package/dist/index316.js +5 -2
  123. package/dist/index317.js +2 -67
  124. package/dist/index321.js +4 -6
  125. package/dist/index322.js +7 -18
  126. package/dist/index323.js +479 -57
  127. package/dist/index324.js +8 -58
  128. package/dist/index325.js +5 -32
  129. package/dist/index326.js +8 -28
  130. package/dist/index327.js +35 -0
  131. package/dist/index328.js +28 -5
  132. package/dist/index33.js +8 -8
  133. package/dist/index330.js +58 -7
  134. package/dist/index331.js +58 -8
  135. package/dist/index332.js +3 -5
  136. package/dist/index333.js +7 -8
  137. package/dist/index334.js +19 -480
  138. package/dist/index335.js +46 -3
  139. package/dist/index336.js +6 -46
  140. package/dist/index337.js +1 -1
  141. package/dist/index339.js +1 -1
  142. package/dist/index35.js +4 -4
  143. package/dist/index37.js +22 -22
  144. package/dist/index39.js +5 -5
  145. package/dist/index41.js +2 -2
  146. package/dist/index43.js +8 -8
  147. package/dist/index45.js +8 -8
  148. package/dist/index47.js +2 -2
  149. package/dist/index49.js +50 -41
  150. package/dist/index53.js +1 -1
  151. package/dist/index55.js +1 -1
  152. package/dist/index57.js +2 -2
  153. package/dist/index61.js +8 -8
  154. package/dist/index75.js +3 -3
  155. package/dist/index77.js +1 -1
  156. package/dist/index79.js +2 -2
  157. package/dist/index81.js +1 -1
  158. package/dist/index84.js +4 -4
  159. package/dist/index86.js +2 -2
  160. package/dist/index88.js +4 -4
  161. package/dist/index90.js +1 -1
  162. package/package.json +2 -2
  163. package/dist/index213.js +0 -17
  164. package/dist/index215.js +0 -29
  165. package/dist/index217.js +0 -4
  166. package/dist/index224.js +0 -15
  167. package/dist/index258.js +0 -128
  168. package/dist/index307.js +0 -4
  169. package/dist/index329.js +0 -10
  170. /package/dist/{index279.js → index299.js} +0 -0
@@ -1,4 +1,5 @@
1
1
  import { HTMLAttributes, InputHTMLAttributes } from 'vue';
2
+ import { MaskOptions } from 'maska';
2
3
  export type BaseTextInputProps = {
3
4
  /**
4
5
  * Name of the icon to be added at the end of the input.
@@ -28,6 +29,10 @@ export type BaseTextInputProps = {
28
29
  * Disables the component
29
30
  */
30
31
  disabled?: boolean;
32
+ /**
33
+ * Emits the masked value of the input.
34
+ */
35
+ emitMasked?: boolean;
31
36
  /**
32
37
  * Define if the component should be in an error state.
33
38
  * It usually attaches a CSS class for styling purposes.
@@ -41,6 +46,10 @@ export type BaseTextInputProps = {
41
46
  * Sets the component in a loading state, usually triggering some visual styles.
42
47
  */
43
48
  loading?: boolean;
49
+ /**
50
+ * The mask to be applied to the input.
51
+ */
52
+ mask?: MaskOptions;
44
53
  /**
45
54
  * Used my v-model
46
55
  */
@@ -1,5 +1,6 @@
1
1
  import { BaseTextInputEvents, BaseTextInputSlots } from '../BaseTextInput/BaseTextInput.vue';
2
2
  import { HTMLAttributes, InputHTMLAttributes } from 'vue';
3
+ import { MaskOptions } from 'maska';
3
4
  export type BbTextInputProps = {
4
5
  /**
5
6
  * Name of the icon to be added at the end of the input.
@@ -29,6 +30,10 @@ export type BbTextInputProps = {
29
30
  * Disables the component
30
31
  */
31
32
  disabled?: boolean;
33
+ /**
34
+ * Emits the masked value of the input.
35
+ */
36
+ emitMasked?: boolean;
32
37
  /**
33
38
  * Can be a string or an array of string containing the messages to display.
34
39
  */
@@ -62,6 +67,11 @@ export type BbTextInputProps = {
62
67
  * Sets the component in a loading state, usually triggering some visual styles.
63
68
  */
64
69
  loading?: boolean;
70
+ /**
71
+ * The mask to be applied to the input.
72
+ * Please visit https://beholdr.github.io/maska/v3 for syntax examples
73
+ */
74
+ mask?: MaskOptions;
65
75
  /**
66
76
  * Used my v-model
67
77
  */
package/dist/index100.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as D, computed as V, toRef as r, reactive as E, watch as m, ref as L, openBlock as b, createElementBlock as B, Fragment as g, renderSlot as i, unref as P, createCommentVNode as R, renderList as j } from "vue";
2
- import { useItemValue as G } from "./index302.js";
3
- import { isNil as k } from "./index256.js";
4
- import { indexBy as U } from "./index305.js";
5
- import { hash as p } from "./index216.js";
6
- import { useItemsGetter as W } from "./index241.js";
7
- import { usePrefill as q } from "./index246.js";
8
- import { useIndexById as z } from "./index242.js";
9
- import { useBaseOptions as J } from "./index243.js";
10
- import { useHashedWatcher as K } from "./index245.js";
2
+ import { useItemValue as G } from "./index285.js";
3
+ import { isNil as k } from "./index265.js";
4
+ import { indexBy as U } from "./index289.js";
5
+ import { hash as p } from "./index229.js";
6
+ import { useItemsGetter as W } from "./index225.js";
7
+ import { usePrefill as q } from "./index231.js";
8
+ import { useIndexById as z } from "./index226.js";
9
+ import { useBaseOptions as J } from "./index227.js";
10
+ import { useHashedWatcher as K } from "./index230.js";
11
11
  const oe = /* @__PURE__ */ D({
12
12
  __name: "BbRows",
13
13
  props: {
package/dist/index111.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, openBlock as n, createBlock as Q, resolveDynamicComponent as me, normalizeClass as p, unref as v, withCtx as fe, createElementBlock as d, toDisplayString as m, createCommentVNode as g, createElementVNode as o, 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 "./index316.js";
3
- import { clamp as ke } from "./index208.js";
4
- import { isNil as T } from "./index256.js";
2
+ import { add as ve } from "./index317.js";
3
+ import { clamp as ke } from "./index207.js";
4
+ import { isNil as T } from "./index265.js";
5
5
  import { useId as _e } from "./index8.js";
6
- import { useItemValue as ge } from "./index302.js";
7
- import { when as Ce } from "./index226.js";
6
+ import { useItemValue as ge } from "./index285.js";
7
+ import { when as Ce } from "./index221.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 "./index216.js";
13
- import { useItemsGetter as Ie } from "./index241.js";
14
- import { usePrefill as Ve } from "./index246.js";
15
- import { useIndexById as Ae } from "./index242.js";
16
- import { useBaseOptions as Be } from "./index243.js";
17
- import { useHashedWatcher as Te } from "./index245.js";
18
- import { useLocale as $e } from "./index224.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 "./index219.js";
19
19
  const xe = {
20
20
  key: 0,
21
21
  class: "sr-only"
package/dist/index117.js CHANGED
@@ -1,9 +1,9 @@
1
- import { defineComponent as c, ref as b, computed as h, openBlock as f, createBlock as y, withCtx as a, renderSlot as l, normalizeProps as v, guardReactiveProps as B, createVNode as w, mergeProps as g } from "vue";
2
- import $ from "./index27.js";
1
+ import { defineComponent as c, ref as b, computed as h, openBlock as y, createBlock as f, withCtx as a, renderSlot as l, normalizeProps as k, guardReactiveProps as v, createVNode as B, mergeProps as w } from "vue";
2
+ import g from "./index27.js";
3
3
  /* empty css */
4
- import k from "./index49.js";
4
+ import $ from "./index49.js";
5
5
  /* empty css */
6
- const E = /* @__PURE__ */ c({
6
+ const L = /* @__PURE__ */ c({
7
7
  __name: "BbTextInput",
8
8
  props: {
9
9
  "append:icon": {},
@@ -13,6 +13,7 @@ const E = /* @__PURE__ */ c({
13
13
  compact: { type: Boolean },
14
14
  direction: {},
15
15
  disabled: { type: Boolean },
16
+ emitMasked: { type: Boolean },
16
17
  errors: {},
17
18
  hasErrors: { type: Boolean },
18
19
  hideLabel: { type: Boolean },
@@ -21,6 +22,7 @@ const E = /* @__PURE__ */ c({
21
22
  label: {},
22
23
  labelPosition: {},
23
24
  loading: { type: Boolean },
25
+ mask: {},
24
26
  modelValue: {},
25
27
  name: {},
26
28
  persistentHint: { type: Boolean },
@@ -33,14 +35,14 @@ const E = /* @__PURE__ */ c({
33
35
  },
34
36
  emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
35
37
  setup(s, { emit: i }) {
36
- const r = s, o = i, n = b(!1), d = h(() => r.persistentHint || n.value), t = {
38
+ const n = s, o = i, r = b(!1), d = h(() => n.persistentHint || r.value), t = {
37
39
  onBlur: (e) => {
38
- n.value = !1, o("blur", e);
40
+ r.value = !1, o("blur", e);
39
41
  },
40
42
  onChange: (e) => o("change", e),
41
43
  onClick: (e) => o("click", e),
42
44
  onFocus: (e) => {
43
- n.value = !0, o("focus", e);
45
+ r.value = !0, o("focus", e);
44
46
  },
45
47
  onInput: (e) => o("input", e),
46
48
  onKeydown: (e) => o("keydown", e),
@@ -48,7 +50,7 @@ const E = /* @__PURE__ */ c({
48
50
  onMouseup: (e) => o("mouseup", e),
49
51
  "onUpdate:modelValue": (e) => o("update:modelValue", e)
50
52
  };
51
- return (e, V) => (f(), y($, {
53
+ return (e, V) => (y(), f(g, {
52
54
  id: e.id,
53
55
  class: "bb-text-input",
54
56
  compact: e.compact,
@@ -65,24 +67,26 @@ const E = /* @__PURE__ */ c({
65
67
  "show-hint": d.value
66
68
  }, {
67
69
  label: a((p) => [
68
- l(e.$slots, "label", v(B(p)))
70
+ l(e.$slots, "label", k(v(p)))
69
71
  ]),
70
72
  input: a(({ id: p, hasErrors: u, ariaDescribedby: m }) => [
71
- w(k, g({
73
+ B($, w({
72
74
  id: p,
73
- "append:icon": r["append:icon"],
75
+ "append:icon": n["append:icon"],
74
76
  "aria-describedby": m,
75
77
  autocomplete: e.autocomplete,
76
78
  autofocus: e.autofocus,
77
79
  clearable: e.clearable,
78
80
  compact: e.compact,
79
81
  disabled: e.disabled,
82
+ "emit-masked": e.emitMasked,
80
83
  "has-errors": u,
81
84
  loading: e.loading,
85
+ mask: e.mask,
82
86
  "model-value": e.modelValue,
83
87
  name: e.name,
84
88
  placeholder: e.placeholder,
85
- "prepend:icon": r["prepend:icon"],
89
+ "prepend:icon": n["prepend:icon"],
86
90
  readonly: e.readonly,
87
91
  required: e.required,
88
92
  type: e.type
@@ -106,12 +110,12 @@ const E = /* @__PURE__ */ c({
106
110
  l(e.$slots, "prepend-outer")
107
111
  ]),
108
112
  _: 2
109
- }, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "clearable", "compact", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "type"])
113
+ }, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "clearable", "compact", "disabled", "emit-masked", "has-errors", "loading", "mask", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "type"])
110
114
  ]),
111
115
  _: 3
112
116
  }, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
113
117
  }
114
118
  });
115
119
  export {
116
- E as default
120
+ L as default
117
121
  };
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 "./index254.js";
4
- import B from "./index317.js";
3
+ import C from "./index238.js";
4
+ import B from "./index315.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 H, ref as o, watch as I, computed as z, openBlock as B, createElementBlock as R, mergeProps as S, createElementVNode as p, renderSlot as C, normalizeProps as U, guardReactiveProps as W, unref as u, createVNode as j, withCtx as L, createBlock as q, createCommentVNode as A } from "vue";
2
- import { useFloating as G, arrow as J } from "./index258.js";
2
+ import { useFloating as G, arrow as J } from "./index256.js";
3
3
  import { useId as K } from "./index8.js";
4
4
  import { wait as Q } from "./index130.js";
5
5
  import X from "./index13.js";
6
6
  /* empty css */
7
- import { throttle as b } from "./index252.js";
8
- import { waitFor as Y } from "./index249.js";
9
- import Z from "./index232.js";
7
+ import { throttle as b } from "./index234.js";
8
+ import { waitFor as Y } from "./index235.js";
9
+ import Z from "./index212.js";
10
10
  /* empty css */
11
- import { useLocale as x } from "./index224.js";
12
- import { autoUpdate as ee, flip as te, shift as oe, hide as ae } from "./index265.js";
11
+ import { useLocale as x } from "./index219.js";
12
+ import { autoUpdate as ee, flip as te, shift as oe, hide as ae } from "./index263.js";
13
13
  const ne = { class: "bb-tooltip__content" }, ge = /* @__PURE__ */ H({
14
14
  __name: "BbTooltip",
15
15
  props: {
package/dist/index123.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as $, computed as g, resolveComponent as y, openBlock as f, createElementBlock 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 "./index315.js";
2
+ import { flattenTree as T } from "./index316.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/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 "./index224.js";
2
+ import { useLocale as f } from "./index219.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 "./index225.js";
2
+ import { isCssColor as I } from "./index220.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 "./index252.js";
2
+ import { throttle as g } from "./index234.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 "./index225.js";
2
+ import { isCssColor as u } from "./index220.js";
3
3
  const f = /* @__PURE__ */ p({
4
4
  __name: "BbSpinner",
5
5
  props: {
package/dist/index13.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as m, getCurrentInstance as h, computed as r, openBlock as i, createBlock 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 "./index228.js";
2
+ import S from "./index232.js";
3
3
  const A = /* @__PURE__ */ m({
4
4
  __name: "BaseButton",
5
5
  props: {
package/dist/index131.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/index133.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/index134.js CHANGED
@@ -1,5 +1,5 @@
1
- import { isArray as p } from "./index328.js";
2
- import { isPlainObject as c } from "./index329.js";
1
+ import { isArray as p } from "./index321.js";
2
+ import { isPlainObject as c } from "./index322.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,18 +1,18 @@
1
1
  import { defineComponent as H, ref as u, computed as D, openBlock as E, createElementBlock as I, Fragment as M, createVNode as p, normalizeClass as _, withCtx as n, renderSlot as r, unref as s, createElementVNode as c, normalizeStyle as F, withModifiers as T, withDirectives as q, mergeProps as L, nextTick as N } from "vue";
2
- import { isHex as O } from "./index229.js";
2
+ import { isHex as O } from "./index209.js";
3
3
  import { isNotNil as z } from "./index135.js";
4
- import { useFocusTrap as S } from "./index230.js";
4
+ import { useFocusTrap as S } from "./index210.js";
5
5
  import { useId as A } from "./index8.js";
6
- import { vMaska as K } from "./index231.js";
7
- import P from "./index232.js";
6
+ import { vMaska as K } from "./index211.js";
7
+ import P from "./index212.js";
8
8
  /* empty css */
9
- import R from "./index234.js";
9
+ import R from "./index214.js";
10
10
  /* empty css */
11
- import U from "./index236.js";
11
+ import U from "./index216.js";
12
12
  /* empty css */
13
- import j from "./index238.js";
13
+ import j from "./index218.js";
14
14
  import { wait as G } from "./index130.js";
15
- import { useLocale as J } from "./index224.js";
15
+ import { useLocale as J } from "./index219.js";
16
16
  const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], W = ["aria-label"], X = { class: "bb-common-input-inner-container__suffix" }, ce = /* @__PURE__ */ H({
17
17
  __name: "BaseColorInput",
18
18
  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 "./index225.js";
3
- import { when as N } from "./index226.js";
4
- import { booleanishToBoolean as S } from "./index227.js";
2
+ import { isCssColor as y } from "./index220.js";
3
+ import { when as N } from "./index221.js";
4
+ import { booleanishToBoolean as S } from "./index222.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 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 "./index239.js";
4
+ import K from "./index223.js";
5
5
  /* empty css */
6
- import { useItemsGetter as N } from "./index241.js";
7
- import { useIndexById as w } from "./index242.js";
8
- import { useBaseOptions as U } from "./index243.js";
9
- import { useCoherence as q } from "./index244.js";
10
- import { hash as J } from "./index216.js";
11
- import { useHashedWatcher as C } from "./index245.js";
12
- import { usePrefill as Q } from "./index246.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,7 +1,6 @@
1
- import { getDefaultExportFromCjs as r } from "./index274.js";
2
- import { __require as o } from "./index273.js";
3
- var t = o();
4
- const s = /* @__PURE__ */ r(t);
1
+ function x(e) {
2
+ return /^#([A-Fa-f0-9]{6})$/.test(e);
3
+ }
5
4
  export {
6
- s as default
5
+ x as isHex
7
6
  };
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 "./index209.js";
9
- import G from "./index210.js";
10
- import J from "./index211.js";
11
- import K from "./index212.js";
12
- import Q from "./index213.js";
13
- import X from "./index214.js";
14
- import ee from "./index215.js";
15
- import { hash as M } from "./index216.js";
16
- import { last as ae } from "./index217.js";
17
- import { useLogger as te } from "./index218.js";
18
- import oe from "./index219.js";
19
- import le from "./index220.js";
20
- import re from "./index221.js";
21
- import B from "./index222.js";
22
- import se from "./index223.js";
23
- import { useLocale as de } from "./index224.js";
8
+ import s from "./index239.js";
9
+ import G from "./index240.js";
10
+ import J from "./index241.js";
11
+ import K from "./index242.js";
12
+ import Q from "./index243.js";
13
+ import X from "./index244.js";
14
+ import ee from "./index245.js";
15
+ import { hash as M } from "./index229.js";
16
+ import { last as ae } from "./index246.js";
17
+ import { useLogger as te } from "./index237.js";
18
+ import oe from "./index247.js";
19
+ import le from "./index248.js";
20
+ import re from "./index249.js";
21
+ import B from "./index250.js";
22
+ import se from "./index251.js";
23
+ import { useLocale as de } from "./index219.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,18 +1,43 @@
1
- import { getDefaultExportFromCjs as f, commonjsGlobal as n } from "./index274.js";
2
- import { __module as e } from "./index276.js";
3
- (function(s, a) {
4
- (function(i, t) {
5
- s.exports = t();
6
- })(n, function() {
7
- return function(i, t) {
8
- t.prototype.isSameOrAfter = function(r, o) {
9
- return this.isSame(r, o) || this.isAfter(r, o);
10
- };
11
- };
1
+ import { unrefElement as A } from "./index132.js";
2
+ import { toValue as n, notNullish as g, tryOnScopeDispose as y } from "./index206.js";
3
+ import { ref as i, computed as D, watch as F } from "vue";
4
+ import { createFocusTrap as T } from "./index275.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);
12
17
  });
13
- })(e);
14
- var m = e.exports;
15
- const c = /* @__PURE__ */ f(m);
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
+ }
16
41
  export {
17
- c as default
42
+ E as useFocusTrap
18
43
  };
package/dist/index211.js CHANGED
@@ -1,18 +1,22 @@
1
- import { getDefaultExportFromCjs as i, commonjsGlobal as n } from "./index274.js";
2
- import { __module as t } from "./index277.js";
3
- (function(s, a) {
4
- (function(f, o) {
5
- s.exports = o();
6
- })(n, function() {
7
- return function(f, o) {
8
- o.prototype.isSameOrBefore = function(e, r) {
9
- return this.isSame(e, r) || this.isBefore(e, r);
10
- };
1
+ import { MaskInput as r } from "./index266.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);
11
15
  };
12
- });
13
- })(t);
14
- var m = t.exports;
15
- const c = /* @__PURE__ */ i(m);
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
+ };
16
20
  export {
17
- c as default
21
+ k as vMaska
18
22
  };