bitboss-ui 0.2.32 → 0.2.34

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 (259) hide show
  1. package/dist/index103.js +2 -2
  2. package/dist/index109.js +1 -1
  3. package/dist/index111.js +4 -4
  4. package/dist/index116.js +1 -1
  5. package/dist/index118.js +1 -1
  6. package/dist/index125.js +1 -1
  7. package/dist/index126.js +1 -1
  8. package/dist/index127.js +1 -1
  9. package/dist/index131.js +2 -2
  10. package/dist/index15.js +8 -8
  11. package/dist/index17.js +9 -9
  12. package/dist/index19.js +3 -3
  13. package/dist/index199.js +10 -295
  14. package/dist/index199.js.map +1 -1
  15. package/dist/index200.js +3 -16
  16. package/dist/index200.js.map +1 -1
  17. package/dist/index201.js +3 -16
  18. package/dist/index201.js.map +1 -1
  19. package/dist/index202.js +376 -17
  20. package/dist/index202.js.map +1 -1
  21. package/dist/index203.js +131 -17
  22. package/dist/index203.js.map +1 -1
  23. package/dist/index204.js +5 -29
  24. package/dist/index204.js.map +1 -1
  25. package/dist/index205.js +19 -8
  26. package/dist/index205.js.map +1 -1
  27. package/dist/index206.js +2 -2
  28. package/dist/index206.js.map +1 -1
  29. package/dist/index207.js +2 -235
  30. package/dist/index207.js.map +1 -1
  31. package/dist/index208.js +174 -3
  32. package/dist/index208.js.map +1 -1
  33. package/dist/index209.js +23 -35
  34. package/dist/index209.js.map +1 -1
  35. package/dist/index21.js +2 -2
  36. package/dist/index210.js +373 -6
  37. package/dist/index210.js.map +1 -1
  38. package/dist/index211.js +16 -10
  39. package/dist/index211.js.map +1 -1
  40. package/dist/index212.js +14 -376
  41. package/dist/index212.js.map +1 -1
  42. package/dist/index213.js +17 -131
  43. package/dist/index213.js.map +1 -1
  44. package/dist/index214.js +29 -2
  45. package/dist/index214.js.map +1 -1
  46. package/dist/index215.js +8 -174
  47. package/dist/index215.js.map +1 -1
  48. package/dist/index216.js +3 -23
  49. package/dist/index216.js.map +1 -1
  50. package/dist/index217.js +31 -369
  51. package/dist/index217.js.map +1 -1
  52. package/dist/index218.js +6 -3
  53. package/dist/index218.js.map +1 -1
  54. package/dist/index219.js +235 -3
  55. package/dist/index219.js.map +1 -1
  56. package/dist/index221.js +8 -27
  57. package/dist/index221.js.map +1 -1
  58. package/dist/index222.js +120 -16
  59. package/dist/index222.js.map +1 -1
  60. package/dist/index224.js +27 -8
  61. package/dist/index224.js.map +1 -1
  62. package/dist/index225.js +16 -120
  63. package/dist/index225.js.map +1 -1
  64. package/dist/index226.js +1 -1
  65. package/dist/index229.js +223 -5
  66. package/dist/index229.js.map +1 -1
  67. package/dist/index230.js +258 -2
  68. package/dist/index230.js.map +1 -1
  69. package/dist/index231.js +6 -2
  70. package/dist/index231.js.map +1 -1
  71. package/dist/index232.js +2 -2
  72. package/dist/index233.js +295 -2
  73. package/dist/index233.js.map +1 -1
  74. package/dist/index234.js +2 -2
  75. package/dist/index236.js +110 -428
  76. package/dist/index236.js.map +1 -1
  77. package/dist/index237.js +105 -88
  78. package/dist/index237.js.map +1 -1
  79. package/dist/index238.js +2 -200
  80. package/dist/index238.js.map +1 -1
  81. package/dist/index239.js +2 -224
  82. package/dist/index239.js.map +1 -1
  83. package/dist/index240.js +2 -258
  84. package/dist/index240.js.map +1 -1
  85. package/dist/index241.js +2 -2
  86. package/dist/index242.js +428 -110
  87. package/dist/index242.js.map +1 -1
  88. package/dist/index243.js +88 -105
  89. package/dist/index243.js.map +1 -1
  90. package/dist/index244.js +197 -157
  91. package/dist/index244.js.map +1 -1
  92. package/dist/index245.js +160 -2
  93. package/dist/index245.js.map +1 -1
  94. package/dist/index246.js +2 -69
  95. package/dist/index246.js.map +1 -1
  96. package/dist/index248.js +69 -2
  97. package/dist/index248.js.map +1 -1
  98. package/dist/index249.js +14 -37
  99. package/dist/index249.js.map +1 -1
  100. package/dist/index250.js +38 -2
  101. package/dist/index250.js.map +1 -1
  102. package/dist/index251.js +2 -2
  103. package/dist/index251.js.map +1 -1
  104. package/dist/index252.js +2 -15
  105. package/dist/index252.js.map +1 -1
  106. package/dist/index253.js +2 -3
  107. package/dist/index253.js.map +1 -1
  108. package/dist/index254.js +3 -2
  109. package/dist/index254.js.map +1 -1
  110. package/dist/index255.js +2 -2
  111. package/dist/index255.js.map +1 -1
  112. package/dist/index256.js +5 -0
  113. package/dist/index256.js.map +1 -0
  114. package/dist/index29.js +1 -1
  115. package/dist/index31.js +306 -292
  116. package/dist/index31.js.map +1 -1
  117. package/dist/index65.js +5 -5
  118. package/dist/index69.js +2 -2
  119. package/dist/index72.js +1 -1
  120. package/dist/index75.js +1 -1
  121. package/dist/index79.js +4 -4
  122. package/dist/index91.js +9 -7
  123. package/dist/index91.js.map +1 -1
  124. package/dist/{components → src/components}/BaseSelect/BaseSelect.vue.d.ts +13 -6
  125. package/dist/{components → src/components}/BbSelect/BbSelect.vue.d.ts +13 -6
  126. package/dist/{components → src/components}/BbTab/BbTab.vue.d.ts +5 -5
  127. package/dist/style.css +1 -1
  128. package/package.json +1 -1
  129. package/dist/{components → src/components}/BaseButton/BaseButton.vue.d.ts +0 -0
  130. package/dist/{components → src/components}/BaseCheckbox/BaseCheckbox.vue.d.ts +0 -0
  131. package/dist/{components → src/components}/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +0 -0
  132. package/dist/{components → src/components}/BaseDatePicker/BaseDatePicker.vue.d.ts +1 -1
  133. package/dist/{components → src/components}/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +0 -0
  134. package/dist/{components → src/components}/BaseDialog/BaseDialog.vue.d.ts +3 -3
  135. package/dist/{components → src/components}/BaseInputContainer/BaseInputContainer.vue.d.ts +0 -0
  136. package/dist/{components → src/components}/BaseNumberInput/BaseNumberInput.vue.d.ts +0 -0
  137. package/dist/{components → src/components}/BaseRadio/BaseRadio.vue.d.ts +0 -0
  138. package/dist/{components → src/components}/BaseRadioGroup/BaseRadioGroup.vue.d.ts +0 -0
  139. package/dist/{components → src/components}/BaseRating/BaseRating.vue.d.ts +0 -0
  140. package/dist/{components → src/components}/BaseSlider/BaseSlider.vue.d.ts +2 -2
  141. package/dist/{components → src/components}/BaseSwitch/BaseSwitch.vue.d.ts +0 -0
  142. package/dist/{components → src/components}/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +0 -0
  143. package/dist/{components → src/components}/BaseTag/BaseTag.vue.d.ts +0 -0
  144. package/dist/{components → src/components}/BaseTextInput/BaseTextInput.vue.d.ts +0 -0
  145. package/dist/{components → src/components}/BaseTextarea/BaseTextarea.vue.d.ts +0 -0
  146. package/dist/{components → src/components}/BbAccordion/BbAccordion.vue.d.ts +0 -0
  147. package/dist/{components → src/components}/BbAlert/BbAlert.vue.d.ts +0 -0
  148. package/dist/{components → src/components}/BbAvatar/BbAvatar.vue.d.ts +0 -0
  149. package/dist/{components → src/components}/BbBadge/BbBadge.vue.d.ts +0 -0
  150. package/dist/{components → src/components}/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +0 -0
  151. package/dist/{components → src/components}/BbButton/BbButton.vue.d.ts +0 -0
  152. package/dist/{components → src/components}/BbCheckbox/BbCheckbox.vue.d.ts +0 -0
  153. package/dist/{components → src/components}/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +0 -0
  154. package/dist/{components → src/components}/BbChip/BbChip.vue.d.ts +0 -0
  155. package/dist/{components → src/components}/BbCollapsible/BbCollapsible.vue.d.ts +0 -0
  156. package/dist/{components → src/components}/BbConfirm/BbConfirm.vue.d.ts +0 -0
  157. package/dist/{components → src/components}/BbDatePickerInput/BbDatePickerInput.vue.d.ts +0 -0
  158. package/dist/{components → src/components}/BbDialog/BbDialog.vue.d.ts +2 -2
  159. package/dist/{components → src/components}/BbDropdown/BbDropdown.vue.d.ts +1 -1
  160. package/dist/{components → src/components}/BbDropdownButton/BbDropdownButton.vue.d.ts +0 -0
  161. package/dist/{components → src/components}/BbDropzone/BbDropzone.vue.d.ts +0 -0
  162. package/dist/{components → src/components}/BbHover/BbHover.vue.d.ts +0 -0
  163. package/dist/{components → src/components}/BbIcon/BbIcon.vue.d.ts +0 -0
  164. package/dist/{components → src/components}/BbIntersection/BbIntersection.vue.d.ts +1 -1
  165. package/dist/{components → src/components}/BbNumberInput/BbNumberInput.vue.d.ts +0 -0
  166. package/dist/{components → src/components}/BbOffCanvas/BbOffCanvas.vue.d.ts +4 -4
  167. package/dist/{components → src/components}/BbPagination/BbPagination.vue.d.ts +0 -0
  168. package/dist/{components → src/components}/BbPopover/BbPopover.vue.d.ts +3 -3
  169. package/dist/{components → src/components}/BbProgress/BbProgress.vue.d.ts +0 -0
  170. package/dist/{components → src/components}/BbRadio/BbRadio.vue.d.ts +0 -0
  171. package/dist/{components → src/components}/BbRadioGroup/BbRadioGroup.vue.d.ts +0 -0
  172. package/dist/{components → src/components}/BbRating/BbRating.vue.d.ts +0 -0
  173. package/dist/{components → src/components}/BbRatio/BbRatio.vue.d.ts +0 -0
  174. package/dist/{components → src/components}/BbSlider/BbSlider.vue.d.ts +1 -1
  175. package/dist/{components → src/components}/BbSmoothHeight/BbSmoothHeight.vue.d.ts +2 -2
  176. package/dist/{components → src/components}/BbSpinner/BbSpinner.vue.d.ts +0 -0
  177. package/dist/{components → src/components}/BbSwitch/BbSwitch.vue.d.ts +0 -0
  178. package/dist/{components → src/components}/BbSwitchGroup/BbSwitchGroup.vue.d.ts +0 -0
  179. package/dist/{components → src/components}/BbTable/BbTable.vue.d.ts +0 -0
  180. package/dist/{components → src/components}/BbTable/types.d.ts +0 -0
  181. package/dist/{components → src/components}/BbTag/BbTag.vue.d.ts +0 -0
  182. package/dist/{components → src/components}/BbTextInput/BbTextInput.vue.d.ts +0 -0
  183. package/dist/{components → src/components}/BbTextarea/BbTextarea.vue.d.ts +0 -0
  184. package/dist/{components → src/components}/BbToast/BbToast.vue.d.ts +0 -0
  185. package/dist/{components → src/components}/BbToast/BbToastMessage.vue.d.ts +0 -0
  186. package/dist/{components → src/components}/BbTooltip/BbTooltip.vue.d.ts +2 -2
  187. /package/dist/{components → src/components}/BbTree/BbTree.vue.d.ts +0 -0
  188. /package/dist/{composables → src/composables}/useBroadcastChannelInstance.d.ts +0 -0
  189. /package/dist/{composables → src/composables}/useConfirm.d.ts +0 -0
  190. /package/dist/{composables → src/composables}/useCountdown.d.ts +0 -0
  191. /package/dist/{composables → src/composables}/useId.d.ts +0 -0
  192. /package/dist/{composables → src/composables}/useItemText.d.ts +0 -0
  193. /package/dist/{composables → src/composables}/useItemValue.d.ts +0 -0
  194. /package/dist/{composables → src/composables}/useOptions.d.ts +0 -0
  195. /package/dist/{composables → src/composables}/useRoute.d.ts +0 -0
  196. /package/dist/{composables → src/composables}/useRouter.d.ts +0 -0
  197. /package/dist/{composables → src/composables}/useToast.d.ts +0 -0
  198. /package/dist/{composables → src/composables}/useWizard.d.ts +0 -0
  199. /package/dist/{index.d.ts → src/index.d.ts} +0 -0
  200. /package/dist/{types → src/types}/Classes.d.ts +0 -0
  201. /package/dist/{types → src/types}/CommonProps.d.ts +0 -0
  202. /package/dist/{types → src/types}/ExtractGenericFromComputedRef.d.ts +0 -0
  203. /package/dist/{types → src/types}/ExtractGenericFromRef.d.ts +0 -0
  204. /package/dist/{types → src/types}/NestedKeyOf.d.ts +0 -0
  205. /package/dist/{types → src/types}/Simplify.d.ts +0 -0
  206. /package/dist/{types → src/types}/VoidHtmlElements.d.ts +0 -0
  207. /package/dist/{utilities → src/utilities}/functions/add.d.ts +0 -0
  208. /package/dist/{utilities → src/utilities}/functions/booleanishToBoolean.d.ts +0 -0
  209. /package/dist/{utilities → src/utilities}/functions/capitalize.d.ts +0 -0
  210. /package/dist/{utilities → src/utilities}/functions/clamp.d.ts +0 -0
  211. /package/dist/{utilities → src/utilities}/functions/cloneDeep.d.ts +0 -0
  212. /package/dist/{utilities → src/utilities}/functions/curry.d.ts +0 -0
  213. /package/dist/{utilities → src/utilities}/functions/debounce.d.ts +0 -0
  214. /package/dist/{utilities → src/utilities}/functions/deburr.d.ts +0 -0
  215. /package/dist/{utilities → src/utilities}/functions/drop.d.ts +0 -0
  216. /package/dist/{utilities → src/utilities}/functions/empty.d.ts +0 -0
  217. /package/dist/{utilities → src/utilities}/functions/findInTree.d.ts +0 -0
  218. /package/dist/{utilities → src/utilities}/functions/findRight.d.ts +0 -0
  219. /package/dist/{utilities → src/utilities}/functions/findRightIndex.d.ts +0 -0
  220. /package/dist/{utilities → src/utilities}/functions/flattenTree.d.ts +0 -0
  221. /package/dist/{utilities → src/utilities}/functions/flow.d.ts +0 -0
  222. /package/dist/{utilities → src/utilities}/functions/get.d.ts +0 -0
  223. /package/dist/{utilities → src/utilities}/functions/groupBy.d.ts +0 -0
  224. /package/dist/{utilities → src/utilities}/functions/gt.d.ts +0 -0
  225. /package/dist/{utilities → src/utilities}/functions/head.d.ts +0 -0
  226. /package/dist/{utilities → src/utilities}/functions/identity.d.ts +0 -0
  227. /package/dist/{utilities → src/utilities}/functions/includes.d.ts +0 -0
  228. /package/dist/{utilities → src/utilities}/functions/indexBy.d.ts +0 -0
  229. /package/dist/{utilities → src/utilities}/functions/initial.d.ts +0 -0
  230. /package/dist/{utilities → src/utilities}/functions/isCssColor.d.ts +0 -0
  231. /package/dist/{utilities → src/utilities}/functions/isNil.d.ts +0 -0
  232. /package/dist/{utilities → src/utilities}/functions/isNotNil.d.ts +0 -0
  233. /package/dist/{utilities → src/utilities}/functions/last.d.ts +0 -0
  234. /package/dist/{utilities → src/utilities}/functions/lt.d.ts +0 -0
  235. /package/dist/{utilities → src/utilities}/functions/makeUrl.d.ts +0 -0
  236. /package/dist/{utilities → src/utilities}/functions/mapKeys.d.ts +0 -0
  237. /package/dist/{utilities → src/utilities}/functions/mapValues.d.ts +0 -0
  238. /package/dist/{utilities → src/utilities}/functions/matchesPropertyInsensitive.d.ts +0 -0
  239. /package/dist/{utilities → src/utilities}/functions/mean.d.ts +0 -0
  240. /package/dist/{utilities → src/utilities}/functions/merge.d.ts +0 -0
  241. /package/dist/{utilities → src/utilities}/functions/millisecondsTo.d.ts +0 -0
  242. /package/dist/{utilities → src/utilities}/functions/negate.d.ts +0 -0
  243. /package/dist/{utilities → src/utilities}/functions/noop.d.ts +0 -0
  244. /package/dist/{utilities → src/utilities}/functions/omit.d.ts +0 -0
  245. /package/dist/{utilities → src/utilities}/functions/overEvery.d.ts +0 -0
  246. /package/dist/{utilities → src/utilities}/functions/percentage.d.ts +0 -0
  247. /package/dist/{utilities → src/utilities}/functions/pick.d.ts +0 -0
  248. /package/dist/{utilities → src/utilities}/functions/pickBy.d.ts +0 -0
  249. /package/dist/{utilities → src/utilities}/functions/replace.d.ts +0 -0
  250. /package/dist/{utilities → src/utilities}/functions/replaceInTree.d.ts +0 -0
  251. /package/dist/{utilities → src/utilities}/functions/retry.d.ts +0 -0
  252. /package/dist/{utilities → src/utilities}/functions/roundToTheNearest.d.ts +0 -0
  253. /package/dist/{utilities → src/utilities}/functions/set.d.ts +0 -0
  254. /package/dist/{utilities → src/utilities}/functions/snakeCase.d.ts +0 -0
  255. /package/dist/{utilities → src/utilities}/functions/throttle.d.ts +0 -0
  256. /package/dist/{utilities → src/utilities}/functions/tryTo.d.ts +0 -0
  257. /package/dist/{utilities → src/utilities}/functions/wait.d.ts +0 -0
  258. /package/dist/{utilities → src/utilities}/functions/waitFor.d.ts +0 -0
  259. /package/dist/{utilities → src/utilities}/functions/when.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index91.js","sources":["../src/components/BbSelect/BbSelect.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, mergeProps as _mergeProps, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport BaseInputContainer from '../BaseInputContainer/BaseInputContainer.vue';\nimport BaseSelect from '../BaseSelect/BaseSelect.vue';\nimport type { BaseSelectEvents } from '../BaseSelect/BaseSelect.vue';\nimport type { NestedKeyOf } from '@/types/NestedKeyOf';\nimport type { HTMLAttributes, InputHTMLAttributes } from 'vue';\n\nexport type BbSelectProps<T> = {\n\t/**\n\t * Allows the user to add options to the list by\n\t * inserting text in the input and pressing ENTER.\n\t * The value and text of the option generated is a\n\t * string equal to what has been inserted.\n\t */\n\taddOptions?: boolean;\n\n\t/**\n\t * Allows typing into the input.\n\t */\n\tallowWriting?: boolean;\n\n\t/**\n\t * Guides to the browser as to the type of information expected in the field.\n\t */\n\tautocomplete?: InputHTMLAttributes['autocomplete'];\n\n\t/**\n\t * Sets autofocus on page load.\n\t */\n\tautofocus?: InputHTMLAttributes['autofocus'];\n\n\t/**\n\t * Sets the display model for selected values to a list\n\t * of comma separated string. In this mode the user\n\t * cannot deselect an option by pressing the close button.\n\t */\n\tcomma?: boolean;\n\n\t/**\n\t * Defines an array of dependencies that will trigger actions in the component upon change.\n\t */\n\tdependencies?: any[];\n\n\t/**\n\t * Timeout used to debounce response to changes to dependencies.\n\t */\n\tdepsDebounceTime?: number;\n\n\t/**\n\t * Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.\n\t */\n\tdirection?: 'horizontal' | 'vertical' | 'auto' | string;\n\n\t/**\n\t * Disables the component\n\t */\n\tdisabled?: boolean;\n\n\t/**\n\t * If coherence is enforce the input cannot have a modelValue the is incoherent with its current items.\n\t *\n\t * e.g. You cannot set v-model to a user that is not present in the items passed.\n\t *\n\t * modelValue will be reset upon incoherence.\n\t */\n\tenforceCoherence?: boolean;\n\n\t/**\n\t * Can be a string or an array of string containing the messages to display.\n\t */\n\terrors?: string | string[];\n\n\t/**\n\t * Defines how the filtering should work.\n\t * In any case options are always filtered by the text displayed but\n\t * they can also take into account other properties of the\n\t * passed elements when this property is a string or an array of string.\n\t * E.g. items could be a list of users and you can filter users by email or phone by passing `['email', 'phone']`\n\t * You can also pass false to not filter anything or a function for more granular control.\n\t *\n\t */\n\tfilterBy?:\n\t\t| string\n\t\t| string[]\n\t\t| false\n\t\t| ((value: any, item: T) => boolean)\n\t\t| null;\n\n\t/**\n\t * Define if the component should be in an error state.\n\t * It usually attaches a CSS class for styling purposes.\n\t */\n\thasErrors?: boolean;\n\n\t/**\n\t * Visually hides the label of the input while maintaining accessibility.\n\t */\n\thideLabel?: boolean;\n\n\t/**\n\t * The identifier of the component.\n\t */\n\tid?: HTMLAttributes['id'];\n\n\t/**\n\t * Used to retrieve items can be an array or a function.\n\t */\n\titems:\n\t\t| T[]\n\t\t| ((query: string, prefill: boolean, modelValue: any) => Promise<T[]>)\n\t\t| ((query: string, prefill: boolean, modelValue: any) => T[]);\n\n\t/**\n\t * Defines a path that returns a property of the object to use as text or a function that returns a string\n\t */\n\titemText?: T extends object\n\t\t? NestedKeyOf<T> | ((item: T) => string)\n\t\t: ((item: T) => string) | undefined;\n\n\t/**\n\t * Defines a path that returns a property of the object to use as value or a function that returns any value\n\t */\n\titemValue?: T extends object\n\t\t? NestedKeyOf<T> | ((item: T) => string)\n\t\t: ((item: T) => any) | undefined;\n\n\t/**\n\t * Text content of the label of the element.\n\t */\n\tlabel: string;\n\n\t/**\n\t * Sets the text alignment of the label.\n\t */\n\tlabelPosition?: 'left' | 'center' | 'right';\n\n\t/**\n\t * String displayed while items are being loaded.\n\t */\n\tloadingText?: string;\n\n\t/**\n\t * Defines the strategy used to understand whether an option has been selected.\n\t * `string` is 40% faster but relies on property order.\n\t * `equality` is more reliable but is slower.\n\t */\n\tmatchStrategy?: 'string' | 'equality';\n\n\t/**\n\t * Used by v-model. Can be any serializable type.\n\t */\n\tmodelValue: any;\n\n\t/**\n\t * Timeout used to debounce response to changes to modelValue.\n\t */\n\tmodelValueDebounceTime?: number;\n\n\t/**\n\t * Allows the selection of multiple items.\n\t */\n\tmultiple?: boolean;\n\n\t/**\n\t * Defines the name of the input.\n\t */\n\tname?: InputHTMLAttributes['name'];\n\n\t/**\n\t * String displayed when there are no items to display.\n\t */\n\tnoDataText?: string;\n\n\t/**\n\t * String displayed when there's no data.\n\t */\n\tplaceholder?: InputHTMLAttributes['placeholder'];\n\n\t/**\n\t * Defines the prefill strategy for the input. By default the input will prefill\n\t * on focus. It can also always prefill with `true` and only prefill on search with `false`.\n\t */\n\tprefill?: boolean | 'focus';\n\n\t/**\n\t * Time to wait when the users stops writing in the input before querying data.\n\t * Especially useful when searching live data on big datasets.\n\t */\n\tqueryDebounceTime?: number;\n\n\t/**\n\t * Sets the input in a readonly state.\n\t */\n\treadonly?: InputHTMLAttributes['readonly'];\n\n\t/**\n\t * If `true` when in multiple selection, reset the query immediately\n\t * upon selecting an option. By default the query is\n\t * not reset until focus is lost so the user can search\n\t * for \"Cath\" and select \"Cathy\" and then write more to\n\t * search for \"Catherine\"\n\t */\n\tresetQueryOnOptionSelected?: boolean;\n\n\t/**\n\t * Reverses the layout. Applicable in every direction the order of the label and the input is swapped.\n\t */\n\treverse?: boolean;\n\n\t/**\n\t * Adds a stash to accumulate selected values. Especially\n\t * useful when searching in a big database of items.\n\t * E.g. if you search for \"John\" and then search for \"Richard\"\n\t * you either always return the previous items or you stash them passing `true` to this option.\n\t */\n\tstash?: boolean;\n\n\t/**\n\t * How long the transition has to last in milliseconds\n\t */\n\ttransitionDuration?: number;\n\n\t/**\n\t * Pass `true` if the dropdown is not updating following movement in the UI, like in modals. Very expensive so use with care.\n\t */\n\tupdateOnAnimationFrame?: boolean;\n};\n\nexport type BbSelectEvents = BaseSelectEvents;\n\nexport type BbSelectSlots<T> = {\n\tappend?: (props: {}) => any;\n\n\t'append-outer'?: (props: {}) => any;\n\n\tchevron?: (props: { loading: boolean; shown: boolean }) => any;\n\n\tchip?: (props: {\n\t\tdisabled: boolean;\n\t\thasErrors?: boolean;\n\t\tindex: number;\n\t\titem: T;\n\t\tloading: boolean;\n\t\tmanual: boolean;\n\t\tselected: boolean;\n\t\ttext: string;\n\t\tvalue: any;\n\t}) => any;\n\n\tlabel?: (props: { text: string; hasErrors: boolean }) => any;\n\n\tloading?: (props: { query: string }) => any;\n\n\t'no-data'?: (props: { query: string }) => any;\n\n\toption?: (props: {\n\t\tdisabled: boolean;\n\t\tfocused: boolean;\n\t\thasErrors?: boolean;\n\t\tindex: number;\n\t\titem: T;\n\t\tloading: boolean;\n\t\tmanual: boolean;\n\t\tselected: boolean;\n\t\ttext: string;\n\t\tvalue: any;\n\t}) => any;\n\n\t'option:append'?: (props: { item: T }) => any;\n\n\t'option:prepend'?: (props: { item: T }) => any;\n\n\t'options:append'?: (props: {}) => any;\n\n\t'options:prepend'?: (props: {}) => any;\n\n\tprepend?: (props: {}) => any;\n\n\t'prepend-outer'?: (props: {}) => any;\n\n\tspinner?: (props: { loading: boolean }) => any;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbSelect',\n props: {\n addOptions: { type: Boolean },\n allowWriting: { type: Boolean, default: true },\n autocomplete: {},\n autofocus: {},\n comma: { type: Boolean },\n dependencies: {},\n depsDebounceTime: {},\n direction: {},\n disabled: { type: Boolean },\n enforceCoherence: { type: Boolean },\n errors: {},\n filterBy: { type: [String, Array, Boolean, Function, null] },\n hasErrors: { type: Boolean },\n hideLabel: { type: Boolean },\n id: {},\n items: {},\n itemText: {},\n itemValue: {},\n label: {},\n labelPosition: {},\n loadingText: {},\n matchStrategy: {},\n modelValue: {},\n modelValueDebounceTime: {},\n multiple: { type: Boolean },\n name: {},\n noDataText: {},\n placeholder: {},\n prefill: { type: [Boolean, String], default: 'focus' },\n queryDebounceTime: {},\n readonly: {},\n resetQueryOnOptionSelected: { type: Boolean },\n reverse: { type: Boolean },\n stash: { type: Boolean },\n transitionDuration: {},\n updateOnAnimationFrame: { type: Boolean }\n },\n emits: [\"blur\", \"change\", \"click\", \"focus\", \"inactive\", \"input\", \"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\n\n\nconst emit = __emit;\n\n\nconst eventListeners = {\n\tonBlur: (event: FocusEvent) => emit('blur', event),\n\tonChange: (event: Event) => emit('change', event),\n\tonClick: (event: MouseEvent) => emit('click', event),\n\tonFocus: (event: FocusEvent) => emit('focus', event),\n\tonInactive: () => emit('inactive'),\n\tonInput: (event: Event) => emit('input', event),\n\t'onUpdate:modelValue': (value: any) => emit('update:modelValue', value),\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseInputContainer, {\n id: _ctx.id,\n class: \"bb-select\",\n direction: _ctx.direction,\n errors: _ctx.errors,\n \"has-errors\": _ctx.hasErrors,\n \"hide-label\": _ctx.hideLabel,\n label: _ctx.label,\n \"label-position\": _ctx.labelPosition,\n \"model-value\": _ctx.modelValue,\n name: _ctx.name,\n reverse: _ctx.reverse\n }, {\n label: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"label\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n input: _withCtx(({ id, name, hasErrors }) => [\n _createVNode(BaseSelect, _mergeProps({\n id: id,\n \"add-options\": _ctx.addOptions,\n \"allow-writing\": _ctx.allowWriting,\n autocomplete: _ctx.autocomplete,\n autofocus: _ctx.autofocus,\n comma: _ctx.comma,\n dependencies: _ctx.dependencies,\n \"deps-debounce-time\": _ctx.depsDebounceTime,\n disabled: _ctx.disabled,\n \"enforce-coherence\": _ctx.enforceCoherence,\n \"filter-by\": _ctx.filterBy,\n \"has-errors\": hasErrors,\n \"item-text\": _ctx.itemText as any,\n \"item-value\": _ctx.itemValue as any,\n items: _ctx.items,\n \"loading-text\": _ctx.loadingText,\n \"match-strategy\": _ctx.matchStrategy,\n \"model-value\": _ctx.modelValue,\n \"model-value-debounce-time\": _ctx.modelValueDebounceTime,\n multiple: _ctx.multiple,\n name: name,\n \"no-data-text\": _ctx.noDataText,\n placeholder: _ctx.placeholder,\n prefill: _ctx.prefill,\n \"query-debounce-time\": _ctx.queryDebounceTime,\n readonly: _ctx.readonly,\n \"reset-query-on-option-selected\": _ctx.resetQueryOnOptionSelected,\n stash: _ctx.stash,\n \"transition-duration\": _ctx.transitionDuration,\n \"update-on-animation-frame\": _ctx.updateOnAnimationFrame\n }, eventListeners), {\n \"append-outer\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"append-outer\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n append: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"append\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n chevron: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"chevron\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n loading: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"loading\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"no-data\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"no-data\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"option:append\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"option:append\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"option:prepend\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"option:prepend\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n option: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"option\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"options:append\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"options:append\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"options:prepend\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"options:prepend\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"prepend-outer\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"prepend-outer\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n prepend: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"prepend\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n spinner: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"spinner\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n chip: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"chip\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n _: 2\n }, 1040, [\"id\", \"add-options\", \"allow-writing\", \"autocomplete\", \"autofocus\", \"comma\", \"dependencies\", \"deps-debounce-time\", \"disabled\", \"enforce-coherence\", \"filter-by\", \"has-errors\", \"item-text\", \"item-value\", \"items\", \"loading-text\", \"match-strategy\", \"model-value\", \"model-value-debounce-time\", \"multiple\", \"name\", \"no-data-text\", \"placeholder\", \"prefill\", \"query-debounce-time\", \"readonly\", \"reset-query-on-option-selected\", \"stash\", \"transition-duration\", \"update-on-animation-frame\"])\n ]),\n _: 3\n }, 8, [\"id\", \"direction\", \"errors\", \"has-errors\", \"hide-label\", \"label\", \"label-position\", \"model-value\", \"name\", \"reverse\"]))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","emit","eventListeners","event","value","_ctx","_cache","_openBlock","_createBlock","BaseInputContainer","_withCtx","data","_renderSlot","_normalizeProps","_guardReactiveProps","id","name","hasErrors","_createVNode","BaseSelect","_mergeProps"],"mappings":";;;;;AA8RA,MAA4BA,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,YAAY,EAAE,MAAM,QAAQ;AAAA,IAC5B,cAAc,EAAE,MAAM,SAAS,SAAS,GAAK;AAAA,IAC7C,cAAc,CAAC;AAAA,IACf,WAAW,CAAC;AAAA,IACZ,OAAO,EAAE,MAAM,QAAQ;AAAA,IACvB,cAAc,CAAC;AAAA,IACf,kBAAkB,CAAC;AAAA,IACnB,WAAW,CAAC;AAAA,IACZ,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,kBAAkB,EAAE,MAAM,QAAQ;AAAA,IAClC,QAAQ,CAAC;AAAA,IACT,UAAU,EAAE,MAAM,CAAC,QAAQ,OAAO,SAAS,UAAU,IAAI,EAAE;AAAA,IAC3D,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,IAAI,CAAC;AAAA,IACL,OAAO,CAAC;AAAA,IACR,UAAU,CAAC;AAAA,IACX,WAAW,CAAC;AAAA,IACZ,OAAO,CAAC;AAAA,IACR,eAAe,CAAC;AAAA,I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AgBC,EAAoBH,CAAI,CAAC,CAAC;AAAA,UAAA,CACvF;AAAA,UACD,iBAAiBD,EAAS,CAACC,MAAS;AAAA,YAClCC,EAAYP,EAAK,QAAQ,iBAAiBQ,EAAgBC,EAAoBH,CAAI,CAAC,CAAC;AAAA,UAAA,CACrF;AAAA,UACD,SAASD,EAAS,CAACC,MAAS;AAAA,YAC1BC,EAAYP,EAAK,QAAQ,WAAWQ,EAAgBC,EAAoBH,CAAI,CAAC,CAAC;AAAA,UAAA,CAC/E;AAAA,UACD,SAASD,EAAS,CAACC,MAAS;AAAA,YAC1BC,EAAYP,EAAK,QAAQ,WAAWQ,EAAgBC,EAAoBH,CAAI,CAAC,CAAC;AAAA,UAAA,CAC/E;AAAA,UACD,MAAMD,EAAS,CAACC,MAAS;AAAA,YACvBC,EAAYP,EAAK,QAAQ,QAAQQ,EAAgBC,EAAoBH,CAAI,CAAC,CAAC;AAAA,UAAA,CAC5E;AAAA,UACD,GAAG;AAAA,QAAA,GACF,MAAM,CAAC,MAAM,eAAe,iBAAiB,gBAAgB,aAAa,SAAS,gBAAgB,sBAAsB,YAAY,qBAAqB,aAAa,cAAc,aAAa,cAAc,SAAS,gBAAgB,kBAAkB,eAAe,6BAA6B,YAAY,QAAQ,gBAAgB,eAAe,WAAW,uBAAuB,YAAY,kCAAkC,SAAS,uBAAuB,2BAA2B,CAAC;AAAA,MAAA,CAC1e;AAAA,MACD,GAAG;AAAA,IACF,GAAA,GAAG,CAAC,MAAM,aAAa,UAAU,cAAc,cAAc,SAAS,kBAAkB,eAAe,QAAQ,SAAS,CAAC;AAAA,EAE9H;AAEA,CAAC;"}
1
+ {"version":3,"file":"index91.js","sources":["../src/components/BbSelect/BbSelect.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, mergeProps as _mergeProps, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport BaseInputContainer from '../BaseInputContainer/BaseInputContainer.vue';\nimport BaseSelect from '../BaseSelect/BaseSelect.vue';\nimport type { BaseSelectEvents } from '../BaseSelect/BaseSelect.vue';\nimport type { NestedKeyOf } from '@/types/NestedKeyOf';\nimport type { HTMLAttributes, InputHTMLAttributes } from 'vue';\n\nexport type BbSelectProps<T> = {\n\t/**\n\t * Allows the user to add options to the list by\n\t * inserting text in the input and pressing ENTER.\n\t * The value and text of the option generated is a\n\t * string equal to what has been inserted.\n\t */\n\taddOptions?: boolean;\n\n\t/**\n\t * Allows typing into the input.\n\t */\n\tallowWriting?: boolean;\n\n\t/**\n\t * Guides to the browser as to the type of information expected in the field.\n\t */\n\tautocomplete?: InputHTMLAttributes['autocomplete'];\n\n\t/**\n\t * Sets autofocus on page load.\n\t */\n\tautofocus?: InputHTMLAttributes['autofocus'];\n\n\t/**\n\t * Sets the display model for selected values to a list\n\t * of comma separated string. In this mode the user\n\t * cannot deselect an option by pressing the close button.\n\t */\n\tcomma?: boolean;\n\n\t/**\n\t * Used to log messages for debugging.\n\t */\n\tdebug?: boolean;\n\n\t/**\n\t * Defines an array of dependencies that will trigger actions in the component upon change.\n\t */\n\tdependencies?: any[];\n\n\t/**\n\t * Timeout used to debounce response to changes to dependencies.\n\t */\n\tdepsDebounceTime?: number;\n\n\t/**\n\t * Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.\n\t */\n\tdirection?: 'horizontal' | 'vertical' | 'auto' | string;\n\n\t/**\n\t * Disables the component\n\t */\n\tdisabled?: boolean;\n\n\t/**\n\t * If coherence is enforce the input cannot have a modelValue the is incoherent with its current items.\n\t *\n\t * e.g. You cannot set v-model to a user that is not present in the items passed.\n\t *\n\t * modelValue will be reset upon incoherence.\n\t */\n\tenforceCoherence?: boolean;\n\n\t/**\n\t * Can be a string or an array of string containing the messages to display.\n\t */\n\terrors?: string | string[];\n\n\t/**\n\t * Defines how the filtering should work.\n\t * In any case options are always filtered by the text displayed but\n\t * they can also take into account other properties of the\n\t * passed elements when this property is a string or an array of string.\n\t * E.g. items could be a list of users and you can filter users by email or phone by passing `['email', 'phone']`\n\t * You can also pass false to not filter anything or a function for more granular control.\n\t *\n\t */\n\tfilterBy?:\n\t\t| string\n\t\t| string[]\n\t\t| false\n\t\t| ((value: any, item: T) => boolean)\n\t\t| null;\n\n\t/**\n\t * Define if the component should be in an error state.\n\t * It usually attaches a CSS class for styling purposes.\n\t */\n\thasErrors?: boolean;\n\n\t/**\n\t * Visually hides the label of the input while maintaining accessibility.\n\t */\n\thideLabel?: boolean;\n\n\t/**\n\t * The identifier of the component.\n\t */\n\tid?: HTMLAttributes['id'];\n\n\t/**\n\t * Used to retrieve items can be an array or a function.\n\t */\n\titems:\n\t\t| T[]\n\t\t| ((query: string, prefill: boolean, modelValue: any) => Promise<T[]>)\n\t\t| ((query: string, prefill: boolean, modelValue: any) => T[]);\n\n\t/**\n\t * Defines a path that returns a property of the object to use as text or a function that returns a string\n\t */\n\titemText?: T extends object\n\t\t? NestedKeyOf<T> | ((item: T) => string)\n\t\t: ((item: T) => string) | undefined;\n\n\t/**\n\t * Defines a path that returns a property of the object to use as value or a function that returns any value\n\t */\n\titemValue?: T extends object\n\t\t? NestedKeyOf<T> | ((item: T) => string)\n\t\t: ((item: T) => any) | undefined;\n\n\t/**\n\t * Text content of the label of the element.\n\t */\n\tlabel: string;\n\n\t/**\n\t * Sets the text alignment of the label.\n\t */\n\tlabelPosition?: 'left' | 'center' | 'right';\n\n\t/**\n\t * String displayed while items are being loaded.\n\t */\n\tloadingText?: string;\n\n\t/**\n\t * Defines the strategy used to understand whether an option has been selected.\n\t * `string` is 40% faster but relies on property order.\n\t * `equality` is more reliable but is slower.\n\t */\n\tmatchStrategy?: 'string' | 'equality';\n\n\t/**\n\t * Used by v-model. Can be any serializable type.\n\t */\n\tmodelValue: any;\n\n\t/**\n\t * Timeout used to debounce response to changes to modelValue.\n\t */\n\tmodelValueDebounceTime?: number;\n\n\t/**\n\t * Allows the selection of multiple items.\n\t */\n\tmultiple?: boolean;\n\n\t/**\n\t * Defines the name of the input.\n\t */\n\tname?: InputHTMLAttributes['name'];\n\n\t/**\n\t * String displayed when there are no items to display.\n\t */\n\tnoDataText?: string;\n\n\t/**\n\t * String displayed when there's no data.\n\t */\n\tplaceholder?: InputHTMLAttributes['placeholder'];\n\n\t/**\n\t * Defines the prefill strategy for the input. By default the input will prefill\n\t * on focus. It can also always prefill with `true` and only prefill on search with `false`.\n\t */\n\tprefill?: boolean | 'focus';\n\n\t/**\n\t * Time to wait when the users stops writing in the input before querying data.\n\t * Especially useful when searching live data on big datasets.\n\t */\n\tqueryDebounceTime?: number;\n\n\t/**\n\t * Sets the input in a readonly state.\n\t */\n\treadonly?: InputHTMLAttributes['readonly'];\n\n\t/**\n\t * If `true` when in multiple selection, reset the query immediately\n\t * upon selecting an option. By default the query is\n\t * not reset until focus is lost so the user can search\n\t * for \"Cath\" and select \"Cathy\" and then write more to\n\t * search for \"Catherine\"\n\t */\n\tresetQueryOnOptionSelected?: boolean;\n\n\t/**\n\t * Reverses the layout. Applicable in every direction the order of the label and the input is swapped.\n\t */\n\treverse?: boolean;\n\n\t/**\n\t * Adds a stash to accumulate selected values. Especially\n\t * useful when searching in a big database of items.\n\t * E.g. if you search for \"John\" and then search for \"Richard\"\n\t * you either always return the previous items or you stash them passing `true` to this option.\n\t */\n\tstash?: boolean;\n\n\t/**\n\t * How long the transition has to last in milliseconds\n\t */\n\ttransitionDuration?: number;\n\n\t/**\n\t * Pass `true` if the dropdown is not updating following movement in the UI, like in modals. Very expensive so use with care.\n\t */\n\tupdateOnAnimationFrame?: boolean;\n};\n\nexport type BbSelectEvents = BaseSelectEvents;\n\nexport type BbSelectSlots<T> = {\n\tappend?: (props: {}) => any;\n\n\t'append-outer'?: (props: {}) => any;\n\n\tchevron?: (props: { loading: boolean; shown: boolean }) => any;\n\n\tchip?: (props: {\n\t\tdisabled: boolean;\n\t\thasErrors?: boolean;\n\t\tindex: number;\n\t\titem: T;\n\t\tloading: boolean;\n\t\tmanual: boolean;\n\t\tselected: boolean;\n\t\ttext: string;\n\t\tvalue: any;\n\t}) => any;\n\n\tlabel?: (props: { text: string; hasErrors: boolean }) => any;\n\n\tloading?: (props: { query: string }) => any;\n\n\t'no-data'?: (props: { query: string }) => any;\n\n\toption?: (props: {\n\t\tdisabled: boolean;\n\t\tfocused: boolean;\n\t\thasErrors?: boolean;\n\t\tindex: number;\n\t\titem: T;\n\t\tloading: boolean;\n\t\tmanual: boolean;\n\t\tselected: boolean;\n\t\ttext: string;\n\t\tvalue: any;\n\t}) => any;\n\n\t'option:append'?: (props: { item: T }) => any;\n\n\t'option:prepend'?: (props: { item: T }) => any;\n\n\t'options:append'?: (props: {}) => any;\n\n\t'options:prepend'?: (props: {}) => any;\n\n\tprepend?: (props: {}) => any;\n\n\t'prepend-outer'?: (props: {}) => any;\n\n\tspinner?: (props: { loading: boolean }) => any;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbSelect',\n props: {\n addOptions: { type: Boolean },\n allowWriting: { type: Boolean, default: true },\n autocomplete: {},\n autofocus: {},\n comma: { type: Boolean },\n debug: { type: Boolean },\n dependencies: {},\n depsDebounceTime: {},\n direction: {},\n disabled: { type: Boolean },\n enforceCoherence: { type: Boolean },\n errors: {},\n filterBy: { type: [String, Array, Boolean, Function, null] },\n hasErrors: { type: Boolean },\n hideLabel: { type: Boolean },\n id: {},\n items: {},\n itemText: {},\n itemValue: {},\n label: {},\n labelPosition: {},\n loadingText: {},\n matchStrategy: {},\n modelValue: {},\n modelValueDebounceTime: {},\n multiple: { type: Boolean },\n name: {},\n noDataText: {},\n placeholder: {},\n prefill: { type: [Boolean, String], default: 'focus' },\n queryDebounceTime: {},\n readonly: {},\n resetQueryOnOptionSelected: { type: Boolean },\n reverse: { type: Boolean },\n stash: { type: Boolean },\n transitionDuration: {},\n updateOnAnimationFrame: { type: Boolean }\n },\n emits: [\"blur\", \"change\", \"click\", \"focus\", \"inactive\", \"input\", \"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\n\n\nconst emit = __emit;\n\n\nconst eventListeners = {\n\tonBlur: (event: FocusEvent) => emit('blur', event),\n\tonChange: (event: Event) => emit('change', event),\n\tonClick: (event: MouseEvent) => emit('click', event),\n\tonFocus: (event: FocusEvent) => emit('focus', event),\n\tonInactive: () => emit('inactive'),\n\tonInput: (event: Event) => emit('input', event),\n\t'onUpdate:modelValue': (value: any) => emit('update:modelValue', value),\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseInputContainer, {\n id: _ctx.id,\n class: \"bb-select\",\n direction: _ctx.direction,\n errors: _ctx.errors,\n \"has-errors\": _ctx.hasErrors,\n \"hide-label\": _ctx.hideLabel,\n label: _ctx.label,\n \"label-position\": _ctx.labelPosition,\n \"model-value\": _ctx.modelValue,\n name: _ctx.name,\n reverse: _ctx.reverse\n }, {\n label: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"label\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n input: _withCtx(({ id, name, hasErrors }) => [\n _createVNode(BaseSelect, _mergeProps({\n id: id,\n \"add-options\": _ctx.addOptions,\n \"allow-writing\": _ctx.allowWriting,\n autocomplete: _ctx.autocomplete,\n autofocus: _ctx.autofocus,\n comma: _ctx.comma,\n debug: _ctx.debug,\n dependencies: _ctx.dependencies,\n \"deps-debounce-time\": _ctx.depsDebounceTime,\n disabled: _ctx.disabled,\n \"enforce-coherence\": _ctx.enforceCoherence,\n \"filter-by\": _ctx.filterBy,\n \"has-errors\": hasErrors,\n \"item-text\": <any>_ctx.itemText,\n \"item-value\": <any>_ctx.itemValue,\n items: _ctx.items,\n \"loading-text\": _ctx.loadingText,\n \"match-strategy\": _ctx.matchStrategy,\n \"model-value\": _ctx.modelValue,\n \"model-value-debounce-time\": _ctx.modelValueDebounceTime,\n multiple: _ctx.multiple,\n name: name,\n \"no-data-text\": _ctx.noDataText,\n placeholder: _ctx.placeholder,\n prefill: _ctx.prefill,\n \"query-debounce-time\": _ctx.queryDebounceTime,\n readonly: _ctx.readonly,\n \"reset-query-on-option-selected\": _ctx.resetQueryOnOptionSelected,\n stash: _ctx.stash,\n \"transition-duration\": _ctx.transitionDuration,\n \"update-on-animation-frame\": _ctx.updateOnAnimationFrame\n }, eventListeners), {\n \"append-outer\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"append-outer\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n append: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"append\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n chevron: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"chevron\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n loading: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"loading\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"no-data\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"no-data\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"option:append\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"option:append\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"option:prepend\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"option:prepend\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n option: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"option\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"options:append\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"options:append\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"options:prepend\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"options:prepend\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"prepend-outer\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"prepend-outer\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n prepend: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"prepend\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n spinner: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"spinner\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n chip: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"chip\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n _: 2\n }, 1040, [\"id\", \"add-options\", \"allow-writing\", \"autocomplete\", \"autofocus\", \"comma\", \"debug\", \"dependencies\", \"deps-debounce-time\", \"disabled\", \"enforce-coherence\", \"filter-by\", \"has-errors\", \"item-text\", \"item-value\", \"items\", \"loading-text\", \"match-strategy\", \"model-value\", \"model-value-debounce-time\", \"multiple\", \"name\", \"no-data-text\", \"placeholder\", \"prefill\", \"query-debounce-time\", \"readonly\", \"reset-query-on-option-selected\", \"stash\", \"transition-duration\", \"update-on-animation-frame\"])\n ]),\n _: 3\n }, 8, [\"id\", \"direction\", \"errors\", \"has-errors\", \"hide-label\", \"label\", \"label-position\", \"model-value\", \"name\", \"reverse\"]))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","emit","eventListeners","event","value","_ctx","_cache","_openBlock","_createBlock","BaseInputContainer","_withCtx","data","_renderSlot","_normalizeProps","_guardReactiveProps","id","name","hasErrors","_createVNode","BaseSelect","_mergeProps"],"mappings":";;;;;AAmSA,MAA4BA,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,YAAY,EAAE,MAAM,QAAQ;AAAA,IAC5B,cAAc,EAAE,MAAM,SAAS,SAAS,GAAK;AAAA,IAC7C,cAAc,CAAC;AAAA,IACf,WAAW,CAAC;AAAA,IACZ,OAAO,EAAE,MAAM,QAAQ;AAAA,IACvB,OAAO,EAAE,MAAM,QAAQ;AAAA,IACvB,cAAc,CAAC;AAAA,IACf,kBAAkB,CAAC;AAAA,IACnB,WAAW,CAAC;AAAA,IACZ,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,kBAAkB,EAAE,MAAM,QAAQ;AAAA,IAClC,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,IACF,GAAA,GAAG,CAAC,MAAM,aAAa,UAAU,cAAc,cAAc,SAAS,kBAAkB,eAAe,QAAQ,SAAS,CAAC;AAAA,EAE9H;AAEA,CAAC;"}
@@ -13,6 +13,10 @@ export type BaseSelectProps<T> = {
13
13
  * Sets autofocus on page load.
14
14
  */
15
15
  autofocus?: InputHTMLAttributes['autofocus'];
16
+ /**
17
+ * Logs messages for debugging purposes.
18
+ */
19
+ debug?: boolean;
16
20
  /**
17
21
  * Defines an array of dependencies that will trigger actions in the component upon change.
18
22
  */
@@ -237,6 +241,7 @@ declare const _default: <T = any>(__VLS_props: {
237
241
  placeholder?: string | undefined;
238
242
  readonly?: (boolean | "true" | "false") | undefined;
239
243
  disabled?: boolean | undefined;
244
+ transitionDuration?: number | undefined;
240
245
  allowWriting?: boolean | undefined;
241
246
  dependencies?: any[] | undefined;
242
247
  depsDebounceTime?: number | undefined;
@@ -249,15 +254,15 @@ declare const _default: <T = any>(__VLS_props: {
249
254
  modelValueDebounceTime?: number | undefined;
250
255
  multiple?: boolean | undefined;
251
256
  noDataText?: string | undefined;
252
- transitionDuration?: number | undefined;
253
257
  modelValue: any;
254
258
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
255
- prefill?: boolean | "focus" | undefined;
256
259
  onInactive?: (() => any) | undefined;
260
+ debug?: boolean | undefined;
257
261
  items: T[] | ((query: string, prefill: boolean, modelValue: any) => Promise<T[]>) | ((query: string, prefill: boolean, modelValue: any) => T[]);
258
262
  addOptions?: boolean | undefined;
259
263
  comma?: boolean | undefined;
260
264
  filterBy?: string | false | string[] | ((value: any, item: T) => boolean) | null | undefined;
265
+ prefill?: boolean | "focus" | undefined;
261
266
  queryDebounceTime?: number | undefined;
262
267
  resetQueryOnOptionSelected?: boolean | undefined;
263
268
  stash?: boolean | undefined;
@@ -280,6 +285,7 @@ declare const _default: <T = any>(__VLS_props: {
280
285
  placeholder?: string | undefined;
281
286
  readonly?: (boolean | "true" | "false") | undefined;
282
287
  disabled?: boolean | undefined;
288
+ transitionDuration?: number | undefined;
283
289
  allowWriting?: boolean | undefined;
284
290
  dependencies?: any[] | undefined;
285
291
  depsDebounceTime?: number | undefined;
@@ -292,15 +298,15 @@ declare const _default: <T = any>(__VLS_props: {
292
298
  modelValueDebounceTime?: number | undefined;
293
299
  multiple?: boolean | undefined;
294
300
  noDataText?: string | undefined;
295
- transitionDuration?: number | undefined;
296
301
  modelValue: any;
297
302
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
298
- prefill?: boolean | "focus" | undefined;
299
303
  onInactive?: (() => any) | undefined;
304
+ debug?: boolean | undefined;
300
305
  items: T[] | ((query: string, prefill: boolean, modelValue: any) => Promise<T[]>) | ((query: string, prefill: boolean, modelValue: any) => T[]);
301
306
  addOptions?: boolean | undefined;
302
307
  comma?: boolean | undefined;
303
308
  filterBy?: string | false | string[] | ((value: any, item: T) => boolean) | null | undefined;
309
+ prefill?: boolean | "focus" | undefined;
304
310
  queryDebounceTime?: number | undefined;
305
311
  resetQueryOnOptionSelected?: boolean | undefined;
306
312
  stash?: boolean | undefined;
@@ -327,6 +333,7 @@ declare const _default: <T = any>(__VLS_props: {
327
333
  placeholder?: string | undefined;
328
334
  readonly?: (boolean | "true" | "false") | undefined;
329
335
  disabled?: boolean | undefined;
336
+ transitionDuration?: number | undefined;
330
337
  allowWriting?: boolean | undefined;
331
338
  dependencies?: any[] | undefined;
332
339
  depsDebounceTime?: number | undefined;
@@ -339,15 +346,15 @@ declare const _default: <T = any>(__VLS_props: {
339
346
  modelValueDebounceTime?: number | undefined;
340
347
  multiple?: boolean | undefined;
341
348
  noDataText?: string | undefined;
342
- transitionDuration?: number | undefined;
343
349
  modelValue: any;
344
350
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
345
- prefill?: boolean | "focus" | undefined;
346
351
  onInactive?: (() => any) | undefined;
352
+ debug?: boolean | undefined;
347
353
  items: T[] | ((query: string, prefill: boolean, modelValue: any) => Promise<T[]>) | ((query: string, prefill: boolean, modelValue: any) => T[]);
348
354
  addOptions?: boolean | undefined;
349
355
  comma?: boolean | undefined;
350
356
  filterBy?: string | false | string[] | ((value: any, item: T) => boolean) | null | undefined;
357
+ prefill?: boolean | "focus" | undefined;
351
358
  queryDebounceTime?: number | undefined;
352
359
  resetQueryOnOptionSelected?: boolean | undefined;
353
360
  stash?: boolean | undefined;
@@ -27,6 +27,10 @@ export type BbSelectProps<T> = {
27
27
  * cannot deselect an option by pressing the close button.
28
28
  */
29
29
  comma?: boolean;
30
+ /**
31
+ * Used to log messages for debugging.
32
+ */
33
+ debug?: boolean;
30
34
  /**
31
35
  * Defines an array of dependencies that will trigger actions in the component upon change.
32
36
  */
@@ -243,6 +247,7 @@ declare const _default: <T = any>(__VLS_props: {
243
247
  readonly?: (boolean | "true" | "false") | undefined;
244
248
  label: string;
245
249
  disabled?: boolean | undefined;
250
+ transitionDuration?: number | undefined;
246
251
  allowWriting?: boolean | undefined;
247
252
  dependencies?: any[] | undefined;
248
253
  depsDebounceTime?: number | undefined;
@@ -260,15 +265,15 @@ declare const _default: <T = any>(__VLS_props: {
260
265
  multiple?: boolean | undefined;
261
266
  noDataText?: string | undefined;
262
267
  reverse?: boolean | undefined;
263
- transitionDuration?: number | undefined;
264
268
  modelValue: any;
265
269
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
266
- prefill?: boolean | "focus" | undefined;
267
270
  onInactive?: (() => any) | undefined;
271
+ debug?: boolean | undefined;
268
272
  items: T[] | ((query: string, prefill: boolean, modelValue: any) => Promise<T[]>) | ((query: string, prefill: boolean, modelValue: any) => T[]);
269
273
  addOptions?: boolean | undefined;
270
274
  comma?: boolean | undefined;
271
275
  filterBy?: string | false | string[] | ((value: any, item: T) => boolean) | null | undefined;
276
+ prefill?: boolean | "focus" | undefined;
272
277
  queryDebounceTime?: number | undefined;
273
278
  resetQueryOnOptionSelected?: boolean | undefined;
274
279
  stash?: boolean | undefined;
@@ -292,6 +297,7 @@ declare const _default: <T = any>(__VLS_props: {
292
297
  readonly?: (boolean | "true" | "false") | undefined;
293
298
  label: string;
294
299
  disabled?: boolean | undefined;
300
+ transitionDuration?: number | undefined;
295
301
  allowWriting?: boolean | undefined;
296
302
  dependencies?: any[] | undefined;
297
303
  depsDebounceTime?: number | undefined;
@@ -309,15 +315,15 @@ declare const _default: <T = any>(__VLS_props: {
309
315
  multiple?: boolean | undefined;
310
316
  noDataText?: string | undefined;
311
317
  reverse?: boolean | undefined;
312
- transitionDuration?: number | undefined;
313
318
  modelValue: any;
314
319
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
315
- prefill?: boolean | "focus" | undefined;
316
320
  onInactive?: (() => any) | undefined;
321
+ debug?: boolean | undefined;
317
322
  items: T[] | ((query: string, prefill: boolean, modelValue: any) => Promise<T[]>) | ((query: string, prefill: boolean, modelValue: any) => T[]);
318
323
  addOptions?: boolean | undefined;
319
324
  comma?: boolean | undefined;
320
325
  filterBy?: string | false | string[] | ((value: any, item: T) => boolean) | null | undefined;
326
+ prefill?: boolean | "focus" | undefined;
321
327
  queryDebounceTime?: number | undefined;
322
328
  resetQueryOnOptionSelected?: boolean | undefined;
323
329
  stash?: boolean | undefined;
@@ -345,6 +351,7 @@ declare const _default: <T = any>(__VLS_props: {
345
351
  readonly?: (boolean | "true" | "false") | undefined;
346
352
  label: string;
347
353
  disabled?: boolean | undefined;
354
+ transitionDuration?: number | undefined;
348
355
  allowWriting?: boolean | undefined;
349
356
  dependencies?: any[] | undefined;
350
357
  depsDebounceTime?: number | undefined;
@@ -362,15 +369,15 @@ declare const _default: <T = any>(__VLS_props: {
362
369
  multiple?: boolean | undefined;
363
370
  noDataText?: string | undefined;
364
371
  reverse?: boolean | undefined;
365
- transitionDuration?: number | undefined;
366
372
  modelValue: any;
367
373
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
368
- prefill?: boolean | "focus" | undefined;
369
374
  onInactive?: (() => any) | undefined;
375
+ debug?: boolean | undefined;
370
376
  items: T[] | ((query: string, prefill: boolean, modelValue: any) => Promise<T[]>) | ((query: string, prefill: boolean, modelValue: any) => T[]);
371
377
  addOptions?: boolean | undefined;
372
378
  comma?: boolean | undefined;
373
379
  filterBy?: string | false | string[] | ((value: any, item: T) => boolean) | null | undefined;
380
+ prefill?: boolean | "focus" | undefined;
374
381
  queryDebounceTime?: number | undefined;
375
382
  resetQueryOnOptionSelected?: boolean | undefined;
376
383
  stash?: boolean | undefined;
@@ -57,7 +57,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
57
57
  isLast: import("vue").ComputedRef<boolean>;
58
58
  current: import("vue").Ref<string | null>;
59
59
  currentIndex: import("vue").ComputedRef<number>;
60
- goTo: (target: "first" | "last" | "next" | "previous") => void;
60
+ goTo: (target: "next" | "previous" | "first" | "last") => void;
61
61
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
62
62
  "update:modelValue": (value: string) => void;
63
63
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbTabProps>, {
@@ -78,7 +78,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
78
78
  selected: boolean;
79
79
  text: string | undefined;
80
80
  value: string;
81
- goTo: (target: "first" | "last" | "next" | "previous") => void;
81
+ goTo: (target: "next" | "previous" | "first" | "last") => void;
82
82
  }) => any) | undefined;
83
83
  } & {
84
84
  [key: string]: (props: {
@@ -90,7 +90,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
90
90
  selected: boolean;
91
91
  text: string | undefined;
92
92
  value: string;
93
- goTo: (target: "first" | "last" | "next" | "previous") => void;
93
+ goTo: (target: "next" | "previous" | "first" | "last") => void;
94
94
  }) => any;
95
95
  }> & {
96
96
  label?: ((props: {
@@ -102,7 +102,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
102
102
  selected: boolean;
103
103
  text: string | undefined;
104
104
  value: string;
105
- goTo: (target: "first" | "last" | "next" | "previous") => void;
105
+ goTo: (target: "next" | "previous" | "first" | "last") => void;
106
106
  }) => any) | undefined;
107
107
  } & {
108
108
  [key: string]: (props: {
@@ -114,7 +114,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
114
114
  selected: boolean;
115
115
  text: string | undefined;
116
116
  value: string;
117
- goTo: (target: "first" | "last" | "next" | "previous") => void;
117
+ goTo: (target: "next" | "previous" | "first" | "last") => void;
118
118
  }) => any;
119
119
  }>;
120
120
  export default _default;