bitboss-ui 2.0.168 → 2.0.169

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 (176) hide show
  1. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +6 -6
  2. package/dist/components/BbPopover/BbPopover.vue.d.ts +6 -6
  3. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +6 -6
  4. package/dist/components/CommonPopover.vue.d.ts +6 -6
  5. package/dist/index106.js +7 -7
  6. package/dist/index111.js +1 -1
  7. package/dist/index113.js +1 -1
  8. package/dist/index121.js +9 -9
  9. package/dist/index129.js +2 -2
  10. package/dist/index13.js +1 -1
  11. package/dist/index131.js +3 -3
  12. package/dist/index133.js +1 -1
  13. package/dist/index15.js +6 -6
  14. package/dist/index17.js +3 -3
  15. package/dist/index19.js +8 -8
  16. package/dist/index209.js +2 -2
  17. package/dist/index21.js +16 -16
  18. package/dist/index211.js +1 -1
  19. package/dist/index212.js +38 -174
  20. package/dist/index213.js +6 -2
  21. package/dist/index214.js +7 -4
  22. package/dist/index215.js +15 -2
  23. package/dist/index216.js +13 -41
  24. package/dist/index217.js +5 -6
  25. package/dist/index218.js +5 -7
  26. package/dist/index219.js +5 -15
  27. package/dist/index220.js +5 -13
  28. package/dist/index221.js +5 -4
  29. package/dist/index222.js +5 -20
  30. package/dist/index223.js +2 -94
  31. package/dist/index224.js +4 -0
  32. package/dist/index225.js +18 -198
  33. package/dist/index226.js +96 -0
  34. package/dist/index228.js +4 -0
  35. package/dist/index229.js +8 -28
  36. package/dist/index23.js +15 -15
  37. package/dist/index230.js +34 -17
  38. package/dist/index231.js +4 -51
  39. package/dist/index232.js +200 -15
  40. package/dist/index234.js +2 -12
  41. package/dist/index235.js +2 -16
  42. package/dist/index236.js +4 -2
  43. package/dist/index237.js +2 -18
  44. package/dist/index238.js +2 -128
  45. package/dist/index239.js +3 -106
  46. package/dist/index240.js +7 -0
  47. package/dist/index241.js +5 -100
  48. package/dist/index242.js +10 -0
  49. package/dist/index243.js +250 -12
  50. package/dist/index244.js +52 -2
  51. package/dist/index245.js +39 -223
  52. package/dist/index246.js +5 -368
  53. package/dist/index247.js +58 -32
  54. package/dist/index248.js +86 -2
  55. package/dist/index25.js +5 -5
  56. package/dist/index250.js +29 -2
  57. package/dist/index251.js +16 -5
  58. package/dist/index252.js +17 -5
  59. package/dist/index253.js +51 -5
  60. package/dist/index254.js +15 -5
  61. package/dist/index255.js +12 -5
  62. package/dist/index256.js +3 -5
  63. package/dist/index257.js +106 -9
  64. package/dist/index259.js +100 -5
  65. package/dist/index261.js +17 -7
  66. package/dist/index262.js +124 -246
  67. package/dist/index263.js +12 -52
  68. package/dist/index264.js +223 -39
  69. package/dist/index265.js +368 -5
  70. package/dist/index266.js +3 -60
  71. package/dist/index269.js +174 -6
  72. package/dist/index27.js +1 -1
  73. package/dist/index270.js +8 -10
  74. package/dist/index271.js +11 -101
  75. package/dist/index272.js +103 -0
  76. package/dist/index274.js +23 -3
  77. package/dist/index277.js +1 -1
  78. package/dist/index280.js +5 -67
  79. package/dist/index281.js +67 -5
  80. package/dist/index282.js +1 -1
  81. package/dist/index283.js +1 -1
  82. package/dist/index284.js +3 -4
  83. package/dist/index286.js +9 -0
  84. package/dist/index287.js +469 -5
  85. package/dist/index288.js +2 -4
  86. package/dist/index289.js +6 -470
  87. package/dist/index290.js +11 -2
  88. package/dist/index291.js +4 -7
  89. package/dist/index292.js +2 -11
  90. package/dist/index293.js +280 -3
  91. package/dist/index294.js +2 -3
  92. package/dist/index295.js +125 -3
  93. package/dist/index296.js +2 -17
  94. package/dist/index297.js +15 -27
  95. package/dist/index298.js +2 -2
  96. package/dist/index299.js +15 -199
  97. package/dist/index300.js +2 -129
  98. package/dist/index301.js +19 -3
  99. package/dist/index302.js +2 -3
  100. package/dist/index303.js +15 -2
  101. package/dist/index304.js +2 -382
  102. package/dist/index305.js +3 -126
  103. package/dist/index306.js +198 -278
  104. package/dist/index307.js +3 -2
  105. package/dist/index308.js +4 -125
  106. package/dist/index309.js +28 -2
  107. package/dist/index31.js +2 -2
  108. package/dist/index310.js +5 -15
  109. package/dist/index311.js +3 -2
  110. package/dist/index312.js +17 -16
  111. package/dist/index313.js +5 -2
  112. package/dist/index314.js +17 -17
  113. package/dist/index316.js +25 -13
  114. package/dist/index318.js +2 -5
  115. package/dist/index319.js +2 -6
  116. package/dist/index320.js +2 -19
  117. package/dist/index321.js +2 -2
  118. package/dist/index322.js +22 -27
  119. package/dist/index324.js +3 -2
  120. package/dist/index325.js +3 -2
  121. package/dist/index326.js +129 -2
  122. package/dist/index327.js +1 -1
  123. package/dist/index328.js +381 -21
  124. package/dist/index329.js +128 -0
  125. package/dist/index33.js +8 -8
  126. package/dist/index330.js +2 -2
  127. package/dist/index331.js +1 -1
  128. package/dist/index335.js +1 -1
  129. package/dist/index336.js +7 -5
  130. package/dist/index337.js +227 -6
  131. package/dist/index338.js +5 -19
  132. package/dist/index339.js +7 -227
  133. package/dist/index340.js +5 -46
  134. package/dist/index341.js +8 -7
  135. package/dist/index342.js +92 -57
  136. package/dist/index343.js +32 -57
  137. package/dist/index344.js +28 -8
  138. package/dist/index346.js +47 -8
  139. package/dist/index347.js +6 -32
  140. package/dist/index348.js +18 -27
  141. package/dist/index349.js +60 -0
  142. package/dist/index35.js +4 -4
  143. package/dist/index350.js +57 -92
  144. package/dist/{index285.js → index352.js} +1 -1
  145. package/dist/index353.js +482 -3
  146. package/dist/index354.js +479 -45
  147. package/dist/index355.js +2 -481
  148. package/dist/index356.js +47 -2
  149. package/dist/index37.js +20 -20
  150. package/dist/index39.js +4 -4
  151. package/dist/index41.js +2 -2
  152. package/dist/index43.js +8 -8
  153. package/dist/index45.js +6 -6
  154. package/dist/index49.js +1 -1
  155. package/dist/index53.js +1 -1
  156. package/dist/index55.js +1 -1
  157. package/dist/index57.js +2 -2
  158. package/dist/index61.js +1 -1
  159. package/dist/index67.js +1 -1
  160. package/dist/index79.js +4 -4
  161. package/dist/index81.js +1 -1
  162. package/dist/index85.js +1 -1
  163. package/dist/index87.js +1 -1
  164. package/dist/index90.js +4 -4
  165. package/dist/index92.js +2 -2
  166. package/dist/index94.js +3 -3
  167. package/package.json +1 -1
  168. package/dist/index227.js +0 -88
  169. package/dist/index233.js +0 -5
  170. package/dist/index249.js +0 -4
  171. package/dist/index258.js +0 -5
  172. package/dist/index260.js +0 -7
  173. package/dist/index273.js +0 -25
  174. package/dist/index323.js +0 -4
  175. package/dist/index345.js +0 -8
  176. package/dist/index351.js +0 -484
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 "./index220.js";
6
+ import { useLocale as g } from "./index216.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 "./index213.js";
2
+ import { isCssColor as y } from "./index235.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 "./index213.js";
3
- import { isNil as B } from "./index250.js";
2
+ import { isCssColor as l } from "./index235.js";
3
+ import { isNil as B } from "./index238.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 "./index267.js";
11
11
  import { noop as w } from "./index268.js";
12
- import { useLocale as D } from "./index220.js";
12
+ import { useLocale as D } from "./index216.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 "./index220.js";
2
+ import { useLocale as f } from "./index216.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, useTemplateRef as q, ref as F, createBlock as h, openBlock as b, normalizeClass as W, withCtx as L, createElementBlock as T, createCommentVNode as D, unref as p, normalizeStyle as G, renderSlot as v, Fragment as A, renderList as J, createVNode as Q, mergeProps as X, createElementVNode as Y, toDisplayString as Z, normalizeProps as x, guardReactiveProps as ee } from "vue";
2
- import { findRightIndex as _ } from "./index269.js";
2
+ import { findRightIndex as _ } from "./index270.js";
3
3
  import { useId as te } from "./index8.js";
4
4
  import { useIntersectionObserver as oe } from "./index137.js";
5
- import { useUntil as ne } from "./index270.js";
5
+ import { useUntil as ne } from "./index271.js";
6
6
  import { wait as ae } from "./index135.js";
7
7
  import le from "./index13.js";
8
8
  /* empty css */
9
9
  import B from "./index85.js";
10
10
  /* empty css */
11
- import se from "./index271.js";
11
+ import se from "./index272.js";
12
12
  /* empty css */
13
- import O from "./index273.js";
13
+ import O from "./index274.js";
14
14
  const ie = ["id", "aria-labelledby", "inert"], re = { class: "item__content" }, $e = /* @__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 "./index220.js";
12
+ import { useLocale as M } from "./index216.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/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 "./index213.js";
2
+ import { isCssColor as I } from "./index235.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 "./index274.js";
2
+ import { throttle as c } from "./index266.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 "./index216.js";
2
+ import { useFocusTrap as be } from "./index212.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 "./index218.js";
6
- import me from "./index219.js";
5
+ import { useModalsState as b } from "./index214.js";
6
+ import me from "./index215.js";
7
7
  import { useMobile as ye } from "./index9.js";
8
- import { useLocale as he } from "./index220.js";
8
+ import { useLocale as he } from "./index216.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 "./index257.js";
7
- import { useLocale as H } from "./index220.js";
6
+ import { debounce as X } from "./index229.js";
7
+ import { useLocale as H } from "./index216.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 R, useTemplateRef as b, ref as V, computed as w, createBlock as h, openBlock as c, normalizeClass as D, withCtx as u, createElementBlock as M, createCommentVNode as g, unref as k, renderSlot as y, createElementVNode as f, toDisplayString as z, normalizeProps as O, guardReactiveProps as S, nextTick as H } from "vue";
2
2
  import { useId as I } from "./index8.js";
3
3
  import { useIntersectionObserver as N } from "./index137.js";
4
- import { useLocale as U } from "./index220.js";
5
- import { useUntil as W } from "./index270.js";
4
+ import { useLocale as U } from "./index216.js";
5
+ import { useUntil as W } from "./index271.js";
6
6
  import q from "./index13.js";
7
7
  /* empty css */
8
- import A from "./index271.js";
8
+ import A from "./index272.js";
9
9
  /* empty css */
10
10
  const Z = ["inert"], j = { class: "bb-popover__close-label sr-only" }, oe = /* @__PURE__ */ R({
11
11
  __name: "BbPopover",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.0.168",
3
+ "version": "2.0.169",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
package/dist/index227.js DELETED
@@ -1,88 +0,0 @@
1
- import { defineComponent as h, createElementBlock as n, openBlock as s, normalizeClass as r, createElementVNode as l, renderSlot as t, createCommentVNode as p, createTextVNode as o, toDisplayString as d, unref as b, Fragment as m, renderList as u } from "vue";
2
- import { useLocale as g } from "./index220.js";
3
- const k = { class: "bb-cr-container__container" }, y = {
4
- key: 0,
5
- class: "bb-cr-container__loading-container"
6
- }, $ = {
7
- key: 1,
8
- class: "bb-cr-container__no-data-container"
9
- }, C = /* @__PURE__ */ h({
10
- __name: "OptionsContainer",
11
- props: {
12
- direction: {},
13
- hasErrors: { type: Boolean },
14
- hideLabel: { type: Boolean },
15
- loadingText: {},
16
- loading: { type: Boolean },
17
- noDataText: {},
18
- options: {}
19
- },
20
- setup(f) {
21
- const { t: i } = g();
22
- return (a, T) => (s(), n("span", {
23
- ref: "container",
24
- class: r(["bb-cr-container", {
25
- "bb-cr-container--errors": a.hasErrors,
26
- "bb-cr-container--horizontal": a.direction === "horizontal",
27
- "bb-cr-container--vertical": a.direction === "vertical"
28
- }])
29
- }, [
30
- l("span", k, [
31
- t(a.$slots, "prepend"),
32
- !a.options.length && a.loading ? (s(), n("span", y, [
33
- t(a.$slots, "loading", {}, () => [
34
- o(d(a.loadingText || b(i)("common.loadingText")), 1)
35
- ])
36
- ])) : a.options.length ? p("", !0) : (s(), n("span", $, [
37
- t(a.$slots, "no-data", {}, () => [
38
- o(d(a.noDataText || b(i)("common.noDataText")), 1)
39
- ])
40
- ])),
41
- (s(!0), n(m, null, u(a.options, (e, c) => (s(), n(m, {
42
- key: (e == null ? void 0 : e.valueHash) || c
43
- }, [
44
- t(a.$slots, "option:prepend", {
45
- id: e.valueHash,
46
- checked: !!e.selected,
47
- disabled: !!e.disabled,
48
- item: e.item,
49
- text: e.text
50
- }),
51
- l("label", {
52
- class: r(["bb-cr-container-option", { "bb-base-radio-selected": e.selected }])
53
- }, [
54
- t(a.$slots, "input", {
55
- index: c,
56
- option: e
57
- }),
58
- l("span", {
59
- class: r({
60
- "bb-cr-container-option__text": !0,
61
- "sr-only": a.hideLabel
62
- })
63
- }, [
64
- t(a.$slots, "label", {
65
- checked: !!e.selected,
66
- item: e.item,
67
- text: e.text
68
- }, () => [
69
- o(d(e.text), 1)
70
- ])
71
- ], 2)
72
- ], 2),
73
- t(a.$slots, "option:append", {
74
- id: e.valueHash,
75
- checked: !!e.selected,
76
- disabled: !!e.disabled,
77
- item: e.item,
78
- text: e.text
79
- })
80
- ], 64))), 128)),
81
- t(a.$slots, "append")
82
- ])
83
- ], 2));
84
- }
85
- });
86
- export {
87
- C as default
88
- };
package/dist/index233.js DELETED
@@ -1,5 +0,0 @@
1
- import { hash as o } from "./index297.js";
2
- const t = (r, h = "bb") => `${h}${o(r)}`;
3
- export {
4
- t as hash
5
- };
package/dist/index249.js DELETED
@@ -1,4 +0,0 @@
1
- const o = (e) => e[0];
2
- export {
3
- o as head
4
- };
package/dist/index258.js DELETED
@@ -1,5 +0,0 @@
1
- import r from "./index318.js";
2
- const t = r;
3
- export {
4
- t as deburr
5
- };
package/dist/index260.js DELETED
@@ -1,7 +0,0 @@
1
- import { getDefaultExportFromCjs as e } from "./index319.js";
2
- import { __require as r } from "./index322.js";
3
- var o = r();
4
- const f = /* @__PURE__ */ e(o);
5
- export {
6
- f as default
7
- };
package/dist/index273.js DELETED
@@ -1,25 +0,0 @@
1
- const e = {
2
- inert: ":not([inert]):not([inert] *)",
3
- negTabIndex: ':not([tabindex^="-"])',
4
- disabled: ":not(:disabled)"
5
- }, n = [
6
- `a[href]${e.inert}${e.negTabIndex}`,
7
- `area[href]${e.inert}${e.negTabIndex}`,
8
- `input:not([type="hidden"]):not([type="radio"])${e.inert}${e.negTabIndex}${e.disabled}`,
9
- `input[type="radio"]${e.inert}${e.negTabIndex}${e.disabled}`,
10
- `select${e.inert}${e.negTabIndex}${e.disabled}`,
11
- `textarea${e.inert}${e.negTabIndex}${e.disabled}`,
12
- `button${e.inert}${e.negTabIndex}${e.disabled}`,
13
- `details${e.inert} > summary:first-of-type${e.negTabIndex}`,
14
- // Discard until Firefox supports `:has()`
15
- // See: https://github.com/KittyGiraudel/focusable-selectors/issues/12
16
- // `details:not(:has(> summary))${not.inert}${not.negTabIndex}`,
17
- `iframe${e.inert}${e.negTabIndex}`,
18
- `audio[controls]${e.inert}${e.negTabIndex}`,
19
- `video[controls]${e.inert}${e.negTabIndex}`,
20
- `[contenteditable]${e.inert}${e.negTabIndex}`,
21
- `[tabindex]${e.inert}${e.negTabIndex}`
22
- ];
23
- export {
24
- n as default
25
- };
package/dist/index323.js DELETED
@@ -1,4 +0,0 @@
1
- var e = { exports: {} };
2
- export {
3
- e as __module
4
- };
package/dist/index345.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
- };