bitboss-ui 2.1.109 → 2.1.110

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 (192) hide show
  1. package/dist/composables/useToast.d.ts +21 -34
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index109.js +9 -9
  4. package/dist/index110.js +18 -18
  5. package/dist/index118.js +1 -1
  6. package/dist/index124.js +4 -4
  7. package/dist/index126.js +13 -13
  8. package/dist/index134.js +1 -1
  9. package/dist/index136.js +5 -5
  10. package/dist/index138.js +1 -1
  11. package/dist/index14.js +1 -1
  12. package/dist/index140.js +2 -2
  13. package/dist/index143.js +1 -1
  14. package/dist/index145.js +2 -2
  15. package/dist/index147.js +1 -1
  16. package/dist/index148.js +2 -2
  17. package/dist/index16.js +3 -3
  18. package/dist/index18.js +3 -3
  19. package/dist/index20.js +8 -8
  20. package/dist/index22.js +14 -14
  21. package/dist/index221.js +138 -2
  22. package/dist/index222.js +2 -138
  23. package/dist/index223.js +2 -2
  24. package/dist/index224.js +5 -34
  25. package/dist/index225.js +7 -3
  26. package/dist/index226.js +4 -13
  27. package/dist/index227.js +13 -20
  28. package/dist/index228.js +20 -5
  29. package/dist/index229.js +2 -8
  30. package/dist/index230.js +2 -13
  31. package/dist/index231.js +2 -135
  32. package/dist/index232.js +11 -0
  33. package/dist/index233.js +13 -4
  34. package/dist/index234.js +131 -19
  35. package/dist/index236.js +23 -3
  36. package/dist/index237.js +4 -2
  37. package/dist/index238.js +22 -17
  38. package/dist/index239.js +4 -12
  39. package/dist/index24.js +10 -10
  40. package/dist/index240.js +86 -51
  41. package/dist/index242.js +29 -11
  42. package/dist/index243.js +16 -15
  43. package/dist/index244.js +15 -28
  44. package/dist/index245.js +48 -15
  45. package/dist/index246.js +17 -32
  46. package/dist/index247.js +3 -107
  47. package/dist/index248.js +12 -6
  48. package/dist/index249.js +5 -2
  49. package/dist/index250.js +5 -7
  50. package/dist/index251.js +5 -373
  51. package/dist/index252.js +7 -0
  52. package/dist/index253.js +2 -8
  53. package/dist/index254.js +6 -6
  54. package/dist/index255.js +7 -15
  55. package/dist/index256.js +267 -32
  56. package/dist/index257.js +42 -57
  57. package/dist/index258.js +52 -2
  58. package/dist/index259.js +32 -7
  59. package/dist/index26.js +3 -3
  60. package/dist/index260.js +60 -2
  61. package/dist/index261.js +34 -7
  62. package/dist/index262.js +3 -2
  63. package/dist/index263.js +2 -2
  64. package/dist/index264.js +2 -3
  65. package/dist/index265.js +7 -28
  66. package/dist/index266.js +9 -0
  67. package/dist/index267.js +6 -8
  68. package/dist/index268.js +33 -23
  69. package/dist/index269.js +28 -3
  70. package/dist/index271.js +9 -4
  71. package/dist/index272.js +20 -105
  72. package/dist/index273.js +55 -0
  73. package/dist/index274.js +9 -100
  74. package/dist/index275.js +35 -0
  75. package/dist/index276.js +25 -3
  76. package/dist/index277.js +3 -188
  77. package/dist/index278.js +18 -3
  78. package/dist/index279.js +11 -9
  79. package/dist/index28.js +1 -1
  80. package/dist/index280.js +106 -3
  81. package/dist/index282.js +100 -5
  82. package/dist/index284.js +107 -5
  83. package/dist/index285.js +11 -5
  84. package/dist/index286.js +188 -5
  85. package/dist/index287.js +3 -5
  86. package/dist/index288.js +3 -6
  87. package/dist/index289.js +12 -267
  88. package/dist/index290.js +364 -43
  89. package/dist/index292.js +5 -31
  90. package/dist/index293.js +5 -60
  91. package/dist/index294.js +5 -9
  92. package/dist/index295.js +5 -21
  93. package/dist/index296.js +5 -13
  94. package/dist/index297.js +10 -3
  95. package/dist/index298.js +3 -86
  96. package/dist/index299.js +69 -0
  97. package/dist/index30.js +3 -3
  98. package/dist/index300.js +3 -9
  99. package/dist/index301.js +6 -25
  100. package/dist/index302.js +15 -52
  101. package/dist/index303.js +9 -0
  102. package/dist/index305.js +3 -7
  103. package/dist/index306.js +1 -1
  104. package/dist/index307.js +4 -2
  105. package/dist/index308.js +2 -3
  106. package/dist/index309.js +280 -2
  107. package/dist/index310.js +2 -719
  108. package/dist/index311.js +16 -366
  109. package/dist/index312.js +2 -57
  110. package/dist/index313.js +16 -2
  111. package/dist/index314.js +2 -28
  112. package/dist/index315.js +27 -17
  113. package/dist/index316.js +2 -5
  114. package/dist/index317.js +2 -4
  115. package/dist/index318.js +2 -3
  116. package/dist/index319.js +2 -3
  117. package/dist/index32.js +2 -2
  118. package/dist/index320.js +2 -280
  119. package/dist/index321.js +28 -2
  120. package/dist/index322.js +2 -16
  121. package/dist/index323.js +17 -2
  122. package/dist/index324.js +3 -16
  123. package/dist/index325.js +4 -2
  124. package/dist/index326.js +3 -27
  125. package/dist/index327.js +3 -2
  126. package/dist/index328.js +1 -1
  127. package/dist/index329.js +5 -2
  128. package/dist/index330.js +6 -2
  129. package/dist/index331.js +3 -2
  130. package/dist/index332.js +125 -2
  131. package/dist/index333.js +2 -125
  132. package/dist/index334.js +15 -2
  133. package/dist/index335.js +2 -15
  134. package/dist/index336.js +19 -2
  135. package/dist/index337.js +2 -19
  136. package/dist/index338.js +5 -2
  137. package/dist/index339.js +2 -5
  138. package/dist/index34.js +8 -8
  139. package/dist/index340.js +6 -3
  140. package/dist/index341.js +4 -2
  141. package/dist/index342.js +718 -66
  142. package/dist/index343.js +365 -66
  143. package/dist/index344.js +56 -5
  144. package/dist/index346.js +2 -2
  145. package/dist/index347.js +1 -1
  146. package/dist/index348.js +7 -200
  147. package/dist/index349.js +17 -257
  148. package/dist/index350.js +8 -92
  149. package/dist/index351.js +14 -6
  150. package/dist/index352.js +66 -18
  151. package/dist/index353.js +67 -9
  152. package/dist/index354.js +199 -14
  153. package/dist/index355.js +259 -5
  154. package/dist/index356.js +227 -6
  155. package/dist/index357.js +21 -133
  156. package/dist/index359.js +134 -2
  157. package/dist/index36.js +4 -4
  158. package/dist/index360.js +2 -228
  159. package/dist/index361.js +1 -21
  160. package/dist/index362.js +95 -0
  161. package/dist/index366.js +1 -1
  162. package/dist/index38.js +20 -20
  163. package/dist/index40.js +7 -7
  164. package/dist/index42.js +2 -2
  165. package/dist/index44.js +8 -8
  166. package/dist/index46.js +6 -6
  167. package/dist/index50.js +2 -2
  168. package/dist/index54.js +1 -1
  169. package/dist/index56.js +1 -1
  170. package/dist/index58.js +2 -2
  171. package/dist/index60.js +2 -2
  172. package/dist/index62.js +5 -5
  173. package/dist/index68.js +1 -1
  174. package/dist/index74.js +4 -4
  175. package/dist/index82.js +6 -6
  176. package/dist/index84.js +1 -1
  177. package/dist/index86.js +2 -2
  178. package/dist/index88.js +3 -3
  179. package/dist/index90.js +1 -1
  180. package/dist/index93.js +3 -3
  181. package/dist/index95.js +2 -2
  182. package/dist/index97.js +5 -5
  183. package/dist/index99.js +1 -1
  184. package/package.json +1 -1
  185. package/dist/index235.js +0 -13
  186. package/dist/index241.js +0 -20
  187. package/dist/index270.js +0 -7
  188. package/dist/index281.js +0 -7
  189. package/dist/index283.js +0 -7
  190. package/dist/index291.js +0 -54
  191. package/dist/index304.js +0 -5
  192. package/dist/index358.js +0 -4
@@ -1,5 +1,11 @@
1
1
  import { CommonProps } from '../types/CommonProps';
2
2
  import { IconType } from '../types/Icon';
3
+ /**
4
+ * Normalized toast payload for internal use.
5
+ *
6
+ * This is the runtime representation of a toast message and always includes an `id`
7
+ * generated by `useToast().toast(...)`. It does not represent the public input accepted by `useToast().toast(...)`.
8
+ */
3
9
  export type Message = {
4
10
  /**
5
11
  * Title of the message. Displayed in a more prominant fashion.
@@ -22,49 +28,31 @@ export type Message = {
22
28
  */
23
29
  id: string;
24
30
  } & Pick<CommonProps, 'showClose'>;
25
- type MessageParameter = string | (Pick<Message, 'title' | 'text' | 'icon' | 'theme'> & ({
31
+ /**
32
+ * Public input accepted by `useToast().toast(...)`.
33
+ *
34
+ * This is intentionally different from `Message`:
35
+ * - supports string shorthand (`toast('Saved')`)
36
+ * - does not require `id` (generated internally)
37
+ *
38
+ * In short:
39
+ * - `MessageParameter` = caller input
40
+ * - `Message` = normalized stored/rendered message
41
+ */
42
+ export type MessageParameter = string | (Pick<Message, 'title' | 'text' | 'icon' | 'theme'> & {
26
43
  /**
27
44
  * Time in milliseconds before the message disappears
28
45
  */
29
- timeout?: undefined;
46
+ timeout?: number;
30
47
  /**
31
48
  * Setting the message as persistent will prevent the message from being dismissed automatically
32
49
  */
33
- persistent?: undefined | false;
50
+ persistent?: boolean;
34
51
  /**
35
52
  * Whether to show the closing action to dismiss the message.
36
- * Show close is optional if the message is not persistent
37
53
  */
38
54
  showClose?: Message['showClose'];
39
- } | {
40
- /**
41
- * Time in milliseconds before the message disappears
42
- */
43
- timeout: number;
44
- /**
45
- * Setting the message as persistent will prevent the message from being dismissed automatically
46
- */
47
- persistent?: undefined | false;
48
- /**
49
- * Whether to show the closing action to dismiss the message.
50
- * Show close is optional if the message is not persistent
51
- */
52
- showClose?: Message['showClose'];
53
- } | {
54
- /**
55
- * Time in milliseconds before the message disappears
56
- */
57
- timeout?: undefined;
58
- /**
59
- * Setting the message as persistent will prevent the message from being dismissed automatically
60
- */
61
- persistent: true;
62
- /**
63
- * Whether to show the closing action to dismiss the message.
64
- * Show close is mandatory if the message is persistent
65
- */
66
- showClose: true;
67
- }));
55
+ });
68
56
  export declare const state: {
69
57
  stack: {
70
58
  title?: string | undefined;
@@ -87,4 +75,3 @@ export declare const useToast: () => {
87
75
  }[];
88
76
  dismissAll: () => never[];
89
77
  };
90
- export {};
package/dist/index.d.ts CHANGED
@@ -17,6 +17,7 @@ export { useToast } from './composables/useToast';
17
17
  export { useWizard, wizardInjectionKey } from './composables/useWizard';
18
18
  export type { Step, WizardState } from './composables/useWizard';
19
19
  export type { ConfirmMessage as BbConfirmProps } from './composables/useConfirm';
20
+ export type { MessageParameter as BbToastMessageProps } from './composables/useToast';
20
21
  /**
21
22
  * Export components
22
23
  */
package/dist/index109.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as D, computed as b, toRef as r, ref as E, reactive as L, watch as m, createElementBlock as V, openBlock as g, Fragment as B, renderSlot as i, createCommentVNode as P, unref as R, renderList as j } from "vue";
2
- import { useItemValue as G } from "./index294.js";
3
- import { isNil as k } from "./index237.js";
4
- import { indexBy as U } from "./index295.js";
5
- import { hash as p } from "./index236.js";
6
- import { useItemsGetter as W } from "./index244.js";
7
- import { usePrefill as q } from "./index245.js";
8
- import { useIndexById as z } from "./index243.js";
9
- import { useBaseOptions as J } from "./index240.js";
10
- import { useHashedWatcher as K } from "./index242.js";
2
+ import { useItemValue as G } from "./index271.js";
3
+ import { isNil as k } from "./index264.js";
4
+ import { indexBy as U } from "./index272.js";
5
+ import { hash as p } from "./index247.js";
6
+ import { useItemsGetter as W } from "./index242.js";
7
+ import { usePrefill as q } from "./index243.js";
8
+ import { useIndexById as z } from "./index244.js";
9
+ import { useBaseOptions as J } from "./index245.js";
10
+ import { useHashedWatcher as K } from "./index248.js";
11
11
  const oe = /* @__PURE__ */ D({
12
12
  __name: "BbRows",
13
13
  props: {
package/dist/index110.js CHANGED
@@ -1,31 +1,31 @@
1
1
  import { defineComponent as at, ref as f, computed as l, watch as Q, toRef as X, onBeforeUnmount as rt, createElementBlock as Y, openBlock as Z, Fragment as nt, renderSlot as m, createCommentVNode as it, createVNode as F, normalizeProps as ye, mergeProps as ge, normalizeStyle as lt, normalizeClass as st, withCtx as g, createElementVNode as L, withDirectives as ut, withKeys as h, withModifiers as d, unref as I, vModelDynamic as ct, guardReactiveProps as dt, nextTick as we } from "vue";
2
- import { extractDomContainer as pt } from "./index233.js";
3
- import { get as vt } from "./index235.js";
4
- import { hash as ee } from "./index236.js";
5
- import { isNil as ft } from "./index237.js";
6
- import { matchAnyKey as Be } from "./index238.js";
7
- import { parseWidthString as mt } from "./index234.js";
8
- import { useArray as ht } from "./index239.js";
9
- import { useBaseOptions as bt } from "./index240.js";
10
- import { useCoherence as yt } from "./index241.js";
2
+ import { extractDomContainer as pt } from "./index237.js";
3
+ import { get as vt } from "./index285.js";
4
+ import { hash as ee } from "./index247.js";
5
+ import { isNil as ft } from "./index264.js";
6
+ import { matchAnyKey as Be } from "./index278.js";
7
+ import { parseWidthString as mt } from "./index238.js";
8
+ import { useArray as ht } from "./index279.js";
9
+ import { useBaseOptions as bt } from "./index245.js";
10
+ import { useCoherence as yt } from "./index246.js";
11
11
  import { useElementSize as gt, useIntersectionObserver as wt } from "./index145.js";
12
- import { useHashedWatcher as Ae } from "./index242.js";
12
+ import { useHashedWatcher as Ae } from "./index248.js";
13
13
  import { useId as Bt } from "./index8.js";
14
- import { useIndexById as Ie } from "./index243.js";
15
- import { useItemsGetter as At } from "./index244.js";
14
+ import { useIndexById as Ie } from "./index244.js";
15
+ import { useItemsGetter as At } from "./index242.js";
16
16
  import { useMobile as It } from "./index9.js";
17
- import { usePrefill as Vt } from "./index245.js";
18
- import { useUntil as xt } from "./index230.js";
17
+ import { usePrefill as Vt } from "./index243.js";
18
+ import { useUntil as xt } from "./index233.js";
19
19
  import { wait as C } from "./index144.js";
20
20
  /* empty css */
21
21
  /* empty css */
22
22
  import Et from "./index118.js";
23
23
  /* empty css */
24
- import St from "./index231.js";
24
+ import St from "./index234.js";
25
25
  /* empty css */
26
- import kt from "./index246.js";
27
- import Dt from "./index247.js";
28
- import { waitFor as Lt } from "./index248.js";
26
+ import kt from "./index268.js";
27
+ import Dt from "./index284.js";
28
+ import { waitFor as Lt } from "./index292.js";
29
29
  const Ct = {
30
30
  key: 0,
31
31
  class: "bb-select-popover__search-container"
package/dist/index118.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, computed as s, createElementBlock as b, openBlock as _, mergeProps as a, createStaticVNode as x } from "vue";
2
- import { isCssColor as m } from "./index249.js";
2
+ import { isCssColor as m } from "./index231.js";
3
3
  const d = /* @__PURE__ */ p({
4
4
  __name: "BbSpinner",
5
5
  props: {
package/dist/index124.js CHANGED
@@ -8,12 +8,12 @@ import Ce from "./index14.js";
8
8
  import Be from "./index116.js";
9
9
  /* empty css */
10
10
  import { useFrameworkDetection as Te } from "./index146.js";
11
- import { merge as qe } from "./index256.js";
12
- import { isNil as Le } from "./index237.js";
11
+ import { merge as qe } from "./index275.js";
12
+ import { isNil as Le } from "./index264.js";
13
13
  import { useQuery as Fe } from "./index11.js";
14
- import { hash as Ee } from "./index236.js";
14
+ import { hash as Ee } from "./index247.js";
15
15
  import { isNotNil as Ne } from "./index149.js";
16
- import { useLogger as Pe } from "./index253.js";
16
+ import { useLogger as Pe } from "./index255.js";
17
17
  const Ve = ["id"], Re = { class: "bb-tab__label-boundary" }, Ke = { class: "bb-tab__label" }, De = { class: "bb-tab__panes-container" }, We = ["id", "aria-labelledby", "tabindex"], rt = /* @__PURE__ */ fe({
18
18
  __name: "BbTab",
19
19
  props: {
package/dist/index126.js CHANGED
@@ -1,22 +1,22 @@
1
1
  import { defineComponent as he, mergeModels as X, ref as ke, computed as u, toRef as O, useModel as Y, watch as M, reactive as ge, createBlock as Z, openBlock as s, resolveDynamicComponent as xe, normalizeClass as i, withCtx as we, createElementBlock as o, createCommentVNode as p, createElementVNode as n, toDisplayString as m, renderSlot as c, unref as v, Fragment as k, renderList as x, normalizeStyle as H, createVNode as ee, createTextVNode as Ce, mergeProps as Ie } from "vue";
2
- import { clamp as Ve } from "./index221.js";
3
- import { hash as T } from "./index236.js";
4
- import { isNil as w } from "./index237.js";
5
- import { when as $e } from "./index271.js";
2
+ import { clamp as Ve } from "./index223.js";
3
+ import { hash as T } from "./index247.js";
4
+ import { isNil as w } from "./index264.js";
5
+ import { when as $e } from "./index239.js";
6
6
  import { useId as Be } from "./index8.js";
7
- import { useItemValue as He } from "./index294.js";
8
- import { useItemsGetter as Te } from "./index244.js";
9
- import { usePrefill as Ae } from "./index245.js";
10
- import { useIndexById as le } from "./index243.js";
11
- import { useBaseOptions as Ne } from "./index240.js";
12
- import { useHashedWatcher as Le } from "./index242.js";
13
- import { useLocale as De } from "./index226.js";
7
+ import { useItemValue as He } from "./index271.js";
8
+ import { useItemsGetter as Te } from "./index242.js";
9
+ import { usePrefill as Ae } from "./index243.js";
10
+ import { useIndexById as le } from "./index244.js";
11
+ import { useBaseOptions as Ne } from "./index245.js";
12
+ import { useHashedWatcher as Le } from "./index248.js";
13
+ import { useLocale as De } from "./index227.js";
14
14
  import ae from "./index18.js";
15
15
  /* empty css */
16
16
  import Ee from "./index32.js";
17
17
  /* empty css */
18
- import { columnKeyToSlotName as Pe, mergeHeaderClasses as Se, applyFixedTableColumns as Re, mergeCellClasses as Oe } from "./index302.js";
19
- import { useLogger as Me } from "./index253.js";
18
+ import { columnKeyToSlotName as Pe, mergeHeaderClasses as Se, applyFixedTableColumns as Re, mergeCellClasses as Oe } from "./index273.js";
19
+ import { useLogger as Me } from "./index255.js";
20
20
  const Fe = {
21
21
  key: 0,
22
22
  class: "sr-only"
package/dist/index134.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as a, createElementBlock as o, openBlock as e, normalizeClass as c, createVNode as l, TransitionGroup as m, withCtx as i, Fragment as p, renderList as u, unref as r, createBlock as f, mergeProps as _ } from "vue";
2
2
  import { useToast as d, state as k } from "./index12.js";
3
- import b from "./index257.js";
3
+ import b from "./index299.js";
4
4
  const $ = /* @__PURE__ */ a({
5
5
  __name: "BbToast",
6
6
  props: {
package/dist/index136.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as R, mergeModels as U, ref as L, computed as v, useTemplateRef as W, useModel as x, watch as m, onBeforeUnmount as F, createElementBlock as I, openBlock as g, Fragment as _, renderSlot as k, createCommentVNode as C, createVNode as j, normalizeProps as q, mergeProps as B, withCtx as T, createElementVNode as f, normalizeStyle as G, createBlock as H, unref as J } from "vue";
2
2
  import { useId as K } from "./index8.js";
3
- import { useLocale as Q } from "./index226.js";
4
- import { useUntil as X } from "./index230.js";
3
+ import { useLocale as Q } from "./index227.js";
4
+ import { useUntil as X } from "./index233.js";
5
5
  import Y from "./index14.js";
6
6
  /* empty css */
7
- import Z from "./index231.js";
7
+ import Z from "./index234.js";
8
8
  /* empty css */
9
9
  import { useElementSize as ee } from "./index145.js";
10
- import { extractDomContainer as V } from "./index233.js";
11
- import { parseWidthString as te } from "./index234.js";
10
+ import { extractDomContainer as V } from "./index237.js";
11
+ import { parseWidthString as te } from "./index238.js";
12
12
  const ce = /* @__PURE__ */ R({
13
13
  inheritAttrs: !1,
14
14
  __name: "BbTooltip",
package/dist/index138.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as $, computed as g, resolveComponent as y, createElementBlock as f, openBlock as i, Fragment as k, renderList as h, normalizeClass as b, createElementVNode as s, renderSlot as t, createVNode as v, createSlots as B, withCtx as _, mergeProps as C } from "vue";
2
- import { flattenTree as T } from "./index270.js";
2
+ import { flattenTree as T } from "./index296.js";
3
3
  const w = { class: "bb-tree-row" }, E = { class: "bb-tree-main-content" }, N = /* @__PURE__ */ $({
4
4
  __name: "BbTree",
5
5
  props: {
package/dist/index14.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as w, getCurrentInstance as P, computed as r, createBlock as c, openBlock as i, mergeProps as f, withCtx as v, renderSlot as d, createTextVNode as p, toDisplayString as h, resolveDynamicComponent as b } from "vue";
2
- import R from "./index224.js";
2
+ import R from "./index261.js";
3
3
  import { useFrameworkDetection as _ } from "./index146.js";
4
4
  import { _config as g } from "./index4.js";
5
5
  const D = /* @__PURE__ */ w({
package/dist/index140.js CHANGED
@@ -5,8 +5,8 @@ import u from "./index88.js";
5
5
  /* empty css */
6
6
  import I from "./index118.js";
7
7
  /* empty css */
8
- import N from "./index246.js";
9
- import g from "./index265.js";
8
+ import N from "./index268.js";
9
+ import g from "./index269.js";
10
10
  /* empty css */
11
11
  const h = { class: "bb-common-input-inner-container__prefix" }, B = { class: "bb-common-input-inner-container__suffix" }, R = /* @__PURE__ */ k({
12
12
  __name: "CommonInputInnerContainer",
package/dist/index143.js CHANGED
@@ -1,4 +1,4 @@
1
- import { clamp as s } from "./index221.js";
1
+ import { clamp as s } from "./index223.js";
2
2
  const o = (n, e, r = !1) => {
3
3
  const t = n * 100 / e;
4
4
  return r ? s(t, 0, 100) : t;
package/dist/index145.js CHANGED
@@ -1,5 +1,5 @@
1
- import { tryOnMounted as D, toArray as L, notNullish as Z, noop as V, tryOnScopeDispose as P, useThrottleFn as q, isClient as ee, watchImmediate as te, useDebounceFn as ne, pxValue as G, injectLocal as oe, isObject as le } from "./index222.js";
2
- import { bypassFilter as We, createFilterWrapper as ye, debounceFilter as Te, debouncedWatch as Ie, getLifeCycleTarget as Me, throttleFilter as _e, debouncedWatch as Re, watchWithFilter as Ae } from "./index222.js";
1
+ import { tryOnMounted as D, toArray as L, notNullish as Z, noop as V, tryOnScopeDispose as P, useThrottleFn as q, isClient as ee, watchImmediate as te, useDebounceFn as ne, pxValue as G, injectLocal as oe, isObject as le } from "./index221.js";
2
+ import { bypassFilter as We, createFilterWrapper as ye, debounceFilter as Te, debouncedWatch as Ie, getLifeCycleTarget as Me, throttleFilter as _e, debouncedWatch as Re, watchWithFilter as Ae } from "./index221.js";
3
3
  import { shallowRef as S, getCurrentInstance as ue, onMounted as se, computed as g, watch as B, toValue as w, reactive as U, ref as J, watchEffect as re, hasInjectionContext as ie, unref as ce } from "vue";
4
4
  const R = ee ? window : void 0;
5
5
  function W(o) {
package/dist/index147.js CHANGED
@@ -1,4 +1,4 @@
1
- import { urlAlphabet as l } from "./index223.js";
1
+ import { urlAlphabet as l } from "./index222.js";
2
2
  let o = (t = 21) => {
3
3
  let e = "", r = crypto.getRandomValues(new Uint8Array(t |= 0));
4
4
  for (; t--; )
package/dist/index148.js CHANGED
@@ -1,5 +1,5 @@
1
- import { isArray as p } from "./index228.js";
2
- import { isPlainObject as i } from "./index229.js";
1
+ import { isArray as p } from "./index224.js";
2
+ import { isPlainObject as i } from "./index225.js";
3
3
  function f(e, n, u, l, r) {
4
4
  const o = {}.propertyIsEnumerable.call(l, n) ? "enumerable" : "nonenumerable";
5
5
  o === "enumerable" && (e[n] = u), r && o === "nonenumerable" && Object.defineProperty(e, n, {
package/dist/index16.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as C, ref as d, computed as i, createBlock as $, openBlock as g, normalizeClass as I, withCtx as n, createVNode as b, unref as t, withDirectives as M, createElementVNode as p, mergeProps as f, renderSlot as s } from "vue";
2
- import { isHex as q } from "./index225.js";
2
+ import { isHex as q } from "./index226.js";
3
3
  import { isNotNil as D } from "./index149.js";
4
4
  import { useId as E } from "./index8.js";
5
- import { useLocale as N } from "./index226.js";
6
- import { vMaska as L } from "./index227.js";
5
+ import { useLocale as N } from "./index227.js";
6
+ import { vMaska as L } from "./index228.js";
7
7
  import P from "./index74.js";
8
8
  import z from "./index140.js";
9
9
  /* empty css */
package/dist/index18.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as _, ref as i, computed as t, watch as F, createElementBlock as p, openBlock as h, normalizeProps as d, guardReactiveProps as f, createCommentVNode as L, createElementVNode as s, mergeProps as k, renderSlot as M } from "vue";
2
- import { isCssColor as y } from "./index249.js";
3
- import { booleanishToBoolean as q } from "./index262.js";
4
- import { isEqual as A } from "./index264.js";
2
+ import { isCssColor as y } from "./index231.js";
3
+ import { booleanishToBoolean as q } from "./index229.js";
4
+ import { isEqual as A } from "./index262.js";
5
5
  const N = {
6
6
  "aria-hidden": "true",
7
7
  class: "bb-base-checkbox-container"
package/dist/index20.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as z, ref as B, toRef as p, computed as G, createBlock as R, openBlock as W, unref as T, withCtx as n, renderSlot as s, normalizeProps as f, guardReactiveProps as h, createVNode as K, mergeProps as w } from "vue";
2
2
  import N from "./index18.js";
3
3
  /* empty css */
4
- import U from "./index298.js";
4
+ import U from "./index240.js";
5
5
  /* empty css */
6
- import { useItemsGetter as q } from "./index244.js";
7
- import { useIndexById as C } from "./index243.js";
8
- import { useBaseOptions as J } from "./index240.js";
9
- import { useCoherence as Q } from "./index241.js";
10
- import { hash as X } from "./index236.js";
11
- import { useHashedWatcher as $ } from "./index242.js";
12
- import { usePrefill as Y } from "./index245.js";
6
+ import { useItemsGetter as q } from "./index242.js";
7
+ import { useIndexById as C } from "./index244.js";
8
+ import { useBaseOptions as J } from "./index245.js";
9
+ import { useCoherence as Q } from "./index246.js";
10
+ import { hash as X } from "./index247.js";
11
+ import { useHashedWatcher as $ } from "./index248.js";
12
+ import { usePrefill as Y } from "./index243.js";
13
13
  const ce = /* @__PURE__ */ z({
14
14
  __name: "BaseCheckboxGroup",
15
15
  props: {
package/dist/index22.js CHANGED
@@ -5,20 +5,20 @@ import { _config as Q } from "./index4.js";
5
5
  import { useId as X } from "./index8.js";
6
6
  import b from "./index14.js";
7
7
  /* empty css */
8
- import d from "./index281.js";
9
- import ee from "./index284.js";
10
- import ae from "./index285.js";
11
- import te from "./index287.js";
12
- import { hash as B } from "./index236.js";
13
- import { last as le } from "./index260.js";
14
- import { validateDateFormat as L } from "./index288.js";
15
- import { useLogger as oe } from "./index253.js";
16
- import re from "./index289.js";
17
- import se from "./index290.js";
18
- import de from "./index291.js";
19
- import S from "./index292.js";
20
- import ie from "./index293.js";
21
- import { useLocale as ne } from "./index226.js";
8
+ import d from "./index249.js";
9
+ import ee from "./index250.js";
10
+ import ae from "./index251.js";
11
+ import te from "./index252.js";
12
+ import { hash as B } from "./index247.js";
13
+ import { last as le } from "./index253.js";
14
+ import { validateDateFormat as L } from "./index254.js";
15
+ import { useLogger as oe } from "./index255.js";
16
+ import re from "./index256.js";
17
+ import se from "./index257.js";
18
+ import de from "./index258.js";
19
+ import S from "./index259.js";
20
+ import ie from "./index260.js";
21
+ import { useLocale as ne } from "./index227.js";
22
22
  const ue = { class: "bb-base-date-picker" }, me = { class: "bb-base-date-picker__body" }, ce = { class: "bb-base-date-picker__controls" }, pe = { class: "sr-only" }, fe = { class: "sr-only" }, be = { class: "sr-only" }, ve = {
23
23
  style: { transform: "rotate(180deg)" },
24
24
  viewBox: "0 0 24 24",
package/dist/index221.js CHANGED
@@ -1,4 +1,140 @@
1
- const n = (t, a, m) => Math.min(Math.max(t, a), m);
1
+ import { onMounted as O, nextTick as W, getCurrentScope as S, onScopeDispose as C, watch as F, getCurrentInstance as g, isRef as P, toValue as b, hasInjectionContext as k, inject as v } from "vue";
2
+ function V(e) {
3
+ return S() ? (C(e), !0) : !1;
4
+ }
5
+ const w = /* @__PURE__ */ new WeakMap(), E = (...e) => {
6
+ var r;
7
+ const n = e[0], t = (r = g()) == null ? void 0 : r.proxy;
8
+ if (t == null && !k())
9
+ throw new Error("injectLocal must be called in setup");
10
+ return t && w.has(t) && n in w.get(t) ? w.get(t)[n] : v(...e);
11
+ }, G = typeof window < "u" && typeof document < "u";
12
+ typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
13
+ const _ = (e) => e != null, M = Object.prototype.toString, q = (e) => M.call(e) === "[object Object]", d = () => {
14
+ };
15
+ function y(e, r) {
16
+ function n(...t) {
17
+ return new Promise((o, i) => {
18
+ Promise.resolve(e(() => r.apply(this, t), { fn: r, thisArg: this, args: t })).then(o).catch(i);
19
+ });
20
+ }
21
+ return n;
22
+ }
23
+ const A = (e) => e();
24
+ function x(e, r = {}) {
25
+ let n, t, o = d;
26
+ const i = (c) => {
27
+ clearTimeout(c), o(), o = d;
28
+ };
29
+ let u;
30
+ return (c) => {
31
+ const a = b(e), l = b(r.maxWait);
32
+ return n && i(n), a <= 0 || l !== void 0 && l <= 0 ? (t && (i(t), t = null), Promise.resolve(c())) : new Promise((f, p) => {
33
+ o = r.rejectOnCancel ? p : f, u = c, l && !t && (t = setTimeout(() => {
34
+ n && i(n), t = null, f(u());
35
+ }, l)), n = setTimeout(() => {
36
+ t && i(t), t = null, f(c());
37
+ }, a);
38
+ });
39
+ };
40
+ }
41
+ function I(...e) {
42
+ let r = 0, n, t = !0, o = d, i, u, s, c, a;
43
+ !P(e[0]) && typeof e[0] == "object" ? { delay: u, trailing: s = !0, leading: c = !0, rejectOnCancel: a = !1 } = e[0] : [u, s = !0, c = !0, a = !1] = e;
44
+ const l = () => {
45
+ n && (clearTimeout(n), n = void 0, o(), o = d);
46
+ };
47
+ return (p) => {
48
+ const m = b(u), j = Date.now() - r, h = () => i = p();
49
+ return l(), m <= 0 ? (r = Date.now(), h()) : (j > m && (c || !t) ? (r = Date.now(), h()) : s && (i = new Promise((T, D) => {
50
+ o = a ? D : T, n = setTimeout(() => {
51
+ r = Date.now(), t = !0, T(h()), l();
52
+ }, Math.max(0, m - j));
53
+ })), !c && !n && (n = setTimeout(() => t = !0, m)), t = !1, i);
54
+ };
55
+ }
56
+ function z(e) {
57
+ return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
58
+ }
59
+ function L(e) {
60
+ return g();
61
+ }
62
+ function B(e) {
63
+ return Array.isArray(e) ? e : [e];
64
+ }
65
+ function H(e, r = 200, n = {}) {
66
+ return y(
67
+ x(r, n),
68
+ e
69
+ );
70
+ }
71
+ function J(e, r = 200, n = !1, t = !0, o = !1) {
72
+ return y(
73
+ I(r, n, t, o),
74
+ e
75
+ );
76
+ }
77
+ function N(e, r, n = {}) {
78
+ const {
79
+ eventFilter: t = A,
80
+ ...o
81
+ } = n;
82
+ return F(
83
+ e,
84
+ y(
85
+ t,
86
+ r
87
+ ),
88
+ o
89
+ );
90
+ }
91
+ function K(e, r = !0, n) {
92
+ L() ? O(e, n) : r ? e() : W(e);
93
+ }
94
+ function Q(e, r, n = {}) {
95
+ const {
96
+ debounce: t = 0,
97
+ maxWait: o = void 0,
98
+ ...i
99
+ } = n;
100
+ return N(
101
+ e,
102
+ r,
103
+ {
104
+ ...i,
105
+ eventFilter: x(t, { maxWait: o })
106
+ }
107
+ );
108
+ }
109
+ function U(e, r, n) {
110
+ return F(
111
+ e,
112
+ r,
113
+ {
114
+ ...n,
115
+ immediate: !0
116
+ }
117
+ );
118
+ }
2
119
  export {
3
- n as clamp
120
+ A as bypassFilter,
121
+ y as createFilterWrapper,
122
+ x as debounceFilter,
123
+ Q as debouncedWatch,
124
+ L as getLifeCycleTarget,
125
+ E as injectLocal,
126
+ G as isClient,
127
+ q as isObject,
128
+ d as noop,
129
+ _ as notNullish,
130
+ z as pxValue,
131
+ I as throttleFilter,
132
+ B as toArray,
133
+ K as tryOnMounted,
134
+ V as tryOnScopeDispose,
135
+ H as useDebounceFn,
136
+ J as useThrottleFn,
137
+ Q as watchDebounced,
138
+ U as watchImmediate,
139
+ N as watchWithFilter
4
140
  };