bitboss-ui 2.1.34 → 2.1.36
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/BbRating/BbRating.vue.d.ts +8 -0
- package/dist/index.css +1 -1
- package/dist/index102.js +7 -5
- package/dist/index106.js +7 -7
- package/dist/index111.js +1 -1
- package/dist/index113.js +1 -1
- package/dist/index119.js +17 -17
- package/dist/index121.js +11 -11
- package/dist/index129.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index131.js +6 -6
- package/dist/index135.js +2 -2
- package/dist/index139.js +1 -1
- package/dist/index140.js +2 -2
- package/dist/index141.js +1 -1
- package/dist/index15.js +3 -3
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index21.js +16 -16
- package/dist/index212.js +2 -138
- package/dist/index213.js +138 -2
- package/dist/index214.js +2 -2
- package/dist/index215.js +2 -86
- package/dist/index216.js +7 -0
- package/dist/index217.js +5 -29
- package/dist/index218.js +5 -17
- package/dist/index219.js +5 -51
- package/dist/index220.js +5 -15
- package/dist/index221.js +5 -3
- package/dist/index222.js +5 -12
- package/dist/index223.js +3 -16
- package/dist/index224.js +2 -2
- package/dist/index225.js +8 -2
- package/dist/index226.js +250 -2
- package/dist/index227.js +46 -100
- package/dist/index228.js +46 -0
- package/dist/index229.js +5 -100
- package/dist/index23.js +12 -12
- package/dist/index230.js +62 -0
- package/dist/index231.js +13 -2
- package/dist/index232.js +183 -4
- package/dist/index233.js +3 -5
- package/dist/index234.js +34 -5
- package/dist/index235.js +4 -5
- package/dist/index236.js +2 -5
- package/dist/index237.js +2 -5
- package/dist/index238.js +2 -5
- package/dist/index239.js +2 -2
- package/dist/index240.js +7 -13
- package/dist/index241.js +7 -20
- package/dist/index242.js +7 -121
- package/dist/index243.js +7 -0
- package/dist/index244.js +2 -18
- package/dist/index245.js +19 -11
- package/dist/index246.js +115 -223
- package/dist/index249.js +4 -4
- package/dist/index25.js +2 -2
- package/dist/index251.js +86 -7
- package/dist/index253.js +29 -2
- package/dist/index254.js +15 -181
- package/dist/index255.js +51 -3
- package/dist/index256.js +15 -2
- package/dist/index257.js +11 -6
- package/dist/index258.js +16 -7
- package/dist/index260.js +13 -5
- package/dist/index261.js +106 -5
- package/dist/index263.js +95 -245
- package/dist/index265.js +16 -42
- package/dist/index266.js +12 -5
- package/dist/index267.js +223 -54
- package/dist/index268.js +10 -6
- package/dist/index269.js +3 -16
- package/dist/index27.js +1 -1
- package/dist/index270.js +9 -9
- package/dist/index271.js +23 -4
- package/dist/index272.js +3 -22
- package/dist/index273.js +22 -8
- package/dist/index274.js +3 -23
- package/dist/index275.js +6 -10
- package/dist/index276.js +16 -3
- package/dist/index277.js +9 -3
- package/dist/index278.js +1 -1
- package/dist/index280.js +2 -33
- package/dist/index281.js +65 -26
- package/dist/index282.js +35 -0
- package/dist/index283.js +28 -2
- package/dist/index286.js +1 -1
- package/dist/index287.js +1 -1
- package/dist/index288.js +280 -4
- 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 +16 -3
- package/dist/index293.js +2 -3
- package/dist/index294.js +18 -3
- package/dist/index295.js +2 -280
- package/dist/index296.js +15 -2
- package/dist/index297.js +2 -125
- package/dist/index298.js +19 -2
- package/dist/index299.js +2 -15
- package/dist/index300.js +27 -2
- package/dist/index301.js +2 -16
- package/dist/index302.js +2 -2
- package/dist/index303.js +2 -16
- package/dist/index304.js +2 -2
- package/dist/index305.js +2 -19
- package/dist/index306.js +28 -2
- package/dist/index307.js +22 -3
- package/dist/index309.js +7 -11
- package/dist/index31.js +2 -2
- package/dist/index310.js +11 -2
- package/dist/index311.js +5 -3
- package/dist/index312.js +4 -6
- package/dist/index313.js +6 -2
- package/dist/index314.js +4 -5
- package/dist/index315.js +2 -19
- package/dist/index316.js +125 -2
- package/dist/index317.js +2 -27
- package/dist/index318.js +3 -2
- package/dist/index319.js +3 -2
- package/dist/index320.js +3 -2
- package/dist/index321.js +17 -2
- package/dist/index322.js +3 -2
- package/dist/index323.js +3 -22
- package/dist/index324.js +4 -0
- package/dist/index325.js +5 -718
- package/dist/index326.js +715 -363
- package/dist/index327.js +366 -58
- package/dist/index328.js +58 -5
- package/dist/index33.js +8 -8
- package/dist/index330.js +1 -1
- package/dist/index331.js +1 -1
- package/dist/index332.js +6 -34
- package/dist/index333.js +19 -6
- package/dist/index334.js +6 -128
- package/dist/index335.js +220 -361
- package/dist/index336.js +58 -47
- package/dist/index337.js +33 -33
- package/dist/index338.js +35 -58
- package/dist/index339.js +6 -8
- package/dist/index340.js +128 -5
- package/dist/index341.js +367 -6
- package/dist/index342.js +7 -6
- package/dist/index343.js +5 -227
- package/dist/index344.js +8 -7
- package/dist/index345.js +45 -17
- package/dist/index346.js +1 -1
- package/dist/index348.js +421 -473
- package/dist/index349.js +113 -422
- package/dist/index35.js +4 -4
- package/dist/index350.js +484 -123
- package/dist/index37.js +18 -18
- package/dist/index39.js +7 -7
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +6 -6
- package/dist/index49.js +1 -1
- 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 +6 -6
- package/dist/index81.js +1 -1
- package/dist/index83.js +2 -2
- package/dist/index85.js +1 -1
- package/dist/index87.js +1 -1
- package/dist/index90.js +2 -2
- package/dist/index92.js +2 -2
- package/dist/index94.js +5 -5
- package/dist/index96.js +1 -1
- package/package.json +1 -1
- package/dist/index247.js +0 -15
- package/dist/index252.js +0 -36
- package/dist/index262.js +0 -10
- package/dist/index264.js +0 -54
- package/dist/index284.js +0 -69
- package/dist/index308.js +0 -9
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 "./index215.js";
|
3
|
+
import { when as N } from "./index235.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 "./index251.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 "./index253.js";
|
7
|
+
import { useIndexById as T } from "./index254.js";
|
8
|
+
import { useBaseOptions as q } from "./index255.js";
|
9
|
+
import { useCoherence as J } from "./index256.js";
|
10
|
+
import { hash as Q } from "./index223.js";
|
11
|
+
import { useHashedWatcher as $ } from "./index257.js";
|
12
|
+
import { usePrefill as X } from "./index258.js";
|
13
13
|
const ue = /* @__PURE__ */ j({
|
14
14
|
__name: "BaseSwitchGroup",
|
15
15
|
props: {
|
package/dist/index45.js
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
import { defineComponent as j, ref as i, computed as f, toRef as E, watch as Q, createBlock as k, openBlock as v, normalizeClass as Z, withCtx as n, createVNode as I, unref as G, createElementVNode as $, createElementBlock as J, createCommentVNode as W, withDirectives as X, Fragment as Y, mergeProps as ee, withModifiers as s, withKeys as y, vModelText as te, renderSlot as d, nextTick as oe } from "vue";
|
2
2
|
import ae from "./index111.js";
|
3
3
|
/* empty css */
|
4
|
-
import { last as le } from "./
|
5
|
-
import { useBaseOptions as ne } from "./
|
6
|
-
import { useIndexById as re } from "./
|
7
|
-
import ue from "./
|
4
|
+
import { last as le } from "./index224.js";
|
5
|
+
import { useBaseOptions as ne } from "./index255.js";
|
6
|
+
import { useIndexById as re } from "./index254.js";
|
7
|
+
import ue from "./index261.js";
|
8
8
|
/* empty css */
|
9
|
-
import ie from "./
|
9
|
+
import ie from "./index263.js";
|
10
10
|
/* empty css */
|
11
11
|
import se from "./index135.js";
|
12
12
|
/* empty css */
|
13
13
|
import de from "./index137.js";
|
14
|
-
import { isEmpty as pe } from "./
|
14
|
+
import { isEmpty as pe } from "./index244.js";
|
15
15
|
const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], Oe = /* @__PURE__ */ j({
|
16
16
|
__name: "BaseTag",
|
17
17
|
props: {
|
package/dist/index49.js
CHANGED
@@ -3,7 +3,7 @@ import E from "./index135.js";
|
|
3
3
|
/* empty css */
|
4
4
|
import I from "./index137.js";
|
5
5
|
import { isNotNil as N } from "./index143.js";
|
6
|
-
import { MaskInput as z } from "./
|
6
|
+
import { MaskInput as z } from "./index232.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 "./index215.js";
|
3
3
|
import { wait as C } from "./index138.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 "./index215.js";
|
3
|
+
import { isNil as B } from "./index239.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 "./index268.js";
|
11
|
+
import { noop as w } from "./index269.js";
|
12
|
+
import { useLocale as D } from "./index231.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 "./index231.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,18 +1,18 @@
|
|
1
1
|
import { defineComponent as ee, ref as q, computed as g, useTemplateRef as te, watch as oe, createElementBlock as D, openBlock as w, Fragment as L, renderSlot as p, createVNode as F, normalizeProps as ne, guardReactiveProps as ae, unref as m, mergeProps as B, withCtx as O, createElementVNode as V, normalizeStyle as ie, renderList as se, createBlock as K, createCommentVNode as P, toDisplayString as re } from "vue";
|
2
|
-
import { findRightIndex as T } from "./
|
2
|
+
import { findRightIndex as T } from "./index270.js";
|
3
3
|
import { useId as le } from "./index8.js";
|
4
|
-
import { useUntil as de } from "./
|
4
|
+
import { useUntil as de } from "./index260.js";
|
5
5
|
import { wait as ue } from "./index138.js";
|
6
6
|
import ce from "./index13.js";
|
7
7
|
/* empty css */
|
8
8
|
import R from "./index85.js";
|
9
9
|
/* empty css */
|
10
|
-
import fe from "./
|
10
|
+
import fe from "./index246.js";
|
11
11
|
/* empty css */
|
12
|
-
import U from "./
|
13
|
-
import { extractDomContainer as S } from "./
|
12
|
+
import U from "./index271.js";
|
13
|
+
import { extractDomContainer as S } from "./index272.js";
|
14
14
|
import { useIntersectionObserver as pe, useElementSize as me } from "./index140.js";
|
15
|
-
import { parseWidthString as ve } from "./
|
15
|
+
import { parseWidthString as ve } from "./index273.js";
|
16
16
|
const be = ["id", "aria-labelledby", "inert"], ye = { class: "item__content" }, _e = /* @__PURE__ */ ee({
|
17
17
|
inheritAttrs: !1,
|
18
18
|
__name: "BbDropdown",
|
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 "./index231.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 "./index276.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("./index275.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 "./index215.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 "./
|
2
|
+
import { throttle as c } from "./index274.js";
|
3
3
|
const M = /* @__PURE__ */ h({
|
4
4
|
__name: "BbIntersection",
|
5
5
|
props: {
|
package/dist/index90.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent as P, mergeModels as T, useModel as q, computed as v, ref as z, watch as A, onMounted as H, createElementBlock as r, openBlock as d, withModifiers as K, normalizeStyle as R, normalizeClass as U, unref as p, createCommentVNode as y, Fragment as j, createElementVNode as t, renderSlot as l, createTextVNode as G, toDisplayString as D, nextTick as J } from "vue";
|
2
2
|
import { parseSize as Q } from "./index259.js";
|
3
3
|
import { useId as S } from "./index8.js";
|
4
|
-
import { useLocale as X } from "./
|
4
|
+
import { useLocale as X } from "./index231.js";
|
5
5
|
import { useMobile as Y } from "./index9.js";
|
6
|
-
import { useUntil as Z } from "./
|
6
|
+
import { useUntil as Z } from "./index260.js";
|
7
7
|
import { wait as h } from "./index138.js";
|
8
8
|
const x = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], ee = {
|
9
9
|
ref: "header",
|
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 "./
|
7
|
-
import { useLocale as H } from "./
|
6
|
+
import { debounce as X } from "./index277.js";
|
7
|
+
import { useLocale as H } from "./index231.js";
|
8
8
|
import { useRoute as J } from "./index145.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,14 +1,14 @@
|
|
1
1
|
import { defineComponent as R, ref as k, computed as l, useTemplateRef as S, createElementBlock as I, openBlock as y, Fragment as N, renderSlot as C, createVNode as O, normalizeProps as W, guardReactiveProps as A, unref as m, mergeProps as H, withCtx as $, createElementVNode as i, createBlock as U, createCommentVNode as q, toDisplayString as z, nextTick as F } from "vue";
|
2
2
|
import { useId as j } from "./index8.js";
|
3
3
|
import { useIntersectionObserver as G } from "./index140.js";
|
4
|
-
import { useLocale as J } from "./
|
5
|
-
import { useUntil as K } from "./
|
4
|
+
import { useLocale as J } from "./index231.js";
|
5
|
+
import { useUntil as K } from "./index260.js";
|
6
6
|
import Q from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import X from "./
|
8
|
+
import X from "./index246.js";
|
9
9
|
/* empty css */
|
10
|
-
import { extractDomContainer as f } from "./
|
11
|
-
import { parseWidthString as Y } from "./
|
10
|
+
import { extractDomContainer as f } from "./index272.js";
|
11
|
+
import { parseWidthString as Y } from "./index273.js";
|
12
12
|
const Z = ["inert"], x = { class: "bb-popover__close-label sr-only" }, ce = /* @__PURE__ */ R({
|
13
13
|
inheritAttrs: !1,
|
14
14
|
__name: "BbPopover",
|
package/dist/index96.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as r, computed as a, createElementBlock as l, openBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
|
2
|
-
import { clamp as p } from "./
|
2
|
+
import { clamp as p } from "./index212.js";
|
3
3
|
import { getAsPercentageBetween as i } from "./index139.js";
|
4
4
|
const _ = /* @__PURE__ */ r({
|
5
5
|
__name: "BbProgress",
|
package/package.json
CHANGED
package/dist/index247.js
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
import { ref as c, watch as f, toValue as u } from "vue";
|
2
|
-
const p = (e, { initialValue: r = !1, nextValue: o = !0 } = {}) => {
|
3
|
-
const t = c(r);
|
4
|
-
if (r) return t;
|
5
|
-
const n = f(
|
6
|
-
() => u(e),
|
7
|
-
(s) => {
|
8
|
-
s && (t.value = o, n());
|
9
|
-
}
|
10
|
-
);
|
11
|
-
return t;
|
12
|
-
};
|
13
|
-
export {
|
14
|
-
p as useUntil
|
15
|
-
};
|
package/dist/index252.js
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
import { defineComponent as p, getCurrentInstance as a, resolveComponent as u, createBlock as f, openBlock as k, resolveDynamicComponent as g, unref as d, withCtx as b, renderSlot as x } from "vue";
|
2
|
-
import { _config as e } from "./index4.js";
|
3
|
-
import { useLogger as l } from "./index262.js";
|
4
|
-
const $ = /* @__PURE__ */ p({
|
5
|
-
__name: "RouterComponent",
|
6
|
-
setup(y) {
|
7
|
-
var o, i, r, s;
|
8
|
-
const m = !!((i = (o = a()) == null ? void 0 : o.proxy) != null && i.$inertia), c = !!((s = (r = a()) == null ? void 0 : r.proxy) != null && s.$nuxt);
|
9
|
-
let t;
|
10
|
-
if (m) {
|
11
|
-
if (t = u(e.inertiaLinkName), typeof t == "string") {
|
12
|
-
const { warn: n } = l();
|
13
|
-
n(
|
14
|
-
`Inertia link component "${e.inertiaLinkName}" could not be resolved. Ensure you app registers a link component with the name "${e.inertiaLinkName}" or set bitboss-ui config key "inertiaLinkName" to the correct value globally. Please visit ${e.documentationURL}/getting-started to resolve setup issues in bitboss-ui.`
|
15
|
-
);
|
16
|
-
}
|
17
|
-
} else if (c) {
|
18
|
-
if (t = u(e.nuxtLinkName), typeof t == "string") {
|
19
|
-
const { warn: n } = l();
|
20
|
-
n(
|
21
|
-
`Nuxt link component "${e.nuxtLinkName}" could not be resolved. Ensure you app registers a link component with the name "${e.nuxtLinkName}" or set bitboss-ui config key "nuxtLinkName" to the correct value globally. Please visit ${e.documentationURL}/getting-started to resolve setup issues in bitboss-ui.`
|
22
|
-
);
|
23
|
-
}
|
24
|
-
} else
|
25
|
-
t = "router-link";
|
26
|
-
return (n, L) => (k(), f(g(d(t)), null, {
|
27
|
-
default: b(() => [
|
28
|
-
x(n.$slots, "default")
|
29
|
-
]),
|
30
|
-
_: 3
|
31
|
-
}));
|
32
|
-
}
|
33
|
-
});
|
34
|
-
export {
|
35
|
-
$ as default
|
36
|
-
};
|
package/dist/index262.js
DELETED
package/dist/index264.js
DELETED
@@ -1,54 +0,0 @@
|
|
1
|
-
import { defineComponent as p, ref as b, watch as _, computed as m, createElementBlock as d, openBlock as c, normalizeClass as u, createElementVNode as t, createVNode as h, withCtx as f, toDisplayString as o } from "vue";
|
2
|
-
import k from "./index266.js";
|
3
|
-
const y = { class: "bb-base-date-picker__year-container" }, v = {
|
4
|
-
"aria-live": "polite",
|
5
|
-
class: "bb-base-date-picker__selected-day-label"
|
6
|
-
}, B = { class: "bb-base-date-picker__weekday" }, D = { class: "bb-base-date-picker__monthday" }, M = { class: "bb-base-date-picker__month-button" }, C = /* @__PURE__ */ p({
|
7
|
-
__name: "BaseDatePickerHeader",
|
8
|
-
props: {
|
9
|
-
cursor: {},
|
10
|
-
disabled: { type: Boolean },
|
11
|
-
hidden: { type: Boolean }
|
12
|
-
},
|
13
|
-
emits: ["mode:year", "mode:month"],
|
14
|
-
setup(n) {
|
15
|
-
const s = n, r = b("top"), l = (e, a) => {
|
16
|
-
e && a && (r.value = e.isBefore(a) ? "top" : "bottom");
|
17
|
-
};
|
18
|
-
_(
|
19
|
-
() => s.cursor,
|
20
|
-
(e, a) => {
|
21
|
-
l(e, a);
|
22
|
-
}
|
23
|
-
);
|
24
|
-
const i = m(() => s.cursor.format("YYYY"));
|
25
|
-
return (e, a) => (c(), d("div", {
|
26
|
-
class: u(["bb-base-date-picker__header", { "bb-base-date-picker__header--hidden": e.hidden }])
|
27
|
-
}, [
|
28
|
-
t("div", y, [
|
29
|
-
h(k, {
|
30
|
-
direction: r.value,
|
31
|
-
duration: 500,
|
32
|
-
gap: 30
|
33
|
-
}, {
|
34
|
-
default: f(() => [
|
35
|
-
(c(), d("span", {
|
36
|
-
key: i.value,
|
37
|
-
"aria-live": "polite",
|
38
|
-
class: "bb-base-date-picker__year-button"
|
39
|
-
}, o(i.value), 1))
|
40
|
-
]),
|
41
|
-
_: 1
|
42
|
-
}, 8, ["direction"])
|
43
|
-
]),
|
44
|
-
t("div", v, [
|
45
|
-
t("span", B, o(e.cursor.format("ddd")) + ", ", 1),
|
46
|
-
t("span", D, o(e.cursor.format("DD")), 1),
|
47
|
-
t("span", M, o(e.cursor.format("MMMM")), 1)
|
48
|
-
])
|
49
|
-
], 2));
|
50
|
-
}
|
51
|
-
});
|
52
|
-
export {
|
53
|
-
C as default
|
54
|
-
};
|
package/dist/index284.js
DELETED
@@ -1,69 +0,0 @@
|
|
1
|
-
import { defineComponent as d, createElementBlock as l, openBlock as o, normalizeClass as u, createElementVNode as t, createBlock as i, createCommentVNode as s, unref as f, withCtx as g, toDisplayString as n } from "vue";
|
2
|
-
import { useLocale as k } from "./index240.js";
|
3
|
-
import h from "./index13.js";
|
4
|
-
/* empty css */
|
5
|
-
import C from "./index85.js";
|
6
|
-
/* empty css */
|
7
|
-
const w = { class: "bb-toast-message__icon-container" }, v = { class: "bb-toast-message__content" }, y = {
|
8
|
-
key: 1,
|
9
|
-
class: "bb-toast-message__title"
|
10
|
-
}, B = { class: "bb-toast-message__text" }, z = /* @__PURE__ */ d({
|
11
|
-
__name: "BbToastMessage",
|
12
|
-
props: {
|
13
|
-
title: {},
|
14
|
-
text: {},
|
15
|
-
icon: {},
|
16
|
-
theme: { default: "default" },
|
17
|
-
id: {},
|
18
|
-
showClose: { type: Boolean }
|
19
|
-
},
|
20
|
-
emits: ["click:close"],
|
21
|
-
setup(r, { emit: c }) {
|
22
|
-
const m = r, p = c, { t: _ } = k(), b = () => {
|
23
|
-
p("click:close", m.id);
|
24
|
-
};
|
25
|
-
return (e, a) => (o(), l("div", {
|
26
|
-
"aria-atomic": "true",
|
27
|
-
"aria-live": "polite",
|
28
|
-
"aria-role": "alert",
|
29
|
-
class: u(["bb-toast-message", { [`bb-toast-message--${e.theme}`]: e.theme }])
|
30
|
-
}, [
|
31
|
-
t("div", w, [
|
32
|
-
e.icon ? (o(), i(C, {
|
33
|
-
key: 0,
|
34
|
-
class: "bb-toast-message__icon",
|
35
|
-
type: e.icon
|
36
|
-
}, null, 8, ["type"])) : s("", !0)
|
37
|
-
]),
|
38
|
-
t("div", v, [
|
39
|
-
e.showClose ? (o(), i(h, {
|
40
|
-
key: 0,
|
41
|
-
"aria-label": f(_)("common.closeLabel").value,
|
42
|
-
class: "bb-toast-message__close",
|
43
|
-
onClick: b
|
44
|
-
}, {
|
45
|
-
default: g(() => a[0] || (a[0] = [
|
46
|
-
t("svg", {
|
47
|
-
fill: "none",
|
48
|
-
viewBox: "0 0 24 24",
|
49
|
-
xmlns: "http://www.w3.org/2000/svg"
|
50
|
-
}, [
|
51
|
-
t("path", {
|
52
|
-
d: "M23 23L1 1M23 1L1 23",
|
53
|
-
stroke: "currentColor",
|
54
|
-
"stroke-linecap": "round",
|
55
|
-
"stroke-width": "2"
|
56
|
-
})
|
57
|
-
], -1)
|
58
|
-
])),
|
59
|
-
_: 1
|
60
|
-
}, 8, ["aria-label"])) : s("", !0),
|
61
|
-
e.title ? (o(), l("p", y, n(e.title), 1)) : s("", !0),
|
62
|
-
t("p", B, n(e.text), 1)
|
63
|
-
])
|
64
|
-
], 2));
|
65
|
-
}
|
66
|
-
});
|
67
|
-
export {
|
68
|
-
z as default
|
69
|
-
};
|