@quidgest/ui 0.31.2 → 0.32.1

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 (507) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/dist/json/api.json +1278 -324
  3. package/dist/manifest/components.json +1 -0
  4. package/dist/ui.css +1183 -428
  5. package/dist/ui.esm.js +1640 -1393
  6. package/dist/ui.min.css +1 -1
  7. package/dist/ui.scss +1354 -386
  8. package/lib/components/QAccordion/QAccordion.d.ts +1 -1
  9. package/lib/components/QAccordion/QAccordion.d.ts.map +1 -1
  10. package/lib/components/QAccordion/QAccordionItem.d.ts.map +1 -1
  11. package/lib/components/QAccordion/QAccordionItem.vue.js +5 -5
  12. package/lib/components/QAccordion/index.d.ts +6 -6
  13. package/lib/components/QAccordion/types.d.ts +2 -2
  14. package/lib/components/QAccordion/types.d.ts.map +1 -1
  15. package/lib/components/QAlert/QAlert.d.ts +1 -1
  16. package/lib/components/QAlert/QAlert.d.ts.map +1 -1
  17. package/lib/components/QAlert/QAlert.vue.js +87 -73
  18. package/lib/components/QAlert/index.d.ts +3 -3
  19. package/lib/components/QAlert/types.d.ts +32 -2
  20. package/lib/components/QAlert/types.d.ts.map +1 -1
  21. package/lib/components/QAvatar/QAvatar.d.ts +1 -1
  22. package/lib/components/QAvatar/index.d.ts +3 -3
  23. package/lib/components/QBadge/QBadge.d.ts +1 -1
  24. package/lib/components/QBadge/QBadge.d.ts.map +1 -1
  25. package/lib/components/QBadge/QBadge.vue.js +72 -55
  26. package/lib/components/QBadge/index.d.ts +3 -3
  27. package/lib/components/QBadge/types.d.ts +13 -2
  28. package/lib/components/QBadge/types.d.ts.map +1 -1
  29. package/lib/components/QBadgeIndicator/QBadgeIndicator.vue.js +2 -3
  30. package/lib/components/QBreadcrumbs/QBreadcrumb.d.ts +6 -6
  31. package/lib/components/QBreadcrumbs/QBreadcrumb.vue.js +3 -3
  32. package/lib/components/QBreadcrumbs/QBreadcrumbs.d.ts +1 -1
  33. package/lib/components/QBreadcrumbs/QBreadcrumbs.d.ts.map +1 -1
  34. package/lib/components/QBreadcrumbs/QBreadcrumbs.vue.js +31 -31
  35. package/lib/components/QBreadcrumbs/context.d.ts +2 -1
  36. package/lib/components/QBreadcrumbs/context.d.ts.map +1 -1
  37. package/lib/components/QBreadcrumbs/index.d.ts +9 -9
  38. package/lib/components/QBreadcrumbs/types.d.ts +2 -2
  39. package/lib/components/QBreadcrumbs/types.d.ts.map +1 -1
  40. package/lib/components/QButton/QButton.d.ts +2 -2
  41. package/lib/components/QButton/QButton.d.ts.map +1 -1
  42. package/lib/components/QButton/QButton.vue.js +53 -49
  43. package/lib/components/QButton/index.d.ts +6 -6
  44. package/lib/components/QButton/types.d.ts +2 -2
  45. package/lib/components/QButton/types.d.ts.map +1 -1
  46. package/lib/components/QCard/QCard.vue.js +9 -20
  47. package/lib/components/QCarousel/QCarousel.d.ts +4 -4
  48. package/lib/components/QCarousel/QCarousel.d.ts.map +1 -1
  49. package/lib/components/QCarousel/QCarousel.vue.js +10 -16
  50. package/lib/components/QCarousel/index.d.ts +14 -14
  51. package/lib/components/QCarousel/types.d.ts +2 -2
  52. package/lib/components/QCarousel/types.d.ts.map +1 -1
  53. package/lib/components/QCheckbox/QCheckbox.d.ts +3 -22
  54. package/lib/components/QCheckbox/QCheckbox.d.ts.map +1 -1
  55. package/lib/components/QCheckbox/QCheckbox.vue.js +98 -100
  56. package/lib/components/QCheckbox/constants.d.ts +9 -0
  57. package/lib/components/QCheckbox/constants.d.ts.map +1 -1
  58. package/lib/components/QCheckbox/constants.js +4 -4
  59. package/lib/components/QCheckbox/index.d.ts +10 -72
  60. package/lib/components/QCheckbox/index.d.ts.map +1 -1
  61. package/lib/components/QCheckbox/types.d.ts +2 -8
  62. package/lib/components/QCheckbox/types.d.ts.map +1 -1
  63. package/lib/components/QCollapsible/QCollapsible.d.ts +1 -1
  64. package/lib/components/QCollapsible/QCollapsible.d.ts.map +1 -1
  65. package/lib/components/QCollapsible/QCollapsible.vue.js +20 -27
  66. package/lib/components/QCollapsible/index.d.ts +6 -6
  67. package/lib/components/QCollapsible/types.d.ts +2 -2
  68. package/lib/components/QCollapsible/types.d.ts.map +1 -1
  69. package/lib/components/QColorPicker/QColorPicker.d.ts +4 -18
  70. package/lib/components/QColorPicker/QColorPicker.d.ts.map +1 -1
  71. package/lib/components/QColorPicker/QColorPicker.vue.js +52 -35
  72. package/lib/components/QColorPicker/constants.d.ts +4 -0
  73. package/lib/components/QColorPicker/constants.d.ts.map +1 -1
  74. package/lib/components/QColorPicker/index.d.ts +13 -57
  75. package/lib/components/QColorPicker/index.d.ts.map +1 -1
  76. package/lib/components/QColorPicker/types.d.ts +2 -2
  77. package/lib/components/QColorPicker/types.d.ts.map +1 -1
  78. package/lib/components/QCombobox/QCombobox.d.ts +355 -299
  79. package/lib/components/QCombobox/QCombobox.d.ts.map +1 -1
  80. package/lib/components/QCombobox/QCombobox.vue.js +236 -190
  81. package/lib/components/QCombobox/constants.d.ts +5 -0
  82. package/lib/components/QCombobox/constants.d.ts.map +1 -1
  83. package/lib/components/QCombobox/constants.js +1 -0
  84. package/lib/components/QCombobox/index.d.ts +265 -424
  85. package/lib/components/QCombobox/index.d.ts.map +1 -1
  86. package/lib/components/QCombobox/types.d.ts +2 -2
  87. package/lib/components/QCombobox/types.d.ts.map +1 -1
  88. package/lib/components/QDateTimePicker/QDateTimePicker.d.ts +106 -229
  89. package/lib/components/QDateTimePicker/QDateTimePicker.d.ts.map +1 -1
  90. package/lib/components/QDateTimePicker/QDateTimePicker.vue.js +894 -765
  91. package/lib/components/QDateTimePicker/constants.d.ts +6 -1
  92. package/lib/components/QDateTimePicker/constants.d.ts.map +1 -1
  93. package/lib/components/QDateTimePicker/constants.js +2 -1
  94. package/lib/components/QDateTimePicker/index.d.ts +73 -229
  95. package/lib/components/QDateTimePicker/index.d.ts.map +1 -1
  96. package/lib/components/QDateTimePicker/types.d.ts +2 -1
  97. package/lib/components/QDateTimePicker/types.d.ts.map +1 -1
  98. package/lib/components/QDefaultsProvider/QDefaultsProvider.vue.js +4 -2
  99. package/lib/components/QDefaultsProvider/types.d.ts +10 -0
  100. package/lib/components/QDefaultsProvider/types.d.ts.map +1 -1
  101. package/lib/components/QDialog/QDialog.d.ts +22 -10
  102. package/lib/components/QDialog/QDialog.d.ts.map +1 -1
  103. package/lib/components/QDialog/QDialog.vue.js +143 -108
  104. package/lib/components/QDialog/QDialogProvider.d.ts.map +1 -1
  105. package/lib/components/QDialog/QDialogProvider.vue.js +8 -3
  106. package/lib/components/QDialog/constants.d.ts +19 -1
  107. package/lib/components/QDialog/constants.d.ts.map +1 -1
  108. package/lib/components/QDialog/constants.js +16 -11
  109. package/lib/components/QDialog/index.d.ts +39 -23
  110. package/lib/components/QDialog/index.d.ts.map +1 -1
  111. package/lib/components/QDialog/types.d.ts +24 -13
  112. package/lib/components/QDialog/types.d.ts.map +1 -1
  113. package/lib/components/QDivider/QDivider.d.ts.map +1 -1
  114. package/lib/components/QDivider/QDivider.vue.js +23 -13
  115. package/lib/components/QDivider/types.d.ts +9 -0
  116. package/lib/components/QDivider/types.d.ts.map +1 -1
  117. package/lib/components/QDrawer/QDrawer.d.ts +71 -0
  118. package/lib/components/QDrawer/QDrawer.d.ts.map +1 -0
  119. package/lib/components/QDrawer/QDrawer.vue.js +461 -0
  120. package/lib/components/QDrawer/QDrawer2.vue.js +5 -0
  121. package/lib/components/QDrawer/constants.d.ts +22 -0
  122. package/lib/components/QDrawer/constants.d.ts.map +1 -0
  123. package/lib/components/QDrawer/constants.js +14 -0
  124. package/lib/components/QDrawer/index.d.ts +214 -0
  125. package/lib/components/QDrawer/index.d.ts.map +1 -0
  126. package/lib/components/QDrawer/index.js +6 -0
  127. package/lib/components/QDrawer/types.d.ts +221 -0
  128. package/lib/components/QDrawer/types.d.ts.map +1 -0
  129. package/lib/components/QDropdownMenu/QDropdownMenu.d.ts +1 -1
  130. package/lib/components/QDropdownMenu/QDropdownMenu.d.ts.map +1 -1
  131. package/lib/components/QDropdownMenu/QDropdownMenu.vue.js +59 -52
  132. package/lib/components/QDropdownMenu/QDropdownMenuContent.d.ts +118 -42
  133. package/lib/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
  134. package/lib/components/QDropdownMenu/QDropdownMenuContent.vue.js +235 -195
  135. package/lib/components/QDropdownMenu/ids.d.ts +6 -0
  136. package/lib/components/QDropdownMenu/ids.d.ts.map +1 -1
  137. package/lib/components/QDropdownMenu/ids.js +4 -1
  138. package/lib/components/QDropdownMenu/index.d.ts +6 -6
  139. package/lib/components/QDropdownMenu/types.d.ts +6 -4
  140. package/lib/components/QDropdownMenu/types.d.ts.map +1 -1
  141. package/lib/components/QField/QField.d.ts +18 -17
  142. package/lib/components/QField/QField.d.ts.map +1 -1
  143. package/lib/components/QField/QField.vue.js +65 -50
  144. package/lib/components/QField/constants.d.ts +10 -3
  145. package/lib/components/QField/constants.d.ts.map +1 -1
  146. package/lib/components/QField/constants.js +4 -2
  147. package/lib/components/QField/index.d.ts +12 -11
  148. package/lib/components/QField/index.d.ts.map +1 -1
  149. package/lib/components/QField/types.d.ts +10 -9
  150. package/lib/components/QField/types.d.ts.map +1 -1
  151. package/lib/components/QFileUpload/QFileUpload.d.ts +28 -54
  152. package/lib/components/QFileUpload/QFileUpload.d.ts.map +1 -1
  153. package/lib/components/QFileUpload/QFileUpload.vue.js +43 -39
  154. package/lib/components/QFileUpload/constants.d.ts +4 -0
  155. package/lib/components/QFileUpload/constants.d.ts.map +1 -1
  156. package/lib/components/QFileUpload/index.d.ts +25 -105
  157. package/lib/components/QFileUpload/index.d.ts.map +1 -1
  158. package/lib/components/QFileUpload/types.d.ts +2 -1
  159. package/lib/components/QFileUpload/types.d.ts.map +1 -1
  160. package/lib/components/QFocusWrap/QFocusWrap.d.ts +1 -0
  161. package/lib/components/QFocusWrap/QFocusWrap.d.ts.map +1 -1
  162. package/lib/components/QFocusWrap/QFocusWrap.vue.js +60 -41
  163. package/lib/components/QFocusWrap/index.d.ts +3 -0
  164. package/lib/components/QFocusWrap/index.d.ts.map +1 -1
  165. package/lib/components/QFocusWrap/stack.d.ts +15 -0
  166. package/lib/components/QFocusWrap/stack.d.ts.map +1 -0
  167. package/lib/components/QFocusWrap/stack.js +11 -0
  168. package/lib/components/QFocusWrap/types.d.ts +8 -0
  169. package/lib/components/QFocusWrap/types.d.ts.map +1 -1
  170. package/lib/components/QGauge/QGauge.d.ts.map +1 -1
  171. package/lib/components/QGauge/QGauge.vue.js +153 -124
  172. package/lib/components/QGauge/types.d.ts +16 -1
  173. package/lib/components/QGauge/types.d.ts.map +1 -1
  174. package/lib/components/QGrid/QRow.d.ts +1 -1
  175. package/lib/components/QGrid/index.d.ts +3 -3
  176. package/lib/components/QIcon/QSvgSymbol.d.ts +1 -1
  177. package/lib/components/QIcon/QSvgSymbol.d.ts.map +1 -1
  178. package/lib/components/QIcon/QSvgSymbol.vue.js +31 -31
  179. package/lib/components/QIcon/utils/svgSource.d.ts +2 -2
  180. package/lib/components/QIcon/utils/svgSource.d.ts.map +1 -1
  181. package/lib/components/QInputGroup/QInputGroup.d.ts +35 -31
  182. package/lib/components/QInputGroup/QInputGroup.d.ts.map +1 -1
  183. package/lib/components/QInputGroup/QInputGroup.vue.js +96 -49
  184. package/lib/components/QInputGroup/index.d.ts +14 -12
  185. package/lib/components/QInputGroup/index.d.ts.map +1 -1
  186. package/lib/components/QLabel/QLabel.d.ts.map +1 -1
  187. package/lib/components/QLabel/QLabel.vue.js +2 -2
  188. package/lib/components/QList/QList.d.ts +46 -17
  189. package/lib/components/QList/QList.d.ts.map +1 -1
  190. package/lib/components/QList/QList.vue.js +470 -195
  191. package/lib/components/QList/QListItem.d.ts +1 -1
  192. package/lib/components/QList/QListItem.d.ts.map +1 -1
  193. package/lib/components/QList/QListItem.vue.js +51 -43
  194. package/lib/components/QList/QListItemGroup.vue.js +1 -1
  195. package/lib/components/QList/constants.d.ts +26 -0
  196. package/lib/components/QList/constants.d.ts.map +1 -1
  197. package/lib/components/QList/context.d.ts +12 -1
  198. package/lib/components/QList/context.d.ts.map +1 -1
  199. package/lib/components/QList/context.js +2 -2
  200. package/lib/components/QList/index.d.ts +79 -22
  201. package/lib/components/QList/index.d.ts.map +1 -1
  202. package/lib/components/QList/types.d.ts +11 -9
  203. package/lib/components/QList/types.d.ts.map +1 -1
  204. package/lib/components/QMeter/QMeter.d.ts.map +1 -1
  205. package/lib/components/QMeter/QMeter.vue.js +27 -26
  206. package/lib/components/QMeter/types.d.ts +3 -0
  207. package/lib/components/QMeter/types.d.ts.map +1 -1
  208. package/lib/components/QObfuscation/QObfuscation.d.ts +8 -26
  209. package/lib/components/QObfuscation/QObfuscation.d.ts.map +1 -1
  210. package/lib/components/QObfuscation/QObfuscation.vue.js +137 -113
  211. package/lib/components/QObfuscation/constants.d.ts +4 -0
  212. package/lib/components/QObfuscation/constants.d.ts.map +1 -1
  213. package/lib/components/QObfuscation/index.d.ts +26 -81
  214. package/lib/components/QObfuscation/index.d.ts.map +1 -1
  215. package/lib/components/QObfuscation/types.d.ts +10 -1
  216. package/lib/components/QObfuscation/types.d.ts.map +1 -1
  217. package/lib/components/QOverflow/QOverflow.d.ts +7 -3
  218. package/lib/components/QOverflow/QOverflow.d.ts.map +1 -1
  219. package/lib/components/QOverflow/QOverflow.vue.js +131 -108
  220. package/lib/components/QOverflow/constants.d.ts +4 -1
  221. package/lib/components/QOverflow/constants.d.ts.map +1 -1
  222. package/lib/components/QOverflow/index.d.ts +3 -3
  223. package/lib/components/QOverflow/types.d.ts +7 -4
  224. package/lib/components/QOverflow/types.d.ts.map +1 -1
  225. package/lib/components/QOverlay/QOverlay.d.ts +14 -5
  226. package/lib/components/QOverlay/QOverlay.d.ts.map +1 -1
  227. package/lib/components/QOverlay/QOverlay.vue.js +194 -166
  228. package/lib/components/QOverlay/index.d.ts +105 -13
  229. package/lib/components/QOverlay/index.d.ts.map +1 -1
  230. package/lib/components/QOverlay/layers.d.ts +21 -0
  231. package/lib/components/QOverlay/layers.d.ts.map +1 -0
  232. package/lib/components/QOverlay/layers.js +11 -0
  233. package/lib/components/QOverlay/types.d.ts +0 -6
  234. package/lib/components/QOverlay/types.d.ts.map +1 -1
  235. package/lib/components/QPasswordField/QPasswordField.d.ts +52 -170
  236. package/lib/components/QPasswordField/QPasswordField.d.ts.map +1 -1
  237. package/lib/components/QPasswordField/QPasswordField.vue.js +8 -3
  238. package/lib/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +2 -3
  239. package/lib/components/QPasswordField/constants.d.ts +4 -0
  240. package/lib/components/QPasswordField/constants.d.ts.map +1 -1
  241. package/lib/components/QPasswordField/index.d.ts +29 -170
  242. package/lib/components/QPasswordField/index.d.ts.map +1 -1
  243. package/lib/components/QPasswordField/types.d.ts +2 -1
  244. package/lib/components/QPasswordField/types.d.ts.map +1 -1
  245. package/lib/components/QPhoneField/QPhoneField.d.ts +491 -622
  246. package/lib/components/QPhoneField/QPhoneField.d.ts.map +1 -1
  247. package/lib/components/QPhoneField/QPhoneField.vue.js +21 -14
  248. package/lib/components/QPhoneField/constants.d.ts +4 -0
  249. package/lib/components/QPhoneField/constants.d.ts.map +1 -1
  250. package/lib/components/QPhoneField/index.d.ts +260 -393
  251. package/lib/components/QPhoneField/index.d.ts.map +1 -1
  252. package/lib/components/QPhoneField/types.d.ts +5 -2
  253. package/lib/components/QPhoneField/types.d.ts.map +1 -1
  254. package/lib/components/QPopover/QPopover.d.ts +1 -1
  255. package/lib/components/QPopover/QPopover.d.ts.map +1 -1
  256. package/lib/components/QPopover/QPopover.vue.js +64 -42
  257. package/lib/components/QPopover/index.d.ts +3 -3
  258. package/lib/components/QPopover/types.d.ts +7 -2
  259. package/lib/components/QPopover/types.d.ts.map +1 -1
  260. package/lib/components/QProgress/QProgress.d.ts.map +1 -1
  261. package/lib/components/QProgress/QProgress.vue.js +66 -46
  262. package/lib/components/QProgress/types.d.ts +3 -0
  263. package/lib/components/QProgress/types.d.ts.map +1 -1
  264. package/lib/components/QPropertyList/QPropertyList.d.ts +1 -1
  265. package/lib/components/QPropertyList/QPropertyList.d.ts.map +1 -1
  266. package/lib/components/QPropertyList/QPropertyList.vue.js +3 -3
  267. package/lib/components/QPropertyList/QPropertyListGroup.d.ts +1 -1
  268. package/lib/components/QPropertyList/QPropertyListGroup.d.ts.map +1 -1
  269. package/lib/components/QPropertyList/QPropertyListRow.d.ts +1 -1
  270. package/lib/components/QPropertyList/QPropertyListRow.d.ts.map +1 -1
  271. package/lib/components/QPropertyList/QPropertyListRow.vue.js +59 -44
  272. package/lib/components/QPropertyList/index.d.ts +8 -8
  273. package/lib/components/QPropertyList/index.d.ts.map +1 -1
  274. package/lib/components/QPropertyList/types.d.ts +3 -3
  275. package/lib/components/QPropertyList/types.d.ts.map +1 -1
  276. package/lib/components/QRadioGroup/QRadioButton.d.ts.map +1 -1
  277. package/lib/components/QRadioGroup/QRadioButton.vue.js +5 -2
  278. package/lib/components/QRadioGroup/QRadioGroup.d.ts +2 -2
  279. package/lib/components/QRadioGroup/QRadioGroup.d.ts.map +1 -1
  280. package/lib/components/QRadioGroup/QRadioGroup.vue.js +19 -18
  281. package/lib/components/QRadioGroup/index.d.ts +4 -9
  282. package/lib/components/QRadioGroup/index.d.ts.map +1 -1
  283. package/lib/components/QRadioGroup/types.d.ts +0 -6
  284. package/lib/components/QRadioGroup/types.d.ts.map +1 -1
  285. package/lib/components/QSection/QSection.d.ts +3 -3
  286. package/lib/components/QSection/QSection.d.ts.map +1 -1
  287. package/lib/components/QSection/QSection.vue.js +52 -45
  288. package/lib/components/QSection/index.d.ts +4 -4
  289. package/lib/components/QSection/types.d.ts +10 -2
  290. package/lib/components/QSection/types.d.ts.map +1 -1
  291. package/lib/components/QSelect/QSelect.d.ts +312 -114
  292. package/lib/components/QSelect/QSelect.d.ts.map +1 -1
  293. package/lib/components/QSelect/QSelect.vue.js +274 -250
  294. package/lib/components/QSelect/constants.d.ts +4 -0
  295. package/lib/components/QSelect/constants.d.ts.map +1 -1
  296. package/lib/components/QSelect/index.d.ts +176 -144
  297. package/lib/components/QSelect/index.d.ts.map +1 -1
  298. package/lib/components/QSelect/types.d.ts +4 -2
  299. package/lib/components/QSelect/types.d.ts.map +1 -1
  300. package/lib/components/QSidebar/QSidebar.d.ts +9 -9
  301. package/lib/components/QSidebar/QSidebar.d.ts.map +1 -1
  302. package/lib/components/QSidebar/QSidebar.vue.js +2 -2
  303. package/lib/components/QSidebar/QSidebarAnchor.d.ts +1 -1
  304. package/lib/components/QSidebar/QSidebarAnchor.d.ts.map +1 -1
  305. package/lib/components/QSidebar/QSidebarAnchor.vue.js +4 -4
  306. package/lib/components/QSidebar/QSidebarItem.d.ts +7 -7
  307. package/lib/components/QSidebar/QSidebarItem.vue.js +3 -3
  308. package/lib/components/QSidebar/QSidebarPanel.d.ts +3 -3
  309. package/lib/components/QSidebar/QSidebarPanel.d.ts.map +1 -1
  310. package/lib/components/QSidebar/QSidebarPanel.vue.js +81 -140
  311. package/lib/components/QSidebar/constants.d.ts.map +1 -1
  312. package/lib/components/QSidebar/constants.js +4 -5
  313. package/lib/components/QSidebar/index.d.ts +24 -24
  314. package/lib/components/QSidebar/types.d.ts +7 -6
  315. package/lib/components/QSidebar/types.d.ts.map +1 -1
  316. package/lib/components/QSteps/QStepHeader.d.ts +2 -1
  317. package/lib/components/QSteps/QStepHeader.d.ts.map +1 -1
  318. package/lib/components/QSteps/QStepHeader.vue.js +3 -4
  319. package/lib/components/QSteps/QSteps.d.ts +8 -8
  320. package/lib/components/QSteps/QSteps.d.ts.map +1 -1
  321. package/lib/components/QSteps/QSteps.vue.js +9 -6
  322. package/lib/components/QSteps/QStepsNav.d.ts +2 -1
  323. package/lib/components/QSteps/QStepsNav.d.ts.map +1 -1
  324. package/lib/components/QSteps/index.d.ts +12 -12
  325. package/lib/components/QSteps/types.d.ts +2 -2
  326. package/lib/components/QSteps/types.d.ts.map +1 -1
  327. package/lib/components/QSwitch/QSwitch.d.ts +39 -26
  328. package/lib/components/QSwitch/QSwitch.d.ts.map +1 -1
  329. package/lib/components/QSwitch/QSwitch.vue.js +64 -58
  330. package/lib/components/QSwitch/constants.d.ts +20 -0
  331. package/lib/components/QSwitch/constants.d.ts.map +1 -0
  332. package/lib/components/QSwitch/constants.js +9 -0
  333. package/lib/components/QSwitch/index.d.ts +56 -18
  334. package/lib/components/QSwitch/index.d.ts.map +1 -1
  335. package/lib/components/QSwitch/types.d.ts +21 -3
  336. package/lib/components/QSwitch/types.d.ts.map +1 -1
  337. package/lib/components/QTabs/QTab.d.ts +12 -12
  338. package/lib/components/QTabs/QTab.vue.js +3 -3
  339. package/lib/components/QTabs/QTabs.d.ts +9 -9
  340. package/lib/components/QTabs/QTabs.d.ts.map +1 -1
  341. package/lib/components/QTabs/QTabs.vue.js +92 -80
  342. package/lib/components/QTabs/index.d.ts +16 -16
  343. package/lib/components/QTabs/types.d.ts +2 -2
  344. package/lib/components/QTabs/types.d.ts.map +1 -1
  345. package/lib/components/QTextArea/QTextArea.d.ts +1 -0
  346. package/lib/components/QTextArea/QTextArea.d.ts.map +1 -1
  347. package/lib/components/QTextArea/QTextArea.vue.js +6 -1
  348. package/lib/components/QTextArea/index.d.ts +1 -0
  349. package/lib/components/QTextArea/index.d.ts.map +1 -1
  350. package/lib/components/QTextField/QTextField.d.ts +30 -42
  351. package/lib/components/QTextField/QTextField.d.ts.map +1 -1
  352. package/lib/components/QTextField/QTextField.vue.js +7 -2
  353. package/lib/components/QTextField/constants.d.ts +4 -0
  354. package/lib/components/QTextField/constants.d.ts.map +1 -1
  355. package/lib/components/QTextField/index.d.ts +26 -69
  356. package/lib/components/QTextField/index.d.ts.map +1 -1
  357. package/lib/components/QTextField/types.d.ts +2 -1
  358. package/lib/components/QTextField/types.d.ts.map +1 -1
  359. package/lib/components/QToast/QToast.d.ts +1 -1
  360. package/lib/components/QToast/QToast.d.ts.map +1 -1
  361. package/lib/components/QToast/QToast.vue.js +148 -134
  362. package/lib/components/QToast/QToaster.d.ts +3 -1
  363. package/lib/components/QToast/QToaster.d.ts.map +1 -1
  364. package/lib/components/QToast/QToaster.vue.js +78 -47
  365. package/lib/components/QToast/index.d.ts +9 -7
  366. package/lib/components/QToast/index.d.ts.map +1 -1
  367. package/lib/components/QToast/types.d.ts +2 -2
  368. package/lib/components/QToast/types.d.ts.map +1 -1
  369. package/lib/components/QToggle/QToggle.d.ts.map +1 -1
  370. package/lib/components/QToggle/QToggle.vue.js +2 -0
  371. package/lib/components/QToggle/index.d.ts +3 -3
  372. package/lib/components/QToggleGroup/QToggleGroupItem.d.ts +8 -1
  373. package/lib/components/QToggleGroup/QToggleGroupItem.d.ts.map +1 -1
  374. package/lib/components/QToggleGroup/QToggleGroupItem.vue.js +67 -16
  375. package/lib/components/QToggleGroup/index.d.ts +24 -3
  376. package/lib/components/QToggleGroup/index.d.ts.map +1 -1
  377. package/lib/components/QTooltip/QTooltip.d.ts +1 -1
  378. package/lib/components/QTooltip/QTooltip.vue.js +1 -1
  379. package/lib/components/QTooltip/index.d.ts +3 -3
  380. package/lib/components/__internal__/QChevron/QChevron.d.ts +1 -1
  381. package/lib/components/__internal__/QChevron/QChevron.d.ts.map +1 -1
  382. package/lib/components/__internal__/QChevron/index.d.ts +3 -3
  383. package/lib/components/__internal__/QChevron/types.d.ts +2 -2
  384. package/lib/components/__internal__/QChevron/types.d.ts.map +1 -1
  385. package/lib/components/__internal__/QClearButton/QClearButton.d.ts +1 -1
  386. package/lib/components/__internal__/QClearButton/QClearButton.d.ts.map +1 -1
  387. package/lib/components/__internal__/QClearButton/index.d.ts +1 -1
  388. package/lib/components/__internal__/QClearButton/types.d.ts +2 -2
  389. package/lib/components/__internal__/QClearButton/types.d.ts.map +1 -1
  390. package/lib/components/__internal__/QHelpPopover/QHelpPopover.d.ts +7 -7
  391. package/lib/components/__internal__/QHelpPopover/QHelpPopover.d.ts.map +1 -1
  392. package/lib/components/__internal__/QHelpPopover/QHelpPopover.vue.js +3 -6
  393. package/lib/components/__internal__/QHelpPopover/index.d.ts +7 -7
  394. package/lib/components/__internal__/QHelpPopover/types.d.ts +2 -2
  395. package/lib/components/__internal__/QHelpPopover/types.d.ts.map +1 -1
  396. package/lib/components/__internal__/QListboxPanel/QListboxPanel.d.ts +34 -0
  397. package/lib/components/__internal__/QListboxPanel/QListboxPanel.d.ts.map +1 -0
  398. package/lib/components/__internal__/QListboxPanel/QListboxPanel.vue.js +76 -0
  399. package/lib/components/__internal__/QListboxPanel/QListboxPanel2.vue.js +5 -0
  400. package/lib/components/__internal__/QListboxPanel/constants.d.ts +17 -0
  401. package/lib/components/__internal__/QListboxPanel/constants.d.ts.map +1 -0
  402. package/lib/components/__internal__/QListboxPanel/constants.js +4 -0
  403. package/lib/components/__internal__/QListboxPanel/index.d.ts +52 -0
  404. package/lib/components/__internal__/QListboxPanel/index.d.ts.map +1 -0
  405. package/lib/components/__internal__/QListboxPanel/index.js +7 -0
  406. package/lib/components/__internal__/QListboxPanel/types.d.ts +50 -0
  407. package/lib/components/__internal__/QListboxPanel/types.d.ts.map +1 -0
  408. package/lib/components/__internal__/QListboxPanel/utils.d.ts +4 -0
  409. package/lib/components/__internal__/QListboxPanel/utils.d.ts.map +1 -0
  410. package/lib/components/__internal__/QListboxPanel/utils.js +6 -0
  411. package/lib/components/__internal__/QRequiredIndicator/QRequiredIndicator.vue.js +1 -1
  412. package/lib/components/__internal__/QResizeHandle/QResizeButtons.d.ts +16 -0
  413. package/lib/components/__internal__/QResizeHandle/QResizeButtons.d.ts.map +1 -0
  414. package/lib/components/__internal__/QResizeHandle/QResizeButtons.vue.js +72 -0
  415. package/lib/components/__internal__/QResizeHandle/QResizeButtons2.vue.js +5 -0
  416. package/lib/components/__internal__/QResizeHandle/QResizeHandle.d.ts +15 -0
  417. package/lib/components/__internal__/QResizeHandle/QResizeHandle.d.ts.map +1 -0
  418. package/lib/components/__internal__/QResizeHandle/QResizeHandle.vue.js +74 -0
  419. package/lib/components/__internal__/QResizeHandle/QResizeHandle2.vue.js +5 -0
  420. package/lib/components/__internal__/QResizeHandle/constants.d.ts +22 -0
  421. package/lib/components/__internal__/QResizeHandle/constants.d.ts.map +1 -0
  422. package/lib/components/__internal__/QResizeHandle/constants.js +10 -0
  423. package/lib/components/__internal__/QResizeHandle/index.d.ts +28 -0
  424. package/lib/components/__internal__/QResizeHandle/index.d.ts.map +1 -0
  425. package/lib/components/__internal__/QResizeHandle/index.js +7 -0
  426. package/lib/components/__internal__/QResizeHandle/types.d.ts +107 -0
  427. package/lib/components/__internal__/QResizeHandle/types.d.ts.map +1 -0
  428. package/lib/components/__internal__/QResizeHandle/useEdgeResize.d.ts +42 -0
  429. package/lib/components/__internal__/QResizeHandle/useEdgeResize.d.ts.map +1 -0
  430. package/lib/components/__internal__/QResizeHandle/useEdgeResize.js +36 -0
  431. package/lib/components/__internal__/QResizeHandle/useResizePane.d.ts +39 -0
  432. package/lib/components/__internal__/QResizeHandle/useResizePane.d.ts.map +1 -0
  433. package/lib/components/__internal__/QResizeHandle/useResizePane.js +22 -0
  434. package/lib/components/__internal__/QSafeTriangle/QSafeTriangle.d.ts +2 -2
  435. package/lib/components/__internal__/QSafeTriangle/QSafeTriangle.vue.js +1 -1
  436. package/lib/components/__internal__/QSafeTriangle/index.d.ts +2 -2
  437. package/lib/components/__internal__/QSeverityContent/QSeverityContent.d.ts +24 -0
  438. package/lib/components/__internal__/QSeverityContent/QSeverityContent.d.ts.map +1 -0
  439. package/lib/components/__internal__/QSeverityContent/QSeverityContent.vue.js +58 -0
  440. package/lib/components/__internal__/QSeverityContent/QSeverityContent2.vue.js +5 -0
  441. package/lib/components/__internal__/QSeverityContent/index.d.ts +31 -0
  442. package/lib/components/__internal__/QSeverityContent/index.d.ts.map +1 -0
  443. package/lib/components/__internal__/QSeverityContent/index.js +6 -0
  444. package/lib/components/__internal__/QSeverityContent/types.d.ts +67 -0
  445. package/lib/components/__internal__/QSeverityContent/types.d.ts.map +1 -0
  446. package/lib/components/index.d.ts +1 -0
  447. package/lib/components/index.d.ts.map +1 -1
  448. package/lib/components/index.js +72 -70
  449. package/lib/composables/defaults.d.ts +25 -1
  450. package/lib/composables/defaults.d.ts.map +1 -1
  451. package/lib/composables/defaults.js +15 -7
  452. package/lib/composables/useColor/index.d.ts +9 -3
  453. package/lib/composables/useColor/index.d.ts.map +1 -1
  454. package/lib/composables/useColor/index.js +50 -42
  455. package/lib/composables/useColor/types.d.ts +17 -4
  456. package/lib/composables/useColor/types.d.ts.map +1 -1
  457. package/lib/composables/useDialog/_internal.js +1 -1
  458. package/lib/composables/useDialog/types.d.ts +6 -2
  459. package/lib/composables/useDialog/types.d.ts.map +1 -1
  460. package/lib/composables/useScrollTabStop/index.d.ts +17 -0
  461. package/lib/composables/useScrollTabStop/index.d.ts.map +1 -0
  462. package/lib/composables/useScrollTabStop/index.js +45 -0
  463. package/lib/composables/useVirtualList/index.d.ts +73 -0
  464. package/lib/composables/useVirtualList/index.d.ts.map +1 -0
  465. package/lib/composables/useVirtualList/index.js +83 -0
  466. package/lib/index.d.ts +2 -1
  467. package/lib/index.d.ts.map +1 -1
  468. package/lib/types/component.d.ts +12 -5
  469. package/lib/types/component.d.ts.map +1 -1
  470. package/lib/types/index.d.ts +1 -1
  471. package/lib/types/index.d.ts.map +1 -1
  472. package/lib/utils/bidi.d.ts +27 -0
  473. package/lib/utils/bidi.d.ts.map +1 -0
  474. package/lib/utils/bidi.js +15 -0
  475. package/lib/utils/boundedValue.d.ts +20 -0
  476. package/lib/utils/boundedValue.d.ts.map +1 -0
  477. package/lib/utils/boundedValue.js +9 -0
  478. package/lib/utils/color/blend.d.ts +13 -0
  479. package/lib/utils/color/blend.d.ts.map +1 -1
  480. package/lib/utils/color/blend.js +6 -3
  481. package/lib/utils/color/contrast.d.ts +19 -0
  482. package/lib/utils/color/contrast.d.ts.map +1 -1
  483. package/lib/utils/color/contrast.js +26 -11
  484. package/lib/utils/color/index.d.ts +1 -1
  485. package/lib/utils/color/index.d.ts.map +1 -1
  486. package/lib/utils/date.d.ts +18 -8
  487. package/lib/utils/date.d.ts.map +1 -1
  488. package/lib/utils/date.js +26 -14
  489. package/lib/utils/index.js +14 -13
  490. package/lib/utils/overlay.d.ts +6 -0
  491. package/lib/utils/overlay.d.ts.map +1 -1
  492. package/lib/utils/overlay.js +10 -10
  493. package/lib/utils/popupLabel.d.ts +15 -0
  494. package/lib/utils/popupLabel.d.ts.map +1 -0
  495. package/lib/utils/popupLabel.js +6 -0
  496. package/lib/utils/railWidth.d.ts +15 -0
  497. package/lib/utils/railWidth.d.ts.map +1 -0
  498. package/lib/utils/railWidth.js +4 -0
  499. package/lib/utils/safeTriangle.d.ts +4 -4
  500. package/lib/utils/safeTriangle.d.ts.map +1 -1
  501. package/lib/utils/slots.d.ts +11 -2
  502. package/lib/utils/slots.d.ts.map +1 -1
  503. package/lib/utils/slots.js +7 -4
  504. package/lib/utils/theme.d.ts +3 -3
  505. package/lib/utils/theme.d.ts.map +1 -1
  506. package/lib/utils/theme.js +31 -31
  507. package/package.json +1 -1
@@ -27,36 +27,37 @@ import { QCheckbox as j } from "./QCheckbox/index.js";
27
27
  import { DEFAULT_TEXTS as M } from "./QTextField/constants.js";
28
28
  import { QTextField as N } from "./QTextField/index.js";
29
29
  import { QColorPicker as P } from "./QColorPicker/index.js";
30
- import { QCombobox as F } from "./QCombobox/index.js";
31
- import { QSwitch as I } from "./QSwitch/index.js";
32
- import { QDateTimePicker as L } from "./QDateTimePicker/index.js";
33
- import { QDialog as R, QDialogProvider as z } from "./QDialog/index.js";
34
- import { QDivider as te } from "./QDivider/index.js";
35
- import { QFileUpload as B } from "./QFileUpload/index.js";
36
- import { QGauge as V } from "./QGauge/index.js";
37
- import { QCol as H, QContainer as U, QRow as W, QSpacer as G } from "./QGrid/index.js";
38
- import { QInputGroup as K } from "./QInputGroup/index.js";
39
- import { QLineLoader as q } from "./QLineLoader/index.js";
40
- import { QMeter as J } from "./QMeter/index.js";
41
- import { QObfuscation as Y } from "./QObfuscation/index.js";
42
- import { QOverflow as X } from "./QOverflow/index.js";
43
- import { QPasswordField as Z } from "./QPasswordField/index.js";
44
- import { QSelect as Q } from "./QSelect/index.js";
45
- import { QPhoneField as $ } from "./QPhoneField/index.js";
46
- import { QProgress as ne } from "./QProgress/index.js";
47
- import { QPropertyList as re, QPropertyListGroup as ie, QPropertyListPanel as ae, QPropertyListRow as oe } from "./QPropertyList/index.js";
48
- import { QRadioButton as se, QRadioGroup as ce } from "./QRadioGroup/index.js";
49
- import { QSection as le } from "./QSection/index.js";
50
- import { QToggle as ue } from "./QToggle/index.js";
51
- import { QSidebar as de, QSidebarItem as fe } from "./QSidebar/index.js";
52
- import { QSteps as pe } from "./QSteps/index.js";
53
- import { QTab as me, QTabs as he } from "./QTabs/index.js";
54
- import { QTextArea as ge } from "./QTextArea/index.js";
55
- import { QThemeProvider as _e } from "./QThemeProvider/index.js";
56
- import { QToast as ve, QToaster as ye } from "./QToast/index.js";
57
- import { QToggleGroup as be, QToggleGroupItem as xe } from "./QToggleGroup/index.js";
30
+ import { QLineLoader as F } from "./QLineLoader/index.js";
31
+ import { QCombobox as I } from "./QCombobox/index.js";
32
+ import { QSwitch as L } from "./QSwitch/index.js";
33
+ import { QDateTimePicker as R } from "./QDateTimePicker/index.js";
34
+ import { QDialog as z, QDialogProvider as te } from "./QDialog/index.js";
35
+ import { QDivider as B } from "./QDivider/index.js";
36
+ import { QDrawer as V } from "./QDrawer/index.js";
37
+ import { QFileUpload as H } from "./QFileUpload/index.js";
38
+ import { QGauge as U } from "./QGauge/index.js";
39
+ import { QCol as W, QContainer as G, QRow as K, QSpacer as q } from "./QGrid/index.js";
40
+ import { QInputGroup as J } from "./QInputGroup/index.js";
41
+ import { QMeter as Y } from "./QMeter/index.js";
42
+ import { QObfuscation as X } from "./QObfuscation/index.js";
43
+ import { QOverflow as Z } from "./QOverflow/index.js";
44
+ import { QPasswordField as Q } from "./QPasswordField/index.js";
45
+ import { QSelect as $ } from "./QSelect/index.js";
46
+ import { QPhoneField as ne } from "./QPhoneField/index.js";
47
+ import { QProgress as re } from "./QProgress/index.js";
48
+ import { QPropertyList as ie, QPropertyListGroup as ae, QPropertyListPanel as oe, QPropertyListRow as se } from "./QPropertyList/index.js";
49
+ import { QRadioButton as ce, QRadioGroup as le } from "./QRadioGroup/index.js";
50
+ import { QSection as ue } from "./QSection/index.js";
51
+ import { QToggle as de } from "./QToggle/index.js";
52
+ import { QSidebar as fe, QSidebarItem as pe } from "./QSidebar/index.js";
53
+ import { QSteps as me } from "./QSteps/index.js";
54
+ import { QTab as he, QTabs as ge } from "./QTabs/index.js";
55
+ import { QTextArea as _e } from "./QTextArea/index.js";
56
+ import { QThemeProvider as ve } from "./QThemeProvider/index.js";
57
+ import { QToast as ye, QToaster as be } from "./QToast/index.js";
58
+ import { QToggleGroup as xe, QToggleGroupItem as Se } from "./QToggleGroup/index.js";
58
59
  //#region src/components/index.ts
59
- var Se = /* @__PURE__ */ ee({
60
+ var Ce = /* @__PURE__ */ ee({
60
61
  DEFAULT_TEXTS: () => M,
61
62
  QAccordion: () => p,
62
63
  QAccordionItem: () => m,
@@ -71,67 +72,68 @@ var Se = /* @__PURE__ */ ee({
71
72
  QCard: () => d,
72
73
  QCarousel: () => O,
73
74
  QCheckbox: () => j,
74
- QCol: () => H,
75
+ QCol: () => W,
75
76
  QCollapsible: () => f,
76
77
  QColorPicker: () => P,
77
- QCombobox: () => F,
78
- QContainer: () => U,
79
- QDateTimePicker: () => L,
78
+ QCombobox: () => I,
79
+ QContainer: () => G,
80
+ QDateTimePicker: () => R,
80
81
  QDefaultsProvider: () => h,
81
- QDialog: () => R,
82
- QDialogProvider: () => z,
82
+ QDialog: () => z,
83
+ QDialogProvider: () => te,
83
84
  QDismissibleLayer: () => i,
84
- QDivider: () => te,
85
+ QDivider: () => B,
86
+ QDrawer: () => V,
85
87
  QDropdownMenu: () => w,
86
88
  QField: () => A,
87
- QFileUpload: () => B,
89
+ QFileUpload: () => H,
88
90
  QFocusWrap: () => a,
89
- QGauge: () => V,
91
+ QGauge: () => U,
90
92
  QIcon: () => e,
91
93
  QIconFont: () => t,
92
94
  QIconImg: () => n,
93
95
  QIconSvg: () => r,
94
- QInputGroup: () => K,
96
+ QInputGroup: () => J,
95
97
  QLabel: () => k,
96
- QLineLoader: () => q,
98
+ QLineLoader: () => F,
97
99
  QList: () => x,
98
100
  QListItem: () => S,
99
101
  QListItemGroup: () => C,
100
- QMeter: () => J,
101
- QObfuscation: () => Y,
102
- QOverflow: () => X,
102
+ QMeter: () => Y,
103
+ QObfuscation: () => X,
104
+ QOverflow: () => Z,
103
105
  QOverlay: () => o,
104
- QPasswordField: () => Z,
105
- QPhoneField: () => $,
106
+ QPasswordField: () => Q,
107
+ QPhoneField: () => ne,
106
108
  QPopover: () => s,
107
- QProgress: () => ne,
108
- QPropertyList: () => re,
109
- QPropertyListGroup: () => ie,
110
- QPropertyListPanel: () => ae,
111
- QPropertyListRow: () => oe,
112
- QRadioButton: () => se,
113
- QRadioGroup: () => ce,
114
- QRow: () => W,
115
- QSection: () => le,
116
- QSelect: () => Q,
117
- QSidebar: () => de,
118
- QSidebarItem: () => fe,
109
+ QProgress: () => re,
110
+ QPropertyList: () => ie,
111
+ QPropertyListGroup: () => ae,
112
+ QPropertyListPanel: () => oe,
113
+ QPropertyListRow: () => se,
114
+ QRadioButton: () => ce,
115
+ QRadioGroup: () => le,
116
+ QRow: () => K,
117
+ QSection: () => ue,
118
+ QSelect: () => $,
119
+ QSidebar: () => fe,
120
+ QSidebarItem: () => pe,
119
121
  QSkeletonLoader: () => D,
120
- QSpacer: () => G,
122
+ QSpacer: () => q,
121
123
  QSpinnerLoader: () => c,
122
- QSteps: () => pe,
123
- QSwitch: () => I,
124
- QTab: () => me,
125
- QTabs: () => he,
126
- QTextArea: () => ge,
124
+ QSteps: () => me,
125
+ QSwitch: () => L,
126
+ QTab: () => he,
127
+ QTabs: () => ge,
128
+ QTextArea: () => _e,
127
129
  QTextField: () => N,
128
- QThemeProvider: () => _e,
129
- QToast: () => ve,
130
- QToaster: () => ye,
131
- QToggle: () => ue,
132
- QToggleGroup: () => be,
133
- QToggleGroupItem: () => xe,
130
+ QThemeProvider: () => ve,
131
+ QToast: () => ye,
132
+ QToaster: () => be,
133
+ QToggle: () => de,
134
+ QToggleGroup: () => xe,
135
+ QToggleGroupItem: () => Se,
134
136
  QTooltip: () => l
135
137
  });
136
138
  //#endregion
137
- export { M as DEFAULT_TEXTS, p as QAccordion, m as QAccordionItem, g as QAlert, _ as QAvatar, y as QBadge, b as QBadgeIndicator, T as QBreadcrumb, E as QBreadcrumbs, u as QButton, v as QButtonGroup, d as QCard, O as QCarousel, j as QCheckbox, H as QCol, f as QCollapsible, P as QColorPicker, F as QCombobox, U as QContainer, L as QDateTimePicker, h as QDefaultsProvider, R as QDialog, z as QDialogProvider, i as QDismissibleLayer, te as QDivider, w as QDropdownMenu, A as QField, B as QFileUpload, a as QFocusWrap, V as QGauge, e as QIcon, t as QIconFont, n as QIconImg, r as QIconSvg, K as QInputGroup, k as QLabel, q as QLineLoader, x as QList, S as QListItem, C as QListItemGroup, J as QMeter, Y as QObfuscation, X as QOverflow, o as QOverlay, Z as QPasswordField, $ as QPhoneField, s as QPopover, ne as QProgress, re as QPropertyList, ie as QPropertyListGroup, ae as QPropertyListPanel, oe as QPropertyListRow, se as QRadioButton, ce as QRadioGroup, W as QRow, le as QSection, Q as QSelect, de as QSidebar, fe as QSidebarItem, D as QSkeletonLoader, G as QSpacer, c as QSpinnerLoader, pe as QSteps, I as QSwitch, me as QTab, he as QTabs, ge as QTextArea, N as QTextField, _e as QThemeProvider, ve as QToast, ye as QToaster, ue as QToggle, be as QToggleGroup, xe as QToggleGroupItem, l as QTooltip, Se as components_exports };
139
+ export { M as DEFAULT_TEXTS, p as QAccordion, m as QAccordionItem, g as QAlert, _ as QAvatar, y as QBadge, b as QBadgeIndicator, T as QBreadcrumb, E as QBreadcrumbs, u as QButton, v as QButtonGroup, d as QCard, O as QCarousel, j as QCheckbox, W as QCol, f as QCollapsible, P as QColorPicker, I as QCombobox, G as QContainer, R as QDateTimePicker, h as QDefaultsProvider, z as QDialog, te as QDialogProvider, i as QDismissibleLayer, B as QDivider, V as QDrawer, w as QDropdownMenu, A as QField, H as QFileUpload, a as QFocusWrap, U as QGauge, e as QIcon, t as QIconFont, n as QIconImg, r as QIconSvg, J as QInputGroup, k as QLabel, F as QLineLoader, x as QList, S as QListItem, C as QListItemGroup, Y as QMeter, X as QObfuscation, Z as QOverflow, o as QOverlay, Q as QPasswordField, ne as QPhoneField, s as QPopover, re as QProgress, ie as QPropertyList, ae as QPropertyListGroup, oe as QPropertyListPanel, se as QPropertyListRow, ce as QRadioButton, le as QRadioGroup, K as QRow, ue as QSection, $ as QSelect, fe as QSidebar, pe as QSidebarItem, D as QSkeletonLoader, q as QSpacer, c as QSpinnerLoader, me as QSteps, L as QSwitch, he as QTab, ge as QTabs, _e as QTextArea, N as QTextField, ve as QThemeProvider, ye as QToast, be as QToaster, de as QToggle, xe as QToggleGroup, Se as QToggleGroupItem, l as QTooltip, Ce as components_exports };
@@ -3,14 +3,38 @@ export declare const DEFAULTS_SYMBOL = "q-defaults";
3
3
  export type QDefaults = Record<string | symbol, QComponentDefaults>;
4
4
  export type QComponentDefaults = Record<string | symbol, unknown>;
5
5
  export declare function useDefaults(): ComputedRef<QComponentDefaults | undefined>;
6
+ /**
7
+ * Options for {@link provideDefaults}.
8
+ */
9
+ export type QProvideDefaultsOptions = {
10
+ /**
11
+ * Keeps these defaults out of what is drawn on its own surface, over the page, but declared
12
+ * below: overlays (dialogs, popovers, menus), temporary drawers and toasts
13
+ * ({@link provideOuterDefaults}). They reach every other component below. For defaults that
14
+ * depend on where the content is drawn, such as the `surface` of the buttons in an alert's
15
+ * actions.
16
+ */
17
+ local?: MaybeRefOrGetter<boolean | undefined>;
18
+ };
6
19
  /**
7
20
  * Function to provide or update default values using the Vue.js `provide` function.
8
21
  * It takes a set of default values, merges them with the existing defaults (if any),
9
22
  * and then provides the merged defaults using the specified symbol.
10
23
  *
11
24
  * @param defaults - The default values to be provided or updated.
25
+ * @param options - Whether the defaults are local, kept out of overlays.
26
+ */
27
+ export declare function provideDefaults(defaults: MaybeRefOrGetter<QDefaults>, options?: QProvideDefaultsOptions): void;
28
+ /**
29
+ * Leaves the local defaults out of the components below, for content drawn on its own surface,
30
+ * over the page: an overlay's, a temporary drawer's, the toasts. Local defaults depend on where
31
+ * the content is declared, and it is drawn somewhere else. The defaults the app sets, and those
32
+ * of every provider that is not local, still reach them.
33
+ *
34
+ * @param when - Whether the content is drawn on its own surface now, such as a drawer that is
35
+ * temporary. Always, when left out.
12
36
  */
13
- export declare function provideDefaults(defaults: MaybeRefOrGetter<QDefaults>): void;
37
+ export declare function provideOuterDefaults(when?: MaybeRefOrGetter<boolean>): void;
14
38
  /**
15
39
  * Passes a boolean prop down with {@link provideDefaults}: `true` when it is set, `undefined`
16
40
  * otherwise. `toRef(props, 'disabled')` would pass `false` when the prop is not set, since Vue
@@ -1 +1 @@
1
- {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../src/composables/defaults.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAA;AAOxD,eAAO,MAAM,eAAe,eAAe,CAAA;AAE3C,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,kBAAkB,CAAC,CAAA;AAEnE,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,CAAA;AAEjE,wBAAgB,WAAW,IAAI,WAAW,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAezE;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,gBAAgB,CAAC,SAAS,CAAC,GAAG,IAAI,CAY3E;AAED;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,OAAO,GAAG,SAAS,GAAG,WAAW,CAAC,IAAI,GAAG,SAAS,CAAC,CAE7F;AAED;;;;;;;;GAQG;AACH,wBAAgB,cAAc,IAAI,WAAW,CAAC,SAAS,CAAC,CAMvD"}
1
+ {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../src/composables/defaults.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAA;AAOxD,eAAO,MAAM,eAAe,eAAe,CAAA;AAE3C,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,kBAAkB,CAAC,CAAA;AAEnE,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,CAAA;AAEjE,wBAAgB,WAAW,IAAI,WAAW,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAezE;AASD;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACrC;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC,OAAO,GAAG,SAAS,CAAC,CAAA;CAC7C,CAAA;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC9B,QAAQ,EAAE,gBAAgB,CAAC,SAAS,CAAC,EACrC,OAAO,GAAE,uBAA4B,GACnC,IAAI,CA6BN;AAED;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,GAAE,gBAAgB,CAAC,OAAO,CAAQ,GAAG,IAAI,CASjF;AAcD;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,OAAO,GAAG,SAAS,GAAG,WAAW,CAAC,IAAI,GAAG,SAAS,CAAC,CAE7F;AAED;;;;;;;;GAQG;AACH,wBAAgB,cAAc,IAAI,WAAW,CAAC,SAAS,CAAC,CAMvD"}
@@ -8,21 +8,29 @@ function l() {
8
8
  if (!e) throw Error("[Quidgest UI] useDefaults must be called from inside a setup function");
9
9
  let i = e.type.name ?? e.type.__name;
10
10
  if (!i) throw Error("[Quidgest UI] Could not determine component name");
11
- let a = f();
11
+ let a = h();
12
12
  return n(() => t(a.value?.Global, a.value?.[i]));
13
13
  }
14
- function u(r) {
14
+ var u = "q-outer-defaults";
15
+ function d(r, i = {}) {
15
16
  if (e(r)) return;
16
- let i = f(), l = o(s(r));
17
- a(c, n(() => e(l.value) ? i.value : t(i.value, l.value)));
17
+ let l = h(), d = p(), f = o(s(r)), m = (n) => e(f.value) ? n.value : t(n.value, f.value);
18
+ a(c, n(() => m(l))), a(u, n(() => s(i.local) ? d.value : m(d)));
18
19
  }
19
- function d(e) {
20
+ function f(e = !0) {
21
+ let t = h(), r = p();
22
+ a(c, n(() => s(e) ? r.value : t.value)), a(u, r);
23
+ }
24
+ function p() {
25
+ return i(u, void 0) ?? h();
26
+ }
27
+ function m(e) {
20
28
  return n(() => e() || void 0);
21
29
  }
22
- function f() {
30
+ function h() {
23
31
  let e = i(c, void 0);
24
32
  if (!e) throw Error("[Quidgest UI] Could not find defaults instance");
25
33
  return e;
26
34
  }
27
35
  //#endregion
28
- export { c as DEFAULTS_SYMBOL, d as booleanDefault, f as injectDefaults, u as provideDefaults, l as useDefaults };
36
+ export { c as DEFAULTS_SYMBOL, m as booleanDefault, h as injectDefaults, d as provideDefaults, f as provideOuterDefaults, l as useDefaults };
@@ -51,7 +51,11 @@ export declare function resolveHoverStyle(scheme: Readonly<QColorScheme>, mainRg
51
51
  *
52
52
  * Everything measured against a background (the hover direction, `textColor`,
53
53
  * `hoverTextColor` and the tint) uses the theme background, or `surface` when the
54
- * component sits on another color, such as a white button on a primary banner.
54
+ * component sits on another color, such as a white button on a primary banner. Without a
55
+ * `surface`, the component can sit on the page or in a card or dialog, so `textColor` and
56
+ * `hoverTextColor` are measured over the theme container too. Text is measured on the tint as
57
+ * the browser paints it, with its alpha stored in 8 bits, and on the bare surface, where
58
+ * outlined, ghost and text variants draw it.
55
59
  *
56
60
  * @param color - A theme utility key or CSS color value. Can be provided as a ref or plain string.
57
61
  * @param surface - The theme key or CSS color the component sits on. Defaults to the theme
@@ -64,9 +68,11 @@ export declare function resolveHoverStyle(scheme: Readonly<QColorScheme>, mainRg
64
68
  * - onMainColor: Scheme `on*` for utilities when present, otherwise WCAG contrast
65
69
  * - hoverColor: The main color darkened on a light surface or lightened on a dark one, the other way when that barely shows
66
70
  * - onHoverColor: WCAG contrasting color for the hover color
67
- * - textColor: `mainColor` darkened or lightened until it clears 4.5:1 on a 12% tint of itself over the surface
68
- * - hoverTextColor: `hoverColor` adjusted the same way against a 6% tint of the hover color over the surface, for ghost and text hover
71
+ * - textColor: `mainColor` darkened or lightened until it clears 4.5:1 on a 12% tint of itself over the surface, and on the surface itself (outlined, ghost and text variants), over the background and the container without one
72
+ * - hoverTextColor: `hoverColor` adjusted the same way against a 6% tint of the hover color over the same surfaces (the ghost hover fill) and against the bare surfaces (text hover)
69
73
  * - tintColor / tintColorRgb: A pale version of the color for selection and highlight surfaces, like the scheme's `*Light` tokens
74
+ * - surfaceColor: The `surface` resolved against the scheme, for a component to pass on to what it renders; `undefined` without one or with one that cannot be parsed, which warns once here
75
+ * - tonalSurfaceColor: The tonal fill as the browser paints it, the color blended 12% over the surface (or the background without one), which `textColor` is measured on
70
76
  *
71
77
  * @example
72
78
  * ```ts
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composables/useColor/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAA;AAwB1D,KAAK,UAAU,GAAG,IAAI,CAAC,WAAW,EAAE,YAAY,GAAG,eAAe,GAAG,cAAc,CAAC,CAAA;AAwBpF;;;;;;;;;;;;GAYG;AACH,wBAAgB,kBAAkB,CACjC,QAAQ,EAAE,MAAM,EAChB,cAAc,EAAE,OAAO,EACvB,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC,EAC9B,OAAO,EAAE,GAAG,GACV,MAAM,CAUR;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,CAChC,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC,EAC9B,OAAO,EAAE,GAAG,EACZ,UAAU,GAAE,GAAmC,GAC7C,UAAU,CAEZ;AA2BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,wBAAgB,QAAQ,CACvB,KAAK,EAAE,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC,EACnC,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC,GACpC,eAAe,CAmDjB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC,GAAG,MAAM,CAQlF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composables/useColor/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAA;AA6B1D,KAAK,UAAU,GAAG,IAAI,CAAC,WAAW,EAAE,YAAY,GAAG,eAAe,GAAG,cAAc,CAAC,CAAA;AA0CpF;;;;;;;;;;;;GAYG;AACH,wBAAgB,kBAAkB,CACjC,QAAQ,EAAE,MAAM,EAChB,cAAc,EAAE,OAAO,EACvB,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC,EAC9B,OAAO,EAAE,GAAG,GACV,MAAM,CAUR;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,CAChC,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC,EAC9B,OAAO,EAAE,GAAG,EACZ,UAAU,GAAE,GAAmC,GAC7C,UAAU,CAEZ;AA8BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,wBAAgB,QAAQ,CACvB,KAAK,EAAE,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC,EACnC,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC,GACpC,eAAe,CA+DjB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC,GAAG,MAAM,CAQlF"}
@@ -1,79 +1,87 @@
1
1
  import { rgbToHex as e, rgbToVariableString as t } from "../../utils/color/conversion.js";
2
2
  import { parseColor as n } from "../../utils/color/parse.js";
3
- import { ensureContrast as r, getContrastingColor as i } from "../../utils/color/contrast.js";
4
- import { TONAL_SURFACE_ALPHA as a, blendOver as o } from "../../utils/color/blend.js";
5
- import { deriveHover as s, deriveTint as c } from "../../utils/color/variants.js";
6
- import { isThemeColor as l, isUnsupportedColor as u } from "../../utils/color/theme-colors.js";
7
- import { useTheme as d } from "../theme.js";
8
- import { computed as f, unref as p } from "vue";
3
+ import { ensureContrastOnAll as r, getContrastingColor as i } from "../../utils/color/contrast.js";
4
+ import { GHOST_HOVER_ALPHA as a, TONAL_SURFACE_ALPHA as o, blendOver as s, paintedAlpha as c } from "../../utils/color/blend.js";
5
+ import { deriveHover as l, deriveTint as u } from "../../utils/color/variants.js";
6
+ import { isThemeColor as d, isUnsupportedColor as f } from "../../utils/color/theme-colors.js";
7
+ import { useTheme as p } from "../theme.js";
8
+ import { computed as m, unref as h } from "vue";
9
9
  //#region src/composables/useColor/index.ts
10
- function m(e) {
10
+ function g(e) {
11
11
  typeof process < "u" && process.env.NODE_ENV === "production" || console.warn(`[Quidgest UI] useColor: unable to resolve color "${e}"`);
12
12
  }
13
- var h = .06;
14
- function g(n, r) {
15
- let a = s(n, r);
13
+ function _(n, r) {
14
+ let a = l(n, r);
16
15
  return {
17
16
  hoverColor: e(a),
18
17
  hoverColorRgb: t(a),
19
18
  onHoverColor: i(a)
20
19
  };
21
20
  }
22
- function _(e, t, n, r) {
21
+ function v(e, t, n, i) {
22
+ return r(e, n.flatMap((e) => [s(t, e, c(i)), e]));
23
+ }
24
+ function y(e, t, n, r) {
23
25
  if (t) {
24
26
  let t = n[`on${e.charAt(0).toUpperCase()}${e.slice(1)}`];
25
27
  if (typeof t == "string") return t;
26
28
  }
27
29
  return i(r);
28
30
  }
29
- function v(e, t, r = n(e.background)) {
30
- return g(t, r);
31
+ function b(e, t, r = n(e.background)) {
32
+ return _(t, r);
31
33
  }
32
- function y(e, t) {
33
- let r = n(t.background);
34
- if (!e) return r;
35
- if (u(e)) return m(e), r;
36
- try {
37
- return n(x(e, t));
38
- } catch {
39
- return m(e), r;
34
+ function x(e, t) {
35
+ if (e) {
36
+ if (f(e)) {
37
+ g(e);
38
+ return;
39
+ }
40
+ try {
41
+ return n(C(e, t));
42
+ } catch {
43
+ g(e);
44
+ return;
45
+ }
40
46
  }
41
47
  }
42
- function b(i, s) {
43
- let g = f(() => p(i)), b = d(), S = f(() => g.value ? l(g.value) : !1);
48
+ function S(r, i) {
49
+ let l = m(() => h(r)), _ = p(), S = m(() => l.value ? d(l.value) : !1);
44
50
  return {
45
51
  isUtilityColor: S,
46
- style: f(() => {
47
- let i = g.value;
48
- if (!i) return;
49
- if (!S.value && u(i)) {
50
- m(i);
52
+ style: m(() => {
53
+ let r = l.value;
54
+ if (!r) return;
55
+ if (!S.value && f(r)) {
56
+ g(r);
51
57
  return;
52
58
  }
53
- let l = b.current.value.scheme, d = x(i, l), f;
59
+ let d = _.current.value.scheme, p = C(r, d), m;
54
60
  try {
55
- f = n(d);
61
+ m = n(p);
56
62
  } catch {
57
- m(i);
63
+ g(r);
58
64
  return;
59
65
  }
60
- let C = _(i, S.value, l, f), w = y(p(s), l), T = v(l, f, w), E = r(d, e(o(f, w, a))), D = T.hoverColor ?? d, O = r(D, e(o(n(D), w, h))), k = c(f, w);
66
+ let w = y(r, S.value, d, m), T = x(h(i), d), E = T ?? n(d.background), D = b(d, m, E), O = D.hoverColor ?? p, k = T ? [E] : [E, n(d.container)], A = v(p, m, k, o), j = v(O, n(O), k, a), M = u(m, E), N = s(m, E, c(o));
61
67
  return {
62
- mainColor: d,
63
- mainColorRgb: t(f),
64
- onMainColor: C,
65
- textColor: E,
66
- hoverTextColor: O,
67
- tintColor: e(k),
68
- tintColorRgb: t(k),
69
- ...T
68
+ mainColor: p,
69
+ mainColorRgb: t(m),
70
+ onMainColor: w,
71
+ textColor: A,
72
+ hoverTextColor: j,
73
+ tintColor: e(M),
74
+ tintColorRgb: t(M),
75
+ surfaceColor: T && e(T),
76
+ tonalSurfaceColor: e(N),
77
+ ...D
70
78
  };
71
79
  })
72
80
  };
73
81
  }
74
- function x(e, t) {
82
+ function C(e, t) {
75
83
  let n = e.trim();
76
84
  return Object.prototype.hasOwnProperty.call(t, n) ? t[n] ?? e : e;
77
85
  }
78
86
  //#endregion
79
- export { x as resolveColor, v as resolveHoverStyle, _ as resolveOnMainColor, b as useColor };
87
+ export { C as resolveColor, b as resolveHoverStyle, y as resolveOnMainColor, S as useColor };
@@ -19,15 +19,16 @@ export interface QColorStyle {
19
19
  /**
20
20
  * Text color for tonal, outlined, ghost, and text treatments.
21
21
  * `mainColor` adjusted on the same hue until it clears 4.5:1 against a
22
- * 12% tint of itself over the surface: the theme background, or the `surface`
23
- * passed to `useColor`. Unchanged when it already passes.
22
+ * 12% tint of itself, as the browser paints it, over the surface (tonal), and
23
+ * against the surface itself (outlined, ghost and text): the theme background and
24
+ * container, or the `surface` passed to `useColor`. Unchanged when it already passes.
24
25
  */
25
26
  textColor: string;
26
27
  /**
27
28
  * Text color for ghost and text treatments while hovered.
28
29
  * `hoverColor` adjusted until it clears 4.5:1 against a 6% tint of the
29
- * hover color over the surface (the ghost hover fill).
30
- * Unchanged when it already passes.
30
+ * hover color over the same surfaces (the ghost hover fill), and against the
31
+ * surfaces themselves (text hover). Unchanged when it already passes.
31
32
  */
32
33
  hoverTextColor: string;
33
34
  /**
@@ -41,6 +42,18 @@ export interface QColorStyle {
41
42
  * The RGB representation of the tint color, to combine with an alpha channel.
42
43
  */
43
44
  tintColorRgb: string;
45
+ /**
46
+ * The `surface` passed to `useColor`, resolved against the scheme, for a component to pass on
47
+ * to what it renders. `undefined` without a surface, or with one that cannot be parsed (which
48
+ * warns once here, instead of again in each child).
49
+ */
50
+ surfaceColor?: string;
51
+ /**
52
+ * The tonal fill as the browser paints it: the color blended 12% over the surface, or over the
53
+ * theme background without one. `textColor` is measured on it, and so are the children of a
54
+ * tonal component, such as the buttons in a tonal `QAlert`.
55
+ */
56
+ tonalSurfaceColor: string;
44
57
  /**
45
58
  * Optional color to be used when the component is in hover state.
46
59
  * The main color moved away from the surface by `COLOR_SCHEME_DARKEN_AMOUNT`,
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/composables/useColor/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,KAAK,CAAA;AAEtC;;GAEG;AACH,MAAM,WAAW,WAAW;IAC3B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAA;IAEpB;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;;;;OAKG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;;;;OAKG;IACH,cAAc,EAAE,MAAM,CAAA;IAEtB;;;;;OAKG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAA;IAEpB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC/B;;OAEG;IACH,cAAc,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAEpC;;OAEG;IACH,KAAK,EAAE,WAAW,CAAC,WAAW,GAAG,SAAS,CAAC,CAAA;CAC3C"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/composables/useColor/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,KAAK,CAAA;AAEtC;;GAEG;AACH,MAAM,WAAW,WAAW;IAC3B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAA;IAEpB;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;;;;;OAMG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;;;;OAKG;IACH,cAAc,EAAE,MAAM,CAAA;IAEtB;;;;;OAKG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAA;IAEpB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAA;IAEzB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC/B;;OAEG;IACH,cAAc,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAEpC;;OAEG;IACH,KAAK,EAAE,WAAW,CAAC,WAAW,GAAG,SAAS,CAAC,CAAA;CAC3C"}
@@ -3,7 +3,7 @@ import { inject as e, ref as t } from "vue";
3
3
  var n = Symbol.for("q-dialog");
4
4
  function r(e, t) {
5
5
  let n = e.dialogs.value[t], r = e.pendingByKey.get(n.entryKey);
6
- r && (r.reject(/* @__PURE__ */ Error("Dialog removed before it was ready")), e.pendingByKey.delete(n.entryKey)), (n.handlers?.onLeave?.() ?? !0) && e.dialogs.value.splice(t, 1);
6
+ r && (r.reject(/* @__PURE__ */ Error("Dialog removed before it was ready")), e.pendingByKey.delete(n.entryKey)), (n.props.modelValue === !1 || (n.handlers?.onLeave?.() ?? !0)) && e.dialogs.value.splice(t, 1);
7
7
  }
8
8
  function i(e, t) {
9
9
  return e.dialogs.value.some((e) => e.id === t || e.props.id === t);
@@ -12,9 +12,13 @@ export type QDialogItem = {
12
12
  */
13
13
  id?: string;
14
14
  /**
15
- * The properties applied to the dialog, conforming to `QDialogProps`.
15
+ * The properties applied to the dialog, conforming to `QDialogProps`, plus open state
16
+ * (`modelValue`) for the provider's `v-model` binding. Open state is not on `QDialogProps`
17
+ * itself — the SFC uses `defineModel`.
16
18
  */
17
- props: QDialogProps;
19
+ props: QDialogProps & {
20
+ modelValue?: boolean;
21
+ };
18
22
  /**
19
23
  * The options applied to the dialog, conforming to `QDialogOptions`.
20
24
  */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/composables/useDialog/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAO,MAAM,KAAK,CAAA;AAC3C,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AA8EnG;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GAAG;IACzB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,KAAK,EAAE,YAAY,CAAA;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,cAAc,CAAA;IAExB;;OAEG;IACH,QAAQ,CAAC,EAAE,eAAe,CAAA;CAC1B,CAAA;AAeD;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC9B;;;;OAIG;IACH,OAAO,EAAE,WAAW,CAAC,WAAW,EAAE,CAAC,CAAA;IAEnC;;;;;OAKG;IACH,SAAS,EAAE,CACV,KAAK,EAAE,YAAY,EACnB,OAAO,CAAC,EAAE,cAAc,EACxB,QAAQ,CAAC,EAAE,eAAe,KACtB,OAAO,CAAC,MAAM,CAAC,CAAA;IAEpB;;;OAGG;IACH,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAElC;;;OAGG;IACH,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CAClC,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/composables/useDialog/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAO,MAAM,KAAK,CAAA;AAC3C,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AA8EnG;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GAAG;IACzB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;;;OAIG;IACH,KAAK,EAAE,YAAY,GAAG;QAAE,UAAU,CAAC,EAAE,OAAO,CAAA;KAAE,CAAA;IAE9C;;OAEG;IACH,OAAO,CAAC,EAAE,cAAc,CAAA;IAExB;;OAEG;IACH,QAAQ,CAAC,EAAE,eAAe,CAAA;CAC1B,CAAA;AAeD;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC9B;;;;OAIG;IACH,OAAO,EAAE,WAAW,CAAC,WAAW,EAAE,CAAC,CAAA;IAEnC;;;;;OAKG;IACH,SAAS,EAAE,CACV,KAAK,EAAE,YAAY,EACnB,OAAO,CAAC,EAAE,cAAc,EACxB,QAAQ,CAAC,EAAE,eAAe,KACtB,OAAO,CAAC,MAAM,CAAC,CAAA;IAEpB;;;OAGG;IACH,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAElC;;;OAGG;IACH,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CAClC,CAAA"}
@@ -0,0 +1,17 @@
1
+ import { Ref } from 'vue';
2
+ /**
3
+ * Whether a scroll container must be a Tab stop of its own: while it overflows and nothing in it
4
+ * takes focus. Focus on what is inside would scroll it, so without that, the keyboard could not
5
+ * scroll it (WCAG 2.1.1). Watches the container's size and its children's, and what in it takes
6
+ * focus: a step that turns disabled, content that mounted hidden and shows.
7
+ *
8
+ * @param target - The scroll container, `null` while it is not rendered.
9
+ * @returns `isTabStop`, whether it must be a Tab stop, and `update`, which measures it again at
10
+ * once, for a size the code just set: the resize observer reports it only on the next frame, and
11
+ * a check that runs in between would find a container that scrolls and takes no focus.
12
+ */
13
+ export declare function useScrollTabStop(target: Readonly<Ref<HTMLElement | null | undefined>>): {
14
+ isTabStop: import('vue').ComputedRef<boolean>;
15
+ update: () => void;
16
+ };
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composables/useScrollTabStop/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAM9B;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,QAAQ,CAAC,GAAG,CAAC,WAAW,GAAG,IAAI,GAAG,SAAS,CAAC,CAAC;;;EA8DrF"}
@@ -0,0 +1,45 @@
1
+ import { getTabbableElements as e } from "../../utils/focus.js";
2
+ import { computed as t, ref as n, watch as r } from "vue";
3
+ //#region src/composables/useScrollTabStop/index.ts
4
+ function i(i) {
5
+ let a = n(!1), o = n(!1);
6
+ function s(t) {
7
+ a.value = t.scrollHeight > t.clientHeight + 1 || t.scrollWidth > t.clientWidth + 1, o.value = e(t).some((e) => !(Number(e.getAttribute("tabindex")) < 0));
8
+ }
9
+ return r(i, (e, t, n) => {
10
+ if (!e) {
11
+ a.value = !1, o.value = !1;
12
+ return;
13
+ }
14
+ let r = new ResizeObserver(() => s(e)), i = () => {
15
+ for (let t of Array.from(e.children)) r.observe(t);
16
+ };
17
+ r.observe(e), i();
18
+ let c = new MutationObserver(() => {
19
+ i(), s(e);
20
+ });
21
+ c.observe(e, {
22
+ childList: !0,
23
+ subtree: !0,
24
+ attributes: !0,
25
+ attributeFilter: [
26
+ "tabindex",
27
+ "disabled",
28
+ "href",
29
+ "contenteditable"
30
+ ]
31
+ }), s(e), n(() => {
32
+ r.disconnect(), c.disconnect();
33
+ });
34
+ }, {
35
+ immediate: !0,
36
+ flush: "post"
37
+ }), {
38
+ isTabStop: t(() => a.value && !o.value),
39
+ update: () => {
40
+ i.value && s(i.value);
41
+ }
42
+ };
43
+ }
44
+ //#endregion
45
+ export { i as useScrollTabStop };