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.
Files changed (196) hide show
  1. package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +31 -58
  2. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +4 -0
  3. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +17 -8
  4. package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +4 -0
  5. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +22 -3
  6. package/dist/components/BaseSlider/BaseSlider.vue.d.ts +1 -1
  7. package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +8 -167
  8. package/dist/components/BaseTag/BaseTag.vue.d.ts +17 -3
  9. package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +4 -0
  10. package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +4 -0
  11. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +1 -1
  12. package/dist/components/BbButton/BbButton.vue.d.ts +4 -4
  13. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +4 -0
  14. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +4 -0
  15. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +5 -0
  16. package/dist/components/BbSelect/BbSelect.vue.d.ts +9 -0
  17. package/dist/components/BbTag/BbTag.vue.d.ts +4 -0
  18. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +4 -0
  19. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +4 -0
  20. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +0 -1
  21. package/dist/components/ClearableButton.vue.d.ts +2 -0
  22. package/dist/components/CommonInputInnerContainer.vue.d.ts +9 -1
  23. package/dist/index100.js +9 -9
  24. package/dist/index101.js +41 -37
  25. package/dist/index111.js +11 -11
  26. package/dist/index113.js +6 -4
  27. package/dist/index115.js +17 -15
  28. package/dist/index117.js +14 -12
  29. package/dist/index119.js +2 -2
  30. package/dist/index121.js +59 -61
  31. package/dist/index123.js +1 -1
  32. package/dist/index125.js +1 -1
  33. package/dist/index127.js +1 -1
  34. package/dist/index128.js +1 -1
  35. package/dist/index129.js +1 -1
  36. package/dist/index13.js +2 -2
  37. package/dist/index133.js +2 -2
  38. package/dist/index15.js +38 -33
  39. package/dist/index17.js +3 -3
  40. package/dist/index19.js +8 -8
  41. package/dist/index207.js +58 -79
  42. package/dist/index209.js +13 -25
  43. package/dist/index21.js +12 -12
  44. package/dist/index210.js +19 -16
  45. package/dist/index211.js +4 -48
  46. package/dist/index212.js +13 -15
  47. package/dist/index213.js +3 -3
  48. package/dist/index214.js +126 -12
  49. package/dist/index215.js +5 -16
  50. package/dist/index216.js +125 -5
  51. package/dist/index217.js +2 -2
  52. package/dist/index218.js +2 -2
  53. package/dist/index219.js +3 -3
  54. package/dist/index220.js +2 -2
  55. package/dist/index221.js +2 -19
  56. package/dist/index222.js +2 -27
  57. package/dist/index223.js +41 -2
  58. package/dist/index224.js +5 -7
  59. package/dist/index225.js +11 -246
  60. package/dist/index226.js +5 -52
  61. package/dist/index227.js +2 -44
  62. package/dist/index228.js +369 -5
  63. package/dist/index229.js +80 -54
  64. package/dist/index23.js +111 -107
  65. package/dist/index231.js +25 -2
  66. package/dist/index232.js +17 -4
  67. package/dist/index233.js +51 -2
  68. package/dist/index234.js +15 -53
  69. package/dist/index235.js +5 -0
  70. package/dist/index236.js +12 -13
  71. package/dist/index237.js +15 -19
  72. package/dist/index238.js +2 -4
  73. package/dist/index239.js +4 -3
  74. package/dist/index240.js +2 -41
  75. package/dist/index241.js +19 -6
  76. package/dist/index242.js +27 -7
  77. package/dist/index243.js +6 -13
  78. package/dist/index244.js +250 -3
  79. package/dist/index245.js +49 -123
  80. package/dist/index246.js +44 -125
  81. package/dist/index247.js +5 -2
  82. package/dist/index248.js +60 -5
  83. package/dist/index249.js +3 -369
  84. package/dist/index25.js +7 -7
  85. package/dist/index250.js +7 -2
  86. package/dist/index251.js +2 -2
  87. package/dist/index252.js +2 -2
  88. package/dist/index253.js +2 -18
  89. package/dist/index254.js +17 -105
  90. package/dist/index255.js +108 -0
  91. package/dist/{index256.js → index257.js} +2 -2
  92. package/dist/index259.js +11 -9
  93. package/dist/index260.js +9 -2
  94. package/dist/index261.js +3 -6
  95. package/dist/index262.js +6 -16
  96. package/dist/index263.js +15 -8
  97. package/dist/index264.js +9 -23
  98. package/dist/index265.js +23 -90
  99. package/dist/index266.js +92 -0
  100. package/dist/index268.js +9 -17
  101. package/dist/index269.js +224 -9
  102. package/dist/index27.js +1 -1
  103. package/dist/index270.js +3 -28
  104. package/dist/index272.js +7 -6
  105. package/dist/index273.js +176 -2
  106. package/dist/index274.js +7 -2
  107. package/dist/index275.js +11 -2
  108. package/dist/index276.js +281 -2
  109. package/dist/index277.js +6 -2
  110. package/dist/index278.js +2 -2
  111. package/dist/index279.js +2 -2
  112. package/dist/index280.js +2 -2
  113. package/dist/index281.js +2 -2
  114. package/dist/index282.js +2 -2
  115. package/dist/index283.js +2 -2
  116. package/dist/index284.js +125 -21
  117. package/dist/index285.js +433 -0
  118. package/dist/index286.js +2 -7
  119. package/dist/index287.js +22 -7
  120. package/dist/index289.js +3 -4
  121. package/dist/index29.js +48 -40
  122. package/dist/index290.js +17 -3
  123. package/dist/index291.js +11 -0
  124. package/dist/index292.js +23 -171
  125. package/dist/index293.js +3 -430
  126. package/dist/index294.js +436 -2
  127. package/dist/index295.js +125 -87
  128. package/dist/index296.js +200 -224
  129. package/dist/index297.js +2 -200
  130. package/dist/index298.js +2 -8
  131. package/dist/index299.js +2 -9
  132. package/dist/index300.js +2 -2
  133. package/dist/index301.js +2 -126
  134. package/dist/index302.js +1 -21
  135. package/dist/index303.js +24 -0
  136. package/dist/index305.js +8 -127
  137. package/dist/index306.js +89 -3
  138. package/dist/index307.js +1 -1
  139. package/dist/index308.js +3 -214
  140. package/dist/index309.js +214 -3
  141. package/dist/index31.js +2 -2
  142. package/dist/index310.js +2 -3
  143. package/dist/index311.js +3 -58
  144. package/dist/index312.js +3 -5
  145. package/dist/index313.js +57 -7
  146. package/dist/index314.js +5 -53
  147. package/dist/index315.js +65 -51
  148. package/dist/index316.js +6 -32
  149. package/dist/index317.js +17 -5
  150. package/dist/index318.js +2 -66
  151. package/dist/index319.js +32 -6
  152. package/dist/index320.js +25 -18
  153. package/dist/index321.js +53 -4
  154. package/dist/index322.js +53 -5
  155. package/dist/index323.js +5 -2
  156. package/dist/index324.js +8 -3
  157. package/dist/index325.js +6 -46
  158. package/dist/index326.js +6 -0
  159. package/dist/index327.js +47 -2
  160. package/dist/index328.js +2 -480
  161. package/dist/index33.js +8 -8
  162. package/dist/index331.js +480 -2
  163. package/dist/{index329.js → index332.js} +1 -1
  164. package/dist/index334.js +4 -0
  165. package/dist/index35.js +4 -4
  166. package/dist/index37.js +200 -189
  167. package/dist/index39.js +4 -4
  168. package/dist/index41.js +2 -2
  169. package/dist/index43.js +8 -8
  170. package/dist/index45.js +92 -85
  171. package/dist/index47.js +40 -36
  172. package/dist/index49.js +39 -35
  173. package/dist/index51.js +11 -12
  174. package/dist/index53.js +1 -1
  175. package/dist/index55.js +1 -1
  176. package/dist/index57.js +2 -2
  177. package/dist/index61.js +11 -10
  178. package/dist/index67.js +14 -12
  179. package/dist/index71.js +5 -3
  180. package/dist/index75.js +3 -3
  181. package/dist/index77.js +1 -1
  182. package/dist/index79.js +2 -2
  183. package/dist/index81.js +1 -1
  184. package/dist/index82.js +11 -9
  185. package/dist/index84.js +4 -4
  186. package/dist/index86.js +2 -2
  187. package/dist/index88.js +4 -4
  188. package/dist/style.css +1 -1
  189. package/package.json +1 -1
  190. package/dist/index230.js +0 -15
  191. package/dist/index258.js +0 -14
  192. package/dist/index267.js +0 -5
  193. package/dist/index271.js +0 -283
  194. package/dist/index288.js +0 -13
  195. package/dist/index304.js +0 -438
  196. /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
  */
@@ -26,7 +26,6 @@ declare function __VLS_template(): {
26
26
  slots: Readonly<BbTooltipSlots> & BbTooltipSlots;
27
27
  refs: {
28
28
  wrapper: HTMLSpanElement;
29
- content: HTMLSpanElement;
30
29
  };
31
30
  attrs: Partial<{}>;
32
31
  };
@@ -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, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
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 "./index269.js";
3
- import { isNil as w } from "./index251.js";
4
- import { indexBy as q } from "./index298.js";
5
- import { hash as M } from "./index213.js";
6
- import { useItemsGetter as z } from "./index209.js";
7
- import { usePrefill as J } from "./index215.js";
8
- import { useIndexById as K } from "./index210.js";
9
- import { useBaseOptions as Q } from "./index211.js";
10
- import { useHashedWatcher as X } from "./index214.js";
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 n, renderSlot as a, normalizeProps as l, guardReactiveProps as i, createVNode as $, mergeProps as T } from "vue";
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 P = /* @__PURE__ */ h({
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: n((s) => [
86
- a(e.$slots, "label", l(i(s)))
87
+ label: a((s) => [
88
+ n(e.$slots, "label", l(i(s)))
87
89
  ]),
88
- input: n(({ id: s, hasErrors: b, ariaDescribedby: f }) => [
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": n((o) => [
128
- a(e.$slots, "append-outer", l(i(o)))
131
+ "append-outer": a((o) => [
132
+ n(e.$slots, "append-outer", l(i(o)))
129
133
  ]),
130
- append: n((o) => [
131
- a(e.$slots, "append", l(i(o)))
134
+ append: a((o) => [
135
+ n(e.$slots, "append", l(i(o)))
132
136
  ]),
133
- prefix: n((o) => [
134
- a(e.$slots, "prefix", l(i(o)))
137
+ prefix: a((o) => [
138
+ n(e.$slots, "prefix", l(i(o)))
135
139
  ]),
136
- chevron: n((o) => [
137
- a(e.$slots, "chevron", l(i(o)))
140
+ chevron: a((o) => [
141
+ n(e.$slots, "chevron", l(i(o)))
138
142
  ]),
139
- loading: n((o) => [
140
- a(e.$slots, "loading", l(i(o)))
143
+ loading: a((o) => [
144
+ n(e.$slots, "loading", l(i(o)))
141
145
  ]),
142
- "no-data": n((o) => [
143
- a(e.$slots, "no-data", l(i(o)))
146
+ "no-data": a((o) => [
147
+ n(e.$slots, "no-data", l(i(o)))
144
148
  ]),
145
- "option:append": n((o) => [
146
- a(e.$slots, "option:append", l(i(o)))
149
+ "option:append": a((o) => [
150
+ n(e.$slots, "option:append", l(i(o)))
147
151
  ]),
148
- "option:prepend": n((o) => [
149
- a(e.$slots, "option:prepend", l(i(o)))
152
+ "option:prepend": a((o) => [
153
+ n(e.$slots, "option:prepend", l(i(o)))
150
154
  ]),
151
- option: n((o) => [
152
- a(e.$slots, "option", l(i(o)))
155
+ option: a((o) => [
156
+ n(e.$slots, "option", l(i(o)))
153
157
  ]),
154
- "options:append": n((o) => [
155
- a(e.$slots, "options:append", l(i(o)))
158
+ "options:append": a((o) => [
159
+ n(e.$slots, "options:append", l(i(o)))
156
160
  ]),
157
- "options:prepend": n((o) => [
158
- a(e.$slots, "options:prepend", l(i(o)))
161
+ "options:prepend": a((o) => [
162
+ n(e.$slots, "options:prepend", l(i(o)))
159
163
  ]),
160
- "prepend-outer": n((o) => [
161
- a(e.$slots, "prepend-outer", l(i(o)))
164
+ "prepend-outer": a((o) => [
165
+ n(e.$slots, "prepend-outer", l(i(o)))
162
166
  ]),
163
- prepend: n((o) => [
164
- a(e.$slots, "prepend", l(i(o)))
167
+ prepend: a((o) => [
168
+ n(e.$slots, "prepend", l(i(o)))
165
169
  ]),
166
- suffix: n((o) => [
167
- a(e.$slots, "suffix", l(i(o)))
170
+ suffix: a((o) => [
171
+ n(e.$slots, "suffix", l(i(o)))
168
172
  ]),
169
- spinner: n((o) => [
170
- a(e.$slots, "spinner", l(i(o)))
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
- P as default
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 "./index323.js";
2
+ import { add as Ce } from "./index310.js";
3
3
  import { clamp as we } from "./index206.js";
4
- import { isNil as $ } from "./index251.js";
4
+ import { isNil as $ } from "./index252.js";
5
5
  import { useId as Ve } from "./index8.js";
6
- import { useItemValue as Be } from "./index269.js";
7
- import { when as Ie } from "./index232.js";
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 "./index213.js";
13
- import { useItemsGetter as $e } from "./index209.js";
14
- import { usePrefill as Ae } from "./index215.js";
15
- import { useIndexById as xe } from "./index210.js";
16
- import { useBaseOptions as Ne } from "./index211.js";
17
- import { useHashedWatcher as Le } from "./index214.js";
18
- import { useLocale as Se } from "./index230.js";
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: h, ariaDescribedby: b }) => [
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": b,
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": h,
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 p, guardReactiveProps as d, createVNode as g, mergeProps as $ } from "vue";
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 n = t, o = u, l = y(!1), m = w(() => n.persistentHint || l.value), c = {
37
+ const l = t, o = u, n = y(!1), m = w(() => l.persistentHint || n.value), c = {
37
38
  onBlur: (e) => {
38
- l.value = !1, o("blur", e);
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
- l.value = !0, o("focus", e);
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", p(d(s)))
69
+ r(e.$slots, "label", i(d(s)))
69
70
  ]),
70
- input: a(({ id: s, hasErrors: h, ariaDescribedby: b }) => [
71
+ input: a(({ id: s, hasErrors: b, ariaDescribedby: h }) => [
71
72
  g(V, $({
72
73
  id: s,
73
- "append:icon": n["append:icon"],
74
- "aria-describedby": b,
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": h,
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": n["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((i) => [
102
- r(e.$slots, "prefix", p(d(i)))
103
+ prefix: a((p) => [
104
+ r(e.$slots, "prefix", i(d(p)))
103
105
  ]),
104
- suffix: a((i) => [
105
- r(e.$slots, "suffix", p(d(i)))
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 h, computed as b, openBlock as f, createBlock as y, withCtx as a, renderSlot as n, normalizeProps as v, guardReactiveProps as B, createVNode as w, mergeProps as g } from "vue";
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, l = h(!1), d = b(() => r.persistentHint || l.value), t = {
36
+ const r = s, o = i, n = b(!1), d = h(() => r.persistentHint || n.value), t = {
36
37
  onBlur: (e) => {
37
- l.value = !1, o("blur", e);
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
- l.value = !0, o("focus", e);
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
- n(e.$slots, "label", v(B(p)))
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
- n(e.$slots, "append-outer")
91
+ l(e.$slots, "append-outer")
90
92
  ]),
91
93
  append: a(() => [
92
- n(e.$slots, "append")
94
+ l(e.$slots, "append")
93
95
  ]),
94
96
  prefix: a(() => [
95
- n(e.$slots, "prefix")
97
+ l(e.$slots, "prefix")
96
98
  ]),
97
99
  suffix: a(() => [
98
- n(e.$slots, "suffix")
100
+ l(e.$slots, "suffix")
99
101
  ]),
100
102
  prepend: a(() => [
101
- n(e.$slots, "prepend")
103
+ l(e.$slots, "prepend")
102
104
  ]),
103
105
  "prepend-outer": a(() => [
104
- n(e.$slots, "prepend-outer")
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 "./index243.js";
4
- import B from "./index318.js";
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: {