bitboss-ui 2.0.170 → 2.0.172

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 (198) hide show
  1. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +95 -5
  2. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +2 -2
  3. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +12 -6
  4. package/dist/components/BbPopover/BbPopover.vue.d.ts +14 -8
  5. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +12 -6
  6. package/dist/components/CommonPopover.vue.d.ts +5 -4
  7. package/dist/index.css +1 -1
  8. package/dist/index106.js +9 -9
  9. package/dist/index111.js +1 -1
  10. package/dist/index113.js +1 -1
  11. package/dist/index121.js +12 -12
  12. package/dist/index129.js +2 -2
  13. package/dist/index13.js +1 -1
  14. package/dist/index131.js +3 -3
  15. package/dist/index133.js +1 -1
  16. package/dist/index136.js +1 -1
  17. package/dist/index138.js +1 -1
  18. package/dist/index139.js +2 -2
  19. package/dist/index15.js +129 -142
  20. package/dist/index17.js +3 -3
  21. package/dist/index19.js +8 -8
  22. package/dist/index207.js +2 -2
  23. package/dist/index208.js +2 -2
  24. package/dist/index209.js +10 -5
  25. package/dist/index21.js +16 -16
  26. package/dist/index210.js +3 -5
  27. package/dist/index211.js +13 -5
  28. package/dist/index212.js +34 -5
  29. package/dist/index213.js +13 -5
  30. package/dist/index214.js +66 -5
  31. package/dist/index216.js +2 -3
  32. package/dist/index217.js +4 -2
  33. package/dist/index218.js +2 -8
  34. package/dist/index219.js +2 -250
  35. package/dist/index220.js +41 -52
  36. package/dist/index221.js +5 -43
  37. package/dist/index222.js +7 -5
  38. package/dist/index223.js +11 -56
  39. package/dist/index224.js +5 -13
  40. package/dist/index225.js +9 -2
  41. package/dist/index226.js +5 -4
  42. package/dist/index227.js +5 -2
  43. package/dist/index228.js +5 -34
  44. package/dist/index229.js +5 -2
  45. package/dist/index23.js +136 -159
  46. package/dist/index230.js +5 -2
  47. package/dist/index231.js +2 -86
  48. package/dist/index232.js +4 -0
  49. package/dist/index233.js +9 -27
  50. package/dist/index234.js +19 -16
  51. package/dist/index235.js +103 -49
  52. package/dist/index237.js +86 -12
  53. package/dist/index239.js +29 -3
  54. package/dist/index240.js +17 -4
  55. package/dist/index241.js +50 -40
  56. package/dist/index242.js +14 -19
  57. package/dist/index243.js +3 -94
  58. package/dist/index244.js +14 -0
  59. package/dist/index245.js +16 -200
  60. package/dist/index246.js +6 -0
  61. package/dist/index247.js +192 -58
  62. package/dist/index249.js +18 -13
  63. package/dist/index25.js +5 -5
  64. package/dist/index250.js +12 -6
  65. package/dist/index251.js +106 -7
  66. package/dist/index253.js +99 -17
  67. package/dist/index255.js +211 -89
  68. package/dist/index256.js +4 -0
  69. package/dist/index257.js +176 -99
  70. package/dist/index258.js +5 -0
  71. package/dist/index259.js +2 -12
  72. package/dist/index260.js +5 -2
  73. package/dist/index261.js +5 -228
  74. package/dist/index262.js +7 -367
  75. package/dist/index263.js +250 -2
  76. package/dist/index264.js +52 -5
  77. package/dist/index265.js +44 -9
  78. package/dist/index266.js +5 -177
  79. package/dist/index267.js +59 -8
  80. package/dist/index268.js +8 -10
  81. package/dist/index269.js +23 -101
  82. package/dist/index27.js +1 -1
  83. package/dist/index270.js +8 -0
  84. package/dist/index271.js +16 -23
  85. package/dist/index272.js +3 -10
  86. package/dist/index273.js +9 -3
  87. package/dist/index274.js +8 -6
  88. package/dist/index275.js +2 -16
  89. package/dist/index276.js +67 -3
  90. package/dist/index277.js +5 -9
  91. package/dist/index278.js +8 -8
  92. package/dist/index279.js +5 -2
  93. package/dist/index280.js +7 -67
  94. package/dist/index281.js +11 -5
  95. package/dist/index282.js +2 -5
  96. package/dist/index284.js +7 -280
  97. package/dist/index285.js +3 -2
  98. package/dist/index286.js +4 -16
  99. package/dist/index287.js +3 -2
  100. package/dist/index288.js +17 -16
  101. package/dist/index289.js +28 -2
  102. package/dist/index29.js +3 -3
  103. package/dist/index290.js +3 -18
  104. package/dist/index291.js +471 -2
  105. package/dist/index292.js +2 -15
  106. package/dist/index293.js +3 -2
  107. package/dist/index294.js +3 -19
  108. package/dist/index295.js +280 -2
  109. package/dist/index296.js +2 -27
  110. package/dist/index297.js +125 -2
  111. package/dist/index298.js +2 -2
  112. package/dist/index299.js +15 -2
  113. package/dist/index300.js +2 -2
  114. package/dist/index301.js +16 -2
  115. package/dist/index302.js +2 -28
  116. package/dist/index303.js +16 -22
  117. package/dist/index305.js +19 -7
  118. package/dist/index306.js +2 -7
  119. package/dist/index307.js +200 -11
  120. package/dist/index308.js +6 -4
  121. package/dist/index309.js +3 -2
  122. package/dist/index31.js +2 -2
  123. package/dist/index310.js +3 -6
  124. package/dist/index311.js +2 -4
  125. package/dist/index312.js +5 -3
  126. package/dist/index313.js +19 -17
  127. package/dist/index314.js +2 -5
  128. package/dist/index315.js +25 -469
  129. package/dist/index316.js +2 -3
  130. package/dist/index317.js +2 -3
  131. package/dist/index318.js +2 -3
  132. package/dist/index319.js +4 -0
  133. package/dist/index320.js +2 -200
  134. package/dist/index321.js +21 -1
  135. package/dist/index323.js +5 -3
  136. package/dist/index324.js +701 -3
  137. package/dist/index325.js +354 -2
  138. package/dist/index326.js +51 -375
  139. package/dist/index327.js +2 -126
  140. package/dist/index328.js +58 -125
  141. package/dist/index329.js +58 -2
  142. package/dist/index33.js +8 -8
  143. package/dist/index330.js +32 -2
  144. package/dist/index331.js +28 -5
  145. package/dist/index333.js +47 -354
  146. package/dist/index334.js +6 -57
  147. package/dist/index335.js +8 -2
  148. package/dist/index336.js +5 -6
  149. package/dist/index337.js +8 -19
  150. package/dist/index338.js +6 -6
  151. package/dist/index339.js +18 -32
  152. package/dist/index340.js +227 -27
  153. package/dist/{index254.js → index341.js} +4 -4
  154. package/dist/index342.js +360 -220
  155. package/dist/index343.js +92 -57
  156. package/dist/index345.js +3 -8
  157. package/dist/index346.js +480 -4
  158. package/dist/index347.js +45 -6
  159. package/dist/index348.js +129 -5
  160. package/dist/index349.js +379 -44
  161. package/dist/index35.js +4 -4
  162. package/dist/index350.js +124 -91
  163. package/dist/index37.js +230 -240
  164. package/dist/index39.js +5 -5
  165. package/dist/index41.js +2 -2
  166. package/dist/index43.js +8 -8
  167. package/dist/index45.js +8 -8
  168. package/dist/index47.js +2 -2
  169. package/dist/index49.js +3 -3
  170. package/dist/index53.js +1 -1
  171. package/dist/index55.js +1 -1
  172. package/dist/index57.js +2 -2
  173. package/dist/index61.js +3 -3
  174. package/dist/index67.js +1 -1
  175. package/dist/index79.js +4 -4
  176. package/dist/index81.js +1 -1
  177. package/dist/index83.js +2 -2
  178. package/dist/index85.js +1 -1
  179. package/dist/index87.js +1 -1
  180. package/dist/index90.js +4 -4
  181. package/dist/index92.js +2 -2
  182. package/dist/index94.js +41 -40
  183. package/dist/index96.js +1 -1
  184. package/package.json +1 -1
  185. package/dist/components/CommonFloating.vue.d.ts +0 -38
  186. package/dist/index215.js +0 -7
  187. package/dist/index236.js +0 -17
  188. package/dist/index238.js +0 -18
  189. package/dist/index252.js +0 -17
  190. package/dist/index283.js +0 -10
  191. package/dist/index322.js +0 -131
  192. package/dist/index332.js +0 -703
  193. package/dist/index344.js +0 -60
  194. package/dist/index352.js +0 -5
  195. package/dist/index353.js +0 -484
  196. package/dist/index354.js +0 -49
  197. package/dist/index355.js +0 -483
  198. /package/dist/{index356.js → index304.js} +0 -0
package/dist/index39.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as U, ref as d, computed as h, onMounted as W, watch as Z, createElementBlock as g, openBlock as w, mergeProps as T, renderSlot as f, createElementVNode as c, createCommentVNode as H, Fragment as ee, renderList as ae, normalizeProps as re, guardReactiveProps as te, unref as b, normalizeStyle as F, normalizeClass as I } from "vue";
2
- import { clamp as le } from "./index208.js";
3
- import { head as O } from "./index229.js";
4
- import { isCssColor as Y } from "./index225.js";
5
- import { isNil as P } from "./index230.js";
2
+ import { clamp as le } from "./index207.js";
3
+ import { head as O } from "./index259.js";
4
+ import { isCssColor as Y } from "./index216.js";
5
+ import { isNil as P } from "./index256.js";
6
6
  import { isNotNil as ne } from "./index140.js";
7
7
  import { transposeValue as y } from "./index136.js";
8
- import { hash as J } from "./index216.js";
8
+ import { hash as J } from "./index243.js";
9
9
  const oe = { class: "bb-base-slider__slider-container" }, ie = {
10
10
  key: 0,
11
11
  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 "./index225.js";
3
- import { when as N } from "./index226.js";
2
+ import { isCssColor as b } from "./index216.js";
3
+ import { when as N } from "./index217.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 "./index231.js";
4
+ import N from "./index237.js";
5
5
  /* empty css */
6
- import { useItemsGetter as U } from "./index233.js";
7
- import { useIndexById as T } from "./index234.js";
8
- import { useBaseOptions as q } from "./index235.js";
9
- import { useCoherence as J } from "./index236.js";
10
- import { hash as Q } from "./index216.js";
11
- import { useHashedWatcher as $ } from "./index237.js";
12
- import { usePrefill as X } from "./index238.js";
6
+ import { useItemsGetter as U } from "./index239.js";
7
+ import { useIndexById as T } from "./index240.js";
8
+ import { useBaseOptions as q } from "./index241.js";
9
+ import { useCoherence as J } from "./index242.js";
10
+ import { hash as Q } from "./index243.js";
11
+ import { useHashedWatcher as $ } from "./index244.js";
12
+ import { usePrefill as X } from "./index245.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 "./index235.js";
8
- import { useIndexById as re } from "./index234.js";
9
- import ie from "./index255.js";
6
+ import { last as le } from "./index232.js";
7
+ import { useBaseOptions as ne } from "./index241.js";
8
+ import { useIndexById as re } from "./index240.js";
9
+ import ie from "./index251.js";
10
10
  /* empty css */
11
- import ue from "./index257.js";
11
+ import ue from "./index253.js";
12
12
  /* empty css */
13
- import se from "./index247.js";
13
+ import se from "./index214.js";
14
14
  /* empty css */
15
- import de from "./index249.js";
16
- import { isEmpty as pe } from "./index260.js";
15
+ import de from "./index213.js";
16
+ import { isEmpty as pe } from "./index231.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 "./index249.js";
3
- import G from "./index247.js";
2
+ import E from "./index213.js";
3
+ import G from "./index214.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 "./index247.js";
2
+ import E from "./index214.js";
3
3
  /* empty css */
4
- import I from "./index249.js";
4
+ import I from "./index213.js";
5
5
  import { isNotNil as N } from "./index140.js";
6
- import { MaskInput as z } from "./index266.js";
6
+ import { MaskInput as z } from "./index257.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 "./index211.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 "./index225.js";
2
+ import { isCssColor as y } from "./index216.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 "./index225.js";
3
- import { isNil as B } from "./index230.js";
2
+ import { isCssColor as l } from "./index216.js";
3
+ import { isNil as B } from "./index256.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 "./index272.js";
11
- import { noop as w } from "./index273.js";
12
- import { useLocale as D } from "./index224.js";
10
+ import { pickBy as W } from "./index209.js";
11
+ import { noop as w } from "./index210.js";
12
+ import { useLocale as D } from "./index211.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 "./index211.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,16 +1,16 @@
1
1
  import { defineComponent as U, computed as V, ref as g, createBlock as L, openBlock as b, normalizeClass as R, withCtx as T, createElementBlock as D, createCommentVNode as _, unref as p, normalizeStyle as W, renderSlot as v, Fragment as F, renderList as G, createVNode as J, mergeProps as Q, createElementVNode as X, toDisplayString as Y, normalizeProps as Z, guardReactiveProps as x } from "vue";
2
- import { findRightIndex as H } from "./index267.js";
2
+ import { findRightIndex as H } from "./index268.js";
3
3
  import { useId as ee } from "./index8.js";
4
4
  import { useIntersectionObserver as te } from "./index137.js";
5
- import { useUntil as oe } from "./index268.js";
5
+ import { useUntil as oe } from "./index233.js";
6
6
  import { wait as ne } from "./index135.js";
7
7
  import ae from "./index13.js";
8
8
  /* empty css */
9
9
  import A from "./index85.js";
10
10
  /* empty css */
11
- import le from "./index269.js";
11
+ import le from "./index235.js";
12
12
  /* empty css */
13
- import B from "./index271.js";
13
+ import B from "./index269.js";
14
14
  const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" }, Ee = /* @__PURE__ */ U({
15
15
  __name: "BbDropdown",
16
16
  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 "./index211.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 "./index275.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("./index274.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 "./index225.js";
2
+ import { isCssColor as I } from "./index216.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 "./index276.js";
2
+ import { throttle as c } from "./index272.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index90.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as ae, ref as l, useAttrs as ne, computed as u, getCurrentInstance as ie, onBeforeUnmount as A, onMounted as re, watch as ue, createBlock as ce, openBlock as g, withCtx as de, createElementVNode as s, mergeProps as E, createElementBlock as $, createCommentVNode as T, renderSlot as n, createTextVNode as fe, toDisplayString as H, unref as ve, nextTick as pe } from "vue";
2
- import { useFocusTrap as be } from "./index241.js";
2
+ import { useFocusTrap as be } from "./index220.js";
3
3
  import { useId as I } from "./index8.js";
4
4
  import { wait as D } from "./index135.js";
5
- import { useModalsState as b } from "./index251.js";
6
- import me from "./index252.js";
5
+ import { useModalsState as b } from "./index222.js";
6
+ import me from "./index223.js";
7
7
  import { useMobile as ye } from "./index9.js";
8
- import { useLocale as he } from "./index224.js";
8
+ import { useLocale as he } from "./index211.js";
9
9
  const ge = ["inert"], _e = { class: "bb-offcanvas-close" }, ke = ["aria-label"], De = /* @__PURE__ */ ae({
10
10
  __name: "BbOffCanvas",
11
11
  props: {
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 "./index265.js";
7
- import { useLocale as H } from "./index224.js";
6
+ import { debounce as X } from "./index225.js";
7
+ import { useLocale as H } from "./index211.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,13 +1,13 @@
1
- import { defineComponent as V, ref as c, computed as w, createBlock as h, openBlock as u, normalizeClass as D, withCtx as f, createElementBlock as M, createCommentVNode as g, unref as k, renderSlot as y, createElementVNode as m, toDisplayString as z, normalizeProps as O, guardReactiveProps as S, nextTick as H } from "vue";
2
- import { useId as I } from "./index8.js";
3
- import { useIntersectionObserver as N } from "./index137.js";
4
- import { useLocale as U } from "./index224.js";
5
- import { useUntil as W } from "./index268.js";
6
- import q from "./index13.js";
1
+ import { defineComponent as D, ref as c, computed as h, createBlock as g, openBlock as u, normalizeClass as M, withCtx as f, createElementBlock as z, createCommentVNode as k, unref as y, renderSlot as C, createElementVNode as m, toDisplayString as I, normalizeProps as O, guardReactiveProps as S, nextTick as H } from "vue";
2
+ import { useId as N } from "./index8.js";
3
+ import { useIntersectionObserver as U } from "./index137.js";
4
+ import { useLocale as W } from "./index211.js";
5
+ import { useUntil as q } from "./index233.js";
6
+ import A from "./index13.js";
7
7
  /* empty css */
8
- import A from "./index269.js";
8
+ import R from "./index235.js";
9
9
  /* empty css */
10
- const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @__PURE__ */ V({
10
+ const Z = ["inert"], j = { class: "bb-popover__close-label sr-only" }, oe = /* @__PURE__ */ D({
11
11
  __name: "BbPopover",
12
12
  props: {
13
13
  arrowPadding: { default: 10 },
@@ -26,60 +26,61 @@ const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @
26
26
  width: {}
27
27
  },
28
28
  emits: ["shown", "hidden"],
29
- setup(C, { expose: $, emit: L }) {
30
- const a = C, n = L, { t: _ } = U(), { id: B } = I(), i = `bbp_${B.value}`, r = c(), d = c();
31
- N(
29
+ setup($, { expose: L, emit: _ }) {
30
+ const t = $, n = _, { t: B } = W(), { id: P } = N(), i = `bbp_${P.value}`, r = c(), d = c();
31
+ U(
32
32
  r,
33
33
  async ([{ intersectionRatio: e }]) => {
34
34
  e !== 1 && o.value && (await l(), n("hidden"));
35
35
  },
36
36
  { threshold: [0, 1] }
37
37
  );
38
- const o = c(!1), T = W(o), v = (e) => {
39
- var t;
40
- e.target instanceof HTMLElement && ((t = d.value) != null && t.contains(e.target) || l());
41
- }, P = async () => {
38
+ const o = c(!1), T = q(o), v = (e) => {
39
+ var a;
40
+ e.target instanceof HTMLElement && ((a = d.value) != null && a.contains(e.target) || l());
41
+ }, E = async () => {
42
42
  o.value = !0, document.addEventListener("click", v);
43
43
  }, l = async () => {
44
44
  o.value = !1, document.removeEventListener("click", v);
45
- }, b = async () => {
46
- var s;
45
+ }, b = async (e) => {
46
+ var w;
47
47
  if (o.value) {
48
48
  await l(), n("hidden");
49
49
  return;
50
50
  }
51
- if (a.disabled) return;
52
- await P();
53
- let e = a.focusTarget ?? ".bb-popover__close";
51
+ if (t.disabled)
52
+ return;
53
+ e.stopImmediatePropagation(), await E();
54
+ let a = t.focusTarget ?? ".bb-popover__close";
54
55
  await H();
55
- const t = (s = d.value) == null ? void 0 : s.querySelector(e);
56
- t instanceof HTMLElement && (t.focus(), n("shown"));
56
+ const s = (w = d.value) == null ? void 0 : w.querySelector(a);
57
+ s instanceof HTMLElement && (s.focus(), n("shown"));
57
58
  }, p = async () => {
58
59
  await l(), n("hidden");
59
- }, E = w(() => {
60
- if (a.width) {
60
+ }, V = h(() => {
61
+ if (t.width) {
61
62
  let e;
62
- return typeof a.width == "string" && /^\d+[a-zA-Z%]+$/.test(a.width) ? a.width.includes("%") ? r.value ? `${r.value.$el.clientWidth * (+a.width.replace("%", "") / 100)}px` : void 0 : a.width : (e = `${a.width}px`, `${e}px`);
63
+ return typeof t.width == "string" && /^\d+[a-zA-Z%]+$/.test(t.width) ? t.width.includes("%") ? r.value ? `${r.value.$el.clientWidth * (+t.width.replace("%", "") / 100)}px` : void 0 : t.width : (e = `${t.width}px`, `${e}px`);
63
64
  }
64
65
  });
65
- return $({
66
+ return L({
66
67
  open: b,
67
68
  close: p,
68
- closed: w(() => !o.value)
69
- }), (e, t) => (u(), h(A, {
69
+ closed: h(() => !o.value)
70
+ }), (e, a) => (u(), g(R, {
70
71
  ref_key: "wrapper",
71
72
  ref: r,
72
73
  modelValue: o.value,
73
- "onUpdate:modelValue": t[0] || (t[0] = (s) => o.value = s),
74
+ "onUpdate:modelValue": a[0] || (a[0] = (s) => o.value = s),
74
75
  "arrow-padding": e.arrowPadding,
75
76
  block: e.block,
76
- class: D(["bb-popover", {
77
+ class: M(["bb-popover", {
77
78
  [`bb-popover--${e.theme}`]: !0
78
79
  }]),
79
80
  "container-attributes": {
80
81
  id: `popover_${i}`,
81
82
  style: {
82
- width: E.value
83
+ width: V.value
83
84
  }
84
85
  },
85
86
  offset: e.offset,
@@ -89,7 +90,7 @@ const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @
89
90
  "transition-duration": e.transitionDuration
90
91
  }, {
91
92
  activator: f(() => [
92
- y(e.$slots, "activator", O(S({
93
+ C(e.$slots, "activator", O(S({
93
94
  props: {
94
95
  "aria-controls": `popover_${i}`,
95
96
  "aria-expanded": o.value,
@@ -103,21 +104,21 @@ const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @
103
104
  })))
104
105
  ]),
105
106
  default: f(() => [
106
- k(T) ? (u(), M("span", {
107
+ y(T) ? (u(), z("span", {
107
108
  key: 0,
108
109
  ref_key: "content",
109
110
  ref: d,
110
111
  class: "bb-popover__content",
111
112
  inert: !o.value
112
113
  }, [
113
- e.showClose ? (u(), h(q, {
114
+ e.showClose ? (u(), g(A, {
114
115
  key: 0,
115
116
  class: "bb-popover__close",
116
117
  onClick: p
117
118
  }, {
118
119
  default: f(() => [
119
- m("span", Z, z(e.closeLabel || k(_)("common.closeLabel").value), 1),
120
- t[1] || (t[1] = m("svg", {
120
+ m("span", j, I(e.closeLabel || y(B)("common.closeLabel").value), 1),
121
+ a[1] || (a[1] = m("svg", {
121
122
  fill: "none",
122
123
  viewBox: "0 0 24 24",
123
124
  xmlns: "http://www.w3.org/2000/svg"
@@ -131,19 +132,19 @@ const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @
131
132
  ], -1))
132
133
  ]),
133
134
  _: 1
134
- })) : g("", !0),
135
- y(e.$slots, "default", {
135
+ })) : k("", !0),
136
+ C(e.$slots, "default", {
136
137
  close: p,
137
138
  disabled: !!e.disabled,
138
139
  open: o.value,
139
140
  placement: e.placement
140
141
  })
141
- ], 8, R)) : g("", !0)
142
+ ], 8, Z)) : k("", !0)
142
143
  ]),
143
144
  _: 3
144
145
  }, 8, ["modelValue", "arrow-padding", "block", "class", "container-attributes", "offset", "padding", "placement", "transition-duration"]));
145
146
  }
146
147
  });
147
148
  export {
148
- ee as default
149
+ oe as default
149
150
  };
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 "./index208.js";
2
+ import { clamp as p } from "./index207.js";
3
3
  import { getAsPercentageBetween as i } from "./index136.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.170",
3
+ "version": "2.0.172",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
@@ -1,38 +0,0 @@
1
- import { CommonProps } from '../types/CommonProps';
2
- export type BubbleProps = Pick<CommonProps, 'arrowPadding' | 'eager' | 'offset' | 'padding' | 'placement' | 'theme' | 'transitionDuration'> & {
3
- containerAttributes?: any;
4
- bubbleAttributes?: object;
5
- wrapper: any | undefined;
6
- baseClass: string;
7
- open?: boolean;
8
- /**
9
- * Target to teleport the floating element to.
10
- */
11
- teleportTarget?: string;
12
- };
13
- declare function __VLS_template(): {
14
- attrs: Partial<{}>;
15
- slots: {
16
- default?(_: {}): any;
17
- };
18
- refs: {
19
- content: HTMLSpanElement;
20
- bubblearrow: HTMLSpanElement;
21
- };
22
- rootEl: any;
23
- };
24
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
- declare const __VLS_component: import('vue').DefineComponent<BubbleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BubbleProps> & Readonly<{}>, {
26
- theme: string;
27
- containerAttributes: any;
28
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
29
- content: HTMLSpanElement;
30
- bubblearrow: HTMLSpanElement;
31
- }, any>;
32
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
33
- export default _default;
34
- type __VLS_WithTemplateSlots<T, S> = T & {
35
- new (): {
36
- $slots: S;
37
- };
38
- };
package/dist/index215.js DELETED
@@ -1,7 +0,0 @@
1
- import { getDefaultExportFromCjs as e } from "./index310.js";
2
- import { __require as r } from "./index296.js";
3
- var o = r();
4
- const f = /* @__PURE__ */ e(o);
5
- export {
6
- f as default
7
- };
package/dist/index236.js DELETED
@@ -1,17 +0,0 @@
1
- import { isNil as f } from "./index230.js";
2
- import { computed as t, unref as o } from "vue";
3
- const a = ({ modelValue: e, iteratee: h, multiple: u }) => {
4
- const i = t(
5
- () => new Array().concat(o(e))
6
- ), s = t(() => i.value.reduce(
7
- (r, n) => (h(n) ? r.coherent.push(n) : r.incoherent.push(n), r),
8
- { coherent: [], incoherent: [] }
9
- )), c = t(() => u && !o(e).length || !u && f(o(e)) ? !0 : !s.value.incoherent.length);
10
- return {
11
- status: s,
12
- coherent: c
13
- };
14
- };
15
- export {
16
- a as useCoherence
17
- };
package/dist/index238.js DELETED
@@ -1,18 +0,0 @@
1
- import { isNotNil as n } from "./index140.js";
2
- import { ref as t, onServerPrefetch as u, onBeforeMount as c } from "vue";
3
- const h = ({
4
- fn: i,
5
- onStart: s,
6
- multiple: f,
7
- currentValue: o
8
- }) => {
9
- const a = s || !f && n(o) || f && !!o.length, e = t(!1), l = t(!1), r = async () => {
10
- e.value = !0, await i({ prefill: !0 }), e.value = !1, l.value = !0;
11
- };
12
- return a && (u(r), c(async () => {
13
- l.value || await r();
14
- })), { isPrefilling: e, hasPrefilled: l, prefill: r };
15
- };
16
- export {
17
- h as usePrefill
18
- };
package/dist/index252.js DELETED
@@ -1,17 +0,0 @@
1
- import { defineComponent as a, getCurrentInstance as c, createBlock as l, openBlock as u, Teleport as f, unref as d, renderSlot as m } from "vue";
2
- const i = /* @__PURE__ */ a({
3
- __name: "BbTeleport",
4
- props: {
5
- target: {}
6
- },
7
- setup(o) {
8
- var t, e;
9
- const r = o, n = !!((e = (t = c()) == null ? void 0 : t.proxy) != null && e.$nuxt), p = r.target || (n ? "#teleports" : "body");
10
- return (s, _) => (u(), l(f, { to: d(p) }, [
11
- m(s.$slots, "default")
12
- ], 8, ["to"]));
13
- }
14
- });
15
- export {
16
- i as default
17
- };
package/dist/index283.js DELETED
@@ -1,10 +0,0 @@
1
- import { getType as o } from "./index311.js";
2
- function c(e) {
3
- if (o(e) !== "Object")
4
- return !1;
5
- const t = Object.getPrototypeOf(e);
6
- return !!t && t.constructor === Object && t === Object.prototype;
7
- }
8
- export {
9
- c as isPlainObject
10
- };