bitboss-ui 2.0.130 → 2.0.131

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 (149) hide show
  1. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +4 -0
  2. package/dist/components/BbSelect/BbSelect.vue.d.ts +5 -1
  3. package/dist/index100.js +7 -7
  4. package/dist/index101.js +33 -31
  5. package/dist/index111.js +9 -9
  6. package/dist/index119.js +2 -2
  7. package/dist/index121.js +4 -4
  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/index133.js +2 -2
  14. package/dist/index15.js +5 -5
  15. package/dist/index17.js +3 -3
  16. package/dist/index19.js +7 -7
  17. package/dist/index209.js +281 -3
  18. package/dist/index21.js +14 -14
  19. package/dist/index210.js +124 -64
  20. package/dist/{index222.js → index211.js} +2 -2
  21. package/dist/index212.js +16 -13
  22. package/dist/index213.js +19 -20
  23. package/dist/index214.js +15 -4
  24. package/dist/index215.js +2 -13
  25. package/dist/index216.js +2 -3
  26. package/dist/index218.js +12 -5
  27. package/dist/index219.js +20 -7
  28. package/dist/index220.js +5 -14
  29. package/dist/index221.js +94 -5
  30. package/dist/index223.js +64 -15
  31. package/dist/index225.js +13 -15
  32. package/dist/index226.js +2 -19
  33. package/dist/index227.js +86 -27
  34. package/dist/index229.js +27 -248
  35. package/dist/index23.js +15 -15
  36. package/dist/index230.js +17 -52
  37. package/dist/index231.js +50 -43
  38. package/dist/index232.js +15 -5
  39. package/dist/index233.js +12 -60
  40. package/dist/index234.js +16 -2
  41. package/dist/index235.js +4 -4
  42. package/dist/index236.js +3 -2
  43. package/dist/index237.js +2 -125
  44. package/dist/index238.js +4 -2
  45. package/dist/index239.js +2 -94
  46. package/dist/index240.js +21 -0
  47. package/dist/index241.js +27 -2
  48. package/dist/index242.js +243 -79
  49. package/dist/index243.js +54 -0
  50. package/dist/index244.js +44 -29
  51. package/dist/index245.js +5 -17
  52. package/dist/index246.js +59 -50
  53. package/dist/index247.js +3 -15
  54. package/dist/index248.js +7 -12
  55. package/dist/index249.js +15 -16
  56. package/dist/index25.js +5 -5
  57. package/dist/index251.js +2 -2
  58. package/dist/index257.js +2 -2
  59. package/dist/index258.js +3 -3
  60. package/dist/index263.js +3 -3
  61. package/dist/index268.js +5 -223
  62. package/dist/index269.js +2 -3
  63. package/dist/index27.js +1 -1
  64. package/dist/index270.js +4 -0
  65. package/dist/index271.js +2 -7
  66. package/dist/index272.js +2 -176
  67. package/dist/index273.js +2 -7
  68. package/dist/index274.js +2 -11
  69. package/dist/index275.js +1 -1
  70. package/dist/index276.js +176 -2
  71. package/dist/index277.js +3 -89
  72. package/dist/index278.js +3 -281
  73. package/dist/index280.js +7 -2
  74. package/dist/index281.js +7 -2
  75. package/dist/index282.js +11 -2
  76. package/dist/index283.js +3 -2
  77. package/dist/index284.js +17 -2
  78. package/dist/index285.js +9 -2
  79. package/dist/index286.js +200 -2
  80. package/dist/index287.js +224 -2
  81. package/dist/index288.js +4 -2
  82. package/dist/index289.js +9 -2
  83. package/dist/index29.js +2 -2
  84. package/dist/index290.js +2 -2
  85. package/dist/index291.js +2 -22
  86. package/dist/index292.js +4 -0
  87. package/dist/index293.js +2 -4
  88. package/dist/index294.js +2 -200
  89. package/dist/index295.js +2 -9
  90. package/dist/index296.js +20 -7
  91. package/dist/index298.js +8 -2
  92. package/dist/index299.js +2 -3
  93. package/dist/index300.js +89 -3
  94. package/dist/index301.js +124 -15
  95. package/dist/index302.js +3 -126
  96. package/dist/index303.js +1 -1
  97. package/dist/index304.js +2 -3
  98. package/dist/index305.js +436 -2
  99. package/dist/index306.js +113 -422
  100. package/dist/index307.js +3 -127
  101. package/dist/index308.js +3 -3
  102. package/dist/index309.js +58 -3
  103. package/dist/index31.js +2 -2
  104. package/dist/index310.js +2 -58
  105. package/dist/index311.js +5 -2
  106. package/dist/index312.js +8 -5
  107. package/dist/index313.js +5 -67
  108. package/dist/index314.js +67 -5
  109. package/dist/index315.js +479 -7
  110. package/dist/index316.js +32 -6
  111. package/dist/index317.js +25 -6
  112. package/dist/index318.js +52 -18
  113. package/dist/index319.js +52 -32
  114. package/dist/index320.js +3 -25
  115. package/dist/index321.js +7 -53
  116. package/dist/index322.js +47 -53
  117. package/dist/index323.js +6 -3
  118. package/dist/index324.js +19 -480
  119. package/dist/index325.js +2 -47
  120. package/dist/index328.js +426 -0
  121. package/dist/index329.js +2 -424
  122. package/dist/index33.js +7 -7
  123. package/dist/index330.js +47 -2
  124. package/dist/index35.js +4 -4
  125. package/dist/index37.js +147 -144
  126. package/dist/index39.js +1 -1
  127. package/dist/index41.js +2 -2
  128. package/dist/index43.js +7 -7
  129. package/dist/index45.js +25 -24
  130. package/dist/index47.js +2 -2
  131. package/dist/index49.js +2 -2
  132. package/dist/index53.js +1 -1
  133. package/dist/index55.js +1 -1
  134. package/dist/index57.js +1 -1
  135. package/dist/index61.js +1 -1
  136. package/dist/index75.js +1 -1
  137. package/dist/index77.js +1 -1
  138. package/dist/index81.js +1 -1
  139. package/dist/index84.js +3 -3
  140. package/dist/index86.js +2 -2
  141. package/dist/index88.js +3 -3
  142. package/dist/style.css +1 -1
  143. package/package.json +1 -1
  144. package/dist/index224.js +0 -21
  145. package/dist/index228.js +0 -4
  146. package/dist/index279.js +0 -8
  147. package/dist/index297.js +0 -10
  148. package/dist/index326.js +0 -4
  149. package/dist/index331.js +0 -49
package/dist/index45.js CHANGED
@@ -1,20 +1,20 @@
1
- import { defineComponent as Q, ref as u, computed as f, toRef as E, watch as Z, openBlock as v, createBlock as k, normalizeClass as G, withCtx as n, renderSlot as s, createVNode as I, unref as $, createElementVNode as O, createElementBlock as J, Fragment as W, createCommentVNode as X, withDirectives as Y, mergeProps as ee, withModifiers as d, withKeys as y, vModelDynamic as te, nextTick as oe } from "vue";
1
+ import { defineComponent as Q, ref as u, computed as f, toRef as E, watch as Z, openBlock as v, createBlock as k, normalizeClass as G, withCtx as n, renderSlot as s, createVNode as I, unref as $, createElementVNode as O, createElementBlock as J, Fragment as W, createCommentVNode as X, withDirectives as Y, mergeProps as ee, withModifiers as d, withKeys as y, vModelText as te, nextTick as oe } from "vue";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import ae from "./index128.js";
5
5
  /* empty css */
6
- import { last as le } from "./index228.js";
7
- import { useBaseOptions as ne } from "./index246.js";
8
- import { useIndexById as re } from "./index245.js";
6
+ import { last as le } from "./index216.js";
7
+ import { useBaseOptions as ne } from "./index231.js";
8
+ import { useIndexById as re } from "./index230.js";
9
9
  import ie from "./index252.js";
10
10
  /* empty css */
11
11
  import ue from "./index254.js";
12
12
  /* empty css */
13
- import se from "./index210.js";
13
+ import se from "./index223.js";
14
14
  /* empty css */
15
- import de from "./index212.js";
16
- import { isEmpty as pe } from "./index241.js";
17
- const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], Le = /* @__PURE__ */ Q({
15
+ import de from "./index225.js";
16
+ import { isEmpty as pe } from "./index226.js";
17
+ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], De = /* @__PURE__ */ Q({
18
18
  __name: "BaseTag",
19
19
  props: {
20
20
  "append:icon": {},
@@ -39,17 +39,17 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
39
39
  required: { type: Boolean }
40
40
  },
41
41
  emits: ["blur", "change", "click", "duplicate", "focus", "inactive", "input", "keydown", "keyup", "update:modelValue"],
42
- setup(D, { emit: L }) {
43
- const t = D, l = L;
42
+ setup(L, { emit: D }) {
43
+ const t = L, l = D;
44
44
  if (t.multiple && !Array.isArray(t.modelValue))
45
45
  throw new Error('Multiple is set to "true" but modelValue is not an array.');
46
- const b = u(null), A = u(null), B = u(null), V = u(null), r = f(
46
+ const b = u(null), T = u(null), B = u(null), V = u(null), r = f(
47
47
  () => t.comma ? B.value : V.value
48
- ), p = u(null), H = () => {
48
+ ), p = u(null), A = () => {
49
49
  p.value instanceof HTMLInputElement && p.value.focus();
50
- }, o = u(""), i = f(() => T.value.filter((e) => e.selected)), { data: w, get: K } = re({
50
+ }, o = u(""), i = f(() => K.value.filter((e) => e.selected)), { data: w, get: H } = re({
51
51
  items: E(t, "modelValue")
52
- }), { options: T } = ne({
52
+ }), { options: K } = ne({
53
53
  disabled: E(t, "disabled"),
54
54
  items: f(() => [].concat(t.modelValue)),
55
55
  itemText: void 0,
@@ -70,7 +70,7 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
70
70
  delete a[e.valueHash], l("update:modelValue", Object.values(a));
71
71
  } else
72
72
  l("update:modelValue", null);
73
- H();
73
+ A();
74
74
  };
75
75
  Z(
76
76
  () => t.modelValue,
@@ -114,7 +114,7 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
114
114
  l("keydown", e);
115
115
  return;
116
116
  }
117
- if (e.preventDefault(), K(o.value))
117
+ if (e.preventDefault(), H(o.value))
118
118
  l("duplicate", o.value), o.value = "";
119
119
  else {
120
120
  if (t.max && i.value.length >= t.max)
@@ -124,19 +124,19 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
124
124
  }
125
125
  }, _ = (e) => {
126
126
  l("focus", e), M(), document.addEventListener("click", c), document.addEventListener("focusin", c);
127
- }, R = (e) => {
127
+ }, x = (e) => {
128
128
  l("click", e), !(t.disabled || t.readonly) && p.value instanceof HTMLElement && p.value.focus();
129
129
  }, c = async (e) => {
130
130
  if (e.target instanceof Node && b.value && !b.value.$el.contains(e.target)) {
131
131
  N(), document.removeEventListener("click", c), document.removeEventListener("focusin", c), C();
132
132
  return;
133
133
  }
134
- }, j = {
134
+ }, R = {
135
135
  onBlur: (e) => l("blur", e),
136
136
  onChange: (e) => l("change", e),
137
137
  onKeyup: (e) => l("keyup", e),
138
138
  onInput: (e) => l("input", e)
139
- }, x = () => {
139
+ }, j = () => {
140
140
  let e = null;
141
141
  t.multiple && (e = []), l("update:modelValue", e);
142
142
  };
@@ -152,7 +152,7 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
152
152
  "bb-base-tag--readonly": e.readonly,
153
153
  "bb-base-tag--compact": e.compact
154
154
  }),
155
- onClick: R
155
+ onClick: x
156
156
  }, {
157
157
  "prepend-outer": n(() => [
158
158
  s(e.$slots, "prepend-outer")
@@ -163,12 +163,12 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
163
163
  default: n(() => [
164
164
  I(se, {
165
165
  ref_key: "innerContainer",
166
- ref: A,
166
+ ref: T,
167
167
  "append:icon": t["append:icon"],
168
168
  clearable: e.clearable && !$(pe)(e.modelValue),
169
169
  "prepend:icon": t["prepend:icon"],
170
170
  "prevent-focus": !0,
171
- "onClick:clear": x
171
+ "onClick:clear": j
172
172
  }, {
173
173
  prepend: n(() => [
174
174
  s(e.$slots, "prepend")
@@ -204,7 +204,7 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
204
204
  id: e.id,
205
205
  ref_key: "input",
206
206
  ref: p
207
- }, j, {
207
+ }, R, {
208
208
  "onUpdate:modelValue": a[0] || (a[0] = (m) => o.value = m),
209
209
  "aria-describedby": e.ariaDescribedby,
210
210
  autocomplete: e.autocomplete,
@@ -216,6 +216,7 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
216
216
  readonly: e.readonly,
217
217
  required: e.required && (!e.multiple || !e.modelValue.length),
218
218
  size: "1",
219
+ style: { "--characters": o.value.length },
219
220
  type: "text",
220
221
  onFocus: d(_, ["stop"]),
221
222
  onKeydown: [
@@ -241,5 +242,5 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
241
242
  }
242
243
  });
243
244
  export {
244
- Le as default
245
+ De as default
245
246
  };
package/dist/index47.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as h, ref as y, computed as u, onMounted as g, watch as B, nextTick as V, openBlock as $, createBlock as k, normalizeClass as C, withCtx as r, renderSlot as t, createVNode as i, unref as T, createElementVNode as v, mergeProps as x } from "vue";
2
- import E from "./index212.js";
3
- import G from "./index210.js";
2
+ import E from "./index225.js";
3
+ import G from "./index223.js";
4
4
  /* empty css */
5
5
  import M from "./index128.js";
6
6
  /* empty css */
package/dist/index49.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as m, computed as b, openBlock as c, createElementBlock as f, Fragment as y, createVNode as r, normalizeClass as B, withCtx as n, renderSlot as l, unref as g, createElementVNode as p, mergeProps as h } from "vue";
2
- import $ from "./index210.js";
2
+ import $ from "./index223.js";
3
3
  /* empty css */
4
- import k from "./index212.js";
4
+ import k from "./index225.js";
5
5
  import { isNotNil as C } from "./index134.js";
6
6
  const V = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "type", "value"], M = /* @__PURE__ */ m({
7
7
  __name: "BaseTextInput",
package/dist/index53.js CHANGED
@@ -3,7 +3,7 @@ import B from "./index126.js";
3
3
  /* empty css */
4
4
  import L from "./index127.js";
5
5
  /* empty css */
6
- import { useLocale as g } from "./index215.js";
6
+ import { useLocale as g } from "./index218.js";
7
7
  const $ = {
8
8
  class: "bb-alert__inner-container",
9
9
  role: "alert"
package/dist/index55.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as b, computed as z, ref as o, onMounted as g, openBlock as l, createElementBlock as i, normalizeProps as _, guardReactiveProps as h, renderSlot as k } from "vue";
2
- import { isCssColor as y } from "./index234.js";
2
+ import { isCssColor as y } from "./index237.js";
3
3
  import { wait as C } from "./index130.js";
4
4
  const w = ["alt", "sizes", "src", "srcset"], B = {
5
5
  key: 1,
package/dist/index57.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, useSlots as d, computed as n, openBlock as m, createElementBlock as u, normalizeClass as g, createElementVNode as s, renderSlot as l, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
2
- import { isCssColor as r } from "./index234.js";
2
+ import { isCssColor as r } from "./index237.js";
3
3
  import { isNil as B } from "./index260.js";
4
4
  const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, S = /* @__PURE__ */ p({
5
5
  __name: "BbBadge",
package/dist/index61.js CHANGED
@@ -9,7 +9,7 @@ import T from "./index129.js";
9
9
  /* empty css */
10
10
  import { pickBy as W } from "./index261.js";
11
11
  import { noop as w } from "./index262.js";
12
- import { useLocale as D } from "./index215.js";
12
+ import { useLocale as D } from "./index218.js";
13
13
  const E = {
14
14
  key: 2,
15
15
  class: "bb-button__loading-label sr-only"
package/dist/index75.js CHANGED
@@ -6,7 +6,7 @@ import { useIntersectionObserver as ae } from "./index132.js";
6
6
  import le from "./index13.js";
7
7
  /* empty css */
8
8
  import N from "./index266.js";
9
- import se from "./index239.js";
9
+ import se from "./index221.js";
10
10
  /* empty css */
11
11
  import V from "./index127.js";
12
12
  /* empty css */
package/dist/index77.js CHANGED
@@ -9,7 +9,7 @@ import S from "./index127.js";
9
9
  /* empty css */
10
10
  import R from "./index129.js";
11
11
  /* empty css */
12
- import { useLocale as T } from "./index215.js";
12
+ import { useLocale as T } from "./index218.js";
13
13
  const Z = { class: "bb-dropdown-button__content" }, q = {
14
14
  key: 1,
15
15
  class: "bb-dropdown-button__loading-label sr-only"
package/dist/index81.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, openBlock as g, createBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
2
- import { throttle as c } from "./index216.js";
2
+ import { throttle as c } from "./index247.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index84.js CHANGED
@@ -2,10 +2,10 @@ import { defineComponent as se, ref as l, useAttrs as ae, computed as u, getCurr
2
2
  import { useFocusTrap as pe } from "./index217.js";
3
3
  import { useId as E } from "./index8.js";
4
4
  import { wait as H } from "./index130.js";
5
- import { useModalsState as b } from "./index219.js";
6
- import be from "./index220.js";
5
+ import { useModalsState as b } from "./index248.js";
6
+ import be from "./index249.js";
7
7
  import { useMobile as me } from "./index9.js";
8
- import { useLocale as ye } from "./index215.js";
8
+ import { useLocale as ye } from "./index218.js";
9
9
  const he = ["inert"], ge = { class: "bb-offcanvas-close" }, _e = ["aria-label"], Te = /* @__PURE__ */ se({
10
10
  __name: "BbOffCanvas",
11
11
  props: {
package/dist/index86.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as E, computed as h, ref as g, onMounted as P, onBeforeUnmount as W, openBlock as k, createElementBlock as V, normalizeClass as $, createElementVNode as i, createVNode as S, unref as v, withCtx as w, renderSlot as c, toDisplayString as m, Fragment as R, renderList as F, nextTick as x } from "vue";
2
- import { debounce as T } from "./index295.js";
2
+ import { debounce as T } from "./index289.js";
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  import z from "./index13.js";
6
6
  /* empty css */
7
- import { useLocale as D } from "./index215.js";
7
+ import { useLocale as D } from "./index218.js";
8
8
  const G = ["aria-label"], I = { class: "bb-pagination__page-label sr-only" }, O = { class: "bb-pagination__page-label" }, j = { class: "bb-pagination__page-label" }, q = { class: "bb-pagination__page-label sr-only" }, Z = /* @__PURE__ */ E({
9
9
  __name: "BbPagination",
10
10
  props: {
package/dist/index88.js CHANGED
@@ -2,12 +2,12 @@ import { defineComponent as O, ref as n, computed as v, openBlock as y, createEl
2
2
  import { useFocusTrap as j } from "./index217.js";
3
3
  import { useId as G } from "./index8.js";
4
4
  import { useIntersectionObserver as J } from "./index132.js";
5
- import { waitFor as K } from "./index218.js";
5
+ import { waitFor as K } from "./index220.js";
6
6
  import Q from "./index13.js";
7
7
  /* empty css */
8
- import U from "./index239.js";
8
+ import U from "./index221.js";
9
9
  /* empty css */
10
- import { useLocale as X } from "./index215.js";
10
+ import { useLocale as X } from "./index218.js";
11
11
  import { useDebounceFn as Y } from "./index205.js";
12
12
  const Z = { class: "bb-popover__close-label sr-only" }, ce = /* @__PURE__ */ O({
13
13
  __name: "BbPopover",