bitboss-ui 2.0.121 → 2.0.123

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 (140) hide show
  1. package/dist/components/BbButton/BbButton.vue.d.ts +7 -0
  2. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +5 -0
  3. package/dist/index100.js +8 -8
  4. package/dist/index111.js +12 -12
  5. package/dist/index119.js +2 -2
  6. package/dist/index121.js +6 -6
  7. package/dist/index123.js +1 -1
  8. package/dist/index125.js +1 -1
  9. package/dist/index127.js +1 -1
  10. package/dist/index128.js +1 -1
  11. package/dist/index129.js +1 -1
  12. package/dist/index13.js +2 -2
  13. package/dist/index131.js +1 -1
  14. package/dist/index132.js +2 -2
  15. package/dist/index133.js +2 -2
  16. package/dist/index15.js +4 -4
  17. package/dist/index17.js +3 -3
  18. package/dist/index19.js +8 -8
  19. package/dist/index205.js +2 -115
  20. package/dist/index206.js +115 -2
  21. package/dist/index207.js +2 -8
  22. package/dist/index208.js +4 -3
  23. package/dist/index209.js +2 -2
  24. package/dist/index21.js +16 -16
  25. package/dist/index210.js +86 -4
  26. package/dist/index212.js +25 -86
  27. package/dist/index213.js +19 -0
  28. package/dist/index214.js +48 -22
  29. package/dist/index215.js +12 -14
  30. package/dist/index216.js +3 -51
  31. package/dist/index217.js +11 -14
  32. package/dist/index218.js +15 -11
  33. package/dist/index219.js +5 -16
  34. package/dist/index220.js +125 -5
  35. package/dist/index221.js +13 -122
  36. package/dist/index222.js +10 -10
  37. package/dist/index223.js +18 -15
  38. package/dist/index224.js +12 -16
  39. package/dist/index225.js +2 -15
  40. package/dist/index226.js +2 -2
  41. package/dist/index227.js +41 -2
  42. package/dist/index228.js +13 -41
  43. package/dist/index229.js +20 -13
  44. package/dist/index23.js +16 -16
  45. package/dist/index230.js +6 -20
  46. package/dist/index231.js +93 -5
  47. package/dist/{index234.js → index233.js} +2 -2
  48. package/dist/index235.js +15 -0
  49. package/dist/index236.js +2 -13
  50. package/dist/index237.js +3 -2
  51. package/dist/index239.js +19 -3
  52. package/dist/index240.js +27 -3
  53. package/dist/index241.js +8 -7
  54. package/dist/index242.js +246 -11
  55. package/dist/index243.js +51 -18
  56. package/dist/index244.js +44 -27
  57. package/dist/index245.js +5 -250
  58. package/dist/index246.js +51 -43
  59. package/dist/index247.js +3 -44
  60. package/dist/index248.js +7 -5
  61. package/dist/index249.js +11 -56
  62. package/dist/index25.js +7 -7
  63. package/dist/index250.js +18 -2
  64. package/dist/index251.js +126 -2
  65. package/dist/index252.js +105 -17
  66. package/dist/index254.js +47 -53
  67. package/dist/index256.js +12 -100
  68. package/dist/index257.js +216 -0
  69. package/dist/index258.js +368 -11
  70. package/dist/index259.js +2 -214
  71. package/dist/index260.js +2 -369
  72. package/dist/index265.js +3 -3
  73. package/dist/index268.js +4 -28
  74. package/dist/index269.js +3 -4
  75. package/dist/index27.js +1 -1
  76. package/dist/index270.js +17 -3
  77. package/dist/index271.js +7 -15
  78. package/dist/index272.js +27 -8
  79. package/dist/index281.js +1 -1
  80. package/dist/index283.js +1 -1
  81. package/dist/index284.js +1 -1
  82. package/dist/index287.js +2 -2
  83. package/dist/index29.js +3 -3
  84. package/dist/index290.js +200 -2
  85. package/dist/index291.js +2 -89
  86. package/dist/index292.js +2 -200
  87. package/dist/index293.js +2 -2
  88. package/dist/index294.js +2 -2
  89. package/dist/index295.js +1 -1
  90. package/dist/index297.js +21 -1
  91. package/dist/index299.js +1 -21
  92. package/dist/index300.js +91 -0
  93. package/dist/index303.js +1 -1
  94. package/dist/index304.js +1 -1
  95. package/dist/index305.js +1 -1
  96. package/dist/index308.js +2 -3
  97. package/dist/index309.js +67 -3
  98. package/dist/index31.js +2 -2
  99. package/dist/index310.js +5 -58
  100. package/dist/index311.js +5 -67
  101. package/dist/index312.js +8 -5
  102. package/dist/index313.js +3 -2
  103. package/dist/index314.js +3 -5
  104. package/dist/index315.js +57 -7
  105. package/dist/index316.js +3 -32
  106. package/dist/index317.js +52 -25
  107. package/dist/index318.js +52 -479
  108. package/dist/index319.js +479 -52
  109. package/dist/index320.js +32 -52
  110. package/dist/index321.js +25 -3
  111. package/dist/index322.js +6 -6
  112. package/dist/index323.js +18 -6
  113. package/dist/index324.js +5 -17
  114. package/dist/index326.js +1 -1
  115. package/dist/index33.js +8 -8
  116. package/dist/index35.js +4 -4
  117. package/dist/index37.js +22 -22
  118. package/dist/index39.js +5 -5
  119. package/dist/index41.js +2 -2
  120. package/dist/index43.js +8 -8
  121. package/dist/index45.js +8 -8
  122. package/dist/index47.js +2 -2
  123. package/dist/index49.js +2 -2
  124. package/dist/index53.js +1 -1
  125. package/dist/index55.js +1 -1
  126. package/dist/index57.js +2 -2
  127. package/dist/index61.js +45 -38
  128. package/dist/index75.js +1 -1
  129. package/dist/index77.js +81 -77
  130. package/dist/index81.js +1 -1
  131. package/dist/index84.js +4 -4
  132. package/dist/index86.js +1 -1
  133. package/dist/index88.js +5 -5
  134. package/dist/index90.js +1 -1
  135. package/dist/style.css +1 -1
  136. package/package.json +1 -1
  137. package/dist/index211.js +0 -4
  138. package/dist/index232.js +0 -92
  139. package/dist/index253.js +0 -128
  140. package/dist/index298.js +0 -4
package/dist/index324.js CHANGED
@@ -1,21 +1,9 @@
1
- function l(t, ...e) {
2
- if (t.length) {
3
- const o = t[0];
4
- if (typeof o == "string") return [...t].sort(r);
5
- if (typeof o == "number") return [...t].sort(r);
6
- if (e && e.length)
7
- return [...t].sort((f, u) => {
8
- for (let n = 0; n < e.length; n++) {
9
- const i = e[n], s = r(f[i], u[i]);
10
- if (s) return s;
11
- }
12
- return 0;
13
- });
14
- throw new Error("Invalid comparison");
15
- }
1
+ function l(n, c, r = 1) {
2
+ const o = Math.max(Math.ceil((c - n) / r), 0), t = new Array(o);
3
+ for (let e = 0; e < o; e++, n += r)
4
+ t[e] = n;
16
5
  return t;
17
6
  }
18
- const r = (t, e) => t < e ? -1 : t > e ? 1 : 0;
19
7
  export {
20
- l as sort
8
+ l as range
21
9
  };
package/dist/index326.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index311.js";
1
+ import f from "./index309.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/dist/index33.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as M, ref as g, toRef as d, openBlock as S, createBlock as R, unref as V, withCtx as t, renderSlot as i, normalizeProps as f, guardReactiveProps as h, createVNode as z, mergeProps as B, createSlots as G } from "vue";
2
2
  import W from "./index31.js";
3
3
  /* empty css */
4
- import j from "./index212.js";
4
+ import j from "./index210.js";
5
5
  /* empty css */
6
- import { useItemsGetter as A } from "./index214.js";
7
- import { usePrefill as K } from "./index219.js";
8
- import { useIndexById as k } from "./index215.js";
9
- import { useBaseOptions as N } from "./index216.js";
10
- import { useCoherence as O } from "./index217.js";
11
- import { hash as U } from "./index208.js";
12
- import { useHashedWatcher as T } from "./index218.js";
6
+ import { useItemsGetter as A } from "./index212.js";
7
+ import { usePrefill as K } from "./index218.js";
8
+ import { useIndexById as k } from "./index213.js";
9
+ import { useBaseOptions as N } from "./index214.js";
10
+ import { useCoherence as O } from "./index215.js";
11
+ import { hash as U } from "./index216.js";
12
+ import { useHashedWatcher as T } from "./index217.js";
13
13
  const se = /* @__PURE__ */ M({
14
14
  __name: "BaseRadioGroup",
15
15
  props: {
package/dist/index35.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as I, ref as v, computed as f, openBlock as l, createElementBlock as r, mergeProps as h, createElementVNode as i, renderSlot as p, Fragment as V, renderList as M, normalizeClass as D, toDisplayString as F, unref as y } from "vue";
2
- import { booleanishToBoolean as T } from "./index211.js";
3
- import { identity as $ } from "./index226.js";
4
- import { isCssColor as k } from "./index209.js";
2
+ import { booleanishToBoolean as T } from "./index209.js";
3
+ import { identity as $ } from "./index225.js";
4
+ import { isCssColor as k } from "./index207.js";
5
5
  import { isNotNil as q } from "./index134.js";
6
- import { useLocale as x } from "./index229.js";
6
+ import { useLocale as x } from "./index228.js";
7
7
  const H = { class: "bb-base-rating__inner-container" }, S = { class: "bb-base-rating__label-text sr-only" }, N = ["id", "aria-describedby", "autofocus", "checked", "disabled", "name", "required", "value"], j = ["height", "width"], W = /* @__PURE__ */ I({
8
8
  __name: "BaseRating",
9
9
  props: {
package/dist/index37.js CHANGED
@@ -5,33 +5,33 @@ import { useId as Ye } from "./index8.js";
5
5
  import { useMobile as Ze } from "./index9.js";
6
6
  import et from "./index128.js";
7
7
  /* empty css */
8
- import { last as tt } from "./index227.js";
9
- import { matchAnyKey as ae } from "./index252.js";
10
- import { useFloating as lt } from "./index253.js";
8
+ import { last as tt } from "./index226.js";
9
+ import { matchAnyKey as ae } from "./index250.js";
10
+ import { useFloating as lt } from "./index251.js";
11
11
  import { useIntersectionObserver as at } from "./index132.js";
12
12
  import { wait as E } from "./index130.js";
13
- import { when as ot } from "./index210.js";
14
- import nt from "./index254.js";
13
+ import { when as ot } from "./index208.js";
14
+ import nt from "./index252.js";
15
15
  /* empty css */
16
- import it from "./index256.js";
16
+ import it from "./index254.js";
17
17
  /* empty css */
18
- import rt from "./index234.js";
18
+ import rt from "./index233.js";
19
19
  /* empty css */
20
- import ut from "./index236.js";
21
- import { waitFor as st } from "./index231.js";
22
- import dt from "./index242.js";
23
- import { useItemsGetter as ct } from "./index214.js";
24
- import { usePrefill as pt } from "./index219.js";
25
- import { useArray as mt } from "./index258.js";
26
- import { useBaseOptions as ft } from "./index216.js";
27
- import { useIndexById as oe } from "./index215.js";
28
- import { useCoherence as vt } from "./index217.js";
29
- import { hash as yt } from "./index208.js";
30
- import { useHashedWatcher as ne } from "./index218.js";
31
- import { useLocale as ht } from "./index229.js";
32
- import { isEmpty as bt } from "./index237.js";
33
- import gt from "./index259.js";
34
- import { autoUpdate as wt, flip as Bt, offset as Vt, shift as It } from "./index260.js";
20
+ import ut from "./index235.js";
21
+ import { waitFor as st } from "./index230.js";
22
+ import dt from "./index249.js";
23
+ import { useItemsGetter as ct } from "./index212.js";
24
+ import { usePrefill as pt } from "./index218.js";
25
+ import { useArray as mt } from "./index256.js";
26
+ import { useBaseOptions as ft } from "./index214.js";
27
+ import { useIndexById as oe } from "./index213.js";
28
+ import { useCoherence as vt } from "./index215.js";
29
+ import { hash as yt } from "./index216.js";
30
+ import { useHashedWatcher as ne } from "./index217.js";
31
+ import { useLocale as ht } from "./index228.js";
32
+ import { isEmpty as bt } from "./index236.js";
33
+ import gt from "./index257.js";
34
+ import { autoUpdate as wt, flip as Bt, offset as Vt, shift as It } from "./index258.js";
35
35
  const kt = { class: "bb-base-select__input-container" }, St = {
36
36
  key: 1,
37
37
  class: "bb-base-select__max-reached"
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, openBlock as g, createElementBlock as w, mergeProps as T, renderSlot as f, createElementVNode as c, Fragment as ee, renderList as ae, createCommentVNode as H, normalizeProps as re, guardReactiveProps as te, unref as b, normalizeClass as F, normalizeStyle as I } from "vue";
2
- import { clamp as le } from "./index206.js";
3
- import { head as O } from "./index250.js";
4
- import { isCssColor as Y } from "./index209.js";
5
- import { isNil as P } from "./index251.js";
2
+ import { clamp as le } from "./index205.js";
3
+ import { head as O } from "./index259.js";
4
+ import { isCssColor as Y } from "./index207.js";
5
+ import { isNil as P } from "./index260.js";
6
6
  import { isNotNil as ne } from "./index134.js";
7
7
  import { transposeValue as y } from "./index131.js";
8
- import { hash as J } from "./index208.js";
8
+ import { hash as J } from "./index216.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, openBlock as h, createElementBlock as y, normalizeProps as r, guardReactiveProps as d, mergeProps as V, createCommentVNode as A, createElementVNode as l, renderSlot as F } from "vue";
2
- import { isCssColor as b } from "./index209.js";
3
- import { when as N } from "./index210.js";
2
+ import { isCssColor as b } from "./index207.js";
3
+ import { when as N } from "./index208.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, openBlock as z, createBlock as G, unref as B, withCtx as s, renderSlot as l, normalizeProps as h, guardReactiveProps as v, 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 "./index212.js";
4
+ import N from "./index210.js";
5
5
  /* empty css */
6
- import { useItemsGetter as U } from "./index214.js";
7
- import { useIndexById as T } from "./index215.js";
8
- import { useBaseOptions as q } from "./index216.js";
9
- import { useCoherence as J } from "./index217.js";
10
- import { hash as Q } from "./index208.js";
11
- import { useHashedWatcher as E } from "./index218.js";
12
- import { usePrefill as X } from "./index219.js";
6
+ import { useItemsGetter as U } from "./index212.js";
7
+ import { useIndexById as T } from "./index213.js";
8
+ import { useBaseOptions as q } from "./index214.js";
9
+ import { useCoherence as J } from "./index215.js";
10
+ import { hash as Q } from "./index216.js";
11
+ import { useHashedWatcher as E } from "./index217.js";
12
+ import { usePrefill as X } from "./index218.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 "./index128.js";
5
5
  /* empty css */
6
- import { last as le } from "./index227.js";
7
- import { useBaseOptions as ne } from "./index216.js";
8
- import { useIndexById as re } from "./index215.js";
9
- import ie from "./index254.js";
6
+ import { last as le } from "./index226.js";
7
+ import { useBaseOptions as ne } from "./index214.js";
8
+ import { useIndexById as re } from "./index213.js";
9
+ import ie from "./index252.js";
10
10
  /* empty css */
11
- import ue from "./index256.js";
11
+ import ue from "./index254.js";
12
12
  /* empty css */
13
- import se from "./index234.js";
13
+ import se from "./index233.js";
14
14
  /* empty css */
15
- import de from "./index236.js";
16
- import { isEmpty as pe } from "./index237.js";
15
+ import de from "./index235.js";
16
+ import { isEmpty as pe } from "./index236.js";
17
17
  const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], Le = /* @__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, openBlock as $, createBlock as k, normalizeClass as C, withCtx as r, renderSlot as t, createVNode as i, unref as T, createElementVNode as v, mergeProps as x } from "vue";
2
- import E from "./index236.js";
3
- import G from "./index234.js";
2
+ import E from "./index235.js";
3
+ import G from "./index233.js";
4
4
  /* empty css */
5
5
  import M from "./index128.js";
6
6
  /* empty css */
package/dist/index49.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as m, computed as b, openBlock as c, createElementBlock as f, Fragment as y, createVNode as r, normalizeClass as B, withCtx as n, renderSlot as l, unref as g, createElementVNode as p, mergeProps as h } from "vue";
2
- import $ from "./index234.js";
2
+ import $ from "./index233.js";
3
3
  /* empty css */
4
- import k from "./index236.js";
4
+ import k from "./index235.js";
5
5
  import { isNotNil as C } from "./index134.js";
6
6
  const V = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "type", "value"], M = /* @__PURE__ */ m({
7
7
  __name: "BaseTextInput",
package/dist/index53.js CHANGED
@@ -3,7 +3,7 @@ import B from "./index126.js";
3
3
  /* empty css */
4
4
  import L from "./index127.js";
5
5
  /* empty css */
6
- import { useLocale as g } from "./index229.js";
6
+ import { useLocale as g } from "./index228.js";
7
7
  const $ = {
8
8
  class: "bb-alert__inner-container",
9
9
  role: "alert"
package/dist/index55.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as b, computed as z, ref as o, onMounted as g, openBlock as l, createElementBlock as i, normalizeProps as _, guardReactiveProps as h, renderSlot as k } from "vue";
2
- import { isCssColor as y } from "./index209.js";
2
+ import { isCssColor as y } from "./index207.js";
3
3
  import { wait as C } from "./index130.js";
4
4
  const w = ["alt", "sizes", "src", "srcset"], B = {
5
5
  key: 1,
package/dist/index57.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as p, useSlots as d, computed as n, openBlock as m, createElementBlock as u, normalizeClass as g, createElementVNode as s, renderSlot as l, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
2
- import { isCssColor as r } from "./index209.js";
3
- import { isNil as B } from "./index251.js";
2
+ import { isCssColor as r } from "./index207.js";
3
+ import { isNil as B } from "./index260.js";
4
4
  const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, S = /* @__PURE__ */ p({
5
5
  __name: "BbBadge",
6
6
  props: {
package/dist/index61.js CHANGED
@@ -1,19 +1,19 @@
1
- import { defineComponent as _, ref as B, computed as c, useAttrs as v, toRef as k, openBlock as t, createBlock as a, unref as l, mergeProps as C, withCtx as h, createVNode as L, createCommentVNode as r, createElementVNode as S, normalizeClass as x, renderSlot as V, createTextVNode as F, toDisplayString as d, createElementBlock as N } from "vue";
1
+ import { defineComponent as k, ref as C, computed as c, useAttrs as h, toRef as z, openBlock as a, createBlock as i, unref as r, mergeProps as L, withCtx as S, createVNode as $, createCommentVNode as s, createElementVNode as x, normalizeClass as V, renderSlot as A, createTextVNode as F, toDisplayString as u, createElementBlock as N } from "vue";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import P from "./index13.js";
5
5
  /* empty css */
6
- import s from "./index127.js";
6
+ import p from "./index127.js";
7
7
  /* empty css */
8
8
  import T from "./index129.js";
9
9
  /* empty css */
10
- import { pickBy as $ } from "./index261.js";
11
- import { noop as A } from "./index262.js";
12
- import { useLocale as W } from "./index229.js";
13
- const w = {
10
+ import { pickBy as W } from "./index261.js";
11
+ import { noop as w } from "./index262.js";
12
+ import { useLocale as D } from "./index228.js";
13
+ const E = {
14
14
  key: 2,
15
15
  class: "bb-button__loading-label sr-only"
16
- }, M = /* @__PURE__ */ _({
16
+ }, X = /* @__PURE__ */ k({
17
17
  __name: "BbButton",
18
18
  props: {
19
19
  autoLoading: { type: Boolean },
@@ -44,76 +44,83 @@ const w = {
44
44
  preserveState: { type: [Boolean, Function, null] },
45
45
  queryStringArrayFormat: {},
46
46
  replace: { type: Boolean },
47
+ size: { default: "md" },
47
48
  tag: {},
48
49
  target: {},
49
50
  text: {},
50
51
  to: {},
51
52
  type: {}
52
53
  },
53
- setup(u) {
54
- const e = u, { t: b } = W(), i = B(0), n = c(
55
- () => e.loading || !!i.value && e.autoLoading
56
- ), m = c(() => e.disabled), { onClick: y = A } = v(), f = async (o) => {
57
- if (o.stopImmediatePropagation(), n.value && e.disabledWhileLoading) {
54
+ setup(b) {
55
+ const e = b, { t: m } = D(), l = C(0), t = c(
56
+ () => e.loading || !!l.value && e.autoLoading
57
+ ), f = c(() => e.disabled), { onClick: y = w } = h(), g = async (o) => {
58
+ if (o.stopImmediatePropagation(), t.value && e.disabledWhileLoading) {
58
59
  e.type === "submit" && o.preventDefault();
59
60
  return;
60
61
  }
61
- i.value++, await y(o), i.value--;
62
- }, g = k(() => ({
63
- ...$(
62
+ l.value++, await y(o), l.value--;
63
+ }, _ = typeof e.size == "string" ? { default: e.size } : { default: "md", ...e.size }, B = Object.entries(_).reduce(
64
+ (o, [n, d]) => (n === "default" ? o[`data-${d}`] = "" : o[`data-${n}:${d}`] = "", o),
65
+ {}
66
+ ), v = z(() => ({
67
+ ...B,
68
+ ...W(
64
69
  e,
65
- (o, p) => ![
70
+ (o, n) => ![
66
71
  "append:icon",
67
- "disabled",
68
72
  "autoLoading",
73
+ "disabled",
69
74
  "disabledWhileLoading",
75
+ "group",
70
76
  "icon",
71
77
  "loading",
72
- "prepend:icon"
73
- ].includes(p)
78
+ "prepend:icon",
79
+ "size"
80
+ ].includes(n)
74
81
  )
75
82
  }));
76
- return (o, p) => (t(), a(l(P), C(g.value, {
77
- "aria-disabled": n.value ? !0 : void 0,
83
+ return (o, n) => (a(), i(r(P), L(v.value, {
84
+ "aria-disabled": t.value ? !0 : void 0,
78
85
  class: {
79
86
  "bb-button": !0,
80
- "bb-button--loading": n.value,
87
+ "bb-button--loading": t.value,
81
88
  "bb-button--group": e.group,
82
89
  "bb-button--icon": !!o.icon
83
90
  },
84
- disabled: m.value,
85
- tabindex: n.value ? -1 : void 0,
86
- onClick: f
91
+ disabled: f.value,
92
+ tabindex: t.value ? -1 : void 0,
93
+ onClick: g
87
94
  }), {
88
- default: h(() => [
89
- L(l(T), { class: "bb-button__spinner" }),
90
- e.icon ? (t(), a(s, {
95
+ default: S(() => [
96
+ $(r(T), { class: "bb-button__spinner" }),
97
+ e.icon ? (a(), i(p, {
91
98
  key: 0,
92
99
  class: "bb-button__icon",
93
100
  type: e.icon
94
- }, null, 8, ["type"])) : e["prepend:icon"] ? (t(), a(s, {
101
+ }, null, 8, ["type"])) : e["prepend:icon"] ? (a(), i(p, {
95
102
  key: 1,
96
103
  class: "bb-button__prepend-icon",
97
104
  type: e["prepend:icon"]
98
- }, null, 8, ["type"])) : r("", !0),
99
- S("span", {
100
- class: x(["bb-button__content", { "sr-only": !!o.icon }])
105
+ }, null, 8, ["type"])) : s("", !0),
106
+ x("span", {
107
+ class: V(["bb-button__content", { "sr-only": !!o.icon }])
101
108
  }, [
102
- V(o.$slots, "default", {}, () => [
103
- F(d(o.text), 1)
109
+ A(o.$slots, "default", {}, () => [
110
+ F(u(o.text), 1)
104
111
  ])
105
112
  ], 2),
106
- n.value ? (t(), N("span", w, d(l(b)("common.loadingText")), 1)) : r("", !0),
107
- !o.icon && e["append:icon"] ? (t(), a(s, {
113
+ t.value ? (a(), N("span", E, u(r(m)("common.loadingText")), 1)) : s("", !0),
114
+ !o.icon && e["append:icon"] ? (a(), i(p, {
108
115
  key: 3,
109
116
  class: "bb-button__append-icon",
110
117
  type: e["append:icon"]
111
- }, null, 8, ["type"])) : r("", !0)
118
+ }, null, 8, ["type"])) : s("", !0)
112
119
  ]),
113
120
  _: 3
114
121
  }, 16, ["aria-disabled", "class", "disabled", "tabindex"]));
115
122
  }
116
123
  });
117
124
  export {
118
- M as default
125
+ X as default
119
126
  };
package/dist/index75.js CHANGED
@@ -6,7 +6,7 @@ import { useIntersectionObserver as ae } from "./index132.js";
6
6
  import le from "./index13.js";
7
7
  /* empty css */
8
8
  import N from "./index264.js";
9
- import se from "./index232.js";
9
+ import se from "./index231.js";
10
10
  /* empty css */
11
11
  import V from "./index127.js";
12
12
  /* empty css */