bitboss-ui 2.1.28 → 2.1.29

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 (183) hide show
  1. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +1 -3
  2. package/dist/index106.js +9 -9
  3. package/dist/index111.js +1 -1
  4. package/dist/index113.js +1 -1
  5. package/dist/index121.js +12 -12
  6. package/dist/index129.js +1 -1
  7. package/dist/index13.js +1 -1
  8. package/dist/index131.js +4 -4
  9. package/dist/index136.js +1 -1
  10. package/dist/index138.js +1 -1
  11. package/dist/index15.js +8 -8
  12. package/dist/index17.js +3 -3
  13. package/dist/index19.js +8 -8
  14. package/dist/index207.js +2 -2
  15. package/dist/index208.js +2 -2
  16. package/dist/index209.js +86 -5
  17. package/dist/index21.js +16 -16
  18. package/dist/index211.js +29 -5
  19. package/dist/index212.js +17 -5
  20. package/dist/index213.js +51 -5
  21. package/dist/index214.js +15 -5
  22. package/dist/index215.js +3 -5
  23. package/dist/index216.js +12 -3
  24. package/dist/index217.js +16 -2
  25. package/dist/index218.js +4 -8
  26. package/dist/index219.js +12 -249
  27. package/dist/index220.js +11 -52
  28. package/dist/index221.js +19 -43
  29. package/dist/index222.js +197 -5
  30. package/dist/index224.js +68 -12
  31. package/dist/index226.js +13 -2
  32. package/dist/index227.js +117 -2
  33. package/dist/index229.js +2 -7
  34. package/dist/index23.js +15 -15
  35. package/dist/index230.js +4 -4
  36. package/dist/index231.js +34 -11
  37. package/dist/index232.js +2 -20
  38. package/dist/index233.js +2 -197
  39. package/dist/index234.js +20 -0
  40. package/dist/index235.js +12 -69
  41. package/dist/index236.js +8 -0
  42. package/dist/index237.js +106 -13
  43. package/dist/index239.js +102 -0
  44. package/dist/index241.js +229 -2
  45. package/dist/index242.js +2 -2
  46. package/dist/index243.js +2 -4
  47. package/dist/index244.js +6 -86
  48. package/dist/index245.js +4 -0
  49. package/dist/index246.js +5 -29
  50. package/dist/index247.js +5 -17
  51. package/dist/index248.js +5 -51
  52. package/dist/index249.js +5 -15
  53. package/dist/index25.js +3 -3
  54. package/dist/index250.js +5 -12
  55. package/dist/index251.js +5 -16
  56. package/dist/index252.js +3 -106
  57. package/dist/index254.js +7 -100
  58. package/dist/index255.js +9 -0
  59. package/dist/index256.js +13 -2
  60. package/dist/index257.js +5 -5
  61. package/dist/index258.js +5 -18
  62. package/dist/index259.js +8 -12
  63. package/dist/index260.js +249 -5
  64. package/dist/index261.js +45 -222
  65. package/dist/index262.js +43 -12
  66. package/dist/index263.js +5 -3
  67. package/dist/index264.js +59 -182
  68. package/dist/index265.js +183 -3
  69. package/dist/index268.js +9 -9
  70. package/dist/index269.js +23 -9
  71. package/dist/index27.js +1 -1
  72. package/dist/index270.js +6 -23
  73. package/dist/index271.js +16 -6
  74. package/dist/index272.js +3 -16
  75. package/dist/index273.js +9 -9
  76. package/dist/index274.js +9 -8
  77. package/dist/index275.js +8 -2
  78. package/dist/index276.js +2 -67
  79. package/dist/index277.js +1 -1
  80. package/dist/index278.js +1 -1
  81. package/dist/index280.js +67 -280
  82. package/dist/index281.js +3 -2
  83. package/dist/index282.js +17 -16
  84. package/dist/index283.js +28 -2
  85. package/dist/index284.js +3 -16
  86. package/dist/index285.js +3 -2
  87. package/dist/index287.js +7 -2
  88. package/dist/index288.js +3 -15
  89. package/dist/index289.js +7 -2
  90. package/dist/index29.js +91 -87
  91. package/dist/index290.js +10 -18
  92. package/dist/index291.js +4 -2
  93. package/dist/index292.js +4 -27
  94. package/dist/index293.js +2 -2
  95. package/dist/index294.js +3 -2
  96. package/dist/index295.js +3 -2
  97. package/dist/index296.js +1 -1
  98. package/dist/index297.js +280 -2
  99. package/dist/index298.js +2 -28
  100. package/dist/index299.js +125 -22
  101. package/dist/index300.js +4 -0
  102. package/dist/index301.js +15 -7
  103. package/dist/index302.js +2 -7
  104. package/dist/index303.js +15 -10
  105. package/dist/index304.js +2 -6
  106. package/dist/index305.js +15 -3
  107. package/dist/index306.js +2 -3
  108. package/dist/index307.js +19 -3
  109. package/dist/index308.js +4 -0
  110. package/dist/index309.js +5 -3
  111. package/dist/index31.js +2 -2
  112. package/dist/index310.js +6 -2
  113. package/dist/index311.js +19 -4
  114. package/dist/index312.js +2 -3
  115. package/dist/index313.js +27 -17
  116. package/dist/index314.js +2 -3
  117. package/dist/index315.js +2 -3
  118. package/dist/index316.js +2 -125
  119. package/dist/index317.js +2 -2
  120. package/dist/index318.js +1 -1
  121. package/dist/index319.js +22 -5
  122. package/dist/index321.js +5 -718
  123. package/dist/index322.js +715 -363
  124. package/dist/index323.js +366 -58
  125. package/dist/index324.js +57 -6
  126. package/dist/index325.js +2 -7
  127. package/dist/index326.js +226 -17
  128. package/dist/index327.js +32 -46
  129. package/dist/index328.js +27 -57
  130. package/dist/index33.js +8 -8
  131. package/dist/index330.js +7 -2
  132. package/dist/index331.js +17 -226
  133. package/dist/index332.js +6 -7
  134. package/dist/index333.js +8 -6
  135. package/dist/index334.js +128 -7
  136. package/dist/index335.js +359 -83
  137. package/dist/index336.js +46 -32
  138. package/dist/index337.js +57 -27
  139. package/dist/index339.js +8 -8
  140. package/dist/index340.js +5 -128
  141. package/dist/index341.js +6 -367
  142. package/dist/index342.js +85 -480
  143. package/dist/index344.js +5 -0
  144. package/dist/index345.js +129 -3
  145. package/dist/index346.js +427 -120
  146. package/dist/index347.js +113 -422
  147. package/dist/index348.js +484 -123
  148. package/dist/index35.js +4 -4
  149. package/dist/index37.js +20 -20
  150. package/dist/index39.js +7 -7
  151. package/dist/index41.js +2 -2
  152. package/dist/index43.js +8 -8
  153. package/dist/index45.js +8 -8
  154. package/dist/index47.js +2 -2
  155. package/dist/index49.js +3 -3
  156. package/dist/index53.js +1 -1
  157. package/dist/index55.js +1 -1
  158. package/dist/index57.js +2 -2
  159. package/dist/index61.js +1 -1
  160. package/dist/index67.js +1 -1
  161. package/dist/index79.js +4 -4
  162. package/dist/index81.js +1 -1
  163. package/dist/index83.js +2 -2
  164. package/dist/index85.js +1 -1
  165. package/dist/index87.js +1 -1
  166. package/dist/index88.js +2 -2
  167. package/dist/index90.js +3 -3
  168. package/dist/index92.js +2 -2
  169. package/dist/index94.js +3 -3
  170. package/dist/index96.js +1 -1
  171. package/dist/utilities/functions/clampPrecision.d.ts +1 -0
  172. package/dist/utilities/functions/exceedsPrecision.d.ts +1 -0
  173. package/package.json +2 -2
  174. package/dist/index210.js +0 -7
  175. package/dist/index223.js +0 -62
  176. package/dist/index228.js +0 -9
  177. package/dist/index238.js +0 -119
  178. package/dist/index240.js +0 -36
  179. package/dist/index286.js +0 -21
  180. package/dist/index320.js +0 -7
  181. /package/dist/{index225.js → index253.js} +0 -0
  182. /package/dist/{index329.js → index338.js} +0 -0
  183. /package/dist/{index343.js → index349.js} +0 -0
package/dist/index39.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as re, ref as d, computed as p, onMounted as te, watch as le, createElementBlock as y, openBlock as g, mergeProps as N, renderSlot as v, createElementVNode as m, createCommentVNode as H, Fragment as oe, renderList as ne, normalizeProps as se, guardReactiveProps as ie, unref as c, normalizeStyle as G, normalizeClass as O } from "vue";
2
- import { head as ue } from "./index225.js";
3
- import { isCssColor as Y } from "./index226.js";
4
- import { isNil as S } from "./index227.js";
2
+ import { head as ue } from "./index253.js";
3
+ import { isCssColor as Y } from "./index229.js";
4
+ import { isNil as S } from "./index245.js";
5
5
  import { getAsPercentageBetween as x, getAsPercentage as de, getValueFromPercentageInInterval as T } from "./index136.js";
6
- import { snapToStep as me } from "./index228.js";
7
- import { last as ce } from "./index217.js";
8
- import { transpose as j } from "./index229.js";
9
- import { clamp as f } from "./index207.js";
6
+ import { snapToStep as me } from "./index254.js";
7
+ import { last as ce } from "./index233.js";
8
+ import { transpose as j } from "./index255.js";
9
+ import { clamp as f } from "./index208.js";
10
10
  const be = { class: "bb-base-slider__slider-container" }, ve = {
11
11
  key: 0,
12
12
  class: "bb-base-slider__ticks-container"
package/dist/index41.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as I, ref as f, computed as n, watch as S, createElementBlock as h, openBlock as y, normalizeProps as r, guardReactiveProps as d, createCommentVNode as A, createElementVNode as l, mergeProps as V, renderSlot as F } from "vue";
2
- import { isCssColor as b } from "./index226.js";
3
- import { when as N } from "./index243.js";
2
+ import { isCssColor as b } from "./index229.js";
3
+ import { when as N } from "./index230.js";
4
4
  const x = { class: "bb-base-switch-container" }, $ = /* @__PURE__ */ I({
5
5
  __name: "BaseSwitch",
6
6
  props: {
package/dist/index43.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as j, ref as k, toRef as d, createBlock as z, openBlock as G, unref as B, withCtx as s, renderSlot as l, normalizeProps as v, guardReactiveProps as b, createVNode as R, mergeProps as w, createSlots as W } from "vue";
2
2
  import K from "./index41.js";
3
3
  /* empty css */
4
- import N from "./index244.js";
4
+ import N from "./index209.js";
5
5
  /* empty css */
6
- import { useItemsGetter as U } from "./index246.js";
7
- import { useIndexById as T } from "./index247.js";
8
- import { useBaseOptions as q } from "./index248.js";
9
- import { useCoherence as J } from "./index249.js";
10
- import { hash as Q } from "./index216.js";
11
- import { useHashedWatcher as $ } from "./index250.js";
12
- import { usePrefill as X } from "./index251.js";
6
+ import { useItemsGetter as U } from "./index211.js";
7
+ import { useIndexById as T } from "./index212.js";
8
+ import { useBaseOptions as q } from "./index213.js";
9
+ import { useCoherence as J } from "./index214.js";
10
+ import { hash as Q } from "./index215.js";
11
+ import { useHashedWatcher as $ } from "./index216.js";
12
+ import { usePrefill as X } from "./index217.js";
13
13
  const ue = /* @__PURE__ */ j({
14
14
  __name: "BaseSwitchGroup",
15
15
  props: {
package/dist/index45.js CHANGED
@@ -3,17 +3,17 @@ import { defineComponent as Q, ref as u, computed as f, toRef as E, watch as Z,
3
3
  /* empty css */
4
4
  import ae from "./index111.js";
5
5
  /* empty css */
6
- import { last as le } from "./index217.js";
7
- import { useBaseOptions as ne } from "./index248.js";
8
- import { useIndexById as re } from "./index247.js";
9
- import ie from "./index252.js";
6
+ import { last as le } from "./index233.js";
7
+ import { useBaseOptions as ne } from "./index213.js";
8
+ import { useIndexById as re } from "./index212.js";
9
+ import ie from "./index237.js";
10
10
  /* empty css */
11
- import ue from "./index254.js";
11
+ import ue from "./index239.js";
12
12
  /* empty css */
13
- import se from "./index235.js";
13
+ import se from "./index224.js";
14
14
  /* empty css */
15
- import de from "./index237.js";
16
- import { isEmpty as pe } from "./index256.js";
15
+ import de from "./index226.js";
16
+ import { isEmpty as pe } from "./index232.js";
17
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: {
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, createBlock as $, openBlock as k, normalizeClass as C, withCtx as r, createVNode as i, unref as T, createElementVNode as v, mergeProps as x, renderSlot as t } from "vue";
2
- import E from "./index237.js";
3
- import G from "./index235.js";
2
+ import E from "./index226.js";
3
+ import G from "./index224.js";
4
4
  /* empty css */
5
5
  import M from "./index111.js";
6
6
  /* empty css */
package/dist/index49.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as V, ref as h, computed as v, onMounted as B, onBeforeUnmount as M, watch as g, createElementBlock as i, openBlock as r, Fragment as w, createVNode as m, createElementVNode as $, normalizeClass as C, withCtx as n, unref as q, mergeProps as b, renderSlot as d } from "vue";
2
- import E from "./index235.js";
2
+ import E from "./index224.js";
3
3
  /* empty css */
4
- import I from "./index237.js";
4
+ import I from "./index226.js";
5
5
  import { isNotNil as N } from "./index140.js";
6
- import { MaskInput as z } from "./index264.js";
6
+ import { MaskInput as z } from "./index265.js";
7
7
  const D = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type"], F = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type", "value"], U = /* @__PURE__ */ V({
8
8
  __name: "BaseTextInput",
9
9
  props: {
package/dist/index53.js CHANGED
@@ -3,7 +3,7 @@ import B from "./index69.js";
3
3
  /* empty css */
4
4
  import L from "./index85.js";
5
5
  /* empty css */
6
- import { useLocale as g } from "./index224.js";
6
+ import { useLocale as g } from "./index219.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, createElementBlock as l, openBlock as i, normalizeProps as _, guardReactiveProps as h, renderSlot as k } from "vue";
2
- import { isCssColor as y } from "./index226.js";
2
+ import { isCssColor as y } from "./index229.js";
3
3
  import { wait as C } from "./index135.js";
4
4
  const w = ["alt", "sizes", "src", "srcset"], B = {
5
5
  key: 1,
package/dist/index57.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as p, useSlots as d, computed as s, createElementBlock as m, openBlock as u, normalizeClass as g, createElementVNode as n, renderSlot as r, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
2
- import { isCssColor as l } from "./index226.js";
3
- import { isNil as B } from "./index227.js";
2
+ import { isCssColor as l } from "./index229.js";
3
+ import { isNil as B } from "./index245.js";
4
4
  const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, N = /* @__PURE__ */ p({
5
5
  __name: "BbBadge",
6
6
  props: {
package/dist/index61.js CHANGED
@@ -9,7 +9,7 @@ import T from "./index113.js";
9
9
  /* empty css */
10
10
  import { pickBy as W } from "./index266.js";
11
11
  import { noop as w } from "./index267.js";
12
- import { useLocale as D } from "./index224.js";
12
+ import { useLocale as D } from "./index219.js";
13
13
  const E = {
14
14
  key: 2,
15
15
  class: "bb-button__loading-label sr-only"
package/dist/index67.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, createElementBlock as o, openBlock as a, createElementVNode as t, createCommentVNode as p, renderSlot as b, createTextVNode as m, toDisplayString as u, withModifiers as d, unref 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/index79.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as N, computed as R, ref as E, watch as W, createBlock as h, openBlock as k, unref as f, normalizeClass as G, withCtx as D, createElementVNode as I, normalizeStyle as J, renderSlot as m, createElementBlock as q, Fragment as F, renderList as Q, createVNode as X, mergeProps as Y, createCommentVNode as A, toDisplayString as Z, normalizeProps as x, guardReactiveProps as ee } from "vue";
2
- import { findRightIndex as T } from "./index269.js";
2
+ import { findRightIndex as T } from "./index268.js";
3
3
  import { useId as te } from "./index8.js";
4
- import { useUntil as ne } from "./index231.js";
4
+ import { useUntil as ne } from "./index220.js";
5
5
  import { wait as oe } from "./index135.js";
6
6
  import ae from "./index13.js";
7
7
  /* empty css */
8
8
  import B from "./index85.js";
9
9
  /* empty css */
10
- import le from "./index238.js";
10
+ import le from "./index227.js";
11
11
  /* empty css */
12
- import K from "./index270.js";
12
+ import K from "./index269.js";
13
13
  const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" }, Ee = /* @__PURE__ */ N({
14
14
  __name: "BbDropdown",
15
15
  props: {
package/dist/index81.js CHANGED
@@ -9,7 +9,7 @@ import z from "./index85.js";
9
9
  /* empty css */
10
10
  import I from "./index113.js";
11
11
  /* empty css */
12
- import { useLocale as M } from "./index224.js";
12
+ import { useLocale as M } from "./index219.js";
13
13
  const O = { class: "bb-dropdown-button__content" }, R = {
14
14
  key: 1,
15
15
  class: "bb-dropdown-button__loading-label sr-only"
package/dist/index83.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as j, ref as g, watch as x, computed as m, createBlock as G, openBlock as V, 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 "./index272.js";
2
+ import { findInTree as ae } from "./index271.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index111.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("./index271.js")).default);
56
+ b || (b = (await import("./index270.js")).default);
57
57
  const o = b.getType(r);
58
58
  if (!o)
59
59
  throw new Error(
package/dist/index85.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, createElementBlock as h, openBlock as $, mergeProps as g } from "vue";
2
- import { isCssColor as I } from "./index226.js";
2
+ import { isCssColor as I } from "./index229.js";
3
3
  const B = ["innerHTML"], k = /* @__PURE__ */ v({
4
4
  __name: "BbIcon",
5
5
  props: {
package/dist/index87.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, createBlock as g, openBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
2
- import { throttle as c } from "./index265.js";
2
+ import { throttle as c } from "./index272.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index88.js CHANGED
@@ -22,7 +22,7 @@ const D = /* @__PURE__ */ B({
22
22
  labelPosition: {},
23
23
  loading: { type: Boolean },
24
24
  max: {},
25
- maxPrecision: { default: 1 / 0 },
25
+ maxPrecision: {},
26
26
  min: {},
27
27
  modelValue: {},
28
28
  name: {},
@@ -62,7 +62,7 @@ const D = /* @__PURE__ */ B({
62
62
  var e;
63
63
  (e = p.value) == null || e.decrease();
64
64
  }
65
- }), (e, H) => (k(), g(V, {
65
+ }), (e, I) => (k(), g(V, {
66
66
  id: e.id,
67
67
  class: "bb-number-input",
68
68
  compact: e.compact,
package/dist/index90.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as P, mergeModels as T, useModel as q, computed as v, ref as z, watch as A, onMounted as H, createElementBlock as r, openBlock as d, withModifiers as K, normalizeStyle as R, normalizeClass as U, unref as p, createCommentVNode as y, Fragment as j, createElementVNode as t, renderSlot as l, createTextVNode as G, toDisplayString as D, nextTick as J } from "vue";
2
- import { parseSize as Q } from "./index262.js";
2
+ import { parseSize as Q } from "./index256.js";
3
3
  import { useId as S } from "./index8.js";
4
- import { useLocale as X } from "./index224.js";
4
+ import { useLocale as X } from "./index219.js";
5
5
  import { useMobile as Y } from "./index9.js";
6
- import { useUntil as Z } from "./index231.js";
6
+ import { useUntil as Z } from "./index220.js";
7
7
  import { wait as h } from "./index135.js";
8
8
  const x = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], ee = {
9
9
  ref: "header",
package/dist/index92.js CHANGED
@@ -3,8 +3,8 @@ import { defineComponent as V, mergeModels as W, useModel as U, computed as d, r
3
3
  /* empty css */
4
4
  import P from "./index13.js";
5
5
  /* empty css */
6
- import { debounce as X } from "./index268.js";
7
- import { useLocale as H } from "./index224.js";
6
+ import { debounce as X } from "./index273.js";
7
+ import { useLocale as H } from "./index219.js";
8
8
  import { useRoute as J } from "./index142.js";
9
9
  const K = ["aria-label"], Q = { class: "bb-pagination__page-label sr-only" }, Y = { class: "bb-pagination__page-label" }, Z = { class: "bb-pagination__page-label" }, ee = { class: "bb-pagination__page-label sr-only" }, ue = /* @__PURE__ */ V({
10
10
  __name: "BbPagination",
package/dist/index94.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as V, ref as m, computed as g, createBlock as k, openBlock as y, unref as l, normalizeClass as D, withCtx as v, createElementVNode as d, createCommentVNode as M, renderSlot as C, toDisplayString as z, normalizeProps as I, guardReactiveProps as O, nextTick as S } from "vue";
2
2
  import { useId as H } from "./index8.js";
3
3
  import { useIntersectionObserver as N } from "./index137.js";
4
- import { useLocale as U } from "./index224.js";
5
- import { useUntil as W } from "./index231.js";
4
+ import { useLocale as U } from "./index219.js";
5
+ import { useUntil as W } from "./index220.js";
6
6
  import q from "./index13.js";
7
7
  /* empty css */
8
- import A from "./index238.js";
8
+ import A from "./index227.js";
9
9
  /* empty css */
10
10
  const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @__PURE__ */ V({
11
11
  __name: "BbPopover",
package/dist/index96.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, computed as a, createElementBlock as l, openBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
2
- import { clamp as p } from "./index207.js";
2
+ import { clamp as p } from "./index208.js";
3
3
  import { getAsPercentageBetween as i } from "./index136.js";
4
4
  const _ = /* @__PURE__ */ r({
5
5
  __name: "BbProgress",
@@ -0,0 +1 @@
1
+ export declare const clampPrecision: (value: string, maxPrecision: number) => string;
@@ -0,0 +1 @@
1
+ export declare const exceedsPrecision: (value: string, maxPrecision: number) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.1.28",
3
+ "version": "2.1.29",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
@@ -92,4 +92,4 @@
92
92
  "lint-staged": {
93
93
  "*.{js,css,md,html,json,vue,ts}": "prettier --write"
94
94
  }
95
- }
95
+ }
package/dist/index210.js DELETED
@@ -1,7 +0,0 @@
1
- import { getDefaultExportFromCjs as r } from "./index304.js";
2
- import { __require as e } from "./index282.js";
3
- var t = e();
4
- const m = /* @__PURE__ */ r(t);
5
- export {
6
- m as default
7
- };
package/dist/index223.js DELETED
@@ -1,62 +0,0 @@
1
- import { defineComponent as g, ref as i, computed as d, onMounted as h, createElementBlock as m, openBlock as u, createElementVNode as y, Fragment as x, renderList as B, createBlock as C, normalizeClass as S, withCtx as T, createTextVNode as E, toDisplayString as w } from "vue";
2
- import { range as H } from "./index324.js";
3
- import M from "./index13.js";
4
- /* empty css */
5
- const n = 10, l = 3, V = /* @__PURE__ */ g({
6
- __name: "BaseDatePickerYearSelector",
7
- props: {
8
- cursor: {},
9
- disabled: { type: Boolean }
10
- },
11
- emits: ["update:year"],
12
- setup(p, { emit: _ }) {
13
- const f = p, b = _, o = i(), r = d(() => f.cursor.year()), c = i(r.value - n * l), s = i(r.value + n * l), v = d(
14
- () => H(c.value, s.value).map((e) => ({
15
- text: e,
16
- key: e,
17
- selected: e === r.value,
18
- handler: () => b("update:year", e)
19
- }))
20
- ), k = (e) => {
21
- const t = e.target;
22
- t.scrollTop <= 100 ? c.value = Math.max(
23
- c.value - n * l,
24
- r.value - 200
25
- ) : t.scrollHeight - t.scrollTop === t.clientHeight && (s.value = Math.min(s.value + n * l, 2101));
26
- };
27
- return h(() => {
28
- if (!o.value) return;
29
- const e = o.value.querySelector(
30
- ".content__btn--selected"
31
- );
32
- e && (e.parentElement.scrollTop = e.offsetTop - e.parentElement.clientHeight / 2 + 16);
33
- }), (e, t) => (u(), m("div", {
34
- ref_key: "container",
35
- ref: o,
36
- class: "bb-base-date-picker__button-menu bb-base-date-picker__year-selector scrollbar-border"
37
- }, [
38
- y("div", {
39
- class: "content",
40
- onScrollPassive: k
41
- }, [
42
- (u(!0), m(x, null, B(v.value, (a) => (u(), C(M, {
43
- key: a.key,
44
- class: S({
45
- content__btn: !0,
46
- "content__btn--selected": a.selected
47
- }),
48
- disabled: e.disabled,
49
- onClick: a.handler
50
- }, {
51
- default: T(() => [
52
- E(w(a.text), 1)
53
- ]),
54
- _: 2
55
- }, 1032, ["class", "disabled", "onClick"]))), 128))
56
- ], 32)
57
- ], 512));
58
- }
59
- });
60
- export {
61
- V as default
62
- };
package/dist/index228.js DELETED
@@ -1,9 +0,0 @@
1
- const s = (e, t, o, r) => {
2
- if (r <= 0) throw new Error("Step must be a positive number");
3
- if (t > o) throw new Error("Min must be less than or equal to Max");
4
- const n = Math.max(t, Math.min(o, e)), a = Math.round((n - t) / r);
5
- return t + a * r;
6
- };
7
- export {
8
- s as snapToStep
9
- };
package/dist/index238.js DELETED
@@ -1,119 +0,0 @@
1
- import { defineComponent as V, mergeModels as A, useModel as x, ref as l, watch as S, onMounted as z, computed as E, createBlock as b, openBlock as v, resolveDynamicComponent as g, normalizeStyle as F, normalizeClass as N, unref as n, withCtx as w, renderSlot as y, createCommentVNode as q, mergeProps as h, createElementVNode as C } from "vue";
2
- import { useMinimalQueue as Q } from "./index339.js";
3
- import { wait as U } from "./index135.js";
4
- import { useFloating as j, arrow as G } from "./index340.js";
5
- import { flip as H, offset as I, shift as J, hide as K, autoUpdate as L } from "./index341.js";
6
- const O = { class: "bb-common-popover__bubble" }, ee = /* @__PURE__ */ V({
7
- __name: "CommonPopover",
8
- props: /* @__PURE__ */ A({
9
- arrowPadding: {},
10
- offset: {},
11
- block: { type: Boolean },
12
- padding: { default: 0 },
13
- placement: {},
14
- transitionDuration: { default: 250 },
15
- containerAttributes: {},
16
- dialog: { type: Boolean },
17
- renderContent: { type: Boolean, default: !0 },
18
- tag: { default: "span" },
19
- flip: { type: Boolean, default: !0 }
20
- }, {
21
- modelValue: { type: Boolean, default: !1 },
22
- modelModifiers: {}
23
- }),
24
- emits: ["update:modelValue"],
25
- setup(s) {
26
- const o = s, a = x(s, "modelValue"), i = l(), t = l(), p = l(), { floatingStyles: k, placement: _, middlewareData: r, update: M } = j(
27
- i,
28
- t,
29
- {
30
- placement: o.placement,
31
- whileElementsMounted: L,
32
- middleware: [
33
- ...o.flip ? [H()] : [],
34
- I(o.offset),
35
- J({ padding: o.padding }),
36
- K(),
37
- G({
38
- element: p,
39
- padding: o.arrowPadding
40
- })
41
- ],
42
- strategy: "fixed"
43
- }
44
- ), { queueFunction: B } = Q(), u = B(async (e) => {
45
- e ? (M(), P()) : (await U(o.transitionDuration), t.value && (o.dialog ? t.value.close() : t.value.hidePopover()));
46
- }), P = () => {
47
- if (!t.value) return;
48
- if (!o.dialog) return t.value.showPopover();
49
- t.value.showModal();
50
- };
51
- S(a, u, { flush: "post" }), z(() => {
52
- a.value && u(a.value);
53
- });
54
- const $ = E(() => {
55
- if (r.value.arrow) {
56
- const { x: e, y: d } = r.value.arrow;
57
- return {
58
- style: {
59
- left: `${e}px`,
60
- top: `${d}px`
61
- }
62
- };
63
- }
64
- }), D = () => {
65
- a.value = !1;
66
- };
67
- return (e, d) => (v(), b(g(e.dialog ? "div" : e.tag), {
68
- ref_key: "wrapper",
69
- ref: i,
70
- class: N(["bb-common-popover", {
71
- "bb-common-popover--open": a.value && !!t.value,
72
- "bb-common-popover--block": o.block,
73
- [`bb-common-popover--${n(_)}`]: !0
74
- }]),
75
- style: F({
76
- "--transition-duration": `${o.transitionDuration}ms`
77
- })
78
- }, {
79
- default: w(() => {
80
- var m, c, f;
81
- return [
82
- y(e.$slots, "activator"),
83
- e.renderContent ? (v(), b(g(e.dialog ? "dialog" : e.tag), h({
84
- key: 0,
85
- ref_key: "content",
86
- ref: t,
87
- class: ["bb-common-popover__bubble-container", {
88
- "bb-common-popover__bubble-container--open": a.value && !!t.value
89
- }],
90
- popover: "manual",
91
- style: {
92
- ...((m = e.containerAttributes) == null ? void 0 : m.style) ?? {},
93
- ...n(k),
94
- "--arrow-offset-x": Math.round(((f = (c = n(r)) == null ? void 0 : c.arrow) == null ? void 0 : f.x) ?? 0) + "px",
95
- "--page-padding": `${e.padding}px`
96
- },
97
- tabindex: a.value ? void 0 : -1
98
- }, e.containerAttributes, { onClose: n(D) }), {
99
- default: w(() => [
100
- C("span", h({
101
- ref_key: "bubblearrow",
102
- ref: p,
103
- class: "bb-common-popover__arrow"
104
- }, $.value), null, 16),
105
- C("span", O, [
106
- y(e.$slots, "default")
107
- ])
108
- ]),
109
- _: 3
110
- }, 16, ["class", "style", "tabindex", "onClose"])) : q("", !0)
111
- ];
112
- }),
113
- _: 3
114
- }, 8, ["class", "style"]));
115
- }
116
- });
117
- export {
118
- ee as default
119
- };
package/dist/index240.js DELETED
@@ -1,36 +0,0 @@
1
- import { defineComponent as p, getCurrentInstance as a, resolveComponent as u, createBlock as f, openBlock as k, resolveDynamicComponent as g, unref as d, withCtx as b, renderSlot as x } from "vue";
2
- import { _config as e } from "./index4.js";
3
- import { useLogger as l } from "./index218.js";
4
- const $ = /* @__PURE__ */ p({
5
- __name: "RouterComponent",
6
- setup(y) {
7
- var o, i, r, s;
8
- const m = !!((i = (o = a()) == null ? void 0 : o.proxy) != null && i.$inertia), c = !!((s = (r = a()) == null ? void 0 : r.proxy) != null && s.$nuxt);
9
- let t;
10
- if (m) {
11
- if (t = u(e.inertiaLinkName), typeof t == "string") {
12
- const { warn: n } = l();
13
- n(
14
- `Inertia link component "${e.inertiaLinkName}" could not be resolved. Ensure you app registers a link component with the name "${e.inertiaLinkName}" or set bitboss-ui config key "inertiaLinkName" to the correct value globally. Please visit ${e.documentationURL}/getting-started to resolve setup issues in bitboss-ui.`
15
- );
16
- }
17
- } else if (c) {
18
- if (t = u(e.nuxtLinkName), typeof t == "string") {
19
- const { warn: n } = l();
20
- n(
21
- `Nuxt link component "${e.nuxtLinkName}" could not be resolved. Ensure you app registers a link component with the name "${e.nuxtLinkName}" or set bitboss-ui config key "nuxtLinkName" to the correct value globally. Please visit ${e.documentationURL}/getting-started to resolve setup issues in bitboss-ui.`
22
- );
23
- }
24
- } else
25
- t = "router-link";
26
- return (n, L) => (k(), f(g(d(t)), null, {
27
- default: b(() => [
28
- x(n.$slots, "default")
29
- ]),
30
- _: 3
31
- }));
32
- }
33
- });
34
- export {
35
- $ as default
36
- };
package/dist/index286.js DELETED
@@ -1,21 +0,0 @@
1
- import { __module as r } from "./index287.js";
2
- import { __require as m } from "./index280.js";
3
- var u = r.exports, n;
4
- function f() {
5
- return n ? r.exports : (n = 1, function(i, s) {
6
- (function(o, t) {
7
- i.exports = t(m());
8
- })(u, function(o) {
9
- function t(e) {
10
- return e && typeof e == "object" && "default" in e ? e : { default: e };
11
- }
12
- var a = t(o), _ = { name: "it", weekdays: "domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"), weekdaysShort: "dom_lun_mar_mer_gio_ven_sab".split("_"), weekdaysMin: "do_lu_ma_me_gi_ve_sa".split("_"), months: "gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"), weekStart: 1, monthsShort: "gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"), formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "tra %s", past: "%s fa", s: "qualche secondo", m: "un minuto", mm: "%d minuti", h: "un' ora", hh: "%d ore", d: "un giorno", dd: "%d giorni", M: "un mese", MM: "%d mesi", y: "un anno", yy: "%d anni" }, ordinal: function(e) {
13
- return e + "º";
14
- } };
15
- return a.default.locale(_, null, !0), _;
16
- });
17
- }(r), r.exports);
18
- }
19
- export {
20
- f as __require
21
- };
package/dist/index320.js DELETED
@@ -1,7 +0,0 @@
1
- import { getDefaultExportFromCjs as t } from "./index304.js";
2
- import { __require as r } from "./index335.js";
3
- var o = r();
4
- const s = /* @__PURE__ */ t(o);
5
- export {
6
- s as default
7
- };
File without changes
File without changes
File without changes