bitboss-ui 2.1.110 → 2.1.111

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 (170) hide show
  1. package/dist/composables/useConfirm.d.ts +3 -3
  2. package/dist/composables/useToast.d.ts +2 -2
  3. package/dist/composables/useWizard.d.ts +3 -0
  4. package/dist/index.d.ts +2 -2
  5. package/dist/index109.js +9 -9
  6. package/dist/index110.js +17 -17
  7. package/dist/index124.js +4 -4
  8. package/dist/index126.js +13 -13
  9. package/dist/index134.js +1 -1
  10. package/dist/index136.js +5 -5
  11. package/dist/index138.js +1 -1
  12. package/dist/index14.js +1 -1
  13. package/dist/index140.js +2 -2
  14. package/dist/index143.js +1 -1
  15. package/dist/index147.js +1 -1
  16. package/dist/index16.js +3 -3
  17. package/dist/index18.js +2 -2
  18. package/dist/index20.js +8 -8
  19. package/dist/index22.js +14 -14
  20. package/dist/index222.js +2 -2
  21. package/dist/index223.js +2 -2
  22. package/dist/index224.js +1 -1
  23. package/dist/index225.js +1 -1
  24. package/dist/index226.js +32 -3
  25. package/dist/index227.js +27 -12
  26. package/dist/index229.js +7 -2
  27. package/dist/index230.js +2 -2
  28. package/dist/index232.js +4 -9
  29. package/dist/index233.js +2 -13
  30. package/dist/index234.js +2 -135
  31. package/dist/index235.js +15 -0
  32. package/dist/index236.js +33 -23
  33. package/dist/index237.js +3 -4
  34. package/dist/index238.js +7 -22
  35. package/dist/index239.js +6 -4
  36. package/dist/index24.js +10 -10
  37. package/dist/index240.js +15 -85
  38. package/dist/index241.js +5 -0
  39. package/dist/index242.js +11 -28
  40. package/dist/index243.js +135 -18
  41. package/dist/index245.js +4 -51
  42. package/dist/index246.js +22 -17
  43. package/dist/index247.js +5 -3
  44. package/dist/index248.js +5 -12
  45. package/dist/index249.js +5 -5
  46. package/dist/index250.js +5 -5
  47. package/dist/index251.js +2 -5
  48. package/dist/index252.js +6 -5
  49. package/dist/index253.js +268 -2
  50. package/dist/index254.js +52 -6
  51. package/dist/index255.js +50 -6
  52. package/dist/index256.js +27 -263
  53. package/dist/index257.js +51 -43
  54. package/dist/index258.js +7 -50
  55. package/dist/index259.js +20 -31
  56. package/dist/index26.js +3 -3
  57. package/dist/index260.js +30 -60
  58. package/dist/index261.js +18 -34
  59. package/dist/index262.js +17 -3
  60. package/dist/index263.js +51 -2
  61. package/dist/index264.js +12 -2
  62. package/dist/index265.js +52 -6
  63. package/dist/index266.js +10 -7
  64. package/dist/index267.js +2 -6
  65. package/dist/index268.js +3 -33
  66. package/dist/index269.js +84 -26
  67. package/dist/index271.js +18 -9
  68. package/dist/index272.js +371 -19
  69. package/dist/index274.js +3 -8
  70. package/dist/index275.js +18 -31
  71. package/dist/index276.js +5 -25
  72. package/dist/index277.js +5 -3
  73. package/dist/index278.js +5 -18
  74. package/dist/index279.js +3 -12
  75. package/dist/index28.js +1 -1
  76. package/dist/index280.js +5 -106
  77. package/dist/index281.js +13 -0
  78. package/dist/index282.js +17 -99
  79. package/dist/index283.js +14 -0
  80. package/dist/index284.js +2 -2
  81. package/dist/index285.js +6 -11
  82. package/dist/index286.js +105 -187
  83. package/dist/index288.js +100 -3
  84. package/dist/index290.js +183 -368
  85. package/dist/{index287.js → index291.js} +1 -1
  86. package/dist/index292.js +9 -6
  87. package/dist/index293.js +23 -5
  88. package/dist/index294.js +34 -5
  89. package/dist/index295.js +3 -5
  90. package/dist/index296.js +2 -5
  91. package/dist/index297.js +6 -9
  92. package/dist/index298.js +7 -3
  93. package/dist/index299.js +9 -67
  94. package/dist/index30.js +3 -3
  95. package/dist/index300.js +67 -3
  96. package/dist/index301.js +13 -6
  97. package/dist/index302.js +25 -16
  98. package/dist/index304.js +5 -0
  99. package/dist/index305.js +4 -3
  100. package/dist/index306.js +719 -3
  101. package/dist/index307.js +365 -3
  102. package/dist/index308.js +57 -2
  103. package/dist/index317.js +1 -1
  104. package/dist/index318.js +1 -1
  105. package/dist/index319.js +1 -1
  106. package/dist/index32.js +1 -1
  107. package/dist/index320.js +1 -1
  108. package/dist/index322.js +1 -1
  109. package/dist/index323.js +7 -17
  110. package/dist/index324.js +5 -3
  111. package/dist/index325.js +3 -4
  112. package/dist/index326.js +17 -3
  113. package/dist/index327.js +1 -1
  114. package/dist/index328.js +3 -2
  115. package/dist/index329.js +2 -5
  116. package/dist/index330.js +3 -5
  117. package/dist/index331.js +125 -3
  118. package/dist/index332.js +2 -125
  119. package/dist/index333.js +15 -2
  120. package/dist/index334.js +2 -15
  121. package/dist/index335.js +19 -2
  122. package/dist/index336.js +2 -19
  123. package/dist/index337.js +3 -2
  124. package/dist/index338.js +3 -5
  125. package/dist/index339.js +1 -1
  126. package/dist/index34.js +8 -8
  127. package/dist/index340.js +2 -7
  128. package/dist/index341.js +5 -5
  129. package/dist/index342.js +6 -719
  130. package/dist/index343.js +7 -366
  131. package/dist/index344.js +5 -57
  132. package/dist/index350.js +1 -1
  133. package/dist/index351.js +1 -1
  134. package/dist/index352.js +227 -66
  135. package/dist/index353.js +40 -40
  136. package/dist/index354.js +65 -198
  137. package/dist/index355.js +149 -208
  138. package/dist/index356.js +257 -226
  139. package/dist/index36.js +3 -3
  140. package/dist/index360.js +1 -1
  141. package/dist/index361.js +1 -1
  142. package/dist/index362.js +1 -1
  143. package/dist/index366.js +1 -1
  144. package/dist/index38.js +19 -19
  145. package/dist/index40.js +6 -6
  146. package/dist/index42.js +1 -1
  147. package/dist/index44.js +8 -8
  148. package/dist/index46.js +6 -6
  149. package/dist/index50.js +2 -2
  150. package/dist/index54.js +1 -1
  151. package/dist/index58.js +1 -1
  152. package/dist/index60.js +2 -2
  153. package/dist/index62.js +5 -5
  154. package/dist/index68.js +1 -1
  155. package/dist/index74.js +4 -4
  156. package/dist/index82.js +6 -6
  157. package/dist/index84.js +1 -1
  158. package/dist/index86.js +2 -2
  159. package/dist/index88.js +2 -2
  160. package/dist/index90.js +1 -1
  161. package/dist/index93.js +3 -3
  162. package/dist/index95.js +2 -2
  163. package/dist/index97.js +5 -5
  164. package/dist/index99.js +1 -1
  165. package/package.json +1 -1
  166. package/dist/index228.js +0 -22
  167. package/dist/index244.js +0 -19
  168. package/dist/index273.js +0 -55
  169. package/dist/index289.js +0 -15
  170. package/dist/index303.js +0 -9
@@ -20,7 +20,7 @@ export type ConfirmState = {
20
20
  * - `timeout` enables automatic close behavior and resolves as `false` when it elapses.
21
21
  * - `returning: true` makes the confirm promise resolve with callback return values.
22
22
  */
23
- export type ConfirmMessage = {
23
+ export type BbConfirmMessage = {
24
24
  /** Shows footer action buttons. Set `false` for content-only confirms. */
25
25
  actions?: boolean;
26
26
  /**
@@ -73,7 +73,7 @@ export type ConfirmMessage = {
73
73
  /** Title of the confirm dialog. */
74
74
  title: string;
75
75
  });
76
- type StackMessage = ConfirmMessage & {
76
+ type StackMessage = BbConfirmMessage & {
77
77
  resolve: (value: unknown) => void;
78
78
  reject: (reason?: unknown) => void;
79
79
  };
@@ -93,7 +93,7 @@ export declare const confirmState: Ref<DeepReadonly<ConfirmState>>;
93
93
  export declare const processMessage: (value: boolean, explicit?: boolean) => Promise<void>;
94
94
  /** Composable for programmatically showing confirm dialogs. */
95
95
  export declare const useConfirm: () => {
96
- confirm: <T extends ConfirmMessage>(message: T) => Promise<ReturnedValue<T>>;
96
+ confirm: <T extends BbConfirmMessage>(message: T) => Promise<ReturnedValue<T>>;
97
97
  close: () => void;
98
98
  setLoading: (value: boolean) => void;
99
99
  };
@@ -39,7 +39,7 @@ export type Message = {
39
39
  * - `MessageParameter` = caller input
40
40
  * - `Message` = normalized stored/rendered message
41
41
  */
42
- export type MessageParameter = string | (Pick<Message, 'title' | 'text' | 'icon' | 'theme'> & {
42
+ export type BbToastMessage = string | (Pick<Message, 'title' | 'text' | 'icon' | 'theme'> & {
43
43
  /**
44
44
  * Time in milliseconds before the message disappears
45
45
  */
@@ -64,7 +64,7 @@ export declare const state: {
64
64
  }[];
65
65
  };
66
66
  export declare const useToast: () => {
67
- toast: (message: MessageParameter) => string;
67
+ toast: (message: BbToastMessage) => string;
68
68
  dismiss: (id: Message["id"]) => {
69
69
  title?: string | undefined;
70
70
  text: string;
@@ -18,6 +18,9 @@ export type Step<U> = {
18
18
  [key: string]: any;
19
19
  };
20
20
  export type WizardState<T extends Record<string, any>> = ReturnType<typeof useWizard<T>>;
21
+ /**
22
+ * @deprecated it will be removed in the next major version
23
+ */
21
24
  export declare const useWizard: <T extends object>(params: {
22
25
  /**
23
26
  * The steps definition for the wizard
package/dist/index.d.ts CHANGED
@@ -16,8 +16,8 @@ export { useQuery } from './composables/useQuery';
16
16
  export { useToast } from './composables/useToast';
17
17
  export { useWizard, wizardInjectionKey } from './composables/useWizard';
18
18
  export type { Step, WizardState } from './composables/useWizard';
19
- export type { ConfirmMessage as BbConfirmProps } from './composables/useConfirm';
20
- export type { MessageParameter as BbToastMessageProps } from './composables/useToast';
19
+ export type { BbConfirmMessage } from './composables/useConfirm';
20
+ export type { BbToastMessage } from './composables/useToast';
21
21
  /**
22
22
  * Export components
23
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 "./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";
2
+ import { useItemValue as G } from "./index258.js";
3
+ import { isNil as k } from "./index230.js";
4
+ import { indexBy as U } from "./index259.js";
5
+ import { hash as p } from "./index237.js";
6
+ import { useItemsGetter as W } from "./index260.js";
7
+ import { usePrefill as q } from "./index261.js";
8
+ import { useIndexById as z } from "./index262.js";
9
+ import { useBaseOptions as J } from "./index263.js";
10
+ import { useHashedWatcher as K } from "./index264.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 "./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";
2
+ import { extractDomContainer as pt } from "./index245.js";
3
+ import { get as vt } from "./index281.js";
4
+ import { hash as ee } from "./index237.js";
5
+ import { isNil as ft } from "./index230.js";
6
+ import { matchAnyKey as Be } from "./index282.js";
7
+ import { parseWidthString as mt } from "./index246.js";
8
+ import { useArray as ht } from "./index283.js";
9
+ import { useBaseOptions as bt } from "./index263.js";
10
+ import { useCoherence as yt } from "./index271.js";
11
11
  import { useElementSize as gt, useIntersectionObserver as wt } from "./index145.js";
12
- import { useHashedWatcher as Ae } from "./index248.js";
12
+ import { useHashedWatcher as Ae } from "./index264.js";
13
13
  import { useId as Bt } from "./index8.js";
14
- import { useIndexById as Ie } from "./index244.js";
15
- import { useItemsGetter as At } from "./index242.js";
14
+ import { useIndexById as Ie } from "./index262.js";
15
+ import { useItemsGetter as At } from "./index260.js";
16
16
  import { useMobile as It } from "./index9.js";
17
- import { usePrefill as Vt } from "./index243.js";
18
- import { useUntil as xt } from "./index233.js";
17
+ import { usePrefill as Vt } from "./index261.js";
18
+ import { useUntil as xt } from "./index242.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 "./index234.js";
24
+ import St from "./index243.js";
25
25
  /* empty css */
26
- import kt from "./index268.js";
26
+ import kt from "./index226.js";
27
27
  import Dt from "./index284.js";
28
- import { waitFor as Lt } from "./index292.js";
28
+ import { waitFor as Lt } from "./index285.js";
29
29
  const Ct = {
30
30
  key: 0,
31
31
  class: "bb-select-popover__search-container"
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 "./index275.js";
12
- import { isNil as Le } from "./index264.js";
11
+ import { merge as qe } from "./index236.js";
12
+ import { isNil as Le } from "./index230.js";
13
13
  import { useQuery as Fe } from "./index11.js";
14
- import { hash as Ee } from "./index247.js";
14
+ import { hash as Ee } from "./index237.js";
15
15
  import { isNotNil as Ne } from "./index149.js";
16
- import { useLogger as Pe } from "./index255.js";
16
+ import { useLogger as Pe } from "./index238.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 "./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";
2
+ import { clamp as Ve } from "./index222.js";
3
+ import { hash as T } from "./index237.js";
4
+ import { isNil as w } from "./index230.js";
5
+ import { when as $e } from "./index232.js";
6
6
  import { useId as Be } from "./index8.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";
7
+ import { useItemValue as He } from "./index258.js";
8
+ import { useItemsGetter as Te } from "./index260.js";
9
+ import { usePrefill as Ae } from "./index261.js";
10
+ import { useIndexById as le } from "./index262.js";
11
+ import { useBaseOptions as Ne } from "./index263.js";
12
+ import { useHashedWatcher as Le } from "./index264.js";
13
+ import { useLocale as De } from "./index235.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 "./index273.js";
19
- import { useLogger as Me } from "./index255.js";
18
+ import { columnKeyToSlotName as Pe, mergeHeaderClasses as Se, applyFixedTableColumns as Re, mergeCellClasses as Oe } from "./index265.js";
19
+ import { useLogger as Me } from "./index238.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 "./index299.js";
3
+ import b from "./index300.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 "./index227.js";
4
- import { useUntil as X } from "./index233.js";
3
+ import { useLocale as Q } from "./index235.js";
4
+ import { useUntil as X } from "./index242.js";
5
5
  import Y from "./index14.js";
6
6
  /* empty css */
7
- import Z from "./index234.js";
7
+ import Z from "./index243.js";
8
8
  /* empty css */
9
9
  import { useElementSize as ee } from "./index145.js";
10
- import { extractDomContainer as V } from "./index237.js";
11
- import { parseWidthString as te } from "./index238.js";
10
+ import { extractDomContainer as V } from "./index245.js";
11
+ import { parseWidthString as te } from "./index246.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 "./index296.js";
2
+ import { flattenTree as T } from "./index280.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 "./index261.js";
2
+ import R from "./index294.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 "./index268.js";
9
- import g from "./index269.js";
8
+ import N from "./index226.js";
9
+ import g from "./index227.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 "./index223.js";
1
+ import { clamp as s } from "./index222.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/index147.js CHANGED
@@ -1,4 +1,4 @@
1
- import { urlAlphabet as l } from "./index222.js";
1
+ import { urlAlphabet as l } from "./index223.js";
2
2
  let o = (t = 21) => {
3
3
  let e = "", r = crypto.getRandomValues(new Uint8Array(t |= 0));
4
4
  for (; t--; )
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 "./index226.js";
2
+ import { isHex as q } from "./index274.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 "./index227.js";
6
- import { vMaska as L } from "./index228.js";
5
+ import { useLocale as N } from "./index235.js";
6
+ import { vMaska as L } from "./index275.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
2
  import { isCssColor as y } from "./index231.js";
3
- import { booleanishToBoolean as q } from "./index229.js";
4
- import { isEqual as A } from "./index262.js";
3
+ import { booleanishToBoolean as q } from "./index233.js";
4
+ import { isEqual as A } from "./index268.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 "./index240.js";
4
+ import U from "./index269.js";
5
5
  /* empty css */
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";
6
+ import { useItemsGetter as q } from "./index260.js";
7
+ import { useIndexById as C } from "./index262.js";
8
+ import { useBaseOptions as J } from "./index263.js";
9
+ import { useCoherence as Q } from "./index271.js";
10
+ import { hash as X } from "./index237.js";
11
+ import { useHashedWatcher as $ } from "./index264.js";
12
+ import { usePrefill as Y } from "./index261.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 "./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";
8
+ import d from "./index247.js";
9
+ import ee from "./index248.js";
10
+ import ae from "./index249.js";
11
+ import te from "./index250.js";
12
+ import { hash as B } from "./index237.js";
13
+ import { last as le } from "./index251.js";
14
+ import { validateDateFormat as L } from "./index252.js";
15
+ import { useLogger as oe } from "./index238.js";
16
+ import re from "./index253.js";
17
+ import se from "./index254.js";
18
+ import de from "./index255.js";
19
+ import S from "./index256.js";
20
+ import ie from "./index257.js";
21
+ import { useLocale as ne } from "./index235.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/index222.js CHANGED
@@ -1,4 +1,4 @@
1
- const t = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
1
+ const n = (t, a, m) => Math.min(Math.max(t, a), m);
2
2
  export {
3
- t as urlAlphabet
3
+ n as clamp
4
4
  };
package/dist/index223.js CHANGED
@@ -1,4 +1,4 @@
1
- const n = (t, a, m) => Math.min(Math.max(t, a), m);
1
+ const t = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
2
2
  export {
3
- n as clamp
3
+ t as urlAlphabet
4
4
  };
package/dist/index224.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getType as t } from "./index325.js";
1
+ import { getType as t } from "./index330.js";
2
2
  function o(r) {
3
3
  return t(r) === "Array";
4
4
  }
package/dist/index225.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getType as o } from "./index325.js";
1
+ import { getType as o } from "./index330.js";
2
2
  function c(e) {
3
3
  if (o(e) !== "Object")
4
4
  return !1;
package/dist/index226.js CHANGED
@@ -1,6 +1,35 @@
1
- function e(t) {
2
- return /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/.test(t);
1
+ import { createElementBlock as e, openBlock as t, createElementVNode as o } from "vue";
2
+ /* empty css */
3
+ import n from "./index220.js";
4
+ const l = {}, s = {
5
+ class: "bb-error-icon",
6
+ fill: "none",
7
+ viewBox: "0 0 20 20",
8
+ xmlns: "http://www.w3.org/2000/svg"
9
+ };
10
+ function i(c, r) {
11
+ return t(), e("svg", s, r[0] || (r[0] = [
12
+ o("path", {
13
+ d: "M9.99422 18.3333C14.5966 18.3333 18.3276 14.6024 18.3276 9.99999C18.3276 5.39762 14.5966 1.66666 9.99422 1.66666C5.39185 1.66666 1.66089 5.39762 1.66089 9.99999C1.66089 14.6024 5.39185 18.3333 9.99422 18.3333Z",
14
+ fill: "currentColor"
15
+ }, null, -1),
16
+ o("path", {
17
+ d: "M9.99414 6.66666V9.99999",
18
+ stroke: "white",
19
+ "stroke-linecap": "round",
20
+ "stroke-linejoin": "round",
21
+ "stroke-width": "2"
22
+ }, null, -1),
23
+ o("path", {
24
+ d: "M9.99414 13.3333H10.0025",
25
+ stroke: "white",
26
+ "stroke-linecap": "round",
27
+ "stroke-linejoin": "round",
28
+ "stroke-width": "2"
29
+ }, null, -1)
30
+ ]));
3
31
  }
32
+ const a = /* @__PURE__ */ n(l, [["render", i]]);
4
33
  export {
5
- e as isHex
34
+ a as default
6
35
  };
package/dist/index227.js CHANGED
@@ -1,15 +1,30 @@
1
- import { locales as t } from "./index303.js";
2
- import { _config as m } from "./index4.js";
3
- import { get as c } from "./index285.js";
4
- import { readonly as l, computed as n } from "vue";
5
- const p = (o, ...r) => l(
6
- n(() => c(t[m.locale], o).replace(
7
- /\{(\d+)\}/g,
8
- (a, e) => r[e]
9
- ))
10
- ), d = () => ({
11
- t: p
1
+ import { defineComponent as l, createElementBlock as n, openBlock as r, unref as a, createElementVNode as t } from "vue";
2
+ import { useLocale as s } from "./index235.js";
3
+ const c = ["aria-label"], b = /* @__PURE__ */ l({
4
+ __name: "ClearableButton",
5
+ setup(u) {
6
+ const { t: o } = s();
7
+ return (i, e) => (r(), n("button", {
8
+ "aria-label": a(o)("common.clearLabel").value,
9
+ class: "bb-clearable-button",
10
+ type: "button"
11
+ }, e[0] || (e[0] = [
12
+ t("svg", {
13
+ viewBox: "0 0 24 24",
14
+ xmlns: "http://www.w3.org/2000/svg"
15
+ }, [
16
+ t("path", {
17
+ d: "M12 12l7 7M12 12l-7 -7M12 12l-7 7M12 12l7 -7",
18
+ fill: "none",
19
+ stroke: "currentColor",
20
+ "stroke-linecap": "round",
21
+ "stroke-linejoin": "round",
22
+ "stroke-width": "2"
23
+ })
24
+ ], -1)
25
+ ]), 8, c));
26
+ }
12
27
  });
13
28
  export {
14
- d as useLocale
29
+ b as default
15
30
  };
package/dist/index229.js CHANGED
@@ -1,4 +1,9 @@
1
- const o = (e) => typeof e == "boolean" ? e : e === "true";
1
+ const s = (r, t) => {
2
+ if (r.endsWith("."))
3
+ return t === 0 ? r.slice(0, -1) : r;
4
+ const [n, i] = r.split(".");
5
+ return i ? `${n}.${i.slice(0, t)}` : r;
6
+ };
2
7
  export {
3
- o as booleanishToBoolean
8
+ s as clampPrecision
4
9
  };
package/dist/index230.js CHANGED
@@ -1,4 +1,4 @@
1
- const e = (t) => t;
1
+ const r = (e) => typeof e > "u" || e === null;
2
2
  export {
3
- e as identity
3
+ r as isNil
4
4
  };
package/dist/index232.js CHANGED
@@ -1,11 +1,6 @@
1
- const o = (n, t) => {
2
- for (let e = n.length - 1; e >= 0; e--) {
3
- const i = n[e];
4
- if (t(i, e, n))
5
- return e;
6
- }
7
- return -1;
8
- };
1
+ import { curry as e } from "./index305.js";
2
+ const t = (n, o, r) => n(r) ? o(r) : r, s = e(t);
9
3
  export {
10
- o as findRightIndex
4
+ t as baseWhen,
5
+ s as when
11
6
  };
package/dist/index233.js CHANGED
@@ -1,15 +1,4 @@
1
- import { ref as c, watch as f, toValue as u } from "vue";
2
- const p = (e, { initialValue: r = !1, nextValue: o = !0 } = {}) => {
3
- const t = c(r);
4
- if (r) return t;
5
- const n = f(
6
- () => u(e),
7
- (s) => {
8
- s && (t.value = o, n());
9
- }
10
- );
11
- return t;
12
- };
1
+ const o = (e) => typeof e == "boolean" ? e : e === "true";
13
2
  export {
14
- p as useUntil
3
+ o as booleanishToBoolean
15
4
  };