@quidgest/ui 0.17.2 → 0.17.4

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 (333) hide show
  1. package/dist/json/api.json +11 -1
  2. package/dist/ui.esm.js +980 -9022
  3. package/dist/ui.js +971 -45
  4. package/dist/ui.min.js +817 -900
  5. package/dist/ui.scss +1 -1
  6. package/esm/_virtual/_plugin-vue_export-helper.js +7 -8
  7. package/esm/_virtual/_rolldown/runtime.js +11 -0
  8. package/esm/components/QAccordion/QAccordion.vue.js +45 -43
  9. package/esm/components/QAccordion/QAccordion2.vue.js +5 -0
  10. package/esm/components/QAccordion/QAccordionItem.vue.js +33 -39
  11. package/esm/components/QAccordion/QAccordionItem2.vue.js +5 -0
  12. package/esm/components/QAccordion/index.js +7 -8
  13. package/esm/components/QAvatar/QAvatar.vue.js +41 -48
  14. package/esm/components/QAvatar/QAvatar2.vue.js +5 -0
  15. package/esm/components/QAvatar/index.js +6 -6
  16. package/esm/components/QBadge/QBadge.vue.js +98 -142
  17. package/esm/components/QBadge/QBadge2.vue.js +5 -0
  18. package/esm/components/QBadge/constants.js +4 -11
  19. package/esm/components/QBadge/index.js +6 -6
  20. package/esm/components/QBadgeIndicator/QBadgeIndicator.vue.js +38 -49
  21. package/esm/components/QBadgeIndicator/QBadgeIndicator2.vue.js +5 -0
  22. package/esm/components/QBadgeIndicator/index.js +6 -6
  23. package/esm/components/QButton/QButton.vue.js +73 -84
  24. package/esm/components/QButton/QButton2.vue.js +5 -0
  25. package/esm/components/QButton/index.js +6 -6
  26. package/esm/components/QButtonGroup/QButtonGroup.vue.js +33 -37
  27. package/esm/components/QButtonGroup/QButtonGroup2.vue.js +5 -0
  28. package/esm/components/QButtonGroup/index.js +6 -6
  29. package/esm/components/QCard/QCard.vue.js +91 -133
  30. package/esm/components/QCard/QCard2.vue.js +5 -0
  31. package/esm/components/QCard/index.js +6 -6
  32. package/esm/components/QCarousel/QCarousel.vue.js +247 -354
  33. package/esm/components/QCarousel/QCarousel2.vue.js +5 -0
  34. package/esm/components/QCarousel/constants.js +10 -15
  35. package/esm/components/QCarousel/index.js +6 -6
  36. package/esm/components/QCheckbox/QCheckbox.vue.js +133 -143
  37. package/esm/components/QCheckbox/QCheckbox2.vue.js +5 -0
  38. package/esm/components/QCheckbox/QCheckboxLabel.vue.js +31 -32
  39. package/esm/components/QCheckbox/QCheckboxLabel2.vue.js +5 -0
  40. package/esm/components/QCheckbox/constants.js +6 -10
  41. package/esm/components/QCheckbox/index.js +7 -8
  42. package/esm/components/QCollapsible/QCollapsible.vue.js +90 -136
  43. package/esm/components/QCollapsible/QCollapsible2.vue.js +5 -0
  44. package/esm/components/QCollapsible/constants.js +5 -7
  45. package/esm/components/QCollapsible/index.js +6 -6
  46. package/esm/components/QColorPicker/QColorPicker.vue.js +96 -100
  47. package/esm/components/QColorPicker/QColorPicker2.vue.js +5 -0
  48. package/esm/components/QColorPicker/constants.js +4 -6
  49. package/esm/components/QColorPicker/index.js +6 -6
  50. package/esm/components/QCombobox/QCombobox.vue.js +316 -364
  51. package/esm/components/QCombobox/QCombobox2.vue.js +5 -0
  52. package/esm/components/QCombobox/constants.js +12 -13
  53. package/esm/components/QCombobox/index.js +6 -6
  54. package/esm/components/QDateTimePicker/QDateTimePicker.d.ts +5 -0
  55. package/esm/components/QDateTimePicker/QDateTimePicker.d.ts.map +1 -1
  56. package/esm/components/QDateTimePicker/QDateTimePicker.vue.js +1119 -1449
  57. package/esm/components/QDateTimePicker/QDateTimePicker2.vue.js +5 -0
  58. package/esm/components/QDateTimePicker/constants.js +72 -91
  59. package/esm/components/QDateTimePicker/index.d.ts +12 -0
  60. package/esm/components/QDateTimePicker/index.d.ts.map +1 -1
  61. package/esm/components/QDateTimePicker/index.js +6 -6
  62. package/esm/components/QDefaultsProvider/QDefaultsProvider.vue.js +15 -15
  63. package/esm/components/QDefaultsProvider/QDefaultsProvider2.vue.js +5 -0
  64. package/esm/components/QDefaultsProvider/index.js +6 -6
  65. package/esm/components/QDialog/QDialog.vue.js +175 -226
  66. package/esm/components/QDialog/QDialog2.vue.js +5 -0
  67. package/esm/components/QDialog/QDialogProvider.vue.js +26 -35
  68. package/esm/components/QDialog/QDialogProvider2.vue.js +5 -0
  69. package/esm/components/QDialog/constants.js +11 -23
  70. package/esm/components/QDialog/index.js +7 -8
  71. package/esm/components/QDismissibleLayer/QDismissibleLayer.vue.js +63 -69
  72. package/esm/components/QDismissibleLayer/QDismissibleLayer2.vue.js +5 -0
  73. package/esm/components/QDismissibleLayer/index.js +6 -6
  74. package/esm/components/QDivider/QDivider.vue.js +39 -62
  75. package/esm/components/QDivider/QDivider2.vue.js +5 -0
  76. package/esm/components/QDivider/index.js +6 -6
  77. package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +54 -64
  78. package/esm/components/QDropdownMenu/QDropdownMenu2.vue.js +5 -0
  79. package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +196 -215
  80. package/esm/components/QDropdownMenu/QDropdownMenuContent2.vue.js +5 -0
  81. package/esm/components/QDropdownMenu/constants.js +4 -8
  82. package/esm/components/QDropdownMenu/index.js +6 -6
  83. package/esm/components/QField/QField.vue.js +74 -90
  84. package/esm/components/QField/QField2.vue.js +5 -0
  85. package/esm/components/QField/index.js +6 -6
  86. package/esm/components/QFileUpload/QFileUpload.vue.js +156 -241
  87. package/esm/components/QFileUpload/QFileUpload2.vue.js +5 -0
  88. package/esm/components/QFileUpload/constants.js +16 -27
  89. package/esm/components/QFileUpload/index.js +6 -6
  90. package/esm/components/QFocusWrap/QFocusWrap.vue.js +89 -118
  91. package/esm/components/QFocusWrap/QFocusWrap2.vue.js +5 -0
  92. package/esm/components/QFocusWrap/index.js +6 -6
  93. package/esm/components/QGrid/QCol.vue.js +33 -48
  94. package/esm/components/QGrid/QCol2.vue.js +5 -0
  95. package/esm/components/QGrid/QContainer.vue.js +11 -23
  96. package/esm/components/QGrid/QContainer2.vue.js +5 -0
  97. package/esm/components/QGrid/QRow.vue.js +24 -35
  98. package/esm/components/QGrid/QRow2.vue.js +5 -0
  99. package/esm/components/QGrid/QSpacer.vue.js +9 -9
  100. package/esm/components/QGrid/index.js +9 -12
  101. package/esm/components/QGroupBox/QGroupBox.vue.js +32 -43
  102. package/esm/components/QGroupBox/QGroupBox2.vue.js +5 -0
  103. package/esm/components/QGroupBox/index.js +6 -6
  104. package/esm/components/QIcon/InlineSvg.js +92 -129
  105. package/esm/components/QIcon/QIcon.vue.js +40 -42
  106. package/esm/components/QIcon/QIcon2.vue.js +5 -0
  107. package/esm/components/QIcon/QIconFont.vue.js +26 -20
  108. package/esm/components/QIcon/QIconFont2.vue.js +5 -0
  109. package/esm/components/QIcon/QIconImg.vue.js +23 -19
  110. package/esm/components/QIcon/QIconImg2.vue.js +5 -0
  111. package/esm/components/QIcon/QIconSvg.vue.js +40 -31
  112. package/esm/components/QIcon/QIconSvg2.vue.js +5 -0
  113. package/esm/components/QIcon/index.js +9 -12
  114. package/esm/components/QInputGroup/QInputGroup.vue.js +62 -89
  115. package/esm/components/QInputGroup/QInputGroup2.vue.js +5 -0
  116. package/esm/components/QInputGroup/index.js +6 -6
  117. package/esm/components/QLabel/QLabel.vue.js +33 -43
  118. package/esm/components/QLabel/QLabel2.vue.js +5 -0
  119. package/esm/components/QLabel/index.js +6 -6
  120. package/esm/components/QLineLoader/QLineLoader.vue.js +26 -26
  121. package/esm/components/QLineLoader/QLineLoader2.vue.js +5 -0
  122. package/esm/components/QLineLoader/index.js +6 -6
  123. package/esm/components/QList/QList.vue.js +229 -241
  124. package/esm/components/QList/QList2.vue.js +5 -0
  125. package/esm/components/QList/QListItem.vue.js +84 -118
  126. package/esm/components/QList/QListItem2.vue.js +5 -0
  127. package/esm/components/QList/QListItemGroup.vue.js +25 -28
  128. package/esm/components/QList/QListItemGroup2.vue.js +5 -0
  129. package/esm/components/QList/constants.js +6 -10
  130. package/esm/components/QList/index.js +8 -10
  131. package/esm/components/QMeter/QMeter.vue.js +39 -61
  132. package/esm/components/QMeter/QMeter2.vue.js +5 -0
  133. package/esm/components/QMeter/index.js +6 -6
  134. package/esm/components/QOverlay/QOverlay.vue.js +282 -322
  135. package/esm/components/QOverlay/QOverlay2.vue.js +5 -0
  136. package/esm/components/QOverlay/index.js +6 -6
  137. package/esm/components/QPasswordField/QPasswordField.vue.js +142 -163
  138. package/esm/components/QPasswordField/QPasswordField2.vue.js +5 -0
  139. package/esm/components/QPasswordField/QPasswordFieldMessages.vue.js +11 -27
  140. package/esm/components/QPasswordField/QPasswordFieldMessages2.vue.js +5 -0
  141. package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +82 -103
  142. package/esm/components/QPasswordField/QPasswordFieldMeterOverlay2.vue.js +5 -0
  143. package/esm/components/QPasswordField/constants.js +6 -10
  144. package/esm/components/QPasswordField/index.js +6 -6
  145. package/esm/components/QPopover/QPopover.vue.js +74 -95
  146. package/esm/components/QPopover/QPopover2.vue.js +5 -0
  147. package/esm/components/QPopover/index.js +6 -6
  148. package/esm/components/QPropertyList/QPropertyList.vue.js +109 -154
  149. package/esm/components/QPropertyList/QPropertyList2.vue.js +5 -0
  150. package/esm/components/QPropertyList/QPropertyListGroup.vue.js +46 -68
  151. package/esm/components/QPropertyList/QPropertyListGroup2.vue.js +5 -0
  152. package/esm/components/QPropertyList/QPropertyListPanel.vue.js +24 -47
  153. package/esm/components/QPropertyList/QPropertyListPanel2.vue.js +5 -0
  154. package/esm/components/QPropertyList/QPropertyListRow.vue.js +60 -80
  155. package/esm/components/QPropertyList/QPropertyListRow2.vue.js +5 -0
  156. package/esm/components/QPropertyList/constants.js +6 -13
  157. package/esm/components/QPropertyList/index.js +9 -12
  158. package/esm/components/QRadioGroup/QRadioButton.vue.js +99 -96
  159. package/esm/components/QRadioGroup/QRadioButton2.vue.js +5 -0
  160. package/esm/components/QRadioGroup/QRadioGroup.vue.js +79 -87
  161. package/esm/components/QRadioGroup/QRadioGroup2.vue.js +5 -0
  162. package/esm/components/QRadioGroup/index.js +7 -8
  163. package/esm/components/QRemoveScrollBar/QRemoveScrollBar.vue.js +49 -51
  164. package/esm/components/QRemoveScrollBar/QRemoveScrollBar2.vue.js +5 -0
  165. package/esm/components/QRemoveScrollBar/constants.js +4 -8
  166. package/esm/components/QRemoveScrollBar/index.js +6 -6
  167. package/esm/components/QRemoveScrollBar/utils/gap.js +24 -22
  168. package/esm/components/QRemoveScrollBar/utils/stylesheet.js +19 -20
  169. package/esm/components/QSelect/QSelect.vue.js +399 -583
  170. package/esm/components/QSelect/QSelect2.vue.js +5 -0
  171. package/esm/components/QSelect/constants.js +14 -15
  172. package/esm/components/QSelect/index.js +6 -6
  173. package/esm/components/QSidebar/QSidebar.vue.js +133 -157
  174. package/esm/components/QSidebar/QSidebar2.vue.js +5 -0
  175. package/esm/components/QSidebar/QSidebarAnchor.vue.js +79 -110
  176. package/esm/components/QSidebar/QSidebarAnchor2.vue.js +5 -0
  177. package/esm/components/QSidebar/QSidebarPanel.vue.js +68 -88
  178. package/esm/components/QSidebar/QSidebarPanel2.vue.js +5 -0
  179. package/esm/components/QSidebar/index.js +6 -6
  180. package/esm/components/QSkeletonLoader/QSkeletonLoader.vue.js +28 -35
  181. package/esm/components/QSkeletonLoader/QSkeletonLoader2.vue.js +5 -0
  182. package/esm/components/QSkeletonLoader/index.js +6 -6
  183. package/esm/components/QSpinnerLoader/QSpinnerLoader.vue.js +19 -21
  184. package/esm/components/QSpinnerLoader/QSpinnerLoader2.vue.js +5 -0
  185. package/esm/components/QSpinnerLoader/index.js +6 -6
  186. package/esm/components/QSwitch/QSwitch.vue.js +83 -124
  187. package/esm/components/QSwitch/QSwitch2.vue.js +5 -0
  188. package/esm/components/QSwitch/index.js +6 -6
  189. package/esm/components/QTextArea/QTextArea.vue.js +113 -110
  190. package/esm/components/QTextArea/QTextArea2.vue.js +5 -0
  191. package/esm/components/QTextArea/index.js +6 -6
  192. package/esm/components/QTextField/QTextField.vue.js +115 -118
  193. package/esm/components/QTextField/QTextField2.vue.js +5 -0
  194. package/esm/components/QTextField/index.js +7 -6
  195. package/esm/components/QTextField/types.js +5 -7
  196. package/esm/components/QThemeProvider/QThemeProvider.vue.js +31 -33
  197. package/esm/components/QThemeProvider/QThemeProvider2.vue.js +5 -0
  198. package/esm/components/QThemeProvider/index.js +6 -6
  199. package/esm/components/QToast/QToast.vue.js +140 -213
  200. package/esm/components/QToast/QToast2.vue.js +5 -0
  201. package/esm/components/QToast/QToaster.vue.js +38 -47
  202. package/esm/components/QToast/QToaster2.vue.js +5 -0
  203. package/esm/components/QToast/constants.js +4 -8
  204. package/esm/components/QToast/index.js +7 -8
  205. package/esm/components/QToggle/QToggle.vue.js +39 -42
  206. package/esm/components/QToggle/QToggle2.vue.js +5 -0
  207. package/esm/components/QToggle/index.js +6 -6
  208. package/esm/components/QToggleGroup/QToggleGroup.vue.js +55 -49
  209. package/esm/components/QToggleGroup/QToggleGroup2.vue.js +5 -0
  210. package/esm/components/QToggleGroup/QToggleGroupItem.vue.js +33 -43
  211. package/esm/components/QToggleGroup/QToggleGroupItem2.vue.js +5 -0
  212. package/esm/components/QToggleGroup/index.js +7 -8
  213. package/esm/components/QTooltip/QTooltip.vue.js +93 -113
  214. package/esm/components/QTooltip/QTooltip2.vue.js +5 -0
  215. package/esm/components/QTooltip/index.js +6 -6
  216. package/esm/components/__internal__/QChevron/QChevron.vue.js +28 -30
  217. package/esm/components/__internal__/QChevron/QChevron2.vue.js +5 -0
  218. package/esm/components/__internal__/QChevron/constants.js +4 -8
  219. package/esm/components/__internal__/QChevron/index.js +6 -6
  220. package/esm/components/__internal__/QClearButton/QClearButton.vue.js +39 -44
  221. package/esm/components/__internal__/QClearButton/QClearButton2.vue.js +5 -0
  222. package/esm/components/__internal__/QClearButton/constants.js +4 -11
  223. package/esm/components/__internal__/QClearButton/index.js +6 -6
  224. package/esm/components/index.js +117 -113
  225. package/esm/composables/defaults.js +22 -27
  226. package/esm/composables/overlay.js +125 -135
  227. package/esm/composables/theme.js +13 -20
  228. package/esm/composables/uid.js +7 -8
  229. package/esm/composables/useColor/index.js +41 -42
  230. package/esm/composables/useDialog/index.js +28 -27
  231. package/esm/composables/useDismissibleLayerStack/index.js +31 -30
  232. package/esm/composables/useDropZone/index.js +43 -61
  233. package/esm/composables/useGroup/index.js +33 -39
  234. package/esm/composables/useInputMask/index.d.ts.map +1 -1
  235. package/esm/composables/useInputMask/index.js +384 -396
  236. package/esm/composables/useTextareaAutosize/index.js +18 -21
  237. package/esm/composables/useToast/index.js +30 -32
  238. package/esm/composables/useToast/types.js +4 -4
  239. package/esm/framework.js +56 -59
  240. package/esm/index.js +14 -18
  241. package/esm/symbols/dismissibleLayer.js +4 -4
  242. package/esm/templates/index.js +9 -5
  243. package/esm/templates/theme.js +109 -110
  244. package/esm/utils/color/contrast.js +10 -11
  245. package/esm/utils/color/conversion.js +44 -54
  246. package/esm/utils/color/manipulate.js +14 -19
  247. package/esm/utils/color/merge.js +43 -48
  248. package/esm/utils/color/parse.js +23 -23
  249. package/esm/utils/date.js +456 -463
  250. package/esm/utils/download.js +14 -15
  251. package/esm/utils/getElement.js +5 -5
  252. package/esm/utils/index.js +48 -44
  253. package/esm/utils/isEmpty.js +5 -5
  254. package/esm/utils/isObject.js +5 -5
  255. package/esm/utils/merge.js +12 -16
  256. package/esm/utils/setupPropsProxy.js +21 -28
  257. package/esm/utils/string.js +7 -7
  258. package/esm/utils/theme.js +41 -57
  259. package/esm/vendors/uuid/dist/native.js +3 -4
  260. package/esm/vendors/uuid/dist/rng.js +10 -12
  261. package/esm/vendors/uuid/dist/stringify.js +7 -8
  262. package/esm/vendors/uuid/dist/v4.js +18 -15
  263. package/package.json +12 -12
  264. package/esm/components/QAccordion/QAccordion.vue2.js +0 -4
  265. package/esm/components/QAccordion/QAccordionItem.vue2.js +0 -4
  266. package/esm/components/QAvatar/QAvatar.vue2.js +0 -4
  267. package/esm/components/QBadge/QBadge.vue2.js +0 -4
  268. package/esm/components/QBadgeIndicator/QBadgeIndicator.vue2.js +0 -4
  269. package/esm/components/QButton/QButton.vue2.js +0 -4
  270. package/esm/components/QButtonGroup/QButtonGroup.vue2.js +0 -4
  271. package/esm/components/QCard/QCard.vue2.js +0 -4
  272. package/esm/components/QCarousel/QCarousel.vue2.js +0 -4
  273. package/esm/components/QCheckbox/QCheckbox.vue2.js +0 -4
  274. package/esm/components/QCheckbox/QCheckboxLabel.vue2.js +0 -4
  275. package/esm/components/QCollapsible/QCollapsible.vue2.js +0 -4
  276. package/esm/components/QColorPicker/QColorPicker.vue2.js +0 -4
  277. package/esm/components/QCombobox/QCombobox.vue2.js +0 -4
  278. package/esm/components/QDateTimePicker/QDateTimePicker.vue2.js +0 -4
  279. package/esm/components/QDefaultsProvider/QDefaultsProvider.vue2.js +0 -4
  280. package/esm/components/QDialog/QDialog.vue2.js +0 -4
  281. package/esm/components/QDialog/QDialogProvider.vue2.js +0 -4
  282. package/esm/components/QDismissibleLayer/QDismissibleLayer.vue2.js +0 -4
  283. package/esm/components/QDivider/QDivider.vue2.js +0 -4
  284. package/esm/components/QDropdownMenu/QDropdownMenu.vue2.js +0 -4
  285. package/esm/components/QDropdownMenu/QDropdownMenuContent.vue2.js +0 -4
  286. package/esm/components/QField/QField.vue2.js +0 -4
  287. package/esm/components/QFileUpload/QFileUpload.vue2.js +0 -4
  288. package/esm/components/QFocusWrap/QFocusWrap.vue2.js +0 -4
  289. package/esm/components/QGrid/QCol.vue2.js +0 -4
  290. package/esm/components/QGrid/QContainer.vue2.js +0 -4
  291. package/esm/components/QGrid/QRow.vue2.js +0 -4
  292. package/esm/components/QGroupBox/QGroupBox.vue2.js +0 -4
  293. package/esm/components/QIcon/QIcon.vue2.js +0 -4
  294. package/esm/components/QIcon/QIconFont.vue2.js +0 -4
  295. package/esm/components/QIcon/QIconImg.vue2.js +0 -4
  296. package/esm/components/QIcon/QIconSvg.vue2.js +0 -4
  297. package/esm/components/QInputGroup/QInputGroup.vue2.js +0 -4
  298. package/esm/components/QLabel/QLabel.vue2.js +0 -4
  299. package/esm/components/QLineLoader/QLineLoader.vue2.js +0 -4
  300. package/esm/components/QList/QList.vue2.js +0 -4
  301. package/esm/components/QList/QListItem.vue2.js +0 -4
  302. package/esm/components/QList/QListItemGroup.vue2.js +0 -4
  303. package/esm/components/QMeter/QMeter.vue2.js +0 -4
  304. package/esm/components/QOverlay/QOverlay.vue2.js +0 -4
  305. package/esm/components/QPasswordField/QPasswordField.vue2.js +0 -4
  306. package/esm/components/QPasswordField/QPasswordFieldMessages.vue2.js +0 -4
  307. package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue2.js +0 -4
  308. package/esm/components/QPopover/QPopover.vue2.js +0 -4
  309. package/esm/components/QPropertyList/QPropertyList.vue2.js +0 -4
  310. package/esm/components/QPropertyList/QPropertyListGroup.vue2.js +0 -4
  311. package/esm/components/QPropertyList/QPropertyListPanel.vue2.js +0 -4
  312. package/esm/components/QPropertyList/QPropertyListRow.vue2.js +0 -4
  313. package/esm/components/QRadioGroup/QRadioButton.vue2.js +0 -4
  314. package/esm/components/QRadioGroup/QRadioGroup.vue2.js +0 -4
  315. package/esm/components/QRemoveScrollBar/QRemoveScrollBar.vue2.js +0 -4
  316. package/esm/components/QSelect/QSelect.vue2.js +0 -4
  317. package/esm/components/QSidebar/QSidebar.vue2.js +0 -4
  318. package/esm/components/QSidebar/QSidebarAnchor.vue2.js +0 -4
  319. package/esm/components/QSidebar/QSidebarPanel.vue2.js +0 -4
  320. package/esm/components/QSkeletonLoader/QSkeletonLoader.vue2.js +0 -4
  321. package/esm/components/QSpinnerLoader/QSpinnerLoader.vue2.js +0 -4
  322. package/esm/components/QSwitch/QSwitch.vue2.js +0 -4
  323. package/esm/components/QTextArea/QTextArea.vue2.js +0 -4
  324. package/esm/components/QTextField/QTextField.vue2.js +0 -4
  325. package/esm/components/QThemeProvider/QThemeProvider.vue2.js +0 -4
  326. package/esm/components/QToast/QToast.vue2.js +0 -4
  327. package/esm/components/QToast/QToaster.vue2.js +0 -4
  328. package/esm/components/QToggle/QToggle.vue2.js +0 -4
  329. package/esm/components/QToggleGroup/QToggleGroup.vue2.js +0 -4
  330. package/esm/components/QToggleGroup/QToggleGroupItem.vue2.js +0 -4
  331. package/esm/components/QTooltip/QTooltip.vue2.js +0 -4
  332. package/esm/components/__internal__/QChevron/QChevron.vue2.js +0 -4
  333. package/esm/components/__internal__/QClearButton/QClearButton.vue2.js +0 -4
@@ -1,365 +1,317 @@
1
- import { defineComponent as se, mergeModels as W, useModel as _, ref as b, onMounted as re, computed as m, watch as x, nextTick as w, createElementBlock as Q, openBlock as y, Fragment as de, createVNode as T, unref as v, mergeProps as fe, createSlots as ce, withCtx as d, renderSlot as f, createBlock as S, createCommentVNode as X, withModifiers as me, createElementVNode as ve, toDisplayString as pe } from "vue";
2
- import { DEFAULT_ICONS as be, DEFAULT_TEXTS as ye } from "./constants.js";
3
- import { QButton as he } from "../QButton/index.js";
4
- import { QList as ge } from "../QList/index.js";
5
- import { QOverlay as ke } from "../QOverlay/index.js";
6
- import { QSpinnerLoader as Ie } from "../QSpinnerLoader/index.js";
7
- import { QTextField as xe } from "../QTextField/index.js";
8
- import { QChevron as we } from "../__internal__/QChevron/index.js";
9
- import { QClearButton as Ve } from "../__internal__/QClearButton/index.js";
10
- const Le = ["data-key"], Fe = {
11
- key: 0,
12
- class: "q-select__loader"
13
- }, $e = {
14
- key: 2,
15
- class: "q-select__loader"
16
- }, Qe = /* @__PURE__ */ se({
17
- inheritAttrs: !1,
18
- __name: "QCombobox",
19
- props: /* @__PURE__ */ W({
20
- id: {},
21
- class: {},
22
- label: {},
23
- required: { type: Boolean },
24
- for: {},
25
- labelPosition: {},
26
- size: {},
27
- readonly: { type: Boolean },
28
- disabled: { type: Boolean },
29
- invalid: { type: Boolean },
30
- placeholder: {},
31
- maxLength: {},
32
- clearable: { type: Boolean },
33
- texts: { default: () => ye },
34
- itemValue: { default: "key" },
35
- itemLabel: { default: "label" },
36
- items: {},
37
- groups: { default: () => [] },
38
- selectionMode: { default: "automatic" },
39
- filterMode: { default: "builtin" },
40
- inline: { type: Boolean },
41
- loading: { type: Boolean },
42
- emptyValue: {},
43
- icons: { default: () => be }
44
- }, {
45
- modelValue: {},
46
- modelModifiers: {},
47
- open: { type: Boolean },
48
- openModifiers: {},
49
- search: { default: "" },
50
- searchModifiers: {}
51
- }),
52
- emits: /* @__PURE__ */ W(["before-show", "before-hide", "show", "hide"], ["update:modelValue", "update:open", "update:search"]),
53
- setup(h, { expose: G, emit: J }) {
54
- const l = h, V = J, r = _(h, "modelValue"), i = _(h, "open"), u = _(h, "search"), o = b(void 0), c = b(null), s = b(null), L = b(null), F = b(null), $ = b(null);
55
- re(I);
56
- const q = m(() => l.clearable && !l.readonly && !l.disabled), p = m(() => {
57
- var e;
58
- return l.filterMode === "manual" || !Z.value ? l.items ?? [] : ((e = l.items) == null ? void 0 : e.filter(
59
- (t) => t[l.itemLabel].toLowerCase().startsWith(u.value.toLowerCase())
60
- )) ?? [];
61
- }), g = m(() => {
62
- var e;
63
- return (e = l.items) == null ? void 0 : e.find((t) => t[l.itemValue] === r.value);
64
- }), U = m(() => g.value === void 0), k = m(() => {
65
- const e = o.value;
66
- if (e !== void 0 && p.value[e])
67
- return p.value[e];
68
- }), Y = m(() => {
69
- var t;
70
- if (o.value === void 0)
71
- return;
72
- const e = (t = s.value) == null ? void 0 : t.getItem(o.value);
73
- return e == null ? void 0 : e.id;
74
- }), Z = m(() => {
75
- var e;
76
- return u.value.length > 0 && u.value !== ((e = g.value) == null ? void 0 : e[l.itemLabel]);
77
- });
78
- function C(e) {
79
- r.value = e, B();
80
- }
81
- function I() {
82
- var t;
83
- const e = ((t = g.value) == null ? void 0 : t[l.itemLabel]) || "";
84
- u.value !== e && (u.value = e);
85
- }
86
- function D() {
87
- i.value || l.readonly || l.disabled || (V("before-show"), i.value = !0, E());
88
- }
89
- function B() {
90
- i.value && (V("before-hide"), i.value = !1, o.value = void 0);
91
- }
92
- function ee() {
93
- i.value ? B() : O();
94
- }
95
- function le() {
96
- q.value && (r.value = l.emptyValue, o.value = void 0, E());
97
- }
98
- function O() {
99
- if (D(), g.value !== void 0) {
100
- const e = p.value.indexOf(g.value);
101
- e !== -1 && w(() => P(e));
102
- }
103
- }
104
- function te(e) {
105
- var t, a;
106
- if (!(!e.key || l.readonly || l.disabled))
107
- if (["ArrowDown", "ArrowUp", "Home", "End"].includes(e.key) && (e.preventDefault(), e.stopPropagation()), e.key === "Escape")
108
- I(), i.value && (e.preventDefault(), e.stopPropagation(), B());
109
- else if (["ArrowDown", "ArrowUp"].includes(e.key))
110
- i.value ? w(() => {
111
- if (o.value === void 0)
112
- M();
113
- else {
114
- const n = e.key === "ArrowDown" ? "next" : "prev";
115
- oe(o.value, n);
116
- }
117
- }) : (D(), w(() => {
118
- e.key === "ArrowDown" ? M() : ae();
119
- }));
120
- else if (e.key === "Enter") {
121
- if (k.value === void 0) return;
122
- C(k.value[l.itemValue]);
123
- } else if (e.key === "Home")
124
- o.value = (t = s.value) == null ? void 0 : t.getFirstFocusableItemIndex();
125
- else if (e.key === "End")
126
- o.value = (a = s.value) == null ? void 0 : a.getLastFocusableItemIndex();
127
- else if (e.key === "Tab") {
128
- if (k.value === void 0) return;
129
- C(k.value[l.itemValue]);
130
- } else (/^[a-z0-9]$/i.test(e.key) || e.key === "Backspace") && D();
131
- }
132
- function M() {
133
- var e, t;
134
- if (U.value)
135
- o.value = (t = s.value) == null ? void 0 : t.getFirstFocusableItemIndex();
136
- else {
137
- const a = p.value.findIndex(
138
- (n) => n[l.itemValue] === r.value
139
- );
140
- a === -1 ? o.value = (e = s.value) == null ? void 0 : e.getFirstFocusableItemIndex() : o.value = a;
141
- }
142
- }
143
- function ae() {
144
- var e;
145
- o.value = (e = s.value) == null ? void 0 : e.getLastFocusableItemIndex();
146
- }
147
- function oe(e, t) {
148
- var a;
149
- o.value = (a = s.value) == null ? void 0 : a.getAdjacentItemIndex(e, t);
150
- }
151
- function z(e) {
152
- var N, R, H, j, K;
153
- const t = ((N = L == null ? void 0 : L.value) == null ? void 0 : N.$el) === e.relatedTarget, a = ((R = F == null ? void 0 : F.value) == null ? void 0 : R.$el) === e.relatedTarget, n = (j = (H = c == null ? void 0 : c.value) == null ? void 0 : H.$el) == null ? void 0 : j.contains(e.relatedTarget), A = (K = $ == null ? void 0 : $.value) == null ? void 0 : K.contains(e.relatedTarget);
154
- if (t || a || A || n) {
155
- e.preventDefault(), e.stopPropagation();
156
- return;
157
- }
158
- B(), q.value && !u.value && (r.value = l.emptyValue), I();
159
- }
160
- function E() {
161
- var e, t;
162
- (t = (e = c.value) == null ? void 0 : e.inputRef) == null || t.focus();
163
- }
164
- function ne() {
165
- E();
166
- }
167
- function ie() {
168
- V("show");
169
- }
170
- function ue() {
171
- V("hide");
172
- }
173
- function P(e) {
174
- var a;
175
- const t = (a = s.value) == null ? void 0 : a.getItem(e);
176
- s.value && (s.value.$el.scrollTop = t == null ? void 0 : t.offsetTop);
177
- }
178
- return x(r, I), x(
179
- () => l.items,
180
- (e, t) => {
181
- if (!U.value) {
182
- const a = t == null ? void 0 : t.find((n) => n[l.itemValue] === r.value);
183
- u.value === (a == null ? void 0 : a[l.itemLabel]) && I();
184
- }
185
- },
186
- { deep: !0 }
187
- ), x(o, (e) => {
188
- e !== void 0 && P(e);
189
- }), x(u, (e) => {
190
- e && i.value && l.selectionMode === "automatic" && w(M);
191
- }), x(
192
- () => l.loading,
193
- (e) => {
194
- !e && i.value && w(M);
195
- }
196
- ), G({
197
- triggerEl: c
198
- }), (e, t) => {
199
- var a;
200
- return y(), Q(
201
- de,
202
- null,
203
- [
204
- T(v(xe), fe({
205
- id: l.id,
206
- ref_key: "triggerEl",
207
- ref: c,
208
- modelValue: u.value,
209
- "onUpdate:modelValue": t[0] || (t[0] = (n) => u.value = n),
210
- label: l.label,
211
- required: l.required,
212
- role: "combobox",
213
- placeholder: l.placeholder,
214
- class: [
215
- "q-combobox",
216
- {
217
- "q-combobox--readonly": l.readonly,
218
- "q-combobox--disabled": l.disabled
219
- },
220
- l.class
221
- ],
222
- readonly: l.readonly,
223
- disabled: l.disabled,
224
- "data-loading": l.loading,
225
- autocomplete: "off",
226
- "aria-expanded": i.value,
227
- "aria-haspopup": "listbox",
228
- "aria-autocomplete": "list",
229
- "aria-activedescendant": Y.value,
230
- size: l.size
231
- }, e.$attrs, {
232
- onClick: O,
233
- onFocusout: z,
234
- onKeydown: te
235
- }), ce({
236
- "label.prepend": d(() => [
237
- f(e.$slots, "label.prepend")
238
- ]),
239
- "label.append": d(() => [
240
- f(e.$slots, "label.append")
241
- ]),
242
- append: d(() => [
243
- f(e.$slots, "append"),
244
- q.value && u.value ? (y(), S(v(Ve), {
245
- key: 0,
246
- ref_key: "clearRef",
247
- ref: F,
248
- icons: l.icons,
249
- texts: l.texts,
250
- onClick: le
251
- }, null, 8, ["icons", "texts"])) : X("v-if", !0),
252
- l.readonly ? X("v-if", !0) : (y(), S(v(he), {
253
- key: 1,
254
- ref_key: "toggleRef",
255
- ref: L,
256
- class: "q-combobox__chevron",
257
- "aria-label": l.texts.showOptions,
258
- variant: "ghost",
259
- color: "neutral",
260
- borderless: "",
261
- tabindex: "-1",
262
- disabled: l.disabled,
263
- onMousedown: me(ee, ["stop", "prevent"])
264
- }, {
265
- default: d(() => [
266
- T(v(we), {
267
- "model-value": i.value,
268
- icons: l.icons
269
- }, null, 8, ["model-value", "icons"])
270
- ]),
271
- _: 1
272
- /* STABLE */
273
- }, 8, ["aria-label", "disabled"]))
274
- ]),
275
- _: 2
276
- /* DYNAMIC */
277
- }, [
278
- e.$slots.prepend ? {
279
- name: "prepend",
280
- fn: d(() => [
281
- f(e.$slots, "prepend")
282
- ]),
283
- key: "0"
284
- } : void 0,
285
- e.$slots.extras ? {
286
- name: "extras",
287
- fn: d(() => [
288
- f(e.$slots, "extras")
289
- ]),
290
- key: "1"
291
- } : void 0
292
- ]), 1040, ["id", "modelValue", "label", "required", "placeholder", "class", "readonly", "disabled", "data-loading", "aria-expanded", "aria-activedescendant", "size"]),
293
- T(v(ke), {
294
- modelValue: i.value,
295
- "onUpdate:modelValue": t[1] || (t[1] = (n) => i.value = n),
296
- spy: "",
297
- "non-modal": "",
298
- trigger: "manual",
299
- placement: "bottom-start",
300
- width: "anchor",
301
- offset: 4,
302
- inline: l.inline,
303
- anchor: (a = c.value) == null ? void 0 : a.$el,
304
- onEnter: ie,
305
- onLeave: ue
306
- }, {
307
- default: d(() => {
308
- var n;
309
- return [
310
- ve("div", {
311
- ref_key: "contentRef",
312
- ref: $,
313
- class: "q-select__body",
314
- "data-testid": "combobox-dropdown",
315
- "data-key": l.id,
316
- onFocusout: z
317
- }, [
318
- f(e.$slots, "body.prepend"),
319
- l.loading ? (y(), Q("div", Fe, [
320
- T(v(Ie), { size: 24 })
321
- ])) : p.value.length ? (y(), S(v(ge), {
322
- key: 1,
323
- ref_key: "listRef",
324
- ref: s,
325
- "model-value": r.value,
326
- class: "q-select__items",
327
- selectable: "",
328
- required: "",
329
- highlighted: (n = k.value) == null ? void 0 : n[l.itemValue],
330
- items: p.value,
331
- groups: h.groups,
332
- "item-label": l.itemLabel,
333
- "item-value": l.itemValue,
334
- onMouseup: ne,
335
- "onUpdate:modelValue": C
336
- }, {
337
- item: d(({ item: A }) => [
338
- f(e.$slots, "item", { item: A })
339
- ]),
340
- _: 3
341
- /* FORWARDED */
342
- }, 8, ["model-value", "highlighted", "items", "groups", "item-label", "item-value"])) : (y(), Q(
343
- "div",
344
- $e,
345
- pe(l.texts.noData),
346
- 1
347
- /* TEXT */
348
- )),
349
- f(e.$slots, "body.append")
350
- ], 40, Le)
351
- ];
352
- }),
353
- _: 3
354
- /* FORWARDED */
355
- }, 8, ["modelValue", "inline", "anchor"])
356
- ],
357
- 64
358
- /* STABLE_FRAGMENT */
359
- );
360
- };
361
- }
1
+ import { QSpinnerLoader as e } from "../QSpinnerLoader/index.js";
2
+ import { QButton as t } from "../QButton/index.js";
3
+ import { QChevron as n } from "../__internal__/QChevron/index.js";
4
+ import { QClearButton as r } from "../__internal__/QClearButton/index.js";
5
+ import { QTextField as i } from "../QTextField/index.js";
6
+ import { DEFAULT_ICONS as a, DEFAULT_TEXTS as o } from "./constants.js";
7
+ import { QList as s } from "../QList/index.js";
8
+ import { QOverlay as c } from "../QOverlay/index.js";
9
+ import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as ee, createSlots as te, createVNode as m, defineComponent as h, mergeModels as g, mergeProps as ne, nextTick as _, onMounted as v, openBlock as y, ref as b, renderSlot as x, toDisplayString as re, unref as S, useModel as C, watch as w, withCtx as T, withModifiers as E } from "vue";
10
+ //#region src/components/QCombobox/QCombobox.vue?vue&type=script&setup=true&lang.ts
11
+ var D = ["data-key"], ie = {
12
+ key: 0,
13
+ class: "q-select__loader"
14
+ }, ae = {
15
+ key: 2,
16
+ class: "q-select__loader"
17
+ }, O = /*@__PURE__*/ h({
18
+ inheritAttrs: !1,
19
+ __name: "QCombobox",
20
+ props: /*@__PURE__*/ g({
21
+ id: {},
22
+ class: {},
23
+ label: {},
24
+ required: { type: Boolean },
25
+ for: {},
26
+ labelPosition: {},
27
+ size: {},
28
+ readonly: { type: Boolean },
29
+ disabled: { type: Boolean },
30
+ invalid: { type: Boolean },
31
+ placeholder: {},
32
+ maxLength: {},
33
+ clearable: { type: Boolean },
34
+ texts: { default: () => o },
35
+ itemValue: { default: "key" },
36
+ itemLabel: { default: "label" },
37
+ items: {},
38
+ groups: { default: () => [] },
39
+ selectionMode: { default: "automatic" },
40
+ filterMode: { default: "builtin" },
41
+ inline: { type: Boolean },
42
+ loading: { type: Boolean },
43
+ emptyValue: {},
44
+ icons: { default: () => a }
45
+ }, {
46
+ modelValue: {},
47
+ modelModifiers: {},
48
+ open: { type: Boolean },
49
+ openModifiers: {},
50
+ search: { default: "" },
51
+ searchModifiers: {}
52
+ }),
53
+ emits: /*@__PURE__*/ g([
54
+ "before-show",
55
+ "before-hide",
56
+ "show",
57
+ "hide"
58
+ ], [
59
+ "update:modelValue",
60
+ "update:open",
61
+ "update:search"
62
+ ]),
63
+ setup(a, { expose: o, emit: h }) {
64
+ let g = a, O = h, k = C(a, "modelValue"), A = C(a, "open"), j = C(a, "search"), M = b(void 0), N = b(null), P = b(null), F = b(null), I = b(null), L = b(null);
65
+ v(K);
66
+ let R = u(() => g.clearable && !g.readonly && !g.disabled), z = u(() => g.filterMode === "manual" || !W.value ? g.items ?? [] : g.items?.filter((e) => e[g.itemLabel].toLowerCase().startsWith(j.value.toLowerCase())) ?? []), B = u(() => g.items?.find((e) => e[g.itemValue] === k.value)), V = u(() => B.value === void 0), H = u(() => {
67
+ let e = M.value;
68
+ if (e !== void 0 && z.value[e]) return z.value[e];
69
+ }), U = u(() => {
70
+ if (M.value !== void 0) return P.value?.getItem(M.value)?.id;
71
+ }), W = u(() => j.value.length > 0 && j.value !== B.value?.[g.itemLabel]);
72
+ function G(e) {
73
+ k.value = e, J();
74
+ }
75
+ function K() {
76
+ let e = B.value?.[g.itemLabel] || "";
77
+ j.value !== e && (j.value = e);
78
+ }
79
+ function q() {
80
+ A.value || g.readonly || g.disabled || (O("before-show"), A.value = !0, Q());
81
+ }
82
+ function J() {
83
+ A.value && (O("before-hide"), A.value = !1, M.value = void 0);
84
+ }
85
+ function oe() {
86
+ A.value ? J() : Y();
87
+ }
88
+ function se() {
89
+ R.value && (k.value = g.emptyValue, M.value = void 0, Q());
90
+ }
91
+ function Y() {
92
+ if (q(), B.value !== void 0) {
93
+ let e = z.value.indexOf(B.value);
94
+ e !== -1 && _(() => $(e));
95
+ }
96
+ }
97
+ function ce(e) {
98
+ if (!(!e.key || g.readonly || g.disabled)) if ([
99
+ "ArrowDown",
100
+ "ArrowUp",
101
+ "Home",
102
+ "End"
103
+ ].includes(e.key) && (e.preventDefault(), e.stopPropagation()), e.key === "Escape") K(), A.value && (e.preventDefault(), e.stopPropagation(), J());
104
+ else if (["ArrowDown", "ArrowUp"].includes(e.key)) A.value ? _(() => {
105
+ if (M.value === void 0) X();
106
+ else {
107
+ let t = e.key === "ArrowDown" ? "next" : "prev";
108
+ ue(M.value, t);
109
+ }
110
+ }) : (q(), _(() => {
111
+ e.key === "ArrowDown" ? X() : le();
112
+ }));
113
+ else if (e.key === "Enter") {
114
+ if (H.value === void 0) return;
115
+ G(H.value[g.itemValue]);
116
+ } else if (e.key === "Home") M.value = P.value?.getFirstFocusableItemIndex();
117
+ else if (e.key === "End") M.value = P.value?.getLastFocusableItemIndex();
118
+ else if (e.key === "Tab") {
119
+ if (H.value === void 0) return;
120
+ G(H.value[g.itemValue]);
121
+ } else (/^[a-z0-9]$/i.test(e.key) || e.key === "Backspace") && q();
122
+ }
123
+ function X() {
124
+ if (V.value) M.value = P.value?.getFirstFocusableItemIndex();
125
+ else {
126
+ let e = z.value.findIndex((e) => e[g.itemValue] === k.value);
127
+ e === -1 ? M.value = P.value?.getFirstFocusableItemIndex() : M.value = e;
128
+ }
129
+ }
130
+ function le() {
131
+ M.value = P.value?.getLastFocusableItemIndex();
132
+ }
133
+ function ue(e, t) {
134
+ M.value = P.value?.getAdjacentItemIndex(e, t);
135
+ }
136
+ function Z(e) {
137
+ let t = F?.value?.$el === e.relatedTarget, n = I?.value?.$el === e.relatedTarget, r = N?.value?.$el?.contains(e.relatedTarget), i = L?.value?.contains(e.relatedTarget);
138
+ if (t || n || i || r) {
139
+ e.preventDefault(), e.stopPropagation();
140
+ return;
141
+ }
142
+ J(), R.value && !j.value && (k.value = g.emptyValue), K();
143
+ }
144
+ function Q() {
145
+ N.value?.inputRef?.focus();
146
+ }
147
+ function de() {
148
+ Q();
149
+ }
150
+ function fe() {
151
+ O("show");
152
+ }
153
+ function pe() {
154
+ O("hide");
155
+ }
156
+ function $(e) {
157
+ let t = P.value?.getItem(e);
158
+ P.value && (P.value.$el.scrollTop = t?.offsetTop);
159
+ }
160
+ return w(k, K), w(() => g.items, (e, t) => {
161
+ if (!V.value) {
162
+ let e = t?.find((e) => e[g.itemValue] === k.value);
163
+ j.value === e?.[g.itemLabel] && K();
164
+ }
165
+ }, { deep: !0 }), w(M, (e) => {
166
+ e !== void 0 && $(e);
167
+ }), w(j, (e) => {
168
+ e && A.value && g.selectionMode === "automatic" && _(X);
169
+ }), w(() => g.loading, (e) => {
170
+ !e && A.value && _(X);
171
+ }), o({ triggerEl: N }), (o, u) => (y(), p(l, null, [m(S(i), ne({
172
+ id: g.id,
173
+ ref_key: "triggerEl",
174
+ ref: N,
175
+ modelValue: j.value,
176
+ "onUpdate:modelValue": u[0] ||= (e) => j.value = e,
177
+ label: g.label,
178
+ required: g.required,
179
+ role: "combobox",
180
+ placeholder: g.placeholder,
181
+ class: [
182
+ "q-combobox",
183
+ {
184
+ "q-combobox--readonly": g.readonly,
185
+ "q-combobox--disabled": g.disabled
186
+ },
187
+ g.class
188
+ ],
189
+ readonly: g.readonly,
190
+ disabled: g.disabled,
191
+ "data-loading": g.loading,
192
+ autocomplete: "off",
193
+ "aria-expanded": A.value,
194
+ "aria-haspopup": "listbox",
195
+ "aria-autocomplete": "list",
196
+ "aria-activedescendant": U.value,
197
+ size: g.size
198
+ }, o.$attrs, {
199
+ onClick: Y,
200
+ onFocusout: Z,
201
+ onKeydown: ce
202
+ }), te({
203
+ "label.prepend": T(() => [x(o.$slots, "label.prepend")]),
204
+ "label.append": T(() => [x(o.$slots, "label.append")]),
205
+ append: T(() => [
206
+ x(o.$slots, "append"),
207
+ R.value && j.value ? (y(), d(S(r), {
208
+ key: 0,
209
+ ref_key: "clearRef",
210
+ ref: I,
211
+ icons: g.icons,
212
+ texts: g.texts,
213
+ onClick: se
214
+ }, null, 8, ["icons", "texts"])) : f("v-if", !0),
215
+ g.readonly ? f("v-if", !0) : (y(), d(S(t), {
216
+ key: 1,
217
+ ref_key: "toggleRef",
218
+ ref: F,
219
+ class: "q-combobox__chevron",
220
+ "aria-label": g.texts.showOptions,
221
+ variant: "ghost",
222
+ color: "neutral",
223
+ borderless: "",
224
+ tabindex: "-1",
225
+ disabled: g.disabled,
226
+ onMousedown: E(oe, ["stop", "prevent"])
227
+ }, {
228
+ default: T(() => [m(S(n), {
229
+ "model-value": A.value,
230
+ icons: g.icons
231
+ }, null, 8, ["model-value", "icons"])]),
232
+ _: 1
233
+ }, 8, ["aria-label", "disabled"]))
234
+ ]),
235
+ _: 2
236
+ }, [o.$slots.prepend ? {
237
+ name: "prepend",
238
+ fn: T(() => [x(o.$slots, "prepend")]),
239
+ key: "0"
240
+ } : void 0, o.$slots.extras ? {
241
+ name: "extras",
242
+ fn: T(() => [x(o.$slots, "extras")]),
243
+ key: "1"
244
+ } : void 0]), 1040, [
245
+ "id",
246
+ "modelValue",
247
+ "label",
248
+ "required",
249
+ "placeholder",
250
+ "class",
251
+ "readonly",
252
+ "disabled",
253
+ "data-loading",
254
+ "aria-expanded",
255
+ "aria-activedescendant",
256
+ "size"
257
+ ]), m(S(c), {
258
+ modelValue: A.value,
259
+ "onUpdate:modelValue": u[1] ||= (e) => A.value = e,
260
+ spy: "",
261
+ "non-modal": "",
262
+ trigger: "manual",
263
+ placement: "bottom-start",
264
+ width: "anchor",
265
+ offset: 4,
266
+ inline: g.inline,
267
+ anchor: N.value?.$el,
268
+ onEnter: fe,
269
+ onLeave: pe
270
+ }, {
271
+ default: T(() => [ee("div", {
272
+ ref_key: "contentRef",
273
+ ref: L,
274
+ class: "q-select__body",
275
+ "data-testid": "combobox-dropdown",
276
+ "data-key": g.id,
277
+ onFocusout: Z
278
+ }, [
279
+ x(o.$slots, "body.prepend"),
280
+ g.loading ? (y(), p("div", ie, [m(S(e), { size: 24 })])) : z.value.length ? (y(), d(S(s), {
281
+ key: 1,
282
+ ref_key: "listRef",
283
+ ref: P,
284
+ "model-value": k.value,
285
+ class: "q-select__items",
286
+ selectable: "",
287
+ required: "",
288
+ highlighted: H.value?.[g.itemValue],
289
+ items: z.value,
290
+ groups: a.groups,
291
+ "item-label": g.itemLabel,
292
+ "item-value": g.itemValue,
293
+ onMouseup: de,
294
+ "onUpdate:modelValue": G
295
+ }, {
296
+ item: T(({ item: e }) => [x(o.$slots, "item", { item: e })]),
297
+ _: 3
298
+ }, 8, [
299
+ "model-value",
300
+ "highlighted",
301
+ "items",
302
+ "groups",
303
+ "item-label",
304
+ "item-value"
305
+ ])) : (y(), p("div", ae, re(g.texts.noData), 1)),
306
+ x(o.$slots, "body.append")
307
+ ], 40, D)]),
308
+ _: 3
309
+ }, 8, [
310
+ "modelValue",
311
+ "inline",
312
+ "anchor"
313
+ ])], 64));
314
+ }
362
315
  });
363
- export {
364
- Qe as default
365
- };
316
+ //#endregion
317
+ export { O as default };