sprintify-ui 0.10.65 → 0.10.66

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