bitboss-ui 2.1.66 → 2.1.67

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 (177) hide show
  1. package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +1 -0
  2. package/dist/components/BaseRadio/BaseRadio.vue.d.ts +1 -0
  3. package/dist/index107.js +9 -9
  4. package/dist/index112.js +1 -1
  5. package/dist/index114.js +1 -1
  6. package/dist/index122.js +11 -11
  7. package/dist/index13.js +1 -1
  8. package/dist/index130.js +1 -1
  9. package/dist/index132.js +6 -6
  10. package/dist/index134.js +1 -1
  11. package/dist/index136.js +2 -2
  12. package/dist/index143.js +2 -2
  13. package/dist/index15.js +5 -5
  14. package/dist/index17.js +34 -33
  15. package/dist/index19.js +8 -8
  16. package/dist/index21.js +16 -16
  17. package/dist/index217.js +5 -2
  18. package/dist/index218.js +8 -2
  19. package/dist/index219.js +33 -2
  20. package/dist/index220.js +27 -12
  21. package/dist/index222.js +4 -3
  22. package/dist/index223.js +13 -2
  23. package/dist/index224.js +18 -16
  24. package/dist/index225.js +194 -12
  25. package/dist/index227.js +120 -15
  26. package/dist/index229.js +33 -17
  27. package/dist/index23.js +11 -11
  28. package/dist/index230.js +5 -29
  29. package/dist/index231.js +5 -16
  30. package/dist/index232.js +5 -4
  31. package/dist/index233.js +5 -106
  32. package/dist/index234.js +7 -0
  33. package/dist/index235.js +5 -100
  34. package/dist/index236.js +4 -0
  35. package/dist/index237.js +3 -120
  36. package/dist/{index256.js → index238.js} +1 -1
  37. package/dist/index239.js +58 -220
  38. package/dist/index240.js +86 -13
  39. package/dist/index242.js +28 -2
  40. package/dist/index243.js +17 -5
  41. package/dist/index244.js +51 -5
  42. package/dist/index245.js +15 -5
  43. package/dist/index246.js +3 -5
  44. package/dist/index247.js +12 -5
  45. package/dist/index248.js +16 -5
  46. package/dist/index249.js +2 -20
  47. package/dist/index25.js +3 -3
  48. package/dist/index250.js +18 -3
  49. package/dist/index251.js +12 -5
  50. package/dist/index252.js +4 -188
  51. package/dist/index253.js +106 -33
  52. package/dist/index255.js +102 -0
  53. package/dist/index257.js +214 -71
  54. package/dist/index258.js +15 -0
  55. package/dist/index259.js +2 -33
  56. package/dist/index260.js +2 -5
  57. package/dist/index261.js +2 -5
  58. package/dist/index262.js +2 -8
  59. package/dist/index263.js +7 -269
  60. package/dist/index264.js +4 -52
  61. package/dist/index265.js +22 -43
  62. package/dist/index266.js +8 -5
  63. package/dist/index267.js +8 -59
  64. package/dist/index268.js +23 -11
  65. package/dist/index269.js +8 -3
  66. package/dist/index27.js +1 -1
  67. package/dist/index270.js +185 -191
  68. package/dist/index272.js +2 -12
  69. package/dist/index273.js +6 -7
  70. package/dist/index274.js +16 -2
  71. package/dist/index275.js +2 -4
  72. package/dist/index276.js +6 -22
  73. package/dist/index277.js +7 -2
  74. package/dist/index278.js +5 -7
  75. package/dist/index279.js +13 -7
  76. package/dist/index280.js +3 -6
  77. package/dist/index281.js +5 -16
  78. package/dist/index282.js +5 -9
  79. package/dist/index283.js +6 -65
  80. package/dist/index284.js +269 -7
  81. package/dist/index285.js +51 -7
  82. package/dist/index286.js +43 -8
  83. package/dist/index287.js +5 -23
  84. package/dist/index288.js +60 -2
  85. package/dist/index289.js +10 -4
  86. package/dist/index29.js +2 -2
  87. package/dist/index290.js +2 -8
  88. package/dist/index291.js +6 -6
  89. package/dist/index292.js +3 -5
  90. package/dist/index293.js +5 -0
  91. package/dist/index294.js +7 -3
  92. package/dist/index296.js +3 -280
  93. package/dist/index297.js +2 -2
  94. package/dist/index298.js +5 -125
  95. package/dist/index299.js +3 -2
  96. package/dist/index300.js +17 -15
  97. package/dist/index301.js +28 -2
  98. package/dist/index302.js +277 -13
  99. package/dist/index303.js +2 -2
  100. package/dist/index304.js +121 -12
  101. package/dist/index305.js +2 -2
  102. package/dist/index306.js +12 -16
  103. package/dist/index308.js +16 -3
  104. package/dist/index309.js +2 -19
  105. package/dist/index31.js +31 -30
  106. package/dist/index310.js +16 -2
  107. package/dist/index311.js +2 -27
  108. package/dist/index312.js +19 -2
  109. package/dist/index313.js +2 -2
  110. package/dist/index314.js +3 -2
  111. package/dist/index315.js +3 -2
  112. package/dist/index316.js +1 -1
  113. package/dist/index317.js +4 -28
  114. package/dist/index318.js +719 -22
  115. package/dist/index319.js +368 -0
  116. package/dist/index320.js +57 -3
  117. package/dist/index321.js +19 -3
  118. package/dist/index322.js +2 -2
  119. package/dist/index323.js +27 -17
  120. package/dist/index324.js +2 -5
  121. package/dist/index325.js +1 -1
  122. package/dist/index326.js +2 -3
  123. package/dist/index327.js +2 -3
  124. package/dist/index328.js +2 -4
  125. package/dist/index329.js +22 -6
  126. package/dist/index33.js +8 -8
  127. package/dist/index331.js +5 -719
  128. package/dist/index332.js +4 -366
  129. package/dist/index333.js +33 -55
  130. package/dist/index334.js +6 -47
  131. package/dist/index335.js +128 -6
  132. package/dist/index336.js +390 -220
  133. package/dist/index337.js +8 -58
  134. package/dist/index338.js +6 -58
  135. package/dist/index339.js +7 -34
  136. package/dist/index340.js +58 -6
  137. package/dist/index341.js +57 -128
  138. package/dist/index342.js +83 -388
  139. package/dist/index343.js +5 -7
  140. package/dist/index344.js +46 -5
  141. package/dist/index345.js +133 -7
  142. package/dist/index346.js +519 -6
  143. package/dist/index347.js +6 -18
  144. package/dist/index348.js +17 -91
  145. package/dist/index349.js +6 -519
  146. package/dist/index35.js +4 -4
  147. package/dist/index350.js +225 -131
  148. package/dist/index351.js +435 -44
  149. package/dist/index352.js +114 -427
  150. package/dist/index353.js +48 -126
  151. package/dist/index37.js +18 -18
  152. package/dist/index39.js +6 -6
  153. package/dist/index41.js +32 -31
  154. package/dist/index43.js +8 -8
  155. package/dist/index45.js +6 -6
  156. package/dist/index49.js +1 -1
  157. package/dist/index53.js +1 -1
  158. package/dist/index55.js +1 -1
  159. package/dist/index57.js +2 -2
  160. package/dist/index61.js +3 -3
  161. package/dist/index67.js +1 -1
  162. package/dist/index80.js +6 -6
  163. package/dist/index82.js +1 -1
  164. package/dist/index84.js +2 -2
  165. package/dist/index86.js +3 -3
  166. package/dist/index88.js +1 -1
  167. package/dist/index91.js +3 -3
  168. package/dist/index93.js +2 -2
  169. package/dist/index95.js +5 -5
  170. package/package.json +1 -1
  171. package/dist/index221.js +0 -5
  172. package/dist/index226.js +0 -53
  173. package/dist/index228.js +0 -14
  174. package/dist/index254.js +0 -30
  175. package/dist/index295.js +0 -6
  176. package/dist/index330.js +0 -4
  177. /package/dist/{index241.js → index271.js} +0 -0
@@ -104,6 +104,7 @@ export type SlotAttributes = {
104
104
  disabled: boolean;
105
105
  falseValue: any;
106
106
  focused: boolean;
107
+ focusVisible: boolean;
107
108
  hasErrors: boolean;
108
109
  id: BaseCheckboxProps['id'];
109
110
  name: BaseCheckboxProps['name'];
@@ -74,6 +74,7 @@ export type SlotAttributes = {
74
74
  checked: boolean;
75
75
  disabled: Exclude<BaseRadioProps['disabled'], undefined>;
76
76
  focused: boolean;
77
+ focusVisible: boolean;
77
78
  hasErrors: Exclude<BaseRadioProps['hasErrors'], undefined>;
78
79
  id: BaseRadioProps['id'];
79
80
  name: BaseRadioProps['name'];
package/dist/index107.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as D, computed as V, toRef as r, ref as E, reactive as L, watch as m, createElementBlock as b, openBlock as B, Fragment as g, renderSlot as i, createCommentVNode as P, unref as R, renderList as j } from "vue";
2
- import { useItemValue as G } from "./index284.js";
3
- import { isNil as k } from "./index274.js";
4
- import { indexBy as U } from "./index285.js";
5
- import { hash as p } from "./index221.js";
6
- import { useItemsGetter as W } from "./index230.js";
7
- import { usePrefill as q } from "./index231.js";
8
- import { useIndexById as z } from "./index229.js";
9
- import { useBaseOptions as J } from "./index226.js";
10
- import { useHashedWatcher as K } from "./index228.js";
2
+ import { useItemValue as G } from "./index263.js";
3
+ import { isNil as k } from "./index262.js";
4
+ import { indexBy as U } from "./index266.js";
5
+ import { hash as p } from "./index246.js";
6
+ import { useItemsGetter as W } from "./index242.js";
7
+ import { usePrefill as q } from "./index248.js";
8
+ import { useIndexById as z } from "./index243.js";
9
+ import { useBaseOptions as J } from "./index244.js";
10
+ import { useHashedWatcher as K } from "./index247.js";
11
11
  const oe = /* @__PURE__ */ D({
12
12
  __name: "BbRows",
13
13
  props: {
package/dist/index112.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 "./index256.js";
2
+ import { throttle as g } from "./index238.js";
3
3
  const O = /* @__PURE__ */ v({
4
4
  __name: "BbSmoothHeight",
5
5
  props: {
package/dist/index114.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, computed as s, createElementBlock as b, openBlock as _, mergeProps as a, createStaticVNode as x } from "vue";
2
- import { isCssColor as m } from "./index217.js";
2
+ import { isCssColor as m } from "./index259.js";
3
3
  const d = /* @__PURE__ */ p({
4
4
  __name: "BbSpinner",
5
5
  props: {
package/dist/index122.js CHANGED
@@ -1,21 +1,21 @@
1
1
  import { defineComponent as ue, ref as K, computed as y, toRef as O, watch as N, reactive as pe, createBlock as Q, openBlock as n, resolveDynamicComponent as me, normalizeClass as p, unref as h, withCtx as fe, createElementBlock as d, createCommentVNode as C, 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 "./index288.js";
2
+ import { add as ve } from "./index261.js";
3
3
  import { clamp as ke } from "./index216.js";
4
- import { isNil as T } from "./index274.js";
4
+ import { isNil as T } from "./index262.js";
5
5
  import { useId as _e } from "./index8.js";
6
- import { useItemValue as ge } from "./index284.js";
7
- import { when as Ce } from "./index232.js";
6
+ import { useItemValue as ge } from "./index263.js";
7
+ import { when as Ce } from "./index252.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 "./index221.js";
13
- import { useItemsGetter as Ie } from "./index230.js";
14
- import { usePrefill as Ve } from "./index231.js";
15
- import { useIndexById as Ae } from "./index229.js";
16
- import { useBaseOptions as Be } from "./index226.js";
17
- import { useHashedWatcher as Te } from "./index228.js";
18
- import { useLocale as $e } from "./index220.js";
12
+ import { hash as E } from "./index246.js";
13
+ import { useItemsGetter as Ie } from "./index242.js";
14
+ import { usePrefill as Ve } from "./index248.js";
15
+ import { useIndexById as Ae } from "./index243.js";
16
+ import { useBaseOptions as Be } from "./index244.js";
17
+ import { useHashedWatcher as Te } from "./index247.js";
18
+ import { useLocale as $e } from "./index223.js";
19
19
  const xe = {
20
20
  key: 0,
21
21
  class: "sr-only"
package/dist/index13.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as C, getCurrentInstance as g, 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 y } from "vue";
2
- import m from "./index259.js";
2
+ import m from "./index229.js";
3
3
  const B = /* @__PURE__ */ C({
4
4
  __name: "BaseButton",
5
5
  props: {
package/dist/index130.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 "./index283.js";
3
+ import b from "./index239.js";
4
4
  const $ = /* @__PURE__ */ a({
5
5
  __name: "BbToast",
6
6
  props: {
package/dist/index132.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as S, mergeModels as z, ref as k, computed as d, useTemplateRef as F, useModel as N, createElementBlock as W, openBlock as B, Fragment as A, renderSlot as C, createVNode as U, normalizeProps as H, guardReactiveProps as I, unref as l, mergeProps as j, withCtx as E, createElementVNode as m, normalizeStyle as q, createBlock as x, createCommentVNode as G } from "vue";
2
- import { throttle as p } from "./index256.js";
2
+ import { throttle as p } from "./index238.js";
3
3
  import { useId as J } from "./index8.js";
4
- import { useLocale as K } from "./index220.js";
5
- import { useUntil as Q } from "./index240.js";
4
+ import { useLocale as K } from "./index223.js";
5
+ import { useUntil as Q } from "./index258.js";
6
6
  import X from "./index13.js";
7
7
  /* empty css */
8
- import Y from "./index237.js";
8
+ import Y from "./index227.js";
9
9
  /* empty css */
10
10
  import { useElementSize as Z } from "./index141.js";
11
- import { extractDomContainer as c } from "./index275.js";
12
- import { parseWidthString as _ } from "./index276.js";
11
+ import { extractDomContainer as c } from "./index264.js";
12
+ import { parseWidthString as _ } from "./index265.js";
13
13
  const pe = /* @__PURE__ */ S({
14
14
  inheritAttrs: !1,
15
15
  __name: "BbTooltip",
package/dist/index134.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as $, computed as g, resolveComponent as y, createElementBlock as f, openBlock as i, Fragment as k, renderList as h, normalizeClass as b, createElementVNode as s, renderSlot as t, createVNode as v, createSlots as B, withCtx as _, mergeProps as C } from "vue";
2
- import { flattenTree as T } from "./index251.js";
2
+ import { flattenTree as T } from "./index278.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
@@ -5,8 +5,8 @@ import m from "./index86.js";
5
5
  /* empty css */
6
6
  import N from "./index114.js";
7
7
  /* empty css */
8
- import h from "./index253.js";
9
- import v from "./index254.js";
8
+ import h from "./index219.js";
9
+ import v from "./index220.js";
10
10
  /* empty css */
11
11
  const B = { class: "bb-common-input-inner-container__prefix" }, E = { class: "bb-common-input-inner-container__suffix" }, P = /* @__PURE__ */ $({
12
12
  __name: "CommonInputInnerContainer",
package/dist/index143.js CHANGED
@@ -1,5 +1,5 @@
1
- import { isArray as p } from "./index289.js";
2
- import { isPlainObject as i } from "./index290.js";
1
+ import { isArray as p } from "./index217.js";
2
+ import { isPlainObject as i } from "./index218.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,15 +1,15 @@
1
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 "./index269.js";
2
+ import { isHex as z } from "./index222.js";
3
3
  import { isNotNil as F } from "./index144.js";
4
4
  import { useId as S } from "./index8.js";
5
- import { useLocale as U } from "./index220.js";
6
- import { vMaska as A } from "./index249.js";
7
- import K from "./index270.js";
5
+ import { useLocale as U } from "./index223.js";
6
+ import { vMaska as A } from "./index224.js";
7
+ import K from "./index225.js";
8
8
  /* empty css */
9
9
  import O from "./index136.js";
10
10
  /* empty css */
11
11
  import P from "./index138.js";
12
- import T from "./index237.js";
12
+ import T from "./index227.js";
13
13
  /* empty css */
14
14
  const j = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], G = ["aria-label"], J = { class: "bb-common-input-inner-container__suffix" }, re = /* @__PURE__ */ H({
15
15
  __name: "BaseColorInput",
package/dist/index17.js CHANGED
@@ -1,11 +1,11 @@
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 "./index217.js";
3
- import { when as N } from "./index232.js";
4
- import { booleanishToBoolean as S } from "./index218.js";
5
- const A = {
1
+ import { defineComponent as I, ref as d, computed as n, watch as _, createElementBlock as f, openBlock as h, normalizeProps as b, guardReactiveProps as k, createCommentVNode as F, createElementVNode as l, mergeProps as y, renderSlot as L } from "vue";
2
+ import { isCssColor as v } from "./index259.js";
3
+ import { when as M } from "./index252.js";
4
+ import { booleanishToBoolean as N } from "./index260.js";
5
+ const S = {
6
6
  "aria-hidden": "true",
7
7
  class: "bb-base-checkbox-container"
8
- }, $ = /* @__PURE__ */ E({
8
+ }, $ = /* @__PURE__ */ I({
9
9
  __name: "BaseCheckbox",
10
10
  props: {
11
11
  ariaDescribedby: {},
@@ -25,8 +25,8 @@ const A = {
25
25
  trueValue: { default: !0 }
26
26
  },
27
27
  emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
28
- setup(v, { emit: V }) {
29
- const e = v, t = V, s = m(null), r = n(() => e.checked ? S(e.checked) : JSON.stringify(e.trueValue) === JSON.stringify(e.modelValue)), u = m(!1), x = n(() => {
28
+ setup(V, { emit: g }) {
29
+ const e = V, t = g, r = d(null), s = n(() => e.checked ? N(e.checked) : JSON.stringify(e.trueValue) === JSON.stringify(e.modelValue)), u = d(!1), c = d(!1), x = n(() => {
30
30
  const a = {
31
31
  class: {
32
32
  "bb-base-checkbox": !0,
@@ -34,35 +34,35 @@ const A = {
34
34
  "bb-base-checkbox--errors": e.hasErrors,
35
35
  "bb-base-checkbox--indeterminate": e.indeterminate,
36
36
  "bb-base-checkbox--readonly": e.readonly,
37
- [`bb-base-checkbox--${e.color}`]: e.color && !y(e.color)
37
+ [`bb-base-checkbox--${e.color}`]: e.color && !v(e.color)
38
38
  }
39
39
  };
40
- return e.color && y(e.color) && (a.style = `--color: ${e.color}`), a;
41
- }), d = N(
40
+ return e.color && v(e.color) && (a.style = `--color: ${e.color}`), a;
41
+ }), m = M(
42
42
  (a) => typeof a != "string",
43
43
  JSON.stringify
44
- ), g = n(() => {
45
- const a = d(e.falseValue);
44
+ ), B = n(() => {
45
+ const a = m(e.falseValue);
46
46
  return {
47
47
  disabled: e.disabled,
48
48
  name: e.name,
49
49
  type: "hidden",
50
50
  value: a
51
51
  };
52
- }), b = n(() => {
53
- const a = d(e.trueValue), w = {
52
+ }), p = n(() => {
53
+ const a = m(e.trueValue), C = {
54
54
  onBlur: (o) => {
55
- u.value = !1, t("blur", o);
55
+ u.value = !1, c.value = !1, t("blur", o);
56
56
  },
57
57
  onChange: (o) => {
58
58
  if (o.target instanceof HTMLInputElement) {
59
- let C = o.target.checked ? e.trueValue : e.falseValue;
60
- t("change", o), t("update:modelValue", C);
59
+ let E = o.target.checked ? e.trueValue : e.falseValue;
60
+ t("change", o), t("update:modelValue", E);
61
61
  }
62
62
  },
63
63
  onClick: (o) => t("click", o),
64
64
  onFocus: (o) => {
65
- u.value = !0, t("focus", o);
65
+ u.value = !0, o.target instanceof HTMLInputElement && (c.value = o.target.matches(":focus-visible")), t("focus", o);
66
66
  },
67
67
  onKeydown: (o) => t("keydown", o),
68
68
  onMousedown: (o) => t("mousedown", o),
@@ -72,7 +72,7 @@ const A = {
72
72
  return {
73
73
  "aria-describedby": e.ariaDescribedby,
74
74
  autofocus: e.autofocus,
75
- checked: r.value,
75
+ checked: s.value,
76
76
  // There is no such thing as readonly checkbox so we disable and style it with css
77
77
  disabled: e.disabled || e.readonly,
78
78
  id: e.id,
@@ -82,35 +82,36 @@ const A = {
82
82
  tabindex: e.disabled ? -1 : void 0,
83
83
  type: "checkbox",
84
84
  value: a,
85
- ...w
85
+ ...C
86
86
  };
87
- }), B = n(() => ({
88
- checked: r.value,
87
+ }), w = n(() => ({
88
+ checked: s.value,
89
89
  disabled: e.disabled,
90
90
  falseValue: e.falseValue,
91
91
  focused: u.value,
92
+ focusVisible: c.value,
92
93
  hasErrors: e.hasErrors,
93
94
  id: e.id,
94
95
  name: e.name,
95
- parsedValue: b.value.value,
96
+ parsedValue: p.value.value,
96
97
  readonly: e.readonly,
97
98
  trueValue: e.trueValue,
98
- value: r.value ? e.trueValue : e.falseValue
99
+ value: s.value ? e.trueValue : e.falseValue
99
100
  }));
100
101
  return _(
101
102
  () => [e.modelValue, e.checked, e.indeterminate],
102
103
  () => {
103
- s.value && (s.value.indeterminate = !!e.indeterminate);
104
+ r.value && (r.value.indeterminate = !!e.indeterminate);
104
105
  }
105
- ), (a, c) => (h(), p("span", i(f(x.value)), [
106
- !r.value && a.submitWhenFalse ? (h(), p("input", i(k({ key: 0 }, g.value)), null, 16)) : I("", !0),
107
- l("input", k(b.value, {
106
+ ), (a, i) => (h(), f("span", b(k(x.value)), [
107
+ !s.value && a.submitWhenFalse ? (h(), f("input", b(y({ key: 0 }, B.value)), null, 16)) : F("", !0),
108
+ l("input", y(p.value, {
108
109
  ref_key: "checkboxInput",
109
- ref: s
110
+ ref: r
110
111
  }), null, 16),
111
- l("span", A, [
112
- F(a.$slots, "icon", i(f(B.value)), () => [
113
- c[0] || (c[0] = l("svg", {
112
+ l("span", S, [
113
+ L(a.$slots, "icon", b(k(w.value)), () => [
114
+ i[0] || (i[0] = l("svg", {
114
115
  class: "bb-base-checkbox-container__icon",
115
116
  viewBox: "276.411 158.834 114.971 114.97"
116
117
  }, [
package/dist/index19.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as j, ref as k, toRef as h, computed as z, createBlock as G, openBlock as R, unref as B, withCtx as n, renderSlot as s, normalizeProps as b, guardReactiveProps as v, createVNode as W, mergeProps as T } from "vue";
2
2
  import K from "./index17.js";
3
3
  /* empty css */
4
- import N from "./index257.js";
4
+ import N from "./index240.js";
5
5
  /* empty css */
6
- import { useItemsGetter as U } from "./index230.js";
7
- import { useIndexById as w } from "./index229.js";
8
- import { useBaseOptions as q } from "./index226.js";
9
- import { useCoherence as J } from "./index227.js";
10
- import { hash as Q } from "./index221.js";
11
- import { useHashedWatcher as C } from "./index228.js";
12
- import { usePrefill as X } from "./index231.js";
6
+ import { useItemsGetter as U } from "./index242.js";
7
+ import { useIndexById as w } from "./index243.js";
8
+ import { useBaseOptions as q } from "./index244.js";
9
+ import { useCoherence as J } from "./index245.js";
10
+ import { hash as Q } from "./index246.js";
11
+ import { useHashedWatcher as C } from "./index247.js";
12
+ import { usePrefill as X } from "./index248.js";
13
13
  const ue = /* @__PURE__ */ j({
14
14
  __name: "BaseCheckboxGroup",
15
15
  props: {
package/dist/index21.js CHANGED
@@ -5,22 +5,22 @@ import { _config as V } from "./index4.js";
5
5
  import { useId as F } from "./index8.js";
6
6
  import c from "./index13.js";
7
7
  /* empty css */
8
- import s from "./index243.js";
9
- import G from "./index246.js";
10
- import J from "./index247.js";
11
- import K from "./index248.js";
12
- import Q from "./index245.js";
13
- import X from "./index260.js";
14
- import ee from "./index261.js";
15
- import { hash as B } from "./index221.js";
16
- import { last as ae } from "./index223.js";
17
- import { useLogger as te } from "./index262.js";
18
- import oe from "./index263.js";
19
- import le from "./index264.js";
20
- import re from "./index265.js";
21
- import C from "./index266.js";
22
- import se from "./index267.js";
23
- import { useLocale as de } from "./index220.js";
8
+ import s from "./index230.js";
9
+ import G from "./index233.js";
10
+ import J from "./index234.js";
11
+ import K from "./index235.js";
12
+ import Q from "./index232.js";
13
+ import X from "./index281.js";
14
+ import ee from "./index282.js";
15
+ import { hash as B } from "./index246.js";
16
+ import { last as ae } from "./index249.js";
17
+ import { useLogger as te } from "./index283.js";
18
+ import oe from "./index284.js";
19
+ import le from "./index285.js";
20
+ import re from "./index286.js";
21
+ import C from "./index287.js";
22
+ import se from "./index288.js";
23
+ import { useLocale as de } from "./index223.js";
24
24
  const ie = { class: "bb-base-date-picker" }, ne = { class: "bb-base-date-picker__body" }, me = { class: "bb-base-date-picker__controls" }, ue = { class: "sr-only" }, pe = { class: "sr-only" }, fe = { class: "sr-only" }, ce = {
25
25
  style: { transform: "rotate(180deg)" },
26
26
  viewBox: "0 0 24 24",
package/dist/index217.js CHANGED
@@ -1,4 +1,7 @@
1
- const s = (r) => !!r && !!r.match(/^(#|var\(--|(rgb|hsl)a?\()/);
1
+ import { getType as t } from "./index332.js";
2
+ function o(r) {
3
+ return t(r) === "Array";
4
+ }
2
5
  export {
3
- s as isCssColor
6
+ o as isArray
4
7
  };
package/dist/index218.js CHANGED
@@ -1,4 +1,10 @@
1
- const o = (e) => typeof e == "boolean" ? e : e === "true";
1
+ import { getType as o } from "./index332.js";
2
+ function c(e) {
3
+ if (o(e) !== "Object")
4
+ return !1;
5
+ const t = Object.getPrototypeOf(e);
6
+ return !!t && t.constructor === Object && t === Object.prototype;
7
+ }
2
8
  export {
3
- o as booleanishToBoolean
9
+ c as isPlainObject
4
10
  };
package/dist/index219.js CHANGED
@@ -1,4 +1,35 @@
1
- const e = (t) => t;
1
+ import { createElementBlock as e, openBlock as t, createElementVNode as o } from "vue";
2
+ /* empty css */
3
+ import n from "./index213.js";
4
+ const l = {}, s = {
5
+ class: "bb-error-icon",
6
+ fill: "none",
7
+ viewBox: "0 0 20 20",
8
+ xmlns: "http://www.w3.org/2000/svg"
9
+ };
10
+ function i(c, r) {
11
+ return t(), e("svg", s, r[0] || (r[0] = [
12
+ o("path", {
13
+ d: "M9.99422 18.3333C14.5966 18.3333 18.3276 14.6024 18.3276 9.99999C18.3276 5.39762 14.5966 1.66666 9.99422 1.66666C5.39185 1.66666 1.66089 5.39762 1.66089 9.99999C1.66089 14.6024 5.39185 18.3333 9.99422 18.3333Z",
14
+ fill: "currentColor"
15
+ }, null, -1),
16
+ o("path", {
17
+ d: "M9.99414 6.66666V9.99999",
18
+ stroke: "white",
19
+ "stroke-linecap": "round",
20
+ "stroke-linejoin": "round",
21
+ "stroke-width": "2"
22
+ }, null, -1),
23
+ o("path", {
24
+ d: "M9.99414 13.3333H10.0025",
25
+ stroke: "white",
26
+ "stroke-linecap": "round",
27
+ "stroke-linejoin": "round",
28
+ "stroke-width": "2"
29
+ }, null, -1)
30
+ ]));
31
+ }
32
+ const a = /* @__PURE__ */ n(l, [["render", i]]);
2
33
  export {
3
- e as identity
34
+ a as default
4
35
  };
package/dist/index220.js CHANGED
@@ -1,15 +1,30 @@
1
- import { locales as t } from "./index291.js";
2
- import { _config as m } from "./index4.js";
3
- import { get as c } from "./index268.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
1
+ import { defineComponent as l, createElementBlock as n, openBlock as r, unref as a, createElementVNode as t } from "vue";
2
+ import { useLocale as s } from "./index223.js";
3
+ const c = ["aria-label"], b = /* @__PURE__ */ l({
4
+ __name: "ClearableButton",
5
+ setup(u) {
6
+ const { t: o } = s();
7
+ return (i, e) => (r(), n("button", {
8
+ "aria-label": a(o)("common.clearLabel").value,
9
+ class: "bb-clearable-button",
10
+ type: "button"
11
+ }, e[0] || (e[0] = [
12
+ t("svg", {
13
+ viewBox: "0 0 24 24",
14
+ xmlns: "http://www.w3.org/2000/svg"
15
+ }, [
16
+ t("path", {
17
+ d: "M12 12l7 7M12 12l-7 -7M12 12l-7 7M12 12l7 -7",
18
+ fill: "none",
19
+ stroke: "currentColor",
20
+ "stroke-linecap": "round",
21
+ "stroke-linejoin": "round",
22
+ "stroke-width": "2"
23
+ })
24
+ ], -1)
25
+ ]), 8, c));
26
+ }
12
27
  });
13
28
  export {
14
- d as useLocale
29
+ b as default
15
30
  };
package/dist/index222.js CHANGED
@@ -1,5 +1,6 @@
1
- import { isNil as r } from "./index274.js";
2
- const e = (t) => r(t) ? !0 : Array.isArray(t) || typeof t == "string" ? t.length === 0 : t instanceof Map || t instanceof Set ? t.size === 0 : typeof t == "number" ? Number.isNaN(t) : typeof t == "boolean" || typeof t == "function" ? !1 : typeof t == "object" ? "length" in t && typeof t.length == "number" ? t.length === 0 : Object.keys(t).length === 0 : !1;
1
+ function x(e) {
2
+ return /^#([A-Fa-f0-9]{6})$/.test(e);
3
+ }
3
4
  export {
4
- e as isEmpty
5
+ x as isHex
5
6
  };
package/dist/index223.js CHANGED
@@ -1,4 +1,15 @@
1
- const e = (t) => t[t.length - 1];
1
+ import { locales as t } from "./index294.js";
2
+ import { _config as m } from "./index4.js";
3
+ import { get as c } from "./index289.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
- e as last
14
+ d as useLocale
4
15
  };
package/dist/index224.js CHANGED
@@ -1,20 +1,22 @@
1
- import { isNil as c } from "./index274.js";
2
- const a = (t, r) => {
3
- if (!Object.prototype.hasOwnProperty.call(t, r))
4
- throw new Error(
5
- `Object ${JSON.stringify(t, null, 2)} has no property named "${r.toString()}"`
6
- );
7
- }, l = (t) => typeof t == "string" ? t.toLocaleLowerCase() : JSON.stringify(t).toLowerCase(), y = (t, r, s) => {
8
- const i = s.toLocaleLowerCase();
9
- for (let e = 0; e < r.length; e++) {
10
- const n = r[e];
11
- a(t, n);
12
- const o = t[n];
13
- if (c(o)) continue;
14
- if (l(o).includes(i)) return !0;
1
+ import { MaskInput as r } from "./index270.js";
2
+ const u = /* @__PURE__ */ new WeakMap(), p = (a, n) => {
3
+ if (a.arg == null || a.instance == null) return;
4
+ const s = "setup" in a.instance.$.type;
5
+ a.arg in a.instance ? a.instance[a.arg] = n : s && console.warn("Maska: please expose `%s` using defineExpose", a.arg);
6
+ }, k = (a, n) => {
7
+ var s;
8
+ const t = a instanceof HTMLInputElement ? a : a.querySelector("input");
9
+ if (t == null || t?.type === "file") return;
10
+ let e = {};
11
+ if (n.value != null && (e = typeof n.value == "string" ? { mask: n.value } : { ...n.value }), n.arg != null) {
12
+ const l = (o) => {
13
+ const i = n.modifiers.unmasked ? o.unmasked : n.modifiers.completed ? o.completed : o.masked;
14
+ p(n, i);
15
+ };
16
+ e.onMaska = e.onMaska == null ? l : Array.isArray(e.onMaska) ? [...e.onMaska, l] : [e.onMaska, l];
15
17
  }
16
- return !1;
18
+ u.has(t) ? (s = u.get(t)) == null || s.update(e) : u.set(t, new r(t, e));
17
19
  };
18
20
  export {
19
- y as matchAnyKey
21
+ k as vMaska
20
22
  };