@webquark/core 1.1.0-dev.5 → 1.1.0-dev.7

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 (315) hide show
  1. package/README.md +22 -3
  2. package/dist/cjs/{action.props-CtwTiyf6.js → action.props-B87W5tRu.js} +1 -1
  3. package/dist/cjs/{field-CiEtk37y.js → field-CbUc_AWx.js} +2 -2
  4. package/dist/cjs/{index-BLlc_shC.js → index-D_tObBJa.js} +1 -1
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/q-accordion.cjs.entry.js +1 -1
  7. package/dist/cjs/q-alert.cjs.entry.js +1 -1
  8. package/dist/cjs/q-avatar.cjs.entry.js +1 -1
  9. package/dist/cjs/q-banner.cjs.entry.js +1 -1
  10. package/dist/cjs/q-button_2.cjs.entry.js +4 -4
  11. package/dist/cjs/q-card.cjs.entry.js +3 -3
  12. package/dist/cjs/q-carousel.cjs.entry.js +1 -1
  13. package/dist/cjs/q-chip.cjs.entry.js +2 -2
  14. package/dist/cjs/q-conversation-bubble.cjs.entry.js +1 -1
  15. package/dist/cjs/q-data-table.cjs.entry.js +1 -1
  16. package/dist/cjs/q-dialog.cjs.entry.js +2 -2
  17. package/dist/cjs/q-dropdown.cjs.entry.js +3 -3
  18. package/dist/cjs/q-form.cjs.entry.js +4 -4
  19. package/dist/cjs/q-grid.cjs.entry.js +2 -2
  20. package/dist/cjs/q-icon.cjs.entry.js +1 -1
  21. package/dist/cjs/q-inline.cjs.entry.js +2 -2
  22. package/dist/cjs/q-input_2.cjs.entry.js +3 -3
  23. package/dist/cjs/q-link.cjs.entry.js +2 -2
  24. package/dist/cjs/q-map.cjs.entry.js +23 -1
  25. package/dist/cjs/q-media.cjs.entry.js +1 -1
  26. package/dist/cjs/q-navbar.cjs.entry.js +223 -5
  27. package/dist/cjs/q-pagination.cjs.entry.js +1 -1
  28. package/dist/cjs/q-panel.cjs.entry.js +2 -2
  29. package/dist/cjs/q-quantity-selector.cjs.entry.js +2 -2
  30. package/dist/cjs/q-radio-group.cjs.entry.js +3 -3
  31. package/dist/cjs/q-reel.cjs.entry.js +1 -1
  32. package/dist/cjs/q-scrollable.cjs.entry.js +1 -1
  33. package/dist/cjs/q-section.cjs.entry.js +1 -1
  34. package/dist/cjs/q-sidepanel.cjs.entry.js +2 -2
  35. package/dist/cjs/q-stack.cjs.entry.js +2 -2
  36. package/dist/cjs/q-step-diagram-item.cjs.entry.js +1 -1
  37. package/dist/cjs/q-step-diagram.cjs.entry.js +1 -1
  38. package/dist/cjs/q-syntax-box.cjs.entry.js +2 -2
  39. package/dist/cjs/q-tabs.cjs.entry.js +2 -2
  40. package/dist/cjs/q-textarea.cjs.entry.js +3 -3
  41. package/dist/cjs/q-thumbnail.cjs.entry.js +1 -1
  42. package/dist/cjs/q-toast.cjs.entry.js +1 -1
  43. package/dist/cjs/q-toggle.cjs.entry.js +3 -3
  44. package/dist/cjs/q-toolbar.cjs.entry.js +3 -3
  45. package/dist/cjs/tokens-DDfS79n9.js +948 -0
  46. package/dist/cjs/webquark.cjs.js +2 -2
  47. package/dist/collection/components/actions/button/button.css +6 -6
  48. package/dist/collection/components/content/card/card.css +1 -1
  49. package/dist/collection/components/data-display/map/internals/marker-controller.js +22 -0
  50. package/dist/collection/components/data-display/map/test/map.cmp.test.js +26 -0
  51. package/dist/collection/components/data-display/syntax-box/syntax-box.css +5 -5
  52. package/dist/collection/components/inputs/dropdown/dropdown.css +11 -11
  53. package/dist/collection/components/inputs/form/form.css +5 -5
  54. package/dist/collection/components/inputs/form/form.js +1 -1
  55. package/dist/collection/components/inputs/input/input.css +10 -10
  56. package/dist/collection/components/inputs/quantity-selector/quantity-selector.css +6 -6
  57. package/dist/collection/components/inputs/radio-group/radio-group.css +10 -10
  58. package/dist/collection/components/inputs/textarea/textarea.css +10 -10
  59. package/dist/collection/components/inputs/toggle/toggle.css +10 -10
  60. package/dist/collection/components/layout/navbar/navbar.css +129 -10
  61. package/dist/collection/components/layout/navbar/navbar.js +280 -4
  62. package/dist/collection/components/layout/navbar/test/navbar.cmp.test.js +317 -1
  63. package/dist/collection/components/layout/sidepanel/sidepanel.css +3 -3
  64. package/dist/collection/components/layout/tabs/tabs.css +9 -9
  65. package/dist/collection/components/layout/toolbar/toolbar.css +6 -6
  66. package/dist/collection/components/overlays/dialog/dialog.css +1 -1
  67. package/dist/collection/components/overlays/tooltip/tooltip.css +1 -1
  68. package/dist/collection/components/shared/field.js +1 -1
  69. package/dist/collection/native-content.css +24 -0
  70. package/dist/collection/playground/components/playground-header/playground-header.js +1 -1
  71. package/dist/collection/playground/playground.bundled.js +152 -1
  72. package/dist/collection/theme/test/presets.cmp.test.js +129 -0
  73. package/dist/collection/theme/tokens.js +127 -4
  74. package/dist/components/index.js +1 -1
  75. package/dist/components/{p-Cx1vCuMp.js → p-2_cpBb8_.js} +1 -1
  76. package/dist/components/{p-BxFGkrUe.js → p-BeFSyZjp.js} +1 -1
  77. package/dist/components/p-BfZVatS6.js +1 -0
  78. package/dist/components/p-COMoSatC.js +1 -0
  79. package/dist/components/p-Cn_ChUpc.js +1 -0
  80. package/dist/components/{p-NEolaUak.js → p-CtUn83Rs.js} +1 -1
  81. package/dist/components/{p-CK7avZdv.js → p-CuJIyOwp.js} +1 -1
  82. package/dist/components/p-CyPFM3XV.js +1 -0
  83. package/dist/components/p-DwnH6_NQ.js +1 -0
  84. package/dist/components/{p-D0Q2vrt5.js → p-_X1v1o3K.js} +1 -1
  85. package/dist/components/q-accordion.js +1 -1
  86. package/dist/components/q-alert.js +1 -1
  87. package/dist/components/q-avatar.js +1 -1
  88. package/dist/components/q-banner.js +1 -1
  89. package/dist/components/q-button.js +1 -1
  90. package/dist/components/q-card.js +1 -1
  91. package/dist/components/q-carousel.js +1 -1
  92. package/dist/components/q-chip.js +1 -1
  93. package/dist/components/q-conversation-bubble.js +1 -1
  94. package/dist/components/q-data-table.js +1 -1
  95. package/dist/components/q-dialog.js +1 -1
  96. package/dist/components/q-dropdown.js +1 -1
  97. package/dist/components/q-form.js +1 -1
  98. package/dist/components/q-grid.js +1 -1
  99. package/dist/components/q-icon.js +1 -1
  100. package/dist/components/q-inline.js +1 -1
  101. package/dist/components/q-input.js +1 -1
  102. package/dist/components/q-link.js +1 -1
  103. package/dist/components/q-map.js +1 -1
  104. package/dist/components/q-media.js +1 -1
  105. package/dist/components/q-navbar.js +1 -1
  106. package/dist/components/q-pagination.js +1 -1
  107. package/dist/components/q-panel.js +1 -1
  108. package/dist/components/q-progress.js +1 -1
  109. package/dist/components/q-quantity-selector.js +1 -1
  110. package/dist/components/q-radio-group.js +1 -1
  111. package/dist/components/q-reel.js +1 -1
  112. package/dist/components/q-scrollable.js +1 -1
  113. package/dist/components/q-section.js +1 -1
  114. package/dist/components/q-sidepanel.js +2 -2
  115. package/dist/components/q-stack.js +1 -1
  116. package/dist/components/q-step-diagram-item.js +1 -1
  117. package/dist/components/q-step-diagram.js +1 -1
  118. package/dist/components/q-syntax-box.js +2 -2
  119. package/dist/components/q-tabs.js +1 -1
  120. package/dist/components/q-textarea.js +1 -1
  121. package/dist/components/q-thumbnail.js +1 -1
  122. package/dist/components/q-toast.js +1 -1
  123. package/dist/components/q-toggle.js +1 -1
  124. package/dist/components/q-toolbar.js +1 -1
  125. package/dist/components/q-tooltip.js +1 -1
  126. package/dist/esm/{action.props-GP1ameE3.js → action.props-BypnAgOy.js} +1 -1
  127. package/dist/esm/{field-DkpyvZiX.js → field-dFy4PXKT.js} +2 -2
  128. package/dist/esm/{index-DbGG9Q40.js → index-tSny_c7b.js} +1 -1
  129. package/dist/esm/loader.js +3 -3
  130. package/dist/esm/q-accordion.entry.js +1 -1
  131. package/dist/esm/q-alert.entry.js +1 -1
  132. package/dist/esm/q-avatar.entry.js +1 -1
  133. package/dist/esm/q-banner.entry.js +1 -1
  134. package/dist/esm/q-button_2.entry.js +4 -4
  135. package/dist/esm/q-card.entry.js +3 -3
  136. package/dist/esm/q-carousel.entry.js +1 -1
  137. package/dist/esm/q-chip.entry.js +2 -2
  138. package/dist/esm/q-conversation-bubble.entry.js +1 -1
  139. package/dist/esm/q-data-table.entry.js +1 -1
  140. package/dist/esm/q-dialog.entry.js +2 -2
  141. package/dist/esm/q-dropdown.entry.js +3 -3
  142. package/dist/esm/q-form.entry.js +4 -4
  143. package/dist/esm/q-grid.entry.js +2 -2
  144. package/dist/esm/q-icon.entry.js +1 -1
  145. package/dist/esm/q-inline.entry.js +2 -2
  146. package/dist/esm/q-input_2.entry.js +3 -3
  147. package/dist/esm/q-link.entry.js +2 -2
  148. package/dist/esm/q-map.entry.js +23 -1
  149. package/dist/esm/q-media.entry.js +1 -1
  150. package/dist/esm/q-navbar.entry.js +223 -5
  151. package/dist/esm/q-pagination.entry.js +1 -1
  152. package/dist/esm/q-panel.entry.js +2 -2
  153. package/dist/esm/q-quantity-selector.entry.js +2 -2
  154. package/dist/esm/q-radio-group.entry.js +3 -3
  155. package/dist/esm/q-reel.entry.js +1 -1
  156. package/dist/esm/q-scrollable.entry.js +1 -1
  157. package/dist/esm/q-section.entry.js +1 -1
  158. package/dist/esm/q-sidepanel.entry.js +2 -2
  159. package/dist/esm/q-stack.entry.js +2 -2
  160. package/dist/esm/q-step-diagram-item.entry.js +1 -1
  161. package/dist/esm/q-step-diagram.entry.js +1 -1
  162. package/dist/esm/q-syntax-box.entry.js +2 -2
  163. package/dist/esm/q-tabs.entry.js +2 -2
  164. package/dist/esm/q-textarea.entry.js +3 -3
  165. package/dist/esm/q-thumbnail.entry.js +1 -1
  166. package/dist/esm/q-toast.entry.js +1 -1
  167. package/dist/esm/q-toggle.entry.js +3 -3
  168. package/dist/esm/q-toolbar.entry.js +3 -3
  169. package/dist/esm/tokens-CyPFM3XV.js +944 -0
  170. package/dist/esm/webquark.js +3 -3
  171. package/dist/{webquark/p-eb71e335.entry.js → playground/build/p-04799ed0.entry.js} +1 -1
  172. package/dist/playground/build/p-0610d5b2.entry.js +1 -0
  173. package/dist/playground/build/p-151a555e.entry.js +1 -0
  174. package/dist/playground/build/{p-9418caa0.entry.js → p-160cb4e4.entry.js} +1 -1
  175. package/dist/playground/build/p-17011e71.entry.js +1 -0
  176. package/dist/playground/build/{p-ed327679.entry.js → p-1cf51c80.entry.js} +1 -1
  177. package/dist/playground/build/{p-8bdababd.entry.js → p-25c3b776.entry.js} +1 -1
  178. package/dist/playground/build/{p-f911c90f.entry.js → p-362c5608.entry.js} +1 -1
  179. package/dist/playground/build/p-3d674223.entry.js +1 -0
  180. package/dist/playground/build/{p-8115ec23.entry.js → p-4fff116c.entry.js} +1 -1
  181. package/dist/playground/build/p-5453eac7.entry.js +1 -0
  182. package/dist/playground/build/{p-c4fd89b8.entry.js → p-5eeb922e.entry.js} +1 -1
  183. package/dist/{webquark/p-5f6860f2.entry.js → playground/build/p-675d0d03.entry.js} +2 -2
  184. package/dist/playground/build/{p-c1f3dca6.entry.js → p-70c4f92f.entry.js} +1 -1
  185. package/dist/playground/build/p-72dc1231.entry.js +1 -0
  186. package/dist/playground/build/{p-408bf48a.entry.js → p-736b1c8c.entry.js} +1 -1
  187. package/dist/playground/build/{p-737ca99e.entry.js → p-781d3459.entry.js} +1 -1
  188. package/dist/playground/build/p-81f64d6f.entry.js +1 -0
  189. package/dist/playground/build/{p-742e39f1.entry.js → p-82810ead.entry.js} +1 -1
  190. package/dist/playground/build/{p-b465aebd.entry.js → p-9227780b.entry.js} +1 -1
  191. package/dist/playground/build/{p-ecbc0fee.entry.js → p-964d27e0.entry.js} +1 -1
  192. package/dist/playground/build/p-96922229.entry.js +1 -0
  193. package/dist/playground/build/{p-0d98e500.entry.js → p-9b4271ea.entry.js} +1 -1
  194. package/dist/playground/build/p-BLvl8YLq.js +1 -0
  195. package/dist/playground/build/p-CGcC-mvi.js +1 -0
  196. package/dist/playground/build/p-CyPFM3XV.js +1 -0
  197. package/dist/playground/build/{p-de8813be.entry.js → p-ae4e5ec4.entry.js} +1 -1
  198. package/dist/{webquark/p-d4a915e5.entry.js → playground/build/p-b08d0ed8.entry.js} +1 -1
  199. package/dist/{webquark/p-abf54361.entry.js → playground/build/p-b4dfadea.entry.js} +1 -1
  200. package/dist/playground/build/p-b7ac65c6.entry.js +1 -0
  201. package/dist/playground/build/{p-6b63922b.entry.js → p-b9e83fa3.entry.js} +1 -1
  202. package/dist/playground/build/p-bba3c7b4.entry.js +1 -0
  203. package/dist/{webquark/p-d7d436c5.entry.js → playground/build/p-bf47c46a.entry.js} +2 -2
  204. package/dist/playground/build/{p-0aea8464.entry.js → p-c448b4ce.entry.js} +1 -1
  205. package/dist/{webquark/p-989bdc1a.entry.js → playground/build/p-ca240b8b.entry.js} +1 -1
  206. package/dist/playground/build/p-cb5ebd01.entry.js +1 -0
  207. package/dist/playground/build/{p-97dae970.entry.js → p-d0c55860.entry.js} +1 -1
  208. package/dist/playground/build/{p-96ef2b54.entry.js → p-e1c8a9aa.entry.js} +1 -1
  209. package/dist/playground/build/{p-15502232.entry.js → p-e6603d17.entry.js} +1 -1
  210. package/dist/playground/build/p-e762a4b7.entry.js +1 -0
  211. package/dist/playground/build/{p-6b619655.entry.js → p-fb76473e.entry.js} +1 -1
  212. package/dist/{webquark/p-ff1e2363.entry.js → playground/build/p-fed7219c.entry.js} +1 -1
  213. package/dist/playground/build/p-tSny_c7b.js +3 -0
  214. package/dist/playground/build/webquark.css +1 -1
  215. package/dist/playground/build/webquark.esm.js +1 -1
  216. package/dist/playground/native-content.css +24 -0
  217. package/dist/playground/playground/specs/q-navbar.sandbox.json +8 -0
  218. package/dist/playground/playground.js +152 -1
  219. package/dist/playground/presets.html +47 -0
  220. package/dist/types/components/data-display/map/internals/marker-controller.d.ts +2 -0
  221. package/dist/types/components/layout/navbar/navbar.d.ts +27 -1
  222. package/dist/types/components/layout/navbar/navbar.types.d.ts +2 -0
  223. package/dist/types/components.d.ts +24 -2
  224. package/dist/types/index.d.ts +2 -2
  225. package/dist/types/theme/test/presets.cmp.test.d.ts +7 -0
  226. package/dist/types/theme/tokens.d.ts +78 -0
  227. package/dist/webquark/native-content.css +24 -0
  228. package/dist/{playground/build/p-eb71e335.entry.js → webquark/p-04799ed0.entry.js} +1 -1
  229. package/dist/webquark/p-0610d5b2.entry.js +1 -0
  230. package/dist/webquark/p-151a555e.entry.js +1 -0
  231. package/dist/webquark/{p-9418caa0.entry.js → p-160cb4e4.entry.js} +1 -1
  232. package/dist/webquark/p-17011e71.entry.js +1 -0
  233. package/dist/webquark/{p-ed327679.entry.js → p-1cf51c80.entry.js} +1 -1
  234. package/dist/webquark/{p-8bdababd.entry.js → p-25c3b776.entry.js} +1 -1
  235. package/dist/webquark/{p-f911c90f.entry.js → p-362c5608.entry.js} +1 -1
  236. package/dist/webquark/p-3d674223.entry.js +1 -0
  237. package/dist/webquark/{p-8115ec23.entry.js → p-4fff116c.entry.js} +1 -1
  238. package/dist/webquark/p-5453eac7.entry.js +1 -0
  239. package/dist/webquark/{p-c4fd89b8.entry.js → p-5eeb922e.entry.js} +1 -1
  240. package/dist/{playground/build/p-5f6860f2.entry.js → webquark/p-675d0d03.entry.js} +2 -2
  241. package/dist/webquark/{p-c1f3dca6.entry.js → p-70c4f92f.entry.js} +1 -1
  242. package/dist/webquark/p-72dc1231.entry.js +1 -0
  243. package/dist/webquark/{p-408bf48a.entry.js → p-736b1c8c.entry.js} +1 -1
  244. package/dist/webquark/{p-737ca99e.entry.js → p-781d3459.entry.js} +1 -1
  245. package/dist/webquark/p-81f64d6f.entry.js +1 -0
  246. package/dist/webquark/{p-742e39f1.entry.js → p-82810ead.entry.js} +1 -1
  247. package/dist/webquark/{p-b465aebd.entry.js → p-9227780b.entry.js} +1 -1
  248. package/dist/webquark/{p-ecbc0fee.entry.js → p-964d27e0.entry.js} +1 -1
  249. package/dist/webquark/p-96922229.entry.js +1 -0
  250. package/dist/webquark/{p-0d98e500.entry.js → p-9b4271ea.entry.js} +1 -1
  251. package/dist/webquark/p-BLvl8YLq.js +1 -0
  252. package/dist/webquark/p-CGcC-mvi.js +1 -0
  253. package/dist/webquark/p-CyPFM3XV.js +1 -0
  254. package/dist/webquark/{p-de8813be.entry.js → p-ae4e5ec4.entry.js} +1 -1
  255. package/dist/{playground/build/p-d4a915e5.entry.js → webquark/p-b08d0ed8.entry.js} +1 -1
  256. package/dist/{playground/build/p-abf54361.entry.js → webquark/p-b4dfadea.entry.js} +1 -1
  257. package/dist/webquark/p-b7ac65c6.entry.js +1 -0
  258. package/dist/webquark/{p-6b63922b.entry.js → p-b9e83fa3.entry.js} +1 -1
  259. package/dist/webquark/p-bba3c7b4.entry.js +1 -0
  260. package/dist/{playground/build/p-d7d436c5.entry.js → webquark/p-bf47c46a.entry.js} +2 -2
  261. package/dist/webquark/{p-0aea8464.entry.js → p-c448b4ce.entry.js} +1 -1
  262. package/dist/{playground/build/p-989bdc1a.entry.js → webquark/p-ca240b8b.entry.js} +1 -1
  263. package/dist/webquark/p-cb5ebd01.entry.js +1 -0
  264. package/dist/webquark/{p-97dae970.entry.js → p-d0c55860.entry.js} +1 -1
  265. package/dist/webquark/{p-96ef2b54.entry.js → p-e1c8a9aa.entry.js} +1 -1
  266. package/dist/webquark/{p-15502232.entry.js → p-e6603d17.entry.js} +1 -1
  267. package/dist/webquark/p-e762a4b7.entry.js +1 -0
  268. package/dist/webquark/{p-6b619655.entry.js → p-fb76473e.entry.js} +1 -1
  269. package/dist/{playground/build/p-ff1e2363.entry.js → webquark/p-fed7219c.entry.js} +1 -1
  270. package/dist/webquark/p-tSny_c7b.js +3 -0
  271. package/dist/webquark/webquark.css +1 -1
  272. package/dist/webquark/webquark.esm.js +1 -1
  273. package/package.json +2 -1
  274. package/scripts/wq-switch/README.md +47 -11
  275. package/scripts/wq-switch/dist/index.js +56 -20
  276. package/scripts/wq-switch/dist/setup.js +32 -16
  277. package/dist/cjs/tokens-DGECOqpA.js +0 -42
  278. package/dist/components/p-0PieXMX9.js +0 -1
  279. package/dist/components/p-BOYjkCNa.js +0 -1
  280. package/dist/components/p-Bw4TVbfm.js +0 -1
  281. package/dist/components/p-GU98U1DJ.js +0 -1
  282. package/dist/components/p-f95uguY1.js +0 -1
  283. package/dist/esm/tokens-f95uguY1.js +0 -38
  284. package/dist/playground/build/p-139fec38.entry.js +0 -1
  285. package/dist/playground/build/p-17340abf.entry.js +0 -1
  286. package/dist/playground/build/p-303dcac8.entry.js +0 -1
  287. package/dist/playground/build/p-47253466.entry.js +0 -1
  288. package/dist/playground/build/p-71e3d582.entry.js +0 -1
  289. package/dist/playground/build/p-8ad43d7f.entry.js +0 -1
  290. package/dist/playground/build/p-BqvCR2U8.js +0 -1
  291. package/dist/playground/build/p-DbGG9Q40.js +0 -3
  292. package/dist/playground/build/p-JgeOdXyP.js +0 -1
  293. package/dist/playground/build/p-a4b36120.entry.js +0 -1
  294. package/dist/playground/build/p-aed4b219.entry.js +0 -1
  295. package/dist/playground/build/p-b3a07d94.entry.js +0 -1
  296. package/dist/playground/build/p-c4899c2b.entry.js +0 -1
  297. package/dist/playground/build/p-cf8f7f2a.entry.js +0 -1
  298. package/dist/playground/build/p-f95uguY1.js +0 -1
  299. package/dist/playground/build/p-fdd85ce4.entry.js +0 -1
  300. package/dist/webquark/p-139fec38.entry.js +0 -1
  301. package/dist/webquark/p-17340abf.entry.js +0 -1
  302. package/dist/webquark/p-303dcac8.entry.js +0 -1
  303. package/dist/webquark/p-47253466.entry.js +0 -1
  304. package/dist/webquark/p-71e3d582.entry.js +0 -1
  305. package/dist/webquark/p-8ad43d7f.entry.js +0 -1
  306. package/dist/webquark/p-BqvCR2U8.js +0 -1
  307. package/dist/webquark/p-DbGG9Q40.js +0 -3
  308. package/dist/webquark/p-JgeOdXyP.js +0 -1
  309. package/dist/webquark/p-a4b36120.entry.js +0 -1
  310. package/dist/webquark/p-aed4b219.entry.js +0 -1
  311. package/dist/webquark/p-b3a07d94.entry.js +0 -1
  312. package/dist/webquark/p-c4899c2b.entry.js +0 -1
  313. package/dist/webquark/p-cf8f7f2a.entry.js +0 -1
  314. package/dist/webquark/p-f95uguY1.js +0 -1
  315. package/dist/webquark/p-fdd85ce4.entry.js +0 -1
@@ -15,25 +15,60 @@ consumer's `@webquark/core` dependency in package.json):
15
15
 
16
16
  ```json
17
17
  {
18
- "version": 1,
19
- "source": "",
20
- "preferredVersion": "1.1.0-dev.2"
18
+ "wq-switch": {
19
+ "version": 1,
20
+ "source": "",
21
+ "preferredVersion": "1.1.0-dev.6"
22
+ }
21
23
  }
22
24
  ```
23
25
 
24
- Fill in `source` with the physical WebQuark repository root before running
26
+ Fill in `wq-switch.source` with the physical WebQuark repository root before running
25
27
  `local` or `build`. Alternatively pass `--source "path/to/WebQuark"` to setup.
26
28
  The exact dependency specifier is preserved, including a range when one is used.
27
29
  `preferredVersion` records your release preference; `npm` still restores the saved
28
30
  installation and does not download a different version.
29
31
 
32
+ The only supported configuration file is `.webquark.json`, with settings inside
33
+ `"wq-switch"`. Setup preserves other top-level sections. The `.wq-switch/`
34
+ directory holds runtime snapshots and is separate from configuration.
35
+
36
+ ## Setting up dev.6
37
+
38
+ After `1.1.0-dev.6` is published, run these steps inside the consuming app:
39
+
40
+ 1. Stop its development server. If already using a local switcher setup, run
41
+ `bun run wq-switch npm` **before installing packages**, so the saved npm
42
+ installation is restored safely. For a fresh setup, proceed to installation.
43
+ 2. Install matching versions. For an Angular app:
44
+ ```powershell
45
+ bun add --exact @webquark/core@1.1.0-dev.6 @webquark/angular@1.1.0-dev.6
46
+ ```
47
+ React apps use `@webquark/react` instead of `@webquark/angular`.
48
+ 3. Run the setup command:
49
+ ```powershell
50
+ bun run wq-setup --source "D:\Dev\PurelyIT\WebQuark"
51
+ ```
52
+ This creates or updates `.webquark.json` with settings under `"wq-switch"`.
53
+ Other sections are preserved. An existing `preferredVersion`
54
+ remains unchanged; it is a recorded preference, not the active package version.
55
+ 4. Optionally run `bun run wq-switch local` to use the physical checkout.
56
+ Otherwise, continue using the installed npm release. Restart the app's dev server.
57
+
58
+ Dev.6 also adds navbar alignment. Existing layouts keep their defaults; opt in
59
+ with `navAlign="center" navCenterWithin="container"` in Angular/React, or
60
+ `nav-align="center" nav-center-within="container"` in HTML. See the
61
+ [navbar guide](../../src/components/layout/navbar/readme.md#navigation-alignment)
62
+ for optical offsets, responsive behaviour, and custom-slot fallbacks.
63
+
30
64
  Setup also adds these scripts without changing dependency versions or lockfiles:
31
65
 
32
66
  ```json
33
67
  {
34
68
  "scripts": {
35
69
  "wq-sandbox": "wq-sandbox",
36
- "wq-switch": "wq-switch"
70
+ "wq-switch": "wq-switch",
71
+ "wq-check": "wq-switch check"
37
72
  }
38
73
  }
39
74
  ```
@@ -49,6 +84,7 @@ names before writing anything. `wq-switch setup` remains an equivalent alias.
49
84
  | `local` | Builds core, React, and Angular; activates snapshots of only the packages declared by the consumer |
50
85
  | `build` | Always builds all three; refreshes snapshots when this consumer is already local |
51
86
  | `npm` | Restores the exact previous package entries; does not download or upgrade packages |
87
+ | `check` | Verifies the native-content.css export and file; prints setup guidance if missing |
52
88
  | `status` | Reports actual connections, missing artifacts, mixed installs, and pending recovery |
53
89
 
54
90
  Restart the consumer development server after switching or refreshing. The CLI
@@ -94,7 +130,7 @@ through the original package store or through the active package entry.
94
130
  package-manager install; backups depend on the original package store remaining.
95
131
  - Old snapshots are retained so existing processes and recovery references stay
96
132
  valid. After restoring and stopping app processes, the `.wq-switch` directory
97
- can be removed to reclaim disk space. Keep `.wq-switch.json` for future use.
133
+ can be removed to reclaim disk space. Keep `.webquark.json` for future use.
98
134
 
99
135
  ## Source layout
100
136
 
@@ -106,8 +142,8 @@ the five command handlers. `dist/index.js` is generated and not maintained.
106
142
  Validation: `bun run switch:build` followed by
107
143
  `bunx vitest run --project tooling scripts/wq-switch/switch.unit.test.ts`.
108
144
 
109
- Verified during implementation: all 41 tooling tests (14 switcher cases), the
110
- complete three-package build, a temporary Angular strict-template consumer
111
- through local/restore, real React server rendering through staged packages, and
112
- the executable from an extracted offline npm tarball. A full Next.js application
113
- build was not run. WebAppStack's package connections were not modified.
145
+ ### Catch missing stylesheet exports before bundling
146
+
147
+ Setup adds a `wq-check` script. Run `bun run wq-check`, or prefix your dev/build commands with `bun run wq-check &&`, to verify that the installed core exports `@webquark/core/native-content.css` and its built file exists. The diagnostic directs local consumers to `bun run wq-setup --source "<path-to-WebQuark>"` followed by `bun run wq-switch local`. Setup alone does not replace an older published package. A complete published package needs no local checkout.
148
+
149
+ The check cannot intercept Angular's errors automatically: it must run before the bundler. Older CLI releases do not include this command.
@@ -4,6 +4,26 @@
4
4
  var import_node_fs = require("node:fs");
5
5
  var import_node_path = require("node:path");
6
6
  var names = ["@webquark/core", "@webquark/angular", "@webquark/react"];
7
+ var configName = ".webquark.json";
8
+ function readWebQuarkConfig(root) {
9
+ const file = import_node_path.join(root, configName);
10
+ if (!import_node_fs.existsSync(file))
11
+ return {};
12
+ const value = json(file);
13
+ if (!value || typeof value !== "object" || Array.isArray(value))
14
+ throw new Error(`Invalid ${configName}; expected a JSON object.`);
15
+ return value;
16
+ }
17
+ function readSwitchConfig(root) {
18
+ const document = readWebQuarkConfig(root);
19
+ const value = document["wq-switch"];
20
+ if (value === undefined)
21
+ return;
22
+ if (!value || typeof value !== "object" || Array.isArray(value) || value.version !== 1 || typeof value.source !== "string" || value.preferredVersion !== undefined && typeof value.preferredVersion !== "string") {
23
+ throw new Error(`Invalid WebQuark wq-switch configuration; existing configuration was not overwritten.`);
24
+ }
25
+ return value;
26
+ }
7
27
  function json(file) {
8
28
  return JSON.parse(import_node_fs.readFileSync(file, "utf8"));
9
29
  }
@@ -37,14 +57,11 @@ function validateSource(source) {
37
57
  return root;
38
58
  }
39
59
  function sourceFor(root) {
40
- const file = import_node_path.join(root, ".wq-switch.json");
41
- if (!import_node_fs.existsSync(file))
60
+ const config = readSwitchConfig(root);
61
+ if (!config)
42
62
  throw new Error("First run: wq-setup");
43
- const config = json(file);
44
- if (config.version !== 1 || typeof config.source !== "string")
45
- throw new Error("Invalid .wq-switch.json. Run setup again.");
46
63
  if (!config.source.trim())
47
- throw new Error('Set source in .wq-switch.json to your WebQuark repository, or run wq-setup --source "path/to/WebQuark".');
64
+ throw new Error('Set source inside "wq-switch" in .webquark.json to your WebQuark repository, or run wq-setup --source "path/to/WebQuark".');
48
65
  return validateSource(import_node_path.resolve(root, config.source));
49
66
  }
50
67
  function selectedPackages(root) {
@@ -273,12 +290,11 @@ function setup(root, source) {
273
290
  selectedPackages(root);
274
291
  if (readState(root))
275
292
  throw new Error("Run wq-switch npm before changing configuration.");
276
- const file = import_node_path3.join(root, ".wq-switch.json");
277
- const previous = import_node_fs3.existsSync(file) ? json(file) : undefined;
278
- if (previous && (previous.version !== 1 || typeof previous.source !== "string" || previous.preferredVersion !== undefined && typeof previous.preferredVersion !== "string"))
279
- throw new Error("Invalid .wq-switch.json; existing configuration was not overwritten.");
293
+ const file = import_node_path3.join(root, configName);
294
+ const document = readWebQuarkConfig(root);
295
+ const previous = readSwitchConfig(root);
280
296
  const pkg = manifest(root);
281
- const scripts = { "wq-sandbox": "wq-sandbox", "wq-switch": "wq-switch" };
297
+ const scripts = { "wq-sandbox": "wq-sandbox", "wq-switch": "wq-switch", "wq-check": "wq-switch check" };
282
298
  for (const [name, command] of Object.entries(scripts)) {
283
299
  if (pkg.scripts?.[name] && pkg.scripts[name] !== command)
284
300
  throw new Error(`package.json already has a custom ${name} script. Rename it before running setup; no files were changed.`);
@@ -289,21 +305,21 @@ function setup(root, source) {
289
305
  source: source === undefined ? previous?.source ?? "" : validateSource(import_node_path3.resolve(root, source)),
290
306
  preferredVersion: previous?.preferredVersion ?? pkg.dependencies?.["@webquark/core"] ?? pkg.devDependencies["@webquark/core"]
291
307
  };
292
- writeJson(file, config);
308
+ writeJson(file, { ...document, "wq-switch": config });
293
309
  writeJson(import_node_path3.join(root, "package.json"), { ...pkg, scripts: { ...pkg.scripts, ...scripts } });
294
310
  const ignore = import_node_path3.join(root, ".gitignore");
295
311
  const current = import_node_fs3.existsSync(ignore) ? import_node_fs3.readFileSync(ignore, "utf8") : "";
296
- const missing = ["/.wq-switch.json", "/.wq-switch/", "/node_modules/"].filter((line) => !current.split(/\r?\n/).includes(line));
312
+ const missing = ["/.webquark.json", "/.wq-switch/", "/node_modules/"].filter((line) => !current.split(/\r?\n/).includes(line));
297
313
  if (missing.length)
298
314
  import_node_fs3.appendFileSync(ignore, `
299
315
  # Local WebQuark development
300
316
  ` + missing.join(`
301
317
  `) + `
302
318
  `);
303
- console.log(`Created/updated .wq-switch.json and package scripts.
319
+ console.log(`Created/updated .webquark.json and package scripts.
304
320
  Preferred release: ${config.preferredVersion}
305
321
  ${config.source ? `Source: ${config.source}
306
- Next: bun run wq-switch local` : "Next: fill in source in .wq-switch.json before switching locally."}
322
+ Next: bun run wq-switch local` : "Next: fill in wq-switch.source in .webquark.json before switching locally."}
307
323
  Sandbox: bun run wq-sandbox
308
324
  Status: bun run wq-switch status`);
309
325
  }
@@ -444,8 +460,6 @@ Restart the consumer dev server.`);
444
460
  }
445
461
 
446
462
  // scripts/wq-switch/commands/status.ts
447
- var import_node_fs5 = require("node:fs");
448
- var import_node_path5 = require("node:path");
449
463
  function status(root) {
450
464
  const state = readState(root);
451
465
  let broken = false, local2 = 0;
@@ -466,8 +480,7 @@ function status(root) {
466
480
  }
467
481
  const pending = hasJournal(root);
468
482
  const mode = pending ? "RECOVERY NEEDED" : broken ? "BROKEN" : state ? local2 === state.entries.length ? "LOCAL" : "MIXED" : "NPM / UNMANAGED";
469
- const file = import_node_path5.join(root, ".wq-switch.json");
470
- const config = import_node_fs5.existsSync(file) ? json(file) : undefined;
483
+ const config = readSwitchConfig(root);
471
484
  console.log(`Mode: ${mode}
472
485
  Source: ${config?.source || "not configured"}
473
486
  Preferred release: ${config?.preferredVersion ?? "not configured"}
@@ -481,6 +494,24 @@ ${rows.join(`
481
494
  process.exitCode = 1;
482
495
  }
483
496
 
497
+ // scripts/wq-switch/commands/check.ts
498
+ var import_node_module2 = require("node:module");
499
+ var import_node_fs5 = require("node:fs");
500
+ var import_node_path5 = require("node:path");
501
+ function check(root) {
502
+ const stylesheet = "@webquark/core/native-content.css";
503
+ try {
504
+ const file = import_node_module2.createRequire(import_node_path5.join(root, "package.json")).resolve(stylesheet);
505
+ if (!import_node_fs5.statSync(file).isFile())
506
+ throw new Error("The stylesheet is not a file.");
507
+ } catch (error) {
508
+ throw new Error('Could not resolve "' + stylesheet + `". The installed @webquark/core must export "./native-content.css" and include its built CSS file.
509
+ ` + `For local development, run bun run wq-setup --source "<path-to-WebQuark>", then bun run wq-switch local.
510
+ ` + "wq-setup configures the checkout; wq-switch local builds and activates it. Alternatively, install matching published WebQuark packages containing this export.", { cause: error });
511
+ }
512
+ console.log("WebQuark native-content.css export and file are available.");
513
+ }
514
+
484
515
  // scripts/wq-switch/index.ts
485
516
  var help = `wq-switch — run inside the consuming project
486
517
 
@@ -488,6 +519,7 @@ var help = `wq-switch — run inside the consuming project
488
519
  local Build all packages and activate local snapshots
489
520
  build Build all packages; refresh snapshots if already local
490
521
  npm Restore original installed packages (no upgrade)
522
+ check Verify the native-content.css export before bundling
491
523
  status Inspect actual package connections
492
524
  `;
493
525
  async function main() {
@@ -496,12 +528,16 @@ async function main() {
496
528
  console.log(help);
497
529
  return;
498
530
  }
499
- if (!["setup", "local", "build", "npm", "status"].includes(command))
531
+ if (!["setup", "local", "build", "npm", "status", "check"].includes(command))
500
532
  throw new Error(`Unknown command: ${command}
501
533
  ${help}`);
502
534
  if (command === "setup" ? args.length !== 0 && (args.length !== 2 || args[0] !== "--source") : args.length !== 0)
503
535
  throw new Error(help);
504
536
  const root = consumerRoot();
537
+ if (command === "check") {
538
+ check(root);
539
+ return;
540
+ }
505
541
  if (command === "status") {
506
542
  status(root);
507
543
  return;
@@ -4,6 +4,26 @@
4
4
  var import_node_fs = require("node:fs");
5
5
  var import_node_path = require("node:path");
6
6
  var names = ["@webquark/core", "@webquark/angular", "@webquark/react"];
7
+ var configName = ".webquark.json";
8
+ function readWebQuarkConfig(root) {
9
+ const file = import_node_path.join(root, configName);
10
+ if (!import_node_fs.existsSync(file))
11
+ return {};
12
+ const value = json(file);
13
+ if (!value || typeof value !== "object" || Array.isArray(value))
14
+ throw new Error(`Invalid ${configName}; expected a JSON object.`);
15
+ return value;
16
+ }
17
+ function readSwitchConfig(root) {
18
+ const document = readWebQuarkConfig(root);
19
+ const value = document["wq-switch"];
20
+ if (value === undefined)
21
+ return;
22
+ if (!value || typeof value !== "object" || Array.isArray(value) || value.version !== 1 || typeof value.source !== "string" || value.preferredVersion !== undefined && typeof value.preferredVersion !== "string") {
23
+ throw new Error(`Invalid WebQuark wq-switch configuration; existing configuration was not overwritten.`);
24
+ }
25
+ return value;
26
+ }
7
27
  function json(file) {
8
28
  return JSON.parse(import_node_fs.readFileSync(file, "utf8"));
9
29
  }
@@ -37,14 +57,11 @@ function validateSource(source) {
37
57
  return root;
38
58
  }
39
59
  function sourceFor(root) {
40
- const file = import_node_path.join(root, ".wq-switch.json");
41
- if (!import_node_fs.existsSync(file))
60
+ const config = readSwitchConfig(root);
61
+ if (!config)
42
62
  throw new Error("First run: wq-setup");
43
- const config = json(file);
44
- if (config.version !== 1 || typeof config.source !== "string")
45
- throw new Error("Invalid .wq-switch.json. Run setup again.");
46
63
  if (!config.source.trim())
47
- throw new Error('Set source in .wq-switch.json to your WebQuark repository, or run wq-setup --source "path/to/WebQuark".');
64
+ throw new Error('Set source inside "wq-switch" in .webquark.json to your WebQuark repository, or run wq-setup --source "path/to/WebQuark".');
48
65
  return validateSource(import_node_path.resolve(root, config.source));
49
66
  }
50
67
  function selectedPackages(root) {
@@ -275,12 +292,11 @@ function setup(root, source) {
275
292
  selectedPackages(root);
276
293
  if (readState(root))
277
294
  throw new Error("Run wq-switch npm before changing configuration.");
278
- const file = import_node_path3.join(root, ".wq-switch.json");
279
- const previous = import_node_fs3.existsSync(file) ? json(file) : undefined;
280
- if (previous && (previous.version !== 1 || typeof previous.source !== "string" || previous.preferredVersion !== undefined && typeof previous.preferredVersion !== "string"))
281
- throw new Error("Invalid .wq-switch.json; existing configuration was not overwritten.");
295
+ const file = import_node_path3.join(root, configName);
296
+ const document = readWebQuarkConfig(root);
297
+ const previous = readSwitchConfig(root);
282
298
  const pkg = manifest(root);
283
- const scripts = { "wq-sandbox": "wq-sandbox", "wq-switch": "wq-switch" };
299
+ const scripts = { "wq-sandbox": "wq-sandbox", "wq-switch": "wq-switch", "wq-check": "wq-switch check" };
284
300
  for (const [name, command] of Object.entries(scripts)) {
285
301
  if (pkg.scripts?.[name] && pkg.scripts[name] !== command)
286
302
  throw new Error(`package.json already has a custom ${name} script. Rename it before running setup; no files were changed.`);
@@ -291,21 +307,21 @@ function setup(root, source) {
291
307
  source: source === undefined ? previous?.source ?? "" : validateSource(import_node_path3.resolve(root, source)),
292
308
  preferredVersion: previous?.preferredVersion ?? pkg.dependencies?.["@webquark/core"] ?? pkg.devDependencies["@webquark/core"]
293
309
  };
294
- writeJson(file, config);
310
+ writeJson(file, { ...document, "wq-switch": config });
295
311
  writeJson(import_node_path3.join(root, "package.json"), { ...pkg, scripts: { ...pkg.scripts, ...scripts } });
296
312
  const ignore = import_node_path3.join(root, ".gitignore");
297
313
  const current = import_node_fs3.existsSync(ignore) ? import_node_fs3.readFileSync(ignore, "utf8") : "";
298
- const missing = ["/.wq-switch.json", "/.wq-switch/", "/node_modules/"].filter((line) => !current.split(/\r?\n/).includes(line));
314
+ const missing = ["/.webquark.json", "/.wq-switch/", "/node_modules/"].filter((line) => !current.split(/\r?\n/).includes(line));
299
315
  if (missing.length)
300
316
  import_node_fs3.appendFileSync(ignore, `
301
317
  # Local WebQuark development
302
318
  ` + missing.join(`
303
319
  `) + `
304
320
  `);
305
- console.log(`Created/updated .wq-switch.json and package scripts.
321
+ console.log(`Created/updated .webquark.json and package scripts.
306
322
  Preferred release: ${config.preferredVersion}
307
323
  ${config.source ? `Source: ${config.source}
308
- Next: bun run wq-switch local` : "Next: fill in source in .wq-switch.json before switching locally."}
324
+ Next: bun run wq-switch local` : "Next: fill in wq-switch.source in .webquark.json before switching locally."}
309
325
  Sandbox: bun run wq-sandbox
310
326
  Status: bun run wq-switch status`);
311
327
  }
@@ -314,7 +330,7 @@ Status: bun run wq-switch status`);
314
330
  async function main() {
315
331
  const args = process.argv.slice(2);
316
332
  const help = `wq-setup [--source <path>]
317
- Creates .wq-switch.json and wq-sandbox/wq-switch package scripts in the consuming project.`;
333
+ Creates .webquark.json and wq-sandbox/wq-switch package scripts in the consuming project.`;
318
334
  if (args.length === 1 && ["--help", "-h"].includes(args[0])) {
319
335
  console.log(help);
320
336
  return;
@@ -1,42 +0,0 @@
1
- 'use strict';
2
-
3
- /** Canonical theme dimensions. Rem values assume a 16px root font. */
4
- const spaces = { none: 0, xs: 4, sm: 8, md: 12, lg: 16, xl: 24, '2xl': 32, '3xl': 48 };
5
- const controls = {
6
- sm: { height: 28, font: 12, line: 16, padding: 8, icon: 14, radius: 5.5 },
7
- md: { height: 36, font: 14, line: 20, padding: 12, icon: 16, radius: 7 },
8
- lg: { height: 44, font: 16, line: 24, padding: 16, icon: 20, radius: 8.5 },
9
- };
10
- const rem = (pixels) => `${pixels / 16}rem`;
11
- [
12
- ...Object.entries(spaces).map(([key, value]) => ({ name: `--q-space-${key}`, value: rem(value), label: `Space ${key}` })),
13
- ...Object.entries(controls).flatMap(([size, metrics]) => Object.entries(metrics).map(([key, value]) => ({
14
- name: `--q-control-${key}-${size}`, value: rem(value), label: `${size} control ${key}`,
15
- }))),
16
- ];
17
- function spaceValue(value) {
18
- return `var(--q-space-${value}, ${rem(spaces[value] ?? spaces.lg)})`;
19
- }
20
- /** Only scope owners publish context metrics; leaf controls never change them. */
21
- function controlScope(size) {
22
- return Object.fromEntries(Object.keys(controls.md).map(metric => [
23
- `--q-context-control-${metric}`,
24
- size === 'inherit' ? '' : `var(--q-control-${metric}-${size}, ${rem(controls[size]?.[metric] ?? controls.md[metric])})`,
25
- ]));
26
- }
27
- /** Resolve roles at the component, not at :root, to respect scoped palettes. */
28
- function surfaceValue(surface) {
29
- const defaults = {
30
- canvas: 'var(--q-bg-base, #0b0f19)',
31
- panel: 'var(--q-bg-surface-1, #111827)',
32
- card: 'var(--q-bg-surface-2, #19243b)',
33
- field: 'var(--q-bg-surface-3, #22304d)',
34
- floating: 'var(--q-bg-surface-4, #2c3a58)',
35
- transparent: 'transparent',
36
- };
37
- return surface === 'transparent' ? 'transparent' : `var(--q-bg-${surface}, ${defaults[surface]})`;
38
- }
39
-
40
- exports.controlScope = controlScope;
41
- exports.spaceValue = spaceValue;
42
- exports.surfaceValue = surfaceValue;
@@ -1 +0,0 @@
1
- import{t,p as e,H as i,c as r,h as a}from"./p-GU98U1DJ.js";import{f as n,a as o}from"./p-Bw4TVbfm.js";import{s}from"./p-Bj2RJb2E.js";function l(t){return t.assignedNodes({flatten:!0}).length>0}const d=e(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.qChange=r(this,"qChange"),this.qInput=r(this,"qInput"),this.qBlur=r(this,"qBlur"),this.qFocus=r(this,"qFocus"),this.qClick=r(this,"qClick"),this.internals=this.attachInternals()}value="";placeholder="";label;ariaLabel=null;description;labelHidden=!1;reserveFeedback;size="inherit";clearable=!1;disabled=!1;required=!1;error;errorMessage;name;type="text";min;max;step=1;internals;hasPrefix=!1;hasSuffix=!1;passwordVisible=!1;qChange;qInput;qBlur;qFocus;qClick;inputEl;initialValue="";watchValue(t){this.internals&&"function"==typeof this.internals.setFormValue&&this.internals.setFormValue(t)}componentWillLoad(){this.initialValue=this.value||"",this.internals&&"function"==typeof this.internals.setFormValue&&this.internals.setFormValue(this.value)}componentDidRender(){this.syncValidity()}formResetCallback(){this.value=this.initialValue,this.internals&&"function"==typeof this.internals.setFormValue&&this.internals.setFormValue(this.value)}async focusElement(){this.inputEl?.focus()}async clearValue(){this.handleClear()}async checkValidity(){return this.syncValidity(),"function"==typeof this.internals.checkValidity?this.internals.checkValidity():this.inputEl?.checkValidity?.()??!0}async reportValidity(){return this.syncValidity(),"function"==typeof this.internals.reportValidity?this.internals.reportValidity():this.inputEl?.reportValidity?.()??!0}handlePrefixSlotChange=t=>{this.hasPrefix=l(t.target)};handleSuffixSlotChange=t=>{this.hasSuffix=l(t.target)};syncValidity(){this.inputEl&&this.internals&&s({internals:this.internals,control:this.inputEl,disabled:this.disabled,customError:this.error||this.errorMessage})}handleInput=t=>{this.value=t.target.value,this.qInput.emit(this.value)};handleChange=t=>{this.value=t.target.value,this.qChange.emit(this.value)};resolveNumericBase(){let t=parseFloat(this.value);return isNaN(t)&&(t=null!=this.min&&this.min>0?this.min:null!=this.max&&this.max<0?this.max:0),t}clampNumericValue(t){let e=t;return null!=this.min&&(e=Math.max(this.min,e)),null!=this.max&&(e=Math.min(this.max,e)),e}stepValue(t){if(this.disabled)return;const e=null!=this.step?this.step:1,i=this.clampNumericValue(this.resolveNumericBase()+e*t);this.value=String(i),this.inputEl&&(this.inputEl.value=this.value),this.qInput.emit(this.value),this.qChange.emit(this.value)}handleIncrement=()=>{this.stepValue(1)};handleDecrement=()=>{this.stepValue(-1)};handleBlur=t=>{if("number"===this.type&&null!=this.value&&""!==this.value){const t=parseFloat(this.value);if(!isNaN(t)){let e=t;null!=this.min&&(e=Math.max(this.min,e)),null!=this.max&&(e=Math.min(this.max,e)),e!==t&&(this.value=String(e),this.inputEl&&(this.inputEl.value=this.value),this.qInput.emit(this.value),this.qChange.emit(this.value))}}this.qBlur.emit(t)};handleFocus=t=>{this.qFocus.emit(t)};handleClick=t=>{this.disabled||this.qClick.emit(t)};handleClear=()=>{this.value="",this.qInput.emit(this.value),this.qChange.emit(this.value),this.inputEl&&this.inputEl.focus()};handlePasswordToggle=t=>{if(t.preventDefault(),t.stopPropagation(),this.disabled||"password"!==this.type)return;const e=this.inputEl?.selectionStart??null,i=this.inputEl?.selectionEnd??null;this.passwordVisible=!this.passwordVisible,requestAnimationFrame((()=>{this.inputEl&&(this.inputEl.focus(),null!==e&&null!==i&&this.inputEl.setSelectionRange(e,i))}))};handleKeyDown=t=>{"number"!==this.type||this.disabled||("ArrowUp"===t.key?(t.preventDefault(),this.handleIncrement()):"ArrowDown"===t.key&&(t.preventDefault(),this.handleDecrement()))};render(){const t=!(!this.error&&!this.errorMessage),e=this.error||this.errorMessage,i=this.clearable&&!this.disabled&&this.value.length>0,r="password"===this.type&&!this.disabled,s=r&&this.passwordVisible?"text":this.type,l=this.hasSuffix||i||r,d=parseFloat(this.value),c="number"===this.type&&!isNaN(d),h=c&&null!=this.min&&d<=this.min,p=c&&null!=this.max&&d>=this.max,f=this.ariaLabel?.trim()||void 0;return a("div",{key:"4e3f10c0256c42bba21ed2c50d8d0b817252e418",style:o(this.reserveFeedback),class:{"input-wrapper":!0,"is-disabled":this.disabled,"has-error":t,[`size-${this.size}`]:!0}},this.label&&a("label",{key:"ee4ceb0add8f09a8f92169cbca28aab5e0589b16",class:{"input-label":!0,"q-label-hidden":this.labelHidden},htmlFor:"q-field",part:"label"},this.label),a("div",{key:"43fab24ca58070de570be5ca182942f64e61a902",class:"input-control",part:"control"},a("span",{key:"06e7231d67ad315a2897a2399a5f47d6efdc02ee",class:"prefix-container",style:{display:this.hasPrefix?"flex":"none"},part:"prefix"},a("slot",{key:"4f95a654ed5708cad6fbe1456a97c1e7fb4adee1",name:"prefix",onSlotchange:this.handlePrefixSlotChange})),a("input",{key:this.type,ref:t=>this.inputEl=t,id:"q-field",class:{"input-box":!0,"has-prefix-padding":this.hasPrefix,"has-suffix-padding":l},type:s,name:this.name,value:this.value,placeholder:this.placeholder,disabled:this.disabled,required:this.required,min:this.min,max:this.max,step:this.step,onInput:this.handleInput,onChange:this.handleChange,onBlur:this.handleBlur,onFocus:this.handleFocus,onClick:this.handleClick,onKeyDown:this.handleKeyDown,role:"number"===this.type?"spinbutton":void 0,"aria-valuenow":c?String(d):void 0,"aria-valuemin":"number"===this.type&&null!=this.min?String(this.min):void 0,"aria-valuemax":"number"===this.type&&null!=this.max?String(this.max):void 0,"aria-invalid":t?"true":"false","aria-describedby":t||this.description?"q-field-error":void 0,"aria-label":f}),"number"===this.type&&!this.disabled&&a("div",{key:"a003b95c55e27e953ab5f0eca794bb8fcaae05b8",class:"input-spinners",part:"spinners"},a("button",{key:"4a968f43230dd91b3a2ddda5f57a569aad687279",class:"spinner-btn spinner-up",type:"button",onClick:this.handleIncrement,disabled:p,"aria-label":"Increase value"},a("svg",{key:"60424c3b99e50bebb32fd7aead7818e2da5adac7",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","aria-hidden":"true"},a("path",{key:"8c3d5dc18da929975e1de91e4e71dadc447cf41c",d:"M18 15l-6-6-6 6"}))),a("button",{key:"03d0667903272fbd3ae14a6e9f0a056c6e676d6d",class:"spinner-btn spinner-down",type:"button",onClick:this.handleDecrement,disabled:h,"aria-label":"Decrease value"},a("svg",{key:"937c656ae40e87bab6b8b5b0194f3a341f370ce1",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","aria-hidden":"true"},a("path",{key:"3a3c2db25c2a5c5f98e2cfe5490775a1106e023d",d:"M6 9l6 6 6-6"})))),a("span",{key:"584a50cccd58e50597e57eaf261b6d149bde59bf",class:"suffix-container",style:{display:l?"flex":"none"},part:"suffix"},i&&a("button",{key:"de7d65dff1e745ec5362c909897169be7b0ac15a",class:"clear-btn",type:"button",onClick:this.handleClear,"aria-label":"Clear input"},a("svg",{key:"b0f78bc3b9b3d97cd118f6602905418a3dbae354",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},a("path",{key:"8973c4acfda6c4c9f26cedb1f5678937c9dc3823",d:"M18 6L6 18M6 6l12 12"}))),r&&a("button",{key:"74baf473e1ba79f30bde2ec4b0a5a8a9d781942b",class:"password-toggle-btn",type:"button",onClick:this.handlePasswordToggle,"aria-label":this.passwordVisible?"Hide password":"Show password","aria-pressed":this.passwordVisible?"true":"false"},this.passwordVisible?a("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","aria-hidden":"true"},a("path",{d:"M3 3l18 18"}),a("path",{d:"M10.58 10.58A2 2 0 0 0 12 14a2 2 0 0 0 1.42-.58"}),a("path",{d:"M9.88 4.24A10.2 10.2 0 0 1 12 4c7 0 10 8 10 8a18.5 18.5 0 0 1-4.08 5.19"}),a("path",{d:"M6.61 6.61A18.5 18.5 0 0 0 2 12s3 8 10 8a10.7 10.7 0 0 0 5.39-1.61"})):a("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","aria-hidden":"true"},a("path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z"}),a("circle",{cx:"12",cy:"12",r:"3"}))),a("span",{key:"a28828a5ae5c01967247453f1f9a5ee1ce2422ef",style:{display:!i&&this.hasSuffix?"block":"none"}},a("slot",{key:"d3ec795bdfcacafdb68a33774d1a90cb96b27344",name:"suffix",onSlotchange:this.handleSuffixSlotChange})))),n("q-field-error",e,this.description))}static get delegatesFocus(){return!0}static get formAssociated(){return!0}static get watchers(){return{value:[{watchValue:0}]}}static get style(){return':host{min-width:0;--_q-control-height:var(--q-context-control-height, var(--q-control-height-md, 2.25rem));--_q-control-font:var(--q-context-control-font, var(--q-control-font-md, 0.875rem));--_q-control-line:var(--q-context-control-line, var(--q-control-line-md, 1.25rem));--_q-control-padding:var(--q-context-control-padding, var(--q-control-padding-md, 0.75rem));--_q-control-icon:var(--q-context-control-icon, var(--q-control-icon-md, 1rem));--_q-control-radius:var(--q-context-control-radius, var(--q-control-radius-md, 0.4375rem))}.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}.input-wrapper{display:flex;flex-direction:column;width:100%;box-sizing:border-box}.input-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)}.input-control{display:flex;align-items:stretch;position:relative;width:100%;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)));box-sizing:border-box;overflow:hidden;transition:border-color var(--q-transition-fast, 150ms ease), box-shadow var(--q-transition-fast, 150ms ease)}.input-box{text-align:var(--q-input-text-align, start);width:100%;background:transparent;border:none;padding:var(--q-input-padding, 10px 14px);line-height:1.2;align-self:center;font-family:var(--q-font-family, inherit);font-size:var(--q-font-size-base, 0.9rem);font-weight:var(--q-font-weight-normal, 400);color:var(--q-fg-base, #f9fafb);outline:none;box-sizing:border-box}.input-box[type="number"]{appearance:textfield;-moz-appearance:textfield}.input-box[type="number"]::-webkit-inner-spin-button,.input-box[type="number"]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.prefix-container,.suffix-container{display:flex;align-items:center;padding:0 12px;color:var(--q-fg-muted, #9ca3af);flex-shrink:0}.prefix-container{padding-right:0}.suffix-container{padding-left:0}.input-control:focus-within{border-color:var(--q-color-primary, #60a5fa);box-shadow:0 0 0 1px var(--q-color-primary, #60a5fa)}.input-wrapper:focus-within .input-label{color:var(--q-color-primary, #60a5fa)}.has-error .input-control{border-color:var(--q-color-danger, #ef4444) !important;box-shadow:none}.has-error.input-wrapper:focus-within .input-label,.has-error .input-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}.clear-btn,.password-toggle-btn{background:transparent;border:none;cursor:pointer;padding:4px;padding-left:0;display:flex;align-items:center;justify-content:center;color:var(--q-fg-muted, #9ca3af);border-radius:50%;outline:none;transition:background var(--q-transition-fast, 150ms ease), color var(--q-transition-fast, 150ms ease)}.clear-btn:hover,.password-toggle-btn:hover{background:var(--q-btn-hover-overlay, color-mix(in srgb, var(--q-fg-base, #f9fafb) 8%, transparent));color:var(--q-fg-base, #f9fafb)}.clear-btn svg,.password-toggle-btn svg{width:14px;height:14px}.is-disabled{opacity:0.6}.is-disabled .input-control{cursor:not-allowed;pointer-events:none}input.input-box[type="color"]{height:calc(var(--q-input-height, var(--_q-control-height)) - 2px);padding:6px;cursor:pointer;background:transparent}input.input-box[type="color"]::-webkit-color-swatch-wrapper{padding:0}input.input-box[type="color"]::-webkit-color-swatch{border:none;border-radius:var(--q-radius-sm, 4px)}input.input-box[type="color"]::-moz-color-swatch{border:none;border-radius:var(--q-radius-sm, 4px)}.input-spinners{display:flex;flex-direction:column;border-left:1px solid var(--q-border-color, #4b5563);width:24px;margin-left:auto;box-sizing:border-box}.spinner-btn{flex:1;display:flex;align-items:center;justify-content:center;background:transparent;border:none;color:var(--q-fg-muted, #9ca3af);cursor:pointer;padding:0;margin:0;outline:none;transition:background var(--q-transition-fast, 150ms ease), color var(--q-transition-fast, 150ms ease)}.spinner-btn:hover:not(:disabled){background:rgba(249, 250, 251, 0.08);color:var(--q-fg-base, #f9fafb)}.spinner-btn:disabled{opacity:0.3;cursor:not-allowed}.spinner-up{border-bottom:1px solid var(--q-border-color, #4b5563)}.spinner-btn svg{width:10px;height:10px}.input-wrapper .input-control{min-height:var(--q-input-height, var(--_q-control-height));height:auto;background:var(--q-input-bg, var(--q-field-bg, var(--q-bg-field, var(--q-bg-surface-3, #22304d))))}.input-wrapper:is(.size-sm,.size-md,.size-lg,.size-inherit) .input-box{min-width:0;padding:var(--q-input-padding, 0 var(--_q-control-padding));min-height:calc(var(--q-input-height, var(--_q-control-height)) - 2px);font-size:var(--_q-control-font);line-height:var(--_q-control-line)}.input-wrapper .prefix-container,.input-wrapper .suffix-container{padding-inline:var(--_q-control-padding)}.input-wrapper .clear-btn svg,.input-wrapper .password-toggle-btn svg{width:var(--_q-control-icon);height:var(--_q-control-icon)}: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, .75rem);font-weight:400;line-height: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, .75rem);font-weight:600;line-height:1rem;margin-bottom:var(--q-space-xs, .25rem);overflow-wrap:anywhere}'}},[849,"q-input",{value:[1025],placeholder:[1],label:[1],ariaLabel:[1,"aria-label"],description:[1],labelHidden:[4,"label-hidden"],reserveFeedback:[4,"reserve-feedback"],size:[1],clearable:[4],disabled:[516],required:[516],error:[513],errorMessage:[1,"error-message"],name:[513],type:[1],min:[2],max:[2],step:[2],hasPrefix:[32],hasSuffix:[32],passwordVisible:[32],focusElement:[64],clearValue:[64],checkValidity:[64],reportValidity:[64]},void 0,{value:[{watchValue:0}]}]);function c(){"undefined"!=typeof customElements&&["q-input"].forEach((e=>{"q-input"===e&&(customElements.get(t(e))||customElements.define(t(e),d))}))}c();export{d as Q,c as d}
@@ -1 +0,0 @@
1
- import{p as n,M as t,c as r,h as o,t as i}from"./p-GU98U1DJ.js";import{w as a}from"./p-DQhiqYeq.js";import{d as e}from"./p-Cx1vCuMp.js";const s=n(class extends(t(a)){constructor(n){super(!1),!1!==n&&this.__registerHost(),this.__attachShadow(),this.qClick=r(this,"qClick"),this.qFocus=r(this,"qFocus"),this.qBlur=r(this,"qBlur")}get el(){return this}icon;iconOnly;ariaLabel=null;variant="primary";size="inherit";shape="default";layout="inline";expand=!1;loading=!1;target;type="button";qClick;qFocus;qBlur;autoIconOnly=!1;hasWarnedMissingAccessibleName=!1;componentWillLoad(){this.checkIconOnly()}componentDidLoad(){this.warnForMissingAccessibleName()}handleIconAccessibilityChange(){this.checkIconOnly(),this.warnForMissingAccessibleName()}checkIconOnly=()=>{const n=this.getVisibleText(),t=this.hasShortcutIcon()||null!==this.el.querySelector("q-icon")||null!==this.el.querySelector('[slot="icon-left"]')||null!==this.el.querySelector('[slot="icon-right"]');this.autoIconOnly=""===n&&t};handleSlotChange=()=>{this.checkIconOnly(),this.warnForMissingAccessibleName()};getVisibleText(){return Array.from(this.el.childNodes).filter((n=>{if(1!==n.nodeType)return!0;const t=n.slot;return"icon-left"!==t&&"icon-right"!==t})).map((n=>n.textContent||"")).join("").trim()}getShortcutIcon(){const n=this.icon?.trim();return n||void 0}hasShortcutIcon(){return void 0!==this.getShortcutIcon()}hasIconContent(){return this.hasShortcutIcon()||null!==this.el.querySelector("q-icon")||null!==this.el.querySelector('[slot="icon-left"]')||null!==this.el.querySelector('[slot="icon-right"]')}hasDefaultSlotIcon(){return null!==this.el.querySelector("q-icon:not([slot])")}warnForMissingAccessibleName(){}handleClick=n=>{if(this.disabled||this.loading)return n.preventDefault(),void n.stopPropagation();this.qClick.emit(n)};handleFocus=n=>{this.qFocus.emit(n)};handleBlur=n=>{this.qBlur.emit(n)};getResolvedRel(){return this.rel?this.rel:"_blank"===this.target?"noopener noreferrer":void 0}render(){const n=null!=this.href&&""!==this.href,t=this.disabled||this.loading,r=void 0!==this.iconOnly?this.iconOnly:this.autoIconOnly,i=this.getShortcutIcon(),a=this.ariaLabel?.trim()||void 0,e=this.hasDefaultSlotIcon(),s={btn:!0,[`variant-${this.variant}`]:!0,[`size-${this.size}`]:!0,[`shape-${this.shape}`]:!0,[`layout-${this.layout}`]:!0,"is-disabled":t,"is-expanded":this.expand,"is-icon-only":r},l=[this.loading&&o("div",{class:"btn-spinner",part:"spinner"}),o("span",{class:"btn-content-wrap",style:{visibility:this.loading?"hidden":"visible"}},o("slot",{name:"icon-left",onSlotchange:this.handleSlotChange},i&&o("q-icon",{name:i,size:"var(--_q-control-icon)",part:"icon"})),o("span",{class:{"btn-label":!0,"has-default-slot-icon":e}},o("slot",{onSlotchange:this.handleSlotChange})),o("slot",{name:"icon-right",onSlotchange:this.handleSlotChange}))];return n?o("a",{class:s,part:"button",href:this.href,target:this.target,rel:this.getResolvedRel(),download:this.download,tabindex:t?-1:void 0,"aria-disabled":t?"true":"false","aria-busy":this.loading?"true":"false","aria-label":a,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur},l):o("button",{class:s,part:"button",type:this.type,disabled:t,"aria-busy":this.loading?"true":"false","aria-label":a,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur},l)}static get delegatesFocus(){return!0}static get watchers(){return{icon:[{handleIconAccessibilityChange:0}],iconOnly:[{handleIconAccessibilityChange:0}],ariaLabel:[{handleIconAccessibilityChange:0}]}}static get style(){return":host{min-width:0;--_q-control-height:var(--q-context-control-height, var(--q-control-height-md, 2.25rem));--_q-control-font:var(--q-context-control-font, var(--q-control-font-md, 0.875rem));--_q-control-line:var(--q-context-control-line, var(--q-control-line-md, 1.25rem));--_q-control-padding:var(--q-context-control-padding, var(--q-control-padding-md, 0.75rem));--_q-control-icon:var(--q-context-control-icon, var(--q-control-icon-md, 1rem));--_q-control-radius:var(--q-context-control-radius, var(--q-control-radius-md, 0.4375rem))}.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:inline-block;box-sizing:border-box}:host([expand]){display:block;width:100%}.btn{display:inline-flex;align-items:center;justify-content:center;position:relative;text-decoration:none;border-radius:var(--q-btn-radius, var(--_q-control-radius));font-family:var(--q-font-family, inherit);font-weight:var(--q-btn-font-weight, var(--q-font-weight-bold, 600));border:1px solid transparent;line-height:1.2;box-sizing:border-box;outline:none;cursor:pointer;user-select:none;-webkit-user-select:none;transition:var(--q-btn-transition, all 150ms cubic-bezier(0.4, 0, 0.2, 1))}.btn.is-expanded{width:100%}.size-sm{border-radius:var(--q-btn-radius-sm, var(--q-btn-radius, var(--_q-control-radius)));padding:var(--q-btn-padding-sm, 6px 10px);font-size:var(--q-font-size-sm, 0.7rem)}.size-md{border-radius:var(--q-btn-radius-md, var(--q-btn-radius, var(--_q-control-radius)));padding:var(--q-btn-padding-md, 5px 8px);font-size:var(--q-btn-font-size, var(--q-font-size-base, 0.9rem))}.size-lg{border-radius:var(--q-btn-radius-lg, var(--q-btn-radius, var(--_q-control-radius)));padding:var(--q-btn-padding-lg, 9px 16px);font-size:var(--q-font-size-lg, 1rem)}.btn.is-icon-only.size-sm{padding:var(--q-btn-icon-padding-sm, 4px);--_q-btn-icon-padding:var(--q-btn-icon-padding-sm, 0px)}.btn.is-icon-only.size-md{padding:var(--q-btn-icon-padding-md, 6px);--_q-btn-icon-padding:var(--q-btn-icon-padding-md, 0px)}.btn.is-icon-only.size-lg{padding:var(--q-btn-icon-padding-lg, 9px);--_q-btn-icon-padding:var(--q-btn-icon-padding-lg, 0px)}.btn.shape-pill{border-radius:999px}.btn.shape-circle{width:var(--q-btn-circle-size, 120px);height:var(--q-btn-circle-size, 120px);padding:var(--q-btn-circle-padding, 12px);border-radius:50%}.btn.layout-stacked .btn-content-wrap{flex-direction:column;gap:var(--q-btn-stacked-gap, 8px)}.variant-primary{background:var(--q-color-primary, #60a5fa);color:var(--q-fg-base, #f9fafb)}.variant-primary:hover:not(.is-disabled){background:var(--q-color-primary-hover, #93c5fd)}.variant-secondary{background:var(--q-color-secondary, #4b5563);color:#ffffff}.variant-secondary:hover:not(.is-disabled){opacity:0.9}.variant-success{background:var(--q-color-success, #34d399);color:var(--q-bg-base, #111827)}.variant-success:hover:not(.is-disabled){opacity:0.9}.variant-danger{background:var(--q-color-danger, #f87171);color:var(--q-bg-base, #111827)}.variant-danger:hover:not(.is-disabled){opacity:0.9}.variant-ghost{background:transparent;border:var(--q-border, 1px solid var(--q-border-color, #374151));color:var(--q-fg-base, #f9fafb)}.variant-ghost:hover:not(.is-disabled){background:rgba(249, 250, 251, 0.08);background:var(--q-btn-hover-overlay, color-mix(in srgb, var(--q-fg-base, #f9fafb) 8%, transparent));border-color:var(--q-color-primary, #60a5fa);color:var(--q-color-primary, #60a5fa)}.variant-text{background:transparent;color:var(--q-fg-base, #f9fafb)}.variant-text:hover:not(.is-disabled){color:var(--q-color-primary, #60a5fa);background:rgba(249, 250, 251, 0.05);background:var(--q-btn-hover-overlay, color-mix(in srgb, var(--q-fg-base, #f9fafb) 5%, transparent))}.btn:active:not(.is-disabled){transform:var(--q-btn-active-transform, scale(0.97))}.btn:focus-visible{outline:var(--q-focus-ring, 2px solid var(--q-color-primary, #60a5fa));outline-offset:2px}.is-disabled{opacity:0.5;cursor:not-allowed}.btn-spinner{position:absolute;width:18px;height:18px;border:2px solid currentColor;border-top-color:transparent;border-radius:50%;animation:btn-spin 0.6s linear infinite}.btn-content-wrap{display:inline-flex;align-items:center;gap:var(--q-btn-content-gap, 8px)}.size-sm .btn-content-wrap{gap:var(--q-btn-content-gap-sm, var(--q-btn-content-gap, 4px))}.btn.is-icon-only .btn-label:not(.has-default-slot-icon){display:none}@keyframes btn-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.btn:not(.shape-circle){min-height:var(--q-btn-height, var(--_q-control-height));padding:var(--q-btn-padding, var(--_q-btn-padding, 0 var(--_q-control-padding)));font-size:var(--q-btn-font-size, var(--_q-control-font));line-height:var(--_q-control-line)}.btn.is-icon-only:not(.shape-circle){min-width:var(--q-btn-height, var(--_q-control-height));padding:var(--_q-btn-icon-padding, 0px)}.btn-content-wrap{gap:var(--q-btn-content-gap, var(--q-space-sm, .5rem))}.size-sm{--_q-btn-padding:var(--q-btn-padding-sm, 0 var(--_q-control-padding))}.size-md{--_q-btn-padding:var(--q-btn-padding-md, 0 var(--_q-control-padding))}.size-lg{--_q-btn-padding:var(--q-btn-padding-lg, 0 var(--_q-control-padding))}.btn{max-width:100%}.btn-content-wrap,.btn-label{min-width:0;overflow-wrap:anywhere}"}},[785,"q-button",{disabled:[516],href:[1],rel:[1],download:[1],icon:[1],iconOnly:[516,"icon-only"],ariaLabel:[1,"aria-label"],variant:[1],size:[1],shape:[513],layout:[513],expand:[516],loading:[516],target:[1],type:[1],autoIconOnly:[32]},void 0,{icon:[{handleIconAccessibilityChange:0}],iconOnly:[{handleIconAccessibilityChange:0}],ariaLabel:[{handleIconAccessibilityChange:0}]}]);function l(){"undefined"!=typeof customElements&&["q-button","q-icon"].forEach((n=>{switch(n){case"q-button":customElements.get(i(n))||customElements.define(i(n),s);break;case"q-icon":customElements.get(i(n))||e()}}))}l();export{s as Q,l as d}
@@ -1 +0,0 @@
1
- import{h as e}from"./p-GU98U1DJ.js";function r(e){return{"--_q-feedback-min":void 0===e?"var(--q-context-feedback-min, 0px)":e?"1rem":"0px"}}function a(r,a,i){return e("span",{id:r,"aria-live":"polite",class:{"q-field-feedback":!0,"error-msg":!!a},part:a?"feedback error-msg":"feedback description"},a||i)}export{r as a,a as f}
@@ -1 +0,0 @@
1
- const e=":root{--q-space-none:0rem;--q-space-xs:0.25rem;--q-space-sm:0.5rem;--q-space-md:0.75rem;--q-space-lg:1rem;--q-space-xl:1.5rem;--q-space-2xl:2rem;--q-space-3xl:3rem;--q-control-height-sm:1.75rem;--q-control-font-sm:0.75rem;--q-control-line-sm:1rem;--q-control-padding-sm:0.5rem;--q-control-icon-sm:0.875rem;--q-control-radius-sm:0.34375rem;--q-control-height-md:2.25rem;--q-control-font-md:0.875rem;--q-control-line-md:1.25rem;--q-control-padding-md:0.75rem;--q-control-icon-md:1rem;--q-control-radius-md:0.4375rem;--q-control-height-lg:2.75rem;--q-control-font-lg:1rem;--q-control-line-lg:1.5rem;--q-control-padding-lg:1rem;--q-control-icon-lg:1.25rem;--q-control-radius-lg:0.53125rem;--q-color-primary:#60a5fa;--q-color-primary-hover:#93c5fd;--q-color-secondary:#9777ea;--q-color-success:#34d399;--q-color-warning:#fbbf24;--q-color-danger:#f87171;--q-bg-base:#0b0f19;--q-bg-surface-1:#111827;--q-bg-surface-2:#19243b;--q-bg-surface-3:#22304d;--q-bg-surface-4:#2c3a58;--q-bg-surface-5:#374761;--q-bg-glass:rgba(25, 36, 59, 0.85);--q-bg-overlay:rgba(0, 0, 0, 0.85);--q-fg-base:#f9fafb;--q-fg-muted:#9ca3af;--q-border-color:#374151;--q-dialog-backdrop-bg:var(--q-bg-overlay, rgba(0, 0, 0, 0.85));--q-dialog-backdrop-solid-bg:var(--q-bg-overlay, rgba(0, 0, 0, 0.85));--q-shadow-low:0 2px 4px rgba(0, 0, 0, 0.2);--q-shadow-medium:0 8px 16px rgba(0, 0, 0, 0.3);--q-shadow-high:0 16px 32px rgba(0, 0, 0, 0.45);--q-glow-interactive:0 0 20px rgba(96, 165, 250, 0.3);--q-border-width:1px;--q-border:var(--q-border-width) solid var(--q-border-color);--q-focus-ring:2px solid var(--q-color-primary);--q-font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;--q-font-size-sm:0.7rem;--q-font-size-base:0.9rem;--q-font-size-lg:1rem;--q-font-weight-normal:400;--q-font-weight-bold:600;--q-radius-sm:4px;--q-radius-md:7px;--q-radius-lg:11px;--q-padding-sm:var(--q-space-sm, .5rem);--q-padding-md:var(--q-space-md, .75rem);--q-padding-lg:var(--q-space-lg, 1rem);--q-transition-fast:150ms ease;--q-transition-normal:250ms cubic-bezier(0.4, 0, 0.2, 1);--q-transition-slow:400ms cubic-bezier(0.4, 0, 0.2, 1);--q-z-index-overlay:1000;--q-z-index-popover:1100;--q-z-index-toast:1200;--q-hover-transform:translateY(-4px) scale(1.02);--q-btn-hover-overlay:color-mix(in srgb, var(--q-fg-base) 8%, transparent);--q-card-border:var(--q-border);--q-card-hover-transform:var(--q-hover-transform);--q-card-transition-duration:var(--q-transition-normal);--q-step-diag-line:2px solid var(--q-border-color);--q-step-diag-border:var(--q-border);--q-step-diag-icon-size:32px;--q-step-diag-item-gap:24px;--q-thumb-aspect-ratio:16 / 9;--q-thumb-border:2px solid var(--q-thumb-border-color);--q-thumb-hover-transform:var(--q-hover-transform);--q-thumb-overlay-bg:rgba(0, 0, 0, 0.4);--q-thumb-radius:var(--q-radius-md);--q-thumb-border-color:transparent;--q-thumb-glow:var(--q-glow-interactive);--q-reel-gap:12px;--q-reel-columns-desktop:repeat(auto-fill, minmax(200px, 1fr));--q-reel-columns-mobile:1fr;--q-lightbox-max-size:90vh;--q-reel-lightbox-btn-bg:rgba(0, 0, 0, 0.5);--q-reel-lightbox-btn-border:1px solid rgba(255, 255, 255, 0.2);--q-reel-lightbox-btn-color:#ffffff;--q-reel-lightbox-btn-hover-bg:rgba(255, 255, 255, 0.2);--q-avatar-size-sm:28px;--q-avatar-size-md:40px;--q-avatar-size-lg:56px;--q-avatar-bg:var(--q-bg-surface-3);--q-avatar-fg:var(--q-fg-base);--q-avatar-border:var(--q-border);--q-conversation-incoming-bg:var(--q-bg-surface-2);--q-conversation-outgoing-bg:var(--q-color-primary);--q-conversation-outgoing-fg:#ffffff;--q-conversation-system-bg:transparent;--q-conversation-system-fg:var(--q-fg-muted);--q-carousel-gap:16px;--q-carousel-padding:24px 20px;--q-carousel-arrow-bg:var(--q-bg-overlay);--q-carousel-arrow-border:var(--q-border);--q-carousel-arrow-color:#ffffff;--q-carousel-arrow-size:40px;--q-carousel-indicator-gap:8px;--q-carousel-indicator-size:6px;--q-progress-transition:var(--q-transition-normal);--q-progress-indeterminate-duration:1.4s;--q-progress-linear-height-sm:4px;--q-progress-linear-height-md:6px;--q-progress-linear-height-lg:8px;--q-progress-linear-radius:999px;--q-progress-circular-size-sm:64px;--q-progress-circular-size-md:120px;--q-progress-circular-size-lg:180px;--q-progress-circular-stroke-width-sm:6px;--q-progress-circular-stroke-width-md:8px;--q-progress-circular-stroke-width-lg:10px;--q-progress-circular-linecap:round;--q-progress-circular-font-weight:var(--q-font-weight-bold);--q-btn-font-weight:var(--q-font-weight-bold);--q-btn-active-transform:scale(0.97);--q-btn-transition:all 150ms cubic-bezier(0.4, 0, 0.2, 1);--q-btn-icon-padding-sm:4px;--q-btn-icon-padding-md:6px;--q-btn-icon-padding-lg:9px;--q-chip-radius:999px;--q-chip-border:var(--q-border);--q-chip-font-weight:var(--q-font-weight-bold);--q-chip-padding-sm:4px 9px;--q-chip-padding-md:6px 11px;--q-chip-padding-lg:8px 14px;--q-chip-height-sm:24px;--q-chip-height-md:30px;--q-chip-height-lg:36px;--q-chip-active-transform:scale(0.97);--q-field-border:var(--q-border);--q-field-border-color-focus:var(--q-color-primary);--q-input-border:var(--q-field-border);--q-dropdown-border:var(--q-field-border);--q-panel-border:var(--q-border);--q-sidepanel-bg:var(--q-bg-surface-1);--q-sidepanel-border:var(--q-border);--q-sidepanel-shadow:var(--q-shadow-high);--q-sidepanel-panel-width:320px;--q-sidepanel-panel-padding:var(--q-padding-lg);--q-sidepanel-panel-header-padding:var(--q-padding-lg);--q-sidepanel-panel-footer-padding:var(--q-padding-lg);--q-sidepanel-panel-section-border:var(--q-border);--q-map-height:100%;--q-map-min-height:240px;--q-map-bg:var(--q-bg-surface-1);--q-map-border:var(--q-border);--q-map-radius:var(--q-radius-lg);--q-map-marker-size:20px;--q-map-marker-size-small:16px;--q-map-marker-size-medium:var(--q-map-marker-size);--q-map-marker-size-large:24px;--q-map-marker-color:var(--q-color-primary);--q-map-marker-success:var(--q-color-success);--q-map-marker-warning:var(--q-color-warning);--q-map-marker-danger:var(--q-color-danger);--q-map-marker-muted:var(--q-fg-muted);--q-map-marker-selected-color:var(--q-fg-base);--q-map-marker-selected-shadow:var(--q-shadow-medium);--q-map-attribution-bg:var(--q-bg-base);--q-map-attribution-color:var(--q-fg-muted);--q-scrollbar-width:6px;--q-scrollbar-width-thin:thin;--q-scrollbar-track-color:transparent;--q-scrollbar-thumb-color:var(--q-border-color, #374151);--q-scrollbar-thumb-color-hover:var(--q-color-primary, #60a5fa);--q-scrollbar-radius:var(--q-radius-sm, 4px)}@media (prefers-color-scheme: light){:root{--q-color-primary:#3b82f6;--q-color-primary-hover:#2563eb;--q-color-secondary:#7c3aed;--q-color-success:#10b981;--q-color-warning:#f59e0b;--q-color-danger:#ef4444;--q-bg-base:#ffffff;--q-bg-surface-1:#f0f3f9;--q-bg-surface-2:#dee5f2;--q-bg-surface-3:#c7d1e6;--q-bg-surface-4:#aab8d5;--q-bg-surface-5:#8b9dc1;--q-bg-glass:rgba(255, 255, 255, 0.85);--q-bg-overlay:rgba(0, 0, 0, 0.6);--q-fg-base:#1f2937;--q-fg-muted:#4b5563;--q-border-color:#e5e7eb;--q-shadow-low:0 2px 4px rgba(0, 0, 0, 0.05);--q-shadow-medium:0 8px 16px rgba(0, 0, 0, 0.08);--q-shadow-high:0 16px 32px rgba(0, 0, 0, 0.12);--q-glow-interactive:0 0 20px rgba(59, 130, 246, 0.3);--q-sidepanel-bg:var(--q-bg-surface-1)}}[data-theme='light']{--q-color-primary:#3b82f6;--q-color-primary-hover:#2563eb;--q-color-secondary:#7c3aed;--q-color-success:#10b981;--q-color-warning:#f59e0b;--q-color-danger:#ef4444;--q-bg-base:#ffffff;--q-bg-surface-1:#f0f3f9;--q-bg-surface-2:#dee5f2;--q-bg-surface-3:#c7d1e6;--q-bg-surface-4:#aab8d5;--q-bg-surface-5:#8b9dc1;--q-bg-glass:rgba(255, 255, 255, 0.85);--q-bg-overlay:rgba(0, 0, 0, 0.6);--q-fg-base:#1f2937;--q-fg-muted:#4b5563;--q-border-color:#e5e7eb;--q-shadow-low:0 2px 4px rgba(0, 0, 0, 0.05);--q-shadow-medium:0 8px 16px rgba(0, 0, 0, 0.08);--q-shadow-high:0 16px 32px rgba(0, 0, 0, 0.12);--q-glow-interactive:0 0 20px rgba(59, 130, 246, 0.3);--q-sidepanel-bg:var(--q-bg-surface-1)}[data-theme='dark']{--q-color-primary:#60a5fa;--q-color-primary-hover:#93c5fd;--q-color-secondary:#9777ea;--q-color-success:#34d399;--q-color-warning:#fbbf24;--q-color-danger:#f87171;--q-bg-base:#0b0f19;--q-bg-surface-1:#111827;--q-bg-surface-2:#19243b;--q-bg-surface-3:#22304d;--q-bg-surface-4:#2c3a58;--q-bg-surface-5:#374761;--q-bg-glass:rgba(25, 36, 59, 0.85);--q-bg-overlay:rgba(0, 0, 0, 0.85);--q-fg-base:#f9fafb;--q-fg-muted:#9ca3af;--q-border-color:#374151;--q-shadow-low:0 2px 4px rgba(0, 0, 0, 0.2);--q-shadow-medium:0 8px 16px rgba(0, 0, 0, 0.3);--q-shadow-high:0 16px 32px rgba(0, 0, 0, 0.45);--q-glow-interactive:0 0 20px rgba(96, 165, 250, 0.3);--q-sidepanel-bg:var(--q-bg-surface-1)}";function r(e,r,o){const t="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;e&&e!==t;){const t=Object.getOwnPropertyDescriptor(e,r);if(t&&(!o||t.get))return t;e=Object.getPrototypeOf(e)}}var o,t=(e,o)=>{var t;Object.entries(null!=(t=o.t.o)?t:{}).map((([t,[a]])=>{if(31&a||32&a){const a=e[t],n=r(Object.getPrototypeOf(e),t,!0)||Object.getOwnPropertyDescriptor(e,t);n&&Object.defineProperty(e,t,{get(){return n.get.call(this)},set(e){n.set.call(this,e)},configurable:!0,enumerable:!0}),o.l.has(t)?e[t]=o.l.get(t):void 0!==a&&(e[t]=a)}}))},a=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},n=(e,r)=>r in e,s=(e,r)=>(0,console.error)(e,r),l=new Map,i="http://www.w3.org/1999/xlink",c=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],f="undefined"!=typeof window?window:{},d=f.HTMLElement||class{},q={i:0,q:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,r,o,t)=>e.addEventListener(r,o,t),rel:(e,r,o,t)=>e.removeEventListener(r,o,t),ce:(e,r)=>new CustomEvent(e,r)},u=(()=>{var e;let r=!1;try{null==(e=f.document)||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){r=!0}}))}catch(e){}return r})(),p=(()=>{try{return!!f.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(e){}return!1})(),b=!!p&&(()=>!!f.document&&Object.getOwnPropertyDescriptor(f.document.adoptedStyleSheets,"length").writable)(),g=!1,m=[],h=[],v=()=>{var e;return(null==(e=f.document)?void 0:e.hidden)?$(y):q.raf(y)},x=(e,r)=>o=>{e.push(o),g||(g=!0,r&&4&q.i?$(y):v())},w=e=>{for(let r=0;r<e.length;r++)try{e[r](performance.now())}catch(e){s(e)}e.length=0},y=()=>{w(m),w(h),(g=m.length>0)&&v()},$=e=>Promise.resolve(undefined).then(e),k=x(h,!0),j=e=>{const r=new URL(e,q.q);return r.origin!==f.location.origin?r.href:r.pathname},O=e=>q.q=e;function S(r){var t;const a={mode:"open"};a.delegatesFocus=!!(16&r.i);const n=this.attachShadow(a);if(void 0===o&&(o=null!=(t=function(e){if(!p)return;const r=new CSSStyleSheet;return r.replaceSync(e),r}(e))?t:null),o)b?n.adoptedStyleSheets.push(o):n.adoptedStyleSheets=[...n.adoptedStyleSheets,o];else if(!p){const r=document.createElement("style");r.innerHTML=e,n.prepend(r)}}var z,M=new WeakMap,C=e=>"sc-"+e.u,E=e=>"object"==(e=typeof e)||"function"===e,A=(e,r,...o)=>{let t=null,a=null,n=!1,l=!1;const i=[],c=r=>{for(let o=0;o<r.length;o++)if(t=r[o],Array.isArray(t))c(t);else if(null!=t&&"boolean"!=typeof t){if(n="function"!=typeof e&&!E(t))t=String(t);else if("function"!=typeof e&&void 0===t.i){s("Invalid vNode child");continue}n&&l?i[i.length-1].p+=t:i.push(n?R(null,t):t),l=n}};if(c(o),r){r.key&&(a=r.key);{const e=r.className||r.class;e&&(r.class="object"!=typeof e?e:Object.keys(e).filter((r=>e[r])).join(" "))}}if("function"==typeof e)return e(null===r?{}:r,i,D);const f=R(e,null);return f.m=r,i.length>0&&(f.h=i),f.v=a,f},R=(e,r)=>({i:0,$:e,p:null!=r?r:null,k:null,h:null,m:null,v:null}),N={},D={forEach:(e,r)=>e.map(H).forEach(r),map:(e,r)=>e.map(H).map(r).map(L)},H=e=>({vattrs:e.m,vchildren:e.h,vkey:e.v,vname:e.j,vtag:e.$,vtext:e.p}),L=e=>{if("function"==typeof e.vtag){const r={...e.vattrs};return e.vkey&&(r.key=e.vkey),e.vname&&(r.name=e.vname),A(e.vtag,r,...e.vchildren||[])}const r=R(e.vtag,e.vtext);return r.m=e.vattrs,r.h=e.vchildren,r.v=e.vkey,r.j=e.vname,r},U=e=>{if(!e)return;const r=Object.keys(e);if(0===r.length)return;let o=!1;for(const t of r){if(o)break;for(const r of e[t])if("string"==typeof r){o=!0;break}}if(!o)return e;const t={};for(const o of r)t[o]=e[o].map((e=>"string"==typeof e?{[e]:0}:e));return t},_=(e,r,o)=>null==e||E(e)?e:4&r?(o&&"string"==typeof e||"false"!==e)&&(""===e||!!e):2&r?"string"==typeof e?parseFloat(e):"number"==typeof e?e:NaN:1&r?String(e):e,P=(e,r)=>{const o=e;return{emit:e=>W(o,r,{bubbles:!0,composed:!0,cancelable:!0,detail:e})}},W=(e,r,o)=>{const t=q.ce(r,o);return e.dispatchEvent(t),t},F=(e,r,o,t,s,l)=>{if(o===t)return;let c=n(e,r),d=r.toLowerCase();if("class"===r){const r=e.classList,a=Y(o);let n=Y(t);r.remove(...a.filter((e=>e&&!n.includes(e)))),r.add(...n.filter((e=>e&&!a.includes(e))))}else if("style"===r){for(const r in o)t&&null!=t[r]||(r.includes("-")?e.style.removeProperty(r):e.style[r]="");for(const r in t)o&&t[r]===o[r]||(r.includes("-")?e.style.setProperty(r,t[r]):e.style[r]=t[r])}else if("key"===r);else if("ref"===r)t&&le(t,e);else if(e.__lookupSetter__(r)||"o"!==r[0]||"n"!==r[1]){if("a"===r[0]&&r.startsWith("attr:")){const o=r.slice(5);let n;{const r=a(e);if(r&&r.t&&r.t.o){const e=r.t.o[o];e&&e[1]&&(n=e[1])}}return n||(n=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==t||!1===t?!1===t&&""!==e.getAttribute(n)||e.removeAttribute(n):e.setAttribute(n,!0===t?"":t))}if("p"===r[0]&&r.startsWith("prop:")){const o=r.slice(5);try{e[o]=t}catch(e){}return}{const a=E(t);if((c||a&&null!==t)&&!s)try{if(e.tagName.includes("-"))e[r]!==t&&(e[r]=t);else{const a=null==t?"":t;"list"===r?c=!1:null!=o&&e[r]===a||("function"==typeof e.__lookupSetter__(r)?e[r]=a:e.setAttribute(r,a))}}catch(e){}let n=!1;d!==(d=d.replace(/^xlink\:?/,""))&&(r=d,n=!0),null==t||!1===t?(!1!==t||""===e.getAttribute(r)||4&l&&!V(r))&&(n?e.removeAttributeNS(i,r):e.removeAttribute(r)):(!c||4&l||s)&&!a&&1===e.nodeType&&(t=!0===t?"":t,n?e.setAttributeNS(i,r,t):e.setAttribute(r,t))}}else if(r="-"===r[2]?r.slice(3):n(f,d)?d.slice(2):d[2]+r.slice(3),o||t){const a=r.endsWith(B);r=r.replace(Z,""),o&&q.rel(e,r,o,a),t&&q.ael(e,r,t,a)}},T=new Set(["draggable","contenteditable","spellcheck"]),V=e=>T.has(e)||e.startsWith("aria-"),I=/\s/,Y=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(I):[]),B="Capture",Z=new RegExp(B+"$"),G=(e,r,o)=>{const t=11===r.k.nodeType&&r.k.host?r.k.host:r.k,a=e&&e.m||{},n=r.m||{};for(const e of J(Object.keys(a)))e in n||F(t,e,a[e],void 0,o,r.i);for(const e of J(Object.keys(n)))F(t,e,a[e],n[e],o,r.i)};function J(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var K=!1,Q=!1,X=[],ee=[],re=(e,r,o)=>{const t=r.h[o];let a,n,s=0;if(null!=t.p)a=t.k=f.document.createTextNode(t.p);else{if(Q||(Q="svg"===t.$),!f.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(a=t.k=f.document.createElementNS(Q?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",t.$),Q&&"foreignObject"===t.$&&(Q=!1),G(null,t,Q),t.h){const r="template"===t.$?a.content:a;for(s=0;s<t.h.length;++s)n=re(e,t,s),n&&r.appendChild(n)}"svg"===t.$?Q=!1:"foreignObject"===a.tagName&&(Q=!0)}return a["s-hn"]=z,a},oe=(e,r,o,t,a,n)=>{let s,l=e;for(l.shadowRoot&&l.tagName===z&&(l=l.shadowRoot),"template"===o.$&&(l=l.content);a<=n;++a)t[a]&&(s=re(null,o,a),s&&(t[a].k=s,ie(l,s,r)))},te=(e,r,o)=>{for(let t=r;t<=o;++t){const r=e[t];if(r){const e=r.k;se(r),e&&e.remove()}}},ae=(e,r,o=!1)=>e.$===r.$&&(o?(o&&!e.v&&r.v&&(e.v=r.v),!0):e.v===r.v),ne=(e,r,o=!1)=>{const t=r.k=e.k,a=e.h,n=r.h,s=r.$,l=r.p;null==l?(Q="svg"===s||"foreignObject"!==s&&Q,"slot"!==s||K||e.j!==r.j&&(r.k["s-sn"]=r.j||"",(e=>{q.i|=1;const r=e.closest(z.toLowerCase());if(null!=r){const o=Array.from(r.__childNodes||r.childNodes).find((e=>e["s-cr"])),t=Array.from(e.__childNodes||e.childNodes);for(const e of o?t.reverse():t)null!=e["s-sh"]&&(ie(r,e,null!=o?o:null),e["s-sh"]=void 0)}q.i&=-2})(r.k.parentElement)),G(e,r,Q),null!==a&&null!==n?((e,r,o,t,a=!1)=>{let n,s,l=0,i=0,c=0,f=0,d=r.length-1,q=r[0],u=r[d],p=t.length-1,b=t[0],g=t[p];const m="template"===o.$?e.content:e;for(;l<=d&&i<=p;)if(null==q)q=r[++l];else if(null==u)u=r[--d];else if(null==b)b=t[++i];else if(null==g)g=t[--p];else if(ae(q,b,a))ne(q,b,a),q=r[++l],b=t[++i];else if(ae(u,g,a))ne(u,g,a),u=r[--d],g=t[--p];else if(ae(q,g,a))ne(q,g,a),ie(m,q.k,u.k.nextSibling),q=r[++l],g=t[--p];else if(ae(u,b,a))ne(u,b,a),ie(m,u.k,q.k),u=r[--d],b=t[++i];else{for(c=-1,f=l;f<=d;++f)if(r[f]&&null!==r[f].v&&r[f].v===b.v){c=f;break}c>=0?(s=r[c],s.$!==b.$?n=re(r&&r[i],o,i):(ne(s,b,a),r[c]=void 0,n=s.k),b=t[++i]):(n=re(r&&r[i],o,i),b=t[++i]),n&&ie(q.k.parentNode,n,q.k)}l>d?oe(e,null==t[p+1]?null:t[p+1].k,o,t,i,p):i>p&&te(r,l,d)})(t,a,r,n,o):null!==n?(null!==e.p&&(t.textContent=""),oe(t,null,r,n,0,n.length-1)):!o&&null!==a&&te(a,0,a.length-1),Q&&"svg"===s&&(Q=!1)):e.p!==l&&(t.data=l)},se=e=>{e.m&&e.m.ref&&X.push((()=>e.m.ref(null))),e.h&&e.h.map(se)},le=(e,r)=>{ee.push((()=>e(r)))},ie=(e,r,o)=>null==e?void 0:e.insertBefore(r,o),ce=(e,r,o=!1)=>{const t=e.$hostElement$,a=e.t,n=e.O||R(null,null);var s;const l=(s=r)&&s.$===N?r:A(null,null,r);if(z=t.tagName,a.S&&(l.m=l.m||{},a.S.forEach((([e,r])=>{l.m[r]=t[e]}))),o&&l.m)for(const e of Object.keys(l.m))t.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(l.m[e]=t[e]);l.$=null,l.i|=4,e.O=l,l.k=n.k=t.shadowRoot||t,K=!(!(1&a.i)||128&a.i),ne(n,l,o),X.forEach((e=>e())),X.length=0,ee.forEach((e=>e())),ee.length=0},fe=(e,r)=>{if(r&&!e.M&&r["s-p"]){const o=r["s-p"].push(new Promise((t=>e.M=()=>{r["s-p"].splice(o-1,1),t()})))}},de=(e,r)=>{if(e.i|=16,4&e.i)return void(e.i|=512);fe(e,e.C);const o=()=>qe(e,r);if(!r)return k(o);queueMicrotask((()=>{o()}))},qe=(e,r)=>{const o=e.$hostElement$,t=o;if(!t)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return a=ve(t,r?"componentWillLoad":"componentWillUpdate",void 0,o),a=ue(a,(()=>ve(t,"componentWillRender",void 0,o))),ue(a,(()=>be(e,t,r)))},ue=(e,r)=>pe(e)?e.then(r).catch((e=>{console.error(e),r()})):r(),pe=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,be=async(e,r,o)=>{var t;const a=e.$hostElement$,n=a["s-rc"];o&&(e=>{const r=e.t,o=e.$hostElement$,t=r.i,a=((e,r)=>{var o,t,a;const n=C(r),s=l.get(n);if(!f.document)return n;if(e=11===e.nodeType?e:f.document,s)if("string"==typeof s){let a,l=M.get(e=e.head||e);if(l||M.set(e,l=new Set),!l.has(n)){a=f.document.createElement("style"),a.textContent=s;const i=null!=(o=q.A)?o:function(){var e,r,o;return null!=(o=null==(r=null==(e=f.document.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:r.getAttribute("content"))?o:void 0}();if(null!=i&&a.setAttribute("nonce",i),!(1&r.i))if("HEAD"===e.nodeName){const r=e.querySelectorAll("link[rel=preconnect]"),o=r.length>0?r[r.length-1].nextSibling:e.querySelector("style");e.insertBefore(a,(null==o?void 0:o.parentNode)===e?o:null)}else if("host"in e)if(p){const r=new(null!=(t=e.defaultView)?t:e.ownerDocument.defaultView).CSSStyleSheet;r.replaceSync(s),b?e.adoptedStyleSheets.unshift(r):e.adoptedStyleSheets=[r,...e.adoptedStyleSheets]}else{const r=e.querySelector("style");r?r.textContent=s+r.textContent:e.prepend(a)}else e.append(a);1&r.i&&e.insertBefore(a,null),4&r.i&&(a.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),l&&l.add(n)}}else{let r=M.get(e);if(r||M.set(e,r=new Set),!r.has(n)){const o=null!=(a=e.defaultView)?a:e.ownerDocument.defaultView;let t;if(s.constructor===o.CSSStyleSheet)t=s;else{t=new o.CSSStyleSheet;for(let e=0;e<s.cssRules.length;e++)t.insertRule(s.cssRules[e].cssText,e)}b?e.adoptedStyleSheets.push(t):e.adoptedStyleSheets=[...e.adoptedStyleSheets,t],r.add(n)}}return n})(o.shadowRoot?o.shadowRoot:o.getRootNode(),r);10&t&&(o["s-sc"]=a,o.classList.add(a+"-h"))})(e);ge(e,r,a,o),n&&(n.map((e=>e())),a["s-rc"]=void 0);{const r=null!=(t=a["s-p"])?t:[],o=()=>me(e);0===r.length?o():(Promise.all(r).then(o).catch(o),e.i|=4,r.length=0)}},ge=(e,r,o,t)=>{try{r=r.render(),e.i&=-17,e.i|=2,ce(e,r,t)}catch(r){s(r,e.$hostElement$)}return null},me=e=>{const r=e.$hostElement$,o=r,t=e.C;ve(o,"componentDidRender",void 0,r),64&e.i?ve(o,"componentDidUpdate",void 0,r):(e.i|=64,xe(r),ve(o,"componentDidLoad",void 0,r),e.R(r),t||he()),e.M&&(e.M(),e.M=void 0),512&e.i&&$((()=>de(e,!1))),e.i&=-517},he=()=>{$((()=>W(f,"appload",{detail:{namespace:"webquark"}})))},ve=(e,r,o,t)=>{if(e&&e[r])try{return e[r](o)}catch(e){s(e,t)}},xe=e=>e.classList.add("hydrated"),we=(e,r,o,t)=>{const n=a(e);if(!n)return;const l=e,i=n.l.get(r),c=n.i,f=l;o=_(o,t.o[r][0],!!(64&t.i));const d=Number.isNaN(i)&&Number.isNaN(o);if(o!==i&&!d){if(n.l.set(r,o),t.N){const e=t.N[r];e&&e.map((e=>{try{const[[t,a]]=Object.entries(e);(128&c||1&a)&&(f?f[t](o,i,r):n.D.push((()=>{n.H[t](o,i,r)})))}catch(e){s(e,l)}}))}if(2&c){if(f.componentShouldUpdate&&!1===f.componentShouldUpdate(o,i,r)&&!(16&c))return;16&c||de(n,!1)}}},ye=(e,o,t)=>{var n,s;const l=e.prototype;64&o.i&&1&t&&c.forEach((e=>{const r=l[e];Object.defineProperty(l,e,{value(...o){var t;const n=a(this),s=this;s?"function"==typeof r&&r.call(s,...o):null==(t=null==n?void 0:n.L)||t.then((r=>{const t=r[e];"function"==typeof t&&t.call(r,...o)}))}})}));{e.watchers&&!o.N&&(o.N=U(e.watchers)),e.deserializers&&!o.U&&(o.U=e.deserializers),e.serializers&&!o._&&(o._=e.serializers);const t=Object.entries(null!=(n=o.o)?n:{});t.map((([e,[t]])=>{if(31&t||32&t){const{get:n,set:s}=r(l,e)||{};n&&(o.o[e][0]|=2048),s&&(o.o[e][0]|=4096),Object.defineProperty(l,e,{get(){return n?n.apply(this):(r=e,a(this).l.get(r));var r},configurable:!0,enumerable:!0}),Object.defineProperty(l,e,{set(r){const n=a(this);if(n){if(s)return void 0===(32&t?this[e]:n.$hostElement$[e])&&n.l.get(e)&&(r=n.l.get(e)),s.apply(this,[_(r,t,!!(64&o.i))]),void we(this,e,r=32&t?this[e]:n.$hostElement$[e],o);we(this,e,r,o)}}})}}));{const r=new Map;l.attributeChangedCallback=function(e,n,s){q.jmp((()=>{var i;const c=r.get(e),f=a(this);if(this.hasOwnProperty(c),l.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const r=null==f?void 0:f.i;if(f&&r&&!(8&r)&&s!==n){const t=this,a=null==(i=o.N)?void 0:i[e];null==a||a.forEach((o=>{const[[a,l]]=Object.entries(o);null!=t[a]&&(128&r||1&l)&&t[a].call(t,s,n,e)}))}return}const d=t.find((([e])=>e===c)),q=d?d[1][0]:0,u=4&q;if(512&q&&8&q&&!E(this[c])&&(null==(p=this[c])||!1===p?null:!0===p?"":String(p))===s)return;var p;const b=u&&null===s&&void 0===this[c];u&&(s=null!==s&&"false"!==s);const g=Object.getOwnPropertyDescriptor(l,c);b||s==this[c]||g.get&&!g.set||(this[c]=s)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=o.N)?s:{}),...t.filter((([e,r])=>31&r[0])).map((([e,t])=>{var a;const n=t[1]||e;return r.set(n,e),512&t[0]&&(null==(a=o.S)||a.push([e,n])),n}))]))}}return e},$e=async(e,r,o)=>{let t;try{if(!(32&r.i)&&(r.i|=32,r.i&=-1025,t=e.constructor,customElements.whenDefined(e.localName).then((()=>r.i|=128)),t&&t.style)){let e;"string"==typeof t.style&&(e=t.style);const r=C(o);if(!l.has(r)){const t=()=>{};((e,r,o)=>{let t=l.get(e);p&&o?(t=t||new CSSStyleSheet,"string"==typeof t?t=r:t.replaceSync(r)):t=r,l.set(e,t)})(r,e,!!(1&o.i)),t()}}const a=r.C,n=()=>de(r,!0);a&&a["s-rc"]?a["s-rc"].push(n):n()}catch(o){s(o,e),r.M&&(r.M(),r.M=void 0),!r.R||1024&r.i||r.R(e)}},ke=(e,r)=>{const o={i:r[0],u:r[1]};try{o.o=r[2],o.P=r[3],o.N=U(e.N),o.U=e.U,o._=e._,o.S=[];const n=e.prototype.connectedCallback,s=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((e,r)=>{const o={i:0,$hostElement$:e,t:r,l:new Map,W:new Map};o.L=new Promise((e=>o.R=e)),e["s-p"]=[],e["s-rc"]=[];const a=o;e.__stencil__getHostRef=()=>a,512&r.i&&t(e,o)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const e=a(this);if(!e)return;je(this,e,o.P),this.__hasHostListenerAttached=!0}(e=>{if(!(1&q.i)){const r=a(e);if(!r)return;const o=r.t,t=()=>{};if(1&r.i)je(e,r,o.P),(null==r?void 0:r.H)||(1024&r.i?setTimeout((()=>$e(e,r,o)),1e3):(null==r?void 0:r.L)&&r.L.then((()=>{})));else{r.i|=1;{let o=e;for(;o=o.parentNode||o.host;)if(o["s-p"]){fe(r,r.C=o);break}}o.o&&Object.entries(o.o).map((([r,[o]])=>{if(31&o&&Object.prototype.hasOwnProperty.call(e,r)){const o=e[r];delete e[r],e[r]=o}})),$e(e,r,o)}t()}})(this),n&&n.call(this)},disconnectedCallback(){(async e=>{if(!(1&q.i)){const r=a(e);(null==r?void 0:r.F)&&(r.F.map((e=>e())),r.F=void 0)}M.has(e)&&M.delete(e),e.shadowRoot&&M.has(e.shadowRoot)&&M.delete(e.shadowRoot)})(this),s&&s.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${o.u}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else S.call(this,o)}}),Object.defineProperty(e,"is",{value:o.u,configurable:!0}),ye(e,o,3)}catch(r){return s(r),e}},je=(e,r,o)=>{o&&f.document&&o.map((([o,t,a])=>{const n=Se(f.document,e,o),s=Oe(r,a),l=ze(o);q.ael(n,t,s,l),(r.F=r.F||[]).push((()=>q.rel(n,t,s,l)))}))},Oe=(e,r)=>o=>{try{e.$hostElement$[r](o)}catch(r){s(r,e.$hostElement$)}},Se=(e,r,o)=>8&o?f:r,ze=e=>u?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e),Me=globalThis.HTMLElement||class{};function Ce(...e){return e.reduceRight(((e,r)=>r(e)),Me)}var Ee=e=>q.A=e,Ae=e=>Object.assign(q,e),Re=new WeakMap;function Ne(e,r){let o=Re.get(r);o||(o={i:0,t:{i:0,u:r.tagName},$hostElement$:r},Re.set(r,o)),ce(o,e)}function De(e){return e}export{d as H,Ce as M,Ee as a,Ae as b,P as c,N as d,j as g,A as h,ke as p,Ne as r,O as s,De as t}
@@ -1 +0,0 @@
1
- const a={none:0,xs:4,sm:8,md:12,lg:16,xl:24,"2xl":32,"3xl":48},n={sm:{height:28,font:12,line:16,padding:8,icon:14,radius:5.5},md:{height:36,font:14,line:20,padding:12,icon:16,radius:7},lg:{height:44,font:16,line:24,padding:16,icon:20,radius:8.5}},e=a=>a/16+"rem";function r(n){return`var(--q-space-${n}, ${e(a[n]??a.lg)})`}function t(a){return Object.fromEntries(Object.keys(n.md).map((r=>[`--q-context-control-${r}`,"inherit"===a?"":`var(--q-control-${r}-${a}, ${e(n[a]?.[r]??n.md[r])})`])))}function c(a){return"transparent"===a?"transparent":`var(--q-bg-${a}, ${{canvas:"var(--q-bg-base, #0b0f19)",panel:"var(--q-bg-surface-1, #111827)",card:"var(--q-bg-surface-2, #19243b)",field:"var(--q-bg-surface-3, #22304d)",floating:"var(--q-bg-surface-4, #2c3a58)",transparent:"transparent"}[a]})`}Object.entries(a).map((([a,n])=>({name:`--q-space-${a}`,value:e(n),label:`Space ${a}`}))),Object.entries(n).flatMap((([a,n])=>Object.entries(n).map((([n,r])=>({name:`--q-control-${n}-${a}`,value:e(r),label:`${a} control ${n}`})))));export{c as a,t as c,r as s}
@@ -1,38 +0,0 @@
1
- /** Canonical theme dimensions. Rem values assume a 16px root font. */
2
- const spaces = { none: 0, xs: 4, sm: 8, md: 12, lg: 16, xl: 24, '2xl': 32, '3xl': 48 };
3
- const controls = {
4
- sm: { height: 28, font: 12, line: 16, padding: 8, icon: 14, radius: 5.5 },
5
- md: { height: 36, font: 14, line: 20, padding: 12, icon: 16, radius: 7 },
6
- lg: { height: 44, font: 16, line: 24, padding: 16, icon: 20, radius: 8.5 },
7
- };
8
- const rem = (pixels) => `${pixels / 16}rem`;
9
- [
10
- ...Object.entries(spaces).map(([key, value]) => ({ name: `--q-space-${key}`, value: rem(value), label: `Space ${key}` })),
11
- ...Object.entries(controls).flatMap(([size, metrics]) => Object.entries(metrics).map(([key, value]) => ({
12
- name: `--q-control-${key}-${size}`, value: rem(value), label: `${size} control ${key}`,
13
- }))),
14
- ];
15
- function spaceValue(value) {
16
- return `var(--q-space-${value}, ${rem(spaces[value] ?? spaces.lg)})`;
17
- }
18
- /** Only scope owners publish context metrics; leaf controls never change them. */
19
- function controlScope(size) {
20
- return Object.fromEntries(Object.keys(controls.md).map(metric => [
21
- `--q-context-control-${metric}`,
22
- size === 'inherit' ? '' : `var(--q-control-${metric}-${size}, ${rem(controls[size]?.[metric] ?? controls.md[metric])})`,
23
- ]));
24
- }
25
- /** Resolve roles at the component, not at :root, to respect scoped palettes. */
26
- function surfaceValue(surface) {
27
- const defaults = {
28
- canvas: 'var(--q-bg-base, #0b0f19)',
29
- panel: 'var(--q-bg-surface-1, #111827)',
30
- card: 'var(--q-bg-surface-2, #19243b)',
31
- field: 'var(--q-bg-surface-3, #22304d)',
32
- floating: 'var(--q-bg-surface-4, #2c3a58)',
33
- transparent: 'transparent',
34
- };
35
- return surface === 'transparent' ? 'transparent' : `var(--q-bg-${surface}, ${defaults[surface]})`;
36
- }
37
-
38
- export { surfaceValue as a, controlScope as c, spaceValue as s };
@@ -1 +0,0 @@
1
- import{r as a,c as t,a as r,h as e}from"./p-DbGG9Q40.js";import{i}from"./p-CGZPmEUB.js";import{s}from"./p-BJiYCN3i.js";function o(a){return a.tabId?.trim()||a.value}function b(a,t,r,e){const i=t.tabId?.trim();return i&&!e?i:`${a}-tab-${s=r,Array.from(s,(a=>a.codePointAt(0).toString(16))).join("-")}`;var s}let n=0;const l=class{constructor(r){a(this,r),this.qChange=t(this,"qChange")}get el(){return r(this)}items=[];value="";orientation="horizontal";size="md";variant="underline";stretch=!1;ariaLabel="Sections";qChange;instanceId="q-tabs-"+ ++n;get parsedItems(){return s(this.items,[],"QTabs").flatMap((a=>{if("string"==typeof a){const t=a.trim();return t?[{label:t,value:t}]:[]}if(a&&"object"==typeof a&&"string"==typeof a.label&&"string"==typeof a.value){const t=a.label.trim(),r=a.value.trim();return t&&r?[{...a,label:t,value:r}]:[]}return[]}))}getActiveIndex(a){const t=a.findIndex((a=>!a.disabled&&a.value===this.value));return t>=0?t:a.findIndex((a=>!a.disabled))}selectItem(a){a.disabled||a.value===this.value||this.qChange.emit(a.value)}handleKeyDown=(a,t)=>{const r=this.parsedItems,e="horizontal"===this.orientation;let i;if("Home"===a.key?i=d(r,0,1):"End"===a.key?i=d(r,r.length-1,-1):e&&"ArrowRight"===a.key||!e&&"ArrowDown"===a.key?i=v(r,t,1):(e&&"ArrowLeft"===a.key||!e&&"ArrowUp"===a.key)&&(i=v(r,t,-1)),void 0===i||i<0)return;a.preventDefault();const s=r[i],o=this.el.shadowRoot?.querySelectorAll('[role="tab"]')[i];!function(a){if(a)try{a.focus({preventScroll:!0})}catch{a.focus()}}(o),this.selectItem(s)};render(){const a=this.parsedItems,t=i(a,o,{warningContext:"q-tabs items"}),r=this.getActiveIndex(a);return e("div",{key:"31312b7a411bea958f415b19638aabd8721b5f63",class:{"tab-list":!0,[`size-${this.size}`]:!0,[`variant-${this.variant}`]:!0},part:"tablist",role:"tablist","aria-label":this.ariaLabel?.trim()||"Sections","aria-orientation":this.orientation},t.map((({item:a,index:t,key:i,usesFallback:s})=>{const o=t===r,n=Boolean(a.icon&&a.iconOnly);return e("button",{key:i,id:b(this.instanceId,a,i,s),class:{tab:!0,"has-icon":Boolean(a.icon),"is-icon-only":n,"is-selected":o},type:"button",role:"tab",part:"tab"+(o?" selected-tab":""),disabled:a.disabled,"aria-label":n?a.label:void 0,"aria-selected":o?"true":"false","aria-controls":a.panelId,tabindex:o?0:-1,title:a.label,onClick:()=>this.selectItem(a),onKeyDown:a=>this.handleKeyDown(a,t)},a.icon&&e("q-icon",{class:"tab__icon",name:a.icon,library:"lucide",size:this.size,"aria-hidden":"true"}),!n&&e("span",{class:"tab__label"},a.label))})))}};function d(a,t,r){for(let e=t;e>=0&&e<a.length;e+=r)if(!a[e].disabled)return e;return-1}function v(a,t,r){if(0===a.length)return-1;for(let e=1;e<=a.length;e+=1){const i=(t+r*e+a.length)%a.length;if(!a[i].disabled)return i}return-1}l.style=":host{display:block;min-width:0;color:var(--q-tabs-fg, var(--q-fg-muted, #9ca3af));font-family:var(--q-font-family, inherit)}.tab-list{--_q-tabs-list-gap:0;--_q-tabs-list-padding:0;--_q-tabs-list-bg:transparent;--_q-tabs-list-radius:0;--_q-tabs-tab-bg:transparent;--_q-tabs-tab-border:0;--_q-tabs-tab-radius:0;--_q-tabs-tab-hover-bg:var(--q-tabs-hover-bg, color-mix(in srgb, currentColor 6%, transparent));--_q-tabs-tab-hover-border:transparent;--_q-tabs-tab-active-bg:transparent;--_q-tabs-tab-active-border:transparent;--_q-tabs-tab-active-fg:var(--q-tabs-active-fg, var(--q-color-primary, #60a5fa));display:flex;gap:var(--_q-tabs-list-gap);min-width:0;overflow-x:auto;overflow-y:hidden;padding:var(--_q-tabs-list-padding);border-radius:var(--_q-tabs-list-radius);background:var(--_q-tabs-list-bg);scrollbar-width:none}.tab-list::-webkit-scrollbar{display:none}.tab{position:relative;display:inline-flex;flex:0 0 auto;gap:var(--q-tabs-icon-gap, 6px);align-items:center;justify-content:center;box-sizing:border-box;min-width:0;max-width:var(--q-tabs-tab-max-width, 94px);overflow:hidden;color:inherit;border:var(--_q-tabs-tab-border);border-radius:var(--_q-tabs-tab-radius);background:var(--_q-tabs-tab-bg);font:inherit;font-weight:var(--q-tabs-font-weight, var(--q-font-weight-bold, 600));text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.tab__icon{flex:0 0 auto}.tab__label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tab-list.size-sm .tab{min-height:var(--q-tabs-height-sm, var(--q-tabs-height, 34px));padding:var(--q-tabs-padding-sm, var(--q-tabs-padding, 6px 10px));font-size:var(--q-tabs-font-size-sm, var(--q-tabs-font-size, var(--q-font-size-sm, 0.7rem)))}.tab-list.size-md .tab{min-height:var(--q-tabs-height-md, var(--q-tabs-height, 42px));padding:var(--q-tabs-padding-md, var(--q-tabs-padding, 9px 16px));font-size:var(--q-tabs-font-size-md, var(--q-tabs-font-size, var(--q-font-size-base, 0.9rem)))}.tab-list.size-lg .tab{min-height:var(--q-tabs-height-lg, var(--q-tabs-height, 50px));padding:var(--q-tabs-padding-lg, var(--q-tabs-padding, 14px 18px));font-size:var(--q-tabs-font-size-lg, var(--q-tabs-font-size, var(--q-font-size-lg, 1rem)))}.tab-list.size-sm .tab.is-icon-only{width:var(--q-tabs-icon-only-width-sm, var(--q-tabs-height-sm, var(--q-tabs-height, 34px)));padding-inline:0}.tab-list.size-md .tab.is-icon-only{width:var(--q-tabs-icon-only-width-md, var(--q-tabs-height-md, var(--q-tabs-height, 42px)));padding-inline:0}.tab-list.size-lg .tab.is-icon-only{width:var(--q-tabs-icon-only-width-lg, var(--q-tabs-height-lg, var(--q-tabs-height, 50px)));padding-inline:0}.tab.is-icon-only{flex:0 0 auto;max-width:none}.tab::after{display:none;position:absolute;right:10px;bottom:0;left:10px;height:2px;border-radius:999px 999px 0 0;background:transparent;content:''}.tab:hover:not(:disabled):not(.is-selected){color:var(--q-tabs-hover-fg, var(--q-fg-base, #f9fafb));border-color:var(--_q-tabs-tab-hover-border);background:var(--_q-tabs-tab-hover-bg)}.tab.is-selected{color:var(--_q-tabs-tab-active-fg);border-color:var(--_q-tabs-tab-active-border);background:var(--_q-tabs-tab-active-bg)}.tab-list.variant-underline{--_q-tabs-tab-radius:var(--q-tabs-underline-radius, var(--q-radius-md, 7px) var(--q-radius-md, 7px) 0 0);border-bottom:var(--q-tabs-border, 1px solid var(--q-border-color, #374151))}.tab-list.variant-underline .tab::after{display:block}.tab-list.variant-underline .tab.is-selected::after{background:currentColor}.tab-list.variant-enclosed{--_q-tabs-tab-border:var(--q-tabs-enclosed-tab-border, 1px solid transparent);--_q-tabs-tab-radius:var(--q-tabs-enclosed-radius, var(--q-radius-md, 7px) var(--q-radius-md, 7px) 0 0);--_q-tabs-tab-hover-bg:var(--q-tabs-enclosed-hover-bg, var(--q-bg-surface-2, #374151));--_q-tabs-tab-hover-border:var(--q-tabs-enclosed-hover-border, var(--q-border-color, #374151));--_q-tabs-tab-active-bg:var(--q-tabs-enclosed-active-bg, var(--q-bg-surface-1, #1f2937));--_q-tabs-tab-active-border:var(--q-tabs-enclosed-active-border, var(--q-color-primary, #60a5fa));align-items:flex-end;border-bottom:var(--q-tabs-border, 1px solid var(--q-border-color, #374151))}.tab-list.variant-enclosed .tab{margin-bottom:-1px}.tab-list.variant-enclosed .tab.is-selected{border-bottom-color:var(--q-tabs-enclosed-active-bg, var(--q-bg-surface-1, #1f2937))}.tab-list.variant-pills{--_q-tabs-list-gap:var(--q-tabs-pills-gap, 4px);--_q-tabs-tab-border:var(--q-tabs-pills-border, 1px solid var(--q-border-color, #374151));--_q-tabs-tab-radius:var(--q-tabs-pills-radius, 999px);--_q-tabs-tab-hover-bg:var(--q-tabs-pills-hover-bg, var(--q-bg-surface-2, #374151));--_q-tabs-tab-hover-border:var(--q-tabs-pills-hover-border, var(--q-color-primary, #60a5fa));--_q-tabs-tab-active-bg:var(--q-tabs-pills-active-bg, var(--q-color-primary, #60a5fa));--_q-tabs-tab-active-border:var(--q-tabs-pills-active-border, var(--q-color-primary, #60a5fa));--_q-tabs-tab-active-fg:var(--q-tabs-pills-active-fg, var(--q-bg-base, #111827))}.tab-list.variant-button{--_q-tabs-list-gap:var(--q-tabs-button-gap, 4px);--_q-tabs-tab-border:var(--q-tabs-button-border, 1px solid var(--q-border-color, #374151));--_q-tabs-tab-radius:var(--q-tabs-button-radius, var(--q-radius-md, 7px));--_q-tabs-tab-bg:var(--q-tabs-button-bg, transparent);--_q-tabs-tab-hover-bg:var(--q-tabs-button-hover-bg, var(--q-bg-surface-2, #374151));--_q-tabs-tab-hover-border:var(--q-tabs-button-hover-border, var(--q-color-primary, #60a5fa));--_q-tabs-tab-active-bg:var(--q-tabs-button-active-bg, var(--q-color-primary, #60a5fa));--_q-tabs-tab-active-border:var(--q-tabs-button-active-border, var(--q-color-primary, #60a5fa));--_q-tabs-tab-active-fg:var(--q-tabs-button-active-fg, var(--q-bg-base, #111827))}.tab:focus-visible{z-index:1;outline:var(--q-focus-ring, 2px solid var(--q-color-primary, #60a5fa));outline-offset:-3px}.tab:disabled{opacity:0.45;cursor:not-allowed}:host([stretch]) .tab:not(.is-icon-only){flex:1 1 0}:host([stretch]) .tab.is-icon-only{flex:0 0 auto}:host([orientation='vertical']) .tab-list{flex-direction:column;overflow-x:visible;overflow-y:auto;border-bottom:0}:host([orientation='vertical']) .tab{width:100%;text-align:left}:host([orientation='vertical']) .tab-list.variant-underline{border-right:var(--q-tabs-border, 1px solid var(--q-border-color, #374151))}:host([orientation='vertical']) .tab-list.variant-underline .tab::after{top:8px;right:0;bottom:8px;left:auto;width:2px;height:auto;border-radius:999px 0 0 999px}:host([orientation='vertical']) .tab-list.variant-enclosed{align-items:stretch;border-right:var(--q-tabs-border, 1px solid var(--q-border-color, #374151))}:host([orientation='vertical']) .tab-list.variant-enclosed .tab{margin-right:-1px;margin-bottom:0;border-radius:var(--q-tabs-enclosed-radius-vertical, var(--q-radius-md, 7px) 0 0 var(--q-radius-md, 7px))}:host([orientation='vertical']) .tab-list.variant-enclosed .tab.is-selected{border-right-color:var(--q-tabs-enclosed-active-bg, var(--q-bg-surface-1, #1f2937));border-bottom-color:var(--q-tabs-enclosed-active-border, var(--q-color-primary, #60a5fa))}";export{l as q_tabs}