bitboss-ui 2.0.157 → 2.0.159
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/BaseDialog/BaseDialog.vue.d.ts +2 -2
- package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +13 -0
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +3 -3
- package/dist/components/BbPopover/BbPopover.vue.d.ts +1 -1
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +2 -2
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +14 -0
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +1 -1
- package/dist/index100.js +3 -3
- package/dist/index111.js +6 -6
- package/dist/index117.js +26 -20
- package/dist/index119.js +1 -1
- package/dist/index121.js +6 -6
- package/dist/index123.js +1 -1
- package/dist/index125.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index128.js +13 -13
- package/dist/index129.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index131.js +1 -1
- package/dist/index133.js +1 -1
- package/dist/index15.js +8 -8
- package/dist/index17.js +3 -3
- package/dist/index207.js +4 -2
- package/dist/index208.js +41 -2
- package/dist/index209.js +20 -2
- package/dist/index21.js +15 -15
- package/dist/index210.js +94 -4
- package/dist/index212.js +200 -3
- package/dist/index214.js +65 -5
- package/dist/index216.js +13 -8
- package/dist/index217.js +12 -14
- package/dist/index218.js +2 -13
- package/dist/index219.js +1 -1
- package/dist/index223.js +3 -3
- package/dist/index224.js +1 -1
- package/dist/index225.js +1 -1
- package/dist/index228.js +5 -66
- package/dist/index229.js +18 -0
- package/dist/index23.js +16 -16
- package/dist/index230.js +16 -13
- package/dist/index231.js +19 -5
- package/dist/index232.js +14 -124
- package/dist/index233.js +16 -13
- package/dist/index234.js +24 -13
- package/dist/index235.js +2 -19
- package/dist/index236.js +8 -15
- package/dist/index237.js +250 -2
- package/dist/index238.js +52 -2
- package/dist/index239.js +43 -19
- package/dist/index240.js +5 -94
- package/dist/index241.js +62 -0
- package/dist/index242.js +3 -2
- package/dist/index243.js +6 -4
- package/dist/index244.js +7 -200
- package/dist/index245.js +17 -0
- package/dist/index246.js +34 -19
- package/dist/index247.js +121 -23
- package/dist/index248.js +2 -250
- package/dist/index249.js +2 -52
- package/dist/index25.js +107 -128
- package/dist/index250.js +2 -44
- package/dist/index251.js +4 -5
- package/dist/index252.js +2 -60
- package/dist/index253.js +2 -3
- package/dist/index254.js +102 -30
- package/dist/index256.js +100 -2
- package/dist/index258.js +20 -0
- package/dist/index259.js +124 -98
- package/dist/index260.js +14 -0
- package/dist/index261.js +227 -17
- package/dist/index262.js +353 -110
- package/dist/index263.js +2 -12
- package/dist/index264.js +2 -228
- package/dist/index265.js +162 -355
- package/dist/index268.js +6 -9
- package/dist/index269.js +16 -23
- package/dist/index27.js +1 -1
- package/dist/index270.js +3 -6
- package/dist/index271.js +8 -15
- package/dist/index272.js +23 -9
- package/dist/index273.js +430 -3
- package/dist/index274.js +3 -431
- package/dist/index275.js +3 -2
- package/dist/index276.js +3 -89
- package/dist/index278.js +7 -11
- package/dist/index279.js +7 -3
- package/dist/index280.js +11 -17
- package/dist/index281.js +3 -9
- package/dist/index282.js +14 -25
- package/dist/index283.js +8 -199
- package/dist/index284.js +28 -3
- package/dist/index285.js +202 -0
- package/dist/index286.js +281 -7
- package/dist/index287.js +5 -280
- package/dist/index288.js +2 -6
- package/dist/index289.js +2 -2
- package/dist/index29.js +3 -3
- package/dist/index290.js +2 -2
- package/dist/index295.js +2 -176
- package/dist/index296.js +2 -3
- package/dist/index297.js +2 -3
- package/dist/index298.js +2 -8
- package/dist/index299.js +22 -2
- package/dist/index301.js +224 -2
- package/dist/index302.js +1 -1
- package/dist/index303.js +1 -1
- package/dist/index304.js +2 -2
- package/dist/index305.js +9 -22
- package/dist/index306.js +10 -0
- package/dist/index307.js +4 -224
- package/dist/index308.js +3 -2
- package/dist/index309.js +1 -1
- package/dist/index31.js +2 -2
- package/dist/index310.js +126 -3
- package/dist/index311.js +2 -126
- package/dist/index312.js +436 -2
- package/dist/index313.js +113 -422
- package/dist/index314.js +7 -126
- package/dist/index315.js +6 -3
- package/dist/index316.js +8 -3
- package/dist/index317.js +5 -58
- package/dist/index318.js +1 -1
- package/dist/index319.js +1 -1
- package/dist/index320.js +1 -1
- package/dist/index321.js +480 -2
- package/dist/index322.js +2 -5
- package/dist/index323.js +7 -58
- package/dist/index324.js +33 -33
- package/dist/index325.js +57 -32
- package/dist/index326.js +33 -28
- package/dist/index327.js +30 -0
- package/dist/index329.js +4 -480
- package/dist/index330.js +6 -7
- package/dist/index331.js +18 -5
- package/dist/index332.js +3 -8
- package/dist/index333.js +3 -7
- package/dist/index334.js +56 -17
- package/dist/index335.js +88 -6
- package/dist/index339.js +1 -1
- package/dist/index35.js +4 -4
- package/dist/index37.js +15 -15
- package/dist/index39.js +4 -4
- package/dist/index41.js +2 -2
- package/dist/index45.js +6 -6
- package/dist/index47.js +2 -2
- package/dist/index49.js +79 -40
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index61.js +1 -1
- package/dist/index75.js +3 -3
- package/dist/index77.js +1 -1
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index84.js +4 -4
- package/dist/index86.js +2 -2
- package/dist/index88.js +4 -4
- package/dist/index90.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index211.js +0 -4
- package/dist/index213.js +0 -43
- package/dist/index215.js +0 -9
- package/dist/index255.js +0 -4
- package/dist/index257.js +0 -108
- package/dist/index277.js +0 -9
- package/dist/index300.js +0 -4
- package/dist/index328.js +0 -6
@@ -77,10 +77,10 @@ declare const __VLS_component: import('vue').DefineComponent<BaseDialogProps, {}
|
|
77
77
|
size?: any;
|
78
78
|
} & string) | keyof Sizes;
|
79
79
|
transition: string;
|
80
|
-
|
80
|
+
transitionDuration: number;
|
81
81
|
overlayClasses: import('../../types/Classes').Classes;
|
82
|
+
panelClasses: import('../../types/Classes').Classes;
|
82
83
|
showClose: boolean;
|
83
|
-
transitionDuration: number;
|
84
84
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
85
85
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
86
86
|
export default _default;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
2
|
+
import { MaskInputOptions } from 'maska';
|
2
3
|
export type BaseTextInputProps = {
|
3
4
|
/**
|
4
5
|
* Name of the icon to be added at the end of the input.
|
@@ -28,6 +29,10 @@ export type BaseTextInputProps = {
|
|
28
29
|
* Disables the component
|
29
30
|
*/
|
30
31
|
disabled?: boolean;
|
32
|
+
/**
|
33
|
+
* Emits the masked value of the input.
|
34
|
+
*/
|
35
|
+
emitMasked?: boolean;
|
31
36
|
/**
|
32
37
|
* Define if the component should be in an error state.
|
33
38
|
* It usually attaches a CSS class for styling purposes.
|
@@ -37,10 +42,18 @@ export type BaseTextInputProps = {
|
|
37
42
|
* The identifier of the component.
|
38
43
|
*/
|
39
44
|
id?: HTMLAttributes['id'];
|
45
|
+
/**
|
46
|
+
* The inputmode of the input.
|
47
|
+
*/
|
48
|
+
inputMode?: InputHTMLAttributes['inputmode'];
|
40
49
|
/**
|
41
50
|
* Sets the component in a loading state, usually triggering some visual styles.
|
42
51
|
*/
|
43
52
|
loading?: boolean;
|
53
|
+
/**
|
54
|
+
* The mask to be applied to the input.
|
55
|
+
*/
|
56
|
+
mask?: MaskInputOptions;
|
44
57
|
/**
|
45
58
|
* Used my v-model
|
46
59
|
*/
|
@@ -84,11 +84,11 @@ declare const __VLS_component: import('vue').DefineComponent<BbOffCanvasProps, {
|
|
84
84
|
size?: any;
|
85
85
|
} & string) | keyof Sizes;
|
86
86
|
transition: string;
|
87
|
-
panelClasses: import('../../types/Classes').Classes;
|
88
|
-
overlayClasses: import('../../types/Classes').Classes;
|
89
|
-
showClose: boolean;
|
90
87
|
transitionDuration: number;
|
91
88
|
direction: "left" | "top" | "right" | "bottom";
|
89
|
+
overlayClasses: import('../../types/Classes').Classes;
|
90
|
+
panelClasses: import('../../types/Classes').Classes;
|
91
|
+
showClose: boolean;
|
92
92
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
93
93
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
94
94
|
export default _default;
|
@@ -87,12 +87,12 @@ declare const __VLS_component: import('vue').DefineComponent<BbPopoverProps, {
|
|
87
87
|
onShown?: (() => any) | undefined;
|
88
88
|
onHidden?: (() => any) | undefined;
|
89
89
|
}>, {
|
90
|
-
showClose: boolean;
|
91
90
|
transitionDuration: number;
|
92
91
|
arrowPadding: number;
|
93
92
|
offset: number;
|
94
93
|
padding: number;
|
95
94
|
placement: "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
95
|
+
showClose: boolean;
|
96
96
|
theme: string;
|
97
97
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
98
98
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
@@ -29,9 +29,9 @@ declare function __VLS_template(): {
|
|
29
29
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
30
30
|
declare const __VLS_component: import('vue').DefineComponent<BbSmoothHeightProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BbSmoothHeightProps> & Readonly<{}>, {
|
31
31
|
transitionDuration: number;
|
32
|
-
tag: keyof Omit<HTMLElementTagNameMap, import('../../types/VoidHtmlElements').VoidHTMLElements>;
|
33
|
-
strategy: "resize" | "mutation";
|
34
32
|
mutationOptions: MutationObserverInit;
|
33
|
+
strategy: "resize" | "mutation";
|
34
|
+
tag: keyof Omit<HTMLElementTagNameMap, import('../../types/VoidHtmlElements').VoidHTMLElements>;
|
35
35
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
36
36
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
37
37
|
export default _default;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { BaseTextInputEvents, BaseTextInputSlots } from '../BaseTextInput/BaseTextInput.vue';
|
2
2
|
import { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
3
|
+
import { MaskOptions } from 'maska';
|
3
4
|
export type BbTextInputProps = {
|
4
5
|
/**
|
5
6
|
* Name of the icon to be added at the end of the input.
|
@@ -29,6 +30,10 @@ export type BbTextInputProps = {
|
|
29
30
|
* Disables the component
|
30
31
|
*/
|
31
32
|
disabled?: boolean;
|
33
|
+
/**
|
34
|
+
* Emits the masked value of the input.
|
35
|
+
*/
|
36
|
+
emitMasked?: boolean;
|
32
37
|
/**
|
33
38
|
* Can be a string or an array of string containing the messages to display.
|
34
39
|
*/
|
@@ -50,6 +55,10 @@ export type BbTextInputProps = {
|
|
50
55
|
* The identifier of the component.
|
51
56
|
*/
|
52
57
|
id?: HTMLAttributes['id'];
|
58
|
+
/**
|
59
|
+
* The inputmode of the input.
|
60
|
+
*/
|
61
|
+
inputMode?: InputHTMLAttributes['inputmode'];
|
53
62
|
/**
|
54
63
|
* Text content of the label of the element.
|
55
64
|
*/
|
@@ -62,6 +71,11 @@ export type BbTextInputProps = {
|
|
62
71
|
* Sets the component in a loading state, usually triggering some visual styles.
|
63
72
|
*/
|
64
73
|
loading?: boolean;
|
74
|
+
/**
|
75
|
+
* The mask to be applied to the input.
|
76
|
+
* Please visit https://beholdr.github.io/maska/v3 for syntax examples
|
77
|
+
*/
|
78
|
+
mask?: MaskOptions;
|
65
79
|
/**
|
66
80
|
* Used my v-model
|
67
81
|
*/
|
@@ -37,11 +37,11 @@ declare function __VLS_template(): {
|
|
37
37
|
};
|
38
38
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
39
39
|
declare const __VLS_component: import('vue').DefineComponent<BbTooltipProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BbTooltipProps> & Readonly<{}>, {
|
40
|
-
showClose: boolean;
|
41
40
|
transitionDuration: number;
|
42
41
|
arrowPadding: number;
|
43
42
|
padding: number;
|
44
43
|
placement: "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
44
|
+
showClose: boolean;
|
45
45
|
theme: string;
|
46
46
|
timeout: number;
|
47
47
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
package/dist/index100.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as D, computed as V, toRef as r, reactive as E, watch as m, ref as L, openBlock as b, createElementBlock as B, Fragment as g, renderSlot as i, unref as P, createCommentVNode as R, renderList as j } from "vue";
|
2
|
-
import { useItemValue as G } from "./
|
3
|
-
import { isNil as k } from "./
|
4
|
-
import { indexBy as U } from "./
|
2
|
+
import { useItemValue as G } from "./index283.js";
|
3
|
+
import { isNil as k } from "./index264.js";
|
4
|
+
import { indexBy as U } from "./index306.js";
|
5
5
|
import { hash as p } from "./index225.js";
|
6
6
|
import { useItemsGetter as W } from "./index221.js";
|
7
7
|
import { usePrefill as q } from "./index227.js";
|
package/dist/index111.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import { defineComponent as ue, ref as K, computed as h, toRef as O, watch as D, reactive as pe, openBlock as n, createBlock as Q, resolveDynamicComponent as me, normalizeClass as p, unref as v, withCtx as fe, createElementBlock as d, toDisplayString as m, createCommentVNode as g, createElementVNode as o, renderSlot as f, Fragment as A, renderList as B, createVNode as X, createTextVNode as ye, mergeProps as he } from "vue";
|
2
|
-
import { add as ve } from "./
|
3
|
-
import { clamp as ke } from "./
|
4
|
-
import { isNil as T } from "./
|
2
|
+
import { add as ve } from "./index322.js";
|
3
|
+
import { clamp as ke } from "./index218.js";
|
4
|
+
import { isNil as T } from "./index264.js";
|
5
5
|
import { useId as _e } from "./index8.js";
|
6
|
-
import { useItemValue as ge } from "./
|
7
|
-
import { when as Ce } from "./
|
6
|
+
import { useItemValue as ge } from "./index283.js";
|
7
|
+
import { when as Ce } from "./index251.js";
|
8
8
|
import Y from "./index17.js";
|
9
9
|
/* empty css */
|
10
10
|
import we from "./index31.js";
|
@@ -15,7 +15,7 @@ import { usePrefill as Ve } from "./index227.js";
|
|
15
15
|
import { useIndexById as Ae } from "./index222.js";
|
16
16
|
import { useBaseOptions as Be } from "./index223.js";
|
17
17
|
import { useHashedWatcher as Te } from "./index226.js";
|
18
|
-
import { useLocale as $e } from "./
|
18
|
+
import { useLocale as $e } from "./index217.js";
|
19
19
|
const xe = {
|
20
20
|
key: 0,
|
21
21
|
class: "sr-only"
|
package/dist/index117.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
import { defineComponent as c, ref as b, computed as h, openBlock as
|
2
|
-
import
|
1
|
+
import { defineComponent as c, ref as b, computed as h, openBlock as y, createBlock as f, withCtx as a, renderSlot as n, normalizeProps as k, guardReactiveProps as v, createVNode as B, mergeProps as w } from "vue";
|
2
|
+
import g from "./index27.js";
|
3
3
|
/* empty css */
|
4
|
-
import
|
4
|
+
import $ from "./index49.js";
|
5
5
|
/* empty css */
|
6
|
-
const
|
6
|
+
const L = /* @__PURE__ */ c({
|
7
7
|
__name: "BbTextInput",
|
8
8
|
props: {
|
9
9
|
"append:icon": {},
|
@@ -13,14 +13,17 @@ const E = /* @__PURE__ */ c({
|
|
13
13
|
compact: { type: Boolean },
|
14
14
|
direction: {},
|
15
15
|
disabled: { type: Boolean },
|
16
|
+
emitMasked: { type: Boolean },
|
16
17
|
errors: {},
|
17
18
|
hasErrors: { type: Boolean },
|
18
19
|
hideLabel: { type: Boolean },
|
19
20
|
hint: {},
|
20
21
|
id: {},
|
22
|
+
inputMode: {},
|
21
23
|
label: {},
|
22
24
|
labelPosition: {},
|
23
25
|
loading: { type: Boolean },
|
26
|
+
mask: {},
|
24
27
|
modelValue: {},
|
25
28
|
name: {},
|
26
29
|
persistentHint: { type: Boolean },
|
@@ -33,14 +36,14 @@ const E = /* @__PURE__ */ c({
|
|
33
36
|
},
|
34
37
|
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
35
38
|
setup(s, { emit: i }) {
|
36
|
-
const
|
39
|
+
const l = s, o = i, r = b(!1), d = h(() => l.persistentHint || r.value), t = {
|
37
40
|
onBlur: (e) => {
|
38
|
-
|
41
|
+
r.value = !1, o("blur", e);
|
39
42
|
},
|
40
43
|
onChange: (e) => o("change", e),
|
41
44
|
onClick: (e) => o("click", e),
|
42
45
|
onFocus: (e) => {
|
43
|
-
|
46
|
+
r.value = !0, o("focus", e);
|
44
47
|
},
|
45
48
|
onInput: (e) => o("input", e),
|
46
49
|
onKeydown: (e) => o("keydown", e),
|
@@ -48,7 +51,7 @@ const E = /* @__PURE__ */ c({
|
|
48
51
|
onMouseup: (e) => o("mouseup", e),
|
49
52
|
"onUpdate:modelValue": (e) => o("update:modelValue", e)
|
50
53
|
};
|
51
|
-
return (e, V) => (
|
54
|
+
return (e, V) => (y(), f(g, {
|
52
55
|
id: e.id,
|
53
56
|
class: "bb-text-input",
|
54
57
|
compact: e.compact,
|
@@ -65,53 +68,56 @@ const E = /* @__PURE__ */ c({
|
|
65
68
|
"show-hint": d.value
|
66
69
|
}, {
|
67
70
|
label: a((p) => [
|
68
|
-
|
71
|
+
n(e.$slots, "label", k(v(p)))
|
69
72
|
]),
|
70
73
|
input: a(({ id: p, hasErrors: u, ariaDescribedby: m }) => [
|
71
|
-
|
74
|
+
B($, w({
|
72
75
|
id: p,
|
73
|
-
"append:icon":
|
76
|
+
"append:icon": l["append:icon"],
|
74
77
|
"aria-describedby": m,
|
75
78
|
autocomplete: e.autocomplete,
|
76
79
|
autofocus: e.autofocus,
|
77
80
|
clearable: e.clearable,
|
78
81
|
compact: e.compact,
|
79
82
|
disabled: e.disabled,
|
83
|
+
"emit-masked": e.emitMasked,
|
80
84
|
"has-errors": u,
|
85
|
+
"input-mode": e.inputMode,
|
81
86
|
loading: e.loading,
|
87
|
+
mask: e.mask,
|
82
88
|
"model-value": e.modelValue,
|
83
89
|
name: e.name,
|
84
90
|
placeholder: e.placeholder,
|
85
|
-
"prepend:icon":
|
91
|
+
"prepend:icon": l["prepend:icon"],
|
86
92
|
readonly: e.readonly,
|
87
93
|
required: e.required,
|
88
94
|
type: e.type
|
89
95
|
}, t), {
|
90
96
|
"append-outer": a(() => [
|
91
|
-
|
97
|
+
n(e.$slots, "append-outer")
|
92
98
|
]),
|
93
99
|
append: a(() => [
|
94
|
-
|
100
|
+
n(e.$slots, "append")
|
95
101
|
]),
|
96
102
|
prefix: a(() => [
|
97
|
-
|
103
|
+
n(e.$slots, "prefix")
|
98
104
|
]),
|
99
105
|
suffix: a(() => [
|
100
|
-
|
106
|
+
n(e.$slots, "suffix")
|
101
107
|
]),
|
102
108
|
prepend: a(() => [
|
103
|
-
|
109
|
+
n(e.$slots, "prepend")
|
104
110
|
]),
|
105
111
|
"prepend-outer": a(() => [
|
106
|
-
|
112
|
+
n(e.$slots, "prepend-outer")
|
107
113
|
]),
|
108
114
|
_: 2
|
109
|
-
}, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "clearable", "compact", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "type"])
|
115
|
+
}, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "clearable", "compact", "disabled", "emit-masked", "has-errors", "input-mode", "loading", "mask", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "type"])
|
110
116
|
]),
|
111
117
|
_: 3
|
112
118
|
}, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
113
119
|
}
|
114
120
|
});
|
115
121
|
export {
|
116
|
-
|
122
|
+
L as default
|
117
123
|
};
|
package/dist/index119.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
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
2
|
import { state as k, useToast as b } from "./index11.js";
|
3
|
-
import C from "./
|
3
|
+
import C from "./index245.js";
|
4
4
|
import B from "./index320.js";
|
5
5
|
const V = /* @__PURE__ */ l({
|
6
6
|
__name: "BbToast",
|
package/dist/index121.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import { defineComponent as H, ref as o, watch as I, computed as z, openBlock as B, createElementBlock as R, mergeProps as S, createElementVNode as p, renderSlot as C, normalizeProps as U, guardReactiveProps as W, unref as u, createVNode as j, withCtx as L, createBlock as q, createCommentVNode as A } from "vue";
|
2
|
-
import { useFloating as G, arrow as J } from "./
|
2
|
+
import { useFloating as G, arrow as J } from "./index259.js";
|
3
3
|
import { useId as K } from "./index8.js";
|
4
4
|
import { wait as Q } from "./index130.js";
|
5
5
|
import X from "./index13.js";
|
6
6
|
/* empty css */
|
7
|
-
import { throttle as b } from "./
|
8
|
-
import { waitFor as Y } from "./
|
9
|
-
import Z from "./
|
7
|
+
import { throttle as b } from "./index270.js";
|
8
|
+
import { waitFor as Y } from "./index243.js";
|
9
|
+
import Z from "./index210.js";
|
10
10
|
/* empty css */
|
11
|
-
import { useLocale as x } from "./
|
12
|
-
import { autoUpdate as ee, flip as te, shift as oe, hide as ae } from "./
|
11
|
+
import { useLocale as x } from "./index217.js";
|
12
|
+
import { autoUpdate as ee, flip as te, shift as oe, hide as ae } from "./index262.js";
|
13
13
|
const ne = { class: "bb-tooltip__content" }, ge = /* @__PURE__ */ H({
|
14
14
|
__name: "BbTooltip",
|
15
15
|
props: {
|
package/dist/index123.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 "./index317.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/index125.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as i, openBlock as o, createElementBlock as a, createElementVNode as t, renderSlot as p, createTextVNode as b, toDisplayString as m, unref as u, withModifiers as d, createCommentVNode as _ } from "vue";
|
2
|
-
import { useLocale as f } from "./
|
2
|
+
import { useLocale as f } from "./index217.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/index127.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, openBlock as h, createElementBlock as $, mergeProps as g } from "vue";
|
2
|
-
import { isCssColor as I } from "./
|
2
|
+
import { isCssColor as I } from "./index250.js";
|
3
3
|
const B = ["innerHTML"], k = /* @__PURE__ */ v({
|
4
4
|
__name: "BbIcon",
|
5
5
|
props: {
|
package/dist/index128.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { defineComponent as v, ref as
|
2
|
-
import { throttle as g } from "./
|
1
|
+
import { defineComponent as v, ref as a, onMounted as m, onBeforeUnmount as p, openBlock as i, createBlock as l, resolveDynamicComponent as u, normalizeStyle as d, withCtx as f, renderSlot as h } from "vue";
|
2
|
+
import { throttle as g } from "./index270.js";
|
3
3
|
const O = /* @__PURE__ */ v({
|
4
4
|
__name: "BbSmoothHeight",
|
5
5
|
props: {
|
@@ -10,23 +10,23 @@ const O = /* @__PURE__ */ v({
|
|
10
10
|
transitionDuration: { default: 200 }
|
11
11
|
},
|
12
12
|
setup(c) {
|
13
|
-
const n = c,
|
14
|
-
globalThis.ResizeObserver && (
|
15
|
-
n.strategy === "resize" ? e.value && (t.value = new ResizeObserver(
|
16
|
-
}),
|
13
|
+
const n = c, r = a(null), e = a(null), t = a(null);
|
14
|
+
globalThis.ResizeObserver && (m(() => {
|
15
|
+
n.strategy === "resize" ? e.value && (t.value = new ResizeObserver(s), t.value.observe(e.value, n.resizeOptions)) : n.strategy === "mutation" && e.value && (t.value = new MutationObserver(s), t.value.observe(e.value, n.mutationOptions)), s();
|
16
|
+
}), p(() => {
|
17
17
|
t.value && t.value.disconnect();
|
18
18
|
}));
|
19
|
-
const
|
20
|
-
if (
|
19
|
+
const s = g(() => {
|
20
|
+
if (r.value && e.value) {
|
21
21
|
const o = e.value.scrollHeight;
|
22
|
-
|
22
|
+
r.value.style.height = `${o}px`;
|
23
23
|
}
|
24
24
|
}, 200);
|
25
|
-
return (o,
|
25
|
+
return (o, b) => (i(), l(u(o.tag), {
|
26
26
|
ref_key: "container",
|
27
|
-
ref:
|
27
|
+
ref: r,
|
28
28
|
class: "bb-smooth-height",
|
29
|
-
style:
|
29
|
+
style: d({ "transition-duration": n.transitionDuration / 1e3 + "s" })
|
30
30
|
}, {
|
31
31
|
default: f(() => [
|
32
32
|
(i(), l(u(o.tag), {
|
@@ -35,7 +35,7 @@ const O = /* @__PURE__ */ v({
|
|
35
35
|
class: "content"
|
36
36
|
}, {
|
37
37
|
default: f(() => [
|
38
|
-
|
38
|
+
h(o.$slots, "default")
|
39
39
|
]),
|
40
40
|
_: 3
|
41
41
|
}, 512))
|
package/dist/index129.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 "./index250.js";
|
3
3
|
const f = /* @__PURE__ */ p({
|
4
4
|
__name: "BbSpinner",
|
5
5
|
props: {
|
package/dist/index13.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as m, getCurrentInstance as h, computed as r, openBlock as i, createBlock as u, mergeProps as c, withCtx as d, renderSlot as p, createTextVNode as f, toDisplayString as v, resolveDynamicComponent as C } from "vue";
|
2
|
-
import S from "./
|
2
|
+
import S from "./index246.js";
|
3
3
|
const A = /* @__PURE__ */ m({
|
4
4
|
__name: "BaseButton",
|
5
5
|
props: {
|
package/dist/index131.js
CHANGED
package/dist/index133.js
CHANGED
package/dist/index15.js
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
import { defineComponent as H, ref as u, computed as D, openBlock as E, createElementBlock as I, Fragment as M, createVNode as p, normalizeClass as _, withCtx as n, renderSlot as r, unref as s, createElementVNode as c, normalizeStyle as F, withModifiers as T, withDirectives as q, mergeProps as L, nextTick as N } from "vue";
|
2
|
-
import { isHex as O } from "./
|
2
|
+
import { isHex as O } from "./index207.js";
|
3
3
|
import { isNotNil as z } from "./index135.js";
|
4
|
-
import { useFocusTrap as S } from "./
|
4
|
+
import { useFocusTrap as S } from "./index208.js";
|
5
5
|
import { useId as A } from "./index8.js";
|
6
|
-
import { vMaska as K } from "./
|
7
|
-
import P from "./
|
6
|
+
import { vMaska as K } from "./index209.js";
|
7
|
+
import P from "./index210.js";
|
8
8
|
/* empty css */
|
9
|
-
import R from "./
|
9
|
+
import R from "./index212.js";
|
10
10
|
/* empty css */
|
11
|
-
import U from "./
|
11
|
+
import U from "./index214.js";
|
12
12
|
/* empty css */
|
13
|
-
import j from "./
|
13
|
+
import j from "./index216.js";
|
14
14
|
import { wait as G } from "./index130.js";
|
15
|
-
import { useLocale as J } from "./
|
15
|
+
import { useLocale as J } from "./index217.js";
|
16
16
|
const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], W = ["aria-label"], X = { class: "bb-common-input-inner-container__suffix" }, ce = /* @__PURE__ */ H({
|
17
17
|
__name: "BaseColorInput",
|
18
18
|
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 l, renderSlot as F } from "vue";
|
2
|
-
import { isCssColor as y } from "./
|
3
|
-
import { when as N } from "./
|
4
|
-
import { booleanishToBoolean as S } from "./
|
2
|
+
import { isCssColor as y } from "./index250.js";
|
3
|
+
import { when as N } from "./index251.js";
|
4
|
+
import { booleanishToBoolean as S } from "./index252.js";
|
5
5
|
const A = {
|
6
6
|
"aria-hidden": "true",
|
7
7
|
class: "bb-base-checkbox-container"
|
package/dist/index207.js
CHANGED
package/dist/index208.js
CHANGED
@@ -1,4 +1,43 @@
|
|
1
|
-
|
1
|
+
import { unrefElement as A } from "./index132.js";
|
2
|
+
import { toValue as n, notNullish as g, tryOnScopeDispose as y } from "./index206.js";
|
3
|
+
import { ref as i, computed as D, watch as F } from "vue";
|
4
|
+
import { createFocusTrap as T } from "./index273.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
|
+
}
|
2
41
|
export {
|
3
|
-
|
42
|
+
E as useFocusTrap
|
4
43
|
};
|
package/dist/index209.js
CHANGED
@@ -1,4 +1,22 @@
|
|
1
|
-
|
1
|
+
import { MaskInput as r } from "./index265.js";
|
2
|
+
const u = /* @__PURE__ */ new WeakMap(), p = (a, n) => {
|
3
|
+
if (a.arg == null || a.instance == null) return;
|
4
|
+
const s = "setup" in a.instance.$.type;
|
5
|
+
a.arg in a.instance ? a.instance[a.arg] = n : s && console.warn("Maska: please expose `%s` using defineExpose", a.arg);
|
6
|
+
}, k = (a, n) => {
|
7
|
+
var s;
|
8
|
+
const t = a instanceof HTMLInputElement ? a : a.querySelector("input");
|
9
|
+
if (t == null || (t == null ? void 0 : t.type) === "file") return;
|
10
|
+
let e = {};
|
11
|
+
if (n.value != null && (e = typeof n.value == "string" ? { mask: n.value } : { ...n.value }), n.arg != null) {
|
12
|
+
const l = (o) => {
|
13
|
+
const i = n.modifiers.unmasked ? o.unmasked : n.modifiers.completed ? o.completed : o.masked;
|
14
|
+
p(n, i);
|
15
|
+
};
|
16
|
+
e.onMaska = e.onMaska == null ? l : Array.isArray(e.onMaska) ? [...e.onMaska, l] : [e.onMaska, l];
|
17
|
+
}
|
18
|
+
u.has(t) ? (s = u.get(t)) == null || s.update(e) : u.set(t, new r(t, e));
|
19
|
+
};
|
2
20
|
export {
|
3
|
-
|
21
|
+
k as vMaska
|
4
22
|
};
|
package/dist/index21.js
CHANGED
@@ -5,22 +5,22 @@ import { _config as C } from "./index4.js";
|
|
5
5
|
import { useId as F } from "./index8.js";
|
6
6
|
import f from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import s from "./
|
9
|
-
import G from "./
|
10
|
-
import J from "./
|
11
|
-
import K from "./
|
12
|
-
import Q from "./
|
13
|
-
import X from "./
|
14
|
-
import ee from "./
|
8
|
+
import s from "./index228.js";
|
9
|
+
import G from "./index229.js";
|
10
|
+
import J from "./index230.js";
|
11
|
+
import K from "./index231.js";
|
12
|
+
import Q from "./index232.js";
|
13
|
+
import X from "./index233.js";
|
14
|
+
import ee from "./index234.js";
|
15
15
|
import { hash as M } from "./index225.js";
|
16
|
-
import { last as ae } from "./
|
17
|
-
import { useLogger as te } from "./
|
18
|
-
import oe from "./
|
19
|
-
import le from "./
|
20
|
-
import re from "./
|
21
|
-
import B from "./
|
22
|
-
import se from "./
|
23
|
-
import { useLocale as de } from "./
|
16
|
+
import { last as ae } from "./index235.js";
|
17
|
+
import { useLogger as te } from "./index236.js";
|
18
|
+
import oe from "./index237.js";
|
19
|
+
import le from "./index238.js";
|
20
|
+
import re from "./index239.js";
|
21
|
+
import B from "./index240.js";
|
22
|
+
import se from "./index241.js";
|
23
|
+
import { useLocale as de } from "./index217.js";
|
24
24
|
const ie = { class: "bb-base-date-picker" }, ne = { class: "bb-base-date-picker__body" }, ue = { class: "bb-base-date-picker__controls" }, me = { class: "sr-only" }, pe = { class: "sr-only" }, ce = { class: "sr-only" }, fe = {
|
25
25
|
style: { transform: "rotate(180deg)" },
|
26
26
|
viewBox: "0 0 24 24",
|