bitboss-ui 2.1.7 → 2.1.9

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 (175) hide show
  1. package/dist/index106.js +9 -9
  2. package/dist/index111.js +1 -1
  3. package/dist/index113.js +1 -1
  4. package/dist/index121.js +10 -10
  5. package/dist/index129.js +1 -1
  6. package/dist/index13.js +1 -1
  7. package/dist/index131.js +4 -4
  8. package/dist/index137.js +2 -2
  9. package/dist/index138.js +1 -1
  10. package/dist/index139.js +2 -2
  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 -138
  15. package/dist/index208.js +138 -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 +2 -8
  26. package/dist/index219.js +4 -250
  27. package/dist/index220.js +2 -52
  28. package/dist/index221.js +4 -44
  29. package/dist/index222.js +13 -5
  30. package/dist/index223.js +11 -60
  31. package/dist/index224.js +20 -13
  32. package/dist/index225.js +191 -80
  33. package/dist/index227.js +66 -29
  34. package/dist/index229.js +13 -51
  35. package/dist/index23.js +15 -15
  36. package/dist/index230.js +113 -15
  37. package/dist/index232.js +12 -15
  38. package/dist/index233.js +3 -34
  39. package/dist/index234.js +34 -2
  40. package/dist/index235.js +5 -2
  41. package/dist/index236.js +5 -2
  42. package/dist/index237.js +5 -7
  43. package/dist/index238.js +5 -7
  44. package/dist/index239.js +5 -4
  45. package/dist/index240.js +5 -66
  46. package/dist/index241.js +4 -0
  47. package/dist/index242.js +2 -13
  48. package/dist/index243.js +2 -5
  49. package/dist/index244.js +18 -2
  50. package/dist/index245.js +12 -2
  51. package/dist/index246.js +6 -11
  52. package/dist/index247.js +105 -19
  53. package/dist/index249.js +102 -0
  54. package/dist/index25.js +3 -3
  55. package/dist/index251.js +228 -3
  56. package/dist/index252.js +2 -4
  57. package/dist/index253.js +174 -194
  58. package/dist/index254.js +7 -0
  59. package/dist/index255.js +5 -3
  60. package/dist/index256.js +8 -2
  61. package/dist/index257.js +249 -12
  62. package/dist/index258.js +46 -100
  63. package/dist/index259.js +46 -0
  64. package/dist/index260.js +5 -100
  65. package/dist/index261.js +62 -0
  66. package/dist/index262.js +2 -177
  67. package/dist/index263.js +6 -17
  68. package/dist/index264.js +7 -12
  69. package/dist/index265.js +9 -6
  70. package/dist/index266.js +23 -228
  71. package/dist/index267.js +10 -3
  72. package/dist/index268.js +3 -6
  73. package/dist/index269.js +3 -16
  74. package/dist/index27.js +1 -1
  75. package/dist/index270.js +6 -9
  76. package/dist/index271.js +16 -23
  77. package/dist/index272.js +9 -9
  78. package/dist/index273.js +8 -9
  79. package/dist/index274.js +9 -8
  80. package/dist/index277.js +5 -67
  81. package/dist/index278.js +7 -4
  82. package/dist/index279.js +67 -8
  83. package/dist/index280.js +3 -280
  84. package/dist/index281.js +17 -2
  85. package/dist/index282.js +27 -15
  86. package/dist/index283.js +4 -2
  87. package/dist/index284.js +3 -16
  88. package/dist/index285.js +3 -2
  89. package/dist/index287.js +7 -2
  90. package/dist/index288.js +3 -15
  91. package/dist/index289.js +7 -2
  92. package/dist/index29.js +33 -33
  93. package/dist/index290.js +10 -18
  94. package/dist/index291.js +4 -2
  95. package/dist/index292.js +5 -27
  96. package/dist/index293.js +2 -2
  97. package/dist/index294.js +280 -2
  98. package/dist/index295.js +2 -2
  99. package/dist/index296.js +125 -2
  100. package/dist/index297.js +2 -2
  101. package/dist/index298.js +14 -27
  102. package/dist/index299.js +2 -22
  103. package/dist/index300.js +18 -0
  104. package/dist/index301.js +2 -7
  105. package/dist/index302.js +16 -7
  106. package/dist/index303.js +2 -11
  107. package/dist/index304.js +19 -3
  108. package/dist/index305.js +2 -17
  109. package/dist/index307.js +3 -2
  110. package/dist/index308.js +3 -4
  111. package/dist/index309.js +2 -4
  112. package/dist/index31.js +2 -2
  113. package/dist/index310.js +19 -3
  114. package/dist/index311.js +4 -0
  115. package/dist/index312.js +22 -120
  116. package/dist/index313.js +2 -2
  117. package/dist/index314.js +2 -3
  118. package/dist/index315.js +2 -3
  119. package/dist/index316.js +2 -5
  120. package/dist/index317.js +2 -3
  121. package/dist/index318.js +22 -3
  122. package/dist/index320.js +5 -2
  123. package/dist/index324.js +2 -7
  124. package/dist/index325.js +32 -18
  125. package/dist/index326.js +28 -8
  126. package/dist/index328.js +8 -8
  127. package/dist/index329.js +6 -58
  128. package/dist/index33.js +8 -8
  129. package/dist/index330.js +7 -57
  130. package/dist/index331.js +129 -2
  131. package/dist/index332.js +353 -113
  132. package/dist/index333.js +56 -367
  133. package/dist/index334.js +58 -7
  134. package/dist/index335.js +227 -32
  135. package/dist/index336.js +7 -28
  136. package/dist/index337.js +21 -0
  137. package/dist/index338.js +2 -2
  138. package/dist/index339.js +6 -227
  139. package/dist/index342.js +5 -0
  140. package/dist/index343.js +129 -3
  141. package/dist/index344.js +421 -467
  142. package/dist/index345.js +113 -422
  143. package/dist/index346.js +478 -123
  144. package/dist/index35.js +4 -4
  145. package/dist/index37.js +20 -20
  146. package/dist/index39.js +7 -7
  147. package/dist/index41.js +2 -2
  148. package/dist/index43.js +8 -8
  149. package/dist/index45.js +8 -8
  150. package/dist/index47.js +2 -2
  151. package/dist/index49.js +3 -3
  152. package/dist/index53.js +1 -1
  153. package/dist/index55.js +1 -1
  154. package/dist/index57.js +2 -2
  155. package/dist/index61.js +3 -3
  156. package/dist/index67.js +1 -1
  157. package/dist/index79.js +4 -4
  158. package/dist/index81.js +1 -1
  159. package/dist/index83.js +2 -2
  160. package/dist/index85.js +1 -1
  161. package/dist/index87.js +1 -1
  162. package/dist/index90.js +3 -3
  163. package/dist/index92.js +2 -2
  164. package/dist/index94.js +3 -3
  165. package/dist/utilities/functions/isNil.d.ts +1 -1
  166. package/package.json +2 -2
  167. package/dist/index210.js +0 -7
  168. package/dist/index228.js +0 -19
  169. package/dist/index231.js +0 -14
  170. package/dist/index248.js +0 -115
  171. package/dist/index250.js +0 -12
  172. package/dist/index286.js +0 -21
  173. package/dist/index319.js +0 -7
  174. package/dist/index327.js +0 -8
  175. package/dist/index341.js +0 -131
package/dist/index39.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as te, ref as d, computed as p, onMounted as le, watch as oe, createElementBlock as y, openBlock as g, mergeProps as L, renderSlot as v, createElementVNode as m, createCommentVNode as H, Fragment as ne, renderList as se, normalizeProps as ie, guardReactiveProps as ue, unref as c, normalizeStyle as G, normalizeClass as O } from "vue";
2
- import { head as de } from "./index234.js";
3
- import { isCssColor as Y } from "./index235.js";
4
- import { isNil as S } from "./index236.js";
2
+ import { head as de } from "./index262.js";
3
+ import { isCssColor as Y } from "./index218.js";
4
+ import { isNil as S } from "./index252.js";
5
5
  import { getAsPercentageBetween as T, getAsPercentage as me, getValueFromPercentageInInterval as x } from "./index136.js";
6
- import { hash as j } from "./index216.js";
7
- import { snapToStep as ce } from "./index237.js";
8
- import { last as be } from "./index217.js";
9
- import { transpose as J } from "./index238.js";
6
+ import { hash as j } from "./index215.js";
7
+ import { snapToStep as ce } from "./index263.js";
8
+ import { last as be } from "./index243.js";
9
+ import { transpose as J } from "./index264.js";
10
10
  import { clamp as f } from "./index206.js";
11
11
  const ve = { class: "bb-base-slider__slider-container" }, fe = {
12
12
  key: 0,
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 "./index235.js";
3
- import { when as N } from "./index239.js";
2
+ import { isCssColor as b } from "./index218.js";
3
+ import { when as N } from "./index219.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 "./index225.js";
4
+ import N from "./index209.js";
5
5
  /* empty css */
6
- import { useItemsGetter as U } from "./index227.js";
7
- import { useIndexById as T } from "./index228.js";
8
- import { useBaseOptions as q } from "./index229.js";
9
- import { useCoherence as J } from "./index230.js";
10
- import { hash as Q } from "./index216.js";
11
- import { useHashedWatcher as $ } from "./index231.js";
12
- import { usePrefill as X } from "./index232.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 "./index229.js";
8
- import { useIndexById as re } from "./index228.js";
9
- import ie from "./index258.js";
6
+ import { last as le } from "./index243.js";
7
+ import { useBaseOptions as ne } from "./index213.js";
8
+ import { useIndexById as re } from "./index212.js";
9
+ import ie from "./index247.js";
10
10
  /* empty css */
11
- import ue from "./index260.js";
11
+ import ue from "./index249.js";
12
12
  /* empty css */
13
- import se from "./index240.js";
13
+ import se from "./index227.js";
14
14
  /* empty css */
15
- import de from "./index242.js";
16
- import { isEmpty as pe } from "./index245.js";
15
+ import de from "./index229.js";
16
+ import { isEmpty as pe } from "./index242.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 "./index242.js";
3
- import G from "./index240.js";
2
+ import E from "./index229.js";
3
+ import G from "./index227.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 "./index240.js";
2
+ import E from "./index227.js";
3
3
  /* empty css */
4
- import I from "./index242.js";
4
+ import I from "./index229.js";
5
5
  import { isNotNil as N } from "./index140.js";
6
- import { MaskInput as z } from "./index262.js";
6
+ import { MaskInput as z } from "./index253.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 "./index222.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 "./index235.js";
2
+ import { isCssColor as y } from "./index218.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 "./index235.js";
3
- import { isNil as B } from "./index236.js";
2
+ import { isCssColor as l } from "./index218.js";
3
+ import { isNil as B } from "./index252.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
@@ -7,9 +7,9 @@ import p from "./index85.js";
7
7
  /* empty css */
8
8
  import T from "./index113.js";
9
9
  /* empty css */
10
- import { pickBy as W } from "./index250.js";
11
- import { noop as w } from "./index251.js";
12
- import { useLocale as D } from "./index224.js";
10
+ import { pickBy as W } from "./index267.js";
11
+ import { noop as w } from "./index268.js";
12
+ import { useLocale as D } from "./index222.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 "./index222.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 "./index270.js";
2
+ import { findRightIndex as T } from "./index265.js";
3
3
  import { useId as te } from "./index8.js";
4
- import { useUntil as ne } from "./index246.js";
4
+ import { useUntil as ne } from "./index223.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 "./index248.js";
10
+ import le from "./index230.js";
11
11
  /* empty css */
12
- import K from "./index271.js";
12
+ import K from "./index266.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 "./index222.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 "./index269.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("./index268.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 "./index235.js";
2
+ import { isCssColor as I } from "./index218.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 "./index267.js";
2
+ import { throttle as c } from "./index269.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index90.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as O, mergeModels as E, useModel as P, computed as p, ref as T, watch as q, onMounted as A, createElementBlock as d, openBlock as c, withModifiers as H, normalizeStyle as K, normalizeClass as R, unref as v, createCommentVNode as y, Fragment as U, createElementVNode as l, renderSlot as s, createTextVNode as j, toDisplayString as z, nextTick as G } from "vue";
2
- import { parseSize as J } from "./index257.js";
2
+ import { parseSize as J } from "./index232.js";
3
3
  import { useId as D } from "./index8.js";
4
- import { useLocale as Q } from "./index224.js";
4
+ import { useLocale as Q } from "./index222.js";
5
5
  import { useMobile as X } from "./index9.js";
6
- import { useUntil as Y } from "./index246.js";
6
+ import { useUntil as Y } from "./index223.js";
7
7
  import { wait as h } from "./index135.js";
8
8
  const Z = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], x = {
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 "./index272.js";
7
- import { useLocale as H } from "./index224.js";
6
+ import { debounce as X } from "./index274.js";
7
+ import { useLocale as H } from "./index222.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 "./index246.js";
4
+ import { useLocale as U } from "./index222.js";
5
+ import { useUntil as W } from "./index223.js";
6
6
  import q from "./index13.js";
7
7
  /* empty css */
8
- import A from "./index248.js";
8
+ import A from "./index230.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",
@@ -3,4 +3,4 @@
3
3
  * @param value The item to check
4
4
  * @returns true | false
5
5
  */
6
- export declare const isNil: (value: unknown) => boolean;
6
+ export declare const isNil: (value: unknown) => value is null | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.1.7",
3
+ "version": "2.1.9",
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 "./index306.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/index228.js DELETED
@@ -1,19 +0,0 @@
1
- import { computed as i, unref as m } from "vue";
2
- import { hash as s } from "./index216.js";
3
- const p = ({ items: a, key: r }) => {
4
- const n = i(() => {
5
- const t = {}, c = new Array().concat(m(a));
6
- for (let e = 0; e < c.length; e++) {
7
- const o = c[e], u = r ? String(o[r]) : s(o);
8
- t[u] = o;
9
- }
10
- return t;
11
- });
12
- return {
13
- data: n,
14
- get: (t) => r ? n.value[String(t[r])] : n.value[s(t)]
15
- };
16
- };
17
- export {
18
- p as useIndexById
19
- };
package/dist/index231.js DELETED
@@ -1,14 +0,0 @@
1
- import { hash as e } from "./index216.js";
2
- import { debouncedWatch as s } from "./index207.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/index248.js DELETED
@@ -1,115 +0,0 @@
1
- import { defineComponent as P, mergeModels as D, useModel as V, ref as r, watch as A, onMounted as x, computed as S, createBlock as b, openBlock as v, resolveDynamicComponent as g, normalizeStyle as z, normalizeClass as E, unref as n, withCtx as w, renderSlot as y, createCommentVNode as N, mergeProps as h, createElementVNode as C } from "vue";
2
- import { wait as F } from "./index135.js";
3
- import { useFloating as U, arrow as j } from "./index332.js";
4
- import { flip as q, offset as G, shift as H, hide as I, autoUpdate as J } from "./index333.js";
5
- const K = { class: "bb-common-popover__bubble" }, W = /* @__PURE__ */ P({
6
- __name: "CommonPopover",
7
- props: /* @__PURE__ */ D({
8
- arrowPadding: {},
9
- offset: {},
10
- block: { type: Boolean },
11
- padding: { default: 0 },
12
- placement: {},
13
- transitionDuration: { default: 250 },
14
- containerAttributes: {},
15
- dialog: { type: Boolean },
16
- renderContent: { type: Boolean, default: !0 },
17
- tag: { default: "span" }
18
- }, {
19
- modelValue: { type: Boolean, default: !1 },
20
- modelModifiers: {}
21
- }),
22
- emits: ["update:modelValue"],
23
- setup(s) {
24
- const o = s, a = V(s, "modelValue"), i = r(), t = r(), p = r(), { floatingStyles: k, placement: _, middlewareData: l, update: M } = U(
25
- i,
26
- t,
27
- {
28
- placement: o.placement,
29
- whileElementsMounted: J,
30
- middleware: [
31
- q(),
32
- G(o.offset),
33
- H({ padding: o.padding }),
34
- I(),
35
- j({
36
- element: p,
37
- padding: o.arrowPadding
38
- })
39
- ],
40
- strategy: "fixed"
41
- }
42
- ), d = (e) => {
43
- e ? (M(), o.dialog ? t.value.showModal() : t.value.showPopover()) : F(o.transitionDuration).then(() => {
44
- t.value && (o.dialog ? t.value.close() : t.value.hidePopover());
45
- });
46
- };
47
- A(a, d, { flush: "post" }), x(() => {
48
- a.value && d(a.value);
49
- });
50
- const $ = S(() => {
51
- if (l.value.arrow) {
52
- const { x: e, y: u } = l.value.arrow;
53
- return {
54
- style: {
55
- left: `${e}px`,
56
- top: `${u}px`
57
- }
58
- };
59
- }
60
- }), B = () => {
61
- a.value = !1;
62
- };
63
- return (e, u) => (v(), b(g(e.dialog ? "div" : e.tag), {
64
- ref_key: "wrapper",
65
- ref: i,
66
- class: E(["bb-common-popover", {
67
- "bb-common-popover--open": a.value && !!t.value,
68
- "bb-common-popover--block": o.block,
69
- [`bb-common-popover--${n(_)}`]: !0
70
- }]),
71
- style: z({
72
- "--transition-duration": `${o.transitionDuration}ms`
73
- })
74
- }, {
75
- default: w(() => {
76
- var m, c, f;
77
- return [
78
- y(e.$slots, "activator"),
79
- e.renderContent ? (v(), b(g(e.dialog ? "dialog" : e.tag), h({
80
- key: 0,
81
- ref_key: "content",
82
- ref: t,
83
- class: ["bb-common-popover__bubble-container", {
84
- "bb-common-popover__bubble-container--open": a.value && !!t.value
85
- }],
86
- popover: "manual",
87
- style: {
88
- ...((m = e.containerAttributes) == null ? void 0 : m.style) ?? {},
89
- ...n(k),
90
- "--arrow-offset-x": Math.round(((f = (c = n(l)) == null ? void 0 : c.arrow) == null ? void 0 : f.x) ?? 0) + "px",
91
- "--page-padding": `${e.padding}px`
92
- },
93
- tabindex: a.value ? void 0 : -1
94
- }, e.containerAttributes, { onClose: n(B) }), {
95
- default: w(() => [
96
- C("span", h({
97
- ref_key: "bubblearrow",
98
- ref: p,
99
- class: "bb-common-popover__arrow"
100
- }, $.value), null, 16),
101
- C("span", K, [
102
- y(e.$slots, "default")
103
- ])
104
- ]),
105
- _: 3
106
- }, 16, ["class", "style", "tabindex", "onClose"])) : N("", !0)
107
- ];
108
- }),
109
- _: 3
110
- }, 8, ["class", "style"]));
111
- }
112
- });
113
- export {
114
- W as default
115
- };
package/dist/index250.js DELETED
@@ -1,12 +0,0 @@
1
- const o = (t, r) => {
2
- const e = {};
3
- for (const c in t)
4
- if (Object.prototype.hasOwnProperty.call(t, c)) {
5
- const n = t[c];
6
- r(n, c, t) && (e[c] = n);
7
- }
8
- return e;
9
- };
10
- export {
11
- o as pickBy
12
- };
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/index319.js DELETED
@@ -1,7 +0,0 @@
1
- import { getDefaultExportFromCjs as t } from "./index306.js";
2
- import { __require as r } from "./index340.js";
3
- var o = r();
4
- const s = /* @__PURE__ */ t(o);
5
- export {
6
- s as default
7
- };
package/dist/index327.js DELETED
@@ -1,8 +0,0 @@
1
- function l(c, f, r) {
2
- const t = c / 255, n = f / 255, o = r / 255, i = Math.max(t, n, o), a = Math.min(t, n, o), s = i - a;
3
- let e = 0;
4
- return s !== 0 && (i === t ? e = (n - o) / s % 6 : i === n ? e = (o - t) / s + 2 : i === o && (e = (t - n) / s + 4), e *= 60, e < 0 && (e += 360)), e;
5
- }
6
- export {
7
- l as getHueFromRGB
8
- };
package/dist/index341.js DELETED
@@ -1,131 +0,0 @@
1
- function c() {
2
- return typeof window < "u";
3
- }
4
- function s(n) {
5
- return p(n) ? (n.nodeName || "").toLowerCase() : "#document";
6
- }
7
- function i(n) {
8
- var t;
9
- return (n == null || (t = n.ownerDocument) == null ? void 0 : t.defaultView) || window;
10
- }
11
- function E(n) {
12
- var t;
13
- return (t = (p(n) ? n.ownerDocument : n.document) || window.document) == null ? void 0 : t.documentElement;
14
- }
15
- function p(n) {
16
- return c() ? n instanceof Node || n instanceof i(n).Node : !1;
17
- }
18
- function m(n) {
19
- return c() ? n instanceof Element || n instanceof i(n).Element : !1;
20
- }
21
- function w(n) {
22
- return c() ? n instanceof HTMLElement || n instanceof i(n).HTMLElement : !1;
23
- }
24
- function a(n) {
25
- return !c() || typeof ShadowRoot > "u" ? !1 : n instanceof ShadowRoot || n instanceof i(n).ShadowRoot;
26
- }
27
- function y(n) {
28
- const {
29
- overflow: t,
30
- overflowX: e,
31
- overflowY: o,
32
- display: r
33
- } = b(n);
34
- return /auto|scroll|overlay|hidden|clip/.test(t + o + e) && !["inline", "contents"].includes(r);
35
- }
36
- function D(n) {
37
- return ["table", "td", "th"].includes(s(n));
38
- }
39
- function N(n) {
40
- return [":popover-open", ":modal"].some((t) => {
41
- try {
42
- return n.matches(t);
43
- } catch {
44
- return !1;
45
- }
46
- });
47
- }
48
- function T(n) {
49
- const t = L(), e = m(n) ? b(n) : n;
50
- return ["transform", "translate", "scale", "rotate", "perspective"].some((o) => e[o] ? e[o] !== "none" : !1) || (e.containerType ? e.containerType !== "normal" : !1) || !t && (e.backdropFilter ? e.backdropFilter !== "none" : !1) || !t && (e.filter ? e.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((o) => (e.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (e.contain || "").includes(o));
51
- }
52
- function k(n) {
53
- let t = u(n);
54
- for (; w(t) && !g(t); ) {
55
- if (T(t))
56
- return t;
57
- if (N(t))
58
- return null;
59
- t = u(t);
60
- }
61
- return null;
62
- }
63
- function L() {
64
- return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
65
- }
66
- function g(n) {
67
- return ["html", "body", "#document"].includes(s(n));
68
- }
69
- function b(n) {
70
- return i(n).getComputedStyle(n);
71
- }
72
- function C(n) {
73
- return m(n) ? {
74
- scrollLeft: n.scrollLeft,
75
- scrollTop: n.scrollTop
76
- } : {
77
- scrollLeft: n.scrollX,
78
- scrollTop: n.scrollY
79
- };
80
- }
81
- function u(n) {
82
- if (s(n) === "html")
83
- return n;
84
- const t = (
85
- // Step into the shadow DOM of the parent of a slotted node.
86
- n.assignedSlot || // DOM Element detected.
87
- n.parentNode || // ShadowRoot detected.
88
- a(n) && n.host || // Fallback.
89
- E(n)
90
- );
91
- return a(t) ? t.host : t;
92
- }
93
- function h(n) {
94
- const t = u(n);
95
- return g(t) ? n.ownerDocument ? n.ownerDocument.body : n.body : w(t) && y(t) ? t : h(t);
96
- }
97
- function d(n, t, e) {
98
- var o;
99
- t === void 0 && (t = []), e === void 0 && (e = !0);
100
- const r = h(n), S = r === ((o = n.ownerDocument) == null ? void 0 : o.body), l = i(r);
101
- if (S) {
102
- const f = v(l);
103
- return t.concat(l, l.visualViewport || [], y(r) ? r : [], f && e ? d(f) : []);
104
- }
105
- return t.concat(r, d(r, [], e));
106
- }
107
- function v(n) {
108
- return n.parent && Object.getPrototypeOf(n.parent) ? n.frameElement : null;
109
- }
110
- export {
111
- b as getComputedStyle,
112
- k as getContainingBlock,
113
- E as getDocumentElement,
114
- v as getFrameElement,
115
- h as getNearestOverflowAncestor,
116
- s as getNodeName,
117
- C as getNodeScroll,
118
- d as getOverflowAncestors,
119
- u as getParentNode,
120
- i as getWindow,
121
- T as isContainingBlock,
122
- m as isElement,
123
- w as isHTMLElement,
124
- g as isLastTraversableNode,
125
- p as isNode,
126
- y as isOverflowElement,
127
- a as isShadowRoot,
128
- D as isTableElement,
129
- N as isTopLayer,
130
- L as isWebKit
131
- };