bitboss-ui 0.1.80 → 0.1.82

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 (224) hide show
  1. package/dist/components/BaseButton/BaseButton.vue.d.ts +5 -2
  2. package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +3 -0
  3. package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +10 -2
  4. package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +3 -0
  5. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +3 -0
  6. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +3 -0
  7. package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +3 -0
  8. package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +4 -1
  9. package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +4 -1
  10. package/dist/components/BaseRating/BaseRating.vue.d.ts +4 -1
  11. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +16 -2
  12. package/dist/components/BaseSlider/BaseSlider.vue.d.ts +3 -0
  13. package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +3 -0
  14. package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +3 -0
  15. package/dist/components/BaseTag/BaseTag.vue.d.ts +4 -1
  16. package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +4 -1
  17. package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +2 -2
  18. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +5 -2
  19. package/dist/components/BbAlert/BbAlert.vue.d.ts +3 -0
  20. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +7 -58
  21. package/dist/components/BbBadge/BbBadge.vue.d.ts +4 -1
  22. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +3 -0
  23. package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +3 -0
  24. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +3 -0
  25. package/dist/components/BbChip/BbChip.vue.d.ts +7 -1
  26. package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +4 -1
  27. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +3 -0
  28. package/dist/components/BbDialog/BbDialog.vue.d.ts +3 -0
  29. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +15 -3
  30. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +4 -1
  31. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +6 -7
  32. package/dist/components/BbIcon/BbIcon.vue.d.ts +3 -0
  33. package/dist/components/BbIntersection/BbIntersection.vue.d.ts +4 -1
  34. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +3 -0
  35. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +3 -0
  36. package/dist/components/BbPagination/BbPagination.vue.d.ts +4 -1
  37. package/dist/components/BbPopover/BbPopover.vue.d.ts +14 -7
  38. package/dist/components/BbProgress/BbProgress.vue.d.ts +3 -0
  39. package/dist/components/BbRadio/BbRadio.vue.d.ts +3 -0
  40. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +1 -6
  41. package/dist/components/BbRating/BbRating.vue.d.ts +3 -0
  42. package/dist/components/BbRatio/BbRatio.vue.d.ts +4 -1
  43. package/dist/components/BbSelect/BbSelect.vue.d.ts +14 -3
  44. package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +5 -2
  45. package/dist/components/BbSpinner/BbSpinner.vue.d.ts +3 -0
  46. package/dist/components/BbSwitch/BbSwitch.vue.d.ts +3 -0
  47. package/dist/components/BbTab/BbTab.vue.d.ts +4 -1
  48. package/dist/components/BbTable/BbTable.vue.d.ts +258 -295
  49. package/dist/components/BbTable/types.d.ts +214 -0
  50. package/dist/components/BbTag/BbTag.vue.d.ts +3 -0
  51. package/dist/components/BbToast/BbToast.vue.d.ts +3 -0
  52. package/dist/components/BbToast/BbToastMessage.vue.d.ts +3 -0
  53. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +8 -7
  54. package/dist/components/BbTree/BbTree.vue.d.ts +9 -1
  55. package/dist/composables/useItemText.d.ts +6 -1
  56. package/dist/index.d.ts +1 -1
  57. package/dist/index10.js +2 -2
  58. package/dist/index10.js.map +1 -1
  59. package/dist/index100.js +2 -2
  60. package/dist/index102.js +4 -3
  61. package/dist/index102.js.map +1 -1
  62. package/dist/index106.js +1 -1
  63. package/dist/index108.js +85 -57
  64. package/dist/index108.js.map +1 -1
  65. package/dist/index110.js +77 -55
  66. package/dist/index110.js.map +1 -1
  67. package/dist/index112.js +5 -5
  68. package/dist/index112.js.map +1 -1
  69. package/dist/index113.js +1 -1
  70. package/dist/index113.js.map +1 -1
  71. package/dist/index114.js +1 -1
  72. package/dist/index115.js +1 -1
  73. package/dist/index115.js.map +1 -1
  74. package/dist/index116.js +1 -1
  75. package/dist/index118.js +1 -1
  76. package/dist/index12.js +8 -8
  77. package/dist/index120.js +1 -1
  78. package/dist/index121.js +11 -11
  79. package/dist/index121.js.map +1 -1
  80. package/dist/index14.js +9 -9
  81. package/dist/index16.js +3 -3
  82. package/dist/index18.js +2 -2
  83. package/dist/index189.js +2 -2
  84. package/dist/index189.js.map +1 -1
  85. package/dist/index190.js +2 -4
  86. package/dist/index190.js.map +1 -1
  87. package/dist/index191.js +2 -2
  88. package/dist/index191.js.map +1 -1
  89. package/dist/index192.js +3 -2
  90. package/dist/index192.js.map +1 -1
  91. package/dist/index193.js +3 -2
  92. package/dist/index193.js.map +1 -1
  93. package/dist/index194.js +4 -3
  94. package/dist/index194.js.map +1 -1
  95. package/dist/index195.js +3 -35
  96. package/dist/index195.js.map +1 -1
  97. package/dist/index196.js +35 -6
  98. package/dist/index196.js.map +1 -1
  99. package/dist/index197.js +6 -350
  100. package/dist/index197.js.map +1 -1
  101. package/dist/index198.js +5 -134
  102. package/dist/index198.js.map +1 -1
  103. package/dist/index199.js +16 -5
  104. package/dist/index199.js.map +1 -1
  105. package/dist/index20.js +1 -1
  106. package/dist/index20.js.map +1 -1
  107. package/dist/index200.js +15 -18
  108. package/dist/index200.js.map +1 -1
  109. package/dist/index201.js +19 -2
  110. package/dist/index201.js.map +1 -1
  111. package/dist/index202.js +18 -184
  112. package/dist/index202.js.map +1 -1
  113. package/dist/index203.js +29 -23
  114. package/dist/index203.js.map +1 -1
  115. package/dist/index204.js +8 -331
  116. package/dist/index204.js.map +1 -1
  117. package/dist/index205.js +2 -2
  118. package/dist/index205.js.map +1 -1
  119. package/dist/index206.js +351 -2
  120. package/dist/index206.js.map +1 -1
  121. package/dist/index207.js +131 -13
  122. package/dist/index207.js.map +1 -1
  123. package/dist/index208.js +2 -16
  124. package/dist/index208.js.map +1 -1
  125. package/dist/index209.js +184 -18
  126. package/dist/index209.js.map +1 -1
  127. package/dist/index210.js +23 -29
  128. package/dist/index210.js.map +1 -1
  129. package/dist/index211.js +369 -8
  130. package/dist/index211.js.map +1 -1
  131. package/dist/index212.js +2 -3
  132. package/dist/index212.js.map +1 -1
  133. package/dist/index213.js +2 -3
  134. package/dist/index213.js.map +1 -1
  135. package/dist/index216.js +73 -53
  136. package/dist/index216.js.map +1 -1
  137. package/dist/index217.js +3 -3
  138. package/dist/index22.js +2 -2
  139. package/dist/index221.js +223 -10
  140. package/dist/index221.js.map +1 -1
  141. package/dist/index222.js +252 -429
  142. package/dist/index222.js.map +1 -1
  143. package/dist/index223.js +10 -8
  144. package/dist/index223.js.map +1 -1
  145. package/dist/index224.js +428 -82
  146. package/dist/index224.js.map +1 -1
  147. package/dist/index225.js +9 -8
  148. package/dist/index225.js.map +1 -1
  149. package/dist/index226.js +88 -5
  150. package/dist/index226.js.map +1 -1
  151. package/dist/index235.js +2 -69
  152. package/dist/index235.js.map +1 -1
  153. package/dist/index236.js +2 -162
  154. package/dist/index236.js.map +1 -1
  155. package/dist/index237.js +2 -2
  156. package/dist/index238.js +2 -2
  157. package/dist/index238.js.map +1 -1
  158. package/dist/index239.js +9 -2
  159. package/dist/index239.js.map +1 -1
  160. package/dist/index24.js +1 -1
  161. package/dist/index24.js.map +1 -1
  162. package/dist/index240.js +6 -2
  163. package/dist/index240.js.map +1 -1
  164. package/dist/index241.js +162 -2
  165. package/dist/index241.js.map +1 -1
  166. package/dist/index242.js +2 -2
  167. package/dist/index243.js +2 -224
  168. package/dist/index243.js.map +1 -1
  169. package/dist/index244.js +68 -257
  170. package/dist/index244.js.map +1 -1
  171. package/dist/index245.js +2 -38
  172. package/dist/index245.js.map +1 -1
  173. package/dist/index246.js +38 -2
  174. package/dist/index246.js.map +1 -1
  175. package/dist/index247.js +2 -2
  176. package/dist/index247.js.map +1 -1
  177. package/dist/index248.js +2 -2
  178. package/dist/index248.js.map +1 -1
  179. package/dist/index249.js +2 -2
  180. package/dist/index250.js +2 -2
  181. package/dist/index251.js +2 -2
  182. package/dist/index251.js.map +1 -1
  183. package/dist/index252.js +5 -0
  184. package/dist/index252.js.map +1 -0
  185. package/dist/index26.js +3 -3
  186. package/dist/index26.js.map +1 -1
  187. package/dist/index28.js +172 -155
  188. package/dist/index28.js.map +1 -1
  189. package/dist/index30.js +2 -2
  190. package/dist/index32.js +2 -2
  191. package/dist/index34.js +2 -2
  192. package/dist/index34.js.map +1 -1
  193. package/dist/index36.js +21 -19
  194. package/dist/index36.js.map +1 -1
  195. package/dist/index38.js.map +1 -1
  196. package/dist/index44.js +1 -1
  197. package/dist/index44.js.map +1 -1
  198. package/dist/index46.js +1 -1
  199. package/dist/index46.js.map +1 -1
  200. package/dist/index6.js.map +1 -1
  201. package/dist/index62.js +168 -137
  202. package/dist/index62.js.map +1 -1
  203. package/dist/index64.js +38 -30
  204. package/dist/index64.js.map +1 -1
  205. package/dist/index66.js.map +1 -1
  206. package/dist/index69.js +1 -1
  207. package/dist/index72.js +1 -1
  208. package/dist/index74.js.map +1 -1
  209. package/dist/index76.js +96 -66
  210. package/dist/index76.js.map +1 -1
  211. package/dist/index78.js +1 -1
  212. package/dist/index8.js +2 -2
  213. package/dist/index82.js +2 -2
  214. package/dist/index82.js.map +1 -1
  215. package/dist/index84.js.map +1 -1
  216. package/dist/index88.js +7 -4
  217. package/dist/index88.js.map +1 -1
  218. package/dist/index96.js +2 -2
  219. package/dist/index96.js.map +1 -1
  220. package/dist/index98.js +35 -30
  221. package/dist/index98.js.map +1 -1
  222. package/dist/style.css +1 -1
  223. package/dist/types/CommonProps.d.ts +15 -8
  224. package/package.json +1 -1
@@ -3,7 +3,7 @@ import type { InertiaLinkProps } from "@inertiajs/vue3";
3
3
  import type { RouterLinkProps } from "vue-router";
4
4
  export type BaseButtonProps = Pick<CommonProps, "block" | "disabled" | "text"> & NonVoidElementTag & Partial<Pick<RouterLinkProps, "activeClass" | "ariaCurrentValue" | "exactActiveClass" | "replace" | "to">> & Partial<Pick<InertiaLinkProps, "data" | "headers" | "method" | "onBefore" | "onCancel" | "onCancelToken" | "onFinish" | "only" | "onProgress" | "onStart" | "onSuccess" | "preserveScroll" | "preserveState" | "queryStringArrayFormat">> & Partial<{
5
5
  /**
6
- * Gets the classification and default behavior of the button
6
+ * Gets the classification and default behavior of the button.
7
7
  */
8
8
  type: HTMLButtonElement["type"];
9
9
  /**
@@ -25,7 +25,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
25
25
  type: string;
26
26
  }>>>, {
27
27
  type: "button" | "submit" | "reset";
28
- tag: "" | "object" | "a" | "abbr" | "address" | "article" | "aside" | "audio" | "b" | "bdi" | "bdo" | "blockquote" | "body" | "button" | "canvas" | "caption" | "cite" | "code" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "html" | "i" | "iframe" | "ins" | "kbd" | "label" | "legend" | "li" | "main" | "map" | "mark" | "menu" | "meter" | "nav" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "search" | "section" | "select" | "slot" | "small" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "u" | "ul" | "var" | "video";
28
+ tag: "object" | "a" | "abbr" | "address" | "article" | "aside" | "audio" | "b" | "bdi" | "bdo" | "blockquote" | "body" | "button" | "canvas" | "caption" | "cite" | "code" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "html" | "i" | "iframe" | "ins" | "kbd" | "label" | "legend" | "li" | "main" | "map" | "mark" | "menu" | "meter" | "nav" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "search" | "section" | "select" | "slot" | "small" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "u" | "ul" | "var" | "video";
29
29
  }, {}>, Readonly<{
30
30
  default?: ((props: {}) => any) | undefined;
31
31
  }>>;
@@ -44,6 +44,9 @@ type __VLS_WithDefaults<P, D> = {
44
44
  default: D[K];
45
45
  }> : P[K];
46
46
  };
47
+ type __VLS_Prettify<T> = {
48
+ [K in keyof T]: T[K];
49
+ } & {};
47
50
  type __VLS_WithTemplateSlots<T, S> = T & {
48
51
  new (): {
49
52
  $slots: S;
@@ -85,6 +85,9 @@ type __VLS_WithDefaults<P, D> = {
85
85
  default: D[K];
86
86
  }> : P[K];
87
87
  };
88
+ type __VLS_Prettify<T> = {
89
+ [K in keyof T]: T[K];
90
+ } & {};
88
91
  type __VLS_WithTemplateSlots<T, S> = T & {
89
92
  new (): {
90
93
  $slots: S;
@@ -1,6 +1,11 @@
1
1
  import { BaseCheckboxProps } from "../BaseCheckbox/BaseCheckbox.vue";
2
- import type { CommonProps, Direction, OptionItems, GenericModelValueArray } from '../../types/CommonProps';
3
- export type BaseCheckboxGroupProps = Pick<BaseCheckboxProps, "autofocus" | "color" | "disabled" | "id" | "name" | "readonly"> & Pick<CommonProps, "dependencies" | "depsDebounceTime" | "enforceCoherence" | "hasErrors" | "hideLabel" | "itemText" | "itemValue" | "loadingText" | "matchStrategy" | "modelValueDebounceTime" | "noDataText"> & Partial<Direction<"horizontal" | "vertical">> & Required<GenericModelValueArray> & OptionItems;
2
+ import type { CommonProps, OptionItems, GenericModelValueArray } from '../../types/CommonProps';
3
+ export type BaseCheckboxGroupProps = Pick<BaseCheckboxProps, "autofocus" | "color" | "disabled" | "id" | "name" | "readonly"> & Pick<CommonProps, "dependencies" | "depsDebounceTime" | "enforceCoherence" | "hasErrors" | "hideLabel" | "itemText" | "itemValue" | "loadingText" | "matchStrategy" | "modelValueDebounceTime" | "noDataText"> & Required<GenericModelValueArray> & OptionItems & {
4
+ /**
5
+ * Direction of the layout of the inputs inside the fieldset. It can be either `horizontal` or `vertical`
6
+ */
7
+ direction?: "horizontal" | "vertical";
8
+ };
4
9
  export type BaseCheckboxGroupEvents = {
5
10
  (e: "blur", event: FocusEvent): void;
6
11
  (e: "change", event: Event): void;
@@ -106,6 +111,9 @@ type __VLS_WithDefaults<P, D> = {
106
111
  default: D[K];
107
112
  }> : P[K];
108
113
  };
114
+ type __VLS_Prettify<T> = {
115
+ [K in keyof T]: T[K];
116
+ } & {};
109
117
  type __VLS_WithTemplateSlots<T, S> = T & {
110
118
  new (): {
111
119
  $slots: S;
@@ -120,6 +120,9 @@ type __VLS_WithDefaults<P, D> = {
120
120
  default: D[K];
121
121
  }> : P[K];
122
122
  };
123
+ type __VLS_Prettify<T> = {
124
+ [K in keyof T]: T[K];
125
+ } & {};
123
126
  type __VLS_WithTemplateSlots<T, S> = T & {
124
127
  new (): {
125
128
  $slots: S;
@@ -68,6 +68,9 @@ type __VLS_WithDefaults<P, D> = {
68
68
  default: D[K];
69
69
  }> : P[K];
70
70
  };
71
+ type __VLS_Prettify<T> = {
72
+ [K in keyof T]: T[K];
73
+ } & {};
71
74
  type __VLS_WithTemplateSlots<T, S> = T & {
72
75
  new (): {
73
76
  $slots: S;
@@ -98,6 +98,9 @@ type __VLS_WithDefaults<P, D> = {
98
98
  default: D[K];
99
99
  }> : P[K];
100
100
  };
101
+ type __VLS_Prettify<T> = {
102
+ [K in keyof T]: T[K];
103
+ } & {};
101
104
  type __VLS_WithTemplateSlots<T, S> = T & {
102
105
  new (): {
103
106
  $slots: S;
@@ -61,6 +61,9 @@ type __VLS_WithDefaults<P, D> = {
61
61
  default: D[K];
62
62
  }> : P[K];
63
63
  };
64
+ type __VLS_Prettify<T> = {
65
+ [K in keyof T]: T[K];
66
+ } & {};
64
67
  type __VLS_WithTemplateSlots<T, S> = T & {
65
68
  new (): {
66
69
  $slots: S;
@@ -11,7 +11,7 @@ export type BaseNumberInputProps = Pick<CommonProps, "autocomplete" | "autofocus
11
11
  /**
12
12
  * Used by v-model
13
13
  */
14
- modelValue?: number | string | null;
14
+ modelValue: number | string | null;
15
15
  /**
16
16
  * Incremental unit used in the exposed `increase`
17
17
  * and `decrease` function. It's NOT APPLIED to manual input as a step of 5
@@ -87,6 +87,9 @@ type __VLS_WithDefaults<P, D> = {
87
87
  default: D[K];
88
88
  }> : P[K];
89
89
  };
90
+ type __VLS_Prettify<T> = {
91
+ [K in keyof T]: T[K];
92
+ } & {};
90
93
  type __VLS_WithTemplateSlots<T, S> = T & {
91
94
  new (): {
92
95
  $slots: S;
@@ -1,7 +1,7 @@
1
1
  import type { BaseRadioEvents } from "../BaseRadio/BaseRadio.vue";
2
2
  import type { BaseRadioProps } from "../BaseRadio/BaseRadio.vue";
3
3
  import type { CommonProps, GenericModelValue, OptionItems } from '../../types/CommonProps';
4
- export type BaseRadioGroupProps = Pick<BaseRadioProps, "autofocus" | "color" | "disabled" | "hasErrors" | "id" | "name" | "readonly"> & Pick<CommonProps, "dependencies" | "depsDebounceTime" | "enforceCoherence" | "hideLabel" | "itemText" | "itemValue" | "loadingText" | "modelValueDebounceTime" | "noDataText" | "matchStrategy"> & OptionItems & GenericModelValue & {
4
+ export type BaseRadioGroupProps = Pick<BaseRadioProps, "autofocus" | "color" | "disabled" | "hasErrors" | "id" | "name" | "readonly"> & Pick<CommonProps, "dependencies" | "depsDebounceTime" | "enforceCoherence" | "hideLabel" | "itemText" | "itemValue" | "loadingText" | "matchStrategy" | "modelValueDebounceTime" | "noDataText"> & OptionItems & Required<GenericModelValue> & {
5
5
  /**
6
6
  * Direction of the layout of the inputs inside the fieldset. It can be either `horizontal` or `vertical`
7
7
  */
@@ -101,6 +101,9 @@ type __VLS_WithDefaults<P, D> = {
101
101
  default: D[K];
102
102
  }> : P[K];
103
103
  };
104
+ type __VLS_Prettify<T> = {
105
+ [K in keyof T]: T[K];
106
+ } & {};
104
107
  type __VLS_WithTemplateSlots<T, S> = T & {
105
108
  new (): {
106
109
  $slots: S;
@@ -4,7 +4,7 @@ export type BaseRatingProps = Pick<CommonProps, "autofocus" | "color" | "disable
4
4
  /**
5
5
  * Used by v-model
6
6
  */
7
- modelValue?: null | number;
7
+ modelValue: null | number;
8
8
  /**
9
9
  * Maximum number of stars to render and maximum value of the component
10
10
  */
@@ -80,6 +80,9 @@ type __VLS_WithDefaults<P, D> = {
80
80
  default: D[K];
81
81
  }> : P[K];
82
82
  };
83
+ type __VLS_Prettify<T> = {
84
+ [K in keyof T]: T[K];
85
+ } & {};
83
86
  type __VLS_WithTemplateSlots<T, S> = T & {
84
87
  new (): {
85
88
  $slots: S;
@@ -1,5 +1,5 @@
1
1
  import type { CommonProps, OptionItemsWithQuery, GenericModelValue } from '../../types/CommonProps';
2
- export type BaseSelectProps = Pick<CommonProps, "allowWriting" | "autofocus" | "dependencies" | "depsDebounceTime" | "disabled" | "enforceCoherence" | "hasErrors" | "id" | "itemText" | "itemValue" | "loadingText" | "id" | "itemText" | "itemValue" | "loadingText" | "modelValueDebounceTime" | "multiple" | "name" | "noDataText" | "placeholder" | "readonly" | "transitionDuration"> & OptionItemsWithQuery & GenericModelValue & {
2
+ export type BaseSelectProps = Pick<CommonProps, "allowWriting" | "autofocus" | "dependencies" | "depsDebounceTime" | "disabled" | "enforceCoherence" | "hasErrors" | "id" | "itemText" | "itemValue" | "loadingText" | "matchStrategy" | "modelValueDebounceTime" | "multiple" | "name" | "noDataText" | "placeholder" | "readonly" | "transitionDuration"> & OptionItemsWithQuery & Required<GenericModelValue> & {
3
3
  /**
4
4
  * Allows the user to add options to the list by
5
5
  * inserting text in the input and pressing ENTER.
@@ -52,7 +52,7 @@ export type BaseSelectProps = Pick<CommonProps, "allowWriting" | "autofocus" | "
52
52
  * Pass `true` if the dropdown is not updating following movement in the UI, like in modals. Very expensive so use with care.
53
53
  */
54
54
  updateOnAnimationFrame?: boolean;
55
- } & Pick<CommonProps, "matchStrategy">;
55
+ };
56
56
  type BaseOption = {
57
57
  id: string;
58
58
  jsonValue: string;
@@ -91,6 +91,17 @@ export type BaseSelectSlots = {
91
91
  "option:prepend"?: (props: {
92
92
  item: any;
93
93
  }) => any;
94
+ chip?: (props: {
95
+ disabled: FilteredOption["disabled"];
96
+ hasErrors?: boolean;
97
+ index: FilteredOption["index"];
98
+ item: FilteredOption["original"];
99
+ loading: boolean;
100
+ manual: FilteredOption["manual"];
101
+ selected: FilteredOption["selected"];
102
+ text: FilteredOption["text"];
103
+ value: FilteredOption["value"];
104
+ }) => any;
94
105
  option?: (props: {
95
106
  disabled: FilteredOption["disabled"];
96
107
  focused: FilteredOption["focused"];
@@ -185,6 +196,9 @@ type __VLS_WithDefaults<P, D> = {
185
196
  default: D[K];
186
197
  }> : P[K];
187
198
  };
199
+ type __VLS_Prettify<T> = {
200
+ [K in keyof T]: T[K];
201
+ } & {};
188
202
  type __VLS_WithTemplateSlots<T, S> = T & {
189
203
  new (): {
190
204
  $slots: S;
@@ -86,6 +86,9 @@ type __VLS_WithDefaults<P, D> = {
86
86
  default: D[K];
87
87
  }> : P[K];
88
88
  };
89
+ type __VLS_Prettify<T> = {
90
+ [K in keyof T]: T[K];
91
+ } & {};
89
92
  type __VLS_WithTemplateSlots<T, S> = T & {
90
93
  new (): {
91
94
  $slots: S;
@@ -49,6 +49,9 @@ type __VLS_WithDefaults<P, D> = {
49
49
  default: D[K];
50
50
  }> : P[K];
51
51
  };
52
+ type __VLS_Prettify<T> = {
53
+ [K in keyof T]: T[K];
54
+ } & {};
52
55
  type __VLS_WithTemplateSlots<T, S> = T & {
53
56
  new (): {
54
57
  $slots: S;
@@ -86,6 +86,9 @@ type __VLS_WithDefaults<P, D> = {
86
86
  default: D[K];
87
87
  }> : P[K];
88
88
  };
89
+ type __VLS_Prettify<T> = {
90
+ [K in keyof T]: T[K];
91
+ } & {};
89
92
  type __VLS_WithTemplateSlots<T, S> = T & {
90
93
  new (): {
91
94
  $slots: S;
@@ -1,5 +1,5 @@
1
1
  import type { CommonProps, GenericModelValue } from '../../types/CommonProps';
2
- export type BaseTagProps = Pick<CommonProps, "autocomplete" | "autofocus" | "disabled" | "hasErrors" | "id" | "multiple" | "name" | "placeholder" | "readonly"> & GenericModelValue & {
2
+ export type BaseTagProps = Pick<CommonProps, "autocomplete" | "autofocus" | "disabled" | "hasErrors" | "id" | "multiple" | "name" | "placeholder" | "readonly"> & Required<GenericModelValue> & {
3
3
  /**
4
4
  * Sets the display model for selected values to a list
5
5
  * of comma separated string. In this mode the user
@@ -76,6 +76,9 @@ type __VLS_WithDefaults<P, D> = {
76
76
  default: D[K];
77
77
  }> : P[K];
78
78
  };
79
+ type __VLS_Prettify<T> = {
80
+ [K in keyof T]: T[K];
81
+ } & {};
79
82
  type __VLS_WithTemplateSlots<T, S> = T & {
80
83
  new (): {
81
84
  $slots: S;
@@ -3,7 +3,7 @@ export type BaseTextInputProps = Pick<CommonProps, 'autocomplete' | 'autofocus'
3
3
  /**
4
4
  * Used my v-model
5
5
  */
6
- modelValue?: string | null;
6
+ modelValue: string | null;
7
7
  /**
8
8
  * Type of the input. Returns the content type of the object.
9
9
  */
@@ -68,6 +68,9 @@ type __VLS_WithDefaults<P, D> = {
68
68
  default: D[K];
69
69
  }> : P[K];
70
70
  };
71
+ type __VLS_Prettify<T> = {
72
+ [K in keyof T]: T[K];
73
+ } & {};
71
74
  type __VLS_WithTemplateSlots<T, S> = T & {
72
75
  new (): {
73
76
  $slots: S;
@@ -1,5 +1,5 @@
1
1
  import type { CommonProps } from '../../types/CommonProps';
2
- export type BaseTextareaProps = Pick<CommonProps, "autofocus" | "disabled" | "hasErrors" | "id" | "name" | "placeholder" | "readonly"> & {
2
+ export type BaseTextareaProps = Pick<CommonProps, "autocomplete" | "autofocus" | "disabled" | "hasErrors" | "id" | "name" | "placeholder" | "readonly"> & {
3
3
  /**
4
4
  * Expands the textarea to match its content
5
5
  */
@@ -7,7 +7,7 @@ export type BaseTextareaProps = Pick<CommonProps, "autofocus" | "disabled" | "ha
7
7
  /**
8
8
  * Used by v-model
9
9
  */
10
- modelValue?: string | null;
10
+ modelValue: string | null;
11
11
  };
12
12
  export type BaseTextareaEvents = {
13
13
  (e: "blur", event: FocusEvent): void;
@@ -16,11 +16,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
16
16
  transitionDuration: number;
17
17
  }, {}>, Readonly<{
18
18
  header?: ((props: {
19
- value: boolean | undefined;
19
+ value: boolean;
20
20
  toggle: () => void;
21
21
  }) => any) | undefined;
22
22
  default?: ((props: {
23
- value: boolean | undefined;
23
+ value: boolean;
24
24
  toggle: () => void;
25
25
  }) => any) | undefined;
26
26
  }>>;
@@ -39,6 +39,9 @@ type __VLS_WithDefaults<P, D> = {
39
39
  default: D[K];
40
40
  }> : P[K];
41
41
  };
42
+ type __VLS_Prettify<T> = {
43
+ [K in keyof T]: T[K];
44
+ } & {};
42
45
  type __VLS_WithTemplateSlots<T, S> = T & {
43
46
  new (): {
44
47
  $slots: S;
@@ -53,6 +53,9 @@ type __VLS_WithDefaults<P, D> = {
53
53
  default: D[K];
54
54
  }> : P[K];
55
55
  };
56
+ type __VLS_Prettify<T> = {
57
+ [K in keyof T]: T[K];
58
+ } & {};
56
59
  type __VLS_WithTemplateSlots<T, S> = T & {
57
60
  new (): {
58
61
  $slots: S;
@@ -1,19 +1,15 @@
1
1
  import type { CommonProps } from '../../types/CommonProps';
2
- import type { Size } from "../BbIcon/BbIcon.vue";
3
- export type BbAvatarProps = Pick<CommonProps, "color"> & {
4
- /**
5
- * Size of the avatar as a predefined string or as a number in pixels
6
- */
7
- size?: Size;
2
+ import type { BbIconProps } from "../BbIcon/BbIcon.vue";
3
+ export type BbAvatarProps = Pick<CommonProps, "color"> & Pick<BbIconProps, "size"> & {
8
4
  /**
9
5
  * Attribute `sizes` for the `img` tag
10
6
  */
11
7
  sizes?: HTMLImageElement["sizes"];
12
- } & ({
13
8
  /**
14
9
  * Attribute `alt` for the `img` tag
15
10
  */
16
11
  alt: HTMLImageElement["alt"];
12
+ } & ({
17
13
  /**
18
14
  * Attribute `src` for the `img` tag
19
15
  */
@@ -23,23 +19,6 @@ export type BbAvatarProps = Pick<CommonProps, "color"> & {
23
19
  */
24
20
  srcset?: HTMLImageElement["srcset"];
25
21
  } | {
26
- /**
27
- * Attribute `alt` for the `img` tag
28
- */
29
- alt: HTMLImageElement["alt"];
30
- /**
31
- * Attribute `src` for the `img` tag
32
- */
33
- src?: HTMLImageElement["src"];
34
- /**
35
- * Attribute `srcset` for the `img` tag
36
- */
37
- srcset: HTMLImageElement["srcset"];
38
- } | {
39
- /**
40
- * Attribute `alt` for the `img` tag
41
- */
42
- alt?: HTMLImageElement["alt"];
43
22
  /**
44
23
  * Attribute `src` for the `img` tag
45
24
  */
@@ -49,20 +28,16 @@ export type BbAvatarProps = Pick<CommonProps, "color"> & {
49
28
  */
50
29
  srcset: HTMLImageElement["srcset"];
51
30
  });
52
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<BbAvatarProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Pick<CommonProps, "color"> & {
53
- /**
54
- * Size of the avatar as a predefined string or as a number in pixels
55
- */
56
- size?: Size | undefined;
31
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<BbAvatarProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Pick<CommonProps, "color"> & Pick<BbIconProps, "size"> & {
57
32
  /**
58
33
  * Attribute `sizes` for the `img` tag
59
34
  */
60
35
  sizes?: string | undefined;
61
- } & {
62
36
  /**
63
37
  * Attribute `alt` for the `img` tag
64
38
  */
65
39
  alt: string;
40
+ } & {
66
41
  /**
67
42
  * Attribute `src` for the `img` tag
68
43
  */
@@ -71,42 +46,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
71
46
  * Attribute `srcset` for the `img` tag
72
47
  */
73
48
  srcset?: string | undefined;
74
- }>>> | Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Pick<CommonProps, "color"> & {
75
- /**
76
- * Size of the avatar as a predefined string or as a number in pixels
77
- */
78
- size?: Size | undefined;
49
+ }>>> | Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Pick<CommonProps, "color"> & Pick<BbIconProps, "size"> & {
79
50
  /**
80
51
  * Attribute `sizes` for the `img` tag
81
52
  */
82
53
  sizes?: string | undefined;
83
- } & {
84
54
  /**
85
55
  * Attribute `alt` for the `img` tag
86
56
  */
87
57
  alt: string;
88
- /**
89
- * Attribute `src` for the `img` tag
90
- */
91
- src?: string | undefined;
92
- /**
93
- * Attribute `srcset` for the `img` tag
94
- */
95
- srcset: string;
96
- }>>> | Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Pick<CommonProps, "color"> & {
97
- /**
98
- * Size of the avatar as a predefined string or as a number in pixels
99
- */
100
- size?: Size | undefined;
101
- /**
102
- * Attribute `sizes` for the `img` tag
103
- */
104
- sizes?: string | undefined;
105
58
  } & {
106
- /**
107
- * Attribute `alt` for the `img` tag
108
- */
109
- alt?: string | undefined;
110
59
  /**
111
60
  * Attribute `src` for the `img` tag
112
61
  */
@@ -115,7 +64,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
115
64
  * Attribute `srcset` for the `img` tag
116
65
  */
117
66
  srcset: string;
118
- }>>>, {} | {} | {}, {}>, Readonly<{
67
+ }>>>, {} | {}, {}>, Readonly<{
119
68
  default?: ((props: {}) => any) | undefined;
120
69
  }>>;
121
70
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import type { CommonProps } from '../../types/CommonProps';
2
- export type BbBadgeProps = Pick<CommonProps, 'color'> & {
2
+ export type BbBadgeProps = Pick<CommonProps, "color"> & {
3
3
  /**
4
4
  * Displays the badge on the bottom of the wrapped component.
5
5
  */
@@ -38,6 +38,9 @@ type __VLS_WithDefaults<P, D> = {
38
38
  default: D[K];
39
39
  }> : P[K];
40
40
  };
41
+ type __VLS_Prettify<T> = {
42
+ [K in keyof T]: T[K];
43
+ } & {};
41
44
  type __VLS_WithTemplateSlots<T, S> = T & {
42
45
  new (): {
43
46
  $slots: S;
@@ -65,6 +65,9 @@ type __VLS_WithDefaults<P, D> = {
65
65
  default: D[K];
66
66
  }> : P[K];
67
67
  };
68
+ type __VLS_Prettify<T> = {
69
+ [K in keyof T]: T[K];
70
+ } & {};
68
71
  type __VLS_WithTemplateSlots<T, S> = T & {
69
72
  new (): {
70
73
  $slots: S;
@@ -68,6 +68,9 @@ type __VLS_WithDefaults<P, D> = {
68
68
  default: D[K];
69
69
  }> : P[K];
70
70
  };
71
+ type __VLS_Prettify<T> = {
72
+ [K in keyof T]: T[K];
73
+ } & {};
71
74
  type __VLS_WithTemplateSlots<T, S> = T & {
72
75
  new (): {
73
76
  $slots: S;
@@ -77,6 +77,9 @@ type __VLS_WithDefaults<P, D> = {
77
77
  default: D[K];
78
78
  }> : P[K];
79
79
  };
80
+ type __VLS_Prettify<T> = {
81
+ [K in keyof T]: T[K];
82
+ } & {};
80
83
  type __VLS_WithTemplateSlots<T, S> = T & {
81
84
  new (): {
82
85
  $slots: S;
@@ -3,7 +3,7 @@ export type BbChipProps = Pick<CommonProps, "text"> & {
3
3
  /**
4
4
  * Renders a button with a close icon. Used to indicate the possibility of deleting the item.
5
5
  */
6
- clearable?: true;
6
+ clearable?: boolean;
7
7
  /**
8
8
  * The label the clearing button must have
9
9
  */
@@ -13,14 +13,17 @@ export type BbChipEvents = {
13
13
  (e: "click:clear", event: MouseEvent): void;
14
14
  };
15
15
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbChipProps>, {
16
+ clearable: boolean;
16
17
  clearableLabel: string;
17
18
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
19
  "click:clear": (...args: any[]) => void;
19
20
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbChipProps>, {
21
+ clearable: boolean;
20
22
  clearableLabel: string;
21
23
  }>>> & {
22
24
  "onClick:clear"?: ((...args: any[]) => any) | undefined;
23
25
  }, {
26
+ clearable: boolean;
24
27
  clearableLabel: string;
25
28
  }, {}>, Readonly<{
26
29
  default?: ((props: {}) => any) | undefined;
@@ -40,6 +43,9 @@ type __VLS_WithDefaults<P, D> = {
40
43
  default: D[K];
41
44
  }> : P[K];
42
45
  };
46
+ type __VLS_Prettify<T> = {
47
+ [K in keyof T]: T[K];
48
+ } & {};
43
49
  type __VLS_WithTemplateSlots<T, S> = T & {
44
50
  new (): {
45
51
  $slots: S;
@@ -3,7 +3,7 @@ export type BbCollapsibleProps = Pick<CommonProps, 'eager' | 'transitionDuration
3
3
  /**
4
4
  * Used by v-model to trigger opening / closing the collapsible
5
5
  */
6
- modelValue?: boolean;
6
+ modelValue: boolean;
7
7
  };
8
8
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbCollapsibleProps>, {
9
9
  transitionDuration: number;
@@ -29,6 +29,9 @@ type __VLS_WithDefaults<P, D> = {
29
29
  default: D[K];
30
30
  }> : P[K];
31
31
  };
32
+ type __VLS_Prettify<T> = {
33
+ [K in keyof T]: T[K];
34
+ } & {};
32
35
  type __VLS_WithTemplateSlots<T, S> = T & {
33
36
  new (): {
34
37
  $slots: S;
@@ -61,6 +61,9 @@ type __VLS_WithDefaults<P, D> = {
61
61
  default: D[K];
62
62
  }> : P[K];
63
63
  };
64
+ type __VLS_Prettify<T> = {
65
+ [K in keyof T]: T[K];
66
+ } & {};
64
67
  type __VLS_WithTemplateSlots<T, S> = T & {
65
68
  new (): {
66
69
  $slots: S;
@@ -30,6 +30,9 @@ type __VLS_WithDefaults<P, D> = {
30
30
  default: D[K];
31
31
  }> : P[K];
32
32
  };
33
+ type __VLS_Prettify<T> = {
34
+ [K in keyof T]: T[K];
35
+ } & {};
33
36
  type __VLS_WithTemplateSlots<T, S> = T & {
34
37
  new (): {
35
38
  $slots: S;
@@ -1,6 +1,6 @@
1
1
  import type { BaseButtonProps } from "../BaseButton/BaseButton.vue";
2
2
  import type { CommonProps } from '../../types/CommonProps';
3
- export type BbDropdownProps = Pick<CommonProps, "block" | "disabled" | "id" | "placement" | "theme" | "transitionDuration"> & {
3
+ export type BbDropdownProps = Pick<CommonProps, "arrowPadding" | "block" | "disabled" | "eager" | "id" | "offset" | "padding" | "placement" | "theme" | "transitionDuration"> & {
4
4
  /**
5
5
  * Array used to render each dropdown button.
6
6
  * They can act as `button`, as `a`, or as `router-link`
@@ -34,16 +34,25 @@ export type MappedItem = Item & {
34
34
  onKeydown: (event: KeyboardEvent) => void;
35
35
  };
36
36
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbDropdownProps>, {
37
+ arrowPadding: number;
37
38
  placement: string;
38
- transitionDuration: number;
39
39
  theme: string;
40
+ transitionDuration: number;
40
41
  width: number;
42
+ padding: number;
43
+ offset: number;
41
44
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbDropdownProps>, {
45
+ arrowPadding: number;
42
46
  placement: string;
43
- transitionDuration: number;
44
47
  theme: string;
48
+ transitionDuration: number;
45
49
  width: number;
50
+ padding: number;
51
+ offset: number;
46
52
  }>>>, {
53
+ arrowPadding: number;
54
+ offset: number;
55
+ padding: number;
47
56
  placement: "left" | "right" | "top" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
48
57
  theme: string;
49
58
  transitionDuration: number;
@@ -142,6 +151,9 @@ type __VLS_WithDefaults<P, D> = {
142
151
  default: D[K];
143
152
  }> : P[K];
144
153
  };
154
+ type __VLS_Prettify<T> = {
155
+ [K in keyof T]: T[K];
156
+ } & {};
145
157
  type __VLS_WithTemplateSlots<T, S> = T & {
146
158
  new (): {
147
159
  $slots: S;