@webquark/browser 1.1.0-dev.11 → 1.1.0-dev.13

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 (287) hide show
  1. package/dist/cjs/{action.props-DmLaQuU2.js → action.props-B6vl_1p5.js} +1 -1
  2. package/dist/cjs/{dom-Dk77oFF6.js → dom-BYrqRYna.js} +1 -1
  3. package/dist/cjs/{field-CEZ9NsWK.js → field-B5nxD8Kc.js} +1 -1
  4. package/dist/cjs/{index-CMAcJ6t1.js → index-BD6Jjssb.js} +4 -0
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/q-accordion.cjs.entry.js +2 -2
  7. package/dist/cjs/q-alert.cjs.entry.js +1 -1
  8. package/dist/cjs/q-avatar.cjs.entry.js +2 -2
  9. package/dist/cjs/q-banner.cjs.entry.js +1 -1
  10. package/dist/cjs/q-button_2.cjs.entry.js +5 -5
  11. package/dist/cjs/q-card.cjs.entry.js +2 -2
  12. package/dist/cjs/q-carousel.cjs.entry.js +120 -18
  13. package/dist/cjs/q-chip.cjs.entry.js +2 -2
  14. package/dist/cjs/q-control-group.cjs.entry.js +64 -0
  15. package/dist/cjs/q-conversation-bubble.cjs.entry.js +1 -1
  16. package/dist/cjs/q-data-table.cjs.entry.js +4 -4
  17. package/dist/cjs/q-dialog.cjs.entry.js +4 -4
  18. package/dist/cjs/q-divider.cjs.entry.js +2 -2
  19. package/dist/cjs/q-dropdown.cjs.entry.js +218 -21
  20. package/dist/cjs/q-form.cjs.entry.js +15 -5
  21. package/dist/cjs/q-grid.cjs.entry.js +2 -2
  22. package/dist/cjs/q-icon.cjs.entry.js +1 -1
  23. package/dist/cjs/q-image-comparison.cjs.entry.js +2 -2
  24. package/dist/cjs/q-inline.cjs.entry.js +2 -2
  25. package/dist/cjs/q-input_2.cjs.entry.js +7 -7
  26. package/dist/cjs/q-link.cjs.entry.js +2 -2
  27. package/dist/cjs/q-map.cjs.entry.js +2 -2
  28. package/dist/cjs/q-media.cjs.entry.js +2 -2
  29. package/dist/cjs/q-navbar.cjs.entry.js +3 -3
  30. package/dist/cjs/q-pagination.cjs.entry.js +2 -2
  31. package/dist/cjs/q-panel.cjs.entry.js +6 -6
  32. package/dist/cjs/q-quantity-selector.cjs.entry.js +6 -6
  33. package/dist/cjs/q-radio-group.cjs.entry.js +4 -4
  34. package/dist/cjs/q-reel.cjs.entry.js +4 -4
  35. package/dist/cjs/q-scrollable.cjs.entry.js +4 -4
  36. package/dist/cjs/q-section.cjs.entry.js +2 -2
  37. package/dist/cjs/q-sidepanel.cjs.entry.js +2 -2
  38. package/dist/cjs/q-slider.cjs.entry.js +122 -0
  39. package/dist/cjs/q-stack.cjs.entry.js +2 -2
  40. package/dist/cjs/q-step-diagram-item.cjs.entry.js +2 -2
  41. package/dist/cjs/q-step-diagram.cjs.entry.js +4 -4
  42. package/dist/cjs/q-syntax-box.cjs.entry.js +1 -1
  43. package/dist/cjs/q-tabs.cjs.entry.js +2 -2
  44. package/dist/cjs/q-textarea.cjs.entry.js +4 -4
  45. package/dist/cjs/q-thumbnail.cjs.entry.js +3 -3
  46. package/dist/cjs/q-toast.cjs.entry.js +1 -1
  47. package/dist/cjs/q-toggle.cjs.entry.js +6 -6
  48. package/dist/cjs/q-toolbar.cjs.entry.js +3 -3
  49. package/dist/cjs/webquark.cjs.js +2 -2
  50. package/dist/collection/collection-manifest.json +2 -0
  51. package/dist/collection/components/actions/button/button.css +22 -0
  52. package/dist/collection/components/content/carousel/carousel.css +7 -0
  53. package/dist/collection/components/content/carousel/carousel.js +256 -10
  54. package/dist/collection/components/content/carousel/internals/autoplay.js +31 -6
  55. package/dist/collection/components/content/carousel/test/transitions.cmp.test.js +122 -0
  56. package/dist/collection/components/data-display/accordion/accordion.js +1 -1
  57. package/dist/collection/components/data-display/data-table/data-table.js +3 -3
  58. package/dist/collection/components/data-display/map/map.js +1 -1
  59. package/dist/collection/components/data-display/map/test/map.cmp.test.js +1 -1
  60. package/dist/collection/components/data-display/pagination/pagination.js +1 -1
  61. package/dist/collection/components/indicators/step-diagram/step-diagram.js +2 -2
  62. package/dist/collection/components/indicators/step-diagram-item/step-diagram-item.js +1 -1
  63. package/dist/collection/components/inputs/dropdown/dropdown.css +115 -0
  64. package/dist/collection/components/inputs/dropdown/dropdown.js +274 -23
  65. package/dist/collection/components/inputs/dropdown/test/fit-options.cmp.test.js +120 -0
  66. package/dist/collection/components/inputs/dropdown/test/multiple.cmp.test.js +124 -0
  67. package/dist/collection/components/inputs/form/form.js +2 -2
  68. package/dist/collection/components/inputs/form/internals/controls.js +1 -1
  69. package/dist/collection/components/inputs/form/internals/field-state.js +6 -1
  70. package/dist/collection/components/inputs/form/internals/values.js +5 -0
  71. package/dist/collection/components/inputs/input/input.css +22 -0
  72. package/dist/collection/components/inputs/input/input.js +3 -3
  73. package/dist/collection/components/inputs/quantity-selector/quantity-selector.css +22 -0
  74. package/dist/collection/components/inputs/quantity-selector/quantity-selector.js +4 -4
  75. package/dist/collection/components/inputs/radio-group/radio-group.js +2 -2
  76. package/dist/collection/components/inputs/slider/slider.css +44 -0
  77. package/dist/collection/components/inputs/slider/slider.js +383 -0
  78. package/dist/collection/components/inputs/slider/test/slider.cmp.test.js +45 -0
  79. package/dist/collection/components/inputs/textarea/textarea.js +2 -2
  80. package/dist/collection/components/inputs/toggle/toggle.css +22 -0
  81. package/dist/collection/components/inputs/toggle/toggle.js +3 -3
  82. package/dist/collection/components/layout/control-group/control-group.css +108 -0
  83. package/dist/collection/components/layout/control-group/control-group.js +142 -0
  84. package/dist/collection/components/layout/control-group/test/control-group.cmp.test.js +163 -0
  85. package/dist/collection/components/layout/divider/divider.js +1 -1
  86. package/dist/collection/components/layout/grid/grid.js +1 -1
  87. package/dist/collection/components/layout/inline/inline.js +1 -1
  88. package/dist/collection/components/layout/navbar/navbar.js +2 -2
  89. package/dist/collection/components/layout/panel/panel.js +4 -4
  90. package/dist/collection/components/layout/scrollable/scrollable.js +3 -3
  91. package/dist/collection/components/layout/section/section.js +1 -1
  92. package/dist/collection/components/layout/stack/stack.js +1 -1
  93. package/dist/collection/components/layout/tabs/tabs.js +1 -1
  94. package/dist/collection/components/layout/toolbar/toolbar.js +2 -2
  95. package/dist/collection/components/media/avatar/avatar.js +1 -1
  96. package/dist/collection/components/media/image-comparison/image-comparison.js +1 -1
  97. package/dist/collection/components/media/media/media.js +1 -1
  98. package/dist/collection/components/media/reel/reel.js +2 -2
  99. package/dist/collection/components/media/thumbnail/thumbnail.js +2 -2
  100. package/dist/collection/components/overlays/dialog/dialog.js +2 -2
  101. package/dist/collection/components/overlays/tooltip/tooltip.js +2 -2
  102. package/dist/collection/utils/dom.js +1 -1
  103. package/dist/components/index.js +1 -1
  104. package/dist/components/{p-iXEnb5d5.js → p-BGHNFaaC.js} +1 -1
  105. package/dist/components/{p--r63tfQH.js → p-BZXIeEKC.js} +1 -1
  106. package/dist/components/{p-DbI_F3z0.js → p-Bc2_QcLn.js} +1 -1
  107. package/dist/components/{p-DBbiaYqQ.js → p-Bp6Xr92S.js} +1 -1
  108. package/dist/components/{p-CSucjZb7.js → p-BwPMm43W.js} +1 -1
  109. package/dist/components/p-CArIPzJU.js +1 -0
  110. package/dist/components/p-CpkX9YAW.js +1 -0
  111. package/dist/components/{p-CLErjC1f.js → p-D2nxHd1b.js} +1 -1
  112. package/dist/components/{p-DQhiqYeq.js → p-DkanItP3.js} +1 -1
  113. package/dist/components/p-IwIJb0Mc.js +1 -0
  114. package/dist/components/{p-0feRVg70.js → p-kfrqZyfJ.js} +1 -1
  115. package/dist/components/{p-CYG3Oakz.js → p-x3C-wjU9.js} +1 -1
  116. package/dist/components/q-accordion.js +1 -1
  117. package/dist/components/q-alert.js +1 -1
  118. package/dist/components/q-avatar.js +1 -1
  119. package/dist/components/q-banner.js +1 -1
  120. package/dist/components/q-button.js +1 -1
  121. package/dist/components/q-card.js +1 -1
  122. package/dist/components/q-carousel.js +1 -1
  123. package/dist/components/q-chip.js +1 -1
  124. package/dist/components/q-control-group.d.ts +11 -0
  125. package/dist/components/q-control-group.js +1 -0
  126. package/dist/components/q-conversation-bubble.js +1 -1
  127. package/dist/components/q-data-table.js +1 -1
  128. package/dist/components/q-dialog.js +1 -1
  129. package/dist/components/q-divider.js +1 -1
  130. package/dist/components/q-dropdown.js +1 -1
  131. package/dist/components/q-form.js +1 -1
  132. package/dist/components/q-grid.js +1 -1
  133. package/dist/components/q-icon.js +1 -1
  134. package/dist/components/q-image-comparison.js +1 -1
  135. package/dist/components/q-inline.js +1 -1
  136. package/dist/components/q-input.js +1 -1
  137. package/dist/components/q-link.js +1 -1
  138. package/dist/components/q-map.js +1 -1
  139. package/dist/components/q-media.js +1 -1
  140. package/dist/components/q-navbar.js +1 -1
  141. package/dist/components/q-pagination.js +1 -1
  142. package/dist/components/q-panel.js +1 -1
  143. package/dist/components/q-progress.js +1 -1
  144. package/dist/components/q-quantity-selector.js +1 -1
  145. package/dist/components/q-radio-group.js +1 -1
  146. package/dist/components/q-reel.js +1 -1
  147. package/dist/components/q-scrollable.js +1 -1
  148. package/dist/components/q-section.js +1 -1
  149. package/dist/components/q-sidepanel.js +1 -1
  150. package/dist/components/q-slider.d.ts +11 -0
  151. package/dist/components/q-slider.js +1 -0
  152. package/dist/components/q-stack.js +1 -1
  153. package/dist/components/q-step-diagram-item.js +1 -1
  154. package/dist/components/q-step-diagram.js +1 -1
  155. package/dist/components/q-syntax-box.js +2 -2
  156. package/dist/components/q-tabs.js +1 -1
  157. package/dist/components/q-textarea.js +1 -1
  158. package/dist/components/q-thumbnail.js +1 -1
  159. package/dist/components/q-toast.js +1 -1
  160. package/dist/components/q-toggle.js +1 -1
  161. package/dist/components/q-toolbar.js +1 -1
  162. package/dist/components/q-tooltip.js +1 -1
  163. package/dist/esm/{action.props-DhnvhbLl.js → action.props-Di_LpF5H.js} +1 -1
  164. package/dist/esm/{dom-ByfrUWx1.js → dom-CArIPzJU.js} +1 -1
  165. package/dist/esm/{field-u-k7C7Rf.js → field-C4Iilew6.js} +1 -1
  166. package/dist/esm/{index-DaJmsCb7.js → index-DoGM9gsC.js} +4 -1
  167. package/dist/esm/loader.js +3 -3
  168. package/dist/esm/q-accordion.entry.js +2 -2
  169. package/dist/esm/q-alert.entry.js +1 -1
  170. package/dist/esm/q-avatar.entry.js +2 -2
  171. package/dist/esm/q-banner.entry.js +1 -1
  172. package/dist/esm/q-button_2.entry.js +5 -5
  173. package/dist/esm/q-card.entry.js +2 -2
  174. package/dist/esm/q-carousel.entry.js +120 -18
  175. package/dist/esm/q-chip.entry.js +2 -2
  176. package/dist/esm/q-control-group.entry.js +62 -0
  177. package/dist/esm/q-conversation-bubble.entry.js +1 -1
  178. package/dist/esm/q-data-table.entry.js +4 -4
  179. package/dist/esm/q-dialog.entry.js +4 -4
  180. package/dist/esm/q-divider.entry.js +2 -2
  181. package/dist/esm/q-dropdown.entry.js +218 -21
  182. package/dist/esm/q-form.entry.js +15 -5
  183. package/dist/esm/q-grid.entry.js +2 -2
  184. package/dist/esm/q-icon.entry.js +1 -1
  185. package/dist/esm/q-image-comparison.entry.js +2 -2
  186. package/dist/esm/q-inline.entry.js +2 -2
  187. package/dist/esm/q-input_2.entry.js +7 -7
  188. package/dist/esm/q-link.entry.js +2 -2
  189. package/dist/esm/q-map.entry.js +2 -2
  190. package/dist/esm/q-media.entry.js +2 -2
  191. package/dist/esm/q-navbar.entry.js +3 -3
  192. package/dist/esm/q-pagination.entry.js +2 -2
  193. package/dist/esm/q-panel.entry.js +6 -6
  194. package/dist/esm/q-quantity-selector.entry.js +6 -6
  195. package/dist/esm/q-radio-group.entry.js +4 -4
  196. package/dist/esm/q-reel.entry.js +4 -4
  197. package/dist/esm/q-scrollable.entry.js +4 -4
  198. package/dist/esm/q-section.entry.js +2 -2
  199. package/dist/esm/q-sidepanel.entry.js +2 -2
  200. package/dist/esm/q-slider.entry.js +120 -0
  201. package/dist/esm/q-stack.entry.js +2 -2
  202. package/dist/esm/q-step-diagram-item.entry.js +2 -2
  203. package/dist/esm/q-step-diagram.entry.js +4 -4
  204. package/dist/esm/q-syntax-box.entry.js +1 -1
  205. package/dist/esm/q-tabs.entry.js +2 -2
  206. package/dist/esm/q-textarea.entry.js +4 -4
  207. package/dist/esm/q-thumbnail.entry.js +3 -3
  208. package/dist/esm/q-toast.entry.js +1 -1
  209. package/dist/esm/q-toggle.entry.js +6 -6
  210. package/dist/esm/q-toolbar.entry.js +3 -3
  211. package/dist/esm/webquark.js +3 -3
  212. package/dist/types/components/content/carousel/carousel.d.ts +23 -2
  213. package/dist/types/components/content/carousel/carousel.types.d.ts +6 -0
  214. package/dist/types/components/content/carousel/internals/autoplay.d.ts +5 -0
  215. package/dist/types/components/inputs/dropdown/dropdown.d.ts +29 -2
  216. package/dist/types/components/inputs/dropdown/test/fit-options.cmp.test.d.ts +3 -0
  217. package/dist/types/components/inputs/dropdown/test/multiple.cmp.test.d.ts +1 -0
  218. package/dist/types/components/inputs/form/internals/field-state.d.ts +1 -1
  219. package/dist/types/components/inputs/slider/slider.d.ts +45 -0
  220. package/dist/types/components/inputs/slider/test/slider.cmp.test.d.ts +1 -0
  221. package/dist/types/components/layout/control-group/control-group.d.ts +20 -0
  222. package/dist/types/components/layout/control-group/test/control-group.cmp.test.d.ts +7 -0
  223. package/dist/types/components.d.ts +284 -9
  224. package/dist/types/index.d.ts +1 -1
  225. package/dist/types/utils/form-field-adapter.d.ts +3 -3
  226. package/dist/webquark/{p-b8f4994a.entry.js → p-0182e114.entry.js} +1 -1
  227. package/dist/webquark/{p-4d611b93.entry.js → p-048103e0.entry.js} +1 -1
  228. package/dist/webquark/{p-a30d212f.entry.js → p-0a2c52de.entry.js} +1 -1
  229. package/dist/webquark/p-0baf478a.entry.js +1 -0
  230. package/dist/webquark/{p-5d6fb0d1.entry.js → p-15bad9ef.entry.js} +1 -1
  231. package/dist/webquark/p-17b9713f.entry.js +1 -0
  232. package/dist/webquark/{p-32055acd.entry.js → p-222405b8.entry.js} +1 -1
  233. package/dist/webquark/{p-7723e966.entry.js → p-2eaa3a9f.entry.js} +1 -1
  234. package/dist/webquark/{p-e7384b6e.entry.js → p-3daafc56.entry.js} +1 -1
  235. package/dist/webquark/{p-220ec9cf.entry.js → p-44bbe12f.entry.js} +1 -1
  236. package/dist/webquark/{p-dee50f0a.entry.js → p-4609c362.entry.js} +1 -1
  237. package/dist/webquark/{p-0f04ceab.entry.js → p-5b584d3c.entry.js} +1 -1
  238. package/dist/webquark/p-65fe9cac.entry.js +1 -0
  239. package/dist/webquark/{p-1e8797d1.entry.js → p-846dc838.entry.js} +1 -1
  240. package/dist/webquark/{p-d2c4696f.entry.js → p-84b350a3.entry.js} +1 -1
  241. package/dist/webquark/p-85131314.entry.js +1 -0
  242. package/dist/webquark/{p-a87f0bde.entry.js → p-852e88ae.entry.js} +1 -1
  243. package/dist/webquark/{p-596737cc.entry.js → p-86c05afd.entry.js} +1 -1
  244. package/dist/webquark/p-8c5b2706.entry.js +1 -0
  245. package/dist/webquark/p-923527f0.entry.js +1 -0
  246. package/dist/webquark/{p-687be7d4.entry.js → p-9a76cd71.entry.js} +1 -1
  247. package/dist/webquark/p-CArIPzJU.js +1 -0
  248. package/dist/webquark/{p-BuctNczf.js → p-DDUED8LT.js} +1 -1
  249. package/dist/webquark/{p-Bk4FnOfb.js → p-Dnz3WmdX.js} +1 -1
  250. package/dist/webquark/{p-DaJmsCb7.js → p-DoGM9gsC.js} +1 -1
  251. package/dist/webquark/p-a0d97367.entry.js +1 -0
  252. package/dist/webquark/{p-3af50215.entry.js → p-a16bd8d5.entry.js} +2 -2
  253. package/dist/webquark/{p-6d2d016a.entry.js → p-a2334abe.entry.js} +1 -1
  254. package/dist/webquark/{p-5cccb6bc.entry.js → p-a2ff1b64.entry.js} +1 -1
  255. package/dist/webquark/{p-a199de7d.entry.js → p-a314bc21.entry.js} +1 -1
  256. package/dist/webquark/p-a3e1096d.entry.js +1 -0
  257. package/dist/webquark/{p-b9c8c081.entry.js → p-a66550da.entry.js} +1 -1
  258. package/dist/webquark/{p-b75ec829.entry.js → p-aa342e81.entry.js} +1 -1
  259. package/dist/webquark/{p-c662904e.entry.js → p-b1c771fb.entry.js} +1 -1
  260. package/dist/webquark/p-b21ad707.entry.js +1 -0
  261. package/dist/webquark/p-b45ca926.entry.js +1 -0
  262. package/dist/webquark/{p-e3c18c0e.entry.js → p-b8fdef4f.entry.js} +1 -1
  263. package/dist/webquark/{p-78c56cd3.entry.js → p-d4788321.entry.js} +1 -1
  264. package/dist/webquark/{p-191a7063.entry.js → p-d86bd51d.entry.js} +1 -1
  265. package/dist/webquark/{p-b82aaf4c.entry.js → p-dbcf7592.entry.js} +1 -1
  266. package/dist/webquark/p-e0943d41.entry.js +1 -0
  267. package/dist/webquark/{p-41deb44c.entry.js → p-e2721e77.entry.js} +1 -1
  268. package/dist/webquark/{p-ddeb2d4c.entry.js → p-e723a7ae.entry.js} +1 -1
  269. package/dist/webquark/p-eb800d1e.entry.js +1 -0
  270. package/dist/webquark/{p-fbd1cbbe.entry.js → p-f4d23ffe.entry.js} +1 -1
  271. package/dist/webquark/{p-cab898c2.entry.js → p-f51e1098.entry.js} +1 -1
  272. package/dist/webquark/{p-44eda084.entry.js → p-fe14f038.entry.js} +1 -1
  273. package/dist/webquark/webquark.esm.js +1 -1
  274. package/package.json +2 -2
  275. package/dist/components/p-ByfrUWx1.js +0 -1
  276. package/dist/components/p-cSh-5xis.js +0 -1
  277. package/dist/webquark/p-10dc5cce.entry.js +0 -1
  278. package/dist/webquark/p-2291095e.entry.js +0 -1
  279. package/dist/webquark/p-473a1810.entry.js +0 -1
  280. package/dist/webquark/p-4cf40080.entry.js +0 -1
  281. package/dist/webquark/p-6a5033da.entry.js +0 -1
  282. package/dist/webquark/p-70e3a23a.entry.js +0 -1
  283. package/dist/webquark/p-8a0733a1.entry.js +0 -1
  284. package/dist/webquark/p-ByfrUWx1.js +0 -1
  285. package/dist/webquark/p-bf568cda.entry.js +0 -1
  286. package/dist/webquark/p-f63fd66f.entry.js +0 -1
  287. package/dist/webquark/p-f95aeb8d.entry.js +0 -1
@@ -14,7 +14,7 @@ import { QButtonLayout, QButtonShape, QButtonSize, QButtonType, QButtonVariant }
14
14
  import { QFormAutocomplete, QFormEnctype, QFormEnterBehavior, QFormMethod, QFormResetDetail, QFormSubmitDetail, QFormTarget, QFormValues } from "./components/inputs/form/form.types";
15
15
  import { QControlSize, QInputWidth, QSpace, QSurface } from "./theme/tokens";
16
16
  import { QCardElevation } from "./components/content/card/card.types";
17
- import { QCarouselAutoplayChangeDetail, QCarouselLayout, QCarouselSlideChangeDetail, QCarouselSnapAlignment, QCarouselTransition } from "./components/content/carousel/carousel.types";
17
+ import { QCarouselAutoplayBehavior, QCarouselAutoplayChangeDetail, QCarouselLayout, QCarouselPlaybackChangeDetail, QCarouselSlideChangeDetail, QCarouselSlideTiming, QCarouselSnapAlignment, QCarouselTransition } from "./components/content/carousel/carousel.types";
18
18
  import { QChipRemoveDetail, QChipSize, QChipTarget, QChipVariant } from "./components/data-display/chip/chip.types";
19
19
  import { QConversationBubbleVariant } from "./components/communication/conversation-bubble/conversation-bubble.types";
20
20
  import { DataTableItem, DataTableKey, DataTableRowAction, DataTableRowGrouper, DataTableRowGutter, DataTableSortDirection, DataTableSortMode, QDataTableRowActionDetail, QDataTableRowClickDetail, QDataTableSelectionChangeDetail, QDataTableSortChangeDetail, TableColumn } from "./components/data-display/data-table/data-table.types";
@@ -53,7 +53,7 @@ export { QButtonLayout, QButtonShape, QButtonSize, QButtonType, QButtonVariant }
53
53
  export { QFormAutocomplete, QFormEnctype, QFormEnterBehavior, QFormMethod, QFormResetDetail, QFormSubmitDetail, QFormTarget, QFormValues } from "./components/inputs/form/form.types";
54
54
  export { QControlSize, QInputWidth, QSpace, QSurface } from "./theme/tokens";
55
55
  export { QCardElevation } from "./components/content/card/card.types";
56
- export { QCarouselAutoplayChangeDetail, QCarouselLayout, QCarouselSlideChangeDetail, QCarouselSnapAlignment, QCarouselTransition } from "./components/content/carousel/carousel.types";
56
+ export { QCarouselAutoplayBehavior, QCarouselAutoplayChangeDetail, QCarouselLayout, QCarouselPlaybackChangeDetail, QCarouselSlideChangeDetail, QCarouselSlideTiming, QCarouselSnapAlignment, QCarouselTransition } from "./components/content/carousel/carousel.types";
57
57
  export { QChipRemoveDetail, QChipSize, QChipTarget, QChipVariant } from "./components/data-display/chip/chip.types";
58
58
  export { QConversationBubbleVariant } from "./components/communication/conversation-bubble/conversation-bubble.types";
59
59
  export { DataTableItem, DataTableKey, DataTableRowAction, DataTableRowGrouper, DataTableRowGutter, DataTableSortDirection, DataTableSortMode, QDataTableRowActionDetail, QDataTableRowClickDetail, QDataTableSelectionChangeDetail, QDataTableSortChangeDetail, TableColumn } from "./components/data-display/data-table/data-table.types";
@@ -315,10 +315,20 @@ export namespace Components {
315
315
  */
316
316
  "ariaLabel": string;
317
317
  /**
318
- * Enables rotation; user interaction pauses until explicitly restarted.
318
+ * Enables rotation with the configured interaction behavior.
319
319
  * @default false
320
320
  */
321
321
  "autoplay": boolean;
322
+ /**
323
+ * Holds advancement for loading without pausing the active media.
324
+ * @default false
325
+ */
326
+ "autoplayAdvanceSuspended": boolean;
327
+ /**
328
+ * Continuous rotation ignores hover and interaction; explicit pause remains available.
329
+ * @default 'pauseOnInteraction'
330
+ */
331
+ "autoplayBehavior": QCarouselAutoplayBehavior;
322
332
  /**
323
333
  * Finite positive interval in milliseconds; invalid values use 5000.
324
334
  * @default 5000
@@ -329,6 +339,10 @@ export namespace Components {
329
339
  * @default false
330
340
  */
331
341
  "autoplaySuspended": boolean;
342
+ /**
343
+ * Completes the registered visit; stale or duplicate media events are ignored.
344
+ */
345
+ "completeSlide": (key: string) => Promise<void>;
332
346
  /**
333
347
  * `auto` preserves each slotted item's natural width.
334
348
  * @default 'auto'
@@ -352,6 +366,15 @@ export namespace Components {
352
366
  * @default false
353
367
  */
354
368
  "repeat": boolean;
369
+ /**
370
+ * Overlay keeps playback separate from the indicators/extra-controls panel.
371
+ * @default 'controls'
372
+ */
373
+ "rotationPlacement": 'controls' | 'overlay';
374
+ /**
375
+ * Registers timing for the current slide and responsive-media visit only.
376
+ */
377
+ "setSlidePlayback": (element: HTMLElement, key: string, mode: "interval" | "completion") => Promise<void>;
355
378
  /**
356
379
  * Omitted controls are enabled for navigable slideshows and disabled for strips.
357
380
  */
@@ -360,6 +383,11 @@ export namespace Components {
360
383
  * Shows clickable slide indicator dots when the carousel can scroll.
361
384
  */
362
385
  "showIndicators"?: boolean;
386
+ /**
387
+ * Finish-videos delegates each active visit's timing to setSlidePlayback().
388
+ * @default 'fixedInterval'
389
+ */
390
+ "slideTiming": QCarouselSlideTiming;
363
391
  /**
364
392
  * Scrolls the carousel to a zero-based slide index.
365
393
  */
@@ -437,6 +465,24 @@ export namespace Components {
437
465
  */
438
466
  "variant": QChipVariant;
439
467
  }
468
+ /**
469
+ * Visually joined controls with consumer-owned values and interactions.
470
+ */
471
+ interface QControlGroup {
472
+ /**
473
+ * Name of the group; each child still needs its own accessible name.
474
+ * @default null
475
+ */
476
+ "ariaLabel": string | null;
477
+ /**
478
+ * @default 'horizontal'
479
+ */
480
+ "orientation": 'horizontal' | 'vertical';
481
+ /**
482
+ * @default 'inherit'
483
+ */
484
+ "size": QControlSize;
485
+ }
440
486
  /**
441
487
  * Semantic conversation message with optional identity, metadata, and actions.
442
488
  */
@@ -748,6 +794,11 @@ export namespace Components {
748
794
  * @default false
749
795
  */
750
796
  "loading": boolean;
797
+ /**
798
+ * Select several options. Uses values/qValuesChange instead of value/qChange.
799
+ * @default false
800
+ */
801
+ "multiple": boolean;
751
802
  "name"?: string;
752
803
  /**
753
804
  * Options to render; strings use the same text for label and value, while objects allow separate values.
@@ -790,9 +841,14 @@ export namespace Components {
790
841
  */
791
842
  "value": string;
792
843
  /**
793
- * Opt-in horizontal width; independent of size. Omitted uses the existing full-width layout.
844
+ * Selected identities in multiple mode. Replace the array to update selections.
845
+ * @default []
794
846
  */
795
- "width"?: QInputWidth;
847
+ "values": string[];
848
+ /**
849
+ * Opt-in horizontal width; fit-options sizes to loaded option labels. Omitted keeps the full-width layout.
850
+ */
851
+ "width"?: QInputWidth | 'fit-options';
796
852
  }
797
853
  /**
798
854
  * Form wrapper that bridges slotted WebQuark controls to a native form element.
@@ -1824,6 +1880,47 @@ export namespace Components {
1824
1880
  */
1825
1881
  "variant": QSidepanelVariant;
1826
1882
  }
1883
+ /**
1884
+ * Single-value range input with a themed track, glowing thumb and optional value badge.
1885
+ */
1886
+ interface QSlider {
1887
+ /**
1888
+ * @default null
1889
+ */
1890
+ "ariaLabel": string | null;
1891
+ /**
1892
+ * @default false
1893
+ */
1894
+ "disabled": boolean;
1895
+ "focusElement": () => Promise<void>;
1896
+ "label"?: string;
1897
+ /**
1898
+ * @default 100
1899
+ */
1900
+ "max": number;
1901
+ /**
1902
+ * @default 0
1903
+ */
1904
+ "min": number;
1905
+ "name"?: string;
1906
+ /**
1907
+ * @default true
1908
+ */
1909
+ "showValue": boolean;
1910
+ /**
1911
+ * @default 1
1912
+ */
1913
+ "step": number;
1914
+ /**
1915
+ * Suffix for the displayed value, such as px or %.
1916
+ * @default ''
1917
+ */
1918
+ "suffix": string;
1919
+ /**
1920
+ * Current value. Defaults to the minimum when omitted.
1921
+ */
1922
+ "value"?: number;
1923
+ }
1827
1924
  /**
1828
1925
  * Vertical layout without surface or landmark semantics.
1829
1926
  */
@@ -2318,6 +2415,10 @@ export interface QSidepanelCustomEvent<T> extends CustomEvent<T> {
2318
2415
  detail: T;
2319
2416
  target: HTMLQSidepanelElement;
2320
2417
  }
2418
+ export interface QSliderCustomEvent<T> extends CustomEvent<T> {
2419
+ detail: T;
2420
+ target: HTMLQSliderElement;
2421
+ }
2321
2422
  export interface QStepDiagramItemCustomEvent<T> extends CustomEvent<T> {
2322
2423
  detail: T;
2323
2424
  target: HTMLQStepDiagramItemElement;
@@ -2436,6 +2537,7 @@ declare global {
2436
2537
  interface HTMLQCarouselElementEventMap {
2437
2538
  "qSlideChange": QCarouselSlideChangeDetail;
2438
2539
  "qAutoplayChange": QCarouselAutoplayChangeDetail;
2540
+ "qPlaybackChange": QCarouselPlaybackChangeDetail;
2439
2541
  }
2440
2542
  /**
2441
2543
  * A carousel with sliding, crossfade or instant transitions and shared navigation.
@@ -2477,6 +2579,15 @@ declare global {
2477
2579
  prototype: HTMLQChipElement;
2478
2580
  new (): HTMLQChipElement;
2479
2581
  };
2582
+ /**
2583
+ * Visually joined controls with consumer-owned values and interactions.
2584
+ */
2585
+ interface HTMLQControlGroupElement extends Components.QControlGroup, HTMLStencilElement {
2586
+ }
2587
+ var HTMLQControlGroupElement: {
2588
+ prototype: HTMLQControlGroupElement;
2589
+ new (): HTMLQControlGroupElement;
2590
+ };
2480
2591
  /**
2481
2592
  * Semantic conversation message with optional identity, metadata, and actions.
2482
2593
  */
@@ -2560,6 +2671,7 @@ declare global {
2560
2671
  };
2561
2672
  interface HTMLQDropdownElementEventMap {
2562
2673
  "qChange": string;
2674
+ "qValuesChange": string[];
2563
2675
  "qSelect": Option;
2564
2676
  "qSearch": string;
2565
2677
  "qLoadMore": void;
@@ -2938,6 +3050,27 @@ declare global {
2938
3050
  prototype: HTMLQSidepanelElement;
2939
3051
  new (): HTMLQSidepanelElement;
2940
3052
  };
3053
+ interface HTMLQSliderElementEventMap {
3054
+ "qInput": number;
3055
+ "qChange": number;
3056
+ }
3057
+ /**
3058
+ * Single-value range input with a themed track, glowing thumb and optional value badge.
3059
+ */
3060
+ interface HTMLQSliderElement extends Components.QSlider, HTMLStencilElement {
3061
+ addEventListener<K extends keyof HTMLQSliderElementEventMap>(type: K, listener: (this: HTMLQSliderElement, ev: QSliderCustomEvent<HTMLQSliderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
3062
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
3063
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
3064
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
3065
+ removeEventListener<K extends keyof HTMLQSliderElementEventMap>(type: K, listener: (this: HTMLQSliderElement, ev: QSliderCustomEvent<HTMLQSliderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
3066
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
3067
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
3068
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
3069
+ }
3070
+ var HTMLQSliderElement: {
3071
+ prototype: HTMLQSliderElement;
3072
+ new (): HTMLQSliderElement;
3073
+ };
2941
3074
  /**
2942
3075
  * Vertical layout without surface or landmark semantics.
2943
3076
  */
@@ -3126,6 +3259,7 @@ declare global {
3126
3259
  "q-card": HTMLQCardElement;
3127
3260
  "q-carousel": HTMLQCarouselElement;
3128
3261
  "q-chip": HTMLQChipElement;
3262
+ "q-control-group": HTMLQControlGroupElement;
3129
3263
  "q-conversation-bubble": HTMLQConversationBubbleElement;
3130
3264
  "q-data-table": HTMLQDataTableElement;
3131
3265
  "q-dialog": HTMLQDialogElement;
@@ -3150,6 +3284,7 @@ declare global {
3150
3284
  "q-scrollable": HTMLQScrollableElement;
3151
3285
  "q-section": HTMLQSectionElement;
3152
3286
  "q-sidepanel": HTMLQSidepanelElement;
3287
+ "q-slider": HTMLQSliderElement;
3153
3288
  "q-stack": HTMLQStackElement;
3154
3289
  "q-step-diagram": HTMLQStepDiagramElement;
3155
3290
  "q-step-diagram-item": HTMLQStepDiagramItemElement;
@@ -3407,10 +3542,20 @@ declare namespace LocalJSX {
3407
3542
  */
3408
3543
  "ariaLabel"?: string;
3409
3544
  /**
3410
- * Enables rotation; user interaction pauses until explicitly restarted.
3545
+ * Enables rotation with the configured interaction behavior.
3411
3546
  * @default false
3412
3547
  */
3413
3548
  "autoplay"?: boolean;
3549
+ /**
3550
+ * Holds advancement for loading without pausing the active media.
3551
+ * @default false
3552
+ */
3553
+ "autoplayAdvanceSuspended"?: boolean;
3554
+ /**
3555
+ * Continuous rotation ignores hover and interaction; explicit pause remains available.
3556
+ * @default 'pauseOnInteraction'
3557
+ */
3558
+ "autoplayBehavior"?: QCarouselAutoplayBehavior;
3414
3559
  /**
3415
3560
  * Finite positive interval in milliseconds; invalid values use 5000.
3416
3561
  * @default 5000
@@ -3435,12 +3580,21 @@ declare namespace LocalJSX {
3435
3580
  * Actual running state, including temporary suspension.
3436
3581
  */
3437
3582
  "onQAutoplayChange"?: (event: QCarouselCustomEvent<QCarouselAutoplayChangeDetail>) => void;
3583
+ /**
3584
+ * Playback intent and eligibility, independent of an image-readiness advance hold.
3585
+ */
3586
+ "onQPlaybackChange"?: (event: QCarouselCustomEvent<QCarouselPlaybackChangeDetail>) => void;
3438
3587
  "onQSlideChange"?: (event: QCarouselCustomEvent<QCarouselSlideChangeDetail>) => void;
3439
3588
  /**
3440
3589
  * Wraps arrow and programmatic navigation at either end.
3441
3590
  * @default false
3442
3591
  */
3443
3592
  "repeat"?: boolean;
3593
+ /**
3594
+ * Overlay keeps playback separate from the indicators/extra-controls panel.
3595
+ * @default 'controls'
3596
+ */
3597
+ "rotationPlacement"?: 'controls' | 'overlay';
3444
3598
  /**
3445
3599
  * Omitted controls are enabled for navigable slideshows and disabled for strips.
3446
3600
  */
@@ -3449,6 +3603,11 @@ declare namespace LocalJSX {
3449
3603
  * Shows clickable slide indicator dots when the carousel can scroll.
3450
3604
  */
3451
3605
  "showIndicators"?: boolean;
3606
+ /**
3607
+ * Finish-videos delegates each active visit's timing to setSlidePlayback().
3608
+ * @default 'fixedInterval'
3609
+ */
3610
+ "slideTiming"?: QCarouselSlideTiming;
3452
3611
  /**
3453
3612
  * @default 'start'
3454
3613
  */
@@ -3528,6 +3687,24 @@ declare namespace LocalJSX {
3528
3687
  */
3529
3688
  "variant"?: QChipVariant;
3530
3689
  }
3690
+ /**
3691
+ * Visually joined controls with consumer-owned values and interactions.
3692
+ */
3693
+ interface QControlGroup {
3694
+ /**
3695
+ * Name of the group; each child still needs its own accessible name.
3696
+ * @default null
3697
+ */
3698
+ "ariaLabel"?: string | null;
3699
+ /**
3700
+ * @default 'horizontal'
3701
+ */
3702
+ "orientation"?: 'horizontal' | 'vertical';
3703
+ /**
3704
+ * @default 'inherit'
3705
+ */
3706
+ "size"?: QControlSize;
3707
+ }
3531
3708
  /**
3532
3709
  * Semantic conversation message with optional identity, metadata, and actions.
3533
3710
  */
@@ -3842,6 +4019,11 @@ declare namespace LocalJSX {
3842
4019
  * @default false
3843
4020
  */
3844
4021
  "loading"?: boolean;
4022
+ /**
4023
+ * Select several options. Uses values/qValuesChange instead of value/qChange.
4024
+ * @default false
4025
+ */
4026
+ "multiple"?: boolean;
3845
4027
  "name"?: string;
3846
4028
  "onQBlur"?: (event: QDropdownCustomEvent<FocusEvent>) => void;
3847
4029
  /**
@@ -3865,6 +4047,10 @@ declare namespace LocalJSX {
3865
4047
  * Emitted with the selected option object when selection changes.
3866
4048
  */
3867
4049
  "onQSelect"?: (event: QDropdownCustomEvent<Option>) => void;
4050
+ /**
4051
+ * Complete selected identities after an add or removal in multiple mode.
4052
+ */
4053
+ "onQValuesChange"?: (event: QDropdownCustomEvent<string[]>) => void;
3868
4054
  /**
3869
4055
  * Options to render; strings use the same text for label and value, while objects allow separate values.
3870
4056
  * @default []
@@ -3905,9 +4091,14 @@ declare namespace LocalJSX {
3905
4091
  */
3906
4092
  "value"?: string;
3907
4093
  /**
3908
- * Opt-in horizontal width; independent of size. Omitted uses the existing full-width layout.
4094
+ * Selected identities in multiple mode. Replace the array to update selections.
4095
+ * @default []
3909
4096
  */
3910
- "width"?: QInputWidth;
4097
+ "values"?: string[];
4098
+ /**
4099
+ * Opt-in horizontal width; fit-options sizes to loaded option labels. Omitted keeps the full-width layout.
4100
+ */
4101
+ "width"?: QInputWidth | 'fit-options';
3911
4102
  }
3912
4103
  /**
3913
4104
  * Form wrapper that bridges slotted WebQuark controls to a native form element.
@@ -4969,6 +5160,58 @@ declare namespace LocalJSX {
4969
5160
  */
4970
5161
  "variant"?: QSidepanelVariant;
4971
5162
  }
5163
+ /**
5164
+ * Single-value range input with a themed track, glowing thumb and optional value badge.
5165
+ */
5166
+ interface QSlider {
5167
+ /**
5168
+ * @default null
5169
+ */
5170
+ "ariaLabel"?: string | null;
5171
+ /**
5172
+ * @default false
5173
+ */
5174
+ "disabled"?: boolean;
5175
+ /**
5176
+ * The `id` of a `<form>` element to associate this element with.
5177
+ */
5178
+ "form"?: string;
5179
+ "label"?: string;
5180
+ /**
5181
+ * @default 100
5182
+ */
5183
+ "max"?: number;
5184
+ /**
5185
+ * @default 0
5186
+ */
5187
+ "min"?: number;
5188
+ "name"?: string;
5189
+ /**
5190
+ * Numeric value emitted when the interaction is committed.
5191
+ */
5192
+ "onQChange"?: (event: QSliderCustomEvent<number>) => void;
5193
+ /**
5194
+ * Numeric value emitted continuously while dragging or using the keyboard.
5195
+ */
5196
+ "onQInput"?: (event: QSliderCustomEvent<number>) => void;
5197
+ /**
5198
+ * @default true
5199
+ */
5200
+ "showValue"?: boolean;
5201
+ /**
5202
+ * @default 1
5203
+ */
5204
+ "step"?: number;
5205
+ /**
5206
+ * Suffix for the displayed value, such as px or %.
5207
+ * @default ''
5208
+ */
5209
+ "suffix"?: string;
5210
+ /**
5211
+ * Current value. Defaults to the minimum when omitted.
5212
+ */
5213
+ "value"?: number;
5214
+ }
4972
5215
  /**
4973
5216
  * Vertical layout without surface or landmark semantics.
4974
5217
  */
@@ -5440,14 +5683,18 @@ declare namespace LocalJSX {
5440
5683
  "layout": QCarouselLayout;
5441
5684
  "snapAlignment": QCarouselSnapAlignment;
5442
5685
  "itemWidth": string;
5686
+ "rotationPlacement": 'controls' | 'overlay';
5443
5687
  "showArrows": boolean;
5444
5688
  "showIndicators": boolean;
5445
5689
  "repeat": boolean;
5446
5690
  "transition": QCarouselTransition;
5447
5691
  "transitionDuration": number;
5448
5692
  "autoplay": boolean;
5693
+ "autoplayBehavior": QCarouselAutoplayBehavior;
5449
5694
  "autoplayInterval": number;
5450
5695
  "autoplaySuspended": boolean;
5696
+ "slideTiming": QCarouselSlideTiming;
5697
+ "autoplayAdvanceSuspended": boolean;
5451
5698
  "ariaLabel": string;
5452
5699
  }
5453
5700
  interface QChipAttributes {
@@ -5464,6 +5711,11 @@ declare namespace LocalJSX {
5464
5711
  "selected": boolean;
5465
5712
  "target": QChipTarget;
5466
5713
  }
5714
+ interface QControlGroupAttributes {
5715
+ "size": QControlSize;
5716
+ "orientation": 'horizontal' | 'vertical';
5717
+ "ariaLabel": string | null;
5718
+ }
5467
5719
  interface QConversationBubbleAttributes {
5468
5720
  "sender": string;
5469
5721
  "timestamp": string;
@@ -5526,10 +5778,11 @@ declare namespace LocalJSX {
5526
5778
  "placeholder": string;
5527
5779
  "options": DropdownOptionInput[] | string;
5528
5780
  "value": string;
5781
+ "multiple": boolean;
5529
5782
  "labelHidden": boolean;
5530
5783
  "reserveFeedback": boolean;
5531
5784
  "size": QDropdownSize;
5532
- "width": QInputWidth;
5785
+ "width": QInputWidth | 'fit-options';
5533
5786
  "searchable": boolean;
5534
5787
  "searchMode": 'default' | 'menu';
5535
5788
  "externalSearch": boolean;
@@ -5778,6 +6031,18 @@ declare namespace LocalJSX {
5778
6031
  "collapseLabel": string;
5779
6032
  "ariaLabel": string | null;
5780
6033
  }
6034
+ interface QSliderAttributes {
6035
+ "value": number;
6036
+ "label": string;
6037
+ "suffix": string;
6038
+ "showValue": boolean;
6039
+ "disabled": boolean;
6040
+ "min": number;
6041
+ "max": number;
6042
+ "step": number;
6043
+ "name": string;
6044
+ "ariaLabel": string | null;
6045
+ }
5781
6046
  interface QStackAttributes {
5782
6047
  "gap": QSpace;
5783
6048
  "align": 'stretch' | 'start' | 'center' | 'end';
@@ -5885,6 +6150,7 @@ declare namespace LocalJSX {
5885
6150
  "q-card": Omit<QCard, keyof QCardAttributes> & { [K in keyof QCard & keyof QCardAttributes]?: QCard[K] } & { [K in keyof QCard & keyof QCardAttributes as `attr:${K}`]?: QCardAttributes[K] } & { [K in keyof QCard & keyof QCardAttributes as `prop:${K}`]?: QCard[K] };
5886
6151
  "q-carousel": Omit<QCarousel, keyof QCarouselAttributes> & { [K in keyof QCarousel & keyof QCarouselAttributes]?: QCarousel[K] } & { [K in keyof QCarousel & keyof QCarouselAttributes as `attr:${K}`]?: QCarouselAttributes[K] } & { [K in keyof QCarousel & keyof QCarouselAttributes as `prop:${K}`]?: QCarousel[K] };
5887
6152
  "q-chip": Omit<QChip, keyof QChipAttributes> & { [K in keyof QChip & keyof QChipAttributes]?: QChip[K] } & { [K in keyof QChip & keyof QChipAttributes as `attr:${K}`]?: QChipAttributes[K] } & { [K in keyof QChip & keyof QChipAttributes as `prop:${K}`]?: QChip[K] };
6153
+ "q-control-group": Omit<QControlGroup, keyof QControlGroupAttributes> & { [K in keyof QControlGroup & keyof QControlGroupAttributes]?: QControlGroup[K] } & { [K in keyof QControlGroup & keyof QControlGroupAttributes as `attr:${K}`]?: QControlGroupAttributes[K] } & { [K in keyof QControlGroup & keyof QControlGroupAttributes as `prop:${K}`]?: QControlGroup[K] };
5888
6154
  "q-conversation-bubble": Omit<QConversationBubble, keyof QConversationBubbleAttributes> & { [K in keyof QConversationBubble & keyof QConversationBubbleAttributes]?: QConversationBubble[K] } & { [K in keyof QConversationBubble & keyof QConversationBubbleAttributes as `attr:${K}`]?: QConversationBubbleAttributes[K] } & { [K in keyof QConversationBubble & keyof QConversationBubbleAttributes as `prop:${K}`]?: QConversationBubble[K] };
5889
6155
  "q-data-table": Omit<QDataTable, keyof QDataTableAttributes> & { [K in keyof QDataTable & keyof QDataTableAttributes]?: QDataTable[K] } & { [K in keyof QDataTable & keyof QDataTableAttributes as `attr:${K}`]?: QDataTableAttributes[K] } & { [K in keyof QDataTable & keyof QDataTableAttributes as `prop:${K}`]?: QDataTable[K] };
5890
6156
  "q-dialog": Omit<QDialog, keyof QDialogAttributes> & { [K in keyof QDialog & keyof QDialogAttributes]?: QDialog[K] } & { [K in keyof QDialog & keyof QDialogAttributes as `attr:${K}`]?: QDialogAttributes[K] } & { [K in keyof QDialog & keyof QDialogAttributes as `prop:${K}`]?: QDialog[K] };
@@ -5909,6 +6175,7 @@ declare namespace LocalJSX {
5909
6175
  "q-scrollable": Omit<QScrollable, keyof QScrollableAttributes> & { [K in keyof QScrollable & keyof QScrollableAttributes]?: QScrollable[K] } & { [K in keyof QScrollable & keyof QScrollableAttributes as `attr:${K}`]?: QScrollableAttributes[K] } & { [K in keyof QScrollable & keyof QScrollableAttributes as `prop:${K}`]?: QScrollable[K] };
5910
6176
  "q-section": Omit<QSection, keyof QSectionAttributes> & { [K in keyof QSection & keyof QSectionAttributes]?: QSection[K] } & { [K in keyof QSection & keyof QSectionAttributes as `attr:${K}`]?: QSectionAttributes[K] } & { [K in keyof QSection & keyof QSectionAttributes as `prop:${K}`]?: QSection[K] };
5911
6177
  "q-sidepanel": Omit<QSidepanel, keyof QSidepanelAttributes> & { [K in keyof QSidepanel & keyof QSidepanelAttributes]?: QSidepanel[K] } & { [K in keyof QSidepanel & keyof QSidepanelAttributes as `attr:${K}`]?: QSidepanelAttributes[K] } & { [K in keyof QSidepanel & keyof QSidepanelAttributes as `prop:${K}`]?: QSidepanel[K] };
6178
+ "q-slider": Omit<QSlider, keyof QSliderAttributes> & { [K in keyof QSlider & keyof QSliderAttributes]?: QSlider[K] } & { [K in keyof QSlider & keyof QSliderAttributes as `attr:${K}`]?: QSliderAttributes[K] } & { [K in keyof QSlider & keyof QSliderAttributes as `prop:${K}`]?: QSlider[K] };
5912
6179
  "q-stack": Omit<QStack, keyof QStackAttributes> & { [K in keyof QStack & keyof QStackAttributes]?: QStack[K] } & { [K in keyof QStack & keyof QStackAttributes as `attr:${K}`]?: QStackAttributes[K] } & { [K in keyof QStack & keyof QStackAttributes as `prop:${K}`]?: QStack[K] };
5913
6180
  "q-step-diagram": Omit<QStepDiagram, keyof QStepDiagramAttributes> & { [K in keyof QStepDiagram & keyof QStepDiagramAttributes]?: QStepDiagram[K] } & { [K in keyof QStepDiagram & keyof QStepDiagramAttributes as `attr:${K}`]?: QStepDiagramAttributes[K] } & { [K in keyof QStepDiagram & keyof QStepDiagramAttributes as `prop:${K}`]?: QStepDiagram[K] };
5914
6181
  "q-step-diagram-item": Omit<QStepDiagramItem, keyof QStepDiagramItemAttributes> & { [K in keyof QStepDiagramItem & keyof QStepDiagramItemAttributes]?: QStepDiagramItem[K] } & { [K in keyof QStepDiagramItem & keyof QStepDiagramItemAttributes as `attr:${K}`]?: QStepDiagramItemAttributes[K] } & { [K in keyof QStepDiagramItem & keyof QStepDiagramItemAttributes as `prop:${K}`]?: QStepDiagramItem[K] };
@@ -5958,6 +6225,10 @@ declare module "@stencil/core" {
5958
6225
  * Compact label, link, filter, or removable token.
5959
6226
  */
5960
6227
  "q-chip": LocalJSX.IntrinsicElements["q-chip"] & JSXBase.HTMLAttributes<HTMLQChipElement>;
6228
+ /**
6229
+ * Visually joined controls with consumer-owned values and interactions.
6230
+ */
6231
+ "q-control-group": LocalJSX.IntrinsicElements["q-control-group"] & JSXBase.HTMLAttributes<HTMLQControlGroupElement>;
5961
6232
  /**
5962
6233
  * Semantic conversation message with optional identity, metadata, and actions.
5963
6234
  */
@@ -6101,6 +6372,10 @@ declare module "@stencil/core" {
6101
6372
  * Drawer, persistent panel, or hierarchical navigation side panel.
6102
6373
  */
6103
6374
  "q-sidepanel": LocalJSX.IntrinsicElements["q-sidepanel"] & JSXBase.HTMLAttributes<HTMLQSidepanelElement>;
6375
+ /**
6376
+ * Single-value range input with a themed track, glowing thumb and optional value badge.
6377
+ */
6378
+ "q-slider": LocalJSX.IntrinsicElements["q-slider"] & JSXBase.HTMLAttributes<HTMLQSliderElement>;
6104
6379
  /**
6105
6380
  * Vertical layout without surface or landmark semantics.
6106
6381
  */
@@ -15,7 +15,7 @@ export type { CollectionIdentity, CollectionIdentityGetter, CollectionIdentityIn
15
15
  export { Q_MAP_DEFAULT_CLUSTER_GROUP, Q_MAP_MARKER_CALLOUT_PLACEMENTS, Q_MAP_MARKER_CALLOUT_STAT_LAYOUTS, Q_MAP_MARKER_CALLOUT_VISIBILITIES, Q_MAP_MARKER_KINDS, Q_MAP_MARKER_RINGS, Q_MAP_MARKER_SIZES, Q_MAP_MARKER_VARIANTS, Q_MAP_RASTER_TILE_LOADING_POLICIES, } from './components/data-display/map/map.types';
16
16
  export { getDataTableCellSlotName, getDataTableCellValue, getDataTableItemKey, getDataTableRowGutterSlotName, } from './components/data-display/data-table/data-table-cell';
17
17
  export type * from './components.d.ts';
18
- export type { QCarouselAutoplayChangeDetail, QCarouselLayout, QCarouselSlideChangeDetail, QCarouselSnapAlignment, QCarouselTransition, } from './components/content/carousel/carousel.types';
18
+ export type { QCarouselAutoplayBehavior, QCarouselSlideTiming, QCarouselPlaybackChangeDetail, QCarouselAutoplayChangeDetail, QCarouselLayout, QCarouselSlideChangeDetail, QCarouselSnapAlignment, QCarouselTransition, } from './components/content/carousel/carousel.types';
19
19
  export type { DataTableCellContext, DataTableCellClassName, DataTableColumnSticky, DataTableItem, DataTableKey, DataTableRowAction, DataTableRowGroup, DataTableRowGrouper, DataTableRowGutter, DataTableSortDirection, DataTableSortMode, QDataTableRowActionDetail, QDataTableRowClickDetail, QDataTableSelectionChangeDetail, QDataTableSortChangeDetail, TableColumn, } from './components/data-display/data-table/data-table.types';
20
20
  export type { QMapBounds, QMapBoundsInput, QMapClusterSelectDetail, QMapClickDetail, QMapErrorCode, QMapErrorDetail, QMapGoogleMapType, QMapFitMarkersOptions, QMapMarker, QMapMarkerBadge, QMapMarkerCallout, QMapMarkerCalloutPlacement, QMapMarkerCalloutStat, QMapMarkerCalloutStatLayout, QMapMarkerCalloutVisibility, QMapMarkerId, QMapMarkerInput, QMapMarkerKind, QMapMarkerRing, QMapMarkerSelectDetail, QMapMarkerSize, QMapMarkerVariant, QMapMarkerVisibilityResult, QMapProvider, QMapRasterTileLoadingPolicy, QMapStatus, QMapStatusChangeDetail, QMapViewportRect, } from './components/data-display/map/map.types';
21
21
  export { configureQIcons, registerQIcons, } from './components/media/icon/internals/registry';
@@ -1,12 +1,12 @@
1
1
  /** Private FACE protocol. No consumer shadow traversal or parallel value store. */
2
2
  export declare const formFieldProtocol: unique symbol;
3
- export type CustomFieldKind = 'text' | 'selection' | 'toggle';
3
+ export type CustomFieldKind = 'text' | 'selection' | 'toggle' | 'multiselect';
4
4
  export interface CustomFormField {
5
5
  kind: CustomFieldKind;
6
6
  owner(): HTMLFormElement | null;
7
7
  active(): boolean;
8
- value(): string | boolean | null;
9
- assign(value: string | boolean): void;
8
+ value(): string | string[] | boolean | null;
9
+ assign(value: string | string[] | boolean): void;
10
10
  reconcile(): void;
11
11
  reset(): void;
12
12
  validate(report: boolean): boolean;
@@ -1 +1 @@
1
- import{r as t,c as e,a as i,h as r}from"./p-DaJmsCb7.js";import{i as o,s as a,a as s}from"./p-DstNl_WY.js";import{r as n}from"./p-CGml_DQ8.js";import{f as l,a as h}from"./p-BuctNczf.js";import{s as d}from"./p-Bj2RJb2E.js";const c=class{constructor(i){t(this,i),this.qChange=e(this,"qChange"),this.qInput=e(this,"qInput"),this.qBlur=e(this,"qBlur"),this.qFocus=e(this,"qFocus"),this.qClick=e(this,"qClick"),i.$hostElement$["s-ei"]?this.internals=i.$hostElement$["s-ei"]:(this.internals=i.$hostElement$.attachInternals(),i.$hostElement$["s-ei"]=this.internals)}get el(){return i(this)}value="";placeholder="";label;ariaLabel=null;description;size="inherit";width;labelHidden=!1;reserveFeedback;rows=3;autoGrow=!0;resizeMode="auto";disabled=!1;required=!1;error;errorMessage;name;internals;qChange;qInput;qBlur;qFocus;qClick;textareaEl;sizeProbeEl;resizeObserver;resizeFrame;lastGeometry="";disabledState=!1;get isDisabled(){return o(this.el,this.disabled)}initialValue="";watchValue(){this.syncValidity(),requestAnimationFrame((()=>this.adjustHeightInternal()))}watchConstraints(){this.syncValidity()}handleResizeModeChange(){requestAnimationFrame((()=>this.adjustHeightInternal()))}componentWillLoad(){this.initialValue=this.value||"",this.internals&&"function"==typeof this.internals.setFormValue&&this.internals.setFormValue(this.value)}formDisabledCallback(){this.syncValidity()}componentDidLoad(){n(this.el,{kind:"text",owner:()=>this.internals?.form??null,active:()=>!0,value:()=>this.value,assign:t=>{this.value=t},reconcile:()=>{this.textareaEl&&this.textareaEl.value!==this.value&&(this.textareaEl.value=this.value),this.internals?.setFormValue?.(this.value),this.syncValidity()},reset:()=>this.formResetCallback(),validate:t=>t?this.internals?.reportValidity?.()??!0:this.internals?.checkValidity?.()??!0}),this.adjustHeightInternal(),this.syncValidity(),this.observeGeometry()}connectedCallback(){this.textareaEl&&this.observeGeometry()}disconnectedCallback(){this.resizeObserver?.disconnect(),this.resizeObserver=void 0,void 0!==this.resizeFrame&&cancelAnimationFrame(this.resizeFrame),this.resizeFrame=void 0,this.lastGeometry=""}observeGeometry(){!this.resizeObserver&&this.textareaEl&&this.sizeProbeEl&&"undefined"!=typeof ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>{void 0===this.resizeFrame&&(this.resizeFrame=requestAnimationFrame((()=>{if(this.resizeFrame=void 0,!this.textareaEl||"auto"!==this.activeResizeMode)return;const t=getComputedStyle(this.textareaEl),e=[t.width,t.font,t.letterSpacing,t.padding,t.borderWidth,this.rows].join("|");e!==this.lastGeometry&&(this.lastGeometry=e,this.adjustHeightInternal())})))})),this.resizeObserver.observe(this.textareaEl),this.resizeObserver.observe(this.sizeProbeEl))}componentDidRender(){this.syncValidity()}formResetCallback(){this.value=this.initialValue,this.syncValidity(),this.adjustHeightInternal()}async focusElement(){this.textareaEl?.focus()}async adjustHeight(){this.adjustHeightInternal()}async checkValidity(){return this.syncValidity(),"function"==typeof this.internals.checkValidity?this.internals.checkValidity():this.textareaEl?.checkValidity?.()??!0}async reportValidity(){return this.syncValidity(),"function"==typeof this.internals.reportValidity?this.internals.reportValidity():this.textareaEl?.reportValidity?.()??!0}handleInput=t=>{this.value=t.target.value,this.qInput.emit(this.value),this.adjustHeightInternal()};handleChange=t=>{this.value=t.target.value,this.qChange.emit(this.value)};handleBlur=t=>{this.qBlur.emit(t)};handleFocus=t=>{this.qFocus.emit(t)};handleClick=t=>{this.isDisabled||this.qClick.emit(t)};syncValidity(){const t=a(this.el,this.disabled,this.name,this.required);this.disabledState!==t&&(this.disabledState=t),this.textareaEl&&this.internals&&(this.textareaEl.disabled=t,this.textareaEl.required=this.required,this.textareaEl.readOnly=this.el.hasAttribute("readonly"),this.textareaEl.name=this.name??"",s(this.textareaEl,"rows",this.rows),this.textareaEl.value!==this.value&&(this.textareaEl.value=this.value),this.internals.setFormValue?.(t?null:this.value),d({internals:this.internals,control:this.textareaEl,disabled:this.isDisabled,customError:this.error||this.errorMessage}))}get activeResizeMode(){return this.autoGrow||"auto"!==this.resizeMode?this.resizeMode:"fixed"}adjustHeightInternal(){if("auto"!==this.activeResizeMode||!this.textareaEl)return;this.textareaEl.style.height="auto";const t=this.textareaEl.scrollHeight;if(t>0){const e=getComputedStyle(this.textareaEl),i=(Number.parseFloat(e.borderTopWidth)||0)+(Number.parseFloat(e.borderBottomWidth)||0);this.textareaEl.style.height=`${t+i}px`}else this.textareaEl.style.height=""}render(){const t=!(!this.error&&!this.errorMessage),e=this.error||this.errorMessage,i=this.ariaLabel?.trim()||(!this.label&&this.placeholder?this.placeholder:void 0);return r("div",{key:"de9538ea2d7219be226da601fd034a87f9c03c6e",style:h(this.reserveFeedback),class:{"textarea-wrapper":!0,"is-disabled":this.isDisabled,"has-error":t,[`size-${this.size}`]:!0}},r("span",{key:"cd983f3817f41b3df19a46b541982e1a2f2f08a4",class:"textarea-size-probe","aria-hidden":"true",ref:t=>this.sizeProbeEl=t},"M"),this.label&&r("label",{key:"a13d6e1c3ea718a8d1d3c6278056fd4429e0abd4",class:{"textarea-label":!0,"q-label-hidden":this.labelHidden},htmlFor:"q-field",part:"label"},this.label),r("textarea",{key:"02deeabf34bc333a559267fe7c04d23584e2ff8a",ref:t=>this.textareaEl=t,id:"q-field",class:{"textarea-box":!0,"resize-manual":"manual"===this.activeResizeMode},part:"textarea",value:this.value,name:this.name,placeholder:this.placeholder,rows:this.rows,disabled:this.isDisabled,required:this.required,onInput:this.handleInput,onChange:this.handleChange,onBlur:this.handleBlur,onFocus:this.handleFocus,onClick:this.handleClick,"aria-invalid":t?"true":"false","aria-describedby":t||this.description?"q-field-error":void 0,"aria-label":i}),l("q-field-error",e,this.description))}static get delegatesFocus(){return!0}static get formAssociated(){return!0}static get watchers(){return{value:[{watchValue:0}],disabled:[{watchConstraints:0}],required:[{watchConstraints:0}],name:[{watchConstraints:0}],error:[{watchConstraints:0}],errorMessage:[{watchConstraints:0}],resizeMode:[{handleResizeModeChange:0}],autoGrow:[{handleResizeModeChange:0}],size:[{handleResizeModeChange:0}],rows:[{handleResizeModeChange:0}]}}};c.style=':host([width="xs"]),:host([width="sm"]),:host([width="md"]),:host([width="lg"]),:host([width="xl"]),:host([width="xxl"]),:host([width="full"]){box-sizing:border-box;min-width:0;max-width:100%}:host([width="xs"]){width:var(--q-input-width-xs, 5rem)}:host([width="sm"]){width:var(--q-input-width-sm, 7.5rem)}:host([width="md"]){width:var(--q-input-width-md, 11.25rem)}:host([width="lg"]){width:var(--q-input-width-lg, 15rem)}:host([width="xl"]){width:var(--q-input-width-xl, 18.125rem)}:host([width="xxl"]){width:var(--q-input-width-xxl, 22.5rem)}:host([width="full"]){width:100%}:host{min-width:0;--_q-control-height:var(--q-context-control-height, calc(var(--_q-context-size-sm, 0) * var(--q-control-height-sm, 1.75rem) + var(--_q-context-size-md, 1) * var(--q-control-height-md, 2.25rem) + var(--_q-context-size-lg, 0) * var(--q-control-height-lg, 2.75rem)));--_q-control-font:var(--q-context-control-font, calc(var(--_q-context-size-sm, 0) * var(--q-control-font-sm, 0.75rem) + var(--_q-context-size-md, 1) * var(--q-control-font-md, 0.875rem) + var(--_q-context-size-lg, 0) * var(--q-control-font-lg, 1rem)));--_q-control-line:var(--q-context-control-line, calc(var(--_q-context-size-sm, 0) * var(--q-control-line-sm, 1rem) + var(--_q-context-size-md, 1) * var(--q-control-line-md, 1.25rem) + var(--_q-context-size-lg, 0) * var(--q-control-line-lg, 1.5rem)));--_q-control-padding:var(--q-context-control-padding, calc(var(--_q-context-size-sm, 0) * var(--q-control-padding-sm, 0.5rem) + var(--_q-context-size-md, 1) * var(--q-control-padding-md, 0.75rem) + var(--_q-context-size-lg, 0) * var(--q-control-padding-lg, 1rem)));--_q-control-icon:var(--q-context-control-icon, calc(var(--_q-context-size-sm, 0) * var(--q-control-icon-sm, 0.875rem) + var(--_q-context-size-md, 1) * var(--q-control-icon-md, 1rem) + var(--_q-context-size-lg, 0) * var(--q-control-icon-lg, 1.25rem)));--_q-control-radius:var(--q-context-control-radius, calc(var(--_q-context-size-sm, 0) * var(--q-control-radius-sm, 0.34375rem) + var(--_q-context-size-md, 1) * var(--q-control-radius-md, 0.4375rem) + var(--_q-context-size-lg, 0) * var(--q-control-radius-lg, 0.53125rem)))}.size-sm{--_q-control-height:var(--q-control-height-sm, 1.75rem);--_q-control-font:var(--q-control-font-sm, 0.75rem);--_q-control-line:var(--q-control-line-sm, 1rem);--_q-control-padding:var(--q-control-padding-sm, 0.5rem);--_q-control-icon:var(--q-control-icon-sm, 0.875rem);--_q-control-radius:var(--q-control-radius-sm, 0.34375rem)}.size-md{--_q-control-height:var(--q-control-height-md, 2.25rem);--_q-control-font:var(--q-control-font-md, 0.875rem);--_q-control-line:var(--q-control-line-md, 1.25rem);--_q-control-padding:var(--q-control-padding-md, 0.75rem);--_q-control-icon:var(--q-control-icon-md, 1rem);--_q-control-radius:var(--q-control-radius-md, 0.4375rem)}.size-lg{--_q-control-height:var(--q-control-height-lg, 2.75rem);--_q-control-font:var(--q-control-font-lg, 1rem);--_q-control-line:var(--q-control-line-lg, 1.5rem);--_q-control-padding:var(--q-control-padding-lg, 1rem);--_q-control-icon:var(--q-control-icon-lg, 1.25rem);--_q-control-radius:var(--q-control-radius-lg, 0.53125rem)}:host{display:block;width:100%;box-sizing:border-box}.textarea-wrapper{position:relative;display:flex;flex-direction:column;width:100%;box-sizing:border-box}.textarea-size-probe{position:absolute;visibility:hidden;pointer-events:none;width:max-content;font-family:var(--q-font-family, inherit);font-size:var(--_q-control-font);line-height:var(--_q-control-line)}.textarea-label{font-family:var(--q-font-family, inherit);font-size:var(--q-font-size-sm, 0.7rem);font-weight:var(--q-font-weight-bold, 600);color:var(--q-fg-muted, #9ca3af);margin-bottom:6px;transition:color var(--q-transition-fast, 150ms ease)}.textarea-box{width:100%;box-sizing:border-box;background:var(--q-input-bg, var(--q-bg-surface-2, #374151));border:var(--q-input-border, var(--q-border, 1px solid var(--q-border-color, #4b5563)));border-radius:var(--q-input-radius, var(--q-field-radius, var(--_q-control-radius)));padding:var(--q-input-padding, 10px 14px);font-family:var(--q-font-family, inherit);font-size:var(--q-font-size-base, 0.9rem);font-weight:var(--q-font-weight-normal, 400);line-height:1.5;color:var(--q-fg-base, #f9fafb);resize:none;outline:none;transition:border-color var(--q-transition-fast, 150ms ease), box-shadow var(--q-transition-fast, 150ms ease)}.textarea-box.resize-manual{resize:vertical}.textarea-box:focus{border-color:var(--q-color-primary, #60a5fa);box-shadow:0 0 0 1px var(--q-color-primary, #60a5fa)}.textarea-wrapper:focus-within .textarea-label{color:var(--q-color-primary, #60a5fa)}.has-error .textarea-box{border-color:var(--q-color-danger, #ef4444) !important;box-shadow:none}.has-error.textarea-wrapper:focus-within .textarea-label,.has-error .textarea-label{color:var(--q-color-danger, #ef4444) !important}.error-msg{font-family:var(--q-font-family, inherit);font-size:var(--q-font-size-sm, 0.7rem);font-weight:var(--q-font-weight-normal, 400);color:var(--q-color-danger, #ef4444);margin-top:6px}.is-disabled{opacity:0.6}.is-disabled .textarea-box{cursor:not-allowed;pointer-events:none}.textarea-wrapper .textarea-box{min-height:var(--_q-control-height);padding:var(--q-input-padding, var(--q-field-padding, var(--q-space-sm, .5rem) var(--_q-control-padding)));font-size:var(--_q-control-font);line-height:var(--_q-control-line);background:var(--q-input-bg, var(--q-field-bg, var(--q-bg-field, var(--q-bg-surface-3, #22304d))))}:host{min-width:0}.q-label-hidden{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip-path:inset(50%);white-space:nowrap;border:0 !important}.q-field-feedback{display:block;min-block-size:var(--_q-feedback-min, var(--q-context-feedback-min, 0px));font-family:var(--q-font-family, inherit);font-size:var(--q-field-feedback-font, var(--q-field-text-size, .75rem));font-weight:400;line-height:var(--q-field-text-line, 1rem);color:var(--q-fg-muted, #9ca3af);overflow-wrap:anywhere;margin:min(var(--q-space-xs, .25rem), var(--_q-feedback-min, var(--q-context-feedback-min, 0px))) 0 0}.q-field-feedback:not(:empty){margin-top:var(--q-space-xs, .25rem)}.q-field-feedback.error-msg{color:var(--_q-field-error-color, var(--q-color-danger, #f87171))}[part=\'label\']:not(.q-label-hidden){font-family:var(--q-font-family, inherit);font-size:var(--q-field-label-font, var(--q-field-text-size, .75rem));font-weight:600;line-height:var(--q-field-text-line, 1rem);margin-bottom:var(--q-space-xs, .25rem);overflow-wrap:anywhere}';export{c as q_textarea}
1
+ import{r as t,c as e,a as i,h as r}from"./p-DoGM9gsC.js";import{i as o,s as a,a as s}from"./p-DstNl_WY.js";import{r as n}from"./p-CGml_DQ8.js";import{f as l,a as h}from"./p-DDUED8LT.js";import{s as d}from"./p-Bj2RJb2E.js";const c=class{constructor(i){t(this,i),this.qChange=e(this,"qChange"),this.qInput=e(this,"qInput"),this.qBlur=e(this,"qBlur"),this.qFocus=e(this,"qFocus"),this.qClick=e(this,"qClick"),i.$hostElement$["s-ei"]?this.internals=i.$hostElement$["s-ei"]:(this.internals=i.$hostElement$.attachInternals(),i.$hostElement$["s-ei"]=this.internals)}get el(){return i(this)}value="";placeholder="";label;ariaLabel=null;description;size="inherit";width;labelHidden=!1;reserveFeedback;rows=3;autoGrow=!0;resizeMode="auto";disabled=!1;required=!1;error;errorMessage;name;internals;qChange;qInput;qBlur;qFocus;qClick;textareaEl;sizeProbeEl;resizeObserver;resizeFrame;lastGeometry="";disabledState=!1;get isDisabled(){return o(this.el,this.disabled)}initialValue="";watchValue(){this.syncValidity(),requestAnimationFrame((()=>this.adjustHeightInternal()))}watchConstraints(){this.syncValidity()}handleResizeModeChange(){requestAnimationFrame((()=>this.adjustHeightInternal()))}componentWillLoad(){this.initialValue=this.value||"",this.internals&&"function"==typeof this.internals.setFormValue&&this.internals.setFormValue(this.value)}formDisabledCallback(){this.syncValidity()}componentDidLoad(){n(this.el,{kind:"text",owner:()=>this.internals?.form??null,active:()=>!0,value:()=>this.value,assign:t=>{this.value=t},reconcile:()=>{this.textareaEl&&this.textareaEl.value!==this.value&&(this.textareaEl.value=this.value),this.internals?.setFormValue?.(this.value),this.syncValidity()},reset:()=>this.formResetCallback(),validate:t=>t?this.internals?.reportValidity?.()??!0:this.internals?.checkValidity?.()??!0}),this.adjustHeightInternal(),this.syncValidity(),this.observeGeometry()}connectedCallback(){this.textareaEl&&this.observeGeometry()}disconnectedCallback(){this.resizeObserver?.disconnect(),this.resizeObserver=void 0,void 0!==this.resizeFrame&&cancelAnimationFrame(this.resizeFrame),this.resizeFrame=void 0,this.lastGeometry=""}observeGeometry(){!this.resizeObserver&&this.textareaEl&&this.sizeProbeEl&&"undefined"!=typeof ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>{void 0===this.resizeFrame&&(this.resizeFrame=requestAnimationFrame((()=>{if(this.resizeFrame=void 0,!this.textareaEl||"auto"!==this.activeResizeMode)return;const t=getComputedStyle(this.textareaEl),e=[t.width,t.font,t.letterSpacing,t.padding,t.borderWidth,this.rows].join("|");e!==this.lastGeometry&&(this.lastGeometry=e,this.adjustHeightInternal())})))})),this.resizeObserver.observe(this.textareaEl),this.resizeObserver.observe(this.sizeProbeEl))}componentDidRender(){this.syncValidity()}formResetCallback(){this.value=this.initialValue,this.syncValidity(),this.adjustHeightInternal()}async focusElement(){this.textareaEl?.focus()}async adjustHeight(){this.adjustHeightInternal()}async checkValidity(){return this.syncValidity(),"function"==typeof this.internals.checkValidity?this.internals.checkValidity():this.textareaEl?.checkValidity?.()??!0}async reportValidity(){return this.syncValidity(),"function"==typeof this.internals.reportValidity?this.internals.reportValidity():this.textareaEl?.reportValidity?.()??!0}handleInput=t=>{this.value=t.target.value,this.qInput.emit(this.value),this.adjustHeightInternal()};handleChange=t=>{this.value=t.target.value,this.qChange.emit(this.value)};handleBlur=t=>{this.qBlur.emit(t)};handleFocus=t=>{this.qFocus.emit(t)};handleClick=t=>{this.isDisabled||this.qClick.emit(t)};syncValidity(){const t=a(this.el,this.disabled,this.name,this.required);this.disabledState!==t&&(this.disabledState=t),this.textareaEl&&this.internals&&(this.textareaEl.disabled=t,this.textareaEl.required=this.required,this.textareaEl.readOnly=this.el.hasAttribute("readonly"),this.textareaEl.name=this.name??"",s(this.textareaEl,"rows",this.rows),this.textareaEl.value!==this.value&&(this.textareaEl.value=this.value),this.internals.setFormValue?.(t?null:this.value),d({internals:this.internals,control:this.textareaEl,disabled:this.isDisabled,customError:this.error||this.errorMessage}))}get activeResizeMode(){return this.autoGrow||"auto"!==this.resizeMode?this.resizeMode:"fixed"}adjustHeightInternal(){if("auto"!==this.activeResizeMode||!this.textareaEl)return;this.textareaEl.style.height="auto";const t=this.textareaEl.scrollHeight;if(t>0){const e=getComputedStyle(this.textareaEl),i=(Number.parseFloat(e.borderTopWidth)||0)+(Number.parseFloat(e.borderBottomWidth)||0);this.textareaEl.style.height=`${t+i}px`}else this.textareaEl.style.height=""}render(){const t=!(!this.error&&!this.errorMessage),e=this.error||this.errorMessage,i=this.ariaLabel?.trim()||(!this.label&&this.placeholder?this.placeholder:void 0);return r("div",{key:"b1dd4435db3190f58fd4bff45cb6b5bcc7eec0cf",style:h(this.reserveFeedback),class:{"textarea-wrapper":!0,"is-disabled":this.isDisabled,"has-error":t,[`size-${this.size}`]:!0}},r("span",{key:"6633f6aea71a4eada7ae9c8d0c785bc165b5a186",class:"textarea-size-probe","aria-hidden":"true",ref:t=>this.sizeProbeEl=t},"M"),this.label&&r("label",{key:"19985e8ee5ab662ab1f5edc30d605d1fecf51dac",class:{"textarea-label":!0,"q-label-hidden":this.labelHidden},htmlFor:"q-field",part:"label"},this.label),r("textarea",{key:"2e3f0c3830078b5405d82b178293ca9036664458",ref:t=>this.textareaEl=t,id:"q-field",class:{"textarea-box":!0,"resize-manual":"manual"===this.activeResizeMode},part:"textarea",value:this.value,name:this.name,placeholder:this.placeholder,rows:this.rows,disabled:this.isDisabled,required:this.required,onInput:this.handleInput,onChange:this.handleChange,onBlur:this.handleBlur,onFocus:this.handleFocus,onClick:this.handleClick,"aria-invalid":t?"true":"false","aria-describedby":t||this.description?"q-field-error":void 0,"aria-label":i}),l("q-field-error",e,this.description))}static get delegatesFocus(){return!0}static get formAssociated(){return!0}static get watchers(){return{value:[{watchValue:0}],disabled:[{watchConstraints:0}],required:[{watchConstraints:0}],name:[{watchConstraints:0}],error:[{watchConstraints:0}],errorMessage:[{watchConstraints:0}],resizeMode:[{handleResizeModeChange:0}],autoGrow:[{handleResizeModeChange:0}],size:[{handleResizeModeChange:0}],rows:[{handleResizeModeChange:0}]}}};c.style=':host([width="xs"]),:host([width="sm"]),:host([width="md"]),:host([width="lg"]),:host([width="xl"]),:host([width="xxl"]),:host([width="full"]){box-sizing:border-box;min-width:0;max-width:100%}:host([width="xs"]){width:var(--q-input-width-xs, 5rem)}:host([width="sm"]){width:var(--q-input-width-sm, 7.5rem)}:host([width="md"]){width:var(--q-input-width-md, 11.25rem)}:host([width="lg"]){width:var(--q-input-width-lg, 15rem)}:host([width="xl"]){width:var(--q-input-width-xl, 18.125rem)}:host([width="xxl"]){width:var(--q-input-width-xxl, 22.5rem)}:host([width="full"]){width:100%}:host{min-width:0;--_q-control-height:var(--q-context-control-height, calc(var(--_q-context-size-sm, 0) * var(--q-control-height-sm, 1.75rem) + var(--_q-context-size-md, 1) * var(--q-control-height-md, 2.25rem) + var(--_q-context-size-lg, 0) * var(--q-control-height-lg, 2.75rem)));--_q-control-font:var(--q-context-control-font, calc(var(--_q-context-size-sm, 0) * var(--q-control-font-sm, 0.75rem) + var(--_q-context-size-md, 1) * var(--q-control-font-md, 0.875rem) + var(--_q-context-size-lg, 0) * var(--q-control-font-lg, 1rem)));--_q-control-line:var(--q-context-control-line, calc(var(--_q-context-size-sm, 0) * var(--q-control-line-sm, 1rem) + var(--_q-context-size-md, 1) * var(--q-control-line-md, 1.25rem) + var(--_q-context-size-lg, 0) * var(--q-control-line-lg, 1.5rem)));--_q-control-padding:var(--q-context-control-padding, calc(var(--_q-context-size-sm, 0) * var(--q-control-padding-sm, 0.5rem) + var(--_q-context-size-md, 1) * var(--q-control-padding-md, 0.75rem) + var(--_q-context-size-lg, 0) * var(--q-control-padding-lg, 1rem)));--_q-control-icon:var(--q-context-control-icon, calc(var(--_q-context-size-sm, 0) * var(--q-control-icon-sm, 0.875rem) + var(--_q-context-size-md, 1) * var(--q-control-icon-md, 1rem) + var(--_q-context-size-lg, 0) * var(--q-control-icon-lg, 1.25rem)));--_q-control-radius:var(--q-context-control-radius, calc(var(--_q-context-size-sm, 0) * var(--q-control-radius-sm, 0.34375rem) + var(--_q-context-size-md, 1) * var(--q-control-radius-md, 0.4375rem) + var(--_q-context-size-lg, 0) * var(--q-control-radius-lg, 0.53125rem)))}.size-sm{--_q-control-height:var(--q-control-height-sm, 1.75rem);--_q-control-font:var(--q-control-font-sm, 0.75rem);--_q-control-line:var(--q-control-line-sm, 1rem);--_q-control-padding:var(--q-control-padding-sm, 0.5rem);--_q-control-icon:var(--q-control-icon-sm, 0.875rem);--_q-control-radius:var(--q-control-radius-sm, 0.34375rem)}.size-md{--_q-control-height:var(--q-control-height-md, 2.25rem);--_q-control-font:var(--q-control-font-md, 0.875rem);--_q-control-line:var(--q-control-line-md, 1.25rem);--_q-control-padding:var(--q-control-padding-md, 0.75rem);--_q-control-icon:var(--q-control-icon-md, 1rem);--_q-control-radius:var(--q-control-radius-md, 0.4375rem)}.size-lg{--_q-control-height:var(--q-control-height-lg, 2.75rem);--_q-control-font:var(--q-control-font-lg, 1rem);--_q-control-line:var(--q-control-line-lg, 1.5rem);--_q-control-padding:var(--q-control-padding-lg, 1rem);--_q-control-icon:var(--q-control-icon-lg, 1.25rem);--_q-control-radius:var(--q-control-radius-lg, 0.53125rem)}:host{display:block;width:100%;box-sizing:border-box}.textarea-wrapper{position:relative;display:flex;flex-direction:column;width:100%;box-sizing:border-box}.textarea-size-probe{position:absolute;visibility:hidden;pointer-events:none;width:max-content;font-family:var(--q-font-family, inherit);font-size:var(--_q-control-font);line-height:var(--_q-control-line)}.textarea-label{font-family:var(--q-font-family, inherit);font-size:var(--q-font-size-sm, 0.7rem);font-weight:var(--q-font-weight-bold, 600);color:var(--q-fg-muted, #9ca3af);margin-bottom:6px;transition:color var(--q-transition-fast, 150ms ease)}.textarea-box{width:100%;box-sizing:border-box;background:var(--q-input-bg, var(--q-bg-surface-2, #374151));border:var(--q-input-border, var(--q-border, 1px solid var(--q-border-color, #4b5563)));border-radius:var(--q-input-radius, var(--q-field-radius, var(--_q-control-radius)));padding:var(--q-input-padding, 10px 14px);font-family:var(--q-font-family, inherit);font-size:var(--q-font-size-base, 0.9rem);font-weight:var(--q-font-weight-normal, 400);line-height:1.5;color:var(--q-fg-base, #f9fafb);resize:none;outline:none;transition:border-color var(--q-transition-fast, 150ms ease), box-shadow var(--q-transition-fast, 150ms ease)}.textarea-box.resize-manual{resize:vertical}.textarea-box:focus{border-color:var(--q-color-primary, #60a5fa);box-shadow:0 0 0 1px var(--q-color-primary, #60a5fa)}.textarea-wrapper:focus-within .textarea-label{color:var(--q-color-primary, #60a5fa)}.has-error .textarea-box{border-color:var(--q-color-danger, #ef4444) !important;box-shadow:none}.has-error.textarea-wrapper:focus-within .textarea-label,.has-error .textarea-label{color:var(--q-color-danger, #ef4444) !important}.error-msg{font-family:var(--q-font-family, inherit);font-size:var(--q-font-size-sm, 0.7rem);font-weight:var(--q-font-weight-normal, 400);color:var(--q-color-danger, #ef4444);margin-top:6px}.is-disabled{opacity:0.6}.is-disabled .textarea-box{cursor:not-allowed;pointer-events:none}.textarea-wrapper .textarea-box{min-height:var(--_q-control-height);padding:var(--q-input-padding, var(--q-field-padding, var(--q-space-sm, .5rem) var(--_q-control-padding)));font-size:var(--_q-control-font);line-height:var(--_q-control-line);background:var(--q-input-bg, var(--q-field-bg, var(--q-bg-field, var(--q-bg-surface-3, #22304d))))}:host{min-width:0}.q-label-hidden{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip-path:inset(50%);white-space:nowrap;border:0 !important}.q-field-feedback{display:block;min-block-size:var(--_q-feedback-min, var(--q-context-feedback-min, 0px));font-family:var(--q-font-family, inherit);font-size:var(--q-field-feedback-font, var(--q-field-text-size, .75rem));font-weight:400;line-height:var(--q-field-text-line, 1rem);color:var(--q-fg-muted, #9ca3af);overflow-wrap:anywhere;margin:min(var(--q-space-xs, .25rem), var(--_q-feedback-min, var(--q-context-feedback-min, 0px))) 0 0}.q-field-feedback:not(:empty){margin-top:var(--q-space-xs, .25rem)}.q-field-feedback.error-msg{color:var(--_q-field-error-color, var(--q-color-danger, #f87171))}[part=\'label\']:not(.q-label-hidden){font-family:var(--q-font-family, inherit);font-size:var(--q-field-label-font, var(--q-field-text-size, .75rem));font-weight:600;line-height:var(--q-field-text-line, 1rem);margin-bottom:var(--q-space-xs, .25rem);overflow-wrap:anywhere}';export{c as q_textarea}