q2-tecton-elements 1.72.0 → 1.73.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (392) hide show
  1. package/dist/bundle-report.json +39545 -34361
  2. package/dist/cjs/{charting-ClN1ldqv.js → charting-CdNTrVBe.js} +80 -0
  3. package/dist/cjs/click-elsewhere_3.cjs.entry.js +81 -14
  4. package/dist/cjs/{dataSample-BYR-wrOn.js → dataSample-B4blhlH4.js} +1 -1
  5. package/dist/cjs/date-picker-helpers-UYvPn98R.js +257 -0
  6. package/dist/cjs/{index-BY3aao8R.js → index-BqyWHpNu.js} +1 -1
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/q2-action-group.cjs.entry.js +1 -1
  9. package/dist/cjs/q2-action-sheet.cjs.entry.js +98 -18
  10. package/dist/cjs/q2-avatar.cjs.entry.js +34 -1
  11. package/dist/cjs/q2-badge_2.cjs.entry.js +3 -3
  12. package/dist/cjs/q2-btn_2.cjs.entry.js +2 -2
  13. package/dist/cjs/q2-calendar.cjs.entry.js +9 -4
  14. package/dist/cjs/q2-card-image.cjs.entry.js +3 -3
  15. package/dist/cjs/q2-card.cjs.entry.js +1 -1
  16. package/dist/cjs/q2-carousel-pane.cjs.entry.js +3 -3
  17. package/dist/cjs/q2-carousel.cjs.entry.js +20 -6
  18. package/dist/cjs/q2-chart-area.cjs.entry.js +38 -7
  19. package/dist/cjs/q2-chart-bar.cjs.entry.js +39 -8
  20. package/dist/cjs/q2-chart-donut.cjs.entry.js +31 -13
  21. package/dist/cjs/q2-checkbox-group.cjs.entry.js +2 -2
  22. package/dist/cjs/q2-checkbox_2.cjs.entry.js +8 -5
  23. package/dist/cjs/q2-context.cjs.entry.js +4 -4
  24. package/dist/cjs/q2-currency.cjs.entry.js +1 -1
  25. package/dist/cjs/q2-data-table.cjs.entry.js +7 -7
  26. package/dist/cjs/q2-date-calendar.cjs.entry.js +452 -0
  27. package/dist/cjs/q2-date-picker_2.cjs.entry.js +968 -0
  28. package/dist/cjs/q2-detail.cjs.entry.js +2 -2
  29. package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
  30. package/dist/cjs/q2-dropdown.cjs.entry.js +3 -3
  31. package/dist/cjs/q2-editable-field.cjs.entry.js +20 -7
  32. package/dist/cjs/q2-example.cjs.entry.js +1 -1
  33. package/dist/cjs/q2-file-picker.cjs.entry.js +2 -2
  34. package/dist/cjs/q2-form.cjs.entry.js +1 -1
  35. package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
  36. package/dist/cjs/q2-icon.cjs.entry.js +1 -1
  37. package/dist/cjs/q2-item.cjs.entry.js +20 -2
  38. package/dist/cjs/q2-legend.cjs.entry.js +1 -1
  39. package/dist/cjs/q2-link_2.cjs.entry.js +2 -2
  40. package/dist/cjs/q2-loc.cjs.entry.js +1 -1
  41. package/dist/cjs/q2-message.cjs.entry.js +3 -3
  42. package/dist/cjs/q2-meter.cjs.entry.js +2 -2
  43. package/dist/cjs/q2-modal.cjs.entry.js +2 -2
  44. package/dist/cjs/q2-month-picker.cjs.entry.js +3 -3
  45. package/dist/cjs/q2-mutation-observer.cjs.entry.js +1 -1
  46. package/dist/cjs/q2-option.cjs.entry.js +1 -1
  47. package/dist/cjs/q2-otp.cjs.entry.js +5 -5
  48. package/dist/cjs/q2-pagination.cjs.entry.js +12 -6
  49. package/dist/cjs/q2-pill.cjs.entry.js +8 -5
  50. package/dist/cjs/q2-radio-group.cjs.entry.js +2 -2
  51. package/dist/cjs/q2-radio.cjs.entry.js +2 -2
  52. package/dist/cjs/q2-relative-time.cjs.entry.js +2 -2
  53. package/dist/cjs/q2-resize-observer.cjs.entry.js +1 -1
  54. package/dist/cjs/q2-search.cjs.entry.js +3 -3
  55. package/dist/cjs/q2-section.cjs.entry.js +3 -3
  56. package/dist/cjs/q2-select.cjs.entry.js +8 -4
  57. package/dist/cjs/q2-stepper-pane.cjs.entry.js +2 -2
  58. package/dist/cjs/q2-stepper-vertical.cjs.entry.js +2 -2
  59. package/dist/cjs/q2-stepper.cjs.entry.js +2 -2
  60. package/dist/cjs/q2-surface.cjs.entry.js +1 -1
  61. package/dist/cjs/q2-tab-container.cjs.entry.js +2 -2
  62. package/dist/cjs/q2-tab-pane.cjs.entry.js +1 -1
  63. package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
  64. package/dist/cjs/q2-textarea.cjs.entry.js +2 -2
  65. package/dist/cjs/q2-toast.cjs.entry.js +1 -1
  66. package/dist/cjs/q2-tooltip.cjs.entry.js +1 -1
  67. package/dist/cjs/{sectorHelper-9TWL-3dw.js → sectorHelper-CxhDl5ql.js} +1 -1
  68. package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
  69. package/dist/collection/collection-manifest.json +2 -0
  70. package/dist/collection/components/q2-action-sheet/q2-action-sheet.css +52 -0
  71. package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +98 -18
  72. package/dist/collection/components/q2-action-sheet/test/q2-action-sheet-test.vr.js +124 -0
  73. package/dist/collection/components/q2-avatar/q2-avatar.js +34 -1
  74. package/dist/collection/components/q2-avatar/test/q2-avatar-test.vr.js +79 -4
  75. package/dist/collection/components/q2-btn/q2-btn.css +84 -136
  76. package/dist/collection/components/q2-btn/q2-btn.js +10 -4
  77. package/dist/collection/components/q2-btn/test/q2-btn-test.vr.js +99 -43
  78. package/dist/collection/components/q2-calendar/q2-calendar.js +16 -5
  79. package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
  80. package/dist/collection/components/q2-calendar/test/q2-calendar-test.vr.js +3 -13
  81. package/dist/collection/components/q2-card-image/q2-card-image.js +2 -2
  82. package/dist/collection/components/q2-carousel/q2-carousel.js +19 -5
  83. package/dist/collection/components/q2-carousel/test/q2-carousel-test.vr.js +32 -0
  84. package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
  85. package/dist/collection/components/q2-chart-area/q2-chart-area.css +11 -0
  86. package/dist/collection/components/q2-chart-area/q2-chart-area.js +53 -7
  87. package/dist/collection/components/q2-chart-area/test/q2-chart-area-test.vr.js +14 -0
  88. package/dist/collection/components/q2-chart-bar/q2-chart-bar.css +11 -0
  89. package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +50 -4
  90. package/dist/collection/components/q2-chart-bar/test/q2-chart-bar-test.vr.js +14 -0
  91. package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +30 -10
  92. package/dist/collection/components/q2-chart-donut/test/q2-chart-donut-test.vr.js +25 -0
  93. package/dist/collection/components/q2-checkbox/q2-checkbox.js +6 -3
  94. package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +6 -3
  95. package/dist/collection/components/q2-context/q2-context.js +3 -3
  96. package/dist/collection/components/q2-context/test/q2-context-test.vr.js +3 -3
  97. package/dist/collection/components/q2-currency/q2-currency.js +1 -1
  98. package/dist/collection/components/q2-data-table/q2-data-table.css +3 -0
  99. package/dist/collection/components/q2-data-table/q2-data-table.js +5 -5
  100. package/dist/collection/components/q2-data-table/test/q2-data-table-test.vr.js +47 -0
  101. package/dist/collection/components/q2-date-calendar/q2-date-calendar.css +393 -0
  102. package/dist/collection/components/q2-date-calendar/q2-date-calendar.js +1022 -0
  103. package/dist/collection/components/q2-date-calendar/test/q2-date-calendar-test.vr.js +111 -0
  104. package/dist/collection/components/q2-date-picker/q2-date-picker.css +138 -0
  105. package/dist/collection/components/q2-date-picker/q2-date-picker.js +2010 -0
  106. package/dist/collection/components/q2-date-picker/test/q2-date-picker-test.vr.js +179 -0
  107. package/dist/collection/components/q2-detail/q2-detail.js +1 -1
  108. package/dist/collection/components/q2-dropdown/q2-dropdown.js +5 -5
  109. package/dist/collection/components/q2-editable-field/q2-editable-field.js +27 -8
  110. package/dist/collection/components/q2-example/q2-example.js +1 -1
  111. package/dist/collection/components/q2-file-picker/q2-file-picker.js +1 -1
  112. package/dist/collection/components/q2-form/q2-form.js +1 -1
  113. package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
  114. package/dist/collection/components/q2-input/formatting/phone-number-formats.js +1 -1
  115. package/dist/collection/components/q2-input/q2-input.js +6 -3
  116. package/dist/collection/components/q2-item/q2-item.js +19 -1
  117. package/dist/collection/components/q2-item/test/q2-item-test.vr.js +2 -2
  118. package/dist/collection/components/q2-legend/q2-legend.js +1 -1
  119. package/dist/collection/components/q2-list/q2-list.js +1 -1
  120. package/dist/collection/components/q2-message/q2-message.css +1 -1
  121. package/dist/collection/components/q2-message/q2-message.js +1 -1
  122. package/dist/collection/components/q2-message/test/q2-message-test.vr.js +11 -2
  123. package/dist/collection/components/q2-meter/q2-meter.js +1 -1
  124. package/dist/collection/components/q2-modal/q2-modal.js +1 -1
  125. package/dist/collection/components/q2-modal/test/q2-modal-test.vr.js +7 -7
  126. package/dist/collection/components/q2-mutation-observer/q2-mutation-observer.js +1 -1
  127. package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
  128. package/dist/collection/components/q2-option-list/q2-option-list.js +36 -4
  129. package/dist/collection/components/q2-otp/q2-otp.js +4 -4
  130. package/dist/collection/components/q2-pagination/q2-pagination.css +17 -0
  131. package/dist/collection/components/q2-pagination/q2-pagination.js +10 -4
  132. package/dist/collection/components/q2-pagination/test/q2-pagination-test.vr.js +39 -0
  133. package/dist/collection/components/q2-pill/q2-pill.css +14 -10
  134. package/dist/collection/components/q2-pill/q2-pill.js +6 -3
  135. package/dist/collection/components/q2-pill/test/q2-pill-test.vr.js +25 -0
  136. package/dist/collection/components/q2-popover/q2-popover.css +1 -0
  137. package/dist/collection/components/q2-popover/q2-popover.js +43 -8
  138. package/dist/collection/components/q2-radio/q2-radio.js +5 -2
  139. package/dist/collection/components/q2-radio-group/q2-radio-group.js +6 -3
  140. package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
  141. package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
  142. package/dist/collection/components/q2-search/q2-search.js +6 -3
  143. package/dist/collection/components/q2-section/q2-section.js +2 -2
  144. package/dist/collection/components/q2-select/q2-select.js +12 -5
  145. package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
  146. package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +1 -1
  147. package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
  148. package/dist/collection/components/q2-surface/q2-surface.js +1 -1
  149. package/dist/collection/components/q2-surface/test/q2-surface-test.vr.js +2 -2
  150. package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
  151. package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
  152. package/dist/collection/components/q2-tag/q2-tag.js +6 -3
  153. package/dist/collection/components/q2-textarea/q2-textarea.js +6 -3
  154. package/dist/collection/components/q2-tooltip/test/q2-tooltip-test.vr.js +1 -1
  155. package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
  156. package/dist/collection/utils/chart-keyboard.js +76 -0
  157. package/dist/collection/utils/date-picker/date-picker-helpers.js +239 -0
  158. package/dist/collection/utils/date-picker/date-picker-types.js +1 -0
  159. package/dist/collection/utils/index.js +1 -1
  160. package/dist/components/charting.js +1603 -1532
  161. package/dist/components/dataSample.js +7 -7
  162. package/dist/components/index.js +57 -53
  163. package/dist/components/index2.js +2 -2
  164. package/dist/components/q2-action-sheet.js +224 -103
  165. package/dist/components/q2-avatar2.js +41 -27
  166. package/dist/components/q2-btn2.js +2 -2
  167. package/dist/components/q2-calendar.js +6 -3
  168. package/dist/components/q2-card-image.js +2 -2
  169. package/dist/components/q2-carousel-pane2.js +3 -3
  170. package/dist/components/q2-carousel.js +37 -24
  171. package/dist/components/q2-chart-area.js +415 -369
  172. package/dist/components/q2-chart-bar.js +193 -148
  173. package/dist/components/q2-chart-donut.js +185 -158
  174. package/dist/components/q2-checkbox-group.js +6 -6
  175. package/dist/components/q2-checkbox2.js +11 -11
  176. package/dist/components/q2-context.js +20 -20
  177. package/dist/components/q2-currency.js +9 -9
  178. package/dist/components/q2-data-table.js +111 -111
  179. package/dist/components/q2-date-calendar.d.ts +11 -0
  180. package/dist/components/q2-date-calendar.js +5 -0
  181. package/dist/components/q2-date-calendar2.js +678 -0
  182. package/dist/components/q2-date-picker.d.ts +11 -0
  183. package/dist/components/q2-date-picker.js +5 -0
  184. package/dist/components/q2-date-picker2.js +875 -0
  185. package/dist/components/q2-detail.js +3 -3
  186. package/dist/components/q2-dropdown.js +17 -17
  187. package/dist/components/q2-editable-field.js +16 -5
  188. package/dist/components/q2-example.js +11 -11
  189. package/dist/components/q2-file-picker.js +1 -1
  190. package/dist/components/q2-form.js +6 -6
  191. package/dist/components/q2-formatted-text.js +2 -2
  192. package/dist/components/q2-input2.js +6 -6
  193. package/dist/components/q2-item2.js +32 -22
  194. package/dist/components/q2-legend2.js +7 -7
  195. package/dist/components/q2-list2.js +6 -6
  196. package/dist/components/q2-message2.js +10 -10
  197. package/dist/components/q2-meter.js +7 -7
  198. package/dist/components/q2-modal.js +22 -22
  199. package/dist/components/q2-month-picker.js +17 -17
  200. package/dist/components/q2-mutation-observer.js +1 -1
  201. package/dist/components/q2-optgroup2.js +7 -7
  202. package/dist/components/q2-option-list2.js +55 -34
  203. package/dist/components/q2-otp.js +8 -8
  204. package/dist/components/q2-pagination.js +70 -68
  205. package/dist/components/q2-pill.js +51 -46
  206. package/dist/components/q2-popover2.js +70 -49
  207. package/dist/components/q2-radio-group.js +7 -7
  208. package/dist/components/q2-radio.js +6 -6
  209. package/dist/components/q2-relative-time.js +1 -1
  210. package/dist/components/q2-resize-observer2.js +1 -1
  211. package/dist/components/q2-search.js +5 -5
  212. package/dist/components/q2-section.js +17 -17
  213. package/dist/components/q2-select2.js +2 -2
  214. package/dist/components/q2-stepper-pane.js +29 -29
  215. package/dist/components/q2-stepper-vertical.js +4 -4
  216. package/dist/components/q2-stepper.js +57 -57
  217. package/dist/components/q2-surface.js +3 -3
  218. package/dist/components/q2-tab-container.js +21 -21
  219. package/dist/components/q2-tab-pane.js +6 -6
  220. package/dist/components/q2-tag2.js +8 -6
  221. package/dist/components/q2-textarea.js +3 -3
  222. package/dist/components/sectorHelper.js +78 -78
  223. package/dist/components/tecton-tab-pane.js +10 -10
  224. package/dist/esm/{charting-DOZct-UB.js → charting-DFXJklqs.js} +79 -1
  225. package/dist/esm/click-elsewhere_3.entry.js +81 -14
  226. package/dist/esm/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +1 -1
  227. package/dist/esm/date-picker-helpers-D8QnN_AS.js +242 -0
  228. package/dist/esm/{index-DJw6Feh0.js → index-CP8pXJ-l.js} +1 -1
  229. package/dist/esm/loader.js +1 -1
  230. package/dist/esm/q2-action-group.entry.js +1 -1
  231. package/dist/esm/q2-action-sheet.entry.js +99 -19
  232. package/dist/esm/q2-avatar.entry.js +34 -1
  233. package/dist/esm/q2-badge_2.entry.js +3 -3
  234. package/dist/esm/q2-btn_2.entry.js +2 -2
  235. package/dist/esm/q2-calendar.entry.js +9 -4
  236. package/dist/esm/q2-card-image.entry.js +3 -3
  237. package/dist/esm/q2-card.entry.js +1 -1
  238. package/dist/esm/q2-carousel-pane.entry.js +3 -3
  239. package/dist/esm/q2-carousel.entry.js +20 -6
  240. package/dist/esm/q2-chart-area.entry.js +38 -7
  241. package/dist/esm/q2-chart-bar.entry.js +39 -8
  242. package/dist/esm/q2-chart-donut.entry.js +31 -13
  243. package/dist/esm/q2-checkbox-group.entry.js +2 -2
  244. package/dist/esm/q2-checkbox_2.entry.js +8 -5
  245. package/dist/esm/q2-context.entry.js +4 -4
  246. package/dist/esm/q2-currency.entry.js +1 -1
  247. package/dist/esm/q2-data-table.entry.js +7 -7
  248. package/dist/esm/q2-date-calendar.entry.js +450 -0
  249. package/dist/esm/q2-date-picker_2.entry.js +965 -0
  250. package/dist/esm/q2-detail.entry.js +2 -2
  251. package/dist/esm/q2-dropdown-item.entry.js +1 -1
  252. package/dist/esm/q2-dropdown.entry.js +3 -3
  253. package/dist/esm/q2-editable-field.entry.js +20 -7
  254. package/dist/esm/q2-example.entry.js +1 -1
  255. package/dist/esm/q2-file-picker.entry.js +2 -2
  256. package/dist/esm/q2-form.entry.js +1 -1
  257. package/dist/esm/q2-formatted-text.entry.js +1 -1
  258. package/dist/esm/q2-icon.entry.js +1 -1
  259. package/dist/esm/q2-item.entry.js +20 -2
  260. package/dist/esm/q2-legend.entry.js +1 -1
  261. package/dist/esm/q2-link_2.entry.js +2 -2
  262. package/dist/esm/q2-loc.entry.js +1 -1
  263. package/dist/esm/q2-message.entry.js +3 -3
  264. package/dist/esm/q2-meter.entry.js +2 -2
  265. package/dist/esm/q2-modal.entry.js +2 -2
  266. package/dist/esm/q2-month-picker.entry.js +3 -3
  267. package/dist/esm/q2-mutation-observer.entry.js +1 -1
  268. package/dist/esm/q2-option.entry.js +1 -1
  269. package/dist/esm/q2-otp.entry.js +5 -5
  270. package/dist/esm/q2-pagination.entry.js +12 -6
  271. package/dist/esm/q2-pill.entry.js +8 -5
  272. package/dist/esm/q2-radio-group.entry.js +2 -2
  273. package/dist/esm/q2-radio.entry.js +2 -2
  274. package/dist/esm/q2-relative-time.entry.js +2 -2
  275. package/dist/esm/q2-resize-observer.entry.js +1 -1
  276. package/dist/esm/q2-search.entry.js +3 -3
  277. package/dist/esm/q2-section.entry.js +3 -3
  278. package/dist/esm/q2-select.entry.js +8 -4
  279. package/dist/esm/q2-stepper-pane.entry.js +2 -2
  280. package/dist/esm/q2-stepper-vertical.entry.js +2 -2
  281. package/dist/esm/q2-stepper.entry.js +2 -2
  282. package/dist/esm/q2-surface.entry.js +1 -1
  283. package/dist/esm/q2-tab-container.entry.js +2 -2
  284. package/dist/esm/q2-tab-pane.entry.js +1 -1
  285. package/dist/esm/q2-tecton-elements.js +1 -1
  286. package/dist/esm/q2-textarea.entry.js +2 -2
  287. package/dist/esm/q2-toast.entry.js +1 -1
  288. package/dist/esm/q2-tooltip.entry.js +1 -1
  289. package/dist/esm/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +1 -1
  290. package/dist/esm/tecton-tab-pane.entry.js +2 -2
  291. package/dist/q2-tecton-elements/{charting-DOZct-UB.js → charting-DFXJklqs.js} +1625 -1554
  292. package/dist/q2-tecton-elements/click-elsewhere_3.entry.js +85 -43
  293. package/dist/q2-tecton-elements/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +33 -33
  294. package/dist/q2-tecton-elements/date-picker-helpers-D8QnN_AS.js +153 -0
  295. package/dist/q2-tecton-elements/{index-DJw6Feh0.js → index-CP8pXJ-l.js} +1 -1
  296. package/dist/q2-tecton-elements/q2-action-group.entry.js +1 -1
  297. package/dist/q2-tecton-elements/q2-action-sheet.entry.js +169 -84
  298. package/dist/q2-tecton-elements/q2-avatar.entry.js +24 -10
  299. package/dist/q2-tecton-elements/q2-badge_2.entry.js +6 -6
  300. package/dist/q2-tecton-elements/q2-btn_2.entry.js +23 -23
  301. package/dist/q2-tecton-elements/q2-calendar.entry.js +7 -4
  302. package/dist/q2-tecton-elements/q2-card-image.entry.js +3 -3
  303. package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
  304. package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +4 -4
  305. package/dist/q2-tecton-elements/q2-carousel.entry.js +24 -11
  306. package/dist/q2-tecton-elements/q2-chart-area.entry.js +187 -141
  307. package/dist/q2-tecton-elements/q2-chart-bar.entry.js +377 -333
  308. package/dist/q2-tecton-elements/q2-chart-donut.entry.js +184 -158
  309. package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +7 -7
  310. package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +20 -18
  311. package/dist/q2-tecton-elements/q2-context.entry.js +21 -21
  312. package/dist/q2-tecton-elements/q2-currency.entry.js +9 -9
  313. package/dist/q2-tecton-elements/q2-data-table.entry.js +7 -7
  314. package/dist/q2-tecton-elements/q2-date-calendar.entry.js +438 -0
  315. package/dist/q2-tecton-elements/q2-date-picker_2.entry.js +792 -0
  316. package/dist/q2-tecton-elements/q2-detail.entry.js +4 -4
  317. package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +1 -1
  318. package/dist/q2-tecton-elements/q2-dropdown.entry.js +16 -16
  319. package/dist/q2-tecton-elements/q2-editable-field.entry.js +17 -6
  320. package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
  321. package/dist/q2-tecton-elements/q2-file-picker.entry.js +2 -2
  322. package/dist/q2-tecton-elements/q2-form.entry.js +2 -2
  323. package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
  324. package/dist/q2-tecton-elements/q2-icon.entry.js +1 -1
  325. package/dist/q2-tecton-elements/q2-item.entry.js +26 -16
  326. package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
  327. package/dist/q2-tecton-elements/q2-link_2.entry.js +7 -7
  328. package/dist/q2-tecton-elements/q2-loc.entry.js +1 -1
  329. package/dist/q2-tecton-elements/q2-message.entry.js +29 -29
  330. package/dist/q2-tecton-elements/q2-meter.entry.js +8 -8
  331. package/dist/q2-tecton-elements/q2-modal.entry.js +18 -18
  332. package/dist/q2-tecton-elements/q2-month-picker.entry.js +14 -14
  333. package/dist/q2-tecton-elements/q2-mutation-observer.entry.js +1 -1
  334. package/dist/q2-tecton-elements/q2-option.entry.js +1 -1
  335. package/dist/q2-tecton-elements/q2-otp.entry.js +9 -9
  336. package/dist/q2-tecton-elements/q2-pagination.entry.js +51 -49
  337. package/dist/q2-tecton-elements/q2-pill.entry.js +22 -17
  338. package/dist/q2-tecton-elements/q2-radio-group.entry.js +8 -8
  339. package/dist/q2-tecton-elements/q2-radio.entry.js +7 -7
  340. package/dist/q2-tecton-elements/q2-relative-time.entry.js +6 -6
  341. package/dist/q2-tecton-elements/q2-resize-observer.entry.js +13 -13
  342. package/dist/q2-tecton-elements/q2-search.entry.js +31 -31
  343. package/dist/q2-tecton-elements/q2-section.entry.js +20 -20
  344. package/dist/q2-tecton-elements/q2-select.entry.js +3 -3
  345. package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +10 -10
  346. package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +9 -9
  347. package/dist/q2-tecton-elements/q2-stepper.entry.js +45 -45
  348. package/dist/q2-tecton-elements/q2-surface.entry.js +15 -15
  349. package/dist/q2-tecton-elements/q2-tab-container.entry.js +20 -20
  350. package/dist/q2-tecton-elements/q2-tab-pane.entry.js +9 -9
  351. package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
  352. package/dist/q2-tecton-elements/q2-textarea.entry.js +3 -3
  353. package/dist/q2-tecton-elements/q2-toast.entry.js +1 -1
  354. package/dist/q2-tecton-elements/q2-tooltip.entry.js +1 -1
  355. package/dist/q2-tecton-elements/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +56 -56
  356. package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +9 -9
  357. package/dist/types/components/q2-action-sheet/q2-action-sheet.d.ts +21 -1
  358. package/dist/types/components/q2-action-sheet/test/q2-action-sheet-test.vr.d.ts +1 -0
  359. package/dist/types/components/q2-avatar/q2-avatar.d.ts +5 -0
  360. package/dist/types/components/q2-btn/q2-btn.d.ts +7 -3
  361. package/dist/types/components/q2-calendar/q2-calendar.d.ts +10 -2
  362. package/dist/types/components/q2-carousel/q2-carousel.d.ts +5 -0
  363. package/dist/types/components/q2-chart-area/q2-chart-area.d.ts +11 -2
  364. package/dist/types/components/q2-chart-bar/q2-chart-bar.d.ts +9 -0
  365. package/dist/types/components/q2-chart-donut/q2-chart-donut.d.ts +1 -0
  366. package/dist/types/components/q2-checkbox/q2-checkbox.d.ts +4 -3
  367. package/dist/types/components/q2-checkbox-group/q2-checkbox-group.d.ts +4 -2
  368. package/dist/types/components/q2-date-calendar/q2-date-calendar.d.ts +122 -0
  369. package/dist/types/components/q2-date-calendar/test/q2-date-calendar-test.vr.d.ts +1 -0
  370. package/dist/types/components/q2-date-picker/q2-date-picker.d.ts +304 -0
  371. package/dist/types/components/q2-date-picker/test/q2-date-picker-test.vr.d.ts +1 -0
  372. package/dist/types/components/q2-dropdown/q2-dropdown.d.ts +3 -3
  373. package/dist/types/components/q2-editable-field/q2-editable-field.d.ts +14 -1
  374. package/dist/types/components/q2-input/q2-input.d.ts +4 -2
  375. package/dist/types/components/q2-item/q2-item.d.ts +3 -0
  376. package/dist/types/components/q2-option-list/q2-option-list.d.ts +1 -0
  377. package/dist/types/components/q2-popover/q2-popover.d.ts +4 -0
  378. package/dist/types/components/q2-radio/q2-radio.d.ts +3 -2
  379. package/dist/types/components/q2-radio-group/q2-radio-group.d.ts +4 -2
  380. package/dist/types/components/q2-search/q2-search.d.ts +3 -1
  381. package/dist/types/components/q2-select/q2-select.d.ts +4 -2
  382. package/dist/types/components/q2-textarea/q2-textarea.d.ts +4 -2
  383. package/dist/types/components.d.ts +858 -49
  384. package/dist/types/global.d.ts +1 -0
  385. package/dist/types/index.d.ts +1 -0
  386. package/dist/types/utils/chart-keyboard.d.ts +16 -0
  387. package/dist/types/utils/date-picker/date-picker-helpers.d.ts +47 -0
  388. package/dist/types/utils/date-picker/date-picker-types.d.ts +42 -0
  389. package/package.json +3 -3
  390. package/dist/cjs/q2-optgroup.cjs.entry.js +0 -70
  391. package/dist/esm/q2-optgroup.entry.js +0 -68
  392. package/dist/q2-tecton-elements/q2-optgroup.entry.js +0 -88
@@ -1,14 +1,14 @@
1
1
  import { r as t, c as i, h as e, g as r } from "./index-Cqkz7Bnm.js";
2
2
 
3
- import { o as n, l as a } from "./index-DJw6Feh0.js";
3
+ import { o as n, i as a, l as o } from "./index-CP8pXJ-l.js";
4
4
 
5
- import { m as o } from "./mirror-emit-DUjY_ucm.js";
5
+ import { _ as s, ad as u, ae as l, af as h, A as f, M as d, y as c, W as v, ag as p, ah as m, V as y, X as b, Z as S, h as g, ai as w, aj as M, O as P, L as D, ak as I, H as x, F as L, al as N, K as k, am as C, e as T, an as A, ao as O, c as E, ap as z, aq as F, d as G, $ as B, ar as U, Q as V, as as q, g as K, at as R, au as j, x as _, v as X, av as Z, S as $, aw as Y, ax as H, ay as J, az as W, aA as Q, aB as tt, R as it, U as et, B as rt, P as nt, T as at, l as ot, aC as st, E as ut, m as lt, aD as ht, aE as ft, aF as dt, aG as ct, o as vt, aH as pt, aI as mt, a4 as yt, a7 as bt, a8 as St, a9 as gt, aa as wt, ab as Mt, ac as Pt, a5 as Dt, a6 as It } from "./charting-DFXJklqs.js";
6
6
 
7
- import { _ as s, ab as u, ac as l, ad as h, A as f, M as d, y as c, W as v, ae as p, af as m, V as y, X as b, Z as S, h as g, ag as w, ah as M, O as P, L as D, ai as I, H as x, F as L, aj as N, K as T, ak as C, e as k, al as A, am as O, c as E, an as z, ao as F, d as G, $ as B, ap as U, Q as V, aq as q, g as R, ar as j, as as K, x as _, v as Z, at as $, S as X, au as Y, av as H, aw as J, ax as Q, ay as W, az as tt, R as it, U as et, B as rt, P as nt, T as at, l as ot, aA as st, E as ut, m as lt, aB as ht, aC as ft, aD as dt, aE as ct, o as vt, aF as pt, aG as mt, a4 as yt, a7 as bt, a8 as St, a9 as gt, aa as wt, a5 as Mt, a6 as Pt } from "./charting-DOZct-UB.js";
7
+ import { m as xt } from "./mirror-emit-DUjY_ucm.js";
8
8
 
9
- import { g as Dt, c as It, b as xt, i as Lt, h as Nt, j as Tt, d as Ct, e as kt, f as At } from "./dataSample-Dm1zpQNi.js";
9
+ import { g as Lt, c as Nt, b as kt, i as Ct, h as Tt, j as At, d as Ot, e as Et, f as zt } from "./dataSample-CP_VKNqt.js";
10
10
 
11
- var Ot = /** @class */ function(t) {
11
+ var Ft = /** @class */ function(t) {
12
12
  function Symbol(i, e, r, n) {
13
13
  var a = t.call(this) || this;
14
14
  return a.updateData(i, e, r, n), a;
@@ -142,17 +142,17 @@ var Ot = /** @class */ function(t) {
142
142
  g.useStyle(y({}, x)) : g.useStyle(x),
143
143
  // Disable decal because symbol scale will been applied on the decal.
144
144
  g.style.decal = null, g.setColor(L, n && n.symbolInnerColor), g.style.strokeNoScale = !0;
145
- var T = t.getItemVisual(i, "liftZ"), C = this._z2;
146
- null != T ? null == C && (this._z2 = g.z2, g.z2 += T) : null != C && (g.z2 = C,
145
+ var k = t.getItemVisual(i, "liftZ"), C = this._z2;
146
+ null != k ? null == C && (this._z2 = g.z2, g.z2 += k) : null != C && (g.z2 = C,
147
147
  this._z2 = null);
148
- var k = n && n.useNameLabel;
148
+ var T = n && n.useNameLabel;
149
149
  b(g, f, {
150
150
  labelFetcher: w,
151
151
  labelDataIndex: i,
152
152
  defaultText:
153
153
  // Do not execute util needed.
154
154
  function(i) {
155
- return k ? t.getName(i) : Dt(t, i);
155
+ return T ? t.getName(i) : Lt(t, i);
156
156
  },
157
157
  inheritColor: L,
158
158
  defaultOpacity: x.opacity
@@ -231,9 +231,9 @@ function makeSeriesScope(t) {
231
231
  };
232
232
  }
233
233
 
234
- var Et = /** @class */ function() {
234
+ var Gt = /** @class */ function() {
235
235
  function SymbolDraw(t) {
236
- this.group = new P, this._SymbolCtor = t || Ot;
236
+ this.group = new P, this._SymbolCtor = t || Ft;
237
237
  }
238
238
  /**
239
239
  * Update symbols draw by new data
@@ -313,13 +313,13 @@ var Et = /** @class */ function() {
313
313
  }), e.hostModel);
314
314
  })) : i.removeAll();
315
315
  }, SymbolDraw;
316
- }(), zt = /** @class */ function(t) {
316
+ }(), Bt = /** @class */ function(t) {
317
317
  function LineSeriesModel() {
318
318
  var i = null !== t && t.apply(this, arguments) || this;
319
319
  return i.type = LineSeriesModel.type, i.hasSymbolVisual = !0, i;
320
320
  }
321
321
  return s(LineSeriesModel, t), LineSeriesModel.prototype.getInitialData = function(t) {
322
- return It(null, this, {
322
+ return Nt(null, this, {
323
323
  useEncodeDefaulter: !0
324
324
  });
325
325
  }, LineSeriesModel.prototype.getLegendIcon = function(t) {
@@ -394,7 +394,7 @@ var Et = /** @class */ function() {
394
394
  function prepareDataCoordInfo(t, i, e) {
395
395
  var r = t.getBaseAxis(), n = t.getOtherAxis(r), a = function(t, i) {
396
396
  var e = 0, r = t.scale.getExtent();
397
- "start" === i ? e = r[0] : "end" === i ? e = r[1] : T(i) && !isNaN(i) ? e = i :
397
+ "start" === i ? e = r[0] : "end" === i ? e = r[1] : k(i) && !isNaN(i) ? e = i :
398
398
  // Both positive
399
399
  r[0] > 0 ? e = r[0] : r[1] < 0 && (e = r[1]);
400
400
  return e;
@@ -425,7 +425,7 @@ function getStackedOnPoint(t, i, e, r) {
425
425
  return o[a] = e.get(t.baseDim, r), o[1 - a] = n, i.dataToPoint(o);
426
426
  }
427
427
 
428
- var Ft = Math.min, Gt = Math.max;
428
+ var Ut = Math.min, Vt = Math.max;
429
429
 
430
430
  function isPointNull$1(t, i) {
431
431
  return isNaN(t) || isNaN(i);
@@ -461,34 +461,34 @@ function isPointNull$1(t, i) {
461
461
  if (u)
462
462
  // Find next point not null
463
463
  for (;isPointNull$1(M, P) && D < r; ) D++, M = i[2 * (w += a)], P = i[2 * w + 1];
464
- var I = .5, x = 0, L = 0, N = void 0, T = void 0;
464
+ var I = .5, x = 0, L = 0, N = void 0, k = void 0;
465
465
  // Is last point
466
466
  if (D >= r || isPointNull$1(M, P)) c = y, v = b; else {
467
467
  x = M - l, L = P - h;
468
- var C = y - l, k = M - y, A = b - h, O = P - b, E = void 0, z = void 0;
468
+ var C = y - l, T = M - y, A = b - h, O = P - b, E = void 0, z = void 0;
469
469
  if ("x" === s) {
470
470
  var F = x > 0 ? 1 : -1;
471
- c = y - F * (E = Math.abs(C)) * o, v = b, N = y + F * (z = Math.abs(k)) * o, T = b;
471
+ c = y - F * (E = Math.abs(C)) * o, v = b, N = y + F * (z = Math.abs(T)) * o, k = b;
472
472
  } else if ("y" === s) {
473
473
  var G = L > 0 ? 1 : -1;
474
- c = y, v = b - G * (E = Math.abs(A)) * o, N = y, T = b + G * (z = Math.abs(O)) * o;
474
+ c = y, v = b - G * (E = Math.abs(A)) * o, N = y, k = b + G * (z = Math.abs(O)) * o;
475
475
  } else E = Math.sqrt(C * C + A * A), c = y - x * o * (1 - (
476
476
  // Use ratio of seg length
477
- I = (z = Math.sqrt(k * k + O * O)) / (z + E))), v = b - L * o * (1 - I), T = b + L * o * I,
477
+ I = (z = Math.sqrt(T * T + O * O)) / (z + E))), v = b - L * o * (1 - I), k = b + L * o * I,
478
478
  // Smooth constraint between point and next point.
479
479
  // Avoid exceeding extreme after smoothing.
480
- N = Ft(
480
+ N = Ut(
481
481
  // cp0 of next segment
482
- N = y + x * o * I, Gt(M, y)), T = Ft(T, Gt(P, b)), N = Gt(N, Ft(M, y)), v = b - (L = (T = Gt(T, Ft(P, b))) - b) * E / z,
482
+ N = y + x * o * I, Vt(M, y)), k = Ut(k, Vt(P, b)), N = Vt(N, Ut(M, y)), v = b - (L = (k = Vt(k, Ut(P, b))) - b) * E / z,
483
483
  // Smooth constraint between point and prev point.
484
484
  // Avoid exceeding extreme after smoothing.
485
- c = Ft(c = y - (
485
+ c = Ut(c = y - (
486
486
  // Reclaculate cp1 based on the adjusted cp0 of next seg.
487
- x = N - y) * E / z, Gt(l, y)), v = Ft(v, Gt(h, b)), N = y + (
487
+ x = N - y) * E / z, Vt(l, y)), v = Ut(v, Vt(h, b)), N = y + (
488
488
  // Adjust next cp0 again.
489
- x = y - (c = Gt(c, Ft(l, y)))) * z / E, T = b + (L = b - (v = Gt(v, Ft(h, b)))) * z / E;
489
+ x = y - (c = Vt(c, Ut(l, y)))) * z / E, k = b + (L = b - (v = Vt(v, Ut(h, b)))) * z / E;
490
490
  }
491
- t.bezierCurveTo(f, d, c, v, y, b), f = N, d = T;
491
+ t.bezierCurveTo(f, d, c, v, y, b), f = N, d = k;
492
492
  } else t.lineTo(y, b);
493
493
  }
494
494
  l = y, h = b, p += a;
@@ -498,7 +498,7 @@ function isPointNull$1(t, i) {
498
498
 
499
499
  var ECPolylineShape = function() {
500
500
  this.smooth = 0, this.smoothConstraint = !0;
501
- }, Bt = /** @class */ function(t) {
501
+ }, qt = /** @class */ function(t) {
502
502
  function ECPolyline(i) {
503
503
  var e = t.call(this, i) || this;
504
504
  return e.type = "ec-polyline", e;
@@ -521,7 +521,7 @@ var ECPolylineShape = function() {
521
521
  for (;r < n; ) r += drawSegment(t, e, r, n, n, 1, i.smooth, i.smoothMonotone, i.connectNulls) + 1;
522
522
  }, ECPolyline.prototype.getPointOn = function(t, i) {
523
523
  this.path || (this.createPathProxy(), this.buildPath(this.path, this.shape));
524
- for (var e, r, n = this.path.data, a = k.CMD, o = "x" === i, s = [], u = 0; u < n.length; ) {
524
+ for (var e, r, n = this.path.data, a = T.CMD, o = "x" === i, s = [], u = 0; u < n.length; ) {
525
525
  var l = void 0, h = void 0, f = void 0, d = void 0, c = void 0, v = void 0, p = void 0;
526
526
  switch (n[u++]) {
527
527
  case a.M:
@@ -550,18 +550,18 @@ var ECPolylineShape = function() {
550
550
  }
551
551
  }
552
552
  }, ECPolyline;
553
- }(E), Ut = /** @class */ function(t) {
553
+ }(E), Kt = /** @class */ function(t) {
554
554
  function ECPolygonShape() {
555
555
  return null !== t && t.apply(this, arguments) || this;
556
556
  }
557
557
  return s(ECPolygonShape, t), ECPolygonShape;
558
- }(ECPolylineShape), Vt = /** @class */ function(t) {
558
+ }(ECPolylineShape), Rt = /** @class */ function(t) {
559
559
  function ECPolygon(i) {
560
560
  var e = t.call(this, i) || this;
561
561
  return e.type = "ec-polygon", e;
562
562
  }
563
563
  return s(ECPolygon, t), ECPolygon.prototype.getDefaultShape = function() {
564
- return new Ut;
564
+ return new Kt;
565
565
  }, ECPolygon.prototype.buildPath = function(t, i) {
566
566
  var e = i.points, r = i.stackedOnPoints, n = 0, a = e.length / 2, o = i.smoothMonotone;
567
567
  if (i.connectNulls) {
@@ -600,7 +600,7 @@ function getBoundingDiff(t, i) {
600
600
  }
601
601
 
602
602
  function getSmooth(t) {
603
- return T(t) ? t : t ? .5 : 0;
603
+ return k(t) ? t : t ? .5 : 0;
604
604
  }
605
605
 
606
606
  /**
@@ -710,7 +710,7 @@ function turnPointsIntoStep(t, i, e, r, n) {
710
710
  var v = d[0].coord - 10, p = d[c - 1].coord + 10, m = p - v;
711
711
  // Arbitrary value: 10px
712
712
  if (m < .001) return "transparent";
713
- Z(d, (function(t) {
713
+ X(d, (function(t) {
714
714
  t.offset = (t.coord - v) / m;
715
715
  })), d.push({
716
716
  // NOTE: inRangeStopLen may still be 0 if stoplen is zero.
@@ -720,7 +720,7 @@ function turnPointsIntoStep(t, i, e, r, n) {
720
720
  offset: c ? d[0].offset : .5,
721
721
  color: f[0] || "transparent"
722
722
  });
723
- var y = new $(0, 0, 0, 0, d, !0);
723
+ var y = new Z(0, 0, 0, 0, d, !0);
724
724
  return y[n] = v, y[n + "2"] = p, y;
725
725
  }
726
726
  }
@@ -739,7 +739,7 @@ function getIsIgnoreFunc(t, i, e) {
739
739
  isNaN(r) && (r = 0);
740
740
  for (// 0/0 is NaN.
741
741
  // Sampling some points, max 5.
742
- var n = i.count(), a = Math.max(1, Math.round(n / 5)), o = 0; o < n; o += a) if (1.5 * Ot.getSymbolSize(i, o)[t.isHorizontal() ? 1 : 0] > r) return !1;
742
+ var n = i.count(), a = Math.max(1, Math.round(n / 5)), o = 0; o < n; o += a) if (1.5 * Ft.getSymbolSize(i, o)[t.isHorizontal() ? 1 : 0] > r) return !1;
743
743
  return !0;
744
744
  }(a, i)))
745
745
  // Note that category label interval strategy might bring some weird effect
@@ -748,7 +748,7 @@ function getIsIgnoreFunc(t, i, e) {
748
748
  {
749
749
  // Otherwise follow the label interval strategy on category axis.
750
750
  var o = i.mapDimension(a.dim), s = {};
751
- return Z(a.getViewLabels(), (function(t) {
751
+ return X(a.getViewLabels(), (function(t) {
752
752
  var i = a.scale.getRawOrdinalNumber(t.tickValue);
753
753
  s[i] = 1;
754
754
  })), function(t) {
@@ -764,17 +764,17 @@ function getPointAtIndex(t, i) {
764
764
 
765
765
  function anyStateShowEndLabel(t) {
766
766
  if (t.get([ "endLabel", "show" ])) return !0;
767
- for (var i = 0; i < X.length; i++) if (t.get([ X[i], "endLabel", "show" ])) return !0;
767
+ for (var i = 0; i < $.length; i++) if (t.get([ $[i], "endLabel", "show" ])) return !0;
768
768
  return !1;
769
769
  }
770
770
 
771
771
  function createLineClipPath(t, i, e, r) {
772
- if (Lt(i, "cartesian2d")) {
772
+ if (Ct(i, "cartesian2d")) {
773
773
  var n = r.getModel("endLabel"), a = n.get("valueAnimation"), o = r.getData(), s = {
774
774
  lastFrameIndex: 0
775
775
  }, u = anyStateShowEndLabel(r) ? function(e, r) {
776
776
  t._endLabelOnDuring(e, r, o, s, a, n, i);
777
- } : null, l = i.getBaseAxis().isHorizontal(), h = Nt(i, e, r, (function() {
777
+ } : null, l = i.getBaseAxis().isHorizontal(), h = Tt(i, e, r, (function() {
778
778
  var i = t._endLabel;
779
779
  i && e && null != s.originalX && i.attr({
780
780
  x: s.originalX,
@@ -789,15 +789,15 @@ function createLineClipPath(t, i, e, r) {
789
789
  // Set to the final frame. To make sure label layout is right.
790
790
  return u && u(1, h), h;
791
791
  }
792
- return Tt(i, e, r);
792
+ return At(i, e, r);
793
793
  }
794
794
 
795
- var qt = /** @class */ function(t) {
795
+ var jt = /** @class */ function(t) {
796
796
  function LineView() {
797
797
  return null !== t && t.apply(this, arguments) || this;
798
798
  }
799
799
  return s(LineView, t), LineView.prototype.init = function() {
800
- var t = new P, i = new Et;
800
+ var t = new P, i = new Gt;
801
801
  this.group.add(i.group), this._symbolDraw = i, this._lineGroup = t, this._changePolyState = z(this._changePolyState, this);
802
802
  }, LineView.prototype.render = function(t, i, e) {
803
803
  var r = t.coordinateSystem, n = this.group, a = t.getData(), o = t.getModel("lineStyle"), s = t.getModel("areaStyle"), u = a.getLayout("points") || [], l = "polar" === r.type, h = this._coordSys, f = this._symbolDraw, d = this._polyline, v = this._polygon, p = this._lineGroup, m = !i.ssr && t.get("animation"), y = !s.isEmpty(), b = s.get("origin"), w = prepareDataCoordInfo(r, a, b), M = y && function(t, i, e) {
@@ -820,7 +820,7 @@ var qt = /** @class */ function(t) {
820
820
  // See #7913 and `test/dataZoom-clip.html`.
821
821
  null != (L = r.getArea()).width ? (L.x -= .1, L.y -= .1, L.width += .2, L.height += .2) : L.r0 && (L.r0 -= .5,
822
822
  L.r += .5)), this._clipShapeForSymbol = L;
823
- var T = getVisualGradient(a, r, e) || a.getVisual("style")[a.getVisual("drawType")];
823
+ var k = getVisualGradient(a, r, e) || a.getVisual("style")[a.getVisual("drawType")];
824
824
  // Initialization animation or coordinate system changed
825
825
  if (d && h.type === r.type && N === this._step) {
826
826
  y && !v ?
@@ -829,12 +829,12 @@ var qt = /** @class */ function(t) {
829
829
  // If areaStyle is removed
830
830
  p.remove(v), v = this._polygon = null),
831
831
  // NOTE: Must update _endLabel before setClipPath.
832
- l || this._initOrUpdateEndLabel(t, r, F(T));
832
+ l || this._initOrUpdateEndLabel(t, r, F(k));
833
833
  // Update clipPath
834
- var k = p.getClipPath();
835
- if (k) {
834
+ var T = p.getClipPath();
835
+ if (T) {
836
836
  var A = createLineClipPath(this, r, !1, t);
837
- c(k, {
837
+ c(T, {
838
838
  shape: A.shape
839
839
  }, t);
840
840
  } else p.setClipPath(createLineClipPath(this, r, !0, t));
@@ -872,13 +872,13 @@ var qt = /** @class */ function(t) {
872
872
  u = turnPointsIntoStep(u, null, r, N, D)), d = this._newPolyline(u), y ? v = this._newPolygon(u, M) : v && (p.remove(v),
873
873
  v = this._polygon = null),
874
874
  // NOTE: Must update _endLabel before setClipPath.
875
- l || this._initOrUpdateEndLabel(t, r, F(T)), p.setClipPath(createLineClipPath(this, r, !0, t));
875
+ l || this._initOrUpdateEndLabel(t, r, F(k)), p.setClipPath(createLineClipPath(this, r, !0, t));
876
876
  var O = t.getModel("emphasis"), E = O.get("focus"), z = O.get("blurScope"), U = O.get("disabled");
877
877
  (d.useStyle(G(
878
878
  // Use color in lineStyle first
879
879
  o.getLineStyle(), {
880
880
  fill: "none",
881
- stroke: T,
881
+ stroke: k,
882
882
  lineJoin: "bevel"
883
883
  })), B(d, t, "lineStyle"), d.style.lineWidth > 0 && "bolder" === t.get([ "emphasis", "lineStyle", "width" ])) && (d.getState("emphasis").style.lineWidth = +d.style.lineWidth + 1);
884
884
  // Needs seriesIndex for focus
@@ -889,26 +889,26 @@ var qt = /** @class */ function(t) {
889
889
  smoothMonotone: q,
890
890
  connectNulls: D
891
891
  }), v) {
892
- var R = a.getCalculationInfo("stackedOnSeries"), j = 0;
892
+ var K = a.getCalculationInfo("stackedOnSeries"), R = 0;
893
893
  v.useStyle(G(s.getAreaStyle(), {
894
- fill: T,
894
+ fill: k,
895
895
  opacity: .7,
896
896
  lineJoin: "bevel",
897
897
  decal: a.getVisual("style").decal
898
- })), R && (j = getSmooth(R.get("smooth"))), v.setShape({
898
+ })), K && (R = getSmooth(K.get("smooth"))), v.setShape({
899
899
  smooth: V,
900
- stackedOnSmooth: j,
900
+ stackedOnSmooth: R,
901
901
  smoothMonotone: q,
902
902
  connectNulls: D
903
903
  }), B(v, t, "areaStyle"),
904
904
  // Needs seriesIndex for focus
905
905
  g(v).seriesIndex = t.seriesIndex, S(v, E, z, U);
906
906
  }
907
- var K = this._changePolyState;
907
+ var j = this._changePolyState;
908
908
  a.eachItemGraphicEl((function(t) {
909
909
  // Switch polyline / polygon state if element changed its state.
910
- t && (t.onHoverStateChange = K);
911
- })), this._polyline.onHoverStateChange = K, this._data = a,
910
+ t && (t.onHoverStateChange = j);
911
+ })), this._polyline.onHoverStateChange = j, this._data = a,
912
912
  // Save the coordinate system for transition animation when data changed
913
913
  this._coordSys = r, this._stackedOnPoints = M, this._points = u, this._step = N,
914
914
  this._valueOrigin = b, t.get("triggerLineEvent") && (this.packEventData(t, d), v && this.packEventData(t, v));
@@ -934,7 +934,7 @@ var qt = /** @class */ function(t) {
934
934
  // fix #11360: shouldn't draw symbol outside clipShapeForSymbol
935
935
  if (this._clipShapeForSymbol && !this._clipShapeForSymbol.contain(u, l)) return;
936
936
  var h = t.get("zlevel") || 0, f = t.get("z") || 0;
937
- (s = new Ot(n, a)).x = u, s.y = l, s.setZ(h, f);
937
+ (s = new Ft(n, a)).x = u, s.y = l, s.setZ(h, f);
938
938
  // ensure label text of the temporary symbol is in front of line and area polygon
939
939
  var d = s.getSymbolPath().getTextContent();
940
940
  d && (d.zlevel = h, d.z = f, d.z2 = this._polyline.z2 + 1), s.__temp = !0, n.setItemGraphicEl(a, s),
@@ -961,7 +961,7 @@ var qt = /** @class */ function(t) {
961
961
  }, LineView.prototype._newPolyline = function(t) {
962
962
  var i = this._polyline;
963
963
  // Remove previous created polyline
964
- return i && this._lineGroup.remove(i), i = new Bt({
964
+ return i && this._lineGroup.remove(i), i = new qt({
965
965
  shape: {
966
966
  points: t
967
967
  },
@@ -971,7 +971,7 @@ var qt = /** @class */ function(t) {
971
971
  }, LineView.prototype._newPolygon = function(t, i) {
972
972
  var e = this._polygon;
973
973
  // Remove previous created polygon
974
- return e && this._lineGroup.remove(e), e = new Vt({
974
+ return e && this._lineGroup.remove(e), e = new Rt({
975
975
  shape: {
976
976
  points: t,
977
977
  stackedOnPoints: i
@@ -983,8 +983,8 @@ var qt = /** @class */ function(t) {
983
983
  "cartesian2d" === i.type ? (r = a.isHorizontal(), n = !1) : "polar" === i.type && (r = "angle" === a.dim,
984
984
  n = !0);
985
985
  var s = t.hostModel, u = s.get("animationDuration");
986
- R(u) && (u = u(null));
987
- var l = s.get("animationDelay") || 0, h = R(l) ? l(null) : l;
986
+ K(u) && (u = u(null));
987
+ var l = s.get("animationDelay") || 0, h = K(l) ? l(null) : l;
988
988
  t.eachItemGraphicEl((function(t, a) {
989
989
  var s = t;
990
990
  if (s) {
@@ -999,7 +999,7 @@ var qt = /** @class */ function(t) {
999
999
  }
1000
1000
  var b = c === d ? 0 : (v - d) / (c - d);
1001
1001
  o && (b = 1 - b);
1002
- var S = R(l) ? l(a) : u * b + h, g = s.getSymbolPath(), w = g.getTextContent();
1002
+ var S = K(l) ? l(a) : u * b + h, g = s.getSymbolPath(), w = g.getTextContent();
1003
1003
  s.attr({
1004
1004
  scaleX: 0,
1005
1005
  scaleY: 0
@@ -1026,7 +1026,7 @@ var qt = /** @class */ function(t) {
1026
1026
  var n = t.getData(), a = this._polyline, o = n.getLayout("points");
1027
1027
  if (!o) return a.removeTextContent(), void (this._endLabel = null);
1028
1028
  var s = this._endLabel;
1029
- s || ((s = this._endLabel = new j({
1029
+ s || ((s = this._endLabel = new R({
1030
1030
  z2: 200
1031
1031
  })).ignoreClip = !0, a.setTextContent(this._endLabel), a.disableLabelAnimation = !0);
1032
1032
  // Find last non-NaN data to display data
@@ -1039,7 +1039,7 @@ var qt = /** @class */ function(t) {
1039
1039
  labelFetcher: t,
1040
1040
  labelDataIndex: u,
1041
1041
  defaultText: function(t, i, e) {
1042
- return null != e ? xt(n, e) : Dt(n, t);
1042
+ return null != e ? kt(n, e) : Lt(n, t);
1043
1043
  },
1044
1044
  enableTextSetter: !0
1045
1045
  }, function(t, i) {
@@ -1086,15 +1086,15 @@ var qt = /** @class */ function(t) {
1086
1086
  y: x[1] + g
1087
1087
  });
1088
1088
  var L = h.getRawValue(P[0]), N = h.getRawValue(P[1]);
1089
- n && (I = K(e, d, L, N, M.t));
1089
+ n && (I = j(e, d, L, N, M.t));
1090
1090
  }
1091
1091
  r.lastFrameIndex = P[0];
1092
1092
  } else {
1093
1093
  // If diff <= 0, which is the range is not found(Include NaN)
1094
1094
  // Choose the first point or last point.
1095
- var T = 1 === t || r.lastFrameIndex > 0 ? P[0] : 0;
1096
- x = getPointAtIndex(l, T);
1097
- n && (I = h.getRawValue(T)), s.attr({
1095
+ var k = 1 === t || r.lastFrameIndex > 0 ? P[0] : 0;
1096
+ x = getPointAtIndex(l, k);
1097
+ n && (I = h.getRawValue(k)), s.attr({
1098
1098
  x: x[0] + S,
1099
1099
  y: x[1] + g
1100
1100
  });
@@ -1150,10 +1150,10 @@ var qt = /** @class */ function(t) {
1150
1150
  break;
1151
1151
 
1152
1152
  case "+":
1153
- var L = S.idx, N = p.dataDimsForPoint, T = n.dataToPoint([ i.get(N[0], L), i.get(N[1], L) ]);
1154
- M = 2 * L, u.push(T[0], T[1]), l.push(y[M], y[M + 1]);
1155
- var k = getStackedOnPoint(p, n, i, L);
1156
- h.push(k[0], k[1]), f.push(r[M], r[M + 1]), v.push(i.getRawIndex(L));
1153
+ var L = S.idx, N = p.dataDimsForPoint, k = n.dataToPoint([ i.get(N[0], L), i.get(N[1], L) ]);
1154
+ M = 2 * L, u.push(k[0], k[1]), l.push(y[M], y[M + 1]);
1155
+ var T = getStackedOnPoint(p, n, i, L);
1156
+ h.push(T[0], T[1]), f.push(r[M], r[M + 1]), v.push(i.getRawIndex(L));
1157
1157
  break;
1158
1158
 
1159
1159
  case "-":
@@ -1242,7 +1242,7 @@ var qt = /** @class */ function(t) {
1242
1242
  }, LineView.type = "line", LineView;
1243
1243
  }(V);
1244
1244
 
1245
- var Rt = k.CMD;
1245
+ var _t = T.CMD;
1246
1246
 
1247
1247
  function aroundEqual(t, i) {
1248
1248
  return Math.abs(t - i) < 1e-5;
@@ -1262,26 +1262,26 @@ function pathToBezierCurves(t) {
1262
1262
  }
1263
1263
  for (var c = 0; c < s; ) {
1264
1264
  var v = o[c++], p = 1 === c;
1265
- switch (p && (f = l = o[c], d = h = o[c + 1], v !== Rt.L && v !== Rt.C && v !== Rt.Q || (i = [ f, d ])),
1265
+ switch (p && (f = l = o[c], d = h = o[c + 1], v !== _t.L && v !== _t.C && v !== _t.Q || (i = [ f, d ])),
1266
1266
  v) {
1267
- case Rt.M:
1267
+ case _t.M:
1268
1268
  l = f = o[c++], h = d = o[c++], createNewSubpath(f, d);
1269
1269
  break;
1270
1270
 
1271
- case Rt.L:
1271
+ case _t.L:
1272
1272
  addLine(l, h, e = o[c++], r = o[c++]), l = e, h = r;
1273
1273
  break;
1274
1274
 
1275
- case Rt.C:
1275
+ case _t.C:
1276
1276
  i.push(o[c++], o[c++], o[c++], o[c++], l = o[c++], h = o[c++]);
1277
1277
  break;
1278
1278
 
1279
- case Rt.Q:
1279
+ case _t.Q:
1280
1280
  e = o[c++], r = o[c++], n = o[c++], a = o[c++], i.push(l + 2 / 3 * (e - l), h + 2 / 3 * (r - h), n + 2 / 3 * (e - n), a + 2 / 3 * (r - a), n, a),
1281
1281
  l = n, h = a;
1282
1282
  break;
1283
1283
 
1284
- case Rt.A:
1284
+ case _t.A:
1285
1285
  var m = o[c++], y = o[c++], b = o[c++], S = o[c++], g = o[c++], w = o[c++] + g;
1286
1286
  c += 1;
1287
1287
  var M = !o[c++];
@@ -1292,12 +1292,12 @@ function pathToBezierCurves(t) {
1292
1292
  }
1293
1293
  break;
1294
1294
 
1295
- case Rt.R:
1295
+ case _t.R:
1296
1296
  f = l = o[c++], d = h = o[c++], e = f + o[c++], r = d + o[c++], createNewSubpath(e, d),
1297
1297
  addLine(e, d, e, r), addLine(e, r, f, r), addLine(f, r, f, d), addLine(f, d, e, d);
1298
1298
  break;
1299
1299
 
1300
- case Rt.Z:
1300
+ case _t.Z:
1301
1301
  i && addLine(l, h, f, d), l = f, h = d;
1302
1302
  }
1303
1303
  }
@@ -1363,7 +1363,7 @@ function addToPoly(t, i) {
1363
1363
 
1364
1364
  function binaryDividePolygon(t) {
1365
1365
  var i = t.points, e = [], r = [];
1366
- Q(i, e, r);
1366
+ W(i, e, r);
1367
1367
  var n = new rt(e[0], e[1], r[0] - e[0], r[1] - e[1]), a = n.width, o = n.height, s = n.x, u = n.y, l = new nt, h = new nt;
1368
1368
  return a > o ? (l.x = h.x = s + a / 2, l.y = u, h.y = u + o) : (l.y = h.y = u + o / 2,
1369
1369
  l.x = s, h.x = s + a), function(t, i, e) {
@@ -1461,7 +1461,7 @@ function split(t, i) {
1461
1461
  }); else {
1462
1462
  var h = 0, f = L(s, (function(t) {
1463
1463
  var i = [], e = [];
1464
- Q(t, i, e);
1464
+ W(t, i, e);
1465
1465
  var r = (e[1] - i[1]) * (e[0] - i[0]);
1466
1466
  return h += r, {
1467
1467
  poly: t,
@@ -1484,7 +1484,7 @@ function split(t, i) {
1484
1484
  e = tt;
1485
1485
  }
1486
1486
  if (!e) return function(t, i) {
1487
- for (var e = [], r = 0; r < i; r++) e.push(W(t));
1487
+ for (var e = [], r = 0; r < i; r++) e.push(Q(t));
1488
1488
  return e;
1489
1489
  }(t, i);
1490
1490
  var p, m, y = [];
@@ -1547,10 +1547,10 @@ function isCombineMorphing(t) {
1547
1547
  return t.__isCombineMorphing;
1548
1548
  }
1549
1549
 
1550
- var jt = "__mOriginal_";
1550
+ var Xt = "__mOriginal_";
1551
1551
 
1552
1552
  function saveAndModifyMethod(t, i, e) {
1553
- var r = jt + i, n = t[r] || t[i];
1553
+ var r = Xt + i, n = t[r] || t[i];
1554
1554
  t[r] || (t[r] = t[i]);
1555
1555
  var a = e.replace, o = e.after, s = e.before;
1556
1556
  t[i] = function() {
@@ -1561,7 +1561,7 @@ function saveAndModifyMethod(t, i, e) {
1561
1561
  }
1562
1562
 
1563
1563
  function restoreMethod(t, i) {
1564
- var e = jt + i;
1564
+ var e = Xt + i;
1565
1565
  t[e] && (t[i] = t[e], t[e] = null);
1566
1566
  }
1567
1567
 
@@ -1600,9 +1600,9 @@ function prepareMorphPath(t, i) {
1600
1600
  for (var w = r / e, M = -r / 2; M <= r / 2; M += w) {
1601
1601
  var P = Math.sin(M), D = Math.cos(M), I = 0;
1602
1602
  for (S = 0; S < s.length; S += 2) {
1603
- var x = f[S], L = f[S + 1], N = u[S] - h[0], T = u[S + 1] - h[1], C = N * D - T * P, k = N * P + T * D;
1604
- p[S] = C, p[S + 1] = k;
1605
- var A = C - x, O = k - L;
1603
+ var x = f[S], L = f[S + 1], N = u[S] - h[0], k = u[S + 1] - h[1], C = N * D - k * P, T = N * P + k * D;
1604
+ p[S] = C, p[S + 1] = T;
1605
+ var A = C - x, O = T - L;
1606
1606
  I += A * A + O * O;
1607
1607
  }
1608
1608
  if (I < v) {
@@ -1720,12 +1720,12 @@ function prepareMorphBatches(t, i) {
1720
1720
  return e;
1721
1721
  }
1722
1722
 
1723
- var Kt = {
1723
+ var Zt = {
1724
1724
  clone: function(t) {
1725
1725
  for (var i = [], e = 1 - Math.pow(1 - t.path.style.opacity, 1 / t.count), r = 0
1726
1726
  // Fitting the alpha
1727
1727
  ; r < t.count; r++) {
1728
- var n = W(t.path);
1728
+ var n = Q(t.path);
1729
1729
  n.setStyle("opacity", e), i.push(n);
1730
1730
  }
1731
1731
  return i;
@@ -1756,7 +1756,7 @@ function applyMorphAnimation(t, i, e, r, n, a) {
1756
1756
  function morphOneBatch(t, i, r, n, o) {
1757
1757
  var s = t.many, u = t.one;
1758
1758
  if (1 !== s.length || o) for (var f = G({
1759
- dividePath: Kt[e],
1759
+ dividePath: Zt[e],
1760
1760
  individualDelay: l && function(t, i, e, a) {
1761
1761
  return l(t + r, n);
1762
1762
  }
@@ -1850,7 +1850,7 @@ function applyMorphAnimation(t, i, e, r, n, a) {
1850
1850
  }
1851
1851
  }(t.childrenRef());
1852
1852
  var o = n.length;
1853
- if (o < r) for (var s = 0, u = o; u < r; u++) n.push(W(n[s++ % o]));
1853
+ if (o < r) for (var s = 0, u = o; u < r; u++) n.push(Q(n[s++ % o]));
1854
1854
  n.length = r;
1855
1855
  } else {
1856
1856
  n = a({
@@ -1911,7 +1911,7 @@ function getPathList(t) {
1911
1911
  })), r;
1912
1912
  }
1913
1913
 
1914
- var _t = lt();
1914
+ var $t = lt();
1915
1915
 
1916
1916
  function getGroupId(t, i, e, r) {
1917
1917
  // try to get groupId from encode
@@ -1943,7 +1943,7 @@ function getGroupId(t, i, e, r) {
1943
1943
  // flatten all data items from different serieses into one arrary
1944
1944
  function flattenDataDiffItems(t) {
1945
1945
  var i = [];
1946
- return Z(t, (function(t) {
1946
+ return X(t, (function(t) {
1947
1947
  var e = t.data, r = t.dataGroupId;
1948
1948
  if (!(e.count() > 1e4)) for (var n = e.getIndices(), a = 0; a < n.length; a++) i.push({
1949
1949
  data: e,
@@ -2106,7 +2106,7 @@ function transitionBetween(t, i, e) {
2106
2106
  }));
2107
2107
  u && (stopAnimation(u), l.length ? (
2108
2108
  // If old element is doing leaving animation. stop it and remove it immediately.
2109
- Z(l, (function(t) {
2109
+ X(l, (function(t) {
2110
2110
  stopAnimation(t), removeEl(t);
2111
2111
  })), a = !0, applyMorphAnimation(getPathList(l), getPathList(u), e.divide, s, t, updateMorphingPathProps)) : fadeInElement(u, s, e.dataIndex));
2112
2112
  // else keep oldEl leaving animation.
@@ -2119,13 +2119,13 @@ function transitionBetween(t, i, e) {
2119
2119
  })), (function(t) {
2120
2120
  return t && t !== o;
2121
2121
  })), u = n[t[0]].data.hostModel;
2122
- s.length && (Z(s, (function(t) {
2122
+ s.length && (X(s, (function(t) {
2123
2123
  return stopAnimation(t);
2124
2124
  })), o ? (stopAnimation(o),
2125
2125
  // If old element is doing leaving animation. stop it and remove it immediately.
2126
2126
  removeEl(o), a = !0, applyMorphAnimation(getPathList(o), getPathList(s), e.divide,
2127
2127
  // Use divide on old.
2128
- u, t[0], updateMorphingPathProps)) : Z(s, (function(i) {
2128
+ u, t[0], updateMorphingPathProps)) : X(s, (function(i) {
2129
2129
  return fadeInElement(i, u, t[0]);
2130
2130
  })));
2131
2131
  // else keep oldEl leaving animation.
@@ -2141,7 +2141,7 @@ function transitionBetween(t, i, e) {
2141
2141
  // Use the original index
2142
2142
  updateOneToOne(t[e], i[r]);
2143
2143
  })).execute();
2144
- })).execute(), a && Z(i, (function(t) {
2144
+ })).execute(), a && X(i, (function(t) {
2145
2145
  var i = t.data.hostModel, r = i && e.getViewOfSeriesModel(i), n = st("update", i, 0);
2146
2146
  // use 0 index.
2147
2147
  r && i.isAnimationEnabled() && n && n.duration > 0 && r.group.traverse((function(t) {
@@ -2176,8 +2176,8 @@ function querySeries(t, i) {
2176
2176
  }
2177
2177
  }
2178
2178
 
2179
- yt([ Mt, function(t) {
2180
- t.registerChartView(qt), t.registerSeriesModel(zt), t.registerLayout({
2179
+ yt([ Dt, function(t) {
2180
+ t.registerChartView(jt), t.registerSeriesModel(Bt), t.registerLayout({
2181
2181
  seriesType: "line",
2182
2182
  plan: H(),
2183
2183
  reset: function(t) {
@@ -2218,26 +2218,26 @@ yt([ Mt, function(t) {
2218
2218
  }
2219
2219
  }),
2220
2220
  // Down sample after filter
2221
- t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC, Ct("line"));
2222
- }, Pt, function(t) {
2221
+ t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC, Ot("line"));
2222
+ }, It, function(t) {
2223
2223
  t.registerUpdateLifecycle("series:beforeupdate", (function(t, i, e) {
2224
- Z(ht(e.seriesTransition), (function(t) {
2225
- Z(ht(t.to), (function(t) {
2224
+ X(ht(e.seriesTransition), (function(t) {
2225
+ X(ht(t.to), (function(t) {
2226
2226
  for (var i = e.updatedSeries, r = 0; r < i.length; r++) (null != t.seriesIndex && t.seriesIndex === i[r].seriesIndex || null != t.seriesId && t.seriesId === i[r].id) && (i[r][ft] = !0);
2227
2227
  }));
2228
2228
  }));
2229
2229
  })), t.registerUpdateLifecycle("series:transition", (function(t, i, e) {
2230
2230
  // TODO api provide an namespace that can save stuff per instance
2231
- var r = _t(i);
2231
+ var r = $t(i);
2232
2232
  // TODO multiple to multiple series.
2233
2233
  if (r.oldSeries && e.updatedSeries && e.optionChanged) {
2234
2234
  // TODO transitionOpt was used in an old implementation and can be removed now
2235
2235
  // Use give transition config if its' give;
2236
2236
  var n = e.seriesTransition;
2237
- if (n) Z(ht(n), (function(t) {
2237
+ if (n) X(ht(n), (function(t) {
2238
2238
  !function(t, i, e, r) {
2239
2239
  var n = [], a = [];
2240
- Z(ht(t.from), (function(t) {
2240
+ X(ht(t.from), (function(t) {
2241
2241
  var e = querySeries(i.oldSeries, t);
2242
2242
  e >= 0 && n.push({
2243
2243
  dataGroupId: i.oldDataGroupIds[e],
@@ -2246,7 +2246,7 @@ yt([ Mt, function(t) {
2246
2246
  divide: getDivideShapeFromData(i.oldData[e]),
2247
2247
  groupIdDim: t.dimension
2248
2248
  });
2249
- })), Z(ht(t.to), (function(t) {
2249
+ })), X(ht(t.to), (function(t) {
2250
2250
  var r = querySeries(e.updatedSeries, t);
2251
2251
  if (r >= 0) {
2252
2252
  var n = e.updatedSeries[r].getData();
@@ -2263,21 +2263,21 @@ yt([ Mt, function(t) {
2263
2263
  // Else guess from series based on transition series key.
2264
2264
  var a = function(t, i) {
2265
2265
  var e = dt(), r = dt(), n = dt();
2266
- return Z(t.oldSeries, (function(i, e) {
2266
+ return X(t.oldSeries, (function(i, e) {
2267
2267
  var a = t.oldDataGroupIds[e], o = t.oldData[e], s = getSeriesTransitionKey(i), u = convertArraySeriesKeyToString(s);
2268
2268
  r.set(u, {
2269
2269
  dataGroupId: a,
2270
2270
  data: o
2271
2271
  }), ut(s) &&
2272
2272
  // Same key can't in different array seriesKey.
2273
- Z(s, (function(t) {
2273
+ X(s, (function(t) {
2274
2274
  n.set(t, {
2275
2275
  key: u,
2276
2276
  dataGroupId: a,
2277
2277
  data: o
2278
2278
  });
2279
2279
  }));
2280
- })), Z(i.updatedSeries, (function(t) {
2280
+ })), X(i.updatedSeries, (function(t) {
2281
2281
  if (t.isUniversalTransitionEnabled() && t.isAnimationEnabled()) {
2282
2282
  var i = t.get("dataGroupId"), a = t.getData(), o = getSeriesTransitionKey(t), s = convertArraySeriesKeyToString(o), u = r.get(s);
2283
2283
  // string transition key is the best match.
@@ -2299,7 +2299,7 @@ yt([ Mt, function(t) {
2299
2299
  // e.g. 'female', 'male' -> ['female', 'male']
2300
2300
  if (ut(o)) {
2301
2301
  var l = [];
2302
- Z(o, (function(t) {
2302
+ X(o, (function(t) {
2303
2303
  var i = r.get(t);
2304
2304
  i.data && l.push({
2305
2305
  dataGroupId: i.dataGroupId,
@@ -2337,13 +2337,13 @@ yt([ Mt, function(t) {
2337
2337
  }
2338
2338
  })), e;
2339
2339
  }(r, e);
2340
- Z(a.keys(), (function(t) {
2340
+ X(a.keys(), (function(t) {
2341
2341
  var e = a.get(t);
2342
2342
  transitionBetween(e.oldSeries, e.newSeries, i);
2343
2343
  }));
2344
2344
  }
2345
2345
  // Reset
2346
- Z(e.updatedSeries, (function(t) {
2346
+ X(e.updatedSeries, (function(t) {
2347
2347
  // Reset;
2348
2348
  t[ft] && (t[ft] = !1);
2349
2349
  }));
@@ -2356,11 +2356,24 @@ yt([ Mt, function(t) {
2356
2356
  f.count() < 1e4 && (s.push(o[h]), u.push(o[h].get("dataGroupId")), l.push(f));
2357
2357
  }
2358
2358
  }));
2359
- }, kt, At ]);
2359
+ }, Et, zt ]);
2360
2360
 
2361
- const Zt = class {
2361
+ const Yt = class {
2362
2362
  constructor(e) {
2363
2363
  t(this, e), this.change = i(this, "change", 7), this.tctChange = i(this, "tctChange", 7),
2364
+ this.keyboard = bt({
2365
+ getChart: () => this.chart,
2366
+ getData: () => this.data,
2367
+ onChange: t => {
2368
+ this.keyboardIndex = t, null !== t && xt(this, [ "change", "tctChange" ], {
2369
+ index: t,
2370
+ data: this.data[t]
2371
+ });
2372
+ }
2373
+ }),
2374
+ // #endregion
2375
+ // #region State Properties
2376
+ this.keyboardIndex = null,
2364
2377
  /** An array of objects that contain the data to be displayed. */
2365
2378
  this.data = [],
2366
2379
  /** Controls visibility of labels on the name axis. */
@@ -2390,6 +2403,7 @@ const Zt = class {
2390
2403
  // #endregion
2391
2404
  // #region Component Lifecycle Events
2392
2405
  disconnectedCallback() {
2406
+ this.keyboard.onBlur(),
2393
2407
  // CRITICAL: Dispose eCharts instance to prevent memory leaks
2394
2408
  // eCharts holds references to canvas, event listeners, and animation frames
2395
2409
  this.chart && (this.chart.dispose(), this.chart = null),
@@ -2401,11 +2415,17 @@ const Zt = class {
2401
2415
  this.chartContainer = null, this.resizeEventListener = null;
2402
2416
  }
2403
2417
  componentDidLoad() {
2404
- const t = bt(this.chartContainer);
2418
+ const t = St(this.chartContainer);
2405
2419
  this.chart = t, this.resizeEventListener = () => this.resizeChart(), window.addEventListener("resize", this.resizeEventListener),
2406
2420
  this.cacheComputedStyles(), this.updateChart(t), this.setupChartEvents(t), n(this.hostElement);
2407
2421
  }
2408
2422
  // #endregion
2423
+ // #region Listeners
2424
+ delegateFocus(t) {
2425
+ var i;
2426
+ a(t, this.hostElement) && this.data.length && (null === (i = this.chartContainer) || void 0 === i || i.focus());
2427
+ }
2428
+ // #endregion
2409
2429
  // #region Public Methods API
2410
2430
  /**
2411
2431
  * A method to fire change event on hover on a point.
@@ -2413,7 +2433,7 @@ const Zt = class {
2413
2433
  * @testOnly
2414
2434
  */
2415
2435
  async hoverDataPoint(t) {
2416
- o(this, [ "change", "tctChange" ], {
2436
+ xt(this, [ "change", "tctChange" ], {
2417
2437
  index: t,
2418
2438
  data: this.data[t]
2419
2439
  });
@@ -2421,10 +2441,20 @@ const Zt = class {
2421
2441
  // #endregion
2422
2442
  // #region Watchers
2423
2443
  propsUpdates() {
2424
- this.chart && this.updateChart(this.chart);
2444
+ this.chart && (this.updateChart(this.chart), this.keyboard.refresh());
2425
2445
  }
2426
2446
  // #endregion
2427
2447
  // #region Local Methods
2448
+ get keyboardDescription() {
2449
+ var t;
2450
+ const i = this.data[this.keyboardIndex];
2451
+ if (null === this.keyboardIndex || !i) return "";
2452
+ const e = (null === (t = this.formatModifier) || void 0 === t ? void 0 : t.includes("dec")) ? this.formatModifier.replace("dec", "") : 0;
2453
+ return gt(i.name, wt(i.value || 0, {
2454
+ type: this.format,
2455
+ decimals: e
2456
+ }), this.keyboardIndex, this.data.length);
2457
+ }
2428
2458
  cacheComputedStyles() {
2429
2459
  this.chartContainerStyles = getComputedStyle(this.chartContainer), this.hostElementStyles = getComputedStyle(this.hostElement);
2430
2460
  }
@@ -2446,8 +2476,8 @@ const Zt = class {
2446
2476
  } : this.getColor(this.areaColor);
2447
2477
  }
2448
2478
  getColor(t) {
2449
- const i = St("var(--t-primary)", this.chartContainerStyles, this.hostElementStyles), e = St(t, this.chartContainerStyles, this.hostElementStyles);
2450
- return e || (gt(t) ? t : i);
2479
+ const i = Mt("var(--t-primary)", this.chartContainerStyles, this.hostElementStyles), e = Mt(t, this.chartContainerStyles, this.hostElementStyles);
2480
+ return e || (Pt(t) ? t : i);
2451
2481
  }
2452
2482
  resizeChart() {
2453
2483
  this.chart.resize();
@@ -2460,13 +2490,13 @@ const Zt = class {
2460
2490
  }));
2461
2491
  }
2462
2492
  updateChart(t) {
2463
- var i;
2464
- const e = (null === (i = this.formatModifier) || void 0 === i ? void 0 : i.includes("dec")) ? this.formatModifier.replace("dec", "") : 0, r = {
2493
+ var i, e;
2494
+ const r = (null === (i = this.formatModifier) || void 0 === i ? void 0 : i.includes("dec")) ? this.formatModifier.replace("dec", "") : 0, n = {
2465
2495
  type: "value",
2466
2496
  axisLabel: {
2467
2497
  formatter: t => wt(t, {
2468
2498
  type: this.format,
2469
- decimals: e
2499
+ decimals: r
2470
2500
  }),
2471
2501
  rotate: this.offsetDataValues ? 45 : 0,
2472
2502
  margin: this.offsetDataValues ? 15 : 8,
@@ -2477,10 +2507,10 @@ const Zt = class {
2477
2507
  },
2478
2508
  min: this.yMin,
2479
2509
  max: this.yMax
2480
- }, n = {
2510
+ }, a = {
2481
2511
  type: "category",
2482
2512
  boundaryGap: !1,
2483
- data: this.data.map((t => a(t.name) || "")),
2513
+ data: this.data.map((t => o(t.name) || "")),
2484
2514
  axisLabel: {
2485
2515
  rotate: this.offsetDataNames ? 45 : 0,
2486
2516
  margin: this.offsetDataNames ? 15 : 8,
@@ -2502,7 +2532,7 @@ const Zt = class {
2502
2532
  show: !1,
2503
2533
  formatter: t => {
2504
2534
  const i = t.seriesData[0].dataIndex;
2505
- o(this, [ "change", "tctChange" ], {
2535
+ xt(this, [ "change", "tctChange" ], {
2506
2536
  index: i,
2507
2537
  data: this.data[i]
2508
2538
  });
@@ -2521,12 +2551,12 @@ const Zt = class {
2521
2551
  min: this.xMin,
2522
2552
  max: this.xMax
2523
2553
  };
2524
- return t.setOption({
2554
+ t.setOption({
2525
2555
  aria: {
2526
2556
  enabled: !0
2527
2557
  },
2528
2558
  title: {
2529
- text: a(this.chartName),
2559
+ text: o(this.chartName),
2530
2560
  show: this.showChartName,
2531
2561
  left: this.alignChartName,
2532
2562
  subtext: this.chartSubTitle
@@ -2535,8 +2565,8 @@ const Zt = class {
2535
2565
  containLabel: !0,
2536
2566
  ...this.gridPadding
2537
2567
  },
2538
- xAxis: n,
2539
- yAxis: r,
2568
+ xAxis: a,
2569
+ yAxis: n,
2540
2570
  series: [ {
2541
2571
  data: this.data.map((t => t.value || 0)),
2542
2572
  id: "area",
@@ -2557,25 +2587,41 @@ const Zt = class {
2557
2587
  position: "right",
2558
2588
  formatter: t => wt(t.value, {
2559
2589
  type: this.format,
2560
- decimals: e
2590
+ decimals: r
2561
2591
  })
2562
2592
  }
2563
2593
  } ]
2564
- });
2594
+ }),
2595
+ // ECharts ARIA sets role="img" when options change; retain the keyboard interaction role.
2596
+ null === (e = this.chartContainer) || void 0 === e || e.setAttribute("role", "application");
2565
2597
  }
2566
2598
  // #endregion
2567
2599
  // #region Render Methods
2568
2600
  render() {
2569
2601
  return e("div", {
2570
- key: "247b79eca7719feab470918648f223675483daf8",
2602
+ key: "de38ac1c05ff6c85091069a691c5e2d51ba360ed",
2571
2603
  class: "container"
2572
2604
  }, e("div", {
2573
- key: "349272c0ece24581f05dcadb81d7a19dd71eaa2d",
2605
+ key: "e45310470e9429714bd15100d01692b102963545",
2574
2606
  ref: t => this.chartContainer = t,
2575
2607
  class: "chart-container",
2576
- role: "img",
2608
+ role: "application",
2609
+ tabIndex: this.data.length ? 0 : -1,
2610
+ "aria-describedby": "chart-keyboard-instructions",
2611
+ onFocus: this.keyboard.onFocus,
2612
+ onBlur: this.keyboard.onBlur,
2613
+ onKeyDown: this.keyboard.onKeyDown,
2577
2614
  "test-id": "areaChartContainer"
2578
- }));
2615
+ }), e("div", {
2616
+ key: "45493b2498b17ab331fdff4487bd05874732c75e",
2617
+ id: "chart-keyboard-instructions",
2618
+ class: "sr"
2619
+ }, o("tecton.element.chart.keyboardInstructions")), e("div", {
2620
+ key: "9d0a71f228271efde15c7ff4e0bae2a1144a8c9c",
2621
+ class: null === this.keyboardIndex ? "sr" : "chart-keyboard-value",
2622
+ role: "status",
2623
+ "aria-atomic": "true"
2624
+ }, this.keyboardDescription));
2579
2625
  }
2580
2626
  get hostElement() {
2581
2627
  return r(this);
@@ -2649,6 +2695,6 @@ const Zt = class {
2649
2695
  }
2650
2696
  };
2651
2697
 
2652
- Zt.style = '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}:host{width:var(--tct-area-chart-width, 100%);height:var(--tct-area-chart-height, 100%);display:block}.container{width:100%;height:100%}.chart-container{width:100%;height:100%}';
2698
+ Yt.style = '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}:host{width:var(--tct-area-chart-width, 100%);height:var(--tct-area-chart-height, 100%);display:block}.container{position:relative;width:100%;height:100%}.chart-keyboard-value{position:absolute;top:0;right:0;padding:var(--app-scale-1x);background:var(--t-base);color:var(--t-text);pointer-events:none}.chart-container{width:100%;height:100%}';
2653
2699
 
2654
- export { Zt as q2_chart_area }
2700
+ export { Yt as q2_chart_area }