@webquark/core 1.1.0-dev.1 → 1.1.0-dev.2

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 (232) hide show
  1. package/dist/cjs/{action.props-Bxf6g2CW.js → action.props-hpMla743.js} +1 -1
  2. package/dist/cjs/chevron-up-B76247zT.js +30 -0
  3. package/dist/cjs/{index-D5SQkd__.js → index-Vzfd3Ljg.js} +37 -0
  4. package/dist/cjs/index.cjs.js +3 -0
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/q-alert.cjs.entry.js +1 -1
  7. package/dist/cjs/q-avatar.cjs.entry.js +1 -1
  8. package/dist/cjs/q-button_2.cjs.entry.js +2 -2
  9. package/dist/cjs/q-card.cjs.entry.js +1 -1
  10. package/dist/cjs/q-carousel.cjs.entry.js +1 -1
  11. package/dist/cjs/q-chip.cjs.entry.js +2 -2
  12. package/dist/cjs/q-conversation-bubble.cjs.entry.js +1 -1
  13. package/dist/cjs/q-data-table.cjs.entry.js +3 -2
  14. package/dist/cjs/q-dialog.cjs.entry.js +1 -1
  15. package/dist/cjs/q-dropdown.cjs.entry.js +1 -1
  16. package/dist/cjs/q-form.cjs.entry.js +1 -1
  17. package/dist/cjs/q-icon.cjs.entry.js +63 -4
  18. package/dist/cjs/q-input_2.cjs.entry.js +1 -1
  19. package/dist/cjs/q-link.cjs.entry.js +2 -2
  20. package/dist/cjs/q-map.cjs.entry.js +1 -1
  21. package/dist/cjs/q-navbar.cjs.entry.js +1 -1
  22. package/dist/cjs/q-pagination.cjs.entry.js +1 -1
  23. package/dist/cjs/q-panel.cjs.entry.js +1 -1
  24. package/dist/cjs/q-quantity-selector.cjs.entry.js +1 -1
  25. package/dist/cjs/q-radio-group.cjs.entry.js +1 -1
  26. package/dist/cjs/q-reel.cjs.entry.js +1 -1
  27. package/dist/cjs/q-scrollable.cjs.entry.js +1 -1
  28. package/dist/cjs/q-sidepanel.cjs.entry.js +185 -3
  29. package/dist/cjs/q-step-diagram-item.cjs.entry.js +1 -1
  30. package/dist/cjs/q-step-diagram.cjs.entry.js +1 -1
  31. package/dist/cjs/q-syntax-box.cjs.entry.js +57 -2
  32. package/dist/cjs/q-tabs.cjs.entry.js +1 -1
  33. package/dist/cjs/q-textarea.cjs.entry.js +1 -1
  34. package/dist/cjs/q-thumbnail.cjs.entry.js +1 -1
  35. package/dist/cjs/q-toast.cjs.entry.js +1 -1
  36. package/dist/cjs/q-toggle.cjs.entry.js +1 -1
  37. package/dist/cjs/q-toolbar.cjs.entry.js +1 -1
  38. package/dist/cjs/registry-BhkCNgxt.js +179 -0
  39. package/dist/cjs/webquark.cjs.js +2 -2
  40. package/dist/collection/components/data-display/data-table/internals/render-sort-indicator.js +2 -1
  41. package/dist/collection/components/data-display/syntax-box/syntax-box.js +2 -1
  42. package/dist/collection/components/layout/sidepanel/internals/nav-items.js +2 -1
  43. package/dist/collection/components/layout/sidepanel/sidepanel.js +19 -1
  44. package/dist/collection/components/media/icon/icon.js +67 -6
  45. package/dist/collection/components/media/icon/internals/registry.js +171 -0
  46. package/dist/collection/components/media/icon/internals/registry.unit.test.js +42 -0
  47. package/dist/collection/components/media/icon/internals/render-definition.js +24 -0
  48. package/dist/collection/index.js +1 -0
  49. package/dist/components/index.js +1 -1
  50. package/dist/components/{p-xNd-aY2K.js → p-B6NJEaqd.js} +1 -1
  51. package/dist/components/{p-CBVOdtO_.js → p-B6g9Pj3f.js} +1 -1
  52. package/dist/components/{p-Dd8ZWrLX.js → p-BnmIFx4N.js} +1 -1
  53. package/dist/components/p-BvBRW3dl.js +1 -0
  54. package/dist/components/{p-CXcle-2Q.js → p-C7yQ3tON.js} +1 -1
  55. package/dist/components/p-CDktnDug.js +13 -0
  56. package/dist/components/p-DAl7U6Ms.js +1 -0
  57. package/dist/components/{p-D-SCwJg6.js → p-DcsB8P_Y.js} +1 -1
  58. package/dist/components/{p-DCICQbw4.js → p-Dnud2v8F.js} +1 -1
  59. package/dist/components/p-QHgICI4w.js +1 -0
  60. package/dist/components/q-alert.js +1 -1
  61. package/dist/components/q-avatar.js +1 -1
  62. package/dist/components/q-button.js +1 -1
  63. package/dist/components/q-card.js +1 -1
  64. package/dist/components/q-carousel.js +1 -1
  65. package/dist/components/q-chip.js +1 -1
  66. package/dist/components/q-conversation-bubble.js +1 -1
  67. package/dist/components/q-data-table.js +1 -1
  68. package/dist/components/q-dialog.js +1 -1
  69. package/dist/components/q-dropdown.js +1 -1
  70. package/dist/components/q-form.js +1 -1
  71. package/dist/components/q-icon.js +1 -1
  72. package/dist/components/q-input.js +1 -1
  73. package/dist/components/q-link.js +1 -1
  74. package/dist/components/q-map.js +1 -1
  75. package/dist/components/q-navbar.js +1 -1
  76. package/dist/components/q-pagination.js +1 -1
  77. package/dist/components/q-panel.js +1 -1
  78. package/dist/components/q-progress.js +1 -1
  79. package/dist/components/q-quantity-selector.js +1 -1
  80. package/dist/components/q-radio-group.js +1 -1
  81. package/dist/components/q-reel.js +1 -1
  82. package/dist/components/q-scrollable.js +1 -1
  83. package/dist/components/q-sidepanel.js +13 -1
  84. package/dist/components/q-step-diagram-item.js +1 -1
  85. package/dist/components/q-step-diagram.js +1 -1
  86. package/dist/components/q-syntax-box.js +13 -1
  87. package/dist/components/q-tabs.js +1 -1
  88. package/dist/components/q-textarea.js +1 -1
  89. package/dist/components/q-thumbnail.js +1 -1
  90. package/dist/components/q-toast.js +1 -1
  91. package/dist/components/q-toggle.js +1 -1
  92. package/dist/components/q-toolbar.js +1 -1
  93. package/dist/components/q-tooltip.js +1 -1
  94. package/dist/esm/{action.props-CzaBbbcQ.js → action.props-BJWXy1Ec.js} +1 -1
  95. package/dist/esm/chevron-up-CDktnDug.js +27 -0
  96. package/dist/esm/{index-DOk7gYkf.js → index-DweBlExe.js} +37 -0
  97. package/dist/esm/index.js +1 -0
  98. package/dist/esm/loader.js +3 -3
  99. package/dist/esm/q-alert.entry.js +1 -1
  100. package/dist/esm/q-avatar.entry.js +1 -1
  101. package/dist/esm/q-button_2.entry.js +2 -2
  102. package/dist/esm/q-card.entry.js +1 -1
  103. package/dist/esm/q-carousel.entry.js +1 -1
  104. package/dist/esm/q-chip.entry.js +2 -2
  105. package/dist/esm/q-conversation-bubble.entry.js +1 -1
  106. package/dist/esm/q-data-table.entry.js +3 -2
  107. package/dist/esm/q-dialog.entry.js +1 -1
  108. package/dist/esm/q-dropdown.entry.js +1 -1
  109. package/dist/esm/q-form.entry.js +1 -1
  110. package/dist/esm/q-icon.entry.js +63 -4
  111. package/dist/esm/q-input_2.entry.js +1 -1
  112. package/dist/esm/q-link.entry.js +2 -2
  113. package/dist/esm/q-map.entry.js +1 -1
  114. package/dist/esm/q-navbar.entry.js +1 -1
  115. package/dist/esm/q-pagination.entry.js +1 -1
  116. package/dist/esm/q-panel.entry.js +1 -1
  117. package/dist/esm/q-quantity-selector.entry.js +1 -1
  118. package/dist/esm/q-radio-group.entry.js +1 -1
  119. package/dist/esm/q-reel.entry.js +1 -1
  120. package/dist/esm/q-scrollable.entry.js +1 -1
  121. package/dist/esm/q-sidepanel.entry.js +185 -3
  122. package/dist/esm/q-step-diagram-item.entry.js +1 -1
  123. package/dist/esm/q-step-diagram.entry.js +1 -1
  124. package/dist/esm/q-syntax-box.entry.js +57 -2
  125. package/dist/esm/q-tabs.entry.js +1 -1
  126. package/dist/esm/q-textarea.entry.js +1 -1
  127. package/dist/esm/q-thumbnail.entry.js +1 -1
  128. package/dist/esm/q-toast.entry.js +1 -1
  129. package/dist/esm/q-toggle.entry.js +1 -1
  130. package/dist/esm/q-toolbar.entry.js +1 -1
  131. package/dist/esm/registry-BvBRW3dl.js +173 -0
  132. package/dist/esm/webquark.js +3 -3
  133. package/dist/playground/build/index.esm.js +1 -1
  134. package/dist/{webquark/p-33a45980.entry.js → playground/build/p-06813183.entry.js} +1 -1
  135. package/dist/playground/build/{p-28cc0172.entry.js → p-09d43469.entry.js} +1 -1
  136. package/dist/{webquark/p-1d1ec52e.entry.js → playground/build/p-256d199a.entry.js} +1 -1
  137. package/dist/playground/build/{p-6deac326.entry.js → p-2f0bbb67.entry.js} +1 -1
  138. package/dist/{webquark/p-94413975.entry.js → playground/build/p-31d62bd0.entry.js} +1 -1
  139. package/dist/{webquark/p-4557f558.entry.js → playground/build/p-35c9fa4d.entry.js} +1 -1
  140. package/dist/playground/build/p-3e4d2d19.entry.js +1 -0
  141. package/dist/playground/build/{p-b8aa6763.entry.js → p-4b38c28f.entry.js} +1 -1
  142. package/dist/{webquark/p-ad1c341c.entry.js → playground/build/p-4f8ee3f7.entry.js} +1 -1
  143. package/dist/playground/build/{p-6f1b98c2.entry.js → p-53a5c493.entry.js} +1 -1
  144. package/dist/playground/build/{p-711576c8.entry.js → p-721d2479.entry.js} +1 -1
  145. package/dist/playground/build/{p-c2032ee1.entry.js → p-7be7478a.entry.js} +1 -1
  146. package/dist/{webquark/p-58724642.entry.js → playground/build/p-7c4e6512.entry.js} +1 -1
  147. package/dist/playground/build/{p-011bab4c.entry.js → p-7c9d705e.entry.js} +1 -1
  148. package/dist/playground/build/{p-254555b1.entry.js → p-8ff218f7.entry.js} +1 -1
  149. package/dist/{webquark/p-48a8413d.entry.js → playground/build/p-94eba9a9.entry.js} +1 -1
  150. package/dist/playground/build/p-BvBRW3dl.js +1 -0
  151. package/dist/playground/build/p-CDktnDug.js +13 -0
  152. package/dist/playground/build/p-DweBlExe.js +2 -0
  153. package/dist/playground/build/p-Dxs6LLBG.js +1 -0
  154. package/dist/playground/build/{p-a054f314.entry.js → p-a0861b0e.entry.js} +1 -1
  155. package/dist/playground/build/p-a2a3135f.entry.js +1 -0
  156. package/dist/playground/build/p-a7b90eef.entry.js +13 -0
  157. package/dist/playground/build/{p-f51a7a3c.entry.js → p-bc0a0428.entry.js} +1 -1
  158. package/dist/playground/build/p-bc7d7cbf.entry.js +13 -0
  159. package/dist/playground/build/{p-93ffb8ab.entry.js → p-c4016e61.entry.js} +1 -1
  160. package/dist/{webquark/p-0aeed0be.entry.js → playground/build/p-c64be717.entry.js} +1 -1
  161. package/dist/playground/build/{p-590cde02.entry.js → p-d142bb86.entry.js} +1 -1
  162. package/dist/{webquark/p-cddadb39.entry.js → playground/build/p-d22a876a.entry.js} +1 -1
  163. package/dist/playground/build/{p-b8a75199.entry.js → p-d691a1aa.entry.js} +1 -1
  164. package/dist/playground/build/{p-13b7bd40.entry.js → p-dabaddcb.entry.js} +1 -1
  165. package/dist/{webquark/p-09e29cf9.entry.js → playground/build/p-dac913f9.entry.js} +1 -1
  166. package/dist/playground/build/{p-33cfbd33.entry.js → p-de7364cd.entry.js} +1 -1
  167. package/dist/playground/build/{p-9d14b8ec.entry.js → p-e298fb31.entry.js} +1 -1
  168. package/dist/{webquark/p-4d5d0313.entry.js → playground/build/p-e354a398.entry.js} +1 -1
  169. package/dist/playground/build/{p-dda5be3e.entry.js → p-f1ab576a.entry.js} +1 -1
  170. package/dist/playground/build/webquark.esm.js +1 -1
  171. package/dist/types/components/layout/sidepanel/sidepanel.d.ts +1 -0
  172. package/dist/types/components/media/icon/icon.d.ts +6 -3
  173. package/dist/types/components/media/icon/icon.types.d.ts +25 -0
  174. package/dist/types/components/media/icon/internals/registry.d.ts +11 -0
  175. package/dist/types/components/media/icon/internals/registry.unit.test.d.ts +1 -0
  176. package/dist/types/components/media/icon/internals/render-definition.d.ts +2 -0
  177. package/dist/types/components.d.ts +14 -6
  178. package/dist/types/index.d.ts +2 -0
  179. package/dist/webquark/index.esm.js +1 -1
  180. package/dist/{playground/build/p-33a45980.entry.js → webquark/p-06813183.entry.js} +1 -1
  181. package/dist/webquark/{p-28cc0172.entry.js → p-09d43469.entry.js} +1 -1
  182. package/dist/{playground/build/p-1d1ec52e.entry.js → webquark/p-256d199a.entry.js} +1 -1
  183. package/dist/webquark/{p-6deac326.entry.js → p-2f0bbb67.entry.js} +1 -1
  184. package/dist/{playground/build/p-94413975.entry.js → webquark/p-31d62bd0.entry.js} +1 -1
  185. package/dist/{playground/build/p-4557f558.entry.js → webquark/p-35c9fa4d.entry.js} +1 -1
  186. package/dist/webquark/p-3e4d2d19.entry.js +1 -0
  187. package/dist/webquark/{p-b8aa6763.entry.js → p-4b38c28f.entry.js} +1 -1
  188. package/dist/{playground/build/p-ad1c341c.entry.js → webquark/p-4f8ee3f7.entry.js} +1 -1
  189. package/dist/webquark/{p-6f1b98c2.entry.js → p-53a5c493.entry.js} +1 -1
  190. package/dist/webquark/{p-711576c8.entry.js → p-721d2479.entry.js} +1 -1
  191. package/dist/webquark/{p-c2032ee1.entry.js → p-7be7478a.entry.js} +1 -1
  192. package/dist/{playground/build/p-58724642.entry.js → webquark/p-7c4e6512.entry.js} +1 -1
  193. package/dist/webquark/{p-011bab4c.entry.js → p-7c9d705e.entry.js} +1 -1
  194. package/dist/webquark/{p-254555b1.entry.js → p-8ff218f7.entry.js} +1 -1
  195. package/dist/{playground/build/p-48a8413d.entry.js → webquark/p-94eba9a9.entry.js} +1 -1
  196. package/dist/webquark/p-BvBRW3dl.js +1 -0
  197. package/dist/webquark/p-CDktnDug.js +13 -0
  198. package/dist/webquark/p-DweBlExe.js +2 -0
  199. package/dist/webquark/p-Dxs6LLBG.js +1 -0
  200. package/dist/webquark/{p-a054f314.entry.js → p-a0861b0e.entry.js} +1 -1
  201. package/dist/webquark/p-a2a3135f.entry.js +1 -0
  202. package/dist/webquark/p-a7b90eef.entry.js +13 -0
  203. package/dist/webquark/{p-f51a7a3c.entry.js → p-bc0a0428.entry.js} +1 -1
  204. package/dist/webquark/p-bc7d7cbf.entry.js +13 -0
  205. package/dist/webquark/{p-93ffb8ab.entry.js → p-c4016e61.entry.js} +1 -1
  206. package/dist/{playground/build/p-0aeed0be.entry.js → webquark/p-c64be717.entry.js} +1 -1
  207. package/dist/webquark/{p-590cde02.entry.js → p-d142bb86.entry.js} +1 -1
  208. package/dist/{playground/build/p-cddadb39.entry.js → webquark/p-d22a876a.entry.js} +1 -1
  209. package/dist/webquark/{p-b8a75199.entry.js → p-d691a1aa.entry.js} +1 -1
  210. package/dist/webquark/{p-13b7bd40.entry.js → p-dabaddcb.entry.js} +1 -1
  211. package/dist/{playground/build/p-09e29cf9.entry.js → webquark/p-dac913f9.entry.js} +1 -1
  212. package/dist/webquark/{p-33cfbd33.entry.js → p-de7364cd.entry.js} +1 -1
  213. package/dist/webquark/{p-9d14b8ec.entry.js → p-e298fb31.entry.js} +1 -1
  214. package/dist/{playground/build/p-4d5d0313.entry.js → webquark/p-e354a398.entry.js} +1 -1
  215. package/dist/webquark/{p-dda5be3e.entry.js → p-f1ab576a.entry.js} +1 -1
  216. package/dist/webquark/webquark.esm.js +1 -1
  217. package/package.json +12 -4
  218. package/scripts/webquark-serve.js +6 -8
  219. package/dist/components/p-Ccj0labf.js +0 -1
  220. package/dist/components/p-DiOrwkX8.js +0 -1
  221. package/dist/playground/build/p-0571c3ae.entry.js +0 -1
  222. package/dist/playground/build/p-56644a7b.entry.js +0 -1
  223. package/dist/playground/build/p-6cf356da.entry.js +0 -1
  224. package/dist/playground/build/p-DD6AOr35.js +0 -1
  225. package/dist/playground/build/p-DOk7gYkf.js +0 -2
  226. package/dist/playground/build/p-cfaffa33.entry.js +0 -1
  227. package/dist/webquark/p-0571c3ae.entry.js +0 -1
  228. package/dist/webquark/p-56644a7b.entry.js +0 -1
  229. package/dist/webquark/p-6cf356da.entry.js +0 -1
  230. package/dist/webquark/p-DD6AOr35.js +0 -1
  231. package/dist/webquark/p-DOk7gYkf.js +0 -2
  232. package/dist/webquark/p-cfaffa33.entry.js +0 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-D5SQkd__.js');
3
+ var index = require('./index-Vzfd3Ljg.js');
4
4
 
5
5
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
6
6
  /*
@@ -18,7 +18,7 @@ var patchBrowser = () => {
18
18
 
19
19
  patchBrowser().then(async (options) => {
20
20
  await index.globalScripts();
21
- return index.bootstrapLazy(JSON.parse("[[\"q-data-table.cjs\",[[769,\"q-data-table\",{\"columns\":[1],\"items\":[1],\"keyField\":[1,\"key-field\"],\"rowGroup\":[16],\"rowActions\":[1,\"row-actions\"],\"rowClickable\":[4,\"row-clickable\"],\"selectable\":[4],\"selectedKeys\":[1040],\"sortable\":[4],\"sortMode\":[1,\"sort-mode\"],\"sortColumn\":[1025,\"sort-column\"],\"sortDirection\":[1025,\"sort-direction\"],\"showToolbar\":[4,\"show-toolbar\"],\"toolbarTitle\":[1,\"toolbar-title\"],\"ariaLabel\":[1,\"aria-label\"],\"showSearch\":[4,\"show-search\"],\"searchPlaceholder\":[1,\"search-placeholder\"],\"searchValue\":[1025,\"search-value\"],\"loading\":[4]}]]],[\"q-syntax-box.cjs\",[[849,\"q-syntax-box\",{\"code\":[1025],\"value\":[1025],\"heading\":[1],\"ariaLabel\":[1,\"aria-label\"],\"variant\":[1],\"height\":[1],\"copyable\":[4],\"editable\":[516],\"name\":[513],\"required\":[516],\"language\":[1],\"disabled\":[516],\"copied\":[32],\"copyFailed\":[32],\"scrollToBottom\":[64],\"checkValidity\":[64],\"reportValidity\":[64]},null,{\"code\":[{\"watchCode\":0}],\"value\":[{\"watchValue\":0}],\"editable\":[{\"watchEditable\":0}]}]]],[\"q-map.cjs\",[[769,\"q-map\",{\"attribution\":[1],\"attributionUrl\":[1,\"attribution-url\"],\"markers\":[1],\"clusterMarkers\":[4,\"cluster-markers\"],\"clusterRadius\":[2,\"cluster-radius\"],\"clusterMinPoints\":[2,\"cluster-min-points\"],\"clusterMaxZoom\":[2,\"cluster-max-zoom\"],\"centerLatitude\":[2,\"center-latitude\"],\"centerLongitude\":[2,\"center-longitude\"],\"zoom\":[2],\"zoomControls\":[4,\"zoom-controls\"],\"minZoom\":[2,\"min-zoom\"],\"maxZoom\":[2,\"max-zoom\"],\"maxBounds\":[1,\"max-bounds\"],\"maxBoundsViscosity\":[2,\"max-bounds-viscosity\"],\"selectedMarkerId\":[8,\"selected-marker-id\"],\"provider\":[1],\"tileUrl\":[1,\"tile-url\"],\"tilePreloadBuffer\":[2,\"tile-preload-buffer\"],\"rasterTileLoadingPolicy\":[1,\"raster-tile-loading-policy\"],\"vectorStyleUrl\":[1,\"vector-style-url\"],\"vectorPadding\":[2,\"vector-padding\"],\"googleApiKey\":[1,\"google-api-key\"],\"googleMapType\":[1,\"google-map-type\"],\"ariaLabel\":[1,\"aria-label\"],\"providerStatus\":[32],\"activeProvider\":[32],\"usingFallback\":[32],\"errorMessage\":[32],\"ensureMarkerVisible\":[64]},null,{\"provider\":[{\"handleBaseLayerChange\":0}],\"tileUrl\":[{\"handleBaseLayerChange\":0}],\"rasterTileLoadingPolicy\":[{\"handleBaseLayerChange\":0}],\"vectorStyleUrl\":[{\"handleBaseLayerChange\":0}],\"googleApiKey\":[{\"handleBaseLayerChange\":0}],\"googleMapType\":[{\"handleBaseLayerChange\":0}],\"tilePreloadBuffer\":[{\"handleTilePreloadBufferChange\":0}],\"vectorPadding\":[{\"handleVectorPaddingChange\":0}],\"markers\":[{\"handleMarkersChange\":0}],\"clusterMarkers\":[{\"handleMarkerClusteringChange\":0}],\"clusterRadius\":[{\"handleMarkerClusteringChange\":0}],\"clusterMinPoints\":[{\"handleMarkerClusteringChange\":0}],\"clusterMaxZoom\":[{\"handleMarkerClusteringChange\":0}],\"selectedMarkerId\":[{\"handleSelectedMarkerChange\":0}],\"centerLatitude\":[{\"handleViewChange\":0}],\"centerLongitude\":[{\"handleViewChange\":0}],\"zoom\":[{\"handleViewChange\":0}],\"minZoom\":[{\"handleZoomLimitsChange\":0}],\"maxZoom\":[{\"handleZoomLimitsChange\":0}],\"maxBounds\":[{\"handleBoundsChange\":0}],\"maxBoundsViscosity\":[{\"handleBoundsChange\":0}],\"zoomControls\":[{\"handleZoomControlsChange\":0}]}]]],[\"q-navbar.cjs\",[[769,\"q-navbar\",{\"brand\":[1],\"logoSrc\":[1,\"logo-src\"],\"logoAlt\":[1,\"logo-alt\"],\"brandHref\":[1,\"brand-href\"],\"items\":[1],\"activeValue\":[1,\"active-value\"],\"edge\":[513],\"sticky\":[516],\"compact\":[516],\"transparent\":[516],\"bordered\":[516],\"mobileMode\":[513,\"mobile-mode\"],\"mobileLabel\":[1,\"mobile-label\"],\"ariaLabel\":[1,\"aria-label\"],\"menuOpen\":[32],\"hasMobileContent\":[32]}]]],[\"q-radio-group.cjs\",[[593,\"q-radio-group\",{\"label\":[1],\"options\":[1],\"value\":[1025],\"size\":[513],\"orientation\":[513],\"disabled\":[516],\"required\":[516],\"error\":[513],\"errorMessage\":[1,\"error-message\"],\"name\":[513],\"ariaLabel\":[1,\"aria-label\"],\"focusElement\":[64],\"checkValidity\":[64],\"reportValidity\":[64]},null,{\"value\":[{\"watchValue\":0}],\"options\":[{\"watchConstraints\":0}],\"disabled\":[{\"watchConstraints\":0}],\"required\":[{\"watchConstraints\":0}],\"error\":[{\"watchConstraints\":0}],\"errorMessage\":[{\"watchConstraints\":0}]}]]],[\"q-sidepanel.cjs\",[[769,\"q-sidepanel\",{\"variant\":[513],\"open\":[1540],\"side\":[513],\"panelSize\":[1,\"panel-size\"],\"items\":[16],\"value\":[513],\"mode\":[1],\"expanded\":[4],\"accordion\":[4],\"collapsible\":[516],\"collapsed\":[1540],\"collapseControl\":[1,\"collapse-control\"],\"collapseControlAppearance\":[513,\"collapse-control-appearance\"],\"collapseControlPosition\":[1,\"collapse-control-position\"],\"collapseMode\":[513,\"collapse-mode\"],\"collapseLabel\":[1,\"collapse-label\"],\"ariaLabel\":[1,\"aria-label\"],\"isVisible\":[32],\"isAnimatedOpen\":[32],\"hasHeaderContent\":[32],\"hasFooterContent\":[32],\"expandedGroups\":[32],\"normalizedItems\":[32]},[[8,\"keydown\",\"handleGlobalKeyDown\"]],{\"open\":[{\"handleOpenChange\":0}],\"items\":[{\"handleItemsChange\":0}]}]]],[\"q-tabs.cjs\",[[513,\"q-tabs\",{\"items\":[1],\"value\":[1],\"orientation\":[513],\"size\":[1],\"variant\":[1],\"stretch\":[516],\"ariaLabel\":[1,\"aria-label\"]}]]],[\"q-toast.cjs\",[[513,\"q-toast\",{\"position\":[513],\"maxVisible\":[2,\"max-visible\"],\"visibleToasts\":[32],\"announcementText\":[32],\"info\":[64],\"success\":[64],\"warning\":[64],\"danger\":[64],\"error\":[64],\"dismiss\":[64],\"clear\":[64]},null,{\"maxVisible\":[{\"handleMaxVisibleChange\":0}]}]]],[\"q-avatar.cjs\",[[769,\"q-avatar\",{\"src\":[1],\"name\":[1],\"initials\":[1],\"alt\":[1],\"size\":[8],\"shape\":[513],\"loading\":[1],\"imageFailed\":[32]},null,{\"src\":[{\"handleSourceChange\":0}]}]]],[\"q-card.cjs\",[[769,\"q-card\",{\"elevation\":[520],\"glass\":[516],\"lift\":[516],\"interactive\":[516],\"hasHeader\":[32]}]]],[\"q-carousel.cjs\",[[769,\"q-carousel\",{\"snapAlignment\":[513,\"snap-alignment\"],\"itemWidth\":[513,\"item-width\"],\"showArrows\":[516,\"show-arrows\"],\"showIndicators\":[516,\"show-indicators\"],\"repeat\":[516],\"activeIndex\":[32],\"maxIndex\":[32],\"isScrollable\":[32],\"isAtStart\":[32],\"isAtEnd\":[32],\"slideTo\":[64],\"updateLimits\":[64]}]]],[\"q-chip.cjs\",[[785,\"q-chip\",{\"label\":[1],\"disabled\":[516],\"href\":[1],\"rel\":[1],\"download\":[1],\"value\":[1],\"variant\":[513],\"size\":[513],\"clickable\":[516],\"removable\":[516],\"selected\":[516],\"target\":[1]}]]],[\"q-conversation-bubble.cjs\",[[769,\"q-conversation-bubble\",{\"variant\":[513],\"sender\":[1],\"timestamp\":[1],\"ariaLabel\":[1,\"aria-label\"],\"compact\":[516],\"hasAvatar\":[32],\"hasMeta\":[32],\"hasActions\":[32]}]]],[\"q-dialog.cjs\",[[769,\"q-dialog\",{\"dialogTitle\":[1,\"dialog-title\"],\"ariaLabel\":[1,\"aria-label\"],\"message\":[1],\"backdropEffect\":[513,\"backdrop-effect\"],\"closeOnEsc\":[4,\"close-on-esc\"],\"closeOnOverlayClick\":[4,\"close-on-overlay-click\"],\"showCancel\":[4,\"show-cancel\"],\"cancelLabel\":[1,\"cancel-label\"],\"showConfirm\":[4,\"show-confirm\"],\"confirmLabel\":[1,\"confirm-label\"],\"loading\":[4],\"open\":[1540],\"closeLabel\":[1,\"close-label\"],\"isVisible\":[32],\"isAnimatedOpen\":[32],\"show\":[64],\"close\":[64],\"confirm\":[64],\"cancel\":[64]},[[8,\"keydown\",\"handleGlobalKeyDown\"]],{\"open\":[{\"handleOpenChange\":0}]}]]],[\"q-dropdown.cjs\",[[849,\"q-dropdown\",{\"label\":[1],\"ariaLabel\":[1,\"aria-label\"],\"placeholder\":[1],\"options\":[1],\"value\":[1025],\"size\":[513],\"searchable\":[4],\"externalSearch\":[4,\"external-search\"],\"hasMore\":[4,\"has-more\"],\"loading\":[4],\"placement\":[1],\"collisionPadding\":[2,\"collision-padding\"],\"disabled\":[516],\"name\":[513],\"isOpen\":[32],\"focusedIndex\":[32],\"searchTerm\":[32],\"visibleCount\":[32],\"isScrollingLoading\":[32]},[[8,\"click\",\"handleClickOutside\"]],{\"value\":[{\"watchValue\":0}],\"options\":[{\"watchOptions\":0}],\"loading\":[{\"watchLoading\":0}]}]]],[\"q-form.cjs\",[[769,\"q-form\",{\"label\":[1],\"preventDefault\":[4,\"prevent-default\"],\"enterBehavior\":[1,\"enter-behavior\"],\"noValidate\":[4,\"no-validate\"],\"action\":[1],\"method\":[1],\"autocomplete\":[1],\"enctype\":[1],\"target\":[1],\"hasHeaderSlot\":[32],\"hasActionsSlot\":[32],\"getValues\":[64],\"setValues\":[64],\"resetForm\":[64],\"submitForm\":[64]},[[0,\"click\",\"handleComposedClick\"],[0,\"qClick\",\"handleButtonClick\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"q-link.cjs\",[[769,\"q-link\",{\"label\":[1],\"disabled\":[516],\"href\":[1],\"rel\":[1],\"download\":[1],\"variant\":[513],\"underline\":[513],\"url\":[1],\"mailto\":[1],\"tel\":[1],\"target\":[1],\"external\":[516]}]]],[\"q-pagination.cjs\",[[513,\"q-pagination\",{\"showSummary\":[4,\"show-summary\"],\"itemLabel\":[1,\"item-label\"],\"page\":[2],\"pageSize\":[2,\"page-size\"],\"totalItems\":[2,\"total-items\"],\"disabled\":[516],\"ariaLabel\":[1,\"aria-label\"]}]]],[\"q-panel.cjs\",[[769,\"q-panel\",{\"variant\":[513],\"noBorders\":[516,\"no-borders\"],\"padding\":[513],\"fullHeight\":[516,\"full-height\"],\"scrollable\":[516],\"stickyHeader\":[516,\"sticky-header\"],\"stickyFooter\":[516,\"sticky-footer\"],\"ariaLabel\":[1,\"aria-label\"],\"hasHeader\":[32],\"hasFooter\":[32]}]]],[\"q-quantity-selector.cjs\",[[513,\"q-quantity-selector\",{\"value\":[1026],\"min\":[2],\"max\":[2],\"step\":[2],\"variant\":[513],\"inputValue\":[32]},null,{\"value\":[{\"watchValue\":0}]}]]],[\"q-reel.cjs\",[[769,\"q-reel\",{\"layout\":[1],\"lightbox\":[4],\"activeMedia\":[32]},[[0,\"qMaximize\",\"handleThumbnailMaximize\"],[8,\"keydown\",\"handleGlobalKeyDown\"]],{\"lightbox\":[{\"handleLightboxChange\":0}]}]]],[\"q-step-diagram.cjs\",[[769,\"q-step-diagram\",{\"layout\":[513],\"ariaLabel\":[1,\"aria-label\"]},null,{\"layout\":[{\"handleLayoutChange\":0}]}]]],[\"q-step-diagram-item.cjs\",[[769,\"q-step-diagram-item\",{\"lineStyle\":[513,\"line-style\"],\"layout\":[1537],\"status\":[513]}]]],[\"q-textarea.cjs\",[[593,\"q-textarea\",{\"value\":[1025],\"placeholder\":[1],\"label\":[1],\"ariaLabel\":[1,\"aria-label\"],\"rows\":[2],\"autoGrow\":[4,\"auto-grow\"],\"resizeMode\":[1,\"resize-mode\"],\"disabled\":[516],\"required\":[516],\"error\":[513],\"errorMessage\":[1,\"error-message\"],\"name\":[513],\"focusElement\":[64],\"adjustHeight\":[64],\"checkValidity\":[64],\"reportValidity\":[64]},null,{\"value\":[{\"watchValue\":0}],\"resizeMode\":[{\"handleResizeModeChange\":0}],\"autoGrow\":[{\"handleResizeModeChange\":0}]}]]],[\"q-thumbnail.cjs\",[[769,\"q-thumbnail\",{\"src\":[1],\"video\":[516],\"label\":[1],\"alt\":[1],\"highlighted\":[516]}]]],[\"q-toggle.cjs\",[[833,\"q-toggle\",{\"label\":[1],\"size\":[1],\"type\":[1],\"checked\":[1540],\"disabled\":[516],\"required\":[516],\"error\":[1],\"name\":[513],\"hasDefaultSlot\":[32],\"toggle\":[64],\"checkValidity\":[64],\"reportValidity\":[64]},null,{\"checked\":[{\"watchChecked\":0}]}]]],[\"q-toolbar.cjs\",[[769,\"q-toolbar\",{\"edge\":[513],\"sticky\":[516],\"compact\":[516],\"transparent\":[516],\"bordered\":[516],\"ariaLabel\":[1,\"aria-label\"]}]]],[\"q-alert.cjs\",[[769,\"q-alert\",{\"heading\":[1],\"variant\":[513],\"dismissible\":[4],\"dismissLabel\":[1,\"dismiss-label\"],\"announcement\":[1],\"hasIcon\":[32],\"hasActions\":[32]}]]],[\"q-scrollable.cjs\",[[769,\"q-scrollable\",{\"height\":[513],\"maxHeight\":[513,\"max-height\"],\"mode\":[513],\"target\":[513],\"nativeOnMobile\":[516,\"native-on-mobile\"],\"autoHide\":[516,\"auto-hide\"],\"isScrolling\":[32],\"isDragging\":[32],\"scrollValueNow\":[32],\"scrollValueMax\":[32],\"scrollToBottom\":[64],\"scrollToPosition\":[64]},null,{\"mode\":[{\"handleModeOrTargetChange\":0}],\"target\":[{\"handleModeOrTargetChange\":0}]}]]],[\"q-input_2.cjs\",[[849,\"q-input\",{\"value\":[1025],\"placeholder\":[1],\"label\":[1],\"ariaLabel\":[1,\"aria-label\"],\"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]},null,{\"value\":[{\"watchValue\":0}]}],[513,\"q-progress\",{\"value\":[2],\"label\":[1],\"indeterminate\":[516],\"ariaValueText\":[1,\"aria-valuetext\"],\"variant\":[513],\"size\":[520],\"tone\":[513],\"ariaLabel\":[1,\"aria-label\"]}]]],[\"q-icon.cjs\",[[513,\"q-icon\",{\"name\":[1],\"lib\":[1],\"localPath\":[1,\"local-path\"],\"libVersion\":[1,\"lib-version\"],\"fetchTimeout\":[2,\"fetch-timeout\"],\"size\":[8],\"color\":[1],\"label\":[1],\"svgContent\":[32],\"isBinary\":[32],\"resolvedUrl\":[32],\"hasError\":[32]},null,{\"name\":[{\"watchHandler\":0}],\"lib\":[{\"watchHandler\":0}],\"localPath\":[{\"watchHandler\":0}],\"libVersion\":[{\"watchHandler\":0}]}]]],[\"q-button_2.cjs\",[[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]},null,{\"icon\":[{\"handleIconAccessibilityChange\":0}],\"iconOnly\":[{\"handleIconAccessibilityChange\":0}],\"ariaLabel\":[{\"handleIconAccessibilityChange\":0}]}],[769,\"q-tooltip\",{\"content\":[1],\"position\":[513],\"delay\":[2],\"visible\":[32]}]]]]"), options);
21
+ return index.bootstrapLazy(JSON.parse("[[\"q-data-table.cjs\",[[769,\"q-data-table\",{\"columns\":[1],\"items\":[1],\"keyField\":[1,\"key-field\"],\"rowGroup\":[16],\"rowActions\":[1,\"row-actions\"],\"rowClickable\":[4,\"row-clickable\"],\"selectable\":[4],\"selectedKeys\":[1040],\"sortable\":[4],\"sortMode\":[1,\"sort-mode\"],\"sortColumn\":[1025,\"sort-column\"],\"sortDirection\":[1025,\"sort-direction\"],\"showToolbar\":[4,\"show-toolbar\"],\"toolbarTitle\":[1,\"toolbar-title\"],\"ariaLabel\":[1,\"aria-label\"],\"showSearch\":[4,\"show-search\"],\"searchPlaceholder\":[1,\"search-placeholder\"],\"searchValue\":[1025,\"search-value\"],\"loading\":[4]}]]],[\"q-syntax-box.cjs\",[[849,\"q-syntax-box\",{\"code\":[1025],\"value\":[1025],\"heading\":[1],\"ariaLabel\":[1,\"aria-label\"],\"variant\":[1],\"height\":[1],\"copyable\":[4],\"editable\":[516],\"name\":[513],\"required\":[516],\"language\":[1],\"disabled\":[516],\"copied\":[32],\"copyFailed\":[32],\"scrollToBottom\":[64],\"checkValidity\":[64],\"reportValidity\":[64]},null,{\"code\":[{\"watchCode\":0}],\"value\":[{\"watchValue\":0}],\"editable\":[{\"watchEditable\":0}]}]]],[\"q-map.cjs\",[[769,\"q-map\",{\"attribution\":[1],\"attributionUrl\":[1,\"attribution-url\"],\"markers\":[1],\"clusterMarkers\":[4,\"cluster-markers\"],\"clusterRadius\":[2,\"cluster-radius\"],\"clusterMinPoints\":[2,\"cluster-min-points\"],\"clusterMaxZoom\":[2,\"cluster-max-zoom\"],\"centerLatitude\":[2,\"center-latitude\"],\"centerLongitude\":[2,\"center-longitude\"],\"zoom\":[2],\"zoomControls\":[4,\"zoom-controls\"],\"minZoom\":[2,\"min-zoom\"],\"maxZoom\":[2,\"max-zoom\"],\"maxBounds\":[1,\"max-bounds\"],\"maxBoundsViscosity\":[2,\"max-bounds-viscosity\"],\"selectedMarkerId\":[8,\"selected-marker-id\"],\"provider\":[1],\"tileUrl\":[1,\"tile-url\"],\"tilePreloadBuffer\":[2,\"tile-preload-buffer\"],\"rasterTileLoadingPolicy\":[1,\"raster-tile-loading-policy\"],\"vectorStyleUrl\":[1,\"vector-style-url\"],\"vectorPadding\":[2,\"vector-padding\"],\"googleApiKey\":[1,\"google-api-key\"],\"googleMapType\":[1,\"google-map-type\"],\"ariaLabel\":[1,\"aria-label\"],\"providerStatus\":[32],\"activeProvider\":[32],\"usingFallback\":[32],\"errorMessage\":[32],\"ensureMarkerVisible\":[64]},null,{\"provider\":[{\"handleBaseLayerChange\":0}],\"tileUrl\":[{\"handleBaseLayerChange\":0}],\"rasterTileLoadingPolicy\":[{\"handleBaseLayerChange\":0}],\"vectorStyleUrl\":[{\"handleBaseLayerChange\":0}],\"googleApiKey\":[{\"handleBaseLayerChange\":0}],\"googleMapType\":[{\"handleBaseLayerChange\":0}],\"tilePreloadBuffer\":[{\"handleTilePreloadBufferChange\":0}],\"vectorPadding\":[{\"handleVectorPaddingChange\":0}],\"markers\":[{\"handleMarkersChange\":0}],\"clusterMarkers\":[{\"handleMarkerClusteringChange\":0}],\"clusterRadius\":[{\"handleMarkerClusteringChange\":0}],\"clusterMinPoints\":[{\"handleMarkerClusteringChange\":0}],\"clusterMaxZoom\":[{\"handleMarkerClusteringChange\":0}],\"selectedMarkerId\":[{\"handleSelectedMarkerChange\":0}],\"centerLatitude\":[{\"handleViewChange\":0}],\"centerLongitude\":[{\"handleViewChange\":0}],\"zoom\":[{\"handleViewChange\":0}],\"minZoom\":[{\"handleZoomLimitsChange\":0}],\"maxZoom\":[{\"handleZoomLimitsChange\":0}],\"maxBounds\":[{\"handleBoundsChange\":0}],\"maxBoundsViscosity\":[{\"handleBoundsChange\":0}],\"zoomControls\":[{\"handleZoomControlsChange\":0}]}]]],[\"q-navbar.cjs\",[[769,\"q-navbar\",{\"brand\":[1],\"logoSrc\":[1,\"logo-src\"],\"logoAlt\":[1,\"logo-alt\"],\"brandHref\":[1,\"brand-href\"],\"items\":[1],\"activeValue\":[1,\"active-value\"],\"edge\":[513],\"sticky\":[516],\"compact\":[516],\"transparent\":[516],\"bordered\":[516],\"mobileMode\":[513,\"mobile-mode\"],\"mobileLabel\":[1,\"mobile-label\"],\"ariaLabel\":[1,\"aria-label\"],\"menuOpen\":[32],\"hasMobileContent\":[32]}]]],[\"q-radio-group.cjs\",[[593,\"q-radio-group\",{\"label\":[1],\"options\":[1],\"value\":[1025],\"size\":[513],\"orientation\":[513],\"disabled\":[516],\"required\":[516],\"error\":[513],\"errorMessage\":[1,\"error-message\"],\"name\":[513],\"ariaLabel\":[1,\"aria-label\"],\"focusElement\":[64],\"checkValidity\":[64],\"reportValidity\":[64]},null,{\"value\":[{\"watchValue\":0}],\"options\":[{\"watchConstraints\":0}],\"disabled\":[{\"watchConstraints\":0}],\"required\":[{\"watchConstraints\":0}],\"error\":[{\"watchConstraints\":0}],\"errorMessage\":[{\"watchConstraints\":0}]}]]],[\"q-sidepanel.cjs\",[[769,\"q-sidepanel\",{\"variant\":[513],\"open\":[1540],\"side\":[513],\"panelSize\":[1,\"panel-size\"],\"items\":[16],\"value\":[513],\"mode\":[1],\"expanded\":[4],\"accordion\":[4],\"collapsible\":[516],\"collapsed\":[1540],\"collapseControl\":[1,\"collapse-control\"],\"collapseControlAppearance\":[513,\"collapse-control-appearance\"],\"collapseControlPosition\":[1,\"collapse-control-position\"],\"collapseMode\":[513,\"collapse-mode\"],\"collapseLabel\":[1,\"collapse-label\"],\"ariaLabel\":[1,\"aria-label\"],\"isVisible\":[32],\"isAnimatedOpen\":[32],\"hasHeaderContent\":[32],\"hasFooterContent\":[32],\"expandedGroups\":[32],\"normalizedItems\":[32]},[[8,\"keydown\",\"handleGlobalKeyDown\"]],{\"open\":[{\"handleOpenChange\":0}],\"items\":[{\"handleItemsChange\":0}]}]]],[\"q-tabs.cjs\",[[513,\"q-tabs\",{\"items\":[1],\"value\":[1],\"orientation\":[513],\"size\":[1],\"variant\":[1],\"stretch\":[516],\"ariaLabel\":[1,\"aria-label\"]}]]],[\"q-toast.cjs\",[[513,\"q-toast\",{\"position\":[513],\"maxVisible\":[2,\"max-visible\"],\"visibleToasts\":[32],\"announcementText\":[32],\"info\":[64],\"success\":[64],\"warning\":[64],\"danger\":[64],\"error\":[64],\"dismiss\":[64],\"clear\":[64]},null,{\"maxVisible\":[{\"handleMaxVisibleChange\":0}]}]]],[\"q-avatar.cjs\",[[769,\"q-avatar\",{\"src\":[1],\"name\":[1],\"initials\":[1],\"alt\":[1],\"size\":[8],\"shape\":[513],\"loading\":[1],\"imageFailed\":[32]},null,{\"src\":[{\"handleSourceChange\":0}]}]]],[\"q-card.cjs\",[[769,\"q-card\",{\"elevation\":[520],\"glass\":[516],\"lift\":[516],\"interactive\":[516],\"hasHeader\":[32]}]]],[\"q-carousel.cjs\",[[769,\"q-carousel\",{\"snapAlignment\":[513,\"snap-alignment\"],\"itemWidth\":[513,\"item-width\"],\"showArrows\":[516,\"show-arrows\"],\"showIndicators\":[516,\"show-indicators\"],\"repeat\":[516],\"activeIndex\":[32],\"maxIndex\":[32],\"isScrollable\":[32],\"isAtStart\":[32],\"isAtEnd\":[32],\"slideTo\":[64],\"updateLimits\":[64]}]]],[\"q-chip.cjs\",[[785,\"q-chip\",{\"label\":[1],\"disabled\":[516],\"href\":[1],\"rel\":[1],\"download\":[1],\"value\":[1],\"variant\":[513],\"size\":[513],\"clickable\":[516],\"removable\":[516],\"selected\":[516],\"target\":[1]}]]],[\"q-conversation-bubble.cjs\",[[769,\"q-conversation-bubble\",{\"variant\":[513],\"sender\":[1],\"timestamp\":[1],\"ariaLabel\":[1,\"aria-label\"],\"compact\":[516],\"hasAvatar\":[32],\"hasMeta\":[32],\"hasActions\":[32]}]]],[\"q-dialog.cjs\",[[769,\"q-dialog\",{\"dialogTitle\":[1,\"dialog-title\"],\"ariaLabel\":[1,\"aria-label\"],\"message\":[1],\"backdropEffect\":[513,\"backdrop-effect\"],\"closeOnEsc\":[4,\"close-on-esc\"],\"closeOnOverlayClick\":[4,\"close-on-overlay-click\"],\"showCancel\":[4,\"show-cancel\"],\"cancelLabel\":[1,\"cancel-label\"],\"showConfirm\":[4,\"show-confirm\"],\"confirmLabel\":[1,\"confirm-label\"],\"loading\":[4],\"open\":[1540],\"closeLabel\":[1,\"close-label\"],\"isVisible\":[32],\"isAnimatedOpen\":[32],\"show\":[64],\"close\":[64],\"confirm\":[64],\"cancel\":[64]},[[8,\"keydown\",\"handleGlobalKeyDown\"]],{\"open\":[{\"handleOpenChange\":0}]}]]],[\"q-dropdown.cjs\",[[849,\"q-dropdown\",{\"label\":[1],\"ariaLabel\":[1,\"aria-label\"],\"placeholder\":[1],\"options\":[1],\"value\":[1025],\"size\":[513],\"searchable\":[4],\"externalSearch\":[4,\"external-search\"],\"hasMore\":[4,\"has-more\"],\"loading\":[4],\"placement\":[1],\"collisionPadding\":[2,\"collision-padding\"],\"disabled\":[516],\"name\":[513],\"isOpen\":[32],\"focusedIndex\":[32],\"searchTerm\":[32],\"visibleCount\":[32],\"isScrollingLoading\":[32]},[[8,\"click\",\"handleClickOutside\"]],{\"value\":[{\"watchValue\":0}],\"options\":[{\"watchOptions\":0}],\"loading\":[{\"watchLoading\":0}]}]]],[\"q-form.cjs\",[[769,\"q-form\",{\"label\":[1],\"preventDefault\":[4,\"prevent-default\"],\"enterBehavior\":[1,\"enter-behavior\"],\"noValidate\":[4,\"no-validate\"],\"action\":[1],\"method\":[1],\"autocomplete\":[1],\"enctype\":[1],\"target\":[1],\"hasHeaderSlot\":[32],\"hasActionsSlot\":[32],\"getValues\":[64],\"setValues\":[64],\"resetForm\":[64],\"submitForm\":[64]},[[0,\"click\",\"handleComposedClick\"],[0,\"qClick\",\"handleButtonClick\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"q-link.cjs\",[[769,\"q-link\",{\"label\":[1],\"disabled\":[516],\"href\":[1],\"rel\":[1],\"download\":[1],\"variant\":[513],\"underline\":[513],\"url\":[1],\"mailto\":[1],\"tel\":[1],\"target\":[1],\"external\":[516]}]]],[\"q-pagination.cjs\",[[513,\"q-pagination\",{\"showSummary\":[4,\"show-summary\"],\"itemLabel\":[1,\"item-label\"],\"page\":[2],\"pageSize\":[2,\"page-size\"],\"totalItems\":[2,\"total-items\"],\"disabled\":[516],\"ariaLabel\":[1,\"aria-label\"]}]]],[\"q-panel.cjs\",[[769,\"q-panel\",{\"variant\":[513],\"noBorders\":[516,\"no-borders\"],\"padding\":[513],\"fullHeight\":[516,\"full-height\"],\"scrollable\":[516],\"stickyHeader\":[516,\"sticky-header\"],\"stickyFooter\":[516,\"sticky-footer\"],\"ariaLabel\":[1,\"aria-label\"],\"hasHeader\":[32],\"hasFooter\":[32]}]]],[\"q-quantity-selector.cjs\",[[513,\"q-quantity-selector\",{\"value\":[1026],\"min\":[2],\"max\":[2],\"step\":[2],\"variant\":[513],\"inputValue\":[32]},null,{\"value\":[{\"watchValue\":0}]}]]],[\"q-reel.cjs\",[[769,\"q-reel\",{\"layout\":[1],\"lightbox\":[4],\"activeMedia\":[32]},[[0,\"qMaximize\",\"handleThumbnailMaximize\"],[8,\"keydown\",\"handleGlobalKeyDown\"]],{\"lightbox\":[{\"handleLightboxChange\":0}]}]]],[\"q-step-diagram.cjs\",[[769,\"q-step-diagram\",{\"layout\":[513],\"ariaLabel\":[1,\"aria-label\"]},null,{\"layout\":[{\"handleLayoutChange\":0}]}]]],[\"q-step-diagram-item.cjs\",[[769,\"q-step-diagram-item\",{\"lineStyle\":[513,\"line-style\"],\"layout\":[1537],\"status\":[513]}]]],[\"q-textarea.cjs\",[[593,\"q-textarea\",{\"value\":[1025],\"placeholder\":[1],\"label\":[1],\"ariaLabel\":[1,\"aria-label\"],\"rows\":[2],\"autoGrow\":[4,\"auto-grow\"],\"resizeMode\":[1,\"resize-mode\"],\"disabled\":[516],\"required\":[516],\"error\":[513],\"errorMessage\":[1,\"error-message\"],\"name\":[513],\"focusElement\":[64],\"adjustHeight\":[64],\"checkValidity\":[64],\"reportValidity\":[64]},null,{\"value\":[{\"watchValue\":0}],\"resizeMode\":[{\"handleResizeModeChange\":0}],\"autoGrow\":[{\"handleResizeModeChange\":0}]}]]],[\"q-thumbnail.cjs\",[[769,\"q-thumbnail\",{\"src\":[1],\"video\":[516],\"label\":[1],\"alt\":[1],\"highlighted\":[516]}]]],[\"q-toggle.cjs\",[[833,\"q-toggle\",{\"label\":[1],\"size\":[1],\"type\":[1],\"checked\":[1540],\"disabled\":[516],\"required\":[516],\"error\":[1],\"name\":[513],\"hasDefaultSlot\":[32],\"toggle\":[64],\"checkValidity\":[64],\"reportValidity\":[64]},null,{\"checked\":[{\"watchChecked\":0}]}]]],[\"q-toolbar.cjs\",[[769,\"q-toolbar\",{\"edge\":[513],\"sticky\":[516],\"compact\":[516],\"transparent\":[516],\"bordered\":[516],\"ariaLabel\":[1,\"aria-label\"]}]]],[\"q-alert.cjs\",[[769,\"q-alert\",{\"heading\":[1],\"variant\":[513],\"dismissible\":[4],\"dismissLabel\":[1,\"dismiss-label\"],\"announcement\":[1],\"hasIcon\":[32],\"hasActions\":[32]}]]],[\"q-scrollable.cjs\",[[769,\"q-scrollable\",{\"height\":[513],\"maxHeight\":[513,\"max-height\"],\"mode\":[513],\"target\":[513],\"nativeOnMobile\":[516,\"native-on-mobile\"],\"autoHide\":[516,\"auto-hide\"],\"isScrolling\":[32],\"isDragging\":[32],\"scrollValueNow\":[32],\"scrollValueMax\":[32],\"scrollToBottom\":[64],\"scrollToPosition\":[64]},null,{\"mode\":[{\"handleModeOrTargetChange\":0}],\"target\":[{\"handleModeOrTargetChange\":0}]}]]],[\"q-input_2.cjs\",[[849,\"q-input\",{\"value\":[1025],\"placeholder\":[1],\"label\":[1],\"ariaLabel\":[1,\"aria-label\"],\"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]},null,{\"value\":[{\"watchValue\":0}]}],[513,\"q-progress\",{\"value\":[2],\"label\":[1],\"indeterminate\":[516],\"ariaValueText\":[1,\"aria-valuetext\"],\"variant\":[513],\"size\":[520],\"tone\":[513],\"ariaLabel\":[1,\"aria-label\"]}]]],[\"q-icon.cjs\",[[513,\"q-icon\",{\"name\":[1],\"definition\":[16],\"lib\":[1],\"localPath\":[1,\"local-path\"],\"libVersion\":[1,\"lib-version\"],\"fetchTimeout\":[2,\"fetch-timeout\"],\"size\":[8],\"color\":[1],\"label\":[1],\"svgContent\":[32],\"isBinary\":[32],\"resolvedUrl\":[32],\"hasError\":[32],\"resolvedDefinition\":[32]},null,{\"name\":[{\"watchHandler\":0}],\"definition\":[{\"watchHandler\":0}],\"lib\":[{\"watchHandler\":0}],\"localPath\":[{\"watchHandler\":0}],\"libVersion\":[{\"watchHandler\":0}]}]]],[\"q-button_2.cjs\",[[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]},null,{\"icon\":[{\"handleIconAccessibilityChange\":0}],\"iconOnly\":[{\"handleIconAccessibilityChange\":0}],\"ariaLabel\":[{\"handleIconAccessibilityChange\":0}]}],[769,\"q-tooltip\",{\"content\":[1],\"position\":[513],\"delay\":[2],\"visible\":[32]}]]]]"), options);
22
22
  });
23
23
 
24
24
  exports.setNonce = index.setNonce;
@@ -1,4 +1,5 @@
1
1
  import { h } from "@stencil/core";
2
+ import { ChevronDown, ChevronUp } from "@lucide/icons";
2
3
  export function renderDataTableSortIndicator({ direction }) {
3
- return (h("span", { class: "sort-indicator", "aria-hidden": "true" }, h("span", { class: { 'sort-arrow': true, 'is-active': direction === 'asc' } }, h("q-icon", { name: "chevron-up", size: "10px" })), h("span", { class: { 'sort-arrow': true, 'is-active': direction === 'desc' } }, h("q-icon", { name: "chevron-down", size: "10px" }))));
4
+ return (h("span", { class: "sort-indicator", "aria-hidden": "true" }, h("span", { class: { 'sort-arrow': true, 'is-active': direction === 'asc' } }, h("q-icon", { definition: ChevronUp, name: "chevron-up", size: "10px" })), h("span", { class: { 'sort-arrow': true, 'is-active': direction === 'desc' } }, h("q-icon", { definition: ChevronDown, name: "chevron-down", size: "10px" }))));
4
5
  }
@@ -1,4 +1,5 @@
1
1
  import { Host, h } from "@stencil/core";
2
+ import { Braces, Check, Copy } from "@lucide/icons";
2
3
  import { formatCode } from "../../../utils/formatter";
3
4
  import { syncNativeControlValidity } from "../../../utils/form-control-validity";
4
5
  import { highlight as highlightSyntax } from "../../../utils/syntax";
@@ -240,7 +241,7 @@ export class QSyntaxBox {
240
241
  const content = this.code !== undefined ? (this.editable ? (h("div", { class: "editor-area", style: { height: resolvedHeight } }, h("span", { id: "syntax-box-keyboard-help", class: "visually-hidden" }, "Press Escape to leave the code editor. Press Tab to insert two spaces."), h("textarea", { class: "editor-textarea", value: this.code, name: this.name, disabled: this.disabled, required: this.required, "aria-label": this.ariaLabel?.trim() || this.heading?.trim() || `${this.language.toUpperCase()} code editor`, "aria-describedby": "syntax-box-keyboard-help", onInput: this.handleInput, onChange: this.handleChange, onScroll: this.handleScroll, onKeyDown: this.handleKeyDown }), h("pre", { class: "code-body", ref: el => (this.preEl = el) }, h("code", { innerHTML: highlightSyntax(this.code, this.language) })))) : (h("pre", { class: "code-body" }, h("code", { innerHTML: highlightSyntax(this.code, this.language) })))) : (h("slot", null));
241
242
  const bodyContent = isScrollable && !this.editable ? (h("q-scrollable", { height: resolvedHeight, ref: el => (this.scrollableEl = el) }, content)) : (content);
242
243
  if (this.variant === 'panel') {
243
- return (h(Host, { class: { 'q-syntax-box-panel': true } }, h("div", { class: "panel-container" }, h("div", { class: "panel-header" }, h("span", null, this.heading), h("div", { class: "panel-actions" }, h("slot", { name: "actions" }), this.editable && (h("q-button", { class: "format-btn", variant: "ghost", size: "sm", onClick: this.handleFormat, disabled: this.disabled }, h("q-icon", { slot: "icon-left", lib: "local", name: "braces", size: "sm" }), h("q-tooltip", { slot: "icon-left", position: "bottom", content: "Format Code" }))), this.copyable && (h("q-button", { variant: "ghost", size: "sm", onClick: this.copyCode, disabled: this.disabled }, h("q-icon", { slot: "icon-left", lib: "local", name: this.copied ? 'check' : 'copy', size: "sm" }), h("q-tooltip", { slot: "icon-left", position: "bottom", content: this.getCopyTooltipContent() }))))), bodyContent)));
244
+ return (h(Host, { class: { 'q-syntax-box-panel': true } }, h("div", { class: "panel-container" }, h("div", { class: "panel-header" }, h("span", null, this.heading), h("div", { class: "panel-actions" }, h("slot", { name: "actions" }), this.editable && (h("q-button", { class: "format-btn", variant: "ghost", size: "sm", onClick: this.handleFormat, disabled: this.disabled }, h("q-icon", { slot: "icon-left", definition: Braces, name: "braces", size: "sm" }), h("q-tooltip", { slot: "icon-left", position: "bottom", content: "Format Code" }))), this.copyable && (h("q-button", { variant: "ghost", size: "sm", onClick: this.copyCode, disabled: this.disabled }, h("q-icon", { slot: "icon-left", definition: this.copied ? Check : Copy, name: this.copied ? 'check' : 'copy', size: "sm" }), h("q-tooltip", { slot: "icon-left", position: "bottom", content: this.getCopyTooltipContent() }))))), bodyContent)));
244
245
  }
245
246
  return (h(Host, { class: { 'q-syntax-box-plain': true } }, h("div", { class: "plain-container" }, bodyContent)));
246
247
  }
@@ -1,4 +1,5 @@
1
1
  import { h } from "@stencil/core";
2
+ import { ChevronRight } from "@lucide/icons";
2
3
  import { identifyItems } from "../../../../utils/collection-identity";
3
4
  export function renderNavItems(options) {
4
5
  const { items, expandedGroups, activeValue, onItemClick, depth = 0 } = options;
@@ -21,6 +22,6 @@ export function renderNavItems(options) {
21
22
  e.preventDefault();
22
23
  onItemClick(item);
23
24
  }
24
- } }, item.icon && (h("q-icon", { class: "nav-item__icon", name: item.icon, lib: "lucide", size: "sm" })), h("span", { class: "nav-item__label" }, item.label), hasChildren && !isAlwaysExpanded && (h("q-icon", { class: { 'nav-item__chevron': true, 'nav-item__chevron--open': isExpanded }, name: "chevron-right", lib: "lucide", size: "sm" }))), hasChildren && isExpanded && (h("div", { class: "nav-children", role: "group", "aria-label": item.label }, renderNavItems({ items: item.children, expandedGroups, activeValue, onItemClick, depth: depth + 1 })))));
25
+ } }, item.icon && (h("q-icon", { class: "nav-item__icon", name: item.icon, lib: "lucide", size: "sm" })), h("span", { class: "nav-item__label" }, item.label), hasChildren && !isAlwaysExpanded && (h("q-icon", { class: { 'nav-item__chevron': true, 'nav-item__chevron--open': isExpanded }, definition: ChevronRight, name: "chevron-right", size: "sm" }))), hasChildren && isExpanded && (h("div", { class: "nav-children", role: "group", "aria-label": item.label }, renderNavItems({ items: item.children, expandedGroups, activeValue, onItemClick, depth: depth + 1 })))));
25
26
  });
26
27
  }
@@ -1,10 +1,25 @@
1
1
  import { h } from "@stencil/core";
2
+ import { ChevronDown, ChevronLeft, ChevronRight, ChevronUp, PanelBottomClose, PanelBottomOpen, PanelLeftClose, PanelLeftOpen, PanelRightClose, PanelRightOpen, PanelTopClose, PanelTopOpen, } from "@lucide/icons";
2
3
  import { focusFirstElement, handleTabTrap } from "../../../utils/dom";
3
4
  import { handleDrawerOpenChange } from "./internals/drawer";
4
5
  import { seedExpandedGroups, toggleGroup } from "./internals/groups";
5
6
  import { renderNavItems } from "./internals/nav-items";
6
7
  import { getSidepanelItems } from "./sidepanel.utils";
7
8
  const DEFAULT_COLLAPSE_LABEL = 'Toggle sidebar';
9
+ const COLLAPSE_ICON_DEFINITIONS = {
10
+ 'chevron-down': ChevronDown,
11
+ 'chevron-left': ChevronLeft,
12
+ 'chevron-right': ChevronRight,
13
+ 'chevron-up': ChevronUp,
14
+ 'panel-bottom-close': PanelBottomClose,
15
+ 'panel-bottom-open': PanelBottomOpen,
16
+ 'panel-left-close': PanelLeftClose,
17
+ 'panel-left-open': PanelLeftOpen,
18
+ 'panel-right-close': PanelRightClose,
19
+ 'panel-right-open': PanelRightOpen,
20
+ 'panel-top-close': PanelTopClose,
21
+ 'panel-top-open': PanelTopOpen,
22
+ };
8
23
  /**
9
24
  * Drawer, persistent panel, or hierarchical navigation side panel.
10
25
  * @slot - Main content used by drawer and panel variants.
@@ -229,6 +244,9 @@ export class QSidepanel {
229
244
  ? this.getEdgeTabCollapseIconName()
230
245
  : this.getIconButtonCollapseIconName();
231
246
  }
247
+ getCollapseIconDefinition() {
248
+ return COLLAPSE_ICON_DEFINITIONS[this.getCollapseIconName()];
249
+ }
232
250
  getCollapseControlLabel() {
233
251
  const label = this.collapseLabel.trim();
234
252
  if (label && label !== DEFAULT_COLLAPSE_LABEL) {
@@ -249,7 +267,7 @@ export class QSidepanel {
249
267
  [`collapse-control--${placement}`]: true,
250
268
  'collapse-control--edge-tab': isEdgeTab,
251
269
  'collapse-control--icon-button': !isEdgeTab,
252
- }, style: controlStyle, part: "collapse-control", "aria-label": collapseControlLabel, title: collapseControlLabel, "aria-expanded": String(!this.collapsed), onClick: this.handleCollapseToggle }, h("slot", { name: iconSlotName }, h("q-icon", { name: this.getCollapseIconName(), lib: "lucide", size: "sm" })), h("span", { class: "collapse-control__adornment", part: "collapse-control-adornment", "aria-hidden": "true" }, h("slot", { name: "collapse-control-adornment" }))));
270
+ }, style: controlStyle, part: "collapse-control", "aria-label": collapseControlLabel, title: collapseControlLabel, "aria-expanded": String(!this.collapsed), onClick: this.handleCollapseToggle }, h("slot", { name: iconSlotName }, h("q-icon", { definition: this.getCollapseIconDefinition(), name: this.getCollapseIconName(), size: "sm" })), h("span", { class: "collapse-control__adornment", part: "collapse-control-adornment", "aria-hidden": "true" }, h("slot", { name: "collapse-control-adornment" }))));
253
271
  }
254
272
  render() {
255
273
  const customSizeStyle = {
@@ -1,12 +1,14 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { DEFAULT_FETCH_TIMEOUT_MS } from "./internals/constants";
3
3
  import { fetchIconSvg } from "./internals/fetch-icon";
4
+ import { isQIconStrictMode, prepareQIconDefinition, resolveRegisteredQIcon } from "./internals/registry";
5
+ import { renderQIconDefinition } from "./internals/render-definition";
4
6
  import { sanitizeIconSvg } from "./internals/sanitize-svg";
5
7
  import { getIconSizeStyle } from "./internals/size";
6
8
  import { isBinaryIconUrl, resolveFetchableIconUrl, resolveIconUrl } from "./internals/url";
7
9
  /**
8
- * Remote, local, or binary icon renderer with SVG sanitization.
9
- * @part svg - Container for a sanitized inline SVG.
10
+ * Synchronous registered icon renderer with optional backwards-compatible URL loading.
11
+ * @part svg - Container for registered or sanitized inline SVG content.
10
12
  * @part image - Native image used for binary icon assets.
11
13
  * @part fallback - Error fallback shown when an icon cannot load.
12
14
  */
@@ -15,6 +17,8 @@ export class QIcon {
15
17
  el;
16
18
  /** Icon name or local asset filename. */
17
19
  name;
20
+ /** Trusted compile-time icon data. Takes precedence over `name` and never performs I/O. */
21
+ definition;
18
22
  /** Supports built-in libraries, local assets, and custom URL templates. */
19
23
  lib = 'lucide';
20
24
  /** Base path used when `lib="local"`. */
@@ -32,15 +36,15 @@ export class QIcon {
32
36
  isBinary = false;
33
37
  resolvedUrl = '';
34
38
  hasError = false;
39
+ resolvedDefinition;
35
40
  fetchId = 0;
36
41
  // ========================= [3] LIFECYCLE & WATCHERS ==========================
37
42
  watchHandler() {
38
43
  void this.loadIcon();
39
44
  }
40
45
  componentWillLoad() {
41
- // Icon I/O must not hold up this component's hydration or the hydration of
42
- // parent components (such as q-sidepanel). The initial render reserves the
43
- // icon's dimensions; the fetched SVG is rendered when it becomes available.
46
+ // Registered data resolves immediately. Backwards-compatible icon I/O must
47
+ // not hold up this component or any parent component's hydration.
44
48
  void this.loadIcon();
45
49
  }
46
50
  componentWillRender() {
@@ -89,7 +93,25 @@ export class QIcon {
89
93
  async loadIcon() {
90
94
  const currentFetchId = ++this.fetchId;
91
95
  this.hasError = false;
96
+ this.resolvedDefinition = undefined;
92
97
  this.syncHostState();
98
+ const definition = this.definition ?? resolveRegisteredQIcon(this.name);
99
+ if (definition) {
100
+ try {
101
+ this.resolvedDefinition = this.definition
102
+ ? prepareQIconDefinition(definition, 'q-icon definition')
103
+ : definition;
104
+ this.svgContent = '';
105
+ this.resolvedUrl = '';
106
+ this.isBinary = false;
107
+ }
108
+ catch (error) {
109
+ console.error(error);
110
+ this.hasError = true;
111
+ }
112
+ this.syncHostState();
113
+ return;
114
+ }
93
115
  if (!this.name) {
94
116
  this.svgContent = '';
95
117
  this.resolvedUrl = '';
@@ -97,6 +119,14 @@ export class QIcon {
97
119
  this.syncHostState();
98
120
  return;
99
121
  }
122
+ if (isQIconStrictMode()) {
123
+ this.svgContent = '';
124
+ this.resolvedUrl = '';
125
+ this.isBinary = false;
126
+ this.hasError = true;
127
+ this.syncHostState();
128
+ return;
129
+ }
100
130
  const url = resolveIconUrl({
101
131
  name: this.name,
102
132
  library: this.lib,
@@ -144,6 +174,9 @@ export class QIcon {
144
174
  if (this.hasError) {
145
175
  return (h("div", { class: "icon-fallback", part: "fallback" }, h("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "aria-hidden": "true", focusable: "false" }, h("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }), h("line", { x1: "9", y1: "9", x2: "15", y2: "15" }), h("line", { x1: "15", y1: "9", x2: "9", y2: "15" }))));
146
176
  }
177
+ if (this.resolvedDefinition) {
178
+ return (h("div", { class: "svg-container", part: "svg" }, renderQIconDefinition(this.resolvedDefinition)));
179
+ }
147
180
  if (this.isBinary) {
148
181
  return (h("img", { src: this.resolvedUrl, alt: "", "aria-hidden": "true", part: "image", style: {
149
182
  width: '100%',
@@ -193,6 +226,30 @@ export class QIcon {
193
226
  "reflect": false,
194
227
  "attribute": "name"
195
228
  },
229
+ "definition": {
230
+ "type": "unknown",
231
+ "mutable": false,
232
+ "complexType": {
233
+ "original": "QIconDefinition",
234
+ "resolved": "QIconDefinition",
235
+ "references": {
236
+ "QIconDefinition": {
237
+ "location": "import",
238
+ "path": "./icon.types",
239
+ "id": "src/components/media/icon/icon.types.ts::QIconDefinition",
240
+ "referenceLocation": "QIconDefinition"
241
+ }
242
+ }
243
+ },
244
+ "required": false,
245
+ "optional": true,
246
+ "docs": {
247
+ "tags": [],
248
+ "text": "Trusted compile-time icon data. Takes precedence over `name` and never performs I/O."
249
+ },
250
+ "getter": false,
251
+ "setter": false
252
+ },
196
253
  "lib": {
197
254
  "type": "string",
198
255
  "mutable": false,
@@ -366,7 +423,8 @@ export class QIcon {
366
423
  "svgContent": {},
367
424
  "isBinary": {},
368
425
  "resolvedUrl": {},
369
- "hasError": {}
426
+ "hasError": {},
427
+ "resolvedDefinition": {}
370
428
  };
371
429
  }
372
430
  static get elementRef() { return "el"; }
@@ -374,6 +432,9 @@ export class QIcon {
374
432
  return [{
375
433
  "propName": "name",
376
434
  "methodName": "watchHandler"
435
+ }, {
436
+ "propName": "definition",
437
+ "methodName": "watchHandler"
377
438
  }, {
378
439
  "propName": "lib",
379
440
  "methodName": "watchHandler"
@@ -0,0 +1,171 @@
1
+ const REGISTRY_STATE_KEY = Symbol.for('@webquark/core:q-icon-registry:v1');
2
+ const ICON_NAME_PATTERN = /^[a-zA-Z0-9][a-zA-Z0-9_.:-]*$/;
3
+ const ATTRIBUTE_NAME_PATTERN = /^[a-zA-Z_:][a-zA-Z0-9_.:-]*$/;
4
+ const MAX_ICON_NAME_LENGTH = 128;
5
+ const MAX_NODE_DEPTH = 16;
6
+ const MAX_NODE_COUNT = 512;
7
+ const SAFE_SVG_ELEMENTS = new Set([
8
+ 'circle',
9
+ 'clipPath',
10
+ 'defs',
11
+ 'ellipse',
12
+ 'g',
13
+ 'line',
14
+ 'linearGradient',
15
+ 'mask',
16
+ 'path',
17
+ 'polygon',
18
+ 'polyline',
19
+ 'radialGradient',
20
+ 'rect',
21
+ 'stop',
22
+ 'symbol',
23
+ 'use',
24
+ ]);
25
+ function getRuntimeState() {
26
+ const globalRecord = globalThis;
27
+ const existing = globalRecord[REGISTRY_STATE_KEY];
28
+ if (existing?.version === 1 && existing.registry instanceof Map && typeof existing.strict === 'boolean') {
29
+ return existing;
30
+ }
31
+ const state = {
32
+ version: 1,
33
+ registry: new Map(),
34
+ strict: false,
35
+ };
36
+ Object.defineProperty(globalRecord, REGISTRY_STATE_KEY, {
37
+ configurable: false,
38
+ enumerable: false,
39
+ writable: false,
40
+ value: state,
41
+ });
42
+ return state;
43
+ }
44
+ function isRecord(value) {
45
+ return typeof value === 'object' && value !== null && !Array.isArray(value);
46
+ }
47
+ function containsExternalResourceReference(value) {
48
+ const references = Array.from(value.matchAll(/url\s*\(([^)]*)\)/gi));
49
+ return references.some(([, rawReference]) => {
50
+ const reference = rawReference.trim().replace(/^(['"])(.*)\1$/, '$2').trim();
51
+ return !reference.startsWith('#');
52
+ });
53
+ }
54
+ function assertPositiveDimension(value, field, context) {
55
+ if (value !== undefined && (typeof value !== 'number' || !Number.isFinite(value) || value <= 0)) {
56
+ throw new TypeError(`${context}.${field} must be a positive finite number.`);
57
+ }
58
+ }
59
+ function cloneAttributes(value, context) {
60
+ if (!isRecord(value)) {
61
+ throw new TypeError(`${context} must be an object of string SVG attributes.`);
62
+ }
63
+ const attributes = {};
64
+ for (const [name, rawValue] of Object.entries(value)) {
65
+ if (!ATTRIBUTE_NAME_PATTERN.test(name) || name.toLowerCase().startsWith('on')) {
66
+ throw new TypeError(`${context} contains an unsafe SVG attribute name: ${name}.`);
67
+ }
68
+ if (name.toLowerCase() === 'style' || name.toLowerCase() === 'src') {
69
+ throw new TypeError(`${context} contains an unsupported SVG attribute: ${name}.`);
70
+ }
71
+ if (typeof rawValue !== 'string') {
72
+ throw new TypeError(`${context}.${name} must be a string.`);
73
+ }
74
+ const normalizedValue = rawValue.trim().toLowerCase();
75
+ if (normalizedValue.includes('javascript:')) {
76
+ throw new TypeError(`${context}.${name} contains an unsafe SVG attribute value.`);
77
+ }
78
+ if ((name.toLowerCase() === 'href' || name.toLowerCase() === 'xlink:href') && !normalizedValue.startsWith('#')) {
79
+ throw new TypeError(`${context}.${name} must reference an element in the same SVG.`);
80
+ }
81
+ if (containsExternalResourceReference(rawValue)) {
82
+ throw new TypeError(`${context}.${name} must not reference an external resource.`);
83
+ }
84
+ attributes[name] = rawValue;
85
+ }
86
+ return Object.freeze(attributes);
87
+ }
88
+ function cloneNode(value, context, depth, nodeCounter) {
89
+ if (!Array.isArray(value) || (value.length !== 2 && value.length !== 3)) {
90
+ throw new TypeError(`${context} must be a [tagName, attributes, children?] tuple.`);
91
+ }
92
+ if (depth > MAX_NODE_DEPTH) {
93
+ throw new TypeError(`${context} exceeds the maximum icon node depth of ${MAX_NODE_DEPTH}.`);
94
+ }
95
+ nodeCounter.value += 1;
96
+ if (nodeCounter.value > MAX_NODE_COUNT) {
97
+ throw new TypeError(`Icon definitions may contain at most ${MAX_NODE_COUNT} SVG nodes.`);
98
+ }
99
+ const [tagName, rawAttributes, rawChildren] = value;
100
+ if (typeof tagName !== 'string' || !SAFE_SVG_ELEMENTS.has(tagName)) {
101
+ throw new TypeError(`${context} contains an unsupported SVG element: ${String(tagName)}.`);
102
+ }
103
+ const attributes = cloneAttributes(rawAttributes, `${context}[1]`);
104
+ if (rawChildren === undefined) {
105
+ return Object.freeze([tagName, attributes]);
106
+ }
107
+ if (!Array.isArray(rawChildren)) {
108
+ throw new TypeError(`${context}[2] must be an array of SVG nodes.`);
109
+ }
110
+ const children = Object.freeze(rawChildren.map((child, index) => (cloneNode(child, `${context}[2][${index}]`, depth + 1, nodeCounter))));
111
+ return Object.freeze([tagName, attributes, children]);
112
+ }
113
+ export function prepareQIconDefinition(value, context = 'Icon definition') {
114
+ if (!isRecord(value) || !Array.isArray(value.node)) {
115
+ throw new TypeError(`${context} must contain a node array.`);
116
+ }
117
+ assertPositiveDimension(value.size, 'size', context);
118
+ assertPositiveDimension(value.width, 'width', context);
119
+ assertPositiveDimension(value.height, 'height', context);
120
+ if ((value.width === undefined) !== (value.height === undefined)) {
121
+ throw new TypeError(`${context}.width and ${context}.height must be provided together.`);
122
+ }
123
+ if (value.name !== undefined && typeof value.name !== 'string') {
124
+ throw new TypeError(`${context}.name must be a string when provided.`);
125
+ }
126
+ const nodeCounter = { value: 0 };
127
+ const node = Object.freeze(value.node.map((child, index) => (cloneNode(child, `${context}.node[${index}]`, 1, nodeCounter))));
128
+ const attributes = value.attributes === undefined
129
+ ? undefined
130
+ : cloneAttributes(value.attributes, `${context}.attributes`);
131
+ const definition = {
132
+ ...(value.name === undefined ? {} : { name: value.name }),
133
+ node,
134
+ ...(value.size === undefined ? {} : { size: value.size }),
135
+ ...(value.width === undefined ? {} : { width: value.width, height: value.height }),
136
+ ...(attributes === undefined ? {} : { attributes }),
137
+ };
138
+ return Object.freeze(definition);
139
+ }
140
+ /**
141
+ * Atomically replaces the complete icon registry. Call once with an app-owned
142
+ * manifest before defining or bootstrapping WebQuark components.
143
+ */
144
+ export function registerQIcons(registry) {
145
+ if (!isRecord(registry)) {
146
+ throw new TypeError('QIcon registry must be an object keyed by icon name.');
147
+ }
148
+ const nextRegistry = new Map();
149
+ for (const [rawName, definition] of Object.entries(registry)) {
150
+ const name = rawName.trim();
151
+ if (name !== rawName || name.length > MAX_ICON_NAME_LENGTH || !ICON_NAME_PATTERN.test(name)) {
152
+ throw new TypeError(`Invalid q-icon registry name: ${JSON.stringify(rawName)}.`);
153
+ }
154
+ nextRegistry.set(name, prepareQIconDefinition(definition, `Icon definition ${JSON.stringify(name)}`));
155
+ }
156
+ getRuntimeState().registry = nextRegistry;
157
+ }
158
+ /** Configures whether unknown icon names may use URL and fetch fallbacks. */
159
+ export function configureQIcons(configuration) {
160
+ if (!isRecord(configuration) || typeof configuration.strict !== 'boolean') {
161
+ throw new TypeError('QIcon configuration must provide a boolean strict value.');
162
+ }
163
+ getRuntimeState().strict = configuration.strict;
164
+ }
165
+ export function resolveRegisteredQIcon(name) {
166
+ const normalizedName = name?.trim();
167
+ return normalizedName ? getRuntimeState().registry.get(normalizedName) : undefined;
168
+ }
169
+ export function isQIconStrictMode() {
170
+ return getRuntimeState().strict;
171
+ }
@@ -0,0 +1,42 @@
1
+ import { afterEach, describe, expect, it } from "vitest";
2
+ import { configureQIcons, isQIconStrictMode, registerQIcons, resolveRegisteredQIcon, } from "./registry";
3
+ const CIRCLE = {
4
+ name: 'circle',
5
+ size: 24,
6
+ node: [['circle', { cx: '12', cy: '12', r: '10' }]],
7
+ };
8
+ describe('q-icon registry', () => {
9
+ afterEach(() => {
10
+ registerQIcons({});
11
+ configureQIcons({ strict: false });
12
+ });
13
+ it('replaces the whole registry atomically', () => {
14
+ registerQIcons({ circle: CIRCLE });
15
+ expect(resolveRegisteredQIcon('circle')).toEqual(CIRCLE);
16
+ registerQIcons({ dot: { size: 24, node: [['circle', { cx: '12', cy: '12', r: '2' }]] } });
17
+ expect(resolveRegisteredQIcon('circle')).toBeUndefined();
18
+ expect(resolveRegisteredQIcon('dot')).toBeDefined();
19
+ });
20
+ it('does not register or import a global icon catalog', () => {
21
+ registerQIcons({ circle: CIRCLE });
22
+ expect(resolveRegisteredQIcon('circle')).toBeDefined();
23
+ expect(resolveRegisteredQIcon('activity')).toBeUndefined();
24
+ expect(resolveRegisteredQIcon('alarm-clock')).toBeUndefined();
25
+ });
26
+ it('rejects unsafe definitions without replacing the existing registry', () => {
27
+ registerQIcons({ circle: CIRCLE });
28
+ expect(() => registerQIcons({
29
+ unsafe: {
30
+ size: 24,
31
+ node: [['use', { href: 'https://example.com/icons.svg#unsafe' }]],
32
+ },
33
+ })).toThrow(/same SVG/);
34
+ expect(resolveRegisteredQIcon('circle')).toBeDefined();
35
+ expect(resolveRegisteredQIcon('unsafe')).toBeUndefined();
36
+ });
37
+ it('requires an explicit boolean strict-mode setting', () => {
38
+ configureQIcons({ strict: true });
39
+ expect(isQIconStrictMode()).toBe(true);
40
+ expect(() => configureQIcons({})).toThrow(/boolean strict/);
41
+ });
42
+ });
@@ -0,0 +1,24 @@
1
+ import { h } from "@stencil/core";
2
+ function renderNode(node) {
3
+ const [tagName, attributes, children] = node;
4
+ return h(tagName, attributes, children?.map(renderNode));
5
+ }
6
+ export function renderQIconDefinition(definition) {
7
+ const width = definition.width ?? definition.size ?? 24;
8
+ const height = definition.height ?? definition.size ?? 24;
9
+ const attributes = {
10
+ xmlns: 'http://www.w3.org/2000/svg',
11
+ viewBox: `0 0 ${width} ${height}`,
12
+ fill: 'none',
13
+ stroke: 'currentColor',
14
+ 'stroke-width': '2',
15
+ 'stroke-linecap': 'round',
16
+ 'stroke-linejoin': 'round',
17
+ ...definition.attributes,
18
+ width: '100%',
19
+ height: '100%',
20
+ 'aria-hidden': 'true',
21
+ focusable: 'false',
22
+ };
23
+ return h('svg', attributes, definition.node.map(renderNode));
24
+ }
@@ -11,4 +11,5 @@ export { format } from './utils/utils';
11
11
  export { identifyItems, reconcileByIdentity, } from './utils/collection-identity';
12
12
  export { Q_MAP_DEFAULT_CLUSTER_GROUP, Q_MAP_MARKER_CALLOUT_PLACEMENTS, Q_MAP_MARKER_CALLOUT_STAT_LAYOUTS, Q_MAP_MARKER_CALLOUT_VISIBILITIES, Q_MAP_MARKER_KINDS, Q_MAP_MARKER_RINGS, Q_MAP_MARKER_SIZES, Q_MAP_MARKER_VARIANTS, Q_MAP_RASTER_TILE_LOADING_POLICIES, } from './components/data-display/map/map.types';
13
13
  export { getDataTableCellSlotName, getDataTableCellValue, getDataTableItemKey, } from './components/data-display/data-table/data-table-cell';
14
+ export { configureQIcons, registerQIcons, } from './components/media/icon/internals/registry';
14
15
  export { toast } from './components/overlays/toast/toast-controller';
@@ -1 +1 @@
1
- export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-DiOrwkX8.js";export{f as format}from"./p-BJiYCN3i.js";export{i as identifyItems,r as reconcileByIdentity}from"./p-CGZPmEUB.js";export{Q as Q_MAP_DEFAULT_CLUSTER_GROUP,a as Q_MAP_MARKER_CALLOUT_PLACEMENTS,b as Q_MAP_MARKER_CALLOUT_STAT_LAYOUTS,c as Q_MAP_MARKER_CALLOUT_VISIBILITIES,d as Q_MAP_MARKER_KINDS,e as Q_MAP_MARKER_RINGS,f as Q_MAP_MARKER_SIZES,g as Q_MAP_MARKER_VARIANTS,h as Q_MAP_RASTER_TILE_LOADING_POLICIES}from"./p-WJHaLJS_.js";export{g as getDataTableCellSlotName,a as getDataTableCellValue,b as getDataTableItemKey}from"./p-DmqVhVoj.js";export{t as toast}from"./p-BIIQL66b.js";
1
+ export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-QHgICI4w.js";export{f as format}from"./p-BJiYCN3i.js";export{i as identifyItems,r as reconcileByIdentity}from"./p-CGZPmEUB.js";export{Q as Q_MAP_DEFAULT_CLUSTER_GROUP,a as Q_MAP_MARKER_CALLOUT_PLACEMENTS,b as Q_MAP_MARKER_CALLOUT_STAT_LAYOUTS,c as Q_MAP_MARKER_CALLOUT_VISIBILITIES,d as Q_MAP_MARKER_KINDS,e as Q_MAP_MARKER_RINGS,f as Q_MAP_MARKER_SIZES,g as Q_MAP_MARKER_VARIANTS,h as Q_MAP_RASTER_TILE_LOADING_POLICIES}from"./p-WJHaLJS_.js";export{g as getDataTableCellSlotName,a as getDataTableCellValue,b as getDataTableItemKey}from"./p-DmqVhVoj.js";export{c as configureQIcons,r as registerQIcons}from"./p-BvBRW3dl.js";export{t as toast}from"./p-BIIQL66b.js";