bitboss-ui 0.2.9 → 0.2.11

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 (201) hide show
  1. package/dist/components/BaseButton/BaseButton.vue.d.ts +4 -2
  2. package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +4 -2
  3. package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +63 -3
  4. package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +22 -2
  5. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +27 -2
  6. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +2 -2
  7. package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +2 -2
  8. package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +2 -2
  9. package/dist/components/BaseRadio/BaseRadio.vue.d.ts +4 -2
  10. package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +63 -3
  11. package/dist/components/BaseRating/BaseRating.vue.d.ts +2 -2
  12. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +3 -3
  13. package/dist/components/BaseSlider/BaseSlider.vue.d.ts +2 -2
  14. package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +2 -2
  15. package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +63 -3
  16. package/dist/components/BaseTag/BaseTag.vue.d.ts +2 -2
  17. package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +2 -2
  18. package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +2 -2
  19. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +11 -2
  20. package/dist/components/BbAlert/BbAlert.vue.d.ts +9 -2
  21. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +4 -2
  22. package/dist/components/BbBadge/BbBadge.vue.d.ts +5 -2
  23. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +23 -2
  24. package/dist/components/BbButton/BbButton.vue.d.ts +4 -2
  25. package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +10 -2
  26. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +75 -3
  27. package/dist/components/BbChip/BbChip.vue.d.ts +4 -2
  28. package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +4 -2
  29. package/dist/components/BbConfirm/BbConfirm.vue.d.ts +1 -1
  30. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +35 -2
  31. package/dist/components/BbDialog/BbDialog.vue.d.ts +2 -2
  32. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +80 -2
  33. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +92 -2
  34. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +7 -2
  35. package/dist/components/BbHover/BbHover.vue.d.ts +9 -2
  36. package/dist/components/BbIcon/BbIcon.vue.d.ts +1 -1
  37. package/dist/components/BbIntersection/BbIntersection.vue.d.ts +8 -2
  38. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +7 -2
  39. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +2 -2
  40. package/dist/components/BbPagination/BbPagination.vue.d.ts +11 -2
  41. package/dist/components/BbPopover/BbPopover.vue.d.ts +21 -2
  42. package/dist/components/BbProgress/BbProgress.vue.d.ts +1 -1
  43. package/dist/components/BbRadio/BbRadio.vue.d.ts +10 -2
  44. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +75 -3
  45. package/dist/components/BbRating/BbRating.vue.d.ts +7 -2
  46. package/dist/components/BbRatio/BbRatio.vue.d.ts +4 -2
  47. package/dist/components/BbSelect/BbSelect.vue.d.ts +3 -3
  48. package/dist/components/BbSlider/BbSlider.vue.d.ts +7 -2
  49. package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +2 -2
  50. package/dist/components/BbSpinner/BbSpinner.vue.d.ts +1 -1
  51. package/dist/components/BbSwitch/BbSwitch.vue.d.ts +10 -2
  52. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +75 -3
  53. package/dist/components/BbTab/BbTab.vue.d.ts +29 -5
  54. package/dist/components/BbTable/BbTable.vue.d.ts +38 -2
  55. package/dist/components/BbTag/BbTag.vue.d.ts +2 -2
  56. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +7 -2
  57. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +7 -2
  58. package/dist/components/BbToast/BbToast.vue.d.ts +1 -1
  59. package/dist/components/BbToast/BbToastMessage.vue.d.ts +1 -1
  60. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +2 -2
  61. package/dist/components/BbTree/BbTree.vue.d.ts +2 -2
  62. package/dist/index101.js +3 -3
  63. package/dist/index103.js +2 -2
  64. package/dist/index109.js +1 -1
  65. package/dist/index11.js +2 -2
  66. package/dist/index111.js +5 -6
  67. package/dist/index111.js.map +1 -1
  68. package/dist/index113.js +1 -1
  69. package/dist/index115.js +7 -7
  70. package/dist/index115.js.map +1 -1
  71. package/dist/index116.js +1 -1
  72. package/dist/index117.js +1 -1
  73. package/dist/index118.js +1 -1
  74. package/dist/index119.js +1 -1
  75. package/dist/index121.js +1 -1
  76. package/dist/index125.js +1 -1
  77. package/dist/index126.js +1 -1
  78. package/dist/index128.js +2 -2
  79. package/dist/index128.js.map +1 -1
  80. package/dist/index15.js +8 -8
  81. package/dist/index17.js +25 -25
  82. package/dist/index19.js +3 -3
  83. package/dist/index195.js +2 -2
  84. package/dist/index195.js.map +1 -1
  85. package/dist/index196.js +2 -4
  86. package/dist/index196.js.map +1 -1
  87. package/dist/index197.js +2 -2
  88. package/dist/index197.js.map +1 -1
  89. package/dist/index198.js +2 -5
  90. package/dist/index198.js.map +1 -1
  91. package/dist/index199.js +5 -16
  92. package/dist/index199.js.map +1 -1
  93. package/dist/index200.js +10 -10
  94. package/dist/index200.js.map +1 -1
  95. package/dist/index201.js +15 -18
  96. package/dist/index201.js.map +1 -1
  97. package/dist/index202.js +18 -19
  98. package/dist/index202.js.map +1 -1
  99. package/dist/index203.js +15 -24
  100. package/dist/index203.js.map +1 -1
  101. package/dist/index204.js +29 -8
  102. package/dist/index204.js.map +1 -1
  103. package/dist/index205.js +8 -2
  104. package/dist/index205.js.map +1 -1
  105. package/dist/index206.js +2 -351
  106. package/dist/index206.js.map +1 -1
  107. package/dist/index207.js +4 -2
  108. package/dist/index207.js.map +1 -1
  109. package/dist/index208.js +378 -6
  110. package/dist/index208.js.map +1 -1
  111. package/dist/index209.js +126 -361
  112. package/dist/index209.js.map +1 -1
  113. package/dist/index21.js +2 -2
  114. package/dist/index210.js +174 -3
  115. package/dist/index210.js.map +1 -1
  116. package/dist/index211.js +23 -35
  117. package/dist/index211.js.map +1 -1
  118. package/dist/index212.js +371 -8
  119. package/dist/index212.js.map +1 -1
  120. package/dist/index213.js +3 -134
  121. package/dist/index213.js.map +1 -1
  122. package/dist/index214.js +3 -2
  123. package/dist/index214.js.map +1 -1
  124. package/dist/index215.js +3 -186
  125. package/dist/index215.js.map +1 -1
  126. package/dist/index216.js +35 -23
  127. package/dist/index216.js.map +1 -1
  128. package/dist/index217.js +6 -2
  129. package/dist/index217.js.map +1 -1
  130. package/dist/index218.js +2 -235
  131. package/dist/index218.js.map +1 -1
  132. package/dist/index219.js +10 -3
  133. package/dist/index219.js.map +1 -1
  134. package/dist/index220.js +235 -3
  135. package/dist/index220.js.map +1 -1
  136. package/dist/index222.js +67 -62
  137. package/dist/index222.js.map +1 -1
  138. package/dist/index223.js +1 -1
  139. package/dist/index225.js +1 -1
  140. package/dist/index226.js +295 -4
  141. package/dist/index226.js.map +1 -1
  142. package/dist/index227.js +5 -294
  143. package/dist/index227.js.map +1 -1
  144. package/dist/index228.js +2 -6
  145. package/dist/index228.js.map +1 -1
  146. package/dist/index229.js +2 -2
  147. package/dist/index23.js +2 -2
  148. package/dist/index23.js.map +1 -1
  149. package/dist/index234.js +4 -2
  150. package/dist/index234.js.map +1 -1
  151. package/dist/index235.js +2 -117
  152. package/dist/index235.js.map +1 -1
  153. package/dist/index236.js +111 -100
  154. package/dist/index236.js.map +1 -1
  155. package/dist/index237.js +105 -68
  156. package/dist/index237.js.map +1 -1
  157. package/dist/index238.js +224 -2
  158. package/dist/index238.js.map +1 -1
  159. package/dist/index239.js +258 -2
  160. package/dist/index239.js.map +1 -1
  161. package/dist/index240.js +426 -153
  162. package/dist/index240.js.map +1 -1
  163. package/dist/index241.js +89 -2
  164. package/dist/index241.js.map +1 -1
  165. package/dist/index242.js +67 -433
  166. package/dist/index242.js.map +1 -1
  167. package/dist/index243.js +161 -88
  168. package/dist/index243.js.map +1 -1
  169. package/dist/index244.js +2 -200
  170. package/dist/index244.js.map +1 -1
  171. package/dist/index245.js +2 -2
  172. package/dist/index245.js.map +1 -1
  173. package/dist/index246.js +2 -224
  174. package/dist/index246.js.map +1 -1
  175. package/dist/index247.js +200 -258
  176. package/dist/index247.js.map +1 -1
  177. package/dist/index25.js +2 -2
  178. package/dist/index251.js +1 -1
  179. package/dist/index252.js +1 -1
  180. package/dist/index253.js +2 -2
  181. package/dist/index29.js +3 -3
  182. package/dist/index31.js +52 -52
  183. package/dist/index31.js.map +1 -1
  184. package/dist/index33.js +2 -2
  185. package/dist/index35.js +2 -2
  186. package/dist/index43.js +5 -5
  187. package/dist/index43.js.map +1 -1
  188. package/dist/index47.js +1 -1
  189. package/dist/index49.js +1 -1
  190. package/dist/index65.js +5 -5
  191. package/dist/index69.js +30 -30
  192. package/dist/index69.js.map +1 -1
  193. package/dist/index72.js +1 -1
  194. package/dist/index75.js +1 -1
  195. package/dist/index79.js +5 -5
  196. package/dist/index8.js +56 -56
  197. package/dist/index8.js.map +1 -1
  198. package/dist/index81.js +1 -1
  199. package/dist/style.css +1 -1
  200. package/dist/utilities/functions/cloneDeep.d.ts +1 -1
  201. package/package.json +2 -2
@@ -84,7 +84,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
84
84
  mousedown: (event: MouseEvent) => void;
85
85
  mouseup: (event: MouseEvent) => void;
86
86
  "update:modelValue": (value: string | null) => void;
87
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<BbTextareaProps>>> & {
87
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<BbTextareaProps>>> & {
88
88
  onFocus?: ((event: FocusEvent) => any) | undefined;
89
89
  onBlur?: ((event: FocusEvent) => any) | undefined;
90
90
  onChange?: ((event: Event) => any) | undefined;
@@ -99,7 +99,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
99
99
  text: string;
100
100
  hasErrors: boolean;
101
101
  }) => any) | undefined;
102
- }>>;
102
+ }> & BaseTextareaSlots & {
103
+ label?: ((props: {
104
+ text: string;
105
+ hasErrors: boolean;
106
+ }) => any) | undefined;
107
+ }>;
103
108
  export default _default;
104
109
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
105
110
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -6,7 +6,7 @@ export type BbToastProps = {
6
6
  };
7
7
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbToastProps>, {
8
8
  placement: string;
9
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbToastProps>, {
9
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbToastProps>, {
10
10
  placement: string;
11
11
  }>>>, {
12
12
  placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end";
@@ -3,7 +3,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
3
3
  theme: string;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
5
  "click:close": (id: string) => void;
6
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Message>, {
6
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Message>, {
7
7
  theme: string;
8
8
  }>>> & {
9
9
  "onClick:close"?: ((id: string) => any) | undefined;
@@ -28,7 +28,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
28
28
  showClose: boolean;
29
29
  theme: string;
30
30
  transitionDuration: number;
31
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbTooltipProps>, {
31
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbTooltipProps>, {
32
32
  arrowPadding: number;
33
33
  padding: number;
34
34
  placement: string;
@@ -42,7 +42,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
42
42
  showClose: boolean;
43
43
  theme: string;
44
44
  transitionDuration: number;
45
- }, {}>, Readonly<BbTooltipSlots>>;
45
+ }, {}>, Readonly<BbTooltipSlots> & BbTooltipSlots>;
46
46
  export default _default;
47
47
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
48
48
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -55,7 +55,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
55
55
  depth: number;
56
56
  offset: number;
57
57
  items: () => TreeItem[];
58
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbTreeProps>, {
58
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbTreeProps>, {
59
59
  identifier: string;
60
60
  depth: number;
61
61
  offset: number;
@@ -64,7 +64,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
64
64
  items: TreeItem[];
65
65
  identifier: string | number;
66
66
  depth: number;
67
- }, {}>, Readonly<BbTreeSlots>>;
67
+ }, {}>, Readonly<BbTreeSlots> & BbTreeSlots>;
68
68
  export default _default;
69
69
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
70
70
  type __VLS_TypePropsToRuntimeProps<T> = {
package/dist/index101.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as ie, ref as O, computed as p, onMounted as de, watch as q, openBlock as c, createBlock as be, resolveDynamicComponent as re, normalizeClass as f, withCtx as ue, createElementBlock as d, toDisplayString as m, createCommentVNode as v, createElementVNode as o, renderSlot as y, createVNode as J, unref as C, Fragment as N, renderList as T, createTextVNode as pe, mergeProps as fe } from "vue";
2
- import { add as me } from "./index239.js";
3
- import { clamp as ye } from "./index197.js";
2
+ import { add as me } from "./index246.js";
3
+ import { clamp as ye } from "./index195.js";
4
4
  import { deepEqual as he } from "./index123.js";
5
5
  import { isNil as j } from "./index120.js";
6
6
  import { isNotNil as _e } from "./index124.js";
7
7
  import { useId as ke } from "./index7.js";
8
8
  import { useItemValue as ge } from "./index126.js";
9
- import { when as ve } from "./index196.js";
9
+ import { when as ve } from "./index207.js";
10
10
  import G from "./index11.js";
11
11
  import "./index12.js";
12
12
  import Ce from "./index25.js";
package/dist/index103.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as m, openBlock as c, createBlock as b, withCtx as a, renderSlot as r, normalizeProps as i, guardReactiveProps as n, createVNode as h, mergeProps as y } from "vue";
2
2
  import f from "./index21.js";
3
3
  import "./index22.js";
4
- import v from "./index240.js";
5
- import "./index241.js";
4
+ import v from "./index243.js";
5
+ import "./index244.js";
6
6
  const w = /* @__PURE__ */ m({
7
7
  __name: "BbTag",
8
8
  props: {
package/dist/index109.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as s, openBlock as e, createBlock as o, Teleport as l, createElementVNode as c, normalizeClass as m, createVNode as i, TransitionGroup as p, withCtx as u, createElementBlock as d, Fragment as f, renderList as _, unref as r, mergeProps as b } from "vue";
2
2
  import { state as k, useToast as C } from "./index5.js";
3
- import B from "./index237.js";
3
+ import B from "./index242.js";
4
4
  const N = /* @__PURE__ */ s({
5
5
  __name: "BbToast",
6
6
  props: {
package/dist/index11.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as B, ref as h, computed as n, watch as L, openBlock as c, createElementBlock as i, normalizeClass as E, normalizeProps as p, mergeProps as d, createCommentVNode as I, createElementVNode as l, renderSlot as F, guardReactiveProps as M } from "vue";
2
- import { isCssColor as f } from "./index195.js";
3
- import { when as N } from "./index196.js";
2
+ import { isCssColor as f } from "./index198.js";
3
+ import { when as N } from "./index207.js";
4
4
  const A = {
5
5
  class: "bb-base-checkbox-container",
6
6
  "aria-hidden": "true"
package/dist/index111.js CHANGED
@@ -4,10 +4,9 @@ import { useId as K } from "./index7.js";
4
4
  import { wait as P } from "./index122.js";
5
5
  import Q from "./index9.js";
6
6
  import "./index10.js";
7
- import { throttle as v } from "./index210.js";
8
- import { waitFor as W } from "./index208.js";
9
- import { autoUpdate as X } from "./index206.js";
10
- import { flip as Y, shift as Z } from "./index209.js";
7
+ import { throttle as v } from "./index215.js";
8
+ import { waitFor as W } from "./index217.js";
9
+ import { autoUpdate as X, flip as Y, shift as Z } from "./index208.js";
11
10
  const ee = { class: "bb-tooltip__bubble" }, te = /* @__PURE__ */ i("svg", {
12
11
  viewBox: "0 0 24 24",
13
12
  fill: "none",
@@ -19,7 +18,7 @@ const ee = { class: "bb-tooltip__bubble" }, te = /* @__PURE__ */ i("svg", {
19
18
  "stroke-width": "2",
20
19
  "stroke-linecap": "round"
21
20
  })
22
- ], -1), de = /* @__PURE__ */ A({
21
+ ], -1), pe = /* @__PURE__ */ A({
23
22
  __name: "BbTooltip",
24
23
  props: {
25
24
  arrowPadding: { default: 10 },
@@ -148,6 +147,6 @@ const ee = { class: "bb-tooltip__bubble" }, te = /* @__PURE__ */ i("svg", {
148
147
  }
149
148
  });
150
149
  export {
151
- de as default
150
+ pe as default
152
151
  };
153
152
  //# sourceMappingURL=index111.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index111.js","sources":["../src/components/BbTooltip/BbTooltip.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, createElementVNode as _createElementVNode, mergeProps as _mergeProps, openBlock as _openBlock, createElementBlock as _createElementBlock, withCtx as _withCtx, createBlock as _createBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, Teleport as _Teleport } from \"vue\"\n\nconst _hoisted_1 = { class: \"bb-tooltip__bubble\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"svg\", {\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M23 23L1 1M23 1L1 23\",\n stroke: \"currentColor\",\n \"stroke-width\": \"2\",\n \"stroke-linecap\": \"round\"\n })\n], -1)\n\nimport { computed, ref } from \"vue\";\nimport { useFloating, autoUpdate, flip, shift, arrow } from \"@floating-ui/vue\";\nimport { useId } from \"@/composables/useId\";\nimport { wait } from \"@/utilities/functions/wait\";\nimport BaseButton from \"../BaseButton/BaseButton.vue\";\nimport type { CommonProps } from \"@/types/CommonProps\";\nimport type { Placement } from \"@floating-ui/vue\";\nimport { throttle } from \"@/utilities/functions/throttle\";\nimport { waitFor } from \"@/utilities/functions/waitFor\";\n\nexport type BbTooltipProps = Pick<\n CommonProps,\n | \"arrowPadding\"\n | \"block\"\n | \"disabled\"\n | \"eager\"\n | \"id\"\n | \"padding\"\n | \"placement\"\n | \"showClose\"\n | \"theme\"\n | \"transitionDuration\"\n>;\n\ntype BbTooltipSlots = {\n activator?: (props: {\n props: {\n \"aria-describedby\": string;\n onMouseenter: typeof onMouseenter;\n onFocus: typeof onFocus;\n onBlur: typeof closeTooltip;\n };\n closed: boolean;\n closing: boolean;\n disabled?: boolean;\n open: boolean;\n opening: boolean;\n placement: Placement;\n }) => any;\n default?: (props: {}) => any;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbTooltip',\n props: {\n arrowPadding: { default: 10 },\n block: { type: Boolean },\n disabled: { type: Boolean },\n eager: { type: Boolean },\n id: {},\n padding: { default: 10 },\n placement: { default: \"top\" },\n showClose: { type: Boolean, default: true },\n theme: { default: \"default\" },\n transitionDuration: { default: 150 }\n },\n setup(__props: any) {\n\nconst props = __props;\n\n\n\nconst id = `bb_${props.id ?? useId().id.value}`;\n\nconst wrapper = ref<HTMLElement>();\nconst content = ref<HTMLElement>();\nconst bubblearrow = ref<HTMLElement>();\n\nconst { floatingStyles, placement, middlewareData } = useFloating(\n wrapper,\n content,\n {\n placement: props.placement,\n whileElementsMounted: autoUpdate,\n middleware: [\n flip(),\n shift({ padding: props.padding }),\n arrow({\n element: bubblearrow,\n padding: props.arrowPadding,\n }),\n ],\n }\n);\n\nconst canOpen = ref(true);\n\nconst opening = ref(false);\nconst open = ref(false);\nconst closing = ref(false);\nconst closed = ref(true);\n\nconst arrowAttributes = computed(() => {\n if (middlewareData.value.arrow) {\n const { x, y } = middlewareData.value.arrow;\n return {\n style: {\n left: `${x}px`,\n top: `${y}px`,\n },\n };\n }\n});\n\nconst onMouseenter = () => {\n if (open.value || opening.value || props.disabled) return;\n openTooltip();\n document.addEventListener(\"mouseover\", onMouseOver, { passive: true });\n document.addEventListener(\"keydown\", onEsc, { passive: true });\n};\n\nconst onFocus = onMouseenter;\n\nconst onMouseOver = throttle((event: Event) => {\n const target = event.target;\n if (!target) return;\n if (target instanceof HTMLElement) {\n let isOutside = true;\n\n if (wrapper.value) {\n if (wrapper.value.contains(target)) {\n isOutside = false;\n }\n }\n if (content.value) {\n if (content.value.contains(target)) {\n isOutside = false;\n }\n }\n\n if (isOutside) {\n closeTooltip();\n }\n }\n}, props.transitionDuration);\n\nconst onEsc = (event: KeyboardEvent) => {\n if (open.value) {\n if (event.key === \"Escape\") {\n closeTooltip();\n }\n }\n};\n\n/* On click of close button tooltip is disallowed from reappearing */\nconst onClickClose = () => {\n canOpen.value = false;\n closeTooltip();\n};\n\nconst hasOpenedOnce = ref(false);\nconst openTooltip = throttle(async () => {\n if (!canOpen.value) return;\n hasOpenedOnce.value = true;\n closed.value = false;\n closing.value = false;\n opening.value = true;\n await wait(50);\n open.value = true;\n opening.value = false;\n}, props.transitionDuration);\n\nconst closeTooltip = throttle(async () => {\n await waitFor(() => !opening.value);\n document.removeEventListener(\"mouseover\", onMouseOver);\n document.removeEventListener(\"keydown\", onEsc);\n open.value = false;\n opening.value = false;\n closing.value = true;\n await wait(props.transitionDuration);\n closing.value = false;\n closed.value = true;\n}, props.transitionDuration);\n\nconst attributes = computed(() => {\n const classes = {\n \"bb-tooltip--block\": props.block,\n [`bb-tooltip--theme-${props.theme}`]: props.theme,\n };\n return {\n class: classes,\n };\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"span\", _mergeProps({ class: \"bb-tooltip\" }, attributes.value), [\n _createElementVNode(\"span\", {\n class: \"bb-tooltip__wrapper\",\n ref_key: \"wrapper\",\n ref: wrapper\n }, [\n _renderSlot(_ctx.$slots, \"activator\", _normalizeProps(_guardReactiveProps({\n props: {\n ...(hasOpenedOnce.value ? {'aria-describedby': id} : {}),\n onMouseenter: onMouseenter,\n onFocus: _unref(onFocus),\n onBlur: _unref(closeTooltip),\n disabled: _ctx.disabled,\n },\n closed: closed.value,\n closing: closing.value,\n disabled: _ctx.disabled,\n open: open.value,\n opening: opening.value,\n placement: _unref(placement),\n })))\n ], 512),\n (_openBlock(), _createBlock(_Teleport, { to: \"body\" }, [\n (hasOpenedOnce.value || _ctx.eager)\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 0,\n class: _normalizeClass([\"bb-tooltip__bubble-container\", {\n [`bb-tooltip__bubble-container--${_unref(placement)}`]: true,\n [`bb-tooltip__bubble-container--${_ctx.theme}`]: _ctx.theme,\n 'bb-tooltip__bubble-container--hidden': closed.value,\n 'bb-tooltip__bubble-container--closing': closing.value,\n 'bb-tooltip__bubble-container--opening': opening.value,\n 'bb-tooltip__bubble-container--open': open.value,\n }]),\n ref_key: \"content\",\n ref: content,\n style: _normalizeStyle({\n ..._unref(floatingStyles),\n transitionDuration: `${props.transitionDuration}ms`,\n }),\n id: id\n }, [\n _createElementVNode(\"span\", _mergeProps({\n class: \"bb-tooltip__arrow\",\n ref_key: \"bubblearrow\",\n ref: bubblearrow\n }, arrowAttributes.value), null, 16),\n _createElementVNode(\"span\", _hoisted_1, [\n (_ctx.showClose)\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n tabindex: \"-1\",\n \"aria-hidden\": \"true\",\n class: \"bb-tooltip__close\",\n onClick: onClickClose\n }, {\n default: _withCtx(() => [\n _hoisted_2\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _renderSlot(_ctx.$slots, \"default\")\n ])\n ], 6))\n : _createCommentVNode(\"\", true)\n ]))\n ], 16))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_sfc_main","_defineComponent","__props","props","id","useId","wrapper","ref","content","bubblearrow","floatingStyles","placement","middlewareData","useFloating","autoUpdate","flip","shift","arrow","canOpen","opening","open","closing","closed","arrowAttributes","computed","x","y","onMouseenter","openTooltip","onMouseOver","onEsc","onFocus","throttle","event","target","isOutside","closeTooltip","onClickClose","hasOpenedOnce","wait","waitFor","attributes","_ctx","_cache","_openBlock","_createElementBlock","_mergeProps","_createElementVNode","_renderSlot","_normalizeProps","_guardReactiveProps","_unref","_createBlock","_Teleport","_normalizeClass","_normalizeStyle","BaseButton","_withCtx","_createCommentVNode"],"mappings":";;;;;;;;;;AAGA,MAAMA,KAAa,EAAE,OAAO,wBACtBC,uBAA8C,OAAO;AAAA,EACzD,SAAS;AAAA,EACT,MAAM;AAAA,EACN,OAAO;AACT,GAAG;AAAA,oBACgC,QAAQ;AAAA,IACvC,GAAG;AAAA,IACH,QAAQ;AAAA,IACR,gBAAgB;AAAA,IAChB,kBAAkB;AAAA,EAAA,CACnB;AACH,GAAG,EAAE,GA6CuBC,KAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,cAAc,EAAE,SAAS,GAAG;AAAA,IAC5B,OAAO,EAAE,MAAM,QAAQ;AAAA,IACvB,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,OAAO,EAAE,MAAM,QAAQ;AAAA,IACvB,IAAI,CAAC;AAAA,IACL,SAAS,EAAE,SAAS,GAAG;AAAA,IACvB,WAAW,EAAE,SAAS,MAAM;AAAA,IAC5B,WAAW,EAAE,MAAM,SAAS,SAAS,GAAK;AAAA,IAC1C,OAAO,EAAE,SAAS,UAAU;AAAA,IAC5B,oBAAoB,EAAE,SAAS,IAAI;AAAA,EACrC;AAAA,EACA,MAAMC,GAAc;AA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;AAAA,UACnCwB,EAAoB,QAAQjD,IAAY;AAAA,YACrC4C,EAAK,aACDE,KAAcQ,EAAaI,GAAY;AAAA,cACtC,KAAK;AAAA,cACL,UAAU;AAAA,cACV,eAAe;AAAA,cACf,OAAO;AAAA,cACP,SAASnB;AAAA,YAAA,GACR;AAAA,cACD,SAASoB,EAAS,MAAM;AAAA,gBACtB1D;AAAA,cAAA,CACD;AAAA,cACD,GAAG;AAAA,YAAA,CACJ,KACD2D,EAAoB,IAAI,EAAI;AAAA,YAChCV,EAAYN,EAAK,QAAQ,SAAS;AAAA,UAAA,CACnC;AAAA,QACA,GAAA,CAAC,KACJgB,EAAoB,IAAI,EAAI;AAAA,MAAA,CACjC;AAAA,OACA,EAAE;AAAA,EAEP;AAEA,CAAC;"}
1
+ {"version":3,"file":"index111.js","sources":["../src/components/BbTooltip/BbTooltip.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, createElementVNode as _createElementVNode, mergeProps as _mergeProps, openBlock as _openBlock, createElementBlock as _createElementBlock, withCtx as _withCtx, createBlock as _createBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, Teleport as _Teleport } from \"vue\"\n\nconst _hoisted_1 = { class: \"bb-tooltip__bubble\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"svg\", {\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M23 23L1 1M23 1L1 23\",\n stroke: \"currentColor\",\n \"stroke-width\": \"2\",\n \"stroke-linecap\": \"round\"\n })\n], -1)\n\nimport { computed, ref } from \"vue\";\nimport { useFloating, autoUpdate, flip, shift, arrow } from \"@floating-ui/vue\";\nimport { useId } from \"@/composables/useId\";\nimport { wait } from \"@/utilities/functions/wait\";\nimport BaseButton from \"../BaseButton/BaseButton.vue\";\nimport type { CommonProps } from \"@/types/CommonProps\";\nimport type { Placement } from \"@floating-ui/vue\";\nimport { throttle } from \"@/utilities/functions/throttle\";\nimport { waitFor } from \"@/utilities/functions/waitFor\";\n\nexport type BbTooltipProps = Pick<\n CommonProps,\n | \"arrowPadding\"\n | \"block\"\n | \"disabled\"\n | \"eager\"\n | \"id\"\n | \"padding\"\n | \"placement\"\n | \"showClose\"\n | \"theme\"\n | \"transitionDuration\"\n>;\n\ntype BbTooltipSlots = {\n activator?: (props: {\n props: {\n \"aria-describedby\": string;\n onMouseenter: typeof onMouseenter;\n onFocus: typeof onFocus;\n onBlur: typeof closeTooltip;\n };\n closed: boolean;\n closing: boolean;\n disabled?: boolean;\n open: boolean;\n opening: boolean;\n placement: Placement;\n }) => any;\n default?: (props: {}) => any;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbTooltip',\n props: {\n arrowPadding: { default: 10 },\n block: { type: Boolean },\n disabled: { type: Boolean },\n eager: { type: Boolean },\n id: {},\n padding: { default: 10 },\n placement: { default: \"top\" },\n showClose: { type: Boolean, default: true },\n theme: { default: \"default\" },\n transitionDuration: { default: 150 }\n },\n setup(__props: any) {\n\nconst props = __props;\n\n\n\nconst id = `bb_${props.id ?? useId().id.value}`;\n\nconst wrapper = ref<HTMLElement>();\nconst content = ref<HTMLElement>();\nconst bubblearrow = ref<HTMLElement>();\n\nconst { floatingStyles, placement, middlewareData } = useFloating(\n wrapper,\n content,\n {\n placement: props.placement,\n whileElementsMounted: autoUpdate,\n middleware: [\n flip(),\n shift({ padding: props.padding }),\n arrow({\n element: bubblearrow,\n padding: props.arrowPadding,\n }),\n ],\n }\n);\n\nconst canOpen = ref(true);\n\nconst opening = ref(false);\nconst open = ref(false);\nconst closing = ref(false);\nconst closed = ref(true);\n\nconst arrowAttributes = computed(() => {\n if (middlewareData.value.arrow) {\n const { x, y } = middlewareData.value.arrow;\n return {\n style: {\n left: `${x}px`,\n top: `${y}px`,\n },\n };\n }\n});\n\nconst onMouseenter = () => {\n if (open.value || opening.value || props.disabled) return;\n openTooltip();\n document.addEventListener(\"mouseover\", onMouseOver, { passive: true });\n document.addEventListener(\"keydown\", onEsc, { passive: true });\n};\n\nconst onFocus = onMouseenter;\n\nconst onMouseOver = throttle((event: Event) => {\n const target = event.target;\n if (!target) return;\n if (target instanceof HTMLElement) {\n let isOutside = true;\n\n if (wrapper.value) {\n if (wrapper.value.contains(target)) {\n isOutside = false;\n }\n }\n if (content.value) {\n if (content.value.contains(target)) {\n isOutside = false;\n }\n }\n\n if (isOutside) {\n closeTooltip();\n }\n }\n}, props.transitionDuration);\n\nconst onEsc = (event: KeyboardEvent) => {\n if (open.value) {\n if (event.key === \"Escape\") {\n closeTooltip();\n }\n }\n};\n\n/* On click of close button tooltip is disallowed from reappearing */\nconst onClickClose = () => {\n canOpen.value = false;\n closeTooltip();\n};\n\nconst hasOpenedOnce = ref(false);\nconst openTooltip = throttle(async () => {\n if (!canOpen.value) return;\n hasOpenedOnce.value = true;\n closed.value = false;\n closing.value = false;\n opening.value = true;\n await wait(50);\n open.value = true;\n opening.value = false;\n}, props.transitionDuration);\n\nconst closeTooltip = throttle(async () => {\n await waitFor(() => !opening.value);\n document.removeEventListener(\"mouseover\", onMouseOver);\n document.removeEventListener(\"keydown\", onEsc);\n open.value = false;\n opening.value = false;\n closing.value = true;\n await wait(props.transitionDuration);\n closing.value = false;\n closed.value = true;\n}, props.transitionDuration);\n\nconst attributes = computed(() => {\n const classes = {\n \"bb-tooltip--block\": props.block,\n [`bb-tooltip--theme-${props.theme}`]: props.theme,\n };\n return {\n class: classes,\n };\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"span\", _mergeProps({ class: \"bb-tooltip\" }, attributes.value), [\n _createElementVNode(\"span\", {\n class: \"bb-tooltip__wrapper\",\n ref_key: \"wrapper\",\n ref: wrapper\n }, [\n _renderSlot(_ctx.$slots, \"activator\", _normalizeProps(_guardReactiveProps({\n props: {\n ...(hasOpenedOnce.value ? {'aria-describedby': id} : {}),\n onMouseenter: onMouseenter,\n onFocus: _unref(onFocus),\n onBlur: _unref(closeTooltip),\n disabled: _ctx.disabled,\n },\n closed: closed.value,\n closing: closing.value,\n disabled: _ctx.disabled,\n open: open.value,\n opening: opening.value,\n placement: _unref(placement),\n })))\n ], 512),\n (_openBlock(), _createBlock(_Teleport, { to: \"body\" }, [\n (hasOpenedOnce.value || _ctx.eager)\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 0,\n class: _normalizeClass([\"bb-tooltip__bubble-container\", {\n [`bb-tooltip__bubble-container--${_unref(placement)}`]: true,\n [`bb-tooltip__bubble-container--${_ctx.theme}`]: _ctx.theme,\n 'bb-tooltip__bubble-container--hidden': closed.value,\n 'bb-tooltip__bubble-container--closing': closing.value,\n 'bb-tooltip__bubble-container--opening': opening.value,\n 'bb-tooltip__bubble-container--open': open.value,\n }]),\n ref_key: \"content\",\n ref: content,\n style: _normalizeStyle({\n ..._unref(floatingStyles),\n transitionDuration: `${props.transitionDuration}ms`,\n }),\n id: id\n }, [\n _createElementVNode(\"span\", _mergeProps({\n class: \"bb-tooltip__arrow\",\n ref_key: \"bubblearrow\",\n ref: bubblearrow\n }, arrowAttributes.value), null, 16),\n _createElementVNode(\"span\", _hoisted_1, [\n (_ctx.showClose)\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n tabindex: \"-1\",\n \"aria-hidden\": \"true\",\n class: \"bb-tooltip__close\",\n onClick: onClickClose\n }, {\n default: _withCtx(() => [\n _hoisted_2\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _renderSlot(_ctx.$slots, \"default\")\n ])\n ], 6))\n : _createCommentVNode(\"\", true)\n ]))\n ], 16))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_sfc_main","_defineComponent","__props","props","id","useId","wrapper","ref","content","bubblearrow","floatingStyles","placement","middlewareData","useFloating","autoUpdate","flip","shift","arrow","canOpen","opening","open","closing","closed","arrowAttributes","computed","x","y","onMouseenter","openTooltip","onMouseOver","onEsc","onFocus","throttle","event","target","isOutside","closeTooltip","onClickClose","hasOpenedOnce","wait","waitFor","attributes","_ctx","_cache","_openBlock","_createElementBlock","_mergeProps","_createElementVNode","_renderSlot","_normalizeProps","_guardReactiveProps","_unref","_createBlock","_Teleport","_normalizeClass","_normalizeStyle","BaseButton","_withCtx","_createCommentVNode"],"mappings":";;;;;;;;;AAGA,MAAMA,KAAa,EAAE,OAAO,wBACtBC,uBAA8C,OAAO;AAAA,EACzD,SAAS;AAAA,EACT,MAAM;AAAA,EACN,OAAO;AACT,GAAG;AAAA,oBACgC,QAAQ;AAAA,IACvC,GAAG;AAAA,IACH,QAAQ;AAAA,IACR,gBAAgB;AAAA,IAChB,kBAAkB;AAAA,EAAA,CACnB;AACH,GAAG,EAAE,GA6CuBC,KAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,cAAc,EAAE,SAAS,GAAG;AAAA,IAC5B,OAAO,EAAE,MAAM,QAAQ;AAAA,IACvB,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,OAAO,EAAE,MAAM,QAAQ;AAAA,IACvB,IAAI,CAAC;AAAA,IACL,SAAS,EAAE,SAAS,GAAG;AAAA,IACvB,WAAW,EAAE,SAAS,MAAM;AAAA,IAC5B,WAAW,EAAE,MAAM,SAAS,SAAS,GAAK;AAAA,IAC1C,OAAO,EAAE,SAAS,UAAU;AAAA,IAC5B,oBAAoB,EAAE,SAAS,IAAI;AAAA,EACrC;AAAA,EACA,MAAMC,GAAc;AAEtB,UAAMC,IAAQD,GAIRE,IAAK,MAAMD,EAAM,MAAME,IAAQ,GAAG,KAAK,IAEvCC,IAAUC,KACVC,IAAUD,KACVE,IAAcF,KAEd,EAAE,gBAAAG,GAAgB,WAAAC,GAAW,gBAAAC,EAAmB,IAAAC;AAAA,MACp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R;AAAA,cACD,SAASoB,EAAS,MAAM;AAAA,gBACtB1D;AAAA,cAAA,CACD;AAAA,cACD,GAAG;AAAA,YAAA,CACJ,KACD2D,EAAoB,IAAI,EAAI;AAAA,YAChCV,EAAYN,EAAK,QAAQ,SAAS;AAAA,UAAA,CACnC;AAAA,QACA,GAAA,CAAC,KACJgB,EAAoB,IAAI,EAAI;AAAA,MAAA,CACjC;AAAA,OACA,EAAE;AAAA,EAEP;AAEA,CAAC;"}
package/dist/index113.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 v, renderList as h, normalizeClass as b, createElementVNode as s, renderSlot as p, createVNode as k, createSlots as B, withCtx as C, normalizeProps as T, guardReactiveProps as _ } from "vue";
2
- import { flattenTree as P } from "./index238.js";
2
+ import { flattenTree as P } from "./index245.js";
3
3
  const w = { class: "bb-tree-row" }, z = { class: "bb-tree-main-content" }, I = /* @__PURE__ */ $({
4
4
  __name: "BbTree",
5
5
  props: {
package/dist/index115.js CHANGED
@@ -1,5 +1,5 @@
1
- import { defineComponent as c, openBlock as t, createElementBlock as o, createElementVNode as l, renderSlot as i, createTextVNode as r, toDisplayString as p, withModifiers as _, createCommentVNode as d } from "vue";
2
- const b = { class: "bb-chip" }, h = { class: "bb-chip__content" }, m = ["aria-label", "onClick"], u = {
1
+ import { defineComponent as c, openBlock as t, createElementBlock as o, createElementVNode as l, renderSlot as r, createTextVNode as i, toDisplayString as p, withModifiers as _, createCommentVNode as d } from "vue";
2
+ const b = { class: "bb-chip" }, h = { class: "bb-chip__content" }, m = ["aria-label"], u = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  viewBox: "0 0 20 20",
5
5
  role: "img",
@@ -11,7 +11,7 @@ const b = { class: "bb-chip" }, h = { class: "bb-chip__content" }, m = ["aria-la
11
11
  fill: "currentColor"
12
12
  }, null, -1), f = [
13
13
  L
14
- ], C = /* @__PURE__ */ c({
14
+ ], v = /* @__PURE__ */ c({
15
15
  __name: "BbChip",
16
16
  props: {
17
17
  text: {},
@@ -23,10 +23,10 @@ const b = { class: "bb-chip" }, h = { class: "bb-chip__content" }, m = ["aria-la
23
23
  const s = a, n = (e) => {
24
24
  s("click:clear", e);
25
25
  };
26
- return (e, k) => (t(), o("span", b, [
26
+ return (e, w) => (t(), o("span", b, [
27
27
  l("span", h, [
28
- i(e.$slots, "default", {}, () => [
29
- r(p(e.text), 1)
28
+ r(e.$slots, "default", {}, () => [
29
+ i(p(e.text), 1)
30
30
  ])
31
31
  ]),
32
32
  e.clearable ? (t(), o("button", {
@@ -42,6 +42,6 @@ const b = { class: "bb-chip" }, h = { class: "bb-chip__content" }, m = ["aria-la
42
42
  }
43
43
  });
44
44
  export {
45
- C as default
45
+ v as default
46
46
  };
47
47
  //# sourceMappingURL=index115.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index115.js","sources":["../src/components/BbChip/BbChip.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, withModifiers as _withModifiers, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"bb-chip\" }\nconst _hoisted_2 = { class: \"bb-chip__content\" }\nconst _hoisted_3 = [\"aria-label\", \"onClick\"]\nconst _hoisted_4 = {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 20 20\",\n role: \"img\",\n \"aria-hidden\": \"true\",\n class: \"v-icon__svg\",\n style: {\"height\":\"20px\",\"width\":\"20px\"}\n}\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M15 6.375L14.125 5.5L10 9.625L5.875 5.5L5 6.375L9.125 10.5L5 14.625L5.875 15.5L10 11.375L14.125 15.5L15 14.625L10.875 10.5L15 6.375Z\",\n fill: \"currentColor\"\n}, null, -1)\nconst _hoisted_6 = [\n _hoisted_5\n]\n\nimport type { CommonProps } from \"@/types/CommonProps\";\n\nexport type BbChipProps = Pick<CommonProps, \"text\"> & {\n /**\n * Renders a button with a close icon. Used to indicate the possibility of deleting the item.\n */\n clearable?: boolean;\n /**\n * The label the clearing button must have\n */\n clearableLabel?: string;\n};\n\nexport type BbChipEvents = {\n (e: \"click:clear\", event: MouseEvent): void;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbChip',\n props: {\n text: {},\n clearable: { type: Boolean, default: true },\n clearableLabel: { default: \"Elimina\" }\n },\n emits: [\"click:clear\"],\n setup(__props: any, { emit: __emit }) {\n\n\n\n\n\nconst emit = __emit;\nconst onClear = (event: MouseEvent) => {\n emit(\"click:clear\", event);\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"span\", _hoisted_1, [\n _createElementVNode(\"span\", _hoisted_2, [\n _renderSlot(_ctx.$slots, \"default\", {}, () => [\n _createTextVNode(_toDisplayString(_ctx.text), 1)\n ])\n ]),\n (_ctx.clearable)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n \"aria-label\": _ctx.clearableLabel,\n class: \"bb-chip__clear-button\",\n onClick: _withModifiers(onClear, [\"stop\",\"prevent\"]),\n type: \"button\"\n }, [\n (_openBlock(), _createElementBlock(\"svg\", _hoisted_4, _hoisted_6))\n ], 8, _hoisted_3))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_sfc_main","_defineComponent","__props","__emit","emit","onClear","event","_ctx","_cache","_openBlock","_createElementBlock","_createElementVNode","_renderSlot","_createTextVNode","_toDisplayString","_withModifiers","_createCommentVNode"],"mappings":";AAGA,MAAMA,IAAa,EAAE,OAAO,aACtBC,IAAa,EAAE,OAAO,sBACtBC,IAAa,CAAC,cAAc,SAAS,GACrCC,IAA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["../src/components/BbChip/BbChip.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, withModifiers as _withModifiers, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"bb-chip\" }\nconst _hoisted_2 = { class: \"bb-chip__content\" }\nconst _hoisted_3 = [\"aria-label\"]\nconst _hoisted_4 = {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 20 20\",\n role: \"img\",\n \"aria-hidden\": \"true\",\n class: \"v-icon__svg\",\n style: {\"height\":\"20px\",\"width\":\"20px\"}\n}\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M15 6.375L14.125 5.5L10 9.625L5.875 5.5L5 6.375L9.125 10.5L5 14.625L5.875 15.5L10 11.375L14.125 15.5L15 14.625L10.875 10.5L15 6.375Z\",\n fill: \"currentColor\"\n}, null, -1)\nconst _hoisted_6 = [\n _hoisted_5\n]\n\nimport type { CommonProps } from \"@/types/CommonProps\";\n\nexport type BbChipProps = Pick<CommonProps, \"text\"> & {\n /**\n * Renders a button with a close icon. Used to indicate the possibility of deleting the item.\n */\n clearable?: boolean;\n /**\n * The label the clearing button must have\n */\n clearableLabel?: string;\n};\n\nexport type BbChipEvents = {\n (e: \"click:clear\", event: MouseEvent): void;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbChip',\n props: {\n text: {},\n clearable: { type: Boolean, default: true },\n clearableLabel: { default: \"Elimina\" }\n },\n emits: [\"click:clear\"],\n setup(__props: any, { emit: __emit }) {\n\n\n\n\n\nconst emit = __emit;\nconst onClear = (event: MouseEvent) => {\n emit(\"click:clear\", event);\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"span\", _hoisted_1, [\n _createElementVNode(\"span\", _hoisted_2, [\n _renderSlot(_ctx.$slots, \"default\", {}, () => [\n _createTextVNode(_toDisplayString(_ctx.text), 1)\n ])\n ]),\n (_ctx.clearable)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n \"aria-label\": _ctx.clearableLabel,\n class: \"bb-chip__clear-button\",\n onClick: _withModifiers(onClear, [\"stop\",\"prevent\"]),\n type: \"button\"\n }, [\n (_openBlock(), _createElementBlock(\"svg\", _hoisted_4, _hoisted_6))\n ], 8, _hoisted_3))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_sfc_main","_defineComponent","__props","__emit","emit","onClear","event","_ctx","_cache","_openBlock","_createElementBlock","_createElementVNode","_renderSlot","_createTextVNode","_toDisplayString","_withModifiers","_createCommentVNode"],"mappings":";AAGA,MAAMA,IAAa,EAAE,OAAO,aACtBC,IAAa,EAAE,OAAO,sBACtBC,IAAa,CAAC,YAAY,GAC1BC,IAAa;AAAA,EACjB,OAAO;AAAA,EACP,SAAS;AAAA,EACT,MAAM;AAAA,EACN,eAAe;AAAA,EACf,OAAO;AAAA,EACP,OAAO,EAAC,QAAS,QAAO,OAAQ,OAAM;AACxC,GACMC,sBAA8C,QAAQ;AAAA,EAC1D,GAAG;AAAA,EACH,MAAM;AACR,GAAG,MAAM,EAAE,GACLC,IAAa;AAAA,EACjBD;AACF,GAoB4BE,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,MAAM,CAAC;AAAA,IACP,WAAW,EAAE,MAAM,SAAS,SAAS,GAAK;AAAA,IAC1C,gBAAgB,EAAE,SAAS,UAAU;AAAA,EACvC;AAAA,EACA,OAAO,CAAC,aAAa;AAAA,EACrB,MAAMC,GAAc,EAAE,MAAMC,KAAU;AAMxC,UAAMC,IAAOD,GACPE,IAAU,CAACC,MAAsB;AACrC,MAAAF,EAAK,eAAeE,CAAK;AAAA,IAAA;AAGpB,WAAA,CAACC,GAAUC,OACRC,EAAW,GAAGC,EAAoB,QAAQhB,GAAY;AAAA,MAC5DiB,EAAoB,QAAQhB,GAAY;AAAA,QACtCiB,EAAYL,EAAK,QAAQ,WAAW,IAAI,MAAM;AAAA,UAC5CM,EAAiBC,EAAiBP,EAAK,IAAI,GAAG,CAAC;AAAA,QAAA,CAChD;AAAA,MAAA,CACF;AAAA,MACAA,EAAK,aACDE,KAAcC,EAAoB,UAAU;AAAA,QAC3C,KAAK;AAAA,QACL,cAAcH,EAAK;AAAA,QACnB,OAAO;AAAA,QACP,SAASQ,EAAeV,GAAS,CAAC,QAAO,SAAS,CAAC;AAAA,QACnD,MAAM;AAAA,MAAA,GACL;AAAA,SACAI,EAAW,GAAGC,EAAoB,OAAOb,GAAYE,CAAU;AAAA,SAC/D,GAAGH,CAAU,KAChBoB,EAAoB,IAAI,EAAI;AAAA,IAAA,CACjC;AAAA,EAEH;AAEA,CAAC;"}
package/dist/index116.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as i, ref as a, watch as s, computed as u, openBlock as c, createElementBlock as p, normalizeProps as d, guardReactiveProps as m, createElementVNode as b, renderSlot as v, createCommentVNode as f } from "vue";
2
2
  import { wait as V } from "./index122.js";
3
- import { throttle as _ } from "./index210.js";
3
+ import { throttle as _ } from "./index215.js";
4
4
  const h = { class: "bb-collapsible__content" }, k = /* @__PURE__ */ i({
5
5
  __name: "BbCollapsible",
6
6
  props: {
package/dist/index117.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as m, getCurrentInstance as d, inject as x, computed as l, ref as y, watchEffect as _, openBlock as b, createElementBlock as h, mergeProps as w } from "vue";
2
- import { isCssColor as z } from "./index195.js";
2
+ import { isCssColor as z } from "./index198.js";
3
3
  const g = ["innerHTML"], $ = /* @__PURE__ */ m({
4
4
  __name: "BbIcon",
5
5
  props: {
package/dist/index118.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 "./index210.js";
2
+ import { throttle as g } from "./index215.js";
3
3
  const O = /* @__PURE__ */ v({
4
4
  __name: "BbSmoothHeight",
5
5
  props: {
package/dist/index119.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as m, computed as r, openBlock as a, createElementBlock as d, normalizeProps as u, guardReactiveProps as z, createElementVNode as c } from "vue";
2
- import { isCssColor as f } from "./index195.js";
2
+ import { isCssColor as f } from "./index198.js";
3
3
  const _ = /* @__PURE__ */ c("svg", {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  viewBox: "0 0 512 512"
package/dist/index121.js CHANGED
@@ -1,4 +1,4 @@
1
- import { clamp as o } from "./index197.js";
1
+ import { clamp as o } from "./index195.js";
2
2
  const r = (t, e) => t * 100 / e, p = (t, e) => t / 100 * e, l = (t, e, n) => r(t - e, n - e), P = ({
3
3
  value: t = 0,
4
4
  originalBounds: e,
package/dist/index125.js CHANGED
@@ -1,4 +1,4 @@
1
- import t from "./index218.js";
1
+ import t from "./index220.js";
2
2
  const e = () => ({
3
3
  getItemText(r, n) {
4
4
  if (typeof r == "string" && !n)
package/dist/index126.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index218.js";
1
+ import o from "./index220.js";
2
2
  const e = () => ({
3
3
  getItemValue(n, f) {
4
4
  if (typeof f > "u")
package/dist/index128.js CHANGED
@@ -1,5 +1,5 @@
1
- import { toValue as B } from "./index212.js";
2
- import { tryOnScopeDispose as E } from "./index212.js";
1
+ import { toValue as B } from "./index219.js";
2
+ import { tryOnScopeDispose as E } from "./index219.js";
3
3
  import { ref as c, computed as t } from "vue";
4
4
  function h(a) {
5
5
  var l;