bitboss-ui 2.0.115 → 2.0.116

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 (164) hide show
  1. package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +31 -58
  2. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +0 -5
  3. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +5 -0
  4. package/dist/components/BaseSlider/BaseSlider.vue.d.ts +1 -1
  5. package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +8 -167
  6. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +1 -1
  7. package/dist/components/BbSelect/BbSelect.vue.d.ts +5 -0
  8. package/dist/index100.js +8 -8
  9. package/dist/index101.js +5 -3
  10. package/dist/index111.js +11 -11
  11. package/dist/index119.js +2 -2
  12. package/dist/index121.js +6 -6
  13. package/dist/index123.js +1 -1
  14. package/dist/index125.js +1 -1
  15. package/dist/index127.js +1 -1
  16. package/dist/index128.js +1 -1
  17. package/dist/index129.js +1 -1
  18. package/dist/index13.js +2 -2
  19. package/dist/index131.js +1 -1
  20. package/dist/index132.js +2 -2
  21. package/dist/index133.js +2 -2
  22. package/dist/index15.js +5 -5
  23. package/dist/index17.js +3 -3
  24. package/dist/index19.js +8 -8
  25. package/dist/index205.js +2 -115
  26. package/dist/index206.js +3 -2
  27. package/dist/index207.js +47 -80
  28. package/dist/index209.js +13 -25
  29. package/dist/index21.js +16 -16
  30. package/dist/index210.js +2 -17
  31. package/dist/index211.js +4 -48
  32. package/dist/index212.js +2 -15
  33. package/dist/index213.js +86 -3
  34. package/dist/index215.js +23 -14
  35. package/dist/index216.js +17 -5
  36. package/dist/index217.js +50 -15
  37. package/dist/index218.js +15 -16
  38. package/dist/index219.js +3 -19
  39. package/dist/index220.js +12 -15
  40. package/dist/index221.js +16 -19
  41. package/dist/index222.js +124 -25
  42. package/dist/index223.js +5 -2
  43. package/dist/index224.js +125 -8
  44. package/dist/index225.js +14 -248
  45. package/dist/index226.js +15 -51
  46. package/dist/index227.js +19 -44
  47. package/dist/index228.js +15 -5
  48. package/dist/index229.js +2 -60
  49. package/dist/index23.js +31 -32
  50. package/dist/index230.js +2 -13
  51. package/dist/index231.js +41 -2
  52. package/dist/index232.js +13 -4
  53. package/dist/index233.js +20 -2
  54. package/dist/index234.js +5 -52
  55. package/dist/index235.js +17 -0
  56. package/dist/index236.js +4 -12
  57. package/dist/index237.js +366 -17
  58. package/dist/index238.js +19 -4
  59. package/dist/index239.js +27 -3
  60. package/dist/index240.js +8 -41
  61. package/dist/index241.js +249 -5
  62. package/dist/index242.js +52 -7
  63. package/dist/index243.js +40 -11
  64. package/dist/index244.js +5 -3
  65. package/dist/index245.js +58 -124
  66. package/dist/index246.js +3 -125
  67. package/dist/index247.js +7 -2
  68. package/dist/index248.js +4 -5
  69. package/dist/index249.js +98 -352
  70. package/dist/index25.js +7 -7
  71. package/dist/index254.js +1 -1
  72. package/dist/index256.js +1 -1
  73. package/dist/index261.js +9 -6
  74. package/dist/index262.js +23 -16
  75. package/dist/index263.js +89 -8
  76. package/dist/index265.js +6 -90
  77. package/dist/index266.js +18 -0
  78. package/dist/index267.js +224 -3
  79. package/dist/index268.js +3 -17
  80. package/dist/index27.js +1 -1
  81. package/dist/index270.js +7 -28
  82. package/dist/index271.js +4 -281
  83. package/dist/index272.js +3 -6
  84. package/dist/index273.js +17 -2
  85. package/dist/index274.js +9 -2
  86. package/dist/index275.js +28 -2
  87. package/dist/index276.js +281 -2
  88. package/dist/index277.js +6 -2
  89. package/dist/index278.js +2 -2
  90. package/dist/index279.js +2 -2
  91. package/dist/index280.js +2 -2
  92. package/dist/index281.js +2 -2
  93. package/dist/index282.js +2 -2
  94. package/dist/index283.js +2 -2
  95. package/dist/index284.js +125 -21
  96. package/dist/index285.js +433 -0
  97. package/dist/index286.js +175 -6
  98. package/dist/index287.js +2 -7
  99. package/dist/index288.js +22 -11
  100. package/dist/index29.js +3 -3
  101. package/dist/index290.js +7 -3
  102. package/dist/index291.js +13 -0
  103. package/dist/index292.js +2 -176
  104. package/dist/index293.js +2 -431
  105. package/dist/index294.js +1 -1
  106. package/dist/index295.js +2 -89
  107. package/dist/index296.js +2 -224
  108. package/dist/index297.js +2 -200
  109. package/dist/index298.js +21 -7
  110. package/dist/index300.js +9 -2
  111. package/dist/index301.js +196 -122
  112. package/dist/index302.js +435 -21
  113. package/dist/index303.js +129 -0
  114. package/dist/index304.js +81 -428
  115. package/dist/index305.js +8 -127
  116. package/dist/index308.js +2 -2
  117. package/dist/index309.js +2 -3
  118. package/dist/index31.js +2 -2
  119. package/dist/index310.js +3 -3
  120. package/dist/index311.js +65 -56
  121. package/dist/index312.js +5 -5
  122. package/dist/index313.js +3 -8
  123. package/dist/index314.js +3 -53
  124. package/dist/index315.js +57 -52
  125. package/dist/index316.js +1 -1
  126. package/dist/index317.js +4 -6
  127. package/dist/index318.js +8 -67
  128. package/dist/index319.js +3 -6
  129. package/dist/index320.js +6 -18
  130. package/dist/index321.js +18 -3
  131. package/dist/index322.js +53 -5
  132. package/dist/index323.js +53 -2
  133. package/dist/index324.js +7 -3
  134. package/dist/index326.js +4 -0
  135. package/dist/index327.js +480 -2
  136. package/dist/index33.js +8 -8
  137. package/dist/index35.js +4 -4
  138. package/dist/index37.js +133 -132
  139. package/dist/index39.js +3 -3
  140. package/dist/index41.js +2 -2
  141. package/dist/index43.js +8 -8
  142. package/dist/index45.js +5 -5
  143. package/dist/index47.js +2 -2
  144. package/dist/index49.js +2 -2
  145. package/dist/index51.js +11 -12
  146. package/dist/index53.js +1 -1
  147. package/dist/index55.js +1 -1
  148. package/dist/index57.js +1 -1
  149. package/dist/index61.js +1 -1
  150. package/dist/index75.js +3 -3
  151. package/dist/index77.js +1 -1
  152. package/dist/index79.js +2 -2
  153. package/dist/index81.js +1 -1
  154. package/dist/index84.js +4 -4
  155. package/dist/index86.js +2 -2
  156. package/dist/index88.js +5 -5
  157. package/dist/index90.js +1 -1
  158. package/package.json +2 -2
  159. package/dist/index214.js +0 -14
  160. package/dist/index264.js +0 -25
  161. package/dist/index269.js +0 -11
  162. package/dist/index289.js +0 -6
  163. package/dist/index299.js +0 -11
  164. package/dist/index328.js +0 -482
package/dist/index51.js CHANGED
@@ -1,5 +1,5 @@
1
- import { defineComponent as f, ref as _, watch as v, openBlock as b, createElementBlock as h, createVNode as n, unref as t, normalizeClass as d, withModifiers as g, withCtx as s, renderSlot as u } from "vue";
2
- import { useId as V } from "./index8.js";
1
+ import { defineComponent as f, ref as _, watch as v, openBlock as b, createElementBlock as h, createVNode as n, unref as i, normalizeClass as d, withModifiers as V, withCtx as s, renderSlot as u } from "vue";
2
+ import { useId as g } from "./index8.js";
3
3
  import $ from "./index13.js";
4
4
  /* empty css */
5
5
  import B from "./index126.js";
@@ -10,40 +10,39 @@ const y = { class: "bb-accordion" }, A = /* @__PURE__ */ f({
10
10
  eager: { type: Boolean },
11
11
  transitionDuration: { default: 250 },
12
12
  modelValue: { type: Boolean },
13
- tag: {},
14
13
  id: {}
15
14
  },
16
15
  emits: ["update:modelValue"],
17
16
  setup(m, { emit: c }) {
18
- const p = c, o = m, l = o.id || `bba_${V().id.value}`, e = _(o.modelValue);
17
+ const p = c, o = m, l = o.id || `bba_${g().id.value}`, e = _(o.modelValue);
19
18
  v(
20
19
  () => o.modelValue,
21
20
  (a, r) => {
22
21
  a !== r && a !== e.value && (e.value = a);
23
22
  }
24
23
  );
25
- const i = () => {
24
+ const t = () => {
26
25
  e.value = !e.value, p("update:modelValue", !o.modelValue);
27
26
  };
28
27
  return (a, r) => (b(), h("div", y, [
29
28
  n($, {
30
- id: `${t(l)}_header`,
31
- "aria-controls": t(l),
29
+ id: `${i(l)}_header`,
30
+ "aria-controls": i(l),
32
31
  "aria-expanded": e.value,
33
32
  class: d("bb-accordion__header"),
34
- onClick: g(i, ["self"])
33
+ onClick: V(t, ["self"])
35
34
  }, {
36
35
  default: s(() => [
37
36
  u(a.$slots, "header", {
38
- toggle: i,
37
+ toggle: t,
39
38
  value: e.value
40
39
  })
41
40
  ]),
42
41
  _: 3
43
42
  }, 8, ["id", "aria-controls", "aria-expanded"]),
44
43
  n(B, {
45
- id: t(l),
46
- "aria-labelledby": `${t(l)}_header`,
44
+ id: i(l),
45
+ "aria-labelledby": `${i(l)}_header`,
47
46
  class: d("bb-accordion__content"),
48
47
  eager: a.eager,
49
48
  "model-value": e.value,
@@ -52,7 +51,7 @@ const y = { class: "bb-accordion" }, A = /* @__PURE__ */ f({
52
51
  }, {
53
52
  default: s(() => [
54
53
  u(a.$slots, "default", {
55
- toggle: i,
54
+ toggle: t,
56
55
  value: e.value
57
56
  })
58
57
  ]),
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 "./index230.js";
6
+ import { useLocale as g } from "./index232.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 "./index231.js";
2
+ import { isCssColor as y } from "./index210.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 "./index231.js";
2
+ import { isCssColor as r } from "./index210.js";
3
3
  import { isNil as B } from "./index251.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 $ } from "./index259.js";
11
11
  import { noop as A } from "./index260.js";
12
- import { useLocale as W } from "./index230.js";
12
+ import { useLocale as W } from "./index232.js";
13
13
  const w = {
14
14
  key: 2,
15
15
  class: "bb-button__loading-label sr-only"
package/dist/index75.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as X, computed as A, ref as y, openBlock as $, createElementBlock as D, mergeProps as B, createElementVNode as H, renderSlot as g, normalizeProps as Y, guardReactiveProps as Z, unref as h, createVNode as C, withCtx as O, normalizeStyle as x, Fragment as K, renderList as ee, createBlock as P, createCommentVNode as N, toDisplayString as te } from "vue";
2
- import { findRightIndex as I } from "./index263.js";
2
+ import { findRightIndex as I } from "./index261.js";
3
3
  import { useId as ne } from "./index8.js";
4
4
  import { wait as oe } from "./index130.js";
5
5
  import { useIntersectionObserver as ae } from "./index132.js";
6
6
  import le from "./index13.js";
7
7
  /* empty css */
8
- import V from "./index264.js";
9
- import se from "./index265.js";
8
+ import V from "./index262.js";
9
+ import se from "./index263.js";
10
10
  /* empty css */
11
11
  import j 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 Z from "./index129.js";
11
11
  /* empty css */
12
- import { useLocale as j } from "./index230.js";
12
+ import { useLocale as j } from "./index232.js";
13
13
  const q = { class: "bb-dropdown-button__content" }, A = {
14
14
  key: 1,
15
15
  class: "bb-dropdown-button__loading-label sr-only"
package/dist/index79.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as j, ref as g, watch as x, computed as m, openBlock as V, createBlock as G, resolveDynamicComponent as K, normalizeClass as O, withCtx as M, createElementVNode as c, withModifiers as y, renderSlot as U, normalizeProps as Y, guardReactiveProps as Z, createTextVNode as J, unref as Q, createVNode as W, createElementBlock as F, Fragment as X, renderList as ee, toDisplayString as te } from "vue";
2
- import { findInTree as ae } from "./index262.js";
2
+ import { findInTree as ae } from "./index266.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index128.js";
5
5
  /* empty css */
@@ -53,7 +53,7 @@ const le = ["accept", "autofocus", "disabled", "multiple"], se = { class: "bb-dr
53
53
  const r = a.accept[t];
54
54
  if (r.includes("/")) e.push(r);
55
55
  else {
56
- b || (b = (await import("./index261.js")).default);
56
+ b || (b = (await import("./index265.js")).default);
57
57
  const o = b.getType(r);
58
58
  if (!o)
59
59
  throw new Error(
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 "./index239.js";
2
+ import { throttle as c } from "./index246.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index84.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as se, ref as l, useAttrs as ae, computed as u, getCurrentInstance as ne, nextTick as ie, onBeforeUnmount as O, onMounted as re, watch as ue, openBlock as g, createBlock as ce, withCtx as de, createElementVNode as s, mergeProps as S, createElementBlock as z, renderSlot as n, createTextVNode as fe, toDisplayString as A, unref as ve, createCommentVNode as $ } from "vue";
2
- import { useFocusTrap as pe } from "./index240.js";
2
+ import { useFocusTrap as pe } from "./index231.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 "./index242.js";
6
- import be from "./index243.js";
5
+ import { useModalsState as b } from "./index247.js";
6
+ import be from "./index235.js";
7
7
  import { useMobile as me } from "./index9.js";
8
- import { useLocale as ye } from "./index230.js";
8
+ import { useLocale as ye } from "./index232.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 "./index299.js";
2
+ import { debounce as T } from "./index300.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 "./index230.js";
7
+ import { useLocale as D } from "./index232.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
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as O, ref as n, computed as v, openBlock as y, createElementBlock as S, mergeProps as F, createElementVNode as p, renderSlot as k, normalizeProps as H, guardReactiveProps as V, createVNode as q, withCtx as T, createBlock as I, toDisplayString as W, unref as z, createCommentVNode as A, nextTick as R } from "vue";
2
- import { useFocusTrap as j } from "./index240.js";
2
+ import { useFocusTrap as j } from "./index231.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 "./index241.js";
5
+ import { waitFor as K } from "./index234.js";
6
6
  import Q from "./index13.js";
7
7
  /* empty css */
8
- import U from "./index265.js";
8
+ import U from "./index263.js";
9
9
  /* empty css */
10
- import { useLocale as X } from "./index230.js";
11
- import { useDebounceFn as Y } from "./index205.js";
10
+ import { useLocale as X } from "./index232.js";
11
+ import { useDebounceFn as Y } from "./index249.js";
12
12
  const Z = { class: "bb-popover__close-label sr-only" }, ce = /* @__PURE__ */ O({
13
13
  __name: "BbPopover",
14
14
  props: {
package/dist/index90.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, computed as a, openBlock as l, createElementBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
2
- import { clamp as p } from "./index206.js";
2
+ import { clamp as p } from "./index205.js";
3
3
  import { getAsPercentageBetween as i } from "./index131.js";
4
4
  const _ = /* @__PURE__ */ r({
5
5
  __name: "BbProgress",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.0.115",
3
+ "version": "2.0.116",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
@@ -91,4 +91,4 @@
91
91
  "lint-staged": {
92
92
  "*.{js,css,md,html,json,vue,ts}": "prettier --write"
93
93
  }
94
- }
94
+ }
package/dist/index214.js DELETED
@@ -1,14 +0,0 @@
1
- import { hash as e } from "./index213.js";
2
- import { debouncedWatch as s } from "./index205.js";
3
- const n = (o, c, h) => {
4
- s(
5
- o,
6
- (r, t) => {
7
- e(r) !== e(t) && c(r, t);
8
- },
9
- h
10
- );
11
- };
12
- export {
13
- n as useHashedWatcher
14
- };
package/dist/index264.js DELETED
@@ -1,25 +0,0 @@
1
- const e = {
2
- inert: ":not([inert]):not([inert] *)",
3
- negTabIndex: ':not([tabindex^="-"])',
4
- disabled: ":not(:disabled)"
5
- }, n = [
6
- `a[href]${e.inert}${e.negTabIndex}`,
7
- `area[href]${e.inert}${e.negTabIndex}`,
8
- `input:not([type="hidden"]):not([type="radio"])${e.inert}${e.negTabIndex}${e.disabled}`,
9
- `input[type="radio"]${e.inert}${e.negTabIndex}${e.disabled}`,
10
- `select${e.inert}${e.negTabIndex}${e.disabled}`,
11
- `textarea${e.inert}${e.negTabIndex}${e.disabled}`,
12
- `button${e.inert}${e.negTabIndex}${e.disabled}`,
13
- `details${e.inert} > summary:first-of-type${e.negTabIndex}`,
14
- // Discard until Firefox supports `:has()`
15
- // See: https://github.com/KittyGiraudel/focusable-selectors/issues/12
16
- // `details:not(:has(> summary))${not.inert}${not.negTabIndex}`,
17
- `iframe${e.inert}${e.negTabIndex}`,
18
- `audio[controls]${e.inert}${e.negTabIndex}`,
19
- `video[controls]${e.inert}${e.negTabIndex}`,
20
- `[contenteditable]${e.inert}${e.negTabIndex}`,
21
- `[tabindex]${e.inert}${e.negTabIndex}`
22
- ];
23
- export {
24
- n as default
25
- };
package/dist/index269.js DELETED
@@ -1,11 +0,0 @@
1
- import { get as o } from "./index288.js";
2
- const e = () => ({
3
- getItemValue(n, f) {
4
- if (typeof f > "u") return n;
5
- if (typeof f == "function") return f(n);
6
- if (typeof f == "string") return o(n, f);
7
- }
8
- });
9
- export {
10
- e as useItemValue
11
- };
package/dist/index289.js DELETED
@@ -1,6 +0,0 @@
1
- const e = function(t) {
2
- return (...n) => n.length >= t.length ? t(...n) : e(t.bind(void 0, ...n));
3
- };
4
- export {
5
- e as curry
6
- };
package/dist/index299.js DELETED
@@ -1,11 +0,0 @@
1
- function u(e, i) {
2
- let t;
3
- return function(...o) {
4
- t !== void 0 && clearTimeout(t), t = setTimeout(() => {
5
- e.apply(this, o);
6
- }, i);
7
- };
8
- }
9
- export {
10
- u as debounce
11
- };