bitboss-ui 2.0.78 → 2.0.80
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/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +1 -1
- package/dist/components/BaseDialog/BaseDialog.vue.d.ts +1 -1
- package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +1 -1
- package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +1 -1
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +1 -1
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +1 -1
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +1 -1
- package/dist/components/BbSelect/BbSelect.vue.d.ts +1 -1
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +1 -1
- package/dist/components/OptionsContainer.vue.d.ts +1 -1
- package/dist/index110.js +5 -5
- package/dist/index118.js +25 -21
- package/dist/index120.js +5 -5
- package/dist/index122.js +1 -1
- package/dist/index126.js +14 -14
- package/dist/index127.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index130.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 +2 -2
- package/dist/index204.js +2 -81
- package/dist/index205.js +2 -2
- package/dist/index206.js +4 -8
- package/dist/index207.js +2 -3
- package/dist/index208.js +3 -41
- package/dist/index209.js +41 -6
- package/dist/index21.js +14 -14
- package/dist/index210.js +6 -7
- package/dist/index211.js +7 -5
- package/dist/index212.js +8 -16
- package/dist/index213.js +12 -16
- package/dist/index214.js +53 -19
- package/dist/index216.js +13 -27
- package/dist/index217.js +20 -3
- package/dist/index218.js +4 -2
- package/dist/index219.js +122 -245
- package/dist/index220.js +5 -52
- package/dist/index221.js +125 -44
- package/dist/index222.js +19 -5
- package/dist/index223.js +15 -59
- package/dist/index224.js +15 -52
- package/dist/index225.js +4 -0
- package/dist/index226.js +2 -13
- package/dist/index227.js +5 -164
- package/dist/index228.js +368 -83
- package/dist/index229.js +166 -0
- package/dist/index23.js +188 -187
- package/dist/index230.js +84 -3
- package/dist/index232.js +81 -125
- package/dist/index233.js +19 -2
- package/dist/index234.js +26 -19
- package/dist/index235.js +3 -5
- package/dist/index236.js +246 -366
- package/dist/index237.js +52 -4
- package/dist/index238.js +44 -2
- package/dist/index239.js +5 -4
- package/dist/index240.js +60 -2
- package/dist/index241.js +3 -2
- package/dist/index242.js +1 -1
- package/dist/index244.js +1 -1
- package/dist/index246.js +1 -1
- package/dist/index248.js +2 -10
- package/dist/index249.js +9 -2
- package/dist/index25.js +109 -105
- package/dist/index250.js +2 -8
- package/dist/index251.js +6 -23
- package/dist/index252.js +14 -87
- package/dist/index253.js +11 -0
- package/dist/index254.js +23 -6
- package/dist/index255.js +87 -14
- package/dist/index257.js +8 -5
- package/dist/index258.js +4 -2
- package/dist/index259.js +3 -2
- package/dist/index261.js +7 -2
- package/dist/index262.js +176 -2
- package/dist/index263.js +431 -2
- package/dist/index264.js +1 -1
- package/dist/index265.js +89 -2
- package/dist/index266.js +200 -2
- package/dist/index267.js +3 -2
- package/dist/index268.js +12 -28
- package/dist/index269.js +8 -21
- package/dist/index27.js +1 -1
- package/dist/index270.js +11 -0
- package/dist/index271.js +17 -7
- package/dist/index272.js +3 -430
- package/dist/index273.js +280 -88
- package/dist/index274.js +5 -8
- package/dist/index275.js +2 -3
- package/dist/index276.js +4 -0
- package/dist/index277.js +2 -200
- package/dist/index278.js +2 -3
- package/dist/index279.js +2 -12
- package/dist/index280.js +124 -7
- package/dist/index281.js +20 -7
- package/dist/index283.js +435 -3
- package/dist/index284.js +121 -218
- package/dist/index285.js +2 -2
- package/dist/index286.js +2 -126
- package/dist/index287.js +2 -176
- package/dist/index288.js +1 -21
- package/dist/index289.js +4 -0
- package/dist/index29.js +3 -3
- package/dist/index290.js +2 -4
- package/dist/index291.js +23 -431
- package/dist/index292.js +21 -126
- package/dist/index294.js +224 -3
- package/dist/index295.js +1 -1
- package/dist/index296.js +3 -5
- package/dist/index297.js +204 -59
- package/dist/index298.js +2 -211
- package/dist/index299.js +5 -5
- package/dist/index300.js +66 -8
- package/dist/index304.js +1 -1
- package/dist/index305.js +4 -3
- package/dist/index306.js +7 -6
- package/dist/index307.js +32 -6
- package/dist/index308.js +3 -18
- package/dist/index309.js +6 -32
- package/dist/index31.js +2 -2
- package/dist/index310.js +46 -10
- package/dist/index311.js +10 -46
- package/dist/index312.js +7 -12
- package/dist/index313.js +19 -480
- package/dist/index314.js +1 -1
- package/dist/index315.js +482 -0
- package/dist/index317.js +1 -1
- package/dist/index318.js +47 -2
- package/dist/index319.js +2 -47
- package/dist/index33.js +2 -2
- package/dist/index35.js +3 -3
- package/dist/index37.js +97 -96
- package/dist/index39.js +4 -4
- package/dist/index41.js +2 -2
- package/dist/index43.js +2 -2
- package/dist/index45.js +6 -6
- package/dist/index47.js +2 -2
- package/dist/index49.js +2 -2
- package/dist/index55.js +1 -1
- package/dist/index57.js +1 -1
- package/dist/index61.js +2 -2
- package/dist/index75.js +3 -3
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index84.js +110 -106
- package/dist/index86.js +1 -1
- package/dist/index88.js +4 -4
- package/dist/index90.js +1 -1
- package/package.json +1 -1
- package/dist/index215.js +0 -21
- package/dist/index231.js +0 -128
- package/dist/index256.js +0 -283
- package/dist/index260.js +0 -4
- package/dist/index282.js +0 -19
- package/dist/index293.js +0 -4
- package/dist/index316.js +0 -4
@@ -132,7 +132,6 @@ declare const _default: <T = any>(__VLS_props: {
|
|
132
132
|
noDataText?: string | undefined;
|
133
133
|
readonly?: (boolean | "true" | "false") | undefined;
|
134
134
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
|
135
|
-
attrs: any;
|
136
135
|
slots: Readonly<{
|
137
136
|
prepend?: ((props: object) => any) | undefined;
|
138
137
|
loading?: ((props: object) => any) | undefined;
|
@@ -190,6 +189,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
190
189
|
}) => any) | undefined;
|
191
190
|
append?: ((props: object) => any) | undefined;
|
192
191
|
};
|
192
|
+
attrs: any;
|
193
193
|
emit: BaseCheckboxGroupEvents;
|
194
194
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
195
195
|
props: {
|
@@ -63,11 +63,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Ba
|
|
63
63
|
size: number | ({
|
64
64
|
size?: any;
|
65
65
|
} & string) | keyof Sizes;
|
66
|
+
transition: string;
|
66
67
|
closeLabel: string;
|
67
68
|
panelClasses: import('../../types/Classes').Classes;
|
68
69
|
overlayClasses: import('../../types/Classes').Classes;
|
69
70
|
showClose: boolean;
|
70
|
-
transition: string;
|
71
71
|
transitionDuration: number;
|
72
72
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<BaseDialogSlots> & BaseDialogSlots>;
|
73
73
|
export default _default;
|
@@ -132,7 +132,6 @@ declare const _default: <T = any>(__VLS_props: {
|
|
132
132
|
readonly?: (boolean | "true" | "false") | undefined;
|
133
133
|
required?: boolean | undefined;
|
134
134
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
|
135
|
-
attrs: any;
|
136
135
|
slots: Readonly<{
|
137
136
|
prepend?: ((props: object) => any) | undefined;
|
138
137
|
loading?: ((props: object) => any) | undefined;
|
@@ -190,6 +189,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
190
189
|
}) => any) | undefined;
|
191
190
|
append?: ((props: object) => any) | undefined;
|
192
191
|
};
|
192
|
+
attrs: any;
|
193
193
|
emit: BaseRadioGroupEvents;
|
194
194
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
195
195
|
props: {
|
@@ -26,7 +26,6 @@ declare const _default: <T = any>(__VLS_props: {
|
|
26
26
|
noDataText?: string | undefined;
|
27
27
|
readonly?: (boolean | "true" | "false") | undefined;
|
28
28
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
|
29
|
-
attrs: any;
|
30
29
|
slots: Readonly<{
|
31
30
|
prepend?: ((props: object) => any) | undefined;
|
32
31
|
loading?: ((props: object) => any) | undefined;
|
@@ -84,6 +83,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
84
83
|
}) => any) | undefined;
|
85
84
|
append?: ((props: object) => any) | undefined;
|
86
85
|
};
|
86
|
+
attrs: any;
|
87
87
|
emit: BaseCheckboxGroupEvents;
|
88
88
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
89
89
|
props: {
|
@@ -145,7 +145,6 @@ declare const _default: <T = any>(__VLS_props: {
|
|
145
145
|
readonly?: (boolean | "true" | "false") | undefined;
|
146
146
|
reverse?: boolean | undefined;
|
147
147
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
|
148
|
-
attrs: any;
|
149
148
|
slots: Readonly<{
|
150
149
|
prepend?: ((props: object) => any) | undefined;
|
151
150
|
loading?: ((props: object) => any) | undefined;
|
@@ -211,6 +210,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
211
210
|
hasErrors: boolean;
|
212
211
|
}) => any) | undefined;
|
213
212
|
};
|
213
|
+
attrs: any;
|
214
214
|
emit: BaseCheckboxGroupEvents;
|
215
215
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
216
216
|
props: {
|
@@ -70,11 +70,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Bb
|
|
70
70
|
size: number | ({
|
71
71
|
size?: any;
|
72
72
|
} & string) | keyof Sizes;
|
73
|
+
transition: string;
|
73
74
|
closeLabel: string;
|
74
75
|
panelClasses: import('../../types/Classes').Classes;
|
75
76
|
overlayClasses: import('../../types/Classes').Classes;
|
76
77
|
showClose: boolean;
|
77
|
-
transition: string;
|
78
78
|
transitionDuration: number;
|
79
79
|
direction: "left" | "right" | "top" | "bottom";
|
80
80
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<BbOffCanvasSlots> & BbOffCanvasSlots>;
|
@@ -145,7 +145,6 @@ declare const _default: <T = any>(__VLS_props: {
|
|
145
145
|
required?: boolean | undefined;
|
146
146
|
reverse?: boolean | undefined;
|
147
147
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
|
148
|
-
attrs: any;
|
149
148
|
slots: Readonly<{
|
150
149
|
prepend?: ((props: object) => any) | undefined;
|
151
150
|
loading?: ((props: object) => any) | undefined;
|
@@ -211,6 +210,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
211
210
|
hasErrors: boolean;
|
212
211
|
}) => any) | undefined;
|
213
212
|
};
|
213
|
+
attrs: any;
|
214
214
|
emit: BaseRadioGroupEvents;
|
215
215
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
216
216
|
props: {
|
@@ -305,8 +305,8 @@ declare const _default: <T = any>(__VLS_props: {
|
|
305
305
|
transitionDuration?: number | undefined;
|
306
306
|
updateOnAnimationFrame?: boolean | undefined;
|
307
307
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
|
308
|
-
attrs: any;
|
309
308
|
slots: Readonly<BbSelectSlots<T>> & BbSelectSlots<T>;
|
309
|
+
attrs: any;
|
310
310
|
emit: BaseSelectEvents;
|
311
311
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
312
312
|
props: {
|
@@ -31,7 +31,6 @@ declare const _default: <T = any>(__VLS_props: {
|
|
31
31
|
readonly?: (boolean | "true" | "false") | undefined;
|
32
32
|
reverse?: boolean | undefined;
|
33
33
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
|
34
|
-
attrs: any;
|
35
34
|
slots: Readonly<{
|
36
35
|
prepend?: ((props: object) => any) | undefined;
|
37
36
|
loading?: ((props: object) => any) | undefined;
|
@@ -97,6 +96,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
97
96
|
hasErrors: boolean;
|
98
97
|
}) => any) | undefined;
|
99
98
|
};
|
99
|
+
attrs: any;
|
100
100
|
emit: import('../..').BaseCheckboxGroupEvents;
|
101
101
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
102
102
|
props: {
|
@@ -8,7 +8,6 @@ declare const _default: <T = any>(__VLS_props: {
|
|
8
8
|
noDataText?: string | undefined;
|
9
9
|
options: Option[];
|
10
10
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
|
11
|
-
attrs: any;
|
12
11
|
slots: Partial<Record<"loading", (_: {}) => any>> & Partial<Record<"no-data", (_: {}) => any>> & {
|
13
12
|
prepend?(_: {}): any;
|
14
13
|
"option:prepend"?(_: {
|
@@ -36,6 +35,7 @@ declare const _default: <T = any>(__VLS_props: {
|
|
36
35
|
}): any;
|
37
36
|
append?(_: {}): any;
|
38
37
|
};
|
38
|
+
attrs: any;
|
39
39
|
emit: {};
|
40
40
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
41
41
|
props: {
|
package/dist/index110.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import { defineComponent as oe, ref as j, computed as m, toRef as B, watch as ne, openBlock as n, createBlock as de, resolveDynamicComponent as ce, normalizeClass as r, unref as y, withCtx as ie, createElementBlock as d, toDisplayString as u, createCommentVNode as _, createElementVNode as o, renderSlot as p, createVNode as R, Fragment as w, renderList as T, createTextVNode as be, mergeProps as re } from "vue";
|
2
|
-
import { add as ue } from "./
|
3
|
-
import { clamp as pe } from "./
|
2
|
+
import { add as ue } from "./index298.js";
|
3
|
+
import { clamp as pe } from "./index204.js";
|
4
4
|
import { isNil as M } from "./index129.js";
|
5
5
|
import { useId as fe } from "./index8.js";
|
6
|
-
import { useItemValue as me } from "./
|
7
|
-
import { when as ye } from "./
|
6
|
+
import { useItemValue as me } from "./index270.js";
|
7
|
+
import { when as ye } from "./index206.js";
|
8
8
|
import J from "./index17.js";
|
9
9
|
/* empty css */
|
10
10
|
import he from "./index31.js";
|
11
11
|
/* empty css */
|
12
|
-
import { useOptions as ke } from "./
|
12
|
+
import { useOptions as ke } from "./index229.js";
|
13
13
|
const _e = {
|
14
14
|
key: 0,
|
15
15
|
class: "sr-only"
|
package/dist/index118.js
CHANGED
@@ -1,30 +1,34 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { state as k, useToast as
|
3
|
-
import
|
4
|
-
|
1
|
+
import { defineComponent as l, openBlock as e, createBlock as o, withCtx as r, createElementVNode as c, normalizeClass as m, createVNode as i, TransitionGroup as u, createElementBlock as p, Fragment as f, renderList as _, unref as n, mergeProps as d } from "vue";
|
2
|
+
import { state as k, useToast as b } from "./index11.js";
|
3
|
+
import C from "./index213.js";
|
4
|
+
import B from "./index300.js";
|
5
|
+
const V = /* @__PURE__ */ l({
|
5
6
|
__name: "BbToast",
|
6
7
|
props: {
|
7
8
|
placement: { default: "bottom" }
|
8
9
|
},
|
9
10
|
setup(T) {
|
10
|
-
const { dismiss:
|
11
|
-
return (
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
11
|
+
const { dismiss: a } = b();
|
12
|
+
return (s, $) => (e(), o(C, null, {
|
13
|
+
default: r(() => [
|
14
|
+
c("div", {
|
15
|
+
class: m(["bb-toast", { [`bb-toast--${s.placement}`]: !0 }])
|
16
|
+
}, [
|
17
|
+
i(u, { name: "toast" }, {
|
18
|
+
default: r(() => [
|
19
|
+
(e(!0), p(f, null, _(n(k).stack, (t) => (e(), o(B, d({
|
20
|
+
key: t.id,
|
21
|
+
ref_for: !0
|
22
|
+
}, t, { "onClick:close": n(a) }), null, 16, ["onClick:close"]))), 128))
|
23
|
+
]),
|
24
|
+
_: 1
|
25
|
+
})
|
26
|
+
], 2)
|
27
|
+
]),
|
28
|
+
_: 1
|
29
|
+
}));
|
26
30
|
}
|
27
31
|
});
|
28
32
|
export {
|
29
|
-
|
33
|
+
V as default
|
30
34
|
};
|
package/dist/index120.js
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
import { defineComponent as N, ref as a, watch as V, computed as H, openBlock as B, createElementBlock as z, mergeProps as I, createElementVNode as p, renderSlot as C, normalizeProps as R, guardReactiveProps as S, unref as c, createVNode as U, withCtx as E, createBlock as W, createCommentVNode as j } from "vue";
|
2
|
-
import { useFloating as q, arrow as A } from "./
|
2
|
+
import { useFloating as q, arrow as A } from "./index219.js";
|
3
3
|
import { useId as G } from "./index8.js";
|
4
4
|
import { wait as _ } from "./index131.js";
|
5
5
|
import J from "./index13.js";
|
6
6
|
/* empty css */
|
7
|
-
import { throttle as m } from "./
|
8
|
-
import { waitFor as K } from "./
|
9
|
-
import Q from "./
|
7
|
+
import { throttle as m } from "./index208.js";
|
8
|
+
import { waitFor as K } from "./index210.js";
|
9
|
+
import Q from "./index255.js";
|
10
10
|
/* empty css */
|
11
|
-
import { autoUpdate as X, flip as Y, shift as Z, hide as x } from "./
|
11
|
+
import { autoUpdate as X, flip as Y, shift as Z, hide as x } from "./index228.js";
|
12
12
|
const pe = /* @__PURE__ */ N({
|
13
13
|
__name: "BbTooltip",
|
14
14
|
props: {
|
package/dist/index122.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as $, computed as g, resolveComponent as y, openBlock as f, createElementBlock as i, Fragment as k, renderList as h, normalizeClass as b, createElementVNode as s, renderSlot as t, createVNode as v, createSlots as B, withCtx as _, mergeProps as C } from "vue";
|
2
|
-
import { flattenTree as T } from "./
|
2
|
+
import { flattenTree as T } from "./index299.js";
|
3
3
|
const w = { class: "bb-tree-row" }, E = { class: "bb-tree-main-content" }, N = /* @__PURE__ */ $({
|
4
4
|
__name: "BbTree",
|
5
5
|
props: {
|
package/dist/index126.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { defineComponent as d, getCurrentInstance as x, inject as y, computed as
|
2
|
-
import { isCssColor as I } from "./
|
1
|
+
import { defineComponent as d, getCurrentInstance as x, inject as y, computed as u, ref as z, onServerPrefetch as _, onBeforeMount as b, watch as h, openBlock as v, createElementBlock as w, mergeProps as g } from "vue";
|
2
|
+
import { isCssColor as I } from "./index205.js";
|
3
3
|
const B = ["innerHTML"], N = /* @__PURE__ */ d({
|
4
4
|
__name: "BbIcon",
|
5
5
|
props: {
|
@@ -7,28 +7,28 @@ const B = ["innerHTML"], N = /* @__PURE__ */ d({
|
|
7
7
|
color: {},
|
8
8
|
type: {}
|
9
9
|
},
|
10
|
-
setup(
|
11
|
-
var
|
12
|
-
const e =
|
10
|
+
setup(p) {
|
11
|
+
var i, c;
|
12
|
+
const e = p;
|
13
13
|
let t;
|
14
|
-
!!((c = (
|
15
|
-
const
|
14
|
+
!!((c = (i = x()) == null ? void 0 : i.proxy) != null && c.$nuxt) ? t = useNuxtApp().$icons : t = y("icons");
|
15
|
+
const a = {
|
16
16
|
xs: 12,
|
17
17
|
sm: 16,
|
18
18
|
md: 24,
|
19
19
|
lg: 28,
|
20
20
|
xl: 36,
|
21
21
|
xxl: 40
|
22
|
-
},
|
23
|
-
const
|
22
|
+
}, f = u(() => {
|
23
|
+
const r = {
|
24
24
|
"bb-icon": !0
|
25
25
|
};
|
26
|
-
let l = { "--size":
|
26
|
+
let l = { "--size": u(() => {
|
27
27
|
let o;
|
28
|
-
return typeof e.size == "string" ? o =
|
28
|
+
return typeof e.size == "string" ? o = a[e.size] ?? parseInt(e.size, 10) : typeof e.size == "number" ? o = e.size : o = 24, o + "px";
|
29
29
|
}).value };
|
30
|
-
return e.color && (I(e.color) ? l.color = e.color :
|
31
|
-
class:
|
30
|
+
return e.color && (I(e.color) ? l.color = e.color : r[`bb-icon--${e.color}`] = !0), {
|
31
|
+
class: r,
|
32
32
|
style: l
|
33
33
|
};
|
34
34
|
}), n = z(null), s = async () => {
|
@@ -40,7 +40,7 @@ const B = ["innerHTML"], N = /* @__PURE__ */ d({
|
|
40
40
|
};
|
41
41
|
return _(s), b(() => {
|
42
42
|
n.value || s();
|
43
|
-
}), h(() => e.type, s), (
|
43
|
+
}), h(() => e.type, s), (r, m) => (v(), w("i", g(f.value, { innerHTML: n.value }), null, 16, B));
|
44
44
|
}
|
45
45
|
});
|
46
46
|
export {
|
package/dist/index127.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as v, ref as r, onMounted as p, onBeforeUnmount as h, openBlock as i, createBlock as l, resolveDynamicComponent as u, normalizeStyle as m, withCtx as f, renderSlot as d } from "vue";
|
2
|
-
import { throttle as g } from "./
|
2
|
+
import { throttle as g } from "./index208.js";
|
3
3
|
const O = /* @__PURE__ */ v({
|
4
4
|
__name: "BbSmoothHeight",
|
5
5
|
props: {
|
package/dist/index128.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as p, computed as s, openBlock as b, createElementBlock as a, normalizeProps as _, guardReactiveProps as x, createStaticVNode as m } from "vue";
|
2
|
-
import { isCssColor as u } from "./
|
2
|
+
import { isCssColor as u } from "./index205.js";
|
3
3
|
const f = /* @__PURE__ */ p({
|
4
4
|
__name: "BbSpinner",
|
5
5
|
props: {
|
package/dist/index13.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as k, getCurrentInstance as u, resolveComponent as p, computed as d, openBlock as v, createBlock as h, resolveDynamicComponent as C, unref as x, mergeProps as S, withCtx as L, renderSlot as B, createTextVNode as N, toDisplayString as $ } from "vue";
|
2
2
|
import { _config as n } from "./index4.js";
|
3
|
-
import { useLogger as m } from "./
|
3
|
+
import { useLogger as m } from "./index212.js";
|
4
4
|
const _ = /* @__PURE__ */ k({
|
5
5
|
__name: "BaseButton",
|
6
6
|
props: {
|
package/dist/index130.js
CHANGED
package/dist/index132.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { toValue as O, tryOnScopeDispose as R, notNullish as $, noop as M, useDebounceFn as q, useThrottleFn as G, tryOnMounted as X, isClient as J, isObject as K } from "./
|
2
|
-
import { createFilterWrapper as ve, debounceFilter as de, getLifeCycleTarget as pe, throttleFilter as me } from "./
|
1
|
+
import { toValue as O, tryOnScopeDispose as R, notNullish as $, noop as M, useDebounceFn as q, useThrottleFn as G, tryOnMounted as X, isClient as J, isObject as K } from "./index232.js";
|
2
|
+
import { createFilterWrapper as ve, debounceFilter as de, getLifeCycleTarget as pe, throttleFilter as me } from "./index232.js";
|
3
3
|
import { computed as S, watch as z, ref as w, reactive as k, getCurrentInstance as U, onMounted as Z, watchEffect as ee } from "vue";
|
4
4
|
function L(l) {
|
5
5
|
var o;
|
package/dist/index133.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { isArray as p } from "./
|
2
|
-
import { isPlainObject as c } from "./
|
1
|
+
import { isArray as p } from "./index305.js";
|
2
|
+
import { isPlainObject as c } from "./index306.js";
|
3
3
|
function i(e, n, u, l, r) {
|
4
4
|
const o = {}.propertyIsEnumerable.call(l, n) ? "enumerable" : "nonenumerable";
|
5
5
|
o === "enumerable" && (e[n] = u), r && o === "nonenumerable" && Object.defineProperty(e, n, {
|
package/dist/index15.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent as k, ref as y, computed as v, watchPostEffect as h, openBlock as g, createElementBlock as C, Fragment as w, createVNode as d, normalizeClass as V, withCtx as n, renderSlot as l, createElementVNode as s, normalizeStyle as H, withModifiers as B, withDirectives as E, mergeProps as q, unref as $ } from "vue";
|
2
|
-
import z from "./
|
2
|
+
import z from "./index214.js";
|
3
3
|
/* empty css */
|
4
|
-
import I from "./
|
5
|
-
import { vMaska as M } from "./
|
6
|
-
import { isHex as D } from "./
|
4
|
+
import I from "./index216.js";
|
5
|
+
import { vMaska as M } from "./index217.js";
|
6
|
+
import { isHex as D } from "./index218.js";
|
7
7
|
const F = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], P = ["aria-invalid", "disabled", "required"], T = /* @__PURE__ */ k({
|
8
8
|
__name: "BaseColorInput",
|
9
9
|
props: {
|
package/dist/index17.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as E, ref as m, computed as n, watch as _, openBlock as p, createElementBlock as h, normalizeProps as i, guardReactiveProps as f, mergeProps as k, createCommentVNode as I, createElementVNode as s, renderSlot as q } from "vue";
|
2
|
-
import { isCssColor as y } from "./
|
3
|
-
import { when as F } from "./
|
4
|
-
import { booleanishToBoolean as N } from "./
|
2
|
+
import { isCssColor as y } from "./index205.js";
|
3
|
+
import { when as F } from "./index206.js";
|
4
|
+
import { booleanishToBoolean as N } from "./index207.js";
|
5
5
|
const S = {
|
6
6
|
"aria-hidden": "true",
|
7
7
|
class: "bb-base-checkbox-container"
|
package/dist/index19.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent as $, ref as p, toRef as l, openBlock as B, createBlock as w, unref as f, withCtx as i, renderSlot as s, normalizeProps as b, guardReactiveProps as h, createVNode as O, mergeProps as v } from "vue";
|
2
|
-
import { useOptions as z } from "./
|
2
|
+
import { useOptions as z } from "./index229.js";
|
3
3
|
import F from "./index17.js";
|
4
4
|
/* empty css */
|
5
|
-
import M from "./
|
5
|
+
import M from "./index230.js";
|
6
6
|
/* empty css */
|
7
7
|
const A = /* @__PURE__ */ $({
|
8
8
|
__name: "BaseCheckboxGroup",
|
package/dist/index204.js
CHANGED
@@ -1,83 +1,4 @@
|
|
1
|
-
|
2
|
-
function G(e) {
|
3
|
-
return g() ? (D(e), !0) : !1;
|
4
|
-
}
|
5
|
-
function d(e) {
|
6
|
-
return typeof e == "function" ? e() : x(e);
|
7
|
-
}
|
8
|
-
const L = typeof window < "u" && typeof document < "u";
|
9
|
-
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
10
|
-
const V = (e) => e != null, P = Object.prototype.toString, A = (e) => P.call(e) === "[object Object]", m = () => {
|
11
|
-
};
|
12
|
-
function h(e, r) {
|
13
|
-
function t(...n) {
|
14
|
-
return new Promise((o, i) => {
|
15
|
-
Promise.resolve(e(() => r.apply(this, n), { fn: r, thisArg: this, args: n })).then(o).catch(i);
|
16
|
-
});
|
17
|
-
}
|
18
|
-
return t;
|
19
|
-
}
|
20
|
-
function W(e, r = {}) {
|
21
|
-
let t, n, o = m;
|
22
|
-
const i = (l) => {
|
23
|
-
clearTimeout(l), o(), o = m;
|
24
|
-
};
|
25
|
-
return (l) => {
|
26
|
-
const c = d(e), u = d(r.maxWait);
|
27
|
-
return t && i(t), c <= 0 || u !== void 0 && u <= 0 ? (n && (i(n), n = null), Promise.resolve(l())) : new Promise((s, T) => {
|
28
|
-
o = r.rejectOnCancel ? T : s, u && !n && (n = setTimeout(() => {
|
29
|
-
t && i(t), n = null, s(l());
|
30
|
-
}, u)), t = setTimeout(() => {
|
31
|
-
n && i(n), n = null, s(l());
|
32
|
-
}, c);
|
33
|
-
});
|
34
|
-
};
|
35
|
-
}
|
36
|
-
function M(...e) {
|
37
|
-
let r = 0, t, n = !0, o = m, i, a, l, c, u;
|
38
|
-
!C(e[0]) && typeof e[0] == "object" ? { delay: a, trailing: l = !0, leading: c = !0, rejectOnCancel: u = !1 } = e[0] : [a, l = !0, c = !0, u = !1] = e;
|
39
|
-
const s = () => {
|
40
|
-
t && (clearTimeout(t), t = void 0, o(), o = m);
|
41
|
-
};
|
42
|
-
return (w) => {
|
43
|
-
const f = d(a), y = Date.now() - r, p = () => i = w();
|
44
|
-
return s(), f <= 0 ? (r = Date.now(), p()) : (y > f && (c || !n) ? (r = Date.now(), p()) : l && (i = new Promise((b, j) => {
|
45
|
-
o = u ? j : b, t = setTimeout(() => {
|
46
|
-
r = Date.now(), n = !0, b(p()), s();
|
47
|
-
}, Math.max(0, f - y));
|
48
|
-
})), !c && !t && (t = setTimeout(() => n = !0, f)), n = !1, i);
|
49
|
-
};
|
50
|
-
}
|
51
|
-
function R(e) {
|
52
|
-
return F();
|
53
|
-
}
|
54
|
-
function E(e, r = 200, t = {}) {
|
55
|
-
return h(
|
56
|
-
W(r, t),
|
57
|
-
e
|
58
|
-
);
|
59
|
-
}
|
60
|
-
function I(e, r = 200, t = !1, n = !0, o = !1) {
|
61
|
-
return h(
|
62
|
-
M(r, t, n, o),
|
63
|
-
e
|
64
|
-
);
|
65
|
-
}
|
66
|
-
function N(e, r = !0, t) {
|
67
|
-
R() ? O(e, t) : r ? e() : S(e);
|
68
|
-
}
|
1
|
+
const n = (t, a, m) => Math.min(Math.max(t, a), m);
|
69
2
|
export {
|
70
|
-
|
71
|
-
W as debounceFilter,
|
72
|
-
R as getLifeCycleTarget,
|
73
|
-
L as isClient,
|
74
|
-
A as isObject,
|
75
|
-
m as noop,
|
76
|
-
V as notNullish,
|
77
|
-
M as throttleFilter,
|
78
|
-
d as toValue,
|
79
|
-
N as tryOnMounted,
|
80
|
-
G as tryOnScopeDispose,
|
81
|
-
E as useDebounceFn,
|
82
|
-
I as useThrottleFn
|
3
|
+
n as clamp
|
83
4
|
};
|
package/dist/index205.js
CHANGED
package/dist/index206.js
CHANGED
@@ -1,10 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
error: (r) => console.error(`${o}${r}`),
|
4
|
-
throw: (r) => {
|
5
|
-
throw new Error(`${o}${r}`);
|
6
|
-
}
|
7
|
-
});
|
1
|
+
import { curry as e } from "./index258.js";
|
2
|
+
const t = (n, o, r) => n(r) ? o(r) : r, s = e(t);
|
8
3
|
export {
|
9
|
-
|
4
|
+
t as baseWhen,
|
5
|
+
s as when
|
10
6
|
};
|
package/dist/index207.js
CHANGED
package/dist/index208.js
CHANGED
@@ -1,43 +1,5 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
import { ref as i, computed as D, watch as F } from "vue";
|
4
|
-
import { createFocusTrap as T } from "./index272.js";
|
5
|
-
function E(f, a = {}) {
|
6
|
-
let e;
|
7
|
-
const { immediate: l, ...p } = a, r = i(!1), s = i(!1), c = (t) => e && e.activate(t), u = (t) => e && e.deactivate(t), v = () => {
|
8
|
-
e && (e.pause(), s.value = !0);
|
9
|
-
}, m = () => {
|
10
|
-
e && (e.unpause(), s.value = !1);
|
11
|
-
}, d = D(() => {
|
12
|
-
const t = n(f);
|
13
|
-
return (Array.isArray(t) ? t : [t]).map((h) => {
|
14
|
-
const o = n(h);
|
15
|
-
return typeof o == "string" ? o : A(o);
|
16
|
-
}).filter(g);
|
17
|
-
});
|
18
|
-
return F(
|
19
|
-
d,
|
20
|
-
(t) => {
|
21
|
-
t.length && (e = T(t, {
|
22
|
-
...p,
|
23
|
-
onActivate() {
|
24
|
-
r.value = !0, a.onActivate && a.onActivate();
|
25
|
-
},
|
26
|
-
onDeactivate() {
|
27
|
-
r.value = !1, a.onDeactivate && a.onDeactivate();
|
28
|
-
}
|
29
|
-
}), l && c());
|
30
|
-
},
|
31
|
-
{ flush: "post" }
|
32
|
-
), y(() => u()), {
|
33
|
-
hasFocus: r,
|
34
|
-
isPaused: s,
|
35
|
-
activate: c,
|
36
|
-
deactivate: u,
|
37
|
-
pause: v,
|
38
|
-
unpause: m
|
39
|
-
};
|
40
|
-
}
|
1
|
+
import t from "./index265.js";
|
2
|
+
const r = t;
|
41
3
|
export {
|
42
|
-
|
4
|
+
r as throttle
|
43
5
|
};
|
package/dist/index209.js
CHANGED
@@ -1,8 +1,43 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
})
|
1
|
+
import { unrefElement as A } from "./index132.js";
|
2
|
+
import { toValue as n, notNullish as g, tryOnScopeDispose as y } from "./index232.js";
|
3
|
+
import { ref as i, computed as D, watch as F } from "vue";
|
4
|
+
import { createFocusTrap as T } from "./index263.js";
|
5
|
+
function E(f, a = {}) {
|
6
|
+
let e;
|
7
|
+
const { immediate: l, ...p } = a, r = i(!1), s = i(!1), c = (t) => e && e.activate(t), u = (t) => e && e.deactivate(t), v = () => {
|
8
|
+
e && (e.pause(), s.value = !0);
|
9
|
+
}, m = () => {
|
10
|
+
e && (e.unpause(), s.value = !1);
|
11
|
+
}, d = D(() => {
|
12
|
+
const t = n(f);
|
13
|
+
return (Array.isArray(t) ? t : [t]).map((h) => {
|
14
|
+
const o = n(h);
|
15
|
+
return typeof o == "string" ? o : A(o);
|
16
|
+
}).filter(g);
|
17
|
+
});
|
18
|
+
return F(
|
19
|
+
d,
|
20
|
+
(t) => {
|
21
|
+
t.length && (e = T(t, {
|
22
|
+
...p,
|
23
|
+
onActivate() {
|
24
|
+
r.value = !0, a.onActivate && a.onActivate();
|
25
|
+
},
|
26
|
+
onDeactivate() {
|
27
|
+
r.value = !1, a.onDeactivate && a.onDeactivate();
|
28
|
+
}
|
29
|
+
}), l && c());
|
30
|
+
},
|
31
|
+
{ flush: "post" }
|
32
|
+
), y(() => u()), {
|
33
|
+
hasFocus: r,
|
34
|
+
isPaused: s,
|
35
|
+
activate: c,
|
36
|
+
deactivate: u,
|
37
|
+
pause: v,
|
38
|
+
unpause: m
|
39
|
+
};
|
40
|
+
}
|
6
41
|
export {
|
7
|
-
|
42
|
+
E as useFocusTrap
|
8
43
|
};
|