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.
- package/dist/components/BbButton/BbButton.vue.d.ts +7 -0
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +5 -0
- package/dist/index100.js +8 -8
- package/dist/index111.js +12 -12
- package/dist/index119.js +2 -2
- package/dist/index121.js +6 -6
- package/dist/index123.js +1 -1
- package/dist/index125.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index129.js +1 -1
- package/dist/index13.js +2 -2
- package/dist/index131.js +1 -1
- package/dist/index132.js +2 -2
- package/dist/index133.js +2 -2
- package/dist/index15.js +4 -4
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index205.js +2 -115
- package/dist/index206.js +115 -2
- package/dist/index207.js +2 -8
- package/dist/index208.js +4 -3
- package/dist/index209.js +2 -2
- package/dist/index21.js +16 -16
- package/dist/index210.js +86 -4
- package/dist/index212.js +25 -86
- package/dist/index213.js +19 -0
- package/dist/index214.js +48 -22
- package/dist/index215.js +12 -14
- package/dist/index216.js +3 -51
- package/dist/index217.js +11 -14
- package/dist/index218.js +15 -11
- package/dist/index219.js +5 -16
- package/dist/index220.js +125 -5
- package/dist/index221.js +13 -122
- package/dist/index222.js +10 -10
- package/dist/index223.js +18 -15
- package/dist/index224.js +12 -16
- package/dist/index225.js +2 -15
- package/dist/index226.js +2 -2
- package/dist/index227.js +41 -2
- package/dist/index228.js +13 -41
- package/dist/index229.js +20 -13
- package/dist/index23.js +16 -16
- package/dist/index230.js +6 -20
- package/dist/index231.js +93 -5
- package/dist/{index234.js → index233.js} +2 -2
- package/dist/index235.js +15 -0
- package/dist/index236.js +2 -13
- package/dist/index237.js +3 -2
- package/dist/index239.js +19 -3
- package/dist/index240.js +27 -3
- package/dist/index241.js +8 -7
- package/dist/index242.js +246 -11
- package/dist/index243.js +51 -18
- package/dist/index244.js +44 -27
- package/dist/index245.js +5 -250
- package/dist/index246.js +51 -43
- package/dist/index247.js +3 -44
- package/dist/index248.js +7 -5
- package/dist/index249.js +11 -56
- package/dist/index25.js +7 -7
- package/dist/index250.js +18 -2
- package/dist/index251.js +126 -2
- package/dist/index252.js +105 -17
- package/dist/index254.js +47 -53
- package/dist/index256.js +12 -100
- package/dist/index257.js +216 -0
- package/dist/index258.js +368 -11
- package/dist/index259.js +2 -214
- package/dist/index260.js +2 -369
- package/dist/index265.js +3 -3
- package/dist/index268.js +4 -28
- package/dist/index269.js +3 -4
- package/dist/index27.js +1 -1
- package/dist/index270.js +17 -3
- package/dist/index271.js +7 -15
- package/dist/index272.js +27 -8
- package/dist/index281.js +1 -1
- package/dist/index283.js +1 -1
- package/dist/index284.js +1 -1
- package/dist/index287.js +2 -2
- package/dist/index29.js +3 -3
- package/dist/index290.js +200 -2
- package/dist/index291.js +2 -89
- package/dist/index292.js +2 -200
- package/dist/index293.js +2 -2
- package/dist/index294.js +2 -2
- package/dist/index295.js +1 -1
- package/dist/index297.js +21 -1
- package/dist/index299.js +1 -21
- package/dist/index300.js +91 -0
- package/dist/index303.js +1 -1
- package/dist/index304.js +1 -1
- package/dist/index305.js +1 -1
- package/dist/index308.js +2 -3
- package/dist/index309.js +67 -3
- package/dist/index31.js +2 -2
- package/dist/index310.js +5 -58
- package/dist/index311.js +5 -67
- package/dist/index312.js +8 -5
- package/dist/index313.js +3 -2
- package/dist/index314.js +3 -5
- package/dist/index315.js +57 -7
- package/dist/index316.js +3 -32
- package/dist/index317.js +52 -25
- package/dist/index318.js +52 -479
- package/dist/index319.js +479 -52
- package/dist/index320.js +32 -52
- package/dist/index321.js +25 -3
- package/dist/index322.js +6 -6
- package/dist/index323.js +18 -6
- package/dist/index324.js +5 -17
- package/dist/index326.js +1 -1
- package/dist/index33.js +8 -8
- package/dist/index35.js +4 -4
- package/dist/index37.js +22 -22
- package/dist/index39.js +5 -5
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +8 -8
- package/dist/index47.js +2 -2
- package/dist/index49.js +2 -2
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index61.js +45 -38
- package/dist/index75.js +1 -1
- package/dist/index77.js +81 -77
- package/dist/index81.js +1 -1
- package/dist/index84.js +4 -4
- package/dist/index86.js +1 -1
- package/dist/index88.js +5 -5
- package/dist/index90.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index211.js +0 -4
- package/dist/index232.js +0 -92
- package/dist/index253.js +0 -128
- package/dist/index298.js +0 -4
package/dist/index324.js
CHANGED
@@ -1,21 +1,9 @@
|
|
1
|
-
function l(
|
2
|
-
|
3
|
-
|
4
|
-
|
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
|
8
|
+
l as range
|
21
9
|
};
|
package/dist/index326.js
CHANGED
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 "./
|
4
|
+
import j from "./index210.js";
|
5
5
|
/* empty css */
|
6
|
-
import { useItemsGetter as A } from "./
|
7
|
-
import { usePrefill as K } from "./
|
8
|
-
import { useIndexById as k } from "./
|
9
|
-
import { useBaseOptions as N } from "./
|
10
|
-
import { useCoherence as O } from "./
|
11
|
-
import { hash as U } from "./
|
12
|
-
import { useHashedWatcher as T } from "./
|
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 "./
|
3
|
-
import { identity as $ } from "./
|
4
|
-
import { isCssColor as k } from "./
|
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 "./
|
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 "./
|
9
|
-
import { matchAnyKey as ae } from "./
|
10
|
-
import { useFloating as lt } from "./
|
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 "./
|
14
|
-
import nt from "./
|
13
|
+
import { when as ot } from "./index208.js";
|
14
|
+
import nt from "./index252.js";
|
15
15
|
/* empty css */
|
16
|
-
import it from "./
|
16
|
+
import it from "./index254.js";
|
17
17
|
/* empty css */
|
18
|
-
import rt from "./
|
18
|
+
import rt from "./index233.js";
|
19
19
|
/* empty css */
|
20
|
-
import ut from "./
|
21
|
-
import { waitFor as st } from "./
|
22
|
-
import dt from "./
|
23
|
-
import { useItemsGetter as ct } from "./
|
24
|
-
import { usePrefill as pt } from "./
|
25
|
-
import { useArray as mt } from "./
|
26
|
-
import { useBaseOptions as ft } from "./
|
27
|
-
import { useIndexById as oe } from "./
|
28
|
-
import { useCoherence as vt } from "./
|
29
|
-
import { hash as yt } from "./
|
30
|
-
import { useHashedWatcher as ne } from "./
|
31
|
-
import { useLocale as ht } from "./
|
32
|
-
import { isEmpty as bt } from "./
|
33
|
-
import gt from "./
|
34
|
-
import { autoUpdate as wt, flip as Bt, offset as Vt, shift as It } from "./
|
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 "./
|
3
|
-
import { head as O } from "./
|
4
|
-
import { isCssColor as Y } from "./
|
5
|
-
import { isNil as P } from "./
|
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 "./
|
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 "./
|
3
|
-
import { when as N } from "./
|
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 "./
|
4
|
+
import N from "./index210.js";
|
5
5
|
/* empty css */
|
6
|
-
import { useItemsGetter as U } from "./
|
7
|
-
import { useIndexById as T } from "./
|
8
|
-
import { useBaseOptions as q } from "./
|
9
|
-
import { useCoherence as J } from "./
|
10
|
-
import { hash as Q } from "./
|
11
|
-
import { useHashedWatcher as E } from "./
|
12
|
-
import { usePrefill as X } from "./
|
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 "./
|
7
|
-
import { useBaseOptions as ne } from "./
|
8
|
-
import { useIndexById as re } from "./
|
9
|
-
import ie from "./
|
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 "./
|
11
|
+
import ue from "./index254.js";
|
12
12
|
/* empty css */
|
13
|
-
import se from "./
|
13
|
+
import se from "./index233.js";
|
14
14
|
/* empty css */
|
15
|
-
import de from "./
|
16
|
-
import { isEmpty as pe } from "./
|
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 "./
|
3
|
-
import G from "./
|
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 "./
|
2
|
+
import $ from "./index233.js";
|
3
3
|
/* empty css */
|
4
|
-
import k from "./
|
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
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 "./
|
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 "./
|
3
|
-
import { isNil as B } from "./
|
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
|
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
|
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
|
11
|
-
import { noop as
|
12
|
-
import { useLocale as
|
13
|
-
const
|
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
|
-
},
|
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(
|
54
|
-
const e =
|
55
|
-
() => e.loading || !!
|
56
|
-
),
|
57
|
-
if (o.stopImmediatePropagation(),
|
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
|
-
|
62
|
-
},
|
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,
|
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
|
-
|
78
|
+
"prepend:icon",
|
79
|
+
"size"
|
80
|
+
].includes(n)
|
74
81
|
)
|
75
82
|
}));
|
76
|
-
return (o,
|
77
|
-
"aria-disabled":
|
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":
|
87
|
+
"bb-button--loading": t.value,
|
81
88
|
"bb-button--group": e.group,
|
82
89
|
"bb-button--icon": !!o.icon
|
83
90
|
},
|
84
|
-
disabled:
|
85
|
-
tabindex:
|
86
|
-
onClick:
|
91
|
+
disabled: f.value,
|
92
|
+
tabindex: t.value ? -1 : void 0,
|
93
|
+
onClick: g
|
87
94
|
}), {
|
88
|
-
default:
|
89
|
-
|
90
|
-
e.icon ? (
|
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"] ? (
|
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"])) :
|
99
|
-
|
100
|
-
class:
|
105
|
+
}, null, 8, ["type"])) : s("", !0),
|
106
|
+
x("span", {
|
107
|
+
class: V(["bb-button__content", { "sr-only": !!o.icon }])
|
101
108
|
}, [
|
102
|
-
|
103
|
-
F(
|
109
|
+
A(o.$slots, "default", {}, () => [
|
110
|
+
F(u(o.text), 1)
|
104
111
|
])
|
105
112
|
], 2),
|
106
|
-
|
107
|
-
!o.icon && e["append:icon"] ? (
|
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"])) :
|
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
|
-
|
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 "./
|
9
|
+
import se from "./index231.js";
|
10
10
|
/* empty css */
|
11
11
|
import V from "./index127.js";
|
12
12
|
/* empty css */
|