bitboss-ui 2.1.24 → 2.1.25
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/index.css +1 -1
- package/dist/index106.js +9 -9
- package/dist/index113.js +1 -1
- package/dist/index121.js +11 -11
- package/dist/index13.js +1 -1
- package/dist/index131.js +3 -3
- package/dist/index15.js +8 -8
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index209.js +34 -2
- package/dist/index21.js +16 -16
- package/dist/index210.js +86 -2
- package/dist/index212.js +29 -13
- package/dist/index213.js +17 -4
- package/dist/index214.js +50 -10
- package/dist/index215.js +14 -19
- package/dist/index216.js +3 -197
- package/dist/index217.js +14 -0
- package/dist/index218.js +16 -69
- package/dist/index219.js +7 -0
- package/dist/index220.js +5 -13
- package/dist/index221.js +5 -114
- package/dist/index222.js +7 -0
- package/dist/index223.js +5 -4
- package/dist/index224.js +5 -13
- package/dist/index225.js +2 -2
- package/dist/index226.js +2 -2
- package/dist/index227.js +2 -7
- package/dist/index228.js +13 -2
- package/dist/index229.js +11 -7
- package/dist/index23.js +15 -15
- package/dist/index230.js +19 -85
- package/dist/index231.js +71 -0
- package/dist/index233.js +13 -16
- package/dist/index234.js +114 -17
- package/dist/index236.js +12 -14
- package/dist/index237.js +18 -3
- package/dist/index238.js +11 -11
- package/dist/index239.js +6 -5
- package/dist/index240.js +4 -5
- package/dist/index241.js +106 -5
- package/dist/index243.js +100 -5
- package/dist/index245.js +229 -5
- package/dist/index246.js +3 -8
- package/dist/index247.js +2 -250
- package/dist/index248.js +2 -52
- package/dist/index249.js +4 -44
- package/dist/index25.js +44 -42
- package/dist/index250.js +197 -5
- package/dist/index252.js +5 -2
- package/dist/index253.js +5 -18
- package/dist/index254.js +8 -12
- package/dist/index255.js +249 -5
- package/dist/index256.js +46 -100
- package/dist/index257.js +46 -0
- package/dist/index258.js +5 -100
- package/dist/{index251.js → index259.js} +1 -1
- package/dist/index260.js +180 -226
- package/dist/index261.js +2 -34
- package/dist/index262.js +2 -5
- package/dist/index263.js +7 -3
- package/dist/index264.js +7 -10
- package/dist/index265.js +6 -3
- package/dist/index266.js +15 -182
- package/dist/index267.js +10 -6
- package/dist/index268.js +3 -16
- package/dist/index269.js +8 -8
- package/dist/index27.js +1 -1
- package/dist/index270.js +8 -23
- package/dist/index273.js +9 -2
- package/dist/index274.js +23 -9
- package/dist/index275.js +2 -8
- package/dist/index277.js +1 -1
- package/dist/index278.js +1 -1
- package/dist/index279.js +1 -1
- package/dist/index280.js +2 -7
- package/dist/index281.js +3 -11
- package/dist/index282.js +17 -3
- package/dist/index283.js +28 -3
- package/dist/index284.js +282 -0
- package/dist/index285.js +2 -7
- package/dist/index286.js +125 -3
- package/dist/index287.js +2 -4
- package/dist/index288.js +14 -3
- package/dist/index289.js +2 -3
- package/dist/index29.js +3 -3
- package/dist/index290.js +16 -17
- package/dist/index291.js +2 -28
- package/dist/index292.js +13 -277
- package/dist/index293.js +2 -2
- package/dist/index294.js +15 -12
- package/dist/index296.js +3 -16
- package/dist/index298.js +7 -19
- package/dist/index299.js +3 -2
- package/dist/index300.js +7 -15
- package/dist/index301.js +11 -2
- package/dist/index302.js +3 -18
- package/dist/index303.js +6 -2
- package/dist/index304.js +3 -27
- package/dist/index305.js +3 -2
- package/dist/index306.js +1 -1
- package/dist/index307.js +4 -2
- package/dist/index308.js +5 -2
- package/dist/index309.js +3 -2
- package/dist/index31.js +2 -2
- package/dist/index310.js +19 -22
- package/dist/index312.js +27 -2
- package/dist/index313.js +2 -6
- package/dist/index314.js +2 -3
- package/dist/index315.js +2 -3
- package/dist/index316.js +1 -1
- package/dist/index317.js +2 -125
- package/dist/index318.js +22 -2
- package/dist/index323.js +1 -1
- package/dist/index324.js +2 -8
- package/dist/index325.js +128 -5
- package/dist/index326.js +367 -6
- package/dist/index327.js +58 -2
- package/dist/index328.js +58 -47
- package/dist/index329.js +227 -57
- package/dist/index33.js +8 -8
- package/dist/index330.js +32 -57
- package/dist/index331.js +28 -7
- package/dist/index333.js +44 -126
- package/dist/index334.js +6 -368
- package/dist/index335.js +17 -5
- package/dist/index336.js +6 -32
- package/dist/index337.js +8 -28
- package/dist/index338.js +8 -0
- package/dist/index339.js +8 -228
- package/dist/index340.js +1 -1
- package/dist/index342.js +3 -129
- package/dist/index343.js +126 -47
- package/dist/{index341.js → index346.js} +1 -1
- package/dist/index347.js +50 -3
- package/dist/index35.js +4 -4
- package/dist/index37.js +20 -20
- package/dist/index39.js +6 -6
- 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 +3 -3
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index61.js +3 -3
- package/dist/index67.js +1 -1
- package/dist/index79.js +4 -4
- package/dist/index81.js +1 -1
- package/dist/index83.js +2 -2
- package/dist/index85.js +1 -1
- package/dist/index90.js +53 -51
- package/dist/index92.js +1 -1
- package/dist/index94.js +3 -3
- package/package.json +1 -1
- package/dist/index211.js +0 -4
- package/dist/index232.js +0 -31
- package/dist/index235.js +0 -53
- package/dist/index242.js +0 -7
- package/dist/index244.js +0 -7
- package/dist/index319.js +0 -7
- package/dist/index332.js +0 -21
- /package/dist/{index297.js → index311.js} +0 -0
package/dist/index39.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as re, ref as d, computed as p, onMounted as te, watch as le, createElementBlock as y, openBlock as g, mergeProps as N, renderSlot as v, createElementVNode as m, createCommentVNode as H, Fragment as oe, renderList as ne, normalizeProps as se, guardReactiveProps as ie, unref as c, normalizeStyle as G, normalizeClass as O } from "vue";
|
2
|
-
import { head as ue } from "./
|
3
|
-
import { isCssColor as Y } from "./
|
4
|
-
import { isNil as S } from "./
|
2
|
+
import { head as ue } from "./index261.js";
|
3
|
+
import { isCssColor as Y } from "./index248.js";
|
4
|
+
import { isNil as S } from "./index262.js";
|
5
5
|
import { getAsPercentageBetween as x, getAsPercentage as de, getValueFromPercentageInInterval as T } from "./index136.js";
|
6
|
-
import { snapToStep as me } from "./
|
7
|
-
import { last as ce } from "./
|
8
|
-
import { transpose as j } from "./
|
6
|
+
import { snapToStep as me } from "./index263.js";
|
7
|
+
import { last as ce } from "./index227.js";
|
8
|
+
import { transpose as j } from "./index264.js";
|
9
9
|
import { clamp as f } from "./index208.js";
|
10
10
|
const be = { class: "bb-base-slider__slider-container" }, ve = {
|
11
11
|
key: 0,
|
package/dist/index41.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as I, ref as f, computed as n, watch as S, createElementBlock as h, openBlock as y, normalizeProps as r, guardReactiveProps as d, createCommentVNode as A, createElementVNode as l, mergeProps as V, renderSlot as F } from "vue";
|
2
|
-
import { isCssColor as b } from "./
|
3
|
-
import { when as N } from "./
|
2
|
+
import { isCssColor as b } from "./index248.js";
|
3
|
+
import { when as N } from "./index240.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 "./
|
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 $ } 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 $ } 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 "./index111.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 "./index227.js";
|
7
|
+
import { useBaseOptions as ne } from "./index214.js";
|
8
|
+
import { useIndexById as re } from "./index213.js";
|
9
|
+
import ie from "./index241.js";
|
10
10
|
/* empty css */
|
11
|
-
import ue from "./
|
11
|
+
import ue from "./index243.js";
|
12
12
|
/* empty css */
|
13
|
-
import se from "./
|
13
|
+
import se from "./index231.js";
|
14
14
|
/* empty css */
|
15
|
-
import de from "./
|
16
|
-
import { isEmpty as pe } from "./
|
15
|
+
import de from "./index233.js";
|
16
|
+
import { isEmpty as pe } from "./index226.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 "./
|
3
|
-
import G from "./
|
2
|
+
import E from "./index233.js";
|
3
|
+
import G from "./index231.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 "./
|
2
|
+
import E from "./index231.js";
|
3
3
|
/* empty css */
|
4
|
-
import I from "./
|
4
|
+
import I from "./index233.js";
|
5
5
|
import { isNotNil as N } from "./index140.js";
|
6
|
-
import { MaskInput as z } from "./
|
6
|
+
import { MaskInput as z } from "./index260.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
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 "./
|
2
|
+
import { isCssColor as y } from "./index248.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 "./
|
3
|
-
import { isNil as B } from "./
|
2
|
+
import { isCssColor as l } from "./index248.js";
|
3
|
+
import { isNil as B } from "./index262.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 "./
|
11
|
-
import { noop as w } from "./
|
12
|
-
import { useLocale as D } from "./
|
10
|
+
import { pickBy as W } from "./index267.js";
|
11
|
+
import { noop as w } from "./index268.js";
|
12
|
+
import { useLocale as D } from "./index228.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 "./
|
2
|
+
import { useLocale as f } from "./index228.js";
|
3
3
|
const h = { class: "bb-chip" }, L = { class: "bb-chip__content" }, k = ["aria-label"], B = /* @__PURE__ */ i({
|
4
4
|
__name: "BbChip",
|
5
5
|
props: {
|
package/dist/index79.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import { defineComponent as N, computed as R, ref as E, watch as W, createBlock as h, openBlock as k, unref as f, normalizeClass as G, withCtx as D, createElementVNode as I, normalizeStyle as J, renderSlot as m, createElementBlock as q, Fragment as F, renderList as Q, createVNode as X, mergeProps as Y, createCommentVNode as A, toDisplayString as Z, normalizeProps as x, guardReactiveProps as ee } from "vue";
|
2
|
-
import { findRightIndex as T } from "./
|
2
|
+
import { findRightIndex as T } from "./index273.js";
|
3
3
|
import { useId as te } from "./index8.js";
|
4
|
-
import { useUntil as ne } from "./
|
4
|
+
import { useUntil as ne } from "./index229.js";
|
5
5
|
import { wait as oe } from "./index135.js";
|
6
6
|
import ae from "./index13.js";
|
7
7
|
/* empty css */
|
8
8
|
import B from "./index85.js";
|
9
9
|
/* empty css */
|
10
|
-
import le from "./
|
10
|
+
import le from "./index234.js";
|
11
11
|
/* empty css */
|
12
|
-
import K from "./
|
12
|
+
import K from "./index274.js";
|
13
13
|
const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" }, Ee = /* @__PURE__ */ N({
|
14
14
|
__name: "BbDropdown",
|
15
15
|
props: {
|
package/dist/index81.js
CHANGED
@@ -9,7 +9,7 @@ import z from "./index85.js";
|
|
9
9
|
/* empty css */
|
10
10
|
import I from "./index113.js";
|
11
11
|
/* empty css */
|
12
|
-
import { useLocale as M } from "./
|
12
|
+
import { useLocale as M } from "./index228.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 "./
|
2
|
+
import { findInTree as ae } from "./index266.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("./
|
56
|
+
b || (b = (await import("./index265.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 "./
|
2
|
+
import { isCssColor as I } from "./index248.js";
|
3
3
|
const B = ["innerHTML"], k = /* @__PURE__ */ v({
|
4
4
|
__name: "BbIcon",
|
5
5
|
props: {
|
package/dist/index90.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
import { defineComponent as O, mergeModels as E, useModel as P, computed as
|
2
|
-
import { parseSize as J } from "./
|
1
|
+
import { defineComponent as O, mergeModels as E, useModel as P, computed as v, ref as T, watch as q, onMounted as A, createElementBlock as d, openBlock as c, withModifiers as H, normalizeStyle as K, normalizeClass as R, unref as p, createCommentVNode as y, Fragment as U, createElementVNode as t, renderSlot as l, createTextVNode as j, toDisplayString as z, nextTick as G } from "vue";
|
2
|
+
import { parseSize as J } from "./index236.js";
|
3
3
|
import { useId as D } from "./index8.js";
|
4
|
-
import { useLocale as Q } from "./
|
4
|
+
import { useLocale as Q } from "./index228.js";
|
5
5
|
import { useMobile as X } from "./index9.js";
|
6
|
-
import { useUntil as Y } from "./
|
6
|
+
import { useUntil as Y } from "./index229.js";
|
7
7
|
import { wait as h } from "./index135.js";
|
8
8
|
const Z = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], x = {
|
9
9
|
ref: "header",
|
@@ -11,10 +11,10 @@ const Z = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], x = {
|
|
11
11
|
}, ee = { class: "bb-offcanvas__close" }, oe = ["aria-label", "disabled"], te = {
|
12
12
|
ref: "body",
|
13
13
|
class: "bb-offcanvas__body scrollbar-border"
|
14
|
-
}, le = {
|
14
|
+
}, se = { class: "bb-offcanvas__body-content" }, le = {
|
15
15
|
ref: "footer",
|
16
16
|
class: "bb-offcanvas__footer"
|
17
|
-
},
|
17
|
+
}, fe = /* @__PURE__ */ O({
|
18
18
|
__name: "BbOffCanvas",
|
19
19
|
props: /* @__PURE__ */ E({
|
20
20
|
closeLabel: {},
|
@@ -38,33 +38,33 @@ const Z = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], x = {
|
|
38
38
|
}),
|
39
39
|
emits: /* @__PURE__ */ E(["shown", "hidden"], ["update:modelValue"]),
|
40
40
|
setup(g, { emit: S }) {
|
41
|
-
const o = g, w = S,
|
41
|
+
const o = g, w = S, s = P(g, "modelValue"), { t: V } = Q(), I = v(
|
42
42
|
() => o.closeLabel || V("dialog.closeLabel").value
|
43
43
|
), i = T(null), u = Y(
|
44
|
-
() =>
|
44
|
+
() => s.value || o.eager,
|
45
45
|
{
|
46
|
-
initialValue:
|
46
|
+
initialValue: s.value || o.eager
|
47
47
|
}
|
48
|
-
), f = `title_${D().id.value}`,
|
48
|
+
), f = `title_${D().id.value}`, b = `description_${D().id.value}`, _ = (e) => {
|
49
49
|
if (e.key === "Escape" && (o.disabled || o.persistent))
|
50
50
|
return e.preventDefault(), a.value = !0, h(200).then(() => {
|
51
51
|
a.value = !1;
|
52
52
|
}), !1;
|
53
|
-
},
|
53
|
+
}, C = async (e) => {
|
54
54
|
var n, B, L, M;
|
55
55
|
e ? ((n = window.globalThis) != null && n.document && !document.documentElement.style.getPropertyValue("--scrollbar-width") && (document.documentElement.style.setProperty(
|
56
56
|
"--scrollbar-width",
|
57
57
|
`${W()}px`
|
58
|
-
), document.addEventListener("keydown",
|
58
|
+
), document.addEventListener("keydown", _)), (B = i.value) == null || B.showModal(), o.focusTarget && G(() => {
|
59
59
|
var $;
|
60
|
-
const
|
61
|
-
|
62
|
-
}), w("shown")) : (await h(o.transitionDuration), (L = window.globalThis) != null && L.document && document.removeEventListener("keydown",
|
60
|
+
const m = ($ = i.value) == null ? void 0 : $.querySelector(o.focusTarget);
|
61
|
+
m && m instanceof HTMLElement && m.focus();
|
62
|
+
}), w("shown")) : (await h(o.transitionDuration), (L = window.globalThis) != null && L.document && document.removeEventListener("keydown", _), (M = i.value) == null || M.close(), w("hidden"));
|
63
63
|
};
|
64
|
-
q(
|
65
|
-
|
64
|
+
q(s, C), A(() => {
|
65
|
+
s.value && C(!0);
|
66
66
|
});
|
67
|
-
const N =
|
67
|
+
const N = v(() => k.value ? "100%" : o.size === "auto" ? "fit-content" : J(o.size, {
|
68
68
|
sm: 384,
|
69
69
|
md: 652,
|
70
70
|
lg: 896
|
@@ -73,22 +73,22 @@ const Z = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], x = {
|
|
73
73
|
return a.value = !0, h(300).then(() => {
|
74
74
|
a.value = !1;
|
75
75
|
}), !1;
|
76
|
-
|
77
|
-
}, a = T(!1), W = () => globalThis.document ? window.innerWidth - document.documentElement.clientWidth : 0, { isMobile: F } = X(),
|
76
|
+
s.value = !1;
|
77
|
+
}, a = T(!1), W = () => globalThis.document ? window.innerWidth - document.documentElement.clientWidth : 0, { isMobile: F } = X(), k = v(
|
78
78
|
() => o.fullscreen === !0 || o.fullscreen === "mobile" && F.value
|
79
79
|
);
|
80
80
|
return (e, n) => (c(), d("dialog", {
|
81
81
|
ref_key: "dialog",
|
82
82
|
ref: i,
|
83
|
-
"aria-describedby":
|
84
|
-
"aria-labelledby":
|
85
|
-
"aria-live":
|
83
|
+
"aria-describedby": p(u) && e.description ? b : void 0,
|
84
|
+
"aria-labelledby": p(u) && e.title ? f : void 0,
|
85
|
+
"aria-live": s.value ? "polite" : "off",
|
86
86
|
class: R([
|
87
87
|
"bb-offcanvas",
|
88
88
|
[
|
89
89
|
{
|
90
|
-
"bb-offcanvas--open":
|
91
|
-
"bb-offcanvas--fullscreen":
|
90
|
+
"bb-offcanvas--open": s.value,
|
91
|
+
"bb-offcanvas--fullscreen": k.value,
|
92
92
|
"bb-offcanvas--compact": e.compact,
|
93
93
|
"bb-offcanvas--deny-close": a.value,
|
94
94
|
[`bb-offcanvas--${o.direction}`]: !0
|
@@ -97,7 +97,7 @@ const Z = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], x = {
|
|
97
97
|
e.panelClasses
|
98
98
|
].flat()
|
99
99
|
]),
|
100
|
-
inert: !
|
100
|
+
inert: !s.value,
|
101
101
|
style: K({
|
102
102
|
"--max-size": N.value,
|
103
103
|
"--transition-duration": `${o.transitionDuration}ms`
|
@@ -105,22 +105,22 @@ const Z = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], x = {
|
|
105
105
|
onCancel: r,
|
106
106
|
onClick: H(r, ["self"])
|
107
107
|
}, [
|
108
|
-
|
109
|
-
|
110
|
-
|
108
|
+
p(u) ? (c(), d(U, { key: 0 }, [
|
109
|
+
t("div", x, [
|
110
|
+
l(e.$slots, "header", {
|
111
111
|
close: r,
|
112
112
|
title: e.title,
|
113
113
|
titleId: f
|
114
114
|
}, () => [
|
115
|
-
|
115
|
+
t("span", {
|
116
116
|
id: f,
|
117
117
|
class: "bb-offcanvas__title"
|
118
118
|
}, [
|
119
|
-
|
119
|
+
l(e.$slots, "title", { text: e.title }, () => [
|
120
120
|
j(z(e.title), 1)
|
121
121
|
])
|
122
122
|
]),
|
123
|
-
|
123
|
+
t("span", ee, [
|
124
124
|
e.showClose ? (c(), d("button", {
|
125
125
|
key: 0,
|
126
126
|
"aria-label": I.value,
|
@@ -128,15 +128,15 @@ const Z = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], x = {
|
|
128
128
|
type: "button",
|
129
129
|
onClick: r
|
130
130
|
}, [
|
131
|
-
|
132
|
-
n[0] || (n[0] =
|
133
|
-
|
131
|
+
l(e.$slots, "close", {}, () => [
|
132
|
+
n[0] || (n[0] = t("span", { class: "bb-offcanvas__close-icon" }, [
|
133
|
+
t("svg", {
|
134
134
|
"aria-hidden": "true",
|
135
135
|
fill: "none",
|
136
136
|
viewBox: "0 0 24 24",
|
137
137
|
xmlns: "http://www.w3.org/2000/svg"
|
138
138
|
}, [
|
139
|
-
|
139
|
+
t("path", {
|
140
140
|
d: "M23 23L1 1M23 1L1 23",
|
141
141
|
stroke: "currentColor",
|
142
142
|
"stroke-linecap": "round",
|
@@ -149,26 +149,28 @@ const Z = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], x = {
|
|
149
149
|
])
|
150
150
|
])
|
151
151
|
], 512),
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
152
|
+
t("div", te, [
|
153
|
+
t("div", se, [
|
154
|
+
l(e.$slots, "description", {
|
155
|
+
descriptionId: b,
|
156
|
+
text: e.description
|
157
|
+
}, () => [
|
158
|
+
e.description ? (c(), d("div", {
|
159
|
+
key: 0,
|
160
|
+
id: b,
|
161
|
+
class: "bb-offcanvas__description sr-only"
|
162
|
+
}, z(e.description), 1)) : y("", !0)
|
163
|
+
]),
|
164
|
+
l(e.$slots, "default")
|
165
|
+
])
|
164
166
|
], 512),
|
165
|
-
|
166
|
-
|
167
|
+
t("div", le, [
|
168
|
+
l(e.$slots, "footer")
|
167
169
|
], 512)
|
168
170
|
], 64)) : y("", !0)
|
169
171
|
], 46, Z));
|
170
172
|
}
|
171
173
|
});
|
172
174
|
export {
|
173
|
-
|
175
|
+
fe as default
|
174
176
|
};
|
package/dist/index92.js
CHANGED
@@ -4,7 +4,7 @@ import { defineComponent as V, mergeModels as W, useModel as U, computed as d, r
|
|
4
4
|
import P from "./index13.js";
|
5
5
|
/* empty css */
|
6
6
|
import { debounce as X } from "./index272.js";
|
7
|
-
import { useLocale as H } from "./
|
7
|
+
import { useLocale as H } from "./index228.js";
|
8
8
|
import { useRoute as J } from "./index142.js";
|
9
9
|
const K = ["aria-label"], Q = { class: "bb-pagination__page-label sr-only" }, Y = { class: "bb-pagination__page-label" }, Z = { class: "bb-pagination__page-label" }, ee = { class: "bb-pagination__page-label sr-only" }, ue = /* @__PURE__ */ V({
|
10
10
|
__name: "BbPagination",
|
package/dist/index94.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as V, ref as m, computed as g, createBlock as k, openBlock as y, unref as l, normalizeClass as D, withCtx as v, createElementVNode as d, createCommentVNode as M, renderSlot as C, toDisplayString as z, normalizeProps as I, guardReactiveProps as O, nextTick as S } from "vue";
|
2
2
|
import { useId as H } from "./index8.js";
|
3
3
|
import { useIntersectionObserver as N } from "./index137.js";
|
4
|
-
import { useLocale as U } from "./
|
5
|
-
import { useUntil as W } from "./
|
4
|
+
import { useLocale as U } from "./index228.js";
|
5
|
+
import { useUntil as W } from "./index229.js";
|
6
6
|
import q from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import A from "./
|
8
|
+
import A from "./index234.js";
|
9
9
|
/* empty css */
|
10
10
|
const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @__PURE__ */ V({
|
11
11
|
__name: "BbPopover",
|
package/package.json
CHANGED
package/dist/index211.js
DELETED
package/dist/index232.js
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
import { ref as a, computed as s, unref as v } from "vue";
|
2
|
-
import { useDebounceFn as f } from "./index206.js";
|
3
|
-
const p = (u) => {
|
4
|
-
const e = a(0), r = s(() => v(u.items)), t = a([]), n = async (...l) => {
|
5
|
-
if (Array.isArray(r.value))
|
6
|
-
t.value = r.value;
|
7
|
-
else if (typeof r.value == "function") {
|
8
|
-
const i = ++e.value;
|
9
|
-
try {
|
10
|
-
const o = await r.value(...l);
|
11
|
-
if (i < e.value) {
|
12
|
-
e.value--;
|
13
|
-
return;
|
14
|
-
} else
|
15
|
-
t.value = o;
|
16
|
-
} catch (o) {
|
17
|
-
console.error(o);
|
18
|
-
}
|
19
|
-
e.value--;
|
20
|
-
}
|
21
|
-
}, c = f(n, u.debounce || 0);
|
22
|
-
return {
|
23
|
-
getter: n,
|
24
|
-
debouncedGetter: c,
|
25
|
-
items: t,
|
26
|
-
loading: s(() => !!e.value)
|
27
|
-
};
|
28
|
-
};
|
29
|
-
export {
|
30
|
-
p as useItemsGetter
|
31
|
-
};
|
package/dist/index235.js
DELETED
@@ -1,53 +0,0 @@
|
|
1
|
-
import { computed as l, unref as o } from "vue";
|
2
|
-
import { useItemText as x } from "./index290.js";
|
3
|
-
import { useItemValue as w } from "./index274.js";
|
4
|
-
import { hash as y } from "./index237.js";
|
5
|
-
import { useLogger as D } from "./index246.js";
|
6
|
-
const { getItemText: O } = x(), { getItemValue: V } = w(), { warn: H } = D(), T = (u, c, m, a, d, r) => r ? !1 : !!(c || u.disabled || a && d >= a), q = ({
|
7
|
-
items: u,
|
8
|
-
disabled: c,
|
9
|
-
selectable: m,
|
10
|
-
itemText: a,
|
11
|
-
itemValue: d,
|
12
|
-
selectedIndexedByHash: r,
|
13
|
-
max: b = 1 / 0
|
14
|
-
}) => {
|
15
|
-
const v = l(() => o(c)), p = l(() => o(u)), h = l(
|
16
|
-
() => Object.keys(r.value).length
|
17
|
-
), g = o(b), f = (e) => {
|
18
|
-
const n = V(e, o(d)), t = y(n), i = O(e, o(a)), s = r.value[t] !== void 0, I = T(
|
19
|
-
e,
|
20
|
-
v.value,
|
21
|
-
m,
|
22
|
-
g,
|
23
|
-
h.value,
|
24
|
-
s
|
25
|
-
);
|
26
|
-
return {
|
27
|
-
item: e,
|
28
|
-
text: i,
|
29
|
-
value: n,
|
30
|
-
valueHash: t,
|
31
|
-
selected: s,
|
32
|
-
disabled: o(I)
|
33
|
-
};
|
34
|
-
};
|
35
|
-
return {
|
36
|
-
options: l(() => {
|
37
|
-
const e = [], n = /* @__PURE__ */ new Set();
|
38
|
-
for (let t = 0; t < p.value.length; t++) {
|
39
|
-
const i = p.value[t];
|
40
|
-
i.disabled && H(
|
41
|
-
"Disabling an item by passing a disabled option to the item itself is deprecated and will be removed in a future version. Use the `disabled` prop or the `selectable` iteratee prop instead."
|
42
|
-
);
|
43
|
-
const s = f(i);
|
44
|
-
n.has(s.valueHash) || (n.add(s.valueHash), e.push(s));
|
45
|
-
}
|
46
|
-
return e;
|
47
|
-
}),
|
48
|
-
createOption: f
|
49
|
-
};
|
50
|
-
};
|
51
|
-
export {
|
52
|
-
q as useBaseOptions
|
53
|
-
};
|
package/dist/index242.js
DELETED
package/dist/index244.js
DELETED
package/dist/index319.js
DELETED
package/dist/index332.js
DELETED
@@ -1,21 +0,0 @@
|
|
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
|
-
}
|
16
|
-
return t;
|
17
|
-
}
|
18
|
-
const r = (t, e) => t < e ? -1 : t > e ? 1 : 0;
|
19
|
-
export {
|
20
|
-
l as sort
|
21
|
-
};
|
File without changes
|