bitboss-ui 0.2.31 → 0.2.32

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 (326) hide show
  1. package/dist/components/BaseButton/BaseButton.vue.d.ts +6 -6
  2. package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +16 -16
  3. package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +36 -36
  4. package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +20 -20
  5. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +21 -21
  6. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +8 -8
  7. package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +6 -6
  8. package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +20 -20
  9. package/dist/components/BaseRadio/BaseRadio.vue.d.ts +20 -20
  10. package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +36 -36
  11. package/dist/components/BaseRating/BaseRating.vue.d.ts +17 -17
  12. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +23 -23
  13. package/dist/components/BaseSlider/BaseSlider.vue.d.ts +15 -15
  14. package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +1 -1
  15. package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +20 -20
  16. package/dist/components/BaseTag/BaseTag.vue.d.ts +20 -20
  17. package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +19 -19
  18. package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +18 -18
  19. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +3 -3
  20. package/dist/components/BbAlert/BbAlert.vue.d.ts +3 -3
  21. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +8 -8
  22. package/dist/components/BbBadge/BbBadge.vue.d.ts +1 -1
  23. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +6 -6
  24. package/dist/components/BbButton/BbButton.vue.d.ts +1 -1
  25. package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +11 -11
  26. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +27 -27
  27. package/dist/components/BbChip/BbChip.vue.d.ts +2 -2
  28. package/dist/components/BbConfirm/BbConfirm.vue.d.ts +4 -4
  29. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +16 -24
  30. package/dist/components/BbDialog/BbDialog.vue.d.ts +2 -2
  31. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +11 -11
  32. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +14 -14
  33. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +4 -4
  34. package/dist/components/BbIntersection/BbIntersection.vue.d.ts +3 -3
  35. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +10 -10
  36. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +9 -9
  37. package/dist/components/BbPagination/BbPagination.vue.d.ts +1 -1
  38. package/dist/components/BbPopover/BbPopover.vue.d.ts +8 -8
  39. package/dist/components/BbRadio/BbRadio.vue.d.ts +10 -10
  40. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +27 -27
  41. package/dist/components/BbRating/BbRating.vue.d.ts +10 -10
  42. package/dist/components/BbSelect/BbSelect.vue.d.ts +19 -19
  43. package/dist/components/BbSlider/BbSlider.vue.d.ts +8 -8
  44. package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +1 -1
  45. package/dist/components/BbSpinner/BbSpinner.vue.d.ts +2 -2
  46. package/dist/components/BbSwitch/BbSwitch.vue.d.ts +2 -2
  47. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +20 -20
  48. package/dist/components/BbTab/BbTab.vue.d.ts +5 -5
  49. package/dist/components/BbTable/BbTable.vue.d.ts +11 -11
  50. package/dist/components/BbTable/types.d.ts +107 -107
  51. package/dist/components/BbTag/BbTag.vue.d.ts +13 -13
  52. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +11 -11
  53. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +10 -10
  54. package/dist/components/BbToast/BbToast.vue.d.ts +1 -1
  55. package/dist/components/BbToast/BbToastMessage.vue.d.ts +1 -1
  56. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +3 -3
  57. package/dist/components/BbTree/BbTree.vue.d.ts +1 -1
  58. package/dist/composables/useConfirm.d.ts +10 -10
  59. package/dist/composables/useOptions.d.ts +2 -2
  60. package/dist/composables/useRoute.d.ts +2 -2
  61. package/dist/composables/useRouter.d.ts +1 -1
  62. package/dist/composables/useToast.d.ts +5 -5
  63. package/dist/composables/useWizard.d.ts +1 -1
  64. package/dist/index.d.ts +126 -126
  65. package/dist/index101.js +32 -37
  66. package/dist/index101.js.map +1 -1
  67. package/dist/index103.js +19 -19
  68. package/dist/index103.js.map +1 -1
  69. package/dist/index105.js +16 -16
  70. package/dist/index105.js.map +1 -1
  71. package/dist/index107.js +15 -15
  72. package/dist/index107.js.map +1 -1
  73. package/dist/index109.js.map +1 -1
  74. package/dist/index11.js +7 -7
  75. package/dist/index11.js.map +1 -1
  76. package/dist/index111.js +16 -16
  77. package/dist/index111.js.map +1 -1
  78. package/dist/index113.js +3 -3
  79. package/dist/index113.js.map +1 -1
  80. package/dist/index115.js +6 -6
  81. package/dist/index115.js.map +1 -1
  82. package/dist/index116.js +1 -1
  83. package/dist/index116.js.map +1 -1
  84. package/dist/index117.js +1 -1
  85. package/dist/index117.js.map +1 -1
  86. package/dist/index118.js +4 -4
  87. package/dist/index118.js.map +1 -1
  88. package/dist/index119.js +5 -5
  89. package/dist/index119.js.map +1 -1
  90. package/dist/index120.js.map +1 -1
  91. package/dist/index121.js.map +1 -1
  92. package/dist/index122.js.map +1 -1
  93. package/dist/index124.js.map +1 -1
  94. package/dist/index125.js +4 -4
  95. package/dist/index125.js.map +1 -1
  96. package/dist/index126.js +1 -1
  97. package/dist/index126.js.map +1 -1
  98. package/dist/index127.js +1 -1
  99. package/dist/index128.js +4 -1
  100. package/dist/index128.js.map +1 -1
  101. package/dist/index129.js.map +1 -1
  102. package/dist/index13.js +11 -11
  103. package/dist/index13.js.map +1 -1
  104. package/dist/index130.js.map +1 -1
  105. package/dist/index131.js +2 -2
  106. package/dist/index15.js +226 -224
  107. package/dist/index15.js.map +1 -1
  108. package/dist/index17.js +61 -62
  109. package/dist/index17.js.map +1 -1
  110. package/dist/index19.js +22 -22
  111. package/dist/index19.js.map +1 -1
  112. package/dist/index196.js.map +1 -1
  113. package/dist/index197.js +2 -5
  114. package/dist/index197.js.map +1 -1
  115. package/dist/index198.js +4 -16
  116. package/dist/index198.js.map +1 -1
  117. package/dist/index199.js +293 -14
  118. package/dist/index199.js.map +1 -1
  119. package/dist/index2.js +23 -23
  120. package/dist/index2.js.map +1 -1
  121. package/dist/index200.js +15 -18
  122. package/dist/index200.js.map +1 -1
  123. package/dist/index201.js +13 -17
  124. package/dist/index201.js.map +1 -1
  125. package/dist/index202.js +18 -28
  126. package/dist/index202.js.map +1 -1
  127. package/dist/index203.js +20 -8
  128. package/dist/index203.js.map +1 -1
  129. package/dist/index204.js +29 -2
  130. package/dist/index204.js.map +1 -1
  131. package/dist/index205.js +8 -378
  132. package/dist/index205.js.map +1 -1
  133. package/dist/index206.js +2 -134
  134. package/dist/index206.js.map +1 -1
  135. package/dist/index207.js +235 -2
  136. package/dist/index207.js.map +1 -1
  137. package/dist/index208.js +3 -174
  138. package/dist/index208.js.map +1 -1
  139. package/dist/index209.js +35 -23
  140. package/dist/index209.js.map +1 -1
  141. package/dist/index21.js +4 -4
  142. package/dist/index21.js.map +1 -1
  143. package/dist/index210.js +6 -373
  144. package/dist/index210.js.map +1 -1
  145. package/dist/index211.js +10 -2
  146. package/dist/index211.js.map +1 -1
  147. package/dist/index212.js +378 -4
  148. package/dist/index212.js.map +1 -1
  149. package/dist/index213.js +134 -3
  150. package/dist/index213.js.map +1 -1
  151. package/dist/index214.js +2 -3
  152. package/dist/index214.js.map +1 -1
  153. package/dist/index215.js +172 -8
  154. package/dist/index215.js.map +1 -1
  155. package/dist/index216.js +23 -3
  156. package/dist/index216.js.map +1 -1
  157. package/dist/index217.js +369 -31
  158. package/dist/index217.js.map +1 -1
  159. package/dist/index218.js +3 -6
  160. package/dist/index218.js.map +1 -1
  161. package/dist/index219.js +3 -2
  162. package/dist/index219.js.map +1 -1
  163. package/dist/index220.js.map +1 -1
  164. package/dist/index221.js +26 -233
  165. package/dist/index221.js.map +1 -1
  166. package/dist/index222.js +16 -8
  167. package/dist/index222.js.map +1 -1
  168. package/dist/index223.js +2 -121
  169. package/dist/index223.js.map +1 -1
  170. package/dist/index224.js +8 -27
  171. package/dist/index224.js.map +1 -1
  172. package/dist/index225.js +120 -12
  173. package/dist/index225.js.map +1 -1
  174. package/dist/index226.js +1 -1
  175. package/dist/index227.js +4 -295
  176. package/dist/index227.js.map +1 -1
  177. package/dist/index228.js +2 -6
  178. package/dist/index228.js.map +1 -1
  179. package/dist/index229.js +6 -2
  180. package/dist/index229.js.map +1 -1
  181. package/dist/index23.js +14 -16
  182. package/dist/index23.js.map +1 -1
  183. package/dist/index230.js +2 -2
  184. package/dist/index235.js +2 -2
  185. package/dist/index236.js +428 -110
  186. package/dist/index236.js.map +1 -1
  187. package/dist/index237.js +88 -105
  188. package/dist/index237.js.map +1 -1
  189. package/dist/index238.js +199 -3
  190. package/dist/index238.js.map +1 -1
  191. package/dist/index239.js +1 -1
  192. package/dist/index240.js +1 -1
  193. package/dist/index241.js +2 -435
  194. package/dist/index241.js.map +1 -1
  195. package/dist/index242.js +115 -87
  196. package/dist/index242.js.map +1 -1
  197. package/dist/index243.js +104 -198
  198. package/dist/index243.js.map +1 -1
  199. package/dist/index244.js +160 -2
  200. package/dist/index244.js.map +1 -1
  201. package/dist/index245.js +2 -2
  202. package/dist/index245.js.map +1 -1
  203. package/dist/index246.js +9 -9
  204. package/dist/index246.js.map +1 -1
  205. package/dist/index247.js +5 -162
  206. package/dist/index247.js.map +1 -1
  207. package/dist/index248.js +1 -1
  208. package/dist/index249.js +37 -14
  209. package/dist/index249.js.map +1 -1
  210. package/dist/index25.js +4 -4
  211. package/dist/index25.js.map +1 -1
  212. package/dist/index250.js +2 -38
  213. package/dist/index250.js.map +1 -1
  214. package/dist/index251.js +2 -2
  215. package/dist/index251.js.map +1 -1
  216. package/dist/index252.js +15 -2
  217. package/dist/index252.js.map +1 -1
  218. package/dist/index253.js +3 -2
  219. package/dist/index253.js.map +1 -1
  220. package/dist/index255.js +2 -3
  221. package/dist/index255.js.map +1 -1
  222. package/dist/index27.js +7 -7
  223. package/dist/index27.js.map +1 -1
  224. package/dist/index29.js +15 -15
  225. package/dist/index29.js.map +1 -1
  226. package/dist/index3.js +2 -1
  227. package/dist/index3.js.map +1 -1
  228. package/dist/index31.js +28 -28
  229. package/dist/index31.js.map +1 -1
  230. package/dist/index33.js +10 -11
  231. package/dist/index33.js.map +1 -1
  232. package/dist/index35.js +2 -2
  233. package/dist/index35.js.map +1 -1
  234. package/dist/index37.js +12 -12
  235. package/dist/index37.js.map +1 -1
  236. package/dist/index39.js +5 -7
  237. package/dist/index39.js.map +1 -1
  238. package/dist/index4.js.map +1 -1
  239. package/dist/index41.js +5 -5
  240. package/dist/index41.js.map +1 -1
  241. package/dist/index43.js +19 -16
  242. package/dist/index43.js.map +1 -1
  243. package/dist/index45.js +9 -9
  244. package/dist/index45.js.map +1 -1
  245. package/dist/index47.js +4 -4
  246. package/dist/index47.js.map +1 -1
  247. package/dist/index49.js +1 -1
  248. package/dist/index49.js.map +1 -1
  249. package/dist/index5.js +7 -6
  250. package/dist/index5.js.map +1 -1
  251. package/dist/index51.js +6 -6
  252. package/dist/index51.js.map +1 -1
  253. package/dist/index53.js.map +1 -1
  254. package/dist/index55.js +20 -20
  255. package/dist/index55.js.map +1 -1
  256. package/dist/index57.js +35 -35
  257. package/dist/index57.js.map +1 -1
  258. package/dist/index59.js +8 -8
  259. package/dist/index59.js.map +1 -1
  260. package/dist/index6.js +38 -38
  261. package/dist/index6.js.map +1 -1
  262. package/dist/index61.js +27 -27
  263. package/dist/index61.js.map +1 -1
  264. package/dist/index63.js +4 -4
  265. package/dist/index63.js.map +1 -1
  266. package/dist/index65.js +20 -20
  267. package/dist/index65.js.map +1 -1
  268. package/dist/index67.js +26 -26
  269. package/dist/index67.js.map +1 -1
  270. package/dist/index69.js +21 -19
  271. package/dist/index69.js.map +1 -1
  272. package/dist/index7.js.map +1 -1
  273. package/dist/index71.js +2 -2
  274. package/dist/index71.js.map +1 -1
  275. package/dist/index72.js +3 -3
  276. package/dist/index72.js.map +1 -1
  277. package/dist/index73.js +14 -14
  278. package/dist/index73.js.map +1 -1
  279. package/dist/index75.js +18 -18
  280. package/dist/index75.js.map +1 -1
  281. package/dist/index77.js +11 -11
  282. package/dist/index77.js.map +1 -1
  283. package/dist/index79.js +15 -15
  284. package/dist/index79.js.map +1 -1
  285. package/dist/index8.js +10 -7
  286. package/dist/index8.js.map +1 -1
  287. package/dist/index81.js.map +1 -1
  288. package/dist/index83.js +20 -20
  289. package/dist/index83.js.map +1 -1
  290. package/dist/index85.js +34 -34
  291. package/dist/index85.js.map +1 -1
  292. package/dist/index87.js +18 -18
  293. package/dist/index87.js.map +1 -1
  294. package/dist/index89.js.map +1 -1
  295. package/dist/index9.js.map +1 -1
  296. package/dist/index91.js +53 -53
  297. package/dist/index91.js.map +1 -1
  298. package/dist/index93.js +16 -16
  299. package/dist/index93.js.map +1 -1
  300. package/dist/index95.js +21 -21
  301. package/dist/index95.js.map +1 -1
  302. package/dist/index97.js +37 -37
  303. package/dist/index97.js.map +1 -1
  304. package/dist/index99.js +18 -18
  305. package/dist/index99.js.map +1 -1
  306. package/dist/style.css +1 -1
  307. package/dist/types/CommonProps.d.ts +18 -18
  308. package/dist/types/ExtractGenericFromComputedRef.d.ts +1 -1
  309. package/dist/types/ExtractGenericFromRef.d.ts +1 -1
  310. package/dist/types/VoidHtmlElements.d.ts +1 -1
  311. package/dist/utilities/functions/cloneDeep.d.ts +1 -1
  312. package/dist/utilities/functions/debounce.d.ts +1 -1
  313. package/dist/utilities/functions/flow.d.ts +1 -1
  314. package/dist/utilities/functions/get.d.ts +1 -1
  315. package/dist/utilities/functions/isNotNil.d.ts +1 -1
  316. package/dist/utilities/functions/mapValues.d.ts +1 -1
  317. package/dist/utilities/functions/merge.d.ts +1 -1
  318. package/dist/utilities/functions/millisecondsTo.d.ts +1 -1
  319. package/dist/utilities/functions/overEvery.d.ts +1 -1
  320. package/dist/utilities/functions/percentage.d.ts +4 -4
  321. package/dist/utilities/functions/pick.d.ts +1 -1
  322. package/dist/utilities/functions/pickBy.d.ts +1 -1
  323. package/dist/utilities/functions/roundToTheNearest.d.ts +1 -1
  324. package/package.json +93 -77
  325. package/dist/index256.js +0 -5
  326. package/dist/index256.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import type { BbTableProps, MappedCell, TableColumn } from "./types";
1
+ import type { BbTableProps, MappedCell, TableColumn } from './types';
2
2
  import type { Classes } from '../../types/Classes';
3
3
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbTableProps>, {
4
4
  align: string;
@@ -21,7 +21,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
21
21
  "contextmenu:row": (event: MouseEvent, item: any, selected: boolean) => void;
22
22
  "dblclick:row": (event: MouseEvent, item: any, selected: boolean) => void;
23
23
  "update:modelValue": (value: any) => void;
24
- "update:selectAll": (value: Boolean) => void;
24
+ "update:selectAll": (value: boolean) => void;
25
25
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbTableProps>, {
26
26
  align: string;
27
27
  accessibleLabel: (columns: MappedCell[]) => string;
@@ -43,7 +43,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
43
43
  "onClick:row"?: ((event: MouseEvent, item: any, selected: boolean) => any) | undefined;
44
44
  "onContextmenu:row"?: ((event: MouseEvent, item: any, selected: boolean) => any) | undefined;
45
45
  "onDblclick:row"?: ((event: MouseEvent, item: any, selected: boolean) => any) | undefined;
46
- "onUpdate:selectAll"?: ((value: Boolean) => any) | undefined;
46
+ "onUpdate:selectAll"?: ((value: boolean) => any) | undefined;
47
47
  }, {
48
48
  dependencies: any[];
49
49
  depsDebounceTime: number;
@@ -64,9 +64,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
64
64
  selectAllText: string;
65
65
  selectText: string;
66
66
  }, {}>, Readonly<{
67
- thead?: ((props: {}) => any) | undefined;
68
- tbody?: ((props: {}) => any) | undefined;
69
- tfoot?: ((props: {}) => any) | undefined;
67
+ thead?: ((props: object) => any) | undefined;
68
+ tbody?: ((props: object) => any) | undefined;
69
+ tfoot?: ((props: object) => any) | undefined;
70
70
  header_select?: ((props: {
71
71
  multiple: boolean;
72
72
  selectAll: boolean;
@@ -77,7 +77,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
77
77
  loading?: ((props: {
78
78
  items: any[];
79
79
  }) => any) | undefined;
80
- "no-data"?: ((props: {}) => any) | undefined;
80
+ 'no-data'?: ((props: object) => any) | undefined;
81
81
  actions?: ((props: {
82
82
  item: any;
83
83
  value: any;
@@ -100,9 +100,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
100
100
  value?: any;
101
101
  }) => any;
102
102
  }> & {
103
- thead?: ((props: {}) => any) | undefined;
104
- tbody?: ((props: {}) => any) | undefined;
105
- tfoot?: ((props: {}) => any) | undefined;
103
+ thead?: ((props: object) => any) | undefined;
104
+ tbody?: ((props: object) => any) | undefined;
105
+ tfoot?: ((props: object) => any) | undefined;
106
106
  header_select?: ((props: {
107
107
  multiple: boolean;
108
108
  selectAll: boolean;
@@ -113,7 +113,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
113
113
  loading?: ((props: {
114
114
  items: any[];
115
115
  }) => any) | undefined;
116
- "no-data"?: ((props: {}) => any) | undefined;
116
+ 'no-data'?: ((props: object) => any) | undefined;
117
117
  actions?: ((props: {
118
118
  item: any;
119
119
  value: any;
@@ -1,182 +1,182 @@
1
1
  import type { Classes } from '../../types/Classes';
2
- import type { InputHTMLAttributes } from "vue";
2
+ import type { InputHTMLAttributes } from 'vue';
3
3
  /**
4
4
  * Column as defined from outside
5
5
  */
6
6
  export type TableColumn = {
7
7
  /**
8
- * Text alignment of the column.
9
- */
10
- align?: "left" | "right" | "center";
8
+ * Text alignment of the column.
9
+ */
10
+ align?: 'left' | 'right' | 'center';
11
11
  /**
12
- * When set to false the formatter will not run on nullish values.
13
- * By default is true so you can create virtual columns with keys that do not
14
- * reference a prop in the `item` and still extract data from the other
15
- * arguments in the formatting function.
16
- */
12
+ * When set to false the formatter will not run on nullish values.
13
+ * By default is true so you can create virtual columns with keys that do not
14
+ * reference a prop in the `item` and still extract data from the other
15
+ * arguments in the formatting function.
16
+ */
17
17
  formatOnNull?: boolean;
18
18
  /**
19
- * Formatting function used to generate enhanced content.
20
- * @param content The content generated by the extraction of `Item[key]`
21
- * @param key Key of the column taken from the column definition.
22
- * @param item Item of the row.
23
- */
19
+ * Formatting function used to generate enhanced content.
20
+ * @param content The content generated by the extraction of `Item[key]`
21
+ * @param key Key of the column taken from the column definition.
22
+ * @param item Item of the row.
23
+ */
24
24
  formatter?: (content: any, key: string, item: any) => any;
25
25
  /**
26
- * Key identifying the column.
27
- */
26
+ * Key identifying the column.
27
+ */
28
28
  key: string;
29
29
  /**
30
- * Text used in the header for this column.
31
- */
30
+ * Text used in the header for this column.
31
+ */
32
32
  label: string;
33
33
  /**
34
- * Placeholder used when the pipeline returns null content.
35
- */
34
+ * Placeholder used when the pipeline returns null content.
35
+ */
36
36
  placeholder?: string;
37
37
  /**
38
- * Defines the classes to be passed to the `<td>` elements. Can also be a function for dynamic values.
39
- */
38
+ * Defines the classes to be passed to the `<td>` elements. Can also be a function for dynamic values.
39
+ */
40
40
  tdClass?: ColumnClasses;
41
41
  /**
42
- * Defines the classes to be passed to the `<th>`.
43
- */
42
+ * Defines the classes to be passed to the `<th>`.
43
+ */
44
44
  thClass?: Classes;
45
45
  };
46
46
  export type BbTableProps = {
47
47
  /**
48
- * Function that accepts the columns and the current item as
49
- * arguments and returns a label to be used for accessibility purposes.
50
- */
48
+ * Function that accepts the columns and the current item as
49
+ * arguments and returns a label to be used for accessibility purposes.
50
+ */
51
51
  accessibleLabel?: (columns: MappedCell[], item: any) => string;
52
52
  /**
53
- * Displays the actions column.
54
- */
53
+ * Displays the actions column.
54
+ */
55
55
  actions?: boolean;
56
56
  /**
57
- * Label used in the header of the actions column.
58
- */
57
+ * Label used in the header of the actions column.
58
+ */
59
59
  actionsText?: string;
60
60
  /**
61
- * Text alignment of the columns.
62
- */
63
- align?: "left" | "center" | "right";
61
+ * Text alignment of the columns.
62
+ */
63
+ align?: 'left' | 'center' | 'right';
64
64
  /**
65
- * Boolean that defines whether to display a "Select all" checkbox.
66
- */
65
+ * Boolean that defines whether to display a "Select all" checkbox.
66
+ */
67
67
  allowSelectAll?: boolean;
68
68
  /**
69
- * Caption that describes the content of the table. Used for accessibility purposes.
70
- */
69
+ * Caption that describes the content of the table. Used for accessibility purposes.
70
+ */
71
71
  caption?: string;
72
72
  /**
73
- * Array of definitions of how the columns should be rendered.
74
- */
73
+ * Array of definitions of how the columns should be rendered.
74
+ */
75
75
  columns: TableColumn[];
76
76
  /**
77
- * Adds a CSS class that applies a compact style to the component.
78
- */
77
+ * Adds a CSS class that applies a compact style to the component.
78
+ */
79
79
  compact?: boolean;
80
80
  /**
81
- * Defines an array of dependencies that will trigger actions in the component upon change.
82
- */
81
+ * Defines an array of dependencies that will trigger actions in the component upon change.
82
+ */
83
83
  dependencies?: any[];
84
84
  /**
85
- * Timeout used to debounce response to changes to dependencies.
86
- */
85
+ * Timeout used to debounce response to changes to dependencies.
86
+ */
87
87
  depsDebounceTime?: number;
88
88
  /**
89
- * Disables the component
90
- */
89
+ * Disables the component
90
+ */
91
91
  disabled?: boolean;
92
92
  /**
93
- * Boolean that defines whether to display or hide the caption.
94
- * By default is true and the caption is hidden.
95
- */
93
+ * Boolean that defines whether to display or hide the caption.
94
+ * By default is true and the caption is hidden.
95
+ */
96
96
  displayCaption?: boolean;
97
97
  /**
98
- * Defines the table layout as fixed
99
- * making each column take up the same amount of space.
100
- */
98
+ * Defines the table layout as fixed
99
+ * making each column take up the same amount of space.
100
+ */
101
101
  fixed?: boolean;
102
102
  /**
103
- * Definition for which column should be fixed.
104
- * It can be an array of index of the column to fix on the left side of the table or
105
- * an array of objects indicating the index and the position `left` or `right` where to affix the columns.
106
- */
103
+ * Definition for which column should be fixed.
104
+ * It can be an array of index of the column to fix on the left side of the table or
105
+ * an array of objects indicating the index and the position `left` or `right` where to affix the columns.
106
+ */
107
107
  fixedColumns?: (number | {
108
108
  index: number;
109
- position: "left" | "right";
109
+ position: 'left' | 'right';
110
110
  })[];
111
111
  /**
112
- * Boolean that sets the headers as sticky top the top of the table.
113
- */
112
+ * Boolean that sets the headers as sticky top the top of the table.
113
+ */
114
114
  fixedHeader?: boolean;
115
115
  items: any[] | ((prefill: boolean, modelValue?: any[]) => Promise<any[]>) | ((prefill: boolean, modelValue?: any[]) => any[]);
116
116
  itemValue?: string | ((item: any) => any);
117
117
  /**
118
- * Text content of the legend.
119
- */
118
+ * Text content of the legend.
119
+ */
120
120
  legend?: string;
121
121
  /**
122
- * Sets the component in a loading state, usually triggering some visual styles.
123
- */
122
+ * Sets the component in a loading state, usually triggering some visual styles.
123
+ */
124
124
  loading?: boolean;
125
125
  /**
126
- * String displayed while items are being loaded.
127
- */
126
+ * String displayed while items are being loaded.
127
+ */
128
128
  loadingText?: string;
129
129
  /**
130
- * Defines the strategy used to understand whether an option has been selected.
131
- * `string` is 40% faster but relies on property order.
132
- * `equality` is more reliable but is slower.
133
- */
134
- matchStrategy?: "string" | "equality";
130
+ * Defines the strategy used to understand whether an option has been selected.
131
+ * `string` is 40% faster but relies on property order.
132
+ * `equality` is more reliable but is slower.
133
+ */
134
+ matchStrategy?: 'string' | 'equality';
135
135
  /**
136
- * Used by v-model. Can be any serializable type.
137
- */
136
+ * Used by v-model. Can be any serializable type.
137
+ */
138
138
  modelValue?: any;
139
139
  /**
140
- * Allows the selection of multiple items.
141
- */
140
+ * Allows the selection of multiple items.
141
+ */
142
142
  multiple?: boolean;
143
143
  /**
144
- * Defines the name of the input.
145
- */
146
- name?: InputHTMLAttributes["name"];
144
+ * Defines the name of the input.
145
+ */
146
+ name?: InputHTMLAttributes['name'];
147
147
  /**
148
- * String displayed when there are no items to display.
149
- */
148
+ * String displayed when there are no items to display.
149
+ */
150
150
  noDataText?: string;
151
151
  /**
152
- * Sets the input in a readonly state.
153
- */
154
- readonly?: InputHTMLAttributes["readonly"];
152
+ * Sets the input in a readonly state.
153
+ */
154
+ readonly?: InputHTMLAttributes['readonly'];
155
155
  /**
156
- * Defines whether the table is selectable.
157
- * Can be a global boolean that affects all rows or a function
158
- * that accepts an otem and returns a boolean that only affects that item.
159
- */
156
+ * Defines whether the table is selectable.
157
+ * Can be a global boolean that affects all rows or a function
158
+ * that accepts an otem and returns a boolean that only affects that item.
159
+ */
160
160
  selectable?: boolean | ((item: any) => boolean);
161
161
  /**
162
- * Used by v-model:selectAll. Indicates whether the "Select all" checkbox is checked or not.
163
- */
162
+ * Used by v-model:selectAll. Indicates whether the "Select all" checkbox is checked or not.
163
+ */
164
164
  selectAll?: boolean;
165
165
  /**
166
- * Text of the label used by the "Select all" boolean.
167
- */
166
+ * Text of the label used by the "Select all" boolean.
167
+ */
168
168
  selectAllText?: string;
169
169
  /**
170
- * Text of the header used for the radio inputs when the table is not `multiple`.
171
- */
170
+ * Text of the header used for the radio inputs when the table is not `multiple`.
171
+ */
172
172
  selectText?: string;
173
173
  /**
174
- * Defines the classes to be passed to the `<td>` elements. Can also be a function for dynamic values.
175
- */
174
+ * Defines the classes to be passed to the `<td>` elements. Can also be a function for dynamic values.
175
+ */
176
176
  tdClass?: ColumnClasses;
177
177
  /**
178
- * Defines the classes to be passed to the `<th>`.
179
- */
178
+ * Defines the classes to be passed to the `<th>`.
179
+ */
180
180
  thClass?: Classes;
181
181
  };
182
182
  /**
@@ -226,16 +226,16 @@ export type MappedCell = {
226
226
  slotName: string;
227
227
  };
228
228
  export type BbTableEvents = {
229
- (e: "click:row", event: MouseEvent, item: any, selected: boolean): void;
230
- (e: "contextmenu:row", event: MouseEvent, item: any, selected: boolean): void;
231
- (e: "dblclick:row", event: MouseEvent, item: any, selected: boolean): void;
232
- (e: "update:modelValue", value: any): void;
233
- (e: "update:selectAll", value: Boolean): void;
229
+ (e: 'click:row', event: MouseEvent, item: any, selected: boolean): void;
230
+ (e: 'contextmenu:row', event: MouseEvent, item: any, selected: boolean): void;
231
+ (e: 'dblclick:row', event: MouseEvent, item: any, selected: boolean): void;
232
+ (e: 'update:modelValue', value: any): void;
233
+ (e: 'update:selectAll', value: boolean): void;
234
234
  };
235
235
  export type BbTableSlots = {
236
- thead?: (props: {}) => any;
237
- tbody?: (props: {}) => any;
238
- tfoot?: (props: {}) => any;
236
+ thead?: (props: object) => any;
237
+ tbody?: (props: object) => any;
238
+ tfoot?: (props: object) => any;
239
239
  header_select?: (props: {
240
240
  multiple: boolean;
241
241
  selectAll: boolean;
@@ -246,7 +246,7 @@ export type BbTableSlots = {
246
246
  loading?: (props: {
247
247
  items: any[];
248
248
  }) => any;
249
- "no-data"?: (props: {}) => any;
249
+ 'no-data'?: (props: object) => any;
250
250
  actions?: (props: {
251
251
  item: any;
252
252
  value: any;
@@ -1,14 +1,14 @@
1
- import type { BaseTagEvents } from "../BaseTag/BaseTag.vue";
2
- import type { HTMLAttributes, InputHTMLAttributes } from "vue";
1
+ import type { BaseTagEvents } from '../BaseTag/BaseTag.vue';
2
+ import type { HTMLAttributes, InputHTMLAttributes } from 'vue';
3
3
  export type BbTagProps = {
4
4
  /**
5
5
  * Guides to the browser as to the type of information expected in the field.
6
6
  */
7
- autocomplete?: InputHTMLAttributes["autocomplete"];
7
+ autocomplete?: InputHTMLAttributes['autocomplete'];
8
8
  /**
9
9
  * Sets autofocus on page load.
10
10
  */
11
- autofocus?: InputHTMLAttributes["autofocus"];
11
+ autofocus?: InputHTMLAttributes['autofocus'];
12
12
  /**
13
13
  * Sets the display model for selected values to a list
14
14
  * of comma separated string. In this mode the user
@@ -18,7 +18,7 @@ export type BbTagProps = {
18
18
  /**
19
19
  * Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.
20
20
  */
21
- direction?: "horizontal" | "vertical" | "auto" | string;
21
+ direction?: 'horizontal' | 'vertical' | 'auto' | string;
22
22
  /**
23
23
  * Disables the component
24
24
  */
@@ -26,7 +26,7 @@ export type BbTagProps = {
26
26
  /**
27
27
  * The divider key used to separate values from one another. By default it is "Enter"
28
28
  */
29
- divider?: KeyboardEvent["key"];
29
+ divider?: KeyboardEvent['key'];
30
30
  /**
31
31
  * Can be a string or an array of string containing the messages to display.
32
32
  */
@@ -43,7 +43,7 @@ export type BbTagProps = {
43
43
  /**
44
44
  * The identifier of the component.
45
45
  */
46
- id?: HTMLAttributes["id"];
46
+ id?: HTMLAttributes['id'];
47
47
  /**
48
48
  * Text content of the label of the element.
49
49
  */
@@ -51,7 +51,7 @@ export type BbTagProps = {
51
51
  /**
52
52
  * Sets the text alignment of the label.
53
53
  */
54
- labelPosition?: "left" | "center" | "right";
54
+ labelPosition?: 'left' | 'center' | 'right';
55
55
  /**
56
56
  * Used by v-model. Can be any serializable type.
57
57
  */
@@ -63,15 +63,15 @@ export type BbTagProps = {
63
63
  /**
64
64
  * Defines the name of the input.
65
65
  */
66
- name?: InputHTMLAttributes["name"];
66
+ name?: InputHTMLAttributes['name'];
67
67
  /**
68
68
  * String displayed when there's no data.
69
69
  */
70
- placeholder?: InputHTMLAttributes["placeholder"];
70
+ placeholder?: InputHTMLAttributes['placeholder'];
71
71
  /**
72
72
  * Sets the input in a readonly state.
73
73
  */
74
- readonly?: InputHTMLAttributes["readonly"];
74
+ readonly?: InputHTMLAttributes['readonly'];
75
75
  /**
76
76
  * Reverses the layout. Applicable in every direction the order of the label and the input is swapped.
77
77
  */
@@ -80,9 +80,9 @@ export type BbTagProps = {
80
80
  export type BbTagEvents = BaseTagEvents;
81
81
  export type BbTagSlots = {
82
82
  append?: (props: {}) => any;
83
- "append-outer"?: (props: {}) => any;
83
+ 'append-outer'?: (props: {}) => any;
84
84
  prepend?: (props: {}) => any;
85
- "prepend-outer"?: (props: {}) => any;
85
+ 'prepend-outer'?: (props: {}) => any;
86
86
  label?: (props: {
87
87
  text: string;
88
88
  hasErrors: boolean;
@@ -1,14 +1,14 @@
1
- import type { HTMLAttributes, InputHTMLAttributes } from "vue";
2
- import type { BaseTextInputEvents, BaseTextInputSlots } from "../BaseTextInput/BaseTextInput.vue";
1
+ import type { HTMLAttributes, InputHTMLAttributes } from 'vue';
2
+ import type { BaseTextInputEvents, BaseTextInputSlots } from '../BaseTextInput/BaseTextInput.vue';
3
3
  export type BbTextInputProps = {
4
4
  /**
5
5
  * Guides to the browser as to the type of information expected in the field.
6
6
  */
7
- autocomplete?: InputHTMLAttributes["autocomplete"];
7
+ autocomplete?: InputHTMLAttributes['autocomplete'];
8
8
  /**
9
9
  * Sets autofocus on page load.
10
10
  */
11
- autofocus?: InputHTMLAttributes["autofocus"];
11
+ autofocus?: InputHTMLAttributes['autofocus'];
12
12
  /**
13
13
  * Disables the component
14
14
  */
@@ -21,19 +21,19 @@ export type BbTextInputProps = {
21
21
  /**
22
22
  * The identifier of the component.
23
23
  */
24
- id?: HTMLAttributes["id"];
24
+ id?: HTMLAttributes['id'];
25
25
  /**
26
26
  * Defines the name of the input.
27
27
  */
28
- name?: InputHTMLAttributes["name"];
28
+ name?: InputHTMLAttributes['name'];
29
29
  /**
30
30
  * String displayed when there's no data.
31
31
  */
32
- placeholder?: InputHTMLAttributes["placeholder"];
32
+ placeholder?: InputHTMLAttributes['placeholder'];
33
33
  /**
34
34
  * Sets the input in a readonly state.
35
35
  */
36
- readonly?: InputHTMLAttributes["readonly"];
36
+ readonly?: InputHTMLAttributes['readonly'];
37
37
  /**
38
38
  * Used my v-model
39
39
  */
@@ -41,11 +41,11 @@ export type BbTextInputProps = {
41
41
  /**
42
42
  * Type of the input. Returns the content type of the object.
43
43
  */
44
- type?: HTMLInputElement["type"];
44
+ type?: HTMLInputElement['type'];
45
45
  /**
46
46
  * Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.
47
47
  */
48
- direction?: "horizontal" | "vertical" | "auto" | string;
48
+ direction?: 'horizontal' | 'vertical' | 'auto' | string;
49
49
  /**
50
50
  * Can be a string or an array of string containing the messages to display.
51
51
  */
@@ -61,7 +61,7 @@ export type BbTextInputProps = {
61
61
  /**
62
62
  * Sets the text alignment of the label.
63
63
  */
64
- labelPosition?: "left" | "center" | "right";
64
+ labelPosition?: 'left' | 'center' | 'right';
65
65
  /**
66
66
  * Reverses the layout. Applicable in every direction the order of the label and the input is swapped.
67
67
  */
@@ -1,14 +1,14 @@
1
- import type { BaseTextareaEvents, BaseTextareaSlots } from "../BaseTextarea/BaseTextarea.vue";
2
- import type { HTMLAttributes, InputHTMLAttributes } from "vue";
1
+ import type { BaseTextareaEvents, BaseTextareaSlots } from '../BaseTextarea/BaseTextarea.vue';
2
+ import type { HTMLAttributes, InputHTMLAttributes } from 'vue';
3
3
  export type BbTextareaProps = {
4
4
  /**
5
5
  * Guides to the browser as to the type of information expected in the field.
6
6
  */
7
- autocomplete?: InputHTMLAttributes["autocomplete"];
7
+ autocomplete?: InputHTMLAttributes['autocomplete'];
8
8
  /**
9
9
  * Sets autofocus on page load.
10
10
  */
11
- autofocus?: InputHTMLAttributes["autofocus"];
11
+ autofocus?: InputHTMLAttributes['autofocus'];
12
12
  /**
13
13
  * Expands the textarea to match its content
14
14
  */
@@ -16,7 +16,7 @@ export type BbTextareaProps = {
16
16
  /**
17
17
  * Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.
18
18
  */
19
- direction?: "horizontal" | "vertical" | "auto" | string;
19
+ direction?: 'horizontal' | 'vertical' | 'auto' | string;
20
20
  /**
21
21
  * Disables the component
22
22
  */
@@ -37,7 +37,7 @@ export type BbTextareaProps = {
37
37
  /**
38
38
  * The identifier of the component.
39
39
  */
40
- id?: HTMLAttributes["id"];
40
+ id?: HTMLAttributes['id'];
41
41
  /**
42
42
  * Text content of the label of the element.
43
43
  */
@@ -45,7 +45,7 @@ export type BbTextareaProps = {
45
45
  /**
46
46
  * Sets the text alignment of the label.
47
47
  */
48
- labelPosition?: "left" | "center" | "right";
48
+ labelPosition?: 'left' | 'center' | 'right';
49
49
  /**
50
50
  * Used by v-model
51
51
  */
@@ -53,15 +53,15 @@ export type BbTextareaProps = {
53
53
  /**
54
54
  * Defines the name of the input.
55
55
  */
56
- name?: InputHTMLAttributes["name"];
56
+ name?: InputHTMLAttributes['name'];
57
57
  /**
58
58
  * String displayed when there's no data.
59
59
  */
60
- placeholder?: InputHTMLAttributes["placeholder"];
60
+ placeholder?: InputHTMLAttributes['placeholder'];
61
61
  /**
62
62
  * Sets the input in a readonly state.
63
63
  */
64
- readonly?: InputHTMLAttributes["readonly"];
64
+ readonly?: InputHTMLAttributes['readonly'];
65
65
  /**
66
66
  * Reverses the layout. Applicable in every direction the order of the label and the input is swapped.
67
67
  */
@@ -2,7 +2,7 @@ export type BbToastProps = {
2
2
  /**
3
3
  * Placement of the messages on the screen.
4
4
  */
5
- placement?: "bottom" | "bottom-start" | "bottom-end" | "top" | "top-start" | "top-end";
5
+ placement?: 'bottom' | 'bottom-start' | 'bottom-end' | 'top' | 'top-start' | 'top-end';
6
6
  };
7
7
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbToastProps>, {
8
8
  placement: string;
@@ -1,4 +1,4 @@
1
- import type { Message } from "../../composables/useToast";
1
+ import type { Message } from '../../composables/useToast';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Message>, {
3
3
  theme: string;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -1,10 +1,10 @@
1
1
  import type { CommonProps } from '../../types/CommonProps';
2
- import type { Placement } from "@floating-ui/vue";
3
- export type BbTooltipProps = Pick<CommonProps, "arrowPadding" | "block" | "disabled" | "eager" | "id" | "padding" | "placement" | "showClose" | "theme" | "transitionDuration">;
2
+ import type { Placement } from '@floating-ui/vue';
3
+ export type BbTooltipProps = Pick<CommonProps, 'arrowPadding' | 'block' | 'disabled' | 'eager' | 'id' | 'padding' | 'placement' | 'showClose' | 'theme' | 'transitionDuration'>;
4
4
  type BbTooltipSlots = {
5
5
  activator?: (props: {
6
6
  props: {
7
- "aria-describedby": string;
7
+ 'aria-describedby': string;
8
8
  onMouseenter: typeof onMouseenter;
9
9
  onFocus: typeof onFocus;
10
10
  onBlur: typeof closeTooltip;
@@ -11,7 +11,7 @@ export type TreeItem = {
11
11
  */
12
12
  open?: boolean;
13
13
  [key: symbol | string]: any;
14
- } & Pick<BbTreeProps, "expandable">;
14
+ } & Pick<BbTreeProps, 'expandable'>;
15
15
  export type BbTreeProps = {
16
16
  /**
17
17
  * Array containing the tree like structure of the items.