bitboss-ui 2.0.169 → 2.0.171

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 (182) hide show
  1. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +4 -4
  2. package/dist/components/BbPopover/BbPopover.vue.d.ts +6 -6
  3. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +2 -2
  4. package/dist/index106.js +9 -9
  5. package/dist/index111.js +1 -1
  6. package/dist/index113.js +1 -1
  7. package/dist/index121.js +11 -11
  8. package/dist/index129.js +1 -1
  9. package/dist/index13.js +1 -1
  10. package/dist/index131.js +37 -37
  11. package/dist/index15.js +8 -8
  12. package/dist/index17.js +3 -3
  13. package/dist/index19.js +8 -8
  14. package/dist/index209.js +2 -66
  15. package/dist/index21.js +16 -16
  16. package/dist/index210.js +6 -0
  17. package/dist/index211.js +2 -13
  18. package/dist/index212.js +18 -41
  19. package/dist/index213.js +128 -6
  20. package/dist/index214.js +106 -7
  21. package/dist/index216.js +99 -12
  22. package/dist/index218.js +66 -5
  23. package/dist/index220.js +13 -5
  24. package/dist/index221.js +6 -5
  25. package/dist/index222.js +15 -5
  26. package/dist/index223.js +29 -2
  27. package/dist/index224.js +16 -2
  28. package/dist/index225.js +11 -19
  29. package/dist/index226.js +50 -93
  30. package/dist/index227.js +19 -0
  31. package/dist/index228.js +15 -2
  32. package/dist/index229.js +3 -9
  33. package/dist/index23.js +17 -17
  34. package/dist/index230.js +12 -34
  35. package/dist/index231.js +13 -4
  36. package/dist/index232.js +2 -200
  37. package/dist/index233.js +230 -0
  38. package/dist/index234.js +368 -2
  39. package/dist/index235.js +2 -2
  40. package/dist/index236.js +5 -4
  41. package/dist/index237.js +5 -2
  42. package/dist/index238.js +5 -2
  43. package/dist/index239.js +5 -3
  44. package/dist/index240.js +5 -5
  45. package/dist/index241.js +4 -4
  46. package/dist/index242.js +5 -8
  47. package/dist/index243.js +6 -248
  48. package/dist/index244.js +240 -42
  49. package/dist/index245.js +43 -35
  50. package/dist/index246.js +44 -5
  51. package/dist/index247.js +5 -60
  52. package/dist/index248.js +54 -80
  53. package/dist/index249.js +7 -0
  54. package/dist/index25.js +5 -5
  55. package/dist/index250.js +2 -29
  56. package/dist/index251.js +40 -15
  57. package/dist/index252.js +19 -16
  58. package/dist/index253.js +93 -50
  59. package/dist/index255.js +9 -12
  60. package/dist/index256.js +4 -3
  61. package/dist/index257.js +193 -99
  62. package/dist/index259.js +7 -100
  63. package/dist/index260.js +88 -0
  64. package/dist/index262.js +32 -126
  65. package/dist/index263.js +2 -12
  66. package/dist/index264.js +2 -228
  67. package/dist/index265.js +3 -368
  68. package/dist/index266.js +177 -3
  69. package/dist/index269.js +6 -177
  70. package/dist/index27.js +1 -1
  71. package/dist/index270.js +15 -8
  72. package/dist/index272.js +2 -2
  73. package/dist/index274.js +3 -23
  74. package/dist/index275.js +9 -6
  75. package/dist/index276.js +23 -16
  76. package/dist/index277.js +2 -9
  77. package/dist/index278.js +9 -8
  78. package/dist/index279.js +8 -2
  79. package/dist/index281.js +1 -1
  80. package/dist/index282.js +1 -1
  81. package/dist/index283.js +1 -1
  82. package/dist/index284.js +4 -3
  83. package/dist/index285.js +6 -0
  84. package/dist/index286.js +129 -7
  85. package/dist/index287.js +3 -471
  86. package/dist/index288.js +3 -2
  87. package/dist/index289.js +3 -7
  88. package/dist/index29.js +2 -2
  89. package/dist/index291.js +7 -4
  90. package/dist/index292.js +1 -1
  91. package/dist/index293.js +2 -280
  92. package/dist/index294.js +17 -2
  93. package/dist/index295.js +26 -123
  94. package/dist/index296.js +7 -2
  95. package/dist/index297.js +10 -15
  96. package/dist/index298.js +280 -2
  97. package/dist/index299.js +2 -16
  98. package/dist/index300.js +16 -2
  99. package/dist/index301.js +2 -19
  100. package/dist/index302.js +16 -2
  101. package/dist/index303.js +2 -15
  102. package/dist/index304.js +19 -2
  103. package/dist/index305.js +2 -3
  104. package/dist/index306.js +14 -199
  105. package/dist/index307.js +2 -3
  106. package/dist/index308.js +19 -4
  107. package/dist/index309.js +2 -28
  108. package/dist/index31.js +2 -2
  109. package/dist/index310.js +26 -5
  110. package/dist/index311.js +2 -3
  111. package/dist/index312.js +2 -17
  112. package/dist/index313.js +2 -5
  113. package/dist/index314.js +2 -19
  114. package/dist/index315.js +2 -2
  115. package/dist/index316.js +22 -27
  116. package/dist/index318.js +125 -2
  117. package/dist/index319.js +2 -2
  118. package/dist/index320.js +471 -2
  119. package/dist/index321.js +3 -2
  120. package/dist/index322.js +3 -22
  121. package/dist/index323.js +384 -0
  122. package/dist/index324.js +126 -3
  123. package/dist/index325.js +2 -3
  124. package/dist/index326.js +3 -129
  125. package/dist/index327.js +6 -2
  126. package/dist/index328.js +191 -373
  127. package/dist/index329.js +5 -126
  128. package/dist/index33.js +8 -8
  129. package/dist/index330.js +701 -5
  130. package/dist/index331.js +354 -3
  131. package/dist/index332.js +58 -701
  132. package/dist/index333.js +3 -354
  133. package/dist/index334.js +5 -58
  134. package/dist/index335.js +47 -2
  135. package/dist/index336.js +2 -7
  136. package/dist/index337.js +32 -227
  137. package/dist/index338.js +28 -5
  138. package/dist/index340.js +58 -6
  139. package/dist/index341.js +57 -7
  140. package/dist/index342.js +6 -92
  141. package/dist/index343.js +7 -32
  142. package/dist/index344.js +6 -28
  143. package/dist/index345.js +10 -0
  144. package/dist/index346.js +5 -47
  145. package/dist/index349.js +227 -57
  146. package/dist/index35.js +4 -4
  147. package/dist/index350.js +92 -57
  148. package/dist/index351.js +484 -0
  149. package/dist/index353.js +3 -482
  150. package/dist/index354.js +45 -479
  151. package/dist/index355.js +481 -2
  152. package/dist/index356.js +2 -47
  153. package/dist/index37.js +22 -22
  154. package/dist/index39.js +4 -4
  155. package/dist/index41.js +2 -2
  156. package/dist/index43.js +8 -8
  157. package/dist/index45.js +8 -8
  158. package/dist/index47.js +2 -2
  159. package/dist/index49.js +3 -3
  160. package/dist/index53.js +1 -1
  161. package/dist/index55.js +1 -1
  162. package/dist/index57.js +2 -2
  163. package/dist/index61.js +1 -1
  164. package/dist/index67.js +1 -1
  165. package/dist/index79.js +56 -56
  166. package/dist/index81.js +1 -1
  167. package/dist/index83.js +2 -2
  168. package/dist/index85.js +1 -1
  169. package/dist/index87.js +1 -1
  170. package/dist/index90.js +4 -4
  171. package/dist/index92.js +2 -2
  172. package/dist/index94.js +50 -49
  173. package/package.json +1 -1
  174. package/dist/index215.js +0 -17
  175. package/dist/index217.js +0 -7
  176. package/dist/index219.js +0 -7
  177. package/dist/index254.js +0 -17
  178. package/dist/index261.js +0 -20
  179. package/dist/index290.js +0 -13
  180. package/dist/index317.js +0 -4
  181. package/dist/index339.js +0 -10
  182. package/dist/index352.js +0 -5
@@ -143,7 +143,7 @@ declare function __VLS_template(): {
143
143
  }) => any;
144
144
  };
145
145
  refs: {
146
- wrapperRef: ({
146
+ wrapper: ({
147
147
  $: import('vue').ComponentInternalInstance;
148
148
  $data: {};
149
149
  $props: {
@@ -224,7 +224,7 @@ declare function __VLS_template(): {
224
224
  default?(_: {}): any;
225
225
  };
226
226
  }) | null;
227
- contentRef: HTMLSpanElement;
227
+ content: HTMLSpanElement;
228
228
  };
229
229
  rootEl: HTMLSpanElement;
230
230
  };
@@ -238,7 +238,7 @@ declare const __VLS_component: import('vue').DefineComponent<BbDropdownProps, {}
238
238
  placement: "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
239
239
  theme: string;
240
240
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
241
- wrapperRef: ({
241
+ wrapper: ({
242
242
  $: import('vue').ComponentInternalInstance;
243
243
  $data: {};
244
244
  $props: {
@@ -319,7 +319,7 @@ declare const __VLS_component: import('vue').DefineComponent<BbDropdownProps, {}
319
319
  default?(_: {}): any;
320
320
  };
321
321
  }) | null;
322
- contentRef: HTMLSpanElement;
322
+ content: HTMLSpanElement;
323
323
  }, HTMLSpanElement>;
324
324
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
325
325
  export default _default;
@@ -16,7 +16,7 @@ export type BbPopoverEvents = {
16
16
  (e: 'shown'): void;
17
17
  (e: 'hidden'): void;
18
18
  };
19
- declare const onTriggerClick: () => Promise<void>;
19
+ declare const onTriggerClick: (event: MouseEvent) => Promise<void>;
20
20
  declare const onClickClose: () => Promise<void>;
21
21
  declare function __VLS_template(): {
22
22
  attrs: Partial<{}>;
@@ -60,7 +60,7 @@ declare function __VLS_template(): {
60
60
  }) => any;
61
61
  };
62
62
  refs: {
63
- wrapperRef: ({
63
+ wrapper: ({
64
64
  $: import('vue').ComponentInternalInstance;
65
65
  $data: {};
66
66
  $props: {
@@ -141,13 +141,13 @@ declare function __VLS_template(): {
141
141
  default?(_: {}): any;
142
142
  };
143
143
  }) | null;
144
- contentRef: HTMLSpanElement;
144
+ content: HTMLSpanElement;
145
145
  };
146
146
  rootEl: HTMLSpanElement;
147
147
  };
148
148
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
149
149
  declare const __VLS_component: import('vue').DefineComponent<BbPopoverProps, {
150
- open: () => Promise<void>;
150
+ open: (event: MouseEvent) => Promise<void>;
151
151
  close: () => Promise<void>;
152
152
  closed: import('vue').ComputedRef<boolean>;
153
153
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
@@ -165,7 +165,7 @@ declare const __VLS_component: import('vue').DefineComponent<BbPopoverProps, {
165
165
  showClose: boolean;
166
166
  theme: string;
167
167
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
168
- wrapperRef: ({
168
+ wrapper: ({
169
169
  $: import('vue').ComponentInternalInstance;
170
170
  $data: {};
171
171
  $props: {
@@ -246,7 +246,7 @@ declare const __VLS_component: import('vue').DefineComponent<BbPopoverProps, {
246
246
  default?(_: {}): any;
247
247
  };
248
248
  }) | null;
249
- contentRef: HTMLSpanElement;
249
+ content: HTMLSpanElement;
250
250
  }, HTMLSpanElement>;
251
251
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
252
252
  export default _default;
@@ -33,7 +33,7 @@ declare function __VLS_template(): {
33
33
  attrs: Partial<{}>;
34
34
  slots: Readonly<BbTooltipSlots> & BbTooltipSlots;
35
35
  refs: {
36
- wrapperRef: ({
36
+ wrapper: ({
37
37
  $: import('vue').ComponentInternalInstance;
38
38
  $data: {};
39
39
  $props: {
@@ -131,7 +131,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
131
131
  theme: string;
132
132
  timeout: number;
133
133
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
134
- wrapperRef: ({
134
+ wrapper: ({
135
135
  $: import('vue').ComponentInternalInstance;
136
136
  $data: {};
137
137
  $props: {
package/dist/index106.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as D, computed as V, toRef as r, ref as E, reactive as L, watch as m, createElementBlock as b, openBlock as B, Fragment as g, renderSlot as i, createCommentVNode as P, unref as R, renderList as j } from "vue";
2
- import { useItemValue as G } from "./index277.js";
3
- import { isNil as k } from "./index238.js";
4
- import { indexBy as U } from "./index278.js";
5
- import { hash as p } from "./index239.js";
6
- import { useItemsGetter as W } from "./index250.js";
7
- import { usePrefill as q } from "./index251.js";
8
- import { useIndexById as z } from "./index252.js";
9
- import { useBaseOptions as J } from "./index253.js";
10
- import { useHashedWatcher as K } from "./index255.js";
2
+ import { useItemValue as G } from "./index278.js";
3
+ import { isNil as k } from "./index264.js";
4
+ import { indexBy as U } from "./index279.js";
5
+ import { hash as p } from "./index229.js";
6
+ import { useItemsGetter as W } from "./index223.js";
7
+ import { usePrefill as q } from "./index224.js";
8
+ import { useIndexById as z } from "./index227.js";
9
+ import { useBaseOptions as J } from "./index226.js";
10
+ import { useHashedWatcher as K } from "./index230.js";
11
11
  const oe = /* @__PURE__ */ D({
12
12
  __name: "BbRows",
13
13
  props: {
package/dist/index111.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as v, ref as a, onMounted as m, onBeforeUnmount as p, createBlock as i, openBlock as l, resolveDynamicComponent as u, normalizeStyle as d, withCtx as f, renderSlot as h } from "vue";
2
- import { throttle as g } from "./index266.js";
2
+ import { throttle as g } from "./index274.js";
3
3
  const O = /* @__PURE__ */ v({
4
4
  __name: "BbSmoothHeight",
5
5
  props: {
package/dist/index113.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, computed as s, createElementBlock as b, openBlock as a, normalizeProps as _, guardReactiveProps as x, createStaticVNode as m } from "vue";
2
- import { isCssColor as u } from "./index235.js";
2
+ import { isCssColor as u } from "./index209.js";
3
3
  const f = /* @__PURE__ */ p({
4
4
  __name: "BbSpinner",
5
5
  props: {
package/dist/index121.js CHANGED
@@ -1,21 +1,21 @@
1
1
  import { defineComponent as ue, ref as K, computed as h, toRef as O, watch as D, reactive as pe, createBlock as Q, openBlock as n, resolveDynamicComponent as me, normalizeClass as p, unref as v, withCtx as fe, createElementBlock as d, createCommentVNode as g, createElementVNode as o, toDisplayString as m, renderSlot as f, Fragment as A, renderList as B, createVNode as X, createTextVNode as ye, mergeProps as he } from "vue";
2
- import { add as ve } from "./index279.js";
2
+ import { add as ve } from "./index277.js";
3
3
  import { clamp as ke } from "./index207.js";
4
- import { isNil as T } from "./index238.js";
4
+ import { isNil as T } from "./index264.js";
5
5
  import { useId as _e } from "./index8.js";
6
- import { useItemValue as ge } from "./index277.js";
7
- import { when as Ce } from "./index236.js";
6
+ import { useItemValue as ge } from "./index278.js";
7
+ import { when as Ce } from "./index210.js";
8
8
  import Y from "./index17.js";
9
9
  /* empty css */
10
10
  import we from "./index31.js";
11
11
  /* empty css */
12
- import { hash as E } from "./index239.js";
13
- import { useItemsGetter as Ie } from "./index250.js";
14
- import { usePrefill as Ve } from "./index251.js";
15
- import { useIndexById as Ae } from "./index252.js";
16
- import { useBaseOptions as Be } from "./index253.js";
17
- import { useHashedWatcher as Te } from "./index255.js";
18
- import { useLocale as $e } from "./index216.js";
12
+ import { hash as E } from "./index229.js";
13
+ import { useItemsGetter as Ie } from "./index223.js";
14
+ import { usePrefill as Ve } from "./index224.js";
15
+ import { useIndexById as Ae } from "./index227.js";
16
+ import { useBaseOptions as Be } from "./index226.js";
17
+ import { useHashedWatcher as Te } from "./index230.js";
18
+ import { useLocale as $e } from "./index231.js";
19
19
  const xe = {
20
20
  key: 0,
21
21
  class: "sr-only"
package/dist/index129.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as l, createBlock as o, openBlock as e, 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 { useToast as k, state as b } from "./index11.js";
3
- import C from "./index215.js";
3
+ import C from "./index222.js";
4
4
  import B from "./index281.js";
5
5
  const V = /* @__PURE__ */ l({
6
6
  __name: "BbToast",
package/dist/index13.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as m, getCurrentInstance as h, computed as r, createBlock as i, openBlock as u, mergeProps as c, withCtx as d, renderSlot as p, createTextVNode as f, toDisplayString as v, resolveDynamicComponent as C } from "vue";
2
- import S from "./index230.js";
2
+ import S from "./index262.js";
3
3
  const A = /* @__PURE__ */ m({
4
4
  __name: "BaseButton",
5
5
  props: {
package/dist/index131.js CHANGED
@@ -1,13 +1,13 @@
1
- import { defineComponent as V, mergeModels as h, useTemplateRef as $, ref as g, useModel as D, createBlock as k, openBlock as y, normalizeClass as O, withCtx as i, createElementVNode as d, createCommentVNode as P, renderSlot as B, unref as u, normalizeProps as R, guardReactiveProps as z } from "vue";
2
- import { throttle as m } from "./index266.js";
1
+ import { defineComponent as V, mergeModels as h, ref as i, useModel as $, createBlock as k, openBlock as y, normalizeClass as D, withCtx as d, createElementVNode as u, createCommentVNode as O, renderSlot as B, unref as m, normalizeProps as P, guardReactiveProps as z } from "vue";
2
+ import { throttle as p } from "./index274.js";
3
3
  import { useId as F } from "./index8.js";
4
- import { useLocale as N } from "./index216.js";
4
+ import { useLocale as N } from "./index231.js";
5
5
  import { wait as H } from "./index135.js";
6
6
  import I from "./index13.js";
7
7
  /* empty css */
8
- import S from "./index272.js";
8
+ import R from "./index272.js";
9
9
  /* empty css */
10
- const X = /* @__PURE__ */ V({
10
+ const W = /* @__PURE__ */ V({
11
11
  __name: "BbTooltip",
12
12
  props: /* @__PURE__ */ h({
13
13
  arrowPadding: { default: 10 },
@@ -28,36 +28,36 @@ const X = /* @__PURE__ */ V({
28
28
  modelModifiers: {}
29
29
  }),
30
30
  emits: ["update:modelValue"],
31
- setup(p) {
32
- const a = p, { t: C } = N(), f = `bb_${a.id ?? F().id.value}`, r = $("wrapper"), c = g(!0), t = D(p, "modelValue");
31
+ setup(f) {
32
+ const a = f, { t: C } = N(), c = `bb_${a.id ?? F().id.value}`, r = i(), v = i(!0), t = $(f, "modelValue");
33
33
  let s;
34
- const v = () => {
35
- t.value || a.disabled || (clearTimeout(s), document.addEventListener("mousemove", b, { passive: !0 }), s = setTimeout(() => {
36
- M(), document.addEventListener("keydown", w, { passive: !0 });
34
+ const b = () => {
35
+ t.value || a.disabled || (clearTimeout(s), document.addEventListener("mousemove", w, { passive: !0 }), s = setTimeout(() => {
36
+ T(), document.addEventListener("keydown", g, { passive: !0 });
37
37
  }, a.timeout));
38
- }, L = v, b = m((e) => {
38
+ }, L = b, w = p((e) => {
39
39
  const o = e.target;
40
40
  if (o && o instanceof HTMLElement) {
41
41
  let l = !0;
42
42
  r.value && r.value.$el.contains(o) && (l = !1), l && n();
43
43
  }
44
- }, a.transitionDuration), w = (e) => {
44
+ }, a.transitionDuration), g = (e) => {
45
45
  t.value && e.key === "Escape" && n();
46
- }, T = () => {
47
- c.value = !1, n();
48
- }, E = g(!1), M = m(async () => {
49
- c.value && (E.value = !0, await H(50), t.value = !0);
50
- }, a.transitionDuration), n = m(async () => {
51
- clearTimeout(s), document.removeEventListener("mousemove", b), document.removeEventListener("keydown", w), t.value = !1;
46
+ }, E = () => {
47
+ v.value = !1, n();
48
+ }, M = i(!1), T = p(async () => {
49
+ v.value && (M.value = !0, await H(50), t.value = !0);
50
+ }, a.transitionDuration), n = p(async () => {
51
+ clearTimeout(s), document.removeEventListener("mousemove", w), document.removeEventListener("keydown", g), t.value = !1;
52
52
  }, a.transitionDuration);
53
- return (e, o) => (y(), k(S, {
54
- ref_key: "wrapperRef",
53
+ return (e, o) => (y(), k(R, {
54
+ ref_key: "wrapper",
55
55
  ref: r,
56
56
  modelValue: t.value,
57
57
  "onUpdate:modelValue": o[0] || (o[0] = (l) => t.value = l),
58
58
  "arrow-padding": e.arrowPadding,
59
59
  block: e.block,
60
- class: O(["bb-tooltip", {
60
+ class: D(["bb-tooltip", {
61
61
  [`bb-tooltip--${e.theme}`]: !0
62
62
  }]),
63
63
  offset: e.offset,
@@ -65,13 +65,13 @@ const X = /* @__PURE__ */ V({
65
65
  placement: e.placement,
66
66
  "transition-duration": e.transitionDuration
67
67
  }, {
68
- activator: i(() => [
69
- B(e.$slots, "activator", R(z({
68
+ activator: d(() => [
69
+ B(e.$slots, "activator", P(z({
70
70
  props: {
71
- "aria-describedby": f,
72
- onMouseenter: v,
73
- onFocus: u(L),
74
- onBlur: u(n),
71
+ "aria-describedby": c,
72
+ onMouseenter: b,
73
+ onFocus: m(L),
74
+ onBlur: m(n),
75
75
  disabled: e.disabled
76
76
  },
77
77
  disabled: e.disabled,
@@ -79,25 +79,25 @@ const X = /* @__PURE__ */ V({
79
79
  placement: e.placement
80
80
  })))
81
81
  ]),
82
- default: i(() => [
83
- d("span", {
84
- id: f,
82
+ default: d(() => [
83
+ u("span", {
84
+ id: c,
85
85
  class: "bb-tooltip__content"
86
86
  }, [
87
87
  e.showClose ? (y(), k(I, {
88
88
  key: 0,
89
- "aria-label": u(C)("common.closeLabel").value,
89
+ "aria-label": m(C)("common.closeLabel").value,
90
90
  class: "bb-tooltip__close",
91
91
  tabindex: "-1",
92
- onClick: T
92
+ onClick: E
93
93
  }, {
94
- default: i(() => o[1] || (o[1] = [
95
- d("svg", {
94
+ default: d(() => o[1] || (o[1] = [
95
+ u("svg", {
96
96
  fill: "none",
97
97
  viewBox: "0 0 24 24",
98
98
  xmlns: "http://www.w3.org/2000/svg"
99
99
  }, [
100
- d("path", {
100
+ u("path", {
101
101
  d: "M23 23L1 1M23 1L1 23",
102
102
  stroke: "currentColor",
103
103
  "stroke-linecap": "round",
@@ -106,7 +106,7 @@ const X = /* @__PURE__ */ V({
106
106
  ], -1)
107
107
  ])),
108
108
  _: 1
109
- }, 8, ["aria-label"])) : P("", !0),
109
+ }, 8, ["aria-label"])) : O("", !0),
110
110
  B(e.$slots, "default")
111
111
  ])
112
112
  ]),
@@ -115,5 +115,5 @@ const X = /* @__PURE__ */ V({
115
115
  }
116
116
  });
117
117
  export {
118
- X as default
118
+ W as default
119
119
  };
package/dist/index15.js CHANGED
@@ -1,18 +1,18 @@
1
1
  import { defineComponent as H, ref as u, computed as D, createElementBlock as E, openBlock as I, Fragment as M, createVNode as p, normalizeClass as _, withCtx as n, unref as s, withDirectives as F, createElementVNode as c, mergeProps as T, renderSlot as r, withModifiers as q, normalizeStyle as L, nextTick as N } from "vue";
2
- import { isHex as O } from "./index231.js";
2
+ import { isHex as O } from "./index256.js";
3
3
  import { isNotNil as z } from "./index140.js";
4
- import { useFocusTrap as S } from "./index212.js";
4
+ import { useFocusTrap as S } from "./index251.js";
5
5
  import { useId as A } from "./index8.js";
6
- import { vMaska as K } from "./index225.js";
7
- import P from "./index226.js";
6
+ import { vMaska as K } from "./index252.js";
7
+ import P from "./index253.js";
8
8
  /* empty css */
9
- import R from "./index232.js";
9
+ import R from "./index257.js";
10
10
  /* empty css */
11
- import U from "./index209.js";
11
+ import U from "./index218.js";
12
12
  /* empty css */
13
- import j from "./index211.js";
13
+ import j from "./index220.js";
14
14
  import { wait as G } from "./index135.js";
15
- import { useLocale as J } from "./index216.js";
15
+ import { useLocale as J } from "./index231.js";
16
16
  const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], W = ["aria-label"], X = { class: "bb-common-input-inner-container__suffix" }, ce = /* @__PURE__ */ H({
17
17
  __name: "BaseColorInput",
18
18
  props: {
package/dist/index17.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as E, ref as m, computed as n, watch as _, createElementBlock as p, openBlock as h, normalizeProps as i, guardReactiveProps as f, createCommentVNode as I, createElementVNode as l, mergeProps as k, renderSlot as F } from "vue";
2
- import { isCssColor as y } from "./index235.js";
3
- import { when as N } from "./index236.js";
4
- import { booleanishToBoolean as S } from "./index234.js";
2
+ import { isCssColor as y } from "./index209.js";
3
+ import { when as N } from "./index210.js";
4
+ import { booleanishToBoolean as S } from "./index235.js";
5
5
  const A = {
6
6
  "aria-hidden": "true",
7
7
  class: "bb-base-checkbox-container"
package/dist/index19.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as j, ref as k, toRef as d, createBlock as z, openBlock as G, unref as B, withCtx as s, renderSlot as l, normalizeProps as b, guardReactiveProps as v, createVNode as R, mergeProps as T } from "vue";
2
2
  import W from "./index17.js";
3
3
  /* empty css */
4
- import K from "./index248.js";
4
+ import K from "./index260.js";
5
5
  /* empty css */
6
- import { useItemsGetter as N } from "./index250.js";
7
- import { useIndexById as w } from "./index252.js";
8
- import { useBaseOptions as U } from "./index253.js";
9
- import { useCoherence as q } from "./index254.js";
10
- import { hash as J } from "./index239.js";
11
- import { useHashedWatcher as C } from "./index255.js";
12
- import { usePrefill as Q } from "./index251.js";
6
+ import { useItemsGetter as N } from "./index223.js";
7
+ import { useIndexById as w } from "./index227.js";
8
+ import { useBaseOptions as U } from "./index226.js";
9
+ import { useCoherence as q } from "./index228.js";
10
+ import { hash as J } from "./index229.js";
11
+ import { useHashedWatcher as C } from "./index230.js";
12
+ import { usePrefill as Q } from "./index224.js";
13
13
  const de = /* @__PURE__ */ j({
14
14
  __name: "BaseCheckboxGroup",
15
15
  props: {
package/dist/index209.js CHANGED
@@ -1,68 +1,4 @@
1
- import { defineComponent as _, ref as $, createElementBlock as k, openBlock as r, normalizeClass as y, renderSlot as n, createBlock as c, createCommentVNode as s, createVNode as p, createElementVNode as l, unref as i } from "vue";
2
- /* empty css */
3
- /* empty css */
4
- import m from "./index85.js";
5
- /* empty css */
6
- import C from "./index113.js";
7
- /* empty css */
8
- import h from "./index343.js";
9
- import B from "./index344.js";
10
- /* empty css */
11
- const v = { class: "bb-common-input-inner-container__prefix" }, I = { class: "bb-common-input-inner-container__suffix" }, A = /* @__PURE__ */ _({
12
- __name: "CommonInputInnerContainer",
13
- props: {
14
- "append:icon": {},
15
- clearable: { type: Boolean },
16
- "prepend:icon": {},
17
- preventFocus: { type: Boolean }
18
- },
19
- emits: ["click:clear"],
20
- setup(u, { emit: d }) {
21
- const t = u, f = d, o = $(), a = () => {
22
- var e;
23
- !o.value || t.preventFocus || (e = o.value.querySelector("input")) == null || e.focus();
24
- }, b = () => {
25
- f("click:clear"), a();
26
- };
27
- return (e, E) => (r(), k("span", {
28
- ref_key: "container",
29
- ref: o,
30
- class: y(["bb-common-input-inner-container", {
31
- "bb-common-input-inner-container--clearable": t.clearable
32
- }]),
33
- onClick: a
34
- }, [
35
- n(e.$slots, "prepend", {}, () => [
36
- l("span", v, [
37
- n(e.$slots, "prefix")
38
- ])
39
- ]),
40
- e.$props["prepend:icon"] ? (r(), c(i(m), {
41
- key: 0,
42
- class: "bb-common-input-inner-container__prepend-icon",
43
- type: e.$props["prepend:icon"]
44
- }, null, 8, ["type"])) : s("", !0),
45
- n(e.$slots, "default"),
46
- p(B, {
47
- "aria-hidden": !e.clearable,
48
- tabindex: e.clearable ? 0 : -1,
49
- onClick: b
50
- }, null, 8, ["aria-hidden", "tabindex"]),
51
- e.$props["append:icon"] ? (r(), c(i(m), {
52
- key: 1,
53
- class: "bb-common-input-inner-container__append-icon",
54
- type: e.$props["append:icon"]
55
- }, null, 8, ["type"])) : s("", !0),
56
- p(h),
57
- p(i(C)),
58
- n(e.$slots, "append", {}, () => [
59
- l("span", I, [
60
- n(e.$slots, "suffix")
61
- ])
62
- ])
63
- ], 2));
64
- }
65
- });
1
+ const s = (r) => !!r && !!r.match(/^(#|var\(--|(rgb|hsl)a?\()/);
66
2
  export {
67
- A as default
3
+ s as isCssColor
68
4
  };
package/dist/index21.js CHANGED
@@ -5,22 +5,22 @@ import { _config as C } from "./index4.js";
5
5
  import { useId as F } from "./index8.js";
6
6
  import f from "./index13.js";
7
7
  /* empty css */
8
- import s from "./index217.js";
9
- import G from "./index219.js";
10
- import J from "./index220.js";
11
- import K from "./index221.js";
12
- import Q from "./index222.js";
13
- import X from "./index240.js";
14
- import ee from "./index241.js";
15
- import { hash as M } from "./index239.js";
16
- import { last as ae } from "./index224.js";
17
- import { useLogger as te } from "./index242.js";
18
- import oe from "./index243.js";
19
- import le from "./index244.js";
20
- import re from "./index245.js";
21
- import B from "./index246.js";
22
- import se from "./index247.js";
23
- import { useLocale as de } from "./index216.js";
8
+ import s from "./index236.js";
9
+ import G from "./index237.js";
10
+ import J from "./index238.js";
11
+ import K from "./index239.js";
12
+ import Q from "./index240.js";
13
+ import X from "./index241.js";
14
+ import ee from "./index242.js";
15
+ import { hash as M } from "./index229.js";
16
+ import { last as ae } from "./index211.js";
17
+ import { useLogger as te } from "./index243.js";
18
+ import oe from "./index244.js";
19
+ import le from "./index245.js";
20
+ import re from "./index246.js";
21
+ import B from "./index247.js";
22
+ import se from "./index248.js";
23
+ import { useLocale as de } from "./index231.js";
24
24
  const ie = { class: "bb-base-date-picker" }, ne = { class: "bb-base-date-picker__body" }, ue = { class: "bb-base-date-picker__controls" }, me = { class: "sr-only" }, pe = { class: "sr-only" }, ce = { class: "sr-only" }, fe = {
25
25
  style: { transform: "rotate(180deg)" },
26
26
  viewBox: "0 0 24 24",
@@ -0,0 +1,6 @@
1
+ import { curry as e } from "./index284.js";
2
+ const t = (n, o, r) => n(r) ? o(r) : r, s = e(t);
3
+ export {
4
+ t as baseWhen,
5
+ s as when
6
+ };
package/dist/index211.js CHANGED
@@ -1,15 +1,4 @@
1
- import { createElementBlock as t, openBlock as n, renderSlot as e } from "vue";
2
- /* empty css */
3
- import r from "./index286.js";
4
- const s = {}, c = { class: "bb-common-input-outer-container" };
5
- function p(o, a) {
6
- return n(), t("span", c, [
7
- e(o.$slots, "prepend-outer"),
8
- e(o.$slots, "default"),
9
- e(o.$slots, "append-outer")
10
- ]);
11
- }
12
- const i = /* @__PURE__ */ r(s, [["render", p]]);
1
+ const e = (t) => t[t.length - 1];
13
2
  export {
14
- i as default
3
+ e as last
15
4
  };
package/dist/index212.js CHANGED
@@ -1,43 +1,20 @@
1
- import { unrefElement as g } from "./index137.js";
2
- import { toArray as A, notNullish as D, tryOnScopeDispose as y } from "./index206.js";
3
- import { createFocusTrap as F } from "./index287.js";
4
- import { shallowRef as n, computed as T, toValue as i, watch as w } from "vue";
5
- function N(f, a = {}) {
6
- let t;
7
- const { immediate: l, ...p } = a, o = n(!1), r = n(!1), c = (e) => t && t.activate(e), u = (e) => t && t.deactivate(e), v = () => {
8
- t && (t.pause(), r.value = !0);
9
- }, m = () => {
10
- t && (t.unpause(), r.value = !1);
11
- }, h = T(() => {
12
- const e = i(f);
13
- return A(e).map((d) => {
14
- const s = i(d);
15
- return typeof s == "string" ? s : g(s);
16
- }).filter(D);
17
- });
18
- return w(
19
- h,
20
- (e) => {
21
- e.length && (t = F(e, {
22
- ...p,
23
- onActivate() {
24
- o.value = !0, a.onActivate && a.onActivate();
25
- },
26
- onDeactivate() {
27
- o.value = !1, a.onDeactivate && a.onDeactivate();
28
- }
29
- }), l && c());
30
- },
31
- { flush: "post" }
32
- ), y(() => u()), {
33
- hasFocus: o,
34
- isPaused: r,
35
- activate: c,
36
- deactivate: u,
37
- pause: v,
38
- unpause: m
39
- };
40
- }
1
+ import { isNil as c } from "./index264.js";
2
+ const a = (t, r) => {
3
+ if (!Object.prototype.hasOwnProperty.call(t, r))
4
+ throw new Error(
5
+ `Object ${JSON.stringify(t, null, 2)} has no property named "${r.toString()}"`
6
+ );
7
+ }, l = (t) => typeof t == "string" ? t.toLocaleLowerCase() : JSON.stringify(t).toLowerCase(), y = (t, r, s) => {
8
+ const i = s.toLocaleLowerCase();
9
+ for (let e = 0; e < r.length; e++) {
10
+ const n = r[e];
11
+ a(t, n);
12
+ const o = t[n];
13
+ if (c(o)) continue;
14
+ if (l(o).includes(i)) return !0;
15
+ }
16
+ return !1;
17
+ };
41
18
  export {
42
- N as useFocusTrap
19
+ y as matchAnyKey
43
20
  };