bitboss-ui 2.0.131 → 2.0.132
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/BaseColorInput/BaseColorInput.vue.d.ts +100 -4
- package/dist/components/BaseColorInput/ColorPallette.vue.d.ts +9 -0
- package/dist/i18n/en.d.ts +4 -0
- package/dist/i18n/it.d.ts +4 -0
- package/dist/index100.js +9 -9
- package/dist/index111.js +10 -10
- 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 +1 -1
- package/dist/index129.js +1 -1
- package/dist/index13.js +2 -2
- package/dist/index133.js +2 -2
- package/dist/index15.js +97 -61
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index207.js +63 -6
- package/dist/index209.js +13 -281
- package/dist/index21.js +16 -16
- package/dist/index210.js +273 -117
- package/dist/index211.js +122 -13
- package/dist/index212.js +10 -10
- package/dist/index213.js +15 -18
- package/dist/index214.js +17 -13
- package/dist/index215.js +15 -2
- package/dist/index216.js +2 -2
- package/dist/index217.js +2 -41
- package/dist/index218.js +41 -13
- package/dist/index219.js +13 -20
- package/dist/index220.js +20 -6
- package/dist/index221.js +5 -93
- package/dist/index222.js +96 -0
- package/dist/index225.js +86 -13
- package/dist/index227.js +29 -86
- package/dist/index228.js +19 -0
- package/dist/index229.js +48 -26
- package/dist/index23.js +16 -16
- package/dist/index230.js +12 -14
- package/dist/index231.js +3 -51
- package/dist/index232.js +11 -14
- package/dist/index233.js +15 -11
- package/dist/index234.js +3 -16
- package/dist/index235.js +7 -4
- package/dist/index236.js +8 -3
- package/dist/index237.js +15 -2
- package/dist/index238.js +2 -4
- package/dist/index239.js +4 -2
- package/dist/index240.js +2 -19
- package/dist/index241.js +3 -27
- package/dist/index242.js +4 -250
- package/dist/index243.js +189 -41
- package/dist/index245.js +19 -5
- package/dist/index246.js +26 -59
- package/dist/index247.js +250 -3
- package/dist/index248.js +52 -7
- package/dist/index249.js +40 -11
- package/dist/index25.js +7 -7
- package/dist/index250.js +5 -18
- package/dist/index251.js +58 -124
- package/dist/index252.js +2 -106
- package/dist/index253.js +4 -0
- package/dist/index254.js +17 -99
- package/dist/index255.js +128 -0
- package/dist/index256.js +106 -12
- package/dist/index258.js +98 -367
- package/dist/index260.js +12 -2
- package/dist/index261.js +228 -10
- package/dist/index262.js +368 -2
- package/dist/index263.js +10 -6
- package/dist/index264.js +3 -16
- package/dist/index265.js +3 -9
- package/dist/index267.js +7 -28
- package/dist/index27.js +1 -1
- package/dist/index275.js +1 -1
- package/dist/index277.js +1 -1
- package/dist/index278.js +7 -3
- package/dist/index279.js +13 -0
- package/dist/index280.js +3 -7
- package/dist/index281.js +17 -7
- package/dist/index282.js +9 -11
- package/dist/index283.js +28 -3
- package/dist/index284.js +197 -14
- package/dist/index285.js +2 -9
- package/dist/index286.js +86 -197
- package/dist/index287.js +4 -224
- package/dist/index288.js +224 -4
- package/dist/index289.js +3 -9
- package/dist/index29.js +2 -2
- package/dist/index292.js +1 -1
- package/dist/index293.js +1 -1
- package/dist/index294.js +1 -1
- package/dist/index295.js +1 -1
- package/dist/index298.js +9 -8
- package/dist/index299.js +23 -2
- package/dist/index300.js +6 -89
- package/dist/index301.js +14 -124
- package/dist/index302.js +9 -3
- package/dist/index303.js +8 -3
- package/dist/index304.js +126 -2
- package/dist/index305.js +3 -436
- package/dist/index306.js +3 -127
- package/dist/index307.js +2 -3
- package/dist/index308.js +436 -3
- package/dist/index309.js +125 -56
- package/dist/index31.js +2 -2
- package/dist/index311.js +5 -5
- package/dist/index312.js +4 -7
- package/dist/index313.js +8 -5
- package/dist/index314.js +1 -1
- package/dist/index315.js +1 -1
- package/dist/index316.js +1 -1
- package/dist/index317.js +1 -1
- package/dist/index318.js +5 -1
- package/dist/index319.js +5 -1
- package/dist/index321.js +3 -7
- package/dist/index322.js +3 -47
- package/dist/index323.js +57 -6
- package/dist/index324.js +7 -18
- package/dist/index325.js +6 -2
- package/dist/index326.js +10 -0
- package/dist/index327.js +9 -0
- package/dist/index328.js +6 -423
- package/dist/index329.js +19 -2
- package/dist/index33.js +8 -8
- package/dist/index330.js +44 -44
- package/dist/index331.js +4 -0
- package/dist/index334.js +4 -0
- package/dist/index335.js +426 -0
- package/dist/index336.js +49 -0
- package/dist/index35.js +4 -4
- package/dist/index37.js +22 -22
- package/dist/index39.js +4 -4
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +8 -8
- package/dist/index47.js +2 -2
- package/dist/index49.js +2 -2
- 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/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/style.css +1 -1
- package/dist/utilities/functions/getHueFromRGB.d.ts +9 -0
- package/dist/utilities/functions/hexToRGB.d.ts +7 -0
- package/dist/utilities/functions/hslToHex.d.ts +1 -0
- package/package.json +1 -1
- package/dist/index208.js +0 -5
- package/dist/index223.js +0 -67
- package/dist/index244.js +0 -46
- package/dist/index257.js +0 -230
- package/dist/index259.js +0 -4
- package/dist/index266.js +0 -25
- /package/dist/{index226.js → index224.js} +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
import { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
1
|
+
import { HTMLAttributes, InputHTMLAttributes, nextTick } from 'vue';
|
2
2
|
export type BaseColorInputProps = {
|
3
3
|
/**
|
4
4
|
* Name of the icon to be added at the end of the input.
|
@@ -65,6 +65,14 @@ export type BaseColorInputProps = {
|
|
65
65
|
* Sets the input as required.
|
66
66
|
*/
|
67
67
|
required?: boolean;
|
68
|
+
/**
|
69
|
+
* The target to teleport the floating component to.
|
70
|
+
*/
|
71
|
+
teleportTarget?: string;
|
72
|
+
/**
|
73
|
+
* The transition duration of the floating component.
|
74
|
+
*/
|
75
|
+
transitionDuration?: number;
|
68
76
|
};
|
69
77
|
export type BaseColorInputEvents = {
|
70
78
|
(e: 'blur', event: FocusEvent): void;
|
@@ -88,8 +96,94 @@ export type BaseColorInputSlots = {
|
|
88
96
|
declare function __VLS_template(): {
|
89
97
|
slots: Readonly<BaseColorInputSlots> & BaseColorInputSlots;
|
90
98
|
refs: {
|
91
|
-
|
92
|
-
|
99
|
+
innerContainer: ({
|
100
|
+
$: import('vue').ComponentInternalInstance;
|
101
|
+
$data: {};
|
102
|
+
$props: {
|
103
|
+
readonly 'append:icon'?: string | undefined;
|
104
|
+
readonly clearable?: boolean | undefined;
|
105
|
+
readonly 'prepend:icon'?: string | undefined;
|
106
|
+
readonly preventFocus?: boolean | undefined;
|
107
|
+
readonly "onClick:clear"?: (() => any) | undefined;
|
108
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
109
|
+
$attrs: {
|
110
|
+
[x: string]: unknown;
|
111
|
+
};
|
112
|
+
$refs: {
|
113
|
+
[x: string]: unknown;
|
114
|
+
};
|
115
|
+
$slots: Readonly<{
|
116
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
117
|
+
}>;
|
118
|
+
$root: import('vue').ComponentPublicInstance | null;
|
119
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
120
|
+
$host: Element | null;
|
121
|
+
$emit: (event: "click:clear") => void;
|
122
|
+
$el: any;
|
123
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
124
|
+
'append:icon'?: string;
|
125
|
+
clearable?: boolean;
|
126
|
+
'prepend:icon'?: string;
|
127
|
+
preventFocus?: boolean;
|
128
|
+
}> & Readonly<{
|
129
|
+
"onClick:clear"?: (() => any) | undefined;
|
130
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
131
|
+
"click:clear": () => any;
|
132
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
133
|
+
beforeCreate?: (() => void) | (() => void)[];
|
134
|
+
created?: (() => void) | (() => void)[];
|
135
|
+
beforeMount?: (() => void) | (() => void)[];
|
136
|
+
mounted?: (() => void) | (() => void)[];
|
137
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
138
|
+
updated?: (() => void) | (() => void)[];
|
139
|
+
activated?: (() => void) | (() => void)[];
|
140
|
+
deactivated?: (() => void) | (() => void)[];
|
141
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
142
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
143
|
+
destroyed?: (() => void) | (() => void)[];
|
144
|
+
unmounted?: (() => void) | (() => void)[];
|
145
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
146
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
147
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
148
|
+
};
|
149
|
+
$forceUpdate: () => void;
|
150
|
+
$nextTick: typeof nextTick;
|
151
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
152
|
+
} & Readonly<{}> & Omit<Readonly<{
|
153
|
+
'append:icon'?: string;
|
154
|
+
clearable?: boolean;
|
155
|
+
'prepend:icon'?: string;
|
156
|
+
preventFocus?: boolean;
|
157
|
+
}> & Readonly<{
|
158
|
+
"onClick:clear"?: (() => any) | undefined;
|
159
|
+
}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
160
|
+
$slots: {
|
161
|
+
prepend?(_: {}): any;
|
162
|
+
prefix?(_: {}): any;
|
163
|
+
default?(_: {}): any;
|
164
|
+
append?(_: {}): any;
|
165
|
+
suffix?(_: {}): any;
|
166
|
+
};
|
167
|
+
}) | null;
|
168
|
+
indicator: HTMLButtonElement;
|
169
|
+
pallette: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
170
|
+
modelValue: string | null;
|
171
|
+
}> & Readonly<{
|
172
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
173
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
174
|
+
"update:modelValue": (value: string) => any;
|
175
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
176
|
+
P: {};
|
177
|
+
B: {};
|
178
|
+
D: {};
|
179
|
+
C: {};
|
180
|
+
M: {};
|
181
|
+
Defaults: {};
|
182
|
+
}, Readonly<{
|
183
|
+
modelValue: string | null;
|
184
|
+
}> & Readonly<{
|
185
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
186
|
+
}>, {}, {}, {}, {}, {}> | null;
|
93
187
|
};
|
94
188
|
attrs: Partial<{}>;
|
95
189
|
};
|
@@ -100,7 +194,9 @@ declare const __VLS_component: import('vue').DefineComponent<BaseColorInputProps
|
|
100
194
|
[x: string]: any;
|
101
195
|
}, string, import('vue').PublicProps, Readonly<BaseColorInputProps> & Readonly<{
|
102
196
|
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
103
|
-
}>, {
|
197
|
+
}>, {
|
198
|
+
transitionDuration: number;
|
199
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
104
200
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
105
201
|
export default _default;
|
106
202
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
@@ -0,0 +1,9 @@
|
|
1
|
+
type Props = {
|
2
|
+
modelValue: string | null;
|
3
|
+
};
|
4
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
5
|
+
"update:modelValue": (value: string) => any;
|
6
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
7
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
8
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
9
|
+
export default _default;
|
package/dist/i18n/en.d.ts
CHANGED
package/dist/i18n/it.d.ts
CHANGED
package/dist/index100.js
CHANGED
@@ -1,13 +1,13 @@
|
|
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 "./
|
5
|
-
import { hash as p } from "./
|
6
|
-
import { useItemsGetter as W } from "./
|
7
|
-
import { usePrefill as q } from "./
|
8
|
-
import { useIndexById as z } from "./
|
9
|
-
import { useBaseOptions as J } from "./
|
10
|
-
import { useHashedWatcher as K } from "./
|
2
|
+
import { useItemValue as G } from "./index282.js";
|
3
|
+
import { isNil as k } from "./index253.js";
|
4
|
+
import { indexBy as U } from "./index303.js";
|
5
|
+
import { hash as p } from "./index231.js";
|
6
|
+
import { useItemsGetter as W } from "./index227.js";
|
7
|
+
import { usePrefill as q } from "./index233.js";
|
8
|
+
import { useIndexById as z } from "./index228.js";
|
9
|
+
import { useBaseOptions as J } from "./index229.js";
|
10
|
+
import { useHashedWatcher as K } from "./index232.js";
|
11
11
|
const oe = /* @__PURE__ */ D({
|
12
12
|
__name: "BbRows",
|
13
13
|
props: {
|
package/dist/index111.js
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
import { defineComponent as ue, ref as K, computed as h, toRef as E, 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
2
|
import { add as ve } from "./index310.js";
|
3
3
|
import { clamp as ke } from "./index206.js";
|
4
|
-
import { isNil as T } from "./
|
4
|
+
import { isNil as T } from "./index253.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 "./index282.js";
|
7
|
+
import { when as Ce } from "./index239.js";
|
8
8
|
import Y from "./index17.js";
|
9
9
|
/* empty css */
|
10
10
|
import we from "./index31.js";
|
11
11
|
/* empty css */
|
12
|
-
import { hash as j } from "./
|
13
|
-
import { useItemsGetter as Ie } from "./
|
14
|
-
import { usePrefill as Ve } from "./
|
15
|
-
import { useIndexById as Ae } from "./
|
16
|
-
import { useBaseOptions as Be } from "./
|
17
|
-
import { useHashedWatcher as Te } from "./
|
18
|
-
import { useLocale as $e } from "./
|
12
|
+
import { hash as j } from "./index231.js";
|
13
|
+
import { useItemsGetter as Ie } from "./index227.js";
|
14
|
+
import { usePrefill as Ve } from "./index233.js";
|
15
|
+
import { useIndexById as Ae } from "./index228.js";
|
16
|
+
import { useBaseOptions as Be } from "./index229.js";
|
17
|
+
import { useHashedWatcher as Te } from "./index232.js";
|
18
|
+
import { useLocale as $e } from "./index219.js";
|
19
19
|
const xe = {
|
20
20
|
key: 0,
|
21
21
|
class: "sr-only"
|
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 "./index237.js";
|
4
4
|
import B from "./index314.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 E, createElementBlock as R, mergeProps as S, createElementVNode as p, renderSlot as B, normalizeProps as U, guardReactiveProps as W, unref as u, createVNode as j, withCtx as C, 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 "./index255.js";
|
3
3
|
import { useId as K } from "./index8.js";
|
4
4
|
import { wait as L } from "./index130.js";
|
5
5
|
import Q from "./index13.js";
|
6
6
|
/* empty css */
|
7
|
-
import { throttle as v } from "./
|
8
|
-
import { waitFor as X } from "./
|
9
|
-
import Y from "./
|
7
|
+
import { throttle as v } from "./index234.js";
|
8
|
+
import { waitFor as X } from "./index221.js";
|
9
|
+
import Y from "./index222.js";
|
10
10
|
/* empty css */
|
11
|
-
import { useLocale as Z } from "./
|
12
|
-
import { autoUpdate as x, flip as ee, shift as te, hide as oe } from "./
|
11
|
+
import { useLocale as Z } from "./index219.js";
|
12
|
+
import { autoUpdate as x, flip as ee, shift as te, hide as oe } from "./index262.js";
|
13
13
|
const ae = { class: "bb-tooltip__content" }, be = /* @__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 "./index311.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 "./index219.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 "./index238.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
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 "./index234.js";
|
3
3
|
const O = /* @__PURE__ */ v({
|
4
4
|
__name: "BbSmoothHeight",
|
5
5
|
props: {
|
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 "./index238.js";
|
3
3
|
const f = /* @__PURE__ */ p({
|
4
4
|
__name: "BbSpinner",
|
5
5
|
props: {
|
package/dist/index13.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as C, getCurrentInstance as d, shallowRef as x, watch as S, computed as f, openBlock as L, createBlock as B, resolveDynamicComponent as N, unref as $, mergeProps as F, withCtx as w, renderSlot as A, createTextVNode as P, toDisplayString as _, resolveComponent as m } from "vue";
|
2
2
|
import { _config as o } from "./index4.js";
|
3
|
-
import { useLogger as v } from "./
|
4
|
-
import { hash as g } from "./
|
3
|
+
import { useLogger as v } from "./index236.js";
|
4
|
+
import { hash as g } from "./index231.js";
|
5
5
|
const I = /* @__PURE__ */ C({
|
6
6
|
__name: "BaseButton",
|
7
7
|
props: {
|
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 "./index312.js";
|
2
|
+
import { isPlainObject as c } from "./index313.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,12 +1,19 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import
|
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 F, withCtx as n, renderSlot as r, unref as s, createElementVNode as f, normalizeStyle as T, withModifiers as q, withDirectives as L, mergeProps as N, nextTick as O } from "vue";
|
2
|
+
import { isHex as z } from "./index242.js";
|
3
|
+
import { isNotNil as S } from "./index134.js";
|
4
|
+
import { useFocusTrap as _ } from "./index218.js";
|
5
|
+
import { useId as A } from "./index8.js";
|
6
|
+
import { vMaska as K } from "./index220.js";
|
7
|
+
import P from "./index222.js";
|
3
8
|
/* empty css */
|
4
|
-
import
|
5
|
-
|
6
|
-
import
|
7
|
-
|
8
|
-
import
|
9
|
-
|
9
|
+
import R from "./index243.js";
|
10
|
+
/* empty css */
|
11
|
+
import U from "./index207.js";
|
12
|
+
/* empty css */
|
13
|
+
import j from "./index209.js";
|
14
|
+
import { wait as G } from "./index130.js";
|
15
|
+
import { useLocale as J } from "./index219.js";
|
16
|
+
const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], W = ["aria-label"], de = /* @__PURE__ */ H({
|
10
17
|
__name: "BaseColorInput",
|
11
18
|
props: {
|
12
19
|
"append:icon": {},
|
@@ -24,18 +31,21 @@ const P = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
|
|
24
31
|
placeholder: {},
|
25
32
|
"prepend:icon": {},
|
26
33
|
readonly: { type: Boolean },
|
27
|
-
required: { type: Boolean }
|
34
|
+
required: { type: Boolean },
|
35
|
+
teleportTarget: {},
|
36
|
+
transitionDuration: { default: 250 }
|
28
37
|
},
|
29
38
|
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
30
|
-
setup(
|
31
|
-
const
|
39
|
+
setup(y, { emit: v }) {
|
40
|
+
const t = y, o = v, c = t.id ?? `bb_${A().id.value}`, m = u(null), d = u(null), { t: k } = J(), g = D(() => ({
|
32
41
|
"bb-base-color-input": !0,
|
33
|
-
"bb-base-color-input--disabled":
|
34
|
-
"bb-base-color-input--errors":
|
35
|
-
"bb-base-color-input--loading":
|
36
|
-
"bb-base-color-input--readonly":
|
37
|
-
"bb-base-color-input--compact":
|
38
|
-
|
42
|
+
"bb-base-color-input--disabled": t.disabled,
|
43
|
+
"bb-base-color-input--errors": t.hasErrors,
|
44
|
+
"bb-base-color-input--loading": t.loading,
|
45
|
+
"bb-base-color-input--readonly": t.readonly,
|
46
|
+
"bb-base-color-input--compact": t.compact,
|
47
|
+
"bb-base-color-input--active": l.value
|
48
|
+
})), w = {
|
39
49
|
onBlur: (e) => o("blur", e),
|
40
50
|
onChange: (e) => o("change", e),
|
41
51
|
onClick: (e) => o("click", e),
|
@@ -47,26 +57,42 @@ const P = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
|
|
47
57
|
onMousedown: (e) => o("mousedown", e),
|
48
58
|
onMouseup: (e) => o("mouseup", e),
|
49
59
|
onMaska: (e) => {
|
50
|
-
const
|
51
|
-
z(
|
60
|
+
const a = e.detail;
|
61
|
+
z(a.masked) ? o("update:modelValue", a.masked) : a.masked === "" && o("update:modelValue", null);
|
52
62
|
}
|
53
|
-
},
|
54
|
-
|
55
|
-
|
56
|
-
}, y = {
|
63
|
+
}, h = () => {
|
64
|
+
V();
|
65
|
+
}, C = {
|
57
66
|
mask: "!#HHHHHH",
|
58
67
|
tokens: {
|
59
68
|
H: { pattern: /[0-9a-fA-F]/ }
|
60
69
|
},
|
61
70
|
eager: !0
|
62
|
-
},
|
63
|
-
|
64
|
-
}
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
71
|
+
}, l = u(!1), V = async () => {
|
72
|
+
$.value = !0, l.value = !0, await G(100), B();
|
73
|
+
}, b = async () => {
|
74
|
+
l.value = !1;
|
75
|
+
}, $ = u(!1), { activate: B } = _(d, {
|
76
|
+
/**
|
77
|
+
* This traps all clicks outside so we are pressing
|
78
|
+
* the trigger we just allow and process that in its
|
79
|
+
* own click handler.
|
80
|
+
* If we are pressing anything random on the page
|
81
|
+
* close the popover and be done
|
82
|
+
*/
|
83
|
+
clickOutsideDeactivates: (e) => {
|
84
|
+
var i;
|
85
|
+
const a = e.target;
|
86
|
+
return a instanceof HTMLElement && (i = d.value) != null && i.$el.contains(a) || b(), !0;
|
87
|
+
},
|
88
|
+
escapeDeactivates: () => (O(async () => {
|
89
|
+
await b();
|
90
|
+
}), !0),
|
91
|
+
returnFocusOnDeactivate: !0
|
92
|
+
});
|
93
|
+
return (e, a) => (E(), I(M, null, [
|
94
|
+
p(j, {
|
95
|
+
class: F(g.value)
|
70
96
|
}, {
|
71
97
|
"prepend-outer": n(() => [
|
72
98
|
r(e.$slots, "prepend-outer")
|
@@ -75,11 +101,13 @@ const P = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
|
|
75
101
|
r(e.$slots, "append-outer")
|
76
102
|
]),
|
77
103
|
default: n(() => [
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
"
|
82
|
-
|
104
|
+
p(U, {
|
105
|
+
ref_key: "innerContainer",
|
106
|
+
ref: m,
|
107
|
+
"append:icon": t["append:icon"],
|
108
|
+
clearable: e.clearable && s(S)(e.modelValue),
|
109
|
+
"prepend:icon": t["prepend:icon"],
|
110
|
+
"onClick:clear": a[0] || (a[0] = (i) => e.$emit("update:modelValue", null))
|
83
111
|
}, {
|
84
112
|
prepend: n(() => [
|
85
113
|
r(e.$slots, "prepend")
|
@@ -88,20 +116,22 @@ const P = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
|
|
88
116
|
r(e.$slots, "prefix")
|
89
117
|
]),
|
90
118
|
append: n(() => [
|
91
|
-
|
119
|
+
f("button", {
|
120
|
+
ref: "indicator",
|
121
|
+
"aria-label": s(k)("colorInput.paletteLabel").value,
|
92
122
|
class: "bb-base-color-input__indicator",
|
93
|
-
style:
|
94
|
-
|
95
|
-
|
123
|
+
style: T({ backgroundColor: t.modelValue ?? void 0 }),
|
124
|
+
type: "button",
|
125
|
+
onClick: q(h, ["stop"])
|
126
|
+
}, null, 12, W),
|
96
127
|
r(e.$slots, "append")
|
97
128
|
]),
|
98
129
|
suffix: n(() => [
|
99
130
|
r(e.$slots, "suffix")
|
100
131
|
]),
|
101
132
|
default: n(() => [
|
102
|
-
|
103
|
-
id:
|
104
|
-
ref: "input",
|
133
|
+
L(f("input", N(w, {
|
134
|
+
id: s(c),
|
105
135
|
"aria-describedby": e.ariaDescribedby,
|
106
136
|
"aria-invalid": e.hasErrors ? !0 : void 0,
|
107
137
|
autocomplete: e.autocomplete,
|
@@ -115,32 +145,38 @@ const P = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
|
|
115
145
|
size: "1",
|
116
146
|
type: "text",
|
117
147
|
value: e.modelValue
|
118
|
-
}), null, 16,
|
119
|
-
[
|
120
|
-
])
|
121
|
-
s("input", {
|
122
|
-
ref_key: "picker",
|
123
|
-
ref: i,
|
124
|
-
"aria-hidden": "true",
|
125
|
-
"aria-invalid": e.hasErrors ? !0 : void 0,
|
126
|
-
"aria-label": t(c)("colorInput.paletteLabel").value,
|
127
|
-
class: "bb-base-color-input__picker",
|
128
|
-
disabled: e.disabled || e.readonly,
|
129
|
-
required: e.required,
|
130
|
-
tabindex: "-1",
|
131
|
-
type: "color",
|
132
|
-
onInput: k
|
133
|
-
}, null, 40, S)
|
148
|
+
}), null, 16, Q), [
|
149
|
+
[s(K), C]
|
150
|
+
])
|
134
151
|
]),
|
135
152
|
_: 3
|
136
153
|
}, 8, ["append:icon", "clearable", "prepend:icon"])
|
137
154
|
]),
|
138
155
|
_: 3
|
139
156
|
}, 8, ["class"]),
|
140
|
-
|
157
|
+
p(P, {
|
158
|
+
"base-class": "bb-base-color-input__pallette",
|
159
|
+
"container-attributes": { id: s(c) },
|
160
|
+
offset: 4,
|
161
|
+
open: l.value,
|
162
|
+
"teleport-target": e.teleportTarget,
|
163
|
+
"transition-duration": e.transitionDuration,
|
164
|
+
wrapper: m.value
|
165
|
+
}, {
|
166
|
+
default: n(() => [
|
167
|
+
p(R, {
|
168
|
+
ref_key: "pallette",
|
169
|
+
ref: d,
|
170
|
+
inert: !l.value,
|
171
|
+
"model-value": e.modelValue,
|
172
|
+
"onUpdate:modelValue": a[1] || (a[1] = (i) => o("update:modelValue", i))
|
173
|
+
}, null, 8, ["inert", "model-value"])
|
174
|
+
]),
|
175
|
+
_: 1
|
176
|
+
}, 8, ["container-attributes", "open", "teleport-target", "transition-duration", "wrapper"])
|
141
177
|
], 64));
|
142
178
|
}
|
143
179
|
});
|
144
180
|
export {
|
145
|
-
|
181
|
+
de as default
|
146
182
|
};
|
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 "./index238.js";
|
3
|
+
import { when as N } from "./index239.js";
|
4
|
+
import { booleanishToBoolean as S } from "./index240.js";
|
5
5
|
const A = {
|
6
6
|
"aria-hidden": "true",
|
7
7
|
class: "bb-base-checkbox-container"
|
package/dist/index19.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import { defineComponent as j, ref as k, toRef as d, openBlock as z, createBlock as G, unref as B, withCtx as s, renderSlot as l, normalizeProps as h, guardReactiveProps as b, createVNode as R, mergeProps as T } from "vue";
|
2
2
|
import W from "./index17.js";
|
3
3
|
/* empty css */
|
4
|
-
import K from "./
|
4
|
+
import K from "./index225.js";
|
5
5
|
/* empty css */
|
6
|
-
import { useItemsGetter as N } from "./
|
7
|
-
import { useIndexById as w } from "./
|
8
|
-
import { useBaseOptions as U } from "./
|
9
|
-
import { useCoherence as q } from "./
|
10
|
-
import { hash as J } from "./
|
11
|
-
import { useHashedWatcher as C } from "./
|
12
|
-
import { usePrefill as Q } from "./
|
6
|
+
import { useItemsGetter as N } from "./index227.js";
|
7
|
+
import { useIndexById as w } from "./index228.js";
|
8
|
+
import { useBaseOptions as U } from "./index229.js";
|
9
|
+
import { useCoherence as q } from "./index230.js";
|
10
|
+
import { hash as J } from "./index231.js";
|
11
|
+
import { useHashedWatcher as C } from "./index232.js";
|
12
|
+
import { usePrefill as Q } from "./index233.js";
|
13
13
|
const de = /* @__PURE__ */ j({
|
14
14
|
__name: "BaseCheckboxGroup",
|
15
15
|
props: {
|