bitboss-ui 2.0.115 → 2.0.117
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 +31 -58
- package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +4 -0
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +17 -8
- package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +4 -0
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +22 -3
- package/dist/components/BaseSlider/BaseSlider.vue.d.ts +1 -1
- package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +8 -167
- package/dist/components/BaseTag/BaseTag.vue.d.ts +17 -3
- package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +4 -0
- package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +4 -0
- package/dist/components/BbAccordion/BbAccordion.vue.d.ts +1 -1
- package/dist/components/BbButton/BbButton.vue.d.ts +4 -4
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +4 -0
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +4 -0
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +5 -0
- package/dist/components/BbSelect/BbSelect.vue.d.ts +9 -0
- package/dist/components/BbTag/BbTag.vue.d.ts +4 -0
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +4 -0
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +4 -0
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +0 -1
- package/dist/components/ClearableButton.vue.d.ts +2 -0
- package/dist/components/CommonInputInnerContainer.vue.d.ts +9 -1
- package/dist/index100.js +9 -9
- package/dist/index101.js +41 -37
- package/dist/index111.js +11 -11
- package/dist/index113.js +6 -4
- package/dist/index115.js +17 -15
- package/dist/index117.js +14 -12
- package/dist/index119.js +2 -2
- package/dist/index121.js +59 -61
- 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 +38 -33
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index207.js +58 -79
- package/dist/index209.js +13 -25
- package/dist/index21.js +12 -12
- package/dist/index210.js +19 -16
- package/dist/index211.js +4 -48
- package/dist/index212.js +13 -15
- package/dist/index213.js +3 -3
- package/dist/index214.js +126 -12
- package/dist/index215.js +5 -16
- package/dist/index216.js +125 -5
- package/dist/index217.js +2 -2
- package/dist/index218.js +2 -2
- package/dist/index219.js +3 -3
- package/dist/index220.js +2 -2
- package/dist/index221.js +2 -19
- package/dist/index222.js +2 -27
- package/dist/index223.js +41 -2
- package/dist/index224.js +5 -7
- package/dist/index225.js +11 -246
- package/dist/index226.js +5 -52
- package/dist/index227.js +2 -44
- package/dist/index228.js +369 -5
- package/dist/index229.js +80 -54
- package/dist/index23.js +111 -107
- package/dist/index231.js +25 -2
- package/dist/index232.js +17 -4
- package/dist/index233.js +51 -2
- package/dist/index234.js +15 -53
- package/dist/index235.js +5 -0
- package/dist/index236.js +12 -13
- package/dist/index237.js +15 -19
- package/dist/index238.js +2 -4
- package/dist/index239.js +4 -3
- package/dist/index240.js +2 -41
- package/dist/index241.js +19 -6
- package/dist/index242.js +27 -7
- package/dist/index243.js +6 -13
- package/dist/index244.js +250 -3
- package/dist/index245.js +49 -123
- package/dist/index246.js +44 -125
- package/dist/index247.js +5 -2
- package/dist/index248.js +60 -5
- package/dist/index249.js +3 -369
- package/dist/index25.js +7 -7
- package/dist/index250.js +7 -2
- package/dist/index251.js +2 -2
- package/dist/index252.js +2 -2
- package/dist/index253.js +2 -18
- package/dist/index254.js +17 -105
- package/dist/index255.js +108 -0
- package/dist/{index256.js → index257.js} +2 -2
- package/dist/index259.js +11 -9
- package/dist/index260.js +9 -2
- package/dist/index261.js +3 -6
- package/dist/index262.js +6 -16
- package/dist/index263.js +15 -8
- package/dist/index264.js +9 -23
- package/dist/index265.js +23 -90
- package/dist/index266.js +92 -0
- package/dist/index268.js +9 -17
- package/dist/index269.js +224 -9
- package/dist/index27.js +1 -1
- package/dist/index270.js +3 -28
- package/dist/index272.js +7 -6
- package/dist/index273.js +176 -2
- package/dist/index274.js +7 -2
- package/dist/index275.js +11 -2
- package/dist/index276.js +281 -2
- package/dist/index277.js +6 -2
- package/dist/index278.js +2 -2
- package/dist/index279.js +2 -2
- package/dist/index280.js +2 -2
- package/dist/index281.js +2 -2
- package/dist/index282.js +2 -2
- package/dist/index283.js +2 -2
- package/dist/index284.js +125 -21
- package/dist/index285.js +433 -0
- package/dist/index286.js +2 -7
- package/dist/index287.js +22 -7
- package/dist/index289.js +3 -4
- package/dist/index29.js +48 -40
- package/dist/index290.js +17 -3
- package/dist/index291.js +11 -0
- package/dist/index292.js +23 -171
- package/dist/index293.js +3 -430
- package/dist/index294.js +436 -2
- package/dist/index295.js +125 -87
- package/dist/index296.js +200 -224
- package/dist/index297.js +2 -200
- package/dist/index298.js +2 -8
- package/dist/index299.js +2 -9
- package/dist/index300.js +2 -2
- package/dist/index301.js +2 -126
- package/dist/index302.js +1 -21
- package/dist/index303.js +24 -0
- package/dist/index305.js +8 -127
- package/dist/index306.js +89 -3
- package/dist/index307.js +1 -1
- package/dist/index308.js +3 -214
- package/dist/index309.js +214 -3
- package/dist/index31.js +2 -2
- package/dist/index310.js +2 -3
- package/dist/index311.js +3 -58
- package/dist/index312.js +3 -5
- package/dist/index313.js +57 -7
- package/dist/index314.js +5 -53
- package/dist/index315.js +65 -51
- package/dist/index316.js +6 -32
- package/dist/index317.js +17 -5
- package/dist/index318.js +2 -66
- package/dist/index319.js +32 -6
- package/dist/index320.js +25 -18
- package/dist/index321.js +53 -4
- package/dist/index322.js +53 -5
- package/dist/index323.js +5 -2
- package/dist/index324.js +8 -3
- package/dist/index325.js +6 -46
- package/dist/index326.js +6 -0
- package/dist/index327.js +47 -2
- package/dist/index328.js +2 -480
- package/dist/index33.js +8 -8
- package/dist/index331.js +480 -2
- package/dist/{index329.js → index332.js} +1 -1
- package/dist/index334.js +4 -0
- package/dist/index35.js +4 -4
- package/dist/index37.js +200 -189
- package/dist/index39.js +4 -4
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +92 -85
- package/dist/index47.js +40 -36
- package/dist/index49.js +39 -35
- package/dist/index51.js +11 -12
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index61.js +11 -10
- package/dist/index67.js +14 -12
- package/dist/index71.js +5 -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/index82.js +11 -9
- 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/package.json +1 -1
- package/dist/index230.js +0 -15
- package/dist/index258.js +0 -14
- package/dist/index267.js +0 -5
- package/dist/index271.js +0 -283
- package/dist/index288.js +0 -13
- package/dist/index304.js +0 -438
- /package/dist/{index330.js → index333.js} +0 -0
@@ -13,6 +13,10 @@ export type BbTextInputProps = {
|
|
13
13
|
* Sets autofocus on page load.
|
14
14
|
*/
|
15
15
|
autofocus?: InputHTMLAttributes['autofocus'];
|
16
|
+
/**
|
17
|
+
* Displays a clear button when the input has a value and is being interacted with.
|
18
|
+
*/
|
19
|
+
clearable?: boolean;
|
16
20
|
/**
|
17
21
|
* Displays the component in a compact version.
|
18
22
|
*/
|
@@ -17,6 +17,10 @@ export type BbTextareaProps = {
|
|
17
17
|
* Expands the textarea to match its content
|
18
18
|
*/
|
19
19
|
autoGrow?: boolean;
|
20
|
+
/**
|
21
|
+
* Displays a clear button when the input has a value and is being interacted with.
|
22
|
+
*/
|
23
|
+
clearable?: boolean;
|
20
24
|
/**
|
21
25
|
* Sets the component in a compact state.
|
22
26
|
*/
|
@@ -0,0 +1,2 @@
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
2
|
+
export default _default;
|
@@ -3,6 +3,10 @@ type Props = {
|
|
3
3
|
* Name of the icon to be added at the end of the input.
|
4
4
|
*/
|
5
5
|
'append:icon'?: string;
|
6
|
+
/**
|
7
|
+
* Whether the input is clearable.
|
8
|
+
*/
|
9
|
+
clearable?: boolean;
|
6
10
|
/**
|
7
11
|
* Name of the icon to be added at the start of the input.
|
8
12
|
*/
|
@@ -23,7 +27,11 @@ declare function __VLS_template(): {
|
|
23
27
|
attrs: Partial<{}>;
|
24
28
|
};
|
25
29
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
26
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}
|
30
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
31
|
+
"click:clear": () => any;
|
32
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
33
|
+
"onClick:clear"?: (() => any) | undefined;
|
34
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
27
35
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
28
36
|
export default _default;
|
29
37
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
package/dist/index100.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import { defineComponent as R, mergeModels as b, computed as I, toRef as m, reactive as j, useModel as B, watch as E, openBlock as g, createElementBlock as k, Fragment as H, renderSlot as p, unref as x, createCommentVNode as G, renderList as U } from "vue";
|
2
|
-
import { useItemValue as W } from "./
|
3
|
-
import { isNil as w } from "./
|
4
|
-
import { indexBy as q } from "./
|
5
|
-
import { hash as M } from "./
|
6
|
-
import { useItemsGetter as z } from "./
|
7
|
-
import { usePrefill as J } from "./
|
8
|
-
import { useIndexById as K } from "./
|
9
|
-
import { useBaseOptions as Q } from "./
|
10
|
-
import { useHashedWatcher as X } from "./
|
2
|
+
import { useItemValue as W } from "./index291.js";
|
3
|
+
import { isNil as w } from "./index252.js";
|
4
|
+
import { indexBy as q } from "./index305.js";
|
5
|
+
import { hash as M } from "./index235.js";
|
6
|
+
import { useItemsGetter as z } from "./index231.js";
|
7
|
+
import { usePrefill as J } from "./index237.js";
|
8
|
+
import { useIndexById as K } from "./index232.js";
|
9
|
+
import { useBaseOptions as Q } from "./index233.js";
|
10
|
+
import { useHashedWatcher as X } from "./index236.js";
|
11
11
|
const de = /* @__PURE__ */ R({
|
12
12
|
__name: "BbRows",
|
13
13
|
props: /* @__PURE__ */ b({
|
package/dist/index101.js
CHANGED
@@ -1,15 +1,16 @@
|
|
1
|
-
import { defineComponent as h, ref as y, computed as g, openBlock as v, createBlock as B, withCtx as
|
1
|
+
import { defineComponent as h, ref as y, computed as g, openBlock as v, createBlock as B, withCtx as a, renderSlot as n, normalizeProps as l, guardReactiveProps as i, createVNode as $, mergeProps as T } from "vue";
|
2
2
|
import V from "./index27.js";
|
3
3
|
/* empty css */
|
4
4
|
import w from "./index37.js";
|
5
5
|
/* empty css */
|
6
|
-
const
|
6
|
+
const k = /* @__PURE__ */ h({
|
7
7
|
__name: "BbSelect",
|
8
8
|
props: {
|
9
9
|
allowWriting: { type: [Boolean, String], default: !0 },
|
10
10
|
"append:icon": {},
|
11
11
|
autocomplete: {},
|
12
12
|
autofocus: {},
|
13
|
+
clearable: { type: Boolean },
|
13
14
|
comma: { type: Boolean },
|
14
15
|
compact: { type: Boolean },
|
15
16
|
dependencies: {},
|
@@ -45,6 +46,7 @@ const P = /* @__PURE__ */ h({
|
|
45
46
|
queryDebounceTime: {},
|
46
47
|
readonly: { type: Boolean },
|
47
48
|
reverse: { type: Boolean },
|
49
|
+
selectedLabelsFn: {},
|
48
50
|
stash: { type: Boolean },
|
49
51
|
teleportTarget: {},
|
50
52
|
transitionDuration: {},
|
@@ -82,10 +84,10 @@ const P = /* @__PURE__ */ h({
|
|
82
84
|
reverse: e.reverse,
|
83
85
|
"show-hint": u.value
|
84
86
|
}, {
|
85
|
-
label:
|
86
|
-
|
87
|
+
label: a((s) => [
|
88
|
+
n(e.$slots, "label", l(i(s)))
|
87
89
|
]),
|
88
|
-
input:
|
90
|
+
input: a(({ id: s, hasErrors: b, ariaDescribedby: f }) => [
|
89
91
|
$(w, T({
|
90
92
|
id: s,
|
91
93
|
"allow-writing": e.allowWriting,
|
@@ -93,6 +95,7 @@ const P = /* @__PURE__ */ h({
|
|
93
95
|
"aria-describedby": f,
|
94
96
|
autocomplete: e.autocomplete,
|
95
97
|
autofocus: e.autofocus,
|
98
|
+
clearable: e.clearable,
|
96
99
|
comma: e.comma,
|
97
100
|
compact: e.compact,
|
98
101
|
dependencies: e.dependencies,
|
@@ -119,63 +122,64 @@ const P = /* @__PURE__ */ h({
|
|
119
122
|
"query-debounce-time": e.queryDebounceTime,
|
120
123
|
readonly: e.readonly,
|
121
124
|
required: e.required,
|
125
|
+
"selected-labels-fn": e.selectedLabelsFn,
|
122
126
|
stash: e.stash,
|
123
127
|
"teleport-target": e.teleportTarget,
|
124
128
|
"transition-duration": e.transitionDuration,
|
125
129
|
"update-on-animation-frame": e.updateOnAnimationFrame
|
126
130
|
}, c), {
|
127
|
-
"append-outer":
|
128
|
-
|
131
|
+
"append-outer": a((o) => [
|
132
|
+
n(e.$slots, "append-outer", l(i(o)))
|
129
133
|
]),
|
130
|
-
append:
|
131
|
-
|
134
|
+
append: a((o) => [
|
135
|
+
n(e.$slots, "append", l(i(o)))
|
132
136
|
]),
|
133
|
-
prefix:
|
134
|
-
|
137
|
+
prefix: a((o) => [
|
138
|
+
n(e.$slots, "prefix", l(i(o)))
|
135
139
|
]),
|
136
|
-
chevron:
|
137
|
-
|
140
|
+
chevron: a((o) => [
|
141
|
+
n(e.$slots, "chevron", l(i(o)))
|
138
142
|
]),
|
139
|
-
loading:
|
140
|
-
|
143
|
+
loading: a((o) => [
|
144
|
+
n(e.$slots, "loading", l(i(o)))
|
141
145
|
]),
|
142
|
-
"no-data":
|
143
|
-
|
146
|
+
"no-data": a((o) => [
|
147
|
+
n(e.$slots, "no-data", l(i(o)))
|
144
148
|
]),
|
145
|
-
"option:append":
|
146
|
-
|
149
|
+
"option:append": a((o) => [
|
150
|
+
n(e.$slots, "option:append", l(i(o)))
|
147
151
|
]),
|
148
|
-
"option:prepend":
|
149
|
-
|
152
|
+
"option:prepend": a((o) => [
|
153
|
+
n(e.$slots, "option:prepend", l(i(o)))
|
150
154
|
]),
|
151
|
-
option:
|
152
|
-
|
155
|
+
option: a((o) => [
|
156
|
+
n(e.$slots, "option", l(i(o)))
|
153
157
|
]),
|
154
|
-
"options:append":
|
155
|
-
|
158
|
+
"options:append": a((o) => [
|
159
|
+
n(e.$slots, "options:append", l(i(o)))
|
156
160
|
]),
|
157
|
-
"options:prepend":
|
158
|
-
|
161
|
+
"options:prepend": a((o) => [
|
162
|
+
n(e.$slots, "options:prepend", l(i(o)))
|
159
163
|
]),
|
160
|
-
"prepend-outer":
|
161
|
-
|
164
|
+
"prepend-outer": a((o) => [
|
165
|
+
n(e.$slots, "prepend-outer", l(i(o)))
|
162
166
|
]),
|
163
|
-
prepend:
|
164
|
-
|
167
|
+
prepend: a((o) => [
|
168
|
+
n(e.$slots, "prepend", l(i(o)))
|
165
169
|
]),
|
166
|
-
suffix:
|
167
|
-
|
170
|
+
suffix: a((o) => [
|
171
|
+
n(e.$slots, "suffix", l(i(o)))
|
168
172
|
]),
|
169
|
-
spinner:
|
170
|
-
|
173
|
+
spinner: a((o) => [
|
174
|
+
n(e.$slots, "spinner", l(i(o)))
|
171
175
|
]),
|
172
176
|
_: 2
|
173
|
-
}, 1040, ["id", "allow-writing", "append:icon", "aria-describedby", "autocomplete", "autofocus", "comma", "compact", "dependencies", "deps-debounce-time", "disabled", "enforce-coherence", "filter-by", "has-errors", "item-text", "item-value", "items", "loading", "loading-text", "max", "max-selected-labels", "model-value", "model-value-debounce-time", "multiple", "name", "no-data-text", "placeholder", "prefill", "prepend:icon", "query-debounce-time", "readonly", "required", "stash", "teleport-target", "transition-duration", "update-on-animation-frame"])
|
177
|
+
}, 1040, ["id", "allow-writing", "append:icon", "aria-describedby", "autocomplete", "autofocus", "clearable", "comma", "compact", "dependencies", "deps-debounce-time", "disabled", "enforce-coherence", "filter-by", "has-errors", "item-text", "item-value", "items", "loading", "loading-text", "max", "max-selected-labels", "model-value", "model-value-debounce-time", "multiple", "name", "no-data-text", "placeholder", "prefill", "prepend:icon", "query-debounce-time", "readonly", "required", "selected-labels-fn", "stash", "teleport-target", "transition-duration", "update-on-animation-frame"])
|
174
178
|
]),
|
175
179
|
_: 3
|
176
180
|
}, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
177
181
|
}
|
178
182
|
});
|
179
183
|
export {
|
180
|
-
|
184
|
+
k as default
|
181
185
|
};
|
package/dist/index111.js
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
import { defineComponent as me, mergeModels as K, ref as fe, computed as v, toRef as j, useModel as Q, watch as X, reactive as ye, openBlock as n, createBlock as Y, resolveDynamicComponent as he, normalizeClass as p, unref as b, withCtx as ve, createElementBlock as d, toDisplayString as m, createCommentVNode as _, createElementVNode as o, renderSlot as f, isRef as ke, Fragment as I, renderList as T, createVNode as Z, createTextVNode as _e, mergeProps as ge } from "vue";
|
2
|
-
import { add as Ce } from "./
|
2
|
+
import { add as Ce } from "./index310.js";
|
3
3
|
import { clamp as we } from "./index206.js";
|
4
|
-
import { isNil as $ } from "./
|
4
|
+
import { isNil as $ } from "./index252.js";
|
5
5
|
import { useId as Ve } from "./index8.js";
|
6
|
-
import { useItemValue as Be } from "./
|
7
|
-
import { when as Ie } from "./
|
6
|
+
import { useItemValue as Be } from "./index291.js";
|
7
|
+
import { when as Ie } from "./index239.js";
|
8
8
|
import ee from "./index17.js";
|
9
9
|
/* empty css */
|
10
10
|
import Te from "./index31.js";
|
11
11
|
/* empty css */
|
12
|
-
import { hash as le } from "./
|
13
|
-
import { useItemsGetter as $e } from "./
|
14
|
-
import { usePrefill as Ae } from "./
|
15
|
-
import { useIndexById as xe } from "./
|
16
|
-
import { useBaseOptions as Ne } from "./
|
17
|
-
import { useHashedWatcher as Le } from "./
|
18
|
-
import { useLocale as Se } from "./
|
12
|
+
import { hash as le } from "./index235.js";
|
13
|
+
import { useItemsGetter as $e } from "./index231.js";
|
14
|
+
import { usePrefill as Ae } from "./index237.js";
|
15
|
+
import { useIndexById as xe } from "./index232.js";
|
16
|
+
import { useBaseOptions as Ne } from "./index233.js";
|
17
|
+
import { useHashedWatcher as Le } from "./index236.js";
|
18
|
+
import { useLocale as Se } from "./index212.js";
|
19
19
|
const He = {
|
20
20
|
key: 0,
|
21
21
|
class: "sr-only"
|
package/dist/index113.js
CHANGED
@@ -10,6 +10,7 @@ const I = /* @__PURE__ */ f({
|
|
10
10
|
autocomplete: {},
|
11
11
|
autofocus: {},
|
12
12
|
comma: { type: Boolean },
|
13
|
+
clearable: { type: Boolean },
|
13
14
|
compact: { type: Boolean },
|
14
15
|
direction: {},
|
15
16
|
disabled: { type: Boolean },
|
@@ -70,18 +71,19 @@ const I = /* @__PURE__ */ f({
|
|
70
71
|
label: l((s) => [
|
71
72
|
r(e.$slots, "label", n(i(s)))
|
72
73
|
]),
|
73
|
-
input: l(({ id: s, hasErrors:
|
74
|
+
input: l(({ id: s, hasErrors: b, ariaDescribedby: h }) => [
|
74
75
|
k(V, $({
|
75
76
|
id: s,
|
76
77
|
"append:icon": p["append:icon"],
|
77
|
-
"aria-describedby":
|
78
|
+
"aria-describedby": h,
|
78
79
|
autocomplete: e.autocomplete,
|
79
80
|
autofocus: e.autofocus,
|
81
|
+
clearable: e.clearable,
|
80
82
|
comma: e.comma,
|
81
83
|
compact: e.compact,
|
82
84
|
disabled: e.disabled,
|
83
85
|
divider: e.divider,
|
84
|
-
"has-errors":
|
86
|
+
"has-errors": b,
|
85
87
|
loading: e.loading,
|
86
88
|
max: e.max,
|
87
89
|
"model-value": e.modelValue,
|
@@ -111,7 +113,7 @@ const I = /* @__PURE__ */ f({
|
|
111
113
|
r(e.$slots, "append-outer", n(i(o)))
|
112
114
|
]),
|
113
115
|
_: 2
|
114
|
-
}, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "comma", "compact", "disabled", "divider", "has-errors", "loading", "max", "model-value", "multiple", "name", "placeholder", "prepend:icon", "readonly", "required"])
|
116
|
+
}, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "clearable", "comma", "compact", "disabled", "divider", "has-errors", "loading", "max", "model-value", "multiple", "name", "placeholder", "prepend:icon", "readonly", "required"])
|
115
117
|
]),
|
116
118
|
_: 3
|
117
119
|
}, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
package/dist/index115.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as f, ref as y, computed as w, openBlock as v, createBlock as B, withCtx as a, renderSlot as r, normalizeProps as
|
1
|
+
import { defineComponent as f, ref as y, computed as w, openBlock as v, createBlock as B, withCtx as a, renderSlot as r, normalizeProps as i, guardReactiveProps as d, createVNode as g, mergeProps as $ } from "vue";
|
2
2
|
import k from "./index27.js";
|
3
3
|
/* empty css */
|
4
4
|
import V from "./index47.js";
|
@@ -10,6 +10,7 @@ const G = /* @__PURE__ */ f({
|
|
10
10
|
autocomplete: {},
|
11
11
|
autofocus: {},
|
12
12
|
autoGrow: { type: Boolean },
|
13
|
+
clearable: { type: Boolean },
|
13
14
|
compact: { type: Boolean },
|
14
15
|
direction: {},
|
15
16
|
disabled: { type: Boolean },
|
@@ -33,14 +34,14 @@ const G = /* @__PURE__ */ f({
|
|
33
34
|
},
|
34
35
|
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
35
36
|
setup(t, { emit: u }) {
|
36
|
-
const
|
37
|
+
const l = t, o = u, n = y(!1), m = w(() => l.persistentHint || n.value), c = {
|
37
38
|
onBlur: (e) => {
|
38
|
-
|
39
|
+
n.value = !1, o("blur", e);
|
39
40
|
},
|
40
41
|
onChange: (e) => o("change", e),
|
41
42
|
onClick: (e) => o("click", e),
|
42
43
|
onFocus: (e) => {
|
43
|
-
|
44
|
+
n.value = !0, o("focus", e);
|
44
45
|
},
|
45
46
|
onInput: (e) => o("input", e),
|
46
47
|
onKeydown: (e) => o("keydown", e),
|
@@ -65,23 +66,24 @@ const G = /* @__PURE__ */ f({
|
|
65
66
|
"show-hint": m.value
|
66
67
|
}, {
|
67
68
|
label: a((s) => [
|
68
|
-
r(e.$slots, "label",
|
69
|
+
r(e.$slots, "label", i(d(s)))
|
69
70
|
]),
|
70
|
-
input: a(({ id: s, hasErrors:
|
71
|
+
input: a(({ id: s, hasErrors: b, ariaDescribedby: h }) => [
|
71
72
|
g(V, $({
|
72
73
|
id: s,
|
73
|
-
"append:icon":
|
74
|
-
"aria-describedby":
|
74
|
+
"append:icon": l["append:icon"],
|
75
|
+
"aria-describedby": h,
|
75
76
|
"auto-grow": e.autoGrow,
|
76
77
|
autofocus: e.autofocus,
|
78
|
+
clearable: e.clearable,
|
77
79
|
compact: e.compact,
|
78
80
|
disabled: e.disabled,
|
79
|
-
"has-errors":
|
81
|
+
"has-errors": b,
|
80
82
|
loading: e.loading,
|
81
83
|
"model-value": e.modelValue,
|
82
84
|
name: e.name,
|
83
85
|
placeholder: e.placeholder,
|
84
|
-
"prepend:icon":
|
86
|
+
"prepend:icon": l["prepend:icon"],
|
85
87
|
readonly: e.readonly,
|
86
88
|
required: e.required,
|
87
89
|
rows: e.rows
|
@@ -98,14 +100,14 @@ const G = /* @__PURE__ */ f({
|
|
98
100
|
"prepend-outer": a(() => [
|
99
101
|
r(e.$slots, "prepend-outer")
|
100
102
|
]),
|
101
|
-
prefix: a((
|
102
|
-
r(e.$slots, "prefix",
|
103
|
+
prefix: a((p) => [
|
104
|
+
r(e.$slots, "prefix", i(d(p)))
|
103
105
|
]),
|
104
|
-
suffix: a((
|
105
|
-
r(e.$slots, "suffix",
|
106
|
+
suffix: a((p) => [
|
107
|
+
r(e.$slots, "suffix", i(d(p)))
|
106
108
|
]),
|
107
109
|
_: 2
|
108
|
-
}, 1040, ["id", "append:icon", "aria-describedby", "auto-grow", "autofocus", "compact", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "rows"])
|
110
|
+
}, 1040, ["id", "append:icon", "aria-describedby", "auto-grow", "autofocus", "clearable", "compact", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "rows"])
|
109
111
|
]),
|
110
112
|
_: 3
|
111
113
|
}, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
package/dist/index117.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as c, ref as
|
1
|
+
import { defineComponent as c, ref as b, computed as h, openBlock as f, createBlock as y, withCtx as a, renderSlot as l, normalizeProps as v, guardReactiveProps as B, createVNode as w, mergeProps as g } from "vue";
|
2
2
|
import $ from "./index27.js";
|
3
3
|
/* empty css */
|
4
4
|
import k from "./index49.js";
|
@@ -9,6 +9,7 @@ const E = /* @__PURE__ */ c({
|
|
9
9
|
"append:icon": {},
|
10
10
|
autocomplete: {},
|
11
11
|
autofocus: {},
|
12
|
+
clearable: { type: Boolean },
|
12
13
|
compact: { type: Boolean },
|
13
14
|
direction: {},
|
14
15
|
disabled: { type: Boolean },
|
@@ -32,14 +33,14 @@ const E = /* @__PURE__ */ c({
|
|
32
33
|
},
|
33
34
|
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
34
35
|
setup(s, { emit: i }) {
|
35
|
-
const r = s, o = i,
|
36
|
+
const r = s, o = i, n = b(!1), d = h(() => r.persistentHint || n.value), t = {
|
36
37
|
onBlur: (e) => {
|
37
|
-
|
38
|
+
n.value = !1, o("blur", e);
|
38
39
|
},
|
39
40
|
onChange: (e) => o("change", e),
|
40
41
|
onClick: (e) => o("click", e),
|
41
42
|
onFocus: (e) => {
|
42
|
-
|
43
|
+
n.value = !0, o("focus", e);
|
43
44
|
},
|
44
45
|
onInput: (e) => o("input", e),
|
45
46
|
onKeydown: (e) => o("keydown", e),
|
@@ -64,7 +65,7 @@ const E = /* @__PURE__ */ c({
|
|
64
65
|
"show-hint": d.value
|
65
66
|
}, {
|
66
67
|
label: a((p) => [
|
67
|
-
|
68
|
+
l(e.$slots, "label", v(B(p)))
|
68
69
|
]),
|
69
70
|
input: a(({ id: p, hasErrors: u, ariaDescribedby: m }) => [
|
70
71
|
w(k, g({
|
@@ -73,6 +74,7 @@ const E = /* @__PURE__ */ c({
|
|
73
74
|
"aria-describedby": m,
|
74
75
|
autocomplete: e.autocomplete,
|
75
76
|
autofocus: e.autofocus,
|
77
|
+
clearable: e.clearable,
|
76
78
|
compact: e.compact,
|
77
79
|
disabled: e.disabled,
|
78
80
|
"has-errors": u,
|
@@ -86,25 +88,25 @@ const E = /* @__PURE__ */ c({
|
|
86
88
|
type: e.type
|
87
89
|
}, t), {
|
88
90
|
"append-outer": a(() => [
|
89
|
-
|
91
|
+
l(e.$slots, "append-outer")
|
90
92
|
]),
|
91
93
|
append: a(() => [
|
92
|
-
|
94
|
+
l(e.$slots, "append")
|
93
95
|
]),
|
94
96
|
prefix: a(() => [
|
95
|
-
|
97
|
+
l(e.$slots, "prefix")
|
96
98
|
]),
|
97
99
|
suffix: a(() => [
|
98
|
-
|
100
|
+
l(e.$slots, "suffix")
|
99
101
|
]),
|
100
102
|
prepend: a(() => [
|
101
|
-
|
103
|
+
l(e.$slots, "prepend")
|
102
104
|
]),
|
103
105
|
"prepend-outer": a(() => [
|
104
|
-
|
106
|
+
l(e.$slots, "prepend-outer")
|
105
107
|
]),
|
106
108
|
_: 2
|
107
|
-
}, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "compact", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "type"])
|
109
|
+
}, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "clearable", "compact", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "type"])
|
108
110
|
]),
|
109
111
|
_: 3
|
110
112
|
}, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
package/dist/index119.js
CHANGED
@@ -1,7 +1,7 @@
|
|
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 "./
|
4
|
-
import B from "./
|
3
|
+
import C from "./index225.js";
|
4
|
+
import B from "./index315.js";
|
5
5
|
const V = /* @__PURE__ */ l({
|
6
6
|
__name: "BbToast",
|
7
7
|
props: {
|