bitboss-ui 2.1.107 → 2.1.108

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 (183) hide show
  1. package/dist/components/BaseButton/BaseButton.vue.d.ts +8 -9
  2. package/dist/components/BbRows/BbRows.vue.d.ts +3 -53
  3. package/dist/components/BbRows/types.d.ts +21 -0
  4. package/dist/index.d.ts +2 -0
  5. package/dist/index109.js +9 -9
  6. package/dist/index110.js +18 -18
  7. package/dist/index118.js +1 -1
  8. package/dist/index124.js +4 -4
  9. package/dist/index126.js +12 -12
  10. package/dist/index134.js +1 -1
  11. package/dist/index136.js +5 -5
  12. package/dist/index138.js +1 -1
  13. package/dist/index14.js +1 -1
  14. package/dist/index140.js +2 -2
  15. package/dist/index148.js +2 -2
  16. package/dist/index16.js +3 -3
  17. package/dist/index18.js +3 -3
  18. package/dist/index20.js +8 -8
  19. package/dist/index22.js +14 -14
  20. package/dist/index224.js +32 -4
  21. package/dist/index225.js +28 -8
  22. package/dist/index227.js +5 -2
  23. package/dist/index228.js +7 -20
  24. package/dist/index229.js +34 -3
  25. package/dist/index230.js +86 -30
  26. package/dist/index232.js +28 -15
  27. package/dist/index233.js +15 -49
  28. package/dist/index234.js +50 -11
  29. package/dist/index235.js +18 -4
  30. package/dist/index236.js +3 -13
  31. package/dist/index237.js +11 -19
  32. package/dist/index238.js +18 -3
  33. package/dist/index239.js +13 -25
  34. package/dist/index24.js +10 -10
  35. package/dist/index240.js +25 -3
  36. package/dist/index241.js +9 -9
  37. package/dist/index242.js +2 -4
  38. package/dist/index243.js +20 -52
  39. package/dist/index244.js +5 -8
  40. package/dist/index245.js +5 -2
  41. package/dist/index246.js +5 -13
  42. package/dist/index247.js +5 -135
  43. package/dist/index248.js +7 -0
  44. package/dist/index249.js +5 -4
  45. package/dist/index250.js +3 -23
  46. package/dist/index251.js +8 -3
  47. package/dist/index252.js +135 -2
  48. package/dist/index254.js +2 -12
  49. package/dist/index255.js +4 -18
  50. package/dist/index256.js +187 -105
  51. package/dist/{index282.js → index257.js} +1 -1
  52. package/dist/index258.js +4 -100
  53. package/dist/index259.js +22 -0
  54. package/dist/index26.js +3 -3
  55. package/dist/index260.js +9 -107
  56. package/dist/index261.js +5 -11
  57. package/dist/index262.js +5 -5
  58. package/dist/index263.js +2 -5
  59. package/dist/index264.js +6 -5
  60. package/dist/index265.js +268 -5
  61. package/dist/index266.js +52 -6
  62. package/dist/index267.js +44 -260
  63. package/dist/index268.js +25 -45
  64. package/dist/index269.js +48 -40
  65. package/dist/index270.js +12 -31
  66. package/dist/index271.js +13 -60
  67. package/dist/index272.js +2 -86
  68. package/dist/index273.js +5 -0
  69. package/dist/index274.js +9 -32
  70. package/dist/index275.js +3 -2
  71. package/dist/index276.js +4 -7
  72. package/dist/index277.js +18 -7
  73. package/dist/index278.js +11 -6
  74. package/dist/index279.js +102 -30
  75. package/dist/index28.js +1 -1
  76. package/dist/index281.js +99 -187
  77. package/dist/index283.js +107 -33
  78. package/dist/index284.js +11 -6
  79. package/dist/index285.js +2 -10
  80. package/dist/index286.js +22 -2
  81. package/dist/index287.js +6 -3
  82. package/dist/index288.js +2 -373
  83. package/dist/index289.js +9 -0
  84. package/dist/index290.js +7 -13
  85. package/dist/index291.js +3 -28
  86. package/dist/index292.js +9 -0
  87. package/dist/index293.js +33 -2
  88. package/dist/index294.js +373 -2
  89. package/dist/index296.js +3 -6
  90. package/dist/index297.js +52 -15
  91. package/dist/index298.js +6 -5
  92. package/dist/index299.js +16 -5
  93. package/dist/index30.js +2 -2
  94. package/dist/index300.js +67 -5
  95. package/dist/index304.js +5 -0
  96. package/dist/index305.js +2 -3
  97. package/dist/index307.js +1 -1
  98. package/dist/index308.js +2 -2
  99. package/dist/index309.js +280 -5
  100. package/dist/index310.js +2 -4
  101. package/dist/index311.js +16 -3
  102. package/dist/index312.js +2 -3
  103. package/dist/index313.js +16 -3
  104. package/dist/index314.js +2 -2
  105. package/dist/index315.js +23 -276
  106. package/dist/index316.js +2 -2
  107. package/dist/index317.js +2 -16
  108. package/dist/index318.js +2 -2
  109. package/dist/index319.js +2 -16
  110. package/dist/index32.js +2 -2
  111. package/dist/index320.js +2 -2
  112. package/dist/index321.js +2 -27
  113. package/dist/index322.js +3 -2
  114. package/dist/index323.js +4 -2
  115. package/dist/index324.js +3 -2
  116. package/dist/index325.js +3 -2
  117. package/dist/index326.js +3 -2
  118. package/dist/index327.js +1 -1
  119. package/dist/index328.js +125 -3
  120. package/dist/index329.js +2 -4
  121. package/dist/index330.js +15 -2
  122. package/dist/index331.js +2 -2
  123. package/dist/index332.js +18 -5
  124. package/dist/index333.js +2 -3
  125. package/dist/index334.js +5 -719
  126. package/dist/index335.js +5 -366
  127. package/dist/index336.js +3 -57
  128. package/dist/index337.js +5 -227
  129. package/dist/index338.js +3 -124
  130. package/dist/index339.js +5 -2
  131. package/dist/index34.js +8 -8
  132. package/dist/index340.js +6 -14
  133. package/dist/index341.js +2 -2
  134. package/dist/index342.js +67 -19
  135. package/dist/index343.js +67 -2
  136. package/dist/index344.js +719 -7
  137. package/dist/index345.js +366 -5
  138. package/dist/index346.js +54 -197
  139. package/dist/index347.js +7 -259
  140. package/dist/index348.js +18 -34
  141. package/dist/index349.js +7 -127
  142. package/dist/index350.js +12 -395
  143. package/dist/index351.js +200 -7
  144. package/dist/index352.js +257 -17
  145. package/dist/index353.js +34 -8
  146. package/dist/index354.js +126 -12
  147. package/dist/index355.js +396 -65
  148. package/dist/index356.js +227 -66
  149. package/dist/index357.js +21 -92
  150. package/dist/index359.js +4 -0
  151. package/dist/index36.js +4 -4
  152. package/dist/index360.js +1 -1
  153. package/dist/index361.js +93 -2
  154. package/dist/index364.js +1 -1
  155. package/dist/index38.js +20 -20
  156. package/dist/index40.js +6 -6
  157. package/dist/index42.js +2 -2
  158. package/dist/index44.js +8 -8
  159. package/dist/index46.js +6 -6
  160. package/dist/index50.js +2 -2
  161. package/dist/index54.js +1 -1
  162. package/dist/index56.js +1 -1
  163. package/dist/index58.js +2 -2
  164. package/dist/index60.js +2 -2
  165. package/dist/index62.js +5 -5
  166. package/dist/index68.js +1 -1
  167. package/dist/index74.js +4 -4
  168. package/dist/index82.js +4 -4
  169. package/dist/index84.js +1 -1
  170. package/dist/index86.js +2 -2
  171. package/dist/index88.js +3 -3
  172. package/dist/index90.js +1 -1
  173. package/dist/index93.js +3 -3
  174. package/dist/index95.js +2 -2
  175. package/dist/index97.js +5 -5
  176. package/package.json +2 -2
  177. package/dist/index226.js +0 -11
  178. package/dist/index231.js +0 -20
  179. package/dist/index253.js +0 -20
  180. package/dist/index280.js +0 -69
  181. package/dist/index295.js +0 -7
  182. package/dist/index303.js +0 -7
  183. package/dist/index358.js +0 -24
@@ -1,11 +1,9 @@
1
1
  import { RouteLocationRaw } from 'vue-router';
2
2
  export type BaseButtonProps = {
3
3
  /**
4
- * CSS class applied when the component renders as a router link (`to` provided)
5
- * and the target route is active.
6
- *
7
- * When using Vue Router this mirrors the behavior of `RouterLink`'s
8
- * `activeClass`.
4
+ * CSS class applied when the component renders as a link and the target of the link is the current route or the url matches partially.
5
+ * Ported for Inertia compatibility.
6
+ * @defaultValue `'router-link-active'`
9
7
  */
10
8
  activeClass?: string;
11
9
  /**
@@ -36,10 +34,10 @@ export type BaseButtonProps = {
36
34
  */
37
35
  disabled?: boolean;
38
36
  /**
39
- * CSS class applied when the component renders as a router link and the
40
- * target route is an exact match.
41
- *
42
- * Mirrors `RouterLink`'s `exactActiveClass` behavior.
37
+ * CSS class applied when the component renders as a link and the target of the link
38
+ * and the url matches exactly.
39
+ * Ported for Inertia compatibility.
40
+ * @defaultValue `'router-link-exact-active'`
43
41
  */
44
42
  exactActiveClass?: string;
45
43
  /**
@@ -114,6 +112,7 @@ export type BaseButtonProps = {
114
112
  /**
115
113
  * Format to use when serializing array values into the query string for
116
114
  * Inertia requests.
115
+ * @defaultValue `'brackets'`
117
116
  */
118
117
  queryStringArrayFormat?: 'brackets' | 'indices';
119
118
  /**
@@ -1,56 +1,9 @@
1
- import { BaseColumn } from '../BbTable/types';
2
- export type BbRowsColumn<Item = any> = BaseColumn<Item>;
1
+ import { BbRowsEvents, BbRowsProps } from './types';
3
2
  declare const _default: <Item = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
3
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
4
  readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
6
5
  readonly "onUpdate:unselectedItems"?: ((value: any[]) => any) | undefined;
7
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue" | "onUpdate:unselectedItems"> & {
8
- columns: BbRowsColumn<Item>[];
9
- /**
10
- * Defines an array of dependencies that will trigger actions in the component upon change.
11
- */
12
- dependencies?: any[];
13
- /**
14
- * Timeout used to debounce response to changes to dependencies.
15
- */
16
- depsDebounceTime?: number;
17
- /**
18
- * Disables the component
19
- */
20
- disabled?: boolean;
21
- items: any[] | ((prefill: boolean, modelValue?: any[]) => Promise<any[]>) | ((prefill: boolean, modelValue?: any[]) => any[]);
22
- itemValue?: string | ((item: any) => any);
23
- /**
24
- * Sets the component in a loading state, usually triggering some visual styles.
25
- */
26
- loading?: boolean;
27
- /**
28
- * Maximum number of items that can be selected.
29
- */
30
- max?: number;
31
- /**
32
- * Used by v-model. Can be any serializable type.
33
- */
34
- modelValue?: any;
35
- /**
36
- * Allows the selection of multiple items.
37
- */
38
- multiple?: boolean;
39
- /**
40
- * Defines whether the table is selectable.
41
- * Can be a global boolean that affects all rows or a function
42
- * that accepts an item and returns a boolean that only affects that item.
43
- */
44
- selectable?: boolean | ((item: any) => boolean);
45
- /**
46
- * Defines whether the table allows the selection of all items.
47
- */
48
- selectAll?: boolean;
49
- /**
50
- * Items that are not selected.
51
- */
52
- unselectedItems?: any[];
53
- } & Partial<{}>> & import('vue').PublicProps;
6
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue" | "onUpdate:unselectedItems"> & BbRowsProps<Item> & Partial<{}>> & import('vue').PublicProps;
54
7
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
55
8
  attrs: any;
56
9
  slots: {
@@ -76,10 +29,7 @@ declare const _default: <Item = any>(__VLS_props: NonNullable<Awaited<typeof __V
76
29
  value: any;
77
30
  }): any;
78
31
  };
79
- emit: {
80
- (e: "update:modelValue", value: any): void;
81
- (e: "update:unselectedItems", value: any[]): void;
82
- };
32
+ emit: BbRowsEvents;
83
33
  }>) => import('vue').VNode & {
84
34
  __ctx?: Awaited<typeof __VLS_setup>;
85
35
  };
@@ -0,0 +1,21 @@
1
+ import { BaseColumn } from '../BbTable/types';
2
+ export type BbRowsColumn<Item = any> = BaseColumn<Item>;
3
+ export type BbRowsProps<Item = any> = {
4
+ columns: BbRowsColumn<Item>[];
5
+ dependencies?: any[];
6
+ depsDebounceTime?: number;
7
+ disabled?: boolean;
8
+ items: any[] | ((prefill: boolean, modelValue?: any[]) => Promise<any[]>) | ((prefill: boolean, modelValue?: any[]) => any[]);
9
+ itemValue?: string | ((item: any) => any);
10
+ loading?: boolean;
11
+ max?: number;
12
+ modelValue?: any;
13
+ multiple?: boolean;
14
+ selectable?: boolean | ((item: any) => boolean);
15
+ selectAll?: boolean;
16
+ unselectedItems?: any[];
17
+ };
18
+ export type BbRowsEvents = {
19
+ (e: 'update:modelValue', value: any): void;
20
+ (e: 'update:unselectedItems', value: any[]): void;
21
+ };
package/dist/index.d.ts CHANGED
@@ -102,6 +102,7 @@ export type { BaseSelectProps, BaseSelectEvents, } from './components/BaseSelect
102
102
  export type { BaseSliderProps, BaseSliderEvents, } from './components/BaseSlider/BaseSlider.vue';
103
103
  export type { BaseSwitchGroupProps, BaseSwitchGroupEvents, } from './components/BaseSwitchGroup/BaseSwitchGroup.vue';
104
104
  export type { BaseSwitchProps, BaseSwitchEvents, } from './components/BaseSwitch/BaseSwitch.vue';
105
+ export type { BaseTagProps, BaseTagEvents, BaseTagSlots, } from './components/BaseTag/BaseTag.vue';
105
106
  export type { BaseTextareaProps, BaseTextareaEvents, } from './components/BaseTextarea/BaseTextarea.vue';
106
107
  export type { BaseTextInputProps, BaseTextInputEvents, } from './components/BaseTextInput/BaseTextInput.vue';
107
108
  export type { BbAccordionProps, BbAccordionEvents, } from './components/BbAccordion/BbAccordion.vue';
@@ -132,6 +133,7 @@ export type { BbRadioGroupEvents, BbRadioGroupProps, } from './components/BbRadi
132
133
  export type { BbRadioProps, BbRadioEvents, } from './components/BbRadio/BbRadio.vue';
133
134
  export type { BbRatingProps, BbRatingEvents, } from './components/BbRating/BbRating.vue';
134
135
  export type { BbRatioProps } from './components/BbRatio/BbRatio.vue';
136
+ export type { BbRowsProps, BbRowsEvents, BbRowsColumn, } from './components/BbRows/types';
135
137
  export type { BbSelectProps, BbSelectEvents, BbSelectSlots, } from './components/BbSelect/BbSelect.vue';
136
138
  export type { BbSliderProps, BbSliderEvents, } from './components/BbSlider/BbSlider.vue';
137
139
  export type { BbSelectPopoverProps, BbSelectPopoverEvents, BbSelectPopoverSlots, } from './components/BbSelectPopover/BbSelectPopover.vue';
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 "./index226.js";
3
- import { isNil as k } from "./index227.js";
4
- import { indexBy as U } from "./index228.js";
5
- import { hash as p } from "./index229.js";
6
- import { useItemsGetter as W } from "./index230.js";
7
- import { usePrefill as q } from "./index231.js";
8
- import { useIndexById as z } from "./index232.js";
9
- import { useBaseOptions as J } from "./index233.js";
10
- import { useHashedWatcher as K } from "./index234.js";
2
+ import { useItemValue as G } from "./index241.js";
3
+ import { isNil as k } from "./index242.js";
4
+ import { indexBy as U } from "./index243.js";
5
+ import { hash as p } from "./index236.js";
6
+ import { useItemsGetter as W } from "./index232.js";
7
+ import { usePrefill as q } from "./index238.js";
8
+ import { useIndexById as z } from "./index233.js";
9
+ import { useBaseOptions as J } from "./index234.js";
10
+ import { useHashedWatcher as K } from "./index237.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 "./index249.js";
3
- import { get as vt } from "./index261.js";
4
- import { hash as ee } from "./index229.js";
5
- import { isNil as ft } from "./index227.js";
6
- import { matchAnyKey as Be } from "./index253.js";
7
- import { parseWidthString as mt } from "./index250.js";
8
- import { useArray as ht } from "./index254.js";
9
- import { useBaseOptions as bt } from "./index233.js";
10
- import { useCoherence as yt } from "./index255.js";
2
+ import { extractDomContainer as pt } from "./index276.js";
3
+ import { get as vt } from "./index284.js";
4
+ import { hash as ee } from "./index236.js";
5
+ import { isNil as ft } from "./index242.js";
6
+ import { matchAnyKey as Be } from "./index277.js";
7
+ import { parseWidthString as mt } from "./index286.js";
8
+ import { useArray as ht } from "./index278.js";
9
+ import { useBaseOptions as bt } from "./index234.js";
10
+ import { useCoherence as yt } from "./index235.js";
11
11
  import { useElementSize as gt, useIntersectionObserver as wt } from "./index145.js";
12
- import { useHashedWatcher as Ae } from "./index234.js";
12
+ import { useHashedWatcher as Ae } from "./index237.js";
13
13
  import { useId as Bt } from "./index8.js";
14
- import { useIndexById as Ie } from "./index232.js";
15
- import { useItemsGetter as At } from "./index230.js";
14
+ import { useIndexById as Ie } from "./index233.js";
15
+ import { useItemsGetter as At } from "./index232.js";
16
16
  import { useMobile as It } from "./index9.js";
17
- import { usePrefill as Vt } from "./index231.js";
18
- import { useUntil as xt } from "./index246.js";
17
+ import { usePrefill as Vt } from "./index238.js";
18
+ import { useUntil as xt } from "./index271.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 "./index247.js";
24
+ import St from "./index252.js";
25
25
  /* empty css */
26
- import kt from "./index283.js";
27
- import Dt from "./index260.js";
28
- import { waitFor as Lt } from "./index284.js";
26
+ import kt from "./index224.js";
27
+ import Dt from "./index283.js";
28
+ import { waitFor as Lt } from "./index287.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 "./index245.js";
2
+ import { isCssColor as m } from "./index254.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 "./index274.js";
12
- import { isNil as Le } from "./index227.js";
11
+ import { merge as qe } from "./index293.js";
12
+ import { isNil as Le } from "./index242.js";
13
13
  import { useQuery as Fe } from "./index11.js";
14
- import { hash as Ee } from "./index229.js";
14
+ import { hash as Ee } from "./index236.js";
15
15
  import { isNotNil as Ne } from "./index149.js";
16
- import { useLogger as Pe } from "./index244.js";
16
+ import { useLogger as Pe } from "./index251.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
2
  import { clamp as Ve } from "./index223.js";
3
- import { hash as T } from "./index229.js";
4
- import { isNil as w } from "./index227.js";
5
- import { when as $e } from "./index242.js";
3
+ import { hash as T } from "./index236.js";
4
+ import { isNil as w } from "./index242.js";
5
+ import { when as $e } from "./index255.js";
6
6
  import { useId as Be } from "./index8.js";
7
- import { useItemValue as He } from "./index226.js";
8
- import { useItemsGetter as Te } from "./index230.js";
9
- import { usePrefill as Ae } from "./index231.js";
10
- import { useIndexById as le } from "./index232.js";
11
- import { useBaseOptions as Ne } from "./index233.js";
12
- import { useHashedWatcher as Le } from "./index234.js";
13
- import { useLocale as De } from "./index236.js";
7
+ import { useItemValue as He } from "./index241.js";
8
+ import { useItemsGetter as Te } from "./index232.js";
9
+ import { usePrefill as Ae } from "./index238.js";
10
+ import { useIndexById as le } from "./index233.js";
11
+ import { useBaseOptions as Ne } from "./index234.js";
12
+ import { useHashedWatcher as Le } from "./index237.js";
13
+ import { useLocale as De } from "./index239.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 "./index243.js";
19
- import { useLogger as Me } from "./index244.js";
18
+ import { columnKeyToSlotName as Pe, mergeHeaderClasses as Se, applyFixedTableColumns as Re, mergeCellClasses as Oe } from "./index297.js";
19
+ import { useLogger as Me } from "./index251.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 "./index280.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 "./index236.js";
4
- import { useUntil as X } from "./index246.js";
3
+ import { useLocale as Q } from "./index239.js";
4
+ import { useUntil as X } from "./index271.js";
5
5
  import Y from "./index14.js";
6
6
  /* empty css */
7
- import Z from "./index247.js";
7
+ import Z from "./index252.js";
8
8
  /* empty css */
9
9
  import { useElementSize as ee } from "./index145.js";
10
- import { extractDomContainer as V } from "./index249.js";
11
- import { parseWidthString as te } from "./index250.js";
10
+ import { extractDomContainer as V } from "./index276.js";
11
+ import { parseWidthString as te } from "./index286.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 "./index295.js";
2
+ import { flattenTree as T } from "./index261.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 "./index279.js";
2
+ import R from "./index229.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 "./index283.js";
9
- import g from "./index291.js";
8
+ import N from "./index224.js";
9
+ import g from "./index225.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/index148.js CHANGED
@@ -1,5 +1,5 @@
1
- import { isArray as p } from "./index224.js";
2
- import { isPlainObject as i } from "./index225.js";
1
+ import { isArray as p } from "./index227.js";
2
+ import { isPlainObject as i } from "./index228.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 "./index235.js";
2
+ import { isHex as q } from "./index258.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 "./index236.js";
6
- import { vMaska as L } from "./index237.js";
5
+ import { useLocale as N } from "./index239.js";
6
+ import { vMaska as L } from "./index259.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 "./index245.js";
3
- import { booleanishToBoolean as q } from "./index293.js";
4
- import { isEqual as A } from "./index287.js";
2
+ import { isCssColor as y } from "./index254.js";
3
+ import { booleanishToBoolean as q } from "./index272.js";
4
+ import { isEqual as A } from "./index273.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 "./index272.js";
4
+ import U from "./index230.js";
5
5
  /* empty css */
6
- import { useItemsGetter as q } from "./index230.js";
7
- import { useIndexById as C } from "./index232.js";
8
- import { useBaseOptions as J } from "./index233.js";
9
- import { useCoherence as Q } from "./index255.js";
10
- import { hash as X } from "./index229.js";
11
- import { useHashedWatcher as $ } from "./index234.js";
12
- import { usePrefill as Y } from "./index231.js";
6
+ import { useItemsGetter as q } from "./index232.js";
7
+ import { useIndexById as C } from "./index233.js";
8
+ import { useBaseOptions as J } from "./index234.js";
9
+ import { useCoherence as Q } from "./index235.js";
10
+ import { hash as X } from "./index236.js";
11
+ import { useHashedWatcher as $ } from "./index237.js";
12
+ import { usePrefill as Y } from "./index238.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 "./index262.js";
9
- import ee from "./index263.js";
10
- import ae from "./index264.js";
11
- import te from "./index265.js";
12
- import { hash as B } from "./index229.js";
13
- import { last as le } from "./index252.js";
14
- import { validateDateFormat as L } from "./index266.js";
15
- import { useLogger as oe } from "./index244.js";
16
- import re from "./index267.js";
17
- import se from "./index268.js";
18
- import de from "./index269.js";
19
- import S from "./index270.js";
20
- import ie from "./index271.js";
21
- import { useLocale as ne } from "./index236.js";
8
+ import d from "./index244.js";
9
+ import ee from "./index247.js";
10
+ import ae from "./index248.js";
11
+ import te from "./index262.js";
12
+ import { hash as B } from "./index236.js";
13
+ import { last as le } from "./index263.js";
14
+ import { validateDateFormat as L } from "./index264.js";
15
+ import { useLogger as oe } from "./index251.js";
16
+ import re from "./index265.js";
17
+ import se from "./index266.js";
18
+ import de from "./index267.js";
19
+ import S from "./index268.js";
20
+ import ie from "./index269.js";
21
+ import { useLocale as ne } from "./index239.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/index224.js CHANGED
@@ -1,7 +1,35 @@
1
- import { getType as t } from "./index329.js";
2
- function o(r) {
3
- return t(r) === "Array";
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
+ ]));
4
31
  }
32
+ const a = /* @__PURE__ */ n(l, [["render", i]]);
5
33
  export {
6
- o as isArray
34
+ a as default
7
35
  };
package/dist/index225.js CHANGED
@@ -1,10 +1,30 @@
1
- import { getType as o } from "./index329.js";
2
- function c(e) {
3
- if (o(e) !== "Object")
4
- return !1;
5
- const t = Object.getPrototypeOf(e);
6
- return !!t && t.constructor === Object && t === Object.prototype;
7
- }
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 "./index239.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
+ }
27
+ });
8
28
  export {
9
- c as isPlainObject
29
+ b as default
10
30
  };
package/dist/index227.js CHANGED
@@ -1,4 +1,7 @@
1
- const r = (e) => typeof e > "u" || e === null;
1
+ import { getType as t } from "./index338.js";
2
+ function o(r) {
3
+ return t(r) === "Array";
4
+ }
2
5
  export {
3
- r as isNil
6
+ o as isArray
4
7
  };
package/dist/index228.js CHANGED
@@ -1,23 +1,10 @@
1
- function i(e, o) {
2
- const l = {}, u = e.length;
3
- for (let n = 0; n < u; n++) {
4
- const s = e[n];
5
- let f;
6
- if (typeof o == "function")
7
- f = o(s, n, e);
8
- else {
9
- const t = s[o];
10
- if (typeof t == "string" || typeof t == "number" || typeof t == "symbol")
11
- f = t;
12
- else
13
- throw new Error(
14
- `Property "${String(o)}" must be of type string, number, or symbol`
15
- );
16
- }
17
- l[f] = s;
18
- }
19
- return l;
1
+ import { getType as o } from "./index338.js";
2
+ function c(e) {
3
+ if (o(e) !== "Object")
4
+ return !1;
5
+ const t = Object.getPrototypeOf(e);
6
+ return !!t && t.constructor === Object && t === Object.prototype;
20
7
  }
21
8
  export {
22
- i as indexBy
9
+ c as isPlainObject
23
10
  };
package/dist/index229.js CHANGED
@@ -1,5 +1,36 @@
1
- import { hash as o } from "./index306.js";
2
- const t = (r, h = "bb") => `${h}${o(r)}`;
1
+ import { defineComponent as a, resolveComponent as o, createBlock as u, openBlock as l, resolveDynamicComponent as m, unref as c, withCtx as p, renderSlot as f } from "vue";
2
+ import { _config as e } from "./index4.js";
3
+ import { useLogger as i } from "./index251.js";
4
+ import { useFrameworkDetection as k } from "./index146.js";
5
+ const y = /* @__PURE__ */ a({
6
+ __name: "RouterComponent",
7
+ setup(g) {
8
+ const { isInertia: r, isNuxt: s } = k();
9
+ let t;
10
+ if (r) {
11
+ if (t = o(e.inertiaLinkName), typeof t == "string") {
12
+ const { warn: n } = i();
13
+ n(
14
+ `Inertia link component "${e.inertiaLinkName}" could not be resolved. Ensure you app registers a link component with the name "${e.inertiaLinkName}" or set bitboss-ui config key "inertiaLinkName" to the correct value globally. Please visit ${e.documentationURL}/getting-started to resolve setup issues in bitboss-ui.`
15
+ );
16
+ }
17
+ } else if (s) {
18
+ if (t = o(e.nuxtLinkName), typeof t == "string") {
19
+ const { warn: n } = i();
20
+ n(
21
+ `Nuxt link component "${e.nuxtLinkName}" could not be resolved. Ensure you app registers a link component with the name "${e.nuxtLinkName}" or set bitboss-ui config key "nuxtLinkName" to the correct value globally. Please visit ${e.documentationURL}/getting-started to resolve setup issues in bitboss-ui.`
22
+ );
23
+ }
24
+ } else
25
+ t = "router-link";
26
+ return (n, d) => (l(), u(m(c(t)), null, {
27
+ default: p(() => [
28
+ f(n.$slots, "default")
29
+ ]),
30
+ _: 3
31
+ }));
32
+ }
33
+ });
3
34
  export {
4
- t as hash
35
+ y as default
5
36
  };