bitboss-ui 2.0.102 → 2.0.103
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/BaseSelect/BaseSelect.vue.d.ts +10 -16
- package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +109 -7
- package/dist/components/BbSelect/BbSelect.vue.d.ts +2 -16
- package/dist/composables/useBaseOptions.d.ts +31 -0
- package/dist/composables/useCoherence.d.ts +20 -0
- package/dist/composables/useHashedWatcher.d.ts +2 -0
- package/dist/composables/useIndexById.d.ts +11 -0
- package/dist/composables/useItemsGetter.d.ts +12 -0
- package/dist/composables/usePrefill.d.ts +12 -0
- package/dist/index100.js +88 -60
- package/dist/index101.js +10 -13
- package/dist/index111.js +154 -126
- package/dist/index119.js +2 -2
- package/dist/index121.js +5 -5
- package/dist/index123.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 +69 -65
- package/dist/index15.js +4 -4
- package/dist/index17.js +3 -3
- package/dist/index19.js +126 -82
- package/dist/index205.js +52 -80
- package/dist/index207.js +13 -5
- package/dist/index208.js +19 -15
- package/dist/index209.js +4 -16
- package/dist/index21.js +14 -14
- package/dist/index210.js +124 -17
- package/dist/index211.js +5 -19
- package/dist/index212.js +121 -23
- package/dist/index213.js +19 -3
- package/dist/index214.js +16 -2
- package/dist/index215.js +16 -8
- package/dist/index216.js +2 -250
- package/dist/index217.js +2 -52
- package/dist/index218.js +41 -44
- package/dist/index219.js +6 -5
- package/dist/index220.js +5 -60
- package/dist/index221.js +10 -51
- package/dist/index222.js +371 -0
- package/dist/index223.js +2 -13
- package/dist/index224.js +4 -2
- package/dist/index225.js +2 -4
- package/dist/index226.js +3 -2
- package/dist/index227.js +7 -20
- package/dist/index228.js +8 -4
- package/dist/index229.js +3 -3
- package/dist/index23.js +16 -16
- package/dist/index230.js +84 -168
- package/dist/index232.js +10 -0
- package/dist/index233.js +25 -8
- package/dist/index234.js +14 -123
- package/dist/index235.js +47 -124
- package/dist/index236.js +15 -2
- package/dist/index237.js +11 -40
- package/dist/index238.js +16 -6
- package/dist/index239.js +19 -5
- package/dist/index240.js +27 -12
- package/dist/index241.js +247 -366
- package/dist/index242.js +52 -3
- package/dist/index243.js +44 -7
- package/dist/index244.js +5 -2
- package/dist/index245.js +59 -17
- package/dist/index246.js +2 -106
- package/dist/index247.js +117 -0
- package/dist/index248.js +3 -100
- package/dist/index249.js +4 -0
- package/dist/index25.js +6 -6
- package/dist/index250.js +18 -2
- package/dist/index251.js +106 -2
- package/dist/index253.js +100 -3
- package/dist/index255.js +12 -23
- package/dist/index256.js +2 -89
- package/dist/index257.js +4 -0
- package/dist/index258.js +10 -9
- package/dist/index259.js +3 -6
- package/dist/index260.js +6 -16
- package/dist/index261.js +15 -8
- package/dist/index262.js +9 -8
- package/dist/index263.js +23 -281
- package/dist/index264.js +89 -6
- package/dist/index266.js +3 -2
- package/dist/index268.js +7 -2
- package/dist/index269.js +176 -2
- package/dist/index27.js +1 -1
- package/dist/index270.js +281 -2
- package/dist/index271.js +6 -2
- package/dist/index272.js +2 -2
- package/dist/index273.js +2 -2
- package/dist/index274.js +2 -2
- package/dist/index275.js +2 -28
- package/dist/index276.js +2 -22
- package/dist/index277.js +128 -0
- package/dist/index278.js +429 -5
- package/dist/index279.js +22 -3
- package/dist/index281.js +2 -4
- package/dist/index282.js +4 -224
- package/dist/index283.js +23 -171
- package/dist/index284.js +200 -3
- package/dist/index285.js +435 -11
- package/dist/index286.js +125 -7
- package/dist/index287.js +87 -15
- package/dist/index288.js +8 -3
- package/dist/index289.js +3 -7
- package/dist/index29.js +3 -3
- package/dist/index290.js +7 -11
- package/dist/index291.js +11 -2
- package/dist/index292.js +15 -124
- package/dist/index293.js +9 -431
- package/dist/index294.js +7 -21
- package/dist/index296.js +2 -2
- package/dist/index297.js +2 -89
- package/dist/index298.js +2 -200
- package/dist/index299.js +2 -436
- package/dist/index300.js +2 -127
- package/dist/index301.js +22 -2
- package/dist/index303.js +224 -3
- package/dist/index304.js +3 -213
- package/dist/index305.js +2 -65
- package/dist/index306.js +213 -5
- package/dist/index307.js +2 -3
- package/dist/index308.js +5 -3
- package/dist/index309.js +66 -3
- package/dist/index31.js +2 -2
- package/dist/index310.js +3 -58
- package/dist/index311.js +3 -33
- package/dist/index312.js +57 -7
- package/dist/index313.js +32 -7
- package/dist/index314.js +1 -1
- package/dist/index315.js +1 -1
- package/dist/index316.js +3 -7
- package/dist/index317.js +3 -18
- package/dist/index318.js +8 -7
- package/dist/index319.js +8 -4
- package/dist/index320.js +7 -2
- package/dist/index321.js +17 -45
- package/dist/index322.js +7 -480
- package/dist/index323.js +49 -0
- package/dist/index324.js +2 -424
- package/dist/index326.js +480 -2
- package/dist/index327.js +426 -0
- package/dist/index329.js +4 -0
- package/dist/index33.js +102 -61
- package/dist/index35.js +3 -3
- package/dist/index37.js +284 -244
- package/dist/index39.js +5 -5
- package/dist/index41.js +2 -2
- package/dist/index43.js +129 -84
- package/dist/index45.js +122 -120
- package/dist/index47.js +2 -2
- package/dist/index49.js +2 -2
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- 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 +3 -3
- 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/composables/useOptions.d.ts +0 -43
- package/dist/index206.js +0 -4
- package/dist/index231.js +0 -86
- package/dist/index252.js +0 -12
- package/dist/index254.js +0 -11
- package/dist/index265.js +0 -4
- package/dist/index302.js +0 -5
- /package/dist/{index267.js → index295.js} +0 -0
- /package/dist/{index325.js → index328.js} +0 -0
package/dist/index49.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as m, computed as c, openBlock as b, createElementBlock as f, Fragment as y, createVNode as r, normalizeClass as h, withCtx as n, renderSlot as t, createElementVNode as l, mergeProps as g } from "vue";
|
2
|
-
import B from "./
|
2
|
+
import B from "./index205.js";
|
3
3
|
/* empty css */
|
4
|
-
import k from "./
|
4
|
+
import k from "./index207.js";
|
5
5
|
const w = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "type", "value"], V = /* @__PURE__ */ m({
|
6
6
|
__name: "BaseTextInput",
|
7
7
|
props: {
|
package/dist/index55.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as z, computed as b, ref as o, onMounted as g, openBlock as l, createElementBlock as i, normalizeProps as h, guardReactiveProps as k, renderSlot as y } from "vue";
|
2
|
-
import { isCssColor as _ } from "./
|
2
|
+
import { isCssColor as _ } from "./index223.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 "./index223.js";
|
3
|
+
import { isNil as B } from "./index257.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
@@ -7,8 +7,8 @@ import r from "./index127.js";
|
|
7
7
|
/* empty css */
|
8
8
|
import P from "./index129.js";
|
9
9
|
/* empty css */
|
10
|
-
import { pickBy as $ } from "./
|
11
|
-
import { noop as A } from "./
|
10
|
+
import { pickBy as $ } from "./index258.js";
|
11
|
+
import { noop as A } from "./index259.js";
|
12
12
|
const T = {
|
13
13
|
key: 2,
|
14
14
|
class: "bb-button__loading-label sr-only"
|
package/dist/index75.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import { defineComponent as X, computed as A, ref as y, openBlock as $, createElementBlock as T, mergeProps as B, createElementVNode as H, renderSlot as w, normalizeProps as Y, guardReactiveProps as Z, unref as h, createVNode as C, withCtx as O, normalizeStyle as x, Fragment as K, renderList as ee, createBlock as P, createCommentVNode as N, toDisplayString as te } from "vue";
|
2
|
-
import { findRightIndex as I } from "./
|
2
|
+
import { findRightIndex as I } from "./index262.js";
|
3
3
|
import { useId as ne } from "./index8.js";
|
4
4
|
import { wait as oe } from "./index130.js";
|
5
5
|
import { useIntersectionObserver as ae } from "./index132.js";
|
6
6
|
import le from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import V from "./
|
9
|
-
import se from "./
|
8
|
+
import V from "./index263.js";
|
9
|
+
import se from "./index264.js";
|
10
10
|
/* empty css */
|
11
11
|
import j from "./index127.js";
|
12
12
|
/* empty css */
|
package/dist/index79.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as j, ref as g, watch as x, computed as m, openBlock as V, createBlock as G, 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 "./index261.js";
|
3
3
|
import { useId as re } from "./index8.js";
|
4
4
|
import oe from "./index128.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("./index260.js")).default);
|
57
57
|
const o = b.getType(r);
|
58
58
|
if (!o)
|
59
59
|
throw new Error(
|
package/dist/index81.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, openBlock as g, createBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
|
2
|
-
import { throttle as c } from "./
|
2
|
+
import { throttle as c } from "./index226.js";
|
3
3
|
const M = /* @__PURE__ */ h({
|
4
4
|
__name: "BbIntersection",
|
5
5
|
props: {
|
package/dist/index84.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent as le, ref as l, useAttrs as se, computed as u, getCurrentInstance as ae, nextTick as ne, onBeforeUnmount as O, onMounted as ie, watch as re, openBlock as g, createBlock as ue, withCtx as ce, createElementVNode as s, mergeProps as S, createElementBlock as z, renderSlot as n, createTextVNode as de, toDisplayString as A, createCommentVNode as $ } from "vue";
|
2
|
-
import { useFocusTrap as fe } from "./
|
2
|
+
import { useFocusTrap as fe } from "./index218.js";
|
3
3
|
import { useId as E } from "./index8.js";
|
4
4
|
import { wait as H } from "./index130.js";
|
5
|
-
import { useModalsState as b } from "./
|
6
|
-
import ve from "./
|
5
|
+
import { useModalsState as b } from "./index227.js";
|
6
|
+
import ve from "./index221.js";
|
7
7
|
import { useMobile as pe } from "./index9.js";
|
8
8
|
const be = ["inert"], me = { class: "bb-offcanvas-close" }, ye = ["aria-label"], Ve = /* @__PURE__ */ le({
|
9
9
|
__name: "BbOffCanvas",
|
package/dist/index86.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as P, computed as _, ref as g, onMounted as A, onBeforeUnmount as E, openBlock as y, createElementBlock as k, normalizeClass as C, createElementVNode as i, createVNode as V, unref as S, withCtx as h, renderSlot as v, Fragment as W, renderList as R, toDisplayString as M, nextTick as $ } from "vue";
|
2
|
-
import { debounce as F } from "./
|
2
|
+
import { debounce as F } from "./index288.js";
|
3
3
|
/* empty css */
|
4
4
|
/* empty css */
|
5
5
|
import w from "./index13.js";
|
package/dist/index88.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import { defineComponent as M, ref as n, computed as v, openBlock as k, createElementBlock as O, mergeProps as F, createElementVNode as p, renderSlot as y, normalizeProps as S, guardReactiveProps as H, createVNode as V, withCtx as C, createBlock as q, createCommentVNode as I, nextTick as W } from "vue";
|
2
|
-
import { useFocusTrap as z } from "./
|
2
|
+
import { useFocusTrap as z } from "./index218.js";
|
3
3
|
import { useId as A } from "./index8.js";
|
4
4
|
import { useIntersectionObserver as R } from "./index132.js";
|
5
|
-
import { waitFor as j } from "./
|
5
|
+
import { waitFor as j } from "./index219.js";
|
6
6
|
import G from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import J from "./
|
8
|
+
import J from "./index264.js";
|
9
9
|
/* empty css */
|
10
|
-
import { useDebounceFn as K } from "./
|
10
|
+
import { useDebounceFn as K } from "./index247.js";
|
11
11
|
const re = /* @__PURE__ */ M({
|
12
12
|
__name: "BbPopover",
|
13
13
|
props: {
|
package/dist/index90.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as r, computed as a, openBlock as l, createElementBlock 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 "./index246.js";
|
3
3
|
import { getAsPercentageBetween as i } from "./index131.js";
|
4
4
|
const _ = /* @__PURE__ */ r({
|
5
5
|
__name: "BbProgress",
|
package/package.json
CHANGED
@@ -1,43 +0,0 @@
|
|
1
|
-
import { Ref } from 'vue';
|
2
|
-
import { Option as BaseOption } from '../types/Option';
|
3
|
-
type Options = {
|
4
|
-
multiple: boolean;
|
5
|
-
stash: boolean;
|
6
|
-
itemText: string | ((item: any) => string) | undefined;
|
7
|
-
itemValue: string | ((item: any) => string) | undefined;
|
8
|
-
max?: number;
|
9
|
-
modelValue: Ref<any>;
|
10
|
-
resetQueryOnOptionSelected: boolean;
|
11
|
-
emit: any;
|
12
|
-
items: Ref<any>;
|
13
|
-
enforceCoherence: boolean;
|
14
|
-
prefill: boolean;
|
15
|
-
modelValueDebounceTime: number;
|
16
|
-
depsDebounceTime: number;
|
17
|
-
dependencies: Ref<any[]>;
|
18
|
-
queryDebounceTime: number;
|
19
|
-
disabled: Ref<boolean>;
|
20
|
-
};
|
21
|
-
export declare const useOptions: (params: Options) => {
|
22
|
-
addCurrentQueryToManualItems: () => void;
|
23
|
-
alignQueryToState: () => void;
|
24
|
-
getOptions: ({ prefill }: {
|
25
|
-
prefill?: boolean | undefined;
|
26
|
-
}) => Promise<void>;
|
27
|
-
hasPrefilled: Ref<boolean, boolean>;
|
28
|
-
innerLoading: Ref<number, number>;
|
29
|
-
isPrefilling: Ref<boolean, boolean>;
|
30
|
-
manualItems: Ref<BaseOption[], BaseOption[]>;
|
31
|
-
options: import('vue').ComputedRef<BaseOption[]>;
|
32
|
-
prefillItems: () => Promise<void>;
|
33
|
-
query: Ref<string, string>;
|
34
|
-
searchByQuery: () => void;
|
35
|
-
selectedOptions: import('vue').ComputedRef<BaseOption[]>;
|
36
|
-
selectOption: (option: BaseOption) => void;
|
37
|
-
setStash: (...items: BaseOption[]) => void;
|
38
|
-
unselectOption: (option: BaseOption) => Promise<void>;
|
39
|
-
updateModelValue: (value: any) => void;
|
40
|
-
valueIsSelected: (value: any) => boolean;
|
41
|
-
internalItems: Ref<any[], any[]>;
|
42
|
-
};
|
43
|
-
export {};
|
package/dist/index206.js
DELETED
package/dist/index231.js
DELETED
@@ -1,86 +0,0 @@
|
|
1
|
-
import { defineComponent as b, openBlock as t, createElementBlock as n, normalizeClass as r, createElementVNode as l, renderSlot as s, createTextVNode as o, toDisplayString as d, createCommentVNode as h, Fragment as c, renderList as m } from "vue";
|
2
|
-
const p = { class: "bb-cr-container__container" }, u = {
|
3
|
-
key: 0,
|
4
|
-
class: "bb-cr-container__loading-container"
|
5
|
-
}, g = {
|
6
|
-
key: 1,
|
7
|
-
class: "bb-cr-container__no-data-container"
|
8
|
-
}, f = /* @__PURE__ */ b({
|
9
|
-
__name: "OptionsContainer",
|
10
|
-
props: {
|
11
|
-
direction: {},
|
12
|
-
hasErrors: { type: Boolean },
|
13
|
-
hideLabel: { type: Boolean },
|
14
|
-
loadingText: {},
|
15
|
-
loading: { type: Boolean },
|
16
|
-
noDataText: {},
|
17
|
-
options: {}
|
18
|
-
},
|
19
|
-
setup(k) {
|
20
|
-
return (a, y) => (t(), n("span", {
|
21
|
-
ref: "container",
|
22
|
-
class: r(["bb-cr-container", {
|
23
|
-
"bb-cr-container--errors": a.hasErrors,
|
24
|
-
"bb-cr-container--horizontal": a.direction === "horizontal",
|
25
|
-
"bb-cr-container--vertical": a.direction === "vertical"
|
26
|
-
}])
|
27
|
-
}, [
|
28
|
-
l("span", p, [
|
29
|
-
s(a.$slots, "prepend"),
|
30
|
-
!a.options.length && a.loading ? (t(), n("span", u, [
|
31
|
-
s(a.$slots, "loading", {}, () => [
|
32
|
-
o(d(a.loadingText), 1)
|
33
|
-
])
|
34
|
-
])) : a.options.length ? h("", !0) : (t(), n("span", g, [
|
35
|
-
s(a.$slots, "no-data", {}, () => [
|
36
|
-
o(d(a.noDataText), 1)
|
37
|
-
])
|
38
|
-
])),
|
39
|
-
(t(!0), n(c, null, m(a.options, (e, i) => (t(), n(c, {
|
40
|
-
key: (e == null ? void 0 : e.valueHash) || i
|
41
|
-
}, [
|
42
|
-
s(a.$slots, "option:prepend", {
|
43
|
-
id: e.valueHash,
|
44
|
-
checked: !!e.selected,
|
45
|
-
disabled: !!e.disabled,
|
46
|
-
item: e.item,
|
47
|
-
text: e.text
|
48
|
-
}),
|
49
|
-
l("label", {
|
50
|
-
class: r(["bb-cr-container-option", { "bb-base-radio-selected": e.selected }])
|
51
|
-
}, [
|
52
|
-
s(a.$slots, "input", {
|
53
|
-
index: i,
|
54
|
-
option: e
|
55
|
-
}),
|
56
|
-
l("span", {
|
57
|
-
class: r({
|
58
|
-
"bb-cr-container-option__text": !0,
|
59
|
-
"sr-only": a.hideLabel
|
60
|
-
})
|
61
|
-
}, [
|
62
|
-
s(a.$slots, "label", {
|
63
|
-
checked: !!e.selected,
|
64
|
-
item: e.item,
|
65
|
-
text: e.text
|
66
|
-
}, () => [
|
67
|
-
o(d(e.text), 1)
|
68
|
-
])
|
69
|
-
], 2)
|
70
|
-
], 2),
|
71
|
-
s(a.$slots, "option:append", {
|
72
|
-
id: e.valueHash,
|
73
|
-
checked: !!e.selected,
|
74
|
-
disabled: !!e.disabled,
|
75
|
-
item: e.item,
|
76
|
-
text: e.text
|
77
|
-
})
|
78
|
-
], 64))), 128)),
|
79
|
-
s(a.$slots, "append")
|
80
|
-
])
|
81
|
-
], 2));
|
82
|
-
}
|
83
|
-
});
|
84
|
-
export {
|
85
|
-
f as default
|
86
|
-
};
|
package/dist/index252.js
DELETED
package/dist/index254.js
DELETED
package/dist/index265.js
DELETED
package/dist/index302.js
DELETED
File without changes
|
File without changes
|