sprintify-ui 0.10.64 → 0.10.65

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 (416) hide show
  1. package/README.md +266 -266
  2. package/dist/{BaseCkeditor-B4PbYw6a.js → BaseCkeditor-D6D4FPEb.js} +2 -2
  3. package/dist/sprintify-ui.es.js +3732 -3594
  4. package/dist/style.css +3 -3
  5. package/dist/tailwindcss/button.js +260 -260
  6. package/dist/tailwindcss/index.js +21 -21
  7. package/dist/tailwindcss/input.js +22 -22
  8. package/dist/tailwindcss/overlay.js +12 -12
  9. package/dist/tailwindcss/table.js +91 -91
  10. package/dist/tailwindcss/theme.js +52 -52
  11. package/dist/types/components/BaseActionButtons.vue.d.ts +1 -1
  12. package/dist/types/components/BaseActionItem.vue.d.ts +10 -7
  13. package/dist/types/components/BaseAddressForm.vue.d.ts +1 -1
  14. package/dist/types/components/BaseAlert.vue.d.ts +11 -24
  15. package/dist/types/components/BaseApp.vue.d.ts +12 -14
  16. package/dist/types/components/BaseAssign.vue.d.ts +1 -1
  17. package/dist/types/components/BaseAutocomplete.vue.d.ts +455 -665
  18. package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +24 -119
  19. package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +412 -1033
  20. package/dist/types/components/BaseAvatarGroup.vue.d.ts +1 -1
  21. package/dist/types/components/BaseBadge.vue.d.ts +11 -23
  22. package/dist/types/components/BaseBelongsTo.vue.d.ts +411 -998
  23. package/dist/types/components/BaseBelongsToFetch.vue.d.ts +371 -754
  24. package/dist/types/components/BaseBoolean.vue.d.ts +1 -1
  25. package/dist/types/components/BaseBreadcrumbs.vue.d.ts +1 -1
  26. package/dist/types/components/BaseButton.vue.d.ts +16 -78
  27. package/dist/types/components/BaseButtonGroup.vue.d.ts +15 -166
  28. package/dist/types/components/BaseCard.vue.d.ts +12 -26
  29. package/dist/types/components/BaseCardRow.vue.d.ts +11 -20
  30. package/dist/types/components/BaseCharacterCounter.vue.d.ts +1 -1
  31. package/dist/types/components/BaseClipboard.vue.d.ts +13 -45
  32. package/dist/types/components/BaseCollapse.vue.d.ts +20 -41
  33. package/dist/types/components/BaseContainer.vue.d.ts +11 -16
  34. package/dist/types/components/BaseCounter.vue.d.ts +1 -1
  35. package/dist/types/components/BaseCropper.vue.d.ts +30 -55
  36. package/dist/types/components/BaseDataIterator.vue.d.ts +42 -43
  37. package/dist/types/components/BaseDataIteratorSectionBox.vue.d.ts +12 -15
  38. package/dist/types/components/BaseDataIteratorSectionColumns.vue.d.ts +1 -1
  39. package/dist/types/components/BaseDataIteratorSectionModal.vue.d.ts +10 -19
  40. package/dist/types/components/BaseDataTable.vue.d.ts +736 -2088
  41. package/dist/types/components/BaseDataTableTemplate.vue.d.ts +100 -576
  42. package/dist/types/components/BaseDatePicker.vue.d.ts +1 -1
  43. package/dist/types/components/BaseDateSelect.vue.d.ts +1 -1
  44. package/dist/types/components/BaseDescriptionList.vue.d.ts +12 -12
  45. package/dist/types/components/BaseDescriptionListItem.vue.d.ts +15 -16
  46. package/dist/types/components/BaseDialog.vue.d.ts +413 -114
  47. package/dist/types/components/BaseDisplayRelativeTime.vue.d.ts +13 -55
  48. package/dist/types/components/BaseDraggable.vue.d.ts +16 -25
  49. package/dist/types/components/BaseDropdown.vue.d.ts +17 -155
  50. package/dist/types/components/BaseDropdownAutocomplete.vue.d.ts +16 -131
  51. package/dist/types/components/BaseField.vue.d.ts +12 -103
  52. package/dist/types/components/BaseFieldI18n.vue.d.ts +1 -1
  53. package/dist/types/components/BaseFilePicker.vue.d.ts +16 -35
  54. package/dist/types/components/BaseFilePickerCrop.vue.d.ts +42 -87
  55. package/dist/types/components/BaseFileUploader.vue.d.ts +29 -195
  56. package/dist/types/components/BaseForm.vue.d.ts +20 -161
  57. package/dist/types/components/BaseGantt.vue.d.ts +409 -1130
  58. package/dist/types/components/BaseHasMany.vue.d.ts +347 -590
  59. package/dist/types/components/BaseHasManyFetch.vue.d.ts +251 -602
  60. package/dist/types/components/BaseHeader.vue.d.ts +1 -1
  61. package/dist/types/components/BaseIconPicker.vue.d.ts +1 -1
  62. package/dist/types/components/BaseInputError.vue.d.ts +11 -23
  63. package/dist/types/components/BaseJsonReaderItem.vue.d.ts +1 -1
  64. package/dist/types/components/BaseLayoutNotificationItemContent.vue.d.ts +1 -1
  65. package/dist/types/components/BaseLayoutSidebar.vue.d.ts +16 -124
  66. package/dist/types/components/BaseLayoutSidebarConfigurable.vue.d.ts +13 -115
  67. package/dist/types/components/BaseLayoutStacked.vue.d.ts +22 -69
  68. package/dist/types/components/BaseLayoutStackedConfigurable.vue.d.ts +10 -120
  69. package/dist/types/components/BaseLazy.vue.d.ts +15 -20
  70. package/dist/types/components/BaseMediaGallery.vue.d.ts +1 -1
  71. package/dist/types/components/BaseMediaGalleryItem.vue.d.ts +1 -1
  72. package/dist/types/components/BaseMediaItem.vue.d.ts +1 -1
  73. package/dist/types/components/BaseMediaLibrary.vue.d.ts +34 -234
  74. package/dist/types/components/BaseMediaListItem.vue.d.ts +1 -1
  75. package/dist/types/components/BaseMediaPicturesItem.vue.d.ts +1 -1
  76. package/dist/types/components/BaseMenu.vue.d.ts +30 -233
  77. package/dist/types/components/BaseMenuItem.vue.d.ts +1 -1
  78. package/dist/types/components/BaseModalCenter.vue.d.ts +12 -88
  79. package/dist/types/components/BaseModalSide.vue.d.ts +20 -71
  80. package/dist/types/components/BaseNavbar.vue.d.ts +22 -88
  81. package/dist/types/components/BaseNavbarItem.vue.d.ts +1 -1
  82. package/dist/types/components/BaseNavbarItemContent.vue.d.ts +1 -1
  83. package/dist/types/components/BaseNavbarSideItem.vue.d.ts +1 -1
  84. package/dist/types/components/BaseNavbarSideItemContent.vue.d.ts +1 -1
  85. package/dist/types/components/BasePagination.vue.d.ts +1 -1
  86. package/dist/types/components/BaseRadioGroup.vue.d.ts +13 -113
  87. package/dist/types/components/BaseReadMore.vue.d.ts +12 -31
  88. package/dist/types/components/BaseRichText.vue.d.ts +1 -1
  89. package/dist/types/components/BaseSelect.vue.d.ts +12 -149
  90. package/dist/types/components/BaseShortcut.vue.d.ts +1 -1
  91. package/dist/types/components/BaseSideNavigation.vue.d.ts +12 -11
  92. package/dist/types/components/BaseSideNavigationItem.vue.d.ts +13 -22
  93. package/dist/types/components/BaseSkeleton.vue.d.ts +3 -3
  94. package/dist/types/components/BaseStepper.vue.d.ts +1 -1
  95. package/dist/types/components/BaseSwitch.vue.d.ts +10 -118
  96. package/dist/types/components/BaseSystemAlert.vue.d.ts +11 -58
  97. package/dist/types/components/BaseTabItem.vue.d.ts +18 -35
  98. package/dist/types/components/BaseTable.vue.d.ts +14 -29
  99. package/dist/types/components/BaseTableBody.vue.d.ts +12 -9
  100. package/dist/types/components/BaseTableCell.vue.d.ts +15 -40
  101. package/dist/types/components/BaseTableColumn.vue.d.ts +3 -3
  102. package/dist/types/components/BaseTableHead.vue.d.ts +12 -14
  103. package/dist/types/components/BaseTableHeader.vue.d.ts +17 -46
  104. package/dist/types/components/BaseTableRow.vue.d.ts +13 -40
  105. package/dist/types/components/BaseTabs.vue.d.ts +15 -21
  106. package/dist/types/components/BaseTagAutocomplete.vue.d.ts +203 -602
  107. package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +348 -807
  108. package/dist/types/components/BaseTextareaAutoresize.vue.d.ts +1 -1
  109. package/dist/types/components/BaseTimeline.vue.d.ts +1 -1
  110. package/dist/types/components/BaseTimelineItem.vue.d.ts +1 -1
  111. package/dist/types/components/BaseToast.vue.d.ts +1 -1
  112. package/dist/types/components/BaseTooltip.vue.d.ts +15 -41
  113. package/dist/types/components/BaseUniqueCode.vue.d.ts +1 -1
  114. package/dist/types/stories/PageInputSizes.vue.d.ts +1 -1
  115. package/dist/types/stories/PageShow.vue.d.ts +1 -1
  116. package/dist/types/svg/BaseEmptyState.vue.d.ts +1 -1
  117. package/dist/types/svg/BaseSpinnerSmall.vue.d.ts +1 -1
  118. package/package.json +135 -135
  119. package/src/assets/base-cropper.css +61 -61
  120. package/src/assets/base-date-picker.css +4 -4
  121. package/src/assets/base-rich-text.css +270 -270
  122. package/src/assets/base-spinner.css +18 -18
  123. package/src/assets/base-tabs.css +4 -4
  124. package/src/assets/base-time-picker.css +9 -9
  125. package/src/assets/flatpickr.css +247 -247
  126. package/src/assets/form.css +6 -6
  127. package/src/assets/google-pac.css +25 -25
  128. package/src/assets/main.css +56 -56
  129. package/src/assets/tailwind.css +2 -2
  130. package/src/changelog.mdx +6 -6
  131. package/src/components/BaseActionButtons.vue +76 -76
  132. package/src/components/BaseActionItem.vue +80 -80
  133. package/src/components/BaseActionItemButton.vue +75 -75
  134. package/src/components/BaseAddressForm.stories.js +114 -114
  135. package/src/components/BaseAddressForm.vue +382 -382
  136. package/src/components/BaseAlert.stories.js +75 -75
  137. package/src/components/BaseAlert.vue +101 -101
  138. package/src/components/BaseApp.vue +16 -16
  139. package/src/components/BaseAppDialogs.vue +126 -126
  140. package/src/components/BaseAppSnackbars.vue +40 -40
  141. package/src/components/BaseAssign.mdx +98 -98
  142. package/src/components/BaseAssign.stories.js +78 -78
  143. package/src/components/BaseAssign.vue +366 -366
  144. package/src/components/BaseAutocomplete.stories.js +243 -243
  145. package/src/components/BaseAutocomplete.vue +603 -603
  146. package/src/components/BaseAutocompleteDrawer.vue +386 -386
  147. package/src/components/BaseAutocompleteFetch.stories.js +224 -224
  148. package/src/components/BaseAutocompleteFetch.vue +314 -314
  149. package/src/components/BaseAvatar.stories.js +39 -39
  150. package/src/components/BaseAvatar.vue +164 -164
  151. package/src/components/BaseAvatarGroup.stories.js +71 -71
  152. package/src/components/BaseAvatarGroup.vue +148 -148
  153. package/src/components/BaseBadge.stories.js +130 -130
  154. package/src/components/BaseBadge.vue +97 -97
  155. package/src/components/BaseBelongsTo.stories.js +220 -220
  156. package/src/components/BaseBelongsTo.vue +164 -164
  157. package/src/components/BaseBelongsToFetch.stories.js +223 -223
  158. package/src/components/BaseBelongsToFetch.vue +213 -213
  159. package/src/components/BaseBoolean.stories.js +35 -35
  160. package/src/components/BaseBoolean.vue +26 -26
  161. package/src/components/BaseBreadcrumbs.stories.js +50 -50
  162. package/src/components/BaseBreadcrumbs.vue +109 -109
  163. package/src/components/BaseButton.stories.js +126 -126
  164. package/src/components/BaseButton.vue +279 -279
  165. package/src/components/BaseButtonGroup.stories.js +114 -114
  166. package/src/components/BaseButtonGroup.vue +193 -193
  167. package/src/components/BaseCard.stories.js +63 -63
  168. package/src/components/BaseCard.vue +49 -49
  169. package/src/components/BaseCardRow.vue +53 -53
  170. package/src/components/BaseCharacterCounter.stories.js +30 -30
  171. package/src/components/BaseCharacterCounter.vue +64 -64
  172. package/src/components/BaseCkeditor.vue +154 -154
  173. package/src/components/BaseClipboard.stories.js +55 -55
  174. package/src/components/BaseClipboard.vue +105 -105
  175. package/src/components/BaseCollapse.stories.js +168 -168
  176. package/src/components/BaseCollapse.vue +98 -98
  177. package/src/components/BaseColor.stories.js +66 -66
  178. package/src/components/BaseColor.vue +155 -155
  179. package/src/components/BaseContainer.stories.js +34 -34
  180. package/src/components/BaseContainer.vue +64 -64
  181. package/src/components/BaseCounter.stories.js +47 -47
  182. package/src/components/BaseCounter.vue +83 -83
  183. package/src/components/BaseCropper.stories.js +113 -113
  184. package/src/components/BaseCropper.vue +390 -390
  185. package/src/components/BaseCropperModal.stories.js +54 -54
  186. package/src/components/BaseCropperModal.vue +143 -143
  187. package/src/components/BaseDataIterator.stories.js +292 -292
  188. package/src/components/BaseDataIterator.vue +986 -986
  189. package/src/components/BaseDataIteratorSectionBox.vue +36 -36
  190. package/src/components/BaseDataIteratorSectionButton.vue +42 -42
  191. package/src/components/BaseDataIteratorSectionColumns.vue +150 -150
  192. package/src/components/BaseDataIteratorSectionModal.vue +41 -41
  193. package/src/components/BaseDataTable.stories.js +393 -393
  194. package/src/components/BaseDataTable.vue +966 -966
  195. package/src/components/BaseDataTableRowAction.vue +70 -70
  196. package/src/components/BaseDataTableTemplate.vue +838 -838
  197. package/src/components/BaseDatePicker.stories.js +166 -166
  198. package/src/components/BaseDatePicker.vue +372 -372
  199. package/src/components/BaseDateSelect.stories.js +68 -68
  200. package/src/components/BaseDateSelect.vue +222 -222
  201. package/src/components/BaseDescriptionList.stories.js +35 -35
  202. package/src/components/BaseDescriptionList.vue +13 -13
  203. package/src/components/BaseDescriptionListItem.vue +47 -47
  204. package/src/components/BaseDialog.stories.js +95 -95
  205. package/src/components/BaseDialog.vue +221 -221
  206. package/src/components/BaseDisplayRelativeTime.stories.js +47 -47
  207. package/src/components/BaseDisplayRelativeTime.vue +126 -126
  208. package/src/components/BaseDraggable.stories.js +34 -34
  209. package/src/components/BaseDraggable.vue +111 -111
  210. package/src/components/BaseDropdown.stories.js +164 -164
  211. package/src/components/BaseDropdown.vue +74 -74
  212. package/src/components/BaseDropdownAutocomplete.stories.js +208 -208
  213. package/src/components/BaseDropdownAutocomplete.vue +203 -203
  214. package/src/components/BaseField.vue +151 -151
  215. package/src/components/BaseFieldI18n.stories.js +37 -37
  216. package/src/components/BaseFieldI18n.vue +170 -170
  217. package/src/components/BaseFilePicker.stories.js +84 -84
  218. package/src/components/BaseFilePicker.vue +163 -163
  219. package/src/components/BaseFilePickerCrop.stories.js +135 -135
  220. package/src/components/BaseFilePickerCrop.vue +130 -130
  221. package/src/components/BaseFileUploader.stories.js +101 -101
  222. package/src/components/BaseFileUploader.vue +185 -185
  223. package/src/components/BaseForm.mdx +87 -87
  224. package/src/components/BaseForm.stories.js +133 -133
  225. package/src/components/BaseForm.vue +372 -372
  226. package/src/components/BaseGantt.stories.js +145 -145
  227. package/src/components/BaseGantt.vue +384 -384
  228. package/src/components/BaseHasMany.stories.js +211 -211
  229. package/src/components/BaseHasMany.vue +135 -135
  230. package/src/components/BaseHasManyFetch.stories.js +278 -278
  231. package/src/components/BaseHasManyFetch.vue +222 -222
  232. package/src/components/BaseHeader.stories.js +137 -137
  233. package/src/components/BaseHeader.vue +141 -141
  234. package/src/components/BaseIconPicker.stories.js +22 -22
  235. package/src/components/BaseIconPicker.vue +225 -225
  236. package/src/components/BaseInput.stories.js +202 -202
  237. package/src/components/BaseInput.vue +402 -402
  238. package/src/components/BaseInputError.vue +39 -39
  239. package/src/components/BaseInputLabel.stories.js +36 -36
  240. package/src/components/BaseInputLabel.vue +83 -83
  241. package/src/components/BaseInputPercent.stories.js +66 -66
  242. package/src/components/BaseInputPercent.vue +139 -139
  243. package/src/components/BaseJsonReader.stories.js +120 -120
  244. package/src/components/BaseJsonReader.vue +51 -51
  245. package/src/components/BaseJsonReaderItem.vue +119 -119
  246. package/src/components/BaseLayoutNotificationDropdown.vue +153 -153
  247. package/src/components/BaseLayoutNotificationItem.vue +53 -53
  248. package/src/components/BaseLayoutNotificationItemContent.vue +41 -41
  249. package/src/components/BaseLayoutSidebar.vue +300 -300
  250. package/src/components/BaseLayoutSidebarConfigurable.stories.js +217 -217
  251. package/src/components/BaseLayoutSidebarConfigurable.vue +202 -202
  252. package/src/components/BaseLayoutStacked.vue +78 -78
  253. package/src/components/BaseLayoutStackedConfigurable.stories.js +181 -181
  254. package/src/components/BaseLayoutStackedConfigurable.vue +196 -196
  255. package/src/components/BaseLazy.stories.js +59 -59
  256. package/src/components/BaseLazy.vue +80 -80
  257. package/src/components/BaseLoadingCover.stories.js +55 -55
  258. package/src/components/BaseLoadingCover.vue +101 -101
  259. package/src/components/BaseMediaGallery.vue +96 -96
  260. package/src/components/BaseMediaGalleryItem.vue +101 -101
  261. package/src/components/BaseMediaItem.stories.js +41 -41
  262. package/src/components/BaseMediaItem.vue +80 -80
  263. package/src/components/BaseMediaLibrary.stories.js +267 -267
  264. package/src/components/BaseMediaLibrary.vue +357 -357
  265. package/src/components/BaseMediaList.vue +67 -67
  266. package/src/components/BaseMediaListItem.vue +213 -213
  267. package/src/components/BaseMediaPictures.vue +64 -64
  268. package/src/components/BaseMediaPicturesItem.vue +100 -100
  269. package/src/components/BaseMediaPreview.stories.js +72 -72
  270. package/src/components/BaseMediaPreview.vue +106 -106
  271. package/src/components/BaseMenu.stories.js +134 -134
  272. package/src/components/BaseMenu.vue +187 -187
  273. package/src/components/BaseMenuItem.vue +177 -177
  274. package/src/components/BaseModalCenter.stories.js +68 -68
  275. package/src/components/BaseModalCenter.vue +128 -128
  276. package/src/components/BaseModalSide.stories.js +61 -55
  277. package/src/components/BaseModalSide.vue +130 -116
  278. package/src/components/BaseNavbar.stories.js +152 -152
  279. package/src/components/BaseNavbar.vue +191 -191
  280. package/src/components/BaseNavbarItem.vue +108 -108
  281. package/src/components/BaseNavbarItemContent.vue +124 -124
  282. package/src/components/BaseNavbarSideItem.vue +187 -187
  283. package/src/components/BaseNavbarSideItemContent.vue +126 -126
  284. package/src/components/BasePagination.stories.js +35 -35
  285. package/src/components/BasePagination.vue +266 -266
  286. package/src/components/BasePanel.stories.js +56 -56
  287. package/src/components/BasePanel.vue +42 -42
  288. package/src/components/BasePassword.stories.js +80 -80
  289. package/src/components/BasePassword.vue +87 -87
  290. package/src/components/BaseProgressCircle.stories.js +27 -27
  291. package/src/components/BaseProgressCircle.vue +80 -80
  292. package/src/components/BaseRadioGroup.stories.js +87 -87
  293. package/src/components/BaseRadioGroup.vue +124 -124
  294. package/src/components/BaseReadMore.stories.js +30 -30
  295. package/src/components/BaseReadMore.vue +73 -73
  296. package/src/components/BaseRichText.stories.js +90 -90
  297. package/src/components/BaseRichText.vue +87 -87
  298. package/src/components/BaseScrollColumn.vue +128 -128
  299. package/src/components/BaseSelect.stories.js +151 -151
  300. package/src/components/BaseSelect.vue +241 -241
  301. package/src/components/BaseShortcut.stories.js +100 -100
  302. package/src/components/BaseShortcut.vue +114 -114
  303. package/src/components/BaseSideNavigation.stories.js +85 -85
  304. package/src/components/BaseSideNavigation.vue +32 -32
  305. package/src/components/BaseSideNavigationItem.vue +99 -99
  306. package/src/components/BaseSkeleton.stories.js +36 -36
  307. package/src/components/BaseSkeleton.vue +40 -40
  308. package/src/components/BaseStatistic.stories.js +51 -51
  309. package/src/components/BaseStatistic.vue +98 -98
  310. package/src/components/BaseStepper.stories.js +94 -94
  311. package/src/components/BaseStepper.vue +72 -72
  312. package/src/components/BaseStepperItem.stories.js +65 -65
  313. package/src/components/BaseStepperItem.vue +149 -149
  314. package/src/components/BaseSwitch.stories.js +133 -133
  315. package/src/components/BaseSwitch.vue +226 -226
  316. package/src/components/BaseSystemAlert.stories.js +63 -63
  317. package/src/components/BaseSystemAlert.vue +89 -89
  318. package/src/components/BaseTabItem.vue +192 -192
  319. package/src/components/BaseTable.stories.js +214 -214
  320. package/src/components/BaseTable.vue +111 -111
  321. package/src/components/BaseTableBody.vue +14 -14
  322. package/src/components/BaseTableCell.vue +204 -204
  323. package/src/components/BaseTableColumn.vue +140 -140
  324. package/src/components/BaseTableHead.vue +38 -38
  325. package/src/components/BaseTableHeader.vue +139 -139
  326. package/src/components/BaseTableRow.vue +197 -197
  327. package/src/components/BaseTabs.stories.js +165 -165
  328. package/src/components/BaseTabs.vue +203 -203
  329. package/src/components/BaseTagAutocomplete.stories.js +271 -271
  330. package/src/components/BaseTagAutocomplete.vue +565 -565
  331. package/src/components/BaseTagAutocompleteFetch.stories.js +211 -211
  332. package/src/components/BaseTagAutocompleteFetch.vue +237 -237
  333. package/src/components/BaseTextarea.stories.js +81 -81
  334. package/src/components/BaseTextarea.vue +138 -138
  335. package/src/components/BaseTextareaAutoresize.stories.js +125 -125
  336. package/src/components/BaseTextareaAutoresize.vue +187 -187
  337. package/src/components/BaseTimePicker.stories.js +68 -68
  338. package/src/components/BaseTimePicker.vue +379 -379
  339. package/src/components/BaseTimeline.stories.js +55 -55
  340. package/src/components/BaseTimeline.vue +38 -38
  341. package/src/components/BaseTimelineItem.stories.js +77 -77
  342. package/src/components/BaseTimelineItem.vue +90 -90
  343. package/src/components/BaseToast.stories.js +50 -50
  344. package/src/components/BaseToast.vue +43 -43
  345. package/src/components/BaseTooltip.stories.js +65 -65
  346. package/src/components/BaseTooltip.vue +93 -93
  347. package/src/components/BaseUniqueCode.stories.js +36 -36
  348. package/src/components/BaseUniqueCode.vue +183 -183
  349. package/src/components/SlotComponent.ts +37 -37
  350. package/src/components/index.ts +222 -222
  351. package/src/composables/breakpoints.ts +94 -94
  352. package/src/composables/clickOutside.ts +80 -80
  353. package/src/composables/field.ts +156 -156
  354. package/src/composables/hasOptions.ts +86 -86
  355. package/src/composables/inputSize.ts +35 -35
  356. package/src/composables/isLastColumn.ts +30 -30
  357. package/src/composables/mediaQuery.ts +42 -42
  358. package/src/composables/modal.ts +73 -73
  359. package/src/composables/paginatedData.ts +76 -76
  360. package/src/composables/tooltip.ts +84 -84
  361. package/src/constants/MyConstants.ts +1 -1
  362. package/src/constants/index.ts +5 -5
  363. package/src/env.d.ts +15 -15
  364. package/src/i18n/index.ts +60 -60
  365. package/src/index.ts +138 -138
  366. package/src/lang/en.json +101 -101
  367. package/src/lang/fr.json +101 -101
  368. package/src/services/gantt/format.ts +133 -133
  369. package/src/services/gantt/timescale.ts +250 -250
  370. package/src/services/gantt/types.ts +81 -81
  371. package/src/services/table/classes.ts +37 -37
  372. package/src/services/table/customKeyActions.ts +2 -2
  373. package/src/services/table/types.ts +27 -27
  374. package/src/stores/dialogs.ts +48 -48
  375. package/src/stores/i18n.ts +14 -14
  376. package/src/stores/snackbars.ts +47 -47
  377. package/src/stores/systemAlerts.ts +32 -32
  378. package/src/stories/InputSizes.stories.js +21 -21
  379. package/src/stories/List.stories.js +136 -136
  380. package/src/stories/PageInputSizes.vue +228 -228
  381. package/src/stories/PageShow.vue +423 -423
  382. package/src/stories/Show.stories.js +21 -21
  383. package/src/svg/BaseEmptyState.vue +38 -38
  384. package/src/svg/BaseSpinnerLarge.vue +40 -40
  385. package/src/svg/BaseSpinnerSmall.vue +13 -13
  386. package/src/types/Color.ts +9 -9
  387. package/src/types/Country.ts +4 -4
  388. package/src/types/ImagePickerResult.ts +5 -5
  389. package/src/types/Media.ts +10 -10
  390. package/src/types/Notification.ts +11 -11
  391. package/src/types/Region.ts +5 -5
  392. package/src/types/Status.ts +5 -5
  393. package/src/types/StepperItem.ts +8 -8
  394. package/src/types/ToolbarOption.ts +1 -1
  395. package/src/types/UploadedFile.ts +11 -11
  396. package/src/types/User.ts +7 -7
  397. package/src/types/index.ts +302 -302
  398. package/src/utils/blob.ts +30 -30
  399. package/src/utils/colors.ts +239 -239
  400. package/src/utils/cropper/avatar.ts +33 -33
  401. package/src/utils/cropper/cover.ts +41 -41
  402. package/src/utils/cropper/presetInterface.ts +16 -16
  403. package/src/utils/cropper/presets.ts +7 -7
  404. package/src/utils/deepIncludes.ts +76 -76
  405. package/src/utils/fileSizeFormat.ts +15 -15
  406. package/src/utils/fileValidations.ts +26 -26
  407. package/src/utils/getApiData.ts +11 -11
  408. package/src/utils/index.ts +18 -18
  409. package/src/utils/resizeImageFromURI.ts +118 -118
  410. package/src/utils/scrollPreventer.ts +11 -11
  411. package/src/utils/sizeBehaviors.ts +3 -3
  412. package/src/utils/sizes.ts +38 -38
  413. package/src/utils/slots.ts +12 -12
  414. package/src/utils/storage.ts +36 -36
  415. package/src/utils/toHumanList.ts +20 -20
  416. package/src/utils/uuid.ts +7 -7
@@ -1,383 +1,10 @@
1
1
  import { PropType } from 'vue';
2
- import BaseAutocomplete from './BaseAutocomplete.vue';
3
2
  import { NormalizedOption, RawOption, SelectConfiguration } from '@/types';
4
3
  import { Size } from '@/utils/sizes';
5
- declare const autocomplete: import("vue").Ref<({
6
- $: import("vue").ComponentInternalInstance;
7
- $data: {};
8
- $props: Partial<{
9
- filter: (option: NormalizedOption, keywords: string) => boolean;
10
- select: SelectConfiguration | undefined;
11
- size: "xs" | "sm" | "md" | "lg" | "xl";
12
- required: boolean;
13
- inline: boolean;
14
- disabled: boolean;
15
- name: string;
16
- modelValue: RawOption | null | undefined;
17
- placeholder: string;
18
- hasError: boolean;
19
- visibleFocus: boolean;
20
- loading: boolean;
21
- loadingBottom: boolean;
22
- dropdownShow: "always" | "focus";
23
- showModelValue: boolean;
24
- focusOnMount: boolean;
25
- showEmptyOption: boolean;
26
- showRemoveButton: boolean;
27
- emptyOptionLabel: string;
28
- twInput: string | string[];
29
- twSelect: string | string[];
30
- }> & Omit<{
31
- readonly inline: boolean;
32
- readonly disabled: boolean;
33
- readonly options: RawOption[];
34
- readonly hasError: boolean;
35
- readonly visibleFocus: boolean;
36
- readonly labelKey: string | ((option: RawOption) => string);
37
- readonly valueKey: string | ((option: RawOption) => string);
38
- readonly loading: boolean;
39
- readonly loadingBottom: boolean;
40
- readonly dropdownShow: "always" | "focus";
41
- readonly showModelValue: boolean;
42
- readonly focusOnMount: boolean;
43
- readonly showEmptyOption: boolean;
44
- readonly showRemoveButton: boolean;
45
- readonly emptyOptionLabel: string;
46
- readonly filter?: ((option: NormalizedOption, keywords: string) => boolean) | undefined;
47
- readonly select?: SelectConfiguration | undefined;
48
- readonly size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
49
- readonly required?: boolean | undefined;
50
- readonly name?: string | undefined;
51
- readonly modelValue?: RawOption | null | undefined;
52
- readonly placeholder?: string | undefined;
53
- readonly twInput?: string | string[] | undefined;
54
- readonly twSelect?: string | string[] | undefined;
55
- readonly onClose?: ((...args: any[]) => any) | undefined;
56
- readonly onSelect?: ((...args: any[]) => any) | undefined;
57
- readonly onOpen?: ((...args: any[]) => any) | undefined;
58
- readonly onClear?: ((...args: any[]) => any) | undefined;
59
- readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
60
- readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
61
- readonly onTyping?: ((...args: any[]) => any) | undefined;
62
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "filter" | "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect">;
63
- $attrs: {
64
- [x: string]: unknown;
65
- };
66
- $refs: {
67
- [x: string]: unknown;
68
- };
69
- $slots: Readonly<{
70
- [name: string]: import("vue").Slot<any> | undefined;
71
- }>;
72
- $root: import("vue").ComponentPublicInstance | null;
73
- $parent: import("vue").ComponentPublicInstance | null;
74
- $host: Element | null;
75
- $emit: ((event: "close", ...args: any[]) => void) & ((event: "select", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "clear", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void) & ((event: "typing", ...args: any[]) => void);
76
- $el: any;
77
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
78
- modelValue: {
79
- default: undefined;
80
- type: PropType<RawOption | null | undefined>;
81
- };
82
- options: {
83
- required: true;
84
- type: PropType<RawOption[]>;
85
- };
86
- labelKey: {
87
- required: true;
88
- type: PropType<string | ((option: RawOption) => string)>;
89
- };
90
- valueKey: {
91
- required: true;
92
- type: PropType<string | ((option: RawOption) => string)>;
93
- };
94
- name: {
95
- default: undefined;
96
- type: StringConstructor;
97
- };
98
- size: {
99
- default: undefined;
100
- type: PropType<Size>;
101
- };
102
- placeholder: {
103
- default: undefined;
104
- type: StringConstructor;
105
- };
106
- loading: {
107
- default: boolean;
108
- type: BooleanConstructor;
109
- };
110
- loadingBottom: {
111
- default: boolean;
112
- type: BooleanConstructor;
113
- };
114
- required: {
115
- default: undefined;
116
- type: BooleanConstructor;
117
- };
118
- disabled: {
119
- default: boolean;
120
- type: BooleanConstructor;
121
- };
122
- filter: {
123
- default: undefined;
124
- type: PropType<(option: NormalizedOption, keywords: string) => boolean>;
125
- };
126
- hasError: {
127
- default: boolean;
128
- type: BooleanConstructor;
129
- };
130
- inline: {
131
- default: boolean;
132
- type: BooleanConstructor;
133
- };
134
- dropdownShow: {
135
- default: string;
136
- type: PropType<"focus" | "always">;
137
- };
138
- showModelValue: {
139
- default: boolean;
140
- type: BooleanConstructor;
141
- };
142
- visibleFocus: {
143
- default: boolean;
144
- type: BooleanConstructor;
145
- };
146
- focusOnMount: {
147
- default: boolean;
148
- type: BooleanConstructor;
149
- };
150
- showEmptyOption: {
151
- default: boolean;
152
- type: BooleanConstructor;
153
- };
154
- showRemoveButton: {
155
- default: boolean;
156
- type: BooleanConstructor;
157
- };
158
- emptyOptionLabel: {
159
- default(): string;
160
- type: StringConstructor;
161
- };
162
- select: {
163
- default: undefined;
164
- type: PropType<SelectConfiguration | undefined>;
165
- };
166
- twInput: {
167
- default: undefined;
168
- type: PropType<string | string[]>;
169
- };
170
- twSelect: {
171
- default: undefined;
172
- type: PropType<string | string[]>;
173
- };
174
- }>> & Readonly<{
175
- onClose?: ((...args: any[]) => any) | undefined;
176
- onSelect?: ((...args: any[]) => any) | undefined;
177
- onOpen?: ((...args: any[]) => any) | undefined;
178
- onClear?: ((...args: any[]) => any) | undefined;
179
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
180
- onScrollBottom?: ((...args: any[]) => any) | undefined;
181
- onTyping?: ((...args: any[]) => any) | undefined;
182
- }>, {
183
- focus: () => void;
184
- blur: () => void;
185
- close: () => void;
186
- open: () => void;
187
- setKeywords: (input: string) => void;
188
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
189
- close: (...args: any[]) => void;
190
- select: (...args: any[]) => void;
191
- open: (...args: any[]) => void;
192
- clear: (...args: any[]) => void;
193
- "update:modelValue": (...args: any[]) => void;
194
- scrollBottom: (...args: any[]) => void;
195
- typing: (...args: any[]) => void;
196
- }, string, {
197
- filter: (option: NormalizedOption, keywords: string) => boolean;
198
- select: SelectConfiguration | undefined;
199
- size: "xs" | "sm" | "md" | "lg" | "xl";
200
- required: boolean;
201
- inline: boolean;
202
- disabled: boolean;
203
- name: string;
204
- modelValue: RawOption | null | undefined;
205
- placeholder: string;
206
- hasError: boolean;
207
- visibleFocus: boolean;
208
- loading: boolean;
209
- loadingBottom: boolean;
210
- dropdownShow: "always" | "focus";
211
- showModelValue: boolean;
212
- focusOnMount: boolean;
213
- showEmptyOption: boolean;
214
- showRemoveButton: boolean;
215
- emptyOptionLabel: string;
216
- twInput: string | string[];
217
- twSelect: string | string[];
218
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
219
- beforeCreate?: (() => void) | (() => void)[];
220
- created?: (() => void) | (() => void)[];
221
- beforeMount?: (() => void) | (() => void)[];
222
- mounted?: (() => void) | (() => void)[];
223
- beforeUpdate?: (() => void) | (() => void)[];
224
- updated?: (() => void) | (() => void)[];
225
- activated?: (() => void) | (() => void)[];
226
- deactivated?: (() => void) | (() => void)[];
227
- beforeDestroy?: (() => void) | (() => void)[];
228
- beforeUnmount?: (() => void) | (() => void)[];
229
- destroyed?: (() => void) | (() => void)[];
230
- unmounted?: (() => void) | (() => void)[];
231
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
232
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
233
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
234
- };
235
- $forceUpdate: () => void;
236
- $nextTick: typeof import("vue").nextTick;
237
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
238
- } & Readonly<{
239
- filter: (option: NormalizedOption, keywords: string) => boolean;
240
- select: SelectConfiguration | undefined;
241
- size: "xs" | "sm" | "md" | "lg" | "xl";
242
- required: boolean;
243
- inline: boolean;
244
- disabled: boolean;
245
- name: string;
246
- modelValue: RawOption | null | undefined;
247
- placeholder: string;
248
- hasError: boolean;
249
- visibleFocus: boolean;
250
- loading: boolean;
251
- loadingBottom: boolean;
252
- dropdownShow: "always" | "focus";
253
- showModelValue: boolean;
254
- focusOnMount: boolean;
255
- showEmptyOption: boolean;
256
- showRemoveButton: boolean;
257
- emptyOptionLabel: string;
258
- twInput: string | string[];
259
- twSelect: string | string[];
260
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
261
- modelValue: {
262
- default: undefined;
263
- type: PropType<RawOption | null | undefined>;
264
- };
265
- options: {
266
- required: true;
267
- type: PropType<RawOption[]>;
268
- };
269
- labelKey: {
270
- required: true;
271
- type: PropType<string | ((option: RawOption) => string)>;
272
- };
273
- valueKey: {
274
- required: true;
275
- type: PropType<string | ((option: RawOption) => string)>;
276
- };
277
- name: {
278
- default: undefined;
279
- type: StringConstructor;
280
- };
281
- size: {
282
- default: undefined;
283
- type: PropType<Size>;
284
- };
285
- placeholder: {
286
- default: undefined;
287
- type: StringConstructor;
288
- };
289
- loading: {
290
- default: boolean;
291
- type: BooleanConstructor;
292
- };
293
- loadingBottom: {
294
- default: boolean;
295
- type: BooleanConstructor;
296
- };
297
- required: {
298
- default: undefined;
299
- type: BooleanConstructor;
300
- };
301
- disabled: {
302
- default: boolean;
303
- type: BooleanConstructor;
304
- };
305
- filter: {
306
- default: undefined;
307
- type: PropType<(option: NormalizedOption, keywords: string) => boolean>;
308
- };
309
- hasError: {
310
- default: boolean;
311
- type: BooleanConstructor;
312
- };
313
- inline: {
314
- default: boolean;
315
- type: BooleanConstructor;
316
- };
317
- dropdownShow: {
318
- default: string;
319
- type: PropType<"focus" | "always">;
320
- };
321
- showModelValue: {
322
- default: boolean;
323
- type: BooleanConstructor;
324
- };
325
- visibleFocus: {
326
- default: boolean;
327
- type: BooleanConstructor;
328
- };
329
- focusOnMount: {
330
- default: boolean;
331
- type: BooleanConstructor;
332
- };
333
- showEmptyOption: {
334
- default: boolean;
335
- type: BooleanConstructor;
336
- };
337
- showRemoveButton: {
338
- default: boolean;
339
- type: BooleanConstructor;
340
- };
341
- emptyOptionLabel: {
342
- default(): string;
343
- type: StringConstructor;
344
- };
345
- select: {
346
- default: undefined;
347
- type: PropType<SelectConfiguration | undefined>;
348
- };
349
- twInput: {
350
- default: undefined;
351
- type: PropType<string | string[]>;
352
- };
353
- twSelect: {
354
- default: undefined;
355
- type: PropType<string | string[]>;
356
- };
357
- }>> & Readonly<{
358
- onClose?: ((...args: any[]) => any) | undefined;
359
- onSelect?: ((...args: any[]) => any) | undefined;
360
- onOpen?: ((...args: any[]) => any) | undefined;
361
- onClear?: ((...args: any[]) => any) | undefined;
362
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
363
- onScrollBottom?: ((...args: any[]) => any) | undefined;
364
- onTyping?: ((...args: any[]) => any) | undefined;
365
- }>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("filter" | "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect")> & import("vue").ShallowUnwrapRef<{
366
- focus: () => void;
367
- blur: () => void;
368
- close: () => void;
369
- open: () => void;
370
- setKeywords: (input: string) => void;
371
- }> & {} & import("vue").ComponentCustomProperties & {} & {
372
- $slots: {
373
- empty?: ((props: {
374
- focus: () => void;
375
- blur: () => void;
376
- open: () => void;
377
- close: () => void;
378
- keywords: import("vue").ComputedRef<string>;
379
- }) => any) | undefined;
380
- option?: ((props: {
4
+ declare function __VLS_template(): {
5
+ attrs: Partial<{}>;
6
+ slots: {
7
+ option?(_: {
381
8
  focus: () => void;
382
9
  blur: () => void;
383
10
  open: () => void;
@@ -388,639 +15,425 @@ declare const autocomplete: import("vue").Ref<({
388
15
  label: string;
389
16
  selected: boolean;
390
17
  active: boolean;
391
- }) => any) | undefined;
392
- footer?: ((props: {
18
+ }): any;
19
+ empty?(_: {
393
20
  focus: () => void;
394
21
  blur: () => void;
395
22
  open: () => void;
396
23
  close: () => void;
397
24
  keywords: import("vue").ComputedRef<string>;
398
- options: NormalizedOption[];
399
- }) => any) | undefined;
400
- };
401
- }) | null, ({
402
- $: import("vue").ComponentInternalInstance;
403
- $data: {};
404
- $props: Partial<{
405
- filter: (option: NormalizedOption, keywords: string) => boolean;
406
- select: SelectConfiguration | undefined;
407
- size: "xs" | "sm" | "md" | "lg" | "xl";
408
- required: boolean;
409
- inline: boolean;
410
- disabled: boolean;
411
- name: string;
412
- modelValue: RawOption | null | undefined;
413
- placeholder: string;
414
- hasError: boolean;
415
- visibleFocus: boolean;
416
- loading: boolean;
417
- loadingBottom: boolean;
418
- dropdownShow: "always" | "focus";
419
- showModelValue: boolean;
420
- focusOnMount: boolean;
421
- showEmptyOption: boolean;
422
- showRemoveButton: boolean;
423
- emptyOptionLabel: string;
424
- twInput: string | string[];
425
- twSelect: string | string[];
426
- }> & Omit<{
427
- readonly inline: boolean;
428
- readonly disabled: boolean;
429
- readonly options: RawOption[];
430
- readonly hasError: boolean;
431
- readonly visibleFocus: boolean;
432
- readonly labelKey: string | ((option: RawOption) => string);
433
- readonly valueKey: string | ((option: RawOption) => string);
434
- readonly loading: boolean;
435
- readonly loadingBottom: boolean;
436
- readonly dropdownShow: "always" | "focus";
437
- readonly showModelValue: boolean;
438
- readonly focusOnMount: boolean;
439
- readonly showEmptyOption: boolean;
440
- readonly showRemoveButton: boolean;
441
- readonly emptyOptionLabel: string;
442
- readonly filter?: ((option: NormalizedOption, keywords: string) => boolean) | undefined;
443
- readonly select?: SelectConfiguration | undefined;
444
- readonly size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
445
- readonly required?: boolean | undefined;
446
- readonly name?: string | undefined;
447
- readonly modelValue?: RawOption | null | undefined;
448
- readonly placeholder?: string | undefined;
449
- readonly twInput?: string | string[] | undefined;
450
- readonly twSelect?: string | string[] | undefined;
451
- readonly onClose?: ((...args: any[]) => any) | undefined;
452
- readonly onSelect?: ((...args: any[]) => any) | undefined;
453
- readonly onOpen?: ((...args: any[]) => any) | undefined;
454
- readonly onClear?: ((...args: any[]) => any) | undefined;
455
- readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
456
- readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
457
- readonly onTyping?: ((...args: any[]) => any) | undefined;
458
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "filter" | "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect">;
459
- $attrs: {
460
- [x: string]: unknown;
461
- };
462
- $refs: {
463
- [x: string]: unknown;
464
- };
465
- $slots: Readonly<{
466
- [name: string]: import("vue").Slot<any> | undefined;
467
- }>;
468
- $root: import("vue").ComponentPublicInstance | null;
469
- $parent: import("vue").ComponentPublicInstance | null;
470
- $host: Element | null;
471
- $emit: ((event: "close", ...args: any[]) => void) & ((event: "select", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "clear", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void) & ((event: "typing", ...args: any[]) => void);
472
- $el: any;
473
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
474
- modelValue: {
475
- default: undefined;
476
- type: PropType<RawOption | null | undefined>;
477
- };
478
- options: {
479
- required: true;
480
- type: PropType<RawOption[]>;
481
- };
482
- labelKey: {
483
- required: true;
484
- type: PropType<string | ((option: RawOption) => string)>;
485
- };
486
- valueKey: {
487
- required: true;
488
- type: PropType<string | ((option: RawOption) => string)>;
489
- };
490
- name: {
491
- default: undefined;
492
- type: StringConstructor;
493
- };
494
- size: {
495
- default: undefined;
496
- type: PropType<Size>;
497
- };
498
- placeholder: {
499
- default: undefined;
500
- type: StringConstructor;
501
- };
502
- loading: {
503
- default: boolean;
504
- type: BooleanConstructor;
505
- };
506
- loadingBottom: {
507
- default: boolean;
508
- type: BooleanConstructor;
509
- };
510
- required: {
511
- default: undefined;
512
- type: BooleanConstructor;
513
- };
514
- disabled: {
515
- default: boolean;
516
- type: BooleanConstructor;
517
- };
518
- filter: {
519
- default: undefined;
520
- type: PropType<(option: NormalizedOption, keywords: string) => boolean>;
521
- };
522
- hasError: {
523
- default: boolean;
524
- type: BooleanConstructor;
525
- };
526
- inline: {
527
- default: boolean;
528
- type: BooleanConstructor;
529
- };
530
- dropdownShow: {
531
- default: string;
532
- type: PropType<"focus" | "always">;
533
- };
534
- showModelValue: {
535
- default: boolean;
536
- type: BooleanConstructor;
537
- };
538
- visibleFocus: {
539
- default: boolean;
540
- type: BooleanConstructor;
541
- };
542
- focusOnMount: {
543
- default: boolean;
544
- type: BooleanConstructor;
545
- };
546
- showEmptyOption: {
547
- default: boolean;
548
- type: BooleanConstructor;
549
- };
550
- showRemoveButton: {
551
- default: boolean;
552
- type: BooleanConstructor;
553
- };
554
- emptyOptionLabel: {
555
- default(): string;
556
- type: StringConstructor;
557
- };
558
- select: {
559
- default: undefined;
560
- type: PropType<SelectConfiguration | undefined>;
561
- };
562
- twInput: {
563
- default: undefined;
564
- type: PropType<string | string[]>;
565
- };
566
- twSelect: {
567
- default: undefined;
568
- type: PropType<string | string[]>;
569
- };
570
- }>> & Readonly<{
571
- onClose?: ((...args: any[]) => any) | undefined;
572
- onSelect?: ((...args: any[]) => any) | undefined;
573
- onOpen?: ((...args: any[]) => any) | undefined;
574
- onClear?: ((...args: any[]) => any) | undefined;
575
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
576
- onScrollBottom?: ((...args: any[]) => any) | undefined;
577
- onTyping?: ((...args: any[]) => any) | undefined;
578
- }>, {
579
- focus: () => void;
580
- blur: () => void;
581
- close: () => void;
582
- open: () => void;
583
- setKeywords: (input: string) => void;
584
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
585
- close: (...args: any[]) => void;
586
- select: (...args: any[]) => void;
587
- open: (...args: any[]) => void;
588
- clear: (...args: any[]) => void;
589
- "update:modelValue": (...args: any[]) => void;
590
- scrollBottom: (...args: any[]) => void;
591
- typing: (...args: any[]) => void;
592
- }, string, {
593
- filter: (option: NormalizedOption, keywords: string) => boolean;
594
- select: SelectConfiguration | undefined;
595
- size: "xs" | "sm" | "md" | "lg" | "xl";
596
- required: boolean;
597
- inline: boolean;
598
- disabled: boolean;
599
- name: string;
600
- modelValue: RawOption | null | undefined;
601
- placeholder: string;
602
- hasError: boolean;
603
- visibleFocus: boolean;
604
- loading: boolean;
605
- loadingBottom: boolean;
606
- dropdownShow: "always" | "focus";
607
- showModelValue: boolean;
608
- focusOnMount: boolean;
609
- showEmptyOption: boolean;
610
- showRemoveButton: boolean;
611
- emptyOptionLabel: string;
612
- twInput: string | string[];
613
- twSelect: string | string[];
614
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
615
- beforeCreate?: (() => void) | (() => void)[];
616
- created?: (() => void) | (() => void)[];
617
- beforeMount?: (() => void) | (() => void)[];
618
- mounted?: (() => void) | (() => void)[];
619
- beforeUpdate?: (() => void) | (() => void)[];
620
- updated?: (() => void) | (() => void)[];
621
- activated?: (() => void) | (() => void)[];
622
- deactivated?: (() => void) | (() => void)[];
623
- beforeDestroy?: (() => void) | (() => void)[];
624
- beforeUnmount?: (() => void) | (() => void)[];
625
- destroyed?: (() => void) | (() => void)[];
626
- unmounted?: (() => void) | (() => void)[];
627
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
628
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
629
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
630
- };
631
- $forceUpdate: () => void;
632
- $nextTick: typeof import("vue").nextTick;
633
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
634
- } & Readonly<{
635
- filter: (option: NormalizedOption, keywords: string) => boolean;
636
- select: SelectConfiguration | undefined;
637
- size: "xs" | "sm" | "md" | "lg" | "xl";
638
- required: boolean;
639
- inline: boolean;
640
- disabled: boolean;
641
- name: string;
642
- modelValue: RawOption | null | undefined;
643
- placeholder: string;
644
- hasError: boolean;
645
- visibleFocus: boolean;
646
- loading: boolean;
647
- loadingBottom: boolean;
648
- dropdownShow: "always" | "focus";
649
- showModelValue: boolean;
650
- focusOnMount: boolean;
651
- showEmptyOption: boolean;
652
- showRemoveButton: boolean;
653
- emptyOptionLabel: string;
654
- twInput: string | string[];
655
- twSelect: string | string[];
656
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
657
- modelValue: {
658
- default: undefined;
659
- type: PropType<RawOption | null | undefined>;
660
- };
661
- options: {
662
- required: true;
663
- type: PropType<RawOption[]>;
664
- };
665
- labelKey: {
666
- required: true;
667
- type: PropType<string | ((option: RawOption) => string)>;
668
- };
669
- valueKey: {
670
- required: true;
671
- type: PropType<string | ((option: RawOption) => string)>;
672
- };
673
- name: {
674
- default: undefined;
675
- type: StringConstructor;
676
- };
677
- size: {
678
- default: undefined;
679
- type: PropType<Size>;
680
- };
681
- placeholder: {
682
- default: undefined;
683
- type: StringConstructor;
684
- };
685
- loading: {
686
- default: boolean;
687
- type: BooleanConstructor;
688
- };
689
- loadingBottom: {
690
- default: boolean;
691
- type: BooleanConstructor;
692
- };
693
- required: {
694
- default: undefined;
695
- type: BooleanConstructor;
696
- };
697
- disabled: {
698
- default: boolean;
699
- type: BooleanConstructor;
700
- };
701
- filter: {
702
- default: undefined;
703
- type: PropType<(option: NormalizedOption, keywords: string) => boolean>;
704
- };
705
- hasError: {
706
- default: boolean;
707
- type: BooleanConstructor;
708
- };
709
- inline: {
710
- default: boolean;
711
- type: BooleanConstructor;
712
- };
713
- dropdownShow: {
714
- default: string;
715
- type: PropType<"focus" | "always">;
716
- };
717
- showModelValue: {
718
- default: boolean;
719
- type: BooleanConstructor;
720
- };
721
- visibleFocus: {
722
- default: boolean;
723
- type: BooleanConstructor;
724
- };
725
- focusOnMount: {
726
- default: boolean;
727
- type: BooleanConstructor;
728
- };
729
- showEmptyOption: {
730
- default: boolean;
731
- type: BooleanConstructor;
732
- };
733
- showRemoveButton: {
734
- default: boolean;
735
- type: BooleanConstructor;
736
- };
737
- emptyOptionLabel: {
738
- default(): string;
739
- type: StringConstructor;
740
- };
741
- select: {
742
- default: undefined;
743
- type: PropType<SelectConfiguration | undefined>;
744
- };
745
- twInput: {
746
- default: undefined;
747
- type: PropType<string | string[]>;
748
- };
749
- twSelect: {
750
- default: undefined;
751
- type: PropType<string | string[]>;
752
- };
753
- }>> & Readonly<{
754
- onClose?: ((...args: any[]) => any) | undefined;
755
- onSelect?: ((...args: any[]) => any) | undefined;
756
- onOpen?: ((...args: any[]) => any) | undefined;
757
- onClear?: ((...args: any[]) => any) | undefined;
758
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
759
- onScrollBottom?: ((...args: any[]) => any) | undefined;
760
- onTyping?: ((...args: any[]) => any) | undefined;
761
- }>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("filter" | "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect")> & import("vue").ShallowUnwrapRef<{
762
- focus: () => void;
763
- blur: () => void;
764
- close: () => void;
765
- open: () => void;
766
- setKeywords: (input: string) => void;
767
- }> & {} & import("vue").ComponentCustomProperties & {} & {
768
- $slots: {
769
- empty?: ((props: {
25
+ }): any;
26
+ footer?(_: {
770
27
  focus: () => void;
771
28
  blur: () => void;
772
29
  open: () => void;
773
30
  close: () => void;
774
31
  keywords: import("vue").ComputedRef<string>;
775
- }) => any) | undefined;
776
- option?: ((props: {
32
+ options: NormalizedOption[];
33
+ }): any;
34
+ };
35
+ refs: {
36
+ autocomplete: ({
37
+ $: import("vue").ComponentInternalInstance;
38
+ $data: {};
39
+ $props: Partial<{
40
+ filter: (option: NormalizedOption, keywords: string) => boolean;
41
+ select: SelectConfiguration | undefined;
42
+ size: "xs" | "sm" | "md" | "lg" | "xl";
43
+ required: boolean;
44
+ inline: boolean;
45
+ disabled: boolean;
46
+ name: string;
47
+ modelValue: RawOption | null | undefined;
48
+ placeholder: string;
49
+ hasError: boolean;
50
+ visibleFocus: boolean;
51
+ loading: boolean;
52
+ loadingBottom: boolean;
53
+ dropdownShow: "always" | "focus";
54
+ showModelValue: boolean;
55
+ focusOnMount: boolean;
56
+ showEmptyOption: boolean;
57
+ showRemoveButton: boolean;
58
+ emptyOptionLabel: string;
59
+ twInput: string | string[];
60
+ twSelect: string | string[];
61
+ }> & Omit<{
62
+ readonly inline: boolean;
63
+ readonly disabled: boolean;
64
+ readonly options: RawOption[];
65
+ readonly hasError: boolean;
66
+ readonly visibleFocus: boolean;
67
+ readonly labelKey: string | ((option: RawOption) => string);
68
+ readonly valueKey: string | ((option: RawOption) => string);
69
+ readonly loading: boolean;
70
+ readonly loadingBottom: boolean;
71
+ readonly dropdownShow: "always" | "focus";
72
+ readonly showModelValue: boolean;
73
+ readonly focusOnMount: boolean;
74
+ readonly showEmptyOption: boolean;
75
+ readonly showRemoveButton: boolean;
76
+ readonly emptyOptionLabel: string;
77
+ readonly filter?: ((option: NormalizedOption, keywords: string) => boolean) | undefined;
78
+ readonly select?: SelectConfiguration | undefined;
79
+ readonly size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
80
+ readonly required?: boolean | undefined;
81
+ readonly name?: string | undefined;
82
+ readonly modelValue?: RawOption | null | undefined;
83
+ readonly placeholder?: string | undefined;
84
+ readonly twInput?: string | string[] | undefined;
85
+ readonly twSelect?: string | string[] | undefined;
86
+ readonly onClose?: ((...args: any[]) => any) | undefined;
87
+ readonly onSelect?: ((...args: any[]) => any) | undefined;
88
+ readonly onOpen?: ((...args: any[]) => any) | undefined;
89
+ readonly onClear?: ((...args: any[]) => any) | undefined;
90
+ readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
91
+ readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
92
+ readonly onTyping?: ((...args: any[]) => any) | undefined;
93
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "filter" | "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect">;
94
+ $attrs: {
95
+ [x: string]: unknown;
96
+ };
97
+ $refs: {
98
+ [x: string]: unknown;
99
+ };
100
+ $slots: Readonly<{
101
+ [name: string]: import("vue").Slot<any> | undefined;
102
+ }>;
103
+ $root: import("vue").ComponentPublicInstance | null;
104
+ $parent: import("vue").ComponentPublicInstance | null;
105
+ $host: Element | null;
106
+ $emit: ((event: "close", ...args: any[]) => void) & ((event: "select", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "clear", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void) & ((event: "typing", ...args: any[]) => void);
107
+ $el: HTMLDivElement;
108
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
109
+ modelValue: {
110
+ default: undefined;
111
+ type: PropType<RawOption | null | undefined>;
112
+ };
113
+ options: {
114
+ required: true;
115
+ type: PropType<RawOption[]>;
116
+ };
117
+ labelKey: {
118
+ required: true;
119
+ type: PropType<string | ((option: RawOption) => string)>;
120
+ };
121
+ valueKey: {
122
+ required: true;
123
+ type: PropType<string | ((option: RawOption) => string)>;
124
+ };
125
+ name: {
126
+ default: undefined;
127
+ type: StringConstructor;
128
+ };
129
+ size: {
130
+ default: undefined;
131
+ type: PropType<Size>;
132
+ };
133
+ placeholder: {
134
+ default: undefined;
135
+ type: StringConstructor;
136
+ };
137
+ loading: {
138
+ default: boolean;
139
+ type: BooleanConstructor;
140
+ };
141
+ loadingBottom: {
142
+ default: boolean;
143
+ type: BooleanConstructor;
144
+ };
145
+ required: {
146
+ default: undefined;
147
+ type: BooleanConstructor;
148
+ };
149
+ disabled: {
150
+ default: boolean;
151
+ type: BooleanConstructor;
152
+ };
153
+ filter: {
154
+ default: undefined;
155
+ type: PropType<(option: NormalizedOption, keywords: string) => boolean>;
156
+ };
157
+ hasError: {
158
+ default: boolean;
159
+ type: BooleanConstructor;
160
+ };
161
+ inline: {
162
+ default: boolean;
163
+ type: BooleanConstructor;
164
+ };
165
+ dropdownShow: {
166
+ default: string;
167
+ type: PropType<"focus" | "always">;
168
+ };
169
+ showModelValue: {
170
+ default: boolean;
171
+ type: BooleanConstructor;
172
+ };
173
+ visibleFocus: {
174
+ default: boolean;
175
+ type: BooleanConstructor;
176
+ };
177
+ focusOnMount: {
178
+ default: boolean;
179
+ type: BooleanConstructor;
180
+ };
181
+ showEmptyOption: {
182
+ default: boolean;
183
+ type: BooleanConstructor;
184
+ };
185
+ showRemoveButton: {
186
+ default: boolean;
187
+ type: BooleanConstructor;
188
+ };
189
+ emptyOptionLabel: {
190
+ default(): string;
191
+ type: StringConstructor;
192
+ };
193
+ select: {
194
+ default: undefined;
195
+ type: PropType<SelectConfiguration | undefined>;
196
+ };
197
+ twInput: {
198
+ default: undefined;
199
+ type: PropType<string | string[]>;
200
+ };
201
+ twSelect: {
202
+ default: undefined;
203
+ type: PropType<string | string[]>;
204
+ };
205
+ }>> & Readonly<{
206
+ onClose?: ((...args: any[]) => any) | undefined;
207
+ onSelect?: ((...args: any[]) => any) | undefined;
208
+ onOpen?: ((...args: any[]) => any) | undefined;
209
+ onClear?: ((...args: any[]) => any) | undefined;
210
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
211
+ onScrollBottom?: ((...args: any[]) => any) | undefined;
212
+ onTyping?: ((...args: any[]) => any) | undefined;
213
+ }>, {
214
+ focus: () => void;
215
+ blur: () => void;
216
+ close: () => void;
217
+ open: () => void;
218
+ setKeywords: (input: string) => void;
219
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
220
+ close: (...args: any[]) => void;
221
+ select: (...args: any[]) => void;
222
+ open: (...args: any[]) => void;
223
+ clear: (...args: any[]) => void;
224
+ "update:modelValue": (...args: any[]) => void;
225
+ scrollBottom: (...args: any[]) => void;
226
+ typing: (...args: any[]) => void;
227
+ }, string, {
228
+ filter: (option: NormalizedOption, keywords: string) => boolean;
229
+ select: SelectConfiguration | undefined;
230
+ size: "xs" | "sm" | "md" | "lg" | "xl";
231
+ required: boolean;
232
+ inline: boolean;
233
+ disabled: boolean;
234
+ name: string;
235
+ modelValue: RawOption | null | undefined;
236
+ placeholder: string;
237
+ hasError: boolean;
238
+ visibleFocus: boolean;
239
+ loading: boolean;
240
+ loadingBottom: boolean;
241
+ dropdownShow: "always" | "focus";
242
+ showModelValue: boolean;
243
+ focusOnMount: boolean;
244
+ showEmptyOption: boolean;
245
+ showRemoveButton: boolean;
246
+ emptyOptionLabel: string;
247
+ twInput: string | string[];
248
+ twSelect: string | string[];
249
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
250
+ beforeCreate?: (() => void) | (() => void)[];
251
+ created?: (() => void) | (() => void)[];
252
+ beforeMount?: (() => void) | (() => void)[];
253
+ mounted?: (() => void) | (() => void)[];
254
+ beforeUpdate?: (() => void) | (() => void)[];
255
+ updated?: (() => void) | (() => void)[];
256
+ activated?: (() => void) | (() => void)[];
257
+ deactivated?: (() => void) | (() => void)[];
258
+ beforeDestroy?: (() => void) | (() => void)[];
259
+ beforeUnmount?: (() => void) | (() => void)[];
260
+ destroyed?: (() => void) | (() => void)[];
261
+ unmounted?: (() => void) | (() => void)[];
262
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
263
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
264
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
265
+ };
266
+ $forceUpdate: () => void;
267
+ $nextTick: typeof import("vue").nextTick;
268
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
269
+ } & Readonly<{
270
+ filter: (option: NormalizedOption, keywords: string) => boolean;
271
+ select: SelectConfiguration | undefined;
272
+ size: "xs" | "sm" | "md" | "lg" | "xl";
273
+ required: boolean;
274
+ inline: boolean;
275
+ disabled: boolean;
276
+ name: string;
277
+ modelValue: RawOption | null | undefined;
278
+ placeholder: string;
279
+ hasError: boolean;
280
+ visibleFocus: boolean;
281
+ loading: boolean;
282
+ loadingBottom: boolean;
283
+ dropdownShow: "always" | "focus";
284
+ showModelValue: boolean;
285
+ focusOnMount: boolean;
286
+ showEmptyOption: boolean;
287
+ showRemoveButton: boolean;
288
+ emptyOptionLabel: string;
289
+ twInput: string | string[];
290
+ twSelect: string | string[];
291
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
292
+ modelValue: {
293
+ default: undefined;
294
+ type: PropType<RawOption | null | undefined>;
295
+ };
296
+ options: {
297
+ required: true;
298
+ type: PropType<RawOption[]>;
299
+ };
300
+ labelKey: {
301
+ required: true;
302
+ type: PropType<string | ((option: RawOption) => string)>;
303
+ };
304
+ valueKey: {
305
+ required: true;
306
+ type: PropType<string | ((option: RawOption) => string)>;
307
+ };
308
+ name: {
309
+ default: undefined;
310
+ type: StringConstructor;
311
+ };
312
+ size: {
313
+ default: undefined;
314
+ type: PropType<Size>;
315
+ };
316
+ placeholder: {
317
+ default: undefined;
318
+ type: StringConstructor;
319
+ };
320
+ loading: {
321
+ default: boolean;
322
+ type: BooleanConstructor;
323
+ };
324
+ loadingBottom: {
325
+ default: boolean;
326
+ type: BooleanConstructor;
327
+ };
328
+ required: {
329
+ default: undefined;
330
+ type: BooleanConstructor;
331
+ };
332
+ disabled: {
333
+ default: boolean;
334
+ type: BooleanConstructor;
335
+ };
336
+ filter: {
337
+ default: undefined;
338
+ type: PropType<(option: NormalizedOption, keywords: string) => boolean>;
339
+ };
340
+ hasError: {
341
+ default: boolean;
342
+ type: BooleanConstructor;
343
+ };
344
+ inline: {
345
+ default: boolean;
346
+ type: BooleanConstructor;
347
+ };
348
+ dropdownShow: {
349
+ default: string;
350
+ type: PropType<"focus" | "always">;
351
+ };
352
+ showModelValue: {
353
+ default: boolean;
354
+ type: BooleanConstructor;
355
+ };
356
+ visibleFocus: {
357
+ default: boolean;
358
+ type: BooleanConstructor;
359
+ };
360
+ focusOnMount: {
361
+ default: boolean;
362
+ type: BooleanConstructor;
363
+ };
364
+ showEmptyOption: {
365
+ default: boolean;
366
+ type: BooleanConstructor;
367
+ };
368
+ showRemoveButton: {
369
+ default: boolean;
370
+ type: BooleanConstructor;
371
+ };
372
+ emptyOptionLabel: {
373
+ default(): string;
374
+ type: StringConstructor;
375
+ };
376
+ select: {
377
+ default: undefined;
378
+ type: PropType<SelectConfiguration | undefined>;
379
+ };
380
+ twInput: {
381
+ default: undefined;
382
+ type: PropType<string | string[]>;
383
+ };
384
+ twSelect: {
385
+ default: undefined;
386
+ type: PropType<string | string[]>;
387
+ };
388
+ }>> & Readonly<{
389
+ onClose?: ((...args: any[]) => any) | undefined;
390
+ onSelect?: ((...args: any[]) => any) | undefined;
391
+ onOpen?: ((...args: any[]) => any) | undefined;
392
+ onClear?: ((...args: any[]) => any) | undefined;
393
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
394
+ onScrollBottom?: ((...args: any[]) => any) | undefined;
395
+ onTyping?: ((...args: any[]) => any) | undefined;
396
+ }>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("filter" | "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect")> & import("vue").ShallowUnwrapRef<{
777
397
  focus: () => void;
778
398
  blur: () => void;
779
- open: () => void;
780
399
  close: () => void;
781
- keywords: import("vue").ComputedRef<string>;
782
- option: RawOption | null;
783
- value: import("@/types").OptionValue;
784
- label: string;
785
- selected: boolean;
786
- active: boolean;
787
- }) => any) | undefined;
788
- footer?: ((props: {
789
- focus: () => void;
790
- blur: () => void;
791
400
  open: () => void;
792
- close: () => void;
793
- keywords: import("vue").ComputedRef<string>;
794
- options: NormalizedOption[];
795
- }) => any) | undefined;
796
- };
797
- }) | null>;
798
- declare const model: import("vue").ComputedRef<RawOption | null | undefined>;
799
- declare function onUpdate(newModel: RawOption | null): void;
800
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
801
- declare var __VLS_10: {
802
- focus: () => void;
803
- blur: () => void;
804
- open: () => void;
805
- close: () => void;
806
- keywords: import("vue").ComputedRef<string>;
807
- option: RawOption | null;
808
- value: import("@/types").OptionValue;
809
- label: string;
810
- selected: boolean;
811
- active: boolean;
812
- }, __VLS_12: {
813
- focus: () => void;
814
- blur: () => void;
815
- open: () => void;
816
- close: () => void;
817
- keywords: import("vue").ComputedRef<string>;
818
- }, __VLS_14: {
819
- focus: () => void;
820
- blur: () => void;
821
- open: () => void;
822
- close: () => void;
823
- keywords: import("vue").ComputedRef<string>;
824
- options: NormalizedOption[];
401
+ setKeywords: (input: string) => void;
402
+ }> & {} & import("vue").ComponentCustomProperties & {} & {
403
+ $slots: {
404
+ empty?(_: {
405
+ focus: () => void;
406
+ blur: () => void;
407
+ open: () => void;
408
+ close: () => void;
409
+ keywords: import("vue").ComputedRef<string>;
410
+ }): any;
411
+ option?(_: {
412
+ focus: () => void;
413
+ blur: () => void;
414
+ open: () => void;
415
+ close: () => void;
416
+ keywords: import("vue").ComputedRef<string>;
417
+ option: RawOption | null;
418
+ value: import("@/types").OptionValue;
419
+ label: string;
420
+ selected: boolean;
421
+ active: boolean;
422
+ }): any;
423
+ footer?(_: {
424
+ focus: () => void;
425
+ blur: () => void;
426
+ open: () => void;
427
+ close: () => void;
428
+ keywords: import("vue").ComputedRef<string>;
429
+ options: NormalizedOption[];
430
+ }): any;
431
+ };
432
+ }) | null;
433
+ };
434
+ rootEl: HTMLDivElement;
825
435
  };
826
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
827
- option?: (props: typeof __VLS_10) => any;
828
- } & {
829
- empty?: (props: typeof __VLS_12) => any;
830
- } & {
831
- footer?: (props: typeof __VLS_14) => any;
832
- }>;
833
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
834
- modelValue: {
835
- default: undefined;
836
- type: PropType<string | number | null | undefined>;
837
- };
838
- options: {
839
- required: true;
840
- type: PropType<RawOption[]>;
841
- };
842
- primaryKey: {
843
- default: string;
844
- type: StringConstructor;
845
- };
846
- field: {
847
- required: true;
848
- type: PropType<string | ((option: RawOption) => string)>;
849
- };
850
- required: {
851
- default: boolean;
852
- type: BooleanConstructor;
853
- };
854
- disabled: {
855
- default: boolean;
856
- type: BooleanConstructor;
857
- };
858
- name: {
859
- default: undefined;
860
- type: StringConstructor;
861
- };
862
- placeholder: {
863
- default: undefined;
864
- type: StringConstructor;
865
- };
866
- hasError: {
867
- default: boolean;
868
- type: BooleanConstructor;
869
- };
870
- inline: {
871
- default: boolean;
872
- type: BooleanConstructor;
873
- };
874
- size: {
875
- default: undefined;
876
- type: PropType<Size>;
877
- };
878
- filter: {
879
- default: undefined;
880
- type: PropType<(option: NormalizedOption, keywords: string) => boolean>;
881
- };
882
- dropdownShow: {
883
- default: string;
884
- type: PropType<"focus" | "always">;
885
- };
886
- showModelValue: {
887
- default: boolean;
888
- type: BooleanConstructor;
889
- };
890
- visibleFocus: {
891
- default: boolean;
892
- type: BooleanConstructor;
893
- };
894
- focusOnMount: {
895
- default: boolean;
896
- type: BooleanConstructor;
897
- };
898
- showEmptyOption: {
899
- default: boolean;
900
- type: BooleanConstructor;
901
- };
902
- showRemoveButton: {
903
- default: boolean;
904
- type: BooleanConstructor;
905
- };
906
- emptyOptionLabel: {
907
- default: undefined;
908
- type: StringConstructor;
909
- };
910
- select: {
911
- default: undefined;
912
- type: PropType<SelectConfiguration | undefined>;
913
- };
914
- }>, {
915
- BaseAutocomplete: typeof BaseAutocomplete;
916
- autocomplete: typeof autocomplete;
917
- model: typeof model;
918
- onUpdate: typeof onUpdate;
919
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
920
- "update:modelValue": (...args: any[]) => void;
921
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
922
- modelValue: {
923
- default: undefined;
924
- type: PropType<string | number | null | undefined>;
925
- };
926
- options: {
927
- required: true;
928
- type: PropType<RawOption[]>;
929
- };
930
- primaryKey: {
931
- default: string;
932
- type: StringConstructor;
933
- };
934
- field: {
935
- required: true;
936
- type: PropType<string | ((option: RawOption) => string)>;
937
- };
938
- required: {
939
- default: boolean;
940
- type: BooleanConstructor;
941
- };
942
- disabled: {
943
- default: boolean;
944
- type: BooleanConstructor;
945
- };
946
- name: {
947
- default: undefined;
948
- type: StringConstructor;
949
- };
950
- placeholder: {
951
- default: undefined;
952
- type: StringConstructor;
953
- };
954
- hasError: {
955
- default: boolean;
956
- type: BooleanConstructor;
957
- };
958
- inline: {
959
- default: boolean;
960
- type: BooleanConstructor;
961
- };
962
- size: {
963
- default: undefined;
964
- type: PropType<Size>;
965
- };
966
- filter: {
967
- default: undefined;
968
- type: PropType<(option: NormalizedOption, keywords: string) => boolean>;
969
- };
970
- dropdownShow: {
971
- default: string;
972
- type: PropType<"focus" | "always">;
973
- };
974
- showModelValue: {
975
- default: boolean;
976
- type: BooleanConstructor;
977
- };
978
- visibleFocus: {
979
- default: boolean;
980
- type: BooleanConstructor;
981
- };
982
- focusOnMount: {
983
- default: boolean;
984
- type: BooleanConstructor;
985
- };
986
- showEmptyOption: {
987
- default: boolean;
988
- type: BooleanConstructor;
989
- };
990
- showRemoveButton: {
991
- default: boolean;
992
- type: BooleanConstructor;
993
- };
994
- emptyOptionLabel: {
995
- default: undefined;
996
- type: StringConstructor;
997
- };
998
- select: {
999
- default: undefined;
1000
- type: PropType<SelectConfiguration | undefined>;
1001
- };
1002
- }>> & Readonly<{
1003
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1004
- }>, {
1005
- filter: (option: NormalizedOption, keywords: string) => boolean;
1006
- select: SelectConfiguration | undefined;
1007
- size: "xs" | "sm" | "md" | "lg" | "xl";
1008
- required: boolean;
1009
- inline: boolean;
1010
- disabled: boolean;
1011
- name: string;
1012
- modelValue: string | number | null | undefined;
1013
- placeholder: string;
1014
- hasError: boolean;
1015
- visibleFocus: boolean;
1016
- primaryKey: string;
1017
- dropdownShow: "always" | "focus";
1018
- showModelValue: boolean;
1019
- focusOnMount: boolean;
1020
- showEmptyOption: boolean;
1021
- showRemoveButton: boolean;
1022
- emptyOptionLabel: string;
1023
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
436
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
1024
437
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1025
438
  modelValue: {
1026
439
  default: undefined;
@@ -1212,10 +625,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
1212
625
  showEmptyOption: boolean;
1213
626
  showRemoveButton: boolean;
1214
627
  emptyOptionLabel: string;
1215
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1216
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
628
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
629
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
1217
630
  export default _default;
1218
- type __VLS_WithSlots<T, S> = T & {
631
+ type __VLS_WithTemplateSlots<T, S> = T & {
1219
632
  new (): {
1220
633
  $slots: S;
1221
634
  };