@awc-ui/core 1.1.0 → 1.2.0

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 (669) hide show
  1. package/bin/templates/astro/package.json +2 -2
  2. package/bin/templates/html/index.html +3 -3
  3. package/bin/templates/html/package.json +2 -2
  4. package/bin/templates/next/package.json +3 -3
  5. package/bin/templates/nuxt/package.json +2 -2
  6. package/bin/templates/sveltekit/package.json +2 -2
  7. package/custom-elements.json +390 -0
  8. package/dist/cjs/{index-DLOFxFlM.js → index-DHpWaYWF.js} +23 -3
  9. package/dist/cjs/{index-DLOFxFlM.js.map → index-DHpWaYWF.js.map} +1 -1
  10. package/dist/cjs/{initial-motion-DVmpmKD8.js → initial-motion-COVdXmbQ.js} +3 -3
  11. package/dist/cjs/{initial-motion-DVmpmKD8.js.map → initial-motion-COVdXmbQ.js.map} +1 -1
  12. package/dist/cjs/{lazy-loading-indicator-Bgw5HXaX.js → lazy-loading-indicator-DqjeYBZo.js} +4 -4
  13. package/dist/cjs/{lazy-loading-indicator-Bgw5HXaX.js.map → lazy-loading-indicator-DqjeYBZo.js.map} +1 -1
  14. package/dist/cjs/loader.cjs.js +2 -2
  15. package/dist/cjs/md-accordion-item.cjs.entry.js +2 -2
  16. package/dist/cjs/md-accordion.cjs.entry.js +2 -2
  17. package/dist/cjs/md-app-bar.cjs.entry.js +2 -2
  18. package/dist/cjs/md-area-chart.cjs.entry.js +27 -15
  19. package/dist/cjs/md-area-chart.cjs.entry.js.map +1 -1
  20. package/dist/cjs/md-autocomplete.cjs.entry.js +3 -3
  21. package/dist/cjs/md-avatar_2.cjs.entry.js +2 -2
  22. package/dist/cjs/md-badge.cjs.entry.js +2 -2
  23. package/dist/cjs/md-bar-chart.cjs.entry.js +27 -15
  24. package/dist/cjs/md-bar-chart.cjs.entry.js.map +1 -1
  25. package/dist/cjs/md-bottom-sheet.cjs.entry.js +2 -2
  26. package/dist/cjs/md-breadcrumb-item.cjs.entry.js +2 -2
  27. package/dist/cjs/md-breadcrumbs.cjs.entry.js +2 -2
  28. package/dist/cjs/md-button-group.cjs.entry.js +2 -2
  29. package/dist/cjs/md-button_6.cjs.entry.js +4 -4
  30. package/dist/cjs/md-chart-series.cjs.entry.js +122 -0
  31. package/dist/cjs/md-chart-series.cjs.entry.js.map +1 -0
  32. package/dist/cjs/md-checkbox.cjs.entry.js +5 -5
  33. package/dist/cjs/md-chip.cjs.entry.js +4 -4
  34. package/dist/cjs/md-color-picker.cjs.entry.js +3 -3
  35. package/dist/cjs/md-date-picker.cjs.entry.js +3 -3
  36. package/dist/cjs/md-dialog.cjs.entry.js +5 -5
  37. package/dist/cjs/md-divider.cjs.entry.js +4 -4
  38. package/dist/cjs/md-fab-menu-item.cjs.entry.js +4 -4
  39. package/dist/cjs/md-fab-menu.cjs.entry.js +5 -5
  40. package/dist/cjs/md-fab.cjs.entry.js +4 -4
  41. package/dist/cjs/md-line-chart.cjs.entry.js +31 -19
  42. package/dist/cjs/md-line-chart.cjs.entry.js.map +1 -1
  43. package/dist/cjs/md-list-item.cjs.entry.js +2 -2
  44. package/dist/cjs/md-list.cjs.entry.js +2 -2
  45. package/dist/cjs/{md-loading-indicator-BB9ghhFd.js → md-loading-indicator-Px_NR8tC.js} +4 -4
  46. package/dist/cjs/{md-loading-indicator-BB9ghhFd.js.map → md-loading-indicator-Px_NR8tC.js.map} +1 -1
  47. package/dist/cjs/md-loading-indicator.cjs.entry.js +3 -3
  48. package/dist/cjs/md-menu-item-group.cjs.entry.js +2 -2
  49. package/dist/cjs/md-menu_2.cjs.entry.js +3 -3
  50. package/dist/cjs/md-meter.cjs.entry.js +2 -2
  51. package/dist/cjs/md-multi-select.cjs.entry.js +3 -3
  52. package/dist/cjs/md-navigation-bar.cjs.entry.js +2 -2
  53. package/dist/cjs/md-navigation-rail-tab.cjs.entry.js +2 -2
  54. package/dist/cjs/md-navigation-rail.cjs.entry.js +2 -2
  55. package/dist/cjs/md-navigation-tab.cjs.entry.js +2 -2
  56. package/dist/cjs/md-number-field.cjs.entry.js +2 -2
  57. package/dist/cjs/md-organization-chart.cjs.entry.js +2 -2
  58. package/dist/cjs/md-otp-field.cjs.entry.js +2 -2
  59. package/dist/cjs/md-pie-chart.cjs.entry.js +2 -2
  60. package/dist/cjs/md-progress-indicator.cjs.entry.js +2 -2
  61. package/dist/cjs/md-rating.cjs.entry.js +2 -2
  62. package/dist/cjs/md-search.cjs.entry.js +4 -4
  63. package/dist/cjs/md-segmented-button-set.cjs.entry.js +2 -2
  64. package/dist/cjs/md-segmented-button.cjs.entry.js +2 -2
  65. package/dist/cjs/md-select-option.cjs.entry.js +2 -2
  66. package/dist/cjs/md-select.cjs.entry.js +3 -3
  67. package/dist/cjs/md-side-sheet.cjs.entry.js +3 -3
  68. package/dist/cjs/md-skeleton.cjs.entry.js +2 -2
  69. package/dist/cjs/md-slider.cjs.entry.js +2 -2
  70. package/dist/cjs/md-sparkline.cjs.entry.js +2 -2
  71. package/dist/cjs/md-split-button.cjs.entry.js +2 -2
  72. package/dist/cjs/md-status-dot.cjs.entry.js +2 -2
  73. package/dist/cjs/md-step.cjs.entry.js +2 -2
  74. package/dist/cjs/md-stepper.cjs.entry.js +2 -2
  75. package/dist/cjs/md-sub-menu-item.cjs.entry.js +2 -2
  76. package/dist/cjs/md-switch.cjs.entry.js +2 -2
  77. package/dist/cjs/md-tab-panel.cjs.entry.js +2 -2
  78. package/dist/cjs/md-tab-panels.cjs.entry.js +2 -2
  79. package/dist/cjs/md-tab.cjs.entry.js +2 -2
  80. package/dist/cjs/md-table-body.cjs.entry.js +2 -2
  81. package/dist/cjs/md-table-cell.cjs.entry.js +2 -2
  82. package/dist/cjs/md-table-container.cjs.entry.js +2 -2
  83. package/dist/cjs/md-table-expand-toggle.cjs.entry.js +2 -2
  84. package/dist/cjs/md-table-foot.cjs.entry.js +2 -2
  85. package/dist/cjs/md-table-head.cjs.entry.js +2 -2
  86. package/dist/cjs/md-table-pagination.cjs.entry.js +2 -2
  87. package/dist/cjs/md-table-row.cjs.entry.js +2 -2
  88. package/dist/cjs/md-table-sort-label.cjs.entry.js +2 -2
  89. package/dist/cjs/md-table-toolbar.cjs.entry.js +2 -2
  90. package/dist/cjs/md-table.cjs.entry.js +2 -2
  91. package/dist/cjs/md-tabs.cjs.entry.js +2 -2
  92. package/dist/cjs/md-text-field.cjs.entry.js +2 -2
  93. package/dist/cjs/md-time-picker.cjs.entry.js +3 -3
  94. package/dist/cjs/md-toolbar.cjs.entry.js +2 -2
  95. package/dist/cjs/md-transfer-list.cjs.entry.js +2 -2
  96. package/dist/cjs/md3.cjs.js +2 -2
  97. package/dist/cjs/{overlay-lifecycle-CUc_dfNl.js → overlay-lifecycle-Bhu5zauR.js} +3 -3
  98. package/dist/cjs/{overlay-lifecycle-CUc_dfNl.js.map → overlay-lifecycle-Bhu5zauR.js.map} +1 -1
  99. package/dist/cjs/series-elements-B4T7vF5A.js +90 -0
  100. package/dist/cjs/series-elements-B4T7vF5A.js.map +1 -0
  101. package/dist/collection/collection-manifest.json +2 -1
  102. package/dist/collection/components/md-area-chart/md-area-chart.js +35 -22
  103. package/dist/collection/components/md-area-chart/md-area-chart.js.map +1 -1
  104. package/dist/collection/components/md-bar-chart/md-bar-chart.js +31 -18
  105. package/dist/collection/components/md-bar-chart/md-bar-chart.js.map +1 -1
  106. package/dist/collection/components/md-chart-series/md-chart-series.css +4 -0
  107. package/dist/collection/components/md-chart-series/md-chart-series.js +654 -0
  108. package/dist/collection/components/md-chart-series/md-chart-series.js.map +1 -0
  109. package/dist/collection/components/md-checkbox/md-checkbox.js +3 -3
  110. package/dist/collection/components/md-chip/md-chip.js +2 -2
  111. package/dist/collection/components/md-dialog/md-dialog.js +2 -2
  112. package/dist/collection/components/md-divider/md-divider.js +2 -2
  113. package/dist/collection/components/md-fab/md-fab.js +2 -2
  114. package/dist/collection/components/md-fab-menu/md-fab-menu.js +2 -2
  115. package/dist/collection/components/md-fab-menu-item/md-fab-menu-item.js +2 -2
  116. package/dist/collection/components/md-line-chart/md-line-chart.js +31 -18
  117. package/dist/collection/components/md-line-chart/md-line-chart.js.map +1 -1
  118. package/dist/collection/components/md-ripple/md-ripple.js +1 -1
  119. package/dist/collection/index.js.map +1 -1
  120. package/dist/collection/utils/charts/series-elements.js +82 -0
  121. package/dist/collection/utils/charts/series-elements.js.map +1 -0
  122. package/dist/components/index.js +1 -1
  123. package/dist/components/md-accordion-item.js +1 -1
  124. package/dist/components/md-accordion.js +1 -1
  125. package/dist/components/md-app-bar.js +1 -1
  126. package/dist/components/md-area-chart.js +1 -1
  127. package/dist/components/md-area-chart.js.map +1 -1
  128. package/dist/components/md-autocomplete.js +1 -1
  129. package/dist/components/md-avatar.js +1 -1
  130. package/dist/components/md-badge.js +1 -1
  131. package/dist/components/md-bar-chart.js +1 -1
  132. package/dist/components/md-bar-chart.js.map +1 -1
  133. package/dist/components/md-bottom-sheet.js +1 -1
  134. package/dist/components/md-breadcrumb-item.js +1 -1
  135. package/dist/components/md-breadcrumbs.js +1 -1
  136. package/dist/components/md-button-group.js +1 -1
  137. package/dist/components/md-button.js +1 -1
  138. package/dist/components/md-card.js +1 -1
  139. package/dist/components/md-chart-series.d.ts +11 -0
  140. package/dist/components/md-chart-series.js +2 -0
  141. package/dist/components/md-chart-series.js.map +1 -0
  142. package/dist/components/md-checkbox.js +1 -1
  143. package/dist/components/md-chip.js +1 -1
  144. package/dist/components/md-color-picker.js +1 -1
  145. package/dist/components/md-date-picker.js +1 -1
  146. package/dist/components/md-dialog.js +1 -1
  147. package/dist/components/md-dialog.js.map +1 -1
  148. package/dist/components/md-divider.js +1 -1
  149. package/dist/components/md-fab-menu-item.js +1 -1
  150. package/dist/components/md-fab-menu-item.js.map +1 -1
  151. package/dist/components/md-fab-menu.js +1 -1
  152. package/dist/components/md-fab.js +1 -1
  153. package/dist/components/md-icon-button.js +1 -1
  154. package/dist/components/md-line-chart.js +1 -1
  155. package/dist/components/md-line-chart.js.map +1 -1
  156. package/dist/components/md-list-item.js +1 -1
  157. package/dist/components/md-list.js +1 -1
  158. package/dist/components/md-loading-indicator.js +1 -1
  159. package/dist/components/md-menu-item-group.js +1 -1
  160. package/dist/components/md-menu-item.js +1 -1
  161. package/dist/components/md-menu.js +1 -1
  162. package/dist/components/md-meter.js +1 -1
  163. package/dist/components/md-multi-select.js +1 -1
  164. package/dist/components/md-navigation-bar.js +1 -1
  165. package/dist/components/md-navigation-rail-tab.js +1 -1
  166. package/dist/components/md-navigation-rail.js +1 -1
  167. package/dist/components/md-navigation-tab.js +1 -1
  168. package/dist/components/md-number-field.js +1 -1
  169. package/dist/components/md-organization-chart.js +1 -1
  170. package/dist/components/md-otp-field.js +1 -1
  171. package/dist/components/md-pie-chart.js +1 -1
  172. package/dist/components/md-progress-indicator.js +1 -1
  173. package/dist/components/md-radio.js +1 -1
  174. package/dist/components/md-rating.js +1 -1
  175. package/dist/components/md-ripple.js +1 -1
  176. package/dist/components/md-search.js +1 -1
  177. package/dist/components/md-segmented-button-set.js +1 -1
  178. package/dist/components/md-segmented-button.js +1 -1
  179. package/dist/components/md-select-option.js +1 -1
  180. package/dist/components/md-select.js +1 -1
  181. package/dist/components/md-side-sheet.js +1 -1
  182. package/dist/components/md-skeleton.js +1 -1
  183. package/dist/components/md-slider.js +1 -1
  184. package/dist/components/md-snackbar.js +1 -1
  185. package/dist/components/md-sparkline.js +1 -1
  186. package/dist/components/md-split-button.js +1 -1
  187. package/dist/components/md-status-dot.js +1 -1
  188. package/dist/components/md-step.js +1 -1
  189. package/dist/components/md-stepper.js +1 -1
  190. package/dist/components/md-sub-menu-item.js +1 -1
  191. package/dist/components/md-switch.js +1 -1
  192. package/dist/components/md-tab-panel.js +1 -1
  193. package/dist/components/md-tab-panels.js +1 -1
  194. package/dist/components/md-tab.js +1 -1
  195. package/dist/components/md-table-body.js +1 -1
  196. package/dist/components/md-table-cell.js +1 -1
  197. package/dist/components/md-table-container.js +1 -1
  198. package/dist/components/md-table-expand-toggle.js +1 -1
  199. package/dist/components/md-table-foot.js +1 -1
  200. package/dist/components/md-table-head.js +1 -1
  201. package/dist/components/md-table-pagination.js +1 -1
  202. package/dist/components/md-table-row.js +1 -1
  203. package/dist/components/md-table-sort-label.js +1 -1
  204. package/dist/components/md-table-toolbar.js +1 -1
  205. package/dist/components/md-table.js +1 -1
  206. package/dist/components/md-tabs.js +1 -1
  207. package/dist/components/md-text-field.js +1 -1
  208. package/dist/components/md-time-picker.js +1 -1
  209. package/dist/components/md-toolbar.js +1 -1
  210. package/dist/components/md-tooltip.js +1 -1
  211. package/dist/components/md-transfer-list.js +1 -1
  212. package/dist/components/{p-63ROhs5i.js → p-0IF02V78.js} +2 -2
  213. package/dist/{md3/p-BytnCy9Z.js → components/p-0hoYij4e.js} +2 -2
  214. package/dist/{components-csr/p-B3y4Sfu7.js → components/p-3GSjLPGH.js} +2 -2
  215. package/dist/components/p-BcgBd7Uo.js +2 -0
  216. package/dist/components/p-BcgBd7Uo.js.map +1 -0
  217. package/dist/components/{p-BCAoGEfF.js → p-BzXHX-ab.js} +2 -2
  218. package/dist/{components-csr/p-mPtoRtT7.js → components/p-C84E82vc.js} +2 -2
  219. package/dist/{components-csr/p-D5zCIaks.js → components/p-CMkPI5PO.js} +2 -2
  220. package/dist/components/{p-CGKlSro0.js → p-CWveMYei.js} +2 -2
  221. package/dist/components/{p-CjV5tPMM.js → p-CXPZ-DjB.js} +2 -2
  222. package/dist/components/{p-D_fs8IXJ.js → p-CoxMxFp3.js} +2 -2
  223. package/dist/components/{p-C6Dk5I_4.js → p-CuijKuQR.js} +2 -2
  224. package/dist/components/{p-B9jJRlnU.js → p-D9C2BtN-.js} +2 -2
  225. package/dist/components/{p-AD7q8XNf.js → p-DI0ebvMQ.js} +2 -2
  226. package/dist/components/{p-BJAKwQqQ.js → p-DM30Y_8c.js} +2 -2
  227. package/dist/components/{p-CXOHmY2w.js → p-DTAVEp79.js} +2 -2
  228. package/dist/components/{p-KXxaSDnZ.js → p-DfuTvIyO.js} +2 -2
  229. package/dist/components/{p-BcOsCkxa.js → p-P38YgsfT.js} +2 -2
  230. package/dist/components/{p-DIGH4LlS.js → p-lK_nIs4o.js} +2 -2
  231. package/dist/components/{p-CspVD-eh.js → p-t9lomFml.js} +2 -2
  232. package/dist/components/p-t9lomFml.js.map +1 -0
  233. package/dist/components-csr/index.js +1 -1
  234. package/dist/components-csr/md-accordion-item.js +1 -1
  235. package/dist/components-csr/md-accordion.js +1 -1
  236. package/dist/components-csr/md-app-bar.js +1 -1
  237. package/dist/components-csr/md-area-chart.js +1 -1
  238. package/dist/components-csr/md-area-chart.js.map +1 -1
  239. package/dist/components-csr/md-autocomplete.js +1 -1
  240. package/dist/components-csr/md-avatar.js +1 -1
  241. package/dist/components-csr/md-badge.js +1 -1
  242. package/dist/components-csr/md-bar-chart.js +1 -1
  243. package/dist/components-csr/md-bar-chart.js.map +1 -1
  244. package/dist/components-csr/md-bottom-sheet.js +1 -1
  245. package/dist/components-csr/md-breadcrumb-item.js +1 -1
  246. package/dist/components-csr/md-breadcrumbs.js +1 -1
  247. package/dist/components-csr/md-button-group.js +1 -1
  248. package/dist/components-csr/md-button.js +1 -1
  249. package/dist/components-csr/md-card.js +1 -1
  250. package/dist/components-csr/md-chart-series.js +2 -0
  251. package/dist/components-csr/md-chart-series.js.map +1 -0
  252. package/dist/components-csr/md-checkbox.js +1 -1
  253. package/dist/components-csr/md-chip.js +1 -1
  254. package/dist/components-csr/md-color-picker.js +1 -1
  255. package/dist/components-csr/md-date-picker.js +1 -1
  256. package/dist/components-csr/md-dialog.js +1 -1
  257. package/dist/components-csr/md-dialog.js.map +1 -1
  258. package/dist/components-csr/md-divider.js +1 -1
  259. package/dist/components-csr/md-fab-menu-item.js +1 -1
  260. package/dist/components-csr/md-fab-menu-item.js.map +1 -1
  261. package/dist/components-csr/md-fab-menu.js +1 -1
  262. package/dist/components-csr/md-fab.js +1 -1
  263. package/dist/components-csr/md-icon-button.js +1 -1
  264. package/dist/components-csr/md-line-chart.js +1 -1
  265. package/dist/components-csr/md-line-chart.js.map +1 -1
  266. package/dist/components-csr/md-list-item.js +1 -1
  267. package/dist/components-csr/md-list.js +1 -1
  268. package/dist/components-csr/md-loading-indicator.js +1 -1
  269. package/dist/components-csr/md-menu-item-group.js +1 -1
  270. package/dist/components-csr/md-menu-item.js +1 -1
  271. package/dist/components-csr/md-menu.js +1 -1
  272. package/dist/components-csr/md-meter.js +1 -1
  273. package/dist/components-csr/md-multi-select.js +1 -1
  274. package/dist/components-csr/md-navigation-bar.js +1 -1
  275. package/dist/components-csr/md-navigation-rail-tab.js +1 -1
  276. package/dist/components-csr/md-navigation-rail.js +1 -1
  277. package/dist/components-csr/md-navigation-tab.js +1 -1
  278. package/dist/components-csr/md-number-field.js +1 -1
  279. package/dist/components-csr/md-organization-chart.js +1 -1
  280. package/dist/components-csr/md-otp-field.js +1 -1
  281. package/dist/components-csr/md-pie-chart.js +1 -1
  282. package/dist/components-csr/md-progress-indicator.js +1 -1
  283. package/dist/components-csr/md-radio.js +1 -1
  284. package/dist/components-csr/md-rating.js +1 -1
  285. package/dist/components-csr/md-ripple.js +1 -1
  286. package/dist/components-csr/md-search.js +1 -1
  287. package/dist/components-csr/md-segmented-button-set.js +1 -1
  288. package/dist/components-csr/md-segmented-button.js +1 -1
  289. package/dist/components-csr/md-select-option.js +1 -1
  290. package/dist/components-csr/md-select.js +1 -1
  291. package/dist/components-csr/md-side-sheet.js +1 -1
  292. package/dist/components-csr/md-skeleton.js +1 -1
  293. package/dist/components-csr/md-slider.js +1 -1
  294. package/dist/components-csr/md-snackbar.js +1 -1
  295. package/dist/components-csr/md-sparkline.js +1 -1
  296. package/dist/components-csr/md-split-button.js +1 -1
  297. package/dist/components-csr/md-status-dot.js +1 -1
  298. package/dist/components-csr/md-step.js +1 -1
  299. package/dist/components-csr/md-stepper.js +1 -1
  300. package/dist/components-csr/md-sub-menu-item.js +1 -1
  301. package/dist/components-csr/md-switch.js +1 -1
  302. package/dist/components-csr/md-tab-panel.js +1 -1
  303. package/dist/components-csr/md-tab-panels.js +1 -1
  304. package/dist/components-csr/md-tab.js +1 -1
  305. package/dist/components-csr/md-table-body.js +1 -1
  306. package/dist/components-csr/md-table-cell.js +1 -1
  307. package/dist/components-csr/md-table-container.js +1 -1
  308. package/dist/components-csr/md-table-expand-toggle.js +1 -1
  309. package/dist/components-csr/md-table-foot.js +1 -1
  310. package/dist/components-csr/md-table-head.js +1 -1
  311. package/dist/components-csr/md-table-pagination.js +1 -1
  312. package/dist/components-csr/md-table-row.js +1 -1
  313. package/dist/components-csr/md-table-sort-label.js +1 -1
  314. package/dist/components-csr/md-table-toolbar.js +1 -1
  315. package/dist/components-csr/md-table.js +1 -1
  316. package/dist/components-csr/md-tabs.js +1 -1
  317. package/dist/components-csr/md-text-field.js +1 -1
  318. package/dist/components-csr/md-time-picker.js +1 -1
  319. package/dist/components-csr/md-toolbar.js +1 -1
  320. package/dist/components-csr/md-tooltip.js +1 -1
  321. package/dist/components-csr/md-transfer-list.js +1 -1
  322. package/dist/components-csr/{p-Ca8f4AyH.js → p-B0CFxLUh.js} +2 -2
  323. package/dist/components-csr/{p-Cr1trPWZ.js → p-B_7E_AYp.js} +2 -2
  324. package/dist/components-csr/p-BcgBd7Uo.js +2 -0
  325. package/dist/components-csr/p-BcgBd7Uo.js.map +1 -0
  326. package/dist/{components/p-DoJOR0pW.js → components-csr/p-BrkO_ex-.js} +2 -2
  327. package/dist/components-csr/{p-C7SO-MXq.js → p-CJoJbayQ.js} +2 -2
  328. package/dist/{components/p-WQOlnYmQ.js → components-csr/p-CSbYwMnb.js} +2 -2
  329. package/dist/components-csr/{p-CWxDc07j.js → p-CgwYzoLw.js} +2 -2
  330. package/dist/components-csr/{p-B_K-3G0S.js → p-D9cIx3li.js} +2 -2
  331. package/dist/components-csr/{p-CUMT_XYv.js → p-DFJO04Vn.js} +2 -2
  332. package/dist/components-csr/{p-Px_e-xy9.js → p-DH9RCl21.js} +2 -2
  333. package/dist/components-csr/{p-CB_bjwk9.js → p-DHw4bV7s.js} +2 -2
  334. package/dist/components-csr/{p-CZp-Xecz.js → p-DNOD_gWq.js} +2 -2
  335. package/dist/components-csr/{p-BuMwJsnQ.js → p-DeGXyF1I.js} +2 -2
  336. package/dist/components-csr/{p-CQoO26r0.js → p-DtvcCARI.js} +2 -2
  337. package/dist/components-csr/{p-DQL7SnR8.js → p-GBA16NLW.js} +2 -2
  338. package/dist/components-csr/{p-B37-0L5e.js → p-dBZ_5SDM.js} +2 -2
  339. package/dist/components-csr/p-dBZ_5SDM.js.map +1 -0
  340. package/dist/{components/p-BWCwdLDy.js → components-csr/p-iDisQkYG.js} +2 -2
  341. package/dist/components-csr/{p-CvTDNP2i.js → p-oV2Z2HiI.js} +2 -2
  342. package/dist/components-csr/{p-BT43J7lo.js → p-pIQRKNpB.js} +2 -2
  343. package/dist/esm/{index-DkJ2hl1A.js → index-DuCsV-Tv.js} +23 -3
  344. package/dist/esm/{index-DkJ2hl1A.js.map → index-DuCsV-Tv.js.map} +1 -1
  345. package/dist/esm/{initial-motion-DdqthWsh.js → initial-motion-D_VxK6y5.js} +3 -3
  346. package/dist/esm/{initial-motion-DdqthWsh.js.map → initial-motion-D_VxK6y5.js.map} +1 -1
  347. package/dist/esm/{lazy-loading-indicator-CrT32bSG.js → lazy-loading-indicator-D01l1mnu.js} +4 -4
  348. package/dist/esm/{lazy-loading-indicator-CrT32bSG.js.map → lazy-loading-indicator-D01l1mnu.js.map} +1 -1
  349. package/dist/esm/loader.js +3 -3
  350. package/dist/esm/md-accordion-item.entry.js +2 -2
  351. package/dist/esm/md-accordion.entry.js +2 -2
  352. package/dist/esm/md-app-bar.entry.js +2 -2
  353. package/dist/esm/md-area-chart.entry.js +27 -15
  354. package/dist/esm/md-area-chart.entry.js.map +1 -1
  355. package/dist/esm/md-autocomplete.entry.js +3 -3
  356. package/dist/esm/md-avatar_2.entry.js +2 -2
  357. package/dist/esm/md-badge.entry.js +2 -2
  358. package/dist/esm/md-bar-chart.entry.js +27 -15
  359. package/dist/esm/md-bar-chart.entry.js.map +1 -1
  360. package/dist/esm/md-bottom-sheet.entry.js +2 -2
  361. package/dist/esm/md-breadcrumb-item.entry.js +2 -2
  362. package/dist/esm/md-breadcrumbs.entry.js +2 -2
  363. package/dist/esm/md-button-group.entry.js +2 -2
  364. package/dist/esm/md-button_6.entry.js +4 -4
  365. package/dist/esm/md-chart-series.entry.js +120 -0
  366. package/dist/esm/md-chart-series.entry.js.map +1 -0
  367. package/dist/esm/md-checkbox.entry.js +5 -5
  368. package/dist/esm/md-chip.entry.js +4 -4
  369. package/dist/esm/md-color-picker.entry.js +3 -3
  370. package/dist/esm/md-date-picker.entry.js +3 -3
  371. package/dist/esm/md-dialog.entry.js +5 -5
  372. package/dist/esm/md-divider.entry.js +4 -4
  373. package/dist/esm/md-fab-menu-item.entry.js +4 -4
  374. package/dist/esm/md-fab-menu.entry.js +5 -5
  375. package/dist/esm/md-fab.entry.js +4 -4
  376. package/dist/esm/md-line-chart.entry.js +31 -19
  377. package/dist/esm/md-line-chart.entry.js.map +1 -1
  378. package/dist/esm/md-list-item.entry.js +2 -2
  379. package/dist/esm/md-list.entry.js +2 -2
  380. package/dist/esm/{md-loading-indicator-y7Swvv8I.js → md-loading-indicator-DvHmp-e1.js} +4 -4
  381. package/dist/esm/{md-loading-indicator-y7Swvv8I.js.map → md-loading-indicator-DvHmp-e1.js.map} +1 -1
  382. package/dist/esm/md-loading-indicator.entry.js +3 -3
  383. package/dist/esm/md-menu-item-group.entry.js +2 -2
  384. package/dist/esm/md-menu_2.entry.js +3 -3
  385. package/dist/esm/md-meter.entry.js +2 -2
  386. package/dist/esm/md-multi-select.entry.js +3 -3
  387. package/dist/esm/md-navigation-bar.entry.js +2 -2
  388. package/dist/esm/md-navigation-rail-tab.entry.js +2 -2
  389. package/dist/esm/md-navigation-rail.entry.js +2 -2
  390. package/dist/esm/md-navigation-tab.entry.js +2 -2
  391. package/dist/esm/md-number-field.entry.js +2 -2
  392. package/dist/esm/md-organization-chart.entry.js +2 -2
  393. package/dist/esm/md-otp-field.entry.js +2 -2
  394. package/dist/esm/md-pie-chart.entry.js +2 -2
  395. package/dist/esm/md-progress-indicator.entry.js +2 -2
  396. package/dist/esm/md-rating.entry.js +2 -2
  397. package/dist/esm/md-search.entry.js +4 -4
  398. package/dist/esm/md-segmented-button-set.entry.js +2 -2
  399. package/dist/esm/md-segmented-button.entry.js +2 -2
  400. package/dist/esm/md-select-option.entry.js +2 -2
  401. package/dist/esm/md-select.entry.js +3 -3
  402. package/dist/esm/md-side-sheet.entry.js +3 -3
  403. package/dist/esm/md-skeleton.entry.js +2 -2
  404. package/dist/esm/md-slider.entry.js +2 -2
  405. package/dist/esm/md-sparkline.entry.js +2 -2
  406. package/dist/esm/md-split-button.entry.js +2 -2
  407. package/dist/esm/md-status-dot.entry.js +2 -2
  408. package/dist/esm/md-step.entry.js +2 -2
  409. package/dist/esm/md-stepper.entry.js +2 -2
  410. package/dist/esm/md-sub-menu-item.entry.js +2 -2
  411. package/dist/esm/md-switch.entry.js +2 -2
  412. package/dist/esm/md-tab-panel.entry.js +2 -2
  413. package/dist/esm/md-tab-panels.entry.js +2 -2
  414. package/dist/esm/md-tab.entry.js +2 -2
  415. package/dist/esm/md-table-body.entry.js +2 -2
  416. package/dist/esm/md-table-cell.entry.js +2 -2
  417. package/dist/esm/md-table-container.entry.js +2 -2
  418. package/dist/esm/md-table-expand-toggle.entry.js +2 -2
  419. package/dist/esm/md-table-foot.entry.js +2 -2
  420. package/dist/esm/md-table-head.entry.js +2 -2
  421. package/dist/esm/md-table-pagination.entry.js +2 -2
  422. package/dist/esm/md-table-row.entry.js +2 -2
  423. package/dist/esm/md-table-sort-label.entry.js +2 -2
  424. package/dist/esm/md-table-toolbar.entry.js +2 -2
  425. package/dist/esm/md-table.entry.js +2 -2
  426. package/dist/esm/md-tabs.entry.js +2 -2
  427. package/dist/esm/md-text-field.entry.js +2 -2
  428. package/dist/esm/md-time-picker.entry.js +3 -3
  429. package/dist/esm/md-toolbar.entry.js +2 -2
  430. package/dist/esm/md-transfer-list.entry.js +2 -2
  431. package/dist/esm/md3.js +3 -3
  432. package/dist/esm/{overlay-lifecycle-B4XGZ4dz.js → overlay-lifecycle-CcRpkenI.js} +3 -3
  433. package/dist/esm/{overlay-lifecycle-B4XGZ4dz.js.map → overlay-lifecycle-CcRpkenI.js.map} +1 -1
  434. package/dist/esm/series-elements-BcgBd7Uo.js +86 -0
  435. package/dist/esm/series-elements-BcgBd7Uo.js.map +1 -0
  436. package/dist/md3/md3.css +1 -1
  437. package/dist/md3/md3.esm.js +1 -1
  438. package/dist/md3/{p-eb3958a7.entry.js → p-0208c7bd.entry.js} +2 -2
  439. package/dist/md3/{p-9fe46046.entry.js → p-05960ec0.entry.js} +2 -2
  440. package/dist/md3/{p-ffbde7ad.entry.js → p-16e69a81.entry.js} +2 -2
  441. package/dist/md3/{p-b14baec4.entry.js → p-1b57b1a8.entry.js} +2 -2
  442. package/dist/md3/{p-3f8959d1.entry.js → p-1cd1a2fb.entry.js} +2 -2
  443. package/dist/md3/{p-8a863529.entry.js → p-1d6e080c.entry.js} +2 -2
  444. package/dist/md3/{p-67d958e6.entry.js → p-1e67a61f.entry.js} +2 -2
  445. package/dist/md3/p-22fd4581.entry.js +2 -0
  446. package/dist/md3/p-22fd4581.entry.js.map +1 -0
  447. package/dist/md3/{p-3b8b58ae.entry.js → p-2fcada07.entry.js} +2 -2
  448. package/dist/md3/{p-8003b9d7.entry.js → p-3277f812.entry.js} +2 -2
  449. package/dist/md3/{p-b5a8f03c.entry.js → p-35216f14.entry.js} +2 -2
  450. package/dist/md3/{p-9f0f41c8.entry.js → p-3552a619.entry.js} +2 -2
  451. package/dist/md3/{p-19e517bc.entry.js → p-3595b838.entry.js} +2 -2
  452. package/dist/md3/p-36651efa.entry.js +2 -0
  453. package/dist/md3/{p-c41bd8c9.entry.js.map → p-36651efa.entry.js.map} +1 -1
  454. package/dist/md3/{p-a0f17bfb.entry.js → p-37f1060f.entry.js} +2 -2
  455. package/dist/md3/{p-097ad5a5.entry.js → p-3aea8887.entry.js} +2 -2
  456. package/dist/md3/{p-0baf9f88.entry.js → p-3bd61073.entry.js} +2 -2
  457. package/dist/md3/{p-908456a6.entry.js → p-3be8439d.entry.js} +2 -2
  458. package/dist/md3/{p-137d6f2a.entry.js → p-3e194c1e.entry.js} +2 -2
  459. package/dist/md3/{p-fd02aa37.entry.js → p-3fc88c67.entry.js} +2 -2
  460. package/dist/md3/{p-96cbfdca.entry.js → p-427de13e.entry.js} +2 -2
  461. package/dist/md3/{p-16306734.entry.js → p-42a51853.entry.js} +2 -2
  462. package/dist/md3/{p-1b506237.entry.js → p-45931478.entry.js} +2 -2
  463. package/dist/md3/{p-b9e28a86.entry.js → p-46711014.entry.js} +2 -2
  464. package/dist/md3/{p-9d1c66a8.entry.js → p-46759ada.entry.js} +2 -2
  465. package/dist/md3/{p-03f06a3c.entry.js → p-4a60f85d.entry.js} +2 -2
  466. package/dist/md3/{p-a9fbc697.entry.js → p-4b299eb7.entry.js} +2 -2
  467. package/dist/md3/{p-1ed83da9.entry.js → p-54c42926.entry.js} +2 -2
  468. package/dist/md3/{p-f8b52c07.entry.js → p-5c961827.entry.js} +2 -2
  469. package/dist/md3/{p-85e00706.entry.js → p-64a05e9e.entry.js} +2 -2
  470. package/dist/md3/{p-c1ace95d.entry.js → p-6620fab1.entry.js} +2 -2
  471. package/dist/md3/{p-8077ceaf.entry.js → p-6d700596.entry.js} +2 -2
  472. package/dist/md3/p-78df4a72.entry.js +2 -0
  473. package/dist/md3/p-78df4a72.entry.js.map +1 -0
  474. package/dist/md3/{p-d5a459bf.entry.js → p-7b1fd787.entry.js} +2 -2
  475. package/dist/md3/{p-0c795946.entry.js → p-925d5156.entry.js} +2 -2
  476. package/dist/md3/{p-c664501b.entry.js → p-941eb93e.entry.js} +2 -2
  477. package/dist/md3/{p-e3211f30.entry.js → p-966c3ada.entry.js} +2 -2
  478. package/dist/md3/{p-858dda75.entry.js → p-9aabec5d.entry.js} +2 -2
  479. package/dist/md3/{p-93afcce6.entry.js → p-9bada6da.entry.js} +2 -2
  480. package/dist/md3/{p-RiA8nMw1.js → p-BOlcFCii.js} +2 -2
  481. package/dist/md3/{p-RiA8nMw1.js.map → p-BOlcFCii.js.map} +1 -1
  482. package/dist/md3/p-BcgBd7Uo.js +2 -0
  483. package/dist/md3/p-BcgBd7Uo.js.map +1 -0
  484. package/dist/md3/{p-ZTAwTx66.js → p-BgRw_myY.js} +2 -2
  485. package/dist/md3/{p-ZTAwTx66.js.map → p-BgRw_myY.js.map} +1 -1
  486. package/dist/{components/p-gd9_5R5P.js → md3/p-CUho8MPx.js} +2 -2
  487. package/dist/md3/{p-BytnCy9Z.js.map → p-CUho8MPx.js.map} +1 -1
  488. package/dist/md3/{p-Bin9vIoJ.js → p-DH_rSF2a.js} +2 -2
  489. package/dist/md3/{p-Bin9vIoJ.js.map → p-DH_rSF2a.js.map} +1 -1
  490. package/dist/md3/{p-DkJ2hl1A.js → p-DuCsV-Tv.js} +2 -2
  491. package/dist/md3/{p-DkJ2hl1A.js.map → p-DuCsV-Tv.js.map} +1 -1
  492. package/dist/md3/{p-c7746547.entry.js → p-a7e198c6.entry.js} +2 -2
  493. package/dist/md3/{p-b50448b3.entry.js → p-ac834a37.entry.js} +2 -2
  494. package/dist/md3/{p-6d4889c1.entry.js → p-b133fc2b.entry.js} +2 -2
  495. package/dist/md3/{p-26122b64.entry.js → p-b17357b9.entry.js} +2 -2
  496. package/dist/md3/{p-b38d7576.entry.js → p-b2ecdc9d.entry.js} +2 -2
  497. package/dist/md3/p-b7c8253a.entry.js +2 -0
  498. package/dist/md3/{p-4bee383f.entry.js → p-bcb6b76c.entry.js} +2 -2
  499. package/dist/md3/{p-5adc9387.entry.js → p-c069c032.entry.js} +2 -2
  500. package/dist/md3/{p-6f8d6ff0.entry.js → p-c0f9a8ce.entry.js} +2 -2
  501. package/dist/md3/{p-5355af66.entry.js → p-c46dcf66.entry.js} +2 -2
  502. package/dist/md3/{p-ea762ac2.entry.js → p-c715010f.entry.js} +2 -2
  503. package/dist/md3/{p-94da49fa.entry.js → p-c74eecab.entry.js} +2 -2
  504. package/dist/md3/{p-b1da3d4f.entry.js → p-caab4c1f.entry.js} +2 -2
  505. package/dist/md3/{p-d2692d90.entry.js → p-cc3e468e.entry.js} +2 -2
  506. package/dist/md3/p-ce494bd1.entry.js +2 -0
  507. package/dist/md3/p-ce494bd1.entry.js.map +1 -0
  508. package/dist/md3/{p-eef9c775.entry.js → p-d147397f.entry.js} +2 -2
  509. package/dist/md3/{p-4d5100e0.entry.js → p-d2ee5d68.entry.js} +2 -2
  510. package/dist/md3/{p-be2082bc.entry.js → p-d44c3521.entry.js} +2 -2
  511. package/dist/md3/{p-af437c3c.entry.js → p-d4d1259c.entry.js} +2 -2
  512. package/dist/md3/{p-bc863e1b.entry.js → p-d8442714.entry.js} +2 -2
  513. package/dist/md3/{p-47aa8306.entry.js → p-d9b44b23.entry.js} +2 -2
  514. package/dist/md3/{p-272ef8cb.entry.js → p-de52f723.entry.js} +2 -2
  515. package/dist/md3/{p-db74251c.entry.js → p-de71d1e9.entry.js} +2 -2
  516. package/dist/md3/{p-d70d0db3.entry.js → p-defc5e78.entry.js} +2 -2
  517. package/dist/md3/{p-3d703571.entry.js → p-df417df4.entry.js} +2 -2
  518. package/dist/md3/{p-cb498d56.entry.js → p-e3704fc4.entry.js} +2 -2
  519. package/dist/md3/{p-3d90a202.entry.js → p-e67f228c.entry.js} +2 -2
  520. package/dist/md3/{p-5ec552ec.entry.js → p-e86abc6c.entry.js} +2 -2
  521. package/dist/md3/{p-19aea41a.entry.js → p-edf74454.entry.js} +2 -2
  522. package/dist/md3/{p-e2b5d561.entry.js → p-f4f64aa2.entry.js} +2 -2
  523. package/dist/md3/p-f5ba0d4c.entry.js +2 -0
  524. package/dist/md3/{p-77635ead.entry.js.map → p-f5ba0d4c.entry.js.map} +1 -1
  525. package/dist/md3/p-f741f2c7.entry.js +2 -0
  526. package/dist/md3/{p-4f7838e1.entry.js.map → p-f741f2c7.entry.js.map} +1 -1
  527. package/dist/md3/{p-2a220f40.entry.js → p-f7abc084.entry.js} +2 -2
  528. package/dist/md3/p-fc4034bf.entry.js +2 -0
  529. package/dist/md3/p-fc4034bf.entry.js.map +1 -0
  530. package/dist/md3/{p-2e1e04c6.entry.js → p-fcbdf4ba.entry.js} +2 -2
  531. package/dist/md3/{p-b098f546.entry.js → p-ff41fc7e.entry.js} +2 -2
  532. package/dist/sources/1072375249d01bb6640401cf49dc3d9e87d0ebac412fcfcd1afd3b5cb37df7b7/app-data +3 -0
  533. package/dist/sources/35dadf059de729b390f3df3b0fd05fd1578e1afbd6f0fa9d382cd0d8794c32aa/series-elements.ts +81 -0
  534. package/dist/sources/{d3f592ff8c47ce0c056b6e6cbcaa9d43687c53ebe7c8d193110a731a3e3a4af2 → 85eac5ca1350ced6718812f829f335dc5aa0026c954125260013367c738a7c9e}/index.ts +1 -0
  535. package/dist/sources/{0257008c17c104ed27ee727cf7dbbad94cf14f4148dd8e281b510dd37a34c730 → 88da03acb5e30b2d52fe3d0021dfc64d19dffb81a9f5c630b8bb67de21c9465d}/md-line-chart.tsx +31 -15
  536. package/dist/sources/{e6f1f0a964cd8962a51c61e3cdf7851c46e88a48833ea5e3da575166bde936c3 → aee3bad879c53f8a56ed81e96b445b3979341c756330370f1e41c5faee0af1a6}/md-bar-chart.tsx +30 -14
  537. package/dist/sources/c721f0ed0c4097f171e84a2ae5b4c537ad352844cffded2d805afc600255d248/md-chart-series.tsx +84 -0
  538. package/dist/sources/{2f88f34ffdcaef324270476cf641a5f8fa62c288ad7d5d92acbae19cb08f7d5c → c8e8a52259b376459bd17703d1d97716abc1fa35931cc95aedc07f1a3196b0c9}/md-area-chart.tsx +33 -17
  539. package/dist/sources/d1d5e4161ad69f87c2c806ba8c8308c99911631504a5e3c1867b7de0b5e58853/md-chart-series.css_tag_md-chart-series_encapsulation_shadow +4 -0
  540. package/dist/sources/dc5930bf3b00c49a265ba4bb975468f4d4f69b6d9f0e2eb6f6912e856fe5f27f/app-data +3 -0
  541. package/dist/sources/fcfb5850a256d7109a45b7925913ecd1427f826af8d94c955c17dc6a5f6a7b89/app-data +3 -0
  542. package/dist/types/components/md-area-chart/md-area-chart.d.ts +9 -5
  543. package/dist/types/components/md-bar-chart/md-bar-chart.d.ts +7 -3
  544. package/dist/types/components/md-chart-series/md-chart-series.d.ts +61 -0
  545. package/dist/types/components/md-line-chart/md-line-chart.d.ts +5 -1
  546. package/dist/types/components.d.ts +273 -16
  547. package/dist/types/index.d.ts +1 -1
  548. package/dist/types/utils/charts/series-elements.d.ts +38 -0
  549. package/hydrate/index.js +329 -59
  550. package/hydrate/index.mjs +329 -59
  551. package/package.json +2 -2
  552. package/src/components/md-chart-series/readme.md +25 -0
  553. package/dist/components/p-CspVD-eh.js.map +0 -1
  554. package/dist/components-csr/p-B37-0L5e.js.map +0 -1
  555. package/dist/md3/p-2f99585e.entry.js +0 -2
  556. package/dist/md3/p-2f99585e.entry.js.map +0 -1
  557. package/dist/md3/p-3d251149.entry.js +0 -2
  558. package/dist/md3/p-3d251149.entry.js.map +0 -1
  559. package/dist/md3/p-4f7838e1.entry.js +0 -2
  560. package/dist/md3/p-77635ead.entry.js +0 -2
  561. package/dist/md3/p-9379dfca.entry.js +0 -2
  562. package/dist/md3/p-9379dfca.entry.js.map +0 -1
  563. package/dist/md3/p-c41bd8c9.entry.js +0 -2
  564. package/dist/md3/p-de0967a6.entry.js +0 -2
  565. package/dist/sources/249f56e5f4c1e582903551d8d8a39d83e268058e66194832a21408420ea4a5fb/app-data +0 -3
  566. package/dist/sources/a9800d32bbcaf3d8baa4abf6f1c13d77f4f7e22dd03bfd1c90ad1cc9c5ac49a9/app-data +0 -3
  567. package/dist/sources/bb0c438a1a8f4b6d77c43db8d11b2366bfa6c0c48d4daa3ebbdbcd2bdefa4749/app-data +0 -3
  568. /package/dist/components/{p-63ROhs5i.js.map → p-0IF02V78.js.map} +0 -0
  569. /package/dist/components/{p-gd9_5R5P.js.map → p-0hoYij4e.js.map} +0 -0
  570. /package/dist/components/{p-DoJOR0pW.js.map → p-3GSjLPGH.js.map} +0 -0
  571. /package/dist/components/{p-BCAoGEfF.js.map → p-BzXHX-ab.js.map} +0 -0
  572. /package/dist/components/{p-WQOlnYmQ.js.map → p-C84E82vc.js.map} +0 -0
  573. /package/dist/components/{p-BWCwdLDy.js.map → p-CMkPI5PO.js.map} +0 -0
  574. /package/dist/components/{p-CGKlSro0.js.map → p-CWveMYei.js.map} +0 -0
  575. /package/dist/components/{p-CjV5tPMM.js.map → p-CXPZ-DjB.js.map} +0 -0
  576. /package/dist/components/{p-D_fs8IXJ.js.map → p-CoxMxFp3.js.map} +0 -0
  577. /package/dist/components/{p-C6Dk5I_4.js.map → p-CuijKuQR.js.map} +0 -0
  578. /package/dist/components/{p-B9jJRlnU.js.map → p-D9C2BtN-.js.map} +0 -0
  579. /package/dist/components/{p-AD7q8XNf.js.map → p-DI0ebvMQ.js.map} +0 -0
  580. /package/dist/components/{p-BJAKwQqQ.js.map → p-DM30Y_8c.js.map} +0 -0
  581. /package/dist/components/{p-CXOHmY2w.js.map → p-DTAVEp79.js.map} +0 -0
  582. /package/dist/components/{p-KXxaSDnZ.js.map → p-DfuTvIyO.js.map} +0 -0
  583. /package/dist/components/{p-BcOsCkxa.js.map → p-P38YgsfT.js.map} +0 -0
  584. /package/dist/components/{p-DIGH4LlS.js.map → p-lK_nIs4o.js.map} +0 -0
  585. /package/dist/components-csr/{p-Ca8f4AyH.js.map → p-B0CFxLUh.js.map} +0 -0
  586. /package/dist/components-csr/{p-Cr1trPWZ.js.map → p-B_7E_AYp.js.map} +0 -0
  587. /package/dist/components-csr/{p-B3y4Sfu7.js.map → p-BrkO_ex-.js.map} +0 -0
  588. /package/dist/components-csr/{p-C7SO-MXq.js.map → p-CJoJbayQ.js.map} +0 -0
  589. /package/dist/components-csr/{p-mPtoRtT7.js.map → p-CSbYwMnb.js.map} +0 -0
  590. /package/dist/components-csr/{p-CWxDc07j.js.map → p-CgwYzoLw.js.map} +0 -0
  591. /package/dist/components-csr/{p-B_K-3G0S.js.map → p-D9cIx3li.js.map} +0 -0
  592. /package/dist/components-csr/{p-CUMT_XYv.js.map → p-DFJO04Vn.js.map} +0 -0
  593. /package/dist/components-csr/{p-Px_e-xy9.js.map → p-DH9RCl21.js.map} +0 -0
  594. /package/dist/components-csr/{p-CB_bjwk9.js.map → p-DHw4bV7s.js.map} +0 -0
  595. /package/dist/components-csr/{p-CZp-Xecz.js.map → p-DNOD_gWq.js.map} +0 -0
  596. /package/dist/components-csr/{p-BuMwJsnQ.js.map → p-DeGXyF1I.js.map} +0 -0
  597. /package/dist/components-csr/{p-CQoO26r0.js.map → p-DtvcCARI.js.map} +0 -0
  598. /package/dist/components-csr/{p-DQL7SnR8.js.map → p-GBA16NLW.js.map} +0 -0
  599. /package/dist/components-csr/{p-D5zCIaks.js.map → p-iDisQkYG.js.map} +0 -0
  600. /package/dist/components-csr/{p-CvTDNP2i.js.map → p-oV2Z2HiI.js.map} +0 -0
  601. /package/dist/components-csr/{p-BT43J7lo.js.map → p-pIQRKNpB.js.map} +0 -0
  602. /package/dist/md3/{p-eb3958a7.entry.js.map → p-0208c7bd.entry.js.map} +0 -0
  603. /package/dist/md3/{p-9fe46046.entry.js.map → p-05960ec0.entry.js.map} +0 -0
  604. /package/dist/md3/{p-ffbde7ad.entry.js.map → p-16e69a81.entry.js.map} +0 -0
  605. /package/dist/md3/{p-b14baec4.entry.js.map → p-1b57b1a8.entry.js.map} +0 -0
  606. /package/dist/md3/{p-3f8959d1.entry.js.map → p-1cd1a2fb.entry.js.map} +0 -0
  607. /package/dist/md3/{p-8a863529.entry.js.map → p-1d6e080c.entry.js.map} +0 -0
  608. /package/dist/md3/{p-67d958e6.entry.js.map → p-1e67a61f.entry.js.map} +0 -0
  609. /package/dist/md3/{p-3b8b58ae.entry.js.map → p-2fcada07.entry.js.map} +0 -0
  610. /package/dist/md3/{p-8003b9d7.entry.js.map → p-3277f812.entry.js.map} +0 -0
  611. /package/dist/md3/{p-b5a8f03c.entry.js.map → p-35216f14.entry.js.map} +0 -0
  612. /package/dist/md3/{p-9f0f41c8.entry.js.map → p-3552a619.entry.js.map} +0 -0
  613. /package/dist/md3/{p-19e517bc.entry.js.map → p-3595b838.entry.js.map} +0 -0
  614. /package/dist/md3/{p-a0f17bfb.entry.js.map → p-37f1060f.entry.js.map} +0 -0
  615. /package/dist/md3/{p-097ad5a5.entry.js.map → p-3aea8887.entry.js.map} +0 -0
  616. /package/dist/md3/{p-0baf9f88.entry.js.map → p-3bd61073.entry.js.map} +0 -0
  617. /package/dist/md3/{p-908456a6.entry.js.map → p-3be8439d.entry.js.map} +0 -0
  618. /package/dist/md3/{p-137d6f2a.entry.js.map → p-3e194c1e.entry.js.map} +0 -0
  619. /package/dist/md3/{p-fd02aa37.entry.js.map → p-3fc88c67.entry.js.map} +0 -0
  620. /package/dist/md3/{p-96cbfdca.entry.js.map → p-427de13e.entry.js.map} +0 -0
  621. /package/dist/md3/{p-16306734.entry.js.map → p-42a51853.entry.js.map} +0 -0
  622. /package/dist/md3/{p-1b506237.entry.js.map → p-45931478.entry.js.map} +0 -0
  623. /package/dist/md3/{p-b9e28a86.entry.js.map → p-46711014.entry.js.map} +0 -0
  624. /package/dist/md3/{p-9d1c66a8.entry.js.map → p-46759ada.entry.js.map} +0 -0
  625. /package/dist/md3/{p-03f06a3c.entry.js.map → p-4a60f85d.entry.js.map} +0 -0
  626. /package/dist/md3/{p-a9fbc697.entry.js.map → p-4b299eb7.entry.js.map} +0 -0
  627. /package/dist/md3/{p-1ed83da9.entry.js.map → p-54c42926.entry.js.map} +0 -0
  628. /package/dist/md3/{p-f8b52c07.entry.js.map → p-5c961827.entry.js.map} +0 -0
  629. /package/dist/md3/{p-85e00706.entry.js.map → p-64a05e9e.entry.js.map} +0 -0
  630. /package/dist/md3/{p-c1ace95d.entry.js.map → p-6620fab1.entry.js.map} +0 -0
  631. /package/dist/md3/{p-8077ceaf.entry.js.map → p-6d700596.entry.js.map} +0 -0
  632. /package/dist/md3/{p-d5a459bf.entry.js.map → p-7b1fd787.entry.js.map} +0 -0
  633. /package/dist/md3/{p-0c795946.entry.js.map → p-925d5156.entry.js.map} +0 -0
  634. /package/dist/md3/{p-c664501b.entry.js.map → p-941eb93e.entry.js.map} +0 -0
  635. /package/dist/md3/{p-e3211f30.entry.js.map → p-966c3ada.entry.js.map} +0 -0
  636. /package/dist/md3/{p-858dda75.entry.js.map → p-9aabec5d.entry.js.map} +0 -0
  637. /package/dist/md3/{p-93afcce6.entry.js.map → p-9bada6da.entry.js.map} +0 -0
  638. /package/dist/md3/{p-c7746547.entry.js.map → p-a7e198c6.entry.js.map} +0 -0
  639. /package/dist/md3/{p-b50448b3.entry.js.map → p-ac834a37.entry.js.map} +0 -0
  640. /package/dist/md3/{p-6d4889c1.entry.js.map → p-b133fc2b.entry.js.map} +0 -0
  641. /package/dist/md3/{p-26122b64.entry.js.map → p-b17357b9.entry.js.map} +0 -0
  642. /package/dist/md3/{p-b38d7576.entry.js.map → p-b2ecdc9d.entry.js.map} +0 -0
  643. /package/dist/md3/{p-de0967a6.entry.js.map → p-b7c8253a.entry.js.map} +0 -0
  644. /package/dist/md3/{p-4bee383f.entry.js.map → p-bcb6b76c.entry.js.map} +0 -0
  645. /package/dist/md3/{p-5adc9387.entry.js.map → p-c069c032.entry.js.map} +0 -0
  646. /package/dist/md3/{p-6f8d6ff0.entry.js.map → p-c0f9a8ce.entry.js.map} +0 -0
  647. /package/dist/md3/{p-5355af66.entry.js.map → p-c46dcf66.entry.js.map} +0 -0
  648. /package/dist/md3/{p-ea762ac2.entry.js.map → p-c715010f.entry.js.map} +0 -0
  649. /package/dist/md3/{p-94da49fa.entry.js.map → p-c74eecab.entry.js.map} +0 -0
  650. /package/dist/md3/{p-b1da3d4f.entry.js.map → p-caab4c1f.entry.js.map} +0 -0
  651. /package/dist/md3/{p-d2692d90.entry.js.map → p-cc3e468e.entry.js.map} +0 -0
  652. /package/dist/md3/{p-eef9c775.entry.js.map → p-d147397f.entry.js.map} +0 -0
  653. /package/dist/md3/{p-4d5100e0.entry.js.map → p-d2ee5d68.entry.js.map} +0 -0
  654. /package/dist/md3/{p-be2082bc.entry.js.map → p-d44c3521.entry.js.map} +0 -0
  655. /package/dist/md3/{p-af437c3c.entry.js.map → p-d4d1259c.entry.js.map} +0 -0
  656. /package/dist/md3/{p-bc863e1b.entry.js.map → p-d8442714.entry.js.map} +0 -0
  657. /package/dist/md3/{p-47aa8306.entry.js.map → p-d9b44b23.entry.js.map} +0 -0
  658. /package/dist/md3/{p-272ef8cb.entry.js.map → p-de52f723.entry.js.map} +0 -0
  659. /package/dist/md3/{p-db74251c.entry.js.map → p-de71d1e9.entry.js.map} +0 -0
  660. /package/dist/md3/{p-d70d0db3.entry.js.map → p-defc5e78.entry.js.map} +0 -0
  661. /package/dist/md3/{p-3d703571.entry.js.map → p-df417df4.entry.js.map} +0 -0
  662. /package/dist/md3/{p-cb498d56.entry.js.map → p-e3704fc4.entry.js.map} +0 -0
  663. /package/dist/md3/{p-3d90a202.entry.js.map → p-e67f228c.entry.js.map} +0 -0
  664. /package/dist/md3/{p-5ec552ec.entry.js.map → p-e86abc6c.entry.js.map} +0 -0
  665. /package/dist/md3/{p-19aea41a.entry.js.map → p-edf74454.entry.js.map} +0 -0
  666. /package/dist/md3/{p-e2b5d561.entry.js.map → p-f4f64aa2.entry.js.map} +0 -0
  667. /package/dist/md3/{p-2a220f40.entry.js.map → p-f7abc084.entry.js.map} +0 -0
  668. /package/dist/md3/{p-2e1e04c6.entry.js.map → p-fcbdf4ba.entry.js.map} +0 -0
  669. /package/dist/md3/{p-b098f546.entry.js.map → p-ff41fc7e.entry.js.map} +0 -0
@@ -11,6 +11,7 @@ import {
11
11
  Method,
12
12
  Watch,
13
13
  } from '@stencil/core';
14
+ import { observeChartSeries } from '../../utils/charts/series-elements';
14
15
  import {
15
16
  buildChartSummary,
16
17
  buildDataTableHtml,
@@ -29,7 +30,7 @@ import {
29
30
  type MdChartClickDetail,
30
31
  type MdChartHoverDetail,
31
32
  type MdChartLegendPosition,
32
- type MdChartSeries,
33
+ type MdChartSeries as MdChartSeriesData,
33
34
  type MdChartStackMode,
34
35
  type MdChartTitleAlign,
35
36
  type MdChartTooltipRenderer,
@@ -57,6 +58,13 @@ import {
57
58
  export class MdBarChart {
58
59
  @Element() el!: HTMLElement;
59
60
 
61
+ @State() private childSeries: MdChartSeriesData[] | undefined;
62
+ private disposeSeriesWatch?: () => void;
63
+
64
+ private get effectiveSeries(): MdChartSeriesData[] {
65
+ return this.childSeries ?? this.series;
66
+ }
67
+
60
68
  @Prop() label: string = '';
61
69
  /**
62
70
  * A quieter line under the title — a source, a unit, the caveat a title
@@ -65,7 +73,8 @@ export class MdBarChart {
65
73
  @Prop() subtitle: string | undefined;
66
74
  /** Title alignment over the plot: `start` (left), `center`, or `end` (right). */
67
75
  @Prop({ attribute: 'title-align' }) titleAlign: MdChartTitleAlign = 'start';
68
- @Prop() series: MdChartSeries[] = [];
76
+ /** Data fallback when no direct, unslotted `md-chart-series` children are present. */
77
+ @Prop() series: MdChartSeriesData[] = [];
69
78
 
70
79
  /** Category axis configuration. */
71
80
  @Prop() xAxis: MdChartAxis | undefined;
@@ -187,7 +196,7 @@ export class MdBarChart {
187
196
  */
188
197
  @Prop({ attribute: 'clickable' }) clickable: boolean = false;
189
198
 
190
- @Event() mdBarClick!: EventEmitter<MdChartClickDetail<MdChartSeries>>;
199
+ @Event() mdBarClick!: EventEmitter<MdChartClickDetail<MdChartSeriesData>>;
191
200
  @Event() mdLegendClick!: EventEmitter<{ seriesIndex: number; seriesId?: string; selected: boolean }>;
192
201
  @Event() mdHover!: EventEmitter<MdChartHoverDetail>;
193
202
  @Event() mdReady!: EventEmitter<void>;
@@ -277,7 +286,7 @@ export class MdBarChart {
277
286
  * collision so two series sharing a label do not share a toggle. */
278
287
  private seriesKeys(): string[] {
279
288
  const seen = new Map<string, number>();
280
- return this.series.map((s, i) => {
289
+ return this.effectiveSeries.map((s, i) => {
281
290
  const base = s.id != null ? `id:${s.id}` : s.label != null ? `label:${s.label}` : `pos:${i}`;
282
291
  const n = seen.get(base) ?? 0;
283
292
  seen.set(base, n + 1);
@@ -311,6 +320,8 @@ export class MdBarChart {
311
320
  }
312
321
  disconnectedCallback() {
313
322
  disconnectInteractionMotion(this);
323
+ this.disposeSeriesWatch?.();
324
+ this.disposeSeriesWatch = undefined;
314
325
  this.ro?.disconnect();
315
326
  this.ro = null;
316
327
  this.engine?.dispose();
@@ -477,7 +488,7 @@ export class MdBarChart {
477
488
 
478
489
  /** Number of categories — the longest series, or the category axis if longer. */
479
490
  private dataLength(): number {
480
- const s = (this.series ?? []).reduce((acc, d) => Math.max(acc, d?.data?.length ?? 0), 0);
491
+ const s = (this.effectiveSeries ?? []).reduce((acc, d) => Math.max(acc, d?.data?.length ?? 0), 0);
481
492
  return Math.max(s, this.xAxis?.data?.length ?? 0);
482
493
  }
483
494
 
@@ -743,7 +754,7 @@ export class MdBarChart {
743
754
  const percentage = this.stack === 'percentage';
744
755
  const vFmt = (v: number) => (this.valueFormatter ? this.valueFormatter(v) : v.toLocaleString(this.locale || undefined));
745
756
  const keys = this.seriesKeys();
746
- // Zoom is a view: slice what the engine draws, leave `this.series` alone.
757
+ // Zoom is a view: slice what the engine draws, leave `this.effectiveSeries` alone.
747
758
  // Per-category options (`data`, `range`) are sliced; index-keyed maps
748
759
  // (`pointWidths`, `pointColors`) are rebased into window coordinates and
749
760
  // anything outside the window is dropped.
@@ -760,7 +771,7 @@ export class MdBarChart {
760
771
  return out;
761
772
  };
762
773
  return {
763
- series: this.series.map((s, i) => {
774
+ series: this.effectiveSeries.map((s, i) => {
764
775
  let pointColors: Record<number, string> | undefined;
765
776
  if (s.pointColors) {
766
777
  const resolved: Record<number, string> = {};
@@ -860,12 +871,12 @@ export class MdBarChart {
860
871
  this.rememberLegendToggle(item.seriesIndex, !!item.hidden);
861
872
  this.mdLegendClick.emit({
862
873
  seriesIndex: item.seriesIndex,
863
- seriesId: this.series[item.seriesIndex]?.id,
874
+ seriesId: this.effectiveSeries[item.seriesIndex]?.id,
864
875
  selected: !item.hidden,
865
876
  });
866
877
  },
867
878
  onPointClick: (si, di, e) => {
868
- const s = this.series[si];
879
+ const s = this.effectiveSeries[si];
869
880
  if (!s) return;
870
881
  const abs = di + this.winStart(); // windowed → absolute (see onHover)
871
882
  this.mdBarClick.emit({
@@ -887,7 +898,7 @@ export class MdBarChart {
887
898
  private visibleSeriesIndices(): number[] {
888
899
  const hp = this.engine?.getScene()?.hoverPoints;
889
900
  if (hp) return hp.map((h) => h.seriesIndex);
890
- return this.series.map((_, i) => i).filter((i) => !this.series[i].hidden);
901
+ return this.effectiveSeries.map((_, i) => i).filter((i) => !this.effectiveSeries[i].hidden);
891
902
  }
892
903
 
893
904
  private rebuildA11yTable() {
@@ -898,7 +909,7 @@ export class MdBarChart {
898
909
  xAxisData: this.xAxis?.data,
899
910
  xValueFormatter: this.xAxis?.valueFormatter ?? ((v: MdChartAxisValue) => defaultValueFormatter(v, this.locale)),
900
911
  locale: this.locale,
901
- series: this.series,
912
+ series: this.effectiveSeries,
902
913
  valueFormatter: this.valueFormatter,
903
914
  });
904
915
  }
@@ -953,7 +964,7 @@ export class MdBarChart {
953
964
  * series present at that category. */
954
965
  private emitBarClickForCategory(dataIndex: number, nativeEvent: KeyboardEvent): void {
955
966
  const si = this.visibleSeriesIndices()[0] ?? 0;
956
- const s = this.series[si];
967
+ const s = this.effectiveSeries[si];
957
968
  if (!s) return;
958
969
  // `dataIndex` is the keyboard cursor, which walks the windowed scene —
959
970
  // rebase to absolute before reporting / indexing the full series.
@@ -998,13 +1009,13 @@ export class MdBarChart {
998
1009
  render() {
999
1010
  const xValues = this.xAxis?.data ?? [];
1000
1011
  const summary = buildChartSummary({
1001
- title: this.label, chartType: 'bar', seriesCount: this.series.length,
1012
+ title: this.label, chartType: 'bar', seriesCount: this.effectiveSeries.length,
1002
1013
  xMin: xValues[0] as MdChartAxisValue | undefined,
1003
1014
  xMax: xValues[xValues.length - 1] as MdChartAxisValue | undefined,
1004
1015
  });
1005
1016
  // While loading, the loader owns the box — an empty-state message under it
1006
1017
  // answers "no data" to a question nobody asked yet.
1007
- const empty = this.series.length === 0 && !this.loading;
1018
+ const empty = this.effectiveSeries.length === 0 && !this.loading;
1008
1019
  return (
1009
1020
  <Host
1010
1021
  class={{
@@ -1095,6 +1106,11 @@ export class MdBarChart {
1095
1106
 
1096
1107
  connectedCallback() {
1097
1108
  reconnectInteractionMotion(this);
1109
+ this.disposeSeriesWatch?.();
1110
+ this.disposeSeriesWatch = observeChartSeries(this.el, series => {
1111
+ this.childSeries = series as MdChartSeriesData[] | undefined;
1112
+ this.onAnyPropChange();
1113
+ });
1098
1114
  }
1099
1115
 
1100
1116
  componentShouldUpdate() {
@@ -0,0 +1,84 @@
1
+ import { AttrDeserialize, Component, Element, Prop, Watch } from '@stencil/core';
2
+ import type { MdChartColorRole, MdChartCurve, MdChartDatum, MdChartLineStyle, MdChartRangeDatum, MdChartSymbol } from '../../utils/charts';
3
+ import { CHART_SERIES_CHANGE, readSeriesField } from '../../utils/charts/series-elements';
4
+
5
+ /**
6
+ * Declarative series data for md-line-chart, md-area-chart and md-bar-chart.
7
+ * Direct, unslotted children replace the parent's series array in DOM order.
8
+ * This is a nonvisual descriptor; assign arrays and maps as JavaScript properties.
9
+ */
10
+ @Component({ tag: 'md-chart-series', styleUrl: 'md-chart-series.css', shadow: true })
11
+ export class MdChartSeries {
12
+ @Element() el!: HTMLElement;
13
+
14
+ /** Series name in legends/tooltips, separate from the parent chart's title. */
15
+ @Prop() label?: string;
16
+ /** Y values (number/null); md-line-chart also accepts {x,y} points and [x,y] tuples. Reassign to update. */
17
+ @Prop() data: MdChartDatum[] = [];
18
+ /** Draw the series outline; unset inherits the parent chart default. */
19
+ @Prop() stroke?: boolean;
20
+ /** Fill the series area; unset inherits the parent chart default. */
21
+ @Prop() fill?: boolean;
22
+ /** Low/high range samples. Assign as a property and reassign to update. */
23
+ @Prop() range?: MdChartRangeDatum[];
24
+ /** MD color role or CSS color for this series. */
25
+ @Prop() color?: MdChartColorRole | string;
26
+ /** Stack group key, separate from the parent chart's stacking strategy. */
27
+ @Prop() stack?: string;
28
+ /** Per-series curve interpolation. */
29
+ @Prop() curve?: MdChartCurve;
30
+ /** Per-series stroke dash style. */
31
+ @Prop() dash?: MdChartLineStyle;
32
+ /** Series visibility override. Standard DOM hidden does not hide a series. */
33
+ @Prop({ attribute: 'series-hidden' }) seriesHidden?: boolean;
34
+ /** Connect across null samples. */
35
+ @Prop({ attribute: 'connect-nulls' }) connectNulls?: boolean;
36
+ /** Show data-point markers. */
37
+ @Prop({ attribute: 'show-marks' }) showMarks?: boolean;
38
+ /** Marker symbol or custom path. */
39
+ @Prop() symbol?: MdChartSymbol | (string & {});
40
+ /** Marker symbols indexed by data position. Assign as a property. */
41
+ @Prop({ attribute: 'point-symbols' }) pointSymbols?: Record<number, MdChartSymbol | string>;
42
+ /** Colors indexed by data position. Assign as a property. */
43
+ @Prop({ attribute: 'point-colors' }) pointColors?: Record<number, MdChartColorRole | string>;
44
+ /** Bar width ratios indexed by data position. Assign as a property. */
45
+ @Prop({ attribute: 'point-widths' }) pointWidths?: Record<number, number>;
46
+ /** Overlay bars instead of reserving a group position. */
47
+ @Prop() overlay?: boolean;
48
+ /** Relative bar width for this series. */
49
+ @Prop({ attribute: 'width-ratio' }) widthRatio?: number;
50
+ /** Stable series identity in events and legend state. Standard DOM id is unrelated. */
51
+ @Prop({ attribute: 'series-id' }) seriesId?: string;
52
+ /** Index of the y-axis used by this series. */
53
+ @Prop({ attribute: 'y-axis-index' }) yAxisIndex?: number;
54
+ /** Data index after which the line is dashed. */
55
+ @Prop({ attribute: 'dash-after' }) dashAfter?: number;
56
+ /** Hollow point markers. */
57
+ @Prop() hollow?: boolean;
58
+ /** Stroke width in CSS pixels. */
59
+ @Prop({ attribute: 'line-width' }) lineWidth?: number;
60
+ /** Marker radius in CSS pixels. */
61
+ @Prop({ attribute: 'mark-size' }) markSize?: number;
62
+
63
+ // Pure: the hydrate runtime calls deserializers before constructing an instance.
64
+ @AttrDeserialize('data') @AttrDeserialize('range') @AttrDeserialize('pointSymbols')
65
+ @AttrDeserialize('pointColors') @AttrDeserialize('pointWidths')
66
+ deserializeStructuredProp(value?: unknown, prop = ''): unknown {
67
+ const parsed = value == null ? undefined : readSeriesField(prop, value);
68
+ return parsed === undefined && prop === 'data' ? [] : parsed;
69
+ }
70
+
71
+ componentDidLoad() { this.notifyChange(); }
72
+
73
+ @Watch('label') @Watch('data') @Watch('stroke') @Watch('fill') @Watch('range')
74
+ @Watch('color') @Watch('stack') @Watch('curve') @Watch('dash') @Watch('seriesHidden')
75
+ @Watch('connectNulls') @Watch('showMarks') @Watch('symbol') @Watch('pointSymbols')
76
+ @Watch('pointColors') @Watch('pointWidths') @Watch('overlay') @Watch('widthRatio')
77
+ @Watch('seriesId') @Watch('yAxisIndex') @Watch('dashAfter') @Watch('hollow')
78
+ @Watch('lineWidth') @Watch('markSize')
79
+ notifyChange() {
80
+ this.el.dispatchEvent(new CustomEvent(CHART_SERIES_CHANGE, { bubbles: true, composed: true }));
81
+ }
82
+
83
+ render() { return null; }
84
+ }
@@ -11,6 +11,7 @@ import {
11
11
  Method,
12
12
  Watch,
13
13
  } from '@stencil/core';
14
+ import { observeChartSeries } from '../../utils/charts/series-elements';
14
15
  import {
15
16
  buildChartSummary,
16
17
  buildDataTableHtml,
@@ -30,7 +31,7 @@ import {
30
31
  type MdChartClickDetail,
31
32
  type MdChartHoverDetail,
32
33
  type MdChartLegendPosition,
33
- type MdChartSeries,
34
+ type MdChartSeries as MdChartSeriesData,
34
35
  type MdChartStackMode,
35
36
  type MdChartTitleAlign,
36
37
  type MdChartTooltipRenderer,
@@ -57,13 +58,21 @@ import {
57
58
  export class MdAreaChart {
58
59
  @Element() el!: HTMLElement;
59
60
 
61
+ @State() private childSeries: MdChartSeriesData[] | undefined;
62
+ private disposeSeriesWatch?: () => void;
63
+
64
+ private get effectiveSeries(): MdChartSeriesData[] {
65
+ return this.childSeries ?? this.series;
66
+ }
67
+
60
68
  @Prop() label: string = '';
61
69
 
62
70
  /** Sub-title, drawn under the title in the muted text colour. */
63
71
  @Prop() subtitle: string | undefined;
64
72
  /** Title alignment over the plot: `start` (left), `center`, or `end` (right). */
65
73
  @Prop({ attribute: 'title-align' }) titleAlign: MdChartTitleAlign = 'start';
66
- @Prop() series: MdChartSeries[] = [];
74
+ /** Data fallback when no direct, unslotted `md-chart-series` children are present. */
75
+ @Prop() series: MdChartSeriesData[] = [];
67
76
  @Prop() xAxis: MdChartAxis | undefined;
68
77
  @Prop() yAxis: MdChartAxis | undefined;
69
78
  @Prop() curve: 'linear' | 'smooth' | 'monotone' | 'step' | 'step-before' | 'step-middle' = 'smooth';
@@ -164,15 +173,15 @@ export class MdAreaChart {
164
173
  /** Print each point's value as a data label beside its marker. */
165
174
  @Prop({ attribute: 'show-labels' }) showLabels: boolean = false;
166
175
 
167
- @Event() mdMarkerClick!: EventEmitter<MdChartClickDetail<MdChartSeries>>;
176
+ @Event() mdMarkerClick!: EventEmitter<MdChartClickDetail<MdChartSeriesData>>;
168
177
 
169
178
  /** Fires when a series' drawn line is clicked *between* its data points (a
170
179
  * click on a point emits `mdMarkerClick` instead). */
171
- @Event() mdLineClick!: EventEmitter<MdChartClickDetail<MdChartSeries>>;
180
+ @Event() mdLineClick!: EventEmitter<MdChartClickDetail<MdChartSeriesData>>;
172
181
 
173
182
  /** Fires when a series' filled area is clicked — the band between its line
174
183
  * and its base (its own band when stacked), excluding its line and points. */
175
- @Event() mdAreaClick!: EventEmitter<MdChartClickDetail<MdChartSeries>>;
184
+ @Event() mdAreaClick!: EventEmitter<MdChartClickDetail<MdChartSeriesData>>;
176
185
 
177
186
  /** Fires when the plot background is clicked (inside the plot, but not on a
178
187
  * mark, line or area): the nearest x plus every visible series' value there. */
@@ -247,7 +256,7 @@ export class MdAreaChart {
247
256
  * collision so two series sharing a label do not share a toggle. */
248
257
  private seriesKeys(): string[] {
249
258
  const seen = new Map<string, number>();
250
- return this.series.map((s, i) => {
259
+ return this.effectiveSeries.map((s, i) => {
251
260
  const base = s.id != null ? `id:${s.id}` : s.label != null ? `label:${s.label}` : `pos:${i}`;
252
261
  const n = seen.get(base) ?? 0;
253
262
  seen.set(base, n + 1);
@@ -282,6 +291,8 @@ export class MdAreaChart {
282
291
 
283
292
  disconnectedCallback() {
284
293
  disconnectInteractionMotion(this);
294
+ this.disposeSeriesWatch?.();
295
+ this.disposeSeriesWatch = undefined;
285
296
  this.ro?.disconnect();
286
297
  this.ro = null;
287
298
  this.engine?.dispose();
@@ -395,7 +406,7 @@ export class MdAreaChart {
395
406
 
396
407
  /** Number of datapoints along x — the longest series, or the axis if longer. */
397
408
  private dataLength(): number {
398
- const longest = this.series.reduce(
409
+ const longest = this.effectiveSeries.reduce(
399
410
  (acc, s) => Math.max(acc, s.range?.length ?? s.data?.length ?? 0),
400
411
  0,
401
412
  );
@@ -662,7 +673,7 @@ export class MdAreaChart {
662
673
  private buildSpec(t: ReturnType<typeof readMdChartTheme>): LineChartSpec {
663
674
  const percentage = this.stack === 'percentage';
664
675
  const yFmt = (v: number) => (this.valueFormatter ? this.valueFormatter(v) : v.toLocaleString(this.locale || undefined));
665
- // Zoom is a view: slice what the engine draws, leave `this.series` alone.
676
+ // Zoom is a view: slice what the engine draws, leave `this.effectiveSeries` alone.
666
677
  // Index-addressed options (pointSymbols) are rebased into window
667
678
  // coordinates, and anything outside the window is dropped.
668
679
  const zw = this.zoomWin ? this.win() : null;
@@ -679,7 +690,7 @@ export class MdAreaChart {
679
690
  };
680
691
  const keys = this.seriesKeys();
681
692
  return {
682
- series: this.series.map((s, i) => ({
693
+ series: this.effectiveSeries.map((s, i) => ({
683
694
  label: s.label ?? `Series ${i + 1}`,
684
695
  color: resolveSeriesColor(this.el, s.color, pickPaletteColor(t.palette, i)),
685
696
  // A range series draws from its band; `data` only keeps the row count
@@ -762,7 +773,7 @@ export class MdAreaChart {
762
773
  this.rememberLegendToggle(item.seriesIndex, !!item.hidden);
763
774
  this.mdLegendClick.emit({
764
775
  seriesIndex: item.seriesIndex,
765
- seriesId: this.series[item.seriesIndex]?.id,
776
+ seriesId: this.effectiveSeries[item.seriesIndex]?.id,
766
777
  selected: !item.hidden,
767
778
  });
768
779
  },
@@ -785,7 +796,7 @@ export class MdAreaChart {
785
796
  axisValue: this.xAxis?.data?.[abs],
786
797
  seriesValues: values.map((v) => ({
787
798
  seriesIndex: v.seriesIndex,
788
- seriesId: this.series[v.seriesIndex]?.id,
799
+ seriesId: this.effectiveSeries[v.seriesIndex]?.id,
789
800
  label: v.label,
790
801
  dataIndex: v.value == null ? -1 : abs,
791
802
  value: v.value,
@@ -805,8 +816,8 @@ export class MdAreaChart {
805
816
 
806
817
  /** The payload shared by the three per-series click events (marker / line /
807
818
  * area) — same shape, different gesture. */
808
- private clickDetail(si: number, di: number, e: PointerEvent): MdChartClickDetail<MdChartSeries> | null {
809
- const s = this.series[si];
819
+ private clickDetail(si: number, di: number, e: PointerEvent): MdChartClickDetail<MdChartSeriesData> | null {
820
+ const s = this.effectiveSeries[si];
810
821
  if (!s) return null;
811
822
  const abs = di + (this.zoomWin ? this.win().start : 0);
812
823
  return {
@@ -823,7 +834,7 @@ export class MdAreaChart {
823
834
  private visibleSeriesIndices(): number[] {
824
835
  const hp = this.engine?.getScene()?.hoverPoints;
825
836
  if (hp) return hp.map((h) => h.seriesIndex);
826
- return this.series.map((_, i) => i).filter((i) => !this.series[i].hidden);
837
+ return this.effectiveSeries.map((_, i) => i).filter((i) => !this.effectiveSeries[i].hidden);
827
838
  }
828
839
 
829
840
  private rebuildA11yTable() {
@@ -834,7 +845,7 @@ export class MdAreaChart {
834
845
  xAxisData: this.xAxis?.data,
835
846
  xValueFormatter: this.xAxis?.valueFormatter ?? ((v: MdChartAxisValue) => defaultValueFormatter(v, this.locale)),
836
847
  locale: this.locale,
837
- series: this.series,
848
+ series: this.effectiveSeries,
838
849
  valueFormatter: this.valueFormatter,
839
850
  labels: this.tableLabels,
840
851
  });
@@ -911,14 +922,14 @@ export class MdAreaChart {
911
922
  buildChartSummary({
912
923
  title: this.label,
913
924
  chartType: 'area',
914
- seriesCount: this.series.length,
925
+ seriesCount: this.effectiveSeries.length,
915
926
  locale: this.locale,
916
927
  xMin: xValues[0] as MdChartAxisValue | undefined,
917
928
  xMax: xValues[xValues.length - 1] as MdChartAxisValue | undefined,
918
929
  });
919
930
  // While loading, the loader owns the box — an empty-state message under it
920
931
  // would just be the wrong answer to "where is my data?".
921
- const empty = this.series.length === 0 && !this.loading;
932
+ const empty = this.effectiveSeries.length === 0 && !this.loading;
922
933
 
923
934
  return (
924
935
  <Host
@@ -1007,6 +1018,11 @@ export class MdAreaChart {
1007
1018
 
1008
1019
  connectedCallback() {
1009
1020
  reconnectInteractionMotion(this);
1021
+ this.disposeSeriesWatch?.();
1022
+ this.disposeSeriesWatch = observeChartSeries(this.el, series => {
1023
+ this.childSeries = series as MdChartSeriesData[] | undefined;
1024
+ this.onAnyPropChange();
1025
+ });
1010
1026
  }
1011
1027
 
1012
1028
  componentShouldUpdate() {
@@ -0,0 +1,4 @@
1
+ /* Descriptors never occupy layout or expose their contents as chart UI. */
2
+ :host {
3
+ display: none !important;
4
+ }
@@ -0,0 +1,3 @@
1
+ export const NAMESPACE = 'md3';
2
+ export const BUILD = /* md3 */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, constructableCSS: true, cssAnnotations: true, deserializer: true, devTools: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: true, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: false, isDebug: false, isDev: false, isTesting: false, lazyLoad: false, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propChangeCallback: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, serializer: false, shadowDelegatesFocus: true, shadowDom: true, shadowSlotAssignmentManual: false, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true };
3
+ export const Env = /* md3 */ {};
@@ -0,0 +1,3 @@
1
+ export const NAMESPACE = 'md3';
2
+ export const BUILD = /* md3 */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, constructableCSS: true, cssAnnotations: true, deserializer: true, devTools: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: true, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: false, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propChangeCallback: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, serializer: false, shadowDelegatesFocus: true, shadowDom: true, shadowSlotAssignmentManual: false, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true };
3
+ export const Env = /* md3 */ {};
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime.js';
2
- import { LineChartEngine, type MdChartAnimation, type MdChartAxis, type MdChartAxisClickDetail, type MdChartClickDetail, type MdChartHoverDetail, type MdChartLegendPosition, type MdChartSeries, type MdChartStackMode, type MdChartTitleAlign, type MdChartTooltipRenderer, type MdChartTooltipTrigger } from '../../utils/charts/index.js';
2
+ import { LineChartEngine, type MdChartAnimation, type MdChartAxis, type MdChartAxisClickDetail, type MdChartClickDetail, type MdChartHoverDetail, type MdChartLegendPosition, type MdChartSeries as MdChartSeriesData, type MdChartStackMode, type MdChartTitleAlign, type MdChartTooltipRenderer, type MdChartTooltipTrigger } from '../../utils/charts/index.js';
3
3
  /**
4
4
  * md-area-chart — Material Design 3 area / streamgraph chart,
5
5
  * rendered by the in-house engine (Canvas2D + a DOM text
@@ -13,12 +13,16 @@ import { LineChartEngine, type MdChartAnimation, type MdChartAxis, type MdChartA
13
13
  */
14
14
  export declare class MdAreaChart {
15
15
  el: HTMLElement;
16
+ private childSeries;
17
+ private disposeSeriesWatch?;
18
+ private get effectiveSeries();
16
19
  label: string;
17
20
  /** Sub-title, drawn under the title in the muted text colour. */
18
21
  subtitle: string | undefined;
19
22
  /** Title alignment over the plot: `start` (left), `center`, or `end` (right). */
20
23
  titleAlign: MdChartTitleAlign;
21
- series: MdChartSeries[];
24
+ /** Data fallback when no direct, unslotted `md-chart-series` children are present. */
25
+ series: MdChartSeriesData[];
22
26
  xAxis: MdChartAxis | undefined;
23
27
  yAxis: MdChartAxis | undefined;
24
28
  curve: 'linear' | 'smooth' | 'monotone' | 'step' | 'step-before' | 'step-middle';
@@ -107,13 +111,13 @@ export declare class MdAreaChart {
107
111
  axisTicks: boolean;
108
112
  /** Print each point's value as a data label beside its marker. */
109
113
  showLabels: boolean;
110
- mdMarkerClick: EventEmitter<MdChartClickDetail<MdChartSeries>>;
114
+ mdMarkerClick: EventEmitter<MdChartClickDetail<MdChartSeriesData>>;
111
115
  /** Fires when a series' drawn line is clicked *between* its data points (a
112
116
  * click on a point emits `mdMarkerClick` instead). */
113
- mdLineClick: EventEmitter<MdChartClickDetail<MdChartSeries>>;
117
+ mdLineClick: EventEmitter<MdChartClickDetail<MdChartSeriesData>>;
114
118
  /** Fires when a series' filled area is clicked — the band between its line
115
119
  * and its base (its own band when stacked), excluding its line and points. */
116
- mdAreaClick: EventEmitter<MdChartClickDetail<MdChartSeries>>;
120
+ mdAreaClick: EventEmitter<MdChartClickDetail<MdChartSeriesData>>;
117
121
  /** Fires when the plot background is clicked (inside the plot, but not on a
118
122
  * mark, line or area): the nearest x plus every visible series' value there. */
119
123
  mdAxisClick: EventEmitter<MdChartAxisClickDetail>;
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime.js';
2
- import { BarChartEngine, type MdChartAnimation, type MdChartAxis, type MdChartBarLayout, type MdChartClickDetail, type MdChartHoverDetail, type MdChartLegendPosition, type MdChartSeries, type MdChartStackMode, type MdChartTitleAlign, type MdChartTooltipRenderer, type MdChartTooltipTrigger } from '../../utils/charts/index.js';
2
+ import { BarChartEngine, type MdChartAnimation, type MdChartAxis, type MdChartBarLayout, type MdChartClickDetail, type MdChartHoverDetail, type MdChartLegendPosition, type MdChartSeries as MdChartSeriesData, type MdChartStackMode, type MdChartTitleAlign, type MdChartTooltipRenderer, type MdChartTooltipTrigger } from '../../utils/charts/index.js';
3
3
  /**
4
4
  * md-bar-chart — Material Design 3 Expressive bar chart, rendered
5
5
  * by the in-house engine (Canvas2D + a DOM text overlay). No
@@ -14,6 +14,9 @@ import { BarChartEngine, type MdChartAnimation, type MdChartAxis, type MdChartBa
14
14
  */
15
15
  export declare class MdBarChart {
16
16
  el: HTMLElement;
17
+ private childSeries;
18
+ private disposeSeriesWatch?;
19
+ private get effectiveSeries();
17
20
  label: string;
18
21
  /**
19
22
  * A quieter line under the title — a source, a unit, the caveat a title
@@ -22,7 +25,8 @@ export declare class MdBarChart {
22
25
  subtitle: string | undefined;
23
26
  /** Title alignment over the plot: `start` (left), `center`, or `end` (right). */
24
27
  titleAlign: MdChartTitleAlign;
25
- series: MdChartSeries[];
28
+ /** Data fallback when no direct, unslotted `md-chart-series` children are present. */
29
+ series: MdChartSeriesData[];
26
30
  /** Category axis configuration. */
27
31
  xAxis: MdChartAxis | undefined;
28
32
  /** Value axis configuration. */
@@ -130,7 +134,7 @@ export declare class MdBarChart {
130
134
  * above a short bar.
131
135
  */
132
136
  clickable: boolean;
133
- mdBarClick: EventEmitter<MdChartClickDetail<MdChartSeries>>;
137
+ mdBarClick: EventEmitter<MdChartClickDetail<MdChartSeriesData>>;
134
138
  mdLegendClick: EventEmitter<{
135
139
  seriesIndex: number;
136
140
  seriesId?: string;
@@ -0,0 +1,61 @@
1
+ import type { MdChartColorRole, MdChartCurve, MdChartDatum, MdChartLineStyle, MdChartRangeDatum, MdChartSymbol } from '../../utils/charts/index.js';
2
+ /**
3
+ * Declarative series data for md-line-chart, md-area-chart and md-bar-chart.
4
+ * Direct, unslotted children replace the parent's series array in DOM order.
5
+ * This is a nonvisual descriptor; assign arrays and maps as JavaScript properties.
6
+ */
7
+ export declare class MdChartSeries {
8
+ el: HTMLElement;
9
+ /** Series name in legends/tooltips, separate from the parent chart's title. */
10
+ label?: string;
11
+ /** Y values (number/null); md-line-chart also accepts {x,y} points and [x,y] tuples. Reassign to update. */
12
+ data: MdChartDatum[];
13
+ /** Draw the series outline; unset inherits the parent chart default. */
14
+ stroke?: boolean;
15
+ /** Fill the series area; unset inherits the parent chart default. */
16
+ fill?: boolean;
17
+ /** Low/high range samples. Assign as a property and reassign to update. */
18
+ range?: MdChartRangeDatum[];
19
+ /** MD color role or CSS color for this series. */
20
+ color?: MdChartColorRole | string;
21
+ /** Stack group key, separate from the parent chart's stacking strategy. */
22
+ stack?: string;
23
+ /** Per-series curve interpolation. */
24
+ curve?: MdChartCurve;
25
+ /** Per-series stroke dash style. */
26
+ dash?: MdChartLineStyle;
27
+ /** Series visibility override. Standard DOM hidden does not hide a series. */
28
+ seriesHidden?: boolean;
29
+ /** Connect across null samples. */
30
+ connectNulls?: boolean;
31
+ /** Show data-point markers. */
32
+ showMarks?: boolean;
33
+ /** Marker symbol or custom path. */
34
+ symbol?: MdChartSymbol | (string & {});
35
+ /** Marker symbols indexed by data position. Assign as a property. */
36
+ pointSymbols?: Record<number, MdChartSymbol | string>;
37
+ /** Colors indexed by data position. Assign as a property. */
38
+ pointColors?: Record<number, MdChartColorRole | string>;
39
+ /** Bar width ratios indexed by data position. Assign as a property. */
40
+ pointWidths?: Record<number, number>;
41
+ /** Overlay bars instead of reserving a group position. */
42
+ overlay?: boolean;
43
+ /** Relative bar width for this series. */
44
+ widthRatio?: number;
45
+ /** Stable series identity in events and legend state. Standard DOM id is unrelated. */
46
+ seriesId?: string;
47
+ /** Index of the y-axis used by this series. */
48
+ yAxisIndex?: number;
49
+ /** Data index after which the line is dashed. */
50
+ dashAfter?: number;
51
+ /** Hollow point markers. */
52
+ hollow?: boolean;
53
+ /** Stroke width in CSS pixels. */
54
+ lineWidth?: number;
55
+ /** Marker radius in CSS pixels. */
56
+ markSize?: number;
57
+ deserializeStructuredProp(value?: unknown, prop?: string): unknown;
58
+ componentDidLoad(): void;
59
+ notifyChange(): void;
60
+ render(): null;
61
+ }
@@ -24,6 +24,9 @@ import { LineChartEngine, type MdChartAnimation, type MdChartAxis, type MdChartA
24
24
  */
25
25
  export declare class MdLineChart {
26
26
  el: HTMLElement;
27
+ private childSeries;
28
+ private disposeSeriesWatch?;
29
+ private get effectiveSeries();
27
30
  /** Optional chart title rendered above the plot. */
28
31
  label: string;
29
32
  /** Optional sub-title rendered under the title in the muted text colour. */
@@ -41,7 +44,8 @@ export declare class MdLineChart {
41
44
  * irregular data needs: uneven sampling, or several series measured on
42
45
  * completely different dates. Set `xAxis.scale = 'time'` (or `'value'`) so
43
46
  * the gaps render proportionally; series carrying their own x need no
44
- * `xAxis.data` at all.
47
+ * `xAxis.data` at all. Direct, unslotted `md-chart-series` children take
48
+ * precedence; this array remains the fallback when no such children exist.
45
49
  */
46
50
  series: MdChartXYSeries[];
47
51
  /** X-axis configuration. */